Index: d.bat
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/d.bat	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/d.bat	(working copy)
@@ -0,0 +1,5 @@
+e ku
+e pu
+e hu
+e su
+e au
Index: do.bat
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/do.bat	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/do.bat	(working copy)
@@ -0,0 +1,96 @@
+@set FPGA_PATH=fpgajic\fpga
+@set ROM_PATH=.
+@set MV_PATCH=mv\src\yichip
+@set YC_PATCH_FILE=yc_patch_yc1021.h
+@set enc=1
+@set enckey=0000000000000000
+@rem set device_option=rfbqb
+@rem set device_option=mouse
+@set device_option=shutter
+@rem set device_option=hci
+@rem set device_option=antilost
+@rem set device_option=dongle
+@rem set device_option=module
+@rem set device_option=car
+@rem set device_option=remote_car
+@rem set device_option=mesh
+@echo off
+
+setlocal enabledelayedexpansion
+for %%f in (program\ble_protocol_stack\*.prog) do @set progs=!progs! %%f
+for %%f in (program\g24_protocol_stack\*.prog) do @set progs=!progs! %%f
+for %%f in (program\mesh_protocol_stack\*.prog) do @set progs=!progs! %%f
+for %%f in (program\*.prog) do @if not %%f==program\bt.prog if not %%f==program\patch.prog if not %%f==program\sim.prog set progs=!progs! %%f
+type program\bt.prog %progs% > output\bt_program23.meta
+
+::for %%f in (format\peipherals_config\*.format) do set fmts=!fmts! %%f
+for %%f in (format\ble_protocol_stack\*.format) do set fmts=!fmts! %%f
+for %%f in (format\g24_protocol_stack\*.format) do set fmts=!fmts! %%f
+for %%f in (format\mesh_protocol_stack\*.format) do set fmts=!fmts! %%f
+for %%f in (format\*.format) do @if not %%f==format\bt.format if not %%f==format\command.format set fmts=!fmts! %%f
+type format\bt.format %fmts% format\command.format > output\bt_format.meta
+::perl util/memalloc.pl output/bt_format.meta
+
+if "%device_option%" equ "hci" (
+  copy sched\hci_boot.dat output\sched.rom
+) else if "%device_option%" equ "mouse" (
+  copy sched\mouse.dat output\sched.rom
+) else if "%device_option%" equ "module" (
+  copy sched\DM_module.dat + sched\1308.dat output\sched.rom
+) else if "%device_option%" equ "shutter" (
+  copy sched\shutter.dat output\sched.rom
+) else if "%device_option%" equ "antilost" (
+  copy sched\antilost.dat + sched\1308.dat output\sched.rom
+) else if "%device_option%" equ "dongle" (
+  copy sched\dongle.dat output\sched.rom
+) else if "%device_option%" equ "car" (
+  copy sched\car.dat + sched\1308.dat output\sched.rom
+) else if "%device_option%" equ "remote_car" (
+  copy sched\remote_car.dat + sched\1308.dat output\sched.rom
+) else if "%device_option%" equ "esl" (
+  copy sched\esl.dat + sched\1308.dat output\sched.rom  
+ ) else if "%device_option%" equ "mesh" (
+  copy sched\mesh.dat output\sched.rom
+) else (
+
+cd ..
+echo **********************************
+echo Error: illegal device_option !
+echo **********************************
+goto end
+) 
+
+perl util/mergepatch.pl 
+
+cd output
+osiuasm bt_program23 -O-W
+
+::geneep -n -k key.dat
+echo no c51 code
+geneep -n
+::echo exist c51 code
+::geneep
+
+if "%device_option%" equ "mouse" (
+cd ..\output
+copy eeprom.dat ..\util\eeprom.dat
+cd ..\util
+eeprom2fulleeprom.exe eeprom.dat 128>compare2.dat
+crc16.exe compare2.dat 2 >..\output\eeprom.dat
+del eeprom.dat
+del compare2.dat
+cd ..\output
+copy eeprom.dat ..\output\flash.dat 
+
+)
+
+
+if "%device_option%" equ "module" (
+perl eeprom2hciimage_1021s.pl
+perl bin2array.pl > bt_patch.h
+)
+:: perl ..\util\eeprom2hciimage.pl
+:: perl ..\util\bin2array.pl > bt_patch.h
+
+:end
+
Index: format/Hid.format
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/format/Hid.format	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/format/Hid.format	(working copy)
@@ -0,0 +1,21 @@
+
+(
+/*HID TYPE*/
+0x01 HID_TYPE_CONTROL
+0x04 HID_TYPE_GET_REPORT
+0x05 HID_TYPE_SET_REPORT
+0x07 HID_TYPE_SET_PROTOCOL
+0x09 HID_TYPE_SET_IDLE
+0x0a HID_TYPE_DATA
+/*HID REPORT ID*/
+0x01 HID_REPORT_ID_KB
+
+0x00 HID_CONTROL_P_NOOPERATION
+0x01 HID_CONTROL_P_HARDRESET
+0x02 HID_CONTROL_P_SOFTRESET
+0x03 HID_CONTROL_P_SUSPEND
+0x04 HID_CONTROL_P_EXITSUSPEND
+0x05 HID_CONTROL_P_VIRTUALCABLEUNPLUG
+)
+
+
Index: format/app.format
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/format/app.format	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/format/app.format	(working copy)
@@ -0,0 +1,391 @@
+
+memalloc(
+
+/* load code */
+1 mem_ucode_status
+1 mem_spid_tbuf				/* spid buf: 03 addr[23:16] addr[15:8] addr[7:0] */
+0 mem_iicd_tbuf				/* iicd buf: iic_adr addr[15:8] addr[7:0] iic_adr */
+1 mem_addr_hi
+1 mem_addr_mi
+1 mem_addr_lo
+1 mem_iicd_addr
+4 mem_spid_rbuf
+2 mem_ucode_buf
+2 mem_ucode_len
+2 mem_sched_addr
+2 mem_ucode_ptr
+16 mem_ucode_keybuf
+
+1 mem_spid2_tbuf
+1 mem_addr_hi2
+1 mem_addr_mi2
+1 mem_addr_lo2
+4 mem_spid2_rbuf
+1 mem_reconnect_flag
+1 mem_switch_fail_master_count
+1 mem_app_evt_timer_count
+)
+
+xmemalloc(
+1 mem_app_handshake_flag
+2 mem_sniff_param_interval
+2 mem_sniff_param_attempt
+2 mem_sniff_param_timeout
+
+/*App Callback Functons*/
+2 mem_cb_check_wakelock
+2 mem_cb_before_hibernate
+2 mem_cb_before_lpm
+2 mem_cb_le_process
+2 mem_cb_bt_process
+2 mem_cb_idle_process
+2 mem_cb_bb_event_process
+2 mem_cb_discovry_timeout
+2 mem_cb_att_write
+2 mem_cb_ble_transmit
+2 mem_cb_event_timer
+2 mem_cb_bt_set_mult
+2 mem_cb_spi_flash_write_complate
+2 mem_cb_spi2_flash_write_complate
+2 mem_cb_bt_slave_match
+2 mem_cb_before_lpm_sleep
+
+2 mem_eeprom_base
+
+1 mem_unsniff2sniff_timer_count
+//lpm mode
+1 mem_wake_up_delay_timer
+
+1 mem_app_connection_options
+
+//
+2 mem_app_disconn_reason
+2 mem_app_disconn_reason_flag
+1 mem_xrecord_mode
+
+1 mem_eeprom_block_size
+1 mem_spi_init_clk
+1 mem_spi_init_delay_time
+1 mem_spi_ncs_gpio
+
+2 mem_nv_data_ptr
+1 mem_nv_data_number
+
+2 mem_queue_ptr
+
+1 mem_ui_led_struct_num
+2 mem_ui_led_struct_ptr
+
+//adc
+1 mem_adc_wait_count
+2 mem_3v_adc_io_data
+2 mem_2v_adc_hvin_data
+2 mem_2v_adc_vinlpm_data
+2 mem_1v_adc_io_data
+2 mem_3v_adc_hvin_data
+2 mem_3v_adc_vinlpm_data
+1 mem_app_adc_read_count
+1 mem_start_adc_clkn
+2 mem_reference_voltage
+1 mem_adc_config_flag
+1 mem_adc_channel
+2 mem_adc_current_value
+1 mem_adc_power_flag	//bit0:low power falg ; bit1:no power flag
+
+3 mem_spi_write_addr
+2 mem_spi_write_ptr
+2 mem_spi_write_len
+1 mem_spi_write_flash_sm
+3 mem_spi2_write_addr
+2 mem_spi2_write_ptr
+2 mem_spi2_write_len
+1 mem_spi2_write_flash_sm
+
+1 mem_spi_cs_gpio
+1 mem_spi_si_gpio
+1 mem_spi_so_gpio
+1 mem_spi_sclk_gpio
+1 mem_spi_wp_gpio
+1 mem_spi_hold_gpio
+1 mem_spi2_cs_gpio
+1 mem_spi2_si_gpio
+1 mem_spi2_so_gpio
+1 mem_spi2_sclk_gpio
+1 mem_spi2_wp_gpio
+1 mem_spi2_hold_gpio
+
+1 mem_eeprom_wp_gpio
+1 mem_eeprom_scl_gpio
+1 mem_eeprom_sda_gpio
+2 mem_kscan_ptr
+0 mem_key_num_ptr
+2 mem_keyscan_ptr
+2 mem_key_value_retention
+2 mem_power_param_ptr
+3 mem_efuse_header
+
+1 mem_seqi
+
+1 mem_dig_aon_vsel
+1 mem_syn_afc_cfg1
+1 mem_rf_ldo_cfg1
+1 mem_rc_cal
+
+1 mem_nec_decode_error_value
+
+ifdef AC_50HZ
+1 mem_ac_detect_gpio
+0 mem_ac_detect_control
+1 mem_ac_detect_div
+1 mem_ac_detect_window
+endif
+
+)
+//adc read
+(
+0 ADC_CONFIG_VINLPM
+1 ADC_CONFIG_HVIN
+2 ADC_CONFIG_GPIO
+)
+
+
+(
+0 QUEUE_OFFSET_EACH_SIZE
+1 QUEUE_OFFSET_LENGTH
+2 QUEUE_OFFSET_CURR_NUM
+3 QUEUE_OFFSET_READ_PTR
+4 QUEUE_OFFSET_WRITE_PTR
+5 QUEUE_OFFSET_ELE_INIT_ADDR
+)
+(
+//Flash Register
+0x05 FLASH_READ_SATUS
+
+// Flash Status Register
+0x00 FLASH_STATUS_WIP
+0X01 FLASH_STATUS_WEL
+0X02 FLASH_STATUS_BP0
+0X03 FLASH_STATUS_BP1
+
+//Flash Write Sm
+0X00 FLASH_SM_NO_BUYS
+0X01 FLASH_SM_START
+0X02 FLASH_SM_ERASE_SECTOR
+0X03 FLASH_SM_WAIT_ERASE_SECTOR
+0X04 FLASH_SM_WRITE_DATA
+0X05 FLASH_SM_WAIT_WRITE_DATA
+
+
+//Flash Command
+0x02 FLASH_COMMAND_WRITE_DATA
+0x03 FLASH_COMMAND_READ_DATA
+0x06 FLASH_COMMAND_WRITE_ENABLE
+0x20 FLASH_COMMAND_SECTOR_ERASE
+0xAB FLASH_COMMAND_RELEASE_FROM_POWERDOWN
+0xB9 FLASH_COMMAND_POWERDOWN
+
+)
+
+
+//efuse 
+(
+0x00 EFUSE_OFFSET_UCODE	//1B
+0X01 EFUSE_OFFSET_DEVICE_LOCK
+0x02 EFUSE_OFFSET_PERIPHERALS_LOCK
+0X03 EFUSE_OFFSET_OFFSET
+
+0x2b EFUSE_OFFSET_HCI_BOOT_CLKSEL	//bit7
+0x2b EFUSE_OFFSET_LOADCODE_DELAY	 //bit6
+0x2b EFUSE_OFFSET_DIG_AON_VSEL	//bit5-4
+0x2b EFUSE_OFFSET_DEVICE_OPTION	//bit3-0
+0x2c EFUSE_OFFSET_XTAL_OFFSET	//0x813a
+0x2d EFUSE_OFFSET_XTAL_CNT	//0x813c
+0x2e EFUSE_OFFSET_AGC_TABLE	//2B
+0x30 EFUSE_OFFSET_ADC_PARAM	//bit7-4
+0x30 EFUSE_OFFSET_APP_VSEL	//bit3-0
+0x31 EFUSE_OFFSET_AGC_SEL	//bit7 agc sel
+0x31 EFUSE_OFFSET_AGC_SEC_EN	//bit6 agc second en 0x8960[3]
+0x31 EFUSE_OFFSET_LDO_CFG1	//bit5-4:0x8a0d[2:0]
+0x31 EFUSE_OFFSET_TX_VCO_CURRENT //bit3-0:0x8a87[3:0]
+0x32 EFUSE_OFFSET_RC_CAL	//0x8a6c
+0x33 EFUSE_OFFSET_ADC		//9B
+0x3c EFUSE_OFFSET_KEY_ADDR	//4B
+
+//EFUSE_OFFSET_PERIPHERALS_LOCK
+0 EFUSE_SPI_LOCK_BIT
+1 EFUSE_SPI2_LOCK_BIT
+2 EFUSE_UART_LOCK_BIT
+3 EFUSE_UARTB_LOCK_BIT
+4 EFUSE_IIC_LOCK_BIT
+6 EFUSE_LE_LOCK_BIT
+7 EFUSE_BR_LOCK_BIT
+)
+
+/* data stored in eeprom */
+(
+0	eeprom_nv_ram
+
+)
+
+/*mem_app_handshake_flag*/
+(
+0 APP_HANDSHAKE_NULL
+1 APP_HANDSHAKE_DONE
+
+)
+/*mem_device_option*/
+(
+1 dvc_op_hci
+2 dvc_op_esl
+4 dvc_op_dongle
+5 dvc_op_test
+8 dvc_op_mouse
+9 dvc_op_shutter
+0x0a dvc_op_module
+0x0b dvc_op_ali_mesh
+0x0c dvc_op_hci_boot
+0x0d dvc_op_remote_car
+0x0e dvc_op_car
+0x0f dvc_op_antilost
+   
+)
+
+(
+3 UCODE_FLAG_ENC
+2 UCODE_FLAG_SKIP_EEP
+1 UCODE_FLAG_SKIP_FLASH
+0 UCODE_FLAG_HCI
+)
+
+
+(
+7 gpio_active_bit
+)
+(
+2 HID_HANDSHAKE_TIMEOUT
+
+)
+
+(
+1 APP_FLAG_RECONNECT
+)
+(
+5 LPM_WAKE_UP_DELAY_TIMER
+)
+
+
+//mem_app_disconn_reason
+//mem_app_disconn_reason_flag
+//bit map
+(
+2 APP_DISC_RSN_SIZE
+)
+(
+0 APP_DISC_BY_BUTTON
+1 APP_DISC_AFTER_PAIRING
+2 APP_DISC_AFTER_RECONN
+3 APP_DISC_AFTER_SNIFF
+4 APP_DISC_AFTER_SETUP_DONE
+5 APP_DISC_AFTER_HANDSHAKE
+6 APP_DISC_BT
+7 APP_DISC_BLE
+8 APP_DISC_L2CAP_REFUSED
+9 APP_DISC_SWITCH_FAIL
+)
+//eeprom init flag
+(
+0xaa55 EEPROM_INIT_FLAG
+)
+
+(
+1 KEY_CONF_STRUCT_LEN
+0 KEY_PIN_OFFSET
+)
+
+(
+12000000 PWM_12MHZ
+24000000 PWM_24MHZ
+33000 PWM_33KHZ
+)
+(
+0 POWER_OFF
+1 POWER_STARTING
+2 POWER_STANDBY
+)
+//power parameter offset(8 byte)
+(
+0 power_state_offset
+1 power_timer_offset
+2 power_off_timeout_offset
+3 power_starting_timeout_offset
+4 power_off_cb_offset
+6 power_starting_cb_offset
+8 power_standby_cb_offset
+10 ui_butten_up_cb_offset
+)
+
+
+//auth rom address
+(
+0x9000 mem_b_box
+0x9100 mem_e_box
+0x9200 mem_l_box
+0x9300 memk
+0x9400 mem_theta
+0x9420 mem_local_sig
+0x9fff mem_sim_slave
+//mouse
+0x9468 MOUSE_BT_SDP_ADDR
+0x9732 MOUSE_BLE_ATT_LIST_ADDR
+//dongle
+0x99A4 USB_KBDATA_VENDOR_DEFINE_ADDR
+0x99BF USB_KBDATA_ADDR
+0x99FF USB_MSDATA_ADDR
+0x9AA3 USB_DEVICEDATA_ADDR
+0x9AB6 USB_CONFDATA_ADDR
+//shutter
+0x9AF2 BLE_SHUTTER_GATT_LIST
+0x9C70 CLASSIC_SHUTTER_SDP_LIST
+0x9E57 BLE_SHUTTER_KEY_VALUE_LIST
+0x9E7F CLASSIC_SHUTTER_KEY_VALUE_LIST
+//car
+0x9EA7 BLE_CAR_ATT_LIST
+//tx power list
+//0x9F73 TX_POWER_LIST
+)
+
+
+
+(//NEC 61212
+9000 NEC61212_BOOT_CODE_START_TIME
+4500 NEC61212_BOOT_CODE_END_TIME
+
+9000 NEC61212_REPEAT_START_TIME
+2250 NEC61212_REPEAT_END_TIME
+
+560 NEC61212_DATA_BIT_1_START_TIME
+1690 NEC61212_DATA_BIT_1_END_TIME
+
+560 NEC61212_DATA_BIT_0_START_TIME
+560 NEC61212_DATA_BIT_0_END_TIME
+
+560 NEC61212_STOP_TIME
+
+42580 NEC61212_DATA2REPEAT_TIME
+98190 NEC61212_REPEAT2REPEAT_TIME
+
+0xffff NEC61212_TIMEOUT_TIME
+)
+
+
+(
+0 ADC_GPIO_4
+1 ADC_GPIO_5
+2 ADC_GPIO_6
+3 ADC_GPIO_7
+4 ADC_GPIO_9
+5 ADC_GPIO_10
+6 ADC_GPIO_11
+7 ADC_GPIO_12
+)
+
Index: format/app_antiLost.format
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/format/app_antiLost.format	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/format/app_antiLost.format	(working copy)
@@ -0,0 +1,207 @@
+xmemalloc antilost(
+// memblock for cover the variables portion at shutter.format
+2 mem_antl_lpm_interval
+2 mem_antl_adv_interval
+2 mem_antl_slow_adv_lpm_interval
+2 mem_antl_slow_adv_adv_interval
+0 mem_antl_led_style
+1 mem_antl_led_type
+1 mem_antl_led_blink_count
+1 mem_antl_led_gpio
+2 mem_antl_led_on_time
+2 mem_antl_led_off_time
+2 mem_antl_led_cb_on
+2 mem_antl_led_cb_off
+
+0 mem_antl_buzzer_style
+1 mem_antl_buzzer_type
+1 mem_antl_buzzer_blink_count
+1 mem_antl_buzzer_gpio
+2 mem_antl_buzzer_on_time
+2 mem_antl_buzzer_off_time
+2 mem_antl_buzzer_cb_on
+2 mem_antl_buzzer_cb_off
+
+0 mem_antl_fast_adv_led_style
+1 mem_antl_fast_adv_led_type
+1 mem_antl_fast_adv_led_blink_count
+1 mem_antl_fast_adv_led_gpio
+2 mem_antl_fast_adv_led_on_time
+2 mem_antl_fast_adv_led_off_time
+
+0 mem_antl_slow_adv_led_style
+1 mem_antl_slow_adv_led_type
+1 mem_antl_slow_adv_led_blink_count
+1 mem_antl_slow_adv_led_gpio
+2 mem_antl_slow_adv_led_on_time
+2 mem_antl_slow_adv_led_off_time
+
+0 mem_antl_power_starting_led_style
+1 mem_antl_power_starting_led_type
+1 mem_antl_power_starting_led_blink_count
+1 mem_antl_power_starting_led_gpio
+2 mem_antl_power_starting_led_on_time
+2 mem_antl_power_starting_led_off_time
+
+7 mem_antl_power_starting_buzzer_style
+
+0 mem_antl_power_off_led_style
+1 mem_antl_power_off_led_type
+1 mem_antl_power_off_led_link_count
+1 mem_antl_power_off_led_gpio
+2 mem_antl_power_off_led_on_time
+2 mem_antl_power_off_led_off_time
+
+0 mem_antl_power_off_buzzer_style
+1 mem_antl_power_off_buzzer_type
+1 mem_antl_power_off_buzzer_link_count
+1 mem_antl_power_off_buzzer_gpio
+2 mem_antl_power_off_buzzer_on_time
+2 mem_antl_power_off_buzzer_off_time
+
+7 mem_antl_alert_led_stlye
+
+0 mem_antl_alert_buzzer_stlye
+1 mem_antl_alert_buzzer_type
+1 mem_antl_alert_buzzer_blink_count
+1 mem_antl_alert_buzzer_gpio
+2 mem_antl_alert_buzzer_on_time
+2 mem_antl_alert_buzzer_off_time
+
+0 mem_antl_key_led_style
+1 mem_antl_key_led_type
+1 mem_antl_key_led_blink_count
+1 mem_antl_key_led_gpio
+2 mem_antl_key_led_on_time
+2 mem_antl_key_led_off_time
+
+7 mem_antl_key_buzzer_style
+
+1 mem_antl_queue_width
+1 mem_antl_queue_depth
+1 mem_antl_queue_curr_num
+1 mem_antl_queue_read_ptr
+1 mem_antl_queue_write_ptr
+80 mem_antl_queue_buff
+
+1 mem_antl_key_scan_enable
+1 mem_antl_led_num
+4 mem_antl_led_gpio_map
+
+0 mem_antl_power_param
+1 mem_antl_power_state
+1 mem_antl_power_timer
+1 mem_antl_power_off_timeout
+1 mem_antl_power_starting_timeout
+2 mem_antl_power_off_cb
+2 mem_antl_power_starting_cb
+2 mem_antl_power_standby_cb
+2 mem_event_button_up_cb
+
+1 mem_antl_key_num
+2 mem_cb_antl_key
+4 mem_antl_key_conf0
+
+15 mem_antl_key0_press
+15 mem_antl_key0_release
+
+///////
+1 mem_antl_conn_updata_procedure_state
+2 mem_client_characteristic_configuration_descriptor
+///////
+
+
+//100ms timer
+2 mem_adc_timer
+1 mem_antl_conn_update_timer
+1 mem_antl_send_updata_le_param_timer
+////
+
+2 mem_antl_le_sleep_timer
+2 mem_antl_fast_adv_timer
+2 mem_antl_fast_adv_timeout
+2 mem_antl_le_sleep_timeout
+1 mem_double_click_timer
+1 mem_butten_click_cnt
+
+//1 mem_dvc_seq
+/////////anti lost alarm state/////
+1 mem_antl_led_state
+1 mem_antl_buzzer_state
+1 mem_antl_key_state
+1 mem_antl_lost_mode
+1 mem_alarm_config
+1 mem_alarm_config_notfy_cnt
+
+6 mem_buzzer_pwm_conf
+
+
+/////////anti lost battery adc read////////
+2 mem_adc_timeout
+1 mem_voltage_remain_percent
+
+0 mem_battery_calculate_set
+2 mem_battery_full_voltage
+2 mem_battery_empty_voltage
+2 mem_battery_low_voltage
+2 mem_battery_current_voltage
+
+
+2 mem_rx_window_sniff_inc
+2 mem_interval_increment
+
+2 mem_antl_le_interval_min
+2 mem_antl_le_interval_max
+2 mem_antl_le_latency
+2 mem_antl_le_timeout
+2 mem_antl_le_unnormal_interval_min
+2 mem_antl_le_unnormal_interval_max
+2 mem_antl_le_unnormal_latency
+2 mem_antl_le_unnormal_timeout
+
+400 mem_AntiLost_le_att_list
+1 mem_lestate_update_param_flag
+1 mem_antilost_conn_battery_send_timer
+
+2 mem_antl_disconn_buzzer_on_timer
+2 mem_antl_disconn_buzzer_on_timeout
+)
+
+//app new specific
+(
+0 CONN_PARAM_UPDATA_PROCEDURE_NO_INIT
+1 CONN_PARAM_UPDATA_PROCEDURE_STARTING
+2 CONN_PARAM_UPDATA_PROCEDURE_COMPLETE
+3 CONN_PARAM_UPDATA_PROCEDURE_FAILD
+)
+(
+0 NEW_SPEC_HEADER_OFFSET
+2 NEW_SPEC_OPCODE_OFFSET
+3 NEW_SPEC_DLEGTH_OFFSET  //data length offset
+5 NEW_SPEC_DADDR_OFFSET   //data address offset
+)
+(
+1 OPCODE1_BUTTEN_CLICK_ONCE
+2 OPCODE2_BUTTEN_DOUBLE_CLICK
+3 OPCODE3_ANTL_START_ALRAM
+4 OPCODE4_CURRENT_ALARM_STATE
+5 OPCODE5_BATTER_INFORMATION
+7 OPCODE7_ANTL_CONFIG_ALRAM
+)
+(
+0x0a NEW_SPEC_NOTIFY_HANDLE
+0x0b NEW_SPEC_NOTIFICATION_ENABLE_HANDLE
+0x0d NEW_SPEC_WRITE_HANDLE
+)
+//app new specific end
+
+//mem_anti_lost_mode
+(
+0x01 ANTI_LE_ALARM_ON
+0x00 ANTI_LE_ALARM_OFF
+)
+(
+0 NOTIFICATION_ENABLE_BIT
+1 INDICATION_ENABLE_BIT
+)
+
Index: format/app_car.format
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/format/app_car.format	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/format/app_car.format	(working copy)
@@ -0,0 +1,326 @@
+
+
+xmemalloc g24_rx_car(
+1 mem_car_hard_soft_switch
+1 mem_car_queue_each_size
+1 mem_car__queue_length
+
+1 mem_car_queue_curr_num
+1 mem_car_queue_read_ptr
+1 mem_car_queue_write_ptr
+120 mem_car_queue_ele
+
+20 mem_car_pop_queue_buff
+
+1 mem_car_led_num
+10 mem_car_led_map
+
+1 mem_car_style1_led_type
+1 mem_car_style1_blink_count
+1 mem_car_style1_struct_led_gpio
+2 mem_car_style1_on_time
+2 mem_car_style1_off_time
+2 mem_car_style1_cb_ledon
+2 mem_car_style1_cb_ledoff
+
+1 mem_car_style2_led_type
+1 mem_car_style2_blink_count
+1 mem_car_style2_struct_led_gpio
+2 mem_car_style2_on_time
+2 mem_car_style2_off_time
+2 mem_car_style2_cb_ledon
+2 mem_car_style2_cb_ledoff
+
+//////motor
+0 mem_le_receive_data
+2 mem_le_receive_packet_head
+1 mem_le_receive_cmd
+2 mem_le_receive_length
+10 mem_le_receive_payload
+1 mem_le_receive_checksum
+1 mem_motor1_status
+1 mem_motor1_speed
+1 mem_motor2_status
+1 mem_motor2_speed
+1 mem_motor3_status
+1 mem_motor3_speed
+
+0 mem_motor1_pwm_set
+1 mem_motor1_pwm_pin1_set
+1 mem_motor1_pwm_pin2_set
+1 mem_motor1_pwm_pin_set
+1 mem_motor1_pwm_channel_set
+3 mem_motor1_pwm_freq_set
+1 mem_motor1_pwm_dute_set
+0 mem_motor2_pwm_set
+1 mem_motor2_pwm_pin1_set
+1 mem_motor2_pwm_pin2_set
+1 mem_motor2_pwm_pin_set
+1 mem_motor2_pwm_channel_set
+3 mem_motor2_pwm_freq_set
+1 mem_motor2_pwm_dute_set
+0 mem_motor3_pwm_set
+1 mem_motor3_pwm_pin1_set
+1 mem_motor3_pwm_pin2_set
+1 mem_motor3_pwm_pin_set
+1 mem_motor3_pwm_channel_set
+3 mem_motor3_pwm_freq_set
+1 mem_motor3_pwm_dute_set
+
+1 mem_motor_select_p_n
+1 mem_car_motor_status
+1 mem_car_motor_speed
+0 mem_motor_pwm_set
+1 mem_motor_pwm_pin1_set
+1 mem_motor_pwm_pin2_set
+1 mem_motor_pwm_pin_set
+1 mem_motor_pwm_channel_set
+3 mem_motor_pwm_freq_set
+1 mem_motor_pwm_dute_set
+
+1 mem_ir_rx_gpio
+2 mem_ir_data
+2 mem_ir_rx_buf
+4 mem_ir_receive_clkn
+
+3 mem_ir_notify_data
+5 mem_ir_notify_data_head
+2 mem_ir_notify_data_payload
+1 mem_ir_notify_data_check_sum
+1 mem_car_ir_breakdown_check_timer
+1 mem_car_ir_breakdown_flag
+
+0 mem_car_led_control
+1 mem_car_led1_status
+1 mem_car_led2_status
+1 mem_car_led3_status
+1 mem_car_led4_status
+1 mem_car_led5_status
+1 mem_car_led6_status
+1 mem_car_led7_status
+1 mem_car_led8_status
+1 mem_car_led_control_timer
+1 mem_car_led_blink_status
+1 mem_car_led_no
+
+3 mem_car_info_request
+5 mem_car_info_request_head
+8 mem_car_info_request_payload
+1 mem_car_info_request_checksum
+
+0 mem_car_config_param
+1 mem_car_config_setting_flag
+1 mem_car_config_device_select
+1 mem_car_config_motor_layout
+1 mem_car_config_ir_enable
+1 mem_car_config_ir_rx_gpio
+1 mem_car_config_pairing_led_conn_status
+1 mem_car_config_pairing_led_gpio
+1 mem_car_config_led_num
+0 mem_car_config_blood_led_gpio
+1 mem_car_config_blood_led1_gpio
+1 mem_car_config_blood_led2_gpio
+1 mem_car_config_blood_led3_gpio
+1 mem_car_config_blood_led4_gpio
+1 mem_car_config_blood_led5_gpio
+1 mem_car_config_blood_led6_gpio
+1 mem_car_config_blood_led7_gpio
+1 mem_car_config_blood_led8_gpio
+1 mem_car_config_bat_notify_enable
+1 mem_car_config_low_voltage_led_gpio
+1 mem_car_config_low_voltage_percent
+1 mem_car_config_soft_switch_enable
+1 mem_car_config_soft_switch_gpio
+
+1 mem_car_notify_vdd_count
+1 mem_car_notify_vdd_timer
+1 mem_car_notify_vdd_value_last
+1 mem_car_notify_vdd_percent
+1 mem_car_working_flag
+1 mem_low_bat_flag
+
+3 mem_notify_bat_packet
+5 mem_notify_bat_head
+1 mem_notify_bat_payload
+1 mem_notify_bat_check_sum
+
+1 mem_vdd_notify_flag
+2 mem_car_current_vdd_value_temp
+2 mem_car_last_vdd_value
+
+0 mem_vdd_calculate_set
+2 mem_vdd_full_vol
+2 mem_vdd_empty_vol
+2 mem_vdd_low_vol
+2 mem_vdd_now_vol
+
+
+1 mem_car_24g_status
+2 mem_car_24g_no_data_timeout_count
+2 mem_car_24g_no_data_timeout_timer
+
+1 mem_car_24g_ir_receive_attack_count
+1 mem_car_24g_go_die_flag
+1 mem_car_attack_shake_timer
+1 mem_car_attack_shake_flag
+
+0 mem_car_soft_power
+1 mem_car_power_state
+1 mem_car_power_timer
+1 mem_car_power_off_timeout
+1 mem_car_power_starting_timeout
+2 mem_car_power_off_cb
+2 mem_car_power_starting_cb
+2 mem_car_power_standby_cb
+2 mem_car_ui_button_up_cb
+
+
+500 mem_car_le_att_list
+
+1 mem_car_moto1_blank_timer
+1 mem_car_moto2_blank_timer
+1 mem_car_moto3_blank_timer
+
+1 mem_car_motor_gpio_num
+0 mem_car_motor_gpio_map
+1 mem_car_motor_left_gpio
+1 mem_car_motor_right_gpio
+1 mem_car_motor_front_gpio
+1 mem_car_motor_back_gpio
+1 mem_car_gpio
+1 mem_car_app_send_speed
+
+2 mem_rssi_sum
+2 mem_check_rssi_high_count
+8 mem_rssi_data
+
+1 mem_car_24g_received_pac
+1 mem_car_24g_bind_enable_delay_count
+
+0 mem_car_keyscan
+1 mem_car_key_num
+2 mem_cb_car_keyscan
+
+2 mem_car_enter_lpm_timer_count
+2 mem_car_enter_lpm_timer
+1 mem_car_enter_lpm_flag
+
+1 mem_car_24g_ch_polling
+
+8 mem_car_rssi_noise_buffer
+8 mem_car_rssi_noise_car_buffer
+8 mem_car_rssi_noise_remote_buffer
+
+
+)
+
+(
+//20ms
+0x0020	FAST_ADV_INTERVAL_VALUE_CAR
+)
+
+(
+0x14 ATT_CAR_CONTROL_HANDLE
+0x14 ATT_SPEED_SET_HANDLE
+)
+
+
+(
+0 TURN_FRONT
+1 TURN_LEFT
+2 TURN_RIGHT
+0 MOTOR_STOP
+1 GO_FRONT
+2 GO_BACK
+0x6b5a LE_RECEIVE_PACKET_HEAD
+)
+
+(
+0 FLAG_IR_DISABLE
+1 FLAG_IR_ENABLE
+)
+
+(
+0 DEVICE_CAR
+1 DEVICE_TANK
+2 DEVICE_BATTLE_CAR
+3 DEVICE_BATTLE_TANK
+4 DEVICE_REMOTE
+)
+
+(
+0 F_B_MOTOR
+1 L_R_MOTOR
+2 F_B_BATTERY
+3 L_R_BATTERY
+)
+
+(
+0 CAR_WORK	   		//connect mode normal
+1 CAR_BIND			//code pair mode
+2 CAR_TEST			//test mode
+3 CAR_CODE			//PC_application
+4 CAR_PCBA			//PCBA_TEST
+5 CAR_DEBUG
+6 CAR_MODE_MAX
+7 CAR_SEARCH
+)
+
+(
+1 SPEED_LEVEL_1
+2 SPEED_LEVEL_2
+3 SPEED_LEVEL_3
+4 SPEED_LEVEL_4
+5 SPEED_LEVEL_5
+6 SPEED_LEVEL_6
+7 SPEED_LEVEL_7
+8 SPEED_LEVEL_8
+9 SPEED_LEVEL_9
+10 SPEED_LEVEL_10
+)
+
+(
+0 PWM0_DUTY_SETTING
+1 PWM1_DUTY_SETTING
+2 PWM2_DUTY_SETTING
+)
+
+(
+1 CAR_CMD_BATTERY
+2 CAR_CMD_OLD_CAR_CONTROL
+3 CAR_CMD_OLD_SPEED_CONTROL
+4 CAR_CMD_L_R_MOTOR_CONTROL
+5 CAR_CMD_F_B_MOTOR_CONTROL
+6 CAR_CMD_IR_CONTROL
+7 CAR_CMD_LED_CONTROL
+8 CAR_CMD_DEVICE_INFO
+)
+
+(
+0 CAR_REMOTE_CHECK_BUTTON
+1 CAR_REMOTE_CHECK_ROCKER
+)
+
+(
+0x11 CAR_NOTIFY_HANDLE
+)
+
+(
+0 LED_OFF
+1 LED_ON
+2 LED_BLINK
+0xFF LED_INVALID
+)
+
+(
+0xFF INVALID_PIN_NUM
+)
+
+
+(
+0 POWER_ON
+1 WORK_PAIRED
+2 WORK_SEARCH
+)
+
+
Index: format/app_dongle.format
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/format/app_dongle.format	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/format/app_dongle.format	(working copy)
@@ -0,0 +1,136 @@
+
+memalloc usb_dongle(
+256 mem_dg_rssi_noise_buffer
+256 mem_dg_rssi_noise_dg_buffer
+256 mem_dg_rssi_noise_ms_buffer
+256 mem_dg_rssi_noise_kb_buffer
+
+)
+
+
+xmemalloc g24_rx_dongle(
+1 mem_dg_kb_bind_flag
+8 mem_dg_kb_data_sta_data
+8 mem_dg_kb_data_last_data
+3 mem_dg_kb_multikey_sta_data
+3 mem_dg_kb_multikey_last_data
+3 mem_dg_kb_system_sta_data
+3 mem_dg_kb_system_last_data
+1 mem_dg_kb_blank_data_enable
+1 mem_dg_kb_mul_blank_data_enable
+1 mem_dg_ms_blank_data_enable
+
+1 mem_dg_sys_config
+9 mem_dg_usb_vid_pid
+1 mem_dg_usb_tx_interval
+30 mem_dg_usb_device_name
+1 mem_dg_kb_bind_success
+1 mem_dg_pc_sleep_flag
+)
+
+
+//eeprom address offset
+(
+0x5A DONGLE_KB_BIND_SUCCESS
+0x00 DONGLE_KB_BIND_EEPROM_OFFECT
+0x2A DONGLE_KB_BIND_EFUSE_OFFECT
+)
+
+(
+5 WORK_MODE_DELAY
+7 BIND_MODE_DELAY
+)
+
+(
+0 DONGLE_WORK	   		//connect mode normal
+1 DONGLE_BIND			//code pair mode
+2 DONGLE_TEST			//test mode
+3 DONGLE_CODE			//PC_application
+4 DONGLE_PCBA			//PCBA_TEST
+5 DONGLE_DEBUG
+6 DONGLE_MODE_MAX
+7 DONGLE_SEARCH
+0 CLEAR_INIT
+)
+
+
+(
+0xa0 COMMAND_MODE     //BYTE 0
+0x81 COM_MODE_BIND	//BYTE 1
+0x82 COM_MODE_TEST	//BYTE 1
+)
+(
+0xa1 COMMAND_BIND		//BYTE 0
+0x01 COM_BIND_GET		//1
+0x84 COM_BIND_EXIT		//1
+0xa7 COM_READ_MODE		//1
+)
+(
+0xa2 COMMAND_TEST	//BYTE 0
+0x81 COM_TEST_SC		//	进入单载波
+0x82 COM_TEST_CD		// fcc测试
+0x83 COM_TEST_DAT		// 数据测试
+0x84 COM_TEST_LOW_CH  //低频点
+0x85 COM_TEST_MID_CH	//中频点
+0x86 COM_TEST_HIG_CH	//高频点
+0x87 COM_TEST_SW_HIG	//自动切换频点为高 1mhz
+0x88 COIM_TEST_SW_LOW	//自动切换频点为低 1mhz
+0x89 COM_TEST_SW_STOP	//停止自动切换频点
+0x8a COM_TEST_POW_5		//设置输出功率5dbm
+0x8b COM_TEST_POW_0		//0dbm
+0x8c COM_TEST_POW_N5		//-5dbm
+0x8d COM_TEST_POW_N10		//-10dbm
+0x8e COM_TEST_EXIT			//退出测试模式
+)
+(
+0xa6 COMMAND_CURRENT_PROJECT
+0xa7 COMMAND_CURRENT_MODE
+0xa9 COMMAND_CURRENT_FW_VERSION
+0xb0 COMMAND_USER_DEFINED		//user defined cmd
+)
+
+(
+0x15 PRODUCT_ID
+0 FW_VERSION0
+0 FW_VERSION1
+1 FW_VERSION2
+7 FW_VERSION3
+)
+
+(
+8 TIMER_NODATA
+640 TIMER_NODATA_DELAY	//200ms
+
+11 TIMER_MS_BLANK
+384 TIMER_MS_BLANK_DELAY
+
+12 TIMER_KB_MUL_BLANK
+384 TIMER_KB_MUL_BLANK_DELAY
+
+14 TIMER_KB_BLANK
+384 TIMER_KB_BLANK_DELAY
+)
+
+(
+0 KB_NORMAL_REPORT_ID
+1 MS_REPORT_ID
+2 KB_SYSTEM_CONCTRL_REPORT_ID
+3 KB_MULTIKEY_REPORT_ID
+)
+
+
+(
+0x01 BIND_ACKPAYLOAD
+0x03 KB_LED_ACKPAYLOAD
+)
+
+//mem_dg_sys_config
+(
+7 DG_ENABLE_XTAL_24M
+6 DG_ENABLE_NEW_CHMAP
+5 DG_ENABLE_EEPROM
+4 DG_ENABLE_KB_ICON
+//bit3-0
+//tx power
+)
+
Index: format/app_esl.format
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/format/app_esl.format	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/format/app_esl.format	(working copy)
@@ -0,0 +1,181 @@
+ifdef COMPILE_ESL
+
+memalloc esl(
+256 mem_uncom_the_first_two_buff
+//uncompress pic buffers
+2200 mem_uncom_dest
+0 mem_uncom_clear_everytime_start
+2 mem_uncom_dest_index
+1 mem_uncom_src_index
+1 mem_uncom_block_len
+1 mem_uncom_block_head
+2 mem_uncom_block_body_ptr
+0 mem_uncom_clear_everytime_end
+
+0 mem_uncom_clear_once_start
+1 mem_uncom_the_first_two_index
+1 mem_uncom_repetitive
+1 mem_uncom_left_len
+2 mem_uncom_current_len
+2 mem_uncom_total_len
+2 mem_uncom_src_end
+0 mem_uncom_clear_once_end
+)
+
+xmemalloc esl(
+//eink_log
+96 mem_eink_log_ring_buffer
+1 mem_eink_log_front
+1 mem_eink_log_end
+12 mem_eink_log_ring_buffer_flag
+1 mem_eink_log_pend
+1 mem_eink_log_draw_byte
+
+1 mem_eink_log_last_star
+0 mem_eink_log_last_info
+1 mem_eink_log_last_letter
+1 mem_eink_log_last_cmd
+1 mem_eink_log_last_ch
+1 mem_eink_log_last_rssi
+1 mem_eink_log_last_is_byte
+
+0 mem_eink_log_info
+1 mem_eink_log_letter
+1 mem_eink_log_cmd
+1 mem_eink_log_ch
+1 mem_eink_log_rssi
+1 mem_eink_log_is_byte
+
+20 mem_eink_log_hex2dec
+1 mem_eink_log_hex2dec_len
+1 mem_eink_log_hex2dec_ptr
+1 mem_eink_log_push_zero
+
+//uncompress
+1 mem_uncom_fliter_datalen
+1 mem_uncom_fliter_data_flag
+1 mem_uncom_image_att_flag
+62 mem_uncom_image_att_buf
+
+//eink_init
+1 mem_scl
+1 mem_sda
+1 mem_cs
+1 mem_dc
+1 mem_res
+1 mem_busy
+1 mem_pb1
+3 mem_eink_xy
+8 mem_eink_orig
+8 mem_eink_setxy
+6 mem_eink_display
+2 mem_eink_size
+60 mem_eink_init
+20 mem_eink_init_offset
+6 mem_eink_reg_red
+6 mem_eink_reg_blank
+368 mem_eink_font
+48 mem_code93
+1 mem_barcode_start
+20 mem_barcode
+1 mem_barcode_len
+
+2 mem_eink_head
+2 mem_image_ptr
+2 mem_rx_cnt
+1 mem_update_state
+2 mem_parse_cnt
+1 mem_esl_24g_current_ch
+1 mem_esl_24g_behavior
+4 mem_esl_24g_id
+32 mem_esl_24g_rxpayload
+1 mem_esl_24g_rssi_save
+2 mem_battery_vol
+
+1 mem_rssi_save
+1 mem_rssi_temp
+)
+
+(
+//chars: ascii
+0x20 CHAR_SPACE
+0x21 CHAR_EXCLAMATION
+0x22 CHAR_DITTO
+0x23 CHAR_POUND
+0x24 CHAR_DOLLAR
+0x25 CHAR_PERCENT
+0x26 CHAR_AMPERSAND
+0x27 CHAR_APOSTROPHE
+0x28 CHAR_OPENING_PARENTHESIS
+0x29 CHAR_CLOSING_PARENTHESIS
+0x2a CHAR_ASTERISK
+0x2b CHAR_PLUS
+0x2c CHAR_COMMA
+0x2d CHAR_MINUS
+0x2e CHAR_DOT
+0x2f CHAR_SLASH
+
+0x8b CHAR_AT
+
+//letter: ascii - 0x20
+0x61 LETTER_A
+0x62 LETTER_B
+0x63 LETTER_C
+0x64 LETTER_D
+0x65 LETTER_E
+0x66 LETTER_F
+0x67 LETTER_G
+0x68 LETTER_H
+0x69 LETTER_I
+0x6a LETTER_J
+0x6b LETTER_K
+0x6c LETTER_L
+0x6d LETTER_M
+0x6e LETTER_N
+0x6f LETTER_O
+0x70 LETTER_P
+0x71 LETTER_Q
+0x72 LETTER_R
+0x73 LETTER_S
+0x74 LETTER_T
+0x75 LETTER_U
+0x76 LETTER_V
+0x77 LETTER_W
+0x78 LETTER_X
+0x79 LETTER_Y
+0x7a LETTER_Z
+)
+
+/* endpoint eink log */
+(
+0x60 EINK_LOG_MAX
+0x108 EINK_LOG_XY_START
+
+//fail reason
+0x00 EINK_LOG_RX_LOST
+0x01 EINK_LOG_OLD_PAC
+0x02 EINK_LOG_RX_NULL
+)
+
+(
+32 UNCOM_SRC_LENGTH
+31 UNCOM_SRC_INDEX
+62 UNCOM_IMAGE_ATT_LENTH
+)
+
+(
+2 mark_24g_old_packet
+7 mark_eink_red
+13 mark_barcode_end
+)
+
+(
+7 STATE_DATA_FINISH
+)
+
+(
+37 barcode_dot
+)
+
+endif
+
Index: format/app_module.format
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/format/app_module.format	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/format/app_module.format	(working copy)
@@ -0,0 +1,294 @@
+
+memalloc module(
+	//ble
+	2 mem_module_le_rx_data_len
+	2 mem_module_le_rx_data_address
+	2 mem_module_le_rx_data_handle
+
+ifdef COMPILE_WECHAT
+	0 mem_wechat_tx_buffer
+	1 mem_wechat_tx_bMagicNumber
+	1 mem_wechat_tx_bVer
+	2 mem_wechat_tx_nLength
+	2 mem_wechat_tx_nCmdId
+	2 mem_wechat_tx_nSeq1
+	255 mem_wechat_tx_payload
+
+	0 mem_wechat_rx_buffer
+	1 mem_wechat_rx_bMagicNumber
+	1 mem_wechat_rx_bVer
+	2 mem_wechat_rx_nLength
+	2 mem_wechat_rx_nCmdId
+	2 mem_wechat_rx_nSeq
+	255 mem_wechat_rx_payload
+
+	255 mem_module_wechat_local_data_buffer
+
+endif
+)
+
+xmemalloc module(	
+	2 mem_soft_version_num
+	1 mem_module_wake_up_gpio
+	1 mem_module_state_gpio
+	1 mem_module_connect_state_gpio
+
+	2 mem_current_packet_length
+	1 mem_module_state
+	
+	1 mem_module_mcu_wake_pin
+	4 mem_module_mcu_wake_delay_us
+
+	1 mem_module_spp_lpm_mult
+	1 mem_module_le_lpm_mult	
+	1 mem_module_bluetooth_stauts_by_command
+
+	//uart
+	2 mem_module_uart_rx_buffer
+	2 mem_module_uart_rx_buffer_end
+	2 mem_module_uart_tx_buffer
+	2 mem_module_uart_tx_buffer_end
+	2 mem_module_uarta_baud_rate
+
+	//ADC
+	1 mem_module_read_vdd_flag
+	1 mem_module_read_vdd_count
+	1 mem_module_vdd_quotient
+	1 mem_module_vdd_remainder
+
+	//ble
+	1 mem_module_ble_data_uart_max_length
+
+	//flag
+	2 mem_module_flag
+
+	1 mem_module_hci_notify_len
+	2 mem_module_hci_notify_handle
+	2 mem_module_hci_nofiy_addr
+	1 mem_module_hci_notify_type
+
+	4 mem_last_transmite_clock
+
+ifdef COMPILE_WECHAT
+	1 mem_module_wechat_indication_handle
+	1 mem_module_wechat_write_handle
+	2 mem_module_wechat_tx_buffer_ptr
+	2 mem_module_wechat_rx_buffer_ptr
+	2 mem_module_wechat_rx_push_data_cb
+	2 mem_module_wechat_tx_nSeq
+	2 mem_module_wechat_tx_len
+	2 mem_module_wechat_tx_address
+	2 mem_module_wechat_rx_len
+	2 mem_module_wechat_rx_address
+	1 mem_module_wechat_receive_push_data
+endif
+	
+	300 mem_module_uuid_list
+	0 mem_module_uuid_list_end
+	600 mem_module_le_att_list
+	0 mem_module_le_att_list_end
+	0 mem_module_nv_data
+	34 mem_module_nv_data0
+	34 mem_module_nv_data1
+	34 mem_module_nv_data2
+	34 mem_module_nv_data3
+	34 mem_module_nv_data4
+	0 mem_module_nv_data_end
+)
+
+
+(//mem_module_flag
+//bit0~bit7 config module function
+0 MODULE_FLAG_UART_FLOW_CONTROL
+1 MODULE_FLAG_BLE_SEND_MTU23
+2 MODULE_FLAG_BLE_DATA_ENCRYPT
+
+//bit8~bit15 module states change
+8 MODULE_FLAG_BLE_DATA_FINISH
+9 MOUDLE_TASK_UNSNIFF
+10 MOUDLE_TASK_SNIFF
+
+)
+
+(
+34 NV_DATA_LEN
+-1 DECREASED_ONE
+)
+
+
+
+(
+	5 FLAG_MODULE_READ_VDD_COUNT
+)
+
+(
+	0x200 UART_AIR_CONTROL_THRESHOLD
+)
+
+(
+0x01 HCI_DISCARD_PACKET
+0x00 HCI_NOT_DISCARD_PACKET
+)
+
+
+
+(//Command
+0x00 HCI_CMD_SET_BT_ADDR_REQ
+0x01 HCI_CMD_SET_LE_ADDR_REQ
+0x02 HCI_CMD_SET_VISIBILITY_REQ
+0x03 HCI_CMD_SET_BT_NAME_REQ
+0x04 HCI_CMD_SET_LE_NAME_REQ
+0x05 HCI_CMD_SPP_DATA_REQ
+0x09 HCI_CMD_LE_DATA_REQ
+0x0b HCI_CMD_STATUS_IRQ
+0x0c HCI_CMD_SET_PAIRING_REQ
+0x0d HCI_CMD_SET_PINCODE_REQ
+0x0e HCI_CMD_SET_UARTCONTROL_REQ
+0x0f HCI_CMD_SET_UART_BAUD_REQ
+0x10 HCI_CMD_VERSION_REQ
+0x11 HCI_CMD_BT_DISCONNECT
+0x12 HCI_CMD_BLE_DISCONNECT
+0x13 HCI_CMD_DELETE_DEVICE
+0x14 HCI_CMD_CREATE_CONNECT
+0x15 HCI_CMD_SET_COD
+0x26 HCI_CMD_SET_NVRAM_REQ
+0x27 HCI_CMD_SLEEP
+0x28 HCI_CMD_CONFIRM_GKEY
+0x29 HCI_CMD_SET_CREDIT_GIVEN
+0x2a HCI_CMD_AUTO_ADV_SCAN
+0x2b HCI_CMD_POWER_REQ
+0x2c HCI_CMD_POWER_SET
+0x30 HCI_CMD_PASSKEY_ENTRY
+0x31 HCI_CMD_SET_GPIO
+0x32 HCI_CMD_READ_GPIO
+0x33 HCI_CMD_LE_SET_PAIRING
+0x34 HCI_CMD_LE_SET_ADV_DATA
+0x35 HCI_CMD_LE_SET_SCAN_DATA
+0x36 HCI_CMD_LE_SEND_CONN_UPDATE_REQ
+0x37 HCI_CMD_LE_SET_ADV_PARM
+0x38 HCI_CMD_LE_START_PAIRING
+0x40 HCI_CMD_SET_WAKE_GPIO
+0x42 HCI_CMD_SET_TX_POWER
+0x43 HCI_CMD_BOOT_VERSION_REQ
+0x48 HCI_CMD_LE_CONFIRM_GKEY
+0x49 HCI_CMD_REJECT_JUSTWORK
+0x51 HCI_CMD_RESET_CHIP_REQ
+
+0x61 HCI_CMD_LE_SET_FIXED_PASSKEY
+
+0x76 HCI_CMD_DELETE_CUSTOMIZE_SERVICE
+0x77 HCI_CMD_ADD_SERVICE_UUID
+0x78 HCI_CMD_ADD_CHARACTERISTIC_UUID
+0x7a HCI_CMD_PASSKEY_ENTRY_INPUT
+
+0x90 HCI_CMD_BLE_SET_PHY
+0x91 HCI_CMD_BLE_READ_CURRENT_PHY
+0x92 HCI_CMD_BLE_SET_DLE
+0x93 HCI_CMD_READ_CHIP_DATA
+0x94 HCI_CMD_WRITE_CHIP_DATA
+ifdef COMPILE_WECHAT
+0x95 HCI_CMD_WECHAT_SEND_DATA
+endif
+
+0xa0 HCI_CMD_GET_LPM_CTRIM
+0xa1 HCI_CMD_SET_LPM_CTRIM
+0xa2 HCI_CMD_GET_LE_CONN_PARM
+
+0xff HCI_CMD_CLOSE_LPM
+)
+
+(//event
+0x00 HCI_EVENT_SPP_CONN_REP
+0x01 HCI_EVENT_HID_CONN_REP
+0x02 HCI_EVENT_LE_CONN_REP
+0x03 HCI_EVENT_SPP_DIS_REP
+0x04 HCI_EVENT_HID_DIS_REP
+0x05 HCI_EVENT_LE_DIS_REP
+0x06 HCI_EVENT_CMD_RES
+0x07 HCI_EVENT_SPP_DATA_REP
+0x08 HCI_EVENT_LE_DATA_REP
+0x09 HCI_EVENT_STANDBY_REP
+
+0x0a HCI_EVENT_STATUS_RES
+
+0x0D HCI_EVENT_NVRAM_REP
+0x0e HCI_EVENT_GKEY
+0x0F HCI_EVENT_INVALID_PACKET
+0x10 HCI_EVENT_GET_PASSKEY
+0x11 HCI_EVENT_LE_TK
+0x12 HCI_EVENT_REMOTE_MTU
+0x14 HCI_EVENT_LE_PAIRING_STATE
+0X15 HCI_EVENT_LE_ENCRYPTION_STATE
+0x17 HCI_EVENT_LE_CONNECTION_UPDATE
+0x1d HCI_EVENT_LE_GKEY
+0x29 HCI_EVENT_UUID_HANDLE
+0x2b HCI_EVENT_LE_INPUT_GKEY
+
+0x40 HCI_BLE_UPDATE_PHY_EVENT
+ifdef COMPILE_WECHAT
+0x41 HCI_BLE_WECHAT_RECEIVE_PUSH_DATA
+endif
+)
+
+
+(//command HCI_CMD_SET_GPIO
+//byte 0
+0x00 HCI_CMD_CONFIG_GPIO_INPUT
+0x01 HCI_CMD_CONFIG_GPIO_OUTPUT
+//byte 1 input state
+0x00 GPIO_INPUT_PULLUP
+0x01 GPIO_INPUT_PULLDOWN
+0x02 GPIO_INPUT_HIGH_IMPEDANCE
+)
+
+
+
+(
+0x7e0 OTP_ADDR_RF_PARAM_FIX
+//struct of RF_PARAM_FIX
+// uint8       //length = param_pair_count * 2 
+// uint16     //param-pair-1
+// uint16     //param-pair-2
+// uint16     //param-pair-3
+// uint16     //param-pair-4
+// uint16     //param-pair-5
+// uint16     //param-pair-6
+// uint16     //param-pair-7
+)
+
+(
+0	BR_PAIRING_MODE_PINCODE
+1	BR_PAIRING_MODE_JUSTWORK
+2	BR_PAIRING_MODE_PASSKEY
+3	BR_PAIRING_MODE_NUMERIC
+
+0x81 BR_PAIRING_MODE_SECURE_CONNECT_JUSTWORK
+0x82 BR_PAIRING_MODE_SECURE_CONNECT_PASSKEY
+0x83 BR_PAIRING_MODE_SECURE_CONNECT_NUMERIC
+)
+
+
+(
+0x0001	FLAG_BT_PAIRING_SUCCESS
+0x0101	FLAG_BT_PAIRING_FAIL
+0x0080	FLAG_BLE_PAIRING_SUCCESS
+0x0180	FLAG_BLE_PAIRING_FAIL
+)
+
+
+(
+1	FLAG_EVENT_START_ENC
+0	FLAG_EVENT_PAUSE_ENC
+)
+
+(
+0 MOUDLE_STATE_BT_BIT
+1 MOUDLE_STATE_BLE_BIT
+)
+
+(
+5 BIT_OF_NOTIFY_AUTHENTICATED
+6 BIT_OF_READ_AUTHENTICATED
+7 BIT_OF_WRITE_AUTHENTICATED
+)
+
Index: format/app_mouse.format
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/format/app_mouse.format	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/format/app_mouse.format	(working copy)
@@ -0,0 +1,607 @@
+
+memalloc mouse(
+2 mem_init_cnt
+2 mem_data_pre
+2 mem_data_current
+3 mem_data_sum
+2 mem_data_value
+
+
+)
+//dpi eeprom addr
+
+
+xmemalloc g24_tx_mouse(
+// Mouse Work Area
+1 mem_mouse_key
+2 mem_mouse_x
+2 mem_mouse_y
+1 mem_mouse_z
+1 mem_mouse_tz
+1 mem_mouse_xy_h
+1 mem_mouse_key_last
+
+//mouse wheel
+1 mem_wheel_tb_old_pinlevel
+1 mem_wheel_tb_new_pinlevel
+1 mem_wheel_tog 
+1 mem_mouse_tz_data
+1 mem_mwheel_b_old_pinlevel
+1 mem_mwheel_b_new_pinlevel
+1 mem_mwheel_tog 
+1 mem_mouse_z_data
+1 mem_mouse_wheel_trigger
+1 mem_mouse_wheel_trigger_timer
+
+// adc
+//adc struct
+0 mem_mouse_vdd_calculate_set
+2 mem_mouse_vdd_full_vol
+2 mem_mouse_vdd_empty_vol
+2 mem_mouse_vdd_low_vol
+2 mem_mouse_vdd_now_vol
+
+2 mem_mouse_vdd_button_press_vol
+2 mem_mouse_vdd_switch_gnd_24g_vol
+2 mem_mouse_vdd_switch_gnd_full_vol
+2 mem_mouse_vdd_switch_gnd_shutdown_voltage
+2 mem_mouse_vdd_switch_gnd_low_voltage
+1 mem_adc_mux_status
+1 mem_adc_read_timer
+1 mem_adc_read_time_init
+1 mem_adc_low_volatage_led_timer_count
+1 mem_adc_low_volatage_led_blink_enable
+1 mem_mouse_adc_last_low_voltage_flag
+1 mem_mouse_adc_button_press_flag
+1 mem_adc_channel_gpio
+
+1 mem_adc_config_flag_init
+
+//efuse configured start		26byte
+2 mem_mouse_discovery_timeout
+2 mem_mouse_24g_pair_timeout_init
+1 mem_mouse_direct_timeout
+1 mem_mouse_24g_reconn_timeout_init
+1 mem_mouse_24g_pair_tx_power
+1 mem_rssi_dis_min_24g_init
+1 mem_rssi_dis_max_24g_init
+1 mem_rssi_hex_received_max_value_init
+1 mem_rssi_dis_min_ble_init
+1 mem_rssi_dis_max_ble_init
+1 mem_mouse_enable_flag
+1 mem_mouse_global_setup
+1 mem_mouse_global_setup1
+
+1 mem_bk_button_gpio
+1 mem_fw_button_gpio
+1 mem_dpi_button_gpio
+1 mem_matrix_public_gpio
+1 mem_sensor_motion_gpio
+1 mem_customer_key_gpio
+1 mem_whee_a_data_gpio
+1 mem_whee_b_data_gpio
+1 mem_config_device_24g_led_gpio
+1 mem_select_sensor_angle_gpio
+1 mem_mouse_reuse_2ice_gpio
+
+//efuse configured end
+
+1 mem_lbutton_gpio
+1 mem_rbutton_gpio
+1 mem_mbutton_gpio
+1 mem_config_select_device_button_gpio
+1 mem_whee_ta_data_gpio
+1 mem_whee_tb_data_gpio
+1 mem_device_switch_gpio
+1 mem_mouse_sensor_sclk_gpio
+1 mem_mouse_sensor_sdio_gpio
+1 mem_config_low_voltage_alarm_gpio
+1 mem_config_device_bt1_led_gpio
+1 mem_config_device_bt2_led_gpio	
+1 mem_dpi_led_gpio 
+
+
+1 mem_sensor_angle_default
+1 mem_sensor_angle_switch
+1 mem_config_sensor_dpi
+1 mem_config_sensor_type
+1 mem_config_sensor_angle
+
+
+// usb
+1 mem_wire_usb_interval
+1 mem_usb_addr
+1 mem_mouse_usb_vdd_status
+1 mem_mouse_usb_keyboard_flag
+
+
+//led struct
+1 mem_mouse_led_type
+1 mem_mouse_blink_count
+1 mem_mouse_struct_led_gpio
+2 mem_mouse_on_time
+2 mem_mouse_off_time
+2 mem_mouse_cb_ledon
+2 mem_mouse_cb_ledoff
+
+//three devices param
+//eeprom/flash
+0 mem_mouse_information_start
+1 mem_device_flag
+1 mem_device1_type
+6 mem_device1_addr
+16 mem_device1_link_key
+6 mem_device1_locall_addr
+
+1 mem_device2_type
+6 mem_device2_addr
+16 mem_device2_link_key
+6 mem_device2_locall_addr
+
+1 mem_device3_type
+0 mem_mouse_compare_addr_ff
+6 mem_device3_addr
+16 mem_device3_link_key
+6 mem_device3_locall_addr
+2 mem_store_flag
+1 mem_mouse_dpi
+4 mem_mouse_24g_addr
+2 mem_random_addr_increase_count
+31 mem_mouse_retention
+0 mem_mouse_information_end
+
+3 mem_flash_base
+4 mem_write_flash_head_temp
+1 mem_store_information_delay_timer
+1 mem_store_information_delay_timer_init
+
+//sensor param
+1 mem_sensor_id1
+1 mem_sensor_id2
+
+1 mem_sensor_shutter_hi
+1 mem_sensor_shutter_lo
+1 mem_sensor_smart_flag
+1 mem_sensor_squal_reg
+1 mem_sensor_iqc
+1 mem_mouse_move_flag
+
+1 mem_mouse_asm_flag
+2 mem_mouse_x_pre
+2 mem_mouse_y_pre
+1 mem_mouse_data_xtemp
+1 mem_mouse_data_ytemp
+
+0 mem_mouse_dpi_seting
+1 mem_320x_dpi_0
+1 mem_320x_dpi_1
+1 mem_320x_dpi_2
+1 mem_320x_dpi_3
+1 mem_3212_dpi_0
+1 mem_3212_dpi_1
+1 mem_3212_dpi_2
+1 mem_3212_dpi_3
+1 mem_ka8g2_dpi_0
+1 mem_ka8g2_dpi_1
+1 mem_ka8g2_dpi_2
+1 mem_ka8g2_dpi_3
+1 mem_mouse_cpi_count
+1 mem_mouse_dpi_button_state
+1 mem_mouse_dpi_long_press_flag
+
+10 mem_sensor_3212_init
+10 mem_sensor_3204_init
+10 mem_sensor_3205_init
+26 mem_sensor_32xx_init
+34 mem_sensor_32xx_init_1
+38 mem_sensor_8650_init
+30 mem_sensor_ka8ul_init
+16 mem_sensor_8009_init
+22 mem_sensor_ka8g2_init
+12 mem_sensor_p6520_init
+8 mem_sensor_poweron_init
+
+1 mem_sensor_reset_gpio
+1 mem_mouse_clear_sensor_data_flag
+1 mem_bluetooth_125hz_cnt
+
+//no motion pin
+1 mem_mouse_long_mult_flag
+1 mem_mouse_current_mult_timer
+
+1 mem_reconn_times
+1 mem_reconn_times_init
+2 mem_mouse_no_data_timer
+1 mem_device_flag_temp
+8 mem_mouse_rssi_signal_buf				
+4 mem_btclk_sensor
+1 mem_mouse_bluetooth_fast_conn_flag
+2 mem_mouse_discovery_timer
+1 mem_mouse_bluetooth_reconnect_timeout
+1 mem_mouse_need_soft_reset
+
+// le
+1 mem_mouse_le_bb_connected_flag
+1 mem_mouse_le_reconnect_flag
+1 mem_mouse_send_secutiry_request_timer
+
+3 mem_mouse_le_lap_temp
+3 mem_le_adv_ind
+3 mem_le_adv_direct_ind
+20 mem_le_adv_swift_pair
+1 mem_le_data_len
+2 mem_le_keyboard_handle
+2 mem_le_multimedia_handle
+2 mem_le_systemctrl_handle
+2 mem_le_battery_level_handle
+1 mem_le_battery_level_percentage
+2 mem_le_battery_level_updata_timer_init
+2 mem_le_battery_level_updata_timer
+1 mem_mouse_le_conn_param_reject
+32 mem_le_tx_buffer0_omemalloc
+32 mem_le_tx_buffer1_omemalloc
+32 mem_le_tx_buffer2_omemalloc
+32 mem_le_tx_buffer3_omemalloc
+1 mem_le_connect_status_flag
+1 mem_le_start_encrypt_timer
+1 mem_mouse_direct_timer
+
+//bt
+7 mem_device_addr_temp
+1 mem_mouse_enter_sniff_count
+1 mem_mouse_bt_boot_mode
+5 mem_mouse_bt_boot_data
+1 mem_bt_send_max_slot_req_accept_after_switch
+1 mem_mouse_bt_send_first_package_timer
+1 mem_mouse_bt_send_first_package_flag
+1 mem_lmi_opcode_temp 
+1 mem_lpm_mult_init
+
+// mouse key
+1 mem_customer_key
+1 mem_customer_data_trigger
+1 mem_customer_data_trigger_last
+
+1 mem_mouse_lkey_press_status
+1 mem_mouse_rkey_press_status
+1 mem_mouse_mkey_press_status
+1 mem_mouse_bkkey_press_status
+1 mem_mouse_fwkey_press_status
+1 mem_mouse_dpikey_press_status
+1 mem_mouse_pbkey_press_status
+1 mem_mouse_customerkey_press_status
+1 mem_mouse_key_temp
+1 mem_mouse_key_status
+
+1 mem_mouse_matrix_key_cow_count
+1 mem_mouse_matrix_key_row_count
+1 mem_mouse_ghost_flag
+1 mem_bt_discovery_count
+1 mem_select_device_count
+1 mem_mouse_commbination_key
+1 mem_select_device_button_statue
+1 mem_commbination_key_statue
+1 mem_combination_ui_button_count
+
+// 2.4G
+1 mem_mouse_search_dongle_interval
+1 mem_mouse_search_dongle_ch
+1 mem_mouse_search_dongle_count
+1 mem_mouse_search_dongle_action
+1 mem_24g_enter_lpm_timer
+1 mem_mouse_24g_enter_lpm_enable
+
+//led
+1 mem_mouse_device_poweron_timer_count
+1 mem_mouse_dpi_led_delay_count
+1 mem_mouse_led_off_4_led
+1 mem_24g_device_led_status
+
+// mouse configured param
+8 mem_mouse_flag 
+1 mem_mouse_bluetooth_type
+1 mem_device_number
+2 mem_mouse_page_to
+1 mem_mouse_fast_direct_timeout
+2 mem_mouse_fast_page_to
+2 mem_mouse_24g_power_on_fast_conn_timer
+2 mem_mouse_24g_search_dongle_time_init
+2 mem_mouse_no_data_timeout
+
+1 mem_mouse_device_poweron_timer_count_init
+1 mem_mouse_dpi_led_delay_count_init
+2 mem_mouse_dpi_led_blink_time
+2 mem_mouse_disconvey_led_blink_time
+2 mem_mouse_low_v_led_blink_time
+2 mem_adc_low_volatage_led_blink_timer
+
+1 mem_mouse_commbination_key_bt
+1 mem_mouse_commbination_key_24g
+
+9 mem_customer_key_press
+9 mem_customer_key_release
+3 mem_mouse_set_high_impedance_bit_set
+
+1 mem_sensor_shutdown_flag
+1 mem_24g_long_sleep_set_level
+)
+
+
+(
+//combination
+0x01 MOUSE_L_BUTTON
+0X02 MOUSE_R_BUTTON
+0x03 MOUSE_LR_BUTTON
+0X04 MOUSE_M_BUTTON
+0X05 MOUSE_LM_BUTTON
+0X06 MOUSE_RM_BUTTON
+0X07 MOUSE_LMR_BUTTON
+0x09 MOUSE_L_BK_BUTTON
+0x14 MOUSE_M_FW_BUTTON
+0X18 MOUSE_BK_FW_BUTTON
+//mouse default gpio
+0x1B MOUSE_DEFAULT_XA_GPIO
+0x1C MOUSE_DEFAULT_XB_GPIO
+
+//ui led blink
+0X00C8  LED_RECONNECT_BLINK //200
+0X0190  LED_DPI_BLINK //400
+0X03E8  LED_DPI_BLINK_FIXED    //1000
+0X03E8  LED_DISCOVERY_BLINK    //1000
+0XFF    LED_LONG_BLINK
+0x05	LED_SENSOR_BLINK_CNT
+//mode device number
+0x00 MODE_24G_DEVICE
+0x01 MODE_BT_DEVICE1
+0x02 MODE_BT_DEVICE2
+0x03 MODE_BT_DEVICE3
+//mouse  flag
+0X00 WRITE_REQ_ENABLE_FLAG
+0X01 LL_START_ENC_FLAG
+0X02 LL_PAIRING_SUCCESS_FLAG
+
+
+//mouse_function_flag
+0x08 MOUSE_FLAG_LEN
+//byte 1
+0x00 MOUSE_SELECT_DEVICE_FLAG
+0x01 MOUSE_24G_PAIRING_FLAG
+0x02 MOUSE_STORE_EEPROM_FLAG
+0x03 MOUSE_BT_CANNEL_RECONN_FLAG
+0x04 MOUSE_LOW_VOLTAGE_FLAG
+0x05 MOUSE_BT_DISCOVERY_BUTTON_DOWN_FLAG
+0x06 MOUSE_BT_DISCOVERY_BUTTON_LONG_DOWN_FLAG
+
+//byte 2
+0x08 MOUSE_ENABLE_BLE_RANDOM_ADDRE
+0x09 MOUSE_ENABLE_2K_EEPROM
+0x0a MOUSE_ENABLE_INIT_DELAY
+0x0b MOUSE_ENABLE_WAKEUP_FROM_POWER
+0x0c MOUSE_ENABLE_16M
+0x0d MOUSE_ENABLE_USB
+
+//byte 3
+0x10 MOUSE_ENABLE_SPI2
+0x11 MOUSE_ENABLE_24G
+0x12 MOUSE_ENABLE_FLASH
+0x13 MOUSE_ENABLE_EEPROM
+0x14 MOUSE_ENABLE_ADC
+0x15 MOUSE_ENABLE_KEYBOARD
+0x16 MOUSE_ENABLE_24G_SEARCH_DONGLE
+
+//byte 4
+0x18 MOUSE_ENABLE_24G_250Hz
+0x19 MOUSE_ENABLE_24G_500Hz
+0x1a MOUSE_ENABLE_24G_1000
+0x1b MOUSE_ENABLE_BT_125Hz
+0x1c MOUSE_ENABLE_DPI_LEVEL_4
+0x1d MOUSE_ENABLE_USB_250
+0x1e MOUSE_ENABLE_USB_500
+0x1f MOUSE_ENABLE_USB_1000
+
+//byte 5
+0x20 MOUSE_ENABLE_POWER_ON_LED
+0x21 MOUSE_ENABLE_LOW_VOLTAGE_LED
+0x22 MOUSE_ENABLE_LOW_VOLTAGE_USE_MODE_LED
+0x23 MOUSE_ENABLE_LOW_VOLTAGE_LED_BLINK_N_SECOND
+0x24 MOUSE_ENABLE_4_LED
+0x25 MOUSE_ENABLE_DPI_FOR_4_LED
+0x26 MOUSE_ENABLE_BT2_FOR_4_LED
+0x27 MOUSE_ENABLE_LOW_V_FOR_4_LED
+
+
+//byte 6
+0x28 MOUSE_ENABLE_SELECT_DEVICE_BY_DPI_BUTTON
+0x29 MOUSE_ENABLE_SELECT_DEVICE_BY_PB_BUTTON
+0x2a MOUSE_ENABLE_SELECT_DEVICE_BY_SWITCH_GPIO
+0x2b MOUSE_ENABLE_SELECT_DEVICE_BY_SWITCH_ADC
+0x2c MOUSE_ENABLE_DPI_KEY_CONNECT_GND
+0x2d MOUSE_ENABLE_PB_BUTTON_CONNECT_GND
+0x2e MOUSE_ENABLE_DPI_KEY_CONNECT_ADC
+0x2f MOUSE_ENABLE_24G_FIRST_AUTO_PAIRING
+//byte 7 
+0x30 MOUSE_ENABLE_AUTO_24G_PARING
+0x31 MOUSE_ENABLE_24G_POWER_ON_PAIRING
+0x32 MOUSE_ENABLE_COMMBINATION_KEY_BY_24G_PAIRING
+0x33 MOUSE_ENABLE_BT_RECONNECT_TIMEOUT_ENTER_DISCOVERY
+0x34 MOUSE_ENABLE_PB_BUTTON_SHORT_PRESS_ENTER_DISCOVERY
+0x35 MOUSE_ENABLE_COMMBINATION_KEY_BY_BT_DISCOVERY
+0x36 MOUSE_ENABLE_DPI_KEY_LONG_PRESS_DISCONVERY
+0x37 MOUSE_ENABLE_PB_BUTTON_LONG_PRESS_DISCONVERY
+
+//byte 8
+0x38 MOUSE_ENABLE_SMOOTHER
+0x39 MOUSE_ENABLE_XY_OFFSET
+
+//mouse dpi level
+0x00 MOUSE_DPI_LEVEL1
+0x01 MOUSE_DPI_LEVEL2
+0x02 MOUSE_DPI_LEVEL3
+0x03 MOUSE_DPI_LEVEL4
+
+
+//mouse sensor angle
+0x00 MOUSE_6CLK_ANGLE
+0X01 MOUSE_9CLK_ANGLE
+0X02 MOUSE_12CLK_ANGLE
+0X03 MOUSE_3CLK_ANGLE
+
+
+
+0xFF GPIO_DISABLE
+
+//DPI button state 
+0x00 DPI_BUTTON_STATE_UP
+0x01 DPI_BUTTON_STATE_DOWN
+
+
+//PB button state 
+0x00 PB_BUTTON_STATE_UP
+0x01 PB_BUTTON_STATE_DOWN
+
+//Commbination_key state 
+0x00 COMMBINATION_KEY_STATE_UP
+0x01 COMMBINATION_KEY_STATE_DOWN
+
+
+//eeprom address offect
+0X00 MOUSE_INFO_EEPROM_OFFECT
+0x58 MOUSE_STORE_FLAG
+0X5A MOUSE_DPI_EEPROM_OFFECT	//1byte
+0X5B MOUSE_G24_ADDR_EEPROM_OFFECT	//4bytes
+0X5F MOUSE_RANDOM_ADDR_COUNT_EEPROM_OFFSET	//2bytes
+0X61 MOUSE_EEPROM_MODULE_INIT_FLAG
+
+// Sensor id number
+0x30 P32XX_ID1
+0x31 P3065_ID1
+0x02 P3212_ID2
+0xD1 P3205_TJ3T_ID2
+0XD2 P3204_TJ3L_ID2
+0x54 PKA8_ID2
+0x70 P3065_XY_ID2
+0x00 P3065_ID2
+0x5a P_MX8650
+0xD8 P8009_ID2
+0x50 P6520A_ID2
+0x58 PKA8G2_ID1
+0x59 PKA8G2_ID2
+
+
+//Sensor type
+0X00 P3205
+0X01 P3065
+0X02 P3204
+0X03 P3212
+0X04 P3065_XY
+0x05 MX8650
+0x06 P8009
+0x07 P6520
+0X08 KA8
+0X09 KA8_UL
+0X0a KA8_HD
+0X0b KA8G2
+
+
+//SENSOR REG
+0x00 PAN_REG_PID_L
+0x01 PAN_REG_PID_H
+0x02 PAN_REG_MOTION_STAUS
+0x03 PAN_REG_DELTA_X
+0x04 PAN_REG_DELTA_Y
+0x05 PAN_REG_OPRATION_MODE
+0x06 PAN_REG_CONFIG
+0x07 PAN_REG_IMAGE_QUALITY
+0x08 PAN_REG_OPRATION_STATE
+0x09 PAN_REG_WRITE_PROTECT
+0x0A PAN_REG_SLEEP_1
+0x0B PAN_REG_ENTER_TIME
+0x0C PAN_REG_SLEEP_2
+0x0D PAN_REG_IMAGE_THRESHOLD
+0x0E PAN_REG_IMAGE_RECGNITION
+
+
+0x06 MOUSE_DPI_ADDRESS
+0x05 MOUSE_P3610_DPI_ADDRESS
+0x0D MOUSE_P3212_DPI_XADDRESS
+0x0E MOUSE_P3212_DPI_YADDRESS
+
+)
+
+(
+0x01 ADV_FLAG_LIMITED_DISCOVERABLE
+0x04 ADV_FLAG_BREDR_NOT_SUPPORTED
+)
+
+(
+2 BIT_POWER_ON
+)
+//device option low 2
+(
+0 MODE_3_MOUSE
+1 MODE_4_MOUSE
+)
+
+
+(
+10 LE_LPM_DISABLE_TO
+1 LE_LPM_DISABLE
+0 LE_LPM_ENABLE
+
+12 LE_INTERVAL_15MS
+9 LE_INTERVAL_11_25MS//11.25ms
+7 LE_INTERVAL_8_75MS//8.75ms
+6 LE_INTERVAL_7_5MS//7.5ms
+12 CLASSIC_INTERVAL_7_5MS
+14 CLASSIC_INTERVAL_8_75MS
+18 CLASSIC_INTERVAL_11_25MS
+)
+
+(
+0x00 MOUSE_L_KEY
+0x01 MOUSE_R_KEY
+0x02 MOUSE_M_KEY
+0x03 MOUSE_BK_KEY
+0x04 MOUSE_FW_KEY
+0x05 MOUSE_DPI_KEY
+0x06 MOUSE_PB_KEY
+0x07 MOUSE_CUSTOMER_KEY
+)
+
+
+(
+0 G24_DISCONN_STATE
+1 G24_CONN_STATE
+
+8 G24_CH_NUMBER
+16 G24_CH_POLL_COUNT
+)
+
+(
+0 MOUSE_ADC_CHECK_BATTERY_ONLY
+1 MOUSE_ADC_CHECK_MULTIPLE
+2 MOUSE_ADC_CHECK_GPIO_MULTIPLE
+3 MOUSE_ADC_CHECK_VINLPM_MULTIPLE
+)
+
+
+(
+0x5a MOUSE_USB_INTERFACE_INSERT
+0xa5 MOUSE_USB_INTERFACE_REMOVE
+)
+
+(
+0x10 MOUSE_BLE_L2CAP_TXBUFF_SIZE
+)
+
+(
+0 MOUSE_ADC_ENABLE
+1 MOUSE_SEARCH_DONGLE_ENABLE
+2 MOUSE_24G_250HZ_ENABLE
+3 MOUSE_CLK_16M_ENABLE
+4 MOUSE_DPI_4_LEVEL_ENABLE
+5 MOUSE_KEYBOARD_ENABLE
+
+7 MOUSE_DEVICE_NUMBER_FLAG
+)
+
Index: format/app_remote_car.format
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/format/app_remote_car.format	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/format/app_remote_car.format	(working copy)
@@ -0,0 +1,159 @@
+
+xmemalloc g24_tx_remote(
+1 mem_remote_car_hard_soft_switch
+
+1 mem_remote_car_queue_each_size
+1 mem_remote_car_queue_length
+
+1 mem_remote_car_queue_curr_num
+1 mem_remote_car_queue_read_ptr
+1 mem_remote_car_queue_write_ptr
+90 mem_remote_car_queue_ele
+
+1 mem_remote_style_led_type
+1 mem_remote_style_blink_count
+1 mem_remote_style_struct_led_gpio
+2 mem_remote_style_on_time
+2 mem_remote_style_off_time
+2 mem_remote_style_cb_ledon
+2 mem_remote_style_cb_ledoff
+
+
+1 mem_remote_car_led_num
+8 mem_remote_car_led_map
+
+0 mem_remote_car_keyscan
+1 mem_remote_car_key_num
+2 mem_cb_remote_car_keyscan
+
+0 mem_remote_car_key_conf0
+1 mem_remote_car_key_conf0_pin
+0 mem_remote_car_key_conf1
+1 mem_remote_car_key_conf1_pin
+0 mem_remote_car_key_conf2
+1 mem_remote_car_key_conf2_pin
+0 mem_remote_car_key_conf3
+1 mem_remote_car_key_conf3_pin
+0 mem_remote_car_key_conf4
+1 mem_remote_car_key_conf4_pin
+0 mem_remote_car_key_conf5
+1 mem_remote_car_key_conf5_pin
+0 mem_remote_car_key_conf6
+1 mem_remote_car_key_conf6_pin
+
+
+//rocker
+1 mem_rocker_negative_flag
+1 mem_rocker_work_status
+2 mem_current_vdd_value_default_mid_x
+2 mem_current_vdd_value_default_mid_y
+2 mem_current_vdd_value_default_mid_temp
+2 mem_current_vdd_default_range
+2 mem_rocker_last_status
+0 mem_rocker_status
+1 mem_rocker_x_status
+1 mem_rocker_y_status
+
+0 mem_remote_car_config_param
+1 mem_remote_car_config_setting_flag
+1 mem_remote_car_config_key_map
+1 mem_remote_car_config_layout
+1 mem_remote_car_config_connect_led_gpio
+1 mem_remote_car_config_check_way
+1 mem_remote_car_config_soft_switch_enable
+1 mem_remote_car_config_soft_switch_gpio
+1 mem_remote_car_config_timeout_shutdown_enable
+
+0 mem_remote_car_24g_motor_packet
+1 mem_remote_car_24g_motor_packet_lenght
+2 mem_remote_car_24g_motor_send_packet_head
+1 mem_remote_car_24g_motor_send_cmd
+2 mem_remote_car_24g_motor_send_length
+0 mem_remote_car_24g_motor_send_payload
+2 mem_remote_car_24g_motor1_payload
+2 mem_remote_car_24g_motor2_payload
+2 mem_remote_car_24g_motor3_payload
+1 mem_remote_car_24g_motor_send_checksum
+
+0 mem_remote_car_24g_fire_packet
+1 mem_remote_car_24g_fire_packet_lenght
+2 mem_remote_car_24g_fire_send_packet_head
+1 mem_remote_car_24g_fire_send_cmd
+2 mem_remote_car_24g_fire_send_length
+2 mem_remote_car_24g_fire_send_payload
+1 mem_remote_car_24g_fire_send_checksum
+
+15 mem_remote_car_24g_tx_temp
+
+2 mem_remote_car_no_data_timeout
+2 mem_remote_car_no_data_timer
+
+0 mem_remote_car_soft_power
+1 mem_remote_car_power_state
+1 mem_remote_car_power_timer
+1 mem_remote_car_power_off_timeout
+1 mem_remote_car_power_starting_timeout
+2 mem_remote_car_power_off_cb
+2 mem_remote_car_power_starting_cb
+2 mem_remote_car_power_standby_cb
+
+1 mem_remote_key_status
+1 mem_remote_car_24g_status
+
+1 mem_remote_car_24g_auto_work_step
+1 mem_remote_car_24g_pair_success_flag
+1 mem_remote_car_empty_packet
+
+1 mem_remote_car_motor1_key0_press_state
+1 mem_remote_car_motor1_key1_press_state
+1 mem_remote_car_motor2_key2_press_state
+1 mem_remote_car_motor2_key3_press_state
+1 mem_remote_car_motor1_rel_state
+1 mem_remote_car_motor2_rel_state
+
+1 mem_remote_car_no_data_check
+)
+
+
+(
+// eeprom config
+0xb0 REMOTE_PARAM_EEPROM_CONFIG_ADDR
+//eeprom address offect
+0X00 REMOTE_INFO_EEPROM_OFFECT
+
+)
+
+
+(
+0x00 CONTROL_F_B_MOTOR
+0x02 CONTROL_L_R_MOTOR
+)
+
+(
+0x00 KEY_MAP_TEN
+0x01 KEY_MAP_LR
+)
+
+(
+0x00 CONTROL_F_B_TEN
+0x02 CONTROL_L_R_TEN
+0x03 CONTROL_L_R_LR
+)
+
+(
+0 KEY_CHECK
+1 ROCKER_CHECK
+)
+
+(
+1 MOTOR_POSITIVE
+2 MOTOR_NEGATIVE
+)
+
+(
+0 ROCKER_MIDDLE_KEY
+1 ROCKER_POSITIVE_KEY
+2 ROCKER_NEGATIVE_KEY
+)
+
+
Index: format/app_shutter.format
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/format/app_shutter.format	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/format/app_shutter.format	(working copy)
@@ -0,0 +1,248 @@
+
+
+xmemalloc shutter(
+
+////////////////////////////////////
+//shutter common config
+1 mem_shutter_bluetooth_type
+////////////////////////////////////
+
+2 mem_shutter_config_eeprom_offset_addr
+
+////////
+2 mem_shutter_config_eeprom_start_flag
+1 mem_shutter_config_user_size
+///////
+1 mem_shutter_config_label
+2 mem_shutter_config_otp_addr
+///////////////////////////////////
+
+////////////////////////////////////
+//classic shutter config
+1 mem_classic_shutter_cable_unplug_conut
+1 mem_classic_shutter_hid_disconn_count
+2 mem_classic_shutter_random_mac_offset_addr
+////////////////////////////////////
+
+////////////////////////////////////
+//ble shutter config
+1 mem_ble_shutter_enable_notify
+2 mem_ble_shutter_reconn_adv_interval
+2 mem_ble_shutter_discovery_adv_interval
+2 mem_ble_shutter_reconn_timeout
+2 mem_ble_shutter_reconn_timer
+2 mem_ble_shutter_reconn_blink_on_time
+2 mem_ble_shutter_reconn_blink_off_time
+2 mem_ble_shutter_discovery_blink_on_time
+2 mem_ble_shutter_discovery_blink_off_time
+
+2 mem_ble_shutter_interval_min
+2 mem_ble_shutter_interval_max
+2 mem_ble_shutter_latency
+2 mem_ble_shutter_timeout
+
+2 mem_ble_shutter_interval_min_new
+2 mem_ble_shutter_interval_max_new
+2 mem_ble_shutter_latency_new
+2 mem_ble_shutter_timeout_new
+
+//////////////////shutter sleep timeout//////////////////
+2 mem_classic_shutter_discovery_timeout
+2 mem_classic_shutter_connect_timeout
+2 mem_ble_shutter_discovery_timeout
+2 mem_ble_shutter_connect_timeout
+2 mem_shutter_sleep_timeout
+2 mem_shutter_sleep_timer
+
+/////////////////////////////////////////////////////////////////
+1 mem_shutter_hard_soft_switch_case
+1 mem_shutter_soft_switch_button_gpio
+1 mem_shutter_soft_switch_power_state
+1 mem_shutter_soft_switch_poweron_time
+1 mem_shutter_soft_switch_poweroff_time
+2 mem_shutter_soft_switch_poweron_callback_function
+2 mem_shutter_soft_switch_poweroff_callback_function
+
+
+0 mem_shutter_keyscan
+1 mem_shutter_key_num
+2 mem_cb_shutter_keycan
+1 mem_shutter_key_conf0
+1 mem_shutter_key_conf1
+1 mem_shutter_key_conf2
+1 mem_shutter_key_conf3
+1 mem_shutter_key_conf4
+1 mem_shutter_key_conf5
+1 mem_shutter_key_conf6
+1 mem_shutter_key_conf7
+
+
+5 mem_key0_press
+5 mem_key1_press
+5 mem_key2_press
+5 mem_key3_press
+5 mem_key4_press
+5 mem_key5_press
+5 mem_key6_press
+5 mem_key7_press
+
+5 mem_key0_release	
+5 mem_key1_release
+5 mem_key2_release
+5 mem_key3_release
+5 mem_key4_release
+5 mem_key5_release
+5 mem_key6_release
+5 mem_key7_release
+
+5 mem_ble_data_buffer1
+5 mem_ble_data_buffer2
+5 mem_ble_data_buffer3
+5 mem_ble_data_buffer4
+5 mem_ble_data_buffer5
+5 mem_ble_data_buffer6
+5 mem_ble_data_buffer7
+5 mem_ble_data_buffer8
+50 mem_ble_data_buffer9_58
+
+5 mem_classic_data_buffer
+
+5 mem_classic_data_buffer1
+5 mem_classic_data_buffer2
+5 mem_classic_data_buffer3
+5 mem_classic_data_buffer4
+5 mem_classic_data_buffer5
+5 mem_classic_data_buffer6
+5 mem_classic_data_buffer7
+5 mem_classic_data_buffer8
+50 mem_classic_data_buffer9_58
+
+1 mem_queue_each_size
+1 mem_queue_length
+1 mem_queue_curr_num
+1 mem_queue_read_ptr
+1 mem_queue_write_ptr
+32 mem_queue_ele
+
+
+170 mem_shutter_nv_data
+
+0 mem_shutter_led_struct_app_led
+1 mem_shutter_led_struct_app_led_type
+1 mem_shutter_led_struct_app_led_blink_count
+1 mem_shutter_led_struct_app_led_gpio
+2 mem_shutter_led_struct_app_led_on_time
+2 mem_shutter_led_struct_app_led_off_time
+2 mem_shutter_led_struct_app_led_on_callback
+2 mem_shutter_led_struct_app_led_off_callback
+
+0 mem_shutter_power_off_led_style
+1 mem_shutter_power_off_led_style_type
+1 mem_shutter_power_off_led_style_blink_count
+1 mem_shutter_power_off_led_style_gpio
+2 mem_shutter_power_off_led_style_on_time
+2 mem_shutter_power_off_led_style_off_time
+2 mem_shutter_power_off_led_style_on_callback
+2 mem_shutter_power_off_led_style_off_callback
+
+1 mem_shutter_soft_swtich_botton_down
+11 mem_shutter_soft_swtich_led_struct_temp
+1 mem_shutter_power_off_timeout
+1 mem_shutter_power_off_timer
+
+//continue address
+2 mem_shutter_key_conf0_temp
+1 mem_shutter_led_struct_app_led_gpio_temp
+1 mem_shutter_hard_soft_switch_case_temp
+1 mem_shutter_soft_switch_button_gpio_temp
+//modified name
+1 mem_shutter_le_name_len
+30 mem_shutter_le_name
+
+)
+
+
+
+
+(
+0 BLE_SHUTTER
+1 CLASSIC_SHUTTER
+)
+
+(
+0x0000 NVRAM_EEPROM_OFFSET
+)
+
+(
+0x1b3a SHUTTER_EEPROM_CONFIG_CRC
+)
+
+(
+5 MAX_QUEUE_NUM
+5 SHUTTER_BLE_DATA_BUFFER
+5 SHUTTER_CLASSIC_DATA_BUFFER
+)
+
+
+(
+0x13	GATT_CONSUMER_NOTIFY_HANDLE
+0x14	GATT_CONSUMER_WRITE_HANDLE
+0x17	GATT_KEYBOARD_NOTIFY_HANDLE
+0x18	GATT_KEYBOARD_WRITE_HANDLE
+)
+
+(
+//20ms
+0x0020	FAST_ADV_INTERVAL_VALUE
+//100ms
+0x00a0	SLOW_ADV_INTERVAL_VALUE
+)
+
+
+(
+0 ATT_BIT_NOTIFICATION
+1 ATT_BIT_INDICATION
+)
+///////////////////////////////////////////////////////////////////////////////////////
+
+(
+0 HARD_SWITCH
+1 SOFT_SWITCH
+)
+
+
+(
+1  FLAG_SHUTTER_HID_DISCONN_TIMEOUT
+5 FLAG_SHUTTER_CABLE_UNPLUG_TIMEOUT
+)
+
+(//Data Rom Buffer Addr
+382		BLE_GATT_LIST_SIZE
+487		BT_SDP_LIST_SIZE
+40		BLE_KEY_VALUE_LIST_SIZE
+40		BT_KEY_VALUE_LIST_SIZE
+)
+
+
+(//soft switch power state
+0		SS_STATE_POWER_UP
+1		SS_STATE_POWER_ON
+2		SS_STATE_POWER_OFF
+)
+
+(
+0		SS_POWER_STATE_OFFSET
+1		SS_POWER_ON_TIME
+2		SS_POWER_OFF_TIME
+3		SS_POWER_ON_CB
+5		SS_POWER_OFF_CB
+
+)
+
+(
+
+0x4FFE SIM_IIC_SCL_GPIO_NUM
+0x4FFF SIM_IIC_SDA_GPIO_NUM
+
+)
+
Index: format/ble_protocol_stack/le.format
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/format/ble_protocol_stack/le.format	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/format/ble_protocol_stack/le.format	(working copy)
@@ -0,0 +1,437 @@
+
+memalloc(
+260 mem_le_rxbuf
+
+/* security temp */
+4 mem_le_mic
+4 mem_le_peer_mic
+//8 mem_le_skdm
+//8 mem_le_skds
+16 mem_le_mrand
+
+
+/* ========= le context =========== */
+1 mem_le_state
+1 mem_le_mode
+2 mem_le_tsniff
+4 mem_le_anchor
+6 mem_le_clk_offset
+2 mem_le_receive_window
+6 mem_le_plap
+1 mem_le_conn_handle
+1 mem_le_arq
+1 mem_le_ch
+1 mem_le_hop
+2 mem_le_event_count
+4 mem_le_supervision_timer
+2 mem_le_instant
+1 mem_le_channels
+1 mem_le_op
+
+	/* these 3 should NOT be seperated */
+4 mem_le_access
+3 mem_le_crcinit
+1 mem_le_window_size
+
+	/* these 3 should NOT be seperated */
+2 mem_le_slave_latency
+2 mem_le_superto
+5 mem_le_channel_map
+
+
+1 mem_le_rx_phy
+1 mem_le_tx_phy
+
+9 mem_le_update_new_param
+
+16 mem_le_sk
+
+1 mem_le_peer_sca
+1 mem_le_err_code
+1 mem_le_ll_pairing_fail_reason
+
+5 mem_le_context_reserve
+/* ========= le context ending =========== */
+
+/* test */
+1 mem_le_testtype
+1 mem_cmd_le_create_conn
+
+)
+
+amemalloc mem_le_update_new_param(
+//update connection parameter
+	0 mem_le_new_param
+	1 mem_le_new_transmitwindowsize
+	2 mem_le_new_transmitwindowoffset
+	2 mem_le_new_conninterval
+	2 mem_le_new_connslavelatency
+	2 mem_le_new_connsupervisiontimeout
+)
+
+amemalloc mem_le_update_new_param(
+//update map parameter
+	5 mem_le_new_map
+)
+
+amemalloc mem_le_update_new_param(
+//update phy parameter
+	1 mem_le_new_m2s_phy
+	1 mem_le_new_s2m_phy
+)
+
+amemalloc mem_le_rxbuf(
+//data channel PDU
+	1 mem_le_rxbuf_data_header
+	1 mem_le_rxbuf_data_length
+	255 mem_le_rxbuf_data_payload
+)
+
+amemalloc mem_le_rxbuf(
+//data channel LL control PDU
+	1 mem_le_rxbuf_data_ll_header
+	1 mem_le_rxbuf_data_ll_length
+	1 mem_le_rxbuf_data_ll_opcode
+	26 mem_le_rxbuf_data_ll_control_data
+)
+
+xmemalloc(
+2 mem_le_dsniff
+
+2 mem_le_conn_interval
+
+1 mem_le_txheader
+1 mem_le_txlen
+256 mem_le_txpayload
+
+//modified name
+1 mem_le_name_len
+30 mem_le_name
+
+
+/* smp related */
+
+16 mem_le_ltk
+1 mem_ltk_exists
+16 mem_le_rconfirm
+16 mem_le_srand
+1 mem_le_iat
+1 mem_le_rat
+1 mem_le_preq
+1 mem_le_preq_iocap
+1 mem_le_preq_oob
+1 mem_le_preq_auth
+1 mem_le_preq_max_keysize
+1 mem_le_preq_init_key_distribution
+1 mem_le_preq_resp_key_distribution
+1 mem_le_pres
+1 mem_le_pres_iocap
+1 mem_le_pres_oob
+1 mem_le_pres_auth
+1 mem_le_pres_max_keysize
+1 mem_le_pres_init_key_distribution
+1 mem_le_pres_resp_key_distribution
+
+/* att related */
+
+2 mem_le_notify_handle
+1 mem_le_search_uuid_length
+16 mem_le_search_uuid
+
+
+
+//START of LE conn parameter structure
+0 mem_le_conn_param
+1 mem_le_conn_peer_addr_type
+6 mem_le_conn_peer_addr
+1 mem_le_conn_own_addr_type
+2 mem_le_interval_min
+2 mem_le_interval_max
+2 mem_le_latency
+2 mem_le_timeout
+//START of LE conn parameter structure
+
+
+3 mem_le_lap
+1 mem_le_uap
+2 mem_le_nap
+
+
+2 mem_le_local_mtu
+2 mem_le_remote_mtu
+
+8 mem_le_skdm
+8 mem_le_skds
+
+2 mem_le_init_superto
+2 mem_ui_le_uuid_table
+
+1 mem_le_secure_connect_flag
+1 mem_le_secure_connect_state
+1 mem_le_sc_confirm_gkey_flag
+
+
+1 mem_le_pairing_state
+1 mem_le_enc_state
+1 mem_le_pairing_mode
+4 mem_le_tk
+2 mem_le_ediv
+8 mem_le_rand
+16 mem_le_irk
+
+//LE attribute list
+4 mem_le_transmit_window
+
+//ble General configuration 
+1 mem_le_configuration
+16 mem_le_fixed_ltk
+2 mem_le_pairing_handle
+
+
+1 mem_le_packet_llid
+
+//for continue
+2 mem_le_l2cap_size
+2 mem_le_packet_len_recved
+2 mem_le_payload_ptr
+
+
+//ble gatt signaling
+1 mem_le_signaling_identifier
+2 mem_le_l2cap_signaling_conn_param_update_rsp_result
+
+1 mem_le_md_count
+
+2 mem_ble_l2cap_tx_buff0_ptr
+2 mem_ble_l2cap_tx_buff_size_ptr
+)
+
+(//mem_le_T_IFS
+150 PARAM_T_IFS_150US
+20000 PARAM_20MS_INIT
+-13 PARAM_SYNC_TIME_DIFFERENCE
+40 PARAM_CODED_C1_TERM1_TIME_40US
+1666 PARAM_WINDOWN_SIZE
+//T_IFS = 150-modem(CRC time)
+)
+
+
+(
+0 DEFAULT_STATES
+1 IPHONE_LOST_LTK
+2 MODULE_LOST_LTK
+3 LTK_NOT_LOST
+)
+
+	//BLE ErrorCodes
+	(    
+	0x01 ERROR_UNKNOWN_HCI_COMMAND
+	0x02 ERROR_NO_CONNECTION
+	0x03 ERROR_HARDWARE_FAILURE
+	0x04 ERROR_PAGE_TIMEOUT
+	0x05 ERROR_AUTHENTICATION_FAILURE
+	0x06 ERROR_KEY_MISSING
+	0x07 ERROR_MEMORY_FULL
+	0x08 ERROR_CONNECTION_TIMEOUT
+	0x09 ERROR_MAX_CONNECTIONS
+	0x0A ERROR_MAX_SCO_CONNECTIONS
+	0x0B ERROR_MAX_ACL_CONNECTIONS
+	0x0C ERROR_COMMAND_DISALLOWED
+	0x0D ERROR_HOST_REJECT_LIMITED_RESOURCES
+	0x0E ERROR_HOST_REJECT_SECURITY_REASONS
+	0x0F ERROR_HOST_REJECT_REMOTE_IS_ONLY_PERSONAL
+	0x10 ERROR_HOST_TIMEOUT
+	0x11 ERROR_UNSUPPORTED_FEATURE_OR_PARAMETER_VALUE
+	0x12 ERROR_INVALID_HCI_COMMAND_PARAMETERS
+	0x13 ERROR_REMOTE_USER_TERMINATED_CONNECTION
+	0x14 ERROR_REMOTE_LOW_RESOURCES
+	0x15 ERROR_REMOTE_POWERING_OFF
+	0x16 ERROR_CONNECTION_TERMINATED_BY_LOCAL_HOST
+	0x17 ERROR_REPEATED_ATTEMPTS
+	0x18 ERROR_PAIRING_NOT_ALLOWED
+	0x19 ERROR_UNKNOWN_LMP_PDU
+	0x1A ERROR_UNSUPPORTED_REMOTE_FEATURE
+	0x1B ERROR_SCO_OFFSET_REJECTED
+	0x1C ERROR_SCO_INTERVAL_REJECTED
+	0x1D ERROR_SCO_AIR_MODE_REJECTED
+	0x1E ERROR_INVALID_LMP_PARAMETER
+	0x1F ERROR_UNSPECIFIED_ERROR
+	0x20 ERROR_UNSUPPORTED_LMP_PARAMETER_VALUE
+	0x21 ERROR_ROLE_CHANGE_NOT_ALLOWD
+	0x22 ERROR_LMP_RESPONSE_TIMEOUT
+	0x23 ERROR_ERROR_TRANSACTION_COLLISION
+	0x24 ERROR_LMP_PDU_NOT_ALLOWED
+	0x25 ERROR_ENCRYPTION_MODE_NOT_ACCEPTABLE
+	0x26 ERROR_UNIT_KEY_USED
+	0x27 ERROR_QOS_NOT_SUPPORTED
+	0x28 ERROR_INSTANT_PASSED
+	0x29 ERROR_PAIRING_W_UNIT_KEY_NOT_SUPPORTED
+	0x2a ERROR_DIFFERENT_TRANSACTION_COLLISION
+	0x2c ERROR_QOS_UNACCEPTABLE_PARAMETER
+	0x2d ERROR_QOS_REJECTED
+	0x2e ERROR_CHANNEL_CLASSIFICATION_NOT_SUPPORTED
+	0x2f ERROR_INSUFFICIENT_SECURITY
+	0x30 ERROR_PARAMETER_OUT_OF_MANDATORY_PANGE
+	0x32 ERROR_ROLE_SWITCH_PENDING
+	0x34 ERROR_RESERVED_SLOT_VIOLATION
+	0x35 ERROR_ROLE_SWITCH_FAILED
+	0x36 ERROR_EXTENDED_INQUIRY_RESPONSE_TOO_LARGE
+	0x37 ERROR_SIMPLE_PAIRING_NOT_SUPPORTED_BY_HOST
+	0x38 ERROR_HOST_BUSY_PAIRING
+	0x3d ERROR_MIC_FAILURE
+	)
+
+
+	//modified_name
+	(
+	0X20 SPACE	
+	)
+	/* LE L2CAP CID */
+	(
+	0x0004 LE_L2CAP_CID_ATT
+	0x0005 LE_L2CAP_CID_SIGNAL
+	0x0006 LE_L2CAP_CID_SMP
+	)
+
+	//LE address type
+	(
+	0 LE_ADDR_TYPE_PUBLIC
+	1 LE_ADDR_TYPE_RANDOM
+	)
+	//LE address type bitmap
+	(
+	7 LE_RECEIVER_ADDR_BIT
+	6 LE_SENDER_ADDR_BIT
+	)
+	//LE SCAN TYPE
+	(
+	0x00 LE_SCAN_TYPE_PASSIVE //no SCAN_REQ shall be sent
+	0x01 LE_SCAN_TYPE_ACTIVE
+	)
+
+	//LE SCAN ENABLE
+	(
+	0x00 LE_SCAN_DISABLE
+	0x01 LE_SCAN_ENABLE
+	0x0101 LE_ACTIVE_SCAN_ENABLE
+	)
+
+	//LE FIND INFORMATION RESPONSE
+	//THE FORMAT OF THE INFORMATION DATA
+	(
+	0x01 UUID_SIZE_16BIT
+	0x02 UUID_SIZE_128BIT
+	)
+
+//	le_state_map 0-2 is reserved for state_inconn,state_insniff and state_sco
+(
+3 lestate_got_first_packet
+4 lestate_encryption
+5 lestate_update_param
+6 lestate_update_map
+7 lestate_update_phy
+)
+
+// 	le mode
+(
+0 lemode_idle
+1 lemode_slave
+3 lemode_master
+0x20 lemode_2m
+0x40 lemode_lr_s2
+0xc0 lemode_lr_s8
+)
+
+(
+0 llid0
+1 llid1
+2 nesn
+3 sn
+4 md
+5 wak
+6 txdat
+)
+
+(
+0x01 LLID_CONTINUE
+0x02 LLID_START
+0x03 LLID_LE_LL
+0x01 LLID_EMPTY
+)
+
+(
+4 LE_TX_BUFF_COUNT
+3 LE_TX_BUFF_UPDATE_LOOPCNT //LE_TX_BUFF_COUNT-1
+
+12 LE_MD_MAX_COUNT
+)
+
+
+(
+0 LE_INITATOR_LTK_BIT
+1 LE_INITATOR_IRK_BIT
+2 LE_INITATOR_CSRK_BIT
+)
+
+
+
+
+
+(
+0  LE_FIND_BY_TYPE_VAL_RES_NOT_FOUND
+1  LE_FIND_BY_TYPE_VAL_RES_FOUND_STARTING_HANDLE
+2  LE_FIND_BY_TYPE_VAL_RES_FOUND_ENDING_HANDLE
+
+)
+
+(
+0 MASTER_PUBLIC_ADDR
+1 MASTER_RANDOM_ADDR
+)
+
+(
+0x06 LE_ERR_PIN_OR_KEY_MISSING
+)
+
+(
+39 LE_CCM_DIRECTIONBIT
+)
+(
+36 BR_CCM_0_LENGTH_CONTINUATION
+37 BR_CCM_DIRECTIONBIT
+)
+
+(
+96000 TIMER_SMP_PAIRING_TIMEOUT //30S
+)
+
+
+
+//mem_le_enc_state
+(
+0 FLAG_LE_ENC_NULL
+1 FLAG_LE_RCV_ENC_START
+2 FLAG_LE_ENC_PAUSE
+3 FLAG_LE_RCV_START_ENC_RSP
+4 FLAG_LE_SEND_START_ENC_RSP
+5 FLAG_LE_SEND_START_ENC_REQ
+0xff FLAG_LE_ENC_END
+)
+
+(//mem_le_configuration
+//bit0:use fixed key , ble passkey pairing
+0 BIT_BLE_PASSKEY_FIXED_KEY
+//bit1:ble pairing use fixed long term key
+1 BIT_BLE_PAIRING_FIXED_LTK
+//bit2:ble transmit packet will set more data flag
+2 BIT_BLE_TRANSMIT_PACKET_BY_MD
+//bit3:master read handle, with requires an authenticated link
+3 BIT_BLE_READ_AUTH
+//bit4:master write handle, with requires an authenticated link
+4 BIT_BLE_WRITE_AUTH
+//bit5:cannot enter long sleep
+5 BIT_BLE_SHORT_MULT
+//bit6:DEAL baseband packet
+6 BIT_BLE_DEAL_BB_PACKET
+)
+
Index: format/ble_protocol_stack/le_advertising.format
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/format/ble_protocol_stack/le_advertising.format	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/format/ble_protocol_stack/le_advertising.format	(working copy)
@@ -0,0 +1,104 @@
+
+xmemalloc(
+// parameters
+1 mem_le_scan_enable
+2 mem_le_scan_interval
+2 mem_le_scan_window
+
+
+1 mem_le_adv_data_len
+31 mem_le_adv_data
+1 mem_le_scan_data_len
+31 mem_le_scan_data
+
+//START of LE adv parameter structure
+1 mem_le_adv_enable
+0 mem_le_adv_param
+2 mem_le_adv_interval
+1 mem_le_adv_type
+1 mem_le_adv_own_addr_type
+6 mem_le_adv_direct_addr
+1 mem_le_adv_channel_map
+//END of LE adv parameter structure
+
+//START of LE scan parameter structure
+0 mem_le_scan_params
+1 mem_le_scan_type
+1 mem_le_scan_own_addr_type
+//END of LE scan parameter structure
+)
+
+amemalloc mem_le_rxbuf(
+//advertising channel PDU
+	1 mem_le_rxbuf_adv_header
+	1 mem_le_rxbuf_adv_length
+	255 mem_le_rxbuf_adv_payload
+)
+
+amemalloc mem_le_rxbuf(
+//advertising channel PDU
+//Scan Req
+	1 mem_le_rxbuf_adv_scan_req_header
+	1 mem_le_rxbuf_adv_scan_req_length
+	6 mem_le_rxbuf_adv_scan_req_scan_address
+	6 mem_le_rxbuf_adv_scan_req_adv_address
+)
+
+amemalloc mem_le_rxbuf(
+//advertising channel PDU
+//Connect IND
+	1 mem_le_rxbuf_adv_connect_ind_header
+	1 mem_le_rxbuf_adv_connect_ind_length
+	6 mem_le_rxbuf_adv_connect_ind_init_address
+	6 mem_le_rxbuf_adv_connect_ind_adv_address
+	4 mem_le_rxbuf_adv_connect_ind_access_address
+	3 mem_le_rxbuf_adv_connect_ind_crc_init
+	1 mem_le_rxbuf_adv_connect_ind_win_size
+	2 mem_le_rxbuf_adv_connect_ind_win_offset
+	2 mem_le_rxbuf_adv_connect_ind_interval
+	2 mem_le_rxbuf_adv_connect_ind_latency
+	2 mem_le_rxbuf_adv_connect_ind_timeout
+	5 mem_le_rxbuf_adv_connect_ind_channel_map
+	1 mem_le_rxbuf_adv_connect_ind_hop_and_sca
+)
+
+(
+0x01	GAP_ADTYPE_FLAGS
+0x02	GAP_ADTYPE_16BIT_MORE
+0x03	GAP_ADTYPE_16BIT_COMPLETE
+0x04	GAP_ADTYPE_32BIT_MORE
+0x05	GAP_ADTYPE_32BIT_COMPLETE
+0x06	GAP_ADTYPE_128BIT_MORE
+0x07	GAP_ADTYPE_128BIT_COMPLETE
+0x08	GAP_ADTYPE_LOCAL_NAME_SHORT
+0x09	GAP_ADTYPE_LOCAL_NAME_COMPLETE
+0x0a	GAP_ADTYPE_POWER_LEVEL
+0x16	GAP_ADTYPE_SERVICE_DATA
+0x2a	GAP_ADTYPE_MESH_MESSAGE
+0x2b 	GAP_ADTYPE_MESH_BEACON
+0xff	GAP_ADTYPE_MANUFACTURER_SPECIFIC
+)
+
+/* advertising channel PDU type */
+(
+0 ADV_IND
+1 ADV_DIRECT_IND
+2 ADV_NONCONN_IND
+3 SCAN_REQ
+3 AUX_SCAN_REQ
+4 SCAN_RSP
+5 CONNECT_REQ
+5 AUX_CONNECT_REQ
+6 ADV_SCAN_IND
+)
+
+(
+0 BIT_ADV_CHANNEL_MAP_37
+1 BIT_ADV_CHANNEL_MAP_38
+2 BIT_ADV_CHANNEL_MAP_39
+)
+
+(
+0xa0 param_le_sca
+)
+
Index: format/ble_protocol_stack/le_l2cap_att.format
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/format/ble_protocol_stack/le_l2cap_att.format	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/format/ble_protocol_stack/le_l2cap_att.format	(working copy)
@@ -0,0 +1,194 @@
+
+xmemalloc(
+	1 mem_le_l2cap_att_states
+
+	/* should be together */
+	1 mem_le_att_opcode
+	2 mem_le_att_handle
+	1 mem_le_search_res
+
+)
+
+amemalloc mem_temp_block2(
+	2 mem_le_search_handle_start
+	2 mem_le_search_handle_end
+	0 mem_le_att_offset
+	1 mem_le_search_att_type_length
+	16 mem_le_search_att_type
+
+	1 mem_le_curr_att_len
+
+	2 mem_le_cur_attlist_start_ptr
+	2 mem_le_cur_handle_start
+	2 mem_le_cur_handle_end
+	1 mem_le_cur_uuid_length
+	16 mem_le_cur_uuid
+)
+
+
+amemalloc mem_le_rxbuf(
+//data channel ATT start PDU
+	1 mem_le_rxbuf_data_att_header
+	1 mem_le_rxbuf_data_att_length
+	2 mem_le_rxbuf_data_att_l2cap_length
+	2 mem_le_rxbuf_data_att_cid
+	1 mem_le_rxbuf_data_att_opcode
+	250 mem_le_rxbuf_data_att_payload
+)
+
+
+amemalloc mem_le_rxbuf(
+//data channel ATT continue PDU
+	1 mem_le_rxbuf_data_continue_header
+	1 mem_le_rxbuf_data_continue_length
+	255 mem_le_rxbuf_data_continue_payload
+)
+
+amemalloc mem_le_rxbuf(
+//data channel ATT write request PDU
+	1 mem_le_rxbuf_data_att_write_header
+	1 mem_le_rxbuf_data_att_write_length
+	2 mem_le_rxbuf_data_att_write_l2cap_length
+	2 mem_le_rxbuf_data_att_write_cid
+	1 mem_le_rxbuf_data_att_write_opcode
+	2 mem_le_rxbuf_data_att_write_handle
+	248 mem_le_rxbuf_data_att_write_payload
+)
+
+amemalloc mem_le_rxbuf(
+//data channel ATT prepare write request PDU
+	1 mem_le_rxbuf_data_prepare_att_write_header
+	1 mem_le_rxbuf_data_prepare_att_write_length
+	2 mem_le_rxbuf_data_prepare_att_write_l2cap_length
+	2 mem_le_rxbuf_data_prepare_att_write_cid
+	1 mem_le_rxbuf_data_prepare_att_write_opcode
+	2 mem_le_rxbuf_data_prepare_att_write_handle
+	2 mem_le_rxbuf_data_prepare_att_write_offset
+	246 mem_le_rxbuf_data_prepare_att_write_payload
+)
+
+(//bit of mem_le_l2cap_att_states
+0 BLE_L2CAP_SEND_INDICATION_PACKET
+0 BLE_L2CAP_RECV_CONFIRMATION_PACKET
+1 BLE_L2CAP_DEAL_WITH_CONTINUE_PACKET
+)
+
+(//bit map of att handle
+14 BIT_OF_ATT_HANDLE_READ_AUTHENTICATED
+15 BIT_OF_ATT_HANDLE_WRITE_AUTHENTICATED
+)
+
+
+
+(
+0 BIT_CHARACTERISTIC_BROADCAST
+1 BIT_CHARACTERISTIC_READ
+2 BIT_CHARACTERISTIC_WRITE_WITHOUT_RESPONSE
+3 BIT_CHARACTERISTIC_WRITE
+4 BIT_CHARACTERISTIC_NOTIFY
+5 BIT_CHARACTERISTIC_INDICATE
+6 BIT_CHARACTERISTIC_SIGNED_WRITE
+7 BIT_CHARACTERISTIC_EXTENDED_PROPERTIES
+)
+
+/* ATT OPCODE */
+(
+0x01 ATTOP_ERROR_RESPONSE
+0x02 ATTOP_EXCHANGE_MTU_REQUEST
+0x03 ATTOP_EXCHANGE_MTU_RESPONSE
+0x04 ATTOP_FIND_INFORMATION_REQUEST
+0x05 ATTOP_FIND_INFORMATION_RESPONSE
+0x06 ATTOP_FIND_BY_TYPE_VALUE_REQUEST
+0x07 ATTOP_FIND_BY_TYPE_VALUE_RESPONSE
+0x08 ATTOP_READ_BY_TYPE_REQUEST
+0x09 ATTOP_READ_BY_TYPE_RESPONSE
+0x0A ATTOP_READ_REQUEST
+0x0B ATTOP_READ_RESPONSE
+0x0C ATTOP_READ_BLOB_REQUEST
+0x0D ATTOP_READ_BLOB_RESPONSE
+0x0E ATTOP_READ_MULTIPLE_REQUEST
+0x0F ATTOP_READ_MULTIPLE_RESPONSE
+0x10 ATTOP_READ_BY_GROUP_TYPE_REQUEST
+0x11 ATTOP_READ_BY_GROUP_TYPE_RESPONSE
+0x12 ATTOP_WRITE_REQUEST
+0x13 ATTOP_WRITE_RESPONSE
+0x16 ATTOP_PREPARE_WRITE_REQUEST
+0x17 ATTOP_PREPARE_WRITE_RESPONSE
+0x18 ATTOP_EXECUTE_WRITE_REQUEST
+0x19 ATTOP_EXECUTE_WRITE_RESPONSE
+0x1B ATTOP_HANDLE_VALUE_NOTIFICATION
+0x1D ATTOP_HANDLE_VALUE_INDICATION
+0x1E ATTOP_HANDLE_VALUE_CONFIRMATION
+0x52 ATTOP_WRITE_COMMAND
+0xD2 ATTOP_SIGNED_WRITE_COMMAND
+0x1f ATTOP_CONTINUE
+0x9e EMPTY_LE_DATA_PRE
+0x9f EMPTY_LE_DATA
+)
+
+/* ATT error code */
+(
+0x01 ATT_ERR_INVALID_HANDLE
+0x02 ATT_ERR_READ_NOT_PERMITTED
+0x03 ATT_ERR_WRITE_NOT_PERMITTED
+0x04 ATT_ERR_INVALID_PDU
+0x05 ATT_ERR_INSUFFICIENT_AUTHENTICATION
+0x06 ATT_ERR_REQUEST_NOT_SUPPORTED
+0x07 ATT_ERR_INVALID_OFFSET
+0x08 ATT_ERR_INSUFFICIENT_AUTHORIZATION
+0x09 ATT_ERR_PREPARE_QUEUE_FULL
+0x0A ATT_ERR_ATTRIBUTE_NOT_FOUND
+0x0B ATT_ERR_ATTRIBUTE_NOT_LONG
+0x0C ATT_ERR_INSUFFICIENT_ENCRYPTION_KEY_SIZE
+0x0D ATT_ERR_INVALID_ATTRIBUTE_VALUE_LENGTH
+0x0E ATT_ERR_UNLIKELY_ERROR
+0x0F ATT_ERR_INSUFFICIENT_ENCRYPTION
+0x10 ATT_ERR_UNSUPPORTED_GROUP_TYPE
+0x11 ATT_ERR_INSUFFICIENT_RESOURCES
+)
+
+/* GATT Specifications*/
+(
+0X2900 CHARACTERTIC_EXTENDED_PROPERTIES
+0X2901 CHARACTERTIC_USER_DESCRIPTION
+0X2902 CLIENT_CHARACTERTIC_CONFIGURATION
+0X2903 SERVER_CHARACTERTIC_CONFIGURATION
+0X2904 CHARACTERTIC_PRESENTATION_FORMAT
+0X2905 CHARACTERTIC_AGGREGATE
+0X2906 VALID_RANGE
+0X2907 EXTERNAL_REPORT_REFERENCE
+0X2908 REPORT_REFERENCE
+0X290B ENVIR_SENSING_CONFIGURATION
+0X290C ENVIR_SENSING_MEASUREMENT
+0X290D ENVIR_SENSING_TRIGGER_SETTING
+)
+
+
+/*	SERVICE UUID	*/
+(
+0x1800 UUID_SERVICE_GENERIC_ACC
+0x1801 UUID_SERVICE_GENERIC_ATT
+0x180a UUID_SERVICE_DEVICE_INFO
+0x180f UUID_SERVICE_BATTERY
+0x1812 UUID_SERVICE_HIDS
+0x2800 UUID_GATT_PRIMARY_SERVICE
+0x2801 UUID_GATT_SECONDARY_SERVICE
+0X2802 UUID_GATT_INCLUDE
+0X2803 UUID_GATT_CHARACTERISTIC
+0X2A00 UUID_CHRCTR_DEVICE_NAME
+0X2A19 UUID_CHRCTR_BATTERY_LEVEL
+0X2A22 UUID_CHRCTR_KEYBOARD_INPUT
+0X2A23 UUID_CHRCTR_SYSTEM_ID 
+0X2A25 UUID_CHRCTR_SERIAL_NUMBER
+0X2A26 UUID_CHRCTR_FIRMWARE
+0X2A32 UUID_CHRCTR_KEYBOARD_OUTPUT
+0X2A33 UUID_CHRCTR_MOUSE_INPUT
+0X2A4A UUID_CHRCTR_HID_INFO
+0X2A4B UUID_CHRCTR_REPORT_MAP
+0X2A4C UUID_CHRCTR_HID_CTRL_POINT
+0X2A4D UUID_CHRCTR_REPORT
+0X2A4E UUID_CHRCTR_PROTOCOL_MODE
+)
+
+
+
Index: format/ble_protocol_stack/le_l2cap_att_wechat.format
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/format/ble_protocol_stack/le_l2cap_att_wechat.format	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/format/ble_protocol_stack/le_l2cap_att_wechat.format	(working copy)
@@ -0,0 +1,85 @@
+ifdef COMPILE_WECHAT
+
+amemalloc mem_temp_block2(
+	0 mem_wechat_initreq_base_request
+	2 mem_wechat_authreq_base_request
+	4 mem_wechat_authreq_protocol_version
+	2 mem_wechat_authreq_auth_protocol
+	2 mem_wechat_authreq_eam_mac_no_encrypt
+	2 mem_wechat_authreq_mac_address
+	6 mem_wechat_authreq_device_address
+
+	1 mem_wechat_indication_handle
+	1 mem_wechat_write_handle
+	2 mem_wechat_tx_buffer_ptr
+	2 mem_wechat_rx_buffer_ptr
+	2 mem_wechat_rx_push_data_cb
+	2 mem_wechat_tx_nSeq
+	2 mem_wechat_tx_len
+	2 mem_wechat_tx_address
+	2 mem_wechat_rx_len
+	2 mem_wechat_rx_address
+	1 mem_wechat_receive_push_data
+
+)
+
+xmemalloc(
+
+/*
+wechat Air sync protocol parse
+uint8_t indication handle
+uint8_t write handle
+
+*/
+2 mem_le_wechat_air_sync_ptr
+
+)
+
+(
+17 WECHAT_AIR_SYNC_STRUCT_SIZE
+)
+
+(
+0x0000 ECI_NONE
+0x1127 ECI_REQ_AUTH
+0x1227 ECI_REQ_SEND_DATA
+0x1327 ECI_REQ_INIT
+0x214E ECI_RESPONSE_AUTH
+0x224E ECI_RESPONSE_SEND_DATA
+0x234E ECI_RESPONSE_INIT
+0x3175 ECI_PUSH_RECEIVE_DATA
+0x3275 ECI_PUSH_SWITCH_VIEW
+0x3375 ECI_PUSH_SWITCH_BACKGROUD
+0x2F75 ECI_ERR_DECODE
+)
+
+(
+2 ECI_REQ_INIT_MESSAGE_LENGTH
+18 ECI_REQ_AUTH_MESSAGE_LENGTH
+)
+
+(
+0xFE WECHAT_HEAD_MAGIC_NUMBER
+0x01 WECAHT_HEAD_VERSION
+0x01FE WECHAT_RX_HEAD
+)
+
+(
+//push data
+0x0a 	TAG_RecvDataPush_BasePush
+0x12	TAG_RecvDataPush_Data
+0x18	TAG_RecvDataPush_Type
+)
+
+
+(
+0 WECHAT_PROTOCOL_MESSAGE_B_MAGIC_NUMBER
+1 WECHAT_PROTOCOL_MESSAGE_B_VER
+2 WECHAT_PROTOCOL_MESSAGE_N_LENGTH
+4 WECHAT_PROTOCOL_MESSAGE_N_CMD_ID
+6 WECHAT_PROTOCOL_MESSAGE_N_SEQ
+8 WECHAT_PROTOCOL_MESSAGE_PAYLOAD
+)
+
+endif
+
Index: format/ble_protocol_stack/le_l2cap_signalling.format
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/format/ble_protocol_stack/le_l2cap_signalling.format	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/format/ble_protocol_stack/le_l2cap_signalling.format	(working copy)
@@ -0,0 +1,14 @@
+
+/* L2CAP Signaling OPCODE */
+(
+0x12 L2CAP_CONNECTION_PARAMETER_UPDATE_REQUEST
+0x13 L2CAP_CONNECTION_PARAMETER_UPDATE_RESPONSE
+)
+
+(
+0x0000 BLE_SIGNALING_CONNECT_PARAMETER_UPDATE_ACCEPTED
+0x0001 BLE_SIGNALING_CONNECT_PARAMETER_UPDATE_REJECTED
+)
+
+
+
Index: format/ble_protocol_stack/le_l2cap_smp.format
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/format/ble_protocol_stack/le_l2cap_smp.format	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/format/ble_protocol_stack/le_l2cap_smp.format	(working copy)
@@ -0,0 +1,113 @@
+
+
+(
+0x00 LE_PAIRING_MODE_NONE
+0x01 LE_PAIRING_MODE_LAGACY_JUSTWORK
+0x02 LE_PAIRING_MODE_LAGACY_PASSKEY
+0x04 LE_PAIRING_MODE_LAGACY_PASSKEY_RES_INPUT
+0x81 LE_PAIRING_MODE_SECURE_CONNECT_JUSTWORK
+0x82 LE_PAIRING_MODE_SECURE_CONNECT_NUMERIC
+0x83 LE_PAIRING_MODE_SECURE_CONNECT_PASSKEY
+0x84 LE_PAIRING_MODE_SECURE_CONNECT_PASSKEY_RES_INPUT
+
+7 LE_PAIRING_MODE_SECURE_CONNECT_BIT
+)
+
+
+(
+0 FLAG_IOCAP_DISPLAYONLY
+1 FLAG_IOCAP_DISPLAYYESNO
+2 FLAG_IOCAP_KEYBOARDONLY
+3 FLAG_IOCAP_NOINPUTNOOUTPUT
+4 FLAG_IOCAP_KEYBOARDDISPLAY
+
+0x00 FLAG_OOB_DATA_FLAG_NO
+)
+
+(
+0x00 FLAG_LE_NO_BONDING_NO_MITM
+0x01 FLAG_LE_BONDING_NO_MITM
+0x04 FLAG_LE_NO_BONDING_MITM
+0x05 FLAG_LE_BONDING_MITM
+0x09 FLAG_LE_BONDING_NO_MITM_SECURE
+0x0D FLAG_LE_BONDING_MITM_SECURE
+
+2 LE_AUTH_MITM_BIT
+3 LE_AUTH_SECURE_CONNECTION_PAIRING_BIT
+)
+
+//mem_le_pairing_state
+(
+0 FLAG_LE_PAIRING_NULL
+1 FLAG_LE_PAIRING_START
+2 FLAG_LE_PAIRING_SEND_RECURITY_REQ
+3 FLAG_LE_PAIRING_RCV_PAIRING_REQ
+4 FLAG_LE_PAIRING_WAIT_STK_GENERATION
+5 FLAG_LE_PAIRING_RECEIVE_PAIRING_CONFIRM
+6 FLAG_LE_PAIRING_SEND_PAIRING_CONFIRM
+7 FLAG_LE_PAIRING_RECEIVE_PAIRING_RANDOM
+8 FLAG_LE_PAIRING_SEND_PAIRING_RANDOM
+9 FLAG_LE_PAIRING_AFTER_AUTH
+10 FLAG_LE_PAIRING_SEND_START_ENC_RSP
+11 FLAG_LE_PARING_SEND_ENC_INFORMATION
+12 FLAG_LE_PARING_SEND_MASTER_IDENTIFICATION 
+13 FLAG_LE_PARING_SEND_INDENTITY_INFORMATION
+0xff FLAG_LE_PAIRING_END
+)
+
+/* Security Manager Protocol Code */
+(
+0x01 SMP_PAIRING_REQUEST
+0x02 SMP_PAIRING_RESPONSE
+0x03 SMP_PAIRING_CONFIRM
+0x04 SMP_PAIRING_RANDOM
+0x05 SMP_PAIRING_FAILED
+0x06 SMP_ENCRYPTION_INFORMATION
+0x07 SMP_MASTER_IDENTIFICATION
+0x08 SMP_IDENTITY_INFORMATION
+0x09 SMP_IDENTITY_ADDRESS_INFORMATION
+0x0A SMP_SIGNING_INFORMATION
+0x0B SMP_SECURITY_REQUEST
+0x0c SMP_PAIRING_PUBLIC_KEY
+0x0d SMP_PAIRING_DHKEY_CHECK
+)
+
+(// pairing failed reason
+0x00 PAIRING_FAILED_RESERVED
+0X01 PAIRING_FAILED_PASSKEY_ENTRY_FAILED
+0X02 PAIRING_FAILED_OOB_NOT_AVAILABLE
+0X03 PAIRING_FAILED_AUTHENTICATION_REQUIRE
+0X04 PAIRING_FAILED_CONFIRM_VALUE_FAILED
+0X05 PAIRING_FAILED_PAIRING_NOT_SUPPORTED
+0X06 PAIRING_FAILED_ENCRYPTION_KEY_SIZE
+0X07 PAIRING_FAILED_COMMAND_NOT_SUPPORTED
+0X08 PAIRING_FAILED_UNSPECIFIED_REASON
+0X09 PAIRING_FAILED_REPEATED_ATTEMPTS
+0X0A PAIRING_FAILED_INVALID_PARAMETERS
+0X0B PAIRING_FAILED_DHKEY_CHECK_FAILED
+0X0C PAIRING_FAILED_NUMERIC_COMPARISON_FAILED
+0X0D PAIRING_FAILED_BR_EDR_PAIRING_IN_PROGRESS
+0X0E PAIRING_FAILED_KEY_DERIVATION_GENERATION_NOT_ALLOWED
+)
+
+/*LE secure connect state */
+(
+0x00 LE_SC_STAT_NULL
+0x01 LE_SC_STAT_RECEIVE_PUBLIC_KEY
+0x02 LE_SC_STAT_WAIT_SEND_PUBLIC_KEY
+0x03 LE_SC_STAT_SEND_PUBLIC_KEY
+0x04 LE_SC_STAT_RECEIVE_RANDOM
+0x05 LE_SC_STAT_SEND_RANDOM
+0x06 LE_SC_STAT_RECEIVE_DHKEY
+0x07 LE_SC_STAT_WAIT_CONFIRM_GKEY
+0x08 LE_SC_STAT_PASSKEY_WAIT_CONFIRM
+)
+
+
+(
+0 FLAG_LE_SC_CONFRIM_NULL
+1 FLAG_LE_SC_CONFRIM_GKEY_OK
+)
+
+
+
Index: format/ble_protocol_stack/le_ll.format
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/format/ble_protocol_stack/le_ll.format	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/format/ble_protocol_stack/le_ll.format	(working copy)
@@ -0,0 +1,120 @@
+xmemalloc(
+8 mem_le_local_feature
+1 mem_le_tx_phys
+1 mem_le_rx_phys
+
+2 mem_remote_rx_max_octets
+2 mem_remote_rx_max_time
+2 mem_remote_tx_max_octets
+2 mem_remote_tx_max_time
+2 mem_local_rx_max_octets
+2 mem_local_rx_max_time
+2 mem_local_tx_max_octets
+2 mem_local_tx_max_time
+
+)
+
+/* LE control packet type */
+(
+0x00 LL_CONNECTION_UPDATE_IND
+0x01 LL_CHANNEL_MAP_IND
+0x02 LL_TERMINATE_IND
+0x03 LL_ENC_REQ
+0x04 LL_ENC_RSP
+0x05 LL_START_ENC_REQ
+0x06 LL_START_ENC_RSP
+0x07 LL_UNKNOWN_RSP
+0x08 LL_FEATURE_REQ
+0x09 LL_FEATURE_RSP
+0x0A LL_PAUSE_ENC_REQ
+0x0B LL_PAUSE_ENC_RSP
+0x0C LL_VERSION_IND
+0x0D LL_REJECT_IND
+0x0E LL_SLAVE_FEATURE_REQ
+0x0F LL_CONNECTION_PARAM_REQ
+0x10 LL_CONNECTION_PARAM_RSP
+0x11 LL_REJECT_IND_EXT
+0x12 LL_PING_REQ
+0x13 LL_PING_RSP
+0x14 LL_LENGTH_REQ
+0x15 LL_LENGTH_RSP
+0x16 LL_PHY_REQ
+0x17 LL_PHY_RSP
+0x18 LL_PHY_UPDATE_IND
+0x19 LL_MIN_USED_CHANNELS_IND
+0x1A LL_CTE_REQ
+0x1B LL_CTE_RSP
+0x1C LL_PERIODIC_SYNC_IND
+0x1D LL_CLOCK_ACCURACY_REQ
+0x1E LL_CLOCK_ACCURACY_RSP
+0x1F LL_CIS_REQ
+0x20 LL_CIS_RSP
+0x21 LL_CIS_IND
+0x22 LL_CIS_TERMINATE_IND
+0x23 LL_POWER_CONTROL_REQ
+0x24 LL_POWER_CONTROL_RSP
+0x25 LL_POWER_CHANGE_IND
+)
+
+
+
+(//bit map of mem_le_ll_feature
+//LL_FEATURE_REQ
+0 BIT_LL_FEATURE_LE_ENCRYPTION
+1 BIT_LL_FEATURE_CONNECTION_PARAMETERS_REQUEST_PROCEDURE
+2 BIT_LL_FEATURE_EXTENDED_REJECT_INDICATION
+3 BIT_LL_FEATURE_SLAVE_INITIATED_FEATURES_EXCHANGE
+4 BIT_LL_FEATURE_LE_PING
+5 BIT_LL_FEATURE_LE_DATA_PACKET_LENGTH_EXTENSION
+6 BIT_LL_FEATURE_LL_PRIVACY
+7 BIT_LL_FEATURE_EXTENDED_SCANNER_FILTER_POLICIES
+8 BIT_LL_FEATURE_LE_2M_PHY
+9 BIT_LL_FEATURE_STABLE_MODULATION_INDEX_TRANSMITTER
+10 BIT_LL_FEATURE_STABLE_MODULATION_INDEX_RECEIVER
+11 BIT_LL_FEATURE_LE_CODED_PHY
+12 BIT_LL_FEATURE_LE_EXTENDED_ADVERTISING
+13 BIT_LL_FEATURE_LE_PERIODIC_ADVERTISING
+14 BIT_LL_FEATURE_CHANNEL_SELECTION_ALGORITHM
+15 BIT_LL_FEATURE_LE_POWER_CLASS_1
+16 BIT_LL_FEATURE_MINIMUM_NUMBER_OF_USED_CHANNELS_PROCEDURE
+)
+(//function map of mem_le_ll_feature
+//LL_FEATURE_REQ
+0x1 FUN_LL_FEATURE_LE_ENCRYPTION
+0x2 FUN_LL_FEATURE_CONNECTION_PARAMETERS_REQUEST_PROCEDURE
+0x4 FUN_LL_FEATURE_EXTENDED_REJECT_INDICATION
+0x8 FUN_LL_FEATURE_SLAVE_INITIATED_FEATURES_EXCHANGE
+0x10 FUN_LL_FEATURE_LE_PING
+0x20 FUN_LL_FEATURE_LE_DATA_PACKET_LENGTH_EXTENSION
+0x40 FUN_LL_FEATURE_LL_PRIVACY
+0x80 FUN_LL_FEATURE_EXTENDED_SCANNER_FILTER_POLICIES
+0x100 FUN_LL_FEATURE_LE_2M_PHY
+0x200 FUN_LL_FEATURE_STABLE_MODULATION_INDEX_TRANSMITTER
+0x400 FUN_LL_FEATURE_STABLE_MODULATION_INDEX_RECEIVER
+0x800 FUN_LL_FEATURE_LE_CODED_PHY
+0x1000 FUN_LL_FEATURE_LE_EXTENDED_ADVERTISING
+0x2000 FUN_LL_FEATURE_LE_PERIODIC_ADVERTISING
+0x4000 FUN_LL_FEATURE_CHANNEL_SELECTION_ALGORITHM
+0x8000 FUN_LL_FEATURE_LE_POWER_CLASS_1
+0x10000 FUN_LL_FEATURE_MINIMUM_NUMBER_OF_USED_CHANNELS_PROCEDURE
+)
+
+(//bit of mem_le_tx_phys and mem_le_rx_phys
+0x00 BIT_LE_1M_PHY
+0x01 BIT_LE_2M_PHY
+0x02 BIT_LE_CODED_PHY
+
+0x02 BIT_LE_CODED_PHY_S2
+0x07 BIT_LE_CODED_PHY_S8
+)
+
+(//map of mem_le_tx_phys and mem_le_rx_phys
+0x01 FUN_TX_LL_1M_PHY
+0x02 FUN_TX_LL_2M_PHY
+0x04 FUN_TX_LL_CODED_PHY
+
+0x01 FUN_RX_LL_1M_PHY
+0x02 FUN_RX_LL_2M_PHY
+0x04 FUN_RX_LL_CODED_PHY
+)
+
Index: format/bt.format
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/format/bt.format	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/format/bt.format	(working copy)
@@ -0,0 +1,1095 @@
+
+	width = 32
+	const length = 12000
+
+	/* ========= memory ============== */
+memalloc(
+/* 00-0f most frequently used area  */
+1 mem_le_adv_transmit
+1 mem_le_adv_waitcnt
+1 mem_le_adv_rcv
+1 mem_le_req_rcv
+1 mem_le_scanrsp_rcv
+1 mem_le_conn_rcv
+
+1 mem_inquiryscan_waitcnt
+1 mem_inquiryscan_rcvcnt
+1 mem_pagescan_waitcnt
+1 mem_pagescan_rcvcnt
+1 mem_pagescan_rcvfhscnt
+1 mem_slave_rcvcnt
+1 mem_page_transmit
+1 mem_page_rcv
+1 mem_page_rcv_fhs
+1 mem_master_rcvcnt
+
+/* 10-1f debug area */
+1 mem_fhs_wait_counter
+1 mem_newconnto_counter
+1 mem_inquiry_transmit
+1 mem_inquiry_rcv
+1 mem_fw_ver
+1 mem_current_context
+1 mem_le_ch_mapped
+1 mem_last_freq
+1 mem_rssi
+1 mem_rx_type
+2 mem_rx_hec_err
+2 mem_rx_crc_err
+2 mem_context_ptr
+8 mem_display
+8 mem_bcd
+
+		/* context swappable area */
+1 mem_state
+1 mem_mode
+2 mem_tsniff
+4 mem_sniff_anchor
+6 mem_clk_offset
+2 mem_rx_window
+3 mem_plap
+1 mem_puap
+2 mem_pnap
+1 mem_conn_handle
+1 mem_arq
+1 mem_lmp_to_send
+1 mem_lmi_opcode
+1 mem_lmo_reason
+1 mem_op
+1 mem_state_map
+4 mem_supervision_timer
+2 mem_supervision_to
+1 mem_name_offset
+1 mem_key_size
+1 mem_conn_sm
+12 mem_aco
+16 mem_kc
+1 mem_conn_timer
+1 mem_sniff_attempt
+1 mem_sniff_timeout
+2 mem_dsniff
+1 mem_amaddr
+1 mem_lmo_opcode1
+1 mem_lmi_opcode1
+1 mem_lmo_reason1
+1 mem_lmo_tid1
+1 mem_lmo_opcode2
+1 mem_lmi_opcode2
+1 mem_lmo_reason2
+1 mem_lmo_tid2
+8 mem_bt_context_reserve
+	/*context ending*/
+
+/*above param can not be modified*/
+
+1 mem_current_sniff_attempt
+1 mem_current_sniff_timeout
+1 mem_nfreq_index_inq
+1 mem_nfreq_index_page
+1 mem_ninqy_index
+1 mem_fhs_misc
+
+
+
+/* lpo related */
+4 mem_subsniff_instant
+1 mem_subsniff_rate
+2 mem_subsniff_tcmax
+1 mem_subsniff_tsniff
+1 mem_lpm_adjust
+6 mem_sync_clke
+1 mem_lpm_current_mult
+4 mem_gpio_wakeup_low
+4 mem_gpio_wakeup_high
+
+
+//page
+1 mem_npage_index
+1 mem_page_mode
+4 mem_page_clk
+
+
+
+/*temp mem*/
+1 mem_temp_am_addr
+1 mem_temp_arq
+
+//
+2 mem_len
+4 mem_clkn_bt
+4 mem_clke_bt
+4 mem_dpll_clkn
+1 mem_connection_options
+
+1 mem_nameres_cnt
+2 mem_txptr
+2 mem_slot_offset
+
+//extm
+1 extm_fhs_misc
+1 extm_newconn_am_addr
+3 extm_class
+3 extm_lap
+1 extm_uap
+3 extm_nap
+
+21 mem_rxbuf
+
+//debug
+1 mem_debug_config
+1 mem_lch_code
+1 mem_fhs_am_addr
+1 mem_select_list_item
+0 mem_temp_reconn_record
+1 mem_record_bt_mode
+6 mem_temp_lap
+2 mem_list_item_ptr
+
+100 mem_eir
+1 mem_rssi_hex
+
+
+2 mem_param_tx_setup
+2 mem_param_rf_setup
+2 mem_param_conn_access
+2 mem_param_clke_cal
+2 mem_param_pll_setup
+2 mem_param_rx_setup
+2 mem_param_dpll_start_delay
+2 mem_param_rt_rthalfslot
+2 mem_param_clke_cal_le_1m
+2 mem_param_clke_cal_le_2m
+2 mem_param_clke_cal_le_coded
+
+)
+
+memalloc iqcal (
+2 mem_vdk
+4 mem_vok
+6 mem_omega
+4 mem_b1
+4 mem_b2
+16 mem_u1
+16 mem_u2
+16 mem_q
+)
+
+memalloc test (
+/* test related */
+2 mem_tst_pktcnt_sync
+2 mem_tst_pktcnt_hec
+2 mem_tst_pktcnt_crc
+2 mem_tst_pktcnt_dmh
+3 mem_tmp_buffer_head
+80 mem_tmp_buffer
+
+
+1 mem_tester_emulate
+0 mem_temp_payload
+1 test_mode_scenario
+1 test_mode_hopping_mode
+1 test_mode_tx_freq
+1 test_mode_rx_freq
+1 test_mode_power_mode
+1 test_mode_poll_period
+1 test_mode_packet_type
+2 test_mode_data_length
+1 mem_test_mode_old_debug_config
+1 mem_tester_cnt
+
+)
+
+
+xmemalloc(
+/* patch enable 0x4000-0x403f  */
+
+1 mem_patch00
+1 mem_patch01
+1 mem_patch02
+1 mem_patch03
+1 mem_patch04
+1 mem_patch05
+1 mem_patch06
+1 mem_patch07
+1 mem_patch08
+1 mem_patch09
+1 mem_patch0a
+1 mem_patch0b
+1 mem_patch0c
+1 mem_patch0d
+1 mem_patch0e
+1 mem_patch0f
+1 mem_patch10
+1 mem_patch11
+1 mem_patch12
+1 mem_patch13
+1 mem_patch14
+1 mem_patch15
+1 mem_patch16
+1 mem_patch17
+1 mem_patch18
+1 mem_patch19
+1 mem_patch1a
+1 mem_patch1b
+1 mem_patch1c
+1 mem_patch1d
+1 mem_patch1e
+1 mem_patch1f
+1 mem_patch20
+1 mem_patch21
+1 mem_patch22
+1 mem_patch23
+1 mem_patch24
+1 mem_patch25
+1 mem_patch26
+1 mem_patch27
+1 mem_patch28
+1 mem_patch29
+1 mem_patch2a
+1 mem_patch2b
+1 mem_patch2c
+1 mem_patch2d
+1 mem_patch2e
+1 mem_patch2f
+1 mem_patch30
+1 mem_patch31
+1 mem_patch32
+1 mem_patch33
+1 mem_patch34
+1 mem_patch35
+1 mem_patch36
+1 mem_patch37
+1 mem_patch38
+1 mem_patch39
+1 mem_patch3a
+1 mem_patch3b
+1 mem_patch3c
+1 mem_patch3d
+1 mem_patch3e
+1 mem_patch3f
+
+	/* 3 device contexts  */
+88 mem_context
+1 mem_current_amaddr
+1 mem_lpm_mode
+1 mem_device_option
+1 mem_scan_mode
+4 mem_last_clkn
+
+	/* parameters */
+8 mem_features
+3 mem_lap
+1 mem_uap
+2 mem_nap
+1 mem_npage
+3 mem_glap
+3 mem_class
+2 mem_iscan_window
+2 mem_iscan_interval
+2 mem_pscan_window
+2 mem_pscan_interval
+2 mem_page_interval
+2 mem_page_window
+2 mem_page_to
+2 mem_inq_window
+1 mem_fcomp_div
+2 mem_rx_window_init
+2 mem_rx_window_sniff
+2 mem_rf_init_ptr
+
+	/* connection related */
+1 mem_last_type
+1 mem_last_type_esco
+1 mem_last_type_saved
+2 mem_retransmission_cnt
+4 mem_next_btclk
+
+1 mem_rf_rccal
+1 mem_handle_num
+1 mem_max_slot
+1 mem_eir_enable
+
+/* AFH related */
+4 mem_afh_instant
+2 mem_afh_error_total
+1 mem_afh_cfg
+1 mem_afh_new_mod
+5 mem_afh_map_lo
+5 mem_afh_map_hi
+1 mem_afh_used
+2 mem_afh_index
+11 mem_afh_map_new
+80 mem_afh_map
+4 mem_afh_timer
+10 mem_afh_classify_channel_map
+
+
+	/* lpm related */
+2 mem_lpm_wake_lock
+2 mem_lpm_interval
+1 mem_lpm_overhead
+1 mem_lpm_hibernate_switch
+1 mem_esco_addr
+1 mem_sniff_unint_lost
+1 mem_ptt
+4 mem_sleep_counter   //should be 0x41fc in REVC
+4 mem_sleep_counter_all
+6 mem_sleep_clkn
+3 mem_sniff_rcv
+3 mem_sniff_lost
+3 mem_clks_per_lpo
+
+1 mem_lpm_mult
+1 mem_lpm_mult_timeout
+1 mem_lpm_mult_cnt
+
+/* 8139-813b lpm_ctrl[31:12] */
+0 mem_lpm_config				
+1 mem_lpm_xtal_ib
+1 mem_lpm_ctrim
+1 mem_lpm_padding
+
+1 mem_lpm_xtalcnt
+1 mem_lpm_buckcnt
+1 mem_lpm_ldocnt
+1 mem_lpm_isogate
+1 mem_lpm_isogate_final
+4 mem_lpm_ctrl3
+20 mem_saved_gpio	// should be 0x421e in REVC
+3 mem_saved_gsel
+8 mem_saved_mark
+1 mem_saved_spidctrl
+2 mem_patch_ptr
+2 mem_patch_len
+
+32 mem_timers
+
+/*LINK KEY*/
+1 mem_link_key_exists
+16 mem_link_key
+
+
+/* HCI */
+1 mem_hci_cmd
+1 mem_hci_conn_handle
+3 mem_hci_plap
+1 mem_hci_puap
+2 mem_hci_pnap
+
+
+1 mem_loadcode_times
+1 mem_llid
+
+1 mem_tx_lch
+2 mem_tx_len
+
+1 mem_tx_power
+1 mem_modem_rssi
+1 mem_gain_fix
+3 mem_gain_table
+1 mem_gain_second_agc_en
+
+ifdef DEBUG_RF_INIT
+1 mem_rf_init_data
+endif
+1 mem_system_clk
+)
+
+(//mem_system_clk
+12 SYSTEM_CLK_12M
+24 SYSTEM_CLK_24M
+)
+
+(//bluetooth tx power
+0x00 TX_POWER_0DB
+0x03 TX_POWER_3DB
+0x05 TX_POWER_5DB
+0x06 TX_POWER_6DB
+0x07 TX_POWER_7DB
+0x0a TX_POWER_10DB
+
+0x83 TX_POWER_F3DB
+0x85 TX_POWER_F5DB
+0x94 TX_POWER_F20DB
+0x9e TX_POWER_F30DB
+)
+
+
+	/* context */
+(
+0x01 coffset_mode
+0x02 coffset_tsniff
+0x04 coffset_sniff_anchor
+0x08 coffset_clk_offset
+0x0e coffset_rx_window
+0x10 coffset_plap
+0x16 coffset_conn_handle
+0x17 coffset_arq
+	/* 3.0 only */
+0x18 coffset_lmp_to_send
+0x1b coffset_op
+0x1c coffset_state_map
+	/* le only */
+0x18 coffset_le_ch
+0x19 coffset_le_hop
+0x1a coffset_le_event_cnt
+0x1c coffset_le_supervision_timer
+0x20 coffset_le_instant
+0x22 coffset_le_channels
+0x23 coffset_le_op
+0x24 coffset_le_access
+0x28 coffset_le_crcinit
+0x2b coffset_le_window_size
+0x2c coffset_le_slave_latency
+0x2e coffset_le_slave_superto
+0x30 coffset_le_channel_map
+0x35 coffset_le_rx_phy
+0x36 coffset_le_tx_phy
+0x37 coffset_le_new_map
+0x37 coffset_le_new_m2s_phy
+0x38 coffset_le_new_s2m_phy
+0x37 coffest_le_new_transmitwindowsize
+0x38 coffest_le_new_transmitwindowoffset
+0x3a coffest_le_new_conninterval
+0x3c coffest_le_new_connslavelatency
+0x3e coffest_le_new_connsupervisiontimeout
+0x40 coffset_le_sk
+0x50 coffset_le_peer_sca
+0x53 coffset_le_transmit_window
+	
+88 context_size
+1 context_num
+)
+
+(
+0 lpm_flag_wake
+1 lpm_flag_loadcode
+)
+
+/* ========= parameters ============== */
+(
+0x0050 param_newconn_arq
+0x0007 param_esco_addr
+0x0010 param_conn_handle
+0x01f0 param_conn_handle_comp
+0x0020 param_newconnto
+0x0008 param_pagerespto
+0x0a00 param_snooze_setup_orig
+0x5353 param_snooze_ahead_orig
+0x00ff param_ninquiry
+0x2000 param_page_to
+0x0005 param_max_slot
+0x0010 param_sco_poll
+
+/* 24Mhz clock setting */
+ifdef CLK24M
+0x1c86 param_tx_setup
+0x0c00 param_rf_setup
+0x0c00 param_conn_access 
+0x1a00 param_rx_setup
+0x0776 param_clke_cal
+0x0a00 param_pll_setup
+4000 param_dpll_start_delay
+7500 param_halfclk
+60084 param_halfclk_neg
+-60084 param_halfclk_neg1
+else
+/* 12Mhz clock setting */
+0x0e43 param_tx_setup
+0x0600 param_rf_setup
+0x0600 param_conn_access 
+0x03bb param_clke_cal
+0x0500 param_pll_setup		// 120 is minimum
+0x0d00 param_rx_setup	// 114us before sync
+2000 param_dpll_start_delay
+3750 param_rt_rthalfslot
+
+480 param_clke_cal_le_1m	//preamble(1B) & access address(4B) time (1+4)*8*1 * 12
+288 	param_clke_cal_le_2m	//preamble(2B) & access address(4B) time (1+4)*8*1 * 12
+282 param_clke_cal_le_coded	//preamble(80us) & access address(256us)-312.5us(0.5slot)
+endif
+
+110 param_lpm_fix
+10 param_lpo_extra
+200 param_lpm_adjmax
+
+ifdef SIM
+20 param_hibernate_clks
+3 param_chgpump_delay
+else
+-1 param_hibernate_clks
+3000 param_chgpump_delay
+endif
+
+3 param_featrue_ssp
+0x0101 param_lmpext_ssp_enable
+30   param_sco_pktlen
+1     param_acl_pktcnt		/*buffer acl pkt cnt*/
+7     param_sco_pktcnt
+
+
+0x8fffff param_features0
+0x9d83fe param_features1  // not support afh
+0x8359     param_features2
+0x000033 param_unap
+0x001177 param_lap
+0x9e8b33 param_glap
+0x002540 param_class//0x180208 //0x002580//402500//240404
+0x000a04 param_lmp_version//0x0a04
+0x000a06 param_lmp_version0
+0x12e9 param_lmp_subversion
+0x0012 param_tisw
+0x0012 param_tpsw
+0x1000 param_tisi
+0x0800 param_tpsi
+0x0020 param_page_window
+0x0020 param_inq_window
+0x1c80 param_supervision_to
+39 param_fcomp_div
+2 param_fcomp_mul
+6     param_name_len
+0x535442 param_name
+0x344950 param_name1
+
+
+)
+
+/* ======= packet types  ========= */
+(
+0x0      type_null    
+0x1      type_poll   
+0x2      type_fhs    
+0x3      type_dm1    
+0x4      type_dh1    
+0x5      type_hv1    
+0x6      type_hv2    
+0x7      type_hv3    
+0x8      type_3dh1     
+0x9      type_aux1   
+0xa      type_dm3    
+0xb      type_dh3    
+0xe      type_dm5    
+0xf      type_dh5    
+0x10     type_id
+0x11     type_shutdown
+0x13     type_lmp
+)
+
+/* ========== flag[6] =============== */
+(
+0        always        /* always 1 */
+1        true          /* set/rstn by verify,compare,icompare (true) */
+2        positive      /* set/rstn by all alu operations (opcode = 0x03,0x13,0x0f,0x1f), if alu output >= 0 */
+3        timeout       /* read only, the timeout from timers */
+5        zero          /* set/rstn by all alu operations (opcode = 0x03,0x13,0x0f,0x1f), if alu output == 0 */
+6        crc_failed    /* level, cleared by hop_start */
+7        enable_white  /* outside mux decide whether to load bt_clk or response_X */
+8        enable_parity /* level */
+9        enable_crc    /* level */
+10       enable_hec    /* level */
+11       decode_fec1   /* level */
+12       decode_fec2   /* level */
+13       decode_fec0   /* level */
+14       encrypt       /* level */
+15       crc16       /* for caculate ccitt crc16 */
+16       swfine	/* =0 stop_watch count based on oneslot =1 on 1 clock */
+20       rqst_freq    /* pulse, to start calculating frequency */
+21       recalc        /* pulse, to recalculate the fhs_parity */
+22       init_encrypt  /* pulse, issued to initialize encrption */
+23       mhalfbnd    /* half slot boundary of clke_rt, or when clke_bt[0] toggles */
+24       sync          /* sync found as a result of correlation,set/rstn by correlate opcode */
+25       user10    /* user10 */
+26       kc_p_activate  /* pulse to recalc the kc_p */
+27       encode_fec1   /* level */
+28       encode_fec2   /* level */
+29       encode_fec0   /* level */
+30       packet_end    /* pulse */
+32       is_tx         /* level */
+33       is_rx         /* level */
+34       halfslot     /* pulse, read only, when clkn_bt[0] toggles */
+35       oneslot      /* pulse, read only, when clkn_bt[1] toggles */
+36       mslotbnd     /* pulse, read only, when clke_bt[1] toggles */
+37       expire       /* level, read only, when selected clock source exceed timeup value */
+38       meet         /* level, read only, when selected clock source meet timeup value */
+39       tx_clear     /* level, read only, indicate tx pipe is cleared */
+40       user         /* user0 */
+41       master        /* user1 */
+42       slave2         /* user2 */
+43       wake           /* user3 */
+44       user2        /* user4 */
+45       match         /* user5 */
+46       attempt        /* user6 */
+47       user3          /* user7 */
+48       clknt         /* user8 */
+49	   user7 	/* user9 */
+50       synchronize   /* synchronize lpo and regular version of the clock */
+51       lpo_edge  /* read only, 3 clocks after risling edge of lpo clock */
+52       blank         /* C0 only, means pdata == 0 */
+53       modone          /* set divide operation is done */
+54       le		/* bluetooth 4.0 LE enable */
+55       aes_ready	/* set when aes is ok */
+56       encode_fec3   /* level */
+57       dewhiten_code_calc   /* dewhiten code calculate */
+58       lr_s2en       /* long range s2 enable */
+60	   ble_coded_info	//1:s2 0:s8
+63       never         /* read only, always 0 */
+)
+
+default flag = always
+
+/* ========== reg[6] =============== */
+(
+0        mark   /* for keeping strobes, more permanent */
+1        type   /* save and verify during rx */     /* rw */
+2        temp   /* general purpose register, 64 bits */
+3        contu  /* contr uart */
+3	 contru	/*contr uart*/
+3	 contwu	/*contw uart*/
+4        am_addr      /* verify during rx, read and send during tx */ /* ro */
+5        contw        /* last mem_addr during write */
+6        contr        /* last mem_addr during read */
+7        queue    /* the index of qset*,qisolate* commands, ie, if queue = 3, qset/qisolate operate on bit3 */
+8        debug    /* can be wired out for observation */
+9        access   /* the 72 bit access word */
+10       contus   /* contw uart */
+11       timeup        /* when does certain counter expire */
+12       pwindow       /* bit 71-61 of pdata; because on rx, bits shifts in from 71 down */
+13       fhs_parity    /* re-gernated based on bt_adr( {nap,uap,lap} ) when recalc flag is pulsed */
+14       white_init    /* init value of the whitening */
+15       crc24_init        /* init crc24 lfsr, 24 bits */
+16       contue    /* set interrupts, 40 bits */
+17       rega          /* general purpose register, 32 bits */
+18       regb          /* general purpose register, 32 bits */
+19       regc          /* general purpose register, 17 bits */
+20       regab         /* concat of {rega,regb}, thus 64 bits */
+21       radio_ctrl   /* radio i/f direct i/o ctrl, check following "radio_ctrl" section */
+
+23       freq_index   /* 7 bit read only */
+24       regd    /* 32 bit regext[1,0] */
+25       clkn              /* {clkn_bt, clkn_rt} */
+26       clke              /* {clke_bt, clke_rt} */
+27       stop_watch		
+28       fhs_misc   /* SR, SP, pscan mode */
+29       fhs_class  /* class field in fhs */
+30       fhs0   /* read only, bit 0-71 of fhs word */
+31       fhs1   /* read only, bit 72-142 of fhs word */
+32       bt_adr /* r/w, the bt_addr to access gen and freq hopping, contain only lap and uap */
+33       bt_clk /* r/w, the bt_clk for freq hopping */
+34       clkn_bt  /* read only, native bluetooth clock, free running 3.2KHz  or controlled by RTHALFSLOT register */
+35       clkn_rt  /* read only, native realtime clock, free running 12MHz, count from 0-3749, or controlled by RTHALFSLOT register */
+36       freq_mode
+37       xin   /* x parameter, read only */
+38       N_tx_slot /* the N factor in equations for Xi,Xp,Xprm,Xprs */
+39 	   auxcnt
+40       clke_bt  /* r/w,  external bluetooth clock , free running 3.2KHz or controlled by RTHALFSLOT register */
+41       clke_rt  /* r/w,  external realtime clock, , free running 12MHz, count from 0-3749, or controlled by RTHALFSLOT register */
+42       branch_addr	/* last branch address */
+43       rege         /* 64bit regext[3,2] */
+44       lap
+45       uap
+46       nap         
+47       regext		/* r/w extended 12x32bit registers,  indexed by regext_index */
+48       alarm             /* r/w, lpo wake up time, this is also how lpo and current clock keep sync */
+49       lpo_time          /* read only, this is the value to be copied back to clkn/clke after wakeup */
+50       kc_ls             /* secret key,                71: 0 */
+51       kc_ms             /* secret key,               127:72 */
+52       g1l               /* encryption length                */
+53		mask3ff		/* for mask 0x3ff operation */
+54       aes_ctrl		
+55       regf			/* 64bit regext[5,4] */
+56       regext_index   /* index of regext */
+57	     loopcnt
+58      stack			/* current return address */
+59       stack_ptr		/* stack depth */
+61         pc /* direct goto */
+62       null              /* to nowhere */
+63       pdata /* the shift register */
+)
+default reg = pdata
+
+/* regext_index */
+(
+0 regidx_data
+4 regidx_key
+8 regidx_xor
+12 regidx_result
+)
+/* ========== radio_ctrl========= */
+(
+0 TXGFSK
+1 PSK
+2 PSK3M
+3 RESET
+)
+/* assign BPWR = radio_ctrl[0]; */
+/* assign PARAMP = radio_ctrl[1]; */
+/* assign XTALPU = radio_ctrl[2]; */
+/* assign SYNTHPU = radio_ctrl[3]; */
+/* assign TXPU = radio_ctrl[4]; */
+/* assign RXPU = radio_ctrl[5]; */
+/* assign SLCTRL = radio_ctrl[6]; */
+/* assign XTALSEL_MUX_SEL = radio_ctrl[7] */
+
+
+/* =========== destination[4] ============== */
+(
+0 bucket
+1 rxf
+2 back
+3 mod
+)
+default dest = bucket
+
+/* =========== source[4] ============= */
+(
+1 txf
+3 demod
+)
+default source = 0
+
+
+/* ============== mark ============= */
+(
+0  mark_fhs_eir  
+1  mark_rxbuf_inuse
+2  mark_tx_l2cap
+3  mark_switch_initiated
+4  mark_accept_switch
+5  mark_loopback
+7  mark_esco
+8  mark_esco_rxok
+9  mark_context
+10 mark_am_addr_broadcast
+11 mark_fhs_already_good
+12 mark_page_trainb
+13 mark_lpm_mult_enable
+14 mark_usb_first_resp
+15 mark_old_packet
+16 mark_longpacket
+17 mark_testmode
+18 mark_ar2
+28 mark_inquiry_on
+29 mark_inquiry_state
+30 mark_inquiry_trainb
+31 mark_periodical_diac
+32 mark_all_diac
+33 mark_slave_in_rand_accepted
+34 mark_reconn_recieve_switch
+35 mark_isstr
+36 mark_loadcode
+37 mark_ext_patch
+38 mark_24g
+39 mark_24g_rxmode
+40 mark_eeprom_size
+41 mark_ble_tx_md
+42 mark_ble_rx_md
+43 mark_otp_encrypt
+44 mark_temp
+45 mark_ble_2M
+46 mark_ble_lr_s8
+47 mark_ble_lr
+48 mark_ble_crc_fail
+49 mark_role_switch_receive_fhs
+50 mark_ble_encryption
+51 mark_first_packet
+)
+
+(
+1 reload_type_otp
+2 reload_type_spi
+3 reload_type_iic
+)
+
+
+/* ============== soft timers ============== */
+(
+0 le_adv_interval_timer
+1 inquiry_length_timer
+2 le_scan_interval_timer
+3 page_length_timer
+4 iscan_interval_timer
+5 pscan_interval_timer
+6 switch_wait_timer
+7 enpt_delay_timer
+8 page_interval_timer
+9 key_scan_timer
+10 smp_pairing_timer
+11  ui_led_blink   //led timer 可扩展
+12  ui_led_blink1
+13 ui_led_blink2
+
+//不使用mesh应用可以复用
+//Tiny Mesh 广播APP回复
+13 mesh_ble_adv_app
+//Tiny Mesh广播tmall回复
+14 mesh_ble_adv_tmall
+//Tiny Mesh relay
+15 mesh_ble_relay_timer
+
+)
+
+(
+1 hci_cmd_inquiry
+2 hci_cmd_inquiry_cancel
+3 hci_cmd_remote_name_req
+4 hci_cmd_remote_feature_req
+5 hci_cmd_create_conn
+6 hci_cmd_disconn
+7 hci_cmd_accept_conn
+8 hci_cmd_reject_conn
+9 hci_cmd_pair
+10 hci_cmd_nopair
+11 hci_cmd_linkkey
+12 hci_cmd_nokey
+13 hci_cmd_auth
+14 hci_cmd_stopencrypt
+15 hci_cmd_startencrypt
+16 hci_cmd_setup_sco
+17 hci_cmd_disconn_sco
+18 hci_cmd_in_sniff
+19 hci_cmd_exit_sniff
+20 hci_cmd_remote_version_req
+21 hci_cmd_remote_ext_features_req
+22 hci_cmd_io_cap
+23 hci_cmd_role_discovery
+24 hci_cmd_role_switch
+25 hci_cmd_accept_with_switch
+26 hci_cmd_detach
+27 hci_cmd_le_create_conn
+28 hci_cmd_accept_sco_conn
+29 hci_cmd_le_disconn
+30 hci_cmd_le_att_req
+80 hci_cmd_wait_remote_feature
+81 hci_cmd_wait_remote_ext_feature
+82 hci_cmd_wait_remote_name
+)
+
+
+
+/* ============== debug ============= */
+(
+0 debug_neg_skew
+1 debug_bitbucket
+2 debug_dont_clear_got_tx
+3 debug_scatter_enabled
+4 debug_tx_fixed_freq
+5 debug_rx_fixed_freq
+6 debug_tx_pattern
+)
+
+/* ============== tester_emulator ============= */
+(
+0 tester_fixed_flow
+1 tester_fixed_flow_polarity
+2 tester_change
+3 tester_exit
+4 tester_pattern_test
+5 tester_whitening_change
+6 tester_fixed_freq
+7 tester_no_whitening
+)
+
+/* ============== mode ==========*/
+(
+0 mode_le
+1 mode_master
+2 afh_enable
+3 afh_change
+4 first_seqnx
+)
+
+/* ============== state_map ==========*/
+(
+0 smap_lmptidinit
+1 smap_lmptid
+2 smap_encryption
+3 smap_name_res
+4 smap_name_req
+5 smap_edr
+6 smap_rxlmp
+7 smap_rxl2cap
+)
+(
+0 state_inconn
+1 state_insniff
+2 state_insco 
+3 state_inpage
+4 state_conn_comp
+5 state_init_seq
+6 state_combkey
+7 state_linkkey
+)
+(
+0 op_send_sres
+1 op_auth_req
+2 op_inrand_req
+3 op_disconn
+4 op_stop_enc
+5 op_start_enc
+6 op_txl2cap
+7 op_pkt_comp
+)
+
+
+/* ============== arq [3] ================ */
+(
+0 flow
+1 arqn
+2 seqn
+3 wack
+4 flowx              /* out */  /* not really in memory */
+5 arqnx              /* out */
+6 seqnx              /* out */
+7 bcast1             /* first broadcast received */
+)
+
+/* arq          {flow,arqn,seqn}, read/write */
+/* [0] flow r/w  acl full status of the other, store during rx, checked during tx */
+/* [1] arqn r/w  ack of the other during rx (ack tx fifo),                        */
+/* [2] seqn r/w  seqn of the other, check during rx                               */ 
+/* arqx         {flowx,arqnx,seqnx} */
+/* [0] flowx r/o flow back to the other, 1 alow send, 0 not to send, read only tx */
+/* [1] arqnx r/w ack to the other, set by rx, send back on tx                     */
+/* [2] seqnx r/w toggled by arqn, to be send during tx                            */ 
+
+ 
+/* AFH flags */
+(
+0 AFH_CFG_ON
+1 AFH_CFG_TIMER
+2 send_lmp_set_afh
+3 AFH_CFG_REPORT_MODE
+4 AFH_CFG_MASTER_SENT_REQ
+)
+
+/* LLID CODE */
+(	
+1 LLID_L2CAP_CONT
+2 LLID_L2CAP_START
+3 LLID_LMP
+)
+
+/* ============== master_state ==========*/
+(
+0  master_in_idle
+1  master_in_inquiry
+2  master_in_page
+10 master_in_becoming_slave
+15 master_in_conn
+)
+(
+0 newrev_feature_bettx
+1 newrev_feature_betplltx
+2 newrev_feature_skip_retransmit
+3 newrev_feature_init_radio_after_sleep
+4 newrev_feature_no_lpolog
+)
+/*************mem_pincode_state****************/
+(
+0 pincode_state_ilde
+1 pincode_state_wait_pincode
+2 pincode_state_pincode_ready
+)
+
+
+// lpm_write
+(
+1 lpmreg_sel_ctrl
+2 lpmreg_sel_ctrl2
+4 lpmreg_sel_gpiolow
+8 lpmreg_sel_gpiohigh
+16 lpmreg_sel_counter
+32 lpmreg_sel_ctrl3
+)
+
+// lpm_write2
+(
+0x02 lpmreg_sel_option
+)
+
+(
+8 lpmreg_spi_lock_bit
+9 lpmreg_spi2_lock_bit
+0x0a lpmreg_uart_lock_bit
+0x0b lpmreg_uartb_lock_bit
+0x0c lpmreg_iic_lock_bit
+0x0d lpmreg_rom_lock_bit
+0x0e lpmreg_ice_mode_bit
+
+0x01 lpmreg_spi_lock
+0x02 lpmreg_spi2_lock
+0x04 lpmreg_uart_lock
+0x08 lpmreg_uartb_lock
+0x10 lpmreg_iic_lock
+0x20 lpmreg_rom_lock
+0x40 lpmreg_ice_mode
+)
+
+
+
+//scan_mode
+(
+0 inq_scan_mode
+1 page_scan_mode
+2 page_inq_enable
+)
+//mem_neogotiation_state
+(
+ 0 default_neogotiation_state
+ 1 prarm_neogotiation
+)
+
+//mem_lpm_wake_lock
+(
+0 wake_lock_ble_rx
+1 wake_lock_ble_tx
+
+3 wake_lock_key_press
+4 wake_lock_ble_tx_patch
+5 wake_lock_uart_tx
+6 wake_lock_uart_rx
+7 wake_lock_button
+8 wake_lock_cmd
+9 wake_lock_app
+10 wake_lock_lmp_tx
+11 wake_lock_lmp_rx
+12 wake_lock_l2cap_tx
+13 wake_lock_l2cap_rx
+14 wake_lock_ipc_c512bt
+15 wake_lock_ipc_bt2c51
+
+)
+
+(//mem_fcomp_div
+0x18 XTAL_24M
+0x08 XTAL_16M
+)
+
+( //verion
+6 BLUETOOTH_CORE_SPECIFICATION_4_0
+7 BLUETOOTH_CORE_SPECIFICATION_4_1
+8 BLUETOOTH_CORE_SPECIFICATION_4_2
+9 BLUETOOTH_CORE_SPECIFICATION_5_0
+10 BLUETOOTH_CORE_SPECIFICATION_5_1
+)
+
+(
+0x050e COMPANY_ID_YICHIP
+)
+
+(
+0x33  REC_3_MODE
+0x34  REC_4_MODE
+0x35  REC_4_MODE_STATIC_ADDRESS
+0x36  REC_4_MODE_RANDOM_RESOLVABLE_PRIVATE_ADDRESS
+0x37  REC_4_MODE_RANDOM_NON_RESOLVABLE_PRIVATE_ADDRESS
+)
+
+
+//sniff UART_TX UART_RX
+(
+6 UART_WAKEUP_TX
+7 UART_WAKEUP_RX
+)
+
+
Index: format/command.format
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/format/command.format	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/format/command.format	(working copy)
@@ -0,0 +1,1379 @@
+
+/* Parse Command:
+TX: take bits from tx fifo, jam it into shift and a destination (rf,bucket)
+RX: take bits from demod,  jam it into shift and a destination (acl,sco,bucket) */
+
+/* Inject Command:
+TX: 0 into shift, send tail of shift into a destination (rf,bucket)
+RX: 0 into shift, send tail of shift into a destination (acl,sco,bucket) */
+
+format
+  ! 15 romdat
+  % d0
+  % d1
+  % d2
+  % d3
+  [8] d0
+  [8] d1
+  [8] d2
+  [8] d3
+end
+
+format
+  ! 15 enable   /* set flag to 1 */
+  % flag
+  [5] opcode
+  [6] 1
+  [6] flag
+  [6] null
+  [9] 0
+end
+ /* High 5 bytes of channel map */
+format
+  ! 15 pulse   /* set flag to 1 */
+  % flag
+  [5] opcode
+  [6] 1
+  [6] flag
+  [6] null
+  [9] 0
+end
+
+format
+  ! 15 disable   /* set flag to 0 */
+  % flag
+  [5] opcode
+  [6] 2
+  [6] flag
+  [6] null
+  [9] 0
+end
+
+format
+  ! 15 set0  /* set selected bit of reg to 0 */
+  % immediate
+  % reg
+  [5] opcode
+  [6] 9
+  [6] never
+  [6] reg
+  [9] immediate
+end
+
+format
+  ! 15 set1  /* set selected bit of reg to 1 */
+  % immediate
+  % reg
+  [5] opcode
+  [6] 9          /* alu op demux */
+  [6] always
+  [6] reg
+  [9] immediate
+end
+
+format
+  ! 15 setflag  /* set selected bit of the reg to the polarity of the flag */
+  % flag
+  % immediate
+  % reg
+  [5] opcode
+  [6] 9
+  [6] flag
+  [6] reg
+  [9] immediate
+end
+
+format
+  ! 15 nsetflag  /* set the selected bit of the reg to the opposite polarity of the flag */
+  % flag
+  % immediate
+  % reg
+  [5] opcode
+  [6] 0x29
+  [6] flag
+  [6] reg
+  [9] immediate
+end
+
+format
+  ! 15 setflip    /* invert the selected bit of the reg */
+  % immediate
+  % reg
+  [5] opcode
+  [6] 10            /* this is alu op */
+  [6] always
+  [6] reg
+  [9] immediate
+end
+
+format
+  ! 0x1f qset1      /* demux the lowest 4 bit of queue and OR it with regr into regw */
+  % reg             /* in short, set the bit in reg indexed by queue to 1 */
+  [5] opcode
+  [6] 9
+  [6] always
+  [6] reg
+  [9] 0
+end
+  
+format
+  ! 0x1f qset0      /* demux the lowest 4 bit of queue and AND it with regr into regw */
+  % reg             /* in short, set the bit in reg indexed by queue to 0 */
+  [5] opcode
+  [6] 9
+  [6] never
+  [6] reg
+  [9] 0
+end
+
+format 
+  ! 0x1f qsetflag   /* set the bit in reg index by queue to same as flag */
+  % flag
+  % reg
+  [5] opcode
+  [6] 9
+  [6] flag
+  [6] reg
+  [9] 0
+end
+
+format 
+  ! 0x1f nqsetflag   /* set the bit in the reg index by queue to opposite of flag */
+  % flag
+  % reg
+  [5] opcode
+  [6] 0x29
+  [6] flag
+  [6] reg
+  [9] 0
+end
+
+format
+  ! 0x1f qsetflip      /* flip the bit in reg index by queue */
+  % reg
+  [5] opcode
+  [6] 10
+  [6] always
+  [6] reg
+  [9] 0
+end
+
+format
+  ! 1 parse       /* take bits out of source (sco_tx,tx_buffer,rx-elas) into pdata and dest (sco_rx,rx_fifo,tx-elas) */
+  % source
+  % dest
+  % immediate
+  [5] opcode
+  [4] source      /* voice, data, demod */
+  [2] 0
+  [6] 0    
+  [2] 0           /* parse or inject */ 
+  [4] dest        /* acl, sco, mod, bucket */
+  [9] immediate   /* number of bits to parse off */
+end
+
+format
+  ! 1 inject      /* shift data from pdata into destination (tx-elas,rx_fifo,sco_rx) */
+  % destination
+  % immediate
+  [5] opcode
+  [4] 0
+  [2] 0
+  [6] 1
+  [2] 0
+  [4] destination /* acl,sco,mod,bucket */
+  [9] immediate   /* number of bits to be injected */
+end
+
+format
+  ! 1 iinject
+  % destination
+  % regr
+  [5] opcode
+  [6] regr       /* contain the number of bits to inject */
+  [6] 3
+  [2] 0
+  [4] destination /* acl,sco,mod,bucket */
+  [9] 0 
+end
+
+format
+  ! 1 stuff  /* automatic parse, stuff_counter decrement on every bit until hits zero */
+  % source
+  % destination
+  [5] opcode
+  [4] source
+  [2] 0
+  [6] 2
+  [2] 0
+  [4] destination
+  [9] 0
+end
+
+format    /* force immediate value into registers */
+  ! 3 force
+  % immediate
+  % regw
+  [5] opcode
+  [6] 0
+  [6] 0    /* alu operation force */
+  [6] regw  /* destination register */
+  [9] immediate
+end
+
+format    /* force whatever is on shift_reg to regsiters */
+  ! 0x13 iforce
+  % regw
+  [5] opcode
+  [6] 0
+  [6] 0    /* alu operation force */
+  [6] regw  /* destination register */
+  [9] 0
+end
+
+format    /* force immediate value into registers */
+  ! 3 increase
+  % immediate
+  % reg
+  [5] opcode
+  [6] reg
+  [6] 1    /* alu operation add */
+  [6] reg
+  [9] immediate
+end
+
+format
+  ! 3 pincrease
+  % immediate
+  [5] opcode
+  [6] -1  /* pdata */
+  [6] 1   /* alu add */
+  [6] -1  /* back to pdata */
+  [9] immediate
+end
+
+format    /* force immediate value into registers */
+  ! 3 and_into
+  % immediate
+  % reg
+  [5] opcode
+  [6] reg
+  [6] 2    /* alu operation and into */
+  [6] reg
+  [9] immediate
+end
+
+format
+  ! 3 and
+  % regr
+  % immediate
+  % regw
+  [5] opcode
+  [6] regr
+  [6] 2    /* alu operation and into */
+  [6] regw
+  [9] immediate
+end
+  
+format
+  ! 0x13 iand    /* pdata & regr -> regw */
+  % regr
+  % regw
+  [5] opcode
+  [6] regr
+  [6] 2    /* alu operation and into */
+  [6] regw
+  [9] 0
+end
+  
+
+format    /* and whatever is in shiftreg with reg */
+  ! 0x13 iand_into
+  % reg
+  [5] opcode
+  [6] reg
+  [6] 2    /* alu operation and into */
+  [6] reg
+  [9] 0
+end
+
+format
+  ! 3 or_into
+  % immediate
+  % reg
+  [5] opcode
+  [6] reg
+  [6] 3    /* alu operation or into */
+  [6] reg
+  [9] immediate
+end
+
+format
+  ! 3 or
+  % regr
+  % immediate
+  % regw
+  [5] opcode
+  [6] regr
+  [6] 3    /* alu operation or into */
+  [6] regw
+  [9] immediate
+end
+
+format
+  ! 0x13 ior
+  % regr
+  % regw
+  [5] opcode
+  [6] regr
+  [6] 3    /* alu operation or into */
+  [6] regw
+  [9] 0
+end
+
+format
+  ! 0x13 ior_into
+  % reg
+  [5] opcode
+  [6] reg
+  [6] 3    /* alu operation or into */
+  [6] reg
+  [9] 0
+end
+
+format
+  ! 3 skip_to   /* jump to location stored in reg */
+  % reg
+  [5] opcode
+  [6] reg
+  [6] 4   /* alu operation copy */
+  [6] rom_addr
+  [9] 0
+end
+
+format
+  ! 3 copy
+  % regr
+  % regw
+  [5] opcode
+  [6] regr
+  [6] 4   /* alu operation copy */
+  [6] regw
+  [9] 0
+end
+
+format
+  ! 3 deposit   /* copy the register content thru alu to shift register, not prealigned like preload */
+  % reg
+  [5] opcode
+  [6] reg
+  [6] 4   /* alu operation copy */
+  [6] -1  /* pdata */
+  [9] 0
+end
+
+format
+  ! 3 icopy     /* copy the shift register lsb content directly to register, not aligned */
+  % regw
+  [5] opcode
+  [6] -1  /* pdata */
+  [6]  4  /* alu copy */
+  [6] regw
+  [9] 0
+end
+
+format
+  ! 3 add
+  % regr
+  % immediate
+  % regw
+  [5] opcode
+  [6] regr
+  [6] 1
+  [6] regw
+  [9] immediate
+end
+
+format
+  ! 0x13 iadd       /* regr + pdata -> regw */
+  % regr
+  % regw
+  [5] opcode
+  [6] regr
+  [6] 1
+  [6] regw
+  [9] 0
+end
+
+format
+  ! 3 sub          /* immediate - regr -> regw */
+  % regr
+  % immediate
+  % regw
+  [5] opcode
+  [6] regr
+  [6] 12
+  [6] regw
+  [9] immediate
+end
+
+format
+  ! 0x13 isub       /* pdata - regr -> regw */
+  % regr
+  % regw
+  [5] opcode
+  [6] regr
+  [6] 12
+  [6] regw
+  [9] 0
+end
+
+
+format
+  ! 3 flip
+  % immediate
+  % reg
+  [5] opcode
+  [6] reg
+  [6] 5
+  [6] reg
+  [9] immediate
+end
+  
+format
+  ! 0x13 iflip  /* use shift register as immediate to do xor */
+  % regr
+  % regw
+  [5] opcode
+  [6] regr
+  [6] 5
+  [6] regw
+  [9] 0
+end
+  
+format
+  ! 3 xor
+  % regr
+  % immediate
+  % regw
+  [5] opcode
+  [6] regr
+  [6] 5
+  [6] regw
+  [9] immediate
+end
+
+format
+  ! 3 xor_into
+  % immediate
+  % reg
+  [5] opcode
+  [6] reg
+  [6] 5
+  [6] reg
+  [9] immediate
+end
+  
+format
+  ! 0x13 ixor  /* pdata xor regr and store result in regw */
+  % regr
+  % regw
+  [5] opcode
+  [6] regr
+  [6] 5
+  [6] regw
+  [9] 0
+end
+  
+format
+  ! 3 invert
+  % regr
+  % regw
+  [5] opcode
+  [6] regr
+  [6] 8
+  [6] regw
+  [9] 0
+end
+
+format
+  ! 3 pinvert    /* invert pdata into itself */
+  [5] opcode
+  [6] -1
+  [6] 8
+  [6] -1
+  [9] 0
+end
+
+format
+  ! 3 div                 /* regr div immediate div */
+  % reg
+  % immediate
+  [5] opcode
+  [6] reg
+  [6] 13                   /* generate diven pulse to div */
+  [6] null
+  [9] immediate
+end
+
+format
+  ! 0x13 idiv           /* pdata div regr data ready at most after 41 nops */
+  % reg
+  [5] opcode
+  [6] reg
+  [6] 13                   /* generate diven pulse to div */
+  [6] null
+  [9] 0
+end
+
+format
+  ! 0x13 idiv48           /* pdata div regr data 48bit */
+  % reg
+  [5] opcode
+  [6] reg
+  [6] 17                   /* generate diven pulse to div */
+  [6] null
+  [9] 0
+end
+
+format
+  ! 3 remainder            /* harvest div remainder */
+  % regw
+  [5] opcode
+  [6] 0
+  [6] 14
+  [6] regw
+  [9] 0
+end
+
+format
+  ! 3 quotient             /* harvest div quotient */
+  % regw
+  [5] opcode
+  [6] 0
+  [6] 15
+  [6] regw
+  [9] 0
+end
+
+format
+  ! 3 rshift
+  % regr
+  % regw
+  [5] opcode
+  [6] regr
+  [6] 6
+  [6] regw
+  [9] 0
+end
+
+format
+  ! 3 rshift2
+  % regr
+  % regw
+  [5] opcode
+  [6] regr
+  [6] 22
+  [6] regw
+  [9] 0
+end
+
+format
+  ! 3 rshift3
+  % regr
+  % regw
+  [5] opcode
+  [6] regr
+  [6] 18
+  [6] regw
+  [9] 0
+end
+
+format
+  ! 3 rshift4
+  % regr
+  % regw
+  [5] opcode
+  [6] regr
+  [6] 35
+  [6] regw
+  [9] 0
+end
+
+format
+  ! 3 rshift8
+  % regr
+  % regw
+  [5] opcode
+  [6] regr
+  [6] 25
+  [6] regw
+  [9] 0
+end
+
+format
+  ! 3 rshift16
+  % regr
+  % regw
+  [5] opcode
+  [6] regr
+  [6] 34
+  [6] regw
+  [9] 0
+end
+
+format
+  ! 3 rshift32
+  % regr
+  % regw
+  [5] opcode
+  [6] regr
+  [6] 30
+  [6] regw
+  [9] 0
+end
+
+format
+  ! 3 lshift
+  % regr
+  % regw
+  [5] opcode
+  [6] regr
+  [6] 7
+  [6] regw
+  [9] 0
+end
+
+format
+  ! 3 lshift2
+  % regr
+  % regw
+  [5] opcode
+  [6] regr
+  [6] 23
+  [6] regw
+  [9] 0
+end
+
+format
+  ! 3 lshift8
+  % regr
+  % regw
+  [5] opcode
+  [6] regr
+  [6] 26
+  [6] regw
+  [9] 0
+end
+
+  
+format
+  ! 3 lshift3
+  % regr
+  % regw
+  [5] opcode
+  [6] regr
+  [6] 19
+  [6] regw
+  [9] 0
+end
+
+format
+  ! 3 lshift4
+  % regr
+  % regw
+  [5] opcode
+  [6] regr
+  [6] 36
+  [6] regw
+  [9] 0
+end
+  
+
+format
+  ! 3 lshift16
+  % regr
+  % regw
+  [5] opcode
+  [6] regr
+  [6] 32
+  [6] regw
+  [9] 0
+end
+
+format
+  ! 3 random               /* random number into regw */
+  % reg
+  [5] opcode
+  [6] 0
+  [6] 20
+  [6] reg
+  [9] 0
+end
+
+format                     /* bit reverse within a byte */
+  ! 3 reverse
+  % reg
+  % regw
+  [5] opcode
+  [6] reg
+  [6] 27
+  [6] regw
+  [9] 0
+end
+
+format
+  ! 3 priority    /* priority encode reg into regw, lsb is the top priority, ie, priority(8'b00010000) = 4 */
+  % reg
+  % regw
+  [5] opcode
+  [6] reg
+  [6] 21
+  [6] regw
+  [9] 0
+end
+
+format
+  ! 7 setsect   /* set a section of pdata */
+  % section    /* 0 sets 17:0 of pdata with set_data, 1 sets 35:18, 2 sets 53:36, 3 sets 71:54 */
+  % set_data
+  [5] opcode
+  [7] 0
+  [2] section
+  [18] set_data
+end
+
+format
+  ! 10 preload   /* load stuff into pdata according to fhs format, check us.v */
+  % reg
+  [5] opcode
+  [6] reg
+  [6] 0
+  [6] -1
+  [9] 0
+end
+
+format  /* load register with pdata content, according to fhs format, check us.v */
+  ! 10 ialigned   /* all bits are in position */
+  % regw
+  [5] opcode
+  [6] -1
+  [6] 0
+  [6] regw
+  [9] 0
+end
+
+format  /* load register to another according to fhs format */
+  ! 10 aligned
+  % regr
+  % regw
+  [5] opcode
+  [6] regr
+  [6] 0
+  [6] regw
+  [9] 0
+end
+
+format
+  ! 4 branch
+  % addr
+  % flag
+  [5] opcode
+  [6] 1
+  [6] flag
+  [15] addr
+end
+
+format
+  ! 4 call
+  % addr
+  % flag
+  [5] opcode
+  [6] 2
+  [6] flag
+  [15] addr
+end
+
+format
+  ! 4 rtn
+  % flag
+  [5] opcode
+  [6] 3
+  [6] flag
+  [15] 0
+end
+
+format
+  ! 0x0d fetch          /* read from memory, data into pdata, address from immediate then mem_ptr */
+  % num_bytes
+  % addr
+  [5] opcode
+  [6] 63
+  [1] addr
+  [1] 0
+  [4] num_bytes
+  [15] addr
+end
+
+format
+  ! 0x0d fetcht          /* read from memory, data into temp, address from immediate won't increment */
+  % num_bytes
+  % addr
+  [5] opcode
+  [6] 2
+  [1] addr
+  [1] 1
+  [4] num_bytes
+  [15] addr
+end
+
+format
+  ! 0x1d ifetch         /* read from memory, data into pdata, address from regr then mem_ptr */
+  % num_bytes
+  % reg
+  [5] opcode
+  [6] 63
+  [2] 0
+  [4] num_bytes
+  [9] 0
+  [6] reg
+end
+
+format
+  ! 0x1d ifetcht         /* read from memory, data into temp, address from regr won't increment */
+  % num_bytes
+  % reg
+  [5] opcode
+  [6] 2
+  [2] 0
+  [4] num_bytes
+  [9] 0
+  [6] reg
+end
+
+format
+  ! 0x0c store          /* write to memory, data from pdata, address from immediate then mem_ptr */
+  % num_bytes
+  % addr
+  [5] opcode
+  [6] 63
+  [1] addr
+  [1] 0
+  [4] num_bytes
+  [15] addr
+end
+
+format
+  ! 0x0c storet          /* write to memory, data from temp, address from immediate won't increment */
+  % num_bytes
+  % addr
+  [5] opcode
+  [6] 2
+  [1] addr
+  [1] 1
+  [4] num_bytes
+  [15] addr
+end
+
+format
+  ! 0x1c istore        /* write pdata to memory, address from regaddr */
+  % num_bytes
+  % regaddr
+  [5] opcode
+  [6] 63            
+  [2] 0
+  [4] num_bytes
+  [9] 0
+  [6] regaddr
+end
+
+format
+  ! 0x1c istoret        /* write temp to memory, address from regaddr */
+  % num_bytes
+  % regaddr
+  [5] opcode
+  [6] 2            
+  [2] 0
+  [4] num_bytes
+  [9] 0
+  [6] regaddr
+end
+
+format
+  ! 0x0d crc         // read from memory, count from loopcnt, put crc result into pdata 
+  % addr
+  [5] opcode
+  [6] 63
+  [6] 0
+  [15] addr
+end
+
+format
+  ! 0x1d icrc         /* read from memory, address from reg, count from loopcnt, put crc result into pdata */
+  % reg
+  [5] opcode
+  [6] 63
+  [15] 0
+  [6] reg
+end
+
+
+format
+  ! 0x0c storer          /* write reg to memory, address from immediate then mem_ptr */
+  % reg
+  % num_bytes
+  % addr
+  [5] opcode
+  [6] reg               
+  [1] addr
+  [1] 0
+  [4] num_bytes
+  [15] addr
+end
+
+
+format
+  ! 0x1c istorer        /* write regr to memory, address from regaddr */
+  % regr
+  % num_bytes
+  % regaddr
+  [5] opcode
+  [6] regr            
+  [2] 0
+  [4] num_bytes
+  [9] 0
+  [6] regaddr
+end
+
+
+format
+  ! 0x0d fetchr          /* read reg from memory, address from immediate then mem_ptr */
+  % reg
+  % num_bytes
+  % addr
+  [5] opcode
+  [6] reg               
+  [1] addr
+  [1] 0
+  [4] num_bytes
+  [15] addr
+end
+
+format
+  ! 0x1d ifetchr        /* read regr from memory, address from regaddr */
+  % regr
+  % num_bytes
+  % regaddr
+  [5] opcode
+  [6] regr
+  [2] 0
+  [4] num_bytes
+  [9] 0
+  [6] regaddr
+end
+
+
+
+
+format
+  ! 0x0e jam
+  % immediate
+  % addr
+  [5] opcode
+  [3] 0
+  [16] addr
+  [8] immediate
+end
+
+format			/* 0x242... */
+  ! 4 nbranch
+  % addr
+  % flag
+  [5] opcode
+  [1] 1
+  [5] 1
+  [6] flag
+  [15] addr
+end
+
+format
+  ! 4 ncall
+  % addr
+  % flag
+  [5] opcode
+  [1] 1
+  [5] 2
+  [6] flag
+  [15] addr
+end
+
+format
+  ! 4 nrtn
+  % flag
+  [5] opcode
+  [1] 1
+  [5] 3
+  [6] flag
+  [15] 0
+end
+
+format
+  ! 4 nop
+  % addr  /* no-op for addr+2 clocks */
+  [5] opcode
+  [6] 0     
+  [6] 0     /* always */ 
+  [15] addr
+end
+
+format
+  ! 4 clear_stack
+  [5] opcode
+  [6] 4
+  [6] 0    /* always */
+  [15] 0
+end
+
+format
+  ! 6 until
+  % reg
+  % flag
+  [5] opcode
+  [6] reg
+  [6] flag
+  [6] 1
+  [9] 0
+end
+  
+format
+  ! 6 correlate   /* quit if 1. flag is true 2, regr time up 3, found sync,(cond_true) */
+  % reg          /* expire counter to check against */
+  % flag
+  [5] opcode
+  [6] reg
+  [6] flag
+  [6] 2           /* correlate */
+  [9] 0           
+end
+
+format
+  ! 5 compare   /* sets cond flag,  if reg equals immediate */
+  % immediate
+  % reg
+  % mask
+  [5] opcode
+  [6] reg
+  [3] 0
+  [9] mask
+  [9] immediate
+end
+
+format
+  ! 0x15 icompare   /* sets cond flag,  if reg equals pdata */
+  % mask
+  % reg
+  [5] opcode
+  [6] reg
+  [3] 0
+  [9] mask
+  [9] 0
+end
+
+format   /* sets cond. flag, if reg equals LS half of shift reg with MS half of reg being mask */
+  ! 5 iverify
+  % reg
+  [5] opcode
+  [6] reg
+  [3] 2
+  [18] 0
+end
+
+format
+  ! 0x15 qisolate1
+  % reg
+  [5] opcode
+  [6] reg
+  [3] 3
+  [18] -1
+end
+
+format
+  ! 0x15 qisolate0
+  % reg
+  [5] opcode
+  [6] reg
+  [3] 3
+  [18] 0
+end
+
+	/* REVAB bug: cannot access bit above 35 */
+format
+  ! 5 isolate1
+  % addr
+  % reg
+  [5] opcode
+  [6] reg
+  [3] 3
+  [9] -1
+  [9] addr
+end
+
+format
+  ! 5 isolate0
+  % addr
+  % reg
+  [5] opcode
+  [6] reg
+  [3] 3
+  [9] 0
+  [9] addr
+end
+
+format
+  ! 11 setarg
+  % immediate
+  [5] opcode
+  [27] immediate
+end
+
+format
+  ! 0x1b arg
+  % immediate
+  % reg
+  [5] opcode
+  [6] reg
+  [21] immediate
+end
+
+  
+format
+  ! 0 sleep
+  [5] opcode
+  [27] 0
+end
+
+format
+  ! 0 snooze
+  [5] opcode
+  [6] -1
+  [21] 0
+end
+
+format
+  ! 0 revision
+  % rev_num
+  [5] opcode
+  [27] rev_num
+end
+
+format
+  ! 0x18 loop   /* branch when loopcnt is NOT zero, and decrease loopcnt */
+  % addr
+  [5] opcode
+  [4] 4
+  [8] 0
+  [15] addr
+end
+
+format
+  ! 0x18 beq   /* branch when pdata is equal to immediate */
+  % imme
+  % addr
+  [5] opcode
+  [4] 0
+  [8] imme
+  [15] addr
+end
+
+format
+  ! 0x18 bne   /* branch when pdata is NOT equal to immediate */
+  % imme
+  % addr
+  [5] opcode
+  [4] 1
+  [8] imme
+  [15] addr
+end
+
+format
+  ! 0x18 rtneq   /* return when pdata is equal to immediate */
+  % imme
+  [5] opcode
+  [4] 2
+  [8] imme
+  [15] 0
+end
+
+format
+  ! 0x18 rtnne   /* return when pdata is NOT equal to immediate */
+  % imme
+  [5] opcode
+  [4] 3
+  [8] imme
+  [15] 0
+end
+
+format
+  ! 0x18 bbit1   /* branch when pdata's imme bit is 1 */
+  % imme
+  % addr
+  [5] opcode
+  [4] 5
+  [8] imme
+  [15] addr
+end
+
+format
+  ! 0x18 bbit0   /* branch when pdata's imme bit is 0 */
+  % imme
+  % addr
+  [5] opcode
+  [4] 6
+  [8] imme
+  [15] addr
+end
+
+format
+  ! 0x18 rtnbit1   /* return when pdata's imme bit is 0 */
+  % imme
+  [5] opcode
+  [4] 7
+  [8] imme
+  [15] 0
+end
+
+format
+  ! 0x18 rtnbit0   /* return when pdata's imme bit is 0 */
+  % imme
+  [5] opcode
+  [4] 8
+  [8] imme
+  [15] 0
+end
+
+format
+  ! 8	bpatch
+  % imme
+  % addr
+  [5] opcode
+  [4] 9
+  [8] imme
+  [15] addr
+end
+
+format
+  ! 8	bpatchx
+  % imme
+  % addr
+  [5] opcode
+  [4] 14
+  [8] imme
+  [15] addr
+end
+
+format
+  ! 0x18 bmark1   /* branch when mark's imme bit is 1 */
+  % imme
+  % addr
+  [5] opcode
+  [4] 10
+  [8] imme
+  [15] addr
+end
+
+format
+  ! 0x18 bmark0   /* branch when mark's imme bit is 0 */
+  % imme
+  % addr
+  [5] opcode
+  [4] 11
+  [8] imme
+  [15] addr
+end
+
+format
+  ! 0x18 rtnmark1   /* return when mark's imme bit is 0 */
+  % imme
+  [5] opcode
+  [4] 12
+  [8] imme
+  [15] 0
+end
+
+format
+  ! 0x18 rtnmark0   /* return when mark's imme bit is 0 */
+  % imme
+  [5] opcode
+  [4] 13
+  [8] imme
+  [15] 0
+end
+
+format
+  ! 3 mul32                  /* immediate mult regr */ 
+  % regr
+  % immediate                                  
+  % regw
+  [5] opcode
+  [6] regr
+  [6] 31           
+  [6] regw
+  [9] immediate
+end
+
+format
+  ! 0x13 imul32           /* pdata mult regr 32x32=64bit */  
+  % regr
+  % regw
+  [5] opcode
+  [6] regr
+  [6] 31                   
+  [6] regw
+  [9] 0
+end
+
+format
+  ! 0x13 imults           /* pdata mult regr 32x32=64bit, signed */  
+  % regr
+  % regw
+  [5] opcode
+  [6] regr
+  [6] 16
+  [6] regw
+  [9] 0
+end
+
+
+format
+  ! 3 byteswap
+  % regr
+  % regw
+  [5] opcode
+  [6] regr
+  [6] 33
+  [6] regw
+  [9] 0
+end
+
+format
+  ! 3 shasx          /* SHA256 Sx operation, immediate is Sx */
+  % regr
+  % immediate
+  % regw
+  [5] opcode
+  [6] regr
+  [6] 28
+  [6] regw
+  [9] immediate
+end
+
+
+format
+  ! 0x13 regexrot 	/* regext[0] <- regext[7], regext[1] <- regext[0], regext[2] <- regext[1] ... */
+  [5] opcode
+  [6] 0
+  [6] 29
+  [6] null
+  [9] 0
+end
+
Index: format/debug.format
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/format/debug.format	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/format/debug.format	(working copy)
@@ -0,0 +1,5 @@
+xmemalloc(
+
+1 mem_rf_debug_rx_gpio
+1 mem_rf_debug_tx_gpio
+)
Index: format/g24_protocol_stack/24g.format
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/format/g24_protocol_stack/24g.format	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/format/g24_protocol_stack/24g.format	(working copy)
@@ -0,0 +1,66 @@
+
+xmemalloc g24(
+34 mem_24g_rxbuf
+32 mem_24g_txbuf
+36 mem_24g_txpayload
+32 mem_24g_rxpayload
+1 mem_24g_rxdata_length
+1 mem_24g_pid
+1 mem_24g_no_ack
+3 mem_24g_sta_crc
+3 mem_24g_last_crc
+1 mem_24g_sta_pid
+1 mem_24g_last_pid
+1 mem_24g_datalen
+1 mem_24g_data_type
+1 mem_24g_txlen
+2 mem_24g_rx_window
+1 mem_24g_ch
+1 mem_24g_current_ch_number
+4 mem_24g_addr
+4 mem_24g_ch_map1
+4 mem_24g_ch_map2
+4 mem_24g_ch_map3
+4 mem_24g_ch_map4
+4 mem_24g_tx_btclk
+1 mem_24g_interval
+1 mem_24g_interval_min
+1 mem_24g_interval_max
+2 mem_24g_syncword
+1 mem_24g_syncword_crc8
+1 mem_24g_get_syncword_crc8
+1 mem_24g_pair_switch
+8 mem_24g_enter_hibernate
+
+1 mem_24g_rx_phy
+1 mem_24g_tx_phy
+
+1 mem_24g_ch_map_update
+4 mem_24g_ch_update_map1
+4 mem_24g_ch_update_map2
+4 mem_24g_ch_update_map3
+4 mem_24g_ch_update_map4
+
+1 mem_24g_disable_fec1
+)
+
+
+xmemalloc g24_tx(
+1 mem_rssi_hex_received
+
+)
+
+
+
+(//mem_24g_data_type
+1 TYPE_MS
+2 TYPE_KB
+0x07 bits_data
+//0-2 data type
+3 bit_abort
+4 bit_hop
+5 bit_sync
+//6-7 channel offset
+)
+
+
Index: format/g24_protocol_stack/24g_pair.format
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/format/g24_protocol_stack/24g_pair.format	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/format/g24_protocol_stack/24g_pair.format	(working copy)
@@ -0,0 +1,50 @@
+
+
+xmemalloc g24(
+4 mem_24g_pair_addr
+1 mem_24g_pair_ch
+1 mem_24g_pair_tx_power
+
+)
+
+xmemalloc g24_tx(
+1 mem_24g_pair_sm
+1 mem_24g_pair_no_ack
+2 mem_24g_pair_timeout_init
+2 mem_24g_pair_timeout
+
+)
+
+xmemalloc g24_rx(
+1 mem_24g_device1_bind_step
+1 mem_24g_device2_bind_step
+1 mem_24g_bind_device_status
+8 mem_24g_bind_payload
+
+)
+
+(//mem_24g_pair_sm
+0 STATE_24G_PAIRING_NULL
+1 STATE_24G_PAIRING_1
+2 STATE_24G_PAIRING_2
+3 STATE_24G_PAIRING_3
+4 STATE_24G_PAIRING_4
+0X11 STATE_24G_PAIRING_1_WAITING_ACK
+0X12 STATE_24G_PAIRING_2_WAITING_ACK
+0X13 STATE_24G_PAIRING_3_WAITING_ACK
+0X14 STATE_24G_PAIRING_4_WAITING_ACK
+0XFF STATE_24G_PAIRING_SUCCESS
+)
+
+(
+0x01 DATATYPE_DEVICE1	//mouse
+0x02 DATATYPE_DEVICE2	//keyboard
+0xaa DATATYPE_BIND		//bind step 1
+0x55 DATATYPE_CONFIG	//bind step 2
+0x22 DATATYPE_OK		//bind step 3
+0xff DATATYPE_ATTEMP	//reconn
+)
+
+(
+5 BIND_MODE_CONTINUE
+)
Index: format/g24_protocol_stack/24g_receiver.format
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/format/g24_protocol_stack/24g_receiver.format	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/format/g24_protocol_stack/24g_receiver.format	(working copy)
@@ -0,0 +1,50 @@
+
+
+xmemalloc g24_rx(
+2 mem_cb_24g_receive_process
+2 mem_cb_24g_ackpayload
+2 mem_cb_24g_data_device1
+2 mem_cb_24g_data_device2
+34 mem_24g_rxdata_temp
+1 mem_24g_abort_packet
+4 mem_24g_hop_btclk
+1 mem_24g_hop_interval
+1 mem_24g_pair_mode
+1 mem_24g_ackpayload_enable
+1 mem_24g_hop_packet
+1 mem_24g_mode_switch
+1 mem_24g_nodata_timer_enable
+
+1 mem_24g_mode_init
+1 mem_24g_work_mode
+1 mem_24g_time_slice
+1 mem_24g_self_last_ch
+1 mem_24g_self_ch_number
+1 mem_24g_self_config_ch_once
+1 mem_24g_device1_last_ch
+1 mem_24g_device1_ch_number
+1 mem_24g_device1_config_ch_once
+1 mem_24g_device2_last_ch
+1 mem_24g_device2_ch_number
+1 mem_24g_device2_config_ch_once
+1 mem_24g_led_status
+1 mem_24g_bind_mode_continue
+
+1 mem_tx_power_temp
+
+1 mem_24g_mode_B_S_switch
+1 mem_24g_mode_B_S_switch_init
+2 mem_24g_mode_B_S_switch_cnt
+1 mem_24g_mode_B_S_switch_exit
+1 mem_24g_B_S_time_slice
+1 mem_24g_B_S_mode_switch_disable
+
+1 mem_24g_bind_device_living
+)
+
+
+(
+0 bit_ack_24g
+)
+
+
Index: format/g24_protocol_stack/24g_reconn.format
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/format/g24_protocol_stack/24g_reconn.format	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/format/g24_protocol_stack/24g_reconn.format	(working copy)
@@ -0,0 +1,29 @@
+xmemalloc g24_tx(
+2 mem_24g_reconn_timeout_init
+2 mem_24g_reconn_timeout
+2 mem_24g_reconn_count
+1 mem_24g_reconn_type
+1 mem_24g_fast_conn_enable
+4 mem_24g_fast_conn_addr
+4 mem_24g_receiver_addr
+1 mem_24g_fast_conn_temp_ch
+1 mem_24g_receiver_temp_ch
+1 mem_24g_device_temp_ch
+
+)
+
+xmemalloc g24_rx(
+4 mem_24g_transmitter_addr
+4 mem_24g_device1_addr
+4 mem_24g_device2_addr
+
+)
+
+(//mem_24g_reconn_type
+0 DEFAULT_24G_DEVICE
+1 FAST_CONN_AND_RECEIVER
+2 FAST_CONN_AND_3_0_ADDR
+3 RECEIVER_AND_3_0_ADDR
+4 PAIR_AND_3_0_ADDR
+)
+
Index: format/g24_protocol_stack/24g_rssi.format
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/format/g24_protocol_stack/24g_rssi.format	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/format/g24_protocol_stack/24g_rssi.format	(working copy)
@@ -0,0 +1,40 @@
+
+xmemalloc g24(
+1 mem_rssi_buff_index
+)
+
+
+xmemalloc g24_tx(
+1 mem_rssi_signal_index
+2 mem_rssi_signal_buf_ptr
+
+)
+
+
+xmemalloc g24_rx(
+1 mem_rssi_noise_avg
+1 mem_rssi_noise_index
+
+1 mem_rssi_noise_self_avg
+1 mem_rssi_noise_device1_avg
+1 mem_rssi_noise_device2_avg
+1 mem_rssi_noise_self_index
+1 mem_rssi_noise_device1_index
+1 mem_rssi_noise_device2_index
+
+2 mem_rssi_noise_buffer_ptr
+2 mem_rssi_noise_self_buffer_ptr
+2 mem_rssi_noise_device1_buffer_ptr
+2 mem_rssi_noise_device2_buffer_ptr
+
+)
+
+
+
+(
+0x50 RSSI_THRESH_NOISE
+)
+
+
+
+
Index: format/g24_protocol_stack/24g_transmitter.format
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/format/g24_protocol_stack/24g_transmitter.format	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/format/g24_protocol_stack/24g_transmitter.format	(working copy)
@@ -0,0 +1,64 @@
+
+
+xmemalloc g24_tx(
+2 mem_cb_24g_transmit_data
+2 mem_cb_24g_search_receiver
+2 mem_cb_24g_lpm_before
+
+1 mem_24g_conn_sm
+
+1 mem_24g_ensure
+2 mem_24g_txfail_cnt
+1 mem_24g_attempt_fail_flag
+
+1 mem_24g_retry
+1 mem_24g_abort_pac
+1 mem_24g_max_retry
+4 mem_24g_device_addr
+3 mem_24g_short_sleep_set
+8 mem_24g_long_sleep_set
+4 mem_24g_long_sleep_set1
+
+1 mem_24g_pac_index
+1 mem_24g_transmit_by_interrupt
+2 mem_24g_transmit_by_interrupt_exit_count
+2 mem_24g_transmit_by_interrupt_exit_count_init
+2 mem_24g_long_sleep_param_update_timer_init
+2 mem_24g_long_sleep_param_update_timer
+
+1 mem_24g_fast_hop_count
+)
+
+(
+1 NO_ACK_24G
+0 WITH_ACK_24G
+)
+
+(//mem_24g_conn_sm
+0 STATE_24G_STOP
+0 STATE_24G_START
+1 STATE_24G_PAIR
+2 STATE_24G_RECONN
+)
+
+(//mem_24g_transmit_by_interrupt
+1 G24_TX_TIMER_INT_ENABLE
+0 G24_TX_TIMER_INT_DISABLE
+)
+
+
+(
+1 OFFSET_DATA_TYPE
+2 OFFSET_LR_DATA_TYPE
+)
+
+(
+0x017700 G24_LONG_SLEEP_STEP1	//8ms
+0x36ee80 G24_LONG_SLEEP_STEP2	//300ms
+0x124f80 G24_LONG_SLEEP_STEP3	//100ms
+63500 G24_8MS_INTERVAL_PARAM		//8ms
+12210 G24_4MS_INTERVAL_PARAM
+)
+
+
+
Index: format/g24_protocol_stack/24g_txpower_ctrl.format
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/format/g24_protocol_stack/24g_txpower_ctrl.format	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/format/g24_protocol_stack/24g_txpower_ctrl.format	(working copy)
@@ -0,0 +1,20 @@
+
+xmemalloc g24_tx(
+1 mem_rssi_avg_received
+1 mem_power_ctrl_level
+1 mem_power_ctrl_pac_succ_cnt
+1 mem_power_ctrl_pac_succ_cnt_init
+
+1 mem_rssi_dis_min_24g
+1 mem_rssi_dis_max_24g
+1 mem_rssi_hex_received_max_value
+
+1 mem_rssi_dis_min_ble
+1 mem_rssi_dis_max_ble
+)
+
+
+(
+50 POWER_CTRL_DECRS_THRESHOLD
+)
+
Index: format/hci.format
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/format/hci.format	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/format/hci.format	(working copy)
@@ -0,0 +1,546 @@
+
+
+memalloc hci_boot(
+2 mem_hci_opcode_ocf
+1 mem_hci_opcode_ogf
+
+//event head
+1 mem_hci_event_head_type
+1 mem_hci_event_head_event_code
+1 mem_hci_event_para_total_length
+
+//command complete
+1 mem_hci_command_complete_num_hci_command_packet
+0 mem_hci_command_complete_command_opcode
+2 mem_hci_opcode
+0 mem_hci_command_complete_return_parameter
+1 mem_hci_command_complete_return_parameter_status
+0 mem_hci_command_complete_return_parameter_chip_id
+
+)
+
+xmemalloc hci_boot(
+1 mem_hci_uart_tx_gpio
+1 mem_hci_uart_rx_gpio
+1 mem_hci_uart_rts_gpio
+1 mem_hci_uart_cts_gpio
+1 mem_hci_pwm_12mhz_gpio
+)
+
+(
+0x0d HCI_UART_TX_GPIO_NUM
+0x0e HCI_UART_RX_GPIO_NUM
+0x09 HCI_UART_RTS_GPIO_NUM
+0x0a HCI_UART_CTS_GPIO_NUM
+0x0c HCI_PMW_12MHZ_GPIO_NUM
+)
+
+//(//final
+//0x12 HCI_UART_TX_IO
+//0x11 HCI_UART_RX_IO
+//0x10 HCI_BLE_CONN_IO
+//0x0f HCI_NB_WORKING_IO
+//0x0d HCI_WAKEUP_MODULE_IO
+//0x07 HCI_WAKEUP_NB_IO
+//)
+
+(//out set
+0x0e HCI_UART_TX_IO
+0x0b HCI_UART_RX_IO
+0x0a HCI_BLE_CONN_IO
+0x06 HCI_NB_WORKING_IO
+0x0d HCI_WAKEUP_MODULE_IO
+0x07 HCI_WAKEUP_NB_IO
+)
+
+//(//for evb
+//0x0a HCI_UART_TX_IO
+//0x0b HCI_UART_RX_IO
+//0x0c HCI_BLE_CONN_IO
+//0x0d HCI_NB_WORKING_IO
+//0x08 HCI_WAKEUP_MODULE_IO
+//0x07 HCI_WAKEUP_NB_IO
+//)
+(
+0x00 COMMAND_SUCCEEDED
+0x01 COMMAND_UNKNOWN
+0x0c COMMAND_DISALLOWED
+)
+
+//HCI H4 Packet TYPE
+(
+0x01 HCI_H4_TYPE_CMD
+0x02 HCI_H4_TYPE_ACL
+0x04 HCI_H4_TYPE_EVENT
+)
+
+(
+0x00 BT_ACL_START_NO_FLUSH
+0x01 BT_ACL_CONT
+0x02 BT_ACL_START
+)
+
+// HCI command opcode group field values
+(
+0x01 HCI_OGF_LINK_CONTROL
+0x02 HCI_OGF_LINK_POLICY
+0x03 HCI_OGF_CONTROLLER_AND_BASEBAND
+0x04 HCI_OGF_INFOMATIONAL_PARAM
+0x05 HCI_OGF_STATUS_PARAM
+0x06 HCI_OGF_TEST
+0x08 HCI_OGF_LE_CONTROLLER
+0x3f HCI_OGF_VENDOR_SPECIFIC_DEBUG
+)
+
+// HCI link control opcode command field values, OGF=1
+(
+0x01 HCI_INQUIRY 
+0x02 HCI_INQUIRY_CANCEL 
+0x03 HCI_PERIODIC_INQUIRY_MODE 
+0x04 HCI_EXIT_PERIODIC_INQUIRY_MODE 
+0x05 HCI_CREATE_CONNECTION 
+0x06 HCI_DISCONNECT 
+0x07 HCI_ADD_SCO_CONNECTION 
+0x08 HCI_CREATE_CONNECTION_CANCEL
+0x09 HCI_ACCEPT_CONNECTION 
+0x0A HCI_REJECT_CONNECTION 
+0x0B HCI_LINK_KEY_REQUEST_REPLY 
+0x0C HCI_LINK_KEY_REQUEST_NEGATIVE_REPLY 
+0x0D HCI_PIN_CODE_REQUEST_REPLY 
+0x0E HCI_PIN_CODE_REQUEST_NEGATIVE_REPLY 
+0x0F HCI_CHANGE_CONNECTION_PACKET_TYPE 
+0x11 HCI_AUTHENTICATION_REQUESTED 
+0x13 HCI_SET_CONNECTION_ENCRYPTION 
+0x15 HCI_CHANGE_CONNECTION_LINK_KEY 
+0x17 HCI_MASTER_LINK_KEY 
+0x19 HCI_REMOTE_NAME_REQUEST 
+0x1A HCI_REMOTE_NAME_REQUEST_CANCEL
+0x1B HCI_READ_REMOTE_SUPPORTED_FEATURES 
+0x1C HCI_READ_REMOTE_EXT_FEATURES 
+0x1D HCI_READ_REMOTE_VERSION_INFORMATION 
+0x1F HCI_READ_CLOCK_OFFSET 
+0x20 HCI_READ_LMP_HANDLE
+0x28 HCI_SETUP_SCO_CONNECTION
+0x29 HCI_ACCEPT_SCO_CONNECTION
+0x2A HCI_REJECT_SCO_CONNECTION
+0x2B HCI_IO_CAP_REQUEST_REPLY
+0x2C HCI_USER_CONFIRMATION_REQUEST_REPLY
+0x2D HCI_USER_CONFIRMATION_REQUEST_NEGATIVE_REPLY
+0x2E HCI_USER_PASSKEY_REQUEST_REPLY
+0x2F HCI_USER_PASSKEY_REQUEST_NEGATIVE_REPLY
+0x30 HCI_REMOTE_OOB_DATA_REQUEST_REPLY
+0x33 HCI_REMOTE_OOB_DATA_REQUEST_NEGATIVE_REPLY
+0x34 HCI_IO_CAPABILITY_REQUEST_NEGATIVE_REPLY
+0x35 HCI_CREATE_PHYSICAL_LINK
+0x36 HCI_ACCEPT_PHYSICAL_LINK
+0x37 HCI_DISCONNECT_PHYSICAL_LINK
+0x38 HCI_CREATE_LOGICAL_LINK
+0x39 HCI_ACCEPT_LOGICAL_LINK
+0x3A HCI_DISCONNECT_LOGICAL_LINK
+0x3B HCI_LOGICAL_LINK_CANCEL
+0x3C HCI_FLOW_SPEC_MODIFY
+0x3D HCI_ENHANCED_SETUP_SYNCHRONOUS_CONNECTION
+0x3E HCI_ENHANCED_ACCEPT_SYNCHRONOUS_CONNECTION_REQUEST
+0x3F HCI_TRUNCATED_PAGE
+0x40 HCI_TRUNCATED_PAGE_CANCEL
+0x41 HCI_SET_CONNECTIONLESS_SLAVE_BROADCAST
+0x42 HCI_SET_CONNECTIONLESS_SLAVE_BROADCAST_RECEIVE
+0x43 HCI_START_SYNCHRONIZATION_TRAIN
+0x44 HCI_RECEIVE_SYNCHRONIZATION_TRAIN
+0x45 HCI_REMOTE_OOB_EXTENDED_DATA_REQUEST_REPLY
+)
+
+
+// HCI link policy commands OCF value, OGF=2
+(
+0x01 HCI_HOLD_MODE 
+0x03 HCI_SNIFF_MODE 
+0x04 HCI_EXIT_SNIFF_MODE 
+0x05 HCI_PARK_MODE 
+0x06 HCI_EXIT_PARK_MODE 
+0x07 HCI_QOS_SETUP 
+0x09 HCI_ROLE_DISCOVERY 
+0x0B HCI_SWITCH_ROLE 
+0x0C HCI_READ_LINK_POLICY_SETTINGS 
+0x0D HCI_WRITE_LINK_POLICY_SETTINGS 
+0x0e HCI_READ_DEFAULT_LINK_POLICY_SETTINGS
+0x0f HCI_WRITE_DEFAULT_LINK_POLICY_SETTINGS
+0x10 HCI_FLOW_SPECIFICATION
+0x11 HCI_SNIFF_SUBRATING
+)
+
+// HCI host controller and baseband commands OCF values, OGF=3
+(
+0x01 HCI_SET_EVENT_MASK 
+0x03 HCI_RESET 
+0x05 HCI_SET_EVENT_FILTER 
+0x08 HCI_FLUSH 
+0x09 HCI_READ_PIN_TYPE 
+0x0A HCI_WRITE_PIN_TYPE 
+0x0B HCI_CREATE_NEW_UNIT_KEY 
+0x0D HCI_READ_STORED_LINK_KEY 
+0x11 HCI_WRITE_STORED_LINK_KEY 
+0x12 HCI_DELETE_STORED_LINK_KEY 
+0x13 HCI_WRITE_LOCAL_NAME 
+0x14 HCI_READ_LOCAL_NAME 
+0x15 HCI_READ_CONN_ACCEPT_TIMEOUT 
+0x16 HCI_WRITE_CONN_ACCEPT_TIMEOUT 
+0x17 HCI_READ_PAGE_TIMEOUT 
+0x18 HCI_WRITE_PAGE_TIMEOUT 
+0x19 HCI_READ_SCAN_ENABLE 
+0x1A HCI_WRITE_SCAN_ENABLE 
+0x1B HCI_READ_PAGE_SCAN_ACTIVITY 
+0x1C HCI_WRITE_PAGE_SCAN_ACTIVITY 
+0x1D HCI_READ_INQUIRY_SCAN_ACTIVITY 
+0x1E HCI_WRITE_INQUIRY_SCAN_ACTIVITY 
+0x1F HCI_READ_AUTHENTICATION_ENABLE 
+0x20 HCI_WRITE_AUTHENTICATION_ENABLE 
+0x21 HCI_READ_ENCRYPTION_MODE 
+0x22 HCI_WRITE_ENCRYPTION_MODE 
+0x23 HCI_READ_CLASS_OF_DEVICE 
+0x24 HCI_WRITE_CLASS_OF_DEVICE 
+0x25 HCI_READ_VOICE_SETTING 
+0x26 HCI_WRITE_VOICE_SETTING 
+0x27 HCI_READ_AUTOMATIC_FLUSH_TIMEOUT 
+0x28 HCI_WRITE_AUTOMATIC_FLUSH_TIMEOUT 
+0x29 HCI_READ_NUM_BROADCAST_RETRANSMISSIONS 
+0x2A HCI_WRITE_NUM_BROADCAST_RETRANSMISSIONS 
+0x2B HCI_READ_HOLD_MODE_ACTIVITY 
+0x2C HCI_WRITE_HOLD_MODE_ACTIVITY 
+0x2D HCI_READ_TRANSMIT_POWER_LEVEL 
+0x2E HCI_READ_SCO_FLOW_CONTROL_ENABLE 
+0x2F HCI_WRITE_SCO_FLOW_CONTROL_ENABLE 
+0x31 HCI_SET_CONTROLLER_TO_HOST_FLOW_CONTROL 
+0x33 HCI_HOST_BUFFER_SIZE 
+0x35 HCI_HOST_NUM_COMPLETED_PACKETS 
+0x36 HCI_READ_LINK_SUPERVISION_TIMEOUT 
+0x37 HCI_WRITE_LINK_SUPERVISION_TIMEOUT 
+0x38 HCI_READ_NUMBER_OF_SUPPORTED_IAC 
+0x39 HCI_READ_CURRENT_IAC_LAP 
+0x3A HCI_WRITE_CURRENT_IAC_LAP 
+0x3B HCI_READ_PAGE_SCAN_PERIOD_MODE 
+0x3C HCI_WRITE_PAGE_SCAN_PERIOD_MODE 
+0x3D HCI_READ_PAGE_SCAN_MODE 
+0x3E HCI_WRITE_PAGE_SCAN_MODE 
+0x3F HCI_SET_AFH_CHANNEL_CLASSIFICATION 
+
+
+0x42 HCI_READ_INQUIRY_SCAN_TYPE 
+0x43 HCI_WRITE_INQUIRY_SCAN_TYPE 
+0x44 HCI_READ_INQUIRY_MODE 
+0x45 HCI_WRITE_INQUIRY_MODE 
+0x46 HCI_READ_PAGE_SCAN_TYPE 
+0x47 HCI_WRITE_PAGE_SCAN_TYPE 
+
+0x48 HCI_READ_AFH_CHANNEL_ACCESSMENT_MODE 
+0x49 HCI_WRITE_AFH_CHANNEL_ACCESSMENT_MODE 
+0x51 HCI_READ_EXTENDED_INQUIRY_RESPONSE
+0x52 HCI_WRITE_EXTENDED_INQUIRY_RESPONSE
+0x53 HCI_REFRESH_ENCRYPTION_KEY
+0x55 HCI_READ_SIMPLE_PAIRING_MODE
+0x56 HCI_WRITE_SIMPLE_PAIRING_MODE
+0x57 HCI_READ_LOCAL_OOB_DATA
+0x58 HCI_READ_INQUIRY_RESPONSE_TRANSMIT_POWER_LEVEL
+0x59 HCI_WRITE_INQUIRY_TRANSMIT_POWER_LEVEL
+0x60 HCI_SEND_KEYPRESS_NOTIFICATION
+0x5A HCI_READ_DEFAULT_ERRONEOUS_DATA_REPORTING
+0x5B HCI_WRITE_DEFAULT_ERRONEOUS_DATA_REPORTING
+0x5F HCI_ENHANCED_FLUSH
+0x61 HCI_READ_LOGICAL_LINK_ACCEPT_TIMEOUT
+0x62 HCI_WRITE_LOGICAL_LINK_ACCEPT_TIMEOUT
+0x63 HCI_SET_EVENT_MASK_PAGE_2
+0x64 HCI_READ_LOCATION_DATA
+0x65 HCI_WRITE_LOCATION_DATA
+0x66 HCI_READ_FLOW_CONTROL_MODE
+0x67 HCI_WRITE_FLOW_CONTROL_MODE
+0x68 HCI_READ_ENHANCE_TRANSMIT_POWER_LEVEL
+0x69 HCI_READ_BEST_EFFORT_FLUSH_TIMEOUT
+0x6A HCI_WRITE_BEST_EFFORT_FLUSH_TIMEOUT
+0x6B HCI_SHORT_RANGE_MODE
+0x6C HCI_READ_LE_HOST_SUPPORT
+0x6D HCI_WRITE_LE_HOST_SUPPORT
+0x6E HCI_SET_MWS_CHANNEL_PARAMETERS
+0x6F HCI_SET_EXTERNAL_FRAME_CONFIGURATION
+0x70 HCI_SET_MWS_SIGNALING
+0x71 HCI_SET_MWS_TRANSPORT_LAYER
+0x72 HCI_SET_MWS_SCAN_FREQUENCY_TABLE
+0x73 HCI_SET_MWS_PATTERN_CONFIGURATION
+0x74 HCI_SET_RESERVED_LT_ADDR
+0x75 HCI_DELETE_RESERVED_LT_ADDR
+0x76 HCI_SET_CONNECTIONLESS_SLAVE_BROADCAST_DATA
+0x77 HCI_READ_SYNCHRONIZATION_TRAIN_PARAMETERS
+0x78 HCI_WRITE_SYNCHRONIZATION_TRAIN_PARAMETERS
+0x79 HCI_READ_SECURE_CONNECTIONS_HOST_SUPPORT
+0x7A HCI_WRITE_SECURE_CONNECTIONS_HOST_SUPPORT
+0x7B HCI_READ_AUTHENTICATED_PAYLOAD_TIMEOUT
+0x7C HCI_WRITE_AUTHENTICATED_PAYLOAD_TIMEOUT
+0x7D HCI_READ_LOCAL_OOB_EXTENDED_DATA
+0x7E HCI_READ_EXTENDED_PAGE_TIMEOUT
+0x7F HCI_WRITE_EXTENDED_PAGE_TIMEOUT
+0x80 HCI_READ_EXTENDED_INQUIRY_LENGTH
+0x81 HCI_WRITE_EXTENDED_INQUIRY_LENGTH
+)
+
+
+// HCI informational parameters OCF values, OGF=4
+(
+0x01 HCI_READ_LOCAL_VERSION_INFORMATION 
+0x02 HCI_READ_LOCAL_SUPPORTED_COMMANDS
+0x03 HCI_READ_LOCAL_SUPPORTED_FEATURES 
+0x04 HCI_READ_LOCAL_EXT_FEATURES 
+0x05 HCI_READ_BUFFER_SIZE 
+0x07 HCI_READ_COUNTRY_CODE 
+0x09 HCI_READ_BD_ADDR 
+0x0A HCI_REJECT_CONNECTION_REQUEST
+0x0B HCI_READ_LOCAL_SUPPORTED_CODECS
+)
+
+// HCI status parameters OCF values, OGF=5
+(
+0x01 HCI_READ_FAILED_CONTACT_COUNTER 
+0x02 HCI_RESET_FAILED_CONTACT_COUNTER 
+0x03 HCI_GET_LINK_QUALITY 
+0x05 HCI_READ_RSSI 
+0x06 HCI_READ_AFH_CHANNEL_MAP
+0x07 HCI_READ_BD_CLOCK
+0x08 HCI_READ_ENCRYPTION_KEY_SIZE
+0x09 HCI_READ_LOCAL_AMP_INFO
+0x0A HCI_READ_LOCAL_AMP_ASSOC
+0x0B HCI_WRITE_REMOTE_AMP_ASSOC
+0x0C HCI_GET_MWS_TRANSPORT_LAYER_CONFIGURATION
+0x0D HCI_SET_TRIGGERED_CLOCK_CAPTURE
+)
+
+// HCI testing command OCF values, OGF=6
+(
+0x01 HCI_READ_LOOPBACK_MODE 
+0x02 HCI_WRITE_LOOPBACK_MODE 
+0x03 HCI_ENABLE_DEVICE_UNDER_TEST_MODE 
+0x04 HCI_WRITE_SIMPLE_PAIRING_DEBUG_MODE
+0x07 HCI_ENABLE_AMP_RECEIVER_REPORTS
+0x08 HCI_AMP_TEST_END
+0x09 HCI_AMP_TEST
+0x0A HCI_WRITE_SECURE_CONNECTIONS_TEST_MODE
+)
+
+// HCI vendor specific command OCF values -OGF=3F
+(
+0x01 HCI_WRITE_BD_ADDR 
+0x02 HCI_READ_INQUIRY_RESPONSE_TIMEOUT 
+0x03 HCI_WRITE_INQUIRY_RESPONSE_TIMEOUT 
+0x04 HCI_READ_PAGE_SCAN_REPETITION_MODE 
+0x05 HCI_WRITE_PAGE_SCAN_REPETITION_MODE 
+0x06 HCI_READ_PAGE_RESPONSE_TIMEOUT 
+0x07 HCI_WRITE_PAGE_RESPONSE_TIMEOUT 
+0x08 HCI_READ_NEW_CONNECTION_TIMEOUT 
+0x09 HCI_WRITE_NEW_CONNECTION_TIMEOUT 
+0x0a HCI_INITIALIZE_BASEBAND 
+0x0b HCI_WRITE_LOCAL_SUPPORTED_FEATURES 
+0x0c HCI_WRITE_PARK_PARAMETERS 
+0x0d HCI_READ_PARK_PARAMETERS 
+0x0e HCI_WRITE_QUALITY_OF_SERVICE 
+0x0f HCI_NOT_USED 
+0x10 HCI_MODIFY_BEACON_PARAMETERS 
+0x11 HCI_UNPARK_USING_PM_ADDR 
+0x12 HCI_WRITE_HOPPING_CHANNELS 
+0x13 HCI_SLEEP_FOREVER_MODE 
+0x14 HCI_WRITE_AUTO_PAGE_SCAN_ENABLE 
+0x15 HCI_READ_AUTO_PAGE_SCAN_ENABLE 
+0x16 HCI_SET_ENCRYPTION_KEY_SIZE 
+0x17 HCI_INVALIDATE_FLASH_AND_REBOOT 
+0x18 HCI_UPDATE_UART_BAUD_RATE 
+0x19 HCI_WRITE_GPIO_1_4_AS_OUTPUT 
+0x1A HCI_WRITE_GPIO_2_LED 
+0x1B HCI_SET_TESTMODE_TYPE 
+0x1C HCI_WRITE_SCO_PCM_INT_PARAM 
+0x1D HCI_READ_SCO_PCM_INT_PARAM 
+0x1E HCI_WRITE_PCM_DATA_FORMAT_PARAM 
+0x1F HCI_READ_PCM_DATA_FORMAT_PARAM 
+0x20 HCI_WRITE_COMFORT_NOISE_PARAM 
+0x21 HCI_READ_COMFORT_NOISE_PARAM 
+0x22 HCI_WRITE_SCO_TS 
+0x23 HCI_READ_SCO_TS 
+0x24 HCI_WRITE_PCM_LOOPBACK_MODE 
+0x25 HCI_READ_PCM_LOOPBACK_MODE 
+0x26 HCI_SET_TRANSMIT_POWER 
+0x27 HCI_SET_SLEEPMODE_PARAM 
+0x28 HCI_READ_SLEEPMODE_PARAM 
+0x29 HCI_SLEEPMODE_CMD 
+0x2A HCI_DELAY_PERIPHERAL_SCO_STARTUP 
+0x2B HCI_WRITE_RECEIVE_ONLY 
+0x2C HCI_WRITE_RATE_CONTROL 
+0x2D HCI_TX_UNMOD_CARRIER 
+0x2E HCI_DOWNLOAD_MINIDRIVER 
+0x2F HCI_CRYSTAL_PPM 
+0x30 HCI_SET_POWER_AMP_BIAS 
+0x31 HCI_SET_HAM_BEHAVIOR 
+0x32 HCI_SET_AFH_BEHAVIOR 
+0x33 HCI_READ_USER_DEFINED_NVRAM 
+0x34 HCI_ENABLE_RADIO 
+0x35 HCI_READ_DIAGNOSTIC_INFO 
+0x36 HCI_GET_HID_DEVICE_LIST 
+0x37 HCI_ADD_HID_DEVICE 
+0x38 HCI_READ_APP_FW_CONFIG_VERSION 
+0x39 HCI_DELETE_HID_DEVICE 
+0x3B HCI_ENABLE_USB_HID_EMULATION 
+// 0x3A available
+// 0x3B available
+0x3C HCI_SEND_LMPDU 
+0x3D HCI_AUTO_PAIR_REQ 
+0x3E HCI_READ_VS_EXTENSION 
+0x3F HCI_WRITE_VS_EXTENSION 
+
+0x77 HCI_OPCODE_FC77
+0x79 HCI_OPCODE_FC79
+0xC4 HCI_DOWNLOAD_PATCH
+0xCC HCI_OPCODE_FCCC
+
+0x00 HCI_VENDOR_CMD_RESET
+0x01 HCI_VENDOR_CMD_CHIPID
+0x02 HCI_VENDOR_CMD_BAUD
+0x03 HCI_VENDOR_CMD_PATCH
+0x04 HCI_VENDOR_CMD_PATCH_DONE
+0x05 HCI_VENDOR_CMD_ECHO
+0x06 HCI_VENDOR_CMD_BDADDR
+
+0x07 HCI_VENDOR_CMD_ENTER_LPM
+0x08 HCI_VENDOR_CMD_COMMU_READY
+
+0x10 HCI_VENDOR_CMD_MEM
+0x11 HCI_VENDOR_CMD_EEP
+
+0X12 HCI_VENDOR_CMD_PATCH_SEC_INIT
+0X13 HCI_VENDOR_CMD_PATCH_SEC
+0x14 HCI_VENDOR_CMD_SET_FLOW_CONTROL
+)
+
+//HCI LE controller command OCF values, OGF=8
+(
+0x01 HCI_LE_SET_EVENT_MASK
+0x02 HCI_LE_READ_BUFFER_SIZE
+0x03 HCI_LE_READ_LOCAL_SUPPORTED_FEATURES
+0x05 HCI_LE_SET_RANDOM_ADDRESS
+0x06 HCI_LE_SET_ADVERTISING_PARAMETERS
+0x07 HCI_LE_READ_ADVERTISING_CHANNEL_TX_POWER
+0x08 HCI_LE_SET_ADVERTISING_DATA
+0x09 HCI_LE_SET_SCAN_RESPONSE_DATA
+0x0A HCI_LE_SET_ADVERTISE_ENABLE
+0x0B HCI_LE_SET_SCAN_PARAMETERS
+0x0C HCI_LE_SET_SCAN_ENABLE
+0x0D HCI_LE_CREATE_CONNECTION
+0x0E HCI_LE_CREATE_CONNECTION_CANCEL
+0x0F HCI_LE_READ_WHITE_LIST_SIZE
+0x10 HCI_LE_CLEAR_WHITE_LIST
+0x11 HCI_LE_ADD_DEVICE_TO_WHITE_LIST
+0x12 HCI_LE_REMOVE_DEVICE_FROM_WHITE_LIST
+0x13 HCI_LE_CONNECTION_UPDATE
+0x14 HCI_LE_SET_HOST_CHANNEL_CLASSIFICATION
+0x15 HCI_LE_READ_CHANNEL_MAP
+0x16 HCI_LE_READ_REMOTE_USED_FEATURES
+0x17 HCI_LE_ENCRYPT
+0x18 HCI_LE_RAND
+0x19 HCI_LE_START_ENCRYPTION
+0x1A HCI_LE_LONG_TERM_KEY_REQUEST_REPLY
+0x1B HCI_LE_LONG_TERM_KEY_REQUEST_NEGATIVE_REPLY
+0x1C HCI_LE_READ_SUPPORTED_STATES
+0x1D HCI_LE_RECEIVER_TEST
+0x1E HCI_LE_TRANSMITTER_TEST
+0x1F HCI_LE_TEST_END
+0x20 HCI_LE_REMOTE_CONNECTION_PARAMETER_REQUEST_REPLY
+0x21 HCI_LE_REMOTE_CONNECTION_PARAMETER_REQUEST_NEGATIVE_REPLY
+)
+// HCI event code
+(
+0x01 HCI_EVENT_INQUIRY_COMPLETE
+0x02 HCI_EVENT_INQUIRY_RESULT
+0x03 HCI_EVENT_CONNECTION_COMPLETE
+0x04 HCI_EVENT_CONNECTION_REQUEST
+0x05 HCI_EVENT_DISCONNECTION_COMPLETE
+0x06 HCI_EVENT_AUTHENTICATION_COMPLETE
+0x07 HCI_EVENT_REMOTE_NAME_REQUEST_COMPLETE
+0x08 HCI_EVENT_ENCRYPTION_CHANGE_COMPLETE
+0x09 HCI_EVENT_CHANGE_CONNECTION_LINK_KEY_COMPLETE
+0x0A HCI_EVENT_MASTER_LINK_KEY_COMPLETE
+0x0B HCI_EVENT_READ_REMOTE_FEATURES_COMPLETE
+0x0C HCI_EVENT_READ_REMOTE_VERSION_INFORMATION_COMPLETE
+0x0D HCI_EVENT_QOS_SETUP_COMPLETE
+0x0E HCI_EVENT_COMMAND_COMPLETE
+0x0F HCI_EVENT_COMMAND_STATUS
+0x10 HCI_EVENT_HARDWARE_ERROR
+0x11 HCI_EVENT_FLUSH_OCCURRED
+0x12 HCI_EVENT_ROLE_CHANGE
+0x13 HCI_EVENT_NUM_COMPLETED_PACKETS
+0x14 HCI_EVENT_MODE_CHANGE
+0x15 HCI_EVENT_RETURN_LINK_KEYS
+0x16 HCI_EVENT_PIN_CODE_REQUEST
+0x17 HCI_EVENT_LINK_KEY_REQUEST
+0x18 HCI_EVENT_LINK_KEY_NOTIFICATION
+0x19 HCI_EVENT_LOOPBACK_COMMAND
+0x1A HCI_EVENT_DATA_BUFFER_OVERFLOW
+0x1B HCI_EVENT_MAX_SLOTS_CHANGE
+0x1C HCI_EVENT_READ_CLOCK_OFFSET_COMPLETE
+0x1D HCI_EVENT_CONNECTION_PACKET_TYPE_CHANGED
+0x1E HCI_EVENT_QOS_VIOLATION
+0x1F HCI_EVENT_PAGE_SCAN_MODE_CHANGE
+0x20 HCI_EVENT_PAGE_SCAN_REPETITION_MODE_CHANGE
+0x21 HCI_EVENT_FLOW_SPECIFICATION_COMPLETE
+0x22 HCI_EVENT_INQUIRY_RESULT_WITHRSSI
+0x23 HCI_EVENT_READ_REMOTE_EXT_FEATURES_COMPLETE
+0x2C HCI_EVENT_SCO_CONNECTION_COMPLETE
+0x2D HCI_EVENT_SCO_CONNECTION_CHANGED
+0x2E HCI_EVENT_SNIFF_SUBRATING
+0x2F HCI_EVENT_EXT_INQUIRY_RESULT
+0x30 HCI_EVENT_ENCRYPT_KEY_REFRESH_COMPLETE
+0x31 HCI_EVENT_IO_CAP_REQ
+0x32 HCI_EVENT_IO_CAP_RESPONSE
+0x33 HCI_EVENT_USER_CONFIRMATION_REQUEST
+0x34 HCI_EVENT_UESR_PASSKEY_REQUEST
+0x35 HCI_EVENT_REMOTE_OOB_DATA_REQUEST
+0x36 HCI_EVENT_SIMPLE_PAIRING_COMPLETE
+0x38 HCI_EVENT_LINK_SUPERVISION_TIMEOUT_CHANGED
+0x39 HCI_EVENT_ENHANCED_FLUSH_COMPLETE
+0x3B HCI_EVENT_USER_PASSKEY_NOTIFICATION
+0x3C HCI_EVENT_KEYPRESS_NOTIFICATION
+0x3D HCI_EVENT_REMOTE_HOST_SUPPORTED_FEATURES_NOTIFICATION 
+0x3E HCI_EVENT_LE_META_EVENT
+0x40 HCI_EVENT_PHYSICAL_LINK_COMPLETE
+0x41 HCI_EVENT_CHANNEL_SELECTED
+0x42 HCI_EVENT_DISCONNECTION_PHYSICAL_LINK_COMPLETE
+0x43 HCI_EVENT_PHYSICAL_LINK_LOSS_EARLY_WARNING
+0x44 HCI_EVENT_PHYSICAL_LINK_RECOVERY
+0x45 HCI_EVENT_LOGICAL_LINK_COMPLETE
+0x46 HCI_EVENT_DISCONNECTION_LOGICAL_LINK_COMPLETE
+0x47 HCI_EVENT_FLOW_SPEC_MODIFY_COMPLETE
+0x48 HCI_EVENT_NUMBER_OF_COMPLETED_DATA_BLOCKS
+0x49 HCI_EVENT_AMP_START_TEST
+0x4A HCI_EVENT_AMP_TEST_END
+0x4B HCI_EVENT_AMP_RECEIVER_REPORT
+0x4C HCI_EVENT_SHORT_RANGE_MODE_CHANGE_COMPLETE
+0x4D HCI_EVENT_AMP_STATUS_CHANGE
+0x4E HCI_EVENT_TRIGGERED_CLOCK_CAPTURE
+0x4F HCI_EVENT_SYNCHRONIZATION_TRAIN_COMPLETE
+0x50 HCI_EVENT_SYNCHRONIZATION_TRAIN_RECEIVED
+0x51 HCI_EVENT_CONNECTIONLESS_SLAVE_BROADCAST_RECEIVE
+0x52 HCI_EVENT_CONNECTIONLESS_SLAVE_BROADCAST_TIMEOUT
+0x53 HCI_EVENT_TRUNCATED_PAGE_COMPLETE
+0x54 HCI_EVENT_SLAVE_PAGE_RESPONSE_TIMEOUT
+0x55 HCI_EVENT_CONNECTIONLESS_SLAVE_BROADCAST_CHANNEL_MAP_CHANGE
+0x56 HCI_EVENT_INQUIRY_RESPONSE_NOTIFICATION
+0x57 HCI_EVENT_AUTHENTICATED_PAYLOAD_TIMEOUT_EXPIRED
+
+0xFE HCI_EVENT_LOGO_TESTING
+0xFF HCI_EVENT_VENDOR_SPECIFIC
+)
+(
+0x01 HCI_VENDOR_EVENT_COMMU_READY
+)
+//HCI LE SUBEVENT CODE
+(
+0x01 HCI_LE_SUBEVENT_CONN_COMPLETE
+0x02 HCI_LE_SUBEVENT_ADV_REPORT
+0x03 HCI_LE_SUBEVENT_CONN_UPDATE_COMPLETE
+0x04 HCI_LE_SUBEVENT_REMOTE_FEATURE_COMPLETE
+0x05 HCI_LE_SUBEVENT_LTK_REQUEST
+0x06 HCI_LE_SUBEVENT_REMOTE_CONN_PARAM_REQ
+)
+
Index: format/kscan_peipherals.format
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/format/kscan_peipherals.format	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/format/kscan_peipherals.format	(working copy)
@@ -0,0 +1,35 @@
+
+
+
+
+
+
+//0 mem_kscan_head_ptr
+//1 mem_col_num
+//1 mem_row_num
+//4 mem_col_conf_pin
+//4 mem_row_conf_pin
+//1 mem_row_count
+//1 mem_count_shift
+//2 mem_kscan_value_temp
+//2 mem_kscan_lastvalue
+//2 mem_kscan_value
+//4 mem_btclk_kscan
+//1 mem_btclk_kscan_interval
+
+
+0x00 KEYSCAN_OFFECT_COL_NUM
+0x01 KEYSCAN_OFFECT_ROW_NUM
+0x02 KEYSCAN_OFFECT_COL_CONF_PIN
+0x06 KEYSCAN_OFFECT_ROW_CONF_PIN
+
+0x0a KEYSCAN_OFFECT_ROW_COUNT
+0x0b KEYSCAN_OFFECT_SHIFT_COUNT
+
+0X0C KEYSCAN_OFFECT_VALUE_TEMP
+0X0E KEYSCAN_OFFECT_LASVALUE
+0X10 KEYSCAN_OFFECT_VALUE
+0x12 KEYSCAN_OFFECT_BTCLK
+0x16 KEYSCAN_OFFECT_BTCLK_INTERVAL
+
+
Index: format/l2cap.format
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/format/l2cap.format	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/format/l2cap.format	(working copy)
@@ -0,0 +1,443 @@
+
+memalloc(
+0 mem_l2cap_mem_start
+// L2CAP RX 
+2 mem_l2cap_rxbuff1_len
+2 mem_l2cap_rxbuff2_len
+2 mem_l2cap_rxbuff_new
+1 mem_l2cap_rxbuff_inuse
+2 mem_l2cap_payload_ptr
+2 mem_l2cap_rx_pkt_length
+2 mem_l2cap_rx_cid
+1 mem_l2cap_rx_done
+
+
+
+// L2CAP TX Signal channel
+2 mem_l2cap_signal_tx_buff_ptr
+2 mem_l2cap_signal_tx_payload_ptr
+2 mem_l2cap_signal_tx_length
+// L2CAP TX SDP channel
+2 mem_sdp_tx_buff_ptr
+2 mem_sdp_tx_payload_ptr
+2 mem_sdp_tx_pkt_length
+// L2CAP TX RFCOMM channel
+2 mem_rfcomm_tx_buff_ptr
+2 mem_rfcomm_tx_payload_ptr
+2 mem_rfcomm_tx_pkt_length
+
+
+
+//L2CAP Util
+
+2 memL2CAP_T1
+
+1 mem_CONTROL_tasks
+1 mem_send_config_req
+
+
+1 mem_config_identifier
+2 mem_config_req_dest_CID
+1 mem_rfcomm_malloc_fail_flag
+
+//L2CAP STATE MACHINE
+1 mem_message_to_uppersm
+1 mem_upper_sm_remote_page
+1 mem_upper_sm_reconn
+1 mem_upper_sm_ss
+
+
+64 mem_tx_malloc_log
+0 mem_l2cap_mem_end
+
+
+2 mem_scid
+2 mem_cmd_length
+2 mem_tt2
+2 mem_tt3
+2 mem_id
+2 mem_psm
+
+
+4 mem_l2cap_sdpres_delay_time
+)
+
+xmemalloc(
+0 mem_l2cap_xmem_start
+//*******************L2CAP TX MULTI-PACKET*********************//
+2 mem_l2cap_tx_multi_offset //0 means single packet
+
+//*******************CHANNEL ID*********************//
+2 mem_sdp_remote_cid
+2 mem_rfcomm_remote_cid
+2 mem_hid_ctrl_remote_cid
+2 mem_hid_int_remote_cid
+//*******************CHANNEL STATE*********************//
+1 mem_sdp_state
+1 mem_rfcomm_state
+1 mem_hid_control_state
+1 mem_hid_interrupt_state
+1 mem_spp_state
+1 mem_ML2CAP_comm_id
+
+//*******************L2CAP malloc********************//
+1 mem_used_map
+0 mem_tx_fifo0
+1 mem_tx_fifo0_map
+2 mem_tx_fifo0_ptr
+0 mem_tx_fifo1
+1 mem_tx_fifo1_map
+2 mem_tx_fifo1_ptr
+0 mem_tx_fifo2
+1 mem_tx_fifo2_map
+2 mem_tx_fifo2_ptr
+0 mem_tx_fifo3
+1 mem_tx_fifo3_map
+2 mem_tx_fifo3_ptr
+0 mem_tx_fifo_end
+256 mem_l2cap_lpm_txbuf
+//*******************MISC*********************//
+1 mem_l2cap_flow_ctrl_flag
+1 mem_l2cap_pending_item
+1 mem_l2cap_rcv_hidtype
+0 mem_l2cap_xmem_end
+
+)
+
+
+//mem_l2cap_lpm_txbuf
+(
+256 l2cap_lpm_txbuf_len
+)
+
+(
+4 L2CAP_TX_FIFO_SIZE
+8 L2CAP_TX_BUFF_CNT
+
+)
+(
+0x0002 L2CAP_SIG_EXT_FEATRUE
+0x0003 L2CAP_SIG_FIX_FEATRUE
+)
+
+
+(
+0 HS_IDLE
+1 AG_INIT_CALL
+2 HS_INIT_CALL
+)
+(
+0 M_ACL_LINK_ABSENT
+1 M_ACL_LINK_EXIST
+)
+
+(
+0 L2CAP_INUSE_BUFF1
+1 L2CAP_INUSE_BUFF2
+)
+/* upper layer interface w/ lower layer */
+(
+1 MAX_NUM_LINKS_ALLOWED
+1 MAX_NUM_SCO_ALLOWED
+1 ACL_LINK_PRESENT
+0 ACL_LINK_ABSENT
+)
+(
+1 L2CAP_RX_DONE 
+0 L2CAP_RX_CLEAR
+)
+/* Scheduler */
+(
+0 L2CAP_DISCONNECT_INTERRUPT
+1 RFCOMM_wants_service
+2 L2CAP_sig_Tx_buff_full
+3 RFCOMM_Tx_buff_full
+4 SDP_Tx_buff_full
+5 got_complete_L2CAP_pkt	
+6 L2CAP_init_Config_Req
+7 L2CAP_DISCONNECT_CONTROL
+)
+
+/* mem_CONTROL_tasks2 */
+(
+0 UI_NEED_SERVICE
+)
+/* L2CAP logic channel identifiers (2 bytes) p.261 */
+(
+0x0001 L2CAP_signal_channel
+0x0050 L2CAP_SDP_channel
+0x0051 L2CAP_RFCOMM_channel
+0x0052 L2CAP_HID_Control_channel   
+0x0053 L2CAP_HID_Interrupt_channel
+0x0077 L2CAP_AVDTP_signal_channel		//------avdtp
+0x0078 L2CAP_AVDTP_media_channel
+0x0079 L2CAP_AVDTP_report_channel
+0x0080 L2CAP_AVDTP_recovery_channel
+0x00dd L2CAP_AVCTP_Control_channel
+)
+/* L2CAP signalling command codes (1 byte) p.284 */
+(
+0x00 reserved
+0x01 signal_cmd_reject
+0x02 signal_connect_req
+0x03 signal_connect_rsp
+0x04 signal_config_req
+0x05 signal_config_rsp
+0x06 signal_disconnect_req
+0x07 signal_disconnect_rsp
+0x08 signal_echo_req
+0x09 signal_echo_rsp
+0x0a signal_info_req
+0x0b signal_info_rsp
+)
+/* L2CAP signal_command_reject reason code (2 bytes), p.285 */
+(
+0x0000 cmd_not_understood
+0x0001 signalling_MTU_exceeded
+0x0002 invalid_CID_in_req
+)
+/* L2CAP PSM values used in signal_connect_req (2 bytes), p.286 */
+(
+0x0001 PSM_SDP
+0x0003 PSM_RFCOMM
+0x0005 PSM_TCS
+0x0011 PSM_HID_control
+0x0013 PSM_HID_interrupt
+0x0017 PSM_AVCTP
+0x0019 PSM_AVDTP
+)
+/* L2CAP connection response result code (2 bytes), p.288 */
+(
+0x0000 L2CAP_connect_successful
+0x0001 L2CAP_connect_pending
+0x0002 L2CAP_connect_refused_PSM_unsupported
+0x0003 L2CAP_connect_refused_security_block
+0x0004 L2CAP_connect_refused_no_resources
+)
+/* L2CAP connection status values (2 bytes), p.288 */
+(
+0x0000 L2CAP_no_info_available
+0x0001 L2CAP_authentication_pending
+0x0002 L2CAP_authorization_pending
+)
+/* L2CAP configuration response result code (2 bytes), p.292 */
+(
+0x0000 L2CAP_config_success
+0x0001 L2CAP_config_failure_bad_parameters
+0x0002 L2CAP_config_failure_no_reason
+0x0003 L2CAP_config_failure_unknown_options
+)
+/* L2CAP constant definitions */
+(
+128 L2CAP_Rx_buff_size
+48  L2CAP_signal_Tx_buff_size
+128 SDP_Tx_buff_size
+128 RFCOMM_Tx_buff_size
+1 AM_ADDRESS
+3 DM1TYPE
+4 DH1TYPE
+11 DH3TYPE
+8 DVTYPE
+0 channel_state_closed
+1 channel_state_config
+2 channel_state_open
+0x0030 L2CAP_config_MTU_SDP
+0xffff L2CAP_config_ftimeout_SDP
+0x03e3 L2CAP_config_MTU_RFCOMM
+0xffff L2CAP_config_ftimeout_RFCOMM
+260 l2cap_max_pkt_len
+)
+
+(
+0 FAILURE
+1 SUCCESS
+2 IN_PROGRESS
+)
+(
+0x00	IDLE
+0x01	WAIT_4_BB_PAGE
+0x02	WAIT_4_LMP_CONN
+0x03	WAIT_4_SCO_CONN
+0x04	WAIT_4_SCO_KILLED
+)
+
+/*mem_master_mss*/
+(
+0 STOP_ENC
+1 SEND_SWITCH_REQ
+)
+(
+0 HF_HS_READY
+1 HF_AG_READY
+)
+/* mem_hf_state */
+(
+0 HF_STATE_WAITING_RFCOMM_CONN
+1 HF_STATE_HF_SEND_FEATURE
+2 HF_STATE_WAITING_AG_FEATURE_OK
+3 HF_STATE_HF_SEND_INDICATORS
+4 HF_STATE_WAITING_AG_INDICATORS_OK
+5 HF_STATE_HF_SEND_CURR_STATUS
+6 HF_STATE_WAITING_AG_STATUS_OK
+7 HF_STATE_HF_SEND_UPDATE_STATUS
+8 HF_STATE_WAITING_AG_UPDATE_STATUS_OK
+9 HF_STATE_CONNECTED
+0x0a HF_STATE_HF_SEND_RECEIVE_INFO
+0x0b HF_STATE_WAITING_AG_INFO
+0x0c HF_STATE_HF_SEND_AT_CLIP
+0x0d HF_STATE_WAITING_AT_CLIP
+0x0e HF_STATE_HF_SEND_AT_CCWA
+0x0f HF_STATE_WAITING_AT_CCWA
+)
+/*mem_hf_call_state*/
+(
+0 HF_CALL_STATE_INACTIVE
+1 HF_CALL_STATE_SETUP
+2 HF_CALL_STATE_ACTIVE 
+)
+/* mem_pairing_state bit definition */
+(
+0 PAIR_INQUIRY_START
+1 PAIR_INQUIRY_TIME_OUT
+2 PAIR_INQUIRY_FAILED
+3 PAIR_INQUIRY_SUCCESS
+4 PAIR_READY_CONN
+5 PAIR_WAIT_CANCEL_RESPONSE
+6 PAIR_CONN_SUCCESS
+7 PAIR_WAIT_DETACH
+)  
+
+/* mem_pairing_mode bit definition */
+(
+0 FORCE_AUTHENTICATION
+)
+/* mem_hid_protecol_type */
+(
+0 PROTECOL_BOOT /*default*/
+1 PROTECOL_REPORT
+)
+
+/* mem_upper_sm_reconn */
+(
+1 UPPERSM_SEND_SDP_CONN_REQ
+2 UPPERSM_SEND_SDP_CFG_REQ
+3 UPPERSM_SEND_SDP_HF_SS
+4 UPPERSM_SEND_SDP_DISC_REQ
+5 UPPERSM_SEND_RFCOMM_CONN_REQ
+6 UPPERSM_SEND_RFCOMM_CFG_REQ
+7 UPPERSM_SEND_SABM_CMD
+8 UPPERSM_SEND_DISC
+9 UPPERSM_SEND_WAIT
+10 UPPERSM_SEND_HID_CONTROL_CONN_REQ
+11 UPPERSM_SEND_HID_CONTROL_CFG_REQ
+12 UPPERSM_SEND_HID_INTERRUPT_CONN_REQ
+13 UPPERSM_SEND_HID_INTERRUPT_CFG_REQ
+14 UPPERSM_SEND_SDP_HS_SS
+15 UPPERSM_SEND_SDP_PBAP_SS
+16 UPPERSM_SEND_SDP_AVTARG_SS
+)
+/* mem_upper_sm_remote_page */
+(
+1 UPPERSM_RP_SEND_SDP_CONN_REQ
+2 UPPERSM_RP_SEND_SDP_CFG_REQ
+3 UPPERSM_RP_SEND_SDP_HF_SS
+4 UPPERSM_RP_SEND_SDP_HS_SS
+5 UPPERSM_RP_SEND_SDP_PBAP_SS
+6 UPPERSM_RP_SEND_SDP_AVTARG_SS
+7 UPPERSM_RP_SEND_SDP_DISC_REQ
+8 UPPERSM_RP_SEND_AVCTP_CONN_REQ
+9 UPPERSM_RP_SEND_AVCTP_CFG_REQ
+)
+
+/* mem_ML2CAP_flag */
+(
+0 MSCHEDULER_HID_CONTROL_CONN_DONE
+1 MSCHEDULER_HID_INTERRUPT_CONN_DONE
+2 MSCHEDULER_HID_CONTROL_CFG_REQ_DONE
+3 MSCHEDULER_HID_CONTROL_CFG_RSP_DONE
+4 MSCHEDULER_HID_INTERRUPT_CFG_REQ_DONE
+5 MSCHEDULER_HID_INTERRUPT_CFG_RSP_DONE
+6 MSCHEDULER_HID_CONTROL_DISC_DONE
+7 MSCHEDULER_HID_INTERRUPT_DISC_DONE
+)
+/*    ui event    --add by lj*/
+(
+0x00 UI_DATA_EVNET_NONE
+0x01 UI_DATA_EVNET_HID
+0x02 UI_DATA_EVNET_AVDTP_S
+0x03 UI_DATA_EVNET_AVDTP_M
+0x04 UI_DATA_EVNET_AVCTP
+0x05 UI_DATA_EVNET_HS
+0x06 UI_DATA_EVNET_HF
+0x07 UI_DATA_EVNET_SPP
+0x08 UI_DATA_EVNET_OBEX
+)
+/*    ui ack --add by lj*/
+(
+0x00 UI_DATA_TX_NONE
+0x01 UI_DATA_TX_HID
+0x02 UI_DATA_TX_AVDTP_S
+0x03 UI_DATA_TX_AVDTP_M
+0x04 UI_DATA_TX_AVCTP
+0x05 UI_DATA_TX_HS
+0x06 UI_DATA_TX_HF
+0x07 UI_DATA_TX_SPP
+0x08 UI_DATA_TX_OBEX
+0x10 ACL_TX_L2CAP_SIGNAL
+0x11 ACL_TX_SDP
+0x12 ACL_TX_RFCOMM
+
+)
+
+(
+0 L2CAP_SDP_interface_conn
+1 L2CAP_SDP_interface_cfg
+)
+
+(                                   
+0 L2CAP_CHANNEL_STATE_CONN_REQ      
+1 L2CAP_CHANNEL_STATE_CONN_RES      
+2 L2CAP_CHANNEL_STATE_SND_CFG_REQ   
+3 L2CAP_CHANNEL_STATE_SND_CFG_RES   
+4 L2CAP_CHANNEL_STATE_RCV_CFG_REQ   
+5 L2CAP_CHANNEL_STATE_RCV_CFG_RES
+6 L2CAP_CHANNEL_RFCOMM_ONLY_SABM
+7 L2CAP_CHANNEL_RFCOMM_ONLY_UA
+6 L2CAP_CHANNEL_AVDTP_SIGNAL_INIT //set avdtp init complete
+6 L2CAP_CHANNEL_HID_HANDSHAKE_DONE
+0x3f L2CAP_CHANNEL_SETUP_COMPLETE
+0x7f L2CAP_CHANNEL_AVDTP_SIGNAL_COMPLETE
+0xff L2CAP_CHANNEL_RFCOMM_DLCI0_OPENED
+)                                     
+
+/*  AVDTP---lj*/
+(
+0 L2CAP_AVDTP_SIGNAL_CONNECT
+1 L2CAP_AVDTP_SIGNAL_CONFIG
+2 L2CAP_AVDTP_MEDIA_CONNECT
+3 L2CAP_AVDTP_MEDIA_CONFIG
+4 L2CAP_AVDTP_REPORT_CONNECT
+5 L2CAP_AVDTP_REPORT_CONFIG
+6 L2CAP_AVDTP_RECOVERY_CONNECT
+7 L2CAP_AVDTP_RECOVERY_CONFIG
+)
+/*  AVCTP---lj*/
+(
+0 L2CAP_AVCTP_SIGNAL_CONNECT
+1 L2CAP_AVCTP_SIGNAL_CONFIG
+)
+
+127 L2CAP_SIGNAL_MALLOC_SIZE
+
+//1 mem_rfcomm_malloc_fail_flag
+(
+0 RFCOMM_MALLOC_SUCCEED
+1 RFCOMM_MALLOC_FAIL
+)
+
+//mem_l2cap_flow_ctrl_flag
+(
+0 L2CAP_FLOW_CTRL_DISABLE
+1 L2CAP_FLOW_CTRL_ENABLE
+)
+
Index: format/lmp.format
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/format/lmp.format	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/format/lmp.format	(working copy)
@@ -0,0 +1,249 @@
+
+memalloc(
+
+1 mem_lmo_header_length
+1 mem_lmo_header_opcode
+17 mem_lmo_payload
+1 mem_lmi_accepted_opcode
+1 mem_disconn_reason_send
+1 mem_tx_fixed_freq
+1 mem_rx_fixed_freq
+1 mem_ext_features_page
+2 mem_lmpext_ssp_enable
+1 mem_remote_sppcap
+
+1 mem_lmp_conn_state
+2 mem_soft_timer
+1 mem_pincode_state
+
+1 mem_sres_tid
+1 mem_accptsco_tid
+
+1 mem_wait_encryption
+
+16 mem_sniff_payload
+4 mem_aurand_send_delay_time
+)
+
+xmemalloc(
+1 mem_lmo_header_opcode_x
+1 mem_lmp_version
+2 mem_lmp_compid
+2 mem_lmp_subversion
+1 mem_local_name_length
+3 mem_local_name
+64 mem_local_name2
+1 mem_local_name_end
+1 mem_unsniff2sniff_timer
+1 mem_switch_flag
+1 mem_classic_bt_flag
+1 mem_encapsulated_major_type
+1 mem_encapsulated_minor_type
+1 mem_encapsulated_len
+1 mem_remote_br_sc_support
+)
+
+	(
+	//bit flag:mem_classic_bt_flag
+	0 FLAG_SSP_REJECT_JUSTWORK
+	1 SHORT_MULT_FLAG
+	)
+	
+	(
+	//bit map
+	0 pair_state_inrand
+	1 pair_state_inrand_acpt
+	2 pair_state_send_comb
+	3 pair_state_recv_comb
+	4 pair_state_send_aurand
+	5 pair_state_recv_sres
+	6 pair_state_recv_aurand
+	7 pair_state_send_sres	
+	)
+	/* LMP opcodes */
+	(
+	1 LMP_NAME_REQ 
+	2 LMP_NAME_RES 
+	3 LMP_ACCEPTED 
+	4 LMP_NOT_ACCEPTED 
+	5 LMP_CLKOFFSET_REQ 
+	6 LMP_CLKOFFSET_RES 
+	7 LMP_DETACH 
+	8 LMP_IN_RAND 
+	9 LMP_COMB_KEY 
+	10 LMP_UNIT_KEY 
+	11 LMP_AU_RAND 
+	12 LMP_SRES 
+	13 LMP_TEMP_RAND 
+	14 LMP_TEMP_KEY 
+	15 LMP_ENCRYPTION_MODE_REQ 
+	16 LMP_ENCRYPTION_KEY_SIZE_REQ 
+	17 LMP_START_ENCRYPTION_REQ 
+	18 LMP_STOP_ENCRYPTION_REQ 
+	19 LMP_SWITCH_REQ 
+	20 LMP_HOLD
+	21 LMP_HOLD_REQ
+	23 LMP_SNIFF_REQ 
+	24 LMP_UNSNIFF_REQ 
+	26 LMP_PARK_REQ 
+	27 LMP_SET_BROADCAST_SCAN_WINDOW 
+	28 LMP_MODIFY_BEACON 
+	29 LMP_UNPARK_BD_ADDR_REQ 
+	30 LMP_UNPARK_PM_ADDR_REQ 
+	31 LMP_INCR_POWER_REQ 
+	32 LMP_DECR_POWER_REQ 
+	33 LMP_MAX_POWER 
+	34 LMP_MIN_POWER 
+	35 LMP_AUTO_RATE 
+	36 LMP_PREFERRED_RATE 
+	37 LMP_VERSION_REQ 
+	38 LMP_VERSION_RES 
+	39 LMP_FEATURES_REQ 
+	40 LMP_FEATURES_RES 
+	41 LMP_QUALITY_OF_SERVICE 
+	42 LMP_QUALITY_OF_SERVICE_REQ 
+	43 LMP_SCO_LINK_REQ 
+	44 LMP_REMOVE_SCO_LINK_REQ 
+	45 LMP_MAX_SLOT 
+	46 LMP_MAX_SLOT_REQ 
+	47 LMP_TIMING_ACCURACY_REQ 
+	48 LMP_TIMING_ACCURACY_RES 
+	49 LMP_SETUP_COMPLETE 
+	50 LMP_USE_SEMI_PERMANENT_KEY 
+	51 LMP_HOST_CONNECTION_REQ 
+	52 LMP_SLOT_OFFSET 
+	53 LMP_PAGE_MODE_REQ 
+	54 LMP_PAGE_SCAN_MODE_REQ 
+	55 LMP_SUPERVISION_TIMEOUT 
+	56 LMP_TEST_ACTIVATE
+	57 LMP_TEST_CONTROL
+	58 LMP_ENC_KEY_SIZE_MASK_REQ
+	59 LMP_ENC_KEY_SIZE_MASK_RES
+	60 LMP_SET_AFH
+
+	/* simple pairing support */
+	61 LMP_ENCAPSULATED_HEADER
+	62 LMP_ENCAPSULATED_PAYLOAD
+	63 LMP_SIMPLE_PAIRING_CONFIRM
+	64 LMP_SIMPLE_PAIRING_NUMBER
+	65 LMP_DHKEY_CHECK
+	127 LMP_ESCAPE
+	127 LMP_ESCAPE_4   /* add 2bytes LMP header support  */   
+	)
+	/* LMP EXT opcodes, ORed with bit 7 to make difference to nonEXT */
+	(
+	129 LMP_EXT_ACCEPTED
+	130 LMP_NOT_ACCEPTED_EXT
+	131 LMP_EXT_FEATURES_REQ
+	132 LMP_EXT_FEATURES_RES
+	139 LMP_PACKET_TYPE_TABLE_REQ
+	140 LMP_EXT_ESCO_LINK_REQ
+	141 LMP_EXT_REMOVE_ESCO_REQ
+	144 LMP_EXT_CHN_CLASSIFICATION_REQ
+	145 LMP_EXT_CHN_CLASSIFICATION
+	149 LMP_SNIFF_SUBRATING_REQ
+	150 LMP_SNIFF_SUBRATING_RES
+	151 LMP_PAUSE_ENCRYPTION_REQ
+	152 LMP_RESUME_ENCRYPTION_REQ
+	153 LMP_IO_CAP_REQ
+	154 LMP_IO_CAP_RES
+	161 LMP_PING_REQ
+	162 LMP_PING_RES
+	)
+	/* LMP reason codes */
+	(
+	0x05 AUTHENTICATION_FAILURE_ERROR
+	0x06 KEY_MISSING
+	0x0b ACL_CONNECTION_ALREADY_EXISTS
+	0x13 OTHER_END_TERMINATED
+	0x15 ABOUT_TO_POEWR_OFF
+	0x16 LOCAL_HOST
+	0x18 PAIRING_NOT_ALLOWED
+	0x19 UNKNOWN_LMP_PDU
+	0x1A UNSUPPORTED_LMP_FEATURE 
+	0x1F UNSPECIFIED_ERROR
+	0x20 UNSUPPORTED_PARAMETERS
+	0x21 SWITCH_NOT_ALLOWED
+	0x23 TRANSACTION_COLLISION
+	0x24 PDU_NOT_ALLOWED
+	0x25 ENCRYPTION_MODE_NOT_ACCEPTABLE
+	0x2e NOT_SUPPORT_CHN_CLASSIFICATION
+	0x37 NOT_SUPPORT_SSP
+	)
+
+	/* test mode scenarios */
+	(
+	0 PAUSE_TEST_MODE
+	1 ZERO_PATTERN
+	2 ONE_PATTERN
+	3 ALT_PATTERN
+	4 PSEUDORANDOM
+	5 CLOSED_LOOP_BACK_ACL
+	6 CLOSED_LOOP_BACK_SCO
+	7 ACL_WITHOUT_WHITENING
+	8 SCO_WITHOUT_WHITENING
+	9 ALT2_PATTERN
+	255 EXIT_TEST_MODE
+	)
+	/* test mode hoppig modes */
+	(
+	0 FIXED_FREQ
+	1 NORMAL_HOP
+	)
+
+	/* mem_lmp_tid indicates which type of LMP will be sent */
+	(
+	0 TID_NORM_REPLY
+	1 TID_NORM_SEND
+	2 TID_ONE
+	3 TID_ZERO
+	4 TID_PAIRING
+	5 TID_ENCRYPTION
+	6 TID_VARIABLE
+	7 TID_RX
+	)
+
+	/* ============== lmp status ==========*/
+	(
+	0 lmp_incoming
+	1 lmp_outgoing
+	2 lmp_reject_msg
+	3 lmp_clear_msg
+	4 upper_reject_msg
+	5 upper_clear_msg
+	)
+
+(
+0x2ee00 TIMER_ONE_MINUTE //96000*2
+80 TIMER_SWITCH_WAITE
+12 TIMER_ENPT_WAITE
+)
+
+(
+0 SWITCH_FLAG_INIT
+1 SWITCH_FLAG_ACCEPT
+2 SWITCH_FLAG_NOT_ACCEPT
+)
+(
+0 NULL_ENCRYP
+1 DONE_ENCRYP
+)
+
+
+(
+3 LMP_FEATURES_EXT_PAGE1_SC_HOST_BIT
+)
+
+(
+8 LMP_FEATURES_EXT_PAGE2_SC_CONTROLLER_BIT
+)
+
+
+//mem_remote_br_sc_support
+(
+0 REMOTE_BR_SC_HOST_BIT
+1 REMOTE_BR_SC_CONTROLLER_BIT
+)
+  
+
+
Index: format/memblocks.format
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/format/memblocks.format	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/format/memblocks.format	(working copy)
@@ -0,0 +1,54 @@
+//
+//
+//Large memory blocks defined in this file.
+//Blocks Shall be defined with absolute address.
+//Blocks' length Shall be specified in comment following Blocks' names.
+//Different blocks MAY be overlap.
+//Blocks defined in this file Shall NOT be overlap with variable in memmap.format.
+
+// USB C51 exchange area
+(
+0xff0 mem_mcmd
+0xff1 mem_mouse_data
+)
+
+//l2cap RX buffers
+(
+0x1000 mem_le_l2cap_buf		//0x400
+0x1000 mem_l2cap_rxbuff1		//0x400
+0x1400 mem_l2cap_rxbuff2		//0x400
+//end address:0x17ff
+)
+//l2cap TX buffers
+(
+0x1800 mem_tx_buff0		//128
+0x0080 mem_bt_l2cap_tx_buff_size
+0x1400 mem_ble_tx_buff0
+0x0100 mem_ble_l2cap_tx_buff_size
+)
+
+(
+0x1800 mem_le_tx_buffer0
+0x1900 mem_le_tx_buffer1
+0x1a00 mem_le_tx_buffer2
+0x1b00 mem_le_tx_buffer3
+//end addr:0x1dff
+)
+
+
+//uart buffer
+(
+0x1800 mem_h5rx_buf//0x400
+0x1bff mem_h5rx_buf_end
+0x1c00 mem_h5tx_buf
+0x1fff mem_h5tx_buf_end
+)
+
+
+(
+0x1800 mem_ir_record
+0x1c      mem_ir_record_max
+)
+
+0x4c00 mem_savelist
+
Index: format/mesh_protocol_stack/mesh_access_layer.format
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/format/mesh_protocol_stack/mesh_access_layer.format	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/format/mesh_protocol_stack/mesh_access_layer.format	(working copy)
@@ -0,0 +1,348 @@
+
+memalloc ali_mesh(
+	1 mem_mesh_receive_model_message_payload_len
+	1 mem_mesh_receive_model_message_payload_opcode
+	23 mem_mesh_receive_model_message_payload
+
+	1 mem_mesh_access_layer_payload_len
+	0 mem_mesh_access_layer_payload
+	50 mem_mesh_access_payload
+	50 mem_mesh_access_payload_padding	//为了透传模块预留
+)
+
+amemalloc mem_mesh_receive_model_message_payload(
+	3 mem_mesh_NETKeyindex_and_APPKeyindex
+	16 mem_mesh_receive_application_key
+)
+
+
+(//status codes
+0 STATUS_CODE_SUCCESS
+)
+
+
+// ali vendor message
+(
+0xD0 VENDOR_MESSAGE_ATTR_GET
+0xD1 VENDOR_MESSAGE_ATTR_SET
+0xD2 VENDOR_MESSAGE_ATTR_SET_UNACKNOWLEDGED
+0xD3 VENDOR_MESSAGE_ATTR_STATUS
+0xD4 VENDOR_MESSAGE_ATTR_INDICATION
+0xD5 VENDOR_MESSAGE_ATTR_CONFIRMATION
+0xCF VENDOR_MESSAGE_TRANSPARENT_MSG
+)
+
+
+
+(//configuration message and health message opcode
+0x80 MESH_CONFIGURATION_AND_HEALTH_MESSAGE_OPCODE_HEADER
+
+0x00 MESH_MESSAGE_OPCODE_CONFIG_APPKEY_ADD
+0x01 MESH_MESSAGE_OPCODE_CONFIG_APPKEY_UPDATE
+0x02 MESH_MESSAGE_OPCODE_CONFIG_COMPOSITION_DATA_STATUS
+0x03 MESH_MESSAGE_OPCODE_CONFIG_CONFIG_MODEL_PUBLICATION_SET
+0x04 MESH_MESSAGE_OPCODE_HEALTH_CURRENT_STATUS
+0x05 MESH_MESSAGE_OPCODE_HEALTH_FAULT_STATUS
+0x06 MESH_MESSAGE_OPCODE_CONFIG_HEARTBEAT_PUBLICATION_STATUS
+0x00 MESH_MESSAGE_OPCODE_CONFIG_APPKEY_DELETE_NO_HEAD
+0x01 MESH_MESSAGE_OPCODE_CONFIG_APPKEY_GET_NO_HEAD
+0x02 MESH_MESSAGE_OPCODE_CONFIG_APPKEY_LIST_NO_HEAD
+0x03 MESH_MESSAGE_OPCODE_CONFIG_APPKEY_STATUS_NO_HEAD
+0x04 MESH_MESSAGE_OPCODE_HEALTH_ATTENTION_GET_NO_HEAD
+0x05 MESH_MESSAGE_OPCODE_HEALTH_ATTENTION_SET_NO_HEAD
+0x06 MESH_MESSAGE_OPCODE_HEALTH_ATTENTION_SET_UNACKNOWLEDGED_NO_HEAD
+0x07 MESH_MESSAGE_OPCODE_HEALTH_ATTENTION_STATUS_NO_HEAD
+0x08 MESH_MESSAGE_OPCODE_CONFIG_COMPOSITION_DATA_GET_NO_HEAD
+0x09 MESH_MESSAGE_OPCODE_CONFIG_BEACON_GET_NO_HEAD
+0x0A MESH_MESSAGE_OPCODE_CONFIG_BEACON_SET_NO_HEAD
+0x0B MESH_MESSAGE_OPCODE_CONFIG_BEACON_STATUS_NO_HEAD
+0x0C MESH_MESSAGE_OPCODE_CONFIG_DEFAULT_TTL_GET_NO_HEAD
+0x0D MESH_MESSAGE_OPCODE_CONFIG_DEFAULT_TTL_SET_NO_HEAD
+0x0E MESH_MESSAGE_OPCODE_CONFIG_DEFAULT_TTL_STATUS_NO_HEAD
+0x0F MESH_MESSAGE_OPCODE_CONFIG_FRIEND_GET_NO_HEAD
+0x10 MESH_MESSAGE_OPCODE_CONFIG_FRIEND_SET_NO_HEAD
+0x11 MESH_MESSAGE_OPCODE_CONFIG_FRIEND_STATUS_NO_HEAD
+0x12 MESH_MESSAGE_OPCODE_CONFIG_GATT_PROXY_GET_NO_HEAD
+0x13 MESH_MESSAGE_OPCODE_CONFIG_GATT_PROXY_SET_NO_HEAD
+0x14 MESH_MESSAGE_OPCODE_CONFIG_GATT_PROXY_STATUS_NO_HEAD
+0x15 MESH_MESSAGE_OPCODE_CONFIG_KEY_REFRESH_PHASE_GET_NO_HEAD
+0x16 MESH_MESSAGE_OPCODE_CONFIG_KEY_REFRESH_PHASE_SET_NO_HEAD
+0x17 MESH_MESSAGE_OPCODE_CONFIG_KEY_REFRESH_PHASE_STATUS_NO_HEAD
+0x18 MESH_MESSAGE_OPCODE_CONFIG_MODEL_PUBLICATION_GET_NO_HEAD
+0x19 MESH_MESSAGE_OPCODE_CONFIG_MODEL_PUBLICATION_STATUS_NO_HEAD
+0x1A MESH_MESSAGE_OPCODE_CONFIG_MODEL_PUBLICATION_VIRTUAL_ADDRESS_SET_NO_HEAD
+0x1B MESH_MESSAGE_OPCODE_CONFIG_MODEL_SUBSCRIPTION_ADD_NO_HEAD
+0x1C MESH_MESSAGE_OPCODE_CONFIG_MODEL_SUBSCRIPTION_DELETE_NO_HEAD
+0x1D MESH_MESSAGE_OPCODE_CONFIG_MODEL_SUBSCRIPTION_DELETE_ALL_NO_HEAD
+0x1E MESH_MESSAGE_OPCODE_CONFIG_MODEL_SUBSCRIPTION_OVERWRITE_NO_HEAD
+0x1F MESH_MESSAGE_OPCODE_CONFIG_MODEL_SUBSCRIPTION_STATUS_NO_HEAD
+0x20 MESH_MESSAGE_OPCODE_CONFIG_MODEL_SUBSCRIPTION_VIRTUAL_ADDRESS_ADD_NO_HEAD
+0x21 MESH_MESSAGE_OPCODE_CONFIG_MODEL_SUBSCRIPTION_VIRTUAL_ADDRESS_DELETE_NO_HEAD
+0x22 MESH_MESSAGE_OPCODE_CONFIG_MODEL_SUBSCRIPTION_VIRTUAL_ADDRESS_OVERWRITE_NO_HEAD
+0x23 MESH_MESSAGE_OPCODE_CONFIG_NETWORK_TRANSMIT_GET_NO_HEAD
+0x24 MESH_MESSAGE_OPCODE_CONFIG_NETWORK_TRANSMIT_SET_NO_HEAD
+0x25 MESH_MESSAGE_OPCODE_CONFIG_NETWORK_TRANSMIT_STATUS_NO_HEAD
+0x26 MESH_MESSAGE_OPCODE_CONFIG_RELAY_GET_NO_HEAD
+0x27 MESH_MESSAGE_OPCODE_CONFIG_RELAY_SET_NO_HEAD
+0x28 MESH_MESSAGE_OPCODE_CONFIG_RELAY_STATUS_NO_HEAD
+0x29 MESH_MESSAGE_OPCODE_CONFIG_SIG_MODEL_SUBSCRIPTION_GET_NO_HEAD
+0x2A MESH_MESSAGE_OPCODE_CONFIG_SIG_MODEL_SUBSCRIPTION_LIST_NO_HEAD
+0x2B MESH_MESSAGE_OPCODE_CONFIG_VENDOR_MODEL_SUBSCRIPTION_GET_NO_HEAD
+0x2C MESH_MESSAGE_OPCODE_CONFIG_VENDOR_MODEL_SUBSCRIPTION_LIST_NO_HEAD
+0x2D MESH_MESSAGE_OPCODE_CONFIG_LOW_POWER_NODE_POLLTIMEOUT_GET_NO_HEAD
+0x2E MESH_MESSAGE_OPCODE_CONFIG_LOW_POWER_NODE_POLLTIMEOUT_STATUS_NO_HEAD
+0x2F MESH_MESSAGE_OPCODE_HEALTH_FAULT_CLEAR_NO_HEAD
+0x30 MESH_MESSAGE_OPCODE_HEALTH_FAULT_CLEAR_UNACKNOWLEDGED_NO_HEAD
+0x31 MESH_MESSAGE_OPCODE_HEALTH_FAULT_GET_NO_HEAD
+0x32 MESH_MESSAGE_OPCODE_HEALTH_FAULT_TEST_NO_HEAD
+0x33 MESH_MESSAGE_OPCODE_HEALTH_FAULT_TEST_UNACKNOWLEDGED_NO_HEAD
+0x34 MESH_MESSAGE_OPCODE_HEALTH_PERIOD_GET_NO_HEAD
+0x35 MESH_MESSAGE_OPCODE_HEALTH_PERIOD_SET_NO_HEAD
+0x36 MESH_MESSAGE_OPCODE_HEALTH_PERIOD_SET_UNACKNOWLEDGED_NO_HEAD
+0x37 MESH_MESSAGE_OPCODE_HEALTH_PERIOD_STATUS_NO_HEAD
+0x38 MESH_MESSAGE_OPCODE_CONFIG_HEARTBEAT_PUBLICATION_GET_NO_HEAD
+0x39 MESH_MESSAGE_OPCODE_CONFIG_HEARTBEAT_PUBLICATION_SET_NO_HEAD
+0x3A MESH_MESSAGE_OPCODE_CONFIG_HEARTBEAT_SUBSCRIPTION_GET_NO_HEAD
+0x3B MESH_MESSAGE_OPCODE_CONFIG_HEARTBEAT_SUBSCRIPTION_SET_NO_HEAD
+0x3C MESH_MESSAGE_OPCODE_CONFIG_HEARTBEAT_SUBSCRIPTION_STATUS_NO_HEAD
+0x3D MESH_MESSAGE_OPCODE_CONFIG_MODEL_APP_BIND_NO_HEAD
+0x3E MESH_MESSAGE_OPCODE_CONFIG_MODEL_APP_STATUS_NO_HEAD
+0x3F MESH_MESSAGE_OPCODE_CONFIG_MODEL_APP_UNBIND_NO_HEAD
+0x40 MESH_MESSAGE_OPCODE_CONFIG_NETKEY_ADD_NO_HEAD
+0x41 MESH_MESSAGE_OPCODE_CONFIG_NETKEY_DELETE_NO_HEAD
+0x42 MESH_MESSAGE_OPCODE_CONFIG_NETKEY_GET_NO_HEAD
+0x43 MESH_MESSAGE_OPCODE_CONFIG_NETKEY_LIST_NO_HEAD
+0x44 MESH_MESSAGE_OPCODE_CONFIG_NETKEY_STATUS_NO_HEAD
+0x45 MESH_MESSAGE_OPCODE_CONFIG_NETKEY_UPDATE_NO_HEAD
+0x46 MESH_MESSAGE_OPCODE_CONFIG_NODE_IDENTITY_GET_NO_HEAD
+0x47 MESH_MESSAGE_OPCODE_CONFIG_NODE_IDENTITY_SET_NO_HEAD
+0x48 MESH_MESSAGE_OPCODE_CONFIG_NODE_IDENTITY_STATUS_NO_HEAD
+0x49 MESH_MESSAGE_OPCODE_CONFIG_NODE_RESET_NO_HEAD
+0x4A MESH_MESSAGE_OPCODE_CONFIG_NODE_RESET_STATUS_NO_HEAD
+0x4B MESH_MESSAGE_OPCODE_CONFIG_SIG_MODEL_APP_GET_NO_HEAD
+0x4C MESH_MESSAGE_OPCODE_CONFIG_SIG_MODEL_APP_LIST_NO_HEAD
+0x4D MESH_MESSAGE_OPCODE_CONFIG_VENDOR_MODEL_APP_GET_NO_HEAD
+0x4E MESH_MESSAGE_OPCODE_CONFIG_VENDOR_MODEL_APP_LIST_NO_HEAD
+)
+
+(//Modle message opcode
+0x82 MESH_MODULE_MESSAGE_OPCODE_HEADER
+
+0x01 MESH_MODULE_MESSAGE_OPCODE_GENERIC_ONOFF_GET_NO_HEAD
+0x02 MESH_MODULE_MESSAGE_OPCODE_GENERIC_ONOFF_SET_NO_HEAD
+0x03 MESH_MODULE_MESSAGE_OPCODE_GENERIC_ONOFF_SET_UNACKNOWLEDGED_NO_HEAD
+0x04 MESH_MODULE_MESSAGE_OPCODE_GENERIC_ONOFF_STATUS_NO_HEAD
+0x05 MESH_MODULE_MESSAGE_OPCODE_GENERIC_LEVEL_GET_NO_HEAD
+0x06 MESH_MODULE_MESSAGE_OPCODE_GENERIC_LEVEL_SET_NO_HEAD
+0x07 MESH_MODULE_MESSAGE_OPCODE_GENERIC_LEVEL_SET_UNACKNOWLEDGED_NO_HEAD
+0x08 MESH_MODULE_MESSAGE_OPCODE_GENERIC_LEVEL_STATUS_NO_HEAD
+0x09 MESH_MODULE_MESSAGE_OPCODE_GENERIC_DELTA_SET_NO_HEAD
+0x0A MESH_MODULE_MESSAGE_OPCODE_GENERIC_DELTA_SET_UNACKNOWLEDGED_NO_HEAD
+0x0B MESH_MODULE_MESSAGE_OPCODE_GENERIC_MOVE_SET_NO_HEAD
+0x0C MESH_MODULE_MESSAGE_OPCODE_GENERIC_MOVE_SET_UNACKNOWLEDGED_NO_HEAD
+0x0D MESH_MODULE_MESSAGE_OPCODE_GENERIC_DEFAULT_TRANSITION_TIME_GET_NO_HEAD
+0x0E MESH_MODULE_MESSAGE_OPCODE_GENERIC_DEFAULT_TRANSITION_TIME_SET_NO_HEAD
+0x0F MESH_MODULE_MESSAGE_OPCODE_GENERIC_DEFAULT_TRANSITION_TIME_SET_UNACKNOWLEDGED_NO_HEAD
+0x10 MESH_MODULE_MESSAGE_OPCODE_GENERIC_DEFAULT_TRANSITION_TIME_STATUS_NO_HEAD
+0x11 MESH_MODULE_MESSAGE_OPCODE_GENERIC_ONPOWERUP_GET_NO_HEAD
+0x12 MESH_MODULE_MESSAGE_OPCODE_GENERIC_ONPOWERUP_STATUS_NO_HEAD
+0x13 MESH_MODULE_MESSAGE_OPCODE_GENERIC_ONPOWERUP_SET_NO_HEAD
+0x14 MESH_MODULE_MESSAGE_OPCODE_GENERIC_ONPOWERUP_SET_UNACKNOWLEDGED_NO_HEAD
+0x15 MESH_MODULE_MESSAGE_OPCODE_GENERIC_POWER_LEVEL_GET_NO_HEAD
+0x16 MESH_MODULE_MESSAGE_OPCODE_GENERIC_POWER_LEVEL_SET_NO_HEAD
+0x17 MESH_MODULE_MESSAGE_OPCODE_GENERIC_POWER_LEVEL_SET_UNACKNOWLEDGED_NO_HEAD
+0x18 MESH_MODULE_MESSAGE_OPCODE_GENERIC_POWER_LEVEL_STATUS_NO_HEAD
+0x19 MESH_MODULE_MESSAGE_OPCODE_GENERIC_POWER_LAST_GET_NO_HEAD
+0x1A MESH_MODULE_MESSAGE_OPCODE_GENERIC_POWER_LAST_STATUS_NO_HEAD
+0x1B MESH_MODULE_MESSAGE_OPCODE_GENERIC_POWER_DEFAULT_GET_NO_HEAD
+0x1C MESH_MODULE_MESSAGE_OPCODE_GENERIC_POWER_DEFAULT_STATUS_NO_HEAD
+0x1D MESH_MODULE_MESSAGE_OPCODE_GENERIC_POWER_RANGE_GET_NO_HEAD
+0x1E MESH_MODULE_MESSAGE_OPCODE_GENERIC_POWER_RANGE_STATUS_NO_HEAD
+0x1F MESH_MODULE_MESSAGE_OPCODE_GENERIC_POWER_DEFAULT_SET_NO_HEAD
+0x20 MESH_MODULE_MESSAGE_OPCODE_GENERIC_POWER_DEFAULT_SET_UNACKNOWLEDGED_NO_HEAD
+0x21 MESH_MODULE_MESSAGE_OPCODE_GENERIC_POWER_RANGE_SET_NO_HEAD
+0x22 MESH_MODULE_MESSAGE_OPCODE_GENERIC_POWER_RANGE_SET_UNACKNOWLEDGED_NO_HEAD
+0x23 MESH_MODULE_MESSAGE_OPCODE_GENERIC_BATTERY_GET_NO_HEAD
+0x24 MESH_MODULE_MESSAGE_OPCODE_GENERIC_BATTERY_STATUS_NO_HEAD
+0x25 MESH_MODULE_MESSAGE_OPCODE_GENERIC_LOCATION_GLOBAL_GET_NO_HEAD
+0x40 MESH_MODULE_MESSAGE_OPCODE_GENERIC_LOCATION_GLOBAL_STATUS
+0x26 MESH_MODULE_MESSAGE_OPCODE_GENERIC_LOCATION_LOCAL_GET_NO_HEAD
+0x27 MESH_MODULE_MESSAGE_OPCODE_GENERIC_LOCATION_LOCAL_STATUS_NO_HEAD
+0x41 MESH_MODULE_MESSAGE_OPCODE_GENERIC_LOCATION_GLOBAL_SET
+0x42 MESH_MODULE_MESSAGE_OPCODE_GENERIC_LOCATION_GLOBAL_SET_UNACKNOWLEDGED
+0x28 MESH_MODULE_MESSAGE_OPCODE_GENERIC_LOCATION_LOCAL_SET_NO_HEAD
+0x29 MESH_MODULE_MESSAGE_OPCODE_GENERIC_LOCATION_LOCAL_SET_UNACKNOWLEDGED_NO_HEAD
+0x2A MESH_MODULE_MESSAGE_OPCODE_GENERIC_MANUFACTURER_PROPERTIES_GET_NO_HEAD
+0x43 MESH_MODULE_MESSAGE_OPCODE_GENERIC_MANUFACTURER_PROPERTIES_STATUS
+0x2B MESH_MODULE_MESSAGE_OPCODE_GENERIC_MANUFACTURER_PROPERTY_GET_NO_HEAD
+0x44 MESH_MODULE_MESSAGE_OPCODE_GENERIC_MANUFACTURER_PROPERTY_SET
+0x45 MESH_MODULE_MESSAGE_OPCODE_GENERIC_MANUFACTURER_PROPERTY_SET_UNACKNOWLEDGED
+0x46 MESH_MODULE_MESSAGE_OPCODE_GENERIC_MANUFACTURER_PROPERTY_STATUS
+0x2C MESH_MODULE_MESSAGE_OPCODE_GENERIC_ADMIN_PROPERTIES_GET_NO_HEAD
+0x47 MESH_MODULE_MESSAGE_OPCODE_GENERIC_ADMIN_PROPERTIES_STATUS
+0x2D MESH_MODULE_MESSAGE_OPCODE_GENERIC_ADMIN_PROPERTY_GET_NO_HEAD
+0x48 MESH_MODULE_MESSAGE_OPCODE_GENERIC_ADMIN_PROPERTY_SET
+0x49 MESH_MODULE_MESSAGE_OPCODE_GENERIC_ADMIN_PROPERTY_SET_UNACKNOWLEDGED
+0x4A MESH_MODULE_MESSAGE_OPCODE_GENERIC_ADMIN_PROPERTY_STATUS
+0x2E MESH_MODULE_MESSAGE_OPCODE_GENERIC_USER_PROPERTIES_GET_NO_HEAD
+0x4B MESH_MODULE_MESSAGE_OPCODE_GENERIC_USER_PROPERTIES_STATUS
+0x2F MESH_MODULE_MESSAGE_OPCODE_GENERIC_USER_PROPERTY_GET_NO_HEAD
+0x4C MESH_MODULE_MESSAGE_OPCODE_GENERIC_USER_PROPERTY_SET
+0x4D MESH_MODULE_MESSAGE_OPCODE_GENERIC_USER_PROPERTY_SET_UNACKNOWLEDGED
+0x4E MESH_MODULE_MESSAGE_OPCODE_GENERIC_USER_PROPERTY_STATUS
+0x4F MESH_MODULE_MESSAGE_OPCODE_GENERIC_CLIENT_PROPERTIES_GET
+0x50 MESH_MODULE_MESSAGE_OPCODE_GENERIC_CLIENT_PROPERTIES_STATUS
+0x30 MESH_MODULE_MESSAGE_OPCODE_SENSOR_DESCRIPTOR_GET_NO_HEAD
+0x51 MESH_MODULE_MESSAGE_OPCODE_SENSOR_DESCRIPTOR_STATUS
+0x31 MESH_MODULE_MESSAGE_OPCODE_SENSOR_GET_NO_HEAD
+0x52 MESH_MODULE_MESSAGE_OPCODE_SENSOR_STATUS
+0x32 MESH_MODULE_MESSAGE_OPCODE_SENSOR_COLUMN_GET_NO_HEAD
+0x53 MESH_MODULE_MESSAGE_OPCODE_SENSOR_COLUMN_STATUS
+0x33 MESH_MODULE_MESSAGE_OPCODE_SENSOR_SERIES_GET_NO_HEAD
+0x54 MESH_MODULE_MESSAGE_OPCODE_SENSOR_SERIES_STATUS
+0x34 MESH_MODULE_MESSAGE_OPCODE_SENSOR_CADENCE_GET_NO_HEAD
+0x55 MESH_MODULE_MESSAGE_OPCODE_SENSOR_CADENCE_SET
+0x56 MESH_MODULE_MESSAGE_OPCODE_SENSOR_CADENCE_SET_UNACKNOWLEDGED
+0x57 MESH_MODULE_MESSAGE_OPCODE_SENSOR_CADENCE_STATUS
+0x35 MESH_MODULE_MESSAGE_OPCODE_SENSOR_SETTINGS_GET_NO_HEAD
+0x58 MESH_MODULE_MESSAGE_OPCODE_SENSOR_SETTINGS_STATUS
+0x36 MESH_MODULE_MESSAGE_OPCODE_SENSOR_SETTING_GET_NO_HEAD
+0x59 MESH_MODULE_MESSAGE_OPCODE_SENSOR_SETTING_SET
+0x5A MESH_MODULE_MESSAGE_OPCODE_SENSOR_SETTING_SET_UNACKNOWLEDGED
+0x5B MESH_MODULE_MESSAGE_OPCODE_SENSOR_SETTING_STATUS
+0x37 MESH_MODULE_MESSAGE_OPCODE_TIME_GET_NO_HEAD
+0x5C MESH_MODULE_MESSAGE_OPCODE_TIME_SET
+0x5D MESH_MODULE_MESSAGE_OPCODE_TIME_STATUS
+0x38 MESH_MODULE_MESSAGE_OPCODE_TIME_ROLE_GET_NO_HEAD
+0x39 MESH_MODULE_MESSAGE_OPCODE_TIME_ROLE_SET_NO_HEAD
+0x3A MESH_MODULE_MESSAGE_OPCODE_TIME_ROLE_STATUS_NO_HEAD
+0x3B MESH_MODULE_MESSAGE_OPCODE_TIME_ZONE_GET_NO_HEAD
+0x3C MESH_MODULE_MESSAGE_OPCODE_TIME_ZONE_SET_NO_HEAD
+0x3D MESH_MODULE_MESSAGE_OPCODE_TIME_ZONE_STATUS_NO_HEAD
+0x3E MESH_MODULE_MESSAGE_OPCODE_TAI_UTC_DELTA_GET_NO_HEAD
+0x3F MESH_MODULE_MESSAGE_OPCODE_TAI_UTC_DELTA_SET_NO_HEAD
+0x40 MESH_MODULE_MESSAGE_OPCODE_TAI_UTC_DELTA_STATUS_NO_HEAD
+0x41 MESH_MODULE_MESSAGE_OPCODE_SCENE_GET_NO_HEAD
+0x42 MESH_MODULE_MESSAGE_OPCODE_SCENE_RECALL_NO_HEAD
+0x43 MESH_MODULE_MESSAGE_OPCODE_SCENE_RECALL_UNACKNOWLEDGED_NO_HEAD
+0x5E MESH_MODULE_MESSAGE_OPCODE_SCENE_STATUS
+0x44 MESH_MODULE_MESSAGE_OPCODE_SCENE_REGISTER_GET_NO_HEAD
+0x45 MESH_MODULE_MESSAGE_OPCODE_SCENE_REGISTER_STATUS_NO_HEAD
+0x46 MESH_MODULE_MESSAGE_OPCODE_SCENE_STORE_NO_HEAD
+0x47 MESH_MODULE_MESSAGE_OPCODE_SCENE_STORE_UNACKNOWLEDGED_NO_HEAD
+0x9E MESH_MODULE_MESSAGE_OPCODE_SCENE_DELETE_NO_HEAD
+0x9F MESH_MODULE_MESSAGE_OPCODE_SCENE_DELETE_UNACKNOWLEDGED_NO_HEAD
+0x48 MESH_MODULE_MESSAGE_OPCODE_SCHEDULER_ACTION_GET_NO_HEAD
+0x5F MESH_MODULE_MESSAGE_OPCODE_SCHEDULER_ACTION_STATUS
+0x49 MESH_MODULE_MESSAGE_OPCODE_SCHEDULER_GET_NO_HEAD
+0x4A MESH_MODULE_MESSAGE_OPCODE_SCHEDULER_STATUS_NO_HEAD
+0x60 MESH_MODULE_MESSAGE_OPCODE_SCHEDULER_ACTION_SET
+0x61 MESH_MODULE_MESSAGE_OPCODE_SCHEDULER_ACTION_SET_UNACKNOWLEDGED
+0x4B MESH_MODULE_MESSAGE_OPCODE_LIGHT_LIGHTNESS_LIGHT_LIGHTNESS_GET_NO_HEAD
+0x4C MESH_MODULE_MESSAGE_OPCODE_LIGHT_LIGHTNESS_SET_NO_HEAD
+0x4D MESH_MODULE_MESSAGE_OPCODE_LIGHT_LIGHTNESS_SET_UNACKNOWLEDGED_NO_HEAD
+0x4E MESH_MODULE_MESSAGE_OPCODE_LIGHT_LIGHTNESS_STATUS_NO_HEAD
+0x4F MESH_MODULE_MESSAGE_OPCODE_LIGHT_LIGHTNESS_LINEAR_GET_NO_HEAD
+0x50 MESH_MODULE_MESSAGE_OPCODE_LIGHT_LIGHTNESS_LINEAR_SET_NO_HEAD
+0x51 MESH_MODULE_MESSAGE_OPCODE_LIGHT_LIGHTNESS_LINEAR_SET_UNACKNOWLEDGED_NO_HEAD
+0x52 MESH_MODULE_MESSAGE_OPCODE_LIGHT_LIGHTNESS_LINEAR_STATUS_NO_HEAD
+0x53 MESH_MODULE_MESSAGE_OPCODE_LIGHT_LIGHTNESS_LAST_GET_NO_HEAD
+0x54 MESH_MODULE_MESSAGE_OPCODE_LIGHT_LIGHTNESS_LAST_STATUS_NO_HEAD
+0x55 MESH_MODULE_MESSAGE_OPCODE_LIGHT_LIGHTNESS_DEFAULT_GET_NO_HEAD
+0x56 MESH_MODULE_MESSAGE_OPCODE_LIGHT_LIGHTNESS_DEFAULT_STATUS_NO_HEAD
+0x57 MESH_MODULE_MESSAGE_OPCODE_LIGHT_LIGHTNESS_RANGE_GET_NO_HEAD
+0x58 MESH_MODULE_MESSAGE_OPCODE_LIGHT_LIGHTNESS_RANGE_STATUS_NO_HEAD
+0x59 MESH_MODULE_MESSAGE_OPCODE_LIGHT_LIGHTNESS_DEFAULT_SET_NO_HEAD
+0x5A MESH_MODULE_MESSAGE_OPCODE_LIGHT_LIGHTNESS_DEFAULT_SET_UNACKNOWLEDGED_NO_HEAD
+0x5B MESH_MODULE_MESSAGE_OPCODE_LIGHT_LIGHTNESS_RANGE_SET_NO_HEAD
+0x5C MESH_MODULE_MESSAGE_OPCODE_LIGHT_LIGHTNESS_RANGE_SET_UNACKNOWLEDGED_NO_HEAD
+0x5D MESH_MODULE_MESSAGE_OPCODE_LIGHT_CTL_GET_NO_HEAD
+0x5E MESH_MODULE_MESSAGE_OPCODE_LIGHT_CTL_SET_NO_HEAD
+0x5F MESH_MODULE_MESSAGE_OPCODE_LIGHT_CTL_SET_UNACKNOWLEDGED_NO_HEAD
+0x60 MESH_MODULE_MESSAGE_OPCODE_LIGHT_CTL_STATUS_NO_HEAD
+0x61 MESH_MODULE_MESSAGE_OPCODE_LIGHT_CTL_TEMPERATURE_GET_NO_HEAD
+0x62 MESH_MODULE_MESSAGE_OPCODE_LIGHT_CTL_TEMPERATURE_RANGE_GET_NO_HEAD
+0x63 MESH_MODULE_MESSAGE_OPCODE_LIGHT_CTL_TEMPERATURE_RANGE_STATUS_NO_HEAD
+0x64 MESH_MODULE_MESSAGE_OPCODE_LIGHT_CTL_TEMPERATURE_SET_NO_HEAD
+0x65 MESH_MODULE_MESSAGE_OPCODE_LIGHT_CTL_TEMPERATURE_SET_UNACKNOWLEDGED_NO_HEAD
+0x66 MESH_MODULE_MESSAGE_OPCODE_LIGHT_CTL_TEMPERATURE_STATUS_NO_HEAD
+0x67 MESH_MODULE_MESSAGE_OPCODE_LIGHT_CTL_DEFAULT_GET_NO_HEAD
+0x68 MESH_MODULE_MESSAGE_OPCODE_LIGHT_CTL_DEFAULT_STATUS_NO_HEAD
+0x69 MESH_MODULE_MESSAGE_OPCODE_LIGHT_CTL_DEFAULT_SET_NO_HEAD
+0x6A MESH_MODULE_MESSAGE_OPCODE_LIGHT_CTL_DEFAULT_SET_UNACKNOWLEDGED_NO_HEAD
+0x6B MESH_MODULE_MESSAGE_OPCODE_LIGHT_CTL_TEMPERATURE_RANGE_SET_NO_HEAD
+0x6C MESH_MODULE_MESSAGE_OPCODE_LIGHT_CTL_TEMPERATURE_RANGE_SET_UNACKNOWLEDGED_NO_HEAD
+0x6D MESH_MODULE_MESSAGE_OPCODE_LIGHT_HSL_GET_NO_HEAD
+0x6E MESH_MODULE_MESSAGE_OPCODE_LIGHT_HSL_HUE_GET_NO_HEAD
+0x6F MESH_MODULE_MESSAGE_OPCODE_LIGHT_HSL_HUE_SET_NO_HEAD
+0x70 MESH_MODULE_MESSAGE_OPCODE_LIGHT_HSL_HUE_SET_UNACKNOWLEDGED_NO_HEAD
+0x71 MESH_MODULE_MESSAGE_OPCODE_LIGHT_HSL_HUE_STATUS_NO_HEAD
+0x72 MESH_MODULE_MESSAGE_OPCODE_LIGHT_HSL_SATURATION_GET_NO_HEAD
+0x73 MESH_MODULE_MESSAGE_OPCODE_LIGHT_HSL_SATURATION_SET_NO_HEAD
+0x74 MESH_MODULE_MESSAGE_OPCODE_LIGHT_HSL_SATURATION_SET_UNACKNOWLEDGED_NO_HEAD
+0x75 MESH_MODULE_MESSAGE_OPCODE_LIGHT_HSL_SATURATION_STATUS_NO_HEAD
+0x76 MESH_MODULE_MESSAGE_OPCODE_LIGHT_HSL_SET_NO_HEAD
+0x77 MESH_MODULE_MESSAGE_OPCODE_LIGHT_HSL_SET_UNACKNOWLEDGED_NO_HEAD
+0x78 MESH_MODULE_MESSAGE_OPCODE_LIGHT_HSL_STATUS_NO_HEAD
+0x79 MESH_MODULE_MESSAGE_OPCODE_LIGHT_HSL_TARGET_GET_NO_HEAD
+0x7A MESH_MODULE_MESSAGE_OPCODE_LIGHT_HSL_TARGET_STATUS_NO_HEAD
+0x7B MESH_MODULE_MESSAGE_OPCODE_LIGHT_HSL_DEFAULT_GET_NO_HEAD
+0x7C MESH_MODULE_MESSAGE_OPCODE_LIGHT_HSL_DEFAULT_STATUS_NO_HEAD
+0x7D MESH_MODULE_MESSAGE_OPCODE_LIGHT_HSL_RANGE_GET_NO_HEAD
+0x7E MESH_MODULE_MESSAGE_OPCODE_LIGHT_HSL_RANGE_STATUS_NO_HEAD
+0x7F MESH_MODULE_MESSAGE_OPCODE_LIGHT_HSL_DEFAULT_SET_NO_HEAD
+0x80 MESH_MODULE_MESSAGE_OPCODE_LIGHT_HSL_DEFAULT_SET_UNACKNOWLEDGED_NO_HEAD
+0x81 MESH_MODULE_MESSAGE_OPCODE_LIGHT_HSL_RANGE_SET_NO_HEAD
+0x83 MESH_MODULE_MESSAGE_OPCODE_LIGHT_XYL_GET_NO_HEAD
+0x84 MESH_MODULE_MESSAGE_OPCODE_LIGHT_XYL_SET_NO_HEAD
+0x85 MESH_MODULE_MESSAGE_OPCODE_LIGHT_XYL_SET_UNACKNOWLEDGED_NO_HEAD
+0x86 MESH_MODULE_MESSAGE_OPCODE_LIGHT_XYL_STATUS_NO_HEAD
+0x87 MESH_MODULE_MESSAGE_OPCODE_LIGHT_XYL_TARGET_GET_NO_HEAD
+0x88 MESH_MODULE_MESSAGE_OPCODE_LIGHT_XYL_TARGET_STATUS_NO_HEAD
+0x89 MESH_MODULE_MESSAGE_OPCODE_LIGHT_XYL_DEFAULT_GET_NO_HEAD
+0x8A MESH_MODULE_MESSAGE_OPCODE_LIGHT_XYL_DEFAULT_STATUS_NO_HEAD
+0x8B MESH_MODULE_MESSAGE_OPCODE_LIGHT_XYL_RANGE_GET_NO_HEAD
+0x8C MESH_MODULE_MESSAGE_OPCODE_LIGHT_XYL_RANGE_STATUS_NO_HEAD
+0x8D MESH_MODULE_MESSAGE_OPCODE_LIGHT_XYL_DEFAULT_SET_NO_HEAD
+0x8E MESH_MODULE_MESSAGE_OPCODE_LIGHT_XYL_DEFAULT_SET_UNACKNOWLEDGED_NO_HEAD
+0x8F MESH_MODULE_MESSAGE_OPCODE_LIGHT_XYL_RANGE_SET_NO_HEAD
+0x90 MESH_MODULE_MESSAGE_OPCODE_LIGHT_XYL_RANGE_SET_UNACKNOWLEDGED_NO_HEAD
+0x91 MESH_MODULE_MESSAGE_OPCODE_LIGHT_LC_MODE_GET_NO_HEAD
+0x92 MESH_MODULE_MESSAGE_OPCODE_LIGHT_LC_MODE_SET_NO_HEAD
+0x93 MESH_MODULE_MESSAGE_OPCODE_LIGHT_LC_MODE_SET_UNACKNOWLEDGED_NO_HEAD
+0x94 MESH_MODULE_MESSAGE_OPCODE_LIGHT_LC_MODE_STATUS_NO_HEAD
+0x95 MESH_MODULE_MESSAGE_OPCODE_LIGHT_LC_OM_GET_NO_HEAD
+0x96 MESH_MODULE_MESSAGE_OPCODE_LIGHT_LC_OM_SET_NO_HEAD
+0x97 MESH_MODULE_MESSAGE_OPCODE_LIGHT_LC_OM_SET_UNACKNOWLEDGED_NO_HEAD
+0x98 MESH_MODULE_MESSAGE_OPCODE_LIGHT_LC_OM_STATUS_NO_HEAD
+0x99 MESH_MODULE_MESSAGE_OPCODE_LIGHT_LC_LIGHT_ONOFF_GET_NO_HEAD
+0x9A MESH_MODULE_MESSAGE_OPCODE_LIGHT_LC_LIGHT_ONOFF_SET_NO_HEAD
+0x9B MESH_MODULE_MESSAGE_OPCODE_LIGHT_LC_LIGHT_ONOFF_SET_UNACKNOWLEDGED_NO_HEAD
+0x9C MESH_MODULE_MESSAGE_OPCODE_LIGHT_LC_LIGHT_ONOFF_STATUS_NO_HEAD
+0x9D MESH_MODULE_MESSAGE_OPCODE_LIGHT_LC_PROPERTY_GET_NO_HEAD
+0x62 MESH_MODULE_MESSAGE_OPCODE_LIGHT_LC_PROPERTY_SET
+0x63 MESH_MODULE_MESSAGE_OPCODE_LIGHT_LC_PROPERTY_SET_UNACKNOWLEDGED
+0x64 MESH_MODULE_MESSAGE_OPCODE_LIGHT_LC_PROPERTY_STATUS)
+
+// status code
+(
+0x00 MESH_SUCCESS
+0x01 MESH_INVALID_ADDRESS
+0x02 MESH_INVALID_MODEL
+0x03 MESH_INVALID_APPKEYINDEX
+0x04 MESH_INVALID_NETKEYINDEX
+0x05 MESH_INSUFFICIENT_RESOURCES
+0x06 MESH_KEYINDEX_ALREAD_STORED
+0x07 MESH_INVALID_PUBLISH_PARAMETERS
+0x08 MESH_NOT_A_SUBSCRIBE_MODEL
+0x09 MESH_STORAGE_FAILURE
+0x0a MESH_FEATURE_NOT_SUPPORTED
+0x0b MESH_CANNOT_UPDATE
+0x0c MESH_CANNOT_REMOVE
+0x0d MESH_CANNOT_BIND
+0x0e MESH_TEMPORARILY_UNABLE_TO_CHANGE_STATE
+0x0f MESH_CANNOT_SET
+0x10 MESH_UNSPECIFIED_ERROR
+0x11 MESH_INVALID_BINDING
+)
+
Index: format/mesh_protocol_stack/mesh_ali_vendor_message.format
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/format/mesh_protocol_stack/mesh_ali_vendor_message.format	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/format/mesh_protocol_stack/mesh_ali_vendor_message.format	(working copy)
@@ -0,0 +1,149 @@
+
+xmemalloc ali_mesh(
+	1 mem_mesh_vendor_mesh_receive_tid
+	1 mem_mesh_vendor_mesh_send_tid
+
+	4 mem_mesh_vendor_timer_current_time
+	4 mem_system_time
+)
+
+amemalloc mem_mesh_receive_model_message_payload(
+	2 mem_mesh_vendor_message_cid
+	1 mem_mesh_vendor_message_tid
+	2 mem_mesh_vendor_message_attr_type
+)
+
+amemalloc mem_mesh_receive_model_message_payload(
+	5 mem_mesh_vendor_message_header
+	0 mem_mesh_vendor_attr_parameter
+)
+
+amemalloc mem_mesh_receive_model_message_payload(
+	5 mem_mesh_vendor_message_delay_close_time_header
+	2 mem_mesh_vendor_delay_close_time
+)
+
+amemalloc mem_mesh_receive_model_message_payload(
+	5 mem_mesh_vendor_message_night_light_onoff_header
+	1 mem_mesh_vendor_night_light_onoff
+)
+
+amemalloc mem_mesh_receive_model_message_payload(
+	5 mem_mesh_vendor_message_color_header
+	2 mem_mesh_vendor_color_lightness
+	2 mem_mesh_vendor_color_hue
+	2 mem_mesh_vendor_color_saturation
+)
+
+amemalloc mem_mesh_receive_model_message_payload(
+	5 mem_mesh_vendor_message_back_light_onoff_header
+	1 mem_mesh_vendor_back_light_onoff
+)
+
+amemalloc mem_mesh_receive_model_message_payload(
+	5 mem_mesh_vendor_message_main_light_onoff_header
+	1 mem_mesh_vendor_main_light_onoff
+)
+
+amemalloc mem_mesh_receive_model_message_payload(
+	5 mem_mesh_vendor_message_standby_brightness_header
+	2 mem_mesh_vendor_standby_brightness
+)
+
+amemalloc mem_mesh_receive_model_message_payload(
+	5 mem_mesh_vendor_message_current_time_header
+	4 mem_mesh_vendor_message_current_time
+)
+
+
+amemalloc mem_mesh_receive_model_message_payload(
+	5 mem_mesh_vendor_message_timer_header
+	1 mem_mesh_vendor_timer_timing_index
+	0 mem_mesh_vendor_timer_timing_index1
+	4 mem_mesh_vendor_timer_timing_time
+	2 mem_mesh_vendor_timer_timing_attr_type
+	1 mem_mesh_vendor_timer_timing_attr_para
+)
+
+amemalloc mem_mesh_receive_model_message_payload(
+	5 mem_mesh_vendor_message_timer_cyclic_header
+	1 mem_mesh_vendor_timer_timing_index_cyclic
+	2 mem_mesh_vendor_timer_timing_time_cyclic
+	1 mem_mesh_vendor_timer_timing_weekdays_cyclic
+	2 mem_mesh_vendor_timer_timing_attr_type_cyclic
+	1 mem_mesh_vendor_timer_timing_attr_para_cyclic
+	1 mem_mesh_vendor_timer_timing_cyclic_flag
+)
+
+amemalloc mem_mesh_access_layer_payload(
+	//ali mesh vendor struct
+	1 mem_mesh_access_layer_payload_vendor_command
+	2 mem_mesh_access_layer_payload_vendor_CID
+	1 mem_mesh_access_layer_payload_vendor_tid
+	2 mem_mesh_access_layer_payload_vendor_attr_type
+	1 mem_mesh_access_layer_payload_vendor_attr_parameter
+)
+
+
+(
+0x00F0 VENDOR_MESSAGE_TMALL_DST
+)
+
+(// vendor model attribute
+0x0123 VENDOR_ATTR_COLOR_SERVER
+0x0100 VENDOR_ATTR_GENERIC_ONOFF_SERVER
+0x0121 VENDOR_ATTR_LIGHTNESS_LEVEL_SERVER
+0x0122 VENDOR_ATTR_COLOR_TEMPERATURE_SERVER
+0x0534 VENDOR_ATTR_MAIN_LIGHT_SERVER
+0x0533 VENDOR_ATTR_BACKGROUND_LIGHT_ONOFF_SERVER
+0xf004 VENDOR_ATTR_SCENE_SERVER
+)
+
+(//Timer opcode
+0x01A8 VENDOR_MESSAGE_OPCODE_COMPANY_ID
+//时间
+0xF01F VENDOR_MESSAGE_ATTR_TYPE_TIME
+//时区
+0xF01E VENDOR_MESSAGE_ATTR_TYPE_TIME_ZONE
+//对时
+0xF01D VENDOR_MESSAGE_ATTR_TYPE_ON_TIME
+//定时
+0xF010 VENDOR_MESSAGE_ATTR_TYPE_TIMING
+//周期定时
+0xF011 VENDOR_MESSAGE_ATTR_TYPE_CYCLE_TIMING
+//删除定时
+0xF012 VENDOR_MESSAGE_ATTR_TYPE_DELETE_TIMING
+
+//颜色
+0x0123 VENDOR_MESSAGE_ATTR_TYPE_COLOR
+//主灯
+0x0534 VENDOR_MESSAGE_ATTR_TYPE_MAIN_LIGHT
+//背光灯
+0x0533 VENDOR_MESSAGE_ATTR_TYPE_BACKGROUND_LIGHT
+)
+
+(//天猫event事件表
+//设备发生的事件，比如上电或者定时完成
+0xF009 VENDOR_ATTR_TYPE_EVENT_TRIGGER
+
+//天猫设备上电
+0x03 VENDOR_MESSAGE_EVENT_DEVICE_POWER_ON
+//天猫定时完成
+0x11 VENDOR_MESSAGE_EVENT_FINISH_TIMING
+)
+
+(
+0x80 VENDOR_MESSAGE_SEND_TID_MIN
+0xC0 VENDOR_MESSAGE_SEND_TID_MAX
+)
+
+(
+0x59 TIMER_CYCLICAL_FALG
+60 SECONDS_OF_MIN
+345600 SECONDS_OF_FOUR_DAYS
+604800 SECONDS_OF_WEEK
+86400 SECONDS_OF_DAY
+0x01e0 EIGHT_HOURS_TIME_ZONE_OFFSET
+
+)
+
Index: format/mesh_protocol_stack/mesh_bearer_layer.format
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/format/mesh_protocol_stack/mesh_bearer_layer.format	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/format/mesh_protocol_stack/mesh_bearer_layer.format	(working copy)
@@ -0,0 +1,10 @@
+
+memalloc ali_mesh(
+	0 mem_mesh_queue_ele_temp
+	1 mem_mesh_queue_ele_duration
+	1 mem_mesh_queue_ele_gatt_msg_id
+	1 mem_mesh_queue_ele_len
+	31 mem_mesh_queue_ele_payload
+	1 mem_mesh_queue_ele_padding
+)
+
Index: format/mesh_protocol_stack/mesh_ble_core_advertising.format
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/format/mesh_protocol_stack/mesh_ble_core_advertising.format	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/format/mesh_protocol_stack/mesh_ble_core_advertising.format	(working copy)
@@ -0,0 +1,26 @@
+
+memalloc ali_mesh(
+	39 mem_le_txheader_mesh_temp
+	
+)
+
+xmemalloc ali_mesh(
+
+	
+	1 mem_mesh_adv_data_len
+	31 mem_mesh_adv_data
+
+	1 mem_mesh_adv_scan_channel
+)
+
+
+(
+6 ADV_PACKET_MIN_LENGTH
+37 ADV_PACKET_MAX_LENGTH
+
+1 AD_TYPE_MIN_LENGTH
+30 AD_TYPE_MAX_LENGTH
+)
+
+
+
Index: format/mesh_protocol_stack/mesh_chip_peripherals.format
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/format/mesh_protocol_stack/mesh_chip_peripherals.format	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/format/mesh_protocol_stack/mesh_chip_peripherals.format	(working copy)
@@ -0,0 +1,34 @@
+
+
+amemalloc mem_temp_block0(
+	64 mem_mesh_subscription_eep_temp
+)
+
+(//transport mic cache parameter
+10 TRANSPORT_MIC_CACHE_SPACE_NUM
+4 TRANSPORT_MIC_CACHE_SPACE_SIZE
+//总长度少一个space
+36 TRANSPORT_MIC_CACHE_TOTAL_SIZE
+)
+
+(
+0x00 MESH_EEP_THREE_TUPLE_OFFSET
+0x1a MESH_EEP_NETWORK_KEY_OFFSET
+0x2d MESH_EEP_APPLICATION_KEY_OFFSET
+0x3d MESH_EEP_DEVICE_KEY_OFFSET
+0x4d MESH_EEP_RESET_COUNT_OFFSET
+0x4e MESH_EEP_SEQ_OFFSET
+0x51 MESH_EEP_SUBSCRIPTION_OFFSET
+)
+
+(
+0x1a MESH_EEP_THREE_TUPLE_LENGTH
+0x13 MESH_EEP_NETWORK_KEY_LENGTH
+0x10 MESH_EEP_APPLICATION_KEY_LENGTH
+0x10 MESH_EEP_DEVICE_KEY_LENGTH
+0x01 MESH_EEP_RESET_COUNT_LENGTH
+0x03 MESH_EEP_SEQ_LENGTH
+0x10 MESH_EEP_SUBSCRIPTION_LENGTH
+0x40 MESH_EEP_SUBSCRIPTION_TOTAL_LENGTH
+)
+
Index: format/mesh_protocol_stack/mesh_control_ble_advertising.format
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/format/mesh_protocol_stack/mesh_control_ble_advertising.format	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/format/mesh_protocol_stack/mesh_control_ble_advertising.format	(working copy)
@@ -0,0 +1,57 @@
+
+
+xmemalloc ali_mesh(
+	1 mem_mesh_advertising_unprovisioned_device_beacon_switch
+	//未配网广播间隔
+	2 mem_mesh_advertising_unprovisioned_device_beacon_timer
+
+	//广播生存周期
+	1 mem_mesh_advertising_unprovisioned_device_beacon_duration
+	//广播周期之间的间隔
+	1 mem_mesh_advertising_unprovisioned_device_beacon_interval
+
+)
+
+(//mem_mesh_advertising_unprovisioned_device_beacon_switch
+0 DEVICE_BEACON_OFF
+1 DEVICE_BEACON_ON
+)
+
+(
+//未配网广播超时10min
+0x1770	ADV_UNPROVISIONED_DEVICE_BEACON_TIMEOUT
+//未配网广播间隔500ms
+5		ADV_UNPROVISIONED_DEVICE_BEACON_INTERVAL
+//未配网广播时长120ms=20ms*6
+6		ADV_UNPROVISIONED_DEVICE_BEACON_DURATION
+
+//静默广播超时:无
+0		ADV_SILENCE_DEVICE_BEACON_TIMEOUT
+//静默广播间隔60s
+600		ADV_SILENCE_DEVICE_BEACON_INTERVAL
+//静默广播时长120ms=20ms*6
+6		ADV_SILENCE_DEVICE_BEACON_DURATION
+
+
+//配网后广播间隔
+0x54		ADV_PAIRING_MESH_MESSAGE_INTERVAL
+//配网后广播时长
+20		ADV_PAIRING_MESH_MESSAGE_DURATION
+
+10		ADV_RELAY_MESH_MESSAGE_DURATION
+)
+
+(
+0x12 MAX_APP_MSSAGE_PAYLOAD_LENGTH
+7 BIT_OF_APP_PACKAGE_NUM
+6 BIT_OF_ADV_IN_OFF
+)
+
+(
+//mesh 回复APP广播间隔24*0.625ms = 15ms
+0x15 MESH_ADV_APP_MESSAGE_INTERVAL
+//mesh回复tmall广播间隔32*0.625ms = 20ms
+0x1d MESH_ADV_TMALL_MESSAGE_INTERVAL
+)
+
+
Index: format/mesh_protocol_stack/mesh_encrypt_function.format
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/format/mesh_protocol_stack/mesh_encrypt_function.format	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/format/mesh_protocol_stack/mesh_encrypt_function.format	(working copy)
@@ -0,0 +1,111 @@
+memalloc ali_mesh(
+	// sha256
+	0 mem_mesh_sha256_chunk_start
+	64 mem_mesh_sha256_chunk1
+	64 mem_mesh_sha256_chunk2
+	64 mem_mesh_sha256_chunk3
+	64 mem_mesh_sha256_chunk4
+
+	//obfuscation network PDU Header
+	0 mem_mesh_Privacy_Plaintext
+	5 mem_mesh_Privacy_Plaintext_Zero_String
+	4 mem_mesh_Privacy_Plaintext_IV_Index
+	0 mem_mesh_Privacy_Plaintext_Privacy_Random
+	2 mem_mesh_Privacy_Plaintext_Privacy_Random_EncDST
+	5 mem_mesh_Privacy_Plaintext_Privacy_Random_EncTransportPDU_or_NetMIC
+	16 mem_mesh_PECB
+
+	//basic function
+	//aes-ccm
+	2 mem_nonce_ptr
+	1 mem_ccm_data_len
+	2 mem_ccm_data_ptr
+	8 mem_ccm_mic
+	1 mem_ccm_type
+
+
+)
+
+xmemalloc ali_mesh(
+
+	0 mem_mesh_calc_ConfirmationCloud_data
+	8 mem_mesh_ConfirmationCloud_RandomB
+	8 mem_mesh_ConfirmationCloud_RandomA
+	16 mem_mesh_AuthValueProv
+	16 mem_mesh_ConfirmationCloud
+
+
+	//provisioning random  / provisioning_confirmation
+	0 mem_mesh_ConfirmationDevice
+	0 mem_mesh_calc_ConfirmationDevice_data
+	8 mem_mesh_provisioning_random_A
+	8 mem_mesh_provisioning_random_B
+	16 mem_mesh_AuthValueDevice
+
+	16 mem_mesh_Device_Key
+
+
+// CMAC Key
+	16 mem_mesh_Confirmationkey
+
+	//sha256 init data
+	15 mem_mesh_sha256_ConfirmationKey_ascii
+	10 mem_mesh_sha256_SessionKey_ascii
+	9 mem_mesh_sha256_DeviceKey_ascii
+
+	//sha256
+	1 mem_mesh_sha256_load_first_data_flag
+
+	8 mem_mesh_sha256_data_len_byte
+	8 mem_mesh_sha256_data_len_bit
+	2 mem_mesh_sha256_data_end_addr
+	2 mem_mesh_sha256_data_len_addr
+	1 mem_mesh_sha256_chunk_count
+	2 mem_mesh_sha256_chunk_data_ptr
+	2 mem_mesh_sha256_chunk_ptr
+
+
+	//function K2
+	//f2 input
+	1 mem_k2_P_len
+	16 mem_k2_P
+	16 mem_k2_N
+	//f2 init data
+	16 mem_k2_SALT
+	//f2 output
+	16 mem_k2_T
+	0 mem_k2_T0
+	16 mem_k2_T1
+	1 mem_k2_NID
+	16 mem_k2_T3
+	16 mem_k2_T2
+
+
+	//k4 function
+	16 mem_k4_SALT
+	16 mem_k4_T
+	16 mem_k4_id6_01
+	16 mem_k4_k4N
+	1 mem_mesh_transport_AID
+
+	16 mem_k3_SALT
+	16 mem_k3_T
+	5 mem_k3_id64_01
+	8 mem_k3_k4N
+	8 mem_mesh_network_id
+
+
+)
+
+(
+0x2c COMMA
+-4 DECREASED_FOUR
+
+)
+
+(
+0x19 MIC_SIZE_64BIT
+0x09 MIC_SIZE_32BIT
+)
+
+
Index: format/mesh_protocol_stack/mesh_fast_pairing.format
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/format/mesh_protocol_stack/mesh_fast_pairing.format	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/format/mesh_protocol_stack/mesh_fast_pairing.format	(working copy)
@@ -0,0 +1,182 @@
+memalloc ali_mesh(
+
+	16 mem_mesh_Device_UUID
+	
+	1 mem_mesh_receive_VID
+
+)
+
+
+xmemalloc ali_mesh(
+
+	// provisioning flag 标志是否入网
+	1 mem_mesh_provisioned_flag
+
+	//入网时的状态机
+	1 mem_mesh_Provisioning_State_Flag
+	
+	1 mem_mesh_Device_PID
+	1 mem_mesh_UUID_FeatureFlag
+	2 mem_mesh_PDU_RFU
+	2 mem_mesh_OOB_information
+
+	//Provisioning_Data
+	0 mem_mesh_Encrypt_Provisioning_Data
+	2 mem_mesh_provisioning_data_Mac_addr
+	1 mem_mesh_KeyFresh_and_Update_flag
+	16 mem_mesh_Network_Key
+	1 mem_mesh_last_IV_Index_byte
+	2 mem_mesh_Unicast_Address
+
+	4 mem_mesh_adv_last_time
+	2 mem_mesh_send_packet_timeout
+
+	1 mem_mesh_gatt_package_send_msg_id
+
+)
+
+
+(
+33 GATT_RECEIVE_MSG_BUFFER_SIZE
+)
+
+xmemalloc ali_mesh(
+//GATT 协议
+	1 mem_mesh_gatt_receive_msg_timer
+	//fast pairing 
+	//APP control 
+
+	GATT_RECEIVE_MSG_BUFFER_SIZE mem_mesh_gatt_packet_receive_msg_buffer1
+	GATT_RECEIVE_MSG_BUFFER_SIZE mem_mesh_gatt_packet_receive_msg_buffer2
+
+)
+
+amemalloc mem_mesh_queue_ele_temp(
+	2 mem_mesh_gatt_package_receive_msg_buffer_ptr
+	0 mem_mesh_gatt_package_receive_msg_buffer_temp
+	2 mem_mesh_gatt_package_receive_msg_id
+	0 mem_mesh_gatt_package_receive_MAC
+	1 mem_mesh_gatt_package_receive_msg_num
+	1 mem_mesh_gatt_package_receive_msg_total_length
+	29 mem_mesh_gatt_package_receive_msg_payload
+)
+
+amemalloc mem_mesh_Device_UUID(
+	2 mem_mesh_receive_service_uuid_company_id
+	1 mem_mesh_receive_service_uuid_vid
+	1 mem_mesh_receive_service_uuid_provisioning_type
+	2 mem_mesh_receive_service_uuid_mac
+	1 mem_mesh_receive_service_uuid_msg_id
+	1 mem_mesh_receive_service_uuid_package_num
+	1 mem_mesh_receive_service_uuid_length
+	7 mem_mesh_receive_service_uuid_payload_data
+)
+
+amemalloc mem_mesh_Device_UUID(
+	2 mem_mesh_receive_service_uuid_ios_data_company_id
+	1 mem_mesh_receive_service_uuid_ios_data_vid
+	1 mem_mesh_receive_service_uuid_ios_data_provisioning_type
+	1 mem_mesh_receive_service_uuid_ios_data_NID
+	1 mem_mesh_receive_service_uuid_ios_data_msg_id
+	1 mem_mesh_receive_service_uuid_ios_data_package_num
+	1 mem_mesh_receive_service_uuid_ios_data_length
+	8 mem_mesh_receive_service_uuid_ios_data_payload_data
+)
+
+
+(//mem_mesh_provisioned_flag
+0 PAIRED_STATUS
+1 UNPROVISIONED_BEACON_STATUS
+2 PAIRING_STATUS
+3 SILENCE_BEACON_STATUS
+4 RECEIVED_CONFIG_APPKEY_ADD
+)
+
+(//mem_mesh_UUID_FeatureFlag
+0 BIT_SILENCE_ADV_FLAG
+)
+
+//mem Beacon Tmall Length
+(
+0x01 UNPROVISIONED_ADLEN_LENGTH
+0x01 UNPROVISIONED_ADTYPE_LENGTH
+0x01 UNPROVISIONED_DEVICE_BEACON_LENGTH
+0x10 UNPROVISIONED_DEVICE_UUID_LENGTH
+0x02 UNPROVISIONED_OOB_INFORMATION_LENGTH
+)
+
+// mem Beacon Type
+(
+0x00 UNPROVISIONED_DEVICE_BEACON
+0x01 SECURE_NETWORK_BEACON
+0x1827 MESH_PROVISIONING_UUID
+0x1828 MESH_PROXY_SERVICE
+
+)
+
+// Provisioning Type
+(
+0x00 PROVISIONING_RANDOM
+0x01 PROVISIONING_CONFIRMATION
+0x02 PROVISIONING_DATA
+0x03 PROVISIONING_COMPLETE
+0x04 PROVISIONING_CONFIG
+0x05 PROVISIONING_CONFIG_ACK
+0x06 PROVISIONING_IOS_DATA
+0x07 PROVISIONING_SEND_IOS_DATA
+)
+
+(//mem_mesh_Provisioning_State_Flag
+// FLAG bit1:Provisioning Confirmation
+1 RECEIVE_PROVISIONING_RANDOM
+2 RECEIVE_PROVISIONING_DATA
+)
+
+
+(//provisioning packet info size
+3 PROVISIONING_PACKET_LENGTH_FLAGS
+6 PROVISIONING_PACKET_LENGTH_AD_TYPE_COMPANY_ID_VID_PROVISIONING_TYPE
+5 PROVISIONING_PACKET_AD_TYPE_COMPANY_ID_VID_PROVISIONING_TYPE
+1 PROVISIONING_PACKET_LENGTH
+1 PROVISIONING_PACKET_AD_TYPE
+2 PROVISIONING_PACKET_COMPANY_ID
+1 PROVISIONING_PACKET_VID
+1 PROVISIONING_PACKET_PROVISIONING_TYPE
+//provisioning random
+2 PROVISIONING_PACKET_RANDOM_MAC
+8 PROVISIONING_PACKET_RANDOM_RANDOM_A
+8 PROVISIONING_PACKET_RANDOM_RANDOM_B
+//provisioning confirmation
+2 PROVISIONING_PACKET_CONFIRMATION_MAC
+16 PROVISIONING_PACKET_CONFIRMATION_DEVICE
+//provisioning complete
+6 PROVISIONING_PACKET_COMPLETE_MAC
+
+2 PROVISIONING_CONFIG_ACK_MAC
+1 PROVISIONING_CONFIG_ACK_FIELD
+
+)
+
+(
+0x01 PROVISIONING_CONFIG_ACK_NOTE
+)
+
+(//gatt package struct
+0 GATT_PACKAGE_MSG_ID
+1 GATT_PACKAGE_PACKAGE_NUM
+2 GATT_PACKAGE_LENGTH
+3 GATT_PACKAGE_PAYLOAD
+)
+
+(
+0x12 MAX_LENGTH_PRIVISIONING_CONTROL_MSG_ANDROID
+0x08 MAX_LENGTH_PRIVISIONING_CONTROL_MSG_IOS
+0x07 MAX_LENGTH_PRIVISIONING_PAIRING_MSG_IOS
+)
+
+(
+4 MAX_GATT_PACKAGE_NUM
+50 GATT_RECEIVE_TIMEOUT
+)
+
+
Index: format/mesh_protocol_stack/mesh_health_message.format
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/format/mesh_protocol_stack/mesh_health_message.format	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/format/mesh_protocol_stack/mesh_health_message.format	(working copy)
@@ -0,0 +1,16 @@
+
+amemalloc mem_mesh_receive_model_message_payload(
+	1 mem_mesh_configuration_health_message_opcode
+)
+
+amemalloc mem_mesh_receive_model_message_payload(
+	1 mem_mesh_configuration_health_message_opcode_config_model_subscription
+	2 mem_mesh_subscription_element_address
+	2 mem_mesh_subscription_value_address
+	2 mem_mesh_subscription_model_identifier
+)
+
+(
+8 SUBSCRIPTION_MAX_COUNT
+)
+
Index: format/mesh_protocol_stack/mesh_init.format
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/format/mesh_protocol_stack/mesh_init.format	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/format/mesh_protocol_stack/mesh_init.format	(working copy)
@@ -0,0 +1,198 @@
+memalloc ali_mesh(
+	2 mem_mesh_mic_cache_ptr
+)
+
+
+xmemalloc ali_mesh(
+	// three tuple 阿里云平台分配的三元组
+	4 mem_mesh_three_tuple_ProductID
+	6 mem_mesh_three_tuple_MAC
+	16 mem_mesh_three_tuple_secret
+
+	//ble 核心协议栈，scan到数据的回调
+	2 mem_mesh_cb_receive_advertising
+
+	//alarm寄存器不能修改
+	//mesh核心规范接收到任何TMALL指令
+	2 mem_mesh_cb_receive_access_message
+
+	//接收到配置application key指令(可以认为入网成功)
+	2 mem_mesh_cb_receive_config_appkey_add
+
+	//各种原因配网失败回调
+	2 mem_mesh_cb_pairing_fail
+
+	//ali vendor message cb
+	2 mem_mesh_cb_recv_vendor
+
+	2 mem_mesh_scan_selete_next_ch
+	
+	2 mem_mesh_cb_generic_onoff_get
+	2 mem_mesh_cb_generic_onoff_set
+	2 mem_mesh_cb_scene_recall
+	2 mem_mesh_cb_light_lightness_set
+	2 mem_mesh_cb_light_lightness_get
+	2 mem_mesh_cb_light_ctl_set
+
+	2 mem_mesh_cb_main_light_onoff_set
+	2 mem_mesh_cb_background_onoff_set
+	2 mem_mesh_cb_color_set
+
+	//relay 的功能回调
+	2 mem_mesh_cb_network_relay
+
+	//模块复位的回调，需要3s之后复位
+	2 mem_mesh_cb_receive_node_reset
+
+	//seq改变时的回调，需要存到对应的存储器中
+	2 mem_mesh_cb_seq_changed
+
+	2 mem_mesh_cb_subscriptuion_list_changed
+
+	//Timer 定时器改变时，需要存到对应的存储器中
+	2 mem_mesh_cb_vendor_timing_changed
+	
+
+	2 mem_mesh_core_feature
+
+	1 mem_mesh_element_number
+	2 mem_mesh_element_device_ptr
+	2 mem_mesh_element_device_length
+
+)
+
+(//typedef struct of mem_mesh_element_device
+0 ELEMENT_DEVICE_GROUP_ADDR
+2 ELEMENT_DEVICE_QUEUE_BUFFER_PTR
+4 ELEMENT_DEVICE_VENDOR_TIME_PTR
+6 ELEMENT_DEVICE_SUBSCRIPTION_LABEL
+22 ELEMENT_DEVICE_UPPER_ADV_FLAG
+23 ELEMENT_DEVICE_UPPER_QUEUE_PTR
+25 ELEMENT_DEVICE_TRAN_PACKAGE_TID
+26 ELEMENT_DEVICE_TRAN_PACKAGE_TYPE
+27 SIZEOF_ELEMENT_DEVICE
+
+)
+
+
+xmemalloc ali_mesh_element(
+	0 mem_mesh_element_device
+	2 mem_mesh_element_device_group_addr
+	2 mem_mesh_element_device_queue_buffer_ptr
+	2 mem_mesh_element_device_timing_ptr
+	16 mem_mesh_element_device_element_subscription_label
+	1 mem_mesh_element_upper_adv_flag
+	2 mem_mesh_element_upper_queue_buffer_ptr
+	1 mem_mesh_element_tran_package_tid
+	1 mem_mesh_element_tran_package_type
+
+	SIZEOF_ELEMENT_DEVICE mem_mesh_element_device1
+	SIZEOF_ELEMENT_DEVICE mem_mesh_element_device2
+)
+
+(
+36 MESH_SEGMENT_SIZE
+)
+
+xmemalloc ali_mesh_element(
+	MESH_SEGMENT_SIZE mem_mesh_segmented_access_message_Segment
+)
+
+xmemalloc ali_mesh_element(
+	1 mem_mesh_element_device_queue_each_size
+	1 mem_mesh_element_device_queue_length
+	1 mem_mesh_element_device_queue_current_num
+	1 mem_mesh_element_device_queue_read_ptr
+	1 mem_mesh_element_device_queue_write_ptr
+	136 mem_mesh_element_device_queue_ele
+
+	1 mem_mesh_element_device_upper_queue_each_size
+	1 mem_mesh_element_device_upper_queue_length
+	1 mem_mesh_element_device_upper_queue_current_num
+	1 mem_mesh_element_device_upper_queue_read_ptr
+	1 mem_mesh_element_device_upper_queue_write_ptr
+	//元素长度为47
+	188 mem_mesh_element_device_upper_queue_ele
+
+)
+
+(
+320 MESH_TIMER_BUFFER_SIZE
+)
+
+/*
+xmemalloc ali_mesh_element_timer(
+	MESH_TIMER_BUFFER_SIZE mem_mesh_element_timing
+	MESH_TIMER_BUFFER_SIZE mem_mesh_element_timing1
+	MESH_TIMER_BUFFER_SIZE mem_mesh_element_timing2
+)
+*/
+
+(//bit map of mem_mesh_core_feature
+0 MESH_FEATURE_DISABLE_LOG
+1 MESH_FEATURE_DISABLE_RELAY
+2 MESH_FEATURE_DISABLE_SUBSCRIPTION
+3 MESH_FEATURE_DISABLE_APP_PAIRING
+)
+
+(//taobao id
+0x01a8	COMPANY_IDENTIFIERS_ALIBABA
+0x0d	ALI_MESH_VID_NUMBER
+0x0da801 COMPANY_ID_ALIBABA_AND_VID
+0x0ea801 COMPANY_ID_ALIBABA_AND_VID_GATT
+)
+
+
+(
+0x00 MESH_CODE_INIT
+0x01 MESH_RECEIVE_PROVISIONING_PACKET
+0x02 MESH_RECEIVE_PROVISIONING_RANDOM_PACKET
+0x03 MESH_SEND_PROVISIONING_CONFIRMATION_PACKET
+0x04 MESH_RECEIVE_PROVISIONING_DATA_PACKET
+0x05 MESH_SEND_PROVISIONING_COMPLETE_PACKET
+0x06 MESH_RECEIVE_PROVISIONING_FAILED_PACKET
+
+0x10 MESH_ENCRYPT_SHA256_FUNCTION_INPUT
+0x11 MESH_ENCRYPT_SHA256_FUNCTION_RESULT
+0x12 MESH_ENCRYPT_AES_CMAC_FUNCTION_INPUT_M
+0x13 MESH_ENCRYPT_AES_CMAC_FUNCTION_INPUT_K
+0x14 MESH_ENCRYPT_AES_CMAC_FUNCTION_RESULT
+
+0x20 MESH_NETWORK_RECEIVE_PACKET
+0x21 MESH_NETWORK_RELAY_PACKET
+
+0x30 MESH_LOWER_RECEIVE_PACKET
+0x40 MESH_UPPER_RECEIVE_PACKET
+0x41 MESH_UPPER_SEND_PACKET
+
+0x50 MESH_ACCESS_RECEIVE_MESSAGE
+
+0x60 MESH_PROXY_RECEIVE_MESSAGE_HANDLE
+0x61 MESH_PROXY_RECEIVE_MESSAGE
+
+0xF0 MESH_MESSAGE_GENERIC_ONOFF_SET
+0xF1 MESH_MESSAGE_SET_LIGHT_LIGHTNESS
+0xF2 MESH_MESSAGE_SET_CTL
+)
+
+(//LUA LOG 
+0xAA LUA_LOG_PACKET_HEADER
+0x03 LUA_LOG_PAKCET_TYPE
+0xBB LUA_LOG_PACKET_TRAIL
+)
+
+(//logging level
+0 LOGGING_DEBUG
+1 LOGGING_INFO
+2 LOGGING_WARNING
+3 LOGGING_ERROR
+4 LOGGING_CRITICAL
+)
+
+(
+0x1c00 mem_mesh_uart_log_rx_buff
+0x1c01 mem_mesh_uart_log_rx_buff_end
+0x1c02 mem_mesh_uart_log_tx_buff
+0x1fff mem_mesh_uart_log_tx_buff_end
+)
+
Index: format/mesh_protocol_stack/mesh_lower_transport_layer.format
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/format/mesh_protocol_stack/mesh_lower_transport_layer.format	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/format/mesh_protocol_stack/mesh_lower_transport_layer.format	(working copy)
@@ -0,0 +1,53 @@
+memalloc ali_mesh(
+	1 mem_mesh_lower_transport_layer_payload_len
+
+)
+
+
+
+xmemalloc ali_mesh(
+	//current segmented access message head
+	1 mem_mesh_segmented_access_message_SZMIC
+	2 mem_mesh_segmented_access_message_SeqZero
+	1 mem_mesh_segmented_access_message_SegO
+	1 mem_mesh_segmented_access_message_SegN
+
+	4 mem_mesh_segmented_access_message_BlockAck
+	1 mem_mesh_segmented_access_message_receive_finish
+	1 mem_mesh_segmented_access_message_current_length
+
+	1 mem_mesh_segmented_access_message_SegN_upper_limit
+	2 mem_mesh_segmented_access_message_Segment_ptr
+)
+
+amemalloc mem_mesh_send_access_lower_transport_layer(
+	//bit7 is SEQ 0=Unsegment Message
+	//bit6 is AKF
+	//bit5-bit0 is AID
+	1 mem_mesh_unsegmented_access_lower_transport_layer_head
+	11 mem_mesh_unsegmented_access_lower_transport_layer_parameters
+	4 mem_mesh_unsegmented_access_lower_transport_layer_mic
+)
+
+amemalloc mem_mesh_send_access_lower_transport_layer(
+	//bit7 is SEQ 1=segment Message
+	//bit6 is AKF
+	//bit5-bit0 is AID
+	1 mem_mesh_segmented_access_lower_transport_layer_head
+	//bit23 is SZMIC size of transMIC
+	//bit22-bit10 is SeqZero Least significant bits of SeqAuth
+	//bit9-bit5 is SegO Segment offset number
+	//bit4-bit0 is SegN Last Segment number
+	3 mem_mesh_segmented_access_lower_transport_layer_SZMIC_SeqZero_SegO_SegN
+	8 mem_mesh_segmented_access_lower_transport_layer_parameters
+	4 mem_mesh_segmented_access_lower_transport_layer_mic
+)
+
+(
+7 TRANSPORT_HEAD_BIT_SEG
+6 TRANSPORT_HEAD_BIT_AKF
+05 TRANSPORT_HEAD_BIT_AID
+7 BIT_CTL
+)
+
+
Index: format/mesh_protocol_stack/mesh_model_layer.format
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/format/mesh_protocol_stack/mesh_model_layer.format	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/format/mesh_protocol_stack/mesh_model_layer.format	(working copy)
@@ -0,0 +1,70 @@
+
+
+xmemalloc ali_mesh(
+	2 mem_mesh_last_CTL_Temperature
+)
+
+amemalloc mem_mesh_receive_model_message_payload(
+	1 mem_mesh_module_message_opcode
+)
+
+amemalloc mem_mesh_receive_model_message_payload(
+	//generic OnOff Set
+	1 mem_mesh_module_message_opcode_onoff_set
+	1 mem_mesh_generic_onoff_set_payload_OnOff
+	1 mem_mesh_generic_onoff_set_payload_TID
+	1 mem_mesh_generic_onoff_set_payload_Transition_Time
+	1 mem_mesh_generic_onoff_set_payload_Delay
+
+)
+
+amemalloc mem_mesh_receive_model_message_payload(
+	//Scene recall 模式设置
+	1 mem_mesh_module_message_opcode_scene_recall
+	2 mem_mesh_scene_recall_payload_scene_number
+	1 mem_mesh_scene_recall_payload_TID
+	1 mem_mesh_scene_recall_payload_Transition_Time
+	1 mem_mesh_scene_recall_payload_Delay
+
+)
+
+amemalloc mem_mesh_receive_model_message_payload(
+	//light lightness
+	1 mem_mesh_module_message_opcode_set_light_lightness
+	2 mem_mesh_light_lightness_set_payload_lightness
+	1 mem_mesh_light_lightness_set_payload_TID
+	1 mem_mesh_light_lightness_set_payload_Transition_Time
+	1 mem_mesh_light_lightness_set_payload_Delay
+	1 mem_mesh_light_lightness_calc_lightness
+)
+
+amemalloc mem_mesh_receive_model_message_payload(
+	//light CTL
+	1 mem_mesh_module_message_opcode_set_light_ctl
+	2 mem_mesh_CTL_Lightness
+	2 mem_mesh_CTL_Temperature
+	2 mem_mesh_CTL_Delta_UV
+	1 mem_mesh_CTL_lightness_TID
+	1 mem_mesh_CTL_lightness_Transition_Time
+	1 mem_mesh_CTL_lightness_Delay	
+	1 mem_mesh_CTL_calc_lightness
+	1 mem_mesh_CTL_calc_temperature
+
+)
+
+(//Generic OnOff
+0x00 GENERIC_ONOFF_CMD_OFF
+0x01 GENERIC_ONOFF_CMD_ON
+)
+
+(//LIGHTNESS
+0xFFFF ALI_MESH_LIGHTNESS_MAX
+0x0064 ALI_MESH_LIGHTNESS_LEVEL
+)
+
+(//TEMPERATURE
+0x4E20 ALI_MESH_TEMPERATURE_MAX
+0x0320 ALI_MESH_TEMPERATURE_MIN
+0x0064 ALI_MESH_TEMPERATURE_LEVEL
+)
+
Index: format/mesh_protocol_stack/mesh_more_element_check.format
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/format/mesh_protocol_stack/mesh_more_element_check.format	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/format/mesh_protocol_stack/mesh_more_element_check.format	(working copy)
@@ -0,0 +1,17 @@
+
+memalloc ali_mesh(
+	2 mem_mesh_loopcnt_tmep
+	2 mem_mesh_rega_temp
+	2 mem_mesh_regb_temp
+	2 mem_mesh_regc_temp
+	2 mem_mesh_alarm_temp
+	
+)
+
+
+
+xmemalloc ali_mesh(
+	1 mem_mesh_receive_group_address
+	1 mem_mesh_receive_element_number
+)
+
Index: format/mesh_protocol_stack/mesh_network_layer.format
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/format/mesh_protocol_stack/mesh_network_layer.format	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/format/mesh_protocol_stack/mesh_network_layer.format	(working copy)
@@ -0,0 +1,113 @@
+
+
+memalloc ali_mesh(
+	1 mem_mesh_message_Transport_NetMIC_length
+
+	1 mem_mesh_message_NID
+	1 mem_mesh_message_TTL
+	3 mem_mesh_message_SEQ
+	2 mem_mesh_message_SRC
+	2 mem_mesh_message_DST
+	0 mem_mesh_message_Transport_NetMIC
+	1 mem_mesh_message_Transport_Head
+	//unsegmented access message
+	0 mem_mesh_message_Transport_unsegmented_access_messagePDU
+	//segmented access message
+	0 mem_mesh_message_Transport_segmented_access_messagePDU
+	3 mem_mesh_message_segment_access_SZMIC_SeqZero_SegO_SegN
+	0 mem_mesh_message_Transport_segmented_access_messagePDU_Segment
+	16 mem_mesh_message_Transport_NetMIC_end
+
+	13 mem_mesh_nonce_struct
+
+	2 mem_mesh_send_message_DST
+	3 mem_mesh_last_message_SEQ
+	1 mem_mesh_network_packet_type
+
+)
+
+xmemalloc ali_mesh(
+	4 mem_mesh_IV_Index
+
+
+
+// mesh SRC/SEQ  cache
+	0 mem_mesh_TMALL_cache_start
+	2 mem_mesh_TMALL_SRC1
+	3 mem_mesh_TMALL_SEQ1
+	45 mem_mesh_TMALL_cache
+	0 mem_mesh_TMALL_cache_end
+
+	0 mem_mesh_transport_message_mic_cache
+	4 mem_mesh_transport_message_mic_cache_buff1
+	36 mem_mesh_transport_message_mic_cache_buff2_10
+
+	0 mem_mesh_network_relay_queue
+	1 mem_mesh_network_relay_queue_each_size
+	1 mem_mesh_network_relay_queue_length
+	1 mem_mesh_network_relay_queue_current_num
+	1 mem_mesh_network_relay_queue_read_ptr
+	1 mem_mesh_network_relay_queue_write_ptr
+	136 mem_mesh_network_relay_queue_ele
+
+)
+
+amemalloc mem_le_txheader_mesh_temp(
+	1 mem_mesh_network_packet_type_temp
+	29 mem_mesh_message_NID_temp
+)
+
+amemalloc mem_k2_T2(
+	16 mem_k2_EncryptionKey
+)
+
+amemalloc mem_k2_T3(
+	16 mem_k2_PrivacyKey
+)
+
+amemalloc mem_mesh_nonce_struct(
+	//DST and TransportPDU encryption
+	0 mem_mesh_Network_Nonce
+	1 mem_mesh_Network_Nonce_nonce_type
+	1 mem_mesh_Network_Nonce_CTL_and_TTL
+	3 mem_mesh_Network_Nonce_SEQ
+	2 mem_mesh_Network_Nonce_SRC
+	2 mem_mesh_Network_Nonce_Pad	//0x0000
+	4 mem_mesh_Network_Nonce_IV_Index
+
+)
+
+(//nonce type
+0x00 NETWORK_NONCE
+0x01 APPLICATION_NONCE
+0x02 DEVICE_NONCE
+0x03 PROXY_NONCE
+)
+
+
+(
+0x00c0 GROUP_ADDRESS_0XC000_little_endian
+0xffcf GROUP_ADDRESS_0XCFFF_little_endian
+0x02c0 GROUP_ADDRESS_0XC002_little_endian
+0x07c0 GROUP_ADDRESS_0XC007_little_endian
+0x01c0 GROUP_ADDRESS_0XC001_little_endian
+0xffff GROUP_ADDRESS_0XFFFF_little_endian
+)
+
+
+(//SRC SEQ cache parameter
+10 CACHE_SPACE_NUM
+5 CACHE_SPACE_SIZE
+)
+
+(
+12 MESH_NETWORK_PACKET_MIN_LENGTH
+30 MESH_NETWORK_PACKET_MAX_LENGTH
+)
+
+(
+0 MESH_MESSAGE_TMALL
+1 MESH_MESSAGE_APP
+2 MESH_MESSAGE_PROXY
+)
+
Index: format/mesh_protocol_stack/mesh_proxy_layer.format
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/format/mesh_protocol_stack/mesh_proxy_layer.format	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/format/mesh_protocol_stack/mesh_proxy_layer.format	(working copy)
@@ -0,0 +1,26 @@
+
+xmemalloc ali_mesh_element(
+	152 mem_mesh_le_att_list
+)
+
+(
+0x00 MESH_PROXY_SERVICE_DATA_ID_TYPE_NETWORK_ID
+0x01 MESH_PROXY_SERVICE_DATA_ID_TYPE_NODE_IDENTITY
+)
+
+(
+0x00 MESH_PROXY_MESSAGE_TYPE_NETWORK_PDU
+0x01 MESH_PROXY_MESSAGE_TYPE_MESH_BEACON
+0x02 MESH_PROXY_MESSAGE_TYPE_PROXY_CONFIGURATION
+0x03 MESH_PROXY_MESSAGE_TYPE_PROVISIONING_PDU
+)
+
+(
+0x0e	MESH_PROXY_DATA_IN_HANDLE
+0x10	MESH_PROXY_DATA_OUT_HANDLE
+0x11	MESH_PROXY_ENABLE_DATA_OUT_HANDLE
+0x14	MESH_PROVISIONING_DATA_IN_HANDLE
+0x16	MESH_PROVISIONING_DATA_OUT_HANDLE
+0x17	MESH_PROVISIONING_ENABLE_DATA_OUT_HANDLE
+)
+
Index: format/mesh_protocol_stack/mesh_upper_transport_layer.format
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/format/mesh_protocol_stack/mesh_upper_transport_layer.format	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/format/mesh_protocol_stack/mesh_upper_transport_layer.format	(working copy)
@@ -0,0 +1,131 @@
+
+memalloc ali_mesh(
+	2 mem_mesh_upper_transport_layer_payload_ptr
+	1 mem_mesh_segmented_upper_transport_layer_payload_len
+	2 mem_mesh_segmented_lower_transport_layer_SegZero
+	1 mem_mesh_segmented_lower_transport_layer_SegO
+	1 mem_mesh_segmented_lower_transport_layer_SegN
+	1 mem_mesh_segmented_last_packet_upper_teansport_payload_len
+
+	0 mem_mesh_upper_tran_layer_queue_temp
+	1 mem_mesh_upper_tran_layer_temp_packet_flag
+	2 mem_mesh_upper_tran_layer_temp_packet_transmit_delay
+	1 mem_mesh_upper_tran_layer_temp_packet_TID
+	1 mem_mesh_upper_tran_layer_temp_packet_header_IVI_NID
+	1 mem_mesh_upper_tran_layer_temp_packet_header_CTL_TTL
+	3 mem_mesh_upper_tran_layer_temp_packet_header_SEQ
+	2 mem_mesh_upper_tran_layer_temp_packet_header_SRC
+	2 mem_mesh_upper_tran_layer_temp_packet_header_DST
+	1 mem_mesh_upper_tran_layer_temp_packet_length
+	108 mem_mesh_upper_tran_layer_temp_packet_payload
+
+)
+
+xmemalloc ali_mesh(
+	16 mem_mesh_application_key
+	1 mem_mesh_ASZMIC
+
+	0 mem_mesh_access_message_mic_cache
+	4 mem_mesh_access_message_mic_cache_buff1
+	36 mem_mesh_access_message_mic_cache_buff2_10
+
+	3 mem_mesh_send_message_SEQ
+
+	2 mem_mesh_send_message_SRC
+
+	1 mem_mesh_send_message_TTL
+
+	//Upper transport access PDU
+	1 mem_mesh_send_upper_layer_IVI_and_NID
+	1 mem_mesh_send_upper_layer_CTL_and_TTL
+	3 mem_mesh_send_upper_layer_SEQ
+	2 mem_mesh_send_upper_layer_SRC
+	2 mem_mesh_send_upper_layer_DST
+	16 mem_mesh_send_access_lower_transport_layer
+	4 mem_mesh_send_network_layer_NetMIC
+
+)
+
+
+amemalloc mem_mesh_nonce_struct(
+	//application payload encryption
+	0 mem_mesh_Application_Nonce
+	1 mem_mesh_Application_Nonce_Nonce_Type
+	//bit7 is ASZMIC
+	1 mem_mesh_Application_Nonce_ASZMIC_and_Pad	//
+	3 mem_mesh_Application_Nonce_SEQ
+	2 mem_mesh_Application_Nonce_SRC
+	2 mem_mesh_Application_Nonce_DST
+	4 mem_mesh_Application_Nonce_IV_Index
+)
+
+amemalloc mem_mesh_nonce_struct(
+	//application payload encryption
+	0 mem_mesh_Device_Nonce
+	1 mem_mesh_Device_Nonce_Nonce_Type
+	1 mem_mesh_Device_Nonce_ASZMIC_and_Pad	//
+	3 mem_mesh_Device_Nonce_SEQ
+	2 mem_mesh_Device_Nonce_SRC
+	2 mem_mesh_Device_Nonce_DST
+	4 mem_mesh_Device_Nonce_IV_Index
+)
+
+amemalloc mem_mesh_access_layer_payload_len(
+	1 mem_mesh_upper_transport_layer_payload_len
+)
+
+amemalloc mem_mesh_upper_tran_layer_temp_packet_payload(
+//unsegment access message
+	0 mem_mesh_upper_tran_layer_temp_pakcet_AKF_AID
+	1 mem_mesh_upper_tran_layer_temp_unsegmented_pakcet_AKF_AID
+	4 mem_mesh_upper_tran_layer_temp_unsegmented_packet_fill
+	0 mem_mesh_upper_tran_layer_temp_pakcet_upper_tran_access_pdu
+	15 mem_mesh_upper_tran_layer_temp_unsegmented_pakcet_upper_tran_access_pdu
+)
+
+amemalloc mem_mesh_upper_tran_layer_temp_packet_payload(
+//segment access message
+	1 mem_mesh_upper_tran_layer_temp_segmented_pakcet_AKF_AID
+	2 mem_mesh_upper_tran_layer_temp_segmented_pakcet_SeqZero
+	1 mem_mesh_upper_tran_layer_temp_segmented_pakcet_SegO
+	1 mem_mesh_upper_tran_layer_temp_segmented_pakcet_SegN
+	104 mem_mesh_upper_tran_layer_temp_segmented_pakcet_upper_tran_access_pdu
+)
+
+
+
+(
+15 UNSEGMENTED_ACCESS_MESSAGE_MAX_UPPER_TRANSPORT_ACCESS_PDU_LEN
+12 SEGMENTED_ACCESS_MESSAGE_UNINT_PDU_LEN
+)
+
+(//bit of mem_mesh_upper_tran_layer_temp_packet_flag
+7 BIT_UPPER_FLAG_PROXY_CONTROL
+6 BIT_UPPER_FLAG_APP_CONTROL
+5 BIT_UPPER_FLAG_VENDOR_INDICATION
+4 BIT_UPPER_FLAG_RETRANSMIT
+//BIT3-0
+0x0f DATA_UPPER_FLAG_MAX_RETRY_COUNT
+
+2 UPPER_RETRY_COUNT_STATUS
+1 UPPER_RETRY_COUNT_INDICATION
+)
+
+(
+0 NULL_PACKET_ADVERTISING
+1 PACKET_IN_BEARER
+2 PACKET_IN_ADVERTING
+3 PACKET_RECEIVE_INDICATION
+)
+
+(
+1 UPPER_TRAN_TMALL_MESSAGE
+2 UPPER_TRAN_APP_MESSAGE
+3 UPPER_TRAN_TMALL_AND_APP
+
+0 BIT_UPPER_TRAN_TMALL_MESSAGE
+1 BIT_UPPER_TRAN_APP_MESSAGE
+2 BIT_UUPER_TRAN_PROXY_MESSAGE
+)
+
+
Index: format/meter.format
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/format/meter.format	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/format/meter.format	(working copy)
@@ -0,0 +1,24 @@
+omemalloc (
+3 mem_dummy
+1 mem_seq
+1 mem_context_cnt
+1 mem_context_map
+768 mem_context_new
+1 mem_att_cmd_len
+15 mem_att_cmd
+1 mem_att_resp_handle
+1 mem_att_resp_len
+30 mem_att_resp
+600 mem_meter_att_list
+)
+
+(
+7 context_num_new_m1
+8 context_num_new
+96 context_size_new
+)
+
+(
+0x4040 mem_anchor_array
+)
+
Index: format/patch.format
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/format/patch.format	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/format/patch.format	(working copy)
@@ -0,0 +1,516 @@
+
+(
+	  0 patch00_0
+	  1 patch00_1
+	  2 patch00_2
+	  3 patch00_3
+	  4 patch00_4
+	  5 patch00_5
+	  6 patch00_6
+	  7 patch00_7
+	  8 patch01_0
+	  9 patch01_1
+	 10 patch01_2
+	 11 patch01_3
+	 12 patch01_4
+	 13 patch01_5
+	 14 patch01_6
+	 15 patch01_7
+	 16 patch02_0
+	 17 patch02_1
+	 18 patch02_2
+	 19 patch02_3
+	 20 patch02_4
+	 21 patch02_5
+	 22 patch02_6
+	 23 patch02_7
+	 24 patch03_0
+	 25 patch03_1
+	 26 patch03_2
+	 27 patch03_3
+	 28 patch03_4
+	 29 patch03_5
+	 30 patch03_6
+	 31 patch03_7
+	 32 patch04_0
+	 33 patch04_1
+	 34 patch04_2
+	 35 patch04_3
+	 36 patch04_4
+	 37 patch04_5
+	 38 patch04_6
+	 39 patch04_7
+	 40 patch05_0
+	 41 patch05_1
+	 42 patch05_2
+	 43 patch05_3
+	 44 patch05_4
+	 45 patch05_5
+	 46 patch05_6
+	 47 patch05_7
+	 48 patch06_0
+	 49 patch06_1
+	 50 patch06_2
+	 51 patch06_3
+	 52 patch06_4
+	 53 patch06_5
+	 54 patch06_6
+	 55 patch06_7
+	 56 patch07_0
+	 57 patch07_1
+	 58 patch07_2
+	 59 patch07_3
+	 60 patch07_4
+	 61 patch07_5
+	 62 patch07_6
+	 63 patch07_7
+	 64 patch08_0
+	 65 patch08_1
+	 66 patch08_2
+	 67 patch08_3
+	 68 patch08_4
+	 69 patch08_5
+	 70 patch08_6
+	 71 patch08_7
+	 72 patch09_0
+	 73 patch09_1
+	 74 patch09_2
+	 75 patch09_3
+	 76 patch09_4
+	 77 patch09_5
+	 78 patch09_6
+	 79 patch09_7
+	 80 patch0a_0
+	 81 patch0a_1
+	 82 patch0a_2
+	 83 patch0a_3
+	 84 patch0a_4
+	 85 patch0a_5
+	 86 patch0a_6
+	 87 patch0a_7
+	 88 patch0b_0
+	 89 patch0b_1
+	 90 patch0b_2
+	 91 patch0b_3
+	 92 patch0b_4
+	 93 patch0b_5
+	 94 patch0b_6
+	 95 patch0b_7
+	 96 patch0c_0
+	 97 patch0c_1
+	 98 patch0c_2
+	 99 patch0c_3
+	100 patch0c_4
+	101 patch0c_5
+	102 patch0c_6
+	103 patch0c_7
+	104 patch0d_0
+	105 patch0d_1
+	106 patch0d_2
+	107 patch0d_3
+	108 patch0d_4
+	109 patch0d_5
+	110 patch0d_6
+	111 patch0d_7
+	112 patch0e_0
+	113 patch0e_1
+	114 patch0e_2
+	115 patch0e_3
+	116 patch0e_4
+	117 patch0e_5
+	118 patch0e_6
+	119 patch0e_7
+	120 patch0f_0
+	121 patch0f_1
+	122 patch0f_2
+	123 patch0f_3
+	124 patch0f_4
+	125 patch0f_5
+	126 patch0f_6
+	127 patch0f_7
+	128 patch10_0
+	129 patch10_1
+	130 patch10_2
+	131 patch10_3
+	132 patch10_4
+	133 patch10_5
+	134 patch10_6
+	135 patch10_7
+	136 patch11_0
+	137 patch11_1
+	138 patch11_2
+	139 patch11_3
+	140 patch11_4
+	141 patch11_5
+	142 patch11_6
+	143 patch11_7
+	144 patch12_0
+	145 patch12_1
+	146 patch12_2
+	147 patch12_3
+	148 patch12_4
+	149 patch12_5
+	150 patch12_6
+	151 patch12_7
+	152 patch13_0
+	153 patch13_1
+	154 patch13_2
+	155 patch13_3
+	156 patch13_4
+	157 patch13_5
+	158 patch13_6
+	159 patch13_7
+	160 patch14_0
+	161 patch14_1
+	162 patch14_2
+	163 patch14_3
+	164 patch14_4
+	165 patch14_5
+	166 patch14_6
+	167 patch14_7
+	168 patch15_0
+	169 patch15_1
+	170 patch15_2
+	171 patch15_3
+	172 patch15_4
+	173 patch15_5
+	174 patch15_6
+	175 patch15_7
+	176 patch16_0
+	177 patch16_1
+	178 patch16_2
+	179 patch16_3
+	180 patch16_4
+	181 patch16_5
+	182 patch16_6
+	183 patch16_7
+	184 patch17_0
+	185 patch17_1
+	186 patch17_2
+	187 patch17_3
+	188 patch17_4
+	189 patch17_5
+	190 patch17_6
+	191 patch17_7
+	192 patch18_0
+	193 patch18_1
+	194 patch18_2
+	195 patch18_3
+	196 patch18_4
+	197 patch18_5
+	198 patch18_6
+	199 patch18_7
+	200 patch19_0
+	201 patch19_1
+	202 patch19_2
+	203 patch19_3
+	204 patch19_4
+	205 patch19_5
+	206 patch19_6
+	207 patch19_7
+	208 patch1a_0
+	209 patch1a_1
+	210 patch1a_2
+	211 patch1a_3
+	212 patch1a_4
+	213 patch1a_5
+	214 patch1a_6
+	215 patch1a_7
+	216 patch1b_0
+	217 patch1b_1
+	218 patch1b_2
+	219 patch1b_3
+	220 patch1b_4
+	221 patch1b_5
+	222 patch1b_6
+	223 patch1b_7
+	224 patch1c_0
+	225 patch1c_1
+	226 patch1c_2
+	227 patch1c_3
+	228 patch1c_4
+	229 patch1c_5
+	230 patch1c_6
+	231 patch1c_7
+	232 patch1d_0
+	233 patch1d_1
+	234 patch1d_2
+	235 patch1d_3
+	236 patch1d_4
+	237 patch1d_5
+	238 patch1d_6
+	239 patch1d_7
+	240 patch1e_0
+	241 patch1e_1
+	242 patch1e_2
+	243 patch1e_3
+	244 patch1e_4
+	245 patch1e_5
+	246 patch1e_6
+	247 patch1e_7
+	248 patch1f_0
+	249 patch1f_1
+	250 patch1f_2
+	251 patch1f_3
+	252 patch1f_4
+	253 patch1f_5
+	254 patch1f_6
+	255 patch1f_7
+	  0 patch20_0
+	  1 patch20_1
+	  2 patch20_2
+	  3 patch20_3
+	  4 patch20_4
+	  5 patch20_5
+	  6 patch20_6
+	  7 patch20_7
+	  8 patch21_0
+	  9 patch21_1
+	 10 patch21_2
+	 11 patch21_3
+	 12 patch21_4
+	 13 patch21_5
+	 14 patch21_6
+	 15 patch21_7
+	 16 patch22_0
+	 17 patch22_1
+	 18 patch22_2
+	 19 patch22_3
+	 20 patch22_4
+	 21 patch22_5
+	 22 patch22_6
+	 23 patch22_7
+	 24 patch23_0
+	 25 patch23_1
+	 26 patch23_2
+	 27 patch23_3
+	 28 patch23_4
+	 29 patch23_5
+	 30 patch23_6
+	 31 patch23_7
+	 32 patch24_0
+	 33 patch24_1
+	 34 patch24_2
+	 35 patch24_3
+	 36 patch24_4
+	 37 patch24_5
+	 38 patch24_6
+	 39 patch24_7
+	 40 patch25_0
+	 41 patch25_1
+	 42 patch25_2
+	 43 patch25_3
+	 44 patch25_4
+	 45 patch25_5
+	 46 patch25_6
+	 47 patch25_7
+	 48 patch26_0
+	 49 patch26_1
+	 50 patch26_2
+	 51 patch26_3
+	 52 patch26_4
+	 53 patch26_5
+	 54 patch26_6
+	 55 patch26_7
+	 56 patch27_0
+	 57 patch27_1
+	 58 patch27_2
+	 59 patch27_3
+	 60 patch27_4
+	 61 patch27_5
+	 62 patch27_6
+	 63 patch27_7
+	 64 patch28_0
+	 65 patch28_1
+	 66 patch28_2
+	 67 patch28_3
+	 68 patch28_4
+	 69 patch28_5
+	 70 patch28_6
+	 71 patch28_7
+	 72 patch29_0
+	 73 patch29_1
+	 74 patch29_2
+	 75 patch29_3
+	 76 patch29_4
+	 77 patch29_5
+	 78 patch29_6
+	 79 patch29_7
+	 80 patch2a_0
+	 81 patch2a_1
+	 82 patch2a_2
+	 83 patch2a_3
+	 84 patch2a_4
+	 85 patch2a_5
+	 86 patch2a_6
+	 87 patch2a_7
+	 88 patch2b_0
+	 89 patch2b_1
+	 90 patch2b_2
+	 91 patch2b_3
+	 92 patch2b_4
+	 93 patch2b_5
+	 94 patch2b_6
+	 95 patch2b_7
+	 96 patch2c_0
+	 97 patch2c_1
+	 98 patch2c_2
+	 99 patch2c_3
+	100 patch2c_4
+	101 patch2c_5
+	102 patch2c_6
+	103 patch2c_7
+	104 patch2d_0
+	105 patch2d_1
+	106 patch2d_2
+	107 patch2d_3
+	108 patch2d_4
+	109 patch2d_5
+	110 patch2d_6
+	111 patch2d_7
+	112 patch2e_0
+	113 patch2e_1
+	114 patch2e_2
+	115 patch2e_3
+	116 patch2e_4
+	117 patch2e_5
+	118 patch2e_6
+	119 patch2e_7
+	120 patch2f_0
+	121 patch2f_1
+	122 patch2f_2
+	123 patch2f_3
+	124 patch2f_4
+	125 patch2f_5
+	126 patch2f_6
+	127 patch2f_7
+	128 patch30_0
+	129 patch30_1
+	130 patch30_2
+	131 patch30_3
+	132 patch30_4
+	133 patch30_5
+	134 patch30_6
+	135 patch30_7
+	136 patch31_0
+	137 patch31_1
+	138 patch31_2
+	139 patch31_3
+	140 patch31_4
+	141 patch31_5
+	142 patch31_6
+	143 patch31_7
+	144 patch32_0
+	145 patch32_1
+	146 patch32_2
+	147 patch32_3
+	148 patch32_4
+	149 patch32_5
+	150 patch32_6
+	151 patch32_7
+	152 patch33_0
+	153 patch33_1
+	154 patch33_2
+	155 patch33_3
+	156 patch33_4
+	157 patch33_5
+	158 patch33_6
+	159 patch33_7
+	160 patch34_0
+	161 patch34_1
+	162 patch34_2
+	163 patch34_3
+	164 patch34_4
+	165 patch34_5
+	166 patch34_6
+	167 patch34_7
+	168 patch35_0
+	169 patch35_1
+	170 patch35_2
+	171 patch35_3
+	172 patch35_4
+	173 patch35_5
+	174 patch35_6
+	175 patch35_7
+	176 patch36_0
+	177 patch36_1
+	178 patch36_2
+	179 patch36_3
+	180 patch36_4
+	181 patch36_5
+	182 patch36_6
+	183 patch36_7
+	184 patch37_0
+	185 patch37_1
+	186 patch37_2
+	187 patch37_3
+	188 patch37_4
+	189 patch37_5
+	190 patch37_6
+	191 patch37_7
+	192 patch38_0
+	193 patch38_1
+	194 patch38_2
+	195 patch38_3
+	196 patch38_4
+	197 patch38_5
+	198 patch38_6
+	199 patch38_7
+	200 patch39_0
+	201 patch39_1
+	202 patch39_2
+	203 patch39_3
+	204 patch39_4
+	205 patch39_5
+	206 patch39_6
+	207 patch39_7
+	208 patch3a_0
+	209 patch3a_1
+	210 patch3a_2
+	211 patch3a_3
+	212 patch3a_4
+	213 patch3a_5
+	214 patch3a_6
+	215 patch3a_7
+	216 patch3b_0
+	217 patch3b_1
+	218 patch3b_2
+	219 patch3b_3
+	220 patch3b_4
+	221 patch3b_5
+	222 patch3b_6
+	223 patch3b_7
+	224 patch3c_0
+	225 patch3c_1
+	226 patch3c_2
+	227 patch3c_3
+	228 patch3c_4
+	229 patch3c_5
+	230 patch3c_6
+	231 patch3c_7
+	232 patch3d_0
+	233 patch3d_1
+	234 patch3d_2
+	235 patch3d_3
+	236 patch3d_4
+	237 patch3d_5
+	238 patch3d_6
+	239 patch3d_7
+	240 patch3e_0
+	241 patch3e_1
+	242 patch3e_2
+	243 patch3e_3
+	244 patch3e_4
+	245 patch3e_5
+	246 patch3e_6
+	247 patch3e_7
+	248 patch3f_0
+	249 patch3f_1
+	250 patch3f_2
+	251 patch3f_3
+	252 patch3f_4
+	253 patch3f_5
+	254 patch3f_6
+	255 patch3f_7
+
+)
Index: format/peipherals_config/peipherals_50hz.format
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/format/peipherals_config/peipherals_50hz.format	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/format/peipherals_config/peipherals_50hz.format	(working copy)
@@ -0,0 +1,10 @@
+ifdef COMPLIE_TEST
+
+memalloc ac_test(
+
+10 mem_ac_50hz_buf
+
+)
+
+endif
+
Index: format/peipherals_config/peipherals_iic.format
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/format/peipherals_config/peipherals_iic.format	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/format/peipherals_config/peipherals_iic.format	(working copy)
@@ -0,0 +1,25 @@
+
+ifdef COMPLIE_TEST
+
+memalloc iic_test(
+
+64 mem_iic_test_txbuf1
+64 mem_iic_test_txbuf2
+64 mem_iic_test_rxbuf
+2 mem_iic_test_loopcnt
+1 mem_iic_test_loopcnt2
+2 mem_iic_test_offset
+
+//camera
+6 mem_camera_pwm_conf
+3 mem_camera_txbuf
+1 mem_camera_rxbuf
+1 mem_camera_id
+)
+
+(
+10 IIC_TEST_CNT
+)
+
+endif
+
Index: format/peipherals_config/peipherals_nec.format
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/format/peipherals_config/peipherals_nec.format	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/format/peipherals_config/peipherals_nec.format	(working copy)
@@ -0,0 +1,31 @@
+ifdef COMPLIE_TEST
+
+omemalloc(
+	1 mem_nec_receive_flag
+	4 mem_nec_receive_data
+)
+
+(//NEC 61212
+9000 NEC61212_BOOT_CODE_START_TIME
+4500 NEC61212_BOOT_CODE_END_TIME
+
+9000 NEC61212_REPEAT_START_TIME
+2250 NEC61212_REPEAT_END_TIME
+
+560 NEC61212_DATA_BIT_1_START_TIME
+1690 NEC61212_DATA_BIT_1_END_TIME
+
+560 NEC61212_DATA_BIT_0_START_TIME
+560 NEC61212_DATA_BIT_0_END_TIME
+
+560 NEC61212_STOP_TIME
+
+42580 NEC61212_DATA2REPEAT_TIME
+98190 NEC61212_REPEAT2REPEAT_TIME
+
+0xffff NEC61212_TIMEOUT_TIME
+
+
+)
+endif
+
Index: format/peipherals_config/peipherals_spi.format
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/format/peipherals_config/peipherals_spi.format	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/format/peipherals_config/peipherals_spi.format	(working copy)
@@ -0,0 +1,34 @@
+
+ifdef COMPLIE_TEST
+
+omemalloc(
+
+3 mem_flash_test_base
+4 mem_spi_test_write_buff
+64 mem_spi_test_flash_data_buff
+64 mem_spi_test_read_buff
+64 mem_spi_test_data_buff
+3 mem_flash_test_base2
+4 mem_spi2_test_write_buff
+64 mem_spi2_test_flash_data_buff
+64 mem_spi2_test_read_buff
+64 mem_spi2_test_data_buff
+
+18 mem_spi_ctrl_test_param_buff
+18 mem_spi2_ctrl_test_param_buff
+2 mem_spi_test_param_buff_addr
+2 mem_spi2_test_param_buff_addr
+
+1 mem_spi_test_erase_count
+1 mem_spi_test_write_count
+1 mem_spi_test_read_count
+1 mem_spi_test_compare_data_count
+1 mem_spi2_test_erase_count
+1 mem_spi2_test_write_count
+1 mem_spi2_test_read_count
+1 mem_spi2_test_compare_data_count
+
+)
+
+endif
+
Index: format/peipherals_config/peipherals_uart.format
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/format/peipherals_config/peipherals_uart.format	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/format/peipherals_config/peipherals_uart.format	(working copy)
@@ -0,0 +1,17 @@
+
+ifdef COMPLIE_TEST
+
+omemalloc(
+
+1 mem_uart_test_opcode
+1 mem_uart_test_len
+255 mem_uart_test_rx_buffer
+2 mem_uart_test_uarta_rx_start_address
+2 mem_uart_test_uarta_rx_end_address
+2 mem_uart_test_uarta_tx_start_address
+2 mem_uart_test_uarta_tx_end_address
+
+)
+
+endif
+
Index: format/regs.format
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/format/regs.format	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/format/regs.format	(working copy)
@@ -0,0 +1,549 @@
+(
+	0x8000 core_chipid
+	0x8003 core_kick
+	0x8004 core_write_wdt
+	0x8005 core_lpm_wr
+	0x8006 core_misc_ctrl
+	0x8007 core_efuse_rdata
+	0x800a core_ccm_ctrl
+	0x800b core_write_wdt2
+	0x8010 core_reset
+	0x8011 core_encrypt
+	0x8012 core_lpm_wr2
+	0x8013 core_mpu_s0_saddr
+	0x8015 core_mpu_s0_eaddr
+	0x8017 core_mpu_s1_saddr
+	0x8019 core_mpu_s1_eaddr
+	0x8022 core_ucode_hi
+	0x8023 core_ucode_ctrl
+	0x8024 core_ucode_low
+	0x8025 core_ucode_data
+
+	0x8040 core_halfslot
+	0x8042 core_clksel
+	0x8043 core_uart_clksel
+	0x8043 core_config
+	0x8044 core_xtal_stable_time
+	0x8045 core_efuse_addr
+	0x8046 core_bist_ctrl
+	0x8047 core_efuse_ctrl
+	0x8048 core_ac_ctrl
+	0x804a core_ac_saddr
+	0x804c core_lpm_reg
+	0x804f core_lpm_isogate
+	0x8050 core_clkoff
+	0x8052 core_uart_baud
+	0x8053 core_sum_en
+	0x8054 core_uart_rsaddr
+	0x8056 core_uart_readdr
+	0x8058 core_uart_rrptr
+	0x805a core_uart_tsaddr
+	0x805c core_uart_teaddr
+	0x805e core_uart_twptr
+	0x8060 core_uart_ctrl
+	0x8061 core_uartb_ctrl
+	0x8062 core_uartb_baud
+	0x8064 core_uartb_rsaddr
+	0x8066 core_uartb_readdr
+	0x8068 core_uartb_rrptr
+	0x806a core_uartb_tsaddr
+	0x806c core_uartb_teaddr
+	0x806e core_uartb_twptr
+	0x8070 core_gpio_conf
+	0x8084 core_pwm_en
+	0x8085 core_aes_en
+	0x8086 core_spid_ctrl
+	0x8087 core_spid_delay
+	0x8088 core_spid_txlen
+	0x808a core_spid_txaddr
+	0x808c core_spid_rxaddr
+	0x808e core_spid_rxlen
+	0x8090 core_iicd_ctrl
+	0x8091 core_iicd_scl_low
+	0x8092 core_iicd_scl_high
+	0x8093 core_iicd_start_setup
+	0x8094 core_iicd_start_hold
+	0x8095 core_iicd_stop_setup
+	0x8096 core_iicd_data_setup
+	0x8097 core_iicd_data_hold
+	0x8098 core_iicd_txlen
+	0x809a core_iicd_txaddr
+	0x809c core_iicd_rxaddr
+	0x809e core_iicd_rxlen
+	0x80a0 core_pwm_pcnt0
+	0x80a2 core_pwm_ncnt0
+	0x80a4 core_pwm_pcnt1
+	0x80a6 core_pwm_ncnt1
+	0x80a8 core_pwm_pcnt2
+	0x80aa core_pwm_ncnt2
+	0x80ac core_pwm_pcnt3
+	0x80ae core_pwm_ncnt3
+	0x80b0 core_pwm_pcnt4
+	0x80b2 core_pwm_ncnt4
+	0x80b4 core_pwm_pcnt5
+	0x80b6 core_pwm_ncnt5
+	0x80b8 core_pwm_pcnt6
+	0x80ba core_pwm_ncnt6
+	0x80bc core_pwm_pcnt7
+	0x80be core_pwm_ncnt7
+	0x80c0 core_spid2_ctrl
+	0x80c1 core_spid2_delay
+	0x80c2 core_spid2_txlen
+	0x80c4 core_spid2_txaddr
+	0x80c6 core_spid2_rxaddr
+	0x80c8 core_spid2_rxlen
+	0x80ca core_nec_start_addr
+	0x80cc core_nec_end_addr
+	0x80ce core_nec_rptr
+	0x80d0 core_nec_control
+	0x80d1 core_ccm_input_playload_addr
+	0x80d3 core_ccm_output_playload_addr
+	0x80d5 core_ccm_aad0
+	0x80d6 core_ccm_aad1
+	0x80d7 core_ccm_aad2
+	0x80d8 core_pwm_init
+	0x80d9 core_ac_buf_len
+	0x80da core_ccm_inptr
+	0x80dc core_sum_ctrl
+	0x80dd core_pwm_srst
+	0x8108 core_misc_status
+	0x8109 core_qdec_cntx
+	0x810a core_watchdog_cnt
+	0x810b core_uart_status
+	0x810c core_uart_rbaud
+	0x810e core_uart_txitems
+	0x8110 core_uart_trptr
+	0x8112 core_uart_rxitems
+	0x8114 core_uart_rdptr
+	0x8116 core_uart_rwptr
+	0x8118 core_debug_baud
+	0x811a core_ccm_outptr
+	0x811c core_gpio_in
+	0x811d core_gpio_in1
+	0x8120 core_ucode_flag
+	0x8121 core_peripheral_lock
+	0x8122 core_nec_wptr
+	0x8124 core_current_efuse_addr
+	0x8126 core_spid2_remain
+	0x8128 core_spid_remain
+	0x812a core_iicd_remain
+	0x812c core_dma_status
+	0x812d core_perf_status
+	0x812e core_adc_in
+	0x8130 core_nec_rxitem
+	0x8134 core_lpm_ctrl2
+	0x8138 core_lpm_ctrl
+	0x813c core_lpm_xtalcnt
+	0x813d core_lpm_buckcnt
+	0x813e core_lpm_ldocnt
+	0x813f core_lpm_latch
+	0x8140 core_gpio_wakeup_low
+	0x8144 core_gpio_wakeup_high
+	0x8149 core_clk_counter
+	0x8150 core_adc_sum
+	0x8152 core_uartb_status
+	0x8152 core_uartb_rbaud
+	0x8154 core_uartb_txitems
+	0x8156 core_uartb_trptr
+	0x8158 core_uartb_rxitems
+	0x815a core_uartb_rdptr
+	0x815c core_uartb_rwptr
+
+	0x8203 core_ice_ctrl
+	0x8204 core_ice_status
+	0x8205 core_ice_break0
+	0x8207 core_ice_break1
+  
+	0x8280 core_docd_ctrl
+	0x8288 core_docd_paddr
+	0x828a core_docd_pdata
+
+	0x8900 modem_en
+	0x8938 mod_value_scale1
+	0x8960 core_rf_rx_agc_ctrl
+	0x8961 core_rf_rx_gain_fix
+	0x8968 core_agc_wb_sat_th
+	0x8969 core_agc_nb_sat_th
+	0x89a0 modem_rssi
+	0x89a1 modem_wb_pow
+	0x89a2 modem_nb_pow
+	0x89a3 modem_gain
+	0x89a4 modem_status
+
+	0x89f0 fpga_rf_gain
+	0x89f1 fpga_rf_gain_ctrl
+	0x89f2 fpga_uart_ctrl
+	0x89f3 fpga_uart_wdata
+	0x89f4 fpga_uart_rdata
+	0x89f5 fpga_uart_status
+
+	0x8a00 core_clkpll_ctrl0              
+	0x8a01 core_clkpll_ctrl1              
+	0x8a02 core_clkpll_ctrl2              
+	0x8a03 core_clkpll_cfg0               
+	0x8a04 core_clkpll_cfg1               
+	0x8a05 core_clkpll_cfg2               
+	0x8a06 core_clkpll_cfg3               
+	0x8a07 core_clkpll_cfg4               
+	0x8a08 core_clkpll_cfg5               
+	0x8a09 core_clkpll_cfg6               
+	0x8a0a core_rf_ldo_en0                
+	0x8a0b core_rf_ldo_en1                
+	0x8a0c core_rf_ldo_cfg0               
+	0x8a0d core_rf_ldo_cfg1               
+	0x8a0e core_rf_ldo_cfg2               
+	0x8a0f core_rf_ldo_cfg3               
+	0x8a10 core_rf_ldo_cfg4               
+	0x8a11 core_rf_ldo_cfg5               
+	0x8a12 core_rf_ldo_cfg6               
+	0x8a13 core_rf_ldo_cfg7               
+	0x8a14 core_rf_ldo_cfg8               
+	0x8a15 core_rf_ldo_cfg9               
+	0x8a16 core_syn_en                    
+	0x8a17 core_rx_en0                    
+	0x8a18 core_rx_en1                    
+	0x8a19 core_tx_en0                    
+	0x8a1a core_tx_en1                    
+	0x8a1b core_force_ctrl                
+	0x8a1c core_rx_lna_gc_gc0             
+	0x8a1d core_rx_lna_gc_gc1             
+	0x8a1e core_rx_lna_gc_gc2             
+	0x8a1f core_rx_lna_gc_gc3             
+	0x8a20 core_rx_lna_gc_gc4             
+	0x8a21 core_rx_lna_gc_gc5             
+	0x8a22 core_rx_lna_gc_gc6             
+	0x8a23 core_rx_lna_gc_gc7             
+	0x8a24 core_rx_lna_gc_gc8             
+	0x8a25 core_rx_lna_hg_isel_gc6        
+	0x8a26 core_rx_lna_hg_isel_gc7        
+	0x8a27 core_rx_lna_hg_isel_gc8        
+	0x8a28 core_rx_lna_lg_isel_gc0        
+	0x8a29 core_rx_lna_lg_isel_gc1        
+	0x8a2a core_rx_lna_lg_isel_gc2        
+	0x8a2b core_rx_lna_lg_isel_gc3        
+	0x8a2c core_rx_lna_lg_isel_gc4        
+	0x8a2d core_rx_lna_lg_isel_gc5        
+	0x8a2e core_rx_bq_gc_gc0              
+	0x8a2f core_rx_bq_gc_gc1              
+	0x8a30 core_rx_bq_gc_gc2              
+	0x8a31 core_rx_bq_gc_gc3              
+	0x8a32 core_rx_bq_gc_gc4              
+	0x8a33 core_rx_bq_gc_gc5              
+	0x8a34 core_rx_bq_gc_gc6              
+	0x8a35 core_rx_bq_gc_gc7              
+	0x8a36 core_rx_bq_gc_gc8              
+	0x8a37 core_rx_gain_force             
+	0x8a38 core_rx_lna_isel_force         
+	0x8a39 core_tx_pwr_ctrl0              
+	0x8a3a core_tx_pwr_ctrl1              
+	0x8a3b core_tx_pwr_ctrl2              
+	0x8a3c core_tx_pwr_ctrl3              
+	0x8a3d core_syn_top_ctrl              
+	0x8a3e core_syn_mmd_cp_ctrl           
+	0x8a3f core_syn_divr_int              
+	0x8a40 core_syn_divr_frac2            
+	0x8a41 core_syn_divr_frac1            
+	0x8a42 core_syn_divr_frac0            
+	0x8a43 core_syn_cal_ctrl              
+	0x8a44 core_rx_tiai_dcoc_gc0          
+	0x8a45 core_rx_tiaq_dcoc_gc0          
+	0x8a46 core_rx_tiai_dcoc_gc1          
+	0x8a47 core_rx_tiaq_dcoc_gc1          
+	0x8a48 core_rx_tiai_dcoc_gc2          
+	0x8a49 core_rx_tiaq_dcoc_gc2          
+	0x8a4a core_rx_tiai_dcoc_gc3          
+	0x8a4b core_rx_tiaq_dcoc_gc3          
+	0x8a4c core_rx_tiai_dcoc_gc4          
+	0x8a4d core_rx_tiaq_dcoc_gc4          
+	0x8a4e core_rx_tiai_dcoc_gc5          
+	0x8a4f core_rx_tiaq_dcoc_gc5          
+	0x8a50 core_rx_tiai_dcoc_gc6          
+	0x8a51 core_rx_tiaq_dcoc_gc6          
+	0x8a52 core_rx_tiai_dcoc_gc7          
+	0x8a53 core_rx_tiaq_dcoc_gc7          
+	0x8a54 core_rx_tiai_dcoc_gc8          
+	0x8a55 core_rx_tiaq_dcoc_gc8          
+	0x8a56 core_rx_bq_daci_gc0            
+	0x8a57 core_rx_bq_dacq_gc0            
+	0x8a58 core_rx_bq_daci_gc1            
+	0x8a59 core_rx_bq_dacq_gc1            
+	0x8a5a core_rx_bq_daci_gc2            
+	0x8a5b core_rx_bq_dacq_gc2            
+	0x8a5c core_rx_bq_daci_gc3            
+	0x8a5d core_rx_bq_dacq_gc3            
+	0x8a5e core_rx_bq_daci_gc4            
+	0x8a5f core_rx_bq_dacq_gc4            
+	0x8a60 core_rx_bq_daci_gc5            
+	0x8a61 core_rx_bq_dacq_gc5            
+	0x8a62 core_rx_bq_daci_gc6            
+	0x8a63 core_rx_bq_dacq_gc6            
+	0x8a64 core_rx_bq_daci_gc7            
+	0x8a65 core_rx_bq_dacq_gc7            
+	0x8a66 core_rx_bq_daci_gc8            
+	0x8a67 core_rx_bq_dacq_gc8            
+	0x8a68 core_rx_tiai_dcoc_force        
+	0x8a69 core_rx_tiaq_dcoc_force        
+	0x8a6a core_rx_bq_daci_force          
+	0x8a6b core_rx_bq_dacq_force          
+	0x8a6c core_rx_bq_bw_cal              
+	0x8a6d core_rx_bq_cfg0                
+	0x8a6e core_rx_bq_cfg1                
+	0x8a6f core_rx_bq_cfg2                
+	0x8a70 core_rx_bq_cfg3                
+	0x8a71 core_rx_bq_cfg4                
+	0x8a72 core_rx_lna_cfg0               
+	0x8a73 core_rx_lna_cfg1               
+	0x8a74 core_rx_lna_cfg2               
+	0x8a75 core_rx_lna_cfg3               
+	0x8a76 core_rx_mixer_cfg0             
+	0x8a77 core_rx_mixer_cfg1             
+	0x8a78 core_rx_mixer_cfg2             
+	0x8a79 core_rx_adc_clk_cfg            
+	0x8a7a core_rx_iqadc_cfg              
+	0x8a7b core_rx_rssiadc_cfg            
+	0x8a7c core_syn_state0                
+	0x8a7d core_syn_state1                
+	0x8a7e core_syn_bias_cfg              
+	0x8a7f core_syn_cdb_cfg0              
+	0x8a80 core_syn_cdb_cfg1              
+	0x8a81 core_syn_cdb_cfg2              
+	0x8a82 core_syn_cdb_cfg3              
+	0x8a83 core_syn_pfd_lkd_cfg           
+	0x8a84 core_syn_cp_lpf_cfg            
+	0x8a85 core_syn_loopdiv_dsm_cfg       
+	0x8a86 core_syn_afc_cfg0              
+	0x8a87 core_syn_afc_cfg1              
+	0x8a88 core_syn_afc_cfg2              
+	0x8a89 core_syn_afc_cfg3              
+	0x8a8a core_syn_aac_cfg0              
+	0x8a8b core_syn_aac_cfg1              
+	0x8a8c core_logen_process_cal0        
+	0x8a8d core_logen_process_cal1        
+	0x8a8e core_logen_process_cal2        
+	0x8a8f core_logen_process_cal3        
+	0x8a90 core_logen_process_cal4        
+	0x8a91 core_logen_process_cal5        
+	0x8a92 core_logen_process_cal6        
+	0x8a93 core_logen_process_cal7        
+	0x8a94 core_logen_process_cal8        
+	0x8a95 core_logen_process_ca9         
+	0x8a96 core_logen_process_ca10        
+	0x8a97 core_gpadc_ctrl                
+	0x8a98 core_tx_abb_cfg                
+	0x8a99 core_tx_mixer_cfg0             
+	0x8a9a core_tx_mixer_cfg1             
+	0x8a9b core_tx_mixer_cfg2             
+	0x8a9c core_tx_pa_cfg                 
+	0x8a9d core_syn_tst_ctrl              
+	0x8a9e core_ana_test_control0         
+	0x8a9f core_ana_test_control1         
+
+
+	0x8c00 core_usb_config
+	0x8c01 core_usb_int_mask
+	0x8c02 core_usb_addr
+	0x8c03 core_usb_rx_saddr
+	0x8c05 core_usb_rx_eaddr
+	0x8c07 core_usb_rxptr
+	0x8c09 core_usb_tx_saddr0
+	0x8c0b core_usb_tx_saddr1
+	0x8c0d core_usb_tx_saddr2
+	0x8c0f core_usb_tx_saddr3
+	0x8c11 core_usb_hmode
+	0x8c18 core_usb_trig
+	0x8c19 core_usb_stall
+	0x8c1a core_usb_clear		//7bit reset   
+	0x8c20 core_usb_rx_wptr
+	0x8c22 core_usb_stall_status
+	0x8c23 core_usb_status
+	0x8c24 core_usb_txbusy
+	0x8c25 core_usb_sof_cntl
+	0x8c26 core_usb_sof_cnth
+	
+)
+
+
+(
+4 rx_freq_offset
+2 tx_freq_offset
+)
+
+(
+/* bit difinitions */
+  4 whiteoff_bit
+  6 clksel_rc
+  1 clksel_dpll_24M
+  5 clksel_dpll
+  4 clksel_xtal
+  5 adc_rccal
+  0 bpf_rccal
+  1 demod_clkoff
+)
+
+(
+  2 reload_code
+  3 gpio_latch
+  4 enable_retmem
+  7 cold_wake
+  0xef isogate_mask
+  0xe0 cs_mask
+)
+
+
+// misc ctrl
+(
+  0x01 spid2_start
+  0x02 spid_start
+  0x04 iicd_start
+  0x08 lock_otp
+  0x10 x_sethi
+  0x20 y_sethi
+  0x40 z_sethi
+  0x80 ccnt_start
+)
+// dma status bit
+(
+  0 otpd_crcok
+  1 otpd_done
+  2 spid_crcok
+  3 spid_done
+  4 iicd_crcok
+  5 iicd_done
+  6 iicd_ack
+)
+
+//bit map of core_uart_status
+(
+1 UART_STATUS_TX_BUSY
+2 UART_STATUS_RX_FIFO_EMPTY
+3 UART_STATUS_RX_FIFO_FULL
+4 UARTB_STATUS_TX_BUSY
+5 UARTB_STATUS_RX_FIFO_EMPTY
+6 UARTB_STATUS_RX_FIFO_FULL
+)
+
+(//core_uart_clksel
+0 UART_CLOCK_SELECT_BIT
+0xFE UART_CLOCK_SELECT_CRYSTAL
+0x01 UART_CLOCK_SELECT_DPLL
+
+24000000 uart_clock_freq_24M
+48000000 uart_clock_freq_48M
+)
+
+
+(//bit map of core_uart_ctrl
+0 BIT_UART_CONTROL_ENABLE
+1 BIT_UART_CONTROL_PARITY
+2 BIT_UART_CONTROL_DATA_LENGTH
+3 BIT_UART_CONTROL_STOP_BIT_SIZE
+4 BIT_UART_CONTROL_FLOW_CONTROL
+5 BIT_UART_CONTROL_7816_SMART_CARD_PROTOCOL
+6 BIT_UART_CONTROL_HALF_DUPLEX_SINGLE_LINE_UART
+7 BIT_UART_CONTROL_RATE_BAUD_SETTING
+)
+(//FUN of core_uart_ctrl
+0x01 FUN_UART_CONTROL_ENABLE
+0x06 FUN_UART_CONTROL_PARITY_ODD
+0x04 FUN_UART_CONTROL_PARITY_EVEN
+0x08 FUN_UART_CONTROL_STOP_2BIT
+0x00 FUN_UART_CONTROL_STOP_1BIT
+0x10 FUN_UART_CONTROL_FLOW_CONTROL_ENABLE
+0x20 FUN_UART_CONTROL_7816_SMART_CARD_PROTOCOL
+0x40 FUN_UART_CONTROL_HALF_DUPLEX_SINGLE_LINE_UART
+0x80 FUN_UART_CONTROL_SETTING_RATE_BAUD
+)
+
+(//bit map of core_nec_control
+0x00 BIT_NEC_ENABLE
+0x01 BIT_NEC_CLK_DIVIDE_NUM
+)
+
+(//FUN  of core_nec_control
+0x01 FUN_NEC_ENABLE
+0x30 FUN_NEC_CLK_DIVIDE_24	//24M , 
+)
+
+0x8b uart_ctrl_default //BCSP
+0x81 uart_ctrl_h4 //H4
+0x81 uart_ctrl_normal
+0x91 uart_ctrl_5line
+0x81 uart_ctrl_57600
+2 uart_baud_len
+0x00 uartclk_crystal
+0x01 uartclk_dpll
+0x1a0 uart_baud_115200
+0xbb uart_baud_256000
+0x340 uart_baud_57600
+0x34 uart_baud_921600
+0x9c4 uart_baud_9600
+
+//core_clkoff
+(
+	0 CLOCK_OFF_AUTH_ROM
+	1 CLOCK_OFF_UC_ROM
+	2 CLOCK_OFF_DEBUG_UART
+	3 CLOCK_OFF_SCHED_RAM
+	4 CLOCK_OFF_TRANCE_FIFO
+	5 CLOCK_OFF_CORDIC
+	6 CLOCK_OFF_OTPD
+	7 CLOCK_OFF_I2C
+	8 CLICK_OFF_8051
+	9 CLOCK_OFF_KEYSCAN
+	0x0a CLOCK_OFF_USB
+	0x0b CLOCK_OFF_QDECODER
+	0x0c CLOCK_OFF_SPI
+	0x0d CLOCK_OFF_PWM
+	0x0e CLOCK_OFF_UARTB
+	0x0f CLOCK_OFF_UART
+)
+
+// gpio config types
+(
+  0 gpcfg_input
+  2 gpcfg_qspi_ncs
+  3 gpcfg_qspi_sck
+  4 gpcfg_qspi_io0
+  5 gpcfg_qspi_io1
+  6 gpcfg_qspi_io2
+  7 gpcfg_qspi_io3
+  8 gpcfg_uart_txd
+  9 gpcfg_uart_rxd
+  10 gpcfg_uart_rts
+  11 gpcfg_uart_cts
+  12 gpcfg_uartb_txd
+  13 gpcfg_uartb_rxd
+  14 gpcfg_uartb_rts
+  15 gpcfg_uartb_cts
+  16 gpcfg_pwm_out0
+  17 gpcfg_pwm_out1
+  18 gpcfg_pwm_out2
+  19 gpcfg_pwm_out3
+  20 gpcfg_pwm_out4
+  21 gpcfg_pwm_out5
+  22 gpcfg_pwm_out6
+  23 gpcfg_pwm_out7
+  24 gpcfg_nec_input
+  25 gpcfg_ac_input
+  31 gpcfg_spid_miso
+  32 gpcfg_spid_ncs
+  33 gpcfg_spid_sck
+  34 gpcfg_spid_mosi
+  35 gpcfg_spid_sdio
+  
+  39 gpcfg_spid2_miso
+  40 gpcfg_spid2_ncs
+  41 gpcfg_spid2_sck
+  42 gpcfg_spid2_mosi
+  43 gpcfg_spid2_sdio
+  44 gpcfg_iic_scl
+  45 gpcfg_iic_sda
+  62 gpcfg_output_low
+  63 gpcfg_output_high
+  
+  0x00 gpcfg_high_impedance
+  0x40 gpcfg_pullup
+  0x80 gpcfg_pulldown
+  0xc0 gpcfg_no_ie
+)
+
Index: format/rfcomm.format
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/format/rfcomm.format	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/format/rfcomm.format	(working copy)
@@ -0,0 +1,391 @@
+/*****************************************************************************/
+/* RCS HEADER -- DO NOT ERASE                                                */
+/* $Author: Administrator $                                                           */
+/* $Id: bt_rfcomm_format.upper,v 1.1 2009-09-28 04:06:17 Administrator Exp $ */
+/* Orisil Technology                                                      */
+/*****************************************************************************/
+
+/**********/
+/* memory */
+/**********/
+
+memalloc(
+1 memRemoteRPNBitRate
+1 memRemotePRNDataBits
+1 memRemotePRNStopBit
+1 memRemotePRNParity
+1 memRemotePRNFlowControl
+1 memRemotePRNXon
+1 memRemotePRNXoff
+
+
+3 mem_mod2div_temp
+2 mem_contw_temp
+2 mem_attrib_list
+
+//rfcomm head
+1 mem_current_adss
+1 mem_current_channel
+1 mem_current_frame_type
+1 mem_current_fcs
+2 mem_current_length
+2 mem_rfcomm_uih_payload_ptr
+
+//rfcomm uih
+1 mem_uih_cmd_type
+2 mem_uih_length
+2 mem_param_payload_ptr
+
+
+//rfcomm modem status
+1 mem_ms_param
+
+//rfcomm pn
+1 mem_pn_credit_flow_type_info
+1 mem_pn_priority
+1 mem_pn_acknowledg_timer
+1 mem_pn_max_retrans
+
+1 mem_rfcomm_send_adss
+1 mem_rfcomm_send_frame_type
+1 mem_rfcomm_send_fcs
+1 mem_rfcomm_send_offset
+
+)
+
+xmemalloc(
+1 mem_pn_dlci
+2 mem_pn_max_frame_size
+
+1 memFCStemp1
+1 memFCStemp2
+1 memFCStemp3
+
+1 mem_rfcomm_initiator
+
+1 mem_remote_spp_channel
+
+1 mem_HIUfcs_SPP
+1 mem_HIUfcs_SPP_WCredits
+
+1 mem_rfcomm_send_more_pkt
+
+1 mem_remote_credits
+1 mem_credit_given
+
+//rfcomm modem status
+1 mem_ms_channel
+
+1 mem_rfcomm_credit_flag
+
+2 mem_rfcomm_max_frame_size
+1 mem_rfcomm_credit_init_data
+
+2 mem_cb_receive_spp_data
+
+2 mem_nl_rx_data_src
+2 mem_nl_rx_len_all
+)
+
+
+(
+0 CREDIT_DISABLE
+1 CREDIT_ENABLE
+)
+
+
+/************************************************************************/
+  
+
+ 
+/************/
+/* constant */
+/************/
+
+/* RFCOMM state for Headset (memRFCOMM_State) */ 
+  (
+    0 RFCOMM_IDLE           /* before the responsor HS receive SABM            */
+    1 RFCOMM_W4_DLCI0_OPEN
+    2 RFCOMM_W4_DLCI0_CLOSE
+    3 RFCOMM_START_DLCI0    /* After respond SABM frame (DLCI=0)               */
+    4 RFCOMM_W4_DLCI_OPEN
+    5 RFCOMM_W4_DLCI_CLOSE
+    6 RFCOMM_DLCI_OPENED    
+   
+  )
+  
+/* RFCOMM timer constants   */
+  (
+    1000  RFCOMM_T1         /* Used by SABM and DISC frames,100*20ms = 20s     */     
+    1000  RFCOMM_T2         /* Used by commands send in UIH on DLCI0,          */
+    300   RFCOMM_T3_RINGON  /* 6s for ring fade time                           */
+  
+  )
+
+/* Command Type */
+  (
+    0x3F RSP_RX_SABM        /*responsor expect SABM from initiator             */
+    0x3F INI_TX_SABM
+	
+    0x73 RSP_TX_UA          /*responsor send out UA command                    */
+    0x73 UA_WFBIT_SET	    /* UA control field with F bit set                 */
+	
+    0xEF RSP_RX_UIH         /*responsor expect UIH from initiator              */
+
+    0xEF RSP_TX_UIH         /*responsor send UIH to initiator                  */
+     
+    0x1F RSP_TX_DM          /*responsor send DM to initiator                   */
+    0x1F DM_WFBIT_SET       /* DM control field with F bit set                 */
+    0x0F DM_WFBIT_CLEAR     /* DM control field with F bit clear               */
+
+    0x53 RSP_RX_DISC        /*responsor expect DISC from initiator             */
+    0x53 INI_TX_DISC	    /*initiator send DISC control type command         */
+     
+    0xFF RSP_RX_UIH_WDATA   /*UIH data with credit flow control info           */
+    
+    
+  )
+
+/* Multiplexor commands and responses frames */
+  (
+    0x83 PN_COMMAND           /* Bit 0 EA C/R Type = 000001         */
+    0x81 PN_RESPONSOR         /* Bit 0 EA C/R Type = 000001         */
+    
+    0xE3 MSC_COMMAND          /* Bit 0 EA C/R Type = 000111         */
+    0xE1 MSC_RESPONSOR
+ 
+    0x13 NSC_COMMAND          /* Bit 0 EA C/R Type = 001000         */
+    0x11 NSC_RESPONSOR        /* Bit 0 EA C/R Type = 001000         */
+
+    0x23 TEST_COMMAND         /* Bit 0 EA C/R Type = 000111         */
+    0x21 TEST_RESPONSOR 
+    
+    0x93 RPN_COMMAND          /* Bit 0 EA C/R Type = 001001         */
+    0x91 RPN_RESPONSOR 
+    
+    0x53 RLS_COMMAND          /* Bit 0 EA C/R Type = 001010         */
+    0x51 RLS_RESPONSOR 
+
+    0xA3 FCON_COMMAND         /* Bit 0 EA C/R Type = 000101         */
+    0xA1 FCON_RESPONSOR 
+    
+    0x63 FCOFF_COMMAND        /* Bit 0 EA C/R Type = 000110         */
+    0x61 FCOFF_RESPONSOR 
+    	
+    0x03 RLS_OVERRUN
+    0x05 RLS_PARITY_ERROR
+    0x09 RLS_FRAMING_ERROR
+  )
+
+/* memLocalCredit */
+  (
+    0x01 RFCOMM_CREDIT
+  )
+
+  (
+  	0x007f RFCOMM_MAX_FRAME_SIZE
+  )
+
+/* UIH received Data length */
+  (
+    0  LENGTH_ZERO
+    
+    6  LENGTH_OK
+    7  LENGTH_HOT
+    8  LENGTH_RING
+    9  LENGTH_ERROR
+    9  LENGTH_AGVOL_ONEBYTE
+    10 LENGTH_AGVOL_TWOBYTE
+    10 LENGTH_VOL_ONEBYTE
+    11 LENGTH_VOL_TWOBYTE
+    12 LENGTH_BRSF
+    13 LENGTH_PLUS_CIEV
+    15 LENGTH_INBANDRING
+    14 LENGTH_CIEV_CALL
+    17 LENGTH_CRING
+    20 LENGTH_BRSF_OK
+    24 LENGTH_CIND0
+    28 LENGTH_CIEV_TWO
+    32 LENGTH_CIND_OK
+    59 LENGTH_CIND_OK2
+    100 LENGTH_DISCARD
+  )
+  
+/************/
+/* flags    */
+/************/
+  
+/* memRFCOMM_L2CAP_Interface */
+  (
+    0 RFCOMM_TX_W4BUF_FLAG    /* Wait for Tx buffer empty flag */
+    1 RFCOMM_CLOSE_LINK_FLAG
+  )
+  
+
+    
+/* memRemoteMSC		*/
+  (
+    0 MSC_EA_BIT
+    1 MSC_FC_BIT
+    2 MSC_RTC_BIT
+    3 MSC_RTR_BIT
+    6 MSC_IC_BIT
+    7 MSC_DV_BIT
+  )
+
+/* memRemoteRLS         */
+  (
+    0x0C OVERRUN_ERROR
+    0x0A PARITY_ERROR
+    0x09 FRAMING_RERROR
+  )
+  
+/* memRemoteRPNBitRate  */
+  (
+    0x00 BITS2400
+    0x01 BITS4800
+    0x02 BITS7200
+    0x03 BITS9600
+    0x04 BITS19200
+    0x05 BITS38400
+    0x06 BITS57600
+    0x07 BITS115200
+    0x08 BITS230400
+  )
+  
+/* memRemotePRNDataBits	*/
+  (
+    0x00 DATABITS5
+    0x01 DATABITS6
+    0x02 DATABITS7
+    0x03 DATABITS8
+  )
+  
+/* memRemotePRNStopBit	*/
+  (
+    0    ONESTOP
+    1    ONEHALFSTOP
+  )
+  
+/* memRemotePRNParity   */
+  (
+    0    ODDPARITY
+    1    EVENPARITY
+    2    MARKPARITY
+    3    SPACEPARITY
+    
+    7    PARITY_ENABLE_BIT
+  )
+
+/* RPN bit mask(in)     */
+  (
+     0   BIT_RATE_MASK_BIT
+     1   DATA_BITS_MASK_BIT
+     2   STOP_BITS_MASK_BIT
+     3   PARITY_MASK_BIT
+     4   PARITY_TYPE_MASK_BIT
+     5   XON_CHAR_MASK_BIT
+     6   XOFF_CHAR_MASK_BIT
+  )
+  
+/* RPN bit mask(in) 2    */
+  (
+     0   XON_XOFF_INPUT_MASK_BIT
+     1   XON_XOFF_OUTPUT_MASK_BIT
+     2	 RTR_INPUT_MASK_BIT
+     3   RTR_OUTPUT_MASK_BIT
+     4   RTC_INPUT_MASK_BIT
+     5   RTC_OUTPUT_MASK_BIT
+
+  )
+
+/* memRFCOMM_Request	*/
+  (
+    0 SEND_MSC_CMD_REQ_FLAG
+    1 SEND_AT_CKPD_REQ_FLAG
+    2 SEND_RING_REQ_FLAG
+    3 SEND_SABM_CMD
+  )
+  
+/* memRFCOMM_Misc_Flag  */
+  (
+    0 MSC_CDM_ALREADY_SEND_FLAG
+    1 CREDIT_FLOW_USED_FLAG
+    2 DONT_EMBEDDED_CREDIT_FLAG 
+    3 MSC_EXCHANGE_DONE_FLAG
+    4 FLOW_CONTROL_FCOFF_BIT            /* set when receive FCoff, clear when FCon   */
+  )
+  
+/* memRemoteMSC		*/
+  (
+    1 FLOW_CONTROL_FC_BIT		/* received MSC FC bits                      */
+  
+  )
+/* Address filed        */
+  (
+    0 ADDR_EA_BIT
+    1 ADDR_CR_BIT
+    2 ADDR_D_BIT
+  )
+//should be same as descripted in SDP
+(
+    1 SPP_SLAVE_CHANNEL
+    7 OBEX_SERVER_CHANNEL
+    8 HF_SERVER_CHANNEL 
+    9 HS_SERVER_CHANNEL
+)
+/* memRFCOMM_Flag */
+(
+	0 USING_HF_PROFILE
+	1 USING_HS_PROFILE
+	2 USING_SPP_PROFILE
+)
+/*RFCOMM Frame Type*/
+(
+	0x3f RFCOMM_FRAME_TYPE_SABM
+	0x73 RFCOMM_FRAME_TYPE_UA
+	0xEF RFCOMM_FRAME_TYPE_UIH
+	0xFF RFCOMM_FRAME_TYPE_UIH_CREDITS
+	0x53 RFCOMM_FRAME_TYPE_DISCONN
+)
+/*RFCOMM UIH CMD TYPE*/
+(
+	0x41 UIH_PARAM_NEG_CMD
+	0x40 UIH_PARAM_NEG_RES
+	0x49 UIH_PARAM_CMD_REMOVE_PORT
+	0x71 UIH_MODEM_STATUS_CMD
+	0x70 UIH_MODEM_STATUS_RES
+)
+
+/*bits in rfcomm address*/
+(
+	0 RFCOMM_ADDRESS_EXT_LEN
+	1 RFCOMM_ADDRESS_CR
+	2 RFCOMM_ADDRESS_DERECTION
+
+
+)
+
+	(                                   
+	0 RFCOMM_CHANNEL_STATE_PN_CMD
+	1 RFCOMM_CHANNEL_STATE_PN_RES
+	2 RFCOMM_CHANNEL_STATE_SABM
+	3 RFCOMM_CHANNEL_STATE_UA
+	4 RFCOMM_CHANNEL_STATE_SND_MS_CMD
+	5 RFCOMM_CHANNEL_STATE_RCV_MS_CMD
+	6 RFCOMM_CHANNEL_STATE_SND_MS_RES
+	7 RFCOMM_CHANNEL_STATE_RCV_MS_RES
+	0xff RFCOMM_CHANNEL_SETUP_COMPLETE
+	) 
+
+	/*mem_rfcomm_send_more_pkt*/
+	(
+	1 MORE_PKT_MSC_CMD_HF
+	2 MORE_PKT_MSC_CMD_HS
+	3 MORE_PKT_MSC_CMD_SPP
+	4 MORE_PKT_MSC_CMD_OBEX
+	)
+
+	(
+	127 RFCOMM_MALLOC_SIZE
+	)
\ No newline at end of file
Index: format/sdp.format
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/format/sdp.format	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/format/sdp.format	(working copy)
@@ -0,0 +1,70 @@
+
+memalloc(
+0 mem_sdp_mem_start
+8 mem_sdp_uuid_search_ptr
+2 mem_sdp_continue_byte
+1 mem_sdp_pduid
+2 mem_sdp_transactionid
+2 mem_sdp_transactionid_local
+2 mem_sdp_attribute_maxbyte
+2 mem_sdp_record_maxcnt
+4 mem_sdp_record_handle
+1 mem_sdp_LACAP_found
+1 mem_sdp_RFCOMM_found
+0 mem_sdp_handle_list
+32 mem_sdp_attrib_list
+2 mem_sdp_error_code
+2 mem_sdp_all_length
+1 mem_handle_humber
+2 mem_search_uuid
+0 mem_sdp_mem_end
+)
+xmemalloc(
+2 mem_ui_uuid_table
+22 mem_all_uuid_16bits
+34 mem_all_uuid_128bits
+2 mem_sdp_l2capch_ptr
+)
+(
+0 AGORHS_SERVICE
+1 GENAUDIO_SERVICE
+2 HANDSFREE_SERVICE
+)
+(
+0 ATTRIBUTEID_0000
+1 ATTRIBUTEID_0001
+2 ATTRIBUTEID_0004
+3 ATTRIBUTEID_0009
+4 ATTRIBUTEID_0100
+5 ATTRIBUTEID_0302
+6 ATTRIBUTEID_0006
+7 ATTRIBUTEID_0311
+)
+
+(
+0x01 SDP_ERROR_RES
+0x02 SDP_SEARCH_REQ
+0x03 SDP_SEARCH_RES
+0x04 SDP_ATTRIBUTE_REQ
+0x05 SDP_ATTRIBUTE_RES
+0x06 SDP_SEARCHATTRIB_REQ
+0x07 SDP_SEARCHATTRIB_RES
+)
+0x2600 sdp_max_amount
+250 SDP_MALLOC_SIZE
+0x6e sdp_tid_spp //any number
+
+(
+0x1f11 SDP_UUID_HS_AUDIO_GATEWAY
+)
+
+(
+0X09 SDP_ATTRIBUTE_ID
+0x0a SDP_ATTRIBUTE_RANGE
+)
+
+(//mem_sdp_handle_list
+7 SDP_MAX_HANDLE_NUMBER
+)
+
+ 
Index: format/security.format
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/format/security.format	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/format/security.format	(working copy)
@@ -0,0 +1,108 @@
+
+memalloc (
+
+
+16 mem_random_number
+16 mem_round_key
+16 mem_kinit
+
+16 mem_input_store
+16 mem_x
+15 mem_y
+1 mem_y15
+17 mem_key_store
+1 mem_key_store_end
+2 memp_ar_key
+2 memp_ar_input
+10 mem_ar_hround
+
+
+1 mem_ec_infinite
+2 mem_ec_loopc
+1 mem_aes_cmac_data_length
+
+0 memdat
+/* ecc calculation */
+
+24 mem_ax
+24  mem_ay
+24  mem_az
+24 mem_bx
+0 mem_ax_256 //32 bytes
+24 mem_by
+8 mem_bz
+16 mem_ay_256 // 32 bytes
+16 mem_cx
+8 mem_az_256 // 32 bytes
+23 mem_cy
+1 mem_cy5
+0 mem_bx_256 // 32 bytes
+24 mem_cz
+8  mem_k
+16 mem_by_256 // 31 bytes
+16 mem_align
+
+0 mem_bz_256  //32 bytes
+0 mem_tmp1
+24 memahbak
+8 mem_tmp5
+0 mem_cx_256  //32 bytes
+16 memahsave
+16  mem_tmp2
+0 mem_cy_256  // 32 bytes
+0  memahsave_end 
+1  mem_addr_padding 
+7   mem_addr_value         /* 12 bytes     */ 
+0 mem_tmp3
+5 mem_t1
+3  mem_addr_value_end   
+15 mem_addr_iocap_end
+1 mem_cy5_256 // 1 byte
+0 mem_cz_256 // 32 bytes
+0 mem_tmp0
+8 mem_t0
+16 mem_tmp0a
+8  mem_t2
+16 mem_k_256 //32 bytes
+16 mem_t3
+8  mem_tmp1_256 //32 bytes
+24 mem_t7
+
+
+32 mem_tmp5_256
+32  mem_tmp2_256
+0 mem_tmp3_256
+32 mem_t1_256
+0 mem_tmp0_256
+32 mem_t0_256
+32 mem_t2_256
+32 mem_t3_256
+32 mem_t7_256
+
+24 mem_p		
+24 mem_a
+24 mem_b
+24 mem_gx
+24 mem_gy
+32 memh0
+
+
+32 mem_p_256		
+32 mem_a_256
+32 mem_gx_256
+32 mem_gy_256
+16 mem_le_slat
+
+)
+
+xmemalloc(
+5 mem_ccm_pcnt_tx
+5 mem_ccm_pcnt_rx
+4 mem_ccm_last_mic
+0 mem_ccm_iv
+4 mem_ccm_ivm
+4 mem_ccm_ivs
+2 mem_ccm_len
+2 mem_ccm_rx_ptr
+)
+
Index: format/simple_pairing.format
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/format/simple_pairing.format	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/format/simple_pairing.format	(working copy)
@@ -0,0 +1,212 @@
+/* simple pairing page */
+
+memalloc(
+
+//4 mem_hci_ssp_mode
+0 mem_sp_state_start
+1 mem_sp_state
+1 mem_master_sp_state
+1 mem_sp_flag
+1 mem_master_sp_flag
+1 mem_sp_calc
+1 mem_sp_dh_ready
+1 mem_sp_localsm
+1 mem_pairing_auth
+
+1 mem_sp_local_key_send_count
+1 mem_sp_remote_key_recv_count
+1 mem_sp_remote_key_invalid
+1 mem_sp_dhkey_invalid
+4 mem_gkey
+0 mem_sp_state_end
+
+8 mem_le_pubkey_remote_x_256
+0 mem_sp_pubkey_remote
+24 mem_sp_pubkey_remote_x
+0 mem_sp_pubkey_remote_x_end
+8 mem_le_pubkey_remote_y_256
+24 mem_sp_pubkey_remote_y
+
+8 mem_le_dhkey_256
+24 mem_sp_dhkey
+0 mem_sp_dhkey_end
+
+16 mem_sp_random_local
+0 mem_sp_random_local_end
+16 mem_sp_random_remote
+0 mem_sp_random_remote_end
+0 memresult
+0 mem_sp_calc_result
+4 memh
+4 memg
+4 memf
+4 meme
+0 mem_sp_calc_result_high
+4 memd
+4 memc
+4 memb
+4 mema
+16 mem_sp_check_result
+16 mem_sp_confirm_remote
+16 mem_sp_prarm_stack
+)
+
+xmemalloc(
+1 mem_sc_only_mode
+1 mem_sp_debug_mode
+1 mem_secure_connections_enable
+1 mem_sp_local_key_invalid
+1 mem_sc_calc
+1 mem_sc_local_key_invalid
+
+
+32 mem_sc_private_key_256
+32 mem_sc_pubkey_local_x_256
+32 mem_sc_pubkey_local_y_256
+
+24 mem_sp_private_key
+0 mem_sp_pubkey_local
+24 mem_sp_pubkey_local_x
+0 mem_sp_pubkey_local_x_end
+24 mem_sp_pubkey_local_y
+
+1 mem_ssp_enable
+1 mem_lmp_io_cap_payload_iocap
+1 mem_lmp_io_cap_payload_oob_auth_data
+1 mem_lmp_io_cap_payload_auth_req
+
+0 mem_sp_state_xmem
+3 mem_sp_iocap_remote
+1 mem_flag_mode_ssp_pin
+1 mem_ssp_mode_flag
+1 mem_authentication_passkey_times
+1 mem_passkey_1bit
+1 mem_flag_pairing_state
+0 mem_sp_state_xmem_end
+)
+/* simple pairing status flag */
+(
+  0x00   SP_FLAG_STANDBY
+  0x01   SP_FLAG_COMMIT
+  0x02   LE_SP_FLAG_COMMIT_256
+
+)
+
+/* simple pairing calc flag */
+(
+  0x00   SP_CALC_STANDBY
+  0x01   SP_CALC_PUBKEY
+  0x02   SP_CALC_DHKEY
+  0x03   SP_CALC_PUBKEY_256
+  0x04   SP_CALC_DHKEY_256
+)
+
+/* simple pairing state */
+(
+  0x00   SP_STAT_NULL
+  0x01   SP_STAT_KEY_RECV
+  0x02   SP_STAT_KEY_GENERATE
+  0x03   SP_STAT_KEY_SEND
+  0x04   SP_STAT_COMMIT_CALC
+  0x05   SP_STAT_COMMIT_SEND
+  0x06   SP_STAT_RANDOM_RECV
+  0x07   SP_STAT_RANDOM_SEND
+  0x08   SP_STAT_CONFIRM_RECV
+  0x09   SP_STAT_CONFIRM_CHECK
+  0x0A   SP_STAT_CONFIRM_CALC
+  0x0B   SP_STAT_CONFIRM_SEND
+  0x0C   SP_STAT_LINK_KEY_CALC
+  0x0F   SP_STAT_DONE
+  0x10   SP_STAT_FEATURE_EXT_SEND
+  0x11   SP_STAT_GKEY_CALC
+  /*simple pairing master only*/
+  0x12   SP_MASTER_STAT_START_SKIP
+  0x13   SP_MASTER_STAT_START_DONE
+  0x14   SP_STAT_COMMITMENT_COMPARE
+  0x15   SP_STATE_END
+)
+
+
+/* simple paring invalid flag */
+(
+  0x00   SP_KEY_INVALID
+  0x01   SP_KEY_VALID
+  0x03   SP_KEY_VALID_256
+
+)
+
+/* encapsulated defination for P-256 key */
+(
+  0x01  ENCAPSULATED_MAJOR_TYPE
+  0x02  ENCAPSULATED_MINOR_TYPE_P256
+  0x40  ENCAPSULATED_LEN_P256
+)
+/* encapsulated defination for P-192 key */
+(
+  0x01  ENCAPSULATED_MAJOR_TYPE_P192
+  0x01  ENCAPSULATED_MINOR_TYPE_P192
+  0x30  ENCAPSULATED_LEN_P192
+)
+
+/* bluetooth 2.1 support flag */
+(
+  0x00  SIMPLE_PAIRING_ENABLE
+  0x01  ENCRYPTION_PAUSE_ENABLE
+  0x02  EXTENDED_INQUIRY_RESPOSE_ENABLE
+  0x03  SNIFF_SUBRATING_ENABLE
+)
+
+/*mem_sp_localsm*/
+(
+  0x00 DEFAULT_STATEMACHINE
+  0x01 LOCAL_STATEMACHINE
+)
+
+(
+ 0x00 DEFALT_PAIRING_AUTH
+ 0x01 PAIRING_AUTH
+)
+
+//mem_secure_connections_enable
+(
+0 SECURE_CONNECTIONS_LE_BIT
+1 SECURE_CONNECTIONS_BR_BIT
+)
+
+(
+1 SSP_MODE_SSP_PIN_FLAG
+2 SSP_MODE_PASSKEY_ENTRY_FLAG
+3 SSP_MODE_JUST_WORK_FLAG
+)
+
+(
+7 FLAG_MODE_SSP_PIN_REVICEVE_COMPARISON_BIT
+6 FLAG_MODE_SSP_PIN_RECIEVE_DHKEY_BIT
+0 FLAG_MODE_SSP_PIN_COMPARISON_RESULT_BIT
+)
+(
+1 FLAG_PAIRING_STATE_PAIRING
+0 FLAG_PAIRING_STATE_NOT_PAIRING
+)
+(//LMP_IO_CAP_REQ & LMP_IO_CAP_RES
+//IO capability
+0x00 IO_CAPABILITY_DISPLAY_ONLY
+0x01 IO_CAPABILITY_DISPLAY_YESNO
+0x02 IO_CAPABILITY_KEYBOARD_ONLY
+0x03 IO_CAPABILITY_NO_INPUT_NO_OUTPUT
+
+//oob data Present
+0x00 OOB_DATA_PRESENT_NOT_PRESENT
+0x01 OOB_DATA_PRESENT_P192_DATA
+0x02 OOB_DATA_PRESENT_P256_DATA
+0x03 OOB_DATA_PRESENT_P192_P256_DATA
+// authentication requirements
+0x00 AUTH_REQ_MITM_PROTECTION_NOT_REQUIRED_NO_BONDING
+0x01 AUTH_REQ_MITM_PROTECTION_REQUIRED_NO_BONDING
+0x02 AUTH_REQ_MITM_PROTECTION_NOT_REQUIRED_DEDICATED_BONDING
+0x03 AUTH_REQ_MITM_PROTECTION_REQUIRED_DEDICATED_BONDING
+0x04 AUTH_REQ_MITM_PROTECTION_NOT_REQUIRED_GENERAL_BONDING
+0x05 AUTH_REQ_MITM_PROTECTION_REQUIRED_GENERAL_BONDING
+)
+
+  
Index: format/ui.format
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/format/ui.format	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/format/ui.format	(working copy)
@@ -0,0 +1,451 @@
+/*****************************************************************************/
+/* RCS HEADER -- DO NOT ERASE                                                */
+/* $Author: Administrator $                                                           */
+/* $Id: bt_ui_format.upper,v 1.1 2009-09-28 04:06:17 Administrator Exp $     */
+/************************************************************************/
+
+
+	/* ========= memory ============== */
+memalloc(
+2 mem_UI_data_txbuff_length
+
+1 mem_ipc_skip_continue_proc
+0 mem_ui_timer_temp  //length 4
+4 mem_ipc_rega_temp
+) 
+
+xmemalloc(
+//UI Work area
+1 mem_ipc_lock_bt
+1 mem_ipc_lock_c51
+8 mem_ipc_fifo_bt2c51
+8 mem_ipc_fifo_c512bt
+
+1 mem_ui_button_timer
+1 mem_ui_button_last_state
+4 mem_ui_timer_last_btclk
+2 mem_discovery_timeout_timer_count
+1 mem_hid_handshake_timer_count
+1 memui_reconnect_mode
+2 mem_ui_state_map
+
+//UI Config area
+1 mem_ui_profile_supported
+1 mem_ui_button_timeout
+1 mem_ui_button_gpio
+2 mem_discovery_timeout
+1 mem_pin_length
+16 mem_pin
+
+)
+/************/
+/* constant */
+/************/
+
+//mem_ui_state_map
+(
+0 UI_STATE_BT_CONNECTED
+1 UI_STATE_BT_SETUP_COMPLETE
+2 UI_STATE_BT_HID_CONN
+3 UI_STATE_BT_HID_HANDSHAKE
+4 UI_STATE_BT_SPP_CONN
+5 UI_STATE_BT_SNIFF
+6 UI_STATE_BT_DISCOVERY
+7 UI_STATE_BT_RECONNECT
+8 UI_STATE_BT_SLAVE_ROLE
+9 UI_STATE_BLE_CONNECTED
+10 UI_STATE_BLE_WRITE_RCV
+11 UI_STATE_BLE_ADV
+12 UI_STATE_BTN_DOWN
+)
+
+(
+1 UI_STATE_SPP_NL_AUTO_DISCOVER
+
+)
+
+/* UI state for Headset (memui_HS_State) */ 
+   (
+    0 UI_HEADSET_DISCONNECT
+    1 UI_HEADSET_IDLE                   /* before the responsor HS receive SABM      */
+    2 UI_HEADSET_W4CONNECT
+    3 UI_HEADSET_RINGING
+    4 UI_HEADSET_CONNECTED
+    5 UI_HEADSET_PARING
+  )
+/* memui_BB_State */
+(
+  0 UI_BB_OFF
+  1 UI_BB_IDLE
+  2 UI_BB_DISCOVERY
+  3 UI_BB_CONNECTED_ACTIVE_NO_SCO
+  4 UI_BB_CONNECTED_ACTIVE_WITH_SCO
+  5 UI_BB_CONNECTED_ACTIVE_WAIT_SNIFF
+  6 UI_BB_CONNECTED_SNIFF
+  7 UI_BB_RECONNECT
+  8 UI_BB_CONNECTED_SNIFF_WITH_SCO
+)
+
+/************/
+/* flags    */
+/************/
+  
+/* memui_Misc_Flags */
+  (
+    5 NO_IDLE_TURN_OFF
+    7 ANSWER_RING_FLAG               /* 1 Answer,0 no*/
+  )
+
+/* mem_UI_SCH_Interface */
+  (
+    0  UI_HS_PAIRING 
+    2  UI_REQ_CLOSE_RFCOMM
+    3  UI_LINK_LOST
+    4  UI_REQ_OPEN_SCO
+    6  UI_REQ_CLOSE_SCO
+  )
+  
+/* memui_PassOverKey */
+  (
+    0  ANSWER_RING_BIT
+    0  AG_SEND_RING_BIT
+    1  VOL_UP_BIT
+    2  VOL_DOWN_BIT
+    3  INI_CALL_BIT
+    4  DAIL_LAST_CALL
+    5  END_CALL_BIT
+    6  NOKIA_VOICE_ACTIVE 
+    7  REJECT_CALL_BIT
+  )
+  
+/* memui_reconnect_mode */
+(
+  0 NO_RECONNECTION
+  1 RECONNECT_HID
+  2 RECONNECT_HF
+  3 RECONNECT_HS
+  4 RECONNECT_HID_HF
+  5 RECONNECT_HID_HS
+)
+/* memui_Commands */
+(
+0 BT_CMD_STANDBY
+1 BT_CMD_START_DISCOVERY
+2 BT_CMD_STOP_DISCOVERY
+3 BT_CMD_RECONNECT
+4 BT_CMD_DISCONNECT
+5 BT_CMD_ENTER_SNIFF
+6 BT_CMD_EXIT_SNIFF
+7 BT_CMD_ENTER_SNIFF_SUBRATING
+8 BT_CMD_EXIT_SNIFF_SUBRATING
+9 BT_CMD_SNIFF_TEST
+10 BT_CMD_SET_PIN_CODE
+11 BT_CMD_START_INQUIRY
+12 BT_CMD_STOP_INQUIRY
+13 BT_CMD_START_ADV
+14 BT_CMD_STOP_ADV
+15 BT_CMD_START_DIRECT_ADV
+16 BT_CMD_STOP_DIRECT_ADV
+17 BT_CMD_LE_DISCONNECT
+18 BT_CMD_LE_UPDATE_CONN
+19 BT_CMD_LED_OFF
+20 BT_CMD_LED_ON
+21 BT_CMD_LED_BLINK
+22 BT_CMD_LE_START_CONN
+23 BT_CMD_LE_START_SCAN
+24 BT_CMD_LE_STOP_SCAN
+25 BT_CMD_ENTER_HIBERNATE
+27 BT_CMD_LE_SMP_SECURITY_REQUEST
+29 BT_CMD_ROLE_SWITCH
+30 BT_CMD_BB_RECONN_CANCEL
+31 BT_CMD_STORE_RECONN_INFO_LE
+32 BT_CMD_STORE_RECONN_INFO_BT
+33 BT_CMD_DHKEY_NOT_ACCEPT
+34 BT_CMD_START_24G
+35 BT_CMD_STOP_24G
+36 BT_CMD_PAIR_24G
+37 BT_CMD_STORE_RECONN_INFO
+)
+
+(
+0x00 BT_EVT_NULL
+0x01 BT_EVT_BB_CONNECTED
+0x02 BT_EVT_BB_DISCONNECTED
+0x03 BT_EVT_RECONN_STARTED
+0x04 BT_EVT_RECONN_FAILED
+0x05 BT_EVT_SETUP_COMPLETE
+0x06 BT_EVT_HID_CONNECTED
+0x07 BT_EVT_HID_DISCONNECTED
+0x08 BT_EVT_SPP_CONNECTED
+0x09 BT_EVT_SPP_DISCONNECTED
+0x0A BT_EVT_PINCODE_REQ
+0x0B BT_EVT_ENTER_SNIFF
+0x0C BT_EVT_EXIT_SNIFF
+0x0D BT_EVT_ENTER_SNIFF_SUB
+0x0E BT_EVT_EXIT_SNIFF_SUB
+0x0F BT_EVT_DISCOVERY_STOPED
+0x10 BT_EVT_BUTTON_LONG_PRESSED
+0x12 BT_EVT_HID_HANDSHAKE
+0X13 BT_EVT_RECONN_PAGE_TIMEOUT
+0x14 BT_EVT_LE_CONNECTED
+0X15 BT_EVT_LE_DISCONNECTED
+0x16 BT_EVT_ML2CAP_CONN_REFUSED
+0x17 BT_EVT_BUTTON_ENTER_HIBERNATE
+0x18 BT_EVT_LINKKEY_GENERATE
+0x19 BT_EVT_SWITCH_NOT_ACCEPT
+0x20 BT_EVT_SWITCH_ACCEPT
+0x21 BT_EVT_SNIFF_NOT_ACCEPT
+0x22 BT_EVT_SNIFF_ACCEPT
+0x23 BT_EVT_UNSNIFF_ACCEPT
+0x24 BT_EVT_UNSNIFF_NOT_ACCEPT
+0x25 BT_EVT_BUTTON_ADJUST_DPI
+0x26 BT_EVT_SEND_UNSNIFF_ACCEPT
+0x27 BT_EVT_VIRTUAL_CABLE_UNPLUG
+0x28 BT_EVT_LE_WRITE_REQUEST
+0x29 BT_EVT_LE_ENC_INFO
+0x2a BT_EVT_SWITCH_FAIL_MASTER
+0x2b BT_EVT_SWITCH_SUCCESS_MASTER
+0x2c BT_EVT_BUTTON_DOWN
+0x2d BT_EVT_BUTTON_UP
+0x2e BT_EVT_REMOTE_UNSNIFF
+0x30 BT_EVT_LE_PAIRING_FAIL
+0x31 BT_EVT_LE_PAIRING_SUCCESS
+0x32 BT_EVT_LE_START_ENC
+0X33 BT_EVT_LE_PAUSE_ENC
+0X34 BT_EVT_LE_TK_GENERATE
+0x35 BT_EVT_BT_GKEY_GENERATE
+0x36 BT_EVT_BT_GET_PASSKEY
+0x37 BT_EVT_BT_PAIRING_FAIL
+0x38 BT_EVT_BT_PAIRING_SUCCESS
+0x39 BT_EVT_24G_PAIRING_COMPLETE
+0x3a BT_EVT_24G_ATTEMPT_FAIL
+0x3b BT_EVT_LE_GKEY_GENERATE
+0x3c BT_EVT_24G_ATTEMPT_SUCCESS
+0x3d BT_EVT_STORE_NVRAM
+0x3e BT_EVT_LE_PAIRING_COMPLETE
+0x3F BT_EVT_LE_RECONNECT_COMPLETE
+0x40 BT_EVT_LE_PARSE_CONN_PAPA_UPDATE_RSP
+0x41 BT_EVT_LE_LTK_LOST
+0x42 BT_EVT_LE_UPDATE_PHY
+0x43 BT_EVT_LE_GET_PASSKEY
+0x44 BT_EVT_LE_PARSE_CONN_PARAM_ACCEPTED
+)
+//switch
+(
+0 OFF
+1 ON
+)
+/* memui_mem_lock */
+(
+    0 MEM_UNLOCK
+    1 MEM_LOCK
+)
+/* memui_flag0 */
+(
+    0 UI_USER_DATA_FLAG
+    1 UI_WII_WAITING_SLEEP
+    2 UI_KEYBOARD_SNIFF_SKIP
+)
+/* mem_master_type */
+(
+    0 MTYPE_HID_DEFAULT
+    1 MTYPE_HID_SSP
+    2 MTYPE_SPP
+)
+
+	(	
+	0x01 RECIEVE_SDP_CONN_RES
+	0x02 RECIEVE_SDP_CFG_REQ
+	0x03 RECIEVE_SDP_CFG_RES
+	0x04 RECIEVE_RFCOMM_CONN_RES
+	0x05 RECIEVE_RFCOMM_CFG_REQ
+	0x06 RECIEVE_RFCOMM_CFG_RES
+	0x07 RECIEVE_HID_CTRL_CONN_RES
+	0x08 RECIEVE_HID_CTRL_CFG_REQ
+	0x09 RECIEVE_HID_CTRL_CFG_RES
+	0x0A RECIEVE_HID_INT_CONN_RES
+	0x0B RECIEVE_HID_INT_CFG_REQ
+	0x0C RECIEVE_HID_INT_CFG_RES
+	0x0D RECIEVE_AVCTP_CONN_RES
+	0x0E RECIEVE_AVCTP_CFG_REQ
+	0x0F RECIEVE_AVCTP_CFG_RES
+	0x10 RECIEVE_AVDTP_SIGNAL_CONN_RES
+	0x11 RECIEVE_AVDTP_SIGNAL_CFG_REQ
+	0x12 RECIEVE_AVDTP_SIGNAL_CFG_RES
+	0x13 RECIEVE_AVDTP_MEDIA_CONN_RES
+	0x14 RECIEVE_AVDTP_MEDIA_CFG_REQ
+	0x15 RECIEVE_AVDTP_MEDIA_CFG_RES
+	0x16 RECIEVE_SS_REASULT_HS                  
+	0x17 RECIEVE_SS_REASULT_HF                  
+	0x18 RECIEVE_SS_REASULT_AVTARG		          
+	0x19 RECIEVE_SS_REASULT_OBEX		            
+	0x1A RECIEVE_DLCI0_UA
+	0x1B RECIEVE_HS_PARAM_NEG_RES
+	0x1C RECIEVE_HS_UA
+	0x1D RECIEVE_HS_MODEM_STATUS_RES
+	0x1E RECIEVE_HS_MODEm_STATUS_CMD
+	0x1F RECIEVE_HF_PARAM_NEG_RES   
+	0x20 RECIEVE_HF_UA              
+	0x21 RECIEVE_HF_MODEM_STATUS_RES
+	0x22 RECIEVE_HF_MODEm_STATUS_CMD 
+	0x23 RECIEVE_OBEX_PARAM_NEG_RES     
+	0x24 RECIEVE_OBEX_UA              
+	0x25 RECIEVE_OBEX_MODEM_STATUS_RES
+	0x26 RECIEVE_OBEX_MODEm_STATUS_CMD    
+	0x27 RECIEVE_SPP_PARAM_NEG_RES   
+	0x28 RECIEVE_SPP_UA              
+	0x29 RECIEVE_SPP_MODEM_STATUS_RES
+	0x2A RECIEVE_SPP_MODEm_STATUS_CMD
+	0x2b RECIEVE_SDP_DISCONN_RES
+	)
+
+
+
+	(
+	0 UPPERSM_RP_IDLE
+	1 UPPERSM_RP_SDP_CONN
+	2 UPPERSM_RP_SDP_CONN_WAIT
+	3 UPPERSM_RP_SDP_CFG
+	4 UPPERSM_RP_SDP_CFG_WAIT
+	5 UPPERSM_RP_SS_AVTARG
+	6 UPPERSM_RP_SS_AVTARG_WAIT
+	7 UPPERSM_RP_SS_OBEX
+	8 UPPERSM_RP_SS_OBEX_WAIT
+	9 UPPERSM_RP_SDP_DISCONN
+	10 UPPERSM_RP_SDP_DISCONN_WAIT
+	11 UPPERSM_RP_AVDTP_CONN_WAIT
+	12 UPPERSM_RP_AVCTP_CONN
+	13 UPPERSM_RP_AVCTP_CONN_WAIT
+	14 UPPERSM_RP_AVCTP_CFG
+	15 UPPERSM_RP_AVCTP_CFG_WAIT
+	16 UPPERSM_RP_OBEX_CMD_PN
+	17 UPPERSM_RP_OBEX_CMD_PN_WAIT
+	18 UPPERSM_RP_OBEX_SABM
+	19 UPPERSM_RP_OBEX_SABM_WAIT
+	20 UPPERSM_RP_OBEX_CMD_MS
+	21 UPPERSM_RP_OBEX_CMD_MS_WAIT
+	)
+	(		/*mem_upper_sm_reconn*/
+	0 UPPERSM_RECONN_IDLE		
+	1 UPPERSM_RECONN_SDP_CONN		
+	2 UPPERSM_RECONN_SDP_CONN_WAIT		
+	3 UPPERSM_RECONN_SDP_CFG		
+	4 UPPERSM_RECONN_SDP_CFG_WAIT		
+	5 UPPERSM_RECONN_SS_HS
+	6 UPPERSM_RECONN_SS_HS_WAIT
+	7 UPPERSM_RECONN_SS_HF
+	8 UPPERSM_RECONN_SS_HF_WAIT
+	9 UPPERSM_RECONN_SS_AVTARG		
+	10 UPPERSM_RECONN_SS_AVTARG_WAIT		    
+	11 UPPERSM_RECONN_SS_OBEX		            
+	12 UPPERSM_RECONN_SS_OBEX_WAIT		      
+	13 UPPERSM_RECONN_SDP_DISCONN		        
+	14 UPPERSM_RECONN_SDP_DISCONN_WAIT      
+	15 UPPERSM_RECONN_HID_CTRL_CONN		      
+	16 UPPERSM_RECONN_HID_CTRL_CONN_WAIT		
+	17 UPPERSM_RECONN_HID_CTRL_CFG		      
+	18 UPPERSM_RECONN_HID_CTRL_CFG_WAIT     
+	19 UPPERSM_RECONN_HID_INT_CONN		      
+	20 UPPERSM_RECONN_HID_INT_CONN_WAIT		  
+	21 UPPERSM_RECONN_HID_INT_CFG		        
+	22 UPPERSM_RECONN_HID_INT_CFG_WAIT      
+	23 UPPERSM_RECONN_RFCOMM_CONN		        
+	24 UPPERSM_RECONN_RFCOMM_CONN_WAIT		  
+	25 UPPERSM_RECONN_RFCOMM_CFG		        
+	26 UPPERSM_RECONN_RFCOMM_CFG_WAIT       
+	27 UPPERSM_RECONN_RFCOMM_SABM		        
+	28 UPPERSM_RECONN_RFCOMM_SABM_WAIT		  
+	29 UPPERSM_RECONN_SPP_CMD_PN		        
+	30 UPPERSM_RECONN_SPP_CMD_PN_WAIT		    
+	31 UPPERSM_RECONN_SPP_SABM		          
+	32 UPPERSM_RECONN_SPP_SABM_WAIT		      
+	33 UPPERSM_RECONN_SPP_CMD_MS		        
+	34 UPPERSM_RECONN_SPP_CMD_MS_WAIT       
+	35 UPPERSM_RECONN_HF_CMD_PN		          
+	36 UPPERSM_RECONN_HF_CMD_PN_WAIT		    
+	37 UPPERSM_RECONN_HF_SABM		            
+	38 UPPERSM_RECONN_HF_SABM_WAIT		      
+	39 UPPERSM_RECONN_HF_CMD_MS		          
+	40 UPPERSM_RECONN_HF_CMD_MS_WAIT        
+	41 UPPERSM_RECONN_AVDTPs_CONN		        
+	42 UPPERSM_RECONN_AVDTPs_CONN_WAIT		  
+	43 UPPERSM_RECONN_AVDTPs_CFG		        
+	44 UPPERSM_RECONN_AVDTPs_CFG_WAIT       
+	45 UPPERSM_RECONN_AVDTPm_CONN		        
+	46 UPPERSM_RECONN_AVDTPm_CONN_WAIT		  
+	47 UPPERSM_RECONN_AVDTPm_CFG		        
+	48 UPPERSM_RECONN_AVDTPm_CFG_WAIT       
+	49 UPPERSM_RECONN_AVCTP_CONN		        
+	50 UPPERSM_RECONN_AVCTP_CONN_WAIT		    
+	51 UPPERSM_RECONN_AVCTP_CFG		          
+	52 UPPERSM_RECONN_AVCTP_CFG_WAIT		    
+	53 UPPERSM_RECONN_OBEX_CMD_PN		        
+	54 UPPERSM_RECONN_OBEX_CMD_PN_WAIT		  
+	55 UPPERSM_RECONN_OBEX_SABM		          
+	56 UPPERSM_RECONN_OBEX_SABM_WAIT		    
+	57 UPPERSM_RECONN_OBEX_CMD_MS		        
+	58 UPPERSM_RECONN_OBEX_CMD_MS_WAIT     
+	59 UPPERSM_RECONN_SS_SPP
+	60 UPPERSM_RECONN_SS_SPP_WAIT
+	)
+	(/*mem_UI_profile_supported*/
+	0 support_HID
+	1 support_A2DP
+	2 support_AVRCP
+	3 support_HF
+	4 support_HS
+	5 support_PBAP
+	6 support_SPP
+	)
+	/*mem_upper_sm_ss*/
+	(
+	0 UPPERSM_SS_HS
+	1 UPPERSM_SS_HF
+	2 UPPERSM_SS_AVTARG
+	3 UPPERSM_SS_OBEX
+	)
+
+	(
+	160 UI_HUNDRED_MILLISECOND_TIME
+	0XFF UI_BUTTON_GPIO_DISABLE
+	)
+	(
+	0x01 UI_BB_INCONNECT
+	0x10 UI_BB_DISCONNECT
+	)
+(
+0x00 UI_BUTTON_STATE_DOWN
+0x01 UI_BUTTON_STATE_UP
+)
+
+//mem_ipc_skip_continue_proc
+(
+	0 IPC_CONTINUE_PROCESS
+	1 IPC_SKIP_CONTINUE_PROCESS
+)
+
+
+(//led style struct 
+0 		LED_OFFSET_LED_TYPE
+1 		LED_OFFSET_BLINK_COUNT
+2		LED_OFFSET_LED_GPIO
+3		LED_OFFSET_ON_TIME
+5		LED_OFFSET_OFF_TIME
+7 		LED_OFFSET_CB_LEDON
+9		LED_OFFSET_CB_LEDOFF
+11		LED_OFFSET_LENGTH
+)
+
+(//LED state
+0 UI_LED_STATE_BLINK_STOP
+1 UI_LED_STATE_BLINK_START
+2 UI_LED_STATE_LIGHTING
+3 UI_LED_STATE_DARKING
+4 UI_LED_STATE_BLINK_LIGHTING
+5 UI_LED_STATE_BLINK_DARKING
+
+0xFF LED_INFINITE_FLASH_NUM
+
+)
+
+
Index: format/usb.format
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/format/usb.format	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/format/usb.format	(working copy)
@@ -0,0 +1,254 @@
+memalloc usb(
+1 mem_usb_status
+1 mem_usb_fifo_empty
+2 mem_usb_read_len
+65 mem_usb_txbuf
+10 mem_usb_txbuf1
+10 mem_usb_txbuf2
+64 mem_usb_rxbuf
+1 mem_usb_rxbuf_end
+2 mem_bufptr
+1 mem_remain
+2 mem_hidreportdesc_kb
+2 mem_hidreportdesc_m
+19 mem_devicedesc
+60 mem_confdesc
+5 mem_string0
+30 mem_string1
+30 mem_string2
+30 mem_string3
+2 mem_cb_usb_config
+
+1 mem_usb_tx_interval
+9 mem_usb_vid_pid
+2 mem_usb_zero_packet
+2 mem_usb_ones_packet
+2 mem_usb_two_packet
+1 mem_usb0_state
+1 mem_usb_offline_check_gpio
+
+0 mem_usb_clear_mem_start
+0 mem_usb_setup
+1 mem_usb_setup_bmRequestType
+1 mem_usb_setup_bRequest
+1 mem_usb_setup_bValue
+1 mem_usb_setup_bValueH
+2 mem_usb_setup_wIndex
+1 mem_usb_setup_bLength
+1 mem_usb_setup_bLengthH
+64 mem_usb0_set_report_data
+64 mem_usb0_get_report_data
+2 mem_usb_setup_bValue_temp
+1 mem_usb0_get_set_report
+1 mem_usb0_data_ready_report
+1 mem_usb_tx_win_enable
+1 mem_usb_tx_mac_enable
+1 mem_usb_idle_flag
+1 mem_usb_idle_rate
+1 mem_usb_get_protocol_flag
+1 mem_usb_set_protocol_status
+1 mem_usb_set_protocol_value
+1 mem_usb_state
+1 mem_usb_remote_wakeup
+1 mem_usb_clear_remote_wakeup
+1 mem_sdsystem_wakeup_flag
+1 mem_usb_ep0_stall_status
+1 mem_usb_ep1_stall_status
+1 mem_usb_ep2_stall_status
+1 mem_usb_ep3_stall_status
+2 mem_dsc_info_data_pointer
+1 mem_dsc_info_len
+1 mem_usb_ep1_data
+1 mem_usb_ep2_data
+1 mem_usb_tx_enable
+1 mem_usb_device_enumeration_endflag
+1 mem_usb_wakestate_onetime_flag
+1 mem_usb_mac_wakeup_trig
+1 mem_usb_set_high_addr_flag
+1 mem_usb_clear_halt
+16 mem_usb_mouse_data
+16 mem_usb_kb_data
+16 mem_usb_kb_multikey
+16 mem_usb_kb_system
+2 mem_usb_test_cnt
+10 mem_usb_test_kb
+0 mem_usb_clear_mem_end
+
+)
+
+//class type
+(
+0x00 STANDARD_REQ
+0x01 CLASS_REQ
+0x02 MANUFACTURER_REQ
+)
+//Standard Request Codes
+(
+0x00 GET_STATUS                // Code for Get Status
+0x01 CLEAR_FEATURE             // Code for Clear Feature
+0x03 SET_FEATURE              // Code for Set Feature
+0x05 SET_ADDRESS              // Code for Set Address
+0x06 GET_DESCRIPTOR           // Code for Get Descriptor
+0x07 SET_DESCRIPTOR           // Code for Set Descriptor(not used)
+0x08 GET_CONFIGURATION        // Code for Get Configuration
+0x09 SET_CONFIGURATION        // Code for Set Configuration
+0x0A GET_INTERFACE            // Code for Get Interface
+0x0B SET_INTERFACE            // Code for Set Interface
+0x0C SYNCH_FRAME              // Code for Synch Frame(not used)
+)
+//Standard Descriptor Types
+(
+0x01 DSC_DEVICE               // Device Descriptor
+0x02 DSC_CONFIG               // Configuration Descriptor
+0x03 DSC_STRING               // String Descriptor
+0x04 DSC_INTERFACE            // Interface Descriptor
+0x05 DSC_ENDPOINT             // Endpoint Descriptor
+)
+//HID Descriptor Types
+(
+0x21 DSC_HID			      // HID Class Descriptor
+0x22 DSC_HID_REPORT			  // HID Report Descriptor
+)
+//Define bmRequestType bitmaps
+(
+0x80 IN_DEVICE                // Request made to device,
+                              // direction is IN
+0x00 OUT_DEVICE               // Request made to device,
+                              // direction is OUT
+0x81 IN_INTERFACE             // Request made to interface,
+                              // direction is IN
+0x01 OUT_INTERFACE            // Request made to interface,
+                              // direction is OUT
+0x82 IN_ENDPOINT              // Request made to endpoint,
+                              // direction is IN
+0x02 OUT_ENDPOINT             // Request made to endpoint,
+)
+//HID Request Codes
+(
+0x01 GET_REPORT 		       // Code for Get Report
+0x02 GET_IDLE				   // Code for Get Idle
+0x03 GET_PROTOCOL			   // Code for Get Protocol
+0x09 SET_REPORT				   // Code for Set Report
+0x0A SET_IDLE				   // Code for Set Idle
+0x0B SET_PROTOCOL			   // Code for Set Protocol
+0xF2 HID_REPORT_ID           
+64 EP0_PACKET_SIZE         
+6 EP1_PACKET_SIZE         
+16 HID_REPORT_SIZE         
+0x001B HID_REPORT_DESCRIPTOR_SIZE    
+)
+//math cordic
+(
+0 TYPE_SIN		
+1 TYPE_ATAN	
+2 TYPE_MULT	
+3 TYPE_DIV		
+4 TYPE_ASIN	
+5 TYPE_SQRT	
+6 TYPE_COS		
+7 TYPE_TAN		 
+)
+   
+(
+0 DFIFO0_IN_EMPTY
+1 DFIFO1_IN_EMPTY
+2 DFIFO2_IN_EMPTY
+3 DFIFO3_IN_EMPTY
+4 DFIFO0_OUT_EMPTY
+5 DFIFO1_OUT_EMPTY
+6 DFIFO2_OUT_EMPTY
+7 DFIFO3_OUT_EMPTY
+)
+
+(
+)
+
+(
+0 USB_STATUS_SETUP
+1 USB_STATUS_SUSPEND
+2 USB_STATUS_NAK
+3 USB_STATUS_RESET
+4 USB_STATUS_ACK
+5 USB_STATUS_RXREADY
+6 USB_STATUS_TXEMPTY
+6 USB_STATUS_RXEMPTY
+)
+
+(
+1 USB_GOT_REPORT_REQ
+2 USB_CONNECTED
+3 USB_SLEEP
+4 USB_RESUME
+5 USB_SETIDLE_1
+)
+
+(
+0x10 USB_EP1_KB
+0x20 USB_EP2_MS
+0x21 USB_EP2_MULTIKEY
+0x22 USB_EP2_SYSTEMKEY
+0x01 MAC_BOOT_MODE
+0x02 R_KEY
+0x03 LR_KEY
+)
+
+
+(
+0x01ba PC_GET_REPORT
+0x02ba PC_SET_REPORT
+0x0200 PC_SET_REPORT_bValue
+0x0000 PC_SET_REPORT_wIndex
+0x0001 PC_SET_REPORT_bLength
+0xba PC_REPORT_ID
+
+0x01 PC_GET_DATA
+0x00 PC_GET_NONDATA
+)
+
+(
+//--------------------------------------------------
+// Define device states
+0x00 DEV_ATTACHED	// Device is in Attached State
+0x01 DEV_POWERED	// Device is in Powered State
+0x02 DEV_DEFAULT		// Device is in Default State
+0x03 DEV_ADDRESS	// Device is in Addressed State
+0x04 DEV_CONFIGURED	// Device is in Configured State
+0x05 DEV_SUSPENDED	// Device is in Suspended State
+)
+
+(
+// Define wIndex bitmaps
+0x81 IN_EP1                    // Index values used by Set and Clear
+0x01 OUT_EP1                   // commands for Endpoint_Halt
+0x82 IN_EP2              
+0x02 OUT_EP2             
+0x83 IN_EP3              
+0x03 OUT_EP3             
+)
+
+(
+0 EP0_STALL
+1 EP1_IN_STALL
+2 EP1_OUT_STALL
+3 EP2_IN_STALL
+4 EP2_OUT_STALL
+5 EP3_IN_STALL
+6 EP3_OUT_STALL
+)
+
+(
+// Define wValue bitmaps for Standard Feature Selectors
+0x00 ENDPOINT_HALT             // Endpoint_Halt feature selector
+0x01 DEVICE_REMOTE_WAKEUP      // Remote wakeup feature(not used)
+0x00 BOOT_PROTOCOL
+0x01 REPORT_PROTOCOL
+0x01 USB_MAX_NUM_CFG
+)
+
+(
+0 TIMER_NAK
+640 TIMER_NAK_DELAY
+15 TIMER_WAKEUP
+5000 TIMER_WAKEUP_DELAY
+)
+
Index: format/utility.format
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/format/utility.format	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/format/utility.format	(working copy)
@@ -0,0 +1,191 @@
+
+memalloc(
+
+/*
+    temp parameter
+*/
+2 mem_hold_contr
+2 mem_hold_contw
+1 mem_fifo_temp
+
+8 mem_pdatatemp
+8 mem_temp //8 bytes
+4 mem_timeup // 4 bytes
+4 mem_rega //4 bytes
+4 mem_regb //4 bytes
+3 mem_regc //3 bytes
+2 mem_contr //2 bytes
+2 mem_contw //2 bytes
+2 mem_contus
+2 mem_contue
+2 mem_contu
+2 mem_queue
+2 mem_loopcnt
+
+
+1 mem_wakup_from_power_flag
+4 mem_saved_gpio_in
+
+0 mem_module_rx_error_data_buffer
+0 mem_shutter_random_mac_data_temp
+0 mem_shutter_config_data_temp
+0 mem_le_adv_channel_map_temp
+0 mem_le_data_len_temp	//1byte
+0 mem_tx_fifo_map_temp
+0 mem_rpn_dlci		//1byte
+0 mem_event_cmd_response_content	//2byte
+0 mem_le_prand		//16byte
+0 mem_AES_CMAC_k	 //16 bytes
+0 mem_regext_index 	//1 bytes
+1 mem_temp_block0
+0 mem_le_data_temp	//15bytes
+15 mem_temp_block1
+0 mem_le_aes_128	//16byte
+0 mem_regext   //64 bytes
+0 mem_AES_CMAC_k1  //16 bytes
+16 mem_temp_block2
+0 mem_AES_CMAC_k2  //16 bytes
+16 mem_temp_block3
+0 mem_AES_CMAC_temp  // 16 bytes
+16 mem_temp_block4
+0 mem_AES_CMAC_M_last // 16 bytes
+1 mem_module_uart_cmd
+1 mem_module_uart_opcode
+1 mem_module_uart_len
+1 mem_module_temp_nl_discard_packet
+12 mem_temp_block5
+0 mem_le_mackey //16 bytes
+0 mem_app_receive_temp
+2 mem_key_value_temp
+2 mem_key_value
+1 mem_key_value_temp1
+1 mem_key_value_temp2
+1 mem_key_value_temp3
+1 mem_key_value_temp4
+1 mem_key_value_temp5
+1 mem_key_value_temp6
+6 mem_temp_block6
+
+3 mem_scale_ratio
+3 mem_xcnt
+2 mem_scale_ratio_temp
+)
+
+
+(
+/*mem_util_timer_flag0_7*/
+    0   UTIL_TIMER_0_USED
+    1   UTIL_TIMER_1_USED
+    2   UTIL_TIMER_2_USED
+    3   UTIL_TIMER_3_USED
+    4   UTIL_TIMER_4_USED
+    5   UTIL_TIMER_5_USED
+    6   UTIL_TIMER_6_USED
+    7   UTIL_TIMER_7_USED
+/*mem_util_timer_flag8_15*/
+    0   UTIL_TIMER_8_USED
+    1   UTIL_TIMER_9_USED
+    2   UTIL_TIMER_10_USED
+    3   UTIL_TIMER_11_USED
+    4   UTIL_TIMER_12_USED
+    5   UTIL_TIMER_13_USED
+    6   UTIL_TIMER_14_USED
+    7   UTIL_TIMER_15_USED
+)
+
+/* 24g */
+(
+6 dlen_24g
+14 plen_24g
+90 blen_tx_24g
+106 blen_rx_24g
+42 blen_txack_24g
+58 blen_rxack_24g
+0xaaf08e acc_24g
+0x15c4 crc_data_3byte
+0xbb81 crc_data_6byte
+0x4160 crc_ack
+)
+
+//util fifo param
+(
+
+8 UTIL_FIFO_LEN
+-1 UTIL_FIFO_OFFSET
+)
+
+
+(
+	0xAA DEBUGLOG_HEAD
+	0x00 DEBUGLOG_TYPE
+	0x04 DEBUGLOG_LEN
+	0xBB DEBUGLOG_TAIL
+)
+
+(
+	0x1000 DEBUGLOG_DTYPE_CALLBACK
+	0x1001 DEBUGLOG_DTYPE_EVENT
+	0x1002 DEBUGLOG_DTYPE_CMD
+	0x1003 DEBUGLOG_DTYPE_STATUS
+	0x1004 DEBUGLOG_DTYPE_MISC
+	0x1005 DEBUGLOG_DTYPE_PARSE_LMP
+	0x1006 DEBUGLOG_DTYPE_SEND_LMP
+	0x1007 DEBUGLOG_DTYPE_CONN_SM
+	0x1008 DEBUGLOG_DTYPE_UPPER_SM
+)
+
+//DEBUGLOG_DTYPE_CALLBACK
+(
+	0x0000 CALLBACK_24G_DATA
+	0x0001 CALLBACK_LE_PROCESS
+	0x0002 CALLBACK_BT_PROCESS
+	0x0003 CALLBACK_BEFORE_LPM
+	0x0004 CALLBACK_BB_EVENT_PROCESS
+	0x0005 CALLBACK_IDLE_PROCESS
+	0x0006 CALLBACK_BEFORE_HIBERNATE
+	0x0007 CALLBACK_ATT_WRITE
+	0x0008 CALLBACK_EVENT_TIMER
+	0x0009 CALLBACK_SLAVE_LOOP
+	0x000a CALLBACK_SDP_PROCESS
+)
+
+//DEBUGLOG_DTYPE_EVENT
+//(
+
+//)
+
+//DEBUGLOG_DTYPE_CMD
+//(
+
+//)
+
+//DEBUGLOG_DTYPE_STATUS
+(
+	0x0000 STATUS_CODE_WAKE
+	0x0001 STATUS_LPM_WAKE
+	0x0002 STATUS_INQUIRY_SCAN
+	0x0003 STATUS_SEND_EIR
+	0x0004 STATUS_PAGE_SCAN
+	0x0005 STATUS_PAGE_SCAN_RECV_ID_PACK
+	0x0006 STATUS_PAGE_SCAN_WAIT_FHS
+	0x0007 STATUS_PAGE_SCAN_CONNECTED
+	0x0008 STATUS_START_DISCOVER
+	0x0009 STATUS_STOP_DISCOVER
+)
+//DEBUG_DTYPE_MISC
+(
+	0x0000 MISC_LE_RETRANSMIT
+	0x0001 MISC_LOST_MOUSEDATA
+	0x0002 MISC_TXPOWER_0
+	0x0003 MISC_TXPOWER_1
+	0x0004 MISC_TXPOWER_2
+	0x0005 MISC_BT_RETRANSMIT
+	0x0006 MISC_BT_UPPER_SM_ERR
+	0x0007 MISC_BT_CONN_SM_ERR
+)
+
+//mem_creat_mouse_flag
+(
+	0x55 CREAT_MOUSE_DATA_OK
+	0x00 CREAT_MOUSE_DATA_FAIL
+
Index: format/var.format
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/format/var.format	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/format/var.format	(working copy)
@@ -0,0 +1,442 @@
+/************************************************************************/
+/* RCS HEADER -- DO NOT ERASE                                           */
+/* $Author: Administrator $                                                     */
+/* $Id: bt_var.osi,v 1.1 2009-09-28 04:06:18 Administrator Exp $   */
+/* Orisil Technology                                                 */
+/************************************************************************/
+
+
+/* packet types */
+(
+  0x02 FHS_PACKET 
+  0x03 DM1_PACKET 
+  0x03 DM1_LMP_PACKET 
+  0x04 DH1_PACKET 
+  0x05 HV1_PACKET 
+  0x06 HV2_PACKET 
+  0x07 HV3_PACKET 
+  0x08 DV_PACKET 
+  0x09 AUX1_PACKET 
+  0x0a DM3_PACKET 
+  0x0b DH3_PACKET 
+  0x0e DM5_PACKET 
+  0x0f DH5_PACKET 
+)
+
+
+/* mem_lmp_respond */
+(
+  0 RESPOND_TO_ALL
+  1 PASS_EVERYTHING
+  2 PASS_ONLY_UNKNOWNS
+  3 RESPOND_TO_LMPS
+)
+/* SCO algorithm defines */
+(
+  0 ULAW
+  1 ALAW
+  2 CVSD
+)
+/* encryption modes */
+(
+  0 NO_ENCRYPTION
+  1 PT_PT_ENCRYPTION
+  2 PT_BROADCAST_ENCRYPTION
+)
+
+/* bits used in mem_lmp_state1 variable */
+(
+  0 LMP_STATE_DETACH
+  1 LMP_STATE_HOLD
+  2 LMP_STATE_SNIFF
+  3 LMP_STATE_PARK
+  4 LMP_STATE_WAIT_SCO_CREATE
+  5 LMP_STATE_WAIT_SCO_KILL
+  6 LMP_STATE_SCO3
+  7 LMP_STATE_WAIT_SCO_START
+)
+/* mem_lmp_state2 */
+(
+  0 LMP_WAIT_FOR_SNIFF_ACCEPT
+  1 LMP_WAIT_FOR_PARK_ACCEPT
+  2 LMP_SEND_UNPARK_ACCEPTED
+  3 LMP_SEND_ENCRYPTION_START
+  4 LMP_SEND_ENCRYPTION_STOP
+  5 MESSAGE_QUEUE
+  7 LMP_STATE_WAIT_BEACON
+)
+/* mem_lmp_state3 */
+(
+ 0 INQUIRY_STATE_CHECK
+ 1 HOST_DELAY_MESSAGE
+ 2 VARIABLE_DELAY
+ 3 TEST_MODE_START_LOOPBACK
+ 4 TEST_MODE_START_PATTERN
+ 5 PARSE_TEST_CONTROL_MESSAGE
+ 6 H_AUTH_SEND_COMB_KEY
+)
+/* mem_rx_status */
+(
+  0 FROM_MASTER
+)
+/* mem_ms_flag */
+(
+  0 MS_RECEIVE_SWITCH_REQ
+  1 MS_SEND_SETUP_COMPLATE
+)
+/* mem_conn_sm */
+(
+  0 CONN_SM_STANDBY
+  1 CONN_SM_WAIT_PAGE
+  2 CONN_SM_SEND_FEATURES
+  3 CONN_SM_WAIT_FEATURES_RES
+  4 CONN_SM_SEND_CONN_REQ
+  5 CONN_SM_WAIT_CONN_ACCEPT
+  6 CONN_SM_AUTH_PAIR
+  7 CONN_SM_AUTH_PAIR_WAIT
+  8 CONN_SM_WAIT_MUTAL_AUTH
+  9 CONN_SM_ENCRYPT
+  0xa CONN_SM_ENCRYPT_WAIT
+  0xb CONN_SM_ENCRYPT_WAIT_CLEAR
+  0xc CONN_SM_SEND_SETUP_COMPLETE
+  0xd CONN_SM_WAIT_SETUP_COMPLETE 
+  0xe CONN_SM_SEND_SWITCH
+  0xf CONN_SM_DETACH_DELAY
+  0x10 CONN_SM_WAIT_SWITCH_AFTER_HOST_CONNECTION
+  0x11 CONN_SM_DELAY_RESTART_CONNECTION
+  0x12 CONN_SM_SEND_VERSION
+  0X13 CONN_SM_WAIT_VERSION
+  0x14 CONN_SM_SEND_FEATURES_EXT
+  0x15 CONN_SM_WAIT_FEATURES_EXT
+  0x16 CONN_SM_PAIRING
+  0x17 CONN_SM_AUTH
+  0x18 CONN_SM_PAIRING_WAIT
+  0x19 CONN_SM_AUTH_WAIT
+  0x1a CONN_SM_DONE
+  0x1b CONN_SM_WAIT_DONE
+)
+
+/* btStateConn1 */
+(
+  0 CONN_STANDBY
+  1 CONN_MASTER_SEND_CONN_REQ
+  2 CONN_MASTER_WAIT_FOR_CONN_ACCEPTED
+  3 CONN_MASTER_AUTH
+  4 CONN_MASTER_WAIT_FOR_FEATURES
+  5 CONN_MASTER_WAIT_FOR_SETUP_COMPLETE
+  6 CONN_MASTER_WAIT_FOR_MAX_SLOT
+  7 CONN_SLAVE_CONN_REQUESTED
+  8 CONN_SLAVE_WAIT_FOR_SETUP_COMPLETE
+  9 CONN_SLAVE_AUTH
+  10 CONN_USING_HOST_OPCODE
+  11 CONN_SLAVE_AUTH_WAIT
+  12 CONN_SLAVE_ENCRYPT_WAIT
+)
+
+/* mem_lmp_conn_state */
+(
+  0 RECEIVED_CONN_REQ
+  1 SENT_CONN_REQ
+  2 RECEIVED_SETUP_COMPLETE
+  3 SENT_SETUP_COMPLETE
+  4 HOST_CONNECTION_MADE
+  6 INIT_COMPLETE
+  7 SNIFF_NEGOTIATE
+)
+/* btStateAuth1 */
+(
+  0 WAIT_FOR_KINIT
+  1 WAIT_FOR_LKA
+  2 WAIT_FOR_LKB
+  3 WAIT_FOR_SRES
+  4 EXAMINE_RECEIVED_SRES
+  5 SEND_AU_RAND
+  6 WAIT_FOR_KC
+  7 DELAYED_ENCRYPT_RESPONSE
+)
+/* btStateAuth2 */
+(
+  0 SENT_SRES
+  1 RECEIVED_IN_RAND
+  2 SENT_AU_RAND
+  3 AUTHENTICATION_FAILED
+  4 AUTHENTICATION_PASSED
+  5 STARTED_AUTH
+  6 SENT_COMB_KEY
+  7 SENT_IN_RAND
+)
+/* btStateAuth3 */
+(
+  0 RECEIVED_AU_RAND
+  1 RECEIVED_SRES
+  2 MUTUALLY_AUTHENTICATE
+)
+/* btStateHost */
+(
+  0 H_AUTH_STARTED
+  2 H_ENCRYPTION_MODE_REQ_PT
+  3 H_ENCRYPTION_KEY_SIZE
+  4 H_ENCRYPTION_START
+  5 H_ENCRYPTION_STOP
+  6 H_AUTH_SECOND_TRY
+)
+/* btStateEncrypt2 */
+(
+  0 RECEIVED_ENCRYPT_MODE_REQ_PT
+  1 RECEIVED_ENCRYPT_KEY_SIZE
+  2 RECEIVED_ENCRYPT_START
+  3 RECEIVED_ENCRYPT_STOP
+  4 STARTED_ENCRYPT_START
+)
+/* mem_ms_state */
+(
+  0x00 MS_STANDBY
+  0x11 M_MINIT_1
+  0x12 M_MINIT_2
+  0x20 M_SINIT_0
+  0x30 S_MINIT_0
+  0x31 S_MINIT_1
+  0x32 S_MINIT_2
+  0x41 S_SINIT_1
+  0x42 S_SINIT_2
+  0x43 S_SINIT_3
+)
+/* mem_test_mode */
+(
+  0 TEST_MODE_ALLOWED
+  1 TEST_MODE_ACTIVE
+)
+/* values for mem_tester_emulate */
+(
+  0x00 NO_TEST_MODE
+  0x00 CONTINUOUS_TRANSMIT
+  0x10 TRANSMIT_TEST
+  0x08 LOOPBACK
+)
+
+/* mem_tx_misc */
+(
+  1 SEND_TX_ADDR
+)
+/* BBHWREG_page_stat */
+(
+  5 PAGE_MODE_END
+)
+/* host_return_parameters_status codes */
+(
+  0x00 HOST_RETURN_SUCCESS
+  0x01 HOST_RETURN_SLAVE_CANT_ISSUE
+  0x02 HOST_RETURN_NO_CONNECTION
+  0x04 HOST_RETURN_PAGE_TIMEOUT
+  0x05 HOST_RETURN_INQUIRY_TIMEOUT
+  0x08 HOST_RETURN_CONNECTION_TIMEOUT
+  0x09 HOST_RETURN_MAX_NUM_CONNECTIONS
+  0x0a HOST_RETURN_MAX_NUM_SCO
+  0x0b HOST_RETURN_MAX_NUM_ACL
+  0x0c HOST_RETURN_SECURITY_REASONS
+  0x10 HOST_RETURN_HOST_TIMEOUT
+  0x11 HOST_RETURN_UNSUPPORTED_FEATURE_PARAMETER
+  0x13 HOST_RETURN_OTHER_END_USER
+  0x14 HOST_RETURN_OTHER_END_LOW_RESOURCE
+  0x15 HOST_RETURN_OTHER_END_POWER_OFF
+  0x16 HOST_RETURN_LOCAL_HOST
+  0x18 HOST_RETURN_PAIRING_NOT_ALLOWED
+  0x19 HOST_RETURN_UNKNOWN_PDU
+  0x1a HOST_RETURN_UNSUPPORTED_REMOTE_FEATURE
+  0x1d HOST_RETURN_SCO_AIR_MODE_REJECTED
+  0x20 HOST_RETURN_UNSUPPORTED_LMP_VALUE
+  0x21 HOST_RETURN_AUTHENTICATION_FAILURE
+  0x22 HOST_RETURN_CHANGED_EXISTING_SCO
+  0x23 HOST_RETURN_HOST_REJECTED
+  0x24 HOST_RETURN_UNSPECIFIED_ERROR
+  0x25 HOST_RESET
+  0x26 HOST_RETURN_BAD_HANDLE
+
+  0x00 HOST_RETURN_ACCEPT_COMMAND
+  0x01 HOST_RETURN_REJECT_COMMAND
+)
+/* host_present */
+(
+  0 HOST_IS_PRESENT
+  1 BCI_IS_PRESENT
+  2 DONT_INIT_RADIO
+)
+/* mem_master_state */
+(
+  0 MASTER_STATE_STANDBY
+  1 MASTER_INQUIRY
+)
+/* misc */
+(
+  92 SECOND_SWITCH_REQ
+  93 SLAVE_DELAY_DETACH
+  94 MASTER_DELAY_DETACH
+  95 UNSNIFF_DELAY_DETACH
+  0 WE_STARTED_AS_MASTER
+  1 WE_STARTED_AS_SLAVE
+)
+/* mem_host_commands */
+(
+  0x01 HOST_INQUIRY
+  0x02 HOST_INQUIRY_CANCEL
+  0x03 HOST_CREATE_CONNECTION
+  0x04 HOST_DISCONNECT_CONNECTION
+  0x05 HOST_ADD_SCO_REQUEST
+  0x06 HOST_REMOTE_NAME_REQUEST
+  0x07 HOST_WRITE_SUPPORTED_FEATURES
+  0x08 HOST_SET_TX_LEVEL
+  0x09 HOST_SET_RX_LEVEL
+  0x0a HOST_SNIFF_REQUEST
+  0x0b HOST_UNSNIFF_REQUEST
+  0x0c HOST_WRITE_LINK_SUPERVISION_TIMEOUT
+  0x0e HOST_WRITE_SCAN_ENABLE
+  0x0f HOST_READ_AUDIO_QUALITY
+  0x10 HOST_ENABLE_DEVICE_UNDER_TEST
+  0x14 HOST_BUTTON_CONFIGURE
+  0x15 HOST_SET_LOW_BATTERY_LEVEL
+  0x16 HOST_WRITE_LOCAL_NAME
+  0x17 HOST_WRITE_LOCAL_PIN
+  0x18 HOST_KILL_SCO_REQUEST
+  0x19 HOST_QOS_REQ
+
+  0x1a HOST_FEATURES_REQUEST
+  0x1b HOST_VERSION_REQUEST
+  0x1c HOST_TIMING_REQUEST
+  0x1d HOST_CLK_OFFSET_REQUEST
+  0x1e HOST_AUTHENTICATE
+  0x1f HOST_START_ENCRYPTION
+  0x20 HOST_STOP_ENCRYPTION
+  0x21 HOST_HOLD_REQUEST
+  0x22 HOST_HOLD_FORCE
+  0x23 HOST_PARK_REQUEST
+  0x24 HOST_MOD_BEACON
+  0x25 HOST_SET_BROADCAST_SCAN_WINDOW
+  0x26 HOST_UNPARK_PM_REQUEST
+  0x27 HOST_UNPARK_BD_REQUEST
+  0x28 HOST_SLAVE_REQUEST_UNPARK
+  0x29 HOST_DECREASE_POWER_REQUEST
+  0x2a HOST_INCREASE_POWER_REQUEST
+  0x2b HOST_SEND_PREFERRED_RATE
+  0x2c HOST_MAX_SLOT_REQ
+  0x2d HOST_MAX_SLOT_FORCE
+  0x2e HOST_PAGE_MODE_REQUEST
+  0x2f HOST_PAGE_SCAN_MODE_REQUEST
+  0x30 HOST_MASTER_SLAVE_SWITCH
+  0x31 HOST_SEND_AUTO_RATE
+  0x32 HOST_PAGE_CANCEL
+  0x33 HOST_CHANGE_LINK_KEY
+  0x34 HOST_RADIO_READ
+  0x35 HOST_RADIO_WRITE
+  0x36 HOST_REMOTE_SLAVE_INIT_UNPARK_REQUESTED
+
+  0x40 HOST_REMOTE_CONNECTION_REQUESTED
+  0x41 HOST_REMOTE_DETACH
+  0x42 HOST_REMOTE_SCO_CREATE_REQUESTED
+  0x43 HOST_REMOTE_SCO_KILL_REQUESTED
+  0x44 HOST_REMOTE_PARK_REQUESTED
+  0x45 HOST_REMOTE_UNPARK_REQUESTED
+  0x46 HOST_REMOTE_SNIFF_REQUESTED
+  0x47 HOST_REMOTE_UNSNIFF_REQUESTED
+  0x48 HOST_REMOTE_HOLD_REQUESTED
+  0x49 HOST_REMOTE_AUTHENTICATION
+  0x4a HOST_REMOTE_START_ENCRYPTION_REQUESTED
+  0x4b HOST_REMOTE_STOP_ENCRYPTION_REQUESTED
+  0x4c HOST_MODE_CHANGE_EVENT
+  0x4d HOST_REMOTE_TEST_ACTIVATE
+  0x4e HOST_REMOTE_TEST_CONTROL
+  0x4f HOST_REMOTE_TIMING_REQUEST
+)
+/* BCI interface (not used if not compiled in ) */
+(
+  0x01 BCI_INQUIRY
+  0x02 BCI_INQUIRY_CANCEL
+  0x03 BCI_CREATE_CONNECTION
+  0x04 BCI_DISCONNECT
+  0x05 BCI_ADD_SCO_CONNECTION
+  0x06 BCI_REMOTE_NAME_REQUEST
+  0x07 BCI_WRITE_SUPPORTED_FEATURES
+  0x08 BCI_SET_TX_POWER_LEVEL
+  0x09 BCI_SET_RX_POWER_LEVEL
+  0x0a BCI_SNIFF_MODE
+  0x0b BCI_EXIT_SNIFF_MODE
+  0x0c BCI_WRITE_LINK_SUPERVISION_TIMEOUT
+  0x0d BCI_WRITE_PAGE_TIMEOUT
+  0x0e BCI_WRITE_SCAN_ENABLE
+  0x0f BCI_GET_AUDIO_QUALITY
+  0x10 BCI_ENABLE_DEVICE_UNDER_TEST
+  0x11 BCI_SEND_DATA
+  0x12 BCI_REGISTER_SERVICE_RECORD
+  0x13 BCI_SERVICE_SEARCH_ATTRIB_REQ
+  0x14 BCI_BUTTON_CONFIGURE
+  0x15 BCI_SET_LOW_BATTERY_LEVEL
+  0x16 BCI_WRITE_LOCAL_NAME
+  0x17 BCI_WRITE_LOCAL_PIN
+  0x18 BCI_REMOVE_SCO_CONNECTION
+  0x19 BCI_QUALITY_OF_SERVICE
+  0x40 BCI_REMOTE_CONNECTION_REQUEST
+  0x41 BCI_REMOTE_DETACH
+  0x42 BCI_REMOTE_ADD_SCO_REQUEST
+  0x43 BCI_REMOTE_REMOVE_SCO_REQUEST
+  0x44 BCI_REMOTE_PARK_REQUEST
+  0x45 BCI_REMOTE_UNPARK_REQUEST
+  0x46 BCI_REMOTE_SNIFF_REQUEST
+  0x47 BCI_REMOTE_UNSNIFF_REQUEST
+  0x48 BCI_REMOTE_HOLD_REQUEST
+  0x49 BCI_REMOTE_AUTHENTICATION_PAIRING_REQUEST
+  0x4a BCI_REMOTE_START_ENCRYPTION_REQUEST
+  0x4b BCI_REMOTE_STOP_ENCRYPTION_REQUEST
+  0x4c BCI_MODE_CHANGE_EVENT
+)
+/* mode changes */
+(
+  0 MODE_CHANGE_ACTIVE
+  1 MODE_CHANGE_SNIFFING
+  2 MODE_CHANGE_PARKED
+  3 MODE_CHANGE_HOLDING
+  4 MODE_CHANGE_SCO_ADDED
+  5 MODE_CHANGE_SCO_REMOVED
+  6 MODE_CHANGE_ACL_CONNECTION
+  7 MODE_CHANGE_DISCONNECT
+  8 MODE_CHANGE_SCO_CHANGED
+  9 MODE_CHANGE_ENCRYPTING
+  10 MODE_CHANGE_NOT_ENCRYPTING
+  11 MODE_CHANGE_BUTTON_UP
+  12 MODE_CHANGE_BUTTON_DOWN
+  13 MODE_CHANGE_BATTERY_LOW
+  14 MODE_CHANGE_RESET
+  15 MODE_CHANGE_INQUIRY_CANCELED_RMTCMD
+  16 MODE_ACTIVE_MSSWITCH_PASSED
+  17 MODE_ACTIVE_MSSWITCH_FAILED
+)
+/* mem_battery - low nibble is level information, upper nibble is status info */
+(
+  6 BATTERY_CHECK_LEVEL
+  7 BATTERY_SENT_STATUS
+)
+/* mem_radio_version */
+(
+  0x02 RADIO_2001
+  0x12 RADIO_2002
+  0x32 RADIO_2002_DDM
+  0x42 RADIO_1008A1
+  0x52 RADIO_1018A0
+)
+/* mem_slave_initiated_conn */
+(
+  0 SLAVE_INIT_AUTHENTICATION
+  1 SLAVE_INIT_ENCRYPTION
+  2 SLAVE_INIT_MASTER_SLAVE_SWITCH
+)
+/* connection_options */
+(
+  0 CONNECTION_AUTH
+  1 CONNECTION_ENCRYPT
+  2 CONNECTION_SWITCH
+  3 CONNECTION_ACL
+  4 CONNECTION_FEATURE_EXT
+)
+/* mem_debug_config */
+(
+  7 AA_INSERTION
+)
+
Index: output/bin2array.pl
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/output/bin2array.pl	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/output/bin2array.pl	(working copy)
@@ -0,0 +1,42 @@
+printf "/*******************************************************************************\n";
+printf "*-------------------------------------------------------------------------------\n";
+printf "*\n";
+printf "* Copyright (c), 2014 Yichip Corp.\n";
+printf "*\n";
+printf "*ALL RIGHTS RESERVED\n";
+printf "*                                                                               \n";
+printf "********************************************************************************\n";
+printf "*                                                                               \n";
+printf "* File Name: YC_bt_patch.h                                                      \n";
+printf "*                                                                               \n";
+printf "* Abstract:                                                                     \n";
+printf "*This file use for save the patch code of YC1021.                               \n";
+printf "*******************************************************************************/\n";
+printf "                                                                                \n";
+printf "#ifndef __YC_BT_PATCH_H_                                                        \n";
+printf "#define __YC_BT_PATCH_H_                                                        \n";
+printf "                                                                                \n";
+open(BINFILE,"bt_patch.bin") or die $!;
+binmode (BINFILE);
+printf "const unsigned char yc_patch[] = \n{\n";
+while( read(BINFILE, $binData, 1) )
+{
+
+	if(ord($binData) < 0x10){
+		printf "0x0";
+	}else{
+		printf "0x";
+	}
+	printf "%X, ", ord($binData);
+	$cnt += 1;
+	if($cnt > 15){
+		$cnt = 0;
+		printf "\n";
+	}
+}
+printf "\n};\n";
+close (BINFILE);
+
+
+printf "                                                                                \n";
+printf "#endif\n";
\ No newline at end of file
Index: output/bt_format.meta
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/output/bt_format.meta	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/output/bt_format.meta	(working copy)
@@ -0,0 +1,11243 @@
+0x0000 mem_le_adv_transmit
+0x0001 mem_le_adv_waitcnt
+0x0002 mem_le_adv_rcv
+0x0003 mem_le_req_rcv
+0x0004 mem_le_scanrsp_rcv
+0x0005 mem_le_conn_rcv
+0x0006 mem_inquiryscan_waitcnt
+0x0007 mem_inquiryscan_rcvcnt
+0x0008 mem_pagescan_waitcnt
+0x0009 mem_pagescan_rcvcnt
+0x000a mem_pagescan_rcvfhscnt
+0x000b mem_slave_rcvcnt
+0x000c mem_page_transmit
+0x000d mem_page_rcv
+0x000e mem_page_rcv_fhs
+0x000f mem_master_rcvcnt
+0x0010 mem_fhs_wait_counter
+0x0011 mem_newconnto_counter
+0x0012 mem_inquiry_transmit
+0x0013 mem_inquiry_rcv
+0x0014 mem_fw_ver
+0x0015 mem_current_context
+0x0016 mem_le_ch_mapped
+0x0017 mem_last_freq
+0x0018 mem_rssi
+0x0019 mem_rx_type
+0x001a mem_rx_hec_err
+0x001c mem_rx_crc_err
+0x001e mem_context_ptr
+0x0020 mem_display
+0x0028 mem_bcd
+0x0030 mem_state
+0x0031 mem_mode
+0x0032 mem_tsniff
+0x0034 mem_sniff_anchor
+0x0038 mem_clk_offset
+0x003e mem_rx_window
+0x0040 mem_plap
+0x0043 mem_puap
+0x0044 mem_pnap
+0x0046 mem_conn_handle
+0x0047 mem_arq
+0x0048 mem_lmp_to_send
+0x0049 mem_lmi_opcode
+0x004a mem_lmo_reason
+0x004b mem_op
+0x004c mem_state_map
+0x004d mem_supervision_timer
+0x0051 mem_supervision_to
+0x0053 mem_name_offset
+0x0054 mem_key_size
+0x0055 mem_conn_sm
+0x0056 mem_aco
+0x0062 mem_kc
+0x0072 mem_conn_timer
+0x0073 mem_sniff_attempt
+0x0074 mem_sniff_timeout
+0x0075 mem_dsniff
+0x0077 mem_amaddr
+0x0078 mem_lmo_opcode1
+0x0079 mem_lmi_opcode1
+0x007a mem_lmo_reason1
+0x007b mem_lmo_tid1
+0x007c mem_lmo_opcode2
+0x007d mem_lmi_opcode2
+0x007e mem_lmo_reason2
+0x007f mem_lmo_tid2
+0x0080 mem_bt_context_reserve
+0x0088 mem_current_sniff_attempt
+0x0089 mem_current_sniff_timeout
+0x008a mem_nfreq_index_inq
+0x008b mem_nfreq_index_page
+0x008c mem_ninqy_index
+0x008d mem_fhs_misc
+0x008e mem_subsniff_instant
+0x0092 mem_subsniff_rate
+0x0093 mem_subsniff_tcmax
+0x0095 mem_subsniff_tsniff
+0x0096 mem_lpm_adjust
+0x0097 mem_sync_clke
+0x009d mem_lpm_current_mult
+0x009e mem_gpio_wakeup_low
+0x00a2 mem_gpio_wakeup_high
+0x00a6 mem_npage_index
+0x00a7 mem_page_mode
+0x00a8 mem_page_clk
+0x00ac mem_temp_am_addr
+0x00ad mem_temp_arq
+0x00ae mem_len
+0x00b0 mem_clkn_bt
+0x00b4 mem_clke_bt
+0x00b8 mem_dpll_clkn
+0x00bc mem_connection_options
+0x00bd mem_nameres_cnt
+0x00be mem_txptr
+0x00c0 mem_slot_offset
+0x00c2 extm_fhs_misc
+0x00c3 extm_newconn_am_addr
+0x00c4 extm_class
+0x00c7 extm_lap
+0x00ca extm_uap
+0x00cb extm_nap
+0x00ce mem_rxbuf
+0x00e3 mem_debug_config
+0x00e4 mem_lch_code
+0x00e5 mem_fhs_am_addr
+0x00e6 mem_select_list_item
+0x00e7 mem_temp_reconn_record
+0x00e7 mem_record_bt_mode
+0x00e8 mem_temp_lap
+0x00ee mem_list_item_ptr
+0x00f0 mem_eir
+0x0154 mem_rssi_hex
+0x0155 mem_param_tx_setup
+0x0157 mem_param_rf_setup
+0x0159 mem_param_conn_access
+0x015b mem_param_clke_cal
+0x015d mem_param_pll_setup
+0x015f mem_param_rx_setup
+0x0161 mem_param_dpll_start_delay
+0x0163 mem_param_rt_rthalfslot
+0x0165 mem_param_clke_cal_le_1m
+0x0167 mem_param_clke_cal_le_2m
+0x0169 mem_param_clke_cal_le_coded
+0x016b mem_le_rxbuf
+0x026f mem_le_mic
+0x0273 mem_le_peer_mic
+0x0277 mem_le_mrand
+0x0287 mem_le_state
+0x0288 mem_le_mode
+0x0289 mem_le_tsniff
+0x028b mem_le_anchor
+0x028f mem_le_clk_offset
+0x0295 mem_le_receive_window
+0x0297 mem_le_plap
+0x029d mem_le_conn_handle
+0x029e mem_le_arq
+0x029f mem_le_ch
+0x02a0 mem_le_hop
+0x02a1 mem_le_event_count
+0x02a3 mem_le_supervision_timer
+0x02a7 mem_le_instant
+0x02a9 mem_le_channels
+0x02aa mem_le_op
+0x02ab mem_le_access
+0x02af mem_le_crcinit
+0x02b2 mem_le_window_size
+0x02b3 mem_le_slave_latency
+0x02b5 mem_le_superto
+0x02b7 mem_le_channel_map
+0x02bc mem_le_rx_phy
+0x02bd mem_le_tx_phy
+0x02be mem_le_update_new_param
+0x02c7 mem_le_sk
+0x02d7 mem_le_peer_sca
+0x02d8 mem_le_err_code
+0x02d9 mem_le_ll_pairing_fail_reason
+0x02da mem_le_context_reserve
+0x02df mem_le_testtype
+0x02e0 mem_cmd_le_create_conn
+0x02e1 mem_ucode_status
+0x02e2 mem_spid_tbuf
+0x02e3 mem_iicd_tbuf
+0x02e3 mem_addr_hi
+0x02e4 mem_addr_mi
+0x02e5 mem_addr_lo
+0x02e6 mem_iicd_addr
+0x02e7 mem_spid_rbuf
+0x02eb mem_ucode_buf
+0x02ed mem_ucode_len
+0x02ef mem_sched_addr
+0x02f1 mem_ucode_ptr
+0x02f3 mem_ucode_keybuf
+0x0303 mem_spid2_tbuf
+0x0304 mem_addr_hi2
+0x0305 mem_addr_mi2
+0x0306 mem_addr_lo2
+0x0307 mem_spid2_rbuf
+0x030b mem_reconnect_flag
+0x030c mem_switch_fail_master_count
+0x030d mem_app_evt_timer_count
+0x030e mem_l2cap_mem_start
+0x030e mem_l2cap_rxbuff1_len
+0x0310 mem_l2cap_rxbuff2_len
+0x0312 mem_l2cap_rxbuff_new
+0x0314 mem_l2cap_rxbuff_inuse
+0x0315 mem_l2cap_payload_ptr
+0x0317 mem_l2cap_rx_pkt_length
+0x0319 mem_l2cap_rx_cid
+0x031b mem_l2cap_rx_done
+0x031c mem_l2cap_signal_tx_buff_ptr
+0x031e mem_l2cap_signal_tx_payload_ptr
+0x0320 mem_l2cap_signal_tx_length
+0x0322 mem_sdp_tx_buff_ptr
+0x0324 mem_sdp_tx_payload_ptr
+0x0326 mem_sdp_tx_pkt_length
+0x0328 mem_rfcomm_tx_buff_ptr
+0x032a mem_rfcomm_tx_payload_ptr
+0x032c mem_rfcomm_tx_pkt_length
+0x032e memL2CAP_T1
+0x0330 mem_CONTROL_tasks
+0x0331 mem_send_config_req
+0x0332 mem_config_identifier
+0x0333 mem_config_req_dest_CID
+0x0335 mem_rfcomm_malloc_fail_flag
+0x0336 mem_message_to_uppersm
+0x0337 mem_upper_sm_remote_page
+0x0338 mem_upper_sm_reconn
+0x0339 mem_upper_sm_ss
+0x033a mem_tx_malloc_log
+0x037a mem_l2cap_mem_end
+0x037a mem_scid
+0x037c mem_cmd_length
+0x037e mem_tt2
+0x0380 mem_tt3
+0x0382 mem_id
+0x0384 mem_psm
+0x0386 mem_l2cap_sdpres_delay_time
+0x038a mem_lmo_header_length
+0x038b mem_lmo_header_opcode
+0x038c mem_lmo_payload
+0x039d mem_lmi_accepted_opcode
+0x039e mem_disconn_reason_send
+0x039f mem_tx_fixed_freq
+0x03a0 mem_rx_fixed_freq
+0x03a1 mem_ext_features_page
+0x03a2 mem_lmpext_ssp_enable
+0x03a4 mem_remote_sppcap
+0x03a5 mem_lmp_conn_state
+0x03a6 mem_soft_timer
+0x03a8 mem_pincode_state
+0x03a9 mem_sres_tid
+0x03aa mem_accptsco_tid
+0x03ab mem_wait_encryption
+0x03ac mem_sniff_payload
+0x03bc mem_aurand_send_delay_time
+0x03c0 memRemoteRPNBitRate
+0x03c1 memRemotePRNDataBits
+0x03c2 memRemotePRNStopBit
+0x03c3 memRemotePRNParity
+0x03c4 memRemotePRNFlowControl
+0x03c5 memRemotePRNXon
+0x03c6 memRemotePRNXoff
+0x03c7 mem_mod2div_temp
+0x03ca mem_contw_temp
+0x03cc mem_attrib_list
+0x03ce mem_current_adss
+0x03cf mem_current_channel
+0x03d0 mem_current_frame_type
+0x03d1 mem_current_fcs
+0x03d2 mem_current_length
+0x03d4 mem_rfcomm_uih_payload_ptr
+0x03d6 mem_uih_cmd_type
+0x03d7 mem_uih_length
+0x03d9 mem_param_payload_ptr
+0x03db mem_ms_param
+0x03dc mem_pn_credit_flow_type_info
+0x03dd mem_pn_priority
+0x03de mem_pn_acknowledg_timer
+0x03df mem_pn_max_retrans
+0x03e0 mem_rfcomm_send_adss
+0x03e1 mem_rfcomm_send_frame_type
+0x03e2 mem_rfcomm_send_fcs
+0x03e3 mem_rfcomm_send_offset
+0x03e4 mem_sdp_mem_start
+0x03e4 mem_sdp_uuid_search_ptr
+0x03ec mem_sdp_continue_byte
+0x03ee mem_sdp_pduid
+0x03ef mem_sdp_transactionid
+0x03f1 mem_sdp_transactionid_local
+0x03f3 mem_sdp_attribute_maxbyte
+0x03f5 mem_sdp_record_maxcnt
+0x03f7 mem_sdp_record_handle
+0x03fb mem_sdp_LACAP_found
+0x03fc mem_sdp_RFCOMM_found
+0x03fd mem_sdp_handle_list
+0x03fd mem_sdp_attrib_list
+0x041d mem_sdp_error_code
+0x041f mem_sdp_all_length
+0x0421 mem_handle_humber
+0x0422 mem_search_uuid
+0x0424 mem_sdp_mem_end
+0x0424 mem_random_number
+0x0434 mem_round_key
+0x0444 mem_kinit
+0x0454 mem_input_store
+0x0464 mem_x
+0x0474 mem_y
+0x0483 mem_y15
+0x0484 mem_key_store
+0x0495 mem_key_store_end
+0x0496 memp_ar_key
+0x0498 memp_ar_input
+0x049a mem_ar_hround
+0x04a4 mem_ec_infinite
+0x04a5 mem_ec_loopc
+0x04a7 mem_aes_cmac_data_length
+0x04a8 memdat
+0x04a8 mem_ax
+0x04c0 mem_ay
+0x04d8 mem_az
+0x04f0 mem_bx
+0x0508 mem_ax_256//32 bytes
+0x0508 mem_by
+0x0520 mem_bz
+0x0528 mem_ay_256// 32 bytes
+0x0538 mem_cx
+0x0548 mem_az_256// 32 bytes
+0x0550 mem_cy
+0x0567 mem_cy5
+0x0568 mem_bx_256// 32 bytes
+0x0568 mem_cz
+0x0580 mem_k
+0x0588 mem_by_256// 31 bytes
+0x0598 mem_align
+0x05a8 mem_bz_256//32 bytes
+0x05a8 mem_tmp1
+0x05a8 memahbak
+0x05c0 mem_tmp5
+0x05c8 mem_cx_256//32 bytes
+0x05c8 memahsave
+0x05d8 mem_tmp2
+0x05e8 mem_cy_256// 32 bytes
+0x05e8 memahsave_end
+0x05e8 mem_addr_padding
+0x05e9 mem_addr_value
+0x05f0 mem_tmp3
+0x05f0 mem_t1
+0x05f5 mem_addr_value_end
+0x05f8 mem_addr_iocap_end
+0x0607 mem_cy5_256// 1 byte
+0x0608 mem_cz_256// 32 bytes
+0x0608 mem_tmp0
+0x0608 mem_t0
+0x0610 mem_tmp0a
+0x0620 mem_t2
+0x0628 mem_k_256//32 bytes
+0x0638 mem_t3
+0x0648 mem_tmp1_256//32 bytes
+0x0650 mem_t7
+0x0668 mem_tmp5_256
+0x0688 mem_tmp2_256
+0x06a8 mem_tmp3_256
+0x06a8 mem_t1_256
+0x06c8 mem_tmp0_256
+0x06c8 mem_t0_256
+0x06e8 mem_t2_256
+0x0708 mem_t3_256
+0x0728 mem_t7_256
+0x0748 mem_p
+0x0760 mem_a
+0x0778 mem_b
+0x0790 mem_gx
+0x07a8 mem_gy
+0x07c0 memh0
+0x07e0 mem_p_256
+0x0800 mem_a_256
+0x0820 mem_gx_256
+0x0840 mem_gy_256
+0x0860 mem_le_slat
+0x0870 mem_sp_state_start
+0x0870 mem_sp_state
+0x0871 mem_master_sp_state
+0x0872 mem_sp_flag
+0x0873 mem_master_sp_flag
+0x0874 mem_sp_calc
+0x0875 mem_sp_dh_ready
+0x0876 mem_sp_localsm
+0x0877 mem_pairing_auth
+0x0878 mem_sp_local_key_send_count
+0x0879 mem_sp_remote_key_recv_count
+0x087a mem_sp_remote_key_invalid
+0x087b mem_sp_dhkey_invalid
+0x087c mem_gkey
+0x0880 mem_sp_state_end
+0x0880 mem_le_pubkey_remote_x_256
+0x0888 mem_sp_pubkey_remote
+0x0888 mem_sp_pubkey_remote_x
+0x08a0 mem_sp_pubkey_remote_x_end
+0x08a0 mem_le_pubkey_remote_y_256
+0x08a8 mem_sp_pubkey_remote_y
+0x08c0 mem_le_dhkey_256
+0x08c8 mem_sp_dhkey
+0x08e0 mem_sp_dhkey_end
+0x08e0 mem_sp_random_local
+0x08f0 mem_sp_random_local_end
+0x08f0 mem_sp_random_remote
+0x0900 mem_sp_random_remote_end
+0x0900 memresult
+0x0900 mem_sp_calc_result
+0x0900 memh
+0x0904 memg
+0x0908 memf
+0x090c meme
+0x0910 mem_sp_calc_result_high
+0x0910 memd
+0x0914 memc
+0x0918 memb
+0x091c mema
+0x0920 mem_sp_check_result
+0x0930 mem_sp_confirm_remote
+0x0940 mem_sp_prarm_stack
+0x0950 mem_UI_data_txbuff_length
+0x0952 mem_ipc_skip_continue_proc
+0x0953 mem_ui_timer_temp//length 4
+0x0953 mem_ipc_rega_temp
+0x0957 mem_hold_contr
+0x0959 mem_hold_contw
+0x095b mem_fifo_temp
+0x095c mem_pdatatemp
+0x0964 mem_temp//8 bytes
+0x096c mem_timeup// 4 bytes
+0x0970 mem_rega//4 bytes
+0x0974 mem_regb//4 bytes
+0x0978 mem_regc//3 bytes
+0x097b mem_contr//2 bytes
+0x097d mem_contw//2 bytes
+0x097f mem_contus
+0x0981 mem_contue
+0x0983 mem_contu
+0x0985 mem_queue
+0x0987 mem_loopcnt
+0x0989 mem_wakup_from_power_flag
+0x098a mem_saved_gpio_in
+0x098e mem_module_rx_error_data_buffer
+0x098e mem_shutter_random_mac_data_temp
+0x098e mem_shutter_config_data_temp
+0x098e mem_le_adv_channel_map_temp
+0x098e mem_le_data_len_temp//1byte
+0x098e mem_tx_fifo_map_temp
+0x098e mem_rpn_dlci//1byte
+0x098e mem_event_cmd_response_content//2byte
+0x098e mem_le_prand//16byte
+0x098e mem_AES_CMAC_k//16 bytes
+0x098e mem_regext_index//1 bytes
+0x098e mem_temp_block0
+0x098f mem_le_data_temp//15bytes
+0x098f mem_temp_block1
+0x099e mem_le_aes_128//16byte
+0x099e mem_regext//64 bytes
+0x099e mem_AES_CMAC_k1//16 bytes
+0x099e mem_temp_block2
+0x09ae mem_AES_CMAC_k2//16 bytes
+0x09ae mem_temp_block3
+0x09be mem_AES_CMAC_temp// 16 bytes
+0x09be mem_temp_block4
+0x09ce mem_AES_CMAC_M_last// 16 bytes
+0x09ce mem_module_uart_cmd
+0x09cf mem_module_uart_opcode
+0x09d0 mem_module_uart_len
+0x09d1 mem_module_temp_nl_discard_packet
+0x09d2 mem_temp_block5
+0x09de mem_le_mackey//16 bytes
+0x09de mem_app_receive_temp
+0x09de mem_key_value_temp
+0x09e0 mem_key_value
+0x09e2 mem_key_value_temp1
+0x09e3 mem_key_value_temp2
+0x09e4 mem_key_value_temp3
+0x09e5 mem_key_value_temp4
+0x09e6 mem_key_value_temp5
+0x09e7 mem_key_value_temp6
+0x09e8 mem_temp_block6
+0x09ee mem_scale_ratio
+0x09f1 mem_xcnt
+0x09f4 mem_scale_ratio_temp
+0x09f6 mem_mesh_receive_model_message_payload_len
+0x09f7 mem_mesh_receive_model_message_payload_opcode
+0x09f8 mem_mesh_receive_model_message_payload
+0x0a0f mem_mesh_access_layer_payload_len
+0x0a10 mem_mesh_access_layer_payload
+0x0a10 mem_mesh_access_payload
+0x0a42 mem_mesh_access_payload_padding//为了透传模块预留
+0x0a74 mem_mesh_queue_ele_temp
+0x0a74 mem_mesh_queue_ele_duration
+0x0a75 mem_mesh_queue_ele_gatt_msg_id
+0x0a76 mem_mesh_queue_ele_len
+0x0a77 mem_mesh_queue_ele_payload
+0x0a96 mem_mesh_queue_ele_padding
+0x0a97 mem_le_txheader_mesh_temp
+0x0abe mem_mesh_sha256_chunk_start
+0x0abe mem_mesh_sha256_chunk1
+0x0afe mem_mesh_sha256_chunk2
+0x0b3e mem_mesh_sha256_chunk3
+0x0b7e mem_mesh_sha256_chunk4
+0x0bbe mem_mesh_Privacy_Plaintext
+0x0bbe mem_mesh_Privacy_Plaintext_Zero_String
+0x0bc3 mem_mesh_Privacy_Plaintext_IV_Index
+0x0bc7 mem_mesh_Privacy_Plaintext_Privacy_Random
+0x0bc7 mem_mesh_Privacy_Plaintext_Privacy_Random_EncDST
+0x0bc9 mem_mesh_Privacy_Plaintext_Privacy_Random_EncTransportPDU_or_NetMIC
+0x0bce mem_mesh_PECB
+0x0bde mem_nonce_ptr
+0x0be0 mem_ccm_data_len
+0x0be1 mem_ccm_data_ptr
+0x0be3 mem_ccm_mic
+0x0beb mem_ccm_type
+0x0bec mem_mesh_Device_UUID
+0x0bfc mem_mesh_receive_VID
+0x0bfd mem_mesh_mic_cache_ptr
+0x0bff mem_mesh_lower_transport_layer_payload_len
+0x0c00 mem_mesh_loopcnt_tmep
+0x0c02 mem_mesh_rega_temp
+0x0c04 mem_mesh_regb_temp
+0x0c06 mem_mesh_regc_temp
+0x0c08 mem_mesh_alarm_temp
+0x0c0a mem_mesh_message_Transport_NetMIC_length
+0x0c0b mem_mesh_message_NID
+0x0c0c mem_mesh_message_TTL
+0x0c0d mem_mesh_message_SEQ
+0x0c10 mem_mesh_message_SRC
+0x0c12 mem_mesh_message_DST
+0x0c14 mem_mesh_message_Transport_NetMIC
+0x0c14 mem_mesh_message_Transport_Head
+0x0c15 mem_mesh_message_Transport_unsegmented_access_messagePDU
+0x0c15 mem_mesh_message_Transport_segmented_access_messagePDU
+0x0c15 mem_mesh_message_segment_access_SZMIC_SeqZero_SegO_SegN
+0x0c18 mem_mesh_message_Transport_segmented_access_messagePDU_Segment
+0x0c18 mem_mesh_message_Transport_NetMIC_end
+0x0c28 mem_mesh_nonce_struct
+0x0c35 mem_mesh_send_message_DST
+0x0c37 mem_mesh_last_message_SEQ
+0x0c3a mem_mesh_network_packet_type
+0x0c3b mem_mesh_upper_transport_layer_payload_ptr
+0x0c3d mem_mesh_segmented_upper_transport_layer_payload_len
+0x0c3e mem_mesh_segmented_lower_transport_layer_SegZero
+0x0c40 mem_mesh_segmented_lower_transport_layer_SegO
+0x0c41 mem_mesh_segmented_lower_transport_layer_SegN
+0x0c42 mem_mesh_segmented_last_packet_upper_teansport_payload_len
+0x0c43 mem_mesh_upper_tran_layer_queue_temp
+0x0c43 mem_mesh_upper_tran_layer_temp_packet_flag
+0x0c44 mem_mesh_upper_tran_layer_temp_packet_transmit_delay
+0x0c46 mem_mesh_upper_tran_layer_temp_packet_TID
+0x0c47 mem_mesh_upper_tran_layer_temp_packet_header_IVI_NID
+0x0c48 mem_mesh_upper_tran_layer_temp_packet_header_CTL_TTL
+0x0c49 mem_mesh_upper_tran_layer_temp_packet_header_SEQ
+0x0c4c mem_mesh_upper_tran_layer_temp_packet_header_SRC
+0x0c4e mem_mesh_upper_tran_layer_temp_packet_header_DST
+0x0c50 mem_mesh_upper_tran_layer_temp_packet_length
+0x0c51 mem_mesh_upper_tran_layer_temp_packet_payload
+0x09f6 mem_hci_opcode_ocf
+0x09f8 mem_hci_opcode_ogf
+0x09f9 mem_hci_event_head_type
+0x09fa mem_hci_event_head_event_code
+0x09fb mem_hci_event_para_total_length
+0x09fc mem_hci_command_complete_num_hci_command_packet
+0x09fd mem_hci_command_complete_command_opcode
+0x09fd mem_hci_opcode
+0x09ff mem_hci_command_complete_return_parameter
+0x09ff mem_hci_command_complete_return_parameter_status
+0x0a00 mem_hci_command_complete_return_parameter_chip_id
+0x09f6 mem_vdk
+0x09f8 mem_vok
+0x09fc mem_omega
+0x0a02 mem_b1
+0x0a06 mem_b2
+0x0a0a mem_u1
+0x0a1a mem_u2
+0x0a2a mem_q
+0x09f6 mem_module_le_rx_data_len
+0x09f8 mem_module_le_rx_data_address
+0x09fa mem_module_le_rx_data_handle
+0x09f6 mem_init_cnt
+0x09f8 mem_data_pre
+0x09fa mem_data_current
+0x09fc mem_data_sum
+0x09ff mem_data_value
+0x09f6 mem_tst_pktcnt_sync
+0x09f8 mem_tst_pktcnt_hec
+0x09fa mem_tst_pktcnt_crc
+0x09fc mem_tst_pktcnt_dmh
+0x09fe mem_tmp_buffer_head
+0x0a01 mem_tmp_buffer
+0x0a51 mem_tester_emulate
+0x0a52 mem_temp_payload
+0x0a52 test_mode_scenario
+0x0a53 test_mode_hopping_mode
+0x0a54 test_mode_tx_freq
+0x0a55 test_mode_rx_freq
+0x0a56 test_mode_power_mode
+0x0a57 test_mode_poll_period
+0x0a58 test_mode_packet_type
+0x0a59 test_mode_data_length
+0x0a5b mem_test_mode_old_debug_config
+0x0a5c mem_tester_cnt
+0x09f6 mem_usb_status
+0x09f7 mem_usb_fifo_empty
+0x09f8 mem_usb_read_len
+0x09fa mem_usb_txbuf
+0x0a3b mem_usb_txbuf1
+0x0a45 mem_usb_txbuf2
+0x0a4f mem_usb_rxbuf
+0x0a8f mem_usb_rxbuf_end
+0x0a90 mem_bufptr
+0x0a92 mem_remain
+0x0a93 mem_hidreportdesc_kb
+0x0a95 mem_hidreportdesc_m
+0x0a97 mem_devicedesc
+0x0aaa mem_confdesc
+0x0ae6 mem_string0
+0x0aeb mem_string1
+0x0b09 mem_string2
+0x0b27 mem_string3
+0x0b45 mem_cb_usb_config
+0x0b47 mem_usb_tx_interval
+0x0b48 mem_usb_vid_pid
+0x0b51 mem_usb_zero_packet
+0x0b53 mem_usb_ones_packet
+0x0b55 mem_usb_two_packet
+0x0b57 mem_usb0_state
+0x0b58 mem_usb_offline_check_gpio
+0x0b59 mem_usb_clear_mem_start
+0x0b59 mem_usb_setup
+0x0b59 mem_usb_setup_bmRequestType
+0x0b5a mem_usb_setup_bRequest
+0x0b5b mem_usb_setup_bValue
+0x0b5c mem_usb_setup_bValueH
+0x0b5d mem_usb_setup_wIndex
+0x0b5f mem_usb_setup_bLength
+0x0b60 mem_usb_setup_bLengthH
+0x0b61 mem_usb0_set_report_data
+0x0ba1 mem_usb0_get_report_data
+0x0be1 mem_usb_setup_bValue_temp
+0x0be3 mem_usb0_get_set_report
+0x0be4 mem_usb0_data_ready_report
+0x0be5 mem_usb_tx_win_enable
+0x0be6 mem_usb_tx_mac_enable
+0x0be7 mem_usb_idle_flag
+0x0be8 mem_usb_idle_rate
+0x0be9 mem_usb_get_protocol_flag
+0x0bea mem_usb_set_protocol_status
+0x0beb mem_usb_set_protocol_value
+0x0bec mem_usb_state
+0x0bed mem_usb_remote_wakeup
+0x0bee mem_usb_clear_remote_wakeup
+0x0bef mem_sdsystem_wakeup_flag
+0x0bf0 mem_usb_ep0_stall_status
+0x0bf1 mem_usb_ep1_stall_status
+0x0bf2 mem_usb_ep2_stall_status
+0x0bf3 mem_usb_ep3_stall_status
+0x0bf4 mem_dsc_info_data_pointer
+0x0bf6 mem_dsc_info_len
+0x0bf7 mem_usb_ep1_data
+0x0bf8 mem_usb_ep2_data
+0x0bf9 mem_usb_tx_enable
+0x0bfa mem_usb_device_enumeration_endflag
+0x0bfb mem_usb_wakestate_onetime_flag
+0x0bfc mem_usb_mac_wakeup_trig
+0x0bfd mem_usb_set_high_addr_flag
+0x0bfe mem_usb_clear_halt
+0x0bff mem_usb_mouse_data
+0x0c0f mem_usb_kb_data
+0x0c1f mem_usb_kb_multikey
+0x0c2f mem_usb_kb_system
+0x0c3f mem_usb_test_cnt
+0x0c41 mem_usb_test_kb
+0x0c4b mem_usb_clear_mem_end
+0x0c4b mem_dg_rssi_noise_buffer
+0x0d4b mem_dg_rssi_noise_dg_buffer
+0x0e4b mem_dg_rssi_noise_ms_buffer
+0x0f4b mem_dg_rssi_noise_kb_buffer
+
+0x02be mem_le_new_param
+0x02be mem_le_new_transmitwindowsize
+0x02bf mem_le_new_transmitwindowoffset
+0x02c1 mem_le_new_conninterval
+0x02c3 mem_le_new_connslavelatency
+0x02c5 mem_le_new_connsupervisiontimeout
+0x02be mem_le_new_map
+0x02be mem_le_new_m2s_phy
+0x02bf mem_le_new_s2m_phy
+0x016b mem_le_rxbuf_data_header
+0x016c mem_le_rxbuf_data_length
+0x016d mem_le_rxbuf_data_payload
+0x016b mem_le_rxbuf_data_ll_header
+0x016c mem_le_rxbuf_data_ll_length
+0x016d mem_le_rxbuf_data_ll_opcode
+0x016e mem_le_rxbuf_data_ll_control_data
+0x016b mem_le_rxbuf_adv_header
+0x016c mem_le_rxbuf_adv_length
+0x016d mem_le_rxbuf_adv_payload
+0x016b mem_le_rxbuf_adv_scan_req_header
+0x016c mem_le_rxbuf_adv_scan_req_length
+0x016d mem_le_rxbuf_adv_scan_req_scan_address
+0x0173 mem_le_rxbuf_adv_scan_req_adv_address
+0x016b mem_le_rxbuf_adv_connect_ind_header
+0x016c mem_le_rxbuf_adv_connect_ind_length
+0x016d mem_le_rxbuf_adv_connect_ind_init_address
+0x0173 mem_le_rxbuf_adv_connect_ind_adv_address
+0x0179 mem_le_rxbuf_adv_connect_ind_access_address
+0x017d mem_le_rxbuf_adv_connect_ind_crc_init
+0x0180 mem_le_rxbuf_adv_connect_ind_win_size
+0x0181 mem_le_rxbuf_adv_connect_ind_win_offset
+0x0183 mem_le_rxbuf_adv_connect_ind_interval
+0x0185 mem_le_rxbuf_adv_connect_ind_latency
+0x0187 mem_le_rxbuf_adv_connect_ind_timeout
+0x0189 mem_le_rxbuf_adv_connect_ind_channel_map
+0x018e mem_le_rxbuf_adv_connect_ind_hop_and_sca
+0x099e mem_le_search_handle_start
+0x09a0 mem_le_search_handle_end
+0x09a2 mem_le_att_offset
+0x09a2 mem_le_search_att_type_length
+0x09a3 mem_le_search_att_type
+0x09b3 mem_le_curr_att_len
+0x09b4 mem_le_cur_attlist_start_ptr
+0x09b6 mem_le_cur_handle_start
+0x09b8 mem_le_cur_handle_end
+0x09ba mem_le_cur_uuid_length
+0x09bb mem_le_cur_uuid
+0x016b mem_le_rxbuf_data_att_header
+0x016c mem_le_rxbuf_data_att_length
+0x016d mem_le_rxbuf_data_att_l2cap_length
+0x016f mem_le_rxbuf_data_att_cid
+0x0171 mem_le_rxbuf_data_att_opcode
+0x0172 mem_le_rxbuf_data_att_payload
+0x016b mem_le_rxbuf_data_continue_header
+0x016c mem_le_rxbuf_data_continue_length
+0x016d mem_le_rxbuf_data_continue_payload
+0x016b mem_le_rxbuf_data_att_write_header
+0x016c mem_le_rxbuf_data_att_write_length
+0x016d mem_le_rxbuf_data_att_write_l2cap_length
+0x016f mem_le_rxbuf_data_att_write_cid
+0x0171 mem_le_rxbuf_data_att_write_opcode
+0x0172 mem_le_rxbuf_data_att_write_handle
+0x0174 mem_le_rxbuf_data_att_write_payload
+0x016b mem_le_rxbuf_data_prepare_att_write_header
+0x016c mem_le_rxbuf_data_prepare_att_write_length
+0x016d mem_le_rxbuf_data_prepare_att_write_l2cap_length
+0x016f mem_le_rxbuf_data_prepare_att_write_cid
+0x0171 mem_le_rxbuf_data_prepare_att_write_opcode
+0x0172 mem_le_rxbuf_data_prepare_att_write_handle
+0x0174 mem_le_rxbuf_data_prepare_att_write_offset
+0x0176 mem_le_rxbuf_data_prepare_att_write_payload
+0x09f8 mem_mesh_NETKeyindex_and_APPKeyindex
+0x09fb mem_mesh_receive_application_key
+0x09f8 mem_mesh_vendor_message_cid
+0x09fa mem_mesh_vendor_message_tid
+0x09fb mem_mesh_vendor_message_attr_type
+0x09f8 mem_mesh_vendor_message_header
+0x09fd mem_mesh_vendor_attr_parameter
+0x09f8 mem_mesh_vendor_message_delay_close_time_header
+0x09fd mem_mesh_vendor_delay_close_time
+0x09f8 mem_mesh_vendor_message_night_light_onoff_header
+0x09fd mem_mesh_vendor_night_light_onoff
+0x09f8 mem_mesh_vendor_message_color_header
+0x09fd mem_mesh_vendor_color_lightness
+0x09ff mem_mesh_vendor_color_hue
+0x0a01 mem_mesh_vendor_color_saturation
+0x09f8 mem_mesh_vendor_message_back_light_onoff_header
+0x09fd mem_mesh_vendor_back_light_onoff
+0x09f8 mem_mesh_vendor_message_main_light_onoff_header
+0x09fd mem_mesh_vendor_main_light_onoff
+0x09f8 mem_mesh_vendor_message_standby_brightness_header
+0x09fd mem_mesh_vendor_standby_brightness
+0x09f8 mem_mesh_vendor_message_current_time_header
+0x09fd mem_mesh_vendor_message_current_time
+0x09f8 mem_mesh_vendor_message_timer_header
+0x09fd mem_mesh_vendor_timer_timing_index
+0x09fe mem_mesh_vendor_timer_timing_index1
+0x09fe mem_mesh_vendor_timer_timing_time
+0x0a02 mem_mesh_vendor_timer_timing_attr_type
+0x0a04 mem_mesh_vendor_timer_timing_attr_para
+0x09f8 mem_mesh_vendor_message_timer_cyclic_header
+0x09fd mem_mesh_vendor_timer_timing_index_cyclic
+0x09fe mem_mesh_vendor_timer_timing_time_cyclic
+0x0a00 mem_mesh_vendor_timer_timing_weekdays_cyclic
+0x0a01 mem_mesh_vendor_timer_timing_attr_type_cyclic
+0x0a03 mem_mesh_vendor_timer_timing_attr_para_cyclic
+0x0a04 mem_mesh_vendor_timer_timing_cyclic_flag
+0x0a10 mem_mesh_access_layer_payload_vendor_command
+0x0a11 mem_mesh_access_layer_payload_vendor_CID
+0x0a13 mem_mesh_access_layer_payload_vendor_tid
+0x0a14 mem_mesh_access_layer_payload_vendor_attr_type
+0x0a16 mem_mesh_access_layer_payload_vendor_attr_parameter
+0x098e mem_mesh_subscription_eep_temp
+0x0a74 mem_mesh_gatt_package_receive_msg_buffer_ptr
+0x0a76 mem_mesh_gatt_package_receive_msg_buffer_temp
+0x0a76 mem_mesh_gatt_package_receive_msg_id
+0x0a78 mem_mesh_gatt_package_receive_MAC
+0x0a78 mem_mesh_gatt_package_receive_msg_num
+0x0a79 mem_mesh_gatt_package_receive_msg_total_length
+0x0a7a mem_mesh_gatt_package_receive_msg_payload
+0x0bec mem_mesh_receive_service_uuid_company_id
+0x0bee mem_mesh_receive_service_uuid_vid
+0x0bef mem_mesh_receive_service_uuid_provisioning_type
+0x0bf0 mem_mesh_receive_service_uuid_mac
+0x0bf2 mem_mesh_receive_service_uuid_msg_id
+0x0bf3 mem_mesh_receive_service_uuid_package_num
+0x0bf4 mem_mesh_receive_service_uuid_length
+0x0bf5 mem_mesh_receive_service_uuid_payload_data
+0x0bec mem_mesh_receive_service_uuid_ios_data_company_id
+0x0bee mem_mesh_receive_service_uuid_ios_data_vid
+0x0bef mem_mesh_receive_service_uuid_ios_data_provisioning_type
+0x0bf0 mem_mesh_receive_service_uuid_ios_data_NID
+0x0bf1 mem_mesh_receive_service_uuid_ios_data_msg_id
+0x0bf2 mem_mesh_receive_service_uuid_ios_data_package_num
+0x0bf3 mem_mesh_receive_service_uuid_ios_data_length
+0x0bf4 mem_mesh_receive_service_uuid_ios_data_payload_data
+0x09f8 mem_mesh_configuration_health_message_opcode
+0x09f8 mem_mesh_configuration_health_message_opcode_config_model_subscription
+0x09f9 mem_mesh_subscription_element_address
+0x09fb mem_mesh_subscription_value_address
+0x09fd mem_mesh_subscription_model_identifier
+0x09f8 mem_mesh_module_message_opcode
+0x09f8 mem_mesh_module_message_opcode_onoff_set
+0x09f9 mem_mesh_generic_onoff_set_payload_OnOff
+0x09fa mem_mesh_generic_onoff_set_payload_TID
+0x09fb mem_mesh_generic_onoff_set_payload_Transition_Time
+0x09fc mem_mesh_generic_onoff_set_payload_Delay
+0x09f8 mem_mesh_module_message_opcode_scene_recall
+0x09f9 mem_mesh_scene_recall_payload_scene_number
+0x09fb mem_mesh_scene_recall_payload_TID
+0x09fc mem_mesh_scene_recall_payload_Transition_Time
+0x09fd mem_mesh_scene_recall_payload_Delay
+0x09f8 mem_mesh_module_message_opcode_set_light_lightness
+0x09f9 mem_mesh_light_lightness_set_payload_lightness
+0x09fb mem_mesh_light_lightness_set_payload_TID
+0x09fc mem_mesh_light_lightness_set_payload_Transition_Time
+0x09fd mem_mesh_light_lightness_set_payload_Delay
+0x09fe mem_mesh_light_lightness_calc_lightness
+0x09f8 mem_mesh_module_message_opcode_set_light_ctl
+0x09f9 mem_mesh_CTL_Lightness
+0x09fb mem_mesh_CTL_Temperature
+0x09fd mem_mesh_CTL_Delta_UV
+0x09ff mem_mesh_CTL_lightness_TID
+0x0a00 mem_mesh_CTL_lightness_Transition_Time
+0x0a01 mem_mesh_CTL_lightness_Delay
+0x0a02 mem_mesh_CTL_calc_lightness
+0x0a03 mem_mesh_CTL_calc_temperature
+0x0a97 mem_mesh_network_packet_type_temp
+0x0a98 mem_mesh_message_NID_temp
+0x0c28 mem_mesh_Network_Nonce
+0x0c28 mem_mesh_Network_Nonce_nonce_type
+0x0c29 mem_mesh_Network_Nonce_CTL_and_TTL
+0x0c2a mem_mesh_Network_Nonce_SEQ
+0x0c2d mem_mesh_Network_Nonce_SRC
+0x0c2f mem_mesh_Network_Nonce_Pad//0x0000
+0x0c31 mem_mesh_Network_Nonce_IV_Index
+0x0c28 mem_mesh_Application_Nonce
+0x0c28 mem_mesh_Application_Nonce_Nonce_Type
+0x0c29 mem_mesh_Application_Nonce_ASZMIC_and_Pad//
+0x0c2a mem_mesh_Application_Nonce_SEQ
+0x0c2d mem_mesh_Application_Nonce_SRC
+0x0c2f mem_mesh_Application_Nonce_DST
+0x0c31 mem_mesh_Application_Nonce_IV_Index
+0x0c28 mem_mesh_Device_Nonce
+0x0c28 mem_mesh_Device_Nonce_Nonce_Type
+0x0c29 mem_mesh_Device_Nonce_ASZMIC_and_Pad//
+0x0c2a mem_mesh_Device_Nonce_SEQ
+0x0c2d mem_mesh_Device_Nonce_SRC
+0x0c2f mem_mesh_Device_Nonce_DST
+0x0c31 mem_mesh_Device_Nonce_IV_Index
+0x0a0f mem_mesh_upper_transport_layer_payload_len
+0x0c51 mem_mesh_upper_tran_layer_temp_pakcet_AKF_AID
+0x0c51 mem_mesh_upper_tran_layer_temp_unsegmented_pakcet_AKF_AID
+0x0c52 mem_mesh_upper_tran_layer_temp_unsegmented_packet_fill
+0x0c56 mem_mesh_upper_tran_layer_temp_pakcet_upper_tran_access_pdu
+0x0c56 mem_mesh_upper_tran_layer_temp_unsegmented_pakcet_upper_tran_access_pdu
+0x0c51 mem_mesh_upper_tran_layer_temp_segmented_pakcet_AKF_AID
+0x0c52 mem_mesh_upper_tran_layer_temp_segmented_pakcet_SeqZero
+0x0c54 mem_mesh_upper_tran_layer_temp_segmented_pakcet_SegO
+0x0c55 mem_mesh_upper_tran_layer_temp_segmented_pakcet_SegN
+0x0c56 mem_mesh_upper_tran_layer_temp_segmented_pakcet_upper_tran_access_pdu
+0x4000 mem_patch00
+0x4001 mem_patch01
+0x4002 mem_patch02
+0x4003 mem_patch03
+0x4004 mem_patch04
+0x4005 mem_patch05
+0x4006 mem_patch06
+0x4007 mem_patch07
+0x4008 mem_patch08
+0x4009 mem_patch09
+0x400a mem_patch0a
+0x400b mem_patch0b
+0x400c mem_patch0c
+0x400d mem_patch0d
+0x400e mem_patch0e
+0x400f mem_patch0f
+0x4010 mem_patch10
+0x4011 mem_patch11
+0x4012 mem_patch12
+0x4013 mem_patch13
+0x4014 mem_patch14
+0x4015 mem_patch15
+0x4016 mem_patch16
+0x4017 mem_patch17
+0x4018 mem_patch18
+0x4019 mem_patch19
+0x401a mem_patch1a
+0x401b mem_patch1b
+0x401c mem_patch1c
+0x401d mem_patch1d
+0x401e mem_patch1e
+0x401f mem_patch1f
+0x4020 mem_patch20
+0x4021 mem_patch21
+0x4022 mem_patch22
+0x4023 mem_patch23
+0x4024 mem_patch24
+0x4025 mem_patch25
+0x4026 mem_patch26
+0x4027 mem_patch27
+0x4028 mem_patch28
+0x4029 mem_patch29
+0x402a mem_patch2a
+0x402b mem_patch2b
+0x402c mem_patch2c
+0x402d mem_patch2d
+0x402e mem_patch2e
+0x402f mem_patch2f
+0x4030 mem_patch30
+0x4031 mem_patch31
+0x4032 mem_patch32
+0x4033 mem_patch33
+0x4034 mem_patch34
+0x4035 mem_patch35
+0x4036 mem_patch36
+0x4037 mem_patch37
+0x4038 mem_patch38
+0x4039 mem_patch39
+0x403a mem_patch3a
+0x403b mem_patch3b
+0x403c mem_patch3c
+0x403d mem_patch3d
+0x403e mem_patch3e
+0x403f mem_patch3f
+0x4040 mem_context
+0x4098 mem_current_amaddr
+0x4099 mem_lpm_mode
+0x409a mem_device_option
+0x409b mem_scan_mode
+0x409c mem_last_clkn
+0x40a0 mem_features
+0x40a8 mem_lap
+0x40ab mem_uap
+0x40ac mem_nap
+0x40ae mem_npage
+0x40af mem_glap
+0x40b2 mem_class
+0x40b5 mem_iscan_window
+0x40b7 mem_iscan_interval
+0x40b9 mem_pscan_window
+0x40bb mem_pscan_interval
+0x40bd mem_page_interval
+0x40bf mem_page_window
+0x40c1 mem_page_to
+0x40c3 mem_inq_window
+0x40c5 mem_fcomp_div
+0x40c6 mem_rx_window_init
+0x40c8 mem_rx_window_sniff
+0x40ca mem_rf_init_ptr
+0x40cc mem_last_type
+0x40cd mem_last_type_esco
+0x40ce mem_last_type_saved
+0x40cf mem_retransmission_cnt
+0x40d1 mem_next_btclk
+0x40d5 mem_rf_rccal
+0x40d6 mem_handle_num
+0x40d7 mem_max_slot
+0x40d8 mem_eir_enable
+0x40d9 mem_afh_instant
+0x40dd mem_afh_error_total
+0x40df mem_afh_cfg
+0x40e0 mem_afh_new_mod
+0x40e1 mem_afh_map_lo
+0x40e6 mem_afh_map_hi
+0x40eb mem_afh_used
+0x40ec mem_afh_index
+0x40ee mem_afh_map_new
+0x40f9 mem_afh_map
+0x4149 mem_afh_timer
+0x414d mem_afh_classify_channel_map
+0x4157 mem_lpm_wake_lock
+0x4159 mem_lpm_interval
+0x415b mem_lpm_overhead
+0x415c mem_lpm_hibernate_switch
+0x415d mem_esco_addr
+0x415e mem_sniff_unint_lost
+0x415f mem_ptt
+0x4160 mem_sleep_counter//should be 0x41fc in REVC
+0x4164 mem_sleep_counter_all
+0x4168 mem_sleep_clkn
+0x416e mem_sniff_rcv
+0x4171 mem_sniff_lost
+0x4174 mem_clks_per_lpo
+0x4177 mem_lpm_mult
+0x4178 mem_lpm_mult_timeout
+0x4179 mem_lpm_mult_cnt
+0x417a mem_lpm_config
+0x417a mem_lpm_xtal_ib
+0x417b mem_lpm_ctrim
+0x417c mem_lpm_padding
+0x417d mem_lpm_xtalcnt
+0x417e mem_lpm_buckcnt
+0x417f mem_lpm_ldocnt
+0x4180 mem_lpm_isogate
+0x4181 mem_lpm_isogate_final
+0x4182 mem_lpm_ctrl3
+0x4186 mem_saved_gpio// should be 0x421e in REVC
+0x419a mem_saved_gsel
+0x419d mem_saved_mark
+0x41a5 mem_saved_spidctrl
+0x41a6 mem_patch_ptr
+0x41a8 mem_patch_len
+0x41aa mem_timers
+0x41ca mem_link_key_exists
+0x41cb mem_link_key
+0x41db mem_hci_cmd
+0x41dc mem_hci_conn_handle
+0x41dd mem_hci_plap
+0x41e0 mem_hci_puap
+0x41e1 mem_hci_pnap
+0x41e3 mem_loadcode_times
+0x41e4 mem_llid
+0x41e5 mem_tx_lch
+0x41e6 mem_tx_len
+0x41e8 mem_tx_power
+0x41e9 mem_modem_rssi
+0x41ea mem_gain_fix
+0x41eb mem_gain_table
+0x41ee mem_gain_second_agc_en
+0x41ef mem_rf_init_data
+0x41f0 mem_system_clk
+0x41f1 mem_le_dsniff
+0x41f3 mem_le_conn_interval
+0x41f5 mem_le_txheader
+0x41f6 mem_le_txlen
+0x41f7 mem_le_txpayload
+0x42f7 mem_le_name_len
+0x42f8 mem_le_name
+0x4316 mem_le_ltk
+0x4326 mem_ltk_exists
+0x4327 mem_le_rconfirm
+0x4337 mem_le_srand
+0x4347 mem_le_iat
+0x4348 mem_le_rat
+0x4349 mem_le_preq
+0x434a mem_le_preq_iocap
+0x434b mem_le_preq_oob
+0x434c mem_le_preq_auth
+0x434d mem_le_preq_max_keysize
+0x434e mem_le_preq_init_key_distribution
+0x434f mem_le_preq_resp_key_distribution
+0x4350 mem_le_pres
+0x4351 mem_le_pres_iocap
+0x4352 mem_le_pres_oob
+0x4353 mem_le_pres_auth
+0x4354 mem_le_pres_max_keysize
+0x4355 mem_le_pres_init_key_distribution
+0x4356 mem_le_pres_resp_key_distribution
+0x4357 mem_le_notify_handle
+0x4359 mem_le_search_uuid_length
+0x435a mem_le_search_uuid
+0x436a mem_le_conn_param
+0x436a mem_le_conn_peer_addr_type
+0x436b mem_le_conn_peer_addr
+0x4371 mem_le_conn_own_addr_type
+0x4372 mem_le_interval_min
+0x4374 mem_le_interval_max
+0x4376 mem_le_latency
+0x4378 mem_le_timeout
+0x437a mem_le_lap
+0x437d mem_le_uap
+0x437e mem_le_nap
+0x4380 mem_le_local_mtu
+0x4382 mem_le_remote_mtu
+0x4384 mem_le_skdm
+0x438c mem_le_skds
+0x4394 mem_le_init_superto
+0x4396 mem_ui_le_uuid_table
+0x4398 mem_le_secure_connect_flag
+0x4399 mem_le_secure_connect_state
+0x439a mem_le_sc_confirm_gkey_flag
+0x439b mem_le_pairing_state
+0x439c mem_le_enc_state
+0x439d mem_le_pairing_mode
+0x439e mem_le_tk
+0x43a2 mem_le_ediv
+0x43a4 mem_le_rand
+0x43ac mem_le_irk
+0x43bc mem_le_transmit_window
+0x43c0 mem_le_configuration
+0x43c1 mem_le_fixed_ltk
+0x43d1 mem_le_pairing_handle
+0x43d3 mem_le_packet_llid
+0x43d4 mem_le_l2cap_size
+0x43d6 mem_le_packet_len_recved
+0x43d8 mem_le_payload_ptr
+0x43da mem_le_signaling_identifier
+0x43db mem_le_l2cap_signaling_conn_param_update_rsp_result
+0x43dd mem_le_md_count
+0x43de mem_ble_l2cap_tx_buff0_ptr
+0x43e0 mem_ble_l2cap_tx_buff_size_ptr
+0x43e2 mem_le_scan_enable
+0x43e3 mem_le_scan_interval
+0x43e5 mem_le_scan_window
+0x43e7 mem_le_adv_data_len
+0x43e8 mem_le_adv_data
+0x4407 mem_le_scan_data_len
+0x4408 mem_le_scan_data
+0x4427 mem_le_adv_enable
+0x4428 mem_le_adv_param
+0x4428 mem_le_adv_interval
+0x442a mem_le_adv_type
+0x442b mem_le_adv_own_addr_type
+0x442c mem_le_adv_direct_addr
+0x4432 mem_le_adv_channel_map
+0x4433 mem_le_scan_params
+0x4433 mem_le_scan_type
+0x4434 mem_le_scan_own_addr_type
+0x4435 mem_le_l2cap_att_states
+0x4436 mem_le_att_opcode
+0x4437 mem_le_att_handle
+0x4439 mem_le_search_res
+0x443a mem_le_local_feature
+0x4442 mem_le_tx_phys
+0x4443 mem_le_rx_phys
+0x4444 mem_remote_rx_max_octets
+0x4446 mem_remote_rx_max_time
+0x4448 mem_remote_tx_max_octets
+0x444a mem_remote_tx_max_time
+0x444c mem_local_rx_max_octets
+0x444e mem_local_rx_max_time
+0x4450 mem_local_tx_max_octets
+0x4452 mem_local_tx_max_time
+0x4454 mem_app_handshake_flag
+0x4455 mem_sniff_param_interval
+0x4457 mem_sniff_param_attempt
+0x4459 mem_sniff_param_timeout
+0x445b mem_cb_check_wakelock
+0x445d mem_cb_before_hibernate
+0x445f mem_cb_before_lpm
+0x4461 mem_cb_le_process
+0x4463 mem_cb_bt_process
+0x4465 mem_cb_idle_process
+0x4467 mem_cb_bb_event_process
+0x4469 mem_cb_discovry_timeout
+0x446b mem_cb_att_write
+0x446d mem_cb_ble_transmit
+0x446f mem_cb_event_timer
+0x4471 mem_cb_bt_set_mult
+0x4473 mem_cb_spi_flash_write_complate
+0x4475 mem_cb_spi2_flash_write_complate
+0x4477 mem_cb_bt_slave_match
+0x4479 mem_cb_before_lpm_sleep
+0x447b mem_eeprom_base
+0x447d mem_unsniff2sniff_timer_count
+0x447e mem_wake_up_delay_timer
+0x447f mem_app_connection_options
+0x4480 mem_app_disconn_reason
+0x4482 mem_app_disconn_reason_flag
+0x4484 mem_xrecord_mode
+0x4485 mem_eeprom_block_size
+0x4486 mem_spi_init_clk
+0x4487 mem_spi_init_delay_time
+0x4488 mem_spi_ncs_gpio
+0x4489 mem_nv_data_ptr
+0x448b mem_nv_data_number
+0x448c mem_queue_ptr
+0x448e mem_ui_led_struct_num
+0x448f mem_ui_led_struct_ptr
+0x4491 mem_adc_wait_count
+0x4492 mem_3v_adc_io_data
+0x4494 mem_2v_adc_hvin_data
+0x4496 mem_2v_adc_vinlpm_data
+0x4498 mem_1v_adc_io_data
+0x449a mem_3v_adc_hvin_data
+0x449c mem_3v_adc_vinlpm_data
+0x449e mem_app_adc_read_count
+0x449f mem_start_adc_clkn
+0x44a0 mem_reference_voltage
+0x44a2 mem_adc_config_flag
+0x44a3 mem_adc_channel
+0x44a4 mem_adc_current_value
+0x44a6 mem_adc_power_flag//bit0:low power falg ; bit1:no power flag
+0x44a7 mem_spi_write_addr
+0x44aa mem_spi_write_ptr
+0x44ac mem_spi_write_len
+0x44ae mem_spi_write_flash_sm
+0x44af mem_spi2_write_addr
+0x44b2 mem_spi2_write_ptr
+0x44b4 mem_spi2_write_len
+0x44b6 mem_spi2_write_flash_sm
+0x44b7 mem_spi_cs_gpio
+0x44b8 mem_spi_si_gpio
+0x44b9 mem_spi_so_gpio
+0x44ba mem_spi_sclk_gpio
+0x44bb mem_spi_wp_gpio
+0x44bc mem_spi_hold_gpio
+0x44bd mem_spi2_cs_gpio
+0x44be mem_spi2_si_gpio
+0x44bf mem_spi2_so_gpio
+0x44c0 mem_spi2_sclk_gpio
+0x44c1 mem_spi2_wp_gpio
+0x44c2 mem_spi2_hold_gpio
+0x44c3 mem_eeprom_wp_gpio
+0x44c4 mem_eeprom_scl_gpio
+0x44c5 mem_eeprom_sda_gpio
+0x44c6 mem_kscan_ptr
+0x44c8 mem_key_num_ptr
+0x44c8 mem_keyscan_ptr
+0x44ca mem_key_value_retention
+0x44cc mem_power_param_ptr
+0x44ce mem_efuse_header
+0x44d1 mem_seqi
+0x44d2 mem_dig_aon_vsel
+0x44d3 mem_syn_afc_cfg1
+0x44d4 mem_rf_ldo_cfg1
+0x44d5 mem_rc_cal
+0x44d6 mem_nec_decode_error_value
+0x44d7 mem_rf_debug_rx_gpio
+0x44d8 mem_rf_debug_tx_gpio
+0x44d9 mem_l2cap_xmem_start
+0x44d9 mem_l2cap_tx_multi_offset//0 means single packet
+0x44db mem_sdp_remote_cid
+0x44dd mem_rfcomm_remote_cid
+0x44df mem_hid_ctrl_remote_cid
+0x44e1 mem_hid_int_remote_cid
+0x44e3 mem_sdp_state
+0x44e4 mem_rfcomm_state
+0x44e5 mem_hid_control_state
+0x44e6 mem_hid_interrupt_state
+0x44e7 mem_spp_state
+0x44e8 mem_ML2CAP_comm_id
+0x44e9 mem_used_map
+0x44ea mem_tx_fifo0
+0x44ea mem_tx_fifo0_map
+0x44eb mem_tx_fifo0_ptr
+0x44ed mem_tx_fifo1
+0x44ed mem_tx_fifo1_map
+0x44ee mem_tx_fifo1_ptr
+0x44f0 mem_tx_fifo2
+0x44f0 mem_tx_fifo2_map
+0x44f1 mem_tx_fifo2_ptr
+0x44f3 mem_tx_fifo3
+0x44f3 mem_tx_fifo3_map
+0x44f4 mem_tx_fifo3_ptr
+0x44f6 mem_tx_fifo_end
+0x44f6 mem_l2cap_lpm_txbuf
+0x45f6 mem_l2cap_flow_ctrl_flag
+0x45f7 mem_l2cap_pending_item
+0x45f8 mem_l2cap_rcv_hidtype
+0x45f9 mem_l2cap_xmem_end
+0x45f9 mem_lmo_header_opcode_x
+0x45fa mem_lmp_version
+0x45fb mem_lmp_compid
+0x45fd mem_lmp_subversion
+0x45ff mem_local_name_length
+0x4600 mem_local_name
+0x4603 mem_local_name2
+0x4643 mem_local_name_end
+0x4644 mem_unsniff2sniff_timer
+0x4645 mem_switch_flag
+0x4646 mem_classic_bt_flag
+0x4647 mem_encapsulated_major_type
+0x4648 mem_encapsulated_minor_type
+0x4649 mem_encapsulated_len
+0x464a mem_remote_br_sc_support
+0x464b mem_pn_dlci
+0x464c mem_pn_max_frame_size
+0x464e memFCStemp1
+0x464f memFCStemp2
+0x4650 memFCStemp3
+0x4651 mem_rfcomm_initiator
+0x4652 mem_remote_spp_channel
+0x4653 mem_HIUfcs_SPP
+0x4654 mem_HIUfcs_SPP_WCredits
+0x4655 mem_rfcomm_send_more_pkt
+0x4656 mem_remote_credits
+0x4657 mem_credit_given
+0x4658 mem_ms_channel
+0x4659 mem_rfcomm_credit_flag
+0x465a mem_rfcomm_max_frame_size
+0x465c mem_rfcomm_credit_init_data
+0x465d mem_cb_receive_spp_data
+0x465f mem_nl_rx_data_src
+0x4661 mem_nl_rx_len_all
+0x4663 mem_ui_uuid_table
+0x4665 mem_all_uuid_16bits
+0x467b mem_all_uuid_128bits
+0x469d mem_sdp_l2capch_ptr
+0x469f mem_ccm_pcnt_tx
+0x46a4 mem_ccm_pcnt_rx
+0x46a9 mem_ccm_last_mic
+0x46ad mem_ccm_iv
+0x46ad mem_ccm_ivm
+0x46b1 mem_ccm_ivs
+0x46b5 mem_ccm_len
+0x46b7 mem_ccm_rx_ptr
+0x46b9 mem_sc_only_mode
+0x46ba mem_sp_debug_mode
+0x46bb mem_secure_connections_enable
+0x46bc mem_sp_local_key_invalid
+0x46bd mem_sc_calc
+0x46be mem_sc_local_key_invalid
+0x46bf mem_sc_private_key_256
+0x46df mem_sc_pubkey_local_x_256
+0x46ff mem_sc_pubkey_local_y_256
+0x471f mem_sp_private_key
+0x4737 mem_sp_pubkey_local
+0x4737 mem_sp_pubkey_local_x
+0x474f mem_sp_pubkey_local_x_end
+0x474f mem_sp_pubkey_local_y
+0x4767 mem_ssp_enable
+0x4768 mem_lmp_io_cap_payload_iocap
+0x4769 mem_lmp_io_cap_payload_oob_auth_data
+0x476a mem_lmp_io_cap_payload_auth_req
+0x476b mem_sp_state_xmem
+0x476b mem_sp_iocap_remote
+0x476e mem_flag_mode_ssp_pin
+0x476f mem_ssp_mode_flag
+0x4770 mem_authentication_passkey_times
+0x4771 mem_passkey_1bit
+0x4772 mem_flag_pairing_state
+0x4773 mem_sp_state_xmem_end
+0x4773 mem_ipc_lock_bt
+0x4774 mem_ipc_lock_c51
+0x4775 mem_ipc_fifo_bt2c51
+0x477d mem_ipc_fifo_c512bt
+0x4785 mem_ui_button_timer
+0x4786 mem_ui_button_last_state
+0x4787 mem_ui_timer_last_btclk
+0x478b mem_discovery_timeout_timer_count
+0x478d mem_hid_handshake_timer_count
+0x478e memui_reconnect_mode
+0x478f mem_ui_state_map
+0x4791 mem_ui_profile_supported
+0x4792 mem_ui_button_timeout
+0x4793 mem_ui_button_gpio
+0x4794 mem_discovery_timeout
+0x4796 mem_pin_length
+0x4797 mem_pin
+0x47a7 mem_dummy
+0x47aa mem_seq
+0x47ab mem_context_cnt
+0x47ac mem_context_map
+0x47ad mem_context_new
+0x4aad mem_att_cmd_len
+0x4aae mem_att_cmd
+0x4abd mem_att_resp_handle
+0x4abe mem_att_resp_len
+0x4abf mem_att_resp
+0x4add mem_meter_att_list
+0x47a7 mem_mesh_vendor_mesh_receive_tid
+0x47a8 mem_mesh_vendor_mesh_send_tid
+0x47a9 mem_mesh_vendor_timer_current_time
+0x47ad mem_system_time
+0x47b1 mem_mesh_adv_data_len
+0x47b2 mem_mesh_adv_data
+0x47d1 mem_mesh_adv_scan_channel
+0x47d2 mem_mesh_advertising_unprovisioned_device_beacon_switch
+0x47d3 mem_mesh_advertising_unprovisioned_device_beacon_timer
+0x47d5 mem_mesh_advertising_unprovisioned_device_beacon_duration
+0x47d6 mem_mesh_advertising_unprovisioned_device_beacon_interval
+0x47d7 mem_mesh_calc_ConfirmationCloud_data
+0x47d7 mem_mesh_ConfirmationCloud_RandomB
+0x47df mem_mesh_ConfirmationCloud_RandomA
+0x47e7 mem_mesh_AuthValueProv
+0x47f7 mem_mesh_ConfirmationCloud
+0x4807 mem_mesh_ConfirmationDevice
+0x4807 mem_mesh_calc_ConfirmationDevice_data
+0x4807 mem_mesh_provisioning_random_A
+0x480f mem_mesh_provisioning_random_B
+0x4817 mem_mesh_AuthValueDevice
+0x4827 mem_mesh_Device_Key
+0x4837 mem_mesh_Confirmationkey
+0x4847 mem_mesh_sha256_ConfirmationKey_ascii
+0x4856 mem_mesh_sha256_SessionKey_ascii
+0x4860 mem_mesh_sha256_DeviceKey_ascii
+0x4869 mem_mesh_sha256_load_first_data_flag
+0x486a mem_mesh_sha256_data_len_byte
+0x4872 mem_mesh_sha256_data_len_bit
+0x487a mem_mesh_sha256_data_end_addr
+0x487c mem_mesh_sha256_data_len_addr
+0x487e mem_mesh_sha256_chunk_count
+0x487f mem_mesh_sha256_chunk_data_ptr
+0x4881 mem_mesh_sha256_chunk_ptr
+0x4883 mem_k2_P_len
+0x4884 mem_k2_P
+0x4894 mem_k2_N
+0x48a4 mem_k2_SALT
+0x48b4 mem_k2_T
+0x48c4 mem_k2_T0
+0x48c4 mem_k2_T1
+0x48d4 mem_k2_NID
+0x48d5 mem_k2_T3
+0x48e5 mem_k2_T2
+0x48f5 mem_k4_SALT
+0x4905 mem_k4_T
+0x4915 mem_k4_id6_01
+0x4925 mem_k4_k4N
+0x4935 mem_mesh_transport_AID
+0x4936 mem_k3_SALT
+0x4946 mem_k3_T
+0x4956 mem_k3_id64_01
+0x495b mem_k3_k4N
+0x4963 mem_mesh_network_id
+0x496b mem_mesh_provisioned_flag
+0x496c mem_mesh_Provisioning_State_Flag
+0x496d mem_mesh_Device_PID
+0x496e mem_mesh_UUID_FeatureFlag
+0x496f mem_mesh_PDU_RFU
+0x4971 mem_mesh_OOB_information
+0x4973 mem_mesh_Encrypt_Provisioning_Data
+0x4973 mem_mesh_provisioning_data_Mac_addr
+0x4975 mem_mesh_KeyFresh_and_Update_flag
+0x4976 mem_mesh_Network_Key
+0x4986 mem_mesh_last_IV_Index_byte
+0x4987 mem_mesh_Unicast_Address
+0x4989 mem_mesh_adv_last_time
+0x498d mem_mesh_send_packet_timeout
+0x498f mem_mesh_gatt_package_send_msg_id
+0x4990 mem_mesh_gatt_receive_msg_timer
+0x4991 mem_mesh_gatt_packet_receive_msg_buffer1
+0x49b2 mem_mesh_gatt_packet_receive_msg_buffer2
+0x49d3 mem_mesh_three_tuple_ProductID
+0x49d7 mem_mesh_three_tuple_MAC
+0x49dd mem_mesh_three_tuple_secret
+0x49ed mem_mesh_cb_receive_advertising
+0x49ef mem_mesh_cb_receive_access_message
+0x49f1 mem_mesh_cb_receive_config_appkey_add
+0x49f3 mem_mesh_cb_pairing_fail
+0x49f5 mem_mesh_cb_recv_vendor
+0x49f7 mem_mesh_scan_selete_next_ch
+0x49f9 mem_mesh_cb_generic_onoff_get
+0x49fb mem_mesh_cb_generic_onoff_set
+0x49fd mem_mesh_cb_scene_recall
+0x49ff mem_mesh_cb_light_lightness_set
+0x4a01 mem_mesh_cb_light_lightness_get
+0x4a03 mem_mesh_cb_light_ctl_set
+0x4a05 mem_mesh_cb_main_light_onoff_set
+0x4a07 mem_mesh_cb_background_onoff_set
+0x4a09 mem_mesh_cb_color_set
+0x4a0b mem_mesh_cb_network_relay
+0x4a0d mem_mesh_cb_receive_node_reset
+0x4a0f mem_mesh_cb_seq_changed
+0x4a11 mem_mesh_cb_subscriptuion_list_changed
+0x4a13 mem_mesh_cb_vendor_timing_changed
+0x4a15 mem_mesh_core_feature
+0x4a17 mem_mesh_element_number
+0x4a18 mem_mesh_element_device_ptr
+0x4a1a mem_mesh_element_device_length
+0x4a1c mem_mesh_segmented_access_message_SZMIC
+0x4a1d mem_mesh_segmented_access_message_SeqZero
+0x4a1f mem_mesh_segmented_access_message_SegO
+0x4a20 mem_mesh_segmented_access_message_SegN
+0x4a21 mem_mesh_segmented_access_message_BlockAck
+0x4a25 mem_mesh_segmented_access_message_receive_finish
+0x4a26 mem_mesh_segmented_access_message_current_length
+0x4a27 mem_mesh_segmented_access_message_SegN_upper_limit
+0x4a28 mem_mesh_segmented_access_message_Segment_ptr
+0x4a2a mem_mesh_last_CTL_Temperature
+0x4a2c mem_mesh_receive_group_address
+0x4a2d mem_mesh_receive_element_number
+0x4a2e mem_mesh_IV_Index
+0x4a32 mem_mesh_TMALL_cache_start
+0x4a32 mem_mesh_TMALL_SRC1
+0x4a34 mem_mesh_TMALL_SEQ1
+0x4a37 mem_mesh_TMALL_cache
+0x4a64 mem_mesh_TMALL_cache_end
+0x4a64 mem_mesh_transport_message_mic_cache
+0x4a64 mem_mesh_transport_message_mic_cache_buff1
+0x4a68 mem_mesh_transport_message_mic_cache_buff2_10
+0x4a8c mem_mesh_network_relay_queue
+0x4a8c mem_mesh_network_relay_queue_each_size
+0x4a8d mem_mesh_network_relay_queue_length
+0x4a8e mem_mesh_network_relay_queue_current_num
+0x4a8f mem_mesh_network_relay_queue_read_ptr
+0x4a90 mem_mesh_network_relay_queue_write_ptr
+0x4a91 mem_mesh_network_relay_queue_ele
+0x4b19 mem_mesh_application_key
+0x4b29 mem_mesh_ASZMIC
+0x4b2a mem_mesh_access_message_mic_cache
+0x4b2a mem_mesh_access_message_mic_cache_buff1
+0x4b2e mem_mesh_access_message_mic_cache_buff2_10
+0x4b52 mem_mesh_send_message_SEQ
+0x4b55 mem_mesh_send_message_SRC
+0x4b57 mem_mesh_send_message_TTL
+0x4b58 mem_mesh_send_upper_layer_IVI_and_NID
+0x4b59 mem_mesh_send_upper_layer_CTL_and_TTL
+0x4b5a mem_mesh_send_upper_layer_SEQ
+0x4b5d mem_mesh_send_upper_layer_SRC
+0x4b5f mem_mesh_send_upper_layer_DST
+0x4b61 mem_mesh_send_access_lower_transport_layer
+0x4b71 mem_mesh_send_network_layer_NetMIC
+0x4b75 mem_mesh_element_device
+0x4b75 mem_mesh_element_device_group_addr
+0x4b77 mem_mesh_element_device_queue_buffer_ptr
+0x4b79 mem_mesh_element_device_timing_ptr
+0x4b7b mem_mesh_element_device_element_subscription_label
+0x4b8b mem_mesh_element_upper_adv_flag
+0x4b8c mem_mesh_element_upper_queue_buffer_ptr
+0x4b8e mem_mesh_element_tran_package_tid
+0x4b8f mem_mesh_element_tran_package_type
+0x4b90 mem_mesh_element_device1
+0x4bab mem_mesh_element_device2
+0x4bc6 mem_mesh_segmented_access_message_Segment
+0x4bea mem_mesh_element_device_queue_each_size
+0x4beb mem_mesh_element_device_queue_length
+0x4bec mem_mesh_element_device_queue_current_num
+0x4bed mem_mesh_element_device_queue_read_ptr
+0x4bee mem_mesh_element_device_queue_write_ptr
+0x4bef mem_mesh_element_device_queue_ele
+0x4c77 mem_mesh_element_device_upper_queue_each_size
+0x4c78 mem_mesh_element_device_upper_queue_length
+0x4c79 mem_mesh_element_device_upper_queue_current_num
+0x4c7a mem_mesh_element_device_upper_queue_read_ptr
+0x4c7b mem_mesh_element_device_upper_queue_write_ptr
+0x4c7c mem_mesh_element_device_upper_queue_ele
+0x4d38 mem_mesh_le_att_list
+0x47a7 mem_antl_lpm_interval
+0x47a9 mem_antl_adv_interval
+0x47ab mem_antl_slow_adv_lpm_interval
+0x47ad mem_antl_slow_adv_adv_interval
+0x47af mem_antl_led_style
+0x47af mem_antl_led_type
+0x47b0 mem_antl_led_blink_count
+0x47b1 mem_antl_led_gpio
+0x47b2 mem_antl_led_on_time
+0x47b4 mem_antl_led_off_time
+0x47b6 mem_antl_led_cb_on
+0x47b8 mem_antl_led_cb_off
+0x47ba mem_antl_buzzer_style
+0x47ba mem_antl_buzzer_type
+0x47bb mem_antl_buzzer_blink_count
+0x47bc mem_antl_buzzer_gpio
+0x47bd mem_antl_buzzer_on_time
+0x47bf mem_antl_buzzer_off_time
+0x47c1 mem_antl_buzzer_cb_on
+0x47c3 mem_antl_buzzer_cb_off
+0x47c5 mem_antl_fast_adv_led_style
+0x47c5 mem_antl_fast_adv_led_type
+0x47c6 mem_antl_fast_adv_led_blink_count
+0x47c7 mem_antl_fast_adv_led_gpio
+0x47c8 mem_antl_fast_adv_led_on_time
+0x47ca mem_antl_fast_adv_led_off_time
+0x47cc mem_antl_slow_adv_led_style
+0x47cc mem_antl_slow_adv_led_type
+0x47cd mem_antl_slow_adv_led_blink_count
+0x47ce mem_antl_slow_adv_led_gpio
+0x47cf mem_antl_slow_adv_led_on_time
+0x47d1 mem_antl_slow_adv_led_off_time
+0x47d3 mem_antl_power_starting_led_style
+0x47d3 mem_antl_power_starting_led_type
+0x47d4 mem_antl_power_starting_led_blink_count
+0x47d5 mem_antl_power_starting_led_gpio
+0x47d6 mem_antl_power_starting_led_on_time
+0x47d8 mem_antl_power_starting_led_off_time
+0x47da mem_antl_power_starting_buzzer_style
+0x47e1 mem_antl_power_off_led_style
+0x47e1 mem_antl_power_off_led_type
+0x47e2 mem_antl_power_off_led_link_count
+0x47e3 mem_antl_power_off_led_gpio
+0x47e4 mem_antl_power_off_led_on_time
+0x47e6 mem_antl_power_off_led_off_time
+0x47e8 mem_antl_power_off_buzzer_style
+0x47e8 mem_antl_power_off_buzzer_type
+0x47e9 mem_antl_power_off_buzzer_link_count
+0x47ea mem_antl_power_off_buzzer_gpio
+0x47eb mem_antl_power_off_buzzer_on_time
+0x47ed mem_antl_power_off_buzzer_off_time
+0x47ef mem_antl_alert_led_stlye
+0x47f6 mem_antl_alert_buzzer_stlye
+0x47f6 mem_antl_alert_buzzer_type
+0x47f7 mem_antl_alert_buzzer_blink_count
+0x47f8 mem_antl_alert_buzzer_gpio
+0x47f9 mem_antl_alert_buzzer_on_time
+0x47fb mem_antl_alert_buzzer_off_time
+0x47fd mem_antl_key_led_style
+0x47fd mem_antl_key_led_type
+0x47fe mem_antl_key_led_blink_count
+0x47ff mem_antl_key_led_gpio
+0x4800 mem_antl_key_led_on_time
+0x4802 mem_antl_key_led_off_time
+0x4804 mem_antl_key_buzzer_style
+0x480b mem_antl_queue_width
+0x480c mem_antl_queue_depth
+0x480d mem_antl_queue_curr_num
+0x480e mem_antl_queue_read_ptr
+0x480f mem_antl_queue_write_ptr
+0x4810 mem_antl_queue_buff
+0x4860 mem_antl_key_scan_enable
+0x4861 mem_antl_led_num
+0x4862 mem_antl_led_gpio_map
+0x4866 mem_antl_power_param
+0x4866 mem_antl_power_state
+0x4867 mem_antl_power_timer
+0x4868 mem_antl_power_off_timeout
+0x4869 mem_antl_power_starting_timeout
+0x486a mem_antl_power_off_cb
+0x486c mem_antl_power_starting_cb
+0x486e mem_antl_power_standby_cb
+0x4870 mem_event_button_up_cb
+0x4872 mem_antl_key_num
+0x4873 mem_cb_antl_key
+0x4875 mem_antl_key_conf0
+0x4879 mem_antl_key0_press
+0x4888 mem_antl_key0_release
+0x4897 mem_antl_conn_updata_procedure_state
+0x4898 mem_client_characteristic_configuration_descriptor
+0x489a mem_adc_timer
+0x489c mem_antl_conn_update_timer
+0x489d mem_antl_send_updata_le_param_timer
+0x489e mem_antl_le_sleep_timer
+0x48a0 mem_antl_fast_adv_timer
+0x48a2 mem_antl_fast_adv_timeout
+0x48a4 mem_antl_le_sleep_timeout
+0x48a6 mem_double_click_timer
+0x48a7 mem_butten_click_cnt
+0x48a8 mem_antl_led_state
+0x48a9 mem_antl_buzzer_state
+0x48aa mem_antl_key_state
+0x48ab mem_antl_lost_mode
+0x48ac mem_alarm_config
+0x48ad mem_alarm_config_notfy_cnt
+0x48ae mem_buzzer_pwm_conf
+0x48b4 mem_adc_timeout
+0x48b6 mem_voltage_remain_percent
+0x48b7 mem_battery_calculate_set
+0x48b7 mem_battery_full_voltage
+0x48b9 mem_battery_empty_voltage
+0x48bb mem_battery_low_voltage
+0x48bd mem_battery_current_voltage
+0x48bf mem_rx_window_sniff_inc
+0x48c1 mem_interval_increment
+0x48c3 mem_antl_le_interval_min
+0x48c5 mem_antl_le_interval_max
+0x48c7 mem_antl_le_latency
+0x48c9 mem_antl_le_timeout
+0x48cb mem_antl_le_unnormal_interval_min
+0x48cd mem_antl_le_unnormal_interval_max
+0x48cf mem_antl_le_unnormal_latency
+0x48d1 mem_antl_le_unnormal_timeout
+0x48d3 mem_AntiLost_le_att_list
+0x4a63 mem_lestate_update_param_flag
+0x4a64 mem_antilost_conn_battery_send_timer
+0x4a65 mem_antl_disconn_buzzer_on_timer
+0x4a67 mem_antl_disconn_buzzer_on_timeout
+0x47a7 mem_24g_rxbuf
+0x47c9 mem_24g_txbuf
+0x47e9 mem_24g_txpayload
+0x480d mem_24g_rxpayload
+0x482d mem_24g_rxdata_length
+0x482e mem_24g_pid
+0x482f mem_24g_no_ack
+0x4830 mem_24g_sta_crc
+0x4833 mem_24g_last_crc
+0x4836 mem_24g_sta_pid
+0x4837 mem_24g_last_pid
+0x4838 mem_24g_datalen
+0x4839 mem_24g_data_type
+0x483a mem_24g_txlen
+0x483b mem_24g_rx_window
+0x483d mem_24g_ch
+0x483e mem_24g_current_ch_number
+0x483f mem_24g_addr
+0x4843 mem_24g_ch_map1
+0x4847 mem_24g_ch_map2
+0x484b mem_24g_ch_map3
+0x484f mem_24g_ch_map4
+0x4853 mem_24g_tx_btclk
+0x4857 mem_24g_interval
+0x4858 mem_24g_interval_min
+0x4859 mem_24g_interval_max
+0x485a mem_24g_syncword
+0x485c mem_24g_syncword_crc8
+0x485d mem_24g_get_syncword_crc8
+0x485e mem_24g_pair_switch
+0x485f mem_24g_enter_hibernate
+0x4867 mem_24g_rx_phy
+0x4868 mem_24g_tx_phy
+0x4869 mem_24g_ch_map_update
+0x486a mem_24g_ch_update_map1
+0x486e mem_24g_ch_update_map2
+0x4872 mem_24g_ch_update_map3
+0x4876 mem_24g_ch_update_map4
+0x487a mem_24g_disable_fec1
+0x487b mem_24g_pair_addr
+0x487f mem_24g_pair_ch
+0x4880 mem_24g_pair_tx_power
+0x4881 mem_rssi_buff_index
+0x4882 mem_24g_device1_bind_step
+0x4883 mem_24g_device2_bind_step
+0x4884 mem_24g_bind_device_status
+0x4885 mem_24g_bind_payload
+0x488d mem_cb_24g_receive_process
+0x488f mem_cb_24g_ackpayload
+0x4891 mem_cb_24g_data_device1
+0x4893 mem_cb_24g_data_device2
+0x4895 mem_24g_rxdata_temp
+0x48b7 mem_24g_abort_packet
+0x48b8 mem_24g_hop_btclk
+0x48bc mem_24g_hop_interval
+0x48bd mem_24g_pair_mode
+0x48be mem_24g_ackpayload_enable
+0x48bf mem_24g_hop_packet
+0x48c0 mem_24g_mode_switch
+0x48c1 mem_24g_nodata_timer_enable
+0x48c2 mem_24g_mode_init
+0x48c3 mem_24g_work_mode
+0x48c4 mem_24g_time_slice
+0x48c5 mem_24g_self_last_ch
+0x48c6 mem_24g_self_ch_number
+0x48c7 mem_24g_self_config_ch_once
+0x48c8 mem_24g_device1_last_ch
+0x48c9 mem_24g_device1_ch_number
+0x48ca mem_24g_device1_config_ch_once
+0x48cb mem_24g_device2_last_ch
+0x48cc mem_24g_device2_ch_number
+0x48cd mem_24g_device2_config_ch_once
+0x48ce mem_24g_led_status
+0x48cf mem_24g_bind_mode_continue
+0x48d0 mem_tx_power_temp
+0x48d1 mem_24g_mode_B_S_switch
+0x48d2 mem_24g_mode_B_S_switch_init
+0x48d3 mem_24g_mode_B_S_switch_cnt
+0x48d5 mem_24g_mode_B_S_switch_exit
+0x48d6 mem_24g_B_S_time_slice
+0x48d7 mem_24g_B_S_mode_switch_disable
+0x48d8 mem_24g_bind_device_living
+0x48d9 mem_24g_transmitter_addr
+0x48dd mem_24g_device1_addr
+0x48e1 mem_24g_device2_addr
+0x48e5 mem_rssi_noise_avg
+0x48e6 mem_rssi_noise_index
+0x48e7 mem_rssi_noise_self_avg
+0x48e8 mem_rssi_noise_device1_avg
+0x48e9 mem_rssi_noise_device2_avg
+0x48ea mem_rssi_noise_self_index
+0x48eb mem_rssi_noise_device1_index
+0x48ec mem_rssi_noise_device2_index
+0x48ed mem_rssi_noise_buffer_ptr
+0x48ef mem_rssi_noise_self_buffer_ptr
+0x48f1 mem_rssi_noise_device1_buffer_ptr
+0x48f3 mem_rssi_noise_device2_buffer_ptr
+0x48f5 mem_car_hard_soft_switch
+0x48f6 mem_car_queue_each_size
+0x48f7 mem_car__queue_length
+0x48f8 mem_car_queue_curr_num
+0x48f9 mem_car_queue_read_ptr
+0x48fa mem_car_queue_write_ptr
+0x48fb mem_car_queue_ele
+0x4973 mem_car_pop_queue_buff
+0x4987 mem_car_led_num
+0x4988 mem_car_led_map
+0x4992 mem_car_style1_led_type
+0x4993 mem_car_style1_blink_count
+0x4994 mem_car_style1_struct_led_gpio
+0x4995 mem_car_style1_on_time
+0x4997 mem_car_style1_off_time
+0x4999 mem_car_style1_cb_ledon
+0x499b mem_car_style1_cb_ledoff
+0x499d mem_car_style2_led_type
+0x499e mem_car_style2_blink_count
+0x499f mem_car_style2_struct_led_gpio
+0x49a0 mem_car_style2_on_time
+0x49a2 mem_car_style2_off_time
+0x49a4 mem_car_style2_cb_ledon
+0x49a6 mem_car_style2_cb_ledoff
+0x49a8 mem_le_receive_data
+0x49a8 mem_le_receive_packet_head
+0x49aa mem_le_receive_cmd
+0x49ab mem_le_receive_length
+0x49ad mem_le_receive_payload
+0x49b7 mem_le_receive_checksum
+0x49b8 mem_motor1_status
+0x49b9 mem_motor1_speed
+0x49ba mem_motor2_status
+0x49bb mem_motor2_speed
+0x49bc mem_motor3_status
+0x49bd mem_motor3_speed
+0x49be mem_motor1_pwm_set
+0x49be mem_motor1_pwm_pin1_set
+0x49bf mem_motor1_pwm_pin2_set
+0x49c0 mem_motor1_pwm_pin_set
+0x49c1 mem_motor1_pwm_channel_set
+0x49c2 mem_motor1_pwm_freq_set
+0x49c5 mem_motor1_pwm_dute_set
+0x49c6 mem_motor2_pwm_set
+0x49c6 mem_motor2_pwm_pin1_set
+0x49c7 mem_motor2_pwm_pin2_set
+0x49c8 mem_motor2_pwm_pin_set
+0x49c9 mem_motor2_pwm_channel_set
+0x49ca mem_motor2_pwm_freq_set
+0x49cd mem_motor2_pwm_dute_set
+0x49ce mem_motor3_pwm_set
+0x49ce mem_motor3_pwm_pin1_set
+0x49cf mem_motor3_pwm_pin2_set
+0x49d0 mem_motor3_pwm_pin_set
+0x49d1 mem_motor3_pwm_channel_set
+0x49d2 mem_motor3_pwm_freq_set
+0x49d5 mem_motor3_pwm_dute_set
+0x49d6 mem_motor_select_p_n
+0x49d7 mem_car_motor_status
+0x49d8 mem_car_motor_speed
+0x49d9 mem_motor_pwm_set
+0x49d9 mem_motor_pwm_pin1_set
+0x49da mem_motor_pwm_pin2_set
+0x49db mem_motor_pwm_pin_set
+0x49dc mem_motor_pwm_channel_set
+0x49dd mem_motor_pwm_freq_set
+0x49e0 mem_motor_pwm_dute_set
+0x49e1 mem_ir_rx_gpio
+0x49e2 mem_ir_data
+0x49e4 mem_ir_rx_buf
+0x49e6 mem_ir_receive_clkn
+0x49ea mem_ir_notify_data
+0x49ed mem_ir_notify_data_head
+0x49f2 mem_ir_notify_data_payload
+0x49f4 mem_ir_notify_data_check_sum
+0x49f5 mem_car_ir_breakdown_check_timer
+0x49f6 mem_car_ir_breakdown_flag
+0x49f7 mem_car_led_control
+0x49f7 mem_car_led1_status
+0x49f8 mem_car_led2_status
+0x49f9 mem_car_led3_status
+0x49fa mem_car_led4_status
+0x49fb mem_car_led5_status
+0x49fc mem_car_led6_status
+0x49fd mem_car_led7_status
+0x49fe mem_car_led8_status
+0x49ff mem_car_led_control_timer
+0x4a00 mem_car_led_blink_status
+0x4a01 mem_car_led_no
+0x4a02 mem_car_info_request
+0x4a05 mem_car_info_request_head
+0x4a0a mem_car_info_request_payload
+0x4a12 mem_car_info_request_checksum
+0x4a13 mem_car_config_param
+0x4a13 mem_car_config_setting_flag
+0x4a14 mem_car_config_device_select
+0x4a15 mem_car_config_motor_layout
+0x4a16 mem_car_config_ir_enable
+0x4a17 mem_car_config_ir_rx_gpio
+0x4a18 mem_car_config_pairing_led_conn_status
+0x4a19 mem_car_config_pairing_led_gpio
+0x4a1a mem_car_config_led_num
+0x4a1b mem_car_config_blood_led_gpio
+0x4a1b mem_car_config_blood_led1_gpio
+0x4a1c mem_car_config_blood_led2_gpio
+0x4a1d mem_car_config_blood_led3_gpio
+0x4a1e mem_car_config_blood_led4_gpio
+0x4a1f mem_car_config_blood_led5_gpio
+0x4a20 mem_car_config_blood_led6_gpio
+0x4a21 mem_car_config_blood_led7_gpio
+0x4a22 mem_car_config_blood_led8_gpio
+0x4a23 mem_car_config_bat_notify_enable
+0x4a24 mem_car_config_low_voltage_led_gpio
+0x4a25 mem_car_config_low_voltage_percent
+0x4a26 mem_car_config_soft_switch_enable
+0x4a27 mem_car_config_soft_switch_gpio
+0x4a28 mem_car_notify_vdd_count
+0x4a29 mem_car_notify_vdd_timer
+0x4a2a mem_car_notify_vdd_value_last
+0x4a2b mem_car_notify_vdd_percent
+0x4a2c mem_car_working_flag
+0x4a2d mem_low_bat_flag
+0x4a2e mem_notify_bat_packet
+0x4a31 mem_notify_bat_head
+0x4a36 mem_notify_bat_payload
+0x4a37 mem_notify_bat_check_sum
+0x4a38 mem_vdd_notify_flag
+0x4a39 mem_car_current_vdd_value_temp
+0x4a3b mem_car_last_vdd_value
+0x4a3d mem_vdd_calculate_set
+0x4a3d mem_vdd_full_vol
+0x4a3f mem_vdd_empty_vol
+0x4a41 mem_vdd_low_vol
+0x4a43 mem_vdd_now_vol
+0x4a45 mem_car_24g_status
+0x4a46 mem_car_24g_no_data_timeout_count
+0x4a48 mem_car_24g_no_data_timeout_timer
+0x4a4a mem_car_24g_ir_receive_attack_count
+0x4a4b mem_car_24g_go_die_flag
+0x4a4c mem_car_attack_shake_timer
+0x4a4d mem_car_attack_shake_flag
+0x4a4e mem_car_soft_power
+0x4a4e mem_car_power_state
+0x4a4f mem_car_power_timer
+0x4a50 mem_car_power_off_timeout
+0x4a51 mem_car_power_starting_timeout
+0x4a52 mem_car_power_off_cb
+0x4a54 mem_car_power_starting_cb
+0x4a56 mem_car_power_standby_cb
+0x4a58 mem_car_ui_button_up_cb
+0x4a5a mem_car_le_att_list
+0x4c4e mem_car_moto1_blank_timer
+0x4c4f mem_car_moto2_blank_timer
+0x4c50 mem_car_moto3_blank_timer
+0x4c51 mem_car_motor_gpio_num
+0x4c52 mem_car_motor_gpio_map
+0x4c52 mem_car_motor_left_gpio
+0x4c53 mem_car_motor_right_gpio
+0x4c54 mem_car_motor_front_gpio
+0x4c55 mem_car_motor_back_gpio
+0x4c56 mem_car_gpio
+0x4c57 mem_car_app_send_speed
+0x4c58 mem_rssi_sum
+0x4c5a mem_check_rssi_high_count
+0x4c5c mem_rssi_data
+0x4c64 mem_car_24g_received_pac
+0x4c65 mem_car_24g_bind_enable_delay_count
+0x4c66 mem_car_keyscan
+0x4c66 mem_car_key_num
+0x4c67 mem_cb_car_keyscan
+0x4c69 mem_car_enter_lpm_timer_count
+0x4c6b mem_car_enter_lpm_timer
+0x4c6d mem_car_enter_lpm_flag
+0x4c6e mem_car_24g_ch_polling
+0x4c6f mem_car_rssi_noise_buffer
+0x4c77 mem_car_rssi_noise_car_buffer
+0x4c7f mem_car_rssi_noise_remote_buffer
+0x48f5 mem_dg_kb_bind_flag
+0x48f6 mem_dg_kb_data_sta_data
+0x48fe mem_dg_kb_data_last_data
+0x4906 mem_dg_kb_multikey_sta_data
+0x4909 mem_dg_kb_multikey_last_data
+0x490c mem_dg_kb_system_sta_data
+0x490f mem_dg_kb_system_last_data
+0x4912 mem_dg_kb_blank_data_enable
+0x4913 mem_dg_kb_mul_blank_data_enable
+0x4914 mem_dg_ms_blank_data_enable
+0x4915 mem_dg_sys_config
+0x4916 mem_dg_usb_vid_pid
+0x491f mem_dg_usb_tx_interval
+0x4920 mem_dg_usb_device_name
+0x493e mem_dg_kb_bind_success
+0x493f mem_dg_pc_sleep_flag
+0x4882 mem_rssi_hex_received
+0x4883 mem_24g_pair_sm
+0x4884 mem_24g_pair_no_ack
+0x4885 mem_24g_pair_timeout_init
+0x4887 mem_24g_pair_timeout
+0x4889 mem_24g_reconn_timeout_init
+0x488b mem_24g_reconn_timeout
+0x488d mem_24g_reconn_count
+0x488f mem_24g_reconn_type
+0x4890 mem_24g_fast_conn_enable
+0x4891 mem_24g_fast_conn_addr
+0x4895 mem_24g_receiver_addr
+0x4899 mem_24g_fast_conn_temp_ch
+0x489a mem_24g_receiver_temp_ch
+0x489b mem_24g_device_temp_ch
+0x489c mem_rssi_signal_index
+0x489d mem_rssi_signal_buf_ptr
+0x489f mem_cb_24g_transmit_data
+0x48a1 mem_cb_24g_search_receiver
+0x48a3 mem_cb_24g_lpm_before
+0x48a5 mem_24g_conn_sm
+0x48a6 mem_24g_ensure
+0x48a7 mem_24g_txfail_cnt
+0x48a9 mem_24g_attempt_fail_flag
+0x48aa mem_24g_retry
+0x48ab mem_24g_abort_pac
+0x48ac mem_24g_max_retry
+0x48ad mem_24g_device_addr
+0x48b1 mem_24g_short_sleep_set
+0x48b4 mem_24g_long_sleep_set
+0x48bc mem_24g_long_sleep_set1
+0x48c0 mem_24g_pac_index
+0x48c1 mem_24g_transmit_by_interrupt
+0x48c2 mem_24g_transmit_by_interrupt_exit_count
+0x48c4 mem_24g_transmit_by_interrupt_exit_count_init
+0x48c6 mem_24g_long_sleep_param_update_timer_init
+0x48c8 mem_24g_long_sleep_param_update_timer
+0x48ca mem_24g_fast_hop_count
+0x48cb mem_rssi_avg_received
+0x48cc mem_power_ctrl_level
+0x48cd mem_power_ctrl_pac_succ_cnt
+0x48ce mem_power_ctrl_pac_succ_cnt_init
+0x48cf mem_rssi_dis_min_24g
+0x48d0 mem_rssi_dis_max_24g
+0x48d1 mem_rssi_hex_received_max_value
+0x48d2 mem_rssi_dis_min_ble
+0x48d3 mem_rssi_dis_max_ble
+0x48d4 mem_mouse_key
+0x48d5 mem_mouse_x
+0x48d7 mem_mouse_y
+0x48d9 mem_mouse_z
+0x48da mem_mouse_tz
+0x48db mem_mouse_xy_h
+0x48dc mem_mouse_key_last
+0x48dd mem_wheel_tb_old_pinlevel
+0x48de mem_wheel_tb_new_pinlevel
+0x48df mem_wheel_tog
+0x48e0 mem_mouse_tz_data
+0x48e1 mem_mwheel_b_old_pinlevel
+0x48e2 mem_mwheel_b_new_pinlevel
+0x48e3 mem_mwheel_tog
+0x48e4 mem_mouse_z_data
+0x48e5 mem_mouse_wheel_trigger
+0x48e6 mem_mouse_wheel_trigger_timer
+0x48e7 mem_mouse_vdd_calculate_set
+0x48e7 mem_mouse_vdd_full_vol
+0x48e9 mem_mouse_vdd_empty_vol
+0x48eb mem_mouse_vdd_low_vol
+0x48ed mem_mouse_vdd_now_vol
+0x48ef mem_mouse_vdd_button_press_vol
+0x48f1 mem_mouse_vdd_switch_gnd_24g_vol
+0x48f3 mem_mouse_vdd_switch_gnd_full_vol
+0x48f5 mem_mouse_vdd_switch_gnd_shutdown_voltage
+0x48f7 mem_mouse_vdd_switch_gnd_low_voltage
+0x48f9 mem_adc_mux_status
+0x48fa mem_adc_read_timer
+0x48fb mem_adc_read_time_init
+0x48fc mem_adc_low_volatage_led_timer_count
+0x48fd mem_adc_low_volatage_led_blink_enable
+0x48fe mem_mouse_adc_last_low_voltage_flag
+0x48ff mem_mouse_adc_button_press_flag
+0x4900 mem_adc_channel_gpio
+0x4901 mem_adc_config_flag_init
+0x4902 mem_mouse_discovery_timeout
+0x4904 mem_mouse_24g_pair_timeout_init
+0x4906 mem_mouse_direct_timeout
+0x4907 mem_mouse_24g_reconn_timeout_init
+0x4908 mem_mouse_24g_pair_tx_power
+0x4909 mem_rssi_dis_min_24g_init
+0x490a mem_rssi_dis_max_24g_init
+0x490b mem_rssi_hex_received_max_value_init
+0x490c mem_rssi_dis_min_ble_init
+0x490d mem_rssi_dis_max_ble_init
+0x490e mem_mouse_enable_flag
+0x490f mem_mouse_global_setup
+0x4910 mem_mouse_global_setup1
+0x4911 mem_bk_button_gpio
+0x4912 mem_fw_button_gpio
+0x4913 mem_dpi_button_gpio
+0x4914 mem_matrix_public_gpio
+0x4915 mem_sensor_motion_gpio
+0x4916 mem_customer_key_gpio
+0x4917 mem_whee_a_data_gpio
+0x4918 mem_whee_b_data_gpio
+0x4919 mem_config_device_24g_led_gpio
+0x491a mem_select_sensor_angle_gpio
+0x491b mem_mouse_reuse_2ice_gpio
+0x491c mem_lbutton_gpio
+0x491d mem_rbutton_gpio
+0x491e mem_mbutton_gpio
+0x491f mem_config_select_device_button_gpio
+0x4920 mem_whee_ta_data_gpio
+0x4921 mem_whee_tb_data_gpio
+0x4922 mem_device_switch_gpio
+0x4923 mem_mouse_sensor_sclk_gpio
+0x4924 mem_mouse_sensor_sdio_gpio
+0x4925 mem_config_low_voltage_alarm_gpio
+0x4926 mem_config_device_bt1_led_gpio
+0x4927 mem_config_device_bt2_led_gpio
+0x4928 mem_dpi_led_gpio
+0x4929 mem_sensor_angle_default
+0x492a mem_sensor_angle_switch
+0x492b mem_config_sensor_dpi
+0x492c mem_config_sensor_type
+0x492d mem_config_sensor_angle
+0x492e mem_wire_usb_interval
+0x492f mem_usb_addr
+0x4930 mem_mouse_usb_vdd_status
+0x4931 mem_mouse_usb_keyboard_flag
+0x4932 mem_mouse_led_type
+0x4933 mem_mouse_blink_count
+0x4934 mem_mouse_struct_led_gpio
+0x4935 mem_mouse_on_time
+0x4937 mem_mouse_off_time
+0x4939 mem_mouse_cb_ledon
+0x493b mem_mouse_cb_ledoff
+0x493d mem_mouse_information_start
+0x493d mem_device_flag
+0x493e mem_device1_type
+0x493f mem_device1_addr
+0x4945 mem_device1_link_key
+0x4955 mem_device1_locall_addr
+0x495b mem_device2_type
+0x495c mem_device2_addr
+0x4962 mem_device2_link_key
+0x4972 mem_device2_locall_addr
+0x4978 mem_device3_type
+0x4979 mem_mouse_compare_addr_ff
+0x4979 mem_device3_addr
+0x497f mem_device3_link_key
+0x498f mem_device3_locall_addr
+0x4995 mem_store_flag
+0x4997 mem_mouse_dpi
+0x4998 mem_mouse_24g_addr
+0x499c mem_random_addr_increase_count
+0x499e mem_mouse_retention
+0x49bd mem_mouse_information_end
+0x49bd mem_flash_base
+0x49c0 mem_write_flash_head_temp
+0x49c4 mem_store_information_delay_timer
+0x49c5 mem_store_information_delay_timer_init
+0x49c6 mem_sensor_id1
+0x49c7 mem_sensor_id2
+0x49c8 mem_sensor_shutter_hi
+0x49c9 mem_sensor_shutter_lo
+0x49ca mem_sensor_smart_flag
+0x49cb mem_sensor_squal_reg
+0x49cc mem_sensor_iqc
+0x49cd mem_mouse_move_flag
+0x49ce mem_mouse_asm_flag
+0x49cf mem_mouse_x_pre
+0x49d1 mem_mouse_y_pre
+0x49d3 mem_mouse_data_xtemp
+0x49d4 mem_mouse_data_ytemp
+0x49d5 mem_mouse_dpi_seting
+0x49d5 mem_320x_dpi_0
+0x49d6 mem_320x_dpi_1
+0x49d7 mem_320x_dpi_2
+0x49d8 mem_320x_dpi_3
+0x49d9 mem_3212_dpi_0
+0x49da mem_3212_dpi_1
+0x49db mem_3212_dpi_2
+0x49dc mem_3212_dpi_3
+0x49dd mem_ka8g2_dpi_0
+0x49de mem_ka8g2_dpi_1
+0x49df mem_ka8g2_dpi_2
+0x49e0 mem_ka8g2_dpi_3
+0x49e1 mem_mouse_cpi_count
+0x49e2 mem_mouse_dpi_button_state
+0x49e3 mem_mouse_dpi_long_press_flag
+0x49e4 mem_sensor_3212_init
+0x49ee mem_sensor_3204_init
+0x49f8 mem_sensor_3205_init
+0x4a02 mem_sensor_32xx_init
+0x4a1c mem_sensor_32xx_init_1
+0x4a3e mem_sensor_8650_init
+0x4a64 mem_sensor_ka8ul_init
+0x4a82 mem_sensor_8009_init
+0x4a92 mem_sensor_ka8g2_init
+0x4aa8 mem_sensor_p6520_init
+0x4ab4 mem_sensor_poweron_init
+0x4abc mem_sensor_reset_gpio
+0x4abd mem_mouse_clear_sensor_data_flag
+0x4abe mem_bluetooth_125hz_cnt
+0x4abf mem_mouse_long_mult_flag
+0x4ac0 mem_mouse_current_mult_timer
+0x4ac1 mem_reconn_times
+0x4ac2 mem_reconn_times_init
+0x4ac3 mem_mouse_no_data_timer
+0x4ac5 mem_device_flag_temp
+0x4ac6 mem_mouse_rssi_signal_buf
+0x4ace mem_btclk_sensor
+0x4ad2 mem_mouse_bluetooth_fast_conn_flag
+0x4ad3 mem_mouse_discovery_timer
+0x4ad5 mem_mouse_bluetooth_reconnect_timeout
+0x4ad6 mem_mouse_need_soft_reset
+0x4ad7 mem_mouse_le_bb_connected_flag
+0x4ad8 mem_mouse_le_reconnect_flag
+0x4ad9 mem_mouse_send_secutiry_request_timer
+0x4ada mem_mouse_le_lap_temp
+0x4add mem_le_adv_ind
+0x4ae0 mem_le_adv_direct_ind
+0x4ae3 mem_le_adv_swift_pair
+0x4af7 mem_le_data_len
+0x4af8 mem_le_keyboard_handle
+0x4afa mem_le_multimedia_handle
+0x4afc mem_le_systemctrl_handle
+0x4afe mem_le_battery_level_handle
+0x4b00 mem_le_battery_level_percentage
+0x4b01 mem_le_battery_level_updata_timer_init
+0x4b03 mem_le_battery_level_updata_timer
+0x4b05 mem_mouse_le_conn_param_reject
+0x4b06 mem_le_tx_buffer0_omemalloc
+0x4b26 mem_le_tx_buffer1_omemalloc
+0x4b46 mem_le_tx_buffer2_omemalloc
+0x4b66 mem_le_tx_buffer3_omemalloc
+0x4b86 mem_le_connect_status_flag
+0x4b87 mem_le_start_encrypt_timer
+0x4b88 mem_mouse_direct_timer
+0x4b89 mem_device_addr_temp
+0x4b90 mem_mouse_enter_sniff_count
+0x4b91 mem_mouse_bt_boot_mode
+0x4b92 mem_mouse_bt_boot_data
+0x4b97 mem_bt_send_max_slot_req_accept_after_switch
+0x4b98 mem_mouse_bt_send_first_package_timer
+0x4b99 mem_mouse_bt_send_first_package_flag
+0x4b9a mem_lmi_opcode_temp
+0x4b9b mem_lpm_mult_init
+0x4b9c mem_customer_key
+0x4b9d mem_customer_data_trigger
+0x4b9e mem_customer_data_trigger_last
+0x4b9f mem_mouse_lkey_press_status
+0x4ba0 mem_mouse_rkey_press_status
+0x4ba1 mem_mouse_mkey_press_status
+0x4ba2 mem_mouse_bkkey_press_status
+0x4ba3 mem_mouse_fwkey_press_status
+0x4ba4 mem_mouse_dpikey_press_status
+0x4ba5 mem_mouse_pbkey_press_status
+0x4ba6 mem_mouse_customerkey_press_status
+0x4ba7 mem_mouse_key_temp
+0x4ba8 mem_mouse_key_status
+0x4ba9 mem_mouse_matrix_key_cow_count
+0x4baa mem_mouse_matrix_key_row_count
+0x4bab mem_mouse_ghost_flag
+0x4bac mem_bt_discovery_count
+0x4bad mem_select_device_count
+0x4bae mem_mouse_commbination_key
+0x4baf mem_select_device_button_statue
+0x4bb0 mem_commbination_key_statue
+0x4bb1 mem_combination_ui_button_count
+0x4bb2 mem_mouse_search_dongle_interval
+0x4bb3 mem_mouse_search_dongle_ch
+0x4bb4 mem_mouse_search_dongle_count
+0x4bb5 mem_mouse_search_dongle_action
+0x4bb6 mem_24g_enter_lpm_timer
+0x4bb7 mem_mouse_24g_enter_lpm_enable
+0x4bb8 mem_mouse_device_poweron_timer_count
+0x4bb9 mem_mouse_dpi_led_delay_count
+0x4bba mem_mouse_led_off_4_led
+0x4bbb mem_24g_device_led_status
+0x4bbc mem_mouse_flag
+0x4bc4 mem_mouse_bluetooth_type
+0x4bc5 mem_device_number
+0x4bc6 mem_mouse_page_to
+0x4bc8 mem_mouse_fast_direct_timeout
+0x4bc9 mem_mouse_fast_page_to
+0x4bcb mem_mouse_24g_power_on_fast_conn_timer
+0x4bcd mem_mouse_24g_search_dongle_time_init
+0x4bcf mem_mouse_no_data_timeout
+0x4bd1 mem_mouse_device_poweron_timer_count_init
+0x4bd2 mem_mouse_dpi_led_delay_count_init
+0x4bd3 mem_mouse_dpi_led_blink_time
+0x4bd5 mem_mouse_disconvey_led_blink_time
+0x4bd7 mem_mouse_low_v_led_blink_time
+0x4bd9 mem_adc_low_volatage_led_blink_timer
+0x4bdb mem_mouse_commbination_key_bt
+0x4bdc mem_mouse_commbination_key_24g
+0x4bdd mem_customer_key_press
+0x4be6 mem_customer_key_release
+0x4bef mem_mouse_set_high_impedance_bit_set
+0x4bf2 mem_sensor_shutdown_flag
+0x4bf3 mem_24g_long_sleep_set_level
+0x48d4 mem_remote_car_hard_soft_switch
+0x48d5 mem_remote_car_queue_each_size
+0x48d6 mem_remote_car_queue_length
+0x48d7 mem_remote_car_queue_curr_num
+0x48d8 mem_remote_car_queue_read_ptr
+0x48d9 mem_remote_car_queue_write_ptr
+0x48da mem_remote_car_queue_ele
+0x4934 mem_remote_style_led_type
+0x4935 mem_remote_style_blink_count
+0x4936 mem_remote_style_struct_led_gpio
+0x4937 mem_remote_style_on_time
+0x4939 mem_remote_style_off_time
+0x493b mem_remote_style_cb_ledon
+0x493d mem_remote_style_cb_ledoff
+0x493f mem_remote_car_led_num
+0x4940 mem_remote_car_led_map
+0x4948 mem_remote_car_keyscan
+0x4948 mem_remote_car_key_num
+0x4949 mem_cb_remote_car_keyscan
+0x494b mem_remote_car_key_conf0
+0x494b mem_remote_car_key_conf0_pin
+0x494c mem_remote_car_key_conf1
+0x494c mem_remote_car_key_conf1_pin
+0x494d mem_remote_car_key_conf2
+0x494d mem_remote_car_key_conf2_pin
+0x494e mem_remote_car_key_conf3
+0x494e mem_remote_car_key_conf3_pin
+0x494f mem_remote_car_key_conf4
+0x494f mem_remote_car_key_conf4_pin
+0x4950 mem_remote_car_key_conf5
+0x4950 mem_remote_car_key_conf5_pin
+0x4951 mem_remote_car_key_conf6
+0x4951 mem_remote_car_key_conf6_pin
+0x4952 mem_rocker_negative_flag
+0x4953 mem_rocker_work_status
+0x4954 mem_current_vdd_value_default_mid_x
+0x4956 mem_current_vdd_value_default_mid_y
+0x4958 mem_current_vdd_value_default_mid_temp
+0x495a mem_current_vdd_default_range
+0x495c mem_rocker_last_status
+0x495e mem_rocker_status
+0x495e mem_rocker_x_status
+0x495f mem_rocker_y_status
+0x4960 mem_remote_car_config_param
+0x4960 mem_remote_car_config_setting_flag
+0x4961 mem_remote_car_config_key_map
+0x4962 mem_remote_car_config_layout
+0x4963 mem_remote_car_config_connect_led_gpio
+0x4964 mem_remote_car_config_check_way
+0x4965 mem_remote_car_config_soft_switch_enable
+0x4966 mem_remote_car_config_soft_switch_gpio
+0x4967 mem_remote_car_config_timeout_shutdown_enable
+0x4968 mem_remote_car_24g_motor_packet
+0x4968 mem_remote_car_24g_motor_packet_lenght
+0x4969 mem_remote_car_24g_motor_send_packet_head
+0x496b mem_remote_car_24g_motor_send_cmd
+0x496c mem_remote_car_24g_motor_send_length
+0x496e mem_remote_car_24g_motor_send_payload
+0x496e mem_remote_car_24g_motor1_payload
+0x4970 mem_remote_car_24g_motor2_payload
+0x4972 mem_remote_car_24g_motor3_payload
+0x4974 mem_remote_car_24g_motor_send_checksum
+0x4975 mem_remote_car_24g_fire_packet
+0x4975 mem_remote_car_24g_fire_packet_lenght
+0x4976 mem_remote_car_24g_fire_send_packet_head
+0x4978 mem_remote_car_24g_fire_send_cmd
+0x4979 mem_remote_car_24g_fire_send_length
+0x497b mem_remote_car_24g_fire_send_payload
+0x497d mem_remote_car_24g_fire_send_checksum
+0x497e mem_remote_car_24g_tx_temp
+0x498d mem_remote_car_no_data_timeout
+0x498f mem_remote_car_no_data_timer
+0x4991 mem_remote_car_soft_power
+0x4991 mem_remote_car_power_state
+0x4992 mem_remote_car_power_timer
+0x4993 mem_remote_car_power_off_timeout
+0x4994 mem_remote_car_power_starting_timeout
+0x4995 mem_remote_car_power_off_cb
+0x4997 mem_remote_car_power_starting_cb
+0x4999 mem_remote_car_power_standby_cb
+0x499b mem_remote_key_status
+0x499c mem_remote_car_24g_status
+0x499d mem_remote_car_24g_auto_work_step
+0x499e mem_remote_car_24g_pair_success_flag
+0x499f mem_remote_car_empty_packet
+0x49a0 mem_remote_car_motor1_key0_press_state
+0x49a1 mem_remote_car_motor1_key1_press_state
+0x49a2 mem_remote_car_motor2_key2_press_state
+0x49a3 mem_remote_car_motor2_key3_press_state
+0x49a4 mem_remote_car_motor1_rel_state
+0x49a5 mem_remote_car_motor2_rel_state
+0x49a6 mem_remote_car_no_data_check
+0x47a7 mem_hci_uart_tx_gpio
+0x47a8 mem_hci_uart_rx_gpio
+0x47a9 mem_hci_uart_rts_gpio
+0x47aa mem_hci_uart_cts_gpio
+0x47ab mem_hci_pwm_12mhz_gpio
+0x47a7 mem_soft_version_num
+0x47a9 mem_module_wake_up_gpio
+0x47aa mem_module_state_gpio
+0x47ab mem_module_connect_state_gpio
+0x47ac mem_current_packet_length
+0x47ae mem_module_state
+0x47af mem_module_mcu_wake_pin
+0x47b0 mem_module_mcu_wake_delay_us
+0x47b4 mem_module_spp_lpm_mult
+0x47b5 mem_module_le_lpm_mult
+0x47b6 mem_module_bluetooth_stauts_by_command
+0x47b7 mem_module_uart_rx_buffer
+0x47b9 mem_module_uart_rx_buffer_end
+0x47bb mem_module_uart_tx_buffer
+0x47bd mem_module_uart_tx_buffer_end
+0x47bf mem_module_uarta_baud_rate
+0x47c1 mem_module_read_vdd_flag
+0x47c2 mem_module_read_vdd_count
+0x47c3 mem_module_vdd_quotient
+0x47c4 mem_module_vdd_remainder
+0x47c5 mem_module_ble_data_uart_max_length
+0x47c6 mem_module_flag
+0x47c8 mem_module_hci_notify_len
+0x47c9 mem_module_hci_notify_handle
+0x47cb mem_module_hci_nofiy_addr
+0x47cd mem_module_hci_notify_type
+0x47ce mem_last_transmite_clock
+0x47d2 mem_module_uuid_list
+0x48fe mem_module_uuid_list_end
+0x48fe mem_module_le_att_list
+0x4b56 mem_module_le_att_list_end
+0x4b56 mem_module_nv_data
+0x4b56 mem_module_nv_data0
+0x4b78 mem_module_nv_data1
+0x4b9a mem_module_nv_data2
+0x4bbc mem_module_nv_data3
+0x4bde mem_module_nv_data4
+0x4c00 mem_module_nv_data_end
+0x47a7 mem_shutter_bluetooth_type
+0x47a8 mem_shutter_config_eeprom_offset_addr
+0x47aa mem_shutter_config_eeprom_start_flag
+0x47ac mem_shutter_config_user_size
+0x47ad mem_shutter_config_label
+0x47ae mem_shutter_config_otp_addr
+0x47b0 mem_classic_shutter_cable_unplug_conut
+0x47b1 mem_classic_shutter_hid_disconn_count
+0x47b2 mem_classic_shutter_random_mac_offset_addr
+0x47b4 mem_ble_shutter_enable_notify
+0x47b5 mem_ble_shutter_reconn_adv_interval
+0x47b7 mem_ble_shutter_discovery_adv_interval
+0x47b9 mem_ble_shutter_reconn_timeout
+0x47bb mem_ble_shutter_reconn_timer
+0x47bd mem_ble_shutter_reconn_blink_on_time
+0x47bf mem_ble_shutter_reconn_blink_off_time
+0x47c1 mem_ble_shutter_discovery_blink_on_time
+0x47c3 mem_ble_shutter_discovery_blink_off_time
+0x47c5 mem_ble_shutter_interval_min
+0x47c7 mem_ble_shutter_interval_max
+0x47c9 mem_ble_shutter_latency
+0x47cb mem_ble_shutter_timeout
+0x47cd mem_ble_shutter_interval_min_new
+0x47cf mem_ble_shutter_interval_max_new
+0x47d1 mem_ble_shutter_latency_new
+0x47d3 mem_ble_shutter_timeout_new
+0x47d5 mem_classic_shutter_discovery_timeout
+0x47d7 mem_classic_shutter_connect_timeout
+0x47d9 mem_ble_shutter_discovery_timeout
+0x47db mem_ble_shutter_connect_timeout
+0x47dd mem_shutter_sleep_timeout
+0x47df mem_shutter_sleep_timer
+0x47e1 mem_shutter_hard_soft_switch_case
+0x47e2 mem_shutter_soft_switch_button_gpio
+0x47e3 mem_shutter_soft_switch_power_state
+0x47e4 mem_shutter_soft_switch_poweron_time
+0x47e5 mem_shutter_soft_switch_poweroff_time
+0x47e6 mem_shutter_soft_switch_poweron_callback_function
+0x47e8 mem_shutter_soft_switch_poweroff_callback_function
+0x47ea mem_shutter_keyscan
+0x47ea mem_shutter_key_num
+0x47eb mem_cb_shutter_keycan
+0x47ed mem_shutter_key_conf0
+0x47ee mem_shutter_key_conf1
+0x47ef mem_shutter_key_conf2
+0x47f0 mem_shutter_key_conf3
+0x47f1 mem_shutter_key_conf4
+0x47f2 mem_shutter_key_conf5
+0x47f3 mem_shutter_key_conf6
+0x47f4 mem_shutter_key_conf7
+0x47f5 mem_key0_press
+0x47fa mem_key1_press
+0x47ff mem_key2_press
+0x4804 mem_key3_press
+0x4809 mem_key4_press
+0x480e mem_key5_press
+0x4813 mem_key6_press
+0x4818 mem_key7_press
+0x481d mem_key0_release
+0x4822 mem_key1_release
+0x4827 mem_key2_release
+0x482c mem_key3_release
+0x4831 mem_key4_release
+0x4836 mem_key5_release
+0x483b mem_key6_release
+0x4840 mem_key7_release
+0x4845 mem_ble_data_buffer1
+0x484a mem_ble_data_buffer2
+0x484f mem_ble_data_buffer3
+0x4854 mem_ble_data_buffer4
+0x4859 mem_ble_data_buffer5
+0x485e mem_ble_data_buffer6
+0x4863 mem_ble_data_buffer7
+0x4868 mem_ble_data_buffer8
+0x486d mem_ble_data_buffer9_58
+0x489f mem_classic_data_buffer
+0x48a4 mem_classic_data_buffer1
+0x48a9 mem_classic_data_buffer2
+0x48ae mem_classic_data_buffer3
+0x48b3 mem_classic_data_buffer4
+0x48b8 mem_classic_data_buffer5
+0x48bd mem_classic_data_buffer6
+0x48c2 mem_classic_data_buffer7
+0x48c7 mem_classic_data_buffer8
+0x48cc mem_classic_data_buffer9_58
+0x48fe mem_queue_each_size
+0x48ff mem_queue_length
+0x4900 mem_queue_curr_num
+0x4901 mem_queue_read_ptr
+0x4902 mem_queue_write_ptr
+0x4903 mem_queue_ele
+0x4923 mem_shutter_nv_data
+0x49cd mem_shutter_led_struct_app_led
+0x49cd mem_shutter_led_struct_app_led_type
+0x49ce mem_shutter_led_struct_app_led_blink_count
+0x49cf mem_shutter_led_struct_app_led_gpio
+0x49d0 mem_shutter_led_struct_app_led_on_time
+0x49d2 mem_shutter_led_struct_app_led_off_time
+0x49d4 mem_shutter_led_struct_app_led_on_callback
+0x49d6 mem_shutter_led_struct_app_led_off_callback
+0x49d8 mem_shutter_power_off_led_style
+0x49d8 mem_shutter_power_off_led_style_type
+0x49d9 mem_shutter_power_off_led_style_blink_count
+0x49da mem_shutter_power_off_led_style_gpio
+0x49db mem_shutter_power_off_led_style_on_time
+0x49dd mem_shutter_power_off_led_style_off_time
+0x49df mem_shutter_power_off_led_style_on_callback
+0x49e1 mem_shutter_power_off_led_style_off_callback
+0x49e3 mem_shutter_soft_swtich_botton_down
+0x49e4 mem_shutter_soft_swtich_led_struct_temp
+0x49ef mem_shutter_power_off_timeout
+0x49f0 mem_shutter_power_off_timer
+0x49f1 mem_shutter_key_conf0_temp
+0x49f3 mem_shutter_led_struct_app_led_gpio_temp
+0x49f4 mem_shutter_hard_soft_switch_case_temp
+0x49f5 mem_shutter_soft_switch_button_gpio_temp
+0x49f6 mem_shutter_le_name_len
+0x49f7 mem_shutter_le_name
+
+0x4b61 mem_mesh_unsegmented_access_lower_transport_layer_head
+0x4b62 mem_mesh_unsegmented_access_lower_transport_layer_parameters
+0x4b6d mem_mesh_unsegmented_access_lower_transport_layer_mic
+0x4b61 mem_mesh_segmented_access_lower_transport_layer_head
+0x4b62 mem_mesh_segmented_access_lower_transport_layer_SZMIC_SeqZero_SegO_SegN
+0x4b65 mem_mesh_segmented_access_lower_transport_layer_parameters
+0x4b6d mem_mesh_segmented_access_lower_transport_layer_mic
+0x48e5 mem_k2_EncryptionKey
+0x48d5 mem_k2_PrivacyKey
+
+	width = 32
+	const length = 12000
+
+	
+
+
+
+
+
+(//mem_system_clk
+12 SYSTEM_CLK_12M
+24 SYSTEM_CLK_24M
+)
+
+(//bluetooth tx power
+0x00 TX_POWER_0DB
+0x03 TX_POWER_3DB
+0x05 TX_POWER_5DB
+0x06 TX_POWER_6DB
+0x07 TX_POWER_7DB
+0x0a TX_POWER_10DB
+
+0x83 TX_POWER_F3DB
+0x85 TX_POWER_F5DB
+0x94 TX_POWER_F20DB
+0x9e TX_POWER_F30DB
+)
+
+
+	
+(
+0x01 coffset_mode
+0x02 coffset_tsniff
+0x04 coffset_sniff_anchor
+0x08 coffset_clk_offset
+0x0e coffset_rx_window
+0x10 coffset_plap
+0x16 coffset_conn_handle
+0x17 coffset_arq
+	
+0x18 coffset_lmp_to_send
+0x1b coffset_op
+0x1c coffset_state_map
+	
+0x18 coffset_le_ch
+0x19 coffset_le_hop
+0x1a coffset_le_event_cnt
+0x1c coffset_le_supervision_timer
+0x20 coffset_le_instant
+0x22 coffset_le_channels
+0x23 coffset_le_op
+0x24 coffset_le_access
+0x28 coffset_le_crcinit
+0x2b coffset_le_window_size
+0x2c coffset_le_slave_latency
+0x2e coffset_le_slave_superto
+0x30 coffset_le_channel_map
+0x35 coffset_le_rx_phy
+0x36 coffset_le_tx_phy
+0x37 coffset_le_new_map
+0x37 coffset_le_new_m2s_phy
+0x38 coffset_le_new_s2m_phy
+0x37 coffest_le_new_transmitwindowsize
+0x38 coffest_le_new_transmitwindowoffset
+0x3a coffest_le_new_conninterval
+0x3c coffest_le_new_connslavelatency
+0x3e coffest_le_new_connsupervisiontimeout
+0x40 coffset_le_sk
+0x50 coffset_le_peer_sca
+0x53 coffset_le_transmit_window
+	
+88 context_size
+1 context_num
+)
+
+(
+0 lpm_flag_wake
+1 lpm_flag_loadcode
+)
+
+
+(
+0x0050 param_newconn_arq
+0x0007 param_esco_addr
+0x0010 param_conn_handle
+0x01f0 param_conn_handle_comp
+0x0020 param_newconnto
+0x0008 param_pagerespto
+0x0a00 param_snooze_setup_orig
+0x5353 param_snooze_ahead_orig
+0x00ff param_ninquiry
+0x2000 param_page_to
+0x0005 param_max_slot
+0x0010 param_sco_poll
+
+
+
+0x0e43 param_tx_setup
+0x0600 param_rf_setup
+0x0600 param_conn_access 
+0x03bb param_clke_cal
+0x0500 param_pll_setup		// 120 is minimum
+0x0d00 param_rx_setup	// 114us before sync
+2000 param_dpll_start_delay
+3750 param_rt_rthalfslot
+
+480 param_clke_cal_le_1m	//preamble(1B) & access address(4B) time (1+4)*8*1 * 12
+288 	param_clke_cal_le_2m	//preamble(2B) & access address(4B) time (1+4)*8*1 * 12
+282 param_clke_cal_le_coded	//preamble(80us) & access address(256us)-312.5us(0.5slot)
+
+110 param_lpm_fix
+10 param_lpo_extra
+200 param_lpm_adjmax
+
+-1 param_hibernate_clks
+3000 param_chgpump_delay
+
+3 param_featrue_ssp
+0x0101 param_lmpext_ssp_enable
+30   param_sco_pktlen
+1     param_acl_pktcnt		
+7     param_sco_pktcnt
+
+
+0x8fffff param_features0
+0x9d83fe param_features1  // not support afh
+0x8359     param_features2
+0x000033 param_unap
+0x001177 param_lap
+0x9e8b33 param_glap
+0x002540 param_class//0x180208 //0x002580//402500//240404
+0x000a04 param_lmp_version//0x0a04
+0x000a06 param_lmp_version0
+0x12e9 param_lmp_subversion
+0x0012 param_tisw
+0x0012 param_tpsw
+0x1000 param_tisi
+0x0800 param_tpsi
+0x0020 param_page_window
+0x0020 param_inq_window
+0x1c80 param_supervision_to
+39 param_fcomp_div
+2 param_fcomp_mul
+6     param_name_len
+0x535442 param_name
+0x344950 param_name1
+
+
+)
+
+
+(
+0x0      type_null    
+0x1      type_poll   
+0x2      type_fhs    
+0x3      type_dm1    
+0x4      type_dh1    
+0x5      type_hv1    
+0x6      type_hv2    
+0x7      type_hv3    
+0x8      type_3dh1     
+0x9      type_aux1   
+0xa      type_dm3    
+0xb      type_dh3    
+0xe      type_dm5    
+0xf      type_dh5    
+0x10     type_id
+0x11     type_shutdown
+0x13     type_lmp
+)
+
+
+(
+0        always        
+1        true          
+2        positive      
+3        timeout       
+5        zero          
+6        crc_failed    
+7        enable_white  
+8        enable_parity 
+9        enable_crc    
+10       enable_hec    
+11       decode_fec1   
+12       decode_fec2   
+13       decode_fec0   
+14       encrypt       
+15       crc16       
+16       swfine	
+20       rqst_freq    
+21       recalc        
+22       init_encrypt  
+23       mhalfbnd    
+24       sync          
+25       user10    
+26       kc_p_activate  
+27       encode_fec1   
+28       encode_fec2   
+29       encode_fec0   
+30       packet_end    
+32       is_tx         
+33       is_rx         
+34       halfslot     
+35       oneslot      
+36       mslotbnd     
+37       expire       
+38       meet         
+39       tx_clear     
+40       user         
+41       master        
+42       slave2         
+43       wake           
+44       user2        
+45       match         
+46       attempt        
+47       user3          
+48       clknt         
+49	   user7 	
+50       synchronize   
+51       lpo_edge  
+52       blank         
+53       modone          
+54       le		
+55       aes_ready	
+56       encode_fec3   
+57       dewhiten_code_calc   
+58       lr_s2en       
+60	   ble_coded_info	//1:s2 0:s8
+63       never         
+)
+
+default flag = always
+
+
+(
+0        mark   
+1        type   
+2        temp   
+3        contu  
+3	 contru	
+3	 contwu	
+4        am_addr      
+5        contw        
+6        contr        
+7        queue    
+8        debug    
+9        access   
+10       contus   
+11       timeup        
+12       pwindow       
+13       fhs_parity    
+14       white_init    
+15       crc24_init        
+16       contue    
+17       rega          
+18       regb          
+19       regc          
+20       regab         
+21       radio_ctrl   
+
+23       freq_index   
+24       regd    
+25       clkn              
+26       clke              
+27       stop_watch		
+28       fhs_misc   
+29       fhs_class  
+30       fhs0   
+31       fhs1   
+32       bt_adr 
+33       bt_clk 
+34       clkn_bt  
+35       clkn_rt  
+36       freq_mode
+37       xin   
+38       N_tx_slot 
+39 	   auxcnt
+40       clke_bt  
+41       clke_rt  
+42       branch_addr	
+43       rege         
+44       lap
+45       uap
+46       nap         
+47       regext		
+48       alarm             
+49       lpo_time          
+50       kc_ls             
+51       kc_ms             
+52       g1l               
+53		mask3ff		
+54       aes_ctrl		
+55       regf			
+56       regext_index   
+57	     loopcnt
+58      stack			
+59       stack_ptr		
+61         pc 
+62       null              
+63       pdata 
+)
+default reg = pdata
+
+
+(
+0 regidx_data
+4 regidx_key
+8 regidx_xor
+12 regidx_result
+)
+
+(
+0 TXGFSK
+1 PSK
+2 PSK3M
+3 RESET
+)
+
+
+
+
+
+
+
+
+
+
+
+(
+0 bucket
+1 rxf
+2 back
+3 mod
+)
+default dest = bucket
+
+
+(
+1 txf
+3 demod
+)
+default source = 0
+
+
+
+(
+0  mark_fhs_eir  
+1  mark_rxbuf_inuse
+2  mark_tx_l2cap
+3  mark_switch_initiated
+4  mark_accept_switch
+5  mark_loopback
+7  mark_esco
+8  mark_esco_rxok
+9  mark_context
+10 mark_am_addr_broadcast
+11 mark_fhs_already_good
+12 mark_page_trainb
+13 mark_lpm_mult_enable
+14 mark_usb_first_resp
+15 mark_old_packet
+16 mark_longpacket
+17 mark_testmode
+18 mark_ar2
+28 mark_inquiry_on
+29 mark_inquiry_state
+30 mark_inquiry_trainb
+31 mark_periodical_diac
+32 mark_all_diac
+33 mark_slave_in_rand_accepted
+34 mark_reconn_recieve_switch
+35 mark_isstr
+36 mark_loadcode
+37 mark_ext_patch
+38 mark_24g
+39 mark_24g_rxmode
+40 mark_eeprom_size
+41 mark_ble_tx_md
+42 mark_ble_rx_md
+43 mark_otp_encrypt
+44 mark_temp
+45 mark_ble_2M
+46 mark_ble_lr_s8
+47 mark_ble_lr
+48 mark_ble_crc_fail
+49 mark_role_switch_receive_fhs
+50 mark_ble_encryption
+51 mark_first_packet
+)
+
+(
+1 reload_type_otp
+2 reload_type_spi
+3 reload_type_iic
+)
+
+
+
+(
+0 le_adv_interval_timer
+1 inquiry_length_timer
+2 le_scan_interval_timer
+3 page_length_timer
+4 iscan_interval_timer
+5 pscan_interval_timer
+6 switch_wait_timer
+7 enpt_delay_timer
+8 page_interval_timer
+9 key_scan_timer
+10 smp_pairing_timer
+11  ui_led_blink   //led timer 可扩展
+12  ui_led_blink1
+13 ui_led_blink2
+
+//不使用mesh应用可以复用
+//Tiny Mesh 广播APP回复
+13 mesh_ble_adv_app
+//Tiny Mesh广播tmall回复
+14 mesh_ble_adv_tmall
+//Tiny Mesh relay
+15 mesh_ble_relay_timer
+
+)
+
+(
+1 hci_cmd_inquiry
+2 hci_cmd_inquiry_cancel
+3 hci_cmd_remote_name_req
+4 hci_cmd_remote_feature_req
+5 hci_cmd_create_conn
+6 hci_cmd_disconn
+7 hci_cmd_accept_conn
+8 hci_cmd_reject_conn
+9 hci_cmd_pair
+10 hci_cmd_nopair
+11 hci_cmd_linkkey
+12 hci_cmd_nokey
+13 hci_cmd_auth
+14 hci_cmd_stopencrypt
+15 hci_cmd_startencrypt
+16 hci_cmd_setup_sco
+17 hci_cmd_disconn_sco
+18 hci_cmd_in_sniff
+19 hci_cmd_exit_sniff
+20 hci_cmd_remote_version_req
+21 hci_cmd_remote_ext_features_req
+22 hci_cmd_io_cap
+23 hci_cmd_role_discovery
+24 hci_cmd_role_switch
+25 hci_cmd_accept_with_switch
+26 hci_cmd_detach
+27 hci_cmd_le_create_conn
+28 hci_cmd_accept_sco_conn
+29 hci_cmd_le_disconn
+30 hci_cmd_le_att_req
+80 hci_cmd_wait_remote_feature
+81 hci_cmd_wait_remote_ext_feature
+82 hci_cmd_wait_remote_name
+)
+
+
+
+
+(
+0 debug_neg_skew
+1 debug_bitbucket
+2 debug_dont_clear_got_tx
+3 debug_scatter_enabled
+4 debug_tx_fixed_freq
+5 debug_rx_fixed_freq
+6 debug_tx_pattern
+)
+
+
+(
+0 tester_fixed_flow
+1 tester_fixed_flow_polarity
+2 tester_change
+3 tester_exit
+4 tester_pattern_test
+5 tester_whitening_change
+6 tester_fixed_freq
+7 tester_no_whitening
+)
+
+
+(
+0 mode_le
+1 mode_master
+2 afh_enable
+3 afh_change
+4 first_seqnx
+)
+
+
+(
+0 smap_lmptidinit
+1 smap_lmptid
+2 smap_encryption
+3 smap_name_res
+4 smap_name_req
+5 smap_edr
+6 smap_rxlmp
+7 smap_rxl2cap
+)
+(
+0 state_inconn
+1 state_insniff
+2 state_insco 
+3 state_inpage
+4 state_conn_comp
+5 state_init_seq
+6 state_combkey
+7 state_linkkey
+)
+(
+0 op_send_sres
+1 op_auth_req
+2 op_inrand_req
+3 op_disconn
+4 op_stop_enc
+5 op_start_enc
+6 op_txl2cap
+7 op_pkt_comp
+)
+
+
+
+(
+0 flow
+1 arqn
+2 seqn
+3 wack
+4 flowx              
+5 arqnx              
+6 seqnx              
+7 bcast1             
+)
+
+
+
+
+ 
+
+
+
+ 
+
+ 
+
+(
+0 AFH_CFG_ON
+1 AFH_CFG_TIMER
+2 send_lmp_set_afh
+3 AFH_CFG_REPORT_MODE
+4 AFH_CFG_MASTER_SENT_REQ
+)
+
+
+(	
+1 LLID_L2CAP_CONT
+2 LLID_L2CAP_START
+3 LLID_LMP
+)
+
+
+(
+0  master_in_idle
+1  master_in_inquiry
+2  master_in_page
+10 master_in_becoming_slave
+15 master_in_conn
+)
+(
+0 newrev_feature_bettx
+1 newrev_feature_betplltx
+2 newrev_feature_skip_retransmit
+3 newrev_feature_init_radio_after_sleep
+4 newrev_feature_no_lpolog
+)
+
+(
+0 pincode_state_ilde
+1 pincode_state_wait_pincode
+2 pincode_state_pincode_ready
+)
+
+
+// lpm_write
+(
+1 lpmreg_sel_ctrl
+2 lpmreg_sel_ctrl2
+4 lpmreg_sel_gpiolow
+8 lpmreg_sel_gpiohigh
+16 lpmreg_sel_counter
+32 lpmreg_sel_ctrl3
+)
+
+// lpm_write2
+(
+0x02 lpmreg_sel_option
+)
+
+(
+8 lpmreg_spi_lock_bit
+9 lpmreg_spi2_lock_bit
+0x0a lpmreg_uart_lock_bit
+0x0b lpmreg_uartb_lock_bit
+0x0c lpmreg_iic_lock_bit
+0x0d lpmreg_rom_lock_bit
+0x0e lpmreg_ice_mode_bit
+
+0x01 lpmreg_spi_lock
+0x02 lpmreg_spi2_lock
+0x04 lpmreg_uart_lock
+0x08 lpmreg_uartb_lock
+0x10 lpmreg_iic_lock
+0x20 lpmreg_rom_lock
+0x40 lpmreg_ice_mode
+)
+
+
+
+//scan_mode
+(
+0 inq_scan_mode
+1 page_scan_mode
+2 page_inq_enable
+)
+//mem_neogotiation_state
+(
+ 0 default_neogotiation_state
+ 1 prarm_neogotiation
+)
+
+//mem_lpm_wake_lock
+(
+0 wake_lock_ble_rx
+1 wake_lock_ble_tx
+
+3 wake_lock_key_press
+4 wake_lock_ble_tx_patch
+5 wake_lock_uart_tx
+6 wake_lock_uart_rx
+7 wake_lock_button
+8 wake_lock_cmd
+9 wake_lock_app
+10 wake_lock_lmp_tx
+11 wake_lock_lmp_rx
+12 wake_lock_l2cap_tx
+13 wake_lock_l2cap_rx
+14 wake_lock_ipc_c512bt
+15 wake_lock_ipc_bt2c51
+
+)
+
+(//mem_fcomp_div
+0x18 XTAL_24M
+0x08 XTAL_16M
+)
+
+( //verion
+6 BLUETOOTH_CORE_SPECIFICATION_4_0
+7 BLUETOOTH_CORE_SPECIFICATION_4_1
+8 BLUETOOTH_CORE_SPECIFICATION_4_2
+9 BLUETOOTH_CORE_SPECIFICATION_5_0
+10 BLUETOOTH_CORE_SPECIFICATION_5_1
+)
+
+(
+0x050e COMPANY_ID_YICHIP
+)
+
+(
+0x33  REC_3_MODE
+0x34  REC_4_MODE
+0x35  REC_4_MODE_STATIC_ADDRESS
+0x36  REC_4_MODE_RANDOM_RESOLVABLE_PRIVATE_ADDRESS
+0x37  REC_4_MODE_RANDOM_NON_RESOLVABLE_PRIVATE_ADDRESS
+)
+
+
+//sniff UART_TX UART_RX
+(
+6 UART_WAKEUP_TX
+7 UART_WAKEUP_RX
+)
+
+
+
+
+
+
+
+
+
+
+(//mem_le_T_IFS
+150 PARAM_T_IFS_150US
+20000 PARAM_20MS_INIT
+-13 PARAM_SYNC_TIME_DIFFERENCE
+40 PARAM_CODED_C1_TERM1_TIME_40US
+1666 PARAM_WINDOWN_SIZE
+//T_IFS = 150-modem(CRC time)
+)
+
+
+(
+0 DEFAULT_STATES
+1 IPHONE_LOST_LTK
+2 MODULE_LOST_LTK
+3 LTK_NOT_LOST
+)
+
+	//BLE ErrorCodes
+	(    
+	0x01 ERROR_UNKNOWN_HCI_COMMAND
+	0x02 ERROR_NO_CONNECTION
+	0x03 ERROR_HARDWARE_FAILURE
+	0x04 ERROR_PAGE_TIMEOUT
+	0x05 ERROR_AUTHENTICATION_FAILURE
+	0x06 ERROR_KEY_MISSING
+	0x07 ERROR_MEMORY_FULL
+	0x08 ERROR_CONNECTION_TIMEOUT
+	0x09 ERROR_MAX_CONNECTIONS
+	0x0A ERROR_MAX_SCO_CONNECTIONS
+	0x0B ERROR_MAX_ACL_CONNECTIONS
+	0x0C ERROR_COMMAND_DISALLOWED
+	0x0D ERROR_HOST_REJECT_LIMITED_RESOURCES
+	0x0E ERROR_HOST_REJECT_SECURITY_REASONS
+	0x0F ERROR_HOST_REJECT_REMOTE_IS_ONLY_PERSONAL
+	0x10 ERROR_HOST_TIMEOUT
+	0x11 ERROR_UNSUPPORTED_FEATURE_OR_PARAMETER_VALUE
+	0x12 ERROR_INVALID_HCI_COMMAND_PARAMETERS
+	0x13 ERROR_REMOTE_USER_TERMINATED_CONNECTION
+	0x14 ERROR_REMOTE_LOW_RESOURCES
+	0x15 ERROR_REMOTE_POWERING_OFF
+	0x16 ERROR_CONNECTION_TERMINATED_BY_LOCAL_HOST
+	0x17 ERROR_REPEATED_ATTEMPTS
+	0x18 ERROR_PAIRING_NOT_ALLOWED
+	0x19 ERROR_UNKNOWN_LMP_PDU
+	0x1A ERROR_UNSUPPORTED_REMOTE_FEATURE
+	0x1B ERROR_SCO_OFFSET_REJECTED
+	0x1C ERROR_SCO_INTERVAL_REJECTED
+	0x1D ERROR_SCO_AIR_MODE_REJECTED
+	0x1E ERROR_INVALID_LMP_PARAMETER
+	0x1F ERROR_UNSPECIFIED_ERROR
+	0x20 ERROR_UNSUPPORTED_LMP_PARAMETER_VALUE
+	0x21 ERROR_ROLE_CHANGE_NOT_ALLOWD
+	0x22 ERROR_LMP_RESPONSE_TIMEOUT
+	0x23 ERROR_ERROR_TRANSACTION_COLLISION
+	0x24 ERROR_LMP_PDU_NOT_ALLOWED
+	0x25 ERROR_ENCRYPTION_MODE_NOT_ACCEPTABLE
+	0x26 ERROR_UNIT_KEY_USED
+	0x27 ERROR_QOS_NOT_SUPPORTED
+	0x28 ERROR_INSTANT_PASSED
+	0x29 ERROR_PAIRING_W_UNIT_KEY_NOT_SUPPORTED
+	0x2a ERROR_DIFFERENT_TRANSACTION_COLLISION
+	0x2c ERROR_QOS_UNACCEPTABLE_PARAMETER
+	0x2d ERROR_QOS_REJECTED
+	0x2e ERROR_CHANNEL_CLASSIFICATION_NOT_SUPPORTED
+	0x2f ERROR_INSUFFICIENT_SECURITY
+	0x30 ERROR_PARAMETER_OUT_OF_MANDATORY_PANGE
+	0x32 ERROR_ROLE_SWITCH_PENDING
+	0x34 ERROR_RESERVED_SLOT_VIOLATION
+	0x35 ERROR_ROLE_SWITCH_FAILED
+	0x36 ERROR_EXTENDED_INQUIRY_RESPONSE_TOO_LARGE
+	0x37 ERROR_SIMPLE_PAIRING_NOT_SUPPORTED_BY_HOST
+	0x38 ERROR_HOST_BUSY_PAIRING
+	0x3d ERROR_MIC_FAILURE
+	)
+
+
+	//modified_name
+	(
+	0X20 SPACE	
+	)
+	
+	(
+	0x0004 LE_L2CAP_CID_ATT
+	0x0005 LE_L2CAP_CID_SIGNAL
+	0x0006 LE_L2CAP_CID_SMP
+	)
+
+	//LE address type
+	(
+	0 LE_ADDR_TYPE_PUBLIC
+	1 LE_ADDR_TYPE_RANDOM
+	)
+	//LE address type bitmap
+	(
+	7 LE_RECEIVER_ADDR_BIT
+	6 LE_SENDER_ADDR_BIT
+	)
+	//LE SCAN TYPE
+	(
+	0x00 LE_SCAN_TYPE_PASSIVE //no SCAN_REQ shall be sent
+	0x01 LE_SCAN_TYPE_ACTIVE
+	)
+
+	//LE SCAN ENABLE
+	(
+	0x00 LE_SCAN_DISABLE
+	0x01 LE_SCAN_ENABLE
+	0x0101 LE_ACTIVE_SCAN_ENABLE
+	)
+
+	//LE FIND INFORMATION RESPONSE
+	//THE FORMAT OF THE INFORMATION DATA
+	(
+	0x01 UUID_SIZE_16BIT
+	0x02 UUID_SIZE_128BIT
+	)
+
+//	le_state_map 0-2 is reserved for state_inconn,state_insniff and state_sco
+(
+3 lestate_got_first_packet
+4 lestate_encryption
+5 lestate_update_param
+6 lestate_update_map
+7 lestate_update_phy
+)
+
+// 	le mode
+(
+0 lemode_idle
+1 lemode_slave
+3 lemode_master
+0x20 lemode_2m
+0x40 lemode_lr_s2
+0xc0 lemode_lr_s8
+)
+
+(
+0 llid0
+1 llid1
+2 nesn
+3 sn
+4 md
+5 wak
+6 txdat
+)
+
+(
+0x01 LLID_CONTINUE
+0x02 LLID_START
+0x03 LLID_LE_LL
+0x01 LLID_EMPTY
+)
+
+(
+4 LE_TX_BUFF_COUNT
+3 LE_TX_BUFF_UPDATE_LOOPCNT //LE_TX_BUFF_COUNT-1
+
+12 LE_MD_MAX_COUNT
+)
+
+
+(
+0 LE_INITATOR_LTK_BIT
+1 LE_INITATOR_IRK_BIT
+2 LE_INITATOR_CSRK_BIT
+)
+
+
+
+
+
+(
+0  LE_FIND_BY_TYPE_VAL_RES_NOT_FOUND
+1  LE_FIND_BY_TYPE_VAL_RES_FOUND_STARTING_HANDLE
+2  LE_FIND_BY_TYPE_VAL_RES_FOUND_ENDING_HANDLE
+
+)
+
+(
+0 MASTER_PUBLIC_ADDR
+1 MASTER_RANDOM_ADDR
+)
+
+(
+0x06 LE_ERR_PIN_OR_KEY_MISSING
+)
+
+(
+39 LE_CCM_DIRECTIONBIT
+)
+(
+36 BR_CCM_0_LENGTH_CONTINUATION
+37 BR_CCM_DIRECTIONBIT
+)
+
+(
+96000 TIMER_SMP_PAIRING_TIMEOUT //30S
+)
+
+
+
+//mem_le_enc_state
+(
+0 FLAG_LE_ENC_NULL
+1 FLAG_LE_RCV_ENC_START
+2 FLAG_LE_ENC_PAUSE
+3 FLAG_LE_RCV_START_ENC_RSP
+4 FLAG_LE_SEND_START_ENC_RSP
+5 FLAG_LE_SEND_START_ENC_REQ
+0xff FLAG_LE_ENC_END
+)
+
+(//mem_le_configuration
+//bit0:use fixed key , ble passkey pairing
+0 BIT_BLE_PASSKEY_FIXED_KEY
+//bit1:ble pairing use fixed long term key
+1 BIT_BLE_PAIRING_FIXED_LTK
+//bit2:ble transmit packet will set more data flag
+2 BIT_BLE_TRANSMIT_PACKET_BY_MD
+//bit3:master read handle, with requires an authenticated link
+3 BIT_BLE_READ_AUTH
+//bit4:master write handle, with requires an authenticated link
+4 BIT_BLE_WRITE_AUTH
+//bit5:cannot enter long sleep
+5 BIT_BLE_SHORT_MULT
+//bit6:DEAL baseband packet
+6 BIT_BLE_DEAL_BB_PACKET
+)
+
+
+
+
+
+
+(
+0x01	GAP_ADTYPE_FLAGS
+0x02	GAP_ADTYPE_16BIT_MORE
+0x03	GAP_ADTYPE_16BIT_COMPLETE
+0x04	GAP_ADTYPE_32BIT_MORE
+0x05	GAP_ADTYPE_32BIT_COMPLETE
+0x06	GAP_ADTYPE_128BIT_MORE
+0x07	GAP_ADTYPE_128BIT_COMPLETE
+0x08	GAP_ADTYPE_LOCAL_NAME_SHORT
+0x09	GAP_ADTYPE_LOCAL_NAME_COMPLETE
+0x0a	GAP_ADTYPE_POWER_LEVEL
+0x16	GAP_ADTYPE_SERVICE_DATA
+0x2a	GAP_ADTYPE_MESH_MESSAGE
+0x2b 	GAP_ADTYPE_MESH_BEACON
+0xff	GAP_ADTYPE_MANUFACTURER_SPECIFIC
+)
+
+
+(
+0 ADV_IND
+1 ADV_DIRECT_IND
+2 ADV_NONCONN_IND
+3 SCAN_REQ
+3 AUX_SCAN_REQ
+4 SCAN_RSP
+5 CONNECT_REQ
+5 AUX_CONNECT_REQ
+6 ADV_SCAN_IND
+)
+
+(
+0 BIT_ADV_CHANNEL_MAP_37
+1 BIT_ADV_CHANNEL_MAP_38
+2 BIT_ADV_CHANNEL_MAP_39
+)
+
+(
+0xa0 param_le_sca
+)
+
+
+
+
+
+
+
+
+
+
+(//bit of mem_le_l2cap_att_states
+0 BLE_L2CAP_SEND_INDICATION_PACKET
+0 BLE_L2CAP_RECV_CONFIRMATION_PACKET
+1 BLE_L2CAP_DEAL_WITH_CONTINUE_PACKET
+)
+
+(//bit map of att handle
+14 BIT_OF_ATT_HANDLE_READ_AUTHENTICATED
+15 BIT_OF_ATT_HANDLE_WRITE_AUTHENTICATED
+)
+
+
+
+(
+0 BIT_CHARACTERISTIC_BROADCAST
+1 BIT_CHARACTERISTIC_READ
+2 BIT_CHARACTERISTIC_WRITE_WITHOUT_RESPONSE
+3 BIT_CHARACTERISTIC_WRITE
+4 BIT_CHARACTERISTIC_NOTIFY
+5 BIT_CHARACTERISTIC_INDICATE
+6 BIT_CHARACTERISTIC_SIGNED_WRITE
+7 BIT_CHARACTERISTIC_EXTENDED_PROPERTIES
+)
+
+
+(
+0x01 ATTOP_ERROR_RESPONSE
+0x02 ATTOP_EXCHANGE_MTU_REQUEST
+0x03 ATTOP_EXCHANGE_MTU_RESPONSE
+0x04 ATTOP_FIND_INFORMATION_REQUEST
+0x05 ATTOP_FIND_INFORMATION_RESPONSE
+0x06 ATTOP_FIND_BY_TYPE_VALUE_REQUEST
+0x07 ATTOP_FIND_BY_TYPE_VALUE_RESPONSE
+0x08 ATTOP_READ_BY_TYPE_REQUEST
+0x09 ATTOP_READ_BY_TYPE_RESPONSE
+0x0A ATTOP_READ_REQUEST
+0x0B ATTOP_READ_RESPONSE
+0x0C ATTOP_READ_BLOB_REQUEST
+0x0D ATTOP_READ_BLOB_RESPONSE
+0x0E ATTOP_READ_MULTIPLE_REQUEST
+0x0F ATTOP_READ_MULTIPLE_RESPONSE
+0x10 ATTOP_READ_BY_GROUP_TYPE_REQUEST
+0x11 ATTOP_READ_BY_GROUP_TYPE_RESPONSE
+0x12 ATTOP_WRITE_REQUEST
+0x13 ATTOP_WRITE_RESPONSE
+0x16 ATTOP_PREPARE_WRITE_REQUEST
+0x17 ATTOP_PREPARE_WRITE_RESPONSE
+0x18 ATTOP_EXECUTE_WRITE_REQUEST
+0x19 ATTOP_EXECUTE_WRITE_RESPONSE
+0x1B ATTOP_HANDLE_VALUE_NOTIFICATION
+0x1D ATTOP_HANDLE_VALUE_INDICATION
+0x1E ATTOP_HANDLE_VALUE_CONFIRMATION
+0x52 ATTOP_WRITE_COMMAND
+0xD2 ATTOP_SIGNED_WRITE_COMMAND
+0x1f ATTOP_CONTINUE
+0x9e EMPTY_LE_DATA_PRE
+0x9f EMPTY_LE_DATA
+)
+
+
+(
+0x01 ATT_ERR_INVALID_HANDLE
+0x02 ATT_ERR_READ_NOT_PERMITTED
+0x03 ATT_ERR_WRITE_NOT_PERMITTED
+0x04 ATT_ERR_INVALID_PDU
+0x05 ATT_ERR_INSUFFICIENT_AUTHENTICATION
+0x06 ATT_ERR_REQUEST_NOT_SUPPORTED
+0x07 ATT_ERR_INVALID_OFFSET
+0x08 ATT_ERR_INSUFFICIENT_AUTHORIZATION
+0x09 ATT_ERR_PREPARE_QUEUE_FULL
+0x0A ATT_ERR_ATTRIBUTE_NOT_FOUND
+0x0B ATT_ERR_ATTRIBUTE_NOT_LONG
+0x0C ATT_ERR_INSUFFICIENT_ENCRYPTION_KEY_SIZE
+0x0D ATT_ERR_INVALID_ATTRIBUTE_VALUE_LENGTH
+0x0E ATT_ERR_UNLIKELY_ERROR
+0x0F ATT_ERR_INSUFFICIENT_ENCRYPTION
+0x10 ATT_ERR_UNSUPPORTED_GROUP_TYPE
+0x11 ATT_ERR_INSUFFICIENT_RESOURCES
+)
+
+
+(
+0X2900 CHARACTERTIC_EXTENDED_PROPERTIES
+0X2901 CHARACTERTIC_USER_DESCRIPTION
+0X2902 CLIENT_CHARACTERTIC_CONFIGURATION
+0X2903 SERVER_CHARACTERTIC_CONFIGURATION
+0X2904 CHARACTERTIC_PRESENTATION_FORMAT
+0X2905 CHARACTERTIC_AGGREGATE
+0X2906 VALID_RANGE
+0X2907 EXTERNAL_REPORT_REFERENCE
+0X2908 REPORT_REFERENCE
+0X290B ENVIR_SENSING_CONFIGURATION
+0X290C ENVIR_SENSING_MEASUREMENT
+0X290D ENVIR_SENSING_TRIGGER_SETTING
+)
+
+
+
+(
+0x1800 UUID_SERVICE_GENERIC_ACC
+0x1801 UUID_SERVICE_GENERIC_ATT
+0x180a UUID_SERVICE_DEVICE_INFO
+0x180f UUID_SERVICE_BATTERY
+0x1812 UUID_SERVICE_HIDS
+0x2800 UUID_GATT_PRIMARY_SERVICE
+0x2801 UUID_GATT_SECONDARY_SERVICE
+0X2802 UUID_GATT_INCLUDE
+0X2803 UUID_GATT_CHARACTERISTIC
+0X2A00 UUID_CHRCTR_DEVICE_NAME
+0X2A19 UUID_CHRCTR_BATTERY_LEVEL
+0X2A22 UUID_CHRCTR_KEYBOARD_INPUT
+0X2A23 UUID_CHRCTR_SYSTEM_ID 
+0X2A25 UUID_CHRCTR_SERIAL_NUMBER
+0X2A26 UUID_CHRCTR_FIRMWARE
+0X2A32 UUID_CHRCTR_KEYBOARD_OUTPUT
+0X2A33 UUID_CHRCTR_MOUSE_INPUT
+0X2A4A UUID_CHRCTR_HID_INFO
+0X2A4B UUID_CHRCTR_REPORT_MAP
+0X2A4C UUID_CHRCTR_HID_CTRL_POINT
+0X2A4D UUID_CHRCTR_REPORT
+0X2A4E UUID_CHRCTR_PROTOCOL_MODE
+)
+
+
+
+
+
+
+(
+0x12 L2CAP_CONNECTION_PARAMETER_UPDATE_REQUEST
+0x13 L2CAP_CONNECTION_PARAMETER_UPDATE_RESPONSE
+)
+
+(
+0x0000 BLE_SIGNALING_CONNECT_PARAMETER_UPDATE_ACCEPTED
+0x0001 BLE_SIGNALING_CONNECT_PARAMETER_UPDATE_REJECTED
+)
+
+
+
+
+
+(
+0x00 LE_PAIRING_MODE_NONE
+0x01 LE_PAIRING_MODE_LAGACY_JUSTWORK
+0x02 LE_PAIRING_MODE_LAGACY_PASSKEY
+0x04 LE_PAIRING_MODE_LAGACY_PASSKEY_RES_INPUT
+0x81 LE_PAIRING_MODE_SECURE_CONNECT_JUSTWORK
+0x82 LE_PAIRING_MODE_SECURE_CONNECT_NUMERIC
+0x83 LE_PAIRING_MODE_SECURE_CONNECT_PASSKEY
+0x84 LE_PAIRING_MODE_SECURE_CONNECT_PASSKEY_RES_INPUT
+
+7 LE_PAIRING_MODE_SECURE_CONNECT_BIT
+)
+
+
+(
+0 FLAG_IOCAP_DISPLAYONLY
+1 FLAG_IOCAP_DISPLAYYESNO
+2 FLAG_IOCAP_KEYBOARDONLY
+3 FLAG_IOCAP_NOINPUTNOOUTPUT
+4 FLAG_IOCAP_KEYBOARDDISPLAY
+
+0x00 FLAG_OOB_DATA_FLAG_NO
+)
+
+(
+0x00 FLAG_LE_NO_BONDING_NO_MITM
+0x01 FLAG_LE_BONDING_NO_MITM
+0x04 FLAG_LE_NO_BONDING_MITM
+0x05 FLAG_LE_BONDING_MITM
+0x09 FLAG_LE_BONDING_NO_MITM_SECURE
+0x0D FLAG_LE_BONDING_MITM_SECURE
+
+2 LE_AUTH_MITM_BIT
+3 LE_AUTH_SECURE_CONNECTION_PAIRING_BIT
+)
+
+//mem_le_pairing_state
+(
+0 FLAG_LE_PAIRING_NULL
+1 FLAG_LE_PAIRING_START
+2 FLAG_LE_PAIRING_SEND_RECURITY_REQ
+3 FLAG_LE_PAIRING_RCV_PAIRING_REQ
+4 FLAG_LE_PAIRING_WAIT_STK_GENERATION
+5 FLAG_LE_PAIRING_RECEIVE_PAIRING_CONFIRM
+6 FLAG_LE_PAIRING_SEND_PAIRING_CONFIRM
+7 FLAG_LE_PAIRING_RECEIVE_PAIRING_RANDOM
+8 FLAG_LE_PAIRING_SEND_PAIRING_RANDOM
+9 FLAG_LE_PAIRING_AFTER_AUTH
+10 FLAG_LE_PAIRING_SEND_START_ENC_RSP
+11 FLAG_LE_PARING_SEND_ENC_INFORMATION
+12 FLAG_LE_PARING_SEND_MASTER_IDENTIFICATION 
+13 FLAG_LE_PARING_SEND_INDENTITY_INFORMATION
+0xff FLAG_LE_PAIRING_END
+)
+
+
+(
+0x01 SMP_PAIRING_REQUEST
+0x02 SMP_PAIRING_RESPONSE
+0x03 SMP_PAIRING_CONFIRM
+0x04 SMP_PAIRING_RANDOM
+0x05 SMP_PAIRING_FAILED
+0x06 SMP_ENCRYPTION_INFORMATION
+0x07 SMP_MASTER_IDENTIFICATION
+0x08 SMP_IDENTITY_INFORMATION
+0x09 SMP_IDENTITY_ADDRESS_INFORMATION
+0x0A SMP_SIGNING_INFORMATION
+0x0B SMP_SECURITY_REQUEST
+0x0c SMP_PAIRING_PUBLIC_KEY
+0x0d SMP_PAIRING_DHKEY_CHECK
+)
+
+(// pairing failed reason
+0x00 PAIRING_FAILED_RESERVED
+0X01 PAIRING_FAILED_PASSKEY_ENTRY_FAILED
+0X02 PAIRING_FAILED_OOB_NOT_AVAILABLE
+0X03 PAIRING_FAILED_AUTHENTICATION_REQUIRE
+0X04 PAIRING_FAILED_CONFIRM_VALUE_FAILED
+0X05 PAIRING_FAILED_PAIRING_NOT_SUPPORTED
+0X06 PAIRING_FAILED_ENCRYPTION_KEY_SIZE
+0X07 PAIRING_FAILED_COMMAND_NOT_SUPPORTED
+0X08 PAIRING_FAILED_UNSPECIFIED_REASON
+0X09 PAIRING_FAILED_REPEATED_ATTEMPTS
+0X0A PAIRING_FAILED_INVALID_PARAMETERS
+0X0B PAIRING_FAILED_DHKEY_CHECK_FAILED
+0X0C PAIRING_FAILED_NUMERIC_COMPARISON_FAILED
+0X0D PAIRING_FAILED_BR_EDR_PAIRING_IN_PROGRESS
+0X0E PAIRING_FAILED_KEY_DERIVATION_GENERATION_NOT_ALLOWED
+)
+
+
+(
+0x00 LE_SC_STAT_NULL
+0x01 LE_SC_STAT_RECEIVE_PUBLIC_KEY
+0x02 LE_SC_STAT_WAIT_SEND_PUBLIC_KEY
+0x03 LE_SC_STAT_SEND_PUBLIC_KEY
+0x04 LE_SC_STAT_RECEIVE_RANDOM
+0x05 LE_SC_STAT_SEND_RANDOM
+0x06 LE_SC_STAT_RECEIVE_DHKEY
+0x07 LE_SC_STAT_WAIT_CONFIRM_GKEY
+0x08 LE_SC_STAT_PASSKEY_WAIT_CONFIRM
+)
+
+
+(
+0 FLAG_LE_SC_CONFRIM_NULL
+1 FLAG_LE_SC_CONFRIM_GKEY_OK
+)
+
+
+
+
+
+(
+0x00 LL_CONNECTION_UPDATE_IND
+0x01 LL_CHANNEL_MAP_IND
+0x02 LL_TERMINATE_IND
+0x03 LL_ENC_REQ
+0x04 LL_ENC_RSP
+0x05 LL_START_ENC_REQ
+0x06 LL_START_ENC_RSP
+0x07 LL_UNKNOWN_RSP
+0x08 LL_FEATURE_REQ
+0x09 LL_FEATURE_RSP
+0x0A LL_PAUSE_ENC_REQ
+0x0B LL_PAUSE_ENC_RSP
+0x0C LL_VERSION_IND
+0x0D LL_REJECT_IND
+0x0E LL_SLAVE_FEATURE_REQ
+0x0F LL_CONNECTION_PARAM_REQ
+0x10 LL_CONNECTION_PARAM_RSP
+0x11 LL_REJECT_IND_EXT
+0x12 LL_PING_REQ
+0x13 LL_PING_RSP
+0x14 LL_LENGTH_REQ
+0x15 LL_LENGTH_RSP
+0x16 LL_PHY_REQ
+0x17 LL_PHY_RSP
+0x18 LL_PHY_UPDATE_IND
+0x19 LL_MIN_USED_CHANNELS_IND
+0x1A LL_CTE_REQ
+0x1B LL_CTE_RSP
+0x1C LL_PERIODIC_SYNC_IND
+0x1D LL_CLOCK_ACCURACY_REQ
+0x1E LL_CLOCK_ACCURACY_RSP
+0x1F LL_CIS_REQ
+0x20 LL_CIS_RSP
+0x21 LL_CIS_IND
+0x22 LL_CIS_TERMINATE_IND
+0x23 LL_POWER_CONTROL_REQ
+0x24 LL_POWER_CONTROL_RSP
+0x25 LL_POWER_CHANGE_IND
+)
+
+
+
+(//bit map of mem_le_ll_feature
+//LL_FEATURE_REQ
+0 BIT_LL_FEATURE_LE_ENCRYPTION
+1 BIT_LL_FEATURE_CONNECTION_PARAMETERS_REQUEST_PROCEDURE
+2 BIT_LL_FEATURE_EXTENDED_REJECT_INDICATION
+3 BIT_LL_FEATURE_SLAVE_INITIATED_FEATURES_EXCHANGE
+4 BIT_LL_FEATURE_LE_PING
+5 BIT_LL_FEATURE_LE_DATA_PACKET_LENGTH_EXTENSION
+6 BIT_LL_FEATURE_LL_PRIVACY
+7 BIT_LL_FEATURE_EXTENDED_SCANNER_FILTER_POLICIES
+8 BIT_LL_FEATURE_LE_2M_PHY
+9 BIT_LL_FEATURE_STABLE_MODULATION_INDEX_TRANSMITTER
+10 BIT_LL_FEATURE_STABLE_MODULATION_INDEX_RECEIVER
+11 BIT_LL_FEATURE_LE_CODED_PHY
+12 BIT_LL_FEATURE_LE_EXTENDED_ADVERTISING
+13 BIT_LL_FEATURE_LE_PERIODIC_ADVERTISING
+14 BIT_LL_FEATURE_CHANNEL_SELECTION_ALGORITHM
+15 BIT_LL_FEATURE_LE_POWER_CLASS_1
+16 BIT_LL_FEATURE_MINIMUM_NUMBER_OF_USED_CHANNELS_PROCEDURE
+)
+(//function map of mem_le_ll_feature
+//LL_FEATURE_REQ
+0x1 FUN_LL_FEATURE_LE_ENCRYPTION
+0x2 FUN_LL_FEATURE_CONNECTION_PARAMETERS_REQUEST_PROCEDURE
+0x4 FUN_LL_FEATURE_EXTENDED_REJECT_INDICATION
+0x8 FUN_LL_FEATURE_SLAVE_INITIATED_FEATURES_EXCHANGE
+0x10 FUN_LL_FEATURE_LE_PING
+0x20 FUN_LL_FEATURE_LE_DATA_PACKET_LENGTH_EXTENSION
+0x40 FUN_LL_FEATURE_LL_PRIVACY
+0x80 FUN_LL_FEATURE_EXTENDED_SCANNER_FILTER_POLICIES
+0x100 FUN_LL_FEATURE_LE_2M_PHY
+0x200 FUN_LL_FEATURE_STABLE_MODULATION_INDEX_TRANSMITTER
+0x400 FUN_LL_FEATURE_STABLE_MODULATION_INDEX_RECEIVER
+0x800 FUN_LL_FEATURE_LE_CODED_PHY
+0x1000 FUN_LL_FEATURE_LE_EXTENDED_ADVERTISING
+0x2000 FUN_LL_FEATURE_LE_PERIODIC_ADVERTISING
+0x4000 FUN_LL_FEATURE_CHANNEL_SELECTION_ALGORITHM
+0x8000 FUN_LL_FEATURE_LE_POWER_CLASS_1
+0x10000 FUN_LL_FEATURE_MINIMUM_NUMBER_OF_USED_CHANNELS_PROCEDURE
+)
+
+(//bit of mem_le_tx_phys and mem_le_rx_phys
+0x00 BIT_LE_1M_PHY
+0x01 BIT_LE_2M_PHY
+0x02 BIT_LE_CODED_PHY
+
+0x02 BIT_LE_CODED_PHY_S2
+0x07 BIT_LE_CODED_PHY_S8
+)
+
+(//map of mem_le_tx_phys and mem_le_rx_phys
+0x01 FUN_TX_LL_1M_PHY
+0x02 FUN_TX_LL_2M_PHY
+0x04 FUN_TX_LL_CODED_PHY
+
+0x01 FUN_RX_LL_1M_PHY
+0x02 FUN_RX_LL_2M_PHY
+0x04 FUN_RX_LL_CODED_PHY
+)
+
+
+
+
+
+
+
+(//mem_24g_data_type
+1 TYPE_MS
+2 TYPE_KB
+0x07 bits_data
+//0-2 data type
+3 bit_abort
+4 bit_hop
+5 bit_sync
+//6-7 channel offset
+)
+
+
+
+
+
+
+
+(//mem_24g_pair_sm
+0 STATE_24G_PAIRING_NULL
+1 STATE_24G_PAIRING_1
+2 STATE_24G_PAIRING_2
+3 STATE_24G_PAIRING_3
+4 STATE_24G_PAIRING_4
+0X11 STATE_24G_PAIRING_1_WAITING_ACK
+0X12 STATE_24G_PAIRING_2_WAITING_ACK
+0X13 STATE_24G_PAIRING_3_WAITING_ACK
+0X14 STATE_24G_PAIRING_4_WAITING_ACK
+0XFF STATE_24G_PAIRING_SUCCESS
+)
+
+(
+0x01 DATATYPE_DEVICE1	//mouse
+0x02 DATATYPE_DEVICE2	//keyboard
+0xaa DATATYPE_BIND		//bind step 1
+0x55 DATATYPE_CONFIG	//bind step 2
+0x22 DATATYPE_OK		//bind step 3
+0xff DATATYPE_ATTEMP	//reconn
+)
+
+(
+5 BIND_MODE_CONTINUE
+)
+
+
+
+
+(
+0 bit_ack_24g
+)
+
+
+
+
+(//mem_24g_reconn_type
+0 DEFAULT_24G_DEVICE
+1 FAST_CONN_AND_RECEIVER
+2 FAST_CONN_AND_3_0_ADDR
+3 RECEIVER_AND_3_0_ADDR
+4 PAIR_AND_3_0_ADDR
+)
+
+
+
+
+
+
+
+
+
+(
+0x50 RSSI_THRESH_NOISE
+)
+
+
+
+
+
+
+
+(
+1 NO_ACK_24G
+0 WITH_ACK_24G
+)
+
+(//mem_24g_conn_sm
+0 STATE_24G_STOP
+0 STATE_24G_START
+1 STATE_24G_PAIR
+2 STATE_24G_RECONN
+)
+
+(//mem_24g_transmit_by_interrupt
+1 G24_TX_TIMER_INT_ENABLE
+0 G24_TX_TIMER_INT_DISABLE
+)
+
+
+(
+1 OFFSET_DATA_TYPE
+2 OFFSET_LR_DATA_TYPE
+)
+
+(
+0x017700 G24_LONG_SLEEP_STEP1	//8ms
+0x36ee80 G24_LONG_SLEEP_STEP2	//300ms
+0x124f80 G24_LONG_SLEEP_STEP3	//100ms
+63500 G24_8MS_INTERVAL_PARAM		//8ms
+12210 G24_4MS_INTERVAL_PARAM
+)
+
+
+
+
+
+
+(
+50 POWER_CTRL_DECRS_THRESHOLD
+)
+
+
+
+
+
+(//status codes
+0 STATUS_CODE_SUCCESS
+)
+
+
+// ali vendor message
+(
+0xD0 VENDOR_MESSAGE_ATTR_GET
+0xD1 VENDOR_MESSAGE_ATTR_SET
+0xD2 VENDOR_MESSAGE_ATTR_SET_UNACKNOWLEDGED
+0xD3 VENDOR_MESSAGE_ATTR_STATUS
+0xD4 VENDOR_MESSAGE_ATTR_INDICATION
+0xD5 VENDOR_MESSAGE_ATTR_CONFIRMATION
+0xCF VENDOR_MESSAGE_TRANSPARENT_MSG
+)
+
+
+
+(//configuration message and health message opcode
+0x80 MESH_CONFIGURATION_AND_HEALTH_MESSAGE_OPCODE_HEADER
+
+0x00 MESH_MESSAGE_OPCODE_CONFIG_APPKEY_ADD
+0x01 MESH_MESSAGE_OPCODE_CONFIG_APPKEY_UPDATE
+0x02 MESH_MESSAGE_OPCODE_CONFIG_COMPOSITION_DATA_STATUS
+0x03 MESH_MESSAGE_OPCODE_CONFIG_CONFIG_MODEL_PUBLICATION_SET
+0x04 MESH_MESSAGE_OPCODE_HEALTH_CURRENT_STATUS
+0x05 MESH_MESSAGE_OPCODE_HEALTH_FAULT_STATUS
+0x06 MESH_MESSAGE_OPCODE_CONFIG_HEARTBEAT_PUBLICATION_STATUS
+0x00 MESH_MESSAGE_OPCODE_CONFIG_APPKEY_DELETE_NO_HEAD
+0x01 MESH_MESSAGE_OPCODE_CONFIG_APPKEY_GET_NO_HEAD
+0x02 MESH_MESSAGE_OPCODE_CONFIG_APPKEY_LIST_NO_HEAD
+0x03 MESH_MESSAGE_OPCODE_CONFIG_APPKEY_STATUS_NO_HEAD
+0x04 MESH_MESSAGE_OPCODE_HEALTH_ATTENTION_GET_NO_HEAD
+0x05 MESH_MESSAGE_OPCODE_HEALTH_ATTENTION_SET_NO_HEAD
+0x06 MESH_MESSAGE_OPCODE_HEALTH_ATTENTION_SET_UNACKNOWLEDGED_NO_HEAD
+0x07 MESH_MESSAGE_OPCODE_HEALTH_ATTENTION_STATUS_NO_HEAD
+0x08 MESH_MESSAGE_OPCODE_CONFIG_COMPOSITION_DATA_GET_NO_HEAD
+0x09 MESH_MESSAGE_OPCODE_CONFIG_BEACON_GET_NO_HEAD
+0x0A MESH_MESSAGE_OPCODE_CONFIG_BEACON_SET_NO_HEAD
+0x0B MESH_MESSAGE_OPCODE_CONFIG_BEACON_STATUS_NO_HEAD
+0x0C MESH_MESSAGE_OPCODE_CONFIG_DEFAULT_TTL_GET_NO_HEAD
+0x0D MESH_MESSAGE_OPCODE_CONFIG_DEFAULT_TTL_SET_NO_HEAD
+0x0E MESH_MESSAGE_OPCODE_CONFIG_DEFAULT_TTL_STATUS_NO_HEAD
+0x0F MESH_MESSAGE_OPCODE_CONFIG_FRIEND_GET_NO_HEAD
+0x10 MESH_MESSAGE_OPCODE_CONFIG_FRIEND_SET_NO_HEAD
+0x11 MESH_MESSAGE_OPCODE_CONFIG_FRIEND_STATUS_NO_HEAD
+0x12 MESH_MESSAGE_OPCODE_CONFIG_GATT_PROXY_GET_NO_HEAD
+0x13 MESH_MESSAGE_OPCODE_CONFIG_GATT_PROXY_SET_NO_HEAD
+0x14 MESH_MESSAGE_OPCODE_CONFIG_GATT_PROXY_STATUS_NO_HEAD
+0x15 MESH_MESSAGE_OPCODE_CONFIG_KEY_REFRESH_PHASE_GET_NO_HEAD
+0x16 MESH_MESSAGE_OPCODE_CONFIG_KEY_REFRESH_PHASE_SET_NO_HEAD
+0x17 MESH_MESSAGE_OPCODE_CONFIG_KEY_REFRESH_PHASE_STATUS_NO_HEAD
+0x18 MESH_MESSAGE_OPCODE_CONFIG_MODEL_PUBLICATION_GET_NO_HEAD
+0x19 MESH_MESSAGE_OPCODE_CONFIG_MODEL_PUBLICATION_STATUS_NO_HEAD
+0x1A MESH_MESSAGE_OPCODE_CONFIG_MODEL_PUBLICATION_VIRTUAL_ADDRESS_SET_NO_HEAD
+0x1B MESH_MESSAGE_OPCODE_CONFIG_MODEL_SUBSCRIPTION_ADD_NO_HEAD
+0x1C MESH_MESSAGE_OPCODE_CONFIG_MODEL_SUBSCRIPTION_DELETE_NO_HEAD
+0x1D MESH_MESSAGE_OPCODE_CONFIG_MODEL_SUBSCRIPTION_DELETE_ALL_NO_HEAD
+0x1E MESH_MESSAGE_OPCODE_CONFIG_MODEL_SUBSCRIPTION_OVERWRITE_NO_HEAD
+0x1F MESH_MESSAGE_OPCODE_CONFIG_MODEL_SUBSCRIPTION_STATUS_NO_HEAD
+0x20 MESH_MESSAGE_OPCODE_CONFIG_MODEL_SUBSCRIPTION_VIRTUAL_ADDRESS_ADD_NO_HEAD
+0x21 MESH_MESSAGE_OPCODE_CONFIG_MODEL_SUBSCRIPTION_VIRTUAL_ADDRESS_DELETE_NO_HEAD
+0x22 MESH_MESSAGE_OPCODE_CONFIG_MODEL_SUBSCRIPTION_VIRTUAL_ADDRESS_OVERWRITE_NO_HEAD
+0x23 MESH_MESSAGE_OPCODE_CONFIG_NETWORK_TRANSMIT_GET_NO_HEAD
+0x24 MESH_MESSAGE_OPCODE_CONFIG_NETWORK_TRANSMIT_SET_NO_HEAD
+0x25 MESH_MESSAGE_OPCODE_CONFIG_NETWORK_TRANSMIT_STATUS_NO_HEAD
+0x26 MESH_MESSAGE_OPCODE_CONFIG_RELAY_GET_NO_HEAD
+0x27 MESH_MESSAGE_OPCODE_CONFIG_RELAY_SET_NO_HEAD
+0x28 MESH_MESSAGE_OPCODE_CONFIG_RELAY_STATUS_NO_HEAD
+0x29 MESH_MESSAGE_OPCODE_CONFIG_SIG_MODEL_SUBSCRIPTION_GET_NO_HEAD
+0x2A MESH_MESSAGE_OPCODE_CONFIG_SIG_MODEL_SUBSCRIPTION_LIST_NO_HEAD
+0x2B MESH_MESSAGE_OPCODE_CONFIG_VENDOR_MODEL_SUBSCRIPTION_GET_NO_HEAD
+0x2C MESH_MESSAGE_OPCODE_CONFIG_VENDOR_MODEL_SUBSCRIPTION_LIST_NO_HEAD
+0x2D MESH_MESSAGE_OPCODE_CONFIG_LOW_POWER_NODE_POLLTIMEOUT_GET_NO_HEAD
+0x2E MESH_MESSAGE_OPCODE_CONFIG_LOW_POWER_NODE_POLLTIMEOUT_STATUS_NO_HEAD
+0x2F MESH_MESSAGE_OPCODE_HEALTH_FAULT_CLEAR_NO_HEAD
+0x30 MESH_MESSAGE_OPCODE_HEALTH_FAULT_CLEAR_UNACKNOWLEDGED_NO_HEAD
+0x31 MESH_MESSAGE_OPCODE_HEALTH_FAULT_GET_NO_HEAD
+0x32 MESH_MESSAGE_OPCODE_HEALTH_FAULT_TEST_NO_HEAD
+0x33 MESH_MESSAGE_OPCODE_HEALTH_FAULT_TEST_UNACKNOWLEDGED_NO_HEAD
+0x34 MESH_MESSAGE_OPCODE_HEALTH_PERIOD_GET_NO_HEAD
+0x35 MESH_MESSAGE_OPCODE_HEALTH_PERIOD_SET_NO_HEAD
+0x36 MESH_MESSAGE_OPCODE_HEALTH_PERIOD_SET_UNACKNOWLEDGED_NO_HEAD
+0x37 MESH_MESSAGE_OPCODE_HEALTH_PERIOD_STATUS_NO_HEAD
+0x38 MESH_MESSAGE_OPCODE_CONFIG_HEARTBEAT_PUBLICATION_GET_NO_HEAD
+0x39 MESH_MESSAGE_OPCODE_CONFIG_HEARTBEAT_PUBLICATION_SET_NO_HEAD
+0x3A MESH_MESSAGE_OPCODE_CONFIG_HEARTBEAT_SUBSCRIPTION_GET_NO_HEAD
+0x3B MESH_MESSAGE_OPCODE_CONFIG_HEARTBEAT_SUBSCRIPTION_SET_NO_HEAD
+0x3C MESH_MESSAGE_OPCODE_CONFIG_HEARTBEAT_SUBSCRIPTION_STATUS_NO_HEAD
+0x3D MESH_MESSAGE_OPCODE_CONFIG_MODEL_APP_BIND_NO_HEAD
+0x3E MESH_MESSAGE_OPCODE_CONFIG_MODEL_APP_STATUS_NO_HEAD
+0x3F MESH_MESSAGE_OPCODE_CONFIG_MODEL_APP_UNBIND_NO_HEAD
+0x40 MESH_MESSAGE_OPCODE_CONFIG_NETKEY_ADD_NO_HEAD
+0x41 MESH_MESSAGE_OPCODE_CONFIG_NETKEY_DELETE_NO_HEAD
+0x42 MESH_MESSAGE_OPCODE_CONFIG_NETKEY_GET_NO_HEAD
+0x43 MESH_MESSAGE_OPCODE_CONFIG_NETKEY_LIST_NO_HEAD
+0x44 MESH_MESSAGE_OPCODE_CONFIG_NETKEY_STATUS_NO_HEAD
+0x45 MESH_MESSAGE_OPCODE_CONFIG_NETKEY_UPDATE_NO_HEAD
+0x46 MESH_MESSAGE_OPCODE_CONFIG_NODE_IDENTITY_GET_NO_HEAD
+0x47 MESH_MESSAGE_OPCODE_CONFIG_NODE_IDENTITY_SET_NO_HEAD
+0x48 MESH_MESSAGE_OPCODE_CONFIG_NODE_IDENTITY_STATUS_NO_HEAD
+0x49 MESH_MESSAGE_OPCODE_CONFIG_NODE_RESET_NO_HEAD
+0x4A MESH_MESSAGE_OPCODE_CONFIG_NODE_RESET_STATUS_NO_HEAD
+0x4B MESH_MESSAGE_OPCODE_CONFIG_SIG_MODEL_APP_GET_NO_HEAD
+0x4C MESH_MESSAGE_OPCODE_CONFIG_SIG_MODEL_APP_LIST_NO_HEAD
+0x4D MESH_MESSAGE_OPCODE_CONFIG_VENDOR_MODEL_APP_GET_NO_HEAD
+0x4E MESH_MESSAGE_OPCODE_CONFIG_VENDOR_MODEL_APP_LIST_NO_HEAD
+)
+
+(//Modle message opcode
+0x82 MESH_MODULE_MESSAGE_OPCODE_HEADER
+
+0x01 MESH_MODULE_MESSAGE_OPCODE_GENERIC_ONOFF_GET_NO_HEAD
+0x02 MESH_MODULE_MESSAGE_OPCODE_GENERIC_ONOFF_SET_NO_HEAD
+0x03 MESH_MODULE_MESSAGE_OPCODE_GENERIC_ONOFF_SET_UNACKNOWLEDGED_NO_HEAD
+0x04 MESH_MODULE_MESSAGE_OPCODE_GENERIC_ONOFF_STATUS_NO_HEAD
+0x05 MESH_MODULE_MESSAGE_OPCODE_GENERIC_LEVEL_GET_NO_HEAD
+0x06 MESH_MODULE_MESSAGE_OPCODE_GENERIC_LEVEL_SET_NO_HEAD
+0x07 MESH_MODULE_MESSAGE_OPCODE_GENERIC_LEVEL_SET_UNACKNOWLEDGED_NO_HEAD
+0x08 MESH_MODULE_MESSAGE_OPCODE_GENERIC_LEVEL_STATUS_NO_HEAD
+0x09 MESH_MODULE_MESSAGE_OPCODE_GENERIC_DELTA_SET_NO_HEAD
+0x0A MESH_MODULE_MESSAGE_OPCODE_GENERIC_DELTA_SET_UNACKNOWLEDGED_NO_HEAD
+0x0B MESH_MODULE_MESSAGE_OPCODE_GENERIC_MOVE_SET_NO_HEAD
+0x0C MESH_MODULE_MESSAGE_OPCODE_GENERIC_MOVE_SET_UNACKNOWLEDGED_NO_HEAD
+0x0D MESH_MODULE_MESSAGE_OPCODE_GENERIC_DEFAULT_TRANSITION_TIME_GET_NO_HEAD
+0x0E MESH_MODULE_MESSAGE_OPCODE_GENERIC_DEFAULT_TRANSITION_TIME_SET_NO_HEAD
+0x0F MESH_MODULE_MESSAGE_OPCODE_GENERIC_DEFAULT_TRANSITION_TIME_SET_UNACKNOWLEDGED_NO_HEAD
+0x10 MESH_MODULE_MESSAGE_OPCODE_GENERIC_DEFAULT_TRANSITION_TIME_STATUS_NO_HEAD
+0x11 MESH_MODULE_MESSAGE_OPCODE_GENERIC_ONPOWERUP_GET_NO_HEAD
+0x12 MESH_MODULE_MESSAGE_OPCODE_GENERIC_ONPOWERUP_STATUS_NO_HEAD
+0x13 MESH_MODULE_MESSAGE_OPCODE_GENERIC_ONPOWERUP_SET_NO_HEAD
+0x14 MESH_MODULE_MESSAGE_OPCODE_GENERIC_ONPOWERUP_SET_UNACKNOWLEDGED_NO_HEAD
+0x15 MESH_MODULE_MESSAGE_OPCODE_GENERIC_POWER_LEVEL_GET_NO_HEAD
+0x16 MESH_MODULE_MESSAGE_OPCODE_GENERIC_POWER_LEVEL_SET_NO_HEAD
+0x17 MESH_MODULE_MESSAGE_OPCODE_GENERIC_POWER_LEVEL_SET_UNACKNOWLEDGED_NO_HEAD
+0x18 MESH_MODULE_MESSAGE_OPCODE_GENERIC_POWER_LEVEL_STATUS_NO_HEAD
+0x19 MESH_MODULE_MESSAGE_OPCODE_GENERIC_POWER_LAST_GET_NO_HEAD
+0x1A MESH_MODULE_MESSAGE_OPCODE_GENERIC_POWER_LAST_STATUS_NO_HEAD
+0x1B MESH_MODULE_MESSAGE_OPCODE_GENERIC_POWER_DEFAULT_GET_NO_HEAD
+0x1C MESH_MODULE_MESSAGE_OPCODE_GENERIC_POWER_DEFAULT_STATUS_NO_HEAD
+0x1D MESH_MODULE_MESSAGE_OPCODE_GENERIC_POWER_RANGE_GET_NO_HEAD
+0x1E MESH_MODULE_MESSAGE_OPCODE_GENERIC_POWER_RANGE_STATUS_NO_HEAD
+0x1F MESH_MODULE_MESSAGE_OPCODE_GENERIC_POWER_DEFAULT_SET_NO_HEAD
+0x20 MESH_MODULE_MESSAGE_OPCODE_GENERIC_POWER_DEFAULT_SET_UNACKNOWLEDGED_NO_HEAD
+0x21 MESH_MODULE_MESSAGE_OPCODE_GENERIC_POWER_RANGE_SET_NO_HEAD
+0x22 MESH_MODULE_MESSAGE_OPCODE_GENERIC_POWER_RANGE_SET_UNACKNOWLEDGED_NO_HEAD
+0x23 MESH_MODULE_MESSAGE_OPCODE_GENERIC_BATTERY_GET_NO_HEAD
+0x24 MESH_MODULE_MESSAGE_OPCODE_GENERIC_BATTERY_STATUS_NO_HEAD
+0x25 MESH_MODULE_MESSAGE_OPCODE_GENERIC_LOCATION_GLOBAL_GET_NO_HEAD
+0x40 MESH_MODULE_MESSAGE_OPCODE_GENERIC_LOCATION_GLOBAL_STATUS
+0x26 MESH_MODULE_MESSAGE_OPCODE_GENERIC_LOCATION_LOCAL_GET_NO_HEAD
+0x27 MESH_MODULE_MESSAGE_OPCODE_GENERIC_LOCATION_LOCAL_STATUS_NO_HEAD
+0x41 MESH_MODULE_MESSAGE_OPCODE_GENERIC_LOCATION_GLOBAL_SET
+0x42 MESH_MODULE_MESSAGE_OPCODE_GENERIC_LOCATION_GLOBAL_SET_UNACKNOWLEDGED
+0x28 MESH_MODULE_MESSAGE_OPCODE_GENERIC_LOCATION_LOCAL_SET_NO_HEAD
+0x29 MESH_MODULE_MESSAGE_OPCODE_GENERIC_LOCATION_LOCAL_SET_UNACKNOWLEDGED_NO_HEAD
+0x2A MESH_MODULE_MESSAGE_OPCODE_GENERIC_MANUFACTURER_PROPERTIES_GET_NO_HEAD
+0x43 MESH_MODULE_MESSAGE_OPCODE_GENERIC_MANUFACTURER_PROPERTIES_STATUS
+0x2B MESH_MODULE_MESSAGE_OPCODE_GENERIC_MANUFACTURER_PROPERTY_GET_NO_HEAD
+0x44 MESH_MODULE_MESSAGE_OPCODE_GENERIC_MANUFACTURER_PROPERTY_SET
+0x45 MESH_MODULE_MESSAGE_OPCODE_GENERIC_MANUFACTURER_PROPERTY_SET_UNACKNOWLEDGED
+0x46 MESH_MODULE_MESSAGE_OPCODE_GENERIC_MANUFACTURER_PROPERTY_STATUS
+0x2C MESH_MODULE_MESSAGE_OPCODE_GENERIC_ADMIN_PROPERTIES_GET_NO_HEAD
+0x47 MESH_MODULE_MESSAGE_OPCODE_GENERIC_ADMIN_PROPERTIES_STATUS
+0x2D MESH_MODULE_MESSAGE_OPCODE_GENERIC_ADMIN_PROPERTY_GET_NO_HEAD
+0x48 MESH_MODULE_MESSAGE_OPCODE_GENERIC_ADMIN_PROPERTY_SET
+0x49 MESH_MODULE_MESSAGE_OPCODE_GENERIC_ADMIN_PROPERTY_SET_UNACKNOWLEDGED
+0x4A MESH_MODULE_MESSAGE_OPCODE_GENERIC_ADMIN_PROPERTY_STATUS
+0x2E MESH_MODULE_MESSAGE_OPCODE_GENERIC_USER_PROPERTIES_GET_NO_HEAD
+0x4B MESH_MODULE_MESSAGE_OPCODE_GENERIC_USER_PROPERTIES_STATUS
+0x2F MESH_MODULE_MESSAGE_OPCODE_GENERIC_USER_PROPERTY_GET_NO_HEAD
+0x4C MESH_MODULE_MESSAGE_OPCODE_GENERIC_USER_PROPERTY_SET
+0x4D MESH_MODULE_MESSAGE_OPCODE_GENERIC_USER_PROPERTY_SET_UNACKNOWLEDGED
+0x4E MESH_MODULE_MESSAGE_OPCODE_GENERIC_USER_PROPERTY_STATUS
+0x4F MESH_MODULE_MESSAGE_OPCODE_GENERIC_CLIENT_PROPERTIES_GET
+0x50 MESH_MODULE_MESSAGE_OPCODE_GENERIC_CLIENT_PROPERTIES_STATUS
+0x30 MESH_MODULE_MESSAGE_OPCODE_SENSOR_DESCRIPTOR_GET_NO_HEAD
+0x51 MESH_MODULE_MESSAGE_OPCODE_SENSOR_DESCRIPTOR_STATUS
+0x31 MESH_MODULE_MESSAGE_OPCODE_SENSOR_GET_NO_HEAD
+0x52 MESH_MODULE_MESSAGE_OPCODE_SENSOR_STATUS
+0x32 MESH_MODULE_MESSAGE_OPCODE_SENSOR_COLUMN_GET_NO_HEAD
+0x53 MESH_MODULE_MESSAGE_OPCODE_SENSOR_COLUMN_STATUS
+0x33 MESH_MODULE_MESSAGE_OPCODE_SENSOR_SERIES_GET_NO_HEAD
+0x54 MESH_MODULE_MESSAGE_OPCODE_SENSOR_SERIES_STATUS
+0x34 MESH_MODULE_MESSAGE_OPCODE_SENSOR_CADENCE_GET_NO_HEAD
+0x55 MESH_MODULE_MESSAGE_OPCODE_SENSOR_CADENCE_SET
+0x56 MESH_MODULE_MESSAGE_OPCODE_SENSOR_CADENCE_SET_UNACKNOWLEDGED
+0x57 MESH_MODULE_MESSAGE_OPCODE_SENSOR_CADENCE_STATUS
+0x35 MESH_MODULE_MESSAGE_OPCODE_SENSOR_SETTINGS_GET_NO_HEAD
+0x58 MESH_MODULE_MESSAGE_OPCODE_SENSOR_SETTINGS_STATUS
+0x36 MESH_MODULE_MESSAGE_OPCODE_SENSOR_SETTING_GET_NO_HEAD
+0x59 MESH_MODULE_MESSAGE_OPCODE_SENSOR_SETTING_SET
+0x5A MESH_MODULE_MESSAGE_OPCODE_SENSOR_SETTING_SET_UNACKNOWLEDGED
+0x5B MESH_MODULE_MESSAGE_OPCODE_SENSOR_SETTING_STATUS
+0x37 MESH_MODULE_MESSAGE_OPCODE_TIME_GET_NO_HEAD
+0x5C MESH_MODULE_MESSAGE_OPCODE_TIME_SET
+0x5D MESH_MODULE_MESSAGE_OPCODE_TIME_STATUS
+0x38 MESH_MODULE_MESSAGE_OPCODE_TIME_ROLE_GET_NO_HEAD
+0x39 MESH_MODULE_MESSAGE_OPCODE_TIME_ROLE_SET_NO_HEAD
+0x3A MESH_MODULE_MESSAGE_OPCODE_TIME_ROLE_STATUS_NO_HEAD
+0x3B MESH_MODULE_MESSAGE_OPCODE_TIME_ZONE_GET_NO_HEAD
+0x3C MESH_MODULE_MESSAGE_OPCODE_TIME_ZONE_SET_NO_HEAD
+0x3D MESH_MODULE_MESSAGE_OPCODE_TIME_ZONE_STATUS_NO_HEAD
+0x3E MESH_MODULE_MESSAGE_OPCODE_TAI_UTC_DELTA_GET_NO_HEAD
+0x3F MESH_MODULE_MESSAGE_OPCODE_TAI_UTC_DELTA_SET_NO_HEAD
+0x40 MESH_MODULE_MESSAGE_OPCODE_TAI_UTC_DELTA_STATUS_NO_HEAD
+0x41 MESH_MODULE_MESSAGE_OPCODE_SCENE_GET_NO_HEAD
+0x42 MESH_MODULE_MESSAGE_OPCODE_SCENE_RECALL_NO_HEAD
+0x43 MESH_MODULE_MESSAGE_OPCODE_SCENE_RECALL_UNACKNOWLEDGED_NO_HEAD
+0x5E MESH_MODULE_MESSAGE_OPCODE_SCENE_STATUS
+0x44 MESH_MODULE_MESSAGE_OPCODE_SCENE_REGISTER_GET_NO_HEAD
+0x45 MESH_MODULE_MESSAGE_OPCODE_SCENE_REGISTER_STATUS_NO_HEAD
+0x46 MESH_MODULE_MESSAGE_OPCODE_SCENE_STORE_NO_HEAD
+0x47 MESH_MODULE_MESSAGE_OPCODE_SCENE_STORE_UNACKNOWLEDGED_NO_HEAD
+0x9E MESH_MODULE_MESSAGE_OPCODE_SCENE_DELETE_NO_HEAD
+0x9F MESH_MODULE_MESSAGE_OPCODE_SCENE_DELETE_UNACKNOWLEDGED_NO_HEAD
+0x48 MESH_MODULE_MESSAGE_OPCODE_SCHEDULER_ACTION_GET_NO_HEAD
+0x5F MESH_MODULE_MESSAGE_OPCODE_SCHEDULER_ACTION_STATUS
+0x49 MESH_MODULE_MESSAGE_OPCODE_SCHEDULER_GET_NO_HEAD
+0x4A MESH_MODULE_MESSAGE_OPCODE_SCHEDULER_STATUS_NO_HEAD
+0x60 MESH_MODULE_MESSAGE_OPCODE_SCHEDULER_ACTION_SET
+0x61 MESH_MODULE_MESSAGE_OPCODE_SCHEDULER_ACTION_SET_UNACKNOWLEDGED
+0x4B MESH_MODULE_MESSAGE_OPCODE_LIGHT_LIGHTNESS_LIGHT_LIGHTNESS_GET_NO_HEAD
+0x4C MESH_MODULE_MESSAGE_OPCODE_LIGHT_LIGHTNESS_SET_NO_HEAD
+0x4D MESH_MODULE_MESSAGE_OPCODE_LIGHT_LIGHTNESS_SET_UNACKNOWLEDGED_NO_HEAD
+0x4E MESH_MODULE_MESSAGE_OPCODE_LIGHT_LIGHTNESS_STATUS_NO_HEAD
+0x4F MESH_MODULE_MESSAGE_OPCODE_LIGHT_LIGHTNESS_LINEAR_GET_NO_HEAD
+0x50 MESH_MODULE_MESSAGE_OPCODE_LIGHT_LIGHTNESS_LINEAR_SET_NO_HEAD
+0x51 MESH_MODULE_MESSAGE_OPCODE_LIGHT_LIGHTNESS_LINEAR_SET_UNACKNOWLEDGED_NO_HEAD
+0x52 MESH_MODULE_MESSAGE_OPCODE_LIGHT_LIGHTNESS_LINEAR_STATUS_NO_HEAD
+0x53 MESH_MODULE_MESSAGE_OPCODE_LIGHT_LIGHTNESS_LAST_GET_NO_HEAD
+0x54 MESH_MODULE_MESSAGE_OPCODE_LIGHT_LIGHTNESS_LAST_STATUS_NO_HEAD
+0x55 MESH_MODULE_MESSAGE_OPCODE_LIGHT_LIGHTNESS_DEFAULT_GET_NO_HEAD
+0x56 MESH_MODULE_MESSAGE_OPCODE_LIGHT_LIGHTNESS_DEFAULT_STATUS_NO_HEAD
+0x57 MESH_MODULE_MESSAGE_OPCODE_LIGHT_LIGHTNESS_RANGE_GET_NO_HEAD
+0x58 MESH_MODULE_MESSAGE_OPCODE_LIGHT_LIGHTNESS_RANGE_STATUS_NO_HEAD
+0x59 MESH_MODULE_MESSAGE_OPCODE_LIGHT_LIGHTNESS_DEFAULT_SET_NO_HEAD
+0x5A MESH_MODULE_MESSAGE_OPCODE_LIGHT_LIGHTNESS_DEFAULT_SET_UNACKNOWLEDGED_NO_HEAD
+0x5B MESH_MODULE_MESSAGE_OPCODE_LIGHT_LIGHTNESS_RANGE_SET_NO_HEAD
+0x5C MESH_MODULE_MESSAGE_OPCODE_LIGHT_LIGHTNESS_RANGE_SET_UNACKNOWLEDGED_NO_HEAD
+0x5D MESH_MODULE_MESSAGE_OPCODE_LIGHT_CTL_GET_NO_HEAD
+0x5E MESH_MODULE_MESSAGE_OPCODE_LIGHT_CTL_SET_NO_HEAD
+0x5F MESH_MODULE_MESSAGE_OPCODE_LIGHT_CTL_SET_UNACKNOWLEDGED_NO_HEAD
+0x60 MESH_MODULE_MESSAGE_OPCODE_LIGHT_CTL_STATUS_NO_HEAD
+0x61 MESH_MODULE_MESSAGE_OPCODE_LIGHT_CTL_TEMPERATURE_GET_NO_HEAD
+0x62 MESH_MODULE_MESSAGE_OPCODE_LIGHT_CTL_TEMPERATURE_RANGE_GET_NO_HEAD
+0x63 MESH_MODULE_MESSAGE_OPCODE_LIGHT_CTL_TEMPERATURE_RANGE_STATUS_NO_HEAD
+0x64 MESH_MODULE_MESSAGE_OPCODE_LIGHT_CTL_TEMPERATURE_SET_NO_HEAD
+0x65 MESH_MODULE_MESSAGE_OPCODE_LIGHT_CTL_TEMPERATURE_SET_UNACKNOWLEDGED_NO_HEAD
+0x66 MESH_MODULE_MESSAGE_OPCODE_LIGHT_CTL_TEMPERATURE_STATUS_NO_HEAD
+0x67 MESH_MODULE_MESSAGE_OPCODE_LIGHT_CTL_DEFAULT_GET_NO_HEAD
+0x68 MESH_MODULE_MESSAGE_OPCODE_LIGHT_CTL_DEFAULT_STATUS_NO_HEAD
+0x69 MESH_MODULE_MESSAGE_OPCODE_LIGHT_CTL_DEFAULT_SET_NO_HEAD
+0x6A MESH_MODULE_MESSAGE_OPCODE_LIGHT_CTL_DEFAULT_SET_UNACKNOWLEDGED_NO_HEAD
+0x6B MESH_MODULE_MESSAGE_OPCODE_LIGHT_CTL_TEMPERATURE_RANGE_SET_NO_HEAD
+0x6C MESH_MODULE_MESSAGE_OPCODE_LIGHT_CTL_TEMPERATURE_RANGE_SET_UNACKNOWLEDGED_NO_HEAD
+0x6D MESH_MODULE_MESSAGE_OPCODE_LIGHT_HSL_GET_NO_HEAD
+0x6E MESH_MODULE_MESSAGE_OPCODE_LIGHT_HSL_HUE_GET_NO_HEAD
+0x6F MESH_MODULE_MESSAGE_OPCODE_LIGHT_HSL_HUE_SET_NO_HEAD
+0x70 MESH_MODULE_MESSAGE_OPCODE_LIGHT_HSL_HUE_SET_UNACKNOWLEDGED_NO_HEAD
+0x71 MESH_MODULE_MESSAGE_OPCODE_LIGHT_HSL_HUE_STATUS_NO_HEAD
+0x72 MESH_MODULE_MESSAGE_OPCODE_LIGHT_HSL_SATURATION_GET_NO_HEAD
+0x73 MESH_MODULE_MESSAGE_OPCODE_LIGHT_HSL_SATURATION_SET_NO_HEAD
+0x74 MESH_MODULE_MESSAGE_OPCODE_LIGHT_HSL_SATURATION_SET_UNACKNOWLEDGED_NO_HEAD
+0x75 MESH_MODULE_MESSAGE_OPCODE_LIGHT_HSL_SATURATION_STATUS_NO_HEAD
+0x76 MESH_MODULE_MESSAGE_OPCODE_LIGHT_HSL_SET_NO_HEAD
+0x77 MESH_MODULE_MESSAGE_OPCODE_LIGHT_HSL_SET_UNACKNOWLEDGED_NO_HEAD
+0x78 MESH_MODULE_MESSAGE_OPCODE_LIGHT_HSL_STATUS_NO_HEAD
+0x79 MESH_MODULE_MESSAGE_OPCODE_LIGHT_HSL_TARGET_GET_NO_HEAD
+0x7A MESH_MODULE_MESSAGE_OPCODE_LIGHT_HSL_TARGET_STATUS_NO_HEAD
+0x7B MESH_MODULE_MESSAGE_OPCODE_LIGHT_HSL_DEFAULT_GET_NO_HEAD
+0x7C MESH_MODULE_MESSAGE_OPCODE_LIGHT_HSL_DEFAULT_STATUS_NO_HEAD
+0x7D MESH_MODULE_MESSAGE_OPCODE_LIGHT_HSL_RANGE_GET_NO_HEAD
+0x7E MESH_MODULE_MESSAGE_OPCODE_LIGHT_HSL_RANGE_STATUS_NO_HEAD
+0x7F MESH_MODULE_MESSAGE_OPCODE_LIGHT_HSL_DEFAULT_SET_NO_HEAD
+0x80 MESH_MODULE_MESSAGE_OPCODE_LIGHT_HSL_DEFAULT_SET_UNACKNOWLEDGED_NO_HEAD
+0x81 MESH_MODULE_MESSAGE_OPCODE_LIGHT_HSL_RANGE_SET_NO_HEAD
+0x83 MESH_MODULE_MESSAGE_OPCODE_LIGHT_XYL_GET_NO_HEAD
+0x84 MESH_MODULE_MESSAGE_OPCODE_LIGHT_XYL_SET_NO_HEAD
+0x85 MESH_MODULE_MESSAGE_OPCODE_LIGHT_XYL_SET_UNACKNOWLEDGED_NO_HEAD
+0x86 MESH_MODULE_MESSAGE_OPCODE_LIGHT_XYL_STATUS_NO_HEAD
+0x87 MESH_MODULE_MESSAGE_OPCODE_LIGHT_XYL_TARGET_GET_NO_HEAD
+0x88 MESH_MODULE_MESSAGE_OPCODE_LIGHT_XYL_TARGET_STATUS_NO_HEAD
+0x89 MESH_MODULE_MESSAGE_OPCODE_LIGHT_XYL_DEFAULT_GET_NO_HEAD
+0x8A MESH_MODULE_MESSAGE_OPCODE_LIGHT_XYL_DEFAULT_STATUS_NO_HEAD
+0x8B MESH_MODULE_MESSAGE_OPCODE_LIGHT_XYL_RANGE_GET_NO_HEAD
+0x8C MESH_MODULE_MESSAGE_OPCODE_LIGHT_XYL_RANGE_STATUS_NO_HEAD
+0x8D MESH_MODULE_MESSAGE_OPCODE_LIGHT_XYL_DEFAULT_SET_NO_HEAD
+0x8E MESH_MODULE_MESSAGE_OPCODE_LIGHT_XYL_DEFAULT_SET_UNACKNOWLEDGED_NO_HEAD
+0x8F MESH_MODULE_MESSAGE_OPCODE_LIGHT_XYL_RANGE_SET_NO_HEAD
+0x90 MESH_MODULE_MESSAGE_OPCODE_LIGHT_XYL_RANGE_SET_UNACKNOWLEDGED_NO_HEAD
+0x91 MESH_MODULE_MESSAGE_OPCODE_LIGHT_LC_MODE_GET_NO_HEAD
+0x92 MESH_MODULE_MESSAGE_OPCODE_LIGHT_LC_MODE_SET_NO_HEAD
+0x93 MESH_MODULE_MESSAGE_OPCODE_LIGHT_LC_MODE_SET_UNACKNOWLEDGED_NO_HEAD
+0x94 MESH_MODULE_MESSAGE_OPCODE_LIGHT_LC_MODE_STATUS_NO_HEAD
+0x95 MESH_MODULE_MESSAGE_OPCODE_LIGHT_LC_OM_GET_NO_HEAD
+0x96 MESH_MODULE_MESSAGE_OPCODE_LIGHT_LC_OM_SET_NO_HEAD
+0x97 MESH_MODULE_MESSAGE_OPCODE_LIGHT_LC_OM_SET_UNACKNOWLEDGED_NO_HEAD
+0x98 MESH_MODULE_MESSAGE_OPCODE_LIGHT_LC_OM_STATUS_NO_HEAD
+0x99 MESH_MODULE_MESSAGE_OPCODE_LIGHT_LC_LIGHT_ONOFF_GET_NO_HEAD
+0x9A MESH_MODULE_MESSAGE_OPCODE_LIGHT_LC_LIGHT_ONOFF_SET_NO_HEAD
+0x9B MESH_MODULE_MESSAGE_OPCODE_LIGHT_LC_LIGHT_ONOFF_SET_UNACKNOWLEDGED_NO_HEAD
+0x9C MESH_MODULE_MESSAGE_OPCODE_LIGHT_LC_LIGHT_ONOFF_STATUS_NO_HEAD
+0x9D MESH_MODULE_MESSAGE_OPCODE_LIGHT_LC_PROPERTY_GET_NO_HEAD
+0x62 MESH_MODULE_MESSAGE_OPCODE_LIGHT_LC_PROPERTY_SET
+0x63 MESH_MODULE_MESSAGE_OPCODE_LIGHT_LC_PROPERTY_SET_UNACKNOWLEDGED
+0x64 MESH_MODULE_MESSAGE_OPCODE_LIGHT_LC_PROPERTY_STATUS)
+
+// status code
+(
+0x00 MESH_SUCCESS
+0x01 MESH_INVALID_ADDRESS
+0x02 MESH_INVALID_MODEL
+0x03 MESH_INVALID_APPKEYINDEX
+0x04 MESH_INVALID_NETKEYINDEX
+0x05 MESH_INSUFFICIENT_RESOURCES
+0x06 MESH_KEYINDEX_ALREAD_STORED
+0x07 MESH_INVALID_PUBLISH_PARAMETERS
+0x08 MESH_NOT_A_SUBSCRIBE_MODEL
+0x09 MESH_STORAGE_FAILURE
+0x0a MESH_FEATURE_NOT_SUPPORTED
+0x0b MESH_CANNOT_UPDATE
+0x0c MESH_CANNOT_REMOVE
+0x0d MESH_CANNOT_BIND
+0x0e MESH_TEMPORARILY_UNABLE_TO_CHANGE_STATE
+0x0f MESH_CANNOT_SET
+0x10 MESH_UNSPECIFIED_ERROR
+0x11 MESH_INVALID_BINDING
+)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+(
+0x00F0 VENDOR_MESSAGE_TMALL_DST
+)
+
+(// vendor model attribute
+0x0123 VENDOR_ATTR_COLOR_SERVER
+0x0100 VENDOR_ATTR_GENERIC_ONOFF_SERVER
+0x0121 VENDOR_ATTR_LIGHTNESS_LEVEL_SERVER
+0x0122 VENDOR_ATTR_COLOR_TEMPERATURE_SERVER
+0x0534 VENDOR_ATTR_MAIN_LIGHT_SERVER
+0x0533 VENDOR_ATTR_BACKGROUND_LIGHT_ONOFF_SERVER
+0xf004 VENDOR_ATTR_SCENE_SERVER
+)
+
+(//Timer opcode
+0x01A8 VENDOR_MESSAGE_OPCODE_COMPANY_ID
+//时间
+0xF01F VENDOR_MESSAGE_ATTR_TYPE_TIME
+//时区
+0xF01E VENDOR_MESSAGE_ATTR_TYPE_TIME_ZONE
+//对时
+0xF01D VENDOR_MESSAGE_ATTR_TYPE_ON_TIME
+//定时
+0xF010 VENDOR_MESSAGE_ATTR_TYPE_TIMING
+//周期定时
+0xF011 VENDOR_MESSAGE_ATTR_TYPE_CYCLE_TIMING
+//删除定时
+0xF012 VENDOR_MESSAGE_ATTR_TYPE_DELETE_TIMING
+
+//颜色
+0x0123 VENDOR_MESSAGE_ATTR_TYPE_COLOR
+//主灯
+0x0534 VENDOR_MESSAGE_ATTR_TYPE_MAIN_LIGHT
+//背光灯
+0x0533 VENDOR_MESSAGE_ATTR_TYPE_BACKGROUND_LIGHT
+)
+
+(//天猫event事件表
+//设备发生的事件，比如上电或者定时完成
+0xF009 VENDOR_ATTR_TYPE_EVENT_TRIGGER
+
+//天猫设备上电
+0x03 VENDOR_MESSAGE_EVENT_DEVICE_POWER_ON
+//天猫定时完成
+0x11 VENDOR_MESSAGE_EVENT_FINISH_TIMING
+)
+
+(
+0x80 VENDOR_MESSAGE_SEND_TID_MIN
+0xC0 VENDOR_MESSAGE_SEND_TID_MAX
+)
+
+(
+0x59 TIMER_CYCLICAL_FALG
+60 SECONDS_OF_MIN
+345600 SECONDS_OF_FOUR_DAYS
+604800 SECONDS_OF_WEEK
+86400 SECONDS_OF_DAY
+0x01e0 EIGHT_HOURS_TIME_ZONE_OFFSET
+
+)
+
+
+
+
+
+
+
+(
+6 ADV_PACKET_MIN_LENGTH
+37 ADV_PACKET_MAX_LENGTH
+
+1 AD_TYPE_MIN_LENGTH
+30 AD_TYPE_MAX_LENGTH
+)
+
+
+
+
+
+
+(//transport mic cache parameter
+10 TRANSPORT_MIC_CACHE_SPACE_NUM
+4 TRANSPORT_MIC_CACHE_SPACE_SIZE
+//总长度少一个space
+36 TRANSPORT_MIC_CACHE_TOTAL_SIZE
+)
+
+(
+0x00 MESH_EEP_THREE_TUPLE_OFFSET
+0x1a MESH_EEP_NETWORK_KEY_OFFSET
+0x2d MESH_EEP_APPLICATION_KEY_OFFSET
+0x3d MESH_EEP_DEVICE_KEY_OFFSET
+0x4d MESH_EEP_RESET_COUNT_OFFSET
+0x4e MESH_EEP_SEQ_OFFSET
+0x51 MESH_EEP_SUBSCRIPTION_OFFSET
+)
+
+(
+0x1a MESH_EEP_THREE_TUPLE_LENGTH
+0x13 MESH_EEP_NETWORK_KEY_LENGTH
+0x10 MESH_EEP_APPLICATION_KEY_LENGTH
+0x10 MESH_EEP_DEVICE_KEY_LENGTH
+0x01 MESH_EEP_RESET_COUNT_LENGTH
+0x03 MESH_EEP_SEQ_LENGTH
+0x10 MESH_EEP_SUBSCRIPTION_LENGTH
+0x40 MESH_EEP_SUBSCRIPTION_TOTAL_LENGTH
+)
+
+
+
+
+(//mem_mesh_advertising_unprovisioned_device_beacon_switch
+0 DEVICE_BEACON_OFF
+1 DEVICE_BEACON_ON
+)
+
+(
+//未配网广播超时10min
+0x1770	ADV_UNPROVISIONED_DEVICE_BEACON_TIMEOUT
+//未配网广播间隔500ms
+5		ADV_UNPROVISIONED_DEVICE_BEACON_INTERVAL
+//未配网广播时长120ms=20ms*6
+6		ADV_UNPROVISIONED_DEVICE_BEACON_DURATION
+
+//静默广播超时:无
+0		ADV_SILENCE_DEVICE_BEACON_TIMEOUT
+//静默广播间隔60s
+600		ADV_SILENCE_DEVICE_BEACON_INTERVAL
+//静默广播时长120ms=20ms*6
+6		ADV_SILENCE_DEVICE_BEACON_DURATION
+
+
+//配网后广播间隔
+0x54		ADV_PAIRING_MESH_MESSAGE_INTERVAL
+//配网后广播时长
+20		ADV_PAIRING_MESH_MESSAGE_DURATION
+
+10		ADV_RELAY_MESH_MESSAGE_DURATION
+)
+
+(
+0x12 MAX_APP_MSSAGE_PAYLOAD_LENGTH
+7 BIT_OF_APP_PACKAGE_NUM
+6 BIT_OF_ADV_IN_OFF
+)
+
+(
+//mesh 回复APP广播间隔24*0.625ms = 15ms
+0x15 MESH_ADV_APP_MESSAGE_INTERVAL
+//mesh回复tmall广播间隔32*0.625ms = 20ms
+0x1d MESH_ADV_TMALL_MESSAGE_INTERVAL
+)
+
+
+
+
+(
+0x2c COMMA
+-4 DECREASED_FOUR
+
+)
+
+(
+0x19 MIC_SIZE_64BIT
+0x09 MIC_SIZE_32BIT
+)
+
+
+
+
+
+
+(
+33 GATT_RECEIVE_MSG_BUFFER_SIZE
+)
+
+
+
+
+
+
+(//mem_mesh_provisioned_flag
+0 PAIRED_STATUS
+1 UNPROVISIONED_BEACON_STATUS
+2 PAIRING_STATUS
+3 SILENCE_BEACON_STATUS
+4 RECEIVED_CONFIG_APPKEY_ADD
+)
+
+(//mem_mesh_UUID_FeatureFlag
+0 BIT_SILENCE_ADV_FLAG
+)
+
+//mem Beacon Tmall Length
+(
+0x01 UNPROVISIONED_ADLEN_LENGTH
+0x01 UNPROVISIONED_ADTYPE_LENGTH
+0x01 UNPROVISIONED_DEVICE_BEACON_LENGTH
+0x10 UNPROVISIONED_DEVICE_UUID_LENGTH
+0x02 UNPROVISIONED_OOB_INFORMATION_LENGTH
+)
+
+// mem Beacon Type
+(
+0x00 UNPROVISIONED_DEVICE_BEACON
+0x01 SECURE_NETWORK_BEACON
+0x1827 MESH_PROVISIONING_UUID
+0x1828 MESH_PROXY_SERVICE
+
+)
+
+// Provisioning Type
+(
+0x00 PROVISIONING_RANDOM
+0x01 PROVISIONING_CONFIRMATION
+0x02 PROVISIONING_DATA
+0x03 PROVISIONING_COMPLETE
+0x04 PROVISIONING_CONFIG
+0x05 PROVISIONING_CONFIG_ACK
+0x06 PROVISIONING_IOS_DATA
+0x07 PROVISIONING_SEND_IOS_DATA
+)
+
+(//mem_mesh_Provisioning_State_Flag
+// FLAG bit1:Provisioning Confirmation
+1 RECEIVE_PROVISIONING_RANDOM
+2 RECEIVE_PROVISIONING_DATA
+)
+
+
+(//provisioning packet info size
+3 PROVISIONING_PACKET_LENGTH_FLAGS
+6 PROVISIONING_PACKET_LENGTH_AD_TYPE_COMPANY_ID_VID_PROVISIONING_TYPE
+5 PROVISIONING_PACKET_AD_TYPE_COMPANY_ID_VID_PROVISIONING_TYPE
+1 PROVISIONING_PACKET_LENGTH
+1 PROVISIONING_PACKET_AD_TYPE
+2 PROVISIONING_PACKET_COMPANY_ID
+1 PROVISIONING_PACKET_VID
+1 PROVISIONING_PACKET_PROVISIONING_TYPE
+//provisioning random
+2 PROVISIONING_PACKET_RANDOM_MAC
+8 PROVISIONING_PACKET_RANDOM_RANDOM_A
+8 PROVISIONING_PACKET_RANDOM_RANDOM_B
+//provisioning confirmation
+2 PROVISIONING_PACKET_CONFIRMATION_MAC
+16 PROVISIONING_PACKET_CONFIRMATION_DEVICE
+//provisioning complete
+6 PROVISIONING_PACKET_COMPLETE_MAC
+
+2 PROVISIONING_CONFIG_ACK_MAC
+1 PROVISIONING_CONFIG_ACK_FIELD
+
+)
+
+(
+0x01 PROVISIONING_CONFIG_ACK_NOTE
+)
+
+(//gatt package struct
+0 GATT_PACKAGE_MSG_ID
+1 GATT_PACKAGE_PACKAGE_NUM
+2 GATT_PACKAGE_LENGTH
+3 GATT_PACKAGE_PAYLOAD
+)
+
+(
+0x12 MAX_LENGTH_PRIVISIONING_CONTROL_MSG_ANDROID
+0x08 MAX_LENGTH_PRIVISIONING_CONTROL_MSG_IOS
+0x07 MAX_LENGTH_PRIVISIONING_PAIRING_MSG_IOS
+)
+
+(
+4 MAX_GATT_PACKAGE_NUM
+50 GATT_RECEIVE_TIMEOUT
+)
+
+
+
+
+
+(
+8 SUBSCRIPTION_MAX_COUNT
+)
+
+
+
+
+(//typedef struct of mem_mesh_element_device
+0 ELEMENT_DEVICE_GROUP_ADDR
+2 ELEMENT_DEVICE_QUEUE_BUFFER_PTR
+4 ELEMENT_DEVICE_VENDOR_TIME_PTR
+6 ELEMENT_DEVICE_SUBSCRIPTION_LABEL
+22 ELEMENT_DEVICE_UPPER_ADV_FLAG
+23 ELEMENT_DEVICE_UPPER_QUEUE_PTR
+25 ELEMENT_DEVICE_TRAN_PACKAGE_TID
+26 ELEMENT_DEVICE_TRAN_PACKAGE_TYPE
+27 SIZEOF_ELEMENT_DEVICE
+
+)
+
+
+
+(
+36 MESH_SEGMENT_SIZE
+)
+
+
+
+(
+320 MESH_TIMER_BUFFER_SIZE
+)
+
+
+(//bit map of mem_mesh_core_feature
+0 MESH_FEATURE_DISABLE_LOG
+1 MESH_FEATURE_DISABLE_RELAY
+2 MESH_FEATURE_DISABLE_SUBSCRIPTION
+3 MESH_FEATURE_DISABLE_APP_PAIRING
+)
+
+(//taobao id
+0x01a8	COMPANY_IDENTIFIERS_ALIBABA
+0x0d	ALI_MESH_VID_NUMBER
+0x0da801 COMPANY_ID_ALIBABA_AND_VID
+0x0ea801 COMPANY_ID_ALIBABA_AND_VID_GATT
+)
+
+
+(
+0x00 MESH_CODE_INIT
+0x01 MESH_RECEIVE_PROVISIONING_PACKET
+0x02 MESH_RECEIVE_PROVISIONING_RANDOM_PACKET
+0x03 MESH_SEND_PROVISIONING_CONFIRMATION_PACKET
+0x04 MESH_RECEIVE_PROVISIONING_DATA_PACKET
+0x05 MESH_SEND_PROVISIONING_COMPLETE_PACKET
+0x06 MESH_RECEIVE_PROVISIONING_FAILED_PACKET
+
+0x10 MESH_ENCRYPT_SHA256_FUNCTION_INPUT
+0x11 MESH_ENCRYPT_SHA256_FUNCTION_RESULT
+0x12 MESH_ENCRYPT_AES_CMAC_FUNCTION_INPUT_M
+0x13 MESH_ENCRYPT_AES_CMAC_FUNCTION_INPUT_K
+0x14 MESH_ENCRYPT_AES_CMAC_FUNCTION_RESULT
+
+0x20 MESH_NETWORK_RECEIVE_PACKET
+0x21 MESH_NETWORK_RELAY_PACKET
+
+0x30 MESH_LOWER_RECEIVE_PACKET
+0x40 MESH_UPPER_RECEIVE_PACKET
+0x41 MESH_UPPER_SEND_PACKET
+
+0x50 MESH_ACCESS_RECEIVE_MESSAGE
+
+0x60 MESH_PROXY_RECEIVE_MESSAGE_HANDLE
+0x61 MESH_PROXY_RECEIVE_MESSAGE
+
+0xF0 MESH_MESSAGE_GENERIC_ONOFF_SET
+0xF1 MESH_MESSAGE_SET_LIGHT_LIGHTNESS
+0xF2 MESH_MESSAGE_SET_CTL
+)
+
+(//LUA LOG 
+0xAA LUA_LOG_PACKET_HEADER
+0x03 LUA_LOG_PAKCET_TYPE
+0xBB LUA_LOG_PACKET_TRAIL
+)
+
+(//logging level
+0 LOGGING_DEBUG
+1 LOGGING_INFO
+2 LOGGING_WARNING
+3 LOGGING_ERROR
+4 LOGGING_CRITICAL
+)
+
+(
+0x1c00 mem_mesh_uart_log_rx_buff
+0x1c01 mem_mesh_uart_log_rx_buff_end
+0x1c02 mem_mesh_uart_log_tx_buff
+0x1fff mem_mesh_uart_log_tx_buff_end
+)
+
+
+
+
+
+
+
+(
+7 TRANSPORT_HEAD_BIT_SEG
+6 TRANSPORT_HEAD_BIT_AKF
+05 TRANSPORT_HEAD_BIT_AID
+7 BIT_CTL
+)
+
+
+
+
+
+
+
+
+
+
+(//Generic OnOff
+0x00 GENERIC_ONOFF_CMD_OFF
+0x01 GENERIC_ONOFF_CMD_ON
+)
+
+(//LIGHTNESS
+0xFFFF ALI_MESH_LIGHTNESS_MAX
+0x0064 ALI_MESH_LIGHTNESS_LEVEL
+)
+
+(//TEMPERATURE
+0x4E20 ALI_MESH_TEMPERATURE_MAX
+0x0320 ALI_MESH_TEMPERATURE_MIN
+0x0064 ALI_MESH_TEMPERATURE_LEVEL
+)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+(//nonce type
+0x00 NETWORK_NONCE
+0x01 APPLICATION_NONCE
+0x02 DEVICE_NONCE
+0x03 PROXY_NONCE
+)
+
+
+(
+0x00c0 GROUP_ADDRESS_0XC000_little_endian
+0xffcf GROUP_ADDRESS_0XCFFF_little_endian
+0x02c0 GROUP_ADDRESS_0XC002_little_endian
+0x07c0 GROUP_ADDRESS_0XC007_little_endian
+0x01c0 GROUP_ADDRESS_0XC001_little_endian
+0xffff GROUP_ADDRESS_0XFFFF_little_endian
+)
+
+
+(//SRC SEQ cache parameter
+10 CACHE_SPACE_NUM
+5 CACHE_SPACE_SIZE
+)
+
+(
+12 MESH_NETWORK_PACKET_MIN_LENGTH
+30 MESH_NETWORK_PACKET_MAX_LENGTH
+)
+
+(
+0 MESH_MESSAGE_TMALL
+1 MESH_MESSAGE_APP
+2 MESH_MESSAGE_PROXY
+)
+
+
+
+(
+0x00 MESH_PROXY_SERVICE_DATA_ID_TYPE_NETWORK_ID
+0x01 MESH_PROXY_SERVICE_DATA_ID_TYPE_NODE_IDENTITY
+)
+
+(
+0x00 MESH_PROXY_MESSAGE_TYPE_NETWORK_PDU
+0x01 MESH_PROXY_MESSAGE_TYPE_MESH_BEACON
+0x02 MESH_PROXY_MESSAGE_TYPE_PROXY_CONFIGURATION
+0x03 MESH_PROXY_MESSAGE_TYPE_PROVISIONING_PDU
+)
+
+(
+0x0e	MESH_PROXY_DATA_IN_HANDLE
+0x10	MESH_PROXY_DATA_OUT_HANDLE
+0x11	MESH_PROXY_ENABLE_DATA_OUT_HANDLE
+0x14	MESH_PROVISIONING_DATA_IN_HANDLE
+0x16	MESH_PROVISIONING_DATA_OUT_HANDLE
+0x17	MESH_PROVISIONING_ENABLE_DATA_OUT_HANDLE
+)
+
+
+
+
+
+
+
+
+
+
+
+
+(
+15 UNSEGMENTED_ACCESS_MESSAGE_MAX_UPPER_TRANSPORT_ACCESS_PDU_LEN
+12 SEGMENTED_ACCESS_MESSAGE_UNINT_PDU_LEN
+)
+
+(//bit of mem_mesh_upper_tran_layer_temp_packet_flag
+7 BIT_UPPER_FLAG_PROXY_CONTROL
+6 BIT_UPPER_FLAG_APP_CONTROL
+5 BIT_UPPER_FLAG_VENDOR_INDICATION
+4 BIT_UPPER_FLAG_RETRANSMIT
+//BIT3-0
+0x0f DATA_UPPER_FLAG_MAX_RETRY_COUNT
+
+2 UPPER_RETRY_COUNT_STATUS
+1 UPPER_RETRY_COUNT_INDICATION
+)
+
+(
+0 NULL_PACKET_ADVERTISING
+1 PACKET_IN_BEARER
+2 PACKET_IN_ADVERTING
+3 PACKET_RECEIVE_INDICATION
+)
+
+(
+1 UPPER_TRAN_TMALL_MESSAGE
+2 UPPER_TRAN_APP_MESSAGE
+3 UPPER_TRAN_TMALL_AND_APP
+
+0 BIT_UPPER_TRAN_TMALL_MESSAGE
+1 BIT_UPPER_TRAN_APP_MESSAGE
+2 BIT_UUPER_TRAN_PROXY_MESSAGE
+)
+
+
+
+
+//adc read
+(
+0 ADC_CONFIG_VINLPM
+1 ADC_CONFIG_HVIN
+2 ADC_CONFIG_GPIO
+)
+
+
+(
+0 QUEUE_OFFSET_EACH_SIZE
+1 QUEUE_OFFSET_LENGTH
+2 QUEUE_OFFSET_CURR_NUM
+3 QUEUE_OFFSET_READ_PTR
+4 QUEUE_OFFSET_WRITE_PTR
+5 QUEUE_OFFSET_ELE_INIT_ADDR
+)
+(
+//Flash Register
+0x05 FLASH_READ_SATUS
+
+// Flash Status Register
+0x00 FLASH_STATUS_WIP
+0X01 FLASH_STATUS_WEL
+0X02 FLASH_STATUS_BP0
+0X03 FLASH_STATUS_BP1
+
+//Flash Write Sm
+0X00 FLASH_SM_NO_BUYS
+0X01 FLASH_SM_START
+0X02 FLASH_SM_ERASE_SECTOR
+0X03 FLASH_SM_WAIT_ERASE_SECTOR
+0X04 FLASH_SM_WRITE_DATA
+0X05 FLASH_SM_WAIT_WRITE_DATA
+
+
+//Flash Command
+0x02 FLASH_COMMAND_WRITE_DATA
+0x03 FLASH_COMMAND_READ_DATA
+0x06 FLASH_COMMAND_WRITE_ENABLE
+0x20 FLASH_COMMAND_SECTOR_ERASE
+0xAB FLASH_COMMAND_RELEASE_FROM_POWERDOWN
+0xB9 FLASH_COMMAND_POWERDOWN
+
+)
+
+
+//efuse 
+(
+0x00 EFUSE_OFFSET_UCODE	//1B
+0X01 EFUSE_OFFSET_DEVICE_LOCK
+0x02 EFUSE_OFFSET_PERIPHERALS_LOCK
+0X03 EFUSE_OFFSET_OFFSET
+
+0x2b EFUSE_OFFSET_HCI_BOOT_CLKSEL	//bit7
+0x2b EFUSE_OFFSET_LOADCODE_DELAY	 //bit6
+0x2b EFUSE_OFFSET_DIG_AON_VSEL	//bit5-4
+0x2b EFUSE_OFFSET_DEVICE_OPTION	//bit3-0
+0x2c EFUSE_OFFSET_XTAL_OFFSET	//0x813a
+0x2d EFUSE_OFFSET_XTAL_CNT	//0x813c
+0x2e EFUSE_OFFSET_AGC_TABLE	//2B
+0x30 EFUSE_OFFSET_ADC_PARAM	//bit7-4
+0x30 EFUSE_OFFSET_APP_VSEL	//bit3-0
+0x31 EFUSE_OFFSET_AGC_SEL	//bit7 agc sel
+0x31 EFUSE_OFFSET_AGC_SEC_EN	//bit6 agc second en 0x8960[3]
+0x31 EFUSE_OFFSET_LDO_CFG1	//bit5-4:0x8a0d[2:0]
+0x31 EFUSE_OFFSET_TX_VCO_CURRENT //bit3-0:0x8a87[3:0]
+0x32 EFUSE_OFFSET_RC_CAL	//0x8a6c
+0x33 EFUSE_OFFSET_ADC		//9B
+0x3c EFUSE_OFFSET_KEY_ADDR	//4B
+
+//EFUSE_OFFSET_PERIPHERALS_LOCK
+0 EFUSE_SPI_LOCK_BIT
+1 EFUSE_SPI2_LOCK_BIT
+2 EFUSE_UART_LOCK_BIT
+3 EFUSE_UARTB_LOCK_BIT
+4 EFUSE_IIC_LOCK_BIT
+6 EFUSE_LE_LOCK_BIT
+7 EFUSE_BR_LOCK_BIT
+)
+
+
+(
+0	eeprom_nv_ram
+
+)
+
+
+(
+0 APP_HANDSHAKE_NULL
+1 APP_HANDSHAKE_DONE
+
+)
+
+(
+1 dvc_op_hci
+2 dvc_op_esl
+4 dvc_op_dongle
+5 dvc_op_test
+8 dvc_op_mouse
+9 dvc_op_shutter
+0x0a dvc_op_module
+0x0b dvc_op_ali_mesh
+0x0c dvc_op_hci_boot
+0x0d dvc_op_remote_car
+0x0e dvc_op_car
+0x0f dvc_op_antilost
+   
+)
+
+(
+3 UCODE_FLAG_ENC
+2 UCODE_FLAG_SKIP_EEP
+1 UCODE_FLAG_SKIP_FLASH
+0 UCODE_FLAG_HCI
+)
+
+
+(
+7 gpio_active_bit
+)
+(
+2 HID_HANDSHAKE_TIMEOUT
+
+)
+
+(
+1 APP_FLAG_RECONNECT
+)
+(
+5 LPM_WAKE_UP_DELAY_TIMER
+)
+
+
+//mem_app_disconn_reason
+//mem_app_disconn_reason_flag
+//bit map
+(
+2 APP_DISC_RSN_SIZE
+)
+(
+0 APP_DISC_BY_BUTTON
+1 APP_DISC_AFTER_PAIRING
+2 APP_DISC_AFTER_RECONN
+3 APP_DISC_AFTER_SNIFF
+4 APP_DISC_AFTER_SETUP_DONE
+5 APP_DISC_AFTER_HANDSHAKE
+6 APP_DISC_BT
+7 APP_DISC_BLE
+8 APP_DISC_L2CAP_REFUSED
+9 APP_DISC_SWITCH_FAIL
+)
+//eeprom init flag
+(
+0xaa55 EEPROM_INIT_FLAG
+)
+
+(
+1 KEY_CONF_STRUCT_LEN
+0 KEY_PIN_OFFSET
+)
+
+(
+12000000 PWM_12MHZ
+24000000 PWM_24MHZ
+33000 PWM_33KHZ
+)
+(
+0 POWER_OFF
+1 POWER_STARTING
+2 POWER_STANDBY
+)
+//power parameter offset(8 byte)
+(
+0 power_state_offset
+1 power_timer_offset
+2 power_off_timeout_offset
+3 power_starting_timeout_offset
+4 power_off_cb_offset
+6 power_starting_cb_offset
+8 power_standby_cb_offset
+10 ui_butten_up_cb_offset
+)
+
+
+//auth rom address
+(
+0x9000 mem_b_box
+0x9100 mem_e_box
+0x9200 mem_l_box
+0x9300 memk
+0x9400 mem_theta
+0x9420 mem_local_sig
+0x9fff mem_sim_slave
+//mouse
+0x9468 MOUSE_BT_SDP_ADDR
+0x9732 MOUSE_BLE_ATT_LIST_ADDR
+//dongle
+0x99A4 USB_KBDATA_VENDOR_DEFINE_ADDR
+0x99BF USB_KBDATA_ADDR
+0x99FF USB_MSDATA_ADDR
+0x9AA3 USB_DEVICEDATA_ADDR
+0x9AB6 USB_CONFDATA_ADDR
+//shutter
+0x9AF2 BLE_SHUTTER_GATT_LIST
+0x9C70 CLASSIC_SHUTTER_SDP_LIST
+0x9E57 BLE_SHUTTER_KEY_VALUE_LIST
+0x9E7F CLASSIC_SHUTTER_KEY_VALUE_LIST
+//car
+0x9EA7 BLE_CAR_ATT_LIST
+//tx power list
+//0x9F73 TX_POWER_LIST
+)
+
+
+
+(//NEC 61212
+9000 NEC61212_BOOT_CODE_START_TIME
+4500 NEC61212_BOOT_CODE_END_TIME
+
+9000 NEC61212_REPEAT_START_TIME
+2250 NEC61212_REPEAT_END_TIME
+
+560 NEC61212_DATA_BIT_1_START_TIME
+1690 NEC61212_DATA_BIT_1_END_TIME
+
+560 NEC61212_DATA_BIT_0_START_TIME
+560 NEC61212_DATA_BIT_0_END_TIME
+
+560 NEC61212_STOP_TIME
+
+42580 NEC61212_DATA2REPEAT_TIME
+98190 NEC61212_REPEAT2REPEAT_TIME
+
+0xffff NEC61212_TIMEOUT_TIME
+)
+
+
+(
+0 ADC_GPIO_4
+1 ADC_GPIO_5
+2 ADC_GPIO_6
+3 ADC_GPIO_7
+4 ADC_GPIO_9
+5 ADC_GPIO_10
+6 ADC_GPIO_11
+7 ADC_GPIO_12
+)
+
+
+//app new specific
+(
+0 CONN_PARAM_UPDATA_PROCEDURE_NO_INIT
+1 CONN_PARAM_UPDATA_PROCEDURE_STARTING
+2 CONN_PARAM_UPDATA_PROCEDURE_COMPLETE
+3 CONN_PARAM_UPDATA_PROCEDURE_FAILD
+)
+(
+0 NEW_SPEC_HEADER_OFFSET
+2 NEW_SPEC_OPCODE_OFFSET
+3 NEW_SPEC_DLEGTH_OFFSET  //data length offset
+5 NEW_SPEC_DADDR_OFFSET   //data address offset
+)
+(
+1 OPCODE1_BUTTEN_CLICK_ONCE
+2 OPCODE2_BUTTEN_DOUBLE_CLICK
+3 OPCODE3_ANTL_START_ALRAM
+4 OPCODE4_CURRENT_ALARM_STATE
+5 OPCODE5_BATTER_INFORMATION
+7 OPCODE7_ANTL_CONFIG_ALRAM
+)
+(
+0x0a NEW_SPEC_NOTIFY_HANDLE
+0x0b NEW_SPEC_NOTIFICATION_ENABLE_HANDLE
+0x0d NEW_SPEC_WRITE_HANDLE
+)
+//app new specific end
+
+//mem_anti_lost_mode
+(
+0x01 ANTI_LE_ALARM_ON
+0x00 ANTI_LE_ALARM_OFF
+)
+(
+0 NOTIFICATION_ENABLE_BIT
+1 INDICATION_ENABLE_BIT
+)
+
+
+
+
+(
+//20ms
+0x0020	FAST_ADV_INTERVAL_VALUE_CAR
+)
+
+(
+0x14 ATT_CAR_CONTROL_HANDLE
+0x14 ATT_SPEED_SET_HANDLE
+)
+
+
+(
+0 TURN_FRONT
+1 TURN_LEFT
+2 TURN_RIGHT
+0 MOTOR_STOP
+1 GO_FRONT
+2 GO_BACK
+0x6b5a LE_RECEIVE_PACKET_HEAD
+)
+
+(
+0 FLAG_IR_DISABLE
+1 FLAG_IR_ENABLE
+)
+
+(
+0 DEVICE_CAR
+1 DEVICE_TANK
+2 DEVICE_BATTLE_CAR
+3 DEVICE_BATTLE_TANK
+4 DEVICE_REMOTE
+)
+
+(
+0 F_B_MOTOR
+1 L_R_MOTOR
+2 F_B_BATTERY
+3 L_R_BATTERY
+)
+
+(
+0 CAR_WORK	   		//connect mode normal
+1 CAR_BIND			//code pair mode
+2 CAR_TEST			//test mode
+3 CAR_CODE			//PC_application
+4 CAR_PCBA			//PCBA_TEST
+5 CAR_DEBUG
+6 CAR_MODE_MAX
+7 CAR_SEARCH
+)
+
+(
+1 SPEED_LEVEL_1
+2 SPEED_LEVEL_2
+3 SPEED_LEVEL_3
+4 SPEED_LEVEL_4
+5 SPEED_LEVEL_5
+6 SPEED_LEVEL_6
+7 SPEED_LEVEL_7
+8 SPEED_LEVEL_8
+9 SPEED_LEVEL_9
+10 SPEED_LEVEL_10
+)
+
+(
+0 PWM0_DUTY_SETTING
+1 PWM1_DUTY_SETTING
+2 PWM2_DUTY_SETTING
+)
+
+(
+1 CAR_CMD_BATTERY
+2 CAR_CMD_OLD_CAR_CONTROL
+3 CAR_CMD_OLD_SPEED_CONTROL
+4 CAR_CMD_L_R_MOTOR_CONTROL
+5 CAR_CMD_F_B_MOTOR_CONTROL
+6 CAR_CMD_IR_CONTROL
+7 CAR_CMD_LED_CONTROL
+8 CAR_CMD_DEVICE_INFO
+)
+
+(
+0 CAR_REMOTE_CHECK_BUTTON
+1 CAR_REMOTE_CHECK_ROCKER
+)
+
+(
+0x11 CAR_NOTIFY_HANDLE
+)
+
+(
+0 LED_OFF
+1 LED_ON
+2 LED_BLINK
+0xFF LED_INVALID
+)
+
+(
+0xFF INVALID_PIN_NUM
+)
+
+
+(
+0 POWER_ON
+1 WORK_PAIRED
+2 WORK_SEARCH
+)
+
+
+
+
+
+
+
+//eeprom address offset
+(
+0x5A DONGLE_KB_BIND_SUCCESS
+0x00 DONGLE_KB_BIND_EEPROM_OFFECT
+0x2A DONGLE_KB_BIND_EFUSE_OFFECT
+)
+
+(
+5 WORK_MODE_DELAY
+7 BIND_MODE_DELAY
+)
+
+(
+0 DONGLE_WORK	   		//connect mode normal
+1 DONGLE_BIND			//code pair mode
+2 DONGLE_TEST			//test mode
+3 DONGLE_CODE			//PC_application
+4 DONGLE_PCBA			//PCBA_TEST
+5 DONGLE_DEBUG
+6 DONGLE_MODE_MAX
+7 DONGLE_SEARCH
+0 CLEAR_INIT
+)
+
+
+(
+0xa0 COMMAND_MODE     //BYTE 0
+0x81 COM_MODE_BIND	//BYTE 1
+0x82 COM_MODE_TEST	//BYTE 1
+)
+(
+0xa1 COMMAND_BIND		//BYTE 0
+0x01 COM_BIND_GET		//1
+0x84 COM_BIND_EXIT		//1
+0xa7 COM_READ_MODE		//1
+)
+(
+0xa2 COMMAND_TEST	//BYTE 0
+0x81 COM_TEST_SC		//	进入单载波
+0x82 COM_TEST_CD		// fcc测试
+0x83 COM_TEST_DAT		// 数据测试
+0x84 COM_TEST_LOW_CH  //低频点
+0x85 COM_TEST_MID_CH	//中频点
+0x86 COM_TEST_HIG_CH	//高频点
+0x87 COM_TEST_SW_HIG	//自动切换频点为高 1mhz
+0x88 COIM_TEST_SW_LOW	//自动切换频点为低 1mhz
+0x89 COM_TEST_SW_STOP	//停止自动切换频点
+0x8a COM_TEST_POW_5		//设置输出功率5dbm
+0x8b COM_TEST_POW_0		//0dbm
+0x8c COM_TEST_POW_N5		//-5dbm
+0x8d COM_TEST_POW_N10		//-10dbm
+0x8e COM_TEST_EXIT			//退出测试模式
+)
+(
+0xa6 COMMAND_CURRENT_PROJECT
+0xa7 COMMAND_CURRENT_MODE
+0xa9 COMMAND_CURRENT_FW_VERSION
+0xb0 COMMAND_USER_DEFINED		//user defined cmd
+)
+
+(
+0x15 PRODUCT_ID
+0 FW_VERSION0
+0 FW_VERSION1
+1 FW_VERSION2
+7 FW_VERSION3
+)
+
+(
+8 TIMER_NODATA
+640 TIMER_NODATA_DELAY	//200ms
+
+11 TIMER_MS_BLANK
+384 TIMER_MS_BLANK_DELAY
+
+12 TIMER_KB_MUL_BLANK
+384 TIMER_KB_MUL_BLANK_DELAY
+
+14 TIMER_KB_BLANK
+384 TIMER_KB_BLANK_DELAY
+)
+
+(
+0 KB_NORMAL_REPORT_ID
+1 MS_REPORT_ID
+2 KB_SYSTEM_CONCTRL_REPORT_ID
+3 KB_MULTIKEY_REPORT_ID
+)
+
+
+(
+0x01 BIND_ACKPAYLOAD
+0x03 KB_LED_ACKPAYLOAD
+)
+
+//mem_dg_sys_config
+(
+7 DG_ENABLE_XTAL_24M
+6 DG_ENABLE_NEW_CHMAP
+5 DG_ENABLE_EEPROM
+4 DG_ENABLE_KB_ICON
+//bit3-0
+//tx power
+)
+
+
+
+
+
+
+(//mem_module_flag
+//bit0~bit7 config module function
+0 MODULE_FLAG_UART_FLOW_CONTROL
+1 MODULE_FLAG_BLE_SEND_MTU23
+2 MODULE_FLAG_BLE_DATA_ENCRYPT
+
+//bit8~bit15 module states change
+8 MODULE_FLAG_BLE_DATA_FINISH
+9 MOUDLE_TASK_UNSNIFF
+10 MOUDLE_TASK_SNIFF
+
+)
+
+(
+34 NV_DATA_LEN
+-1 DECREASED_ONE
+)
+
+
+
+(
+	5 FLAG_MODULE_READ_VDD_COUNT
+)
+
+(
+	0x200 UART_AIR_CONTROL_THRESHOLD
+)
+
+(
+0x01 HCI_DISCARD_PACKET
+0x00 HCI_NOT_DISCARD_PACKET
+)
+
+
+
+(//Command
+0x00 HCI_CMD_SET_BT_ADDR_REQ
+0x01 HCI_CMD_SET_LE_ADDR_REQ
+0x02 HCI_CMD_SET_VISIBILITY_REQ
+0x03 HCI_CMD_SET_BT_NAME_REQ
+0x04 HCI_CMD_SET_LE_NAME_REQ
+0x05 HCI_CMD_SPP_DATA_REQ
+0x09 HCI_CMD_LE_DATA_REQ
+0x0b HCI_CMD_STATUS_IRQ
+0x0c HCI_CMD_SET_PAIRING_REQ
+0x0d HCI_CMD_SET_PINCODE_REQ
+0x0e HCI_CMD_SET_UARTCONTROL_REQ
+0x0f HCI_CMD_SET_UART_BAUD_REQ
+0x10 HCI_CMD_VERSION_REQ
+0x11 HCI_CMD_BT_DISCONNECT
+0x12 HCI_CMD_BLE_DISCONNECT
+0x13 HCI_CMD_DELETE_DEVICE
+0x14 HCI_CMD_CREATE_CONNECT
+0x15 HCI_CMD_SET_COD
+0x26 HCI_CMD_SET_NVRAM_REQ
+0x27 HCI_CMD_SLEEP
+0x28 HCI_CMD_CONFIRM_GKEY
+0x29 HCI_CMD_SET_CREDIT_GIVEN
+0x2a HCI_CMD_AUTO_ADV_SCAN
+0x2b HCI_CMD_POWER_REQ
+0x2c HCI_CMD_POWER_SET
+0x30 HCI_CMD_PASSKEY_ENTRY
+0x31 HCI_CMD_SET_GPIO
+0x32 HCI_CMD_READ_GPIO
+0x33 HCI_CMD_LE_SET_PAIRING
+0x34 HCI_CMD_LE_SET_ADV_DATA
+0x35 HCI_CMD_LE_SET_SCAN_DATA
+0x36 HCI_CMD_LE_SEND_CONN_UPDATE_REQ
+0x37 HCI_CMD_LE_SET_ADV_PARM
+0x38 HCI_CMD_LE_START_PAIRING
+0x40 HCI_CMD_SET_WAKE_GPIO
+0x42 HCI_CMD_SET_TX_POWER
+0x43 HCI_CMD_BOOT_VERSION_REQ
+0x48 HCI_CMD_LE_CONFIRM_GKEY
+0x49 HCI_CMD_REJECT_JUSTWORK
+0x51 HCI_CMD_RESET_CHIP_REQ
+
+0x61 HCI_CMD_LE_SET_FIXED_PASSKEY
+
+0x76 HCI_CMD_DELETE_CUSTOMIZE_SERVICE
+0x77 HCI_CMD_ADD_SERVICE_UUID
+0x78 HCI_CMD_ADD_CHARACTERISTIC_UUID
+0x7a HCI_CMD_PASSKEY_ENTRY_INPUT
+
+0x90 HCI_CMD_BLE_SET_PHY
+0x91 HCI_CMD_BLE_READ_CURRENT_PHY
+0x92 HCI_CMD_BLE_SET_DLE
+0x93 HCI_CMD_READ_CHIP_DATA
+0x94 HCI_CMD_WRITE_CHIP_DATA
+
+0xa0 HCI_CMD_GET_LPM_CTRIM
+0xa1 HCI_CMD_SET_LPM_CTRIM
+0xa2 HCI_CMD_GET_LE_CONN_PARM
+
+0xff HCI_CMD_CLOSE_LPM
+)
+
+(//event
+0x00 HCI_EVENT_SPP_CONN_REP
+0x01 HCI_EVENT_HID_CONN_REP
+0x02 HCI_EVENT_LE_CONN_REP
+0x03 HCI_EVENT_SPP_DIS_REP
+0x04 HCI_EVENT_HID_DIS_REP
+0x05 HCI_EVENT_LE_DIS_REP
+0x06 HCI_EVENT_CMD_RES
+0x07 HCI_EVENT_SPP_DATA_REP
+0x08 HCI_EVENT_LE_DATA_REP
+0x09 HCI_EVENT_STANDBY_REP
+
+0x0a HCI_EVENT_STATUS_RES
+
+0x0D HCI_EVENT_NVRAM_REP
+0x0e HCI_EVENT_GKEY
+0x0F HCI_EVENT_INVALID_PACKET
+0x10 HCI_EVENT_GET_PASSKEY
+0x11 HCI_EVENT_LE_TK
+0x12 HCI_EVENT_REMOTE_MTU
+0x14 HCI_EVENT_LE_PAIRING_STATE
+0X15 HCI_EVENT_LE_ENCRYPTION_STATE
+0x17 HCI_EVENT_LE_CONNECTION_UPDATE
+0x1d HCI_EVENT_LE_GKEY
+0x29 HCI_EVENT_UUID_HANDLE
+0x2b HCI_EVENT_LE_INPUT_GKEY
+
+0x40 HCI_BLE_UPDATE_PHY_EVENT
+)
+
+
+(//command HCI_CMD_SET_GPIO
+//byte 0
+0x00 HCI_CMD_CONFIG_GPIO_INPUT
+0x01 HCI_CMD_CONFIG_GPIO_OUTPUT
+//byte 1 input state
+0x00 GPIO_INPUT_PULLUP
+0x01 GPIO_INPUT_PULLDOWN
+0x02 GPIO_INPUT_HIGH_IMPEDANCE
+)
+
+
+
+(
+0x7e0 OTP_ADDR_RF_PARAM_FIX
+//struct of RF_PARAM_FIX
+// uint8       //length = param_pair_count * 2 
+// uint16     //param-pair-1
+// uint16     //param-pair-2
+// uint16     //param-pair-3
+// uint16     //param-pair-4
+// uint16     //param-pair-5
+// uint16     //param-pair-6
+// uint16     //param-pair-7
+)
+
+(
+0	BR_PAIRING_MODE_PINCODE
+1	BR_PAIRING_MODE_JUSTWORK
+2	BR_PAIRING_MODE_PASSKEY
+3	BR_PAIRING_MODE_NUMERIC
+
+0x81 BR_PAIRING_MODE_SECURE_CONNECT_JUSTWORK
+0x82 BR_PAIRING_MODE_SECURE_CONNECT_PASSKEY
+0x83 BR_PAIRING_MODE_SECURE_CONNECT_NUMERIC
+)
+
+
+(
+0x0001	FLAG_BT_PAIRING_SUCCESS
+0x0101	FLAG_BT_PAIRING_FAIL
+0x0080	FLAG_BLE_PAIRING_SUCCESS
+0x0180	FLAG_BLE_PAIRING_FAIL
+)
+
+
+(
+1	FLAG_EVENT_START_ENC
+0	FLAG_EVENT_PAUSE_ENC
+)
+
+(
+0 MOUDLE_STATE_BT_BIT
+1 MOUDLE_STATE_BLE_BIT
+)
+
+(
+5 BIT_OF_NOTIFY_AUTHENTICATED
+6 BIT_OF_READ_AUTHENTICATED
+7 BIT_OF_WRITE_AUTHENTICATED
+)
+
+
+//dpi eeprom addr
+
+
+
+
+(
+//combination
+0x01 MOUSE_L_BUTTON
+0X02 MOUSE_R_BUTTON
+0x03 MOUSE_LR_BUTTON
+0X04 MOUSE_M_BUTTON
+0X05 MOUSE_LM_BUTTON
+0X06 MOUSE_RM_BUTTON
+0X07 MOUSE_LMR_BUTTON
+0x09 MOUSE_L_BK_BUTTON
+0x14 MOUSE_M_FW_BUTTON
+0X18 MOUSE_BK_FW_BUTTON
+//mouse default gpio
+0x1B MOUSE_DEFAULT_XA_GPIO
+0x1C MOUSE_DEFAULT_XB_GPIO
+
+//ui led blink
+0X00C8  LED_RECONNECT_BLINK //200
+0X0190  LED_DPI_BLINK //400
+0X03E8  LED_DPI_BLINK_FIXED    //1000
+0X03E8  LED_DISCOVERY_BLINK    //1000
+0XFF    LED_LONG_BLINK
+0x05	LED_SENSOR_BLINK_CNT
+//mode device number
+0x00 MODE_24G_DEVICE
+0x01 MODE_BT_DEVICE1
+0x02 MODE_BT_DEVICE2
+0x03 MODE_BT_DEVICE3
+//mouse  flag
+0X00 WRITE_REQ_ENABLE_FLAG
+0X01 LL_START_ENC_FLAG
+0X02 LL_PAIRING_SUCCESS_FLAG
+
+
+//mouse_function_flag
+0x08 MOUSE_FLAG_LEN
+//byte 1
+0x00 MOUSE_SELECT_DEVICE_FLAG
+0x01 MOUSE_24G_PAIRING_FLAG
+0x02 MOUSE_STORE_EEPROM_FLAG
+0x03 MOUSE_BT_CANNEL_RECONN_FLAG
+0x04 MOUSE_LOW_VOLTAGE_FLAG
+0x05 MOUSE_BT_DISCOVERY_BUTTON_DOWN_FLAG
+0x06 MOUSE_BT_DISCOVERY_BUTTON_LONG_DOWN_FLAG
+
+//byte 2
+0x08 MOUSE_ENABLE_BLE_RANDOM_ADDRE
+0x09 MOUSE_ENABLE_2K_EEPROM
+0x0a MOUSE_ENABLE_INIT_DELAY
+0x0b MOUSE_ENABLE_WAKEUP_FROM_POWER
+0x0c MOUSE_ENABLE_16M
+0x0d MOUSE_ENABLE_USB
+
+//byte 3
+0x10 MOUSE_ENABLE_SPI2
+0x11 MOUSE_ENABLE_24G
+0x12 MOUSE_ENABLE_FLASH
+0x13 MOUSE_ENABLE_EEPROM
+0x14 MOUSE_ENABLE_ADC
+0x15 MOUSE_ENABLE_KEYBOARD
+0x16 MOUSE_ENABLE_24G_SEARCH_DONGLE
+
+//byte 4
+0x18 MOUSE_ENABLE_24G_250Hz
+0x19 MOUSE_ENABLE_24G_500Hz
+0x1a MOUSE_ENABLE_24G_1000
+0x1b MOUSE_ENABLE_BT_125Hz
+0x1c MOUSE_ENABLE_DPI_LEVEL_4
+0x1d MOUSE_ENABLE_USB_250
+0x1e MOUSE_ENABLE_USB_500
+0x1f MOUSE_ENABLE_USB_1000
+
+//byte 5
+0x20 MOUSE_ENABLE_POWER_ON_LED
+0x21 MOUSE_ENABLE_LOW_VOLTAGE_LED
+0x22 MOUSE_ENABLE_LOW_VOLTAGE_USE_MODE_LED
+0x23 MOUSE_ENABLE_LOW_VOLTAGE_LED_BLINK_N_SECOND
+0x24 MOUSE_ENABLE_4_LED
+0x25 MOUSE_ENABLE_DPI_FOR_4_LED
+0x26 MOUSE_ENABLE_BT2_FOR_4_LED
+0x27 MOUSE_ENABLE_LOW_V_FOR_4_LED
+
+
+//byte 6
+0x28 MOUSE_ENABLE_SELECT_DEVICE_BY_DPI_BUTTON
+0x29 MOUSE_ENABLE_SELECT_DEVICE_BY_PB_BUTTON
+0x2a MOUSE_ENABLE_SELECT_DEVICE_BY_SWITCH_GPIO
+0x2b MOUSE_ENABLE_SELECT_DEVICE_BY_SWITCH_ADC
+0x2c MOUSE_ENABLE_DPI_KEY_CONNECT_GND
+0x2d MOUSE_ENABLE_PB_BUTTON_CONNECT_GND
+0x2e MOUSE_ENABLE_DPI_KEY_CONNECT_ADC
+0x2f MOUSE_ENABLE_24G_FIRST_AUTO_PAIRING
+//byte 7 
+0x30 MOUSE_ENABLE_AUTO_24G_PARING
+0x31 MOUSE_ENABLE_24G_POWER_ON_PAIRING
+0x32 MOUSE_ENABLE_COMMBINATION_KEY_BY_24G_PAIRING
+0x33 MOUSE_ENABLE_BT_RECONNECT_TIMEOUT_ENTER_DISCOVERY
+0x34 MOUSE_ENABLE_PB_BUTTON_SHORT_PRESS_ENTER_DISCOVERY
+0x35 MOUSE_ENABLE_COMMBINATION_KEY_BY_BT_DISCOVERY
+0x36 MOUSE_ENABLE_DPI_KEY_LONG_PRESS_DISCONVERY
+0x37 MOUSE_ENABLE_PB_BUTTON_LONG_PRESS_DISCONVERY
+
+//byte 8
+0x38 MOUSE_ENABLE_SMOOTHER
+0x39 MOUSE_ENABLE_XY_OFFSET
+
+//mouse dpi level
+0x00 MOUSE_DPI_LEVEL1
+0x01 MOUSE_DPI_LEVEL2
+0x02 MOUSE_DPI_LEVEL3
+0x03 MOUSE_DPI_LEVEL4
+
+
+//mouse sensor angle
+0x00 MOUSE_6CLK_ANGLE
+0X01 MOUSE_9CLK_ANGLE
+0X02 MOUSE_12CLK_ANGLE
+0X03 MOUSE_3CLK_ANGLE
+
+
+
+0xFF GPIO_DISABLE
+
+//DPI button state 
+0x00 DPI_BUTTON_STATE_UP
+0x01 DPI_BUTTON_STATE_DOWN
+
+
+//PB button state 
+0x00 PB_BUTTON_STATE_UP
+0x01 PB_BUTTON_STATE_DOWN
+
+//Commbination_key state 
+0x00 COMMBINATION_KEY_STATE_UP
+0x01 COMMBINATION_KEY_STATE_DOWN
+
+
+//eeprom address offect
+0X00 MOUSE_INFO_EEPROM_OFFECT
+0x58 MOUSE_STORE_FLAG
+0X5A MOUSE_DPI_EEPROM_OFFECT	//1byte
+0X5B MOUSE_G24_ADDR_EEPROM_OFFECT	//4bytes
+0X5F MOUSE_RANDOM_ADDR_COUNT_EEPROM_OFFSET	//2bytes
+0X61 MOUSE_EEPROM_MODULE_INIT_FLAG
+
+// Sensor id number
+0x30 P32XX_ID1
+0x31 P3065_ID1
+0x02 P3212_ID2
+0xD1 P3205_TJ3T_ID2
+0XD2 P3204_TJ3L_ID2
+0x54 PKA8_ID2
+0x70 P3065_XY_ID2
+0x00 P3065_ID2
+0x5a P_MX8650
+0xD8 P8009_ID2
+0x50 P6520A_ID2
+0x58 PKA8G2_ID1
+0x59 PKA8G2_ID2
+
+
+//Sensor type
+0X00 P3205
+0X01 P3065
+0X02 P3204
+0X03 P3212
+0X04 P3065_XY
+0x05 MX8650
+0x06 P8009
+0x07 P6520
+0X08 KA8
+0X09 KA8_UL
+0X0a KA8_HD
+0X0b KA8G2
+
+
+//SENSOR REG
+0x00 PAN_REG_PID_L
+0x01 PAN_REG_PID_H
+0x02 PAN_REG_MOTION_STAUS
+0x03 PAN_REG_DELTA_X
+0x04 PAN_REG_DELTA_Y
+0x05 PAN_REG_OPRATION_MODE
+0x06 PAN_REG_CONFIG
+0x07 PAN_REG_IMAGE_QUALITY
+0x08 PAN_REG_OPRATION_STATE
+0x09 PAN_REG_WRITE_PROTECT
+0x0A PAN_REG_SLEEP_1
+0x0B PAN_REG_ENTER_TIME
+0x0C PAN_REG_SLEEP_2
+0x0D PAN_REG_IMAGE_THRESHOLD
+0x0E PAN_REG_IMAGE_RECGNITION
+
+
+0x06 MOUSE_DPI_ADDRESS
+0x05 MOUSE_P3610_DPI_ADDRESS
+0x0D MOUSE_P3212_DPI_XADDRESS
+0x0E MOUSE_P3212_DPI_YADDRESS
+
+)
+
+(
+0x01 ADV_FLAG_LIMITED_DISCOVERABLE
+0x04 ADV_FLAG_BREDR_NOT_SUPPORTED
+)
+
+(
+2 BIT_POWER_ON
+)
+//device option low 2
+(
+0 MODE_3_MOUSE
+1 MODE_4_MOUSE
+)
+
+
+(
+10 LE_LPM_DISABLE_TO
+1 LE_LPM_DISABLE
+0 LE_LPM_ENABLE
+
+12 LE_INTERVAL_15MS
+9 LE_INTERVAL_11_25MS//11.25ms
+7 LE_INTERVAL_8_75MS//8.75ms
+6 LE_INTERVAL_7_5MS//7.5ms
+12 CLASSIC_INTERVAL_7_5MS
+14 CLASSIC_INTERVAL_8_75MS
+18 CLASSIC_INTERVAL_11_25MS
+)
+
+(
+0x00 MOUSE_L_KEY
+0x01 MOUSE_R_KEY
+0x02 MOUSE_M_KEY
+0x03 MOUSE_BK_KEY
+0x04 MOUSE_FW_KEY
+0x05 MOUSE_DPI_KEY
+0x06 MOUSE_PB_KEY
+0x07 MOUSE_CUSTOMER_KEY
+)
+
+
+(
+0 G24_DISCONN_STATE
+1 G24_CONN_STATE
+
+8 G24_CH_NUMBER
+16 G24_CH_POLL_COUNT
+)
+
+(
+0 MOUSE_ADC_CHECK_BATTERY_ONLY
+1 MOUSE_ADC_CHECK_MULTIPLE
+2 MOUSE_ADC_CHECK_GPIO_MULTIPLE
+3 MOUSE_ADC_CHECK_VINLPM_MULTIPLE
+)
+
+
+(
+0x5a MOUSE_USB_INTERFACE_INSERT
+0xa5 MOUSE_USB_INTERFACE_REMOVE
+)
+
+(
+0x10 MOUSE_BLE_L2CAP_TXBUFF_SIZE
+)
+
+(
+0 MOUSE_ADC_ENABLE
+1 MOUSE_SEARCH_DONGLE_ENABLE
+2 MOUSE_24G_250HZ_ENABLE
+3 MOUSE_CLK_16M_ENABLE
+4 MOUSE_DPI_4_LEVEL_ENABLE
+5 MOUSE_KEYBOARD_ENABLE
+
+7 MOUSE_DEVICE_NUMBER_FLAG
+)
+
+
+
+
+(
+// eeprom config
+0xb0 REMOTE_PARAM_EEPROM_CONFIG_ADDR
+//eeprom address offect
+0X00 REMOTE_INFO_EEPROM_OFFECT
+
+)
+
+
+(
+0x00 CONTROL_F_B_MOTOR
+0x02 CONTROL_L_R_MOTOR
+)
+
+(
+0x00 KEY_MAP_TEN
+0x01 KEY_MAP_LR
+)
+
+(
+0x00 CONTROL_F_B_TEN
+0x02 CONTROL_L_R_TEN
+0x03 CONTROL_L_R_LR
+)
+
+(
+0 KEY_CHECK
+1 ROCKER_CHECK
+)
+
+(
+1 MOTOR_POSITIVE
+2 MOTOR_NEGATIVE
+)
+
+(
+0 ROCKER_MIDDLE_KEY
+1 ROCKER_POSITIVE_KEY
+2 ROCKER_NEGATIVE_KEY
+)
+
+
+
+
+
+
+
+
+(
+0 BLE_SHUTTER
+1 CLASSIC_SHUTTER
+)
+
+(
+0x0000 NVRAM_EEPROM_OFFSET
+)
+
+(
+0x1b3a SHUTTER_EEPROM_CONFIG_CRC
+)
+
+(
+5 MAX_QUEUE_NUM
+5 SHUTTER_BLE_DATA_BUFFER
+5 SHUTTER_CLASSIC_DATA_BUFFER
+)
+
+
+(
+0x13	GATT_CONSUMER_NOTIFY_HANDLE
+0x14	GATT_CONSUMER_WRITE_HANDLE
+0x17	GATT_KEYBOARD_NOTIFY_HANDLE
+0x18	GATT_KEYBOARD_WRITE_HANDLE
+)
+
+(
+//20ms
+0x0020	FAST_ADV_INTERVAL_VALUE
+//100ms
+0x00a0	SLOW_ADV_INTERVAL_VALUE
+)
+
+
+(
+0 ATT_BIT_NOTIFICATION
+1 ATT_BIT_INDICATION
+)
+///////////////////////////////////////////////////////////////////////////////////////
+
+(
+0 HARD_SWITCH
+1 SOFT_SWITCH
+)
+
+
+(
+1  FLAG_SHUTTER_HID_DISCONN_TIMEOUT
+5 FLAG_SHUTTER_CABLE_UNPLUG_TIMEOUT
+)
+
+(//Data Rom Buffer Addr
+382		BLE_GATT_LIST_SIZE
+487		BT_SDP_LIST_SIZE
+40		BLE_KEY_VALUE_LIST_SIZE
+40		BT_KEY_VALUE_LIST_SIZE
+)
+
+
+(//soft switch power state
+0		SS_STATE_POWER_UP
+1		SS_STATE_POWER_ON
+2		SS_STATE_POWER_OFF
+)
+
+(
+0		SS_POWER_STATE_OFFSET
+1		SS_POWER_ON_TIME
+2		SS_POWER_OFF_TIME
+3		SS_POWER_ON_CB
+5		SS_POWER_OFF_CB
+
+)
+
+(
+
+0x4FFE SIM_IIC_SCL_GPIO_NUM
+0x4FFF SIM_IIC_SDA_GPIO_NUM
+
+)
+
+
+
+
+
+(
+0x0d HCI_UART_TX_GPIO_NUM
+0x0e HCI_UART_RX_GPIO_NUM
+0x09 HCI_UART_RTS_GPIO_NUM
+0x0a HCI_UART_CTS_GPIO_NUM
+0x0c HCI_PMW_12MHZ_GPIO_NUM
+)
+
+//(//final
+//0x12 HCI_UART_TX_IO
+//0x11 HCI_UART_RX_IO
+//0x10 HCI_BLE_CONN_IO
+//0x0f HCI_NB_WORKING_IO
+//0x0d HCI_WAKEUP_MODULE_IO
+//0x07 HCI_WAKEUP_NB_IO
+//)
+
+(//out set
+0x0e HCI_UART_TX_IO
+0x0b HCI_UART_RX_IO
+0x0a HCI_BLE_CONN_IO
+0x06 HCI_NB_WORKING_IO
+0x0d HCI_WAKEUP_MODULE_IO
+0x07 HCI_WAKEUP_NB_IO
+)
+
+//(//for evb
+//0x0a HCI_UART_TX_IO
+//0x0b HCI_UART_RX_IO
+//0x0c HCI_BLE_CONN_IO
+//0x0d HCI_NB_WORKING_IO
+//0x08 HCI_WAKEUP_MODULE_IO
+//0x07 HCI_WAKEUP_NB_IO
+//)
+(
+0x00 COMMAND_SUCCEEDED
+0x01 COMMAND_UNKNOWN
+0x0c COMMAND_DISALLOWED
+)
+
+//HCI H4 Packet TYPE
+(
+0x01 HCI_H4_TYPE_CMD
+0x02 HCI_H4_TYPE_ACL
+0x04 HCI_H4_TYPE_EVENT
+)
+
+(
+0x00 BT_ACL_START_NO_FLUSH
+0x01 BT_ACL_CONT
+0x02 BT_ACL_START
+)
+
+// HCI command opcode group field values
+(
+0x01 HCI_OGF_LINK_CONTROL
+0x02 HCI_OGF_LINK_POLICY
+0x03 HCI_OGF_CONTROLLER_AND_BASEBAND
+0x04 HCI_OGF_INFOMATIONAL_PARAM
+0x05 HCI_OGF_STATUS_PARAM
+0x06 HCI_OGF_TEST
+0x08 HCI_OGF_LE_CONTROLLER
+0x3f HCI_OGF_VENDOR_SPECIFIC_DEBUG
+)
+
+// HCI link control opcode command field values, OGF=1
+(
+0x01 HCI_INQUIRY 
+0x02 HCI_INQUIRY_CANCEL 
+0x03 HCI_PERIODIC_INQUIRY_MODE 
+0x04 HCI_EXIT_PERIODIC_INQUIRY_MODE 
+0x05 HCI_CREATE_CONNECTION 
+0x06 HCI_DISCONNECT 
+0x07 HCI_ADD_SCO_CONNECTION 
+0x08 HCI_CREATE_CONNECTION_CANCEL
+0x09 HCI_ACCEPT_CONNECTION 
+0x0A HCI_REJECT_CONNECTION 
+0x0B HCI_LINK_KEY_REQUEST_REPLY 
+0x0C HCI_LINK_KEY_REQUEST_NEGATIVE_REPLY 
+0x0D HCI_PIN_CODE_REQUEST_REPLY 
+0x0E HCI_PIN_CODE_REQUEST_NEGATIVE_REPLY 
+0x0F HCI_CHANGE_CONNECTION_PACKET_TYPE 
+0x11 HCI_AUTHENTICATION_REQUESTED 
+0x13 HCI_SET_CONNECTION_ENCRYPTION 
+0x15 HCI_CHANGE_CONNECTION_LINK_KEY 
+0x17 HCI_MASTER_LINK_KEY 
+0x19 HCI_REMOTE_NAME_REQUEST 
+0x1A HCI_REMOTE_NAME_REQUEST_CANCEL
+0x1B HCI_READ_REMOTE_SUPPORTED_FEATURES 
+0x1C HCI_READ_REMOTE_EXT_FEATURES 
+0x1D HCI_READ_REMOTE_VERSION_INFORMATION 
+0x1F HCI_READ_CLOCK_OFFSET 
+0x20 HCI_READ_LMP_HANDLE
+0x28 HCI_SETUP_SCO_CONNECTION
+0x29 HCI_ACCEPT_SCO_CONNECTION
+0x2A HCI_REJECT_SCO_CONNECTION
+0x2B HCI_IO_CAP_REQUEST_REPLY
+0x2C HCI_USER_CONFIRMATION_REQUEST_REPLY
+0x2D HCI_USER_CONFIRMATION_REQUEST_NEGATIVE_REPLY
+0x2E HCI_USER_PASSKEY_REQUEST_REPLY
+0x2F HCI_USER_PASSKEY_REQUEST_NEGATIVE_REPLY
+0x30 HCI_REMOTE_OOB_DATA_REQUEST_REPLY
+0x33 HCI_REMOTE_OOB_DATA_REQUEST_NEGATIVE_REPLY
+0x34 HCI_IO_CAPABILITY_REQUEST_NEGATIVE_REPLY
+0x35 HCI_CREATE_PHYSICAL_LINK
+0x36 HCI_ACCEPT_PHYSICAL_LINK
+0x37 HCI_DISCONNECT_PHYSICAL_LINK
+0x38 HCI_CREATE_LOGICAL_LINK
+0x39 HCI_ACCEPT_LOGICAL_LINK
+0x3A HCI_DISCONNECT_LOGICAL_LINK
+0x3B HCI_LOGICAL_LINK_CANCEL
+0x3C HCI_FLOW_SPEC_MODIFY
+0x3D HCI_ENHANCED_SETUP_SYNCHRONOUS_CONNECTION
+0x3E HCI_ENHANCED_ACCEPT_SYNCHRONOUS_CONNECTION_REQUEST
+0x3F HCI_TRUNCATED_PAGE
+0x40 HCI_TRUNCATED_PAGE_CANCEL
+0x41 HCI_SET_CONNECTIONLESS_SLAVE_BROADCAST
+0x42 HCI_SET_CONNECTIONLESS_SLAVE_BROADCAST_RECEIVE
+0x43 HCI_START_SYNCHRONIZATION_TRAIN
+0x44 HCI_RECEIVE_SYNCHRONIZATION_TRAIN
+0x45 HCI_REMOTE_OOB_EXTENDED_DATA_REQUEST_REPLY
+)
+
+
+// HCI link policy commands OCF value, OGF=2
+(
+0x01 HCI_HOLD_MODE 
+0x03 HCI_SNIFF_MODE 
+0x04 HCI_EXIT_SNIFF_MODE 
+0x05 HCI_PARK_MODE 
+0x06 HCI_EXIT_PARK_MODE 
+0x07 HCI_QOS_SETUP 
+0x09 HCI_ROLE_DISCOVERY 
+0x0B HCI_SWITCH_ROLE 
+0x0C HCI_READ_LINK_POLICY_SETTINGS 
+0x0D HCI_WRITE_LINK_POLICY_SETTINGS 
+0x0e HCI_READ_DEFAULT_LINK_POLICY_SETTINGS
+0x0f HCI_WRITE_DEFAULT_LINK_POLICY_SETTINGS
+0x10 HCI_FLOW_SPECIFICATION
+0x11 HCI_SNIFF_SUBRATING
+)
+
+// HCI host controller and baseband commands OCF values, OGF=3
+(
+0x01 HCI_SET_EVENT_MASK 
+0x03 HCI_RESET 
+0x05 HCI_SET_EVENT_FILTER 
+0x08 HCI_FLUSH 
+0x09 HCI_READ_PIN_TYPE 
+0x0A HCI_WRITE_PIN_TYPE 
+0x0B HCI_CREATE_NEW_UNIT_KEY 
+0x0D HCI_READ_STORED_LINK_KEY 
+0x11 HCI_WRITE_STORED_LINK_KEY 
+0x12 HCI_DELETE_STORED_LINK_KEY 
+0x13 HCI_WRITE_LOCAL_NAME 
+0x14 HCI_READ_LOCAL_NAME 
+0x15 HCI_READ_CONN_ACCEPT_TIMEOUT 
+0x16 HCI_WRITE_CONN_ACCEPT_TIMEOUT 
+0x17 HCI_READ_PAGE_TIMEOUT 
+0x18 HCI_WRITE_PAGE_TIMEOUT 
+0x19 HCI_READ_SCAN_ENABLE 
+0x1A HCI_WRITE_SCAN_ENABLE 
+0x1B HCI_READ_PAGE_SCAN_ACTIVITY 
+0x1C HCI_WRITE_PAGE_SCAN_ACTIVITY 
+0x1D HCI_READ_INQUIRY_SCAN_ACTIVITY 
+0x1E HCI_WRITE_INQUIRY_SCAN_ACTIVITY 
+0x1F HCI_READ_AUTHENTICATION_ENABLE 
+0x20 HCI_WRITE_AUTHENTICATION_ENABLE 
+0x21 HCI_READ_ENCRYPTION_MODE 
+0x22 HCI_WRITE_ENCRYPTION_MODE 
+0x23 HCI_READ_CLASS_OF_DEVICE 
+0x24 HCI_WRITE_CLASS_OF_DEVICE 
+0x25 HCI_READ_VOICE_SETTING 
+0x26 HCI_WRITE_VOICE_SETTING 
+0x27 HCI_READ_AUTOMATIC_FLUSH_TIMEOUT 
+0x28 HCI_WRITE_AUTOMATIC_FLUSH_TIMEOUT 
+0x29 HCI_READ_NUM_BROADCAST_RETRANSMISSIONS 
+0x2A HCI_WRITE_NUM_BROADCAST_RETRANSMISSIONS 
+0x2B HCI_READ_HOLD_MODE_ACTIVITY 
+0x2C HCI_WRITE_HOLD_MODE_ACTIVITY 
+0x2D HCI_READ_TRANSMIT_POWER_LEVEL 
+0x2E HCI_READ_SCO_FLOW_CONTROL_ENABLE 
+0x2F HCI_WRITE_SCO_FLOW_CONTROL_ENABLE 
+0x31 HCI_SET_CONTROLLER_TO_HOST_FLOW_CONTROL 
+0x33 HCI_HOST_BUFFER_SIZE 
+0x35 HCI_HOST_NUM_COMPLETED_PACKETS 
+0x36 HCI_READ_LINK_SUPERVISION_TIMEOUT 
+0x37 HCI_WRITE_LINK_SUPERVISION_TIMEOUT 
+0x38 HCI_READ_NUMBER_OF_SUPPORTED_IAC 
+0x39 HCI_READ_CURRENT_IAC_LAP 
+0x3A HCI_WRITE_CURRENT_IAC_LAP 
+0x3B HCI_READ_PAGE_SCAN_PERIOD_MODE 
+0x3C HCI_WRITE_PAGE_SCAN_PERIOD_MODE 
+0x3D HCI_READ_PAGE_SCAN_MODE 
+0x3E HCI_WRITE_PAGE_SCAN_MODE 
+0x3F HCI_SET_AFH_CHANNEL_CLASSIFICATION 
+
+
+0x42 HCI_READ_INQUIRY_SCAN_TYPE 
+0x43 HCI_WRITE_INQUIRY_SCAN_TYPE 
+0x44 HCI_READ_INQUIRY_MODE 
+0x45 HCI_WRITE_INQUIRY_MODE 
+0x46 HCI_READ_PAGE_SCAN_TYPE 
+0x47 HCI_WRITE_PAGE_SCAN_TYPE 
+
+0x48 HCI_READ_AFH_CHANNEL_ACCESSMENT_MODE 
+0x49 HCI_WRITE_AFH_CHANNEL_ACCESSMENT_MODE 
+0x51 HCI_READ_EXTENDED_INQUIRY_RESPONSE
+0x52 HCI_WRITE_EXTENDED_INQUIRY_RESPONSE
+0x53 HCI_REFRESH_ENCRYPTION_KEY
+0x55 HCI_READ_SIMPLE_PAIRING_MODE
+0x56 HCI_WRITE_SIMPLE_PAIRING_MODE
+0x57 HCI_READ_LOCAL_OOB_DATA
+0x58 HCI_READ_INQUIRY_RESPONSE_TRANSMIT_POWER_LEVEL
+0x59 HCI_WRITE_INQUIRY_TRANSMIT_POWER_LEVEL
+0x60 HCI_SEND_KEYPRESS_NOTIFICATION
+0x5A HCI_READ_DEFAULT_ERRONEOUS_DATA_REPORTING
+0x5B HCI_WRITE_DEFAULT_ERRONEOUS_DATA_REPORTING
+0x5F HCI_ENHANCED_FLUSH
+0x61 HCI_READ_LOGICAL_LINK_ACCEPT_TIMEOUT
+0x62 HCI_WRITE_LOGICAL_LINK_ACCEPT_TIMEOUT
+0x63 HCI_SET_EVENT_MASK_PAGE_2
+0x64 HCI_READ_LOCATION_DATA
+0x65 HCI_WRITE_LOCATION_DATA
+0x66 HCI_READ_FLOW_CONTROL_MODE
+0x67 HCI_WRITE_FLOW_CONTROL_MODE
+0x68 HCI_READ_ENHANCE_TRANSMIT_POWER_LEVEL
+0x69 HCI_READ_BEST_EFFORT_FLUSH_TIMEOUT
+0x6A HCI_WRITE_BEST_EFFORT_FLUSH_TIMEOUT
+0x6B HCI_SHORT_RANGE_MODE
+0x6C HCI_READ_LE_HOST_SUPPORT
+0x6D HCI_WRITE_LE_HOST_SUPPORT
+0x6E HCI_SET_MWS_CHANNEL_PARAMETERS
+0x6F HCI_SET_EXTERNAL_FRAME_CONFIGURATION
+0x70 HCI_SET_MWS_SIGNALING
+0x71 HCI_SET_MWS_TRANSPORT_LAYER
+0x72 HCI_SET_MWS_SCAN_FREQUENCY_TABLE
+0x73 HCI_SET_MWS_PATTERN_CONFIGURATION
+0x74 HCI_SET_RESERVED_LT_ADDR
+0x75 HCI_DELETE_RESERVED_LT_ADDR
+0x76 HCI_SET_CONNECTIONLESS_SLAVE_BROADCAST_DATA
+0x77 HCI_READ_SYNCHRONIZATION_TRAIN_PARAMETERS
+0x78 HCI_WRITE_SYNCHRONIZATION_TRAIN_PARAMETERS
+0x79 HCI_READ_SECURE_CONNECTIONS_HOST_SUPPORT
+0x7A HCI_WRITE_SECURE_CONNECTIONS_HOST_SUPPORT
+0x7B HCI_READ_AUTHENTICATED_PAYLOAD_TIMEOUT
+0x7C HCI_WRITE_AUTHENTICATED_PAYLOAD_TIMEOUT
+0x7D HCI_READ_LOCAL_OOB_EXTENDED_DATA
+0x7E HCI_READ_EXTENDED_PAGE_TIMEOUT
+0x7F HCI_WRITE_EXTENDED_PAGE_TIMEOUT
+0x80 HCI_READ_EXTENDED_INQUIRY_LENGTH
+0x81 HCI_WRITE_EXTENDED_INQUIRY_LENGTH
+)
+
+
+// HCI informational parameters OCF values, OGF=4
+(
+0x01 HCI_READ_LOCAL_VERSION_INFORMATION 
+0x02 HCI_READ_LOCAL_SUPPORTED_COMMANDS
+0x03 HCI_READ_LOCAL_SUPPORTED_FEATURES 
+0x04 HCI_READ_LOCAL_EXT_FEATURES 
+0x05 HCI_READ_BUFFER_SIZE 
+0x07 HCI_READ_COUNTRY_CODE 
+0x09 HCI_READ_BD_ADDR 
+0x0A HCI_REJECT_CONNECTION_REQUEST
+0x0B HCI_READ_LOCAL_SUPPORTED_CODECS
+)
+
+// HCI status parameters OCF values, OGF=5
+(
+0x01 HCI_READ_FAILED_CONTACT_COUNTER 
+0x02 HCI_RESET_FAILED_CONTACT_COUNTER 
+0x03 HCI_GET_LINK_QUALITY 
+0x05 HCI_READ_RSSI 
+0x06 HCI_READ_AFH_CHANNEL_MAP
+0x07 HCI_READ_BD_CLOCK
+0x08 HCI_READ_ENCRYPTION_KEY_SIZE
+0x09 HCI_READ_LOCAL_AMP_INFO
+0x0A HCI_READ_LOCAL_AMP_ASSOC
+0x0B HCI_WRITE_REMOTE_AMP_ASSOC
+0x0C HCI_GET_MWS_TRANSPORT_LAYER_CONFIGURATION
+0x0D HCI_SET_TRIGGERED_CLOCK_CAPTURE
+)
+
+// HCI testing command OCF values, OGF=6
+(
+0x01 HCI_READ_LOOPBACK_MODE 
+0x02 HCI_WRITE_LOOPBACK_MODE 
+0x03 HCI_ENABLE_DEVICE_UNDER_TEST_MODE 
+0x04 HCI_WRITE_SIMPLE_PAIRING_DEBUG_MODE
+0x07 HCI_ENABLE_AMP_RECEIVER_REPORTS
+0x08 HCI_AMP_TEST_END
+0x09 HCI_AMP_TEST
+0x0A HCI_WRITE_SECURE_CONNECTIONS_TEST_MODE
+)
+
+// HCI vendor specific command OCF values -OGF=3F
+(
+0x01 HCI_WRITE_BD_ADDR 
+0x02 HCI_READ_INQUIRY_RESPONSE_TIMEOUT 
+0x03 HCI_WRITE_INQUIRY_RESPONSE_TIMEOUT 
+0x04 HCI_READ_PAGE_SCAN_REPETITION_MODE 
+0x05 HCI_WRITE_PAGE_SCAN_REPETITION_MODE 
+0x06 HCI_READ_PAGE_RESPONSE_TIMEOUT 
+0x07 HCI_WRITE_PAGE_RESPONSE_TIMEOUT 
+0x08 HCI_READ_NEW_CONNECTION_TIMEOUT 
+0x09 HCI_WRITE_NEW_CONNECTION_TIMEOUT 
+0x0a HCI_INITIALIZE_BASEBAND 
+0x0b HCI_WRITE_LOCAL_SUPPORTED_FEATURES 
+0x0c HCI_WRITE_PARK_PARAMETERS 
+0x0d HCI_READ_PARK_PARAMETERS 
+0x0e HCI_WRITE_QUALITY_OF_SERVICE 
+0x0f HCI_NOT_USED 
+0x10 HCI_MODIFY_BEACON_PARAMETERS 
+0x11 HCI_UNPARK_USING_PM_ADDR 
+0x12 HCI_WRITE_HOPPING_CHANNELS 
+0x13 HCI_SLEEP_FOREVER_MODE 
+0x14 HCI_WRITE_AUTO_PAGE_SCAN_ENABLE 
+0x15 HCI_READ_AUTO_PAGE_SCAN_ENABLE 
+0x16 HCI_SET_ENCRYPTION_KEY_SIZE 
+0x17 HCI_INVALIDATE_FLASH_AND_REBOOT 
+0x18 HCI_UPDATE_UART_BAUD_RATE 
+0x19 HCI_WRITE_GPIO_1_4_AS_OUTPUT 
+0x1A HCI_WRITE_GPIO_2_LED 
+0x1B HCI_SET_TESTMODE_TYPE 
+0x1C HCI_WRITE_SCO_PCM_INT_PARAM 
+0x1D HCI_READ_SCO_PCM_INT_PARAM 
+0x1E HCI_WRITE_PCM_DATA_FORMAT_PARAM 
+0x1F HCI_READ_PCM_DATA_FORMAT_PARAM 
+0x20 HCI_WRITE_COMFORT_NOISE_PARAM 
+0x21 HCI_READ_COMFORT_NOISE_PARAM 
+0x22 HCI_WRITE_SCO_TS 
+0x23 HCI_READ_SCO_TS 
+0x24 HCI_WRITE_PCM_LOOPBACK_MODE 
+0x25 HCI_READ_PCM_LOOPBACK_MODE 
+0x26 HCI_SET_TRANSMIT_POWER 
+0x27 HCI_SET_SLEEPMODE_PARAM 
+0x28 HCI_READ_SLEEPMODE_PARAM 
+0x29 HCI_SLEEPMODE_CMD 
+0x2A HCI_DELAY_PERIPHERAL_SCO_STARTUP 
+0x2B HCI_WRITE_RECEIVE_ONLY 
+0x2C HCI_WRITE_RATE_CONTROL 
+0x2D HCI_TX_UNMOD_CARRIER 
+0x2E HCI_DOWNLOAD_MINIDRIVER 
+0x2F HCI_CRYSTAL_PPM 
+0x30 HCI_SET_POWER_AMP_BIAS 
+0x31 HCI_SET_HAM_BEHAVIOR 
+0x32 HCI_SET_AFH_BEHAVIOR 
+0x33 HCI_READ_USER_DEFINED_NVRAM 
+0x34 HCI_ENABLE_RADIO 
+0x35 HCI_READ_DIAGNOSTIC_INFO 
+0x36 HCI_GET_HID_DEVICE_LIST 
+0x37 HCI_ADD_HID_DEVICE 
+0x38 HCI_READ_APP_FW_CONFIG_VERSION 
+0x39 HCI_DELETE_HID_DEVICE 
+0x3B HCI_ENABLE_USB_HID_EMULATION 
+// 0x3A available
+// 0x3B available
+0x3C HCI_SEND_LMPDU 
+0x3D HCI_AUTO_PAIR_REQ 
+0x3E HCI_READ_VS_EXTENSION 
+0x3F HCI_WRITE_VS_EXTENSION 
+
+0x77 HCI_OPCODE_FC77
+0x79 HCI_OPCODE_FC79
+0xC4 HCI_DOWNLOAD_PATCH
+0xCC HCI_OPCODE_FCCC
+
+0x00 HCI_VENDOR_CMD_RESET
+0x01 HCI_VENDOR_CMD_CHIPID
+0x02 HCI_VENDOR_CMD_BAUD
+0x03 HCI_VENDOR_CMD_PATCH
+0x04 HCI_VENDOR_CMD_PATCH_DONE
+0x05 HCI_VENDOR_CMD_ECHO
+0x06 HCI_VENDOR_CMD_BDADDR
+
+0x07 HCI_VENDOR_CMD_ENTER_LPM
+0x08 HCI_VENDOR_CMD_COMMU_READY
+
+0x10 HCI_VENDOR_CMD_MEM
+0x11 HCI_VENDOR_CMD_EEP
+
+0X12 HCI_VENDOR_CMD_PATCH_SEC_INIT
+0X13 HCI_VENDOR_CMD_PATCH_SEC
+0x14 HCI_VENDOR_CMD_SET_FLOW_CONTROL
+)
+
+//HCI LE controller command OCF values, OGF=8
+(
+0x01 HCI_LE_SET_EVENT_MASK
+0x02 HCI_LE_READ_BUFFER_SIZE
+0x03 HCI_LE_READ_LOCAL_SUPPORTED_FEATURES
+0x05 HCI_LE_SET_RANDOM_ADDRESS
+0x06 HCI_LE_SET_ADVERTISING_PARAMETERS
+0x07 HCI_LE_READ_ADVERTISING_CHANNEL_TX_POWER
+0x08 HCI_LE_SET_ADVERTISING_DATA
+0x09 HCI_LE_SET_SCAN_RESPONSE_DATA
+0x0A HCI_LE_SET_ADVERTISE_ENABLE
+0x0B HCI_LE_SET_SCAN_PARAMETERS
+0x0C HCI_LE_SET_SCAN_ENABLE
+0x0D HCI_LE_CREATE_CONNECTION
+0x0E HCI_LE_CREATE_CONNECTION_CANCEL
+0x0F HCI_LE_READ_WHITE_LIST_SIZE
+0x10 HCI_LE_CLEAR_WHITE_LIST
+0x11 HCI_LE_ADD_DEVICE_TO_WHITE_LIST
+0x12 HCI_LE_REMOVE_DEVICE_FROM_WHITE_LIST
+0x13 HCI_LE_CONNECTION_UPDATE
+0x14 HCI_LE_SET_HOST_CHANNEL_CLASSIFICATION
+0x15 HCI_LE_READ_CHANNEL_MAP
+0x16 HCI_LE_READ_REMOTE_USED_FEATURES
+0x17 HCI_LE_ENCRYPT
+0x18 HCI_LE_RAND
+0x19 HCI_LE_START_ENCRYPTION
+0x1A HCI_LE_LONG_TERM_KEY_REQUEST_REPLY
+0x1B HCI_LE_LONG_TERM_KEY_REQUEST_NEGATIVE_REPLY
+0x1C HCI_LE_READ_SUPPORTED_STATES
+0x1D HCI_LE_RECEIVER_TEST
+0x1E HCI_LE_TRANSMITTER_TEST
+0x1F HCI_LE_TEST_END
+0x20 HCI_LE_REMOTE_CONNECTION_PARAMETER_REQUEST_REPLY
+0x21 HCI_LE_REMOTE_CONNECTION_PARAMETER_REQUEST_NEGATIVE_REPLY
+)
+// HCI event code
+(
+0x01 HCI_EVENT_INQUIRY_COMPLETE
+0x02 HCI_EVENT_INQUIRY_RESULT
+0x03 HCI_EVENT_CONNECTION_COMPLETE
+0x04 HCI_EVENT_CONNECTION_REQUEST
+0x05 HCI_EVENT_DISCONNECTION_COMPLETE
+0x06 HCI_EVENT_AUTHENTICATION_COMPLETE
+0x07 HCI_EVENT_REMOTE_NAME_REQUEST_COMPLETE
+0x08 HCI_EVENT_ENCRYPTION_CHANGE_COMPLETE
+0x09 HCI_EVENT_CHANGE_CONNECTION_LINK_KEY_COMPLETE
+0x0A HCI_EVENT_MASTER_LINK_KEY_COMPLETE
+0x0B HCI_EVENT_READ_REMOTE_FEATURES_COMPLETE
+0x0C HCI_EVENT_READ_REMOTE_VERSION_INFORMATION_COMPLETE
+0x0D HCI_EVENT_QOS_SETUP_COMPLETE
+0x0E HCI_EVENT_COMMAND_COMPLETE
+0x0F HCI_EVENT_COMMAND_STATUS
+0x10 HCI_EVENT_HARDWARE_ERROR
+0x11 HCI_EVENT_FLUSH_OCCURRED
+0x12 HCI_EVENT_ROLE_CHANGE
+0x13 HCI_EVENT_NUM_COMPLETED_PACKETS
+0x14 HCI_EVENT_MODE_CHANGE
+0x15 HCI_EVENT_RETURN_LINK_KEYS
+0x16 HCI_EVENT_PIN_CODE_REQUEST
+0x17 HCI_EVENT_LINK_KEY_REQUEST
+0x18 HCI_EVENT_LINK_KEY_NOTIFICATION
+0x19 HCI_EVENT_LOOPBACK_COMMAND
+0x1A HCI_EVENT_DATA_BUFFER_OVERFLOW
+0x1B HCI_EVENT_MAX_SLOTS_CHANGE
+0x1C HCI_EVENT_READ_CLOCK_OFFSET_COMPLETE
+0x1D HCI_EVENT_CONNECTION_PACKET_TYPE_CHANGED
+0x1E HCI_EVENT_QOS_VIOLATION
+0x1F HCI_EVENT_PAGE_SCAN_MODE_CHANGE
+0x20 HCI_EVENT_PAGE_SCAN_REPETITION_MODE_CHANGE
+0x21 HCI_EVENT_FLOW_SPECIFICATION_COMPLETE
+0x22 HCI_EVENT_INQUIRY_RESULT_WITHRSSI
+0x23 HCI_EVENT_READ_REMOTE_EXT_FEATURES_COMPLETE
+0x2C HCI_EVENT_SCO_CONNECTION_COMPLETE
+0x2D HCI_EVENT_SCO_CONNECTION_CHANGED
+0x2E HCI_EVENT_SNIFF_SUBRATING
+0x2F HCI_EVENT_EXT_INQUIRY_RESULT
+0x30 HCI_EVENT_ENCRYPT_KEY_REFRESH_COMPLETE
+0x31 HCI_EVENT_IO_CAP_REQ
+0x32 HCI_EVENT_IO_CAP_RESPONSE
+0x33 HCI_EVENT_USER_CONFIRMATION_REQUEST
+0x34 HCI_EVENT_UESR_PASSKEY_REQUEST
+0x35 HCI_EVENT_REMOTE_OOB_DATA_REQUEST
+0x36 HCI_EVENT_SIMPLE_PAIRING_COMPLETE
+0x38 HCI_EVENT_LINK_SUPERVISION_TIMEOUT_CHANGED
+0x39 HCI_EVENT_ENHANCED_FLUSH_COMPLETE
+0x3B HCI_EVENT_USER_PASSKEY_NOTIFICATION
+0x3C HCI_EVENT_KEYPRESS_NOTIFICATION
+0x3D HCI_EVENT_REMOTE_HOST_SUPPORTED_FEATURES_NOTIFICATION 
+0x3E HCI_EVENT_LE_META_EVENT
+0x40 HCI_EVENT_PHYSICAL_LINK_COMPLETE
+0x41 HCI_EVENT_CHANNEL_SELECTED
+0x42 HCI_EVENT_DISCONNECTION_PHYSICAL_LINK_COMPLETE
+0x43 HCI_EVENT_PHYSICAL_LINK_LOSS_EARLY_WARNING
+0x44 HCI_EVENT_PHYSICAL_LINK_RECOVERY
+0x45 HCI_EVENT_LOGICAL_LINK_COMPLETE
+0x46 HCI_EVENT_DISCONNECTION_LOGICAL_LINK_COMPLETE
+0x47 HCI_EVENT_FLOW_SPEC_MODIFY_COMPLETE
+0x48 HCI_EVENT_NUMBER_OF_COMPLETED_DATA_BLOCKS
+0x49 HCI_EVENT_AMP_START_TEST
+0x4A HCI_EVENT_AMP_TEST_END
+0x4B HCI_EVENT_AMP_RECEIVER_REPORT
+0x4C HCI_EVENT_SHORT_RANGE_MODE_CHANGE_COMPLETE
+0x4D HCI_EVENT_AMP_STATUS_CHANGE
+0x4E HCI_EVENT_TRIGGERED_CLOCK_CAPTURE
+0x4F HCI_EVENT_SYNCHRONIZATION_TRAIN_COMPLETE
+0x50 HCI_EVENT_SYNCHRONIZATION_TRAIN_RECEIVED
+0x51 HCI_EVENT_CONNECTIONLESS_SLAVE_BROADCAST_RECEIVE
+0x52 HCI_EVENT_CONNECTIONLESS_SLAVE_BROADCAST_TIMEOUT
+0x53 HCI_EVENT_TRUNCATED_PAGE_COMPLETE
+0x54 HCI_EVENT_SLAVE_PAGE_RESPONSE_TIMEOUT
+0x55 HCI_EVENT_CONNECTIONLESS_SLAVE_BROADCAST_CHANNEL_MAP_CHANGE
+0x56 HCI_EVENT_INQUIRY_RESPONSE_NOTIFICATION
+0x57 HCI_EVENT_AUTHENTICATED_PAYLOAD_TIMEOUT_EXPIRED
+
+0xFE HCI_EVENT_LOGO_TESTING
+0xFF HCI_EVENT_VENDOR_SPECIFIC
+)
+(
+0x01 HCI_VENDOR_EVENT_COMMU_READY
+)
+//HCI LE SUBEVENT CODE
+(
+0x01 HCI_LE_SUBEVENT_CONN_COMPLETE
+0x02 HCI_LE_SUBEVENT_ADV_REPORT
+0x03 HCI_LE_SUBEVENT_CONN_UPDATE_COMPLETE
+0x04 HCI_LE_SUBEVENT_REMOTE_FEATURE_COMPLETE
+0x05 HCI_LE_SUBEVENT_LTK_REQUEST
+0x06 HCI_LE_SUBEVENT_REMOTE_CONN_PARAM_REQ
+)
+
+
+(
+
+0x01 HID_TYPE_CONTROL
+0x04 HID_TYPE_GET_REPORT
+0x05 HID_TYPE_SET_REPORT
+0x07 HID_TYPE_SET_PROTOCOL
+0x09 HID_TYPE_SET_IDLE
+0x0a HID_TYPE_DATA
+
+0x01 HID_REPORT_ID_KB
+
+0x00 HID_CONTROL_P_NOOPERATION
+0x01 HID_CONTROL_P_HARDRESET
+0x02 HID_CONTROL_P_SOFTRESET
+0x03 HID_CONTROL_P_SUSPEND
+0x04 HID_CONTROL_P_EXITSUSPEND
+0x05 HID_CONTROL_P_VIRTUALCABLEUNPLUG
+)
+
+
+
+
+
+
+
+
+//0 mem_kscan_head_ptr
+//1 mem_col_num
+//1 mem_row_num
+//4 mem_col_conf_pin
+//4 mem_row_conf_pin
+//1 mem_row_count
+//1 mem_count_shift
+//2 mem_kscan_value_temp
+//2 mem_kscan_lastvalue
+//2 mem_kscan_value
+//4 mem_btclk_kscan
+//1 mem_btclk_kscan_interval
+
+
+0x00 KEYSCAN_OFFECT_COL_NUM
+0x01 KEYSCAN_OFFECT_ROW_NUM
+0x02 KEYSCAN_OFFECT_COL_CONF_PIN
+0x06 KEYSCAN_OFFECT_ROW_CONF_PIN
+
+0x0a KEYSCAN_OFFECT_ROW_COUNT
+0x0b KEYSCAN_OFFECT_SHIFT_COUNT
+
+0X0C KEYSCAN_OFFECT_VALUE_TEMP
+0X0E KEYSCAN_OFFECT_LASVALUE
+0X10 KEYSCAN_OFFECT_VALUE
+0x12 KEYSCAN_OFFECT_BTCLK
+0x16 KEYSCAN_OFFECT_BTCLK_INTERVAL
+
+
+
+
+
+
+//mem_l2cap_lpm_txbuf
+(
+256 l2cap_lpm_txbuf_len
+)
+
+(
+4 L2CAP_TX_FIFO_SIZE
+8 L2CAP_TX_BUFF_CNT
+
+)
+(
+0x0002 L2CAP_SIG_EXT_FEATRUE
+0x0003 L2CAP_SIG_FIX_FEATRUE
+)
+
+
+(
+0 HS_IDLE
+1 AG_INIT_CALL
+2 HS_INIT_CALL
+)
+(
+0 M_ACL_LINK_ABSENT
+1 M_ACL_LINK_EXIST
+)
+
+(
+0 L2CAP_INUSE_BUFF1
+1 L2CAP_INUSE_BUFF2
+)
+
+(
+1 MAX_NUM_LINKS_ALLOWED
+1 MAX_NUM_SCO_ALLOWED
+1 ACL_LINK_PRESENT
+0 ACL_LINK_ABSENT
+)
+(
+1 L2CAP_RX_DONE 
+0 L2CAP_RX_CLEAR
+)
+
+(
+0 L2CAP_DISCONNECT_INTERRUPT
+1 RFCOMM_wants_service
+2 L2CAP_sig_Tx_buff_full
+3 RFCOMM_Tx_buff_full
+4 SDP_Tx_buff_full
+5 got_complete_L2CAP_pkt	
+6 L2CAP_init_Config_Req
+7 L2CAP_DISCONNECT_CONTROL
+)
+
+
+(
+0 UI_NEED_SERVICE
+)
+
+(
+0x0001 L2CAP_signal_channel
+0x0050 L2CAP_SDP_channel
+0x0051 L2CAP_RFCOMM_channel
+0x0052 L2CAP_HID_Control_channel   
+0x0053 L2CAP_HID_Interrupt_channel
+0x0077 L2CAP_AVDTP_signal_channel		//------avdtp
+0x0078 L2CAP_AVDTP_media_channel
+0x0079 L2CAP_AVDTP_report_channel
+0x0080 L2CAP_AVDTP_recovery_channel
+0x00dd L2CAP_AVCTP_Control_channel
+)
+
+(
+0x00 reserved
+0x01 signal_cmd_reject
+0x02 signal_connect_req
+0x03 signal_connect_rsp
+0x04 signal_config_req
+0x05 signal_config_rsp
+0x06 signal_disconnect_req
+0x07 signal_disconnect_rsp
+0x08 signal_echo_req
+0x09 signal_echo_rsp
+0x0a signal_info_req
+0x0b signal_info_rsp
+)
+
+(
+0x0000 cmd_not_understood
+0x0001 signalling_MTU_exceeded
+0x0002 invalid_CID_in_req
+)
+
+(
+0x0001 PSM_SDP
+0x0003 PSM_RFCOMM
+0x0005 PSM_TCS
+0x0011 PSM_HID_control
+0x0013 PSM_HID_interrupt
+0x0017 PSM_AVCTP
+0x0019 PSM_AVDTP
+)
+
+(
+0x0000 L2CAP_connect_successful
+0x0001 L2CAP_connect_pending
+0x0002 L2CAP_connect_refused_PSM_unsupported
+0x0003 L2CAP_connect_refused_security_block
+0x0004 L2CAP_connect_refused_no_resources
+)
+
+(
+0x0000 L2CAP_no_info_available
+0x0001 L2CAP_authentication_pending
+0x0002 L2CAP_authorization_pending
+)
+
+(
+0x0000 L2CAP_config_success
+0x0001 L2CAP_config_failure_bad_parameters
+0x0002 L2CAP_config_failure_no_reason
+0x0003 L2CAP_config_failure_unknown_options
+)
+
+(
+128 L2CAP_Rx_buff_size
+48  L2CAP_signal_Tx_buff_size
+128 SDP_Tx_buff_size
+128 RFCOMM_Tx_buff_size
+1 AM_ADDRESS
+3 DM1TYPE
+4 DH1TYPE
+11 DH3TYPE
+8 DVTYPE
+0 channel_state_closed
+1 channel_state_config
+2 channel_state_open
+0x0030 L2CAP_config_MTU_SDP
+0xffff L2CAP_config_ftimeout_SDP
+0x03e3 L2CAP_config_MTU_RFCOMM
+0xffff L2CAP_config_ftimeout_RFCOMM
+260 l2cap_max_pkt_len
+)
+
+(
+0 FAILURE
+1 SUCCESS
+2 IN_PROGRESS
+)
+(
+0x00	IDLE
+0x01	WAIT_4_BB_PAGE
+0x02	WAIT_4_LMP_CONN
+0x03	WAIT_4_SCO_CONN
+0x04	WAIT_4_SCO_KILLED
+)
+
+
+(
+0 STOP_ENC
+1 SEND_SWITCH_REQ
+)
+(
+0 HF_HS_READY
+1 HF_AG_READY
+)
+
+(
+0 HF_STATE_WAITING_RFCOMM_CONN
+1 HF_STATE_HF_SEND_FEATURE
+2 HF_STATE_WAITING_AG_FEATURE_OK
+3 HF_STATE_HF_SEND_INDICATORS
+4 HF_STATE_WAITING_AG_INDICATORS_OK
+5 HF_STATE_HF_SEND_CURR_STATUS
+6 HF_STATE_WAITING_AG_STATUS_OK
+7 HF_STATE_HF_SEND_UPDATE_STATUS
+8 HF_STATE_WAITING_AG_UPDATE_STATUS_OK
+9 HF_STATE_CONNECTED
+0x0a HF_STATE_HF_SEND_RECEIVE_INFO
+0x0b HF_STATE_WAITING_AG_INFO
+0x0c HF_STATE_HF_SEND_AT_CLIP
+0x0d HF_STATE_WAITING_AT_CLIP
+0x0e HF_STATE_HF_SEND_AT_CCWA
+0x0f HF_STATE_WAITING_AT_CCWA
+)
+
+(
+0 HF_CALL_STATE_INACTIVE
+1 HF_CALL_STATE_SETUP
+2 HF_CALL_STATE_ACTIVE 
+)
+
+(
+0 PAIR_INQUIRY_START
+1 PAIR_INQUIRY_TIME_OUT
+2 PAIR_INQUIRY_FAILED
+3 PAIR_INQUIRY_SUCCESS
+4 PAIR_READY_CONN
+5 PAIR_WAIT_CANCEL_RESPONSE
+6 PAIR_CONN_SUCCESS
+7 PAIR_WAIT_DETACH
+)  
+
+
+(
+0 FORCE_AUTHENTICATION
+)
+
+(
+0 PROTECOL_BOOT 
+1 PROTECOL_REPORT
+)
+
+
+(
+1 UPPERSM_SEND_SDP_CONN_REQ
+2 UPPERSM_SEND_SDP_CFG_REQ
+3 UPPERSM_SEND_SDP_HF_SS
+4 UPPERSM_SEND_SDP_DISC_REQ
+5 UPPERSM_SEND_RFCOMM_CONN_REQ
+6 UPPERSM_SEND_RFCOMM_CFG_REQ
+7 UPPERSM_SEND_SABM_CMD
+8 UPPERSM_SEND_DISC
+9 UPPERSM_SEND_WAIT
+10 UPPERSM_SEND_HID_CONTROL_CONN_REQ
+11 UPPERSM_SEND_HID_CONTROL_CFG_REQ
+12 UPPERSM_SEND_HID_INTERRUPT_CONN_REQ
+13 UPPERSM_SEND_HID_INTERRUPT_CFG_REQ
+14 UPPERSM_SEND_SDP_HS_SS
+15 UPPERSM_SEND_SDP_PBAP_SS
+16 UPPERSM_SEND_SDP_AVTARG_SS
+)
+
+(
+1 UPPERSM_RP_SEND_SDP_CONN_REQ
+2 UPPERSM_RP_SEND_SDP_CFG_REQ
+3 UPPERSM_RP_SEND_SDP_HF_SS
+4 UPPERSM_RP_SEND_SDP_HS_SS
+5 UPPERSM_RP_SEND_SDP_PBAP_SS
+6 UPPERSM_RP_SEND_SDP_AVTARG_SS
+7 UPPERSM_RP_SEND_SDP_DISC_REQ
+8 UPPERSM_RP_SEND_AVCTP_CONN_REQ
+9 UPPERSM_RP_SEND_AVCTP_CFG_REQ
+)
+
+
+(
+0 MSCHEDULER_HID_CONTROL_CONN_DONE
+1 MSCHEDULER_HID_INTERRUPT_CONN_DONE
+2 MSCHEDULER_HID_CONTROL_CFG_REQ_DONE
+3 MSCHEDULER_HID_CONTROL_CFG_RSP_DONE
+4 MSCHEDULER_HID_INTERRUPT_CFG_REQ_DONE
+5 MSCHEDULER_HID_INTERRUPT_CFG_RSP_DONE
+6 MSCHEDULER_HID_CONTROL_DISC_DONE
+7 MSCHEDULER_HID_INTERRUPT_DISC_DONE
+)
+
+(
+0x00 UI_DATA_EVNET_NONE
+0x01 UI_DATA_EVNET_HID
+0x02 UI_DATA_EVNET_AVDTP_S
+0x03 UI_DATA_EVNET_AVDTP_M
+0x04 UI_DATA_EVNET_AVCTP
+0x05 UI_DATA_EVNET_HS
+0x06 UI_DATA_EVNET_HF
+0x07 UI_DATA_EVNET_SPP
+0x08 UI_DATA_EVNET_OBEX
+)
+
+(
+0x00 UI_DATA_TX_NONE
+0x01 UI_DATA_TX_HID
+0x02 UI_DATA_TX_AVDTP_S
+0x03 UI_DATA_TX_AVDTP_M
+0x04 UI_DATA_TX_AVCTP
+0x05 UI_DATA_TX_HS
+0x06 UI_DATA_TX_HF
+0x07 UI_DATA_TX_SPP
+0x08 UI_DATA_TX_OBEX
+0x10 ACL_TX_L2CAP_SIGNAL
+0x11 ACL_TX_SDP
+0x12 ACL_TX_RFCOMM
+
+)
+
+(
+0 L2CAP_SDP_interface_conn
+1 L2CAP_SDP_interface_cfg
+)
+
+(                                   
+0 L2CAP_CHANNEL_STATE_CONN_REQ      
+1 L2CAP_CHANNEL_STATE_CONN_RES      
+2 L2CAP_CHANNEL_STATE_SND_CFG_REQ   
+3 L2CAP_CHANNEL_STATE_SND_CFG_RES   
+4 L2CAP_CHANNEL_STATE_RCV_CFG_REQ   
+5 L2CAP_CHANNEL_STATE_RCV_CFG_RES
+6 L2CAP_CHANNEL_RFCOMM_ONLY_SABM
+7 L2CAP_CHANNEL_RFCOMM_ONLY_UA
+6 L2CAP_CHANNEL_AVDTP_SIGNAL_INIT //set avdtp init complete
+6 L2CAP_CHANNEL_HID_HANDSHAKE_DONE
+0x3f L2CAP_CHANNEL_SETUP_COMPLETE
+0x7f L2CAP_CHANNEL_AVDTP_SIGNAL_COMPLETE
+0xff L2CAP_CHANNEL_RFCOMM_DLCI0_OPENED
+)                                     
+
+
+(
+0 L2CAP_AVDTP_SIGNAL_CONNECT
+1 L2CAP_AVDTP_SIGNAL_CONFIG
+2 L2CAP_AVDTP_MEDIA_CONNECT
+3 L2CAP_AVDTP_MEDIA_CONFIG
+4 L2CAP_AVDTP_REPORT_CONNECT
+5 L2CAP_AVDTP_REPORT_CONFIG
+6 L2CAP_AVDTP_RECOVERY_CONNECT
+7 L2CAP_AVDTP_RECOVERY_CONFIG
+)
+
+(
+0 L2CAP_AVCTP_SIGNAL_CONNECT
+1 L2CAP_AVCTP_SIGNAL_CONFIG
+)
+
+127 L2CAP_SIGNAL_MALLOC_SIZE
+
+//1 mem_rfcomm_malloc_fail_flag
+(
+0 RFCOMM_MALLOC_SUCCEED
+1 RFCOMM_MALLOC_FAIL
+)
+
+//mem_l2cap_flow_ctrl_flag
+(
+0 L2CAP_FLOW_CTRL_DISABLE
+1 L2CAP_FLOW_CTRL_ENABLE
+)
+
+
+
+
+	(
+	//bit flag:mem_classic_bt_flag
+	0 FLAG_SSP_REJECT_JUSTWORK
+	1 SHORT_MULT_FLAG
+	)
+	
+	(
+	//bit map
+	0 pair_state_inrand
+	1 pair_state_inrand_acpt
+	2 pair_state_send_comb
+	3 pair_state_recv_comb
+	4 pair_state_send_aurand
+	5 pair_state_recv_sres
+	6 pair_state_recv_aurand
+	7 pair_state_send_sres	
+	)
+	
+	(
+	1 LMP_NAME_REQ 
+	2 LMP_NAME_RES 
+	3 LMP_ACCEPTED 
+	4 LMP_NOT_ACCEPTED 
+	5 LMP_CLKOFFSET_REQ 
+	6 LMP_CLKOFFSET_RES 
+	7 LMP_DETACH 
+	8 LMP_IN_RAND 
+	9 LMP_COMB_KEY 
+	10 LMP_UNIT_KEY 
+	11 LMP_AU_RAND 
+	12 LMP_SRES 
+	13 LMP_TEMP_RAND 
+	14 LMP_TEMP_KEY 
+	15 LMP_ENCRYPTION_MODE_REQ 
+	16 LMP_ENCRYPTION_KEY_SIZE_REQ 
+	17 LMP_START_ENCRYPTION_REQ 
+	18 LMP_STOP_ENCRYPTION_REQ 
+	19 LMP_SWITCH_REQ 
+	20 LMP_HOLD
+	21 LMP_HOLD_REQ
+	23 LMP_SNIFF_REQ 
+	24 LMP_UNSNIFF_REQ 
+	26 LMP_PARK_REQ 
+	27 LMP_SET_BROADCAST_SCAN_WINDOW 
+	28 LMP_MODIFY_BEACON 
+	29 LMP_UNPARK_BD_ADDR_REQ 
+	30 LMP_UNPARK_PM_ADDR_REQ 
+	31 LMP_INCR_POWER_REQ 
+	32 LMP_DECR_POWER_REQ 
+	33 LMP_MAX_POWER 
+	34 LMP_MIN_POWER 
+	35 LMP_AUTO_RATE 
+	36 LMP_PREFERRED_RATE 
+	37 LMP_VERSION_REQ 
+	38 LMP_VERSION_RES 
+	39 LMP_FEATURES_REQ 
+	40 LMP_FEATURES_RES 
+	41 LMP_QUALITY_OF_SERVICE 
+	42 LMP_QUALITY_OF_SERVICE_REQ 
+	43 LMP_SCO_LINK_REQ 
+	44 LMP_REMOVE_SCO_LINK_REQ 
+	45 LMP_MAX_SLOT 
+	46 LMP_MAX_SLOT_REQ 
+	47 LMP_TIMING_ACCURACY_REQ 
+	48 LMP_TIMING_ACCURACY_RES 
+	49 LMP_SETUP_COMPLETE 
+	50 LMP_USE_SEMI_PERMANENT_KEY 
+	51 LMP_HOST_CONNECTION_REQ 
+	52 LMP_SLOT_OFFSET 
+	53 LMP_PAGE_MODE_REQ 
+	54 LMP_PAGE_SCAN_MODE_REQ 
+	55 LMP_SUPERVISION_TIMEOUT 
+	56 LMP_TEST_ACTIVATE
+	57 LMP_TEST_CONTROL
+	58 LMP_ENC_KEY_SIZE_MASK_REQ
+	59 LMP_ENC_KEY_SIZE_MASK_RES
+	60 LMP_SET_AFH
+
+	
+	61 LMP_ENCAPSULATED_HEADER
+	62 LMP_ENCAPSULATED_PAYLOAD
+	63 LMP_SIMPLE_PAIRING_CONFIRM
+	64 LMP_SIMPLE_PAIRING_NUMBER
+	65 LMP_DHKEY_CHECK
+	127 LMP_ESCAPE
+	127 LMP_ESCAPE_4      
+	)
+	
+	(
+	129 LMP_EXT_ACCEPTED
+	130 LMP_NOT_ACCEPTED_EXT
+	131 LMP_EXT_FEATURES_REQ
+	132 LMP_EXT_FEATURES_RES
+	139 LMP_PACKET_TYPE_TABLE_REQ
+	140 LMP_EXT_ESCO_LINK_REQ
+	141 LMP_EXT_REMOVE_ESCO_REQ
+	144 LMP_EXT_CHN_CLASSIFICATION_REQ
+	145 LMP_EXT_CHN_CLASSIFICATION
+	149 LMP_SNIFF_SUBRATING_REQ
+	150 LMP_SNIFF_SUBRATING_RES
+	151 LMP_PAUSE_ENCRYPTION_REQ
+	152 LMP_RESUME_ENCRYPTION_REQ
+	153 LMP_IO_CAP_REQ
+	154 LMP_IO_CAP_RES
+	161 LMP_PING_REQ
+	162 LMP_PING_RES
+	)
+	
+	(
+	0x05 AUTHENTICATION_FAILURE_ERROR
+	0x06 KEY_MISSING
+	0x0b ACL_CONNECTION_ALREADY_EXISTS
+	0x13 OTHER_END_TERMINATED
+	0x15 ABOUT_TO_POEWR_OFF
+	0x16 LOCAL_HOST
+	0x18 PAIRING_NOT_ALLOWED
+	0x19 UNKNOWN_LMP_PDU
+	0x1A UNSUPPORTED_LMP_FEATURE 
+	0x1F UNSPECIFIED_ERROR
+	0x20 UNSUPPORTED_PARAMETERS
+	0x21 SWITCH_NOT_ALLOWED
+	0x23 TRANSACTION_COLLISION
+	0x24 PDU_NOT_ALLOWED
+	0x25 ENCRYPTION_MODE_NOT_ACCEPTABLE
+	0x2e NOT_SUPPORT_CHN_CLASSIFICATION
+	0x37 NOT_SUPPORT_SSP
+	)
+
+	
+	(
+	0 PAUSE_TEST_MODE
+	1 ZERO_PATTERN
+	2 ONE_PATTERN
+	3 ALT_PATTERN
+	4 PSEUDORANDOM
+	5 CLOSED_LOOP_BACK_ACL
+	6 CLOSED_LOOP_BACK_SCO
+	7 ACL_WITHOUT_WHITENING
+	8 SCO_WITHOUT_WHITENING
+	9 ALT2_PATTERN
+	255 EXIT_TEST_MODE
+	)
+	
+	(
+	0 FIXED_FREQ
+	1 NORMAL_HOP
+	)
+
+	
+	(
+	0 TID_NORM_REPLY
+	1 TID_NORM_SEND
+	2 TID_ONE
+	3 TID_ZERO
+	4 TID_PAIRING
+	5 TID_ENCRYPTION
+	6 TID_VARIABLE
+	7 TID_RX
+	)
+
+	
+	(
+	0 lmp_incoming
+	1 lmp_outgoing
+	2 lmp_reject_msg
+	3 lmp_clear_msg
+	4 upper_reject_msg
+	5 upper_clear_msg
+	)
+
+(
+0x2ee00 TIMER_ONE_MINUTE //96000*2
+80 TIMER_SWITCH_WAITE
+12 TIMER_ENPT_WAITE
+)
+
+(
+0 SWITCH_FLAG_INIT
+1 SWITCH_FLAG_ACCEPT
+2 SWITCH_FLAG_NOT_ACCEPT
+)
+(
+0 NULL_ENCRYP
+1 DONE_ENCRYP
+)
+
+
+(
+3 LMP_FEATURES_EXT_PAGE1_SC_HOST_BIT
+)
+
+(
+8 LMP_FEATURES_EXT_PAGE2_SC_CONTROLLER_BIT
+)
+
+
+//mem_remote_br_sc_support
+(
+0 REMOTE_BR_SC_HOST_BIT
+1 REMOTE_BR_SC_CONTROLLER_BIT
+)
+  
+
+
+//
+//
+//Large memory blocks defined in this file.
+//Blocks Shall be defined with absolute address.
+//Blocks' length Shall be specified in comment following Blocks' names.
+//Different blocks MAY be overlap.
+//Blocks defined in this file Shall NOT be overlap with variable in memmap.format.
+
+// USB C51 exchange area
+(
+0xff0 mem_mcmd
+0xff1 mem_mouse_data
+)
+
+//l2cap RX buffers
+(
+0x1000 mem_le_l2cap_buf		//0x400
+0x1000 mem_l2cap_rxbuff1		//0x400
+0x1400 mem_l2cap_rxbuff2		//0x400
+//end address:0x17ff
+)
+//l2cap TX buffers
+(
+0x1800 mem_tx_buff0		//128
+0x0080 mem_bt_l2cap_tx_buff_size
+0x1400 mem_ble_tx_buff0
+0x0100 mem_ble_l2cap_tx_buff_size
+)
+
+(
+0x1800 mem_le_tx_buffer0
+0x1900 mem_le_tx_buffer1
+0x1a00 mem_le_tx_buffer2
+0x1b00 mem_le_tx_buffer3
+//end addr:0x1dff
+)
+
+
+//uart buffer
+(
+0x1800 mem_h5rx_buf//0x400
+0x1bff mem_h5rx_buf_end
+0x1c00 mem_h5tx_buf
+0x1fff mem_h5tx_buf_end
+)
+
+
+(
+0x1800 mem_ir_record
+0x1c      mem_ir_record_max
+)
+
+0x4c00 mem_savelist
+
+
+(
+7 context_num_new_m1
+8 context_num_new
+96 context_size_new
+)
+
+(
+0x4040 mem_anchor_array
+)
+
+
+(
+	  0 patch00_0
+	  1 patch00_1
+	  2 patch00_2
+	  3 patch00_3
+	  4 patch00_4
+	  5 patch00_5
+	  6 patch00_6
+	  7 patch00_7
+	  8 patch01_0
+	  9 patch01_1
+	 10 patch01_2
+	 11 patch01_3
+	 12 patch01_4
+	 13 patch01_5
+	 14 patch01_6
+	 15 patch01_7
+	 16 patch02_0
+	 17 patch02_1
+	 18 patch02_2
+	 19 patch02_3
+	 20 patch02_4
+	 21 patch02_5
+	 22 patch02_6
+	 23 patch02_7
+	 24 patch03_0
+	 25 patch03_1
+	 26 patch03_2
+	 27 patch03_3
+	 28 patch03_4
+	 29 patch03_5
+	 30 patch03_6
+	 31 patch03_7
+	 32 patch04_0
+	 33 patch04_1
+	 34 patch04_2
+	 35 patch04_3
+	 36 patch04_4
+	 37 patch04_5
+	 38 patch04_6
+	 39 patch04_7
+	 40 patch05_0
+	 41 patch05_1
+	 42 patch05_2
+	 43 patch05_3
+	 44 patch05_4
+	 45 patch05_5
+	 46 patch05_6
+	 47 patch05_7
+	 48 patch06_0
+	 49 patch06_1
+	 50 patch06_2
+	 51 patch06_3
+	 52 patch06_4
+	 53 patch06_5
+	 54 patch06_6
+	 55 patch06_7
+	 56 patch07_0
+	 57 patch07_1
+	 58 patch07_2
+	 59 patch07_3
+	 60 patch07_4
+	 61 patch07_5
+	 62 patch07_6
+	 63 patch07_7
+	 64 patch08_0
+	 65 patch08_1
+	 66 patch08_2
+	 67 patch08_3
+	 68 patch08_4
+	 69 patch08_5
+	 70 patch08_6
+	 71 patch08_7
+	 72 patch09_0
+	 73 patch09_1
+	 74 patch09_2
+	 75 patch09_3
+	 76 patch09_4
+	 77 patch09_5
+	 78 patch09_6
+	 79 patch09_7
+	 80 patch0a_0
+	 81 patch0a_1
+	 82 patch0a_2
+	 83 patch0a_3
+	 84 patch0a_4
+	 85 patch0a_5
+	 86 patch0a_6
+	 87 patch0a_7
+	 88 patch0b_0
+	 89 patch0b_1
+	 90 patch0b_2
+	 91 patch0b_3
+	 92 patch0b_4
+	 93 patch0b_5
+	 94 patch0b_6
+	 95 patch0b_7
+	 96 patch0c_0
+	 97 patch0c_1
+	 98 patch0c_2
+	 99 patch0c_3
+	100 patch0c_4
+	101 patch0c_5
+	102 patch0c_6
+	103 patch0c_7
+	104 patch0d_0
+	105 patch0d_1
+	106 patch0d_2
+	107 patch0d_3
+	108 patch0d_4
+	109 patch0d_5
+	110 patch0d_6
+	111 patch0d_7
+	112 patch0e_0
+	113 patch0e_1
+	114 patch0e_2
+	115 patch0e_3
+	116 patch0e_4
+	117 patch0e_5
+	118 patch0e_6
+	119 patch0e_7
+	120 patch0f_0
+	121 patch0f_1
+	122 patch0f_2
+	123 patch0f_3
+	124 patch0f_4
+	125 patch0f_5
+	126 patch0f_6
+	127 patch0f_7
+	128 patch10_0
+	129 patch10_1
+	130 patch10_2
+	131 patch10_3
+	132 patch10_4
+	133 patch10_5
+	134 patch10_6
+	135 patch10_7
+	136 patch11_0
+	137 patch11_1
+	138 patch11_2
+	139 patch11_3
+	140 patch11_4
+	141 patch11_5
+	142 patch11_6
+	143 patch11_7
+	144 patch12_0
+	145 patch12_1
+	146 patch12_2
+	147 patch12_3
+	148 patch12_4
+	149 patch12_5
+	150 patch12_6
+	151 patch12_7
+	152 patch13_0
+	153 patch13_1
+	154 patch13_2
+	155 patch13_3
+	156 patch13_4
+	157 patch13_5
+	158 patch13_6
+	159 patch13_7
+	160 patch14_0
+	161 patch14_1
+	162 patch14_2
+	163 patch14_3
+	164 patch14_4
+	165 patch14_5
+	166 patch14_6
+	167 patch14_7
+	168 patch15_0
+	169 patch15_1
+	170 patch15_2
+	171 patch15_3
+	172 patch15_4
+	173 patch15_5
+	174 patch15_6
+	175 patch15_7
+	176 patch16_0
+	177 patch16_1
+	178 patch16_2
+	179 patch16_3
+	180 patch16_4
+	181 patch16_5
+	182 patch16_6
+	183 patch16_7
+	184 patch17_0
+	185 patch17_1
+	186 patch17_2
+	187 patch17_3
+	188 patch17_4
+	189 patch17_5
+	190 patch17_6
+	191 patch17_7
+	192 patch18_0
+	193 patch18_1
+	194 patch18_2
+	195 patch18_3
+	196 patch18_4
+	197 patch18_5
+	198 patch18_6
+	199 patch18_7
+	200 patch19_0
+	201 patch19_1
+	202 patch19_2
+	203 patch19_3
+	204 patch19_4
+	205 patch19_5
+	206 patch19_6
+	207 patch19_7
+	208 patch1a_0
+	209 patch1a_1
+	210 patch1a_2
+	211 patch1a_3
+	212 patch1a_4
+	213 patch1a_5
+	214 patch1a_6
+	215 patch1a_7
+	216 patch1b_0
+	217 patch1b_1
+	218 patch1b_2
+	219 patch1b_3
+	220 patch1b_4
+	221 patch1b_5
+	222 patch1b_6
+	223 patch1b_7
+	224 patch1c_0
+	225 patch1c_1
+	226 patch1c_2
+	227 patch1c_3
+	228 patch1c_4
+	229 patch1c_5
+	230 patch1c_6
+	231 patch1c_7
+	232 patch1d_0
+	233 patch1d_1
+	234 patch1d_2
+	235 patch1d_3
+	236 patch1d_4
+	237 patch1d_5
+	238 patch1d_6
+	239 patch1d_7
+	240 patch1e_0
+	241 patch1e_1
+	242 patch1e_2
+	243 patch1e_3
+	244 patch1e_4
+	245 patch1e_5
+	246 patch1e_6
+	247 patch1e_7
+	248 patch1f_0
+	249 patch1f_1
+	250 patch1f_2
+	251 patch1f_3
+	252 patch1f_4
+	253 patch1f_5
+	254 patch1f_6
+	255 patch1f_7
+	  0 patch20_0
+	  1 patch20_1
+	  2 patch20_2
+	  3 patch20_3
+	  4 patch20_4
+	  5 patch20_5
+	  6 patch20_6
+	  7 patch20_7
+	  8 patch21_0
+	  9 patch21_1
+	 10 patch21_2
+	 11 patch21_3
+	 12 patch21_4
+	 13 patch21_5
+	 14 patch21_6
+	 15 patch21_7
+	 16 patch22_0
+	 17 patch22_1
+	 18 patch22_2
+	 19 patch22_3
+	 20 patch22_4
+	 21 patch22_5
+	 22 patch22_6
+	 23 patch22_7
+	 24 patch23_0
+	 25 patch23_1
+	 26 patch23_2
+	 27 patch23_3
+	 28 patch23_4
+	 29 patch23_5
+	 30 patch23_6
+	 31 patch23_7
+	 32 patch24_0
+	 33 patch24_1
+	 34 patch24_2
+	 35 patch24_3
+	 36 patch24_4
+	 37 patch24_5
+	 38 patch24_6
+	 39 patch24_7
+	 40 patch25_0
+	 41 patch25_1
+	 42 patch25_2
+	 43 patch25_3
+	 44 patch25_4
+	 45 patch25_5
+	 46 patch25_6
+	 47 patch25_7
+	 48 patch26_0
+	 49 patch26_1
+	 50 patch26_2
+	 51 patch26_3
+	 52 patch26_4
+	 53 patch26_5
+	 54 patch26_6
+	 55 patch26_7
+	 56 patch27_0
+	 57 patch27_1
+	 58 patch27_2
+	 59 patch27_3
+	 60 patch27_4
+	 61 patch27_5
+	 62 patch27_6
+	 63 patch27_7
+	 64 patch28_0
+	 65 patch28_1
+	 66 patch28_2
+	 67 patch28_3
+	 68 patch28_4
+	 69 patch28_5
+	 70 patch28_6
+	 71 patch28_7
+	 72 patch29_0
+	 73 patch29_1
+	 74 patch29_2
+	 75 patch29_3
+	 76 patch29_4
+	 77 patch29_5
+	 78 patch29_6
+	 79 patch29_7
+	 80 patch2a_0
+	 81 patch2a_1
+	 82 patch2a_2
+	 83 patch2a_3
+	 84 patch2a_4
+	 85 patch2a_5
+	 86 patch2a_6
+	 87 patch2a_7
+	 88 patch2b_0
+	 89 patch2b_1
+	 90 patch2b_2
+	 91 patch2b_3
+	 92 patch2b_4
+	 93 patch2b_5
+	 94 patch2b_6
+	 95 patch2b_7
+	 96 patch2c_0
+	 97 patch2c_1
+	 98 patch2c_2
+	 99 patch2c_3
+	100 patch2c_4
+	101 patch2c_5
+	102 patch2c_6
+	103 patch2c_7
+	104 patch2d_0
+	105 patch2d_1
+	106 patch2d_2
+	107 patch2d_3
+	108 patch2d_4
+	109 patch2d_5
+	110 patch2d_6
+	111 patch2d_7
+	112 patch2e_0
+	113 patch2e_1
+	114 patch2e_2
+	115 patch2e_3
+	116 patch2e_4
+	117 patch2e_5
+	118 patch2e_6
+	119 patch2e_7
+	120 patch2f_0
+	121 patch2f_1
+	122 patch2f_2
+	123 patch2f_3
+	124 patch2f_4
+	125 patch2f_5
+	126 patch2f_6
+	127 patch2f_7
+	128 patch30_0
+	129 patch30_1
+	130 patch30_2
+	131 patch30_3
+	132 patch30_4
+	133 patch30_5
+	134 patch30_6
+	135 patch30_7
+	136 patch31_0
+	137 patch31_1
+	138 patch31_2
+	139 patch31_3
+	140 patch31_4
+	141 patch31_5
+	142 patch31_6
+	143 patch31_7
+	144 patch32_0
+	145 patch32_1
+	146 patch32_2
+	147 patch32_3
+	148 patch32_4
+	149 patch32_5
+	150 patch32_6
+	151 patch32_7
+	152 patch33_0
+	153 patch33_1
+	154 patch33_2
+	155 patch33_3
+	156 patch33_4
+	157 patch33_5
+	158 patch33_6
+	159 patch33_7
+	160 patch34_0
+	161 patch34_1
+	162 patch34_2
+	163 patch34_3
+	164 patch34_4
+	165 patch34_5
+	166 patch34_6
+	167 patch34_7
+	168 patch35_0
+	169 patch35_1
+	170 patch35_2
+	171 patch35_3
+	172 patch35_4
+	173 patch35_5
+	174 patch35_6
+	175 patch35_7
+	176 patch36_0
+	177 patch36_1
+	178 patch36_2
+	179 patch36_3
+	180 patch36_4
+	181 patch36_5
+	182 patch36_6
+	183 patch36_7
+	184 patch37_0
+	185 patch37_1
+	186 patch37_2
+	187 patch37_3
+	188 patch37_4
+	189 patch37_5
+	190 patch37_6
+	191 patch37_7
+	192 patch38_0
+	193 patch38_1
+	194 patch38_2
+	195 patch38_3
+	196 patch38_4
+	197 patch38_5
+	198 patch38_6
+	199 patch38_7
+	200 patch39_0
+	201 patch39_1
+	202 patch39_2
+	203 patch39_3
+	204 patch39_4
+	205 patch39_5
+	206 patch39_6
+	207 patch39_7
+	208 patch3a_0
+	209 patch3a_1
+	210 patch3a_2
+	211 patch3a_3
+	212 patch3a_4
+	213 patch3a_5
+	214 patch3a_6
+	215 patch3a_7
+	216 patch3b_0
+	217 patch3b_1
+	218 patch3b_2
+	219 patch3b_3
+	220 patch3b_4
+	221 patch3b_5
+	222 patch3b_6
+	223 patch3b_7
+	224 patch3c_0
+	225 patch3c_1
+	226 patch3c_2
+	227 patch3c_3
+	228 patch3c_4
+	229 patch3c_5
+	230 patch3c_6
+	231 patch3c_7
+	232 patch3d_0
+	233 patch3d_1
+	234 patch3d_2
+	235 patch3d_3
+	236 patch3d_4
+	237 patch3d_5
+	238 patch3d_6
+	239 patch3d_7
+	240 patch3e_0
+	241 patch3e_1
+	242 patch3e_2
+	243 patch3e_3
+	244 patch3e_4
+	245 patch3e_5
+	246 patch3e_6
+	247 patch3e_7
+	248 patch3f_0
+	249 patch3f_1
+	250 patch3f_2
+	251 patch3f_3
+	252 patch3f_4
+	253 patch3f_5
+	254 patch3f_6
+	255 patch3f_7
+
+)
+(
+	0x8000 core_chipid
+	0x8003 core_kick
+	0x8004 core_write_wdt
+	0x8005 core_lpm_wr
+	0x8006 core_misc_ctrl
+	0x8007 core_efuse_rdata
+	0x800a core_ccm_ctrl
+	0x800b core_write_wdt2
+	0x8010 core_reset
+	0x8011 core_encrypt
+	0x8012 core_lpm_wr2
+	0x8013 core_mpu_s0_saddr
+	0x8015 core_mpu_s0_eaddr
+	0x8017 core_mpu_s1_saddr
+	0x8019 core_mpu_s1_eaddr
+	0x8022 core_ucode_hi
+	0x8023 core_ucode_ctrl
+	0x8024 core_ucode_low
+	0x8025 core_ucode_data
+
+	0x8040 core_halfslot
+	0x8042 core_clksel
+	0x8043 core_uart_clksel
+	0x8043 core_config
+	0x8044 core_xtal_stable_time
+	0x8045 core_efuse_addr
+	0x8046 core_bist_ctrl
+	0x8047 core_efuse_ctrl
+	0x8048 core_ac_ctrl
+	0x804a core_ac_saddr
+	0x804c core_lpm_reg
+	0x804f core_lpm_isogate
+	0x8050 core_clkoff
+	0x8052 core_uart_baud
+	0x8053 core_sum_en
+	0x8054 core_uart_rsaddr
+	0x8056 core_uart_readdr
+	0x8058 core_uart_rrptr
+	0x805a core_uart_tsaddr
+	0x805c core_uart_teaddr
+	0x805e core_uart_twptr
+	0x8060 core_uart_ctrl
+	0x8061 core_uartb_ctrl
+	0x8062 core_uartb_baud
+	0x8064 core_uartb_rsaddr
+	0x8066 core_uartb_readdr
+	0x8068 core_uartb_rrptr
+	0x806a core_uartb_tsaddr
+	0x806c core_uartb_teaddr
+	0x806e core_uartb_twptr
+	0x8070 core_gpio_conf
+	0x8084 core_pwm_en
+	0x8085 core_aes_en
+	0x8086 core_spid_ctrl
+	0x8087 core_spid_delay
+	0x8088 core_spid_txlen
+	0x808a core_spid_txaddr
+	0x808c core_spid_rxaddr
+	0x808e core_spid_rxlen
+	0x8090 core_iicd_ctrl
+	0x8091 core_iicd_scl_low
+	0x8092 core_iicd_scl_high
+	0x8093 core_iicd_start_setup
+	0x8094 core_iicd_start_hold
+	0x8095 core_iicd_stop_setup
+	0x8096 core_iicd_data_setup
+	0x8097 core_iicd_data_hold
+	0x8098 core_iicd_txlen
+	0x809a core_iicd_txaddr
+	0x809c core_iicd_rxaddr
+	0x809e core_iicd_rxlen
+	0x80a0 core_pwm_pcnt0
+	0x80a2 core_pwm_ncnt0
+	0x80a4 core_pwm_pcnt1
+	0x80a6 core_pwm_ncnt1
+	0x80a8 core_pwm_pcnt2
+	0x80aa core_pwm_ncnt2
+	0x80ac core_pwm_pcnt3
+	0x80ae core_pwm_ncnt3
+	0x80b0 core_pwm_pcnt4
+	0x80b2 core_pwm_ncnt4
+	0x80b4 core_pwm_pcnt5
+	0x80b6 core_pwm_ncnt5
+	0x80b8 core_pwm_pcnt6
+	0x80ba core_pwm_ncnt6
+	0x80bc core_pwm_pcnt7
+	0x80be core_pwm_ncnt7
+	0x80c0 core_spid2_ctrl
+	0x80c1 core_spid2_delay
+	0x80c2 core_spid2_txlen
+	0x80c4 core_spid2_txaddr
+	0x80c6 core_spid2_rxaddr
+	0x80c8 core_spid2_rxlen
+	0x80ca core_nec_start_addr
+	0x80cc core_nec_end_addr
+	0x80ce core_nec_rptr
+	0x80d0 core_nec_control
+	0x80d1 core_ccm_input_playload_addr
+	0x80d3 core_ccm_output_playload_addr
+	0x80d5 core_ccm_aad0
+	0x80d6 core_ccm_aad1
+	0x80d7 core_ccm_aad2
+	0x80d8 core_pwm_init
+	0x80d9 core_ac_buf_len
+	0x80da core_ccm_inptr
+	0x80dc core_sum_ctrl
+	0x80dd core_pwm_srst
+	0x8108 core_misc_status
+	0x8109 core_qdec_cntx
+	0x810a core_watchdog_cnt
+	0x810b core_uart_status
+	0x810c core_uart_rbaud
+	0x810e core_uart_txitems
+	0x8110 core_uart_trptr
+	0x8112 core_uart_rxitems
+	0x8114 core_uart_rdptr
+	0x8116 core_uart_rwptr
+	0x8118 core_debug_baud
+	0x811a core_ccm_outptr
+	0x811c core_gpio_in
+	0x811d core_gpio_in1
+	0x8120 core_ucode_flag
+	0x8121 core_peripheral_lock
+	0x8122 core_nec_wptr
+	0x8124 core_current_efuse_addr
+	0x8126 core_spid2_remain
+	0x8128 core_spid_remain
+	0x812a core_iicd_remain
+	0x812c core_dma_status
+	0x812d core_perf_status
+	0x812e core_adc_in
+	0x8130 core_nec_rxitem
+	0x8134 core_lpm_ctrl2
+	0x8138 core_lpm_ctrl
+	0x813c core_lpm_xtalcnt
+	0x813d core_lpm_buckcnt
+	0x813e core_lpm_ldocnt
+	0x813f core_lpm_latch
+	0x8140 core_gpio_wakeup_low
+	0x8144 core_gpio_wakeup_high
+	0x8149 core_clk_counter
+	0x8150 core_adc_sum
+	0x8152 core_uartb_status
+	0x8152 core_uartb_rbaud
+	0x8154 core_uartb_txitems
+	0x8156 core_uartb_trptr
+	0x8158 core_uartb_rxitems
+	0x815a core_uartb_rdptr
+	0x815c core_uartb_rwptr
+
+	0x8203 core_ice_ctrl
+	0x8204 core_ice_status
+	0x8205 core_ice_break0
+	0x8207 core_ice_break1
+  
+	0x8280 core_docd_ctrl
+	0x8288 core_docd_paddr
+	0x828a core_docd_pdata
+
+	0x8900 modem_en
+	0x8938 mod_value_scale1
+	0x8960 core_rf_rx_agc_ctrl
+	0x8961 core_rf_rx_gain_fix
+	0x8968 core_agc_wb_sat_th
+	0x8969 core_agc_nb_sat_th
+	0x89a0 modem_rssi
+	0x89a1 modem_wb_pow
+	0x89a2 modem_nb_pow
+	0x89a3 modem_gain
+	0x89a4 modem_status
+
+	0x89f0 fpga_rf_gain
+	0x89f1 fpga_rf_gain_ctrl
+	0x89f2 fpga_uart_ctrl
+	0x89f3 fpga_uart_wdata
+	0x89f4 fpga_uart_rdata
+	0x89f5 fpga_uart_status
+
+	0x8a00 core_clkpll_ctrl0              
+	0x8a01 core_clkpll_ctrl1              
+	0x8a02 core_clkpll_ctrl2              
+	0x8a03 core_clkpll_cfg0               
+	0x8a04 core_clkpll_cfg1               
+	0x8a05 core_clkpll_cfg2               
+	0x8a06 core_clkpll_cfg3               
+	0x8a07 core_clkpll_cfg4               
+	0x8a08 core_clkpll_cfg5               
+	0x8a09 core_clkpll_cfg6               
+	0x8a0a core_rf_ldo_en0                
+	0x8a0b core_rf_ldo_en1                
+	0x8a0c core_rf_ldo_cfg0               
+	0x8a0d core_rf_ldo_cfg1               
+	0x8a0e core_rf_ldo_cfg2               
+	0x8a0f core_rf_ldo_cfg3               
+	0x8a10 core_rf_ldo_cfg4               
+	0x8a11 core_rf_ldo_cfg5               
+	0x8a12 core_rf_ldo_cfg6               
+	0x8a13 core_rf_ldo_cfg7               
+	0x8a14 core_rf_ldo_cfg8               
+	0x8a15 core_rf_ldo_cfg9               
+	0x8a16 core_syn_en                    
+	0x8a17 core_rx_en0                    
+	0x8a18 core_rx_en1                    
+	0x8a19 core_tx_en0                    
+	0x8a1a core_tx_en1                    
+	0x8a1b core_force_ctrl                
+	0x8a1c core_rx_lna_gc_gc0             
+	0x8a1d core_rx_lna_gc_gc1             
+	0x8a1e core_rx_lna_gc_gc2             
+	0x8a1f core_rx_lna_gc_gc3             
+	0x8a20 core_rx_lna_gc_gc4             
+	0x8a21 core_rx_lna_gc_gc5             
+	0x8a22 core_rx_lna_gc_gc6             
+	0x8a23 core_rx_lna_gc_gc7             
+	0x8a24 core_rx_lna_gc_gc8             
+	0x8a25 core_rx_lna_hg_isel_gc6        
+	0x8a26 core_rx_lna_hg_isel_gc7        
+	0x8a27 core_rx_lna_hg_isel_gc8        
+	0x8a28 core_rx_lna_lg_isel_gc0        
+	0x8a29 core_rx_lna_lg_isel_gc1        
+	0x8a2a core_rx_lna_lg_isel_gc2        
+	0x8a2b core_rx_lna_lg_isel_gc3        
+	0x8a2c core_rx_lna_lg_isel_gc4        
+	0x8a2d core_rx_lna_lg_isel_gc5        
+	0x8a2e core_rx_bq_gc_gc0              
+	0x8a2f core_rx_bq_gc_gc1              
+	0x8a30 core_rx_bq_gc_gc2              
+	0x8a31 core_rx_bq_gc_gc3              
+	0x8a32 core_rx_bq_gc_gc4              
+	0x8a33 core_rx_bq_gc_gc5              
+	0x8a34 core_rx_bq_gc_gc6              
+	0x8a35 core_rx_bq_gc_gc7              
+	0x8a36 core_rx_bq_gc_gc8              
+	0x8a37 core_rx_gain_force             
+	0x8a38 core_rx_lna_isel_force         
+	0x8a39 core_tx_pwr_ctrl0              
+	0x8a3a core_tx_pwr_ctrl1              
+	0x8a3b core_tx_pwr_ctrl2              
+	0x8a3c core_tx_pwr_ctrl3              
+	0x8a3d core_syn_top_ctrl              
+	0x8a3e core_syn_mmd_cp_ctrl           
+	0x8a3f core_syn_divr_int              
+	0x8a40 core_syn_divr_frac2            
+	0x8a41 core_syn_divr_frac1            
+	0x8a42 core_syn_divr_frac0            
+	0x8a43 core_syn_cal_ctrl              
+	0x8a44 core_rx_tiai_dcoc_gc0          
+	0x8a45 core_rx_tiaq_dcoc_gc0          
+	0x8a46 core_rx_tiai_dcoc_gc1          
+	0x8a47 core_rx_tiaq_dcoc_gc1          
+	0x8a48 core_rx_tiai_dcoc_gc2          
+	0x8a49 core_rx_tiaq_dcoc_gc2          
+	0x8a4a core_rx_tiai_dcoc_gc3          
+	0x8a4b core_rx_tiaq_dcoc_gc3          
+	0x8a4c core_rx_tiai_dcoc_gc4          
+	0x8a4d core_rx_tiaq_dcoc_gc4          
+	0x8a4e core_rx_tiai_dcoc_gc5          
+	0x8a4f core_rx_tiaq_dcoc_gc5          
+	0x8a50 core_rx_tiai_dcoc_gc6          
+	0x8a51 core_rx_tiaq_dcoc_gc6          
+	0x8a52 core_rx_tiai_dcoc_gc7          
+	0x8a53 core_rx_tiaq_dcoc_gc7          
+	0x8a54 core_rx_tiai_dcoc_gc8          
+	0x8a55 core_rx_tiaq_dcoc_gc8          
+	0x8a56 core_rx_bq_daci_gc0            
+	0x8a57 core_rx_bq_dacq_gc0            
+	0x8a58 core_rx_bq_daci_gc1            
+	0x8a59 core_rx_bq_dacq_gc1            
+	0x8a5a core_rx_bq_daci_gc2            
+	0x8a5b core_rx_bq_dacq_gc2            
+	0x8a5c core_rx_bq_daci_gc3            
+	0x8a5d core_rx_bq_dacq_gc3            
+	0x8a5e core_rx_bq_daci_gc4            
+	0x8a5f core_rx_bq_dacq_gc4            
+	0x8a60 core_rx_bq_daci_gc5            
+	0x8a61 core_rx_bq_dacq_gc5            
+	0x8a62 core_rx_bq_daci_gc6            
+	0x8a63 core_rx_bq_dacq_gc6            
+	0x8a64 core_rx_bq_daci_gc7            
+	0x8a65 core_rx_bq_dacq_gc7            
+	0x8a66 core_rx_bq_daci_gc8            
+	0x8a67 core_rx_bq_dacq_gc8            
+	0x8a68 core_rx_tiai_dcoc_force        
+	0x8a69 core_rx_tiaq_dcoc_force        
+	0x8a6a core_rx_bq_daci_force          
+	0x8a6b core_rx_bq_dacq_force          
+	0x8a6c core_rx_bq_bw_cal              
+	0x8a6d core_rx_bq_cfg0                
+	0x8a6e core_rx_bq_cfg1                
+	0x8a6f core_rx_bq_cfg2                
+	0x8a70 core_rx_bq_cfg3                
+	0x8a71 core_rx_bq_cfg4                
+	0x8a72 core_rx_lna_cfg0               
+	0x8a73 core_rx_lna_cfg1               
+	0x8a74 core_rx_lna_cfg2               
+	0x8a75 core_rx_lna_cfg3               
+	0x8a76 core_rx_mixer_cfg0             
+	0x8a77 core_rx_mixer_cfg1             
+	0x8a78 core_rx_mixer_cfg2             
+	0x8a79 core_rx_adc_clk_cfg            
+	0x8a7a core_rx_iqadc_cfg              
+	0x8a7b core_rx_rssiadc_cfg            
+	0x8a7c core_syn_state0                
+	0x8a7d core_syn_state1                
+	0x8a7e core_syn_bias_cfg              
+	0x8a7f core_syn_cdb_cfg0              
+	0x8a80 core_syn_cdb_cfg1              
+	0x8a81 core_syn_cdb_cfg2              
+	0x8a82 core_syn_cdb_cfg3              
+	0x8a83 core_syn_pfd_lkd_cfg           
+	0x8a84 core_syn_cp_lpf_cfg            
+	0x8a85 core_syn_loopdiv_dsm_cfg       
+	0x8a86 core_syn_afc_cfg0              
+	0x8a87 core_syn_afc_cfg1              
+	0x8a88 core_syn_afc_cfg2              
+	0x8a89 core_syn_afc_cfg3              
+	0x8a8a core_syn_aac_cfg0              
+	0x8a8b core_syn_aac_cfg1              
+	0x8a8c core_logen_process_cal0        
+	0x8a8d core_logen_process_cal1        
+	0x8a8e core_logen_process_cal2        
+	0x8a8f core_logen_process_cal3        
+	0x8a90 core_logen_process_cal4        
+	0x8a91 core_logen_process_cal5        
+	0x8a92 core_logen_process_cal6        
+	0x8a93 core_logen_process_cal7        
+	0x8a94 core_logen_process_cal8        
+	0x8a95 core_logen_process_ca9         
+	0x8a96 core_logen_process_ca10        
+	0x8a97 core_gpadc_ctrl                
+	0x8a98 core_tx_abb_cfg                
+	0x8a99 core_tx_mixer_cfg0             
+	0x8a9a core_tx_mixer_cfg1             
+	0x8a9b core_tx_mixer_cfg2             
+	0x8a9c core_tx_pa_cfg                 
+	0x8a9d core_syn_tst_ctrl              
+	0x8a9e core_ana_test_control0         
+	0x8a9f core_ana_test_control1         
+
+
+	0x8c00 core_usb_config
+	0x8c01 core_usb_int_mask
+	0x8c02 core_usb_addr
+	0x8c03 core_usb_rx_saddr
+	0x8c05 core_usb_rx_eaddr
+	0x8c07 core_usb_rxptr
+	0x8c09 core_usb_tx_saddr0
+	0x8c0b core_usb_tx_saddr1
+	0x8c0d core_usb_tx_saddr2
+	0x8c0f core_usb_tx_saddr3
+	0x8c11 core_usb_hmode
+	0x8c18 core_usb_trig
+	0x8c19 core_usb_stall
+	0x8c1a core_usb_clear		//7bit reset   
+	0x8c20 core_usb_rx_wptr
+	0x8c22 core_usb_stall_status
+	0x8c23 core_usb_status
+	0x8c24 core_usb_txbusy
+	0x8c25 core_usb_sof_cntl
+	0x8c26 core_usb_sof_cnth
+	
+)
+
+
+(
+4 rx_freq_offset
+2 tx_freq_offset
+)
+
+(
+
+  4 whiteoff_bit
+  6 clksel_rc
+  1 clksel_dpll_24M
+  5 clksel_dpll
+  4 clksel_xtal
+  5 adc_rccal
+  0 bpf_rccal
+  1 demod_clkoff
+)
+
+(
+  2 reload_code
+  3 gpio_latch
+  4 enable_retmem
+  7 cold_wake
+  0xef isogate_mask
+  0xe0 cs_mask
+)
+
+
+// misc ctrl
+(
+  0x01 spid2_start
+  0x02 spid_start
+  0x04 iicd_start
+  0x08 lock_otp
+  0x10 x_sethi
+  0x20 y_sethi
+  0x40 z_sethi
+  0x80 ccnt_start
+)
+// dma status bit
+(
+  0 otpd_crcok
+  1 otpd_done
+  2 spid_crcok
+  3 spid_done
+  4 iicd_crcok
+  5 iicd_done
+  6 iicd_ack
+)
+
+//bit map of core_uart_status
+(
+1 UART_STATUS_TX_BUSY
+2 UART_STATUS_RX_FIFO_EMPTY
+3 UART_STATUS_RX_FIFO_FULL
+4 UARTB_STATUS_TX_BUSY
+5 UARTB_STATUS_RX_FIFO_EMPTY
+6 UARTB_STATUS_RX_FIFO_FULL
+)
+
+(//core_uart_clksel
+0 UART_CLOCK_SELECT_BIT
+0xFE UART_CLOCK_SELECT_CRYSTAL
+0x01 UART_CLOCK_SELECT_DPLL
+
+24000000 uart_clock_freq_24M
+48000000 uart_clock_freq_48M
+)
+
+
+(//bit map of core_uart_ctrl
+0 BIT_UART_CONTROL_ENABLE
+1 BIT_UART_CONTROL_PARITY
+2 BIT_UART_CONTROL_DATA_LENGTH
+3 BIT_UART_CONTROL_STOP_BIT_SIZE
+4 BIT_UART_CONTROL_FLOW_CONTROL
+5 BIT_UART_CONTROL_7816_SMART_CARD_PROTOCOL
+6 BIT_UART_CONTROL_HALF_DUPLEX_SINGLE_LINE_UART
+7 BIT_UART_CONTROL_RATE_BAUD_SETTING
+)
+(//FUN of core_uart_ctrl
+0x01 FUN_UART_CONTROL_ENABLE
+0x06 FUN_UART_CONTROL_PARITY_ODD
+0x04 FUN_UART_CONTROL_PARITY_EVEN
+0x08 FUN_UART_CONTROL_STOP_2BIT
+0x00 FUN_UART_CONTROL_STOP_1BIT
+0x10 FUN_UART_CONTROL_FLOW_CONTROL_ENABLE
+0x20 FUN_UART_CONTROL_7816_SMART_CARD_PROTOCOL
+0x40 FUN_UART_CONTROL_HALF_DUPLEX_SINGLE_LINE_UART
+0x80 FUN_UART_CONTROL_SETTING_RATE_BAUD
+)
+
+(//bit map of core_nec_control
+0x00 BIT_NEC_ENABLE
+0x01 BIT_NEC_CLK_DIVIDE_NUM
+)
+
+(//FUN  of core_nec_control
+0x01 FUN_NEC_ENABLE
+0x30 FUN_NEC_CLK_DIVIDE_24	//24M , 
+)
+
+0x8b uart_ctrl_default //BCSP
+0x81 uart_ctrl_h4 //H4
+0x81 uart_ctrl_normal
+0x91 uart_ctrl_5line
+0x81 uart_ctrl_57600
+2 uart_baud_len
+0x00 uartclk_crystal
+0x01 uartclk_dpll
+0x1a0 uart_baud_115200
+0xbb uart_baud_256000
+0x340 uart_baud_57600
+0x34 uart_baud_921600
+0x9c4 uart_baud_9600
+
+//core_clkoff
+(
+	0 CLOCK_OFF_AUTH_ROM
+	1 CLOCK_OFF_UC_ROM
+	2 CLOCK_OFF_DEBUG_UART
+	3 CLOCK_OFF_SCHED_RAM
+	4 CLOCK_OFF_TRANCE_FIFO
+	5 CLOCK_OFF_CORDIC
+	6 CLOCK_OFF_OTPD
+	7 CLOCK_OFF_I2C
+	8 CLICK_OFF_8051
+	9 CLOCK_OFF_KEYSCAN
+	0x0a CLOCK_OFF_USB
+	0x0b CLOCK_OFF_QDECODER
+	0x0c CLOCK_OFF_SPI
+	0x0d CLOCK_OFF_PWM
+	0x0e CLOCK_OFF_UARTB
+	0x0f CLOCK_OFF_UART
+)
+
+// gpio config types
+(
+  0 gpcfg_input
+  2 gpcfg_qspi_ncs
+  3 gpcfg_qspi_sck
+  4 gpcfg_qspi_io0
+  5 gpcfg_qspi_io1
+  6 gpcfg_qspi_io2
+  7 gpcfg_qspi_io3
+  8 gpcfg_uart_txd
+  9 gpcfg_uart_rxd
+  10 gpcfg_uart_rts
+  11 gpcfg_uart_cts
+  12 gpcfg_uartb_txd
+  13 gpcfg_uartb_rxd
+  14 gpcfg_uartb_rts
+  15 gpcfg_uartb_cts
+  16 gpcfg_pwm_out0
+  17 gpcfg_pwm_out1
+  18 gpcfg_pwm_out2
+  19 gpcfg_pwm_out3
+  20 gpcfg_pwm_out4
+  21 gpcfg_pwm_out5
+  22 gpcfg_pwm_out6
+  23 gpcfg_pwm_out7
+  24 gpcfg_nec_input
+  25 gpcfg_ac_input
+  31 gpcfg_spid_miso
+  32 gpcfg_spid_ncs
+  33 gpcfg_spid_sck
+  34 gpcfg_spid_mosi
+  35 gpcfg_spid_sdio
+  
+  39 gpcfg_spid2_miso
+  40 gpcfg_spid2_ncs
+  41 gpcfg_spid2_sck
+  42 gpcfg_spid2_mosi
+  43 gpcfg_spid2_sdio
+  44 gpcfg_iic_scl
+  45 gpcfg_iic_sda
+  62 gpcfg_output_low
+  63 gpcfg_output_high
+  
+  0x00 gpcfg_high_impedance
+  0x40 gpcfg_pullup
+  0x80 gpcfg_pulldown
+  0xc0 gpcfg_no_ie
+)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+(
+0 CREDIT_DISABLE
+1 CREDIT_ENABLE
+)
+
+
+
+  
+
+ 
+
+
+
+
+ 
+  (
+    0 RFCOMM_IDLE           
+    1 RFCOMM_W4_DLCI0_OPEN
+    2 RFCOMM_W4_DLCI0_CLOSE
+    3 RFCOMM_START_DLCI0    
+    4 RFCOMM_W4_DLCI_OPEN
+    5 RFCOMM_W4_DLCI_CLOSE
+    6 RFCOMM_DLCI_OPENED    
+   
+  )
+  
+
+  (
+    1000  RFCOMM_T1              
+    1000  RFCOMM_T2         
+    300   RFCOMM_T3_RINGON  
+  
+  )
+
+
+  (
+    0x3F RSP_RX_SABM        
+    0x3F INI_TX_SABM
+	
+    0x73 RSP_TX_UA          
+    0x73 UA_WFBIT_SET	    
+	
+    0xEF RSP_RX_UIH         
+
+    0xEF RSP_TX_UIH         
+     
+    0x1F RSP_TX_DM          
+    0x1F DM_WFBIT_SET       
+    0x0F DM_WFBIT_CLEAR     
+
+    0x53 RSP_RX_DISC        
+    0x53 INI_TX_DISC	    
+     
+    0xFF RSP_RX_UIH_WDATA   
+    
+    
+  )
+
+
+  (
+    0x83 PN_COMMAND           
+    0x81 PN_RESPONSOR         
+    
+    0xE3 MSC_COMMAND          
+    0xE1 MSC_RESPONSOR
+ 
+    0x13 NSC_COMMAND          
+    0x11 NSC_RESPONSOR        
+
+    0x23 TEST_COMMAND         
+    0x21 TEST_RESPONSOR 
+    
+    0x93 RPN_COMMAND          
+    0x91 RPN_RESPONSOR 
+    
+    0x53 RLS_COMMAND          
+    0x51 RLS_RESPONSOR 
+
+    0xA3 FCON_COMMAND         
+    0xA1 FCON_RESPONSOR 
+    
+    0x63 FCOFF_COMMAND        
+    0x61 FCOFF_RESPONSOR 
+    	
+    0x03 RLS_OVERRUN
+    0x05 RLS_PARITY_ERROR
+    0x09 RLS_FRAMING_ERROR
+  )
+
+
+  (
+    0x01 RFCOMM_CREDIT
+  )
+
+  (
+  	0x007f RFCOMM_MAX_FRAME_SIZE
+  )
+
+
+  (
+    0  LENGTH_ZERO
+    
+    6  LENGTH_OK
+    7  LENGTH_HOT
+    8  LENGTH_RING
+    9  LENGTH_ERROR
+    9  LENGTH_AGVOL_ONEBYTE
+    10 LENGTH_AGVOL_TWOBYTE
+    10 LENGTH_VOL_ONEBYTE
+    11 LENGTH_VOL_TWOBYTE
+    12 LENGTH_BRSF
+    13 LENGTH_PLUS_CIEV
+    15 LENGTH_INBANDRING
+    14 LENGTH_CIEV_CALL
+    17 LENGTH_CRING
+    20 LENGTH_BRSF_OK
+    24 LENGTH_CIND0
+    28 LENGTH_CIEV_TWO
+    32 LENGTH_CIND_OK
+    59 LENGTH_CIND_OK2
+    100 LENGTH_DISCARD
+  )
+  
+
+
+
+  
+
+  (
+    0 RFCOMM_TX_W4BUF_FLAG    
+    1 RFCOMM_CLOSE_LINK_FLAG
+  )
+  
+
+    
+
+  (
+    0 MSC_EA_BIT
+    1 MSC_FC_BIT
+    2 MSC_RTC_BIT
+    3 MSC_RTR_BIT
+    6 MSC_IC_BIT
+    7 MSC_DV_BIT
+  )
+
+
+  (
+    0x0C OVERRUN_ERROR
+    0x0A PARITY_ERROR
+    0x09 FRAMING_RERROR
+  )
+  
+
+  (
+    0x00 BITS2400
+    0x01 BITS4800
+    0x02 BITS7200
+    0x03 BITS9600
+    0x04 BITS19200
+    0x05 BITS38400
+    0x06 BITS57600
+    0x07 BITS115200
+    0x08 BITS230400
+  )
+  
+
+  (
+    0x00 DATABITS5
+    0x01 DATABITS6
+    0x02 DATABITS7
+    0x03 DATABITS8
+  )
+  
+
+  (
+    0    ONESTOP
+    1    ONEHALFSTOP
+  )
+  
+
+  (
+    0    ODDPARITY
+    1    EVENPARITY
+    2    MARKPARITY
+    3    SPACEPARITY
+    
+    7    PARITY_ENABLE_BIT
+  )
+
+
+  (
+     0   BIT_RATE_MASK_BIT
+     1   DATA_BITS_MASK_BIT
+     2   STOP_BITS_MASK_BIT
+     3   PARITY_MASK_BIT
+     4   PARITY_TYPE_MASK_BIT
+     5   XON_CHAR_MASK_BIT
+     6   XOFF_CHAR_MASK_BIT
+  )
+  
+
+  (
+     0   XON_XOFF_INPUT_MASK_BIT
+     1   XON_XOFF_OUTPUT_MASK_BIT
+     2	 RTR_INPUT_MASK_BIT
+     3   RTR_OUTPUT_MASK_BIT
+     4   RTC_INPUT_MASK_BIT
+     5   RTC_OUTPUT_MASK_BIT
+
+  )
+
+
+  (
+    0 SEND_MSC_CMD_REQ_FLAG
+    1 SEND_AT_CKPD_REQ_FLAG
+    2 SEND_RING_REQ_FLAG
+    3 SEND_SABM_CMD
+  )
+  
+
+  (
+    0 MSC_CDM_ALREADY_SEND_FLAG
+    1 CREDIT_FLOW_USED_FLAG
+    2 DONT_EMBEDDED_CREDIT_FLAG 
+    3 MSC_EXCHANGE_DONE_FLAG
+    4 FLOW_CONTROL_FCOFF_BIT            
+  )
+  
+
+  (
+    1 FLOW_CONTROL_FC_BIT		
+  
+  )
+
+  (
+    0 ADDR_EA_BIT
+    1 ADDR_CR_BIT
+    2 ADDR_D_BIT
+  )
+//should be same as descripted in SDP
+(
+    1 SPP_SLAVE_CHANNEL
+    7 OBEX_SERVER_CHANNEL
+    8 HF_SERVER_CHANNEL 
+    9 HS_SERVER_CHANNEL
+)
+
+(
+	0 USING_HF_PROFILE
+	1 USING_HS_PROFILE
+	2 USING_SPP_PROFILE
+)
+
+(
+	0x3f RFCOMM_FRAME_TYPE_SABM
+	0x73 RFCOMM_FRAME_TYPE_UA
+	0xEF RFCOMM_FRAME_TYPE_UIH
+	0xFF RFCOMM_FRAME_TYPE_UIH_CREDITS
+	0x53 RFCOMM_FRAME_TYPE_DISCONN
+)
+
+(
+	0x41 UIH_PARAM_NEG_CMD
+	0x40 UIH_PARAM_NEG_RES
+	0x49 UIH_PARAM_CMD_REMOVE_PORT
+	0x71 UIH_MODEM_STATUS_CMD
+	0x70 UIH_MODEM_STATUS_RES
+)
+
+
+(
+	0 RFCOMM_ADDRESS_EXT_LEN
+	1 RFCOMM_ADDRESS_CR
+	2 RFCOMM_ADDRESS_DERECTION
+
+
+)
+
+	(                                   
+	0 RFCOMM_CHANNEL_STATE_PN_CMD
+	1 RFCOMM_CHANNEL_STATE_PN_RES
+	2 RFCOMM_CHANNEL_STATE_SABM
+	3 RFCOMM_CHANNEL_STATE_UA
+	4 RFCOMM_CHANNEL_STATE_SND_MS_CMD
+	5 RFCOMM_CHANNEL_STATE_RCV_MS_CMD
+	6 RFCOMM_CHANNEL_STATE_SND_MS_RES
+	7 RFCOMM_CHANNEL_STATE_RCV_MS_RES
+	0xff RFCOMM_CHANNEL_SETUP_COMPLETE
+	) 
+
+	
+	(
+	1 MORE_PKT_MSC_CMD_HF
+	2 MORE_PKT_MSC_CMD_HS
+	3 MORE_PKT_MSC_CMD_SPP
+	4 MORE_PKT_MSC_CMD_OBEX
+	)
+
+	(
+	127 RFCOMM_MALLOC_SIZE
+	)
+(
+0 AGORHS_SERVICE
+1 GENAUDIO_SERVICE
+2 HANDSFREE_SERVICE
+)
+(
+0 ATTRIBUTEID_0000
+1 ATTRIBUTEID_0001
+2 ATTRIBUTEID_0004
+3 ATTRIBUTEID_0009
+4 ATTRIBUTEID_0100
+5 ATTRIBUTEID_0302
+6 ATTRIBUTEID_0006
+7 ATTRIBUTEID_0311
+)
+
+(
+0x01 SDP_ERROR_RES
+0x02 SDP_SEARCH_REQ
+0x03 SDP_SEARCH_RES
+0x04 SDP_ATTRIBUTE_REQ
+0x05 SDP_ATTRIBUTE_RES
+0x06 SDP_SEARCHATTRIB_REQ
+0x07 SDP_SEARCHATTRIB_RES
+)
+0x2600 sdp_max_amount
+250 SDP_MALLOC_SIZE
+0x6e sdp_tid_spp //any number
+
+(
+0x1f11 SDP_UUID_HS_AUDIO_GATEWAY
+)
+
+(
+0X09 SDP_ATTRIBUTE_ID
+0x0a SDP_ATTRIBUTE_RANGE
+)
+
+(//mem_sdp_handle_list
+7 SDP_MAX_HANDLE_NUMBER
+)
+
+ 
+
+
+
+
+
+
+
+(
+  0x00   SP_FLAG_STANDBY
+  0x01   SP_FLAG_COMMIT
+  0x02   LE_SP_FLAG_COMMIT_256
+
+)
+
+
+(
+  0x00   SP_CALC_STANDBY
+  0x01   SP_CALC_PUBKEY
+  0x02   SP_CALC_DHKEY
+  0x03   SP_CALC_PUBKEY_256
+  0x04   SP_CALC_DHKEY_256
+)
+
+
+(
+  0x00   SP_STAT_NULL
+  0x01   SP_STAT_KEY_RECV
+  0x02   SP_STAT_KEY_GENERATE
+  0x03   SP_STAT_KEY_SEND
+  0x04   SP_STAT_COMMIT_CALC
+  0x05   SP_STAT_COMMIT_SEND
+  0x06   SP_STAT_RANDOM_RECV
+  0x07   SP_STAT_RANDOM_SEND
+  0x08   SP_STAT_CONFIRM_RECV
+  0x09   SP_STAT_CONFIRM_CHECK
+  0x0A   SP_STAT_CONFIRM_CALC
+  0x0B   SP_STAT_CONFIRM_SEND
+  0x0C   SP_STAT_LINK_KEY_CALC
+  0x0F   SP_STAT_DONE
+  0x10   SP_STAT_FEATURE_EXT_SEND
+  0x11   SP_STAT_GKEY_CALC
+  
+  0x12   SP_MASTER_STAT_START_SKIP
+  0x13   SP_MASTER_STAT_START_DONE
+  0x14   SP_STAT_COMMITMENT_COMPARE
+  0x15   SP_STATE_END
+)
+
+
+
+(
+  0x00   SP_KEY_INVALID
+  0x01   SP_KEY_VALID
+  0x03   SP_KEY_VALID_256
+
+)
+
+
+(
+  0x01  ENCAPSULATED_MAJOR_TYPE
+  0x02  ENCAPSULATED_MINOR_TYPE_P256
+  0x40  ENCAPSULATED_LEN_P256
+)
+
+(
+  0x01  ENCAPSULATED_MAJOR_TYPE_P192
+  0x01  ENCAPSULATED_MINOR_TYPE_P192
+  0x30  ENCAPSULATED_LEN_P192
+)
+
+
+(
+  0x00  SIMPLE_PAIRING_ENABLE
+  0x01  ENCRYPTION_PAUSE_ENABLE
+  0x02  EXTENDED_INQUIRY_RESPOSE_ENABLE
+  0x03  SNIFF_SUBRATING_ENABLE
+)
+
+
+(
+  0x00 DEFAULT_STATEMACHINE
+  0x01 LOCAL_STATEMACHINE
+)
+
+(
+ 0x00 DEFALT_PAIRING_AUTH
+ 0x01 PAIRING_AUTH
+)
+
+//mem_secure_connections_enable
+(
+0 SECURE_CONNECTIONS_LE_BIT
+1 SECURE_CONNECTIONS_BR_BIT
+)
+
+(
+1 SSP_MODE_SSP_PIN_FLAG
+2 SSP_MODE_PASSKEY_ENTRY_FLAG
+3 SSP_MODE_JUST_WORK_FLAG
+)
+
+(
+7 FLAG_MODE_SSP_PIN_REVICEVE_COMPARISON_BIT
+6 FLAG_MODE_SSP_PIN_RECIEVE_DHKEY_BIT
+0 FLAG_MODE_SSP_PIN_COMPARISON_RESULT_BIT
+)
+(
+1 FLAG_PAIRING_STATE_PAIRING
+0 FLAG_PAIRING_STATE_NOT_PAIRING
+)
+(//LMP_IO_CAP_REQ & LMP_IO_CAP_RES
+//IO capability
+0x00 IO_CAPABILITY_DISPLAY_ONLY
+0x01 IO_CAPABILITY_DISPLAY_YESNO
+0x02 IO_CAPABILITY_KEYBOARD_ONLY
+0x03 IO_CAPABILITY_NO_INPUT_NO_OUTPUT
+
+//oob data Present
+0x00 OOB_DATA_PRESENT_NOT_PRESENT
+0x01 OOB_DATA_PRESENT_P192_DATA
+0x02 OOB_DATA_PRESENT_P256_DATA
+0x03 OOB_DATA_PRESENT_P192_P256_DATA
+// authentication requirements
+0x00 AUTH_REQ_MITM_PROTECTION_NOT_REQUIRED_NO_BONDING
+0x01 AUTH_REQ_MITM_PROTECTION_REQUIRED_NO_BONDING
+0x02 AUTH_REQ_MITM_PROTECTION_NOT_REQUIRED_DEDICATED_BONDING
+0x03 AUTH_REQ_MITM_PROTECTION_REQUIRED_DEDICATED_BONDING
+0x04 AUTH_REQ_MITM_PROTECTION_NOT_REQUIRED_GENERAL_BONDING
+0x05 AUTH_REQ_MITM_PROTECTION_REQUIRED_GENERAL_BONDING
+)
+
+  
+
+
+
+
+
+
+
+	
+
+
+
+
+
+//mem_ui_state_map
+(
+0 UI_STATE_BT_CONNECTED
+1 UI_STATE_BT_SETUP_COMPLETE
+2 UI_STATE_BT_HID_CONN
+3 UI_STATE_BT_HID_HANDSHAKE
+4 UI_STATE_BT_SPP_CONN
+5 UI_STATE_BT_SNIFF
+6 UI_STATE_BT_DISCOVERY
+7 UI_STATE_BT_RECONNECT
+8 UI_STATE_BT_SLAVE_ROLE
+9 UI_STATE_BLE_CONNECTED
+10 UI_STATE_BLE_WRITE_RCV
+11 UI_STATE_BLE_ADV
+12 UI_STATE_BTN_DOWN
+)
+
+(
+1 UI_STATE_SPP_NL_AUTO_DISCOVER
+
+)
+
+ 
+   (
+    0 UI_HEADSET_DISCONNECT
+    1 UI_HEADSET_IDLE                   
+    2 UI_HEADSET_W4CONNECT
+    3 UI_HEADSET_RINGING
+    4 UI_HEADSET_CONNECTED
+    5 UI_HEADSET_PARING
+  )
+
+(
+  0 UI_BB_OFF
+  1 UI_BB_IDLE
+  2 UI_BB_DISCOVERY
+  3 UI_BB_CONNECTED_ACTIVE_NO_SCO
+  4 UI_BB_CONNECTED_ACTIVE_WITH_SCO
+  5 UI_BB_CONNECTED_ACTIVE_WAIT_SNIFF
+  6 UI_BB_CONNECTED_SNIFF
+  7 UI_BB_RECONNECT
+  8 UI_BB_CONNECTED_SNIFF_WITH_SCO
+)
+
+
+
+
+  
+
+  (
+    5 NO_IDLE_TURN_OFF
+    7 ANSWER_RING_FLAG               
+  )
+
+
+  (
+    0  UI_HS_PAIRING 
+    2  UI_REQ_CLOSE_RFCOMM
+    3  UI_LINK_LOST
+    4  UI_REQ_OPEN_SCO
+    6  UI_REQ_CLOSE_SCO
+  )
+  
+
+  (
+    0  ANSWER_RING_BIT
+    0  AG_SEND_RING_BIT
+    1  VOL_UP_BIT
+    2  VOL_DOWN_BIT
+    3  INI_CALL_BIT
+    4  DAIL_LAST_CALL
+    5  END_CALL_BIT
+    6  NOKIA_VOICE_ACTIVE 
+    7  REJECT_CALL_BIT
+  )
+  
+
+(
+  0 NO_RECONNECTION
+  1 RECONNECT_HID
+  2 RECONNECT_HF
+  3 RECONNECT_HS
+  4 RECONNECT_HID_HF
+  5 RECONNECT_HID_HS
+)
+
+(
+0 BT_CMD_STANDBY
+1 BT_CMD_START_DISCOVERY
+2 BT_CMD_STOP_DISCOVERY
+3 BT_CMD_RECONNECT
+4 BT_CMD_DISCONNECT
+5 BT_CMD_ENTER_SNIFF
+6 BT_CMD_EXIT_SNIFF
+7 BT_CMD_ENTER_SNIFF_SUBRATING
+8 BT_CMD_EXIT_SNIFF_SUBRATING
+9 BT_CMD_SNIFF_TEST
+10 BT_CMD_SET_PIN_CODE
+11 BT_CMD_START_INQUIRY
+12 BT_CMD_STOP_INQUIRY
+13 BT_CMD_START_ADV
+14 BT_CMD_STOP_ADV
+15 BT_CMD_START_DIRECT_ADV
+16 BT_CMD_STOP_DIRECT_ADV
+17 BT_CMD_LE_DISCONNECT
+18 BT_CMD_LE_UPDATE_CONN
+19 BT_CMD_LED_OFF
+20 BT_CMD_LED_ON
+21 BT_CMD_LED_BLINK
+22 BT_CMD_LE_START_CONN
+23 BT_CMD_LE_START_SCAN
+24 BT_CMD_LE_STOP_SCAN
+25 BT_CMD_ENTER_HIBERNATE
+27 BT_CMD_LE_SMP_SECURITY_REQUEST
+29 BT_CMD_ROLE_SWITCH
+30 BT_CMD_BB_RECONN_CANCEL
+31 BT_CMD_STORE_RECONN_INFO_LE
+32 BT_CMD_STORE_RECONN_INFO_BT
+33 BT_CMD_DHKEY_NOT_ACCEPT
+34 BT_CMD_START_24G
+35 BT_CMD_STOP_24G
+36 BT_CMD_PAIR_24G
+37 BT_CMD_STORE_RECONN_INFO
+)
+
+(
+0x00 BT_EVT_NULL
+0x01 BT_EVT_BB_CONNECTED
+0x02 BT_EVT_BB_DISCONNECTED
+0x03 BT_EVT_RECONN_STARTED
+0x04 BT_EVT_RECONN_FAILED
+0x05 BT_EVT_SETUP_COMPLETE
+0x06 BT_EVT_HID_CONNECTED
+0x07 BT_EVT_HID_DISCONNECTED
+0x08 BT_EVT_SPP_CONNECTED
+0x09 BT_EVT_SPP_DISCONNECTED
+0x0A BT_EVT_PINCODE_REQ
+0x0B BT_EVT_ENTER_SNIFF
+0x0C BT_EVT_EXIT_SNIFF
+0x0D BT_EVT_ENTER_SNIFF_SUB
+0x0E BT_EVT_EXIT_SNIFF_SUB
+0x0F BT_EVT_DISCOVERY_STOPED
+0x10 BT_EVT_BUTTON_LONG_PRESSED
+0x12 BT_EVT_HID_HANDSHAKE
+0X13 BT_EVT_RECONN_PAGE_TIMEOUT
+0x14 BT_EVT_LE_CONNECTED
+0X15 BT_EVT_LE_DISCONNECTED
+0x16 BT_EVT_ML2CAP_CONN_REFUSED
+0x17 BT_EVT_BUTTON_ENTER_HIBERNATE
+0x18 BT_EVT_LINKKEY_GENERATE
+0x19 BT_EVT_SWITCH_NOT_ACCEPT
+0x20 BT_EVT_SWITCH_ACCEPT
+0x21 BT_EVT_SNIFF_NOT_ACCEPT
+0x22 BT_EVT_SNIFF_ACCEPT
+0x23 BT_EVT_UNSNIFF_ACCEPT
+0x24 BT_EVT_UNSNIFF_NOT_ACCEPT
+0x25 BT_EVT_BUTTON_ADJUST_DPI
+0x26 BT_EVT_SEND_UNSNIFF_ACCEPT
+0x27 BT_EVT_VIRTUAL_CABLE_UNPLUG
+0x28 BT_EVT_LE_WRITE_REQUEST
+0x29 BT_EVT_LE_ENC_INFO
+0x2a BT_EVT_SWITCH_FAIL_MASTER
+0x2b BT_EVT_SWITCH_SUCCESS_MASTER
+0x2c BT_EVT_BUTTON_DOWN
+0x2d BT_EVT_BUTTON_UP
+0x2e BT_EVT_REMOTE_UNSNIFF
+0x30 BT_EVT_LE_PAIRING_FAIL
+0x31 BT_EVT_LE_PAIRING_SUCCESS
+0x32 BT_EVT_LE_START_ENC
+0X33 BT_EVT_LE_PAUSE_ENC
+0X34 BT_EVT_LE_TK_GENERATE
+0x35 BT_EVT_BT_GKEY_GENERATE
+0x36 BT_EVT_BT_GET_PASSKEY
+0x37 BT_EVT_BT_PAIRING_FAIL
+0x38 BT_EVT_BT_PAIRING_SUCCESS
+0x39 BT_EVT_24G_PAIRING_COMPLETE
+0x3a BT_EVT_24G_ATTEMPT_FAIL
+0x3b BT_EVT_LE_GKEY_GENERATE
+0x3c BT_EVT_24G_ATTEMPT_SUCCESS
+0x3d BT_EVT_STORE_NVRAM
+0x3e BT_EVT_LE_PAIRING_COMPLETE
+0x3F BT_EVT_LE_RECONNECT_COMPLETE
+0x40 BT_EVT_LE_PARSE_CONN_PAPA_UPDATE_RSP
+0x41 BT_EVT_LE_LTK_LOST
+0x42 BT_EVT_LE_UPDATE_PHY
+0x43 BT_EVT_LE_GET_PASSKEY
+0x44 BT_EVT_LE_PARSE_CONN_PARAM_ACCEPTED
+)
+//switch
+(
+0 OFF
+1 ON
+)
+
+(
+    0 MEM_UNLOCK
+    1 MEM_LOCK
+)
+
+(
+    0 UI_USER_DATA_FLAG
+    1 UI_WII_WAITING_SLEEP
+    2 UI_KEYBOARD_SNIFF_SKIP
+)
+
+(
+    0 MTYPE_HID_DEFAULT
+    1 MTYPE_HID_SSP
+    2 MTYPE_SPP
+)
+
+	(	
+	0x01 RECIEVE_SDP_CONN_RES
+	0x02 RECIEVE_SDP_CFG_REQ
+	0x03 RECIEVE_SDP_CFG_RES
+	0x04 RECIEVE_RFCOMM_CONN_RES
+	0x05 RECIEVE_RFCOMM_CFG_REQ
+	0x06 RECIEVE_RFCOMM_CFG_RES
+	0x07 RECIEVE_HID_CTRL_CONN_RES
+	0x08 RECIEVE_HID_CTRL_CFG_REQ
+	0x09 RECIEVE_HID_CTRL_CFG_RES
+	0x0A RECIEVE_HID_INT_CONN_RES
+	0x0B RECIEVE_HID_INT_CFG_REQ
+	0x0C RECIEVE_HID_INT_CFG_RES
+	0x0D RECIEVE_AVCTP_CONN_RES
+	0x0E RECIEVE_AVCTP_CFG_REQ
+	0x0F RECIEVE_AVCTP_CFG_RES
+	0x10 RECIEVE_AVDTP_SIGNAL_CONN_RES
+	0x11 RECIEVE_AVDTP_SIGNAL_CFG_REQ
+	0x12 RECIEVE_AVDTP_SIGNAL_CFG_RES
+	0x13 RECIEVE_AVDTP_MEDIA_CONN_RES
+	0x14 RECIEVE_AVDTP_MEDIA_CFG_REQ
+	0x15 RECIEVE_AVDTP_MEDIA_CFG_RES
+	0x16 RECIEVE_SS_REASULT_HS                  
+	0x17 RECIEVE_SS_REASULT_HF                  
+	0x18 RECIEVE_SS_REASULT_AVTARG		          
+	0x19 RECIEVE_SS_REASULT_OBEX		            
+	0x1A RECIEVE_DLCI0_UA
+	0x1B RECIEVE_HS_PARAM_NEG_RES
+	0x1C RECIEVE_HS_UA
+	0x1D RECIEVE_HS_MODEM_STATUS_RES
+	0x1E RECIEVE_HS_MODEm_STATUS_CMD
+	0x1F RECIEVE_HF_PARAM_NEG_RES   
+	0x20 RECIEVE_HF_UA              
+	0x21 RECIEVE_HF_MODEM_STATUS_RES
+	0x22 RECIEVE_HF_MODEm_STATUS_CMD 
+	0x23 RECIEVE_OBEX_PARAM_NEG_RES     
+	0x24 RECIEVE_OBEX_UA              
+	0x25 RECIEVE_OBEX_MODEM_STATUS_RES
+	0x26 RECIEVE_OBEX_MODEm_STATUS_CMD    
+	0x27 RECIEVE_SPP_PARAM_NEG_RES   
+	0x28 RECIEVE_SPP_UA              
+	0x29 RECIEVE_SPP_MODEM_STATUS_RES
+	0x2A RECIEVE_SPP_MODEm_STATUS_CMD
+	0x2b RECIEVE_SDP_DISCONN_RES
+	)
+
+
+
+	(
+	0 UPPERSM_RP_IDLE
+	1 UPPERSM_RP_SDP_CONN
+	2 UPPERSM_RP_SDP_CONN_WAIT
+	3 UPPERSM_RP_SDP_CFG
+	4 UPPERSM_RP_SDP_CFG_WAIT
+	5 UPPERSM_RP_SS_AVTARG
+	6 UPPERSM_RP_SS_AVTARG_WAIT
+	7 UPPERSM_RP_SS_OBEX
+	8 UPPERSM_RP_SS_OBEX_WAIT
+	9 UPPERSM_RP_SDP_DISCONN
+	10 UPPERSM_RP_SDP_DISCONN_WAIT
+	11 UPPERSM_RP_AVDTP_CONN_WAIT
+	12 UPPERSM_RP_AVCTP_CONN
+	13 UPPERSM_RP_AVCTP_CONN_WAIT
+	14 UPPERSM_RP_AVCTP_CFG
+	15 UPPERSM_RP_AVCTP_CFG_WAIT
+	16 UPPERSM_RP_OBEX_CMD_PN
+	17 UPPERSM_RP_OBEX_CMD_PN_WAIT
+	18 UPPERSM_RP_OBEX_SABM
+	19 UPPERSM_RP_OBEX_SABM_WAIT
+	20 UPPERSM_RP_OBEX_CMD_MS
+	21 UPPERSM_RP_OBEX_CMD_MS_WAIT
+	)
+	(		
+	0 UPPERSM_RECONN_IDLE		
+	1 UPPERSM_RECONN_SDP_CONN		
+	2 UPPERSM_RECONN_SDP_CONN_WAIT		
+	3 UPPERSM_RECONN_SDP_CFG		
+	4 UPPERSM_RECONN_SDP_CFG_WAIT		
+	5 UPPERSM_RECONN_SS_HS
+	6 UPPERSM_RECONN_SS_HS_WAIT
+	7 UPPERSM_RECONN_SS_HF
+	8 UPPERSM_RECONN_SS_HF_WAIT
+	9 UPPERSM_RECONN_SS_AVTARG		
+	10 UPPERSM_RECONN_SS_AVTARG_WAIT		    
+	11 UPPERSM_RECONN_SS_OBEX		            
+	12 UPPERSM_RECONN_SS_OBEX_WAIT		      
+	13 UPPERSM_RECONN_SDP_DISCONN		        
+	14 UPPERSM_RECONN_SDP_DISCONN_WAIT      
+	15 UPPERSM_RECONN_HID_CTRL_CONN		      
+	16 UPPERSM_RECONN_HID_CTRL_CONN_WAIT		
+	17 UPPERSM_RECONN_HID_CTRL_CFG		      
+	18 UPPERSM_RECONN_HID_CTRL_CFG_WAIT     
+	19 UPPERSM_RECONN_HID_INT_CONN		      
+	20 UPPERSM_RECONN_HID_INT_CONN_WAIT		  
+	21 UPPERSM_RECONN_HID_INT_CFG		        
+	22 UPPERSM_RECONN_HID_INT_CFG_WAIT      
+	23 UPPERSM_RECONN_RFCOMM_CONN		        
+	24 UPPERSM_RECONN_RFCOMM_CONN_WAIT		  
+	25 UPPERSM_RECONN_RFCOMM_CFG		        
+	26 UPPERSM_RECONN_RFCOMM_CFG_WAIT       
+	27 UPPERSM_RECONN_RFCOMM_SABM		        
+	28 UPPERSM_RECONN_RFCOMM_SABM_WAIT		  
+	29 UPPERSM_RECONN_SPP_CMD_PN		        
+	30 UPPERSM_RECONN_SPP_CMD_PN_WAIT		    
+	31 UPPERSM_RECONN_SPP_SABM		          
+	32 UPPERSM_RECONN_SPP_SABM_WAIT		      
+	33 UPPERSM_RECONN_SPP_CMD_MS		        
+	34 UPPERSM_RECONN_SPP_CMD_MS_WAIT       
+	35 UPPERSM_RECONN_HF_CMD_PN		          
+	36 UPPERSM_RECONN_HF_CMD_PN_WAIT		    
+	37 UPPERSM_RECONN_HF_SABM		            
+	38 UPPERSM_RECONN_HF_SABM_WAIT		      
+	39 UPPERSM_RECONN_HF_CMD_MS		          
+	40 UPPERSM_RECONN_HF_CMD_MS_WAIT        
+	41 UPPERSM_RECONN_AVDTPs_CONN		        
+	42 UPPERSM_RECONN_AVDTPs_CONN_WAIT		  
+	43 UPPERSM_RECONN_AVDTPs_CFG		        
+	44 UPPERSM_RECONN_AVDTPs_CFG_WAIT       
+	45 UPPERSM_RECONN_AVDTPm_CONN		        
+	46 UPPERSM_RECONN_AVDTPm_CONN_WAIT		  
+	47 UPPERSM_RECONN_AVDTPm_CFG		        
+	48 UPPERSM_RECONN_AVDTPm_CFG_WAIT       
+	49 UPPERSM_RECONN_AVCTP_CONN		        
+	50 UPPERSM_RECONN_AVCTP_CONN_WAIT		    
+	51 UPPERSM_RECONN_AVCTP_CFG		          
+	52 UPPERSM_RECONN_AVCTP_CFG_WAIT		    
+	53 UPPERSM_RECONN_OBEX_CMD_PN		        
+	54 UPPERSM_RECONN_OBEX_CMD_PN_WAIT		  
+	55 UPPERSM_RECONN_OBEX_SABM		          
+	56 UPPERSM_RECONN_OBEX_SABM_WAIT		    
+	57 UPPERSM_RECONN_OBEX_CMD_MS		        
+	58 UPPERSM_RECONN_OBEX_CMD_MS_WAIT     
+	59 UPPERSM_RECONN_SS_SPP
+	60 UPPERSM_RECONN_SS_SPP_WAIT
+	)
+	(
+	0 support_HID
+	1 support_A2DP
+	2 support_AVRCP
+	3 support_HF
+	4 support_HS
+	5 support_PBAP
+	6 support_SPP
+	)
+	
+	(
+	0 UPPERSM_SS_HS
+	1 UPPERSM_SS_HF
+	2 UPPERSM_SS_AVTARG
+	3 UPPERSM_SS_OBEX
+	)
+
+	(
+	160 UI_HUNDRED_MILLISECOND_TIME
+	0XFF UI_BUTTON_GPIO_DISABLE
+	)
+	(
+	0x01 UI_BB_INCONNECT
+	0x10 UI_BB_DISCONNECT
+	)
+(
+0x00 UI_BUTTON_STATE_DOWN
+0x01 UI_BUTTON_STATE_UP
+)
+
+//mem_ipc_skip_continue_proc
+(
+	0 IPC_CONTINUE_PROCESS
+	1 IPC_SKIP_CONTINUE_PROCESS
+)
+
+
+(//led style struct 
+0 		LED_OFFSET_LED_TYPE
+1 		LED_OFFSET_BLINK_COUNT
+2		LED_OFFSET_LED_GPIO
+3		LED_OFFSET_ON_TIME
+5		LED_OFFSET_OFF_TIME
+7 		LED_OFFSET_CB_LEDON
+9		LED_OFFSET_CB_LEDOFF
+11		LED_OFFSET_LENGTH
+)
+
+(//LED state
+0 UI_LED_STATE_BLINK_STOP
+1 UI_LED_STATE_BLINK_START
+2 UI_LED_STATE_LIGHTING
+3 UI_LED_STATE_DARKING
+4 UI_LED_STATE_BLINK_LIGHTING
+5 UI_LED_STATE_BLINK_DARKING
+
+0xFF LED_INFINITE_FLASH_NUM
+
+)
+
+
+
+//class type
+(
+0x00 STANDARD_REQ
+0x01 CLASS_REQ
+0x02 MANUFACTURER_REQ
+)
+//Standard Request Codes
+(
+0x00 GET_STATUS                // Code for Get Status
+0x01 CLEAR_FEATURE             // Code for Clear Feature
+0x03 SET_FEATURE              // Code for Set Feature
+0x05 SET_ADDRESS              // Code for Set Address
+0x06 GET_DESCRIPTOR           // Code for Get Descriptor
+0x07 SET_DESCRIPTOR           // Code for Set Descriptor(not used)
+0x08 GET_CONFIGURATION        // Code for Get Configuration
+0x09 SET_CONFIGURATION        // Code for Set Configuration
+0x0A GET_INTERFACE            // Code for Get Interface
+0x0B SET_INTERFACE            // Code for Set Interface
+0x0C SYNCH_FRAME              // Code for Synch Frame(not used)
+)
+//Standard Descriptor Types
+(
+0x01 DSC_DEVICE               // Device Descriptor
+0x02 DSC_CONFIG               // Configuration Descriptor
+0x03 DSC_STRING               // String Descriptor
+0x04 DSC_INTERFACE            // Interface Descriptor
+0x05 DSC_ENDPOINT             // Endpoint Descriptor
+)
+//HID Descriptor Types
+(
+0x21 DSC_HID			      // HID Class Descriptor
+0x22 DSC_HID_REPORT			  // HID Report Descriptor
+)
+//Define bmRequestType bitmaps
+(
+0x80 IN_DEVICE                // Request made to device,
+                              // direction is IN
+0x00 OUT_DEVICE               // Request made to device,
+                              // direction is OUT
+0x81 IN_INTERFACE             // Request made to interface,
+                              // direction is IN
+0x01 OUT_INTERFACE            // Request made to interface,
+                              // direction is OUT
+0x82 IN_ENDPOINT              // Request made to endpoint,
+                              // direction is IN
+0x02 OUT_ENDPOINT             // Request made to endpoint,
+)
+//HID Request Codes
+(
+0x01 GET_REPORT 		       // Code for Get Report
+0x02 GET_IDLE				   // Code for Get Idle
+0x03 GET_PROTOCOL			   // Code for Get Protocol
+0x09 SET_REPORT				   // Code for Set Report
+0x0A SET_IDLE				   // Code for Set Idle
+0x0B SET_PROTOCOL			   // Code for Set Protocol
+0xF2 HID_REPORT_ID           
+64 EP0_PACKET_SIZE         
+6 EP1_PACKET_SIZE         
+16 HID_REPORT_SIZE         
+0x001B HID_REPORT_DESCRIPTOR_SIZE    
+)
+//math cordic
+(
+0 TYPE_SIN		
+1 TYPE_ATAN	
+2 TYPE_MULT	
+3 TYPE_DIV		
+4 TYPE_ASIN	
+5 TYPE_SQRT	
+6 TYPE_COS		
+7 TYPE_TAN		 
+)
+   
+(
+0 DFIFO0_IN_EMPTY
+1 DFIFO1_IN_EMPTY
+2 DFIFO2_IN_EMPTY
+3 DFIFO3_IN_EMPTY
+4 DFIFO0_OUT_EMPTY
+5 DFIFO1_OUT_EMPTY
+6 DFIFO2_OUT_EMPTY
+7 DFIFO3_OUT_EMPTY
+)
+
+(
+)
+
+(
+0 USB_STATUS_SETUP
+1 USB_STATUS_SUSPEND
+2 USB_STATUS_NAK
+3 USB_STATUS_RESET
+4 USB_STATUS_ACK
+5 USB_STATUS_RXREADY
+6 USB_STATUS_TXEMPTY
+6 USB_STATUS_RXEMPTY
+)
+
+(
+1 USB_GOT_REPORT_REQ
+2 USB_CONNECTED
+3 USB_SLEEP
+4 USB_RESUME
+5 USB_SETIDLE_1
+)
+
+(
+0x10 USB_EP1_KB
+0x20 USB_EP2_MS
+0x21 USB_EP2_MULTIKEY
+0x22 USB_EP2_SYSTEMKEY
+0x01 MAC_BOOT_MODE
+0x02 R_KEY
+0x03 LR_KEY
+)
+
+
+(
+0x01ba PC_GET_REPORT
+0x02ba PC_SET_REPORT
+0x0200 PC_SET_REPORT_bValue
+0x0000 PC_SET_REPORT_wIndex
+0x0001 PC_SET_REPORT_bLength
+0xba PC_REPORT_ID
+
+0x01 PC_GET_DATA
+0x00 PC_GET_NONDATA
+)
+
+(
+//--------------------------------------------------
+// Define device states
+0x00 DEV_ATTACHED	// Device is in Attached State
+0x01 DEV_POWERED	// Device is in Powered State
+0x02 DEV_DEFAULT		// Device is in Default State
+0x03 DEV_ADDRESS	// Device is in Addressed State
+0x04 DEV_CONFIGURED	// Device is in Configured State
+0x05 DEV_SUSPENDED	// Device is in Suspended State
+)
+
+(
+// Define wIndex bitmaps
+0x81 IN_EP1                    // Index values used by Set and Clear
+0x01 OUT_EP1                   // commands for Endpoint_Halt
+0x82 IN_EP2              
+0x02 OUT_EP2             
+0x83 IN_EP3              
+0x03 OUT_EP3             
+)
+
+(
+0 EP0_STALL
+1 EP1_IN_STALL
+2 EP1_OUT_STALL
+3 EP2_IN_STALL
+4 EP2_OUT_STALL
+5 EP3_IN_STALL
+6 EP3_OUT_STALL
+)
+
+(
+// Define wValue bitmaps for Standard Feature Selectors
+0x00 ENDPOINT_HALT             // Endpoint_Halt feature selector
+0x01 DEVICE_REMOTE_WAKEUP      // Remote wakeup feature(not used)
+0x00 BOOT_PROTOCOL
+0x01 REPORT_PROTOCOL
+0x01 USB_MAX_NUM_CFG
+)
+
+(
+0 TIMER_NAK
+640 TIMER_NAK_DELAY
+15 TIMER_WAKEUP
+5000 TIMER_WAKEUP_DELAY
+)
+
+
+
+
+(
+
+    0   UTIL_TIMER_0_USED
+    1   UTIL_TIMER_1_USED
+    2   UTIL_TIMER_2_USED
+    3   UTIL_TIMER_3_USED
+    4   UTIL_TIMER_4_USED
+    5   UTIL_TIMER_5_USED
+    6   UTIL_TIMER_6_USED
+    7   UTIL_TIMER_7_USED
+
+    0   UTIL_TIMER_8_USED
+    1   UTIL_TIMER_9_USED
+    2   UTIL_TIMER_10_USED
+    3   UTIL_TIMER_11_USED
+    4   UTIL_TIMER_12_USED
+    5   UTIL_TIMER_13_USED
+    6   UTIL_TIMER_14_USED
+    7   UTIL_TIMER_15_USED
+)
+
+
+(
+6 dlen_24g
+14 plen_24g
+90 blen_tx_24g
+106 blen_rx_24g
+42 blen_txack_24g
+58 blen_rxack_24g
+0xaaf08e acc_24g
+0x15c4 crc_data_3byte
+0xbb81 crc_data_6byte
+0x4160 crc_ack
+)
+
+//util fifo param
+(
+
+8 UTIL_FIFO_LEN
+-1 UTIL_FIFO_OFFSET
+)
+
+
+(
+	0xAA DEBUGLOG_HEAD
+	0x00 DEBUGLOG_TYPE
+	0x04 DEBUGLOG_LEN
+	0xBB DEBUGLOG_TAIL
+)
+
+(
+	0x1000 DEBUGLOG_DTYPE_CALLBACK
+	0x1001 DEBUGLOG_DTYPE_EVENT
+	0x1002 DEBUGLOG_DTYPE_CMD
+	0x1003 DEBUGLOG_DTYPE_STATUS
+	0x1004 DEBUGLOG_DTYPE_MISC
+	0x1005 DEBUGLOG_DTYPE_PARSE_LMP
+	0x1006 DEBUGLOG_DTYPE_SEND_LMP
+	0x1007 DEBUGLOG_DTYPE_CONN_SM
+	0x1008 DEBUGLOG_DTYPE_UPPER_SM
+)
+
+//DEBUGLOG_DTYPE_CALLBACK
+(
+	0x0000 CALLBACK_24G_DATA
+	0x0001 CALLBACK_LE_PROCESS
+	0x0002 CALLBACK_BT_PROCESS
+	0x0003 CALLBACK_BEFORE_LPM
+	0x0004 CALLBACK_BB_EVENT_PROCESS
+	0x0005 CALLBACK_IDLE_PROCESS
+	0x0006 CALLBACK_BEFORE_HIBERNATE
+	0x0007 CALLBACK_ATT_WRITE
+	0x0008 CALLBACK_EVENT_TIMER
+	0x0009 CALLBACK_SLAVE_LOOP
+	0x000a CALLBACK_SDP_PROCESS
+)
+
+//DEBUGLOG_DTYPE_EVENT
+//(
+
+//)
+
+//DEBUGLOG_DTYPE_CMD
+//(
+
+//)
+
+//DEBUGLOG_DTYPE_STATUS
+(
+	0x0000 STATUS_CODE_WAKE
+	0x0001 STATUS_LPM_WAKE
+	0x0002 STATUS_INQUIRY_SCAN
+	0x0003 STATUS_SEND_EIR
+	0x0004 STATUS_PAGE_SCAN
+	0x0005 STATUS_PAGE_SCAN_RECV_ID_PACK
+	0x0006 STATUS_PAGE_SCAN_WAIT_FHS
+	0x0007 STATUS_PAGE_SCAN_CONNECTED
+	0x0008 STATUS_START_DISCOVER
+	0x0009 STATUS_STOP_DISCOVER
+)
+//DEBUG_DTYPE_MISC
+(
+	0x0000 MISC_LE_RETRANSMIT
+	0x0001 MISC_LOST_MOUSEDATA
+	0x0002 MISC_TXPOWER_0
+	0x0003 MISC_TXPOWER_1
+	0x0004 MISC_TXPOWER_2
+	0x0005 MISC_BT_RETRANSMIT
+	0x0006 MISC_BT_UPPER_SM_ERR
+	0x0007 MISC_BT_CONN_SM_ERR
+)
+
+//mem_creat_mouse_flag
+(
+	0x55 CREAT_MOUSE_DATA_OK
+	0x00 CREAT_MOUSE_DATA_FAIL
+
+
+
+
+
+
+
+
+
+
+(
+  0x02 FHS_PACKET 
+  0x03 DM1_PACKET 
+  0x03 DM1_LMP_PACKET 
+  0x04 DH1_PACKET 
+  0x05 HV1_PACKET 
+  0x06 HV2_PACKET 
+  0x07 HV3_PACKET 
+  0x08 DV_PACKET 
+  0x09 AUX1_PACKET 
+  0x0a DM3_PACKET 
+  0x0b DH3_PACKET 
+  0x0e DM5_PACKET 
+  0x0f DH5_PACKET 
+)
+
+
+
+(
+  0 RESPOND_TO_ALL
+  1 PASS_EVERYTHING
+  2 PASS_ONLY_UNKNOWNS
+  3 RESPOND_TO_LMPS
+)
+
+(
+  0 ULAW
+  1 ALAW
+  2 CVSD
+)
+
+(
+  0 NO_ENCRYPTION
+  1 PT_PT_ENCRYPTION
+  2 PT_BROADCAST_ENCRYPTION
+)
+
+
+(
+  0 LMP_STATE_DETACH
+  1 LMP_STATE_HOLD
+  2 LMP_STATE_SNIFF
+  3 LMP_STATE_PARK
+  4 LMP_STATE_WAIT_SCO_CREATE
+  5 LMP_STATE_WAIT_SCO_KILL
+  6 LMP_STATE_SCO3
+  7 LMP_STATE_WAIT_SCO_START
+)
+
+(
+  0 LMP_WAIT_FOR_SNIFF_ACCEPT
+  1 LMP_WAIT_FOR_PARK_ACCEPT
+  2 LMP_SEND_UNPARK_ACCEPTED
+  3 LMP_SEND_ENCRYPTION_START
+  4 LMP_SEND_ENCRYPTION_STOP
+  5 MESSAGE_QUEUE
+  7 LMP_STATE_WAIT_BEACON
+)
+
+(
+ 0 INQUIRY_STATE_CHECK
+ 1 HOST_DELAY_MESSAGE
+ 2 VARIABLE_DELAY
+ 3 TEST_MODE_START_LOOPBACK
+ 4 TEST_MODE_START_PATTERN
+ 5 PARSE_TEST_CONTROL_MESSAGE
+ 6 H_AUTH_SEND_COMB_KEY
+)
+
+(
+  0 FROM_MASTER
+)
+
+(
+  0 MS_RECEIVE_SWITCH_REQ
+  1 MS_SEND_SETUP_COMPLATE
+)
+
+(
+  0 CONN_SM_STANDBY
+  1 CONN_SM_WAIT_PAGE
+  2 CONN_SM_SEND_FEATURES
+  3 CONN_SM_WAIT_FEATURES_RES
+  4 CONN_SM_SEND_CONN_REQ
+  5 CONN_SM_WAIT_CONN_ACCEPT
+  6 CONN_SM_AUTH_PAIR
+  7 CONN_SM_AUTH_PAIR_WAIT
+  8 CONN_SM_WAIT_MUTAL_AUTH
+  9 CONN_SM_ENCRYPT
+  0xa CONN_SM_ENCRYPT_WAIT
+  0xb CONN_SM_ENCRYPT_WAIT_CLEAR
+  0xc CONN_SM_SEND_SETUP_COMPLETE
+  0xd CONN_SM_WAIT_SETUP_COMPLETE 
+  0xe CONN_SM_SEND_SWITCH
+  0xf CONN_SM_DETACH_DELAY
+  0x10 CONN_SM_WAIT_SWITCH_AFTER_HOST_CONNECTION
+  0x11 CONN_SM_DELAY_RESTART_CONNECTION
+  0x12 CONN_SM_SEND_VERSION
+  0X13 CONN_SM_WAIT_VERSION
+  0x14 CONN_SM_SEND_FEATURES_EXT
+  0x15 CONN_SM_WAIT_FEATURES_EXT
+  0x16 CONN_SM_PAIRING
+  0x17 CONN_SM_AUTH
+  0x18 CONN_SM_PAIRING_WAIT
+  0x19 CONN_SM_AUTH_WAIT
+  0x1a CONN_SM_DONE
+  0x1b CONN_SM_WAIT_DONE
+)
+
+
+(
+  0 CONN_STANDBY
+  1 CONN_MASTER_SEND_CONN_REQ
+  2 CONN_MASTER_WAIT_FOR_CONN_ACCEPTED
+  3 CONN_MASTER_AUTH
+  4 CONN_MASTER_WAIT_FOR_FEATURES
+  5 CONN_MASTER_WAIT_FOR_SETUP_COMPLETE
+  6 CONN_MASTER_WAIT_FOR_MAX_SLOT
+  7 CONN_SLAVE_CONN_REQUESTED
+  8 CONN_SLAVE_WAIT_FOR_SETUP_COMPLETE
+  9 CONN_SLAVE_AUTH
+  10 CONN_USING_HOST_OPCODE
+  11 CONN_SLAVE_AUTH_WAIT
+  12 CONN_SLAVE_ENCRYPT_WAIT
+)
+
+
+(
+  0 RECEIVED_CONN_REQ
+  1 SENT_CONN_REQ
+  2 RECEIVED_SETUP_COMPLETE
+  3 SENT_SETUP_COMPLETE
+  4 HOST_CONNECTION_MADE
+  6 INIT_COMPLETE
+  7 SNIFF_NEGOTIATE
+)
+
+(
+  0 WAIT_FOR_KINIT
+  1 WAIT_FOR_LKA
+  2 WAIT_FOR_LKB
+  3 WAIT_FOR_SRES
+  4 EXAMINE_RECEIVED_SRES
+  5 SEND_AU_RAND
+  6 WAIT_FOR_KC
+  7 DELAYED_ENCRYPT_RESPONSE
+)
+
+(
+  0 SENT_SRES
+  1 RECEIVED_IN_RAND
+  2 SENT_AU_RAND
+  3 AUTHENTICATION_FAILED
+  4 AUTHENTICATION_PASSED
+  5 STARTED_AUTH
+  6 SENT_COMB_KEY
+  7 SENT_IN_RAND
+)
+
+(
+  0 RECEIVED_AU_RAND
+  1 RECEIVED_SRES
+  2 MUTUALLY_AUTHENTICATE
+)
+
+(
+  0 H_AUTH_STARTED
+  2 H_ENCRYPTION_MODE_REQ_PT
+  3 H_ENCRYPTION_KEY_SIZE
+  4 H_ENCRYPTION_START
+  5 H_ENCRYPTION_STOP
+  6 H_AUTH_SECOND_TRY
+)
+
+(
+  0 RECEIVED_ENCRYPT_MODE_REQ_PT
+  1 RECEIVED_ENCRYPT_KEY_SIZE
+  2 RECEIVED_ENCRYPT_START
+  3 RECEIVED_ENCRYPT_STOP
+  4 STARTED_ENCRYPT_START
+)
+
+(
+  0x00 MS_STANDBY
+  0x11 M_MINIT_1
+  0x12 M_MINIT_2
+  0x20 M_SINIT_0
+  0x30 S_MINIT_0
+  0x31 S_MINIT_1
+  0x32 S_MINIT_2
+  0x41 S_SINIT_1
+  0x42 S_SINIT_2
+  0x43 S_SINIT_3
+)
+
+(
+  0 TEST_MODE_ALLOWED
+  1 TEST_MODE_ACTIVE
+)
+
+(
+  0x00 NO_TEST_MODE
+  0x00 CONTINUOUS_TRANSMIT
+  0x10 TRANSMIT_TEST
+  0x08 LOOPBACK
+)
+
+
+(
+  1 SEND_TX_ADDR
+)
+
+(
+  5 PAGE_MODE_END
+)
+
+(
+  0x00 HOST_RETURN_SUCCESS
+  0x01 HOST_RETURN_SLAVE_CANT_ISSUE
+  0x02 HOST_RETURN_NO_CONNECTION
+  0x04 HOST_RETURN_PAGE_TIMEOUT
+  0x05 HOST_RETURN_INQUIRY_TIMEOUT
+  0x08 HOST_RETURN_CONNECTION_TIMEOUT
+  0x09 HOST_RETURN_MAX_NUM_CONNECTIONS
+  0x0a HOST_RETURN_MAX_NUM_SCO
+  0x0b HOST_RETURN_MAX_NUM_ACL
+  0x0c HOST_RETURN_SECURITY_REASONS
+  0x10 HOST_RETURN_HOST_TIMEOUT
+  0x11 HOST_RETURN_UNSUPPORTED_FEATURE_PARAMETER
+  0x13 HOST_RETURN_OTHER_END_USER
+  0x14 HOST_RETURN_OTHER_END_LOW_RESOURCE
+  0x15 HOST_RETURN_OTHER_END_POWER_OFF
+  0x16 HOST_RETURN_LOCAL_HOST
+  0x18 HOST_RETURN_PAIRING_NOT_ALLOWED
+  0x19 HOST_RETURN_UNKNOWN_PDU
+  0x1a HOST_RETURN_UNSUPPORTED_REMOTE_FEATURE
+  0x1d HOST_RETURN_SCO_AIR_MODE_REJECTED
+  0x20 HOST_RETURN_UNSUPPORTED_LMP_VALUE
+  0x21 HOST_RETURN_AUTHENTICATION_FAILURE
+  0x22 HOST_RETURN_CHANGED_EXISTING_SCO
+  0x23 HOST_RETURN_HOST_REJECTED
+  0x24 HOST_RETURN_UNSPECIFIED_ERROR
+  0x25 HOST_RESET
+  0x26 HOST_RETURN_BAD_HANDLE
+
+  0x00 HOST_RETURN_ACCEPT_COMMAND
+  0x01 HOST_RETURN_REJECT_COMMAND
+)
+
+(
+  0 HOST_IS_PRESENT
+  1 BCI_IS_PRESENT
+  2 DONT_INIT_RADIO
+)
+
+(
+  0 MASTER_STATE_STANDBY
+  1 MASTER_INQUIRY
+)
+
+(
+  92 SECOND_SWITCH_REQ
+  93 SLAVE_DELAY_DETACH
+  94 MASTER_DELAY_DETACH
+  95 UNSNIFF_DELAY_DETACH
+  0 WE_STARTED_AS_MASTER
+  1 WE_STARTED_AS_SLAVE
+)
+
+(
+  0x01 HOST_INQUIRY
+  0x02 HOST_INQUIRY_CANCEL
+  0x03 HOST_CREATE_CONNECTION
+  0x04 HOST_DISCONNECT_CONNECTION
+  0x05 HOST_ADD_SCO_REQUEST
+  0x06 HOST_REMOTE_NAME_REQUEST
+  0x07 HOST_WRITE_SUPPORTED_FEATURES
+  0x08 HOST_SET_TX_LEVEL
+  0x09 HOST_SET_RX_LEVEL
+  0x0a HOST_SNIFF_REQUEST
+  0x0b HOST_UNSNIFF_REQUEST
+  0x0c HOST_WRITE_LINK_SUPERVISION_TIMEOUT
+  0x0e HOST_WRITE_SCAN_ENABLE
+  0x0f HOST_READ_AUDIO_QUALITY
+  0x10 HOST_ENABLE_DEVICE_UNDER_TEST
+  0x14 HOST_BUTTON_CONFIGURE
+  0x15 HOST_SET_LOW_BATTERY_LEVEL
+  0x16 HOST_WRITE_LOCAL_NAME
+  0x17 HOST_WRITE_LOCAL_PIN
+  0x18 HOST_KILL_SCO_REQUEST
+  0x19 HOST_QOS_REQ
+
+  0x1a HOST_FEATURES_REQUEST
+  0x1b HOST_VERSION_REQUEST
+  0x1c HOST_TIMING_REQUEST
+  0x1d HOST_CLK_OFFSET_REQUEST
+  0x1e HOST_AUTHENTICATE
+  0x1f HOST_START_ENCRYPTION
+  0x20 HOST_STOP_ENCRYPTION
+  0x21 HOST_HOLD_REQUEST
+  0x22 HOST_HOLD_FORCE
+  0x23 HOST_PARK_REQUEST
+  0x24 HOST_MOD_BEACON
+  0x25 HOST_SET_BROADCAST_SCAN_WINDOW
+  0x26 HOST_UNPARK_PM_REQUEST
+  0x27 HOST_UNPARK_BD_REQUEST
+  0x28 HOST_SLAVE_REQUEST_UNPARK
+  0x29 HOST_DECREASE_POWER_REQUEST
+  0x2a HOST_INCREASE_POWER_REQUEST
+  0x2b HOST_SEND_PREFERRED_RATE
+  0x2c HOST_MAX_SLOT_REQ
+  0x2d HOST_MAX_SLOT_FORCE
+  0x2e HOST_PAGE_MODE_REQUEST
+  0x2f HOST_PAGE_SCAN_MODE_REQUEST
+  0x30 HOST_MASTER_SLAVE_SWITCH
+  0x31 HOST_SEND_AUTO_RATE
+  0x32 HOST_PAGE_CANCEL
+  0x33 HOST_CHANGE_LINK_KEY
+  0x34 HOST_RADIO_READ
+  0x35 HOST_RADIO_WRITE
+  0x36 HOST_REMOTE_SLAVE_INIT_UNPARK_REQUESTED
+
+  0x40 HOST_REMOTE_CONNECTION_REQUESTED
+  0x41 HOST_REMOTE_DETACH
+  0x42 HOST_REMOTE_SCO_CREATE_REQUESTED
+  0x43 HOST_REMOTE_SCO_KILL_REQUESTED
+  0x44 HOST_REMOTE_PARK_REQUESTED
+  0x45 HOST_REMOTE_UNPARK_REQUESTED
+  0x46 HOST_REMOTE_SNIFF_REQUESTED
+  0x47 HOST_REMOTE_UNSNIFF_REQUESTED
+  0x48 HOST_REMOTE_HOLD_REQUESTED
+  0x49 HOST_REMOTE_AUTHENTICATION
+  0x4a HOST_REMOTE_START_ENCRYPTION_REQUESTED
+  0x4b HOST_REMOTE_STOP_ENCRYPTION_REQUESTED
+  0x4c HOST_MODE_CHANGE_EVENT
+  0x4d HOST_REMOTE_TEST_ACTIVATE
+  0x4e HOST_REMOTE_TEST_CONTROL
+  0x4f HOST_REMOTE_TIMING_REQUEST
+)
+
+(
+  0x01 BCI_INQUIRY
+  0x02 BCI_INQUIRY_CANCEL
+  0x03 BCI_CREATE_CONNECTION
+  0x04 BCI_DISCONNECT
+  0x05 BCI_ADD_SCO_CONNECTION
+  0x06 BCI_REMOTE_NAME_REQUEST
+  0x07 BCI_WRITE_SUPPORTED_FEATURES
+  0x08 BCI_SET_TX_POWER_LEVEL
+  0x09 BCI_SET_RX_POWER_LEVEL
+  0x0a BCI_SNIFF_MODE
+  0x0b BCI_EXIT_SNIFF_MODE
+  0x0c BCI_WRITE_LINK_SUPERVISION_TIMEOUT
+  0x0d BCI_WRITE_PAGE_TIMEOUT
+  0x0e BCI_WRITE_SCAN_ENABLE
+  0x0f BCI_GET_AUDIO_QUALITY
+  0x10 BCI_ENABLE_DEVICE_UNDER_TEST
+  0x11 BCI_SEND_DATA
+  0x12 BCI_REGISTER_SERVICE_RECORD
+  0x13 BCI_SERVICE_SEARCH_ATTRIB_REQ
+  0x14 BCI_BUTTON_CONFIGURE
+  0x15 BCI_SET_LOW_BATTERY_LEVEL
+  0x16 BCI_WRITE_LOCAL_NAME
+  0x17 BCI_WRITE_LOCAL_PIN
+  0x18 BCI_REMOVE_SCO_CONNECTION
+  0x19 BCI_QUALITY_OF_SERVICE
+  0x40 BCI_REMOTE_CONNECTION_REQUEST
+  0x41 BCI_REMOTE_DETACH
+  0x42 BCI_REMOTE_ADD_SCO_REQUEST
+  0x43 BCI_REMOTE_REMOVE_SCO_REQUEST
+  0x44 BCI_REMOTE_PARK_REQUEST
+  0x45 BCI_REMOTE_UNPARK_REQUEST
+  0x46 BCI_REMOTE_SNIFF_REQUEST
+  0x47 BCI_REMOTE_UNSNIFF_REQUEST
+  0x48 BCI_REMOTE_HOLD_REQUEST
+  0x49 BCI_REMOTE_AUTHENTICATION_PAIRING_REQUEST
+  0x4a BCI_REMOTE_START_ENCRYPTION_REQUEST
+  0x4b BCI_REMOTE_STOP_ENCRYPTION_REQUEST
+  0x4c BCI_MODE_CHANGE_EVENT
+)
+
+(
+  0 MODE_CHANGE_ACTIVE
+  1 MODE_CHANGE_SNIFFING
+  2 MODE_CHANGE_PARKED
+  3 MODE_CHANGE_HOLDING
+  4 MODE_CHANGE_SCO_ADDED
+  5 MODE_CHANGE_SCO_REMOVED
+  6 MODE_CHANGE_ACL_CONNECTION
+  7 MODE_CHANGE_DISCONNECT
+  8 MODE_CHANGE_SCO_CHANGED
+  9 MODE_CHANGE_ENCRYPTING
+  10 MODE_CHANGE_NOT_ENCRYPTING
+  11 MODE_CHANGE_BUTTON_UP
+  12 MODE_CHANGE_BUTTON_DOWN
+  13 MODE_CHANGE_BATTERY_LOW
+  14 MODE_CHANGE_RESET
+  15 MODE_CHANGE_INQUIRY_CANCELED_RMTCMD
+  16 MODE_ACTIVE_MSSWITCH_PASSED
+  17 MODE_ACTIVE_MSSWITCH_FAILED
+)
+
+(
+  6 BATTERY_CHECK_LEVEL
+  7 BATTERY_SENT_STATUS
+)
+
+(
+  0x02 RADIO_2001
+  0x12 RADIO_2002
+  0x32 RADIO_2002_DDM
+  0x42 RADIO_1008A1
+  0x52 RADIO_1018A0
+)
+
+(
+  0 SLAVE_INIT_AUTHENTICATION
+  1 SLAVE_INIT_ENCRYPTION
+  2 SLAVE_INIT_MASTER_SLAVE_SWITCH
+)
+
+(
+  0 CONNECTION_AUTH
+  1 CONNECTION_ENCRYPT
+  2 CONNECTION_SWITCH
+  3 CONNECTION_ACL
+  4 CONNECTION_FEATURE_EXT
+)
+
+(
+  7 AA_INSERTION
+)
+
+
+
+
+format
+  ! 15 romdat
+  % d0
+  % d1
+  % d2
+  % d3
+  [8] d0
+  [8] d1
+  [8] d2
+  [8] d3
+end
+
+format
+  ! 15 enable   
+  % flag
+  [5] opcode
+  [6] 1
+  [6] flag
+  [6] null
+  [9] 0
+end
+ 
+format
+  ! 15 pulse   
+  % flag
+  [5] opcode
+  [6] 1
+  [6] flag
+  [6] null
+  [9] 0
+end
+
+format
+  ! 15 disable   
+  % flag
+  [5] opcode
+  [6] 2
+  [6] flag
+  [6] null
+  [9] 0
+end
+
+format
+  ! 15 set0  
+  % immediate
+  % reg
+  [5] opcode
+  [6] 9
+  [6] never
+  [6] reg
+  [9] immediate
+end
+
+format
+  ! 15 set1  
+  % immediate
+  % reg
+  [5] opcode
+  [6] 9          
+  [6] always
+  [6] reg
+  [9] immediate
+end
+
+format
+  ! 15 setflag  
+  % flag
+  % immediate
+  % reg
+  [5] opcode
+  [6] 9
+  [6] flag
+  [6] reg
+  [9] immediate
+end
+
+format
+  ! 15 nsetflag  
+  % flag
+  % immediate
+  % reg
+  [5] opcode
+  [6] 0x29
+  [6] flag
+  [6] reg
+  [9] immediate
+end
+
+format
+  ! 15 setflip    
+  % immediate
+  % reg
+  [5] opcode
+  [6] 10            
+  [6] always
+  [6] reg
+  [9] immediate
+end
+
+format
+  ! 0x1f qset1      
+  % reg             
+  [5] opcode
+  [6] 9
+  [6] always
+  [6] reg
+  [9] 0
+end
+  
+format
+  ! 0x1f qset0      
+  % reg             
+  [5] opcode
+  [6] 9
+  [6] never
+  [6] reg
+  [9] 0
+end
+
+format 
+  ! 0x1f qsetflag   
+  % flag
+  % reg
+  [5] opcode
+  [6] 9
+  [6] flag
+  [6] reg
+  [9] 0
+end
+
+format 
+  ! 0x1f nqsetflag   
+  % flag
+  % reg
+  [5] opcode
+  [6] 0x29
+  [6] flag
+  [6] reg
+  [9] 0
+end
+
+format
+  ! 0x1f qsetflip      
+  % reg
+  [5] opcode
+  [6] 10
+  [6] always
+  [6] reg
+  [9] 0
+end
+
+format
+  ! 1 parse       
+  % source
+  % dest
+  % immediate
+  [5] opcode
+  [4] source      
+  [2] 0
+  [6] 0    
+  [2] 0            
+  [4] dest        
+  [9] immediate   
+end
+
+format
+  ! 1 inject      
+  % destination
+  % immediate
+  [5] opcode
+  [4] 0
+  [2] 0
+  [6] 1
+  [2] 0
+  [4] destination 
+  [9] immediate   
+end
+
+format
+  ! 1 iinject
+  % destination
+  % regr
+  [5] opcode
+  [6] regr       
+  [6] 3
+  [2] 0
+  [4] destination 
+  [9] 0 
+end
+
+format
+  ! 1 stuff  
+  % source
+  % destination
+  [5] opcode
+  [4] source
+  [2] 0
+  [6] 2
+  [2] 0
+  [4] destination
+  [9] 0
+end
+
+format    
+  ! 3 force
+  % immediate
+  % regw
+  [5] opcode
+  [6] 0
+  [6] 0    
+  [6] regw  
+  [9] immediate
+end
+
+format    
+  ! 0x13 iforce
+  % regw
+  [5] opcode
+  [6] 0
+  [6] 0    
+  [6] regw  
+  [9] 0
+end
+
+format    
+  ! 3 increase
+  % immediate
+  % reg
+  [5] opcode
+  [6] reg
+  [6] 1    
+  [6] reg
+  [9] immediate
+end
+
+format
+  ! 3 pincrease
+  % immediate
+  [5] opcode
+  [6] -1  
+  [6] 1   
+  [6] -1  
+  [9] immediate
+end
+
+format    
+  ! 3 and_into
+  % immediate
+  % reg
+  [5] opcode
+  [6] reg
+  [6] 2    
+  [6] reg
+  [9] immediate
+end
+
+format
+  ! 3 and
+  % regr
+  % immediate
+  % regw
+  [5] opcode
+  [6] regr
+  [6] 2    
+  [6] regw
+  [9] immediate
+end
+  
+format
+  ! 0x13 iand    
+  % regr
+  % regw
+  [5] opcode
+  [6] regr
+  [6] 2    
+  [6] regw
+  [9] 0
+end
+  
+
+format    
+  ! 0x13 iand_into
+  % reg
+  [5] opcode
+  [6] reg
+  [6] 2    
+  [6] reg
+  [9] 0
+end
+
+format
+  ! 3 or_into
+  % immediate
+  % reg
+  [5] opcode
+  [6] reg
+  [6] 3    
+  [6] reg
+  [9] immediate
+end
+
+format
+  ! 3 or
+  % regr
+  % immediate
+  % regw
+  [5] opcode
+  [6] regr
+  [6] 3    
+  [6] regw
+  [9] immediate
+end
+
+format
+  ! 0x13 ior
+  % regr
+  % regw
+  [5] opcode
+  [6] regr
+  [6] 3    
+  [6] regw
+  [9] 0
+end
+
+format
+  ! 0x13 ior_into
+  % reg
+  [5] opcode
+  [6] reg
+  [6] 3    
+  [6] reg
+  [9] 0
+end
+
+format
+  ! 3 skip_to   
+  % reg
+  [5] opcode
+  [6] reg
+  [6] 4   
+  [6] rom_addr
+  [9] 0
+end
+
+format
+  ! 3 copy
+  % regr
+  % regw
+  [5] opcode
+  [6] regr
+  [6] 4   
+  [6] regw
+  [9] 0
+end
+
+format
+  ! 3 deposit   
+  % reg
+  [5] opcode
+  [6] reg
+  [6] 4   
+  [6] -1  
+  [9] 0
+end
+
+format
+  ! 3 icopy     
+  % regw
+  [5] opcode
+  [6] -1  
+  [6]  4  
+  [6] regw
+  [9] 0
+end
+
+format
+  ! 3 add
+  % regr
+  % immediate
+  % regw
+  [5] opcode
+  [6] regr
+  [6] 1
+  [6] regw
+  [9] immediate
+end
+
+format
+  ! 0x13 iadd       
+  % regr
+  % regw
+  [5] opcode
+  [6] regr
+  [6] 1
+  [6] regw
+  [9] 0
+end
+
+format
+  ! 3 sub          
+  % regr
+  % immediate
+  % regw
+  [5] opcode
+  [6] regr
+  [6] 12
+  [6] regw
+  [9] immediate
+end
+
+format
+  ! 0x13 isub       
+  % regr
+  % regw
+  [5] opcode
+  [6] regr
+  [6] 12
+  [6] regw
+  [9] 0
+end
+
+
+format
+  ! 3 flip
+  % immediate
+  % reg
+  [5] opcode
+  [6] reg
+  [6] 5
+  [6] reg
+  [9] immediate
+end
+  
+format
+  ! 0x13 iflip  
+  % regr
+  % regw
+  [5] opcode
+  [6] regr
+  [6] 5
+  [6] regw
+  [9] 0
+end
+  
+format
+  ! 3 xor
+  % regr
+  % immediate
+  % regw
+  [5] opcode
+  [6] regr
+  [6] 5
+  [6] regw
+  [9] immediate
+end
+
+format
+  ! 3 xor_into
+  % immediate
+  % reg
+  [5] opcode
+  [6] reg
+  [6] 5
+  [6] reg
+  [9] immediate
+end
+  
+format
+  ! 0x13 ixor  
+  % regr
+  % regw
+  [5] opcode
+  [6] regr
+  [6] 5
+  [6] regw
+  [9] 0
+end
+  
+format
+  ! 3 invert
+  % regr
+  % regw
+  [5] opcode
+  [6] regr
+  [6] 8
+  [6] regw
+  [9] 0
+end
+
+format
+  ! 3 pinvert    
+  [5] opcode
+  [6] -1
+  [6] 8
+  [6] -1
+  [9] 0
+end
+
+format
+  ! 3 div                 
+  % reg
+  % immediate
+  [5] opcode
+  [6] reg
+  [6] 13                   
+  [6] null
+  [9] immediate
+end
+
+format
+  ! 0x13 idiv           
+  % reg
+  [5] opcode
+  [6] reg
+  [6] 13                   
+  [6] null
+  [9] 0
+end
+
+format
+  ! 0x13 idiv48           
+  % reg
+  [5] opcode
+  [6] reg
+  [6] 17                   
+  [6] null
+  [9] 0
+end
+
+format
+  ! 3 remainder            
+  % regw
+  [5] opcode
+  [6] 0
+  [6] 14
+  [6] regw
+  [9] 0
+end
+
+format
+  ! 3 quotient             
+  % regw
+  [5] opcode
+  [6] 0
+  [6] 15
+  [6] regw
+  [9] 0
+end
+
+format
+  ! 3 rshift
+  % regr
+  % regw
+  [5] opcode
+  [6] regr
+  [6] 6
+  [6] regw
+  [9] 0
+end
+
+format
+  ! 3 rshift2
+  % regr
+  % regw
+  [5] opcode
+  [6] regr
+  [6] 22
+  [6] regw
+  [9] 0
+end
+
+format
+  ! 3 rshift3
+  % regr
+  % regw
+  [5] opcode
+  [6] regr
+  [6] 18
+  [6] regw
+  [9] 0
+end
+
+format
+  ! 3 rshift4
+  % regr
+  % regw
+  [5] opcode
+  [6] regr
+  [6] 35
+  [6] regw
+  [9] 0
+end
+
+format
+  ! 3 rshift8
+  % regr
+  % regw
+  [5] opcode
+  [6] regr
+  [6] 25
+  [6] regw
+  [9] 0
+end
+
+format
+  ! 3 rshift16
+  % regr
+  % regw
+  [5] opcode
+  [6] regr
+  [6] 34
+  [6] regw
+  [9] 0
+end
+
+format
+  ! 3 rshift32
+  % regr
+  % regw
+  [5] opcode
+  [6] regr
+  [6] 30
+  [6] regw
+  [9] 0
+end
+
+format
+  ! 3 lshift
+  % regr
+  % regw
+  [5] opcode
+  [6] regr
+  [6] 7
+  [6] regw
+  [9] 0
+end
+
+format
+  ! 3 lshift2
+  % regr
+  % regw
+  [5] opcode
+  [6] regr
+  [6] 23
+  [6] regw
+  [9] 0
+end
+
+format
+  ! 3 lshift8
+  % regr
+  % regw
+  [5] opcode
+  [6] regr
+  [6] 26
+  [6] regw
+  [9] 0
+end
+
+  
+format
+  ! 3 lshift3
+  % regr
+  % regw
+  [5] opcode
+  [6] regr
+  [6] 19
+  [6] regw
+  [9] 0
+end
+
+format
+  ! 3 lshift4
+  % regr
+  % regw
+  [5] opcode
+  [6] regr
+  [6] 36
+  [6] regw
+  [9] 0
+end
+  
+
+format
+  ! 3 lshift16
+  % regr
+  % regw
+  [5] opcode
+  [6] regr
+  [6] 32
+  [6] regw
+  [9] 0
+end
+
+format
+  ! 3 random               
+  % reg
+  [5] opcode
+  [6] 0
+  [6] 20
+  [6] reg
+  [9] 0
+end
+
+format                     
+  ! 3 reverse
+  % reg
+  % regw
+  [5] opcode
+  [6] reg
+  [6] 27
+  [6] regw
+  [9] 0
+end
+
+format
+  ! 3 priority    
+  % reg
+  % regw
+  [5] opcode
+  [6] reg
+  [6] 21
+  [6] regw
+  [9] 0
+end
+
+format
+  ! 7 setsect   
+  % section    
+  % set_data
+  [5] opcode
+  [7] 0
+  [2] section
+  [18] set_data
+end
+
+format
+  ! 10 preload   
+  % reg
+  [5] opcode
+  [6] reg
+  [6] 0
+  [6] -1
+  [9] 0
+end
+
+format  
+  ! 10 ialigned   
+  % regw
+  [5] opcode
+  [6] -1
+  [6] 0
+  [6] regw
+  [9] 0
+end
+
+format  
+  ! 10 aligned
+  % regr
+  % regw
+  [5] opcode
+  [6] regr
+  [6] 0
+  [6] regw
+  [9] 0
+end
+
+format
+  ! 4 branch
+  % addr
+  % flag
+  [5] opcode
+  [6] 1
+  [6] flag
+  [15] addr
+end
+
+format
+  ! 4 call
+  % addr
+  % flag
+  [5] opcode
+  [6] 2
+  [6] flag
+  [15] addr
+end
+
+format
+  ! 4 rtn
+  % flag
+  [5] opcode
+  [6] 3
+  [6] flag
+  [15] 0
+end
+
+format
+  ! 0x0d fetch          
+  % num_bytes
+  % addr
+  [5] opcode
+  [6] 63
+  [1] addr
+  [1] 0
+  [4] num_bytes
+  [15] addr
+end
+
+format
+  ! 0x0d fetcht          
+  % num_bytes
+  % addr
+  [5] opcode
+  [6] 2
+  [1] addr
+  [1] 1
+  [4] num_bytes
+  [15] addr
+end
+
+format
+  ! 0x1d ifetch         
+  % num_bytes
+  % reg
+  [5] opcode
+  [6] 63
+  [2] 0
+  [4] num_bytes
+  [9] 0
+  [6] reg
+end
+
+format
+  ! 0x1d ifetcht         
+  % num_bytes
+  % reg
+  [5] opcode
+  [6] 2
+  [2] 0
+  [4] num_bytes
+  [9] 0
+  [6] reg
+end
+
+format
+  ! 0x0c store          
+  % num_bytes
+  % addr
+  [5] opcode
+  [6] 63
+  [1] addr
+  [1] 0
+  [4] num_bytes
+  [15] addr
+end
+
+format
+  ! 0x0c storet          
+  % num_bytes
+  % addr
+  [5] opcode
+  [6] 2
+  [1] addr
+  [1] 1
+  [4] num_bytes
+  [15] addr
+end
+
+format
+  ! 0x1c istore        
+  % num_bytes
+  % regaddr
+  [5] opcode
+  [6] 63            
+  [2] 0
+  [4] num_bytes
+  [9] 0
+  [6] regaddr
+end
+
+format
+  ! 0x1c istoret        
+  % num_bytes
+  % regaddr
+  [5] opcode
+  [6] 2            
+  [2] 0
+  [4] num_bytes
+  [9] 0
+  [6] regaddr
+end
+
+format
+  ! 0x0d crc         // read from memory, count from loopcnt, put crc result into pdata 
+  % addr
+  [5] opcode
+  [6] 63
+  [6] 0
+  [15] addr
+end
+
+format
+  ! 0x1d icrc         
+  % reg
+  [5] opcode
+  [6] 63
+  [15] 0
+  [6] reg
+end
+
+
+format
+  ! 0x0c storer          
+  % reg
+  % num_bytes
+  % addr
+  [5] opcode
+  [6] reg               
+  [1] addr
+  [1] 0
+  [4] num_bytes
+  [15] addr
+end
+
+
+format
+  ! 0x1c istorer        
+  % regr
+  % num_bytes
+  % regaddr
+  [5] opcode
+  [6] regr            
+  [2] 0
+  [4] num_bytes
+  [9] 0
+  [6] regaddr
+end
+
+
+format
+  ! 0x0d fetchr          
+  % reg
+  % num_bytes
+  % addr
+  [5] opcode
+  [6] reg               
+  [1] addr
+  [1] 0
+  [4] num_bytes
+  [15] addr
+end
+
+format
+  ! 0x1d ifetchr        
+  % regr
+  % num_bytes
+  % regaddr
+  [5] opcode
+  [6] regr
+  [2] 0
+  [4] num_bytes
+  [9] 0
+  [6] regaddr
+end
+
+
+
+
+format
+  ! 0x0e jam
+  % immediate
+  % addr
+  [5] opcode
+  [3] 0
+  [16] addr
+  [8] immediate
+end
+
+format			
+  ! 4 nbranch
+  % addr
+  % flag
+  [5] opcode
+  [1] 1
+  [5] 1
+  [6] flag
+  [15] addr
+end
+
+format
+  ! 4 ncall
+  % addr
+  % flag
+  [5] opcode
+  [1] 1
+  [5] 2
+  [6] flag
+  [15] addr
+end
+
+format
+  ! 4 nrtn
+  % flag
+  [5] opcode
+  [1] 1
+  [5] 3
+  [6] flag
+  [15] 0
+end
+
+format
+  ! 4 nop
+  % addr  
+  [5] opcode
+  [6] 0     
+  [6] 0      
+  [15] addr
+end
+
+format
+  ! 4 clear_stack
+  [5] opcode
+  [6] 4
+  [6] 0    
+  [15] 0
+end
+
+format
+  ! 6 until
+  % reg
+  % flag
+  [5] opcode
+  [6] reg
+  [6] flag
+  [6] 1
+  [9] 0
+end
+  
+format
+  ! 6 correlate   
+  % reg          
+  % flag
+  [5] opcode
+  [6] reg
+  [6] flag
+  [6] 2           
+  [9] 0           
+end
+
+format
+  ! 5 compare   
+  % immediate
+  % reg
+  % mask
+  [5] opcode
+  [6] reg
+  [3] 0
+  [9] mask
+  [9] immediate
+end
+
+format
+  ! 0x15 icompare   
+  % mask
+  % reg
+  [5] opcode
+  [6] reg
+  [3] 0
+  [9] mask
+  [9] 0
+end
+
+format   
+  ! 5 iverify
+  % reg
+  [5] opcode
+  [6] reg
+  [3] 2
+  [18] 0
+end
+
+format
+  ! 0x15 qisolate1
+  % reg
+  [5] opcode
+  [6] reg
+  [3] 3
+  [18] -1
+end
+
+format
+  ! 0x15 qisolate0
+  % reg
+  [5] opcode
+  [6] reg
+  [3] 3
+  [18] 0
+end
+
+	
+format
+  ! 5 isolate1
+  % addr
+  % reg
+  [5] opcode
+  [6] reg
+  [3] 3
+  [9] -1
+  [9] addr
+end
+
+format
+  ! 5 isolate0
+  % addr
+  % reg
+  [5] opcode
+  [6] reg
+  [3] 3
+  [9] 0
+  [9] addr
+end
+
+format
+  ! 11 setarg
+  % immediate
+  [5] opcode
+  [27] immediate
+end
+
+format
+  ! 0x1b arg
+  % immediate
+  % reg
+  [5] opcode
+  [6] reg
+  [21] immediate
+end
+
+  
+format
+  ! 0 sleep
+  [5] opcode
+  [27] 0
+end
+
+format
+  ! 0 snooze
+  [5] opcode
+  [6] -1
+  [21] 0
+end
+
+format
+  ! 0 revision
+  % rev_num
+  [5] opcode
+  [27] rev_num
+end
+
+format
+  ! 0x18 loop   
+  % addr
+  [5] opcode
+  [4] 4
+  [8] 0
+  [15] addr
+end
+
+format
+  ! 0x18 beq   
+  % imme
+  % addr
+  [5] opcode
+  [4] 0
+  [8] imme
+  [15] addr
+end
+
+format
+  ! 0x18 bne   
+  % imme
+  % addr
+  [5] opcode
+  [4] 1
+  [8] imme
+  [15] addr
+end
+
+format
+  ! 0x18 rtneq   
+  % imme
+  [5] opcode
+  [4] 2
+  [8] imme
+  [15] 0
+end
+
+format
+  ! 0x18 rtnne   
+  % imme
+  [5] opcode
+  [4] 3
+  [8] imme
+  [15] 0
+end
+
+format
+  ! 0x18 bbit1   
+  % imme
+  % addr
+  [5] opcode
+  [4] 5
+  [8] imme
+  [15] addr
+end
+
+format
+  ! 0x18 bbit0   
+  % imme
+  % addr
+  [5] opcode
+  [4] 6
+  [8] imme
+  [15] addr
+end
+
+format
+  ! 0x18 rtnbit1   
+  % imme
+  [5] opcode
+  [4] 7
+  [8] imme
+  [15] 0
+end
+
+format
+  ! 0x18 rtnbit0   
+  % imme
+  [5] opcode
+  [4] 8
+  [8] imme
+  [15] 0
+end
+
+format
+  ! 8	bpatch
+  % imme
+  % addr
+  [5] opcode
+  [4] 9
+  [8] imme
+  [15] addr
+end
+
+format
+  ! 8	bpatchx
+  % imme
+  % addr
+  [5] opcode
+  [4] 14
+  [8] imme
+  [15] addr
+end
+
+format
+  ! 0x18 bmark1   
+  % imme
+  % addr
+  [5] opcode
+  [4] 10
+  [8] imme
+  [15] addr
+end
+
+format
+  ! 0x18 bmark0   
+  % imme
+  % addr
+  [5] opcode
+  [4] 11
+  [8] imme
+  [15] addr
+end
+
+format
+  ! 0x18 rtnmark1   
+  % imme
+  [5] opcode
+  [4] 12
+  [8] imme
+  [15] 0
+end
+
+format
+  ! 0x18 rtnmark0   
+  % imme
+  [5] opcode
+  [4] 13
+  [8] imme
+  [15] 0
+end
+
+format
+  ! 3 mul32                   
+  % regr
+  % immediate                                  
+  % regw
+  [5] opcode
+  [6] regr
+  [6] 31           
+  [6] regw
+  [9] immediate
+end
+
+format
+  ! 0x13 imul32             
+  % regr
+  % regw
+  [5] opcode
+  [6] regr
+  [6] 31                   
+  [6] regw
+  [9] 0
+end
+
+format
+  ! 0x13 imults             
+  % regr
+  % regw
+  [5] opcode
+  [6] regr
+  [6] 16
+  [6] regw
+  [9] 0
+end
+
+
+format
+  ! 3 byteswap
+  % regr
+  % regw
+  [5] opcode
+  [6] regr
+  [6] 33
+  [6] regw
+  [9] 0
+end
+
+format
+  ! 3 shasx          
+  % regr
+  % immediate
+  % regw
+  [5] opcode
+  [6] regr
+  [6] 28
+  [6] regw
+  [9] immediate
+end
+
+
+format
+  ! 0x13 regexrot 	
+  [5] opcode
+  [6] 0
+  [6] 29
+  [6] null
+  [9] 0
+end
+
Index: /YC1308AF/branch/shutter/RuiBoXin/output/bt_patch.bin	(added)
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/output/bt_patch.bin	(revision 0)
+++ /YC1308AF/branch/shutter/RuiBoXin/output/bt_patch.bin	(revision 0)
Index: output/bt_patch.h
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/output/bt_patch.h	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/output/bt_patch.h	(working copy)
@@ -0,0 +1,24 @@
+/*******************************************************************************
+*-------------------------------------------------------------------------------
+*
+* Copyright (c), 2014 Yichip Corp.
+*
+*ALL RIGHTS RESERVED
+*                                                                               
+********************************************************************************
+*                                                                               
+* File Name: YC_bt_patch.h                                                      
+*                                                                               
+* Abstract:                                                                     
+*This file use for save the patch code of YC1021.                               
+*******************************************************************************/
+                                                                                
+#ifndef __YC_BT_PATCH_H_                                                        
+#define __YC_BT_PATCH_H_                                                        
+                                                                                
+const unsigned char yc_patch[] = 
+{
+
+};
+                                                                                
+#endif
Index: output/bt_program23.icode
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/output/bt_program23.icode	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/output/bt_program23.icode	(working copy)
@@ -0,0 +1,30592 @@
+ 00000000  0x00000020 beq  0x00000000 , 0x00000004 
+ 00000001  0x00000021 beq  0x0000008b , 0x00000023 
+ 00000002  0x00000024 beq  0x000000e6 , 0x00000016 
+ 00000003  0x00000025 branch  0x0000137e 
+ 00000004  0x0000002c clear_stack 
+ 00000005  0x0000002d call  0x00000007 
+ 00000006  0x0000002e branch  0x00000804 
+ 00000007  0x00000031 call  0x00003166 
+ 00000008  0x00000032 fetch  0x00000001 , 0x0000409a 
+ 00000009  0x00000033 beq  0x00000009 , 0x0000000b 
+ 00000010  0x00000034 rtn 
+ 00000011  0x00000036 setarg  0x00000640 
+ 00000012  0x00000037 store  0x00000002 , 0x000047b5 
+ 00000013  0x00000038 setarg  0x00000640 
+ 00000014  0x00000039 store  0x00000002 , 0x000047b7 
+ 00000015  0x0000003b rtn  0x0000002b 
+ 00000016  0x0000003f setarg  0x00000002 
+ 00000017  0x00000040 store  0x00000002 , 0x000047f5 
+ 00000018  0x00000041 store  0x00000002 , 0x000047fa 
+ 00000019  0x00000042 setarg  0x00010210 
+ 00000020  0x00000043 store  0x00000003 , 0x00004354 
+ 00000021  0x00000044 rtn 
+ 00000022  0x00000047 call  0x00004c25 
+ 00000023  0x00000048 fetch  0x00000001 , 0x000047e1 
+ 00000024  0x00000049 beq  0x00000000 , 0x00004b4a 
+ 00000025  0x0000004a fetch  0x00000001 , 0x000047e2 
+ 00000026  0x0000004b store  0x00000001 , 0x00004793 
+ 00000027  0x0000004e setarg  0x00000000 
+ 00000028  0x0000004f call  0x00004c3c 
+ 00000029  0x00000050 jam  0x00000001 , 0x00004786 
+ 00000030  0x00000051 call  0x00007826 
+ 00000031  0x00000052 call  0x00007830 
+ 00000032  0x00000053 fetch  0x00000001 , 0x00000989 
+ 00000033  0x00000054 bbit0  0x00000002 , 0x00004c48 
+ 00000034  0x00000055 branch  0x00004c39 
+ 00000035  0x0000005a call  0x00006e5e 
+ 00000036  0x0000005b jam  0x00000004 , 0x000047da 
+ 00000037  0x0000005c jam  0x0000000b , 0x000047dc 
+ 00000038  0x0000005d jam  0x0000000b , 0x00008a0e 
+ 00000039  0x0000005e jam  0x00000005 , 0x00008a0f 
+ 00000040  0x0000005f jam  0x00000090 , 0x00008a83 
+ 00000041  0x00000060 branch  0x00001252 
+ 00002048  0x0000006c call  0x000013e1 
+ 00002049  0x0000006f bpatch  0x00000000 , 0x00004000 
+ 00002050  0x00000070 clear_stack 
+ 00002051  0x00000071 call  0x00003166 
+ 00002052  0x00000072 call  0x00001246 
+ 00002053  0x00000073 call  0x00005e33 
+ 00002054  0x00000074 call  0x00001386 
+ 00002055  0x00000075 call  0x00004e25 
+ 00002056  0x00000076 bpatch  0x00000001 , 0x00004000 
+ 00002057  0x00000077 call  0x00006323 
+ 00002058  0x00000078 call  0x000053df 
+ 00002059  0x00000079 call  0x0000781f 
+ 00002060  0x0000007a call  0x00003150 
+ 00002061  0x0000007b bpatch  0x00000002 , 0x00004000 
+ 00002062  0x0000007c call  0x0000315d , 0x0000002b 
+ 00002063  0x0000007d call  0x00006f0f 
+ 00002064  0x0000007e call  0x00006f31 
+ 00002065  0x0000007f call  0x00001484 , 0x0000002b 
+ 00002066  0x00000081 bpatch  0x00000003 , 0x00004000 
+ 00002067  0x00000082 call  0x000070d7 
+ 00002068  0x00000083 call  0x00007602 
+ 00002069  0x00000084 call  0x00006f12 
+ 00002070  0x00000085 call  0x00001b3f 
+ 00002071  0x00000086 call  0x00000838 
+ 00002072  0x00000087 call  0x0000317b 
+ 00002073  0x00000088 bpatch  0x00000004 , 0x00004000 
+ 00002074  0x00000089 call  0x00000890 
+ 00002075  0x0000008a call  0x00000b05 
+ 00002076  0x0000008b call  0x00000b77 
+ 00002077  0x0000008c call  0x00000821 
+ 00002078  0x0000008d call  0x0000217e 
+ 00002079  0x0000008e call  0x000014ac 
+ 00002080  0x0000008f branch  0x00000812 
+ 00002081  0x00000092 call  0x00000826 
+ 00002082  0x00000093 rtnmark0  0x00000009 
+ 00002083  0x00000094 set0  0x00000009 , 0x00000000 
+ 00002084  0x00000095 call  0x00000a30 
+ 00002085  0x00000096 branch  0x0000165e 
+ 00002086  0x00000099 bpatch  0x00000005 , 0x00004000 
+ 00002087  0x0000009a call  0x00000a6b 
+ 00002088  0x0000009b nbranch  0x0000082f , 0x00000005 
+ 00002089  0x0000009c call  0x00000a17 
+ 00002090  0x0000009d add  0x00000011 , 0x00000001 , 0x00000006 
+ 00002091  0x0000009e ifetch  0x00000001 , 0x00000006 
+ 00002092  0x0000009f bbit1  0x00000000 , 0x000015cb 
+ 00002093  0x000000a0 bbit1  0x00000001 , 0x00000969 
+ 00002094  0x000000a1 branch  0x00000bdc 
+ 00002095  0x000000a3 call  0x00000a38 
+ 00002096  0x000000a4 copy  0x00000039 , 0x0000003e 
+ 00002097  0x000000a5 rtn  0x00000005 
+ 00002098  0x000000a6 call  0x00000a17 
+ 00002099  0x000000a7 fetch  0x00000001 , 0x00000030 
+ 00002100  0x000000a8 bbit1  0x00000003 , 0x000008d3 
+ 00002101  0x000000a9 fetch  0x00000001 , 0x00000031 
+ 00002102  0x000000aa bbit1  0x00000001 , 0x00000969 
+ 00002103  0x000000ab branch  0x00000bdc 
+ 00002104  0x000000b4 fetch  0x00000001 , 0x000041db 
+ 00002105  0x000000b5 rtn  0x00000034 
+ 00002106  0x000000b6 beq  0x00000001 , 0x00000848 
+ 00002107  0x000000b7 beq  0x00000002 , 0x0000084d 
+ 00002108  0x000000b8 beq  0x00000003 , 0x00000850 
+ 00002109  0x000000b9 beq  0x00000005 , 0x00000855 
+ 00002110  0x000000ba beq  0x0000001b , 0x00000845 
+ 00002111  0x000000bb call  0x00000a64 
+ 00002112  0x000000bc rtn  0x00000005 
+ 00002113  0x000000bd call  0x00000a67 
+ 00002114  0x000000be rtn  0x00000005 
+ 00002115  0x000000c0 jam  0x00000000 , 0x000041db 
+ 00002116  0x000000c1 rtn 
+ 00002117  0x000000c4 jam  0x0000001b , 0x000002e0 
+ 00002118  0x000000c5 jam  0x00000000 , 0x000041db 
+ 00002119  0x000000c6 rtn 
+ 00002120  0x000000c9 set1  0x0000001c , 0x00000000 
+ 00002121  0x000000ca set0  0x0000001e , 0x00000000 
+ 00002122  0x000000cb jam  0x000000ff , 0x0000008c 
+ 00002123  0x000000cc jam  0x0000001f , 0x0000008a 
+ 00002124  0x000000cd branch  0x00000843 
+ 00002125  0x000000d0 set0  0x0000001c , 0x00000000 
+ 00002126  0x000000d1 force  0x00000000 , 0x0000001b 
+ 00002127  0x000000d2 branch  0x00000843 
+ 00002128  0x000000d5 call  0x00000a67 
+ 00002129  0x000000d6 rtn  0x00000005 
+ 00002130  0x000000d7 force  0x00000001 , 0x00000002 
+ 00002131  0x000000d8 jam  0x00000005 , 0x000000bd 
+ 00002132  0x000000d9 branch  0x0000085c 
+ 00002133  0x000000dc bpatch  0x00000006 , 0x00004000 
+ 00002134  0x000000de fetch  0x00000006 , 0x000041dd 
+ 00002135  0x000000e0 nop  0x00000001 
+ 00002136  0x000000e1 jam  0x00000001 , 0x0000478e 
+ 00002137  0x000000e3 jam  0x00000003 , 0x00000055 
+ 00002138  0x000000e4 branch  0x0000085b 
+ 00002139  0x000000e7 force  0x00000025 , 0x00000002 
+ 00002140  0x000000e9 bpatch  0x00000007 , 0x00004000 
+ 00002141  0x000000ea fetch  0x00000001 , 0x000000a7 
+ 00002142  0x000000eb branch  0x00000862 , 0x00000034 
+ 00002143  0x000000ec lshift3  0x0000003f , 0x0000003f 
+ 00002144  0x000000ed lshift4  0x0000003f , 0x0000003f 
+ 00002145  0x000000ee increase  0xffffffff , 0x0000003f 
+ 00002146  0x000000f0 store  0x00000001 , 0x000040ae 
+ 00002147  0x000000f1 store  0x00000001 , 0x000000a6 
+ 00002148  0x000000f2 jam  0x0000001f , 0x0000008b 
+ 00002149  0x000000f3 set0  0x0000000c , 0x00000000 
+ 00002150  0x000000f4 call  0x00000a48 
+ 00002151  0x000000f5 nbranch  0x00000884 , 0x00000005 
+ 00002152  0x000000f6 call  0x0000135f 
+ 00002153  0x000000f7 store  0x00000001 , 0x00000077 
+ 00002154  0x000000f8 storet  0x00000001 , 0x0000007c 
+ 00002155  0x000000f9 fetch  0x00000006 , 0x000041dd 
+ 00002156  0x000000fa store  0x00000006 , 0x00000040 
+ 00002157  0x000000fb bpatch  0x00000008 , 0x00004001 
+ 00002158  0x000000fc call  0x00007de8 
+ 00002159  0x000000fd fetcht  0x00000001 , 0x0000007c 
+ 00002160  0x000000fe force  0x00000000 , 0x0000003f 
+ 00002161  0x000000ff compare  0x00000001 , 0x00000002 , 0x000000ff 
+ 00002162  0x00000100 nsetflag  0x00000001 , 0x00000005 , 0x0000003f 
+ 00002163  0x00000101 set1  0x00000003 , 0x0000003f 
+ 00002164  0x00000102 store  0x00000001 , 0x00000030 
+ 00002165  0x00000103 jam  0x00000003 , 0x0000095b 
+ 00002166  0x00000104 call  0x000078dc 
+ 00002167  0x00000105 force  0x00000000 , 0x0000003f 
+ 00002168  0x00000106 setflag  0x00000001 , 0x00000004 , 0x0000003f 
+ 00002169  0x00000107 store  0x00000001 , 0x0000004c 
+ 00002170  0x00000108 setarg  0x00000000 
+ 00002171  0x00000109 set1  0x00000001 , 0x0000003f 
+ 00002172  0x0000010a store  0x00000001 , 0x00000031 
+ 00002173  0x0000010b enable  0x00000029 
+ 00002174  0x0000010c call  0x00000a30 
+ 00002175  0x0000010d disable  0x00000029 
+ 00002176  0x0000010e force  0x00000003 , 0x00000007 
+ 00002177  0x0000010f fetch  0x00000002 , 0x000040c1 
+ 00002178  0x00000110 call  0x00007ddb 
+ 00002179  0x00000111 branch  0x00000843 
+ 00002180  0x00000113 bpatch  0x00000009 , 0x00004001 
+ 00002181  0x00000114 fetch  0x00000006 , 0x000041dd 
+ 00002182  0x00000115 store  0x00000006 , 0x00000040 
+ 00002183  0x00000116 compare  0x00000001 , 0x00000002 , 0x000000ff 
+ 00002184  0x00000117 branch  0x0000088a , 0x00000001 
+ 00002185  0x00000118 branch  0x00000843 
+ 00002186  0x0000011a arg  0x00000a01 , 0x00000005 
+ 00002187  0x0000011b arg  0x00000008 , 0x00000039 
+ 00002188  0x0000011c call  0x00007d8c 
+ 00002189  0x0000011d jam  0x00000004 , 0x0000095b 
+ 00002190  0x0000011e call  0x000078dc 
+ 00002191  0x0000011f branch  0x00000843 
+ 00002192  0x00000127 rtnmark0  0x0000001c 
+ 00002193  0x00000128 force  0x00000001 , 0x00000007 
+ 00002194  0x00000129 call  0x00007de9 
+ 00002195  0x0000012a nsetflag  0x00000034 , 0x0000001c , 0x00000000 
+ 00002196  0x0000012b nbranch  0x00000896 , 0x00000034 
+ 00002197  0x0000012c rtn 
+ 00002198  0x00000131 bpatch  0x0000000a , 0x00004001 
+ 00002199  0x00000132 fetcht  0x00000002 , 0x000040c3 
+ 00002200  0x00000133 force  0x00000004 , 0x00000007 
+ 00002201  0x00000134 call  0x00000f40 
+ 00002202  0x00000135 rtn  0x00000028 
+ 00002203  0x00000136 call  0x000010f6 
+ 00002204  0x00000137 force  0x00000000 , 0x00000024 
+ 00002205  0x00000139 rtn  0x00000003 
+ 00002206  0x0000013a set0  0x0000000b , 0x00000000 
+ 00002207  0x0000013b set0  0x00000000 , 0x00000000 
+ 00002208  0x0000013d add  0x00000022 , 0x00000001 , 0x00000021 
+ 00002209  0x0000013e isolate1  0x0000001e , 0x00000000 
+ 00002210  0x0000013f setflag  0x00000001 , 0x00000002 , 0x00000024 
+ 00002211  0x00000140 compare  0x00000000 , 0x00000021 , 0x00000002 
+ 00002212  0x00000141 nbranch  0x000008bf , 0x00000001 
+ 00002213  0x00000144 bpatch  0x0000000b , 0x00004001 
+ 00002214  0x00000145 fetch  0x00000001 , 0x00000012 
+ 00002215  0x00000146 increase  0x00000001 , 0x0000003f 
+ 00002216  0x00000147 store  0x00000001 , 0x00000012 
+ 00002217  0x00000148 call  0x0000112a 
+ 00002218  0x00000149 call  0x00001124 
+ 00002219  0x0000014a call  0x00001144 
+ 00002220  0x0000014b call  0x00001340 
+ 00002221  0x0000014c call  0x00001345 
+ 00002222  0x0000014d call  0x00001353 
+ 00002223  0x0000014e call  0x00000e7c 
+ 00002224  0x0000014f call  0x000008b2 
+ 00002225  0x00000150 branch  0x0000089d 
+ 00002226  0x00000153 bpatch  0x0000000c , 0x00004001 
+ 00002227  0x00000154 fetch  0x00000001 , 0x0000008a 
+ 00002228  0x00000155 increase  0xffffffff , 0x0000003f 
+ 00002229  0x00000156 store  0x00000001 , 0x0000008a 
+ 00002230  0x00000157 rtn  0x00000002 
+ 00002231  0x00000158 jam  0x0000001f , 0x0000008a 
+ 00002232  0x00000159 fetch  0x00000001 , 0x0000008c 
+ 00002233  0x0000015a increase  0xffffffff , 0x0000003f 
+ 00002234  0x0000015b store  0x00000001 , 0x0000008c 
+ 00002235  0x0000015c rtn  0x00000002 
+ 00002236  0x0000015d setflip  0x0000001e , 0x00000000 
+ 00002237  0x0000015e jam  0x000000ff , 0x0000008c 
+ 00002238  0x0000015f rtn 
+ 00002239  0x00000162 bpatch  0x0000000d , 0x00004001 
+ 00002240  0x00000163 call  0x0000112a 
+ 00002241  0x00000164 call  0x0000111e 
+ 00002242  0x00000165 call  0x00001144 
+ 00002243  0x00000166 call  0x0000134a 
+ 00002244  0x00000167 call  0x000012d5 
+ 00002245  0x00000168 call  0x000012fb 
+ 00002246  0x00000169 branch  0x000008c9 , 0x00000018 
+ 00002247  0x0000016a call  0x000008b2 
+ 00002248  0x0000016b branch  0x000008a0 
+ 00002249  0x0000016d bpatch  0x0000000e , 0x00004001 
+ 00002250  0x0000016e call  0x0000127f 
+ 00002251  0x0000016f call  0x0000135b 
+ 00002252  0x00000170 call  0x00000d43 
+ 00002253  0x00000171 set0  0x00000001 , 0x00000000 
+ 00002254  0x00000172 rtnmark0  0x0000000b 
+ 00002255  0x00000175 fetch  0x00000001 , 0x00000013 
+ 00002256  0x00000176 increase  0x00000001 , 0x0000003f 
+ 00002257  0x00000177 store  0x00000001 , 0x00000013 
+ 00002258  0x00000178 rtn 
+ 00002259  0x00000181 bpatch  0x0000000f , 0x00004001 
+ 00002260  0x00000182 enable  0x00000029 
+ 00002261  0x00000183 enable  0x00000030 
+ 00002262  0x00000184 fetch  0x00000002 , 0x000040bd 
+ 00002263  0x00000185 branch  0x000008db , 0x00000034 
+ 00002264  0x00000186 force  0x00000008 , 0x00000007 
+ 00002265  0x00000187 call  0x00007de9 
+ 00002266  0x00000188 nrtn  0x00000034 
+ 00002267  0x0000018a bpatch  0x00000010 , 0x00004002 
+ 00002268  0x0000018b fetcht  0x00000002 , 0x000040bf 
+ 00002269  0x0000018c force  0x00000028 , 0x00000007 
+ 00002270  0x0000018d call  0x00000f40 
+ 00002271  0x0000018e branch  0x00000914 , 0x00000028 
+ 00002272  0x0000018f force  0x00000003 , 0x00000007 
+ 00002273  0x00000190 call  0x00007de9 
+ 00002274  0x00000191 nbranch  0x000008f0 , 0x00000034 
+ 00002275  0x00000192 fetch  0x00000001 , 0x0000004c 
+ 00002276  0x00000193 bbit1  0x00000004 , 0x000008e6 
+ 00002277  0x00000194 branch  0x000008e9 
+ 00002278  0x00000196 arg  0x00000a01 , 0x00000005 
+ 00002279  0x00000197 arg  0x00000008 , 0x00000039 
+ 00002280  0x00000198 call  0x00007d8c 
+ 00002281  0x0000019a bpatch  0x00000011 , 0x00004002 
+ 00002282  0x0000019b jam  0x00000000 , 0x00000030 
+ 00002283  0x0000019c call  0x000053e0 
+ 00002284  0x0000019d jam  0x00000000 , 0x0000478e 
+ 00002285  0x0000019e jam  0x00000013 , 0x0000095b 
+ 00002286  0x0000019f call  0x000078dc 
+ 00002287  0x000001a0 branch  0x00000914 
+ 00002288  0x000001a3 bpatch  0x00000012 , 0x00004002 
+ 00002289  0x000001a4 force  0x00000000 , 0x0000000b 
+ 00002290  0x000001a5 until  0x00000023 , 0x00000026 
+ 00002291  0x000001a6 fetch  0x00000001 , 0x000000a8 
+ 00002292  0x000001a7 increase  0xffffffff , 0x0000003f 
+ 00002293  0x000001a8 ixor  0x00000022 , 0x0000003f 
+ 00002294  0x000001a9 compare  0x00000000 , 0x0000003f , 0x00000003 
+ 00002295  0x000001aa nbranch  0x000008f0 , 0x00000001 
+ 00002296  0x000001ab deposit  0x00000004 
+ 00002297  0x000001ac store  0x00000001 , 0x000000e5 
+ 00002298  0x000001ad force  0x00000000 , 0x00000026 
+ 00002299  0x000001ae force  0x00000000 , 0x00000024 
+ 00002300  0x000001b1 bpatch  0x00000013 , 0x00004002 
+ 00002301  0x000001b2 branch  0x00000914 , 0x00000003 
+ 00002302  0x000001b3 call  0x0000112e 
+ 00002303  0x000001b4 fetchr  0x0000000b , 0x00000002 , 0x00000157 
+ 00002304  0x000001b5 until  0x00000023 , 0x00000026 
+ 00002305  0x000001b7 bpatch  0x00000014 , 0x00004002 
+ 00002306  0x000001b8 fetch  0x00000004 , 0x000000a8 
+ 00002307  0x000001b9 iforce  0x00000021 
+ 00002308  0x000001ba increase  0x00000001 , 0x0000003f 
+ 00002309  0x000001bb store  0x00000004 , 0x000000a8 
+ 00002310  0x000001bc isolate1  0x0000000c , 0x00000000 
+ 00002311  0x000001bd setflag  0x00000001 , 0x00000002 , 0x00000024 
+ 00002312  0x000001be compare  0x00000000 , 0x00000021 , 0x00000002 
+ 00002313  0x000001bf nbranch  0x00000928 , 0x00000001 
+ 00002314  0x000001c0 fetch  0x00000001 , 0x0000000c 
+ 00002315  0x000001c1 increase  0x00000001 , 0x0000003f 
+ 00002316  0x000001c2 store  0x00000001 , 0x0000000c 
+ 00002317  0x000001c3 call  0x00001124 
+ 00002318  0x000001c4 call  0x00001340 
+ 00002319  0x000001c5 call  0x00001345 
+ 00002320  0x000001c6 call  0x00001353 
+ 00002321  0x000001c7 call  0x00000e7c 
+ 00002322  0x000001c8 call  0x0000091a 
+ 00002323  0x000001c9 branch  0x000008fc 
+ 00002324  0x000001cb bpatch  0x00000015 , 0x00004002 
+ 00002325  0x000001cc disable  0x00000029 
+ 00002326  0x000001cd fetch  0x00000002 , 0x000040bd 
+ 00002327  0x000001ce rtn  0x00000034 
+ 00002328  0x000001cf force  0x00000008 , 0x00000007 
+ 00002329  0x000001d0 branch  0x00007ddb 
+ 00002330  0x000001d3 bpatch  0x00000016 , 0x00004002 
+ 00002331  0x000001d4 fetch  0x00000001 , 0x0000008b 
+ 00002332  0x000001d5 increase  0xffffffff , 0x0000003f 
+ 00002333  0x000001d6 store  0x00000001 , 0x0000008b 
+ 00002334  0x000001d7 rtn  0x00000002 
+ 00002335  0x000001d8 jam  0x0000001f , 0x0000008b 
+ 00002336  0x000001d9 fetch  0x00000001 , 0x000000a6 
+ 00002337  0x000001da increase  0xffffffff , 0x0000003f 
+ 00002338  0x000001db store  0x00000001 , 0x000000a6 
+ 00002339  0x000001dc rtn  0x00000002 
+ 00002340  0x000001dd setflip  0x0000000c , 0x00000000 
+ 00002341  0x000001de fetch  0x00000001 , 0x000040ae 
+ 00002342  0x000001df store  0x00000001 , 0x000000a6 
+ 00002343  0x000001e0 rtn 
+ 00002344  0x000001e3 bpatch  0x00000017 , 0x00004002 
+ 00002345  0x000001e4 call  0x0000111e 
+ 00002346  0x000001e5 call  0x0000134a 
+ 00002347  0x000001e6 call  0x000012d5 
+ 00002348  0x000001e7 call  0x000012fb 
+ 00002349  0x000001e8 branch  0x00000930 , 0x00000018 
+ 00002350  0x000001e9 call  0x0000091a 
+ 00002351  0x000001ea branch  0x00000901 
+ 00002352  0x000001ec call  0x00000e7c 
+ 00002353  0x000001ed fetch  0x00000001 , 0x0000000d 
+ 00002354  0x000001ee increase  0x00000001 , 0x0000003f 
+ 00002355  0x000001ef store  0x00000001 , 0x0000000d 
+ 00002356  0x000001f0 force  0x00000000 , 0x0000001b 
+ 00002357  0x000001f1 fetch  0x00000004 , 0x000000a8 
+ 00002358  0x000001f3 bpatch  0x00000018 , 0x00004003 
+ 00002359  0x000001f4 call  0x0000133e 
+ 00002360  0x000001f5 call  0x0000112e 
+ 00002361  0x000001f6 increase  0x00000001 , 0x00000026 
+ 00002362  0x000001f8 and_into  0x000001fd , 0x00000021 
+ 00002363  0x000001f9 and_into  0x000001fc , 0x00000024 
+ 00002364  0x000001fa call  0x00001124 
+ 00002365  0x000001fb call  0x00001340 
+ 00002366  0x000001fc call  0x00001345 
+ 00002367  0x000001fd call  0x00001353 
+ 00002368  0x000001fe deposit  0x00000022 
+ 00002369  0x000001ff store  0x00000004 , 0x000000b0 
+ 00002370  0x00000200 force  0x00000000 , 0x00000004 
+ 00002371  0x00000201 force  0x00000002 , 0x00000001 
+ 00002372  0x00000202 call  0x0000135b 
+ 00002373  0x00000203 call  0x00000f8a 
+ 00002374  0x00000205 bpatch  0x00000019 , 0x00004003 
+ 00002375  0x00000206 call  0x0000133c 
+ 00002376  0x00000207 or_into  0x00000002 , 0x00000021 
+ 00002377  0x00000208 and_into  0x000001fc , 0x00000024 
+ 00002378  0x00000209 call  0x0000111e 
+ 00002379  0x0000020a call  0x0000134a 
+ 00002380  0x0000020b call  0x000012d5 
+ 00002381  0x0000020c call  0x000012fb 
+ 00002382  0x0000020d call  0x00000e7c , 0x00000018 
+ 00002383  0x0000020e branch  0x00000955 , 0x00000018 
+ 00002384  0x0000020f fetch  0x00000001 , 0x00000010 
+ 00002385  0x00000210 branch  0x000008fc , 0x00000034 
+ 00002386  0x00000211 increase  0xffffffff , 0x0000003f 
+ 00002387  0x00000212 store  0x00000001 , 0x00000010 
+ 00002388  0x00000213 branch  0x00000936 
+ 00002389  0x00000216 bpatch  0x0000001a , 0x00004003 
+ 00002390  0x00000217 fetch  0x00000001 , 0x0000000e 
+ 00002391  0x00000218 increase  0x00000001 , 0x0000003f 
+ 00002392  0x00000219 store  0x00000001 , 0x0000000e 
+ 00002393  0x0000021a call  0x00000c42 
+ 00002394  0x0000021c set1  0x00000033 , 0x00000000 
+ 00002395  0x0000021d call  0x00000aff 
+ 00002396  0x0000021e branch  0x00000961 , 0x00000018 
+ 00002397  0x0000021f set0  0x00000033 , 0x00000000 
+ 00002398  0x00000220 call  0x00000c62 
+ 00002399  0x00000221 nbranch  0x0000095a , 0x00000034 
+ 00002400  0x00000222 branch  0x000008fc 
+ 00002401  0x00000225 bpatch  0x0000001b , 0x00004003 
+ 00002402  0x00000226 set0  0x00000033 , 0x00000000 
+ 00002403  0x00000227 fetch  0x00000001 , 0x00000030 
+ 00002404  0x00000228 set0  0x00000003 , 0x0000003f 
+ 00002405  0x00000229 store  0x00000001 , 0x00000030 
+ 00002406  0x0000022a call  0x00000c4d 
+ 00002407  0x0000022b disable  0x00000029 
+ 00002408  0x0000022c rtn 
+ 00002409  0x00000230 bpatch  0x0000001c , 0x00004003 
+ 00002410  0x00000231 enable  0x00000029 
+ 00002411  0x00000232 enable  0x00000030 
+ 00002412  0x00000233 call  0x000009e3 
+ 00002413  0x00000234 rtn  0x00000028 
+ 00002414  0x00000235 call  0x0000133e 
+ 00002415  0x00000236 add  0x00000022 , 0x00000001 , 0x00000021 
+ 00002416  0x00000237 call  0x00001134 
+ 00002417  0x00000238 force  0x00000003 , 0x00000024 
+ 00002418  0x00000239 call  0x000065e1 
+ 00002419  0x0000023a call  0x00000c96 
+ 00002420  0x0000023b call  0x00001124 
+ 00002421  0x0000023c call  0x00001340 
+ 00002422  0x0000023d call  0x00001345 
+ 00002423  0x0000023e call  0x00001353 
+ 00002424  0x0000023f call  0x00000f86 
+ 00002425  0x00000241 bpatch  0x0000001d , 0x00004003 
+ 00002426  0x00000242 call  0x000053f2 
+ 00002427  0x00000243 call  0x00000af1 
+ 00002428  0x00000244 nbranch  0x00000982 , 0x0000002d 
+ 00002429  0x00000245 call  0x00001378 
+ 00002430  0x00000246 call  0x00000f4c 
+ 00002431  0x00000247 fetch  0x00000001 , 0x0000000f 
+ 00002432  0x00000248 increase  0x00000001 , 0x0000003f 
+ 00002433  0x00000249 store  0x00000001 , 0x0000000f 
+ 00002434  0x0000024b bpatch  0x0000001e , 0x00004003 
+ 00002435  0x0000024c call  0x000065c9 
+ 00002436  0x0000024d call  0x0000098d 
+ 00002437  0x0000024e nrtn  0x00000029 
+ 00002438  0x0000024f call  0x00000f1c 
+ 00002439  0x00000250 nbranch  0x0000098a , 0x00000034 
+ 00002440  0x00000252 disable  0x00000029 
+ 00002441  0x00000253 rtn 
+ 00002442  0x00000256 call  0x00000c96 
+ 00002443  0x00000257 call  0x00000ae7 
+ 00002444  0x00000258 branch  0x00000979 
+ 00002445  0x0000025c branch  0x00000990 , 0x0000002d 
+ 00002446  0x0000025d call  0x0000136f 
+ 00002447  0x0000025e branch  0x0000099e , 0x00000002 
+ 00002448  0x00000260 call  0x000009a9 
+ 00002449  0x00000261 nbranch  0x0000099e , 0x00000028 
+ 00002450  0x00000262 fetch  0x00000001 , 0x0000004c 
+ 00002451  0x00000263 rtnbit0  0x00000004 
+ 00002452  0x00000264 rtnbit1  0x00000003 
+ 00002453  0x00000265 fetch  0x00000001 , 0x0000004b 
+ 00002454  0x00000266 rtnbit1  0x00000003 
+ 00002455  0x00000267 call  0x000009b0 
+ 00002456  0x00000268 nrtn  0x00000034 
+ 00002457  0x00000269 fetch  0x00000001 , 0x000000bd 
+ 00002458  0x0000026a increase  0xffffffff , 0x0000003f 
+ 00002459  0x0000026b store  0x00000001 , 0x000000bd 
+ 00002460  0x0000026c nrtn  0x00000034 
+ 00002461  0x0000026d branch  0x00005755 
+ 00002462  0x00000270 bpatch  0x0000001f , 0x00004003 
+ 00002463  0x00000271 call  0x00000c6a 
+ 00002464  0x00000272 disable  0x00000029 
+ 00002465  0x00000273 fetch  0x00000001 , 0x0000004c 
+ 00002466  0x00000274 bbit1  0x00000004 , 0x000009a4 
+ 00002467  0x00000275 rtn 
+ 00002468  0x00000278 fetch  0x00000001 , 0x0000004c 
+ 00002469  0x00000279 rtnbit1  0x00000003 
+ 00002470  0x0000027b arg  0x00000a01 , 0x00000005 
+ 00002471  0x0000027c arg  0x00000008 , 0x00000039 
+ 00002472  0x0000027d branch  0x00007d8c 
+ 00002473  0x00000280 bpatch  0x00000020 , 0x00004004 
+ 00002474  0x00000281 enable  0x00000028 
+ 00002475  0x00000282 fetch  0x00000001 , 0x0000004b 
+ 00002476  0x00000283 rtnbit0  0x00000003 
+ 00002477  0x00000284 call  0x000009b0 
+ 00002478  0x00000285 nrtn  0x00000034 
+ 00002479  0x00000286 branch  0x00007ec7 
+ 00002480  0x00000289 fetch  0x00000001 , 0x00000072 
+ 00002481  0x0000028a increase  0xffffffff , 0x0000003f 
+ 00002482  0x0000028b store  0x00000001 , 0x00000072 
+ 00002483  0x0000028c rtn 
+ 00002484  0x0000028f bpatch  0x00000021 , 0x00004004 
+ 00002485  0x00000290 fetch  0x00000001 , 0x00000030 
+ 00002486  0x00000291 bbit1  0x00000007 , 0x000009bd 
+ 00002487  0x00000292 fetch  0x00000001 , 0x00000877 
+ 00002488  0x00000293 branch  0x000009bd , 0x00000034 
+ 00002489  0x00000294 jam  0x00000000 , 0x00000877 
+ 00002490  0x00000295 jam  0x00000018 , 0x0000095b 
+ 00002491  0x00000296 call  0x000078dc 
+ 00002492  0x00000297 branch  0x000009bd 
+ 00002493  0x00000299 bpatch  0x00000022 , 0x00004004 
+ 00002494  0x0000029a call  0x00000a61 
+ 00002495  0x0000029b fetch  0x00000001 , 0x00000030 
+ 00002496  0x0000029c set1  0x00000007 , 0x0000003f 
+ 00002497  0x0000029d store  0x00000001 , 0x00000030 
+ 00002498  0x0000029e jam  0x00000001 , 0x000041ca 
+ 00002499  0x0000029f fetch  0x00000001 , 0x00000055 
+ 00002500  0x000002a0 bne  0x00000016 , 0x000009c5 
+ 00002501  0x000002a2 rtn 
+ 00002502  0x000002a5 jam  0x00000001 , 0x00000877 
+ 00002503  0x000002a7 fetch  0x00000001 , 0x00000030 
+ 00002504  0x000002a8 set0  0x00000007 , 0x0000003f 
+ 00002505  0x000002a9 store  0x00000001 , 0x00000030 
+ 00002506  0x000002aa rtn 
+ 00002507  0x000002af bpatch  0x00000023 , 0x00004004 
+ 00002508  0x000002b0 disable  0x00000028 
+ 00002509  0x000002b1 fetch  0x00000002 , 0x00000032 
+ 00002510  0x000002b2 arg  0x0000ffff , 0x00000002 
+ 00002511  0x000002b3 isub  0x00000002 , 0x0000003e 
+ 00002512  0x000002b4 nrtn  0x00000005 
+ 00002513  0x000002b5 fetch  0x00000004 , 0x00000034 
+ 00002514  0x000002b6 branch  0x000009d5 , 0x00000030 
+ 00002515  0x000002b7 isub  0x00000028 , 0x0000003f 
+ 00002516  0x000002b8 branch  0x000009d6 
+ 00002517  0x000002ba isub  0x00000022 , 0x0000003f 
+ 00002518  0x000002bc sub  0x0000003f , 0x00000004 , 0x0000003e 
+ 00002519  0x000002bd nrtn  0x00000002 
+ 00002520  0x000002be force  0x00000000 , 0x0000003f 
+ 00002521  0x000002bf store  0x00000002 , 0x00000032 
+ 00002522  0x000002c0 branch  0x00007ec5 
+ 00002523  0x000002c5 copy  0x0000003f , 0x00000002 
+ 00002524  0x000002c6 storet  0x00000004 , 0x00000034 
+ 00002525  0x000002c8 bpatch  0x00000024 , 0x00004004 
+ 00002526  0x000002c9 jam  0x00000001 , 0x00004645 
+ 00002527  0x000002ca setarg  0x0000ffff 
+ 00002528  0x000002cb store  0x00000002 , 0x00000032 
+ 00002529  0x000002cc jam  0x00000001 , 0x00000073 
+ 00002530  0x000002cd rtn 
+ 00002531  0x000002d1 bpatch  0x00000025 , 0x00004004 
+ 00002532  0x000002d2 call  0x000009cb 
+ 00002533  0x000002d3 nrtn  0x00000028 
+ 00002534  0x000002d4 disable  0x00000028 
+ 00002535  0x000002d5 jam  0x00000020 , 0x00000011 
+ 00002536  0x000002d6 set0  0x0000000b , 0x00000000 
+ 00002537  0x000002d7 set0  0x00000031 , 0x00000000 
+ 00002538  0x000002d9 call  0x0000133e 
+ 00002539  0x000002da call  0x00000af3 
+ 00002540  0x000002db bmark1  0x0000000b , 0x000009f8 
+ 00002541  0x000002dc call  0x00000c62 
+ 00002542  0x000002dd nbranch  0x000009ea , 0x00000034 
+ 00002543  0x000002de bmark1  0x00000031 , 0x00000a02 
+ 00002544  0x000002e0 bpatch  0x00000026 , 0x00004004 
+ 00002545  0x000002e1 disable  0x00000028 
+ 00002546  0x000002e2 deposit  0x00000022 
+ 00002547  0x000002e3 store  0x00000004 , 0x000040d1 
+ 00002548  0x000002e4 enable  0x00000030 
+ 00002549  0x000002e5 enable  0x00000029 
+ 00002550  0x000002e6 jam  0x0000002a , 0x0000095b 
+ 00002551  0x000002e7 branch  0x000078dc 
+ 00002552  0x000002ea bpatch  0x00000027 , 0x00004004 
+ 00002553  0x000002eb call  0x0000133c 
+ 00002554  0x000002ec arg  0x00000010 , 0x00000001 
+ 00002555  0x000002ed call  0x00000ae9 
+ 00002556  0x000002ee set1  0x00000031 , 0x00000000 
+ 00002557  0x000002ef set0  0x0000000b , 0x00000000 
+ 00002558  0x000002f0 fetch  0x00000001 , 0x00000077 
+ 00002559  0x000002f1 iforce  0x00000004 
+ 00002560  0x000002f2 jam  0x00000002 , 0x00000011 
+ 00002561  0x000002f3 branch  0x000009ea 
+ 00002562  0x000002f6 fetch  0x00000004 , 0x000000b4 
+ 00002563  0x000002f7 pincrease  0x00000008 
+ 00002564  0x000002f8 store  0x00000004 , 0x000000b4 
+ 00002565  0x000002f9 disable  0x00000030 
+ 00002566  0x000002fa disable  0x00000029 
+ 00002567  0x000002fb call  0x00001035 
+ 00002568  0x000002fc call  0x00000c42 
+ 00002569  0x000002fe bpatch  0x00000028 , 0x00004005 
+ 00002570  0x000002ff call  0x00000c89 
+ 00002571  0x00000300 branch  0x00000a0f , 0x0000002d 
+ 00002572  0x00000301 call  0x00000c62 
+ 00002573  0x00000302 nbranch  0x00000a09 , 0x00000034 
+ 00002574  0x00000303 branch  0x000009f0 
+ 00002575  0x00000305 fetch  0x00000001 , 0x00000031 
+ 00002576  0x00000306 set0  0x00000001 , 0x0000003f 
+ 00002577  0x00000307 store  0x00000001 , 0x00000031 
+ 00002578  0x00000308 call  0x00001378 
+ 00002579  0x00000309 call  0x0000105d 
+ 00002580  0x0000030a enable  0x00000028 
+ 00002581  0x0000030b jam  0x0000002b , 0x0000095b 
+ 00002582  0x0000030c branch  0x000078dc 
+ 00002583  0x00000312 bpatch  0x00000029 , 0x00004005 
+ 00002584  0x00000313 set1  0x00000009 , 0x00000000 
+ 00002585  0x00000314 deposit  0x00000011 
+ 00002586  0x00000315 store  0x00000002 , 0x0000001e 
+ 00002587  0x00000316 force  0x00000058 , 0x00000039 
+ 00002588  0x00000317 arg  0x00000287 , 0x00000005 
+ 00002589  0x00000318 add  0x00000011 , 0x00000001 , 0x00000006 
+ 00002590  0x00000319 ifetch  0x00000001 , 0x00000006 
+ 00002591  0x0000031a copy  0x00000011 , 0x00000006 
+ 00002592  0x0000031b bbit1  0x00000000 , 0x00007dd4 
+ 00002593  0x0000031c arg  0x00000030 , 0x00000005 
+ 00002594  0x0000031d call  0x00007dd4 
+ 00002595  0x0000031e disable  0x0000002e 
+ 00002596  0x0000031f fetch  0x00000001 , 0x00000077 
+ 00002597  0x00000320 iforce  0x00000004 
+ 00002598  0x00000321 jam  0x00000001 , 0x00000088 
+ 00002599  0x00000322 branch  0x00000a29 , 0x00000029 
+ 00002600  0x00000323 jam  0x00000001 , 0x00000088 
+ 00002601  0x00000325 fetch  0x00000001 , 0x00000030 
+ 00002602  0x00000326 rtnbit0  0x00000001 
+ 00002603  0x00000327 fetch  0x00000001 , 0x00000073 
+ 00002604  0x00000328 store  0x00000001 , 0x00000088 
+ 00002605  0x00000329 fetch  0x00000001 , 0x00000074 
+ 00002606  0x0000032a store  0x00000001 , 0x00000089 
+ 00002607  0x0000032b rtn 
+ 00002608  0x0000032e bpatch  0x0000002a , 0x00004005 
+ 00002609  0x0000032f fetch  0x00000002 , 0x0000001e 
+ 00002610  0x00000330 iforce  0x00000005 
+ 00002611  0x00000331 force  0x00000058 , 0x00000039 
+ 00002612  0x00000332 arg  0x00000287 , 0x00000006 
+ 00002613  0x00000333 branch  0x00007dd4 , 0x00000036 
+ 00002614  0x00000334 arg  0x00000030 , 0x00000006 
+ 00002615  0x00000335 branch  0x00007dd4 
+ 00002616  0x0000033a arg  0x00000001 , 0x00000039 
+ 00002617  0x0000033b fetcht  0x00000001 , 0x00000015 
+ 00002618  0x0000033d increase  0x00000001 , 0x00000002 
+ 00002619  0x0000033e compare  0x00000001 , 0x00000002 , 0x000000ff 
+ 00002620  0x0000033f nbranch  0x00000a3e , 0x00000001 
+ 00002621  0x00000340 arg  0x00000000 , 0x00000002 
+ 00002622  0x00000342 storet  0x00000001 , 0x00000015 
+ 00002623  0x00000343 mul32  0x00000002 , 0x00000058 , 0x0000003f 
+ 00002624  0x00000344 arg  0x00004040 , 0x00000011 
+ 00002625  0x00000345 iadd  0x00000011 , 0x00000011 
+ 00002626  0x00000346 ifetch  0x00000001 , 0x00000011 
+ 00002627  0x00000347 bbit1  0x00000001 , 0x00000a46 
+ 00002628  0x00000348 rtnbit1  0x00000000 
+ 00002629  0x00000349 rtnbit1  0x00000003 
+ 00002630  0x0000034b loop  0x00000a3a 
+ 00002631  0x0000034c rtn 
+ 00002632  0x0000034f bpatch  0x0000002b , 0x00004005 
+ 00002633  0x00000350 arg  0x00000a77 , 0x00000013 
+ 00002634  0x00000351 call  0x00000a6e 
+ 00002635  0x00000352 nrtn  0x00000005 
+ 00002636  0x00000353 deposit  0x00000011 
+ 00002637  0x00000354 store  0x00000002 , 0x0000001e 
+ 00002638  0x00000355 force  0x00000000 , 0x0000003e 
+ 00002639  0x00000356 rtn 
+ 00002640  0x0000035b call  0x00000f49 
+ 00002641  0x0000035c branch  0x00000a58 , 0x00000001 
+ 00002642  0x0000035d fetch  0x00000002 , 0x0000001e 
+ 00002643  0x0000035e add  0x0000003f , 0x00000017 , 0x00000005 
+ 00002644  0x0000035f fetch  0x00000001 , 0x00000047 
+ 00002645  0x00000360 istore  0x00000001 , 0x00000005 
+ 00002646  0x00000361 arg  0x00000ab7 , 0x00000013 
+ 00002647  0x00000362 branch  0x00000a6e 
+ 00002648  0x00000365 fetch  0x00000001 , 0x00000047 
+ 00002649  0x00000366 isolate1  0x00000003 , 0x0000003f 
+ 00002650  0x00000367 branch  0x00000a5d , 0x00000001 
+ 00002651  0x00000368 force  0x00000001 , 0x0000003e 
+ 00002652  0x00000369 rtn 
+ 00002653  0x0000036b force  0x00000000 , 0x0000003e 
+ 00002654  0x0000036c rtn 
+ 00002655  0x00000370 arg  0x00000ab4 , 0x00000013 
+ 00002656  0x00000371 branch  0x00000a6e 
+ 00002657  0x00000374 fetcht  0x00000002 , 0x0000001e 
+ 00002658  0x00000375 arg  0x00000adc , 0x00000013 
+ 00002659  0x00000376 branch  0x00000a6e 
+ 00002660  0x0000037b fetcht  0x00000001 , 0x000041dc 
+ 00002661  0x0000037d arg  0x00000a82 , 0x00000013 
+ 00002662  0x0000037e branch  0x00000a6e 
+ 00002663  0x00000381 bpatch  0x0000002c , 0x00004005 
+ 00002664  0x00000382 fetcht  0x00000006 , 0x000041dd 
+ 00002665  0x00000384 arg  0x00000a7b , 0x00000013 
+ 00002666  0x00000385 branch  0x00000a6e 
+ 00002667  0x00000388 arg  0x00000a88 , 0x00000013 
+ 00002668  0x00000389 branch  0x00000a6e 
+ 00002669  0x0000038c arg  0x00000ad3 , 0x00000013 
+ 00002670  0x0000038e bpatch  0x0000002d , 0x00004005 
+ 00002671  0x0000038f arg  0x00004040 , 0x00000011 
+ 00002672  0x00000390 arg  0x00000001 , 0x00000039 
+ 00002673  0x00000392 ifetch  0x00000001 , 0x00000011 
+ 00002674  0x00000393 copy  0x00000013 , 0x0000003d 
+ 00002675  0x00000395 increase  0x00000058 , 0x00000011 
+ 00002676  0x00000396 loop  0x00000a71 
+ 00002677  0x00000397 force  0x00000001 , 0x0000003e 
+ 00002678  0x00000398 rtn 
+ 00002679  0x0000039b bbit1  0x00000000 , 0x00000a73 
+ 00002680  0x0000039c bbit1  0x00000003 , 0x00000a73 
+ 00002681  0x0000039d force  0x00000000 , 0x0000003e 
+ 00002682  0x0000039e rtn 
+ 00002683  0x000003a1 bbit1  0x00000003 , 0x00000a7d 
+ 00002684  0x000003a2 bbit0  0x00000000 , 0x00000a73 
+ 00002685  0x000003a4 add  0x00000011 , 0x00000010 , 0x00000006 
+ 00002686  0x000003a5 ifetch  0x00000006 , 0x00000006 
+ 00002687  0x000003a6 isub  0x00000002 , 0x0000003e 
+ 00002688  0x000003a7 rtn  0x00000005 
+ 00002689  0x000003a8 branch  0x00000a73 
+ 00002690  0x000003ab bbit0  0x00000000 , 0x00000a73 
+ 00002691  0x000003ac add  0x00000011 , 0x00000016 , 0x00000006 
+ 00002692  0x000003ad ifetch  0x00000001 , 0x00000006 
+ 00002693  0x000003ae isub  0x00000002 , 0x0000003e 
+ 00002694  0x000003af rtn  0x00000005 
+ 00002695  0x000003b0 branch  0x00000a73 
+ 00002696  0x000003b3 bbit0  0x00000001 , 0x00000a73 
+ 00002697  0x000003b5 call  0x00000ac0 
+ 00002698  0x000003b6 call  0x00000aa4 
+ 00002699  0x000003b7 isub  0x00000002 , 0x0000003f 
+ 00002700  0x000003b8 increase  0x00000001 , 0x0000003f 
+ 00002701  0x000003b9 branch  0x00000a9e , 0x00000002 
+ 00002702  0x000003ba copy  0x00000006 , 0x00000012 
+ 00002703  0x000003bb store  0x00000009 , 0x00000964 
+ 00002704  0x000003bc fetch  0x00000001 , 0x000046bd 
+ 00002705  0x000003bd nbranch  0x00000a96 , 0x00000034 
+ 00002706  0x000003be fetch  0x00000009 , 0x00000964 
+ 00002707  0x000003bf copy  0x00000012 , 0x00000006 
+ 00002708  0x000003c0 increase  0x00000005 , 0x0000003f 
+ 00002709  0x000003c1 branch  0x00000a99 
+ 00002710  0x000003c3 fetch  0x00000009 , 0x00000964 
+ 00002711  0x000003c4 copy  0x00000012 , 0x00000006 
+ 00002712  0x000003c5 increase  0x00000014 , 0x0000003f 
+ 00002713  0x000003c7 nbranch  0x00000a73 , 0x00000002 
+ 00002714  0x000003c9 copy  0x00000002 , 0x00000021 
+ 00002715  0x000003ca call  0x00000acc 
+ 00002716  0x000003cb force  0x00000000 , 0x0000003e 
+ 00002717  0x000003cc rtn 
+ 00002718  0x000003d0 iforce  0x00000012 
+ 00002719  0x000003d1 add  0x00000011 , 0x00000002 , 0x00000006 
+ 00002720  0x000003d2 ifetch  0x00000002 , 0x00000006 
+ 00002721  0x000003d3 branch  0x00000a9a , 0x00000034 
+ 00002722  0x000003d4 call  0x00000acc 
+ 00002723  0x000003d5 branch  0x00000a89 
+ 00002724  0x000003d8 rshift16  0x0000003f , 0x0000000b 
+ 00002725  0x000003d9 rshift8  0x0000000b , 0x0000000b 
+ 00002726  0x000003da branch  0x00000aae , 0x00000005 
+ 00002727  0x000003db compare  0x0000000f , 0x0000000b , 0x0000000f 
+ 00002728  0x000003dc nrtn  0x00000001 
+ 00002729  0x000003dd rshift16  0x00000002 , 0x0000000b 
+ 00002730  0x000003de rshift8  0x0000000b , 0x0000000b 
+ 00002731  0x000003df nrtn  0x00000005 
+ 00002732  0x000003e0 set1  0x0000001c , 0x00000002 
+ 00002733  0x000003e1 rtn 
+ 00002734  0x000003e3 rshift16  0x00000002 , 0x0000000b 
+ 00002735  0x000003e4 rshift8  0x0000000b , 0x0000000b 
+ 00002736  0x000003e5 compare  0x0000000f , 0x0000000b , 0x0000000f 
+ 00002737  0x000003e6 nrtn  0x00000001 
+ 00002738  0x000003e7 set1  0x0000001c , 0x0000003f 
+ 00002739  0x000003e8 rtn 
+ 00002740  0x000003eb bbit0  0x00000000 , 0x00000a73 
+ 00002741  0x000003ec force  0x00000000 , 0x0000003e 
+ 00002742  0x000003ed rtn 
+ 00002743  0x000003f0 bbit0  0x00000000 , 0x00000a73 
+ 00002744  0x000003f1 add  0x00000011 , 0x00000001 , 0x00000006 
+ 00002745  0x000003f2 ifetch  0x00000001 , 0x00000006 
+ 00002746  0x000003f3 bbit1  0x00000000 , 0x00000a73 
+ 00002747  0x000003f4 add  0x00000011 , 0x00000017 , 0x00000006 
+ 00002748  0x000003f5 ifetch  0x00000001 , 0x00000006 
+ 00002749  0x000003f6 bbit0  0x00000003 , 0x00000a73 
+ 00002750  0x000003f7 force  0x00000000 , 0x0000003e 
+ 00002751  0x000003f8 rtn 
+ 00002752  0x000003fb add  0x00000011 , 0x00000001 , 0x00000006 
+ 00002753  0x000003fc ifetcht  0x00000001 , 0x00000006 
+ 00002754  0x000003fd deposit  0x00000022 
+ 00002755  0x000003fe isolate1  0x00000001 , 0x00000002 
+ 00002756  0x000003ff add  0x00000011 , 0x00000004 , 0x00000006 
+ 00002757  0x00000400 ifetcht  0x00000004 , 0x00000006 
+ 00002758  0x00000401 rtn  0x00000001 
+ 00002759  0x00000402 add  0x00000011 , 0x00000008 , 0x00000006 
+ 00002760  0x00000403 ifetch  0x00000006 , 0x00000006 
+ 00002761  0x00000404 call  0x00001073 
+ 00002762  0x00000405 deposit  0x00000028 
+ 00002763  0x00000406 rtn 
+ 00002764  0x00000409 add  0x00000011 , 0x00000002 , 0x00000006 
+ 00002765  0x0000040a add  0x00000011 , 0x00000004 , 0x00000005 
+ 00002766  0x0000040b ifetch  0x00000002 , 0x00000006 
+ 00002767  0x0000040c iadd  0x00000002 , 0x0000000b 
+ 00002768  0x0000040d deposit  0x0000000b 
+ 00002769  0x0000040e istore  0x00000004 , 0x00000005 
+ 00002770  0x0000040f branch  0x000016b1 
+ 00002771  0x00000413 bbit0  0x00000001 , 0x00000a73 
+ 00002772  0x00000414 call  0x00000ac0 
+ 00002773  0x00000415 iadd  0x0000001b , 0x0000003f 
+ 00002774  0x00000416 iadd  0x0000001b , 0x0000003f 
+ 00002775  0x00000417 iadd  0x00000007 , 0x0000003f 
+ 00002776  0x00000418 isub  0x00000002 , 0x0000003e 
+ 00002777  0x00000419 nbranch  0x00000a73 , 0x00000002 
+ 00002778  0x0000041a force  0x00000000 , 0x0000003e 
+ 00002779  0x0000041b rtn 
+ 00002780  0x0000041e bbit0  0x00000000 , 0x00000a73 
+ 00002781  0x0000041f deposit  0x00000002 
+ 00002782  0x00000420 isub  0x00000011 , 0x0000003e 
+ 00002783  0x00000421 branch  0x00000a73 , 0x0000003e 
+ 00002784  0x00000422 add  0x00000011 , 0x00000001 , 0x00000006 
+ 00002785  0x00000423 ifetch  0x00000001 , 0x00000006 
+ 00002786  0x00000424 bbit1  0x00000000 , 0x00000a73 
+ 00002787  0x00000425 ifetch  0x00000001 , 0x00000011 
+ 00002788  0x00000426 set0  0x00000007 , 0x0000003f 
+ 00002789  0x00000427 istore  0x00000001 , 0x00000011 
+ 00002790  0x00000428 branch  0x00000a73 
+ 00002791  0x0000042c bpatch  0x0000002e , 0x00004005 
+ 00002792  0x0000042d call  0x0000133e 
+ 00002793  0x0000042f add  0x00000022 , 0x00000001 , 0x00000021 
+ 00002794  0x00000430 call  0x00001134 
+ 00002795  0x00000431 force  0x00000003 , 0x00000024 
+ 00002796  0x00000432 call  0x00001124 
+ 00002797  0x00000433 call  0x00001340 
+ 00002798  0x00000434 call  0x00001345 
+ 00002799  0x00000435 call  0x00001353 
+ 00002800  0x00000436 branch  0x00000f86 
+ 00002801  0x00000439 bpatch  0x0000002f , 0x00004005 
+ 00002802  0x0000043a call  0x0000133c 
+ 00002803  0x0000043c add  0x00000022 , 0x00000001 , 0x00000021 
+ 00002804  0x0000043d call  0x00001134 
+ 00002805  0x0000043e force  0x00000003 , 0x00000024 
+ 00002806  0x0000043f call  0x0000111e 
+ 00002807  0x00000440 call  0x00000c37 
+ 00002808  0x00000441 call  0x000012da 
+ 00002809  0x00000442 call  0x0000134a 
+ 00002810  0x00000443 call  0x000012d5 
+ 00002811  0x00000445 call  0x000012fb 
+ 00002812  0x00000446 nrtn  0x00000018 
+ 00002813  0x00000447 call  0x0000127f 
+ 00002814  0x00000448 branch  0x00000d40 
+ 00002815  0x0000044d bpatch  0x00000030 , 0x00004006 
+ 00002816  0x0000044e fetch  0x00000001 , 0x000000e5 
+ 00002817  0x0000044f iforce  0x00000004 
+ 00002818  0x00000450 force  0x00000001 , 0x00000001 
+ 00002819  0x00000451 call  0x00000ae7 
+ 00002820  0x00000452 branch  0x00000af1 
+ 00002821  0x0000045e fetch  0x00000001 , 0x0000409b 
+ 00002822  0x0000045f rtnbit0  0x00000000 
+ 00002823  0x00000460 force  0x00000004 , 0x00000007 
+ 00002824  0x00000461 call  0x00007de9 
+ 00002825  0x00000462 nrtn  0x00000034 
+ 00002826  0x00000463 fetcht  0x00000002 , 0x000040b5 
+ 00002827  0x00000464 force  0x00000004 , 0x00000007 
+ 00002828  0x00000465 call  0x00000f40 
+ 00002829  0x00000466 rtn  0x00000028 
+ 00002830  0x00000467 call  0x00000b15 
+ 00002831  0x00000468 force  0x00000004 , 0x00000007 
+ 00002832  0x00000469 fetch  0x00000002 , 0x000040b7 
+ 00002833  0x0000046a nbranch  0x00007ddb , 0x00000018 
+ 00002834  0x0000046b random  0x0000003f 
+ 00002835  0x0000046c iand  0x00000035 , 0x0000003f 
+ 00002836  0x0000046d branch  0x00007ddb 
+ 00002837  0x00000471 bpatch  0x00000031 , 0x00004006 
+ 00002838  0x00000472 jam  0x00000000 , 0x000000e5 
+ 00002839  0x00000473 disable  0x00000030 
+ 00002840  0x00000474 disable  0x0000002e 
+ 00002841  0x00000475 call  0x000010f6 
+ 00002842  0x00000476 and  0x00000022 , 0x000001fc , 0x00000021 
+ 00002843  0x00000477 force  0x00000001 , 0x00000024 
+ 00002844  0x00000478 call  0x0000112a 
+ 00002845  0x00000479 call  0x0000111e 
+ 00002846  0x0000047a setflip  0x0000001d , 0x00000000 
+ 00002847  0x0000047b fetch  0x00000001 , 0x00000006 
+ 00002848  0x0000047c increase  0x00000001 , 0x0000003f 
+ 00002849  0x0000047d store  0x00000001 , 0x00000006 
+ 00002850  0x0000047e call  0x00001144 
+ 00002851  0x0000047f call  0x000012d5 
+ 00002852  0x00000480 call  0x00001302 
+ 00002853  0x00000481 nrtn  0x00000018 
+ 00002854  0x00000482 bpatch  0x00000032 , 0x00004006 
+ 00002855  0x00000483 force  0x00000000 , 0x0000001b 
+ 00002856  0x00000484 call  0x0000114b 
+ 00002857  0x00000485 fetch  0x00000001 , 0x00000007 
+ 00002858  0x00000486 increase  0x00000001 , 0x0000003f 
+ 00002859  0x00000487 store  0x00000001 , 0x00000007 
+ 00002860  0x00000488 call  0x0000112a 
+ 00002861  0x00000489 call  0x0000133c 
+ 00002862  0x0000048a or_into  0x00000002 , 0x00000021 
+ 00002863  0x0000048b force  0x00000001 , 0x00000024 
+ 00002864  0x0000048c call  0x00001124 
+ 00002865  0x0000048d call  0x00001144 
+ 00002866  0x0000048e call  0x00001340 
+ 00002867  0x0000048f call  0x0000134e 
+ 00002868  0x00000490 deposit  0x00000022 
+ 00002869  0x00000491 store  0x00000004 , 0x000000b0 
+ 00002870  0x00000492 call  0x00001353 
+ 00002871  0x00000493 force  0x00000002 , 0x00000001 
+ 00002872  0x00000494 force  0x00000000 , 0x00000004 
+ 00002873  0x00000495 call  0x0000135b 
+ 00002874  0x00000496 call  0x00000f8a 
+ 00002875  0x00000497 call  0x00000b3f 
+ 00002876  0x00000498 and_into  0x000001fd , 0x00000021 
+ 00002877  0x00000499 increase  0x00000001 , 0x00000026 
+ 00002878  0x0000049a rtn 
+ 00002879  0x0000049d bpatch  0x00000033 , 0x00004006 
+ 00002880  0x0000049e fetch  0x00000001 , 0x000040d8 
+ 00002881  0x0000049f rtn  0x00000034 
+ 00002882  0x000004a0 arg  0x000000f0 , 0x00000005 
+ 00002883  0x000004a1 fetch  0x00000001 , 0x000045ff 
+ 00002884  0x000004a2 copy  0x0000003f , 0x00000039 
+ 00002885  0x000004a3 increase  0x00000001 , 0x0000003f 
+ 00002886  0x000004a4 istore  0x00000001 , 0x00000005 
+ 00002887  0x000004a5 copy  0x00000005 , 0x00000002 
+ 00002888  0x000004a6 increase  0x00000001 , 0x0000003f 
+ 00002889  0x000004a7 store  0x00000002 , 0x000041e6 
+ 00002890  0x000004a8 copy  0x00000002 , 0x00000005 
+ 00002891  0x000004a9 setarg  0x00000009 
+ 00002892  0x000004aa istore  0x00000001 , 0x00000005 
+ 00002893  0x000004ab arg  0x00004600 , 0x00000006 
+ 00002894  0x000004ac call  0x00007dd4 
+ 00002895  0x000004ae arg  0x0000467b , 0x00000013 
+ 00002896  0x000004af arg  0x00000004 , 0x00000039 
+ 00002897  0x000004b0 call  0x00000b61 
+ 00002898  0x000004b1 arg  0x00004665 , 0x00000013 
+ 00002899  0x000004b2 arg  0x00000001 , 0x00000039 
+ 00002900  0x000004b3 call  0x00000b61 
+ 00002901  0x000004b5 force  0x0000000a , 0x00000001 
+ 00002902  0x000004b6 jam  0x00000002 , 0x000041e5 
+ 00002903  0x000004b7 setarg  0x000000f0 
+ 00002904  0x000004b8 store  0x00000002 , 0x000000be 
+ 00002905  0x000004b9 call  0x0000133c 
+ 00002906  0x000004ba call  0x00001124 
+ 00002907  0x000004bb call  0x00001340 
+ 00002908  0x000004bc call  0x0000134e 
+ 00002909  0x000004bd call  0x00001353 
+ 00002910  0x000004be call  0x0000135b 
+ 00002911  0x000004bf call  0x00000f8a 
+ 00002912  0x000004c0 rtn 
+ 00002913  0x000004c4 copy  0x00000005 , 0x00000002 
+ 00002914  0x000004c5 copy  0x00000013 , 0x00000006 
+ 00002915  0x000004c6 ifetch  0x00000001 , 0x00000006 
+ 00002916  0x000004c7 rtn  0x00000034 
+ 00002917  0x000004c9 lshift  0x0000003f , 0x0000003f 
+ 00002918  0x000004ca loop  0x00000b65 
+ 00002919  0x000004cb copy  0x0000003f , 0x00000011 
+ 00002920  0x000004cc increase  0x00000002 , 0x0000003f 
+ 00002921  0x000004cd copy  0x0000003f , 0x00000007 
+ 00002922  0x000004ce fetch  0x00000002 , 0x000041e6 
+ 00002923  0x000004cf iadd  0x00000007 , 0x0000003f 
+ 00002924  0x000004d0 store  0x00000002 , 0x000041e6 
+ 00002925  0x000004d1 copy  0x00000002 , 0x00000005 
+ 00002926  0x000004d2 copy  0x00000011 , 0x0000003f 
+ 00002927  0x000004d3 increase  0x00000001 , 0x0000003f 
+ 00002928  0x000004d4 istore  0x00000001 , 0x00000005 
+ 00002929  0x000004d5 copy  0x00000013 , 0x00000006 
+ 00002930  0x000004d6 ifetch  0x00000001 , 0x00000006 
+ 00002931  0x000004d7 ifetch  0x00000001 , 0x00000006 
+ 00002932  0x000004d8 istore  0x00000001 , 0x00000005 
+ 00002933  0x000004d9 copy  0x00000011 , 0x00000039 
+ 00002934  0x000004da branch  0x00007dd4 
+ 00002935  0x000004e1 fetch  0x00000001 , 0x0000409b 
+ 00002936  0x000004e2 rtnbit0  0x00000001 
+ 00002937  0x000004e3 force  0x00000005 , 0x00000007 
+ 00002938  0x000004e4 call  0x00007de9 
+ 00002939  0x000004e5 nrtn  0x00000034 
+ 00002940  0x000004e6 fetcht  0x00000002 , 0x000040b9 
+ 00002941  0x000004e7 force  0x00000028 , 0x00000007 
+ 00002942  0x000004e8 call  0x00000f40 
+ 00002943  0x000004e9 rtn  0x00000028 
+ 00002944  0x000004ea force  0x00000000 , 0x00000004 
+ 00002945  0x000004eb jam  0x00000008 , 0x00000010 
+ 00002946  0x000004ec set0  0x0000000b , 0x00000000 
+ 00002947  0x000004ed call  0x00000b87 
+ 00002948  0x000004ee force  0x00000005 , 0x00000007 
+ 00002949  0x000004ef fetch  0x00000002 , 0x000040bb 
+ 00002950  0x000004f0 branch  0x00007ddb 
+ 00002951  0x000004f4 bpatch  0x00000034 , 0x00004006 
+ 00002952  0x000004f5 disable  0x00000030 
+ 00002953  0x000004f6 call  0x000010f6 
+ 00002954  0x000004f7 fetch  0x00000001 , 0x00000008 
+ 00002955  0x000004f8 increase  0x00000001 , 0x0000003f 
+ 00002956  0x000004f9 store  0x00000001 , 0x00000008 
+ 00002957  0x000004fa force  0x00000000 , 0x00000026 
+ 00002958  0x000004fb call  0x00001134 
+ 00002959  0x000004fc add  0x00000022 , 0x00000001 , 0x00000021 
+ 00002960  0x000004fd force  0x00000002 , 0x00000024 
+ 00002961  0x000004fe bpatch  0x00000035 , 0x00004006 
+ 00002962  0x000004ff call  0x0000111e 
+ 00002963  0x00000500 call  0x000012d5 
+ 00002964  0x00000501 call  0x00001302 
+ 00002965  0x00000502 nrtn  0x00000018 
+ 00002966  0x00000503 call  0x0000114b 
+ 00002967  0x00000504 fetch  0x00000001 , 0x00000009 
+ 00002968  0x00000505 increase  0x00000001 , 0x0000003f 
+ 00002969  0x00000506 store  0x00000001 , 0x00000009 
+ 00002970  0x00000507 force  0x00000000 , 0x0000001b 
+ 00002971  0x00000508 call  0x0000133c 
+ 00002972  0x00000509 or_into  0x00000002 , 0x00000021 
+ 00002973  0x0000050a force  0x00000001 , 0x00000024 
+ 00002974  0x0000050b call  0x00001124 
+ 00002975  0x0000050c call  0x00001340 
+ 00002976  0x0000050d call  0x0000134e 
+ 00002977  0x0000050e call  0x00001353 
+ 00002978  0x0000050f call  0x00000e7c 
+ 00002979  0x00000510 force  0x00000000 , 0x00000004 
+ 00002980  0x00000511 fetchr  0x0000000b , 0x00000002 , 0x00000157 
+ 00002981  0x00000512 until  0x00000029 , 0x00000026 
+ 00002982  0x00000513 or_into  0x00000003 , 0x00000028 
+ 00002983  0x00000514 and_into  0x000001fd , 0x00000021 
+ 00002984  0x00000516 bpatch  0x00000036 , 0x00004006 
+ 00002985  0x00000517 increase  0x00000001 , 0x00000026 
+ 00002986  0x00000518 call  0x0000111e 
+ 00002987  0x00000519 call  0x000012d5 
+ 00002988  0x0000051a call  0x000012f5 
+ 00002989  0x0000051b nbranch  0x00000bb1 , 0x00000018 
+ 00002990  0x0000051c call  0x0000135b 
+ 00002991  0x0000051d call  0x00000d43 
+ 00002992  0x0000051e bmark1  0x0000000b , 0x00000bb8 
+ 00002993  0x00000520 bpatch  0x00000037 , 0x00004006 
+ 00002994  0x00000521 fetch  0x00000001 , 0x00000010 
+ 00002995  0x00000522 rtn  0x00000034 
+ 00002996  0x00000523 increase  0xffffffff , 0x0000003f 
+ 00002997  0x00000524 store  0x00000001 , 0x00000010 
+ 00002998  0x00000525 call  0x0000133e 
+ 00002999  0x00000526 branch  0x00000ba8 
+ 00003000  0x0000052a bpatch  0x00000038 , 0x00004007 
+ 00003001  0x0000052b set0  0x00000001 , 0x00000028 
+ 00003002  0x0000052c set1  0x00000000 , 0x00000028 
+ 00003003  0x0000052d fetch  0x00000001 , 0x0000000a 
+ 00003004  0x0000052e increase  0x00000001 , 0x0000003f 
+ 00003005  0x0000052f store  0x00000001 , 0x0000000a 
+ 00003006  0x00000530 call  0x0000133c 
+ 00003007  0x00000531 or_into  0x00000002 , 0x00000021 
+ 00003008  0x00000532 call  0x00001124 
+ 00003009  0x00000533 call  0x00001340 
+ 00003010  0x00000534 call  0x0000134e 
+ 00003011  0x00000535 call  0x00001353 
+ 00003012  0x00000536 call  0x00000e7c 
+ 00003013  0x00000538 compare  0x00000003 , 0x00000028 , 0x00000003 
+ 00003014  0x00000539 branch  0x00000bc9 , 0x00000001 
+ 00003015  0x0000053a until  0x0000003e , 0x00000017 
+ 00003016  0x0000053b branch  0x00000bc5 
+ 00003017  0x0000053d fetch  0x00000004 , 0x000000b4 
+ 00003018  0x0000053e or_into  0x00000003 , 0x0000003f 
+ 00003019  0x0000053f icopy  0x00000028 
+ 00003020  0x00000542 bpatch  0x00000039 , 0x00004007 
+ 00003021  0x00000543 fetch  0x00000006 , 0x000000c7 
+ 00003022  0x00000544 store  0x00000006 , 0x00000040 
+ 00003023  0x00000545 call  0x00000c42 
+ 00003024  0x00000547 call  0x00000c89 
+ 00003025  0x00000548 branch  0x00000bd5 , 0x0000002d 
+ 00003026  0x00000549 call  0x00000c62 
+ 00003027  0x0000054a nbranch  0x00000bd0 , 0x00000034 
+ 00003028  0x0000054b rtn 
+ 00003029  0x0000054f bpatch  0x0000003a , 0x00004007 
+ 00003030  0x00000550 call  0x00000c4d 
+ 00003031  0x00000551 call  0x00000a48 
+ 00003032  0x00000552 nrtn  0x00000005 
+ 00003033  0x00000553 jam  0x00000000 , 0x00000031 
+ 00003034  0x00000554 call  0x0000105d 
+ 00003035  0x00000555 branch  0x00000a30 
+ 00003036  0x0000055b bpatch  0x0000003b , 0x00004007 
+ 00003037  0x0000055c call  0x0000106f 
+ 00003038  0x0000055d call  0x00000c01 
+ 00003039  0x0000055e rtn  0x00000028 
+ 00003040  0x00000560 bpatch  0x0000003c , 0x00004007 
+ 00003041  0x00000561 call  0x000065c9 
+ 00003042  0x00000562 call  0x00000d38 
+ 00003043  0x00000563 nbranch  0x00000bf0 , 0x0000002d 
+ 00003044  0x00000564 fetch  0x00000002 , 0x00004477 
+ 00003045  0x00000565 call  0x00007e7a 
+ 00003046  0x00000566 call  0x00001378 
+ 00003047  0x00000567 call  0x000065e1 
+ 00003048  0x00000568 call  0x00000c96 
+ 00003049  0x00000569 call  0x00000f7b 
+ 00003050  0x0000056a call  0x00000f4c 
+ 00003051  0x0000056b call  0x000053f2 
+ 00003052  0x0000056c fetch  0x00000001 , 0x0000000b 
+ 00003053  0x0000056d increase  0x00000001 , 0x0000003f 
+ 00003054  0x0000056e store  0x00000001 , 0x0000000b 
+ 00003055  0x0000056f call  0x0000105d 
+ 00003056  0x00000571 bpatch  0x0000003d , 0x00004007 
+ 00003057  0x00000572 call  0x000014f5 
+ 00003058  0x00000573 call  0x0000136f 
+ 00003059  0x00000574 branch  0x00000bf9 , 0x00000002 
+ 00003060  0x00000575 call  0x000009a9 
+ 00003061  0x00000576 nbranch  0x00000bf9 , 0x00000028 
+ 00003062  0x00000577 call  0x00000f1c 
+ 00003063  0x00000578 nbranch  0x00000be0 , 0x00000034 
+ 00003064  0x00000579 rtn 
+ 00003065  0x0000057c bpatch  0x0000003e , 0x00004007 
+ 00003066  0x0000057d jam  0x00000000 , 0x00000a51 
+ 00003067  0x0000057e jam  0x00000000 , 0x000000e3 
+ 00003068  0x0000057f call  0x00000c6a 
+ 00003069  0x00000580 set0  0x00000011 , 0x00000000 
+ 00003070  0x00000581 call  0x00007e8e 
+ 00003071  0x00000582 fetch  0x00000001 , 0x00000030 
+ 00003072  0x00000583 rtn 
+ 00003073  0x00000587 call  0x000009cb 
+ 00003074  0x00000588 nrtn  0x00000028 
+ 00003075  0x00000589 copy  0x00000004 , 0x00000002 
+ 00003076  0x0000058a call  0x0000135f 
+ 00003077  0x0000058b store  0x00000001 , 0x000000e5 
+ 00003078  0x0000058c copy  0x00000002 , 0x00000004 
+ 00003079  0x0000058d jam  0x00000020 , 0x00000011 
+ 00003080  0x0000058f bpatch  0x0000003f , 0x00004007 
+ 00003081  0x00000590 call  0x0000133e 
+ 00003082  0x00000591 force  0x00000002 , 0x00000001 
+ 00003083  0x00000592 call  0x00000f73 
+ 00003084  0x00000593 deposit  0x00000022 
+ 00003085  0x00000594 store  0x00000004 , 0x000000b0 
+ 00003086  0x00000595 call  0x00000f86 
+ 00003087  0x00000596 call  0x0000133c 
+ 00003088  0x00000597 enable  0x0000002f 
+ 00003089  0x00000598 call  0x00000d19 
+ 00003090  0x00000599 branch  0x00000c1a , 0x00000018 
+ 00003091  0x0000059a call  0x0000114b 
+ 00003092  0x0000059b call  0x00000c62 
+ 00003093  0x0000059c nbranch  0x00000c08 , 0x00000034 
+ 00003094  0x0000059d rtnmark0  0x00000004 
+ 00003095  0x0000059e jam  0x00000034 , 0x0000007c 
+ 00003096  0x0000059f set1  0x00000003 , 0x00000000 
+ 00003097  0x000005a0 rtn 
+ 00003098  0x000005a2 enable  0x00000030 
+ 00003099  0x000005a3 call  0x00000c42 
+ 00003100  0x000005a4 call  0x000010f6 
+ 00003101  0x000005a6 bpatch  0x00000040 , 0x00004008 
+ 00003102  0x000005a7 call  0x00000aff 
+ 00003103  0x000005a8 branch  0x00000c26 , 0x00000018 
+ 00003104  0x000005a9 call  0x00000c62 
+ 00003105  0x000005aa nbranch  0x00000c1d , 0x00000034 
+ 00003106  0x000005ab disable  0x00000030 
+ 00003107  0x000005ac deposit  0x00000028 
+ 00003108  0x000005ad store  0x00000004 , 0x000040d1 
+ 00003109  0x000005ae rtn 
+ 00003110  0x000005b0 enable  0x00000029 
+ 00003111  0x000005b1 bmark0  0x00000004 , 0x00000c2c 
+ 00003112  0x000005b2 set0  0x00000004 , 0x00000000 
+ 00003113  0x000005b3 jam  0x00000003 , 0x0000007c 
+ 00003114  0x000005b4 jam  0x00000033 , 0x0000007d 
+ 00003115  0x000005b5 call  0x00005a7b 
+ 00003116  0x000005b7 deposit  0x00000004 
+ 00003117  0x000005b8 store  0x00000001 , 0x00000077 
+ 00003118  0x000005b9 force  0x00000000 , 0x0000003f 
+ 00003119  0x000005ba store  0x00000006 , 0x00000038 
+ 00003120  0x000005bb fetch  0x00000001 , 0x00000031 
+ 00003121  0x000005bc set1  0x00000001 , 0x0000003f 
+ 00003122  0x000005bd store  0x00000001 , 0x00000031 
+ 00003123  0x000005be call  0x00001378 
+ 00003124  0x000005bf disable  0x00000029 
+ 00003125  0x000005c0 enable  0x00000028 
+ 00003126  0x000005c1 rtn 
+ 00003127  0x000005c6 bpatch  0x00000041 , 0x00004008 
+ 00003128  0x000005c7 disable  0x0000002d 
+ 00003129  0x000005c8 set0  0x00000005 , 0x00000000 
+ 00003130  0x000005c9 set0  0x0000000a , 0x00000000 
+ 00003131  0x000005ca set0  0x00000010 , 0x00000000 
+ 00003132  0x000005cb set0  0x0000000f , 0x00000000 
+ 00003133  0x000005cc fetch  0x00000001 , 0x00000047 
+ 00003134  0x000005cd set0  0x00000005 , 0x0000003f 
+ 00003135  0x000005ce set1  0x00000004 , 0x0000003f 
+ 00003136  0x000005cf store  0x00000001 , 0x00000047 
+ 00003137  0x000005d0 rtn 
+ 00003138  0x000005d3 bpatch  0x00000042 , 0x00004008 
+ 00003139  0x000005d4 jam  0x00000020 , 0x00000011 
+ 00003140  0x000005d5 jam  0x00000050 , 0x00000047 
+ 00003141  0x000005d6 fetch  0x00000002 , 0x000040c6 
+ 00003142  0x000005d7 store  0x00000002 , 0x0000003e 
+ 00003143  0x000005d8 deposit  0x00000022 
+ 00003144  0x000005d9 store  0x00000004 , 0x000040d1 
+ 00003145  0x000005da rtn  0x00000030 
+ 00003146  0x000005db deposit  0x00000028 
+ 00003147  0x000005dc store  0x00000004 , 0x000040d1 
+ 00003148  0x000005dd rtn 
+ 00003149  0x000005e0 bpatch  0x00000043 , 0x00004008 
+ 00003150  0x000005e1 call  0x000053ee 
+ 00003151  0x000005e2 call  0x00000c66 
+ 00003152  0x000005e3 store  0x00000001 , 0x00000046 
+ 00003153  0x000005e4 setarg  0x00000000 
+ 00003154  0x000005e5 store  0x00000002 , 0x0000030e 
+ 00003155  0x000005e6 setarg  0x00001c80 
+ 00003156  0x000005e7 store  0x00000002 , 0x00000051 
+ 00003157  0x000005e8 fetch  0x00000001 , 0x00000030 
+ 00003158  0x000005e9 set1  0x00000000 , 0x0000003f 
+ 00003159  0x000005ea store  0x00000001 , 0x00000030 
+ 00003160  0x000005eb jam  0x00000000 , 0x0000004b 
+ 00003161  0x000005ec jam  0x00000000 , 0x0000004c 
+ 00003162  0x000005ed jam  0x00000000 , 0x0000009d 
+ 00003163  0x000005ee branch  0x00001378 
+ 00003164  0x000005f2 bpatch  0x00000044 , 0x00004008 
+ 00003165  0x000005f3 force  0x00000000 , 0x0000003f 
+ 00003166  0x000005f4 store  0x00000008 , 0x000041cb 
+ 00003167  0x000005f5 istore  0x00000008 , 0x00000005 
+ 00003168  0x000005f6 call  0x000009c7 
+ 00003169  0x000005f7 branch  0x00000a61 
+ 00003170  0x000005fa fetch  0x00000001 , 0x00000011 
+ 00003171  0x000005fb increase  0xffffffff , 0x0000003f 
+ 00003172  0x000005fc store  0x00000001 , 0x00000011 
+ 00003173  0x000005fd rtn 
+ 00003174  0x00000600 fetch  0x00000001 , 0x000040d6 
+ 00003175  0x00000601 increase  0x00000001 , 0x0000003f 
+ 00003176  0x00000602 store  0x00000001 , 0x000040d6 
+ 00003177  0x00000603 rtn 
+ 00003178  0x00000607 bpatch  0x00000045 , 0x00004008 
+ 00003179  0x00000608 fetch  0x00000001 , 0x000041db 
+ 00003180  0x00000609 beq  0x00000003 , 0x00000c6f 
+ 00003181  0x0000060a fetch  0x00000001 , 0x00000048 
+ 00003182  0x0000060b bne  0x00000001 , 0x00000c73 
+ 00003183  0x0000060d call  0x00004de6 
+ 00003184  0x0000060e nbranch  0x00000c73 , 0x00000005 
+ 00003185  0x0000060f call  0x000009a6 
+ 00003186  0x00000610 jam  0x00000000 , 0x000041db 
+ 00003187  0x00000612 bpatch  0x00000046 , 0x00004008 
+ 00003188  0x00000613 call  0x0000323e 
+ 00003189  0x00000614 call  0x00000f12 
+ 00003190  0x00000615 jam  0x00000002 , 0x0000095b 
+ 00003191  0x00000616 call  0x000078dc 
+ 00003192  0x00000617 call  0x000053e0 
+ 00003193  0x00000618 call  0x00004e26 
+ 00003194  0x00000619 call  0x00006f37 
+ 00003195  0x0000061a fetch  0x00000001 , 0x00000030 
+ 00003196  0x0000061b set0  0x00000000 , 0x0000003f 
+ 00003197  0x0000061c store  0x00000001 , 0x00000030 
+ 00003198  0x0000061d jam  0x00000000 , 0x0000478e 
+ 00003199  0x0000061f fetch  0x00000001 , 0x0000004c 
+ 00003200  0x00000620 compare  0x00000000 , 0x0000003f , 0x000000c0 
+ 00003201  0x00000621 branch  0x00000c83 , 0x00000001 
+ 00003202  0x00000622 set0  0x00000001 , 0x00000000 
+ 00003203  0x00000624 fetch  0x00000001 , 0x00000047 
+ 00003204  0x00000625 bbit0  0x00000003 , 0x00000c85 
+ 00003205  0x00000627 fetch  0x00000001 , 0x0000004b 
+ 00003206  0x00000628 rtnbit0  0x00000006 
+ 00003207  0x00000629 set0  0x00000002 , 0x00000000 
+ 00003208  0x0000062a rtn 
+ 00003209  0x0000062d bpatch  0x00000047 , 0x00004008 
+ 00003210  0x0000062e fetch  0x00000001 , 0x000000c3 
+ 00003211  0x0000062f rtn  0x00000034 
+ 00003212  0x00000630 icopy  0x00000004 
+ 00003213  0x00000631 call  0x00000d38 
+ 00003214  0x00000632 nrtn  0x0000002d 
+ 00003215  0x00000633 force  0x00000000 , 0x00000001 
+ 00003216  0x00000634 call  0x00000f7b 
+ 00003217  0x00000635 deposit  0x00000004 
+ 00003218  0x00000636 store  0x00000001 , 0x00000077 
+ 00003219  0x00000637 force  0x00000000 , 0x0000003f 
+ 00003220  0x00000638 store  0x00000001 , 0x000000c3 
+ 00003221  0x00000639 rtn 
+ 00003222  0x00000640 bpatch  0x00000048 , 0x00004009 
+ 00003223  0x00000641 fetch  0x00000001 , 0x00000030 
+ 00003224  0x00000642 bbit0  0x00000002 , 0x00000ca3 
+ 00003225  0x00000643 force  0x00000007 , 0x00000001 
+ 00003226  0x00000644 bmark0  0x00000007 , 0x00000ca2 
+ 00003227  0x00000645 call  0x00000f49 
+ 00003228  0x00000646 nbranch  0x00000ca3 , 0x00000001 
+ 00003229  0x00000647 branch  0x00000ca3 , 0x0000002e 
+ 00003230  0x00000648 call  0x00000ce4 
+ 00003231  0x00000649 setarg  0x00000002 
+ 00003232  0x0000064a store  0x00000002 , 0x000040cf 
+ 00003233  0x0000064b rtn 
+ 00003234  0x0000064e nrtn  0x0000002e 
+ 00003235  0x00000650 bpatch  0x00000049 , 0x00004009 
+ 00003236  0x00000651 call  0x00000a50 
+ 00003237  0x00000652 nbranch  0x00000cb4 , 0x00000005 
+ 00003238  0x00000653 fetch  0x00000001 , 0x00000047 
+ 00003239  0x00000654 bbit0  0x00000003 , 0x00000cbd 
+ 00003240  0x00000656 bmark1  0x00000005 , 0x00000cc1 
+ 00003241  0x00000657 fetch  0x00000001 , 0x000000e3 
+ 00003242  0x00000658 bbit1  0x00000006 , 0x00000cc7 
+ 00003243  0x00000659 fetch  0x00000002 , 0x000040cf 
+ 00003244  0x0000065a increase  0xffffffff , 0x0000003f 
+ 00003245  0x0000065b store  0x00000002 , 0x000040cf 
+ 00003246  0x0000065c branch  0x00000cb2 , 0x00000034 
+ 00003247  0x0000065d fetch  0x00000001 , 0x000040cc 
+ 00003248  0x0000065e iforce  0x00000001 
+ 00003249  0x0000065f rtn 
+ 00003250  0x00000662 bpatch  0x0000004a , 0x00004009 
+ 00003251  0x00000663 call  0x00000eb7 
+ 00003252  0x00000665 call  0x00000f49 
+ 00003253  0x00000666 branch  0x00000cbd , 0x00000001 
+ 00003254  0x00000667 call  0x00005759 
+ 00003255  0x00000668 branch  0x00000ccb , 0x00000028 
+ 00003256  0x00000669 fetch  0x00000001 , 0x0000004b 
+ 00003257  0x0000066a bbit1  0x00000006 , 0x00000cd7 
+ 00003258  0x0000066b bmark1  0x00000005 , 0x00000cc1 
+ 00003259  0x0000066c fetch  0x00000001 , 0x000000e3 
+ 00003260  0x0000066d bbit1  0x00000006 , 0x00000cc7 
+ 00003261  0x0000066f force  0x00000001 , 0x00000001 
+ 00003262  0x00000670 rtn  0x00000029 
+ 00003263  0x00000671 force  0x00000000 , 0x00000001 
+ 00003264  0x00000672 rtn 
+ 00003265  0x00000674 bpatch  0x0000004b , 0x00004009 
+ 00003266  0x00000675 fetch  0x00000001 , 0x00000019 
+ 00003267  0x00000676 iforce  0x00000001 
+ 00003268  0x00000677 rtnne  0x00000001 
+ 00003269  0x00000678 force  0x00000000 , 0x00000001 
+ 00003270  0x00000679 rtn 
+ 00003271  0x0000067b fetch  0x00000001 , 0x00000a58 
+ 00003272  0x0000067c and  0x0000003f , 0x0000000f , 0x00000001 
+ 00003273  0x0000067d set1  0x00000005 , 0x00000000 
+ 00003274  0x0000067e rtn 
+ 00003275  0x00000680 force  0x00000013 , 0x00000001 
+ 00003276  0x00000681 call  0x00000ce4 
+ 00003277  0x00000683 call  0x00000ddd 
+ 00003278  0x00000684 rtn  0x00000034 
+ 00003279  0x00000685 jam  0x00000003 , 0x000041e4 
+ 00003280  0x00000686 fetch  0x00000001 , 0x0000038a 
+ 00003281  0x00000687 and  0x0000003f , 0x000001f8 , 0x0000003f 
+ 00003282  0x00000688 rshift3  0x0000003f , 0x0000003f 
+ 00003283  0x00000689 store  0x00000002 , 0x000046b5 
+ 00003284  0x0000068a copy  0x0000003f , 0x00000011 
+ 00003285  0x0000068b arg  0x0000038b , 0x00000013 
+ 00003286  0x0000068c branch  0x00006d03 
+ 00003287  0x00000690 call  0x00000ced 
+ 00003288  0x00000691 call  0x00000ce4 
+ 00003289  0x00000693 call  0x00000ddd 
+ 00003290  0x00000694 rtn  0x00000034 
+ 00003291  0x00000695 fetch  0x00000001 , 0x000041e5 
+ 00003292  0x00000696 and_into  0x00000003 , 0x0000003f 
+ 00003293  0x00000697 store  0x00000001 , 0x000041e4 
+ 00003294  0x00000698 fetch  0x00000002 , 0x000041e6 
+ 00003295  0x00000699 copy  0x0000003f , 0x00000011 
+ 00003296  0x0000069a store  0x00000002 , 0x000046b5 
+ 00003297  0x0000069b fetch  0x00000002 , 0x000000be 
+ 00003298  0x0000069c copy  0x0000003f , 0x00000013 
+ 00003299  0x0000069d branch  0x00006d03 
+ 00003300  0x000006a1 bpatch  0x0000004c , 0x00004009 
+ 00003301  0x000006a2 fetcht  0x00000001 , 0x00000047 
+ 00003302  0x000006a3 set1  0x00000003 , 0x00000002 
+ 00003303  0x000006a4 storet  0x00000001 , 0x00000047 
+ 00003304  0x000006a5 deposit  0x00000001 
+ 00003305  0x000006a6 store  0x00000001 , 0x000040cc 
+ 00003306  0x000006a7 setarg  0x0000ffff 
+ 00003307  0x000006a8 store  0x00000002 , 0x000040cf 
+ 00003308  0x000006a9 rtn 
+ 00003309  0x000006ac bpatch  0x0000004d , 0x00004009 
+ 00003310  0x000006ad fetch  0x00000001 , 0x0000004c 
+ 00003311  0x000006ae isolate1  0x00000005 , 0x0000003f 
+ 00003312  0x000006af fetch  0x00000002 , 0x000041e6 
+ 00003313  0x000006b0 branch  0x00000d03 , 0x00000001 
+ 00003314  0x000006b1 force  0x00000003 , 0x00000001 
+ 00003315  0x000006b2 sub  0x0000003f , 0x00000011 , 0x0000003e 
+ 00003316  0x000006b3 rtn  0x00000002 
+ 00003317  0x000006b4 force  0x00000004 , 0x00000001 
+ 00003318  0x000006b5 sub  0x0000003f , 0x0000001b , 0x0000003e 
+ 00003319  0x000006b6 rtn  0x00000002 
+ 00003320  0x000006b7 force  0x0000000a , 0x00000001 
+ 00003321  0x000006b8 sub  0x0000003f , 0x00000079 , 0x0000003e 
+ 00003322  0x000006b9 rtn  0x00000002 
+ 00003323  0x000006ba force  0x0000000b , 0x00000001 
+ 00003324  0x000006bb sub  0x0000003f , 0x000000b7 , 0x0000003e 
+ 00003325  0x000006bc rtn  0x00000002 
+ 00003326  0x000006bd force  0x0000000e , 0x00000001 
+ 00003327  0x000006be sub  0x0000003f , 0x000000e0 , 0x0000003e 
+ 00003328  0x000006bf rtn  0x00000002 
+ 00003329  0x000006c0 force  0x0000000f , 0x00000001 
+ 00003330  0x000006c1 rtn 
+ 00003331  0x000006c3 force  0x00000003 , 0x00000001 
+ 00003332  0x000006c4 sub  0x0000003f , 0x00000011 , 0x0000003e 
+ 00003333  0x000006c5 rtn  0x00000002 
+ 00003334  0x000006c6 force  0x00000004 , 0x00000001 
+ 00003335  0x000006c7 sub  0x0000003f , 0x00000036 , 0x0000003e 
+ 00003336  0x000006c8 rtn  0x00000002 
+ 00003337  0x000006c9 force  0x0000000a , 0x00000001 
+ 00003338  0x000006ca arg  0x0000016f , 0x00000002 
+ 00003339  0x000006cb isub  0x00000002 , 0x0000003e 
+ 00003340  0x000006cc nrtn  0x00000002 
+ 00003341  0x000006cd force  0x0000000e , 0x00000001 
+ 00003342  0x000006ce arg  0x000002a7 , 0x00000002 
+ 00003343  0x000006cf isub  0x00000002 , 0x0000003e 
+ 00003344  0x000006d0 nrtn  0x00000002 
+ 00003345  0x000006d1 force  0x0000000f , 0x00000001 
+ 00003346  0x000006d2 rtn 
+ 00003347  0x000006dc fetch  0x00000001 , 0x00000030 
+ 00003348  0x000006dd bbit0  0x00000001 , 0x00000d18 
+ 00003349  0x000006de fetch  0x00000002 , 0x00000032 
+ 00003350  0x000006df branch  0x00000d18 , 0x00000034 
+ 00003351  0x000006e0 nbranch  0x00000d1a , 0x0000002e 
+ 00003352  0x000006e2 call  0x0000133e 
+ 00003353  0x000006e4 add  0x00000028 , 0x00000001 , 0x00000021 
+ 00003354  0x000006e6 enable  0x00000010 
+ 00003355  0x000006e7 fetch  0x00000002 , 0x0000003e 
+ 00003356  0x000006e8 rshift  0x0000003f , 0x0000003f 
+ 00003357  0x000006e9 fetcht  0x00000002 , 0x0000015d 
+ 00003358  0x000006ea iadd  0x00000002 , 0x0000003f 
+ 00003359  0x000006eb call  0x00001313 
+ 00003360  0x000006ec call  0x0000113c 
+ 00003361  0x000006ed force  0x00000003 , 0x00000024 
+ 00003362  0x000006ee call  0x0000111e 
+ 00003363  0x000006ef call  0x00000c37 
+ 00003364  0x000006f0 call  0x000012da 
+ 00003365  0x000006f1 bpatch  0x0000004e , 0x00004009 
+ 00003366  0x000006f2 fetch  0x00000002 , 0x0000003e 
+ 00003367  0x000006f3 rshift  0x0000003f , 0x0000003f 
+ 00003368  0x000006f4 call  0x00001313 
+ 00003369  0x000006f5 call  0x000012d5 
+ 00003370  0x000006f6 enable  0x0000000d 
+ 00003371  0x000006f7 fetch  0x00000002 , 0x0000003e 
+ 00003372  0x000006f8 fetcht  0x00000002 , 0x0000015b 
+ 00003373  0x000006f9 iadd  0x00000002 , 0x0000001b 
+ 00003374  0x000006fa correlate  0x0000003e , 0x00000003 
+ 00003375  0x000006fb copy  0x0000001a , 0x00000002 
+ 00003376  0x000006fc storet  0x00000006 , 0x00000097 
+ 00003377  0x000006fd disable  0x0000000d 
+ 00003378  0x000006fe nrtn  0x00000018 
+ 00003379  0x000006ff fetch  0x00000002 , 0x0000015b 
+ 00003380  0x00000700 copy  0x0000003f , 0x00000029 
+ 00003381  0x00000701 copy  0x00000021 , 0x00000028 
+ 00003382  0x00000702 branch  0x00001444 , 0x0000002b 
+ 00003383  0x00000703 rtn 
+ 00003384  0x00000707 bpatch  0x0000004f , 0x00004009 
+ 00003385  0x00000708 call  0x00000d13 
+ 00003386  0x00000709 nbranch  0x0000114b , 0x00000018 
+ 00003387  0x0000070a call  0x0000127f 
+ 00003388  0x0000070b bmark0  0x00000011 , 0x00000d40 
+ 00003389  0x0000070c fetch  0x00000002 , 0x000009f6 
+ 00003390  0x0000070d increase  0x00000001 , 0x0000003f 
+ 00003391  0x0000070e store  0x00000002 , 0x000009f6 
+ 00003392  0x00000710 call  0x00004d0d 
+ 00003393  0x00000711 rshift  0x00000021 , 0x00000002 
+ 00003394  0x00000712 or  0x00000002 , 0x00000040 , 0x0000000e 
+ 00003395  0x00000714 bpatch  0x00000050 , 0x0000400a 
+ 00003396  0x00000715 enable  0x00000007 
+ 00003397  0x00000716 enable  0x0000000a 
+ 00003398  0x00000717 enable  0x0000000b 
+ 00003399  0x00000718 parse  0x00000003 , 0x00000000 , 0x00000003 
+ 00003400  0x00000719 rshift8  0x0000000c , 0x0000003f 
+ 00003401  0x0000071a store  0x00000001 , 0x000000ac 
+ 00003402  0x0000071b parse  0x00000003 , 0x00000000 , 0x00000004 
+ 00003403  0x0000071c inject  0x00000000 , 0x00000007 
+ 00003404  0x0000071d copy  0x0000000c , 0x0000003f 
+ 00003405  0x0000071e store  0x00000001 , 0x00000019 
+ 00003406  0x0000071f parse  0x00000003 , 0x00000000 , 0x00000003 
+ 00003407  0x00000720 rshift8  0x0000000c , 0x0000003f 
+ 00003408  0x00000721 store  0x00000001 , 0x000000ad 
+ 00003409  0x00000722 fetch  0x00000001 , 0x00000019 
+ 00003410  0x00000723 sub  0x0000003f , 0x00000003 , 0x0000003e 
+ 00003411  0x00000724 branch  0x00000d58 , 0x00000002 
+ 00003412  0x00000725 beq  0x00000007 , 0x00000d58 
+ 00003413  0x00000726 fetch  0x00000001 , 0x0000004c 
+ 00003414  0x00000727 isolate1  0x00000005 , 0x0000003f 
+ 00003415  0x00000728 setflag  0x00000001 , 0x00000001 , 0x00000015 
+ 00003416  0x0000072a bpatch  0x00000051 , 0x0000400a 
+ 00003417  0x0000072b parse  0x00000003 , 0x00000000 , 0x00000008 
+ 00003418  0x0000072c disable  0x0000000b 
+ 00003419  0x0000072d disable  0x0000000a 
+ 00003420  0x0000072e branch  0x00000e5f , 0x00000006 
+ 00003421  0x0000072f bmark0  0x00000011 , 0x00000d61 
+ 00003422  0x00000730 fetch  0x00000002 , 0x000009f8 
+ 00003423  0x00000731 increase  0x00000001 , 0x0000003f 
+ 00003424  0x00000732 store  0x00000002 , 0x000009f8 
+ 00003425  0x00000734 bpatch  0x00000052 , 0x0000400a 
+ 00003426  0x00000735 fetch  0x00000001 , 0x000000ac 
+ 00003427  0x00000736 compare  0x00000000 , 0x0000003f , 0x00000007 
+ 00003428  0x00000737 setflag  0x00000001 , 0x0000000a , 0x00000000 
+ 00003429  0x00000738 branch  0x00000d6f , 0x00000001 
+ 00003430  0x00000739 icompare  0x00000007 , 0x00000004 
+ 00003431  0x0000073a branch  0x00000d6d , 0x00000001 
+ 00003432  0x0000073b bmark0  0x00000007 , 0x00000e7c 
+ 00003433  0x0000073c fetch  0x00000001 , 0x00000047 
+ 00003434  0x0000073d set0  0x00000005 , 0x0000003f 
+ 00003435  0x0000073e set1  0x00000004 , 0x0000003f 
+ 00003436  0x0000073f store  0x00000001 , 0x00000047 
+ 00003437  0x00000741 call  0x00004d10 
+ 00003438  0x00000742 enable  0x0000002d 
+ 00003439  0x00000744 bpatch  0x00000053 , 0x0000400a 
+ 00003440  0x00000745 fetch  0x00000001 , 0x00000019 
+ 00003441  0x00000746 icopy  0x00000001 
+ 00003442  0x00000747 bmark1  0x0000000a , 0x00000d7e 
+ 00003443  0x00000748 fetcht  0x00000001 , 0x000000ad 
+ 00003444  0x00000749 fetch  0x00000001 , 0x00000047 
+ 00003445  0x0000074a set0  0x00000000 , 0x0000003f 
+ 00003446  0x0000074b isolate1  0x00000000 , 0x00000002 
+ 00003447  0x0000074c setflag  0x00000001 , 0x00000000 , 0x0000003f 
+ 00003448  0x0000074d isolate1  0x00000001 , 0x00000002 
+ 00003449  0x0000074e setflag  0x00000001 , 0x00000001 , 0x0000003f 
+ 00003450  0x0000074f store  0x00000001 , 0x00000047 
+ 00003451  0x00000750 isolate0  0x00000001 , 0x00000002 
+ 00003452  0x00000751 branch  0x00000d7e , 0x00000001 
+ 00003453  0x00000752 call  0x00000eb7 
+ 00003454  0x00000754 bpatch  0x00000054 , 0x0000400a 
+ 00003455  0x00000755 arg  0x00000000 , 0x00000002 
+ 00003456  0x00000756 call  0x0000130b 
+ 00003457  0x00000757 and  0x00000001 , 0x0000000f , 0x0000003f 
+ 00003458  0x00000758 beq  0x00000001 , 0x00000d9a 
+ 00003459  0x00000759 beq  0x00000000 , 0x00000e7c 
+ 00003460  0x0000075a beq  0x00000002 , 0x00000e88 
+ 00003461  0x0000075b fetcht  0x00000001 , 0x000000ad 
+ 00003462  0x0000075c fetch  0x00000001 , 0x00000047 
+ 00003463  0x0000075d icompare  0x00000004 , 0x00000002 
+ 00003464  0x0000075e nbranch  0x00000d8c , 0x00000001 
+ 00003465  0x0000075f bmark0  0x0000000a , 0x00000d8b 
+ 00003466  0x00000760 bbit0  0x00000007 , 0x00000d8c 
+ 00003467  0x00000762 set1  0x0000000f , 0x00000000 
+ 00003468  0x00000764 bpatch  0x00000055 , 0x0000400a 
+ 00003469  0x00000765 deposit  0x00000001 
+ 00003470  0x00000766 beq  0x00000003 , 0x00000d9c 
+ 00003471  0x00000767 beq  0x00000004 , 0x00000da0 
+ 00003472  0x00000768 beq  0x00000008 , 0x00000d9f 
+ 00003473  0x00000769 arg  0x00000004 , 0x00000002 
+ 00003474  0x0000076a call  0x0000130b 
+ 00003475  0x0000076b beq  0x0000000a , 0x00000d9b 
+ 00003476  0x0000076c beq  0x0000000b , 0x00000d9e 
+ 00003477  0x0000076d arg  0x00000008 , 0x00000002 
+ 00003478  0x0000076e call  0x0000130b 
+ 00003479  0x0000076f beq  0x0000000e , 0x00000d9b 
+ 00003480  0x00000770 beq  0x0000000f , 0x00000d9e 
+ 00003481  0x00000771 rtn 
+ 00003482  0x00000777 branch  0x00000e7c 
+ 00003483  0x0000077b set1  0x00000010 , 0x00000000 
+ 00003484  0x0000077d enable  0x0000000c 
+ 00003485  0x0000077e branch  0x00000da1 
+ 00003486  0x00000782 set1  0x00000010 , 0x00000000 
+ 00003487  0x00000784 set1  0x00000002 , 0x00000015 
+ 00003488  0x00000786 enable  0x0000000d 
+ 00003489  0x00000788 bpatch  0x00000056 , 0x0000400a 
+ 00003490  0x00000789 bmark1  0x00000033 , 0x00000e7c 
+ 00003491  0x0000078a bmark1  0x00000001 , 0x00000e7c 
+ 00003492  0x0000078b isolate0  0x00000001 , 0x00000015 
+ 00003493  0x0000078c branch  0x00000dae , 0x00000001 
+ 00003494  0x0000078d disable  0x00000007 
+ 00003495  0x0000078e enable  0x0000000d 
+ 00003496  0x0000078f disable  0x0000000c 
+ 00003497  0x00000790 add  0x00000022 , 0x00000002 , 0x0000000b 
+ 00003498  0x00000791 correlate  0x00000022 , 0x00000026 
+ 00003499  0x00000792 nbranch  0x00000e6b , 0x00000018 
+ 00003500  0x00000793 set1  0x00000010 , 0x00000000 
+ 00003501  0x00000794 enable  0x00000007 
+ 00003502  0x00000796 bpatch  0x00000057 , 0x0000400a 
+ 00003503  0x00000797 enable  0x0000000e 
+ 00003504  0x00000798 enable  0x00000009 
+ 00003505  0x00000799 parse  0x00000003 , 0x00000000 , 0x00000003 
+ 00003506  0x0000079a rshift8  0x0000000c , 0x0000003f 
+ 00003507  0x0000079b store  0x00000001 , 0x000000e4 
+ 00003508  0x0000079c parse  0x00000003 , 0x00000000 , 0x00000005 
+ 00003509  0x0000079d bmark1  0x00000010 , 0x00000db9 
+ 00003510  0x0000079e rshift3  0x0000000c , 0x00000039 
+ 00003511  0x0000079f rshift3  0x00000039 , 0x00000039 
+ 00003512  0x000007a0 branch  0x00000dbc 
+ 00003513  0x000007a2 parse  0x00000003 , 0x00000000 , 0x00000005 
+ 00003514  0x000007a3 rshift  0x0000000c , 0x00000039 
+ 00003515  0x000007a4 parse  0x00000003 , 0x00000000 , 0x00000003 
+ 00003516  0x000007a6 bpatch  0x00000058 , 0x0000400b 
+ 00003517  0x000007a7 deposit  0x00000039 
+ 00003518  0x000007a8 store  0x00000002 , 0x000000ae 
+ 00003519  0x000007a9 branch  0x00000dd4 , 0x00000034 
+ 00003520  0x000007aa call  0x00000ddd 
+ 00003521  0x000007ab branch  0x00000dc4 , 0x00000034 
+ 00003522  0x000007ad increase  0x00000004 , 0x00000039 
+ 00003523  0x000007ae deposit  0x00000039 
+ 00003524  0x000007b0 isub  0x00000035 , 0x0000003e 
+ 00003525  0x000007b1 branch  0x00000e6b , 0x00000002 
+ 00003526  0x000007b2 bpatch  0x00000059 , 0x0000400b 
+ 00003527  0x000007b3 set0  0x00000000 , 0x00000000 
+ 00003528  0x000007b4 fetch  0x00000001 , 0x000000e4 
+ 00003529  0x000007b5 and_into  0x00000003 , 0x0000003f 
+ 00003530  0x000007b6 arg  0x000000ce , 0x00000005 
+ 00003531  0x000007b7 beq  0x00000003 , 0x00000de2 
+ 00003532  0x000007b8 bmark1  0x00000011 , 0x00000dd2 
+ 00003533  0x000007ba fetch  0x00000001 , 0x000000e4 
+ 00003534  0x000007bb and_into  0x00000003 , 0x0000003f 
+ 00003535  0x000007bc beq  0x00000002 , 0x00000de7 
+ 00003536  0x000007bd beq  0x00000001 , 0x00000dfb 
+ 00003537  0x000007be branch  0x00000e6b 
+ 00003538  0x000007c1 arg  0x00001000 , 0x00000005 
+ 00003539  0x000007c2 branch  0x00000e0c 
+ 00003540  0x000007c5 call  0x00000ddd 
+ 00003541  0x000007c6 branch  0x00000e10 , 0x00000034 
+ 00003542  0x000007c7 setarg  0x00000000 
+ 00003543  0x000007c8 store  0x00000002 , 0x000046b5 
+ 00003544  0x000007c9 parse  0x00000003 , 0x00000000 , 0x00000020 
+ 00003545  0x000007ca rshift32  0x0000003f , 0x0000003f 
+ 00003546  0x000007cb rshift8  0x0000003f , 0x0000003f 
+ 00003547  0x000007cc store  0x00000004 , 0x00000273 
+ 00003548  0x000007cd branch  0x00000e10 
+ 00003549  0x000007d1 fetch  0x00000001 , 0x0000004c 
+ 00003550  0x000007d2 bbit0  0x00000002 , 0x00007ed1 
+ 00003551  0x000007d3 fetch  0x00000001 , 0x00004648 
+ 00003552  0x000007d4 bne  0x00000002 , 0x00007ed1 
+ 00003553  0x000007d5 branch  0x00007ecf 
+ 00003554  0x000007d8 fetch  0x00000002 , 0x000000ae 
+ 00003555  0x000007d9 sub  0x0000003f , 0x00000011 , 0x0000003e 
+ 00003556  0x000007da nbranch  0x00000e6b , 0x00000002 
+ 00003557  0x000007db bmark1  0x0000000f , 0x00000e4c 
+ 00003558  0x000007dc branch  0x00000e0c 
+ 00003559  0x000007e0 bpatch  0x0000005a , 0x0000400b 
+ 00003560  0x000007e1 bmark1  0x0000000f , 0x00000e4c 
+ 00003561  0x000007e2 fetch  0x00000002 , 0x000000ae 
+ 00003562  0x000007e3 arg  0x000002e0 , 0x00000002 
+ 00003563  0x000007e4 isub  0x00000002 , 0x0000003e 
+ 00003564  0x000007e5 branch  0x00000e6b , 0x00000002 
+ 00003565  0x000007e6 fetch  0x00000001 , 0x00000314 
+ 00003566  0x000007e7 bbit0  0x00000000 , 0x00000df1 
+ 00003567  0x000007e8 bbit0  0x00000001 , 0x00000df6 
+ 00003568  0x000007e9 branch  0x00000e7c 
+ 00003569  0x000007eb jam  0x00000001 , 0x00000312 
+ 00003570  0x000007ec fetch  0x00000002 , 0x0000030e 
+ 00003571  0x000007ed bne  0x00000000 , 0x00000e7c 
+ 00003572  0x000007ee arg  0x00001000 , 0x00000005 
+ 00003573  0x000007ef branch  0x00000e0c 
+ 00003574  0x000007f1 jam  0x00000002 , 0x00000312 
+ 00003575  0x000007f2 fetch  0x00000002 , 0x00000310 
+ 00003576  0x000007f3 bne  0x00000000 , 0x00000e7c 
+ 00003577  0x000007f4 arg  0x00001400 , 0x00000005 
+ 00003578  0x000007f5 branch  0x00000e0c 
+ 00003579  0x000007f8 bpatch  0x0000005b , 0x0000400b 
+ 00003580  0x000007f9 bmark1  0x0000000f , 0x00000e4c 
+ 00003581  0x000007fa fetch  0x00000002 , 0x000000ae 
+ 00003582  0x000007fb arg  0x000002e0 , 0x00000002 
+ 00003583  0x000007fc isub  0x00000002 , 0x0000003e 
+ 00003584  0x000007fd branch  0x00000e6b , 0x00000002 
+ 00003585  0x000007fe fetch  0x00000001 , 0x00000312 
+ 00003586  0x000007ff beq  0x00000001 , 0x00000e05 
+ 00003587  0x00000800 beq  0x00000002 , 0x00000e09 
+ 00003588  0x00000801 branch  0x00000e7c 
+ 00003589  0x00000803 arg  0x00001000 , 0x00000005 
+ 00003590  0x00000804 fetch  0x00000002 , 0x0000030e 
+ 00003591  0x00000805 iadd  0x00000005 , 0x00000005 
+ 00003592  0x00000806 branch  0x00000e0c 
+ 00003593  0x00000808 arg  0x00001400 , 0x00000005 
+ 00003594  0x00000809 fetch  0x00000002 , 0x00000310 
+ 00003595  0x0000080a iadd  0x00000005 , 0x00000005 
+ 00003596  0x0000080c parse  0x00000003 , 0x00000000 , 0x00000008 
+ 00003597  0x0000080d rshift3  0x0000000c , 0x0000003f 
+ 00003598  0x0000080e istore  0x00000001 , 0x00000005 
+ 00003599  0x0000080f loop  0x00000e0c 
+ 00003600  0x00000811 bpatch  0x0000005c , 0x0000400b 
+ 00003601  0x00000812 parse  0x00000003 , 0x00000000 , 0x00000010 
+ 00003602  0x00000813 branch  0x00000e65 , 0x00000006 
+ 00003603  0x00000814 call  0x00000ddd 
+ 00003604  0x00000815 call  0x00007ec9 
+ 00003605  0x00000816 ncall  0x00006d34 , 0x00000034 
+ 00003606  0x00000817 nbranch  0x00000e6c , 0x0000002c 
+ 00003607  0x00000818 call  0x00004d0c 
+ 00003608  0x0000081a fetch  0x00000001 , 0x000045f6 
+ 00003609  0x0000081b beq  0x00000001 , 0x00000e6c 
+ 00003610  0x0000081d bmark1  0x00000011 , 0x00000e39 
+ 00003611  0x0000081e bmark1  0x0000000f , 0x00000e79 
+ 00003612  0x0000081f fetch  0x00000001 , 0x000000e4 
+ 00003613  0x00000820 compare  0x00000003 , 0x0000003f , 0x00000003 
+ 00003614  0x00000821 branch  0x00000e39 , 0x00000001 
+ 00003615  0x00000822 fetch  0x00000002 , 0x000000ae 
+ 00003616  0x00000823 branch  0x00000e39 , 0x00000034 
+ 00003617  0x00000824 bpatch  0x0000005d , 0x0000400b 
+ 00003618  0x00000825 fetch  0x00000001 , 0x00000312 
+ 00003619  0x00000826 beq  0x00000001 , 0x00000e26 
+ 00003620  0x00000827 beq  0x00000002 , 0x00000e30 
+ 00003621  0x00000828 branch  0x0000137c 
+ 00003622  0x0000082a fetch  0x00000002 , 0x0000030e 
+ 00003623  0x0000082b fetcht  0x00000002 , 0x000000ae 
+ 00003624  0x0000082c iadd  0x00000002 , 0x0000003f 
+ 00003625  0x0000082d store  0x00000002 , 0x0000030e 
+ 00003626  0x0000082e rtn  0x00000034 
+ 00003627  0x0000082f fetcht  0x00000002 , 0x00001000 
+ 00003628  0x00000830 increase  0x00000004 , 0x00000002 
+ 00003629  0x00000831 isub  0x00000002 , 0x0000003e 
+ 00003630  0x00000832 call  0x00000f6b , 0x00000005 
+ 00003631  0x00000833 branch  0x00000e39 
+ 00003632  0x00000835 fetch  0x00000002 , 0x00000310 
+ 00003633  0x00000836 fetcht  0x00000002 , 0x000000ae 
+ 00003634  0x00000837 iadd  0x00000002 , 0x0000003f 
+ 00003635  0x00000838 store  0x00000002 , 0x00000310 
+ 00003636  0x00000839 rtn  0x00000034 
+ 00003637  0x0000083a fetcht  0x00000002 , 0x00001400 
+ 00003638  0x0000083b add  0x00000002 , 0x00000004 , 0x00000002 
+ 00003639  0x0000083c isub  0x00000002 , 0x0000003e 
+ 00003640  0x0000083d call  0x00000f6f , 0x00000005 
+ 00003641  0x00000840 bpatch  0x0000005e , 0x0000400b 
+ 00003642  0x00000841 fetcht  0x00000001 , 0x0000004c 
+ 00003643  0x00000842 fetch  0x00000001 , 0x000000e4 
+ 00003644  0x00000843 compare  0x00000003 , 0x0000003f , 0x00000003 
+ 00003645  0x00000844 setflag  0x00000001 , 0x00000006 , 0x00000002 
+ 00003646  0x00000845 nsetflag  0x00000001 , 0x00000007 , 0x00000002 
+ 00003647  0x00000846 storet  0x00000001 , 0x0000004c 
+ 00003648  0x00000847 nbranch  0x00000e42 , 0x00000001 
+ 00003649  0x00000848 set1  0x00000001 , 0x00000000 
+ 00003650  0x0000084a bmark0  0x00000011 , 0x00000e4c 
+ 00003651  0x0000084b isolate1  0x00000006 , 0x00000002 
+ 00003652  0x0000084c branch  0x00000e4c , 0x00000001 
+ 00003653  0x0000084d fetch  0x00000002 , 0x000009fa 
+ 00003654  0x0000084e increase  0x00000001 , 0x0000003f 
+ 00003655  0x0000084f store  0x00000002 , 0x000009fa 
+ 00003656  0x00000850 set1  0x00000005 , 0x00000000 
+ 00003657  0x00000851 set0  0x00000007 , 0x00000002 
+ 00003658  0x00000852 set0  0x00000001 , 0x00000000 
+ 00003659  0x00000853 storet  0x00000001 , 0x0000004c 
+ 00003660  0x00000855 bpatch  0x0000005f , 0x0000400b 
+ 00003661  0x00000856 call  0x00000ddd 
+ 00003662  0x00000857 ncall  0x00006d5b , 0x00000034 
+ 00003663  0x00000858 fetcht  0x00000001 , 0x000000ad 
+ 00003664  0x00000859 fetch  0x00000001 , 0x00000047 
+ 00003665  0x0000085a set1  0x00000005 , 0x0000003f 
+ 00003666  0x0000085b isolate1  0x00000002 , 0x00000002 
+ 00003667  0x0000085c setflag  0x00000001 , 0x00000002 , 0x0000003f 
+ 00003668  0x0000085d isolate1  0x0000000a , 0x00000000 
+ 00003669  0x0000085e setflag  0x00000001 , 0x00000007 , 0x0000003f 
+ 00003670  0x0000085f store  0x00000001 , 0x00000047 
+ 00003671  0x00000860 fetch  0x00000002 , 0x000000ae 
+ 00003672  0x00000861 nbranch  0x00000e7c , 0x00000034 
+ 00003673  0x00000862 fetch  0x00000001 , 0x0000004c 
+ 00003674  0x00000863 set0  0x00000007 , 0x0000003f 
+ 00003675  0x00000864 store  0x00000001 , 0x0000004c 
+ 00003676  0x00000865 fetch  0x00000001 , 0x000000e4 
+ 00003677  0x00000866 compare  0x00000001 , 0x0000003f , 0x00000007 
+ 00003678  0x00000868 branch  0x00000e7c 
+ 00003679  0x0000086b bpatch  0x00000060 , 0x0000400c 
+ 00003680  0x0000086c disable  0x0000002d 
+ 00003681  0x0000086d fetch  0x00000002 , 0x0000001a 
+ 00003682  0x0000086e increase  0x00000001 , 0x0000003f 
+ 00003683  0x0000086f store  0x00000002 , 0x0000001a 
+ 00003684  0x00000870 branch  0x00000e7c 
+ 00003685  0x00000872 fetch  0x00000002 , 0x0000001c 
+ 00003686  0x00000873 increase  0x00000001 , 0x0000003f 
+ 00003687  0x00000874 store  0x00000002 , 0x0000001c 
+ 00003688  0x00000875 call  0x00000e6d 
+ 00003689  0x00000876 bmark0  0x00000011 , 0x00000e6b 
+ 00003690  0x00000877 set1  0x00000005 , 0x00000000 
+ 00003691  0x00000879 branch  0x00000e7c 
+ 00003692  0x0000087d branch  0x00000e65 
+ 00003693  0x00000881 bpatch  0x00000061 , 0x0000400c 
+ 00003694  0x00000882 fetch  0x00000001 , 0x000000e4 
+ 00003695  0x00000883 compare  0x00000003 , 0x0000003f , 0x00000003 
+ 00003696  0x00000884 nbranch  0x00000e75 , 0x00000001 
+ 00003697  0x00000886 fetcht  0x00000001 , 0x0000004c 
+ 00003698  0x00000887 set0  0x00000006 , 0x00000002 
+ 00003699  0x00000888 storet  0x00000001 , 0x0000004c 
+ 00003700  0x00000889 rtn 
+ 00003701  0x0000088d fetcht  0x00000001 , 0x0000004c 
+ 00003702  0x0000088e set0  0x00000007 , 0x00000002 
+ 00003703  0x0000088f storet  0x00000001 , 0x0000004c 
+ 00003704  0x00000890 rtn 
+ 00003705  0x00000893 fetch  0x00000001 , 0x00000047 
+ 00003706  0x00000894 set1  0x00000005 , 0x0000003f 
+ 00003707  0x00000895 store  0x00000001 , 0x00000047 
+ 00003708  0x00000897 bpatch  0x00000062 , 0x0000400c 
+ 00003709  0x00000898 disable  0x0000001d 
+ 00003710  0x00000899 disable  0x0000001c 
+ 00003711  0x0000089a disable  0x0000000d 
+ 00003712  0x0000089b disable  0x0000000c 
+ 00003713  0x0000089c disable  0x00000009 
+ 00003714  0x0000089d disable  0x0000000e 
+ 00003715  0x0000089e disable  0x00000007 
+ 00003716  0x0000089f branch  0x0000114b , 0x00000021 
+ 00003717  0x000008a0 until  0x0000003e , 0x00000027 
+ 00003718  0x000008a1 nop  0x00000064 
+ 00003719  0x000008a2 branch  0x0000114b 
+ 00003720  0x000008a5 bpatch  0x00000063 , 0x0000400c 
+ 00003721  0x000008a6 enable  0x00000009 
+ 00003722  0x000008a7 enable  0x0000000c 
+ 00003723  0x000008a8 parse  0x00000003 , 0x00000000 , 0x00000048 
+ 00003724  0x000008a9 isolate1  0x0000003a , 0x0000003f 
+ 00003725  0x000008aa setflag  0x00000001 , 0x00000000 , 0x00000000 
+ 00003726  0x000008ab copy  0x00000020 , 0x00000002 
+ 00003727  0x000008ac ialigned  0x00000020 
+ 00003728  0x000008ad ialigned  0x0000001e 
+ 00003729  0x000008ae pulse  0x00000015 
+ 00003730  0x000008af setsect  0x00000002 , 0x000fffff 
+ 00003731  0x000008b0 setsect  0x00000003 , 0x0000ffff 
+ 00003732  0x000008b1 nop  0x00000020 
+ 00003733  0x000008b2 iverify  0x0000000d 
+ 00003734  0x000008b3 deposit  0x0000002c 
+ 00003735  0x000008b4 store  0x00000003 , 0x000000c7 
+ 00003736  0x000008b5 deposit  0x0000002d 
+ 00003737  0x000008b6 store  0x00000001 , 0x000000ca 
+ 00003738  0x000008b7 copy  0x00000002 , 0x00000020 
+ 00003739  0x000008b8 branch  0x00000e9d , 0x00000001 
+ 00003740  0x000008b9 branch  0x00000e6b 
+ 00003741  0x000008bb bpatch  0x00000064 , 0x0000400c 
+ 00003742  0x000008bc parse  0x00000003 , 0x00000000 , 0x00000048 
+ 00003743  0x000008bd ialigned  0x0000001f 
+ 00003744  0x000008be ialigned  0x00000004 
+ 00003745  0x000008bf ialigned  0x0000002e 
+ 00003746  0x000008c0 ialigned  0x00000012 
+ 00003747  0x000008c1 force  0x00000000 , 0x0000003f 
+ 00003748  0x000008c2 parse  0x00000003 , 0x00000000 , 0x00000010 
+ 00003749  0x000008c3 branch  0x00000e6b , 0x00000006 
+ 00003750  0x000008c4 call  0x00004d0c 
+ 00003751  0x000008c5 setarg  0x0ffffffc 
+ 00003752  0x000008c6 iand  0x00000012 , 0x0000003f 
+ 00003753  0x000008c7 store  0x00000004 , 0x000000b4 
+ 00003754  0x000008c8 deposit  0x0000001d 
+ 00003755  0x000008c9 store  0x00000003 , 0x000000c4 
+ 00003756  0x000008ca deposit  0x0000001c 
+ 00003757  0x000008cb store  0x00000001 , 0x000000c2 
+ 00003758  0x000008cc deposit  0x00000004 
+ 00003759  0x000008cd store  0x00000001 , 0x000000c3 
+ 00003760  0x000008ce deposit  0x0000002e 
+ 00003761  0x000008cf store  0x00000002 , 0x000000cb 
+ 00003762  0x000008d0 deposit  0x00000021 
+ 00003763  0x000008d1 inject  0x00000001 , 0x00000020 
+ 00003764  0x000008d2 compare  0x00000002 , 0x00000001 , 0x0000000f 
+ 00003765  0x000008d3 setflag  0x00000001 , 0x0000000b , 0x00000000 
+ 00003766  0x000008d4 branch  0x00000e7c 
+ 00003767  0x000008d7 bpatch  0x00000065 , 0x0000400c 
+ 00003768  0x000008d8 fetch  0x00000001 , 0x00000047 
+ 00003769  0x000008d9 rtnbit0  0x00000003 
+ 00003770  0x000008da set0  0x00000003 , 0x0000003f 
+ 00003771  0x000008db setflip  0x00000006 , 0x0000003f 
+ 00003772  0x000008dc store  0x00000001 , 0x00000047 
+ 00003773  0x000008dd call  0x00000ddd 
+ 00003774  0x000008de ncall  0x00006d21 , 0x00000034 
+ 00003775  0x000008df fetch  0x00000001 , 0x000040cc 
+ 00003776  0x000008e0 beq  0x00000013 , 0x00000ece 
+ 00003777  0x000008e1 rtneq  0x00000007 
+ 00003778  0x000008e2 fetch  0x00000001 , 0x0000004b 
+ 00003779  0x000008e3 rtnbit0  0x00000006 , 0x0000003f 
+ 00003780  0x000008e4 set0  0x00000006 , 0x0000003f 
+ 00003781  0x000008e5 set1  0x00000007 , 0x0000003f 
+ 00003782  0x000008e6 store  0x00000001 , 0x0000004b 
+ 00003783  0x000008e7 set0  0x00000002 , 0x00000000 
+ 00003784  0x000008e8 fetch  0x00000002 , 0x000044d9 
+ 00003785  0x000008e9 nrtn  0x00000034 
+ 00003786  0x000008ea fetch  0x00000001 , 0x0000004b 
+ 00003787  0x000008eb set0  0x00000007 , 0x0000003f 
+ 00003788  0x000008ec store  0x00000001 , 0x0000004b 
+ 00003789  0x000008ed branch  0x0000533e 
+ 00003790  0x000008f0 bpatch  0x00000066 , 0x0000400c 
+ 00003791  0x000008f1 fetch  0x00000001 , 0x000045f9 
+ 00003792  0x000008f2 rshift  0x0000003f , 0x0000003f 
+ 00003793  0x000008f3 beq  0x00000011 , 0x00000ee1 
+ 00003794  0x000008f4 beq  0x00000012 , 0x00000eeb 
+ 00003795  0x000008f5 beq  0x00000018 , 0x00000f12 
+ 00003796  0x000008f6 beq  0x0000007f , 0x00000ed9 
+ 00003797  0x000008f7 rtnne  0x00000003 
+ 00003798  0x000008f8 fetch  0x00000001 , 0x0000038c 
+ 00003799  0x000008f9 beq  0x00000011 , 0x00000edc 
+ 00003800  0x000008fa rtn 
+ 00003801  0x000008fd fetch  0x00000001 , 0x0000038c 
+ 00003802  0x000008fe set1  0x00000007 , 0x0000003f 
+ 00003803  0x000008ff rtn 
+ 00003804  0x00000901 rtn  0x00000029 
+ 00003805  0x00000902 fetch  0x00000001 , 0x00000030 
+ 00003806  0x00000903 rtnbit1  0x00000004 
+ 00003807  0x00000904 jam  0x00000031 , 0x0000007c 
+ 00003808  0x00000905 rtn 
+ 00003809  0x00000909 bpatch  0x00000067 , 0x0000400c 
+ 00003810  0x0000090a fetch  0x00000001 , 0x0000004c 
+ 00003811  0x0000090b set1  0x00000002 , 0x0000003f 
+ 00003812  0x0000090c store  0x00000001 , 0x0000004c 
+ 00003813  0x0000090d jam  0x00000001 , 0x00008011 
+ 00003814  0x0000090e force  0x00000000 , 0x0000003f 
+ 00003815  0x0000090f store  0x00000005 , 0x000046a4 
+ 00003816  0x00000910 set1  0x00000025 , 0x0000003f 
+ 00003817  0x00000911 store  0x00000005 , 0x0000469f 
+ 00003818  0x00000912 rtn 
+ 00003819  0x00000915 bpatch  0x00000068 , 0x0000400d 
+ 00003820  0x00000916 fetch  0x00000001 , 0x0000004c 
+ 00003821  0x00000917 set0  0x00000002 , 0x0000003f 
+ 00003822  0x00000918 store  0x00000001 , 0x0000004c 
+ 00003823  0x00000919 jam  0x00000000 , 0x00008011 
+ 00003824  0x0000091a rtn 
+ 00003825  0x0000091e bpatch  0x00000069 , 0x0000400d 
+ 00003826  0x0000091f add  0x00000022 , 0x00000003 , 0x00000011 
+ 00003827  0x00000920 branch  0x00000ef5 , 0x00000029 
+ 00003828  0x00000921 add  0x00000028 , 0x00000003 , 0x00000011 
+ 00003829  0x00000923 fetcht  0x00000002 , 0x00000032 
+ 00003830  0x00000924 deposit  0x00000011 
+ 00003831  0x00000925 set0  0x0000001b , 0x0000003f 
+ 00003832  0x00000926 idiv  0x00000002 
+ 00003833  0x00000927 fetch  0x00000002 , 0x00000075 
+ 00003834  0x00000928 call  0x00007e64 
+ 00003835  0x00000929 remainder  0x00000013 
+ 00003836  0x0000092a isub  0x00000013 , 0x0000003f 
+ 00003837  0x0000092b branch  0x00000eff , 0x00000002 
+ 00003838  0x0000092c iadd  0x00000002 , 0x0000003f 
+ 00003839  0x0000092e iadd  0x00000011 , 0x0000003f 
+ 00003840  0x0000092f store  0x00000004 , 0x00000034 
+ 00003841  0x00000930 jam  0x00000000 , 0x00004645 
+ 00003842  0x00000931 fetch  0x00000001 , 0x00000030 
+ 00003843  0x00000932 set1  0x00000001 , 0x0000003f 
+ 00003844  0x00000933 store  0x00000001 , 0x00000030 
+ 00003845  0x00000934 fetch  0x00000001 , 0x00000073 
+ 00003846  0x00000935 store  0x00000001 , 0x00000088 
+ 00003847  0x00000936 setarg  0x00000000 
+ 00003848  0x00000937 store  0x00000003 , 0x0000416e 
+ 00003849  0x00000938 store  0x00000003 , 0x00004171 
+ 00003850  0x00000939 store  0x00000001 , 0x0000415e 
+ 00003851  0x0000093a jam  0x0000000b , 0x0000095b 
+ 00003852  0x0000093b call  0x000078dc 
+ 00003853  0x0000093c fetch  0x00000002 , 0x000040c8 
+ 00003854  0x0000093d store  0x00000002 , 0x0000003e 
+ 00003855  0x0000093e nrtn  0x00000029 
+ 00003856  0x0000093f add  0x00000004 , 0xffffffff , 0x00000007 
+ 00003857  0x00000940 rtn 
+ 00003858  0x00000943 bpatch  0x0000006a , 0x0000400d 
+ 00003859  0x00000944 fetch  0x00000001 , 0x00000030 
+ 00003860  0x00000945 rtnbit0  0x00000001 
+ 00003861  0x00000946 set0  0x00000001 , 0x0000003f 
+ 00003862  0x00000947 store  0x00000001 , 0x00000030 
+ 00003863  0x00000948 fetch  0x00000002 , 0x000040c6 
+ 00003864  0x00000949 store  0x00000002 , 0x0000003e 
+ 00003865  0x0000094a disable  0x0000002b 
+ 00003866  0x0000094b jam  0x0000000c , 0x0000095b 
+ 00003867  0x0000094c branch  0x000078dc 
+ 00003868  0x00000950 bpatch  0x0000006b , 0x0000400d 
+ 00003869  0x00000951 enable  0x0000002e 
+ 00003870  0x00000952 fetch  0x00000001 , 0x00000030 
+ 00003871  0x00000953 bbit1  0x00000001 , 0x00000f29 
+ 00003872  0x00000954 rtnmark1  0x00000011 
+ 00003873  0x00000955 fetch  0x00000001 , 0x00000047 
+ 00003874  0x00000956 rtnbit1  0x00000003 
+ 00003875  0x00000957 fetch  0x00000001 , 0x00000048 
+ 00003876  0x00000958 nrtn  0x00000034 
+ 00003877  0x00000959 fetch  0x00000001 , 0x0000004b 
+ 00003878  0x0000095a rtnbit1  0x00000006 
+ 00003879  0x0000095c force  0x00000000 , 0x0000003f 
+ 00003880  0x0000095d rtn 
+ 00003881  0x00000960 bbit0  0x00000002 , 0x00000f33 
+ 00003882  0x00000961 fetch  0x00000001 , 0x00000088 
+ 00003883  0x00000962 beq  0x00000002 , 0x00000f2f 
+ 00003884  0x00000963 fetch  0x00000001 , 0x00000047 
+ 00003885  0x00000964 bbit1  0x00000003 , 0x00000f3c 
+ 00003886  0x00000965 bmark0  0x00000008 , 0x00000f3c 
+ 00003887  0x00000967 nbranch  0x00000f3c , 0x00000029 
+ 00003888  0x00000968 fetch  0x00000001 , 0x00000048 
+ 00003889  0x00000969 nbranch  0x00000f3c , 0x00000034 
+ 00003890  0x0000096b branch  0x00000f27 
+ 00003891  0x00000973 fetch  0x00000001 , 0x00000088 
+ 00003892  0x00000974 bne  0x00000001 , 0x00000f3c 
+ 00003893  0x00000975 fetch  0x00000001 , 0x00000089 
+ 00003894  0x00000976 branch  0x00000f3c , 0x00000034 
+ 00003895  0x00000977 increase  0xffffffff , 0x0000003f 
+ 00003896  0x00000978 store  0x00000001 , 0x00000089 
+ 00003897  0x00000979 fetch  0x00000001 , 0x00000047 
+ 00003898  0x0000097a rtnbit1  0x00000003 
+ 00003899  0x0000097b nrtn  0x0000002d 
+ 00003900  0x0000097d fetch  0x00000001 , 0x00000088 
+ 00003901  0x0000097e increase  0xffffffff , 0x0000003f 
+ 00003902  0x0000097f store  0x00000001 , 0x00000088 
+ 00003903  0x00000980 rtn 
+ 00003904  0x0000098c bpatch  0x0000006c , 0x0000400d 
+ 00003905  0x0000098d disable  0x00000010 
+ 00003906  0x0000098e copy  0x00000002 , 0x0000001b 
+ 00003907  0x0000098f call  0x00000a6d 
+ 00003908  0x00000990 disable  0x00000028 
+ 00003909  0x00000991 nrtn  0x00000005 
+ 00003910  0x00000992 force  0x00000000 , 0x0000001b 
+ 00003911  0x00000993 enable  0x00000028 
+ 00003912  0x00000994 rtn 
+ 00003913  0x00000998 fetch  0x00000001 , 0x0000415d 
+ 00003914  0x00000999 icompare  0x000000ff , 0x00000004 
+ 00003915  0x0000099a rtn 
+ 00003916  0x0000099e bpatch  0x0000006d , 0x0000400d 
+ 00003917  0x0000099f set0  0x00000001 , 0x00000000 
+ 00003918  0x000009a1 jam  0x00000000 , 0x0000031b 
+ 00003919  0x000009a2 fetch  0x00000001 , 0x00000314 
+ 00003920  0x000009a3 rtn  0x00000034 
+ 00003921  0x000009a4 isolate1  0x00000000 , 0x0000003f 
+ 00003922  0x000009a5 arg  0x00001000 , 0x00000006 
+ 00003923  0x000009a6 call  0x00004e34 , 0x00000001 
+ 00003924  0x000009a7 bpatch  0x0000006e , 0x0000400d 
+ 00003925  0x000009a8 fetch  0x00000001 , 0x0000031b 
+ 00003926  0x000009a9 beq  0x00000001 , 0x00000f5f 
+ 00003927  0x000009ab jam  0x00000000 , 0x0000031b 
+ 00003928  0x000009ac fetch  0x00000001 , 0x00000314 
+ 00003929  0x000009ad rtnbit0  0x00000001 
+ 00003930  0x000009ae arg  0x00001400 , 0x00000006 
+ 00003931  0x000009af call  0x00004e34 
+ 00003932  0x000009b0 fetch  0x00000001 , 0x0000031b 
+ 00003933  0x000009b1 beq  0x00000001 , 0x00000f65 
+ 00003934  0x000009b2 rtn 
+ 00003935  0x000009b5 fetch  0x00000001 , 0x00000314 
+ 00003936  0x000009b6 set0  0x00000000 , 0x0000003f 
+ 00003937  0x000009b7 store  0x00000001 , 0x00000314 
+ 00003938  0x000009b8 setarg  0x00000000 
+ 00003939  0x000009b9 store  0x00000002 , 0x0000030e 
+ 00003940  0x000009ba rtn 
+ 00003941  0x000009bc fetch  0x00000001 , 0x00000314 
+ 00003942  0x000009bd set0  0x00000001 , 0x0000003f 
+ 00003943  0x000009be store  0x00000001 , 0x00000314 
+ 00003944  0x000009bf setarg  0x00000000 
+ 00003945  0x000009c0 store  0x00000002 , 0x00000310 
+ 00003946  0x000009c1 rtn 
+ 00003947  0x000009c4 fetch  0x00000001 , 0x00000314 
+ 00003948  0x000009c5 set1  0x00000000 , 0x0000003f 
+ 00003949  0x000009c6 store  0x00000001 , 0x00000314 
+ 00003950  0x000009c7 rtn 
+ 00003951  0x000009ca fetch  0x00000001 , 0x00000314 
+ 00003952  0x000009cb set1  0x00000001 , 0x0000003f 
+ 00003953  0x000009cc store  0x00000001 , 0x00000314 
+ 00003954  0x000009cd rtn 
+ 00003955  0x000009d4 bpatch  0x0000006f , 0x0000400d 
+ 00003956  0x000009d5 add  0x00000028 , 0x00000001 , 0x00000021 
+ 00003957  0x000009d6 call  0x0000113c 
+ 00003958  0x000009d7 force  0x00000003 , 0x00000024 
+ 00003959  0x000009d8 call  0x00001124 
+ 00003960  0x000009d9 call  0x00001340 
+ 00003961  0x000009da call  0x0000134e 
+ 00003962  0x000009db branch  0x00001353 
+ 00003963  0x000009df bpatch  0x00000070 , 0x0000400e 
+ 00003964  0x000009e0 call  0x0000133c 
+ 00003965  0x000009e1 deposit  0x00000028 
+ 00003966  0x000009e2 fetcht  0x00000004 , 0x000040d1 
+ 00003967  0x000009e3 isub  0x00000002 , 0x0000003f 
+ 00003968  0x000009e4 rtnne  0x00000001 
+ 00003969  0x000009e5 compare  0x00000000 , 0x00000001 , 0x0000001f 
+ 00003970  0x000009e6 nbranch  0x00000f85 , 0x00000001 
+ 00003971  0x000009e7 fetch  0x00000001 , 0x00000019 
+ 00003972  0x000009e8 rtn  0x00000034 
+ 00003973  0x000009ea call  0x00000f73 
+ 00003974  0x000009ec compare  0x00000010 , 0x00000001 , 0x0000001f 
+ 00003975  0x000009ed branch  0x00000e7c , 0x00000001 
+ 00003976  0x000009ee rshift  0x00000021 , 0x00000002 
+ 00003977  0x000009ef or  0x00000002 , 0x00000040 , 0x0000000e 
+ 00003978  0x000009f1 bpatch  0x00000071 , 0x0000400e 
+ 00003979  0x000009f2 enable  0x00000007 
+ 00003980  0x000009f3 enable  0x0000000a 
+ 00003981  0x000009f4 enable  0x0000001b 
+ 00003982  0x000009f5 set0  0x00000010 , 0x00000000 
+ 00003983  0x000009f6 deposit  0x00000004 
+ 00003984  0x000009f7 inject  0x00000003 , 0x00000003 
+ 00003985  0x000009f8 deposit  0x00000001 
+ 00003986  0x000009f9 inject  0x00000003 , 0x00000004 
+ 00003987  0x000009fa fetch  0x00000001 , 0x00000047 
+ 00003988  0x000009fb inject  0x00000000 , 0x00000004 
+ 00003989  0x000009fc inject  0x00000003 , 0x00000003 
+ 00003990  0x000009fd enable  0x00000008 
+ 00003991  0x000009fe inject  0x00000003 , 0x00000008 
+ 00003992  0x000009ff disable  0x0000001b 
+ 00003993  0x00000a00 disable  0x00000008 
+ 00003994  0x00000a01 disable  0x0000000a 
+ 00003995  0x00000a02 set0  0x00000002 , 0x00000015 
+ 00003996  0x00000a03 arg  0x00000000 , 0x00000002 
+ 00003997  0x00000a04 call  0x0000130b 
+ 00003998  0x00000a05 bpatch  0x00000072 , 0x0000400e 
+ 00003999  0x00000a06 and  0x00000001 , 0x0000001f , 0x0000003f 
+ 00004000  0x00000a07 beq  0x00000013 , 0x00000fce 
+ 00004001  0x00000a08 beq  0x00000000 , 0x00000e7c 
+ 00004002  0x00000a09 beq  0x00000001 , 0x00000e7c 
+ 00004003  0x00000a0a beq  0x00000002 , 0x00000faf 
+ 00004004  0x00000a0b beq  0x00000003 , 0x00000fdd 
+ 00004005  0x00000a0c beq  0x00000004 , 0x00000fe3 
+ 00004006  0x00000a0d beq  0x00000008 , 0x00000fe2 
+ 00004007  0x00000a0e arg  0x00000004 , 0x00000002 
+ 00004008  0x00000a0f call  0x0000130b 
+ 00004009  0x00000a10 beq  0x0000000a , 0x00000fdf 
+ 00004010  0x00000a11 beq  0x0000000b , 0x00000fe5 
+ 00004011  0x00000a12 arg  0x00000008 , 0x00000002 
+ 00004012  0x00000a13 call  0x0000130b 
+ 00004013  0x00000a14 beq  0x0000000f , 0x00000fe5 
+ 00004014  0x00000a15 branch  0x00000fdf 
+ 00004015  0x00000a1a bpatch  0x00000073 , 0x0000400e 
+ 00004016  0x00000a1b fetch  0x00000001 , 0x000000e5 
+ 00004017  0x00000a1c icopy  0x00000004 
+ 00004018  0x00000a1d fetch  0x00000001 , 0x0000008d 
+ 00004019  0x00000a1e icopy  0x0000001c 
+ 00004020  0x00000a1f fetch  0x00000003 , 0x000040b2 
+ 00004021  0x00000a20 icopy  0x0000001d 
+ 00004022  0x00000a21 fetch  0x00000002 , 0x000040ac 
+ 00004023  0x00000a22 icopy  0x0000002e 
+ 00004024  0x00000a23 enable  0x00000009 
+ 00004025  0x00000a24 enable  0x0000001c 
+ 00004026  0x00000a25 copy  0x00000020 , 0x00000011 
+ 00004027  0x00000a26 call  0x00001134 
+ 00004028  0x00000a27 pulse  0x00000015 
+ 00004029  0x00000a28 nop  0x00000020 
+ 00004030  0x00000a29 copy  0x00000021 , 0x0000000b 
+ 00004031  0x00000a2a fetch  0x00000004 , 0x000000b0 
+ 00004032  0x00000a2b icopy  0x00000021 
+ 00004033  0x00000a2c preload  0x0000001e 
+ 00004034  0x00000a2d set1  0x0000003a , 0x0000003f 
+ 00004035  0x00000a2e inject  0x00000003 , 0x00000048 
+ 00004036  0x00000a2f preload  0x0000001f 
+ 00004037  0x00000a30 inject  0x00000003 , 0x00000048 
+ 00004038  0x00000a31 copy  0x0000000b , 0x00000021 
+ 00004039  0x00000a32 copy  0x00000011 , 0x00000020 
+ 00004040  0x00000a33 enable  0x00000008 
+ 00004041  0x00000a34 inject  0x00000003 , 0x00000010 
+ 00004042  0x00000a35 disable  0x00000008 
+ 00004043  0x00000a36 branch  0x00000e7c 
+ 00004044  0x00000a39 disable  0x0000000e 
+ 00004045  0x00000a3a branch  0x00000fd2 
+ 00004046  0x00000a3d bpatch  0x00000074 , 0x0000400e 
+ 00004047  0x00000a3e call  0x00000ddd 
+ 00004048  0x00000a3f nbranch  0x00000fcc , 0x00000034 
+ 00004049  0x00000a40 enable  0x0000000e 
+ 00004050  0x00000a42 enable  0x00000009 
+ 00004051  0x00000a43 enable  0x0000001c 
+ 00004052  0x00000a44 fetch  0x00000001 , 0x0000038a 
+ 00004053  0x00000a45 and  0x0000003f , 0x000001f8 , 0x00000002 
+ 00004054  0x00000a46 arg  0x0000038a , 0x00000006 
+ 00004055  0x00000a47 increase  0x00000008 , 0x00000002 
+ 00004056  0x00000a48 rshift3  0x00000002 , 0x00000039 
+ 00004057  0x00000a4a ifetch  0x00000001 , 0x00000006 
+ 00004058  0x00000a4b inject  0x00000003 , 0x00000008 
+ 00004059  0x00000a4c loop  0x00000fd9 
+ 00004060  0x00000a4d branch  0x0000100f 
+ 00004061  0x00000a51 enable  0x0000001c 
+ 00004062  0x00000a52 branch  0x00000fe8 
+ 00004063  0x00000a55 enable  0x0000001c 
+ 00004064  0x00000a56 set1  0x00000010 , 0x00000000 
+ 00004065  0x00000a57 branch  0x00000fe8 
+ 00004066  0x00000a5a set1  0x00000002 , 0x00000015 
+ 00004067  0x00000a5c enable  0x0000001d 
+ 00004068  0x00000a5d branch  0x00000fe8 
+ 00004069  0x00000a61 set1  0x00000002 , 0x00000015 
+ 00004070  0x00000a62 enable  0x0000001d 
+ 00004071  0x00000a63 set1  0x00000010 , 0x00000000 
+ 00004072  0x00000a66 bpatch  0x00000075 , 0x0000400e 
+ 00004073  0x00000a67 fetch  0x00000001 , 0x0000004c 
+ 00004074  0x00000a68 bbit0  0x00000005 , 0x00000ffd 
+ 00004075  0x00000a69 sub  0x00000001 , 0x00000003 , 0x0000003e 
+ 00004076  0x00000a6a branch  0x00000ffd , 0x00000002 
+ 00004077  0x00000a6b disable  0x0000000e 
+ 00004078  0x00000a6c disable  0x0000001c 
+ 00004079  0x00000a6d enable  0x0000001d 
+ 00004080  0x00000a6e disable  0x00000007 
+ 00004081  0x00000a6f set1  0x00000001 , 0x00000015 
+ 00004082  0x00000a70 isolate1  0x00000002 , 0x00000015 
+ 00004083  0x00000a71 branch  0x00000ff7 , 0x00000001 
+ 00004084  0x00000a72 setarg  0x000abeee 
+ 00004085  0x00000a73 inject  0x00000003 , 0x00000014 
+ 00004086  0x00000a74 branch  0x00000ffb 
+ 00004087  0x00000a76 setarg  0x005faeba 
+ 00004088  0x00000a77 inject  0x00000003 , 0x00000018 
+ 00004089  0x00000a78 setarg  0x00000012 
+ 00004090  0x00000a79 inject  0x00000003 , 0x00000006 
+ 00004091  0x00000a7b enable  0x00000007 
+ 00004092  0x00000a7c set1  0x00000010 , 0x00000000 
+ 00004093  0x00000a7e enable  0x0000000e 
+ 00004094  0x00000a7f enable  0x00000009 
+ 00004095  0x00000a80 bmark1  0x00000005 , 0x0000101d 
+ 00004096  0x00000a81 fetch  0x00000001 , 0x000041e5 
+ 00004097  0x00000a82 inject  0x00000003 , 0x00000003 
+ 00004098  0x00000a83 fetch  0x00000002 , 0x000041e6 
+ 00004099  0x00000a84 iforce  0x00000039 
+ 00004100  0x00000a85 bmark1  0x00000010 , 0x00001007 
+ 00004101  0x00000a86 inject  0x00000003 , 0x00000005 
+ 00004102  0x00000a87 branch  0x00001008 
+ 00004103  0x00000a89 inject  0x00000003 , 0x0000000d 
+ 00004104  0x00000a8b deposit  0x00000039 
+ 00004105  0x00000a8c branch  0x0000100f , 0x00000034 
+ 00004106  0x00000a8d fetch  0x00000002 , 0x000000be 
+ 00004107  0x00000a8e iforce  0x00000006 
+ 00004108  0x00000a90 ifetch  0x00000001 , 0x00000006 
+ 00004109  0x00000a91 inject  0x00000003 , 0x00000008 
+ 00004110  0x00000a92 loop  0x0000100c 
+ 00004111  0x00000a96 bpatch  0x00000076 , 0x0000400e 
+ 00004112  0x00000a97 call  0x00000ddd 
+ 00004113  0x00000a98 branch  0x00001014 , 0x00000034 
+ 00004114  0x00000a99 fetch  0x00000004 , 0x0000026f 
+ 00004115  0x00000a9a inject  0x00000003 , 0x00000020 
+ 00004116  0x00000a9c enable  0x00000008 
+ 00004117  0x00000a9d inject  0x00000003 , 0x00000010 
+ 00004118  0x00000a9e disable  0x00000008 
+ 00004119  0x00000a9f call  0x00000ce4 
+ 00004120  0x00000aa0 fetch  0x00000001 , 0x0000004c 
+ 00004121  0x00000aa1 bbit0  0x00000005 , 0x00000e7c 
+ 00004122  0x00000aa2 force  0x00000000 , 0x0000003f 
+ 00004123  0x00000aa3 inject  0x00000003 , 0x00000006 
+ 00004124  0x00000aa4 branch  0x00000e7c 
+ 00004125  0x00000aa8 bpatch  0x00000077 , 0x0000400e 
+ 00004126  0x00000aa9 bmark1  0x00000010 , 0x00001025 
+ 00004127  0x00000aab fetch  0x00000001 , 0x000000e4 
+ 00004128  0x00000aac inject  0x00000003 , 0x00000003 
+ 00004129  0x00000aad fetch  0x00000001 , 0x000000ae 
+ 00004130  0x00000aae iforce  0x00000013 
+ 00004131  0x00000aaf inject  0x00000003 , 0x00000005 
+ 00004132  0x00000ab0 branch  0x0000102a 
+ 00004133  0x00000ab2 fetch  0x00000001 , 0x000000e4 
+ 00004134  0x00000ab3 inject  0x00000003 , 0x00000003 
+ 00004135  0x00000ab4 fetch  0x00000002 , 0x000000ae 
+ 00004136  0x00000ab5 iforce  0x00000013 
+ 00004137  0x00000ab6 inject  0x00000003 , 0x0000000d 
+ 00004138  0x00000ab8 arg  0x00001000 , 0x00000006 
+ 00004139  0x00000aba copy  0x00000013 , 0x0000003e 
+ 00004140  0x00000abb branch  0x00001031 , 0x00000005 
+ 00004141  0x00000abc ifetch  0x00000001 , 0x00000006 
+ 00004142  0x00000abd inject  0x00000003 , 0x00000008 
+ 00004143  0x00000abe increase  0xffffffff , 0x00000013 
+ 00004144  0x00000abf branch  0x0000102b 
+ 00004145  0x00000ac1 fetch  0x00000002 , 0x000009fc 
+ 00004146  0x00000ac2 increase  0x00000001 , 0x0000003f 
+ 00004147  0x00000ac3 store  0x00000002 , 0x000009fc 
+ 00004148  0x00000ac4 branch  0x0000100f 
+ 00004149  0x00000ac8 fetch  0x00000004 , 0x000000b4 
+ 00004150  0x00000ac9 add  0x0000003f , 0x00000007 , 0x00000011 
+ 00004151  0x00000aca fetch  0x00000002 , 0x000000c0 
+ 00004152  0x00000acb nbranch  0x0000103b , 0x00000034 
+ 00004153  0x00000acc increase  0xfffffffd , 0x00000011 
+ 00004154  0x00000acd branch  0x00001043 
+ 00004155  0x00000acf mul32  0x0000003f , 0x0000000c , 0x0000003f 
+ 00004156  0x00000ad0 fetcht  0x00000002 , 0x00008040 
+ 00004157  0x00000ad1 increase  0x00000001 , 0x00000002 
+ 00004158  0x00000ad3 isub  0x00000002 , 0x0000003f 
+ 00004159  0x00000ad4 nbranch  0x00001042 , 0x00000002 
+ 00004160  0x00000ad5 increase  0xffffffff , 0x00000011 
+ 00004161  0x00000ad6 branch  0x0000103e 
+ 00004162  0x00000ad8 sub  0x0000003f , 0x00000000 , 0x0000003f 
+ 00004163  0x00000ada until  0x0000003e , 0x00000023 
+ 00004164  0x00000adb compare  0x00000000 , 0x00000022 , 0x00000003 
+ 00004165  0x00000adc nbranch  0x00001043 , 0x00000001 
+ 00004166  0x00000add iforce  0x00000029 
+ 00004167  0x00000ade copy  0x00000011 , 0x00000028 
+ 00004168  0x00000adf iforce  0x00000029 
+ 00004169  0x00000ae0 rtn 
+ 00004170  0x00000ae4 bpatch  0x00000078 , 0x0000400f 
+ 00004171  0x00000ae5 until  0x0000003e , 0x00000022 
+ 00004172  0x00000ae6 deposit  0x0000001a 
+ 00004173  0x00000ae7 iforce  0x00000006 
+ 00004174  0x00000ae8 rshift16 , 0x0000003f , 0x0000003f 
+ 00004175  0x00000ae9 isub  0x00000022 , 0x00000039 
+ 00004176  0x00000aea and_into  0x00000003 , 0x00000039 
+ 00004177  0x00000aeb nbranch  0x00001054 , 0x00000005 
+ 00004178  0x00000aec force  0x00000000 , 0x0000003f 
+ 00004179  0x00000aed branch  0x00001058 
+ 00004180  0x00000aef fetcht  0x00000002 , 0x00000163 
+ 00004181  0x00000af0 force  0x00000000 , 0x0000003f 
+ 00004182  0x00000af2 iadd  0x00000002 , 0x0000003f 
+ 00004183  0x00000af3 loop  0x00001056 
+ 00004184  0x00000af5 iadd  0x00000006 , 0x0000003f 
+ 00004185  0x00000af6 div  0x0000003f , 0x0000000c 
+ 00004186  0x00000af7 call  0x00007e61 
+ 00004187  0x00000af8 store  0x00000002 , 0x000000c0 
+ 00004188  0x00000af9 rtn 
+ 00004189  0x00000afc bpatch  0x00000079 , 0x0000400f 
+ 00004190  0x00000afd deposit  0x0000001a 
+ 00004191  0x00000afe copy  0x00000019 , 0x00000002 
+ 00004192  0x00000aff isub  0x00000002 , 0x0000003e 
+ 00004193  0x00000b00 nsetflag  0x00000002 , 0x0000002c , 0x0000003f 
+ 00004194  0x00000b01 isub  0x00000002 , 0x00000002 
+ 00004195  0x00000b02 fetch  0x00000002 , 0x00000163 
+ 00004196  0x00000b03 isolate0  0x0000000f , 0x00000002 
+ 00004197  0x00000b04 branch  0x0000106b , 0x00000001 
+ 00004198  0x00000b05 copy  0x00000002 , 0x00000030 
+ 00004199  0x00000b06 arg  0x00010000 , 0x00000002 
+ 00004200  0x00000b07 fetch  0x00000002 , 0x00000163 
+ 00004201  0x00000b08 isub  0x00000002 , 0x0000003f 
+ 00004202  0x00000b09 iadd  0x00000030 , 0x00000002 
+ 00004203  0x00000b0c storet  0x00000006 , 0x0000028f 
+ 00004204  0x00000b0d rtn  0x00000036 
+ 00004205  0x00000b0e storet  0x00000006 , 0x00000038 
+ 00004206  0x00000b0f rtn 
+ 00004207  0x00000b12 disable  0x00000030 
+ 00004208  0x00000b13 fetch  0x00000006 , 0x0000028f 
+ 00004209  0x00000b14 branch  0x00001073 , 0x00000036 
+ 00004210  0x00000b15 fetch  0x00000006 , 0x00000038 
+ 00004211  0x00000b17 iadd  0x00000019 , 0x00000030 
+ 00004212  0x00000b18 increase  0x0000000a , 0x00000030 
+ 00004213  0x00000b19 fetch  0x00000002 , 0x00000163 
+ 00004214  0x00000b1a isub  0x00000030 , 0x0000003f 
+ 00004215  0x00000b1b isolate0  0x0000000f , 0x0000003f 
+ 00004216  0x00000b1c branch  0x0000107f , 0x00000001 
+ 00004217  0x00000b1d setarg  0x00010000 
+ 00004218  0x00000b1e fetchr  0x00000018 , 0x00000002 , 0x00000163 
+ 00004219  0x00000b1f isub  0x00000018 , 0x0000003f 
+ 00004220  0x00000b20 iadd  0x00000030 , 0x00000030 
+ 00004221  0x00000b22 copy  0x00000030 , 0x0000001a 
+ 00004222  0x00000b23 rtn 
+ 00004223  0x00000b25 force  0x00000000 , 0x0000003e 
+ 00004224  0x00000b26 branch  0x0000107d 
+ 00004225  0x00000b2d branch  0x000010a9 , 0x00000036 
+ 00004226  0x00000b2e setarg  0x00402c17 
+ 00004227  0x00000b2f store  0x00000003 , 0x000009ee 
+ 00004228  0x00000b30 rshift16  0x00000009 , 0x0000003f 
+ 00004229  0x00000b31 rshift3  0x0000003f , 0x00000002 
+ 00004230  0x00000b32 arg  0x00000030 , 0x00000039 
+ 00004231  0x00000b34 setarg  0x00000000 
+ 00004232  0x00000b35 store  0x00000003 , 0x000009f1 
+ 00004233  0x00000b37 rshift  0x00000002 , 0x0000003f 
+ 00004234  0x00000b38 ixor  0x00000002 , 0x0000003f 
+ 00004235  0x00000b39 and_into  0x00000003 , 0x0000003f 
+ 00004236  0x00000b3a bbit0  0x00000001 , 0x0000108e 
+ 00004237  0x00000b3b pincrease  0xffffffff 
+ 00004238  0x00000b3d arg  0x000009f1 , 0x00000005 
+ 00004239  0x00000b3e iadd  0x00000005 , 0x00000005 
+ 00004240  0x00000b3f ifetch  0x00000001 , 0x00000005 
+ 00004241  0x00000b40 pincrease  0x00000001 
+ 00004242  0x00000b41 istore  0x00000001 , 0x00000005 
+ 00004243  0x00000b42 rshift  0x00000002 , 0x00000002 
+ 00004244  0x00000b43 loop  0x00001089 
+ 00004245  0x00000b44 arg  0x000009f3 , 0x00000011 
+ 00004246  0x00000b45 arg  0x000009ee , 0x00000012 
+ 00004247  0x00000b46 arg  0x00000000 , 0x00000013 
+ 00004248  0x00000b47 arg  0x00000003 , 0x00000039 
+ 00004249  0x00000b49 ifetch  0x00000001 , 0x00000011 
+ 00004250  0x00000b4a ifetcht  0x00000001 , 0x00000012 
+ 00004251  0x00000b4b imul32  0x00000002 , 0x0000003f 
+ 00004252  0x00000b4c iadd  0x00000013 , 0x00000013 
+ 00004253  0x00000b4d increase  0xffffffff , 0x00000011 
+ 00004254  0x00000b4e increase  0x00000001 , 0x00000012 
+ 00004255  0x00000b4f loop  0x00001099 
+ 00004256  0x00000b50 fetch  0x00000001 , 0x000009ef 
+ 00004257  0x00000b51 lshift8  0x0000003f , 0x0000003f 
+ 00004258  0x00000b52 lshift4  0x0000003f , 0x0000003f 
+ 00004259  0x00000b53 idiv  0x00000013 
+ 00004260  0x00000b54 call  0x00007e64 
+ 00004261  0x00000b55 quotient  0x0000003f 
+ 00004262  0x00000b56 store  0x00000002 , 0x00008938 
+ 00004263  0x00000b57 store  0x00000002 , 0x000009f4 
+ 00004264  0x00000b58 rtn 
+ 00004265  0x00000b5b fetch  0x00000002 , 0x000009f4 
+ 00004266  0x00000b5c store  0x00000002 , 0x00008938 
+ 00004267  0x00000b5d rtn 
+ 00004268  0x00000b60 setarg  0x00402d19 
+ 00004269  0x00000b61 store  0x00000003 , 0x000009ee 
+ 00004270  0x00000b62 rshift32  0x00000009 , 0x0000003f 
+ 00004271  0x00000b63 rshift3  0x0000003f , 0x00000002 
+ 00004272  0x00000b64 arg  0x00000020 , 0x00000039 
+ 00004273  0x00000b65 branch  0x00001087 
+ 00004274  0x00000b68 bpatch  0x0000007a , 0x0000400f 
+ 00004275  0x00000b69 call  0x0000115d 
+ 00004276  0x00000b6a copy  0x00000021 , 0x0000003f 
+ 00004277  0x00000b6b and_into  0x00000180 , 0x0000003f 
+ 00004278  0x00000b6c compare  0x00000003 , 0x00000024 , 0x00000007 
+ 00004279  0x00000b6d nbranch  0x000010bb , 0x00000001 
+ 00004280  0x00000b6e rshift3  0x0000003f , 0x0000003f 
+ 00004281  0x00000b6f iadd  0x00000017 , 0x0000003f 
+ 00004282  0x00000b70 branch  0x000010bc 
+ 00004283  0x00000b72 copy  0x00000017 , 0x0000003f 
+ 00004284  0x00000b74 div  0x0000003f , 0x0000004f 
+ 00004285  0x00000b75 pulse  0x00000015 
+ 00004286  0x00000b76 call  0x00007e64 
+ 00004287  0x00000b77 remainder  0x00000011 
+ 00004288  0x00000b78 add  0x00000011 , 0xffffffd8 , 0x00000002 
+ 00004289  0x00000b79 branch  0x000010c4 , 0x00000002 
+ 00004290  0x00000b7a lshift  0x00000011 , 0x00000002 
+ 00004291  0x00000b7b branch  0x000010c6 
+ 00004292  0x00000b7d lshift  0x00000002 , 0x00000002 
+ 00004293  0x00000b7e increase  0x00000001 , 0x00000002 
+ 00004294  0x00000b80 bpatch  0x0000007b , 0x0000400f 
+ 00004295  0x00000b81 fetch  0x00000001 , 0x00000031 
+ 00004296  0x00000b82 bbit0  0x00000003 , 0x000010d7 
+ 00004297  0x00000b84 fetch  0x00000004 , 0x000040d9 
+ 00004298  0x00000b85 isub  0x00000021 , 0x0000003e 
+ 00004299  0x00000b86 branch  0x000010d7 , 0x00000002 
+ 00004300  0x00000b87 call  0x000010f6 
+ 00004301  0x00000b88 fetch  0x00000001 , 0x000040e0 
+ 00004302  0x00000b89 rtn  0x00000034 
+ 00004303  0x00000b8a fetch  0x00000001 , 0x00000031 
+ 00004304  0x00000b8b set1  0x00000002 , 0x0000003f 
+ 00004305  0x00000b8c store  0x00000001 , 0x00000031 
+ 00004306  0x00000b8d fetch  0x00000005 , 0x000040ee 
+ 00004307  0x00000b8e store  0x00000005 , 0x000040e1 
+ 00004308  0x00000b8f ifetch  0x00000005 , 0x00000006 
+ 00004309  0x00000b90 store  0x00000005 , 0x000040e6 
+ 00004310  0x00000b91 call  0x000010fb 
+ 00004311  0x00000b93 fetch  0x00000001 , 0x00000031 
+ 00004312  0x00000b94 rtnbit0  0x00000002 
+ 00004313  0x00000b95 isolate1  0x00000001 , 0x00000021 
+ 00004314  0x00000b96 branch  0x000010f3 , 0x00000001 
+ 00004315  0x00000b97 rshift3  0x00000002 , 0x00000011 
+ 00004316  0x00000b98 and  0x00000002 , 0x00000007 , 0x00000007 
+ 00004317  0x00000b99 setarg  0x000040e1 
+ 00004318  0x00000b9a iadd  0x00000011 , 0x00000011 
+ 00004319  0x00000b9b ifetch  0x00000001 , 0x00000011 
+ 00004320  0x00000b9c qisolate0  0x0000003f 
+ 00004321  0x00000b9d branch  0x000010e4 , 0x00000001 
+ 00004322  0x00000b9e deposit  0x00000002 
+ 00004323  0x00000b9f branch  0x000010f0 
+ 00004324  0x00000ba1 fetch  0x00000001 , 0x000040eb 
+ 00004325  0x00000ba2 iforce  0x00000012 
+ 00004326  0x00000ba3 deposit  0x00000021 
+ 00004327  0x00000ba4 and_into  0x00000180 , 0x0000003f 
+ 00004328  0x00000ba5 rshift3  0x0000003f , 0x0000003f 
+ 00004329  0x00000ba6 iadd  0x00000017 , 0x0000003f 
+ 00004330  0x00000ba7 idiv  0x00000012 
+ 00004331  0x00000ba8 setarg  0x000040f9 
+ 00004332  0x00000ba9 call  0x00007e64 
+ 00004333  0x00000baa remainder  0x00000011 
+ 00004334  0x00000bab iadd  0x00000011 , 0x00000006 
+ 00004335  0x00000bac ifetch  0x00000001 , 0x00000006 
+ 00004336  0x00000bae store  0x00000001 , 0x000040ec 
+ 00004337  0x00000baf iforce  0x00000002 
+ 00004338  0x00000bb0 rtn 
+ 00004339  0x00000bb3 fetch  0x00000001 , 0x000040ec 
+ 00004340  0x00000bb4 iforce  0x00000002 
+ 00004341  0x00000bb5 rtn 
+ 00004342  0x00000bb8 fetch  0x00000001 , 0x00000031 
+ 00004343  0x00000bb9 set0  0x00000002 , 0x0000003f 
+ 00004344  0x00000bba set0  0x00000003 , 0x0000003f 
+ 00004345  0x00000bbb store  0x00000001 , 0x00000031 
+ 00004346  0x00000bbc rtn 
+ 00004347  0x00000bbe bpatch  0x0000007c , 0x0000400f 
+ 00004348  0x00000bbf arg  0x000040f9 , 0x00000005 
+ 00004349  0x00000bc0 force  0x0000000a , 0x00000039 
+ 00004350  0x00000bc1 call  0x00007d8c 
+ 00004351  0x00000bc2 arg  0x000040f9 , 0x00000005 
+ 00004352  0x00000bc3 force  0x00000000 , 0x00000013 
+ 00004353  0x00000bc4 force  0x00000002 , 0x00000007 
+ 00004354  0x00000bc6 fetch  0x00000005 , 0x000040e1 
+ 00004355  0x00000bc7 iforce  0x00000002 
+ 00004356  0x00000bc8 compare  0x00000002 , 0x00000007 , 0x000000ff 
+ 00004357  0x00000bc9 branch  0x00001107 , 0x00000001 
+ 00004358  0x00000bca rshift  0x00000002 , 0x00000002 
+ 00004359  0x00000bcc isolate0  0x00000000 , 0x00000002 
+ 00004360  0x00000bcd branch  0x0000110b , 0x00000001 
+ 00004361  0x00000bce deposit  0x00000013 
+ 00004362  0x00000bcf istore  0x00000001 , 0x00000005 
+ 00004363  0x00000bd1 rshift2  0x00000002 , 0x00000002 
+ 00004364  0x00000bd2 increase  0x00000002 , 0x00000013 
+ 00004365  0x00000bd3 compare  0x00000028 , 0x00000013 , 0x000000fe 
+ 00004366  0x00000bd4 nbranch  0x00001114 , 0x00000001 
+ 00004367  0x00000bd5 fetch  0x00000005 , 0x000040e6 
+ 00004368  0x00000bd6 iforce  0x00000002 
+ 00004369  0x00000bd7 compare  0x00000002 , 0x00000007 , 0x000000ff 
+ 00004370  0x00000bd8 branch  0x00001114 , 0x00000001 
+ 00004371  0x00000bd9 rshift  0x00000002 , 0x00000002 
+ 00004372  0x00000bdb sub  0x00000013 , 0x0000004e , 0x0000003e 
+ 00004373  0x00000bdc branch  0x00001107 , 0x00000002 
+ 00004374  0x00000bdd force  0x00000001 , 0x00000013 
+ 00004375  0x00000bde increase  0xffffffff , 0x00000007 
+ 00004376  0x00000bdf nbranch  0x00001102 , 0x00000005 
+ 00004377  0x00000be0 arg  0x000040f9 , 0x00000011 
+ 00004378  0x00000be1 deposit  0x00000005 
+ 00004379  0x00000be2 isub  0x00000011 , 0x0000003f 
+ 00004380  0x00000be3 store  0x00000001 , 0x000040eb 
+ 00004381  0x00000be4 rtn 
+ 00004382  0x00000be7 bpatch  0x0000007d , 0x0000400f 
+ 00004383  0x00000be8 call  0x000010b2 
+ 00004384  0x00000be9 fetch  0x00000001 , 0x000000e3 
+ 00004385  0x00000bea bbit0  0x00000005 , 0x00001123 
+ 00004386  0x00000beb fetcht  0x00000001 , 0x000003a0 
+ 00004387  0x00000bed branch  0x0000118b 
+ 00004388  0x00000bf1 bpatch  0x0000007e , 0x0000400f 
+ 00004389  0x00000bf2 call  0x000010b2 
+ 00004390  0x00000bf3 fetch  0x00000001 , 0x000000e3 
+ 00004391  0x00000bf4 bbit0  0x00000004 , 0x00001129 
+ 00004392  0x00000bf5 fetcht  0x00000001 , 0x0000039f 
+ 00004393  0x00000bf7 branch  0x00001201 
+ 00004394  0x00000bfb force  0x00000000 , 0x0000002d 
+ 00004395  0x00000bfc fetch  0x00000003 , 0x000040af 
+ 00004396  0x00000bfd iforce  0x0000002c 
+ 00004397  0x00000bfe rtn 
+ 00004398  0x00000c01 bpatch  0x0000007f , 0x0000400f 
+ 00004399  0x00000c02 fetch  0x00000001 , 0x000041e0 
+ 00004400  0x00000c03 icopy  0x0000002d 
+ 00004401  0x00000c04 fetch  0x00000003 , 0x000041dd 
+ 00004402  0x00000c05 icopy  0x0000002c 
+ 00004403  0x00000c06 rtn 
+ 00004404  0x00000c09 bpatch  0x00000080 , 0x00004010 
+ 00004405  0x00000c0a fetch  0x00000002 , 0x000040ac 
+ 00004406  0x00000c0b icopy  0x0000002e 
+ 00004407  0x00000c0c fetch  0x00000001 , 0x000040ab 
+ 00004408  0x00000c0d icopy  0x0000002d 
+ 00004409  0x00000c0e fetch  0x00000003 , 0x000040a8 
+ 00004410  0x00000c0f icopy  0x0000002c 
+ 00004411  0x00000c10 rtn 
+ 00004412  0x00000c13 bpatch  0x00000081 , 0x00004010 
+ 00004413  0x00000c14 fetch  0x00000002 , 0x00000044 
+ 00004414  0x00000c15 icopy  0x0000002e 
+ 00004415  0x00000c16 fetch  0x00000001 , 0x00000043 
+ 00004416  0x00000c17 icopy  0x0000002d 
+ 00004417  0x00000c18 fetch  0x00000003 , 0x00000040 
+ 00004418  0x00000c19 icopy  0x0000002c 
+ 00004419  0x00000c1a rtn 
+ 00004420  0x00000c1e bmark1  0x00000020 , 0x00001147 
+ 00004421  0x00000c1f rtnmark0  0x0000001d 
+ 00004422  0x00000c20 rtnmark0  0x0000001f 
+ 00004423  0x00000c22 and_into  0xffffff00 , 0x0000002c 
+ 00004424  0x00000c23 pulse  0x00000015 
+ 00004425  0x00000c24 nop  0x00000020 
+ 00004426  0x00000c25 rtn 
+ 00004427  0x00000c29 bpatch  0x00000082 , 0x00004010 
+ 00004428  0x00000c2a call  0x00004d0b 
+ 00004429  0x00000c2b force  0x00000008 , 0x00000015 
+ 00004430  0x00000c2c force  0x00000000 , 0x00000015 
+ 00004431  0x00000c2d disable  0x00000021 
+ 00004432  0x00000c2e disable  0x00000020 
+ 00004433  0x00000c2f pulse  0x0000001e 
+ 00004434  0x00000c30 jam  0x00000005 , 0x00008900 
+ 00004435  0x00000c31 nop  0x00000002 
+ 00004436  0x00000c32 jam  0x00000000 , 0x00008900 
+ 00004437  0x00000c33 call  0x0000115d 
+ 00004438  0x00000c34 jam  0x00000000 , 0x00008a16 
+ 00004439  0x00000c35 jam  0x00000010 , 0x00008a0a 
+ 00004440  0x00000c36 fetch  0x00000001 , 0x00008a09 
+ 00004441  0x00000c37 set0  0x00000007 , 0x0000003f 
+ 00004442  0x00000c38 store  0x00000001 , 0x00008a09 
+ 00004443  0x00000c39 jam  0x00000000 , 0x00008a0b 
+ 00004444  0x00000c3a branch  0x0000129e 
+ 00004445  0x00000c3f bpatch  0x00000083 , 0x00004010 
+ 00004446  0x00000c40 jam  0x00000005 , 0x00008900 
+ 00004447  0x00000c41 nop  0x00000002 
+ 00004448  0x00000c42 jam  0x00000000 , 0x00008900 
+ 00004449  0x00000c43 fetch  0x00000001 , 0x000040c5 
+ 00004450  0x00000c44 beq  0x00000018 , 0x00001164 
+ 00004451  0x00000c45 beq  0x00000008 , 0x00001179 
+ 00004452  0x00000c47 jam  0x000000aa , 0x00008a10 
+ 00004453  0x00000c48 jam  0x000000aa , 0x00008a11 
+ 00004454  0x00000c49 jam  0x00000015 , 0x00008a12 
+ 00004455  0x00000c4b jam  0x00000078 , 0x00008a0a 
+ 00004456  0x00000c4c fetch  0x00000001 , 0x00008a09 
+ 00004457  0x00000c4d set1  0x00000007 , 0x0000003f 
+ 00004458  0x00000c4e store  0x00000001 , 0x00008a09 
+ 00004459  0x00000c4f jam  0x00000004 , 0x00008a0b 
+ 00004460  0x00000c50 nop  0x0000003c 
+ 00004461  0x00000c51 jam  0x0000007a , 0x00008a16 
+ 00004462  0x00000c52 jam  0x00000000 , 0x00008a17 
+ 00004463  0x00000c53 jam  0x00000000 , 0x00008a18 
+ 00004464  0x00000c54 jam  0x00000000 , 0x00008a19 
+ 00004465  0x00000c55 jam  0x00000000 , 0x00008a1a 
+ 00004466  0x00000c57 jam  0x0000002a , 0x00008a11 
+ 00004467  0x00000c58 jam  0x00000078 , 0x00008a0a 
+ 00004468  0x00000c5a fetch  0x00000001 , 0x00008a09 
+ 00004469  0x00000c5b set0  0x00000007 , 0x0000003f 
+ 00004470  0x00000c5c store  0x00000001 , 0x00008a09 
+ 00004471  0x00000c5d jam  0x00000000 , 0x00008a43 
+ 00004472  0x00000c5e rtn 
+ 00004473  0x00000c61 jam  0x000000e6 , 0x00008a8b 
+ 00004474  0x00000c63 jam  0x000000aa , 0x00008a10 
+ 00004475  0x00000c64 jam  0x000000aa , 0x00008a11 
+ 00004476  0x00000c65 jam  0x00000015 , 0x00008a12 
+ 00004477  0x00000c67 jam  0x00000078 , 0x00008a0a 
+ 00004478  0x00000c68 fetch  0x00000001 , 0x00008a09 
+ 00004479  0x00000c69 set1  0x00000007 , 0x0000003f 
+ 00004480  0x00000c6a store  0x00000001 , 0x00008a09 
+ 00004481  0x00000c6b jam  0x00000004 , 0x00008a0b 
+ 00004482  0x00000c6c nop  0x0000003c 
+ 00004483  0x00000c6d jam  0x0000003a , 0x00008a16 
+ 00004484  0x00000c6e jam  0x00000000 , 0x00008a17 
+ 00004485  0x00000c6f jam  0x00000000 , 0x00008a18 
+ 00004486  0x00000c70 jam  0x00000000 , 0x00008a19 
+ 00004487  0x00000c71 jam  0x00000000 , 0x00008a1a 
+ 00004488  0x00000c73 jam  0x0000002a , 0x00008a11 
+ 00004489  0x00000c74 jam  0x00000038 , 0x00008a0a 
+ 00004490  0x00000c75 branch  0x00001174 
+ 00004491  0x00000c78 bpatch  0x00000084 , 0x00004010 
+ 00004492  0x00000c7a fetch  0x00000001 , 0x000040c5 
+ 00004493  0x00000c7b sub  0x0000003f , 0x00000018 , 0x0000003e 
+ 00004494  0x00000c7c call  0x00001196 , 0x00000005 
+ 00004495  0x00000c7d ncall  0x0000119c , 0x00000005 
+ 00004496  0x00000c7f storet  0x00000001 , 0x00000017 
+ 00004497  0x00000c80 add  0x00000002 , 0x00000000 , 0x0000003f 
+ 00004498  0x00000c81 bmark1  0x0000002d , 0x00001194 
+ 00004499  0x00000c82 add  0x00000002 , 0x00000001 , 0x0000003f 
+ 00004500  0x00000c84 call  0x000011c1 
+ 00004501  0x00000c85 branch  0x00001081 
+ 00004502  0x00000c89 jam  0x00000000 , 0x00008a43 
+ 00004503  0x00000c8a jam  0x00000004 , 0x00008a3d 
+ 00004504  0x00000c8b jam  0x00000000 , 0x00008a3e 
+ 00004505  0x00000c8c jam  0x00000003 , 0x00008a84 
+ 00004506  0x00000c8d jam  0x00000040 , 0x00008a89 
+ 00004507  0x00000c8e rtn 
+ 00004508  0x00000c90 jam  0x00000030 , 0x00008a43 
+ 00004509  0x00000c91 jam  0x00000006 , 0x00008a3d 
+ 00004510  0x00000c92 jam  0x00000000 , 0x00008a3e 
+ 00004511  0x00000c93 jam  0x00000020 , 0x00008a84 
+ 00004512  0x00000c94 jam  0x00000015 , 0x00008a89 
+ 00004513  0x00000c95 rtn 
+ 00004514  0x00000c98 bpatch  0x00000085 , 0x00004010 
+ 00004515  0x00000c99 call  0x00004d05 
+ 00004516  0x00000c9b fetch  0x00000001 , 0x000041ea 
+ 00004517  0x00000c9c beq  0x000000ff , 0x000011ab 
+ 00004518  0x00000c9d arg  0x000041eb , 0x00000006 
+ 00004519  0x00000c9e iadd  0x00000006 , 0x00000006 
+ 00004520  0x00000c9f ifetch  0x00000001 , 0x00000006 
+ 00004521  0x00000ca0 store  0x00000001 , 0x00008961 
+ 00004522  0x00000ca1 jam  0x00000027 , 0x00008960 
+ 00004523  0x00000ca4 fetcht  0x00000001 , 0x000041ee 
+ 00004524  0x00000ca5 fetch  0x00000001 , 0x00008960 
+ 00004525  0x00000ca6 ior  0x00000002 , 0x0000003f 
+ 00004526  0x00000ca7 store  0x00000001 , 0x00008960 
+ 00004527  0x00000ca9 jam  0x000000aa , 0x00008a10 
+ 00004528  0x00000caa jam  0x0000002a , 0x00008a11 
+ 00004529  0x00000cab jam  0x00000013 , 0x00008a12 
+ 00004530  0x00000cac jam  0x0000007f , 0x00008a0a 
+ 00004531  0x00000cad fetch  0x00000001 , 0x00008a09 
+ 00004532  0x00000cae set0  0x00000007 , 0x0000003f 
+ 00004533  0x00000caf store  0x00000001 , 0x00008a09 
+ 00004534  0x00000cb0 nop  0x0000003c 
+ 00004535  0x00000cb1 jam  0x0000001f , 0x00008a17 
+ 00004536  0x00000cb2 jam  0x000000f8 , 0x00008a18 
+ 00004537  0x00000cb3 jam  0x00000018 , 0x00008a19 
+ 00004538  0x00000cb4 jam  0x00000000 , 0x00008a10 
+ 00004539  0x00000cb5 jam  0x00000020 , 0x00008a11 
+ 00004540  0x00000cb6 nop  0x0000000a 
+ 00004541  0x00000cb7 jam  0x00000004 , 0x00008900 
+ 00004542  0x00000cb8 nop  0x00000002 
+ 00004543  0x00000cb9 jam  0x0000000c , 0x00008900 
+ 00004544  0x00000cba rtn 
+ 00004545  0x00000cbf bpatch  0x00000086 , 0x00004010 
+ 00004546  0x00000cc0 arg  0x00000960 , 0x00000006 
+ 00004547  0x00000cc1 iadd  0x00000006 , 0x0000003f 
+ 00004548  0x00000cc2 fetcht  0x00000001 , 0x000040c5 
+ 00004549  0x00000cc3 branch  0x000011d0 
+ 00004550  0x00000cc7 bpatch  0x00000087 , 0x00004010 
+ 00004551  0x00000cc8 fetch  0x00000001 , 0x000040c5 
+ 00004552  0x00000cc9 sub  0x0000003f , 0x00000018 , 0x0000003e 
+ 00004553  0x00000cca call  0x000011f3 , 0x00000005 
+ 00004554  0x00000ccb ncall  0x000011fa , 0x00000005 
+ 00004555  0x00000ccd setarg  0x00000960 
+ 00004556  0x00000cce iadd  0x00000011 , 0x0000003f 
+ 00004557  0x00000ccf lshift  0x0000003f , 0x0000003f 
+ 00004558  0x00000cd0 fetcht  0x00000001 , 0x000040c5 
+ 00004559  0x00000cd1 mul32  0x00000002 , 0x00000003 , 0x00000002 
+ 00004560  0x00000cd3 lshift  0x00000002 , 0x00000002 
+ 00004561  0x00000cd4 idiv  0x00000002 
+ 00004562  0x00000cd5 call  0x00007e64 
+ 00004563  0x00000cd6 quotient  0x0000003f 
+ 00004564  0x00000cd7 store  0x00000001 , 0x00008a3f 
+ 00004565  0x00000cd8 remainder  0x0000003f 
+ 00004566  0x00000cd9 lshift16  0x0000003f , 0x0000003f 
+ 00004567  0x00000cda lshift8  0x0000003f , 0x0000003f 
+ 00004568  0x00000cdb idiv  0x00000002 
+ 00004569  0x00000cdc call  0x00007e64 
+ 00004570  0x00000cdd quotient  0x0000003f 
+ 00004571  0x00000cde store  0x00000001 , 0x00008a42 
+ 00004572  0x00000cdf rshift8  0x0000003f , 0x0000003f 
+ 00004573  0x00000ce0 store  0x00000001 , 0x00008a41 
+ 00004574  0x00000ce1 rshift8  0x0000003f , 0x0000003f 
+ 00004575  0x00000ce2 store  0x00000001 , 0x00008a40 
+ 00004576  0x00000ce3 fetcht  0x00000001 , 0x00008a43 
+ 00004577  0x00000ce4 and_into  0x000000f0 , 0x00000002 
+ 00004578  0x00000ce5 storet  0x00000001 , 0x00008a43 
+ 00004579  0x00000ce6 nop  0x0000000c 
+ 00004580  0x00000ce7 fetch  0x00000001 , 0x000040c5 
+ 00004581  0x00000ce8 beq  0x00000018 , 0x000011e7 
+ 00004582  0x00000ce9 beq  0x00000008 , 0x000011ed 
+ 00004583  0x00000ceb or_into  0x0000000c , 0x00000002 
+ 00004584  0x00000cec storet  0x00000001 , 0x00008a43 
+ 00004585  0x00000ced nop  0x0000000c 
+ 00004586  0x00000cee or_into  0x00000003 , 0x00000002 
+ 00004587  0x00000cef storet  0x00000001 , 0x00008a43 
+ 00004588  0x00000cf0 rtn 
+ 00004589  0x00000cf3 or_into  0x0000003c , 0x00000002 
+ 00004590  0x00000cf4 storet  0x00000001 , 0x00008a43 
+ 00004591  0x00000cf5 nop  0x0000000c 
+ 00004592  0x00000cf6 or_into  0x00000033 , 0x00000002 
+ 00004593  0x00000cf7 storet  0x00000001 , 0x00008a43 
+ 00004594  0x00000cf8 rtn 
+ 00004595  0x00000cfc jam  0x00000000 , 0x00008a43 
+ 00004596  0x00000cfd jam  0x00000012 , 0x00008a3d 
+ 00004597  0x00000cfe jam  0x00000000 , 0x00008a3e 
+ 00004598  0x00000cff jam  0x00000003 , 0x00008a84 
+ 00004599  0x00000d00 jam  0x000000a6 , 0x00008a8b 
+ 00004600  0x00000d01 jam  0x00000040 , 0x00008a89 
+ 00004601  0x00000d02 rtn 
+ 00004602  0x00000d05 jam  0x00000030 , 0x00008a43 
+ 00004603  0x00000d06 jam  0x00000015 , 0x00008a3d 
+ 00004604  0x00000d07 jam  0x00000000 , 0x00008a3e 
+ 00004605  0x00000d08 jam  0x00000020 , 0x00008a84 
+ 00004606  0x00000d09 jam  0x000000a6 , 0x00008a8b 
+ 00004607  0x00000d0a jam  0x00000015 , 0x00008a89 
+ 00004608  0x00000d0b rtn 
+ 00004609  0x00000d0f bpatch  0x00000088 , 0x00004011 
+ 00004610  0x00000d11 jam  0x00000012 , 0x00008a3d 
+ 00004611  0x00000d12 storet  0x00000001 , 0x00000017 
+ 00004612  0x00000d13 add  0x00000002 , 0x00000002 , 0x00000011 
+ 00004613  0x00000d14 call  0x000011c6 
+ 00004614  0x00000d15 nop  0x000003c0 
+ 00004615  0x00000d18 bpatch  0x00000089 , 0x00004011 
+ 00004616  0x00000d1a jam  0x000000aa , 0x00008a10 
+ 00004617  0x00000d1b jam  0x0000002a , 0x00008a11 
+ 00004618  0x00000d1c jam  0x00000010 , 0x00008a12 
+ 00004619  0x00000d1e jam  0x0000007f , 0x00008a0a 
+ 00004620  0x00000d1f fetch  0x00000001 , 0x00008a09 
+ 00004621  0x00000d20 set0  0x00000007 , 0x0000003f 
+ 00004622  0x00000d21 store  0x00000001 , 0x00008a09 
+ 00004623  0x00000d22 jam  0x00000007 , 0x00008a0b 
+ 00004624  0x00000d23 nop  0x0000003c 
+ 00004625  0x00000d25 jam  0x0000000d , 0x00008a19 
+ 00004626  0x00000d26 jam  0x000000f9 , 0x00008a1a 
+ 00004627  0x00000d27 jam  0x00000000 , 0x00008a10 
+ 00004628  0x00000d28 jam  0x00000020 , 0x00008a11 
+ 00004629  0x00000d29 nop  0x0000000a 
+ 00004630  0x00000d2a jam  0x00000001 , 0x00008900 
+ 00004631  0x00000d2b nop  0x00000002 
+ 00004632  0x00000d2c jam  0x00000003 , 0x00008900 
+ 00004633  0x00000d2e bpatch  0x0000008a , 0x00004011 
+ 00004634  0x00000d2f fetch  0x00000001 , 0x000041e8 
+ 00004635  0x00000d30 beq  0x00000003 , 0x00001229 
+ 00004636  0x00000d31 beq  0x00000005 , 0x0000122e 
+ 00004637  0x00000d32 beq  0x00000006 , 0x00001231 
+ 00004638  0x00000d33 beq  0x00000007 , 0x00001234 
+ 00004639  0x00000d34 beq  0x0000000a , 0x00001237 
+ 00004640  0x00000d35 beq  0x00000083 , 0x0000123a 
+ 00004641  0x00000d36 beq  0x00000085 , 0x0000123d 
+ 00004642  0x00000d37 beq  0x00000094 , 0x00001240 
+ 00004643  0x00000d38 beq  0x0000009e , 0x00001243 
+ 00004644  0x00000d3a jam  0x0000006a , 0x00008a39 
+ 00004645  0x00000d3b jam  0x00000007 , 0x00008a3a 
+ 00004646  0x00000d3d jam  0x000000a3 , 0x00008a14 
+ 00004647  0x00000d3e jam  0x00000007 , 0x00008a15 
+ 00004648  0x00000d3f rtn 
+ 00004649  0x00000d42 jam  0x00000066 , 0x00008a39 
+ 00004650  0x00000d43 jam  0x0000000b , 0x00008a3a 
+ 00004651  0x00000d45 jam  0x000000aa , 0x00008a14 
+ 00004652  0x00000d46 jam  0x0000000a , 0x00008a15 
+ 00004653  0x00000d47 rtn 
+ 00004654  0x00000d4a jam  0x0000006c , 0x00008a39 
+ 00004655  0x00000d4b jam  0x0000000d , 0x00008a3a 
+ 00004656  0x00000d4c branch  0x0000122b 
+ 00004657  0x00000d4f jam  0x0000006b , 0x00008a39 
+ 00004658  0x00000d50 jam  0x0000000f , 0x00008a3a 
+ 00004659  0x00000d51 branch  0x0000122b 
+ 00004660  0x00000d54 jam  0x000000a7 , 0x00008a39 
+ 00004661  0x00000d55 jam  0x0000000f , 0x00008a3a 
+ 00004662  0x00000d56 branch  0x0000122b 
+ 00004663  0x00000d59 jam  0x000000b6 , 0x00008a39 
+ 00004664  0x00000d5a jam  0x0000000f , 0x00008a3a 
+ 00004665  0x00000d5b branch  0x0000122b 
+ 00004666  0x00000d5e jam  0x00000068 , 0x00008a39 
+ 00004667  0x00000d5f jam  0x00000005 , 0x00008a3a 
+ 00004668  0x00000d60 branch  0x00001226 
+ 00004669  0x00000d63 jam  0x00000060 , 0x00008a39 
+ 00004670  0x00000d64 jam  0x00000005 , 0x00008a3a 
+ 00004671  0x00000d65 branch  0x00001226 
+ 00004672  0x00000d68 jam  0x00000053 , 0x00008a39 
+ 00004673  0x00000d69 jam  0x00000001 , 0x00008a3a 
+ 00004674  0x00000d6a branch  0x00001226 
+ 00004675  0x00000d6d jam  0x0000004c , 0x00008a39 
+ 00004676  0x00000d6e jam  0x00000000 , 0x00008a3a 
+ 00004677  0x00000d6f branch  0x00001226 
+ 00004678  0x00000d73 jam  0x00000006 , 0x00008042 
+ 00004679  0x00000d75 fetch  0x00000002 , 0x000040ca 
+ 00004680  0x00000d76 bbit0  0x0000000e , 0x00001247 
+ 00004681  0x00000d77 iforce  0x00000006 
+ 00004682  0x00000d78 arg  0x00008a00 , 0x00000002 
+ 00004683  0x00000d7a ifetch  0x00000001 , 0x00000006 
+ 00004684  0x00000d7b beq  0x000000ff , 0x00001251 
+ 00004685  0x00000d7c ior  0x00000002 , 0x00000005 
+ 00004686  0x00000d7d ifetch  0x00000001 , 0x00000006 
+ 00004687  0x00000d7e istore  0x00000001 , 0x00000005 
+ 00004688  0x00000d7f branch  0x0000124b 
+ 00004689  0x00000d82 bpatch  0x0000008b , 0x00004011 
+ 00004690  0x00000d83 jam  0x00000005 , 0x00008a03 
+ 00004691  0x00000d84 jam  0x00000094 , 0x00008a7a 
+ 00004692  0x00000d85 call  0x00001279 
+ 00004693  0x00000d86 call  0x00001273 
+ 00004694  0x00000d87 call  0x0000126c 
+ 00004695  0x00000d88 jam  0x000000e6 , 0x00008a8b 
+ 00004696  0x00000d8b jam  0x00000090 , 0x00008a83 
+ 00004697  0x00000d8c jam  0x0000000b , 0x00008a0e 
+ 00004698  0x00000d8d jam  0x00000005 , 0x00008a0f 
+ 00004699  0x00000d90 jam  0x00000076 , 0x00008968 
+ 00004700  0x00000d91 jam  0x00000076 , 0x00008969 
+ 00004701  0x00000d93 fetch  0x00000001 , 0x000040c5 
+ 00004702  0x00000d94 bne  0x00000008 , 0x00001260 
+ 00004703  0x00000d95 jam  0x00000034 , 0x00008a08 
+ 00004704  0x00000d97 jam  0x000000ff , 0x00008a01 
+ 00004705  0x00000d98 nop  0x00000064 
+ 00004706  0x00000d99 jam  0x0000000e , 0x00008a02 
+ 00004707  0x00000d9a jam  0x00000003 , 0x00008a00 
+ 00004708  0x00000d9c call  0x00001224 
+ 00004709  0x00000d9e jam  0x0000002b , 0x00008a9a 
+ 00004710  0x00000d9f jam  0x00000013 , 0x00008a9b 
+ 00004711  0x00000da1 call  0x000012d3 
+ 00004712  0x00000da2 nop  0x0000000a 
+ 00004713  0x00000da3 jam  0x00000005 , 0x00008042 
+ 00004714  0x00000da4 jam  0x0000000c , 0x000041f0 
+ 00004715  0x00000da5 branch  0x0000165e 
+ 00004716  0x00000da9 fetch  0x00000001 , 0x000044d3 
+ 00004717  0x00000daa branch  0x00001271 , 0x00000034 
+ 00004718  0x00000dab or_into  0x00000020 , 0x0000003f 
+ 00004719  0x00000dac store  0x00000001 , 0x00008a87 
+ 00004720  0x00000dad rtn 
+ 00004721  0x00000daf jam  0x00000029 , 0x00008a87 
+ 00004722  0x00000db0 rtn 
+ 00004723  0x00000db3 fetch  0x00000001 , 0x000044d4 
+ 00004724  0x00000db4 branch  0x00001277 , 0x00000034 
+ 00004725  0x00000db5 store  0x00000001 , 0x00008a0d 
+ 00004726  0x00000db6 rtn 
+ 00004727  0x00000db8 jam  0x00000000 , 0x00008a0d 
+ 00004728  0x00000db9 rtn 
+ 00004729  0x00000dbc fetch  0x00000001 , 0x000044d5 
+ 00004730  0x00000dbd branch  0x0000127d , 0x00000034 
+ 00004731  0x00000dbe store  0x00000001 , 0x00008a6c 
+ 00004732  0x00000dbf rtn 
+ 00004733  0x00000dc1 jam  0x000000d3 , 0x00008a6c 
+ 00004734  0x00000dc2 rtn 
+ 00004735  0x00000dc9 bpatch  0x0000008c , 0x00004011 
+ 00004736  0x00000dca jam  0x00000020 , 0x00000154 
+ 00004737  0x00000dcb fetch  0x00000001 , 0x000089a0 
+ 00004738  0x00000dcc store  0x00000001 , 0x000041e9 
+ 00004739  0x00000dcd sub  0x0000003f , 0x000000fc , 0x0000003e 
+ 00004740  0x00000dce nrtn  0x00000002 
+ 00004741  0x00000dcf sub  0x0000003f , 0x0000007f , 0x0000003e 
+ 00004742  0x00000dd0 rtn  0x00000002 
+ 00004743  0x00000dd2 fetch  0x00000001 , 0x000089a3 
+ 00004744  0x00000dd3 and  0x0000003f , 0x0000000f , 0x00000002 
+ 00004745  0x00000dd4 lshift  0x00000002 , 0x00000002 
+ 00004746  0x00000dd5 rshift4  0x0000003f , 0x0000003f 
+ 00004747  0x00000dd6 iadd  0x00000002 , 0x00000002 
+ 00004748  0x00000dd7 mul32  0x00000002 , 0x00000003 , 0x00000002 
+ 00004749  0x00000dd8 fetch  0x00000001 , 0x000041e9 
+ 00004750  0x00000dd9 sub  0x0000003f , 0x000000ff , 0x0000003f 
+ 00004751  0x00000dda iadd  0x00000002 , 0x0000003f 
+ 00004752  0x00000ddb increase  0xfffffffb , 0x0000003f 
+ 00004753  0x00000ddc store  0x00000001 , 0x00000154 
+ 00004754  0x00000ddd rtn 
+ 00004755  0x00000de0 fetch  0x00000001 , 0x00000154 
+ 00004756  0x00000de1 call  0x00001297 
+ 00004757  0x00000de2 store  0x00000001 , 0x00000018 
+ 00004758  0x00000de3 rtn 
+ 00004759  0x00000de6 and_into  0x000000ff , 0x0000003f 
+ 00004760  0x00000de7 div  0x0000003f , 0x0000000a 
+ 00004761  0x00000de8 call  0x00007e61 
+ 00004762  0x00000de9 lshift4  0x0000003f , 0x0000003f 
+ 00004763  0x00000dea remainder  0x00000002 
+ 00004764  0x00000deb ior  0x00000002 , 0x0000003f 
+ 00004765  0x00000dec rtn 
+ 00004766  0x00000def fetch  0x00000001 , 0x000041ea 
+ 00004767  0x00000df0 rtneq  0x000000ff 
+ 00004768  0x00000df1 nbranch  0x000012c4 , 0x00000018 
+ 00004769  0x00000df2 fetch  0x00000001 , 0x000041e9 
+ 00004770  0x00000df3 sub  0x0000003f , 0x000000f0 , 0x0000003e 
+ 00004771  0x00000df4 nbranch  0x000012c8 , 0x00000002 
+ 00004772  0x00000df5 sub  0x0000003f , 0x0000007f , 0x0000003e 
+ 00004773  0x00000df6 branch  0x000012c8 , 0x00000002 
+ 00004774  0x00000df8 fetchr  0x00000011 , 0x00000001 , 0x00008961 
+ 00004775  0x00000df9 fetch  0x00000001 , 0x000041ea 
+ 00004776  0x00000dfa rtneq  0x00000000 
+ 00004777  0x00000dfb arg  0x000041eb , 0x00000006 
+ 00004778  0x00000dfc iadd  0x00000006 , 0x00000006 
+ 00004779  0x00000dfd ifetch  0x00000001 , 0x00000006 
+ 00004780  0x00000dfe isub  0x00000011 , 0x0000003e 
+ 00004781  0x00000dff nrtn  0x00000005 
+ 00004782  0x00000e00 increase  0xfffffffe , 0x00000006 
+ 00004783  0x00000e01 ifetcht  0x00000001 , 0x00000006 
+ 00004784  0x00000e02 rshift4  0x00000002 , 0x0000003f 
+ 00004785  0x00000e03 rshift4  0x00000011 , 0x00000012 
+ 00004786  0x00000e04 isub  0x00000012 , 0x00000012 
+ 00004787  0x00000e05 and  0x00000002 , 0x0000000f , 0x0000003f 
+ 00004788  0x00000e06 and  0x00000011 , 0x0000000f , 0x00000011 
+ 00004789  0x00000e07 isub  0x00000011 , 0x00000011 
+ 00004790  0x00000e08 lshift  0x00000011 , 0x0000003f 
+ 00004791  0x00000e09 iadd  0x00000012 , 0x00000012 
+ 00004792  0x00000e0a mul32  0x00000012 , 0x00000003 , 0x00000012 
+ 00004793  0x00000e0b fetcht  0x00000001 , 0x000041e9 
+ 00004794  0x00000e0c and  0x00000002 , 0x00000080 , 0x0000003f 
+ 00004795  0x00000e0d rtn  0x00000034 
+ 00004796  0x00000e0f setarg  0x00000100 
+ 00004797  0x00000e10 isub  0x00000002 , 0x00000002 
+ 00004798  0x00000e11 copy  0x00000012 , 0x0000003f 
+ 00004799  0x00000e12 isub  0x00000002 , 0x0000003f 
+ 00004800  0x00000e13 rtn  0x00000002 
+ 00004801  0x00000e14 and  0x0000003f , 0x000000ff , 0x0000003f 
+ 00004802  0x00000e15 rtneq  0x000000ff 
+ 00004803  0x00000e16 rtneq  0x000000fe 
+ 00004804  0x00000e19 fetch  0x00000001 , 0x000041ea 
+ 00004805  0x00000e1a beq  0x00000001 , 0x000012cd 
+ 00004806  0x00000e1b beq  0x00000002 , 0x000012cf 
+ 00004807  0x00000e1d branch  0x000012cd 
+ 00004808  0x00000e20 fetch  0x00000001 , 0x000041ea 
+ 00004809  0x00000e21 beq  0x00000000 , 0x000012cf 
+ 00004810  0x00000e22 beq  0x00000001 , 0x000012cb 
+ 00004811  0x00000e25 jam  0x00000002 , 0x000041ea 
+ 00004812  0x00000e26 rtn 
+ 00004813  0x00000e29 jam  0x00000000 , 0x000041ea 
+ 00004814  0x00000e2a rtn 
+ 00004815  0x00000e2d jam  0x00000001 , 0x000041ea 
+ 00004816  0x00000e2e rtn 
+ 00004817  0x00000e32 setarg  0x00000f0f 
+ 00004818  0x00000e33 branch  0x00001543 
+ 00004819  0x00000e36 setarg  0x0000080f 
+ 00004820  0x00000e37 branch  0x00001543 
+ 00004821  0x00000e3c bpatch  0x0000008d , 0x00004011 
+ 00004822  0x00000e3d disable  0x00000020 
+ 00004823  0x00000e3e enable  0x00000021 
+ 00004824  0x00000e3f pulse  0x00000016 
+ 00004825  0x00000e40 branch  0x000011a2 
+ 00004826  0x00000e43 bpatch  0x0000008e , 0x00004011 
+ 00004827  0x00000e44 call  0x00000ddd 
+ 00004828  0x00000e45 nbranch  0x000012ea , 0x00000034 
+ 00004829  0x00000e46 fetch  0x00000001 , 0x0000004c 
+ 00004830  0x00000e47 isolate1  0x00000002 , 0x0000003f 
+ 00004831  0x00000e48 setflag  0x00000001 , 0x00000000 , 0x0000003f 
+ 00004832  0x00000e49 store  0x00000001 , 0x00008011 
+ 00004833  0x00000e4a arg  0x00000062 , 0x00000006 
+ 00004834  0x00000e4b ifetch  0x00000009 , 0x00000006 
+ 00004835  0x00000e4c iforce  0x00000032 
+ 00004836  0x00000e4d ifetch  0x00000007 , 0x00000006 
+ 00004837  0x00000e4e iforce  0x00000033 
+ 00004838  0x00000e4f fetch  0x00000001 , 0x00000054 
+ 00004839  0x00000e50 add  0x0000003f , 0xffffffff , 0x00000034 
+ 00004840  0x00000e51 pulse  0x0000001a 
+ 00004841  0x00000e52 rtn 
+ 00004842  0x00000e55 jam  0x00000000 , 0x00008011 
+ 00004843  0x00000e56 rtn 
+ 00004844  0x00000e59 deposit  0x0000001a 
+ 00004845  0x00000e5a store  0x00000006 , 0x00000097 
+ 00004846  0x00000e5b disable  0x0000000d 
+ 00004847  0x00000e5c nbranch  0x0000114b , 0x00000018 
+ 00004848  0x00000e5d fetch  0x00000002 , 0x0000015b 
+ 00004849  0x00000e5e copy  0x0000003f , 0x00000029 
+ 00004850  0x00000e5f increase  0x00000001 , 0x00000028 
+ 00004851  0x00000e60 and_into  0x000001fc , 0x00000028 
+ 00004852  0x00000e61 rtn 
+ 00004853  0x00000e66 enable  0x0000000d 
+ 00004854  0x00000e68 correlate  0x0000003e , 0x00000017 
+ 00004855  0x00000e69 branch  0x000012ec , 0x00000018 
+ 00004856  0x00000e6a compare  0x00000002 , 0x00000028 , 0x00000002 
+ 00004857  0x00000e6b nbranch  0x000012f6 , 0x00000001 
+ 00004858  0x00000e6c branch  0x000012ec 
+ 00004859  0x00000e6f bpatch  0x0000008f , 0x00004011 
+ 00004860  0x00000e70 fetchr  0x0000000b , 0x00000002 , 0x00000159 
+ 00004861  0x00000e71 enable  0x0000000d 
+ 00004862  0x00000e72 correlate  0x00000023 , 0x00000026 
+ 00004863  0x00000e73 disable  0x0000000d 
+ 00004864  0x00000e74 nbranch  0x0000114b , 0x00000018 
+ 00004865  0x00000e75 rtn 
+ 00004866  0x00000e78 bpatch  0x00000090 , 0x00004012 
+ 00004867  0x00000e79 enable  0x0000000d 
+ 00004868  0x00000e7a correlate  0x0000003e , 0x00000003 
+ 00004869  0x00000e7b disable  0x0000000d 
+ 00004870  0x00000e7c nbranch  0x0000114b , 0x00000018 
+ 00004871  0x00000e7d fetch  0x00000002 , 0x0000015b 
+ 00004872  0x00000e7e copy  0x0000003f , 0x00000029 
+ 00004873  0x00000e7f and_into  0x000001fc , 0x00000028 
+ 00004874  0x00000e80 rtn 
+ 00004875  0x00000e84 bpatch  0x00000091 , 0x00004012 
+ 00004876  0x00000e85 iforce  0x00000011 
+ 00004877  0x00000e86 deposit  0x00000021 
+ 00004878  0x00000e87 iadd  0x00000002 , 0x0000000b 
+ 00004879  0x00000e88 copy  0x0000000b , 0x0000003f 
+ 00004880  0x00000e89 store  0x00000004 , 0x000040d1 
+ 00004881  0x00000e8a deposit  0x00000011 
+ 00004882  0x00000e8b rtn 
+ 00004883  0x00000e8f copy  0x0000003f , 0x00000002 
+ 00004884  0x00000e90 bpatch  0x00000092 , 0x00004012 
+ 00004885  0x00000e91 copy  0x00000002 , 0x0000003f 
+ 00004886  0x00000e92 call  0x00007e26 
+ 00004887  0x00000e93 lshift16  0x00000021 , 0x0000003f 
+ 00004888  0x00000e94 set1  0x0000002c , 0x0000003f 
+ 00004889  0x00000e95 call  0x00007e0c 
+ 00004890  0x00000e96 set0  0x0000002c , 0x0000003f 
+ 00004891  0x00000e97 call  0x00001367 
+ 00004892  0x00000e98 call  0x00007e0c 
+ 00004893  0x00000e99 rtn  0x00000028 
+ 00004894  0x00000e9a call  0x00007e19 
+ 00004895  0x00000e9b iforce  0x0000001b 
+ 00004896  0x00000e9c until  0x0000003e , 0x00000003 
+ 00004897  0x00000e9d rtn 
+ 00004898  0x00000ea1 bpatch  0x00000093 , 0x00004012 
+ 00004899  0x00000ea2 branch  0x00001327 , 0x00000030 
+ 00004900  0x00000ea3 until  0x00000029 , 0x00000026 
+ 00004901  0x00000ea5 copy  0x00000028 , 0x00000002 
+ 00004902  0x00000ea6 branch  0x0000132a 
+ 00004903  0x00000ea8 branch  0x00001329 , 0x0000002e 
+ 00004904  0x00000ea9 until  0x00000023 , 0x00000026 
+ 00004905  0x00000eab copy  0x00000022 , 0x00000002 
+ 00004906  0x00000ead branch  0x00001336 , 0x00000028 
+ 00004907  0x00000eae compare  0x00000001 , 0x00000002 , 0x00000003 
+ 00004908  0x00000eaf nbranch  0x00001322 , 0x00000001 
+ 00004909  0x00000eb1 bpatch  0x00000094 , 0x00004012 
+ 00004910  0x00000eb2 fetch  0x00000001 , 0x00000030 
+ 00004911  0x00000eb3 rtnbit0  0x00000000 
+ 00004912  0x00000eb4 fetch  0x00000004 , 0x000040d1 
+ 00004913  0x00000eb5 isub  0x00000002 , 0x0000003f 
+ 00004914  0x00000eb6 nrtn  0x00000002 
+ 00004915  0x00000eb7 sub  0x0000003f , 0x000000ff , 0x0000003e 
+ 00004916  0x00000eb8 branch  0x00001322 , 0x00000002 
+ 00004917  0x00000eb9 rtn 
+ 00004918  0x00000ebb compare  0x00000003 , 0x00000002 , 0x00000003 
+ 00004919  0x00000ebc nbranch  0x00001322 , 0x00000001 
+ 00004920  0x00000ebd branch  0x0000132d 
+ 00004921  0x00000ec0 bpatch  0x00000095 , 0x00004012 
+ 00004922  0x00000ec1 fetchr  0x0000000b , 0x00000002 , 0x00000157 
+ 00004923  0x00000ec2 branch  0x00001322 
+ 00004924  0x00000ec5 disable  0x00000028 
+ 00004925  0x00000ec6 branch  0x00001339 
+ 00004926  0x00000ec9 enable  0x00000028 
+ 00004927  0x00000eca branch  0x00001339 
+ 00004928  0x00000ecd bpatch  0x00000096 , 0x00004012 
+ 00004929  0x00000ece call  0x000012da 
+ 00004930  0x00000ecf disable  0x00000021 
+ 00004931  0x00000ed0 enable  0x00000020 
+ 00004932  0x00000ed1 rtn 
+ 00004933  0x00000ed6 bpatch  0x00000097 , 0x00004012 
+ 00004934  0x00000ed7 fetchr  0x0000000b , 0x00000002 , 0x00000155 
+ 00004935  0x00000ed8 until  0x00000023 , 0x00000026 
+ 00004936  0x00000ed9 pulse  0x00000016 
+ 00004937  0x00000eda rtn 
+ 00004938  0x00000edd bpatch  0x00000098 , 0x00004013 
+ 00004939  0x00000ede fetchr  0x0000000b , 0x00000002 , 0x0000015f 
+ 00004940  0x00000edf until  0x00000023 , 0x00000026 
+ 00004941  0x00000ee0 rtn 
+ 00004942  0x00000ee4 bpatch  0x00000099 , 0x00004013 
+ 00004943  0x00000ee5 fetchr  0x0000000b , 0x00000002 , 0x00000155 
+ 00004944  0x00000ee6 until  0x00000029 , 0x00000026 
+ 00004945  0x00000ee7 pulse  0x00000016 
+ 00004946  0x00000ee8 rtn 
+ 00004947  0x00000eeb bpatch  0x0000009a , 0x00004013 
+ 00004948  0x00000eec call  0x00004d13 
+ 00004949  0x00000eed preload  0x00000009 
+ 00004950  0x00000eee enable  0x0000001d 
+ 00004951  0x00000eef set1  0x00000000 , 0x00000015 
+ 00004952  0x00000ef0 inject  0x00000003 , 0x00000048 
+ 00004953  0x00000ef1 disable  0x0000001d 
+ 00004954  0x00000ef2 rtn 
+ 00004955  0x00000ef6 copy  0x00000025 , 0x00000002 
+ 00004956  0x00000ef7 or_into  0x00000060 , 0x00000002 
+ 00004957  0x00000ef8 copy  0x00000002 , 0x0000000e 
+ 00004958  0x00000ef9 rtn 
+ 00004959  0x00000eff bpatch  0x0000009b , 0x00004013 
+ 00004960  0x00000f00 fetch  0x00000001 , 0x00004098 
+ 00004961  0x00000f01 increase  0x00000001 , 0x0000003f 
+ 00004962  0x00000f02 bne  0x00000007 , 0x00001364 
+ 00004963  0x00000f03 force  0x00000001 , 0x0000003f 
+ 00004964  0x00000f05 store  0x00000001 , 0x00004098 
+ 00004965  0x00000f06 iforce  0x00000004 
+ 00004966  0x00000f07 rtn 
+ 00004967  0x00000f0a copy  0x00000019 , 0x00000002 
+ 00004968  0x00000f0b rtn  0x00000029 
+ 00004969  0x00000f0c copy  0x0000001a , 0x00000002 
+ 00004970  0x00000f0d rtn 
+ 00004971  0x00000f10 deposit  0x00000022 
+ 00004972  0x00000f11 rtn  0x00000029 
+ 00004973  0x00000f12 deposit  0x00000028 
+ 00004974  0x00000f13 rtn 
+ 00004975  0x00000f17 bpatch  0x0000009c , 0x00004013 
+ 00004976  0x00000f18 fetcht  0x00000004 , 0x0000004d 
+ 00004977  0x00000f19 call  0x0000136b 
+ 00004978  0x00000f1a isub  0x00000002 , 0x0000000b 
+ 00004979  0x00000f1b deposit  0x0000000b 
+ 00004980  0x00000f1c fetcht  0x00000002 , 0x00000051 
+ 00004981  0x00000f1d lshift  0x00000002 , 0x00000002 
+ 00004982  0x00000f1e isub  0x00000002 , 0x0000003f 
+ 00004983  0x00000f1f rtn 
+ 00004984  0x00000f22 bpatch  0x0000009d , 0x00004013 
+ 00004985  0x00000f23 call  0x0000136b 
+ 00004986  0x00000f24 store  0x00000004 , 0x0000004d 
+ 00004987  0x00000f25 rtn 
+ 00004988  0x00000f28 bpatch  0x0000009e , 0x00004013 
+ 00004989  0x00000f29 branch  0x0000137c 
+ 00004990  0x00000f2c branch  0x0000137e 
+ 00004991  0x00000f2f rtn  0x00000034 
+ 00004992  0x00000f31 rshift  0x0000003f , 0x0000003f 
+ 00004993  0x00000f32 increase  0xfffffffd , 0x0000003f 
+ 00004994  0x00000f34 increase  0xffffffff , 0x0000003f 
+ 00004995  0x00000f35 nbranch  0x00001382 , 0x00000005 
+ 00004996  0x00000f36 force  0x00000000 , 0x0000003f 
+ 00004997  0x00000f37 rtn 
+ 00004998  0x00000f3d arg  0x00000010 , 0x00000039 
+ 00004999  0x00000f3e arg  0x00000000 , 0x00000005 
+ 00005000  0x00000f3f call  0x00007d8c 
+ 00005001  0x00000f40 arg  0x00000287 , 0x00000005 
+ 00005002  0x00000f41 arg  0x0000000a , 0x00000039 
+ 00005003  0x00000f42 call  0x00007d8c 
+ 00005004  0x00000f43 jam  0x00000000 , 0x00000874 
+ 00005005  0x00000f44 jam  0x00000000 , 0x0000095b 
+ 00005006  0x00000f45 jam  0x00000000 , 0x000002df 
+ 00005007  0x00000f46 jam  0x00000000 , 0x000000e3 
+ 00005008  0x00000f47 jam  0x00000000 , 0x000003a5 
+ 00005009  0x00000f48 jam  0x00000000 , 0x000000bc 
+ 00005010  0x00000f49 jam  0x00000000 , 0x00000a51 
+ 00005011  0x00000f4a jam  0x00000000 , 0x00000a5c 
+ 00005012  0x00000f4b setarg  0x009e8b33 
+ 00005013  0x00000f4c store  0x00000003 , 0x000040af 
+ 00005014  0x00000f4d jam  0x00000060 , 0x0000008d 
+ 00005015  0x00000f4e jam  0x00000005 , 0x000040d7 
+ 00005016  0x00000f4f jam  0x00000002 , 0x00000014 
+ 00005017  0x00000f51 setarg  0x00000e43 
+ 00005018  0x00000f52 store  0x00000002 , 0x00000155 
+ 00005019  0x00000f53 setarg  0x00000600 
+ 00005020  0x00000f54 store  0x00000002 , 0x00000157 
+ 00005021  0x00000f55 setarg  0x00000600 
+ 00005022  0x00000f56 store  0x00000002 , 0x00000159 
+ 00005023  0x00000f57 setarg  0x00000d00 
+ 00005024  0x00000f58 store  0x00000002 , 0x0000015f 
+ 00005025  0x00000f59 setarg  0x000003bb 
+ 00005026  0x00000f5a store  0x00000002 , 0x0000015b 
+ 00005027  0x00000f5b setarg  0x00000500 
+ 00005028  0x00000f5c store  0x00000002 , 0x0000015d 
+ 00005029  0x00000f5d setarg  0x000007d0 
+ 00005030  0x00000f5e store  0x00000002 , 0x00000161 
+ 00005031  0x00000f5f setarg  0x00000ea6 
+ 00005032  0x00000f60 store  0x00000002 , 0x00000163 
+ 00005033  0x00000f61 setarg  0x000001e0 
+ 00005034  0x00000f62 store  0x00000002 , 0x00000165 
+ 00005035  0x00000f63 setarg  0x00000120 
+ 00005036  0x00000f64 store  0x00000002 , 0x00000167 
+ 00005037  0x00000f65 setarg  0x0000011a 
+ 00005038  0x00000f66 store  0x00000002 , 0x00000169 
+ 00005039  0x00000f67 setarg  0x00001400 
+ 00005040  0x00000f68 store  0x00000002 , 0x000043de 
+ 00005041  0x00000f69 setarg  0x00000100 
+ 00005042  0x00000f6a store  0x00000002 , 0x000043e0 
+ 00005043  0x00000f6c call  0x00006e66 
+ 00005044  0x00000f6d setarg  0x00000880 
+ 00005045  0x00000f6e arg  0x00000870 , 0x00000005 
+ 00005046  0x00000f6f isub  0x00000005 , 0x00000039 
+ 00005047  0x00000f70 call  0x00007d9b 
+ 00005048  0x00000f72 bpatch  0x0000009f , 0x00004013 
+ 00005049  0x00000f73 rtn  0x0000002b 
+ 00005050  0x00000f74 jam  0x00000009 , 0x000045fa 
+ 00005051  0x00000f75 setarg  0x0000050e 
+ 00005052  0x00000f76 store  0x00000002 , 0x000045fb 
+ 00005053  0x00000f77 setarg  0x00000008 
+ 00005054  0x00000f78 store  0x00000002 , 0x000045fd 
+ 00005055  0x00000f79 jam  0x0000007f , 0x000044d1 
+ 00005056  0x00000f7b setarg  0x00000024 
+ 00005057  0x00000f7c store  0x00000002 , 0x000040b5 
+ 00005058  0x00000f7d store  0x00000002 , 0x000040b9 
+ 00005059  0x00000f7e setarg  0x00000200 
+ 00005060  0x00000f7f store  0x00000002 , 0x000040b7 
+ 00005061  0x00000f80 store  0x00000002 , 0x000040bb 
+ 00005062  0x00000f81 setarg  0x00000020 
+ 00005063  0x00000f82 store  0x00000002 , 0x000040c3 
+ 00005064  0x00000f83 store  0x00000002 , 0x000040bf 
+ 00005065  0x00000f84 setarg  0x00002000 
+ 00005066  0x00000f85 store  0x00000002 , 0x000040c1 
+ 00005067  0x00000f86 setarg  0x00000480 
+ 00005068  0x00000f87 store  0x00000002 , 0x000040c6 
+ 00005069  0x00000f88 setarg  0x00000c00 
+ 00005070  0x00000f89 store  0x00000002 , 0x000040c8 
+ 00005071  0x00000f8b setarg  0x00000c3f 
+ 00005072  0x00000f8c store  0x00000002 , 0x0000417e 
+ 00005073  0x00000f8d setarg  0x00000333 
+ 00005074  0x00000f8e istore  0x00000002 , 0x00000005 
+ 00005075  0x00000f8f setarg  0x0024109d 
+ 00005076  0x00000f90 store  0x00000003 , 0x00004183 
+ 00005077  0x00000f92 call  0x00007f52 
+ 00005078  0x00000f93 setarg  0x00000000 
+ 00005079  0x00000f94 store  0x00000002 , 0x000041e6 
+ 00005080  0x00000f95 rshift  0x00000022 , 0x0000003f 
+ 00005081  0x00000f96 store  0x00000004 , 0x0000409c 
+ 00005082  0x00000f97 rtn 
+ 00005083  0x00000f9a jam  0x00000006 , 0x00008042 
+ 00005084  0x00000f9b jam  0x00000001 , 0x00008042 
+ 00005085  0x00000f9c nop  0x0000000a 
+ 00005086  0x00000f9d setarg  0x00001d4a 
+ 00005087  0x00000f9e store  0x00000002 , 0x00008040 
+ 00005088  0x00000f9f rtn 
+ 00005089  0x00000fa6 setarg  0x0000ee21 
+ 00005090  0x00000fa7 store  0x00000002 , 0x00008050 
+ 00005091  0x00000fa8 fetch  0x00000004 , 0x0000811c 
+ 00005092  0x00000fa9 store  0x00000004 , 0x0000098a 
+ 00005093  0x00000faa fetch  0x00000001 , 0x0000813b 
+ 00005094  0x00000fab store  0x00000001 , 0x00000989 
+ 00005095  0x00000fac fetch  0x00000001 , 0x0000813e 
+ 00005096  0x00000fad bbit0  0x00000003 , 0x00005bf5 
+ 00005097  0x00000fae enable  0x0000002b 
+ 00005098  0x00000faf bbit0  0x00000007 , 0x000013f2 
+ 00005099  0x00000fb0 disable  0x0000002b 
+ 00005100  0x00000fb1 deposit  0x00000027 
+ 00005101  0x00000fb2 nbranch  0x000013f2 , 0x00000034 
+ 00005102  0x00000fb3 fetch  0x00000001 , 0x0000813b 
+ 00005103  0x00000fb4 bbit1  0x00000002 , 0x000013f2 
+ 00005104  0x00000fb5 arg  0xffffffff , 0x00000002 
+ 00005105  0x00000fb6 branch  0x0000147f 
+ 00005106  0x00000fb8 fetch  0x00000004 , 0x00008134 
+ 00005107  0x00000fb9 store  0x00000004 , 0x0000804c 
+ 00005108  0x00000fba fetch  0x00000001 , 0x00008135 
+ 00005109  0x00000fbb and_into  0x000000e0 , 0x0000003f 
+ 00005110  0x00000fbc store  0x00000001 , 0x0000804d 
+ 00005111  0x00000fbd call  0x0000155b 
+ 00005112  0x00000fbe fetch  0x00000003 , 0x0000813c 
+ 00005113  0x00000fbf store  0x00000003 , 0x0000804c 
+ 00005114  0x00000fc0 ifetch  0x00000001 , 0x00000006 
+ 00005115  0x00000fc1 or_into  0x000000ef , 0x0000003f 
+ 00005116  0x00000fc2 istore  0x00000001 , 0x00000005 
+ 00005117  0x00000fc3 call  0x0000154e 
+ 00005118  0x00000fc4 fetch  0x00000001 , 0x0000804f 
+ 00005119  0x00000fc5 set1  0x00000004 , 0x0000003f 
+ 00005120  0x00000fc6 store  0x00000001 , 0x0000804f 
+ 00005121  0x00000fc7 call  0x0000154e 
+ 00005122  0x00000fc8 call  0x00001424 , 0x0000002b 
+ 00005123  0x00000fc9 fetch  0x00000001 , 0x0000804e 
+ 00005124  0x00000fca set0  0x00000003 , 0x0000003f 
+ 00005125  0x00000fcb store  0x00000001 , 0x0000804e 
+ 00005126  0x00000fcc call  0x0000154e 
+ 00005127  0x00000fcd nbranch  0x00005bf5 , 0x0000002b 
+ 00005128  0x00000fce call  0x0000140c 
+ 00005129  0x00000fcf rtnmark0  0x0000002b 
+ 00005130  0x00000fd0 jam  0x00000008 , 0x00008006 
+ 00005131  0x00000fd1 rtn 
+ 00005132  0x00000fd4 fetch  0x00000003 , 0x000044ce 
+ 00005133  0x00000fd5 rtn  0x00000034 
+ 00005134  0x00000fd6 store  0x00000003 , 0x00000a01 
+ 00005135  0x00000fd7 branch  0x00005ceb 
+ 00005136  0x00000fda fetch  0x00000001 , 0x000044d2 
+ 00005137  0x00000fdb beq  0x00000001 , 0x00001418 
+ 00005138  0x00000fdc beq  0x00000002 , 0x0000141c 
+ 00005139  0x00000fdd beq  0x00000003 , 0x00001420 
+ 00005140  0x00000fdf fetch  0x00000001 , 0x00004183 
+ 00005141  0x00000fe0 and_into  0x000000e0 , 0x0000003f 
+ 00005142  0x00000fe2 store  0x00000001 , 0x00004183 
+ 00005143  0x00000fe3 rtn 
+ 00005144  0x00000fe5 fetch  0x00000001 , 0x00004183 
+ 00005145  0x00000fe6 and_into  0x000000e0 , 0x0000003f 
+ 00005146  0x00000fe7 or_into  0x0000001d , 0x0000003f 
+ 00005147  0x00000fe8 branch  0x00001416 
+ 00005148  0x00000fea fetch  0x00000001 , 0x00004183 
+ 00005149  0x00000feb and_into  0x000000e0 , 0x0000003f 
+ 00005150  0x00000fec or_into  0x0000001b , 0x0000003f 
+ 00005151  0x00000fed branch  0x00001416 
+ 00005152  0x00000fef fetch  0x00000001 , 0x00004183 
+ 00005153  0x00000ff0 and_into  0x000000e0 , 0x0000003f 
+ 00005154  0x00000ff1 or_into  0x00000017 , 0x0000003f 
+ 00005155  0x00000ff2 branch  0x00001416 
+ 00005156  0x00000ff5 fetch  0x00000001 , 0x000041a5 
+ 00005157  0x00000ff6 store  0x00000001 , 0x00008086 
+ 00005158  0x00000ff7 arg  0x00004186 , 0x00000006 
+ 00005159  0x00000ff8 arg  0x00008070 , 0x00000005 
+ 00005160  0x00000ff9 call  0x00007d74 
+ 00005161  0x00000ffa fetch  0x00000008 , 0x0000419d 
+ 00005162  0x00000ffb iforce  0x00000000 
+ 00005163  0x00000ffc fetch  0x00000008 , 0x00008140 
+ 00005164  0x00000ffd store  0x00000008 , 0x0000009e 
+ 00005165  0x00000ffe branch  0x00005ca3 
+ 00005166  0x00001001 deposit  0x00000000 
+ 00005167  0x00001002 store  0x00000008 , 0x0000419d 
+ 00005168  0x00001003 arg  0x00008070 , 0x00000006 
+ 00005169  0x00001004 arg  0x00004186 , 0x00000005 
+ 00005170  0x00001005 call  0x00007d74 
+ 00005171  0x00001006 fetch  0x00000001 , 0x00008086 
+ 00005172  0x00001007 store  0x00000001 , 0x000041a5 
+ 00005173  0x00001008 branch  0x0000155d 
+ 00005174  0x0000100b fetch  0x00000001 , 0x00008085 
+ 00005175  0x0000100c rshift4  0x0000003f , 0x0000003f 
+ 00005176  0x0000100d nbranch  0x0000143f , 0x00000034 
+ 00005177  0x0000100e fetch  0x00000003 , 0x00004174 
+ 00005178  0x0000100f nrtn  0x00000034 
+ 00005179  0x00001010 fetch  0x00000001 , 0x00008085 
+ 00005180  0x00001011 or_into  0x000000c0 , 0x0000003f 
+ 00005181  0x00001012 store  0x00000001 , 0x00008085 
+ 00005182  0x00001013 jam  0x00000080 , 0x00008006 
+ 00005183  0x00001015 fetch  0x00000001 , 0x0000812d 
+ 00005184  0x00001016 rtnbit0  0x00000001 
+ 00005185  0x00001017 fetch  0x00000003 , 0x00008149 
+ 00005186  0x00001018 store  0x00000003 , 0x00004174 
+ 00005187  0x00001019 rtn 
+ 00005188  0x0000101e bpatch  0x000000a0 , 0x00004014 
+ 00005189  0x0000101f deposit  0x0000001a 
+ 00005190  0x00001020 call  0x00007e0a 
+ 00005191  0x00001021 fetcht  0x00000004 , 0x00004164 
+ 00005192  0x00001022 sub  0x00000002 , 0x000000ff , 0x0000003e 
+ 00005193  0x00001023 rtn  0x00000002 
+ 00005194  0x00001024 lshift8  0x0000003f , 0x0000003f 
+ 00005195  0x00001025 lshift4  0x0000003f , 0x0000003f 
+ 00005196  0x00001026 idiv  0x00000002 
+ 00005197  0x00001027 call  0x00007e61 
+ 00005198  0x00001028 arg  0x000000c8 , 0x00000002 
+ 00005199  0x00001029 call  0x00007e6f 
+ 00005200  0x0000102a store  0x00000001 , 0x00000096 
+ 00005201  0x0000102b nbranch  0x00001453 , 0x00000028 
+ 00005202  0x0000102c sub  0x0000003f , 0x00000000 , 0x0000003f 
+ 00005203  0x0000102e fetcht  0x00000003 , 0x00004174 
+ 00005204  0x0000102f iadd  0x00000002 , 0x0000003f 
+ 00005205  0x00001030 store  0x00000003 , 0x00004174 
+ 00005206  0x00001032 setarg  0x00000000 
+ 00005207  0x00001033 store  0x00000004 , 0x00004164 
+ 00005208  0x00001034 rtn 
+ 00005209  0x00001041 arg  0xffffffff , 0x00000002 
+ 00005210  0x00001042 fetch  0x00000001 , 0x0000417b 
+ 00005211  0x00001043 set0  0x00000007 , 0x0000003f 
+ 00005212  0x00001044 store  0x00000001 , 0x0000417b 
+ 00005213  0x00001046 bpatch  0x000000a1 , 0x00004014 
+ 00005214  0x00001047 call  0x0000155d 
+ 00005215  0x00001048 fetch  0x00000001 , 0x0000415c 
+ 00005216  0x00001049 store  0x00000001 , 0x00004181 
+ 00005217  0x0000104a fetch  0x00000001 , 0x0000417f 
+ 00005218  0x0000104b set1  0x00000007 , 0x0000003f 
+ 00005219  0x0000104c store  0x00000001 , 0x0000417f 
+ 00005220  0x00001050 bpatch  0x000000a2 , 0x00004014 
+ 00005221  0x00001051 call  0x000012d1 
+ 00005222  0x00001052 fetch  0x00000002 , 0x00004479 
+ 00005223  0x00001053 call  0x00007e7a 
+ 00005224  0x00001055 fetch  0x00000004 , 0x00004164 
+ 00005225  0x00001056 iadd  0x00000002 , 0x0000003f 
+ 00005226  0x00001057 store  0x00000004 , 0x00004164 
+ 00005227  0x00001058 call  0x0000142e 
+ 00005228  0x00001059 call  0x00001410 
+ 00005229  0x0000105a fetch  0x00000004 , 0x00004182 
+ 00005230  0x0000105b copy  0x0000003f , 0x00000012 
+ 00005231  0x0000105c fetch  0x00000005 , 0x0000417d 
+ 00005232  0x0000105d store  0x00000004 , 0x0000804c 
+ 00005233  0x0000105e rshift32  0x0000003f , 0x00000011 
+ 00005234  0x0000105f until  0x0000003e , 0x00000033 
+ 00005235  0x00001060 deposit  0x00000019 
+ 00005236  0x00001061 store  0x00000006 , 0x00004168 
+ 00005237  0x00001062 jam  0x00000002 , 0x00008005 
+ 00005238  0x00001063 until  0x0000003e , 0x00000033 
+ 00005239  0x00001064 until  0x0000003e , 0x00000033 
+ 00005240  0x00001065 deposit  0x00000011 
+ 00005241  0x00001066 store  0x00000001 , 0x0000804f 
+ 00005242  0x00001067 jam  0x00000002 , 0x00008005 
+ 00005243  0x00001068 until  0x0000003e , 0x00000033 
+ 00005244  0x00001069 until  0x0000003e , 0x00000033 
+ 00005245  0x0000106a storer  0x00000012 , 0x00000004 , 0x0000804c 
+ 00005246  0x0000106b jam  0x00000020 , 0x00008005 
+ 00005247  0x0000106d until  0x0000003e , 0x00000033 
+ 00005248  0x0000106e until  0x0000003e , 0x00000033 
+ 00005249  0x0000106f storet  0x00000004 , 0x0000804c 
+ 00005250  0x00001070 jam  0x00000010 , 0x00008005 
+ 00005251  0x00001071 until  0x0000003e , 0x0000003f 
+ 00005252  0x00001077 bpatch  0x000000a3 , 0x00004014 
+ 00005253  0x00001078 setarg  0x00000000 
+ 00005254  0x00001079 copy  0x00000027 , 0x0000003e 
+ 00005255  0x0000107a branch  0x0000148f , 0x00000005 
+ 00005256  0x0000107b fetch  0x00000001 , 0x0000813c 
+ 00005257  0x0000107c fetcht  0x00000001 , 0x0000813d 
+ 00005258  0x0000107d isub  0x00000002 , 0x0000003e 
+ 00005259  0x0000107e branch  0x0000148d , 0x00000002 
+ 00005260  0x0000107f deposit  0x00000002 
+ 00005261  0x00001081 isub  0x00000027 , 0x0000003f 
+ 00005262  0x00001082 increase  0x00000001 , 0x0000003f 
+ 00005263  0x00001084 increase  0x0000000a , 0x0000003f 
+ 00005264  0x00001085 until  0x0000003e , 0x00000033 
+ 00005265  0x00001086 iadd  0x00000031 , 0x0000003f 
+ 00005266  0x00001087 fetcht  0x00000004 , 0x00004160 
+ 00005267  0x00001088 iadd  0x00000002 , 0x0000003f 
+ 00005268  0x00001089 fetcht  0x00000003 , 0x00004174 
+ 00005269  0x0000108a imul32  0x00000002 , 0x0000003f 
+ 00005270  0x0000108b rshift8  0x0000003f , 0x0000003f 
+ 00005271  0x0000108c rshift4  0x0000003f , 0x0000003f 
+ 00005272  0x0000108d increase  0x0000006e , 0x0000003f 
+ 00005273  0x0000108e fetcht  0x00000002 , 0x00000163 
+ 00005274  0x0000108f idiv  0x00000002 
+ 00005275  0x00001090 call  0x00007e61 
+ 00005276  0x00001091 lshift16  0x0000003f , 0x0000003f 
+ 00005277  0x00001092 remainder  0x00000002 
+ 00005278  0x00001093 ior  0x00000002 , 0x0000003f 
+ 00005279  0x00001094 fetcht  0x00000006 , 0x00004168 
+ 00005280  0x00001095 call  0x00007dff 
+ 00005281  0x00001096 copy  0x00000002 , 0x00000019 
+ 00005282  0x00001097 fetch  0x00000006 , 0x00004048 
+ 00005283  0x00001098 call  0x00001073 
+ 00005284  0x00001099 deposit  0x0000001a 
+ 00005285  0x0000109a store  0x00000006 , 0x0000095c 
+ 00005286  0x0000109b deposit  0x00000027 
+ 00005287  0x0000109c istore  0x00000001 , 0x00000005 
+ 00005288  0x0000109d fetch  0x00000001 , 0x0000811d 
+ 00005289  0x0000109e or_into  0x000000f0 , 0x0000003f 
+ 00005290  0x0000109f istore  0x00000001 , 0x00000005 
+ 00005291  0x000010a0 rtn 
+ 00005292  0x000010a3 bpatch  0x000000a4 , 0x00004014 
+ 00005293  0x000010a4 call  0x00001436 
+ 00005294  0x000010a5 fetch  0x00000003 , 0x00004174 
+ 00005295  0x000010a6 rtn  0x00000034 
+ 00005296  0x000010a7 fetch  0x00000001 , 0x00004099 
+ 00005297  0x000010a8 rtn  0x00000034 
+ 00005298  0x000010a9 fetch  0x00000001 , 0x00004767 
+ 00005299  0x000010aa branch  0x000014b6 , 0x00000034 
+ 00005300  0x000010ab fetch  0x00000001 , 0x000046bc 
+ 00005301  0x000010ac rtn  0x00000034 
+ 00005302  0x000010ae fetch  0x00000001 , 0x000046bd 
+ 00005303  0x000010af nrtn  0x00000034 
+ 00005304  0x000010b0 arg  0x00000ab7 , 0x00000013 
+ 00005305  0x000010b1 call  0x00000a6e 
+ 00005306  0x000010b2 rtn  0x00000005 
+ 00005307  0x000010b3 call  0x0000156e 
+ 00005308  0x000010b4 nrtn  0x00000034 
+ 00005309  0x000010b5 fetch  0x00000001 , 0x00004040 
+ 00005310  0x000010b6 compare  0x00000003 , 0x0000003f , 0x00000007 
+ 00005311  0x000010b7 nbranch  0x000014e2 , 0x00000001 
+ 00005312  0x000010b8 fetch  0x00000002 , 0x00004042 
+ 00005313  0x000010b9 rtn  0x00000034 
+ 00005314  0x000010ba rtn  0x0000002b 
+ 00005315  0x000010bb bpatch  0x000000a5 , 0x00004014 
+ 00005316  0x000010bd fetcht  0x00000001 , 0x0000009d 
+ 00005317  0x000010be fetch  0x00000002 , 0x00004042 
+ 00005318  0x000010bf imul32  0x00000002 , 0x0000003f 
+ 00005319  0x000010c0 rshift4  0x00000002 , 0x00000002 
+ 00005320  0x000010c1 rshift2  0x00000002 , 0x00000002 
+ 00005321  0x000010c2 isub  0x00000002 , 0x0000003f 
+ 00005322  0x000010c3 fetcht  0x00000004 , 0x00004044 
+ 00005323  0x000010c4 iadd  0x00000002 , 0x0000003f 
+ 00005324  0x000010c5 fetcht  0x00000001 , 0x0000415b 
+ 00005325  0x000010c6 isub  0x00000002 , 0x0000003f 
+ 00005326  0x000010c7 lshift16  0x0000003f , 0x00000030 
+ 00005327  0x000010c8 bpatch  0x000000a6 , 0x00004014 
+ 00005328  0x000010c9 fetch  0x00000002 , 0x0000404e 
+ 00005329  0x000010ca rshift  0x0000003f , 0x0000003f 
+ 00005330  0x000010cb call  0x00007e26 
+ 00005331  0x000010cc deposit  0x00000030 
+ 00005332  0x000010cd call  0x00007e0c 
+ 00005333  0x000010ce copy  0x0000001a , 0x00000002 
+ 00005334  0x000010cf call  0x00007e0a 
+ 00005335  0x000010d0 rtn  0x00000028 
+ 00005336  0x000010d2 call  0x00007e1f 
+ 00005337  0x000010d4 bpatch  0x000000a7 , 0x00004014 
+ 00005338  0x000010d5 fetch  0x00000001 , 0x0000417d 
+ 00005339  0x000010d6 isub  0x00000002 , 0x0000003e 
+ 00005340  0x000010d7 branch  0x00001456 , 0x00000002 
+ 00005341  0x000010d8 storet  0x00000004 , 0x00004160 
+ 00005342  0x000010d9 call  0x000031b6 
+ 00005343  0x000010da call  0x000053ac 
+ 00005344  0x000010db fetcht  0x00000004 , 0x00004160 
+ 00005345  0x000010dc branch  0x00001464 
+ 00005346  0x000010df bpatch  0x000000a8 , 0x00004015 
+ 00005347  0x000010e0 fetch  0x00000001 , 0x00004040 
+ 00005348  0x000010e1 rtnbit1  0x00000000 
+ 00005349  0x000010e2 rtnbit1  0x00000003 
+ 00005350  0x000010e3 fetch  0x00000001 , 0x00004767 
+ 00005351  0x000010e4 branch  0x000014ea , 0x00000034 
+ 00005352  0x000010e5 fetch  0x00000001 , 0x000046bc 
+ 00005353  0x000010e6 rtn  0x00000034 
+ 00005354  0x000010e8 fetch  0x00000001 , 0x00004427 
+ 00005355  0x000010e9 nbranch  0x000014ee , 0x00000034 
+ 00005356  0x000010ea fetch  0x00000001 , 0x0000409b 
+ 00005357  0x000010eb rtn  0x00000034 
+ 00005358  0x000010ed fetch  0x00000002 , 0x00004159 
+ 00005359  0x000010ee rtn  0x00000034 
+ 00005360  0x000010f0 fetcht  0x00000001 , 0x0000415b 
+ 00005361  0x000010f1 isub  0x00000002 , 0x0000003f 
+ 00005362  0x000010f2 arg  0x00001d4c , 0x00000002 
+ 00005363  0x000010f3 imul32  0x00000002 , 0x0000003f 
+ 00005364  0x000010f4 branch  0x000014d8 
+ 00005365  0x000010f7 bpatch  0x000000a9 , 0x00004015 
+ 00005366  0x000010f8 disable  0x0000002b 
+ 00005367  0x000010f9 fetch  0x00000001 , 0x00000030 
+ 00005368  0x000010fa rtnbit0  0x00000001 
+ 00005369  0x000010fb nbranch  0x00001517 , 0x0000002d 
+ 00005370  0x000010fc call  0x00001512 
+ 00005371  0x000010fd fetch  0x00000002 , 0x000040c8 
+ 00005372  0x000010fe store  0x00000002 , 0x0000003e 
+ 00005373  0x000010ff fetch  0x00000001 , 0x00000047 
+ 00005374  0x00001100 bbit1  0x00000003 , 0x00001525 
+ 00005375  0x00001101 bmark0  0x0000000d , 0x00001525 
+ 00005376  0x00001102 call  0x00005355 
+ 00005377  0x00001103 nbranch  0x00001525 , 0x00000034 
+ 00005378  0x00001104 fetch  0x00000001 , 0x00004646 
+ 00005379  0x00001105 bbit1  0x00000001 , 0x00001525 
+ 00005380  0x00001107 fetch  0x00000002 , 0x00004471 
+ 00005381  0x00001108 call  0x00007e7a 
+ 00005382  0x00001109 nbranch  0x00001525 , 0x00000034 
+ 00005383  0x0000110a jam  0x00000000 , 0x0000009d 
+ 00005384  0x0000110b bmark0  0x0000000d , 0x00001525 
+ 00005385  0x0000110c fetch  0x00000001 , 0x00004179 
+ 00005386  0x0000110d branch  0x00001529 , 0x00000034 
+ 00005387  0x0000110e increase  0xffffffff , 0x0000003f 
+ 00005388  0x0000110f store  0x00000001 , 0x00004179 
+ 00005389  0x00001110 rtn 
+ 00005390  0x00001114 arg  0x00000001 , 0x00000007 
+ 00005391  0x00001115 branch  0x00005842 
+ 00005392  0x00001118 arg  0x00000001 , 0x00000007 
+ 00005393  0x00001119 branch  0x00005846 
+ 00005394  0x0000111e jam  0x00000000 , 0x0000415e 
+ 00005395  0x0000111f fetch  0x00000003 , 0x0000416e 
+ 00005396  0x00001120 increase  0x00000001 , 0x0000003f 
+ 00005397  0x00001121 store  0x00000003 , 0x0000416e 
+ 00005398  0x00001122 rtn 
+ 00005399  0x00001125 bpatch  0x000000aa , 0x00004015 
+ 00005400  0x00001126 fetcht  0x00000002 , 0x000040c8 
+ 00005401  0x00001127 rshift  0x00000002 , 0x00000002 
+ 00005402  0x00001128 fetch  0x00000002 , 0x0000003e 
+ 00005403  0x00001129 iadd  0x00000002 , 0x0000003f 
+ 00005404  0x0000112a store  0x00000002 , 0x0000003e 
+ 00005405  0x0000112c jam  0x00000000 , 0x0000009d 
+ 00005406  0x0000112d fetch  0x00000003 , 0x00004171 
+ 00005407  0x0000112e increase  0x00000001 , 0x0000003f 
+ 00005408  0x0000112f store  0x00000003 , 0x00004171 
+ 00005409  0x00001130 fetch  0x00000001 , 0x0000415e 
+ 00005410  0x00001131 increase  0x00000001 , 0x0000003f 
+ 00005411  0x00001132 store  0x00000001 , 0x0000415e 
+ 00005412  0x00001133 rtn 
+ 00005413  0x00001136 jam  0x00000000 , 0x0000009d 
+ 00005414  0x00001137 fetch  0x00000001 , 0x00004178 
+ 00005415  0x00001138 store  0x00000001 , 0x00004179 
+ 00005416  0x00001139 rtn 
+ 00005417  0x0000113c fetcht  0x00000001 , 0x00004177 
+ 00005418  0x0000113d storet  0x00000001 , 0x0000009d 
+ 00005419  0x0000113e rtn 
+ 00005420  0x00001141 fetch  0x00000001 , 0x0000417d 
+ 00005421  0x00001142 nrtn  0x00000034 
+ 00005422  0x00001143 jam  0x00000006 , 0x00008042 
+ 00005423  0x00001144 setarg  0x00000f0c 
+ 00005424  0x00001145 call  0x00001543 
+ 00005425  0x00001146 setarg  0x00030d40 
+ 00005426  0x00001147 call  0x0000137f 
+ 00005427  0x00001148 until  0x0000003e , 0x00000033 
+ 00005428  0x00001149 copy  0x00000031 , 0x00000030 
+ 00005429  0x0000114a call  0x000012d1 
+ 00005430  0x0000114b jam  0x00000004 , 0x00008042 
+ 00005431  0x0000114c nop  0x0000000a 
+ 00005432  0x0000114d until  0x0000003e , 0x00000033 
+ 00005433  0x0000114e deposit  0x00000031 
+ 00005434  0x0000114f isub  0x00000030 , 0x0000003f 
+ 00005435  0x00001150 increase  0x00000030 , 0x0000003f 
+ 00005436  0x00001151 arg  0x000000ff , 0x00000002 
+ 00005437  0x00001152 call  0x00007e6f 
+ 00005438  0x00001153 store  0x00000001 , 0x0000417d 
+ 00005439  0x00001154 nop  0x00007530 
+ 00005440  0x00001155 nop  0x00007530 
+ 00005441  0x00001156 nop  0x00007530 
+ 00005442  0x00001157 rtn 
+ 00005443  0x0000117a arg  0x00000fff , 0x00000005 
+ 00005444  0x0000117b iand  0x00000005 , 0x00000005 
+ 00005445  0x0000117c fetch  0x00000001 , 0x0000417a 
+ 00005446  0x0000117d and_into  0x000000f0 , 0x0000003f 
+ 00005447  0x0000117e lshift8  0x0000003f , 0x0000003f 
+ 00005448  0x0000117f ior  0x00000005 , 0x0000003f 
+ 00005449  0x00001180 store  0x00000002 , 0x0000804c 
+ 00005450  0x00001181 ifetch  0x00000002 , 0x00000006 
+ 00005451  0x00001182 istore  0x00000002 , 0x00000005 
+ 00005452  0x00001185 setarg  0x00000001 
+ 00005453  0x00001186 branch  0x0000154f 
+ 00005454  0x00001189 setarg  0x00000002 
+ 00005455  0x0000118b until  0x0000003e , 0x00000033 
+ 00005456  0x0000118c store  0x00000001 , 0x00008005 
+ 00005457  0x0000118d until  0x0000003e , 0x00000033 
+ 00005458  0x0000118e until  0x0000003e , 0x00000033 
+ 00005459  0x0000118f rtn 
+ 00005460  0x00001192 fetch  0x00000004 , 0x00008134 
+ 00005461  0x00001193 store  0x00000004 , 0x0000804c 
+ 00005462  0x00001194 fetch  0x00000001 , 0x00008134 
+ 00005463  0x00001195 and_into  0x00000041 , 0x0000003f 
+ 00005464  0x00001196 fetcht  0x00000001 , 0x00004182 
+ 00005465  0x00001197 ior  0x00000002 , 0x0000003f 
+ 00005466  0x00001198 store  0x00000001 , 0x0000804c 
+ 00005467  0x0000119a setarg  0x00000020 
+ 00005468  0x0000119b branch  0x0000154f 
+ 00005469  0x0000119f bpatch  0x000000ab , 0x00004015 
+ 00005470  0x000011a0 fetch  0x00000004 , 0x0000009e 
+ 00005471  0x000011a1 store  0x00000004 , 0x0000804c 
+ 00005472  0x000011a2 setarg  0x00000004 
+ 00005473  0x000011a3 call  0x0000154f 
+ 00005474  0x000011a4 fetch  0x00000004 , 0x000000a2 
+ 00005475  0x000011a5 store  0x00000004 , 0x0000804c 
+ 00005476  0x000011a6 setarg  0x00000008 
+ 00005477  0x000011a7 branch  0x0000154f 
+ 00005478  0x000011aa fetch  0x00000002 , 0x00004157 
+ 00005479  0x000011ab qset1  0x0000003f 
+ 00005480  0x000011ac store  0x00000002 , 0x00004157 
+ 00005481  0x000011ad rtn 
+ 00005482  0x000011b0 fetch  0x00000002 , 0x00004157 
+ 00005483  0x000011b1 qset0  0x0000003f 
+ 00005484  0x000011b2 store  0x00000002 , 0x00004157 
+ 00005485  0x000011b3 rtn 
+ 00005486  0x000011b8 bpatch  0x000000ac , 0x00004015 
+ 00005487  0x000011b9 call  0x000031b4 
+ 00005488  0x000011ba fetch  0x00000002 , 0x00004157 
+ 00005489  0x000011bb copy  0x0000003f , 0x00000011 
+ 00005490  0x000011bc fetch  0x00000001 , 0x0000004c 
+ 00005491  0x000011bd isolate1  0x00000006 , 0x0000003f 
+ 00005492  0x000011be setflag  0x00000001 , 0x0000000b , 0x00000011 
+ 00005493  0x000011bf fetch  0x00000001 , 0x00000078 
+ 00005494  0x000011c0 fetcht  0x00000001 , 0x0000007c 
+ 00005495  0x000011c1 iadd  0x00000002 , 0x0000003f 
+ 00005496  0x000011c2 fetcht  0x00000001 , 0x00000048 
+ 00005497  0x000011c3 iadd  0x00000002 , 0x0000003f 
+ 00005498  0x000011c4 nsetflag  0x00000034 , 0x0000000a , 0x00000011 
+ 00005499  0x000011c5 fetch  0x00000003 , 0x000044f3 
+ 00005500  0x000011c6 nsetflag  0x00000034 , 0x00000001 , 0x00000011 
+ 00005501  0x000011c7 fetch  0x00000002 , 0x0000030e 
+ 00005502  0x000011c8 fetcht  0x00000002 , 0x00000310 
+ 00005503  0x000011c9 iadd  0x00000002 , 0x0000003f 
+ 00005504  0x000011ca nsetflag  0x00000034 , 0x0000000d , 0x00000011 
+ 00005505  0x000011cb fetch  0x00000008 , 0x00004775 
+ 00005506  0x000011cc nsetflag  0x00000034 , 0x0000000f , 0x00000011 
+ 00005507  0x000011cd fetch  0x00000008 , 0x0000477d 
+ 00005508  0x000011ce nsetflag  0x00000034 , 0x0000000e , 0x00000011 
+ 00005509  0x000011cf fetch  0x00000001 , 0x000041db 
+ 00005510  0x000011d0 nsetflag  0x00000034 , 0x00000008 , 0x00000011 
+ 00005511  0x000011d1 fetch  0x00000001 , 0x0000409a 
+ 00005512  0x000011d2 compare  0x0000000a , 0x0000003f , 0x000000ff 
+ 00005513  0x000011d3 call  0x0000158d , 0x00000001 
+ 00005514  0x000011d4 copy  0x00000011 , 0x0000003f 
+ 00005515  0x000011d5 store  0x00000002 , 0x00004157 
+ 00005516  0x000011d6 rtn 
+ 00005517  0x000011d9 fetch  0x00000002 , 0x00008112 
+ 00005518  0x000011da nsetflag  0x00000034 , 0x00000006 , 0x00000011 
+ 00005519  0x000011db fetch  0x00000002 , 0x0000810e 
+ 00005520  0x000011dc nsetflag  0x00000034 , 0x00000005 , 0x00000011 
+ 00005521  0x000011dd rtn 
+ 00005522  0x000011e0 fetch  0x00000004 , 0x00008138 
+ 00005523  0x000011e1 set0  0x0000001b , 0x0000003f 
+ 00005524  0x000011e2 store  0x00000004 , 0x0000804c 
+ 00005525  0x000011e3 call  0x0000154c 
+ 00005526  0x000011e4 branch  0x0000137c 
+ 00005527  0x000011e7 fetch  0x00000004 , 0x0000813c 
+ 00005528  0x000011e8 set0  0x00000014 , 0x0000003f 
+ 00005529  0x000011e9 store  0x00000004 , 0x0000804c 
+ 00005530  0x000011ea branch  0x0000154e 
+ 00005531  0x000011f2 bpatchx  0x00000099 , 0x00004033 
+ 00005532  0x000011f3 disable  0x0000002b 
+ 00005533  0x000011f4 jam  0x00000001 , 0x0000029d 
+ 00005534  0x000011f5 jam  0x00000003 , 0x00000287 
+ 00005535  0x000011f6 jam  0x00000001 , 0x0000029e 
+ 00005536  0x000011f7 setarg  0xffffffff 
+ 00005537  0x000011f8 store  0x00000002 , 0x000002a1 
+ 00005538  0x000011f9 force  0x00000000 , 0x0000003f 
+ 00005539  0x000011fa store  0x00000001 , 0x0000029f 
+ 00005540  0x000011fb store  0x00000001 , 0x000002aa 
+ 00005541  0x000011fc store  0x00000003 , 0x0000416e 
+ 00005542  0x000011fd store  0x00000003 , 0x00004171 
+ 00005543  0x000011fe call  0x00001901 
+ 00005544  0x000011ff jam  0x00000001 , 0x000041f5 
+ 00005545  0x00001200 jam  0x00000000 , 0x000041f6 
+ 00005546  0x00001201 jam  0x00000001 , 0x000002bc 
+ 00005547  0x00001202 jam  0x00000001 , 0x000002bd 
+ 00005548  0x00001203 jam  0x00000000 , 0x00004435 
+ 00005549  0x00001204 branch  0x000019dc 
+ 00005550  0x00001207 bpatchx  0x0000009a , 0x00004033 
+ 00005551  0x00001208 enable  0x00000029 
+ 00005552  0x00001209 jam  0x00000003 , 0x00000288 
+ 00005553  0x0000120a jam  0x00000001 , 0x00004437 
+ 00005554  0x0000120b jam  0x00000001 , 0x0000099e 
+ 00005555  0x0000120c setarg  0x0000ffff 
+ 00005556  0x0000120d store  0x00000002 , 0x000009a0 
+ 00005557  0x0000120e force  0x00000000 , 0x0000003f 
+ 00005558  0x0000120f store  0x00000005 , 0x000046a4 
+ 00005559  0x00001210 set1  0x00000027 , 0x0000003f 
+ 00005560  0x00001211 store  0x00000005 , 0x0000469f 
+ 00005561  0x00001212 branch  0x0000159b 
+ 00005562  0x00001216 bpatchx  0x0000009b , 0x00004033 
+ 00005563  0x00001217 disable  0x00000029 
+ 00005564  0x00001218 setarg  0x00000017 
+ 00005565  0x00001219 store  0x00000002 , 0x00004382 
+ 00005566  0x0000121a increase  0x00000004 , 0x0000003f 
+ 00005567  0x0000121b store  0x00000002 , 0x00004444 
+ 00005568  0x0000121c jam  0x00000001 , 0x00000288 
+ 00005569  0x0000121d jam  0x00000000 , 0x00004427 
+ 00005570  0x0000121e jam  0x00000000 , 0x0000009d 
+ 00005571  0x0000121f call  0x00001626 
+ 00005572  0x00001220 fetch  0x00000002 , 0x000002b5 
+ 00005573  0x00001221 store  0x00000002 , 0x00004394 
+ 00005574  0x00001222 fetch  0x00000002 , 0x00000289 
+ 00005575  0x00001223 mul32  0x0000003f , 0x00000005 , 0x0000003f 
+ 00005576  0x00001224 rshift4  0x0000003f , 0x0000003f 
+ 00005577  0x00001225 store  0x00000002 , 0x000002b5 
+ 00005578  0x00001226 branch  0x0000159b 
+ 00005579  0x0000122e bpatchx  0x0000009c , 0x00004033 
+ 00005580  0x0000122f call  0x00001651 
+ 00005581  0x00001230 fetch  0x00000001 , 0x00000287 
+ 00005582  0x00001231 isolate1  0x00000004 , 0x0000003f 
+ 00005583  0x00001232 setflag  0x00000001 , 0x00000032 , 0x00000000 
+ 00005584  0x00001233 call  0x00003182 
+ 00005585  0x00001234 fetch  0x00000001 , 0x00000288 
+ 00005586  0x00001235 bbit1  0x00000001 , 0x000015d4 
+ 00005587  0x00001236 branch  0x000015e6 
+ 00005588  0x0000123d bpatchx  0x0000009d , 0x00004033 
+ 00005589  0x0000123e enable  0x00000029 
+ 00005590  0x0000123f call  0x000019d3 
+ 00005591  0x00001240 branch  0x000015e3 , 0x00000002 
+ 00005592  0x00001241 call  0x000016a2 
+ 00005593  0x00001242 call  0x00001916 
+ 00005594  0x00001243 disable  0x0000002d 
+ 00005595  0x00001244 call  0x000017d4 
+ 00005596  0x00001245 nrtn  0x0000002d 
+ 00005597  0x00001246 fetch  0x00000001 , 0x00000005 
+ 00005598  0x00001247 increase  0x00000001 , 0x0000003f 
+ 00005599  0x00001248 store  0x00000001 , 0x00000005 
+ 00005600  0x00001249 call  0x000018c7 
+ 00005601  0x0000124a disable  0x00000029 
+ 00005602  0x0000124b rtn 
+ 00005603  0x0000124e call  0x0000161a 
+ 00005604  0x0000124f disable  0x00000029 
+ 00005605  0x00001250 rtn 
+ 00005606  0x00001256 bpatchx  0x0000009e , 0x00004033 
+ 00005607  0x00001257 jam  0x00000000 , 0x000043dd 
+ 00005608  0x00001258 set0  0x00000030 , 0x00000000 
+ 00005609  0x00001259 call  0x00007602 
+ 00005610  0x0000125a call  0x00002064 
+ 00005611  0x0000125b disable  0x0000002e 
+ 00005612  0x0000125c call  0x000019d3 
+ 00005613  0x0000125d branch  0x0000161a , 0x00000002 
+ 00005614  0x0000125e fetch  0x00000001 , 0x000002bc 
+ 00005615  0x0000125f call  0x00001637 
+ 00005616  0x00001260 call  0x000016a2 
+ 00005617  0x00001261 call  0x000016fa 
+ 00005618  0x00001262 nbranch  0x0000160c , 0x00000018 
+ 00005619  0x00001263 call  0x0000162a 
+ 00005620  0x00001264 branch  0x000015f7 , 0x0000002d 
+ 00005621  0x00001265 bmark1  0x00000030 , 0x000015f7 
+ 00005622  0x00001266 branch  0x00001606 
+ 00005623  0x0000126b bpatchx  0x0000009f , 0x00004033 
+ 00005624  0x0000126c fetch  0x00000001 , 0x000043dd 
+ 00005625  0x0000126d pincrease  0x00000001 
+ 00005626  0x0000126e store  0x00000001 , 0x000043dd 
+ 00005627  0x0000126f beq  0x0000000c , 0x00001606 
+ 00005628  0x00001270 call  0x000018c7 
+ 00005629  0x00001271 call  0x00001916 
+ 00005630  0x00001272 fetch  0x00000001 , 0x000002bd 
+ 00005631  0x00001273 call  0x00001637 
+ 00005632  0x00001274 call  0x000017e2 
+ 00005633  0x00001275 call  0x00001979 
+ 00005634  0x00001276 fetch  0x00000002 , 0x0000446d 
+ 00005635  0x00001277 call  0x00007e7a 
+ 00005636  0x00001278 call  0x0000160f 
+ 00005637  0x00001279 branch  0x00001614 , 0x00000028 
+ 00005638  0x0000127b bpatchx  0x000000a0 , 0x00004034 
+ 00005639  0x0000127c call  0x0000202a 
+ 00005640  0x0000127d call  0x00002021 
+ 00005641  0x0000127e call  0x000078f2 
+ 00005642  0x0000127f fetch  0x00000001 , 0x000002aa 
+ 00005643  0x00001280 bbit1  0x00000003 , 0x0000161a 
+ 00005644  0x00001282 bpatchx  0x000000a1 , 0x00004034 
+ 00005645  0x00001283 call  0x00001aa6 
+ 00005646  0x00001284 branch  0x0000105d 
+ 00005647  0x00001288 disable  0x00000028 
+ 00005648  0x00001289 bmark1  0x0000002a , 0x00007ec5 
+ 00005649  0x0000128a bmark1  0x00000029 , 0x00007ec5 
+ 00005650  0x0000128b bmark1  0x00000030 , 0x00007ec5 
+ 00005651  0x0000128c rtn 
+ 00005652  0x00001290 bpatchx  0x000000a2 , 0x00004034 
+ 00005653  0x00001291 enable  0x0000002e 
+ 00005654  0x00001292 call  0x000017d8 
+ 00005655  0x00001293 branch  0x000015f7 , 0x0000002d 
+ 00005656  0x00001294 bmark1  0x00000030 , 0x000015f7 
+ 00005657  0x00001295 branch  0x00001606 
+ 00005658  0x0000129b bpatchx  0x000000a3 , 0x00004034 
+ 00005659  0x0000129c call  0x00001621 
+ 00005660  0x0000129d call  0x00003243 
+ 00005661  0x0000129e call  0x00001626 
+ 00005662  0x0000129f call  0x00002072 
+ 00005663  0x000012a0 jam  0x00000015 , 0x0000095b 
+ 00005664  0x000012a1 branch  0x000078dc 
+ 00005665  0x000012a4 arg  0x000044e9 , 0x00000005 
+ 00005666  0x000012a5 call  0x00007d90 
+ 00005667  0x000012a6 jam  0x00000000 , 0x0000029d 
+ 00005668  0x000012a7 jam  0x00000000 , 0x00000288 
+ 00005669  0x000012a8 jam  0x00000000 , 0x00000287 
+ 00005670  0x000012aa bpatchx  0x000000a4 , 0x00004034 
+ 00005671  0x000012ab jam  0x00000000 , 0x0000439c 
+ 00005672  0x000012ac jam  0x00000000 , 0x0000439b 
+ 00005673  0x000012ad branch  0x00006f37 
+ 00005674  0x000012b0 bpatchx  0x000000a5 , 0x00004034 
+ 00005675  0x000012b1 fetch  0x00000001 , 0x00000005 
+ 00005676  0x000012b2 increase  0x00000001 , 0x0000003f 
+ 00005677  0x000012b3 store  0x00000001 , 0x00000005 
+ 00005678  0x000012b4 fetch  0x00000001 , 0x00000287 
+ 00005679  0x000012b5 rtnbit1  0x00000003 
+ 00005680  0x000012b6 set1  0x00000003 , 0x0000003f 
+ 00005681  0x000012b7 store  0x00000001 , 0x00000287 
+ 00005682  0x000012b8 fetch  0x00000002 , 0x00004394 
+ 00005683  0x000012b9 store  0x00000002 , 0x000002b5 
+ 00005684  0x000012ba setarg  0x00000000 
+ 00005685  0x000012bb store  0x00000004 , 0x000043bc 
+ 00005686  0x000012bc rtn 
+ 00005687  0x000012c5 copy  0x0000003f , 0x00000002 
+ 00005688  0x000012c6 bpatchx  0x000000a6 , 0x00004034 
+ 00005689  0x000012c7 copy  0x00000002 , 0x0000003f 
+ 00005690  0x000012c8 bbit1  0x00000000 , 0x00001651 
+ 00005691  0x000012c9 bbit1  0x00000001 , 0x00001640 
+ 00005692  0x000012ca bbit0  0x00000002 , 0x00001651 
+ 00005693  0x000012cb bbit1  0x00000007 , 0x0000164e 
+ 00005694  0x000012cc bbit1  0x00000002 , 0x00001646 
+ 00005695  0x000012cd branch  0x00001651 
+ 00005696  0x000012d0 call  0x00001651 
+ 00005697  0x000012d1 set1  0x0000002d , 0x00000000 
+ 00005698  0x000012d2 set0  0x0000002f , 0x00000000 
+ 00005699  0x000012d3 jam  0x00000003 , 0x00008901 
+ 00005700  0x000012d4 jam  0x00000084 , 0x00008920 
+ 00005701  0x000012d5 rtn 
+ 00005702  0x000012d9 call  0x00001651 
+ 00005703  0x000012da set1  0x0000002f , 0x00000000 
+ 00005704  0x000012db set0  0x0000002e , 0x00000000 
+ 00005705  0x000012dc jam  0x00000005 , 0x00008901 
+ 00005706  0x000012dd jam  0x00000080 , 0x00008920 
+ 00005707  0x000012de jam  0x00000020 , 0x00008930 
+ 00005708  0x000012df jam  0x0000000a , 0x00008934 
+ 00005709  0x000012e0 rtn 
+ 00005710  0x000012e3 call  0x00001646 
+ 00005711  0x000012e4 set1  0x0000002e , 0x00000000 
+ 00005712  0x000012e5 rtn 
+ 00005713  0x000012e8 bpatchx  0x000000a7 , 0x00004034 
+ 00005714  0x000012e9 enable  0x00000036 
+ 00005715  0x000012ea set0  0x0000002d , 0x00000000 
+ 00005716  0x000012eb set0  0x0000002f , 0x00000000 
+ 00005717  0x000012ec jam  0x00000001 , 0x00008901 
+ 00005718  0x000012ed jam  0x00000080 , 0x00008920 
+ 00005719  0x000012ee jam  0x000000a7 , 0x00008925 
+ 00005720  0x000012ef jam  0x00000003 , 0x00008930 
+ 00005721  0x000012f0 jam  0x00000058 , 0x00008933 
+ 00005722  0x000012f1 jam  0x0000000a , 0x00008934 
+ 00005723  0x000012f2 jam  0x00000040 , 0x00008937 
+ 00005724  0x000012f3 jam  0x00000009 , 0x00008a6d 
+ 00005725  0x000012f4 rtn 
+ 00005726  0x000012f8 bpatchx  0x000000a8 , 0x00004035 
+ 00005727  0x000012f9 disable  0x00000036 
+ 00005728  0x000012fa set0  0x00000032 , 0x00000000 
+ 00005729  0x000012fb jam  0x00000000 , 0x00008901 
+ 00005730  0x000012fc jam  0x00000080 , 0x00008920 
+ 00005731  0x000012fd jam  0x000000a3 , 0x00008925 
+ 00005732  0x000012fe jam  0x00000003 , 0x00008930 
+ 00005733  0x000012ff jam  0x00000068 , 0x00008933 
+ 00005734  0x00001300 jam  0x00000009 , 0x00008934 
+ 00005735  0x00001301 jam  0x00000028 , 0x00008937 
+ 00005736  0x00001302 jam  0x00000009 , 0x00008a6d 
+ 00005737  0x00001303 rtn 
+ 00005738  0x00001306 disable  0x00000009 
+ 00005739  0x00001307 disable  0x00000007 
+ 00005740  0x00001308 fetch  0x00000003 , 0x000002af 
+ 00005741  0x00001309 iforce  0x0000000f 
+ 00005742  0x0000130a fetch  0x00000001 , 0x00000016 
+ 00005743  0x0000130b reverse  0x0000003f , 0x00000002 
+ 00005744  0x0000130c set1  0x00000001 , 0x00000002 
+ 00005745  0x0000130d rshift  0x00000002 , 0x0000000e 
+ 00005746  0x0000130e rtn 
+ 00005747  0x00001312 call  0x0000167c 
+ 00005748  0x00001314 call  0x0000118b 
+ 00005749  0x00001315 fetch  0x00000002 , 0x0000015d 
+ 00005750  0x00001316 call  0x0000137f 
+ 00005751  0x00001317 branch  0x000011a2 
+ 00005752  0x0000131a branch  0x00001207 , 0x0000002d 
+ 00005753  0x0000131b bmark1  0x00000030 , 0x00001207 
+ 00005754  0x0000131d call  0x0000167c 
+ 00005755  0x0000131e branch  0x00001201 
+ 00005756  0x00001320 bpatchx  0x000000a9 , 0x00004035 
+ 00005757  0x00001321 call  0x0000115d 
+ 00005758  0x00001322 fetch  0x00000001 , 0x000002df 
+ 00005759  0x00001323 nbranch  0x0000168f , 0x00000034 
+ 00005760  0x00001324 fetch  0x00000001 , 0x00000016 
+ 00005761  0x00001325 sub  0x0000003f , 0x00000024 , 0x0000003e 
+ 00005762  0x00001326 branch  0x00001689 , 0x00000002 
+ 00005763  0x00001327 force  0x00000000 , 0x00000002 
+ 00005764  0x00001328 rtneq  0x00000025 
+ 00005765  0x00001329 force  0x00000018 , 0x00000002 
+ 00005766  0x0000132a rtneq  0x00000026 
+ 00005767  0x0000132b force  0x0000004e , 0x00000002 
+ 00005768  0x0000132c rtn 
+ 00005769  0x0000132f sub  0x0000003f , 0x0000000a , 0x0000003e 
+ 00005770  0x00001330 branch  0x0000168c , 0x00000002 
+ 00005771  0x00001331 increase  0x00000001 , 0x0000003f 
+ 00005772  0x00001334 lshift  0x0000003f , 0x0000003f 
+ 00005773  0x00001335 add  0x0000003f , 0x00000002 , 0x00000002 
+ 00005774  0x00001336 rtn 
+ 00005775  0x00001339 fetch  0x00000001 , 0x00000016 
+ 00005776  0x0000133a lshift  0x0000003f , 0x00000002 
+ 00005777  0x0000133b rtn 
+ 00005778  0x0000133e arg  0x000001f4 , 0x00000002 
+ 00005779  0x0000133f rtn  0x00000034 
+ 00005780  0x00001340 arg  0x000000fa , 0x00000002 
+ 00005781  0x00001341 rtneq  0x00000001 
+ 00005782  0x00001342 arg  0x00000096 , 0x00000002 
+ 00005783  0x00001343 rtneq  0x00000002 
+ 00005784  0x00001344 arg  0x00000064 , 0x00000002 
+ 00005785  0x00001345 rtneq  0x00000003 
+ 00005786  0x00001346 arg  0x0000004b , 0x00000002 
+ 00005787  0x00001347 rtneq  0x00000004 
+ 00005788  0x00001348 arg  0x00000032 , 0x00000002 
+ 00005789  0x00001349 rtneq  0x00000005 
+ 00005790  0x0000134a arg  0x00000028 , 0x00000002 
+ 00005791  0x0000134b rtneq  0x00000006 
+ 00005792  0x0000134c arg  0x00000014 , 0x00000002 
+ 00005793  0x0000134d rtn 
+ 00005794  0x00001352 bpatchx  0x000000aa , 0x00004035 
+ 00005795  0x00001353 enable  0x00000010 
+ 00005796  0x00001354 fetch  0x00000004 , 0x000002ab 
+ 00005797  0x00001355 iforce  0x00000009 
+ 00005798  0x00001356 call  0x000010ac 
+ 00005799  0x00001357 call  0x000016d8 
+ 00005800  0x00001358 setarg  0x00000200 
+ 00005801  0x00001359 branch  0x000016ac , 0x00000029 
+ 00005802  0x0000135a fetch  0x00000002 , 0x00000295 
+ 00005803  0x0000135b rshift  0x0000003f , 0x0000003f 
+ 00005804  0x0000135d fetcht  0x00000002 , 0x0000015d 
+ 00005805  0x0000135e iadd  0x00000002 , 0x0000003f 
+ 00005806  0x0000135f call  0x00001313 
+ 00005807  0x00001360 deposit  0x0000001a 
+ 00005808  0x00001361 rtn 
+ 00005809  0x00001365 bpatchx  0x000000ab , 0x00004035 
+ 00005810  0x00001366 call  0x00007d43 
+ 00005811  0x00001367 storer  0x00000039 , 0x00000002 , 0x00000987 
+ 00005812  0x00001368 add  0x00000011 , 0x00000001 , 0x00000006 
+ 00005813  0x00001369 ifetch  0x00000001 , 0x00000006 
+ 00005814  0x0000136a rtnbit0  0x00000000 
+ 00005815  0x0000136b add  0x00000011 , 0x0000001a , 0x00000005 
+ 00005816  0x0000136c ifetch  0x00000002 , 0x00000005 
+ 00005817  0x0000136d increase  0x00000001 , 0x0000003f 
+ 00005818  0x0000136e istore  0x00000002 , 0x00000005 
+ 00005819  0x0000136f call  0x00001844 
+ 00005820  0x00001370 call  0x00001869 
+ 00005821  0x00001371 call  0x00001872 
+ 00005822  0x00001372 call  0x000016c2 
+ 00005823  0x00001373 call  0x00007d51 
+ 00005824  0x00001374 fetchr  0x00000039 , 0x00000002 , 0x00000987 
+ 00005825  0x00001375 rtn 
+ 00005826  0x00001378 add  0x00000011 , 0x00000019 , 0x00000006 
+ 00005827  0x00001379 ifetch  0x00000001 , 0x00000006 
+ 00005828  0x0000137a add  0x00000011 , 0x00000018 , 0x00000005 
+ 00005829  0x0000137b ifetcht  0x00000001 , 0x00000005 
+ 00005830  0x0000137c iadd  0x00000002 , 0x0000003f 
+ 00005831  0x0000137d sub  0x0000003f , 0x00000024 , 0x0000003e 
+ 00005832  0x0000137e branch  0x000016ca , 0x00000002 
+ 00005833  0x0000137f increase  0xffffffdb , 0x0000003f 
+ 00005834  0x00001381 istore  0x00000001 , 0x00000005 
+ 00005835  0x00001382 rtn 
+ 00005836  0x00001386 add  0x00000011 , 0x00000030 , 0x00000006 
+ 00005837  0x00001387 ifetch  0x00000005 , 0x00000006 
+ 00005838  0x00001388 force  0x00000000 , 0x00000002 
+ 00005839  0x00001389 force  0x00000025 , 0x00000039 
+ 00005840  0x0000138b bbit0  0x00000000 , 0x000016d2 
+ 00005841  0x0000138c increase  0x00000001 , 0x00000002 
+ 00005842  0x0000138e rshift  0x0000003f , 0x0000003f 
+ 00005843  0x0000138f loop  0x000016d0 
+ 00005844  0x00001390 add  0x00000002 , 0xffffffff , 0x0000003f 
+ 00005845  0x00001391 add  0x00000011 , 0x00000022 , 0x00000005 
+ 00005846  0x00001392 istore  0x00000001 , 0x00000005 
+ 00005847  0x00001393 rtn 
+ 00005848  0x00001396 bpatchx  0x000000ac , 0x00004035 
+ 00005849  0x00001397 fetch  0x00000001 , 0x0000029f 
+ 00005850  0x00001398 iforce  0x00000007 
+ 00005851  0x00001399 fetcht  0x00000005 , 0x000002b7 
+ 00005852  0x0000139a qisolate1  0x00000002 
+ 00005853  0x0000139b branch  0x000016ed , 0x00000001 
+ 00005854  0x0000139d fetch  0x00000001 , 0x000002a9 
+ 00005855  0x0000139e isub  0x00000007 , 0x0000003f 
+ 00005856  0x0000139f branch  0x000016e3 , 0x00000002 
+ 00005857  0x000013a0 sub  0x0000003f , 0xffffffff , 0x00000007 
+ 00005858  0x000013a1 branch  0x000016de 
+ 00005859  0x000013a3 copy  0x00000007 , 0x00000039 
+ 00005860  0x000013a4 force  0x00000000 , 0x00000007 
+ 00005861  0x000013a6 qisolate1  0x00000002 
+ 00005862  0x000013a7 branch  0x000016e8 , 0x00000001 
+ 00005863  0x000013a8 increase  0x00000001 , 0x00000039 
+ 00005864  0x000013aa deposit  0x00000039 
+ 00005865  0x000013ab branch  0x000016ed , 0x00000034 
+ 00005866  0x000013ac increase  0x00000001 , 0x00000007 
+ 00005867  0x000013ad increase  0xffffffff , 0x00000039 
+ 00005868  0x000013ae branch  0x000016e5 
+ 00005869  0x000013b0 deposit  0x00000007 
+ 00005870  0x000013b1 store  0x00000001 , 0x00000016 
+ 00005871  0x000013b2 rtn 
+ 00005872  0x000013b6 branch  0x000016f3 , 0x00000029 
+ 00005873  0x000013b7 until  0x0000003e , 0x00000003 
+ 00005874  0x000013b8 rtn 
+ 00005875  0x000013bb arg  0x00000ea0 , 0x0000000b 
+ 00005876  0x000013bc until  0x00000023 , 0x00000026 
+ 00005877  0x000013bd rtn 
+ 00005878  0x000013c0 disable  0x00000010 
+ 00005879  0x000013c1 fetch  0x00000002 , 0x000043e5 
+ 00005880  0x000013c2 copy  0x0000003f , 0x0000000b 
+ 00005881  0x000013c3 branch  0x00001700 
+ 00005882  0x000013c7 bpatchx  0x000000ad , 0x00004035 
+ 00005883  0x000013c8 call  0x00001764 
+ 00005884  0x000013c9 enable  0x00000010 
+ 00005885  0x000013ca fetch  0x00000002 , 0x00000295 
+ 00005886  0x000013cb fetcht  0x00000004 , 0x000043bc 
+ 00005887  0x000013cc iadd  0x00000002 , 0x0000000b 
+ 00005888  0x000013ce call  0x00001673 
+ 00005889  0x000013d0 bpatchx  0x000000ae , 0x00004035 
+ 00005890  0x000013d1 call  0x0000166a 
+ 00005891  0x000013d2 bmark0  0x0000002f , 0x00001708 
+ 00005892  0x000013d3 pulse  0x00000039 
+ 00005893  0x000013d4 nop  0x0000001e 
+ 00005894  0x000013d5 call  0x0000166a 
+ 00005895  0x000013d6 lshift3  0x0000000b , 0x0000000b 
+ 00005896  0x000013d8 disable  0x0000002d 
+ 00005897  0x000013d9 enable  0x0000000d 
+ 00005898  0x000013da enable  0x00000021 
+ 00005899  0x000013db disable  0x00000020 
+ 00005900  0x000013dc copy  0x0000000b , 0x0000001b 
+ 00005901  0x000013dd correlate  0x0000003e , 0x00000003 
+ 00005902  0x000013de branch  0x00001711 , 0x0000002e 
+ 00005903  0x000013df copy  0x0000001a , 0x00000002 
+ 00005904  0x000013e0 storet  0x00000006 , 0x00000097 
+ 00005905  0x000013e2 nbranch  0x0000179f , 0x00000018 
+ 00005906  0x000013e3 bpatchx  0x000000af , 0x00004035 
+ 00005907  0x000013e4 enable  0x00000010 
+ 00005908  0x000013e5 arg  0x00004ea9 , 0x00000002 
+ 00005909  0x000013e6 fetch  0x00000001 , 0x000041f0 
+ 00005910  0x000013e7 imul32  0x00000002 , 0x0000001b 
+ 00005911  0x000013e8 call  0x00004d0d 
+ 00005912  0x000013e9 branch  0x0000171e , 0x0000002e 
+ 00005913  0x000013ea call  0x000017a3 
+ 00005914  0x000013eb fetch  0x00000001 , 0x00000287 
+ 00005915  0x000013ec bbit0  0x00000003 , 0x0000171e 
+ 00005916  0x000013ed fetcht  0x00000006 , 0x00000097 
+ 00005917  0x000013ee call  0x00001444 , 0x0000002b 
+ 00005918  0x000013f0 call  0x0000127f 
+ 00005919  0x000013f1 enable  0x00000007 
+ 00005920  0x000013f2 enable  0x00000009 
+ 00005921  0x000013f3 parse  0x00000003 , 0x00000000 , 0x00000008 
+ 00005922  0x000013f4 rshift3  0x0000000c , 0x0000003f 
+ 00005923  0x000013f5 store  0x00000001 , 0x0000016b 
+ 00005924  0x000013f6 parse  0x00000003 , 0x00000000 , 0x00000008 
+ 00005925  0x000013f7 rshift3  0x0000000c , 0x0000003f 
+ 00005926  0x000013f8 store  0x00000001 , 0x0000016c 
+ 00005927  0x000013f9 copy  0x0000003f , 0x00000039 
+ 00005928  0x000013fa branch  0x00001743 , 0x00000005 
+ 00005929  0x000013fc bmark1  0x00000032 , 0x0000172f 
+ 00005930  0x000013ff parse  0x00000003 , 0x00000000 , 0x00000008 
+ 00005931  0x00001400 rshift3  0x0000000c , 0x0000003f 
+ 00005932  0x00001401 istore  0x00000001 , 0x00000005 
+ 00005933  0x00001402 loop  0x0000172a 
+ 00005934  0x00001403 branch  0x00001743 
+ 00005935  0x00001406 copy  0x00000005 , 0x00000012 
+ 00005936  0x00001407 call  0x000018c0 
+ 00005937  0x00001409 fetchr  0x00000011 , 0x00000001 , 0x0000016c 
+ 00005938  0x0000140a increase  0xfffffffc , 0x00000011 
+ 00005939  0x0000140b nbranch  0x00001797 , 0x00000002 
+ 00005940  0x0000140d call  0x00001769 
+ 00005941  0x0000140e copy  0x00000012 , 0x00000005 
+ 00005942  0x0000140f arg  0x00000000 , 0x00000002 
+ 00005943  0x00001410 fetchr  0x00000039 , 0x00000001 , 0x0000016c 
+ 00005944  0x00001411 increase  0xfffffffc , 0x00000039 
+ 00005945  0x00001412 branch  0x00001741 , 0x00000005 
+ 00005946  0x00001415 parse  0x00000003 , 0x00000000 , 0x00000008 
+ 00005947  0x00001416 rshift3  0x0000000c , 0x0000003f 
+ 00005948  0x00001417 istore  0x00000001 , 0x00000005 
+ 00005949  0x00001418 increase  0x00000001 , 0x00000002 
+ 00005950  0x00001419 and  0x00000002 , 0x0000000f , 0x0000003e 
+ 00005951  0x0000141a call  0x00001786 , 0x00000005 
+ 00005952  0x0000141b loop  0x0000173a 
+ 00005953  0x0000141d call  0x0000178e 
+ 00005954  0x0000141e copy  0x00000012 , 0x00000005 
+ 00005955  0x00001422 bpatchx  0x000000b0 , 0x00004036 
+ 00005956  0x00001423 parse  0x00000003 , 0x00000000 , 0x00000018 
+ 00005957  0x00001424 rshift32  0x0000003f , 0x0000003f 
+ 00005958  0x00001425 rshift16  0x0000003f , 0x0000003f 
+ 00005959  0x00001426 istore  0x00000003 , 0x00000005 
+ 00005960  0x00001427 enable  0x00000010 
+ 00005961  0x00001428 call  0x000017b1 
+ 00005962  0x00001429 branch  0x0000179b , 0x00000006 
+ 00005963  0x0000142a bmark0  0x00000032 , 0x00001755 
+ 00005964  0x0000142b fetch  0x00000001 , 0x0000016c 
+ 00005965  0x0000142c branch  0x00001755 , 0x00000034 
+ 00005966  0x0000142d increase  0xfffffffc , 0x0000003f 
+ 00005967  0x0000142e store  0x00000001 , 0x0000016c 
+ 00005968  0x0000142f call  0x00006dbb 
+ 00005969  0x00001430 fetch  0x00000001 , 0x00008108 
+ 00005970  0x00001431 bbit0  0x00000007 , 0x00001797 
+ 00005971  0x00001432 force  0x0000000c , 0x00000038 
+ 00005972  0x00001433 storer  0x0000002f , 0x00000004 , 0x00000273 
+ 00005973  0x00001435 call  0x00004d0c 
+ 00005974  0x00001436 enable  0x0000002d 
+ 00005975  0x00001437 set0  0x00000030 , 0x00000000 
+ 00005976  0x00001439 call  0x00006dbd 
+ 00005977  0x0000143a fetch  0x00000001 , 0x000002bc 
+ 00005978  0x0000143b nsetflag  0x0000003c , 0x00000007 , 0x0000003f 
+ 00005979  0x0000143c store  0x00000001 , 0x000002bc 
+ 00005980  0x0000143e bpatchx  0x000000b1 , 0x00004036 
+ 00005981  0x0000143f fetcht  0x00000001 , 0x00000017 
+ 00005982  0x00001440 add  0x00000002 , 0x00000002 , 0x00000011 
+ 00005983  0x00001441 bmark1  0x0000002d , 0x00001761 
+ 00005984  0x00001442 add  0x00000002 , 0x00000002 , 0x00000011 
+ 00005985  0x00001444 disable  0x0000000d 
+ 00005986  0x00001445 call  0x0000115d 
+ 00005987  0x00001446 branch  0x000011c6 
+ 00005988  0x0000144a rtnmark0  0x00000032 
+ 00005989  0x0000144b call  0x00006e2f 
+ 00005990  0x0000144c force  0x0000000c , 0x00000038 
+ 00005991  0x0000144d call  0x00006e37 
+ 00005992  0x0000144e branch  0x00006e36 
+ 00005993  0x00001452 jam  0x00000000 , 0x000080d5 
+ 00005994  0x00001453 jam  0x00000001 , 0x000080d6 
+ 00005995  0x00001454 fetch  0x00000001 , 0x0000016b 
+ 00005996  0x00001455 and_into  0x00000003 , 0x0000003f 
+ 00005997  0x00001456 store  0x00000001 , 0x000080d7 
+ 00005998  0x00001458 setarg  0x0000016d 
+ 00005999  0x00001459 store  0x00000002 , 0x000080d1 
+ 00006000  0x0000145a store  0x00000002 , 0x000080d3 
+ 00006001  0x0000145c fetchr  0x00000011 , 0x00000001 , 0x0000016c 
+ 00006002  0x0000145d increase  0xfffffffc , 0x00000011 
+ 00006003  0x0000145f fetcht  0x00000005 , 0x000046a4 
+ 00006004  0x00001460 isolate1  0x0000000f , 0x00000000 
+ 00006005  0x00001461 call  0x0000177c , 0x00000001 
+ 00006006  0x00001462 call  0x00006cc9 
+ 00006007  0x00001463 setarg  0x00000000 
+ 00006008  0x00001464 store  0x00000002 , 0x000080da 
+ 00006009  0x00001465 jam  0x00000006 , 0x0000800a 
+ 00006010  0x00001466 jam  0x00000007 , 0x0000800a 
+ 00006011  0x00001467 rtn 
+ 00006012  0x0000146a sub  0x00000002 , 0x00000000 , 0x0000003e 
+ 00006013  0x0000146b branch  0x00001781 , 0x00000005 
+ 00006014  0x0000146c increase  0xffffffff , 0x00000002 
+ 00006015  0x0000146d set1  0x00000027 , 0x00000002 
+ 00006016  0x0000146e rtn 
+ 00006017  0x00001471 setarg  0x00ffffff 
+ 00006018  0x00001472 lshift16  0x0000003f , 0x0000003f 
+ 00006019  0x00001473 arg  0x0000ffff , 0x00000002 
+ 00006020  0x00001474 ior  0x00000002 , 0x00000002 
+ 00006021  0x00001475 rtn 
+ 00006022  0x00001478 copy  0x00000005 , 0x00000012 
+ 00006023  0x00001479 fetch  0x00000001 , 0x0000016c 
+ 00006024  0x0000147a increase  0xfffffffc , 0x0000003f 
+ 00006025  0x0000147b isub  0x00000002 , 0x0000003e 
+ 00006026  0x0000147c rtn  0x00000005 
+ 00006027  0x0000147d storet  0x00000002 , 0x000080da 
+ 00006028  0x0000147e copy  0x00000012 , 0x00000005 
+ 00006029  0x0000147f rtn 
+ 00006030  0x00001482 parse  0x00000003 , 0x00000000 , 0x00000020 
+ 00006031  0x00001483 rshift32  0x0000003f , 0x0000003f 
+ 00006032  0x00001484 rshift8  0x0000003f , 0x0000003f 
+ 00006033  0x00001485 istore  0x00000004 , 0x00000005 
+ 00006034  0x00001486 copy  0x00000005 , 0x00000012 
+ 00006035  0x00001488 force  0x00000000 , 0x00000038 
+ 00006036  0x00001489 copy  0x0000003f , 0x0000002f 
+ 00006037  0x0000148a storet  0x00000002 , 0x000080da 
+ 00006038  0x0000148b rtn 
+ 00006039  0x0000148e branch  0x000017a1 
+ 00006040  0x00001491 call  0x000017b1 
+ 00006041  0x00001492 call  0x00000e7c 
+ 00006042  0x00001493 branch  0x00001755 
+ 00006043  0x00001496 call  0x00004d0e 
+ 00006044  0x00001497 bmark1  0x00000030 , 0x0000179f 
+ 00006045  0x00001498 set1  0x00000030 , 0x00000000 
+ 00006046  0x00001499 branch  0x00001758 
+ 00006047  0x0000149d set0  0x00000030 , 0x00000000 
+ 00006048  0x0000149e branch  0x000017a1 
+ 00006049  0x000014a1 call  0x00006dbd 
+ 00006050  0x000014a2 branch  0x00000e7c 
+ 00006051  0x000014a5 bmark1  0x0000002f , 0x000017a9 
+ 00006052  0x000014a6 bmark1  0x0000002d , 0x000017ad 
+ 00006053  0x000014a7 fetch  0x00000002 , 0x00000165 
+ 00006054  0x000014a8 copy  0x0000003f , 0x00000029 
+ 00006055  0x000014a9 copy  0x00000021 , 0x00000028 
+ 00006056  0x000014aa rtn 
+ 00006057  0x000014ae fetch  0x00000002 , 0x00000169 
+ 00006058  0x000014af copy  0x0000003f , 0x00000029 
+ 00006059  0x000014b0 add  0x00000021 , 0x00000001 , 0x00000028 
+ 00006060  0x000014b1 rtn 
+ 00006061  0x000014b4 fetch  0x00000002 , 0x00000167 
+ 00006062  0x000014b5 copy  0x0000003f , 0x00000029 
+ 00006063  0x000014b6 copy  0x00000021 , 0x00000028 
+ 00006064  0x000014b7 rtn 
+ 00006065  0x000014bb fetch  0x00000001 , 0x0000016c 
+ 00006066  0x000014bc add  0x0000003f , 0x00000005 , 0x00000002 
+ 00006067  0x000014bd lshift3  0x00000002 , 0x00000002 
+ 00006068  0x000014be fetch  0x00000001 , 0x000002bc 
+ 00006069  0x000014bf bmark1  0x0000002f , 0x000017b8 
+ 00006070  0x000014c0 bbit1  0x00000000 , 0x000017ba 
+ 00006071  0x000014c1 bbit1  0x00000001 , 0x000017bb 
+ 00006072  0x000014c3 branch  0x000017bd , 0x0000003c 
+ 00006073  0x000014c4 branch  0x000017c0 
+ 00006074  0x000014c7 branch  0x000017c5 
+ 00006075  0x000014ca rshift  0x00000002 , 0x00000002 
+ 00006076  0x000014cb branch  0x000017c5 
+ 00006077  0x000014ce add  0x00000002 , 0x00000003 , 0x00000002 
+ 00006078  0x000014cf lshift  0x00000002 , 0x00000002 
+ 00006079  0x000014d0 branch  0x000017c2 
+ 00006080  0x000014d3 add  0x00000002 , 0x00000003 , 0x00000002 
+ 00006081  0x000014d4 lshift3  0x00000002 , 0x00000002 
+ 00006082  0x000014d6 setarg  0x00000028 
+ 00006083  0x000014d7 iadd  0x00000002 , 0x00000002 
+ 00006084  0x000014d8 branch  0x000017c5 
+ 00006085  0x000014db fetch  0x00000001 , 0x000041f0 
+ 00006086  0x000014dc imul32  0x00000002 , 0x00000002 
+ 00006087  0x000014dd arg  0x00004e20 , 0x00000011 
+ 00006088  0x000014de imul32  0x00000011 , 0x0000003f 
+ 00006089  0x000014df isub  0x00000002 , 0x00000002 
+ 00006090  0x000014e0 copy  0x0000001b , 0x0000003f 
+ 00006091  0x000014e1 isub  0x00000002 , 0x0000001b 
+ 00006092  0x000014e2 rtn 
+ 00006093  0x000014e5 call  0x000017e4 
+ 00006094  0x000014e6 fetcht  0x00000001 , 0x00000017 
+ 00006095  0x000014e7 call  0x0000118b 
+ 00006096  0x000014e8 call  0x000011a2 
+ 00006097  0x000014e9 enable  0x00000010 
+ 00006098  0x000014ea arg  0x0000157c , 0x0000000b 
+ 00006099  0x000014eb branch  0x00001701 
+ 00006100  0x000014ef bpatchx  0x000000b2 , 0x00004036 
+ 00006101  0x000014f0 fetch  0x00000001 , 0x000002bd 
+ 00006102  0x000014f1 call  0x00001637 
+ 00006103  0x000014f2 call  0x000017e4 
+ 00006104  0x000014f4 fetch  0x00000001 , 0x000002bc 
+ 00006105  0x000014f5 call  0x00001637 
+ 00006106  0x000014f7 fetcht  0x00000001 , 0x00000017 
+ 00006107  0x000014f8 call  0x0000118b 
+ 00006108  0x000014f9 call  0x000011a2 
+ 00006109  0x000014fa enable  0x00000010 
+ 00006110  0x000014fb arg  0x0000157c , 0x0000000b 
+ 00006111  0x000014fc bmark0  0x0000002f , 0x00001701 
+ 00006112  0x000014fd arg  0x00002134 , 0x0000000b 
+ 00006113  0x000014fe branch  0x00001701 
+ 00006114  0x00001501 call  0x000017e4 
+ 00006115  0x00001502 branch  0x00000e7c 
+ 00006116  0x00001505 bpatchx  0x000000b3 , 0x00004036 
+ 00006117  0x00001506 call  0x0000166a 
+ 00006118  0x00001507 call  0x00001678 
+ 00006119  0x00001508 call  0x00004d13 
+ 00006120  0x00001509 set1  0x00000000 , 0x00000015 
+ 00006121  0x0000150a enable  0x0000001d 
+ 00006122  0x0000150b enable  0x00000020 
+ 00006123  0x0000150c disable  0x00000021 
+ 00006124  0x0000150d call  0x000016f0 
+ 00006125  0x0000150e disable  0x0000003a 
+ 00006126  0x0000150f bmark1  0x0000002f , 0x00001826 
+ 00006127  0x00001510 bmark1  0x0000002d , 0x00001838 
+ 00006128  0x00001511 rshift16  0x00000009 , 0x0000003f 
+ 00006129  0x00001512 rshift8  0x0000003f , 0x0000003f 
+ 00006130  0x00001513 rshift4  0x0000003f , 0x0000003f 
+ 00006131  0x00001514 inject  0x00000003 , 0x00000028 
+ 00006132  0x00001516 enable  0x00000007 
+ 00006133  0x00001517 enable  0x00000009 
+ 00006134  0x00001518 bpatchx  0x000000b4 , 0x00004036 
+ 00006135  0x00001519 fetch  0x00000001 , 0x000041f5 
+ 00006136  0x0000151a inject  0x00000003 , 0x00000008 
+ 00006137  0x0000151b ifetch  0x00000001 , 0x00000006 
+ 00006138  0x0000151c copy  0x0000003f , 0x00000039 
+ 00006139  0x0000151d inject  0x00000003 , 0x00000008 
+ 00006140  0x0000151e sub  0x00000039 , 0x00000000 , 0x0000003e 
+ 00006141  0x0000151f branch  0x00001805 , 0x00000005 
+ 00006142  0x00001521 fetch  0x00000001 , 0x0000800a 
+ 00006143  0x00001522 branch  0x00001801 , 0x00000034 
+ 00006144  0x00001523 bmark1  0x00000032 , 0x0000181b 
+ 00006145  0x00001525 arg  0x000041f7 , 0x00000006 
+ 00006146  0x00001527 ifetch  0x00000001 , 0x00000006 
+ 00006147  0x00001528 inject  0x00000003 , 0x00000008 
+ 00006148  0x00001529 loop  0x00001802 
+ 00006149  0x0000152c enable  0x00000008 
+ 00006150  0x0000152d inject  0x00000003 , 0x00000018 
+ 00006151  0x0000152e disable  0x00000008 
+ 00006152  0x0000152f bmark0  0x0000002f , 0x0000180c 
+ 00006153  0x00001530 disable  0x00000007 
+ 00006154  0x00001531 setarg  0x00000000 
+ 00006155  0x00001532 inject  0x00000003 , 0x00000003 
+ 00006156  0x00001534 until  0x0000003e , 0x00000027 
+ 00006157  0x00001535 nop  0x00000064 
+ 00006158  0x00001536 disable  0x0000001d 
+ 00006159  0x00001537 disable  0x00000038 
+ 00006160  0x00001538 call  0x0000115d 
+ 00006161  0x00001539 call  0x00004d11 
+ 00006162  0x0000153b fetch  0x00000001 , 0x000041f5 
+ 00006163  0x0000153c and  0x0000003f , 0x00000003 , 0x0000003f 
+ 00006164  0x0000153d rtnne  0x00000003 
+ 00006165  0x0000153e fetch  0x00000001 , 0x0000439c 
+ 00006166  0x0000153f beq  0x00000002 , 0x00001901 
+ 00006167  0x00001540 rtnne  0x00000005 
+ 00006168  0x00001541 fetch  0x00000001 , 0x000041f7 
+ 00006169  0x00001542 beq  0x00000005 , 0x000018fc 
+ 00006170  0x00001543 rtn 
+ 00006171  0x00001547 increase  0xfffffffc , 0x00000039 
+ 00006172  0x00001548 copy  0x00000039 , 0x00000002 
+ 00006173  0x00001549 call  0x00006da8 
+ 00006174  0x0000154a arg  0x000041f7 , 0x00000006 
+ 00006175  0x0000154c ifetch  0x00000001 , 0x00000006 
+ 00006176  0x0000154d inject  0x00000003 , 0x00000008 
+ 00006177  0x0000154e loop  0x0000181f 
+ 00006178  0x0000154f call  0x00006dad 
+ 00006179  0x00001550 copy  0x0000002f , 0x0000003f 
+ 00006180  0x00001551 inject  0x00000003 , 0x00000020 
+ 00006181  0x00001552 branch  0x00001805 
+ 00006182  0x00001555 arg  0x0000000a , 0x00000039 
+ 00006183  0x00001557 setarg  0x0000003c 
+ 00006184  0x00001558 inject  0x00000003 , 0x00000008 
+ 00006185  0x00001559 loop  0x00001827 
+ 00006186  0x0000155a disable  0x0000001d 
+ 00006187  0x0000155b enable  0x00000038 
+ 00006188  0x0000155c rshift16  0x00000009 , 0x0000003f 
+ 00006189  0x0000155d rshift16  0x0000003f , 0x0000003f 
+ 00006190  0x0000155e rshift4  0x0000003f , 0x0000003f 
+ 00006191  0x0000155f inject  0x00000003 , 0x00000020 
+ 00006192  0x00001560 bmark1  0x0000002e , 0x00001835 
+ 00006193  0x00001562 setarg  0x00000001 
+ 00006194  0x00001563 inject  0x00000003 , 0x00000005 
+ 00006195  0x00001564 enable  0x0000003a 
+ 00006196  0x00001565 branch  0x000017f4 
+ 00006197  0x00001568 setarg  0x00000000 
+ 00006198  0x00001569 inject  0x00000003 , 0x00000005 
+ 00006199  0x0000156a branch  0x000017f4 
+ 00006200  0x0000156d fetch  0x00000001 , 0x000041f0 
+ 00006201  0x0000156e rshift  0x0000003f , 0x00000039 
+ 00006202  0x00001570 nop  0x00000002 
+ 00006203  0x00001571 loop  0x0000183a 
+ 00006204  0x00001573 rshift16  0x00000009 , 0x0000003f 
+ 00006205  0x00001574 rshift8  0x0000003f , 0x0000003f 
+ 00006206  0x00001575 rshift4  0x0000003f , 0x00000002 
+ 00006207  0x00001576 copy  0x00000002 , 0x0000003f 
+ 00006208  0x00001577 inject  0x00000003 , 0x00000008 
+ 00006209  0x00001578 copy  0x00000002 , 0x0000003f 
+ 00006210  0x00001579 inject  0x00000003 , 0x00000028 
+ 00006211  0x0000157a branch  0x000017f4 
+ 00006212  0x0000157e arg  0x00001848 , 0x00000013 
+ 00006213  0x0000157f arg  0x0000185c , 0x00000012 
+ 00006214  0x00001580 arg  0x00000005 , 0x00000007 
+ 00006215  0x00001581 branch  0x000018a0 
+ 00006216  0x00001584 add  0x00000011 , 0x00000004 , 0x00000006 
+ 00006217  0x00001585 ifetcht  0x00000004 , 0x00000006 
+ 00006218  0x00001586 add  0x00000011 , 0x00000037 , 0x00000006 
+ 00006219  0x00001587 ifetch  0x00000001 , 0x00000006 
+ 00006220  0x00001588 add  0x00000011 , 0x0000002b , 0x00000005 
+ 00006221  0x00001589 istore  0x00000001 , 0x00000005 
+ 00006222  0x0000158a ifetch  0x00000002 , 0x00000006 
+ 00006223  0x0000158b lshift2  0x0000003f , 0x0000003f 
+ 00006224  0x0000158c iadd  0x00000002 , 0x0000000b 
+ 00006225  0x0000158d add  0x00000011 , 0x00000004 , 0x00000005 
+ 00006226  0x0000158e deposit  0x0000000b 
+ 00006227  0x0000158f istore  0x00000004 , 0x00000005 
+ 00006228  0x00001590 ifetch  0x00000002 , 0x00000006 
+ 00006229  0x00001591 lshift2  0x0000003f , 0x0000003f 
+ 00006230  0x00001592 add  0x00000011 , 0x00000002 , 0x00000005 
+ 00006231  0x00001593 istore  0x00000002 , 0x00000005 
+ 00006232  0x00001594 ifetch  0x00000004 , 0x00000006 
+ 00006233  0x00001595 add  0x00000011 , 0x0000002c , 0x00000005 
+ 00006234  0x00001596 istore  0x00000004 , 0x00000005 
+ 00006235  0x00001597 branch  0x000019df 
+ 00006236  0x0000159a ifetch  0x00000001 , 0x00000011 
+ 00006237  0x0000159b set0  0x00000003 , 0x0000003f 
+ 00006238  0x0000159c istore  0x00000001 , 0x00000011 
+ 00006239  0x0000159d fetch  0x00000002 , 0x000002b5 
+ 00006240  0x0000159e store  0x00000002 , 0x00004394 
+ 00006241  0x0000159f storer  0x00000011 , 0x00000002 , 0x00000970 
+ 00006242  0x000015a0 jam  0x00000044 , 0x0000095b 
+ 00006243  0x000015a1 call  0x000078dc 
+ 00006244  0x000015a2 fetchr  0x00000011 , 0x00000002 , 0x00000970 
+ 00006245  0x000015a3 add  0x00000011 , 0x0000002e , 0x00000006 
+ 00006246  0x000015a4 ifetch  0x00000002 , 0x00000006 
+ 00006247  0x000015a5 store  0x00000002 , 0x00004394 
+ 00006248  0x000015a6 rtn 
+ 00006249  0x000015a9 arg  0x00000000 , 0x00000013 
+ 00006250  0x000015aa arg  0x0000186d , 0x00000012 
+ 00006251  0x000015ab arg  0x00000006 , 0x00000007 
+ 00006252  0x000015ac branch  0x000018a0 
+ 00006253  0x000015af add  0x00000011 , 0x00000037 , 0x00000006 
+ 00006254  0x000015b0 ifetch  0x00000005 , 0x00000006 
+ 00006255  0x000015b1 add  0x00000011 , 0x00000030 , 0x00000005 
+ 00006256  0x000015b2 istore  0x00000005 , 0x00000005 
+ 00006257  0x000015b3 branch  0x000016cc 
+ 00006258  0x000015b7 arg  0x00000000 , 0x00000013 
+ 00006259  0x000015b8 arg  0x00001876 , 0x00000012 
+ 00006260  0x000015b9 arg  0x00000007 , 0x00000007 
+ 00006261  0x000015ba branch  0x000018a0 
+ 00006262  0x000015bd add  0x00000011 , 0x00000037 , 0x00000006 
+ 00006263  0x000015be ifetch  0x00000001 , 0x00000006 
+ 00006264  0x000015bf call  0x00001883 
+ 00006265  0x000015c0 istore  0x00000001 , 0x00000005 
+ 00006266  0x000015c1 add  0x00000011 , 0x00000038 , 0x00000006 
+ 00006267  0x000015c2 ifetch  0x00000001 , 0x00000006 
+ 00006268  0x000015c3 call  0x00001891 
+ 00006269  0x000015c4 istore  0x00000001 , 0x00000005 
+ 00006270  0x000015c5 storer  0x00000011 , 0x00000002 , 0x00000970 
+ 00006271  0x000015c6 jam  0x00000042 , 0x0000095b 
+ 00006272  0x000015c7 call  0x000078dc 
+ 00006273  0x000015c8 fetchr  0x00000011 , 0x00000002 , 0x00000970 
+ 00006274  0x000015c9 rtn 
+ 00006275  0x000015cc call  0x0000188b , 0x00000034 
+ 00006276  0x000015cd add  0x00000011 , 0x00000035 , 0x00000005 
+ 00006277  0x000015ce nrtn  0x00000029 
+ 00006278  0x000015cf fetcht  0x00000001 , 0x00004442 
+ 00006279  0x000015d0 isolate1  0x00000007 , 0x00000002 
+ 00006280  0x000015d1 setflag  0x00000001 , 0x00000007 , 0x0000003f 
+ 00006281  0x000015d2 add  0x00000011 , 0x00000036 , 0x00000005 
+ 00006282  0x000015d3 rtn 
+ 00006283  0x000015d6 add  0x00000011 , 0x00000035 , 0x00000006 
+ 00006284  0x000015d7 ifetch  0x00000001 , 0x00000006 
+ 00006285  0x000015d8 nrtn  0x00000029 
+ 00006286  0x000015d9 add  0x00000011 , 0x00000036 , 0x00000006 
+ 00006287  0x000015da ifetch  0x00000001 , 0x00000006 
+ 00006288  0x000015db rtn 
+ 00006289  0x000015de call  0x0000189a , 0x00000034 
+ 00006290  0x000015df fetcht  0x00000001 , 0x00004442 
+ 00006291  0x000015e0 isolate1  0x00000007 , 0x00000002 
+ 00006292  0x000015e1 setflag  0x00000001 , 0x00000007 , 0x0000003f 
+ 00006293  0x000015e2 add  0x00000011 , 0x00000036 , 0x00000005 
+ 00006294  0x000015e3 nrtn  0x00000029 
+ 00006295  0x000015e4 set0  0x00000007 , 0x0000003f 
+ 00006296  0x000015e5 add  0x00000011 , 0x00000035 , 0x00000005 
+ 00006297  0x000015e6 rtn 
+ 00006298  0x000015e9 add  0x00000011 , 0x00000036 , 0x00000006 
+ 00006299  0x000015ea ifetch  0x00000001 , 0x00000006 
+ 00006300  0x000015eb nrtn  0x00000029 
+ 00006301  0x000015ec add  0x00000011 , 0x00000035 , 0x00000006 
+ 00006302  0x000015ed ifetch  0x00000001 , 0x00000006 
+ 00006303  0x000015ee rtn 
+ 00006304  0x000015f4 ifetch  0x00000001 , 0x00000011 
+ 00006305  0x000015f5 qisolate0  0x0000003f 
+ 00006306  0x000015f6 rtn  0x00000001 
+ 00006307  0x000015f7 add  0x00000011 , 0x0000001a , 0x00000006 
+ 00006308  0x000015f8 ifetcht  0x00000002 , 0x00000006 
+ 00006309  0x000015f9 add  0x00000011 , 0x00000020 , 0x00000006 
+ 00006310  0x000015fa ifetch  0x00000002 , 0x00000006 
+ 00006311  0x000015fc isub  0x00000002 , 0x0000003f 
+ 00006312  0x000015fd branch  0x000018af , 0x00000005 
+ 00006313  0x000015fe nbranch  0x000018b4 , 0x00000002 
+ 00006314  0x000015ff sub  0x0000003f , 0x00000001 , 0x0000003e 
+ 00006315  0x00001600 branch  0x000018ad , 0x00000005 
+ 00006316  0x00001601 rtn 
+ 00006317  0x00001604 copy  0x00000013 , 0x0000003f 
+ 00006318  0x00001605 branch  0x00007e7a 
+ 00006319  0x00001608 ifetch  0x00000001 , 0x00000011 
+ 00006320  0x00001609 qset0  0x0000003f 
+ 00006321  0x0000160a istore  0x00000001 , 0x00000011 
+ 00006322  0x0000160b copy  0x00000012 , 0x0000003f 
+ 00006323  0x0000160c branch  0x00007e7a 
+ 00006324  0x0000160f add  0x00000011 , 0x0000001a , 0x00000006 
+ 00006325  0x00001610 ifetch  0x00000002 , 0x00000006 
+ 00006326  0x00001611 add  0x00000011 , 0x00000020 , 0x00000006 
+ 00006327  0x00001612 ifetch  0x00000002 , 0x00000006 
+ 00006328  0x00001613 isub  0x00000002 , 0x0000003f 
+ 00006329  0x00001614 arg  0x0000ffff , 0x00000002 
+ 00006330  0x00001615 isub  0x00000002 , 0x0000003e 
+ 00006331  0x00001616 branch  0x000018af , 0x00000005 
+ 00006332  0x00001617 arg  0x0000f000 , 0x00000002 
+ 00006333  0x00001618 isub  0x00000002 , 0x0000003e 
+ 00006334  0x00001619 nbranch  0x000018af , 0x00000002 
+ 00006335  0x0000161a rtn 
+ 00006336  0x0000161e fetcht  0x00000001 , 0x0000029e 
+ 00006337  0x0000161f fetch  0x00000001 , 0x0000016b 
+ 00006338  0x00001622 rshift  0x0000003f , 0x0000003f 
+ 00006339  0x00001623 ixor  0x00000002 , 0x0000003f 
+ 00006340  0x00001624 isolate1  0x00000002 , 0x0000003f 
+ 00006341  0x00001625 setflag  0x00000001 , 0x0000000f , 0x00000000 
+ 00006342  0x00001626 rtn 
+ 00006343  0x0000162a bpatchx  0x000000b5 , 0x00004036 
+ 00006344  0x0000162b call  0x000019dc 
+ 00006345  0x0000162c rtnmark1  0x00000030 
+ 00006346  0x0000162d call  0x000018ee 
+ 00006347  0x0000162e fetch  0x00000001 , 0x0000016b 
+ 00006348  0x0000162f isolate1  0x00000004 , 0x0000003f 
+ 00006349  0x00001630 setflag  0x00000001 , 0x0000002a , 0x00000000 
+ 00006350  0x00001631 rshift  0x0000003f , 0x0000003f 
+ 00006351  0x00001632 ixor  0x00000002 , 0x0000003f 
+ 00006352  0x00001633 isolate1  0x00000002 , 0x0000003f 
+ 00006353  0x00001634 setflag  0x00000001 , 0x0000000f , 0x00000000 
+ 00006354  0x00001635 rtnmark1  0x0000000f 
+ 00006355  0x00001636 fetch  0x00000001 , 0x0000016c 
+ 00006356  0x00001637 branch  0x000018e0 , 0x00000034 
+ 00006357  0x00001638 fetch  0x00000001 , 0x00000287 
+ 00006358  0x00001639 bbit0  0x00000004 , 0x000018e0 
+ 00006359  0x0000163a fetcht  0x00000004 , 0x00000273 
+ 00006360  0x0000163b fetch  0x00000004 , 0x000046a9 
+ 00006361  0x0000163c isub  0x00000002 , 0x0000003e 
+ 00006362  0x0000163d branch  0x0000137c , 0x00000005 
+ 00006363  0x0000163e storet  0x00000004 , 0x000046a9 
+ 00006364  0x0000163f fetch  0x00000005 , 0x000046a4 
+ 00006365  0x00001640 increase  0x00000001 , 0x0000003f 
+ 00006366  0x00001641 set1  0x00000027 , 0x0000003f 
+ 00006367  0x00001642 store  0x00000005 , 0x000046a4 
+ 00006368  0x00001645 fetcht  0x00000001 , 0x0000029e 
+ 00006369  0x00001646 setflip  0x00000002 , 0x00000002 
+ 00006370  0x00001647 storet  0x00000001 , 0x0000029e 
+ 00006371  0x00001648 fetch  0x00000001 , 0x000043c0 
+ 00006372  0x00001649 rtnbit0  0x00000006 
+ 00006373  0x0000164a bpatchx  0x000000b6 , 0x00004036 
+ 00006374  0x0000164b fetch  0x00000001 , 0x0000016c 
+ 00006375  0x0000164c rtn  0x00000034 
+ 00006376  0x0000164d fetch  0x00000001 , 0x0000016b 
+ 00006377  0x0000164e compare  0x00000001 , 0x0000003f , 0x00000003 
+ 00006378  0x0000164f branch  0x00001ed7 , 0x00000001 
+ 00006379  0x00001650 compare  0x00000002 , 0x0000003f , 0x00000003 
+ 00006380  0x00001651 branch  0x00001ec5 , 0x00000001 
+ 00006381  0x00001652 rtn 
+ 00006382  0x00001656 bpatchx  0x000000b7 , 0x00004036 
+ 00006383  0x00001657 fetcht  0x00000001 , 0x0000029e 
+ 00006384  0x00001658 isolate0  0x00000005 , 0x00000002 
+ 00006385  0x00001659 rtn  0x00000001 
+ 00006386  0x0000165a fetch  0x00000001 , 0x0000016b 
+ 00006387  0x0000165b lshift  0x0000003f , 0x0000003f 
+ 00006388  0x0000165c ixor  0x00000002 , 0x0000003f 
+ 00006389  0x0000165d rtnbit0  0x00000003 
+ 00006390  0x0000165e set0  0x00000005 , 0x00000002 
+ 00006391  0x0000165f setflip  0x00000003 , 0x00000002 
+ 00006392  0x00001660 storet  0x00000001 , 0x0000029e 
+ 00006393  0x00001661 compare  0x00000003 , 0x00000002 , 0x00000003 
+ 00006394  0x00001662 nrtn  0x00000001 
+ 00006395  0x00001663 rtn 
+ 00006396  0x00001667 fetch  0x00000001 , 0x00000287 
+ 00006397  0x00001668 set1  0x00000004 , 0x0000003f 
+ 00006398  0x00001669 store  0x00000001 , 0x00000287 
+ 00006399  0x0000166a set1  0x00000032 , 0x00000000 
+ 00006400  0x0000166b rtn 
+ 00006401  0x0000166e bpatchx  0x000000b8 , 0x00004037 
+ 00006402  0x0000166f jam  0x00000000 , 0x0000439c 
+ 00006403  0x00001670 arg  0x00000000 , 0x0000003f 
+ 00006404  0x00001671 store  0x00000004 , 0x000046a9 
+ 00006405  0x00001672 store  0x00000005 , 0x0000469f 
+ 00006406  0x00001673 set1  0x00000027 , 0x0000003f 
+ 00006407  0x00001674 store  0x00000005 , 0x000046a4 
+ 00006408  0x00001675 fetch  0x00000001 , 0x00000287 
+ 00006409  0x00001676 set0  0x00000004 , 0x0000003f 
+ 00006410  0x00001677 store  0x00000001 , 0x00000287 
+ 00006411  0x00001678 set0  0x00000032 , 0x00000000 
+ 00006412  0x00001679 rtn 
+ 00006413  0x0000167f arg  0x00000001 , 0x00000011 
+ 00006414  0x00001680 fetch  0x00000001 , 0x0000016b 
+ 00006415  0x00001681 rtnbit1  0x00000006 
+ 00006416  0x00001682 arg  0x00000000 , 0x00000011 
+ 00006417  0x00001683 rtn 
+ 00006418  0x00001687 copy  0x00000006 , 0x00000005 
+ 00006419  0x00001688 fetcht  0x00000002 , 0x00004444 
+ 00006420  0x00001689 copy  0x00000005 , 0x00000006 
+ 00006421  0x0000168a rtn 
+ 00006422  0x0000168e bpatchx  0x000000b9 , 0x00004037 
+ 00006423  0x0000168f fetch  0x00000001 , 0x0000029e 
+ 00006424  0x00001690 rtnbit1  0x00000005 
+ 00006425  0x00001691 call  0x00001937 
+ 00006426  0x00001692 call  0x00001b0d 
+ 00006427  0x00001693 branch  0x0000195b , 0x00000034 
+ 00006428  0x00001694 ifetch  0x00000002 , 0x00000006 
+ 00006429  0x00001695 ifetcht  0x00000002 , 0x00000006 
+ 00006430  0x00001696 copy  0x00000002 , 0x00000011 
+ 00006431  0x00001697 isub  0x00000011 , 0x0000003f 
+ 00006432  0x00001698 call  0x00001912 
+ 00006433  0x00001699 call  0x00007ebb 
+ 00006434  0x0000169a copy  0x0000003f , 0x00000002 
+ 00006435  0x0000169b ifetchr  0x00000001 , 0x00000001 , 0x00000006 
+ 00006436  0x0000169c copy  0x00000011 , 0x0000003f 
+ 00006437  0x0000169d iadd  0x00000006 , 0x0000003f 
+ 00006438  0x0000169e store  0x00000002 , 0x0000097b 
+ 00006439  0x0000169f call  0x0000194b 
+ 00006440  0x000016a0 call  0x0000195d 
+ 00006441  0x000016a2 call  0x00001b0d 
+ 00006442  0x000016a3 ifetch  0x00000002 , 0x00000006 
+ 00006443  0x000016a4 copy  0x0000003f , 0x00000011 
+ 00006444  0x000016a5 copy  0x00000006 , 0x00000013 
+ 00006445  0x000016a6 ifetcht  0x00000002 , 0x00000006 
+ 00006446  0x000016a7 copy  0x00000002 , 0x00000012 
+ 00006447  0x000016a8 isub  0x00000012 , 0x0000003f 
+ 00006448  0x000016a9 call  0x00001912 
+ 00006449  0x000016aa call  0x00007ebb 
+ 00006450  0x000016ab iadd  0x00000012 , 0x0000003f 
+ 00006451  0x000016ac istore  0x00000002 , 0x00000013 
+ 00006452  0x000016ad isub  0x00000011 , 0x0000003e 
+ 00006453  0x000016ae nrtn  0x00000005 
+ 00006454  0x000016af branch  0x00001b26 
+ 00006455  0x000016b3 call  0x0000193e 
+ 00006456  0x000016b4 rtnmark1  0x00000029 
+ 00006457  0x000016b5 fetch  0x00000001 , 0x000043c0 
+ 00006458  0x000016b6 bbit0  0x00000002 , 0x00001949 
+ 00006459  0x000016b7 call  0x00001b10 
+ 00006460  0x000016b8 branch  0x00001949 , 0x00000034 
+ 00006461  0x000016b9 branch  0x00001947 
+ 00006462  0x000016bd call  0x00001b0d 
+ 00006463  0x000016be branch  0x00001949 , 0x00000034 
+ 00006464  0x000016bf ifetch  0x00000002 , 0x00000006 
+ 00006465  0x000016c0 ifetcht  0x00000002 , 0x00000006 
+ 00006466  0x000016c1 isub  0x00000002 , 0x00000011 
+ 00006467  0x000016c2 call  0x00001912 
+ 00006468  0x000016c3 copy  0x00000002 , 0x0000003f 
+ 00006469  0x000016c4 isub  0x00000011 , 0x0000003e 
+ 00006470  0x000016c5 branch  0x00001949 , 0x00000002 
+ 00006471  0x000016c7 set1  0x00000029 , 0x00000000 
+ 00006472  0x000016c8 rtn 
+ 00006473  0x000016cb set0  0x00000029 , 0x00000000 
+ 00006474  0x000016cc rtn 
+ 00006475  0x000016cf copy  0x00000011 , 0x0000003f 
+ 00006476  0x000016d0 rtn  0x00000034 
+ 00006477  0x000016d1 arg  0x00000001 , 0x00000001 
+ 00006478  0x000016d2 rtn 
+ 00006479  0x000016d6 bpatchx  0x000000ba , 0x00004037 
+ 00006480  0x000016d7 increase  0x00000001 , 0x00000002 
+ 00006481  0x000016d8 call  0x00001a0e 
+ 00006482  0x000016d9 increase  0xfffffffe , 0x00000006 
+ 00006483  0x000016da ifetch  0x00000002 , 0x00000006 
+ 00006484  0x000016db arg  0x00002902 , 0x00000002 
+ 00006485  0x000016dc isub  0x00000002 , 0x0000003e 
+ 00006486  0x000016dd nrtn  0x00000005 
+ 00006487  0x000016de increase  0x00000001 , 0x00000006 
+ 00006488  0x000016df copy  0x00000006 , 0x00000011 
+ 00006489  0x000016e0 ifetch  0x00000001 , 0x00000006 
+ 00006490  0x000016e1 rtn 
+ 00006491  0x000016e5 force  0x00000000 , 0x00000002 
+ 00006492  0x000016e6 force  0x00000001 , 0x00000001 
+ 00006493  0x000016e9 bpatchx  0x000000bb , 0x00004037 
+ 00006494  0x000016ea storet  0x00000001 , 0x000041f6 
+ 00006495  0x000016eb fetcht  0x00000001 , 0x0000029e 
+ 00006496  0x000016ec set1  0x00000005 , 0x00000002 
+ 00006497  0x000016ed and  0x00000002 , 0x000000fc , 0x0000003f 
+ 00006498  0x000016ee ior  0x00000001 , 0x0000003f 
+ 00006499  0x000016ef store  0x00000001 , 0x0000029e 
+ 00006500  0x000016f0 and_into  0x0000001f , 0x0000003f 
+ 00006501  0x000016f1 isolate1  0x00000029 , 0x00000000 
+ 00006502  0x000016f2 setflag  0x00000001 , 0x00000004 , 0x0000003f 
+ 00006503  0x000016f3 store  0x00000001 , 0x000041f5 
+ 00006504  0x000016f5 fetch  0x00000001 , 0x000041f5 
+ 00006505  0x000016f6 compare  0x00000001 , 0x00000001 , 0x00000003 
+ 00006506  0x000016f7 nbranch  0x0000196d , 0x00000001 
+ 00006507  0x000016f8 fetch  0x00000001 , 0x000041f6 
+ 00006508  0x000016f9 rtn  0x00000034 
+ 00006509  0x000016fc bmark1  0x00000032 , 0x00001973 
+ 00006510  0x000016fd fetchr  0x00000039 , 0x00000001 , 0x000041f6 
+ 00006511  0x000016fe fetch  0x00000002 , 0x0000097b 
+ 00006512  0x000016ff copy  0x0000003f , 0x00000006 
+ 00006513  0x00001700 arg  0x000041f7 , 0x00000005 
+ 00006514  0x00001701 branch  0x00007dc7 
+ 00006515  0x00001704 call  0x00006e2f 
+ 00006516  0x00001705 branch  0x00006d8f 
+ 00006517  0x00001708 arg  0x00000000 , 0x00000007 
+ 00006518  0x00001709 branch  0x00001566 
+ 00006519  0x0000170c arg  0x00000000 , 0x00000007 
+ 00006520  0x0000170d branch  0x0000156a 
+ 00006521  0x00001711 bpatchx  0x000000bc , 0x00004037 
+ 00006522  0x00001712 rtnmark1  0x0000000f 
+ 00006523  0x00001713 rtnmark1  0x00000030 
+ 00006524  0x00001714 fetch  0x00000001 , 0x0000016b 
+ 00006525  0x00001715 and  0x0000003f , 0x00000003 , 0x0000003f 
+ 00006526  0x00001716 store  0x00000001 , 0x000043d3 
+ 00006527  0x00001717 fetch  0x00000001 , 0x0000016c 
+ 00006528  0x00001718 rtn  0x00000034 
+ 00006529  0x00001719 setarg  0x0000016d 
+ 00006530  0x0000171a store  0x00000002 , 0x000043d8 
+ 00006531  0x0000171b bpatchx  0x000000bd , 0x00004037 
+ 00006532  0x0000171c fetch  0x00000001 , 0x000043d3 
+ 00006533  0x0000171d beq  0x00000003 , 0x000020b8 
+ 00006534  0x0000171f call  0x00001993 
+ 00006535  0x00001720 nbranch  0x00001975 , 0x00000028 
+ 00006536  0x00001721 call  0x00001977 
+ 00006537  0x00001722 setarg  0x00000000 
+ 00006538  0x00001723 store  0x00000002 , 0x000043d6 
+ 00006539  0x00001724 fetch  0x00000002 , 0x000043d8 
+ 00006540  0x00001725 add  0x0000003f , 0x00000002 , 0x00000006 
+ 00006541  0x00001726 bpatchx  0x000000be , 0x00004037 
+ 00006542  0x00001727 ifetch  0x00000002 , 0x00000006 
+ 00006543  0x00001728 beq  0x00000004 , 0x00001c7d 
+ 00006544  0x00001729 beq  0x00000006 , 0x00001f39 
+ 00006545  0x0000172a beq  0x00000005 , 0x00001efb 
+ 00006546  0x0000172b rtn 
+ 00006547  0x0000172f fetch  0x00000001 , 0x000043d3 
+ 00006548  0x00001730 beq  0x00000002 , 0x000019a2 
+ 00006549  0x00001731 beq  0x00000001 , 0x000019b9 
+ 00006550  0x00001732 rtn 
+ 00006551  0x00001738 call  0x00007ec5 
+ 00006552  0x00001739 arg  0x00000004 , 0x00000002 
+ 00006553  0x0000173a isub  0x0000003f , 0x0000003e 
+ 00006554  0x0000173b rtn  0x00000005 
+ 00006555  0x0000173c arg  0x00000005 , 0x00000002 
+ 00006556  0x0000173d isub  0x0000003f , 0x0000003e 
+ 00006557  0x0000173e rtn  0x00000005 
+ 00006558  0x0000173f arg  0x00000006 , 0x00000002 
+ 00006559  0x00001740 isub  0x0000003f , 0x0000003e 
+ 00006560  0x00001741 rtn  0x00000005 
+ 00006561  0x00001742 branch  0x00007ec7 
+ 00006562  0x00001746 fetch  0x00000002 , 0x000043d8 
+ 00006563  0x00001747 copy  0x0000003f , 0x00000006 
+ 00006564  0x00001748 ifetch  0x00000002 , 0x00000006 
+ 00006565  0x00001749 store  0x00000002 , 0x000043d4 
+ 00006566  0x0000174a ifetch  0x00000002 , 0x00000006 
+ 00006567  0x0000174b call  0x00001997 
+ 00006568  0x0000174c nrtn  0x00000028 
+ 00006569  0x0000174d fetcht  0x00000001 , 0x0000016c 
+ 00006570  0x0000174e storet  0x00000002 , 0x000043d6 
+ 00006571  0x0000174f fetch  0x00000002 , 0x000043d4 
+ 00006572  0x00001750 increase  0x00000004 , 0x0000003f 
+ 00006573  0x00001751 isub  0x00000002 , 0x0000003e 
+ 00006574  0x00001752 branch  0x00007ec5 , 0x00000005 
+ 00006575  0x00001753 fetchr  0x00000039 , 0x00000001 , 0x0000016c 
+ 00006576  0x00001754 arg  0x00001000 , 0x00000005 
+ 00006577  0x00001755 fetch  0x00000002 , 0x000043d8 
+ 00006578  0x00001756 copy  0x0000003f , 0x00000006 
+ 00006579  0x00001757 call  0x00007dc7 
+ 00006580  0x00001758 branch  0x00007ec7 
+ 00006581  0x0000175e call  0x00007ec5 
+ 00006582  0x0000175f fetch  0x00000002 , 0x000043d6 
+ 00006583  0x00001760 nrtn  0x00000034 
+ 00006584  0x00001761 branch  0x00007ec7 
+ 00006585  0x00001764 call  0x000019b5 
+ 00006586  0x00001765 nrtn  0x00000028 
+ 00006587  0x00001766 fetch  0x00000002 , 0x000043d6 
+ 00006588  0x00001767 arg  0x00001000 , 0x00000005 
+ 00006589  0x00001768 iadd  0x00000005 , 0x00000011 
+ 00006590  0x00001769 fetcht  0x00000001 , 0x0000016c 
+ 00006591  0x0000176a iadd  0x00000002 , 0x0000003f 
+ 00006592  0x0000176b store  0x00000002 , 0x000043d6 
+ 00006593  0x0000176c fetchr  0x00000039 , 0x00000001 , 0x0000016c 
+ 00006594  0x0000176d copy  0x00000011 , 0x00000005 
+ 00006595  0x0000176e fetch  0x00000002 , 0x000043d8 
+ 00006596  0x0000176f copy  0x0000003f , 0x00000006 
+ 00006597  0x00001770 call  0x00007dc7 
+ 00006598  0x00001771 setarg  0x00001000 
+ 00006599  0x00001772 store  0x00000002 , 0x000043d8 
+ 00006600  0x00001773 fetch  0x00000002 , 0x000043d4 
+ 00006601  0x00001774 increase  0x00000004 , 0x0000003f 
+ 00006602  0x00001775 fetcht  0x00000002 , 0x000043d6 
+ 00006603  0x00001776 isub  0x00000002 , 0x0000003e 
+ 00006604  0x00001777 branch  0x00007ec5 , 0x00000005 
+ 00006605  0x00001778 branch  0x00007ec7 
+ 00006606  0x0000177f call  0x00007d5e 
+ 00006607  0x00001780 arg  0x00004359 , 0x00000005 
+ 00006608  0x00001781 branch  0x00001ebf 
+ 00006609  0x00001786 fetch  0x00000002 , 0x0000446b 
+ 00006610  0x00001787 branch  0x00007e7a 
+ 00006611  0x0000178a fetcht  0x00000004 , 0x000002a3 
+ 00006612  0x0000178b call  0x0000136b 
+ 00006613  0x0000178c isub  0x00000002 , 0x0000000b 
+ 00006614  0x0000178d deposit  0x0000000b 
+ 00006615  0x0000178e fetcht  0x00000002 , 0x000002b5 
+ 00006616  0x0000178f lshift4  0x00000002 , 0x00000002 
+ 00006617  0x00001790 lshift  0x00000002 , 0x00000002 
+ 00006618  0x00001791 isub  0x00000002 , 0x0000003f 
+ 00006619  0x00001792 rtn 
+ 00006620  0x00001795 call  0x0000136b 
+ 00006621  0x00001796 store  0x00000004 , 0x000002a3 
+ 00006622  0x00001797 rtn 
+ 00006623  0x0000179c bpatchx  0x000000bf , 0x00004037 
+ 00006624  0x0000179d add  0x00000011 , 0x00000050 , 0x00000006 
+ 00006625  0x0000179e ifetch  0x00000001 , 0x00000006 
+ 00006626  0x0000179f call  0x00001692 
+ 00006627  0x000017a0 add  0x00000011 , 0x00000002 , 0x00000006 
+ 00006628  0x000017a1 ifetch  0x00000002 , 0x00000006 
+ 00006629  0x000017a2 imul32  0x00000002 , 0x0000003f 
+ 00006630  0x000017a3 fetcht  0x00000002 , 0x00000163 
+ 00006631  0x000017a4 imul32  0x00000002 , 0x0000003f 
+ 00006632  0x000017a5 arg  0x000f4240 , 0x00000002 
+ 00006633  0x000017a6 idiv  0x00000002 
+ 00006634  0x000017a7 arg  0x00000682 , 0x00000002 
+ 00006635  0x000017a8 fetch  0x00000001 , 0x000041f0 
+ 00006636  0x000017a9 imul32  0x00000002 , 0x00000002 
+ 00006637  0x000017aa add  0x00000011 , 0x0000002b , 0x00000006 
+ 00006638  0x000017ab ifetch  0x00000001 , 0x00000006 
+ 00006639  0x000017ac imul32  0x00000002 , 0x0000003f 
+ 00006640  0x000017ad iadd  0x00000002 , 0x0000003f 
+ 00006641  0x000017ae store  0x00000004 , 0x000043bc 
+ 00006642  0x000017af fetch  0x00000002 , 0x000040c8 
+ 00006643  0x000017b0 call  0x00007e64 
+ 00006644  0x000017b1 quotient  0x00000002 
+ 00006645  0x000017b2 iadd  0x00000002 , 0x0000003f 
+ 00006646  0x000017b3 add  0x00000011 , 0x0000000e , 0x00000005 
+ 00006647  0x000017b4 istore  0x00000002 , 0x00000005 
+ 00006648  0x000017b5 rtn 
+ 00006649  0x000017ba bpatchx  0x000000c0 , 0x00004038 
+ 00006650  0x000017bb fetch  0x00000002 , 0x0000099e 
+ 00006651  0x000017bc iforce  0x00000012 
+ 00006652  0x000017bd fetch  0x00000002 , 0x000009a0 
+ 00006653  0x000017be iforce  0x00000013 
+ 00006654  0x000017bf fetch  0x00000002 , 0x00004396 
+ 00006655  0x000017c0 iforce  0x00000006 
+ 00006656  0x000017c1 enable  0x00000028 
+ 00006657  0x000017c2 rtn 
+ 00006658  0x000017c6 ifetch  0x00000002 , 0x00000006 
+ 00006659  0x000017c7 and_into  0x000000ff , 0x0000003f 
+ 00006660  0x000017c8 rtn  0x00000034 
+ 00006661  0x000017c9 isub  0x00000012 , 0x0000003e 
+ 00006662  0x000017ca nrtn  0x00000002 
+ 00006663  0x000017cb isub  0x00000013 , 0x0000003e 
+ 00006664  0x000017cc rtn  0x00000005 
+ 00006665  0x000017cd branch  0x00001a0c , 0x00000002 
+ 00006666  0x000017ce force  0x00000001 , 0x0000003e 
+ 00006667  0x000017cf rtn 
+ 00006668  0x000017d1 force  0x00000000 , 0x0000003f 
+ 00006669  0x000017d2 rtn 
+ 00006670  0x000017d7 call  0x00001a11 
+ 00006671  0x000017d8 branch  0x00001a1e , 0x00000005 
+ 00006672  0x000017d9 rtn 
+ 00006673  0x000017dc bpatchx  0x000000c1 , 0x00004038 
+ 00006674  0x000017dd fetch  0x00000002 , 0x00004396 
+ 00006675  0x000017de iforce  0x00000006 
+ 00006676  0x000017e0 ifetch  0x00000002 , 0x00000006 
+ 00006677  0x000017e1 and_into  0x000000ff , 0x0000003f 
+ 00006678  0x000017e2 rtn  0x00000034 
+ 00006679  0x000017e3 isub  0x00000002 , 0x0000003e 
+ 00006680  0x000017e4 rtn  0x00000005 
+ 00006681  0x000017e5 ifetch  0x00000001 , 0x00000006 
+ 00006682  0x000017e6 iadd  0x00000006 , 0x00000006 
+ 00006683  0x000017e7 ifetch  0x00000001 , 0x00000006 
+ 00006684  0x000017e8 iadd  0x00000006 , 0x00000006 
+ 00006685  0x000017e9 branch  0x00001a14 
+ 00006686  0x000017eb ifetch  0x00000001 , 0x00000006 
+ 00006687  0x000017ec iadd  0x00000006 , 0x00000006 
+ 00006688  0x000017ed rtn 
+ 00006689  0x000017f2 bpatchx  0x000000c2 , 0x00004038 
+ 00006690  0x000017f3 fetch  0x00000002 , 0x00004396 
+ 00006691  0x000017f4 iforce  0x00000006 
+ 00006692  0x000017f6 ifetch  0x00000002 , 0x00000006 
+ 00006693  0x000017f7 and_into  0x000000ff , 0x0000003f 
+ 00006694  0x000017f8 rtn  0x00000034 
+ 00006695  0x000017f9 ifetch  0x00000001 , 0x00000006 
+ 00006696  0x000017fa iadd  0x00000006 , 0x00000006 
+ 00006697  0x000017fb increase  0xfffffffe , 0x00000006 
+ 00006698  0x000017fc ifetch  0x00000002 , 0x00000006 
+ 00006699  0x000017fd isub  0x00000002 , 0x0000003e 
+ 00006700  0x000017fe rtn  0x00000005 
+ 00006701  0x000017ff ifetch  0x00000001 , 0x00000006 
+ 00006702  0x00001800 iadd  0x00000006 , 0x00000006 
+ 00006703  0x00001801 branch  0x00001a24 
+ 00006704  0x00001807 fetch  0x00000002 , 0x00004396 
+ 00006705  0x00001808 iforce  0x00000006 
+ 00006706  0x0000180a ifetch  0x00000002 , 0x00000006 
+ 00006707  0x0000180b and_into  0x000000ff , 0x0000003f 
+ 00006708  0x0000180c rtn  0x00000034 
+ 00006709  0x0000180d add  0x0000003f , 0x00000001 , 0x00000002 
+ 00006710  0x0000180e ifetch  0x00000001 , 0x00000006 
+ 00006711  0x0000180f iadd  0x00000006 , 0x00000006 
+ 00006712  0x00001810 ifetch  0x00000001 , 0x00000006 
+ 00006713  0x00001811 iadd  0x00000006 , 0x00000006 
+ 00006714  0x00001812 copy  0x00000006 , 0x00000005 
+ 00006715  0x00001813 branch  0x00001a32 
+ 00006716  0x00001817 fetch  0x00000002 , 0x000009b4 
+ 00006717  0x00001818 branch  0x00001a40 
+ 00006718  0x0000181b bpatchx  0x000000c3 , 0x00004038 
+ 00006719  0x0000181c fetch  0x00000002 , 0x00004396 
+ 00006720  0x0000181e iforce  0x00000006 
+ 00006721  0x00001820 ifetch  0x00000002 , 0x00000006 
+ 00006722  0x00001821 and_into  0x000000ff , 0x0000003f 
+ 00006723  0x00001822 branch  0x00001a4b , 0x00000034 
+ 00006724  0x00001823 isub  0x00000002 , 0x0000003e 
+ 00006725  0x00001824 branch  0x00001a4c , 0x00000005 
+ 00006726  0x00001825 ifetch  0x00000001 , 0x00000006 
+ 00006727  0x00001826 iadd  0x00000006 , 0x00000006 
+ 00006728  0x00001827 ifetch  0x00000001 , 0x00000006 
+ 00006729  0x00001828 iadd  0x00000006 , 0x00000006 
+ 00006730  0x00001829 branch  0x00001a41 
+ 00006731  0x0000182b branch  0x00007ecf 
+ 00006732  0x0000182e ifetch  0x00000001 , 0x00000006 
+ 00006733  0x0000182f store  0x00000001 , 0x000009ba 
+ 00006734  0x00001830 copy  0x0000003f , 0x00000039 
+ 00006735  0x00001831 arg  0x000009bb , 0x00000005 
+ 00006736  0x00001832 call  0x00007dc7 
+ 00006737  0x00001833 ifetch  0x00000001 , 0x00000006 
+ 00006738  0x00001834 store  0x00000001 , 0x000009b3 
+ 00006739  0x00001835 call  0x00007d5e 
+ 00006740  0x00001836 branch  0x00007ed1 
+ 00006741  0x0000183a bpatchx  0x000000c4 , 0x00004038 
+ 00006742  0x0000183b call  0x00001a58 
+ 00006743  0x0000183c branch  0x00001a6a 
+ 00006744  0x0000183f arg  0x00002a00 , 0x00000002 
+ 00006745  0x00001840 call  0x00001a21 
+ 00006746  0x00001841 rtn  0x00000034 
+ 00006747  0x00001842 ifetch  0x00000001 , 0x00000006 
+ 00006748  0x00001843 copy  0x00000006 , 0x00000005 
+ 00006749  0x00001844 fetcht  0x00000001 , 0x000042f7 
+ 00006750  0x00001845 copy  0x00000002 , 0x00000039 
+ 00006751  0x00001846 isub  0x00000002 , 0x0000003e 
+ 00006752  0x00001847 nbranch  0x00001a67 , 0x00000002 
+ 00006753  0x00001848 isub  0x00000002 , 0x00000002 
+ 00006754  0x00001849 arg  0x000042f8 , 0x00000006 
+ 00006755  0x0000184a call  0x00007dc7 
+ 00006756  0x0000184b copy  0x00000002 , 0x00000039 
+ 00006757  0x0000184c ncall  0x00001aa2 , 0x00000005 
+ 00006758  0x0000184d rtn 
+ 00006759  0x0000184f copy  0x0000003f , 0x00000039 
+ 00006760  0x00001850 arg  0x000042f8 , 0x00000006 
+ 00006761  0x00001851 branch  0x00007dc7 
+ 00006762  0x00001855 arg  0x00004407 , 0x00000013 
+ 00006763  0x00001856 arg  0x000043e8 , 0x00000011 
+ 00006764  0x00001857 call  0x00001a77 
+ 00006765  0x00001858 setarg  0x00000000 
+ 00006766  0x00001859 setflag  0x00000028 , 0x00000000 , 0x0000003f 
+ 00006767  0x0000185a store  0x00000001 , 0x0000095c 
+ 00006768  0x0000185b arg  0x00004427 , 0x00000013 
+ 00006769  0x0000185c arg  0x00004408 , 0x00000011 
+ 00006770  0x0000185d call  0x00001a77 
+ 00006771  0x0000185e rtn  0x00000028 
+ 00006772  0x0000185f fetch  0x00000001 , 0x0000095c 
+ 00006773  0x00001860 branch  0x0000137c , 0x00000034 
+ 00006774  0x00001861 rtn 
+ 00006775  0x00001865 bpatchx  0x000000c5 , 0x00004038 
+ 00006776  0x00001866 call  0x00007ec5 
+ 00006777  0x00001867 call  0x00007da1 
+ 00006778  0x00001868 arg  0x00000000 , 0x00000012 
+ 00006779  0x00001869 arg  0x0000098f , 0x00000005 
+ 00006780  0x0000186a call  0x00001a91 
+ 00006781  0x0000186b fetch  0x00000001 , 0x000042f7 
+ 00006782  0x0000186c add  0x0000003f , 0x00000001 , 0x00000002 
+ 00006783  0x0000186d iadd  0x00000012 , 0x00000011 
+ 00006784  0x0000186e increase  0x00000002 , 0x00000011 
+ 00006785  0x0000186f sub  0x00000011 , 0x0000001f , 0x0000003e 
+ 00006786  0x00001870 nbranch  0x00001a8f , 0x00000002 
+ 00006787  0x00001871 istoret  0x00000001 , 0x00000005 
+ 00006788  0x00001872 arg  0x00000009 , 0x00000002 
+ 00006789  0x00001873 istoret  0x00000001 , 0x00000005 
+ 00006790  0x00001874 iforce  0x00000039 
+ 00006791  0x00001875 call  0x00007dc7 
+ 00006792  0x00001876 copy  0x00000011 , 0x00000012 
+ 00006793  0x00001878 deposit  0x00000012 
+ 00006794  0x00001879 store  0x00000001 , 0x0000098e 
+ 00006795  0x0000187a arg  0x0000098e , 0x00000006 
+ 00006796  0x0000187b setarg  0xffffffe0 
+ 00006797  0x0000187c iadd  0x00000013 , 0x00000005 
+ 00006798  0x0000187d branch  0x00007d7d 
+ 00006799  0x00001880 call  0x00007ec7 
+ 00006800  0x00001881 branch  0x00001a89 
+ 00006801  0x00001884 ifetch  0x00000001 , 0x00000011 
+ 00006802  0x00001885 rtn  0x00000034 
+ 00006803  0x00001886 pincrease  0x00000001 
+ 00006804  0x00001887 ifetcht  0x00000001 , 0x00000006 
+ 00006805  0x00001888 sub  0x00000002 , 0x00000009 , 0x0000003e 
+ 00006806  0x00001889 branch  0x00001aa0 , 0x00000005 
+ 00006807  0x0000188a iadd  0x00000012 , 0x00000012 
+ 00006808  0x0000188b copy  0x00000011 , 0x00000006 
+ 00006809  0x0000188c iforce  0x00000039 
+ 00006810  0x0000188d call  0x00007dc7 
+ 00006811  0x0000188e copy  0x00000006 , 0x00000011 
+ 00006812  0x00001890 deposit  0x00000011 
+ 00006813  0x00001891 isub  0x00000013 , 0x0000003e 
+ 00006814  0x00001892 rtn  0x00000002 
+ 00006815  0x00001893 branch  0x00001a91 
+ 00006816  0x00001896 iadd  0x00000011 , 0x00000011 
+ 00006817  0x00001897 branch  0x00001a9c 
+ 00006818  0x0000189b setarg  0x00000020 
+ 00006819  0x0000189c istore  0x00000001 , 0x00000005 
+ 00006820  0x0000189d loop  0x00001aa2 
+ 00006821  0x0000189e rtn 
+ 00006822  0x000018a2 bpatchx  0x000000c6 , 0x00004038 
+ 00006823  0x000018a3 disable  0x0000002b 
+ 00006824  0x000018a4 branch  0x00001aaa , 0x0000002e 
+ 00006825  0x000018a5 nbranch  0x00001ab8 , 0x0000002d 
+ 00006826  0x000018a7 call  0x00001512 
+ 00006827  0x000018a8 fetch  0x00000002 , 0x000040c8 
+ 00006828  0x000018a9 store  0x00000002 , 0x00000295 
+ 00006829  0x000018ab nbranch  0x00001525 , 0x0000002d 
+ 00006830  0x000018ac bmark1  0x0000000f , 0x00001525 
+ 00006831  0x000018ae fetch  0x00000001 , 0x0000016c 
+ 00006832  0x000018af nbranch  0x00001525 , 0x00000034 
+ 00006833  0x000018b0 fetch  0x00000001 , 0x000041f6 
+ 00006834  0x000018b1 nbranch  0x00001525 , 0x00000034 
+ 00006835  0x000018b3 fetch  0x00000001 , 0x000043c0 
+ 00006836  0x000018b4 bbit1  0x00000005 , 0x00001525 
+ 00006837  0x000018b6 fetch  0x00000001 , 0x00000287 
+ 00006838  0x000018b7 bbit1  0x00000005 , 0x00001525 
+ 00006839  0x000018b8 branch  0x00001504 
+ 00006840  0x000018bb fetcht  0x00000002 , 0x000040c8 
+ 00006841  0x000018bc rshift  0x00000002 , 0x00000002 
+ 00006842  0x000018bd fetch  0x00000002 , 0x00000295 
+ 00006843  0x000018be iadd  0x00000002 , 0x0000003f 
+ 00006844  0x000018bf store  0x00000002 , 0x00000295 
+ 00006845  0x000018c0 branch  0x0000151d 
+ 00006846  0x000018c4 arg  0x00000000 , 0x00000007 
+ 00006847  0x000018c5 branch  0x00001ad6 
+ 00006848  0x000018c8 arg  0x00000000 , 0x00000007 
+ 00006849  0x000018c9 branch  0x00001ada 
+ 00006850  0x000018cc arg  0x00000001 , 0x00000007 
+ 00006851  0x000018cd branch  0x00001ad6 
+ 00006852  0x000018d0 arg  0x00000001 , 0x00000007 
+ 00006853  0x000018d1 branch  0x00001ada 
+ 00006854  0x000018d4 arg  0x00000002 , 0x00000007 
+ 00006855  0x000018d5 branch  0x00001ad6 
+ 00006856  0x000018d8 arg  0x00000002 , 0x00000007 
+ 00006857  0x000018d9 branch  0x00001ada 
+ 00006858  0x000018dc arg  0x00000003 , 0x00000007 
+ 00006859  0x000018dd branch  0x00001ad6 
+ 00006860  0x000018e0 arg  0x00000003 , 0x00000007 
+ 00006861  0x000018e1 branch  0x00001ada 
+ 00006862  0x000018e4 arg  0x00000004 , 0x00000007 
+ 00006863  0x000018e5 branch  0x00001ad6 
+ 00006864  0x000018e8 arg  0x00000004 , 0x00000007 
+ 00006865  0x000018e9 branch  0x00001ada 
+ 00006866  0x000018ec arg  0x00000005 , 0x00000007 
+ 00006867  0x000018ed branch  0x00001ad6 
+ 00006868  0x000018f0 arg  0x00000005 , 0x00000007 
+ 00006869  0x000018f1 branch  0x00001ada 
+ 00006870  0x000018f5 fetch  0x00000001 , 0x000043c0 
+ 00006871  0x000018f6 qset1  0x0000003f 
+ 00006872  0x000018f7 store  0x00000001 , 0x000043c0 
+ 00006873  0x000018f8 rtn 
+ 00006874  0x000018fb fetch  0x00000001 , 0x000043c0 
+ 00006875  0x000018fc qset0  0x0000003f 
+ 00006876  0x000018fd store  0x00000001 , 0x000043c0 
+ 00006877  0x000018fe rtn 
+ 00006878  0x00001901 setarg  0x00112233 
+ 00006879  0x00001902 store  0x00000003 , 0x000043c1 
+ 00006880  0x00001903 setarg  0x00445566 
+ 00006881  0x00001904 istore  0x00000003 , 0x00000005 
+ 00006882  0x00001905 setarg  0x00778899 
+ 00006883  0x00001906 istore  0x00000003 , 0x00000005 
+ 00006884  0x00001907 setarg  0x00001122 
+ 00006885  0x00001908 istore  0x00000003 , 0x00000005 
+ 00006886  0x00001909 setarg  0x00334455 
+ 00006887  0x0000190a istore  0x00000003 , 0x00000005 
+ 00006888  0x0000190b setarg  0x00000066 
+ 00006889  0x0000190c istore  0x00000001 , 0x00000005 
+ 00006890  0x0000190d rtn 
+ 00006891  0x00001911 setarg  0x01000302 
+ 00006892  0x00001912 store  0x00000004 , 0x00004350 
+ 00006893  0x00001913 setarg  0x00010010 
+ 00006894  0x00001914 store  0x00000003 , 0x00004354 
+ 00006895  0x00001915 jam  0x00000001 , 0x0000439d 
+ 00006896  0x00001916 rtn 
+ 00006897  0x0000191b arg  0x00000000 , 0x00000011 
+ 00006898  0x0000191c arg  0x00000001 , 0x00000001 
+ 00006899  0x0000191d branch  0x00001b02 
+ 00006900  0x00001922 arg  0x00000003 , 0x00000001 
+ 00006901  0x00001923 call  0x00001b02 
+ 00006902  0x00001924 copy  0x00000012 , 0x0000003f 
+ 00006903  0x00001925 istore  0x00000001 , 0x00000005 
+ 00006904  0x00001926 rtn 
+ 00006905  0x0000192b force  0x00000002 , 0x00000001 
+ 00006906  0x0000192c increase  0x00000004 , 0x00000011 
+ 00006907  0x0000192d call  0x00001b02 
+ 00006908  0x0000192e increase  0xfffffffc , 0x00000011 
+ 00006909  0x0000192f copy  0x00000011 , 0x0000003f 
+ 00006910  0x00001930 istore  0x00000002 , 0x00000005 
+ 00006911  0x00001931 copy  0x00000012 , 0x0000003f 
+ 00006912  0x00001932 istore  0x00000002 , 0x00000005 
+ 00006913  0x00001933 rtn 
+ 00006914  0x00001938 bpatchx  0x000000c7 , 0x00004038 
+ 00006915  0x00001939 increase  0x00000005 , 0x00000011 
+ 00006916  0x0000193a call  0x000052ff 
+ 00006917  0x0000193b increase  0xfffffffb , 0x00000011 
+ 00006918  0x0000193c copy  0x00000011 , 0x0000003f 
+ 00006919  0x0000193d istore  0x00000002 , 0x00000005 
+ 00006920  0x0000193e setarg  0x00000000 
+ 00006921  0x0000193f istore  0x00000002 , 0x00000005 
+ 00006922  0x00001940 copy  0x00000001 , 0x0000003f 
+ 00006923  0x00001941 istore  0x00000001 , 0x00000005 
+ 00006924  0x00001942 rtn 
+ 00006925  0x00001946 call  0x00005339 
+ 00006926  0x00001947 copy  0x0000003f , 0x00000006 
+ 00006927  0x00001948 rtn 
+ 00006928  0x0000194b fetch  0x00000002 , 0x000044f1 
+ 00006929  0x0000194c rtn 
+ 00006930  0x0000194f call  0x00001b15 
+ 00006931  0x00001950 copy  0x0000003f , 0x00000006 
+ 00006932  0x00001951 rtn 
+ 00006933  0x00001955 fetch  0x00000002 , 0x000044f4 
+ 00006934  0x00001956 rtn 
+ 00006935  0x0000195a call  0x00001b0d 
+ 00006936  0x0000195b increase  0x00000005 , 0x00000006 
+ 00006937  0x0000195c rtn 
+ 00006938  0x0000195f call  0x00001b0d 
+ 00006939  0x00001960 increase  0x00000009 , 0x00000006 
+ 00006940  0x00001961 rtn 
+ 00006941  0x00001964 call  0x00001b12 
+ 00006942  0x00001965 increase  0x00000009 , 0x00000006 
+ 00006943  0x00001966 rtn 
+ 00006944  0x00001969 call  0x00001b12 
+ 00006945  0x0000196a increase  0x00000005 , 0x00000006 
+ 00006946  0x0000196b rtn 
+ 00006947  0x0000196f branch  0x0000534f 
+ 00006948  0x00001973 branch  0x00005352 
+ 00006949  0x00001977 branch  0x00005355 
+ 00006950  0x0000197b branch  0x0000533e 
+ 00006951  0x0000197f store  0x00000008 , 0x0000444c 
+ 00006952  0x00001980 branch  0x00001b39 
+ 00006953  0x00001984 and  0x00000002 , 0x000000ff , 0x00000011 
+ 00006954  0x00001985 call  0x00001b2d 
+ 00006955  0x00001986 rshift8  0x00000002 , 0x00000011 
+ 00006956  0x00001987 branch  0x00001b33 
+ 00006957  0x0000198a storer  0x00000011 , 0x00000001 , 0x00004442 
+ 00006958  0x0000198b isolate1  0x00000001 , 0x00000011 
+ 00006959  0x0000198c call  0x00001b35 , 0x00000001 
+ 00006960  0x0000198d isolate1  0x00000002 , 0x00000011 
+ 00006961  0x0000198e call  0x00001b37 , 0x00000001 
+ 00006962  0x0000198f rtn 
+ 00006963  0x00001992 storer  0x00000011 , 0x00000001 , 0x00004443 
+ 00006964  0x00001993 branch  0x00001b2e 
+ 00006965  0x00001997 arg  0x00000008 , 0x00000007 
+ 00006966  0x00001998 branch  0x00001b3b 
+ 00006967  0x0000199c arg  0x0000000b , 0x00000007 
+ 00006968  0x0000199d branch  0x00001b3b 
+ 00006969  0x000019a1 arg  0x00000005 , 0x00000007 
+ 00006970  0x000019a2 branch  0x00001b3b 
+ 00006971  0x000019a6 fetch  0x00000008 , 0x0000443a 
+ 00006972  0x000019a7 qset1  0x0000003f 
+ 00006973  0x000019a8 store  0x00000008 , 0x0000443a 
+ 00006974  0x000019a9 rtn 
+ 00006975  0x000019b0 jam  0x00000001 , 0x000002bc 
+ 00006976  0x000019b1 jam  0x00000001 , 0x000002bd 
+ 00006977  0x000019b2 call  0x00001651 
+ 00006978  0x000019b3 call  0x00001b45 
+ 00006979  0x000019b4 call  0x00001bc3 
+ 00006980  0x000019b5 branch  0x0000165e 
+ 00006981  0x000019b8 bpatchx  0x000000c8 , 0x00004039 
+ 00006982  0x000019b9 fetch  0x00000001 , 0x000043e2 
+ 00006983  0x000019ba rtnne  0x00000001 
+ 00006984  0x000019bb arg  0x00000002 , 0x00000007 
+ 00006985  0x000019bc call  0x00007de9 
+ 00006986  0x000019bd nrtn  0x00000034 
+ 00006987  0x000019be fetch  0x00000002 , 0x000043e3 
+ 00006988  0x000019bf fetcht  0x00000002 , 0x000043e5 
+ 00006989  0x000019c0 isub  0x00000002 , 0x0000003f 
+ 00006990  0x000019c1 arg  0x00000002 , 0x00000007 
+ 00006991  0x000019c2 call  0x00007ddb 
+ 00006992  0x000019c3 disable  0x00000029 
+ 00006993  0x000019c4 call  0x00001be4 
+ 00006994  0x000019c5 call  0x00001b64 
+ 00006995  0x000019c6 nrtn  0x0000002d 
+ 00006996  0x000019c7 bpatchx  0x000000c9 , 0x00004039 
+ 00006997  0x000019c8 fetch  0x00000006 , 0x0000016d 
+ 00006998  0x000019c9 store  0x00000006 , 0x00000297 
+ 00006999  0x000019cc fetch  0x00000001 , 0x00000002 
+ 00007000  0x000019cd increase  0x00000001 , 0x0000003f 
+ 00007001  0x000019ce store  0x00000001 , 0x00000002 
+ 00007002  0x000019cf call  0x00001b6b 
+ 00007003  0x000019d0 rtn  0x00000029 
+ 00007004  0x000019d1 call  0x00001c0b 
+ 00007005  0x000019d2 nrtn  0x0000002d 
+ 00007006  0x000019d3 fetch  0x00000001 , 0x00000004 
+ 00007007  0x000019d4 increase  0x00000001 , 0x0000003f 
+ 00007008  0x000019d5 store  0x00000001 , 0x00000004 
+ 00007009  0x000019d6 fetch  0x00000009 , 0x00000173 
+ 00007010  0x000019d7 store  0x00000009 , 0x00000a01 
+ 00007011  0x000019d8 rtn 
+ 00007012  0x000019dc bpatchx  0x000000ca , 0x00004039 
+ 00007013  0x000019dd call  0x00001c56 
+ 00007014  0x000019de call  0x000016f6 
+ 00007015  0x000019df fetch  0x00000001 , 0x00000001 
+ 00007016  0x000019e0 increase  0x00000001 , 0x0000003f 
+ 00007017  0x000019e1 store  0x00000001 , 0x00000001 
+ 00007018  0x000019e2 rtn 
+ 00007019  0x000019e6 bpatchx  0x000000cb , 0x00004039 
+ 00007020  0x000019e7 fetch  0x00000001 , 0x000002e0 
+ 00007021  0x000019e8 rtnne  0x0000001b 
+ 00007022  0x000019e9 fetch  0x00000006 , 0x00000297 
+ 00007023  0x000019ea fetcht  0x00000006 , 0x0000436b 
+ 00007024  0x000019eb isub  0x00000002 , 0x0000003e 
+ 00007025  0x000019ec nrtn  0x00000005 
+ 00007026  0x000019ed call  0x00000a48 
+ 00007027  0x000019ee nrtn  0x00000005 
+ 00007028  0x000019ef call  0x00001b7b 
+ 00007029  0x000019f0 call  0x000015ae 
+ 00007030  0x000019f1 jam  0x00000000 , 0x000041db 
+ 00007031  0x000019f2 jam  0x00000000 , 0x000002d7 
+ 00007032  0x000019f3 jam  0x00000000 , 0x000043e2 
+ 00007033  0x000019f4 jam  0x00000000 , 0x000002e0 
+ 00007034  0x000019f5 branch  0x00000a30 
+ 00007035  0x000019f8 bpatchx  0x000000cc , 0x00004039 
+ 00007036  0x000019f9 force  0xffffffff , 0x0000003f 
+ 00007037  0x000019fa setsect  0x00000002 , 0x00000001 
+ 00007038  0x000019fb store  0x00000005 , 0x000002b7 
+ 00007039  0x000019fc arg  0x00000287 , 0x00000011 
+ 00007040  0x000019fd call  0x000016cc 
+ 00007041  0x000019fe force  0x00000004 , 0x00000039 
+ 00007042  0x000019ff arg  0x000002ab , 0x00000005 
+ 00007043  0x00001a00 call  0x00005a90 
+ 00007044  0x00001a01 fetch  0x00000002 , 0x00004378 
+ 00007045  0x00001a02 store  0x00000002 , 0x000002b5 
+ 00007046  0x00001a04 random  0x0000003f 
+ 00007047  0x00001a05 and_into  0x0000000f , 0x0000003f 
+ 00007048  0x00001a06 sub  0x0000003f , 0x00000004 , 0x0000003e 
+ 00007049  0x00001a07 branch  0x00001b86 , 0x00000002 
+ 00007050  0x00001a08 store  0x00000001 , 0x000002a0 
+ 00007051  0x00001a09 store  0x00000001 , 0x000005a8 
+ 00007052  0x00001a0a bpatchx  0x000000cd , 0x00004039 
+ 00007053  0x00001a0b fetcht  0x00000002 , 0x000041f3 
+ 00007054  0x00001a0c storet  0x00000002 , 0x00000289 
+ 00007055  0x00001a0d copy  0x00000002 , 0x00000013 
+ 00007056  0x00001a0e add  0x00000022 , 0x00000007 , 0x0000003f 
+ 00007057  0x00001a0f idiv  0x00000013 
+ 00007058  0x00001a10 call  0x00007e64 
+ 00007059  0x00001a11 remainder  0x00000011 
+ 00007060  0x00001a12 isub  0x00000011 , 0x0000003f 
+ 00007061  0x00001a13 iadd  0x00000013 , 0x0000003f 
+ 00007062  0x00001a14 fetcht  0x00000002 , 0x000041f1 
+ 00007063  0x00001a15 iadd  0x00000002 , 0x0000003f 
+ 00007064  0x00001a16 store  0x00000004 , 0x0000028b 
+ 00007065  0x00001a17 isub  0x00000022 , 0x00000011 
+ 00007066  0x00001a18 increase  0xfffffffa , 0x00000011 
+ 00007067  0x00001a19 arg  0x00002205 , 0x00000012 
+ 00007068  0x00001a1a fetch  0x00000001 , 0x00004371 
+ 00007069  0x00001a1b nsetflag  0x00000034 , 0x00000006 , 0x00000012 
+ 00007070  0x00001a1c fetch  0x00000001 , 0x0000436a 
+ 00007071  0x00001a1d nsetflag  0x00000034 , 0x00000007 , 0x00000012 
+ 00007072  0x00001a1e copy  0x00000012 , 0x0000003f 
+ 00007073  0x00001a1f store  0x00000002 , 0x000041f5 
+ 00007074  0x00001a20 fetch  0x00000006 , 0x0000437a 
+ 00007075  0x00001a21 istore  0x00000006 , 0x00000005 
+ 00007076  0x00001a22 fetch  0x00000006 , 0x00000297 
+ 00007077  0x00001a23 istore  0x00000006 , 0x00000005 
+ 00007078  0x00001a24 fetch  0x00000004 , 0x000002ab 
+ 00007079  0x00001a25 istore  0x00000004 , 0x00000005 
+ 00007080  0x00001a26 random  0x0000003f 
+ 00007081  0x00001a27 istore  0x00000002 , 0x00000005 
+ 00007082  0x00001a28 random  0x0000003f 
+ 00007083  0x00001a29 istore  0x00000001 , 0x00000005 
+ 00007084  0x00001a2a force  0x00000002 , 0x0000003f 
+ 00007085  0x00001a2b istore  0x00000001 , 0x00000005 
+ 00007086  0x00001a2c rshift2  0x00000011 , 0x0000003f 
+ 00007087  0x00001a2d istore  0x00000002 , 0x00000005 
+ 00007088  0x00001a2e rshift2  0x00000013 , 0x0000003f 
+ 00007089  0x00001a2f istore  0x00000002 , 0x00000005 
+ 00007090  0x00001a30 bpatchx  0x000000ce , 0x00004039 
+ 00007091  0x00001a31 setarg  0x00000000 
+ 00007092  0x00001a32 istore  0x00000002 , 0x00000005 
+ 00007093  0x00001a33 fetch  0x00000002 , 0x00004378 
+ 00007094  0x00001a34 istore  0x00000002 , 0x00000005 
+ 00007095  0x00001a35 fetch  0x00000005 , 0x000002b7 
+ 00007096  0x00001a36 istore  0x00000005 , 0x00000005 
+ 00007097  0x00001a37 fetch  0x00000001 , 0x000002a0 
+ 00007098  0x00001a38 arg  0x000000a0 , 0x00000002 
+ 00007099  0x00001a39 ior  0x00000002 , 0x0000003f 
+ 00007100  0x00001a3a istore  0x00000001 , 0x00000005 
+ 00007101  0x00001a3b call  0x000017e2 
+ 00007102  0x00001a3c setarg  0x000041f5 
+ 00007103  0x00001a3d add  0x0000003f , 0x00000012 , 0x00000006 
+ 00007104  0x00001a3e ifetch  0x00000003 , 0x00000006 
+ 00007105  0x00001a3f store  0x00000003 , 0x000002af 
+ 00007106  0x00001a40 rtn 
+ 00007107  0x00001a45 jam  0x00000024 , 0x00000016 
+ 00007108  0x00001a46 jam  0x00000000 , 0x0000098e 
+ 00007109  0x00001a48 fetch  0x00000001 , 0x00004427 
+ 00007110  0x00001a49 rtn  0x00000034 
+ 00007111  0x00001a4a arg  0x00000000 , 0x00000007 
+ 00007112  0x00001a4b call  0x00007de9 
+ 00007113  0x00001a4c nrtn  0x00000034 
+ 00007114  0x00001a4d bpatchx  0x000000cf , 0x00004039 
+ 00007115  0x00001a4f enable  0x00000010 
+ 00007116  0x00001a50 call  0x00001be4 
+ 00007117  0x00001a51 call  0x00001c56 
+ 00007118  0x00001a52 call  0x00001bed 
+ 00007119  0x00001a53 nbranch  0x00001bd7 , 0x0000002d 
+ 00007120  0x00001a54 fetch  0x00000001 , 0x00000003 
+ 00007121  0x00001a55 increase  0x00000001 , 0x0000003f 
+ 00007122  0x00001a56 store  0x00000001 , 0x00000003 
+ 00007123  0x00001a57 fetch  0x00000001 , 0x0000016b 
+ 00007124  0x00001a58 and  0x0000003f , 0x0000000f , 0x0000003f 
+ 00007125  0x00001a59 beq  0x00000003 , 0x00001c1c 
+ 00007126  0x00001a5a beq  0x00000005 , 0x00001c2e 
+ 00007127  0x00001a5c bpatchx  0x000000d0 , 0x0000403a 
+ 00007128  0x00001a5d fetch  0x00000001 , 0x0000098e 
+ 00007129  0x00001a5e fetcht  0x00000001 , 0x00004432 
+ 00007130  0x00001a5f isub  0x00000002 , 0x0000003e 
+ 00007131  0x00001a60 nbranch  0x00001bc5 , 0x00000005 
+ 00007132  0x00001a61 random  0x0000003f 
+ 00007133  0x00001a62 arg  0x000001ff , 0x00000002 
+ 00007134  0x00001a63 iand  0x00000002 , 0x0000003f 
+ 00007135  0x00001a64 add  0x0000003f , 0x000000fa , 0x0000003f 
+ 00007136  0x00001a65 call  0x00007d81 
+ 00007137  0x00001a66 arg  0x00000000 , 0x00000007 
+ 00007138  0x00001a67 fetch  0x00000002 , 0x00004428 
+ 00007139  0x00001a68 branch  0x00007ddb 
+ 00007140  0x00001a6c bpatchx  0x000000d1 , 0x0000403a 
+ 00007141  0x00001a6d disable  0x00000029 
+ 00007142  0x00001a6f setarg  0x008e89be 
+ 00007143  0x00001a70 lshift8  0x0000003f , 0x0000003f 
+ 00007144  0x00001a71 or_into  0x000000d6 , 0x0000003f 
+ 00007145  0x00001a72 iforce  0x00000009 
+ 00007146  0x00001a73 setarg  0x00555555 
+ 00007147  0x00001a74 store  0x00000003 , 0x000002af 
+ 00007148  0x00001a75 branch  0x000010ac 
+ 00007149  0x00001a7a bpatchx  0x000000d2 , 0x0000403a 
+ 00007150  0x00001a7b fetch  0x00000001 , 0x0000442a 
+ 00007151  0x00001a7c fetcht  0x00000001 , 0x0000442b 
+ 00007152  0x00001a7d lshift4  0x00000002 , 0x00000002 
+ 00007153  0x00001a7e lshift2  0x00000002 , 0x00000002 
+ 00007154  0x00001a7f iadd  0x00000002 , 0x00000002 
+ 00007155  0x00001a80 storet  0x00000001 , 0x000041f5 
+ 00007156  0x00001a81 beq  0x00000001 , 0x00001bfe 
+ 00007157  0x00001a82 fetcht  0x00000001 , 0x000043e7 
+ 00007158  0x00001a83 add  0x00000002 , 0x00000006 , 0x0000003f 
+ 00007159  0x00001a84 store  0x00000001 , 0x000041f6 
+ 00007160  0x00001a85 fetch  0x00000006 , 0x0000437a 
+ 00007161  0x00001a86 store  0x00000006 , 0x000041f7 
+ 00007162  0x00001a87 copy  0x00000002 , 0x00000039 
+ 00007163  0x00001a88 arg  0x000043e8 , 0x00000006 
+ 00007164  0x00001a89 call  0x00007dc7 
+ 00007165  0x00001a8a branch  0x00001c04 
+ 00007166  0x00001a8d setarg  0x0000000c 
+ 00007167  0x00001a8e store  0x00000001 , 0x000041f6 
+ 00007168  0x00001a8f fetch  0x00000006 , 0x0000437a 
+ 00007169  0x00001a90 store  0x00000006 , 0x000041f7 
+ 00007170  0x00001a91 fetch  0x00000006 , 0x000041dd 
+ 00007171  0x00001a92 istore  0x00000006 , 0x00000005 
+ 00007172  0x00001a94 bpatchx  0x000000d3 , 0x0000403a 
+ 00007173  0x00001a95 fetch  0x00000001 , 0x00000000 
+ 00007174  0x00001a96 increase  0x00000001 , 0x0000003f 
+ 00007175  0x00001a97 store  0x00000001 , 0x00000000 
+ 00007176  0x00001a98 arg  0x00000708 , 0x0000001b 
+ 00007177  0x00001a99 disable  0x0000002d 
+ 00007178  0x00001a9a branch  0x000017cd 
+ 00007179  0x00001a9e bpatchx  0x000000d4 , 0x0000403a 
+ 00007180  0x00001a9f fetch  0x00000001 , 0x00004433 
+ 00007181  0x00001aa0 rtnne  0x00000001 
+ 00007182  0x00001aa1 fetch  0x00000001 , 0x00000000 
+ 00007183  0x00001aa2 increase  0x00000001 , 0x0000003f 
+ 00007184  0x00001aa3 store  0x00000001 , 0x00000000 
+ 00007185  0x00001aa4 arg  0x00000c03 , 0x00000002 
+ 00007186  0x00001aa5 fetch  0x00000001 , 0x00004434 
+ 00007187  0x00001aa6 nsetflag  0x00000034 , 0x00000006 , 0x00000002 
+ 00007188  0x00001aa7 copy  0x00000011 , 0x0000003f 
+ 00007189  0x00001aa8 nsetflag  0x00000034 , 0x00000007 , 0x00000002 
+ 00007190  0x00001aa9 storet  0x00000002 , 0x000041f5 
+ 00007191  0x00001aaa fetch  0x00000006 , 0x0000437a 
+ 00007192  0x00001aab istore  0x00000006 , 0x00000005 
+ 00007193  0x00001aac fetch  0x00000006 , 0x00000297 
+ 00007194  0x00001aad istore  0x00000006 , 0x00000005 
+ 00007195  0x00001aae branch  0x000017cd 
+ 00007196  0x00001ab1 fetch  0x00000006 , 0x00000173 
+ 00007197  0x00001ab2 fetcht  0x00000006 , 0x0000437a 
+ 00007198  0x00001ab3 isub  0x00000002 , 0x0000003e 
+ 00007199  0x00001ab4 nrtn  0x00000005 
+ 00007200  0x00001ab5 arg  0x00000004 , 0x00000002 
+ 00007201  0x00001ab6 fetch  0x00000001 , 0x0000442b 
+ 00007202  0x00001ab7 nsetflag  0x00000034 , 0x00000006 , 0x00000002 
+ 00007203  0x00001ab8 storet  0x00000001 , 0x000041f5 
+ 00007204  0x00001ab9 fetcht  0x00000001 , 0x00004407 
+ 00007205  0x00001aba add  0x00000002 , 0x00000006 , 0x0000003f 
+ 00007206  0x00001abb store  0x00000001 , 0x000041f6 
+ 00007207  0x00001abc fetch  0x00000006 , 0x0000437a 
+ 00007208  0x00001abd store  0x00000006 , 0x000041f7 
+ 00007209  0x00001abe arg  0x00004408 , 0x00000006 
+ 00007210  0x00001abf copy  0x00000002 , 0x00000039 
+ 00007211  0x00001ac0 call  0x00007dc7 
+ 00007212  0x00001ac1 call  0x000017e2 
+ 00007213  0x00001ac2 branch  0x00001bd7 
+ 00007214  0x00001ac5 fetch  0x00000006 , 0x00000173 
+ 00007215  0x00001ac6 fetcht  0x00000006 , 0x0000437a 
+ 00007216  0x00001ac7 isub  0x00000002 , 0x0000003e 
+ 00007217  0x00001ac8 nrtn  0x00000005 
+ 00007218  0x00001ac9 call  0x0000190d 
+ 00007219  0x00001aca storer  0x00000011 , 0x00000001 , 0x0000436a 
+ 00007220  0x00001acb fetch  0x00000006 , 0x0000016d 
+ 00007221  0x00001acc store  0x00000006 , 0x00000297 
+ 00007222  0x00001acd fetch  0x00000008 , 0x00000179 
+ 00007223  0x00001ace store  0x00000008 , 0x000002ab 
+ 00007224  0x00001acf fetcht  0x00000002 , 0x00000181 
+ 00007225  0x00001ad0 bpatchx  0x000000d5 , 0x0000403a 
+ 00007226  0x00001ad1 lshift2  0x00000002 , 0x00000002 
+ 00007227  0x00001ad2 fetch  0x00000002 , 0x00000183 
+ 00007228  0x00001ad3 lshift2  0x0000003f , 0x0000003f 
+ 00007229  0x00001ad4 store  0x00000002 , 0x00000289 
+ 00007230  0x00001ad5 store  0x00000004 , 0x0000028b 
+ 00007231  0x00001ad6 isub  0x00000002 , 0x0000003f 
+ 00007232  0x00001ad7 add  0x0000003f , 0xfffffffe , 0x00000028 
+ 00007233  0x00001ad8 fetch  0x00000009 , 0x00000185 
+ 00007234  0x00001ad9 store  0x00000009 , 0x000002b3 
+ 00007235  0x00001ada fetch  0x00000001 , 0x0000018e 
+ 00007236  0x00001adb and  0x0000003f , 0x0000001f , 0x00000002 
+ 00007237  0x00001adc storet  0x00000001 , 0x000002a0 
+ 00007238  0x00001add rshift4  0x0000003f , 0x00000002 
+ 00007239  0x00001ade rshift  0x00000002 , 0x00000002 
+ 00007240  0x00001adf storet  0x00000001 , 0x000002d7 
+ 00007241  0x00001ae0 arg  0x00000287 , 0x00000011 
+ 00007242  0x00001ae1 call  0x000019df 
+ 00007243  0x00001ae2 arg  0x00000287 , 0x00000011 
+ 00007244  0x00001ae3 call  0x000016cc 
+ 00007245  0x00001ae4 call  0x000015ba 
+ 00007246  0x00001ae5 call  0x00000a48 
+ 00007247  0x00001ae6 nrtn  0x00000005 
+ 00007248  0x00001ae7 bpatchx  0x000000d6 , 0x0000403a 
+ 00007249  0x00001ae8 call  0x0000105d 
+ 00007250  0x00001ae9 call  0x00001f18 
+ 00007251  0x00001aea jam  0x00000014 , 0x0000095b 
+ 00007252  0x00001aeb call  0x000078dc 
+ 00007253  0x00001aec branch  0x00000a30 
+ 00007254  0x00001af0 bpatchx  0x000000d7 , 0x0000403a 
+ 00007255  0x00001af1 fetch  0x00000001 , 0x00000016 
+ 00007256  0x00001af2 beq  0x00000025 , 0x00001c5c 
+ 00007257  0x00001af3 beq  0x00000026 , 0x00001c62 
+ 00007258  0x00001af4 beq  0x00000027 , 0x00001c68 
+ 00007259  0x00001af5 branch  0x00001c68 
+ 00007260  0x00001af8 fetcht  0x00000001 , 0x00004432 
+ 00007261  0x00001af9 isolate1  0x00000001 , 0x00000002 
+ 00007262  0x00001afa branch  0x00001c73 , 0x00000001 
+ 00007263  0x00001afb isolate1  0x00000002 , 0x00000002 
+ 00007264  0x00001afc branch  0x00001c78 , 0x00000001 
+ 00007265  0x00001afd branch  0x00001c6e 
+ 00007266  0x00001b01 fetcht  0x00000001 , 0x00004432 
+ 00007267  0x00001b02 isolate1  0x00000002 , 0x00000002 
+ 00007268  0x00001b03 branch  0x00001c78 , 0x00000001 
+ 00007269  0x00001b04 isolate1  0x00000000 , 0x00000002 
+ 00007270  0x00001b05 branch  0x00001c6e , 0x00000001 
+ 00007271  0x00001b06 branch  0x00001c73 
+ 00007272  0x00001b0a fetcht  0x00000001 , 0x00004432 
+ 00007273  0x00001b0b isolate1  0x00000000 , 0x00000002 
+ 00007274  0x00001b0c branch  0x00001c6e , 0x00000001 
+ 00007275  0x00001b0d isolate1  0x00000001 , 0x00000002 
+ 00007276  0x00001b0e branch  0x00001c73 , 0x00000001 
+ 00007277  0x00001b0f branch  0x00001c78 
+ 00007278  0x00001b12 jam  0x00000025 , 0x00000016 
+ 00007279  0x00001b13 fetch  0x00000001 , 0x0000098e 
+ 00007280  0x00001b14 set1  0x00000000 , 0x0000003f 
+ 00007281  0x00001b15 store  0x00000001 , 0x0000098e 
+ 00007282  0x00001b16 rtn 
+ 00007283  0x00001b19 jam  0x00000026 , 0x00000016 
+ 00007284  0x00001b1a fetch  0x00000001 , 0x0000098e 
+ 00007285  0x00001b1b set1  0x00000001 , 0x0000003f 
+ 00007286  0x00001b1c store  0x00000001 , 0x0000098e 
+ 00007287  0x00001b1d rtn 
+ 00007288  0x00001b20 jam  0x00000027 , 0x00000016 
+ 00007289  0x00001b21 fetch  0x00000001 , 0x0000098e 
+ 00007290  0x00001b22 set1  0x00000002 , 0x0000003f 
+ 00007291  0x00001b23 store  0x00000001 , 0x0000098e 
+ 00007292  0x00001b24 rtn 
+ 00007293  0x00001b2a ifetch  0x00000003 , 0x00000006 
+ 00007294  0x00001b2b store  0x00000003 , 0x00004436 
+ 00007295  0x00001b2c beq  0x00000002 , 0x00001c94 
+ 00007296  0x00001b2d beq  0x00000003 , 0x00001c9c 
+ 00007297  0x00001b2e beq  0x00000004 , 0x00001c9f 
+ 00007298  0x00001b2f beq  0x00000006 , 0x00001cc8 
+ 00007299  0x00001b30 beq  0x00000008 , 0x00001d15 
+ 00007300  0x00001b31 beq  0x0000000a , 0x00001d93 
+ 00007301  0x00001b32 beq  0x0000000c , 0x00001dc2 
+ 00007302  0x00001b33 beq  0x00000010 , 0x00001dd8 
+ 00007303  0x00001b34 beq  0x00000012 , 0x00001e1b 
+ 00007304  0x00001b35 beq  0x00000016 , 0x00001e3f 
+ 00007305  0x00001b36 beq  0x00000018 , 0x00001e52 
+ 00007306  0x00001b37 beq  0x0000001e , 0x00001e57 
+ 00007307  0x00001b38 beq  0x00000052 , 0x00001e5b 
+ 00007308  0x00001b39 rtn 
+ 00007309  0x00001b3d force  0x00000003 , 0x00000011 
+ 00007310  0x00001b3e call  0x00001e80 
+ 00007311  0x00001b3f setarg  0x00000002 
+ 00007312  0x00001b40 istore  0x00000001 , 0x00000005 
+ 00007313  0x00001b41 fetch  0x00000002 , 0x00004380 
+ 00007314  0x00001b42 istore  0x00000002 , 0x00000005 
+ 00007315  0x00001b43 rtn 
+ 00007316  0x00001b47 call  0x00001c9c 
+ 00007317  0x00001b49 force  0x00000003 , 0x00000011 
+ 00007318  0x00001b4a call  0x00001e80 
+ 00007319  0x00001b4b setarg  0x00000003 
+ 00007320  0x00001b4c istore  0x00000001 , 0x00000005 
+ 00007321  0x00001b4d fetch  0x00000002 , 0x00004380 
+ 00007322  0x00001b4e istore  0x00000002 , 0x00000005 
+ 00007323  0x00001b4f rtn 
+ 00007324  0x00001b52 rshift8  0x0000003f , 0x0000003f 
+ 00007325  0x00001b53 store  0x00000002 , 0x00004382 
+ 00007326  0x00001b54 rtn 
+ 00007327  0x00001b57 call  0x00001eb0 
+ 00007328  0x00001b58 call  0x00007ec5 
+ 00007329  0x00001b59 branch  0x00001ca2 
+ 00007330  0x00001b5c arg  0x00000003 , 0x0000000b 
+ 00007331  0x00001b5d call  0x000019f9 
+ 00007332  0x00001b5f call  0x00001a02 
+ 00007333  0x00001b60 branch  0x00001cc6 , 0x00000034 
+ 00007334  0x00001b61 nbranch  0x00001cc3 , 0x00000002 
+ 00007335  0x00001b62 increase  0xfffffffe , 0x00000006 
+ 00007336  0x00001b63 call  0x00007d5e 
+ 00007337  0x00001b64 call  0x00007d55 
+ 00007338  0x00001b65 nbranch  0x00001cb6 , 0x00000028 
+ 00007339  0x00001b66 call  0x00007d43 
+ 00007340  0x00001b67 call  0x00007ec7 
+ 00007341  0x00001b68 storer  0x0000000b , 0x00000004 , 0x0000096c 
+ 00007342  0x00001b69 force  0x00000014 , 0x00000011 
+ 00007343  0x00001b6a call  0x00001e80 
+ 00007344  0x00001b6b fetchr  0x0000000b , 0x00000004 , 0x0000096c 
+ 00007345  0x00001b6c call  0x00007d51 
+ 00007346  0x00001b6d setarg  0x00000005 
+ 00007347  0x00001b6e istore  0x00000001 , 0x00000005 
+ 00007348  0x00001b6f setarg  0x00000001 
+ 00007349  0x00001b70 istore  0x00000001 , 0x00000005 
+ 00007350  0x00001b72 call  0x00007d58 
+ 00007351  0x00001b73 ifetch  0x00000002 , 0x00000006 
+ 00007352  0x00001b74 and_into  0x000000ff , 0x0000003f 
+ 00007353  0x00001b75 istore  0x00000002 , 0x00000005 
+ 00007354  0x00001b76 ifetch  0x00000001 , 0x00000006 
+ 00007355  0x00001b77 copy  0x0000003f , 0x00000039 
+ 00007356  0x00001b78 call  0x00007dd4 
+ 00007357  0x00001b79 call  0x00007d5b 
+ 00007358  0x00001b7a increase  0xffffffff , 0x0000000b 
+ 00007359  0x00001b7b branch  0x00001cc6 , 0x00000005 
+ 00007360  0x00001b7d ifetch  0x00000001 , 0x00000006 
+ 00007361  0x00001b7e iadd  0x00000006 , 0x00000006 
+ 00007362  0x00001b7f branch  0x00001ca4 
+ 00007363  0x00001b81 ifetch  0x00000001 , 0x00000006 
+ 00007364  0x00001b82 iadd  0x00000006 , 0x00000006 
+ 00007365  0x00001b83 branch  0x00001cc0 
+ 00007366  0x00001b85 branch  0x00001e74 , 0x00000028 
+ 00007367  0x00001b86 branch  0x00001ea3 
+ 00007368  0x00001b8a call  0x00001eb0 
+ 00007369  0x00001b8b ifetch  0x00000002 , 0x00000006 
+ 00007370  0x00001b8c store  0x00000002 , 0x0000435a 
+ 00007371  0x00001b8d call  0x00007d5e 
+ 00007372  0x00001b8e arg  0x000009a2 , 0x00000005 
+ 00007373  0x00001b8f fetch  0x00000002 , 0x000043d4 
+ 00007374  0x00001b90 increase  0xfffffff9 , 0x0000003f 
+ 00007375  0x00001b91 call  0x00001ec1 
+ 00007376  0x00001b92 branch  0x00001cdb 
+ 00007377  0x00001b96 disable  0x00000028 
+ 00007378  0x00001b97 fetcht  0x00000002 , 0x0000099e 
+ 00007379  0x00001b98 fetch  0x00000002 , 0x000009a0 
+ 00007380  0x00001b99 isub  0x00000002 , 0x0000003e 
+ 00007381  0x00001b9a nbranch  0x00001cd8 , 0x00000002 
+ 00007382  0x00001b9b deposit  0x00000002 
+ 00007383  0x00001b9c rtnne  0x00000000 
+ 00007384  0x00001b9e enable  0x00000028 
+ 00007385  0x00001b9f jam  0x00000001 , 0x000002d8 
+ 00007386  0x00001ba0 branch  0x00001e75 
+ 00007387  0x00001ba4 call  0x00001cd1 
+ 00007388  0x00001ba5 rtn  0x00000028 
+ 00007389  0x00001ba6 fetcht  0x00000002 , 0x0000435a 
+ 00007390  0x00001ba7 setarg  0x00002800 
+ 00007391  0x00001ba8 isub  0x00000002 , 0x0000003e 
+ 00007392  0x00001ba9 branch  0x00001ce2 , 0x00000005 
+ 00007393  0x00001baa branch  0x00001e74 
+ 00007394  0x00001bae jam  0x00000000 , 0x00004439 
+ 00007395  0x00001baf fetcht  0x00000002 , 0x0000099e 
+ 00007396  0x00001bb0 storet  0x00000002 , 0x00000964 
+ 00007397  0x00001bb1 call  0x00001a3e 
+ 00007398  0x00001bb2 nbranch  0x00001e74 , 0x00000034 
+ 00007399  0x00001bb4 fetcht  0x00000002 , 0x00000964 
+ 00007400  0x00001bb5 call  0x00001a3e 
+ 00007401  0x00001bb6 nbranch  0x00001cfb , 0x00000034 
+ 00007402  0x00001bb7 copy  0x00000006 , 0x00000011 
+ 00007403  0x00001bb8 fetch  0x00000001 , 0x000009b3 
+ 00007404  0x00001bb9 copy  0x0000003f , 0x00000039 
+ 00007405  0x00001bba fetcht  0x00000001 , 0x000009a2 
+ 00007406  0x00001bbb isub  0x00000002 , 0x0000003e 
+ 00007407  0x00001bbc nbranch  0x00001cf7 , 0x00000005 
+ 00007408  0x00001bbd arg  0x000009a3 , 0x00000012 
+ 00007409  0x00001bbe call  0x00007e66 
+ 00007410  0x00001bc0 branch  0x00001cfe , 0x00000005 
+ 00007411  0x00001bc2 fetch  0x00000002 , 0x000009bb 
+ 00007412  0x00001bc3 fetcht  0x00000002 , 0x0000435a 
+ 00007413  0x00001bc4 isub  0x00000002 , 0x0000003e 
+ 00007414  0x00001bc5 branch  0x00001d06 , 0x00000005 
+ 00007415  0x00001bc7 fetch  0x00000002 , 0x00000964 
+ 00007416  0x00001bc8 increase  0x00000001 , 0x0000003f 
+ 00007417  0x00001bc9 store  0x00000002 , 0x00000964 
+ 00007418  0x00001bca branch  0x00001ce7 
+ 00007419  0x00001bcd fetch  0x00000001 , 0x00004439 
+ 00007420  0x00001bce beq  0x00000001 , 0x00001d06 
+ 00007421  0x00001bcf branch  0x00001e74 
+ 00007422  0x00001bd3 fetch  0x00000002 , 0x000009bb 
+ 00007423  0x00001bd4 fetcht  0x00000002 , 0x0000435a 
+ 00007424  0x00001bd5 isub  0x00000002 , 0x0000003e 
+ 00007425  0x00001bd6 nbranch  0x00001cf7 , 0x00000005 
+ 00007426  0x00001bd7 jam  0x00000001 , 0x00004439 
+ 00007427  0x00001bd9 fetcht  0x00000002 , 0x00000964 
+ 00007428  0x00001bda storet  0x00000002 , 0x000009b6 
+ 00007429  0x00001bdb branch  0x00001cf7 
+ 00007430  0x00001bde fetch  0x00000001 , 0x00004439 
+ 00007431  0x00001bdf beq  0x00000000 , 0x00001cf7 
+ 00007432  0x00001be0 jam  0x00000002 , 0x00004439 
+ 00007433  0x00001be1 fetcht  0x00000002 , 0x00000964 
+ 00007434  0x00001be2 increase  0xffffffff , 0x00000002 
+ 00007435  0x00001be3 storet  0x00000002 , 0x000009b8 
+ 00007436  0x00001be6 arg  0x00000005 , 0x00000011 
+ 00007437  0x00001be7 call  0x00001e80 
+ 00007438  0x00001be8 setarg  0x00000007 
+ 00007439  0x00001be9 istore  0x00000001 , 0x00000005 
+ 00007440  0x00001bea fetch  0x00000002 , 0x000009b6 
+ 00007441  0x00001beb istore  0x00000002 , 0x00000005 
+ 00007442  0x00001bec fetch  0x00000002 , 0x000009b8 
+ 00007443  0x00001bed istore  0x00000002 , 0x00000005 
+ 00007444  0x00001bee rtn 
+ 00007445  0x00001bf3 call  0x00001eb0 
+ 00007446  0x00001bf4 call  0x00001ebd 
+ 00007447  0x00001bf5 branch  0x00001d18 
+ 00007448  0x00001bf8 fetcht  0x00000002 , 0x0000099e 
+ 00007449  0x00001bf9 storet  0x00000002 , 0x00000964 
+ 00007450  0x00001bfa call  0x000019f9 
+ 00007451  0x00001bfb call  0x00001a11 
+ 00007452  0x00001bfc increase  0xfffffffe , 0x00000006 
+ 00007453  0x00001bfd copy  0x00000006 , 0x0000003f 
+ 00007454  0x00001bfe store  0x00000002 , 0x000009b4 
+ 00007455  0x00001c00 fetcht  0x00000002 , 0x000009a3 
+ 00007456  0x00001c01 setarg  0x00002a00 
+ 00007457  0x00001c02 isub  0x00000002 , 0x0000003e 
+ 00007458  0x00001c03 branch  0x00001d7f , 0x00000005 
+ 00007459  0x00001c04 setarg  0x00002803 
+ 00007460  0x00001c05 isub  0x00000002 , 0x0000003e 
+ 00007461  0x00001c06 nbranch  0x00001d6b , 0x00000005 
+ 00007462  0x00001c07 arg  0x00000002 , 0x0000000b 
+ 00007463  0x00001c09 call  0x00001e86 
+ 00007464  0x00001c0a nbranch  0x00001d48 , 0x00000002 
+ 00007465  0x00001c0b fetcht  0x00000002 , 0x00000964 
+ 00007466  0x00001c0c call  0x00001a3c 
+ 00007467  0x00001c0d nbranch  0x00001d48 , 0x00000034 
+ 00007468  0x00001c0e call  0x00001e8a 
+ 00007469  0x00001c0f nbranch  0x00001d46 , 0x00000005 
+ 00007470  0x00001c10 nbranch  0x00001d4a , 0x00000028 
+ 00007471  0x00001c11 disable  0x00000028 
+ 00007472  0x00001c12 arg  0x00000014 , 0x00000011 
+ 00007473  0x00001c13 call  0x00001e80 
+ 00007474  0x00001c14 setarg  0x00000009 
+ 00007475  0x00001c15 istore  0x00000001 , 0x00000005 
+ 00007476  0x00001c16 copy  0x00000005 , 0x00000030 
+ 00007477  0x00001c17 increase  0x00000001 , 0x00000005 
+ 00007478  0x00001c19 call  0x00001d58 
+ 00007479  0x00001c1a call  0x00001e82 
+ 00007480  0x00001c1b call  0x00001a3c 
+ 00007481  0x00001c1c call  0x00001d5f 
+ 00007482  0x00001c1d fetch  0x00000001 , 0x000009ba 
+ 00007483  0x00001c1e add  0x0000003f , 0x00000005 , 0x00000011 
+ 00007484  0x00001c1f istorer  0x00000011 , 0x00000001 , 0x00000030 
+ 00007485  0x00001c21 sub  0x00000011 , 0x00000007 , 0x0000003e 
+ 00007486  0x00001c22 ncall  0x00007ec9 , 0x00000005 
+ 00007487  0x00001c23 call  0x00007ecb , 0x00000005 
+ 00007488  0x00001c24 call  0x00001eb5 
+ 00007489  0x00001c25 idiv  0x00000011 
+ 00007490  0x00001c26 call  0x00007e64 
+ 00007491  0x00001c27 quotient  0x0000000b 
+ 00007492  0x00001c28 increase  0xffffffff , 0x0000000b 
+ 00007493  0x00001c29 branch  0x00001d48 , 0x00000005 
+ 00007494  0x00001c2b call  0x00001e82 
+ 00007495  0x00001c2c branch  0x00001d27 
+ 00007496  0x00001c2e branch  0x00001e74 , 0x00000028 
+ 00007497  0x00001c2f branch  0x00001ea3 
+ 00007498  0x00001c32 call  0x00001e95 
+ 00007499  0x00001c33 call  0x00001e82 
+ 00007500  0x00001c34 call  0x00001a3c 
+ 00007501  0x00001c35 call  0x00001e09 
+ 00007502  0x00001c36 nbranch  0x00001d48 , 0x00000034 
+ 00007503  0x00001c38 call  0x00007d55 
+ 00007504  0x00001c39 fetch  0x00000002 , 0x00000964 
+ 00007505  0x00001c3a increase  0xffffffff , 0x0000003f 
+ 00007506  0x00001c3b istore  0x00000002 , 0x00000005 
+ 00007507  0x00001c3c call  0x00001e9f 
+ 00007508  0x00001c3d call  0x00001d5f 
+ 00007509  0x00001c3e increase  0xffffffff , 0x0000000b 
+ 00007510  0x00001c3f branch  0x00001d48 , 0x00000005 
+ 00007511  0x00001c40 branch  0x00001d46 
+ 00007512  0x00001c44 fetch  0x00000002 , 0x00000964 
+ 00007513  0x00001c45 istore  0x00000002 , 0x00000005 
+ 00007514  0x00001c47 fetch  0x00000001 , 0x000009b3 
+ 00007515  0x00001c48 copy  0x0000003f , 0x00000039 
+ 00007516  0x00001c49 call  0x00007d58 
+ 00007517  0x00001c4a call  0x00007dc7 
+ 00007518  0x00001c4b branch  0x00007d5b 
+ 00007519  0x00001c4d call  0x00007d55 
+ 00007520  0x00001c4e fetch  0x00000002 , 0x00000964 
+ 00007521  0x00001c4f istore  0x00000002 , 0x00000005 
+ 00007522  0x00001c50 call  0x00007d5b 
+ 00007523  0x00001c51 fetch  0x00000001 , 0x000009ba 
+ 00007524  0x00001c52 copy  0x0000003f , 0x00000039 
+ 00007525  0x00001c53 call  0x00007d55 
+ 00007526  0x00001c54 call  0x00007d58 
+ 00007527  0x00001c55 isub  0x00000039 , 0x00000006 
+ 00007528  0x00001c56 increase  0xffffffff , 0x00000006 
+ 00007529  0x00001c57 call  0x00007dc7 
+ 00007530  0x00001c58 branch  0x00007d5b 
+ 00007531  0x00001c5d call  0x00001a21 
+ 00007532  0x00001c5e branch  0x00001e74 , 0x00000034 
+ 00007533  0x00001c5f copy  0x00000006 , 0x00000013 
+ 00007534  0x00001c60 increase  0xfffffffb , 0x00000006 
+ 00007535  0x00001c61 ifetch  0x00000002 , 0x00000006 
+ 00007536  0x00001c62 store  0x00000002 , 0x00000964 
+ 00007537  0x00001c63 arg  0x00000014 , 0x00000011 
+ 00007538  0x00001c64 call  0x00001e80 
+ 00007539  0x00001c65 setarg  0x00000009 
+ 00007540  0x00001c66 istore  0x00000001 , 0x00000005 
+ 00007541  0x00001c67 ifetch  0x00000001 , 0x00000013 
+ 00007542  0x00001c68 copy  0x0000003f , 0x00000039 
+ 00007543  0x00001c69 increase  0x00000002 , 0x0000003f 
+ 00007544  0x00001c6a istore  0x00000001 , 0x00000005 
+ 00007545  0x00001c6b fetch  0x00000002 , 0x00000964 
+ 00007546  0x00001c6c istore  0x00000002 , 0x00000005 
+ 00007547  0x00001c6d add  0x00000013 , 0x00000001 , 0x00000006 
+ 00007548  0x00001c6e call  0x00007dc7 
+ 00007549  0x00001c6f call  0x00007d5b 
+ 00007550  0x00001c70 branch  0x00001ea3 
+ 00007551  0x00001c75 arg  0x00002a00 , 0x00000002 
+ 00007552  0x00001c76 call  0x00001a21 
+ 00007553  0x00001c77 rtn  0x00000034 
+ 00007554  0x00001c78 increase  0xfffffffb , 0x00000006 
+ 00007555  0x00001c79 ifetch  0x00000002 , 0x00000006 
+ 00007556  0x00001c7a store  0x00000002 , 0x00000964 
+ 00007557  0x00001c7b arg  0x00000014 , 0x00000011 
+ 00007558  0x00001c7c call  0x00001e80 
+ 00007559  0x00001c7d setarg  0x00000009 
+ 00007560  0x00001c7e istore  0x00000001 , 0x00000005 
+ 00007561  0x00001c7f fetch  0x00000001 , 0x000042f7 
+ 00007562  0x00001c80 copy  0x0000003f , 0x00000039 
+ 00007563  0x00001c81 increase  0x00000002 , 0x0000003f 
+ 00007564  0x00001c82 istore  0x00000001 , 0x00000005 
+ 00007565  0x00001c83 fetch  0x00000002 , 0x00000964 
+ 00007566  0x00001c84 istore  0x00000002 , 0x00000005 
+ 00007567  0x00001c85 arg  0x000042f8 , 0x00000006 
+ 00007568  0x00001c86 call  0x00007dc7 
+ 00007569  0x00001c87 call  0x00007d5b 
+ 00007570  0x00001c88 branch  0x00001ea3 
+ 00007571  0x00001c8d call  0x00001e39 
+ 00007572  0x00001c8e fetcht  0x00000002 , 0x00004437 
+ 00007573  0x00001c8f fetch  0x00000001 , 0x000043c0 
+ 00007574  0x00001c90 bbit1  0x00000003 , 0x00001db8 
+ 00007575  0x00001c94 call  0x00001a11 
+ 00007576  0x00001c95 nbranch  0x00001e74 , 0x00000005 
+ 00007577  0x00001c96 call  0x00001dbe , 0x00000028 
+ 00007578  0x00001c97 rtn  0x00000028 
+ 00007579  0x00001c98 call  0x00001a1e 
+ 00007580  0x00001c99 increase  0xfffffffe , 0x00000006 
+ 00007581  0x00001c9a ifetch  0x00000002 , 0x00000006 
+ 00007582  0x00001c9b arg  0x00002a00 , 0x00000002 
+ 00007583  0x00001c9c isub  0x00000002 , 0x0000003e 
+ 00007584  0x00001c9d branch  0x00001dae , 0x00000005 
+ 00007585  0x00001c9e ifetch  0x00000001 , 0x00000006 
+ 00007586  0x00001c9f sub  0x0000003f , 0x00000016 , 0x0000003e 
+ 00007587  0x00001ca0 branch  0x00001da5 , 0x00000002 
+ 00007588  0x00001ca1 force  0x00000016 , 0x0000003f 
+ 00007589  0x00001ca3 copy  0x0000003f , 0x00000013 
+ 00007590  0x00001ca4 call  0x00007d5e 
+ 00007591  0x00001ca5 add  0x00000013 , 0x00000001 , 0x00000011 
+ 00007592  0x00001ca6 call  0x00001e80 
+ 00007593  0x00001ca7 setarg  0x0000000b 
+ 00007594  0x00001ca8 istore  0x00000001 , 0x00000005 
+ 00007595  0x00001ca9 copy  0x00000013 , 0x00000039 
+ 00007596  0x00001caa call  0x00007d58 
+ 00007597  0x00001cab branch  0x00007dd4 
+ 00007598  0x00001cae call  0x00007d5e 
+ 00007599  0x00001caf fetch  0x00000001 , 0x000042f7 
+ 00007600  0x00001cb0 add  0x0000003f , 0x00000001 , 0x00000011 
+ 00007601  0x00001cb1 call  0x00001e80 
+ 00007602  0x00001cb2 setarg  0x0000000b 
+ 00007603  0x00001cb3 istore  0x00000001 , 0x00000005 
+ 00007604  0x00001cb4 fetch  0x00000001 , 0x000042f7 
+ 00007605  0x00001cb5 copy  0x0000003f , 0x00000039 
+ 00007606  0x00001cb6 arg  0x000042f8 , 0x00000006 
+ 00007607  0x00001cb7 branch  0x00007dd4 
+ 00007608  0x00001cbb fetch  0x00000002 , 0x000043d1 
+ 00007609  0x00001cbc isub  0x00000002 , 0x0000003e 
+ 00007610  0x00001cbd nbranch  0x00001d97 , 0x00000005 
+ 00007611  0x00001cbe nbranch  0x00001d97 , 0x00000028 
+ 00007612  0x00001cc0 jam  0x00000005 , 0x000002d8 
+ 00007613  0x00001cc1 branch  0x00001e75 
+ 00007614  0x00001cc4 increase  0xfffffffe , 0x00000006 
+ 00007615  0x00001cc5 ifetch  0x00000002 , 0x00000006 
+ 00007616  0x00001cc6 bbit1  0x0000000e , 0x00001dbc 
+ 00007617  0x00001cc7 branch  0x00007ec7 
+ 00007618  0x00001cca ifetch  0x00000002 , 0x00000006 
+ 00007619  0x00001ccb store  0x00000002 , 0x000009a2 
+ 00007620  0x00001ccd arg  0x00000014 , 0x00000011 
+ 00007621  0x00001cce call  0x00001e80 
+ 00007622  0x00001ccf setarg  0x0000000d 
+ 00007623  0x00001cd0 istore  0x00000001 , 0x00000005 
+ 00007624  0x00001cd1 fetch  0x00000002 , 0x000009a2 
+ 00007625  0x00001cd2 iforce  0x00000011 
+ 00007626  0x00001cd3 fetcht  0x00000002 , 0x00004437 
+ 00007627  0x00001cd4 call  0x00001a0e 
+ 00007628  0x00001cd5 branch  0x00001e74 , 0x00000034 
+ 00007629  0x00001cd6 ifetch  0x00000001 , 0x00000006 
+ 00007630  0x00001cd7 isub  0x00000011 , 0x00000039 
+ 00007631  0x00001cd8 nbranch  0x00001e74 , 0x00000002 
+ 00007632  0x00001cd9 sub  0x00000039 , 0x00000016 , 0x0000003e 
+ 00007633  0x00001cda branch  0x00001dd3 , 0x00000002 
+ 00007634  0x00001cdb force  0x00000016 , 0x00000039 
+ 00007635  0x00001cdd deposit  0x00000011 
+ 00007636  0x00001cde iadd  0x00000006 , 0x00000006 
+ 00007637  0x00001cdf call  0x00007dc7 
+ 00007638  0x00001ce0 call  0x00007d5b 
+ 00007639  0x00001ce1 branch  0x00001ea3 
+ 00007640  0x00001ce6 call  0x00001eb0 
+ 00007641  0x00001ce7 call  0x00001ebd 
+ 00007642  0x00001ce8 branch  0x00001ddb 
+ 00007643  0x00001cef arg  0x00000002 , 0x0000000b 
+ 00007644  0x00001cf0 fetcht  0x00000002 , 0x0000099e 
+ 00007645  0x00001cf1 storet  0x00000002 , 0x00000964 
+ 00007646  0x00001cf2 call  0x00001a11 
+ 00007647  0x00001cf3 increase  0xfffffffe , 0x00000006 
+ 00007648  0x00001cf4 copy  0x00000006 , 0x0000003f 
+ 00007649  0x00001cf5 store  0x00000002 , 0x000009b4 
+ 00007650  0x00001cf7 call  0x00001e86 
+ 00007651  0x00001cf8 nbranch  0x00001e11 , 0x00000002 
+ 00007652  0x00001cf9 fetcht  0x00000002 , 0x00000964 
+ 00007653  0x00001cfa call  0x00001a3c 
+ 00007654  0x00001cfb nbranch  0x00001e14 , 0x00000034 
+ 00007655  0x00001cfd call  0x00001e8a 
+ 00007656  0x00001cfe nbranch  0x00001e07 , 0x00000005 
+ 00007657  0x00001cff copy  0x0000000b , 0x0000003f 
+ 00007658  0x00001d00 beq  0x00000000 , 0x00001e14 
+ 00007659  0x00001d01 nbranch  0x00001dfd , 0x00000028 
+ 00007660  0x00001d02 disable  0x00000028 
+ 00007661  0x00001d04 arg  0x00000014 , 0x00000011 
+ 00007662  0x00001d05 call  0x00001e80 
+ 00007663  0x00001d06 setarg  0x00000011 
+ 00007664  0x00001d07 istore  0x00000001 , 0x00000005 
+ 00007665  0x00001d08 fetch  0x00000001 , 0x000009b3 
+ 00007666  0x00001d09 add  0x0000003f , 0x00000004 , 0x00000011 
+ 00007667  0x00001d0a istorer  0x00000011 , 0x00000001 , 0x00000005 
+ 00007668  0x00001d0b call  0x00007d5b 
+ 00007669  0x00001d0c sub  0x00000011 , 0x00000006 , 0x0000003e 
+ 00007670  0x00001d0d ncall  0x00007ec9 , 0x00000005 
+ 00007671  0x00001d0e call  0x00007ecb , 0x00000005 
+ 00007672  0x00001d0f call  0x00001eb5 
+ 00007673  0x00001d10 idiv  0x00000011 
+ 00007674  0x00001d11 call  0x00007e64 
+ 00007675  0x00001d12 quotient  0x0000000b 
+ 00007676  0x00001d13 branch  0x00001e03 
+ 00007677  0x00001d15 call  0x00001e0b 
+ 00007678  0x00001d16 nbranch  0x00001e14 , 0x00000034 
+ 00007679  0x00001d17 fetch  0x00000002 , 0x00000964 
+ 00007680  0x00001d18 increase  0xffffffff , 0x0000003f 
+ 00007681  0x00001d19 store  0x00000002 , 0x000009b8 
+ 00007682  0x00001d1a call  0x00001e9a 
+ 00007683  0x00001d1c fetch  0x00000002 , 0x00000964 
+ 00007684  0x00001d1d store  0x00000002 , 0x000009b6 
+ 00007685  0x00001d1e call  0x00001e95 
+ 00007686  0x00001d1f increase  0xffffffff , 0x0000000b 
+ 00007687  0x00001d22 call  0x00001e82 
+ 00007688  0x00001d23 branch  0x00001de2 
+ 00007689  0x00001d26 fetch  0x00000001 , 0x000009ba 
+ 00007690  0x00001d27 branch  0x00001e0c 
+ 00007691  0x00001d2b fetch  0x00000001 , 0x000009b3 
+ 00007692  0x00001d2c branch  0x00001e0f , 0x0000002c 
+ 00007693  0x00001d2d increase  0xfffffffe , 0x0000003f 
+ 00007694  0x00001d2e rtn 
+ 00007695  0x00001d31 increase  0xfffffff0 , 0x0000003f 
+ 00007696  0x00001d32 rtn 
+ 00007697  0x00001d35 fetch  0x00000002 , 0x00000964 
+ 00007698  0x00001d36 store  0x00000002 , 0x000009b8 
+ 00007699  0x00001d37 branch  0x00001e18 
+ 00007700  0x00001d39 fetch  0x00000002 , 0x00000964 
+ 00007701  0x00001d3a increase  0xffffffff , 0x0000003f 
+ 00007702  0x00001d3b store  0x00000002 , 0x000009b8 
+ 00007703  0x00001d3c branch  0x00001e18 
+ 00007704  0x00001d3e branch  0x00001e74 , 0x00000028 
+ 00007705  0x00001d3f call  0x00001e9a 
+ 00007706  0x00001d40 branch  0x00001ea3 
+ 00007707  0x00001d46 copy  0x00000006 , 0x00000011 
+ 00007708  0x00001d47 fetch  0x00000002 , 0x000043d4 
+ 00007709  0x00001d48 add  0x0000003f , 0xfffffffd , 0x00000012 
+ 00007710  0x00001d49 call  0x000019d1 
+ 00007711  0x00001d4b call  0x00001e39 
+ 00007712  0x00001d4c fetcht  0x00000002 , 0x00004437 
+ 00007713  0x00001d4d call  0x00001a11 
+ 00007714  0x00001d4e nbranch  0x00001e37 , 0x00000005 
+ 00007715  0x00001d4f call  0x00001e33 , 0x00000028 
+ 00007716  0x00001d50 rtn  0x00000028 
+ 00007717  0x00001d52 fetch  0x00000001 , 0x000043c0 
+ 00007718  0x00001d53 bbit0  0x00000004 , 0x00001e2e 
+ 00007719  0x00001d55 fetcht  0x00000002 , 0x00004437 
+ 00007720  0x00001d56 fetch  0x00000002 , 0x000043d1 
+ 00007721  0x00001d57 isub  0x00000002 , 0x0000003e 
+ 00007722  0x00001d58 nbranch  0x00001e2e , 0x00000005 
+ 00007723  0x00001d59 call  0x00001e39 
+ 00007724  0x00001d5a nbranch  0x00001e2e , 0x00000028 
+ 00007725  0x00001d5b branch  0x00001dbc 
+ 00007726  0x00001d5f force  0x00000001 , 0x00000011 
+ 00007727  0x00001d60 call  0x00001e80 
+ 00007728  0x00001d61 setarg  0x00000013 
+ 00007729  0x00001d62 istore  0x00000001 , 0x00000005 
+ 00007730  0x00001d63 rtn 
+ 00007731  0x00001d66 increase  0xfffffffe , 0x00000006 
+ 00007732  0x00001d67 ifetch  0x00000002 , 0x00000006 
+ 00007733  0x00001d68 bbit1  0x0000000f , 0x00001dbc 
+ 00007734  0x00001d69 branch  0x00007ec7 
+ 00007735  0x00001d6c jam  0x00000001 , 0x000002d8 
+ 00007736  0x00001d6d branch  0x00001e75 
+ 00007737  0x00001d71 call  0x00007ec7 
+ 00007738  0x00001d72 fetch  0x00000001 , 0x0000439d 
+ 00007739  0x00001d73 rtneq  0x00000000 
+ 00007740  0x00001d74 fetch  0x00000001 , 0x00004040 
+ 00007741  0x00001d75 rtnbit1  0x00000004 
+ 00007742  0x00001d76 branch  0x00007ec5 
+ 00007743  0x00001d7a add  0x00000006 , 0x00000002 , 0x00000011 
+ 00007744  0x00001d7b fetch  0x00000002 , 0x000043d4 
+ 00007745  0x00001d7c add  0x0000003f , 0xfffffffb , 0x00000012 
+ 00007746  0x00001d7d call  0x000019d1 
+ 00007747  0x00001d7e branch  0x00001e44 
+ 00007748  0x00001d82 fetch  0x00000002 , 0x000043d4 
+ 00007749  0x00001d83 copy  0x0000003f , 0x00000011 
+ 00007750  0x00001d84 call  0x00001e80 
+ 00007751  0x00001d85 setarg  0x00000017 
+ 00007752  0x00001d86 istore  0x00000001 , 0x00000005 
+ 00007753  0x00001d87 fetch  0x00000002 , 0x00004437 
+ 00007754  0x00001d88 istore  0x00000002 , 0x00000005 
+ 00007755  0x00001d89 fetch  0x00000002 , 0x000043d4 
+ 00007756  0x00001d8a add  0x0000003f , 0xfffffffb , 0x00000039 
+ 00007757  0x00001d8b fetch  0x00000002 , 0x000043d8 
+ 00007758  0x00001d8c add  0x0000003f , 0x00000007 , 0x00000006 
+ 00007759  0x00001d8d ifetch  0x00000002 , 0x00000006 
+ 00007760  0x00001d8e istore  0x00000002 , 0x00000005 
+ 00007761  0x00001d8f branch  0x00007dc7 
+ 00007762  0x00001d96 force  0x00000001 , 0x00000011 
+ 00007763  0x00001d97 call  0x00001e80 
+ 00007764  0x00001d98 setarg  0x00000019 
+ 00007765  0x00001d99 istore  0x00000001 , 0x00000005 
+ 00007766  0x00001d9a rtn 
+ 00007767  0x00001d9d fetch  0x00000001 , 0x00004435 
+ 00007768  0x00001d9e set0  0x00000000 , 0x0000003f 
+ 00007769  0x00001d9f store  0x00000001 , 0x00004435 
+ 00007770  0x00001da0 rtn 
+ 00007771  0x00001da3 copy  0x00000006 , 0x00000011 
+ 00007772  0x00001da4 fetch  0x00000002 , 0x000043d4 
+ 00007773  0x00001da5 add  0x0000003f , 0xfffffffd , 0x00000012 
+ 00007774  0x00001da6 branch  0x000019d1 
+ 00007775  0x00001dac copy  0x00000002 , 0x00000013 
+ 00007776  0x00001dad increase  0x00000003 , 0x00000011 
+ 00007777  0x00001dae call  0x00001e80 
+ 00007778  0x00001daf increase  0xfffffffd , 0x00000011 
+ 00007779  0x00001db0 setarg  0x0000001b 
+ 00007780  0x00001db1 istore  0x00000001 , 0x00000005 
+ 00007781  0x00001db2 copy  0x00000013 , 0x00000002 
+ 00007782  0x00001db3 istoret  0x00000002 , 0x00000005 
+ 00007783  0x00001db4 rtn 
+ 00007784  0x00001db8 fetch  0x00000001 , 0x00004435 
+ 00007785  0x00001db9 set1  0x00000000 , 0x0000003f 
+ 00007786  0x00001dba store  0x00000001 , 0x00004435 
+ 00007787  0x00001dbb copy  0x00000002 , 0x00000013 
+ 00007788  0x00001dbc increase  0x00000003 , 0x00000011 
+ 00007789  0x00001dbd call  0x00001e80 
+ 00007790  0x00001dbe increase  0xfffffffd , 0x00000011 
+ 00007791  0x00001dbf setarg  0x0000001d 
+ 00007792  0x00001dc0 istore  0x00000001 , 0x00000005 
+ 00007793  0x00001dc1 copy  0x00000013 , 0x00000002 
+ 00007794  0x00001dc2 istoret  0x00000002 , 0x00000005 
+ 00007795  0x00001dc3 rtn 
+ 00007796  0x00001dc9 jam  0x0000000a , 0x000002d8 
+ 00007797  0x00001dcb force  0x00000005 , 0x00000011 
+ 00007798  0x00001dcc call  0x00001e80 
+ 00007799  0x00001dcd setarg  0x00000001 
+ 00007800  0x00001dce istore  0x00000001 , 0x00000005 
+ 00007801  0x00001dcf fetch  0x00000001 , 0x00004436 
+ 00007802  0x00001dd0 istore  0x00000001 , 0x00000005 
+ 00007803  0x00001dd1 fetch  0x00000002 , 0x00004437 
+ 00007804  0x00001dd2 istore  0x00000002 , 0x00000005 
+ 00007805  0x00001dd3 fetch  0x00000001 , 0x000002d8 
+ 00007806  0x00001dd4 istore  0x00000001 , 0x00000005 
+ 00007807  0x00001dd5 rtn 
+ 00007808  0x00001dd9 force  0x00000004 , 0x00000012 
+ 00007809  0x00001dda branch  0x00001af9 
+ 00007810  0x00001dde fetcht  0x00000002 , 0x00000964 
+ 00007811  0x00001ddf increase  0x00000001 , 0x00000002 
+ 00007812  0x00001de0 storet  0x00000002 , 0x00000964 
+ 00007813  0x00001de1 rtn 
+ 00007814  0x00001de4 fetcht  0x00000002 , 0x00000964 
+ 00007815  0x00001de5 fetch  0x00000002 , 0x000009a0 
+ 00007816  0x00001de6 isub  0x00000002 , 0x0000003e 
+ 00007817  0x00001de7 rtn 
+ 00007818  0x00001deb fetcht  0x00000001 , 0x000009a2 
+ 00007819  0x00001dec arg  0x000009a3 , 0x00000011 
+ 00007820  0x00001dee fetch  0x00000001 , 0x000009ba 
+ 00007821  0x00001def copy  0x0000003f , 0x00000039 
+ 00007822  0x00001df0 isub  0x00000002 , 0x0000003e 
+ 00007823  0x00001df1 nrtn  0x00000005 
+ 00007824  0x00001df2 arg  0x000009bb , 0x00000012 
+ 00007825  0x00001df3 branch  0x00007e66 
+ 00007826  0x00001df6 fetcht  0x00000001 , 0x00004359 
+ 00007827  0x00001df7 arg  0x0000435a , 0x00000011 
+ 00007828  0x00001df8 branch  0x00001e8c 
+ 00007829  0x00001dfc fetch  0x00000001 , 0x000009b3 
+ 00007830  0x00001dfd store  0x00000001 , 0x00000a01 
+ 00007831  0x00001dfe copy  0x0000003f , 0x00000039 
+ 00007832  0x00001dff call  0x00007d58 
+ 00007833  0x00001e00 branch  0x00007dc7 
+ 00007834  0x00001e04 call  0x00007d55 
+ 00007835  0x00001e05 fetch  0x00000002 , 0x000009b6 
+ 00007836  0x00001e06 istore  0x00000002 , 0x00000005 
+ 00007837  0x00001e07 fetch  0x00000002 , 0x000009b8 
+ 00007838  0x00001e08 istore  0x00000002 , 0x00000005 
+ 00007839  0x00001e0a fetch  0x00000001 , 0x00000a01 
+ 00007840  0x00001e0b copy  0x0000003f , 0x00000039 
+ 00007841  0x00001e0c call  0x00007dc7 
+ 00007842  0x00001e0d branch  0x00007d5b 
+ 00007843  0x00001e12 bpatchx  0x000000d8 , 0x0000403b 
+ 00007844  0x00001e13 call  0x00007d55 
+ 00007845  0x00001e14 call  0x00001b1d 
+ 00007846  0x00001e15 copy  0x00000005 , 0x0000003f 
+ 00007847  0x00001e16 isub  0x00000006 , 0x00000011 
+ 00007848  0x00001e17 call  0x00001b20 
+ 00007849  0x00001e18 copy  0x00000011 , 0x0000003f 
+ 00007850  0x00001e19 istore  0x00000002 , 0x00000006 
+ 00007851  0x00001e1a increase  0x00000004 , 0x00000011 
+ 00007852  0x00001e1b call  0x00001b12 
+ 00007853  0x00001e1c copy  0x00000011 , 0x0000003f 
+ 00007854  0x00001e1d istore  0x00000001 , 0x00000006 
+ 00007855  0x00001e1e rtn 
+ 00007856  0x00001e22 rshift8  0x0000003f , 0x0000003f 
+ 00007857  0x00001e23 store  0x00000002 , 0x0000099e 
+ 00007858  0x00001e24 ifetch  0x00000002 , 0x00000006 
+ 00007859  0x00001e25 store  0x00000002 , 0x000009a0 
+ 00007860  0x00001e26 rtn 
+ 00007861  0x00001e29 fetch  0x00000002 , 0x00004382 
+ 00007862  0x00001e2a increase  0xfffffffe , 0x0000003f 
+ 00007863  0x00001e2e fetcht  0x00000002 , 0x00004380 
+ 00007864  0x00001e2f increase  0xfffffffe , 0x00000002 
+ 00007865  0x00001e30 call  0x00007ebb 
+ 00007866  0x00001e31 arg  0x000000f0 , 0x00000002 
+ 00007867  0x00001e32 call  0x00007ebb 
+ 00007868  0x00001e34 rtn 
+ 00007869  0x00001e37 call  0x00007d5e 
+ 00007870  0x00001e38 arg  0x000009a2 , 0x00000005 
+ 00007871  0x00001e3a fetch  0x00000002 , 0x000043d4 
+ 00007872  0x00001e3b increase  0xfffffffb , 0x0000003f 
+ 00007873  0x00001e3d istore  0x00000001 , 0x00000005 
+ 00007874  0x00001e3e copy  0x0000003f , 0x00000039 
+ 00007875  0x00001e3f call  0x00007d58 
+ 00007876  0x00001e40 branch  0x00007dc7 
+ 00007877  0x00001e45 fetch  0x00000002 , 0x0000016f 
+ 00007878  0x00001e46 rtnne  0x00000004 
+ 00007879  0x00001e47 fetch  0x00000001 , 0x00004435 
+ 00007880  0x00001e48 set1  0x00000001 , 0x0000003f 
+ 00007881  0x00001e49 store  0x00000001 , 0x00004435 
+ 00007882  0x00001e4a fetch  0x00000003 , 0x00000171 
+ 00007883  0x00001e4b store  0x00000003 , 0x00004436 
+ 00007884  0x00001e4c set1  0x0000000f , 0x00000000 
+ 00007885  0x00001e4d beq  0x00000012 , 0x00001ee0 
+ 00007886  0x00001e4e beq  0x00000052 , 0x00001ee5 
+ 00007887  0x00001e4f beq  0x00000018 , 0x00001e52 
+ 00007888  0x00001e50 beq  0x00000002 , 0x00001c94 
+ 00007889  0x00001e51 beq  0x0000001e , 0x00001e57 
+ 00007890  0x00001e52 set0  0x0000000f , 0x00000000 
+ 00007891  0x00001e54 fetch  0x00000001 , 0x00004435 
+ 00007892  0x00001e55 set0  0x00000001 , 0x0000003f 
+ 00007893  0x00001e56 store  0x00000001 , 0x00004435 
+ 00007894  0x00001e57 rtn 
+ 00007895  0x00001e5a fetch  0x00000001 , 0x00004435 
+ 00007896  0x00001e5b rtnbit0  0x00000001 
+ 00007897  0x00001e5c set1  0x0000000f , 0x00000000 
+ 00007898  0x00001e5d call  0x00001eef 
+ 00007899  0x00001e5e call  0x00001ef5 
+ 00007900  0x00001e5f call  0x00001ed3 , 0x00000028 
+ 00007901  0x00001e60 fetch  0x00000001 , 0x00004436 
+ 00007902  0x00001e61 beq  0x00000012 , 0x00001e1f 
+ 00007903  0x00001e62 rtn 
+ 00007904  0x00001e66 call  0x00001ee5 
+ 00007905  0x00001e67 branch  0x00001ee2 
+ 00007906  0x00001e6a call  0x00001ef5 
+ 00007907  0x00001e6b nrtn  0x00000028 
+ 00007908  0x00001e6c branch  0x00001e1f 
+ 00007909  0x00001e70 call  0x00001ee8 
+ 00007910  0x00001e71 arg  0x00000174 , 0x00000011 
+ 00007911  0x00001e72 branch  0x000019d1 
+ 00007912  0x00001e76 fetch  0x00000001 , 0x0000016c 
+ 00007913  0x00001e77 add  0x0000003f , 0xfffffff9 , 0x00000012 
+ 00007914  0x00001e78 increase  0xfffffffc , 0x0000003f 
+ 00007915  0x00001e79 store  0x00000002 , 0x000043d6 
+ 00007916  0x00001e7a fetcht  0x00000002 , 0x0000016d 
+ 00007917  0x00001e7b storet  0x00000002 , 0x000043d4 
+ 00007918  0x00001e7c rtn 
+ 00007919  0x00001e80 fetchr  0x00000012 , 0x00000001 , 0x0000016c 
+ 00007920  0x00001e81 fetch  0x00000002 , 0x000043d6 
+ 00007921  0x00001e82 iadd  0x00000012 , 0x00000002 
+ 00007922  0x00001e83 storet  0x00000002 , 0x000043d6 
+ 00007923  0x00001e84 arg  0x0000016d , 0x00000011 
+ 00007924  0x00001e85 branch  0x000019d1 
+ 00007925  0x00001e8a call  0x00007ec7 
+ 00007926  0x00001e8b fetch  0x00000002 , 0x000043d6 
+ 00007927  0x00001e8c fetcht  0x00000002 , 0x000043d4 
+ 00007928  0x00001e8d isub  0x00000002 , 0x0000003e 
+ 00007929  0x00001e8e nrtn  0x00000005 
+ 00007930  0x00001e8f branch  0x00007ec5 
+ 00007931  0x00001e96 ifetch  0x00000001 , 0x00000006 
+ 00007932  0x00001e97 ifetcht  0x00000001 , 0x00000006 
+ 00007933  0x00001e98 ifetcht  0x00000002 , 0x00000006 
+ 00007934  0x00001e99 beq  0x00000013 , 0x00001f00 
+ 00007935  0x00001e9a rtn 
+ 00007936  0x00001e9c ifetch  0x00000002 , 0x00000006 
+ 00007937  0x00001e9d store  0x00000002 , 0x000043db 
+ 00007938  0x00001e9e jam  0x00000040 , 0x0000095b 
+ 00007939  0x00001e9f branch  0x000078dc 
+ 00007940  0x00001ea6 arg  0x0000000c , 0x00000011 
+ 00007941  0x00001ea7 arg  0x00000012 , 0x00000013 
+ 00007942  0x00001ea8 call  0x00001f0c 
+ 00007943  0x00001ea9 setarg  0x00000008 
+ 00007944  0x00001eaa istore  0x00000002 , 0x00000005 
+ 00007945  0x00001eab fetch  0x00000008 , 0x00004372 
+ 00007946  0x00001eac istore  0x00000008 , 0x00000005 
+ 00007947  0x00001ead rtn 
+ 00007948  0x00001eb2 call  0x00001f14 
+ 00007949  0x00001eb3 arg  0x00000005 , 0x00000012 
+ 00007950  0x00001eb4 call  0x00001af9 
+ 00007951  0x00001eb5 copy  0x00000013 , 0x0000003f 
+ 00007952  0x00001eb6 istore  0x00000001 , 0x00000005 
+ 00007953  0x00001eb7 fetch  0x00000001 , 0x000043da 
+ 00007954  0x00001eb8 istore  0x00000001 , 0x00000005 
+ 00007955  0x00001eb9 rtn 
+ 00007956  0x00001ebd fetch  0x00000001 , 0x000043da 
+ 00007957  0x00001ebf pincrease  0x00000001 
+ 00007958  0x00001ec0 store  0x00000001 , 0x000043da 
+ 00007959  0x00001ec1 rtnne  0x00000000 
+ 00007960  0x00001ec4 jam  0x00000001 , 0x000043da 
+ 00007961  0x00001ec5 rtn 
+ 00007962  0x00001ecb fetch  0x00000001 , 0x0000439d 
+ 00007963  0x00001ecc beq  0x00000000 , 0x00001f29 
+ 00007964  0x00001ecd beq  0x00000001 , 0x00001f2c 
+ 00007965  0x00001ece beq  0x00000002 , 0x00001f2e 
+ 00007966  0x00001ecf beq  0x00000081 , 0x00001f22 
+ 00007967  0x00001ed0 beq  0x00000082 , 0x00001f24 
+ 00007968  0x00001ed1 beq  0x00000083 , 0x00001f27 
+ 00007969  0x00001ed2 rtn 
+ 00007970  0x00001ed5 jam  0x0000000d , 0x00004353 
+ 00007971  0x00001ed6 branch  0x00001f2a 
+ 00007972  0x00001ed8 jam  0x0000000d , 0x00004353 
+ 00007973  0x00001ed9 jam  0x00000001 , 0x00004351 
+ 00007974  0x00001eda rtn 
+ 00007975  0x00001edc jam  0x0000000d , 0x00004353 
+ 00007976  0x00001edd branch  0x00001f2f 
+ 00007977  0x00001edf jam  0x00000000 , 0x00004353 
+ 00007978  0x00001ee1 jam  0x00000003 , 0x00004351 
+ 00007979  0x00001ee2 rtn 
+ 00007980  0x00001ee4 jam  0x00000005 , 0x00004353 
+ 00007981  0x00001ee5 branch  0x00001f2a 
+ 00007982  0x00001ee7 jam  0x00000005 , 0x00004353 
+ 00007983  0x00001ee9 jam  0x00000000 , 0x00004351 
+ 00007984  0x00001eea rtn 
+ 00007985  0x00001eee fetch  0x00000001 , 0x000046bb 
+ 00007986  0x00001eef set1  0x00000000 , 0x0000003f 
+ 00007987  0x00001ef0 store  0x00000001 , 0x000046bb 
+ 00007988  0x00001ef1 rtn 
+ 00007989  0x00001ef4 fetch  0x00000001 , 0x000046bb 
+ 00007990  0x00001ef5 set0  0x00000000 , 0x0000003f 
+ 00007991  0x00001ef6 store  0x00000001 , 0x000046bb 
+ 00007992  0x00001ef7 rtn 
+ 00007993  0x00001efa ifetch  0x00000001 , 0x00000006 
+ 00007994  0x00001efb beq  0x00000001 , 0x00001f4d 
+ 00007995  0x00001efd beq  0x00000003 , 0x00001f74 
+ 00007996  0x00001efe beq  0x00000004 , 0x00001f95 
+ 00007997  0x00001eff beq  0x00000005 , 0x00001fa2 
+ 00007998  0x00001f01 beq  0x00000007 , 0x0000200a 
+ 00007999  0x00001f02 beq  0x00000008 , 0x00001ff6 
+ 00008000  0x00001f03 beq  0x00000009 , 0x00002006 
+ 00008001  0x00001f04 beq  0x0000000a , 0x0000200a 
+ 00008002  0x00001f05 beq  0x0000000b , 0x0000200a 
+ 00008003  0x00001f06 beq  0x0000000c , 0x0000200b 
+ 00008004  0x00001f07 beq  0x0000000d , 0x00002010 
+ 00008005  0x00001f08 rtn 
+ 00008006  0x00001f0d force  0x00000002 , 0x00000011 
+ 00008007  0x00001f0e call  0x000020b6 
+ 00008008  0x00001f0f setarg  0x0000000b 
+ 00008009  0x00001f10 istore  0x00000001 , 0x00000005 
+ 00008010  0x00001f11 fetch  0x00000001 , 0x00004353 
+ 00008011  0x00001f12 istore  0x00000001 , 0x00000005 
+ 00008012  0x00001f13 rtn 
+ 00008013  0x00001f16 store  0x00000001 , 0x00004349 
+ 00008014  0x00001f17 ifetch  0x00000006 , 0x00000006 
+ 00008015  0x00001f18 istore  0x00000006 , 0x00000005 
+ 00008016  0x00001f19 fetch  0x00000001 , 0x0000439d 
+ 00008017  0x00001f1a beq  0x00000000 , 0x00001fa7 
+ 00008018  0x00001f1b call  0x00001f6f 
+ 00008019  0x00001f1c fetch  0x00000001 , 0x000046b9 
+ 00008020  0x00001f1d branch  0x00001f59 , 0x00000034 
+ 00008021  0x00001f1e fetch  0x00000001 , 0x0000434c 
+ 00008022  0x00001f1f bbit0  0x00000003 , 0x00003281 
+ 00008023  0x00001f20 fetch  0x00000001 , 0x0000439d 
+ 00008024  0x00001f21 bbit0  0x00000007 , 0x00003281 
+ 00008025  0x00001f23 jam  0x00000003 , 0x0000439b 
+ 00008026  0x00001f24 fetch  0x00000001 , 0x0000434a 
+ 00008027  0x00001f25 beq  0x00000000 , 0x00001f61 
+ 00008028  0x00001f26 beq  0x00000001 , 0x00001f61 
+ 00008029  0x00001f27 beq  0x00000003 , 0x00001f61 
+ 00008030  0x00001f28 fetch  0x00000001 , 0x0000439d 
+ 00008031  0x00001f29 beq  0x00000002 , 0x00001f64 
+ 00008032  0x00001f2a rtneq  0x00000083 
+ 00008033  0x00001f2c arg  0x00000000 , 0x0000003f 
+ 00008034  0x00001f2d store  0x00000004 , 0x0000439e 
+ 00008035  0x00001f2e rtn 
+ 00008036  0x00001f31 fetch  0x00000001 , 0x000043c0 
+ 00008037  0x00001f32 bbit1  0x00000000 , 0x00001f6d 
+ 00008038  0x00001f34 arg  0x0000439e , 0x00000011 
+ 00008039  0x00001f35 copy  0x00000011 , 0x00000005 
+ 00008040  0x00001f36 arg  0x00000003 , 0x00000039 
+ 00008041  0x00001f37 call  0x00005a90 
+ 00008042  0x00001f38 fetch  0x00000002 , 0x000043a0 
+ 00008043  0x00001f39 and_into  0x00000007 , 0x0000003f 
+ 00008044  0x00001f3a store  0x00000002 , 0x000043a0 
+ 00008045  0x00001f3c jam  0x00000034 , 0x0000095b 
+ 00008046  0x00001f3d branch  0x000078dc 
+ 00008047  0x00001f42 force  0x00000007 , 0x00000011 
+ 00008048  0x00001f43 call  0x000020b6 
+ 00008049  0x00001f44 fetch  0x00000007 , 0x00004350 
+ 00008050  0x00001f45 istore  0x00000007 , 0x00000005 
+ 00008051  0x00001f46 rtn 
+ 00008052  0x00001f4a jam  0x00000005 , 0x0000439b 
+ 00008053  0x00001f4b arg  0x00004327 , 0x00000005 
+ 00008054  0x00001f4c call  0x00007d7f 
+ 00008055  0x00001f4d fetch  0x00000001 , 0x0000439d 
+ 00008056  0x00001f4e beq  0x00000083 , 0x00001f7c 
+ 00008057  0x00001f4f beq  0x00000004 , 0x00001f7f 
+ 00008058  0x00001f50 beq  0x00000084 , 0x00001f81 
+ 00008059  0x00001f51 branch  0x00001f84 
+ 00008060  0x00001f53 jam  0x00000002 , 0x00004398 
+ 00008061  0x00001f54 jam  0x00000008 , 0x00004399 
+ 00008062  0x00001f55 rtn 
+ 00008063  0x00001f59 jam  0x00000043 , 0x0000095b 
+ 00008064  0x00001f5a branch  0x000078dc 
+ 00008065  0x00001f5e fetch  0x00000004 , 0x0000439e 
+ 00008066  0x00001f5f branch  0x00001f7f , 0x00000034 
+ 00008067  0x00001f60 branch  0x00001f7c 
+ 00008068  0x00001f64 jam  0x00000006 , 0x0000439b 
+ 00008069  0x00001f65 fetch  0x00000001 , 0x0000439d 
+ 00008070  0x00001f66 bbit1  0x00000007 , 0x00001f8d 
+ 00008071  0x00001f67 call  0x00006cba 
+ 00008072  0x00001f68 force  0x00000011 , 0x00000011 
+ 00008073  0x00001f69 call  0x000020b6 
+ 00008074  0x00001f6a setarg  0x00000003 
+ 00008075  0x00001f6b istore  0x00000001 , 0x00000005 
+ 00008076  0x00001f6c branch  0x00006e3c 
+ 00008077  0x00001f70 arg  0x00004337 , 0x00000005 
+ 00008078  0x00001f71 call  0x00005a8f 
+ 00008079  0x00001f72 call  0x00006ae3 
+ 00008080  0x00001f73 force  0x00000011 , 0x00000011 
+ 00008081  0x00001f74 call  0x000020b6 
+ 00008082  0x00001f75 setarg  0x00000003 
+ 00008083  0x00001f76 istore  0x00000001 , 0x00000005 
+ 00008084  0x00001f77 branch  0x00006b1f 
+ 00008085  0x00001f7c copy  0x00000006 , 0x00000011 
+ 00008086  0x00001f7d fetch  0x00000001 , 0x0000439d 
+ 00008087  0x00001f7e bbit1  0x00000007 , 0x00001fa9 
+ 00008088  0x00001f7f copy  0x00000011 , 0x00000006 
+ 00008089  0x00001f80 call  0x00006cb2 
+ 00008090  0x00001f81 branch  0x00001fbe , 0x00000005 
+ 00008091  0x00001f83 jam  0x00000004 , 0x000002d9 
+ 00008092  0x00001f85 force  0x00000002 , 0x00000011 
+ 00008093  0x00001f86 call  0x000020b6 
+ 00008094  0x00001f87 setarg  0x00000005 
+ 00008095  0x00001f88 istore  0x00000001 , 0x00000005 
+ 00008096  0x00001f89 fetch  0x00000001 , 0x000002d9 
+ 00008097  0x00001f8a istore  0x00000001 , 0x00000005 
+ 00008098  0x00001f8c force  0x0000000a , 0x00000007 
+ 00008099  0x00001f8d call  0x00007dda 
+ 00008100  0x00001f8e jam  0x00000000 , 0x0000439b 
+ 00008101  0x00001f8f jam  0x00000030 , 0x0000095b 
+ 00008102  0x00001f90 branch  0x000078dc 
+ 00008103  0x00001f93 jam  0x00000005 , 0x000002d9 
+ 00008104  0x00001f94 branch  0x00001f9c 
+ 00008105  0x00001f98 arg  0x00000277 , 0x00000005 
+ 00008106  0x00001f99 copy  0x00000011 , 0x00000006 
+ 00008107  0x00001f9a call  0x00007d7f 
+ 00008108  0x00001f9b fetch  0x00000001 , 0x0000439d 
+ 00008109  0x00001f9c beq  0x00000083 , 0x00001fb5 
+ 00008110  0x00001f9d beq  0x00000084 , 0x00001fb5 
+ 00008111  0x00001f9e call  0x00006a6d 
+ 00008112  0x00001f9f call  0x00001fc3 
+ 00008113  0x00001fa0 fetch  0x00000001 , 0x0000439d 
+ 00008114  0x00001fa1 rtnne  0x00000082 
+ 00008115  0x00001fa2 jam  0x0000003b , 0x0000095b 
+ 00008116  0x00001fa3 branch  0x000078dc 
+ 00008117  0x00001fa6 call  0x00006ad8 
+ 00008118  0x00001fa7 arg  0x000009be , 0x00000005 
+ 00008119  0x00001fa8 call  0x00006b1f 
+ 00008120  0x00001fa9 arg  0x000009be , 0x00000011 
+ 00008121  0x00001faa arg  0x00004327 , 0x00000012 
+ 00008122  0x00001fab arg  0x00000010 , 0x00000039 
+ 00008123  0x00001fac call  0x00007e66 
+ 00008124  0x00001fad nbranch  0x00001f9b , 0x00000005 
+ 00008125  0x00001fae branch  0x00001fc3 
+ 00008126  0x00001fb1 call  0x00006cae 
+ 00008127  0x00001fb2 jam  0x00000031 , 0x0000095b 
+ 00008128  0x00001fb3 call  0x000078dc 
+ 00008129  0x00001fb4 jam  0x00000001 , 0x00004326 
+ 00008130  0x00001fb5 jam  0x00000009 , 0x0000439b 
+ 00008131  0x00001fb8 force  0x00000011 , 0x00000011 
+ 00008132  0x00001fb9 call  0x000020b6 
+ 00008133  0x00001fba setarg  0x00000004 
+ 00008134  0x00001fbb istore  0x00000001 , 0x00000005 
+ 00008135  0x00001fbc arg  0x00004337 , 0x00000006 
+ 00008136  0x00001fbd branch  0x00007d7f 
+ 00008137  0x00001fc0 force  0x00000011 , 0x00000011 
+ 00008138  0x00001fc1 call  0x000020b6 
+ 00008139  0x00001fc2 setarg  0x00000006 
+ 00008140  0x00001fc3 istore  0x00000001 , 0x00000005 
+ 00008141  0x00001fc4 fetch  0x00000001 , 0x000043c0 
+ 00008142  0x00001fc5 bbit1  0x00000001 , 0x00001fd1 
+ 00008143  0x00001fc6 arg  0x00004316 , 0x00000006 
+ 00008144  0x00001fc7 branch  0x00007d7f 
+ 00008145  0x00001fca arg  0x000043c1 , 0x00000006 
+ 00008146  0x00001fcb branch  0x00007d7f 
+ 00008147  0x00001fcf arg  0x000043a2 , 0x00000005 
+ 00008148  0x00001fd0 force  0x0000000a , 0x00000039 
+ 00008149  0x00001fd1 call  0x00005a90 
+ 00008150  0x00001fd2 force  0x0000000b , 0x00000011 
+ 00008151  0x00001fd3 call  0x000020b6 
+ 00008152  0x00001fd4 setarg  0x00000007 
+ 00008153  0x00001fd5 istore  0x00000001 , 0x00000005 
+ 00008154  0x00001fd6 fetch  0x00000002 , 0x000043a2 
+ 00008155  0x00001fd7 istore  0x00000002 , 0x00000005 
+ 00008156  0x00001fd8 fetch  0x00000008 , 0x000043a4 
+ 00008157  0x00001fd9 istore  0x00000008 , 0x00000005 
+ 00008158  0x00001fda rtn 
+ 00008159  0x00001fdd force  0x00000011 , 0x00000011 
+ 00008160  0x00001fde call  0x000020b6 
+ 00008161  0x00001fdf setarg  0x00000008 
+ 00008162  0x00001fe0 istore  0x00000001 , 0x00000005 
+ 00008163  0x00001fe1 setarg  0x00000000 
+ 00008164  0x00001fe2 istore  0x00000008 , 0x00000005 
+ 00008165  0x00001fe3 istore  0x00000008 , 0x00000005 
+ 00008166  0x00001fe4 rtn 
+ 00008167  0x00001fe8 force  0x00000008 , 0x00000011 
+ 00008168  0x00001fe9 call  0x000020b6 
+ 00008169  0x00001fea setarg  0x00000009 
+ 00008170  0x00001feb istore  0x00000001 , 0x00000005 
+ 00008171  0x00001fec fetch  0x00000001 , 0x00004371 
+ 00008172  0x00001fed istore  0x00000001 , 0x00000005 
+ 00008173  0x00001fee fetch  0x00000006 , 0x0000437a 
+ 00008174  0x00001fef istore  0x00000006 , 0x00000005 
+ 00008175  0x00001ff0 rtn 
+ 00008176  0x00001ff4 jam  0x00000008 , 0x000002d9 
+ 00008177  0x00001ff5 branch  0x00001f9c 
+ 00008178  0x00001ff8 fetch  0x00000001 , 0x00004355 
+ 00008179  0x00001ff9 fetcht  0x00000001 , 0x00004355 
+ 00008180  0x00001ffa iand  0x00000002 , 0x0000003f 
+ 00008181  0x00001ffb rtn 
+ 00008182  0x00001ffe arg  0x000043ac , 0x00000005 
+ 00008183  0x00001fff call  0x00007d7f 
+ 00008184  0x00002000 call  0x00001ff2 
+ 00008185  0x00002001 isolate0  0x00000001 , 0x0000003f 
+ 00008186  0x00002002 branch  0x00001ff0 , 0x00000001 
+ 00008187  0x00002003 fetch  0x00000001 , 0x0000409a 
+ 00008188  0x00002004 rtnne  0x0000000a 
+ 00008189  0x00002005 call  0x00002000 
+ 00008190  0x00002006 nrtn  0x00000028 
+ 00008191  0x00002007 branch  0x0000328f 
+ 00008192  0x0000200b call  0x00007ec7 
+ 00008193  0x0000200c fetch  0x00000001 , 0x0000436a 
+ 00008194  0x0000200d rtneq  0x00000000 
+ 00008195  0x0000200e fetch  0x00000001 , 0x0000434e 
+ 00008196  0x0000200f rtnbit0  0x00000001 
+ 00008197  0x00002010 branch  0x00007ec5 
+ 00008198  0x00002013 call  0x00001ff2 
+ 00008199  0x00002014 isolate0  0x00000001 , 0x0000003f 
+ 00008200  0x00002015 branch  0x00001ff0 , 0x00000001 
+ 00008201  0x00002016 rtn 
+ 00008202  0x0000201b rtn 
+ 00008203  0x0000201e arg  0x00000880 , 0x00000005 
+ 00008204  0x0000201f call  0x00007d72 
+ 00008205  0x00002020 jam  0x00000002 , 0x00004398 
+ 00008206  0x00002021 jam  0x00000001 , 0x00004399 
+ 00008207  0x00002022 rtn 
+ 00008208  0x00002025 arg  0x00000930 , 0x00000005 
+ 00008209  0x00002026 call  0x00007d7f 
+ 00008210  0x00002027 jam  0x00000006 , 0x00004399 
+ 00008211  0x00002028 jam  0x00000002 , 0x00004398 
+ 00008212  0x00002029 rtn 
+ 00008213  0x0000202c force  0x00000041 , 0x00000011 
+ 00008214  0x0000202d call  0x000020b6 
+ 00008215  0x0000202e setarg  0x0000000c 
+ 00008216  0x0000202f istore  0x00000001 , 0x00000005 
+ 00008217  0x00002030 arg  0x000046df , 0x00000006 
+ 00008218  0x00002031 branch  0x00007d72 
+ 00008219  0x00002034 call  0x00006a84 
+ 00008220  0x00002035 force  0x00000011 , 0x00000011 
+ 00008221  0x00002036 call  0x000020b6 
+ 00008222  0x00002037 setarg  0x0000000d 
+ 00008223  0x00002038 istore  0x00000001 , 0x00000005 
+ 00008224  0x00002039 branch  0x00006b1f 
+ 00008225  0x0000203d fetch  0x00000001 , 0x0000439b 
+ 00008226  0x0000203e rtneq  0x000000ff 
+ 00008227  0x0000203f arg  0x00000003 , 0x00000002 
+ 00008228  0x00002040 isub  0x00000002 , 0x0000003e 
+ 00008229  0x00002041 nrtn  0x00000002 
+ 00008230  0x00002042 arg  0x0000000a , 0x00000007 
+ 00008231  0x00002043 call  0x00007de9 
+ 00008232  0x00002044 nrtn  0x00000034 
+ 00008233  0x00002045 branch  0x00001ff0 
+ 00008234  0x00002048 bpatchx  0x000000d9 , 0x0000403b 
+ 00008235  0x00002049 call  0x00001b24 
+ 00008236  0x0000204a nrtn  0x00000034 
+ 00008237  0x0000204b fetch  0x00000001 , 0x0000439b 
+ 00008238  0x0000204c beq  0x00000000 , 0x00002037 
+ 00008239  0x0000204d beq  0x00000001 , 0x0000203d 
+ 00008240  0x0000204e beq  0x00000002 , 0x00002037 
+ 00008241  0x0000204f beq  0x00000003 , 0x0000203f 
+ 00008242  0x00002050 beq  0x00000009 , 0x00002043 
+ 00008243  0x00002051 beq  0x0000000b , 0x00002053 
+ 00008244  0x00002052 beq  0x0000000c , 0x00002055 
+ 00008245  0x00002053 beq  0x0000000d , 0x0000205c 
+ 00008246  0x00002054 rtn 
+ 00008247  0x00002058 fetch  0x00000001 , 0x0000439c 
+ 00008248  0x00002059 rtnne  0x00000004 
+ 00008249  0x0000205a jam  0x000000ff , 0x0000439c 
+ 00008250  0x0000205b jam  0x000000ff , 0x0000439b 
+ 00008251  0x0000205c jam  0x0000003f , 0x0000095b 
+ 00008252  0x0000205d branch  0x000078dc 
+ 00008253  0x00002061 jam  0x00000002 , 0x0000439b 
+ 00008254  0x00002062 branch  0x00001f46 
+ 00008255  0x00002065 jam  0x00000004 , 0x0000439b 
+ 00008256  0x00002066 setarg  0x00017700 
+ 00008257  0x00002067 arg  0x0000000a , 0x00000007 
+ 00008258  0x00002068 branch  0x00007ddb 
+ 00008259  0x0000206b fetch  0x00000001 , 0x0000439c 
+ 00008260  0x0000206c beq  0x00000004 , 0x00002046 
+ 00008261  0x0000206d rtn 
+ 00008262  0x00002070 fetch  0x00000001 , 0x0000439d 
+ 00008263  0x00002071 bbit1  0x00000007 , 0x00002051 
+ 00008264  0x00002073 jam  0x0000000b , 0x0000439b 
+ 00008265  0x00002074 call  0x00001fc9 
+ 00008266  0x00002076 jam  0x00000029 , 0x0000095b 
+ 00008267  0x00002077 call  0x000078dc 
+ 00008268  0x00002078 fetch  0x00000001 , 0x0000409a 
+ 00008269  0x00002079 rtnne  0x0000000a 
+ 00008270  0x0000207a call  0x00002000 
+ 00008271  0x0000207b rtn  0x00000028 
+ 00008272  0x0000207c branch  0x0000328f 
+ 00008273  0x0000207f jam  0x0000000c , 0x0000439b 
+ 00008274  0x00002080 branch  0x0000204a 
+ 00008275  0x00002083 jam  0x0000000c , 0x0000439b 
+ 00008276  0x00002084 branch  0x00001fd3 
+ 00008277  0x00002087 fetch  0x00000001 , 0x0000434f 
+ 00008278  0x00002088 fetcht  0x00000001 , 0x00004356 
+ 00008279  0x00002089 iand  0x00000002 , 0x0000003f 
+ 00008280  0x0000208a isolate0  0x00000001 , 0x0000003f 
+ 00008281  0x0000208b branch  0x0000205e , 0x00000001 
+ 00008282  0x0000208c jam  0x0000000d , 0x0000439b 
+ 00008283  0x0000208d branch  0x00001fdf 
+ 00008284  0x00002090 call  0x00001fe7 
+ 00008285  0x00002091 branch  0x0000205e 
+ 00008286  0x00002095 force  0x0000000a , 0x00000007 
+ 00008287  0x00002096 call  0x00007dda 
+ 00008288  0x00002097 jam  0x000000ff , 0x0000439c 
+ 00008289  0x00002098 jam  0x000000ff , 0x0000439b 
+ 00008290  0x00002099 jam  0x0000003e , 0x0000095b 
+ 00008291  0x0000209a branch  0x000078dc 
+ 00008292  0x0000209f bpatchx  0x000000da , 0x0000403b 
+ 00008293  0x000020a0 fetch  0x00000001 , 0x0000439d 
+ 00008294  0x000020a1 rtnbit0  0x00000007 
+ 00008295  0x000020a2 fetch  0x00000001 , 0x00004398 
+ 00008296  0x000020a3 rtnne  0x00000002 
+ 00008297  0x000020a4 jam  0x00000000 , 0x00004398 
+ 00008298  0x000020a5 fetch  0x00000001 , 0x00004399 
+ 00008299  0x000020a6 beq  0x00000001 , 0x000020ac 
+ 00008300  0x000020a7 beq  0x00000002 , 0x000020b3 
+ 00008301  0x000020a8 beq  0x00000003 , 0x000020a4 
+ 00008302  0x000020a9 beq  0x00000006 , 0x00002089 
+ 00008303  0x000020aa beq  0x00000007 , 0x00002080 
+ 00008304  0x000020ab beq  0x00000008 , 0x00002076 
+ 00008305  0x000020ac rtn 
+ 00008306  0x000020af jam  0x00000000 , 0x00004398 
+ 00008307  0x000020b0 jam  0x00000000 , 0x00004399 
+ 00008308  0x000020b1 jam  0x00000000 , 0x0000439a 
+ 00008309  0x000020b2 rtn 
+ 00008310  0x000020b5 fetch  0x00000001 , 0x00004770 
+ 00008311  0x000020b6 copy  0x0000003f , 0x00000007 
+ 00008312  0x000020b7 increase  0x00000001 , 0x0000003f 
+ 00008313  0x000020b8 store  0x00000001 , 0x00004770 
+ 00008314  0x000020b9 fetch  0x00000004 , 0x0000439e 
+ 00008315  0x000020ba qisolate1  0x0000003f 
+ 00008316  0x000020bb setarg  0x00000080 
+ 00008317  0x000020bc setflag  0x00000001 , 0x00000000 , 0x0000003f 
+ 00008318  0x000020bd store  0x00000001 , 0x00004771 
+ 00008319  0x000020be branch  0x000020a8 
+ 00008320  0x000020c1 fetch  0x00000001 , 0x0000439a 
+ 00008321  0x000020c2 jam  0x00000000 , 0x0000439a 
+ 00008322  0x000020c3 beq  0x00000001 , 0x00002085 
+ 00008323  0x000020c4 jam  0x00000002 , 0x00004398 
+ 00008324  0x000020c5 rtn 
+ 00008325  0x000020c8 jam  0x00000031 , 0x0000095b 
+ 00008326  0x000020c9 call  0x000078dc 
+ 00008327  0x000020ca jam  0x00000009 , 0x0000439b 
+ 00008328  0x000020cb branch  0x0000201b 
+ 00008329  0x000020ce fetch  0x00000001 , 0x0000087b 
+ 00008330  0x000020cf beq  0x00000003 , 0x0000208d 
+ 00008331  0x000020d0 jam  0x00000002 , 0x00004398 
+ 00008332  0x000020d1 rtn 
+ 00008333  0x000020d4 call  0x00006aab 
+ 00008334  0x000020d5 fetch  0x00000001 , 0x0000439d 
+ 00008335  0x000020d6 beq  0x00000083 , 0x00002092 
+ 00008336  0x000020d7 beq  0x00000084 , 0x00002092 
+ 00008337  0x000020d8 call  0x00001f61 
+ 00008338  0x000020da call  0x00006a98 
+ 00008339  0x000020db arg  0x000009be , 0x00000011 
+ 00008340  0x000020dc arg  0x00000930 , 0x00000012 
+ 00008341  0x000020dd arg  0x00000010 , 0x00000039 
+ 00008342  0x000020de call  0x00007e66 
+ 00008343  0x000020df branch  0x0000209a , 0x00000005 
+ 00008344  0x000020e1 jam  0x0000000b , 0x000002d9 
+ 00008345  0x000020e2 branch  0x00001f9c 
+ 00008346  0x000020e6 call  0x00006f58 
+ 00008347  0x000020e7 nbranch  0x00002098 , 0x00000005 
+ 00008348  0x000020e8 jam  0x00000001 , 0x00004326 
+ 00008349  0x000020e9 fetch  0x00000001 , 0x0000439d 
+ 00008350  0x000020ea beq  0x00000081 , 0x00002085 
+ 00008351  0x000020eb beq  0x00000083 , 0x00002085 
+ 00008352  0x000020ec beq  0x00000084 , 0x00002085 
+ 00008353  0x000020ed jam  0x00000002 , 0x00004398 
+ 00008354  0x000020ee jam  0x00000007 , 0x00004399 
+ 00008355  0x000020ef rtn 
+ 00008356  0x000020f2 fetch  0x00000001 , 0x0000439d 
+ 00008357  0x000020f3 beq  0x00000083 , 0x000020a9 
+ 00008358  0x000020f4 beq  0x00000084 , 0x000020a9 
+ 00008359  0x000020f5 jam  0x00000000 , 0x00004771 
+ 00008360  0x000020f7 branch  0x00001f84 
+ 00008361  0x000020fa jam  0x00000000 , 0x00004770 
+ 00008362  0x000020fb rtneq  0x00000084 
+ 00008363  0x000020fc branch  0x00001f64 
+ 00008364  0x00002100 jam  0x00000002 , 0x00004398 
+ 00008365  0x00002101 fetch  0x00000001 , 0x000046be 
+ 00008366  0x00002102 beq  0x00000003 , 0x000020b0 
+ 00008367  0x00002103 rtn 
+ 00008368  0x00002106 jam  0x00000002 , 0x00004399 
+ 00008369  0x00002107 jam  0x00000000 , 0x0000087b 
+ 00008370  0x00002108 branch  0x000075ec 
+ 00008371  0x0000210b jam  0x00000002 , 0x00004398 
+ 00008372  0x0000210c jam  0x00000003 , 0x00004399 
+ 00008373  0x0000210d branch  0x00002015 
+ 00008374  0x00002112 force  0x00000006 , 0x00000012 
+ 00008375  0x00002113 branch  0x00001af9 
+ 00008376  0x00002118 fetch  0x00000001 , 0x0000016d 
+ 00008377  0x00002119 beq  0x00000000 , 0x000020cf 
+ 00008378  0x0000211a beq  0x00000001 , 0x000020d7 
+ 00008379  0x0000211b beq  0x00000002 , 0x000020df 
+ 00008380  0x0000211c beq  0x00000003 , 0x000020e3 
+ 00008381  0x0000211d beq  0x00000004 , 0x00002102 
+ 00008382  0x0000211e beq  0x00000005 , 0x00002107 
+ 00008383  0x0000211f beq  0x00000006 , 0x0000210b 
+ 00008384  0x00002120 beq  0x00000007 , 0x00002110 
+ 00008385  0x00002121 beq  0x00000008 , 0x00002111 
+ 00008386  0x00002122 beq  0x00000009 , 0x00002112 
+ 00008387  0x00002123 beq  0x0000000a , 0x00002113 
+ 00008388  0x00002124 beq  0x0000000b , 0x00002117 
+ 00008389  0x00002125 beq  0x0000000c , 0x00002118 
+ 00008390  0x00002126 beq  0x0000000d , 0x0000211a 
+ 00008391  0x00002127 beq  0x00000012 , 0x0000211b 
+ 00008392  0x00002128 beq  0x00000013 , 0x0000211c 
+ 00008393  0x00002129 beq  0x00000014 , 0x0000211d 
+ 00008394  0x0000212a beq  0x00000015 , 0x0000211f 
+ 00008395  0x0000212b beq  0x00000016 , 0x0000212a 
+ 00008396  0x0000212c beq  0x00000018 , 0x0000212b 
+ 00008397  0x0000212d fetchr  0x00000013 , 0x00000001 , 0x0000016d 
+ 00008398  0x0000212e branch  0x0000214e 
+ 00008399  0x00002133 ifetch  0x00000009 , 0x00000006 
+ 00008400  0x00002134 store  0x00000009 , 0x000002be 
+ 00008401  0x00002135 ifetch  0x00000002 , 0x00000006 
+ 00008402  0x00002136 store  0x00000002 , 0x000002a7 
+ 00008403  0x00002137 fetch  0x00000001 , 0x00000287 
+ 00008404  0x00002138 set1  0x00000005 , 0x0000003f 
+ 00008405  0x00002139 store  0x00000001 , 0x00000287 
+ 00008406  0x0000213a rtn 
+ 00008407  0x0000213f ifetch  0x00000005 , 0x00000006 
+ 00008408  0x00002140 store  0x00000005 , 0x000002be 
+ 00008409  0x00002141 ifetch  0x00000002 , 0x00000006 
+ 00008410  0x00002142 store  0x00000002 , 0x000002a7 
+ 00008411  0x00002144 fetch  0x00000001 , 0x00000287 
+ 00008412  0x00002145 set1  0x00000006 , 0x0000003f 
+ 00008413  0x00002146 store  0x00000001 , 0x00000287 
+ 00008414  0x00002147 rtn 
+ 00008415  0x0000214c setarg  0x00000014 
+ 00008416  0x0000214d store  0x00000002 , 0x000002b5 
+ 00008417  0x0000214e store  0x00000002 , 0x00004394 
+ 00008418  0x0000214f rtn 
+ 00008419  0x00002154 ifetch  0x00000008 , 0x00000006 
+ 00008420  0x00002155 store  0x00000008 , 0x000043a4 
+ 00008421  0x00002156 ifetch  0x00000002 , 0x00000006 
+ 00008422  0x00002157 store  0x00000002 , 0x000043a2 
+ 00008423  0x00002158 ifetch  0x00000008 , 0x00000006 
+ 00008424  0x00002159 store  0x00000008 , 0x00004384 
+ 00008425  0x0000215a ifetch  0x00000004 , 0x00000006 
+ 00008426  0x0000215b store  0x00000004 , 0x000046ad 
+ 00008427  0x0000215c call  0x0000213b 
+ 00008428  0x0000215d bpatchx  0x000000db , 0x0000403b 
+ 00008429  0x0000215e fetch  0x00000001 , 0x0000439b 
+ 00008430  0x0000215f beq  0x00000009 , 0x000020f5 
+ 00008431  0x00002160 fetch  0x00000001 , 0x000043c0 
+ 00008432  0x00002161 bbit1  0x00000001 , 0x000020f8 
+ 00008433  0x00002162 fetch  0x00000001 , 0x0000448b 
+ 00008434  0x00002163 ncall  0x000060bc , 0x00000034 
+ 00008435  0x00002164 fetch  0x00000001 , 0x00004326 
+ 00008436  0x00002165 beq  0x00000000 , 0x000020fd 
+ 00008437  0x00002167 jam  0x00000001 , 0x0000439c 
+ 00008438  0x00002168 call  0x00002149 
+ 00008439  0x00002169 branch  0x00006cc0 
+ 00008440  0x0000216b jam  0x00000001 , 0x00004326 
+ 00008441  0x0000216c arg  0x000043c1 , 0x00000006 
+ 00008442  0x0000216d arg  0x00004316 , 0x00000005 
+ 00008443  0x0000216e call  0x00007d7f 
+ 00008444  0x0000216f branch  0x000020f5 
+ 00008445  0x00002171 bpatchx  0x000000dc , 0x0000403b 
+ 00008446  0x00002172 jam  0x00000000 , 0x0000439c 
+ 00008447  0x00002173 jam  0x00000000 , 0x0000439b 
+ 00008448  0x00002174 jam  0x00000041 , 0x0000095b 
+ 00008449  0x00002175 branch  0x000078dc 
+ 00008450  0x00002179 ifetch  0x00000008 , 0x00000006 
+ 00008451  0x0000217a store  0x00000008 , 0x0000438c 
+ 00008452  0x0000217b ifetch  0x00000004 , 0x00000006 
+ 00008453  0x0000217c store  0x00000004 , 0x000046b1 
+ 00008454  0x0000217d branch  0x00006cc0 
+ 00008455  0x00002182 fetch  0x00000001 , 0x00000287 
+ 00008456  0x00002183 set1  0x00000004 , 0x0000003f 
+ 00008457  0x00002184 store  0x00000001 , 0x00000287 
+ 00008458  0x00002185 rtn 
+ 00008459  0x00002189 rtn  0x00000029 
+ 00008460  0x0000218a jam  0x00000032 , 0x0000095b 
+ 00008461  0x0000218b call  0x000078dc 
+ 00008462  0x0000218c jam  0x00000004 , 0x0000439c 
+ 00008463  0x0000218d branch  0x0000214c 
+ 00008464  0x00002192 rtn 
+ 00008465  0x00002197 branch  0x00002153 
+ 00008466  0x0000219c rtn 
+ 00008467  0x000021a1 jam  0x00000002 , 0x0000439c 
+ 00008468  0x000021a2 call  0x0000215a 
+ 00008469  0x000021a3 jam  0x00000033 , 0x0000095b 
+ 00008470  0x000021a4 branch  0x000078dc 
+ 00008471  0x000021a9 rtn 
+ 00008472  0x000021ae rtn  0x00000029 
+ 00008473  0x000021af branch  0x0000215c 
+ 00008474  0x000021b4 rtn 
+ 00008475  0x000021b9 branch  0x00002168 
+ 00008476  0x000021be rtn 
+ 00008477  0x000021c2 call  0x0000211f 
+ 00008478  0x000021c3 branch  0x0000216c 
+ 00008479  0x000021c6 ifetch  0x00000008 , 0x00000006 
+ 00008480  0x000021c7 store  0x00000008 , 0x00004444 
+ 00008481  0x000021c8 fetch  0x00000002 , 0x00004444 
+ 00008482  0x000021c9 fetcht  0x00000002 , 0x00004450 
+ 00008483  0x000021ca call  0x00007ebb 
+ 00008484  0x000021cb store  0x00000002 , 0x00004444 
+ 00008485  0x000021cd fetch  0x00000002 , 0x00004448 
+ 00008486  0x000021ce fetcht  0x00000002 , 0x0000444c 
+ 00008487  0x000021cf call  0x00007ebb 
+ 00008488  0x000021d0 store  0x00000002 , 0x00004448 
+ 00008489  0x000021d1 rtn 
+ 00008490  0x000021d6 branch  0x00002172 
+ 00008491  0x000021db ifetch  0x00000002 , 0x00000006 
+ 00008492  0x000021dc store  0x00000002 , 0x000002be 
+ 00008493  0x000021dd ifetch  0x00000002 , 0x00000006 
+ 00008494  0x000021de store  0x00000002 , 0x000002a7 
+ 00008495  0x000021df rtn  0x00000034 
+ 00008496  0x000021e0 fetch  0x00000001 , 0x00000287 
+ 00008497  0x000021e1 set1  0x00000007 , 0x0000003f 
+ 00008498  0x000021e2 store  0x00000001 , 0x00000287 
+ 00008499  0x000021e3 rtn 
+ 00008500  0x000021e9 arg  0x00000013 , 0x00000013 
+ 00008501  0x000021ed arg  0x00000002 , 0x00000011 
+ 00008502  0x000021ee arg  0x00000002 , 0x00000012 
+ 00008503  0x000021ef call  0x00001af4 
+ 00008504  0x000021f0 copy  0x00000013 , 0x0000003f 
+ 00008505  0x000021f1 istore  0x00000001 , 0x00000005 
+ 00008506  0x000021f2 rtn 
+ 00008507  0x000021f7 arg  0x0000438c , 0x00000005 
+ 00008508  0x000021f8 force  0x00000008 , 0x00000039 
+ 00008509  0x000021f9 call  0x00005a90 
+ 00008510  0x000021fa arg  0x000046b1 , 0x00000005 
+ 00008511  0x000021fb force  0x00000004 , 0x00000039 
+ 00008512  0x000021fc call  0x00005a90 
+ 00008513  0x000021fd arg  0x0000000d , 0x00000011 
+ 00008514  0x000021fe arg  0x00000004 , 0x00000012 
+ 00008515  0x000021ff call  0x00001af4 
+ 00008516  0x00002200 fetch  0x00000008 , 0x0000438c 
+ 00008517  0x00002201 istore  0x00000008 , 0x00000005 
+ 00008518  0x00002202 fetch  0x00000004 , 0x000046b1 
+ 00008519  0x00002203 istore  0x00000004 , 0x00000005 
+ 00008520  0x00002204 rtn 
+ 00008521  0x00002209 jam  0x00000005 , 0x0000439c 
+ 00008522  0x0000220a arg  0x00000005 , 0x00000012 
+ 00008523  0x0000220b branch  0x0000217c 
+ 00008524  0x00002210 arg  0x00000006 , 0x00000012 
+ 00008525  0x00002211 branch  0x0000217c 
+ 00008526  0x00002217 arg  0x00000002 , 0x00000011 
+ 00008527  0x00002218 arg  0x00000007 , 0x00000012 
+ 00008528  0x00002219 call  0x00001af4 
+ 00008529  0x0000221a istorer  0x00000013 , 0x00000001 , 0x00000005 
+ 00008530  0x0000221b rtn 
+ 00008531  0x00002220 arg  0x00000009 , 0x00000011 
+ 00008532  0x00002221 arg  0x00000009 , 0x00000012 
+ 00008533  0x00002222 call  0x00001af4 
+ 00008534  0x00002223 fetch  0x00000008 , 0x0000443a 
+ 00008535  0x00002224 or  0x0000003f , 0x00000001 , 0x0000003f 
+ 00008536  0x00002225 istore  0x00000008 , 0x00000005 
+ 00008537  0x00002226 rtn 
+ 00008538  0x0000222b arg  0x0000000b , 0x00000012 
+ 00008539  0x0000222c branch  0x0000217c 
+ 00008540  0x00002231 arg  0x00000006 , 0x00000011 
+ 00008541  0x00002232 arg  0x0000000c , 0x00000012 
+ 00008542  0x00002233 call  0x00001af4 
+ 00008543  0x00002234 fetch  0x00000005 , 0x000045fa 
+ 00008544  0x00002235 istore  0x00000005 , 0x00000005 
+ 00008545  0x00002236 rtn 
+ 00008546  0x0000223a arg  0x00000002 , 0x00000011 
+ 00008547  0x0000223b arg  0x0000000d , 0x00000012 
+ 00008548  0x0000223c call  0x00001af4 
+ 00008549  0x0000223d setarg  0x00000006 
+ 00008550  0x0000223e istore  0x00000001 , 0x00000005 
+ 00008551  0x0000223f rtn 
+ 00008552  0x00002244 arg  0x00000013 , 0x00000012 
+ 00008553  0x00002245 branch  0x0000217c 
+ 00008554  0x00002248 arg  0x00000014 , 0x00000012 
+ 00008555  0x00002249 branch  0x0000216d 
+ 00008556  0x0000224c arg  0x00000015 , 0x00000012 
+ 00008557  0x0000224e arg  0x00000009 , 0x00000011 
+ 00008558  0x0000224f call  0x00001af4 
+ 00008559  0x00002250 fetch  0x00000008 , 0x0000444c 
+ 00008560  0x00002251 istore  0x00000008 , 0x00000005 
+ 00008561  0x00002252 rtn 
+ 00008562  0x00002257 arg  0x00000003 , 0x00000011 
+ 00008563  0x00002258 arg  0x00000017 , 0x00000012 
+ 00008564  0x00002259 call  0x00001af4 
+ 00008565  0x0000225a fetch  0x00000001 , 0x00004442 
+ 00008566  0x0000225b and  0x0000003f , 0x00000007 , 0x0000003f 
+ 00008567  0x0000225c istore  0x00000001 , 0x00000005 
+ 00008568  0x0000225d fetch  0x00000001 , 0x00004443 
+ 00008569  0x0000225e and  0x0000003f , 0x00000007 , 0x0000003f 
+ 00008570  0x0000225f istore  0x00000001 , 0x00000005 
+ 00008571  0x00002260 rtn 
+ 00008572  0x00002265 arg  0x00000001 , 0x00000011 
+ 00008573  0x00002266 branch  0x00001af4 
+ 00008574  0x0000226c bpatchx  0x000000dd , 0x0000403b 
+ 00008575  0x0000226d bmark1  0x00000027 , 0x000023e1 
+ 00008576  0x0000226e branch  0x00002622 
+ 00008577  0x00002274 disable  0x00000009 
+ 00008578  0x00002275 disable  0x00000007 
+ 00008579  0x00002276 setarg  0x00555555 
+ 00008580  0x00002277 iforce  0x0000000f 
+ 00008581  0x00002278 fetch  0x00000001 , 0x0000483d 
+ 00008582  0x00002279 branch  0x0000166f 
+ 00008583  0x0000227c bpatchx  0x000000de , 0x0000403b 
+ 00008584  0x0000227d fetch  0x00000001 , 0x00004867 
+ 00008585  0x0000227e call  0x00001637 
+ 00008586  0x0000227f fetch  0x00000004 , 0x0000483f 
+ 00008587  0x00002280 iforce  0x00000009 
+ 00008588  0x00002281 call  0x000010ac 
+ 00008589  0x00002282 call  0x0000115d 
+ 00008590  0x00002283 fetcht  0x00000001 , 0x0000483d 
+ 00008591  0x00002284 call  0x00001674 
+ 00008592  0x00002286 call  0x00002181 
+ 00008593  0x00002287 bmark0  0x0000002f , 0x00002195 
+ 00008594  0x00002288 pulse  0x00000039 
+ 00008595  0x00002289 nop  0x0000001e 
+ 00008596  0x0000228a call  0x00002181 
+ 00008597  0x0000228c disable  0x0000002f 
+ 00008598  0x0000228d enable  0x0000000d 
+ 00008599  0x0000228e enable  0x00000021 
+ 00008600  0x0000228f disable  0x00000020 
+ 00008601  0x00002290 enable  0x00000010 
+ 00008602  0x00002291 fetch  0x00000002 , 0x0000483b 
+ 00008603  0x00002292 iforce  0x0000001b 
+ 00008604  0x00002293 correlate  0x0000003e , 0x00000003 
+ 00008605  0x00002294 nbranch  0x000021ef , 0x00000018 
+ 00008606  0x00002295 call  0x00004d0d 
+ 00008607  0x00002296 bmark1  0x0000002f , 0x000021a4 
+ 00008608  0x00002297 fetch  0x00000001 , 0x0000487a 
+ 00008609  0x00002298 nbranch  0x000021a4 , 0x00000034 
+ 00008610  0x00002299 disable  0x0000000d 
+ 00008611  0x0000229a enable  0x0000000b 
+ 00008612  0x0000229c enable  0x00000007 
+ 00008613  0x0000229d enable  0x00000009 
+ 00008614  0x0000229e call  0x000021ec 
+ 00008615  0x0000229f store  0x00000001 , 0x0000485d 
+ 00008616  0x000022a0 fetcht  0x00000001 , 0x0000485c 
+ 00008617  0x000022a1 isub  0x00000002 , 0x0000003e 
+ 00008618  0x000022a2 nbranch  0x000021f1 , 0x00000005 
+ 00008619  0x000022a3 bpatchx  0x000000df , 0x0000403b 
+ 00008620  0x000022a4 disable  0x00000031 
+ 00008621  0x000022a5 isolate1  0x0000002f , 0x00000000 
+ 00008622  0x000022a6 call  0x000021de , 0x00000001 
+ 00008623  0x000022a7 branch  0x000021f1 , 0x00000031 
+ 00008624  0x000022a8 call  0x000021ec 
+ 00008625  0x000022a9 store  0x00000001 , 0x000047a7 
+ 00008626  0x000022aa bmark1  0x00000027 , 0x000021b7 
+ 00008627  0x000022ab fetch  0x00000001 , 0x000047a7 
+ 00008628  0x000022ac fetcht  0x00000001 , 0x00004839 
+ 00008629  0x000022ad icompare  0x00000007 , 0x00000002 
+ 00008630  0x000022ae nbranch  0x000021f1 , 0x00000001 
+ 00008631  0x000022b0 call  0x000021ec 
+ 00008632  0x000022b1 isolate1  0x0000002f , 0x00000000 
+ 00008633  0x000022b2 call  0x000021e7 , 0x00000001 
+ 00008634  0x000022b3 istore  0x00000001 , 0x00000005 
+ 00008635  0x000022b4 rshift3  0x0000003f , 0x0000003f 
+ 00008636  0x000022b5 sub  0x0000003f , 0x0000001f , 0x0000003e 
+ 00008637  0x000022b6 nbranch  0x000021f1 , 0x00000002 
+ 00008638  0x000022b7 copy  0x0000003f , 0x00000039 
+ 00008639  0x000022b8 branch  0x000021c3 , 0x00000005 
+ 00008640  0x000022ba call  0x000021ec 
+ 00008641  0x000022bb istore  0x00000001 , 0x00000005 
+ 00008642  0x000022bc loop  0x000021c0 
+ 00008643  0x000022be bmark1  0x00000027 , 0x000021c8 
+ 00008644  0x000022bf copy  0x00000005 , 0x00000011 
+ 00008645  0x000022c0 call  0x000021ec 
+ 00008646  0x000022c1 store  0x00000001 , 0x00004882 
+ 00008647  0x000022c2 copy  0x00000011 , 0x00000005 
+ 00008648  0x000022c4 parse  0x00000003 , 0x00000000 , 0x00000018 
+ 00008649  0x000022c5 rshift32  0x0000003f , 0x0000003f 
+ 00008650  0x000022c6 rshift16  0x0000003f , 0x0000003f 
+ 00008651  0x000022c7 istore  0x00000003 , 0x00000005 
+ 00008652  0x000022c8 fetch  0x00000001 , 0x0000487a 
+ 00008653  0x000022c9 nbranch  0x000021dc , 0x00000034 
+ 00008654  0x000022ca disable  0x0000000b 
+ 00008655  0x000022cc isolate1  0x00000027 , 0x00000000 
+ 00008656  0x000022cd call  0x000025e5 , 0x00000001 
+ 00008657  0x000022ce branch  0x000021f1 , 0x00000006 
+ 00008658  0x000022cf call  0x00004d0c 
+ 00008659  0x000022d0 enable  0x0000002f 
+ 00008660  0x000022d1 call  0x0000175c 
+ 00008661  0x000022d2 bpatchx  0x000000e0 , 0x0000403c 
+ 00008662  0x000022d3 rtnmark1  0x00000027 
+ 00008663  0x000022d4 fetch  0x00000001 , 0x00004882 
+ 00008664  0x000022d5 fetcht  0x00000001 , 0x000048d1 
+ 00008665  0x000022d6 isub  0x00000002 , 0x0000003e 
+ 00008666  0x000022d7 call  0x00007ebd , 0x00000002 
+ 00008667  0x000022d8 branch  0x000025e9 
+ 00008668  0x000022db disable  0x0000000d 
+ 00008669  0x000022dc branch  0x000021cf 
+ 00008670  0x000022e0 call  0x000021ec 
+ 00008671  0x000022e1 sub  0x0000003f , 0x00000001 , 0x0000003e 
+ 00008672  0x000022e2 branch  0x00007ecd , 0x00000002 
+ 00008673  0x000022e3 increase  0xfffffffe , 0x0000003f 
+ 00008674  0x000022e4 bmark1  0x00000027 , 0x000021e5 
+ 00008675  0x000022e5 branch  0x00007ecd , 0x00000034 
+ 00008676  0x000022e6 increase  0xffffffff , 0x0000003f 
+ 00008677  0x000022e8 store  0x00000001 , 0x00000964 
+ 00008678  0x000022e9 rtn 
+ 00008679  0x000022ec and_into  0x00000007 , 0x0000003f 
+ 00008680  0x000022ed fetcht  0x00000001 , 0x00000964 
+ 00008681  0x000022ee lshift3  0x00000002 , 0x00000002 
+ 00008682  0x000022ef ior  0x00000002 , 0x0000003f 
+ 00008683  0x000022f0 rtn 
+ 00008684  0x000022f3 parse  0x00000003 , 0x00000000 , 0x00000008 
+ 00008685  0x000022f4 rshift3  0x0000000c , 0x0000003f 
+ 00008686  0x000022f5 rtn 
+ 00008687  0x000022f8 isolate1  0x00000027 , 0x00000000 
+ 00008688  0x000022f9 call  0x00002601 , 0x00000001 
+ 00008689  0x000022fb call  0x0000165e 
+ 00008690  0x000022fc disable  0x0000001b 
+ 00008691  0x000022fd disable  0x0000000b 
+ 00008692  0x000022fe branch  0x00000e7c 
+ 00008693  0x00002301 call  0x0000115d 
+ 00008694  0x00002302 fetcht  0x00000001 , 0x0000483d 
+ 00008695  0x00002303 branch  0x00001201 
+ 00008696  0x00002306 bpatchx  0x000000e1 , 0x0000403c 
+ 00008697  0x00002307 fetch  0x00000001 , 0x00004868 
+ 00008698  0x00002308 call  0x00001637 
+ 00008699  0x00002309 fetch  0x00000004 , 0x0000483f 
+ 00008700  0x0000230a iforce  0x00000009 
+ 00008701  0x0000230b call  0x00002181 
+ 00008702  0x0000230c call  0x000021f5 
+ 00008703  0x0000230d set1  0x00000000 , 0x00000015 
+ 00008704  0x0000230e enable  0x0000001d 
+ 00008705  0x0000230f enable  0x00000020 
+ 00008706  0x00002310 disable  0x00000021 
+ 00008707  0x00002311 call  0x00004d13 
+ 00008708  0x00002312 disable  0x0000003a 
+ 00008709  0x00002313 bmark1  0x0000002f , 0x00002229 
+ 00008710  0x00002314 bmark1  0x0000002d , 0x0000223b 
+ 00008711  0x00002315 rshift16  0x00000009 , 0x0000003f 
+ 00008712  0x00002316 rshift8  0x0000003f , 0x0000003f 
+ 00008713  0x00002317 rshift4  0x0000003f , 0x0000003f 
+ 00008714  0x00002318 inject  0x00000003 , 0x00000028 
+ 00008715  0x0000231a bmark1  0x0000002f , 0x00002210 
+ 00008716  0x0000231b fetch  0x00000001 , 0x0000487a 
+ 00008717  0x0000231c nbranch  0x00002210 , 0x00000034 
+ 00008718  0x0000231d disable  0x0000001d 
+ 00008719  0x0000231e enable  0x0000001b 
+ 00008720  0x00002320 enable  0x00000007 
+ 00008721  0x00002321 enable  0x00000009 
+ 00008722  0x00002322 fetch  0x00000001 , 0x0000483a 
+ 00008723  0x00002323 iforce  0x00000039 
+ 00008724  0x00002324 arg  0x000047e9 , 0x00000006 
+ 00008725  0x00002326 ifetch  0x00000001 , 0x00000006 
+ 00008726  0x00002327 inject  0x00000003 , 0x00000008 
+ 00008727  0x00002328 loop  0x00002215 
+ 00008728  0x00002329 enable  0x00000008 
+ 00008729  0x0000232a inject  0x00000003 , 0x00000018 
+ 00008730  0x0000232b disable  0x00000008 
+ 00008731  0x0000232c bmark0  0x0000002f , 0x0000221f 
+ 00008732  0x0000232d disable  0x00000007 
+ 00008733  0x0000232e setarg  0x00000000 
+ 00008734  0x0000232f inject  0x00000003 , 0x00000003 
+ 00008735  0x00002331 until  0x0000003e , 0x00000027 
+ 00008736  0x00002332 nop  0x00000064 
+ 00008737  0x00002333 disable  0x0000003a 
+ 00008738  0x00002334 disable  0x0000001d 
+ 00008739  0x00002335 fetch  0x00000001 , 0x0000487a 
+ 00008740  0x00002336 nbranch  0x00002226 , 0x00000034 
+ 00008741  0x00002337 disable  0x0000001b 
+ 00008742  0x00002339 disable  0x00000038 
+ 00008743  0x0000233a call  0x0000115d 
+ 00008744  0x0000233b branch  0x00004d11 
+ 00008745  0x0000233e arg  0x0000000a , 0x00000039 
+ 00008746  0x00002340 setarg  0x0000003c 
+ 00008747  0x00002341 inject  0x00000003 , 0x00000008 
+ 00008748  0x00002342 loop  0x0000222a 
+ 00008749  0x00002343 disable  0x0000001d 
+ 00008750  0x00002344 enable  0x00000038 
+ 00008751  0x00002345 rshift16  0x00000009 , 0x0000003f 
+ 00008752  0x00002346 rshift16  0x0000003f , 0x0000003f 
+ 00008753  0x00002347 rshift4  0x0000003f , 0x0000003f 
+ 00008754  0x00002348 inject  0x00000003 , 0x00000020 
+ 00008755  0x00002349 bmark1  0x0000002e , 0x00002238 
+ 00008756  0x0000234b setarg  0x00000001 
+ 00008757  0x0000234c inject  0x00000003 , 0x00000005 
+ 00008758  0x0000234d enable  0x0000003a 
+ 00008759  0x0000234e branch  0x0000220b 
+ 00008760  0x00002351 setarg  0x00000000 
+ 00008761  0x00002352 inject  0x00000003 , 0x00000005 
+ 00008762  0x00002353 branch  0x0000220b 
+ 00008763  0x00002356 fetch  0x00000001 , 0x000041f0 
+ 00008764  0x00002357 rshift  0x0000003f , 0x00000039 
+ 00008765  0x00002359 nop  0x00000002 
+ 00008766  0x0000235a loop  0x0000223d 
+ 00008767  0x0000235c rshift16  0x00000009 , 0x0000003f 
+ 00008768  0x0000235d rshift8  0x0000003f , 0x0000003f 
+ 00008769  0x0000235e rshift4  0x0000003f , 0x00000002 
+ 00008770  0x0000235f copy  0x00000002 , 0x0000003f 
+ 00008771  0x00002360 inject  0x00000003 , 0x00000008 
+ 00008772  0x00002361 copy  0x00000002 , 0x0000003f 
+ 00008773  0x00002362 inject  0x00000003 , 0x00000028 
+ 00008774  0x00002363 branch  0x0000220b 
+ 00008775  0x0000236c fetch  0x00000001 , 0x00004868 
+ 00008776  0x0000236d bbit1  0x00000002 , 0x00002266 
+ 00008777  0x0000236f fetch  0x00000001 , 0x00004838 
+ 00008778  0x00002370 increase  0x00000003 , 0x0000003f 
+ 00008779  0x00002371 store  0x00000001 , 0x0000483a 
+ 00008780  0x00002373 fetch  0x00000001 , 0x0000485c 
+ 00008781  0x00002374 store  0x00000001 , 0x000047e9 
+ 00008782  0x00002376 fetch  0x00000001 , 0x00004839 
+ 00008783  0x00002377 istore  0x00000001 , 0x00000005 
+ 00008784  0x00002379 fetch  0x00000001 , 0x00004838 
+ 00008785  0x0000237b lshift3  0x0000003f , 0x0000003f 
+ 00008786  0x0000237c fetcht  0x00000001 , 0x0000482e 
+ 00008787  0x0000237d and  0x00000002 , 0x00000003 , 0x00000002 
+ 00008788  0x0000237e lshift  0x00000002 , 0x00000002 
+ 00008789  0x0000237f ior  0x00000002 , 0x0000003f 
+ 00008790  0x00002380 fetcht  0x00000001 , 0x0000482f 
+ 00008791  0x00002381 iadd  0x00000002 , 0x0000003f 
+ 00008792  0x00002382 istore  0x00000001 , 0x00000005 
+ 00008793  0x00002384 fetch  0x00000001 , 0x00004838 
+ 00008794  0x00002385 iforce  0x00000039 
+ 00008795  0x00002386 arg  0x000047c9 , 0x00000006 
+ 00008796  0x00002387 call  0x00007dd4 
+ 00008797  0x00002389 rtnmark0  0x00000027 
+ 00008798  0x0000238a fetch  0x00000001 , 0x00000154 
+ 00008799  0x0000238b istore  0x00000001 , 0x00000005 
+ 00008800  0x0000238c fetch  0x00000001 , 0x00004868 
+ 00008801  0x0000238d rtnbit1  0x00000002 
+ 00008802  0x0000238e fetch  0x00000001 , 0x0000483a 
+ 00008803  0x0000238f increase  0x00000001 , 0x0000003f 
+ 00008804  0x00002390 store  0x00000001 , 0x0000483a 
+ 00008805  0x00002391 rtn 
+ 00008806  0x00002395 fetch  0x00000001 , 0x00004838 
+ 00008807  0x00002396 increase  0x00000004 , 0x0000003f 
+ 00008808  0x00002397 bmark0  0x00000027 , 0x0000226a 
+ 00008809  0x00002398 increase  0x00000001 , 0x0000003f 
+ 00008810  0x0000239a store  0x00000001 , 0x0000483a 
+ 00008811  0x0000239c fetch  0x00000001 , 0x0000485c 
+ 00008812  0x0000239d store  0x00000001 , 0x000047e9 
+ 00008813  0x0000239f fetch  0x00000001 , 0x0000483a 
+ 00008814  0x000023a0 increase  0xfffffffe , 0x0000003f 
+ 00008815  0x000023a1 istore  0x00000001 , 0x00000005 
+ 00008816  0x000023a3 fetch  0x00000001 , 0x00004839 
+ 00008817  0x000023a4 istore  0x00000001 , 0x00000005 
+ 00008818  0x000023a5 setarg  0x00000000 
+ 00008819  0x000023a6 branch  0x00002251 
+ 00008820  0x000023aa fetch  0x00000001 , 0x000047a8 
+ 00008821  0x000023ab rshift3  0x0000003f , 0x0000003f 
+ 00008822  0x000023ac store  0x00000001 , 0x0000482d 
+ 00008823  0x000023ae increase  0x00000001 , 0x0000003f 
+ 00008824  0x000023af arg  0x000047a8 , 0x00000006 
+ 00008825  0x000023b0 iadd  0x00000006 , 0x00000006 
+ 00008826  0x000023b1 ifetch  0x00000003 , 0x00000006 
+ 00008827  0x000023b2 store  0x00000003 , 0x00004830 
+ 00008828  0x000023b4 fetch  0x00000001 , 0x000047a8 
+ 00008829  0x000023b5 rshift  0x0000003f , 0x0000003f 
+ 00008830  0x000023b6 and  0x0000003f , 0x00000003 , 0x0000003f 
+ 00008831  0x000023b7 store  0x00000001 , 0x00004836 
+ 00008832  0x000023b8 rtn 
+ 00008833  0x000023bc fetcht  0x00000001 , 0x0000483e 
+ 00008834  0x000023bd call  0x00002285 
+ 00008835  0x000023be storet  0x00000001 , 0x0000483e 
+ 00008836  0x000023bf rtn 
+ 00008837  0x000023c2 call  0x00002289 
+ 00008838  0x000023c3 increase  0x00000001 , 0x00000002 
+ 00008839  0x000023c4 and_into  0x00000003 , 0x00000002 
+ 00008840  0x000023c5 rtn 
+ 00008841  0x000023c8 fetch  0x00000001 , 0x0000483f 
+ 00008842  0x000023c9 and_into  0x00000003 , 0x0000003f 
+ 00008843  0x000023ca mul32  0x0000003f , 0x00000004 , 0x00000011 
+ 00008844  0x000023cb setarg  0x00004843 
+ 00008845  0x000023cc iadd  0x00000011 , 0x0000003f 
+ 00008846  0x000023cd iadd  0x00000002 , 0x00000006 
+ 00008847  0x000023ce ifetch  0x00000001 , 0x00000006 
+ 00008848  0x000023cf store  0x00000001 , 0x0000483d 
+ 00008849  0x000023d0 rtn 
+ 00008850  0x000023d4 store  0x00000004 , 0x0000483f 
+ 00008851  0x000023d7 arg  0x00000000 , 0x00000011 
+ 00008852  0x000023d8 arg  0x00000004 , 0x00000039 
+ 00008853  0x000023d9 arg  0x0000483f , 0x00000006 
+ 00008854  0x000023db ifetch  0x00000001 , 0x00000006 
+ 00008855  0x000023dc iadd  0x00000011 , 0x00000011 
+ 00008856  0x000023dd loop  0x00002296 
+ 00008857  0x000023de copy  0x00000011 , 0x0000003f 
+ 00008858  0x000023df store  0x00000002 , 0x0000485a 
+ 00008859  0x000023e0 fetch  0x00000001 , 0x0000485a 
+ 00008860  0x000023e1 fetcht  0x00000001 , 0x0000485b 
+ 00008861  0x000023e2 iadd  0x00000002 , 0x0000003f 
+ 00008862  0x000023e3 store  0x00000001 , 0x0000485c 
+ 00008863  0x000023e4 rtn 
+ 00008864  0x000023e8 call  0x00007ec7 
+ 00008865  0x000023e9 fetcht  0x00000004 , 0x00004853 
+ 00008866  0x000023ea copy  0x00000022 , 0x0000003f 
+ 00008867  0x000023eb isub  0x00000002 , 0x0000003e 
+ 00008868  0x000023ec ncall  0x000022af , 0x00000002 
+ 00008869  0x000023ed copy  0x0000003f , 0x00000012 
+ 00008870  0x000023ee fetch  0x00000004 , 0x00004853 
+ 00008871  0x000023ef fetcht  0x00000001 , 0x00004857 
+ 00008872  0x000023f0 iadd  0x00000002 , 0x00000002 
+ 00008873  0x000023f1 copy  0x00000012 , 0x0000003f 
+ 00008874  0x000023f2 isub  0x00000002 , 0x0000003e 
+ 00008875  0x000023f3 nrtn  0x00000002 
+ 00008876  0x000023f4 set0  0x0000001c , 0x0000003f 
+ 00008877  0x000023f5 store  0x00000004 , 0x00004853 
+ 00008878  0x000023f6 branch  0x00007ec5 
+ 00008879  0x000023f8 rtn  0x00000005 
+ 00008880  0x000023f9 set1  0x0000001c , 0x0000003f 
+ 00008881  0x000023fa rtn 
+ 00008882  0x000023fc setarg  0x00000000 
+ 00008883  0x000023fd store  0x00000004 , 0x00004853 
+ 00008884  0x000023fe rtn 
+ 00008885  0x00002407 setsect  0x00000000 , 0x00001300 
+ 00008886  0x00002408 setsect  0x00000001 , 0x0001908b 
+ 00008887  0x00002409 setsect  0x00000002 , 0x00036150 
+ 00008888  0x0000240a setsect  0x00000003 , 0x00003d20 
+ 00008889  0x0000240b store  0x00000009 , 0x00004843 
+ 00008890  0x0000240c setsect  0x00000000 , 0x00003a1a 
+ 00008891  0x0000240d setsect  0x00000001 , 0x0000c453 
+ 00008892  0x0000240e setsect  0x00000002 , 0x0000d312 
+ 00008893  0x0000240f setsect  0x00000003 , 0x00000001 
+ 00008894  0x00002410 istore  0x00000007 , 0x00000005 
+ 00008895  0x00002411 fetch  0x00000001 , 0x00004869 
+ 00008896  0x00002412 rtn  0x00000034 
+ 00008897  0x00002413 arg  0x0000486a , 0x00000006 
+ 00008898  0x00002414 arg  0x00004843 , 0x00000005 
+ 00008899  0x00002415 branch  0x00007d7f 
+ 00008900  0x0000241e setarg  0x004e001e 
+ 00008901  0x0000241f store  0x00000003 , 0x0000486b 
+ 00008902  0x00002420 setarg  0x00032303 
+ 00008903  0x00002421 istore  0x00000003 , 0x00000005 
+ 00008904  0x00002422 setarg  0x00250642 
+ 00008905  0x00002423 istore  0x00000003 , 0x00000005 
+ 00008906  0x00002424 setarg  0x00094c06 
+ 00008907  0x00002425 istore  0x00000003 , 0x00000005 
+ 00008908  0x00002426 setarg  0x003c0927 
+ 00008909  0x00002427 istore  0x00000003 , 0x00000005 
+ 00008910  0x00002428 jam  0x00000001 , 0x00004869 
+ 00008911  0x00002429 rtn 
+ 00008912  0x0000242d arg  0x00006978 , 0x00000002 
+ 00008913  0x0000242e bmark1  0x00000027 , 0x000022d6 
+ 00008914  0x0000242f arg  0x000012c0 , 0x00000002 
+ 00008915  0x00002430 fetch  0x00000001 , 0x00004867 
+ 00008916  0x00002431 bbit0  0x00000002 , 0x000022d6 
+ 00008917  0x00002432 arg  0x00002ee0 , 0x00000002 
+ 00008918  0x00002434 storet  0x00000002 , 0x0000483b 
+ 00008919  0x00002435 rtn 
+ 00008920  0x00002438 jam  0x00000001 , 0x00004867 
+ 00008921  0x00002439 jam  0x00000001 , 0x00004868 
+ 00008922  0x0000243a rtn 
+ 00008923  0x00002458 jam  0x0000004e , 0x0000487f 
+ 00008924  0x00002459 setarg  0x00101520 
+ 00008925  0x0000245a store  0x00000003 , 0x0000487b 
+ 00008926  0x0000245b setarg  0x00000005 
+ 00008927  0x0000245c istore  0x00000001 , 0x00000005 
+ 00008928  0x0000245d rtn 
+ 00008929  0x00002464 arg  0x00004887 , 0x00000013 
+ 00008930  0x00002465 arg  0x00002683 , 0x00000012 
+ 00008931  0x00002466 branch  0x00003203 
+ 00008932  0x00002469 set1  0x00000026 , 0x00000000 
+ 00008933  0x0000246a fetch  0x00000001 , 0x000048a5 
+ 00008934  0x0000246b set0  0x00000002 , 0x0000003f 
+ 00008935  0x0000246c set1  0x00000001 , 0x0000003f 
+ 00008936  0x0000246d store  0x00000001 , 0x000048a5 
+ 00008937  0x0000246e setarg  0x00000000 
+ 00008938  0x0000246f store  0x00000002 , 0x0000488b 
+ 00008939  0x00002470 fetch  0x00000002 , 0x00004885 
+ 00008940  0x00002471 store  0x00000002 , 0x00004887 
+ 00008941  0x00002472 jam  0x00000000 , 0x00004884 
+ 00008942  0x00002473 call  0x00002322 
+ 00008943  0x00002475 jam  0x00000000 , 0x0000482e 
+ 00008944  0x00002476 fetch  0x00000001 , 0x0000487f 
+ 00008945  0x00002477 store  0x00000001 , 0x0000483d 
+ 00008946  0x00002478 fetch  0x00000001 , 0x00004880 
+ 00008947  0x00002479 store  0x00000001 , 0x000041e8 
+ 00008948  0x0000247a fetch  0x00000004 , 0x0000487b 
+ 00008949  0x0000247b branch  0x00002292 
+ 00008950  0x0000247f bpatchx  0x000000e2 , 0x0000403c 
+ 00008951  0x00002480 fetch  0x00000001 , 0x00004883 
+ 00008952  0x00002481 beq  0x000000ff , 0x00002344 
+ 00008953  0x00002482 beq  0x00000001 , 0x000022fe 
+ 00008954  0x00002483 beq  0x00000002 , 0x00002300 
+ 00008955  0x00002484 beq  0x00000003 , 0x00002306 
+ 00008956  0x00002485 beq  0x00000004 , 0x0000230c 
+ 00008957  0x00002486 rtn 
+ 00008958  0x00002489 jam  0x000000ff , 0x000047c9 
+ 00008959  0x0000248a branch  0x0000230d 
+ 00008960  0x0000248d fetch  0x00000001 , 0x0000485e 
+ 00008961  0x0000248e branch  0x00002304 , 0x00000034 
+ 00008962  0x0000248f fetch  0x00000004 , 0x000048ad 
+ 00008963  0x00002490 call  0x00002292 
+ 00008964  0x00002492 jam  0x000000aa , 0x000047c9 
+ 00008965  0x00002493 branch  0x0000230d 
+ 00008966  0x00002496 jam  0x00000055 , 0x000047c9 
+ 00008967  0x00002497 fetch  0x00000001 , 0x0000485e 
+ 00008968  0x00002498 branch  0x0000230d , 0x00000034 
+ 00008969  0x00002499 fetch  0x00000004 , 0x00004895 
+ 00008970  0x0000249a store  0x00000004 , 0x000047cb 
+ 00008971  0x0000249b branch  0x0000230f 
+ 00008972  0x0000249e jam  0x00000022 , 0x000047c9 
+ 00008973  0x000024a0 fetch  0x00000004 , 0x000048ad 
+ 00008974  0x000024a1 store  0x00000004 , 0x000047cb 
+ 00008975  0x000024a3 fetch  0x00000001 , 0x00004839 
+ 00008976  0x000024a4 and_into  0x00000007 , 0x0000003f 
+ 00008977  0x000024a5 store  0x00000001 , 0x000047ca 
+ 00008978  0x000024a6 jam  0x00000000 , 0x000047cf 
+ 00008979  0x000024a7 jam  0x00000007 , 0x00004838 
+ 00008980  0x000024a8 call  0x00002247 
+ 00008981  0x000024a9 call  0x00002662 
+ 00008982  0x000024aa nrtn  0x00000018 
+ 00008983  0x000024ab nrtn  0x0000002f 
+ 00008984  0x000024ac call  0x000025a0 
+ 00008985  0x000024ad call  0x00002679 
+ 00008986  0x000024ae bpatchx  0x000000e3 , 0x0000403c 
+ 00008987  0x000024af fetch  0x00000001 , 0x00004883 
+ 00008988  0x000024b0 rtneq  0x000000ff 
+ 00008989  0x000024b1 beq  0x00000001 , 0x00002327 
+ 00008990  0x000024b2 beq  0x00000002 , 0x00002329 
+ 00008991  0x000024b3 beq  0x00000003 , 0x0000232f 
+ 00008992  0x000024b4 beq  0x00000004 , 0x00002337 
+ 00008993  0x000024b5 rtn 
+ 00008994  0x000024b8 jam  0x00000002 , 0x00004883 
+ 00008995  0x000024b9 fetch  0x00000001 , 0x0000485e 
+ 00008996  0x000024ba rtn  0x00000034 
+ 00008997  0x000024bb jam  0x00000001 , 0x00004883 
+ 00008998  0x000024bc rtn 
+ 00008999  0x000024bf jam  0x00000002 , 0x00004883 
+ 00009000  0x000024c0 branch  0x0000265e 
+ 00009001  0x000024c3 fetch  0x00000001 , 0x0000485e 
+ 00009002  0x000024c4 branch  0x0000232d , 0x00000034 
+ 00009003  0x000024c5 fetch  0x00000004 , 0x0000480f 
+ 00009004  0x000024c6 store  0x00000004 , 0x00004895 
+ 00009005  0x000024c8 jam  0x00000003 , 0x00004883 
+ 00009006  0x000024c9 branch  0x0000265e 
+ 00009007  0x000024cc fetch  0x00000001 , 0x0000485e 
+ 00009008  0x000024cd branch  0x00002335 , 0x00000034 
+ 00009009  0x000024ce fetch  0x00000004 , 0x0000480f 
+ 00009010  0x000024cf fetcht  0x00000004 , 0x000048ad 
+ 00009011  0x000024d0 isub  0x00000002 , 0x0000003e 
+ 00009012  0x000024d1 nrtn  0x00000005 
+ 00009013  0x000024d3 jam  0x00000004 , 0x00004883 
+ 00009014  0x000024d4 branch  0x0000265e 
+ 00009015  0x000024d7 fetch  0x00000001 , 0x0000485e 
+ 00009016  0x000024d8 branch  0x0000233d , 0x00000034 
+ 00009017  0x000024d9 fetch  0x00000004 , 0x0000480f 
+ 00009018  0x000024da fetcht  0x00000004 , 0x00004895 
+ 00009019  0x000024db isub  0x00000002 , 0x0000003e 
+ 00009020  0x000024dc nrtn  0x00000005 
+ 00009021  0x000024de jam  0x000000ff , 0x00004883 
+ 00009022  0x000024df jam  0x00000039 , 0x0000095b 
+ 00009023  0x000024e0 call  0x000078dc 
+ 00009024  0x000024e1 setarg  0x00000000 
+ 00009025  0x000024e2 store  0x00000002 , 0x00004887 
+ 00009026  0x000024e3 fetch  0x00000004 , 0x0000480f 
+ 00009027  0x000024e4 call  0x00002292 
+ 00009028  0x000024e6 fetch  0x00000001 , 0x000048a5 
+ 00009029  0x000024e7 set0  0x00000001 , 0x0000003f 
+ 00009030  0x000024e8 store  0x00000001 , 0x000048a5 
+ 00009031  0x000024e9 branch  0x0000265e 
+ 00009032  0x00002504 jam  0x00000001 , 0x000048c3 
+ 00009033  0x00002505 jam  0x00000000 , 0x000048c2 
+ 00009034  0x00002506 rtn 
+ 00009035  0x00002509 fetch  0x00000001 , 0x000048c2 
+ 00009036  0x0000250a rtnbit1  0x00000001 
+ 00009037  0x0000250b set1  0x00000001 , 0x0000003f 
+ 00009038  0x0000250c store  0x00000001 , 0x000048c2 
+ 00009039  0x0000250d setarg  0x00000000 
+ 00009040  0x0000250e store  0x00000003 , 0x00004882 
+ 00009041  0x0000250f store  0x00000004 , 0x000048d9 
+ 00009042  0x00002510 jam  0x00000001 , 0x000048be 
+ 00009043  0x00002511 branch  0x000022ef 
+ 00009044  0x00002515 jam  0x00000001 , 0x000048be 
+ 00009045  0x00002516 jam  0x00000008 , 0x00004838 
+ 00009046  0x00002517 arg  0x00004885 , 0x00000006 
+ 00009047  0x00002518 arg  0x000047c9 , 0x00000005 
+ 00009048  0x00002519 branch  0x00007d79 
+ 00009049  0x0000251d call  0x000023fa 
+ 00009050  0x0000251e call  0x00002187 
+ 00009051  0x0000251f nbranch  0x000023fa , 0x0000002f 
+ 00009052  0x00002520 call  0x00002367 
+ 00009053  0x00002521 call  0x0000242c 
+ 00009054  0x00002522 call  0x000023d6 
+ 00009055  0x00002523 call  0x00003805 
+ 00009056  0x00002524 fetch  0x00000001 , 0x0000485e 
+ 00009057  0x00002525 rtn  0x00000034 
+ 00009058  0x00002526 fetch  0x00000004 , 0x000048d9 
+ 00009059  0x00002527 rtn  0x00000034 
+ 00009060  0x00002528 branch  0x00002292 
+ 00009061  0x0000252b call  0x000023fa 
+ 00009062  0x0000252c branch  0x000021f1 
+ 00009063  0x0000252f jam  0x00000005 , 0x000048cf 
+ 00009064  0x00002530 arg  0x000047a7 , 0x00000006 
+ 00009065  0x00002531 arg  0x00004895 , 0x00000005 
+ 00009066  0x00002532 call  0x00007d79 
+ 00009067  0x00002533 bpatchx  0x000000e4 , 0x0000403c 
+ 00009068  0x00002534 fetch  0x00000001 , 0x00004897 
+ 00009069  0x00002535 beq  0x000000aa , 0x00002372 
+ 00009070  0x00002536 beq  0x00000055 , 0x0000237f 
+ 00009071  0x00002537 beq  0x00000022 , 0x0000239c 
+ 00009072  0x00002538 beq  0x000000ff , 0x000025be 
+ 00009073  0x00002539 rtn 
+ 00009074  0x0000253d fetch  0x00000001 , 0x00004898 
+ 00009075  0x0000253e beq  0x00000001 , 0x00002376 
+ 00009076  0x0000253f beq  0x00000002 , 0x0000237c 
+ 00009077  0x00002540 rtn 
+ 00009078  0x00002543 jam  0x00000001 , 0x00004882 
+ 00009079  0x00002545 jam  0x00000001 , 0x00004885 
+ 00009080  0x00002547 jam  0x00000080 , 0x00004886 
+ 00009081  0x00002548 fetch  0x00000006 , 0x000040a8 
+ 00009082  0x00002549 store  0x00000006 , 0x00004887 
+ 00009083  0x0000254a rtn 
+ 00009084  0x0000254d jam  0x00000001 , 0x00004883 
+ 00009085  0x0000254f jam  0x00000002 , 0x00004885 
+ 00009086  0x00002550 branch  0x00002378 
+ 00009087  0x00002554 fetch  0x00000001 , 0x0000485e 
+ 00009088  0x00002555 branch  0x00002385 , 0x00000034 
+ 00009089  0x00002556 fetch  0x00000004 , 0x00004899 
+ 00009090  0x00002557 fetcht  0x00000004 , 0x000040a8 
+ 00009091  0x00002558 isub  0x00000002 , 0x0000003e 
+ 00009092  0x00002559 nrtn  0x00000005 
+ 00009093  0x0000255b fetch  0x00000001 , 0x00004898 
+ 00009094  0x0000255c beq  0x00000001 , 0x00002389 
+ 00009095  0x0000255d beq  0x00000002 , 0x00002394 
+ 00009096  0x0000255e rtn 
+ 00009097  0x00002561 fetch  0x00000001 , 0x00004882 
+ 00009098  0x00002562 beq  0x00000001 , 0x0000238c 
+ 00009099  0x00002563 rtn 
+ 00009100  0x00002565 jam  0x00000002 , 0x00004882 
+ 00009101  0x00002566 fetch  0x00000001 , 0x0000485e 
+ 00009102  0x00002567 branch  0x00002377 , 0x00000034 
+ 00009103  0x00002569 jam  0x00000001 , 0x00004885 
+ 00009104  0x0000256b jam  0x00000080 , 0x00004886 
+ 00009105  0x0000256c fetch  0x00000004 , 0x000048d9 
+ 00009106  0x0000256d store  0x00000004 , 0x00004887 
+ 00009107  0x0000256e branch  0x00007ec5 
+ 00009108  0x00002571 fetch  0x00000001 , 0x00004883 
+ 00009109  0x00002572 beq  0x00000001 , 0x00002397 
+ 00009110  0x00002573 rtn 
+ 00009111  0x00002575 jam  0x00000002 , 0x00004883 
+ 00009112  0x00002576 fetch  0x00000001 , 0x0000485e 
+ 00009113  0x00002577 branch  0x0000237d , 0x00000034 
+ 00009114  0x00002578 jam  0x00000002 , 0x00004885 
+ 00009115  0x00002579 branch  0x00002390 
+ 00009116  0x0000257d fetch  0x00000001 , 0x0000485e 
+ 00009117  0x0000257e branch  0x000023a2 , 0x00000034 
+ 00009118  0x0000257f fetch  0x00000004 , 0x00004899 
+ 00009119  0x00002580 fetcht  0x00000004 , 0x000048d9 
+ 00009120  0x00002581 isub  0x00000002 , 0x0000003e 
+ 00009121  0x00002582 nrtn  0x00000005 
+ 00009122  0x00002584 fetch  0x00000001 , 0x00004898 
+ 00009123  0x00002585 beq  0x00000001 , 0x000023a6 
+ 00009124  0x00002586 beq  0x00000002 , 0x000023b1 
+ 00009125  0x00002587 rtn 
+ 00009126  0x0000258a fetch  0x00000001 , 0x00004882 
+ 00009127  0x0000258b beq  0x00000002 , 0x000023a9 
+ 00009128  0x0000258c rtn 
+ 00009129  0x0000258e call  0x000023ca 
+ 00009130  0x0000258f call  0x00002377 
+ 00009131  0x00002590 fetch  0x00000001 , 0x00004884 
+ 00009132  0x00002591 or_into  0x00000001 , 0x0000003f 
+ 00009133  0x00002592 store  0x00000001 , 0x00004884 
+ 00009134  0x00002594 setarg  0x00000000 
+ 00009135  0x00002595 store  0x00000002 , 0x00004882 
+ 00009136  0x00002596 rtn 
+ 00009137  0x00002599 fetch  0x00000001 , 0x00004883 
+ 00009138  0x0000259a bne  0x00000000 , 0x000023b4 
+ 00009139  0x0000259b rtn 
+ 00009140  0x0000259d call  0x000023d0 
+ 00009141  0x0000259e call  0x0000237d 
+ 00009142  0x0000259f fetch  0x00000001 , 0x00004884 
+ 00009143  0x000025a0 or_into  0x00000002 , 0x0000003f 
+ 00009144  0x000025a1 store  0x00000001 , 0x00004884 
+ 00009145  0x000025a2 call  0x000023ae 
+ 00009146  0x000025a3 branch  0x000037ff 
+ 00009147  0x000025a6 fetch  0x00000001 , 0x000048c3 
+ 00009148  0x000025a7 rtnne  0x00000001 
+ 00009149  0x000025a8 fetch  0x00000001 , 0x000048bd 
+ 00009150  0x000025a9 nrtn  0x00000034 
+ 00009151  0x000025aa fetch  0x00000001 , 0x000047aa 
+ 00009152  0x000025ab beq  0x00000001 , 0x000023c3 
+ 00009153  0x000025ac beq  0x00000002 , 0x000023c7 
+ 00009154  0x000025ad rtn 
+ 00009155  0x000025af fetch  0x00000001 , 0x000048d8 
+ 00009156  0x000025b0 rtnbit0  0x00000000 
+ 00009157  0x000025b2 disable  0x0000002f 
+ 00009158  0x000025b3 rtn 
+ 00009159  0x000025b5 fetch  0x00000001 , 0x000048d8 
+ 00009160  0x000025b6 rtnbit0  0x00000001 
+ 00009161  0x000025b7 branch  0x000023c5 
+ 00009162  0x000025ba fetch  0x00000001 , 0x000048bd 
+ 00009163  0x000025bb nrtn  0x00000034 
+ 00009164  0x000025bc fetch  0x00000001 , 0x000048d8 
+ 00009165  0x000025bd or_into  0x00000001 , 0x0000003f 
+ 00009166  0x000025be store  0x00000001 , 0x000048d8 
+ 00009167  0x000025bf rtn 
+ 00009168  0x000025c2 fetch  0x00000001 , 0x000048bd 
+ 00009169  0x000025c3 nrtn  0x00000034 
+ 00009170  0x000025c4 fetch  0x00000001 , 0x000048d8 
+ 00009171  0x000025c5 or_into  0x00000002 , 0x0000003f 
+ 00009172  0x000025c6 store  0x00000001 , 0x000048d8 
+ 00009173  0x000025c7 rtn 
+ 00009174  0x000025cb fetch  0x00000001 , 0x00004884 
+ 00009175  0x000025cc rtn  0x00000034 
+ 00009176  0x000025ce fetch  0x00000001 , 0x00004898 
+ 00009177  0x000025cf beq  0x00000001 , 0x000023ca 
+ 00009178  0x000025d0 beq  0x00000002 , 0x000023d0 
+ 00009179  0x000025d1 rtn 
+ 00009180  0x000025e5 set1  0x00000027 , 0x00000000 
+ 00009181  0x000025e6 fetch  0x00000001 , 0x000041e8 
+ 00009182  0x000025e7 store  0x00000001 , 0x000048d0 
+ 00009183  0x000025e8 call  0x000022d0 
+ 00009184  0x000025e9 branch  0x000025f4 
+ 00009185  0x000025ec fetch  0x00000002 , 0x0000488d 
+ 00009186  0x000025ed branch  0x00007e7a 
+ 00009187  0x000025f0 jam  0x00000000 , 0x00004838 
+ 00009188  0x000025f1 fetch  0x00000001 , 0x000048be 
+ 00009189  0x000025f2 rtn  0x00000034 
+ 00009190  0x000025f3 fetch  0x00000002 , 0x0000488f 
+ 00009191  0x000025f4 branch  0x00007e7a 
+ 00009192  0x000025f8 call  0x00002429 
+ 00009193  0x000025f9 nbranch  0x000023fa , 0x0000002f 
+ 00009194  0x000025fb call  0x0000241b 
+ 00009195  0x000025fc nbranch  0x000023fa , 0x00000028 
+ 00009196  0x000025fd fetch  0x00000001 , 0x0000482d 
+ 00009197  0x000025fe branch  0x000023fa , 0x00000034 
+ 00009198  0x000025ff increase  0x00000002 , 0x0000003f 
+ 00009199  0x00002600 iforce  0x00000039 
+ 00009200  0x00002601 arg  0x000047a7 , 0x00000006 
+ 00009201  0x00002602 arg  0x00004895 , 0x00000005 
+ 00009202  0x00002603 call  0x00007dd4 
+ 00009203  0x00002604 jam  0x00000000 , 0x000048c0 
+ 00009204  0x00002605 fetch  0x00000001 , 0x000048bd 
+ 00009205  0x00002606 call  0x00002436 , 0x00000034 
+ 00009206  0x00002607 fetch  0x00000001 , 0x00004897 
+ 00009207  0x00002608 beq  0x00000001 , 0x000023ff 
+ 00009208  0x00002609 beq  0x00000002 , 0x0000240e 
+ 00009209  0x0000260a beq  0x000000ff , 0x000023fd 
+ 00009210  0x0000260c arg  0x000047a7 , 0x00000005 
+ 00009211  0x0000260d arg  0x00000042 , 0x00000039 
+ 00009212  0x0000260e branch  0x00007d9b 
+ 00009213  0x00002611 call  0x000023d8 
+ 00009214  0x00002612 branch  0x000025be 
+ 00009215  0x00002615 call  0x000023ca 
+ 00009216  0x00002616 call  0x0000255c 
+ 00009217  0x00002617 fetch  0x00000001 , 0x000048b7 
+ 00009218  0x00002618 fetcht  0x00000001 , 0x00004895 
+ 00009219  0x00002619 isolate1  0x00000003 , 0x00000002 
+ 00009220  0x0000261a setflag  0x00000001 , 0x00000000 , 0x0000003f 
+ 00009221  0x0000261b store  0x00000001 , 0x000048b7 
+ 00009222  0x0000261c beq  0x00000001 , 0x00002414 
+ 00009223  0x0000261d fetch  0x00000001 , 0x000048bf 
+ 00009224  0x0000261e fetcht  0x00000001 , 0x00004895 
+ 00009225  0x0000261f isolate1  0x00000004 , 0x00000002 
+ 00009226  0x00002620 setflag  0x00000001 , 0x00000000 , 0x0000003f 
+ 00009227  0x00002621 store  0x00000001 , 0x000048bf 
+ 00009228  0x00002622 fetch  0x00000002 , 0x00004891 
+ 00009229  0x00002623 branch  0x00007e7a 
+ 00009230  0x00002626 call  0x000023d0 
+ 00009231  0x00002627 fetcht  0x00000001 , 0x00004895 
+ 00009232  0x00002628 isolate1  0x00000003 , 0x00000002 
+ 00009233  0x00002629 branch  0x00002419 , 0x00000001 
+ 00009234  0x0000262a fetch  0x00000002 , 0x00004893 
+ 00009235  0x0000262b branch  0x00007e7a 
+ 00009236  0x0000262e fetch  0x00000001 , 0x0000409a 
+ 00009237  0x0000262f sub  0x0000003f , 0x0000000e , 0x0000003e 
+ 00009238  0x00002630 call  0x000034f0 , 0x00000005 
+ 00009239  0x00002631 fetch  0x00000004 , 0x0000489f 
+ 00009240  0x00002632 branch  0x000025c4 
+ 00009241  0x00002634 fetch  0x00000004 , 0x0000489f 
+ 00009242  0x00002635 branch  0x000025c8 
+ 00009243  0x00002639 call  0x00007ec7 
+ 00009244  0x0000263a fetch  0x00000001 , 0x00004836 
+ 00009245  0x0000263b fetcht  0x00000001 , 0x00004837 
+ 00009246  0x0000263c isub  0x00000002 , 0x0000003e 
+ 00009247  0x0000263d ncall  0x00007ec5 , 0x00000005 
+ 00009248  0x0000263e fetch  0x00000001 , 0x00004836 
+ 00009249  0x0000263f store  0x00000001 , 0x00004837 
+ 00009250  0x00002640 fetch  0x00000003 , 0x00004830 
+ 00009251  0x00002641 fetcht  0x00000003 , 0x00004833 
+ 00009252  0x00002642 isub  0x00000002 , 0x0000003e 
+ 00009253  0x00002643 ncall  0x00007ec5 , 0x00000005 
+ 00009254  0x00002644 fetch  0x00000003 , 0x00004830 
+ 00009255  0x00002645 store  0x00000003 , 0x00004833 
+ 00009256  0x00002646 rtn 
+ 00009257  0x00002649 call  0x000023fa 
+ 00009258  0x0000264a call  0x00002187 
+ 00009259  0x0000264b nrtn  0x0000002f 
+ 00009260  0x0000264e fetch  0x00000001 , 0x000047a7 
+ 00009261  0x0000264f store  0x00000001 , 0x00004839 
+ 00009262  0x00002651 call  0x00002274 
+ 00009263  0x00002653 fetch  0x00000001 , 0x000047a8 
+ 00009264  0x00002654 isolate1  0x00000000 , 0x0000003f 
+ 00009265  0x00002655 branch  0x00002435 , 0x00000001 
+ 00009266  0x00002657 call  0x000023e3 
+ 00009267  0x00002658 call  0x00002247 
+ 00009268  0x00002659 call  0x000021f8 
+ 00009269  0x0000265b branch  0x000021f1 
+ 00009270  0x0000265f jam  0x00000001 , 0x000048c1 
+ 00009271  0x00002661 setarg  0x00000280 
+ 00009272  0x00002662 arg  0x00000008 , 0x00000007 
+ 00009273  0x00002663 branch  0x00007ddb 
+ 00009274  0x0000266a jam  0x00000001 , 0x000048c0 
+ 00009275  0x0000266b jam  0x00000000 , 0x000048c4 
+ 00009276  0x0000266c jam  0x000000ff , 0x00004857 
+ 00009277  0x0000266d branch  0x000022b2 
+ 00009278  0x00002670 bpatchx  0x000000e5 , 0x0000403c 
+ 00009279  0x00002671 fetch  0x00000001 , 0x000048c0 
+ 00009280  0x00002672 rtn  0x00000034 
+ 00009281  0x00002673 call  0x000022a0 
+ 00009282  0x00002674 nrtn  0x00000028 
+ 00009283  0x00002675 call  0x0000244b 
+ 00009284  0x00002676 fetch  0x00000001 , 0x000048c4 
+ 00009285  0x00002677 increase  0x00000001 , 0x0000003f 
+ 00009286  0x00002678 and_into  0x00000001 , 0x0000003f 
+ 00009287  0x00002679 store  0x00000001 , 0x000048c4 
+ 00009288  0x0000267a beq  0x00000000 , 0x00002450 
+ 00009289  0x0000267b beq  0x00000001 , 0x00002453 
+ 00009290  0x0000267c rtn 
+ 00009291  0x0000267f fetch  0x00000001 , 0x000048cf 
+ 00009292  0x00002680 rtn  0x00000034 
+ 00009293  0x00002681 increase  0xffffffff , 0x0000003f 
+ 00009294  0x00002682 store  0x00000001 , 0x000048cf 
+ 00009295  0x00002683 rtn 
+ 00009296  0x00002686 fetch  0x00000001 , 0x000048cf 
+ 00009297  0x00002687 nrtn  0x00000034 
+ 00009298  0x00002688 branch  0x00002493 
+ 00009299  0x0000268b fetch  0x00000001 , 0x000048cf 
+ 00009300  0x0000268c nrtn  0x00000034 
+ 00009301  0x0000268d branch  0x00002348 
+ 00009302  0x00002691 fetch  0x00000001 , 0x000048d7 
+ 00009303  0x00002692 nrtn  0x00000034 
+ 00009304  0x00002693 fetch  0x00000001 , 0x000048d5 
+ 00009305  0x00002694 call  0x00002483 , 0x00000034 
+ 00009306  0x00002695 fetch  0x00000001 , 0x000048d2 
+ 00009307  0x00002696 rtnbit1  0x00000000 
+ 00009308  0x00002697 set1  0x00000000 , 0x0000003f 
+ 00009309  0x00002698 store  0x00000001 , 0x000048d2 
+ 00009310  0x00002699 jam  0x00000001 , 0x000048d1 
+ 00009311  0x0000269a jam  0x00000000 , 0x000048d6 
+ 00009312  0x0000269b setarg  0x00000000 
+ 00009313  0x0000269c store  0x00000002 , 0x000048d3 
+ 00009314  0x0000269d jam  0x00000060 , 0x00004857 
+ 00009315  0x0000269e branch  0x000022b2 
+ 00009316  0x000026a1 fetch  0x00000001 , 0x000048c3 
+ 00009317  0x000026a2 rtneq  0x00000000 
+ 00009318  0x000026a3 fetch  0x00000001 , 0x000048d7 
+ 00009319  0x000026a4 nrtn  0x00000034 
+ 00009320  0x000026a5 fetch  0x00000001 , 0x000048d5 
+ 00009321  0x000026a6 nrtn  0x00000034 
+ 00009322  0x000026a7 fetch  0x00000001 , 0x000048d1 
+ 00009323  0x000026a8 rtn  0x00000034 
+ 00009324  0x000026a9 call  0x000022a0 
+ 00009325  0x000026aa nrtn  0x00000028 
+ 00009326  0x000026ab fetch  0x00000002 , 0x000048d3 
+ 00009327  0x000026ac increase  0x00000001 , 0x0000003f 
+ 00009328  0x000026ad store  0x00000002 , 0x000048d3 
+ 00009329  0x000026ae arg  0x000007d0 , 0x00000002 
+ 00009330  0x000026af isub  0x00000002 , 0x0000003e 
+ 00009331  0x000026b0 branch  0x0000247f , 0x00000002 
+ 00009332  0x000026b1 call  0x0000244b 
+ 00009333  0x000026b2 fetch  0x00000001 , 0x000048d6 
+ 00009334  0x000026b3 increase  0x00000001 , 0x0000003f 
+ 00009335  0x000026b4 and_into  0x00000001 , 0x0000003f 
+ 00009336  0x000026b5 store  0x00000001 , 0x000048d6 
+ 00009337  0x000026b6 beq  0x00000000 , 0x0000247c 
+ 00009338  0x000026b7 beq  0x00000001 , 0x00002348 
+ 00009339  0x000026b8 rtn 
+ 00009340  0x000026bb fetch  0x00000001 , 0x000048cf 
+ 00009341  0x000026bc nbranch  0x00002348 , 0x00000034 
+ 00009342  0x000026bd branch  0x00002544 
+ 00009343  0x000026c0 jam  0x00000001 , 0x000048d5 
+ 00009344  0x000026c1 branch  0x00002544 
+ 00009345  0x000026c4 jam  0x00000000 , 0x000048d1 
+ 00009346  0x000026c5 rtn 
+ 00009347  0x000026c7 jam  0x00000001 , 0x000048d1 
+ 00009348  0x000026c8 rtn 
+ 00009349  0x000026d4 fetch  0x00000001 , 0x000048c2 
+ 00009350  0x000026d5 rtnbit1  0x00000000 
+ 00009351  0x000026d6 set1  0x00000000 , 0x0000003f 
+ 00009352  0x000026d7 store  0x00000001 , 0x000048c2 
+ 00009353  0x000026d8 fetch  0x00000001 , 0x000048d0 
+ 00009354  0x000026d9 store  0x00000001 , 0x000041e8 
+ 00009355  0x000026da jam  0x00000000 , 0x000048be 
+ 00009356  0x000026db jam  0x00000000 , 0x00000bf9 
+ 00009357  0x000026dc jam  0x00000001 , 0x000048b7 
+ 00009358  0x000026dd jam  0x00000000 , 0x0000482e 
+ 00009359  0x000026de fetch  0x00000004 , 0x000040a8 
+ 00009360  0x000026df call  0x00002292 
+ 00009361  0x000026e0 call  0x00002281 
+ 00009362  0x000026e1 branch  0x000023fa 
+ 00009363  0x000026e5 jam  0x00000000 , 0x000048be 
+ 00009364  0x000026e7 jam  0x00000000 , 0x000048c3 
+ 00009365  0x000026e8 jam  0x00000000 , 0x000048c2 
+ 00009366  0x000026e9 rtn 
+ 00009367  0x000026ed fetch  0x00000001 , 0x000048c3 
+ 00009368  0x000026ee rtnne  0x00000000 
+ 00009369  0x000026ef call  0x00002485 
+ 00009370  0x000026f0 call  0x00002547 
+ 00009371  0x000026f1 branch  0x000023e8 
+ 00009372  0x000026ff bpatchx  0x000000e6 , 0x0000403c 
+ 00009373  0x00002700 fetch  0x00000001 , 0x000048c3 
+ 00009374  0x00002701 rtnne  0x00000001 
+ 00009375  0x00002702 call  0x0000234b 
+ 00009376  0x00002703 call  0x00002359 
+ 00009377  0x00002704 fetch  0x00000001 , 0x000048bd 
+ 00009378  0x00002705 nrtn  0x00000034 
+ 00009379  0x00002706 fetch  0x00000001 , 0x00004884 
+ 00009380  0x00002707 rtn  0x00000034 
+ 00009381  0x00002708 jam  0x00000000 , 0x000048c0 
+ 00009382  0x00002709 call  0x00002493 
+ 00009383  0x0000270a call  0x00002436 
+ 00009384  0x0000270b branch  0x000022b2 
+ 00009385  0x00002718 fetch  0x00000001 , 0x000048c2 
+ 00009386  0x00002719 rtnbit1  0x00000007 
+ 00009387  0x0000271a set1  0x00000007 , 0x0000003f 
+ 00009388  0x0000271b store  0x00000001 , 0x000048c2 
+ 00009389  0x0000271c jam  0x00000000 , 0x000048c4 
+ 00009390  0x0000271d jam  0x00000001 , 0x000048be 
+ 00009391  0x0000271e setarg  0x00000000 
+ 00009392  0x0000271f store  0x00000003 , 0x000048ea 
+ 00009393  0x00002720 store  0x00000007 , 0x000048c7 
+ 00009394  0x00002721 call  0x00002536 
+ 00009395  0x00002722 nrtn  0x00000005 
+ 00009396  0x00002723 fetch  0x00000001 , 0x0000483e 
+ 00009397  0x00002724 store  0x00000001 , 0x000048c6 
+ 00009398  0x00002725 fetch  0x00000001 , 0x0000483d 
+ 00009399  0x00002726 store  0x00000001 , 0x000048c5 
+ 00009400  0x00002727 rtn 
+ 00009401  0x0000272b bpatchx  0x000000e7 , 0x0000403c 
+ 00009402  0x0000272c fetch  0x00000001 , 0x000048c3 
+ 00009403  0x0000272d rtnne  0x00000007 
+ 00009404  0x0000272e call  0x000024a9 
+ 00009405  0x0000272f call  0x000024df 
+ 00009406  0x00002730 call  0x00002429 
+ 00009407  0x00002731 nbranch  0x000023fa , 0x0000002f 
+ 00009408  0x00002733 call  0x00002536 
+ 00009409  0x00002734 call  0x000023ea , 0x00000005 
+ 00009410  0x00002736 fetch  0x00000001 , 0x000048b7 
+ 00009411  0x00002737 call  0x00002481 , 0x00000034 
+ 00009412  0x0000273a jam  0x00000000 , 0x000048c3 
+ 00009413  0x0000273b fetch  0x00000001 , 0x000048c2 
+ 00009414  0x0000273c set1  0x00000000 , 0x0000003f 
+ 00009415  0x0000273d store  0x00000001 , 0x000048c2 
+ 00009416  0x0000273f fetch  0x00000001 , 0x000048be 
+ 00009417  0x00002740 sub  0x0000003f , 0x00000002 , 0x0000003e 
+ 00009418  0x00002741 ncall  0x00002534 , 0x00000005 
+ 00009419  0x00002743 call  0x000023fa 
+ 00009420  0x00002744 call  0x00002436 
+ 00009421  0x00002745 call  0x00002536 
+ 00009422  0x00002746 branch  0x000024d8 , 0x00000005 
+ 00009423  0x00002747 fetch  0x00000004 , 0x0000483f 
+ 00009424  0x00002748 fetcht  0x00000004 , 0x000048e1 
+ 00009425  0x00002749 isub  0x00000002 , 0x0000003e 
+ 00009426  0x0000274a branch  0x000024db , 0x00000005 
+ 00009427  0x0000274b fetch  0x00000004 , 0x0000483f 
+ 00009428  0x0000274c fetcht  0x00000004 , 0x000048dd 
+ 00009429  0x0000274d isub  0x00000002 , 0x0000003e 
+ 00009430  0x0000274e branch  0x000024dd , 0x00000005 
+ 00009431  0x0000274f rtn 
+ 00009432  0x00002753 fetch  0x00000001 , 0x000048c6 
+ 00009433  0x00002755 store  0x00000001 , 0x0000483e 
+ 00009434  0x00002756 rtn 
+ 00009435  0x00002759 fetch  0x00000001 , 0x000048cc 
+ 00009436  0x0000275a branch  0x000024d9 
+ 00009437  0x0000275d fetch  0x00000001 , 0x000048c9 
+ 00009438  0x0000275e branch  0x000024d9 
+ 00009439  0x00002762 fetch  0x00000001 , 0x000048c4 
+ 00009440  0x00002763 increase  0x00000001 , 0x0000003f 
+ 00009441  0x00002764 and_into  0x00000003 , 0x0000003f 
+ 00009442  0x00002765 store  0x00000001 , 0x000048c4 
+ 00009443  0x00002767 beq  0x00000000 , 0x00002502 
+ 00009444  0x00002768 beq  0x00000001 , 0x0000251c 
+ 00009445  0x00002769 beq  0x00000002 , 0x000024e8 
+ 00009446  0x0000276a beq  0x00000003 , 0x0000251c 
+ 00009447  0x0000276b rtn 
+ 00009448  0x0000276e call  0x00002377 
+ 00009449  0x0000276f fetch  0x00000004 , 0x000048dd 
+ 00009450  0x00002770 branch  0x000024df , 0x00000034 
+ 00009451  0x00002771 call  0x00002292 
+ 00009452  0x00002772 fetch  0x00000001 , 0x000048ca 
+ 00009453  0x00002773 call  0x000024fd , 0x00000034 
+ 00009454  0x00002774 fetch  0x00000001 , 0x000048c8 
+ 00009455  0x00002775 store  0x00000001 , 0x0000483d 
+ 00009456  0x00002776 fetcht  0x00000001 , 0x000048eb 
+ 00009457  0x00002777 fetchr  0x00000011 , 0x00000002 , 0x000048f1 
+ 00009458  0x00002778 call  0x000025ca 
+ 00009459  0x00002779 storet  0x00000001 , 0x000048eb 
+ 00009460  0x0000277a call  0x000025d2 
+ 00009461  0x0000277b storet  0x00000001 , 0x000048e8 
+ 00009462  0x0000277c sub  0x00000002 , 0x00000050 , 0x0000003e 
+ 00009463  0x0000277d nrtn  0x00000002 
+ 00009464  0x0000277e fetcht  0x00000001 , 0x000048c9 
+ 00009465  0x0000277f call  0x00002285 
+ 00009466  0x00002780 storet  0x00000001 , 0x000048c9 
+ 00009467  0x00002781 store  0x00000001 , 0x000048c8 
+ 00009468  0x00002782 rtn 
+ 00009469  0x00002785 jam  0x00000001 , 0x000048ca 
+ 00009470  0x00002786 arg  0x00000000 , 0x00000002 
+ 00009471  0x00002787 call  0x00002289 
+ 00009472  0x00002788 store  0x00000001 , 0x000048c8 
+ 00009473  0x00002789 rtn 
+ 00009474  0x0000278c call  0x0000237d 
+ 00009475  0x0000278d fetch  0x00000004 , 0x000048e1 
+ 00009476  0x0000278e branch  0x000024df , 0x00000034 
+ 00009477  0x0000278f call  0x00002292 
+ 00009478  0x00002790 fetch  0x00000001 , 0x000048cd 
+ 00009479  0x00002791 call  0x00002517 , 0x00000034 
+ 00009480  0x00002792 fetch  0x00000001 , 0x000048cb 
+ 00009481  0x00002793 store  0x00000001 , 0x0000483d 
+ 00009482  0x00002794 fetcht  0x00000001 , 0x000048ec 
+ 00009483  0x00002795 fetchr  0x00000011 , 0x00000002 , 0x000048f3 
+ 00009484  0x00002796 call  0x000025ca 
+ 00009485  0x00002797 storet  0x00000001 , 0x000048ec 
+ 00009486  0x00002798 call  0x000025d2 
+ 00009487  0x00002799 storet  0x00000001 , 0x000048e9 
+ 00009488  0x0000279a sub  0x00000002 , 0x00000050 , 0x0000003e 
+ 00009489  0x0000279b nrtn  0x00000002 
+ 00009490  0x0000279c fetcht  0x00000001 , 0x000048cc 
+ 00009491  0x0000279d call  0x00002285 
+ 00009492  0x0000279e storet  0x00000001 , 0x000048cc 
+ 00009493  0x0000279f store  0x00000001 , 0x000048cb 
+ 00009494  0x000027a0 rtn 
+ 00009495  0x000027a3 jam  0x00000001 , 0x000048cd 
+ 00009496  0x000027a4 arg  0x00000000 , 0x00000002 
+ 00009497  0x000027a5 call  0x00002289 
+ 00009498  0x000027a6 store  0x00000001 , 0x000048cb 
+ 00009499  0x000027a7 rtn 
+ 00009500  0x000027aa call  0x00002377 
+ 00009501  0x000027ab fetch  0x00000004 , 0x000040a8 
+ 00009502  0x000027ac call  0x00002292 
+ 00009503  0x000027ad fetch  0x00000001 , 0x000048c7 
+ 00009504  0x000027ae call  0x00002530 , 0x00000034 
+ 00009505  0x000027af fetch  0x00000001 , 0x000048c5 
+ 00009506  0x000027b0 store  0x00000001 , 0x0000483d 
+ 00009507  0x000027b1 fetcht  0x00000001 , 0x000048ea 
+ 00009508  0x000027b2 fetchr  0x00000011 , 0x00000002 , 0x000048ef 
+ 00009509  0x000027b3 call  0x000025ca 
+ 00009510  0x000027b4 storet  0x00000001 , 0x000048ea 
+ 00009511  0x000027b5 call  0x000025d2 
+ 00009512  0x000027b6 storet  0x00000001 , 0x000048e7 
+ 00009513  0x000027b7 sub  0x00000002 , 0x00000050 , 0x0000003e 
+ 00009514  0x000027b8 nrtn  0x00000002 
+ 00009515  0x000027b9 fetcht  0x00000001 , 0x000048c6 
+ 00009516  0x000027ba call  0x00002285 
+ 00009517  0x000027bb storet  0x00000001 , 0x000048c6 
+ 00009518  0x000027bc store  0x00000001 , 0x000048c5 
+ 00009519  0x000027bd rtn 
+ 00009520  0x000027c0 jam  0x00000001 , 0x000048c7 
+ 00009521  0x000027c1 fetch  0x00000001 , 0x000048c5 
+ 00009522  0x000027c2 store  0x00000001 , 0x0000483d 
+ 00009523  0x000027c3 rtn 
+ 00009524  0x000027c7 jam  0x00000000 , 0x000048be 
+ 00009525  0x000027c8 rtn 
+ 00009526  0x000027cc fetch  0x00000004 , 0x0000483f 
+ 00009527  0x000027cd fetcht  0x00000004 , 0x000040a8 
+ 00009528  0x000027ce isub  0x00000002 , 0x0000003e 
+ 00009529  0x000027cf rtn 
+ 00009530  0x000027dc fetch  0x00000001 , 0x000048be 
+ 00009531  0x000027dd rtneq  0x00000002 
+ 00009532  0x000027de fetch  0x00000001 , 0x000048c1 
+ 00009533  0x000027df rtn  0x00000034 
+ 00009534  0x000027e0 arg  0x00000008 , 0x00000007 
+ 00009535  0x000027e1 call  0x00007de9 
+ 00009536  0x000027e2 nrtn  0x00000034 
+ 00009537  0x000027e3 jam  0x00000000 , 0x000048c1 
+ 00009538  0x000027e4 jam  0x00000000 , 0x000048cf 
+ 00009539  0x000027e5 call  0x00002456 
+ 00009540  0x000027e8 jam  0x00000007 , 0x000048c3 
+ 00009541  0x000027e9 jam  0x00000000 , 0x000048c2 
+ 00009542  0x000027ea branch  0x000023fa 
+ 00009543  0x000027f1 fetch  0x00000001 , 0x000048b7 
+ 00009544  0x000027f2 beq  0x00000001 , 0x00002608 
+ 00009545  0x000027f3 fetch  0x00000001 , 0x000048bf 
+ 00009546  0x000027f4 beq  0x00000001 , 0x0000255a 
+ 00009547  0x000027f5 fetcht  0x00000004 , 0x000048b8 
+ 00009548  0x000027f6 copy  0x00000022 , 0x0000003f 
+ 00009549  0x000027f7 isub  0x00000002 , 0x0000003e 
+ 00009550  0x000027f8 ncall  0x000022af , 0x00000002 
+ 00009551  0x000027f9 copy  0x0000003f , 0x00000012 
+ 00009552  0x000027fa fetch  0x00000004 , 0x000048b8 
+ 00009553  0x000027fb fetcht  0x00000001 , 0x000048bc 
+ 00009554  0x000027fc iadd  0x00000002 , 0x00000002 
+ 00009555  0x000027fd copy  0x00000012 , 0x0000003f 
+ 00009556  0x000027fe isub  0x00000002 , 0x0000003e 
+ 00009557  0x000027ff nrtn  0x00000002 
+ 00009558  0x00002800 set0  0x0000001c , 0x0000003f 
+ 00009559  0x00002801 store  0x00000004 , 0x000048b8 
+ 00009560  0x00002802 jam  0x00000001 , 0x000048b7 
+ 00009561  0x00002803 branch  0x00002281 
+ 00009562  0x00002806 jam  0x00000000 , 0x000048bf 
+ 00009563  0x00002807 branch  0x00002281 
+ 00009564  0x0000280a copy  0x00000022 , 0x0000003f 
+ 00009565  0x0000280b store  0x00000004 , 0x000048b8 
+ 00009566  0x0000280c rtn 
+ 00009567  0x00002812 arg  0x0000488b , 0x00000013 
+ 00009568  0x00002813 arg  0x00002683 , 0x00000012 
+ 00009569  0x00002814 branch  0x00003203 
+ 00009570  0x00002818 bpatchx  0x000000e8 , 0x0000403d 
+ 00009571  0x00002819 set1  0x00000026 , 0x00000000 
+ 00009572  0x0000281a fetch  0x00000001 , 0x000048a5 
+ 00009573  0x0000281b set0  0x00000001 , 0x0000003f 
+ 00009574  0x0000281c set1  0x00000002 , 0x0000003f 
+ 00009575  0x0000281d store  0x00000001 , 0x000048a5 
+ 00009576  0x0000281e fetch  0x00000001 , 0x00004890 
+ 00009577  0x0000281f branch  0x00002577 , 0x00000034 
+ 00009578  0x00002820 fetch  0x00000001 , 0x0000488f 
+ 00009579  0x00002821 beq  0x00000001 , 0x0000256f 
+ 00009580  0x00002822 beq  0x00000002 , 0x0000256f 
+ 00009581  0x00002823 beq  0x00000003 , 0x0000257e 
+ 00009582  0x00002824 beq  0x00000004 , 0x0000257e 
+ 00009583  0x00002826 fetch  0x00000001 , 0x00004880 
+ 00009584  0x00002827 store  0x00000001 , 0x000041e8 
+ 00009585  0x00002828 fetcht  0x00000001 , 0x00004899 
+ 00009586  0x00002829 storet  0x00000001 , 0x0000483e 
+ 00009587  0x0000282a fetch  0x00000004 , 0x00004891 
+ 00009588  0x0000282b call  0x00002587 
+ 00009589  0x0000282c storet  0x00000001 , 0x00004899 
+ 00009590  0x0000282d rtn 
+ 00009591  0x00002830 jam  0x00000003 , 0x000041e8 
+ 00009592  0x00002831 fetcht  0x00000001 , 0x0000489a 
+ 00009593  0x00002832 storet  0x00000001 , 0x0000483e 
+ 00009594  0x00002833 fetch  0x00000004 , 0x00004895 
+ 00009595  0x00002834 call  0x00002587 
+ 00009596  0x00002835 storet  0x00000001 , 0x0000489a 
+ 00009597  0x00002836 rtn 
+ 00009598  0x00002839 jam  0x00000003 , 0x000041e8 
+ 00009599  0x0000283a fetcht  0x00000001 , 0x0000489b 
+ 00009600  0x0000283b storet  0x00000001 , 0x0000483e 
+ 00009601  0x0000283c fetch  0x00000004 , 0x000048ad 
+ 00009602  0x0000283d call  0x00002587 
+ 00009603  0x0000283e storet  0x00000001 , 0x0000489b 
+ 00009604  0x0000283f rtn 
+ 00009605  0x00002842 fetch  0x00000004 , 0x0000480f 
+ 00009606  0x00002843 store  0x00000004 , 0x00004895 
+ 00009607  0x00002845 call  0x00002292 
+ 00009608  0x00002846 branch  0x00002281 
+ 00009609  0x0000284a bpatchx  0x000000e9 , 0x0000403d 
+ 00009610  0x0000284b call  0x000025a3 
+ 00009611  0x0000284c call  0x00002662 
+ 00009612  0x0000284d nbranch  0x000025aa , 0x00000018 
+ 00009613  0x0000284e nbranch  0x000025aa , 0x0000002f 
+ 00009614  0x0000284f call  0x00002679 
+ 00009615  0x00002851 fetch  0x00000001 , 0x000048a5 
+ 00009616  0x00002852 set0  0x00000002 , 0x0000003f 
+ 00009617  0x00002853 store  0x00000001 , 0x000048a5 
+ 00009618  0x00002854 setarg  0x00000000 
+ 00009619  0x00002855 store  0x00000002 , 0x00004887 
+ 00009620  0x00002856 store  0x00000002 , 0x0000488d 
+ 00009621  0x00002857 store  0x00000002 , 0x0000488b 
+ 00009622  0x00002858 fetch  0x00000004 , 0x0000487b 
+ 00009623  0x00002859 fetcht  0x00000004 , 0x0000483f 
+ 00009624  0x0000285a isub  0x00000002 , 0x0000003e 
+ 00009625  0x0000285b branch  0x000022e4 , 0x00000005 
+ 00009626  0x0000285c fetch  0x00000004 , 0x000048ad 
+ 00009627  0x0000285d fetcht  0x00000004 , 0x0000483f 
+ 00009628  0x0000285e isub  0x00000002 , 0x0000003e 
+ 00009629  0x0000285f call  0x00002585 , 0x00000005 
+ 00009630  0x00002860 jam  0x0000003c , 0x0000095b 
+ 00009631  0x00002861 call  0x000078dc 
+ 00009632  0x00002863 arg  0x00000004 , 0x00000039 
+ 00009633  0x00002864 arg  0x000047c9 , 0x00000005 
+ 00009634  0x00002865 branch  0x00007d8c 
+ 00009635  0x00002868 jam  0x000000ff , 0x000047c9 
+ 00009636  0x00002869 fetch  0x00000001 , 0x00004839 
+ 00009637  0x0000286a store  0x00000001 , 0x000047ca 
+ 00009638  0x0000286b fetch  0x00000004 , 0x000048ad 
+ 00009639  0x0000286c store  0x00000004 , 0x000047cb 
+ 00009640  0x0000286d jam  0x00000006 , 0x00004838 
+ 00009641  0x0000286e branch  0x00002247 
+ 00009642  0x00002871 fetch  0x00000001 , 0x00004890 
+ 00009643  0x00002872 branch  0x00002281 , 0x00000034 
+ 00009644  0x00002873 fetch  0x00000002 , 0x0000488d 
+ 00009645  0x00002874 increase  0x00000001 , 0x0000003f 
+ 00009646  0x00002875 store  0x00000002 , 0x0000488d 
+ 00009647  0x00002876 isolate1  0x00000003 , 0x0000003f 
+ 00009648  0x00002877 fetch  0x00000001 , 0x0000488f 
+ 00009649  0x00002878 beq  0x00000001 , 0x000025b6 
+ 00009650  0x00002879 beq  0x00000002 , 0x000025b8 
+ 00009651  0x0000287a beq  0x00000003 , 0x000025ba 
+ 00009652  0x0000287b beq  0x00000004 , 0x000025bc 
+ 00009653  0x0000287c branch  0x00002577 
+ 00009654  0x00002880 branch  0x00002577 , 0x00000001 
+ 00009655  0x00002881 branch  0x0000256f 
+ 00009656  0x00002884 branch  0x0000257e , 0x00000001 
+ 00009657  0x00002885 branch  0x0000256f 
+ 00009658  0x00002888 branch  0x0000257e , 0x00000001 
+ 00009659  0x00002889 branch  0x00002577 
+ 00009660  0x0000288c branch  0x000022ef , 0x00000001 
+ 00009661  0x0000288d branch  0x0000257e 
+ 00009662  0x00002899 fetch  0x00000001 , 0x00004898 
+ 00009663  0x0000289a beq  0x00000001 , 0x000025c2 
+ 00009664  0x0000289b beq  0x00000002 , 0x000025c6 
+ 00009665  0x0000289c rtn 
+ 00009666  0x0000289e fetch  0x00000004 , 0x00004899 
+ 00009667  0x0000289f store  0x00000004 , 0x000048d9 
+ 00009668  0x000028a1 store  0x00000004 , 0x000048dd 
+ 00009669  0x000028a2 rtn 
+ 00009670  0x000028a4 fetch  0x00000004 , 0x00004899 
+ 00009671  0x000028a5 store  0x00000004 , 0x000048d9 
+ 00009672  0x000028a7 store  0x00000004 , 0x000048e1 
+ 00009673  0x000028a8 rtn 
+ 00009674  0x000028b3 copy  0x00000011 , 0x0000003f 
+ 00009675  0x000028b4 iadd  0x00000002 , 0x00000005 
+ 00009676  0x000028b5 fetch  0x00000001 , 0x00000018 
+ 00009677  0x000028b6 istore  0x00000001 , 0x00000005 
+ 00009678  0x000028b7 increase  0x00000001 , 0x00000002 
+ 00009679  0x000028b8 fetch  0x00000001 , 0x00004881 
+ 00009680  0x000028b9 iand  0x00000002 , 0x00000002 
+ 00009681  0x000028ba rtn 
+ 00009682  0x000028bc fetch  0x00000001 , 0x00004881 
+ 00009683  0x000028bd increase  0x00000001 , 0x0000003f 
+ 00009684  0x000028be store  0x00000002 , 0x00000987 
+ 00009685  0x000028bf copy  0x0000003f , 0x00000039 
+ 00009686  0x000028c0 copy  0x00000011 , 0x00000006 
+ 00009687  0x000028c1 arg  0x00000000 , 0x0000003f 
+ 00009688  0x000028c3 ifetcht  0x00000001 , 0x00000006 
+ 00009689  0x000028c4 iadd  0x00000002 , 0x0000003f 
+ 00009690  0x000028c5 loop  0x000025d8 
+ 00009691  0x000028c6 fetcht  0x00000002 , 0x00000987 
+ 00009692  0x000028c7 idiv  0x00000002 
+ 00009693  0x000028c8 call  0x00007e64 
+ 00009694  0x000028c9 quotient  0x00000002 
+ 00009695  0x000028ca rtnmark1  0x00000027 
+ 00009696  0x000028cb copy  0x00000002 , 0x0000003f 
+ 00009697  0x000028cc rtnmark0  0x00000026 
+ 00009698  0x000028cd call  0x00001297 
+ 00009699  0x000028ce copy  0x0000003f , 0x00000002 
+ 00009700  0x000028cf rtn 
+ 00009701  0x000028d2 call  0x0000127f 
+ 00009702  0x000028d3 branch  0x00001293 
+ 00009703  0x000028dd fetch  0x00000002 , 0x0000489d 
+ 00009704  0x000028de branch  0x000025fb 
+ 00009705  0x000028e1 copy  0x0000003f , 0x00000011 
+ 00009706  0x000028e2 fetcht  0x00000001 , 0x0000489c 
+ 00009707  0x000028e3 fetch  0x00000002 , 0x0000489d 
+ 00009708  0x000028e4 iadd  0x00000002 , 0x00000005 
+ 00009709  0x000028e5 copy  0x00000011 , 0x0000003f 
+ 00009710  0x000028e6 istore  0x00000001 , 0x00000005 
+ 00009711  0x000028e7 increase  0x00000001 , 0x00000002 
+ 00009712  0x000028e8 fetch  0x00000001 , 0x00004881 
+ 00009713  0x000028e9 iand  0x00000002 , 0x00000002 
+ 00009714  0x000028ea storet  0x00000001 , 0x0000489c 
+ 00009715  0x000028eb rtn 
+ 00009716  0x000028f6 fetch  0x00000002 , 0x000048ed 
+ 00009717  0x000028f7 call  0x000025fb 
+ 00009718  0x000028f8 fetch  0x00000002 , 0x000048ef 
+ 00009719  0x000028f9 call  0x000025fb 
+ 00009720  0x000028fa fetch  0x00000002 , 0x000048f1 
+ 00009721  0x000028fb call  0x000025fb 
+ 00009722  0x000028fc fetch  0x00000002 , 0x000048f3 
+ 00009723  0x000028fe rtn  0x00000034 
+ 00009724  0x000028ff copy  0x0000003f , 0x00000005 
+ 00009725  0x00002900 fetch  0x00000001 , 0x00004881 
+ 00009726  0x00002901 increase  0x00000001 , 0x0000003f 
+ 00009727  0x00002902 copy  0x0000003f , 0x00000039 
+ 00009728  0x00002903 branch  0x00007d9b 
+ 00009729  0x00002907 call  0x000025e5 
+ 00009730  0x00002908 rtn  0x00000034 
+ 00009731  0x00002909 fetcht  0x00000001 , 0x000048e6 
+ 00009732  0x0000290a fetchr  0x00000011 , 0x00000002 , 0x000048ed 
+ 00009733  0x0000290b call  0x000025ca 
+ 00009734  0x0000290c storet  0x00000001 , 0x000048e6 
+ 00009735  0x0000290d rtn 
+ 00009736  0x00002911 fetchr  0x00000011 , 0x00000002 , 0x000048ed 
+ 00009737  0x00002912 call  0x000025d2 
+ 00009738  0x00002913 storet  0x00000001 , 0x000048e5 
+ 00009739  0x00002914 sub  0x00000002 , 0x00000050 , 0x0000003e 
+ 00009740  0x00002915 nrtn  0x00000002 
+ 00009741  0x00002916 branch  0x00002281 
+ 00009742  0x0000291f fetch  0x00000004 , 0x000040a8 
+ 00009743  0x00002920 store  0x00000004 , 0x000048ad 
+ 00009744  0x00002921 call  0x000022d0 
+ 00009745  0x00002922 branch  0x000025e7 
+ 00009746  0x00002925 setarg  0x00002fb2 
+ 00009747  0x00002926 store  0x00000003 , 0x000048b1 
+ 00009748  0x00002927 setarg  0x00100c0c 
+ 00009749  0x00002928 store  0x00000003 , 0x00004857 
+ 00009750  0x00002929 setarg  0x0000bb80 
+ 00009751  0x0000292a store  0x00000003 , 0x000048b4 
+ 00009752  0x0000292b jam  0x00000005 , 0x000048ca 
+ 00009753  0x0000292c rtn 
+ 00009754  0x0000292f setarg  0x0000f80c 
+ 00009755  0x00002930 store  0x00000003 , 0x000048b1 
+ 00009756  0x00002931 setarg  0x001c1919 
+ 00009757  0x00002932 store  0x00000003 , 0x00004857 
+ 00009758  0x00002933 setarg  0x00017700 
+ 00009759  0x00002934 store  0x00000003 , 0x000048b4 
+ 00009760  0x00002935 jam  0x0000000b , 0x000048ca 
+ 00009761  0x00002936 rtn 
+ 00009762  0x0000293a rtnmark0  0x00000026 
+ 00009763  0x0000293b fetch  0x00000001 , 0x000048a5 
+ 00009764  0x0000293c bbit1  0x00000001 , 0x000022f6 
+ 00009765  0x0000293d bbit1  0x00000002 , 0x00002589 
+ 00009766  0x0000293e fetch  0x00000001 , 0x000048c1 
+ 00009767  0x0000293f beq  0x00000001 , 0x000026cd 
+ 00009768  0x00002941 bpatchx  0x000000ea , 0x0000403d 
+ 00009769  0x00002942 call  0x00002638 
+ 00009770  0x00002943 nbranch  0x000026a8 , 0x00000028 
+ 00009771  0x00002945 call  0x0000264d 
+ 00009772  0x00002946 call  0x000026f5 
+ 00009773  0x00002947 fetch  0x00000001 , 0x0000409a 
+ 00009774  0x00002948 beq  0x00000008 , 0x0000482e 
+ 00009775  0x0000294a fetch  0x00000008 , 0x000048b4 
+ 00009776  0x0000294b store  0x00000008 , 0x0000485f 
+ 00009777  0x0000294c fetch  0x00000002 , 0x000048c6 
+ 00009778  0x0000294d store  0x00000002 , 0x000048c8 
+ 00009779  0x0000294f call  0x000026c2 
+ 00009780  0x00002950 nrtn  0x00000028 
+ 00009781  0x00002951 call  0x00007f52 
+ 00009782  0x00002952 fetch  0x00000003 , 0x000048b1 
+ 00009783  0x00002953 branch  0x000026bf 
+ 00009784  0x0000295b call  0x0000263b 
+ 00009785  0x0000295c nrtn  0x00000028 
+ 00009786  0x0000295d branch  0x00002247 
+ 00009787  0x00002961 fetch  0x00000002 , 0x0000489f 
+ 00009788  0x00002962 call  0x00007e7a 
+ 00009789  0x00002963 branch  0x00002641 , 0x00000028 
+ 00009790  0x00002964 fetch  0x00000007 , 0x000047ca 
+ 00009791  0x00002965 rtn  0x00000034 
+ 00009792  0x00002966 branch  0x00007ec5 
+ 00009793  0x00002969 jam  0x00000000 , 0x000048ab 
+ 00009794  0x0000296a add  0x00000011 , 0x00000001 , 0x0000003f 
+ 00009795  0x0000296b store  0x00000001 , 0x00004838 
+ 00009796  0x0000296c call  0x00002649 
+ 00009797  0x0000296d store  0x00000001 , 0x000047c9 
+ 00009798  0x0000296e copy  0x00000012 , 0x00000006 
+ 00009799  0x0000296f copy  0x00000011 , 0x00000039 
+ 00009800  0x00002970 branch  0x00007dd4 
+ 00009801  0x00002973 fetch  0x00000001 , 0x00004839 
+ 00009802  0x00002974 and_into  0x00000007 , 0x0000003f 
+ 00009803  0x00002975 store  0x00000001 , 0x00004839 
+ 00009804  0x00002976 rtn 
+ 00009805  0x00002980 jam  0x00000000 , 0x000048aa 
+ 00009806  0x00002982 fetchr  0x0000000b , 0x00000002 , 0x0000015f 
+ 00009807  0x00002983 until  0x00000023 , 0x00000026 
+ 00009808  0x00002984 call  0x00002662 
+ 00009809  0x00002985 fetch  0x00000001 , 0x0000482f 
+ 00009810  0x00002986 beq  0x00000001 , 0x00002658 
+ 00009811  0x00002987 nbranch  0x00002670 , 0x00000018 
+ 00009812  0x00002988 nbranch  0x00002670 , 0x0000002f 
+ 00009813  0x00002989 call  0x00002679 
+ 00009814  0x0000298a fetch  0x00000001 , 0x0000409a 
+ 00009815  0x0000298b beq  0x00000008 , 0x0000482a 
+ 00009816  0x0000298d call  0x00002727 
+ 00009817  0x0000298f call  0x000025a0 
+ 00009818  0x00002990 fetch  0x00000001 , 0x0000482e 
+ 00009819  0x00002991 increase  0x00000001 , 0x0000003f 
+ 00009820  0x00002992 store  0x00000001 , 0x0000482e 
+ 00009821  0x00002993 call  0x0000269b 
+ 00009822  0x00002995 setarg  0x00000000 
+ 00009823  0x00002996 store  0x00000001 , 0x000048a6 
+ 00009824  0x00002997 store  0x00000002 , 0x000048a7 
+ 00009825  0x00002998 rtn 
+ 00009826  0x0000299b disable  0x0000002f 
+ 00009827  0x0000299c call  0x000021f8 
+ 00009828  0x0000299d fetch  0x00000001 , 0x0000482f 
+ 00009829  0x0000299e beq  0x00000001 , 0x000021f1 
+ 00009830  0x0000299f force  0x00000000 , 0x00000015 
+ 00009831  0x000029a0 fetch  0x00000004 , 0x0000483f 
+ 00009832  0x000029a1 iforce  0x00000009 
+ 00009833  0x000029a2 call  0x000010ac 
+ 00009834  0x000029a3 fetcht  0x00000001 , 0x00000017 
+ 00009835  0x000029a4 call  0x0000118b 
+ 00009836  0x000029a5 call  0x000011a2 
+ 00009837  0x000029a6 call  0x00002190 
+ 00009838  0x000029a7 call  0x000021f1 , 0x0000002f 
+ 00009839  0x000029a8 rtn 
+ 00009840  0x000029ab fetch  0x00000001 , 0x000048ab 
+ 00009841  0x000029ac nrtn  0x00000034 
+ 00009842  0x000029ad fetch  0x00000002 , 0x000048a7 
+ 00009843  0x000029ae increase  0x00000001 , 0x0000003f 
+ 00009844  0x000029af store  0x00000002 , 0x000048a7 
+ 00009845  0x000029b0 fetch  0x00000001 , 0x000048a8 
+ 00009846  0x000029b1 bbit1  0x00000004 , 0x00002680 
+ 00009847  0x000029b2 call  0x00002685 
+ 00009848  0x000029b3 branch  0x0000264e 
+ 00009849  0x000029b7 call  0x00002274 
+ 00009850  0x000029b8 fetch  0x00000001 , 0x0000482d 
+ 00009851  0x000029b9 rtn  0x00000034 
+ 00009852  0x000029ba iforce  0x00000039 
+ 00009853  0x000029bb arg  0x000047a9 , 0x00000006 
+ 00009854  0x000029bc arg  0x0000480d , 0x00000005 
+ 00009855  0x000029bd branch  0x00007dd4 
+ 00009856  0x000029c1 setarg  0x00000000 
+ 00009857  0x000029c2 store  0x00000002 , 0x000048a7 
+ 00009858  0x000029c3 jam  0x00000001 , 0x000048a9 
+ 00009859  0x000029c5 jam  0x0000003a , 0x0000095b 
+ 00009860  0x000029c6 branch  0x000078dc 
+ 00009861  0x000029d1 bpatchx  0x000000eb , 0x0000403d 
+ 00009862  0x000029d2 fetcht  0x00000001 , 0x000048aa 
+ 00009863  0x000029d3 fetch  0x00000001 , 0x000048ca 
+ 00009864  0x000029d4 isub  0x00000002 , 0x0000003e 
+ 00009865  0x000029d5 nbranch  0x000026a3 , 0x00000002 
+ 00009866  0x000029d6 increase  0x00000001 , 0x00000002 
+ 00009867  0x000029d7 storet  0x00000001 , 0x000048aa 
+ 00009868  0x000029d8 fetch  0x00000001 , 0x000048ca 
+ 00009869  0x000029d9 beq  0x00000005 , 0x00002692 
+ 00009870  0x000029da fetch  0x00000001 , 0x000048aa 
+ 00009871  0x000029db beq  0x00000006 , 0x0000269d 
+ 00009872  0x000029dc beq  0x0000000c , 0x0000269d 
+ 00009873  0x000029dd rtn 
+ 00009874  0x000029e1 fetch  0x00000001 , 0x000048aa 
+ 00009875  0x000029e2 beq  0x00000003 , 0x0000269d 
+ 00009876  0x000029e3 beq  0x00000006 , 0x0000269d 
+ 00009877  0x000029e4 rtn 
+ 00009878  0x000029ee bmark1  0x0000002f , 0x00002699 
+ 00009879  0x000029ef store  0x00000001 , 0x000047ea 
+ 00009880  0x000029f0 rtn 
+ 00009881  0x000029f2 store  0x00000001 , 0x000047eb 
+ 00009882  0x000029f3 rtn 
+ 00009883  0x000029f6 fetch  0x00000001 , 0x00004839 
+ 00009884  0x000029f7 rtnbit0  0x00000004 
+ 00009885  0x000029f9 fetch  0x00000001 , 0x00004839 
+ 00009886  0x000029fa set0  0x00000004 , 0x0000003f 
+ 00009887  0x000029fb store  0x00000001 , 0x00004839 
+ 00009888  0x000029fc call  0x00002696 
+ 00009889  0x000029fd call  0x0000272b 
+ 00009890  0x000029fe branch  0x00002281 
+ 00009891  0x00002a01 call  0x0000271b 
+ 00009892  0x00002a02 call  0x0000272b 
+ 00009893  0x00002a03 branch  0x00002281 
+ 00009894  0x00002a16 fetch  0x00000002 , 0x000048a1 
+ 00009895  0x00002a17 branch  0x00007e7a 
+ 00009896  0x00002a1a fetch  0x00000001 , 0x000048ab 
+ 00009897  0x00002a1b call  0x000026ae , 0x00000034 
+ 00009898  0x00002a1c fetch  0x00000001 , 0x000048c1 
+ 00009899  0x00002a1d rtneq  0x00000001 
+ 00009900  0x00002a1e call  0x000026a6 
+ 00009901  0x00002a1f branch  0x000026bc 
+ 00009902  0x00002a22 jam  0x00000001 , 0x00004839 
+ 00009903  0x00002a23 jam  0x00000001 , 0x000048ab 
+ 00009904  0x00002a24 call  0x00002649 
+ 00009905  0x00002a25 store  0x00000001 , 0x000047c9 
+ 00009906  0x00002a26 setarg  0x00000000 
+ 00009907  0x00002a27 store  0x00000007 , 0x000047ca 
+ 00009908  0x00002a28 fetch  0x00000004 , 0x000048ad 
+ 00009909  0x00002a29 store  0x00000004 , 0x000047d1 
+ 00009910  0x00002a2a jam  0x0000000c , 0x00004838 
+ 00009911  0x00002a2b fetch  0x00000001 , 0x00004839 
+ 00009912  0x00002a2c set1  0x00000003 , 0x0000003f 
+ 00009913  0x00002a2d store  0x00000001 , 0x00004839 
+ 00009914  0x00002a2e call  0x00002247 
+ 00009915  0x00002a2f branch  0x0000262b 
+ 00009916  0x00002a32 call  0x000026c2 
+ 00009917  0x00002a33 nrtn  0x00000028 
+ 00009918  0x00002a34 fetch  0x00000008 , 0x0000485f 
+ 00009919  0x00002a36 call  0x00007e1f 
+ 00009920  0x00002a37 storet  0x00000004 , 0x00004160 
+ 00009921  0x00002a38 branch  0x00001464 
+ 00009922  0x00002a3b bpatchx  0x000000ec , 0x0000403d 
+ 00009923  0x00002a3c enable  0x00000028 
+ 00009924  0x00002a3d call  0x00001436 
+ 00009925  0x00002a3e fetch  0x00000003 , 0x00004174 
+ 00009926  0x00002a3f branch  0x00007ec7 , 0x00000034 
+ 00009927  0x00002a40 fetch  0x00000001 , 0x00004099 
+ 00009928  0x00002a41 branch  0x00007ec7 , 0x00000034 
+ 00009929  0x00002a42 fetch  0x00000001 , 0x000048c1 
+ 00009930  0x00002a43 beq  0x00000001 , 0x00007ec7 
+ 00009931  0x00002a45 fetch  0x00000002 , 0x000048a3 
+ 00009932  0x00002a46 branch  0x00007e7a 
+ 00009933  0x00002a54 call  0x000022a0 
+ 00009934  0x00002a55 nrtn  0x00000028 
+ 00009935  0x00002a56 call  0x000026e2 
+ 00009936  0x00002a57 fetch  0x00000002 , 0x000048c2 
+ 00009937  0x00002a58 increase  0x00000001 , 0x0000003f 
+ 00009938  0x00002a59 store  0x00000002 , 0x000048c2 
+ 00009939  0x00002a5a fetcht  0x00000002 , 0x000048c4 
+ 00009940  0x00002a5b isub  0x00000002 , 0x0000003e 
+ 00009941  0x00002a5c call  0x000026d7 , 0x00000005 
+ 00009942  0x00002a5d branch  0x00002628 
+ 00009943  0x00002a61 jam  0x00000000 , 0x000048c1 
+ 00009944  0x00002a62 setarg  0x00000000 
+ 00009945  0x00002a63 store  0x00000002 , 0x000048c2 
+ 00009946  0x00002a64 setarg  0x00000064 
+ 00009947  0x00002a65 store  0x00000002 , 0x000048c4 
+ 00009948  0x00002a67 jam  0x00000000 , 0x000048c0 
+ 00009949  0x00002a68 fetch  0x00000001 , 0x00004858 
+ 00009950  0x00002a6a store  0x00000001 , 0x00004857 
+ 00009951  0x00002a6b rtn 
+ 00009952  0x00002a6d fetch  0x00000001 , 0x00004859 
+ 00009953  0x00002a6e branch  0x000026de 
+ 00009954  0x00002a71 fetch  0x00000001 , 0x000048c0 
+ 00009955  0x00002a72 increase  0x00000001 , 0x0000003f 
+ 00009956  0x00002a73 store  0x00000001 , 0x000048c0 
+ 00009957  0x00002a74 beq  0x00000004 , 0x000026e0 
+ 00009958  0x00002a75 beq  0x00000005 , 0x000026dc 
+ 00009959  0x00002a76 rtn 
+ 00009960  0x00002a79 jam  0x00000001 , 0x000048c1 
+ 00009961  0x00002a7a setarg  0x00000000 
+ 00009962  0x00002a7b store  0x00000002 , 0x000048c2 
+ 00009963  0x00002a7c rtn 
+ 00009964  0x00002a87 arg  0x00000002 , 0x00000039 
+ 00009965  0x00002a88 arg  0x0000483f , 0x00000006 
+ 00009966  0x00002a8a call  0x00007ec5 
+ 00009967  0x00002a8b setarg  0x0000ffff 
+ 00009968  0x00002a8d ifetcht  0x00000002 , 0x00000006 
+ 00009969  0x00002a8e isub  0x00000002 , 0x0000003e 
+ 00009970  0x00002a8f ncall  0x00007ec7 , 0x00000005 
+ 00009971  0x00002a90 loop  0x000026f0 
+ 00009972  0x00002a91 rtn 
+ 00009973  0x00002a9c bpatchx  0x000000ed , 0x0000403d 
+ 00009974  0x00002a9d fetch  0x00000002 , 0x0000478f 
+ 00009975  0x00002a9e rtnbit1  0x0000000b 
+ 00009976  0x00002a9f rtnbit1  0x00000007 
+ 00009977  0x00002aa0 rtnbit1  0x00000006 
+ 00009978  0x00002aa1 fetchr  0x00000011 , 0x00000002 , 0x0000489d 
+ 00009979  0x00002aa2 call  0x000025d2 
+ 00009980  0x00002aa3 storet  0x00000001 , 0x000048cb 
+ 00009981  0x00002aa4 fetch  0x00000001 , 0x000048d0 
+ 00009982  0x00002aa5 bmark1  0x00000026 , 0x00002700 
+ 00009983  0x00002aa6 fetch  0x00000001 , 0x000048d3 
+ 00009984  0x00002aa8 isub  0x00000002 , 0x0000003e 
+ 00009985  0x00002aa9 nbranch  0x0000271a , 0x00000002 
+ 00009986  0x00002aaa fetch  0x00000001 , 0x000048cd 
+ 00009987  0x00002aab sub  0x0000003f , 0x00000002 , 0x0000003e 
+ 00009988  0x00002aac nbranch  0x00002708 , 0x00000002 
+ 00009989  0x00002aad fetch  0x00000001 , 0x000048cd 
+ 00009990  0x00002aae beq  0x00000000 , 0x0000271b 
+ 00009991  0x00002aaf rtn 
+ 00009992  0x00002ab2 fetch  0x00000001 , 0x000048cd 
+ 00009993  0x00002ab3 fetcht  0x00000001 , 0x000048ce 
+ 00009994  0x00002ab4 isub  0x00000002 , 0x0000003e 
+ 00009995  0x00002ab5 nrtn  0x00000005 
+ 00009996  0x00002ab6 jam  0x00000000 , 0x000048cd 
+ 00009997  0x00002ab8 fetcht  0x00000001 , 0x000048cb 
+ 00009998  0x00002ab9 fetch  0x00000001 , 0x000048cf 
+ 00009999  0x00002aba bmark1  0x00000026 , 0x00002711 
+ 00010000  0x00002abb fetch  0x00000001 , 0x000048d2 
+ 00010001  0x00002abd isub  0x00000002 , 0x0000003e 
+ 00010002  0x00002abe nrtn  0x00000002 
+ 00010003  0x00002abf fetch  0x00000001 , 0x000048cc 
+ 00010004  0x00002ac0 beq  0x00000000 , 0x00002722 
+ 00010005  0x00002ac1 increase  0xffffffff , 0x0000003f 
+ 00010006  0x00002ac2 store  0x00000001 , 0x000048cc 
+ 00010007  0x00002ac3 beq  0x00000000 , 0x00002722 
+ 00010008  0x00002ac6 jam  0x00000000 , 0x000041e8 
+ 00010009  0x00002ac7 rtn 
+ 00010010  0x00002aca jam  0x00000000 , 0x000048cd 
+ 00010011  0x00002acc fetch  0x00000001 , 0x000048cc 
+ 00010012  0x00002acd beq  0x00000002 , 0x00002720 
+ 00010013  0x00002ace increase  0x00000001 , 0x0000003f 
+ 00010014  0x00002acf store  0x00000001 , 0x000048cc 
+ 00010015  0x00002ad0 beq  0x00000001 , 0x00002718 
+ 00010016  0x00002ad2 jam  0x00000006 , 0x000041e8 
+ 00010017  0x00002ad3 rtn 
+ 00010018  0x00002ad6 jam  0x00000085 , 0x000041e8 
+ 00010019  0x00002ad7 rtn 
+ 00010020  0x00002ada jam  0x00000001 , 0x000048cc 
+ 00010021  0x00002adb jam  0x00000000 , 0x000048cd 
+ 00010022  0x00002adc rtn 
+ 00010023  0x00002adf fetch  0x00000001 , 0x000048cd 
+ 00010024  0x00002ae0 increase  0x00000001 , 0x0000003f 
+ 00010025  0x00002ae1 store  0x00000001 , 0x000048cd 
+ 00010026  0x00002ae2 rtn 
+ 00010027  0x00002ae5 fetch  0x00000001 , 0x000048cd 
+ 00010028  0x00002ae6 sub  0x0000003f , 0x00000002 , 0x0000003e 
+ 00010029  0x00002ae7 ncall  0x00002733 , 0x00000002 
+ 00010030  0x00002ae8 fetch  0x00000001 , 0x000048cd 
+ 00010031  0x00002ae9 rtneq  0x00000000 
+ 00010032  0x00002aea increase  0xffffffff , 0x0000003f 
+ 00010033  0x00002aeb store  0x00000001 , 0x000048cd 
+ 00010034  0x00002aec rtn 
+ 00010035  0x00002aef jam  0x00000003 , 0x000048cd 
+ 00010036  0x00002af0 rtn 
+ 00010037  0x00002afb fetch  0x00000001 , 0x00000be0 
+ 00010038  0x00002afc store  0x00000001 , 0x000009f6 
+ 00010039  0x00002afd copy  0x00000030 , 0x00000006 
+ 00010040  0x00002afe call  0x00007d7e 
+ 00010041  0x00002aff call  0x0000278d 
+ 00010042  0x00002b00 fetch  0x00000002 , 0x000049ef 
+ 00010043  0x00002b01 branch  0x00007e7a 
+ 00010044  0x00002b04 fetch  0x00000001 , 0x000009f7 
+ 00010045  0x00002b05 beq  0x00000000 , 0x00002744 
+ 00010046  0x00002b06 beq  0x00000080 , 0x00002d95 
+ 00010047  0x00002b07 beq  0x00000082 , 0x00002e95 
+ 00010048  0x00002b08 beq  0x000000d1 , 0x00002791 
+ 00010049  0x00002b09 beq  0x000000d0 , 0x000027ab 
+ 00010050  0x00002b0a beq  0x000000d5 , 0x000027ab 
+ 00010051  0x00002b0b rtn 
+ 00010052  0x00002b0f arg  0x000009fb , 0x00000006 
+ 00010053  0x00002b10 arg  0x00004b19 , 0x00000005 
+ 00010054  0x00002b11 call  0x00007d7f 
+ 00010055  0x00002b12 jam  0x00000000 , 0x0000496b 
+ 00010056  0x00002b13 call  0x00002b0e 
+ 00010057  0x00002b14 call  0x00002b00 
+ 00010058  0x00002b15 call  0x0000275f 
+ 00010059  0x00002b16 call  0x00002750 
+ 00010060  0x00002b17 call  0x00002755 
+ 00010061  0x00002b18 jam  0x00000000 , 0x0000496b 
+ 00010062  0x00002b19 fetch  0x00000002 , 0x000049f1 
+ 00010063  0x00002b1a branch  0x00007e7a 
+ 00010064  0x00002b1d fetch  0x00000001 , 0x00000c3a 
+ 00010065  0x00002b1e jam  0x00000004 , 0x0000496b 
+ 00010066  0x00002b1f rtneq  0x00000001 
+ 00010067  0x00002b20 jam  0x00000000 , 0x0000496b 
+ 00010068  0x00002b21 rtn 
+ 00010069  0x00002b24 setarg  0x00000080 
+ 00010070  0x00002b25 store  0x00000001 , 0x00000a10 
+ 00010071  0x00002b26 setarg  0x00000003 
+ 00010072  0x00002b27 istore  0x00000001 , 0x00000005 
+ 00010073  0x00002b28 setarg  0x00000000 
+ 00010074  0x00002b29 istore  0x00000001 , 0x00000005 
+ 00010075  0x00002b2a fetch  0x00000003 , 0x000009f8 
+ 00010076  0x00002b2b istore  0x00000003 , 0x00000005 
+ 00010077  0x00002b2c jam  0x00000006 , 0x00000a0f 
+ 00010078  0x00002b2d branch  0x0000305d 
+ 00010079  0x00002b31 fetch  0x00000002 , 0x00004a15 
+ 00010080  0x00002b32 rtnbit1  0x00000002 
+ 00010081  0x00002b33 call  0x00002e14 
+ 00010082  0x00002b35 add  0x00000011 , 0x00000006 , 0x00000013 
+ 00010083  0x00002b36 setarg  0xffffffff 
+ 00010084  0x00002b37 istore  0x00000008 , 0x00000013 
+ 00010085  0x00002b38 istore  0x00000008 , 0x00000005 
+ 00010086  0x00002b39 ifetch  0x00000002 , 0x00000011 
+ 00010087  0x00002b3a istore  0x00000002 , 0x00000013 
+ 00010088  0x00002b3b copy  0x00000012 , 0x0000003f 
+ 00010089  0x00002b3c iadd  0x00000011 , 0x00000011 
+ 00010090  0x00002b3d loop  0x00002762 
+ 00010091  0x00002b3e fetch  0x00000002 , 0x00004a11 
+ 00010092  0x00002b3f branch  0x00007e7a 
+ 00010093  0x00002b43 setarg  0x00000082 
+ 00010094  0x00002b44 store  0x00000001 , 0x00000a10 
+ 00010095  0x00002b45 setarg  0x00000004 
+ 00010096  0x00002b46 istore  0x00000001 , 0x00000005 
+ 00010097  0x00002b47 fetch  0x00000001 , 0x000009f9 
+ 00010098  0x00002b48 istore  0x00000001 , 0x00000005 
+ 00010099  0x00002b49 jam  0x00000003 , 0x00000a0f 
+ 00010100  0x00002b4a branch  0x0000305d 
+ 00010101  0x00002b4e setarg  0x00000082 
+ 00010102  0x00002b4f store  0x00000001 , 0x00000a10 
+ 00010103  0x00002b50 setarg  0x0000004e 
+ 00010104  0x00002b51 istore  0x00000001 , 0x00000005 
+ 00010105  0x00002b52 fetch  0x00000002 , 0x000009f9 
+ 00010106  0x00002b53 istore  0x00000002 , 0x00000005 
+ 00010107  0x00002b54 jam  0x00000004 , 0x00000a0f 
+ 00010108  0x00002b55 branch  0x0000305d 
+ 00010109  0x00002b59 setarg  0x00000082 
+ 00010110  0x00002b5a store  0x00000001 , 0x00000a10 
+ 00010111  0x00002b5b setarg  0x00000060 
+ 00010112  0x00002b5c istore  0x00000001 , 0x00000005 
+ 00010113  0x00002b5d fetch  0x00000004 , 0x000009f9 
+ 00010114  0x00002b5e istore  0x00000004 , 0x00000005 
+ 00010115  0x00002b5f jam  0x00000006 , 0x00000a0f 
+ 00010116  0x00002b60 branch  0x0000305d 
+ 00010117  0x00002b65 setarg  0x0000005e 
+ 00010118  0x00002b66 store  0x00000001 , 0x00000a10 
+ 00010119  0x00002b67 setarg  0x00000000 
+ 00010120  0x00002b68 istore  0x00000001 , 0x00000005 
+ 00010121  0x00002b69 fetch  0x00000002 , 0x000009f9 
+ 00010122  0x00002b6a istore  0x00000002 , 0x00000005 
+ 00010123  0x00002b6b jam  0x00000004 , 0x00000a0f 
+ 00010124  0x00002b6c branch  0x0000305d 
+ 00010125  0x00002b71 fetchr  0x00000039 , 0x00000001 , 0x00000be0 
+ 00010126  0x00002b72 copy  0x00000030 , 0x00000011 
+ 00010127  0x00002b73 arg  0x00000050 , 0x00000012 
+ 00010128  0x00002b74 branch  0x000029e6 
+ 00010129  0x00002b7a call  0x000027ac 
+ 00010130  0x00002b7b nrtn  0x00000028 
+ 00010131  0x00002b7c fetch  0x00000002 , 0x000009fb 
+ 00010132  0x00002b7d arg  0x0000f01f , 0x00000002 
+ 00010133  0x00002b7e isub  0x00000002 , 0x0000003e 
+ 00010134  0x00002b7f branch  0x000027c0 , 0x00000005 
+ 00010135  0x00002b80 arg  0x0000f010 , 0x00000002 
+ 00010136  0x00002b81 isub  0x00000002 , 0x0000003e 
+ 00010137  0x00002b82 branch  0x000027c4 , 0x00000005 
+ 00010138  0x00002b83 arg  0x0000f011 , 0x00000002 
+ 00010139  0x00002b84 isub  0x00000002 , 0x0000003e 
+ 00010140  0x00002b85 branch  0x000027cd , 0x00000005 
+ 00010141  0x00002b86 arg  0x0000f012 , 0x00000002 
+ 00010142  0x00002b87 isub  0x00000002 , 0x0000003e 
+ 00010143  0x00002b88 branch  0x000027d6 , 0x00000005 
+ 00010144  0x00002b89 arg  0x00000534 , 0x00000002 
+ 00010145  0x00002b8a isub  0x00000002 , 0x0000003e 
+ 00010146  0x00002b8b branch  0x000027b7 , 0x00000005 
+ 00010147  0x00002b8c arg  0x00000533 , 0x00000002 
+ 00010148  0x00002b8d isub  0x00000002 , 0x0000003e 
+ 00010149  0x00002b8e branch  0x000027ba , 0x00000005 
+ 00010150  0x00002b8f arg  0x00000123 , 0x00000002 
+ 00010151  0x00002b90 isub  0x00000002 , 0x0000003e 
+ 00010152  0x00002b91 branch  0x000027bd , 0x00000005 
+ 00010153  0x00002b92 fetch  0x00000002 , 0x000049f5 
+ 00010154  0x00002b93 branch  0x00007e7a 
+ 00010155  0x00002b97 rtn 
+ 00010156  0x00002b9a call  0x00007ec7 
+ 00010157  0x00002b9b fetch  0x00000002 , 0x000009f8 
+ 00010158  0x00002b9c arg  0x000001a8 , 0x00000002 
+ 00010159  0x00002b9d isub  0x00000002 , 0x0000003e 
+ 00010160  0x00002b9e nrtn  0x00000005 
+ 00010161  0x00002b9f fetcht  0x00000001 , 0x000047a7 
+ 00010162  0x00002ba0 fetch  0x00000001 , 0x000009fa 
+ 00010163  0x00002ba1 isub  0x00000002 , 0x0000003e 
+ 00010164  0x00002ba2 rtn  0x00000005 
+ 00010165  0x00002ba3 store  0x00000001 , 0x000047a7 
+ 00010166  0x00002ba4 branch  0x00007ec5 
+ 00010167  0x00002ba7 call  0x00002828 
+ 00010168  0x00002ba8 fetch  0x00000002 , 0x00004a05 
+ 00010169  0x00002ba9 branch  0x00007e7a 
+ 00010170  0x00002bad call  0x00002828 
+ 00010171  0x00002bae fetch  0x00000002 , 0x00004a07 
+ 00010172  0x00002baf branch  0x00007e7a 
+ 00010173  0x00002bb2 call  0x00002822 
+ 00010174  0x00002bb3 fetch  0x00000002 , 0x00004a09 
+ 00010175  0x00002bb4 branch  0x00007e7a 
+ 00010176  0x00002bb8 call  0x00002824 
+ 00010177  0x00002bba fetch  0x00000004 , 0x000009fd 
+ 00010178  0x00002bbb store  0x00000004 , 0x000047a9 
+ 00010179  0x00002bbc branch  0x00002859 
+ 00010180  0x00002bc0 call  0x0000281e 
+ 00010181  0x00002bc1 call  0x000027ef 
+ 00010182  0x00002bc2 rtn  0x00000034 
+ 00010183  0x00002bc3 fetch  0x00000001 , 0x000009fd 
+ 00010184  0x00002bc4 call  0x000027eb 
+ 00010185  0x00002bc5 fetcht  0x00000008 , 0x000009fd 
+ 00010186  0x00002bc6 istoret  0x00000008 , 0x00000005 
+ 00010187  0x00002bc8 fetch  0x00000002 , 0x00004a13 
+ 00010188  0x00002bc9 branch  0x00007e7a 
+ 00010189  0x00002bcc call  0x00002820 
+ 00010190  0x00002bcd call  0x000027ef 
+ 00010191  0x00002bce rtn  0x00000034 
+ 00010192  0x00002bcf jam  0x00000059 , 0x00000a04 
+ 00010193  0x00002bd0 fetch  0x00000001 , 0x000009fd 
+ 00010194  0x00002bd1 call  0x000027eb 
+ 00010195  0x00002bd2 fetch  0x00000008 , 0x000009fd 
+ 00010196  0x00002bd3 istore  0x00000008 , 0x00000005 
+ 00010197  0x00002bd4 branch  0x000027cb 
+ 00010198  0x00002bd8 call  0x000027e8 
+ 00010199  0x00002bd9 call  0x000027ef 
+ 00010200  0x00002bda rtn  0x00000034 
+ 00010201  0x00002bdb fetch  0x00000001 , 0x000009fd 
+ 00010202  0x00002bdc rtn  0x00000034 
+ 00010203  0x00002bdd call  0x000027eb 
+ 00010204  0x00002bde arg  0x00000000 , 0x00000002 
+ 00010205  0x00002bdf istoret  0x00000001 , 0x00000005 
+ 00010206  0x00002be0 fetch  0x00000001 , 0x000009f6 
+ 00010207  0x00002be1 sub  0x0000003f , 0x00000008 , 0x0000003e 
+ 00010208  0x00002be2 call  0x000027e2 , 0x00000005 
+ 00010209  0x00002be3 branch  0x000027cb 
+ 00010210  0x00002be6 call  0x000027ef 
+ 00010211  0x00002be7 fetch  0x00000001 , 0x000009fe 
+ 00010212  0x00002be8 call  0x000027eb 
+ 00010213  0x00002be9 arg  0x00000000 , 0x00000002 
+ 00010214  0x00002bea istoret  0x00000001 , 0x00000005 
+ 00010215  0x00002beb rtn 
+ 00010216  0x00002bef fetch  0x00000001 , 0x000009f6 
+ 00010217  0x00002bf0 beq  0x00000007 , 0x00002828 
+ 00010218  0x00002bf1 branch  0x00002826 
+ 00010219  0x00002bf4 pincrease  0xffffffff 
+ 00010220  0x00002bf5 lshift3  0x0000003f , 0x0000003f 
+ 00010221  0x00002bf6 iadd  0x00000005 , 0x00000005 
+ 00010222  0x00002bf7 rtn 
+ 00010223  0x00002bfb call  0x00002e14 
+ 00010224  0x00002bfc add  0x00000011 , 0x00000004 , 0x00000011 
+ 00010225  0x00002bfd fetch  0x00000001 , 0x00004a2d 
+ 00010226  0x00002bfe imul32  0x00000012 , 0x0000003f 
+ 00010227  0x00002bff iadd  0x00000011 , 0x00000011 
+ 00010228  0x00002c00 ifetch  0x00000002 , 0x00000011 
+ 00010229  0x00002c01 copy  0x0000003f , 0x00000005 
+ 00010230  0x00002c02 rtn 
+ 00010231  0x00002c08 setarg  0x000000d3 
+ 00010232  0x00002c09 store  0x00000001 , 0x00000a10 
+ 00010233  0x00002c0a setarg  0x000001a8 
+ 00010234  0x00002c0b istore  0x00000002 , 0x00000005 
+ 00010235  0x00002c0c fetch  0x00000001 , 0x000047a7 
+ 00010236  0x00002c0d istore  0x00000001 , 0x00000005 
+ 00010237  0x00002c0e istoret  0x00000002 , 0x00000005 
+ 00010238  0x00002c0f rtn 
+ 00010239  0x00002c14 arg  0x00000000 , 0x00000007 
+ 00010240  0x00002c15 arg  0x00000003 , 0x00000002 
+ 00010241  0x00002c16 arg  0x0000f009 , 0x00000011 
+ 00010242  0x00002c17 branch  0x00002830 
+ 00010243  0x00002c23 arg  0x00000100 , 0x00000011 
+ 00010244  0x00002c24 branch  0x00002830 
+ 00010245  0x00002c29 arg  0x00000000 , 0x00000007 
+ 00010246  0x00002c2e arg  0x0000f004 , 0x00000011 
+ 00010247  0x00002c2f branch  0x00002835 
+ 00010248  0x00002c33 arg  0x00000000 , 0x00000007 
+ 00010249  0x00002c3a arg  0x00000534 , 0x00000011 
+ 00010250  0x00002c3b branch  0x00002830 
+ 00010251  0x00002c3e arg  0x00000000 , 0x00000007 
+ 00010252  0x00002c45 arg  0x00000533 , 0x00000011 
+ 00010253  0x00002c46 branch  0x00002830 
+ 00010254  0x00002c49 arg  0x00000000 , 0x00000007 
+ 00010255  0x00002c4d call  0x00002ecb 
+ 00010256  0x00002c4e arg  0x00000121 , 0x00000011 
+ 00010257  0x00002c4f branch  0x00002835 
+ 00010258  0x00002c52 arg  0x00000000 , 0x00000007 
+ 00010259  0x00002c56 call  0x00002ed9 
+ 00010260  0x00002c57 arg  0x00000122 , 0x00000011 
+ 00010261  0x00002c58 branch  0x00002835 
+ 00010262  0x00002c5d lshift  0x00000002 , 0x00000002 
+ 00010263  0x00002c5e or  0x00000002 , 0x00000011 , 0x00000002 
+ 00010264  0x00002c5f arg  0x0000f009 , 0x00000011 
+ 00010265  0x00002c60 branch  0x00002835 
+ 00010266  0x00002c64 call  0x0000283c 
+ 00010267  0x00002c65 setarg  0x0000f009 
+ 00010268  0x00002c66 istore  0x00000002 , 0x00000005 
+ 00010269  0x00002c67 rtn 
+ 00010270  0x00002c6a arg  0x00000008 , 0x00000039 
+ 00010271  0x00002c6b branch  0x0000282a 
+ 00010272  0x00002c6e arg  0x00000008 , 0x00000039 
+ 00010273  0x00002c6f branch  0x0000282a 
+ 00010274  0x00002c72 arg  0x00000006 , 0x00000039 
+ 00010275  0x00002c73 branch  0x0000282a 
+ 00010276  0x00002c76 arg  0x00000004 , 0x00000039 
+ 00010277  0x00002c77 branch  0x0000282a 
+ 00010278  0x00002c7a arg  0x00000002 , 0x00000039 
+ 00010279  0x00002c7b branch  0x0000282a 
+ 00010280  0x00002c7e arg  0x00000001 , 0x00000039 
+ 00010281  0x00002c7f branch  0x0000282a 
+ 00010282  0x00002c83 add  0x00000039 , 0x00000006 , 0x0000003f 
+ 00010283  0x00002c84 store  0x00000001 , 0x00000a0f 
+ 00010284  0x00002c85 call  0x000027f7 
+ 00010285  0x00002c86 arg  0x000009fd , 0x00000006 
+ 00010286  0x00002c87 call  0x00007dd4 
+ 00010287  0x00002c88 branch  0x0000305d 
+ 00010288  0x00002c90 call  0x0000283c 
+ 00010289  0x00002c91 istorer  0x00000011 , 0x00000002 , 0x00000005 
+ 00010290  0x00002c92 istoret  0x00000001 , 0x00000005 
+ 00010291  0x00002c93 jam  0x00000007 , 0x00000a0f 
+ 00010292  0x00002c94 branch  0x0000283a 
+ 00010293  0x00002c9b call  0x0000283c 
+ 00010294  0x00002c9c istorer  0x00000011 , 0x00000002 , 0x00000005 
+ 00010295  0x00002c9d istoret  0x00000002 , 0x00000005 
+ 00010296  0x00002c9e jam  0x00000008 , 0x00000a0f 
+ 00010297  0x00002c9f branch  0x0000283a 
+ 00010298  0x00002ca4 call  0x00002f2f 
+ 00010299  0x00002ca5 branch  0x0000305d 
+ 00010300  0x00002ca9 fetch  0x00000001 , 0x00004935 
+ 00010301  0x00002caa store  0x00000001 , 0x00000c14 
+ 00010302  0x00002cab setarg  0x000000f0 
+ 00010303  0x00002cac store  0x00000002 , 0x00000c35 
+ 00010304  0x00002cad fetch  0x00000001 , 0x000047a8 
+ 00010305  0x00002cae pincrease  0x00000001 
+ 00010306  0x00002caf store  0x00000001 , 0x000047a8 
+ 00010307  0x00002cb0 beq  0x000000c0 , 0x0000284b 
+ 00010308  0x00002cb1 setarg  0x000000d4 
+ 00010309  0x00002cb2 store  0x00000001 , 0x00000a10 
+ 00010310  0x00002cb3 setarg  0x000001a8 
+ 00010311  0x00002cb4 istore  0x00000002 , 0x00000005 
+ 00010312  0x00002cb5 fetch  0x00000001 , 0x000047a8 
+ 00010313  0x00002cb6 istore  0x00000001 , 0x00000005 
+ 00010314  0x00002cb7 rtn 
+ 00010315  0x00002cba jam  0x00000080 , 0x000047a8 
+ 00010316  0x00002cbb rtn 
+ 00010317  0x00002cbe copy  0x00000022 , 0x00000002 
+ 00010318  0x00002cbf fetch  0x00000004 , 0x000047ad 
+ 00010319  0x00002cc0 isub  0x00000002 , 0x0000003e 
+ 00010320  0x00002cc1 call  0x0000285f , 0x00000002 
+ 00010321  0x00002cc2 call  0x00002866 
+ 00010322  0x00002cc3 isub  0x00000002 , 0x0000003e 
+ 00010323  0x00002cc4 rtn  0x00000002 
+ 00010324  0x00002cc5 call  0x0000285a 
+ 00010325  0x00002cc6 fetch  0x00000004 , 0x000047a9 
+ 00010326  0x00002cc7 pincrease  0x00000001 
+ 00010327  0x00002cc8 store  0x00000004 , 0x000047a9 
+ 00010328  0x00002cc9 branch  0x0000286a 
+ 00010329  0x00002ccd copy  0x00000022 , 0x0000003f 
+ 00010330  0x00002ccf store  0x00000004 , 0x000047ad 
+ 00010331  0x00002cd0 fetch  0x00000001 , 0x000047b0 
+ 00010332  0x00002cd1 and_into  0x0000000f , 0x0000003f 
+ 00010333  0x00002cd2 store  0x00000001 , 0x000047b0 
+ 00010334  0x00002cd3 rtn 
+ 00010335  0x00002cd6 rtn  0x00000005 
+ 00010336  0x00002cd7 copy  0x0000003f , 0x00000012 
+ 00010337  0x00002cd8 setarg  0x00100000 
+ 00010338  0x00002cd9 lshift8  0x0000003f , 0x0000003f 
+ 00010339  0x00002cda iadd  0x00000002 , 0x00000002 
+ 00010340  0x00002cdb copy  0x00000012 , 0x0000003f 
+ 00010341  0x00002cdc rtn 
+ 00010342  0x00002cdf arg  0x00000014 , 0x00000039 
+ 00010343  0x00002ce1 pincrease  0x000000a0 
+ 00010344  0x00002ce2 loop  0x00002867 
+ 00010345  0x00002ce3 rtn 
+ 00010346  0x00002ce6 call  0x00002e14 
+ 00010347  0x00002ce7 add  0x00000011 , 0x00000004 , 0x00000011 
+ 00010348  0x00002ce8 jam  0x00000000 , 0x00004a2d 
+ 00010349  0x00002ceb call  0x00002f25 
+ 00010350  0x00002cec ifetch  0x00000002 , 0x00000011 
+ 00010351  0x00002ced branch  0x00002872 , 0x00000034 
+ 00010352  0x00002cee copy  0x0000003f , 0x00000030 
+ 00010353  0x00002cef call  0x0000287c 
+ 00010354  0x00002cf1 call  0x00002f2a 
+ 00010355  0x00002cf2 fetch  0x00000001 , 0x00004a2d 
+ 00010356  0x00002cf3 pincrease  0x00000001 
+ 00010357  0x00002cf4 store  0x00000001 , 0x00004a2d 
+ 00010358  0x00002cf5 fetcht  0x00000001 , 0x00004a17 
+ 00010359  0x00002cf6 isub  0x00000002 , 0x0000003f 
+ 00010360  0x00002cf7 rtn  0x00000005 
+ 00010361  0x00002cf8 copy  0x00000012 , 0x0000003f 
+ 00010362  0x00002cf9 iadd  0x00000011 , 0x00000011 
+ 00010363  0x00002cfa branch  0x0000286d 
+ 00010364  0x00002cfd arg  0x00000028 , 0x00000039 
+ 00010365  0x00002d02 copy  0x00000039 , 0x0000003f 
+ 00010366  0x00002d03 store  0x00000001 , 0x00000c00 
+ 00010367  0x00002d04 ifetch  0x00000001 , 0x00000030 
+ 00010368  0x00002d05 ncall  0x00002886 , 0x00000034 
+ 00010369  0x00002d06 increase  0x00000008 , 0x00000030 
+ 00010370  0x00002d07 fetch  0x00000001 , 0x00000c00 
+ 00010371  0x00002d08 copy  0x0000003f , 0x00000039 
+ 00010372  0x00002d09 loop  0x0000287d 
+ 00010373  0x00002d0a rtn 
+ 00010374  0x00002d0d ifetcht  0x00000008 , 0x00000030 
+ 00010375  0x00002d0e storet  0x00000008 , 0x000009fd 
+ 00010376  0x00002d0f fetch  0x00000001 , 0x00000a04 
+ 00010377  0x00002d10 beq  0x00000059 , 0x000028a0 
+ 00010378  0x00002d11 fetcht  0x00000004 , 0x000047a9 
+ 00010379  0x00002d12 fetch  0x00000004 , 0x000009fe 
+ 00010380  0x00002d13 isub  0x00000002 , 0x0000003e 
+ 00010381  0x00002d14 fetch  0x00000001 , 0x00000a04 
+ 00010382  0x00002d15 branch  0x00002890 , 0x00000005 
+ 00010383  0x00002d16 rtn 
+ 00010384  0x00002d19 store  0x00000001 , 0x000009f9 
+ 00010385  0x00002d1b fetch  0x00000002 , 0x000049fb 
+ 00010386  0x00002d1c call  0x00007e7a 
+ 00010387  0x00002d1e copy  0x00000030 , 0x0000003f 
+ 00010388  0x00002d1f store  0x00000002 , 0x00000c08 
+ 00010389  0x00002d21 fetchr  0x00000007 , 0x00000001 , 0x00004a2d 
+ 00010390  0x00002d22 ifetcht  0x00000001 , 0x00000030 
+ 00010391  0x00002d23 call  0x00002816 
+ 00010392  0x00002d25 fetcht  0x00000001 , 0x000009f9 
+ 00010393  0x00002d26 fetchr  0x00000007 , 0x00000001 , 0x00004a2d 
+ 00010394  0x00002d27 call  0x00002803 
+ 00010395  0x00002d29 fetch  0x00000002 , 0x00000c08 
+ 00010396  0x00002d2a copy  0x0000003f , 0x00000030 
+ 00010397  0x00002d2b setarg  0x00000000 
+ 00010398  0x00002d2c istore  0x00000001 , 0x00000030 
+ 00010399  0x00002d2d branch  0x000027cb 
+ 00010400  0x00002d31 fetch  0x00000004 , 0x000047a9 
+ 00010401  0x00002d32 arg  0x0000003c , 0x00000002 
+ 00010402  0x00002d33 idiv  0x00000002 
+ 00010403  0x00002d34 call  0x00007e64 
+ 00010404  0x00002d35 remainder  0x0000003f 
+ 00010405  0x00002d36 nrtn  0x00000034 
+ 00010406  0x00002d38 fetch  0x00000004 , 0x000047a9 
+ 00010407  0x00002d39 arg  0x00054600 , 0x00000002 
+ 00010408  0x00002d3a isub  0x00000002 , 0x0000003f 
+ 00010409  0x00002d3c arg  0x00093a80 , 0x00000002 
+ 00010410  0x00002d3d idiv  0x00000002 
+ 00010411  0x00002d3e call  0x00007e64 
+ 00010412  0x00002d3f remainder  0x0000003f 
+ 00010413  0x00002d40 arg  0x00015180 , 0x00000002 
+ 00010414  0x00002d41 idiv  0x00000002 
+ 00010415  0x00002d42 call  0x00007e64 
+ 00010416  0x00002d43 remainder  0x00000011 
+ 00010417  0x00002d44 quotient  0x00000007 
+ 00010418  0x00002d46 setarg  0x00000000 
+ 00010419  0x00002d47 qset1  0x0000003f 
+ 00010420  0x00002d48 fetcht  0x00000001 , 0x00000a00 
+ 00010421  0x00002d49 iand  0x00000002 , 0x0000003f 
+ 00010422  0x00002d4a rtn  0x00000034 
+ 00010423  0x00002d4b deposit  0x00000011 
+ 00010424  0x00002d4c arg  0x0000003c , 0x00000002 
+ 00010425  0x00002d4d idiv  0x00000002 
+ 00010426  0x00002d4e call  0x00007e64 
+ 00010427  0x00002d4f quotient  0x00000002 
+ 00010428  0x00002d50 setarg  0x000001e0 
+ 00010429  0x00002d51 iadd  0x00000002 , 0x00000002 
+ 00010430  0x00002d52 fetch  0x00000002 , 0x000009fe 
+ 00010431  0x00002d53 isub  0x00000002 , 0x0000003e 
+ 00010432  0x00002d54 nrtn  0x00000005 
+ 00010433  0x00002d55 fetch  0x00000001 , 0x00000a03 
+ 00010434  0x00002d56 branch  0x00002890 
+ 00010435  0x00002d5c bpatchx  0x000000ee , 0x0000403d 
+ 00010436  0x00002d5d jam  0x00000014 , 0x00000a74 
+ 00010437  0x00002d5e fetch  0x00000001 , 0x0000498f 
+ 00010438  0x00002d5f store  0x00000001 , 0x00000a75 
+ 00010439  0x00002d61 fetch  0x00000001 , 0x00000bff 
+ 00010440  0x00002d62 pincrease  0x0000000b 
+ 00010441  0x00002d63 add  0x0000003f , 0xfffffffe , 0x00000039 
+ 00010442  0x00002d6c store  0x00000001 , 0x00000a76 
+ 00010443  0x00002d6d pincrease  0xffffffff 
+ 00010444  0x00002d70 istore  0x00000001 , 0x00000005 
+ 00010445  0x00002d71 setarg  0x0000002a 
+ 00010446  0x00002d72 istore  0x00000001 , 0x00000005 
+ 00010447  0x00002d73 arg  0x00004b58 , 0x00000006 
+ 00010448  0x00002d74 call  0x00007dc7 
+ 00010449  0x00002d75 fetch  0x00000002 , 0x0000478f 
+ 00010450  0x00002d76 isolate1  0x00000009 , 0x0000003f 
+ 00010451  0x00002d77 call  0x00003017 , 0x00000001 
+ 00010452  0x00002d78 fetchr  0x00000011 , 0x00000002 , 0x00000c02 
+ 00010453  0x00002d79 call  0x000028d7 
+ 00010454  0x00002d7a branch  0x000079aa 
+ 00010455  0x00002d7d add  0x00000011 , 0x00000002 , 0x00000006 
+ 00010456  0x00002d7e ifetch  0x00000002 , 0x00000006 
+ 00010457  0x00002d7f store  0x00000002 , 0x0000448c 
+ 00010458  0x00002d80 arg  0x00000a74 , 0x00000011 
+ 00010459  0x00002d81 rtn 
+ 00010460  0x00002d84 arg  0x000028de , 0x00000013 
+ 00010461  0x00002d85 branch  0x00002e1f 
+ 00010462  0x00002d88 add  0x00000011 , 0x00000016 , 0x00000006 
+ 00010463  0x00002d89 ifetch  0x00000001 , 0x00000006 
+ 00010464  0x00002d8a rtnne  0x00000001 
+ 00010465  0x00002d8b setarg  0x00000002 
+ 00010466  0x00002d8c add  0x00000011 , 0x00000016 , 0x00000005 
+ 00010467  0x00002d8d istore  0x00000001 , 0x00000005 
+ 00010468  0x00002d8e branch  0x00002a1a 
+ 00010469  0x00002d92 call  0x000028f3 
+ 00010470  0x00002d93 add  0x00000002 , 0x0000000d , 0x0000003f 
+ 00010471  0x00002d94 store  0x00000001 , 0x000047b1 
+ 00010472  0x00002d95 call  0x0000290a 
+ 00010473  0x00002d96 add  0x00000002 , 0x00000009 , 0x0000003f 
+ 00010474  0x00002d97 istore  0x00000001 , 0x00000005 
+ 00010475  0x00002d98 setarg  0x000000ff 
+ 00010476  0x00002d99 istore  0x00000001 , 0x00000005 
+ 00010477  0x00002d9a fetch  0x00000008 , 0x00000bec 
+ 00010478  0x00002d9b istore  0x00000008 , 0x00000005 
+ 00010479  0x00002d9c copy  0x00000011 , 0x00000006 
+ 00010480  0x00002d9d copy  0x00000002 , 0x00000039 
+ 00010481  0x00002d9e call  0x00007dd4 
+ 00010482  0x00002d9f branch  0x00002951 
+ 00010483  0x00002da2 setarg  0x000ea801 
+ 00010484  0x00002da3 store  0x00000003 , 0x00000bec 
+ 00010485  0x00002da4 setarg  0x00000007 
+ 00010486  0x00002da5 store  0x00000001 , 0x00000bef 
+ 00010487  0x00002da6 fetch  0x00000001 , 0x000048d4 
+ 00010488  0x00002da7 store  0x00000001 , 0x00000bf0 
+ 00010489  0x00002da8 fetch  0x00000001 , 0x00000a75 
+ 00010490  0x00002da9 store  0x00000001 , 0x00000bf1 
+ 00010491  0x00002dab fetch  0x00000001 , 0x00000a74 
+ 00010492  0x00002dac isolate1  0x00000007 , 0x0000003f 
+ 00010493  0x00002dad call  0x00002901 
+ 00010494  0x00002dae store  0x00000001 , 0x00000bf2 
+ 00010495  0x00002daf storet  0x00000001 , 0x00000bf3 
+ 00010496  0x00002db0 rtn 
+ 00010497  0x00002db4 arg  0x00000a79 , 0x00000011 
+ 00010498  0x00002db5 arg  0x00000012 , 0x00000002 
+ 00010499  0x00002db6 setarg  0x00000021 
+ 00010500  0x00002db7 nrtn  0x00000001 
+ 00010501  0x00002db8 arg  0x00000a8b , 0x00000011 
+ 00010502  0x00002db9 fetcht  0x00000001 , 0x00000a76 
+ 00010503  0x00002dba increase  0xffffffee , 0x00000002 
+ 00010504  0x00002dbb setarg  0x00000022 
+ 00010505  0x00002dbc rtn 
+ 00010506  0x00002dc5 arg  0x000047b2 , 0x00000005 
+ 00010507  0x00002dc6 setarg  0x00000002 
+ 00010508  0x00002dc7 istore  0x00000001 , 0x00000005 
+ 00010509  0x00002dc8 setarg  0x00000001 
+ 00010510  0x00002dc9 istore  0x00000001 , 0x00000005 
+ 00010511  0x00002dca setarg  0x00000002 
+ 00010512  0x00002dcb istore  0x00000001 , 0x00000005 
+ 00010513  0x00002dcc rtn 
+ 00010514  0x00002dd1 arg  0x00001827 , 0x00000002 
+ 00010515  0x00002dd2 setarg  0x00000003 
+ 00010516  0x00002dd3 istore  0x00000001 , 0x00000005 
+ 00010517  0x00002dd4 setarg  0x00000003 
+ 00010518  0x00002dd5 istore  0x00000001 , 0x00000005 
+ 00010519  0x00002dd6 istoret  0x00000002 , 0x00000005 
+ 00010520  0x00002dd7 rtn 
+ 00010521  0x00002dda branch  0x0000291a 
+ 00010522  0x00002ddd call  0x00001651 
+ 00010523  0x00002dde call  0x00001be4 
+ 00010524  0x00002ddf call  0x00002924 
+ 00010525  0x00002de0 nrtn  0x0000002d 
+ 00010526  0x00002de1 fetch  0x00000001 , 0x00000002 
+ 00010527  0x00002de2 pincrease  0x00000001 
+ 00010528  0x00002de3 store  0x00000001 , 0x00000002 
+ 00010529  0x00002de4 fetch  0x00000002 , 0x000049ed 
+ 00010530  0x00002de5 call  0x00007e7a 
+ 00010531  0x00002de6 branch  0x0000165e 
+ 00010532  0x00002de9 fetch  0x00000002 , 0x000049f7 
+ 00010533  0x00002dea branch  0x00007e7a 
+ 00010534  0x00002ded call  0x00002928 
+ 00010535  0x00002dee branch  0x000016f6 
+ 00010536  0x00002df1 fetch  0x00000001 , 0x000047d1 
+ 00010537  0x00002df2 pincrease  0x00000001 
+ 00010538  0x00002df3 store  0x00000001 , 0x000047d1 
+ 00010539  0x00002df4 store  0x00000001 , 0x00000016 
+ 00010540  0x00002df5 rtnne  0x00000028 
+ 00010541  0x00002df6 jam  0x00000025 , 0x000047d1 
+ 00010542  0x00002df7 jam  0x00000025 , 0x00000016 
+ 00010543  0x00002df8 rtn 
+ 00010544  0x00002dfc fetch  0x00000001 , 0x0000016b 
+ 00010545  0x00002dfd and  0x0000003f , 0x0000000f , 0x0000003f 
+ 00010546  0x00002dfe beq  0x00000000 , 0x00002935 
+ 00010547  0x00002dff beq  0x00000002 , 0x00002935 
+ 00010548  0x00002e00 rtn 
+ 00010549  0x00002e03 ifetcht  0x00000001 , 0x00000006 
+ 00010550  0x00002e04 sub  0x00000002 , 0x00000006 , 0x0000003e 
+ 00010551  0x00002e05 rtn  0x00000002 
+ 00010552  0x00002e06 sub  0x00000002 , 0x00000025 , 0x0000003e 
+ 00010553  0x00002e07 nrtn  0x00000002 
+ 00010554  0x00002e08 add  0x00000002 , 0xfffffffa , 0x00000011 
+ 00010555  0x00002e09 add  0x00000006 , 0x00000006 , 0x00000012 
+ 00010556  0x00002e0c ifetcht  0x00000001 , 0x00000012 
+ 00010557  0x00002e0d sub  0x00000002 , 0x00000001 , 0x0000003e 
+ 00010558  0x00002e0e rtn  0x00000002 
+ 00010559  0x00002e0f sub  0x00000002 , 0x0000001e , 0x0000003e 
+ 00010560  0x00002e10 nrtn  0x00000002 
+ 00010561  0x00002e11 copy  0x00000002 , 0x0000003f 
+ 00010562  0x00002e12 rtn  0x00000034 
+ 00010563  0x00002e13 bpatchx  0x000000ef , 0x0000403d 
+ 00010564  0x00002e14 ifetch  0x00000001 , 0x00000006 
+ 00010565  0x00002e15 beq  0x000000ff , 0x00002c6a 
+ 00010566  0x00002e16 beq  0x0000002a , 0x00002f3d 
+ 00010567  0x00002e17 beq  0x00000007 , 0x00002ce2 
+ 00010568  0x00002e19 add  0x00000002 , 0x00000001 , 0x0000003f 
+ 00010569  0x00002e1a isub  0x00000011 , 0x0000003e 
+ 00010570  0x00002e1b rtn  0x00000002 
+ 00010571  0x00002e1c iadd  0x00000012 , 0x00000012 
+ 00010572  0x00002e1d sub  0x00000002 , 0xffffffff , 0x0000003f 
+ 00010573  0x00002e1e iadd  0x00000011 , 0x00000011 
+ 00010574  0x00002e1f copy  0x00000011 , 0x0000003f 
+ 00010575  0x00002e20 rtn  0x00000034 
+ 00010576  0x00002e21 branch  0x0000293c 
+ 00010577  0x00002e25 fetch  0x00000001 , 0x00000000 
+ 00010578  0x00002e26 pincrease  0x00000001 
+ 00010579  0x00002e27 store  0x00000001 , 0x00000000 
+ 00010580  0x00002e28 bpatchx  0x000000f0 , 0x0000403e 
+ 00010581  0x00002e29 call  0x00001651 
+ 00010582  0x00002e2a arg  0x00000027 , 0x00000039 
+ 00010583  0x00002e2b arg  0x000041f5 , 0x00000006 
+ 00010584  0x00002e2c arg  0x00000a97 , 0x00000005 
+ 00010585  0x00002e2d call  0x00007dc7 
+ 00010586  0x00002e2e jam  0x00000025 , 0x00000016 
+ 00010587  0x00002e2f arg  0x00000708 , 0x0000001b 
+ 00010588  0x00002e30 disable  0x0000002d 
+ 00010589  0x00002e33 call  0x00001be4 
+ 00010590  0x00002e34 call  0x0000296d 
+ 00010591  0x00002e35 random  0x0000003f 
+ 00010592  0x00002e36 arg  0x000001ff , 0x00000002 
+ 00010593  0x00002e37 iand  0x00000002 , 0x0000003f 
+ 00010594  0x00002e38 add  0x0000003f , 0x00000064 , 0x0000003f 
+ 00010595  0x00002e39 call  0x00007d81 
+ 00010596  0x00002e3a fetch  0x00000001 , 0x00000016 
+ 00010597  0x00002e3b pincrease  0x00000001 
+ 00010598  0x00002e3c store  0x00000001 , 0x00000016 
+ 00010599  0x00002e3d bne  0x00000028 , 0x0000295d 
+ 00010600  0x00002e3f arg  0x00000027 , 0x00000039 
+ 00010601  0x00002e40 arg  0x000041f5 , 0x00000005 
+ 00010602  0x00002e41 arg  0x00000a97 , 0x00000006 
+ 00010603  0x00002e42 call  0x00007dc7 
+ 00010604  0x00002e43 branch  0x0000165e 
+ 00010605  0x00002e46 arg  0x00000002 , 0x00000002 
+ 00010606  0x00002e47 storet  0x00000001 , 0x000041f5 
+ 00010607  0x00002e48 fetcht  0x00000001 , 0x000047b1 
+ 00010608  0x00002e49 add  0x00000002 , 0x00000006 , 0x0000003f 
+ 00010609  0x00002e4a store  0x00000001 , 0x000041f6 
+ 00010610  0x00002e4b fetch  0x00000006 , 0x0000437a 
+ 00010611  0x00002e4c store  0x00000006 , 0x000041f7 
+ 00010612  0x00002e4d copy  0x00000002 , 0x00000039 
+ 00010613  0x00002e4e arg  0x000047b2 , 0x00000006 
+ 00010614  0x00002e4f call  0x00007dc7 
+ 00010615  0x00002e50 branch  0x000017e2 
+ 00010616  0x00002e5b bpatchx  0x000000f1 , 0x0000403e 
+ 00010617  0x00002e5c fetcht  0x00000002 , 0x00000be1 
+ 00010618  0x00002e5d fetch  0x00000001 , 0x00000be0 
+ 00010619  0x00002e5e copy  0x00000002 , 0x00000006 
+ 00010620  0x00002e5f arg  0x000048f5 , 0x00000011 
+ 00010621  0x00002e60 arg  0x00004905 , 0x00000030 
+ 00010622  0x00002e61 call  0x00002bb1 
+ 00010623  0x00002e62 call  0x00007ec7 
+ 00010624  0x00002e63 copy  0x00000013 , 0x0000003f 
+ 00010625  0x00002e64 iadd  0x00000030 , 0x00000006 
+ 00010626  0x00002e65 fetcht  0x00000004 , 0x00004905 
+ 00010627  0x00002e66 fetch  0x00000002 , 0x00000bfd 
+ 00010628  0x00002e67 copy  0x0000003f , 0x00000011 
+ 00010629  0x00002e69 arg  0x0000000a , 0x00000039 
+ 00010630  0x00002e6b ifetch  0x00000004 , 0x00000011 
+ 00010631  0x00002e6c branch  0x00002993 , 0x00000034 
+ 00010632  0x00002e6d isub  0x00000002 , 0x0000003e 
+ 00010633  0x00002e6e rtn  0x00000005 
+ 00010634  0x00002e6f increase  0x00000004 , 0x00000011 
+ 00010635  0x00002e70 loop  0x00002986 
+ 00010636  0x00002e71 fetch  0x00000002 , 0x00000bfd 
+ 00010637  0x00002e72 copy  0x0000003f , 0x00000005 
+ 00010638  0x00002e73 add  0x0000003f , 0x00000004 , 0x00000006 
+ 00010639  0x00002e76 arg  0x00000024 , 0x00000039 
+ 00010640  0x00002e77 call  0x00007dc7 
+ 00010641  0x00002e78 istoret  0x00000004 , 0x00000005 
+ 00010642  0x00002e79 branch  0x00007ec5 
+ 00010643  0x00002e7b istoret  0x00000004 , 0x00000011 
+ 00010644  0x00002e7c branch  0x00007ec5 
+ 00010645  0x00002e7f call  0x0000299c 
+ 00010646  0x00002e80 call  0x000029a0 
+ 00010647  0x00002e81 call  0x000029a7 
+ 00010648  0x00002e82 call  0x000029ab 
+ 00010649  0x00002e83 call  0x000029af 
+ 00010650  0x00002e84 call  0x000029b0 
+ 00010651  0x00002e85 branch  0x000029b4 
+ 00010652  0x00002e88 arg  0x0000001a , 0x00000002 
+ 00010653  0x00002e89 arg  0x000049d3 , 0x00000011 
+ 00010654  0x00002e8a arg  0x00000000 , 0x00000012 
+ 00010655  0x00002e8b branch  0x00005e79 
+ 00010656  0x00002e8e arg  0x00000013 , 0x00000002 
+ 00010657  0x00002e8f arg  0x00004976 , 0x00000011 
+ 00010658  0x00002e90 arg  0x0000001a , 0x00000012 
+ 00010659  0x00002e91 call  0x00005e79 
+ 00010660  0x00002e92 fetch  0x00000001 , 0x00004986 
+ 00010661  0x00002e93 store  0x00000001 , 0x00004a31 
+ 00010662  0x00002e94 rtn 
+ 00010663  0x00002e97 arg  0x00000010 , 0x00000002 
+ 00010664  0x00002e98 arg  0x00004b19 , 0x00000011 
+ 00010665  0x00002e99 arg  0x0000002d , 0x00000012 
+ 00010666  0x00002e9a branch  0x00005e79 
+ 00010667  0x00002e9d arg  0x00000010 , 0x00000002 
+ 00010668  0x00002e9e arg  0x00004827 , 0x00000011 
+ 00010669  0x00002e9f arg  0x0000003d , 0x00000012 
+ 00010670  0x00002ea0 branch  0x00005e79 
+ 00010671  0x00002ea3 rtn 
+ 00010672  0x00002ea6 arg  0x00000003 , 0x00000002 
+ 00010673  0x00002ea7 arg  0x00004b52 , 0x00000011 
+ 00010674  0x00002ea8 arg  0x0000004e , 0x00000012 
+ 00010675  0x00002ea9 branch  0x00005e79 
+ 00010676  0x00002eac fetch  0x00000002 , 0x00004a15 
+ 00010677  0x00002ead rtnbit1  0x00000002 
+ 00010678  0x00002eae arg  0x00000040 , 0x00000002 
+ 00010679  0x00002eaf arg  0x0000098e , 0x00000011 
+ 00010680  0x00002eb0 arg  0x00000051 , 0x00000012 
+ 00010681  0x00002eb1 call  0x00005e79 
+ 00010682  0x00002eb2 call  0x00002e14 
+ 00010683  0x00002eb3 arg  0x0000098e , 0x00000006 
+ 00010684  0x00002eb4 add  0x00000011 , 0x00000006 , 0x00000011 
+ 00010685  0x00002eb6 copy  0x00000011 , 0x00000005 
+ 00010686  0x00002eb7 call  0x00007d7f 
+ 00010687  0x00002eb8 copy  0x00000012 , 0x0000003f 
+ 00010688  0x00002eb9 iadd  0x00000011 , 0x00000011 
+ 00010689  0x00002eba loop  0x000029bd 
+ 00010690  0x00002ebb rtn 
+ 00010691  0x00002ebe call  0x000029c6 
+ 00010692  0x00002ebf call  0x000029ca 
+ 00010693  0x00002ec0 branch  0x000029ce 
+ 00010694  0x00002ec3 arg  0x00000013 , 0x00000002 
+ 00010695  0x00002ec4 arg  0x00004976 , 0x00000011 
+ 00010696  0x00002ec5 arg  0x0000001a , 0x00000012 
+ 00010697  0x00002ec6 branch  0x00005e6b 
+ 00010698  0x00002ec9 arg  0x00000010 , 0x00000002 
+ 00010699  0x00002eca arg  0x00004b19 , 0x00000011 
+ 00010700  0x00002ecb arg  0x0000002d , 0x00000012 
+ 00010701  0x00002ecc branch  0x00005e6b 
+ 00010702  0x00002ecf arg  0x00000010 , 0x00000002 
+ 00010703  0x00002ed0 arg  0x00004827 , 0x00000011 
+ 00010704  0x00002ed1 arg  0x0000003d , 0x00000012 
+ 00010705  0x00002ed2 branch  0x00005e6b 
+ 00010706  0x00002ed6 arg  0x00000003 , 0x00000002 
+ 00010707  0x00002ed7 arg  0x00004b52 , 0x00000011 
+ 00010708  0x00002ed8 arg  0x0000004e , 0x00000012 
+ 00010709  0x00002ed9 branch  0x00005e6b 
+ 00010710  0x00002edc call  0x000029db 
+ 00010711  0x00002edd arg  0x00000040 , 0x00000002 
+ 00010712  0x00002ede arg  0x0000098e , 0x00000011 
+ 00010713  0x00002edf arg  0x00000051 , 0x00000012 
+ 00010714  0x00002ee0 branch  0x00005e6b 
+ 00010715  0x00002ee3 call  0x00002e14 
+ 00010716  0x00002ee4 arg  0x0000098e , 0x00000005 
+ 00010717  0x00002ee5 add  0x00000011 , 0x00000006 , 0x00000011 
+ 00010718  0x00002ee7 copy  0x00000011 , 0x00000006 
+ 00010719  0x00002ee8 call  0x00007d7f 
+ 00010720  0x00002ee9 copy  0x00000012 , 0x0000003f 
+ 00010721  0x00002eea iadd  0x00000011 , 0x00000011 
+ 00010722  0x00002eeb loop  0x000029de 
+ 00010723  0x00002eec rtn 
+ 00010724  0x00002ef2 arg  0x00000000 , 0x00000002 
+ 00010725  0x00002ef3 branch  0x000029ee 
+ 00010726  0x00002efa arg  0x00000001 , 0x00000002 
+ 00010727  0x00002efb branch  0x000029ee 
+ 00010728  0x00002f02 arg  0x00000002 , 0x00000002 
+ 00010729  0x00002f03 branch  0x000029ee 
+ 00010730  0x00002f0a arg  0x00000003 , 0x00000002 
+ 00010731  0x00002f0b branch  0x000029ee 
+ 00010732  0x00002f12 arg  0x00000004 , 0x00000002 
+ 00010733  0x00002f13 branch  0x000029ee 
+ 00010734  0x00002f1b bpatchx  0x000000f2 , 0x0000403e 
+ 00010735  0x00002f1c call  0x00007d3b 
+ 00010736  0x00002f1d fetch  0x00000001 , 0x00004a15 
+ 00010737  0x00002f1e bbit1  0x00000000 , 0x00007d47 
+ 00010738  0x00002f1f call  0x00005fb7 
+ 00010739  0x00002f20 setarg  0x000000aa 
+ 00010740  0x00002f21 istore  0x00000001 , 0x00000003 
+ 00010741  0x00002f22 setarg  0x00000003 
+ 00010742  0x00002f23 istore  0x00000001 , 0x00000003 
+ 00010743  0x00002f24 add  0x00000039 , 0x00000004 , 0x0000003f 
+ 00010744  0x00002f25 istore  0x00000001 , 0x00000003 
+ 00010745  0x00002f26 istorer  0x00000002 , 0x00000002 , 0x00000003 
+ 00010746  0x00002f27 istorer  0x00000012 , 0x00000002 , 0x00000003 
+ 00010747  0x00002f28 copy  0x00000011 , 0x00000006 
+ 00010748  0x00002f29 call  0x00005fc5 
+ 00010749  0x00002f2a setarg  0x000000bb 
+ 00010750  0x00002f2b istore  0x00000001 , 0x00000003 
+ 00010751  0x00002f2c call  0x00005fbb 
+ 00010752  0x00002f2d branch  0x00007d47 
+ 00010753  0x00002f30 fetch  0x00000001 , 0x00004a15 
+ 00010754  0x00002f31 rtnbit1  0x00000000 
+ 00010755  0x00002f32 jam  0x0000000c , 0x0000807b 
+ 00010756  0x00002f33 jam  0x0000004d , 0x0000807c 
+ 00010757  0x00002f34 call  0x00002a0c 
+ 00010758  0x00002f35 arg  0x000e1000 , 0x00000002 
+ 00010759  0x00002f36 call  0x00005f70 
+ 00010760  0x00002f37 call  0x00005f7d 
+ 00010761  0x00002f38 arg  0x00000081 , 0x00000002 
+ 00010762  0x00002f39 storet  0x00000001 , 0x00008061 
+ 00010763  0x00002f3a rtn 
+ 00010764  0x00002f3d setarg  0x00001c00 
+ 00010765  0x00002f3e store  0x00000002 , 0x0000095c 
+ 00010766  0x00002f3f setarg  0x00001c01 
+ 00010767  0x00002f40 istore  0x00000002 , 0x00000005 
+ 00010768  0x00002f41 setarg  0x00001c02 
+ 00010769  0x00002f42 istore  0x00000002 , 0x00000005 
+ 00010770  0x00002f43 setarg  0x00001fff 
+ 00010771  0x00002f44 istore  0x00000002 , 0x00000005 
+ 00010772  0x00002f45 fetch  0x00000008 , 0x0000095c 
+ 00010773  0x00002f46 branch  0x00005f58 
+ 00010774  0x00002f4e call  0x00002a26 
+ 00010775  0x00002f4f branch  0x00002a1e 
+ 00010776  0x00002f53 call  0x00002a8d 
+ 00010777  0x00002f54 branch  0x00002a83 
+ 00010778  0x00002f58 jam  0x00000001 , 0x000047d2 
+ 00010779  0x00002f59 rtn 
+ 00010780  0x00002f5d jam  0x00000000 , 0x000047d2 
+ 00010781  0x00002f5e rtn 
+ 00010782  0x00002f64 arg  0x00002a22 , 0x00000012 
+ 00010783  0x00002f65 arg  0x00000015 , 0x00000011 
+ 00010784  0x00002f66 arg  0x0000000d , 0x00000007 
+ 00010785  0x00002f67 branch  0x00002a78 
+ 00010786  0x00002f6a fetch  0x00000001 , 0x0000496b 
+ 00010787  0x00002f6b rtnne  0x00000000 
+ 00010788  0x00002f6c arg  0x00002a2a , 0x00000013 
+ 00010789  0x00002f6d branch  0x00002e1f 
+ 00010790  0x00002f71 arg  0x00002a37 , 0x00000012 
+ 00010791  0x00002f72 arg  0x0000001d , 0x00000011 
+ 00010792  0x00002f73 arg  0x0000000e , 0x00000007 
+ 00010793  0x00002f74 branch  0x00002a78 
+ 00010794  0x00002f78 add  0x00000011 , 0x0000001a , 0x00000006 
+ 00010795  0x00002f79 ifetch  0x00000001 , 0x00000006 
+ 00010796  0x00002f7a rtnbit0  0x00000001 
+ 00010797  0x00002f7b call  0x000028d7 
+ 00010798  0x00002f7c call  0x000079d2 
+ 00010799  0x00002f7d nrtn  0x00000028 
+ 00010800  0x00002f7e fetch  0x00000001 , 0x00000a76 
+ 00010801  0x00002f7f pincrease  0xfffffffe 
+ 00010802  0x00002f80 store  0x00000001 , 0x00000a76 
+ 00010803  0x00002f82 fetch  0x00000001 , 0x00000a74 
+ 00010804  0x00002f84 setflip  0x00000007 , 0x0000003f 
+ 00010805  0x00002f85 istore  0x00000001 , 0x00000012 
+ 00010806  0x00002f86 branch  0x000028e5 
+ 00010807  0x00002f8b fetch  0x00000001 , 0x0000496b 
+ 00010808  0x00002f8c beq  0x00000000 , 0x00002a3b 
+ 00010809  0x00002f8d beq  0x00000002 , 0x00002a76 
+ 00010810  0x00002f8e branch  0x00002a65 
+ 00010811  0x00002f92 arg  0x00002a3d , 0x00000013 
+ 00010812  0x00002f93 branch  0x00002e1f 
+ 00010813  0x00002f96 call  0x000028d7 
+ 00010814  0x00002f97 call  0x000079d2 
+ 00010815  0x00002f98 nrtn  0x00000028 
+ 00010816  0x00002f99 fetch  0x00000001 , 0x00000a74 
+ 00010817  0x00002f9a pincrease  0xffffffff 
+ 00010818  0x00002f9b istore  0x00000001 , 0x00000012 
+ 00010819  0x00002f9c bbit1  0x00000006 , 0x00002a58 
+ 00010820  0x00002f9d and  0x0000003f , 0x0000003f , 0x0000003f 
+ 00010821  0x00002f9e call  0x00002a5f , 0x00000034 
+ 00010822  0x00002f9f fetchr  0x00000011 , 0x00000002 , 0x00000c02 
+ 00010823  0x00002fa0 add  0x00000011 , 0x0000001a , 0x00000006 
+ 00010824  0x00002fa1 ifetch  0x00000001 , 0x00000006 
+ 00010825  0x00002fa2 bbit1  0x00000002 , 0x00002a4f 
+ 00010826  0x00002fa3 rtnbit0  0x00000000 
+ 00010827  0x00002fa4 arg  0x000047b1 , 0x00000005 
+ 00010828  0x00002fa5 arg  0x00000a76 , 0x00000006 
+ 00010829  0x00002fa6 call  0x00007d7d 
+ 00010830  0x00002fa7 branch  0x00002951 
+ 00010831  0x00002faa arg  0x00000a74 , 0x00000011 
+ 00010832  0x00002fab call  0x000079c1 
+ 00010833  0x00002fac call  0x000079f0 
+ 00010834  0x00002fad nrtn  0x00000034 
+ 00010835  0x00002fae fetchr  0x00000011 , 0x00000002 , 0x00000c02 
+ 00010836  0x00002faf add  0x00000011 , 0x00000016 , 0x00000005 
+ 00010837  0x00002fb0 setarg  0x00000000 
+ 00010838  0x00002fb1 istore  0x00000001 , 0x00000005 
+ 00010839  0x00002fb2 branch  0x00002a1c 
+ 00010840  0x00002fb6 and  0x0000003f , 0x0000003f , 0x0000003f 
+ 00010841  0x00002fb7 nrtn  0x00000034 
+ 00010842  0x00002fb8 fetchr  0x00000011 , 0x00000002 , 0x00000c02 
+ 00010843  0x00002fb9 add  0x00000011 , 0x00000016 , 0x00000005 
+ 00010844  0x00002fba setarg  0x00000000 
+ 00010845  0x00002fbb istore  0x00000001 , 0x00000005 
+ 00010846  0x00002fbc branch  0x000079a5 
+ 00010847  0x00002fc0 arg  0x00000a74 , 0x00000011 
+ 00010848  0x00002fc1 call  0x000079c1 
+ 00010849  0x00002fc2 call  0x000079f0 
+ 00010850  0x00002fc3 nrtn  0x00000034 
+ 00010851  0x00002fc5 jam  0x00000054 , 0x00000a74 
+ 00010852  0x00002fc6 branch  0x000079aa 
+ 00010853  0x00002fca call  0x00002c41 
+ 00010854  0x00002fcb call  0x00002c4d 
+ 00010855  0x00002fcc call  0x00002c5b 
+ 00010856  0x00002fcd call  0x00002a6e 
+ 00010857  0x00002fce nrtn  0x00000005 
+ 00010858  0x00002fcf fetch  0x00000001 , 0x0000496b 
+ 00010859  0x00002fd0 beq  0x00000003 , 0x00002a72 
+ 00010860  0x00002fd1 beq  0x00000001 , 0x00002a74 
+ 00010861  0x00002fd2 rtn 
+ 00010862  0x00002fd7 fetch  0x00000001 , 0x000047d5 
+ 00010863  0x00002fd8 add  0x0000003f , 0xffffffff , 0x0000003f 
+ 00010864  0x00002fd9 store  0x00000001 , 0x000047d5 
+ 00010865  0x00002fda rtn 
+ 00010866  0x00002fde jam  0x00000258 , 0x000047d6 
+ 00010867  0x00002fdf branch  0x00002a1c 
+ 00010868  0x00002fe3 jam  0x00000006 , 0x000047d6 
+ 00010869  0x00002fe4 branch  0x00002a1c 
+ 00010870  0x00002fe8 call  0x00002cc0 
+ 00010871  0x00002fe9 branch  0x00002951 
+ 00010872  0x00002fed random  0x0000003f 
+ 00010873  0x00002fee and  0x0000003f , 0x00000007 , 0x0000003f 
+ 00010874  0x00002fef iadd  0x00000011 , 0x00000011 
+ 00010875  0x00002ff4 fetch  0x00000001 , 0x000047d2 
+ 00010876  0x00002ff5 rtnne  0x00000001 
+ 00010877  0x00002ff6 call  0x00007de9 
+ 00010878  0x00002ff7 nrtn  0x00000034 
+ 00010879  0x00002ff8 copy  0x00000011 , 0x0000003f 
+ 00010880  0x00002ff9 call  0x00007ddb 
+ 00010881  0x00002ffa copy  0x00000012 , 0x0000003f 
+ 00010882  0x00002ffb branch  0x00007e7a 
+ 00010883  0x00003000 arg  0x000047d3 , 0x00000013 
+ 00010884  0x00003001 arg  0x00002a86 , 0x00000012 
+ 00010885  0x00003002 branch  0x00003203 
+ 00010886  0x00003006 fetch  0x00000001 , 0x0000496b 
+ 00010887  0x00003007 rtnne  0x00000001 
+ 00010888  0x00003008 fetch  0x00000001 , 0x0000496e 
+ 00010889  0x00003009 set1  0x00000000 , 0x0000003f 
+ 00010890  0x0000300a store  0x00000001 , 0x0000496e 
+ 00010891  0x0000300b jam  0x00000003 , 0x0000496b 
+ 00010892  0x0000300c branch  0x00002a96 
+ 00010893  0x00003012 arg  0x000047d6 , 0x00000013 
+ 00010894  0x00003013 arg  0x00002a90 , 0x00000012 
+ 00010895  0x00003014 branch  0x000031fc 
+ 00010896  0x0000301a fetch  0x00000001 , 0x0000496b 
+ 00010897  0x0000301b beq  0x00000003 , 0x00002a96 
+ 00010898  0x0000301c beq  0x00000001 , 0x00002a94 
+ 00010899  0x0000301e rtn 
+ 00010900  0x00003026 jam  0x00000006 , 0x000047d5 
+ 00010901  0x00003027 branch  0x00002a1a 
+ 00010902  0x0000302b jam  0x00000006 , 0x000047d5 
+ 00010903  0x0000302c branch  0x00002a1a 
+ 00010904  0x00003034 call  0x00002a9e 
+ 00010905  0x00003035 call  0x00002aa6 
+ 00010906  0x00003036 call  0x00002aab 
+ 00010907  0x00003037 call  0x00002ab0 
+ 00010908  0x00003038 call  0x00002ab8 
+ 00010909  0x00003039 branch  0x00002abc 
+ 00010910  0x0000303e call  0x00002ac9 
+ 00010911  0x0000303f arg  0x00004847 , 0x00000006 
+ 00010912  0x00003040 arg  0x0000000f , 0x00000039 
+ 00010913  0x00003041 call  0x00002b37 
+ 00010914  0x00003042 call  0x00002b51 
+ 00010915  0x00003043 arg  0x00000900 , 0x00000006 
+ 00010916  0x00003044 arg  0x00004837 , 0x00000005 
+ 00010917  0x00003045 branch  0x00007d7f 
+ 00010918  0x0000304b call  0x00002acc 
+ 00010919  0x0000304c call  0x00002b51 
+ 00010920  0x0000304d arg  0x00000900 , 0x00000006 
+ 00010921  0x0000304e arg  0x000047e7 , 0x00000005 
+ 00010922  0x0000304f branch  0x00007d7f 
+ 00010923  0x00003054 call  0x00002acc 
+ 00010924  0x00003055 call  0x00002b51 
+ 00010925  0x00003056 arg  0x00000900 , 0x00000006 
+ 00010926  0x00003057 arg  0x00004817 , 0x00000005 
+ 00010927  0x00003058 branch  0x00007d7f 
+ 00010928  0x0000305e fetch  0x00000008 , 0x00004807 
+ 00010929  0x0000305f store  0x00000008 , 0x000047df 
+ 00010930  0x00003060 fetch  0x00000008 , 0x0000480f 
+ 00010931  0x00003061 store  0x00000008 , 0x000047d7 
+ 00010932  0x00003063 arg  0x000047d7 , 0x00000006 
+ 00010933  0x00003064 arg  0x00004837 , 0x00000011 
+ 00010934  0x00003065 arg  0x000047f7 , 0x00000030 
+ 00010935  0x00003066 branch  0x00002b9f 
+ 00010936  0x0000306d arg  0x00004807 , 0x00000006 
+ 00010937  0x0000306e arg  0x00004837 , 0x00000011 
+ 00010938  0x0000306f arg  0x00004807 , 0x00000030 
+ 00010939  0x00003070 branch  0x00002b9f 
+ 00010940  0x00003076 arg  0x000047f7 , 0x00000006 
+ 00010941  0x00003077 arg  0x00000010 , 0x00000039 
+ 00010942  0x00003078 call  0x00002b34 
+ 00010943  0x00003079 arg  0x00004860 , 0x00000006 
+ 00010944  0x0000307a arg  0x00000009 , 0x00000039 
+ 00010945  0x0000307b call  0x00002b37 
+ 00010946  0x0000307c call  0x00002b51 
+ 00010947  0x0000307d arg  0x00000900 , 0x00000006 
+ 00010948  0x0000307e arg  0x00004827 , 0x00000005 
+ 00010949  0x0000307f branch  0x00007d7f 
+ 00010950  0x00003083 call  0x00002aca 
+ 00010951  0x00003085 arg  0x00004807 , 0x00000006 
+ 00010952  0x00003086 branch  0x00002b33 
+ 00010953  0x00003089 call  0x00002ac7 
+ 00010954  0x0000308b arg  0x0000480f , 0x00000006 
+ 00010955  0x0000308c branch  0x00002b33 
+ 00010956  0x00003090 arg  0x000049d3 , 0x00000006 
+ 00010957  0x00003091 arg  0x00000004 , 0x00000039 
+ 00010958  0x00003092 call  0x00002b3a 
+ 00010959  0x00003093 arg  0x000049d7 , 0x00000006 
+ 00010960  0x00003094 arg  0x00000006 , 0x00000039 
+ 00010961  0x00003095 call  0x00002b3a 
+ 00010962  0x00003096 arg  0x000049dd , 0x00000006 
+ 00010963  0x00003097 arg  0x00000010 , 0x00000039 
+ 00010964  0x00003098 branch  0x00002b34 
+ 00010965  0x0000309e call  0x00002ae1 
+ 00010966  0x000030a1 arg  0x00004973 , 0x00000011 
+ 00010967  0x000030a2 arg  0x00000900 , 0x00000012 
+ 00010968  0x000030a3 arg  0x0000000b , 0x00000039 
+ 00010969  0x000030a5 ifetch  0x00000002 , 0x00000011 
+ 00010970  0x000030a6 ifetcht  0x00000002 , 0x00000012 
+ 00010971  0x000030a7 ixor  0x00000002 , 0x0000003f 
+ 00010972  0x000030a8 istore  0x00000002 , 0x00000011 
+ 00010973  0x000030a9 increase  0x00000002 , 0x00000011 
+ 00010974  0x000030aa increase  0x00000002 , 0x00000012 
+ 00010975  0x000030ab loop  0x00002ad9 
+ 00010976  0x000030ac rtn 
+ 00010977  0x000030b3 arg  0x000047f7 , 0x00000006 
+ 00010978  0x000030b4 arg  0x00000010 , 0x00000039 
+ 00010979  0x000030b5 call  0x00002b34 
+ 00010980  0x000030b6 arg  0x00004856 , 0x00000006 
+ 00010981  0x000030b7 arg  0x0000000a , 0x00000039 
+ 00010982  0x000030b8 call  0x00002b37 
+ 00010983  0x000030b9 branch  0x00002b51 
+ 00010984  0x000030be arg  0x00004976 , 0x00000006 
+ 00010985  0x000030bf arg  0x00004894 , 0x00000005 
+ 00010986  0x000030c0 call  0x00007d7f 
+ 00010987  0x000030c6 arg  0x00004894 , 0x00000006 
+ 00010988  0x000030c7 arg  0x000048a4 , 0x00000011 
+ 00010989  0x000030c8 arg  0x000048b4 , 0x00000030 
+ 00010990  0x000030c9 call  0x00002ba1 
+ 00010991  0x000030cb arg  0x000048c4 , 0x00000030 
+ 00010992  0x000030cc arg  0x00000001 , 0x00000012 
+ 00010993  0x000030cd setarg  0x00000000 
+ 00010994  0x000030ce call  0x00002ba3 
+ 00010995  0x000030cf fetch  0x00000001 , 0x000048d3 
+ 00010996  0x000030d0 and  0x0000003f , 0x0000007f , 0x0000003f 
+ 00010997  0x000030d1 store  0x00000001 , 0x000048d4 
+ 00010998  0x000030d3 arg  0x000048e5 , 0x00000030 
+ 00010999  0x000030d4 arg  0x00000002 , 0x00000012 
+ 00011000  0x000030d5 setarg  0x00000010 
+ 00011001  0x000030d6 arg  0x000048c4 , 0x00000011 
+ 00011002  0x000030d7 call  0x00002ba3 
+ 00011003  0x000030d9 arg  0x000048d5 , 0x00000030 
+ 00011004  0x000030da arg  0x00000003 , 0x00000012 
+ 00011005  0x000030db setarg  0x00000010 
+ 00011006  0x000030dc arg  0x000048e5 , 0x00000011 
+ 00011007  0x000030dd branch  0x00002ba3 
+ 00011008  0x000030e1 arg  0x00004b19 , 0x00000006 
+ 00011009  0x000030e2 arg  0x000048f5 , 0x00000011 
+ 00011010  0x000030e3 arg  0x00004905 , 0x00000030 
+ 00011011  0x000030e4 call  0x00002ba1 
+ 00011012  0x000030e5 arg  0x00004915 , 0x00000006 
+ 00011013  0x000030e6 arg  0x00004905 , 0x00000011 
+ 00011014  0x000030e7 arg  0x00004925 , 0x00000030 
+ 00011015  0x000030e8 setarg  0x00000004 
+ 00011016  0x000030e9 call  0x00002bb1 
+ 00011017  0x000030ea fetch  0x00000001 , 0x00004934 
+ 00011018  0x000030eb and  0x0000003f , 0x0000003f , 0x0000003f 
+ 00011019  0x000030ec set1  0x00000006 , 0x0000003f 
+ 00011020  0x000030ed store  0x00000001 , 0x00004935 
+ 00011021  0x000030ee rtn 
+ 00011022  0x000030f2 arg  0x00004976 , 0x00000006 
+ 00011023  0x000030f3 arg  0x00004936 , 0x00000011 
+ 00011024  0x000030f4 arg  0x00004946 , 0x00000030 
+ 00011025  0x000030f5 call  0x00002ba1 
+ 00011026  0x000030f6 arg  0x00004956 , 0x00000006 
+ 00011027  0x000030f7 arg  0x00004946 , 0x00000011 
+ 00011028  0x000030f8 arg  0x0000495b , 0x00000030 
+ 00011029  0x000030f9 setarg  0x00000005 
+ 00011030  0x000030fa call  0x00002bb1 
+ 00011031  0x000030fc call  0x00002ff3 
+ 00011032  0x000030fe fetch  0x00000002 , 0x0000478f 
+ 00011033  0x000030ff rtnbit1  0x00000009 
+ 00011034  0x00003100 jam  0x00000001 , 0x00004427 
+ 00011035  0x00003101 rtn 
+ 00011036  0x00003106 arg  0x00004b59 , 0x00000011 
+ 00011037  0x00003107 fetch  0x00000007 , 0x00004b5f 
+ 00011038  0x00003108 branch  0x00002b21 
+ 00011039  0x0000310a arg  0x00000c0c , 0x00000011 
+ 00011040  0x0000310b fetch  0x00000007 , 0x00000c12 
+ 00011041  0x0000310d store  0x00000007 , 0x00000bc7 
+ 00011042  0x0000310e setarg  0x00000000 
+ 00011043  0x0000310f store  0x00000005 , 0x00000bbe 
+ 00011044  0x00003110 call  0x00002b2a 
+ 00011045  0x00003111 fetch  0x00000006 , 0x00000bce 
+ 00011046  0x00003112 ifetcht  0x00000006 , 0x00000011 
+ 00011047  0x00003113 ixor  0x00000002 , 0x0000003f 
+ 00011048  0x00003114 istore  0x00000006 , 0x00000011 
+ 00011049  0x00003115 rtn 
+ 00011050  0x00003119 fetch  0x00000004 , 0x00004a2e 
+ 00011051  0x0000311a store  0x00000004 , 0x00000bc3 
+ 00011052  0x0000311d arg  0x000048d5 , 0x00000006 
+ 00011053  0x0000311e call  0x00006e26 
+ 00011054  0x0000311f arg  0x00000bbe , 0x00000006 
+ 00011055  0x00003120 call  0x00006e28 
+ 00011056  0x00003121 call  0x00006dc1 
+ 00011057  0x00003122 arg  0x00000bce , 0x00000005 
+ 00011058  0x00003123 branch  0x00006e3c 
+ 00011059  0x0000312b arg  0x00000008 , 0x00000039 
+ 00011060  0x00003131 call  0x00002b41 
+ 00011061  0x00003132 call  0x00002b90 
+ 00011062  0x00003133 branch  0x00002b3e 
+ 00011063  0x00003135 call  0x00002b41 
+ 00011064  0x00003136 call  0x00007dd4 
+ 00011065  0x00003137 branch  0x00002b3e 
+ 00011066  0x00003139 call  0x00002b41 
+ 00011067  0x0000313a call  0x00002b90 
+ 00011068  0x0000313b setarg  0x0000002c 
+ 00011069  0x0000313c istore  0x00000001 , 0x00000005 
+ 00011070  0x0000313e copy  0x00000005 , 0x0000003f 
+ 00011071  0x0000313f store  0x00000002 , 0x0000487a 
+ 00011072  0x00003140 rtn 
+ 00011073  0x00003142 copy  0x00000006 , 0x00000002 
+ 00011074  0x00003143 copy  0x00000039 , 0x00000011 
+ 00011075  0x00003144 fetch  0x00000002 , 0x0000487a 
+ 00011076  0x00003145 copy  0x0000003f , 0x00000005 
+ 00011077  0x00003146 fetch  0x00000001 , 0x00004869 
+ 00011078  0x00003147 call  0x00002b4a , 0x00000034 
+ 00011079  0x00003148 copy  0x00000002 , 0x00000006 
+ 00011080  0x00003149 copy  0x00000011 , 0x00000039 
+ 00011081  0x0000314a rtn 
+ 00011082  0x0000314c jam  0x00000001 , 0x00004869 
+ 00011083  0x0000314d call  0x00002b4e 
+ 00011084  0x0000314e arg  0x00000abe , 0x00000005 
+ 00011085  0x0000314f rtn 
+ 00011086  0x00003152 arg  0x00000020 , 0x00000039 
+ 00011087  0x00003153 arg  0x00000abe , 0x00000005 
+ 00011088  0x00003154 branch  0x00007d8c 
+ 00011089  0x00003159 call  0x00002b6e 
+ 00011090  0x0000315a arg  0x00000010 , 0x00000012 
+ 00011091  0x0000315b arg  0x00000abe , 0x00000011 
+ 00011092  0x0000315c fetchr  0x00000039 , 0x00000008 , 0x0000486a 
+ 00011093  0x0000315d call  0x000029e4 
+ 00011094  0x0000315e call  0x00002b89 
+ 00011095  0x00003160 setarg  0x00000abe 
+ 00011096  0x00003161 store  0x00000002 , 0x00004881 
+ 00011097  0x00003162 call  0x00007306 
+ 00011098  0x00003164 fetch  0x00000002 , 0x00004881 
+ 00011099  0x00003165 copy  0x0000003f , 0x00000006 
+ 00011100  0x00003166 arg  0x000004a8 , 0x00000005 
+ 00011101  0x00003167 call  0x00007d72 
+ 00011102  0x00003168 call  0x0000730d 
+ 00011103  0x00003169 fetch  0x00000002 , 0x00004881 
+ 00011104  0x0000316a pincrease  0x00000040 
+ 00011105  0x0000316b store  0x00000002 , 0x00004881 
+ 00011106  0x0000316c fetch  0x00000001 , 0x0000487e 
+ 00011107  0x0000316d pincrease  0xffffffff 
+ 00011108  0x0000316e store  0x00000001 , 0x0000487e 
+ 00011109  0x0000316f nbranch  0x00002b5a , 0x00000034 
+ 00011110  0x00003170 call  0x00007349 
+ 00011111  0x00003171 arg  0x00000900 , 0x00000011 
+ 00011112  0x00003172 arg  0x00000020 , 0x00000039 
+ 00011113  0x00003173 call  0x00007dac 
+ 00011114  0x00003174 arg  0x00000011 , 0x00000012 
+ 00011115  0x00003175 arg  0x00000900 , 0x00000011 
+ 00011116  0x00003176 arg  0x00000020 , 0x00000039 
+ 00011117  0x00003177 branch  0x000029e4 
+ 00011118  0x0000317b jam  0x00000000 , 0x00004869 
+ 00011119  0x0000317c fetch  0x00000002 , 0x0000487a 
+ 00011120  0x0000317d copy  0x0000003f , 0x00000005 
+ 00011121  0x0000317e arg  0x00000080 , 0x00000002 
+ 00011122  0x0000317f istoret  0x00000001 , 0x00000005 
+ 00011123  0x00003180 arg  0x00000abe , 0x00000002 
+ 00011124  0x00003181 isub  0x00000002 , 0x0000003f 
+ 00011125  0x00003182 store  0x00000008 , 0x0000486a 
+ 00011126  0x00003184 lshift3  0x0000003f , 0x00000002 
+ 00011127  0x00003185 storet  0x00000008 , 0x00004872 
+ 00011128  0x00003186 rshift4  0x0000003f , 0x00000013 
+ 00011129  0x00003187 rshift2  0x00000013 , 0x00000013 
+ 00011130  0x00003188 and  0x0000003f , 0x0000003f , 0x0000003f 
+ 00011131  0x00003189 sub  0x0000003f , 0x00000037 , 0x0000003e 
+ 00011132  0x0000318b ncall  0x00002b87 , 0x00000002 
+ 00011133  0x0000318c add  0x00000013 , 0x00000001 , 0x0000003f 
+ 00011134  0x0000318d store  0x00000001 , 0x0000487e 
+ 00011135  0x0000318e mul32  0x0000003f , 0x00000040 , 0x00000011 
+ 00011136  0x0000318f lshift4  0x0000003f , 0x00000013 
+ 00011137  0x00003190 increase  0xffffffff , 0x00000013 
+ 00011138  0x00003191 setarg  0x00000aba 
+ 00011139  0x00003192 iadd  0x00000011 , 0x00000011 
+ 00011140  0x00003193 fetch  0x00000004 , 0x00004872 
+ 00011141  0x00003194 istore  0x00000004 , 0x00000011 
+ 00011142  0x00003195 rtn 
+ 00011143  0x0000319a increase  0x00000001 , 0x00000013 
+ 00011144  0x0000319b rtn 
+ 00011145  0x0000319e arg  0x00000abe , 0x00000011 
+ 00011146  0x000031a4 arg  0x00000004 , 0x00000039 
+ 00011147  0x000031a5 call  0x00007dac 
+ 00011148  0x000031a6 increase  0x00000002 , 0x00000011 
+ 00011149  0x000031a7 add  0x00000013 , 0xffffffff , 0x00000013 
+ 00011150  0x000031a8 nbranch  0x00002b8a , 0x00000005 
+ 00011151  0x000031a9 rtn 
+ 00011152  0x000031b1 ifetch  0x00000001 , 0x00000006 
+ 00011153  0x000031b2 rshift4  0x0000003f , 0x00000002 
+ 00011154  0x000031b3 call  0x00002b99 
+ 00011155  0x000031b4 istoret  0x00000001 , 0x00000005 
+ 00011156  0x000031b5 and  0x0000003f , 0x0000000f , 0x00000002 
+ 00011157  0x000031b6 call  0x00002b99 
+ 00011158  0x000031b7 istoret  0x00000001 , 0x00000005 
+ 00011159  0x000031b8 loop  0x00002b90 
+ 00011160  0x000031b9 rtn 
+ 00011161  0x000031bb sub  0x00000002 , 0x00000009 , 0x0000003e 
+ 00011162  0x000031bc branch  0x00002b9d , 0x00000002 
+ 00011163  0x000031bd add  0x00000002 , 0x00000057 , 0x00000002 
+ 00011164  0x000031be rtn 
+ 00011165  0x000031c0 add  0x00000002 , 0x00000030 , 0x00000002 
+ 00011166  0x000031c1 rtn 
+ 00011167  0x000031c5 setarg  0x00000020 
+ 00011168  0x000031c6 branch  0x00002bb1 
+ 00011169  0x000031c9 setarg  0x00000010 
+ 00011170  0x000031ca branch  0x00002bb1 
+ 00011171  0x000031d0 fetcht  0x00000001 , 0x00004883 
+ 00011172  0x000031d1 increase  0x00000001 , 0x00000002 
+ 00011173  0x000031d2 iadd  0x00000002 , 0x00000002 
+ 00011174  0x000031d3 storet  0x00000001 , 0x000004a7 
+ 00011175  0x000031d4 copy  0x00000011 , 0x00000006 
+ 00011176  0x000031d5 copy  0x0000003f , 0x00000039 
+ 00011177  0x000031d6 call  0x00007dc7 
+ 00011178  0x000031d7 fetcht  0x00000001 , 0x00004883 
+ 00011179  0x000031d8 copy  0x00000002 , 0x00000039 
+ 00011180  0x000031d9 call  0x00007dd4 
+ 00011181  0x000031da copy  0x00000012 , 0x0000003f 
+ 00011182  0x000031db istore  0x00000001 , 0x00000005 
+ 00011183  0x000031dc arg  0x000048b4 , 0x00000011 
+ 00011184  0x000031dd branch  0x00002bb4 
+ 00011185  0x000031e7 store  0x00000001 , 0x000004a7 
+ 00011186  0x000031e8 copy  0x0000003f , 0x00000039 
+ 00011187  0x000031e9 call  0x00007dc7 
+ 00011188  0x000031ea copy  0x00000011 , 0x00000006 
+ 00011189  0x000031eb arg  0x0000098e , 0x00000005 
+ 00011190  0x000031ec call  0x00007d7f 
+ 00011191  0x000031ed arg  0x00000012 , 0x00000012 
+ 00011192  0x000031ee arg  0x000004a8 , 0x00000011 
+ 00011193  0x000031ef fetchr  0x00000039 , 0x00000001 , 0x000004a7 
+ 00011194  0x000031f0 call  0x000029e4 
+ 00011195  0x000031f1 arg  0x00000013 , 0x00000012 
+ 00011196  0x000031f2 arg  0x0000098e , 0x00000011 
+ 00011197  0x000031f3 arg  0x00000010 , 0x00000039 
+ 00011198  0x000031f4 call  0x000029e4 
+ 00011199  0x000031f5 call  0x00006aee 
+ 00011200  0x000031f6 copy  0x00000030 , 0x00000005 
+ 00011201  0x000031f7 call  0x00006e3c 
+ 00011202  0x000031f8 arg  0x00000014 , 0x00000012 
+ 00011203  0x000031f9 copy  0x00000030 , 0x00000011 
+ 00011204  0x000031fa arg  0x00000010 , 0x00000039 
+ 00011205  0x000031fb branch  0x000029e4 
+ 00011206  0x00003200 fetcht  0x00000001 , 0x00000beb 
+ 00011207  0x00003201 branch  0x00002bc9 
+ 00011208  0x00003203 force  0x00000001 , 0x00000002 
+ 00011209  0x00003205 force  0x00000000 , 0x00000038 
+ 00011210  0x00003206 fetch  0x00000002 , 0x00000bde 
+ 00011211  0x00003207 copy  0x0000003f , 0x00000006 
+ 00011212  0x00003208 ifetch  0x00000003 , 0x00000006 
+ 00011213  0x00003209 lshift8  0x0000003f , 0x0000003f 
+ 00011214  0x0000320a ior  0x00000002 , 0x0000002f 
+ 00011215  0x0000320b increase  0x00000001 , 0x00000038 
+ 00011216  0x0000320c ifetch  0x00000004 , 0x00000006 
+ 00011217  0x0000320d copy  0x0000003f , 0x0000002f 
+ 00011218  0x0000320e increase  0x00000001 , 0x00000038 
+ 00011219  0x0000320f ifetch  0x00000004 , 0x00000006 
+ 00011220  0x00003210 copy  0x0000003f , 0x0000002f 
+ 00011221  0x00003211 increase  0x00000001 , 0x00000038 
+ 00011222  0x00003212 byteswap  0x00000011 , 0x0000002f 
+ 00011223  0x00003213 lshift16  0x0000002f , 0x0000002f 
+ 00011224  0x00003214 ifetch  0x00000002 , 0x00000006 
+ 00011225  0x00003215 ior  0x0000002f , 0x0000002f 
+ 00011226  0x00003216 rtn 
+ 00011227  0x00003218 fetch  0x00000001 , 0x00000be0 
+ 00011228  0x00003219 copy  0x0000003f , 0x00000011 
+ 00011229  0x0000321a call  0x00002bc6 
+ 00011230  0x0000321b call  0x00006dc1 
+ 00011231  0x0000321c force  0x0000000c , 0x00000038 
+ 00011232  0x0000321d deposit  0x0000002f 
+ 00011233  0x0000321e copy  0x00000011 , 0x00000039 
+ 00011234  0x0000321f fetcht  0x00000002 , 0x00000be1 
+ 00011235  0x00003220 copy  0x00000002 , 0x00000006 
+ 00011236  0x00003221 call  0x00006e10 
+ 00011237  0x00003222 branch  0x00006cf0 
+ 00011238  0x00003224 jam  0x00000019 , 0x00000beb 
+ 00011239  0x00003225 branch  0x00002bea 
+ 00011240  0x00003227 jam  0x00000009 , 0x00000beb 
+ 00011241  0x00003228 branch  0x00002bea 
+ 00011242  0x0000322a store  0x00000001 , 0x00000be0 
+ 00011243  0x0000322b storet  0x00000002 , 0x00000be1 
+ 00011244  0x0000322c bpatchx  0x000000f3 , 0x0000403e 
+ 00011245  0x0000322d call  0x00002bdb 
+ 00011246  0x0000322e force  0x00000008 , 0x00000038 
+ 00011247  0x0000322f iforce  0x0000002f 
+ 00011248  0x00003230 force  0x0000000d , 0x00000038 
+ 00011249  0x00003231 copy  0x0000002f , 0x0000003f 
+ 00011250  0x00003232 force  0x00000009 , 0x00000038 
+ 00011251  0x00003233 iforce  0x0000002f 
+ 00011252  0x00003234 force  0x00000000 , 0x00000011 
+ 00011253  0x00003235 copy  0x00000002 , 0x00000013 
+ 00011254  0x00003236 call  0x00002bc8 
+ 00011255  0x00003237 call  0x00006dc7 
+ 00011256  0x00003238 call  0x00002c29 
+ 00011257  0x00003239 storet  0x00000008 , 0x00000be3 
+ 00011258  0x0000323a fetch  0x00000001 , 0x00000be0 
+ 00011259  0x0000323b copy  0x0000003f , 0x00000012 
+ 00011260  0x0000323c call  0x00002c31 
+ 00011261  0x0000323d fetcht  0x00000001 , 0x00000be0 
+ 00011262  0x0000323e fetch  0x00000002 , 0x00000be1 
+ 00011263  0x0000323f iadd  0x00000002 , 0x00000011 
+ 00011264  0x00003240 fetcht  0x00000008 , 0x00000be3 
+ 00011265  0x00003241 istoret  0x00000004 , 0x00000011 
+ 00011266  0x00003242 fetch  0x00000001 , 0x00000beb 
+ 00011267  0x00003243 sub  0x0000003f , 0x00000009 , 0x0000003f 
+ 00011268  0x00003244 rtn  0x00000034 
+ 00011269  0x00003245 istoret  0x00000008 , 0x00000011 
+ 00011270  0x00003246 rtn 
+ 00011271  0x00003248 jam  0x00000019 , 0x00000beb 
+ 00011272  0x00003249 branch  0x00002c0b 
+ 00011273  0x0000324b jam  0x00000009 , 0x00000beb 
+ 00011274  0x0000324c branch  0x00002c0b 
+ 00011275  0x0000324e store  0x00000001 , 0x00000be0 
+ 00011276  0x0000324f storet  0x00000002 , 0x00000be1 
+ 00011277  0x00003250 copy  0x00000002 , 0x00000013 
+ 00011278  0x00003251 copy  0x0000003f , 0x00000012 
+ 00011279  0x00003252 iadd  0x00000013 , 0x00000006 
+ 00011280  0x00003253 bpatchx  0x000000f4 , 0x0000403e 
+ 00011281  0x00003254 ifetch  0x00000008 , 0x00000006 
+ 00011282  0x00003255 force  0x00000008 , 0x00000038 
+ 00011283  0x00003256 iforce  0x0000002f 
+ 00011284  0x00003257 force  0x00000009 , 0x00000038 
+ 00011285  0x00003258 rshift32  0x0000003f , 0x0000003f 
+ 00011286  0x00003259 iforce  0x0000002f 
+ 00011287  0x0000325a force  0x00000000 , 0x00000011 
+ 00011288  0x0000325b call  0x00002bc8 
+ 00011289  0x0000325c call  0x00006dc7 
+ 00011290  0x0000325d call  0x00002c29 
+ 00011291  0x0000325e storet  0x00000008 , 0x00000be3 
+ 00011292  0x0000325f call  0x00002c31 
+ 00011293  0x00003260 call  0x00002bdb 
+ 00011294  0x00003261 call  0x00002c29 
+ 00011295  0x00003262 fetch  0x00000001 , 0x00000beb 
+ 00011296  0x00003263 beq  0x00000019 , 0x00002c26 
+ 00011297  0x00003264 storet  0x00000004 , 0x00000be7 
+ 00011298  0x00003265 fetch  0x00000004 , 0x00000be3 
+ 00011299  0x00003266 fetcht  0x00000004 , 0x00000be7 
+ 00011300  0x00003267 isub  0x00000002 , 0x0000003f 
+ 00011301  0x00003268 rtn 
+ 00011302  0x0000326b fetch  0x00000008 , 0x00000be3 
+ 00011303  0x0000326c isub  0x00000002 , 0x0000003f 
+ 00011304  0x0000326d rtn 
+ 00011305  0x00003270 force  0x0000000c , 0x00000038 
+ 00011306  0x00003271 deposit  0x0000002f 
+ 00011307  0x00003272 force  0x0000000d , 0x00000038 
+ 00011308  0x00003273 copy  0x0000002f , 0x00000002 
+ 00011309  0x00003274 lshift16  0x00000002 , 0x00000002 
+ 00011310  0x00003275 lshift16  0x00000002 , 0x00000002 
+ 00011311  0x00003276 ior  0x00000002 , 0x00000002 
+ 00011312  0x00003277 rtn 
+ 00011313  0x00003279 increase  0x00000001 , 0x00000011 
+ 00011314  0x0000327a call  0x00002bc8 
+ 00011315  0x0000327b copy  0x00000013 , 0x00000006 
+ 00011316  0x0000327c call  0x00006e24 
+ 00011317  0x0000327d call  0x00006dc7 
+ 00011318  0x0000327e call  0x00006e43 
+ 00011319  0x0000327f increase  0x00000010 , 0x00000013 
+ 00011320  0x00003280 increase  0xfffffff0 , 0x00000012 
+ 00011321  0x00003281 branch  0x00002c31 , 0x00000002 
+ 00011322  0x00003282 rtn 
+ 00011323  0x0000328d jam  0x00000001 , 0x0000496b 
+ 00011324  0x0000328e jam  0x00000000 , 0x0000496c 
+ 00011325  0x0000328f jam  0x00000001 , 0x000047d2 
+ 00011326  0x00003290 setarg  0x00001770 
+ 00011327  0x00003291 store  0x00000002 , 0x000047d3 
+ 00011328  0x00003292 rtn 
+ 00011329  0x00003296 setarg  0x000001a8 
+ 00011330  0x00003297 store  0x00000002 , 0x00000bec 
+ 00011331  0x00003298 fetch  0x00000001 , 0x0000496d 
+ 00011332  0x00003299 istore  0x00000001 , 0x00000005 
+ 00011333  0x0000329a fetch  0x00000004 , 0x000049d3 
+ 00011334  0x0000329b call  0x00007dc1 
+ 00011335  0x0000329c istore  0x00000004 , 0x00000005 
+ 00011336  0x0000329d fetch  0x00000006 , 0x0000437a 
+ 00011337  0x0000329e istore  0x00000006 , 0x00000005 
+ 00011338  0x0000329f fetch  0x00000003 , 0x0000496e 
+ 00011339  0x000032a0 istore  0x00000003 , 0x00000005 
+ 00011340  0x000032a1 rtn 
+ 00011341  0x000032a4 call  0x00002c4f 
+ 00011342  0x000032a5 branch  0x00002951 
+ 00011343  0x000032a9 jam  0x00000015 , 0x000047b1 
+ 00011344  0x000032aa setarg  0x00000014 
+ 00011345  0x000032ab store  0x00000001 , 0x000047b2 
+ 00011346  0x000032ac setarg  0x0000002b 
+ 00011347  0x000032ad istore  0x00000001 , 0x00000005 
+ 00011348  0x000032ae setarg  0x00000000 
+ 00011349  0x000032af istore  0x00000001 , 0x00000005 
+ 00011350  0x000032b1 arg  0x00000bec , 0x00000006 
+ 00011351  0x000032b2 call  0x00007d7f 
+ 00011352  0x000032b3 fetch  0x00000002 , 0x00004971 
+ 00011353  0x000032b4 istore  0x00000002 , 0x00000005 
+ 00011354  0x000032b5 rtn 
+ 00011355  0x000032b9 fetch  0x00000001 , 0x00004a15 
+ 00011356  0x000032ba rtnbit1  0x00000003 
+ 00011357  0x000032bb call  0x00002c5f 
+ 00011358  0x000032bc branch  0x00002951 
+ 00011359  0x000032bf jam  0x0000001d , 0x000047b1 
+ 00011360  0x000032c0 call  0x0000290a 
+ 00011361  0x000032c1 call  0x00002912 
+ 00011362  0x000032c2 call  0x00002c64 
+ 00011363  0x000032c3 branch  0x00002c56 
+ 00011364  0x000032c7 setarg  0x00000015 
+ 00011365  0x000032c8 istore  0x00000001 , 0x00000005 
+ 00011366  0x000032c9 setarg  0x00000016 
+ 00011367  0x000032ca istore  0x00000001 , 0x00000005 
+ 00011368  0x000032cb istoret  0x00000002 , 0x00000005 
+ 00011369  0x000032cc rtn 
+ 00011370  0x000032d0 add  0x00000002 , 0xffffffff , 0x00000039 
+ 00011371  0x000032d1 call  0x00002d2e 
+ 00011372  0x000032d2 nrtn  0x00000028 
+ 00011373  0x000032d3 ifetch  0x00000001 , 0x00000006 
+ 00011374  0x000032d4 beq  0x00000000 , 0x00002c72 
+ 00011375  0x000032d5 beq  0x00000002 , 0x00002c8d 
+ 00011376  0x000032d6 beq  0x00000006 , 0x00002cac 
+ 00011377  0x000032d7 rtn 
+ 00011378  0x000032dc call  0x00002c7f 
+ 00011379  0x000032dd nrtn  0x00000028 
+ 00011380  0x000032df call  0x00002a98 
+ 00011381  0x000032e1 call  0x00002c77 
+ 00011382  0x000032e2 branch  0x00002cd6 
+ 00011383  0x000032e5 arg  0x00000012 , 0x00000002 
+ 00011384  0x000032e6 call  0x00002cae 
+ 00011385  0x000032e7 setarg  0x00000001 
+ 00011386  0x000032e8 istore  0x00000001 , 0x00000005 
+ 00011387  0x000032e9 fetch  0x00000002 , 0x000049db 
+ 00011388  0x000032ea istore  0x00000002 , 0x00000005 
+ 00011389  0x000032eb arg  0x00004807 , 0x00000006 
+ 00011390  0x000032ec branch  0x00007d7f 
+ 00011391  0x000032f0 call  0x00007ec7 
+ 00011392  0x000032f1 ifetcht  0x00000002 , 0x00000006 
+ 00011393  0x000032f2 arg  0x00004807 , 0x00000005 
+ 00011394  0x000032f3 call  0x00007d7f 
+ 00011395  0x000032f4 fetch  0x00000002 , 0x000049db 
+ 00011396  0x000032f5 isub  0x00000002 , 0x0000003e 
+ 00011397  0x000032f6 nrtn  0x00000005 
+ 00011398  0x000032fc fetch  0x00000001 , 0x0000496c 
+ 00011399  0x000032fd rtnbit1  0x00000001 
+ 00011400  0x000032fe set1  0x00000001 , 0x0000003f 
+ 00011401  0x000032ff store  0x00000001 , 0x0000496c 
+ 00011402  0x00003301 jam  0x00000002 , 0x0000496b 
+ 00011403  0x00003303 call  0x00002cd2 
+ 00011404  0x00003304 branch  0x00007ec5 
+ 00011405  0x00003308 copy  0x00000006 , 0x00000011 
+ 00011406  0x00003309 fetch  0x00000001 , 0x0000496b 
+ 00011407  0x0000330a rtneq  0x00000000 
+ 00011408  0x0000330b fetch  0x00000001 , 0x0000496c 
+ 00011409  0x0000330c rtnbit0  0x00000001 
+ 00011410  0x0000330d rtnbit1  0x00000002 
+ 00011411  0x0000330e copy  0x00000011 , 0x00000006 
+ 00011412  0x0000330f arg  0x00000016 , 0x00000039 
+ 00011413  0x00003310 arg  0x00004973 , 0x00000005 
+ 00011414  0x00003311 call  0x00007dd4 
+ 00011415  0x00003313 call  0x00002ad5 
+ 00011416  0x00003315 fetcht  0x00000002 , 0x00004973 
+ 00011417  0x00003316 fetch  0x00000002 , 0x000049db 
+ 00011418  0x00003317 isub  0x00000002 , 0x0000003e 
+ 00011419  0x00003318 nrtn  0x00000005 
+ 00011420  0x0000331a call  0x00002cda 
+ 00011421  0x0000331b fetch  0x00000001 , 0x0000496c 
+ 00011422  0x0000331c set1  0x00000002 , 0x0000003f 
+ 00011423  0x0000331d store  0x00000001 , 0x0000496c 
+ 00011424  0x0000331f call  0x00002ae8 
+ 00011425  0x00003321 fetch  0x00000001 , 0x00004986 
+ 00011426  0x00003322 store  0x00000001 , 0x00004a31 
+ 00011427  0x00003323 call  0x00002ca5 
+ 00011428  0x00003324 branch  0x00002cde 
+ 00011429  0x00003329 arg  0x00000006 , 0x00000002 
+ 00011430  0x0000332a call  0x00002cae 
+ 00011431  0x0000332b setarg  0x00000003 
+ 00011432  0x0000332c istore  0x00000001 , 0x00000005 
+ 00011433  0x0000332d fetch  0x00000006 , 0x000049d7 
+ 00011434  0x0000332e istore  0x00000006 , 0x00000005 
+ 00011435  0x0000332f rtn 
+ 00011436  0x00003332 arg  0x00000012 , 0x00000012 
+ 00011437  0x00003333 branch  0x00002d18 
+ 00011438  0x00003338 bpatchx  0x000000f5 , 0x0000403e 
+ 00011439  0x00003339 call  0x00002ccc 
+ 00011440  0x0000333a setarg  0x00008fff 
+ 00011441  0x0000333b store  0x00000002 , 0x0000498d 
+ 00011442  0x0000333c call  0x00002a1a 
+ 00011443  0x0000333d add  0x00000002 , 0x00000009 , 0x0000003f 
+ 00011444  0x0000333e store  0x00000001 , 0x000047b1 
+ 00011445  0x0000333f call  0x0000290a 
+ 00011446  0x00003340 add  0x00000002 , 0x00000005 , 0x0000003f 
+ 00011447  0x00003341 istore  0x00000001 , 0x00000005 
+ 00011448  0x00003342 setarg  0x000000ff 
+ 00011449  0x00003343 istore  0x00000001 , 0x00000005 
+ 00011450  0x00003344 setarg  0x000001a8 
+ 00011451  0x00003345 byteswap  0x0000003f , 0x0000003f 
+ 00011452  0x00003346 istore  0x00000002 , 0x00000005 
+ 00011453  0x00003347 fetch  0x00000001 , 0x00000bfc 
+ 00011454  0x00003348 istore  0x00000001 , 0x00000005 
+ 00011455  0x00003349 rtn 
+ 00011456  0x00003350 fetch  0x00000004 , 0x00004989 
+ 00011457  0x00003351 nbranch  0x00002cc3 , 0x00000034 
+ 00011458  0x00003352 branch  0x00002ccc 
+ 00011459  0x00003355 deposit  0x00000022 
+ 00011460  0x00003356 fetcht  0x00000004 , 0x00004989 
+ 00011461  0x00003357 isub  0x00000002 , 0x00000002 
+ 00011462  0x00003358 fetch  0x00000002 , 0x0000498d 
+ 00011463  0x00003359 isub  0x00000002 , 0x0000003e 
+ 00011464  0x0000335a rtn  0x00000002 
+ 00011465  0x0000335c call  0x00002a1c 
+ 00011466  0x0000335d fetch  0x00000002 , 0x000049f3 
+ 00011467  0x0000335e branch  0x00007e7a 
+ 00011468  0x00003360 deposit  0x00000022 
+ 00011469  0x00003361 store  0x00000004 , 0x00004989 
+ 00011470  0x00003362 rtn 
+ 00011471  0x00003366 add  0x00000006 , 0xfffffffd , 0x00000011 
+ 00011472  0x00003367 arg  0x00000001 , 0x00000012 
+ 00011473  0x00003368 branch  0x000029e4 
+ 00011474  0x0000336b arg  0x00000001 , 0x00000039 
+ 00011475  0x0000336c arg  0x00000002 , 0x00000012 
+ 00011476  0x0000336d arg  0x0000496c , 0x00000011 
+ 00011477  0x0000336e branch  0x000029e6 
+ 00011478  0x00003371 fetchr  0x00000039 , 0x00000001 , 0x000047b1 
+ 00011479  0x00003372 arg  0x00000003 , 0x00000012 
+ 00011480  0x00003373 arg  0x000047b2 , 0x00000011 
+ 00011481  0x00003374 branch  0x000029e6 
+ 00011482  0x00003377 arg  0x00000001 , 0x00000039 
+ 00011483  0x00003378 arg  0x00000004 , 0x00000012 
+ 00011484  0x00003379 arg  0x0000496c , 0x00000011 
+ 00011485  0x0000337a branch  0x000029e6 
+ 00011486  0x0000337e fetchr  0x00000039 , 0x00000001 , 0x000047b1 
+ 00011487  0x0000337f arg  0x00000005 , 0x00000012 
+ 00011488  0x00003380 arg  0x000047b2 , 0x00000011 
+ 00011489  0x00003381 branch  0x000029e6 
+ 00011490  0x00003386 call  0x00002d26 
+ 00011491  0x00003387 nrtn  0x00000028 
+ 00011492  0x00003388 fetch  0x00000001 , 0x00000bef 
+ 00011493  0x00003389 beq  0x00000006 , 0x00002d16 
+ 00011494  0x0000338b fetch  0x00000001 , 0x0000496b 
+ 00011495  0x0000338c rtneq  0x00000000 
+ 00011496  0x0000338d rtneq  0x00000003 
+ 00011497  0x0000338e fetch  0x00000002 , 0x00000bf0 
+ 00011498  0x0000338f fetcht  0x00000002 , 0x000049db 
+ 00011499  0x00003390 isub  0x00000002 , 0x0000003e 
+ 00011500  0x00003391 nrtn  0x00000005 
+ 00011501  0x00003392 arg  0x00000bf2 , 0x00000011 
+ 00011502  0x00003393 arg  0x00000007 , 0x00000012 
+ 00011503  0x00003394 call  0x00002d38 
+ 00011504  0x00003395 rtn  0x00000028 
+ 00011505  0x00003396 bpatchx  0x000000f6 , 0x0000403e 
+ 00011506  0x00003397 fetch  0x00000001 , 0x00000bef 
+ 00011507  0x00003398 beq  0x00000000 , 0x00002cf7 
+ 00011508  0x00003399 beq  0x00000002 , 0x00002cfb 
+ 00011509  0x0000339a beq  0x00000004 , 0x00002d0a 
+ 00011510  0x0000339b rtn 
+ 00011511  0x0000339f fetch  0x00000002 , 0x000049db 
+ 00011512  0x000033a0 store  0x00000002 , 0x00000a78 
+ 00011513  0x000033a1 arg  0x00000a78 , 0x00000006 
+ 00011514  0x000033a2 branch  0x00002c72 
+ 00011515  0x000033a7 fetch  0x00000001 , 0x0000496b 
+ 00011516  0x000033a8 rtneq  0x00000000 
+ 00011517  0x000033a9 fetch  0x00000001 , 0x0000496c 
+ 00011518  0x000033aa rtnbit0  0x00000001 
+ 00011519  0x000033ab rtnbit1  0x00000002 
+ 00011520  0x000033ac arg  0x00000a7a , 0x00000006 
+ 00011521  0x000033ad arg  0x00000014 , 0x00000039 
+ 00011522  0x000033ae arg  0x00004975 , 0x00000005 
+ 00011523  0x000033af call  0x00007dd4 
+ 00011524  0x000033b0 call  0x00002ae1 
+ 00011525  0x000033b1 arg  0x00004975 , 0x00000011 
+ 00011526  0x000033b2 arg  0x00000900 , 0x00000012 
+ 00011527  0x000033b3 arg  0x0000000a , 0x00000039 
+ 00011528  0x000033b4 call  0x00002ad9 
+ 00011529  0x000033b5 branch  0x00002c9c 
+ 00011530  0x000033b9 fetch  0x00000001 , 0x0000496b 
+ 00011531  0x000033ba rtnne  0x00000001 
+ 00011532  0x000033bb jam  0x00000002 , 0x0000496b 
+ 00011533  0x000033be arg  0x00000003 , 0x00000002 
+ 00011534  0x000033bf call  0x00002cae 
+ 00011535  0x000033c0 setarg  0x00000005 
+ 00011536  0x000033c1 istore  0x00000001 , 0x00000005 
+ 00011537  0x000033c2 fetch  0x00000002 , 0x000049db 
+ 00011538  0x000033c3 istore  0x00000002 , 0x00000005 
+ 00011539  0x000033c4 setarg  0x00000001 
+ 00011540  0x000033c5 istore  0x00000001 , 0x00000005 
+ 00011541  0x000033c6 rtn 
+ 00011542  0x000033cb arg  0x00000bf0 , 0x00000006 
+ 00011543  0x000033cc arg  0x00000008 , 0x00000012 
+ 00011544  0x000033ce bpatchx  0x000000f7 , 0x0000403e 
+ 00011545  0x000033cf ifetch  0x00000001 , 0x00000006 
+ 00011546  0x000033d0 copy  0x00000006 , 0x00000011 
+ 00011547  0x000033d1 fetcht  0x00000001 , 0x000048d4 
+ 00011548  0x000033d2 isub  0x00000002 , 0x0000003e 
+ 00011549  0x000033d3 nrtn  0x00000005 
+ 00011550  0x000033d4 call  0x00002ccc 
+ 00011551  0x000033d5 call  0x00002d38 
+ 00011552  0x000033d6 rtn  0x00000028 
+ 00011553  0x000033d7 jam  0x00000001 , 0x00000c3a 
+ 00011554  0x000033d8 fetcht  0x00000001 , 0x00000a79 
+ 00011555  0x000033d9 increase  0x00000001 , 0x00000002 
+ 00011556  0x000033da arg  0x00000a7a , 0x00000006 
+ 00011557  0x000033db branch  0x00002f3e 
+ 00011558  0x000033df arg  0x00000bec , 0x00000005 
+ 00011559  0x000033e0 call  0x00007d7f 
+ 00011560  0x000033e1 arg  0x00000bec , 0x00000011 
+ 00011561  0x000033e2 arg  0x00000010 , 0x00000039 
+ 00011562  0x000033e3 call  0x00007dac 
+ 00011563  0x000033e4 arg  0x00000010 , 0x00000039 
+ 00011564  0x000033e5 arg  0x00000bec , 0x00000006 
+ 00011565  0x000033e6 branch  0x00002d2e 
+ 00011566  0x000033e9 call  0x00007ec7 
+ 00011567  0x000033ea ifetcht  0x00000002 , 0x00000006 
+ 00011568  0x000033eb setarg  0x000001a8 
+ 00011569  0x000033ec byteswap  0x0000003f , 0x0000003f 
+ 00011570  0x000033ed isub  0x00000002 , 0x0000003e 
+ 00011571  0x000033ee nrtn  0x00000005 
+ 00011572  0x000033ef ifetch  0x00000001 , 0x00000006 
+ 00011573  0x000033f0 store  0x00000001 , 0x00000bfc 
+ 00011574  0x000033f1 call  0x00007ec5 
+ 00011575  0x000033f2 branch  0x00002ccf 
+ 00011576  0x000033f6 bpatchx  0x000000f8 , 0x0000403f 
+ 00011577  0x000033f7 call  0x00002d71 
+ 00011578  0x000033f8 branch  0x00002d3b 
+ 00011579  0x000033fc add  0x00000011 , 0x00000001 , 0x00000006 
+ 00011580  0x000033fd ifetcht  0x00000001 , 0x00000006 
+ 00011581  0x000033fe rshift4  0x00000002 , 0x0000003f 
+ 00011582  0x000033ff beq  0x00000001 , 0x00002d6b 
+ 00011583  0x00003401 sub  0x0000003f , 0x00000004 , 0x0000003e 
+ 00011584  0x00003402 nbranch  0x00007ec5 , 0x00000002 
+ 00011585  0x00003403 copy  0x0000003f , 0x00000039 
+ 00011586  0x00003404 call  0x00002d61 
+ 00011587  0x00003405 and  0x00000002 , 0x0000000f , 0x00000007 
+ 00011588  0x00003406 isub  0x00000007 , 0x0000003e 
+ 00011589  0x00003407 call  0x00002d5a , 0x00000005 
+ 00011590  0x00003408 increase  0xffffffff , 0x00000007 
+ 00011591  0x00003409 fetch  0x00000001 , 0x00000a78 
+ 00011592  0x0000340a qisolate1  0x0000003f 
+ 00011593  0x0000340b branch  0x00007ec5 , 0x00000001 
+ 00011594  0x0000340c qset1  0x0000003f 
+ 00011595  0x0000340d store  0x00000001 , 0x00000a78 
+ 00011596  0x0000340e add  0x00000011 , 0x00000002 , 0x00000006 
+ 00011597  0x0000340f ifetch  0x00000001 , 0x00000006 
+ 00011598  0x00003410 copy  0x0000003f , 0x00000039 
+ 00011599  0x00003411 copy  0x00000012 , 0x0000003f 
+ 00011600  0x00003412 imul32  0x00000007 , 0x0000003f 
+ 00011601  0x00003413 arg  0x00000a7a , 0x00000005 
+ 00011602  0x00003414 iadd  0x00000005 , 0x00000005 
+ 00011603  0x00003415 call  0x00007dc7 
+ 00011604  0x00003416 fetch  0x00000001 , 0x00000a78 
+ 00011605  0x00003417 isub  0x00000013 , 0x0000003e 
+ 00011606  0x00003418 ncall  0x00007ec5 , 0x00000005 
+ 00011607  0x00003419 nbranch  0x00002d66 , 0x00000005 
+ 00011608  0x0000341b call  0x00002d92 
+ 00011609  0x0000341c branch  0x00007ec7 
+ 00011610  0x00003420 pincrease  0xffffffff 
+ 00011611  0x00003421 imul32  0x00000012 , 0x0000003f 
+ 00011612  0x00003422 add  0x00000011 , 0x00000002 , 0x00000006 
+ 00011613  0x00003423 ifetcht  0x00000001 , 0x00000006 
+ 00011614  0x00003424 iadd  0x00000002 , 0x0000003f 
+ 00011615  0x00003425 store  0x00000001 , 0x00000a79 
+ 00011616  0x00003426 rtn 
+ 00011617  0x00003429 arg  0x00000000 , 0x00000013 
+ 00011618  0x0000342b add  0x00000039 , 0xffffffff , 0x00000007 
+ 00011619  0x0000342c qset1  0x00000013 
+ 00011620  0x0000342d loop  0x00002d62 
+ 00011621  0x0000342e rtn 
+ 00011622  0x00003432 fetch  0x00000002 , 0x00000a74 
+ 00011623  0x00003433 copy  0x0000003f , 0x00000005 
+ 00011624  0x00003434 arg  0x00000a76 , 0x00000006 
+ 00011625  0x00003435 arg  0x00000021 , 0x00000039 
+ 00011626  0x00003436 branch  0x00007dc7 
+ 00011627  0x0000343a ifetch  0x00000001 , 0x00000006 
+ 00011628  0x0000343b copy  0x0000003f , 0x00000039 
+ 00011629  0x0000343c store  0x00000001 , 0x00000a79 
+ 00011630  0x0000343d arg  0x00000a7a , 0x00000005 
+ 00011631  0x0000343e call  0x00007dd4 
+ 00011632  0x0000343f branch  0x00007ec7 
+ 00011633  0x00003444 jam  0x00000032 , 0x00004990 
+ 00011634  0x00003445 call  0x00002d80 
+ 00011635  0x00003447 fetcht  0x00000002 , 0x00004991 
+ 00011636  0x00003448 isub  0x00000002 , 0x0000003e 
+ 00011637  0x0000344a branch  0x00002d84 , 0x00000005 
+ 00011638  0x0000344b sub  0x00000002 , 0x00000000 , 0x0000003e 
+ 00011639  0x0000344d branch  0x00002d84 , 0x00000005 
+ 00011640  0x0000344f fetcht  0x00000002 , 0x000049b2 
+ 00011641  0x00003450 isub  0x00000002 , 0x0000003e 
+ 00011642  0x00003452 branch  0x00002d87 , 0x00000005 
+ 00011643  0x00003453 sub  0x00000002 , 0x00000000 , 0x0000003e 
+ 00011644  0x00003455 branch  0x00002d87 , 0x00000005 
+ 00011645  0x00003457 call  0x00002d92 
+ 00011646  0x00003458 call  0x00002d80 
+ 00011647  0x00003459 branch  0x00002d84 
+ 00011648  0x0000345d ifetch  0x00000001 , 0x00000011 
+ 00011649  0x0000345e rtn  0x00000034 
+ 00011650  0x0000345f set1  0x00000008 , 0x0000003f 
+ 00011651  0x00003460 rtn 
+ 00011652  0x00003463 store  0x00000002 , 0x00004991 
+ 00011653  0x00003464 setarg  0x00004991 
+ 00011654  0x00003465 branch  0x00002d8a 
+ 00011655  0x00003467 store  0x00000002 , 0x000049b2 
+ 00011656  0x00003468 setarg  0x000049b2 
+ 00011657  0x00003469 branch  0x00002d8a 
+ 00011658  0x0000346b store  0x00000002 , 0x00000a74 
+ 00011659  0x0000346c copy  0x0000003f , 0x00000006 
+ 00011660  0x0000346d arg  0x00000a76 , 0x00000005 
+ 00011661  0x0000346e arg  0x00000021 , 0x00000039 
+ 00011662  0x0000346f branch  0x00007dc7 
+ 00011663  0x00003473 arg  0x00004990 , 0x00000013 
+ 00011664  0x00003474 arg  0x00002d92 , 0x00000012 
+ 00011665  0x00003475 branch  0x000031fc 
+ 00011666  0x00003478 arg  0x00004991 , 0x00000005 
+ 00011667  0x00003479 arg  0x00000042 , 0x00000039 
+ 00011668  0x0000347a branch  0x00007d9b 
+ 00011669  0x00003481 fetch  0x00000001 , 0x000009f8 
+ 00011670  0x00003482 beq  0x00000049 , 0x00002d9a 
+ 00011671  0x00003483 beq  0x0000001b , 0x00002da3 
+ 00011672  0x00003484 beq  0x0000001c , 0x00002daa 
+ 00011673  0x00003485 rtn 
+ 00011674  0x00003489 call  0x00002d9d 
+ 00011675  0x0000348a fetch  0x00000002 , 0x00004a0d 
+ 00011676  0x0000348b branch  0x00007e7a 
+ 00011677  0x0000348d setarg  0x00000080 
+ 00011678  0x0000348e store  0x00000001 , 0x00000a10 
+ 00011679  0x0000348f setarg  0x0000004a 
+ 00011680  0x00003490 istore  0x00000001 , 0x00000005 
+ 00011681  0x00003491 jam  0x00000002 , 0x00000a0f 
+ 00011682  0x00003492 branch  0x0000305d 
+ 00011683  0x00003496 call  0x00002dc8 
+ 00011684  0x00003497 fetch  0x00000002 , 0x00004a15 
+ 00011685  0x00003498 rtnbit1  0x00000002 
+ 00011686  0x00003499 call  0x00002dd2 
+ 00011687  0x0000349a call  0x00002ddb 
+ 00011688  0x0000349b fetch  0x00000002 , 0x00004a11 
+ 00011689  0x0000349c branch  0x00007e7a 
+ 00011690  0x000034a0 call  0x00002dc8 
+ 00011691  0x000034a1 fetch  0x00000002 , 0x00004a15 
+ 00011692  0x000034a2 rtnbit1  0x00000002 
+ 00011693  0x000034a3 call  0x00002dd2 
+ 00011694  0x000034a4 fetcht  0x00000002 , 0x000009fb 
+ 00011695  0x000034a5 rshift8  0x00000002 , 0x0000003f 
+ 00011696  0x000034a6 rshift4  0x0000003f , 0x0000003f 
+ 00011697  0x000034a7 beq  0x0000000c , 0x00002db8 
+ 00011698  0x000034a8 call  0x00002dbd 
+ 00011699  0x000034a9 nrtn  0x00000028 
+ 00011700  0x000034aa setarg  0x00000000 
+ 00011701  0x000034ab istore  0x00000002 , 0x00000011 
+ 00011702  0x000034ac fetch  0x00000002 , 0x00004a11 
+ 00011703  0x000034ad branch  0x00007e7a 
+ 00011704  0x000034b0 setarg  0xffffffff 
+ 00011705  0x000034b1 istore  0x00000008 , 0x00000011 
+ 00011706  0x000034b2 istore  0x00000008 , 0x00000005 
+ 00011707  0x000034b3 fetch  0x00000002 , 0x00004a11 
+ 00011708  0x000034b4 branch  0x00007e7a 
+ 00011709  0x000034b7 arg  0x00000008 , 0x00000039 
+ 00011710  0x000034b9 ifetch  0x00000002 , 0x00000011 
+ 00011711  0x000034ba arg  0x0000ffff , 0x00000012 
+ 00011712  0x000034bb isub  0x00000012 , 0x0000003e 
+ 00011713  0x000034bc branch  0x00007ec5 , 0x00000005 
+ 00011714  0x000034bd isub  0x00000002 , 0x0000003e 
+ 00011715  0x000034be branch  0x00007ec5 , 0x00000005 
+ 00011716  0x000034c0 increase  0x00000002 , 0x00000011 
+ 00011717  0x000034c1 loop  0x00002dbe 
+ 00011718  0x000034c2 call  0x00007ec7 
+ 00011719  0x000034c3 rtn 
+ 00011720  0x000034c7 setarg  0x00000080 
+ 00011721  0x000034c8 store  0x00000001 , 0x00000a10 
+ 00011722  0x000034c9 setarg  0x0000001f 
+ 00011723  0x000034ca istore  0x00000001 , 0x00000005 
+ 00011724  0x000034cb setarg  0x00000000 
+ 00011725  0x000034cc istore  0x00000001 , 0x00000005 
+ 00011726  0x000034cd fetch  0x00000006 , 0x000009f9 
+ 00011727  0x000034ce istore  0x00000006 , 0x00000005 
+ 00011728  0x000034cf jam  0x00000009 , 0x00000a0f 
+ 00011729  0x000034d0 branch  0x0000305d 
+ 00011730  0x000034d3 call  0x00002e14 
+ 00011731  0x000034d4 add  0x00000011 , 0x00000006 , 0x00000011 
+ 00011732  0x000034d5 fetch  0x00000002 , 0x000009f9 
+ 00011733  0x000034d6 fetcht  0x00000002 , 0x00004987 
+ 00011734  0x000034d7 byteswap  0x00000002 , 0x00000002 
+ 00011735  0x000034d8 isub  0x00000002 , 0x0000003f 
+ 00011736  0x000034d9 imul32  0x00000012 , 0x0000003f 
+ 00011737  0x000034da iadd  0x00000011 , 0x00000011 
+ 00011738  0x000034db rtn 
+ 00011739  0x000034de fetcht  0x00000002 , 0x000009fb 
+ 00011740  0x000034df arg  0x00000008 , 0x00000039 
+ 00011741  0x000034e1 ifetch  0x00000002 , 0x00000011 
+ 00011742  0x000034e2 branch  0x00002de5 , 0x00000034 
+ 00011743  0x000034e3 arg  0x0000ffff , 0x00000012 
+ 00011744  0x000034e4 isub  0x00000012 , 0x0000003e 
+ 00011745  0x000034e5 branch  0x00002de5 , 0x00000005 
+ 00011746  0x000034e6 increase  0x00000002 , 0x00000011 
+ 00011747  0x000034e7 loop  0x00002ddd 
+ 00011748  0x000034e8 rtn 
+ 00011749  0x000034eb byteswap  0x00000002 , 0x00000002 
+ 00011750  0x000034ec istoret  0x00000002 , 0x00000011 
+ 00011751  0x000034ed rtn 
+ 00011752  0x000034f3 call  0x00006e66 
+ 00011753  0x000034f5 setarg  0x00002930 
+ 00011754  0x000034f6 store  0x00000002 , 0x000049ed 
+ 00011755  0x000034f8 setarg  0x00002e18 
+ 00011756  0x000034f9 store  0x00000002 , 0x00004465 
+ 00011757  0x000034fb setarg  0x00002f9f 
+ 00011758  0x000034fc store  0x00000002 , 0x00004a0b 
+ 00011759  0x000034fe setarg  0x000029c3 
+ 00011760  0x000034ff store  0x00000002 , 0x000049f1 
+ 00011761  0x00003501 setarg  0x000029d6 
+ 00011762  0x00003502 store  0x00000002 , 0x00004a11 
+ 00011763  0x00003504 setarg  0x000029d2 
+ 00011764  0x00003505 store  0x00000002 , 0x00004a0f 
+ 00011765  0x00003507 setarg  0x00002e1d 
+ 00011766  0x00003508 store  0x00000002 , 0x0000446f 
+ 00011767  0x0000350a setarg  0x0000273c 
+ 00011768  0x0000350b store  0x00000002 , 0x000049ef 
+ 00011769  0x0000350d setarg  0x00002926 
+ 00011770  0x0000350e store  0x00000002 , 0x000049f7 
+ 00011771  0x00003510 setarg  0x0000300b 
+ 00011772  0x00003511 store  0x00000002 , 0x0000446b 
+ 00011773  0x00003513 setarg  0x00003014 
+ 00011774  0x00003514 store  0x00000002 , 0x00004467 
+ 00011775  0x00003516 jam  0x00000024 , 0x000047d1 
+ 00011776  0x00003517 call  0x0000284b 
+ 00011777  0x00003519 bpatchx  0x000000f9 , 0x0000403f 
+ 00011778  0x0000351a call  0x00002a01 
+ 00011779  0x0000351b call  0x00002e28 
+ 00011780  0x0000351c arg  0x00004976 , 0x00000011 
+ 00011781  0x0000351d arg  0x00000000 , 0x00000012 
+ 00011782  0x0000351e arg  0x00000001 , 0x00000039 
+ 00011783  0x0000351f call  0x000029e6 
+ 00011784  0x00003521 call  0x00002995 
+ 00011785  0x00003522 call  0x00002e10 
+ 00011786  0x00003523 fetch  0x00000001 , 0x00004976 
+ 00011787  0x00003524 beq  0x000000ff , 0x00002c3b 
+ 00011788  0x00003526 call  0x00002b0e 
+ 00011789  0x00003527 call  0x00002b00 
+ 00011790  0x00003528 call  0x00002ae8 
+ 00011791  0x00003529 branch  0x000027ff 
+ 00011792  0x0000352d fetch  0x00000006 , 0x000049d7 
+ 00011793  0x0000352e call  0x00007dbb 
+ 00011794  0x0000352f store  0x00000006 , 0x0000437a 
+ 00011795  0x00003530 rtn 
+ 00011796  0x00003533 fetchr  0x00000039 , 0x00000001 , 0x00004a17 
+ 00011797  0x00003534 fetchr  0x00000011 , 0x00000002 , 0x00004a18 
+ 00011798  0x00003535 fetchr  0x00000012 , 0x00000002 , 0x00004a1a 
+ 00011799  0x00003536 rtn 
+ 00011800  0x0000353a call  0x0000284d 
+ 00011801  0x0000353b call  0x00002a16 
+ 00011802  0x0000353c call  0x00003086 
+ 00011803  0x0000353d call  0x000028dc 
+ 00011804  0x0000353e branch  0x00002919 
+ 00011805  0x00003542 call  0x00002a18 
+ 00011806  0x00003543 branch  0x00002d8f 
+ 00011807  0x00003547 call  0x00002e14 
+ 00011808  0x00003549 call  0x00002f25 
+ 00011809  0x0000354a copy  0x00000013 , 0x0000003f 
+ 00011810  0x0000354b call  0x00007e7a 
+ 00011811  0x0000354c call  0x00002f2a 
+ 00011812  0x0000354d copy  0x00000012 , 0x0000003f 
+ 00011813  0x0000354e iadd  0x00000011 , 0x00000011 
+ 00011814  0x0000354f loop  0x00002e20 
+ 00011815  0x00003550 rtn 
+ 00011816  0x00003555 jam  0x0000003f , 0x00008072 
+ 00011817  0x00003556 jam  0x0000006c , 0x00008071 
+ 00011818  0x00003557 jam  0x0000006d , 0x00008070 
+ 00011819  0x00003558 branch  0x00005e5c 
+ 00011820  0x0000355c bpatchx  0x000000fa , 0x0000403f 
+ 00011821  0x0000355d fetch  0x00000001 , 0x00000c14 
+ 00011822  0x0000355e bbit1  0x00000007 , 0x00002e31 
+ 00011823  0x0000355f jam  0x00000000 , 0x00004b29 
+ 00011824  0x00003560 branch  0x00003021 
+ 00011825  0x00003564 call  0x00002e37 
+ 00011826  0x00003565 rtn  0x00000028 
+ 00011827  0x00003566 call  0x00002e58 
+ 00011828  0x00003567 rtn  0x00000028 
+ 00011829  0x00003568 call  0x00002e68 
+ 00011830  0x00003569 branch  0x00002e75 
+ 00011831  0x0000356e call  0x00007ec7 
+ 00011832  0x0000356f arg  0x00000003 , 0x00000039 
+ 00011833  0x00003570 arg  0x00000c15 , 0x00000011 
+ 00011834  0x00003571 call  0x00007dac 
+ 00011835  0x00003572 fetchr  0x00000011 , 0x00000003 , 0x00000c15 
+ 00011836  0x00003573 and  0x00000011 , 0x0000001f , 0x00000002 
+ 00011837  0x00003574 storet  0x00000001 , 0x00004a20 
+ 00011838  0x00003575 fetch  0x00000001 , 0x00004a27 
+ 00011839  0x00003576 isub  0x00000002 , 0x0000003e 
+ 00011840  0x00003577 nbranch  0x00007ec5 , 0x00000002 
+ 00011841  0x00003579 rshift4  0x00000011 , 0x0000003f 
+ 00011842  0x0000357a rshift  0x0000003f , 0x0000003f 
+ 00011843  0x0000357b and  0x0000003f , 0x0000001f , 0x00000002 
+ 00011844  0x0000357c storet  0x00000001 , 0x00004a1f 
+ 00011845  0x0000357d rshift4  0x0000003f , 0x0000003f 
+ 00011846  0x0000357e rshift  0x0000003f , 0x0000003f 
+ 00011847  0x0000357f arg  0x00001fff , 0x00000011 
+ 00011848  0x00003580 iand  0x00000011 , 0x00000002 
+ 00011849  0x00003581 copy  0x0000003f , 0x00000012 
+ 00011850  0x00003582 fetch  0x00000002 , 0x00004a1d 
+ 00011851  0x00003583 isub  0x00000002 , 0x0000003e 
+ 00011852  0x00003584 ncall  0x00002e54 , 0x00000005 
+ 00011853  0x00003585 storet  0x00000002 , 0x00004a1d 
+ 00011854  0x00003586 rshift8  0x00000012 , 0x0000003f 
+ 00011855  0x00003587 rshift4  0x0000003f , 0x0000003f 
+ 00011856  0x00003588 rshift  0x0000003f , 0x0000003f 
+ 00011857  0x00003589 store  0x00000001 , 0x00004a1c 
+ 00011858  0x0000358a store  0x00000001 , 0x00004b29 
+ 00011859  0x0000358b rtn 
+ 00011860  0x0000358e setarg  0x00000000 
+ 00011861  0x0000358f store  0x00000004 , 0x00004a21 
+ 00011862  0x00003590 jam  0x00000000 , 0x00004a26 
+ 00011863  0x00003591 rtn 
+ 00011864  0x00003597 call  0x00007ec7 
+ 00011865  0x00003598 fetch  0x00000001 , 0x00004a1f 
+ 00011866  0x00003599 copy  0x0000003f , 0x00000007 
+ 00011867  0x0000359a fetch  0x00000004 , 0x00004a21 
+ 00011868  0x0000359b qisolate1  0x0000003f 
+ 00011869  0x0000359c branch  0x00007ec5 , 0x00000001 
+ 00011870  0x0000359d qset1  0x0000003f 
+ 00011871  0x0000359e store  0x00000004 , 0x00004a21 
+ 00011872  0x0000359f fetcht  0x00000001 , 0x00004a20 
+ 00011873  0x000035a0 add  0x00000002 , 0x00000001 , 0x00000039 
+ 00011874  0x000035a2 add  0x00000039 , 0xffffffff , 0x00000007 
+ 00011875  0x000035a3 qisolate1  0x0000003f 
+ 00011876  0x000035a4 nrtn  0x00000001 
+ 00011877  0x000035a5 loop  0x00002e62 
+ 00011878  0x000035a6 jam  0x00000001 , 0x00004a25 
+ 00011879  0x000035a7 rtn 
+ 00011880  0x000035ac fetch  0x00000001 , 0x00000c0a 
+ 00011881  0x000035ad pincrease  0xfffffffa 
+ 00011882  0x000035ae copy  0x0000003f , 0x00000039 
+ 00011883  0x000035af fetcht  0x00000001 , 0x00004a26 
+ 00011884  0x000035b0 iadd  0x00000002 , 0x00000002 
+ 00011885  0x000035b1 storet  0x00000001 , 0x00004a26 
+ 00011886  0x000035b2 fetch  0x00000002 , 0x00004a28 
+ 00011887  0x000035b3 iforce  0x00000005 
+ 00011888  0x000035b4 fetch  0x00000001 , 0x00004a1f 
+ 00011889  0x000035b5 mul32  0x0000003f , 0x0000000c , 0x0000003f 
+ 00011890  0x000035b6 iadd  0x00000005 , 0x00000005 
+ 00011891  0x000035b7 arg  0x00000c18 , 0x00000006 
+ 00011892  0x000035b8 branch  0x00007dd4 
+ 00011893  0x000035bc fetch  0x00000001 , 0x00004a25 
+ 00011894  0x000035bd rtneq  0x00000000 
+ 00011895  0x000035be setarg  0x00000000 
+ 00011896  0x000035bf store  0x00000005 , 0x00004a21 
+ 00011897  0x000035c0 fetcht  0x00000002 , 0x00000c0e 
+ 00011898  0x000035c1 byteswap  0x00000002 , 0x00000002 
+ 00011899  0x000035c2 setarg  0x0000e000 
+ 00011900  0x000035c3 iand  0x00000002 , 0x00000002 
+ 00011901  0x000035c4 fetch  0x00000002 , 0x00004a1d 
+ 00011902  0x000035c5 ior  0x00000002 , 0x0000003f 
+ 00011903  0x000035c6 byteswap  0x0000003f , 0x0000003f 
+ 00011904  0x000035c7 store  0x00000002 , 0x00000c0e 
+ 00011905  0x000035c8 branch  0x0000302b 
+ 00011906  0x000035cd fetch  0x00000001 , 0x00000a0f 
+ 00011907  0x000035ce add  0x0000003f , 0x00000001 , 0x00000002 
+ 00011908  0x000035cf copy  0x0000003f , 0x00000039 
+ 00011909  0x000035d0 storet  0x00000001 , 0x00000bff 
+ 00011910  0x000035d1 fetch  0x00000001 , 0x00000c14 
+ 00011911  0x000035d2 set0  0x00000007 , 0x0000003f 
+ 00011912  0x000035d3 store  0x00000001 , 0x00004b61 
+ 00011913  0x000035d4 arg  0x00000a10 , 0x00000006 
+ 00011914  0x000035d5 call  0x00007dc7 
+ 00011915  0x000035d6 branch  0x00002fdb 
+ 00011916  0x000035dc add  0x00000011 , 0x00000004 , 0x00000002 
+ 00011917  0x000035dd copy  0x00000011 , 0x00000039 
+ 00011918  0x000035de storet  0x00000001 , 0x00000bff 
+ 00011919  0x000035df arg  0x00004b65 , 0x00000005 
+ 00011920  0x000035e0 call  0x00007dc7 
+ 00011921  0x000035e1 fetch  0x00000001 , 0x00000c14 
+ 00011922  0x000035e2 set1  0x00000007 , 0x0000003f 
+ 00011923  0x000035e3 store  0x00000001 , 0x00004b61 
+ 00011924  0x000035e4 branch  0x00002fdb 
+ 00011925  0x000035ea fetch  0x00000001 , 0x000009f8 
+ 00011926  0x000035ec beq  0x00000001 , 0x00002e9c 
+ 00011927  0x000035ed beq  0x00000002 , 0x00002ea2 
+ 00011928  0x000035ee beq  0x00000042 , 0x00002ea7 
+ 00011929  0x000035ef beq  0x0000004c , 0x00002eaa 
+ 00011930  0x000035f0 beq  0x0000005e , 0x00002eb0 
+ 00011931  0x000035f1 rtn 
+ 00011932  0x000035f5 arg  0x00002e9e , 0x00000013 
+ 00011933  0x000035f6 branch  0x00002f14 
+ 00011934  0x000035fa fetch  0x00000002 , 0x000049f9 
+ 00011935  0x000035fb call  0x00007e7a 
+ 00011936  0x000035fc store  0x00000001 , 0x000009f9 
+ 00011937  0x000035fd branch  0x0000276d 
+ 00011938  0x00003601 arg  0x00002ea4 , 0x00000013 
+ 00011939  0x00003602 branch  0x00002f14 
+ 00011940  0x00003604 call  0x0000276d 
+ 00011941  0x00003605 fetch  0x00000002 , 0x000049fb 
+ 00011942  0x00003606 branch  0x00007e7a 
+ 00011943  0x0000360b call  0x00002785 
+ 00011944  0x0000360c fetch  0x00000002 , 0x000049fd 
+ 00011945  0x0000360d branch  0x00007e7a 
+ 00011946  0x00003611 fetch  0x00000002 , 0x000009f9 
+ 00011947  0x00003612 call  0x00002ebf 
+ 00011948  0x00003613 store  0x00000001 , 0x000009fe 
+ 00011949  0x00003614 call  0x00002775 
+ 00011950  0x00003615 fetch  0x00000002 , 0x000049ff 
+ 00011951  0x00003616 branch  0x00007e7a 
+ 00011952  0x0000361a fetch  0x00000002 , 0x00004a2a 
+ 00011953  0x0000361b fetcht  0x00000002 , 0x000009fb 
+ 00011954  0x0000361c isub  0x00000002 , 0x0000003e 
+ 00011955  0x0000361d rtn  0x00000005 
+ 00011956  0x0000361f fetch  0x00000002 , 0x000009fb 
+ 00011957  0x00003620 call  0x00002ed1 
+ 00011958  0x00003621 store  0x00000001 , 0x00000a03 
+ 00011959  0x00003623 fetch  0x00000002 , 0x000009fb 
+ 00011960  0x00003624 store  0x00000002 , 0x00004a2a 
+ 00011961  0x00003625 fetch  0x00000002 , 0x00004a01 
+ 00011962  0x00003626 call  0x00007e7a 
+ 00011963  0x00003627 storet  0x00000002 , 0x000009f9 
+ 00011964  0x00003628 call  0x0000277d 
+ 00011965  0x00003629 fetch  0x00000002 , 0x00004a03 
+ 00011966  0x0000362a branch  0x00007e7a 
+ 00011967  0x00003630 rtn  0x00000034 
+ 00011968  0x00003631 mul32  0x0000003f , 0x00000064 , 0x0000003f 
+ 00011969  0x00003632 arg  0x0000ffff , 0x00000002 
+ 00011970  0x00003633 idiv  0x00000002 
+ 00011971  0x00003634 call  0x00007e64 
+ 00011972  0x00003635 remainder  0x00000002 
+ 00011973  0x00003636 rshift8  0x00000002 , 0x00000002 
+ 00011974  0x00003637 quotient  0x0000003f 
+ 00011975  0x00003638 sub  0x00000002 , 0x000000ff , 0x0000003e 
+ 00011976  0x00003639 nrtn  0x00000005 
+ 00011977  0x0000363a pincrease  0x00000001 
+ 00011978  0x0000363b rtn 
+ 00011979  0x00003641 arg  0x0000ffff , 0x0000003f 
+ 00011980  0x00003642 imul32  0x00000002 , 0x0000003f 
+ 00011981  0x00003643 div  0x0000003f , 0x00000064 
+ 00011982  0x00003644 call  0x00007e64 
+ 00011983  0x00003645 quotient  0x00000002 
+ 00011984  0x00003646 rtn 
+ 00011985  0x0000364b arg  0x00000320 , 0x00000002 
+ 00011986  0x0000364c isub  0x00000002 , 0x00000011 
+ 00011987  0x0000364d call  0x00002ee0 
+ 00011988  0x0000364e copy  0x00000011 , 0x0000003f 
+ 00011989  0x0000364f idiv  0x00000002 
+ 00011990  0x00003650 call  0x00007e64 
+ 00011991  0x00003651 quotient  0x0000003f 
+ 00011992  0x00003652 rtn 
+ 00011993  0x00003658 copy  0x00000002 , 0x00000011 
+ 00011994  0x00003659 call  0x00002ee0 
+ 00011995  0x0000365a copy  0x00000011 , 0x0000003f 
+ 00011996  0x0000365b imul32  0x00000002 , 0x0000003f 
+ 00011997  0x0000365c arg  0x00000320 , 0x00000002 
+ 00011998  0x0000365d iadd  0x00000002 , 0x00000002 
+ 00011999  0x0000365e rtn 
+ 00012000  0x00003661 setarg  0x00004e20 
+ 00012001  0x00003662 arg  0x00000320 , 0x00000002 
+ 00012002  0x00003663 isub  0x00000002 , 0x0000003f 
+ 00012003  0x00003664 div  0x0000003f , 0x00000064 
+ 00012004  0x00003665 call  0x00007e64 
+ 00012005  0x00003666 quotient  0x00000002 
+ 00012006  0x00003667 rtn 
+ 00012007  0x0000366d arg  0x00000000 , 0x00000007 
+ 00012008  0x0000366e fetchr  0x00000039 , 0x00000001 , 0x00004a17 
+ 00012009  0x0000366f call  0x00007ec7 
+ 00012010  0x00003670 fetch  0x00000002 , 0x00004987 
+ 00012011  0x00003672 isub  0x00000002 , 0x0000003e 
+ 00012012  0x00003673 branch  0x00002ef3 , 0x00000005 
+ 00012013  0x00003674 byteswap  0x0000003f , 0x0000003f 
+ 00012014  0x00003675 pincrease  0x00000001 
+ 00012015  0x00003676 byteswap  0x0000003f , 0x0000003f 
+ 00012016  0x00003677 increase  0x00000001 , 0x00000007 
+ 00012017  0x00003678 loop  0x00002eeb 
+ 00012018  0x00003679 rtn 
+ 00012019  0x0000367c jam  0x00000000 , 0x00004a2c 
+ 00012020  0x0000367d storer  0x00000007 , 0x00000001 , 0x00004a2d 
+ 00012021  0x0000367e call  0x00002f2f 
+ 00012022  0x0000367f branch  0x00007ec5 
+ 00012023  0x00003683 arg  0x00000000 , 0x00000007 
+ 00012024  0x00003684 arg  0x00000000 , 0x00000013 
+ 00012025  0x00003685 call  0x00002e14 
+ 00012026  0x00003686 call  0x00007ec7 
+ 00012027  0x00003688 fetch  0x00000002 , 0x00004a15 
+ 00012028  0x00003689 bbit0  0x00000002 , 0x00002f0a 
+ 00012029  0x0000368a ifetch  0x00000002 , 0x00000011 
+ 00012030  0x0000368b isub  0x00000002 , 0x0000003e 
+ 00012031  0x0000368c call  0x00002f08 , 0x00000005 
+ 00012032  0x0000368e copy  0x00000012 , 0x0000003f 
+ 00012033  0x0000368f iadd  0x00000011 , 0x00000011 
+ 00012034  0x00003690 increase  0x00000001 , 0x00000007 
+ 00012035  0x00003691 loop  0x00002efb 
+ 00012036  0x00003692 copy  0x00000013 , 0x0000003f 
+ 00012037  0x00003693 rtn  0x00000034 
+ 00012038  0x00003694 store  0x00000001 , 0x00004a2c 
+ 00012039  0x00003695 branch  0x00007ec5 
+ 00012040  0x00003698 qset1  0x00000013 
+ 00012041  0x00003699 rtn 
+ 00012042  0x0000369c add  0x00000011 , 0x00000006 , 0x00000006 
+ 00012043  0x0000369d arg  0x00000008 , 0x00000030 
+ 00012044  0x0000369f ifetch  0x00000002 , 0x00000006 
+ 00012045  0x000036a0 isub  0x00000002 , 0x0000003e 
+ 00012046  0x000036a1 branch  0x00002f12 , 0x00000005 
+ 00012047  0x000036a2 increase  0xffffffff , 0x00000030 
+ 00012048  0x000036a3 branch  0x00002f00 , 0x00000005 
+ 00012049  0x000036a4 branch  0x00002f0c 
+ 00012050  0x000036a7 call  0x00002f08 
+ 00012051  0x000036a8 branch  0x00002f00 
+ 00012052  0x000036ab arg  0x00000000 , 0x00000007 
+ 00012053  0x000036ac fetch  0x00000001 , 0x00004a2c 
+ 00012054  0x000036ad branch  0x00002f20 , 0x00000034 
+ 00012055  0x000036ae copy  0x0000003f , 0x00000012 
+ 00012056  0x000036af fetchr  0x00000039 , 0x00000001 , 0x00004a17 
+ 00012057  0x000036b1 storer  0x00000007 , 0x00000001 , 0x00004a2d 
+ 00012058  0x000036b3 qisolate1  0x00000012 
+ 00012059  0x000036b4 call  0x00002f20 , 0x00000001 
+ 00012060  0x000036b5 fetchr  0x00000007 , 0x00000001 , 0x00004a2d 
+ 00012061  0x000036b6 increase  0x00000001 , 0x00000007 
+ 00012062  0x000036b7 loop  0x00002f19 
+ 00012063  0x000036b8 rtn 
+ 00012064  0x000036bb call  0x00002f25 
+ 00012065  0x000036bc call  0x00002f2f 
+ 00012066  0x000036bd copy  0x00000013 , 0x0000003f 
+ 00012067  0x000036be call  0x00007e7a 
+ 00012068  0x000036bf branch  0x00002f2a 
+ 00012069  0x000036c2 storer  0x00000039 , 0x00000002 , 0x00000c00 
+ 00012070  0x000036c3 storer  0x00000011 , 0x00000002 , 0x00000c02 
+ 00012071  0x000036c4 storer  0x00000012 , 0x00000002 , 0x00000c04 
+ 00012072  0x000036c5 storer  0x00000013 , 0x00000002 , 0x00000c06 
+ 00012073  0x000036c6 rtn 
+ 00012074  0x000036c9 fetchr  0x00000039 , 0x00000002 , 0x00000c00 
+ 00012075  0x000036ca fetchr  0x00000011 , 0x00000002 , 0x00000c02 
+ 00012076  0x000036cb fetchr  0x00000012 , 0x00000002 , 0x00000c04 
+ 00012077  0x000036cc fetchr  0x00000013 , 0x00000002 , 0x00000c06 
+ 00012078  0x000036cd rtn 
+ 00012079  0x000036d1 bpatchx  0x000000fb , 0x0000403f 
+ 00012080  0x000036d2 fetch  0x00000002 , 0x00004987 
+ 00012081  0x000036d3 byteswap  0x0000003f , 0x0000003f 
+ 00012082  0x000036d4 iadd  0x00000007 , 0x0000003f 
+ 00012083  0x000036d5 byteswap  0x0000003f , 0x0000003f 
+ 00012084  0x000036d6 store  0x00000002 , 0x00004b55 
+ 00012085  0x000036d7 call  0x00002e14 
+ 00012086  0x000036d8 copy  0x00000007 , 0x0000003f 
+ 00012087  0x000036d9 imul32  0x00000012 , 0x0000003f 
+ 00012088  0x000036da iadd  0x00000011 , 0x00000011 
+ 00012089  0x000036db add  0x00000011 , 0x00000017 , 0x00000006 
+ 00012090  0x000036dc ifetch  0x00000002 , 0x00000006 
+ 00012091  0x000036dd store , 0x00000002 , 0x0000448c 
+ 00012092  0x000036de rtn 
+ 00012093  0x000036e4 jam  0x00000000 , 0x00000c3a 
+ 00012094  0x000036e9 sub  0x00000002 , 0x0000000c , 0x0000003e 
+ 00012095  0x000036ea rtn  0x00000002 
+ 00012096  0x000036eb sub  0x00000002 , 0x0000001e , 0x0000003e 
+ 00012097  0x000036ec nrtn  0x00000002 
+ 00012098  0x000036ed bpatchx  0x000000fc , 0x0000403f 
+ 00012099  0x000036ee call  0x00002f97 
+ 00012100  0x000036f0 call  0x00002f65 
+ 00012101  0x000036f1 nrtn  0x00000028 
+ 00012102  0x000036f3 call  0x00002b1f 
+ 00012103  0x000036f9 call  0x00002f8e 
+ 00012104  0x000036fa fetch  0x00000001 , 0x00000c0a 
+ 00012105  0x000036fb arg  0x00000c12 , 0x00000002 
+ 00012106  0x000036fc call  0x00002c09 
+ 00012107  0x000036fd nrtn  0x00000005 
+ 00012108  0x00003701 bpatchx  0x000000fd , 0x0000403f 
+ 00012109  0x00003702 fetcht  0x00000002 , 0x00000c12 
+ 00012110  0x00003703 call  0x00002ee7 
+ 00012111  0x00003704 branch  0x00002f72 , 0x00000028 
+ 00012112  0x00003705 arg  0x0000001d , 0x00000039 
+ 00012113  0x00003706 arg  0x00000a98 , 0x00000005 
+ 00012114  0x00003707 arg  0x00000c0b , 0x00000006 
+ 00012115  0x00003708 call  0x00007dd4 
+ 00012116  0x00003709 call  0x00002f5b 
+ 00012117  0x0000370a arg  0x0000001d , 0x00000039 
+ 00012118  0x0000370b arg  0x00000a98 , 0x00000006 
+ 00012119  0x0000370c arg  0x00000c0b , 0x00000005 
+ 00012120  0x0000370d call  0x00007dd4 
+ 00012121  0x0000370e fetch  0x00000002 , 0x00004a0b 
+ 00012122  0x0000370f branch  0x00007e7a 
+ 00012123  0x00003712 call  0x00002ef7 
+ 00012124  0x00003713 branch  0x00002f72 , 0x00000028 
+ 00012125  0x00003714 jam  0x000000ff , 0x00004a2c 
+ 00012126  0x00003715 setarg  0x0000ffcf 
+ 00012127  0x00003716 isub  0x00000002 , 0x0000003e 
+ 00012128  0x00003717 branch  0x00002f72 , 0x00000005 
+ 00012129  0x00003718 setarg  0x0000ffff 
+ 00012130  0x00003719 isub  0x00000002 , 0x0000003e 
+ 00012131  0x0000371a branch  0x00002f72 , 0x00000005 
+ 00012132  0x0000371b rtn 
+ 00012133  0x0000371f call  0x00007ec7 
+ 00012134  0x00003720 fetcht  0x00000001 , 0x00000c0b 
+ 00012135  0x00003721 rshift4  0x00000002 , 0x0000003f 
+ 00012136  0x00003722 rshift3  0x0000003f , 0x0000003f 
+ 00012137  0x00003723 fetchr  0x00000011 , 0x00000001 , 0x00004a31 
+ 00012138  0x00003724 and  0x00000011 , 0x00000001 , 0x00000011 
+ 00012139  0x00003725 isub  0x00000011 , 0x0000003e 
+ 00012140  0x00003726 nrtn  0x00000005 
+ 00012141  0x00003727 and  0x00000002 , 0x0000007f , 0x00000002 
+ 00012142  0x00003728 fetch  0x00000001 , 0x000048d4 
+ 00012143  0x00003729 isub  0x00000002 , 0x0000003e 
+ 00012144  0x0000372a nrtn  0x00000005 
+ 00012145  0x0000372b branch  0x00007ec5 
+ 00012146  0x0000372f arg  0x00004a32 , 0x00000011 
+ 00012147  0x00003730 arg  0x0000000a , 0x00000039 
+ 00012148  0x00003732 fetcht  0x00000002 , 0x00000c10 
+ 00012149  0x00003733 ifetch  0x00000002 , 0x00000011 
+ 00012150  0x00003735 branch  0x00002f7c , 0x00000034 
+ 00012151  0x00003737 isub  0x00000002 , 0x0000003e 
+ 00012152  0x00003739 branch  0x00002f7d , 0x00000005 
+ 00012153  0x0000373a increase  0x00000005 , 0x00000011 
+ 00012154  0x0000373b loop  0x00002f74 
+ 00012155  0x0000373c arg  0x00004a32 , 0x00000011 
+ 00012156  0x0000373f istoret  0x00000002 , 0x00000011 
+ 00012157  0x00003741 storet  0x00000002 , 0x00000c35 
+ 00012158  0x00003743 add  0x00000011 , 0x00000002 , 0x00000013 
+ 00012159  0x00003744 ifetch  0x00000003 , 0x00000013 
+ 00012160  0x00003745 store  0x00000003 , 0x00000c37 
+ 00012161  0x00003746 branch  0x00002f82 
+ 00012162  0x0000374c call  0x00002f8b 
+ 00012163  0x0000374e fetch  0x00000003 , 0x00000c37 
+ 00012164  0x0000374f fetcht  0x00000003 , 0x00000c0d 
+ 00012165  0x00003750 isub  0x00000002 , 0x0000003e 
+ 00012166  0x00003751 rtn  0x00000002 
+ 00012167  0x00003752 istoret  0x00000003 , 0x00000013 
+ 00012168  0x00003753 call  0x00002f8b 
+ 00012169  0x00003754 call  0x00002fee 
+ 00012170  0x00003755 branch  0x00002e2c 
+ 00012171  0x00003758 arg  0x00000c0d , 0x00000011 
+ 00012172  0x00003759 arg  0x00000003 , 0x00000039 
+ 00012173  0x0000375a branch  0x00007dac 
+ 00012174  0x0000375f call  0x00002f91 
+ 00012175  0x00003761 arg  0x000048e5 , 0x00000006 
+ 00012176  0x00003762 branch  0x00006e26 
+ 00012177  0x00003764 arg  0x00000c28 , 0x00000005 
+ 00012178  0x00003765 setarg  0x00000000 
+ 00012179  0x00003766 istore  0x00000001 , 0x00000005 
+ 00012180  0x00003767 fetch  0x00000006 , 0x00000c0c 
+ 00012181  0x00003768 istore  0x00000008 , 0x00000005 
+ 00012182  0x00003769 branch  0x00002fe9 
+ 00012183  0x0000376d add  0x00000002 , 0xfffffff4 , 0x0000003f 
+ 00012184  0x00003777 store  0x00000001 , 0x00000c0a 
+ 00012185  0x00003778 arg  0x0000001d , 0x00000039 
+ 00012186  0x00003779 arg  0x00000c0b , 0x00000005 
+ 00012187  0x0000377a call  0x00007d9b 
+ 00012188  0x0000377b add  0x00000002 , 0xffffffff , 0x00000039 
+ 00012189  0x0000377c arg  0x00000c0b , 0x00000005 
+ 00012190  0x0000377d branch  0x00007dc7 
+ 00012191  0x00003781 call  0x00002fb6 
+ 00012192  0x00003782 nrtn  0x00000028 
+ 00012193  0x00003783 call  0x00002fcb 
+ 00012194  0x00003784 jam  0x0000000a , 0x00000a74 
+ 00012195  0x00003785 fetch  0x00000001 , 0x00000c0a 
+ 00012196  0x00003786 add  0x0000003f , 0x0000000d , 0x00000002 
+ 00012197  0x00003787 storet  0x00000001 , 0x00000a76 
+ 00012198  0x00003788 increase  0xffffffff , 0x00000002 
+ 00012199  0x00003789 istoret  0x00000001 , 0x00000005 
+ 00012200  0x0000378a setarg  0x0000002a 
+ 00012201  0x0000378b istore  0x00000001 , 0x00000005 
+ 00012202  0x0000378c add  0x00000002 , 0xffffffff , 0x00000039 
+ 00012203  0x0000378d fetch  0x00000007 , 0x00000c0b 
+ 00012204  0x0000378e arg  0x00000c0b , 0x00000006 
+ 00012205  0x0000378f call  0x00007dd4 
+ 00012206  0x00003790 fetch  0x00000002 , 0x0000478f 
+ 00012207  0x00003791 isolate1  0x00000009 , 0x0000003f 
+ 00012208  0x00003792 call  0x00002fb3 , 0x00000001 
+ 00012209  0x00003793 arg  0x00000a74 , 0x00000011 
+ 00012210  0x00003794 branch  0x000079aa 
+ 00012211  0x00003797 fetch  0x00000001 , 0x00000c3a 
+ 00012212  0x00003798 rtneq  0x00000002 
+ 00012213  0x00003799 branch  0x00003017 
+ 00012214  0x0000379d call  0x00007ec7 
+ 00012215  0x0000379e fetch  0x00000001 , 0x00000c3a 
+ 00012216  0x0000379f rtneq  0x00000001 
+ 00012217  0x000037a0 fetch  0x00000002 , 0x00004a15 
+ 00012218  0x000037a1 rtnbit1  0x00000001 
+ 00012219  0x000037a2 fetch  0x00000001 , 0x0000496b 
+ 00012220  0x000037a3 rtnne  0x00000000 
+ 00012221  0x000037a4 fetcht  0x00000002 , 0x00000c10 
+ 00012222  0x000037a5 call  0x00002ee7 
+ 00012223  0x000037a6 nrtn  0x00000028 
+ 00012224  0x000037a7 call  0x00002fd0 
+ 00012225  0x000037a8 nrtn  0x00000028 
+ 00012226  0x000037a9 call  0x00002fd3 
+ 00012227  0x000037aa fetch  0x00000001 , 0x00000c0c 
+ 00012228  0x000037ab rtn  0x00000034 
+ 00012229  0x000037ac pincrease  0xffffffff 
+ 00012230  0x000037ad rtn  0x00000034 
+ 00012231  0x000037ae store  0x00000001 , 0x00000c0c 
+ 00012232  0x000037af setarg  0x00004a8c 
+ 00012233  0x000037b0 store  0x00000002 , 0x0000448c 
+ 00012234  0x000037b1 branch  0x00007ec5 
+ 00012235  0x000037b4 call  0x00002f8e 
+ 00012236  0x000037b5 fetch  0x00000001 , 0x00000c0a 
+ 00012237  0x000037b6 arg  0x00000c12 , 0x00000002 
+ 00012238  0x000037b7 call  0x00002be8 
+ 00012239  0x000037b8 branch  0x00002b1f 
+ 00012240  0x000037bd setarg  0x00004a64 
+ 00012241  0x000037be store  0x00000002 , 0x00000bfd 
+ 00012242  0x000037bf branch  0x00002978 
+ 00012243  0x000037c3 arg  0x00000002 , 0x00000039 
+ 00012244  0x000037c4 arg  0x00000c12 , 0x00000011 
+ 00012245  0x000037c5 arg  0x00000021 , 0x00000012 
+ 00012246  0x000037c6 call  0x000029e6 
+ 00012247  0x000037c7 fetchr  0x00000039 , 0x00000001 , 0x00000be0 
+ 00012248  0x000037c8 fetchr  0x00000011 , 0x00000002 , 0x00000be1 
+ 00012249  0x000037c9 arg  0x00000021 , 0x00000012 
+ 00012250  0x000037ca branch  0x000029e4 
+ 00012251  0x000037cf bpatchx  0x000000fe , 0x0000403f 
+ 00012252  0x000037d0 call  0x00002fdf 
+ 00012253  0x000037d1 call  0x00002fe8 
+ 00012254  0x000037d2 branch  0x000028c3 
+ 00012255  0x000037d8 fetch  0x00000001 , 0x00000bff 
+ 00012256  0x000037d9 add  0x0000003f , 0x00000002 , 0x00000011 
+ 00012257  0x000037da pincrease  0x00000004 
+ 00012258  0x000037db store  0x00000001 , 0x00000bff 
+ 00012259  0x000037dc arg  0x00004b5f , 0x00000002 
+ 00012260  0x000037dd branch  0x00002fe5 
+ 00012261  0x000037e3 call  0x00002f8e 
+ 00012262  0x000037e4 copy  0x00000011 , 0x0000003f 
+ 00012263  0x000037e5 branch  0x00002be8 
+ 00012264  0x000037e9 branch  0x00002b1c 
+ 00012265  0x000037ee fetch  0x00000004 , 0x00004a2e 
+ 00012266  0x000037ef istore  0x00000004 , 0x00000005 
+ 00012267  0x000037f0 add  0x00000005 , 0xfffffff3 , 0x0000003f 
+ 00012268  0x000037f1 store  0x00000002 , 0x00000bde 
+ 00012269  0x000037f2 rtn 
+ 00012270  0x000037f5 fetch  0x00000001 , 0x00000c0a 
+ 00012271  0x000037f6 add  0x0000003f , 0x0000000b , 0x00000039 
+ 00012272  0x000037f7 arg  0x00000c0b , 0x00000011 
+ 00012273  0x000037f8 arg  0x00000020 , 0x00000012 
+ 00012274  0x000037f9 branch  0x000029e4 
+ 00012275  0x000037fe jam  0x00000014 , 0x000043e7 
+ 00012276  0x000037ff setarg  0x00000002 
+ 00012277  0x00003800 store  0x00000001 , 0x000043e8 
+ 00012278  0x00003801 setarg  0x00000001 
+ 00012279  0x00003802 istore  0x00000001 , 0x00000005 
+ 00012280  0x00003803 setarg  0x00000006 
+ 00012281  0x00003804 istore  0x00000001 , 0x00000005 
+ 00012282  0x00003805 setarg  0x00000003 
+ 00012283  0x00003806 istore  0x00000001 , 0x00000005 
+ 00012284  0x00003807 setarg  0x00000003 
+ 00012285  0x00003808 istore  0x00000001 , 0x00000005 
+ 00012286  0x00003809 setarg  0x00001828 
+ 00012287  0x0000380a istore  0x00000002 , 0x00000005 
+ 00012288  0x0000380b setarg  0x0000000c 
+ 00012289  0x0000380c istore  0x00000001 , 0x00000005 
+ 00012290  0x0000380d setarg  0x00000016 
+ 00012291  0x0000380e istore  0x00000001 , 0x00000005 
+ 00012292  0x0000380f setarg  0x00001828 
+ 00012293  0x00003810 istore  0x00000002 , 0x00000005 
+ 00012294  0x00003811 setarg  0x00000000 
+ 00012295  0x00003812 istore  0x00000001 , 0x00000005 
+ 00012296  0x00003813 fetch  0x00000008 , 0x00004963 
+ 00012297  0x00003814 istore  0x00000008 , 0x00000005 
+ 00012298  0x00003815 rtn 
+ 00012299  0x0000381b fetch  0x00000002 , 0x00004437 
+ 00012300  0x0000381c beq  0x0000000e , 0x0000300e 
+ 00012301  0x0000381d rtn 
+ 00012302  0x00003820 copy  0x00000012 , 0x00000002 
+ 00012303  0x00003821 ifetch  0x00000001 , 0x00000011 
+ 00012304  0x00003822 beq  0x00000000 , 0x00003012 
+ 00012305  0x00003823 rtn 
+ 00012306  0x00003826 jam  0x00000002 , 0x00000a97 
+ 00012307  0x00003827 branch  0x00002f3e 
+ 00012308  0x0000382b copy  0x00000013 , 0x0000003f 
+ 00012309  0x0000382c beq  0x00000015 , 0x00003279 
+ 00012310  0x0000382d rtn 
+ 00012311  0x00003831 call  0x00001b24 
+ 00012312  0x00003832 nrtn  0x00000034 
+ 00012313  0x00003833 fetch  0x00000001 , 0x00000a76 
+ 00012314  0x00003834 add  0x0000003f , 0xffffffff , 0x00000011 
+ 00012315  0x00003835 arg  0x00000010 , 0x00000002 
+ 00012316  0x00003836 call  0x00001e5f 
+ 00012317  0x00003837 setarg  0x00000000 
+ 00012318  0x00003838 istore  0x00000001 , 0x00000005 
+ 00012319  0x00003839 arg  0x00000a79 , 0x00000006 
+ 00012320  0x0000383a branch  0x00007d7d 
+ 00012321  0x00003841 bbit0  0x00000006 , 0x00003024 
+ 00012322  0x00003844 call  0x0000304a 
+ 00012323  0x00003845 branch  0x00003026 
+ 00012324  0x00003848 call  0x00003057 
+ 00012325  0x00003849 branch  0x00003026 
+ 00012326  0x0000384d fetch  0x00000001 , 0x00000c0a 
+ 00012327  0x0000384e pincrease  0xfffffff9 
+ 00012328  0x00003852 arg  0x00000c15 , 0x00000030 
+ 00012329  0x00003853 call  0x00007ec7 
+ 00012330  0x00003854 branch  0x00003038 
+ 00012331  0x00003858 fetch  0x00000001 , 0x00000c14 
+ 00012332  0x00003859 bbit0  0x00000006 , 0x0000302f 
+ 00012333  0x0000385b call  0x0000304a 
+ 00012334  0x0000385c branch  0x00003031 
+ 00012335  0x0000385e call  0x00003057 
+ 00012336  0x0000385f branch  0x00003031 
+ 00012337  0x00003863 fetch  0x00000001 , 0x00004b29 
+ 00012338  0x00003864 ncall  0x00007ec5 , 0x00000034 
+ 00012339  0x00003865 call  0x00007ec7 , 0x00000034 
+ 00012340  0x00003866 fetch  0x00000001 , 0x00004a26 
+ 00012341  0x00003867 pincrease  0xfffffffc 
+ 00012342  0x00003868 jam  0x00000000 , 0x00004a26 
+ 00012343  0x00003869 arg  0x00004bc6 , 0x00000030 
+ 00012344  0x0000386e copy  0x00000030 , 0x00000002 
+ 00012345  0x0000386f call  0x00003044 
+ 00012346  0x00003870 nrtn  0x00000005 
+ 00012347  0x00003871 arg  0x00000001 , 0x00000039 
+ 00012348  0x00003872 arg  0x00000be0 , 0x00000011 
+ 00012349  0x00003873 arg  0x00000040 , 0x00000012 
+ 00012350  0x00003874 call  0x000029e6 
+ 00012351  0x00003875 call  0x00003047 
+ 00012352  0x00003876 nrtn  0x00000028 
+ 00012353  0x00003877 fetch  0x00000002 , 0x00000be1 
+ 00012354  0x00003878 copy  0x0000003f , 0x00000030 
+ 00012355  0x00003879 branch  0x00002735 
+ 00012356  0x0000387c nbranch  0x00002c09 , 0x00000028 
+ 00012357  0x0000387d pincrease  0xfffffffc 
+ 00012358  0x0000387e branch  0x00002c07 
+ 00012359  0x00003882 setarg  0x00004b2a 
+ 00012360  0x00003883 store  0x00000002 , 0x00000bfd 
+ 00012361  0x00003884 branch  0x00002978 
+ 00012362  0x00003889 call  0x0000304d 
+ 00012363  0x0000388b arg  0x00004b19 , 0x00000006 
+ 00012364  0x0000388c branch  0x00006e26 
+ 00012365  0x0000388e arg  0x00000c28 , 0x00000005 
+ 00012366  0x0000388f setarg  0x00000001 
+ 00012367  0x00003890 istore  0x00000001 , 0x00000005 
+ 00012368  0x00003891 fetch  0x00000001 , 0x00004b29 
+ 00012369  0x00003892 arg  0x00000000 , 0x00000002 
+ 00012370  0x00003893 nsetflag  0x00000034 , 0x00000007 , 0x00000002 
+ 00012371  0x00003894 istoret  0x00000001 , 0x00000005 
+ 00012372  0x00003895 fetch  0x00000007 , 0x00000c0d 
+ 00012373  0x00003896 istore  0x00000007 , 0x00000005 
+ 00012374  0x00003897 branch  0x00002fe9 
+ 00012375  0x0000389c call  0x0000305a 
+ 00012376  0x0000389e arg  0x00004827 , 0x00000006 
+ 00012377  0x0000389f branch  0x00006e26 
+ 00012378  0x000038a1 arg  0x00000c28 , 0x00000005 
+ 00012379  0x000038a2 setarg  0x00000002 
+ 00012380  0x000038a3 branch  0x0000304f 
+ 00012381  0x000038ab bpatchx  0x000000ff , 0x0000403f 
+ 00012382  0x000038ac call  0x0000314b 
+ 00012383  0x000038ad call  0x0000314c 
+ 00012384  0x000038ae call  0x0000311b 
+ 00012385  0x000038b1 call  0x00003066 
+ 00012386  0x000038b2 rtn  0x00000028 
+ 00012387  0x000038b3 call  0x0000307e 
+ 00012388  0x000038b5 arg  0x00000c43 , 0x00000011 
+ 00012389  0x000038b6 branch  0x000079aa 
+ 00012390  0x000038bb call  0x00007ec7 
+ 00012391  0x000038bc arg  0x00000002 , 0x00000002 
+ 00012392  0x000038bd fetch  0x00000001 , 0x0000496b 
+ 00012393  0x000038be iadd  0x00000002 , 0x00000002 
+ 00012394  0x000038bf fetch  0x00000001 , 0x00000c3a 
+ 00012395  0x000038c0 sub  0x0000003f , 0x00000002 , 0x0000003e 
+ 00012396  0x000038c1 setflag  0x00000005 , 0x00000007 , 0x00000002 
+ 00012397  0x000038c2 fetch  0x00000001 , 0x00000c3a 
+ 00012398  0x000038c3 sub  0x0000003f , 0x00000001 , 0x0000003e 
+ 00012399  0x000038c4 setflag  0x00000005 , 0x00000006 , 0x00000002 
+ 00012400  0x000038c5 storet  0x00000001 , 0x00000c43 
+ 00012401  0x000038c6 fetch  0x00000009 , 0x00004b58 
+ 00012402  0x000038c7 store  0x00000009 , 0x00000c47 
+ 00012403  0x000038c8 fetch  0x00000001 , 0x00000a10 
+ 00012404  0x000038c9 rtnne  0x000000d4 
+ 00012405  0x000038ca fetch  0x00000001 , 0x0000496b 
+ 00012406  0x000038cb bne  0x00000000 , 0x00007ec5 
+ 00012407  0x000038cc fetch  0x00000001 , 0x00000a13 
+ 00012408  0x000038cd store  0x00000001 , 0x00000c46 
+ 00012409  0x000038ce fetch  0x00000001 , 0x00000c43 
+ 00012410  0x000038cf pincrease  0x00000001 
+ 00012411  0x000038d0 set1  0x00000005 , 0x0000003f 
+ 00012412  0x000038d1 store  0x00000001 , 0x00000c43 
+ 00012413  0x000038d2 rtn 
+ 00012414  0x000038d6 fetch  0x00000001 , 0x00000a0f 
+ 00012415  0x000038d7 copy  0x0000003f , 0x00000039 
+ 00012416  0x000038d8 store  0x00000001 , 0x00000c50 
+ 00012417  0x000038d9 fetch  0x00000001 , 0x00000c14 
+ 00012418  0x000038da store  0x00000001 , 0x00000c51 
+ 00012419  0x000038db arg  0x00000c56 , 0x00000005 
+ 00012420  0x000038dc arg  0x00000a10 , 0x00000006 
+ 00012421  0x000038dd branch  0x00007dd4 
+ 00012422  0x000038e1 arg  0x00003088 , 0x00000013 
+ 00012423  0x000038e2 branch  0x00002e1f 
+ 00012424  0x000038e6 add  0x00000011 , 0x00000016 , 0x00000006 
+ 00012425  0x000038e7 ifetch  0x00000001 , 0x00000006 
+ 00012426  0x000038e8 nrtn  0x00000034 
+ 00012427  0x000038e9 ifetch  0x00000002 , 0x00000006 
+ 00012428  0x000038ea store  0x00000002 , 0x0000448c 
+ 00012429  0x000038eb arg  0x00000c43 , 0x00000011 
+ 00012430  0x000038ec call  0x000079d2 
+ 00012431  0x000038ed nrtn  0x00000028 
+ 00012432  0x000038ee fetchr  0x00000011 , 0x00000002 , 0x00000c02 
+ 00012433  0x000038f0 fetcht  0x00000001 , 0x00000c43 
+ 00012434  0x000038f1 and  0x00000002 , 0x0000000f , 0x0000003f 
+ 00012435  0x000038f2 branch  0x000030ca , 0x00000034 
+ 00012436  0x000038f3 add  0x00000011 , 0x00000016 , 0x00000005 
+ 00012437  0x000038f4 setarg  0x00000001 
+ 00012438  0x000038f5 istore  0x00000001 , 0x00000005 
+ 00012439  0x000038f7 call  0x000030b4 
+ 00012440  0x000038f9 fetcht  0x00000001 , 0x00000c43 
+ 00012441  0x000038fa call  0x000030ba 
+ 00012442  0x000038fb add  0x00000011 , 0x00000019 , 0x00000005 
+ 00012443  0x000038fc istore  0x00000001 , 0x00000005 
+ 00012444  0x000038fe add  0x00000011 , 0x0000001a , 0x00000006 
+ 00012445  0x000038ff ifetch  0x00000001 , 0x00000006 
+ 00012446  0x00003900 isolate1  0x00000007 , 0x00000002 
+ 00012447  0x00003901 setflag  0x00000001 , 0x00000002 , 0x0000003f 
+ 00012448  0x00003902 add  0x00000011 , 0x0000001a , 0x00000005 
+ 00012449  0x00003903 istore  0x00000001 , 0x00000005 
+ 00012450  0x00003905 set1  0x00000004 , 0x00000002 
+ 00012451  0x00003907 increase  0xffffffff , 0x00000002 
+ 00012452  0x00003908 istoret  0x00000001 , 0x00000012 
+ 00012453  0x0000390a fetcht  0x00000001 , 0x00000c43 
+ 00012454  0x0000390b isolate1  0x00000004 , 0x00000002 
+ 00012455  0x0000390c nbranch  0x000030cf , 0x00000001 
+ 00012456  0x0000390d fetcht  0x00000001 , 0x00000c50 
+ 00012457  0x0000390e storet  0x00000001 , 0x00000a0f 
+ 00012458  0x0000390f copy  0x00000002 , 0x00000039 
+ 00012459  0x00003910 arg  0x00000a10 , 0x00000005 
+ 00012460  0x00003911 arg  0x00000c56 , 0x00000006 
+ 00012461  0x00003912 call  0x00007dd4 
+ 00012462  0x00003913 sub  0x00000002 , 0x0000000f , 0x0000003e 
+ 00012463  0x00003914 nbranch  0x000030b1 , 0x00000002 
+ 00012464  0x00003916 branch  0x00002e82 
+ 00012465  0x0000391a fetch  0x00000004 , 0x00000c52 
+ 00012466  0x0000391b store  0x00000004 , 0x00000c3e 
+ 00012467  0x0000391c branch  0x000030f0 
+ 00012468  0x00003920 fetch  0x00000001 , 0x00000c51 
+ 00012469  0x00003921 store  0x00000001 , 0x00000c14 
+ 00012470  0x00003923 fetch  0x00000009 , 0x00000c47 
+ 00012471  0x00003924 store  0x00000009 , 0x00004b58 
+ 00012472  0x00003925 store  0x00000009 , 0x00000c0b 
+ 00012473  0x00003926 rtn 
+ 00012474  0x0000392a setarg  0x00000003 
+ 00012475  0x0000392b call  0x000030c7 
+ 00012476  0x0000392c fetch  0x00000001 , 0x00000c46 
+ 00012477  0x0000392d isolate1  0x00000005 , 0x00000002 
+ 00012478  0x0000392e rtn  0x00000001 
+ 00012479  0x0000392f setarg  0x00000001 
+ 00012480  0x00003930 call  0x000030c7 
+ 00012481  0x00003931 setarg  0x00000000 
+ 00012482  0x00003932 isolate1  0x00000006 , 0x00000002 
+ 00012483  0x00003933 nrtn  0x00000001 
+ 00012484  0x00003934 setarg  0x00000002 
+ 00012485  0x00003935 call  0x000030c7 
+ 00012486  0x00003936 branch  0x00007ed1 
+ 00012487  0x00003939 add  0x00000011 , 0x0000001a , 0x00000005 
+ 00012488  0x0000393a istore  0x00000001 , 0x00000005 
+ 00012489  0x0000393b rtn 
+ 00012490  0x0000393f setarg  0x00000000 
+ 00012491  0x00003940 add  0x00000011 , 0x00000019 , 0x00000005 
+ 00012492  0x00003941 istore  0x00000001 , 0x00000005 
+ 00012493  0x00003942 arg  0x00000c43 , 0x00000011 
+ 00012494  0x00003943 branch  0x000079c1 
+ 00012495  0x00003946 call  0x00003113 
+ 00012496  0x00003947 call  0x00003127 
+ 00012497  0x00003948 fetch  0x00000009 , 0x00004b58 
+ 00012498  0x00003949 store  0x00000009 , 0x00000c47 
+ 00012499  0x0000394a call  0x000030e8 
+ 00012500  0x0000394b setarg  0x00000000 
+ 00012501  0x0000394c store  0x00000001 , 0x00004b29 
+ 00012502  0x0000394d call  0x00003109 
+ 00012503  0x0000394f fetcht  0x00000001 , 0x00000a0f 
+ 00012504  0x00003950 storet  0x00000001 , 0x00000c50 
+ 00012505  0x00003951 copy  0x00000002 , 0x00000039 
+ 00012506  0x00003952 arg  0x00000a10 , 0x00000006 
+ 00012507  0x00003953 arg  0x00000c56 , 0x00000005 
+ 00012508  0x00003954 call  0x00007dd4 
+ 00012509  0x00003956 sub  0x00000002 , 0x0000000f , 0x0000003e 
+ 00012510  0x00003957 nbranch  0x000030e2 , 0x00000002 
+ 00012511  0x0000395a arg  0x00000c44 , 0x00000011 
+ 00012512  0x0000395b call  0x000079e1 
+ 00012513  0x0000395c branch  0x00002e82 
+ 00012514  0x0000395f call  0x0000312f 
+ 00012515  0x00003960 fetch  0x00000004 , 0x00000c3e 
+ 00012516  0x00003961 store  0x00000004 , 0x00000c52 
+ 00012517  0x00003962 arg  0x00000c44 , 0x00000011 
+ 00012518  0x00003963 call  0x000079e1 
+ 00012519  0x00003964 branch  0x000030f0 
+ 00012520  0x00003967 fetch  0x00000001 , 0x00000c50 
+ 00012521  0x00003968 copy  0x0000003f , 0x00000039 
+ 00012522  0x00003969 store  0x00000001 , 0x00000a0f 
+ 00012523  0x0000396a fetch  0x00000001 , 0x00000c51 
+ 00012524  0x0000396b store  0x00000001 , 0x00000c14 
+ 00012525  0x0000396c arg  0x00000c56 , 0x00000006 
+ 00012526  0x0000396d arg  0x00000a10 , 0x00000005 
+ 00012527  0x0000396e branch  0x00007dd4 
+ 00012528  0x00003971 call  0x0000313c 
+ 00012529  0x00003972 setarg  0x00000a10 
+ 00012530  0x00003973 store  0x00000002 , 0x00000c3b 
+ 00012531  0x00003975 call  0x000030b4 
+ 00012532  0x00003976 call  0x00003113 
+ 00012533  0x00003977 call  0x00003127 
+ 00012534  0x00003979 fetcht  0x00000001 , 0x00000a0f 
+ 00012535  0x0000397a setarg  0x0000000c 
+ 00012536  0x0000397b call  0x00007ebb 
+ 00012537  0x0000397c copy  0x0000003f , 0x00000011 
+ 00012538  0x0000397d copy  0x00000002 , 0x0000003f 
+ 00012539  0x0000397e isub  0x00000011 , 0x0000003f 
+ 00012540  0x0000397f store  0x00000001 , 0x00000a0f 
+ 00012541  0x00003980 fetch  0x00000002 , 0x00000c3b 
+ 00012542  0x00003981 copy  0x0000003f , 0x00000006 
+ 00012543  0x00003982 iadd  0x00000011 , 0x00000002 
+ 00012544  0x00003983 storet  0x00000002 , 0x00000c3b 
+ 00012545  0x00003984 call  0x00002e8c 
+ 00012546  0x00003985 fetch  0x00000001 , 0x00000a0f 
+ 00012547  0x00003986 rtn  0x00000034 
+ 00012548  0x00003987 fetch  0x00000001 , 0x00000c40 
+ 00012549  0x00003988 pincrease  0x00000001 
+ 00012550  0x00003989 store  0x00000001 , 0x00000c40 
+ 00012551  0x0000398a call  0x0000313c 
+ 00012552  0x0000398b branch  0x000030f3 
+ 00012553  0x00003991 fetch  0x00000001 , 0x00000c14 
+ 00012554  0x00003992 bbit0  0x00000006 , 0x0000310d 
+ 00012555  0x00003994 call  0x0000304a 
+ 00012556  0x00003995 branch  0x0000310e 
+ 00012557  0x00003997 call  0x00003057 
+ 00012558  0x00003999 fetch  0x00000001 , 0x00000a0f 
+ 00012559  0x0000399a add  0x0000003f , 0x00000004 , 0x00000002 
+ 00012560  0x0000399b storet  0x00000001 , 0x00000a0f 
+ 00012561  0x0000399c arg  0x00000a10 , 0x00000002 
+ 00012562  0x0000399d branch  0x00002be8 
+ 00012563  0x000039a3 fetch  0x00000003 , 0x00004b52 
+ 00012564  0x000039a4 pincrease  0x00000001 
+ 00012565  0x000039a5 store  0x00000003 , 0x00004b52 
+ 00012566  0x000039a6 fetch  0x00000001 , 0x0000498f 
+ 00012567  0x000039a7 pincrease  0x00000001 
+ 00012568  0x000039a8 store  0x00000001 , 0x0000498f 
+ 00012569  0x000039a9 fetch  0x00000002 , 0x00004a0f 
+ 00012570  0x000039aa branch  0x00007e7a 
+ 00012571  0x000039af fetch  0x00000001 , 0x00004a31 
+ 00012572  0x000039b0 lshift4  0x0000003f , 0x0000003f 
+ 00012573  0x000039b1 lshift3  0x0000003f , 0x0000003f 
+ 00012574  0x000039b2 fetcht  0x00000001 , 0x000048d4 
+ 00012575  0x000039b3 ior  0x00000002 , 0x0000003f 
+ 00012576  0x000039b4 store  0x00000001 , 0x00004b58 
+ 00012577  0x000039b5 fetch  0x00000001 , 0x00004b57 
+ 00012578  0x000039b6 store  0x00000001 , 0x00004b59 
+ 00012579  0x000039b7 fetch  0x00000002 , 0x00004b55 
+ 00012580  0x000039b8 store  0x00000002 , 0x00004b5d 
+ 00012581  0x000039b9 fetch  0x00000002 , 0x00000c35 
+ 00012582  0x000039ba store  0x00000002 , 0x00004b5f 
+ 00012583  0x000039bd fetch  0x00000003 , 0x00004b52 
+ 00012584  0x000039be store  0x00000003 , 0x00004b5a 
+ 00012585  0x000039bf arg  0x00004b5a , 0x00000011 
+ 00012586  0x000039c0 arg  0x00000003 , 0x00000039 
+ 00012587  0x000039c1 call  0x00007dac 
+ 00012588  0x000039c2 fetch  0x00000008 , 0x00004b59 
+ 00012589  0x000039c3 store  0x00000008 , 0x00000c0c 
+ 00012590  0x000039c4 rtn 
+ 00012591  0x000039c7 fetch  0x00000001 , 0x00000a0f 
+ 00012592  0x000039c8 div  0x0000003f , 0x0000000c 
+ 00012593  0x000039c9 call  0x00007e64 
+ 00012594  0x000039ca quotient  0x00000002 
+ 00012595  0x000039cb remainder  0x0000003f 
+ 00012596  0x000039cc call  0x00003149 , 0x00000034 
+ 00012597  0x000039cd storet  0x00000001 , 0x00000c41 
+ 00012598  0x000039ce jam  0x00000000 , 0x00000c40 
+ 00012599  0x000039cf fetch  0x00000003 , 0x00004b52 
+ 00012600  0x000039d0 arg  0x00001fff , 0x00000002 
+ 00012601  0x000039d1 iand  0x00000002 , 0x0000003f 
+ 00012602  0x000039d2 store  0x00000002 , 0x00000c3e 
+ 00012603  0x000039d3 rtn 
+ 00012604  0x000039d6 fetch  0x00000002 , 0x00000c3e 
+ 00012605  0x000039d7 lshift4  0x0000003f , 0x0000003f 
+ 00012606  0x000039d8 lshift  0x0000003f , 0x0000003f 
+ 00012607  0x000039d9 fetcht  0x00000001 , 0x00000c40 
+ 00012608  0x000039da ior  0x00000002 , 0x0000003f 
+ 00012609  0x000039db lshift4  0x0000003f , 0x0000003f 
+ 00012610  0x000039dc lshift  0x0000003f , 0x0000003f 
+ 00012611  0x000039dd fetcht  0x00000001 , 0x00000c41 
+ 00012612  0x000039de ior  0x00000002 , 0x0000003f 
+ 00012613  0x000039df store  0x00000003 , 0x00004b62 
+ 00012614  0x000039e0 arg  0x00000003 , 0x00000039 
+ 00012615  0x000039e1 arg  0x00004b62 , 0x00000011 
+ 00012616  0x000039e2 branch  0x00007dac 
+ 00012617  0x000039e6 increase  0xffffffff , 0x00000002 
+ 00012618  0x000039e7 rtn 
+ 00012619  0x000039ea rtn 
+ 00012620  0x000039ee arg  0x00000a10 , 0x00000011 
+ 00012621  0x000039ef fetchr  0x00000039 , 0x00000001 , 0x00000a0f 
+ 00012622  0x000039f0 arg  0x00000041 , 0x00000012 
+ 00012623  0x000039f1 branch  0x000029e6 
+ 00012624  0x000039f4 bpatch  0x000000ad , 0x00004015 
+ 00012625  0x000039f5 fetch  0x00000001 , 0x0000409a 
+ 00012626  0x000039f6 branch  0x00003150 , 0x00000034 
+ 00012627  0x000039f7 beq  0x00000004 , 0x0000369a 
+ 00012628  0x000039f8 beq  0x0000000f , 0x000032b9 
+ 00012629  0x000039f9 beq  0x00000009 , 0x00004b23 
+ 00012630  0x000039fa beq  0x0000000a , 0x00003814 
+ 00012631  0x000039fb beq  0x0000000e , 0x0000345e 
+ 00012632  0x000039fc beq  0x0000000d , 0x00004a0d 
+ 00012633  0x000039fd beq  0x0000000c , 0x00004d18 
+ 00012634  0x000039fe beq  0x0000000b , 0x00002de8 
+ 00012635  0x000039ff beq  0x00000008 , 0x00003c75 
+ 00012636  0x00003a00 rtn 
+ 00012637  0x00003a03 jam  0x00000000 , 0x00000a51 
+ 00012638  0x00003a04 jam  0x00000000 , 0x000000e3 
+ 00012639  0x00003a05 jam  0x00000000 , 0x000000e4 
+ 00012640  0x00003a06 setarg  0x00000000 
+ 00012641  0x00003a07 store  0x00000005 , 0x00000870 
+ 00012642  0x00003a08 fetch  0x00000001 , 0x0000409a 
+ 00012643  0x00003a09 branch  0x0000315d , 0x00000034 
+ 00012644  0x00003a0a beq  0x0000000a , 0x0000383d 
+ 00012645  0x00003a0c rtn 
+ 00012646  0x00003a0f rtn  0x0000002b 
+ 00012647  0x00003a10 call  0x00005cb7 
+ 00012648  0x00003a11 call  0x00005cc0 
+ 00012649  0x00003a12 call  0x00005cc6 
+ 00012650  0x00003a13 call  0x00005ccb 
+ 00012651  0x00003a14 call  0x00005cd1 
+ 00012652  0x00003a15 call  0x00005cd5 
+ 00012653  0x00003a16 call  0x00006150 
+ 00012654  0x00003a17 fetch  0x00000001 , 0x0000409a 
+ 00012655  0x00003a18 beq  0x00000009 , 0x00004c62 
+ 00012656  0x00003a19 beq  0x00000004 , 0x000036a5 
+ 00012657  0x00003a1a beq  0x00000008 , 0x00003cb8 
+ 00012658  0x00003a1b beq  0x0000000d , 0x00004add 
+ 00012659  0x00003a1c rtn 
+ 00012660  0x00003a1f jam  0x000000ff , 0x000041ef 
+ 00012661  0x00003a20 setarg  0x000041ef 
+ 00012662  0x00003a21 store  0x00000002 , 0x000040ca 
+ 00012663  0x00003a23 jam  0x000000ff , 0x00004793 
+ 00012664  0x00003a24 jam  0x00000088 , 0x0000417a 
+ 00012665  0x00003a25 jam  0x000000ce , 0x0000417c 
+ 00012666  0x00003a26 rtn 
+ 00012667  0x00003a2b call  0x00007824 
+ 00012668  0x00003a2c call  0x000078f2 
+ 00012669  0x00003a2d call  0x00003184 
+ 00012670  0x00003a2e fetch  0x00000002 , 0x00004465 
+ 00012671  0x00003a2f branch  0x00007e7a 
+ 00012672  0x00003a32 fetch  0x00000002 , 0x00004463 
+ 00012673  0x00003a33 branch  0x00007e7a 
+ 00012674  0x00003a36 fetch  0x00000002 , 0x00004461 
+ 00012675  0x00003a37 branch  0x00007e7a 
+ 00012676  0x00003a3a bpatch  0x000000ae , 0x00004015 
+ 00012677  0x00003a3c arg  0x00004775 , 0x00000011 
+ 00012678  0x00003a3d call  0x00007ea2 
+ 00012679  0x00003a3e rtn  0x00000034 
+ 00012680  0x00003a40 copy  0x0000003f , 0x00000013 
+ 00012681  0x00003a41 call  0x0000318d 
+ 00012682  0x00003a42 branch  0x000031b2 
+ 00012683  0x00003a45 arg  0x00000000 , 0x00000013 
+ 00012684  0x00003a46 rtn 
+ 00012685  0x00003a4c beq  0x00000001 , 0x0000319f 
+ 00012686  0x00003a4d beq  0x00000010 , 0x000031e6 
+ 00012687  0x00003a4e beq  0x00000005 , 0x000031c3 
+ 00012688  0x00003a4f beq  0x00000012 , 0x000031ca 
+ 00012689  0x00003a50 beq  0x00000006 , 0x000031e2 
+ 00012690  0x00003a51 beq  0x00000004 , 0x00003223 
+ 00012691  0x00003a52 beq  0x00000002 , 0x00003228 
+ 00012692  0x00003a53 beq  0x00000013 , 0x00003223 
+ 00012693  0x00003a54 beq  0x00000014 , 0x000031d9 
+ 00012694  0x00003a55 beq  0x00000015 , 0x000031dd 
+ 00012695  0x00003a56 beq  0x00000003 , 0x000031bc 
+ 00012696  0x00003a57 beq  0x0000000b , 0x000031ce 
+ 00012697  0x00003a58 beq  0x0000000c , 0x000031d5 
+ 00012698  0x00003a5a beq  0x00000016 , 0x000031ea 
+ 00012699  0x00003a5b beq  0x00000018 , 0x000031b8 
+ 00012700  0x00003a5c beq  0x0000002a , 0x000031a8 
+ 00012701  0x00003a5d beq  0x0000002b , 0x000031a6 
+ 00012702  0x00003a5e rtn 
+ 00012703  0x00003a62 fetch  0x00000002 , 0x0000478f 
+ 00012704  0x00003a63 set1  0x00000000 , 0x0000003f 
+ 00012705  0x00003a64 store  0x00000002 , 0x0000478f 
+ 00012706  0x00003a65 fetch  0x00000002 , 0x00004482 
+ 00012707  0x00003a66 set0  0x00000000 , 0x0000003f 
+ 00012708  0x00003a67 store  0x00000002 , 0x00004482 
+ 00012709  0x00003a68 branch  0x00007934 
+ 00012710  0x00003a6b jam  0x00000000 , 0x0000030c 
+ 00012711  0x00003a6c rtn 
+ 00012712  0x00003a6f fetch  0x00000001 , 0x0000030c 
+ 00012713  0x00003a70 increase  0x00000001 , 0x0000003f 
+ 00012714  0x00003a71 store  0x00000001 , 0x0000030c 
+ 00012715  0x00003a72 sub  0x0000003f , 0x00000001 , 0x0000003e 
+ 00012716  0x00003a73 branch  0x0000325e , 0x00000002 
+ 00012717  0x00003a74 jam  0x00000000 , 0x0000030c 
+ 00012718  0x00003a75 fetch  0x00000002 , 0x00004482 
+ 00012719  0x00003a76 set1  0x00000009 , 0x0000003f 
+ 00012720  0x00003a77 store  0x00000002 , 0x00004482 
+ 00012721  0x00003a78 branch  0x00003268 
+ 00012722  0x00003a7b fetch  0x00000002 , 0x00004467 
+ 00012723  0x00003a7c branch  0x00007e7a 
+ 00012724  0x00003a7f fetch  0x00000002 , 0x0000445b 
+ 00012725  0x00003a80 branch  0x00007e7a 
+ 00012726  0x00003a83 fetch  0x00000002 , 0x0000445f 
+ 00012727  0x00003a84 branch  0x00007e7a 
+ 00012728  0x00003a87 fetch  0x00000002 , 0x00004482 
+ 00012729  0x00003a88 set1  0x00000001 , 0x0000003f 
+ 00012730  0x00003a89 store  0x00000002 , 0x00004482 
+ 00012731  0x00003a8a branch  0x00003291 
+ 00012732  0x00003a8d fetch  0x00000002 , 0x0000478f 
+ 00012733  0x00003a8e set1  0x00000007 , 0x0000003f 
+ 00012734  0x00003a8f store  0x00000002 , 0x0000478f 
+ 00012735  0x00003a90 fetch  0x00000002 , 0x00004482 
+ 00012736  0x00003a91 set1  0x00000002 , 0x0000003f 
+ 00012737  0x00003a92 store  0x00000002 , 0x00004482 
+ 00012738  0x00003a93 rtn 
+ 00012739  0x00003a96 fetch  0x00000002 , 0x0000478f 
+ 00012740  0x00003a97 set1  0x00000001 , 0x0000003f 
+ 00012741  0x00003a98 store  0x00000002 , 0x0000478f 
+ 00012742  0x00003a99 fetch  0x00000002 , 0x00004482 
+ 00012743  0x00003a9a set1  0x00000004 , 0x0000003f 
+ 00012744  0x00003a9b store  0x00000002 , 0x00004482 
+ 00012745  0x00003a9c rtn 
+ 00012746  0x00003a9f fetch  0x00000002 , 0x0000478f 
+ 00012747  0x00003aa0 set1  0x00000003 , 0x0000003f 
+ 00012748  0x00003aa1 store  0x00000002 , 0x0000478f 
+ 00012749  0x00003aa2 rtn 
+ 00012750  0x00003aa5 fetch  0x00000002 , 0x0000478f 
+ 00012751  0x00003aa6 set1  0x00000005 , 0x0000003f 
+ 00012752  0x00003aa7 store  0x00000002 , 0x0000478f 
+ 00012753  0x00003aa8 fetch  0x00000002 , 0x00004482 
+ 00012754  0x00003aa9 set1  0x00000003 , 0x0000003f 
+ 00012755  0x00003aaa store  0x00000002 , 0x00004482 
+ 00012756  0x00003aab rtn 
+ 00012757  0x00003aae fetch  0x00000002 , 0x0000478f 
+ 00012758  0x00003aaf set0  0x00000005 , 0x0000003f 
+ 00012759  0x00003ab0 store  0x00000002 , 0x0000478f 
+ 00012760  0x00003ab1 rtn 
+ 00012761  0x00003ab4 fetch  0x00000002 , 0x0000478f 
+ 00012762  0x00003ab5 set1  0x00000009 , 0x0000003f 
+ 00012763  0x00003ab6 store  0x00000002 , 0x0000478f 
+ 00012764  0x00003ab7 rtn 
+ 00012765  0x00003aba jam  0x00000000 , 0x00004435 
+ 00012766  0x00003abb fetch  0x00000002 , 0x0000478f 
+ 00012767  0x00003abc set0  0x00000009 , 0x0000003f 
+ 00012768  0x00003abd store  0x00000002 , 0x0000478f 
+ 00012769  0x00003abe branch  0x00003297 
+ 00012770  0x00003ac1 fetch  0x00000002 , 0x0000478f 
+ 00012771  0x00003ac2 set1  0x00000002 , 0x0000003f 
+ 00012772  0x00003ac3 store  0x00000002 , 0x0000478f 
+ 00012773  0x00003ac4 rtn 
+ 00012774  0x00003ac7 fetch  0x00000002 , 0x00004482 
+ 00012775  0x00003ac8 set1  0x00000000 , 0x0000003f 
+ 00012776  0x00003ac9 store  0x00000002 , 0x00004482 
+ 00012777  0x00003aca rtn 
+ 00012778  0x00003acd fetch  0x00000002 , 0x00004482 
+ 00012779  0x00003ace set1  0x00000008 , 0x0000003f 
+ 00012780  0x00003acf store  0x00000002 , 0x00004482 
+ 00012781  0x00003ad0 branch  0x00003268 
+ 00012782  0x00003ad4 store  0x00000001 , 0x0000030d 
+ 00012783  0x00003ad6 bpatch  0x000000af , 0x00004015 
+ 00012784  0x00003ad7 fetch  0x00000001 , 0x0000030d 
+ 00012785  0x00003ad8 rtn  0x00000034 
+ 00012786  0x00003ad9 increase  0xffffffff , 0x0000003f 
+ 00012787  0x00003ada store  0x00000001 , 0x0000030d 
+ 00012788  0x00003adb call  0x00007830 
+ 00012789  0x00003adc call  0x00003255 
+ 00012790  0x00003add call  0x00003216 
+ 00012791  0x00003ade call  0x0000321c 
+ 00012792  0x00003adf call  0x00005d7b 
+ 00012793  0x00003ae0 fetch  0x00000002 , 0x0000446f 
+ 00012794  0x00003ae1 call  0x00007e7a 
+ 00012795  0x00003ae2 branch  0x000031ef 
+ 00012796  0x00003ae8 ifetch  0x00000001 , 0x00000013 
+ 00012797  0x00003ae9 rtn  0x00000034 
+ 00012798  0x00003aea pincrease  0xffffffff 
+ 00012799  0x00003aeb istore  0x00000001 , 0x00000013 
+ 00012800  0x00003aec nrtn  0x00000034 
+ 00012801  0x00003aed copy  0x00000012 , 0x0000003f 
+ 00012802  0x00003aee branch  0x00007e7a 
+ 00012803  0x00003af3 ifetch  0x00000002 , 0x00000013 
+ 00012804  0x00003af4 rtn  0x00000034 
+ 00012805  0x00003af5 pincrease  0xffffffff 
+ 00012806  0x00003af6 istore  0x00000002 , 0x00000013 
+ 00012807  0x00003af7 nrtn  0x00000034 
+ 00012808  0x00003af8 copy  0x00000012 , 0x0000003f 
+ 00012809  0x00003af9 branch  0x00007e7a 
+ 00012810  0x00003afc fetcht  0x00000002 , 0x000044cc 
+ 00012811  0x00003afd add  0x00000002 , 0x00000001 , 0x00000013 
+ 00012812  0x00003afe arg  0x0000320e , 0x00000012 
+ 00012813  0x00003aff branch  0x000031fc 
+ 00012814  0x00003b02 call  0x000032ad 
+ 00012815  0x00003b03 beq  0x00000001 , 0x00003211 
+ 00012816  0x00003b05 branch  0x00003289 
+ 00012817  0x00003b07 setarg  0x00000002 
+ 00012818  0x00003b08 istore  0x00000001 , 0x00000013 
+ 00012819  0x00003b09 add  0x00000002 , 0x00000008 , 0x00000012 
+ 00012820  0x00003b0b ifetch  0x00000002 , 0x00000012 
+ 00012821  0x00003b0c branch  0x00007e7a 
+ 00012822  0x00003b0f arg  0x0000447d , 0x00000013 
+ 00012823  0x00003b10 arg  0x00003219 , 0x00000012 
+ 00012824  0x00003b11 branch  0x000031fc 
+ 00012825  0x00003b14 call  0x00000a5f 
+ 00012826  0x00003b15 branch  0x0000328d , 0x00000005 
+ 00012827  0x00003b16 rtn 
+ 00012828  0x00003b1a arg  0x0000478b , 0x00000013 
+ 00012829  0x00003b1b arg  0x0000321f , 0x00000012 
+ 00012830  0x00003b1c branch  0x00003203 
+ 00012831  0x00003b1f call  0x0000326f 
+ 00012832  0x00003b20 call  0x00003287 
+ 00012833  0x00003b21 fetch  0x00000002 , 0x00004469 
+ 00012834  0x00003b22 branch  0x00007e7a 
+ 00012835  0x00003b26 call  0x0000323b 
+ 00012836  0x00003b28 fetch  0x00000002 , 0x0000478f 
+ 00012837  0x00003b29 set0  0x00000007 , 0x0000003f 
+ 00012838  0x00003b2a store  0x00000002 , 0x0000478f 
+ 00012839  0x00003b2b rtn 
+ 00012840  0x00003b2e jam  0x00000000 , 0x0000447d 
+ 00012841  0x00003b2f fetch  0x00000002 , 0x0000478f 
+ 00012842  0x00003b30 bbit1  0x00000007 , 0x0000322d 
+ 00012843  0x00003b31 isolate0  0x00000001 , 0x0000003f 
+ 00012844  0x00003b32 call  0x0000318b , 0x00000001 
+ 00012845  0x00003b34 bpatch  0x000000b0 , 0x00004016 
+ 00012846  0x00003b35 fetch  0x00000002 , 0x0000478f 
+ 00012847  0x00003b36 set0  0x00000000 , 0x0000003f 
+ 00012848  0x00003b37 set0  0x00000001 , 0x0000003f 
+ 00012849  0x00003b38 set0  0x00000002 , 0x0000003f 
+ 00012850  0x00003b39 set0  0x00000003 , 0x0000003f 
+ 00012851  0x00003b3a set0  0x00000007 , 0x0000003f 
+ 00012852  0x00003b3b store  0x00000002 , 0x0000478f 
+ 00012853  0x00003b3c branch  0x00003297 
+ 00012854  0x00003b3f call  0x00003238 
+ 00012855  0x00003b40 branch  0x00003289 
+ 00012856  0x00003b44 setarg  0x00000000 
+ 00012857  0x00003b45 store  0x00000002 , 0x00004480 
+ 00012858  0x00003b46 rtn 
+ 00012859  0x00003b48 setarg  0x00000000 
+ 00012860  0x00003b49 store  0x00000002 , 0x00004482 
+ 00012861  0x00003b4a rtn 
+ 00012862  0x00003b4d fetch  0x00000002 , 0x00004482 
+ 00012863  0x00003b4e store  0x00000002 , 0x00004480 
+ 00012864  0x00003b4f setarg  0x00000000 
+ 00012865  0x00003b50 store  0x00000002 , 0x00004482 
+ 00012866  0x00003b51 rtn 
+ 00012867  0x00003b54 fetch  0x00000002 , 0x00004482 
+ 00012868  0x00003b55 set1  0x00000007 , 0x0000003f 
+ 00012869  0x00003b56 store  0x00000002 , 0x00004480 
+ 00012870  0x00003b57 setarg  0x00000000 
+ 00012871  0x00003b58 store  0x00000002 , 0x00004482 
+ 00012872  0x00003b59 rtn 
+ 00012873  0x00003b62 fetch  0x00000001 , 0x0000478f 
+ 00012874  0x00003b63 isolate1  0x00000005 , 0x0000003f 
+ 00012875  0x00003b64 rtn 
+ 00012876  0x00003b6a fetch  0x00000001 , 0x00004644 
+ 00012877  0x00003b6b store  0x00000001 , 0x0000447d 
+ 00012878  0x00003b6c rtn 
+ 00012879  0x00003b6f arg  0x00000009 , 0x00000007 
+ 00012880  0x00003b70 branch  0x00001566 
+ 00012881  0x00003b73 arg  0x00000009 , 0x00000007 
+ 00012882  0x00003b74 branch  0x0000156a 
+ 00012883  0x00003b77 jam  0x00000005 , 0x0000447e 
+ 00012884  0x00003b78 branch  0x0000324f 
+ 00012885  0x00003b7b arg  0x0000447e , 0x00000013 
+ 00012886  0x00003b7c arg  0x00003251 , 0x00000012 
+ 00012887  0x00003b7d branch  0x000031fc 
+ 00012888  0x00003b80 jam  0x00000001 , 0x000045f6 
+ 00012889  0x00003b81 rtn 
+ 00012890  0x00003b84 jam  0x00000000 , 0x000045f6 
+ 00012891  0x00003b85 rtn 
+ 00012892  0x00003b88 jam  0x0000000a , 0x0000095b 
+ 00012893  0x00003b89 branch  0x000078e5 
+ 00012894  0x00003b8c jam  0x0000001d , 0x0000095b 
+ 00012895  0x00003b8d branch  0x000078e5 
+ 00012896  0x00003b90 bpatch  0x000000b1 , 0x00004016 
+ 00012897  0x00003b91 fetch  0x00000001 , 0x0000447f 
+ 00012898  0x00003b92 store  0x00000001 , 0x000000bc 
+ 00012899  0x00003b93 jam  0x00000001 , 0x0000030b 
+ 00012900  0x00003b94 jam  0x00000003 , 0x0000095b 
+ 00012901  0x00003b95 branch  0x000078e5 
+ 00012902  0x00003b98 jam  0x0000001e , 0x0000095b 
+ 00012903  0x00003b99 branch  0x000078e5 
+ 00012904  0x00003b9c jam  0x00000004 , 0x0000095b 
+ 00012905  0x00003b9d branch  0x000078e5 
+ 00012906  0x00003ba0 fetch  0x00000002 , 0x00004794 
+ 00012907  0x00003ba1 store  0x00000002 , 0x0000478b 
+ 00012908  0x00003ba3 call  0x00003283 
+ 00012909  0x00003ba5 jam  0x00000001 , 0x0000095b 
+ 00012910  0x00003ba6 branch  0x000078e5 
+ 00012911  0x00003ba9 setarg  0x00000000 
+ 00012912  0x00003baa store  0x00000002 , 0x0000478b 
+ 00012913  0x00003bab jam  0x00000002 , 0x0000095b 
+ 00012914  0x00003bac branch  0x000078e5 
+ 00012915  0x00003baf jam  0x0000000f , 0x0000095b 
+ 00012916  0x00003bb0 branch  0x000078e5 
+ 00012917  0x00003bb3 jam  0x00000010 , 0x0000095b 
+ 00012918  0x00003bb4 branch  0x000078e5 
+ 00012919  0x00003bb7 jam  0x0000000e , 0x0000095b 
+ 00012920  0x00003bb8 branch  0x000078e5 
+ 00012921  0x00003bbb jam  0x0000000d , 0x0000095b 
+ 00012922  0x00003bbc branch  0x000078e5 
+ 00012923  0x00003bbf jam  0x00000017 , 0x0000095b 
+ 00012924  0x00003bc0 branch  0x000078e5 
+ 00012925  0x00003bc3 jam  0x00000018 , 0x0000095b 
+ 00012926  0x00003bc4 branch  0x000078e5 
+ 00012927  0x00003bc7 jam  0x00000016 , 0x0000095b 
+ 00012928  0x00003bc8 branch  0x000078e5 
+ 00012929  0x00003bcb jam  0x00000011 , 0x0000095b 
+ 00012930  0x00003bcc branch  0x000078e5 
+ 00012931  0x00003bcf jam  0x00000015 , 0x0000095b 
+ 00012932  0x00003bd0 branch  0x000078e5 
+ 00012933  0x00003bd3 jam  0x00000014 , 0x0000095b 
+ 00012934  0x00003bd4 branch  0x000078e5 
+ 00012935  0x00003bd8 jam  0x00000013 , 0x0000095b 
+ 00012936  0x00003bd9 branch  0x000078e5 
+ 00012937  0x00003bdc jam  0x00000019 , 0x0000095b 
+ 00012938  0x00003bdd branch  0x000078e5 
+ 00012939  0x00003be0 jam  0x00000006 , 0x0000095b 
+ 00012940  0x00003be1 branch  0x000078e5 
+ 00012941  0x00003be4 jam  0x00000005 , 0x0000095b 
+ 00012942  0x00003be5 branch  0x000078e5 
+ 00012943  0x00003be8 jam  0x0000001f , 0x0000095b 
+ 00012944  0x00003be9 branch  0x000078e5 
+ 00012945  0x00003bec jam  0x00000020 , 0x0000095b 
+ 00012946  0x00003bed branch  0x000078e5 
+ 00012947  0x00003bf0 jam  0x00000025 , 0x0000095b 
+ 00012948  0x00003bf1 branch  0x000078e5 
+ 00012949  0x00003bf4 set1  0x0000000d , 0x00000000 
+ 00012950  0x00003bf5 rtn 
+ 00012951  0x00003bf8 set0  0x0000000d , 0x00000000 
+ 00012952  0x00003bf9 rtn 
+ 00012953  0x00003bfd call  0x000032ad 
+ 00012954  0x00003bfe beq  0x00000002 , 0x000032a3 
+ 00012955  0x00003c00 setarg  0x00000001 
+ 00012956  0x00003c01 istore  0x00000001 , 0x00000013 
+ 00012957  0x00003c02 add  0x00000002 , 0x00000003 , 0x00000011 
+ 00012958  0x00003c03 add  0x00000002 , 0x00000006 , 0x00000012 
+ 00012959  0x00003c05 ifetcht  0x00000001 , 0x00000011 
+ 00012960  0x00003c06 increase  0x00000001 , 0x00000013 
+ 00012961  0x00003c07 istoret  0x00000001 , 0x00000013 
+ 00012962  0x00003c08 branch  0x00003214 
+ 00012963  0x00003c0b setarg  0x00000000 
+ 00012964  0x00003c0c istore  0x00000001 , 0x00000013 
+ 00012965  0x00003c0d fetch  0x00000002 , 0x0000478f 
+ 00012966  0x00003c0e bbit0  0x00000009 , 0x000032a9 
+ 00012967  0x00003c0f call  0x00002134 
+ 00012968  0x00003c10 call  0x00003281 
+ 00012969  0x00003c12 fetcht  0x00000002 , 0x000044cc 
+ 00012970  0x00003c13 add  0x00000002 , 0x00000002 , 0x00000011 
+ 00012971  0x00003c14 add  0x00000002 , 0x00000004 , 0x00000012 
+ 00012972  0x00003c15 branch  0x0000329f 
+ 00012973  0x00003c18 fetcht  0x00000002 , 0x000044cc 
+ 00012974  0x00003c19 add  0x00000002 , 0x00000000 , 0x00000013 
+ 00012975  0x00003c1a ifetch  0x00000001 , 0x00000013 
+ 00012976  0x00003c1b rtn 
+ 00012977  0x00003c1e call  0x000032ad 
+ 00012978  0x00003c1f bne  0x00000000 , 0x000032b4 
+ 00012979  0x00003c20 branch  0x00003289 
+ 00012980  0x00003c22 add  0x00000002 , 0x0000000a , 0x00000012 
+ 00012981  0x00003c23 branch  0x00003214 
+ 00012982  0x00003c27 setarg  0x00000002 
+ 00012983  0x00003c28 store  0x00000001 , 0x0000478d 
+ 00012984  0x00003c29 rtn 
+ 00012985  0x00003c2d rtn  0x0000002b 
+ 00012986  0x00003c2e setarg  0x000032e8 
+ 00012987  0x00003c2f store  0x00000002 , 0x0000445d 
+ 00012988  0x00003c30 setarg  0x000061ff 
+ 00012989  0x00003c31 store  0x00000002 , 0x0000445f 
+ 00012990  0x00003c32 setarg  0x00003395 
+ 00012991  0x00003c33 store  0x00000002 , 0x00004465 
+ 00012992  0x00003c34 setarg  0x00003394 
+ 00012993  0x00003c35 store  0x00000002 , 0x00004461 
+ 00012994  0x00003c36 setarg  0x00003303 
+ 00012995  0x00003c37 store  0x00000002 , 0x00004467 
+ 00012996  0x00003c38 setarg  0x00003340 
+ 00012997  0x00003c39 store  0x00000002 , 0x0000446f 
+ 00012998  0x00003c3a setarg  0x000032ea 
+ 00012999  0x00003c3b store  0x00000002 , 0x0000446d 
+ 00013000  0x00003c3c setarg  0x000032f5 
+ 00013001  0x00003c3d store  0x00000002 , 0x0000445b 
+ 00013002  0x00003c3e setarg  0x000033a1 
+ 00013003  0x00003c3f store  0x00000002 , 0x0000446b 
+ 00013004  0x00003c40 bpatch  0x000000b2 , 0x00004016 
+ 00013005  0x00003c42 call  0x0000343a 
+ 00013006  0x00003c43 call  0x000032e6 
+ 00013007  0x00003c44 call  0x000061da 
+ 00013008  0x00003c45 call  0x0000344c 
+ 00013009  0x00003c46 call  0x0000785b 
+ 00013010  0x00003c47 call  0x00007826 
+ 00013011  0x00003c48 setarg  0x000033ab 
+ 00013012  0x00003c49 store  0x00000002 , 0x00004873 
+ 00013013  0x00003c4a setarg  0x0000339c 
+ 00013014  0x00003c4b store  0x00000002 , 0x0000486a 
+ 00013015  0x00003c4c setarg  0x00003398 
+ 00013016  0x00003c4d store  0x00000002 , 0x0000486c 
+ 00013017  0x00003c4e setarg  0x000032f1 
+ 00013018  0x00003c4f store  0x00000002 , 0x0000486e 
+ 00013019  0x00003c50 setarg  0x00003441 
+ 00013020  0x00003c51 store  0x00000002 , 0x000047b6 
+ 00013021  0x00003c52 setarg  0x00003443 
+ 00013022  0x00003c53 store  0x00000002 , 0x000047b8 
+ 00013023  0x00003c54 setarg  0x00003448 
+ 00013024  0x00003c55 store  0x00000002 , 0x000047c1 
+ 00013025  0x00003c56 setarg  0x00003445 
+ 00013026  0x00003c57 store  0x00000002 , 0x000047c3 
+ 00013027  0x00003c58 fetch  0x00000002 , 0x0000478f 
+ 00013028  0x00003c59 rtnbit1  0x0000000c 
+ 00013029  0x00003c5a branch  0x00003289 
+ 00013030  0x00003c5e jam  0x00000007 , 0x000045fa 
+ 00013031  0x00003c5f rtn 
+ 00013032  0x00003c63 call  0x00003425 
+ 00013033  0x00003c64 branch  0x00003289 
+ 00013034  0x00003c67 call  0x00001b24 
+ 00013035  0x00003c68 nrtn  0x00000034 
+ 00013036  0x00003c69 arg  0x000009d2 , 0x00000011 
+ 00013037  0x00003c6a call  0x000079c1 
+ 00013038  0x00003c6b nrtn  0x00000028 
+ 00013039  0x00003c6c arg  0x000009d2 , 0x00000006 
+ 00013040  0x00003c6d branch  0x00004c5a 
+ 00013041  0x00003c70 fetch  0x00000002 , 0x000048a4 
+ 00013042  0x00003c71 store  0x00000002 , 0x0000489e 
+ 00013043  0x00003c72 jam  0x00000001 , 0x00004860 
+ 00013044  0x00003c73 branch  0x0000342e 
+ 00013045  0x00003c76 fetch  0x00000001 , 0x000048aa 
+ 00013046  0x00003c77 beq  0x00000001 , 0x000032fe 
+ 00013047  0x00003c78 fetch  0x00000002 , 0x0000478f 
+ 00013048  0x00003c79 bbit0  0x00000009 , 0x000032fe 
+ 00013049  0x00003c7a fetch  0x00000001 , 0x000048ab 
+ 00013050  0x00003c7b beq  0x00000001 , 0x0000324f 
+ 00013051  0x00003c7c fetch  0x00000001 , 0x0000480d 
+ 00013052  0x00003c7d nbranch  0x0000324f , 0x00000034 
+ 00013053  0x00003c7e branch  0x00003251 
+ 00013054  0x00003c81 fetch  0x00000001 , 0x000048a8 
+ 00013055  0x00003c82 fetcht  0x00000001 , 0x000048a9 
+ 00013056  0x00003c83 ior  0x00000002 , 0x0000003f 
+ 00013057  0x00003c84 beq  0x00000001 , 0x0000324f 
+ 00013058  0x00003c85 branch  0x00003251 
+ 00013059  0x00003c88 copy  0x00000013 , 0x0000003f 
+ 00013060  0x00003c89 beq  0x0000002d , 0x000032b1 
+ 00013061  0x00003c8a beq  0x00000010 , 0x00003299 
+ 00013062  0x00003c8b beq  0x00000014 , 0x0000337d 
+ 00013063  0x00003c8c beq  0x00000015 , 0x00003386 
+ 00013064  0x00003c8d beq  0x00000040 , 0x0000330b 
+ 00013065  0x00003c8e beq  0x00000044 , 0x00003315 
+ 00013066  0x00003c8f rtn 
+ 00013067  0x00003c91 call  0x00003311 
+ 00013068  0x00003c92 fetch  0x00000002 , 0x000043db 
+ 00013069  0x00003c93 beq  0x00000001 , 0x0000331b 
+ 00013070  0x00003c95 jam  0x00000002 , 0x00004897 
+ 00013071  0x00003c96 jam  0x0000003c , 0x0000489c 
+ 00013072  0x00003c97 rtn 
+ 00013073  0x00003c99 fetch  0x00000001 , 0x00000287 
+ 00013074  0x00003c9a rtnbit1  0x00000005 
+ 00013075  0x00003c9b jam  0x00000001 , 0x00004a63 
+ 00013076  0x00003c9c rtn 
+ 00013077  0x00003ca0 fetch  0x00000001 , 0x00004a63 
+ 00013078  0x00003ca1 rtn  0x00000034 
+ 00013079  0x00003ca2 jam  0x00000000 , 0x00004a63 
+ 00013080  0x00003ca3 fetch  0x00000002 , 0x000002c3 
+ 00013081  0x00003ca4 branch  0x00003330 , 0x00000034 
+ 00013082  0x00003ca5 rtn 
+ 00013083  0x00003ca8 fetch  0x00000002 , 0x00004376 
+ 00013084  0x00003ca9 branch  0x0000332e , 0x00000034 
+ 00013085  0x00003cab jam  0x00000001 , 0x00004897 
+ 00013086  0x00003cac fetcht  0x00000002 , 0x000048c1 
+ 00013087  0x00003cad fetch  0x00000002 , 0x00004372 
+ 00013088  0x00003cae iadd  0x00000002 , 0x0000003f 
+ 00013089  0x00003caf store  0x00000002 , 0x00004372 
+ 00013090  0x00003cb0 copy  0x0000003f , 0x00000011 
+ 00013091  0x00003cb1 fetch  0x00000002 , 0x00004374 
+ 00013092  0x00003cb2 iadd  0x00000002 , 0x0000003f 
+ 00013093  0x00003cb3 store  0x00000002 , 0x00004374 
+ 00013094  0x00003cb4 iadd  0x00000011 , 0x0000003f 
+ 00013095  0x00003cb5 rshift  0x0000003f , 0x00000002 
+ 00013096  0x00003cb6 fetch  0x00000002 , 0x000048cd 
+ 00013097  0x00003cb7 idiv  0x00000002 
+ 00013098  0x00003cb8 call  0x00007e61 
+ 00013099  0x00003cb9 store  0x00000002 , 0x00004376 
+ 00013100  0x00003cba jam  0x00000001 , 0x0000489d 
+ 00013101  0x00003cbb rtn 
+ 00013102  0x00003cbd jam  0x00000003 , 0x00004897 
+ 00013103  0x00003cbe rtn 
+ 00013104  0x00003cc1 jam  0x00000000 , 0x00004177 
+ 00013105  0x00003cc2 jam  0x00000000 , 0x0000489d 
+ 00013106  0x00003cc3 fetch  0x00000002 , 0x000002c1 
+ 00013107  0x00003cc4 fetcht  0x00000002 , 0x000048cb 
+ 00013108  0x00003cc5 isub  0x00000002 , 0x0000003e 
+ 00013109  0x00003cc6 setflag  0x00000002 , 0x00000000 , 0x00000011 
+ 00013110  0x00003cc7 fetch  0x00000002 , 0x000048cd 
+ 00013111  0x00003cc8 fetcht  0x00000002 , 0x000002c1 
+ 00013112  0x00003cc9 isub  0x00000002 , 0x0000003f 
+ 00013113  0x00003cca setflag  0x00000002 , 0x00000001 , 0x00000011 
+ 00013114  0x00003ccb compare  0x00000003 , 0x00000011 , 0x00000003 
+ 00013115  0x00003ccc rtn  0x00000001 
+ 00013116  0x00003ccd fetch  0x00000008 , 0x000048cb 
+ 00013117  0x00003cce store  0x00000008 , 0x00004372 
+ 00013118  0x00003ccf jam  0x00000001 , 0x0000489d 
+ 00013119  0x00003cd0 rtn 
+ 00013120  0x00003cd4 call  0x0000320a 
+ 00013121  0x00003cd5 call  0x00003357 
+ 00013122  0x00003cd6 call  0x0000335c 
+ 00013123  0x00003cd7 call  0x00003373 
+ 00013124  0x00003cd8 call  0x00003368 
+ 00013125  0x00003cd9 call  0x00003362 
+ 00013126  0x00003cda call  0x00003350 
+ 00013127  0x00003cdb call  0x00003349 
+ 00013128  0x00003cdc branch  0x00003377 
+ 00013129  0x00003cdf arg  0x00004a65 , 0x00000013 
+ 00013130  0x00003ce0 arg  0x0000334c , 0x00000012 
+ 00013131  0x00003ce1 branch  0x00003203 
+ 00013132  0x00003ce4 arg  0x00000001 , 0x00000011 
+ 00013133  0x00003ce5 call  0x0000786c 
+ 00013134  0x00003ce6 fetch  0x00000002 , 0x000048ae 
+ 00013135  0x00003ce7 branch  0x0000627e 
+ 00013136  0x00003ceb arg  0x00004a64 , 0x00000013 
+ 00013137  0x00003cec arg  0x00003353 , 0x00000012 
+ 00013138  0x00003ced branch  0x000031fc 
+ 00013139  0x00003cef call  0x0000344e 
+ 00013140  0x00003cf0 call  0x0000344e 
+ 00013141  0x00003cf1 call  0x0000344e 
+ 00013142  0x00003cf2 branch  0x00003458 
+ 00013143  0x00003cf6 arg  0x000048a6 , 0x00000013 
+ 00013144  0x00003cf7 arg  0x0000335a , 0x00000012 
+ 00013145  0x00003cf8 branch  0x000031fc 
+ 00013146  0x00003cfa jam  0x00000000 , 0x000048a7 
+ 00013147  0x00003cfb rtn 
+ 00013148  0x00003cfd arg  0x000048a0 , 0x00000013 
+ 00013149  0x00003cfe arg  0x0000335f , 0x00000012 
+ 00013150  0x00003cff branch  0x00003203 
+ 00013151  0x00003d01 arg  0x000047cc , 0x00000013 
+ 00013152  0x00003d02 arg  0x000047ab , 0x00000012 
+ 00013153  0x00003d03 branch  0x00003430 
+ 00013154  0x00003d07 arg  0x0000489c , 0x00000013 
+ 00013155  0x00003d08 arg  0x00003365 , 0x00000012 
+ 00013156  0x00003d09 branch  0x000031fc 
+ 00013157  0x00003d0c fetch  0x00000002 , 0x00004376 
+ 00013158  0x00003d0d store  0x00000001 , 0x00004177 
+ 00013159  0x00003d0e rtn 
+ 00013160  0x00003d10 arg  0x0000489d , 0x00000013 
+ 00013161  0x00003d11 arg  0x0000336b , 0x00000012 
+ 00013162  0x00003d12 branch  0x000031fc 
+ 00013163  0x00003d14 fetch  0x00000001 , 0x00000287 
+ 00013164  0x00003d15 compare  0x00000000 , 0x0000003f , 0x00000060 
+ 00013165  0x00003d16 nbranch  0x00003371 , 0x00000001 
+ 00013166  0x00003d17 jam  0x00000001 , 0x00004897 
+ 00013167  0x00003d18 call  0x00003295 
+ 00013168  0x00003d19 branch  0x00001f04 
+ 00013169  0x00003d1b jam  0x00000001 , 0x0000489d 
+ 00013170  0x00003d1c rtn 
+ 00013171  0x00003d1f arg  0x0000489e , 0x00000013 
+ 00013172  0x00003d20 arg  0x00003376 , 0x00000012 
+ 00013173  0x00003d21 branch  0x00003203 
+ 00013174  0x00003d25 branch  0x00003299 
+ 00013175  0x00003d28 arg  0x0000489a , 0x00000013 
+ 00013176  0x00003d29 arg  0x0000337a , 0x00000012 
+ 00013177  0x00003d2a branch  0x00003203 
+ 00013178  0x00003d2c fetch  0x00000002 , 0x000048b4 
+ 00013179  0x00003d2d store  0x00000002 , 0x0000489a 
+ 00013180  0x00003d2e branch  0x0000344e 
+ 00013181  0x00003d32 fetch  0x00000002 , 0x000048b4 
+ 00013182  0x00003d33 store  0x00000002 , 0x0000489a 
+ 00013183  0x00003d34 setarg  0x00000000 
+ 00013184  0x00003d35 store  0x00000002 , 0x000048a0 
+ 00013185  0x00003d36 store  0x00000002 , 0x0000489e 
+ 00013186  0x00003d37 call  0x000033fc 
+ 00013187  0x00003d38 call  0x00003425 
+ 00013188  0x00003d39 jam  0x00000000 , 0x00004177 
+ 00013189  0x00003d3a branch  0x00003277 
+ 00013190  0x00003d3e setarg  0x00000000 
+ 00013191  0x00003d3f store  0x00000004 , 0x0000489a 
+ 00013192  0x00003d40 store  0x00000003 , 0x00004897 
+ 00013193  0x00003d41 store  0x00000002 , 0x000043db 
+ 00013194  0x00003d43 jam  0x00000001 , 0x000048ad 
+ 00013195  0x00003d44 fetch  0x00000002 , 0x000048a4 
+ 00013196  0x00003d45 store  0x00000002 , 0x0000489e 
+ 00013197  0x00003d47 fetch  0x00000002 , 0x00004a67 
+ 00013198  0x00003d48 store  0x00000002 , 0x00004a65 
+ 00013199  0x00003d4a call  0x000079a5 
+ 00013200  0x00003d4b fetch  0x00000001 , 0x00004866 
+ 00013201  0x00003d4c rtneq  0x00000000 
+ 00013202  0x00003d4d call  0x0000342e 
+ 00013203  0x00003d4e branch  0x0000340e 
+ 00013204  0x00003d53 branch  0x000033a8 
+ 00013205  0x00003d57 fetch  0x00000001 , 0x00004866 
+ 00013206  0x00003d58 rtnne  0x00000002 
+ 00013207  0x00003d59 branch  0x000033a8 
+ 00013208  0x00003d5f arg  0x000047da , 0x00000013 
+ 00013209  0x00003d60 call  0x00003421 
+ 00013210  0x00003d61 arg  0x000047d3 , 0x00000013 
+ 00013211  0x00003d63 branch  0x00003423 
+ 00013212  0x00003d66 jam  0x00000000 , 0x00004427 
+ 00013213  0x00003d67 arg  0x000047e8 , 0x00000013 
+ 00013214  0x00003d68 call  0x00003421 
+ 00013215  0x00003d69 arg  0x000047e1 , 0x00000013 
+ 00013216  0x00003d6a branch  0x0000339b 
+ 00013217  0x00003d6d fetch  0x00000001 , 0x00004436 
+ 00013218  0x00003d6e beq  0x00000012 , 0x000033a4 
+ 00013219  0x00003d6f rtn 
+ 00013220  0x00003d71 fetch  0x00000002 , 0x00004437 
+ 00013221  0x00003d73 beq  0x0000000d , 0x000033d6 
+ 00013222  0x00003d74 beq  0x0000000b , 0x00003411 
+ 00013223  0x00003d75 rtn 
+ 00013224  0x00003d7b fetch  0x00000001 , 0x00004860 
+ 00013225  0x00003d7c rtn  0x00000034 
+ 00013226  0x00003d7d branch  0x0000620b 
+ 00013227  0x00003d82 copy  0x00000011 , 0x0000003f 
+ 00013228  0x00003d83 branch  0x000033b0 , 0x00000034 
+ 00013229  0x00003d85 copy  0x00000007 , 0x0000003f 
+ 00013230  0x00003d86 beq  0x00000000 , 0x000033b3 
+ 00013231  0x00003d87 rtn 
+ 00013232  0x00003d89 copy  0x00000007 , 0x0000003f 
+ 00013233  0x00003d8a beq  0x00000000 , 0x000033bb 
+ 00013234  0x00003d8b rtn 
+ 00013235  0x00003d8e jam  0x00000001 , 0x000048aa 
+ 00013236  0x00003d8f arg  0x00004804 , 0x00000013 
+ 00013237  0x00003d90 call  0x00003421 
+ 00013238  0x00003d91 arg  0x000047fd , 0x00000013 
+ 00013239  0x00003d92 call  0x00003423 
+ 00013240  0x00003d93 fetch  0x00000002 , 0x0000478f 
+ 00013241  0x00003d94 bbit0  0x00000009 , 0x000033d2 
+ 00013242  0x00003d95 branch  0x000033c1 
+ 00013243  0x00003d98 jam  0x00000000 , 0x000048aa 
+ 00013244  0x00003d99 branch  0x000033bd 
+ 00013245  0x00003d9e fetch  0x00000001 , 0x000048a7 
+ 00013246  0x00003d9f rtnne  0x00000001 
+ 00013247  0x00003da0 jam  0x00000005 , 0x000048a6 
+ 00013248  0x00003da1 rtn 
+ 00013249  0x00003da4 fetch  0x00000001 , 0x000048a7 
+ 00013250  0x00003da5 pincrease  0x00000001 
+ 00013251  0x00003da6 store  0x00000001 , 0x000048a7 
+ 00013252  0x00003da7 beq  0x00000001 , 0x000033c7 
+ 00013253  0x00003da8 beq  0x00000002 , 0x000033cb 
+ 00013254  0x00003da9 rtn 
+ 00013255  0x00003dab call  0x000033fc 
+ 00013256  0x00003dac jam  0x00000001 , 0x0000487e 
+ 00013257  0x00003dad arg  0x00004879 , 0x00000013 
+ 00013258  0x00003dae branch  0x000033e4 
+ 00013259  0x00003db0 jam  0x00000000 , 0x000048a7 
+ 00013260  0x00003db1 jam  0x00000002 , 0x0000487e 
+ 00013261  0x00003db2 arg  0x00004879 , 0x00000013 
+ 00013262  0x00003db3 call  0x000033e4 
+ 00013263  0x00003db4 fetch  0x00000001 , 0x000048ab 
+ 00013264  0x00003db5 beq  0x00000001 , 0x000033f1 
+ 00013265  0x00003db6 rtn 
+ 00013266  0x00003db9 fetch  0x00000002 , 0x000048a4 
+ 00013267  0x00003dba store  0x00000002 , 0x0000489e 
+ 00013268  0x00003dbb call  0x000033fc 
+ 00013269  0x00003dbc branch  0x0000342e 
+ 00013270  0x00003dc0 bpatch  0x000000b3 , 0x00004016 
+ 00013271  0x00003dc1 call  0x0000356d 
+ 00013272  0x00003dc2 ifetch  0x00000001 , 0x00000011 
+ 00013273  0x00003dc3 beq  0x00000003 , 0x000033dc 
+ 00013274  0x00003dc4 beq  0x00000007 , 0x000033e0 
+ 00013275  0x00003dc5 rtn 
+ 00013276  0x00003dc8 fetch  0x00000001 , 0x000048ab 
+ 00013277  0x00003dc9 beq  0x00000000 , 0x000033f1 
+ 00013278  0x00003dca beq  0x00000001 , 0x000033fc 
+ 00013279  0x00003dcb rtn 
+ 00013280  0x00003dce ifetch  0x00000001 , 0x00000012 
+ 00013281  0x00003dcf beq  0x00000001 , 0x00003404 
+ 00013282  0x00003dd0 beq  0x00000000 , 0x00003409 
+ 00013283  0x00003dd1 rtn 
+ 00013284  0x00003dd6 bpatch  0x000000b4 , 0x00004016 
+ 00013285  0x00003dd7 fetch  0x00000001 , 0x00004898 
+ 00013286  0x00003dd8 isolate1  0x00000000 , 0x0000003f 
+ 00013287  0x00003dd9 nrtn  0x00000001 
+ 00013288  0x00003dda add  0x00000013 , 0x00000006 , 0x00000006 
+ 00013289  0x00003ddb ifetch  0x00000002 , 0x00000006 
+ 00013290  0x00003ddc byteswap  0x0000003f , 0x0000003f 
+ 00013291  0x00003ddd add  0x0000003f , 0x00000005 , 0x00000039 
+ 00013292  0x00003dde add  0x00000013 , 0x00000003 , 0x00000006 
+ 00013293  0x00003ddf call  0x00003561 
+ 00013294  0x00003de0 istore  0x00000001 , 0x00000006 
+ 00013295  0x00003de1 copy  0x00000013 , 0x00000011 
+ 00013296  0x00003de2 branch  0x000079aa 
+ 00013297  0x00003de9 fetch  0x00000001 , 0x00004866 
+ 00013298  0x00003dea rtn  0x00000034 
+ 00013299  0x00003deb jam  0x00000001 , 0x000048ab 
+ 00013300  0x00003dec arg  0x000047f6 , 0x00000013 
+ 00013301  0x00003ded call  0x00003421 
+ 00013302  0x00003dee arg  0x000047ef , 0x00000013 
+ 00013303  0x00003def call  0x00003423 
+ 00013304  0x00003df0 jam  0x00000004 , 0x0000488d 
+ 00013305  0x00003df1 jam  0x00000001 , 0x00004890 
+ 00013306  0x00003df2 arg  0x00004888 , 0x00000013 
+ 00013307  0x00003df3 branch  0x000033e4 
+ 00013308  0x00003df5 fetch  0x00000001 , 0x000048ab 
+ 00013309  0x00003df6 rtn  0x00000034 
+ 00013310  0x00003df7 jam  0x00000000 , 0x000048ab 
+ 00013311  0x00003df8 call  0x00003425 
+ 00013312  0x00003df9 jam  0x00000004 , 0x0000488d 
+ 00013313  0x00003dfa jam  0x00000000 , 0x00004890 
+ 00013314  0x00003dfb arg  0x00004888 , 0x00000013 
+ 00013315  0x00003dfc branch  0x000033e4 
+ 00013316  0x00003dff jam  0x00000001 , 0x000048ac 
+ 00013317  0x00003e00 jam  0x00000007 , 0x0000488d 
+ 00013318  0x00003e01 jam  0x00000001 , 0x00004890 
+ 00013319  0x00003e02 arg  0x00004888 , 0x00000013 
+ 00013320  0x00003e03 branch  0x000033e4 
+ 00013321  0x00003e05 jam  0x00000000 , 0x000048ac 
+ 00013322  0x00003e06 jam  0x00000007 , 0x0000488d 
+ 00013323  0x00003e07 jam  0x00000000 , 0x00004890 
+ 00013324  0x00003e08 arg  0x00004888 , 0x00000013 
+ 00013325  0x00003e09 branch  0x000033e4 
+ 00013326  0x00003e0b fetch  0x00000001 , 0x000048ac 
+ 00013327  0x00003e0c rtn  0x00000034 
+ 00013328  0x00003e0d branch  0x000033f1 
+ 00013329  0x00003e10 ifetch  0x00000002 , 0x00000011 
+ 00013330  0x00003e11 store  0x00000002 , 0x00004898 
+ 00013331  0x00003e12 isolate1  0x00000000 , 0x0000003f 
+ 00013332  0x00003e13 nrtn  0x00000001 
+ 00013333  0x00003e14 fetch  0x00000001 , 0x000048ad 
+ 00013334  0x00003e15 rtn  0x00000034 
+ 00013335  0x00003e16 jam  0x00000000 , 0x000048ad 
+ 00013336  0x00003e17 fetch  0x00000008 , 0x000048c3 
+ 00013337  0x00003e18 store  0x00000008 , 0x00004372 
+ 00013338  0x00003e19 jam  0x00000003 , 0x00004a64 
+ 00013339  0x00003e1a jam  0x00000007 , 0x0000488d 
+ 00013340  0x00003e1b jam  0x0000001e , 0x0000489d 
+ 00013341  0x00003e1c fetch  0x00000001 , 0x000048ac 
+ 00013342  0x00003e1d store  0x00000001 , 0x00004890 
+ 00013343  0x00003e1e arg  0x00004888 , 0x00000013 
+ 00013344  0x00003e1f branch  0x000033e4 
+ 00013345  0x00003e24 arg  0x00000001 , 0x00000011 
+ 00013346  0x00003e25 branch  0x00003424 
+ 00013347  0x00003e27 arg  0x00000000 , 0x00000011 
+ 00013348  0x00003e29 branch  0x0000342b 
+ 00013349  0x00003e2c arg  0x00000000 , 0x00000011 
+ 00013350  0x00003e2d call  0x0000786c 
+ 00013351  0x00003e2e arg  0x00000001 , 0x00000011 
+ 00013352  0x00003e2f call  0x0000786c 
+ 00013353  0x00003e30 fetch  0x00000002 , 0x000048ae 
+ 00013354  0x00003e31 branch  0x0000627e 
+ 00013355  0x00003e34 call  0x00007857 
+ 00013356  0x00003e35 arg  0x00000007 , 0x00000039 
+ 00013357  0x00003e36 branch  0x00007879 
+ 00013358  0x00003e3b arg  0x000047c5 , 0x00000013 
+ 00013359  0x00003e3c arg  0x000047a7 , 0x00000012 
+ 00013360  0x00003e3e call  0x00003435 
+ 00013361  0x00003e3f call  0x00003423 
+ 00013362  0x00003e40 fetch  0x00000002 , 0x000048a2 
+ 00013363  0x00003e41 store  0x00000002 , 0x000048a0 
+ 00013364  0x00003e42 branch  0x00003279 
+ 00013365  0x00003e45 ifetch  0x00000002 , 0x00000012 
+ 00013366  0x00003e46 store  0x00000002 , 0x00004159 
+ 00013367  0x00003e47 ifetch  0x00000002 , 0x00000006 
+ 00013368  0x00003e48 store  0x00000002 , 0x00004428 
+ 00013369  0x00003e49 rtn 
+ 00013370  0x00003e4c arg  0x00000000 , 0x00000011 
+ 00013371  0x00003e4d call  0x00006239 
+ 00013372  0x00003e4e fetch  0x00000006 , 0x000048ae 
+ 00013373  0x00003e4f store  0x00000006 , 0x0000095c 
+ 00013374  0x00003e50 call  0x00006260 
+ 00013375  0x00003e51 fetch  0x00000002 , 0x000048ae 
+ 00013376  0x00003e52 branch  0x0000627e 
+ 00013377  0x00003e55 jam  0x00000001 , 0x000048a8 
+ 00013378  0x00003e56 rtn 
+ 00013379  0x00003e58 jam  0x00000000 , 0x000048a8 
+ 00013380  0x00003e59 rtn 
+ 00013381  0x00003e5e jam  0x00000000 , 0x000048a9 
+ 00013382  0x00003e5f fetch  0x00000002 , 0x000048ae 
+ 00013383  0x00003e60 branch  0x0000627e 
+ 00013384  0x00003e63 jam  0x00000001 , 0x000048a9 
+ 00013385  0x00003e64 fetch  0x00000006 , 0x000048ae 
+ 00013386  0x00003e65 store  0x00000006 , 0x0000095c 
+ 00013387  0x00003e66 branch  0x00006260 
+ 00013388  0x00003e6b jam  0x00000000 , 0x000044a2 
+ 00013389  0x00003e6c rtn 
+ 00013390  0x00003e6f call  0x0000618d 
+ 00013391  0x00003e70 store  0x00000002 , 0x000048bd 
+ 00013392  0x00003e71 arg  0x000048b7 , 0x00000011 
+ 00013393  0x00003e72 call  0x000061ba 
+ 00013394  0x00003e73 store  0x00000001 , 0x000048b6 
+ 00013395  0x00003e74 setarg  0x00000065 
+ 00013396  0x00003e75 beq  0x00000000 , 0x0000345d 
+ 00013397  0x00003e76 sub  0x0000003f , 0x00000064 , 0x0000003e 
+ 00013398  0x00003e77 nbranch  0x0000345b , 0x00000002 
+ 00013399  0x00003e78 store  0x00000001 , 0x00004890 
+ 00013400  0x00003e7a jam  0x00000005 , 0x0000488d 
+ 00013401  0x00003e7b arg  0x00004888 , 0x00000013 
+ 00013402  0x00003e7c branch  0x000033e4 
+ 00013403  0x00003e7e jam  0x00000064 , 0x00004890 
+ 00013404  0x00003e7f branch  0x00003458 
+ 00013405  0x00003e82 branch  0x00003299 
+ 00013406  0x00003e87 call  0x00006e5e 
+ 00013407  0x00003e88 rtn  0x0000002b 
+ 00013408  0x00003e89 setarg  0x00003654 
+ 00013409  0x00003e8a store  0x00000002 , 0x0000488d 
+ 00013410  0x00003e8c setarg  0x00002354 
+ 00013411  0x00003e8d store  0x00000002 , 0x0000488f 
+ 00013412  0x00003e8f setarg  0x00003686 
+ 00013413  0x00003e90 store  0x00000002 , 0x00004891 
+ 00013414  0x00003e92 setarg  0x000034da 
+ 00013415  0x00003e93 store  0x00000002 , 0x0000445d 
+ 00013416  0x00003e95 setarg  0x000034da 
+ 00013417  0x00003e96 store  0x00000002 , 0x0000445f 
+ 00013418  0x00003e98 setarg  0x00003289 
+ 00013419  0x00003e99 store  0x00000002 , 0x00004469 
+ 00013420  0x00003e9b setarg  0x000034dc 
+ 00013421  0x00003e9c store  0x00000002 , 0x00004465 
+ 00013422  0x00003e9e setarg  0x000034fd 
+ 00013423  0x00003e9f store  0x00000002 , 0x00004467 
+ 00013424  0x00003ea1 setarg  0x0000324f 
+ 00013425  0x00003ea2 store  0x00000002 , 0x0000445b 
+ 00013426  0x00003ea4 setarg  0x00003567 
+ 00013427  0x00003ea5 store  0x00000002 , 0x0000446b 
+ 00013428  0x00003ea7 setarg  0x00003527 
+ 00013429  0x00003ea8 store  0x00000002 , 0x0000446f 
+ 00013430  0x00003eaa bpatch  0x000000b5 , 0x00004016 
+ 00013431  0x00003eab call  0x000034c0 
+ 00013432  0x00003eac call  0x000034ea 
+ 00013433  0x00003ead call  0x000079a5 
+ 00013434  0x00003eae jam  0x00000002 , 0x00004177 
+ 00013435  0x00003eaf jam  0x00000000 , 0x00004c64 
+ 00013436  0x00003eb0 fetch  0x00000001 , 0x00004a26 
+ 00013437  0x00003eb1 store  0x00000001 , 0x000048f5 
+ 00013438  0x00003eb2 beq  0x00000000 , 0x00003489 
+ 00013439  0x00003eb3 fetch  0x00000001 , 0x00004a27 
+ 00013440  0x00003eb4 store  0x00000001 , 0x00004793 
+ 00013441  0x00003eb5 jam  0x00000000 , 0x00004427 
+ 00013442  0x00003eb7 call  0x00007826 
+ 00013443  0x00003eb8 call  0x00007830 
+ 00013444  0x00003eb9 jam  0x00000001 , 0x00004a4e 
+ 00013445  0x00003eba fetch  0x00000002 , 0x0000478f 
+ 00013446  0x00003ebb rtnbit1  0x0000000c 
+ 00013447  0x00003ebc branch  0x00003289 
+ 00013448  0x00003ebf branch  0x000034a7 
+ 00013449  0x00003ec2 jam  0x00000002 , 0x00004a4e 
+ 00013450  0x00003ec4 jam  0x00000001 , 0x00004427 
+ 00013451  0x00003ec5 setarg  0x00000020 
+ 00013452  0x00003ec6 call  0x00004c56 
+ 00013453  0x00003ec8 arg  0x000042ff , 0x00000005 
+ 00013454  0x00003ec9 fetch  0x00000001 , 0x0000437a 
+ 00013455  0x00003ecb and  0x0000003f , 0x000000f0 , 0x00000002 
+ 00013456  0x00003ecc rshift4  0x00000002 , 0x00000002 
+ 00013457  0x00003ecd call  0x000034a1 
+ 00013458  0x00003ece istoret  0x00000001 , 0x00000005 
+ 00013459  0x00003ecf and  0x0000003f , 0x0000000f , 0x00000002 
+ 00013460  0x00003ed0 call  0x000034a1 
+ 00013461  0x00003ed1 istoret  0x00000001 , 0x00000005 
+ 00013462  0x00003ed2 call  0x00001a58 
+ 00013463  0x00003ed3 fetcht  0x00000001 , 0x000042f7 
+ 00013464  0x00003ed4 copy  0x00000002 , 0x00000039 
+ 00013465  0x00003ed5 arg  0x000043ea , 0x00000005 
+ 00013466  0x00003ed6 arg  0x000042f8 , 0x00000006 
+ 00013467  0x00003ed7 call  0x00007dd4 
+ 00013468  0x00003ed9 fetcht  0x00000001 , 0x000042f7 
+ 00013469  0x00003eda copy  0x00000002 , 0x00000039 
+ 00013470  0x00003edb arg  0x0000440a , 0x00000005 
+ 00013471  0x00003edc arg  0x000042f8 , 0x00000006 
+ 00013472  0x00003edd branch  0x00007dd4 
+ 00013473  0x00003edf sub  0x00000002 , 0x00000009 , 0x0000003e 
+ 00013474  0x00003ee0 branch  0x000034a5 , 0x00000002 
+ 00013475  0x00003ee1 add  0x00000002 , 0x00000037 , 0x00000002 
+ 00013476  0x00003ee2 rtn 
+ 00013477  0x00003ee4 add  0x00000002 , 0x00000030 , 0x00000002 
+ 00013478  0x00003ee5 rtn 
+ 00013479  0x00003ee8 fetch  0x00000001 , 0x00004a1b 
+ 00013480  0x00003ee9 bne  0x000000ff , 0x000034b9 
+ 00013481  0x00003eeb fetch  0x00000001 , 0x00004a19 
+ 00013482  0x00003eec bne  0x000000ff , 0x000034bc 
+ 00013483  0x00003eee fetch  0x00000001 , 0x00004a24 
+ 00013484  0x00003eef bne  0x000000ff , 0x000034be 
+ 00013485  0x00003ef1 fetch  0x00000001 , 0x00004987 
+ 00013486  0x00003ef2 copy  0x0000003f , 0x00000039 
+ 00013487  0x00003ef3 setarg  0x00004988 
+ 00013488  0x00003ef4 copy  0x0000003f , 0x00000011 
+ 00013489  0x00003ef6 copy  0x00000011 , 0x00000006 
+ 00013490  0x00003ef7 ifetch  0x00000001 , 0x00000006 
+ 00013491  0x00003ef8 copy  0x00000006 , 0x00000011 
+ 00013492  0x00003ef9 beq  0x000000ff , 0x000034b7 
+ 00013493  0x00003efa copy  0x0000003f , 0x00000002 
+ 00013494  0x00003efb call  0x0000610d 
+ 00013495  0x00003efd loop  0x000034b1 
+ 00013496  0x00003eff rtn 
+ 00013497  0x00003f01 fetch  0x00000008 , 0x00004a1b 
+ 00013498  0x00003f02 store  0x00000008 , 0x0000498a 
+ 00013499  0x00003f03 branch  0x000034a9 
+ 00013500  0x00003f05 store  0x00000001 , 0x00004988 
+ 00013501  0x00003f06 branch  0x000034ab 
+ 00013502  0x00003f08 store  0x00000001 , 0x00004989 
+ 00013503  0x00003f09 branch  0x000034ad 
+ 00013504  0x00003f0d call  0x00003650 
+ 00013505  0x00003f0e arg  0x00000000 , 0x00000011 
+ 00013506  0x00003f0f call  0x00006239 
+ 00013507  0x00003f10 call  0x000034a7 
+ 00013508  0x00003f11 call  0x000034f2 
+ 00013509  0x00003f12 call  0x000034d8 
+ 00013510  0x00003f13 branch  0x000034c7 
+ 00013511  0x00003f16 fetch  0x00000001 , 0x00004c51 
+ 00013512  0x00003f17 copy  0x0000003f , 0x00000039 
+ 00013513  0x00003f18 setarg  0x00004c52 
+ 00013514  0x00003f19 copy  0x0000003f , 0x00000011 
+ 00013515  0x00003f1b copy  0x00000011 , 0x00000006 
+ 00013516  0x00003f1c ifetch  0x00000001 , 0x00000006 
+ 00013517  0x00003f1d copy  0x00000006 , 0x00000011 
+ 00013518  0x00003f1e beq  0x000000ff , 0x000034d2 
+ 00013519  0x00003f1f copy  0x0000003f , 0x00000002 
+ 00013520  0x00003f20 store  0x00000001 , 0x00004c56 
+ 00013521  0x00003f21 call  0x000034d4 
+ 00013522  0x00003f23 loop  0x000034cb 
+ 00013523  0x00003f25 rtn 
+ 00013524  0x00003f28 fetch  0x00000001 , 0x00004c56 
+ 00013525  0x00003f29 rtneq  0x000000ff 
+ 00013526  0x00003f2a iforce  0x00000002 
+ 00013527  0x00003f2b branch  0x0000610d 
+ 00013528  0x00003f2f jam  0x00000064 , 0x00004a2a 
+ 00013529  0x00003f30 rtn 
+ 00013530  0x00003f34 branch  0x000061ff 
+ 00013531  0x00003f37 branch  0x0000620b 
+ 00013532  0x00003f3a call  0x000034f4 
+ 00013533  0x00003f3b call  0x000034df 
+ 00013534  0x00003f3c branch  0x000034db 
+ 00013535  0x00003f3f fetch  0x00000002 , 0x0000478f 
+ 00013536  0x00003f40 rtnbit1  0x00000009 
+ 00013537  0x00003f41 fetch  0x00000001 , 0x00004c64 
+ 00013538  0x00003f42 beq  0x00000001 , 0x000034e4 
+ 00013539  0x00003f43 rtn 
+ 00013540  0x00003f45 fetch  0x00000001 , 0x00004a45 
+ 00013541  0x00003f46 rtneq  0x00000001 
+ 00013542  0x00003f47 jam  0x00000001 , 0x00004a45 
+ 00013543  0x00003f48 call  0x000034ee 
+ 00013544  0x00003f49 call  0x000034f0 
+ 00013545  0x00003f4a branch  0x00003507 
+ 00013546  0x00003f4d fetch  0x00000002 , 0x00004c69 
+ 00013547  0x00003f4e store  0x00000002 , 0x00004c6b 
+ 00013548  0x00003f4f jam  0x00000000 , 0x00004c6d 
+ 00013549  0x00003f50 rtn 
+ 00013550  0x00003f54 setarg  0x00000000 
+ 00013551  0x00003f55 branch  0x000034eb 
+ 00013552  0x00003f59 arg  0x00000000 , 0x00000011 
+ 00013553  0x00003f5a branch  0x0000786c 
+ 00013554  0x00003f5e arg  0x00000000 , 0x00000011 
+ 00013555  0x00003f5f branch  0x00007871 
+ 00013556  0x00003f66 fetch  0x00000002 , 0x0000478f 
+ 00013557  0x00003f67 rtnbit0  0x00000009 
+ 00013558  0x00003f68 call  0x00001b24 
+ 00013559  0x00003f69 nrtn  0x00000034 
+ 00013560  0x00003f6a arg  0x00004973 , 0x00000011 
+ 00013561  0x00003f6b call  0x000079c1 
+ 00013562  0x00003f6c nrtn  0x00000028 
+ 00013563  0x00003f6d arg  0x00004973 , 0x00000006 
+ 00013564  0x00003f6e branch  0x00004c5a 
+ 00013565  0x00003f71 copy  0x00000013 , 0x0000003f 
+ 00013566  0x00003f72 beq  0x0000002d , 0x000032b1 
+ 00013567  0x00003f73 beq  0x00000010 , 0x00003299 
+ 00013568  0x00003f74 beq  0x00000014 , 0x00003503 
+ 00013569  0x00003f75 beq  0x00000015 , 0x0000350d 
+ 00013570  0x00003f76 rtn 
+ 00013571  0x00003f79 call  0x000034ee 
+ 00013572  0x00003f7a call  0x000034f0 
+ 00013573  0x00003f7b set0  0x00000027 , 0x00000000 
+ 00013574  0x00003f7c branch  0x00003509 
+ 00013575  0x00003f7e fetch  0x00000002 , 0x00004a46 
+ 00013576  0x00003f7f store  0x00000002 , 0x00004a48 
+ 00013577  0x00003f81 jam  0x00000014 , 0x00004a29 
+ 00013578  0x00003f82 jam  0x00000000 , 0x00004099 
+ 00013579  0x00003f83 call  0x00003277 
+ 00013580  0x00003f84 branch  0x00003295 
+ 00013581  0x00003f88 set1  0x00000027 , 0x00000000 
+ 00013582  0x00003f89 call  0x000034ea 
+ 00013583  0x00003f8a call  0x00003604 
+ 00013584  0x00003f8b call  0x000035f8 
+ 00013585  0x00003f8d setarg  0x00000000 
+ 00013586  0x00003f8e store  0x00000005 , 0x000049f7 
+ 00013587  0x00003f8f setarg  0x00000004 
+ 00013588  0x00003f90 call  0x0000627e 
+ 00013589  0x00003f91 setarg  0x00000005 
+ 00013590  0x00003f92 call  0x0000627e 
+ 00013591  0x00003f93 setarg  0x00000014 
+ 00013592  0x00003f94 call  0x0000627e 
+ 00013593  0x00003f95 setarg  0x00000015 
+ 00013594  0x00003f96 call  0x0000627e 
+ 00013595  0x00003f97 setarg  0x00000016 
+ 00013596  0x00003f98 call  0x0000627e 
+ 00013597  0x00003f99 setarg  0x00000007 
+ 00013598  0x00003f9a call  0x0000627e 
+ 00013599  0x00003f9b call  0x000079a5 
+ 00013600  0x00003f9c jam  0x0000000a , 0x000049b9 
+ 00013601  0x00003f9d jam  0x0000000a , 0x000049bb 
+ 00013602  0x00003f9e jam  0x0000000a , 0x000049bd 
+ 00013603  0x00003fa0 jam  0x00000002 , 0x00004177 
+ 00013604  0x00003fa1 setarg  0x00000020 
+ 00013605  0x00003fa2 call  0x00004c56 
+ 00013606  0x00003fa3 branch  0x00003279 
+ 00013607  0x00003fa6 call  0x000035a5 
+ 00013608  0x00003fa7 call  0x000035a8 
+ 00013609  0x00003fa8 call  0x000035ab 
+ 00013610  0x00003fa9 call  0x0000320a 
+ 00013611  0x00003faa call  0x0000353d 
+ 00013612  0x00003fab call  0x00003537 
+ 00013613  0x00003fac call  0x0000352f 
+ 00013614  0x00003fad branch  0x00003532 
+ 00013615  0x00003fb0 arg  0x00004c65 , 0x00000013 
+ 00013616  0x00003fb1 arg  0x00000000 , 0x00000012 
+ 00013617  0x00003fb2 branch  0x000031fc 
+ 00013618  0x00003fb5 arg  0x00004c6b , 0x00000013 
+ 00013619  0x00003fb6 arg  0x00003535 , 0x00000012 
+ 00013620  0x00003fb7 branch  0x00003203 
+ 00013621  0x00003fb9 jam  0x00000001 , 0x00004c6d 
+ 00013622  0x00003fba rtn 
+ 00013623  0x00003fbd arg  0x00004a48 , 0x00000013 
+ 00013624  0x00003fbe arg  0x0000353a , 0x00000012 
+ 00013625  0x00003fbf branch  0x00003203 
+ 00013626  0x00003fc1 jam  0x00000002 , 0x00004a45 
+ 00013627  0x00003fc2 jam  0x00000000 , 0x00004c64 
+ 00013628  0x00003fc3 branch  0x00003511 
+ 00013629  0x00003fc6 fetch  0x00000001 , 0x00004a23 
+ 00013630  0x00003fc7 rtn  0x00000034 
+ 00013631  0x00003fc8 arg  0x00004a29 , 0x00000013 
+ 00013632  0x00003fc9 arg  0x00003542 , 0x00000012 
+ 00013633  0x00003fca branch  0x000031fc 
+ 00013634  0x00003fcc fetch  0x00000001 , 0x00004a28 
+ 00013635  0x00003fcd store  0x00000001 , 0x00004a29 
+ 00013636  0x00003fce fetch  0x00000001 , 0x00004a2c 
+ 00013637  0x00003fcf nrtn  0x00000034 
+ 00013638  0x00003fd1 call  0x0000618d 
+ 00013639  0x00003fd2 store  0x00000002 , 0x00004a43 
+ 00013640  0x00003fd3 arg  0x00004a3d , 0x00000011 
+ 00013641  0x00003fd4 call  0x000061ba 
+ 00013642  0x00003fd5 fetcht  0x00000001 , 0x00004a2a 
+ 00013643  0x00003fd6 isub  0x00000002 , 0x0000003e 
+ 00013644  0x00003fd7 branch  0x0000354f , 0x00000002 
+ 00013645  0x00003fd8 store  0x00000001 , 0x00004a2a 
+ 00013646  0x00003fd9 copy  0x0000003f , 0x00000002 
+ 00013647  0x00003fdb storet  0x00000001 , 0x00004a2b 
+ 00013648  0x00003fdc fetch  0x00000001 , 0x00004a25 
+ 00013649  0x00003fdd isub  0x00000002 , 0x0000003e 
+ 00013650  0x00003fde call  0x0000355a , 0x00000002 
+ 00013651  0x00003fdf storet  0x00000001 , 0x00004a36 
+ 00013652  0x00003fe0 arg  0x00000006 , 0x00000039 
+ 00013653  0x00003fe1 arg  0x00004a31 , 0x00000006 
+ 00013654  0x00003fe2 call  0x00003561 
+ 00013655  0x00003fe3 store  0x00000001 , 0x00004a37 
+ 00013656  0x00003fe4 arg  0x00004a2e , 0x00000011 
+ 00013657  0x00003fe5 branch  0x000079aa 
+ 00013658  0x00003fe7 fetch  0x00000001 , 0x00004a2d 
+ 00013659  0x00003fe8 nrtn  0x00000034 
+ 00013660  0x00003fe9 jam  0x00000001 , 0x00004a2d 
+ 00013661  0x00003fea arg  0x00000001 , 0x00000011 
+ 00013662  0x00003feb branch  0x00007871 
+ 00013663  0x00003fed arg  0x00000001 , 0x00000011 
+ 00013664  0x00003fee branch  0x0000786c 
+ 00013665  0x00003ff3 arg  0x00000000 , 0x00000011 
+ 00013666  0x00003ff5 ifetch  0x00000001 , 0x00000006 
+ 00013667  0x00003ff6 iadd  0x00000011 , 0x00000011 
+ 00013668  0x00003ff7 loop  0x00003562 
+ 00013669  0x00003ff9 and  0x00000011 , 0x000000ff , 0x0000003f 
+ 00013670  0x00003ffa rtn 
+ 00013671  0x00003ffd fetch  0x00000001 , 0x00004436 
+ 00013672  0x00003ffe beq  0x00000012 , 0x0000356a 
+ 00013673  0x00003fff rtn 
+ 00013674  0x00004001 fetch  0x00000002 , 0x00004437 
+ 00013675  0x00004002 beq  0x00000014 , 0x00003581 
+ 00013676  0x00004003 rtn 
+ 00013677  0x00004006 bpatch  0x000000b6 , 0x00004016 
+ 00013678  0x00004007 ifetch  0x00000005 , 0x00000011 
+ 00013679  0x00004008 store  0x00000005 , 0x000009de 
+ 00013680  0x00004009 fetch  0x00000002 , 0x000009de 
+ 00013681  0x0000400a arg  0x00006b5a , 0x00000002 
+ 00013682  0x0000400b isub  0x00000002 , 0x0000003e 
+ 00013683  0x0000400c nrtn  0x00000005 
+ 00013684  0x0000400d fetch  0x00000002 , 0x000009e1 
+ 00013685  0x0000400e byteswap  0x0000003f , 0x0000003f 
+ 00013686  0x0000400f store  0x00000002 , 0x000009e1 
+ 00013687  0x00004010 copy  0x0000003f , 0x00000039 
+ 00013688  0x00004011 increase  0x00000005 , 0x00000011 
+ 00013689  0x00004012 copy  0x00000011 , 0x00000006 
+ 00013690  0x00004013 arg  0x000009e3 , 0x00000005 
+ 00013691  0x00004014 call  0x00007dd4 
+ 00013692  0x00004015 ifetch  0x00000001 , 0x00000006 
+ 00013693  0x00004016 store  0x00000001 , 0x000009ed 
+ 00013694  0x00004017 arg  0x000009e0 , 0x00000011 
+ 00013695  0x00004018 arg  0x000009e3 , 0x00000012 
+ 00013696  0x00004019 rtn 
+ 00013697  0x0000401c setarg  0x00000000 
+ 00013698  0x0000401d store  0x00000005 , 0x000049ad 
+ 00013699  0x0000401e store  0x00000005 , 0x000049b2 
+ 00013700  0x0000401f call  0x0000356d 
+ 00013701  0x00004020 copy  0x00000012 , 0x00000006 
+ 00013702  0x00004021 arg  0x000049ad , 0x00000005 
+ 00013703  0x00004022 arg  0x0000000a , 0x00000039 
+ 00013704  0x00004023 call  0x00007dd4 
+ 00013705  0x00004025 bpatch  0x000000b7 , 0x00004016 
+ 00013706  0x00004026 ifetch  0x00000001 , 0x00000011 
+ 00013707  0x00004027 beq  0x00000002 , 0x000035b4 
+ 00013708  0x00004028 beq  0x00000003 , 0x000035c9 
+ 00013709  0x00004029 beq  0x00000004 , 0x000035d0 
+ 00013710  0x0000402a beq  0x00000005 , 0x000035d0 
+ 00013711  0x0000402b beq  0x00000006 , 0x00003640 
+ 00013712  0x0000402c beq  0x00000007 , 0x00003641 
+ 00013713  0x0000402d beq  0x00000008 , 0x00003644 
+ 00013714  0x0000402e rtn 
+ 00013715  0x00004031 call  0x00003581 
+ 00013716  0x00004032 fetch  0x00000001 , 0x000009e0 
+ 00013717  0x00004033 beq  0x00000004 , 0x00003598 
+ 00013718  0x00004034 beq  0x00000005 , 0x00003598 
+ 00013719  0x00004035 rtn 
+ 00013720  0x00004037 fetch  0x00000001 , 0x000049ad 
+ 00013721  0x00004038 ncall  0x0000359f , 0x00000034 
+ 00013722  0x00004039 fetch  0x00000001 , 0x000049af 
+ 00013723  0x0000403a ncall  0x000035a1 , 0x00000034 
+ 00013724  0x0000403b fetch  0x00000001 , 0x000049b1 
+ 00013725  0x0000403c ncall  0x000035a3 , 0x00000034 
+ 00013726  0x0000403d rtn 
+ 00013727  0x00004040 jam  0x00000005 , 0x00004c4e 
+ 00013728  0x00004041 rtn 
+ 00013729  0x00004043 jam  0x00000005 , 0x00004c4f 
+ 00013730  0x00004044 rtn 
+ 00013731  0x00004046 jam  0x00000005 , 0x00004c50 
+ 00013732  0x00004047 rtn 
+ 00013733  0x0000404a arg  0x00004c4e , 0x00000013 
+ 00013734  0x0000404b arg  0x000035ae , 0x00000012 
+ 00013735  0x0000404c branch  0x000031fc 
+ 00013736  0x0000404e arg  0x00004c4f , 0x00000013 
+ 00013737  0x0000404f arg  0x000035b0 , 0x00000012 
+ 00013738  0x00004050 branch  0x000031fc 
+ 00013739  0x00004052 arg  0x00004c50 , 0x00000013 
+ 00013740  0x00004053 arg  0x000035b2 , 0x00000012 
+ 00013741  0x00004054 branch  0x000031fc 
+ 00013742  0x00004057 jam  0x00000000 , 0x000049ad 
+ 00013743  0x00004058 branch  0x000035d0 
+ 00013744  0x0000405a jam  0x00000000 , 0x000049af 
+ 00013745  0x0000405b branch  0x000035d0 
+ 00013746  0x0000405d jam  0x00000000 , 0x000049b1 
+ 00013747  0x0000405e branch  0x000035d0 
+ 00013748  0x00004064 fetch  0x00000001 , 0x000049ad 
+ 00013749  0x00004065 store  0x00000001 , 0x000049b8 
+ 00013750  0x00004066 fetch  0x00000001 , 0x000049ae 
+ 00013751  0x00004067 store  0x00000001 , 0x000049ba 
+ 00013752  0x00004068 branch  0x000035da 
+ 00013753  0x0000406d fetch  0x00000001 , 0x000049ad 
+ 00013754  0x0000406e store  0x00000001 , 0x000049ba 
+ 00013755  0x0000406f branch  0x000035e8 
+ 00013756  0x00004071 fetch  0x00000001 , 0x000049b9 
+ 00013757  0x00004072 call  0x000035c1 
+ 00013758  0x00004073 fetch  0x00000001 , 0x000049ae 
+ 00013759  0x00004074 store  0x00000001 , 0x000049b8 
+ 00013760  0x00004075 branch  0x000035e6 
+ 00013761  0x00004077 beq  0x00000002 , 0x000035c5 
+ 00013762  0x00004078 beq  0x00000003 , 0x000035c7 
+ 00013763  0x00004079 store  0x00000001 , 0x000049b9 
+ 00013764  0x0000407a rtn 
+ 00013765  0x0000407c jam  0x00000005 , 0x000049b9 
+ 00013766  0x0000407d rtn 
+ 00013767  0x0000407f jam  0x0000000a , 0x000049b9 
+ 00013768  0x00004080 rtn 
+ 00013769  0x00004082 fetch  0x00000001 , 0x000049ad 
+ 00013770  0x00004083 call  0x000035c1 
+ 00013771  0x00004084 fetch  0x00000001 , 0x000049b9 
+ 00013772  0x00004085 call  0x00003634 
+ 00013773  0x00004086 call  0x00003637 
+ 00013774  0x00004087 jam  0x00000000 , 0x0000095d 
+ 00013775  0x00004088 branch  0x00006272 
+ 00013776  0x0000408b fetch  0x00000001 , 0x00004a4b 
+ 00013777  0x0000408c nrtn  0x00000034 
+ 00013778  0x0000408d fetch  0x00000006 , 0x000049ad 
+ 00013779  0x0000408e store  0x00000006 , 0x000049b8 
+ 00013780  0x0000408f fetch  0x00000001 , 0x000049b9 
+ 00013781  0x00004090 fetcht  0x00000001 , 0x000049bb 
+ 00013782  0x00004091 iand  0x00000002 , 0x0000003f 
+ 00013783  0x00004092 fetcht  0x00000001 , 0x000049bd 
+ 00013784  0x00004093 iand  0x00000002 , 0x0000003f 
+ 00013785  0x00004094 call  0x000035ec , 0x00000034 
+ 00013786  0x00004096 bpatch  0x000000b8 , 0x00004017 
+ 00013787  0x00004097 fetch  0x00000002 , 0x0000478f 
+ 00013788  0x00004098 isolate1  0x00000009 , 0x0000003f 
+ 00013789  0x00004099 ncall  0x000034ea , 0x00000001 
+ 00013790  0x0000409a call  0x000035e6 
+ 00013791  0x0000409b call  0x000035e8 
+ 00013792  0x0000409c branch  0x000035e1 
+ 00013793  0x0000409f fetch  0x00000001 , 0x000049b8 
+ 00013794  0x000040a0 fetcht  0x00000001 , 0x000049ba 
+ 00013795  0x000040a1 iadd  0x00000002 , 0x0000003f 
+ 00013796  0x000040a2 nbranch  0x00007976 , 0x00000034 
+ 00013797  0x000040a3 branch  0x00007974 
+ 00013798  0x000040a6 arg  0x000049b8 , 0x00000006 
+ 00013799  0x000040a7 branch  0x000035ee 
+ 00013800  0x000040a9 arg  0x000049ba , 0x00000006 
+ 00013801  0x000040aa branch  0x000035f3 
+ 00013802  0x000040ac arg  0x000049bc , 0x00000006 
+ 00013803  0x000040ad branch  0x00003610 
+ 00013804  0x000040af jam  0x00000000 , 0x00004a2c 
+ 00013805  0x000040b0 rtn 
+ 00013806  0x000040b3 ifetch  0x00000001 , 0x00000006 
+ 00013807  0x000040b4 beq  0x00000000 , 0x000035f8 
+ 00013808  0x000040b5 beq  0x00000001 , 0x000035fc 
+ 00013809  0x000040b6 beq  0x00000002 , 0x00003600 
+ 00013810  0x000040b7 rtn 
+ 00013811  0x000040b9 ifetch  0x00000001 , 0x00000006 
+ 00013812  0x000040ba beq  0x00000000 , 0x00003604 
+ 00013813  0x000040bb beq  0x00000002 , 0x00003608 
+ 00013814  0x000040bc beq  0x00000001 , 0x0000360c 
+ 00013815  0x000040bd rtn 
+ 00013816  0x000040c0 fetcht  0x00000001 , 0x00004c52 
+ 00013817  0x000040c1 call  0x00006109 
+ 00013818  0x000040c2 fetcht  0x00000001 , 0x00004c53 
+ 00013819  0x000040c3 branch  0x00006109 
+ 00013820  0x000040c5 fetcht  0x00000001 , 0x00004c52 
+ 00013821  0x000040c6 call  0x0000610d 
+ 00013822  0x000040c7 fetcht  0x00000001 , 0x00004c53 
+ 00013823  0x000040c8 branch  0x00006109 
+ 00013824  0x000040ca fetcht  0x00000001 , 0x00004c52 
+ 00013825  0x000040cb call  0x00006109 
+ 00013826  0x000040cc fetcht  0x00000001 , 0x00004c53 
+ 00013827  0x000040cd branch  0x0000610d 
+ 00013828  0x000040cf fetcht  0x00000001 , 0x00004c54 
+ 00013829  0x000040d0 call  0x00006109 
+ 00013830  0x000040d1 fetcht  0x00000001 , 0x00004c55 
+ 00013831  0x000040d2 branch  0x00006109 
+ 00013832  0x000040d4 fetcht  0x00000001 , 0x00004c54 
+ 00013833  0x000040d5 call  0x0000610d 
+ 00013834  0x000040d6 fetcht  0x00000001 , 0x00004c55 
+ 00013835  0x000040d7 branch  0x00006109 
+ 00013836  0x000040d9 fetcht  0x00000001 , 0x00004c54 
+ 00013837  0x000040da call  0x00006109 
+ 00013838  0x000040db fetcht  0x00000001 , 0x00004c55 
+ 00013839  0x000040dc branch  0x0000610d 
+ 00013840  0x000040e2 bpatch  0x000000b9 , 0x00004017 
+ 00013841  0x000040e3 ifetch  0x00000001 , 0x00000006 
+ 00013842  0x000040e4 beq  0x00000000 , 0x0000361d 
+ 00013843  0x000040e5 beq  0x00000001 , 0x00003616 
+ 00013844  0x000040e6 beq  0x00000002 , 0x00003618 
+ 00013845  0x000040e7 rtn 
+ 00013846  0x000040e9 jam  0x00000000 , 0x000049d6 
+ 00013847  0x000040ea branch  0x00003619 
+ 00013848  0x000040ec jam  0x00000001 , 0x000049d6 
+ 00013849  0x000040ed ifetch  0x00000001 , 0x00000006 
+ 00013850  0x000040ee store  0x00000001 , 0x000049d8 
+ 00013851  0x000040ef ifetch  0x00000008 , 0x00000012 
+ 00013852  0x000040f0 branch  0x00003622 
+ 00013853  0x000040f3 ifetch  0x00000001 , 0x00000012 
+ 00013854  0x000040f4 call  0x0000627e 
+ 00013855  0x000040f5 increase  0x00000001 , 0x00000012 
+ 00013856  0x000040f6 ifetch  0x00000001 , 0x00000012 
+ 00013857  0x000040f7 branch  0x0000627e 
+ 00013858  0x000040f9 store  0x00000008 , 0x000049d9 
+ 00013859  0x000040fa jam  0x00000001 , 0x00004a2c 
+ 00013860  0x000040fb fetch  0x00000001 , 0x000049d6 
+ 00013861  0x000040fc beq  0x00000000 , 0x00003630 
+ 00013862  0x000040fe fetch  0x00000001 , 0x000049da 
+ 00013863  0x000040ff store  0x00000001 , 0x000049db 
+ 00013864  0x00004100 fetch  0x00000001 , 0x000049d9 
+ 00013865  0x00004102 call  0x0000627e 
+ 00013866  0x00004103 fetch  0x00000001 , 0x000049d8 
+ 00013867  0x00004104 call  0x00003634 
+ 00013868  0x00004105 store  0x00000001 , 0x000049e0 
+ 00013869  0x00004106 fetch  0x00000006 , 0x000049db 
+ 00013870  0x00004107 store  0x00000006 , 0x0000095c 
+ 00013871  0x00004108 branch  0x00006260 
+ 00013872  0x0000410a fetch  0x00000001 , 0x000049d9 
+ 00013873  0x0000410b store  0x00000001 , 0x000049db 
+ 00013874  0x0000410c fetch  0x00000001 , 0x000049da 
+ 00013875  0x0000410d branch  0x00003629 
+ 00013876  0x00004110 mul32  0x0000003f , 0x00000005 , 0x0000003f 
+ 00013877  0x00004111 add  0x0000003f , 0x00000032 , 0x0000003f 
+ 00013878  0x00004112 rtn 
+ 00013879  0x00004114 arg  0x00002ee0 , 0x00000002 
+ 00013880  0x00004115 imul32  0x00000002 , 0x0000003f 
+ 00013881  0x00004116 div  0x0000003f , 0x00000064 
+ 00013882  0x00004117 call  0x00007e64 
+ 00013883  0x00004118 quotient  0x00000002 
+ 00013884  0x00004119 copy  0x00000002 , 0x00000011 
+ 00013885  0x0000411a setarg  0x00002ee0 
+ 00013886  0x0000411b isub  0x00000002 , 0x00000012 
+ 00013887  0x0000411c rtn 
+ 00013888  0x0000411f rtn 
+ 00013889  0x00004122 fetch  0x00000008 , 0x000049ad 
+ 00013890  0x00004123 store  0x00000008 , 0x000049f7 
+ 00013891  0x00004124 rtn 
+ 00013892  0x00004127 fetch  0x00000001 , 0x00004a14 
+ 00013893  0x00004128 store  0x00000001 , 0x00004a0a 
+ 00013894  0x00004129 fetch  0x00000001 , 0x00004a15 
+ 00013895  0x0000412a store  0x00000001 , 0x00004a0b 
+ 00013896  0x0000412b fetch  0x00000001 , 0x00004a16 
+ 00013897  0x0000412c store  0x00000001 , 0x00004a0c 
+ 00013898  0x0000412d arg  0x0000000d , 0x00000039 
+ 00013899  0x0000412e arg  0x00004a05 , 0x00000006 
+ 00013900  0x0000412f call  0x00003561 
+ 00013901  0x00004130 store  0x00000001 , 0x00004a12 
+ 00013902  0x00004131 arg  0x00004a02 , 0x00000011 
+ 00013903  0x00004132 branch  0x000079aa 
+ 00013904  0x00004137 setarg  0x00000000 
+ 00013905  0x00004138 store  0x00000008 , 0x00004885 
+ 00013906  0x00004139 call  0x000023dc 
+ 00013907  0x0000413a branch  0x0000243a 
+ 00013908  0x0000413d call  0x00003658 
+ 00013909  0x0000413e call  0x00003660 
+ 00013910  0x0000413f call  0x0000366f 
+ 00013911  0x00004140 branch  0x0000368d 
+ 00013912  0x00004143 call  0x0000243e 
+ 00013913  0x00004145 fetch  0x00000001 , 0x000048c3 
+ 00013914  0x00004146 rtnne  0x00000001 
+ 00013915  0x00004147 fetch  0x00000001 , 0x00004c65 
+ 00013916  0x00004148 nbranch  0x00002493 , 0x00000034 
+ 00013917  0x00004149 fetch  0x00000001 , 0x00004a45 
+ 00013918  0x0000414a beq  0x00000002 , 0x00002493 
+ 00013919  0x0000414b rtn 
+ 00013920  0x0000414e fetch  0x00000001 , 0x000048c3 
+ 00013921  0x0000414f rtnne  0x00000000 
+ 00013922  0x00004150 call  0x00002497 
+ 00013923  0x00004151 branch  0x0000366d , 0x0000002f 
+ 00013924  0x00004153 fetch  0x00000001 , 0x00004c6d 
+ 00013925  0x00004154 rtn  0x00000034 
+ 00013926  0x00004155 fetch  0x00000001 , 0x00004c6e 
+ 00013927  0x00004156 increase  0x00000001 , 0x0000003f 
+ 00013928  0x00004157 store  0x00000001 , 0x00004c6e 
+ 00013929  0x00004158 beq  0x00000004 , 0x0000366d 
+ 00013930  0x00004159 call  0x00002281 
+ 00013931  0x0000415a call  0x000023e8 
+ 00013932  0x0000415b nbranch  0x00003664 , 0x0000002f 
+ 00013933  0x0000415d jam  0x00000000 , 0x00004c6e 
+ 00013934  0x0000415e rtn 
+ 00013935  0x00004161 fetch  0x00000001 , 0x000048c3 
+ 00013936  0x00004162 rtnne  0x00000001 
+ 00013937  0x00004163 call  0x0000234b 
+ 00013938  0x00004164 call  0x00003683 
+ 00013939  0x00004165 call  0x00002359 
+ 00013940  0x00004166 fetch  0x00000001 , 0x00004884 
+ 00013941  0x00004167 nbranch  0x0000367c , 0x00000034 
+ 00013942  0x00004168 call  0x0000253a 
+ 00013943  0x00004169 fetch  0x00000001 , 0x000048c1 
+ 00013944  0x0000416a rtn  0x00000034 
+ 00013945  0x0000416b setarg  0x00000000 
+ 00013946  0x0000416c store  0x00000004 , 0x000048dd 
+ 00013947  0x0000416d rtn 
+ 00013948  0x00004170 jam  0x00000000 , 0x000048c0 
+ 00013949  0x00004171 arg  0x00000000 , 0x00000011 
+ 00013950  0x00004172 call  0x0000786c 
+ 00013951  0x00004173 call  0x00002493 
+ 00013952  0x00004174 call  0x000022b2 
+ 00013953  0x00004175 fetch  0x00000004 , 0x000040a8 
+ 00013954  0x00004176 branch  0x00002292 
+ 00013955  0x00004179 fetch  0x00000004 , 0x000048dd 
+ 00013956  0x0000417a rtn  0x00000034 
+ 00013957  0x0000417b branch  0x00002292 
+ 00013958  0x0000417e fetch  0x00000002 , 0x0000478f 
+ 00013959  0x0000417f rtnbit1  0x00000009 
+ 00013960  0x00004180 fetch  0x00000002 , 0x00004a46 
+ 00013961  0x00004181 store  0x00000002 , 0x00004a48 
+ 00013962  0x00004182 jam  0x00000001 , 0x00004c64 
+ 00013963  0x00004183 arg  0x00004898 , 0x00000011 
+ 00013964  0x00004184 branch  0x00003593 
+ 00013965  0x00004187 fetch  0x00000001 , 0x00004c6d 
+ 00013966  0x00004188 rtn  0x00000034 
+ 00013967  0x00004189 call  0x00003695 
+ 00013968  0x0000418a nrtn  0x00000028 
+ 00013969  0x0000418b fetch  0x00000003 , 0x0000485f 
+ 00013970  0x0000418c call  0x00007e1f 
+ 00013971  0x0000418d storet  0x00000004 , 0x00004160 
+ 00013972  0x0000418e branch  0x00001464 
+ 00013973  0x00004190 enable  0x00000028 
+ 00013974  0x00004191 call  0x00001436 
+ 00013975  0x00004192 fetch  0x00000003 , 0x00004174 
+ 00013976  0x00004193 branch  0x00007ec7 , 0x00000034 
+ 00013977  0x00004194 branch  0x000034da 
+ 00013978  0x0000419b setarg  0x000036cc 
+ 00013979  0x0000419c store  0x00000002 , 0x0000488d 
+ 00013980  0x0000419d setarg  0x0000379c 
+ 00013981  0x0000419e store  0x00000002 , 0x00004891 
+ 00013982  0x0000419f setarg  0x000037ad 
+ 00013983  0x000041a0 store  0x00000002 , 0x00004893 
+ 00013984  0x000041a1 setarg  0x00003773 
+ 00013985  0x000041a2 store  0x00000002 , 0x0000488f 
+ 00013986  0x000041a3 setarg  0x000036d8 
+ 00013987  0x000041a4 store  0x00000002 , 0x00000b45 
+ 00013988  0x000041a5 branch  0x00007a08 
+ 00013989  0x000041aa fetch  0x00000001 , 0x00000a2b 
+ 00013990  0x000041ab store  0x00000001 , 0x000048f5 
+ 00013991  0x000041ac call  0x000036c7 
+ 00013992  0x000041ad fetch  0x00000001 , 0x00004915 
+ 00013993  0x000041ae isolate1  0x00000005 , 0x0000003f 
+ 00013994  0x000041af branch  0x000036ae , 0x00000001 
+ 00013995  0x000041b0 fetch  0x00000001 , 0x00004915 
+ 00013996  0x000041b1 isolate1  0x00000006 , 0x0000003f 
+ 00013997  0x000041b2 call  0x000022c4 , 0x00000001 
+ 00013998  0x000041b4 fetch  0x00000001 , 0x00004915 
+ 00013999  0x000041b5 and_into  0x0000000f , 0x0000003f 
+ 00014000  0x000041b6 store  0x00000001 , 0x000041e8 
+ 00014001  0x000041b7 call  0x00003174 
+ 00014002  0x000041b9 jam  0x000000ff , 0x00004881 
+ 00014003  0x000041ba setarg  0x00000c4b 
+ 00014004  0x000041bb store  0x00000002 , 0x000048ed 
+ 00014005  0x000041bc setarg  0x00000d4b 
+ 00014006  0x000041bd store  0x00000002 , 0x000048ef 
+ 00014007  0x000041be setarg  0x00000e4b 
+ 00014008  0x000041bf store  0x00000002 , 0x000048f1 
+ 00014009  0x000041c0 setarg  0x00000f4b 
+ 00014010  0x000041c1 store  0x00000002 , 0x000048f3 
+ 00014011  0x000041c2 jam  0x00000085 , 0x00004880 
+ 00014012  0x000041c3 jam  0x00000000 , 0x0000493e 
+ 00014013  0x000041c4 jam  0x00000000 , 0x000048d8 
+ 00014014  0x000041c5 call  0x000022d8 
+ 00014015  0x000041c6 call  0x000023dc 
+ 00014016  0x000041c7 call  0x000022db 
+ 00014017  0x000041c8 call  0x000022b5 
+ 00014018  0x000041ca fetch  0x00000001 , 0x0000491f 
+ 00014019  0x000041cb store  0x00000001 , 0x00000b47 
+ 00014020  0x000041cc fetch  0x00000009 , 0x00004916 
+ 00014021  0x000041cd store  0x00000009 , 0x00000b48 
+ 00014022  0x000041ce rtn 
+ 00014023  0x000041d1 jam  0x00000018 , 0x000040c5 
+ 00014024  0x000041d2 fetch  0x00000001 , 0x00004915 
+ 00014025  0x000041d3 rtnbit0  0x00000007 
+ 00014026  0x000041d4 jam  0x00000008 , 0x000040c5 
+ 00014027  0x000041d5 rtn 
+ 00014028  0x000041d8 fetch  0x00000001 , 0x000048bd 
+ 00014029  0x000041d9 beq  0x00000000 , 0x00003763 
+ 00014030  0x000041da beq  0x00000001 , 0x000036fd 
+ 00014031  0x000041dc rtn 
+ 00014032  0x000041e0 arg  0x00000001 , 0x00000002 
+ 00014033  0x000041e1 arg  0x000048f5 , 0x00000011 
+ 00014034  0x000041e2 setarg  0x0000002a 
+ 00014035  0x000041e3 branch  0x00005f00 
+ 00014036  0x000041e6 arg  0x00000001 , 0x00000039 
+ 00014037  0x000041e7 arg  0x000048f5 , 0x00000011 
+ 00014038  0x000041e8 arg  0x0000002a , 0x00000002 
+ 00014039  0x000041e9 branch  0x00005f12 
+ 00014040  0x000041ec fetch  0x00000001 , 0x00004915 
+ 00014041  0x000041ed bbit1  0x00000004 , 0x000036dc 
+ 00014042  0x000041ee fetch  0x00000001 , 0x000048f5 
+ 00014043  0x000041ef bne  0x0000005a , 0x000036e0 
+ 00014044  0x000041f1 jam  0x0000005a , 0x000048f5 
+ 00014045  0x000041f2 fetch  0x00000004 , 0x00009aac 
+ 00014046  0x000041f3 set1  0x0000001d , 0x0000003f 
+ 00014047  0x000041f4 store  0x00000004 , 0x00000aa0 
+ 00014048  0x000041f6 call  0x000036f7 
+ 00014049  0x000041f7 call  0x00007a5b 
+ 00014050  0x000041f8 call  0x000036e4 
+ 00014051  0x000041f9 branch  0x000036ed 
+ 00014052  0x000041fc fetch  0x00000001 , 0x00000b48 
+ 00014053  0x000041fd rtn  0x00000034 
+ 00014054  0x000041fe fetch  0x00000001 , 0x000048f5 
+ 00014055  0x000041ff beq  0x0000005a , 0x000036eb 
+ 00014056  0x00004201 fetch  0x00000004 , 0x00000b49 
+ 00014057  0x00004203 store  0x00000004 , 0x00000aa0 
+ 00014058  0x00004204 rtn 
+ 00014059  0x00004206 fetch  0x00000004 , 0x00000b4d 
+ 00014060  0x00004207 branch  0x000036e9 
+ 00014061  0x0000420a fetch  0x00000001 , 0x000048f5 
+ 00014062  0x0000420b beq  0x0000005a , 0x000036f3 
+ 00014063  0x0000420c setarg  0x000099a4 
+ 00014064  0x0000420d store  0x00000002 , 0x00000a93 
+ 00014065  0x0000420e jam  0x0000001a , 0x00000ac4 
+ 00014066  0x0000420f rtn 
+ 00014067  0x00004211 setarg  0x000099bf 
+ 00014068  0x00004212 store  0x00000002 , 0x00000a93 
+ 00014069  0x00004213 jam  0x0000003f , 0x00000ac4 
+ 00014070  0x00004214 rtn 
+ 00014071  0x00004217 fetch  0x00000001 , 0x00004920 
+ 00014072  0x00004218 rtn  0x00000034 
+ 00014073  0x00004219 arg  0x00004920 , 0x00000006 
+ 00014074  0x0000421a arg  0x00000b09 , 0x00000005 
+ 00014075  0x0000421b arg  0x0000001e , 0x00000039 
+ 00014076  0x0000421c branch  0x00007dd4 
+ 00014077  0x00004227 call  0x00002493 
+ 00014078  0x00004229 call  0x0000376b 
+ 00014079  0x0000422a call  0x0000249c 
+ 00014080  0x0000422b call  0x0000372f 
+ 00014081  0x0000422c branch  0x000036fe 
+ 00014082  0x0000422f call  0x00003705 
+ 00014083  0x00004230 call  0x00003714 
+ 00014084  0x00004231 branch  0x00003723 
+ 00014085  0x00004234 fetch  0x00000001 , 0x00004914 
+ 00014086  0x00004235 rtn  0x00000034 
+ 00014087  0x00004236 arg  0x0000000b , 0x00000007 
+ 00014088  0x00004237 call  0x00007de9 
+ 00014089  0x00004238 nrtn  0x00000034 
+ 00014090  0x00004239 jam  0x00000000 , 0x00004914 
+ 00014091  0x0000423a setarg  0x00000001 
+ 00014092  0x0000423b store  0x00000001 , 0x00000bff 
+ 00014093  0x0000423c setarg  0x00000000 
+ 00014094  0x0000423d istore  0x00000007 , 0x00000005 
+ 00014095  0x0000423f jam  0x00000020 , 0x00000bf8 
+ 00014096  0x00004241 fetch  0x00000001 , 0x00000bf9 
+ 00014097  0x00004242 set1  0x00000002 , 0x0000003f 
+ 00014098  0x00004243 store  0x00000001 , 0x00000bf9 
+ 00014099  0x00004244 rtn 
+ 00014100  0x00004247 fetch  0x00000001 , 0x00004912 
+ 00014101  0x00004248 rtn  0x00000034 
+ 00014102  0x00004249 arg  0x0000000e , 0x00000007 
+ 00014103  0x0000424a call  0x00007de9 
+ 00014104  0x0000424b nrtn  0x00000034 
+ 00014105  0x0000424c jam  0x00000000 , 0x00004912 
+ 00014106  0x0000424d arg  0x00000c0f , 0x00000005 
+ 00014107  0x0000424e arg  0x00000002 , 0x00000039 
+ 00014108  0x0000424f call  0x00007d8c 
+ 00014109  0x00004251 jam  0x00000000 , 0x00000c0f 
+ 00014110  0x00004253 jam  0x00000010 , 0x00000bf7 
+ 00014111  0x00004254 fetch  0x00000001 , 0x00000bf9 
+ 00014112  0x00004255 set1  0x00000001 , 0x0000003f 
+ 00014113  0x00004256 store  0x00000001 , 0x00000bf9 
+ 00014114  0x00004257 rtn 
+ 00014115  0x0000425a fetch  0x00000001 , 0x00004913 
+ 00014116  0x0000425b rtn  0x00000034 
+ 00014117  0x0000425c arg  0x0000000c , 0x00000007 
+ 00014118  0x0000425d call  0x00007de9 
+ 00014119  0x0000425e nrtn  0x00000034 
+ 00014120  0x0000425f jam  0x00000000 , 0x00004913 
+ 00014121  0x00004260 arg  0x00000c1f , 0x00000005 
+ 00014122  0x00004261 arg  0x00000002 , 0x00000039 
+ 00014123  0x00004262 call  0x00007d8c 
+ 00014124  0x00004263 jam  0x00000003 , 0x00000c1f 
+ 00014125  0x00004265 jam  0x00000021 , 0x00000bf8 
+ 00014126  0x00004266 branch  0x00003710 
+ 00014127  0x00004269 bpatch  0x000000ba , 0x00004017 
+ 00014128  0x0000426a fetch  0x00000001 , 0x00000bed 
+ 00014129  0x0000426b call  0x0000377d , 0x00000034 
+ 00014130  0x0000426c call  0x000079fc 
+ 00014131  0x0000426d fetch  0x00000001 , 0x00000be3 
+ 00014132  0x0000426e rtn  0x00000034 
+ 00014133  0x0000426f jam  0x00000000 , 0x00000be3 
+ 00014134  0x00004270 fetch  0x00000002 , 0x00000be1 
+ 00014135  0x00004271 arg  0x000002ba , 0x00000002 
+ 00014136  0x00004272 isub  0x00000002 , 0x0000003e 
+ 00014137  0x00004273 nrtn  0x00000005 
+ 00014138  0x00004275 fetch  0x00000001 , 0x00000b61 
+ 00014139  0x00004276 rtnne  0x000000ba 
+ 00014140  0x00004277 fetch  0x00000001 , 0x00000b62 
+ 00014141  0x00004278 beq  0x000000a0 , 0x00003744 
+ 00014142  0x00004279 beq  0x000000a1 , 0x0000374a 
+ 00014143  0x0000427a beq  0x000000a6 , 0x00003756 
+ 00014144  0x0000427b beq  0x000000a7 , 0x00003758 
+ 00014145  0x0000427c beq  0x000000a9 , 0x0000375e 
+ 00014146  0x0000427f jam  0x00000000 , 0x00000be4 
+ 00014147  0x00004280 rtn 
+ 00014148  0x00004283 fetch  0x00000001 , 0x00000b63 
+ 00014149  0x00004284 beq  0x00000081 , 0x00003747 
+ 00014150  0x00004285 branch  0x00003742 
+ 00014151  0x00004287 call  0x00002348 
+ 00014152  0x00004289 jam  0x00000001 , 0x00000be4 
+ 00014153  0x0000428a rtn 
+ 00014154  0x0000428d fetch  0x00000001 , 0x00000b63 
+ 00014155  0x0000428e beq  0x00000001 , 0x0000374f 
+ 00014156  0x0000428f beq  0x00000084 , 0x00003752 
+ 00014157  0x00004290 beq  0x000000a7 , 0x00003754 
+ 00014158  0x00004291 branch  0x00003742 
+ 00014159  0x00004293 fetch  0x00000001 , 0x00004884 
+ 00014160  0x00004294 store  0x00000001 , 0x00000ba2 
+ 00014161  0x00004295 branch  0x00003748 
+ 00014162  0x00004297 call  0x00002494 
+ 00014163  0x00004298 branch  0x0000374f 
+ 00014164  0x0000429b jam  0x000000a1 , 0x00000ba2 
+ 00014165  0x0000429c branch  0x00003748 
+ 00014166  0x0000429f jam  0x00000015 , 0x00000ba2 
+ 00014167  0x000042a0 branch  0x00003748 
+ 00014168  0x000042a3 fetch  0x00000001 , 0x000048c3 
+ 00014169  0x000042a4 beq  0x00000000 , 0x0000375c 
+ 00014170  0x000042a5 beq  0x00000001 , 0x00003754 
+ 00014171  0x000042a6 rtn 
+ 00014172  0x000042a8 jam  0x000000a0 , 0x00000ba2 
+ 00014173  0x000042a9 branch  0x00003748 
+ 00014174  0x000042ac jam  0x00000000 , 0x00000ba2 
+ 00014175  0x000042ad jam  0x00000000 , 0x00000ba3 
+ 00014176  0x000042ae jam  0x00000001 , 0x00000ba4 
+ 00014177  0x000042af jam  0x00000007 , 0x00000ba5 
+ 00014178  0x000042b0 branch  0x00003748 
+ 00014179  0x000042b9 call  0x0000243a 
+ 00014180  0x000042bb call  0x0000243e 
+ 00014181  0x000042bc call  0x00002464 
+ 00014182  0x000042bd call  0x0000376b 
+ 00014183  0x000042be call  0x0000249c 
+ 00014184  0x000042bf call  0x000024b9 
+ 00014185  0x000042c0 call  0x0000372f 
+ 00014186  0x000042c1 branch  0x00003764 
+ 00014187  0x000042c4 bpatch  0x000000bb , 0x00004017 
+ 00014188  0x000042c5 fetch  0x00000001 , 0x000048c3 
+ 00014189  0x000042c6 rtnne  0x00000000 
+ 00014190  0x000042c7 call  0x00002497 
+ 00014191  0x000042c8 call  0x00003702 
+ 00014192  0x000042c9 fetch  0x00000001 , 0x000048bd 
+ 00014193  0x000042ca nrtn  0x00000034 
+ 00014194  0x000042cb branch  0x0000253a 
+ 00014195  0x000042ce fetch  0x00000001 , 0x00004839 
+ 00014196  0x000042cf beq  0x00000001 , 0x00003776 
+ 00014197  0x000042d0 beq  0x00000002 , 0x0000377f 
+ 00014198  0x000042d2 fetch  0x00000001 , 0x0000493f 
+ 00014199  0x000042d3 bbit1  0x00000000 , 0x00003785 
+ 00014200  0x000042d4 branch  0x00003781 
+ 00014201  0x000042d7 fetch  0x00000001 , 0x0000409a 
+ 00014202  0x000042d8 rtnne  0x00000004 
+ 00014203  0x000042d9 jam  0x00000003 , 0x0000493f 
+ 00014204  0x000042da rtn 
+ 00014205  0x000042dc jam  0x00000000 , 0x0000493f 
+ 00014206  0x000042dd rtn 
+ 00014207  0x000042e0 fetch  0x00000001 , 0x0000493f 
+ 00014208  0x000042e1 bbit1  0x00000001 , 0x00003789 
+ 00014209  0x000042e3 fetch  0x00000001 , 0x000048be 
+ 00014210  0x000042e4 beq  0x00000001 , 0x00003790 
+ 00014211  0x000042e5 beq  0x00000003 , 0x00003794 
+ 00014212  0x000042e6 rtn 
+ 00014213  0x000042e9 fetch  0x00000001 , 0x0000493f 
+ 00014214  0x000042ea set0  0x00000000 , 0x0000003f 
+ 00014215  0x000042eb store  0x00000001 , 0x0000493f 
+ 00014216  0x000042ec branch  0x0000378c 
+ 00014217  0x000042ef fetch  0x00000001 , 0x0000493f 
+ 00014218  0x000042f0 set0  0x00000001 , 0x0000003f 
+ 00014219  0x000042f1 store  0x00000001 , 0x0000493f 
+ 00014220  0x000042f3 jam  0x00000001 , 0x00004838 
+ 00014221  0x000042f4 setarg  0x000000ff 
+ 00014222  0x000042f5 store  0x00000001 , 0x000047c9 
+ 00014223  0x000042f6 rtn 
+ 00014224  0x000042fa jam  0x00000001 , 0x000048be 
+ 00014225  0x000042fb call  0x000023bb 
+ 00014226  0x000042fc nrtn  0x0000002f 
+ 00014227  0x000042fd branch  0x00002354 
+ 00014228  0x00004300 fetch  0x00000001 , 0x000047a9 
+ 00014229  0x00004301 beq  0x00000001 , 0x00003790 
+ 00014230  0x00004302 beq  0x000000ff , 0x00003790 
+ 00014231  0x00004303 jam  0x00000000 , 0x00000be5 
+ 00014232  0x00004304 jam  0x00000001 , 0x00004838 
+ 00014233  0x00004305 fetch  0x00000001 , 0x000048ce 
+ 00014234  0x00004306 store  0x00000001 , 0x000047c9 
+ 00014235  0x00004307 rtn 
+ 00014236  0x0000430a setarg  0x00000001 
+ 00014237  0x0000430b store  0x00000001 , 0x00000bff 
+ 00014238  0x0000430c fetch  0x00000007 , 0x00004898 
+ 00014239  0x0000430d istore  0x00000007 , 0x00000005 
+ 00014240  0x0000430e fetch  0x00000001 , 0x00004898 
+ 00014241  0x0000430f ncall  0x000037a5 , 0x00000034 
+ 00014242  0x00004310 fetch  0x00000001 , 0x00004898 
+ 00014243  0x00004311 call  0x000037a9 , 0x00000034 
+ 00014244  0x00004312 branch  0x0000370f 
+ 00014245  0x00004315 jam  0x00000001 , 0x00004914 
+ 00014246  0x00004316 setarg  0x00000180 
+ 00014247  0x00004317 arg  0x0000000b , 0x00000007 
+ 00014248  0x00004318 branch  0x00007ddb 
+ 00014249  0x0000431b jam  0x00000000 , 0x00004914 
+ 00014250  0x0000431c setarg  0x00000000 
+ 00014251  0x0000431d arg  0x0000000b , 0x00000007 
+ 00014252  0x0000431e branch  0x00007ddb 
+ 00014253  0x00004321 fetch  0x00000001 , 0x00004898 
+ 00014254  0x00004322 beq  0x00000000 , 0x000037b2 
+ 00014255  0x00004323 beq  0x00000002 , 0x000037e5 
+ 00014256  0x00004324 beq  0x00000003 , 0x000037cd 
+ 00014257  0x00004325 branch  0x000023fa 
+ 00014258  0x00004328 fetch  0x00000001 , 0x0000489a 
+ 00014259  0x00004329 store  0x00000001 , 0x000048be 
+ 00014260  0x0000432a jam  0x00000000 , 0x0000489a 
+ 00014261  0x0000432b arg  0x00000c0f , 0x00000005 
+ 00014262  0x0000432c arg  0x00004899 , 0x00000006 
+ 00014263  0x0000432d arg  0x00000008 , 0x00000039 
+ 00014264  0x0000432e call  0x00007dd4 
+ 00014265  0x0000432f fetch  0x00000008 , 0x00000c0f 
+ 00014266  0x00004330 ncall  0x000037c5 , 0x00000034 
+ 00014267  0x00004331 fetch  0x00000008 , 0x00000c0f 
+ 00014268  0x00004332 call  0x000037c9 , 0x00000034 
+ 00014269  0x00004333 fetch  0x00000008 , 0x00000c0f 
+ 00014270  0x00004334 store  0x00000008 , 0x000048f6 
+ 00014271  0x00004335 fetcht  0x00000008 , 0x000048fe 
+ 00014272  0x00004336 isub  0x00000002 , 0x0000003e 
+ 00014273  0x00004337 ncall  0x0000371e , 0x00000005 
+ 00014274  0x00004338 fetch  0x00000008 , 0x000048f6 
+ 00014275  0x00004339 store  0x00000008 , 0x000048fe 
+ 00014276  0x0000433a branch  0x000023fa 
+ 00014277  0x0000433d jam  0x00000001 , 0x00004912 
+ 00014278  0x0000433e setarg  0x00000180 
+ 00014279  0x0000433f arg  0x0000000e , 0x00000007 
+ 00014280  0x00004340 branch  0x00007ddb 
+ 00014281  0x00004343 jam  0x00000000 , 0x00004912 
+ 00014282  0x00004344 setarg  0x00000000 
+ 00014283  0x00004345 arg  0x0000000e , 0x00000007 
+ 00014284  0x00004346 branch  0x00007ddb 
+ 00014285  0x00004349 arg  0x00000c1f , 0x00000005 
+ 00014286  0x0000434a arg  0x00004898 , 0x00000006 
+ 00014287  0x0000434b arg  0x00000003 , 0x00000039 
+ 00014288  0x0000434c call  0x00007dd4 
+ 00014289  0x0000434d fetch  0x00000002 , 0x00000c20 
+ 00014290  0x0000434e ncall  0x000037dd , 0x00000034 
+ 00014291  0x0000434f fetch  0x00000002 , 0x00000c20 
+ 00014292  0x00004350 call  0x000037e1 , 0x00000034 
+ 00014293  0x00004351 fetch  0x00000003 , 0x00000c1f 
+ 00014294  0x00004352 store  0x00000003 , 0x00004906 
+ 00014295  0x00004353 fetcht  0x00000003 , 0x00004909 
+ 00014296  0x00004354 isub  0x00000002 , 0x0000003e 
+ 00014297  0x00004355 ncall  0x0000372d , 0x00000005 
+ 00014298  0x00004356 fetch  0x00000003 , 0x00004906 
+ 00014299  0x00004357 store  0x00000003 , 0x00004909 
+ 00014300  0x00004358 branch  0x000023fa 
+ 00014301  0x0000435b jam  0x00000001 , 0x00004913 
+ 00014302  0x0000435c setarg  0x00000180 
+ 00014303  0x0000435d arg  0x0000000c , 0x00000007 
+ 00014304  0x0000435e branch  0x00007ddb 
+ 00014305  0x00004361 jam  0x00000000 , 0x00004913 
+ 00014306  0x00004362 setarg  0x00000000 
+ 00014307  0x00004363 arg  0x0000000c , 0x00000007 
+ 00014308  0x00004364 branch  0x00007ddb 
+ 00014309  0x00004367 arg  0x00000c2f , 0x00000005 
+ 00014310  0x00004368 arg  0x00004898 , 0x00000006 
+ 00014311  0x00004369 arg  0x00000002 , 0x00000039 
+ 00014312  0x0000436a call  0x00007dd4 
+ 00014313  0x0000436b fetch  0x00000002 , 0x00000c2f 
+ 00014314  0x0000436c ncall  0x000037f5 , 0x00000034 
+ 00014315  0x0000436d fetch  0x00000002 , 0x00000c2f 
+ 00014316  0x0000436e call  0x000037f9 , 0x00000034 
+ 00014317  0x0000436f fetch  0x00000002 , 0x00000c2f 
+ 00014318  0x00004370 store  0x00000002 , 0x0000490c 
+ 00014319  0x00004371 fetcht  0x00000002 , 0x0000490f 
+ 00014320  0x00004372 isub  0x00000002 , 0x0000003e 
+ 00014321  0x00004373 ncall  0x000037fd , 0x00000005 
+ 00014322  0x00004374 fetch  0x00000002 , 0x0000490c 
+ 00014323  0x00004375 store  0x00000002 , 0x0000490f 
+ 00014324  0x00004376 branch  0x000023fa 
+ 00014325  0x00004379 jam  0x00000001 , 0x00004913 
+ 00014326  0x0000437a setarg  0x00000180 
+ 00014327  0x0000437b arg  0x0000000c , 0x00000007 
+ 00014328  0x0000437c branch  0x00007ddb 
+ 00014329  0x0000437e jam  0x00000000 , 0x00004913 
+ 00014330  0x0000437f setarg  0x00000000 
+ 00014331  0x00004380 arg  0x0000000c , 0x00000007 
+ 00014332  0x00004381 branch  0x00007ddb 
+ 00014333  0x00004384 jam  0x00000022 , 0x00000bf8 
+ 00014334  0x00004385 branch  0x00003710 
+ 00014335  0x00004389 fetch  0x00000001 , 0x0000409a 
+ 00014336  0x0000438a rtnne  0x00000004 
+ 00014337  0x0000438b fetch  0x00000001 , 0x000048f5 
+ 00014338  0x0000438c rtneq  0x0000005a 
+ 00014339  0x0000438e jam  0x00000001 , 0x0000493e 
+ 00014340  0x0000438f rtn 
+ 00014341  0x00004393 fetch  0x00000001 , 0x0000409a 
+ 00014342  0x00004394 rtnne  0x00000004 
+ 00014343  0x00004395 fetch  0x00000001 , 0x0000493e 
+ 00014344  0x00004396 rtn  0x00000034 
+ 00014345  0x00004397 jam  0x00000000 , 0x00000964 
+ 00014346  0x00004399 jam  0x0000005a , 0x000048f5 
+ 00014347  0x0000439a call  0x000036d4 
+ 00014348  0x0000439b call  0x000036d0 
+ 00014349  0x0000439c fetch  0x00000001 , 0x00000964 
+ 00014350  0x0000439d increase  0x00000001 , 0x0000003f 
+ 00014351  0x0000439e store  0x00000001 , 0x00000964 
+ 00014352  0x0000439f beq  0x000000ff , 0x00005e29 
+ 00014353  0x000043a0 fetch  0x00000001 , 0x000048f5 
+ 00014354  0x000043a1 bne  0x0000005a , 0x0000380a 
+ 00014355  0x000043a2 branch  0x00005e29 
+ 00014356  0x000043ac rtn  0x0000002b 
+ 00014357  0x000043ad call  0x00001a55 
+ 00014358  0x000043ae setarg  0x0000385b 
+ 00014359  0x000043af store  0x00000002 , 0x00004465 
+ 00014360  0x000043b0 setarg  0x00003848 
+ 00014361  0x000043b1 store  0x00000002 , 0x00004463 
+ 00014362  0x000043b2 setarg  0x0000385f 
+ 00014363  0x000043b3 store  0x00000002 , 0x00004467 
+ 00014364  0x000043b4 setarg  0x00003844 
+ 00014365  0x000043b5 store  0x00000002 , 0x0000445b 
+ 00014366  0x000043b6 setarg  0x00003998 
+ 00014367  0x000043b7 store  0x00000002 , 0x0000446d 
+ 00014368  0x000043b8 setarg  0x00003b94 
+ 00014369  0x000043b9 store  0x00000002 , 0x0000465d 
+ 00014370  0x000043ba setarg  0x00003c37 
+ 00014371  0x000043bb store  0x00000002 , 0x0000446b 
+ 00014372  0x000043bc setarg  0x00003c4e 
+ 00014373  0x000043bd store  0x00000002 , 0x0000446f 
+ 00014374  0x000043bf call  0x00003858 
+ 00014375  0x000043c0 bpatch  0x000000bc , 0x00004017 
+ 00014376  0x000043c1 call  0x0000382b 
+ 00014377  0x000043c2 call  0x0000383f 
+ 00014378  0x000043c3 branch  0x00003baa 
+ 00014379  0x000043c6 fetch  0x00000001 , 0x00008060 
+ 00014380  0x000043c7 set0  0x00000000 , 0x0000003f 
+ 00014381  0x000043c8 store  0x00000001 , 0x00008060 
+ 00014382  0x000043c9 fetch  0x00000008 , 0x000047b7 
+ 00014383  0x000043ca call  0x00005f56 
+ 00014384  0x000043cb fetch  0x00000002 , 0x000047bf 
+ 00014385  0x000043cc call  0x00005f6a 
+ 00014386  0x000043cd call  0x00005f7d 
+ 00014387  0x000043ce jam  0x00000008 , 0x0000807d 
+ 00014388  0x000043cf jam  0x00000049 , 0x0000807e 
+ 00014389  0x000043d0 jam  0x0000000a , 0x00008079 
+ 00014390  0x000043d1 jam  0x0000000b , 0x0000807a 
+ 00014391  0x000043d3 arg  0x00000081 , 0x00000002 
+ 00014392  0x000043d4 fetch  0x00000002 , 0x000047c6 
+ 00014393  0x000043d5 isolate1  0x00000000 , 0x0000003f 
+ 00014394  0x000043d6 setflag  0x00000001 , 0x00000004 , 0x00000002 
+ 00014395  0x000043d7 storet  0x00000001 , 0x00008060 
+ 00014396  0x000043d8 rtn 
+ 00014397  0x000043db call  0x00003858 
+ 00014398  0x000043dc branch  0x0000382b 
+ 00014399  0x000043e1 fetcht  0x00000001 , 0x000047ab 
+ 00014400  0x000043e2 call  0x0000610d 
+ 00014401  0x000043e3 call  0x000038c2 
+ 00014402  0x000043e4 fetcht  0x00000001 , 0x000047a9 
+ 00014403  0x000043e5 branch  0x000060f4 
+ 00014404  0x000043e8 fetcht  0x00000001 , 0x000047a9 
+ 00014405  0x000043e9 call  0x000060fd 
+ 00014406  0x000043ea nbranch  0x00003251 , 0x00000001 
+ 00014407  0x000043eb branch  0x0000324f 
+ 00014408  0x000043ef call  0x0000384a 
+ 00014409  0x000043f0 branch  0x00003c5e 
+ 00014410  0x000043f3 fetch  0x00000001 , 0x0000478f 
+ 00014411  0x000043f4 bbit0  0x00000004 , 0x00003858 
+ 00014412  0x000043f5 setarg  0x00003eff 
+ 00014413  0x000043f6 fetcht  0x00000004 , 0x000047ce 
+ 00014414  0x000043f7 iadd  0x00000002 , 0x00000002 
+ 00014415  0x000043f8 copy  0x00000022 , 0x0000003f 
+ 00014416  0x000043f9 isub  0x00000002 , 0x0000003e 
+ 00014417  0x000043fa nrtn  0x00000002 
+ 00014418  0x000043fb fetch  0x00000002 , 0x0000478f 
+ 00014419  0x000043fc bbit1  0x00000005 , 0x00003858 
+ 00014420  0x000043fd fetch  0x00000002 , 0x000047c6 
+ 00014421  0x000043fe rtnbit1  0x0000000a 
+ 00014422  0x000043ff call  0x00003c61 
+ 00014423  0x00004400 call  0x0000328d 
+ 00014424  0x00004402 copy  0x00000022 , 0x0000003f 
+ 00014425  0x00004403 store  0x00000004 , 0x000047ce 
+ 00014426  0x00004404 rtn 
+ 00014427  0x00004407 call  0x00003c5e 
+ 00014428  0x00004408 call  0x0000534f 
+ 00014429  0x00004409 nrtn  0x00000034 
+ 00014430  0x0000440a branch  0x000038c7 
+ 00014431  0x0000440e copy  0x00000013 , 0x0000003f 
+ 00014432  0x0000440f beq  0x00000001 , 0x000038af 
+ 00014433  0x00004410 beq  0x00000002 , 0x0000387e 
+ 00014434  0x00004411 beq  0x00000004 , 0x000038b2 
+ 00014435  0x00004412 beq  0x00000005 , 0x0000389f 
+ 00014436  0x00004413 beq  0x00000008 , 0x00003885 
+ 00014437  0x00004414 beq  0x00000009 , 0x0000388c 
+ 00014438  0x00004415 beq  0x0000000a , 0x000038a5 
+ 00014439  0x00004416 beq  0x0000000b , 0x00003891 
+ 00014440  0x00004417 beq  0x0000000c , 0x0000389d 
+ 00014441  0x00004418 beq  0x00000013 , 0x000038b2 
+ 00014442  0x00004419 beq  0x00000014 , 0x000038ab 
+ 00014443  0x0000441a beq  0x00000015 , 0x000038a1 
+ 00014444  0x0000441b beq  0x00000021 , 0x000038a6 
+ 00014445  0x0000441c beq  0x00000023 , 0x000038a7 
+ 00014446  0x0000441d beq  0x00000024 , 0x000038aa 
+ 00014447  0x0000441e beq  0x00000030 , 0x00003bf2 
+ 00014448  0x0000441f beq  0x00000031 , 0x00003bf4 
+ 00014449  0x00004420 beq  0x00000032 , 0x00003c02 
+ 00014450  0x00004421 beq  0x00000033 , 0x00003c00 
+ 00014451  0x00004422 beq  0x00000034 , 0x00003bec 
+ 00014452  0x00004423 beq  0x00000035 , 0x00003bd5 
+ 00014453  0x00004424 beq  0x00000036 , 0x00003bea 
+ 00014454  0x00004425 beq  0x00000037 , 0x00003bf6 
+ 00014455  0x00004426 beq  0x00000038 , 0x00003bf8 
+ 00014456  0x00004427 beq  0x0000003b , 0x00003bd5 
+ 00014457  0x00004428 beq  0x0000003d , 0x00003bcc 
+ 00014458  0x00004429 beq  0x00000041 , 0x000038b4 
+ 00014459  0x0000442a beq  0x00000042 , 0x000038b6 
+ 00014460  0x0000442b beq  0x00000043 , 0x00003bea 
+ 00014461  0x0000442c rtn 
+ 00014462  0x00004430 call  0x00003858 
+ 00014463  0x00004431 fetch  0x00000001 , 0x00004772 
+ 00014464  0x00004432 ncall  0x00003bf6 , 0x00000034 
+ 00014465  0x00004433 call  0x000038b2 
+ 00014466  0x00004434 fetch  0x00000002 , 0x0000478f 
+ 00014467  0x00004435 rtnbit0  0x00000004 
+ 00014468  0x00004436 branch  0x0000388c 
+ 00014469  0x00004439 fetch  0x00000002 , 0x0000478f 
+ 00014470  0x0000443a set1  0x00000004 , 0x0000003f 
+ 00014471  0x0000443b store  0x00000002 , 0x0000478f 
+ 00014472  0x0000443c fetch  0x00000001 , 0x000047b4 
+ 00014473  0x0000443d store  0x00000001 , 0x00004177 
+ 00014474  0x0000443e call  0x000038c2 
+ 00014475  0x0000443f branch  0x00003b7f 
+ 00014476  0x00004444 fetch  0x00000002 , 0x0000478f 
+ 00014477  0x00004445 rtnbit0  0x00000004 
+ 00014478  0x00004446 set0  0x00000004 , 0x0000003f 
+ 00014479  0x00004447 store  0x00000002 , 0x0000478f 
+ 00014480  0x00004448 branch  0x00003b83 
+ 00014481  0x0000444e call  0x00003858 
+ 00014482  0x00004451 fetch  0x00000002 , 0x00004042 
+ 00014483  0x00004452 rshift  0x0000003f , 0x0000003f 
+ 00014484  0x00004453 fetcht  0x00000002 , 0x00004455 
+ 00014485  0x00004454 isub  0x00000002 , 0x0000003e 
+ 00014486  0x00004455 nbranch  0x00003898 , 0x00000005 
+ 00014487  0x00004456 branch  0x00003295 
+ 00014488  0x00004458 fetch  0x00000002 , 0x000047c6 
+ 00014489  0x00004459 rtnbit1  0x00000009 
+ 00014490  0x0000445a fetch  0x00000002 , 0x00008112 
+ 00014491  0x0000445b ncall  0x00003c65 , 0x00000034 
+ 00014492  0x0000445c branch  0x0000328b 
+ 00014493  0x0000445f call  0x00003c63 
+ 00014494  0x00004460 branch  0x00003297 
+ 00014495  0x00004463 call  0x00003858 
+ 00014496  0x00004464 branch  0x000038b9 
+ 00014497  0x00004467 call  0x00001ac8 
+ 00014498  0x00004468 jam  0x00000000 , 0x000047c8 
+ 00014499  0x00004469 call  0x000038b2 
+ 00014500  0x0000446a branch  0x00003b85 
+ 00014501  0x0000446d branch  0x0000325c 
+ 00014502  0x00004471 branch  0x00003c63 
+ 00014503  0x00004475 fetch  0x00000002 , 0x000047c6 
+ 00014504  0x00004476 bbit0  0x00000009 , 0x0000328d 
+ 00014505  0x00004477 branch  0x00003c67 
+ 00014506  0x0000447b branch  0x00003c67 
+ 00014507  0x00004480 call  0x000038b9 
+ 00014508  0x00004481 fetch  0x00000001 , 0x000047b5 
+ 00014509  0x00004482 store  0x00000001 , 0x00004177 
+ 00014510  0x00004483 branch  0x00003b81 
+ 00014511  0x00004487 jam  0x00000000 , 0x0000476e 
+ 00014512  0x00004488 call  0x00003c63 
+ 00014513  0x00004489 branch  0x00003c67 
+ 00014514  0x0000448e call  0x0000392f 
+ 00014515  0x0000448f branch  0x000038b7 
+ 00014516  0x00004493 call  0x00002162 
+ 00014517  0x00004494 branch  0x00001f46 
+ 00014518  0x00004497 branch  0x00003c18 
+ 00014519  0x0000449b fetcht  0x00000001 , 0x000047ab 
+ 00014520  0x0000449c branch  0x0000610d 
+ 00014521  0x0000449f call  0x000038bb 
+ 00014522  0x000044a0 branch  0x000038c2 
+ 00014523  0x000044a3 fetch  0x00000001 , 0x000047ae 
+ 00014524  0x000044a4 isolate1  0x00000000 , 0x0000003f 
+ 00014525  0x000044a5 call  0x0000326f , 0x00000001 
+ 00014526  0x000044a6 fetch  0x00000001 , 0x000047ae 
+ 00014527  0x000044a7 isolate1  0x00000001 , 0x0000003f 
+ 00014528  0x000044a8 call  0x00003277 , 0x00000001 
+ 00014529  0x000044a9 rtn 
+ 00014530  0x000044ab fetcht  0x00000001 , 0x000047ab 
+ 00014531  0x000044ac branch  0x00006109 
+ 00014532  0x000044af fetch  0x00000001 , 0x00004659 
+ 00014533  0x000044b0 rtneq  0x00000000 
+ 00014534  0x000044b1 branch  0x00006547 
+ 00014535  0x000044b4 fetch  0x00000001 , 0x0000810b 
+ 00014536  0x000044b5 bbit1  0x00000002 , 0x000038c4 
+ 00014537  0x000044b6 call  0x00005f9d 
+ 00014538  0x000044b7 ifetch  0x00000001 , 0x00000003 
+ 00014539  0x000044b8 bne  0x00000001 , 0x000038dd 
+ 00014540  0x000044b9 fetch  0x00000002 , 0x00008112 
+ 00014541  0x000044ba sub  0x0000003f , 0x00000002 , 0x0000003e 
+ 00014542  0x000044bb rtn  0x00000002 
+ 00014543  0x000044bc ifetch  0x00000001 , 0x00000003 
+ 00014544  0x000044bd store  0x00000001 , 0x000009cf 
+ 00014545  0x000044be ifetcht  0x00000001 , 0x00000003 
+ 00014546  0x000044bf copy  0x00000003 , 0x00000011 
+ 00014547  0x000044c0 storet  0x00000001 , 0x000009d0 
+ 00014548  0x000044c1 add  0x00000002 , 0x00000003 , 0x00000002 
+ 00014549  0x000044c2 fetch  0x00000002 , 0x00008112 
+ 00014550  0x000044c3 isub  0x00000002 , 0x00000002 
+ 00014551  0x000044c4 nrtn  0x00000002 
+ 00014552  0x000044c5 jam  0x00000001 , 0x000009d1 
+ 00014553  0x000044c6 call  0x000038eb 
+ 00014554  0x000044c7 fetch  0x00000001 , 0x000009d1 
+ 00014555  0x000044c8 rtneq  0x00000000 
+ 00014556  0x000044c9 branch  0x000038e6 
+ 00014557  0x000044cc call  0x00007d85 
+ 00014558  0x000044cd call  0x00003bdb 
+ 00014559  0x000044ce branch  0x000038e0 
+ 00014560  0x000044d2 bpatch  0x000000bd , 0x00004017 
+ 00014561  0x000044d3 call  0x00005f9d 
+ 00014562  0x000044d4 fetch  0x00000002 , 0x00008112 
+ 00014563  0x000044d5 rtn  0x00000034 
+ 00014564  0x000044d6 iadd  0x00000003 , 0x00000003 
+ 00014565  0x000044d7 branch  0x000038ea 
+ 00014566  0x000044da call  0x00005f9d 
+ 00014567  0x000044db increase  0x00000002 , 0x00000003 
+ 00014568  0x000044dc ifetch  0x00000001 , 0x00000003 
+ 00014569  0x000044dd iadd  0x00000003 , 0x00000003 
+ 00014570  0x000044df branch  0x00005fa9 
+ 00014571  0x000044e3 bpatch  0x000000be , 0x00004017 
+ 00014572  0x000044e4 fetch  0x00000001 , 0x000009cf 
+ 00014573  0x000044e5 beq  0x00000000 , 0x0000391d 
+ 00014574  0x000044e6 beq  0x00000001 , 0x00003922 
+ 00014575  0x000044e7 beq  0x00000002 , 0x00003927 
+ 00014576  0x000044e8 beq  0x00000003 , 0x0000393c 
+ 00014577  0x000044e9 beq  0x00000004 , 0x00003946 
+ 00014578  0x000044ea beq  0x00000005 , 0x0000394a 
+ 00014579  0x000044eb beq  0x00000009 , 0x0000396c 
+ 00014580  0x000044ec beq  0x0000000b , 0x000039c3 
+ 00014581  0x000044ed beq  0x0000000c , 0x000039c4 
+ 00014582  0x000044ee beq  0x0000000d , 0x000039e8 
+ 00014583  0x000044ef beq  0x0000000e , 0x000039eb 
+ 00014584  0x000044f0 beq  0x0000000f , 0x000039f3 
+ 00014585  0x000044f1 beq  0x00000010 , 0x000039fb 
+ 00014586  0x000044f2 beq  0x00000011 , 0x000039ff 
+ 00014587  0x000044f3 beq  0x00000012 , 0x00003a03 
+ 00014588  0x000044f4 beq  0x00000015 , 0x00003a07 
+ 00014589  0x000044f5 beq  0x00000026 , 0x00003a0c 
+ 00014590  0x000044f6 beq  0x00000028 , 0x00003a11 
+ 00014591  0x000044f7 beq  0x00000029 , 0x00003a21 
+ 00014592  0x000044f8 beq  0x0000002a , 0x00003a2a 
+ 00014593  0x000044f9 beq  0x0000002b , 0x00003a5d 
+ 00014594  0x000044fa beq  0x0000002c , 0x00003a63 
+ 00014595  0x000044fb beq  0x00000030 , 0x00003a6a 
+ 00014596  0x000044fc beq  0x00000031 , 0x00003a74 
+ 00014597  0x000044fd beq  0x00000032 , 0x00003a85 
+ 00014598  0x000044fe beq  0x00000033 , 0x00003a90 
+ 00014599  0x000044ff beq  0x00000034 , 0x00003abd 
+ 00014600  0x00004500 beq  0x00000035 , 0x00003ac0 
+ 00014601  0x00004501 beq  0x00000036 , 0x00003ac9 
+ 00014602  0x00004502 beq  0x00000037 , 0x00003ad2 
+ 00014603  0x00004503 beq  0x00000038 , 0x00003ad5 
+ 00014604  0x00004504 beq  0x00000040 , 0x00003add 
+ 00014605  0x00004505 beq  0x00000042 , 0x00003ae7 
+ 00014606  0x00004506 beq  0x00000048 , 0x00003aec 
+ 00014607  0x00004507 beq  0x00000049 , 0x00003af7 
+ 00014608  0x00004508 beq  0x00000051 , 0x00003afd 
+ 00014609  0x00004509 beq  0x00000061 , 0x00003b01 
+ 00014610  0x0000450a beq  0x00000076 , 0x00003b10 
+ 00014611  0x0000450b beq  0x00000077 , 0x00003b16 
+ 00014612  0x0000450c beq  0x00000078 , 0x00003b1b 
+ 00014613  0x0000450d beq  0x0000007a , 0x00003b51 
+ 00014614  0x0000450e beq  0x00000090 , 0x00003b5f 
+ 00014615  0x0000450f beq  0x00000091 , 0x00003b64 
+ 00014616  0x00004510 beq  0x00000092 , 0x00003b68 
+ 00014617  0x00004511 beq  0x00000093 , 0x00003b6d 
+ 00014618  0x00004512 beq  0x00000094 , 0x00003b71 
+ 00014619  0x00004513 beq  0x000000ff , 0x00003b77 
+ 00014620  0x00004514 branch  0x00003b79 
+ 00014621  0x0000451a fetch  0x00000001 , 0x000009d0 
+ 00014622  0x0000451b bne  0x00000006 , 0x00003b79 
+ 00014623  0x0000451c ifetch  0x00000006 , 0x00000003 
+ 00014624  0x0000451d store  0x00000006 , 0x000040a8 
+ 00014625  0x0000451e branch  0x00003b7c 
+ 00014626  0x00004522 fetch  0x00000001 , 0x000009d0 
+ 00014627  0x00004523 bne  0x00000006 , 0x00003b79 
+ 00014628  0x00004524 ifetch  0x00000006 , 0x00000003 
+ 00014629  0x00004525 store  0x00000006 , 0x0000437a 
+ 00014630  0x00004526 branch  0x00003b7c 
+ 00014631  0x0000452b fetch  0x00000001 , 0x000009d0 
+ 00014632  0x0000452c bne  0x00000001 , 0x00003b79 
+ 00014633  0x0000452d ifetcht  0x00000001 , 0x00000003 
+ 00014634  0x0000452e storet  0x00000001 , 0x000047b6 
+ 00014635  0x0000452f call  0x00003b7c 
+ 00014636  0x00004530 fetch  0x00000002 , 0x0000478f 
+ 00014637  0x00004531 rtnbit1  0x00000009 
+ 00014638  0x00004532 rtnbit1  0x00000000 
+ 00014639  0x00004534 fetch  0x00000001 , 0x000047ae 
+ 00014640  0x00004535 isolate1  0x00000000 , 0x0000003f 
+ 00014641  0x00004536 nbranch  0x00003935 , 0x00000001 
+ 00014642  0x00004537 fetcht  0x00000001 , 0x000047b6 
+ 00014643  0x00004538 and  0x00000002 , 0x00000003 , 0x0000003f 
+ 00014644  0x00004539 store  0x00000001 , 0x0000409b 
+ 00014645  0x0000453b fetch  0x00000001 , 0x000047ae 
+ 00014646  0x0000453c isolate1  0x00000001 , 0x0000003f 
+ 00014647  0x0000453d nrtn  0x00000001 
+ 00014648  0x0000453e fetcht  0x00000001 , 0x000047b6 
+ 00014649  0x0000453f isolate1  0x00000002 , 0x00000002 
+ 00014650  0x00004540 branch  0x00003279 , 0x00000001 
+ 00014651  0x00004541 branch  0x00003277 
+ 00014652  0x00004546 fetch  0x00000001 , 0x000009d0 
+ 00014653  0x00004547 sub  0x0000003f , 0x00000043 , 0x0000003e 
+ 00014654  0x00004548 nbranch  0x00003b79 , 0x00000002 
+ 00014655  0x00004549 store  0x00000001 , 0x000045ff 
+ 00014656  0x0000454a arg  0x00000008 , 0x00000039 
+ 00014657  0x0000454b call  0x00007d8c 
+ 00014658  0x0000454c fetchr  0x00000039 , 0x00000001 , 0x000009d0 
+ 00014659  0x0000454d arg  0x00004600 , 0x00000005 
+ 00014660  0x0000454e call  0x00005fdf 
+ 00014661  0x0000454f branch  0x00003b7c 
+ 00014662  0x00004554 arg  0x0000001d , 0x0000003f 
+ 00014663  0x00004555 arg  0x000042f7 , 0x00000005 
+ 00014664  0x00004556 call  0x00003ac3 
+ 00014665  0x00004557 branch  0x00001a55 
+ 00014666  0x0000455c fetch  0x00000001 , 0x0000478f 
+ 00014667  0x0000455d bbit0  0x00000004 , 0x00003b79 
+ 00014668  0x0000455e call  0x00003249 
+ 00014669  0x0000455f branch  0x0000395a , 0x00000001 
+ 00014670  0x00004560 jam  0x00000000 , 0x000009d1 
+ 00014671  0x00004561 call  0x00003858 
+ 00014672  0x00004562 fetch  0x00000001 , 0x00004656 
+ 00014673  0x00004563 rtn  0x00000034 
+ 00014674  0x00004564 fetch  0x00000002 , 0x00004661 
+ 00014675  0x00004565 nbranch  0x00003958 , 0x00000034 
+ 00014676  0x00004566 fetch  0x00000001 , 0x000009d0 
+ 00014677  0x00004567 store  0x00000002 , 0x00004661 
+ 00014678  0x00004569 store  0x00000002 , 0x0000465f 
+ 00014679  0x0000456a storer  0x00000003 , 0x00000002 , 0x0000465f 
+ 00014680  0x0000456c call  0x0000395c 
+ 00014681  0x0000456d branch  0x0000656c 
+ 00014682  0x00004570 jam  0x00000000 , 0x000009d1 
+ 00014683  0x00004571 branch  0x00003c48 
+ 00014684  0x00004574 call  0x00003962 
+ 00014685  0x00004575 fetch  0x00000002 , 0x00004661 
+ 00014686  0x00004576 fetcht  0x00000002 , 0x000047ac 
+ 00014687  0x00004577 isub  0x00000002 , 0x0000003f 
+ 00014688  0x00004578 store  0x00000002 , 0x00004661 
+ 00014689  0x00004579 rtn 
+ 00014690  0x0000457c fetch  0x00000002 , 0x00004661 
+ 00014691  0x0000457d fetcht  0x00000002 , 0x0000465a 
+ 00014692  0x0000457e call  0x00007ebb 
+ 00014693  0x0000457f fetcht  0x00000002 , 0x0000464c 
+ 00014694  0x00004580 call  0x00007ebb 
+ 00014695  0x00004581 store  0x00000002 , 0x000047ac 
+ 00014696  0x00004582 rtn 
+ 00014697  0x00004585 jam  0x00000001 , 0x000009d1 
+ 00014698  0x00004586 jam  0x00000005 , 0x000009cf 
+ 00014699  0x00004587 branch  0x00003b7c 
+ 00014700  0x0000458c fetch  0x00000002 , 0x0000478f 
+ 00014701  0x0000458d bbit0  0x00000009 , 0x00003b79 
+ 00014702  0x0000458e call  0x000039c0 
+ 00014703  0x0000458f branch  0x00003b79 , 0x00000028 
+ 00014704  0x00004590 jam  0x00000000 , 0x000009d1 
+ 00014705  0x00004591 fetch  0x00000002 , 0x000047c6 
+ 00014706  0x00004592 bbit1  0x00000008 , 0x00003991 
+ 00014707  0x00004593 fetch  0x00000001 , 0x000047c8 
+ 00014708  0x00004594 nrtn  0x00000034 
+ 00014709  0x00004595 jam  0x00000001 , 0x000009d1 
+ 00014710  0x00004596 ifetch  0x00000002 , 0x00000003 
+ 00014711  0x00004597 store  0x00000002 , 0x000047c9 
+ 00014712  0x00004598 storer  0x00000003 , 0x00000002 , 0x000047cb 
+ 00014713  0x00004599 fetch  0x00000001 , 0x000009d0 
+ 00014714  0x0000459a pincrease  0xfffffffe 
+ 00014715  0x0000459b nbranch  0x00003b79 , 0x00000002 
+ 00014716  0x0000459c branch  0x00003b79 , 0x00000005 
+ 00014717  0x0000459d store  0x00000001 , 0x000047c8 
+ 00014718  0x0000459e fetcht  0x00000002 , 0x000047c9 
+ 00014719  0x0000459f increase  0xffffffff , 0x00000002 
+ 00014720  0x000045a0 call  0x00001a11 
+ 00014721  0x000045a1 branch  0x00003994 , 0x00000034 
+ 00014722  0x000045a2 ifetcht  0x00000004 , 0x00000006 
+ 00014723  0x000045a3 setarg  0x01280302 
+ 00014724  0x000045a4 isub  0x00000002 , 0x0000003e 
+ 00014725  0x000045a5 nbranch  0x00003994 , 0x00000005 
+ 00014726  0x000045a6 ifetch  0x00000001 , 0x00000006 
+ 00014727  0x000045a7 store  0x00000001 , 0x000047cd 
+ 00014728  0x000045a8 and_into  0x00000030 , 0x0000003f 
+ 00014729  0x000045a9 branch  0x00003994 , 0x00000034 
+ 00014730  0x000045aa jam  0x00000000 , 0x000009d1 
+ 00014731  0x000045ab call  0x00001ac6 
+ 00014732  0x000045ac call  0x00003998 
+ 00014733  0x000045ad call  0x00003998 
+ 00014734  0x000045ae call  0x00003998 
+ 00014735  0x000045af fetch  0x00000002 , 0x000047c6 
+ 00014736  0x000045b0 rtnbit0  0x00000008 
+ 00014737  0x000045b2 jam  0x00000001 , 0x000009d1 
+ 00014738  0x000045b3 call  0x00003c6b 
+ 00014739  0x000045b4 branch  0x00003b7c 
+ 00014740  0x000045b7 jam  0x00000000 , 0x000047c8 
+ 00014741  0x000045b8 jam  0x00000001 , 0x000009d1 
+ 00014742  0x000045b9 call  0x00003c6b 
+ 00014743  0x000045ba branch  0x00003b79 
+ 00014744  0x000045bd fetch  0x00000001 , 0x000047c8 
+ 00014745  0x000045be rtn  0x00000034 
+ 00014746  0x000045bf call  0x00001b24 
+ 00014747  0x000045c0 nrtn  0x00000034 
+ 00014748  0x000045c1 call  0x000039bb 
+ 00014749  0x000045c2 bpatch  0x000000bf , 0x00004017 
+ 00014750  0x000045c3 fetch  0x00000002 , 0x00004380 
+ 00014751  0x000045c4 call  0x00007ebb 
+ 00014752  0x000045c5 copy  0x0000003f , 0x00000002 
+ 00014753  0x000045c6 fetch  0x00000001 , 0x00004435 
+ 00014754  0x000045c7 rtnbit1  0x00000000 
+ 00014755  0x000045c8 add  0x00000002 , 0xfffffffd , 0x0000003f 
+ 00014756  0x000045c9 arg  0x000000fb , 0x00000002 
+ 00014757  0x000045ca call  0x00007ebb 
+ 00014758  0x000045cb fetcht  0x00000001 , 0x000047c8 
+ 00014759  0x000045cc call  0x00007ebb 
+ 00014760  0x000045cd copy  0x0000003f , 0x00000011 
+ 00014761  0x000045ce copy  0x00000002 , 0x0000003f 
+ 00014762  0x000045cf isub  0x00000011 , 0x0000003f 
+ 00014763  0x000045d0 store  0x00000001 , 0x000047c8 
+ 00014764  0x000045d1 call  0x000039b6 
+ 00014765  0x000045d2 fetch  0x00000002 , 0x000047cb 
+ 00014766  0x000045d3 copy  0x0000003f , 0x00000003 
+ 00014767  0x000045d4 copy  0x00000011 , 0x00000039 
+ 00014768  0x000045d5 call  0x00005fdf 
+ 00014769  0x000045d6 copy  0x00000003 , 0x0000003f 
+ 00014770  0x000045d7 store  0x00000002 , 0x000047cb 
+ 00014771  0x000045d8 fetch  0x00000001 , 0x000047c8 
+ 00014772  0x000045d9 nrtn  0x00000034 
+ 00014773  0x000045da branch  0x00003c69 
+ 00014774  0x000045dd fetcht  0x00000002 , 0x000047c9 
+ 00014775  0x000045de fetch  0x00000001 , 0x000047cd 
+ 00014776  0x000045df bbit1  0x00000005 , 0x00001e68 
+ 00014777  0x000045e0 bbit1  0x00000004 , 0x00001e5f 
+ 00014778  0x000045e1 rtn 
+ 00014779  0x000045e6 arg  0x00000017 , 0x00000002 
+ 00014780  0x000045e7 fetch  0x00000002 , 0x000047c6 
+ 00014781  0x000045e8 rtnbit1  0x00000001 
+ 00014782  0x000045e9 fetcht  0x00000002 , 0x00004382 
+ 00014783  0x000045ea rtn 
+ 00014784  0x000045ed fetch  0x00000002 , 0x000047c6 
+ 00014785  0x000045ee bbit1  0x00000002 , 0x00001e39 
+ 00014786  0x000045ef branch  0x00007ec7 
+ 00014787  0x000045f4 branch  0x00003bae 
+ 00014788  0x000045f9 ifetch  0x00000001 , 0x00000003 
+ 00014789  0x000045fa beq  0x00000081 , 0x000039d1 
+ 00014790  0x000045fb beq  0x00000082 , 0x000039d3 
+ 00014791  0x000045fc beq  0x00000083 , 0x000039d5 
+ 00014792  0x000045fe copy  0x0000003f , 0x00000011 
+ 00014793  0x000045ff call  0x00006f26 
+ 00014794  0x00004600 call  0x000075af 
+ 00014795  0x00004601 copy  0x00000011 , 0x0000003f 
+ 00014796  0x00004602 beq  0x00000000 , 0x000039d7 
+ 00014797  0x00004603 beq  0x00000001 , 0x000039da 
+ 00014798  0x00004604 beq  0x00000002 , 0x000039e4 
+ 00014799  0x00004605 beq  0x00000003 , 0x000039e6 
+ 00014800  0x00004606 branch  0x00003b79 
+ 00014801  0x00004609 call  0x00006f22 
+ 00014802  0x0000460a branch  0x000039da 
+ 00014803  0x0000460d call  0x00006f22 
+ 00014804  0x0000460e branch  0x000039e4 
+ 00014805  0x00004611 call  0x00006f22 
+ 00014806  0x00004612 branch  0x000039e6 
+ 00014807  0x00004615 call  0x00006f2d 
+ 00014808  0x00004616 jam  0x00000000 , 0x00004767 
+ 00014809  0x00004617 branch  0x00003b7c 
+ 00014810  0x0000461a setarg  0x00000003 
+ 00014811  0x0000461c store  0x00000001 , 0x0000476f 
+ 00014812  0x0000461d store  0x00000001 , 0x00004768 
+ 00014813  0x0000461e setarg  0x00000000 
+ 00014814  0x0000461f store  0x00000001 , 0x00004769 
+ 00014815  0x00004620 setarg  0x00000004 
+ 00014816  0x00004621 store  0x00000001 , 0x0000476a 
+ 00014817  0x00004622 call  0x0000580c 
+ 00014818  0x00004623 jam  0x00000001 , 0x00004767 
+ 00014819  0x00004624 branch  0x00003b7c 
+ 00014820  0x00004626 setarg  0x00000002 
+ 00014821  0x00004627 branch  0x000039db 
+ 00014822  0x0000462a setarg  0x00000001 
+ 00014823  0x0000462b branch  0x000039db 
+ 00014824  0x00004630 arg  0x00000010 , 0x0000003f 
+ 00014825  0x00004631 arg  0x00004796 , 0x00000005 
+ 00014826  0x00004632 branch  0x00003ac3 
+ 00014827  0x00004637 ifetch  0x00000001 , 0x00000003 
+ 00014828  0x00004638 fetcht  0x00000001 , 0x000047c6 
+ 00014829  0x00004639 nsetflag  0x00000034 , 0x00000000 , 0x00000002 
+ 00014830  0x0000463a storet  0x00000001 , 0x000047c6 
+ 00014831  0x0000463b fetcht  0x00000001 , 0x00008060 
+ 00014832  0x0000463c nsetflag  0x00000034 , 0x00000004 , 0x00000002 
+ 00014833  0x0000463d storet  0x00000001 , 0x00008060 
+ 00014834  0x0000463e branch  0x00003b7c 
+ 00014835  0x00004643 fetchr  0x00000039 , 0x00000001 , 0x000009d0 
+ 00014836  0x00004644 call  0x00007e2d 
+ 00014837  0x00004645 call  0x00005f72 
+ 00014838  0x00004646 store  0x00000002 , 0x000047bf 
+ 00014839  0x00004647 call  0x00003b7c 
+ 00014840  0x00004648 call  0x00007e7c 
+ 00014841  0x00004649 fetch  0x00000002 , 0x000047bf 
+ 00014842  0x0000464a branch  0x00005f6a 
+ 00014843  0x0000464f arg  0x00000002 , 0x00000011 
+ 00014844  0x00004650 arg  0x000047a7 , 0x00000012 
+ 00014845  0x00004651 arg  0x00000000 , 0x00000002 
+ 00014846  0x00004652 branch  0x00003b87 
+ 00014847  0x00004657 fetch  0x00000002 , 0x0000478f 
+ 00014848  0x00004658 bbit0  0x00000000 , 0x00003b79 
+ 00014849  0x0000465a call  0x00003b7c 
+ 00014850  0x0000465b branch  0x00003268 
+ 00014851  0x00004660 fetch  0x00000002 , 0x0000478f 
+ 00014852  0x00004661 bbit0  0x00000009 , 0x00003b79 
+ 00014853  0x00004663 call  0x00003b7c 
+ 00014854  0x00004664 branch  0x00003281 
+ 00014855  0x00004669 fetch  0x00000001 , 0x000009d0 
+ 00014856  0x0000466a bne  0x00000003 , 0x00003b79 
+ 00014857  0x0000466b ifetch  0x00000003 , 0x00000003 
+ 00014858  0x0000466c store  0x00000003 , 0x000040b2 
+ 00014859  0x0000466d branch  0x00003b7c 
+ 00014860  0x00004672 fetchr  0x00000039 , 0x00000001 , 0x000009d0 
+ 00014861  0x00004673 fetch  0x00000002 , 0x00004489 
+ 00014862  0x00004674 icopy  0x00000005 
+ 00014863  0x00004675 call  0x00005fdf 
+ 00014864  0x00004676 branch  0x00003b7c 
+ 00014865  0x0000467b fetch  0x00000002 , 0x0000478f 
+ 00014866  0x0000467c bbit1  0x00000009 , 0x00003aec 
+ 00014867  0x0000467d bbit0  0x00000000 , 0x00003b79 
+ 00014868  0x0000467e ifetch  0x00000001 , 0x00000003 
+ 00014869  0x0000467f fetcht  0x00000001 , 0x0000476e 
+ 00014870  0x00004680 setflag  0x00000034 , 0x00000000 , 0x00000002 
+ 00014871  0x00004681 set1  0x00000007 , 0x00000002 
+ 00014872  0x00004682 storet  0x00000001 , 0x0000476e 
+ 00014873  0x00004684 call  0x00003b7c 
+ 00014874  0x00004686 fetch  0x00000001 , 0x0000476e 
+ 00014875  0x00004687 bbit1  0x00000006 , 0x00003a1d 
+ 00014876  0x00004688 rtn 
+ 00014877  0x0000468b bbit1  0x00000000 , 0x000056e4 
+ 00014878  0x0000468c jam  0x00000000 , 0x0000476e 
+ 00014879  0x0000468d jam  0x00000021 , 0x0000095b 
+ 00014880  0x0000468e branch  0x000078e5 
+ 00014881  0x00004693 fetch  0x00000001 , 0x0000478f 
+ 00014882  0x00004694 rtnbit0  0x00000004 
+ 00014883  0x00004695 fetch  0x00000001 , 0x00004659 
+ 00014884  0x00004696 rtneq  0x00000000 
+ 00014885  0x00004697 ifetch  0x00000001 , 0x00000003 
+ 00014886  0x00004698 fetcht  0x00000001 , 0x00004657 
+ 00014887  0x00004699 iadd  0x00000002 , 0x00000002 
+ 00014888  0x0000469a storet  0x00000001 , 0x00004657 
+ 00014889  0x0000469b rtn 
+ 00014890  0x000046a0 arg  0x00000040 , 0x00000039 
+ 00014891  0x000046a1 arg  0x000043e7 , 0x00000005 
+ 00014892  0x000046a2 call  0x00007d9b 
+ 00014893  0x000046a3 setarg  0x00000000 
+ 00014894  0x000046a4 store  0x00000001 , 0x00000974 
+ 00014895  0x000046a5 copy  0x00000011 , 0x00000003 
+ 00014896  0x000046a7 copy  0x00000003 , 0x0000003f 
+ 00014897  0x000046a8 store  0x00000002 , 0x00000978 
+ 00014898  0x000046a9 call  0x00003a58 
+ 00014899  0x000046ab fetch  0x00000001 , 0x00000974 
+ 00014900  0x000046ac fetcht  0x00000001 , 0x00000964 
+ 00014901  0x000046ad increase  0x00000001 , 0x00000002 
+ 00014902  0x000046ae iadd  0x00000002 , 0x0000003f 
+ 00014903  0x000046af store  0x00000001 , 0x00000974 
+ 00014904  0x000046b1 sub  0x0000003f , 0x0000001f , 0x0000003e 
+ 00014905  0x000046b2 nbranch  0x00003a44 , 0x00000002 
+ 00014906  0x000046b4 fetcht  0x00000001 , 0x000043e7 
+ 00014907  0x000046b5 setarg  0x000043e8 
+ 00014908  0x000046b6 iadd  0x00000002 , 0x0000003f 
+ 00014909  0x000046b7 store  0x00000002 , 0x0000097d 
+ 00014910  0x000046b8 fetcht  0x00000001 , 0x00000964 
+ 00014911  0x000046b9 increase  0x00000001 , 0x00000002 
+ 00014912  0x000046ba fetch  0x00000001 , 0x000043e7 
+ 00014913  0x000046bb iadd  0x00000002 , 0x0000003f 
+ 00014914  0x000046bc store  0x00000001 , 0x000043e7 
+ 00014915  0x000046bd branch  0x00003a4d 
+ 00014916  0x000046bf fetcht  0x00000001 , 0x00004407 
+ 00014917  0x000046c0 setarg  0x00004408 
+ 00014918  0x000046c1 iadd  0x00000002 , 0x0000003f 
+ 00014919  0x000046c2 store  0x00000002 , 0x0000097d 
+ 00014920  0x000046c3 fetcht  0x00000001 , 0x00000964 
+ 00014921  0x000046c4 increase  0x00000001 , 0x00000002 
+ 00014922  0x000046c5 fetch  0x00000001 , 0x00004407 
+ 00014923  0x000046c6 iadd  0x00000002 , 0x0000003f 
+ 00014924  0x000046c7 store  0x00000001 , 0x00004407 
+ 00014925  0x000046c9 fetch  0x00000002 , 0x0000097d 
+ 00014926  0x000046ca copy  0x0000003f , 0x00000005 
+ 00014927  0x000046cb fetch  0x00000002 , 0x00000978 
+ 00014928  0x000046cc copy  0x0000003f , 0x00000003 
+ 00014929  0x000046ce copy  0x00000002 , 0x00000039 
+ 00014930  0x000046cf call  0x00005fdf 
+ 00014931  0x000046d1 fetch  0x00000001 , 0x000009d0 
+ 00014932  0x000046d2 fetcht  0x00000001 , 0x00000974 
+ 00014933  0x000046d3 isub  0x00000002 , 0x0000003e 
+ 00014934  0x000046d4 nbranch  0x00003a30 , 0x00000005 
+ 00014935  0x000046d5 branch  0x00003b7c 
+ 00014936  0x000046d9 ifetch  0x00000001 , 0x00000003 
+ 00014937  0x000046da store  0x00000001 , 0x00000964 
+ 00014938  0x000046db ifetch  0x00000001 , 0x00000003 
+ 00014939  0x000046dc store  0x00000001 , 0x00000970 
+ 00014940  0x000046dd rtn 
+ 00014941  0x000046e2 arg  0x00000000 , 0x00000002 
+ 00014942  0x000046e3 arg  0x00000002 , 0x00000011 
+ 00014943  0x000046e4 fetch  0x00000002 , 0x000047c3 
+ 00014944  0x000046e5 store  0x00000002 , 0x0000098e 
+ 00014945  0x000046e6 arg  0x0000098e , 0x00000012 
+ 00014946  0x000046e7 branch  0x00003b87 
+ 00014947  0x000046ec fetch  0x00000001 , 0x000009d0 
+ 00014948  0x000046ed bne  0x00000001 , 0x00003b79 
+ 00014949  0x000046ee ifetch  0x00000001 , 0x00000003 
+ 00014950  0x000046ef store  0x00000001 , 0x000047c1 
+ 00014951  0x000046f0 setarg  0x00000000 
+ 00014952  0x000046f1 store  0x00000002 , 0x000047c3 
+ 00014953  0x000046f2 branch  0x00003b7c 
+ 00014954  0x000046f7 fetch  0x00000001 , 0x000009d0 
+ 00014955  0x000046f8 bne  0x00000004 , 0x00003b79 
+ 00014956  0x000046f9 fetch  0x00000002 , 0x0000478f 
+ 00014957  0x000046fa bbit1  0x00000009 , 0x00003b51 
+ 00014958  0x000046fb ifetch  0x00000004 , 0x00000003 
+ 00014959  0x000046fc store  0x00000004 , 0x00004797 
+ 00014960  0x000046fd jam  0x00000004 , 0x00004796 
+ 00014961  0x000046fe jam  0x00000000 , 0x00004770 
+ 00014962  0x000046ff call  0x00003b7c 
+ 00014963  0x00004700 branch  0x00005664 
+ 00014964  0x00004705 fetch  0x00000001 , 0x000009d0 
+ 00014965  0x00004706 bne  0x00000003 , 0x00003b79 
+ 00014966  0x00004707 ifetch  0x00000001 , 0x00000003 
+ 00014967  0x00004708 beq  0x00000000 , 0x00003a7a 
+ 00014968  0x00004709 beq  0x00000001 , 0x00003a80 
+ 00014969  0x0000470a branch  0x00003b79 
+ 00014970  0x0000470d call  0x00003b7c 
+ 00014971  0x0000470e ifetcht  0x00000001 , 0x00000003 
+ 00014972  0x0000470f ifetch  0x00000001 , 0x00000003 
+ 00014973  0x00004710 beq  0x00000002 , 0x00006121 
+ 00014974  0x00004711 nsetflag  0x00000034 , 0x00000007 , 0x00000002 
+ 00014975  0x00004712 branch  0x000060f4 
+ 00014976  0x00004715 call  0x00003b7c 
+ 00014977  0x00004716 ifetcht  0x00000001 , 0x00000003 
+ 00014978  0x00004717 ifetch  0x00000001 , 0x00000003 
+ 00014979  0x00004718 branch  0x0000610d , 0x00000034 
+ 00014980  0x00004719 branch  0x00006109 
+ 00014981  0x0000471e fetch  0x00000001 , 0x000009d0 
+ 00014982  0x0000471f bne  0x00000001 , 0x00003b79 
+ 00014983  0x00004720 ifetcht  0x00000001 , 0x00000003 
+ 00014984  0x00004721 call  0x000060fd 
+ 00014985  0x00004722 setarg  0x00000000 
+ 00014986  0x00004723 nsetflag  0x00000001 , 0x00000000 , 0x0000003f 
+ 00014987  0x00004724 arg  0x00000001 , 0x00000011 
+ 00014988  0x00004725 store  0x00000002 , 0x0000098e 
+ 00014989  0x00004726 arg  0x0000098e , 0x00000012 
+ 00014990  0x00004727 arg  0x00000000 , 0x00000002 
+ 00014991  0x00004728 branch  0x00003b87 
+ 00014992  0x0000472d ifetch  0x00000001 , 0x00000003 
+ 00014993  0x0000472e copy  0x0000003f , 0x00000002 
+ 00014994  0x0000472f beq  0x00000081 , 0x00003a9f 
+ 00014995  0x00004730 beq  0x00000082 , 0x00003aa3 
+ 00014996  0x00004731 beq  0x00000083 , 0x00003aa8 
+ 00014997  0x00004732 beq  0x00000084 , 0x00003aac 
+ 00014998  0x00004733 store  0x00000001 , 0x0000439d 
+ 00014999  0x00004734 call  0x000075af 
+ 00015000  0x00004735 call  0x00001f35 
+ 00015001  0x00004736 fetch  0x00000001 , 0x0000439d 
+ 00015002  0x00004737 beq  0x00000000 , 0x00003ab0 
+ 00015003  0x00004738 beq  0x00000001 , 0x00003ab3 
+ 00015004  0x00004739 beq  0x00000002 , 0x00003ab5 
+ 00015005  0x0000473a beq  0x00000004 , 0x00003ab7 
+ 00015006  0x0000473b branch  0x00003b79 
+ 00015007  0x0000473e storet  0x00000001 , 0x0000439d 
+ 00015008  0x0000473f call  0x00001f31 
+ 00015009  0x00004740 jam  0x0000000d , 0x00004353 
+ 00015010  0x00004741 branch  0x00003ab1 
+ 00015011  0x00004743 storet  0x00000001 , 0x0000439d 
+ 00015012  0x00004744 call  0x00001f31 
+ 00015013  0x00004745 jam  0x0000000d , 0x00004353 
+ 00015014  0x00004746 jam  0x00000001 , 0x00004351 
+ 00015015  0x00004747 branch  0x00003b7c 
+ 00015016  0x00004749 storet  0x00000001 , 0x0000439d 
+ 00015017  0x0000474a call  0x00001f31 
+ 00015018  0x0000474b jam  0x0000000d , 0x00004353 
+ 00015019  0x0000474c branch  0x00003abb 
+ 00015020  0x0000474e storet  0x00000001 , 0x0000439d 
+ 00015021  0x0000474f call  0x00001f31 
+ 00015022  0x00004750 jam  0x0000000d , 0x00004353 
+ 00015023  0x00004751 branch  0x00003ab9 
+ 00015024  0x00004755 jam  0x00000000 , 0x00004353 
+ 00015025  0x00004757 jam  0x00000003 , 0x00004351 
+ 00015026  0x00004758 branch  0x00003b7c 
+ 00015027  0x0000475a jam  0x00000001 , 0x00004353 
+ 00015028  0x0000475b branch  0x00003ab1 
+ 00015029  0x0000475d jam  0x00000005 , 0x00004353 
+ 00015030  0x0000475e branch  0x00003abb 
+ 00015031  0x00004760 jam  0x00000005 , 0x00004353 
+ 00015032  0x00004761 branch  0x00003ab9 
+ 00015033  0x00004763 jam  0x00000002 , 0x00004351 
+ 00015034  0x00004764 branch  0x00003b7c 
+ 00015035  0x00004766 jam  0x00000000 , 0x00004351 
+ 00015036  0x00004767 branch  0x00003b7c 
+ 00015037  0x0000476c arg  0x0000001f , 0x0000003f 
+ 00015038  0x0000476d arg  0x000043e7 , 0x00000005 
+ 00015039  0x0000476e branch  0x00003ac3 
+ 00015040  0x00004773 arg  0x0000001f , 0x0000003f 
+ 00015041  0x00004774 arg  0x00004407 , 0x00000005 
+ 00015042  0x00004775 branch  0x00003ac3 
+ 00015043  0x00004778 fetchr  0x00000039 , 0x00000001 , 0x000009d0 
+ 00015044  0x00004779 isub  0x00000039 , 0x0000003e 
+ 00015045  0x0000477a nbranch  0x00003b79 , 0x00000002 
+ 00015046  0x0000477b istorer  0x00000039 , 0x00000001 , 0x00000005 
+ 00015047  0x0000477c call  0x00005fdf 
+ 00015048  0x0000477d branch  0x00003b7c 
+ 00015049  0x00004782 fetch  0x00000002 , 0x0000478f 
+ 00015050  0x00004783 bbit0  0x00000009 , 0x00003b79 
+ 00015051  0x00004784 fetch  0x00000001 , 0x000009d0 
+ 00015052  0x00004785 bne  0x00000008 , 0x00003b79 
+ 00015053  0x00004786 ifetch  0x00000008 , 0x00000003 
+ 00015054  0x00004787 store  0x00000008 , 0x00004372 
+ 00015055  0x00004788 jam  0x00000012 , 0x0000095b 
+ 00015056  0x00004789 call  0x000078e5 
+ 00015057  0x0000478a branch  0x00003b7c 
+ 00015058  0x0000478f ifetch  0x00000002 , 0x00000003 
+ 00015059  0x00004790 store  0x00000002 , 0x00004428 
+ 00015060  0x00004791 branch  0x00003b7c 
+ 00015061  0x00004796 fetch  0x00000001 , 0x0000439d 
+ 00015062  0x00004797 branch  0x00003b79 , 0x00000034 
+ 00015063  0x00004798 fetch  0x00000001 , 0x0000439b 
+ 00015064  0x00004799 bne  0x00000000 , 0x00003b79 
+ 00015065  0x0000479a fetch  0x00000001 , 0x0000439c 
+ 00015066  0x0000479b bne  0x00000000 , 0x00003b79 
+ 00015067  0x0000479c call  0x00007992 
+ 00015068  0x0000479d branch  0x00003b7c 
+ 00015069  0x000047a2 fetch  0x00000001 , 0x000009d0 
+ 00015070  0x000047a3 bne  0x00000005 , 0x00003b79 
+ 00015071  0x000047a4 ifetch  0x00000001 , 0x00000003 
+ 00015072  0x000047a5 store  0x00000001 , 0x000047af 
+ 00015073  0x000047a6 ifetch  0x00000004 , 0x00000003 
+ 00015074  0x000047a7 store  0x00000004 , 0x000047b0 
+ 00015075  0x000047a8 fetcht  0x00000001 , 0x000047af 
+ 00015076  0x000047a9 call  0x0000610d 
+ 00015077  0x000047aa call  0x00003c35 
+ 00015078  0x000047ab branch  0x00003b7c 
+ 00015079  0x000047b0 fetch  0x00000001 , 0x000009d0 
+ 00015080  0x000047b1 bne  0x00000001 , 0x00003b79 
+ 00015081  0x000047b2 ifetch  0x00000001 , 0x00000003 
+ 00015082  0x000047b3 store  0x00000001 , 0x000041e8 
+ 00015083  0x000047b4 branch  0x00003b7c 
+ 00015084  0x000047b9 ifetch  0x00000001 , 0x00000003 
+ 00015085  0x000047ba beq  0x00000001 , 0x00003af5 
+ 00015086  0x000047bb fetch  0x00000001 , 0x00004399 
+ 00015087  0x000047bc beq  0x00000003 , 0x00003af3 
+ 00015088  0x000047bd beq  0x00000006 , 0x00003af3 
+ 00015089  0x000047be beq  0x00000007 , 0x00003af3 
+ 00015090  0x000047bf branch  0x00003b79 
+ 00015091  0x000047c1 jam  0x00000001 , 0x0000439a 
+ 00015092  0x000047c2 branch  0x00003b7c 
+ 00015093  0x000047c5 call  0x00001f9b 
+ 00015094  0x000047c6 branch  0x00003b7c 
+ 00015095  0x000047cb fetch  0x00000001 , 0x000009d0 
+ 00015096  0x000047cc bne  0x00000001 , 0x00003b79 
+ 00015097  0x000047cd call  0x00003b7c 
+ 00015098  0x000047ce ifetch  0x00000001 , 0x00000003 
+ 00015099  0x000047cf branch  0x00005840 , 0x00000034 
+ 00015100  0x000047d0 branch  0x0000583e 
+ 00015101  0x000047d5 call  0x00003b7c 
+ 00015102  0x000047d6 call  0x00007e7c 
+ 00015103  0x000047d7 jam  0x00000001 , 0x00008010 
+ 00015104  0x000047d8 branch  0x0000137e 
+ 00015105  0x000047dd fetch  0x00000001 , 0x000009d0 
+ 00015106  0x000047de beq  0x00000000 , 0x00003b79 
+ 00015107  0x000047df ifetch  0x00000001 , 0x00000003 
+ 00015108  0x000047e0 branch  0x00003b0e , 0x00000034 
+ 00015109  0x000047e1 fetch  0x00000001 , 0x000009d0 
+ 00015110  0x000047e2 bne  0x00000005 , 0x00003b79 
+ 00015111  0x000047e3 ifetch  0x00000004 , 0x00000003 
+ 00015112  0x000047e4 arg  0x000f4240 , 0x00000002 
+ 00015113  0x000047e5 isub  0x00000002 , 0x0000003e 
+ 00015114  0x000047e6 branch  0x00003b79 , 0x00000002 
+ 00015115  0x000047e7 store  0x00000004 , 0x0000439e 
+ 00015116  0x000047e8 call  0x00001abe 
+ 00015117  0x000047e9 branch  0x00003b7c 
+ 00015118  0x000047ec call  0x00001ac0 
+ 00015119  0x000047ed branch  0x00003b7c 
+ 00015120  0x000047f2 ifetcht  0x00000002 , 0x00000003 
+ 00015121  0x000047f3 call  0x00001a11 
+ 00015122  0x000047f4 add  0x00000006 , 0xfffffffe , 0x00000005 
+ 00015123  0x000047f5 setarg  0x00000000 
+ 00015124  0x000047f6 istore  0x00000002 , 0x00000005 
+ 00015125  0x000047f7 branch  0x00003b7c 
+ 00015126  0x000047fc call  0x00003b1f 
+ 00015127  0x000047fd call  0x00003b4d 
+ 00015128  0x000047fe setarg  0x00000000 
+ 00015129  0x000047ff istore  0x00000002 , 0x00000005 
+ 00015130  0x00004800 branch  0x00003c0f 
+ 00015131  0x00004806 ifetch  0x00000001 , 0x00000003 
+ 00015132  0x00004807 call  0x00003b23 
+ 00015133  0x00004808 call  0x00003b2a 
+ 00015134  0x00004809 branch  0x00003c0f 
+ 00015135  0x0000480d call  0x00003b4a 
+ 00015136  0x0000480e setarg  0x00280002 
+ 00015137  0x0000480f istore  0x00000003 , 0x00000005 
+ 00015138  0x00004810 rtn 
+ 00015139  0x00004814 store  0x00000001 , 0x0000095c 
+ 00015140  0x00004815 call  0x00003b4a 
+ 00015141  0x00004816 setarg  0x01280302 
+ 00015142  0x00004817 istore  0x00000004 , 0x00000005 
+ 00015143  0x00004818 fetch  0x00000001 , 0x0000095c 
+ 00015144  0x00004819 istore  0x00000003 , 0x00000005 
+ 00015145  0x0000481a rtn 
+ 00015146  0x0000481e call  0x00001a30 
+ 00015147  0x0000481f ifetch  0x00000001 , 0x00000003 
+ 00015148  0x00004820 and  0x0000003f , 0x0000001f , 0x00000039 
+ 00015149  0x00004821 copy  0x0000003f , 0x00000011 
+ 00015150  0x00004822 isolate1  0x00000007 , 0x00000011 
+ 00015151  0x00004823 setflag  0x00000001 , 0x0000000f , 0x00000002 
+ 00015152  0x00004824 isolate1  0x00000006 , 0x00000011 
+ 00015153  0x00004825 setflag  0x00000001 , 0x0000000e , 0x00000002 
+ 00015154  0x00004826 istoret  0x00000002 , 0x00000005 
+ 00015155  0x00004827 copy  0x00000039 , 0x0000003f 
+ 00015156  0x00004828 istore  0x00000001 , 0x00000005 
+ 00015157  0x00004829 call  0x00005ff3 
+ 00015158  0x0000482a call  0x00003b4d 
+ 00015159  0x0000482b setarg  0x00000000 
+ 00015160  0x0000482c istore  0x00000002 , 0x00000005 
+ 00015161  0x0000482d and  0x00000002 , 0x000000ff , 0x00000002 
+ 00015162  0x0000482e increase  0xffffffff , 0x00000002 
+ 00015163  0x0000482f call  0x00001a11 
+ 00015164  0x00004830 add  0x00000006 , 0x00000004 , 0x00000006 
+ 00015165  0x00004831 ifetch  0x00000001 , 0x00000006 
+ 00015166  0x00004832 bbit1  0x00000004 , 0x00003b42 
+ 00015167  0x00004833 bbit1  0x00000005 , 0x00003b42 
+ 00015168  0x00004834 increase  0x00000001 , 0x00000002 
+ 00015169  0x00004835 rtn 
+ 00015170  0x00004839 call  0x00001a30 
+ 00015171  0x0000483a isolate1  0x00000005 , 0x00000011 
+ 00015172  0x0000483b setflag  0x00000001 , 0x0000000f , 0x00000002 
+ 00015173  0x0000483c istoret  0x00000002 , 0x00000005 
+ 00015174  0x0000483d setarg  0x02290202 
+ 00015175  0x0000483e istore  0x00000008 , 0x00000005 
+ 00015176  0x0000483f increase  0xffffffff , 0x00000002 
+ 00015177  0x00004840 rtn 
+ 00015178  0x00004844 call  0x00001a30 
+ 00015179  0x00004845 istoret  0x00000002 , 0x00000005 
+ 00015180  0x00004846 rtn 
+ 00015181  0x0000484a ifetch  0x00000001 , 0x00000003 
+ 00015182  0x0000484b copy  0x0000003f , 0x00000039 
+ 00015183  0x0000484c istore  0x00000001 , 0x00000005 
+ 00015184  0x0000484d branch  0x00005ff3 
+ 00015185  0x00004852 fetch  0x00000001 , 0x0000439b 
+ 00015186  0x00004853 bne  0x00000005 , 0x00003b79 
+ 00015187  0x00004854 fetch  0x00000001 , 0x0000439d 
+ 00015188  0x00004855 beq  0x00000004 , 0x00003b5d 
+ 00015189  0x00004856 beq  0x00000084 , 0x00003b57 
+ 00015190  0x00004857 branch  0x00003b79 
+ 00015191  0x0000485a jam  0x00000002 , 0x00004398 
+ 00015192  0x0000485b jam  0x00000008 , 0x00004399 
+ 00015193  0x0000485c branch  0x00003b5a 
+ 00015194  0x0000485f ifetch  0x00000004 , 0x00000003 
+ 00015195  0x00004860 store  0x00000004 , 0x0000439e 
+ 00015196  0x00004861 branch  0x00003b7c 
+ 00015197  0x00004864 call  0x00003b5a 
+ 00015198  0x00004865 branch  0x00001f84 
+ 00015199  0x0000486b fetch  0x00000001 , 0x000009d0 
+ 00015200  0x0000486c bne  0x00000002 , 0x00003b79 
+ 00015201  0x0000486d ifetcht  0x00000002 , 0x00000003 
+ 00015202  0x0000486e call  0x00001b29 
+ 00015203  0x0000486f branch  0x00003b7c 
+ 00015204  0x00004874 arg  0x00000000 , 0x00000002 
+ 00015205  0x00004875 arg  0x00000002 , 0x00000011 
+ 00015206  0x00004876 arg  0x00004075 , 0x00000012 
+ 00015207  0x00004877 branch  0x00003b87 
+ 00015208  0x0000487c fetch  0x00000001 , 0x000009d0 
+ 00015209  0x0000487d bne  0x00000008 , 0x00003b79 
+ 00015210  0x0000487e ifetch  0x00000008 , 0x00000003 
+ 00015211  0x0000487f call  0x00001b27 
+ 00015212  0x00004880 branch  0x00003b7c 
+ 00015213  0x00004885 ifetchr  0x00000011 , 0x00000001 , 0x00000003 
+ 00015214  0x00004886 ifetchr  0x00000012 , 0x00000002 , 0x00000003 
+ 00015215  0x00004887 arg  0x00000000 , 0x00000002 
+ 00015216  0x00004888 branch  0x00003b87 
+ 00015217  0x0000488d fetchr  0x00000039 , 0x00000001 , 0x000009d0 
+ 00015218  0x0000488e increase  0xfffffffe , 0x00000039 
+ 00015219  0x0000488f ifetch  0x00000002 , 0x00000003 
+ 00015220  0x00004890 copy  0x0000003f , 0x00000005 
+ 00015221  0x00004891 call  0x00005fdf 
+ 00015222  0x00004892 branch  0x00003b7c 
+ 00015223  0x00004898 jam  0x00000000 , 0x00004099 
+ 00015224  0x00004899 branch  0x00003b7c 
+ 00015225  0x0000489f arg  0x00000001 , 0x00000002 
+ 00015226  0x000048a0 arg  0x00000000 , 0x00000011 
+ 00015227  0x000048a1 branch  0x00003b87 
+ 00015228  0x000048a5 arg  0x00000000 , 0x00000002 
+ 00015229  0x000048a6 arg  0x00000000 , 0x00000011 
+ 00015230  0x000048a7 branch  0x00003b87 
+ 00015231  0x000048ac jam  0x00000000 , 0x000009cf 
+ 00015232  0x000048ad branch  0x00003bab 
+ 00015233  0x000048b2 jam  0x00000002 , 0x000009cf 
+ 00015234  0x000048b3 branch  0x00003bab 
+ 00015235  0x000048b8 jam  0x00000003 , 0x000009cf 
+ 00015236  0x000048b9 branch  0x00003bab 
+ 00015237  0x000048be jam  0x00000005 , 0x000009cf 
+ 00015238  0x000048bf branch  0x00003bab 
+ 00015239  0x000048c8 fetch  0x00000001 , 0x000009cf 
+ 00015240  0x000048c9 copy  0x0000003f , 0x00000013 
+ 00015241  0x000048ca jam  0x00000006 , 0x000009cf 
+ 00015242  0x000048cb setarg  0x00000002 
+ 00015243  0x000048cc iadd  0x00000011 , 0x0000003f 
+ 00015244  0x000048cd call  0x00003c1e 
+ 00015245  0x000048ce copy  0x00000013 , 0x0000003f 
+ 00015246  0x000048cf istore  0x00000001 , 0x00000003 
+ 00015247  0x000048d0 istoret  0x00000001 , 0x00000003 
+ 00015248  0x000048d1 copy  0x00000011 , 0x00000039 
+ 00015249  0x000048d2 copy  0x00000012 , 0x00000006 
+ 00015250  0x000048d3 call  0x00005fd9 
+ 00015251  0x000048d4 branch  0x00003c28 
+ 00015252  0x000048da call  0x00003858 
+ 00015253  0x000048db jam  0x00000007 , 0x000009cf 
+ 00015254  0x000048dc fetch  0x00000001 , 0x000003d2 
+ 00015255  0x000048dd rtn  0x00000034 
+ 00015256  0x000048de call  0x00003c1e 
+ 00015257  0x000048df fetch  0x00000001 , 0x000003d2 
+ 00015258  0x000048e0 copy  0x0000003f , 0x00000039 
+ 00015259  0x000048e1 fetch  0x00000002 , 0x000003d4 
+ 00015260  0x000048e2 copy  0x0000003f , 0x00000006 
+ 00015261  0x000048e3 call  0x00005fc5 
+ 00015262  0x000048e4 branch  0x00003c28 
+ 00015263  0x000048ea jam  0x00000008 , 0x000009cf 
+ 00015264  0x000048eb add  0x00000039 , 0x00000002 , 0x0000003f 
+ 00015265  0x000048ec call  0x00003c1e 
+ 00015266  0x000048ed fetch  0x00000002 , 0x000009fa 
+ 00015267  0x000048ee istore  0x00000002 , 0x00000003 
+ 00015268  0x000048ef fetch  0x00000002 , 0x000009f8 
+ 00015269  0x000048f0 icopy  0x00000006 
+ 00015270  0x000048f1 call  0x00005fc5 
+ 00015271  0x000048f2 copy  0x00000006 , 0x0000003f 
+ 00015272  0x000048f3 store  0x00000002 , 0x000009f8 
+ 00015273  0x000048f4 branch  0x00003c28 
+ 00015274  0x000048f9 jam  0x00000009 , 0x000009cf 
+ 00015275  0x000048fb setarg  0x00000000 
+ 00015276  0x000048fc call  0x00003c1e 
+ 00015277  0x000048fd branch  0x00003c28 
+ 00015278  0x00004902 jam  0x0000000a , 0x000009cf 
+ 00015279  0x00004903 setarg  0x00000001 
+ 00015280  0x00004904 call  0x00003c1e 
+ 00015281  0x00004906 call  0x00003bbf 
+ 00015282  0x00004908 fetch  0x00000002 , 0x0000478f 
+ 00015283  0x00004909 arg  0x00000002 , 0x00000007 
+ 00015284  0x0000490a qisolate1  0x0000003f 
+ 00015285  0x0000490b setflag  0x00000001 , 0x00000003 , 0x00000002 
+ 00015286  0x0000490d arg  0x00000009 , 0x00000007 
+ 00015287  0x0000490e qisolate1  0x0000003f 
+ 00015288  0x0000490f setflag  0x00000001 , 0x00000005 , 0x00000002 
+ 00015289  0x00004911 fetch  0x00000001 , 0x0000478f 
+ 00015290  0x00004912 arg  0x00000004 , 0x00000007 
+ 00015291  0x00004913 qisolate1  0x0000003f 
+ 00015292  0x00004914 setflag  0x00000001 , 0x00000004 , 0x00000002 
+ 00015293  0x00004916 istoret  0x00000001 , 0x00000003 
+ 00015294  0x00004917 branch  0x00003c28 
+ 00015295  0x0000491c arg  0x00000000 , 0x00000002 
+ 00015296  0x0000491d fetch  0x00000001 , 0x0000409b 
+ 00015297  0x0000491e arg  0x00000000 , 0x00000007 
+ 00015298  0x0000491f qisolate1  0x0000003f 
+ 00015299  0x00004920 setflag  0x00000001 , 0x00000000 , 0x00000002 
+ 00015300  0x00004921 arg  0x00000001 , 0x00000007 
+ 00015301  0x00004922 qisolate1  0x0000003f 
+ 00015302  0x00004923 setflag  0x00000001 , 0x00000001 , 0x00000002 
+ 00015303  0x00004925 fetch  0x00000001 , 0x00004427 
+ 00015304  0x00004926 arg  0x00000000 , 0x00000007 
+ 00015305  0x00004927 qisolate1  0x0000003f 
+ 00015306  0x00004928 setflag  0x00000001 , 0x00000002 , 0x00000002 
+ 00015307  0x00004929 rtn 
+ 00015308  0x0000492e jam  0x0000000d , 0x000009cf 
+ 00015309  0x0000492f fetch  0x00000001 , 0x0000448b 
+ 00015310  0x00004930 mul32  0x0000003f , 0x00000022 , 0x0000003f 
+ 00015311  0x00004931 icopy  0x00000039 
+ 00015312  0x00004932 call  0x00003c1e 
+ 00015313  0x00004933 fetch  0x00000002 , 0x00004489 
+ 00015314  0x00004934 icopy  0x00000006 
+ 00015315  0x00004935 call  0x00005fc5 
+ 00015316  0x00004936 branch  0x00003c28 
+ 00015317  0x0000493b jam  0x0000000e , 0x000009cf 
+ 00015318  0x0000493c setarg  0x00000004 
+ 00015319  0x0000493d call  0x00003c1e 
+ 00015320  0x0000493e fetch  0x00000004 , 0x0000087c 
+ 00015321  0x0000493f istore  0x00000004 , 0x00000003 
+ 00015322  0x00004940 branch  0x00003c28 
+ 00015323  0x00004945 jam  0x0000000f , 0x000009cf 
+ 00015324  0x00004946 fetch  0x00000002 , 0x00008112 
+ 00015325  0x00004947 arg  0x00000040 , 0x00000002 
+ 00015326  0x00004948 call  0x00007ebb 
+ 00015327  0x00004949 copy  0x0000003f , 0x00000011 
+ 00015328  0x0000494a copy  0x0000003f , 0x00000039 
+ 00015329  0x0000494b call  0x00005f9d 
+ 00015330  0x0000494c arg  0x0000098e , 0x00000005 
+ 00015331  0x0000494d call  0x00005fdf 
+ 00015332  0x0000494e copy  0x00000011 , 0x0000003f 
+ 00015333  0x0000494f copy  0x00000011 , 0x00000039 
+ 00015334  0x00004950 call  0x00003c1e 
+ 00015335  0x00004951 arg  0x0000098e , 0x00000006 
+ 00015336  0x00004952 call  0x00005fc5 
+ 00015337  0x00004953 branch  0x00003c28 
+ 00015338  0x00004958 jam  0x00000010 , 0x000009cf 
+ 00015339  0x00004959 branch  0x00003bab 
+ 00015340  0x0000495e jam  0x00000011 , 0x000009cf 
+ 00015341  0x0000495f setarg  0x00000004 
+ 00015342  0x00004960 call  0x00003c1e 
+ 00015343  0x00004961 fetch  0x00000004 , 0x0000439e 
+ 00015344  0x00004962 istore  0x00000004 , 0x00000003 
+ 00015345  0x00004963 branch  0x00003c28 
+ 00015346  0x00004968 arg  0x00000180 , 0x00000011 
+ 00015347  0x00004969 branch  0x00003bf9 
+ 00015348  0x0000496c arg  0x00000080 , 0x00000011 
+ 00015349  0x0000496d branch  0x00003bf9 
+ 00015350  0x00004970 arg  0x00000101 , 0x00000011 
+ 00015351  0x00004971 branch  0x00003bf9 
+ 00015352  0x00004974 arg  0x00000001 , 0x00000011 
+ 00015353  0x00004977 jam  0x00000000 , 0x0000476e 
+ 00015354  0x00004978 jam  0x00000014 , 0x000009cf 
+ 00015355  0x00004979 setarg  0x00000002 
+ 00015356  0x0000497a call  0x00003c1e 
+ 00015357  0x0000497b copy  0x00000011 , 0x0000003f 
+ 00015358  0x0000497c istore  0x00000002 , 0x00000003 
+ 00015359  0x0000497d branch  0x00003c28 
+ 00015360  0x00004982 arg  0x00000000 , 0x00000013 
+ 00015361  0x00004983 branch  0x00003c03 
+ 00015362  0x00004986 arg  0x00000001 , 0x00000013 
+ 00015363  0x00004989 jam  0x00000015 , 0x000009cf 
+ 00015364  0x0000498a setarg  0x00000001 
+ 00015365  0x0000498b call  0x00003c1e 
+ 00015366  0x0000498c copy  0x00000013 , 0x0000003f 
+ 00015367  0x0000498d istore  0x00000001 , 0x00000003 
+ 00015368  0x0000498e branch  0x00003c28 
+ 00015369  0x00004993 jam  0x0000001d , 0x000009cf 
+ 00015370  0x00004994 setarg  0x00000004 
+ 00015371  0x00004995 call  0x00003c1e 
+ 00015372  0x00004996 fetch  0x00000004 , 0x0000087c 
+ 00015373  0x00004997 istore  0x00000004 , 0x00000003 
+ 00015374  0x00004998 branch  0x00003c28 
+ 00015375  0x0000499e storet  0x00000002 , 0x00000964 
+ 00015376  0x0000499f jam  0x00000029 , 0x000009cf 
+ 00015377  0x000049a0 setarg  0x00000002 
+ 00015378  0x000049a1 call  0x00003c1e 
+ 00015379  0x000049a2 fetcht  0x00000002 , 0x00000964 
+ 00015380  0x000049a3 istoret  0x00000002 , 0x00000003 
+ 00015381  0x000049a4 branch  0x00003c28 
+ 00015382  0x000049a9 jam  0x0000002b , 0x000009cf 
+ 00015383  0x000049aa branch  0x00003bab 
+ 00015384  0x000049af jam  0x00000040 , 0x000009cf 
+ 00015385  0x000049b0 setarg  0x00000002 
+ 00015386  0x000049b1 call  0x00003c1e 
+ 00015387  0x000049b2 fetch  0x00000002 , 0x00004075 
+ 00015388  0x000049b3 istore  0x00000002 , 0x00000003 
+ 00015389  0x000049b4 branch  0x00003c28 
+ 00015390  0x000049c1 jam  0x00000002 , 0x000009ce 
+ 00015391  0x000049c2 store  0x00000001 , 0x000009d0 
+ 00015392  0x000049c3 storet  0x00000008 , 0x00000964 
+ 00015393  0x000049c4 bpatch  0x000000c0 , 0x00004018 
+ 00015394  0x000049c5 call  0x00003c2a 
+ 00015395  0x000049c6 fetcht  0x00000008 , 0x00000964 
+ 00015396  0x000049c7 call  0x00005fb5 
+ 00015397  0x000049c8 fetch  0x00000003 , 0x000009ce 
+ 00015398  0x000049c9 istore  0x00000003 , 0x00000003 
+ 00015399  0x000049ca rtn 
+ 00015400  0x000049cd bpatch  0x000000c1 , 0x00004018 
+ 00015401  0x000049ce branch  0x00005fb9 
+ 00015402  0x000049d1 call  0x00003c33 
+ 00015403  0x000049d2 rtn  0x00000001 
+ 00015404  0x000049d4 call  0x00003c31 
+ 00015405  0x000049d5 fetch  0x00000004 , 0x000047b0 
+ 00015406  0x000049d6 rshift2  0x0000003f , 0x0000003f 
+ 00015407  0x000049d7 rtn  0x00000034 
+ 00015408  0x000049d8 branch  0x00007d81 
+ 00015409  0x000049db fetcht  0x00000001 , 0x000047af 
+ 00015410  0x000049dc branch  0x0000610d 
+ 00015411  0x000049df fetcht  0x00000001 , 0x000047af 
+ 00015412  0x000049e0 branch  0x00006118 
+ 00015413  0x000049e3 fetcht  0x00000001 , 0x000047af 
+ 00015414  0x000049e4 branch  0x00006109 
+ 00015415  0x000049f0 storer  0x00000011 , 0x00000002 , 0x000009f8 
+ 00015416  0x000049f1 storer  0x00000012 , 0x00000002 , 0x000009f6 
+ 00015417  0x000049f2 fetch  0x00000002 , 0x00004437 
+ 00015418  0x000049f3 store  0x00000002 , 0x000009fa 
+ 00015419  0x000049f4 call  0x000039c0 
+ 00015420  0x000049f5 rtn  0x00000028 
+ 00015421  0x000049f8 fetcht  0x00000002 , 0x000009f6 
+ 00015422  0x000049f9 fetch  0x00000001 , 0x000047c5 
+ 00015423  0x000049fa call  0x00007ebb 
+ 00015424  0x000049fb copy  0x0000003f , 0x00000039 
+ 00015425  0x000049fc copy  0x00000002 , 0x0000003f 
+ 00015426  0x000049fd isub  0x00000039 , 0x0000003f 
+ 00015427  0x000049fe store  0x00000002 , 0x000009f6 
+ 00015428  0x000049ff call  0x00003b9f 
+ 00015429  0x00004a00 fetch  0x00000002 , 0x000009f6 
+ 00015430  0x00004a01 rtn  0x00000034 
+ 00015431  0x00004a02 branch  0x00003c3d 
+ 00015432  0x00004a07 fetch  0x00000002 , 0x000047c6 
+ 00015433  0x00004a08 rtnbit1  0x00000009 
+ 00015434  0x00004a09 call  0x00003c65 
+ 00015435  0x00004a0a branch  0x0000328b 
+ 00015436  0x00004a0e jam  0x00000002 , 0x00004177 
+ 00015437  0x00004a0f rtn 
+ 00015438  0x00004a17 fetch  0x00000001 , 0x000047c1 
+ 00015439  0x00004a18 rtn  0x00000034 
+ 00015440  0x00004a19 fetch  0x00000001 , 0x000047c2 
+ 00015441  0x00004a1a rtn  0x00000034 
+ 00015442  0x00004a1b increase  0xffffffff , 0x0000003f 
+ 00015443  0x00004a1c store  0x00000001 , 0x000047c2 
+ 00015444  0x00004a1d nrtn  0x00000034 
+ 00015445  0x00004a1e jam  0x00000005 , 0x000047c2 
+ 00015446  0x00004a1f call  0x00006166 
+ 00015447  0x00004a20 call  0x0000618d 
+ 00015448  0x00004a21 div  0x0000003f , 0x00000064 
+ 00015449  0x00004a22 call  0x00007e61 
+ 00015450  0x00004a23 remainder  0x00000002 
+ 00015451  0x00004a24 store  0x00000001 , 0x000047c3 
+ 00015452  0x00004a25 storet  0x00000001 , 0x000047c4 
+ 00015453  0x00004a26 rtn 
+ 00015454  0x00004a2a call  0x00007e92 
+ 00015455  0x00004a2b branch  0x00003258 , 0x00000002 
+ 00015456  0x00004a2c branch  0x0000325a 
+ 00015457  0x00004a31 arg  0x0000000a , 0x00000007 
+ 00015458  0x00004a32 branch  0x00003c71 
+ 00015459  0x00004a35 arg  0x0000000a , 0x00000007 
+ 00015460  0x00004a36 branch  0x00003c6d 
+ 00015461  0x00004a39 arg  0x00000009 , 0x00000007 
+ 00015462  0x00004a3a branch  0x00003c71 
+ 00015463  0x00004a3d arg  0x00000009 , 0x00000007 
+ 00015464  0x00004a3e branch  0x00003c6d 
+ 00015465  0x00004a41 arg  0x00000008 , 0x00000007 
+ 00015466  0x00004a42 branch  0x00003c71 
+ 00015467  0x00004a45 arg  0x00000008 , 0x00000007 
+ 00015468  0x00004a46 branch  0x00003c6d 
+ 00015469  0x00004a49 fetch  0x00000002 , 0x000047c6 
+ 00015470  0x00004a4a qset0  0x0000003f 
+ 00015471  0x00004a4b store  0x00000002 , 0x000047c6 
+ 00015472  0x00004a4c rtn 
+ 00015473  0x00004a4f fetch  0x00000002 , 0x000047c6 
+ 00015474  0x00004a50 qset1  0x0000003f 
+ 00015475  0x00004a51 store  0x00000002 , 0x000047c6 
+ 00015476  0x00004a52 rtn 
+ 00015477  0x00004a58 call  0x00006e5e 
+ 00015478  0x00004a59 call  0x00003ca6 
+ 00015479  0x00004a5a call  0x000041e7 
+ 00015480  0x00004a5b call  0x000040ce 
+ 00015481  0x00004a5c rtn  0x0000002b 
+ 00015482  0x00004a5d call  0x00004766 
+ 00015483  0x00004a5e call  0x00003c83 
+ 00015484  0x00004a5f call  0x0000427c 
+ 00015485  0x00004a60 fetch  0x00000001 , 0x0000492f 
+ 00015486  0x00004a61 rtnbit1  0x00000007 
+ 00015487  0x00004a63 fetch  0x00000002 , 0x0000478f 
+ 00015488  0x00004a64 bbit1  0x0000000c , 0x00004593 
+ 00015489  0x00004a65 call  0x000046de 
+ 00015490  0x00004a66 branch  0x00003e15 
+ 00015491  0x00004a6a setarg  0x00004902 
+ 00015492  0x00004a6b store  0x00000002 , 0x00004479 
+ 00015493  0x00004a6c setarg  0x000048a5 
+ 00015494  0x00004a6d store  0x00000002 , 0x0000489f 
+ 00015495  0x00004a6e setarg  0x000048cc 
+ 00015496  0x00004a6f store  0x00000002 , 0x000048a1 
+ 00015497  0x00004a70 setarg  0x00003e80 
+ 00015498  0x00004a71 store  0x00000002 , 0x000048a3 
+ 00015499  0x00004a72 setarg  0x000043df 
+ 00015500  0x00004a73 store  0x00000002 , 0x00004461 
+ 00015501  0x00004a74 setarg  0x00004497 
+ 00015502  0x00004a75 store  0x00000002 , 0x00004463 
+ 00015503  0x00004a76 setarg  0x00003e7b 
+ 00015504  0x00004a77 store  0x00000002 , 0x0000445f 
+ 00015505  0x00004a78 setarg  0x00004374 
+ 00015506  0x00004a79 store  0x00000002 , 0x00004467 
+ 00015507  0x00004a7a setarg  0x0000468b 
+ 00015508  0x00004a7b store  0x00000002 , 0x00004465 
+ 00015509  0x00004a7c setarg  0x00003e5e 
+ 00015510  0x00004a7d store  0x00000002 , 0x0000445d 
+ 00015511  0x00004a7e setarg  0x000043c8 
+ 00015512  0x00004a7f store  0x00000002 , 0x0000446b 
+ 00015513  0x00004a80 setarg  0x000044f5 
+ 00015514  0x00004a81 store  0x00000002 , 0x0000446f 
+ 00015515  0x00004a82 setarg  0x00003fa9 
+ 00015516  0x00004a83 store  0x00000002 , 0x00004473 
+ 00015517  0x00004a84 setarg  0x00003e4d 
+ 00015518  0x00004a85 store  0x00000002 , 0x0000445b 
+ 00015519  0x00004a86 setarg  0x000049f5 
+ 00015520  0x00004a87 store  0x00000002 , 0x0000446d 
+ 00015521  0x00004a88 setarg  0x000049f7 
+ 00015522  0x00004a89 store  0x00000002 , 0x00004477 
+ 00015523  0x00004a8a setarg  0x00004a0a 
+ 00015524  0x00004a8b store  0x00000002 , 0x00004471 
+ 00015525  0x00004a8c rtn 
+ 00015526  0x00004a90 rtn  0x0000002b 
+ 00015527  0x00004a91 call  0x0000260e 
+ 00015528  0x00004a92 call  0x000022b5 
+ 00015529  0x00004a93 call  0x00003f60 
+ 00015530  0x00004a94 call  0x00003dd6 
+ 00015531  0x00004a95 call  0x00001ac2 
+ 00015532  0x00004a96 call  0x00001aeb 
+ 00015533  0x00004a97 call  0x00001ade 
+ 00015534  0x00004a98 call  0x00001aca 
+ 00015535  0x00004a99 fetch  0x00000008 , 0x00004bbc 
+ 00015536  0x00004a9a bbit1  0x00000013 , 0x00004675 
+ 00015537  0x00004a9b bbit1  0x00000012 , 0x00004636 
+ 00015538  0x00004a9c rtn 
+ 00015539  0x00004a9f jam  0x00000008 , 0x000040c5 
+ 00015540  0x00004aa0 fetch  0x00000008 , 0x00004bbc 
+ 00015541  0x00004aa1 rtnbit1  0x0000000c 
+ 00015542  0x00004aa2 jam  0x00000018 , 0x000040c5 
+ 00015543  0x00004aa3 rtn 
+ 00015544  0x00004aa6 jam  0x000000ff , 0x00000b58 
+ 00015545  0x00004aa7 jam  0x000000ff , 0x00004793 
+ 00015546  0x00004aa8 jam  0x0000001e , 0x00004792 
+ 00015547  0x00004aa9 jam  0x00000005 , 0x000049c5 
+ 00015548  0x00004aab setarg  0x00004932 
+ 00015549  0x00004aac store  0x00000002 , 0x0000448f 
+ 00015550  0x00004aad jam  0x00000001 , 0x0000448e 
+ 00015551  0x00004aaf setarg  0x00004ac6 
+ 00015552  0x00004ab0 store  0x00000002 , 0x0000489d 
+ 00015553  0x00004ab2 jam  0x00000001 , 0x00004839 
+ 00015554  0x00004ab4 fetch  0x00000002 , 0x00004902 
+ 00015555  0x00004ab5 store  0x00000002 , 0x00004794 
+ 00015556  0x00004ab7 fetch  0x00000002 , 0x00004904 
+ 00015557  0x00004ab8 store  0x00000002 , 0x00004885 
+ 00015558  0x00004aba fetch  0x00000001 , 0x00004907 
+ 00015559  0x00004abb store  0x00000002 , 0x00004889 
+ 00015560  0x00004abd fetch  0x00000005 , 0x00004909 
+ 00015561  0x00004abe store  0x00000005 , 0x000048cf 
+ 00015562  0x00004ac0 fetch  0x00000001 , 0x00004908 
+ 00015563  0x00004ac1 store  0x00000001 , 0x00004880 
+ 00015564  0x00004ac4 fetch  0x00000008 , 0x00004bbc 
+ 00015565  0x00004ac5 nrtn  0x00000034 
+ 00015566  0x00004ac9 setarg  0x00020800 
+ 00015567  0x00004aca store  0x00000003 , 0x00004bbc 
+ 00015568  0x00004acb setarg  0x00800700 
+ 00015569  0x00004acc istore  0x00000003 , 0x00000005 
+ 00015570  0x00004acd setarg  0x00000300 
+ 00015571  0x00004ace istore  0x00000002 , 0x00000005 
+ 00015572  0x00004ad0 jam  0x00000001 , 0x00004099 
+ 00015573  0x00004ad1 fetch  0x00000001 , 0x0000490e 
+ 00015574  0x00004ad2 isolate1  0x00000000 , 0x0000003f 
+ 00015575  0x00004ad3 call  0x00004724 , 0x00000001 
+ 00015576  0x00004ad5 fetch  0x00000001 , 0x0000490e 
+ 00015577  0x00004ad6 isolate1  0x00000002 , 0x0000003f 
+ 00015578  0x00004ad7 call  0x00004726 , 0x00000001 
+ 00015579  0x00004ad8 fetch  0x00000001 , 0x0000490e 
+ 00015580  0x00004ad9 isolate1  0x00000001 , 0x0000003f 
+ 00015581  0x00004ada call  0x00004728 , 0x00000001 
+ 00015582  0x00004adb fetch  0x00000001 , 0x0000490e 
+ 00015583  0x00004adc isolate1  0x00000003 , 0x0000003f 
+ 00015584  0x00004add call  0x0000472a , 0x00000001 
+ 00015585  0x00004ade fetch  0x00000001 , 0x0000490e 
+ 00015586  0x00004adf isolate1  0x00000004 , 0x0000003f 
+ 00015587  0x00004ae0 call  0x0000472c , 0x00000001 
+ 00015588  0x00004ae1 fetch  0x00000001 , 0x0000490e 
+ 00015589  0x00004ae2 isolate1  0x00000005 , 0x0000003f 
+ 00015590  0x00004ae3 call  0x00004736 , 0x00000001 
+ 00015591  0x00004ae5 fetch  0x00000001 , 0x00004869 
+ 00015592  0x00004ae6 ncall  0x000022c4 , 0x00000034 
+ 00015593  0x00004ae8 call  0x00003cb3 
+ 00015594  0x00004aea fetch  0x00000001 , 0x0000490f 
+ 00015595  0x00004aeb and  0x0000003f , 0x00000007 , 0x00000002 
+ 00015596  0x00004aec storet  0x00000001 , 0x000044a3 
+ 00015597  0x00004aed rshift3  0x0000003f , 0x0000003f 
+ 00015598  0x00004aee and  0x0000003f , 0x00000001 , 0x00000002 
+ 00015599  0x00004aef storet  0x00000001 , 0x00004869 
+ 00015600  0x00004af0 rshift  0x0000003f , 0x0000003f 
+ 00015601  0x00004af1 and  0x0000003f , 0x00000003 , 0x00000002 
+ 00015602  0x00004af2 storet  0x00000001 , 0x00004901 
+ 00015603  0x00004af3 rshift2  0x0000003f , 0x0000003f 
+ 00015604  0x00004af4 and  0x0000003f , 0x00000003 , 0x0000003f 
+ 00015605  0x00004af5 call  0x00004812 
+ 00015606  0x00004af7 fetch  0x00000001 , 0x00004910 
+ 00015607  0x00004af8 and  0x0000003f , 0x00000003 , 0x00000002 
+ 00015608  0x00004af9 storet  0x00000001 , 0x00004929 
+ 00015609  0x00004afa rshift2  0x0000003f , 0x0000003f 
+ 00015610  0x00004afb and  0x0000003f , 0x00000003 , 0x00000002 
+ 00015611  0x00004afc storet  0x00000001 , 0x0000492a 
+ 00015612  0x00004afd rshift2  0x0000003f , 0x0000003f 
+ 00015613  0x00004afe and  0x0000003f , 0x00000001 , 0x00000002 
+ 00015614  0x00004aff storet  0x00000001 , 0x0000492b 
+ 00015615  0x00004b00 storet  0x00000001 , 0x00004997 
+ 00015616  0x00004b01 rshift  0x0000003f , 0x0000003f 
+ 00015617  0x00004b02 and  0x0000003f , 0x00000001 , 0x00000002 
+ 00015618  0x00004b03 storet  0x00000001 , 0x0000487a 
+ 00015619  0x00004b04 rshift  0x0000003f , 0x0000003f 
+ 00015620  0x00004b05 and  0x0000003f , 0x00000003 , 0x0000003f 
+ 00015621  0x00004b06 store  0x00000001 , 0x00004bc5 
+ 00015622  0x00004b08 bpatch  0x000000c2 , 0x00004018 
+ 00015623  0x00004b09 setarg  0x000b0c0a 
+ 00015624  0x00004b0a store  0x00000003 , 0x0000491c 
+ 00015625  0x00004b0b setarg  0x00ffffff 
+ 00015626  0x00004b0c istore  0x00000003 , 0x00000005 
+ 00015627  0x00004b0d setarg  0x000607ff 
+ 00015628  0x00004b0e istore  0x00000003 , 0x00000005 
+ 00015629  0x00004b0f setarg  0x00ffffff 
+ 00015630  0x00004b10 istore  0x00000003 , 0x00000005 
+ 00015631  0x00004b14 jam  0x0000000a , 0x000048fb 
+ 00015632  0x00004b15 setarg  0x00000064 
+ 00015633  0x00004b16 store  0x00000002 , 0x00004bd9 
+ 00015634  0x00004b17 call  0x00003ebc 
+ 00015635  0x00004b19 setarg  0x00001770 
+ 00015636  0x00004b1a store  0x00000002 , 0x00004bcf 
+ 00015637  0x00004b1b jam  0x00000014 , 0x00004bd1 
+ 00015638  0x00004b1c setarg  0x00000190 
+ 00015639  0x00004b1d store  0x00000002 , 0x00004bd7 
+ 00015640  0x00004b1e store  0x00000002 , 0x00004bd3 
+ 00015641  0x00004b1f setarg  0x000003e8 
+ 00015642  0x00004b20 store  0x00000002 , 0x00004bd5 
+ 00015643  0x00004b21 jam  0x00000007 , 0x00004881 
+ 00015644  0x00004b22 jam  0x0000007d , 0x000048ce 
+ 00015645  0x00004b23 jam  0x00000000 , 0x000041e8 
+ 00015646  0x00004b25 jam  0x00000001 , 0x00004890 
+ 00015647  0x00004b26 setarg  0x00000f0f 
+ 00015648  0x00004b27 store  0x00000002 , 0x00004891 
+ 00015649  0x00004b28 store  0x00000002 , 0x00004893 
+ 00015650  0x00004b2b fetch  0x00000002 , 0x000040a8 
+ 00015651  0x00004b2c store  0x00000002 , 0x000040ac 
+ 00015652  0x00004b2e arg  0x0000437a , 0x00000005 
+ 00015653  0x00004b2f arg  0x000040a8 , 0x00000006 
+ 00015654  0x00004b30 arg  0x00000006 , 0x00000039 
+ 00015655  0x00004b31 call  0x00007ed9 
+ 00015656  0x00004b33 jam  0x00000020 , 0x00004b9b 
+ 00015657  0x00004b34 jam  0x00000034 , 0x0000493e 
+ 00015658  0x00004b35 fetch  0x00000006 , 0x0000437a 
+ 00015659  0x00004b36 store  0x00000006 , 0x00004955 
+ 00015660  0x00004b37 jam  0x00000002 , 0x00004bc4 
+ 00015661  0x00004b39 jam  0x0000001f , 0x000043e7 
+ 00015662  0x00004b3b setarg  0x00050102 
+ 00015663  0x00004b3c store  0x00000003 , 0x000043e8 
+ 00015664  0x00004b3d setarg  0x00120303 
+ 00015665  0x00004b3e istore  0x00000003 , 0x00000005 
+ 00015666  0x00004b3f setarg  0x00190318 
+ 00015667  0x00004b40 istore  0x00000003 , 0x00000005 
+ 00015668  0x00004b41 setarg  0x000003c2 
+ 00015669  0x00004b42 istore  0x00000002 , 0x00000005 
+ 00015670  0x00004b44 setarg  0x0006ff06 
+ 00015671  0x00004b45 store  0x00000003 , 0x00004ae3 
+ 00015672  0x00004b46 setarg  0x00000300 
+ 00015673  0x00004b47 istore  0x00000003 , 0x00000005 
+ 00015674  0x00004b48 setarg  0x00090c80 
+ 00015675  0x00004b49 istore  0x00000003 , 0x00000005 
+ 00015676  0x00004b4b setarg  0x00355442 
+ 00015677  0x00004b4c istore  0x00000003 , 0x00000005 
+ 00015678  0x00004b4d setarg  0x0020322e 
+ 00015679  0x00004b4e istore  0x00000003 , 0x00000005 
+ 00015680  0x00004b4f setarg  0x00756f4d 
+ 00015681  0x00004b50 istore  0x00000003 , 0x00000005 
+ 00015682  0x00004b51 setarg  0x00006573 
+ 00015683  0x00004b52 istore  0x00000002 , 0x00000005 
+ 00015684  0x00004b54 jam  0x0000001f , 0x00004407 
+ 00015685  0x00004b55 arg  0x00004aea , 0x00000006 
+ 00015686  0x00004b56 arg  0x00004408 , 0x00000005 
+ 00015687  0x00004b57 arg  0x0000000d , 0x00000039 
+ 00015688  0x00004b58 call  0x00007dd4 
+ 00015689  0x00004b5a fetch  0x00000001 , 0x00004408 
+ 00015690  0x00004b5b increase  0xffffffff , 0x0000003f 
+ 00015691  0x00004b5c store  0x00000001 , 0x000042f7 
+ 00015692  0x00004b5e arg  0x0000440a , 0x00000006 
+ 00015693  0x00004b5f arg  0x000042f8 , 0x00000005 
+ 00015694  0x00004b60 arg  0x0000000b , 0x00000039 
+ 00015695  0x00004b61 call  0x00007dd4 
+ 00015696  0x00004b63 setarg  0x00070007 
+ 00015697  0x00004b64 store  0x00000003 , 0x00004372 
+ 00015698  0x00004b65 setarg  0x00002000 
+ 00015699  0x00004b66 istore  0x00000003 , 0x00000005 
+ 00015700  0x00004b67 setarg  0x0000012c 
+ 00015701  0x00004b68 istore  0x00000002 , 0x00000005 
+ 00015702  0x00004b6a setarg  0x00181203 
+ 00015703  0x00004b6b store  0x00000003 , 0x00004add 
+ 00015704  0x00004b6d setarg  0x000000ff 
+ 00015705  0x00004b6e store  0x00000003 , 0x00004ae0 
+ 00015706  0x00004b70 setsect  0x00000000 , 0x000000fb 
+ 00015707  0x00004b71 setsect  0x00000001 , 0x0002c212 
+ 00015708  0x00004b72 setsect  0x00000002 , 0x0000800f 
+ 00015709  0x00004b73 setsect  0x00000003 , 0x00000021 
+ 00015710  0x00004b74 store  0x00000008 , 0x0000444c 
+ 00015711  0x00004b76 jam  0x00000007 , 0x00004432 
+ 00015712  0x00004b78 setarg  0x00000015 
+ 00015713  0x00004b79 store  0x00000002 , 0x00004af8 
+ 00015714  0x00004b7a setarg  0x00000019 
+ 00015715  0x00004b7b store  0x00000002 , 0x00004357 
+ 00015716  0x00004b7c setarg  0x0000001d 
+ 00015717  0x00004b7d store  0x00000002 , 0x00004afa 
+ 00015718  0x00004b7e setarg  0x00000021 
+ 00015719  0x00004b7f store  0x00000002 , 0x00004afc 
+ 00015720  0x00004b80 setarg  0x00000030 
+ 00015721  0x00004b81 store  0x00000002 , 0x00004afe 
+ 00015722  0x00004b82 setarg  0x00000022 
+ 00015723  0x00004b83 store  0x00000002 , 0x000043d1 
+ 00015724  0x00004b85 jam  0x00000096 , 0x00004b01 
+ 00015725  0x00004b88 jam  0x00000000 , 0x0000493d 
+ 00015726  0x00004b89 call  0x000022d8 
+ 00015727  0x00004b8a call  0x000022db 
+ 00015728  0x00004b8c setarg  0x00604800 
+ 00015729  0x00004b8d store  0x00000003 , 0x0000485f 
+ 00015730  0x00004b8e setarg  0x0000012c 
+ 00015731  0x00004b8f store  0x00000002 , 0x000048c6 
+ 00015732  0x00004b90 setarg  0x00000050 
+ 00015733  0x00004b91 store  0x00000002 , 0x000048c4 
+ 00015734  0x00004b92 setarg  0x00000005 
+ 00015735  0x00004b93 store  0x00000002 , 0x00004bcb 
+ 00015736  0x00004b94 setarg  0x00000708 
+ 00015737  0x00004b95 store  0x00000002 , 0x00004bcd 
+ 00015738  0x00004b99 setarg  0x00010403 
+ 00015739  0x00004b9a store  0x00000003 , 0x000049d5 
+ 00015740  0x00004b9b setarg  0x002a2002 
+ 00015741  0x00004b9c istore  0x00000003 , 0x00000005 
+ 00015742  0x00004b9d setarg  0x0022153f 
+ 00015743  0x00004b9e istore  0x00000003 , 0x00000005 
+ 00015744  0x00004b9f setarg  0x00114433 
+ 00015745  0x00004ba0 istore  0x00000003 , 0x00000005 
+ 00015746  0x00004ba2 setarg  0x00265a09 
+ 00015747  0x00004ba3 store  0x00000003 , 0x000049e4 
+ 00015748  0x00004ba4 setarg  0x00041934 
+ 00015749  0x00004ba5 istore  0x00000003 , 0x00000005 
+ 00015750  0x00004ba6 setarg  0x00000009 
+ 00015751  0x00004ba7 istore  0x00000002 , 0x00000005 
+ 00015752  0x00004ba8 setarg  0x0000ffff 
+ 00015753  0x00004ba9 istore  0x00000002 , 0x00000005 
+ 00015754  0x00004bab setarg  0x000d5a09 
+ 00015755  0x00004bac store  0x00000003 , 0x000049f8 
+ 00015756  0x00004bad setarg  0x00ed1d10 
+ 00015757  0x00004bae istore  0x00000003 , 0x00000005 
+ 00015758  0x00004baf setarg  0x0000807d 
+ 00015759  0x00004bb0 istore  0x00000002 , 0x00000005 
+ 00015760  0x00004bb1 setarg  0x0000ffff 
+ 00015761  0x00004bb2 istore  0x00000002 , 0x00000005 
+ 00015762  0x00004bb4 setarg  0x00ff5a09 
+ 00015763  0x00004bb5 store  0x00000003 , 0x00004a3e 
+ 00015764  0x00004bb6 setarg  0x0040ab27 
+ 00015765  0x00004bb7 istore  0x00000003 , 0x00000005 
+ 00015766  0x00004bb8 setarg  0x009b56b3 
+ 00015767  0x00004bb9 istore  0x00000003 , 0x00000005 
+ 00015768  0x00004bba setarg  0x0012a8e6 
+ 00015769  0x00004bbb istore  0x00000003 , 0x00000005 
+ 00015770  0x00004bbc setarg  0x00bec0a9 
+ 00015771  0x00004bbd istore  0x00000003 , 0x00000005 
+ 00015772  0x00004bbe setarg  0x00afa5e6 
+ 00015773  0x00004bbf istore  0x00000003 , 0x00000005 
+ 00015774  0x00004bc0 setarg  0x00a121a0 
+ 00015775  0x00004bc1 istore  0x00000003 , 0x00000005 
+ 00015776  0x00004bc2 setarg  0x0010b802 
+ 00015777  0x00004bc3 istore  0x00000003 , 0x00000005 
+ 00015778  0x00004bc4 setarg  0x00a70bb9 
+ 00015779  0x00004bc5 istore  0x00000003 , 0x00000005 
+ 00015780  0x00004bc6 setarg  0x00d0b5ff 
+ 00015781  0x00004bc7 istore  0x00000003 , 0x00000005 
+ 00015782  0x00004bc8 setarg  0x00ff00b6 
+ 00015783  0x00004bc9 istore  0x00000003 , 0x00000005 
+ 00015784  0x00004bca setarg  0x00000900 
+ 00015785  0x00004bcb istore  0x00000003 , 0x00000005 
+ 00015786  0x00004bcc setarg  0x0000ffff 
+ 00015787  0x00004bcd istore  0x00000002 , 0x00000005 
+ 00015788  0x00004bcf setarg  0x000d5a09 
+ 00015789  0x00004bd0 store  0x00000003 , 0x00004a64 
+ 00015790  0x00004bd1 setarg  0x00c50e10 
+ 00015791  0x00004bd2 istore  0x00000003 , 0x00000005 
+ 00015792  0x00004bd3 setarg  0x00109a5b 
+ 00015793  0x00004bd4 istore  0x00000003 , 0x00000005 
+ 00015794  0x00004bd5 setarg  0x00421138 
+ 00015795  0x00004bd6 istore  0x00000003 , 0x00000005 
+ 00015796  0x00004bd7 setarg  0x00412828 
+ 00015797  0x00004bd8 istore  0x00000003 , 0x00000005 
+ 00015798  0x00004bd9 setarg  0x00394923 
+ 00015799  0x00004bda istore  0x00000003 , 0x00000005 
+ 00015800  0x00004bdb setarg  0x004bb04a 
+ 00015801  0x00004bdc istore  0x00000003 , 0x00000005 
+ 00015802  0x00004bdd setarg  0x00904ca0 
+ 00015803  0x00004bde istore  0x00000003 , 0x00000005 
+ 00015804  0x00004bdf setarg  0x0009704d 
+ 00015805  0x00004be0 istore  0x00000003 , 0x00000005 
+ 00015806  0x00004be1 setarg  0x00ffff00 
+ 00015807  0x00004be2 istore  0x00000003 , 0x00000005 
+ 00015808  0x00004be4 setarg  0x0046a509 
+ 00015809  0x00004be5 store  0x00000003 , 0x00004a92 
+ 00015810  0x00004be6 setarg  0x00101934 
+ 00015811  0x00004be7 istore  0x00000003 , 0x00000005 
+ 00015812  0x00004be8 setarg  0x00690760 
+ 00015813  0x00004be9 istore  0x00000003 , 0x00000005 
+ 00015814  0x00004bea setarg  0x00207d04 
+ 00015815  0x00004beb istore  0x00000003 , 0x00000005 
+ 00015816  0x00004bec setarg  0x0009007e 
+ 00015817  0x00004bed istore  0x00000003 , 0x00000005 
+ 00015818  0x00004bee setarg  0x00220d00 
+ 00015819  0x00004bef istore  0x00000003 , 0x00000005 
+ 00015820  0x00004bf0 setarg  0x00ff220e 
+ 00015821  0x00004bf1 istore  0x00000003 , 0x00000005 
+ 00015822  0x00004bf2 jam  0x000000ff , 0x00004aa7 
+ 00015823  0x00004bf4 setarg  0x000b5a09 
+ 00015824  0x00004bf5 store  0x00000003 , 0x00004ab4 
+ 00015825  0x00004bf6 setarg  0x000009f3 
+ 00015826  0x00004bf7 istore  0x00000003 , 0x00000005 
+ 00015827  0x00004bf8 setarg  0x0000ffff 
+ 00015828  0x00004bf9 istore  0x00000002 , 0x00000005 
+ 00015829  0x00004bfc branch  0x00003174 
+ 00015830  0x00004c00 setarg  0x00009468 
+ 00015831  0x00004c01 store  0x00000002 , 0x00004663 
+ 00015832  0x00004c02 setarg  0x00009732 
+ 00015833  0x00004c03 store  0x00000002 , 0x00004396 
+ 00015834  0x00004c04 setarg  0x00002580 
+ 00015835  0x00004c05 store  0x00000003 , 0x000040b2 
+ 00015836  0x00004c06 jam  0x00000003 , 0x00004178 
+ 00015837  0x00004c07 jam  0x00000008 , 0x0000415b 
+ 00015838  0x00004c08 jam  0x00000000 , 0x00004baf 
+ 00015839  0x00004c09 jam  0x00000000 , 0x00004baf 
+ 00015840  0x00004c0a jam  0x00000000 , 0x00004bb0 
+ 00015841  0x00004c0b setarg  0x00000200 
+ 00015842  0x00004c0c store  0x00000002 , 0x00004159 
+ 00015843  0x00004c0d jam  0x00000017 , 0x00004380 
+ 00015844  0x00004c0e jam  0x00000017 , 0x00004382 
+ 00015845  0x00004c10 setarg  0x00000a77 
+ 00015846  0x00004c11 store  0x00000002 , 0x00004486 
+ 00015847  0x00004c13 setsect  0x00000000 , 0x00000306 
+ 00015848  0x00004c14 setsect  0x00000001 , 0x00004440 
+ 00015849  0x00004c15 setsect  0x00000002 , 0x00010000 
+ 00015850  0x00004c16 setsect  0x00000003 , 0x00004408 
+ 00015851  0x00004c17 store  0x00000009 , 0x00004665 
+ 00015852  0x00004c18 setsect  0x00000000 , 0x00001224 
+ 00015853  0x00004c19 setsect  0x00000001 , 0x00004000 
+ 00015854  0x00004c1a setsect  0x00000002 , 0x00000000 
+ 00015855  0x00004c1b istore  0x00000005 , 0x00000005 
+ 00015856  0x00004c1d setsect  0x00000000 , 0x0003ffff 
+ 00015857  0x00004c1e setsect  0x00000001 , 0x0002fe23 
+ 00015858  0x00004c1f setsect  0x00000002 , 0x000199d9 
+ 00015859  0x00004c20 setsect  0x00000003 , 0x0000020d 
+ 00015860  0x00004c21 store  0x00000008 , 0x000040a0 
+ 00015861  0x00004c23 setarg  0x00004b06 
+ 00015862  0x00004c24 store  0x00000002 , 0x000043de 
+ 00015863  0x00004c25 setarg  0x00000010 
+ 00015864  0x00004c26 store  0x00000002 , 0x000043e0 
+ 00015865  0x00004c28 call  0x0000495b 
+ 00015866  0x00004c29 call  0x00004913 
+ 00015867  0x00004c2a call  0x00003ecf 
+ 00015868  0x00004c2c fetch  0x00000008 , 0x00004bbc 
+ 00015869  0x00004c2d bbit0  0x0000001b , 0x00003e02 
+ 00015870  0x00004c2e jam  0x0000000c , 0x00004455 
+ 00015871  0x00004c2f setarg  0x00000006 
+ 00015872  0x00004c30 store  0x00000002 , 0x00004372 
+ 00015873  0x00004c31 store  0x00000002 , 0x00004374 
+ 00015874  0x00004c33 call  0x0000261a 
+ 00015875  0x00004c34 fetch  0x00000008 , 0x00004bbc 
+ 00015876  0x00004c35 bbit0  0x00000018 , 0x00003e06 
+ 00015877  0x00004c36 call  0x00002612 
+ 00015878  0x00004c38 fetch  0x00000001 , 0x0000493d 
+ 00015879  0x00004c39 store  0x00000001 , 0x00004ac5 
+ 00015880  0x00004c3a fetch  0x00000003 , 0x0000437d 
+ 00015881  0x00004c3b store  0x00000003 , 0x00004ada 
+ 00015882  0x00004c3c fetch  0x00000001 , 0x00004901 
+ 00015883  0x00004c3d and  0x0000003f , 0x000000fe , 0x0000003f 
+ 00015884  0x00004c3e store  0x00000001 , 0x00004901 
+ 00015885  0x00004c3f store  0x00000001 , 0x000044a2 
+ 00015886  0x00004c40 setarg  0x00000000 
+ 00015887  0x00004c41 store  0x00000007 , 0x000048d4 
+ 00015888  0x00004c42 fetch  0x00000001 , 0x00004792 
+ 00015889  0x00004c43 store  0x00000001 , 0x00004bac 
+ 00015890  0x00004c44 store  0x00000001 , 0x00004bad 
+ 00015891  0x00004c45 call  0x00001a55 
+ 00015892  0x00004c46 branch  0x000042e0 
+ 00015893  0x00004c4a bpatch  0x000000c3 , 0x00004018 
+ 00015894  0x00004c4b fetch  0x00000008 , 0x00004bbc 
+ 00015895  0x00004c4c bbit1  0x0000002f , 0x00004849 
+ 00015896  0x00004c4d fetch  0x00000001 , 0x0000493d 
+ 00015897  0x00004c4e beq  0x00000000 , 0x00004835 
+ 00015898  0x00004c4f call  0x00003e28 
+ 00015899  0x00004c50 nbranch  0x0000432b , 0x00000028 
+ 00015900  0x00004c52 bpatch  0x000000c4 , 0x00004018 
+ 00015901  0x00004c53 arg  0x0000493e , 0x00000011 
+ 00015902  0x00004c54 fetch  0x00000001 , 0x0000493d 
+ 00015903  0x00004c55 increase  0xffffffff , 0x0000003f 
+ 00015904  0x00004c56 mul32  0x0000003f , 0x0000001d , 0x0000003f 
+ 00015905  0x00004c57 iadd  0x00000011 , 0x00000011 
+ 00015906  0x00004c58 ifetch  0x00000001 , 0x00000011 
+ 00015907  0x00004c59 store  0x00000001 , 0x00004484 
+ 00015908  0x00004c5b fetch  0x00000001 , 0x00004484 
+ 00015909  0x00004c5c beq  0x00000033 , 0x00003e32 
+ 00015910  0x00004c5d beq  0x00000034 , 0x00003e3e 
+ 00015911  0x00004c5e branch  0x00004593 
+ 00015912  0x00004c62 bpatch  0x000000c5 , 0x00004018 
+ 00015913  0x00004c63 disable  0x00000028 
+ 00015914  0x00004c64 fetch  0x00000008 , 0x00004bbc 
+ 00015915  0x00004c65 bbit0  0x0000000b , 0x00003e2f 
+ 00015916  0x00004c66 fetch  0x00000001 , 0x00000989 
+ 00015917  0x00004c67 bbit0  0x00000002 , 0x00003e2f 
+ 00015918  0x00004c68 enable  0x00000028 
+ 00015919  0x00004c6a fetch  0x00000001 , 0x00004ac2 
+ 00015920  0x00004c6b store  0x00000001 , 0x00004ac1 
+ 00015921  0x00004c6c rtn 
+ 00015922  0x00004c70 fetcht  0x00000002 , 0x00004bc9 
+ 00015923  0x00004c71 fetch  0x00000001 , 0x00004ad2 
+ 00015924  0x00004c72 beq  0x000000ff , 0x00003e36 
+ 00015925  0x00004c73 fetcht  0x00000002 , 0x00004bc6 
+ 00015926  0x00004c75 storet  0x00000002 , 0x000040c1 
+ 00015927  0x00004c76 fetch  0x00000006 , 0x000041dd 
+ 00015928  0x00004c77 branch  0x0000326a , 0x00000034 
+ 00015929  0x00004c78 jam  0x00000017 , 0x0000447f 
+ 00015930  0x00004c79 fetch  0x00000001 , 0x00004767 
+ 00015931  0x00004c7a nbranch  0x00003260 , 0x00000034 
+ 00015932  0x00004c7b jam  0x00000004 , 0x0000447f 
+ 00015933  0x00004c7c branch  0x00003260 
+ 00015934  0x00004c7f jam  0x00000001 , 0x00004ad8 
+ 00015935  0x00004c80 fetcht  0x00000001 , 0x00004bc8 
+ 00015936  0x00004c81 fetch  0x00000001 , 0x00004ad2 
+ 00015937  0x00004c82 beq  0x000000ff , 0x00003e43 
+ 00015938  0x00004c83 fetcht  0x00000001 , 0x00004906 
+ 00015939  0x00004c85 storet  0x00000001 , 0x00004b88 
+ 00015940  0x00004c86 call  0x00003297 
+ 00015941  0x00004c87 fetch  0x00000003 , 0x00004ae0 
+ 00015942  0x00004c88 store  0x00000003 , 0x000043ec 
+ 00015943  0x00004c89 call  0x00004428 
+ 00015944  0x00004c8a setarg  0x00000004 
+ 00015945  0x00004c8b istore  0x00000001 , 0x00000006 
+ 00015946  0x00004c8c arg  0x00004408 , 0x00000006 
+ 00015947  0x00004c8d call  0x0000442f 
+ 00015948  0x00004c8e branch  0x00007959 
+ 00015949  0x00004c93 bmark1  0x00000026 , 0x0000324f 
+ 00015950  0x00004c94 fetch  0x00000001 , 0x00004abd 
+ 00015951  0x00004c95 branch  0x0000324f , 0x00000034 
+ 00015952  0x00004c96 fetch  0x00000001 , 0x00004b05 
+ 00015953  0x00004c97 beq  0x00000001 , 0x0000324f 
+ 00015954  0x00004c98 fetch  0x00000002 , 0x000044db 
+ 00015955  0x00004c99 nbranch  0x0000324f , 0x00000034 
+ 00015956  0x00004c9a fetch  0x00000001 , 0x000048e5 
+ 00015957  0x00004c9b nbranch  0x0000324f , 0x00000034 
+ 00015958  0x00004c9c branch  0x00003251 
+ 00015959  0x00004c9f fetch  0x00000001 , 0x00004906 
+ 00015960  0x00004ca0 store  0x00000001 , 0x00004ad5 
+ 00015961  0x00004ca1 rtn 
+ 00015962  0x00004ca5 bpatch  0x000000c6 , 0x00004018 
+ 00015963  0x00004ca6 call  0x00004272 
+ 00015964  0x00004ca7 call  0x0000427c 
+ 00015965  0x00004ca8 branch  0x00003289 
+ 00015966  0x00004cac bpatch  0x000000c7 , 0x00004018 
+ 00015967  0x00004cad fetch  0x00000004 , 0x00008138 
+ 00015968  0x00004cae set1  0x0000001a , 0x0000003f 
+ 00015969  0x00004caf store  0x00000004 , 0x0000804c 
+ 00015970  0x00004cb0 call  0x0000154c 
+ 00015971  0x00004cb1 call  0x00006e62 
+ 00015972  0x00004cb2 call  0x0000495b 
+ 00015973  0x00004cb3 call  0x00004055 
+ 00015974  0x00004cb4 call  0x00003e6a 
+ 00015975  0x00004cb5 call  0x0000466d 
+ 00015976  0x00004cb6 fetcht  0x00000001 , 0x00004915 
+ 00015977  0x00004cb7 branch  0x000060e6 
+ 00015978  0x00004cbb bpatch  0x000000c8 , 0x00004019 
+ 00015979  0x00004cbc call  0x00004329 
+ 00015980  0x00004cbd call  0x00007f52 
+ 00015981  0x00004cbe call  0x00003e80 
+ 00015982  0x00004cbf call  0x00003e72 
+ 00015983  0x00004cc0 fetcht  0x00000001 , 0x0000491b 
+ 00015984  0x00004cc1 call  0x00003f96 
+ 00015985  0x00004cc2 branch  0x00003f98 
+ 00015986  0x00004cc6 arg  0x00008070 , 0x00000006 
+ 00015987  0x00004cc7 arg  0x00000013 , 0x00000039 
+ 00015988  0x00004cc9 ifetch  0x00000001 , 0x00000006 
+ 00015989  0x00004cca nbranch  0x00003e79 , 0x00000034 
+ 00015990  0x00004ccb setarg  0x00000040 
+ 00015991  0x00004ccc add  0x00000006 , 0xffffffff , 0x00000005 
+ 00015992  0x00004ccd istore  0x00000001 , 0x00000005 
+ 00015993  0x00004ccf loop  0x00003e74 
+ 00015994  0x00004cd0 rtn 
+ 00015995  0x00004cd3 rtnmark1  0x00000026 
+ 00015996  0x00004cd4 call  0x00003e80 
+ 00015997  0x00004cd5 fetch  0x00000001 , 0x0000009d 
+ 00015998  0x00004cd6 nrtn  0x00000034 
+ 00015999  0x00004cd7 branch  0x000060e6 
+ 00016000  0x00004cda bpatch  0x000000c9 , 0x00004019 
+ 00016001  0x00004cdc call  0x00003fc8 
+ 00016002  0x00004cdd fetch  0x00000001 , 0x00004923 
+ 00016003  0x00004cde arg  0x0000003f , 0x00000002 
+ 00016004  0x00004cdf call  0x0000612c 
+ 00016005  0x00004ce0 call  0x00005b62 
+ 00016006  0x00004ce2 fetcht  0x00000001 , 0x0000491c 
+ 00016007  0x00004ce3 call  0x000060da 
+ 00016008  0x00004ce4 fetcht  0x00000001 , 0x0000491d 
+ 00016009  0x00004ce5 call  0x000060da 
+ 00016010  0x00004ce6 fetcht  0x00000001 , 0x0000491e 
+ 00016011  0x00004ce7 call  0x000060da 
+ 00016012  0x00004ce9 fetcht  0x00000001 , 0x00004911 
+ 00016013  0x00004cea call  0x000060da 
+ 00016014  0x00004ceb fetcht  0x00000001 , 0x00004912 
+ 00016015  0x00004cec call  0x000060da 
+ 00016016  0x00004ced fetcht  0x00000001 , 0x00004913 
+ 00016017  0x00004cee call  0x000060da 
+ 00016018  0x00004cef fetcht  0x00000001 , 0x0000491f 
+ 00016019  0x00004cf0 call  0x000060da 
+ 00016020  0x00004cf2 fetcht  0x00000001 , 0x00004916 
+ 00016021  0x00004cf3 call  0x000060da 
+ 00016022  0x00004cf5 fetcht  0x00000001 , 0x00004917 
+ 00016023  0x00004cf6 call  0x000060d6 
+ 00016024  0x00004cf7 fetcht  0x00000001 , 0x00004918 
+ 00016025  0x00004cf8 call  0x000060d6 
+ 00016026  0x00004cf9 fetcht  0x00000001 , 0x00004920 
+ 00016027  0x00004cfa call  0x000060d6 
+ 00016028  0x00004cfb fetcht  0x00000001 , 0x00004921 
+ 00016029  0x00004cfc call  0x000060d6 
+ 00016030  0x00004cfd fetcht  0x00000001 , 0x00004915 
+ 00016031  0x00004cfe branch  0x000060da 
+ 00016032  0x00004d03 fetch  0x00000002 , 0x0000478f 
+ 00016033  0x00004d04 bbit1  0x00000009 , 0x00003ea5 
+ 00016034  0x00004d05 fetch  0x00000002 , 0x0000478f 
+ 00016035  0x00004d06 bbit1  0x00000000 , 0x00003ea8 
+ 00016036  0x00004d07 rtn 
+ 00016037  0x00004d09 copy  0x00000011 , 0x0000003f 
+ 00016038  0x00004d0a nbranch  0x00001ad2 , 0x00000034 
+ 00016039  0x00004d0b branch  0x00001ad4 
+ 00016040  0x00004d0d copy  0x00000011 , 0x0000003f 
+ 00016041  0x00004d0e nbranch  0x0000150e , 0x00000034 
+ 00016042  0x00004d0f branch  0x00001510 
+ 00016043  0x00004d16 fetch  0x00000001 , 0x000044a2 
+ 00016044  0x00004d17 rtnne  0x00000002 
+ 00016045  0x00004d19 bpatch  0x000000ca , 0x00004019 
+ 00016046  0x00004d1a fetcht  0x00000001 , 0x000044a3 
+ 00016047  0x00004d1b sub  0x00000002 , 0x00000003 , 0x0000003e 
+ 00016048  0x00004d1c branch  0x00003eb9 , 0x00000002 
+ 00016049  0x00004d1d increase  0x00000005 , 0x00000002 
+ 00016050  0x00004d1e storet  0x00000001 , 0x00004900 
+ 00016051  0x00004d20 copy  0x00000002 , 0x00000011 
+ 00016052  0x00004d21 call  0x00006131 
+ 00016053  0x00004d22 beq  0x0000003f , 0x000049a1 
+ 00016054  0x00004d23 call  0x0000499f 
+ 00016055  0x00004d24 copy  0x00000011 , 0x00000002 
+ 00016056  0x00004d25 branch  0x00006121 
+ 00016057  0x00004d28 increase  0x00000004 , 0x00000002 
+ 00016058  0x00004d29 storet  0x00000001 , 0x00004900 
+ 00016059  0x00004d2a branch  0x00003eb3 
+ 00016060  0x00004d2d fetch  0x00000001 , 0x00004901 
+ 00016061  0x00004d2e beq  0x00000002 , 0x00003ec5 
+ 00016062  0x00004d2f beq  0x00000000 , 0x00003eca 
+ 00016063  0x00004d30 jam  0x00000000 , 0x00004901 
+ 00016064  0x00004d31 setarg  0x002c0172 
+ 00016065  0x00004d32 store  0x00000003 , 0x000048e7 
+ 00016066  0x00004d33 setarg  0x00014001 
+ 00016067  0x00004d34 istore  0x00000003 , 0x00000005 
+ 00016068  0x00004d35 rtn 
+ 00016069  0x00004d37 setarg  0x005d0099 
+ 00016070  0x00004d38 store  0x00000003 , 0x000048e7 
+ 00016071  0x00004d39 setarg  0x00007100 
+ 00016072  0x00004d3a istore  0x00000003 , 0x00000005 
+ 00016073  0x00004d3b rtn 
+ 00016074  0x00004d3d setarg  0x00c8012c 
+ 00016075  0x00004d3e store  0x00000003 , 0x000048e7 
+ 00016076  0x00004d3f setarg  0x0000dc00 
+ 00016077  0x00004d40 istore  0x00000003 , 0x00000005 
+ 00016078  0x00004d41 rtn 
+ 00016079  0x00004d46 fetch  0x00000008 , 0x00004bbc 
+ 00016080  0x00004d47 rtnbit0  0x00000014 
+ 00016081  0x00004d48 jam  0x00000001 , 0x000048f9 
+ 00016082  0x00004d49 rtnbit1  0x0000002e 
+ 00016083  0x00004d4a rtnbit1  0x0000002b 
+ 00016084  0x00004d4b jam  0x00000000 , 0x000048f9 
+ 00016085  0x00004d4c rtn 
+ 00016086  0x00004d4f fetch  0x00000001 , 0x000048fa 
+ 00016087  0x00004d50 increase  0x00000001 , 0x0000003f 
+ 00016088  0x00004d51 store  0x00000001 , 0x000048fa 
+ 00016089  0x00004d52 fetcht  0x00000001 , 0x000048fb 
+ 00016090  0x00004d53 isub  0x00000002 , 0x0000003e 
+ 00016091  0x00004d54 rtn 
+ 00016092  0x00004d58 fetch  0x00000008 , 0x00004bbc 
+ 00016093  0x00004d59 rtnbit0  0x00000014 
+ 00016094  0x00004d5a call  0x00003eab 
+ 00016095  0x00004d5b fetch  0x00000001 , 0x000048f9 
+ 00016096  0x00004d5c branch  0x00003ef3 , 0x00000034 
+ 00016097  0x00004d5d fetch  0x00000001 , 0x000044a2 
+ 00016098  0x00004d5e beq  0x00000002 , 0x00003ee8 
+ 00016099  0x00004d5f jam  0x00000003 , 0x000048f9 
+ 00016100  0x00004d60 call  0x00003ed6 
+ 00016101  0x00004d61 branch  0x00003eea , 0x00000002 
+ 00016102  0x00004d62 call  0x00003eef 
+ 00016103  0x00004d63 branch  0x00003ef9 
+ 00016104  0x00004d66 jam  0x00000002 , 0x000048f9 
+ 00016105  0x00004d67 branch  0x00003ef9 
+ 00016106  0x00004d6a call  0x00003ead 
+ 00016107  0x00004d6b jam  0x00000002 , 0x000044a2 
+ 00016108  0x00004d6c fetch  0x00000001 , 0x00004bbb 
+ 00016109  0x00004d6d ncall  0x00003eef , 0x00000034 
+ 00016110  0x00004d6e branch  0x00003ef9 
+ 00016111  0x00004d71 jam  0x00000000 , 0x000048fa 
+ 00016112  0x00004d72 fetch  0x00000001 , 0x00004901 
+ 00016113  0x00004d73 store  0x00000001 , 0x000044a2 
+ 00016114  0x00004d74 rtn 
+ 00016115  0x00004d77 fetch  0x00000001 , 0x000044a2 
+ 00016116  0x00004d78 bne  0x00000002 , 0x00003ef7 
+ 00016117  0x00004d79 fetch  0x00000001 , 0x00004bbb 
+ 00016118  0x00004d7a nrtn  0x00000034 
+ 00016119  0x00004d7c call  0x00003ed6 
+ 00016120  0x00004d7d nrtn  0x00000002 
+ 00016121  0x00004d7f bpatch  0x000000cb , 0x00004019 
+ 00016122  0x00004d80 fetch  0x00000001 , 0x00004bbb 
+ 00016123  0x00004d81 nrtn  0x00000034 
+ 00016124  0x00004d82 jam  0x00000000 , 0x000048fa 
+ 00016125  0x00004d83 call  0x00006166 
+ 00016126  0x00004d84 call  0x0000618d 
+ 00016127  0x00004d85 store  0x00000002 , 0x000048ed 
+ 00016128  0x00004d86 fetch  0x00000001 , 0x000044a2 
+ 00016129  0x00004d87 bne  0x00000002 , 0x00003f08 
+ 00016130  0x00004d88 fetcht  0x00000002 , 0x000048ed 
+ 00016131  0x00004d89 mul32  0x00000002 , 0x00000008 , 0x0000003f 
+ 00016132  0x00004d8a div  0x0000003f , 0x0000000a 
+ 00016133  0x00004d8b call  0x00007e61 
+ 00016134  0x00004d8c iadd  0x00000002 , 0x0000003f 
+ 00016135  0x00004d8d store  0x00000002 , 0x000048ed 
+ 00016136  0x00004d8f arg  0x000048e7 , 0x00000011 
+ 00016137  0x00004d90 call  0x00003f1a 
+ 00016138  0x00004d91 fetch  0x00000001 , 0x000044a6 
+ 00016139  0x00004d92 bbit1  0x00000002 , 0x00003f5c 
+ 00016140  0x00004d93 bbit1  0x00000001 , 0x00003f5e 
+ 00016141  0x00004d94 bbit0  0x00000000 , 0x00003f12 
+ 00016142  0x00004d95 jam  0x00000001 , 0x000048fe 
+ 00016143  0x00004d96 branch  0x00003f10 
+ 00016144  0x00004d99 arg  0x00000004 , 0x00000007 
+ 00016145  0x00004d9a branch  0x0000472e 
+ 00016146  0x00004d9c arg  0x00000004 , 0x00000007 
+ 00016147  0x00004d9d call  0x00004732 
+ 00016148  0x00004d9e jam  0x0000000c , 0x000048fc 
+ 00016149  0x00004d9f fetch  0x00000001 , 0x000048fe 
+ 00016150  0x00004da0 rtn  0x00000034 
+ 00016151  0x00004da1 jam  0x00000000 , 0x000048fe 
+ 00016152  0x00004da2 fetcht  0x00000001 , 0x00004925 
+ 00016153  0x00004da3 branch  0x00004978 
+ 00016154  0x00004da8 bpatch  0x000000cc , 0x00004019 
+ 00016155  0x00004da9 ifetch  0x00000008 , 0x00000011 
+ 00016156  0x00004daa store  0x00000008 , 0x0000095c 
+ 00016157  0x00004dab fetch  0x00000001 , 0x000048f9 
+ 00016158  0x00004dac beq  0x00000000 , 0x00003f32 
+ 00016159  0x00004dad beq  0x00000002 , 0x00003f21 
+ 00016160  0x00004dae beq  0x00000003 , 0x00003f51 
+ 00016161  0x00004db0 fetch  0x00000008 , 0x00004bbc 
+ 00016162  0x00004db1 bbit0  0x0000002e , 0x00003f27 
+ 00016163  0x00004db2 fetch  0x00000002 , 0x00000962 
+ 00016164  0x00004db3 fetcht  0x00000002 , 0x000048ef 
+ 00016165  0x00004db4 isub  0x00000002 , 0x0000003e 
+ 00016166  0x00004db5 nbranch  0x00003f54 , 0x00000002 
+ 00016167  0x00004db8 fetch  0x00000008 , 0x00004bbc 
+ 00016168  0x00004db9 bbit0  0x0000002b , 0x00003f32 
+ 00016169  0x00004dba jam  0x00000000 , 0x000048ff 
+ 00016170  0x00004dbb fetch  0x00000002 , 0x00000962 
+ 00016171  0x00004dbc fetcht  0x00000002 , 0x000048f1 
+ 00016172  0x00004dbd isub  0x00000002 , 0x0000003e 
+ 00016173  0x00004dbe nbranch  0x00003f30 , 0x00000002 
+ 00016174  0x00004dbf call  0x000046e7 
+ 00016175  0x00004dc0 branch  0x00003f32 
+ 00016176  0x00004dc3 call  0x000046eb 
+ 00016177  0x00004dc4 branch  0x00003f32 
+ 00016178  0x00004dc8 call  0x00003f58 
+ 00016179  0x00004dc9 call  0x000061d6 
+ 00016180  0x00004dca call  0x000061ce 
+ 00016181  0x00004dcb fetch  0x00000002 , 0x00000962 
+ 00016182  0x00004dcc fetcht  0x00000002 , 0x0000095e 
+ 00016183  0x00004dcd isub  0x00000002 , 0x0000003e 
+ 00016184  0x00004dce ncall  0x000061d2 , 0x00000002 
+ 00016185  0x00004dd0 fetcht  0x00000002 , 0x00000960 
+ 00016186  0x00004dd1 isub  0x00000002 , 0x0000003e 
+ 00016187  0x00004dd2 ncall  0x000061ca , 0x00000002 
+ 00016188  0x00004dd5 fetch  0x00000002 , 0x00000962 
+ 00016189  0x00004dd6 fetcht  0x00000002 , 0x0000095c 
+ 00016190  0x00004dd7 isub  0x00000002 , 0x0000003e 
+ 00016191  0x00004dd8 branch  0x00003f4d , 0x00000002 
+ 00016192  0x00004dd9 fetcht  0x00000002 , 0x0000095e 
+ 00016193  0x00004dda isub  0x00000002 , 0x0000003f 
+ 00016194  0x00004ddb nbranch  0x00003f4f , 0x00000002 
+ 00016195  0x00004ddc branch  0x00003f4f , 0x00000034 
+ 00016196  0x00004ddd mul32  0x0000003f , 0x00000064 , 0x00000011 
+ 00016197  0x00004dde fetch  0x00000002 , 0x0000095c 
+ 00016198  0x00004ddf fetcht  0x00000002 , 0x0000095e 
+ 00016199  0x00004de0 isub  0x00000002 , 0x00000002 
+ 00016200  0x00004de1 copy  0x00000011 , 0x0000003f 
+ 00016201  0x00004de2 idiv  0x00000002 
+ 00016202  0x00004de3 call  0x00007e61 
+ 00016203  0x00004de4 store  0x00000001 , 0x00004b00 
+ 00016204  0x00004de5 rtn 
+ 00016205  0x00004de8 jam  0x00000064 , 0x00004b00 
+ 00016206  0x00004de9 rtn 
+ 00016207  0x00004deb jam  0x00000000 , 0x00004b00 
+ 00016208  0x00004dec rtn 
+ 00016209  0x00004df0 fetch  0x00000001 , 0x000044a2 
+ 00016210  0x00004df1 beq  0x00000002 , 0x00003f21 
+ 00016211  0x00004df2 branch  0x00003f32 
+ 00016212  0x00004df6 fetcht  0x00000001 , 0x000044a6 
+ 00016213  0x00004df7 set1  0x00000002 , 0x00000002 
+ 00016214  0x00004df8 storet  0x00000001 , 0x000044a6 
+ 00016215  0x00004df9 rtn 
+ 00016216  0x00004dfc fetcht  0x00000001 , 0x000044a6 
+ 00016217  0x00004dfd set0  0x00000002 , 0x00000002 
+ 00016218  0x00004dfe storet  0x00000001 , 0x000044a6 
+ 00016219  0x00004dff rtn 
+ 00016220  0x00004e02 jam  0x00000001 , 0x000048ff 
+ 00016221  0x00004e03 rtn 
+ 00016222  0x00004e06 call  0x0000495b 
+ 00016223  0x00004e07 branch  0x00003e5a 
+ 00016224  0x00004e0d fetcht  0x00000001 , 0x000044c3 
+ 00016225  0x00004e0e call  0x0000610d 
+ 00016226  0x00004e0f call  0x00007a1f 
+ 00016227  0x00004e10 fetcht  0x00000001 , 0x0000491c 
+ 00016228  0x00004e11 call  0x00003f96 
+ 00016229  0x00004e12 fetcht  0x00000001 , 0x0000491d 
+ 00016230  0x00004e13 call  0x00003f96 
+ 00016231  0x00004e14 fetcht  0x00000001 , 0x0000491e 
+ 00016232  0x00004e15 call  0x00003f96 
+ 00016233  0x00004e16 fetcht  0x00000001 , 0x00004911 
+ 00016234  0x00004e17 call  0x00003f96 
+ 00016235  0x00004e18 fetcht  0x00000001 , 0x00004912 
+ 00016236  0x00004e19 call  0x00003f96 
+ 00016237  0x00004e1a fetcht  0x00000001 , 0x00004913 
+ 00016238  0x00004e1b call  0x00003f96 
+ 00016239  0x00004e1d fetcht  0x00000001 , 0x00004914 
+ 00016240  0x00004e1e call  0x00003f96 
+ 00016241  0x00004e20 fetcht  0x00000001 , 0x0000491f 
+ 00016242  0x00004e21 call  0x00003f96 
+ 00016243  0x00004e23 fetcht  0x00000001 , 0x00004916 
+ 00016244  0x00004e24 call  0x00003f96 
+ 00016245  0x00004e26 fetcht  0x00000001 , 0x00004917 
+ 00016246  0x00004e27 call  0x00003f96 
+ 00016247  0x00004e29 fetcht  0x00000001 , 0x00004918 
+ 00016248  0x00004e2a call  0x00003f96 
+ 00016249  0x00004e2c fetcht  0x00000001 , 0x00004920 
+ 00016250  0x00004e2d call  0x00003f96 
+ 00016251  0x00004e2e fetcht  0x00000001 , 0x00004921 
+ 00016252  0x00004e2f call  0x00003f96 
+ 00016253  0x00004e31 fetcht  0x00000001 , 0x00004915 
+ 00016254  0x00004e32 call  0x00003f96 
+ 00016255  0x00004e34 fetcht  0x00000001 , 0x00004922 
+ 00016256  0x00004e35 call  0x00003f96 
+ 00016257  0x00004e37 fetcht  0x00000001 , 0x00004925 
+ 00016258  0x00004e38 call  0x0000610d 
+ 00016259  0x00004e3a fetcht  0x00000001 , 0x00004919 
+ 00016260  0x00004e3b call  0x0000610d 
+ 00016261  0x00004e3d fetcht  0x00000001 , 0x00004926 
+ 00016262  0x00004e3e call  0x0000610d 
+ 00016263  0x00004e40 fetcht  0x00000001 , 0x00004927 
+ 00016264  0x00004e41 call  0x0000610d 
+ 00016265  0x00004e43 fetcht  0x00000001 , 0x00004928 
+ 00016266  0x00004e44 call  0x0000610d 
+ 00016267  0x00004e46 fetcht  0x00000001 , 0x0000491a 
+ 00016268  0x00004e47 branch  0x00003f96 
+ 00016269  0x00004e4b sub  0x00000002 , 0x000000ff , 0x0000003e 
+ 00016270  0x00004e4c rtn  0x00000005 
+ 00016271  0x00004e4d and  0x00000002 , 0x0000007f , 0x00000007 
+ 00016272  0x00004e4e fetch  0x00000004 , 0x0000811c 
+ 00016273  0x00004e4f qisolate1  0x0000003f 
+ 00016274  0x00004e50 branch  0x00003f96 , 0x00000001 
+ 00016275  0x00004e51 branch  0x00003f94 
+ 00016276  0x00004e55 set1  0x00000007 , 0x00000002 
+ 00016277  0x00004e56 branch  0x000060f4 
+ 00016278  0x00004e59 set0  0x00000007 , 0x00000002 
+ 00016279  0x00004e5a branch  0x000060f4 
+ 00016280  0x00004e5d fetch  0x00000003 , 0x00004bef 
+ 00016281  0x00004e5e store  0x00000003 , 0x0000095c 
+ 00016282  0x00004e5f arg  0x00000014 , 0x00000039 
+ 00016283  0x00004e60 arg  0x00000000 , 0x00000002 
+ 00016284  0x00004e62 fetch  0x00000003 , 0x0000095c 
+ 00016285  0x00004e63 isolate1  0x00000000 , 0x0000003f 
+ 00016286  0x00004e64 call  0x00006121 , 0x00000001 
+ 00016287  0x00004e65 fetch  0x00000003 , 0x0000095c 
+ 00016288  0x00004e66 lshift  0x0000003f , 0x0000003f 
+ 00016289  0x00004e67 store  0x00000003 , 0x0000095c 
+ 00016290  0x00004e68 increase  0x00000001 , 0x00000002 
+ 00016291  0x00004e69 loop  0x00003f9c 
+ 00016292  0x00004e6a rtn 
+ 00016293  0x00004e72 call  0x00003faa 
+ 00016294  0x00004e73 jam  0x00000073 , 0x00004486 
+ 00016295  0x00004e75 call  0x00003fa9 
+ 00016296  0x00004e76 branch  0x00005b66 
+ 00016297  0x00004e7a branch  0x00005d54 
+ 00016298  0x00004e7d fetch  0x00000001 , 0x00004923 
+ 00016299  0x00004e7e arg  0x00000021 , 0x00000002 
+ 00016300  0x00004e7f call  0x0000612c 
+ 00016301  0x00004e80 fetch  0x00000001 , 0x00004924 
+ 00016302  0x00004e81 arg  0x00000023 , 0x00000002 
+ 00016303  0x00004e82 branch  0x0000612c 
+ 00016304  0x00004e8b bpatch  0x000000cd , 0x00004019 
+ 00016305  0x00004e8c disable  0x00000028 
+ 00016306  0x00004e8d setarg  0x00000000 
+ 00016307  0x00004e8e store  0x00000006 , 0x000048d5 
+ 00016308  0x00004e8f call  0x00004280 
+ 00016309  0x00004e90 call  0x00003fbe 
+ 00016310  0x00004e91 call  0x00003fc3 
+ 00016311  0x00004e92 call  0x0000411c 
+ 00016312  0x00004e93 fetch  0x00000001 , 0x000048d4 
+ 00016313  0x00004e94 and_into  0x0000001f , 0x0000003f 
+ 00016314  0x00004e95 store  0x00000001 , 0x000048d4 
+ 00016315  0x00004e96 nbranch  0x00004766 , 0x00000028 
+ 00016316  0x00004e97 call  0x00004758 
+ 00016317  0x00004e98 branch  0x00004584 
+ 00016318  0x00004e9e fetch  0x00000001 , 0x000048e4 
+ 00016319  0x00004e9f rtn  0x00000034 
+ 00016320  0x00004ea0 store  0x00000001 , 0x000048d9 
+ 00016321  0x00004ea1 jam  0x00000000 , 0x000048e4 
+ 00016322  0x00004ea2 branch  0x00007ec5 
+ 00016323  0x00004ea5 fetch  0x00000001 , 0x000048e0 
+ 00016324  0x00004ea6 rtn  0x00000034 
+ 00016325  0x00004ea7 store  0x00000001 , 0x000048da 
+ 00016326  0x00004ea8 jam  0x00000000 , 0x000048e0 
+ 00016327  0x00004ea9 branch  0x00007ec5 
+ 00016328  0x00004eac call  0x00003fd5 
+ 00016329  0x00004ead call  0x00004011 
+ 00016330  0x00004eae fetch  0x00000001 , 0x000048de 
+ 00016331  0x00004eaf fetcht  0x00000001 , 0x000048dd 
+ 00016332  0x00004eb0 store  0x00000001 , 0x000048dd 
+ 00016333  0x00004eb1 isub  0x00000002 , 0x0000003e 
+ 00016334  0x00004eb2 nbranch  0x00003253 , 0x00000005 
+ 00016335  0x00004eb3 fetch  0x00000001 , 0x000048e2 
+ 00016336  0x00004eb4 fetcht  0x00000001 , 0x000048e1 
+ 00016337  0x00004eb5 store  0x00000001 , 0x000048e1 
+ 00016338  0x00004eb6 isub  0x00000002 , 0x0000003e 
+ 00016339  0x00004eb7 nbranch  0x00003253 , 0x00000005 
+ 00016340  0x00004eb8 rtn 
+ 00016341  0x00004eba fetch  0x00000001 , 0x00004920 
+ 00016342  0x00004ebb rtneq  0x000000ff 
+ 00016343  0x00004ebc arg  0x00000000 , 0x00000011 
+ 00016344  0x00004ebd fetcht  0x00000001 , 0x00004920 
+ 00016345  0x00004ebe call  0x000060fd 
+ 00016346  0x00004ebf setflag  0x00000001 , 0x00000000 , 0x00000011 
+ 00016347  0x00004ec0 fetcht  0x00000001 , 0x00004921 
+ 00016348  0x00004ec1 call  0x000060fd 
+ 00016349  0x00004ec2 setflag  0x00000001 , 0x00000001 , 0x00000011 
+ 00016350  0x00004ec3 copy  0x00000011 , 0x0000003f 
+ 00016351  0x00004ec4 store  0x00000001 , 0x000048de 
+ 00016352  0x00004ec5 beq  0x00000001 , 0x00003fe5 
+ 00016353  0x00004ec6 beq  0x00000002 , 0x00003fe9 
+ 00016354  0x00004ec7 fetch  0x00000001 , 0x000048df 
+ 00016355  0x00004ec8 bbit1  0x00000007 , 0x00003ff5 
+ 00016356  0x00004ec9 rtn 
+ 00016357  0x00004ecc fetch  0x00000001 , 0x000048dd 
+ 00016358  0x00004ecd beq  0x00000000 , 0x00003fed 
+ 00016359  0x00004ece beq  0x00000003 , 0x00003fef 
+ 00016360  0x00004ecf rtn 
+ 00016361  0x00004ed1 fetch  0x00000001 , 0x000048dd 
+ 00016362  0x00004ed2 beq  0x00000000 , 0x00003ff1 
+ 00016363  0x00004ed3 beq  0x00000003 , 0x00003ff3 
+ 00016364  0x00004ed4 rtn 
+ 00016365  0x00004ed6 jam  0x00000082 , 0x000048df 
+ 00016366  0x00004ed7 rtn 
+ 00016367  0x00004ed9 jam  0x00000081 , 0x000048df 
+ 00016368  0x00004eda rtn 
+ 00016369  0x00004edc jam  0x00000080 , 0x000048df 
+ 00016370  0x00004edd rtn 
+ 00016371  0x00004edf jam  0x00000083 , 0x000048df 
+ 00016372  0x00004ee0 rtn 
+ 00016373  0x00004ee2 fetch  0x00000001 , 0x000048df 
+ 00016374  0x00004ee3 set0  0x00000007 , 0x0000003f 
+ 00016375  0x00004ee4 store  0x00000001 , 0x000048df 
+ 00016376  0x00004ee5 beq  0x00000000 , 0x00003ffd 
+ 00016377  0x00004ee6 beq  0x00000001 , 0x00004000 
+ 00016378  0x00004ee7 beq  0x00000002 , 0x00004003 
+ 00016379  0x00004ee8 beq  0x00000003 , 0x00004006 
+ 00016380  0x00004ee9 rtn 
+ 00016381  0x00004eeb fetch  0x00000001 , 0x000048de 
+ 00016382  0x00004eec beq  0x00000003 , 0x00004009 
+ 00016383  0x00004eed rtn 
+ 00016384  0x00004eef fetch  0x00000001 , 0x000048de 
+ 00016385  0x00004ef0 beq  0x00000000 , 0x00004009 
+ 00016386  0x00004ef1 rtn 
+ 00016387  0x00004ef3 fetch  0x00000001 , 0x000048de 
+ 00016388  0x00004ef4 beq  0x00000003 , 0x0000400d 
+ 00016389  0x00004ef5 rtn 
+ 00016390  0x00004ef7 fetch  0x00000001 , 0x000048de 
+ 00016391  0x00004ef8 beq  0x00000000 , 0x0000400d 
+ 00016392  0x00004ef9 rtn 
+ 00016393  0x00004efb fetch  0x00000001 , 0x000048e0 
+ 00016394  0x00004efc increase  0x00000001 , 0x0000003f 
+ 00016395  0x00004efd store  0x00000001 , 0x000048e0 
+ 00016396  0x00004efe rtn 
+ 00016397  0x00004f00 fetch  0x00000001 , 0x000048e0 
+ 00016398  0x00004f01 increase  0xffffffff , 0x0000003f 
+ 00016399  0x00004f02 store  0x00000001 , 0x000048e0 
+ 00016400  0x00004f03 rtn 
+ 00016401  0x00004f07 fetch  0x00000001 , 0x00004917 
+ 00016402  0x00004f08 rtneq  0x000000ff 
+ 00016403  0x00004f09 arg  0x00000000 , 0x00000011 
+ 00016404  0x00004f0a fetcht  0x00000001 , 0x00004917 
+ 00016405  0x00004f0b call  0x000060fd 
+ 00016406  0x00004f0c setflag  0x00000001 , 0x00000000 , 0x00000011 
+ 00016407  0x00004f0d fetcht  0x00000001 , 0x00004918 
+ 00016408  0x00004f0e call  0x000060fd 
+ 00016409  0x00004f0f setflag  0x00000001 , 0x00000001 , 0x00000011 
+ 00016410  0x00004f10 copy  0x00000011 , 0x0000003f 
+ 00016411  0x00004f11 store  0x00000001 , 0x000048e2 
+ 00016412  0x00004f12 beq  0x00000001 , 0x00004021 
+ 00016413  0x00004f13 beq  0x00000002 , 0x00004025 
+ 00016414  0x00004f14 fetch  0x00000001 , 0x000048e3 
+ 00016415  0x00004f15 bbit1  0x00000007 , 0x00004031 
+ 00016416  0x00004f16 rtn 
+ 00016417  0x00004f19 fetch  0x00000001 , 0x000048e1 
+ 00016418  0x00004f1a beq  0x00000000 , 0x00004029 
+ 00016419  0x00004f1b beq  0x00000003 , 0x0000402b 
+ 00016420  0x00004f1c rtn 
+ 00016421  0x00004f1e fetch  0x00000001 , 0x000048e1 
+ 00016422  0x00004f1f beq  0x00000000 , 0x0000402d 
+ 00016423  0x00004f20 beq  0x00000003 , 0x0000402f 
+ 00016424  0x00004f21 rtn 
+ 00016425  0x00004f23 jam  0x00000082 , 0x000048e3 
+ 00016426  0x00004f24 rtn 
+ 00016427  0x00004f26 jam  0x00000081 , 0x000048e3 
+ 00016428  0x00004f27 rtn 
+ 00016429  0x00004f29 jam  0x00000080 , 0x000048e3 
+ 00016430  0x00004f2a rtn 
+ 00016431  0x00004f2c jam  0x00000083 , 0x000048e3 
+ 00016432  0x00004f2d rtn 
+ 00016433  0x00004f2f fetch  0x00000001 , 0x000048e3 
+ 00016434  0x00004f30 set0  0x00000007 , 0x0000003f 
+ 00016435  0x00004f31 store  0x00000001 , 0x000048e3 
+ 00016436  0x00004f32 beq  0x00000000 , 0x00004039 
+ 00016437  0x00004f33 beq  0x00000001 , 0x0000403c 
+ 00016438  0x00004f34 beq  0x00000002 , 0x0000403f 
+ 00016439  0x00004f35 beq  0x00000003 , 0x00004042 
+ 00016440  0x00004f36 rtn 
+ 00016441  0x00004f38 fetch  0x00000001 , 0x000048e2 
+ 00016442  0x00004f39 beq  0x00000003 , 0x00004045 
+ 00016443  0x00004f3a rtn 
+ 00016444  0x00004f3c fetch  0x00000001 , 0x000048e2 
+ 00016445  0x00004f3d beq  0x00000000 , 0x00004045 
+ 00016446  0x00004f3e rtn 
+ 00016447  0x00004f40 fetch  0x00000001 , 0x000048e2 
+ 00016448  0x00004f41 beq  0x00000003 , 0x00004049 
+ 00016449  0x00004f42 rtn 
+ 00016450  0x00004f44 fetch  0x00000001 , 0x000048e2 
+ 00016451  0x00004f45 beq  0x00000000 , 0x00004049 
+ 00016452  0x00004f46 rtn 
+ 00016453  0x00004f48 fetch  0x00000001 , 0x000048e4 
+ 00016454  0x00004f49 increase  0x00000001 , 0x0000003f 
+ 00016455  0x00004f4a store  0x00000001 , 0x000048e4 
+ 00016456  0x00004f4b rtn 
+ 00016457  0x00004f4d fetch  0x00000001 , 0x000048e4 
+ 00016458  0x00004f4e increase  0xffffffff , 0x0000003f 
+ 00016459  0x00004f4f store  0x00000001 , 0x000048e4 
+ 00016460  0x00004f50 rtn 
+ 00016461  0x00004f54 fetcht  0x00000001 , 0x00004917 
+ 00016462  0x00004f55 call  0x000060d6 
+ 00016463  0x00004f56 fetcht  0x00000001 , 0x00004918 
+ 00016464  0x00004f57 call  0x000060d6 
+ 00016465  0x00004f58 fetcht  0x00000001 , 0x00004920 
+ 00016466  0x00004f59 call  0x000060d6 
+ 00016467  0x00004f5a fetcht  0x00000001 , 0x00004921 
+ 00016468  0x00004f5b branch  0x000060d6 
+ 00016469  0x00004f5e fetcht  0x00000001 , 0x00004917 
+ 00016470  0x00004f5f call  0x00003f8d 
+ 00016471  0x00004f60 fetcht  0x00000001 , 0x00004918 
+ 00016472  0x00004f61 call  0x00003f8d 
+ 00016473  0x00004f62 fetcht  0x00000001 , 0x00004920 
+ 00016474  0x00004f63 call  0x00003f8d 
+ 00016475  0x00004f64 fetcht  0x00000001 , 0x00004921 
+ 00016476  0x00004f65 branch  0x00003f8d 
+ 00016477  0x00004f68 fetch  0x00000002 , 0x000048d9 
+ 00016478  0x00004f69 rtn  0x00000034 
+ 00016479  0x00004f6a jam  0x00000001 , 0x000048e5 
+ 00016480  0x00004f6b jam  0x0000000a , 0x000048e6 
+ 00016481  0x00004f6c rtn 
+ 00016482  0x00004f6f arg  0x000048e6 , 0x00000013 
+ 00016483  0x00004f70 arg  0x00004065 , 0x00000012 
+ 00016484  0x00004f71 branch  0x000031fc 
+ 00016485  0x00004f73 jam  0x00000000 , 0x000048e5 
+ 00016486  0x00004f74 rtn 
+ 00016487  0x00004f7e fetch  0x00000008 , 0x00004bbc 
+ 00016488  0x00004f7f bbit1  0x0000002e , 0x00004076 
+ 00016489  0x00004f80 fetch  0x00000001 , 0x00004913 
+ 00016490  0x00004f81 rtneq  0x000000ff 
+ 00016491  0x00004f82 arg  0x00000000 , 0x00000011 
+ 00016492  0x00004f83 jam  0x00000005 , 0x00004ba7 
+ 00016493  0x00004f84 fetcht  0x00000001 , 0x00004913 
+ 00016494  0x00004f85 call  0x00004079 
+ 00016495  0x00004f86 store  0x00000001 , 0x00004ba4 
+ 00016496  0x00004f87 fetch  0x00000001 , 0x00004914 
+ 00016497  0x00004f88 beq  0x000000ff , 0x00004082 
+ 00016498  0x00004f89 call  0x000041a8 
+ 00016499  0x00004f8b copy  0x00000011 , 0x0000003f 
+ 00016500  0x00004f8c bbit1  0x00000005 , 0x00004092 
+ 00016501  0x00004f8d branch  0x00004099 
+ 00016502  0x00004f90 fetch  0x00000001 , 0x000048ff 
+ 00016503  0x00004f91 branch  0x00004099 , 0x00000034 
+ 00016504  0x00004f92 branch  0x00004092 
+ 00016505  0x00004f95 fetch  0x00000008 , 0x00004bbc 
+ 00016506  0x00004f96 bbit1  0x0000002c , 0x00004088 
+ 00016507  0x00004f97 fetch  0x00000001 , 0x00004ba4 
+ 00016508  0x00004f98 copy  0x0000003f , 0x00000013 
+ 00016509  0x00004f99 fetch  0x00000001 , 0x00004914 
+ 00016510  0x00004f9a beq  0x000000ff , 0x000041d5 
+ 00016511  0x00004f9b fetch  0x00000001 , 0x00004bab 
+ 00016512  0x00004f9c nbranch  0x00004085 , 0x00000034 
+ 00016513  0x00004f9d branch  0x0000408a 
+ 00016514  0x00004fa0 fetcht  0x00000001 , 0x00004913 
+ 00016515  0x00004fa1 call  0x00003f96 
+ 00016516  0x00004fa2 branch  0x00004073 
+ 00016517  0x00004fa5 jam  0x00000000 , 0x000049e2 
+ 00016518  0x00004fa6 jam  0x00000000 , 0x00004ba4 
+ 00016519  0x00004fa7 rtn 
+ 00016520  0x00004faa fetch  0x00000001 , 0x00004ba4 
+ 00016521  0x00004fab branch  0x000041c7 
+ 00016522  0x00004fae call  0x000060fd 
+ 00016523  0x00004faf fetcht  0x00000001 , 0x00004914 
+ 00016524  0x00004fb0 branch  0x00004088 , 0x00000001 
+ 00016525  0x00004fb1 fetcht  0x00000001 , 0x00004914 
+ 00016526  0x00004fb2 call  0x0000610d 
+ 00016527  0x00004fb3 fetcht  0x00000001 , 0x00004913 
+ 00016528  0x00004fb4 fetch  0x00000001 , 0x00004ba4 
+ 00016529  0x00004fb5 branch  0x000041c7 
+ 00016530  0x00004fb9 fetch  0x00000001 , 0x000049e2 
+ 00016531  0x00004fba rtneq  0x00000001 
+ 00016532  0x00004fbb jam  0x00000001 , 0x000049e2 
+ 00016533  0x00004fbc fetch  0x00000008 , 0x00004bbc 
+ 00016534  0x00004fbd rtnbit1  0x00000028 
+ 00016535  0x00004fbe rtnbit1  0x00000036 
+ 00016536  0x00004fbf branch  0x000040a9 
+ 00016537  0x00004fc2 fetch  0x00000001 , 0x000049e2 
+ 00016538  0x00004fc3 rtneq  0x00000000 
+ 00016539  0x00004fc4 jam  0x00000000 , 0x000049e2 
+ 00016540  0x00004fc5 fetch  0x00000008 , 0x00004bbc 
+ 00016541  0x00004fc6 bbit1  0x00000028 , 0x000040a0 
+ 00016542  0x00004fc7 bbit1  0x00000036 , 0x000040a0 
+ 00016543  0x00004fc8 rtn 
+ 00016544  0x00004fca fetch  0x00000001 , 0x000049e3 
+ 00016545  0x00004fcb nbranch  0x000040a4 , 0x00000034 
+ 00016546  0x00004fcc fetch  0x00000001 , 0x00004bad 
+ 00016547  0x00004fcd ncall  0x000040a9 , 0x00000034 
+ 00016548  0x00004fcf jam  0x00000000 , 0x000049e3 
+ 00016549  0x00004fd0 fetch  0x00000001 , 0x00004792 
+ 00016550  0x00004fd1 store  0x00000001 , 0x00004bad 
+ 00016551  0x00004fd2 store  0x00000001 , 0x00004bac 
+ 00016552  0x00004fd3 rtn 
+ 00016553  0x00004fd6 bpatch  0x000000ce , 0x00004019 
+ 00016554  0x00004fd7 call  0x000040b2 
+ 00016555  0x00004fd8 rtn  0x00000028 
+ 00016556  0x00004fd9 fetch  0x00000001 , 0x00004997 
+ 00016557  0x00004fda increase  0x00000001 , 0x0000003f 
+ 00016558  0x00004fdb and  0x0000003f , 0x00000003 , 0x0000003f 
+ 00016559  0x00004fdc store  0x00000001 , 0x00004997 
+ 00016560  0x00004fdd call  0x000040d5 
+ 00016561  0x00004fde branch  0x0000462e 
+ 00016562  0x00004fe1 disable  0x00000028 
+ 00016563  0x00004fe2 fetch  0x00000008 , 0x00004bbc 
+ 00016564  0x00004fe3 rtnbit1  0x0000002c 
+ 00016565  0x00004fe4 rtnbit1  0x0000002e 
+ 00016566  0x00004fe5 fetch  0x00000001 , 0x00004b9f 
+ 00016567  0x00004fe6 rtn  0x00000034 
+ 00016568  0x00004fe7 fetch  0x00000001 , 0x00004ba0 
+ 00016569  0x00004fe8 rtn  0x00000034 
+ 00016570  0x00004fe9 enable  0x00000028 
+ 00016571  0x00004fea rtn 
+ 00016572  0x00004fee fetch  0x00000008 , 0x00004bbc 
+ 00016573  0x00004fef bbit1  0x00000028 , 0x000040c0 
+ 00016574  0x00004ff0 bbit1  0x00000036 , 0x000040c7 
+ 00016575  0x00004ff1 rtn 
+ 00016576  0x00004ff5 fetch  0x00000001 , 0x000049e2 
+ 00016577  0x00004ff6 rtnne  0x00000001 
+ 00016578  0x00004ff7 arg  0x00004bad , 0x00000013 
+ 00016579  0x00004ff8 arg  0x000040c5 , 0x00000012 
+ 00016580  0x00004ff9 branch  0x000031fc 
+ 00016581  0x00004ffc jam  0x00000001 , 0x000049e3 
+ 00016582  0x00004ffd branch  0x000046f3 
+ 00016583  0x00005000 fetch  0x00000001 , 0x000049e2 
+ 00016584  0x00005001 rtnne  0x00000001 
+ 00016585  0x00005002 arg  0x00004bac , 0x00000013 
+ 00016586  0x00005003 arg  0x000040cc , 0x00000012 
+ 00016587  0x00005004 branch  0x000031fc 
+ 00016588  0x00005007 jam  0x00000001 , 0x000049e3 
+ 00016589  0x00005008 branch  0x00004514 
+ 00016590  0x0000500d branch  0x000040d8 
+ 00016591  0x00005011 fetch  0x00000008 , 0x00004bbc 
+ 00016592  0x00005012 rtnbit1  0x0000001c 
+ 00016593  0x00005013 fetch  0x00000001 , 0x00004997 
+ 00016594  0x00005014 rtnne  0x00000003 
+ 00016595  0x00005015 jam  0x00000000 , 0x00004997 
+ 00016596  0x00005016 rtn 
+ 00016597  0x0000501a bpatch  0x000000cf , 0x00004019 
+ 00016598  0x0000501b call  0x000040cf 
+ 00016599  0x0000501c call  0x0000492e 
+ 00016600  0x0000501e fetch  0x00000001 , 0x0000492c 
+ 00016601  0x0000501f beq  0x00000003 , 0x000040fb 
+ 00016602  0x00005020 beq  0x0000000b , 0x0000410f 
+ 00016603  0x00005021 fetch  0x00000001 , 0x00004997 
+ 00016604  0x00005022 beq  0x00000000 , 0x000040e2 
+ 00016605  0x00005023 beq  0x00000001 , 0x000040e0 
+ 00016606  0x00005024 beq  0x00000002 , 0x000040e4 
+ 00016607  0x00005025 beq  0x00000003 , 0x000040e6 
+ 00016608  0x00005027 fetcht  0x00000001 , 0x000049d6 
+ 00016609  0x00005028 branch  0x000040e8 
+ 00016610  0x0000502a fetcht  0x00000001 , 0x000049d5 
+ 00016611  0x0000502b branch  0x000040e8 
+ 00016612  0x0000502d fetcht  0x00000001 , 0x000049d7 
+ 00016613  0x0000502e branch  0x000040e8 
+ 00016614  0x00005030 fetcht  0x00000001 , 0x000049d8 
+ 00016615  0x00005031 branch  0x000040e8 
+ 00016616  0x00005034 fetch  0x00000001 , 0x0000492c 
+ 00016617  0x00005035 beq  0x00000004 , 0x000040f7 
+ 00016618  0x00005036 beq  0x00000005 , 0x000040f7 
+ 00016619  0x00005037 beq  0x00000008 , 0x000040f9 
+ 00016620  0x00005038 beq  0x00000007 , 0x000040f9 
+ 00016621  0x00005039 beq  0x00000006 , 0x000040f7 
+ 00016622  0x0000503b storet  0x00000001 , 0x000049e1 
+ 00016623  0x0000503c setarg  0x00000006 
+ 00016624  0x0000503d call  0x00005d65 
+ 00016625  0x0000503e and  0x0000003f , 0x000000f8 , 0x00000002 
+ 00016626  0x0000503f fetch  0x00000001 , 0x000049e1 
+ 00016627  0x00005040 iadd  0x00000002 , 0x0000003f 
+ 00016628  0x00005041 lshift8  0x0000003f , 0x0000003f 
+ 00016629  0x00005042 add  0x0000003f , 0x00000006 , 0x0000003f 
+ 00016630  0x00005043 branch  0x00005d5e 
+ 00016631  0x00005046 increase  0xffffffff , 0x00000002 
+ 00016632  0x00005047 branch  0x000040ee 
+ 00016633  0x0000504a increase  0x00000002 , 0x00000002 
+ 00016634  0x0000504b branch  0x000040ee 
+ 00016635  0x0000504e fetch  0x00000001 , 0x00004997 
+ 00016636  0x0000504f beq  0x00000000 , 0x00004102 
+ 00016637  0x00005050 beq  0x00000001 , 0x00004100 
+ 00016638  0x00005051 beq  0x00000002 , 0x00004104 
+ 00016639  0x00005052 beq  0x00000003 , 0x00004106 
+ 00016640  0x00005054 fetch  0x00000001 , 0x000049da 
+ 00016641  0x00005055 branch  0x00004107 
+ 00016642  0x00005057 fetch  0x00000001 , 0x000049d9 
+ 00016643  0x00005058 branch  0x00004107 
+ 00016644  0x0000505a fetch  0x00000001 , 0x000049db 
+ 00016645  0x0000505b branch  0x00004107 
+ 00016646  0x0000505d fetch  0x00000001 , 0x000049dc 
+ 00016647  0x0000505f store  0x00000001 , 0x000049e1 
+ 00016648  0x00005060 lshift8  0x0000003f , 0x0000003f 
+ 00016649  0x00005061 copy  0x0000003f , 0x00000011 
+ 00016650  0x00005062 add  0x0000003f , 0x0000000d , 0x0000003f 
+ 00016651  0x00005063 call  0x00005d5e 
+ 00016652  0x00005064 copy  0x00000011 , 0x0000003f 
+ 00016653  0x00005065 add  0x0000003f , 0x0000000e , 0x0000003f 
+ 00016654  0x00005066 branch  0x00005d5e 
+ 00016655  0x00005069 fetch  0x00000001 , 0x00004997 
+ 00016656  0x0000506a beq  0x00000000 , 0x00004116 
+ 00016657  0x0000506b beq  0x00000001 , 0x00004114 
+ 00016658  0x0000506c beq  0x00000002 , 0x00004118 
+ 00016659  0x0000506d beq  0x00000003 , 0x0000411a 
+ 00016660  0x0000506f fetch  0x00000001 , 0x000049de 
+ 00016661  0x00005070 branch  0x00004107 
+ 00016662  0x00005073 fetch  0x00000001 , 0x000049dd 
+ 00016663  0x00005074 branch  0x00004107 
+ 00016664  0x00005077 fetch  0x00000001 , 0x000049df 
+ 00016665  0x00005078 branch  0x00004107 
+ 00016666  0x0000507b fetch  0x00000001 , 0x000049e0 
+ 00016667  0x0000507c branch  0x00004107 
+ 00016668  0x00005085 call  0x00004155 
+ 00016669  0x00005086 call  0x0000412d 
+ 00016670  0x00005087 call  0x00003ea0 
+ 00016671  0x00005088 call  0x00004128 
+ 00016672  0x00005089 copy  0x00000011 , 0x0000003f 
+ 00016673  0x0000508a fetcht  0x00000001 , 0x000048dc 
+ 00016674  0x0000508b store  0x00000001 , 0x000048dc 
+ 00016675  0x0000508c store  0x00000001 , 0x000048d4 
+ 00016676  0x0000508d ixor  0x00000002 , 0x0000003f 
+ 00016677  0x0000508e sub  0x0000003f , 0x00000000 , 0x0000003e 
+ 00016678  0x0000508f rtn  0x00000005 
+ 00016679  0x00005090 branch  0x00007ec5 
+ 00016680  0x00005093 rtnmark0  0x00000026 
+ 00016681  0x00005094 copy  0x00000011 , 0x0000003f 
+ 00016682  0x00005095 rtn  0x00000034 
+ 00016683  0x00005096 store  0x00000001 , 0x000048d4 
+ 00016684  0x00005097 branch  0x00007ec5 
+ 00016685  0x0000509a jam  0x00000000 , 0x00004ba9 
+ 00016686  0x0000509b jam  0x00000000 , 0x00004baa 
+ 00016687  0x0000509c jam  0x00000000 , 0x00004bab 
+ 00016688  0x0000509d copy  0x0000003f , 0x00000002 
+ 00016689  0x0000509e call  0x0000413d 
+ 00016690  0x0000509f call  0x00004140 
+ 00016691  0x000050a0 call  0x00004143 
+ 00016692  0x000050a1 call  0x00004146 
+ 00016693  0x000050a2 fetch  0x00000001 , 0x00004baa 
+ 00016694  0x000050a3 rtn  0x00000034 
+ 00016695  0x000050a4 fetch  0x00000001 , 0x00004ba9 
+ 00016696  0x000050a5 rtn  0x00000034 
+ 00016697  0x000050a6 jam  0x00000001 , 0x00004bab 
+ 00016698  0x000050a7 fetch  0x00000001 , 0x000048dc 
+ 00016699  0x000050a8 copy  0x0000003f , 0x00000011 
+ 00016700  0x000050a9 rtn 
+ 00016701  0x000050ac and  0x00000002 , 0x00000009 , 0x0000003f 
+ 00016702  0x000050ad beq  0x00000009 , 0x0000414e 
+ 00016703  0x000050ae rtn 
+ 00016704  0x000050b0 and  0x00000002 , 0x00000014 , 0x0000003f 
+ 00016705  0x000050b1 beq  0x00000014 , 0x0000414e 
+ 00016706  0x000050b2 rtn 
+ 00016707  0x000050b4 and  0x00000002 , 0x00000018 , 0x0000003f 
+ 00016708  0x000050b5 beq  0x00000018 , 0x0000414c 
+ 00016709  0x000050b6 rtn 
+ 00016710  0x000050b9 and  0x00000002 , 0x00000007 , 0x0000003f 
+ 00016711  0x000050ba beq  0x00000003 , 0x0000414c 
+ 00016712  0x000050bb beq  0x00000005 , 0x0000414c 
+ 00016713  0x000050bc beq  0x00000006 , 0x0000414c 
+ 00016714  0x000050bd beq  0x00000007 , 0x0000414c 
+ 00016715  0x000050be rtn 
+ 00016716  0x000050c2 jam  0x00000001 , 0x00004baa 
+ 00016717  0x000050c3 rtn 
+ 00016718  0x000050c6 jam  0x00000001 , 0x00004ba9 
+ 00016719  0x000050c7 rtn 
+ 00016720  0x000050ca call  0x00004161 
+ 00016721  0x000050cb call  0x00004155 
+ 00016722  0x000050cc setarg  0x00000000 
+ 00016723  0x000050cd store  0x00000003 , 0x00004b9f 
+ 00016724  0x000050ce rtn 
+ 00016725  0x000050d1 bpatch  0x000000d0 , 0x0000401a 
+ 00016726  0x000050d2 fetch  0x00000001 , 0x00004bf2 
+ 00016727  0x000050d3 ncall  0x00004161 , 0x00000034 
+ 00016728  0x000050d4 arg  0x00000000 , 0x00000011 
+ 00016729  0x000050d5 call  0x00004164 
+ 00016730  0x000050d6 call  0x0000416a 
+ 00016731  0x000050d7 call  0x00004170 
+ 00016732  0x000050d8 call  0x00004176 
+ 00016733  0x000050d9 call  0x0000418f 
+ 00016734  0x000050da call  0x000041aa 
+ 00016735  0x000050db copy  0x00000011 , 0x0000003f 
+ 00016736  0x000050dc rtn 
+ 00016737  0x000050df setarg  0x00030303 
+ 00016738  0x000050e0 store  0x00000003 , 0x00004b9f 
+ 00016739  0x000050e1 rtn 
+ 00016740  0x000050e4 jam  0x00000000 , 0x00004ba7 
+ 00016741  0x000050e5 fetcht  0x00000001 , 0x0000491c 
+ 00016742  0x000050e6 fetch  0x00000001 , 0x00004b9f 
+ 00016743  0x000050e7 call  0x000041c7 
+ 00016744  0x000050e8 store  0x00000001 , 0x00004b9f 
+ 00016745  0x000050e9 rtn 
+ 00016746  0x000050ec jam  0x00000001 , 0x00004ba7 
+ 00016747  0x000050ed fetcht  0x00000001 , 0x0000491d 
+ 00016748  0x000050ee fetch  0x00000001 , 0x00004ba0 
+ 00016749  0x000050ef call  0x000041c7 
+ 00016750  0x000050f0 store  0x00000001 , 0x00004ba0 
+ 00016751  0x000050f1 rtn 
+ 00016752  0x000050f4 jam  0x00000002 , 0x00004ba7 
+ 00016753  0x000050f5 fetcht  0x00000001 , 0x0000491e 
+ 00016754  0x000050f6 fetch  0x00000001 , 0x00004ba1 
+ 00016755  0x000050f7 call  0x000041c7 
+ 00016756  0x000050f8 store  0x00000001 , 0x00004ba1 
+ 00016757  0x000050f9 rtn 
+ 00016758  0x000050fc fetch  0x00000001 , 0x00004911 
+ 00016759  0x000050fd rtneq  0x000000ff 
+ 00016760  0x000050fe jam  0x00000003 , 0x00004ba7 
+ 00016761  0x000050ff fetch  0x00000001 , 0x00004ba2 
+ 00016762  0x00005100 copy  0x0000003f , 0x00000013 
+ 00016763  0x00005101 fetcht  0x00000001 , 0x00004911 
+ 00016764  0x00005102 fetch  0x00000001 , 0x00004914 
+ 00016765  0x00005103 beq  0x000000ff , 0x0000418b 
+ 00016766  0x00005104 call  0x000060fd 
+ 00016767  0x00005105 branch  0x00004187 , 0x00000001 
+ 00016768  0x00005106 fetcht  0x00000001 , 0x00004914 
+ 00016769  0x00005107 call  0x0000610d 
+ 00016770  0x00005108 fetcht  0x00000001 , 0x00004911 
+ 00016771  0x00005109 fetch  0x00000001 , 0x00004ba2 
+ 00016772  0x0000510a call  0x000041c7 
+ 00016773  0x0000510c store  0x00000001 , 0x00004ba2 
+ 00016774  0x0000510d branch  0x000041a8 
+ 00016775  0x00005110 fetcht  0x00000001 , 0x00004914 
+ 00016776  0x00005111 fetch  0x00000001 , 0x00004ba2 
+ 00016777  0x00005112 call  0x000041c7 
+ 00016778  0x00005113 branch  0x00004185 
+ 00016779  0x00005116 call  0x000041d5 
+ 00016780  0x00005117 store  0x00000001 , 0x00004ba2 
+ 00016781  0x00005118 fetcht  0x00000001 , 0x00004911 
+ 00016782  0x00005119 branch  0x00003f96 
+ 00016783  0x0000511d fetch  0x00000001 , 0x00004912 
+ 00016784  0x0000511e rtneq  0x000000ff 
+ 00016785  0x0000511f jam  0x00000004 , 0x00004ba7 
+ 00016786  0x00005120 fetch  0x00000001 , 0x00004ba3 
+ 00016787  0x00005121 copy  0x0000003f , 0x00000013 
+ 00016788  0x00005122 fetcht  0x00000001 , 0x00004912 
+ 00016789  0x00005123 fetch  0x00000001 , 0x00004914 
+ 00016790  0x00005124 beq  0x000000ff , 0x000041a4 
+ 00016791  0x00005125 call  0x000060fd 
+ 00016792  0x00005126 branch  0x000041a0 , 0x00000001 
+ 00016793  0x00005127 fetcht  0x00000001 , 0x00004914 
+ 00016794  0x00005128 call  0x0000610d 
+ 00016795  0x00005129 fetcht  0x00000001 , 0x00004912 
+ 00016796  0x0000512a fetch  0x00000001 , 0x00004ba3 
+ 00016797  0x0000512b call  0x000041c7 
+ 00016798  0x0000512d store  0x00000001 , 0x00004ba3 
+ 00016799  0x0000512e branch  0x000041a8 
+ 00016800  0x00005131 fetcht  0x00000001 , 0x00004914 
+ 00016801  0x00005132 fetch  0x00000001 , 0x00004ba3 
+ 00016802  0x00005133 call  0x000041c7 
+ 00016803  0x00005134 branch  0x0000419e 
+ 00016804  0x00005137 call  0x000041d5 
+ 00016805  0x00005138 store  0x00000001 , 0x00004ba3 
+ 00016806  0x00005139 fetcht  0x00000001 , 0x00004912 
+ 00016807  0x0000513a branch  0x00003f96 
+ 00016808  0x0000513e fetcht  0x00000001 , 0x00004914 
+ 00016809  0x0000513f branch  0x00003f96 
+ 00016810  0x00005142 jam  0x00000000 , 0x00004b9c 
+ 00016811  0x00005143 fetch  0x00000008 , 0x00004bbc 
+ 00016812  0x00005144 rtnbit0  0x00000015 
+ 00016813  0x00005145 fetch  0x00000001 , 0x00004916 
+ 00016814  0x00005146 rtneq  0x000000ff 
+ 00016815  0x00005147 jam  0x00000007 , 0x00004ba7 
+ 00016816  0x00005148 fetcht  0x00000001 , 0x00004916 
+ 00016817  0x00005149 fetch  0x00000001 , 0x00004ba6 
+ 00016818  0x0000514a call  0x000041c7 
+ 00016819  0x0000514b store  0x00000001 , 0x00004ba6 
+ 00016820  0x0000514c copy  0x00000011 , 0x0000003f 
+ 00016821  0x0000514d bbit1  0x00000007 , 0x000041ba 
+ 00016822  0x0000514e call  0x000041bd 
+ 00016823  0x00005150 fetch  0x00000001 , 0x00004b9d 
+ 00016824  0x00005151 store  0x00000001 , 0x00004b9e 
+ 00016825  0x00005152 rtn 
+ 00016826  0x00005156 jam  0x00000001 , 0x00004b9d 
+ 00016827  0x00005157 call  0x000041c0 
+ 00016828  0x00005158 branch  0x000041b7 
+ 00016829  0x0000515b jam  0x00000000 , 0x00004b9d 
+ 00016830  0x0000515c fetch  0x00000001 , 0x00004b9e 
+ 00016831  0x0000515d rtn  0x00000034 
+ 00016832  0x0000515f jam  0x00000001 , 0x00004b9c 
+ 00016833  0x00005160 rtn 
+ 00016834  0x00005164 call  0x000060fd 
+ 00016835  0x00005165 fetcht  0x00000001 , 0x00004ba7 
+ 00016836  0x00005166 copy  0x00000002 , 0x00000007 
+ 00016837  0x00005167 branch  0x000041d3 , 0x00000001 
+ 00016838  0x00005168 branch  0x000041d1 
+ 00016839  0x0000516b lshift  0x0000003f , 0x0000003f 
+ 00016840  0x0000516c copy  0x0000003f , 0x00000012 
+ 00016841  0x0000516d call  0x000060fd 
+ 00016842  0x0000516e setflag  0x00000001 , 0x00000000 , 0x00000012 
+ 00016843  0x0000516f and  0x00000012 , 0x00000007 , 0x0000003f 
+ 00016844  0x00005170 fetcht  0x00000001 , 0x00004ba7 
+ 00016845  0x00005171 copy  0x00000002 , 0x00000007 
+ 00016846  0x00005172 beq  0x00000007 , 0x000041d3 
+ 00016847  0x00005173 beq  0x00000000 , 0x000041d1 
+ 00016848  0x00005174 rtn 
+ 00016849  0x00005177 qset0  0x00000011 
+ 00016850  0x00005178 rtn 
+ 00016851  0x0000517b qset1  0x00000011 
+ 00016852  0x0000517c rtn 
+ 00016853  0x0000517f bpatch  0x000000d1 , 0x0000401a 
+ 00016854  0x00005180 copy  0x00000013 , 0x0000003f 
+ 00016855  0x00005181 store  0x00000001 , 0x00004ba8 
+ 00016856  0x00005182 lshift  0x0000003f , 0x0000003f 
+ 00016857  0x00005183 copy  0x0000003f , 0x00000012 
+ 00016858  0x00005184 copy  0x00000002 , 0x00000013 
+ 00016859  0x00005185 call  0x00003f94 
+ 00016860  0x00005186 copy  0x00000013 , 0x00000002 
+ 00016861  0x00005187 call  0x000060fd 
+ 00016862  0x00005188 nsetflag  0x00000001 , 0x00000000 , 0x00000012 
+ 00016863  0x00005189 call  0x000041e1 
+ 00016864  0x0000518a branch  0x000041cb 
+ 00016865  0x0000518d fetcht  0x00000001 , 0x00004ba8 
+ 00016866  0x0000518e and_into  0x00000001 , 0x00000002 
+ 00016867  0x0000518f and  0x00000012 , 0x00000001 , 0x0000003f 
+ 00016868  0x00005190 isub  0x00000002 , 0x0000003e 
+ 00016869  0x00005191 nbranch  0x0000436f , 0x00000005 
+ 00016870  0x00005192 rtn 
+ 00016871  0x00005198 bpatch  0x000000d2 , 0x0000401a 
+ 00016872  0x00005199 call  0x00003fa5 
+ 00016873  0x0000519a rtn  0x0000002b 
+ 00016874  0x0000519c call  0x00004276 
+ 00016875  0x0000519e call  0x000041f5 
+ 00016876  0x0000519f beq  0x00000030 , 0x000041fc 
+ 00016877  0x000051a0 beq  0x00000031 , 0x00004257 
+ 00016878  0x000051a1 beq  0x00000058 , 0x00004260 
+ 00016879  0x000051a2 call  0x000041f2 
+ 00016880  0x000051a3 nop  0x00001af4 
+ 00016881  0x000051a4 branch  0x000041eb 
+ 00016882  0x000051a6 fetch  0x00000001 , 0x00004923 
+ 00016883  0x000051a7 call  0x00005b55 
+ 00016884  0x000051a8 branch  0x00003faa 
+ 00016885  0x000051ab setarg  0x00000001 
+ 00016886  0x000051ac call  0x00005d65 
+ 00016887  0x000051ad store  0x00000001 , 0x000049c7 
+ 00016888  0x000051ae setarg  0x00000000 
+ 00016889  0x000051af call  0x00005d65 
+ 00016890  0x000051b0 store  0x00000001 , 0x000049c6 
+ 00016891  0x000051b1 rtn 
+ 00016892  0x000051b6 fetch  0x00000001 , 0x000049c7 
+ 00016893  0x000051b7 beq  0x0000005a , 0x00004205 
+ 00016894  0x000051b8 beq  0x000000d8 , 0x0000420b 
+ 00016895  0x000051b9 beq  0x000000d1 , 0x0000421a 
+ 00016896  0x000051ba beq  0x000000d2 , 0x00004223 
+ 00016897  0x000051bb beq  0x00000002 , 0x0000422a 
+ 00016898  0x000051bc beq  0x00000054 , 0x0000422d 
+ 00016899  0x000051bd beq  0x00000050 , 0x00004254 
+ 00016900  0x000051be branch  0x000041eb 
+ 00016901  0x000051c1 jam  0x00000005 , 0x0000492c 
+ 00016902  0x000051c2 call  0x00004272 
+ 00016903  0x000051c3 call  0x00007d85 
+ 00016904  0x000051c4 arg  0x00004a3e , 0x00000013 
+ 00016905  0x000051c5 call  0x0000426b 
+ 00016906  0x000051c6 branch  0x000040ce 
+ 00016907  0x000051c9 setarg  0x00000016 
+ 00016908  0x000051ca call  0x00005d65 
+ 00016909  0x000051cb sub  0x0000003f , 0x000000bd , 0x0000003e 
+ 00016910  0x000051cc nbranch  0x000041e7 , 0x00000005 
+ 00016911  0x000051cd setarg  0x00000019 
+ 00016912  0x000051ce call  0x00005d65 
+ 00016913  0x000051cf sub  0x0000003f , 0x00000055 , 0x0000003e 
+ 00016914  0x000051d0 nbranch  0x000041e7 , 0x00000005 
+ 00016915  0x000051d1 setarg  0x0000001b 
+ 00016916  0x000051d2 call  0x00005d65 
+ 00016917  0x000051d3 sub  0x0000003f , 0x0000001d , 0x0000003e 
+ 00016918  0x000051d4 nbranch  0x000041e7 , 0x00000005 
+ 00016919  0x000051d5 jam  0x00000006 , 0x0000492c 
+ 00016920  0x000051d6 arg  0x00004a82 , 0x00000013 
+ 00016921  0x000051d7 branch  0x0000426b 
+ 00016922  0x000051da jam  0x00000000 , 0x0000492c 
+ 00016923  0x000051db arg  0x000049f8 , 0x00000013 
+ 00016924  0x000051dc call  0x0000426b 
+ 00016925  0x000051dd arg  0x00004a02 , 0x00000013 
+ 00016926  0x000051de call  0x0000426b 
+ 00016927  0x000051df setarg  0x00000943 
+ 00016928  0x000051e0 call  0x00005d5e 
+ 00016929  0x000051e1 arg  0x00004a1c , 0x00000013 
+ 00016930  0x000051e2 branch  0x0000426b 
+ 00016931  0x000051e5 jam  0x00000002 , 0x0000492c 
+ 00016932  0x000051e6 arg  0x000049ee , 0x00000013 
+ 00016933  0x000051e7 call  0x0000426b 
+ 00016934  0x000051e8 arg  0x00004a02 , 0x00000013 
+ 00016935  0x000051e9 call  0x0000426b 
+ 00016936  0x000051ea arg  0x00004a1c , 0x00000013 
+ 00016937  0x000051eb branch  0x0000426b 
+ 00016938  0x000051ee jam  0x00000003 , 0x0000492c 
+ 00016939  0x000051ef arg  0x000049e4 , 0x00000013 
+ 00016940  0x000051f0 branch  0x0000426b 
+ 00016941  0x000051f3 call  0x00004269 
+ 00016942  0x000051f4 setarg  0x00009a5b 
+ 00016943  0x000051f5 call  0x00005d5e 
+ 00016944  0x000051f6 setarg  0x0000000d 
+ 00016945  0x000051f7 call  0x00005d65 
+ 00016946  0x000051f8 sub  0x0000003f , 0x00000012 , 0x0000003e 
+ 00016947  0x000051f9 branch  0x00004241 , 0x00000005 
+ 00016948  0x000051fa sub  0x0000003f , 0x0000000a , 0x0000003e 
+ 00016949  0x000051fb nbranch  0x00004244 , 0x00000005 
+ 00016950  0x000051fc setarg  0x0000000e 
+ 00016951  0x000051fd call  0x00005d65 
+ 00016952  0x000051fe sub  0x0000003f , 0x000000e5 , 0x0000003e 
+ 00016953  0x000051ff nbranch  0x000041eb , 0x00000005 
+ 00016954  0x00005200 setarg  0x00000010 
+ 00016955  0x00005201 call  0x00005d65 
+ 00016956  0x00005202 sub  0x0000003f , 0x000000a5 , 0x0000003e 
+ 00016957  0x00005203 branch  0x00004241 , 0x00000005 
+ 00016958  0x00005204 call  0x00004251 
+ 00016959  0x00005206 jam  0x00000008 , 0x0000492c 
+ 00016960  0x00005207 rtn 
+ 00016961  0x00005209 jam  0x00000009 , 0x0000492c 
+ 00016962  0x0000520a arg  0x00004a64 , 0x00000013 
+ 00016963  0x0000520b branch  0x0000426b 
+ 00016964  0x0000520d sub  0x0000003f , 0x00000010 , 0x0000003e 
+ 00016965  0x0000520e nbranch  0x000041eb , 0x00000005 
+ 00016966  0x0000520f setarg  0x0000000e 
+ 00016967  0x00005210 call  0x00005d65 
+ 00016968  0x00005211 sub  0x0000003f , 0x000000c5 , 0x0000003e 
+ 00016969  0x00005212 nbranch  0x000041eb , 0x00000005 
+ 00016970  0x00005213 setarg  0x00000010 
+ 00016971  0x00005214 call  0x00005d65 
+ 00016972  0x00005215 sub  0x0000003f , 0x00000038 , 0x0000003e 
+ 00016973  0x00005216 nbranch  0x000041eb , 0x00000005 
+ 00016974  0x00005218 call  0x00004251 
+ 00016975  0x00005219 jam  0x0000000a , 0x0000492c 
+ 00016976  0x0000521a rtn 
+ 00016977  0x0000521c setarg  0x0000005b 
+ 00016978  0x0000521d call  0x00005d5e 
+ 00016979  0x0000521e branch  0x00004267 
+ 00016980  0x00005221 jam  0x00000007 , 0x0000492c 
+ 00016981  0x00005222 arg  0x00004aa8 , 0x00000013 
+ 00016982  0x00005223 branch  0x0000426b 
+ 00016983  0x00005226 call  0x00004276 
+ 00016984  0x00005227 fetch  0x00000001 , 0x000049c7 
+ 00016985  0x00005228 beq  0x00000070 , 0x0000425e 
+ 00016986  0x00005229 beq  0x00000000 , 0x0000425c 
+ 00016987  0x0000522a branch  0x000041eb 
+ 00016988  0x0000522d jam  0x00000001 , 0x0000492c 
+ 00016989  0x0000522e rtn 
+ 00016990  0x00005231 jam  0x00000004 , 0x0000492c 
+ 00016991  0x00005232 rtn 
+ 00016992  0x00005235 call  0x00004276 
+ 00016993  0x00005236 fetch  0x00000001 , 0x000049c7 
+ 00016994  0x00005237 beq  0x00000059 , 0x00004264 
+ 00016995  0x00005238 branch  0x000041fc 
+ 00016996  0x0000523a jam  0x0000000b , 0x0000492c 
+ 00016997  0x0000523b arg  0x00004a92 , 0x00000013 
+ 00016998  0x0000523c branch  0x0000426b 
+ 00016999  0x0000523f setarg  0x00000009 
+ 00017000  0x00005240 branch  0x00005d5e 
+ 00017001  0x00005242 setarg  0x00005a09 
+ 00017002  0x00005243 branch  0x00005d5e 
+ 00017003  0x00005246 ifetch  0x00000002 , 0x00000013 
+ 00017004  0x00005247 arg  0x0000ffff , 0x00000002 
+ 00017005  0x00005248 isub  0x00000002 , 0x0000003e 
+ 00017006  0x00005249 rtn  0x00000005 
+ 00017007  0x0000524a call  0x00005d5e 
+ 00017008  0x0000524b increase  0x00000002 , 0x00000013 
+ 00017009  0x0000524c branch  0x0000426b 
+ 00017010  0x0000524f setarg  0x00008006 
+ 00017011  0x00005250 call  0x00005d5e 
+ 00017012  0x00005251 nop  0x00002ee0 
+ 00017013  0x00005252 rtn 
+ 00017014  0x00005255 bpatch  0x000000d3 , 0x0000401a 
+ 00017015  0x00005256 call  0x00003fa5 
+ 00017016  0x00005257 call  0x00004272 
+ 00017017  0x00005258 arg  0x00004ab4 , 0x00000013 
+ 00017018  0x00005259 call  0x0000426b 
+ 00017019  0x0000525a branch  0x000040ce 
+ 00017020  0x0000525d call  0x000041e7 
+ 00017021  0x0000525e call  0x00003fa5 
+ 00017022  0x0000525f setarg  0x00000806 
+ 00017023  0x00005260 branch  0x00005d5e 
+ 00017024  0x00005267 fetch  0x00000001 , 0x000044ae 
+ 00017025  0x00005268 rtnne  0x00000000 
+ 00017026  0x00005269 fetch  0x00000001 , 0x0000492c 
+ 00017027  0x0000526a beq  0x00000000 , 0x0000428c 
+ 00017028  0x0000526b beq  0x00000001 , 0x0000428c 
+ 00017029  0x0000526c beq  0x00000008 , 0x0000428c 
+ 00017030  0x0000526d beq  0x00000002 , 0x0000428c 
+ 00017031  0x0000526e beq  0x00000003 , 0x000042b0 
+ 00017032  0x0000526f beq  0x00000004 , 0x0000428c 
+ 00017033  0x00005270 beq  0x00000006 , 0x000042d5 
+ 00017034  0x00005271 beq  0x0000000b , 0x000042ce 
+ 00017035  0x00005272 branch  0x0000428c 
+ 00017036  0x00005276 call  0x00004304 
+ 00017037  0x00005277 disable  0x00000028 
+ 00017038  0x00005278 fetch  0x00000001 , 0x00004915 
+ 00017039  0x00005279 beq  0x000000ff , 0x00004293 
+ 00017040  0x0000527a fetcht  0x00000001 , 0x00004915 
+ 00017041  0x0000527b call  0x000060fd 
+ 00017042  0x0000527c nrtn  0x00000001 
+ 00017043  0x0000527e setarg  0x00000000 
+ 00017044  0x0000527f call  0x00005d65 
+ 00017045  0x00005280 bne  0x00000030 , 0x000042a6 
+ 00017046  0x00005282 setarg  0x00000002 
+ 00017047  0x00005283 call  0x00005d65 
+ 00017048  0x00005284 rtnbit0  0x00000007 
+ 00017049  0x00005285 call  0x0000431b 
+ 00017050  0x00005286 fetch  0x00000001 , 0x000048d5 
+ 00017051  0x00005287 call  0x00004313 
+ 00017052  0x00005288 store  0x00000002 , 0x000048d5 
+ 00017053  0x00005289 fetch  0x00000001 , 0x000048d7 
+ 00017054  0x0000528a call  0x00004313 
+ 00017055  0x0000528b store  0x00000002 , 0x000048d7 
+ 00017056  0x0000528c fetch  0x00000001 , 0x0000492d 
+ 00017057  0x0000528d beq  0x00000000 , 0x000042a8 
+ 00017058  0x0000528e beq  0x00000001 , 0x000042aa 
+ 00017059  0x0000528f beq  0x00000002 , 0x000042ac 
+ 00017060  0x00005290 beq  0x00000003 , 0x000042ae 
+ 00017061  0x00005291 rtn 
+ 00017062  0x00005294 beq  0x00000031 , 0x00004296 
+ 00017063  0x00005295 branch  0x000041f2 
+ 00017064  0x00005298 call  0x000042ed 
+ 00017065  0x00005299 branch  0x00004322 
+ 00017066  0x0000529b call  0x000042f5 
+ 00017067  0x0000529c branch  0x00004322 
+ 00017068  0x0000529e call  0x000042f1 
+ 00017069  0x0000529f branch  0x00004322 
+ 00017070  0x000052a1 call  0x000042fd 
+ 00017071  0x000052a2 branch  0x00004322 
+ 00017072  0x000052a7 call  0x00004304 
+ 00017073  0x000052a8 fetch  0x00000001 , 0x00004915 
+ 00017074  0x000052a9 beq  0x000000ff , 0x000042b6 
+ 00017075  0x000052aa fetcht  0x00000001 , 0x00004915 
+ 00017076  0x000052ab call  0x000060fd 
+ 00017077  0x000052ac nrtn  0x00000001 
+ 00017078  0x000052ae setarg  0x00000000 
+ 00017079  0x000052af call  0x00005d65 
+ 00017080  0x000052b0 bne  0x00000030 , 0x000041f2 
+ 00017081  0x000052b2 setarg  0x00000002 
+ 00017082  0x000052b3 call  0x00005d65 
+ 00017083  0x000052b4 rtnbit0  0x00000007 
+ 00017084  0x000052b5 call  0x0000431b 
+ 00017085  0x000052b6 call  0x000042cc 
+ 00017086  0x000052b7 store  0x00000001 , 0x000048db 
+ 00017087  0x000052b8 rshift4  0x0000003f , 0x0000003f 
+ 00017088  0x000052b9 call  0x00004317 
+ 00017089  0x000052ba store  0x00000001 , 0x000048d6 
+ 00017090  0x000052bb fetch  0x00000001 , 0x000048db 
+ 00017091  0x000052bc and  0x0000003f , 0x0000000f , 0x0000003f 
+ 00017092  0x000052bd call  0x00004317 
+ 00017093  0x000052be store  0x00000001 , 0x000048d8 
+ 00017094  0x000052bf fetch  0x00000001 , 0x0000492d 
+ 00017095  0x000052c0 beq  0x00000000 , 0x000042ed 
+ 00017096  0x000052c1 beq  0x00000001 , 0x000042f5 
+ 00017097  0x000052c2 beq  0x00000002 , 0x000042f1 
+ 00017098  0x000052c3 beq  0x00000003 , 0x000042fd 
+ 00017099  0x000052c4 rtn 
+ 00017100  0x000052c7 setarg  0x00000012 
+ 00017101  0x000052c8 branch  0x00005d65 
+ 00017102  0x000052cb call  0x00004304 
+ 00017103  0x000052cc fetch  0x00000001 , 0x00004915 
+ 00017104  0x000052cd beq  0x000000ff , 0x000042d4 
+ 00017105  0x000052ce fetcht  0x00000001 , 0x00004915 
+ 00017106  0x000052cf call  0x000060fd 
+ 00017107  0x000052d0 nrtn  0x00000001 
+ 00017108  0x000052d2 branch  0x000042b9 
+ 00017109  0x000052d6 call  0x00004304 
+ 00017110  0x000052d7 disable  0x00000028 
+ 00017111  0x000052d8 setarg  0x00000002 
+ 00017112  0x000052d9 call  0x00005d65 
+ 00017113  0x000052da rtnbit0  0x00000007 
+ 00017114  0x000052db setarg  0x00000008 
+ 00017115  0x000052dc call  0x00005d65 
+ 00017116  0x000052dd branch  0x00004299 , 0x00000034 
+ 00017117  0x000052de setarg  0x00000000 
+ 00017118  0x000052df store  0x00000006 , 0x000048d5 
+ 00017119  0x000052e0 rtn 
+ 00017120  0x000052e5 fetch  0x00000001 , 0x00004929 
+ 00017121  0x000052e6 store  0x00000001 , 0x0000492d 
+ 00017122  0x000052e7 fetch  0x00000001 , 0x0000491a 
+ 00017123  0x000052e8 rtneq  0x000000ff 
+ 00017124  0x000052e9 fetcht  0x00000001 , 0x0000491a 
+ 00017125  0x000052ea call  0x00003f96 
+ 00017126  0x000052eb fetcht  0x00000001 , 0x0000491a 
+ 00017127  0x000052ec call  0x000060fd 
+ 00017128  0x000052ed call  0x000042ea , 0x00000001 
+ 00017129  0x000052ee branch  0x00003f94 
+ 00017130  0x000052f0 fetch  0x00000001 , 0x0000492a 
+ 00017131  0x000052f1 store  0x00000001 , 0x0000492d 
+ 00017132  0x000052f2 rtn 
+ 00017133  0x000052f5 fetch  0x00000002 , 0x000048d5 
+ 00017134  0x000052f6 sub  0x0000003f , 0x00000000 , 0x0000003f 
+ 00017135  0x000052f7 store  0x00000002 , 0x000048d5 
+ 00017136  0x000052f8 branch  0x00007ec5 
+ 00017137  0x000052fa fetch  0x00000002 , 0x000048d7 
+ 00017138  0x000052fb sub  0x0000003f , 0x00000000 , 0x0000003f 
+ 00017139  0x000052fc store  0x00000002 , 0x000048d7 
+ 00017140  0x000052fd branch  0x00007ec5 
+ 00017141  0x000052ff fetch  0x00000002 , 0x000048d7 
+ 00017142  0x00005300 sub  0x0000003f , 0x00000000 , 0x0000003f 
+ 00017143  0x00005301 store  0x00000002 , 0x000048d7 
+ 00017144  0x00005302 fetch  0x00000002 , 0x000048d5 
+ 00017145  0x00005303 sub  0x0000003f , 0x00000000 , 0x0000003f 
+ 00017146  0x00005304 store  0x00000002 , 0x000048d5 
+ 00017147  0x00005305 call  0x000042ff 
+ 00017148  0x00005306 branch  0x00007ec5 
+ 00017149  0x00005308 call  0x000042ff 
+ 00017150  0x00005309 branch  0x00007ec5 
+ 00017151  0x0000530c fetch  0x00000002 , 0x000048d7 
+ 00017152  0x0000530d fetcht  0x00000002 , 0x000048d5 
+ 00017153  0x0000530e store  0x00000002 , 0x000048d5 
+ 00017154  0x0000530f storet  0x00000002 , 0x000048d7 
+ 00017155  0x00005310 rtn 
+ 00017156  0x00005314 fetch  0x00000001 , 0x000049cd 
+ 00017157  0x00005315 call  0x0000431b , 0x00000034 
+ 00017158  0x00005316 jam  0x00000001 , 0x000049cd 
+ 00017159  0x00005317 rtn 
+ 00017160  0x0000531a jam  0x00000001 , 0x00004abd 
+ 00017161  0x0000531b call  0x00001ac6 
+ 00017162  0x0000531d branch  0x000041e7 
+ 00017163  0x00005320 fetch  0x00000001 , 0x00004915 
+ 00017164  0x00005321 rtnne  0x000000ff 
+ 00017165  0x00005322 fetch  0x00000001 , 0x00004abf 
+ 00017166  0x00005323 rtnne  0x00000001 
+ 00017167  0x00005324 setarg  0x00000000 
+ 00017168  0x00005325 store  0x00000001 , 0x00004abf 
+ 00017169  0x00005326 store  0x00000004 , 0x000048d5 
+ 00017170  0x00005327 branch  0x0000430a 
+ 00017171  0x0000532a rtnbit0  0x00000007 
+ 00017172  0x0000532b arg  0x0000ff00 , 0x00000002 
+ 00017173  0x0000532c ior  0x00000002 , 0x0000003f 
+ 00017174  0x0000532d rtn 
+ 00017175  0x00005330 rtnbit0  0x00000003 
+ 00017176  0x00005331 arg  0x000000f0 , 0x00000002 
+ 00017177  0x00005332 ior  0x00000002 , 0x0000003f 
+ 00017178  0x00005333 rtn 
+ 00017179  0x00005336 arg  0x00000003 , 0x0000003f 
+ 00017180  0x00005337 call  0x00005d65 
+ 00017181  0x00005338 store  0x00000002 , 0x000048d5 
+ 00017182  0x00005339 arg  0x00000004 , 0x0000003f 
+ 00017183  0x0000533a call  0x00005d65 
+ 00017184  0x0000533b store  0x00000002 , 0x000048d7 
+ 00017185  0x0000533c rtn 
+ 00017186  0x00005340 fetcht  0x00000001 , 0x00004924 
+ 00017187  0x00005341 call  0x000060fd 
+ 00017188  0x00005342 rtn  0x00000001 
+ 00017189  0x00005343 setarg  0x0000000a 
+ 00017190  0x00005344 call  0x00005d65 
+ 00017191  0x00005345 nop  0x000003e8 
+ 00017192  0x00005346 branch  0x00004322 
+ 00017193  0x00005349 setarg  0x00008100 
+ 00017194  0x0000534a branch  0x00005d5e 
+ 00017195  0x00005350 jam  0x000000ff , 0x00004ad2 
+ 00017196  0x00005351 fetch  0x00000001 , 0x00004bc4 
+ 00017197  0x00005352 bbit1  0x00000001 , 0x0000432f 
+ 00017198  0x00005353 bbit1  0x00000000 , 0x00004334 
+ 00017199  0x00005355 jam  0x00000034 , 0x00004484 
+ 00017200  0x00005356 setarg  0x000f0f0f 
+ 00017201  0x00005357 store  0x00000003 , 0x0000437a 
+ 00017202  0x00005358 store  0x00000003 , 0x0000437d 
+ 00017203  0x00005359 branch  0x00003e24 
+ 00017204  0x0000535c jam  0x00000033 , 0x00004484 
+ 00017205  0x0000535d arg  0x00004979 , 0x00000006 
+ 00017206  0x0000535e call  0x00004608 
+ 00017207  0x0000535f branch  0x00003e24 
+ 00017208  0x00005362 bpatch  0x000000d4 , 0x0000401a 
+ 00017209  0x00005363 call  0x000045fd 
+ 00017210  0x00005364 call  0x00004354 
+ 00017211  0x00005365 fetch  0x00000001 , 0x0000493d 
+ 00017212  0x00005366 beq  0x00000001 , 0x0000433f 
+ 00017213  0x00005367 beq  0x00000002 , 0x00004341 
+ 00017214  0x00005368 rtn 
+ 00017215  0x0000536a fetch  0x00000006 , 0x0000493f 
+ 00017216  0x0000536b branch  0x00004342 
+ 00017217  0x0000536d fetch  0x00000006 , 0x0000495c 
+ 00017218  0x0000536f fetcht  0x00000006 , 0x00004979 
+ 00017219  0x00005370 isub  0x00000002 , 0x0000003e 
+ 00017220  0x00005371 branch  0x00004593 , 0x00000005 
+ 00017221  0x00005372 branch  0x00003e1c 
+ 00017222  0x00005375 call  0x00004354 
+ 00017223  0x00005376 fetch  0x00000001 , 0x000045ff 
+ 00017224  0x00005377 increase  0x00000003 , 0x0000003f 
+ 00017225  0x00005378 copy  0x0000003f , 0x00000011 
+ 00017226  0x00005379 call  0x00004e1e 
+ 00017227  0x0000537a fetch  0x00000002 , 0x000044e1 
+ 00017228  0x0000537b istore  0x00000002 , 0x00000005 
+ 00017229  0x0000537c setarg  0x000004a1 
+ 00017230  0x0000537d istore  0x00000002 , 0x00000005 
+ 00017231  0x0000537e fetch  0x00000001 , 0x000045ff 
+ 00017232  0x0000537f increase  0x00000001 , 0x0000003f 
+ 00017233  0x00005380 copy  0x0000003f , 0x00000039 
+ 00017234  0x00005381 arg  0x000045ff , 0x00000006 
+ 00017235  0x00005382 branch  0x00007dd4 
+ 00017236  0x00005385 jam  0x0000005a , 0x00004ad2 
+ 00017237  0x00005386 rtn 
+ 00017238  0x0000538a fetch  0x00000002 , 0x0000478f 
+ 00017239  0x0000538b bbit1  0x00000007 , 0x00004362 
+ 00017240  0x0000538c bbit1  0x00000009 , 0x00003281 
+ 00017241  0x0000538d bbit1  0x00000000 , 0x00003268 
+ 00017242  0x0000538e branch  0x000045b6 
+ 00017243  0x00005391 setarg  0x00000000 
+ 00017244  0x00005392 store  0x00000002 , 0x00004ac3 
+ 00017245  0x00005393 fetch  0x00000002 , 0x0000478f 
+ 00017246  0x00005394 bbit1  0x00000009 , 0x00003281 
+ 00017247  0x00005395 fetch  0x00000002 , 0x0000478f 
+ 00017248  0x00005396 bbit1  0x00000000 , 0x00003268 
+ 00017249  0x00005397 rtn 
+ 00017250  0x0000539a call  0x0000471c 
+ 00017251  0x0000539b branch  0x0000799c 
+ 00017252  0x0000539e fetch  0x00000008 , 0x00004bbc 
+ 00017253  0x0000539f rtnbit0  0x0000001b 
+ 00017254  0x000053a1 nbranch  0x0000436c , 0x00000028 
+ 00017255  0x000053a2 fetch  0x00000001 , 0x00004abe 
+ 00017256  0x000053a3 increase  0x00000001 , 0x0000003f 
+ 00017257  0x000053a4 and_into  0x0000000f , 0x0000003f 
+ 00017258  0x000053a5 store  0x00000001 , 0x00004abe 
+ 00017259  0x000053a6 nrtn  0x00000034 
+ 00017260  0x000053a8 jam  0x00000000 , 0x00004abe 
+ 00017261  0x000053a9 disable  0x00000028 
+ 00017262  0x000053aa rtn 
+ 00017263  0x000053ae fetch  0x00000001 , 0x00004915 
+ 00017264  0x000053af rtnne  0x000000ff 
+ 00017265  0x000053b0 jam  0x00000000 , 0x00004177 
+ 00017266  0x000053b1 jam  0x0000001e , 0x00004ac0 
+ 00017267  0x000053b2 rtn 
+ 00017268  0x000053b6 bpatch  0x000000d5 , 0x0000401a 
+ 00017269  0x000053b7 copy  0x00000013 , 0x0000003f 
+ 00017270  0x000053b8 beq  0x00000014 , 0x00004390 
+ 00017271  0x000053b9 beq  0x00000001 , 0x0000443a 
+ 00017272  0x000053ba beq  0x00000015 , 0x0000439f 
+ 00017273  0x000053bb beq  0x00000002 , 0x0000443e 
+ 00017274  0x000053bc beq  0x00000005 , 0x00004461 
+ 00017275  0x000053bd beq  0x00000010 , 0x0000458e 
+ 00017276  0x000053be beq  0x00000012 , 0x00004464 
+ 00017277  0x000053bf beq  0x00000006 , 0x000032b6 
+ 00017278  0x000053c0 beq  0x00000004 , 0x00004472 
+ 00017279  0x000053c1 beq  0x00000013 , 0x00004472 
+ 00017280  0x000053c2 beq  0x00000019 , 0x0000325e 
+ 00017281  0x000053c3 beq  0x0000002b , 0x0000447d 
+ 00017282  0x000053c4 beq  0x00000021 , 0x00004483 
+ 00017283  0x000053c5 beq  0x0000000a , 0x0000448a 
+ 00017284  0x000053c6 beq  0x0000002e , 0x0000324c 
+ 00017285  0x000053c7 beq  0x00000031 , 0x000043aa 
+ 00017286  0x000053c8 beq  0x00000029 , 0x000043ac 
+ 00017287  0x000053c9 beq  0x00000032 , 0x000043ae 
+ 00017288  0x000053ca beq  0x0000003e , 0x000043b9 
+ 00017289  0x000053cb beq  0x00000040 , 0x000043ba 
+ 00017290  0x000053cc beq  0x00000027 , 0x0000448c 
+ 00017291  0x000053cd beq  0x00000039 , 0x00004896 
+ 00017292  0x000053ce beq  0x0000003a , 0x00004872 
+ 00017293  0x000053cf beq  0x0000003c , 0x0000488d 
+ 00017294  0x000053d0 beq  0x00000044 , 0x000043d0 
+ 00017295  0x000053d1 rtn 
+ 00017296  0x000053d5 jam  0x00000000 , 0x00004abf 
+ 00017297  0x000053d6 call  0x0000430a 
+ 00017298  0x000053d7 jam  0x00000001 , 0x00004ad7 
+ 00017299  0x000053d8 call  0x00004861 
+ 00017300  0x000053d9 fetch  0x00000001 , 0x00004ad8 
+ 00017301  0x000053da nbranch  0x00004397 , 0x00000034 
+ 00017302  0x000053db jam  0x00000014 , 0x00004ad9 
+ 00017303  0x000053dd fetch  0x00000002 , 0x00004482 
+ 00017304  0x000053de set0  0x00000000 , 0x0000003f 
+ 00017305  0x000053df store  0x00000002 , 0x00004482 
+ 00017306  0x000053e0 jam  0x00000000 , 0x00004b88 
+ 00017307  0x000053e1 fetch  0x00000002 , 0x00004b01 
+ 00017308  0x000053e2 store  0x00000002 , 0x00004b03 
+ 00017309  0x000053e3 call  0x00004584 
+ 00017310  0x000053e4 branch  0x000045b6 
+ 00017311  0x000053e7 jam  0x00000000 , 0x00004ad7 
+ 00017312  0x000053e8 setarg  0x00000006 
+ 00017313  0x000053e9 fetch  0x00000008 , 0x00004bbc 
+ 00017314  0x000053ea bbit1  0x0000001b , 0x000043a4 
+ 00017315  0x000053eb setarg  0x00000007 
+ 00017316  0x000053ed store  0x00000002 , 0x00004372 
+ 00017317  0x000053ee store  0x00000002 , 0x00004374 
+ 00017318  0x000053ef jam  0x00000000 , 0x00004b05 
+ 00017319  0x000053f0 jam  0x00000000 , 0x00004abd 
+ 00017320  0x000053f1 call  0x00001ac8 
+ 00017321  0x000053f2 branch  0x0000443e 
+ 00017322  0x000053f5 arg  0x00000002 , 0x00000007 
+ 00017323  0x000053f6 branch  0x000043b5 
+ 00017324  0x000053fa jam  0x00000012 , 0x0000095b 
+ 00017325  0x000053fb branch  0x000078e5 
+ 00017326  0x000053fe fetch  0x00000001 , 0x00004ad8 
+ 00017327  0x000053ff beq  0x00000001 , 0x000043b1 
+ 00017328  0x00005400 branch  0x000043b3 
+ 00017329  0x00005402 call  0x000043ac 
+ 00017330  0x00005403 jam  0x00000014 , 0x00004b87 
+ 00017331  0x00005405 arg  0x00000001 , 0x00000007 
+ 00017332  0x00005406 branch  0x000043b5 
+ 00017333  0x00005409 fetch  0x00000001 , 0x00004b86 
+ 00017334  0x0000540a qset1  0x0000003f 
+ 00017335  0x0000540b store  0x00000001 , 0x00004b86 
+ 00017336  0x0000540c rtn 
+ 00017337  0x0000540f branch  0x0000328f 
+ 00017338  0x00005412 fetch  0x00000002 , 0x000043db 
+ 00017339  0x00005413 rtneq  0x00000000 
+ 00017340  0x00005414 fetch  0x00000001 , 0x00000289 
+ 00017341  0x00005415 rshift2  0x0000003f , 0x0000003f 
+ 00017342  0x00005416 sub  0x0000003f , 0x0000000c , 0x0000003e 
+ 00017343  0x00005417 rtn  0x00000002 
+ 00017344  0x00005418 setarg  0x00000009 
+ 00017345  0x00005419 store  0x00000002 , 0x00004372 
+ 00017346  0x0000541a store  0x00000002 , 0x00004374 
+ 00017347  0x0000541b call  0x000043ac 
+ 00017348  0x0000541d jam  0x00000001 , 0x00004b05 
+ 00017349  0x0000541e rtn 
+ 00017350  0x00005421 jam  0x00000000 , 0x00004b05 
+ 00017351  0x00005422 rtn 
+ 00017352  0x00005425 fetch  0x00000001 , 0x00004ad8 
+ 00017353  0x00005426 nrtn  0x00000034 
+ 00017354  0x00005427 fetch  0x00000001 , 0x00004437 
+ 00017355  0x00005428 sub  0x0000003f , 0x00000022 , 0x0000003f 
+ 00017356  0x00005429 nrtn  0x00000005 
+ 00017357  0x0000542a jam  0x00000000 , 0x00004b87 
+ 00017358  0x0000542c arg  0x00000000 , 0x00000007 
+ 00017359  0x0000542d branch  0x000043b5 
+ 00017360  0x00005430 fetch  0x00000001 , 0x000002c1 
+ 00017361  0x00005431 sub  0x0000003f , 0x0000000c , 0x0000003e 
+ 00017362  0x00005432 nbranch  0x000043c4 , 0x00000002 
+ 00017363  0x00005433 fetch  0x00000001 , 0x000002c3 
+ 00017364  0x00005434 fetcht  0x00000001 , 0x00004b9b 
+ 00017365  0x00005435 isub  0x00000002 , 0x0000003e 
+ 00017366  0x00005436 branch  0x000043da , 0x00000002 
+ 00017367  0x00005437 fetch  0x00000001 , 0x000002c3 
+ 00017368  0x00005438 store  0x00000001 , 0x00004177 
+ 00017369  0x00005439 branch  0x000043c6 
+ 00017370  0x0000543b fetch  0x00000001 , 0x00004b9b 
+ 00017371  0x0000543c store  0x00000001 , 0x00004177 
+ 00017372  0x0000543d branch  0x000043c6 
+ 00017373  0x00005440 jam  0x00000000 , 0x00004b86 
+ 00017374  0x00005441 rtn 
+ 00017375  0x00005444 bpatch  0x000000d6 , 0x0000401a 
+ 00017376  0x00005445 call  0x00001b24 
+ 00017377  0x00005446 nrtn  0x00000034 
+ 00017378  0x00005447 fetch  0x00000001 , 0x00004ad2 
+ 00017379  0x00005448 beq  0x000000ff , 0x000043e7 
+ 00017380  0x00005449 fetch  0x00000001 , 0x00004b86 
+ 00017381  0x0000544a and  0x0000003f , 0x00000003 , 0x0000003f 
+ 00017382  0x0000544b rtnne  0x00000003 
+ 00017383  0x0000544d fetch  0x00000001 , 0x00004abd 
+ 00017384  0x0000544e call  0x00004308 , 0x00000034 
+ 00017385  0x0000544f fetch  0x00000008 , 0x00004bbc 
+ 00017386  0x00005450 bbit1  0x00000001 , 0x00004411 
+ 00017387  0x00005451 bbit1  0x00000000 , 0x00004411 
+ 00017388  0x00005452 bbit1  0x00000005 , 0x00004411 
+ 00017389  0x00005453 bbit1  0x00000006 , 0x00004411 
+ 00017390  0x00005454 call  0x00003fb0 
+ 00017391  0x00005455 call  0x00004364 
+ 00017392  0x00005456 nrtn  0x00000028 
+ 00017393  0x00005457 call  0x0000436f 
+ 00017394  0x00005458 call  0x0000430b 
+ 00017395  0x00005459 call  0x0000405d 
+ 00017396  0x0000545a fetch  0x00000008 , 0x00004bbc 
+ 00017397  0x0000545b bbit0  0x00000015 , 0x000043f8 
+ 00017398  0x0000545c fetch  0x00000001 , 0x00004b9c 
+ 00017399  0x0000545d beq  0x00000001 , 0x000043f9 
+ 00017400  0x0000545f branch  0x00004413 
+ 00017401  0x00005463 fetch  0x00000001 , 0x00004b9d 
+ 00017402  0x00005464 branch  0x00004403 , 0x00000034 
+ 00017403  0x00005465 fetch  0x00000008 , 0x00004bde 
+ 00017404  0x00005467 store  0x00000008 , 0x0000095c 
+ 00017405  0x00005468 fetch  0x00000001 , 0x00004bdd 
+ 00017406  0x00005469 beq  0x00000003 , 0x00004405 
+ 00017407  0x0000546a beq  0x00000002 , 0x00004408 
+ 00017408  0x0000546b jam  0x00000008 , 0x00004af7 
+ 00017409  0x0000546c fetcht  0x00000002 , 0x00004af8 
+ 00017410  0x0000546d branch  0x00004418 
+ 00017411  0x00005471 fetch  0x00000008 , 0x00004be7 
+ 00017412  0x00005472 branch  0x000043fc 
+ 00017413  0x00005475 jam  0x00000003 , 0x00004af7 
+ 00017414  0x00005476 fetcht  0x00000002 , 0x00004afa 
+ 00017415  0x00005477 branch  0x00004418 
+ 00017416  0x0000547a jam  0x00000002 , 0x00004af7 
+ 00017417  0x0000547b fetcht  0x00000002 , 0x00004afc 
+ 00017418  0x0000547c branch  0x00004418 
+ 00017419  0x0000547f arg  0x00000001 , 0x00000011 
+ 00017420  0x00005480 fetcht  0x00000002 , 0x00004afe 
+ 00017421  0x00005481 call  0x00001e5f 
+ 00017422  0x00005482 fetch  0x00000001 , 0x00004b00 
+ 00017423  0x00005483 istore  0x00000001 , 0x00000005 
+ 00017424  0x00005484 rtn 
+ 00017425  0x00005488 setarg  0x00000000 
+ 00017426  0x00005489 store  0x00000007 , 0x000048d4 
+ 00017427  0x0000548b jam  0x00000007 , 0x00004af7 
+ 00017428  0x0000548c fetch  0x00000007 , 0x000048d4 
+ 00017429  0x0000548d store  0x00000007 , 0x0000095c 
+ 00017430  0x0000548e fetcht  0x00000002 , 0x00004357 
+ 00017431  0x0000548f branch  0x00004418 
+ 00017432  0x00005492 fetch  0x00000001 , 0x00004af7 
+ 00017433  0x00005493 copy  0x0000003f , 0x00000011 
+ 00017434  0x00005494 call  0x00001e5f 
+ 00017435  0x00005495 fetcht  0x00000001 , 0x00004af7 
+ 00017436  0x00005496 copy  0x00000002 , 0x00000039 
+ 00017437  0x00005497 arg  0x0000095c , 0x00000006 
+ 00017438  0x00005498 branch  0x00007dd4 
+ 00017439  0x0000549b jam  0x00000000 , 0x00004ad8 
+ 00017440  0x0000549c fetch  0x00000003 , 0x00004add 
+ 00017441  0x0000549d store  0x00000003 , 0x000043ec 
+ 00017442  0x0000549e call  0x00004428 
+ 00017443  0x0000549f setarg  0x00000005 
+ 00017444  0x000054a0 istore  0x00000001 , 0x00000006 
+ 00017445  0x000054a1 arg  0x00004ae3 , 0x00000006 
+ 00017446  0x000054a2 call  0x0000442f 
+ 00017447  0x000054a3 branch  0x00007959 
+ 00017448  0x000054a6 arg  0x000043e8 , 0x00000011 
+ 00017449  0x000054a8 ifetch  0x00000001 , 0x00000011 
+ 00017450  0x000054a9 rtn  0x00000034 
+ 00017451  0x000054aa iadd  0x00000006 , 0x00000011 
+ 00017452  0x000054ab ifetch  0x00000001 , 0x00000006 
+ 00017453  0x000054ac rtneq  0x00000001 
+ 00017454  0x000054ad branch  0x00004429 
+ 00017455  0x000054b0 arg  0x000043f3 , 0x00000005 
+ 00017456  0x000054b1 arg  0x00000013 , 0x00000039 
+ 00017457  0x000054b2 call  0x00007dd4 
+ 00017458  0x000054b3 branch  0x00001a6a 
+ 00017459  0x000054ba setarg  0x0000000c 
+ 00017460  0x000054bb store  0x00000002 , 0x00004455 
+ 00017461  0x000054bc fetch  0x00000008 , 0x00004bbc 
+ 00017462  0x000054bd rtnbit1  0x0000001b 
+ 00017463  0x000054be setarg  0x0000000e 
+ 00017464  0x000054bf store  0x00000002 , 0x00004455 
+ 00017465  0x000054c0 rtn 
+ 00017466  0x000054c3 jam  0x00000000 , 0x00004abf 
+ 00017467  0x000054c4 call  0x0000430a 
+ 00017468  0x000054c5 call  0x00004861 
+ 00017469  0x000054c6 branch  0x000045b6 
+ 00017470  0x000054c9 jam  0x00000000 , 0x00004b90 
+ 00017471  0x000054ca jam  0x00000000 , 0x00004b99 
+ 00017472  0x000054cb call  0x00004433 
+ 00017473  0x000054cc call  0x00004449 
+ 00017474  0x000054cd fetch  0x00000002 , 0x00004480 
+ 00017475  0x000054ce bbit1  0x00000007 , 0x00004450 
+ 00017476  0x000054cf bbit1  0x00000000 , 0x00003238 
+ 00017477  0x000054d0 bbit1  0x00000001 , 0x00004454 
+ 00017478  0x000054d1 bbit1  0x00000002 , 0x00004457 
+ 00017479  0x000054d2 bbit1  0x00000003 , 0x00004457 
+ 00017480  0x000054d3 branch  0x00004593 
+ 00017481  0x000054d5 setarg  0x00000000 
+ 00017482  0x000054d6 store  0x00000008 , 0x000048dd 
+ 00017483  0x000054d7 istore  0x00000004 , 0x00000005 
+ 00017484  0x000054d8 jam  0x00000000 , 0x000049cd 
+ 00017485  0x000054d9 jam  0x00000000 , 0x00004454 
+ 00017486  0x000054da jam  0x00000000 , 0x00004326 
+ 00017487  0x000054db rtn 
+ 00017488  0x000054de call  0x000043dd 
+ 00017489  0x000054df fetch  0x00000002 , 0x00004480 
+ 00017490  0x000054e0 bbit1  0x00000000 , 0x00003238 
+ 00017491  0x000054e1 branch  0x00003e5a 
+ 00017492  0x000054e5 bbit1  0x00000005 , 0x00004457 
+ 00017493  0x000054e6 bbit1  0x00000003 , 0x00004457 
+ 00017494  0x000054e7 branch  0x00004593 
+ 00017495  0x000054e9 fetch  0x00000002 , 0x0000478f 
+ 00017496  0x000054ea bbit1  0x0000000c , 0x00004593 
+ 00017497  0x000054eb call  0x00003238 
+ 00017498  0x000054ed call  0x00004150 
+ 00017499  0x000054ee call  0x0000451c 
+ 00017500  0x000054ef fetch  0x00000001 , 0x00004bb0 
+ 00017501  0x000054f0 beq  0x00000001 , 0x00003e57 
+ 00017502  0x000054f2 fetch  0x00000001 , 0x00004ad5 
+ 00017503  0x000054f3 nrtn  0x00000034 
+ 00017504  0x000054f4 branch  0x00003e5a 
+ 00017505  0x000054f8 rtn 
+ 00017506  0x000054fb jam  0x00000004 , 0x00004b98 
+ 00017507  0x000054fc rtn 
+ 00017508  0x000054ff jam  0x00000001 , 0x00004454 
+ 00017509  0x00005500 call  0x00003295 
+ 00017510  0x00005501 call  0x00003291 
+ 00017511  0x00005502 setarg  0x00000000 
+ 00017512  0x00005503 store  0x00000002 , 0x0000478b 
+ 00017513  0x00005504 store  0x00000001 , 0x0000478d 
+ 00017514  0x00005505 call  0x00004462 
+ 00017515  0x00005506 branch  0x0000328d 
+ 00017516  0x00005509 jam  0x00000000 , 0x00004b91 
+ 00017517  0x0000550a fetch  0x00000001 , 0x000045f8 
+ 00017518  0x0000550b isolate1  0x00000000 , 0x0000003f 
+ 00017519  0x0000550c rtn  0x00000001 
+ 00017520  0x0000550d jam  0x00000001 , 0x00004b91 
+ 00017521  0x0000550e rtn 
+ 00017522  0x00005513 fetch  0x00000001 , 0x00004ad2 
+ 00017523  0x00005514 beq  0x000000ff , 0x00004338 
+ 00017524  0x00005515 fetch  0x00000002 , 0x0000478f 
+ 00017525  0x00005516 rtnbit1  0x0000000c 
+ 00017526  0x00005517 rtnbit1  0x00000006 
+ 00017527  0x00005518 rtnbit1  0x0000000b 
+ 00017528  0x00005519 fetch  0x00000008 , 0x00004bbc 
+ 00017529  0x0000551a rtnbit1  0x00000005 
+ 00017530  0x0000551b bbit1  0x00000033 , 0x00004593 
+ 00017531  0x0000551c bbit1  0x0000002f , 0x0000485e 
+ 00017532  0x0000551d branch  0x00003e5a 
+ 00017533  0x00005520 fetch  0x00000001 , 0x00004b90 
+ 00017534  0x00005521 rtnne  0x00000002 
+ 00017535  0x00005522 jam  0x00000000 , 0x00004b90 
+ 00017536  0x00005523 call  0x00004433 
+ 00017537  0x00005524 call  0x00004462 
+ 00017538  0x00005525 branch  0x0000328d 
+ 00017539  0x00005528 fetch  0x00000001 , 0x00004b90 
+ 00017540  0x00005529 rtneq  0x00000002 
+ 00017541  0x0000552a increase  0x00000001 , 0x0000003f 
+ 00017542  0x0000552b store  0x00000001 , 0x00004b90 
+ 00017543  0x0000552c jam  0x00000012 , 0x00004455 
+ 00017544  0x0000552d call  0x00004462 
+ 00017545  0x0000552e branch  0x0000328d 
+ 00017546  0x00005531 call  0x00005b4f 
+ 00017547  0x00005532 branch  0x0000325c 
+ 00017548  0x00005535 setarg  0x00000001 
+ 00017549  0x00005536 store  0x00000006 , 0x00000040 
+ 00017550  0x00005537 jam  0x00000033 , 0x000000e7 
+ 00017551  0x00005538 branch  0x000045cd 
+ 00017552  0x0000553b setarg  0xffffffff 
+ 00017553  0x0000553c store  0x00000006 , 0x00000040 
+ 00017554  0x0000553d jam  0x00000033 , 0x000000e7 
+ 00017555  0x0000553e jam  0x000000ff , 0x00004ad2 
+ 00017556  0x0000553f call  0x000045e2 
+ 00017557  0x00005540 jam  0x000000ff , 0x0000493e 
+ 00017558  0x00005541 branch  0x0000462e 
+ 00017559  0x00005544 bpatch  0x000000d7 , 0x0000401a 
+ 00017560  0x00005545 rtn  0x0000002e 
+ 00017561  0x00005546 fetch  0x00000001 , 0x00004454 
+ 00017562  0x00005547 rtn  0x00000034 
+ 00017563  0x00005548 call  0x00005352 
+ 00017564  0x00005549 nrtn  0x00000034 
+ 00017565  0x0000554a fetch  0x00000001 , 0x00004ad2 
+ 00017566  0x0000554b beq  0x000000ff , 0x00004346 
+ 00017567  0x0000554c fetch  0x00000001 , 0x00004abd 
+ 00017568  0x0000554d call  0x00004308 , 0x00000034 
+ 00017569  0x0000554e fetch  0x00000008 , 0x00004bbc 
+ 00017570  0x0000554f bbit1  0x00000001 , 0x000044ce 
+ 00017571  0x00005550 bbit1  0x00000000 , 0x000044ce 
+ 00017572  0x00005551 bbit1  0x00000005 , 0x000044ce 
+ 00017573  0x00005552 bbit1  0x00000006 , 0x000044ce 
+ 00017574  0x00005553 call  0x00003fb0 
+ 00017575  0x00005554 call  0x00004364 
+ 00017576  0x00005555 nrtn  0x00000028 
+ 00017577  0x00005556 call  0x0000436f 
+ 00017578  0x00005557 call  0x0000430b 
+ 00017579  0x00005558 call  0x0000405d 
+ 00017580  0x00005559 fetch  0x00000001 , 0x00004b91 
+ 00017581  0x0000555a beq  0x00000001 , 0x000044bd 
+ 00017582  0x0000555b fetch  0x00000001 , 0x00004b99 
+ 00017583  0x0000555c rtn  0x00000034 
+ 00017584  0x0000555d fetch  0x00000008 , 0x00004bbc 
+ 00017585  0x0000555e bbit0  0x00000015 , 0x000044b4 
+ 00017586  0x0000555f fetch  0x00000001 , 0x00004b9c 
+ 00017587  0x00005560 beq  0x00000001 , 0x000044d1 
+ 00017588  0x00005562 arg  0x00000009 , 0x00000011 
+ 00017589  0x00005563 call  0x00004e1e 
+ 00017590  0x00005564 fetch  0x00000002 , 0x000044e1 
+ 00017591  0x00005565 istore  0x00000002 , 0x00000005 
+ 00017592  0x00005566 setarg  0x000002a1 
+ 00017593  0x00005567 istore  0x00000002 , 0x00000005 
+ 00017594  0x00005568 fetch  0x00000007 , 0x000048d4 
+ 00017595  0x00005569 istore  0x00000007 , 0x00000005 
+ 00017596  0x0000556a rtn 
+ 00017597  0x0000556d fetch  0x00000001 , 0x000048d4 
+ 00017598  0x0000556e store  0x00000001 , 0x00004b92 
+ 00017599  0x0000556f fetch  0x00000001 , 0x000048d5 
+ 00017600  0x00005570 istore  0x00000001 , 0x00000005 
+ 00017601  0x00005571 fetch  0x00000001 , 0x000048d7 
+ 00017602  0x00005572 istore  0x00000001 , 0x00000005 
+ 00017603  0x00005573 fetch  0x00000002 , 0x000048d9 
+ 00017604  0x00005574 istore  0x00000002 , 0x00000005 
+ 00017605  0x00005575 arg  0x00000007 , 0x00000011 
+ 00017606  0x00005576 call  0x00004e1e 
+ 00017607  0x00005577 fetch  0x00000002 , 0x000044e1 
+ 00017608  0x00005578 istore  0x00000002 , 0x00000005 
+ 00017609  0x00005579 setarg  0x000002a1 
+ 00017610  0x0000557a istore  0x00000002 , 0x00000005 
+ 00017611  0x0000557b fetch  0x00000005 , 0x00004b92 
+ 00017612  0x0000557c istore  0x00000005 , 0x00000005 
+ 00017613  0x0000557d rtn 
+ 00017614  0x00005580 setarg  0x00000000 
+ 00017615  0x00005581 store  0x00000007 , 0x000048d4 
+ 00017616  0x00005582 branch  0x000044b4 
+ 00017617  0x00005586 fetch  0x00000001 , 0x00004b9d 
+ 00017618  0x00005587 branch  0x000044f3 , 0x00000034 
+ 00017619  0x00005588 fetch  0x00000008 , 0x00004bde 
+ 00017620  0x0000558a store  0x00000008 , 0x0000095c 
+ 00017621  0x0000558b fetch  0x00000001 , 0x00004bdd 
+ 00017622  0x0000558c beq  0x00000003 , 0x000044e1 
+ 00017623  0x0000558d beq  0x00000002 , 0x000044ea 
+ 00017624  0x0000558e arg  0x0000000a , 0x00000011 
+ 00017625  0x0000558f call  0x00004e1e 
+ 00017626  0x00005590 fetch  0x00000002 , 0x000044e1 
+ 00017627  0x00005591 istore  0x00000002 , 0x00000005 
+ 00017628  0x00005592 setarg  0x000001a1 
+ 00017629  0x00005593 istore  0x00000002 , 0x00000005 
+ 00017630  0x00005594 fetch  0x00000008 , 0x0000095c 
+ 00017631  0x00005595 istore  0x00000008 , 0x00000005 
+ 00017632  0x00005596 rtn 
+ 00017633  0x00005599 arg  0x00000004 , 0x00000011 
+ 00017634  0x0000559a call  0x00004e1e 
+ 00017635  0x0000559b fetch  0x00000002 , 0x000044e1 
+ 00017636  0x0000559c istore  0x00000002 , 0x00000005 
+ 00017637  0x0000559d setarg  0x000003a1 
+ 00017638  0x0000559e istore  0x00000002 , 0x00000005 
+ 00017639  0x0000559f fetch  0x00000002 , 0x0000095c 
+ 00017640  0x000055a0 istore  0x00000002 , 0x00000005 
+ 00017641  0x000055a1 rtn 
+ 00017642  0x000055a4 arg  0x00000003 , 0x00000011 
+ 00017643  0x000055a5 call  0x00004e1e 
+ 00017644  0x000055a6 fetch  0x00000002 , 0x000044e1 
+ 00017645  0x000055a7 istore  0x00000002 , 0x00000005 
+ 00017646  0x000055a8 setarg  0x000004a1 
+ 00017647  0x000055a9 istore  0x00000002 , 0x00000005 
+ 00017648  0x000055aa fetch  0x00000001 , 0x0000095c 
+ 00017649  0x000055ab istore  0x00000001 , 0x00000005 
+ 00017650  0x000055ac rtn 
+ 00017651  0x000055af fetch  0x00000008 , 0x00004be7 
+ 00017652  0x000055b0 branch  0x000044d4 
+ 00017653  0x000055b7 bpatch  0x000000d8 , 0x0000401b 
+ 00017654  0x000055b8 call  0x00003edc 
+ 00017655  0x000055b9 call  0x000049a3 
+ 00017656  0x000055bb call  0x000022e1 
+ 00017657  0x000055bc call  0x0000255f 
+ 00017658  0x000055bd call  0x0000480b 
+ 00017659  0x000055bf call  0x0000490b 
+ 00017660  0x000055c0 call  0x0000493c 
+ 00017661  0x000055c2 call  0x000040bc 
+ 00017662  0x000055c3 call  0x0000450c 
+ 00017663  0x000055c4 call  0x0000451c 
+ 00017664  0x000055c5 call  0x0000453f 
+ 00017665  0x000055c7 call  0x00004544 
+ 00017666  0x000055c8 call  0x00004552 
+ 00017667  0x000055c9 call  0x0000455f 
+ 00017668  0x000055ca call  0x00004555 
+ 00017669  0x000055cc call  0x0000456a 
+ 00017670  0x000055cd call  0x0000456d 
+ 00017671  0x000055ce call  0x00004572 
+ 00017672  0x000055cf call  0x00004575 
+ 00017673  0x000055d0 call  0x00004062 
+ 00017674  0x000055d1 call  0x00004587 
+ 00017675  0x000055d2 branch  0x0000457c 
+ 00017676  0x000055d8 fetch  0x00000008 , 0x00004bbc 
+ 00017677  0x000055d9 bbit1  0x00000037 , 0x0000450f 
+ 00017678  0x000055da rtn 
+ 00017679  0x000055dd fetch  0x00000001 , 0x00004baf 
+ 00017680  0x000055de rtnne  0x00000001 
+ 00017681  0x000055df arg  0x00004bac , 0x00000013 
+ 00017682  0x000055e0 arg  0x00004514 , 0x00000012 
+ 00017683  0x000055e1 branch  0x000031fc 
+ 00017684  0x000055e4 fetch  0x00000001 , 0x0000493d 
+ 00017685  0x000055e5 rtneq  0x00000000 
+ 00017686  0x000055e6 fetch  0x00000008 , 0x00004bbc 
+ 00017687  0x000055e7 rtnbit1  0x00000006 
+ 00017688  0x000055e8 arg  0x00000006 , 0x00000007 
+ 00017689  0x000055e9 call  0x0000472e 
+ 00017690  0x000055ea call  0x000031e6 
+ 00017691  0x000055eb branch  0x0000458e 
+ 00017692  0x000055ef fetch  0x00000001 , 0x0000493d 
+ 00017693  0x000055f0 beq  0x00000000 , 0x00004522 
+ 00017694  0x000055f1 fetch  0x00000008 , 0x00004bbc 
+ 00017695  0x000055f2 rtnbit0  0x00000035 
+ 00017696  0x000055f3 fetcht  0x00000001 , 0x00004bdb 
+ 00017697  0x000055f4 branch  0x00004525 
+ 00017698  0x000055f7 fetch  0x00000008 , 0x00004bbc 
+ 00017699  0x000055f8 rtnbit0  0x00000032 
+ 00017700  0x000055f9 fetcht  0x00000001 , 0x00004bdc 
+ 00017701  0x000055fb storet  0x00000001 , 0x00004bae 
+ 00017702  0x000055fc call  0x00004155 
+ 00017703  0x000055fd and  0x0000003f , 0x00000007 , 0x0000003f 
+ 00017704  0x000055fe fetcht  0x00000001 , 0x00004bae 
+ 00017705  0x000055ff isub  0x00000002 , 0x0000003e 
+ 00017706  0x00005600 branch  0x00004531 , 0x00000005 
+ 00017707  0x00005602 fetch  0x00000001 , 0x00004792 
+ 00017708  0x00005603 store  0x00000001 , 0x00004bb1 
+ 00017709  0x00005604 fetch  0x00000001 , 0x00004bb0 
+ 00017710  0x00005605 rtneq  0x00000000 
+ 00017711  0x00005606 jam  0x00000000 , 0x00004bb0 
+ 00017712  0x00005607 rtn 
+ 00017713  0x0000560a call  0x00004536 
+ 00017714  0x0000560b fetch  0x00000001 , 0x00004bb0 
+ 00017715  0x0000560c rtneq  0x00000001 
+ 00017716  0x0000560d jam  0x00000001 , 0x00004bb0 
+ 00017717  0x0000560e branch  0x0000799c 
+ 00017718  0x00005612 arg  0x00004866 , 0x00000012 
+ 00017719  0x00005613 arg  0x00004bb1 , 0x00000013 
+ 00017720  0x00005614 fetch  0x00000001 , 0x0000493d 
+ 00017721  0x00005615 beq  0x00000000 , 0x000031fc 
+ 00017722  0x00005616 arg  0x00004514 , 0x00000012 
+ 00017723  0x00005617 call  0x000031fc 
+ 00017724  0x00005618 fetch  0x00000001 , 0x00004bb1 
+ 00017725  0x00005619 beq  0x00000001 , 0x00004720 
+ 00017726  0x0000561a rtn 
+ 00017727  0x0000561f arg  0x00004ad3 , 0x00000013 
+ 00017728  0x00005620 arg  0x00004542 , 0x00000012 
+ 00017729  0x00005621 branch  0x00003203 
+ 00017730  0x00005624 call  0x000045b6 
+ 00017731  0x00005625 branch  0x00003e5a 
+ 00017732  0x00005629 arg  0x00004b88 , 0x00000013 
+ 00017733  0x0000562a arg  0x0000454a , 0x00000012 
+ 00017734  0x0000562b call  0x00003203 
+ 00017735  0x0000562c fetch  0x00000001 , 0x00004b88 
+ 00017736  0x0000562d beq  0x00000001 , 0x00003275 
+ 00017737  0x0000562e rtn 
+ 00017738  0x00005631 fetch  0x00000001 , 0x00004ad2 
+ 00017739  0x00005632 beq  0x000000ff , 0x00004338 
+ 00017740  0x00005633 fetch  0x00000001 , 0x00004ac1 
+ 00017741  0x00005634 nbranch  0x0000474c , 0x00000034 
+ 00017742  0x00005635 fetch  0x00000008 , 0x00004bbc 
+ 00017743  0x00005636 bbit1  0x00000033 , 0x00004593 
+ 00017744  0x00005637 bbit1  0x0000002f , 0x0000485e 
+ 00017745  0x00005638 branch  0x00003e5a 
+ 00017746  0x0000563b arg  0x00004b87 , 0x00000013 
+ 00017747  0x0000563c arg  0x000043ce , 0x00000012 
+ 00017748  0x0000563d branch  0x000031fc 
+ 00017749  0x00005640 fetch  0x00000001 , 0x00004ad7 
+ 00017750  0x00005641 rtn  0x00000034 
+ 00017751  0x00005642 arg  0x00004ad9 , 0x00000013 
+ 00017752  0x00005643 arg  0x0000455a , 0x00000012 
+ 00017753  0x00005644 branch  0x000031fc 
+ 00017754  0x00005646 fetch  0x00000001 , 0x00004ad8 
+ 00017755  0x00005647 nrtn  0x00000034 
+ 00017756  0x00005648 fetch  0x00000001 , 0x0000439b 
+ 00017757  0x00005649 rtnne  0x00000000 
+ 00017758  0x0000564a branch  0x0000203d 
+ 00017759  0x0000564d arg  0x00004b03 , 0x00000013 
+ 00017760  0x0000564e arg  0x00004562 , 0x00000012 
+ 00017761  0x0000564f branch  0x000031fc 
+ 00017762  0x00005652 fetch  0x00000002 , 0x00004b01 
+ 00017763  0x00005653 store  0x00000002 , 0x00004b03 
+ 00017764  0x00005654 branch  0x0000440b 
+ 00017765  0x00005657 fetch  0x00000001 , 0x00004b86 
+ 00017766  0x00005658 rtnbit1  0x00000002 
+ 00017767  0x00005659 call  0x000043ac 
+ 00017768  0x0000565a arg  0x00000000 , 0x00000007 
+ 00017769  0x0000565b branch  0x000043b5 
+ 00017770  0x0000565e arg  0x0000478d , 0x00000013 
+ 00017771  0x0000565f arg  0x00004464 , 0x00000012 
+ 00017772  0x00005660 branch  0x000031fc 
+ 00017773  0x00005663 arg  0x00004b98 , 0x00000013 
+ 00017774  0x00005664 arg  0x00004570 , 0x00000012 
+ 00017775  0x00005665 branch  0x000031fc 
+ 00017776  0x00005667 jam  0x00000001 , 0x00004b99 
+ 00017777  0x00005668 rtn 
+ 00017778  0x0000566b arg  0x00004ad5 , 0x00000013 
+ 00017779  0x0000566c arg  0x00003e5a , 0x00000012 
+ 00017780  0x0000566d branch  0x000031fc 
+ 00017781  0x00005671 arg  0x00004ac0 , 0x00000013 
+ 00017782  0x00005672 arg  0x00004578 , 0x00000012 
+ 00017783  0x00005673 branch  0x000031fc 
+ 00017784  0x00005675 fetch  0x00000001 , 0x00004b9b 
+ 00017785  0x00005676 store  0x00000001 , 0x00004177 
+ 00017786  0x00005677 jam  0x00000001 , 0x00004abf 
+ 00017787  0x00005678 rtn 
+ 00017788  0x0000567c fetch  0x00000001 , 0x0000492f 
+ 00017789  0x0000567d rtnbit1  0x00000007 
+ 00017790  0x0000567e arg  0x00004ac3 , 0x00000013 
+ 00017791  0x0000567f arg  0x00004581 , 0x00000012 
+ 00017792  0x00005680 branch  0x00003203 
+ 00017793  0x00005683 fetch  0x00000001 , 0x0000493d 
+ 00017794  0x00005684 beq  0x00000000 , 0x00004820 
+ 00017795  0x00005685 branch  0x0000435b 
+ 00017796  0x00005688 fetch  0x00000002 , 0x00004bcf 
+ 00017797  0x00005689 store  0x00000002 , 0x00004ac3 
+ 00017798  0x0000568a rtn 
+ 00017799  0x0000568d arg  0x000049c4 , 0x00000013 
+ 00017800  0x0000568e arg  0x0000458a , 0x00000012 
+ 00017801  0x0000568f branch  0x000031fc 
+ 00017802  0x00005692 call  0x00004631 
+ 00017803  0x00005693 fetch  0x00000001 , 0x00004ad6 
+ 00017804  0x00005694 nbranch  0x000046fe , 0x00000034 
+ 00017805  0x00005695 rtn 
+ 00017806  0x00005698 isolate1  0x00000026 , 0x00000000 
+ 00017807  0x00005699 call  0x00004831 , 0x00000001 
+ 00017808  0x0000569a call  0x0000435b 
+ 00017809  0x0000569b call  0x000043dd 
+ 00017810  0x0000569c branch  0x00004593 
+ 00017811  0x0000569f bpatch  0x000000d9 , 0x0000401b 
+ 00017812  0x000056a0 call  0x00004354 
+ 00017813  0x000056a1 fetch  0x00000002 , 0x0000478f 
+ 00017814  0x000056a2 bbit1  0x0000000b , 0x0000459f 
+ 00017815  0x000056a3 fetch  0x00000008 , 0x00004bbc 
+ 00017816  0x000056a4 bbit0  0x00000008 , 0x0000459f 
+ 00017817  0x000056a5 fetcht  0x00000002 , 0x0000499c 
+ 00017818  0x000056a6 increase  0x00000001 , 0x00000002 
+ 00017819  0x000056a7 storet  0x00000002 , 0x0000499c 
+ 00017820  0x000056a8 storet  0x00000002 , 0x0000437b 
+ 00017821  0x000056a9 random  0x0000003f 
+ 00017822  0x000056aa store  0x00000001 , 0x0000437a 
+ 00017823  0x000056ac fetch  0x00000003 , 0x00004ada 
+ 00017824  0x000056ad store  0x00000003 , 0x0000437d 
+ 00017825  0x000056ae call  0x00003297 
+ 00017826  0x000056af fetch  0x00000002 , 0x00004794 
+ 00017827  0x000056b0 store  0x00000002 , 0x00004ad3 
+ 00017828  0x000056b1 jam  0x00000006 , 0x000000bc 
+ 00017829  0x000056b2 setarg  0x00000000 
+ 00017830  0x000056b3 store  0x00000002 , 0x00004ac3 
+ 00017831  0x000056b4 store  0x00000001 , 0x00004b88 
+ 00017832  0x000056b5 store  0x00000001 , 0x00004ad5 
+ 00017833  0x000056b6 store  0x00000001 , 0x00004bb8 
+ 00017834  0x000056b7 store  0x00000001 , 0x00004abd 
+ 00017835  0x000056b8 arg  0x00000002 , 0x00000007 
+ 00017836  0x000056b9 call  0x0000472e 
+ 00017837  0x000056ba call  0x00004722 
+ 00017838  0x000056bb fetch  0x00000001 , 0x00004bc4 
+ 00017839  0x000056bc isolate1  0x00000001 , 0x0000003f 
+ 00017840  0x000056bd call  0x0000441f , 0x00000001 
+ 00017841  0x000056be fetch  0x00000001 , 0x00004bc4 
+ 00017842  0x000056bf isolate1  0x00000000 , 0x0000003f 
+ 00017843  0x000056c0 call  0x0000792f , 0x00000001 
+ 00017844  0x000056c1 call  0x000049db 
+ 00017845  0x000056c2 branch  0x00004919 
+ 00017846  0x000056c6 bpatch  0x000000da , 0x0000401b 
+ 00017847  0x000056c7 arg  0x00000006 , 0x00000007 
+ 00017848  0x000056c8 call  0x00004732 
+ 00017849  0x000056c9 jam  0x00000000 , 0x00004ad5 
+ 00017850  0x000056ca fetch  0x00000001 , 0x00004bc4 
+ 00017851  0x000056cb isolate1  0x00000001 , 0x0000003f 
+ 00017852  0x000056cc call  0x000045c1 , 0x00000001 
+ 00017853  0x000056cd fetch  0x00000001 , 0x00004bc4 
+ 00017854  0x000056ce isolate1  0x00000000 , 0x0000003f 
+ 00017855  0x000056cf call  0x000045c3 , 0x00000001 
+ 00017856  0x000056d0 branch  0x0000495f 
+ 00017857  0x000056d2 jam  0x00000000 , 0x00004b88 
+ 00017858  0x000056d3 branch  0x0000795f 
+ 00017859  0x000056d5 setarg  0x00000000 
+ 00017860  0x000056d6 store  0x00000002 , 0x00004ad3 
+ 00017861  0x000056d7 branch  0x00007934 
+ 00017862  0x000056da bpatch  0x000000db , 0x0000401b 
+ 00017863  0x000056db fetch  0x00000008 , 0x00004bbc 
+ 00017864  0x000056dc rtnbit0  0x00000002 
+ 00017865  0x000056dd call  0x00004913 
+ 00017866  0x000056de arg  0x00000002 , 0x00000007 
+ 00017867  0x000056df call  0x00004732 
+ 00017868  0x000056e0 call  0x000045cf 
+ 00017869  0x000056e2 call  0x000045e2 
+ 00017870  0x000056e3 branch  0x0000462e 
+ 00017871  0x000056e7 fetch  0x00000001 , 0x000000e7 
+ 00017872  0x000056e8 beq  0x00000034 , 0x000045d3 
+ 00017873  0x000056e9 beq  0x00000033 , 0x000045d6 
+ 00017874  0x000056ea rtn 
+ 00017875  0x000056ec store  0x00000001 , 0x00004b89 
+ 00017876  0x000056ed fetch  0x00000006 , 0x00000297 
+ 00017877  0x000056ee branch  0x000045d8 
+ 00017878  0x000056f0 store  0x00000001 , 0x00004b89 
+ 00017879  0x000056f1 fetch  0x00000006 , 0x00000040 
+ 00017880  0x000056f3 store  0x00000006 , 0x00004b8a 
+ 00017881  0x000056f4 fetch  0x00000007 , 0x00004b89 
+ 00017882  0x000056f5 arg  0x0000493e , 0x00000006 
+ 00017883  0x000056f6 arg  0x00000003 , 0x00000039 
+ 00017884  0x000056f8 ifetcht  0x00000007 , 0x00000006 
+ 00017885  0x000056f9 isub  0x00000002 , 0x0000003e 
+ 00017886  0x000056fa branch  0x000045f7 , 0x00000005 
+ 00017887  0x000056fb increase  0x00000016 , 0x00000006 
+ 00017888  0x000056fc loop  0x000045dc 
+ 00017889  0x000056fd rtn 
+ 00017890  0x000056ff arg  0x0000493e , 0x00000011 
+ 00017891  0x00005700 fetch  0x00000001 , 0x0000493d 
+ 00017892  0x00005701 increase  0xffffffff , 0x0000003f 
+ 00017893  0x00005702 mul32  0x0000003f , 0x0000001d , 0x0000003f 
+ 00017894  0x00005703 iadd  0x00000011 , 0x00000011 
+ 00017895  0x00005704 fetch  0x00000001 , 0x000000e7 
+ 00017896  0x00005705 istore  0x00000001 , 0x00000011 
+ 00017897  0x00005706 beq  0x00000034 , 0x000045ec 
+ 00017898  0x00005707 beq  0x00000033 , 0x000045f3 
+ 00017899  0x00005708 rtn 
+ 00017900  0x0000570b fetch  0x00000006 , 0x00000297 
+ 00017901  0x0000570c istore  0x00000006 , 0x00000005 
+ 00017902  0x0000570d arg  0x00004316 , 0x00000006 
+ 00017903  0x0000570e call  0x00007d7f 
+ 00017904  0x0000570f fetch  0x00000006 , 0x0000437a 
+ 00017905  0x00005710 istore  0x00000006 , 0x00000005 
+ 00017906  0x00005711 rtn 
+ 00017907  0x00005713 fetch  0x00000006 , 0x00000040 
+ 00017908  0x00005714 istore  0x00000006 , 0x00000005 
+ 00017909  0x00005715 arg  0x000041cb , 0x00000006 
+ 00017910  0x00005716 branch  0x00007d7f 
+ 00017911  0x00005719 increase  0xfffffffa , 0x00000006 
+ 00017912  0x0000571a copy  0x00000006 , 0x00000005 
+ 00017913  0x0000571b fetcht  0x00000006 , 0x00004b8a 
+ 00017914  0x0000571c increase  0x00000003 , 0x00000002 
+ 00017915  0x0000571d istoret  0x00000006 , 0x00000005 
+ 00017916  0x0000571e rtn 
+ 00017917  0x00005721 arg  0x0000493e , 0x00000011 
+ 00017918  0x00005722 fetch  0x00000001 , 0x0000493d 
+ 00017919  0x00005723 rtneq  0x00000000 
+ 00017920  0x00005724 increase  0xffffffff , 0x0000003f 
+ 00017921  0x00005725 mul32  0x0000003f , 0x0000001d , 0x0000003f 
+ 00017922  0x00005726 iadd  0x00000011 , 0x00000011 
+ 00017923  0x00005727 ifetch  0x00000001 , 0x00000011 
+ 00017924  0x00005728 store  0x00000001 , 0x00004484 
+ 00017925  0x00005729 beq  0x00000033 , 0x00004608 
+ 00017926  0x0000572a beq  0x00000034 , 0x0000460d 
+ 00017927  0x0000572b rtn 
+ 00017928  0x0000572e ifetch  0x00000006 , 0x00000006 
+ 00017929  0x00005730 store  0x00000006 , 0x000041dd 
+ 00017930  0x00005731 arg  0x000041cb , 0x00000005 
+ 00017931  0x00005732 call  0x00007d7f 
+ 00017932  0x00005733 branch  0x000060d0 
+ 00017933  0x00005736 ifetch  0x00000006 , 0x00000006 
+ 00017934  0x00005738 store  0x00000006 , 0x000041dd 
+ 00017935  0x00005739 arg  0x00004316 , 0x00000005 
+ 00017936  0x0000573a call  0x00007d7f 
+ 00017937  0x0000573b ifetch  0x00000006 , 0x00000006 
+ 00017938  0x0000573c store  0x00000006 , 0x0000437a 
+ 00017939  0x0000573d rtn 
+ 00017940  0x00005742 fetch  0x00000002 , 0x00004995 
+ 00017941  0x00005743 arg  0x0000aa55 , 0x00000002 
+ 00017942  0x00005744 isub  0x00000002 , 0x0000003e 
+ 00017943  0x00005745 branch  0x00004622 , 0x00000005 
+ 00017944  0x00005746 storet  0x00000002 , 0x00004995 
+ 00017945  0x00005747 call  0x00004627 
+ 00017946  0x00005748 fetch  0x00000001 , 0x00004ac5 
+ 00017947  0x00005749 store  0x00000001 , 0x0000493d 
+ 00017948  0x0000574a fetch  0x00000001 , 0x0000492b 
+ 00017949  0x0000574b store  0x00000001 , 0x00004997 
+ 00017950  0x0000574c fetch  0x00000004 , 0x00004891 
+ 00017951  0x0000574d store  0x00000004 , 0x00004895 
+ 00017952  0x0000574e store  0x00000004 , 0x0000483f 
+ 00017953  0x0000574f rtn 
+ 00017954  0x00005752 call  0x000045fd 
+ 00017955  0x00005753 fetch  0x00000004 , 0x00004998 
+ 00017956  0x00005754 store  0x00000004 , 0x00004895 
+ 00017957  0x00005755 store  0x00000004 , 0x0000483f 
+ 00017958  0x00005756 rtn 
+ 00017959  0x00005759 fetch  0x00000006 , 0x0000437a 
+ 00017960  0x0000575a store  0x00000006 , 0x00004955 
+ 00017961  0x0000575b add  0x0000003f , 0x00000100 , 0x0000003f 
+ 00017962  0x0000575c store  0x00000006 , 0x00004972 
+ 00017963  0x0000575d add  0x0000003f , 0x00000100 , 0x0000003f 
+ 00017964  0x0000575e store  0x00000006 , 0x0000498f 
+ 00017965  0x0000575f rtn 
+ 00017966  0x00005763 fetch  0x00000001 , 0x000049c5 
+ 00017967  0x00005764 store  0x00000001 , 0x000049c4 
+ 00017968  0x00005765 rtn 
+ 00017969  0x00005768 bpatch  0x000000dc , 0x0000401b 
+ 00017970  0x00005769 fetch  0x00000008 , 0x00004bbc 
+ 00017971  0x0000576a bbit1  0x00000013 , 0x0000467f 
+ 00017972  0x0000576b bbit1  0x00000012 , 0x00004643 
+ 00017973  0x0000576c rtn 
+ 00017974  0x0000576f call  0x00005daf 
+ 00017975  0x00005770 call  0x0000464a 
+ 00017976  0x00005771 call  0x0000463d 
+ 00017977  0x00005772 call  0x00005dd2 
+ 00017978  0x00005773 call  0x00004651 
+ 00017979  0x00005774 call  0x00004614 
+ 00017980  0x00005775 branch  0x00003fa5 
+ 00017981  0x00005779 setarg  0x000049bd 
+ 00017982  0x0000577a arg  0x0000493d , 0x00000002 
+ 00017983  0x0000577b isub  0x00000002 , 0x00000002 
+ 00017984  0x0000577c fetch  0x00000003 , 0x000049bd 
+ 00017985  0x0000577d arg  0x0000493d , 0x00000011 
+ 00017986  0x0000577e rtn 
+ 00017987  0x00005781 call  0x00005daf 
+ 00017988  0x00005782 call  0x0000464a 
+ 00017989  0x00005783 call  0x0000465f 
+ 00017990  0x00005785 call  0x0000463d 
+ 00017991  0x00005786 call  0x00004662 
+ 00017992  0x00005787 call  0x00004651 
+ 00017993  0x00005788 branch  0x00003fa5 
+ 00017994  0x0000578b jam  0x000000ab , 0x00000964 
+ 00017995  0x0000578d call  0x0000623f 
+ 00017996  0x0000578e call  0x00005db4 
+ 00017997  0x0000578f arg  0x000049c0 , 0x00000011 
+ 00017998  0x00005790 fetcht  0x00000001 , 0x00000964 
+ 00017999  0x00005791 call  0x00004653 
+ 00018000  0x00005792 branch  0x0000623f 
+ 00018001  0x00005795 jam  0x000000b9 , 0x00000964 
+ 00018002  0x00005796 branch  0x0000464b 
+ 00018003  0x00005799 istoret  0x00000001 , 0x00000011 
+ 00018004  0x0000579a rshift16  0x0000003f , 0x00000002 
+ 00018005  0x0000579b istoret  0x00000001 , 0x00000005 
+ 00018006  0x0000579c rshift8  0x0000003f , 0x00000002 
+ 00018007  0x0000579d istoret  0x00000001 , 0x00000005 
+ 00018008  0x0000579e istore  0x00000001 , 0x00000005 
+ 00018009  0x0000579f deposit  0x00000011 
+ 00018010  0x000057a0 store  0x00000002 , 0x0000808a 
+ 00018011  0x000057a1 setarg  0x00000000 
+ 00018012  0x000057a2 store  0x00000002 , 0x0000808e 
+ 00018013  0x000057a3 jam  0x00000002 , 0x00008006 
+ 00018014  0x000057a4 branch  0x00005d6e 
+ 00018015  0x000057a7 fetch  0x00000003 , 0x000049bd 
+ 00018016  0x000057a8 store  0x00000003 , 0x000044a7 
+ 00018017  0x000057a9 branch  0x00005d8a 
+ 00018018  0x000057ac copy  0x0000003f , 0x00000013 
+ 00018019  0x000057ad copy  0x00000011 , 0x0000003f 
+ 00018020  0x000057ae increase  0xfffffffc , 0x0000003f 
+ 00018021  0x000057af copy  0x0000003f , 0x00000012 
+ 00018022  0x000057b0 ifetch  0x00000004 , 0x00000012 
+ 00018023  0x000057b1 store  0x00000004 , 0x000049c0 
+ 00018024  0x000057b2 copy  0x00000013 , 0x0000003f 
+ 00018025  0x000057b3 call  0x00005dc1 
+ 00018026  0x000057b4 fetch  0x00000004 , 0x000049c0 
+ 00018027  0x000057b5 istore  0x00000004 , 0x00000012 
+ 00018028  0x000057b6 rtn 
+ 00018029  0x000057b9 fetch  0x00000008 , 0x00004bbc 
+ 00018030  0x000057ba rtnbit0  0x00000012 
+ 00018031  0x000057bb call  0x00004651 
+ 00018032  0x000057bc call  0x00005b66 
+ 00018033  0x000057bd fetcht  0x00000001 , 0x000044b7 
+ 00018034  0x000057be call  0x00006109 
+ 00018035  0x000057bf fetcht  0x00000001 , 0x000044bc 
+ 00018036  0x000057c0 branch  0x00003f94 
+ 00018037  0x000057c3 call  0x00005e42 
+ 00018038  0x000057c4 fetch  0x00000008 , 0x00004bbc 
+ 00018039  0x000057c5 isolate1  0x00000009 , 0x0000003f 
+ 00018040  0x000057c6 ncall  0x00005e5c , 0x00000001 
+ 00018041  0x000057c7 call  0x0000467b 
+ 00018042  0x000057c8 branch  0x00004614 
+ 00018043  0x000057cb arg  0x00000080 , 0x00000002 
+ 00018044  0x000057cc arg  0x0000493d , 0x00000011 
+ 00018045  0x000057cd arg  0x00000000 , 0x00000012 
+ 00018046  0x000057ce branch  0x00005e79 
+ 00018047  0x000057d1 arg  0x00000080 , 0x00000002 
+ 00018048  0x000057d2 arg  0x0000493d , 0x00000011 
+ 00018049  0x000057d3 arg  0x00000000 , 0x00000012 
+ 00018050  0x000057d4 branch  0x00005e6b 
+ 00018051  0x000057d8 arg  0x00000001 , 0x00000002 
+ 00018052  0x000057d9 arg  0x00004997 , 0x00000011 
+ 00018053  0x000057da arg  0x0000005a , 0x00000012 
+ 00018054  0x000057db branch  0x00005e6b 
+ 00018055  0x000057de arg  0x00000001 , 0x00000002 
+ 00018056  0x000057df arg  0x00004997 , 0x00000011 
+ 00018057  0x000057e0 arg  0x0000005a , 0x00000012 
+ 00018058  0x000057e1 branch  0x00005e79 
+ 00018059  0x000057e6 bpatch  0x000000dd , 0x0000401b 
+ 00018060  0x000057e7 call  0x000049dd 
+ 00018061  0x000057e8 call  0x000079a1 
+ 00018062  0x000057e9 call  0x00004067 
+ 00018063  0x000057ea call  0x00004693 
+ 00018064  0x000057eb call  0x000046de 
+ 00018065  0x000057ec call  0x00004714 
+ 00018066  0x000057ed branch  0x00003fc8 
+ 00018067  0x000057f0 fetch  0x00000008 , 0x00004bbc 
+ 00018068  0x000057f1 bbit1  0x00000029 , 0x00004698 
+ 00018069  0x000057f2 bbit1  0x00000037 , 0x00004698 
+ 00018070  0x000057f3 rtn 
+ 00018071  0x000057f6 jam  0x00000003 , 0x00004ba5 
+ 00018072  0x000057f8 fetch  0x00000001 , 0x0000491f 
+ 00018073  0x000057f9 rtneq  0x000000ff 
+ 00018074  0x000057fa arg  0x00000000 , 0x00000011 
+ 00018075  0x000057fb jam  0x00000006 , 0x00004ba7 
+ 00018076  0x000057fc fetcht  0x00000001 , 0x0000491f 
+ 00018077  0x000057fd call  0x000046a8 
+ 00018078  0x000057fe store  0x00000001 , 0x00004ba5 
+ 00018079  0x000057ff fetch  0x00000001 , 0x00004914 
+ 00018080  0x00005800 beq  0x000000ff , 0x000046a5 
+ 00018081  0x00005801 call  0x000041a8 
+ 00018082  0x00005803 copy  0x00000011 , 0x0000003f 
+ 00018083  0x00005804 bbit1  0x00000006 , 0x000046c9 
+ 00018084  0x00005805 branch  0x000046be 
+ 00018085  0x00005808 fetcht  0x00000001 , 0x0000491f 
+ 00018086  0x00005809 call  0x00003f96 
+ 00018087  0x0000580a branch  0x000046a2 
+ 00018088  0x0000580e fetch  0x00000008 , 0x00004bbc 
+ 00018089  0x0000580f bbit1  0x0000002d , 0x000046b4 
+ 00018090  0x00005810 fetch  0x00000001 , 0x00004ba5 
+ 00018091  0x00005811 copy  0x0000003f , 0x00000013 
+ 00018092  0x00005812 fetch  0x00000001 , 0x00004914 
+ 00018093  0x00005813 beq  0x000000ff , 0x000041d5 
+ 00018094  0x00005814 fetch  0x00000001 , 0x00004bab 
+ 00018095  0x00005815 nbranch  0x000046b1 , 0x00000034 
+ 00018096  0x00005816 branch  0x000046b6 
+ 00018097  0x00005819 jam  0x00000000 , 0x00004baf 
+ 00018098  0x0000581a jam  0x00000000 , 0x00004ba5 
+ 00018099  0x0000581b rtn 
+ 00018100  0x0000581e fetch  0x00000001 , 0x00004ba5 
+ 00018101  0x0000581f branch  0x000041c7 
+ 00018102  0x00005822 call  0x000060fd 
+ 00018103  0x00005823 fetcht  0x00000001 , 0x00004914 
+ 00018104  0x00005824 branch  0x000046b4 , 0x00000001 
+ 00018105  0x00005825 fetcht  0x00000001 , 0x00004914 
+ 00018106  0x00005826 call  0x0000610d 
+ 00018107  0x00005827 fetcht  0x00000001 , 0x0000491f 
+ 00018108  0x00005828 fetch  0x00000001 , 0x00004ba5 
+ 00018109  0x00005829 branch  0x000041c7 
+ 00018110  0x0000582c fetch  0x00000001 , 0x00004baf 
+ 00018111  0x0000582d rtneq  0x00000000 
+ 00018112  0x0000582e jam  0x00000000 , 0x00004baf 
+ 00018113  0x0000582f fetch  0x00000008 , 0x00004bbc 
+ 00018114  0x00005830 rtnbit1  0x00000034 
+ 00018115  0x00005831 fetch  0x00000001 , 0x00004bac 
+ 00018116  0x00005832 sub  0x0000003f , 0x00000014 , 0x0000003e 
+ 00018117  0x00005833 ncall  0x000046f3 , 0x00000002 
+ 00018118  0x00005834 fetch  0x00000001 , 0x00004792 
+ 00018119  0x00005835 store  0x00000001 , 0x00004bac 
+ 00018120  0x00005836 rtn 
+ 00018121  0x00005839 call  0x000046d5 
+ 00018122  0x0000583a rtn  0x00000028 
+ 00018123  0x0000583b fetch  0x00000001 , 0x00004baf 
+ 00018124  0x0000583c rtneq  0x00000001 
+ 00018125  0x0000583d jam  0x00000001 , 0x00004baf 
+ 00018126  0x0000583e fetch  0x00000008 , 0x00004bbc 
+ 00018127  0x0000583f bbit1  0x00000034 , 0x00004514 
+ 00018128  0x00005840 fetch  0x00000001 , 0x00004b88 
+ 00018129  0x00005841 rtn  0x00000034 
+ 00018130  0x00005842 fetch  0x00000001 , 0x00004906 
+ 00018131  0x00005843 store  0x00000001 , 0x00004b88 
+ 00018132  0x00005844 rtn 
+ 00018133  0x00005847 disable  0x00000028 
+ 00018134  0x00005848 fetch  0x00000008 , 0x00004bbc 
+ 00018135  0x00005849 rtnbit1  0x0000002d 
+ 00018136  0x0000584a fetch  0x00000001 , 0x00004b9f 
+ 00018137  0x0000584b rtn  0x00000034 
+ 00018138  0x0000584c fetch  0x00000001 , 0x00004ba0 
+ 00018139  0x0000584d rtn  0x00000034 
+ 00018140  0x0000584e enable  0x00000028 
+ 00018141  0x0000584f rtn 
+ 00018142  0x00005854 fetch  0x00000008 , 0x00004bbc 
+ 00018143  0x00005855 bbit1  0x0000002a , 0x000046e2 
+ 00018144  0x00005856 bbit1  0x0000002b , 0x00003edc 
+ 00018145  0x00005857 rtn 
+ 00018146  0x00005859 fetcht  0x00000001 , 0x00004922 
+ 00018147  0x0000585a call  0x00003f96 
+ 00018148  0x0000585b fetcht  0x00000001 , 0x00004922 
+ 00018149  0x0000585c call  0x000060fd 
+ 00018150  0x0000585d branch  0x000046eb , 0x00000001 
+ 00018151  0x0000585f fetch  0x00000001 , 0x0000493d 
+ 00018152  0x00005860 rtneq  0x00000001 
+ 00018153  0x00005861 jam  0x00000001 , 0x0000493d 
+ 00018154  0x00005862 branch  0x00004356 
+ 00018155  0x00005866 fetch  0x00000008 , 0x00004bbc 
+ 00018156  0x00005867 bbit0  0x0000002b , 0x000046ef 
+ 00018157  0x00005868 fetch  0x00000006 , 0x000048f3 
+ 00018158  0x00005869 store  0x00000006 , 0x000048e7 
+ 00018159  0x0000586b fetch  0x00000001 , 0x0000493d 
+ 00018160  0x0000586c rtneq  0x00000000 
+ 00018161  0x0000586d jam  0x00000000 , 0x0000493d 
+ 00018162  0x0000586e branch  0x00004831 
+ 00018163  0x00005873 bpatch  0x000000de , 0x0000401b 
+ 00018164  0x00005874 fetch  0x00000001 , 0x00004bc5 
+ 00018165  0x00005875 rtneq  0x00000001 
+ 00018166  0x00005876 call  0x00004700 
+ 00018167  0x00005877 storet  0x00000001 , 0x0000493d 
+ 00018168  0x00005879 jam  0x00000000 , 0x000041ca 
+ 00018169  0x0000587a call  0x00004718 
+ 00018170  0x0000587b call  0x00004356 
+ 00018171  0x0000587c call  0x0000471a 
+ 00018172  0x0000587d jam  0x00000001 , 0x00004ad6 
+ 00018173  0x0000587e branch  0x0000462e 
+ 00018174  0x00005882 call  0x00004718 
+ 00018175  0x00005883 branch  0x00005e29 
+ 00018176  0x00005886 fetcht  0x00000001 , 0x0000493d 
+ 00018177  0x00005887 increase  0x00000001 , 0x00000002 
+ 00018178  0x00005888 fetch  0x00000008 , 0x00004bbc 
+ 00018179  0x00005889 bbit1  0x00000011 , 0x00004707 
+ 00018180  0x0000588a sub  0x00000002 , 0x00000002 , 0x0000003e 
+ 00018181  0x0000588b ncall  0x0000470e , 0x00000002 
+ 00018182  0x0000588c rtn 
+ 00018183  0x0000588f fetch  0x00000001 , 0x00004bc5 
+ 00018184  0x00005890 increase  0xffffffff , 0x0000003f 
+ 00018185  0x00005891 isub  0x00000002 , 0x0000003e 
+ 00018186  0x00005892 ncall  0x0000470c , 0x00000002 
+ 00018187  0x00005893 rtn 
+ 00018188  0x00005896 arg  0x00000000 , 0x00000002 
+ 00018189  0x00005897 rtn 
+ 00018190  0x00005899 arg  0x00000001 , 0x00000002 
+ 00018191  0x0000589a rtn 
+ 00018192  0x0000589e arg  0x00000001 , 0x00000002 
+ 00018193  0x0000589f arg  0x0000493d , 0x00000011 
+ 00018194  0x000058a0 arg  0x00000000 , 0x00000012 
+ 00018195  0x000058a1 branch  0x00005e6b 
+ 00018196  0x000058a5 fetch  0x00000008 , 0x00004bbc 
+ 00018197  0x000058a6 rtnbit0  0x00000034 
+ 00018198  0x000058a7 call  0x00004698 
+ 00018199  0x000058a8 rtn 
+ 00018200  0x000058ae arg  0x00000000 , 0x00000007 
+ 00018201  0x000058af branch  0x0000472e 
+ 00018202  0x000058b1 arg  0x00000000 , 0x00000007 
+ 00018203  0x000058b2 branch  0x00004732 
+ 00018204  0x000058b4 arg  0x00000003 , 0x00000007 
+ 00018205  0x000058b5 branch  0x0000472e 
+ 00018206  0x000058b7 arg  0x00000003 , 0x00000007 
+ 00018207  0x000058b8 branch  0x00004732 
+ 00018208  0x000058ba arg  0x00000005 , 0x00000007 
+ 00018209  0x000058bb branch  0x0000472e 
+ 00018210  0x000058bd arg  0x00000005 , 0x00000007 
+ 00018211  0x000058be branch  0x00004732 
+ 00018212  0x000058c1 arg  0x00000014 , 0x00000007 
+ 00018213  0x000058c2 branch  0x0000472e 
+ 00018214  0x000058c5 arg  0x00000018 , 0x00000007 
+ 00018215  0x000058c6 branch  0x0000472e 
+ 00018216  0x000058c9 arg  0x00000016 , 0x00000007 
+ 00018217  0x000058ca branch  0x0000472e 
+ 00018218  0x000058cd arg  0x0000000c , 0x00000007 
+ 00018219  0x000058ce branch  0x0000472e 
+ 00018220  0x000058d1 arg  0x0000001c , 0x00000007 
+ 00018221  0x000058d2 branch  0x0000472e 
+ 00018222  0x000058d6 fetch  0x00000008 , 0x00004bbc 
+ 00018223  0x000058d7 qset1  0x0000003f 
+ 00018224  0x000058d8 store  0x00000008 , 0x00004bbc 
+ 00018225  0x000058d9 rtn 
+ 00018226  0x000058dc fetch  0x00000008 , 0x00004bbc 
+ 00018227  0x000058dd qset0  0x0000003f 
+ 00018228  0x000058de store  0x00000008 , 0x00004bbc 
+ 00018229  0x000058df rtn 
+ 00018230  0x000058e2 arg  0x00000015 , 0x00000007 
+ 00018231  0x000058e3 call  0x0000472e 
+ 00018232  0x000058e4 setarg  0x00000000 
+ 00018233  0x000058e5 store  0x00000008 , 0x00004bdd 
+ 00018234  0x000058e6 store  0x00000008 , 0x00004be6 
+ 00018235  0x000058e7 fetch  0x00000001 , 0x0000490e 
+ 00018236  0x000058e8 and  0x0000003f , 0x000000c0 , 0x0000003f 
+ 00018237  0x000058e9 beq  0x00000040 , 0x00004743 
+ 00018238  0x000058ea beq  0x00000080 , 0x00004745 
+ 00018239  0x000058eb beq  0x000000c0 , 0x0000474a 
+ 00018240  0x000058ec setarg  0x00070008 
+ 00018241  0x000058ee store  0x00000008 , 0x00004bde 
+ 00018242  0x000058ef rtn 
+ 00018243  0x000058f2 setarg  0x00040005 
+ 00018244  0x000058f3 branch  0x00004741 
+ 00018245  0x000058f7 setarg  0x00022303 
+ 00018246  0x000058f9 store  0x00000008 , 0x00004bdd 
+ 00018247  0x000058fa setarg  0x00000003 
+ 00018248  0x000058fb store  0x00000008 , 0x00004be6 
+ 00018249  0x000058fc rtn 
+ 00018250  0x000058ff setarg  0x0000cd03 
+ 00018251  0x00005900 branch  0x00004746 
+ 00018252  0x00005908 bpatch  0x000000df , 0x0000401b 
+ 00018253  0x00005909 fetch  0x00000001 , 0x00004ac1 
+ 00018254  0x0000590a increase  0xffffffff , 0x0000003f 
+ 00018255  0x0000590b store  0x00000001 , 0x00004ac1 
+ 00018256  0x0000590c fetcht  0x00000001 , 0x0000493d 
+ 00018257  0x0000590d sub  0x00000002 , 0x00000001 , 0x0000003e 
+ 00018258  0x0000590e ncall  0x00004700 , 0x00000005 
+ 00018259  0x0000590f storet  0x00000001 , 0x0000493d 
+ 00018260  0x00005910 jam  0x00000000 , 0x000041ca 
+ 00018261  0x00005911 call  0x00004710 
+ 00018262  0x00005912 call  0x000045e2 
+ 00018263  0x00005913 branch  0x00003e1c 
+ 00018264  0x00005919 fetch  0x00000008 , 0x00004bbc 
+ 00018265  0x0000591a rtnbit0  0x00000038 
+ 00018266  0x0000591b fetch  0x00000004 , 0x000048d5 
+ 00018267  0x0000591c rtn  0x00000034 
+ 00018268  0x0000591d call  0x000047fb 
+ 00018269  0x0000591e setarg  0x00000003 
+ 00018270  0x0000591f call  0x000047f1 
+ 00018271  0x00005920 call  0x000047ed , 0x00000034 
+ 00018272  0x00005921 ncall  0x000047ef , 0x00000034 
+ 00018273  0x00005922 setarg  0x00000002 
+ 00018274  0x00005923 call  0x000047f6 
+ 00018275  0x00005924 call  0x000047ed , 0x00000034 
+ 00018276  0x00005925 fetch  0x00000001 , 0x000049ce 
+ 00018277  0x00005926 beq  0x00000001 , 0x0000476b 
+ 00018278  0x00005928 fetch  0x00000008 , 0x00004bbc 
+ 00018279  0x00005929 rtnbit0  0x00000038 
+ 00018280  0x0000592a arg  0x00000005 , 0x00000039 
+ 00018281  0x0000592b arg  0x000049ce , 0x00000005 
+ 00018282  0x0000592c branch  0x00007d9b 
+ 00018283  0x0000592f call  0x0000477f 
+ 00018284  0x00005930 fetch  0x00000002 , 0x000049cf 
+ 00018285  0x00005931 store  0x00000002 , 0x000009f8 
+ 00018286  0x00005932 fetch  0x00000002 , 0x000048d5 
+ 00018287  0x00005933 store  0x00000002 , 0x000009fa 
+ 00018288  0x00005934 call  0x000047b7 
+ 00018289  0x00005935 fetch  0x00000002 , 0x000009f8 
+ 00018290  0x00005936 store  0x00000002 , 0x000049cf 
+ 00018291  0x00005937 fetch  0x00000002 , 0x000009fa 
+ 00018292  0x00005938 store  0x00000002 , 0x000048d5 
+ 00018293  0x0000593a fetch  0x00000002 , 0x000049d1 
+ 00018294  0x0000593b store  0x00000002 , 0x000009f8 
+ 00018295  0x0000593c fetch  0x00000002 , 0x000048d7 
+ 00018296  0x0000593d store  0x00000002 , 0x000009fa 
+ 00018297  0x0000593e call  0x000047bf 
+ 00018298  0x0000593f fetch  0x00000002 , 0x000009f8 
+ 00018299  0x00005940 store  0x00000002 , 0x000049d1 
+ 00018300  0x00005941 fetch  0x00000002 , 0x000009fa 
+ 00018301  0x00005942 store  0x00000002 , 0x000048d7 
+ 00018302  0x00005943 rtn 
+ 00018303  0x00005946 fetch  0x00000008 , 0x00004bbc 
+ 00018304  0x00005947 rtnbit0  0x00000039 
+ 00018305  0x00005948 fetch  0x00000002 , 0x000049cf 
+ 00018306  0x00005949 store  0x00000002 , 0x000009ff 
+ 00018307  0x0000594a call  0x00004792 
+ 00018308  0x0000594b store  0x00000002 , 0x000049cf 
+ 00018309  0x0000594c fetch  0x00000002 , 0x000048d5 
+ 00018310  0x0000594d store  0x00000002 , 0x000009ff 
+ 00018311  0x0000594e call  0x000047a0 
+ 00018312  0x0000594f store  0x00000002 , 0x000048d5 
+ 00018313  0x00005950 fetch  0x00000002 , 0x000049d1 
+ 00018314  0x00005951 store  0x00000002 , 0x000009ff 
+ 00018315  0x00005952 call  0x00004792 
+ 00018316  0x00005953 store  0x00000002 , 0x000049d1 
+ 00018317  0x00005954 fetch  0x00000002 , 0x000048d7 
+ 00018318  0x00005955 store  0x00000002 , 0x000009ff 
+ 00018319  0x00005956 call  0x000047a0 
+ 00018320  0x00005957 store  0x00000002 , 0x000048d7 
+ 00018321  0x00005958 rtn 
+ 00018322  0x0000595b fetch  0x00000001 , 0x00000a00 
+ 00018323  0x0000595c branch  0x00004795 , 0x00000034 
+ 00018324  0x0000595d branch  0x0000479a 
+ 00018325  0x00005960 fetch  0x00000001 , 0x000009ff 
+ 00018326  0x00005961 call  0x000047ad 
+ 00018327  0x00005962 store  0x00000001 , 0x000009ff 
+ 00018328  0x00005964 fetch  0x00000002 , 0x000009ff 
+ 00018329  0x00005965 rtn 
+ 00018330  0x00005967 fetch  0x00000001 , 0x000009ff 
+ 00018331  0x00005968 call  0x000047e9 
+ 00018332  0x00005969 call  0x000047ad 
+ 00018333  0x0000596a call  0x00007ecf , 0x00000034 
+ 00018334  0x0000596b call  0x000047e5 
+ 00018335  0x0000596c branch  0x00004798 
+ 00018336  0x0000596f fetch  0x00000001 , 0x00000a00 
+ 00018337  0x00005970 branch  0x000047a3 , 0x00000034 
+ 00018338  0x00005971 branch  0x000047a7 
+ 00018339  0x00005973 fetch  0x00000001 , 0x000009ff 
+ 00018340  0x00005974 call  0x000047b2 
+ 00018341  0x00005975 store  0x00000001 , 0x000009ff 
+ 00018342  0x00005976 branch  0x00004798 
+ 00018343  0x00005978 fetch  0x00000001 , 0x000009ff 
+ 00018344  0x00005979 call  0x000047e9 
+ 00018345  0x0000597a call  0x000047b2 
+ 00018346  0x0000597b call  0x00007ecf , 0x00000034 
+ 00018347  0x0000597c call  0x000047e5 
+ 00018348  0x0000597d branch  0x00004798 
+ 00018349  0x00005980 mul32  0x0000003f , 0x00000004 , 0x0000003f 
+ 00018350  0x00005981 div  0x0000003f , 0x00000005 
+ 00018351  0x00005982 call  0x00007e64 
+ 00018352  0x00005983 quotient  0x0000003f 
+ 00018353  0x00005984 rtn 
+ 00018354  0x00005986 mul32  0x0000003f , 0x0000000c , 0x0000003f 
+ 00018355  0x00005987 div  0x0000003f , 0x0000000a 
+ 00018356  0x00005988 call  0x00007e64 
+ 00018357  0x00005989 quotient  0x0000003f 
+ 00018358  0x0000598a rtn 
+ 00018359  0x0000598d fetch  0x00000002 , 0x000009f8 
+ 00018360  0x0000598e fetcht  0x00000002 , 0x000009fa 
+ 00018361  0x0000598f iadd  0x00000002 , 0x0000003f 
+ 00018362  0x00005990 fetcht  0x00000001 , 0x000049d3 
+ 00018363  0x00005991 iadd  0x00000002 , 0x0000003f 
+ 00018364  0x00005992 and  0x0000003f , 0x00000001 , 0x00000002 
+ 00018365  0x00005993 storet  0x00000001 , 0x000049d3 
+ 00018366  0x00005994 branch  0x000047c7 
+ 00018367  0x00005997 fetch  0x00000002 , 0x000009f8 
+ 00018368  0x00005998 fetcht  0x00000002 , 0x000009fa 
+ 00018369  0x00005999 iadd  0x00000002 , 0x0000003f 
+ 00018370  0x0000599a fetcht  0x00000001 , 0x000049d4 
+ 00018371  0x0000599b iadd  0x00000002 , 0x0000003f 
+ 00018372  0x0000599c and  0x0000003f , 0x00000001 , 0x00000002 
+ 00018373  0x0000599d storet  0x00000001 , 0x000049d4 
+ 00018374  0x0000599e branch  0x000047c7 
+ 00018375  0x000059a1 store  0x00000003 , 0x000009fc 
+ 00018376  0x000059a2 isolate1  0x00000010 , 0x0000003f 
+ 00018377  0x000059a3 branch  0x000047d1 , 0x00000001 
+ 00018378  0x000059a4 fetch  0x00000001 , 0x000009fd 
+ 00018379  0x000059a5 beq  0x000000ff , 0x000047d8 
+ 00018380  0x000059a6 fetch  0x00000001 , 0x000009fc 
+ 00018381  0x000059a8 rshift  0x0000003f , 0x0000003f 
+ 00018382  0x000059a9 store  0x00000002 , 0x000009f8 
+ 00018383  0x000059aa store  0x00000002 , 0x000009fa 
+ 00018384  0x000059ab rtn 
+ 00018385  0x000059ad fetch  0x00000001 , 0x000009fd 
+ 00018386  0x000059ae beq  0x00000000 , 0x000047d5 
+ 00018387  0x000059af fetch  0x00000003 , 0x000009fc 
+ 00018388  0x000059b0 branch  0x000047cd 
+ 00018389  0x000059b2 jam  0x00000000 , 0x000009fe 
+ 00018390  0x000059b3 fetch  0x00000001 , 0x000009fc 
+ 00018391  0x000059b4 branch  0x000047cd 
+ 00018392  0x000059b7 fetch  0x00000001 , 0x000009fc 
+ 00018393  0x000059b8 call  0x000047e3 
+ 00018394  0x000059b9 store  0x00000001 , 0x000009f8 
+ 00018395  0x000059ba store  0x00000001 , 0x000009fa 
+ 00018396  0x000059bb branch  0x000047e1 , 0x00000034 
+ 00018397  0x000059bc setarg  0x000000ff 
+ 00018398  0x000059be store  0x00000001 , 0x000009f9 
+ 00018399  0x000059bf store  0x00000001 , 0x000009fb 
+ 00018400  0x000059c0 rtn 
+ 00018401  0x000059c2 setarg  0x00000000 
+ 00018402  0x000059c3 branch  0x000047de 
+ 00018403  0x000059c6 call  0x000047e9 
+ 00018404  0x000059c7 rshift  0x0000003f , 0x0000003f 
+ 00018405  0x000059c9 call  0x000047ea 
+ 00018406  0x000059ca sub  0x0000003f , 0x00000000 , 0x0000003f 
+ 00018407  0x000059cb store  0x00000001 , 0x000009ff 
+ 00018408  0x000059cc rtn 
+ 00018409  0x000059cf sub  0x0000003f , 0x00000000 , 0x0000003f 
+ 00018410  0x000059d1 store  0x00000001 , 0x00000970 
+ 00018411  0x000059d2 fetch  0x00000001 , 0x00000970 
+ 00018412  0x000059d3 rtn 
+ 00018413  0x000059d6 jam  0x00000000 , 0x000049ce 
+ 00018414  0x000059d7 rtn 
+ 00018415  0x000059d9 jam  0x00000001 , 0x000049ce 
+ 00018416  0x000059da rtn 
+ 00018417  0x000059de isub  0x00000011 , 0x0000003e 
+ 00018418  0x000059df nbranch  0x00007ecf , 0x00000002 
+ 00018419  0x000059e0 isub  0x00000012 , 0x0000003e 
+ 00018420  0x000059e1 nbranch  0x00007ecf , 0x00000002 
+ 00018421  0x000059e2 branch  0x00007ed1 
+ 00018422  0x000059e4 isub  0x00000011 , 0x0000003e 
+ 00018423  0x000059e5 nrtn  0x00000002 
+ 00018424  0x000059e6 isub  0x00000012 , 0x0000003e 
+ 00018425  0x000059e7 nrtn  0x00000002 
+ 00018426  0x000059e8 branch  0x00007ed1 
+ 00018427  0x000059eb fetch  0x00000002 , 0x000048d5 
+ 00018428  0x000059ec call  0x00004802 
+ 00018429  0x000059ed copy  0x0000003f , 0x00000011 
+ 00018430  0x000059ee fetch  0x00000002 , 0x000048d7 
+ 00018431  0x000059ef call  0x00004802 
+ 00018432  0x000059f0 copy  0x0000003f , 0x00000012 
+ 00018433  0x000059f1 rtn 
+ 00018434  0x000059f4 store  0x00000002 , 0x000009fa 
+ 00018435  0x000059f5 fetch  0x00000001 , 0x000009fb 
+ 00018436  0x000059f6 beq  0x000000ff , 0x00004808 
+ 00018437  0x000059f7 fetch  0x00000001 , 0x000009fa 
+ 00018438  0x000059f9 and_into  0x000000ff , 0x0000003f 
+ 00018439  0x000059fb rtn 
+ 00018440  0x000059fd fetch  0x00000002 , 0x000009fa 
+ 00018441  0x000059fe sub  0x0000003f , 0x00000000 , 0x0000003f 
+ 00018442  0x000059ff branch  0x00004806 
+ 00018443  0x00005a02 arg  0x000048c8 , 0x00000013 
+ 00018444  0x00005a03 arg  0x0000480e , 0x00000012 
+ 00018445  0x00005a04 branch  0x000031fc 
+ 00018446  0x00005a06 fetch  0x00000004 , 0x000048bc 
+ 00018447  0x00005a07 store  0x00000004 , 0x0000485f 
+ 00018448  0x00005a08 jam  0x00000001 , 0x00004abf 
+ 00018449  0x00005a09 rtn 
+ 00018450  0x00005a0d fetch  0x00000001 , 0x00004bf3 
+ 00018451  0x00005a0e beq  0x00000000 , 0x0000481a 
+ 00018452  0x00005a0f beq  0x00000001 , 0x0000481c 
+ 00018453  0x00005a10 beq  0x00000002 , 0x00004817 
+ 00018454  0x00005a11 beq  0x00000003 , 0x0000481e 
+ 00018455  0x00005a13 setarg  0x000ea600 
+ 00018456  0x00005a15 store  0x00000004 , 0x000048bc 
+ 00018457  0x00005a16 rtn 
+ 00018458  0x00005a18 setarg  0x0005e740 
+ 00018459  0x00005a19 branch  0x00004818 
+ 00018460  0x00005a1b setarg  0x000927c0 
+ 00018461  0x00005a1c branch  0x00004818 
+ 00018462  0x00005a1e setarg  0x00124f80 
+ 00018463  0x00005a1f branch  0x00004818 
+ 00018464  0x00005a24 jam  0x00000000 , 0x000048a9 
+ 00018465  0x00005a25 call  0x00002659 
+ 00018466  0x00005a26 setarg  0xffffffff 
+ 00018467  0x00005a27 store  0x00000004 , 0x0000485f 
+ 00018468  0x00005a28 setarg  0x00000000 
+ 00018469  0x00005a29 store  0x00000007 , 0x000048d4 
+ 00018470  0x00005a2a jam  0x00000001 , 0x00004bf2 
+ 00018471  0x00005a2b call  0x0000427c 
+ 00018472  0x00005a2c call  0x00003e6a 
+ 00018473  0x00005a2d branch  0x000026bc 
+ 00018474  0x00005a30 fetch  0x00000001 , 0x00004bf2 
+ 00018475  0x00005a31 ncall  0x000041ea , 0x00000034 
+ 00018476  0x00005a32 jam  0x00000000 , 0x00004bf2 
+ 00018477  0x00005a33 branch  0x00002658 
+ 00018478  0x00005a36 fetch  0x00000001 , 0x00004bf2 
+ 00018479  0x00005a37 nbranch  0x00002633 , 0x00000034 
+ 00018480  0x00005a38 branch  0x0000262f 
+ 00018481  0x00005a3c set0  0x00000026 , 0x00000000 
+ 00018482  0x00005a3d jam  0x00000000 , 0x000048a5 
+ 00018483  0x00005a3e arg  0x00000001 , 0x00000007 
+ 00018484  0x00005a3f branch  0x00004732 
+ 00018485  0x00005a43 fetch  0x00000008 , 0x00004bbc 
+ 00018486  0x00005a44 bbit0  0x00000011 , 0x00004842 
+ 00018487  0x00005a45 call  0x00003e28 
+ 00018488  0x00005a46 branch  0x00004845 , 0x00000028 
+ 00018489  0x00005a47 fetch  0x00000008 , 0x00004bbc 
+ 00018490  0x00005a48 bbit1  0x00000030 , 0x0000484b 
+ 00018491  0x00005a49 bbit0  0x00000031 , 0x0000484b 
+ 00018492  0x00005a4a call  0x00004150 
+ 00018493  0x00005a4b and  0x0000003f , 0x00000007 , 0x0000003f 
+ 00018494  0x00005a4c fetcht  0x00000001 , 0x00004bdc 
+ 00018495  0x00005a4d isub  0x00000002 , 0x0000003e 
+ 00018496  0x00005a4e branch  0x00004866 , 0x00000005 
+ 00018497  0x00005a4f branch  0x0000484b 
+ 00018498  0x00005a52 fetch  0x00000001 , 0x00004ac1 
+ 00018499  0x00005a53 nbranch  0x0000474c , 0x00000034 
+ 00018500  0x00005a54 rtn 
+ 00018501  0x00005a57 fetch  0x00000002 , 0x00004889 
+ 00018502  0x00005a58 store  0x00000002 , 0x0000488b 
+ 00018503  0x00005a59 jam  0x00000003 , 0x0000488f 
+ 00018504  0x00005a5a branch  0x00002562 
+ 00018505  0x00005a5e call  0x00003e28 
+ 00018506  0x00005a5f branch  0x00004855 , 0x00000028 
+ 00018507  0x00005a61 jam  0x00000000 , 0x0000493d 
+ 00018508  0x00005a62 fetch  0x00000002 , 0x00004bcb 
+ 00018509  0x00005a63 store  0x00000002 , 0x0000488b 
+ 00018510  0x00005a64 jam  0x00000002 , 0x0000488f 
+ 00018511  0x00005a65 branch  0x00002562 
+ 00018512  0x00005a68 call  0x00004919 
+ 00018513  0x00005a69 fetch  0x00000002 , 0x00004885 
+ 00018514  0x00005a6a store  0x00000002 , 0x0000488b 
+ 00018515  0x00005a6b jam  0x00000004 , 0x0000488f 
+ 00018516  0x00005a6c branch  0x00002562 
+ 00018517  0x00005a70 fetch  0x00000001 , 0x0000493d 
+ 00018518  0x00005a71 beq  0x00000000 , 0x00004845 
+ 00018519  0x00005a72 call  0x00004354 
+ 00018520  0x00005a73 branch  0x00004859 
+ 00018521  0x00005a76 call  0x00004831 
+ 00018522  0x00005a77 call  0x0000495b 
+ 00018523  0x00005a78 jam  0x00000001 , 0x0000493d 
+ 00018524  0x00005a79 call  0x000045fd 
+ 00018525  0x00005a7a branch  0x00003e1c 
+ 00018526  0x00005a7d call  0x00003e28 
+ 00018527  0x00005a7e branch  0x00003e5a , 0x00000028 
+ 00018528  0x00005a7f branch  0x00004593 
+ 00018529  0x00005a83 call  0x00003e28 
+ 00018530  0x00005a84 rtn  0x00000028 
+ 00018531  0x00005a85 fetch  0x00000008 , 0x00004bbc 
+ 00018532  0x00005a86 bbit1  0x0000002f , 0x0000462e 
+ 00018533  0x00005a87 rtn 
+ 00018534  0x00005a8a arg  0x00000001 , 0x00000007 
+ 00018535  0x00005a8b call  0x0000472e 
+ 00018536  0x00005a8c setarg  0x00000000 
+ 00018537  0x00005a8d store  0x00000002 , 0x0000488b 
+ 00018538  0x00005a8e call  0x000045b6 
+ 00018539  0x00005a8f call  0x000049db 
+ 00018540  0x00005a90 call  0x00004919 
+ 00018541  0x00005a91 jam  0x00000001 , 0x00004839 
+ 00018542  0x00005a92 fetch  0x00000008 , 0x00004bbc 
+ 00018543  0x00005a93 bbit0  0x00000015 , 0x000022e4 
+ 00018544  0x00005a94 jam  0x00000002 , 0x00004839 
+ 00018545  0x00005a95 branch  0x000022e4 
+ 00018546  0x00005a99 fetch  0x00000001 , 0x000048a9 
+ 00018547  0x00005a9a nbranch  0x00004820 , 0x00000034 
+ 00018548  0x00005a9b fetch  0x00000001 , 0x0000488f 
+ 00018549  0x00005a9c beq  0x00000002 , 0x0000487f 
+ 00018550  0x00005a9d beq  0x00000004 , 0x00004883 
+ 00018551  0x00005a9e beq  0x00000003 , 0x00004888 
+ 00018552  0x00005aa0 call  0x0000495f 
+ 00018553  0x00005aa1 call  0x00004831 
+ 00018554  0x00005aa2 fetch  0x00000001 , 0x00004ac1 
+ 00018555  0x00005aa3 nbranch  0x0000474c , 0x00000034 
+ 00018556  0x00005aa4 fetch  0x00000001 , 0x0000493d 
+ 00018557  0x00005aa5 beq  0x00000000 , 0x00003e5a 
+ 00018558  0x00005aa6 rtn 
+ 00018559  0x00005aa9 fetch  0x00000008 , 0x00004bbc 
+ 00018560  0x00005aaa bbit1  0x0000002f , 0x00004850 
+ 00018561  0x00005aab bbit1  0x00000030 , 0x00004850 
+ 00018562  0x00005aac branch  0x00004845 
+ 00018563  0x00005ab0 fetch  0x00000008 , 0x00004bbc 
+ 00018564  0x00005ab1 bbit0  0x0000002f , 0x00004878 
+ 00018565  0x00005ab2 fetch  0x00000001 , 0x00004bc5 
+ 00018566  0x00005ab3 beq  0x00000001 , 0x00004878 
+ 00018567  0x00005ab4 branch  0x00004859 
+ 00018568  0x00005ab7 fetch  0x00000008 , 0x00004bbc 
+ 00018569  0x00005ab8 bbit0  0x0000002f , 0x00004878 
+ 00018570  0x00005ab9 bbit1  0x00000013 , 0x00004878 
+ 00018571  0x00005aba bbit1  0x00000012 , 0x00004878 
+ 00018572  0x00005abb branch  0x00004851 
+ 00018573  0x00005abf call  0x0000430a 
+ 00018574  0x00005ac0 jam  0x00000000 , 0x00004abf 
+ 00018575  0x00005ac1 jam  0x00000000 , 0x000048a5 
+ 00018576  0x00005ac2 jam  0x00000000 , 0x0000488f 
+ 00018577  0x00005ac3 fetch  0x00000004 , 0x00004895 
+ 00018578  0x00005ac4 fetch  0x00000004 , 0x00004891 
+ 00018579  0x00005ac5 isub  0x00000002 , 0x0000003e 
+ 00018580  0x00005ac6 rtn  0x00000005 
+ 00018581  0x00005ac7 branch  0x00004861 
+ 00018582  0x00005aca arg  0x00000001 , 0x00000007 
+ 00018583  0x00005acb call  0x00004732 
+ 00018584  0x00005acc call  0x00004913 
+ 00018585  0x00005acd setarg  0x00000000 
+ 00018586  0x00005ace store  0x00000002 , 0x00004887 
+ 00018587  0x00005acf store  0x00000002 , 0x0000488b 
+ 00018588  0x00005ad0 store  0x00000001 , 0x000048a5 
+ 00018589  0x00005ad1 store  0x00000001 , 0x000049cd 
+ 00018590  0x00005ad2 store  0x00000001 , 0x0000488f 
+ 00018591  0x00005ad4 call  0x0000430a 
+ 00018592  0x00005ad5 call  0x0000431b 
+ 00018593  0x00005ad6 fetch  0x00000004 , 0x0000483f 
+ 00018594  0x00005ad7 store  0x00000004 , 0x00004895 
+ 00018595  0x00005ad8 store  0x00000004 , 0x00004998 
+ 00018596  0x00005ad9 branch  0x0000462e 
+ 00018597  0x00005adc rtnmark0  0x00000026 
+ 00018598  0x00005add call  0x00003fb0 
+ 00018599  0x00005ade nrtn  0x00000028 
+ 00018600  0x00005adf fetch  0x00000008 , 0x00004bbc 
+ 00018601  0x00005ae0 bbit0  0x00000015 , 0x000048ac 
+ 00018602  0x00005ae1 fetch  0x00000001 , 0x00004b9c 
+ 00018603  0x00005ae2 nbranch  0x000048c1 , 0x00000034 
+ 00018604  0x00005ae4 call  0x0000430b 
+ 00018605  0x00005ae5 fetch  0x00000001 , 0x00004839 
+ 00018606  0x00005ae6 bbit1  0x00000001 , 0x000048bb 
+ 00018607  0x00005ae7 fetcht  0x00000001 , 0x000047ca 
+ 00018608  0x00005ae8 fetch  0x00000001 , 0x000048d4 
+ 00018609  0x00005ae9 ior  0x00000002 , 0x0000003f 
+ 00018610  0x00005aea store  0x00000001 , 0x000048d4 
+ 00018611  0x00005aeb fetcht  0x00000001 , 0x000047cf 
+ 00018612  0x00005aec fetch  0x00000001 , 0x000048d9 
+ 00018613  0x00005aed iadd  0x00000002 , 0x0000003f 
+ 00018614  0x00005aee store  0x00000001 , 0x000048d9 
+ 00018615  0x00005aef fetcht  0x00000001 , 0x000047d0 
+ 00018616  0x00005af0 fetch  0x00000001 , 0x000048da 
+ 00018617  0x00005af1 iadd  0x00000002 , 0x0000003f 
+ 00018618  0x00005af2 store  0x00000001 , 0x000048da 
+ 00018619  0x00005af4 jam  0x00000001 , 0x00004839 
+ 00018620  0x00005af5 arg  0x00000007 , 0x00000011 
+ 00018621  0x00005af6 arg  0x000048d4 , 0x00000012 
+ 00018622  0x00005af7 fetch  0x00000002 , 0x000048d9 
+ 00018623  0x00005af8 rtn  0x00000034 
+ 00018624  0x00005af9 branch  0x000026e8 
+ 00018625  0x00005afc jam  0x00000002 , 0x00004839 
+ 00018626  0x00005afd arg  0x00000009 , 0x00000011 
+ 00018627  0x00005afe fetch  0x00000001 , 0x00004b9d 
+ 00018628  0x00005aff nbranch  0x000048c7 , 0x00000034 
+ 00018629  0x00005b00 arg  0x00004be6 , 0x00000012 
+ 00018630  0x00005b01 rtn 
+ 00018631  0x00005b03 arg  0x00004bdd , 0x00000012 
+ 00018632  0x00005b04 rtn 
+ 00018633  0x00005b0b setarg  0x00000000 
+ 00018634  0x00005b0c store  0x00000003 , 0x00004bb5 
+ 00018635  0x00005b0d rtn 
+ 00018636  0x00005b10 fetch  0x00000008 , 0x00004bbc 
+ 00018637  0x00005b11 rtnbit0  0x00000016 
+ 00018638  0x00005b12 fetch  0x00000001 , 0x00004abf 
+ 00018639  0x00005b13 rtn  0x00000034 
+ 00018640  0x00005b14 fetch  0x00000001 , 0x000048ab 
+ 00018641  0x00005b15 rtn  0x00000034 
+ 00018642  0x00005b16 fetch  0x00000001 , 0x00004bb2 
+ 00018643  0x00005b17 increase  0x00000001 , 0x0000003f 
+ 00018644  0x00005b18 and_into  0x00000003 , 0x0000003f 
+ 00018645  0x00005b19 store  0x00000001 , 0x00004bb2 
+ 00018646  0x00005b1a nrtn  0x00000034 
+ 00018647  0x00005b1b jam  0x00000000 , 0x00004bb3 
+ 00018648  0x00005b1d fetch  0x00000001 , 0x00004bb3 
+ 00018649  0x00005b1e increase  0x00000001 , 0x0000003f 
+ 00018650  0x00005b1f store  0x00000001 , 0x00004bb3 
+ 00018651  0x00005b20 sub  0x0000003f , 0x00000008 , 0x0000003e 
+ 00018652  0x00005b21 nbranch  0x000048e3 , 0x00000002 
+ 00018653  0x00005b22 call  0x000025a3 
+ 00018654  0x00005b23 call  0x00002662 
+ 00018655  0x00005b24 nbranch  0x000048e9 , 0x00000018 
+ 00018656  0x00005b25 nbranch  0x000048e9 , 0x0000002f 
+ 00018657  0x00005b26 call  0x000048fb 
+ 00018658  0x00005b27 call  0x000048f2 
+ 00018659  0x00005b29 call  0x000025a0 
+ 00018660  0x00005b2a fetch  0x00000001 , 0x00004bb4 
+ 00018661  0x00005b2b increase  0x00000001 , 0x0000003f 
+ 00018662  0x00005b2c store  0x00000001 , 0x00004bb4 
+ 00018663  0x00005b2d beq  0x00000010 , 0x000048eb 
+ 00018664  0x00005b2e rtn 
+ 00018665  0x00005b31 call  0x00002281 
+ 00018666  0x00005b32 branch  0x000048d8 
+ 00018667  0x00005b35 jam  0x00000000 , 0x00004bb4 
+ 00018668  0x00005b36 fetch  0x00000001 , 0x00004bb5 
+ 00018669  0x00005b37 rtnbit1  0x00000000 
+ 00018670  0x00005b38 set1  0x00000000 , 0x0000003f 
+ 00018671  0x00005b39 store  0x00000001 , 0x00004bb5 
+ 00018672  0x00005b3a fetch  0x00000002 , 0x00004bcd 
+ 00018673  0x00005b3d branch  0x00004820 
+ 00018674  0x00005b41 fetch  0x00000001 , 0x000048ab 
+ 00018675  0x00005b42 branch  0x000048c9 , 0x00000034 
+ 00018676  0x00005b43 jam  0x00000000 , 0x00004bb4 
+ 00018677  0x00005b44 fetch  0x00000001 , 0x00004bb5 
+ 00018678  0x00005b45 rtnbit0  0x00000000 
+ 00018679  0x00005b46 set0  0x00000000 , 0x0000003f 
+ 00018680  0x00005b47 store  0x00000001 , 0x00004bb5 
+ 00018681  0x00005b48 call  0x00004584 
+ 00018682  0x00005b49 branch  0x000041ea 
+ 00018683  0x00005b4c call  0x00002679 
+ 00018684  0x00005b4d fetch  0x00000001 , 0x000047a8 
+ 00018685  0x00005b4e compare  0x00000008 , 0x0000003f , 0x000000f8 
+ 00018686  0x00005b4f nrtn  0x00000001 
+ 00018687  0x00005b50 fetch  0x00000001 , 0x000047a9 
+ 00018688  0x00005b51 beq  0x000000ff , 0x00004820 
+ 00018689  0x00005b52 rtn 
+ 00018690  0x00005b59 fetch  0x00000001 , 0x0000493d 
+ 00018691  0x00005b5a bne  0x00000000 , 0x00001468 
+ 00018692  0x00005b5b fetch  0x00000001 , 0x0000487a 
+ 00018693  0x00005b5c rtn  0x00000034 
+ 00018694  0x00005b5e jam  0x00000002 , 0x00008042 
+ 00018695  0x00005b5f fetch  0x00000001 , 0x00008138 
+ 00018696  0x00005b60 and  0x0000003f , 0x000000fc , 0x0000003f 
+ 00018697  0x00005b61 store  0x00000001 , 0x0000804c 
+ 00018698  0x00005b62 branch  0x0000154c 
+ 00018699  0x00005b69 fetch  0x00000008 , 0x00004bbc 
+ 00018700  0x00005b6a rtnbit0  0x00000020 
+ 00018701  0x00005b6b fetch  0x00000001 , 0x00004bb8 
+ 00018702  0x00005b6c rtn  0x00000034 
+ 00018703  0x00005b6d increase  0xffffffff , 0x0000003f 
+ 00018704  0x00005b6e store  0x00000001 , 0x00004bb8 
+ 00018705  0x00005b6f branch  0x0000495f , 0x00000034 
+ 00018706  0x00005b70 branch  0x0000496d 
+ 00018707  0x00005b73 fetch  0x00000008 , 0x00004bbc 
+ 00018708  0x00005b74 rtnbit0  0x00000020 
+ 00018709  0x00005b75 call  0x000049db 
+ 00018710  0x00005b76 fetch  0x00000001 , 0x00004bd1 
+ 00018711  0x00005b77 store  0x00000001 , 0x00004bb8 
+ 00018712  0x00005b78 rtn 
+ 00018713  0x00005b7c jam  0x00000000 , 0x00004bb8 
+ 00018714  0x00005b7d fetch  0x00000002 , 0x00004bd5 
+ 00018715  0x00005b7e store  0x00000002 , 0x00004935 
+ 00018716  0x00005b7f store  0x00000002 , 0x00004937 
+ 00018717  0x00005b81 fetch  0x00000001 , 0x0000493d 
+ 00018718  0x00005b82 beq  0x00000000 , 0x00004922 
+ 00018719  0x00005b83 beq  0x00000001 , 0x00004924 
+ 00018720  0x00005b84 beq  0x00000002 , 0x00004926 
+ 00018721  0x00005b85 rtn 
+ 00018722  0x00005b87 fetch  0x00000001 , 0x00004919 
+ 00018723  0x00005b88 branch  0x00004927 
+ 00018724  0x00005b8a fetch  0x00000001 , 0x00004926 
+ 00018725  0x00005b8b branch  0x00004927 
+ 00018726  0x00005b8d fetch  0x00000001 , 0x00004927 
+ 00018727  0x00005b8f store  0x00000001 , 0x00000964 
+ 00018728  0x00005b90 call  0x0000495f 
+ 00018729  0x00005b91 fetch  0x00000001 , 0x00000964 
+ 00018730  0x00005b92 store  0x00000001 , 0x00004934 
+ 00018731  0x00005b93 arg  0x00000000 , 0x00000011 
+ 00018732  0x00005b94 jam  0x00000001 , 0x00004932 
+ 00018733  0x00005b95 branch  0x00007871 
+ 00018734  0x00005b99 fetch  0x00000001 , 0x00004928 
+ 00018735  0x00005b9a rtneq  0x000000ff 
+ 00018736  0x00005b9b fetch  0x00000002 , 0x00004ad3 
+ 00018737  0x00005b9c nrtn  0x00000034 
+ 00018738  0x00005b9d fetch  0x00000002 , 0x00004887 
+ 00018739  0x00005b9e nrtn  0x00000034 
+ 00018740  0x00005b9f fetch  0x00000002 , 0x0000488b 
+ 00018741  0x00005ba0 nrtn  0x00000034 
+ 00018742  0x00005ba1 fetch  0x00000001 , 0x00004bb8 
+ 00018743  0x00005ba2 nrtn  0x00000034 
+ 00018744  0x00005ba3 fetch  0x00000001 , 0x00004bd2 
+ 00018745  0x00005ba4 branch  0x0000493f , 0x00000034 
+ 00018746  0x00005ba5 store  0x00000001 , 0x00004bb9 
+ 00018747  0x00005ba6 rtn 
+ 00018748  0x00005baa arg  0x00004bb9 , 0x00000013 
+ 00018749  0x00005bab arg  0x0000493f , 0x00000012 
+ 00018750  0x00005bac branch  0x000031fc 
+ 00018751  0x00005baf fetch  0x00000001 , 0x00004928 
+ 00018752  0x00005bb0 store  0x00000001 , 0x00004934 
+ 00018753  0x00005bb1 fetch  0x00000002 , 0x00004bd3 
+ 00018754  0x00005bb2 store  0x00000002 , 0x00004935 
+ 00018755  0x00005bb3 store  0x00000002 , 0x00004937 
+ 00018756  0x00005bb4 arg  0x00000000 , 0x00000011 
+ 00018757  0x00005bb5 fetcht  0x00000001 , 0x00004997 
+ 00018758  0x00005bb6 increase  0x00000001 , 0x00000002 
+ 00018759  0x00005bb7 fetch  0x00000008 , 0x00004bbc 
+ 00018760  0x00005bb8 bbit0  0x0000001c , 0x0000494c 
+ 00018761  0x00005bb9 increase  0x00000001 , 0x00000002 
+ 00018762  0x00005bba sub  0x00000002 , 0x00000004 , 0x0000003e 
+ 00018763  0x00005bbb ncall  0x0000494f , 0x00000002 
+ 00018764  0x00005bbd storet  0x00000001 , 0x00004933 
+ 00018765  0x00005bbe jam  0x00000001 , 0x00004932 
+ 00018766  0x00005bbf rtn 
+ 00018767  0x00005bc2 arg  0x00000001 , 0x00000002 
+ 00018768  0x00005bc3 rtn 
+ 00018769  0x00005bc6 disable  0x00000028 
+ 00018770  0x00005bc7 fetch  0x00000001 , 0x00004928 
+ 00018771  0x00005bc8 fetcht  0x00000001 , 0x00004934 
+ 00018772  0x00005bc9 isub  0x00000002 , 0x0000003e 
+ 00018773  0x00005bca nrtn  0x00000005 
+ 00018774  0x00005bcb fetch  0x00000001 , 0x00004933 
+ 00018775  0x00005bcc rtn  0x00000034 
+ 00018776  0x00005bcd jam  0x00000000 , 0x000048fd 
+ 00018777  0x00005bce enable  0x00000028 
+ 00018778  0x00005bcf rtn 
+ 00018779  0x00005bd2 call  0x0000496b 
+ 00018780  0x00005bd3 call  0x00004964 
+ 00018781  0x00005bd4 call  0x00004967 
+ 00018782  0x00005bd5 branch  0x00004969 
+ 00018783  0x00005bd8 fetch  0x00000001 , 0x0000493d 
+ 00018784  0x00005bd9 beq  0x00000000 , 0x00004964 
+ 00018785  0x00005bda beq  0x00000001 , 0x00004967 
+ 00018786  0x00005bdb beq  0x00000002 , 0x00004969 
+ 00018787  0x00005bdc rtn 
+ 00018788  0x00005bdf jam  0x00000000 , 0x00004bbb 
+ 00018789  0x00005be0 fetcht  0x00000001 , 0x00004919 
+ 00018790  0x00005be1 branch  0x00004978 
+ 00018791  0x00005be4 fetcht  0x00000001 , 0x00004926 
+ 00018792  0x00005be5 branch  0x00004978 
+ 00018793  0x00005be8 fetcht  0x00000001 , 0x00004927 
+ 00018794  0x00005be9 branch  0x00004978 
+ 00018795  0x00005bec fetcht  0x00000001 , 0x00004928 
+ 00018796  0x00005bed branch  0x00004978 
+ 00018797  0x00005bf0 fetch  0x00000001 , 0x0000493d 
+ 00018798  0x00005bf1 beq  0x00000000 , 0x00004972 
+ 00018799  0x00005bf2 beq  0x00000001 , 0x00004974 
+ 00018800  0x00005bf3 beq  0x00000002 , 0x00004976 
+ 00018801  0x00005bf4 rtn 
+ 00018802  0x00005bf7 fetcht  0x00000001 , 0x00004919 
+ 00018803  0x00005bf8 branch  0x0000497c 
+ 00018804  0x00005bfa fetcht  0x00000001 , 0x00004926 
+ 00018805  0x00005bfb branch  0x0000497c 
+ 00018806  0x00005bfd fetcht  0x00000001 , 0x00004927 
+ 00018807  0x00005bfe branch  0x0000497c 
+ 00018808  0x00005c01 bpatch  0x000000e0 , 0x0000401c 
+ 00018809  0x00005c02 storet  0x00000001 , 0x00004934 
+ 00018810  0x00005c03 arg  0x00000000 , 0x00000011 
+ 00018811  0x00005c04 branch  0x0000786c 
+ 00018812  0x00005c06 bpatch  0x000000e1 , 0x0000401c 
+ 00018813  0x00005c07 storet  0x00000001 , 0x00004934 
+ 00018814  0x00005c08 arg  0x00000000 , 0x00000011 
+ 00018815  0x00005c09 branch  0x00007867 
+ 00018816  0x00005c0c fetch  0x00000001 , 0x00004919 
+ 00018817  0x00005c0d isub  0x00000002 , 0x0000003e 
+ 00018818  0x00005c0e call  0x0000499f , 0x00000005 
+ 00018819  0x00005c0f fetch  0x00000008 , 0x00004bbc 
+ 00018820  0x00005c10 bbit0  0x00000024 , 0x00006109 
+ 00018821  0x00005c11 call  0x00004990 
+ 00018822  0x00005c12 call  0x00004994 
+ 00018823  0x00005c13 call  0x00004998 
+ 00018824  0x00005c14 fetch  0x00000001 , 0x00004bba 
+ 00018825  0x00005c15 branch  0x00006109 , 0x00000034 
+ 00018826  0x00005c16 jam  0x00000000 , 0x00004bba 
+ 00018827  0x00005c17 branch  0x00006121 
+ 00018828  0x00005c1a fetch  0x00000001 , 0x00004919 
+ 00018829  0x00005c1b isub  0x00000002 , 0x0000003e 
+ 00018830  0x00005c1c call  0x000049a1 , 0x00000005 
+ 00018831  0x00005c1d branch  0x0000610d 
+ 00018832  0x00005c21 fetch  0x00000008 , 0x00004bbc 
+ 00018833  0x00005c22 rtnbit0  0x00000026 
+ 00018834  0x00005c23 fetch  0x00000001 , 0x00004927 
+ 00018835  0x00005c24 branch  0x0000499b 
+ 00018836  0x00005c26 fetch  0x00000008 , 0x00004bbc 
+ 00018837  0x00005c27 rtnbit0  0x00000025 
+ 00018838  0x00005c28 fetch  0x00000001 , 0x00004928 
+ 00018839  0x00005c29 branch  0x0000499b 
+ 00018840  0x00005c2b fetch  0x00000008 , 0x00004bbc 
+ 00018841  0x00005c2c rtnbit0  0x00000027 
+ 00018842  0x00005c2d fetch  0x00000001 , 0x00004925 
+ 00018843  0x00005c2f isub  0x00000002 , 0x0000003e 
+ 00018844  0x00005c30 nrtn  0x00000005 
+ 00018845  0x00005c31 jam  0x00000001 , 0x00004bba 
+ 00018846  0x00005c32 rtn 
+ 00018847  0x00005c35 jam  0x00000000 , 0x00004bbb 
+ 00018848  0x00005c36 rtn 
+ 00018849  0x00005c39 jam  0x00000001 , 0x00004bbb 
+ 00018850  0x00005c3a rtn 
+ 00018851  0x00005c3d fetch  0x00000002 , 0x00004ad3 
+ 00018852  0x00005c3e nrtn  0x00000034 
+ 00018853  0x00005c3f fetch  0x00000002 , 0x00004887 
+ 00018854  0x00005c40 nrtn  0x00000034 
+ 00018855  0x00005c41 fetch  0x00000002 , 0x0000488b 
+ 00018856  0x00005c42 nrtn  0x00000034 
+ 00018857  0x00005c43 fetch  0x00000001 , 0x00004bb8 
+ 00018858  0x00005c44 nrtn  0x00000034 
+ 00018859  0x00005c45 call  0x00004951 
+ 00018860  0x00005c46 rtn  0x00000028 
+ 00018861  0x00005c47 fetch  0x00000008 , 0x00004bbc 
+ 00018862  0x00005c48 rtnbit0  0x00000021 
+ 00018863  0x00005c49 rtnbit0  0x00000004 
+ 00018864  0x00005c4a bbit1  0x00000023 , 0x000049c9 
+ 00018865  0x00005c4b fetch  0x00000001 , 0x000048fc 
+ 00018866  0x00005c4c increase  0x00000001 , 0x0000003f 
+ 00018867  0x00005c4d store  0x00000001 , 0x000048fc 
+ 00018868  0x00005c4e sub  0x0000003f , 0x00000014 , 0x0000003e 
+ 00018869  0x00005c4f ncall  0x000049bb , 0x00000002 
+ 00018870  0x00005c50 beq  0x00000002 , 0x000049bd 
+ 00018871  0x00005c51 beq  0x00000004 , 0x000049c3 
+ 00018872  0x00005c52 beq  0x00000006 , 0x000049bd 
+ 00018873  0x00005c53 beq  0x00000008 , 0x000049c3 
+ 00018874  0x00005c54 rtn 
+ 00018875  0x00005c56 jam  0x00000001 , 0x000048fc 
+ 00018876  0x00005c57 branch  0x000049c3 
+ 00018877  0x00005c59 fetch  0x00000008 , 0x00004bbc 
+ 00018878  0x00005c5a bbit1  0x00000022 , 0x0000496d 
+ 00018879  0x00005c5b fetch  0x00000001 , 0x00004925 
+ 00018880  0x00005c5c rtneq  0x000000ff 
+ 00018881  0x00005c5d fetcht  0x00000001 , 0x00004925 
+ 00018882  0x00005c5e branch  0x0000497c 
+ 00018883  0x00005c60 fetch  0x00000008 , 0x00004bbc 
+ 00018884  0x00005c61 bbit1  0x00000022 , 0x0000495f 
+ 00018885  0x00005c62 fetch  0x00000001 , 0x00004925 
+ 00018886  0x00005c63 rtneq  0x000000ff 
+ 00018887  0x00005c64 fetcht  0x00000001 , 0x00004925 
+ 00018888  0x00005c65 branch  0x00004978 
+ 00018889  0x00005c68 fetch  0x00000002 , 0x00004bcf 
+ 00018890  0x00005c69 fetcht  0x00000002 , 0x00004ac3 
+ 00018891  0x00005c6a isub  0x00000002 , 0x00000002 
+ 00018892  0x00005c6b fetch  0x00000002 , 0x00004bd9 
+ 00018893  0x00005c6c isub  0x00000002 , 0x0000003e 
+ 00018894  0x00005c6d nbranch  0x000049db , 0x00000002 
+ 00018895  0x00005c6e fetch  0x00000001 , 0x000048fd 
+ 00018896  0x00005c6f nrtn  0x00000034 
+ 00018897  0x00005c70 jam  0x00000001 , 0x000048fd 
+ 00018898  0x00005c71 branch  0x000049d3 
+ 00018899  0x00005c74 fetch  0x00000002 , 0x00004bd7 
+ 00018900  0x00005c75 store  0x00000002 , 0x00004935 
+ 00018901  0x00005c76 store  0x00000002 , 0x00004937 
+ 00018902  0x00005c77 fetch  0x00000008 , 0x00004bbc 
+ 00018903  0x00005c78 bbit1  0x00000022 , 0x0000491d 
+ 00018904  0x00005c79 fetch  0x00000001 , 0x00004925 
+ 00018905  0x00005c7a rtneq  0x000000ff 
+ 00018906  0x00005c7b branch  0x00004927 
+ 00018907  0x00005c7e jam  0x00000000 , 0x000048fd 
+ 00018908  0x00005c7f branch  0x000049c3 
+ 00018909  0x00005c83 fetch  0x00000008 , 0x00004bbc 
+ 00018910  0x00005c84 rtnbit0  0x00000021 
+ 00018911  0x00005c85 rtnbit0  0x00000004 
+ 00018912  0x00005c86 bbit1  0x00000023 , 0x000049ef 
+ 00018913  0x00005c87 fetch  0x00000001 , 0x000048fc 
+ 00018914  0x00005c88 sub  0x0000003f , 0x0000000a , 0x0000003e 
+ 00018915  0x00005c89 branch  0x000049eb , 0x00000002 
+ 00018916  0x00005c8b fetch  0x00000001 , 0x0000493d 
+ 00018917  0x00005c8c beq  0x00000000 , 0x000049e8 
+ 00018918  0x00005c8d jam  0x00000001 , 0x00004099 
+ 00018919  0x00005c8e rtn 
+ 00018920  0x00005c91 fetch  0x00000008 , 0x00004bbc 
+ 00018921  0x00005c92 rtnbit1  0x00000018 
+ 00018922  0x00005c93 branch  0x000026d7 
+ 00018923  0x00005c96 fetch  0x00000001 , 0x0000493d 
+ 00018924  0x00005c97 beq  0x00000000 , 0x000026e8 
+ 00018925  0x00005c98 jam  0x00000000 , 0x00004099 
+ 00018926  0x00005c99 rtn 
+ 00018927  0x00005c9c fetch  0x00000001 , 0x000048fd 
+ 00018928  0x00005c9d nbranch  0x000049eb , 0x00000034 
+ 00018929  0x00005c9e branch  0x000049e4 
+ 00018930  0x00005ca3 call  0x00001293 
+ 00018931  0x00005ca4 fetch  0x00000001 , 0x00000018 
+ 00018932  0x00005ca5 branch  0x000025e9 
+ 00018933  0x00005ca8 call  0x000049f2 
+ 00018934  0x00005ca9 branch  0x000026f5 
+ 00018935  0x00005cac call  0x000049f2 
+ 00018936  0x00005cad fetch  0x00000001 , 0x00000030 
+ 00018937  0x00005cae isolate1  0x00000000 , 0x0000003f 
+ 00018938  0x00005caf nrtn  0x00000001 
+ 00018939  0x00005cb0 fetch  0x00000001 , 0x00000047 
+ 00018940  0x00005cb1 isolate1  0x00000003 , 0x0000003f 
+ 00018941  0x00005cb2 call  0x0000272b , 0x00000001 
+ 00018942  0x00005cb3 ncall  0x00002727 , 0x00000001 
+ 00018943  0x00005cb4 branch  0x000026f5 
+ 00018944  0x00005cb7 fetch  0x00000001 , 0x00004b86 
+ 00018945  0x00005cb8 compare  0x00000003 , 0x0000003f , 0x00000003 
+ 00018946  0x00005cb9 nbranch  0x00007ecf , 0x00000001 
+ 00018947  0x00005cba call  0x00003295 
+ 00018948  0x00005cbb branch  0x00007ed1 
+ 00018949  0x00005cbe call  0x00005355 
+ 00018950  0x00005cbf nrtn  0x00000034 
+ 00018951  0x00005cc0 jam  0x00000001 , 0x00000088 
+ 00018952  0x00005cc1 jam  0x00000000 , 0x00000089 
+ 00018953  0x00005cc2 branch  0x00007ed1 
+ 00018954  0x00005cc5 fetch  0x00000002 , 0x0000478f 
+ 00018955  0x00005cc6 bbit1  0x00000009 , 0x00004a00 
+ 00018956  0x00005cc7 branch  0x00004a05 
+ 00018957  0x00005cce rtn  0x0000002b 
+ 00018958  0x00005ccf call  0x000061da 
+ 00018959  0x00005cd0 setarg  0x00004ac1 
+ 00018960  0x00005cd1 store  0x00000002 , 0x0000489f 
+ 00018961  0x00005cd3 setarg  0x00004a50 
+ 00018962  0x00005cd4 store  0x00000002 , 0x000048a3 
+ 00018963  0x00005cd6 setarg  0x00004a4b 
+ 00018964  0x00005cd7 store  0x00000002 , 0x0000445d 
+ 00018965  0x00005cd9 setarg  0x00004a8b 
+ 00018966  0x00005cda store  0x00000002 , 0x00004465 
+ 00018967  0x00005cdc setarg  0x00004a8d 
+ 00018968  0x00005cdd store  0x00000002 , 0x00004467 
+ 00018969  0x00005cdf setarg  0x00004aa6 
+ 00018970  0x00005ce0 store  0x00000002 , 0x0000446f 
+ 00018971  0x00005ce2 setarg  0x00004a40 
+ 00018972  0x00005ce3 store  0x00000002 , 0x00004995 
+ 00018973  0x00005ce5 setarg  0x00004a30 
+ 00018974  0x00005ce6 store  0x00000002 , 0x00004999 
+ 00018975  0x00005ce9 bpatch  0x000000e2 , 0x0000401c 
+ 00018976  0x00005cea call  0x00005e59 
+ 00018977  0x00005ceb call  0x00004a47 
+ 00018978  0x00005ced call  0x000079a5 
+ 00018979  0x00005cee fetch  0x00000001 , 0x00004965 
+ 00018980  0x00005cef store  0x00000001 , 0x000048d4 
+ 00018981  0x00005cf0 beq  0x00000000 , 0x00004a2f 
+ 00018982  0x00005cf1 fetch  0x00000001 , 0x00004966 
+ 00018983  0x00005cf2 store  0x00000001 , 0x00004793 
+ 00018984  0x00005cf4 call  0x00004a40 
+ 00018985  0x00005cf5 call  0x00007826 
+ 00018986  0x00005cf6 call  0x00007830 
+ 00018987  0x00005cf7 jam  0x00000001 , 0x00004991 
+ 00018988  0x00005cf8 fetch  0x00000002 , 0x0000478f 
+ 00018989  0x00005cf9 rtnbit1  0x0000000c 
+ 00018990  0x00005cfa branch  0x00003289 
+ 00018991  0x00005cff jam  0x00000002 , 0x00004991 
+ 00018992  0x00005d01 call  0x00004a40 
+ 00018993  0x00005d02 arg  0x00000000 , 0x00000011 
+ 00018994  0x00005d03 call  0x00007871 
+ 00018995  0x00005d04 call  0x00004a3c 
+ 00018996  0x00005d05 call  0x00005e79 
+ 00018997  0x00005d06 call  0x000026ec 
+ 00018998  0x00005d07 branch  0x000022e4 , 0x00000028 
+ 00018999  0x00005d08 fetch  0x00000004 , 0x0000483f 
+ 00019000  0x00005d09 store  0x00000004 , 0x00004895 
+ 00019001  0x00005d0a fetch  0x00000002 , 0x00004889 
+ 00019002  0x00005d0b store  0x00000002 , 0x0000488b 
+ 00019003  0x00005d0c branch  0x00002562 
+ 00019004  0x00005d0f arg  0x00000004 , 0x00000002 
+ 00019005  0x00005d10 arg  0x0000483f , 0x00000011 
+ 00019006  0x00005d11 arg  0x00000000 , 0x00000012 
+ 00019007  0x00005d12 rtn 
+ 00019008  0x00005d17 bpatch  0x000000e3 , 0x0000401c 
+ 00019009  0x00005d18 fetch  0x00000001 , 0x00004963 
+ 00019010  0x00005d19 bne  0x000000ff , 0x00004a45 
+ 00019011  0x00005d1b fetcht  0x00000001 , 0x00004940 
+ 00019012  0x00005d1c branch  0x0000610d 
+ 00019013  0x00005d1e store  0x00000001 , 0x00004940 
+ 00019014  0x00005d1f branch  0x00004a43 
+ 00019015  0x00005d23 call  0x0000260e 
+ 00019016  0x00005d25 fetch  0x00000002 , 0x0000498d 
+ 00019017  0x00005d26 store  0x00000002 , 0x0000498f 
+ 00019018  0x00005d27 rtn 
+ 00019019  0x00005d2a call  0x00004a50 
+ 00019020  0x00005d2c fetch  0x00000001 , 0x00004936 
+ 00019021  0x00005d2d set1  0x00000007 , 0x0000003f 
+ 00019022  0x00005d2e arg  0x0000003f , 0x00000002 
+ 00019023  0x00005d2f branch  0x0000612b 
+ 00019024  0x00005d32 call  0x00006136 
+ 00019025  0x00005d33 branch  0x000061ff 
+ 00019026  0x00005d36 call  0x0000620b 
+ 00019027  0x00005d37 call  0x00004a63 
+ 00019028  0x00005d38 call  0x00004a56 
+ 00019029  0x00005d39 branch  0x00004a71 
+ 00019030  0x00005d3c fetch  0x00000001 , 0x0000499c 
+ 00019031  0x00005d3d rtnne  0x00000001 
+ 00019032  0x00005d3e fetch  0x00000004 , 0x000049a0 
+ 00019033  0x00005d3f branch  0x00004a5d , 0x00000034 
+ 00019034  0x00005d40 jam  0x00000000 , 0x000049a6 
+ 00019035  0x00005d41 enable  0x00000028 
+ 00019036  0x00005d42 branch  0x00007976 
+ 00019037  0x00005d44 fetch  0x00000001 , 0x000049a6 
+ 00019038  0x00005d45 rtneq  0x000000ff 
+ 00019039  0x00005d46 pincrease  0x00000001 
+ 00019040  0x00005d47 store  0x00000001 , 0x000049a6 
+ 00019041  0x00005d48 disable  0x00000028 
+ 00019042  0x00005d49 branch  0x00007974 
+ 00019043  0x00005d4d fetcht  0x00000002 , 0x000044ca 
+ 00019044  0x00005d4e and  0x00000002 , 0x00000001 , 0x0000003f 
+ 00019045  0x00005d4f rshift  0x00000002 , 0x00000002 
+ 00019046  0x00005d50 store  0x00000001 , 0x000049a0 
+ 00019047  0x00005d51 and  0x00000002 , 0x00000001 , 0x0000003f 
+ 00019048  0x00005d52 rshift  0x00000002 , 0x00000002 
+ 00019049  0x00005d53 store  0x00000001 , 0x000049a1 
+ 00019050  0x00005d54 and  0x00000002 , 0x00000001 , 0x0000003f 
+ 00019051  0x00005d55 rshift  0x00000002 , 0x00000002 
+ 00019052  0x00005d56 store  0x00000001 , 0x000049a2 
+ 00019053  0x00005d57 and  0x00000002 , 0x00000001 , 0x0000003f 
+ 00019054  0x00005d58 rshift  0x00000002 , 0x00000002 
+ 00019055  0x00005d59 store  0x00000001 , 0x000049a3 
+ 00019056  0x00005d5a rtn 
+ 00019057  0x00005d5c bpatch  0x000000e4 , 0x0000401c 
+ 00019058  0x00005d5d call  0x00004a81 
+ 00019059  0x00005d5e call  0x00004a86 
+ 00019060  0x00005d5f call  0x00004a77 
+ 00019061  0x00005d60 nrtn  0x00000028 
+ 00019062  0x00005d61 branch  0x00004abd 
+ 00019063  0x00005d65 fetch  0x00000001 , 0x0000499c 
+ 00019064  0x00005d66 rtnne  0x00000001 
+ 00019065  0x00005d67 fetch  0x00000001 , 0x000049a6 
+ 00019066  0x00005d68 rtn  0x00000034 
+ 00019067  0x00005d69 sub  0x0000003f , 0x00000001 , 0x0000003e 
+ 00019068  0x00005d6a nrtn  0x00000002 
+ 00019069  0x00005d6b fetch  0x00000002 , 0x00004889 
+ 00019070  0x00005d6c store  0x00000002 , 0x0000488b 
+ 00019071  0x00005d6d enable  0x00000028 
+ 00019072  0x00005d6e rtn 
+ 00019073  0x00005d73 fetch  0x00000001 , 0x000049a0 
+ 00019074  0x00005d74 nbranch  0x00004ab1 , 0x00000034 
+ 00019075  0x00005d75 fetch  0x00000001 , 0x000049a1 
+ 00019076  0x00005d76 nbranch  0x00004ab3 , 0x00000034 
+ 00019077  0x00005d77 branch  0x00004ab9 
+ 00019078  0x00005d7a fetch  0x00000001 , 0x000049a2 
+ 00019079  0x00005d7b nbranch  0x00004ab5 , 0x00000034 
+ 00019080  0x00005d7c fetch  0x00000001 , 0x000049a3 
+ 00019081  0x00005d7d nbranch  0x00004ab7 , 0x00000034 
+ 00019082  0x00005d7e branch  0x00004abb 
+ 00019083  0x00005d82 call  0x00004a9b 
+ 00019084  0x00005d83 branch  0x00004a52 
+ 00019085  0x00005d86 copy  0x00000013 , 0x0000003f 
+ 00019086  0x00005d87 beq  0x0000002d , 0x000032b1 
+ 00019087  0x00005d88 beq  0x00000010 , 0x00003299 
+ 00019088  0x00005d89 beq  0x00000039 , 0x00004a95 
+ 00019089  0x00005d8a beq  0x0000003c , 0x00004a97 
+ 00019090  0x00005d8b beq  0x0000003a , 0x00004a94 
+ 00019091  0x00005d8c rtn 
+ 00019092  0x00005d8f branch  0x000025a0 
+ 00019093  0x00005d92 call  0x00004a3c 
+ 00019094  0x00005d93 call  0x00005e6b 
+ 00019095  0x00005d95 jam  0x00000000 , 0x000048a5 
+ 00019096  0x00005d96 jam  0x00000001 , 0x0000499d 
+ 00019097  0x00005d97 jam  0x00000001 , 0x0000499e 
+ 00019098  0x00005d98 rtn 
+ 00019099  0x00005d9b fetch  0x00000001 , 0x0000499d 
+ 00019100  0x00005d9c rtneq  0x00000000 
+ 00019101  0x00005d9d fetch  0x00000001 , 0x0000499c 
+ 00019102  0x00005d9e rtneq  0x00000001 
+ 00019103  0x00005d9f jam  0x00000001 , 0x0000499c 
+ 00019104  0x00005da1 arg  0x00000000 , 0x00000011 
+ 00019105  0x00005da2 branch  0x0000786c 
+ 00019106  0x00005da4 arg  0x00000000 , 0x00000011 
+ 00019107  0x00005da5 call  0x0000786c 
+ 00019108  0x00005da6 call  0x00004a40 
+ 00019109  0x00005da7 branch  0x00003289 
+ 00019110  0x00005daa call  0x0000320a 
+ 00019111  0x00005dab call  0x000022e1 
+ 00019112  0x00005dac call  0x0000255f 
+ 00019113  0x00005dad branch  0x00004aaa 
+ 00019114  0x00005db0 fetch  0x00000001 , 0x00004967 
+ 00019115  0x00005db1 rtn  0x00000034 
+ 00019116  0x00005db2 fetch  0x00000001 , 0x000044ca 
+ 00019117  0x00005db3 nbranch  0x00004a48 , 0x00000034 
+ 00019118  0x00005db4 arg  0x0000498f , 0x00000013 
+ 00019119  0x00005db5 arg  0x00004aa2 , 0x00000012 
+ 00019120  0x00005db6 branch  0x00003203 
+ 00019121  0x00005dbb jam  0x00000001 , 0x0000496e 
+ 00019122  0x00005dbc rtn 
+ 00019123  0x00005dbe jam  0x00000002 , 0x0000496e 
+ 00019124  0x00005dbf rtn 
+ 00019125  0x00005dc1 jam  0x00000001 , 0x00004970 
+ 00019126  0x00005dc2 rtn 
+ 00019127  0x00005dc4 jam  0x00000002 , 0x00004970 
+ 00019128  0x00005dc5 rtn 
+ 00019129  0x00005dca jam  0x00000000 , 0x0000496e 
+ 00019130  0x00005dcb rtn 
+ 00019131  0x00005dce jam  0x00000000 , 0x00004970 
+ 00019132  0x00005dcf rtn 
+ 00019133  0x00005dd2 arg  0x00004968 , 0x00000011 
+ 00019134  0x00005dd3 branch  0x000079aa 
+ 00019135  0x00005dd5 arg  0x00004975 , 0x00000011 
+ 00019136  0x00005dd6 branch  0x000079aa 
+ 00019137  0x00005dd9 fetch  0x00000001 , 0x0000499e 
+ 00019138  0x00005dda beq  0x00000001 , 0x00004acb 
+ 00019139  0x00005ddb arg  0x0000497e , 0x00000011 
+ 00019140  0x00005ddc call  0x000079c1 
+ 00019141  0x00005ddd nbranch  0x00004ad0 , 0x00000028 
+ 00019142  0x00005ddf arg  0x0000497e , 0x00000006 
+ 00019143  0x00005de0 ifetch  0x00000001 , 0x00000006 
+ 00019144  0x00005de1 copy  0x0000003f , 0x00000011 
+ 00019145  0x00005de2 arg  0x0000497f , 0x00000012 
+ 00019146  0x00005de5 rtn 
+ 00019147  0x00005de8 jam  0x00000000 , 0x0000499e 
+ 00019148  0x00005de9 enable  0x00000028 
+ 00019149  0x00005dea arg  0x00000001 , 0x00000011 
+ 00019150  0x00005deb arg  0x0000499f , 0x00000012 
+ 00019151  0x00005dec rtn 
+ 00019152  0x00005def fetch  0x00000001 , 0x00004981 
+ 00019153  0x00005df0 beq  0x00000004 , 0x00004ad4 
+ 00019154  0x00005df1 beq  0x00000005 , 0x00004ad4 
+ 00019155  0x00005df2 rtn 
+ 00019156  0x00005df4 fetch  0x00000001 , 0x00004984 
+ 00019157  0x00005df5 nbranch  0x00004adb , 0x00000034 
+ 00019158  0x00005df6 fetch  0x00000001 , 0x00004986 
+ 00019159  0x00005df7 nbranch  0x00004adb , 0x00000034 
+ 00019160  0x00005df8 fetch  0x00000001 , 0x00004988 
+ 00019161  0x00005df9 nbranch  0x00004adb , 0x00000034 
+ 00019162  0x00005dfa rtn 
+ 00019163  0x00005dfc enable  0x00000028 
+ 00019164  0x00005dfd branch  0x00004ac6 
+ 00019165  0x00005e03 jam  0x00000014 , 0x00004792 
+ 00019166  0x00005e04 jam  0x00000001 , 0x00004786 
+ 00019167  0x00005e05 setarg  0x0000060f 
+ 00019168  0x00005e06 store  0x00000002 , 0x000048d5 
+ 00019169  0x00005e07 setarg  0x000048d5 
+ 00019170  0x00005e08 store  0x00000002 , 0x0000448c 
+ 00019171  0x00005e09 jam  0x00000001 , 0x00004099 
+ 00019172  0x00005e0a jam  0x00000006 , 0x0000415b 
+ 00019173  0x00005e0b jam  0x00000002 , 0x00004178 
+ 00019174  0x00005e0c jam  0x00000000 , 0x000048d4 
+ 00019175  0x00005e0d setarg  0x00004934 
+ 00019176  0x00005e0e store  0x00000002 , 0x0000448f 
+ 00019177  0x00005e0f jam  0x00000001 , 0x0000448e 
+ 00019178  0x00005e10 jam  0x000000ff , 0x00004935 
+ 00019179  0x00005e11 setarg  0x00000296 
+ 00019180  0x00005e12 store  0x00000002 , 0x00004937 
+ 00019181  0x00005e13 setarg  0x0000073a 
+ 00019182  0x00005e14 store  0x00000002 , 0x00004939 
+ 00019183  0x00005e15 setarg  0x00004991 
+ 00019184  0x00005e16 store  0x00000002 , 0x000044cc 
+ 00019185  0x00005e17 setarg  0x00000c0c 
+ 00019186  0x00005e18 store  0x00000002 , 0x00004993 
+ 00019187  0x00005e19 setarg  0x00004948 
+ 00019188  0x00005e1a store  0x00000002 , 0x000044c8 
+ 00019189  0x00005e1b jam  0x00000000 , 0x00004965 
+ 00019190  0x00005e1c jam  0x000000ff , 0x00004963 
+ 00019191  0x00005e1d jam  0x000000ff , 0x00004966 
+ 00019192  0x00005e1e jam  0x00000000 , 0x00004961 
+ 00019193  0x00005e1f jam  0x00000000 , 0x00004962 
+ 00019194  0x00005e20 jam  0x00000000 , 0x00004964 
+ 00019195  0x00005e21 jam  0x00000001 , 0x00004967 
+ 00019196  0x00005e22 setarg  0x00004e55 
+ 00019197  0x00005e23 store  0x00000002 , 0x00004954 
+ 00019198  0x00005e24 store  0x00000002 , 0x00004956 
+ 00019199  0x00005e25 setarg  0x00000007 
+ 00019200  0x00005e26 store  0x00000002 , 0x0000495a 
+ 00019201  0x00005e27 jam  0x00000002 , 0x000044a2 
+ 00019202  0x00005e28 setsect  0x00000000 , 0x00035a0c 
+ 00019203  0x00005e29 setsect  0x00000001 , 0x0000011a 
+ 00019204  0x00005e2a setsect  0x00000002 , 0x00000060 
+ 00019205  0x00005e2b setsect  0x00000003 , 0x00000028 
+ 00019206  0x00005e2c store  0x00000009 , 0x00004968 
+ 00019207  0x00005e2d setsect  0x00000000 , 0x0002000a 
+ 00019208  0x00005e2e setsect  0x00000001 , 0x00000002 
+ 00019209  0x00005e2f istore  0x00000004 , 0x00000005 
+ 00019210  0x00005e30 setsect  0x00000000 , 0x00035a08 
+ 00019211  0x00005e31 setsect  0x00000001 , 0x0000019a 
+ 00019212  0x00005e32 setsect  0x00000002 , 0x00000000 
+ 00019213  0x00005e33 setsect  0x00000003 , 0x00000000 
+ 00019214  0x00005e34 store  0x00000009 , 0x00004975 
+ 00019215  0x00005e35 setarg  0x00000064 
+ 00019216  0x00005e36 store  0x00000002 , 0x0000498d 
+ 00019217  0x00005e37 jam  0x00000000 , 0x000041e8 
+ 00019218  0x00005e38 jam  0x00000001 , 0x00004839 
+ 00019219  0x00005e39 jam  0x00000006 , 0x000048ac 
+ 00019220  0x00005e3a jam  0x00000001 , 0x0000485e 
+ 00019221  0x00005e3b jam  0x00000000 , 0x00004890 
+ 00019222  0x00005e3c call  0x000022d0 
+ 00019223  0x00005e3d call  0x0000261a 
+ 00019224  0x00005e3e call  0x000022b5 
+ 00019225  0x00005e3f call  0x000022db 
+ 00019226  0x00005e40 setarg  0x00000708 
+ 00019227  0x00005e41 store  0x00000002 , 0x00004885 
+ 00019228  0x00005e42 setarg  0x00000050 
+ 00019229  0x00005e43 store  0x00000002 , 0x00004889 
+ 00019230  0x00005e44 setarg  0x000a7700 
+ 00019231  0x00005e45 store  0x00000003 , 0x000048b4 
+ 00019232  0x00005e46 setarg  0x00604800 
+ 00019233  0x00005e47 store  0x00000003 , 0x0000485f 
+ 00019234  0x00005e48 branch  0x00003174 
+ 00019235  0x00005e55 call  0x00006e5e 
+ 00019236  0x00005e56 rtn  0x0000002b 
+ 00019237  0x00005e57 setarg  0x00004ba8 
+ 00019238  0x00005e58 store  0x00000002 , 0x0000445d 
+ 00019239  0x00005e5a setarg  0x00004ba6 
+ 00019240  0x00005e5b store  0x00000002 , 0x0000445f 
+ 00019241  0x00005e5d setarg  0x00003289 
+ 00019242  0x00005e5e store  0x00000002 , 0x00004469 
+ 00019243  0x00005e60 setarg  0x00004ba4 
+ 00019244  0x00005e61 store  0x00000002 , 0x00004465 
+ 00019245  0x00005e63 setarg  0x00004b53 
+ 00019246  0x00005e64 store  0x00000002 , 0x00004467 
+ 00019247  0x00005e66 setarg  0x00004b4d 
+ 00019248  0x00005e67 store  0x00000002 , 0x0000445b 
+ 00019249  0x00005e69 setarg  0x00004c15 
+ 00019250  0x00005e6a store  0x00000002 , 0x0000446b 
+ 00019251  0x00005e6c setarg  0x00004b8a 
+ 00019252  0x00005e6d store  0x00000002 , 0x0000446f 
+ 00019253  0x00005e6f setarg  0x00004bf0 
+ 00019254  0x00005e70 store  0x00000002 , 0x000047eb 
+ 00019255  0x00005e72 setarg  0x00004c2c 
+ 00019256  0x00005e73 store  0x00000002 , 0x000047e6 
+ 00019257  0x00005e74 setarg  0x00004c2d 
+ 00019258  0x00005e75 store  0x00000002 , 0x000047e8 
+ 00019259  0x00005e77 call  0x00004b48 
+ 00019260  0x00005e78 call  0x00001a55 
+ 00019261  0x00005e79 call  0x00004c18 
+ 00019262  0x00005e7a call  0x000061da 
+ 00019263  0x00005e7b call  0x000079a5 
+ 00019264  0x00005e7c call  0x0000785b 
+ 00019265  0x00005e7e bpatch  0x000000e5 , 0x0000401c 
+ 00019266  0x00005e7f call  0x00004c25 
+ 00019267  0x00005e80 fetch  0x00000001 , 0x000047e1 
+ 00019268  0x00005e81 beq  0x00000000 , 0x00004b4a 
+ 00019269  0x00005e82 fetch  0x00000001 , 0x000047e2 
+ 00019270  0x00005e83 store  0x00000001 , 0x00004793 
+ 00019271  0x00005e84 branch  0x00004c34 
+ 00019272  0x00005e88 jam  0x00000007 , 0x000045fa 
+ 00019273  0x00005e89 rtn 
+ 00019274  0x00005e8d jam  0x000000ff , 0x00004793 
+ 00019275  0x00005e8e jam  0x00000001 , 0x000047e3 
+ 00019276  0x00005e8f branch  0x00004bc3 
+ 00019277  0x00005e94 fetch  0x00000001 , 0x000047e3 
+ 00019278  0x00005e95 beq  0x00000002 , 0x0000324f 
+ 00019279  0x00005e96 call  0x0000535f 
+ 00019280  0x00005e97 fetch  0x00000001 , 0x000044e9 
+ 00019281  0x00005e98 nbranch  0x0000324f , 0x00000034 
+ 00019282  0x00005e99 branch  0x00003251 
+ 00019283  0x00005e9e copy  0x00000013 , 0x0000003f 
+ 00019284  0x00005ea1 beq  0x00000014 , 0x00004b5c 
+ 00019285  0x00005ea2 beq  0x00000015 , 0x00004b60 
+ 00019286  0x00005ea3 beq  0x0000003f , 0x00004b63 
+ 00019287  0x00005ea4 beq  0x00000040 , 0x00004b69 
+ 00019288  0x00005ea6 beq  0x00000010 , 0x00004b6f 
+ 00019289  0x00005ea7 beq  0x0000002c , 0x00004b70 
+ 00019290  0x00005ea8 beq  0x0000002d , 0x00004b7b 
+ 00019291  0x00005ea9 rtn 
+ 00019292  0x00005eae call  0x00004baa 
+ 00019293  0x00005eaf setarg  0x00000000 
+ 00019294  0x00005eb0 store  0x00000002 , 0x000047bb 
+ 00019295  0x00005eb1 branch  0x00003287 
+ 00019296  0x00005eb5 call  0x000079a5 
+ 00019297  0x00005eb6 jam  0x00000000 , 0x000047b4 
+ 00019298  0x00005eb7 branch  0x00004bc3 
+ 00019299  0x00005ebb call  0x000079a5 
+ 00019300  0x00005ebc jam  0x00000001 , 0x000047b4 
+ 00019301  0x00005ebd fetch  0x00000008 , 0x000047c5 
+ 00019302  0x00005ebe store  0x00000008 , 0x00004372 
+ 00019303  0x00005ebf call  0x00003295 
+ 00019304  0x00005ec0 branch  0x00001f04 
+ 00019305  0x00005ec4 fetch  0x00000002 , 0x000043db 
+ 00019306  0x00005ec5 rtneq  0x00000000 
+ 00019307  0x00005ec6 fetch  0x00000008 , 0x000047cd 
+ 00019308  0x00005ec7 rtn  0x00000034 
+ 00019309  0x00005ec8 store  0x00000008 , 0x00004372 
+ 00019310  0x00005ec9 branch  0x00001f04 
+ 00019311  0x00005ece branch  0x00004c45 
+ 00019312  0x00005ed1 fetch  0x00000001 , 0x000047e1 
+ 00019313  0x00005ed2 rtneq  0x00000000 
+ 00019314  0x00005ed3 fetch  0x00000001 , 0x000047e3 
+ 00019315  0x00005ed4 rtnne  0x00000001 
+ 00019316  0x00005ed5 call  0x00004b76 
+ 00019317  0x00005ed6 branch  0x00003285 
+ 00019318  0x00005ed9 jam  0x00000001 , 0x000049e3 
+ 00019319  0x00005eda arg  0x0000000b , 0x00000039 
+ 00019320  0x00005edb arg  0x000049e4 , 0x00000005 
+ 00019321  0x00005edc arg  0x000049cd , 0x00000006 
+ 00019322  0x00005edd branch  0x00007dd4 
+ 00019323  0x00005ee0 fetch  0x00000001 , 0x000047e1 
+ 00019324  0x00005ee1 rtneq  0x00000000 
+ 00019325  0x00005ee2 fetch  0x00000001 , 0x000047e3 
+ 00019326  0x00005ee3 beq  0x00000001 , 0x00004b80 
+ 00019327  0x00005ee4 branch  0x00004c41 
+ 00019328  0x00005ee7 fetch  0x00000001 , 0x000049e3 
+ 00019329  0x00005ee8 rtnne  0x00000001 
+ 00019330  0x00005ee9 jam  0x00000000 , 0x000049e3 
+ 00019331  0x00005eea fetch  0x00000002 , 0x0000478f 
+ 00019332  0x00005eeb bbit1  0x00000000 , 0x00003287 
+ 00019333  0x00005eec bbit1  0x00000009 , 0x00003287 
+ 00019334  0x00005eed arg  0x0000000b , 0x00000039 
+ 00019335  0x00005eee arg  0x000049e4 , 0x00000006 
+ 00019336  0x00005eef arg  0x000049cd , 0x00000005 
+ 00019337  0x00005ef0 branch  0x00007dd4 
+ 00019338  0x00005ef7 call  0x00004b8d 
+ 00019339  0x00005efa call  0x00004b94 
+ 00019340  0x00005efe branch  0x00004b9f 
+ 00019341  0x00005f03 arg  0x000047df , 0x00000013 
+ 00019342  0x00005f04 arg  0x00004b90 , 0x00000012 
+ 00019343  0x00005f05 branch  0x00003203 
+ 00019344  0x00005f07 jam  0x00000002 , 0x000047e3 
+ 00019345  0x00005f08 call  0x00003287 
+ 00019346  0x00005f09 call  0x00004bd4 
+ 00019347  0x00005f0a branch  0x00004c31 
+ 00019348  0x00005f0e arg  0x000049f0 , 0x00000013 
+ 00019349  0x00005f0f arg  0x00004b97 , 0x00000012 
+ 00019350  0x00005f10 branch  0x000031fc 
+ 00019351  0x00005f13 fetch  0x00000002 , 0x0000478f 
+ 00019352  0x00005f14 bbit1  0x00000009 , 0x00004c31 
+ 00019353  0x00005f15 bbit1  0x00000000 , 0x00004c31 
+ 00019354  0x00005f16 fetch  0x00000001 , 0x000049cd 
+ 00019355  0x00005f17 beq  0x00000001 , 0x00004c31 
+ 00019356  0x00005f18 beq  0x00000004 , 0x00004c31 
+ 00019357  0x00005f19 beq  0x00000005 , 0x00004c31 
+ 00019358  0x00005f1a branch  0x00003289 
+ 00019359  0x00005f1e fetch  0x00000001 , 0x000047e3 
+ 00019360  0x00005f1f rtnne  0x00000001 
+ 00019361  0x00005f20 arg  0x000047bb , 0x00000013 
+ 00019362  0x00005f21 arg  0x00004bb1 , 0x00000012 
+ 00019363  0x00005f22 branch  0x00003203 
+ 00019364  0x00005f26 call  0x00004c01 
+ 00019365  0x00005f27 branch  0x0000620b 
+ 00019366  0x00005f2b call  0x00006136 
+ 00019367  0x00005f2c branch  0x000061ff 
+ 00019368  0x00005f2f call  0x00006136 
+ 00019369  0x00005f30 branch  0x00006e62 
+ 00019370  0x00005f37 fetch  0x00000001 , 0x000047a7 
+ 00019371  0x00005f38 bbit1  0x00000000 , 0x00004bad 
+ 00019372  0x00005f39 rtn 
+ 00019373  0x00005f3c fetch  0x00000002 , 0x000047db 
+ 00019374  0x00005f3d store  0x00000002 , 0x000047dd 
+ 00019375  0x00005f3e store  0x00000002 , 0x000047df 
+ 00019376  0x00005f3f branch  0x00003277 
+ 00019377  0x00005f43 fetch  0x00000001 , 0x000047e3 
+ 00019378  0x00005f44 rtnne  0x00000001 
+ 00019379  0x00005f45 fetch  0x00000001 , 0x000047a7 
+ 00019380  0x00005f46 bbit1  0x00000000 , 0x00004bb6 
+ 00019381  0x00005f47 rtn 
+ 00019382  0x00005f49 fetch  0x00000002 , 0x0000478f 
+ 00019383  0x00005f4a rtnbit1  0x00000009 
+ 00019384  0x00005f4b fetch  0x00000002 , 0x000047d9 
+ 00019385  0x00005f4c store  0x00000002 , 0x000047dd 
+ 00019386  0x00005f4d store  0x00000002 , 0x000047df 
+ 00019387  0x00005f4e fetch  0x00000002 , 0x000047b7 
+ 00019388  0x00005f4f call  0x00004c56 
+ 00019389  0x00005f50 call  0x00003283 
+ 00019390  0x00005f51 fetch  0x00000004 , 0x000047c1 
+ 00019391  0x00005f52 store  0x00000004 , 0x000049d0 
+ 00019392  0x00005f53 fetch  0x00000002 , 0x0000478f 
+ 00019393  0x00005f54 rtnbit1  0x0000000b 
+ 00019394  0x00005f55 branch  0x00003279 
+ 00019395  0x00005f59 fetch  0x00000001 , 0x000047e3 
+ 00019396  0x00005f5a rtnne  0x00000001 
+ 00019397  0x00005f5b fetch  0x00000001 , 0x000047a7 
+ 00019398  0x00005f5c bbit1  0x00000000 , 0x00004bc8 
+ 00019399  0x00005f5d rtn 
+ 00019400  0x00005f5f fetch  0x00000002 , 0x000047bb 
+ 00019401  0x00005f60 fetcht  0x00000002 , 0x000047b9 
+ 00019402  0x00005f61 storet  0x00000002 , 0x000047bb 
+ 00019403  0x00005f62 nrtn  0x00000034 
+ 00019404  0x00005f63 fetch  0x00000002 , 0x000047b5 
+ 00019405  0x00005f64 call  0x00004c56 
+ 00019406  0x00005f65 call  0x00003283 
+ 00019407  0x00005f66 fetch  0x00000004 , 0x000047bd 
+ 00019408  0x00005f67 store  0x00000004 , 0x000049d0 
+ 00019409  0x00005f68 fetch  0x00000002 , 0x0000478f 
+ 00019410  0x00005f69 rtnbit1  0x0000000b 
+ 00019411  0x00005f6a branch  0x00003279 
+ 00019412  0x00005f6d fetch  0x00000002 , 0x0000478f 
+ 00019413  0x00005f6e bbit1  0x00000009 , 0x00003281 
+ 00019414  0x00005f6f branch  0x00004baa 
+ 00019415  0x00005f74 call  0x00007ec7 
+ 00019416  0x00005f75 fetch  0x00000002 , 0x0000478f 
+ 00019417  0x00005f76 bbit1  0x00000009 , 0x00004bdb 
+ 00019418  0x00005f77 rtn 
+ 00019419  0x00005f7b fetch  0x00000001 , 0x000047b4 
+ 00019420  0x00005f7c rtn  0x00000034 
+ 00019421  0x00005f7d branch  0x00007ec5 
+ 00019422  0x00005f83 call  0x00007ec7 
+ 00019423  0x00005f84 fetch  0x00000002 , 0x0000478f 
+ 00019424  0x00005f85 rtnbit1  0x00000000 
+ 00019425  0x00005f86 rtnbit1  0x00000009 
+ 00019426  0x00005f87 branch  0x00007ec5 
+ 00019427  0x00005f8c fetch  0x00000001 , 0x000047a7 
+ 00019428  0x00005f8d bbit1  0x00000000 , 0x00004be6 
+ 00019429  0x00005f8e rtn 
+ 00019430  0x00005f90 branch  0x00004bc3 
+ 00019431  0x00005f95 disable  0x0000002c 
+ 00019432  0x00005f96 fetch  0x00000002 , 0x000047dd 
+ 00019433  0x00005f97 store  0x00000002 , 0x000047df 
+ 00019434  0x00005f99 call  0x00004bde 
+ 00019435  0x00005f9a branch  0x00004be3 , 0x00000028 
+ 00019436  0x00005f9c call  0x00004bd7 
+ 00019437  0x00005f9d nrtn  0x00000028 
+ 00019438  0x00005f9e enable  0x0000002c 
+ 00019439  0x00005f9f rtn 
+ 00019440  0x00005fa4 call  0x00004be7 
+ 00019441  0x00005fa5 nrtn  0x0000002c 
+ 00019442  0x00005fa6 deposit  0x00000011 
+ 00019443  0x00005fa7 branch  0x00004bf7 , 0x00000034 
+ 00019444  0x00005fa9 call  0x00003285 
+ 00019445  0x00005faa arg  0x000047f5 , 0x00000013 
+ 00019446  0x00005fab branch  0x00004bf9 
+ 00019447  0x00005fae call  0x00003287 
+ 00019448  0x00005faf arg  0x0000481d , 0x00000013 
+ 00019449  0x00005fb2 arg  0x00000005 , 0x0000003f 
+ 00019450  0x00005fb3 imul32  0x00000007 , 0x0000003f 
+ 00019451  0x00005fb4 iadd  0x00000013 , 0x00000013 
+ 00019452  0x00005fb8 ifetch  0x00000001 , 0x00000013 
+ 00019453  0x00005fb9 rtn  0x00000034 
+ 00019454  0x00005fba call  0x00004c0d 
+ 00019455  0x00005fbb increase  0x00000001 , 0x00000013 
+ 00019456  0x00005fbc branch  0x00004bfc 
+ 00019457  0x00005fc0 fetch  0x00000002 , 0x0000478f 
+ 00019458  0x00005fc1 bbit1  0x00000009 , 0x00004c04 
+ 00019459  0x00005fc2 rtn 
+ 00019460  0x00005fc5 call  0x00001b24 
+ 00019461  0x00005fc6 nrtn  0x00000034 
+ 00019462  0x00005fc7 call  0x00004c10 
+ 00019463  0x00005fc8 nrtn  0x00000028 
+ 00019464  0x00005fc9 pincrease  0xffffffff 
+ 00019465  0x00005fca mul32  0x0000003f , 0x00000005 , 0x0000003f 
+ 00019466  0x00005fcb arg  0x00004845 , 0x00000002 
+ 00019467  0x00005fcc iadd  0x00000002 , 0x00000006 
+ 00019468  0x00005fcd branch  0x00004c5a 
+ 00019469  0x00005fd2 store  0x00000001 , 0x0000095c 
+ 00019470  0x00005fd3 arg  0x0000095c , 0x00000011 
+ 00019471  0x00005fd4 branch  0x000079aa 
+ 00019472  0x00005fd7 arg  0x0000095c , 0x00000011 
+ 00019473  0x00005fd8 call  0x000079c1 
+ 00019474  0x00005fd9 nrtn  0x00000028 
+ 00019475  0x00005fda fetch  0x00000001 , 0x0000095c 
+ 00019476  0x00005fdb rtn 
+ 00019477  0x00005fdf fetch  0x00000002 , 0x00004437 
+ 00019478  0x00005fe0 beq  0x00000018 , 0x00004b63 
+ 00019479  0x00005fe1 rtn 
+ 00019480  0x00005fe4 setarg  0x00000002 
+ 00019481  0x00005fe5 store  0x00000001 , 0x000049ef 
+ 00019482  0x00005fe7 setarg  0x00200008 
+ 00019483  0x00005fe8 store  0x00000004 , 0x000047c5 
+ 00019484  0x00005fe9 setarg  0x012c0005 
+ 00019485  0x00005fea istore  0x00000004 , 0x00000005 
+ 00019486  0x00005fed jam  0x00000017 , 0x00004380 
+ 00019487  0x00005ff0 setarg  0x0000001b 
+ 00019488  0x00005ff1 store  0x00000002 , 0x000043d1 
+ 00019489  0x00005ff2 call  0x00001ac2 
+ 00019490  0x00005ff3 call  0x00001ade 
+ 00019491  0x00005ff4 call  0x00001aeb 
+ 00019492  0x00005ff5 branch  0x00001aca 
+ 00019493  0x00005ffa arg  0x00000028 , 0x00000039 
+ 00019494  0x00005ffb arg  0x00004845 , 0x00000005 
+ 00019495  0x00005ffc arg  0x00009e57 , 0x00000006 
+ 00019496  0x00005ffd branch  0x00007dc7 
+ 00019497  0x00006000 arg  0x0000017e , 0x00000039 
+ 00019498  0x00006001 arg  0x00009af2 , 0x00000006 
+ 00019499  0x00006002 branch  0x00007dc7 
+ 00019500  0x00006007 branch  0x00004bc3 
+ 00019501  0x0000600b arg  0x00000000 , 0x00000011 
+ 00019502  0x0000600c arg  0x000049d8 , 0x00000013 
+ 00019503  0x0000600d call  0x00007877 
+ 00019504  0x0000600e call  0x00004bd4 
+ 00019505  0x00006010 fetch  0x00000001 , 0x000049ef 
+ 00019506  0x00006011 store  0x00000001 , 0x000049f0 
+ 00019507  0x00006012 rtn 
+ 00019508  0x00006017 setarg  0x00000000 
+ 00019509  0x00006018 call  0x00004c3c 
+ 00019510  0x00006019 jam  0x00000001 , 0x00004786 
+ 00019511  0x0000601a call  0x00007826 
+ 00019512  0x0000601b call  0x00007830 
+ 00019513  0x0000601c fetch  0x00000002 , 0x0000478f 
+ 00019514  0x0000601d rtnbit1  0x0000000c 
+ 00019515  0x0000601e branch  0x00003289 
+ 00019516  0x00006021 fetcht  0x00000002 , 0x000044cc 
+ 00019517  0x00006022 istore  0x00000001 , 0x00000002 
+ 00019518  0x00006023 ifetch  0x00000001 , 0x00000005 
+ 00019519  0x00006024 store  0x00000001 , 0x00004792 
+ 00019520  0x00006025 rtn 
+ 00019521  0x00006029 fetch  0x00000002 , 0x000044cc 
+ 00019522  0x0000602a ifetch  0x00000001 , 0x0000003f 
+ 00019523  0x0000602b rtnne  0x00000000 
+ 00019524  0x0000602c branch  0x00003289 
+ 00019525  0x00006030 fetcht  0x00000002 , 0x000044cc 
+ 00019526  0x00006031 ifetch  0x00000001 , 0x00000002 
+ 00019527  0x00006032 beq  0x00000001 , 0x00004c50 
+ 00019528  0x00006034 setarg  0x00000001 
+ 00019529  0x00006035 fetcht  0x00000002 , 0x000044cc 
+ 00019530  0x00006036 istore  0x00000001 , 0x00000002 
+ 00019531  0x00006037 add  0x00000002 , 0x00000002 , 0x00000006 
+ 00019532  0x00006038 ifetch  0x00000001 , 0x00000006 
+ 00019533  0x00006039 istore  0x00000001 , 0x00004792 
+ 00019534  0x0000603a ifetch  0x00000002 , 0x00000006 
+ 00019535  0x0000603b branch  0x00007e7a 
+ 00019536  0x0000603e setarg  0x00000002 
+ 00019537  0x0000603f call  0x00004c3c 
+ 00019538  0x00006040 add  0x00000002 , 0x00000005 , 0x00000006 
+ 00019539  0x00006041 ifetch  0x00000002 , 0x00000006 
+ 00019540  0x00006042 branch  0x00003289 , 0x00000034 
+ 00019541  0x00006043 branch  0x00007e7a 
+ 00019542  0x00006049 store  0x00000002 , 0x00004159 
+ 00019543  0x0000604a increase  0xfffffffc , 0x0000003f 
+ 00019544  0x0000604b store  0x00000002 , 0x00004428 
+ 00019545  0x0000604c rtn 
+ 00019546  0x0000604f ifetch  0x00000001 , 0x00000006 
+ 00019547  0x00006050 copy  0x0000003f , 0x00000011 
+ 00019548  0x00006051 ifetcht  0x00000002 , 0x00000006 
+ 00019549  0x00006052 call  0x00007d5e 
+ 00019550  0x00006053 call  0x00001e5f 
+ 00019551  0x00006054 copy  0x00000011 , 0x00000039 
+ 00019552  0x00006055 call  0x00007d58 
+ 00019553  0x00006056 branch  0x00007dd4 
+ 00019554  0x0000605a fetch  0x00000002 , 0x000049f1 
+ 00019555  0x0000605b store  0x00000002 , 0x000047ed 
+ 00019556  0x0000605c fetch  0x00000001 , 0x000049f3 
+ 00019557  0x0000605d store  0x00000001 , 0x000049cf 
+ 00019558  0x0000605e store  0x00000001 , 0x000049da 
+ 00019559  0x0000605f fetch  0x00000001 , 0x000049f4 
+ 00019560  0x00006060 store  0x00000001 , 0x000047e1 
+ 00019561  0x00006061 fetch  0x00000001 , 0x000049f5 
+ 00019562  0x00006062 store  0x00000001 , 0x000047e2 
+ 00019563  0x00006063 jam  0x00000001 , 0x000047a7 
+ 00019564  0x00006064 setarg  0x00000030 
+ 00019565  0x00006065 store  0x00000002 , 0x000047b2 
+ 00019566  0x00006066 setarg  0x00000000 
+ 00019567  0x00006067 store  0x00000002 , 0x000047a8 
+ 00019568  0x00006068 setarg  0x00000001 
+ 00019569  0x00006069 store  0x00000002 , 0x000047f5 
+ 00019570  0x0000606a store  0x00000002 , 0x000047fa 
+ 00019571  0x0000606b setarg  0x00000006 
+ 00019572  0x0000606c store  0x00000002 , 0x0000481d 
+ 00019573  0x0000606d store  0x00000002 , 0x00004822 
+ 00019574  0x0000606e setarg  0x00000007 
+ 00019575  0x0000606f store  0x00000002 , 0x000047ff 
+ 00019576  0x00006070 setarg  0x00000008 
+ 00019577  0x00006071 store  0x00000002 , 0x00004827 
+ 00019578  0x00006072 setarg  0x000047e3 
+ 00019579  0x00006073 store  0x00000002 , 0x000044cc 
+ 00019580  0x00006074 setarg  0x00201400 
+ 00019581  0x00006075 store  0x00000003 , 0x000047e3 
+ 00019582  0x00006076 jam  0x00000001 , 0x00004099 
+ 00019583  0x00006077 setarg  0x00000100 
+ 00019584  0x00006078 store  0x00000002 , 0x00004159 
+ 00019585  0x00006079 jam  0x00000008 , 0x0000415b 
+ 00019586  0x0000607a jam  0x00000005 , 0x00004177 
+ 00019587  0x0000607b jam  0x00000002 , 0x00004178 
+ 00019588  0x0000607c setarg  0x00000030 
+ 00019589  0x0000607d store  0x00000002 , 0x00004455 
+ 00019590  0x0000607e setarg  0x00000001 
+ 00019591  0x0000607f istore  0x00000002 , 0x00000005 
+ 00019592  0x00006080 jam  0x0000000a , 0x00004644 
+ 00019593  0x00006081 setarg  0x00000096 
+ 00019594  0x00006082 store  0x00000002 , 0x000047bd 
+ 00019595  0x00006083 istore  0x00000002 , 0x00000005 
+ 00019596  0x00006084 setarg  0x00000296 
+ 00019597  0x00006085 store  0x00000002 , 0x000047c1 
+ 00019598  0x00006086 istore  0x00000002 , 0x00000005 
+ 00019599  0x00006087 setsect  0x00000000 , 0x00000010 
+ 00019600  0x00006088 setsect  0x00000001 , 0x00008008 
+ 00019601  0x00006089 setsect  0x00000002 , 0x0002c000 
+ 00019602  0x0000608a setsect  0x00000003 , 0x00000004 
+ 00019603  0x0000608b store  0x00000008 , 0x000047cd 
+ 00019604  0x0000608c jam  0x00000001 , 0x0000448e 
+ 00019605  0x0000608d setarg  0x000049cd 
+ 00019606  0x0000608e store  0x00000002 , 0x0000448f 
+ 00019607  0x0000608f setarg  0x00000000 
+ 00019608  0x00006090 store  0x00000002 , 0x000049cd 
+ 00019609  0x00006091 setsect  0x00000000 , 0x000001a0 
+ 00019610  0x00006092 setsect  0x00000001 , 0x00000068 
+ 00019611  0x00006093 setsect  0x00000002 , 0x00000000 
+ 00019612  0x00006094 setsect  0x00000003 , 0x00000000 
+ 00019613  0x00006095 store  0x00000008 , 0x000049d0 
+ 00019614  0x00006096 setarg  0x00000301 
+ 00019615  0x00006097 store  0x00000002 , 0x000049d8 
+ 00019616  0x00006098 setsect  0x00000000 , 0x000001a0 
+ 00019617  0x00006099 setsect  0x00000001 , 0x000000e8 
+ 00019618  0x0000609a setsect  0x00000002 , 0x00000000 
+ 00019619  0x0000609b setsect  0x00000003 , 0x00000000 
+ 00019620  0x0000609c store  0x00000008 , 0x000049db 
+ 00019621  0x0000609d setarg  0x0000000e 
+ 00019622  0x0000609e store  0x00000002 , 0x000047b5 
+ 00019623  0x0000609f setarg  0x00000140 
+ 00019624  0x000060a0 store  0x00000002 , 0x000047b7 
+ 00019625  0x000060a1 store  0x00000002 , 0x00004428 
+ 00019626  0x000060a2 setarg  0x00000050 
+ 00019627  0x000060a3 store  0x00000002 , 0x000047b9 
+ 00019628  0x000060a4 jam  0x00000007 , 0x00004432 
+ 00019629  0x000060a5 jam  0x00000000 , 0x00004427 
+ 00019630  0x000060a6 setsect  0x00000000 , 0x000000fb 
+ 00019631  0x000060a7 setsect  0x00000001 , 0x0002c212 
+ 00019632  0x000060a8 setsect  0x00000002 , 0x0000800f 
+ 00019633  0x000060a9 setsect  0x00000003 , 0x00000021 
+ 00019634  0x000060aa store  0x00000008 , 0x0000444c 
+ 00019635  0x000060ab setsect  0x00000000 , 0x00000bb8 
+ 00019636  0x000060ac setsect  0x00000001 , 0x000002ee 
+ 00019637  0x000060ad store  0x00000004 , 0x000047d9 
+ 00019638  0x000060ae setarg  0x000048fe 
+ 00019639  0x000060af store  0x00000002 , 0x0000448c 
+ 00019640  0x000060b0 setarg  0x00002001 
+ 00019641  0x000060b1 store  0x00000002 , 0x000048fe 
+ 00019642  0x000060b2 jam  0x0000001f , 0x000043e7 
+ 00019643  0x000060b3 setsect  0x00000000 , 0x00010102 
+ 00019644  0x000060b4 setsect  0x00000001 , 0x000080c1 
+ 00019645  0x000060b5 setsect  0x00000002 , 0x00018120 
+ 00019646  0x000060b6 setsect  0x00000003 , 0x0000640c 
+ 00019647  0x000060b7 store  0x00000009 , 0x000043e8 
+ 00019648  0x000060b8 setsect  0x00000000 , 0x000003c1 
+ 00019649  0x000060b9 istore  0x00000002 , 0x00000005 
+ 00019650  0x000060ba jam  0x0000001f , 0x00004407 
+ 00019651  0x000060bb setsect  0x00000000 , 0x0002090d 
+ 00019652  0x000060bc setsect  0x00000001 , 0x00034c15 
+ 00019653  0x000060bd setsect  0x00000002 , 0x00028532 
+ 00019654  0x000060be setsect  0x00000003 , 0x0001d1d5 
+ 00019655  0x000060bf store  0x00000009 , 0x00004408 
+ 00019656  0x000060c0 setsect  0x00000000 , 0x00026574 
+ 00019657  0x000060c1 setsect  0x00000001 , 0x0000001c 
+ 00019658  0x000060c2 istore  0x00000003 , 0x00000005 
+ 00019659  0x000060c3 setarg  0x000047ea 
+ 00019660  0x000060c4 store  0x00000002 , 0x000044c8 
+ 00019661  0x000060c5 jam  0x00000002 , 0x000047ea 
+ 00019662  0x000060c6 jam  0x00000017 , 0x0000447f 
+ 00019663  0x000060c7 setarg  0x00004923 
+ 00019664  0x000060c8 store  0x00000002 , 0x00004489 
+ 00019665  0x000060c9 jam  0x00000005 , 0x0000448b 
+ 00019666  0x000060ca setarg  0x00002540 
+ 00019667  0x000060cb store  0x00000002 , 0x000040b2 
+ 00019668  0x000060cc setarg  0x00040003 
+ 00019669  0x000060cd store  0x00000003 , 0x00004768 
+ 00019670  0x000060ce jam  0x00000003 , 0x0000476f 
+ 00019671  0x000060cf jam  0x00000001 , 0x00004767 
+ 00019672  0x000060d0 jam  0x00000001 , 0x00004791 
+ 00019673  0x000060d1 jam  0x00000000 , 0x0000415f 
+ 00019674  0x000060d2 setsect  0x00000000 , 0x0003ffff 
+ 00019675  0x000060d3 setsect  0x00000001 , 0x0002fe23 
+ 00019676  0x000060d4 setsect  0x00000002 , 0x000199d9 
+ 00019677  0x000060d5 setsect  0x00000003 , 0x0000020d 
+ 00019678  0x000060d6 store  0x00000008 , 0x000040a0 
+ 00019679  0x000060d7 setarg  0x00009af2 
+ 00019680  0x000060d8 store  0x00000002 , 0x00004396 
+ 00019681  0x000060d9 jam  0x00000001 , 0x000040d8 
+ 00019682  0x000060da setsect  0x00000000 , 0x00010306 
+ 00019683  0x000060db setsect  0x00000001 , 0x00000004 
+ 00019684  0x000060dc setsect  0x00000002 , 0x00002010 
+ 00019685  0x000060dd setsect  0x00000003 , 0x00009040 
+ 00019686  0x000060de store  0x00000009 , 0x00004665 
+ 00019687  0x000060df setsect  0x00000000 , 0x00020011 
+ 00019688  0x000060e0 setsect  0x00000001 , 0x00000044 
+ 00019689  0x000060e1 istore  0x00000005 , 0x00000005 
+ 00019690  0x000060e2 jam  0x00000000 , 0x0000467b 
+ 00019691  0x000060e3 setarg  0x00009c70 
+ 00019692  0x000060e4 store  0x00000002 , 0x00004663 
+ 00019693  0x000060e5 jam  0x00000018 , 0x000040c5 
+ 00019694  0x000060e6 call  0x00003174 
+ 00019695  0x000060e9 arg  0x0000001e , 0x00000039 
+ 00019696  0x000060ea arg  0x000042f8 , 0x00000005 
+ 00019697  0x000060eb call  0x00007d9b 
+ 00019698  0x000060ec jam  0x0000000b , 0x000042f7 
+ 00019699  0x000060ed setarg  0x00204241 
+ 00019700  0x000060ee store  0x00000003 , 0x000042f8 
+ 00019701  0x000060ef setarg  0x00756853 
+ 00019702  0x000060f0 istore  0x00000003 , 0x00000005 
+ 00019703  0x000060f1 setarg  0x00657474 
+ 00019704  0x000060f2 istore  0x00000003 , 0x00000005 
+ 00019705  0x000060f3 setarg  0x00003372 
+ 00019706  0x000060f4 istore  0x00000002 , 0x00000005 
+ 00019707  0x000060f5 fetch  0x00000001 , 0x000049f6 
+ 00019708  0x000060f6 rtn  0x00000034 
+ 00019709  0x000060f7 store  0x00000001 , 0x000042f7 
+ 00019710  0x000060f8 copy  0x0000003f , 0x00000039 
+ 00019711  0x000060f9 arg  0x000049f7 , 0x00000006 
+ 00019712  0x000060fa arg  0x000042f8 , 0x00000005 
+ 00019713  0x000060fb branch  0x00007dd4 
+ 00019714  0x00006109 fetch  0x00000001 , 0x000044d7 
+ 00019715  0x0000610b arg  0x0000003e , 0x00000002 
+ 00019716  0x0000610c branch  0x0000612b 
+ 00019717  0x00006110 fetch  0x00000001 , 0x000044d7 
+ 00019718  0x00006112 arg  0x0000003f , 0x00000002 
+ 00019719  0x00006113 branch  0x0000612b 
+ 00019720  0x00006116 call  0x00004d05 
+ 00019721  0x00006118 call  0x00004d02 
+ 00019722  0x00006119 branch  0x00004d05 
+ 00019723  0x0000611d call  0x00004d09 
+ 00019724  0x0000611f branch  0x00004d02 
+ 00019725  0x00006122 branch  0x00004d09 
+ 00019726  0x00006125 call  0x00004d09 
+ 00019727  0x00006126 branch  0x00004d0b 
+ 00019728  0x0000612b branch  0x00004d02 
+ 00019729  0x00006130 fetch  0x00000001 , 0x000044d8 
+ 00019730  0x00006131 branch  0x00004d03 
+ 00019731  0x00006135 fetch  0x00000001 , 0x000044d8 
+ 00019732  0x00006136 branch  0x00004d06 
+ 00019733  0x00006139 call  0x00004d11 
+ 00019734  0x0000613a call  0x00004d13 
+ 00019735  0x0000613b branch  0x00004d11 
+ 00019736  0x00006143 clear_stack 
+ 00019737  0x00006144 call  0x00004d22 
+ 00019738  0x00006145 call  0x00004d2c 
+ 00019739  0x00006146 call  0x00004d40 
+ 00019740  0x00006147 call  0x00004d5f 
+ 00019741  0x00006148 call  0x00004d63 
+ 00019742  0x0000614a jam  0x00000001 , 0x000009fc 
+ 00019743  0x0000614b jam  0x00000004 , 0x000009f9 
+ 00019744  0x0000614e call  0x00004d6e 
+ 00019745  0x0000614f branch  0x00004d20 
+ 00019746  0x00006153 fetch  0x00000001 , 0x00000a2c 
+ 00019747  0x00006154 bbit1  0x00000007 , 0x00004d2a 
+ 00019748  0x00006156 jam  0x000000ff , 0x00008a01 
+ 00019749  0x00006157 nop  0x00000064 
+ 00019750  0x00006158 jam  0x0000000e , 0x00008a02 
+ 00019751  0x00006159 jam  0x00000003 , 0x00008a00 
+ 00019752  0x0000615a jam  0x00000005 , 0x00008042 
+ 00019753  0x0000615b rtn 
+ 00019754  0x0000615e jam  0x00000004 , 0x00008042 
+ 00019755  0x0000615f rtn 
+ 00019756  0x00006162 call  0x00004d30 
+ 00019757  0x00006163 call  0x00004d34 
+ 00019758  0x00006164 call  0x00004d38 
+ 00019759  0x00006165 branch  0x00004d3c 
+ 00019760  0x00006168 fetch  0x00000001 , 0x000047a7 
+ 00019761  0x00006169 nrtn  0x00000034 
+ 00019762  0x0000616a jam  0x0000000d , 0x000047a7 
+ 00019763  0x0000616b rtn 
+ 00019764  0x0000616e fetch  0x00000001 , 0x000047a8 
+ 00019765  0x0000616f nrtn  0x00000034 
+ 00019766  0x00006170 jam  0x0000000e , 0x000047a8 
+ 00019767  0x00006171 rtn 
+ 00019768  0x00006173 fetch  0x00000001 , 0x000047a9 
+ 00019769  0x00006174 nrtn  0x00000034 
+ 00019770  0x00006175 jam  0x00000009 , 0x000047a9 
+ 00019771  0x00006176 rtn 
+ 00019772  0x00006178 fetch  0x00000001 , 0x000047aa 
+ 00019773  0x00006179 nrtn  0x00000034 
+ 00019774  0x0000617a jam  0x0000000a , 0x000047aa 
+ 00019775  0x0000617b rtn 
+ 00019776  0x0000617f setarg  0x00001800 
+ 00019777  0x00006180 store  0x00000002 , 0x0000095c 
+ 00019778  0x00006181 setarg  0x00001bff 
+ 00019779  0x00006182 istore  0x00000002 , 0x00000005 
+ 00019780  0x00006183 setarg  0x00001c00 
+ 00019781  0x00006184 istore  0x00000002 , 0x00000005 
+ 00019782  0x00006185 setarg  0x00001fff 
+ 00019783  0x00006186 istore  0x00000002 , 0x00000005 
+ 00019784  0x00006187 fetch  0x00000008 , 0x0000095c 
+ 00019785  0x00006188 call  0x00005f56 
+ 00019786  0x00006189 fetch  0x00000001 , 0x00000a2c 
+ 00019787  0x0000618a isolate1  0x00000007 , 0x0000003f 
+ 00019788  0x0000618b call  0x00005f7d , 0x00000001 
+ 00019789  0x0000618c ncall  0x00005f81 , 0x00000001 
+ 00019790  0x0000618d arg  0x0001c200 , 0x00000002 
+ 00019791  0x0000618e call  0x00005f6e 
+ 00019792  0x0000618f fetch  0x00000001 , 0x000047a7 
+ 00019793  0x00006190 arg  0x00000008 , 0x00000002 
+ 00019794  0x00006191 call  0x0000612c 
+ 00019795  0x00006192 fetch  0x00000001 , 0x000047a8 
+ 00019796  0x00006193 arg  0x00000049 , 0x00000002 
+ 00019797  0x00006194 call  0x0000612c 
+ 00019798  0x00006195 fetch  0x00000001 , 0x000047a9 
+ 00019799  0x00006196 arg  0x0000000a , 0x00000002 
+ 00019800  0x00006197 call  0x0000612c 
+ 00019801  0x00006198 fetch  0x00000001 , 0x000047aa 
+ 00019802  0x00006199 arg  0x0000000b , 0x00000002 
+ 00019803  0x0000619a call  0x0000612c 
+ 00019804  0x0000619c arg  0x00000081 , 0x00000002 
+ 00019805  0x0000619d storet  0x00000001 , 0x00008060 
+ 00019806  0x0000619e branch  0x00007e77 
+ 00019807  0x000061a1 fetch  0x00000001 , 0x000047ab 
+ 00019808  0x000061a2 nrtn  0x00000034 
+ 00019809  0x000061a3 jam  0x0000000c , 0x000047ab 
+ 00019810  0x000061a4 rtn 
+ 00019811  0x000061a7 fetch  0x00000001 , 0x000047ab 
+ 00019812  0x000061a8 arg  0x00000010 , 0x00000002 
+ 00019813  0x000061a9 call  0x0000612c 
+ 00019814  0x000061aa arg  0x00000040 , 0x00000011 
+ 00019815  0x000061ab call  0x00006239 
+ 00019816  0x000061ac arg  0x00000000 , 0x00000011 
+ 00019817  0x000061ad arg  0x00000000 , 0x00000012 
+ 00019818  0x000061ae setarg  0x00000000 
+ 00019819  0x000061af call  0x00006272 
+ 00019820  0x000061b0 arg  0x00000000 , 0x00000007 
+ 00019821  0x000061b1 branch  0x00006285 
+ 00019822  0x000061b5 fetch  0x00000002 , 0x00008112 
+ 00019823  0x000061b6 add  0x0000003f , 0xfffffffc , 0x00000011 
+ 00019824  0x000061b7 nrtn  0x00000002 
+ 00019825  0x000061b8 call  0x00005f9d 
+ 00019826  0x000061b9 ifetch  0x00000001 , 0x00000003 
+ 00019827  0x000061ba beq  0x00000001 , 0x00004d76 
+ 00019828  0x000061bc call  0x00007d85 
+ 00019829  0x000061bd branch  0x00005fad 
+ 00019830  0x000061c2 ifetch  0x00000002 , 0x00000003 
+ 00019831  0x000061c3 store  0x00000002 , 0x000009fd 
+ 00019832  0x000061c4 arg  0x000003ff , 0x00000002 
+ 00019833  0x000061c5 iand  0x00000002 , 0x00000002 
+ 00019834  0x000061c6 storet  0x00000002 , 0x000009f6 
+ 00019835  0x000061c7 rshift2  0x0000003f , 0x0000003f 
+ 00019836  0x000061c8 rshift8  0x0000003f , 0x0000003f 
+ 00019837  0x000061c9 store  0x00000001 , 0x000009f8 
+ 00019838  0x000061ca ifetch  0x00000001 , 0x00000003 
+ 00019839  0x000061cb pincrease  0xffffffff 
+ 00019840  0x000061cc isub  0x00000011 , 0x0000003e 
+ 00019841  0x000061cd rtn  0x00000002 
+ 00019842  0x000061ce call  0x00004d84 
+ 00019843  0x000061cf branch  0x00004ddf 
+ 00019844  0x000061d2 fetch  0x00000001 , 0x000009f8 
+ 00019845  0x000061da beq  0x0000003f , 0x00004d87 
+ 00019846  0x000061db branch  0x00004dcb 
+ 00019847  0x000061e6 bpatch  0x000000e6 , 0x0000401c 
+ 00019848  0x000061e7 fetch  0x00000001 , 0x000009f6 
+ 00019849  0x000061e8 beq  0x00000000 , 0x00004dca 
+ 00019850  0x000061e9 beq  0x00000001 , 0x00004d92 
+ 00019851  0x000061ea beq  0x00000002 , 0x00004d97 
+ 00019852  0x000061eb beq  0x00000003 , 0x00004da5 
+ 00019853  0x000061ec beq  0x00000004 , 0x00004daf 
+ 00019854  0x000061ed beq  0x00000005 , 0x00004dca 
+ 00019855  0x000061ee beq  0x00000010 , 0x00004dc0 
+ 00019856  0x000061ef beq  0x00000014 , 0x00004dc6 
+ 00019857  0x000061f0 branch  0x00004dca 
+ 00019858  0x000061f4 jam  0x00000000 , 0x000009ff 
+ 00019859  0x000061f5 fetch  0x00000002 , 0x00008000 
+ 00019860  0x000061f6 store  0x00000002 , 0x00000a00 
+ 00019861  0x000061f7 arg  0x00000003 , 0x00000039 
+ 00019862  0x000061f8 branch  0x00004dd2 
+ 00019863  0x000061fb ifetch  0x00000002 , 0x00000003 
+ 00019864  0x000061fc store  0x00000002 , 0x00008052 
+ 00019865  0x000061fd rtn 
+ 00019866  0x00006201 ifetch  0x00000001 , 0x00000003 
+ 00019867  0x00006202 copy  0x0000003f , 0x00000002 
+ 00019868  0x00006203 store  0x00000001 , 0x00008024 
+ 00019869  0x00006204 ifetch  0x00000001 , 0x00000003 
+ 00019870  0x00006205 iadd  0x00000002 , 0x00000002 
+ 00019871  0x00006206 set1  0x00000007 , 0x0000003f 
+ 00019872  0x00006207 store  0x00000001 , 0x00008023 
+ 00019873  0x00006208 ifetch  0x00000001 , 0x00000003 
+ 00019874  0x00006209 iadd  0x00000002 , 0x00000002 
+ 00019875  0x0000620a copy  0x0000003f , 0x00000039 
+ 00019876  0x0000620b rtn 
+ 00019877  0x0000620e call  0x00004d9a 
+ 00019878  0x00006210 ifetch  0x00000001 , 0x00000003 
+ 00019879  0x00006211 store  0x00000001 , 0x00008025 
+ 00019880  0x00006212 iadd  0x00000002 , 0x00000002 
+ 00019881  0x00006213 loop  0x00004da6 
+ 00019882  0x00006215 and  0x00000002 , 0x000000ff , 0x00000002 
+ 00019883  0x00006216 ifetch  0x00000001 , 0x00000003 
+ 00019884  0x00006217 isub  0x00000002 , 0x0000003e 
+ 00019885  0x00006218 nbranch  0x00004dbe , 0x00000005 
+ 00019886  0x00006219 branch  0x00004dca 
+ 00019887  0x0000621c arg  0x00000020 , 0x00000039 
+ 00019888  0x0000621d arg  0x00004000 , 0x00000005 
+ 00019889  0x0000621e arg  0x00000000 , 0x00000002 
+ 00019890  0x00006220 ifetch  0x00000001 , 0x00000003 
+ 00019891  0x00006221 istore  0x00000001 , 0x00000005 
+ 00019892  0x00006222 iadd  0x00000002 , 0x00000002 
+ 00019893  0x00006223 loop  0x00004db2 
+ 00019894  0x00006224 and  0x00000002 , 0x000000ff , 0x00000002 
+ 00019895  0x00006225 ifetch  0x00000001 , 0x00000003 
+ 00019896  0x00006226 isub  0x00000002 , 0x0000003e 
+ 00019897  0x00006227 nbranch  0x00004dbe , 0x00000005 
+ 00019898  0x00006228 jam  0x00000000 , 0x00008023 
+ 00019899  0x00006229 call  0x00004dca 
+ 00019900  0x0000622a call  0x00007e7c 
+ 00019901  0x0000622b branch  0x00000801 
+ 00019902  0x0000622e jam  0x00000000 , 0x00008023 
+ 00019903  0x0000622f branch  0x00004dcb 
+ 00019904  0x00006233 ifetch  0x00000001 , 0x00000003 
+ 00019905  0x00006234 copy  0x0000003f , 0x00000039 
+ 00019906  0x00006235 ifetch  0x00000002 , 0x00000003 
+ 00019907  0x00006236 copy  0x0000003f , 0x00000005 
+ 00019908  0x00006237 call  0x00005ff3 
+ 00019909  0x00006238 branch  0x00004dca 
+ 00019910  0x0000623b fetch  0x00000001 , 0x00008060 
+ 00019911  0x0000623c set1  0x00000004 , 0x0000003f 
+ 00019912  0x0000623d store  0x00000001 , 0x00008060 
+ 00019913  0x0000623e branch  0x00004dca 
+ 00019914  0x00006242 branch  0x00004dcf 
+ 00019915  0x00006245 jam  0x00000001 , 0x000009ff 
+ 00019916  0x00006246 branch  0x00004dd0 
+ 00019917  0x00006248 jam  0x0000000c , 0x000009ff 
+ 00019918  0x00006249 branch  0x00004dd0 
+ 00019919  0x0000624b jam  0x00000000 , 0x000009ff 
+ 00019920  0x0000624c arg  0x00000001 , 0x00000039 
+ 00019921  0x0000624d branch  0x00004dd2 
+ 00019922  0x00006250 jam  0x0000000e , 0x000009fa 
+ 00019923  0x00006251 add  0x00000039 , 0x00000003 , 0x0000003f 
+ 00019924  0x00006252 store  0x00000001 , 0x000009fb 
+ 00019925  0x00006253 call  0x00004ddb 
+ 00019926  0x00006254 fetch  0x00000003 , 0x000009fc 
+ 00019927  0x00006255 istore  0x00000003 , 0x00000003 
+ 00019928  0x00006257 arg  0x000009ff , 0x00000006 
+ 00019929  0x00006258 call  0x00005fd9 
+ 00019930  0x00006259 branch  0x00005fb9 
+ 00019931  0x0000625e call  0x00005fb5 
+ 00019932  0x0000625f fetch  0x00000003 , 0x000009f9 
+ 00019933  0x00006260 istore  0x00000003 , 0x00000003 
+ 00019934  0x00006261 rtn 
+ 00019935  0x00006264 call  0x00005f9d 
+ 00019936  0x00006265 increase  0x00000003 , 0x00000003 
+ 00019937  0x00006266 ifetch  0x00000001 , 0x00000003 
+ 00019938  0x00006267 iadd  0x00000003 , 0x00000003 
+ 00019939  0x00006268 branch  0x00005fa9 
+ 00019940  0x0000626b jam  0x00000000 , 0x000041db 
+ 00019941  0x0000626c rtn 
+ 00019942  0x0000626f fetch  0x00000006 , 0x000041dd 
+ 00019943  0x00006270 fetcht  0x00000006 , 0x00000040 
+ 00019944  0x00006271 isub  0x00000002 , 0x0000003e 
+ 00019945  0x00006272 rtn 
+ 00019946  0x00006278 bpatch  0x000000e7 , 0x0000401c 
+ 00019947  0x00006279 fetch  0x00000002 , 0x00000315 
+ 00019948  0x0000627a copy  0x0000003f , 0x00000006 
+ 00019949  0x0000627b ifetch  0x00000001 , 0x00000006 
+ 00019950  0x0000627c store  0x00000001 , 0x000045f8 
+ 00019951  0x0000627d and  0x0000003f , 0x0000000f , 0x00000002 
+ 00019952  0x0000627e rshift4  0x0000003f , 0x0000003f 
+ 00019953  0x0000627f beq  0x00000009 , 0x00004e0b 
+ 00019954  0x00006280 beq  0x00000007 , 0x00004e0b 
+ 00019955  0x00006281 beq  0x0000000a , 0x00004e1a 
+ 00019956  0x00006282 beq  0x00000005 , 0x00004e03 
+ 00019957  0x00006283 beq  0x00000001 , 0x00004df7 
+ 00019958  0x00006284 rtn 
+ 00019959  0x00006287 copy  0x00000002 , 0x0000003f 
+ 00019960  0x00006288 beq  0x00000005 , 0x00004dfb 
+ 00019961  0x00006289 beq  0x00000003 , 0x00004e02 
+ 00019962  0x0000628a rtn 
+ 00019963  0x0000628d jam  0x00000027 , 0x0000095b 
+ 00019964  0x0000628e call  0x000078dc 
+ 00019965  0x0000628f fetch  0x00000001 , 0x0000409a 
+ 00019966  0x00006290 rtnne  0x00000008 
+ 00019967  0x00006291 copy  0x00000002 , 0x0000003f 
+ 00019968  0x00006292 beq  0x00000005 , 0x0000448c 
+ 00019969  0x00006293 rtn 
+ 00019970  0x00006295 rtn 
+ 00019971  0x00006298 call  0x00004e1a 
+ 00019972  0x00006299 arg  0x00000001 , 0x00000011 
+ 00019973  0x0000629a call  0x00004e1e 
+ 00019974  0x0000629b fetch  0x00000002 , 0x000044df 
+ 00019975  0x0000629c istore  0x00000002 , 0x00000005 
+ 00019976  0x0000629d setarg  0x00000000 
+ 00019977  0x0000629e istore  0x00000001 , 0x00000005 
+ 00019978  0x0000629f rtn 
+ 00019979  0x000062a2 arg  0x00000001 , 0x00000011 
+ 00019980  0x000062a3 call  0x00004e1e 
+ 00019981  0x000062a4 fetch  0x00000002 , 0x000044df 
+ 00019982  0x000062a5 istore  0x00000002 , 0x00000005 
+ 00019983  0x000062a6 setarg  0x00000000 
+ 00019984  0x000062a7 istore  0x00000001 , 0x00000005 
+ 00019985  0x000062a8 jam  0x00000001 , 0x00000950 
+ 00019986  0x000062a9 fetch  0x00000001 , 0x000044e5 
+ 00019987  0x000062aa set1  0x00000006 , 0x0000003f 
+ 00019988  0x000062ab store  0x00000001 , 0x000044e5 
+ 00019989  0x000062ac jam  0x00000012 , 0x0000095b 
+ 00019990  0x000062ad call  0x000078dc 
+ 00019991  0x000062ae fetch  0x00000001 , 0x0000409a 
+ 00019992  0x000062af rtnne  0x00000008 
+ 00019993  0x000062b0 branch  0x0000446c 
+ 00019994  0x000062b4 ifetch  0x00000001 , 0x00000006 
+ 00019995  0x000062b5 beq  0x00000001 , 0x00004e1d 
+ 00019996  0x000062b6 rtn 
+ 00019997  0x000062b9 rtn 
+ 00019998  0x000062bd call  0x000052fb 
+ 00019999  0x000062be copy  0x00000011 , 0x00000002 
+ 00020000  0x000062bf storet  0x00000001 , 0x00000950 
+ 00020001  0x000062c0 copy  0x0000003f , 0x00000005 
+ 00020002  0x000062c1 copy  0x00000011 , 0x0000003f 
+ 00020003  0x000062c2 istore  0x00000002 , 0x00000005 
+ 00020004  0x000062c3 rtn 
+ 00020005  0x000062d5 branch  0x00004e2a , 0x0000002b 
+ 00020006  0x000062d7 setarg  0x000045f9 
+ 00020007  0x000062d8 arg  0x000044d9 , 0x00000005 
+ 00020008  0x000062d9 isub  0x00000005 , 0x00000039 
+ 00020009  0x000062da call  0x00007d9b 
+ 00020010  0x000062dc bpatch  0x000000e8 , 0x0000401d 
+ 00020011  0x000062dd setarg  0x00000424 
+ 00020012  0x000062de arg  0x000003e4 , 0x00000005 
+ 00020013  0x000062df isub  0x00000005 , 0x00000039 
+ 00020014  0x000062e0 call  0x00007d9b 
+ 00020015  0x000062e1 setarg  0x0000037a 
+ 00020016  0x000062e2 arg  0x0000030e , 0x00000005 
+ 00020017  0x000062e3 isub  0x00000005 , 0x00000039 
+ 00020018  0x000062e4 call  0x00007d9b 
+ 00020019  0x000062e5 branch  0x000053c9 
+ 00020020  0x000062e8 bpatch  0x000000e9 , 0x0000401d 
+ 00020021  0x000062e9 copy  0x00000006 , 0x00000002 
+ 00020022  0x000062ec copy  0x00000002 , 0x00000006 
+ 00020023  0x000062ed ifetch  0x00000002 , 0x00000006 
+ 00020024  0x000062ee store  0x00000002 , 0x00000317 
+ 00020025  0x000062ef ifetch  0x00000002 , 0x00000006 
+ 00020026  0x000062f0 store  0x00000002 , 0x00000319 
+ 00020027  0x000062f1 deposit  0x00000006 
+ 00020028  0x000062f2 store  0x00000002 , 0x00000315 
+ 00020029  0x000062f3 fetch  0x00000001 , 0x0000478e 
+ 00020030  0x000062f4 beq  0x00000000 , 0x00004e40 
+ 00020031  0x000062f5 branch  0x000051ab 
+ 00020032  0x000062f8 fetch  0x00000002 , 0x00000317 
+ 00020033  0x000062f9 branch  0x00004eb8 , 0x00000034 
+ 00020034  0x000062fa bpatch  0x000000ea , 0x0000401d 
+ 00020035  0x000062fb fetch  0x00000001 , 0x00000319 
+ 00020036  0x000062fc beq  0x00000001 , 0x00004e56 
+ 00020037  0x000062fe beq  0x00000050 , 0x00004e98 
+ 00020038  0x000062ff beq  0x00000051 , 0x00004eb1 
+ 00020039  0x00006300 beq  0x00000052 , 0x00004eaf 
+ 00020040  0x00006301 beq  0x00000053 , 0x00004eaf 
+ 00020041  0x00006302 branch  0x00004eb8 
+ 00020042  0x00006307 bpatch  0x000000eb , 0x0000401d 
+ 00020043  0x00006308 call  0x0000535f 
+ 00020044  0x00006309 fetch  0x00000001 , 0x000044e9 
+ 00020045  0x0000630a beq  0x00000000 , 0x00007ed1 
+ 00020046  0x0000630b beq  0x00000001 , 0x00007ed1 
+ 00020047  0x0000630c beq  0x00000002 , 0x00007ed1 
+ 00020048  0x0000630d beq  0x00000003 , 0x00007ed1 
+ 00020049  0x0000630e beq  0x00000081 , 0x00007ed1 
+ 00020050  0x0000630f beq  0x000000c0 , 0x00007ed1 
+ 00020051  0x00006310 beq  0x00000080 , 0x00007ed1 
+ 00020052  0x00006311 beq  0x00000040 , 0x00007ed1 
+ 00020053  0x00006312 rtn 
+ 00020054  0x00006315 call  0x00004e4a 
+ 00020055  0x00006316 nrtn  0x00000034 
+ 00020056  0x00006318 call  0x00005369 
+ 00020057  0x00006319 call  0x00004ebd 
+ 00020058  0x0000631a fetcht  0x00000002 , 0x00000320 
+ 00020059  0x0000631b branch  0x00004eb7 , 0x00000034 
+ 00020060  0x0000631c call  0x00005372 
+ 00020061  0x0000631d fetch  0x00000002 , 0x00000320 
+ 00020062  0x0000631e istore  0x00000002 , 0x00000005 
+ 00020063  0x0000631f force  0x00000001 , 0x0000003f 
+ 00020064  0x00006320 istore  0x00000002 , 0x00000005 
+ 00020065  0x00006321 branch  0x00004eb8 
+ 00020066  0x00006324 fetch  0x00000001 , 0x000045f7 
+ 00020067  0x00006325 rtn  0x00000034 
+ 00020068  0x00006326 copy  0x0000003f , 0x00000011 
+ 00020069  0x00006327 bpatch  0x000000ec , 0x0000401d 
+ 00020070  0x00006328 fetch  0x00000004 , 0x00000386 
+ 00020071  0x00006329 arg  0x00000100 , 0x00000002 
+ 00020072  0x0000632a iadd  0x00000002 , 0x00000002 
+ 00020073  0x0000632b copy  0x00000022 , 0x0000003f 
+ 00020074  0x0000632c isub  0x00000002 , 0x0000003e 
+ 00020075  0x0000632d nrtn  0x00000002 
+ 00020076  0x0000632e jam  0x00000000 , 0x000045f7 
+ 00020077  0x0000632f copy  0x00000011 , 0x0000003f 
+ 00020078  0x00006330 beq  0x00000050 , 0x00004e70 
+ 00020079  0x00006331 branch  0x0000137c 
+ 00020080  0x00006333 arg  0x00000000 , 0x00000008 
+ 00020081  0x00006334 call  0x00005369 
+ 00020082  0x00006335 call  0x00004f36 
+ 00020083  0x00006336 call  0x00005374 
+ 00020084  0x00006337 call  0x00007d61 
+ 00020085  0x00006338 call  0x00004f69 
+ 00020086  0x00006339 call  0x00005372 
+ 00020087  0x0000633b setarg  0x0000000c 
+ 00020088  0x0000633c istore  0x00000002 , 0x00000005 
+ 00020089  0x0000633d force  0x00000001 , 0x0000003f 
+ 00020090  0x0000633e istore  0x00000002 , 0x00000005 
+ 00020091  0x0000633f branch  0x00004eb8 
+ 00020092  0x00006344 bpatch  0x000000ed , 0x0000401d 
+ 00020093  0x00006345 fetch  0x00000002 , 0x00000326 
+ 00020094  0x00006346 increase  0x00000004 , 0x0000003f 
+ 00020095  0x00006347 call  0x00007f27 
+ 00020096  0x00006348 add  0x0000003f , 0x00000001 , 0x00000002 
+ 00020097  0x00006349 arg  0x000044f3 , 0x00000006 
+ 00020098  0x0000634a ifetch  0x00000003 , 0x00000006 
+ 00020099  0x0000634b rtn  0x00000034 
+ 00020100  0x0000634c store  0x00000003 , 0x0000098e 
+ 00020101  0x0000634d fetch  0x00000001 , 0x0000098e 
+ 00020102  0x0000634e copy  0x0000003f , 0x00000011 
+ 00020103  0x0000634f call  0x00004e8b 
+ 00020104  0x00006350 copy  0x00000012 , 0x0000003f 
+ 00020105  0x00006351 store  0x00000001 , 0x000044f3 
+ 00020106  0x00006352 rtn 
+ 00020107  0x00006355 arg  0x00000000 , 0x00000007 
+ 00020108  0x00006356 arg  0x00000000 , 0x00000012 
+ 00020109  0x00006359 sub  0x00000007 , 0x00000007 , 0x0000003e 
+ 00020110  0x0000635a nrtn  0x00000002 
+ 00020111  0x0000635b qisolate1  0x00000011 
+ 00020112  0x0000635c branch  0x00004e92 , 0x00000001 
+ 00020113  0x0000635d branch  0x00004e96 
+ 00020114  0x00006360 copy  0x00000002 , 0x0000003f 
+ 00020115  0x00006361 branch  0x00004e96 , 0x00000034 
+ 00020116  0x00006362 qset1  0x00000012 
+ 00020117  0x00006363 increase  0xffffffff , 0x00000002 
+ 00020118  0x00006366 increase  0x00000001 , 0x00000007 
+ 00020119  0x00006367 branch  0x00004e8d 
+ 00020120  0x0000636a call  0x00005355 
+ 00020121  0x0000636b nrtn  0x00000034 
+ 00020122  0x0000636c call  0x00004e4a 
+ 00020123  0x0000636d nrtn  0x00000034 
+ 00020124  0x0000636e call  0x00005376 
+ 00020125  0x0000636f call  0x00006e5e 
+ 00020126  0x00006370 call  0x0000672f 
+ 00020127  0x00006371 call  0x00006e62 
+ 00020128  0x00006372 call  0x00004e7c 
+ 00020129  0x00006373 branch  0x00004ea8 
+ 00020130  0x00006377 call  0x00005355 
+ 00020131  0x00006378 nrtn  0x00000034 
+ 00020132  0x00006379 call  0x00005376 
+ 00020133  0x0000637a call  0x00006e5e 
+ 00020134  0x0000637b call  0x0000672f 
+ 00020135  0x0000637c call  0x00006e62 
+ 00020136  0x0000637e call  0x0000537f 
+ 00020137  0x0000637f fetch  0x00000002 , 0x00000326 
+ 00020138  0x00006380 branch  0x00004eb7 , 0x00000034 
+ 00020139  0x00006381 istore  0x00000002 , 0x00000005 
+ 00020140  0x00006382 fetch  0x00000002 , 0x000044db 
+ 00020141  0x00006383 istore  0x00000002 , 0x00000005 
+ 00020142  0x00006384 branch  0x00004eb8 
+ 00020143  0x00006387 call  0x00004dea 
+ 00020144  0x00006388 branch  0x00004eb8 
+ 00020145  0x0000638b bpatch  0x000000ee , 0x0000401d 
+ 00020146  0x0000638c jam  0x00000000 , 0x00000335 
+ 00020147  0x0000638d call  0x000063a9 
+ 00020148  0x0000638e fetch  0x00000001 , 0x00000335 
+ 00020149  0x0000638f rtneq  0x00000001 
+ 00020150  0x00006390 branch  0x00004eb8 
+ 00020151  0x00006392 call  0x00005345 
+ 00020152  0x00006395 setarg  0x00000000 
+ 00020153  0x00006396 store  0x00000002 , 0x00000317 
+ 00020154  0x00006397 store  0x00000002 , 0x00000319 
+ 00020155  0x00006398 jam  0x00000001 , 0x0000031b 
+ 00020156  0x00006399 rtn 
+ 00020157  0x0000639c bpatch  0x000000ef , 0x0000401d 
+ 00020158  0x0000639d call  0x00005374 
+ 00020159  0x0000639e force  0x00000000 , 0x00000012 
+ 00020160  0x0000639f fetch  0x00000002 , 0x00000317 
+ 00020161  0x000063a0 copy  0x0000003f , 0x00000013 
+ 00020162  0x000063a1 fetch  0x00000002 , 0x00000315 
+ 00020163  0x000063a2 iforce  0x00000006 
+ 00020164  0x000063a4 call  0x00004ecc 
+ 00020165  0x000063a5 deposit  0x00000013 
+ 00020166  0x000063a6 increase  0xfffffffc , 0x00000013 
+ 00020167  0x000063a7 increase  0xfffffffc , 0x0000003f 
+ 00020168  0x000063a8 nbranch  0x00004ec4 , 0x00000034 
+ 00020169  0x000063a9 copy  0x00000012 , 0x0000003f 
+ 00020170  0x000063aa store  0x00000002 , 0x00000320 
+ 00020171  0x000063ab rtn 
+ 00020172  0x000063ae bpatch  0x000000f0 , 0x0000401e 
+ 00020173  0x000063af ifetch  0x00000001 , 0x00000006 
+ 00020174  0x000063b0 beq  0x00000001 , 0x00004f05 
+ 00020175  0x000063b1 beq  0x00000002 , 0x00004f0d 
+ 00020176  0x000063b2 beq  0x00000003 , 0x00004f91 
+ 00020177  0x000063b3 beq  0x00000004 , 0x00004fc1 
+ 00020178  0x000063b4 beq  0x00000005 , 0x0000505e 
+ 00020179  0x000063b5 beq  0x00000006 , 0x00005087 
+ 00020180  0x000063b6 beq  0x00000007 , 0x000050d7 
+ 00020181  0x000063b7 beq  0x00000008 , 0x0000510c 
+ 00020182  0x000063b8 beq  0x00000009 , 0x0000511c 
+ 00020183  0x000063b9 beq  0x0000000a , 0x00004edb 
+ 00020184  0x000063ba beq  0x0000000b , 0x0000511d 
+ 00020185  0x000063bb call  0x0000511e 
+ 00020186  0x000063bd rtn 
+ 00020187  0x000063c0 ifetch  0x00000001 , 0x00000006 
+ 00020188  0x000063c1 copy  0x0000003f , 0x00000007 
+ 00020189  0x000063c2 ifetch  0x00000002 , 0x00000006 
+ 00020190  0x000063c3 copy  0x0000003f , 0x00000011 
+ 00020191  0x000063c4 copy  0x00000013 , 0x0000003f 
+ 00020192  0x000063c5 isub  0x00000011 , 0x00000013 
+ 00020193  0x000063c6 setarg  0x0000000b 
+ 00020194  0x000063c7 istore  0x00000001 , 0x00000005 
+ 00020195  0x000063c8 copy  0x00000007 , 0x0000003f 
+ 00020196  0x000063c9 istore  0x00000001 , 0x00000005 
+ 00020197  0x000063ca ifetch  0x00000002 , 0x00000006 
+ 00020198  0x000063cc beq  0x00000002 , 0x00004ee9 
+ 00020199  0x000063cd beq  0x00000003 , 0x00004eef 
+ 00020200  0x000063ce rtn 
+ 00020201  0x000063d0 setarg  0x00020008 
+ 00020202  0x000063d1 istore  0x00000006 , 0x00000005 
+ 00020203  0x000063d2 setarg  0x00000280 
+ 00020204  0x000063d3 istore  0x00000004 , 0x00000005 
+ 00020205  0x000063d4 force  0x0000000c , 0x0000003f 
+ 00020206  0x000063d5 branch  0x00004ef4 
+ 00020207  0x000063d7 setarg  0x0003000c 
+ 00020208  0x000063d8 istore  0x00000006 , 0x00000005 
+ 00020209  0x000063d9 setarg  0x00000006 
+ 00020210  0x000063da istore  0x00000008 , 0x00000005 
+ 00020211  0x000063db force  0x00000010 , 0x0000003f 
+ 00020212  0x000063dd iadd  0x00000012 , 0x00000012 
+ 00020213  0x000063de branch  0x00004eda 
+ 00020214  0x000063e1 ifetch  0x00000001 , 0x00000006 
+ 00020215  0x000063e2 copy  0x0000003f , 0x00000007 
+ 00020216  0x000063e3 ifetch  0x00000002 , 0x00000006 
+ 00020217  0x000063e4 copy  0x0000003f , 0x00000011 
+ 00020218  0x000063e5 ifetch  0x00000002 , 0x00000006 
+ 00020219  0x000063e6 store  0x00000002 , 0x00000964 
+ 00020220  0x000063e7 copy  0x00000013 , 0x0000003f 
+ 00020221  0x000063e8 isub  0x00000011 , 0x00000013 
+ 00020222  0x000063e9 call  0x00005374 
+ 00020223  0x000063ea setarg  0x0000000b 
+ 00020224  0x000063eb istore  0x00000001 , 0x00000005 
+ 00020225  0x000063ec copy  0x00000007 , 0x0000003f 
+ 00020226  0x000063ed istore  0x00000001 , 0x00000005 
+ 00020227  0x000063ee fetch  0x00000002 , 0x00000964 
+ 00020228  0x000063ef branch  0x00004ee6 
+ 00020229  0x000063f4 ifetch  0x00000001 , 0x00000006 
+ 00020230  0x000063f5 copy  0x0000003f , 0x00000007 
+ 00020231  0x000063f6 ifetch  0x00000002 , 0x00000006 
+ 00020232  0x000063f7 copy  0x0000003f , 0x00000011 
+ 00020233  0x000063f8 iadd  0x00000006 , 0x00000006 
+ 00020234  0x000063f9 copy  0x00000013 , 0x0000003f 
+ 00020235  0x000063fa isub  0x00000011 , 0x00000013 
+ 00020236  0x000063fc branch  0x00004eda 
+ 00020237  0x000063ff call  0x00007d61 
+ 00020238  0x00006402 call  0x00007d66 
+ 00020239  0x00006403 arg  0x00000000 , 0x00000008 
+ 00020240  0x00006404 ifetch  0x00000001 , 0x00000006 
+ 00020241  0x00006405 copy  0x0000003f , 0x00000007 
+ 00020242  0x00006406 ifetch  0x00000002 , 0x00000006 
+ 00020243  0x00006407 copy  0x0000003f , 0x00000011 
+ 00020244  0x00006408 ifetch  0x00000002 , 0x00000006 
+ 00020245  0x00006409 copy  0x0000003f , 0x00000002 
+ 00020246  0x0000640a ifetch  0x00000002 , 0x00000006 
+ 00020247  0x0000640b copy  0x0000003f , 0x0000000b 
+ 00020248  0x0000640c bpatch  0x000000f1 , 0x0000401e 
+ 00020249  0x0000640d copy  0x00000002 , 0x0000003f 
+ 00020250  0x0000640e beq  0x00000001 , 0x00004f20 
+ 00020251  0x0000640f beq  0x00000003 , 0x00004f42 
+ 00020252  0x00006410 beq  0x00000011 , 0x00004f4e 
+ 00020253  0x00006411 beq  0x00000013 , 0x00004f59 
+ 00020254  0x00006412 call  0x0000511e 
+ 00020255  0x00006413 branch  0x00004f90 
+ 00020256  0x00006416 call  0x00007d61 
+ 00020257  0x00006417 arg  0x00000050 , 0x00000002 
+ 00020258  0x00006418 fetch  0x00000002 , 0x000044db 
+ 00020259  0x00006419 nbranch  0x00004f8a , 0x00000034 
+ 00020260  0x0000641a copy  0x0000000b , 0x0000003f 
+ 00020261  0x0000641b store  0x00000002 , 0x000044db 
+ 00020262  0x0000641c copy  0x00000022 , 0x0000003f 
+ 00020263  0x0000641d store  0x00000004 , 0x00000386 
+ 00020264  0x0000641e call  0x00004f2a 
+ 00020265  0x0000641f branch  0x00004f65 
+ 00020266  0x00006422 storet  0x00000002 , 0x00000384 
+ 00020267  0x00006423 deposit  0x0000000b 
+ 00020268  0x00006424 store  0x00000002 , 0x0000037a 
+ 00020269  0x00006425 deposit  0x00000011 
+ 00020270  0x00006426 store  0x00000002 , 0x0000037c 
+ 00020271  0x00006427 deposit  0x00000012 
+ 00020272  0x00006428 store  0x00000002 , 0x0000037e 
+ 00020273  0x00006429 deposit  0x00000013 
+ 00020274  0x0000642a store  0x00000002 , 0x00000380 
+ 00020275  0x0000642b deposit  0x00000007 
+ 00020276  0x0000642c store  0x00000002 , 0x00000382 
+ 00020277  0x0000642d rtn 
+ 00020278  0x00006430 fetcht  0x00000002 , 0x00000384 
+ 00020279  0x00006431 fetch  0x00000002 , 0x0000037a 
+ 00020280  0x00006432 copy  0x0000003f , 0x0000000b 
+ 00020281  0x00006433 fetch  0x00000002 , 0x0000037c 
+ 00020282  0x00006434 copy  0x0000003f , 0x00000011 
+ 00020283  0x00006435 fetch  0x00000002 , 0x0000037e 
+ 00020284  0x00006436 copy  0x0000003f , 0x00000012 
+ 00020285  0x00006437 fetch  0x00000002 , 0x00000380 
+ 00020286  0x00006438 copy  0x0000003f , 0x00000013 
+ 00020287  0x00006439 fetch  0x00000002 , 0x00000382 
+ 00020288  0x0000643a copy  0x0000003f , 0x00000007 
+ 00020289  0x0000643b rtn 
+ 00020290  0x0000643e call  0x00007d61 
+ 00020291  0x0000643f setarg  0x00000051 
+ 00020292  0x00006440 arg  0x00000051 , 0x00000002 
+ 00020293  0x00006441 fetch  0x00000002 , 0x000044dd 
+ 00020294  0x00006442 nbranch  0x00004f8a , 0x00000034 
+ 00020295  0x00006443 copy  0x0000000b , 0x0000003f 
+ 00020296  0x00006444 store  0x00000002 , 0x000044dd 
+ 00020297  0x00006445 fetch  0x00000001 , 0x000044e4 
+ 00020298  0x00006446 set1  0x00000000 , 0x0000003f 
+ 00020299  0x00006447 set1  0x00000001 , 0x0000003f 
+ 00020300  0x00006448 store  0x00000001 , 0x000044e4 
+ 00020301  0x00006449 branch  0x00004f6d 
+ 00020302  0x0000644b call  0x00007d61 
+ 00020303  0x0000644c arg  0x00000052 , 0x00000002 
+ 00020304  0x0000644d fetch  0x00000002 , 0x000044df 
+ 00020305  0x0000644e nbranch  0x00004f8a , 0x00000034 
+ 00020306  0x0000644f copy  0x0000000b , 0x0000003f 
+ 00020307  0x00006450 store  0x00000002 , 0x000044df 
+ 00020308  0x00006451 fetch  0x00000001 , 0x000044e5 
+ 00020309  0x00006452 set1  0x00000000 , 0x0000003f 
+ 00020310  0x00006453 set1  0x00000001 , 0x0000003f 
+ 00020311  0x00006454 store  0x00000001 , 0x000044e5 
+ 00020312  0x00006455 branch  0x00004f6d 
+ 00020313  0x00006457 call  0x00007d61 
+ 00020314  0x00006458 deposit  0x0000001a 
+ 00020315  0x00006459 arg  0x00000053 , 0x00000002 
+ 00020316  0x0000645a fetch  0x00000002 , 0x000044e1 
+ 00020317  0x0000645b nbranch  0x00004f8a , 0x00000034 
+ 00020318  0x0000645c copy  0x0000000b , 0x0000003f 
+ 00020319  0x0000645d store  0x00000002 , 0x000044e1 
+ 00020320  0x0000645e fetch  0x00000001 , 0x000044e6 
+ 00020321  0x0000645f set1  0x00000000 , 0x0000003f 
+ 00020322  0x00006460 set1  0x00000001 , 0x0000003f 
+ 00020323  0x00006461 store  0x00000001 , 0x000044e6 
+ 00020324  0x00006462 branch  0x00004f6d 
+ 00020325  0x00006465 setarg  0x00000001 
+ 00020326  0x00006466 store  0x00000002 , 0x0000032e 
+ 00020327  0x00006467 jam  0x00000050 , 0x000045f7 
+ 00020328  0x00006468 branch  0x00004f6f 
+ 00020329  0x0000646a fetch  0x00000001 , 0x000044e3 
+ 00020330  0x0000646b set1  0x00000000 , 0x0000003f 
+ 00020331  0x0000646c set1  0x00000001 , 0x0000003f 
+ 00020332  0x0000646d store  0x00000001 , 0x000044e3 
+ 00020333  0x0000646f setarg  0x00000000 
+ 00020334  0x00006470 store  0x00000002 , 0x0000032e 
+ 00020335  0x00006472 bpatch  0x000000f2 , 0x0000401e 
+ 00020336  0x00006473 call  0x00007d66 
+ 00020337  0x00006474 setarg  0x00000003 
+ 00020338  0x00006475 istore  0x00000001 , 0x00000005 
+ 00020339  0x00006476 copy  0x00000007 , 0x0000003f 
+ 00020340  0x00006477 istore  0x00000001 , 0x00000005 
+ 00020341  0x00006478 setarg  0x00000008 
+ 00020342  0x00006479 istore  0x00000002 , 0x00000005 
+ 00020343  0x0000647a copy  0x00000002 , 0x0000003f 
+ 00020344  0x0000647b istore  0x00000002 , 0x00000005 
+ 00020345  0x0000647c copy  0x0000000b , 0x0000003f 
+ 00020346  0x0000647d istore  0x00000002 , 0x00000005 
+ 00020347  0x0000647e fetch  0x00000002 , 0x0000032e 
+ 00020348  0x0000647f beq  0x00000001 , 0x00004f85 
+ 00020349  0x00006480 isolate0  0x00000000 , 0x00000008 
+ 00020350  0x00006481 branch  0x00004f80 , 0x00000001 
+ 00020351  0x00006482 setarg  0x00000004 
+ 00020352  0x00006484 istore  0x00000002 , 0x00000005 
+ 00020353  0x00006485 force  0x00000000 , 0x0000003f 
+ 00020354  0x00006486 istore  0x00000002 , 0x00000005 
+ 00020355  0x00006487 setarg  0x0000000c 
+ 00020356  0x00006488 branch  0x00004f8c 
+ 00020357  0x0000648a istore  0x00000002 , 0x00000005 
+ 00020358  0x0000648b force  0x00000002 , 0x0000003f 
+ 00020359  0x0000648c istore  0x00000002 , 0x00000005 
+ 00020360  0x0000648d setarg  0x0000000c 
+ 00020361  0x0000648e branch  0x00004f8c 
+ 00020362  0x00006491 set1  0x00000000 , 0x00000008 
+ 00020363  0x00006492 branch  0x00004f6d 
+ 00020364  0x00006494 iadd  0x00000012 , 0x00000012 
+ 00020365  0x00006495 copy  0x00000013 , 0x0000003f 
+ 00020366  0x00006496 isub  0x00000011 , 0x00000013 
+ 00020367  0x00006497 branch  0x00004f90 
+ 00020368  0x00006499 branch  0x00004eda 
+ 00020369  0x0000649c ifetch  0x00000001 , 0x00000006 
+ 00020370  0x0000649d copy  0x0000003f , 0x00000007 
+ 00020371  0x0000649e ifetch  0x00000002 , 0x00000006 
+ 00020372  0x0000649f copy  0x0000003f , 0x00000011 
+ 00020373  0x000064a0 copy  0x00000013 , 0x0000003f 
+ 00020374  0x000064a1 isub  0x00000011 , 0x00000013 
+ 00020375  0x000064a2 ifetch  0x00000002 , 0x00000006 
+ 00020376  0x000064a3 copy  0x0000003f , 0x0000000b 
+ 00020377  0x000064a4 ifetch  0x00000002 , 0x00000006 
+ 00020378  0x000064a5 copy  0x0000003f , 0x00000002 
+ 00020379  0x000064a6 bpatch  0x000000f3 , 0x0000401e 
+ 00020380  0x000064a7 setarg  0x00000050 
+ 00020381  0x000064a8 isub  0x00000002 , 0x0000003e 
+ 00020382  0x000064a9 branch  0x00004fa9 , 0x00000005 
+ 00020383  0x000064aa setarg  0x00000051 
+ 00020384  0x000064ab isub  0x00000002 , 0x0000003e 
+ 00020385  0x000064ac branch  0x00004faf , 0x00000005 
+ 00020386  0x000064ad setarg  0x00000052 
+ 00020387  0x000064ae isub  0x00000002 , 0x0000003e 
+ 00020388  0x000064af branch  0x00004fbb , 0x00000005 
+ 00020389  0x000064b0 setarg  0x00000053 
+ 00020390  0x000064b1 isub  0x00000002 , 0x0000003e 
+ 00020391  0x000064b2 branch  0x00004fb5 , 0x00000005 
+ 00020392  0x000064b3 rtn 
+ 00020393  0x000064b6 copy  0x0000000b , 0x0000003f 
+ 00020394  0x000064b7 store  0x00000002 , 0x000044db 
+ 00020395  0x000064b8 fetch  0x00000001 , 0x000044e3 
+ 00020396  0x000064b9 set1  0x00000001 , 0x0000003f 
+ 00020397  0x000064ba store  0x00000001 , 0x000044e3 
+ 00020398  0x000064bb branch  0x00004eda 
+ 00020399  0x000064bd copy  0x0000000b , 0x0000003f 
+ 00020400  0x000064be store  0x00000002 , 0x000044dd 
+ 00020401  0x000064bf fetch  0x00000001 , 0x000044e4 
+ 00020402  0x000064c0 set1  0x00000001 , 0x0000003f 
+ 00020403  0x000064c1 store  0x00000001 , 0x000044e4 
+ 00020404  0x000064c2 rtn 
+ 00020405  0x000064c4 copy  0x0000000b , 0x0000003f 
+ 00020406  0x000064c5 store  0x00000002 , 0x000044df 
+ 00020407  0x000064c6 fetch  0x00000001 , 0x000044e6 
+ 00020408  0x000064c7 set1  0x00000001 , 0x0000003f 
+ 00020409  0x000064c8 store  0x00000001 , 0x000044e6 
+ 00020410  0x000064c9 rtn 
+ 00020411  0x000064cb copy  0x0000000b , 0x0000003f 
+ 00020412  0x000064cc store  0x00000002 , 0x000044e1 
+ 00020413  0x000064cd fetch  0x00000001 , 0x000044e5 
+ 00020414  0x000064ce set1  0x00000001 , 0x0000003f 
+ 00020415  0x000064cf store  0x00000001 , 0x000044e5 
+ 00020416  0x000064d0 rtn 
+ 00020417  0x000064d3 ifetch  0x00000001 , 0x00000006 
+ 00020418  0x000064d4 copy  0x0000003f , 0x00000007 
+ 00020419  0x000064d5 ifetch  0x00000002 , 0x00000006 
+ 00020420  0x000064d6 copy  0x0000003f , 0x00000011 
+ 00020421  0x000064d7 copy  0x00000013 , 0x0000003f 
+ 00020422  0x000064d8 isub  0x00000011 , 0x00000013 
+ 00020423  0x000064d9 ifetch  0x00000002 , 0x00000006 
+ 00020424  0x000064da copy  0x0000003f , 0x00000002 
+ 00020425  0x000064db copy  0x00000002 , 0x00000011 
+ 00020426  0x000064dc bpatch  0x000000f4 , 0x0000401e 
+ 00020427  0x000064dd setarg  0x00000050 
+ 00020428  0x000064de isub  0x00000002 , 0x0000003e 
+ 00020429  0x000064df branch  0x00004fd8 , 0x00000005 
+ 00020430  0x000064e0 setarg  0x00000051 
+ 00020431  0x000064e1 isub  0x00000002 , 0x0000003e 
+ 00020432  0x000064e2 branch  0x00004ff6 , 0x00000005 
+ 00020433  0x000064e3 setarg  0x00000052 
+ 00020434  0x000064e4 isub  0x00000002 , 0x0000003e 
+ 00020435  0x000064e5 branch  0x00004fe2 , 0x00000005 
+ 00020436  0x000064e6 setarg  0x00000053 
+ 00020437  0x000064e7 isub  0x00000002 , 0x0000003e 
+ 00020438  0x000064e8 branch  0x00004fec , 0x00000005 
+ 00020439  0x000064e9 branch  0x0000511e 
+ 00020440  0x000064ec copy  0x00000005 , 0x0000000b 
+ 00020441  0x000064ed fetch  0x00000001 , 0x000044e3 
+ 00020442  0x000064ee set1  0x00000004 , 0x0000003f 
+ 00020443  0x000064ef set1  0x00000003 , 0x0000003f 
+ 00020444  0x000064f1 store  0x00000001 , 0x000044e3 
+ 00020445  0x000064f2 copy  0x0000000b , 0x00000005 
+ 00020446  0x000064f3 arg  0x00000050 , 0x0000000b 
+ 00020447  0x000064f4 fetch  0x00000002 , 0x000044db 
+ 00020448  0x000064f5 copy  0x0000003f , 0x00000002 
+ 00020449  0x000064f6 branch  0x00004fff 
+ 00020450  0x000064f8 copy  0x00000005 , 0x0000000b 
+ 00020451  0x000064f9 fetch  0x00000001 , 0x000044e5 
+ 00020452  0x000064fa set1  0x00000004 , 0x0000003f 
+ 00020453  0x000064fb set1  0x00000003 , 0x0000003f 
+ 00020454  0x000064fd store  0x00000001 , 0x000044e5 
+ 00020455  0x000064fe copy  0x0000000b , 0x00000005 
+ 00020456  0x000064ff arg  0x00000052 , 0x0000000b 
+ 00020457  0x00006500 fetch  0x00000002 , 0x000044df 
+ 00020458  0x00006501 copy  0x0000003f , 0x00000002 
+ 00020459  0x00006502 branch  0x00004fff 
+ 00020460  0x00006504 copy  0x00000005 , 0x0000000b 
+ 00020461  0x00006505 fetch  0x00000001 , 0x000044e6 
+ 00020462  0x00006506 set1  0x00000004 , 0x0000003f 
+ 00020463  0x00006507 set1  0x00000003 , 0x0000003f 
+ 00020464  0x00006509 store  0x00000001 , 0x000044e6 
+ 00020465  0x0000650a copy  0x0000000b , 0x00000005 
+ 00020466  0x0000650b arg  0x00000053 , 0x0000000b 
+ 00020467  0x0000650c fetch  0x00000002 , 0x000044e1 
+ 00020468  0x0000650d copy  0x0000003f , 0x00000002 
+ 00020469  0x0000650e branch  0x00004fff 
+ 00020470  0x00006510 copy  0x00000005 , 0x0000000b 
+ 00020471  0x00006511 fetch  0x00000001 , 0x000044e4 
+ 00020472  0x00006512 set1  0x00000004 , 0x0000003f 
+ 00020473  0x00006513 set1  0x00000003 , 0x0000003f 
+ 00020474  0x00006515 store  0x00000001 , 0x000044e4 
+ 00020475  0x00006517 copy  0x0000000b , 0x00000005 
+ 00020476  0x00006518 arg  0x00000051 , 0x0000000b 
+ 00020477  0x00006519 fetch  0x00000002 , 0x000044dd 
+ 00020478  0x0000651a copy  0x0000003f , 0x00000002 
+ 00020479  0x0000651c bpatch  0x000000f5 , 0x0000401e 
+ 00020480  0x0000651d setarg  0x00000005 
+ 00020481  0x0000651e istore  0x00000001 , 0x00000005 
+ 00020482  0x0000651f copy  0x00000007 , 0x0000003f 
+ 00020483  0x00006520 istore  0x00000001 , 0x00000005 
+ 00020484  0x00006521 setarg  0x00000006 
+ 00020485  0x00006522 istore  0x00000002 , 0x00000005 
+ 00020486  0x00006523 copy  0x00000002 , 0x0000003f 
+ 00020487  0x00006524 istore  0x00000002 , 0x00000005 
+ 00020488  0x00006525 force  0x00000000 , 0x0000003f 
+ 00020489  0x00006526 istore  0x00000002 , 0x00000005 
+ 00020490  0x00006527 force  0x00000000 , 0x0000003f 
+ 00020491  0x00006528 istore  0x00000002 , 0x00000005 
+ 00020492  0x00006529 force  0x0000000a , 0x0000003f 
+ 00020493  0x0000652a iadd  0x00000012 , 0x00000012 
+ 00020494  0x0000652c storet  0x00000002 , 0x00000333 
+ 00020495  0x0000652d copy  0x00000007 , 0x0000003f 
+ 00020496  0x0000652e store  0x00000001 , 0x00000332 
+ 00020497  0x0000652f force  0x00000050 , 0x0000003f 
+ 00020498  0x00006530 icompare  0x000000ff , 0x0000000b 
+ 00020499  0x00006531 branch  0x00005015 , 0x00000001 
+ 00020500  0x00006532 increase  0x00000001 , 0x0000003f 
+ 00020501  0x00006535 rtn 
+ 00020502  0x00006537 disable  0x00000028 
+ 00020503  0x00006538 rtnbit1  0x00000002 , 0x0000003f 
+ 00020504  0x00006539 rtnbit0  0x00000000 , 0x0000003f 
+ 00020505  0x0000653a rtnbit0  0x00000001 , 0x0000003f 
+ 00020506  0x0000653b set1  0x00000002 , 0x0000003f 
+ 00020507  0x0000653c copy  0x00000006 , 0x00000005 
+ 00020508  0x0000653d increase  0xffffffff , 0x00000005 
+ 00020509  0x0000653e istore  0x00000001 , 0x00000005 
+ 00020510  0x0000653f enable  0x00000028 
+ 00020511  0x00006540 rtn 
+ 00020512  0x00006543 fetch  0x00000001 , 0x000044e3 
+ 00020513  0x00006544 call  0x00005016 
+ 00020514  0x00006545 nbranch  0x00005027 , 0x00000028 
+ 00020515  0x00006546 jam  0x00000050 , 0x00000331 
+ 00020516  0x00006547 fetch  0x00000002 , 0x000044db 
+ 00020517  0x00006548 store  0x00000002 , 0x00000333 
+ 00020518  0x00006549 branch  0x0000503b 
+ 00020519  0x0000654b fetch  0x00000001 , 0x000044e4 
+ 00020520  0x0000654c call  0x00005016 
+ 00020521  0x0000654d nbranch  0x0000502e , 0x00000028 
+ 00020522  0x0000654e jam  0x00000051 , 0x00000331 
+ 00020523  0x0000654f fetch  0x00000002 , 0x000044dd 
+ 00020524  0x00006550 store  0x00000002 , 0x00000333 
+ 00020525  0x00006551 branch  0x0000503b 
+ 00020526  0x00006553 fetch  0x00000001 , 0x000044e5 
+ 00020527  0x00006554 call  0x00005016 
+ 00020528  0x00006555 nbranch  0x00005035 , 0x00000028 
+ 00020529  0x00006556 jam  0x00000052 , 0x00000331 
+ 00020530  0x00006557 fetch  0x00000002 , 0x000044df 
+ 00020531  0x00006558 store  0x00000002 , 0x00000333 
+ 00020532  0x00006559 branch  0x0000503b 
+ 00020533  0x0000655b fetch  0x00000001 , 0x000044e6 
+ 00020534  0x0000655c call  0x00005016 
+ 00020535  0x0000655d nrtn  0x00000028 
+ 00020536  0x0000655e jam  0x00000053 , 0x00000331 
+ 00020537  0x0000655f fetch  0x00000002 , 0x000044e1 
+ 00020538  0x00006560 store  0x00000002 , 0x00000333 
+ 00020539  0x00006564 bpatch  0x000000f6 , 0x0000401e 
+ 00020540  0x00006565 call  0x000052f5 
+ 00020541  0x00006566 call  0x00005369 
+ 00020542  0x00006567 force  0x00000000 , 0x00000012 
+ 00020543  0x00006568 call  0x00005374 
+ 00020544  0x00006569 force  0x00000004 , 0x0000003f 
+ 00020545  0x0000656a istore  0x00000001 , 0x00000005 
+ 00020546  0x0000656b fetch  0x00000001 , 0x000044e8 
+ 00020547  0x0000656c istore  0x00000001 , 0x00000005 
+ 00020548  0x0000656d setarg  0x00000008 
+ 00020549  0x0000656e istore  0x00000002 , 0x00000005 
+ 00020550  0x0000656f fetch  0x00000002 , 0x00000333 
+ 00020551  0x00006570 istore  0x00000002 , 0x00000005 
+ 00020552  0x00006571 setarg  0x00000000 
+ 00020553  0x00006572 istore  0x00000002 , 0x00000005 
+ 00020554  0x00006573 force  0x00000001 , 0x0000003f 
+ 00020555  0x00006574 istore  0x00000001 , 0x00000005 
+ 00020556  0x00006575 force  0x00000002 , 0x0000003f 
+ 00020557  0x00006576 istore  0x00000001 , 0x00000005 
+ 00020558  0x00006577 fetch  0x00000001 , 0x00000331 
+ 00020559  0x00006578 beq  0x00000051 , 0x00005053 
+ 00020560  0x00006579 setarg  0x00000030 
+ 00020561  0x0000657a istore  0x00000002 , 0x00000005 
+ 00020562  0x0000657b branch  0x00005055 
+ 00020563  0x0000657d setarg  0x000003e3 
+ 00020564  0x0000657e istore  0x00000002 , 0x00000005 
+ 00020565  0x00006580 arg  0x0000000c , 0x00000002 
+ 00020566  0x00006581 storet  0x00000002 , 0x00000320 
+ 00020567  0x00006582 call  0x00005372 
+ 00020568  0x00006583 fetch  0x00000002 , 0x00000320 
+ 00020569  0x00006584 istore  0x00000002 , 0x00000005 
+ 00020570  0x00006585 force  0x00000001 , 0x0000003f 
+ 00020571  0x00006586 istore  0x00000002 , 0x00000005 
+ 00020572  0x00006587 jam  0x00000000 , 0x00000331 
+ 00020573  0x00006589 branch  0x00004eda 
+ 00020574  0x0000658c increase  0x00000001 , 0x00000006 
+ 00020575  0x0000658d ifetch  0x00000002 , 0x00000006 
+ 00020576  0x0000658e copy  0x0000003f , 0x00000011 
+ 00020577  0x0000658f copy  0x00000013 , 0x0000003f 
+ 00020578  0x00006590 isub  0x00000011 , 0x00000013 
+ 00020579  0x00006591 ifetch  0x00000002 , 0x00000006 
+ 00020580  0x00006592 copy  0x0000003f , 0x00000011 
+ 00020581  0x00006593 bpatch  0x000000f7 , 0x0000401e 
+ 00020582  0x00006594 setarg  0x00000050 
+ 00020583  0x00006595 isub  0x00000011 , 0x0000003e 
+ 00020584  0x00006596 branch  0x00005076 , 0x00000005 
+ 00020585  0x00006597 setarg  0x00000051 
+ 00020586  0x00006598 isub  0x00000011 , 0x0000003e 
+ 00020587  0x00006599 branch  0x0000507a , 0x00000005 
+ 00020588  0x0000659a setarg  0x00000052 
+ 00020589  0x0000659b isub  0x00000011 , 0x0000003e 
+ 00020590  0x0000659c branch  0x0000507e , 0x00000005 
+ 00020591  0x0000659d setarg  0x00000053 
+ 00020592  0x0000659e isub  0x00000011 , 0x0000003e 
+ 00020593  0x0000659f branch  0x00005082 , 0x00000005 
+ 00020594  0x000065a0 increase  0x00000002 , 0x00000006 
+ 00020595  0x000065a1 ifetch  0x00000002 , 0x00000006 
+ 00020596  0x000065a2 iforce  0x0000003e 
+ 00020597  0x000065a3 branch  0x00004eda 
+ 00020598  0x000065a5 fetch  0x00000001 , 0x000044e3 
+ 00020599  0x000065a6 set1  0x00000005 , 0x0000003f 
+ 00020600  0x000065a7 store  0x00000001 , 0x000044e3 
+ 00020601  0x000065a8 branch  0x00004eda 
+ 00020602  0x000065aa fetch  0x00000001 , 0x000044e4 
+ 00020603  0x000065ab set1  0x00000005 , 0x0000003f 
+ 00020604  0x000065ac store  0x00000001 , 0x000044e4 
+ 00020605  0x000065ad branch  0x00004eda 
+ 00020606  0x000065af fetch  0x00000001 , 0x000044e5 
+ 00020607  0x000065b0 set1  0x00000005 , 0x0000003f 
+ 00020608  0x000065b1 store  0x00000001 , 0x000044e5 
+ 00020609  0x000065b2 branch  0x00004eda 
+ 00020610  0x000065b4 fetch  0x00000001 , 0x000044e6 
+ 00020611  0x000065b5 set1  0x00000005 , 0x0000003f 
+ 00020612  0x000065b6 store  0x00000001 , 0x000044e6 
+ 00020613  0x000065b7 jam  0x00000006 , 0x0000095b 
+ 00020614  0x000065b8 branch  0x000078dc 
+ 00020615  0x000065bd ifetch  0x00000001 , 0x00000006 
+ 00020616  0x000065be copy  0x0000003f , 0x00000007 
+ 00020617  0x000065bf ifetch  0x00000002 , 0x00000006 
+ 00020618  0x000065c0 copy  0x0000003f , 0x00000011 
+ 00020619  0x000065c1 copy  0x00000013 , 0x0000003f 
+ 00020620  0x000065c2 isub  0x00000011 , 0x00000013 
+ 00020621  0x000065c3 ifetch  0x00000002 , 0x00000006 
+ 00020622  0x000065c4 copy  0x0000003f , 0x00000011 
+ 00020623  0x000065c5 ifetch  0x00000002 , 0x00000006 
+ 00020624  0x000065c6 copy  0x0000003f , 0x0000000b 
+ 00020625  0x000065c7 copy  0x00000011 , 0x00000002 
+ 00020626  0x000065c8 call  0x00007d61 
+ 00020627  0x000065c9 bpatch  0x000000f8 , 0x0000401f 
+ 00020628  0x000065ca setarg  0x00000050 
+ 00020629  0x000065cb isub  0x00000002 , 0x0000003e 
+ 00020630  0x000065cc branch  0x000050ae , 0x00000005 
+ 00020631  0x000065cd setarg  0x00000051 
+ 00020632  0x000065ce isub  0x00000002 , 0x0000003e 
+ 00020633  0x000065cf branch  0x000050be , 0x00000005 
+ 00020634  0x000065d0 setarg  0x00000052 
+ 00020635  0x000065d1 isub  0x00000002 , 0x0000003e 
+ 00020636  0x000065d2 branch  0x000050a2 , 0x00000005 
+ 00020637  0x000065d3 setarg  0x00000053 
+ 00020638  0x000065d4 isub  0x00000002 , 0x0000003e 
+ 00020639  0x000065d5 branch  0x000050a8 , 0x00000005 
+ 00020640  0x000065d6 call  0x0000511e 
+ 00020641  0x000065d7 branch  0x000050d3 
+ 00020642  0x000065d9 copy  0x0000000b , 0x00000002 
+ 00020643  0x000065da fetch  0x00000002 , 0x000044df 
+ 00020644  0x000065db isub  0x00000002 , 0x0000003e 
+ 00020645  0x000065dc branch  0x000050b4 , 0x00000005 
+ 00020646  0x000065dd call  0x0000511e 
+ 00020647  0x000065de branch  0x000050d3 
+ 00020648  0x000065e0 copy  0x0000000b , 0x00000002 
+ 00020649  0x000065e1 fetch  0x00000002 , 0x000044e1 
+ 00020650  0x000065e2 isub  0x00000002 , 0x0000003e 
+ 00020651  0x000065e3 branch  0x000050b6 , 0x00000005 
+ 00020652  0x000065e4 call  0x0000511e 
+ 00020653  0x000065e5 branch  0x000050d3 
+ 00020654  0x000065e8 copy  0x0000000b , 0x00000002 
+ 00020655  0x000065e9 fetch  0x00000002 , 0x000044db 
+ 00020656  0x000065ea isub  0x00000002 , 0x0000003e 
+ 00020657  0x000065eb branch  0x000050ba , 0x00000005 
+ 00020658  0x000065ec call  0x0000511e 
+ 00020659  0x000065ed branch  0x000050d3 
+ 00020660  0x000065ef call  0x00005135 
+ 00020661  0x000065f0 branch  0x000050c6 
+ 00020662  0x000065f2 call  0x0000513b 
+ 00020663  0x000065f3 fetch  0x00000002 , 0x000044df 
+ 00020664  0x000065f4 branch  0x000050c6 , 0x00000034 
+ 00020665  0x000065fc branch  0x000050c6 
+ 00020666  0x000065ff call  0x00005130 
+ 00020667  0x00006600 fetch  0x00000001 , 0x00000339 
+ 00020668  0x00006601 nbranch  0x000050c6 , 0x00000034 
+ 00020669  0x00006604 branch  0x000050c6 
+ 00020670  0x00006606 copy  0x0000000b , 0x00000002 
+ 00020671  0x00006607 fetch  0x00000002 , 0x000044dd 
+ 00020672  0x00006608 isub  0x00000002 , 0x0000003e 
+ 00020673  0x00006609 branch  0x000050c4 , 0x00000005 
+ 00020674  0x0000660a call  0x0000511e 
+ 00020675  0x0000660b branch  0x000050d3 
+ 00020676  0x0000660d call  0x0000512b 
+ 00020677  0x0000660e branch  0x000050c6 
+ 00020678  0x00006610 call  0x00007d66 
+ 00020679  0x00006611 setarg  0x00000007 
+ 00020680  0x00006612 istore  0x00000001 , 0x00000005 
+ 00020681  0x00006613 copy  0x00000007 , 0x0000003f 
+ 00020682  0x00006614 istore  0x00000001 , 0x00000005 
+ 00020683  0x00006615 setarg  0x00000004 
+ 00020684  0x00006616 istore  0x00000002 , 0x00000005 
+ 00020685  0x00006617 copy  0x00000011 , 0x0000003f 
+ 00020686  0x00006618 istore  0x00000002 , 0x00000005 
+ 00020687  0x00006619 copy  0x0000000b , 0x0000003f 
+ 00020688  0x0000661a istore  0x00000002 , 0x00000005 
+ 00020689  0x0000661b force  0x00000008 , 0x0000003f 
+ 00020690  0x0000661c branch  0x000050d5 
+ 00020691  0x0000661e call  0x00007d66 
+ 00020692  0x0000661f branch  0x000050d5 
+ 00020693  0x00006621 iadd  0x00000012 , 0x00000012 
+ 00020694  0x00006622 branch  0x00004eda 
+ 00020695  0x00006624 ifetch  0x00000001 , 0x00000006 
+ 00020696  0x00006625 copy  0x0000003f , 0x00000007 
+ 00020697  0x00006626 ifetch  0x00000002 , 0x00000006 
+ 00020698  0x00006627 copy  0x0000003f , 0x00000011 
+ 00020699  0x00006628 copy  0x00000013 , 0x0000003f 
+ 00020700  0x00006629 isub  0x00000011 , 0x00000013 
+ 00020701  0x0000662a ifetch  0x00000002 , 0x00000006 
+ 00020702  0x0000662b copy  0x0000003f , 0x0000000b 
+ 00020703  0x0000662c ifetch  0x00000002 , 0x00000006 
+ 00020704  0x0000662d copy  0x0000003f , 0x00000002 
+ 00020705  0x0000662e call  0x00007d61 
+ 00020706  0x0000662f bpatch  0x000000f9 , 0x0000401f 
+ 00020707  0x00006630 setarg  0x00000050 
+ 00020708  0x00006631 isub  0x00000002 , 0x0000003e 
+ 00020709  0x00006632 branch  0x000050f1 , 0x00000005 
+ 00020710  0x00006633 setarg  0x00000051 
+ 00020711  0x00006634 isub  0x00000002 , 0x0000003e 
+ 00020712  0x00006635 branch  0x000050f7 , 0x00000005 
+ 00020713  0x00006636 setarg  0x00000052 
+ 00020714  0x00006637 isub  0x00000002 , 0x0000003e 
+ 00020715  0x00006638 branch  0x000050fd , 0x00000005 
+ 00020716  0x00006639 setarg  0x00000053 
+ 00020717  0x0000663a isub  0x00000002 , 0x0000003e 
+ 00020718  0x0000663b branch  0x00005103 , 0x00000005 
+ 00020719  0x0000663c call  0x0000511e 
+ 00020720  0x0000663d branch  0x0000510b 
+ 00020721  0x0000663f copy  0x00000002 , 0x00000011 
+ 00020722  0x00006640 copy  0x0000000b , 0x00000002 
+ 00020723  0x00006641 fetch  0x00000002 , 0x000044db 
+ 00020724  0x00006642 isub  0x00000002 , 0x0000003e 
+ 00020725  0x00006643 call  0x00005130 , 0x00000005 
+ 00020726  0x00006644 branch  0x00005109 
+ 00020727  0x00006646 copy  0x00000002 , 0x00000011 
+ 00020728  0x00006647 copy  0x0000000b , 0x00000002 
+ 00020729  0x00006648 fetch  0x00000002 , 0x000044dd 
+ 00020730  0x00006649 isub  0x00000002 , 0x0000003e 
+ 00020731  0x0000664a call  0x0000512b , 0x00000005 
+ 00020732  0x0000664b branch  0x00005109 
+ 00020733  0x0000664d copy  0x00000002 , 0x00000011 
+ 00020734  0x0000664e copy  0x0000000b , 0x00000002 
+ 00020735  0x0000664f fetch  0x00000002 , 0x000044df 
+ 00020736  0x00006650 isub  0x00000002 , 0x0000003e 
+ 00020737  0x00006651 call  0x00005135 , 0x00000005 
+ 00020738  0x00006652 branch  0x00005109 
+ 00020739  0x00006654 copy  0x00000002 , 0x00000011 
+ 00020740  0x00006655 copy  0x0000000b , 0x00000002 
+ 00020741  0x00006656 fetch  0x00000002 , 0x000044e1 
+ 00020742  0x00006657 isub  0x00000002 , 0x0000003e 
+ 00020743  0x00006658 call  0x0000513b , 0x00000005 
+ 00020744  0x00006659 branch  0x00005109 
+ 00020745  0x0000665b call  0x00007d66 
+ 00020746  0x0000665c branch  0x00004eda 
+ 00020747  0x0000665e branch  0x00004eda 
+ 00020748  0x00006662 ifetch  0x00000001 , 0x00000006 
+ 00020749  0x00006663 copy  0x0000003f , 0x00000007 
+ 00020750  0x00006664 ifetch  0x00000002 , 0x00000006 
+ 00020751  0x00006665 copy  0x0000003f , 0x00000011 
+ 00020752  0x00006666 iadd  0x00000006 , 0x00000006 
+ 00020753  0x00006667 setarg  0x00000009 
+ 00020754  0x00006668 istore  0x00000001 , 0x00000005 
+ 00020755  0x00006669 copy  0x00000007 , 0x0000003f 
+ 00020756  0x0000666a istore  0x00000001 , 0x00000005 
+ 00020757  0x0000666b force  0x00000000 , 0x0000003f 
+ 00020758  0x0000666c istore  0x00000002 , 0x00000005 
+ 00020759  0x0000666d force  0x00000004 , 0x0000003f 
+ 00020760  0x0000666e iadd  0x00000012 , 0x00000012 
+ 00020761  0x0000666f copy  0x00000013 , 0x0000003f 
+ 00020762  0x00006670 isub  0x00000011 , 0x00000013 
+ 00020763  0x00006671 branch  0x00004eda 
+ 00020764  0x00006673 branch  0x00004eda 
+ 00020765  0x00006676 branch  0x00004eda 
+ 00020766  0x00006678 force  0x00000000 , 0x00000012 
+ 00020767  0x00006679 call  0x00005374 
+ 00020768  0x0000667a setarg  0x00000001 
+ 00020769  0x0000667b istore  0x00000001 , 0x00000005 
+ 00020770  0x0000667c copy  0x00000007 , 0x0000003f 
+ 00020771  0x0000667d istore  0x00000001 , 0x00000005 
+ 00020772  0x0000667e setarg  0x00000002 
+ 00020773  0x0000667f istore  0x00000002 , 0x00000005 
+ 00020774  0x00006680 setarg  0x00000000 
+ 00020775  0x00006681 istore  0x00000002 , 0x00000005 
+ 00020776  0x00006682 increase  0x00000006 , 0x00000012 
+ 00020777  0x00006683 arg  0x00000004 , 0x00000013 
+ 00020778  0x00006684 branch  0x00004eda 
+ 00020779  0x00006689 setarg  0x00000000 
+ 00020780  0x0000668a store  0x00000002 , 0x0000032c 
+ 00020781  0x0000668b store  0x00000002 , 0x000044dd 
+ 00020782  0x0000668c jam  0x00000000 , 0x000044e4 
+ 00020783  0x0000668d rtn 
+ 00020784  0x0000668f setarg  0x00000000 
+ 00020785  0x00006690 store  0x00000002 , 0x00000326 
+ 00020786  0x00006691 store  0x00000002 , 0x000044db 
+ 00020787  0x00006692 jam  0x00000000 , 0x000044e3 
+ 00020788  0x00006693 rtn 
+ 00020789  0x00006695 setarg  0x00000000 
+ 00020790  0x00006696 store  0x00000002 , 0x000044df 
+ 00020791  0x00006697 jam  0x00000000 , 0x000044e5 
+ 00020792  0x00006698 fetch  0x00000001 , 0x000044e6 
+ 00020793  0x00006699 beq  0x00000000 , 0x00005141 
+ 00020794  0x0000669a rtn 
+ 00020795  0x0000669d setarg  0x00000000 
+ 00020796  0x0000669e store  0x00000002 , 0x000044e1 
+ 00020797  0x0000669f jam  0x00000000 , 0x000044e6 
+ 00020798  0x000066a0 fetch  0x00000001 , 0x000044e5 
+ 00020799  0x000066a1 beq  0x00000000 , 0x00005141 
+ 00020800  0x000066a2 rtn 
+ 00020801  0x000066a5 jam  0x00000007 , 0x0000095b 
+ 00020802  0x000066a6 branch  0x000078dc 
+ 00020803  0x000066a9 fetch  0x00000001 , 0x00000330 
+ 00020804  0x000066aa set0  0x00000000 , 0x0000003f 
+ 00020805  0x000066ab store  0x00000001 , 0x00000330 
+ 00020806  0x000066ac fetch  0x00000002 , 0x000044e1 
+ 00020807  0x000066ad rtn  0x00000034 
+ 00020808  0x000066ae call  0x00005369 
+ 00020809  0x000066af fetch  0x00000002 , 0x000044e1 
+ 00020810  0x000066b0 copy  0x0000003f , 0x00000011 
+ 00020811  0x000066b1 force  0x00000053 , 0x00000012 
+ 00020812  0x000066b2 branch  0x00005156 
+ 00020813  0x000066b4 fetch  0x00000001 , 0x00000330 
+ 00020814  0x000066b5 set0  0x00000007 , 0x0000003f 
+ 00020815  0x000066b6 store  0x00000001 , 0x00000330 
+ 00020816  0x000066b7 fetch  0x00000002 , 0x000044df 
+ 00020817  0x000066b8 rtn  0x00000034 
+ 00020818  0x000066b9 call  0x00005369 
+ 00020819  0x000066ba fetch  0x00000002 , 0x000044df 
+ 00020820  0x000066bb copy  0x0000003f , 0x00000011 
+ 00020821  0x000066bc force  0x00000052 , 0x00000012 
+ 00020822  0x000066be call  0x000052f5 
+ 00020823  0x000066bf call  0x00005374 
+ 00020824  0x000066c0 force  0x00000006 , 0x0000003f 
+ 00020825  0x000066c1 istore  0x00000001 , 0x00000005 
+ 00020826  0x000066c2 fetch  0x00000001 , 0x000044e8 
+ 00020827  0x000066c3 istore  0x00000001 , 0x00000005 
+ 00020828  0x000066c4 setarg  0x00000004 
+ 00020829  0x000066c5 istore  0x00000002 , 0x00000005 
+ 00020830  0x000066c6 copy  0x00000011 , 0x0000003f 
+ 00020831  0x000066c7 istore  0x00000002 , 0x00000005 
+ 00020832  0x000066c8 copy  0x00000012 , 0x0000003f 
+ 00020833  0x000066c9 istore  0x00000002 , 0x00000005 
+ 00020834  0x000066ca force  0x00000008 , 0x00000002 
+ 00020835  0x000066cb branch  0x0000519a 
+ 00020836  0x000066ce bpatch  0x000000fa , 0x0000401f 
+ 00020837  0x000066cf call  0x000052f5 
+ 00020838  0x000066d0 call  0x00005374 
+ 00020839  0x000066d1 setarg  0x00000002 
+ 00020840  0x000066d2 istore  0x00000001 , 0x00000005 
+ 00020841  0x000066d3 fetch  0x00000001 , 0x000044e8 
+ 00020842  0x000066d4 istore  0x00000001 , 0x00000005 
+ 00020843  0x000066d5 setarg  0x00000004 
+ 00020844  0x000066d6 istore  0x00000002 , 0x00000005 
+ 00020845  0x000066d7 copy  0x00000002 , 0x0000003f 
+ 00020846  0x000066d8 istore  0x00000002 , 0x00000005 
+ 00020847  0x000066d9 copy  0x0000000b , 0x0000003f 
+ 00020848  0x000066da istore  0x00000002 , 0x00000005 
+ 00020849  0x000066db arg  0x00000008 , 0x00000002 
+ 00020850  0x000066dc branch  0x0000519a 
+ 00020851  0x000066de bpatch  0x000000fb , 0x0000401f 
+ 00020852  0x000066df call  0x000052f5 
+ 00020853  0x000066e0 call  0x00005374 
+ 00020854  0x000066e1 setarg  0x00000004 
+ 00020855  0x000066e2 istore  0x00000001 , 0x00000005 
+ 00020856  0x000066e3 fetch  0x00000001 , 0x000044e8 
+ 00020857  0x000066e4 istore  0x00000001 , 0x00000005 
+ 00020858  0x000066e5 setarg  0x00000008 
+ 00020859  0x000066e6 istore  0x00000002 , 0x00000005 
+ 00020860  0x000066e8 copy  0x00000002 , 0x0000003f 
+ 00020861  0x000066ea istore  0x00000002 , 0x00000005 
+ 00020862  0x000066eb setarg  0x00000000 
+ 00020863  0x000066ec istore  0x00000002 , 0x00000005 
+ 00020864  0x000066ed setarg  0x00000001 
+ 00020865  0x000066ee istore  0x00000001 , 0x00000005 
+ 00020866  0x000066ef setarg  0x00000002 
+ 00020867  0x000066f0 istore  0x00000001 , 0x00000005 
+ 00020868  0x000066f1 setarg  0x000003e3 
+ 00020869  0x000066f2 istore  0x00000002 , 0x00000005 
+ 00020870  0x000066f3 arg  0x0000000c , 0x00000002 
+ 00020871  0x000066f4 branch  0x0000519a 
+ 00020872  0x000066f6 bpatch  0x000000fc , 0x0000401f 
+ 00020873  0x000066f7 call  0x000052f5 
+ 00020874  0x000066f8 call  0x00005374 
+ 00020875  0x000066f9 setarg  0x00000006 
+ 00020876  0x000066fa istore  0x00000001 , 0x00000005 
+ 00020877  0x000066fb fetch  0x00000001 , 0x000044e8 
+ 00020878  0x000066fc increase  0x00000001 , 0x0000003f 
+ 00020879  0x000066fd copy  0x00000005 , 0x00000011 
+ 00020880  0x000066fe store  0x00000001 , 0x000044e8 
+ 00020881  0x000066ff copy  0x00000011 , 0x00000005 
+ 00020882  0x00006700 istore  0x00000001 , 0x00000005 
+ 00020883  0x00006701 setarg  0x00000004 
+ 00020884  0x00006702 istore  0x00000002 , 0x00000005 
+ 00020885  0x00006703 copy  0x00000002 , 0x0000003f 
+ 00020886  0x00006704 istore  0x00000002 , 0x00000005 
+ 00020887  0x00006705 copy  0x0000000b , 0x0000003f 
+ 00020888  0x00006706 istore  0x00000002 , 0x00000005 
+ 00020889  0x00006707 arg  0x00000008 , 0x00000002 
+ 00020890  0x0000670b storet  0x00000002 , 0x00000320 
+ 00020891  0x0000670c copy  0x00000002 , 0x0000003f 
+ 00020892  0x0000670d branch  0x00005345 , 0x00000034 
+ 00020893  0x0000670e call  0x00005372 
+ 00020894  0x0000670f fetch  0x00000002 , 0x00000320 
+ 00020895  0x00006710 istore  0x00000002 , 0x00000005 
+ 00020896  0x00006711 force  0x00000001 , 0x0000003f 
+ 00020897  0x00006712 istore  0x00000002 , 0x00000005 
+ 00020898  0x00006713 rtn 
+ 00020899  0x00006716 fetch  0x00000002 , 0x00000326 
+ 00020900  0x00006717 branch  0x0000137c , 0x00000034 
+ 00020901  0x00006718 call  0x0000537f 
+ 00020902  0x00006719 fetch  0x00000002 , 0x00000326 
+ 00020903  0x0000671a istore  0x00000002 , 0x00000005 
+ 00020904  0x0000671b fetch  0x00000002 , 0x000044db 
+ 00020905  0x0000671c istore  0x00000002 , 0x00000005 
+ 00020906  0x0000671d rtn 
+ 00020907  0x0000671f fetch  0x00000002 , 0x00000317 
+ 00020908  0x00006720 branch  0x00004eb8 , 0x00000034 
+ 00020909  0x00006721 bpatch  0x000000fd , 0x0000401f 
+ 00020910  0x00006722 fetch  0x00000001 , 0x00000319 
+ 00020911  0x00006723 beq  0x00000001 , 0x000051b5 
+ 00020912  0x00006724 beq  0x00000050 , 0x00004ea2 
+ 00020913  0x00006725 beq  0x00000051 , 0x00004eb1 
+ 00020914  0x00006726 beq  0x00000052 , 0x00004eaf 
+ 00020915  0x00006727 beq  0x00000053 , 0x00004eaf 
+ 00020916  0x00006728 branch  0x00004eb8 
+ 00020917  0x0000672b call  0x00005369 
+ 00020918  0x0000672c force  0x00000000 , 0x00000012 
+ 00020919  0x0000672d call  0x00005374 
+ 00020920  0x0000672e copy  0x0000003f , 0x00000005 
+ 00020921  0x0000672f fetch  0x00000002 , 0x00000317 
+ 00020922  0x00006730 copy  0x0000003f , 0x00000013 
+ 00020923  0x00006731 fetch  0x00000002 , 0x00000315 
+ 00020924  0x00006732 iforce  0x00000006 
+ 00020925  0x00006734 call  0x000051c3 
+ 00020926  0x00006735 increase  0xfffffffc , 0x00000013 
+ 00020927  0x00006736 nbranch  0x000051bd , 0x00000005 
+ 00020928  0x00006737 copy  0x00000012 , 0x00000002 
+ 00020929  0x00006738 call  0x0000519a 
+ 00020930  0x00006739 branch  0x00004eb8 
+ 00020931  0x0000673c ifetch  0x00000001 , 0x00000006 
+ 00020932  0x0000673d beq  0x00000002 , 0x000051ce 
+ 00020933  0x0000673e beq  0x00000001 , 0x000051d1 
+ 00020934  0x0000673f beq  0x00000003 , 0x000051db 
+ 00020935  0x00006740 beq  0x00000005 , 0x00005217 
+ 00020936  0x00006741 beq  0x00000004 , 0x00005249 
+ 00020937  0x00006742 beq  0x00000007 , 0x000052ce 
+ 00020938  0x00006743 beq  0x00000006 , 0x0000529c 
+ 00020939  0x00006744 beq  0x00000008 , 0x0000510c 
+ 00020940  0x00006745 beq  0x0000000a , 0x00004ef6 
+ 00020941  0x00006746 branch  0x000052e9 
+ 00020942  0x00006749 call  0x00007d61 
+ 00020943  0x0000674b call  0x00007d66 
+ 00020944  0x0000674c branch  0x00004f0d 
+ 00020945  0x0000674e ifetch  0x00000001 , 0x00000006 
+ 00020946  0x0000674f copy  0x0000003f , 0x00000007 
+ 00020947  0x00006750 ifetch  0x00000002 , 0x00000006 
+ 00020948  0x00006751 copy  0x0000003f , 0x00000011 
+ 00020949  0x00006752 copy  0x00000013 , 0x0000003f 
+ 00020950  0x00006753 isub  0x00000011 , 0x00000013 
+ 00020951  0x00006755 ifetch  0x00000001 , 0x00000006 
+ 00020952  0x00006756 increase  0xffffffff , 0x00000011 
+ 00020953  0x00006757 nbranch  0x000051d7 , 0x00000005 
+ 00020954  0x00006758 rtn 
+ 00020955  0x0000675a ifetch  0x00000001 , 0x00000006 
+ 00020956  0x0000675b copy  0x0000003f , 0x00000007 
+ 00020957  0x0000675c ifetch  0x00000002 , 0x00000006 
+ 00020958  0x0000675d copy  0x0000003f , 0x00000011 
+ 00020959  0x0000675e ifetch  0x00000002 , 0x00000006 
+ 00020960  0x0000675f copy  0x0000003f , 0x0000000b 
+ 00020961  0x00006760 ifetch  0x00000002 , 0x00000006 
+ 00020962  0x00006761 copy  0x0000003f , 0x00000002 
+ 00020963  0x00006762 ifetch  0x00000002 , 0x00000006 
+ 00020964  0x00006763 sub  0x0000003f , 0x00000000 , 0x0000003e 
+ 00020965  0x00006764 branch  0x000051ed , 0x00000005 
+ 00020966  0x00006765 beq  0x00000002 , 0x000051e9 
+ 00020967  0x00006766 beq  0x00000004 , 0x000051e9 
+ 00020968  0x00006767 branch  0x000051eb 
+ 00020969  0x00006769 jam  0x00000016 , 0x0000095b 
+ 00020970  0x0000676a call  0x000078dc 
+ 00020971  0x0000676c ifetch  0x00000002 , 0x00000006 
+ 00020972  0x0000676d branch  0x00005214 
+ 00020973  0x0000676f call  0x00007d61 
+ 00020974  0x00006773 bpatch  0x000000fe , 0x0000401f 
+ 00020975  0x00006774 setarg  0x00000050 
+ 00020976  0x00006775 isub  0x00000002 , 0x0000003e 
+ 00020977  0x00006776 branch  0x000051fc , 0x00000005 
+ 00020978  0x00006777 setarg  0x00000051 
+ 00020979  0x00006778 isub  0x00000002 , 0x0000003e 
+ 00020980  0x00006779 branch  0x00005202 , 0x00000005 
+ 00020981  0x0000677a setarg  0x00000053 
+ 00020982  0x0000677b isub  0x00000002 , 0x0000003e 
+ 00020983  0x0000677c branch  0x0000520e , 0x00000005 
+ 00020984  0x0000677d setarg  0x00000052 
+ 00020985  0x0000677e isub  0x00000002 , 0x0000003e 
+ 00020986  0x0000677f branch  0x00005208 , 0x00000005 
+ 00020987  0x00006780 branch  0x00005214 
+ 00020988  0x00006782 copy  0x0000000b , 0x0000003f 
+ 00020989  0x00006783 store  0x00000002 , 0x000044db 
+ 00020990  0x00006784 fetch  0x00000001 , 0x000044e3 
+ 00020991  0x00006785 set1  0x00000001 , 0x0000003f 
+ 00020992  0x00006786 store  0x00000001 , 0x000044e3 
+ 00020993  0x00006787 branch  0x00005213 
+ 00020994  0x00006789 copy  0x0000000b , 0x0000003f 
+ 00020995  0x0000678a store  0x00000002 , 0x000044dd 
+ 00020996  0x0000678b fetch  0x00000001 , 0x000044e4 
+ 00020997  0x0000678c set1  0x00000001 , 0x0000003f 
+ 00020998  0x0000678d store  0x00000001 , 0x000044e4 
+ 00020999  0x0000678e branch  0x00005213 
+ 00021000  0x00006790 copy  0x0000000b , 0x0000003f 
+ 00021001  0x00006791 store  0x00000002 , 0x000044df 
+ 00021002  0x00006792 fetch  0x00000001 , 0x000044e5 
+ 00021003  0x00006793 set1  0x00000001 , 0x0000003f 
+ 00021004  0x00006794 store  0x00000001 , 0x000044e5 
+ 00021005  0x00006795 branch  0x00005213 
+ 00021006  0x00006797 copy  0x0000000b , 0x0000003f 
+ 00021007  0x00006798 store  0x00000002 , 0x000044e1 
+ 00021008  0x00006799 fetch  0x00000001 , 0x000044e6 
+ 00021009  0x0000679a set1  0x00000001 , 0x0000003f 
+ 00021010  0x0000679b store  0x00000001 , 0x000044e6 
+ 00021011  0x0000679f call  0x00007d66 
+ 00021012  0x000067a1 copy  0x00000013 , 0x0000003f 
+ 00021013  0x000067a2 isub  0x00000011 , 0x00000013 
+ 00021014  0x000067a3 rtn 
+ 00021015  0x000067a6 ifetch  0x00000001 , 0x00000006 
+ 00021016  0x000067a7 copy  0x0000003f , 0x00000007 
+ 00021017  0x000067a8 ifetch  0x00000002 , 0x00000006 
+ 00021018  0x000067a9 copy  0x0000003f , 0x00000011 
+ 00021019  0x000067aa copy  0x00000013 , 0x0000003f 
+ 00021020  0x000067ab isub  0x00000011 , 0x00000013 
+ 00021021  0x000067ac ifetch  0x00000002 , 0x00000006 
+ 00021022  0x000067ad copy  0x0000003f , 0x0000000b 
+ 00021023  0x000067ae ifetch  0x00000002 , 0x00000006 
+ 00021024  0x000067af ifetch  0x00000002 , 0x00000006 
+ 00021025  0x000067b0 nbranch  0x00005243 , 0x00000034 
+ 00021026  0x000067b1 call  0x00007d61 
+ 00021027  0x000067b5 copy  0x0000000b , 0x00000002 
+ 00021028  0x000067b6 bpatch  0x000000ff , 0x0000401f 
+ 00021029  0x000067b7 setarg  0x00000050 
+ 00021030  0x000067b8 isub  0x00000002 , 0x0000003e 
+ 00021031  0x000067b9 branch  0x00005231 , 0x00000005 
+ 00021032  0x000067ba setarg  0x00000051 
+ 00021033  0x000067bb isub  0x00000002 , 0x0000003e 
+ 00021034  0x000067bc branch  0x00005235 , 0x00000005 
+ 00021035  0x000067bd setarg  0x00000052 
+ 00021036  0x000067be isub  0x00000002 , 0x0000003e 
+ 00021037  0x000067bf branch  0x00005239 , 0x00000005 
+ 00021038  0x000067c0 setarg  0x00000053 
+ 00021039  0x000067c1 isub  0x00000002 , 0x0000003e 
+ 00021040  0x000067c2 branch  0x0000523d , 0x00000005 
+ 00021041  0x000067c4 fetch  0x00000001 , 0x000044e3 
+ 00021042  0x000067c5 set1  0x00000005 , 0x0000003f 
+ 00021043  0x000067c6 store  0x00000001 , 0x000044e3 
+ 00021044  0x000067c7 rtn 
+ 00021045  0x000067c9 fetch  0x00000001 , 0x000044e4 
+ 00021046  0x000067ca set1  0x00000005 , 0x0000003f 
+ 00021047  0x000067cb store  0x00000001 , 0x000044e4 
+ 00021048  0x000067cc rtn 
+ 00021049  0x000067ce fetch  0x00000001 , 0x000044e5 
+ 00021050  0x000067cf set1  0x00000005 , 0x0000003f 
+ 00021051  0x000067d0 store  0x00000001 , 0x000044e5 
+ 00021052  0x000067d1 rtn 
+ 00021053  0x000067d3 fetch  0x00000001 , 0x000044e6 
+ 00021054  0x000067d4 set1  0x00000005 , 0x0000003f 
+ 00021055  0x000067d5 store  0x00000001 , 0x000044e6 
+ 00021056  0x000067d6 jam  0x00000006 , 0x0000095b 
+ 00021057  0x000067d7 branch  0x000078dc 
+ 00021058  0x000067db call  0x00007d66 
+ 00021059  0x000067dd increase  0xfffffffa , 0x00000011 
+ 00021060  0x000067df branch  0x00005248 , 0x00000005 
+ 00021061  0x000067e0 increase  0x00000001 , 0x00000006 
+ 00021062  0x000067e1 increase  0xffffffff , 0x00000011 
+ 00021063  0x000067e2 branch  0x00005244 
+ 00021064  0x000067e4 rtn 
+ 00021065  0x000067e6 ifetch  0x00000001 , 0x00000006 
+ 00021066  0x000067e7 copy  0x0000003f , 0x00000007 
+ 00021067  0x000067e8 ifetch  0x00000002 , 0x00000006 
+ 00021068  0x000067e9 copy  0x0000003f , 0x00000011 
+ 00021069  0x000067ea copy  0x00000013 , 0x0000003f 
+ 00021070  0x000067eb isub  0x00000011 , 0x00000013 
+ 00021071  0x000067ec ifetch  0x00000002 , 0x00000006 
+ 00021072  0x000067ed increase  0x00000002 , 0x00000006 
+ 00021073  0x000067ee copy  0x0000003f , 0x00000002 
+ 00021074  0x000067ef setarg  0x00000005 
+ 00021075  0x000067f0 istore  0x00000001 , 0x00000005 
+ 00021076  0x000067f1 copy  0x00000007 , 0x0000003f 
+ 00021077  0x000067f2 istore  0x00000001 , 0x00000005 
+ 00021078  0x000067f3 increase  0x00000002 , 0x00000011 
+ 00021079  0x000067f4 copy  0x00000011 , 0x0000003f 
+ 00021080  0x000067f5 istore  0x00000002 , 0x00000005 
+ 00021081  0x000067f6 call  0x00007d61 
+ 00021082  0x000067f7 bpatchx  0x00000000 , 0x00004020 
+ 00021083  0x000067f8 setarg  0x00000050 
+ 00021084  0x000067f9 isub  0x00000002 , 0x0000003e 
+ 00021085  0x000067fa branch  0x00005268 , 0x00000005 
+ 00021086  0x000067fb setarg  0x00000051 
+ 00021087  0x000067fc isub  0x00000002 , 0x0000003e 
+ 00021088  0x000067fd branch  0x00005279 , 0x00000005 
+ 00021089  0x000067fe setarg  0x00000052 
+ 00021090  0x000067ff isub  0x00000002 , 0x0000003e 
+ 00021091  0x00006800 branch  0x0000527f , 0x00000005 
+ 00021092  0x00006801 setarg  0x00000053 
+ 00021093  0x00006802 isub  0x00000002 , 0x0000003e 
+ 00021094  0x00006803 branch  0x00005285 , 0x00000005 
+ 00021095  0x00006804 branch  0x0000528a 
+ 00021096  0x00006806 fetch  0x00000001 , 0x000044e3 
+ 00021097  0x00006807 set1  0x00000004 , 0x0000003f 
+ 00021098  0x00006808 set1  0x00000003 , 0x0000003f 
+ 00021099  0x00006809 store  0x00000001 , 0x000044e3 
+ 00021100  0x0000680a bbit1  0x00000002 , 0x00005276 
+ 00021101  0x0000680b fetcht  0x00000001 , 0x00000330 
+ 00021102  0x0000680c set1  0x00000006 , 0x00000002 
+ 00021103  0x0000680d storet  0x00000001 , 0x00000330 
+ 00021104  0x0000680e copy  0x00000007 , 0x0000003f 
+ 00021105  0x0000680f increase  0x00000001 , 0x0000003f 
+ 00021106  0x00006810 store  0x00000001 , 0x00000332 
+ 00021107  0x00006811 fetch  0x00000001 , 0x000044e3 
+ 00021108  0x00006812 set1  0x00000002 , 0x0000003f 
+ 00021109  0x00006813 store  0x00000001 , 0x000044e3 
+ 00021110  0x00006815 fetch  0x00000002 , 0x000044db 
+ 00021111  0x00006816 store  0x00000002 , 0x00000333 
+ 00021112  0x00006817 branch  0x0000528a 
+ 00021113  0x00006819 fetch  0x00000001 , 0x000044e4 
+ 00021114  0x0000681a set1  0x00000004 , 0x0000003f 
+ 00021115  0x0000681b set1  0x00000003 , 0x0000003f 
+ 00021116  0x0000681c store  0x00000001 , 0x000044e4 
+ 00021117  0x0000681d fetch  0x00000002 , 0x000044dd 
+ 00021118  0x0000681e branch  0x0000528a 
+ 00021119  0x00006820 fetch  0x00000001 , 0x000044e5 
+ 00021120  0x00006821 set1  0x00000004 , 0x0000003f 
+ 00021121  0x00006822 set1  0x00000003 , 0x0000003f 
+ 00021122  0x00006823 store  0x00000001 , 0x000044e5 
+ 00021123  0x00006824 fetch  0x00000002 , 0x000044df 
+ 00021124  0x00006825 branch  0x0000528a 
+ 00021125  0x00006827 fetch  0x00000001 , 0x000044e6 
+ 00021126  0x00006828 set1  0x00000004 , 0x0000003f 
+ 00021127  0x00006829 set1  0x00000003 , 0x0000003f 
+ 00021128  0x0000682a store  0x00000001 , 0x000044e6 
+ 00021129  0x0000682b fetch  0x00000002 , 0x000044e1 
+ 00021130  0x0000682f copy  0x0000003f , 0x0000000b 
+ 00021131  0x00006830 call  0x00007d66 
+ 00021132  0x00006832 copy  0x0000000b , 0x0000003f 
+ 00021133  0x00006834 istore  0x00000002 , 0x00000005 
+ 00021134  0x00006835 force  0x00000000 , 0x0000003f 
+ 00021135  0x00006836 istore  0x00000002 , 0x00000005 
+ 00021136  0x00006837 force  0x00000000 , 0x0000003f 
+ 00021137  0x00006838 istore  0x00000002 , 0x00000005 
+ 00021138  0x00006839 force  0x0000000a , 0x0000003f 
+ 00021139  0x0000683a iadd  0x00000012 , 0x00000012 
+ 00021140  0x0000683b increase  0xfffffffa , 0x00000011 
+ 00021141  0x0000683d branch  0x0000529b , 0x00000005 
+ 00021142  0x0000683e ifetch  0x00000001 , 0x00000006 
+ 00021143  0x0000683f istore  0x00000001 , 0x00000005 
+ 00021144  0x00006840 increase  0x00000001 , 0x00000012 
+ 00021145  0x00006841 increase  0xffffffff , 0x00000011 
+ 00021146  0x00006842 branch  0x00005295 
+ 00021147  0x00006844 rtn 
+ 00021148  0x00006846 ifetch  0x00000001 , 0x00000006 
+ 00021149  0x00006847 copy  0x0000003f , 0x00000007 
+ 00021150  0x00006848 ifetch  0x00000002 , 0x00000006 
+ 00021151  0x00006849 copy  0x0000003f , 0x00000011 
+ 00021152  0x0000684a copy  0x00000013 , 0x0000003f 
+ 00021153  0x0000684b isub  0x00000011 , 0x00000013 
+ 00021154  0x0000684d ifetch  0x00000002 , 0x00000006 
+ 00021155  0x0000684e copy  0x0000003f , 0x00000011 
+ 00021156  0x0000684f ifetch  0x00000002 , 0x00000006 
+ 00021157  0x00006850 copy  0x0000003f , 0x0000000b 
+ 00021158  0x00006851 call  0x00007d61 
+ 00021159  0x00006852 bpatchx  0x00000001 , 0x00004020 
+ 00021160  0x00006853 setarg  0x00000050 
+ 00021161  0x00006854 copy  0x00000011 , 0x00000002 
+ 00021162  0x00006855 isub  0x00000002 , 0x0000003e 
+ 00021163  0x00006856 branch  0x000052b5 , 0x00000005 
+ 00021164  0x00006857 setarg  0x00000052 
+ 00021165  0x00006858 copy  0x00000011 , 0x00000002 
+ 00021166  0x00006859 isub  0x00000002 , 0x0000003e 
+ 00021167  0x0000685a branch  0x000052ba , 0x00000005 
+ 00021168  0x0000685b setarg  0x00000053 
+ 00021169  0x0000685c copy  0x00000011 , 0x00000002 
+ 00021170  0x0000685d isub  0x00000002 , 0x0000003e 
+ 00021171  0x0000685e branch  0x000052bc , 0x00000005 
+ 00021172  0x0000685f branch  0x000052be 
+ 00021173  0x00006861 setarg  0x00000000 
+ 00021174  0x00006862 store  0x00000002 , 0x00000326 
+ 00021175  0x00006863 store  0x00000002 , 0x000044db 
+ 00021176  0x00006864 store  0x00000001 , 0x000044e3 
+ 00021177  0x00006865 branch  0x000052c0 
+ 00021178  0x00006867 call  0x00005135 
+ 00021179  0x00006868 branch  0x000052c0 
+ 00021180  0x0000686a call  0x0000513b 
+ 00021181  0x00006870 branch  0x000052c0 
+ 00021182  0x00006872 setarg  0x00000000 
+ 00021183  0x00006873 store  0x00000002 , 0x0000032c 
+ 00021184  0x00006875 call  0x00007d66 
+ 00021185  0x00006876 setarg  0x00000007 
+ 00021186  0x00006877 istore  0x00000001 , 0x00000005 
+ 00021187  0x00006878 copy  0x00000007 , 0x0000003f 
+ 00021188  0x00006879 istore  0x00000001 , 0x00000005 
+ 00021189  0x0000687a setarg  0x00000004 
+ 00021190  0x0000687b istore  0x00000002 , 0x00000005 
+ 00021191  0x0000687c copy  0x00000011 , 0x0000003f 
+ 00021192  0x0000687d istore  0x00000002 , 0x00000005 
+ 00021193  0x0000687e copy  0x0000000b , 0x0000003f 
+ 00021194  0x0000687f istore  0x00000002 , 0x00000005 
+ 00021195  0x00006880 force  0x00000008 , 0x0000003f 
+ 00021196  0x00006881 iadd  0x00000012 , 0x00000012 
+ 00021197  0x00006882 rtn 
+ 00021198  0x00006885 ifetch  0x00000001 , 0x00000006 
+ 00021199  0x00006886 copy  0x0000003f , 0x00000007 
+ 00021200  0x00006887 ifetch  0x00000002 , 0x00000006 
+ 00021201  0x00006888 copy  0x0000003f , 0x00000011 
+ 00021202  0x00006889 ifetch  0x00000002 , 0x00000006 
+ 00021203  0x0000688a copy  0x0000003f , 0x0000000b 
+ 00021204  0x0000688b ifetch  0x00000002 , 0x00000006 
+ 00021205  0x0000688c copy  0x0000003f , 0x00000002 
+ 00021206  0x0000688d call  0x00007d61 
+ 00021207  0x0000688e bpatchx  0x00000002 , 0x00004020 
+ 00021208  0x0000688f fetch  0x00000001 , 0x000044e8 
+ 00021209  0x00006890 icompare  0x000000ff , 0x00000007 
+ 00021210  0x00006891 nbranch  0x000052e5 , 0x00000001 
+ 00021211  0x00006892 setarg  0x00000050 
+ 00021212  0x00006893 isub  0x00000002 , 0x0000003e 
+ 00021213  0x00006894 branch  0x000052e2 , 0x00000005 
+ 00021214  0x00006895 setarg  0x00000051 
+ 00021215  0x00006896 isub  0x00000002 , 0x0000003e 
+ 00021216  0x00006897 branch  0x000052e5 , 0x00000005 
+ 00021217  0x00006898 branch  0x000052e5 
+ 00021218  0x0000689a jam  0x00000000 , 0x000044db 
+ 00021219  0x0000689b jam  0x00000000 , 0x000044e3 
+ 00021220  0x0000689c branch  0x000052e5 
+ 00021221  0x000068a1 call  0x00007d66 
+ 00021222  0x000068a2 copy  0x00000013 , 0x0000003f 
+ 00021223  0x000068a3 isub  0x00000011 , 0x00000013 
+ 00021224  0x000068a4 rtn 
+ 00021225  0x000068a7 setarg  0x00000001 
+ 00021226  0x000068a8 istore  0x00000001 , 0x00000005 
+ 00021227  0x000068a9 ifetch  0x00000001 , 0x00000006 
+ 00021228  0x000068aa istore  0x00000001 , 0x00000005 
+ 00021229  0x000068ab setarg  0x00000002 
+ 00021230  0x000068ac istore  0x00000002 , 0x00000005 
+ 00021231  0x000068ad setarg  0x00000000 
+ 00021232  0x000068ae istore  0x00000002 , 0x00000005 
+ 00021233  0x000068af setarg  0x00000006 
+ 00021234  0x000068b0 iadd  0x00000012 , 0x00000012 
+ 00021235  0x000068b1 force  0x00000004 , 0x00000013 
+ 00021236  0x000068b2 rtn 
+ 00021237  0x000068b6 fetch  0x00000001 , 0x000044e8 
+ 00021238  0x000068b7 increase  0x00000001 , 0x0000003f 
+ 00021239  0x000068b8 bne  0x00000000 , 0x000052f9 
+ 00021240  0x000068b9 increase  0x00000001 , 0x0000003f 
+ 00021241  0x000068bb store  0x00000001 , 0x000044e8 
+ 00021242  0x000068bc rtn 
+ 00021243  0x000068c8 arg  0x00001800 , 0x00000018 
+ 00021244  0x000068c9 arg  0x00000080 , 0x0000002b 
+ 00021245  0x000068ca call  0x00007ec5 
+ 00021246  0x000068cb branch  0x00005303 
+ 00021247  0x000068ce fetchr  0x00000018 , 0x00000002 , 0x000043de 
+ 00021248  0x000068cf fetchr  0x0000002b , 0x00000002 , 0x000043e0 
+ 00021249  0x000068d0 call  0x00007ec7 
+ 00021250  0x000068d1 branch  0x00005303 
+ 00021251  0x000068d4 bpatchx  0x00000003 , 0x00004020 
+ 00021252  0x000068d5 call  0x0000534f 
+ 00021253  0x000068d6 nbranch  0x0000137c , 0x00000034 
+ 00021254  0x000068d7 call  0x0000535f 
+ 00021255  0x000068d8 arg  0x00000008 , 0x00000039 
+ 00021256  0x000068da fetcht  0x00000001 , 0x000044e9 
+ 00021257  0x000068db sub  0x00000039 , 0x00000008 , 0x00000007 
+ 00021258  0x000068dc qisolate1  0x00000002 
+ 00021259  0x000068dd branch  0x00005310 , 0x00000001 
+ 00021260  0x000068de call  0x00005317 
+ 00021261  0x000068df nbranch  0x00005310 , 0x00000002 
+ 00021262  0x000068e0 call  0x0000532d 
+ 00021263  0x000068e1 branch  0x00005314 
+ 00021264  0x000068e3 copy  0x0000002b , 0x0000003f 
+ 00021265  0x000068e4 iadd  0x00000018 , 0x00000018 
+ 00021266  0x000068e5 loop  0x00005308 
+ 00021267  0x000068e6 branch  0x0000137c 
+ 00021268  0x000068e8 copy  0x00000018 , 0x0000003f 
+ 00021269  0x000068e9 copy  0x00000018 , 0x00000005 
+ 00021270  0x000068ea rtn 
+ 00021271  0x000068f4 bpatchx  0x00000004 , 0x00004020 
+ 00021272  0x000068f5 sub  0x00000039 , 0x00000008 , 0x00000007 
+ 00021273  0x000068f6 arg  0x00000000 , 0x00000002 
+ 00021274  0x000068f7 arg  0x00000000 , 0x0000000b 
+ 00021275  0x000068f9 copy  0x00000007 , 0x0000003f 
+ 00021276  0x000068fa beq  0x00000008 , 0x00005328 
+ 00021277  0x000068fb fetch  0x00000001 , 0x000044e9 
+ 00021278  0x000068fc qisolate1  0x0000003f 
+ 00021279  0x000068fd branch  0x00005328 , 0x00000001 
+ 00021280  0x000068fe qset1  0x0000000b 
+ 00021281  0x000068ff copy  0x0000002b , 0x0000003f 
+ 00021282  0x00006900 iadd  0x00000002 , 0x00000002 
+ 00021283  0x00006901 increase  0x00000001 , 0x00000007 
+ 00021284  0x00006902 copy  0x00000011 , 0x0000003f 
+ 00021285  0x00006903 isub  0x00000002 , 0x0000003e 
+ 00021286  0x00006904 branch  0x00005328 , 0x00000005 
+ 00021287  0x00006905 branch  0x0000531b , 0x00000002 
+ 00021288  0x00006907 copy  0x00000002 , 0x0000003f 
+ 00021289  0x00006908 isub  0x00000011 , 0x0000003e 
+ 00021290  0x00006909 nrtn  0x00000005 
+ 00021291  0x0000690a qset1  0x0000000b 
+ 00021292  0x0000690b rtn 
+ 00021293  0x00006915 bpatchx  0x00000005 , 0x00004020 
+ 00021294  0x00006916 call  0x0000534f 
+ 00021295  0x00006917 nbranch  0x0000137c , 0x00000034 
+ 00021296  0x00006918 call  0x00005355 
+ 00021297  0x00006919 branch  0x00005336 , 0x00000034 
+ 00021298  0x0000691a fetch  0x00000009 , 0x000044ed 
+ 00021299  0x0000691b store  0x00000009 , 0x000044ea 
+ 00021300  0x0000691c setarg  0x00000000 
+ 00021301  0x0000691d istore  0x00000003 , 0x00000005 
+ 00021302  0x0000691f storer  0x0000000b , 0x00000001 , 0x000044f3 
+ 00021303  0x00006920 storer  0x00000018 , 0x00000002 , 0x000044f4 
+ 00021304  0x00006921 rtn 
+ 00021305  0x0000692b bpatchx  0x00000006 , 0x00004020 
+ 00021306  0x0000692c call  0x00005358 
+ 00021307  0x0000692d increase  0x00000001 , 0x00000006 
+ 00021308  0x0000692e ifetch  0x00000002 , 0x00000006 
+ 00021309  0x0000692f rtn 
+ 00021310  0x00006937 bpatchx  0x00000007 , 0x00004020 
+ 00021311  0x00006938 call  0x00005358 
+ 00021312  0x00006939 copy  0x00000006 , 0x00000005 
+ 00021313  0x0000693a copy  0x00000006 , 0x00000002 
+ 00021314  0x0000693b setarg  0x00000000 
+ 00021315  0x0000693c istore  0x00000003 , 0x00000005 
+ 00021316  0x0000693d rtn 
+ 00021317  0x00006945 bpatchx  0x00000008 , 0x00004021 
+ 00021318  0x00006946 call  0x00005355 
+ 00021319  0x00006947 branch  0x0000137c , 0x00000034 
+ 00021320  0x00006948 fetch  0x00000003 , 0x000044f0 
+ 00021321  0x00006949 store  0x00000003 , 0x000044f3 
+ 00021322  0x0000694a fetch  0x00000003 , 0x000044ed 
+ 00021323  0x0000694b store  0x00000003 , 0x000044f0 
+ 00021324  0x0000694c fetch  0x00000003 , 0x000044ea 
+ 00021325  0x0000694d store  0x00000003 , 0x000044ed 
+ 00021326  0x0000694e rtn 
+ 00021327  0x00006957 bpatchx  0x00000009 , 0x00004021 
+ 00021328  0x00006958 fetch  0x00000003 , 0x000044ea 
+ 00021329  0x00006959 rtn 
+ 00021330  0x00006962 bpatchx  0x0000000a , 0x00004021 
+ 00021331  0x00006963 fetch  0x00000003 , 0x000044ed 
+ 00021332  0x00006964 rtn 
+ 00021333  0x0000696d bpatchx  0x0000000b , 0x00004021 
+ 00021334  0x0000696e fetch  0x00000003 , 0x000044f3 
+ 00021335  0x0000696f rtn 
+ 00021336  0x00006977 call  0x00005355 
+ 00021337  0x00006978 branch  0x0000535d , 0x00000034 
+ 00021338  0x00006979 arg  0x000044ea , 0x00000006 
+ 00021339  0x0000697b ifetch  0x00000003 , 0x00000006 
+ 00021340  0x0000697c branch  0x0000535b , 0x00000034 
+ 00021341  0x0000697e increase  0xfffffffd , 0x00000006 
+ 00021342  0x0000697f rtn 
+ 00021343  0x00006988 bpatchx  0x0000000c , 0x00004021 
+ 00021344  0x00006989 arg  0x00000004 , 0x00000039 
+ 00021345  0x0000698a arg  0x000044ea , 0x00000006 
+ 00021346  0x0000698b arg  0x00000000 , 0x00000002 
+ 00021347  0x0000698d ifetch  0x00000003 , 0x00000006 
+ 00021348  0x0000698e and  0x0000003f , 0x000000ff , 0x0000003f 
+ 00021349  0x0000698f ior  0x00000002 , 0x00000002 
+ 00021350  0x00006990 loop  0x00005363 
+ 00021351  0x00006991 storet  0x00000001 , 0x000044e9 
+ 00021352  0x00006992 rtn 
+ 00021353  0x00006996 bpatchx  0x0000000d , 0x00004021 
+ 00021354  0x00006997 arg  0x0000007f , 0x00000011 
+ 00021355  0x00006998 call  0x000052fb 
+ 00021356  0x00006999 store  0x00000002 , 0x0000031c 
+ 00021357  0x0000699a increase  0x00000004 , 0x0000003f 
+ 00021358  0x0000699b store  0x00000002 , 0x0000031e 
+ 00021359  0x0000699c setarg  0x00000000 
+ 00021360  0x0000699d store  0x00000002 , 0x00000320 
+ 00021361  0x0000699e rtn 
+ 00021362  0x000069a1 fetch  0x00000002 , 0x0000031c 
+ 00021363  0x000069a2 branch  0x00005393 
+ 00021364  0x000069a5 fetch  0x00000002 , 0x0000031e 
+ 00021365  0x000069a6 branch  0x00005393 
+ 00021366  0x000069aa bpatchx  0x0000000e , 0x00004021 
+ 00021367  0x000069ab arg  0x000000fa , 0x00000011 
+ 00021368  0x000069ac call  0x000052fb 
+ 00021369  0x000069ad store  0x00000002 , 0x00000322 
+ 00021370  0x000069ae increase  0x00000004 , 0x0000003f 
+ 00021371  0x000069af store  0x00000002 , 0x00000324 
+ 00021372  0x000069b0 setarg  0x00000000 
+ 00021373  0x000069b1 store  0x00000002 , 0x00000326 
+ 00021374  0x000069b2 rtn 
+ 00021375  0x000069b5 fetch  0x00000002 , 0x00000322 
+ 00021376  0x000069b6 branch  0x00005393 
+ 00021377  0x000069b9 fetch  0x00000002 , 0x00000324 
+ 00021378  0x000069ba branch  0x00005393 
+ 00021379  0x000069be bpatchx  0x0000000f , 0x00004021 
+ 00021380  0x000069bf call  0x00007d3b 
+ 00021381  0x000069c0 jam  0x00000001 , 0x00000335 
+ 00021382  0x000069c1 call  0x0000534f 
+ 00021383  0x000069c2 nrtn  0x00000034 
+ 00021384  0x000069c3 arg  0x0000007f , 0x00000011 
+ 00021385  0x000069c4 call  0x000052fb 
+ 00021386  0x000069c5 store  0x00000002 , 0x00000328 
+ 00021387  0x000069c6 increase  0x00000004 , 0x0000003f 
+ 00021388  0x000069c7 store  0x00000002 , 0x0000032a 
+ 00021389  0x000069c8 setarg  0x00000000 
+ 00021390  0x000069c9 store  0x00000002 , 0x0000032c 
+ 00021391  0x000069ca jam  0x00000000 , 0x00000335 
+ 00021392  0x000069cb branch  0x00007d47 
+ 00021393  0x000069ce fetch  0x00000002 , 0x00000328 
+ 00021394  0x000069cf branch  0x00005393 
+ 00021395  0x000069d2 branch  0x0000137c , 0x00000034 
+ 00021396  0x000069d3 copy  0x0000003f , 0x00000005 
+ 00021397  0x000069d4 rtn 
+ 00021398  0x000069d8 bpatchx  0x00000010 , 0x00004022 
+ 00021399  0x000069d9 arg  0x00000000 , 0x00000012 
+ 00021400  0x000069da arg  0x000044ea , 0x00000011 
+ 00021401  0x000069db increase  0xfffffffe , 0x00000011 
+ 00021402  0x000069dd increase  0x00000002 , 0x00000011 
+ 00021403  0x000069de setarg  0x000044f6 
+ 00021404  0x000069df isub  0x00000011 , 0x0000003e 
+ 00021405  0x000069e0 branch  0x000053a6 , 0x00000005 
+ 00021406  0x000069e1 ifetch  0x00000001 , 0x00000011 
+ 00021407  0x000069e2 increase  0x00000001 , 0x00000011 
+ 00021408  0x000069e3 branch  0x0000539a , 0x00000034 
+ 00021409  0x000069e4 ifetcht  0x00000002 , 0x00000011 
+ 00021410  0x000069e5 ifetch  0x00000002 , 0x00000002 
+ 00021411  0x000069e6 iadd  0x00000012 , 0x00000012 
+ 00021412  0x000069e7 increase  0x00000004 , 0x00000012 
+ 00021413  0x000069e8 branch  0x0000539a 
+ 00021414  0x000069ea copy  0x00000012 , 0x0000003f 
+ 00021415  0x000069eb rtn 
+ 00021416  0x000069ef arg  0x0000000c , 0x00000007 
+ 00021417  0x000069f0 branch  0x00001566 
+ 00021418  0x000069f3 arg  0x0000000c , 0x00000007 
+ 00021419  0x000069f4 branch  0x0000156a 
+ 00021420  0x000069f7 bpatchx  0x00000011 , 0x00004022 
+ 00021421  0x000069f8 call  0x0000535f 
+ 00021422  0x000069f9 fetch  0x00000001 , 0x000044e9 
+ 00021423  0x000069fa rtn  0x00000034 
+ 00021424  0x000069fb call  0x00005396 
+ 00021425  0x000069fc arg  0x00000100 , 0x00000002 
+ 00021426  0x000069fd isub  0x00000002 , 0x0000003e 
+ 00021427  0x000069fe branch  0x000053a8 , 0x00000002 
+ 00021428  0x000069ff call  0x000053aa 
+ 00021429  0x00006a00 arg  0x000044f6 , 0x00000005 
+ 00021430  0x00006a01 arg  0x000044ea , 0x00000011 
+ 00021431  0x00006a03 setarg  0x000044f6 
+ 00021432  0x00006a04 isub  0x00000011 , 0x0000003e 
+ 00021433  0x00006a05 rtn  0x00000005 
+ 00021434  0x00006a06 ifetch  0x00000001 , 0x00000011 
+ 00021435  0x00006a07 increase  0x00000001 , 0x00000011 
+ 00021436  0x00006a08 nbranch  0x000053c0 , 0x00000034 
+ 00021437  0x00006a09 istore  0x00000002 , 0x00000005 
+ 00021438  0x00006a0a increase  0x00000002 , 0x00000011 
+ 00021439  0x00006a0b branch  0x000053b7 
+ 00021440  0x00006a0d ifetch  0x00000002 , 0x00000011 
+ 00021441  0x00006a0e increase  0x00000002 , 0x00000011 
+ 00021442  0x00006a0f copy  0x0000003f , 0x00000006 
+ 00021443  0x00006a10 ifetch  0x00000002 , 0x00000006 
+ 00021444  0x00006a11 istore  0x00000002 , 0x00000005 
+ 00021445  0x00006a12 copy  0x0000003f , 0x00000039 
+ 00021446  0x00006a13 increase  0x00000002 , 0x00000039 
+ 00021447  0x00006a14 call  0x00007dd4 
+ 00021448  0x00006a15 branch  0x000053b7 
+ 00021449  0x00006a18 bpatchx  0x00000012 , 0x00004022 
+ 00021450  0x00006a19 call  0x0000535f 
+ 00021451  0x00006a1a fetch  0x00000001 , 0x000044e9 
+ 00021452  0x00006a1b rtn  0x00000034 
+ 00021453  0x00006a1c arg  0x000044eb , 0x00000011 
+ 00021454  0x00006a1d increase  0xfffffffd , 0x00000011 
+ 00021455  0x00006a1e arg  0x000044f6 , 0x00000006 
+ 00021456  0x00006a20 increase  0x00000003 , 0x00000011 
+ 00021457  0x00006a21 setarg  0x000044f7 
+ 00021458  0x00006a22 isub  0x00000011 , 0x0000003e 
+ 00021459  0x00006a23 rtn  0x00000005 
+ 00021460  0x00006a24 ifetch  0x00000002 , 0x00000006 
+ 00021461  0x00006a25 branch  0x000053d0 , 0x00000034 
+ 00021462  0x00006a26 increase  0x00000004 , 0x0000003f 
+ 00021463  0x00006a27 copy  0x0000003f , 0x00000039 
+ 00021464  0x00006a28 copy  0x00000006 , 0x00000012 
+ 00021465  0x00006a29 ifetch  0x00000002 , 0x00000011 
+ 00021466  0x00006a2a copy  0x0000003f , 0x00000005 
+ 00021467  0x00006a2b copy  0x00000012 , 0x00000006 
+ 00021468  0x00006a2c increase  0xfffffffe , 0x00000006 
+ 00021469  0x00006a2d call  0x00007dd4 
+ 00021470  0x00006a2e branch  0x000053d0 
+ 00021471  0x00006a38 rtn  0x0000002b 
+ 00021472  0x00006a3a bpatchx  0x00000013 , 0x00004022 
+ 00021473  0x00006a3b setarg  0x00000000 
+ 00021474  0x00006a3c store  0x00000001 , 0x00000048 
+ 00021475  0x00006a3d store  0x00000001 , 0x00000055 
+ 00021476  0x00006a3e store  0x00000001 , 0x00000078 
+ 00021477  0x00006a3f store  0x00000001 , 0x0000007c 
+ 00021478  0x00006a40 store  0x00000001 , 0x0000415d 
+ 00021479  0x00006a41 store  0x00000001 , 0x000000bc 
+ 00021480  0x00006a42 store  0x00000001 , 0x00000877 
+ 00021481  0x00006a43 store  0x00000003 , 0x00004647 
+ 00021482  0x00006a44 store  0x00000001 , 0x0000464a 
+ 00021483  0x00006a45 jam  0x00000000 , 0x00004645 
+ 00021484  0x00006a46 jam  0x00000000 , 0x0000030c 
+ 00021485  0x00006a47 jam  0x00000000 , 0x000003ab 
+ 00021486  0x00006a49 jam  0x00000000 , 0x00000877 
+ 00021487  0x00006a4a jam  0x00000000 , 0x00000876 
+ 00021488  0x00006a4b jam  0x00000000 , 0x000003a5 
+ 00021489  0x00006a4e rtn 
+ 00021490  0x00006a51 bpatchx  0x00000014 , 0x00004022 
+ 00021491  0x00006a52 call  0x00005a82 , 0x00000029 
+ 00021492  0x00006a53 ncall  0x00005a86 , 0x00000029 
+ 00021493  0x00006a54 call  0x00005a3f 
+ 00021494  0x00006a55 nrtn  0x00000034 
+ 00021495  0x00006a56 fetch  0x00000001 , 0x0000004c 
+ 00021496  0x00006a57 rtnbit0  0x00000006 
+ 00021497  0x00006a58 set0  0x00000006 , 0x0000003f 
+ 00021498  0x00006a59 set0  0x00000001 , 0x00000000 
+ 00021499  0x00006a5a store  0x00000001 , 0x0000004c 
+ 00021500  0x00006a5b fetch  0x00000001 , 0x000000ce 
+ 00021501  0x00006a5c fetcht  0x00000001 , 0x0000004c 
+ 00021502  0x00006a5d isolate1  0x00000000 , 0x0000003f 
+ 00021503  0x00006a5e setflag  0x00000001 , 0x00000001 , 0x00000002 
+ 00021504  0x00006a5f storet  0x00000001 , 0x0000004c 
+ 00021505  0x00006a60 and_into  0x00000002 , 0x00000002 
+ 00021506  0x00006a61 storet  0x00000001 , 0x0000007f 
+ 00021507  0x00006a62 fetcht  0x00000001 , 0x0000004c 
+ 00021508  0x00006a63 rshift  0x0000003f , 0x0000003f 
+ 00021509  0x00006a64 store  0x00000001 , 0x0000007d 
+ 00021510  0x00006a65 bpatchx  0x00000015 , 0x00004022 
+ 00021511  0x00006a66 fetch  0x00000001 , 0x0000007d 
+ 00021512  0x00006a67 beq  0x0000007f , 0x00005454 
+ 00021513  0x00006a68 beq  0x00000003 , 0x000054c0 
+ 00021514  0x00006a69 beq  0x00000004 , 0x000054d1 
+ 00021515  0x00006a6a beq  0x0000003c , 0x00005447 
+ 00021516  0x00006a6b beq  0x00000005 , 0x00005443 
+ 00021517  0x00006a6c beq  0x0000000f , 0x000056f7 
+ 00021518  0x00006a6d beq  0x00000010 , 0x00005536 
+ 00021519  0x00006a6e beq  0x00000023 , 0x00005555 
+ 00021520  0x00006a6f beq  0x00000039 , 0x00005710 
+ 00021521  0x00006a70 beq  0x00000038 , 0x0000570b 
+ 00021522  0x00006a71 beq  0x00000031 , 0x0000553b 
+ 00021523  0x00006a72 beq  0x00000037 , 0x000055d7 
+ 00021524  0x00006a73 beq  0x00000027 , 0x000055d3 
+ 00021525  0x00006a74 beq  0x00000033 , 0x000055d0 
+ 00021526  0x00006a75 beq  0x00000025 , 0x000055d5 
+ 00021527  0x00006a76 beq  0x00000026 , 0x00005551 
+ 00021528  0x00006a77 beq  0x00000007 , 0x0000554a 
+ 00021529  0x00006a78 beq  0x0000002d , 0x00005541 
+ 00021530  0x00006a79 beq  0x0000002e , 0x00005542 
+ 00021531  0x00006a7a beq  0x00000001 , 0x000055cc 
+ 00021532  0x00006a7b beq  0x00000002 , 0x000055b7 
+ 00021533  0x00006a7c beq  0x00000028 , 0x00005702 
+ 00021534  0x00006a7d beq  0x00000009 , 0x000055ad 
+ 00021535  0x00006a7e beq  0x0000000b , 0x00005574 
+ 00021536  0x00006a7f beq  0x00000008 , 0x00005556 
+ 00021537  0x00006a80 beq  0x0000000c , 0x00005586 
+ 00021538  0x00006a81 beq  0x0000001f , 0x0000554d 
+ 00021539  0x00006a82 beq  0x00000020 , 0x0000554f 
+ 00021540  0x00006a83 beq  0x00000021 , 0x000055f1 
+ 00021541  0x00006a84 beq  0x00000022 , 0x000055f1 
+ 00021542  0x00006a85 beq  0x00000035 , 0x000055f2 
+ 00021543  0x00006a86 beq  0x00000036 , 0x000055f3 
+ 00021544  0x00006a87 beq  0x00000024 , 0x000055f1 
+ 00021545  0x00006a88 beq  0x00000034 , 0x000055f4 
+ 00021546  0x00006a89 beq  0x00000017 , 0x000055fd 
+ 00021547  0x00006a8a beq  0x00000011 , 0x00005617 
+ 00021548  0x00006a8b beq  0x00000012 , 0x00005624 
+ 00021549  0x00006a8c beq  0x00000013 , 0x00005626 
+ 00021550  0x00006a8d beq  0x0000000d , 0x00005636 
+ 00021551  0x00006a8e beq  0x0000000e , 0x00005636 
+ 00021552  0x00006a8f beq  0x0000002f , 0x000055d1 
+ 00021553  0x00006a90 beq  0x00000030 , 0x00005636 
+ 00021554  0x00006a91 beq  0x0000000a , 0x00005636 
+ 00021555  0x00006a92 beq  0x00000018 , 0x00005637 
+ 00021556  0x00006a93 beq  0x00000032 , 0x00005636 
+ 00021557  0x00006a94 beq  0x0000003d , 0x0000563c 
+ 00021558  0x00006a95 beq  0x0000003e , 0x00005685 
+ 00021559  0x00006a96 beq  0x0000003f , 0x0000567e 
+ 00021560  0x00006a97 beq  0x00000040 , 0x000056c8 
+ 00021561  0x00006a98 beq  0x00000041 , 0x000056d9 
+ 00021562  0x00006a99 beq  0x00000006 , 0x000056f6 
+ 00021563  0x00006a9a beq  0x0000003a , 0x00005445 
+ 00021564  0x00006a9b beq  0x0000002a , 0x00005441 
+ 00021565  0x00006a9c beq  0x00000029 , 0x00005442 
+ 00021566  0x00006aa0 jam  0x00000019 , 0x0000007e 
+ 00021567  0x00006aa2 jam  0x00000004 , 0x0000007c 
+ 00021568  0x00006aa3 rtn 
+ 00021569  0x00006aa6 branch  0x0000554b 
+ 00021570  0x00006aa9 rtn 
+ 00021571  0x00006aac jam  0x00000006 , 0x0000007c 
+ 00021572  0x00006aad rtn 
+ 00021573  0x00006ab0 jam  0x0000003b , 0x0000007c 
+ 00021574  0x00006ab1 rtn 
+ 00021575  0x00006ab4 fetch  0x00000004 , 0x000000cf 
+ 00021576  0x00006ab5 lshift  0x0000003f , 0x0000003f 
+ 00021577  0x00006ab6 store  0x00000004 , 0x000040d9 
+ 00021578  0x00006ab7 fetch  0x00000001 , 0x000000d3 
+ 00021579  0x00006ab8 store  0x00000001 , 0x000040e0 
+ 00021580  0x00006ab9 fetch  0x00000005 , 0x000000d4 
+ 00021581  0x00006aba store  0x00000005 , 0x000040ee 
+ 00021582  0x00006abb fetch  0x00000005 , 0x000000d9 
+ 00021583  0x00006abc istore  0x00000005 , 0x00000005 
+ 00021584  0x00006abd fetch  0x00000001 , 0x00000031 
+ 00021585  0x00006abe set1  0x00000003 , 0x0000003f 
+ 00021586  0x00006abf store  0x00000001 , 0x00000031 
+ 00021587  0x00006ac0 rtn 
+ 00021588  0x00006ac2 bpatchx  0x00000016 , 0x00004022 
+ 00021589  0x00006ac3 fetch  0x00000001 , 0x000000cf 
+ 00021590  0x00006ac4 set1  0x00000007 , 0x0000003f 
+ 00021591  0x00006ac5 store  0x00000001 , 0x0000007d 
+ 00021592  0x00006ac6 beq  0x00000081 , 0x00005479 
+ 00021593  0x00006ac7 beq  0x00000082 , 0x0000547e 
+ 00021594  0x00006ac8 beq  0x00000095 , 0x000055d8 
+ 00021595  0x00006ac9 beq  0x00000096 , 0x000055f1 
+ 00021596  0x00006aca beq  0x0000008b , 0x000055e6 
+ 00021597  0x00006acb beq  0x00000083 , 0x00005494 
+ 00021598  0x00006acc beq  0x00000084 , 0x000054b6 
+ 00021599  0x00006acd beq  0x00000090 , 0x0000546b 
+ 00021600  0x00006ace beq  0x00000097 , 0x0000548d 
+ 00021601  0x00006acf beq  0x00000098 , 0x00005492 
+ 00021602  0x00006ad0 beq  0x00000099 , 0x0000546e 
+ 00021603  0x00006ad1 beq  0x0000009a , 0x00005471 
+ 00021604  0x00006ad2 beq  0x000000a1 , 0x00005469 
+ 00021605  0x00006ad3 rtneq  0x00000084 
+ 00021606  0x00006ad6 jam  0x00000082 , 0x0000007c 
+ 00021607  0x00006ad7 jam  0x00000019 , 0x0000007e 
+ 00021608  0x00006ad8 rtn 
+ 00021609  0x00006adb jam  0x000000a2 , 0x0000007c 
+ 00021610  0x00006adc rtn 
+ 00021611  0x00006adf jam  0x00000082 , 0x0000007c 
+ 00021612  0x00006ae0 jam  0x0000002e , 0x0000007e 
+ 00021613  0x00006ae1 rtn 
+ 00021614  0x00006ae4 call  0x00005473 
+ 00021615  0x00006ae5 jam  0x0000009a , 0x0000007c 
+ 00021616  0x00006ae6 rtn 
+ 00021617  0x00006ae9 call  0x00005473 
+ 00021618  0x00006aea branch  0x00005477 
+ 00021619  0x00006aed arg  0x0000476b , 0x00000005 
+ 00021620  0x00006aee fetch  0x00000003 , 0x000000d0 
+ 00021621  0x00006aef istore  0x00000003 , 0x00000005 
+ 00021622  0x00006af0 rtn 
+ 00021623  0x00006af3 branch  0x000070d3 , 0x00000001 
+ 00021624  0x00006af4 rtn 
+ 00021625  0x00006af6 fetch  0x00000001 , 0x000000d1 
+ 00021626  0x00006af7 set1  0x00000007 , 0x0000003f 
+ 00021627  0x00006af8 store  0x00000001 , 0x0000039d 
+ 00021628  0x00006af9 beq  0x0000008b , 0x00005483 
+ 00021629  0x00006afa rtn 
+ 00021630  0x00006afe fetch  0x00000001 , 0x000000d1 
+ 00021631  0x00006aff set1  0x00000007 , 0x0000003f 
+ 00021632  0x00006b00 store  0x00000001 , 0x0000039d 
+ 00021633  0x00006b01 beq  0x0000008b , 0x00005487 
+ 00021634  0x00006b02 rtn 
+ 00021635  0x00006b05 fetch  0x00000001 , 0x0000415f 
+ 00021636  0x00006b06 fetcht  0x00000001 , 0x0000004c 
+ 00021637  0x00006b07 nsetflag  0x00000034 , 0x00000005 , 0x00000002 
+ 00021638  0x00006b08 storet  0x00000001 , 0x0000004c 
+ 00021639  0x00006b0a fetch  0x00000001 , 0x00000030 
+ 00021640  0x00006b0b rtnbit0  0x00000005 
+ 00021641  0x00006b0c set0  0x00000005 , 0x0000003f 
+ 00021642  0x00006b0d store  0x00000001 , 0x00000030 
+ 00021643  0x00006b0e jam  0x00000031 , 0x0000007c 
+ 00021644  0x00006b0f rtn 
+ 00021645  0x00006b12 nbranch  0x00005490 , 0x00000029 
+ 00021646  0x00006b13 jam  0x00000012 , 0x0000007c 
+ 00021647  0x00006b14 branch  0x00005a6e 
+ 00021648  0x00006b17 jam  0x00000097 , 0x0000007c 
+ 00021649  0x00006b18 rtn 
+ 00021650  0x00006b1d call  0x00005a6e 
+ 00021651  0x00006b1e branch  0x0000574d 
+ 00021652  0x00006b21 ifetch  0x00000001 , 0x00000006 
+ 00021653  0x00006b22 store  0x00000001 , 0x000003a1 
+ 00021654  0x00006b23 beq  0x00000001 , 0x00005499 
+ 00021655  0x00006b24 beq  0x00000002 , 0x0000549e 
+ 00021656  0x00006b25 rtn 
+ 00021657  0x00006b28 jam  0x00000084 , 0x0000007c 
+ 00021658  0x00006b29 increase  0x00000001 , 0x00000006 
+ 00021659  0x00006b2a ifetch  0x00000001 , 0x00000006 
+ 00021660  0x00006b2b bbit1  0x00000003 , 0x000054b0 
+ 00021661  0x00006b2c branch  0x000054b3 
+ 00021662  0x00006b2f jam  0x00000084 , 0x0000007c 
+ 00021663  0x00006b30 increase  0x00000001 , 0x00000006 
+ 00021664  0x00006b31 ifetch  0x00000002 , 0x00000006 
+ 00021665  0x00006b32 bbit1  0x00000008 , 0x000054a3 
+ 00021666  0x00006b33 branch  0x000054ac 
+ 00021667  0x00006b36 fetch  0x00000001 , 0x0000464a 
+ 00021668  0x00006b37 set1  0x00000001 , 0x0000003f 
+ 00021669  0x00006b38 call  0x000054ae 
+ 00021670  0x00006b3a fetch  0x00000001 , 0x0000464a 
+ 00021671  0x00006b3b rtnne  0x00000003 
+ 00021672  0x00006b3c fetch  0x00000001 , 0x000046bb 
+ 00021673  0x00006b3d rtnbit0  0x00000001 
+ 00021674  0x00006b3e jam  0x00000002 , 0x00004648 
+ 00021675  0x00006b3f rtn 
+ 00021676  0x00006b42 fetch  0x00000001 , 0x0000464a 
+ 00021677  0x00006b43 set0  0x00000001 , 0x0000003f 
+ 00021678  0x00006b45 store  0x00000001 , 0x0000464a 
+ 00021679  0x00006b46 rtn 
+ 00021680  0x00006b49 fetch  0x00000001 , 0x0000464a 
+ 00021681  0x00006b4a set1  0x00000000 , 0x0000003f 
+ 00021682  0x00006b4b branch  0x000054ae 
+ 00021683  0x00006b4e fetch  0x00000001 , 0x0000464a 
+ 00021684  0x00006b4f set0  0x00000000 , 0x0000003f 
+ 00021685  0x00006b50 branch  0x000054ae 
+ 00021686  0x00006b53 fetcht  0x00000001 , 0x000000d2 
+ 00021687  0x00006b54 and  0x00000002 , 0x00000001 , 0x00000002 
+ 00021688  0x00006b55 storet  0x00000001 , 0x000003a4 
+ 00021689  0x00006b56 fetch  0x00000001 , 0x000041db 
+ 00021690  0x00006b57 bne  0x00000051 , 0x000054bc 
+ 00021691  0x00006b58 jam  0x00000000 , 0x000041db 
+ 00021692  0x00006b5a fetch  0x00000001 , 0x00000055 
+ 00021693  0x00006b5b rtnne  0x00000015 
+ 00021694  0x00006b5c jam  0x00000004 , 0x00000055 
+ 00021695  0x00006b5d branch  0x00005a9e 
+ 00021696  0x00006b60 bpatchx  0x00000017 , 0x00004022 
+ 00021697  0x00006b61 fetch  0x00000001 , 0x000000cf 
+ 00021698  0x00006b62 store  0x00000001 , 0x0000039d 
+ 00021699  0x00006b63 beq  0x00000033 , 0x000054e7 
+ 00021700  0x00006b64 beq  0x00000008 , 0x000054f6 
+ 00021701  0x00006b65 beq  0x0000000f , 0x000054fd 
+ 00021702  0x00006b66 beq  0x00000010 , 0x00005503 
+ 00021703  0x00006b67 beq  0x00000011 , 0x00005504 
+ 00021704  0x00006b68 beq  0x00000012 , 0x0000550c 
+ 00021705  0x00006b69 beq  0x00000018 , 0x00005525 
+ 00021706  0x00006b6a beq  0x00000017 , 0x00005528 
+ 00021707  0x00006b6b beq  0x00000013 , 0x000054de 
+ 00021708  0x00006b6d beq  0x0000003d , 0x00005651 
+ 00021709  0x00006b6e beq  0x0000003e , 0x000056b2 
+ 00021710  0x00006b6f beq  0x00000040 , 0x00005653 
+ 00021711  0x00006b70 beq  0x00000041 , 0x00005670 
+ 00021712  0x00006b71 rtn 
+ 00021713  0x00006b74 bpatchx  0x00000018 , 0x00004023 
+ 00021714  0x00006b75 fetch  0x00000001 , 0x000000cf 
+ 00021715  0x00006b76 store  0x00000001 , 0x0000039d 
+ 00021716  0x00006b77 beq  0x00000001 , 0x0000551c 
+ 00021717  0x00006b78 beq  0x00000033 , 0x000054f1 
+ 00021718  0x00006b79 beq  0x0000000b , 0x0000550d 
+ 00021719  0x00006b7a beq  0x00000008 , 0x00005513 
+ 00021720  0x00006b7b beq  0x00000013 , 0x000054e1 
+ 00021721  0x00006b7d beq  0x00000040 , 0x0000551d 
+ 00021722  0x00006b7e beq  0x00000041 , 0x00005520 
+ 00021723  0x00006b7f beq  0x00000018 , 0x00005523 
+ 00021724  0x00006b80 beq  0x00000017 , 0x00005534 
+ 00021725  0x00006b81 rtn 
+ 00021726  0x00006b84 jam  0x00000020 , 0x0000095b 
+ 00021727  0x00006b85 call  0x000078dc 
+ 00021728  0x00006b86 branch  0x000009dd 
+ 00021729  0x00006b89 jam  0x00000019 , 0x0000095b 
+ 00021730  0x00006b8a call  0x000078dc 
+ 00021731  0x00006b8b jam  0x00000002 , 0x00004645 
+ 00021732  0x00006b8c setarg  0x00000050 
+ 00021733  0x00006b8d arg  0x00000006 , 0x00000007 
+ 00021734  0x00006b8e branch  0x00007ddb 
+ 00021735  0x00006b94 fetch  0x00000001 , 0x000003a5 
+ 00021736  0x00006b95 set1  0x00000000 , 0x0000003f 
+ 00021737  0x00006b96 store  0x00000001 , 0x000003a5 
+ 00021738  0x00006b97 jam  0x00000001 , 0x0000095b 
+ 00021739  0x00006b98 call  0x000078dc 
+ 00021740  0x00006b99 jam  0x0000008b , 0x0000007c 
+ 00021741  0x00006b9d fetch  0x00000001 , 0x00000055 
+ 00021742  0x00006b9e bne  0x00000005 , 0x000053f1 
+ 00021743  0x00006ba1 jam  0x00000006 , 0x00000055 
+ 00021744  0x00006ba2 rtn 
+ 00021745  0x00006bab jam  0x0000000b , 0x0000039e 
+ 00021746  0x00006bac jam  0x00000007 , 0x0000007c 
+ 00021747  0x00006bae jam  0x00000000 , 0x00000055 
+ 00021748  0x00006bb0 branch  0x000053f1 , 0x00000001 
+ 00021749  0x00006bb1 rtn 
+ 00021750  0x00006bb4 fetch  0x00000001 , 0x000041ca 
+ 00021751  0x00006bb5 nrtn  0x00000034 
+ 00021752  0x00006bb6 call  0x00000c5c 
+ 00021753  0x00006bb7 call  0x0000574b 
+ 00021754  0x00006bb8 rtn  0x00000029 
+ 00021755  0x00006bb9 set1  0x00000021 , 0x00000000 
+ 00021756  0x00006bba rtn 
+ 00021757  0x00006bbd nrtn  0x00000029 
+ 00021758  0x00006bbe jam  0x00000010 , 0x0000007c 
+ 00021759  0x00006bbf fetch  0x00000001 , 0x0000004c 
+ 00021760  0x00006bc0 rtnbit0  0x00000002 
+ 00021761  0x00006bc1 jam  0x00000012 , 0x0000007c 
+ 00021762  0x00006bc2 rtn 
+ 00021763  0x00006bc5 branch  0x0000574d 
+ 00021764  0x00006bc8 call  0x000057a9 
+ 00021765  0x00006bc9 fetch  0x00000001 , 0x00000030 
+ 00021766  0x00006bca rtnbit1  0x00000004 
+ 00021767  0x00006bcb jam  0x00000031 , 0x0000007c 
+ 00021768  0x00006bcc fetch  0x00000001 , 0x00000055 
+ 00021769  0x00006bcd rtnne  0x0000000a 
+ 00021770  0x00006bce jam  0x0000000b , 0x00000055 
+ 00021771  0x00006bcf rtn 
+ 00021772  0x00006bd9 rtn 
+ 00021773  0x00006bdd fetch  0x00000001 , 0x0000409a 
+ 00021774  0x00006bde sub  0x0000003f , 0x00000008 , 0x0000003e 
+ 00021775  0x00006bdf call  0x00003e57 , 0x00000005 
+ 00021776  0x00006be0 jam  0x00000007 , 0x0000007c 
+ 00021777  0x00006be1 jam  0x00000013 , 0x0000039e 
+ 00021778  0x00006be2 rtn 
+ 00021779  0x00006be5 fetch  0x00000001 , 0x000000d0 
+ 00021780  0x00006be6 beq  0x00000006 , 0x00005519 
+ 00021781  0x00006be7 rtnne  0x00000018 
+ 00021782  0x00006be8 jam  0x00000018 , 0x0000039e 
+ 00021783  0x00006be9 jam  0x00000007 , 0x0000007c 
+ 00021784  0x00006bea rtn 
+ 00021785  0x00006bec jam  0x00000006 , 0x0000039e 
+ 00021786  0x00006bed jam  0x00000007 , 0x0000007c 
+ 00021787  0x00006bee rtn 
+ 00021788  0x00006bf1 rtn 
+ 00021789  0x00006bf4 jam  0x00000000 , 0x00000870 
+ 00021790  0x00006bf5 jam  0x00000007 , 0x0000007c 
+ 00021791  0x00006bf6 branch  0x000053f1 
+ 00021792  0x00006bf9 jam  0x00000000 , 0x00000870 
+ 00021793  0x00006bfa jam  0x00000007 , 0x0000007c 
+ 00021794  0x00006bfb branch  0x000053f1 
+ 00021795  0x00006bfd jam  0x00000024 , 0x0000095b 
+ 00021796  0x00006bfe branch  0x000078dc 
+ 00021797  0x00006c01 jam  0x00000023 , 0x0000095b 
+ 00021798  0x00006c02 call  0x000078dc 
+ 00021799  0x00006c03 branch  0x00000f12 
+ 00021800  0x00006c06 jam  0x00000022 , 0x0000095b 
+ 00021801  0x00006c07 call  0x000078dc 
+ 00021802  0x00006c08 setarg  0x00000000 
+ 00021803  0x00006c09 store  0x00000002 , 0x00000075 
+ 00021804  0x00006c0a fetch  0x00000002 , 0x00004455 
+ 00021805  0x00006c0b lshift  0x0000003f , 0x0000003f 
+ 00021806  0x00006c0c store  0x00000002 , 0x00000032 
+ 00021807  0x00006c0d fetch  0x00000001 , 0x00004457 
+ 00021808  0x00006c0e store  0x00000001 , 0x00000073 
+ 00021809  0x00006c0f fetch  0x00000001 , 0x00004459 
+ 00021810  0x00006c10 store  0x00000001 , 0x00000074 
+ 00021811  0x00006c11 branch  0x00000ef1 
+ 00021812  0x00006c14 jam  0x00000021 , 0x0000095b 
+ 00021813  0x00006c15 branch  0x000078dc 
+ 00021814  0x00006c18 fetcht  0x00000001 , 0x000000cf 
+ 00021815  0x00006c19 sub  0x00000002 , 0x00000006 , 0x0000003e 
+ 00021816  0x00006c1a branch  0x000056ec , 0x00000002 
+ 00021817  0x00006c1b storet  0x00000001 , 0x00000054 
+ 00021818  0x00006c1c branch  0x0000554b 
+ 00021819  0x00006c1f fetch  0x00000001 , 0x000003a5 
+ 00021820  0x00006c20 set1  0x00000002 , 0x0000003f 
+ 00021821  0x00006c21 store  0x00000001 , 0x000003a5 
+ 00021822  0x00006c22 rtnbit1  0x00000003 
+ 00021823  0x00006c23 jam  0x00000031 , 0x0000007c 
+ 00021824  0x00006c24 branch  0x000053f1 
+ 00021825  0x00006c29 rtn 
+ 00021826  0x00006c2c fetch  0x00000001 , 0x000040d7 
+ 00021827  0x00006c2d fetcht  0x00000001 , 0x000000cf 
+ 00021828  0x00006c2e isub  0x00000002 , 0x0000003e 
+ 00021829  0x00006c30 branch  0x0000554b , 0x00000002 
+ 00021830  0x00006c31 jam  0x00000004 , 0x0000007c 
+ 00021831  0x00006c32 jam  0x0000001f , 0x0000007e 
+ 00021832  0x00006c33 jam  0x0000002e , 0x0000007d 
+ 00021833  0x00006c34 rtn 
+ 00021834  0x00006c37 branch  0x000058c0 
+ 00021835  0x00006c3a jam  0x00000003 , 0x0000007c 
+ 00021836  0x00006c3b rtn 
+ 00021837  0x00006c3e jam  0x00000021 , 0x0000007c 
+ 00021838  0x00006c3f rtn 
+ 00021839  0x00006c42 jam  0x00000022 , 0x0000007c 
+ 00021840  0x00006c43 rtn 
+ 00021841  0x00006c46 fetch  0x00000001 , 0x00000055 
+ 00021842  0x00006c47 rtneq  0x00000013 
+ 00021843  0x00006c49 jam  0x00000002 , 0x00000055 
+ 00021844  0x00006c4b rtn 
+ 00021845  0x00006c4f rtn 
+ 00021846  0x00006c52 fetch  0x00000001 , 0x000046b9 
+ 00021847  0x00006c53 nbranch  0x0000555f , 0x00000034 
+ 00021848  0x00006c55 call  0x00005748 
+ 00021849  0x00006c56 jam  0x00000001 , 0x000003a8 
+ 00021850  0x00006c57 jam  0x0000000a , 0x0000095b 
+ 00021851  0x00006c58 call  0x000078dc 
+ 00021852  0x00006c5a call  0x00005a76 
+ 00021853  0x00006c5b nbranch  0x00005750 , 0x00000001 
+ 00021854  0x00006c5c nbranch  0x00005563 , 0x00000029 
+ 00021855  0x00006c5e jam  0x00000004 , 0x0000007c 
+ 00021856  0x00006c5f jam  0x00000008 , 0x0000007d 
+ 00021857  0x00006c60 jam  0x00000023 , 0x0000007e 
+ 00021858  0x00006c61 rtn 
+ 00021859  0x00006c64 fetch  0x00000001 , 0x0000004b 
+ 00021860  0x00006c65 set1  0x00000002 , 0x0000003f 
+ 00021861  0x00006c66 store  0x00000001 , 0x0000004b 
+ 00021862  0x00006c67 rtn 
+ 00021863  0x00006c6b fetcht  0x00000001 , 0x0000004c 
+ 00021864  0x00006c6c nsetflag  0x00000034 , 0x00000001 , 0x00000002 
+ 00021865  0x00006c6d storet  0x00000001 , 0x0000004c 
+ 00021866  0x00006c6e rtn 
+ 00021867  0x00006c72 fetch  0x00000001 , 0x0000007f 
+ 00021868  0x00006c73 rshift  0x0000003f , 0x0000003f 
+ 00021869  0x00006c74 and_into  0x00000001 , 0x0000003f 
+ 00021870  0x00006c75 rtn 
+ 00021871  0x00006c78 fetch  0x00000001 , 0x0000448b 
+ 00021872  0x00006c79 rtn  0x00000034 
+ 00021873  0x00006c7a fetch  0x00000001 , 0x00000877 
+ 00021874  0x00006c7b call  0x000060af , 0x00000034 
+ 00021875  0x00006c7c rtn 
+ 00021876  0x00006c7f call  0x0000556f 
+ 00021877  0x00006c80 call  0x0000556b 
+ 00021878  0x00006c81 store  0x00000001 , 0x000003a9 
+ 00021879  0x00006c82 fetch  0x00000001 , 0x00004648 
+ 00021880  0x00006c83 beq  0x00000002 , 0x00005581 
+ 00021881  0x00006c84 call  0x00005748 
+ 00021882  0x00006c85 jam  0x0000000c , 0x0000007c 
+ 00021883  0x00006c87 fetch  0x00000001 , 0x000041ca 
+ 00021884  0x00006c88 nrtn  0x00000034 
+ 00021885  0x00006c89 fetch  0x00000001 , 0x00000030 
+ 00021886  0x00006c8a rtnbit1  0x00000006 
+ 00021887  0x00006c8b jam  0x00000006 , 0x0000007e 
+ 00021888  0x00006c8c branch  0x0000543f 
+ 00021889  0x00006c8f jam  0x0000000b , 0x0000007c 
+ 00021890  0x00006c90 arg  0x000008f0 , 0x00000005 
+ 00021891  0x00006c91 arg  0x000000cf , 0x00000006 
+ 00021892  0x00006c92 call  0x00007d7f 
+ 00021893  0x00006c93 branch  0x0000557b 
+ 00021894  0x00006c97 fetch  0x00000001 , 0x00004648 
+ 00021895  0x00006c98 beq  0x00000002 , 0x00005596 
+ 00021896  0x00006c9a arg  0x00000040 , 0x00000011 
+ 00021897  0x00006c9b call  0x00006ba6 
+ 00021898  0x00006c9c fetcht  0x00000004 , 0x00000454 
+ 00021899  0x00006c9d fetch  0x00000004 , 0x000000cf 
+ 00021900  0x00006c9e isub  0x00000002 , 0x0000003e 
+ 00021901  0x00006c9f branch  0x00005591 , 0x00000005 
+ 00021902  0x00006ca1 jam  0x00000007 , 0x0000007c 
+ 00021903  0x00006ca2 jam  0x00000005 , 0x0000039e 
+ 00021904  0x00006ca3 rtn 
+ 00021905  0x00006ca6 call  0x00006ca4 
+ 00021906  0x00006ca7 call  0x0000559f 
+ 00021907  0x00006ca8 fetch  0x00000001 , 0x00004767 
+ 00021908  0x00006ca9 branch  0x00005671 , 0x00000034 
+ 00021909  0x00006caa rtn 
+ 00021910  0x00006cad fetch  0x00000004 , 0x000000cf 
+ 00021911  0x00006cae fetcht  0x00000004 , 0x0000091c 
+ 00021912  0x00006caf isub  0x00000002 , 0x0000003e 
+ 00021913  0x00006cb0 branch  0x0000559b , 0x00000005 
+ 00021914  0x00006cb1 branch  0x0000558e 
+ 00021915  0x00006cb4 call  0x0000559f 
+ 00021916  0x00006cb5 fetch  0x00000001 , 0x000046bb 
+ 00021917  0x00006cb6 bbit1  0x00000001 , 0x00005671 
+ 00021918  0x00006cb7 rtn 
+ 00021919  0x00006cbb call  0x000009b4 
+ 00021920  0x00006cbc fetch  0x00000001 , 0x0000004b 
+ 00021921  0x00006cbd isolate1  0x00000001 , 0x0000003f 
+ 00021922  0x00006cbe set0  0x00000001 , 0x0000003f 
+ 00021923  0x00006cbf store  0x00000001 , 0x0000004b 
+ 00021924  0x00006cc0 fetch  0x00000001 , 0x00000055 
+ 00021925  0x00006cc1 beq  0x00000019 , 0x000055a8 
+ 00021926  0x00006cc2 beq  0x00000018 , 0x000055a8 
+ 00021927  0x00006cc3 rtn 
+ 00021928  0x00006cc5 fetch  0x00000001 , 0x00000877 
+ 00021929  0x00006cc6 rtnne  0x00000000 
+ 00021930  0x00006cc7 fetch  0x00000001 , 0x0000004c 
+ 00021931  0x00006cc8 rtnbit1  0x00000002 
+ 00021932  0x00006cc9 branch  0x00005b35 
+ 00021933  0x00006ccc arg  0x000000cf , 0x00000011 
+ 00021934  0x00006ccd arg  0x00000444 , 0x00000012 
+ 00021935  0x00006cce arg  0x00000424 , 0x00000005 
+ 00021936  0x00006ccf call  0x00006c70 
+ 00021937  0x00006cd0 arg  0x00000040 , 0x00000011 
+ 00021938  0x00006cd1 call  0x00005a94 
+ 00021939  0x00006cd2 jam  0x0000000b , 0x0000007c 
+ 00021940  0x00006cd3 fetch  0x00000001 , 0x00000030 
+ 00021941  0x00006cd4 bbit0  0x00000006 , 0x0000574b 
+ 00021942  0x00006cd5 rtn 
+ 00021943  0x00006cd8 fetch  0x00000002 , 0x000000ae 
+ 00021944  0x00006cd9 add  0x0000003f , 0xfffffffd , 0x00000039 
+ 00021945  0x00006cda fetcht  0x00000001 , 0x000000cf 
+ 00021946  0x00006cdb setarg  0x00000a01 
+ 00021947  0x00006cdc iadd  0x00000002 , 0x00000005 
+ 00021948  0x00006cdd arg  0x000000d1 , 0x00000006 
+ 00021949  0x00006cde call  0x00007dd4 
+ 00021950  0x00006cdf fetcht  0x00000001 , 0x00000053 
+ 00021951  0x00006ce0 fetch  0x00000001 , 0x000000d0 
+ 00021952  0x00006ce1 isub  0x00000002 , 0x0000003f 
+ 00021953  0x00006ce2 sub  0x0000003f , 0x0000000e , 0x0000003e 
+ 00021954  0x00006ce3 branch  0x000055c7 , 0x00000002 
+ 00021955  0x00006ce4 add  0x00000002 , 0x0000000e , 0x0000003f 
+ 00021956  0x00006ce5 store  0x00000001 , 0x00000053 
+ 00021957  0x00006ce6 jam  0x00000001 , 0x0000007c 
+ 00021958  0x00006ce7 rtn 
+ 00021959  0x00006ce9 fetch  0x00000001 , 0x0000004c 
+ 00021960  0x00006cea set1  0x00000003 , 0x0000003f 
+ 00021961  0x00006ceb store  0x00000001 , 0x0000004c 
+ 00021962  0x00006cec bbit1  0x00000004 , 0x00005755 
+ 00021963  0x00006ced rtn 
+ 00021964  0x00006cef fetch  0x00000001 , 0x000000cf 
+ 00021965  0x00006cf0 store  0x00000001 , 0x0000007d 
+ 00021966  0x00006cf1 jam  0x00000002 , 0x0000007c 
+ 00021967  0x00006cf2 rtn 
+ 00021968  0x00006cf5 branch  0x0000554b 
+ 00021969  0x00006cf8 jam  0x00000030 , 0x0000007c 
+ 00021970  0x00006cf9 rtn 
+ 00021971  0x00006cfc jam  0x00000028 , 0x0000007c 
+ 00021972  0x00006cfd rtn 
+ 00021973  0x00006d00 jam  0x00000026 , 0x0000007c 
+ 00021974  0x00006d01 rtn 
+ 00021975  0x00006d06 rtn 
+ 00021976  0x00006d0b fetch  0x00000002 , 0x00000032 
+ 00021977  0x00006d0c iforce  0x00000002 
+ 00021978  0x00006d0d fetch  0x00000001 , 0x000000d0 
+ 00021979  0x00006d0e store  0x00000001 , 0x00000092 
+ 00021980  0x00006d0f imul32  0x00000002 , 0x00000002 
+ 00021981  0x00006d10 fetch  0x00000002 , 0x000000d1 
+ 00021982  0x00006d11 lshift  0x0000003f , 0x0000003f 
+ 00021983  0x00006d12 store  0x00000002 , 0x00000093 
+ 00021984  0x00006d13 fetch  0x00000004 , 0x000000d3 
+ 00021985  0x00006d14 lshift  0x0000003f , 0x0000003f 
+ 00021986  0x00006d15 store  0x00000004 , 0x0000008e 
+ 00021987  0x00006d17 deposit  0x00000002 
+ 00021988  0x00006d18 store  0x00000002 , 0x00000095 
+ 00021989  0x00006d19 rtn 
+ 00021990  0x00006d1b fetcht  0x00000001 , 0x0000415f 
+ 00021991  0x00006d1c fetch  0x00000001 , 0x000000d0 
+ 00021992  0x00006d1d ixor  0x00000002 , 0x0000003e 
+ 00021993  0x00006d1e nbranch  0x00005466 , 0x00000005 
+ 00021994  0x00006d1f isolate1  0x00000000 , 0x0000003f 
+ 00021995  0x00006d20 fetch  0x00000001 , 0x0000004c 
+ 00021996  0x00006d21 setflag  0x00000001 , 0x00000005 , 0x0000003f 
+ 00021997  0x00006d22 store  0x00000001 , 0x0000004c 
+ 00021998  0x00006d23 jam  0x00000081 , 0x0000007c 
+ 00021999  0x00006d24 jam  0x0000008b , 0x0000007d 
+ 00022000  0x00006d25 rtn 
+ 00022001  0x00006d2c rtn 
+ 00022002  0x00006d2f branch  0x0000554b 
+ 00022003  0x00006d33 branch  0x0000554b 
+ 00022004  0x00006d38 fetch  0x00000002 , 0x000000cf 
+ 00022005  0x00006d39 store  0x00000002 , 0x000000c0 
+ 00022006  0x00006d3a rtn 
+ 00022007  0x00006d3d fetch  0x00000002 , 0x000000d2 
+ 00022008  0x00006d3e fetcht  0x00000001 , 0x00004177 
+ 00022009  0x00006d3f imul32  0x00000002 , 0x0000003f 
+ 00022010  0x00006d40 arg  0x00000640 , 0x00000002 
+ 00022011  0x00006d41 isub  0x00000002 , 0x0000003e 
+ 00022012  0x00006d43 rtn 
+ 00022013  0x00006d46 fetch  0x00000002 , 0x000000d4 
+ 00022014  0x00006d47 branch  0x000056ec , 0x00000034 
+ 00022015  0x00006d48 call  0x000055f7 
+ 00022016  0x00006d49 branch  0x000056ec , 0x00000002 
+ 00022017  0x00006d4a fetch  0x00000001 , 0x0000409a 
+ 00022018  0x00006d4b sub  0x0000003f , 0x0000000a , 0x0000003e 
+ 00022019  0x00006d4c call  0x00003c4c , 0x00000005 
+ 00022020  0x00006d4d fetch  0x00000001 , 0x00000030 
+ 00022021  0x00006d4e bbit1  0x00000001 , 0x000056ec 
+ 00022022  0x00006d4f fetch  0x00000002 , 0x000000d0 
+ 00022023  0x00006d50 lshift  0x0000003f , 0x0000003f 
+ 00022024  0x00006d51 store  0x00000002 , 0x00000075 
+ 00022025  0x00006d52 fetch  0x00000002 , 0x000000d2 
+ 00022026  0x00006d53 lshift  0x0000003f , 0x0000003f 
+ 00022027  0x00006d54 store  0x00000002 , 0x00000032 
+ 00022028  0x00006d55 fetch  0x00000002 , 0x000000d4 
+ 00022029  0x00006d56 store  0x00000001 , 0x00000073 
+ 00022030  0x00006d57 iforce  0x00000002 
+ 00022031  0x00006d58 fetch  0x00000002 , 0x000000d6 
+ 00022032  0x00006d59 store  0x00000001 , 0x00000074 
+ 00022033  0x00006d5a isub  0x00000002 , 0x0000003e 
+ 00022034  0x00006d5b nbranch  0x00005614 , 0x00000002 
+ 00022035  0x00006d5c store  0x00000001 , 0x00000073 
+ 00022036  0x00006d5f jam  0x00000003 , 0x0000007c 
+ 00022037  0x00006d60 jam  0x00000017 , 0x0000007d 
+ 00022038  0x00006d61 rtn 
+ 00022039  0x00006d64 fetch  0x00000001 , 0x00004648 
+ 00022040  0x00006d65 beq  0x00000002 , 0x0000561d 
+ 00022041  0x00006d66 call  0x0000554b 
+ 00022042  0x00006d67 call  0x00005748 
+ 00022043  0x00006d68 call  0x00006ba9 
+ 00022044  0x00006d69 branch  0x00000ee1 
+ 00022045  0x00006d6c call  0x0000554b 
+ 00022046  0x00006d6e call  0x00000ee1 
+ 00022047  0x00006d70 call  0x00007537 
+ 00022048  0x00006d71 arg  0x00000062 , 0x00000005 
+ 00022049  0x00006d72 arg  0x00000910 , 0x00000006 
+ 00022050  0x00006d73 arg  0x00000010 , 0x00000039 
+ 00022051  0x00006d74 branch  0x00007ed9 
+ 00022052  0x00006d77 call  0x0000554b 
+ 00022053  0x00006d78 branch  0x00000eeb 
+ 00022054  0x00006d7c fetch  0x00000004 , 0x000000cf 
+ 00022055  0x00006d7d lshift  0x0000003f , 0x0000003f 
+ 00022056  0x00006d7f branch  0x00005630 , 0x00000029 
+ 00022057  0x00006d80 fetcht  0x00000001 , 0x000041ca 
+ 00022058  0x00006d81 nbranch  0x0000562d , 0x00000034 
+ 00022059  0x00006d83 jam  0x00000013 , 0x0000007d 
+ 00022060  0x00006d84 branch  0x000056ec 
+ 00022061  0x00006d87 jam  0x00000034 , 0x0000007c 
+ 00022062  0x00006d88 jam  0x00000000 , 0x00000055 
+ 00022063  0x00006d89 branch  0x000009db 
+ 00022064  0x00006d8c call  0x000009db 
+ 00022065  0x00006d8d set1  0x00000022 , 0x00000000 
+ 00022066  0x00006d8e fetch  0x00000001 , 0x000000bc 
+ 00022067  0x00006d8f set0  0x00000002 , 0x0000003f 
+ 00022068  0x00006d90 store  0x00000001 , 0x000000bc 
+ 00022069  0x00006d91 branch  0x0000554b 
+ 00022070  0x00006d9a rtn 
+ 00022071  0x00006d9e jam  0x00000003 , 0x0000007c 
+ 00022072  0x00006d9f jam  0x00000018 , 0x0000007d 
+ 00022073  0x00006da0 jam  0x0000002e , 0x0000095b 
+ 00022074  0x00006da1 call  0x000078dc 
+ 00022075  0x00006da2 branch  0x00000f12 
+ 00022076  0x00006da5 jam  0x00000000 , 0x00000879 
+ 00022077  0x00006da6 fetch  0x00000001 , 0x000000cf 
+ 00022078  0x00006da7 store  0x00000001 , 0x00004647 
+ 00022079  0x00006da8 bne  0x00000001 , 0x000056ec 
+ 00022080  0x00006da9 fetcht  0x00000001 , 0x000000d0 
+ 00022081  0x00006daa storet  0x00000001 , 0x00004648 
+ 00022082  0x00006dac fetch  0x00000001 , 0x000046b9 
+ 00022083  0x00006dad branch  0x00005646 , 0x00000034 
+ 00022084  0x00006dae sub  0x00000002 , 0x00000002 , 0x0000003e 
+ 00022085  0x00006daf nbranch  0x0000558e , 0x00000005 
+ 00022086  0x00006db1 fetch  0x00000001 , 0x000000d1 
+ 00022087  0x00006db2 beq  0x00000040 , 0x0000564a 
+ 00022088  0x00006db3 beq  0x00000030 , 0x0000564a 
+ 00022089  0x00006db4 branch  0x000056ec 
+ 00022090  0x00006db7 store  0x00000001 , 0x00004649 
+ 00022091  0x00006db8 call  0x00005a7f 
+ 00022092  0x00006db9 branch  0x0000564e , 0x00000001 
+ 00022093  0x00006dba jam  0x00000001 , 0x00000870 
+ 00022094  0x00006dbc jam  0x00000003 , 0x0000007c 
+ 00022095  0x00006dbd jam  0x0000003d , 0x0000007d 
+ 00022096  0x00006dbe branch  0x000053f1 
+ 00022097  0x00006dc4 jam  0x0000003e , 0x0000007c 
+ 00022098  0x00006dc6 rtn 
+ 00022099  0x00006dc8 fetch  0x00000001 , 0x0000476f 
+ 00022100  0x00006dc9 beq  0x00000001 , 0x0000565a 
+ 00022101  0x00006dca beq  0x00000002 , 0x0000565e 
+ 00022102  0x00006dcc call  0x00005a7f 
+ 00022103  0x00006dcd rtn  0x00000001 
+ 00022104  0x00006dce jam  0x00000008 , 0x00000870 
+ 00022105  0x00006dcf rtn 
+ 00022106  0x00006dd2 call  0x0000735d 
+ 00022107  0x00006dd3 jam  0x00000035 , 0x0000095b 
+ 00022108  0x00006dd4 call  0x000078dc 
+ 00022109  0x00006dd5 branch  0x00005656 
+ 00022110  0x00006dd9 call  0x00005a7f 
+ 00022111  0x00006dda rtn  0x00000001 
+ 00022112  0x00006ddb fetch  0x00000001 , 0x00004770 
+ 00022113  0x00006ddc beq  0x00000013 , 0x0000566e 
+ 00022114  0x00006ddd increase  0x00000001 , 0x0000003f 
+ 00022115  0x00006dde store  0x00000001 , 0x00004770 
+ 00022116  0x00006de2 jam  0x00000001 , 0x00000872 
+ 00022117  0x00006de3 jam  0x00000004 , 0x00000870 
+ 00022118  0x00006de4 fetch  0x00000001 , 0x00004770 
+ 00022119  0x00006de5 copy  0x0000003f , 0x00000007 
+ 00022120  0x00006de6 fetch  0x00000006 , 0x00004797 
+ 00022121  0x00006de7 qisolate1  0x0000003f 
+ 00022122  0x00006de8 setarg  0x00000080 
+ 00022123  0x00006de9 setflag  0x00000001 , 0x00000000 , 0x0000003f 
+ 00022124  0x00006dea store  0x00000001 , 0x00004771 
+ 00022125  0x00006deb rtn 
+ 00022126  0x00006dee jam  0x00000008 , 0x00000870 
+ 00022127  0x00006def rtn 
+ 00022128  0x00006df2 call  0x00005676 
+ 00022129  0x00006df4 fetch  0x00000001 , 0x00004772 
+ 00022130  0x00006df5 rtn  0x00000034 
+ 00022131  0x00006df6 jam  0x00000000 , 0x00004772 
+ 00022132  0x00006df7 jam  0x00000038 , 0x0000095b 
+ 00022133  0x00006df8 branch  0x000078dc 
+ 00022134  0x00006dfc call  0x00005a7f 
+ 00022135  0x00006dfd ncall  0x00007367 , 0x00000001 
+ 00022136  0x00006dfe call  0x00007377 , 0x00000001 
+ 00022137  0x00006dff call  0x00005a7f 
+ 00022138  0x00006e00 rtn  0x00000001 
+ 00022139  0x00006e01 jam  0x0000000c , 0x00000870 
+ 00022140  0x00006e02 jam  0x00000001 , 0x00000872 
+ 00022141  0x00006e03 rtn 
+ 00022142  0x00006e06 arg  0x00000930 , 0x00000005 
+ 00022143  0x00006e07 arg  0x000000cf , 0x00000006 
+ 00022144  0x00006e08 call  0x00007d7f 
+ 00022145  0x00006e09 fetch  0x00000001 , 0x0000476f 
+ 00022146  0x00006e0a rtneq  0x00000002 
+ 00022147  0x00006e0b branch  0x000070d3 
+ 00022148  0x00006e0c rtn 
+ 00022149  0x00006e0f fetch  0x00000001 , 0x00004648 
+ 00022150  0x00006e10 beq  0x00000001 , 0x0000569b 
+ 00022151  0x00006e11 beq  0x00000002 , 0x00005689 
+ 00022152  0x00006e12 branch  0x000056ec 
+ 00022153  0x00006e15 fetch  0x00000001 , 0x00000871 
+ 00022154  0x00006e16 beq  0x00000007 , 0x0000568d 
+ 00022155  0x00006e17 fetch  0x00000001 , 0x00000870 
+ 00022156  0x00006e18 bne  0x00000001 , 0x000056ec 
+ 00022157  0x00006e1a fetch  0x00000001 , 0x00000879 
+ 00022158  0x00006e1b sub  0x0000003f , 0x00000030 , 0x00000005 
+ 00022159  0x00006e1c nbranch  0x000056ec , 0x00000002 
+ 00022160  0x00006e1d arg  0x00000880 , 0x00000005 
+ 00022161  0x00006e1e iadd  0x00000005 , 0x00000005 
+ 00022162  0x00006e1f fetch  0x00000008 , 0x000000cf 
+ 00022163  0x00006e20 istore  0x00000008 , 0x00000005 
+ 00022164  0x00006e21 fetch  0x00000008 , 0x000000d7 
+ 00022165  0x00006e22 istore  0x00000008 , 0x00000005 
+ 00022166  0x00006e23 fetch  0x00000001 , 0x00000879 
+ 00022167  0x00006e24 increase  0x00000010 , 0x0000003f 
+ 00022168  0x00006e25 store  0x00000001 , 0x00000879 
+ 00022169  0x00006e26 bne  0x00000040 , 0x0000554b 
+ 00022170  0x00006e27 branch  0x000056ac 
+ 00022171  0x00006e2a fetch  0x00000001 , 0x00000871 
+ 00022172  0x00006e2b beq  0x00000007 , 0x0000569f 
+ 00022173  0x00006e2c fetch  0x00000001 , 0x00000870 
+ 00022174  0x00006e2d bne  0x00000001 , 0x000056ec 
+ 00022175  0x00006e2f fetch  0x00000001 , 0x00000879 
+ 00022176  0x00006e30 sub  0x0000003f , 0x00000020 , 0x00000005 
+ 00022177  0x00006e31 nbranch  0x000056ec , 0x00000002 
+ 00022178  0x00006e32 arg  0x00000888 , 0x00000005 
+ 00022179  0x00006e33 iadd  0x00000005 , 0x00000005 
+ 00022180  0x00006e34 fetch  0x00000008 , 0x000000cf 
+ 00022181  0x00006e35 istore  0x00000008 , 0x00000005 
+ 00022182  0x00006e36 fetch  0x00000008 , 0x000000d7 
+ 00022183  0x00006e37 istore  0x00000008 , 0x00000005 
+ 00022184  0x00006e38 fetch  0x00000001 , 0x00000879 
+ 00022185  0x00006e39 increase  0x00000010 , 0x0000003f 
+ 00022186  0x00006e3a store  0x00000001 , 0x00000879 
+ 00022187  0x00006e3b bne  0x00000030 , 0x0000554b 
+ 00022188  0x00006e3d call  0x00005a7f 
+ 00022189  0x00006e3e branch  0x0000554b , 0x00000001 
+ 00022190  0x00006e3f jam  0x00000001 , 0x0000087a 
+ 00022191  0x00006e40 jam  0x00000002 , 0x00000870 
+ 00022192  0x00006e41 jam  0x00000001 , 0x00000872 
+ 00022193  0x00006e42 branch  0x0000554b 
+ 00022194  0x00006e46 fetch  0x00000001 , 0x00004648 
+ 00022195  0x00006e47 beq  0x00000001 , 0x000056b6 
+ 00022196  0x00006e48 beq  0x00000002 , 0x000056ba 
+ 00022197  0x00006e49 rtn 
+ 00022198  0x00006e4c fetch  0x00000001 , 0x00000878 
+ 00022199  0x00006e4d beq  0x00000030 , 0x000056be 
+ 00022200  0x00006e4e jam  0x0000003e , 0x0000007c 
+ 00022201  0x00006e4f rtn 
+ 00022202  0x00006e52 fetch  0x00000001 , 0x00000878 
+ 00022203  0x00006e53 beq  0x00000040 , 0x000056be 
+ 00022204  0x00006e54 jam  0x0000003e , 0x0000007c 
+ 00022205  0x00006e55 rtn 
+ 00022206  0x00006e58 call  0x00005a7f 
+ 00022207  0x00006e59 branch  0x000056c7 , 0x00000001 
+ 00022208  0x00006e5a fetch  0x00000001 , 0x0000476f 
+ 00022209  0x00006e5b beq  0x00000002 , 0x000056c5 
+ 00022210  0x00006e5c jam  0x00000001 , 0x00000872 
+ 00022211  0x00006e5d jam  0x00000004 , 0x00000870 
+ 00022212  0x00006e5e branch  0x000053f1 
+ 00022213  0x00006e61 jam  0x00000036 , 0x0000095b 
+ 00022214  0x00006e62 branch  0x000078dc 
+ 00022215  0x00006e67 branch  0x000053f1 
+ 00022216  0x00006e6a fetch  0x00000001 , 0x00000871 
+ 00022217  0x00006e6b beq  0x00000007 , 0x000056cc 
+ 00022218  0x00006e6c fetch  0x00000001 , 0x00000870 
+ 00022219  0x00006e6d bne  0x00000006 , 0x000056ec 
+ 00022220  0x00006e6f arg  0x000008f0 , 0x00000005 
+ 00022221  0x00006e70 fetch  0x00000008 , 0x000000cf 
+ 00022222  0x00006e71 istore  0x00000008 , 0x00000005 
+ 00022223  0x00006e72 fetch  0x00000008 , 0x000000d7 
+ 00022224  0x00006e73 istore  0x00000008 , 0x00000005 
+ 00022225  0x00006e74 call  0x00005a7f 
+ 00022226  0x00006e75 branch  0x000056d6 , 0x00000001 
+ 00022227  0x00006e76 jam  0x00000007 , 0x00000870 
+ 00022228  0x00006e77 jam  0x00000001 , 0x00000872 
+ 00022229  0x00006e78 branch  0x0000554b 
+ 00022230  0x00006e7a jam  0x00000004 , 0x00000871 
+ 00022231  0x00006e7b branch  0x000070d3 
+ 00022232  0x00006e7c branch  0x000056ec 
+ 00022233  0x00006e7f fetch  0x00000001 , 0x00000871 
+ 00022234  0x00006e80 beq  0x0000000b , 0x000056dd 
+ 00022235  0x00006e81 fetch  0x00000001 , 0x00000870 
+ 00022236  0x00006e82 bne  0x00000008 , 0x000056ec 
+ 00022237  0x00006e84 arg  0x00000920 , 0x00000005 
+ 00022238  0x00006e85 arg  0x000000cf , 0x00000006 
+ 00022239  0x00006e86 call  0x00007d7f 
+ 00022240  0x00006e87 call  0x00005a7f 
+ 00022241  0x00006e88 branch  0x000056e9 , 0x00000001 
+ 00022242  0x00006e89 fetch  0x00000001 , 0x0000476f 
+ 00022243  0x00006e8a beq  0x00000001 , 0x000056ee 
+ 00022244  0x00006e8c jam  0x00000000 , 0x0000476e 
+ 00022245  0x00006e8d jam  0x00000009 , 0x00000870 
+ 00022246  0x00006e8e jam  0x00000001 , 0x00000872 
+ 00022247  0x00006e8f jam  0x00000041 , 0x0000007d 
+ 00022248  0x00006e90 branch  0x000053f1 
+ 00022249  0x00006e93 jam  0x00000009 , 0x00000871 
+ 00022250  0x00006e94 jam  0x00000001 , 0x00000873 
+ 00022251  0x00006e95 branch  0x000053f1 
+ 00022252  0x00006e98 jam  0x00000024 , 0x0000007e 
+ 00022253  0x00006e99 branch  0x0000543f 
+ 00022254  0x00006e9c fetch  0x00000001 , 0x0000476e 
+ 00022255  0x00006e9d bbit1  0x00000007 , 0x000056f3 
+ 00022256  0x00006e9e set1  0x00000006 , 0x0000003f 
+ 00022257  0x00006e9f store  0x00000001 , 0x0000476e 
+ 00022258  0x00006ea0 rtn 
+ 00022259  0x00006ea3 bbit1  0x00000000 , 0x000056e4 
+ 00022260  0x00006ea4 jam  0x00000000 , 0x0000476e 
+ 00022261  0x00006ea5 branch  0x000056ec 
+ 00022262  0x00006ea9 branch  0x000053f1 
+ 00022263  0x00006eac fetch  0x00000001 , 0x000000bc 
+ 00022264  0x00006ead set0  0x00000001 , 0x0000003f 
+ 00022265  0x00006eae store  0x00000001 , 0x000000bc 
+ 00022266  0x00006eaf call  0x0000554b 
+ 00022267  0x00006eb0 nrtn  0x00000029 
+ 00022268  0x00006eb1 fetch  0x00000001 , 0x000000cf 
+ 00022269  0x00006eb2 fetcht  0x00000001 , 0x0000004b 
+ 00022270  0x00006eb3 setflag  0x00000034 , 0x00000004 , 0x00000002 
+ 00022271  0x00006eb4 nsetflag  0x00000034 , 0x00000005 , 0x00000002 
+ 00022272  0x00006eb5 storet  0x00000001 , 0x0000004b 
+ 00022273  0x00006eb6 rtn 
+ 00022274  0x00006eb9 fetcht  0x00000008 , 0x000000cf 
+ 00022275  0x00006ebb fetch  0x00000001 , 0x00000055 
+ 00022276  0x00006ebc rtnne  0x00000003 
+ 00022277  0x00006ebe fetch  0x00000001 , 0x000000bc 
+ 00022278  0x00006ebf bbit0  0x00000004 , 0x00005709 
+ 00022279  0x00006ec1 jam  0x00000014 , 0x00000055 
+ 00022280  0x00006ec2 rtn 
+ 00022281  0x00006ec4 jam  0x00000004 , 0x00000055 
+ 00022282  0x00006ec5 rtn 
+ 00022283  0x00006ec7 fetch  0x00000001 , 0x000000e3 
+ 00022284  0x00006ec8 store  0x00000001 , 0x00000a5b 
+ 00022285  0x00006ec9 jam  0x00000003 , 0x0000007c 
+ 00022286  0x00006eca jam  0x00000038 , 0x0000007d 
+ 00022287  0x00006ecb rtn 
+ 00022288  0x00006ecf jam  0x00000003 , 0x0000007c 
+ 00022289  0x00006ed0 jam  0x00000039 , 0x0000007d 
+ 00022290  0x00006ed1 force  0x00000009 , 0x00000039 
+ 00022291  0x00006ed2 arg  0x000000cf , 0x00000006 
+ 00022292  0x00006ed3 arg  0x00000a52 , 0x00000005 
+ 00022293  0x00006ed5 ifetch  0x00000001 , 0x00000006 
+ 00022294  0x00006ed6 xor_into  0x00000055 , 0x0000003f 
+ 00022295  0x00006ed7 istore  0x00000001 , 0x00000005 
+ 00022296  0x00006ed8 loop  0x00005715 
+ 00022297  0x00006ed9 fetch  0x00000001 , 0x00000a52 
+ 00022298  0x00006eda fetcht  0x00000001 , 0x00000a51 
+ 00022299  0x00006edb set0  0x00000007 , 0x00000002 
+ 00022300  0x00006edc set0  0x00000004 , 0x00000002 
+ 00022301  0x00006edd beq  0x000000ff , 0x00005729 
+ 00022302  0x00006ede beq  0x00000000 , 0x00005742 
+ 00022303  0x00006edf beq  0x00000005 , 0x00005736 
+ 00022304  0x00006ee0 beq  0x00000007 , 0x00005735 
+ 00022305  0x00006ee1 beq  0x00000006 , 0x00005736 
+ 00022306  0x00006ee2 beq  0x00000008 , 0x00005735 
+ 00022307  0x00006ee3 beq  0x00000001 , 0x0000572e 
+ 00022308  0x00006ee4 beq  0x00000002 , 0x0000572e 
+ 00022309  0x00006ee5 beq  0x00000003 , 0x0000572e 
+ 00022310  0x00006ee6 beq  0x00000009 , 0x0000572e 
+ 00022311  0x00006ee7 beq  0x00000004 , 0x0000572e 
+ 00022312  0x00006ee8 rtn 
+ 00022313  0x00006eeb fetch  0x00000001 , 0x00000a51 
+ 00022314  0x00006eec set1  0x00000003 , 0x0000003f 
+ 00022315  0x00006eed set1  0x00000002 , 0x0000003f 
+ 00022316  0x00006eee store  0x00000001 , 0x00000a51 
+ 00022317  0x00006eef rtn 
+ 00022318  0x00006ef1 set1  0x00000004 , 0x00000002 
+ 00022319  0x00006ef2 jam  0x00000005 , 0x000000e4 
+ 00022320  0x00006ef3 fetch  0x00000002 , 0x00000a59 
+ 00022321  0x00006ef4 iforce  0x00000039 
+ 00022322  0x00006ef5 store  0x00000002 , 0x000000ae 
+ 00022323  0x00006ef6 arg  0x000000ce , 0x00000005 
+ 00022324  0x00006ef7 call  0x00007e48 
+ 00022325  0x00006ef9 set1  0x00000007 , 0x00000002 
+ 00022326  0x00006efb set1  0x00000002 , 0x00000002 
+ 00022327  0x00006efc force  0x00000000 , 0x0000003f 
+ 00022328  0x00006efd store  0x00000001 , 0x0000000b 
+ 00022329  0x00006efe store  0x00000002 , 0x000009fa 
+ 00022330  0x00006eff store  0x00000002 , 0x000009fc 
+ 00022331  0x00006f00 store  0x00000002 , 0x000009f8 
+ 00022332  0x00006f01 store  0x00000002 , 0x000009f6 
+ 00022333  0x00006f02 fetch  0x00000001 , 0x00000a53 
+ 00022334  0x00006f03 compare  0x00000000 , 0x0000003f , 0x000000ff 
+ 00022335  0x00006f04 setflag  0x00000001 , 0x00000006 , 0x00000002 
+ 00022336  0x00006f05 storet  0x00000001 , 0x00000a51 
+ 00022337  0x00006f06 rtn 
+ 00022338  0x00006f09 set0  0x00000011 , 0x00000000 
+ 00022339  0x00006f0a jam  0x00000000 , 0x00000a51 
+ 00022340  0x00006f0b fetch  0x00000001 , 0x000000e3 
+ 00022341  0x00006f0c set0  0x00000006 , 0x0000003f 
+ 00022342  0x00006f0d store  0x00000001 , 0x000000e3 
+ 00022343  0x00006f0e rtn 
+ 00022344  0x00006f15 arg  0x000000cf , 0x00000006 
+ 00022345  0x00006f16 arg  0x00000424 , 0x00000005 
+ 00022346  0x00006f17 branch  0x00007d7f 
+ 00022347  0x00006f1a jam  0x00000009 , 0x0000007c 
+ 00022348  0x00006f1b rtn 
+ 00022349  0x00006f1e nrtn  0x00000029 
+ 00022350  0x00006f1f jam  0x00000011 , 0x0000007c 
+ 00022351  0x00006f20 rtn 
+ 00022352  0x00006f23 arg  0x000040a8 , 0x00000011 
+ 00022353  0x00006f24 call  0x00006b73 
+ 00022354  0x00006f25 jam  0x00000003 , 0x0000007c 
+ 00022355  0x00006f26 jam  0x00000008 , 0x0000007d 
+ 00022356  0x00006f27 rtn 
+ 00022357  0x00006f2a jam  0x0000000a , 0x00000072 
+ 00022358  0x00006f2b jam  0x00000007 , 0x0000007c 
+ 00022359  0x00006f2c jam  0x00000016 , 0x0000039e 
+ 00022360  0x00006f2d rtn 
+ 00022361  0x00006f34 bpatchx  0x00000019 , 0x00004023 
+ 00022362  0x00006f35 disable  0x00000028 
+ 00022363  0x00006f36 call  0x00005a44 
+ 00022364  0x00006f37 fetch  0x00000001 , 0x00000048 
+ 00022365  0x00006f38 rtn  0x00000034 
+ 00022366  0x00006f3d bbit1  0x00000007 , 0x0000578e 
+ 00022367  0x00006f3f beq  0x00000001 , 0x000058d8 
+ 00022368  0x00006f40 beq  0x00000002 , 0x00005859 
+ 00022369  0x00006f41 beq  0x00000003 , 0x0000579a 
+ 00022370  0x00006f42 beq  0x00000004 , 0x000057b0 
+ 00022371  0x00006f43 beq  0x00000027 , 0x00005944 
+ 00022372  0x00006f44 beq  0x00000028 , 0x0000587d 
+ 00022373  0x00006f45 beq  0x00000030 , 0x00005869 
+ 00022374  0x00006f46 beq  0x00000025 , 0x0000593f 
+ 00022375  0x00006f47 beq  0x00000026 , 0x00005878 
+ 00022376  0x00006f48 beq  0x00000031 , 0x0000592c 
+ 00022377  0x00006f49 beq  0x00000037 , 0x000058d3 
+ 00022378  0x00006f4a beq  0x00000033 , 0x000058c5 
+ 00022379  0x00006f4b beq  0x00000008 , 0x000059c6 
+ 00022380  0x00006f4c beq  0x00000009 , 0x000059bc 
+ 00022381  0x00006f4d beq  0x0000000b , 0x000059d1 
+ 00022382  0x00006f4e beq  0x0000000c , 0x000059de 
+ 00022383  0x00006f4f beq  0x0000000f , 0x000058cb 
+ 00022384  0x00006f50 beq  0x00000010 , 0x00005a14 
+ 00022385  0x00006f51 beq  0x00000011 , 0x00005a0a 
+ 00022386  0x00006f52 beq  0x00000007 , 0x000058bb 
+ 00022387  0x00006f53 beq  0x0000002a , 0x000058e7 
+ 00022388  0x00006f54 beq  0x0000000a , 0x000058e8 
+ 00022389  0x00006f56 beq  0x0000001f , 0x00005925 
+ 00022390  0x00006f57 beq  0x00000006 , 0x0000586e 
+ 00022391  0x00006f58 beq  0x00000021 , 0x000058c8 
+ 00022392  0x00006f59 beq  0x0000002d , 0x0000591b 
+ 00022393  0x00006f5a beq  0x0000002e , 0x00005920 
+ 00022394  0x00006f5b beq  0x00000022 , 0x000058c8 
+ 00022395  0x00006f5c beq  0x00000034 , 0x000058e9 
+ 00022396  0x00006f5d beq  0x00000013 , 0x000058fe 
+ 00022397  0x00006f5e beq  0x00000017 , 0x0000590d 
+ 00022398  0x00006f5f beq  0x00000012 , 0x00005a11 
+ 00022399  0x00006f60 beq  0x0000002f , 0x00005913 
+ 00022400  0x00006f61 beq  0x00000018 , 0x00005918 
+ 00022401  0x00006f62 beq  0x0000003d , 0x00005967 
+ 00022402  0x00006f63 beq  0x0000003e , 0x0000596f 
+ 00022403  0x00006f64 beq  0x0000003f , 0x0000598a 
+ 00022404  0x00006f65 beq  0x00000040 , 0x00005994 
+ 00022405  0x00006f66 beq  0x00000041 , 0x000059a9 
+ 00022406  0x00006f67 beq  0x00000023 , 0x000059b8 
+ 00022407  0x00006f68 beq  0x0000003b , 0x000059b3 
+ 00022408  0x00006f6a beq  0x00000005 , 0x000059b9 
+ 00022409  0x00006f6b beq  0x00000029 , 0x000059ba 
+ 00022410  0x00006f6c beq  0x00000038 , 0x000059bb 
+ 00022411  0x00006f6d beq  0x00000039 , 0x000058de 
+ 00022412  0x00006f6f branch  0x0000137c 
+ 00022413  0x00006f70 rtn 
+ 00022414  0x00006f72 beq  0x00000081 , 0x000057bd 
+ 00022415  0x00006f73 beq  0x00000083 , 0x00005882 
+ 00022416  0x00006f74 beq  0x00000084 , 0x000057ec 
+ 00022417  0x00006f75 beq  0x00000082 , 0x000057c6 
+ 00022418  0x00006f76 beq  0x0000008b , 0x0000588f 
+ 00022419  0x00006f77 beq  0x00000097 , 0x000058b7 
+ 00022420  0x00006f78 beq  0x00000099 , 0x0000584a 
+ 00022421  0x00006f79 beq  0x0000009a , 0x00005819 
+ 00022422  0x00006f7a beq  0x00000095 , 0x0000584f 
+ 00022423  0x00006f7b beq  0x00000096 , 0x00005850 
+ 00022424  0x00006f7c beq  0x000000a2 , 0x000057e9 
+ 00022425  0x00006f7d branch  0x0000137c 
+ 00022426  0x00006f84 force  0x00000002 , 0x0000003f 
+ 00022427  0x00006f85 call  0x00005a1a 
+ 00022428  0x00006f86 fetch  0x00000001 , 0x00000049 
+ 00022429  0x00006f87 istore  0x00000001 , 0x00000005 
+ 00022430  0x00006f88 call  0x00005a29 
+ 00022431  0x00006f89 bpatchx  0x0000001a , 0x00004023 
+ 00022432  0x00006f8a fetch  0x00000001 , 0x00000049 
+ 00022433  0x00006f8b beq  0x00000008 , 0x000057d0 
+ 00022434  0x00006f8c beq  0x0000000f , 0x000057d4 
+ 00022435  0x00006f8d beq  0x00000010 , 0x000057df 
+ 00022436  0x00006f8e beq  0x00000017 , 0x000057af 
+ 00022437  0x00006f8f beq  0x00000033 , 0x000057e2 
+ 00022438  0x00006f90 beq  0x00000041 , 0x000057e8 
+ 00022439  0x00006f91 beq  0x00000011 , 0x000057a9 
+ 00022440  0x00006f92 rtn 
+ 00022441  0x00006f95 fetch  0x00000001 , 0x00000055 
+ 00022442  0x00006f96 rtn  0x00000034 
+ 00022443  0x00006f97 jam  0x0000001b , 0x00000055 
+ 00022444  0x00006f98 setarg  0x0000000c 
+ 00022445  0x00006f99 arg  0x00000007 , 0x00000007 
+ 00022446  0x00006f9a branch  0x00007ddb 
+ 00022447  0x00006f9d branch  0x00000ef1 
+ 00022448  0x00006f9f force  0x00000003 , 0x0000003f 
+ 00022449  0x00006fa0 call  0x00005a1a 
+ 00022450  0x00006fa1 fetch  0x00000001 , 0x00000049 
+ 00022451  0x00006fa2 beq  0x0000000b , 0x000057b8 
+ 00022452  0x00006fa3 istore  0x00000001 , 0x00000005 
+ 00022453  0x00006fa4 fetch  0x00000001 , 0x0000004a 
+ 00022454  0x00006fa5 istore  0x00000001 , 0x00000005 
+ 00022455  0x00006fa6 branch  0x00005a29 
+ 00022456  0x00006fa9 istore  0x00000001 , 0x00000005 
+ 00022457  0x00006faa fetch  0x00000001 , 0x0000004a 
+ 00022458  0x00006fab istore  0x00000001 , 0x00000005 
+ 00022459  0x00006fac arg  0x000003a9 , 0x00000002 
+ 00022460  0x00006fad branch  0x00005a65 
+ 00022461  0x00006fb0 force  0x00000004 , 0x00000007 
+ 00022462  0x00006fb1 call  0x00005a22 
+ 00022463  0x00006fb2 setarg  0x0000007f 
+ 00022464  0x00006fb3 istore  0x00000001 , 0x00000005 
+ 00022465  0x00006fb4 fetch  0x00000001 , 0x00000049 
+ 00022466  0x00006fb5 set0  0x00000007 , 0x0000003f 
+ 00022467  0x00006fb6 istore  0x00000001 , 0x00000005 
+ 00022468  0x00006fb7 fetch  0x00000001 , 0x00000049 
+ 00022469  0x00006fb8 branch  0x00005a29 
+ 00022470  0x00006fbb force  0x00000005 , 0x00000007 
+ 00022471  0x00006fbc call  0x00005a22 
+ 00022472  0x00006fbd setarg  0x0000007f 
+ 00022473  0x00006fbe istore  0x00000001 , 0x00000005 
+ 00022474  0x00006fbf fetch  0x00000001 , 0x00000049 
+ 00022475  0x00006fc0 set0  0x00000007 , 0x0000003f 
+ 00022476  0x00006fc1 istore  0x00000001 , 0x00000005 
+ 00022477  0x00006fc2 fetch  0x00000001 , 0x0000004a 
+ 00022478  0x00006fc3 istore  0x00000001 , 0x00000005 
+ 00022479  0x00006fc4 branch  0x00005a29 
+ 00022480  0x00006fc8 call  0x00000c5c 
+ 00022481  0x00006fc9 call  0x00005a76 
+ 00022482  0x00006fca rtn  0x00000001 
+ 00022483  0x00006fcb branch  0x0000574b 
+ 00022484  0x00006fce fetch  0x00000001 , 0x0000004b 
+ 00022485  0x00006fcf bbit1  0x00000005 , 0x000057db 
+ 00022486  0x00006fd0 rtnbit0  0x00000004 
+ 00022487  0x00006fd1 jam  0x00000012 , 0x0000007c 
+ 00022488  0x00006fd2 set0  0x00000004 , 0x0000003f 
+ 00022489  0x00006fd3 call  0x00005a6e 
+ 00022490  0x00006fd4 branch  0x000057dd 
+ 00022491  0x00006fd6 jam  0x00000010 , 0x0000007c 
+ 00022492  0x00006fd7 set0  0x00000005 , 0x0000003f 
+ 00022493  0x00006fd9 store  0x00000001 , 0x0000004b 
+ 00022494  0x00006fda rtn 
+ 00022495  0x00006fdd call  0x00005a7f 
+ 00022496  0x00006fde branch  0x0000574d , 0x00000001 
+ 00022497  0x00006fdf rtn 
+ 00022498  0x00006fe2 jam  0x0000008b , 0x0000007c 
+ 00022499  0x00006fe4 fetch  0x00000001 , 0x000003a5 
+ 00022500  0x00006fe5 set1  0x00000000 , 0x0000003f 
+ 00022501  0x00006fe6 store  0x00000001 , 0x000003a5 
+ 00022502  0x00006fe7 jam  0x00000001 , 0x0000095b 
+ 00022503  0x00006fe8 branch  0x000078dc 
+ 00022504  0x00006fec rtn 
+ 00022505  0x00006ff2 force  0x00000002 , 0x00000007 
+ 00022506  0x00006ff3 call  0x00005a22 
+ 00022507  0x00006ff4 branch  0x00005a32 
+ 00022508  0x00006ff7 copy  0x0000003f , 0x00000011 
+ 00022509  0x00006ff8 call  0x00005802 
+ 00022510  0x00006ff9 fetch  0x00000001 , 0x000003a1 
+ 00022511  0x00006ffa beq  0x00000001 , 0x000057f2 
+ 00022512  0x00006ffb beq  0x00000002 , 0x000057fa 
+ 00022513  0x00006ffc rtn 
+ 00022514  0x00006fff copy  0x00000011 , 0x0000003f 
+ 00022515  0x00007000 force  0x0000000c , 0x00000007 
+ 00022516  0x00007001 call  0x00005a22 
+ 00022517  0x00007002 setarg  0x00000001 
+ 00022518  0x00007003 istore  0x00000001 , 0x00000005 
+ 00022519  0x00007004 fetch  0x00000002 , 0x000003a2 
+ 00022520  0x00007005 istore  0x00000009 , 0x00000005 
+ 00022521  0x00007006 branch  0x00005a32 
+ 00022522  0x00007009 copy  0x00000011 , 0x0000003f 
+ 00022523  0x0000700a force  0x0000000c , 0x00000007 
+ 00022524  0x0000700b call  0x00005a22 
+ 00022525  0x0000700c setarg  0x00000002 
+ 00022526  0x0000700d istore  0x00000001 , 0x00000005 
+ 00022527  0x0000700e setarg  0x00010002 
+ 00022528  0x0000700f istore  0x00000009 , 0x00000005 
+ 00022529  0x00007010 branch  0x00005a32 
+ 00022530  0x00007013 fetch  0x00000001 , 0x00004767 
+ 00022531  0x00007014 branch  0x00005806 , 0x00000034 
+ 00022532  0x00007015 call  0x0000580c 
+ 00022533  0x00007016 branch  0x00005813 
+ 00022534  0x00007019 fetch  0x00000001 , 0x000040a6 
+ 00022535  0x0000701a set0  0x00000003 , 0x0000003f 
+ 00022536  0x0000701b store  0x00000001 , 0x000040a6 
+ 00022537  0x0000701c setarg  0x00000001 
+ 00022538  0x0000701d store  0x00000002 , 0x000003a2 
+ 00022539  0x0000701e branch  0x00006f37 
+ 00022540  0x00007022 bpatchx  0x0000001b , 0x00004023 
+ 00022541  0x00007023 fetch  0x00000001 , 0x000040a6 
+ 00022542  0x00007024 set1  0x00000003 , 0x0000003f 
+ 00022543  0x00007025 store  0x00000001 , 0x000040a6 
+ 00022544  0x00007026 setarg  0x00000101 
+ 00022545  0x00007027 store  0x00000002 , 0x000003a2 
+ 00022546  0x00007028 rtn 
+ 00022547  0x0000702b fetch  0x00000001 , 0x000046bb 
+ 00022548  0x0000702c bbit1  0x00000001 , 0x00005816 
+ 00022549  0x0000702d rtn 
+ 00022550  0x00007030 setarg  0x00000902 
+ 00022551  0x00007031 store  0x00000002 , 0x000003a2 
+ 00022552  0x00007032 rtn 
+ 00022553  0x00007035 force  0x00000005 , 0x00000007 
+ 00022554  0x00007036 call  0x00005a22 
+ 00022555  0x00007037 fetch  0x00000003 , 0x00004768 
+ 00022556  0x00007038 istore  0x00000003 , 0x00000005 
+ 00022557  0x00007039 call  0x00005a32 
+ 00022558  0x0000703a jam  0x00000001 , 0x00004772 
+ 00022559  0x0000703b fetch  0x00000001 , 0x00004768 
+ 00022560  0x0000703c beq  0x00000001 , 0x0000582a 
+ 00022561  0x0000703d beq  0x00000002 , 0x00005824 
+ 00022562  0x0000703e beq  0x00000003 , 0x00005830 
+ 00022563  0x0000703f rtn 
+ 00022564  0x00007042 fetch  0x00000001 , 0x0000476b 
+ 00022565  0x00007043 beq  0x00000000 , 0x0000583c 
+ 00022566  0x00007044 beq  0x00000001 , 0x0000583c 
+ 00022567  0x00007045 beq  0x00000002 , 0x0000583c 
+ 00022568  0x00007046 beq  0x00000003 , 0x00005836 
+ 00022569  0x00007047 rtn 
+ 00022570  0x0000704b fetch  0x00000001 , 0x0000476b 
+ 00022571  0x0000704c beq  0x00000000 , 0x00005836 
+ 00022572  0x0000704d beq  0x00000001 , 0x0000583a 
+ 00022573  0x0000704e beq  0x00000002 , 0x0000583c 
+ 00022574  0x0000704f beq  0x00000003 , 0x00005836 
+ 00022575  0x00007050 rtn 
+ 00022576  0x00007054 fetch  0x00000001 , 0x0000476b 
+ 00022577  0x00007055 beq  0x00000000 , 0x00005836 
+ 00022578  0x00007056 beq  0x00000001 , 0x00005836 
+ 00022579  0x00007057 beq  0x00000002 , 0x00005836 
+ 00022580  0x00007058 beq  0x00000003 , 0x00005836 
+ 00022581  0x00007059 rtn 
+ 00022582  0x00007063 jam  0x00000003 , 0x0000476f 
+ 00022583  0x00007064 fetch  0x00000001 , 0x00004646 
+ 00022584  0x00007065 bbit1  0x00000000 , 0x00003268 
+ 00022585  0x00007066 rtn 
+ 00022586  0x0000706a jam  0x00000001 , 0x0000476f 
+ 00022587  0x0000706b rtn 
+ 00022588  0x00007072 jam  0x00000002 , 0x0000476f 
+ 00022589  0x00007073 rtn 
+ 00022590  0x00007077 arg  0x00000000 , 0x00000007 
+ 00022591  0x00007078 branch  0x00005842 
+ 00022592  0x0000707b arg  0x00000000 , 0x00000007 
+ 00022593  0x0000707c branch  0x00005846 
+ 00022594  0x0000707f fetch  0x00000001 , 0x00004646 
+ 00022595  0x00007080 qset1  0x0000003f 
+ 00022596  0x00007081 store  0x00000001 , 0x00004646 
+ 00022597  0x00007082 rtn 
+ 00022598  0x00007085 fetch  0x00000001 , 0x00004646 
+ 00022599  0x00007086 qset0  0x0000003f 
+ 00022600  0x00007087 store  0x00000001 , 0x00004646 
+ 00022601  0x00007088 rtn 
+ 00022602  0x0000708c force  0x00000005 , 0x00000007 
+ 00022603  0x0000708d call  0x00005a22 
+ 00022604  0x0000708e fetch  0x00000003 , 0x00004768 
+ 00022605  0x0000708f istore  0x00000003 , 0x00000005 
+ 00022606  0x00007090 branch  0x00005a34 
+ 00022607  0x00007095 rtn 
+ 00022608  0x00007097 force  0x00000009 , 0x00000007 
+ 00022609  0x00007098 call  0x00005a22 
+ 00022610  0x00007099 fetch  0x00000001 , 0x00000092 
+ 00022611  0x0000709a istore  0x00000001 , 0x00000005 
+ 00022612  0x0000709b fetch  0x00000002 , 0x00000093 
+ 00022613  0x0000709c istore  0x00000002 , 0x00000005 
+ 00022614  0x0000709d fetch  0x00000004 , 0x0000008e 
+ 00022615  0x0000709e istore  0x00000004 , 0x00000005 
+ 00022616  0x0000709f branch  0x00005a32 
+ 00022617  0x000070a2 force  0x00000011 , 0x0000003f 
+ 00022618  0x000070a3 call  0x00005a1a 
+ 00022619  0x000070a4 fetch  0x00000001 , 0x00000049 
+ 00022620  0x000070a5 copy  0x0000003f , 0x00000002 
+ 00022621  0x000070a6 beq  0x00000000 , 0x00005861 
+ 00022622  0x000070a7 beq  0x0000000e , 0x00005861 
+ 00022623  0x000070a8 beq  0x0000001c , 0x00005861 
+ 00022624  0x000070a9 rtn 
+ 00022625  0x000070ab istore  0x00000001 , 0x00000005 
+ 00022626  0x000070ac fetch  0x00000001 , 0x000045ff 
+ 00022627  0x000070ad istore  0x00000001 , 0x00000005 
+ 00022628  0x000070ae arg  0x0000000e , 0x00000039 
+ 00022629  0x000070af setarg  0x00004600 
+ 00022630  0x000070b0 iadd  0x00000002 , 0x00000006 
+ 00022631  0x000070b1 call  0x00007dd4 
+ 00022632  0x000070b2 branch  0x00005a32 
+ 00022633  0x000070b6 force  0x00000003 , 0x0000003f 
+ 00022634  0x000070b7 call  0x00005a1a 
+ 00022635  0x000070b8 setarg  0x00000114 
+ 00022636  0x000070b9 istore  0x00000002 , 0x00000005 
+ 00022637  0x000070ba branch  0x00005a32 
+ 00022638  0x000070be force  0x00000003 , 0x0000003f 
+ 00022639  0x000070bf call  0x00005a1a 
+ 00022640  0x000070c0 fetch  0x00000004 , 0x000000b4 
+ 00022641  0x000070c1 isub  0x00000022 , 0x0000003f 
+ 00022642  0x000070c2 branch  0x00005874 , 0x00000029 
+ 00022643  0x000070c3 sub  0x0000003f , 0x00000000 , 0x0000003f 
+ 00022644  0x000070c6 rshift2  0x0000003f , 0x0000003f 
+ 00022645  0x000070c7 set0  0x0000000f , 0x0000003f 
+ 00022646  0x000070c8 istore  0x00000002 , 0x00000005 
+ 00022647  0x000070c9 branch  0x00005a32 
+ 00022648  0x000070cc force  0x00000006 , 0x0000003f 
+ 00022649  0x000070cd call  0x00005a1a 
+ 00022650  0x000070ce fetch  0x00000005 , 0x000045fa 
+ 00022651  0x000070cf istore  0x00000005 , 0x00000005 
+ 00022652  0x000070d0 branch  0x00005a32 
+ 00022653  0x000070d3 force  0x00000009 , 0x0000003f 
+ 00022654  0x000070d4 call  0x00005a1a 
+ 00022655  0x000070d5 fetch  0x00000008 , 0x000040a0 
+ 00022656  0x000070d6 istore  0x00000008 , 0x00000005 
+ 00022657  0x000070d7 branch  0x00005a32 
+ 00022658  0x000070df call  0x00005802 
+ 00022659  0x000070e0 fetch  0x00000001 , 0x00000048 
+ 00022660  0x000070e1 force  0x0000000c , 0x00000007 
+ 00022661  0x000070e2 call  0x00005a22 
+ 00022662  0x000070e3 setarg  0x00000001 
+ 00022663  0x000070e4 istore  0x00000001 , 0x00000005 
+ 00022664  0x000070e5 fetch  0x00000002 , 0x000003a2 
+ 00022665  0x000070e6 istore  0x00000002 , 0x00000005 
+ 00022666  0x000070e7 setarg  0x00000000 
+ 00022667  0x000070e8 istore  0x00000003 , 0x00000005 
+ 00022668  0x000070e9 setarg  0x00000000 
+ 00022669  0x000070ea istore  0x00000004 , 0x00000005 
+ 00022670  0x000070eb branch  0x00005a34 
+ 00022671  0x000070ee force  0x00000003 , 0x00000007 
+ 00022672  0x000070ef call  0x00005a22 
+ 00022673  0x000070f0 fetch  0x00000001 , 0x0000415f 
+ 00022674  0x000070f1 istore  0x00000001 , 0x00000005 
+ 00022675  0x000070f2 disable  0x00000028 
+ 00022676  0x000070f3 call  0x00005a34 
+ 00022677  0x000070f4 nrtn  0x00000028 
+ 00022678  0x000070f5 nrtn  0x00000029 
+ 00022679  0x000070f6 fetch  0x00000001 , 0x000040df 
+ 00022680  0x000070f7 rtnbit0  0x00000000 
+ 00022681  0x000070f8 call  0x0000589b 
+ 00022682  0x000070f9 branch  0x000058a5 
+ 00022683  0x000070fd jam  0x00000003 , 0x000040df 
+ 00022684  0x000070fe setarg  0x00000000 
+ 00022685  0x000070ff store  0x00000004 , 0x00004149 
+ 00022686  0x00007100 arg  0x000040e1 , 0x00000005 
+ 00022687  0x00007101 call  0x000058a9 
+ 00022688  0x00007102 arg  0x000040ee , 0x00000005 
+ 00022689  0x00007103 call  0x000058a9 
+ 00022690  0x00007104 arg  0x0000414d , 0x00000005 
+ 00022691  0x00007105 call  0x000058a9 
+ 00022692  0x00007106 branch  0x000058b0 
+ 00022693  0x00007108 arg  0x000040ee , 0x00000005 
+ 00022694  0x00007109 call  0x000058a9 
+ 00022695  0x0000710a call  0x000058b0 
+ 00022696  0x0000710b branch  0x000058b3 
+ 00022697  0x0000710f setarg  0x00ffffff 
+ 00022698  0x00007110 istore  0x00000003 , 0x00000005 
+ 00022699  0x00007111 istore  0x00000003 , 0x00000005 
+ 00022700  0x00007112 istore  0x00000003 , 0x00000005 
+ 00022701  0x00007113 setarg  0x0000007f 
+ 00022702  0x00007114 istore  0x00000001 , 0x00000005 
+ 00022703  0x00007115 rtn 
+ 00022704  0x00007117 setarg  0x00000000 
+ 00022705  0x00007118 store  0x00000002 , 0x000040dd 
+ 00022706  0x00007119 rtn 
+ 00022707  0x0000711b fetch  0x00000001 , 0x000040df 
+ 00022708  0x0000711c set1  0x00000002 , 0x0000003f 
+ 00022709  0x0000711d store  0x00000001 , 0x000040df 
+ 00022710  0x0000711e rtn 
+ 00022711  0x00007122 force  0x00000002 , 0x00000007 
+ 00022712  0x00007123 call  0x00005a22 
+ 00022713  0x00007124 nbranch  0x00005a32 , 0x00000029 
+ 00022714  0x00007126 branch  0x00005a34 
+ 00022715  0x0000712b force  0x00000002 , 0x0000003f 
+ 00022716  0x0000712c call  0x00005a1a 
+ 00022717  0x0000712d fetch  0x00000001 , 0x0000039e 
+ 00022718  0x0000712e istore  0x00000001 , 0x00000005 
+ 00022719  0x0000712f call  0x00005a34 
+ 00022720  0x00007131 fetch  0x00000001 , 0x0000004b 
+ 00022721  0x00007132 set1  0x00000003 , 0x0000003f 
+ 00022722  0x00007133 store  0x00000001 , 0x0000004b 
+ 00022723  0x00007134 jam  0x00000032 , 0x00000072 
+ 00022724  0x00007135 rtn 
+ 00022725  0x00007139 force  0x00000001 , 0x0000003f 
+ 00022726  0x0000713a call  0x00005a1a 
+ 00022727  0x0000713b branch  0x00005a34 
+ 00022728  0x0000713d force  0x00000001 , 0x0000003f 
+ 00022729  0x0000713e call  0x00005a1a 
+ 00022730  0x0000713f branch  0x00005a32 
+ 00022731  0x00007143 force  0x00000002 , 0x0000003f 
+ 00022732  0x00007144 call  0x00005a1a 
+ 00022733  0x00007145 fetch  0x00000001 , 0x0000004c 
+ 00022734  0x00007146 isolate0  0x00000002 , 0x0000003f 
+ 00022735  0x00007147 setflag  0x00000001 , 0x00000000 , 0x0000003f 
+ 00022736  0x00007148 and_into  0x00000001 , 0x0000003f 
+ 00022737  0x00007149 istore  0x00000001 , 0x00000005 
+ 00022738  0x0000714a branch  0x00005a34 
+ 00022739  0x0000714e force  0x00000003 , 0x0000003f 
+ 00022740  0x0000714f call  0x00005a1a 
+ 00022741  0x00007150 fetch  0x00000002 , 0x00000051 
+ 00022742  0x00007151 istore  0x00000002 , 0x00000005 
+ 00022743  0x00007152 branch  0x00005a34 
+ 00022744  0x00007155 jam  0x000000fa , 0x00000072 
+ 00022745  0x00007156 force  0x00000002 , 0x0000003f 
+ 00022746  0x00007157 call  0x00005a1a 
+ 00022747  0x00007158 fetch  0x00000001 , 0x00000053 
+ 00022748  0x00007159 istore  0x00000001 , 0x00000005 
+ 00022749  0x0000715a branch  0x00005a34 
+ 00022750  0x0000715d force  0x0000000a , 0x0000003f 
+ 00022751  0x0000715e call  0x00005a1a 
+ 00022752  0x0000715f arg  0x00000a52 , 0x00000006 
+ 00022753  0x00007160 force  0x00000009 , 0x00000039 
+ 00022754  0x00007162 ifetch  0x00000001 , 0x00000006 
+ 00022755  0x00007163 xor_into  0x00000055 , 0x0000003f 
+ 00022756  0x00007164 istore  0x00000001 , 0x00000005 
+ 00022757  0x00007165 loop  0x000058e2 
+ 00022758  0x00007166 branch  0x00005a34 
+ 00022759  0x00007169 branch  0x00005a34 
+ 00022760  0x0000716b branch  0x00005a34 
+ 00022761  0x0000716e rtn  0x00000029 
+ 00022762  0x0000716f call  0x0000104a 
+ 00022763  0x00007170 force  0x00000009 , 0x0000003f 
+ 00022764  0x00007171 call  0x00005a1a 
+ 00022765  0x00007172 fetch  0x00000002 , 0x000000c0 
+ 00022766  0x00007173 istore  0x00000002 , 0x00000005 
+ 00022767  0x00007174 fetch  0x00000003 , 0x000040a8 
+ 00022768  0x00007175 istore  0x00000003 , 0x00000005 
+ 00022769  0x00007176 fetch  0x00000001 , 0x000040ab 
+ 00022770  0x00007177 istore  0x00000001 , 0x00000005 
+ 00022771  0x00007178 fetch  0x00000002 , 0x000040ac 
+ 00022772  0x00007179 istore  0x00000002 , 0x00000005 
+ 00022773  0x0000717a bmark0  0x00000003 , 0x000058fa 
+ 00022774  0x0000717b set0  0x00000003 , 0x00000000 
+ 00022775  0x0000717c call  0x00005a34 
+ 00022776  0x0000717d jam  0x00000013 , 0x0000007c 
+ 00022777  0x0000717e rtn 
+ 00022778  0x00007180 call  0x00005a32 
+ 00022779  0x00007181 jam  0x00000003 , 0x0000007c 
+ 00022780  0x00007182 jam  0x00000013 , 0x0000007d 
+ 00022781  0x00007183 rtn 
+ 00022782  0x00007186 arg  0x00000200 , 0x00000002 
+ 00022783  0x00007187 branch  0x00005902 , 0x00000029 
+ 00022784  0x00007188 deposit  0x00000028 
+ 00022785  0x00007189 branch  0x00005903 
+ 00022786  0x0000718b deposit  0x00000022 
+ 00022787  0x0000718d deposit  0x00000021 
+ 00022788  0x0000718e iadd  0x00000002 , 0x0000003f 
+ 00022789  0x0000718f and_into  0x000001fc , 0x0000003f 
+ 00022790  0x00007190 store  0x00000004 , 0x00000034 
+ 00022791  0x00007191 force  0x00000005 , 0x0000003f 
+ 00022792  0x00007192 call  0x00005a1a 
+ 00022793  0x00007193 fetch  0x00000004 , 0x00000034 
+ 00022794  0x00007194 rshift  0x0000003f , 0x0000003f 
+ 00022795  0x00007195 istore  0x00000004 , 0x00000005 
+ 00022796  0x00007196 branch  0x00005a34 
+ 00022797  0x00007199 force  0x0000000a , 0x0000003f 
+ 00022798  0x0000719a call  0x00005a1a 
+ 00022799  0x0000719b arg  0x000003ac , 0x00000006 
+ 00022800  0x0000719c ifetch  0x00000009 , 0x00000006 
+ 00022801  0x0000719d istore  0x00000009 , 0x00000005 
+ 00022802  0x0000719e branch  0x00005a34 
+ 00022803  0x000071a3 force  0x00000003 , 0x0000003f 
+ 00022804  0x000071a4 call  0x00005a1a 
+ 00022805  0x000071a5 setarg  0x00000114 
+ 00022806  0x000071a6 istore  0x00000002 , 0x00000005 
+ 00022807  0x000071a7 branch  0x00005a34 
+ 00022808  0x000071ab force  0x00000001 , 0x0000003f 
+ 00022809  0x000071ac call  0x00005a1a 
+ 00022810  0x000071b5 branch  0x00005a34 
+ 00022811  0x000071b9 force  0x00000002 , 0x0000003f 
+ 00022812  0x000071ba call  0x00005a1a 
+ 00022813  0x000071bb fetch  0x00000001 , 0x000040d7 
+ 00022814  0x000071bc istore  0x00000001 , 0x00000005 
+ 00022815  0x000071bd branch  0x00005a34 
+ 00022816  0x000071c1 force  0x00000002 , 0x0000003f 
+ 00022817  0x000071c2 call  0x00005a1a 
+ 00022818  0x000071c3 setarg  0x00000005 
+ 00022819  0x000071c4 istore  0x00000001 , 0x00000005 
+ 00022820  0x000071c5 branch  0x00005a34 
+ 00022821  0x000071c9 force  0x00000002 , 0x0000003f 
+ 00022822  0x000071ca call  0x00005a1a 
+ 00022823  0x000071cb setarg  0x00000000 
+ 00022824  0x000071cc istore  0x00000001 , 0x00000005 
+ 00022825  0x000071cd branch  0x00005a34 
+ 00022826  0x000071d1 jam  0x0000002e , 0x0000007c 
+ 00022827  0x000071d2 rtn 
+ 00022828  0x000071d4 fetch  0x00000001 , 0x0000409a 
+ 00022829  0x000071d5 sub  0x0000003f , 0x0000000a , 0x0000003e 
+ 00022830  0x000071d6 call  0x0000592a , 0x00000005 
+ 00022831  0x000071d7 fetch  0x00000001 , 0x00000030 
+ 00022832  0x000071d8 set1  0x00000004 , 0x0000003f 
+ 00022833  0x000071d9 store  0x00000001 , 0x00000030 
+ 00022834  0x000071da copy  0x00000022 , 0x0000003f 
+ 00022835  0x000071db store  0x00000004 , 0x000003bc 
+ 00022836  0x000071dc fetch  0x00000001 , 0x000003a5 
+ 00022837  0x000071dd bbit1  0x00000003 , 0x0000593d 
+ 00022838  0x000071de set1  0x00000003 , 0x0000003f 
+ 00022839  0x000071df store  0x00000001 , 0x000003a5 
+ 00022840  0x000071e0 jam  0x00000005 , 0x0000095b 
+ 00022841  0x000071e1 call  0x000078dc 
+ 00022842  0x000071e2 force  0x00000001 , 0x0000003f 
+ 00022843  0x000071e3 call  0x00005a1a 
+ 00022844  0x000071e4 branch  0x00005a34 
+ 00022845  0x000071e6 jam  0x00000000 , 0x00000048 
+ 00022846  0x000071e7 rtn 
+ 00022847  0x000071ea force  0x00000006 , 0x0000003f 
+ 00022848  0x000071eb call  0x00005a1a 
+ 00022849  0x000071ec fetch  0x00000005 , 0x000045fa 
+ 00022850  0x000071ed istore  0x00000005 , 0x00000005 
+ 00022851  0x000071ee branch  0x00005a34 
+ 00022852  0x000071f1 force  0x00000009 , 0x0000003f 
+ 00022853  0x000071f2 call  0x00005a1a 
+ 00022854  0x000071f3 fetch  0x00000008 , 0x000040a0 
+ 00022855  0x000071f4 istore  0x00000008 , 0x00000005 
+ 00022856  0x000071f5 branch  0x00005a34 
+ 00022857  0x000071f8 jam  0x00000001 , 0x00000873 
+ 00022858  0x000071f9 fetch  0x00000001 , 0x000046bc 
+ 00022859  0x000071fa rtnne  0x00000001 
+ 00022860  0x000071fb jam  0x00000013 , 0x00000871 
+ 00022861  0x000071fc rtn 
+ 00022862  0x000071ff call  0x00005a72 
+ 00022863  0x00007200 jam  0x00000099 , 0x0000007c 
+ 00022864  0x00007201 jam  0x00000003 , 0x00000871 
+ 00022865  0x00007202 rtn 
+ 00022866  0x00007206 call  0x00005a72 
+ 00022867  0x00007207 jam  0x0000003d , 0x0000007c 
+ 00022868  0x00007208 jam  0x00000007 , 0x00000871 
+ 00022869  0x00007209 rtn 
+ 00022870  0x0000720c arg  0x00000910 , 0x00000011 
+ 00022871  0x0000720d arg  0x00000930 , 0x00000012 
+ 00022872  0x0000720e arg  0x00000010 , 0x00000039 
+ 00022873  0x0000720f call  0x00007e66 
+ 00022874  0x00007210 branch  0x0000595f , 0x00000005 
+ 00022875  0x00007211 jam  0x00000000 , 0x00000871 
+ 00022876  0x00007212 call  0x000070d5 
+ 00022877  0x00007213 jam  0x00000040 , 0x0000007d 
+ 00022878  0x00007214 branch  0x000056ec 
+ 00022879  0x00007217 jam  0x0000000a , 0x00000871 
+ 00022880  0x00007218 call  0x000070d3 
+ 00022881  0x00007219 jam  0x00000040 , 0x0000007d 
+ 00022882  0x0000721a branch  0x0000554b 
+ 00022883  0x0000721f jam  0x00000040 , 0x0000007c 
+ 00022884  0x00007220 rtn 
+ 00022885  0x00007227 jam  0x0000003d , 0x0000007c 
+ 00022886  0x00007229 rtn 
+ 00022887  0x00007230 jam  0x00000000 , 0x00000878 
+ 00022888  0x00007231 force  0x00000004 , 0x0000003f 
+ 00022889  0x00007232 call  0x00005a1a 
+ 00022890  0x00007233 fetch  0x00000003 , 0x00004647 
+ 00022891  0x00007234 istore  0x00000003 , 0x00000005 
+ 00022892  0x00007235 call  0x00005a7f 
+ 00022893  0x00007236 branch  0x00005a34 , 0x00000001 
+ 00022894  0x00007237 branch  0x00005a32 
+ 00022895  0x0000723b fetch  0x00000001 , 0x00004648 
+ 00022896  0x0000723c beq  0x00000002 , 0x00005973 
+ 00022897  0x0000723d beq  0x00000001 , 0x00005978 
+ 00022898  0x0000723e rtn 
+ 00022899  0x00007241 force  0x00000011 , 0x0000003f 
+ 00022900  0x00007242 call  0x00005a1a 
+ 00022901  0x00007243 fetch  0x00000001 , 0x00000878 
+ 00022902  0x00007244 arg  0x000046df , 0x00000006 
+ 00022903  0x00007245 branch  0x0000597c 
+ 00022904  0x00007248 force  0x00000011 , 0x0000003f 
+ 00022905  0x00007249 call  0x00005a1a 
+ 00022906  0x0000724a fetch  0x00000001 , 0x00000878 
+ 00022907  0x0000724b arg  0x00004737 , 0x00000006 
+ 00022908  0x0000724d iadd  0x00000006 , 0x00000006 
+ 00022909  0x0000724e ifetch  0x00000008 , 0x00000006 
+ 00022910  0x0000724f istore  0x00000008 , 0x00000005 
+ 00022911  0x00007250 ifetch  0x00000008 , 0x00000006 
+ 00022912  0x00007251 istore  0x00000008 , 0x00000005 
+ 00022913  0x00007252 fetch  0x00000001 , 0x00000878 
+ 00022914  0x00007253 increase  0x00000010 , 0x0000003f 
+ 00022915  0x00007254 store  0x00000001 , 0x00000878 
+ 00022916  0x00007255 call  0x00005a7f 
+ 00022917  0x00007256 branch  0x00005a34 , 0x00000001 
+ 00022918  0x00007257 branch  0x00005a32 
+ 00022919  0x0000725b jam  0x00000006 , 0x00000870 
+ 00022920  0x0000725c jam  0x0000003f , 0x0000007c 
+ 00022921  0x0000725d rtn 
+ 00022922  0x00007261 force  0x00000011 , 0x0000003f 
+ 00022923  0x00007262 call  0x00005a1a 
+ 00022924  0x00007263 arg  0x00000910 , 0x00000006 
+ 00022925  0x00007264 ifetch  0x00000008 , 0x00000006 
+ 00022926  0x00007265 istore  0x00000008 , 0x00000005 
+ 00022927  0x00007266 ifetch  0x00000008 , 0x00000006 
+ 00022928  0x00007267 istore  0x00000008 , 0x00000005 
+ 00022929  0x00007268 branch  0x00005a32 
+ 00022930  0x0000726b jam  0x00000040 , 0x0000007c 
+ 00022931  0x0000726c rtn 
+ 00022932  0x00007270 call  0x00005a7f 
+ 00022933  0x00007271 call  0x00006fe9 , 0x00000001 
+ 00022934  0x00007272 force  0x00000011 , 0x0000003f 
+ 00022935  0x00007273 call  0x00005a1a 
+ 00022936  0x00007274 arg  0x000008e0 , 0x00000006 
+ 00022937  0x00007275 ifetch  0x00000008 , 0x00000006 
+ 00022938  0x00007276 istore  0x00000008 , 0x00000005 
+ 00022939  0x00007277 ifetch  0x00000008 , 0x00000006 
+ 00022940  0x00007278 istore  0x00000008 , 0x00000005 
+ 00022941  0x00007279 call  0x00005a7f 
+ 00022942  0x0000727a nbranch  0x00005a32 , 0x00000001 
+ 00022943  0x0000727b branch  0x00005a34 , 0x00000001 
+ 00022944  0x0000727f jam  0x0000000f , 0x00000871 
+ 00022945  0x00007281 call  0x00005a72 
+ 00022946  0x00007282 jam  0x0000000b , 0x0000007c 
+ 00022947  0x00007283 call  0x00005a8a 
+ 00022948  0x00007284 branch  0x00007037 , 0x00000001 
+ 00022949  0x00007285 branch  0x00007041 
+ 00022950  0x00007287 call  0x00005a6e 
+ 00022951  0x00007289 jam  0x00000041 , 0x0000007c 
+ 00022952  0x0000728a rtn 
+ 00022953  0x0000728d force  0x00000011 , 0x0000003f 
+ 00022954  0x0000728e call  0x00005a1a 
+ 00022955  0x0000728f arg  0x00000910 , 0x00000006 
+ 00022956  0x00007290 ifetch  0x00000008 , 0x00000006 
+ 00022957  0x00007291 istore  0x00000008 , 0x00000005 
+ 00022958  0x00007292 ifetch  0x00000008 , 0x00000006 
+ 00022959  0x00007293 istore  0x00000008 , 0x00000005 
+ 00022960  0x00007294 call  0x00005a7f 
+ 00022961  0x00007295 nbranch  0x00005a32 , 0x00000001 
+ 00022962  0x00007296 branch  0x00005a34 , 0x00000001 
+ 00022963  0x00007299 force  0x00000003 , 0x0000003f 
+ 00022964  0x0000729a call  0x00005a1a 
+ 00022965  0x0000729b setarg  0x0000fffe 
+ 00022966  0x0000729c istore  0x00000002 , 0x00000005 
+ 00022967  0x0000729d branch  0x00005a32 
+ 00022968  0x000072a0 branch  0x00005a34 
+ 00022969  0x000072a2 branch  0x00005a34 
+ 00022970  0x000072a4 branch  0x00005a34 
+ 00022971  0x000072a6 branch  0x00005a34 
+ 00022972  0x000072ac call  0x00005a8e 
+ 00022973  0x000072ad arg  0x000040a8 , 0x00000011 
+ 00022974  0x000072ae call  0x00005a94 
+ 00022975  0x000072af force  0x00000011 , 0x0000003f 
+ 00022976  0x000072b0 call  0x00005a1a 
+ 00022977  0x000072b1 arg  0x00000444 , 0x00000011 
+ 00022978  0x000072b2 arg  0x00000424 , 0x00000012 
+ 00022979  0x000072b3 call  0x00006c70 
+ 00022980  0x000072b4 nbranch  0x00005a29 , 0x00000029 
+ 00022981  0x000072b5 branch  0x00005a2f 
+ 00022982  0x000072b8 call  0x00005a8e 
+ 00022983  0x000072b9 arg  0x00000040 , 0x00000011 
+ 00022984  0x000072ba call  0x00006b73 
+ 00022985  0x000072bc force  0x00000011 , 0x0000003f 
+ 00022986  0x000072bd call  0x00005a1a 
+ 00022987  0x000072be arg  0x00000424 , 0x00000006 
+ 00022988  0x000072bf call  0x00007d7f 
+ 00022989  0x000072c0 fetch  0x00000001 , 0x00000055 
+ 00022990  0x000072c1 beq  0x00000019 , 0x00005a34 
+ 00022991  0x000072c2 beq  0x00000018 , 0x00005a34 
+ 00022992  0x000072c3 branch  0x00005a2f 
+ 00022993  0x000072c6 fetch  0x00000001 , 0x00004648 
+ 00022994  0x000072c7 beq  0x00000002 , 0x000059dc 
+ 00022995  0x000072c9 fetch  0x00000001 , 0x00000877 
+ 00022996  0x000072ca branch  0x000059d9 , 0x00000034 
+ 00022997  0x000072cc call  0x00005a7f 
+ 00022998  0x000072cd call  0x00005a72 , 0x00000001 
+ 00022999  0x000072ce ncall  0x00005a6e , 0x00000001 
+ 00023000  0x000072cf branch  0x000059da 
+ 00023001  0x000072d1 call  0x00005a72 
+ 00023002  0x000072d3 call  0x00005a8e 
+ 00023003  0x000072d4 branch  0x000059c9 
+ 00023004  0x000072d7 jam  0x0000000c , 0x0000007c 
+ 00023005  0x000072d8 branch  0x000059d5 
+ 00023006  0x000072db fetch  0x00000001 , 0x00004648 
+ 00023007  0x000072dc beq  0x00000002 , 0x000059f8 
+ 00023008  0x000072de arg  0x000040a8 , 0x00000011 
+ 00023009  0x000072df call  0x00006ba6 
+ 00023010  0x000072e0 force  0x00000005 , 0x0000003f 
+ 00023011  0x000072e1 call  0x00005a1a 
+ 00023012  0x000072e2 fetch  0x00000004 , 0x00000454 
+ 00023013  0x000072e3 istore  0x00000004 , 0x00000005 
+ 00023014  0x000072e4 arg  0x000003a9 , 0x00000002 
+ 00023015  0x000072e5 call  0x00005a65 
+ 00023016  0x000072e6 call  0x00006ca4 
+ 00023017  0x000072e7 call  0x00005a7f 
+ 00023018  0x000072e8 branch  0x000059ef , 0x00000001 
+ 00023019  0x000072e9 jam  0x00000001 , 0x000003ab 
+ 00023020  0x000072ea fetch  0x00000001 , 0x00000877 
+ 00023021  0x000072eb rtn  0x00000034 
+ 00023022  0x000072ec jam  0x0000000b , 0x0000007c 
+ 00023023  0x000072ee fetch  0x00000001 , 0x000041ca 
+ 00023024  0x000072ef rtn  0x00000034 
+ 00023025  0x000072f1 call  0x00005a7f 
+ 00023026  0x000072f2 nbranch  0x000059f4 , 0x00000001 
+ 00023027  0x000072f3 rtn 
+ 00023028  0x000072f6 rtnmark0  0x00000021 
+ 00023029  0x000072f7 set0  0x00000021 , 0x00000000 
+ 00023030  0x000072f8 jam  0x0000000f , 0x0000007c 
+ 00023031  0x000072f9 rtn 
+ 00023032  0x000072fc call  0x0000755f 
+ 00023033  0x000072fd call  0x00007584 
+ 00023034  0x000072fe force  0x00000005 , 0x0000003f 
+ 00023035  0x000072ff call  0x00005a1a 
+ 00023036  0x00007300 fetch  0x00000004 , 0x00000918 
+ 00023037  0x00007301 istore  0x00000004 , 0x00000005 
+ 00023038  0x00007302 arg  0x000003a9 , 0x00000002 
+ 00023039  0x00007303 call  0x00005a65 
+ 00023040  0x00007304 call  0x00005a07 
+ 00023041  0x00007305 call  0x00005a7f 
+ 00023042  0x00007306 branch  0x000059ef , 0x00000001 
+ 00023043  0x00007307 jam  0x00000001 , 0x000003ab 
+ 00023044  0x00007308 fetch  0x00000001 , 0x00000877 
+ 00023045  0x00007309 rtn  0x00000034 
+ 00023046  0x0000730a branch  0x000059ef 
+ 00023047  0x0000730d fetch  0x00000008 , 0x00000910 
+ 00023048  0x0000730e store  0x00000008 , 0x000046ad 
+ 00023049  0x0000730f rtn 
+ 00023050  0x00007312 call  0x00005a8e 
+ 00023051  0x00007313 call  0x00006ba9 
+ 00023052  0x00007314 force  0x00000011 , 0x0000003f 
+ 00023053  0x00007315 call  0x00005a1a 
+ 00023054  0x00007316 arg  0x00000424 , 0x00000006 
+ 00023055  0x00007317 call  0x00007d7f 
+ 00023056  0x00007318 branch  0x00005a2f 
+ 00023057  0x0000731b force  0x00000001 , 0x0000003f 
+ 00023058  0x0000731c call  0x00005a1a 
+ 00023059  0x0000731d branch  0x00005a2f 
+ 00023060  0x00007320 force  0x00000002 , 0x0000003f 
+ 00023061  0x00007321 call  0x00005a1a 
+ 00023062  0x00007322 force  0x00000010 , 0x0000003f 
+ 00023063  0x00007323 istore  0x00000001 , 0x00000005 
+ 00023064  0x00007324 store  0x00000001 , 0x00000054 
+ 00023065  0x00007325 branch  0x00005a2f 
+ 00023066  0x00007329 lshift3  0x0000003f , 0x0000003f 
+ 00023067  0x0000732a or_into  0x00000007 , 0x0000003f 
+ 00023068  0x0000732b store  0x00000001 , 0x0000038a 
+ 00023069  0x0000732c arg  0x00000011 , 0x00000039 
+ 00023070  0x0000732d arg  0x0000038c , 0x00000005 
+ 00023071  0x0000732e call  0x00007d9b 
+ 00023072  0x0000732f arg  0x0000038c , 0x00000005 
+ 00023073  0x00007330 rtn 
+ 00023074  0x00007333 and  0x0000003f , 0x0000007f , 0x00000011 
+ 00023075  0x00007334 jam  0x0000007f , 0x00000048 
+ 00023076  0x00007335 deposit  0x00000007 
+ 00023077  0x00007336 call  0x00005a1a 
+ 00023078  0x00007337 deposit  0x00000011 
+ 00023079  0x00007338 istore  0x00000001 , 0x00000005 
+ 00023080  0x00007339 rtn 
+ 00023081  0x0000733c fetch  0x00000001 , 0x00000048 
+ 00023082  0x0000733d lshift  0x0000003f , 0x0000003f 
+ 00023083  0x0000733e fetcht  0x00000001 , 0x0000004c 
+ 00023084  0x0000733f isolate1  0x00000001 , 0x00000002 
+ 00023085  0x00007340 setflag  0x00000001 , 0x00000000 , 0x0000003f 
+ 00023086  0x00007341 branch  0x00005a39 
+ 00023087  0x00007345 fetcht  0x00000001 , 0x0000004c 
+ 00023088  0x00007346 and_into  0x00000001 , 0x00000002 
+ 00023089  0x00007347 branch  0x00005a35 
+ 00023090  0x0000734a force  0x00000000 , 0x00000002 
+ 00023091  0x0000734b branch  0x00005a35 
+ 00023092  0x0000734e force  0x00000001 , 0x00000002 
+ 00023093  0x00007350 fetch  0x00000001 , 0x00000048 
+ 00023094  0x00007351 lshift  0x0000003f , 0x0000003f 
+ 00023095  0x00007352 setflag  0x00000029 , 0x00000000 , 0x0000003f 
+ 00023096  0x00007353 ixor  0x00000002 , 0x0000003f 
+ 00023097  0x00007355 store  0x00000001 , 0x0000038b 
+ 00023098  0x00007356 store  0x00000001 , 0x000045f9 
+ 00023099  0x00007357 jam  0x00000000 , 0x00000048 
+ 00023100  0x00007358 call  0x00005a4a 
+ 00023101  0x00007359 enable  0x00000028 
+ 00023102  0x0000735a rtn 
+ 00023103  0x0000735e fetch  0x00000001 , 0x0000007c 
+ 00023104  0x0000735f rtn  0x00000034 
+ 00023105  0x00007360 call  0x00005a44 
+ 00023106  0x00007361 fetch  0x00000001 , 0x0000007c 
+ 00023107  0x00007362 rtn 
+ 00023108  0x00007365 bpatchx  0x0000001c , 0x00004023 
+ 00023109  0x00007366 fetch  0x00000001 , 0x00000048 
+ 00023110  0x00007367 branch  0x00005a4a , 0x00000034 
+ 00023111  0x00007368 fetch  0x00000001 , 0x00000078 
+ 00023112  0x00007369 nrtn  0x00000034 
+ 00023113  0x0000736a branch  0x00005a54 
+ 00023114  0x0000736c fetch  0x00000001 , 0x00000078 
+ 00023115  0x0000736d branch  0x00005a5a , 0x00000034 
+ 00023116  0x0000736e fetch  0x00000003 , 0x00000078 
+ 00023117  0x0000736f store  0x00000003 , 0x00000048 
+ 00023118  0x00007370 fetcht  0x00000001 , 0x0000007b 
+ 00023119  0x00007371 fetch  0x00000001 , 0x0000004c 
+ 00023120  0x00007372 set0  0x00000001 , 0x0000003f 
+ 00023121  0x00007373 ior  0x00000002 , 0x0000003f 
+ 00023122  0x00007374 store  0x00000001 , 0x0000004c 
+ 00023123  0x00007375 jam  0x00000000 , 0x00000078 
+ 00023124  0x00007377 fetch  0x00000001 , 0x0000007c 
+ 00023125  0x00007378 rtn  0x00000034 
+ 00023126  0x00007379 fetch  0x00000004 , 0x0000007c 
+ 00023127  0x0000737a store  0x00000004 , 0x00000078 
+ 00023128  0x0000737b jam  0x00000000 , 0x0000007c 
+ 00023129  0x0000737c rtn 
+ 00023130  0x0000737e fetch  0x00000001 , 0x0000007c 
+ 00023131  0x0000737f rtn  0x00000034 
+ 00023132  0x00007380 fetch  0x00000003 , 0x0000007c 
+ 00023133  0x00007381 store  0x00000003 , 0x00000048 
+ 00023134  0x00007382 fetcht  0x00000001 , 0x0000007f 
+ 00023135  0x00007383 fetch  0x00000001 , 0x0000004c 
+ 00023136  0x00007384 set0  0x00000001 , 0x0000003f 
+ 00023137  0x00007385 ior  0x00000002 , 0x0000003f 
+ 00023138  0x00007386 store  0x00000001 , 0x0000004c 
+ 00023139  0x00007387 jam  0x00000000 , 0x0000007c 
+ 00023140  0x00007388 rtn 
+ 00023141  0x0000738c bpatchx  0x0000001d , 0x00004023 
+ 00023142  0x0000738d fetch  0x00000001 , 0x0000004c 
+ 00023143  0x0000738e copy  0x0000003f , 0x00000013 
+ 00023144  0x0000738f ifetch  0x00000001 , 0x00000002 
+ 00023145  0x00007390 call  0x00005567 
+ 00023146  0x00007391 call  0x00005a29 
+ 00023147  0x00007392 copy  0x00000013 , 0x0000003f 
+ 00023148  0x00007393 store  0x00000001 , 0x0000004c 
+ 00023149  0x00007394 rtn 
+ 00023150  0x00007397 fetcht  0x00000001 , 0x0000004c 
+ 00023151  0x00007398 set0  0x00000000 , 0x00000002 
+ 00023152  0x00007399 storet  0x00000001 , 0x0000004c 
+ 00023153  0x0000739a rtn 
+ 00023154  0x0000739d fetcht  0x00000001 , 0x0000004c 
+ 00023155  0x0000739e set1  0x00000000 , 0x00000002 
+ 00023156  0x0000739f storet  0x00000001 , 0x0000004c 
+ 00023157  0x000073a0 rtn 
+ 00023158  0x000073a4 nsetflag  0x00000029 , 0x00000001 , 0x0000003f 
+ 00023159  0x000073a5 fetcht  0x00000001 , 0x0000004c 
+ 00023160  0x000073a6 ixor  0x00000002 , 0x0000003f 
+ 00023161  0x000073a7 isolate1  0x00000001 , 0x0000003f 
+ 00023162  0x000073a8 rtn 
+ 00023163  0x000073ac fetch  0x00000001 , 0x0000004c 
+ 00023164  0x000073ad setflag  0x00000029 , 0x00000001 , 0x0000003f 
+ 00023165  0x000073ae store  0x00000001 , 0x0000004c 
+ 00023166  0x000073af rtn 
+ 00023167  0x000073b3 fetch  0x00000001 , 0x00000876 
+ 00023168  0x000073b4 compare  0x00000001 , 0x0000003f , 0x0000007f 
+ 00023169  0x000073b5 rtn 
+ 00023170  0x000073b7 fetch  0x00000001 , 0x00000876 
+ 00023171  0x000073b8 set1  0x00000007 , 0x0000003f 
+ 00023172  0x000073b9 store  0x00000001 , 0x00000876 
+ 00023173  0x000073ba rtn 
+ 00023174  0x000073bc fetch  0x00000001 , 0x00000876 
+ 00023175  0x000073bd set0  0x00000007 , 0x0000003f 
+ 00023176  0x000073be store  0x00000001 , 0x00000876 
+ 00023177  0x000073bf rtn 
+ 00023178  0x000073c1 fetch  0x00000001 , 0x00000876 
+ 00023179  0x000073c2 isolate1  0x00000007 , 0x0000003f 
+ 00023180  0x000073c3 store  0x00000001 , 0x00000876 
+ 00023181  0x000073c4 rtn 
+ 00023182  0x000073c8 arg  0x00000424 , 0x00000005 
+ 00023183  0x000073ca force  0x00000010 , 0x00000039 
+ 00023184  0x000073cd random  0x0000003f 
+ 00023185  0x000073ce istore  0x00000001 , 0x00000005 
+ 00023186  0x000073cf loop  0x00005a90 
+ 00023187  0x000073d0 rtn 
+ 00023188  0x000073d3 call  0x00006b77 
+ 00023189  0x000073d4 arg  0x000041cb , 0x00000011 
+ 00023190  0x000073d5 arg  0x00000454 , 0x00000012 
+ 00023191  0x000073d6 ifetch  0x00000008 , 0x00000011 
+ 00023192  0x000073d7 fetcht  0x00000001 , 0x00000030 
+ 00023193  0x000073d8 nsetflag  0x00000034 , 0x00000006 , 0x00000002 
+ 00023194  0x000073d9 storet  0x00000001 , 0x00000030 
+ 00023195  0x000073da copy  0x00000011 , 0x00000005 
+ 00023196  0x000073db call  0x00006c70 
+ 00023197  0x000073dc branch  0x000009c6 
+ 00023198  0x000073e4 bpatchx  0x0000001e , 0x00004023 
+ 00023199  0x000073e6 call  0x00005a3f 
+ 00023200  0x000073e7 nrtn  0x00000034 
+ 00023201  0x000073e9 fetch  0x00000001 , 0x00000055 
+ 00023202  0x000073ea rtn  0x00000034 
+ 00023203  0x000073ee beq  0x00000004 , 0x00005af2 
+ 00023204  0x000073ef beq  0x00000005 , 0x00005af8 
+ 00023205  0x000073f0 beq  0x00000002 , 0x00005ae9 
+ 00023206  0x000073f1 beq  0x00000003 , 0x00005b00 
+ 00023207  0x000073f2 beq  0x0000000e , 0x00005aec 
+ 00023208  0x000073f3 beq  0x00000006 , 0x00005b1c 
+ 00023209  0x000073f4 beq  0x00000007 , 0x00005b34 
+ 00023210  0x000073f5 beq  0x00000009 , 0x00005b35 
+ 00023211  0x000073f6 beq  0x0000000a , 0x00005b3e 
+ 00023212  0x000073f7 beq  0x0000000b , 0x00005b42 
+ 00023213  0x000073f8 beq  0x0000000c , 0x00005b0a 
+ 00023214  0x000073f9 beq  0x0000000d , 0x00005b0d 
+ 00023215  0x000073fa beq  0x0000000f , 0x00005b13 
+ 00023216  0x000073fb beq  0x00000012 , 0x00005adc 
+ 00023217  0x000073fc beq  0x00000013 , 0x00005b00 
+ 00023218  0x000073fd beq  0x00000010 , 0x00005adf 
+ 00023219  0x000073fe beq  0x00000014 , 0x00005ad9 
+ 00023220  0x000073ff beq  0x00000015 , 0x00005b00 
+ 00023221  0x00007400 beq  0x00000016 , 0x00005ad3 
+ 00023222  0x00007401 beq  0x00000018 , 0x00005ad8 
+ 00023223  0x00007402 beq  0x00000017 , 0x00005acc 
+ 00023224  0x00007403 beq  0x00000019 , 0x00005ad2 
+ 00023225  0x00007404 beq  0x0000001a , 0x00005abd 
+ 00023226  0x00007405 beq  0x0000001b , 0x00005ac7 
+ 00023227  0x00007406 jam  0x00000000 , 0x00000055 
+ 00023228  0x00007408 rtn 
+ 00023229  0x0000740a fetch  0x00000001 , 0x000003a5 
+ 00023230  0x0000740b rtnbit0  0x00000002 
+ 00023231  0x0000740c rtnbit0  0x00000003 
+ 00023232  0x0000740d jam  0x00000000 , 0x00000055 
+ 00023233  0x0000740e call  0x00005ac3 
+ 00023234  0x0000740f branch  0x0000660d 
+ 00023235  0x00007412 fetch  0x00000001 , 0x000000bc 
+ 00023236  0x00007413 rtnbit0  0x00000001 
+ 00023237  0x00007414 jam  0x0000000a , 0x00000055 
+ 00023238  0x00007415 rtn 
+ 00023239  0x00007418 arg  0x00000007 , 0x00000007 
+ 00023240  0x00007419 call  0x00007de9 
+ 00023241  0x0000741a nrtn  0x00000034 
+ 00023242  0x0000741b jam  0x0000001a , 0x00000055 
+ 00023243  0x0000741c rtn 
+ 00023244  0x0000741f fetch  0x00000001 , 0x000000bc 
+ 00023245  0x00007420 set0  0x00000000 , 0x0000003f 
+ 00023246  0x00007421 store  0x00000001 , 0x000000bc 
+ 00023247  0x00007422 jam  0x00000019 , 0x00000055 
+ 00023248  0x00007423 jam  0x0000000b , 0x0000007c 
+ 00023249  0x00007424 rtn 
+ 00023250  0x00007426 rtn 
+ 00023251  0x00007428 fetch  0x00000001 , 0x000003a8 
+ 00023252  0x00007429 rtnne  0x00000002 
+ 00023253  0x0000742a call  0x00005b44 
+ 00023254  0x0000742b jam  0x00000018 , 0x00000055 
+ 00023255  0x0000742c rtn 
+ 00023256  0x0000742f rtn 
+ 00023257  0x00007431 jam  0x00000015 , 0x00000055 
+ 00023258  0x00007432 jam  0x00000083 , 0x0000007c 
+ 00023259  0x00007433 rtn 
+ 00023260  0x00007435 jam  0x00000013 , 0x00000055 
+ 00023261  0x00007436 jam  0x00000025 , 0x0000007c 
+ 00023262  0x00007437 rtn 
+ 00023263  0x0000743a fetch  0x00000001 , 0x00004645 
+ 00023264  0x0000743b rtneq  0x00000000 
+ 00023265  0x0000743c beq  0x00000001 , 0x00005ae7 
+ 00023266  0x0000743d arg  0x00000006 , 0x00000007 
+ 00023267  0x0000743e call  0x00007de9 
+ 00023268  0x0000743f nrtn  0x00000034 
+ 00023269  0x00007440 jam  0x00000000 , 0x00004645 
+ 00023270  0x00007441 branch  0x00005b01 
+ 00023271  0x00007443 rtn  0x00000029 
+ 00023272  0x00007444 branch  0x00005b1c 
+ 00023273  0x00007447 jam  0x00000003 , 0x00000055 
+ 00023274  0x00007448 jam  0x00000027 , 0x0000007c 
+ 00023275  0x00007449 rtn 
+ 00023276  0x0000744b jam  0x00000013 , 0x0000007c 
+ 00023277  0x0000744c set1  0x00000003 , 0x00000000 
+ 00023278  0x0000744d jam  0x00000005 , 0x00000055 
+ 00023279  0x0000744e setarg  0x000001ff 
+ 00023280  0x0000744f store  0x00000002 , 0x000003a6 
+ 00023281  0x00007450 rtn 
+ 00023282  0x00007453 jam  0x00000005 , 0x00000055 
+ 00023283  0x00007454 setarg  0x000000ff 
+ 00023284  0x00007455 store  0x00000002 , 0x000003a6 
+ 00023285  0x00007456 set0  0x00000022 , 0x00000000 
+ 00023286  0x00007457 jam  0x00000033 , 0x0000007c 
+ 00023287  0x00007458 branch  0x000053ee 
+ 00023288  0x0000745a rtnmark1  0x00000022 
+ 00023289  0x0000745b fetch  0x00000002 , 0x000003a6 
+ 00023290  0x0000745c increase  0xffffffff , 0x0000003f 
+ 00023291  0x0000745d branch  0x00005afe , 0x00000005 
+ 00023292  0x0000745e store  0x00000002 , 0x000003a6 
+ 00023293  0x0000745f rtn 
+ 00023294  0x00007461 jam  0x0000000e , 0x00000055 
+ 00023295  0x00007462 rtn 
+ 00023296  0x00007465 rtn 
+ 00023297  0x00007468 fetch  0x00000001 , 0x000003a5 
+ 00023298  0x00007469 rtnbit0  0x00000003 
+ 00023299  0x0000746a rtnbit0  0x00000002 
+ 00023300  0x0000746b fetch  0x00000001 , 0x000000bc 
+ 00023301  0x0000746c set0  0x00000002 , 0x0000003f 
+ 00023302  0x0000746d store  0x00000001 , 0x000000bc 
+ 00023303  0x0000746e jam  0x00000013 , 0x0000007c 
+ 00023304  0x0000746f jam  0x00000010 , 0x00000055 
+ 00023305  0x00007470 rtn 
+ 00023306  0x00007473 jam  0x0000000d , 0x00000055 
+ 00023307  0x00007474 jam  0x00000031 , 0x0000007c 
+ 00023308  0x00007475 rtn 
+ 00023309  0x00007478 fetch  0x00000001 , 0x000003a5 
+ 00023310  0x00007479 rtnbit0  0x00000002 
+ 00023311  0x0000747a jam  0x00000000 , 0x00000055 
+ 00023312  0x0000747c rtn 
+ 00023313  0x0000747e jam  0x00000006 , 0x00000055 
+ 00023314  0x0000747f rtn 
+ 00023315  0x00007482 fetch  0x00000002 , 0x000003a6 
+ 00023316  0x00007483 increase  0xffffffff , 0x0000003f 
+ 00023317  0x00007484 branch  0x00005b18 , 0x00000034 
+ 00023318  0x00007485 store  0x00000002 , 0x000003a6 
+ 00023319  0x00007486 rtn 
+ 00023320  0x00007488 jam  0x00000007 , 0x0000007c 
+ 00023321  0x00007489 jam  0x00000016 , 0x0000039e 
+ 00023322  0x0000748a jam  0x00000000 , 0x00000055 
+ 00023323  0x0000748b rtn 
+ 00023324  0x0000748e fetch  0x00000001 , 0x000000bc 
+ 00023325  0x0000748f bbit1  0x00000002 , 0x00005b01 
+ 00023326  0x00007490 bbit1  0x00000000 , 0x00005b21 
+ 00023327  0x00007492 jam  0x0000001a , 0x00000055 
+ 00023328  0x00007493 rtn 
+ 00023329  0x00007495 fetch  0x00000001 , 0x000041ca 
+ 00023330  0x00007496 branch  0x00005b2d , 0x00000034 
+ 00023331  0x00007497 fetch  0x00000001 , 0x000003a5 
+ 00023332  0x00007498 rtnbit0  0x00000003 
+ 00023333  0x00007499 rtnbit0  0x00000002 
+ 00023334  0x0000749a fetch  0x00000004 , 0x000003bc 
+ 00023335  0x0000749b arg  0x00000064 , 0x00000002 
+ 00023336  0x0000749c iadd  0x00000002 , 0x00000002 
+ 00023337  0x0000749d copy  0x00000022 , 0x0000003f 
+ 00023338  0x0000749e isub  0x00000002 , 0x0000003e 
+ 00023339  0x0000749f nrtn  0x00000002 
+ 00023340  0x000074a0 branch  0x00005acc 
+ 00023341  0x000074a3 jam  0x00000016 , 0x00000055 
+ 00023342  0x000074a4 jam  0x00000004 , 0x00004796 
+ 00023343  0x000074a5 setarg  0x00003030 
+ 00023344  0x000074a6 store  0x00000002 , 0x00004797 
+ 00023345  0x000074a7 istore  0x00000002 , 0x00000005 
+ 00023346  0x000074a8 jam  0x00000002 , 0x000003a8 
+ 00023347  0x000074a9 branch  0x00005ad3 
+ 00023348  0x000074ac rtn 
+ 00023349  0x000074ae fetch  0x00000001 , 0x000000bc 
+ 00023350  0x000074af bbit1  0x00000001 , 0x00005b39 
+ 00023351  0x000074b0 jam  0x0000001a , 0x00000055 
+ 00023352  0x000074b1 rtn 
+ 00023353  0x000074b4 fetch  0x00000001 , 0x000000bc 
+ 00023354  0x000074b5 set0  0x00000001 , 0x0000003f 
+ 00023355  0x000074b6 store  0x00000001 , 0x000000bc 
+ 00023356  0x000074b7 jam  0x0000000f , 0x0000007c 
+ 00023357  0x000074b8 rtn 
+ 00023358  0x000074bb fetch  0x00000001 , 0x000003ab 
+ 00023359  0x000074bc rtn  0x00000034 
+ 00023360  0x000074bd jam  0x00000000 , 0x00000055 
+ 00023361  0x000074be branch  0x00005b39 
+ 00023362  0x000074c1 jam  0x0000000c , 0x00000055 
+ 00023363  0x000074c2 rtn 
+ 00023364  0x000074c5 fetch  0x00000001 , 0x0000004b 
+ 00023365  0x000074c6 bbit1  0x00000002 , 0x00005b49 
+ 00023366  0x000074c7 call  0x00005a72 
+ 00023367  0x000074c8 jam  0x00000008 , 0x0000007c 
+ 00023368  0x000074c9 branch  0x00004de4 
+ 00023369  0x000074cb fetch  0x00000001 , 0x0000004b 
+ 00023370  0x000074cc set0  0x00000002 , 0x0000003f 
+ 00023371  0x000074cd store  0x00000001 , 0x0000004b 
+ 00023372  0x000074ce call  0x00005750 
+ 00023373  0x000074cf call  0x00005a7b 
+ 00023374  0x000074d0 branch  0x00004de4 
+ 00023375  0x000074d3 setarg  0x00000004 
+ 00023376  0x000074d4 store  0x00000001 , 0x00004796 
+ 00023377  0x000074d5 setarg  0x00003030 
+ 00023378  0x000074d6 istore  0x00000002 , 0x00000005 
+ 00023379  0x000074d7 istore  0x00000002 , 0x00000005 
+ 00023380  0x000074d8 rtn 
+ 00023381  0x000074e0 bpatchx  0x0000001f , 0x00004023 
+ 00023382  0x000074e1 and_into  0x000000ff , 0x0000003f 
+ 00023383  0x000074e2 arg  0x00008070 , 0x00000005 
+ 00023384  0x000074e3 iadd  0x00000005 , 0x00000005 
+ 00023385  0x000074e4 copy  0x00000005 , 0x00000011 
+ 00023386  0x000074e5 arg  0x0000003e , 0x00000002 
+ 00023387  0x000074e6 istoret  0x00000001 , 0x00000005 
+ 00023388  0x000074e7 call  0x00005b62 
+ 00023389  0x000074e8 nop  0x0000001e 
+ 00023390  0x000074e9 copy  0x00000011 , 0x00000005 
+ 00023391  0x000074ea arg  0x0000003f , 0x00000002 
+ 00023392  0x000074eb istoret  0x00000001 , 0x00000005 
+ 00023393  0x000074ec branch  0x00005b66 
+ 00023394  0x000074ef fetch  0x00000001 , 0x00008085 
+ 00023395  0x000074f0 and_into  0x000000fb , 0x0000003f 
+ 00023396  0x000074f1 store  0x00000001 , 0x00008085 
+ 00023397  0x000074f2 rtn 
+ 00023398  0x000074f5 fetch  0x00000001 , 0x00008085 
+ 00023399  0x000074f6 or_into  0x00000004 , 0x0000003f 
+ 00023400  0x000074f7 store  0x00000001 , 0x00008085 
+ 00023401  0x000074f8 rtn 
+ 00023402  0x000074fd fetch  0x00000001 , 0x00008085 
+ 00023403  0x000074fe and_into  0x000000fd , 0x0000003f 
+ 00023404  0x000074ff store  0x00000001 , 0x00008085 
+ 00023405  0x00007500 rtn 
+ 00023406  0x00007503 nbranch  0x00005b72 , 0x00000028 
+ 00023407  0x00007504 fetch  0x00000001 , 0x00008085 
+ 00023408  0x00007505 or_into  0x00000002 , 0x0000003f 
+ 00023409  0x00007506 store  0x00000001 , 0x00008085 
+ 00023410  0x00007508 copy  0x00000002 , 0x0000003e 
+ 00023411  0x00007509 branch  0x00005b75 , 0x00000005 
+ 00023412  0x0000750a copy  0x00000013 , 0x0000003d 
+ 00023413  0x0000750c isolate0  0x00000000 , 0x0000003e 
+ 00023414  0x0000750d branch  0x00005c92 
+ 00023415  0x00007511 force  0x00000004 , 0x00000002 
+ 00023416  0x00007513 arg  0x000002eb , 0x00000011 
+ 00023417  0x00007514 call  0x00005b6a 
+ 00023418  0x00007515 call  0x00005b72 
+ 00023419  0x00007516 arg  0x000055aa , 0x00000011 
+ 00023420  0x00007517 fetch  0x00000002 , 0x000002eb 
+ 00023421  0x00007518 ifetcht  0x00000002 , 0x00000006 
+ 00023422  0x00007519 isub  0x00000011 , 0x0000003e 
+ 00023423  0x0000751a rtn 
+ 00023424  0x0000751e arg  0x00000002 , 0x00000002 
+ 00023425  0x0000751f arg  0x000002f1 , 0x00000011 
+ 00023426  0x00007520 call  0x00005b72 
+ 00023427  0x00007521 fetch  0x00000002 , 0x000002f1 
+ 00023428  0x00007522 store  0x00000002 , 0x000002e4 
+ 00023429  0x00007523 call  0x00005b87 , 0x00000028 
+ 00023430  0x00007524 rtn 
+ 00023431  0x00007527 arg  0x00000010 , 0x00000002 
+ 00023432  0x00007528 arg  0x000002f3 , 0x00000011 
+ 00023433  0x00007529 call  0x00005b6a 
+ 00023434  0x0000752a call  0x00005b72 
+ 00023435  0x0000752c arg  0x000002f3 , 0x00000006 
+ 00023436  0x0000752d arg  0x00000010 , 0x00000039 
+ 00023437  0x0000752e call  0x00006e1a 
+ 00023438  0x0000752f call  0x00006dca 
+ 00023439  0x00007530 call  0x00006e36 
+ 00023440  0x00007531 branch  0x00006dc4 
+ 00023441  0x00007534 setarg  0x00000000 
+ 00023442  0x00007535 store  0x00000002 , 0x00000985 
+ 00023443  0x00007536 disable  0x0000002d 
+ 00023444  0x00007537 call  0x00005b77 
+ 00023445  0x00007538 nrtn  0x00000005 
+ 00023446  0x00007539 jam  0x00000080 , 0x00008023 
+ 00023447  0x0000753a jam  0x00000000 , 0x00008022 
+ 00023448  0x0000753b jam  0x00000000 , 0x00008024 
+ 00023449  0x0000753c arg  0x00008025 , 0x00000011 
+ 00023450  0x0000753d call  0x00005b6e 
+ 00023451  0x0000753e jam  0x00000000 , 0x00008023 
+ 00023452  0x00007540 arg  0x00000006 , 0x00000002 
+ 00023453  0x00007541 call  0x00005b78 
+ 00023454  0x00007542 nbranch  0x00005bb8 , 0x00000005 
+ 00023455  0x00007543 ifetch  0x00000002 , 0x00000006 
+ 00023456  0x00007544 iforce  0x00000011 
+ 00023457  0x00007545 call  0x00005b72 
+ 00023458  0x00007546 call  0x00005baf 
+ 00023459  0x00007547 branch  0x00005b9c 
+ 00023460  0x0000754a arg  0x0000aa55 , 0x00000011 
+ 00023461  0x0000754b fetch  0x00000002 , 0x000002eb 
+ 00023462  0x0000754c isub  0x00000011 , 0x0000003e 
+ 00023463  0x0000754d nrtn  0x00000005 
+ 00023464  0x0000754e arg  0x000055aa , 0x00000011 
+ 00023465  0x0000754f fetch  0x00000002 , 0x000002ed 
+ 00023466  0x00007550 isub  0x00000011 , 0x0000003e 
+ 00023467  0x00007551 nrtn  0x00000005 
+ 00023468  0x00007552 fetch  0x00000002 , 0x000002ef 
+ 00023469  0x00007553 store  0x00000002 , 0x00000970 
+ 00023470  0x00007554 rtn 
+ 00023471  0x00007558 fetch  0x00000002 , 0x00000985 
+ 00023472  0x00007559 arg  0x00000006 , 0x00000039 
+ 00023473  0x0000755a arg  0x000002eb , 0x00000006 
+ 00023474  0x0000755b call  0x00007ed3 
+ 00023475  0x0000755c fetchr  0x00000039 , 0x00000002 , 0x000002ed 
+ 00023476  0x0000755d copy  0x00000011 , 0x00000006 
+ 00023477  0x0000755e call  0x00007ed3 
+ 00023478  0x0000755f store  0x00000002 , 0x00000985 
+ 00023479  0x00007560 rtn 
+ 00023480  0x00007563 call  0x00005ba4 
+ 00023481  0x00007564 branch  0x00005b9c , 0x00000005 
+ 00023482  0x00007565 fetch  0x00000002 , 0x00000970 
+ 00023483  0x00007566 fetcht  0x00000002 , 0x00000985 
+ 00023484  0x00007567 isub  0x00000002 , 0x0000003e 
+ 00023485  0x00007568 nrtn  0x00000005 
+ 00023486  0x00007569 enable  0x0000002d 
+ 00023487  0x0000756a rtn 
+ 00023488  0x0000756e fetch  0x00000001 , 0x00000a04 
+ 00023489  0x0000756f arg  0x00000a01 , 0x00000006 
+ 00023490  0x00007570 iadd  0x00000006 , 0x00000006 
+ 00023491  0x00007571 jam  0x00000080 , 0x00008023 
+ 00023492  0x00007572 jam  0x00000000 , 0x00008022 
+ 00023493  0x00007573 jam  0x00000000 , 0x00008024 
+ 00023494  0x00007574 arg  0x00008025 , 0x00000011 
+ 00023495  0x00007575 ifetchr  0x00000039 , 0x00000001 , 0x00000006 
+ 00023496  0x00007576 sub  0x00000039 , 0x00000000 , 0x0000003e 
+ 00023497  0x00007577 ncall  0x00005bd6 , 0x00000005 
+ 00023498  0x00007578 jam  0x00000000 , 0x00008023 
+ 00023499  0x0000757a ifetch  0x00000001 , 0x00000006 
+ 00023500  0x0000757b rtn  0x00000034 
+ 00023501  0x0000757c copy  0x0000003f , 0x00000039 
+ 00023502  0x0000757d ifetchr  0x00000012 , 0x00000002 , 0x00000006 
+ 00023503  0x0000757e copy  0x00000012 , 0x00000005 
+ 00023504  0x0000757f call  0x00007dd6 
+ 00023505  0x00007580 branch  0x00005bcb 
+ 00023506  0x00007583 ifetch  0x00000001 , 0x00000006 
+ 00023507  0x00007584 istore  0x00000001 , 0x00000011 
+ 00023508  0x00007585 loop  0x00005bd2 
+ 00023509  0x00007586 rtn 
+ 00023510  0x0000758a call  0x00007ec9 
+ 00023511  0x0000758b copy  0x00000039 , 0x00000002 
+ 00023512  0x0000758c nbranch  0x00005bd2 , 0x00000028 
+ 00023513  0x0000758e sub  0x00000002 , 0x00000000 , 0x0000003e 
+ 00023514  0x0000758f rtn  0x00000005 
+ 00023515  0x00007590 call  0x00005be0 
+ 00023516  0x00007591 call  0x00006dc4 
+ 00023517  0x00007592 add  0x00000002 , 0xfffffff0 , 0x00000002 
+ 00023518  0x00007593 branch  0x00005bd9 , 0x00000002 
+ 00023519  0x00007594 rtn 
+ 00023520  0x00007598 force  0x0000000c , 0x00000038 
+ 00023521  0x00007599 copy  0x00000002 , 0x00000039 
+ 00023522  0x0000759b ifetch  0x00000004 , 0x00000006 
+ 00023523  0x0000759c ixor  0x0000002f , 0x0000003f 
+ 00023524  0x0000759d copy  0x0000003f , 0x0000002f 
+ 00023525  0x0000759e istore  0x00000001 , 0x00000011 
+ 00023526  0x0000759f rshift8  0x0000003f , 0x0000003f 
+ 00023527  0x000075a0 istore  0x00000001 , 0x00000011 
+ 00023528  0x000075a1 rshift8  0x0000003f , 0x0000003f 
+ 00023529  0x000075a2 istore  0x00000001 , 0x00000011 
+ 00023530  0x000075a3 rshift8  0x0000003f , 0x0000003f 
+ 00023531  0x000075a4 istore  0x00000001 , 0x00000011 
+ 00023532  0x000075a5 increase  0x00000001 , 0x00000038 
+ 00023533  0x000075a6 compare  0x00000000 , 0x00000038 , 0x00000003 
+ 00023534  0x000075a7 rtn  0x00000001 
+ 00023535  0x000075a8 add  0x00000039 , 0xfffffffc , 0x00000039 
+ 00023536  0x000075a9 rtn  0x00000005 
+ 00023537  0x000075aa branch  0x00005be2 , 0x00000002 
+ 00023538  0x000075ab rtn 
+ 00023539  0x000075c1 arg  0x00000000 , 0x0000003d 
+ 00023540  0x000075c2 rtn 
+ 00023541  0x000075c6 call  0x00007e77 
+ 00023542  0x000075c7 jam  0x00000025 , 0x00008050 
+ 00023543  0x000075c9 enable  0x00000028 
+ 00023544  0x000075ca jam  0x00000000 , 0x000041e3 
+ 00023545  0x000075cc call  0x00005c58 
+ 00023546  0x000075cd nbranch  0x00005c90 , 0x00000002 
+ 00023547  0x000075ce setarg  0x00000000 
+ 00023548  0x000075cf arg  0x00000a01 , 0x00000011 
+ 00023549  0x000075d0 arg  0x00000040 , 0x00000002 
+ 00023550  0x000075d1 call  0x00005f00 
+ 00023551  0x000075d2 call  0x00005c68 
+ 00023552  0x000075d3 nbranch  0x00005bf9 , 0x00000028 
+ 00023553  0x000075d4 call  0x00005cb0 
+ 00023554  0x000075d6 disable  0x00000028 
+ 00023555  0x000075d7 fetch  0x00000001 , 0x00000a01 
+ 00023556  0x000075d8 bbit0  0x00000003 , 0x00005c17 
+ 00023557  0x000075d9 call  0x00006e33 
+ 00023558  0x000075da jam  0x00000008 , 0x00008006 
+ 00023559  0x000075db set1  0x0000002b , 0x00000000 
+ 00023560  0x000075dc force  0x00000004 , 0x00000038 
+ 00023561  0x000075dd call  0x00006e37 
+ 00023562  0x000075de force  0x00000004 , 0x00000038 
+ 00023563  0x000075df fetchr  0x0000002f , 0x00000004 , 0x00000a3d 
+ 00023564  0x000075e0 setarg  0x00f1ab8f 
+ 00023565  0x000075e1 store  0x00000004 , 0x000002f3 
+ 00023566  0x000075e2 lshift2  0x0000003f , 0x0000003f 
+ 00023567  0x000075e3 istore  0x00000004 , 0x00000005 
+ 00023568  0x000075e4 lshift  0x0000003f , 0x0000003f 
+ 00023569  0x000075e5 istore  0x00000004 , 0x00000005 
+ 00023570  0x000075e6 lshift2  0x0000003f , 0x0000003f 
+ 00023571  0x000075e7 istore  0x00000004 , 0x00000005 
+ 00023572  0x000075e8 call  0x00005b6a 
+ 00023573  0x000075e9 call  0x00005b8b 
+ 00023574  0x000075ea enable  0x00000028 
+ 00023575  0x000075ec fetch  0x00000004 , 0x00000a01 
+ 00023576  0x000075ed branch  0x00005c1e , 0x00000034 
+ 00023577  0x000075ee store  0x00000003 , 0x000044ce 
+ 00023578  0x000075ef call  0x00007ecb 
+ 00023579  0x000075f0 call  0x00005ceb 
+ 00023580  0x000075f1 call  0x00005bc0 
+ 00023581  0x000075f2 call  0x00005bf3 , 0x0000002c 
+ 00023582  0x000075f4 jam  0x00000000 , 0x000041e3 
+ 00023583  0x000075f6 fetch  0x00000001 , 0x00000a01 
+ 00023584  0x000075f7 bbit1  0x00000002 , 0x00005c3d 
+ 00023585  0x000075f8 call  0x00005c58 
+ 00023586  0x000075f9 nbranch  0x00005c2a , 0x00000002 
+ 00023587  0x000075fa call  0x00005c36 
+ 00023588  0x000075fb call  0x00005e5c 
+ 00023589  0x000075fc call  0x00005c8a 
+ 00023590  0x000075fd nbranch  0x00005c1f , 0x0000002d 
+ 00023591  0x000075fe fetch  0x00000001 , 0x000002e1 
+ 00023592  0x000075ff bbit0  0x00000000 , 0x00005c1f 
+ 00023593  0x00007600 branch  0x00005c4c 
+ 00023594  0x00007603 jam  0x00000000 , 0x000041e3 
+ 00023595  0x00007605 fetch  0x00000001 , 0x00000a01 
+ 00023596  0x00007606 bbit1  0x00000002 , 0x00005c3d 
+ 00023597  0x00007607 call  0x00005c58 
+ 00023598  0x00007608 nbranch  0x00005c3d , 0x00000002 
+ 00023599  0x00007609 call  0x00005c36 
+ 00023600  0x0000760a call  0x00005e59 
+ 00023601  0x0000760b call  0x00005c8a 
+ 00023602  0x0000760c nbranch  0x00005c2b , 0x0000002d 
+ 00023603  0x0000760d fetch  0x00000001 , 0x000002e1 
+ 00023604  0x0000760e bbit0  0x00000000 , 0x00005c2b 
+ 00023605  0x0000760f branch  0x00005c4c 
+ 00023606  0x00007612 fetch  0x00000001 , 0x000044c5 
+ 00023607  0x00007613 fetcht  0x00000001 , 0x000044c4 
+ 00023608  0x00007614 isub  0x00000002 , 0x0000003e 
+ 00023609  0x00007615 nbranch  0x00005e42 , 0x00000005 
+ 00023610  0x00007617 setarg  0x00000102 
+ 00023611  0x00007618 store  0x00000003 , 0x000044c3 
+ 00023612  0x00007619 branch  0x00005e42 
+ 00023613  0x0000761c jam  0x00000000 , 0x000041e3 
+ 00023614  0x0000761e fetch  0x00000001 , 0x00000a01 
+ 00023615  0x0000761f bbit1  0x00000001 , 0x00005c4c 
+ 00023616  0x00007620 call  0x00005c58 
+ 00023617  0x00007621 nbranch  0x00005c4c , 0x00000002 
+ 00023618  0x00007622 call  0x00005daf 
+ 00023619  0x00007623 nop  0x000000c8 
+ 00023620  0x00007624 call  0x00005dbd 
+ 00023621  0x00007625 nop  0x00000064 
+ 00023622  0x00007626 arg  0x00005df1 , 0x00000013 
+ 00023623  0x00007627 call  0x00005b80 
+ 00023624  0x00007628 call  0x00005b91 
+ 00023625  0x00007629 nbranch  0x00005c3e , 0x0000002d 
+ 00023626  0x0000762a fetch  0x00000001 , 0x000002e1 
+ 00023627  0x0000762b bbit0  0x00000000 , 0x00005c3e 
+ 00023628  0x0000762e fetch  0x00000001 , 0x00000a01 
+ 00023629  0x0000762f bbit0  0x00000000 , 0x00005c50 
+ 00023630  0x00007630 call  0x00005c50 
+ 00023631  0x00007631 branch  0x00004d18 
+ 00023632  0x00007634 setarg  0x00000000 
+ 00023633  0x00007635 store  0x00000004 , 0x00000a3d 
+ 00023634  0x00007636 store  0x00000008 , 0x000002f3 
+ 00023635  0x00007637 istore  0x00000008 , 0x00000005 
+ 00023636  0x00007638 force  0x00000004 , 0x00000038 
+ 00023637  0x00007639 call  0x00006e37 
+ 00023638  0x0000763a jam  0x00000021 , 0x00008050 
+ 00023639  0x0000763b rtn 
+ 00023640  0x00007642 call  0x00005c5e 
+ 00023641  0x00007643 fetch  0x00000001 , 0x000041e3 
+ 00023642  0x00007644 increase  0x00000001 , 0x0000003f 
+ 00023643  0x00007645 sub  0x0000003f , 0x00000003 , 0x0000003e 
+ 00023644  0x00007646 store  0x00000001 , 0x000041e3 
+ 00023645  0x00007647 rtn 
+ 00023646  0x0000764a fetch  0x00000001 , 0x000041e3 
+ 00023647  0x0000764b rtn  0x00000034 
+ 00023648  0x0000764c fetch  0x00000001 , 0x00000a2c 
+ 00023649  0x0000764d and_into  0x00000040 , 0x0000003f 
+ 00023650  0x0000764e rtn  0x00000034 
+ 00023651  0x0000764f branch  0x00007d89 
+ 00023652  0x00007655 rshift4  0x0000003f , 0x00000002 
+ 00023653  0x00007656 and  0x0000003f , 0x0000000f , 0x0000003f 
+ 00023654  0x00007657 ixor  0x00000002 , 0x0000003f 
+ 00023655  0x00007658 rtn 
+ 00023656  0x0000765b fetch  0x00000004 , 0x00000a01 
+ 00023657  0x0000765c rtn  0x00000034 
+ 00023658  0x0000765d fetch  0x00000001 , 0x00000a01 
+ 00023659  0x0000765e call  0x00005c64 
+ 00023660  0x0000765f bne  0x0000000f , 0x00007ec7 
+ 00023661  0x00007660 fetch  0x00000001 , 0x00000a02 
+ 00023662  0x00007661 call  0x00005c64 
+ 00023663  0x00007662 bne  0x0000000f , 0x00007ec7 
+ 00023664  0x00007665 fetch  0x00000001 , 0x00000a01 
+ 00023665  0x00007666 ifetcht  0x00000001 , 0x00000006 
+ 00023666  0x00007667 iadd  0x00000002 , 0x0000003f 
+ 00023667  0x00007668 ifetcht  0x00000001 , 0x00000006 
+ 00023668  0x00007669 iadd  0x00000002 , 0x0000003f 
+ 00023669  0x0000766a ifetcht  0x00000001 , 0x00000006 
+ 00023670  0x0000766b iadd  0x00000002 , 0x00000011 
+ 00023671  0x0000766c arg  0x00000a01 , 0x0000003f 
+ 00023672  0x0000766d iadd  0x00000002 , 0x00000006 
+ 00023673  0x0000766e copy  0x00000011 , 0x0000003f 
+ 00023674  0x0000766f ifetchr  0x00000039 , 0x00000001 , 0x00000006 
+ 00023675  0x00007670 iadd  0x00000039 , 0x0000003f 
+ 00023676  0x00007671 call  0x00007ed3 
+ 00023677  0x00007672 call  0x00005c83 
+ 00023678  0x00007673 ifetcht  0x00000001 , 0x00000006 
+ 00023679  0x00007674 and  0x0000003f , 0x000000ff , 0x0000003f 
+ 00023680  0x00007675 isub  0x00000002 , 0x0000003e 
+ 00023681  0x00007676 nbranch  0x00007ec7 , 0x00000005 
+ 00023682  0x00007677 rtn 
+ 00023683  0x0000767a ifetchr  0x00000039 , 0x00000001 , 0x00000006 
+ 00023684  0x0000767b sub  0x00000039 , 0x00000000 , 0x0000003e 
+ 00023685  0x0000767c rtn  0x00000005 
+ 00023686  0x0000767d iadd  0x00000039 , 0x0000003f 
+ 00023687  0x0000767e increase  0x00000002 , 0x00000039 
+ 00023688  0x0000767f call  0x00007ed3 
+ 00023689  0x00007680 branch  0x00005c83 
+ 00023690  0x00007683 setarg  0x00000000 
+ 00023691  0x00007684 store  0x00000002 , 0x000002e4 
+ 00023692  0x00007685 arg  0x00005e7f , 0x00000013 
+ 00023693  0x00007686 call  0x00005e2b 
+ 00023694  0x00007687 call  0x00005b80 
+ 00023695  0x00007688 branch  0x00005b91 
+ 00023696  0x00007694 call  0x00005c50 
+ 00023697  0x00007695 branch  0x00005d33 
+ 00023698  0x0000769a fetch  0x00000001 , 0x000002e1 
+ 00023699  0x0000769b lshift  0x0000003f , 0x0000003f 
+ 00023700  0x0000769c setflag  0x00000001 , 0x00000000 , 0x0000003f 
+ 00023701  0x0000769d isolate0  0x0000000f , 0x00000011 
+ 00023702  0x0000769e rtn  0x00000001 
+ 00023703  0x0000769f store  0x00000001 , 0x000002e1 
+ 00023704  0x000076a0 rtn 
+ 00023705  0x000076a4 fetch  0x00000001 , 0x00008085 
+ 00023706  0x000076a5 rtnbit0  0x00000001 
+ 00023707  0x000076a6 branch  0x00005c9f 
+ 00023708  0x000076a8 fetch  0x00000001 , 0x0000812c 
+ 00023709  0x000076a9 qisolate1  0x0000003f 
+ 00023710  0x000076aa rtn  0x00000001 
+ 00023711  0x000076ac fetch  0x00000001 , 0x00008108 
+ 00023712  0x000076ad bbit0  0x00000001 , 0x00005c9c 
+ 00023713  0x000076ae call  0x00006dc4 
+ 00023714  0x000076af branch  0x00005c9c 
+ 00023715  0x000076c4 fetch  0x00000002 , 0x000041a6 
+ 00023716  0x000076c5 rtn  0x00000034 
+ 00023717  0x000076c6 jam  0x00000080 , 0x00008023 
+ 00023718  0x000076c7 jam  0x00000000 , 0x00008022 
+ 00023719  0x000076c8 jam  0x00000000 , 0x00008024 
+ 00023720  0x000076c9 fetcht  0x00000002 , 0x000041a8 
+ 00023721  0x000076ca lshift2  0x00000002 , 0x00000039 
+ 00023722  0x000076cb iforce  0x00000006 
+ 00023723  0x000076cd ifetch  0x00000001 , 0x00000006 
+ 00023724  0x000076ce store  0x00000001 , 0x00008025 
+ 00023725  0x000076cf loop  0x00005cab 
+ 00023726  0x000076d0 jam  0x00000000 , 0x00008023 
+ 00023727  0x000076d1 rtn 
+ 00023728  0x000076d7 fetch  0x00000001 , 0x00000a31 
+ 00023729  0x000076d8 and_into  0x0000000f , 0x0000003f 
+ 00023730  0x000076d9 isolate1  0x00000003 , 0x0000003f 
+ 00023731  0x000076da setflag  0x00000001 , 0x00000004 , 0x0000003f 
+ 00023732  0x000076db lshift  0x0000003f , 0x0000003f 
+ 00023733  0x000076dc store  0x00000001 , 0x00004182 
+ 00023734  0x000076dd branch  0x00001554 
+ 00023735  0x000076e0 fetch  0x00000001 , 0x00000a2c 
+ 00023736  0x000076e1 and_into  0x0000000f , 0x0000003f 
+ 00023737  0x000076e2 rtn  0x00000034 
+ 00023738  0x000076e3 store  0x00000001 , 0x0000409a 
+ 00023739  0x000076e4 fetch  0x00000001 , 0x00000a2d 
+ 00023740  0x000076e5 store  0x00000001 , 0x0000417b 
+ 00023741  0x000076e6 fetch  0x00000001 , 0x00000a2e 
+ 00023742  0x000076e7 store  0x00000001 , 0x0000417d 
+ 00023743  0x000076e8 rtn 
+ 00023744  0x000076eb fetch  0x00000001 , 0x00000a2c 
+ 00023745  0x000076ec and_into  0x00000030 , 0x0000003f 
+ 00023746  0x000076ed rshift4  0x0000003f , 0x0000003f 
+ 00023747  0x000076ee rtn  0x00000034 
+ 00023748  0x000076ef store  0x00000001 , 0x000044d2 
+ 00023749  0x000076f0 rtn 
+ 00023750  0x000076f3 fetch  0x00000001 , 0x00000a32 
+ 00023751  0x000076f4 and_into  0x0000000f , 0x0000003f 
+ 00023752  0x000076f5 rtn  0x00000034 
+ 00023753  0x000076f6 store  0x00000001 , 0x000044d3 
+ 00023754  0x000076f7 rtn 
+ 00023755  0x000076fa fetch  0x00000001 , 0x00000a32 
+ 00023756  0x000076fb and_into  0x00000030 , 0x0000003f 
+ 00023757  0x000076fc rshift4  0x0000003f , 0x0000003f 
+ 00023758  0x000076fd rtn  0x00000034 
+ 00023759  0x000076fe store  0x00000001 , 0x000044d4 
+ 00023760  0x000076ff rtn 
+ 00023761  0x00007702 fetch  0x00000001 , 0x00000a33 
+ 00023762  0x00007703 rtn  0x00000034 
+ 00023763  0x00007704 store  0x00000001 , 0x000044d5 
+ 00023764  0x00007705 rtn 
+ 00023765  0x00007708 fetch  0x00000001 , 0x00000a32 
+ 00023766  0x00007709 bbit1  0x00000007 , 0x00005cde 
+ 00023767  0x0000770a jam  0x00000088 , 0x000041eb 
+ 00023768  0x0000770b jam  0x00000066 , 0x000041ec 
+ 00023769  0x0000770c jam  0x00000044 , 0x000041ed 
+ 00023770  0x0000770d fetch  0x00000002 , 0x00000a2f 
+ 00023771  0x0000770e rtn  0x00000034 
+ 00023772  0x0000770f store  0x00000002 , 0x000041ec 
+ 00023773  0x00007710 rtn 
+ 00023774  0x00007713 jam  0x000000ff , 0x000041ea 
+ 00023775  0x00007714 fetch  0x00000001 , 0x00000a32 
+ 00023776  0x00007715 and_into  0x00000040 , 0x0000003f 
+ 00023777  0x00007716 rshift3  0x0000003f , 0x0000003f 
+ 00023778  0x00007717 store  0x00000001 , 0x000041ee 
+ 00023779  0x00007718 rtn 
+ 00023780  0x0000771c jam  0x00000073 , 0x00008002 
+ 00023781  0x0000771d until  0x0000003e , 0x00000033 
+ 00023782  0x0000771e until  0x0000003e , 0x00000033 
+ 00023783  0x0000771f fetch  0x00000002 , 0x00008120 
+ 00023784  0x00007720 set0  0x0000000d , 0x0000003f 
+ 00023785  0x00007721 store  0x00000002 , 0x0000804c 
+ 00023786  0x00007722 branch  0x00005d4e 
+ 00023787  0x00007727 fetch  0x00000001 , 0x00000a02 
+ 00023788  0x00007728 and  0x0000003f , 0x0000000f , 0x0000003f 
+ 00023789  0x00007729 beq  0x0000000a , 0x00005cf8 
+ 00023790  0x0000772a beq  0x00000001 , 0x00005cf8 
+ 00023791  0x0000772b beq  0x00000004 , 0x00005cfb 
+ 00023792  0x0000772c beq  0x00000008 , 0x00005d00 
+ 00023793  0x0000772d beq  0x00000009 , 0x00005d05 
+ 00023794  0x0000772e beq  0x0000000b , 0x00005d0a 
+ 00023795  0x0000772f beq  0x0000000c , 0x00005cf8 
+ 00023796  0x00007730 beq  0x0000000d , 0x00005d0d 
+ 00023797  0x00007731 beq  0x0000000e , 0x00005d12 
+ 00023798  0x00007732 beq  0x0000000f , 0x00005d17 
+ 00023799  0x00007733 rtn 
+ 00023800  0x00007738 call  0x00005ce4 
+ 00023801  0x00007739 call  0x00005d1c 
+ 00023802  0x0000773a branch  0x00005d3d 
+ 00023803  0x0000773d call  0x00005ce4 
+ 00023804  0x0000773e arg  0x00003814 , 0x0000003f 
+ 00023805  0x0000773f arg  0x00004c50 , 0x00000002 
+ 00023806  0x00007740 call  0x00005d22 
+ 00023807  0x00007741 branch  0x00005d3d 
+ 00023808  0x00007745 call  0x00005ce4 
+ 00023809  0x00007746 arg  0x000032b9 , 0x0000003f 
+ 00023810  0x00007747 arg  0x00003c71 , 0x00000002 
+ 00023811  0x00007748 call  0x00005d22 
+ 00023812  0x00007749 branch  0x00005d3d 
+ 00023813  0x0000774c call  0x00005ce4 
+ 00023814  0x0000774d arg  0x000032b9 , 0x0000003f 
+ 00023815  0x0000774e arg  0x00004adb , 0x00000002 
+ 00023816  0x0000774f call  0x00005d22 
+ 00023817  0x00007750 branch  0x00005d3d 
+ 00023818  0x00007753 call  0x00005ce4 
+ 00023819  0x00007754 call  0x00005d25 
+ 00023820  0x00007755 branch  0x00005d3d 
+ 00023821  0x00007758 call  0x00005ce4 
+ 00023822  0x00007759 arg  0x000032b9 , 0x0000003f 
+ 00023823  0x0000775a arg  0x000049ef , 0x00000002 
+ 00023824  0x0000775b call  0x00005d22 
+ 00023825  0x0000775c branch  0x00005d3d 
+ 00023826  0x0000775f call  0x00005ce4 
+ 00023827  0x00007760 arg  0x0000369a , 0x0000003f 
+ 00023828  0x00007761 arg  0x00004c50 , 0x00000002 
+ 00023829  0x00007762 call  0x00005d22 
+ 00023830  0x00007763 branch  0x00005d3d 
+ 00023831  0x00007766 call  0x00005ce4 
+ 00023832  0x00007767 arg  0x0000345e , 0x0000003f 
+ 00023833  0x00007768 arg  0x00004c50 , 0x00000002 
+ 00023834  0x00007769 call  0x00005d22 
+ 00023835  0x0000776a branch  0x00005d3d 
+ 00023836  0x0000776d arg  0x00002735 , 0x0000003f 
+ 00023837  0x0000776e arg  0x0000314b , 0x00000002 
+ 00023838  0x0000776f branch  0x00005d22 
+ 00023839  0x00007774 call  0x00005ce4 
+ 00023840  0x00007775 arg  0x00003814 , 0x0000003f 
+ 00023841  0x00007776 arg  0x00003c71 , 0x00000002 
+ 00023842  0x00007778 store  0x00000002 , 0x00008013 
+ 00023843  0x00007779 storet  0x00000002 , 0x00008015 
+ 00023844  0x0000777a rtn 
+ 00023845  0x0000777d arg  0x000032b9 , 0x0000003f 
+ 00023846  0x0000777e arg  0x00004c50 , 0x00000002 
+ 00023847  0x0000777f branch  0x00005d22 
+ 00023848  0x00007782 arg  0x000053f2 , 0x0000003f 
+ 00023849  0x00007783 arg  0x00005b49 , 0x00000002 
+ 00023850  0x00007784 branch  0x00005d2d 
+ 00023851  0x00007787 arg  0x00001c7d , 0x0000003f 
+ 00023852  0x00007788 arg  0x0000217c , 0x00000002 
+ 00023853  0x0000778a store  0x00000002 , 0x00008017 
+ 00023854  0x0000778b storet  0x00000002 , 0x00008019 
+ 00023855  0x0000778c rtn 
+ 00023856  0x0000778f arg  0x00002181 , 0x0000003f 
+ 00023857  0x00007790 arg  0x00002733 , 0x00000002 
+ 00023858  0x00007791 branch  0x00005d2d 
+ 00023859  0x00007794 call  0x00005d28 
+ 00023860  0x00007795 arg  0x00001c7d , 0x0000003f 
+ 00023861  0x00007796 arg  0x0000217c , 0x00000002 
+ 00023862  0x00007797 branch  0x00005d22 
+ 00023863  0x0000779a fetch  0x00000001 , 0x00000a03 
+ 00023864  0x0000779b and  0x0000003f , 0x000000c0 , 0x0000003f 
+ 00023865  0x0000779c beq  0x000000c0 , 0x00005d33 
+ 00023866  0x0000779d bbit1  0x00000006 , 0x00005d2b 
+ 00023867  0x0000779e bbit1  0x00000007 , 0x00005d28 
+ 00023868  0x0000779f rtn 
+ 00023869  0x000077a3 call  0x00005d37 
+ 00023870  0x000077a4 fetch  0x00000001 , 0x00000a03 
+ 00023871  0x000077a5 and  0x0000003f , 0x0000001f , 0x00000011 
+ 00023872  0x000077a6 fetch  0x00000001 , 0x00000a01 
+ 00023873  0x000077a7 and  0x0000003f , 0x0000000f , 0x0000003f 
+ 00023874  0x000077a8 fetcht  0x00000001 , 0x00000a02 
+ 00023875  0x000077a9 and  0x00000002 , 0x0000000f , 0x00000002 
+ 00023876  0x000077aa lshift4  0x00000002 , 0x00000002 
+ 00023877  0x000077ab ior  0x00000002 , 0x0000003f 
+ 00023878  0x000077ac lshift8  0x00000011 , 0x00000011 
+ 00023879  0x000077ad ior  0x00000011 , 0x0000003f 
+ 00023880  0x000077ae set1  0x0000000d , 0x0000003f 
+ 00023881  0x000077af set1  0x0000000e , 0x0000003f 
+ 00023882  0x000077b0 store  0x00000004 , 0x0000804c 
+ 00023883  0x000077b1 call  0x00005d4e 
+ 00023884  0x000077b2 jam  0x00000008 , 0x00008011 
+ 00023885  0x000077b3 rtn 
+ 00023886  0x000077ba setarg  0x00000002 
+ 00023887  0x000077bc until  0x0000003e , 0x00000033 
+ 00023888  0x000077bd store  0x00000001 , 0x00008012 
+ 00023889  0x000077be until  0x0000003e , 0x00000033 
+ 00023890  0x000077bf until  0x0000003e , 0x00000033 
+ 00023891  0x000077c0 rtn 
+ 00023892  0x000077cc bpatchx  0x00000020 , 0x00004024 
+ 00023893  0x000077ce fetch  0x00000001 , 0x00004486 
+ 00023894  0x000077cf store  0x00000001 , 0x00008086 
+ 00023895  0x000077d0 fetch  0x00000001 , 0x00004487 
+ 00023896  0x000077d1 store  0x00000001 , 0x00008087 
+ 00023897  0x000077d2 setarg  0x000002e2 
+ 00023898  0x000077d3 store  0x00000002 , 0x0000808a 
+ 00023899  0x000077d4 setarg  0x000002e7 
+ 00023900  0x000077d5 store  0x00000002 , 0x0000808c 
+ 00023901  0x000077d6 branch  0x00005b62 
+ 00023902  0x000077dc set1  0x00000007 , 0x0000003f 
+ 00023903  0x000077dd store  0x00000002 , 0x000002e2 
+ 00023904  0x000077de bpatchx  0x00000021 , 0x00004024 
+ 00023905  0x000077df jam  0x00000002 , 0x00008088 
+ 00023906  0x000077e0 jam  0x00000000 , 0x0000808e 
+ 00023907  0x000077e1 jam  0x00000002 , 0x00008006 
+ 00023908  0x000077e2 branch  0x00005d6e 
+ 00023909  0x000077e8 force  0x00000001 , 0x00000002 
+ 00023910  0x000077ea store  0x00000001 , 0x000002e2 
+ 00023911  0x000077eb bpatchx  0x00000022 , 0x00004024 
+ 00023912  0x000077ec jam  0x00000001 , 0x00008088 
+ 00023913  0x000077ed storet  0x00000002 , 0x0000808e 
+ 00023914  0x000077ee jam  0x00000002 , 0x00008006 
+ 00023915  0x000077ef call  0x00005d6e 
+ 00023916  0x000077f0 fetch  0x00000001 , 0x000002e7 
+ 00023917  0x000077f1 rtn 
+ 00023918  0x000077f5 fetch  0x00000002 , 0x000040dd 
+ 00023919  0x000077f6 increase  0x00000001 , 0x0000003f 
+ 00023920  0x000077f7 store  0x00000002 , 0x000040dd 
+ 00023921  0x000077f8 fetch  0x00000001 , 0x0000812c 
+ 00023922  0x000077f9 bbit0  0x00000003 , 0x00005d6e 
+ 00023923  0x000077fa rtn 
+ 00023924  0x00007803 disable  0x00000028 
+ 00023925  0x00007804 copy  0x0000003f , 0x00000012 
+ 00023926  0x00007805 fetch  0x00000001 , 0x000044ae 
+ 00023927  0x00007806 rtnne  0x00000000 
+ 00023928  0x00007807 enable  0x00000028 
+ 00023929  0x00007808 copy  0x00000012 , 0x0000003f 
+ 00023930  0x00007809 branch  0x00005d82 
+ 00023931  0x0000780d fetch  0x00000001 , 0x000044ae 
+ 00023932  0x0000780e beq  0x00000001 , 0x00005d82 
+ 00023933  0x0000780f beq  0x00000002 , 0x00005d88 
+ 00023934  0x00007810 beq  0x00000003 , 0x00005d90 
+ 00023935  0x00007811 beq  0x00000004 , 0x00005d94 
+ 00023936  0x00007812 beq  0x00000005 , 0x00005d9a 
+ 00023937  0x00007813 rtn 
+ 00023938  0x00007816 store  0x00000003 , 0x000044a7 
+ 00023939  0x00007817 copy  0x00000011 , 0x0000003f 
+ 00023940  0x00007818 store  0x00000002 , 0x000044aa 
+ 00023941  0x00007819 storet  0x00000002 , 0x000044ac 
+ 00023942  0x0000781a jam  0x00000002 , 0x000044ae 
+ 00023943  0x0000781b branch  0x00005daf 
+ 00023944  0x0000781d call  0x00005daf 
+ 00023945  0x0000781e jam  0x00000003 , 0x000044ae 
+ 00023946  0x0000781f call  0x00005db4 
+ 00023947  0x00007820 arg  0x000002e2 , 0x00000011 
+ 00023948  0x00007821 jam  0x00000004 , 0x00008088 
+ 00023949  0x00007822 fetch  0x00000003 , 0x000044a7 
+ 00023950  0x00007823 arg  0x00000020 , 0x00000002 
+ 00023951  0x00007824 branch  0x00005dc5 
+ 00023952  0x00007827 call  0x00005daf 
+ 00023953  0x00007828 call  0x00005de8 
+ 00023954  0x00007829 jam  0x00000004 , 0x000044ae 
+ 00023955  0x0000782a rtn 
+ 00023956  0x0000782e call  0x00005daf 
+ 00023957  0x0000782f jam  0x00000005 , 0x000044ae 
+ 00023958  0x00007830 call  0x00005db4 
+ 00023959  0x00007831 call  0x00005da7 
+ 00023960  0x00007832 call  0x00005dc1 
+ 00023961  0x00007833 branch  0x00005da2 
+ 00023962  0x00007835 call  0x00005daf 
+ 00023963  0x00007836 call  0x00005db4 
+ 00023964  0x00007837 setarg  0x00000005 
+ 00023965  0x00007838 call  0x00005d65 
+ 00023966  0x00007839 rtnbit1  0x00000000 
+ 00023967  0x0000783a jam  0x00000000 , 0x000044ae 
+ 00023968  0x0000783b fetch  0x00000002 , 0x00004473 
+ 00023969  0x0000783c branch  0x00007e7a 
+ 00023970  0x0000783e fetch  0x00000004 , 0x00000964 
+ 00023971  0x0000783f fetcht  0x00000002 , 0x000044aa 
+ 00023972  0x00007841 increase  0xfffffffc , 0x00000002 
+ 00023973  0x00007842 istore  0x00000004 , 0x00000002 
+ 00023974  0x00007843 rtn 
+ 00023975  0x00007845 fetcht  0x00000002 , 0x000044aa 
+ 00023976  0x00007846 copy  0x00000002 , 0x00000011 
+ 00023977  0x00007847 increase  0xfffffffc , 0x00000002 
+ 00023978  0x00007848 ifetch  0x00000004 , 0x00000002 
+ 00023979  0x00007849 store  0x00000004 , 0x00000964 
+ 00023980  0x0000784a fetcht  0x00000002 , 0x000044ac 
+ 00023981  0x0000784b fetch  0x00000003 , 0x000044a7 
+ 00023982  0x0000784c rtn 
+ 00023983  0x0000784f call  0x00005e13 
+ 00023984  0x00007850 call  0x00005b62 
+ 00023985  0x00007851 setarg  0x00000000 
+ 00023986  0x00007852 store  0x00000004 , 0x000002e2 
+ 00023987  0x00007853 rtn 
+ 00023988  0x00007856 jam  0x00000006 , 0x000002e2 
+ 00023989  0x00007858 setarg  0x00000000 
+ 00023990  0x00007859 store  0x00000002 , 0x0000808e 
+ 00023991  0x0000785a setarg  0x00000001 
+ 00023992  0x0000785b store  0x00000002 , 0x00008088 
+ 00023993  0x0000785c setarg  0x000002e2 
+ 00023994  0x0000785d store  0x00000002 , 0x0000808a 
+ 00023995  0x0000785e jam  0x00000002 , 0x00008006 
+ 00023996  0x0000785f branch  0x00005d6e 
+ 00023997  0x00007862 jam  0x000000ab , 0x000002e2 
+ 00023998  0x00007863 branch  0x00005db5 
+ 00023999  0x00007866 jam  0x000000b9 , 0x000002e2 
+ 00024000  0x00007867 branch  0x00005db5 
+ 00024001  0x0000786b increase  0x00000004 , 0x00000002 
+ 00024002  0x0000786c storet  0x00000002 , 0x00008088 
+ 00024003  0x0000786d arg  0x00000002 , 0x00000002 
+ 00024004  0x0000786e increase  0xfffffffc , 0x00000011 
+ 00024005  0x00007871 istoret  0x00000001 , 0x00000011 
+ 00024006  0x00007872 rshift16  0x0000003f , 0x00000002 
+ 00024007  0x00007873 istoret  0x00000001 , 0x00000005 
+ 00024008  0x00007874 rshift8  0x0000003f , 0x00000002 
+ 00024009  0x00007875 istoret  0x00000001 , 0x00000005 
+ 00024010  0x00007876 istore  0x00000001 , 0x00000005 
+ 00024011  0x00007877 deposit  0x00000011 
+ 00024012  0x00007878 store  0x00000002 , 0x0000808a 
+ 00024013  0x00007879 setarg  0x00000000 
+ 00024014  0x0000787a store  0x00000002 , 0x0000808e 
+ 00024015  0x0000787b jam  0x00000002 , 0x00008006 
+ 00024016  0x0000787c call  0x00005d6e 
+ 00024017  0x0000787d branch  0x00005de8 
+ 00024018  0x00007882 storet  0x00000002 , 0x0000808e 
+ 00024019  0x00007883 rshift16  0x0000003f , 0x00000002 
+ 00024020  0x00007884 storet  0x00000001 , 0x000002e3 
+ 00024021  0x00007885 rshift8  0x0000003f , 0x00000002 
+ 00024022  0x00007886 storet  0x00000001 , 0x000002e4 
+ 00024023  0x00007887 store  0x00000001 , 0x000002e5 
+ 00024024  0x00007888 setarg  0x00000004 
+ 00024025  0x00007889 store  0x00000002 , 0x00008088 
+ 00024026  0x0000788a jam  0x00000003 , 0x000002e2 
+ 00024027  0x0000788b setarg  0x000002e2 
+ 00024028  0x0000788c store  0x00000002 , 0x0000808a 
+ 00024029  0x0000788d deposit  0x00000011 
+ 00024030  0x0000788e store  0x00000002 , 0x0000808c 
+ 00024031  0x0000788f fetch  0x00000001 , 0x00008086 
+ 00024032  0x00007890 isolate0  0x0000000f , 0x00000011 
+ 00024033  0x00007891 setflag  0x00000001 , 0x00000006 , 0x0000003f 
+ 00024034  0x00007892 store  0x00000001 , 0x00008086 
+ 00024035  0x00007893 jam  0x00000002 , 0x00008006 
+ 00024036  0x00007895 fetch  0x00000001 , 0x0000812c 
+ 00024037  0x00007896 bbit1  0x00000007 , 0x00005de4 
+ 00024038  0x00007897 arg  0x00000003 , 0x00000007 
+ 00024039  0x00007898 branch  0x00005d6e 
+ 00024040  0x0000789b setarg  0x000007d0 
+ 00024041  0x0000789c call  0x0000137f 
+ 00024042  0x0000789d call  0x00005db4 
+ 00024043  0x0000789e setarg  0x000002e7 
+ 00024044  0x0000789f store  0x00000002 , 0x0000808c 
+ 00024045  0x000078a0 setarg  0x00000005 
+ 00024046  0x000078a1 call  0x00005d65 
+ 00024047  0x000078a2 bbit1  0x00000000 , 0x00005de8 
+ 00024048  0x000078a3 rtn 
+ 00024049  0x000078a8 storet  0x00000002 , 0x0000808e 
+ 00024050  0x000078a9 setarg  0x00000004 
+ 00024051  0x000078aa store  0x00000002 , 0x00008088 
+ 00024052  0x000078ab jam  0x00000003 , 0x000002e2 
+ 00024053  0x000078ac setarg  0x000002e2 
+ 00024054  0x000078ad store  0x00000002 , 0x0000808a 
+ 00024055  0x000078ae deposit  0x00000011 
+ 00024056  0x000078af store  0x00000002 , 0x0000808c 
+ 00024057  0x000078b0 fetch  0x00000001 , 0x00008086 
+ 00024058  0x000078b1 isolate0  0x0000000f , 0x00000011 
+ 00024059  0x000078b2 setflag  0x00000001 , 0x00000006 , 0x0000003f 
+ 00024060  0x000078b3 store  0x00000001 , 0x00008086 
+ 00024061  0x000078b4 jam  0x00000002 , 0x00008006 
+ 00024062  0x000078b6 fetch  0x00000001 , 0x0000812c 
+ 00024063  0x000078b7 bbit1  0x00000007 , 0x00005dfe 
+ 00024064  0x000078b8 arg  0x00000003 , 0x00000007 
+ 00024065  0x000078b9 call  0x00005c99 
+ 00024066  0x000078ba call  0x00005d6e 
+ 00024067  0x000078bb isolate1  0x00000002 , 0x0000003f 
+ 00024068  0x000078bc call  0x00005c92 
+ 00024069  0x000078bd fetch  0x00000001 , 0x000002e3 
+ 00024070  0x000078be lshift16  0x0000003f , 0x00000012 
+ 00024071  0x000078bf fetch  0x00000001 , 0x000002e4 
+ 00024072  0x000078c0 lshift8  0x0000003f , 0x0000003f 
+ 00024073  0x000078c1 ior  0x00000012 , 0x00000012 
+ 00024074  0x000078c2 fetch  0x00000001 , 0x000002e5 
+ 00024075  0x000078c3 ior  0x00000012 , 0x0000003f 
+ 00024076  0x000078c4 iadd  0x00000002 , 0x0000003f 
+ 00024077  0x000078c5 store  0x00000001 , 0x000002e5 
+ 00024078  0x000078c6 rshift8  0x0000003f , 0x0000003f 
+ 00024079  0x000078c7 store  0x00000001 , 0x000002e4 
+ 00024080  0x000078c8 rshift8  0x0000003f , 0x0000003f 
+ 00024081  0x000078c9 store  0x00000001 , 0x000002e3 
+ 00024082  0x000078ca rtn 
+ 00024083  0x000078cd fetch  0x00000001 , 0x000044b7 
+ 00024084  0x000078ce fetcht  0x00000001 , 0x000044b9 
+ 00024085  0x000078cf isub  0x00000002 , 0x0000003e 
+ 00024086  0x000078d0 nbranch  0x00005e18 , 0x00000005 
+ 00024087  0x000078d1 call  0x00005e24 
+ 00024088  0x000078d4 fetch  0x00000001 , 0x000044b7 
+ 00024089  0x000078d5 arg  0x00000020 , 0x00000002 
+ 00024090  0x000078d6 call  0x0000612c 
+ 00024091  0x000078d7 fetch  0x00000001 , 0x000044ba 
+ 00024092  0x000078d8 arg  0x00000021 , 0x00000002 
+ 00024093  0x000078d9 call  0x0000612c 
+ 00024094  0x000078da fetch  0x00000001 , 0x000044b8 
+ 00024095  0x000078db arg  0x00000022 , 0x00000002 
+ 00024096  0x000078dc call  0x0000612c 
+ 00024097  0x000078dd fetch  0x00000001 , 0x000044b9 
+ 00024098  0x000078de arg  0x0000001f , 0x00000002 
+ 00024099  0x000078df branch  0x0000612c 
+ 00024100  0x000078e2 setarg  0x00100d0e 
+ 00024101  0x000078e3 store  0x00000003 , 0x000044b7 
+ 00024102  0x000078e4 setarg  0x0012110f 
+ 00024103  0x000078e5 istore  0x00000003 , 0x00000005 
+ 00024104  0x000078e6 rtn 
+ 00024105  0x000078ec jam  0x00000001 , 0x00008010 
+ 00024106  0x000078ed rtn 
+ 00024107  0x000078f4 jam  0x00000005 , 0x00008091 
+ 00024108  0x000078f5 jam  0x00000007 , 0x00008092 
+ 00024109  0x000078f6 jam  0x00000007 , 0x00008093 
+ 00024110  0x000078f7 jam  0x00000007 , 0x00008094 
+ 00024111  0x000078f8 jam  0x00000007 , 0x00008095 
+ 00024112  0x000078f9 jam  0x00000005 , 0x00008096 
+ 00024113  0x000078fa jam  0x00000000 , 0x00008097 
+ 00024114  0x000078fb rtn 
+ 00024115  0x000078fe jam  0x0000000c , 0x00008091 
+ 00024116  0x000078ff jam  0x0000000d , 0x00008092 
+ 00024117  0x00007900 jam  0x0000000d , 0x00008093 
+ 00024118  0x00007901 jam  0x0000000d , 0x00008094 
+ 00024119  0x00007902 jam  0x0000000d , 0x00008095 
+ 00024120  0x00007903 jam  0x0000000c , 0x00008096 
+ 00024121  0x00007904 jam  0x00000000 , 0x00008097 
+ 00024122  0x00007905 rtn 
+ 00024123  0x00007908 call  0x00005e70 
+ 00024124  0x0000790a fetch  0x00000001 , 0x000044c4 
+ 00024125  0x0000790b arg  0x0000006c , 0x00000002 
+ 00024126  0x0000790c call  0x0000612c 
+ 00024127  0x0000790d fetch  0x00000001 , 0x000044c5 
+ 00024128  0x0000790e arg  0x0000006d , 0x00000002 
+ 00024129  0x0000790f branch  0x0000612c 
+ 00024130  0x00007912 call  0x00005e77 
+ 00024131  0x00007913 branch  0x00005e3c 
+ 00024132  0x00007916 fetch  0x00000001 , 0x0000812c 
+ 00024133  0x00007917 bbit0  0x00000005 , 0x00005e44 
+ 00024134  0x00007918 rtn 
+ 00024135  0x0000791c store  0x00000001 , 0x000002e6 
+ 00024136  0x0000791d setarg  0x000002e6 
+ 00024137  0x0000791e store  0x00000002 , 0x0000809a 
+ 00024138  0x0000791f setarg  0x00000001 
+ 00024139  0x00007920 store  0x00000002 , 0x00008098 
+ 00024140  0x00007921 storet  0x00000002 , 0x0000809e 
+ 00024141  0x00007922 storer  0x00000011 , 0x00000002 , 0x0000809c 
+ 00024142  0x00007923 jam  0x00000001 , 0x00008090 
+ 00024143  0x00007924 jam  0x00000004 , 0x00008006 
+ 00024144  0x00007925 branch  0x00005e44 
+ 00024145  0x00007929 setarg  0x00000000 
+ 00024146  0x0000792a store  0x00000002 , 0x0000809e 
+ 00024147  0x0000792b store  0x00000002 , 0x0000809c 
+ 00024148  0x0000792c storet  0x00000002 , 0x00008098 
+ 00024149  0x0000792d storer  0x00000011 , 0x00000002 , 0x0000809a 
+ 00024150  0x0000792e jam  0x00000001 , 0x00008090 
+ 00024151  0x0000792f jam  0x00000004 , 0x00008006 
+ 00024152  0x00007930 branch  0x00005e44 
+ 00024153  0x00007933 set1  0x00000028 , 0x00000000 
+ 00024154  0x00007934 jam  0x00000008 , 0x00004485 
+ 00024155  0x00007935 rtn 
+ 00024156  0x00007938 set0  0x00000028 , 0x00000000 
+ 00024157  0x00007939 jam  0x00000020 , 0x00004485 
+ 00024158  0x0000793a rtn 
+ 00024159  0x0000793e fetch  0x00000001 , 0x0000447b 
+ 00024160  0x0000793f iadd  0x00000012 , 0x0000003f 
+ 00024161  0x00007940 store  0x00000001 , 0x000002e4 
+ 00024162  0x00007941 branch  0x00005e66 
+ 00024163  0x00007944 fetch  0x00000002 , 0x000002e4 
+ 00024164  0x00007945 byteswap  0x0000003f , 0x0000003f 
+ 00024165  0x00007946 store  0x00000001 , 0x000002e4 
+ 00024166  0x0000794c setarg  0x00000003 
+ 00024167  0x0000794d store  0x00000002 , 0x00008098 
+ 00024168  0x0000794e jam  0x000000a0 , 0x000002e3 
+ 00024169  0x0000794f jam  0x000000a1 , 0x000002e5 
+ 00024170  0x00007950 branch  0x00005e85 
+ 00024171  0x00007957 storet  0x00000002 , 0x00000964 
+ 00024172  0x00007958 call  0x00005e70 
+ 00024173  0x00007959 fetcht  0x00000002 , 0x00000964 
+ 00024174  0x0000795a call  0x00005e9f 
+ 00024175  0x0000795b branch  0x00005e77 
+ 00024176  0x0000795e fetch  0x00000001 , 0x000044c3 
+ 00024177  0x0000795f rtneq  0x000000ff 
+ 00024178  0x00007960 bbit0  0x00000006 , 0x00005e75 
+ 00024179  0x00007961 setarg  0x000249f0 
+ 00024180  0x00007962 call  0x0000137f 
+ 00024181  0x00007964 fetcht  0x00000001 , 0x000044c3 
+ 00024182  0x00007965 branch  0x0000610d 
+ 00024183  0x00007968 fetcht  0x00000001 , 0x000044c3 
+ 00024184  0x00007969 branch  0x00006109 
+ 00024185  0x0000796f bpatchx  0x00000023 , 0x00004024 
+ 00024186  0x00007970 bmark1  0x00000028 , 0x00005e5f 
+ 00024187  0x00007971 fetch  0x00000002 , 0x0000447b 
+ 00024188  0x00007972 iadd  0x00000012 , 0x0000003f 
+ 00024189  0x00007973 byteswap  0x0000003f , 0x0000003f 
+ 00024190  0x00007974 store  0x00000002 , 0x000002e4 
+ 00024191  0x00007978 bpatchx  0x00000024 , 0x00004024 
+ 00024192  0x00007979 bmark1  0x00000028 , 0x00005e63 
+ 00024193  0x0000797a setarg  0x00000004 
+ 00024194  0x0000797b store  0x00000002 , 0x00008098 
+ 00024195  0x0000797c jam  0x000000a0 , 0x000002e3 
+ 00024196  0x0000797d jam  0x000000a1 , 0x000002e6 
+ 00024197  0x0000797f setarg  0x000002e3 
+ 00024198  0x00007980 store  0x00000002 , 0x0000809a 
+ 00024199  0x00007981 storet  0x00000002 , 0x0000809e 
+ 00024200  0x00007982 storer  0x00000011 , 0x00000002 , 0x0000809c 
+ 00024201  0x00007983 setarg  0x00000002 
+ 00024202  0x00007984 isolate0  0x0000000f , 0x00000011 
+ 00024203  0x00007985 setflag  0x00000001 , 0x00000000 , 0x0000003f 
+ 00024204  0x00007986 store  0x00000001 , 0x00008090 
+ 00024205  0x00007987 jam  0x00000004 , 0x00008006 
+ 00024206  0x00007988 arg  0x00000005 , 0x00000007 
+ 00024207  0x00007989 call  0x00005c99 
+ 00024208  0x0000798a call  0x00005e44 
+ 00024209  0x0000798b isolate1  0x00000004 , 0x0000003f 
+ 00024210  0x0000798c call  0x00005c92 
+ 00024211  0x0000798d bmark1  0x00000028 , 0x00005e9a 
+ 00024212  0x0000798e fetch  0x00000002 , 0x000002e4 
+ 00024213  0x0000798f byteswap  0x0000003f , 0x0000003f 
+ 00024214  0x00007990 iadd  0x00000002 , 0x0000003f 
+ 00024215  0x00007991 byteswap  0x0000003f , 0x0000003f 
+ 00024216  0x00007992 store  0x00000002 , 0x000002e4 
+ 00024217  0x00007993 rtn 
+ 00024218  0x00007996 fetch  0x00000001 , 0x000002e4 
+ 00024219  0x00007997 iadd  0x00000002 , 0x0000003f 
+ 00024220  0x00007998 byteswap  0x0000003f , 0x0000003f 
+ 00024221  0x00007999 store  0x00000002 , 0x000002e4 
+ 00024222  0x0000799a rtn 
+ 00024223  0x000079a1 fetch  0x00000002 , 0x0000447b 
+ 00024224  0x000079a2 iadd  0x00000012 , 0x0000003f 
+ 00024225  0x000079a6 store  0x00000002 , 0x0000095c 
+ 00024226  0x000079a7 bpatchx  0x00000025 , 0x00004024 
+ 00024227  0x000079a8 storet  0x00000002 , 0x00000964 
+ 00024228  0x000079a9 storer  0x00000011 , 0x00000002 , 0x0000097b 
+ 00024229  0x000079ab call  0x00005eb4 
+ 00024230  0x000079ad fetcht  0x00000002 , 0x00000974 
+ 00024231  0x000079ae fetchr  0x00000011 , 0x00000002 , 0x0000097b 
+ 00024232  0x000079af fetch  0x00000002 , 0x0000095c 
+ 00024233  0x000079b1 call  0x00005ed5 
+ 00024234  0x000079b3 fetch  0x00000002 , 0x00000974 
+ 00024235  0x000079b4 fetcht  0x00000002 , 0x0000097b 
+ 00024236  0x000079b5 iadd  0x00000002 , 0x00000002 
+ 00024237  0x000079b6 storet  0x00000002 , 0x0000097b 
+ 00024238  0x000079b7 fetcht  0x00000002 , 0x0000095c 
+ 00024239  0x000079b8 iadd  0x00000002 , 0x00000002 
+ 00024240  0x000079b9 storet  0x00000002 , 0x0000095c 
+ 00024241  0x000079ba fetch  0x00000002 , 0x00000964 
+ 00024242  0x000079bb nbranch  0x00005ea5 , 0x00000034 
+ 00024243  0x000079bc rtn 
+ 00024244  0x000079c5 bpatchx  0x00000026 , 0x00004024 
+ 00024245  0x000079c6 fetch  0x00000001 , 0x00004485 
+ 00024246  0x000079c7 increase  0xffffffff , 0x0000003f 
+ 00024247  0x000079c8 fetcht  0x00000002 , 0x0000095c 
+ 00024248  0x000079c9 ior  0x00000002 , 0x0000003f 
+ 00024249  0x000079ca increase  0x00000001 , 0x0000003f 
+ 00024250  0x000079cb store  0x00000003 , 0x00000978 
+ 00024251  0x000079cd fetch  0x00000002 , 0x00000964 
+ 00024252  0x000079ce iadd  0x00000002 , 0x0000003f 
+ 00024253  0x000079d0 fetcht  0x00000003 , 0x00000978 
+ 00024254  0x000079d1 isub  0x00000002 , 0x0000003f 
+ 00024255  0x000079d2 nbranch  0x00005ec6 , 0x00000002 
+ 00024256  0x000079d3 store  0x00000002 , 0x00000964 
+ 00024257  0x000079d4 fetch  0x00000003 , 0x00000978 
+ 00024258  0x000079d5 fetcht  0x00000002 , 0x0000095c 
+ 00024259  0x000079d6 isub  0x00000002 , 0x0000003f 
+ 00024260  0x000079d7 store  0x00000002 , 0x00000974 
+ 00024261  0x000079d8 rtn 
+ 00024262  0x000079da fetch  0x00000002 , 0x00000964 
+ 00024263  0x000079db store  0x00000002 , 0x00000974 
+ 00024264  0x000079dc setarg  0x00000000 
+ 00024265  0x000079dd store  0x00000002 , 0x00000964 
+ 00024266  0x000079de rtn 
+ 00024267  0x000079e1 copy  0x00000012 , 0x0000003f 
+ 00024268  0x000079e2 increase  0x00000002 , 0x00000002 
+ 00024269  0x000079e3 storet  0x00000002 , 0x00008098 
+ 00024270  0x000079e4 increase  0xfffffffe , 0x00000011 
+ 00024271  0x000079e5 ifetcht  0x00000003 , 0x00000011 
+ 00024272  0x000079e6 copy  0x00000002 , 0x00000012 
+ 00024273  0x000079e7 arg  0x000000a0 , 0x00000002 
+ 00024274  0x000079e8 istoret  0x00000001 , 0x00000011 
+ 00024275  0x000079e9 istore  0x00000001 , 0x00000005 
+ 00024276  0x000079ea branch  0x00005ee2 
+ 00024277  0x000079ee copy  0x0000003f , 0x00000012 
+ 00024278  0x000079ef bpatchx  0x00000027 , 0x00004024 
+ 00024279  0x000079f0 bmark1  0x00000028 , 0x00005ecb 
+ 00024280  0x000079f1 copy  0x00000012 , 0x0000003f 
+ 00024281  0x000079f2 increase  0x00000003 , 0x00000002 
+ 00024282  0x000079f3 storet  0x00000002 , 0x00008098 
+ 00024283  0x000079f4 increase  0xfffffffd , 0x00000011 
+ 00024284  0x000079f5 ifetcht  0x00000003 , 0x00000011 
+ 00024285  0x000079f6 copy  0x00000002 , 0x00000012 
+ 00024286  0x000079f7 arg  0x000000a0 , 0x00000002 
+ 00024287  0x000079f8 istoret  0x00000001 , 0x00000011 
+ 00024288  0x000079f9 byteswap  0x0000003f , 0x0000003f 
+ 00024289  0x000079fa istore  0x00000002 , 0x00000005 
+ 00024290  0x000079fc storer  0x00000011 , 0x00000002 , 0x0000809a 
+ 00024291  0x000079fd setarg  0x00000000 
+ 00024292  0x000079fe store  0x00000002 , 0x0000809e 
+ 00024293  0x000079ff jam  0x00000001 , 0x00008090 
+ 00024294  0x00007a00 jam  0x00000004 , 0x00008006 
+ 00024295  0x00007a01 call  0x00005e44 
+ 00024296  0x00007a02 istorer  0x00000012 , 0x00000003 , 0x00000011 
+ 00024297  0x00007a04 bpatchx  0x00000028 , 0x00004025 
+ 00024298  0x00007a05 jam  0x00000000 , 0x000002e6 
+ 00024299  0x00007a07 setarg  0x00000001 
+ 00024300  0x00007a08 store  0x00000002 , 0x00008098 
+ 00024301  0x00007a09 jam  0x000000a0 , 0x000002e3 
+ 00024302  0x00007a0a setarg  0x000002e3 
+ 00024303  0x00007a0b store  0x00000002 , 0x0000809a 
+ 00024304  0x00007a0c setarg  0x00000000 
+ 00024305  0x00007a0d store  0x00000002 , 0x0000809e 
+ 00024306  0x00007a0e store  0x00000002 , 0x0000809c 
+ 00024307  0x00007a0f setarg  0x00000003 
+ 00024308  0x00007a10 store  0x00000001 , 0x00008090 
+ 00024309  0x00007a11 jam  0x00000004 , 0x00008006 
+ 00024310  0x00007a12 call  0x00005e44 
+ 00024311  0x00007a13 fetch  0x00000001 , 0x0000812c 
+ 00024312  0x00007a14 rtnbit0  0x00000006 
+ 00024313  0x00007a15 nop  0x000005dc 
+ 00024314  0x00007a16 fetch  0x00000001 , 0x000002e6 
+ 00024315  0x00007a17 increase  0x00000001 , 0x0000003f 
+ 00024316  0x00007a18 store  0x00000001 , 0x000002e6 
+ 00024317  0x00007a19 sub  0x0000003f , 0x00000028 , 0x0000003e 
+ 00024318  0x00007a1a nrtn  0x00000002 
+ 00024319  0x00007a1b branch  0x00005eeb 
+ 00024320  0x00007a20 copy  0x00000002 , 0x00000039 
+ 00024321  0x00007a21 copy  0x0000003f , 0x00000002 
+ 00024322  0x00007a22 bpatchx  0x00000029 , 0x00004025 
+ 00024323  0x00007a23 lshift3  0x00000002 , 0x00000002 
+ 00024324  0x00007a24 call  0x00005f3c 
+ 00024325  0x00007a25 jam  0x00000080 , 0x00008047 
+ 00024326  0x00007a27 jam  0x00000086 , 0x00008047 
+ 00024327  0x00007a28 storet  0x00000002 , 0x00008045 
+ 00024328  0x00007a29 increase  0x00000008 , 0x00000002 
+ 00024329  0x00007a2a jam  0x00000087 , 0x00008047 
+ 00024330  0x00007a2b fetch  0x00000001 , 0x00008007 
+ 00024331  0x00007a2c istore  0x00000001 , 0x00000011 
+ 00024332  0x00007a2d increase  0x00000001 , 0x00000011 
+ 00024333  0x00007a2e loop  0x00005f06 
+ 00024334  0x00007a2f jam  0x00000086 , 0x00008047 
+ 00024335  0x00007a30 jam  0x00000080 , 0x00008047 
+ 00024336  0x00007a31 jam  0x00000000 , 0x00008047 
+ 00024337  0x00007a32 branch  0x00005f44 
+ 00024338  0x00007a36 call  0x00005f34 
+ 00024339  0x00007a37 jam  0x00000080 , 0x00008047 
+ 00024340  0x00007a38 lshift3  0x00000002 , 0x00000002 
+ 00024341  0x00007a39 copy  0x00000011 , 0x00000006 
+ 00024342  0x00007a3b ifetch  0x00000001 , 0x00000006 
+ 00024343  0x00007a3c arg  0x00000008 , 0x00000012 
+ 00024344  0x00007a3e and  0x0000003f , 0x00000001 , 0x0000003e 
+ 00024345  0x00007a3f ncall  0x00005f50 , 0x00000005 
+ 00024346  0x00007a40 rshift  0x0000003f , 0x0000003f 
+ 00024347  0x00007a41 increase  0x00000001 , 0x00000002 
+ 00024348  0x00007a42 increase  0xffffffff , 0x00000012 
+ 00024349  0x00007a43 nbranch  0x00005f18 , 0x00000005 
+ 00024350  0x00007a44 loop  0x00005f16 
+ 00024351  0x00007a45 jam  0x00000080 , 0x00008047 
+ 00024352  0x00007a46 jam  0x00000000 , 0x00008047 
+ 00024353  0x00007a47 branch  0x00005f44 
+ 00024354  0x00007a4b fetch  0x00000002 , 0x00008a14 
+ 00024355  0x00007a4c store  0x00000002 , 0x0000095c 
+ 00024356  0x00007a4d jam  0x0000006a , 0x00008a14 
+ 00024357  0x00007a4e jam  0x0000000b , 0x00008a15 
+ 00024358  0x00007a4f rtn 
+ 00024359  0x00007a52 fetch  0x00000002 , 0x0000095c 
+ 00024360  0x00007a53 store  0x00000002 , 0x00008a14 
+ 00024361  0x00007a54 rtn 
+ 00024362  0x00007a57 call  0x00005f22 
+ 00024363  0x00007a58 fetch  0x00000001 , 0x00008a0a 
+ 00024364  0x00007a59 set1  0x00000001 , 0x0000003f 
+ 00024365  0x00007a5a store  0x00000001 , 0x00008a0a 
+ 00024366  0x00007a5b nop  0x000000c8 
+ 00024367  0x00007a5c fetch  0x00000001 , 0x00008a0b 
+ 00024368  0x00007a5d set1  0x00000000 , 0x0000003f 
+ 00024369  0x00007a5e store  0x00000001 , 0x00008a0b 
+ 00024370  0x00007a5f nop  0x000007d0 
+ 00024371  0x00007a60 rtn 
+ 00024372  0x00007a63 call  0x00005f2a 
+ 00024373  0x00007a64 fetch  0x00000001 , 0x00008a0b 
+ 00024374  0x00007a65 set0  0x00000005 , 0x0000003f 
+ 00024375  0x00007a66 set1  0x00000004 , 0x0000003f 
+ 00024376  0x00007a67 set1  0x00000003 , 0x0000003f 
+ 00024377  0x00007a68 store  0x00000001 , 0x00008a0b 
+ 00024378  0x00007a69 nop  0x000001f4 
+ 00024379  0x00007a6a rtn 
+ 00024380  0x00007a6d call  0x00005f2a 
+ 00024381  0x00007a6e fetch  0x00000001 , 0x00008a0b 
+ 00024382  0x00007a6f set1  0x00000005 , 0x0000003f 
+ 00024383  0x00007a70 set1  0x00000004 , 0x0000003f 
+ 00024384  0x00007a71 set0  0x00000003 , 0x0000003f 
+ 00024385  0x00007a72 store  0x00000001 , 0x00008a0b 
+ 00024386  0x00007a73 nop  0x000001f4 
+ 00024387  0x00007a74 rtn 
+ 00024388  0x00007a77 bpatchx  0x0000002a , 0x00004025 
+ 00024389  0x00007a78 fetch  0x00000001 , 0x00008a0b 
+ 00024390  0x00007a79 set0  0x00000005 , 0x0000003f 
+ 00024391  0x00007a7a set0  0x00000004 , 0x0000003f 
+ 00024392  0x00007a7b set0  0x00000003 , 0x0000003f 
+ 00024393  0x00007a7c set0  0x00000000 , 0x0000003f 
+ 00024394  0x00007a7d store  0x00000001 , 0x00008a0b 
+ 00024395  0x00007a7e nop  0x000000c8 
+ 00024396  0x00007a7f fetch  0x00000001 , 0x00008a0a 
+ 00024397  0x00007a80 set0  0x00000001 , 0x0000003f 
+ 00024398  0x00007a81 store  0x00000001 , 0x00008a0a 
+ 00024399  0x00007a82 branch  0x00005f27 
+ 00024400  0x00007a85 jam  0x00000080 , 0x00008047 
+ 00024401  0x00007a86 nop  0x0000000a 
+ 00024402  0x00007a87 storet  0x00000002 , 0x00008045 
+ 00024403  0x00007a88 jam  0x00000081 , 0x00008047 
+ 00024404  0x00007a89 nop  0x0000006e 
+ 00024405  0x00007a8a rtn 
+ 00024406  0x00007a8e call  0x00007ec5 
+ 00024407  0x00007a8f branch  0x00005f5a 
+ 00024408  0x00007a91 call  0x00007ec7 
+ 00024409  0x00007a92 branch  0x00005f5a 
+ 00024410  0x00007a94 rshift16  0x0000003f , 0x00000002 
+ 00024411  0x00007a95 call  0x00005f8d , 0x00000028 
+ 00024412  0x00007a96 ncall  0x00005f91 , 0x00000028 
+ 00024413  0x00007a97 rshift32  0x0000003f , 0x0000003f 
+ 00024414  0x00007a98 rshift16  0x0000003f , 0x00000002 
+ 00024415  0x00007a99 call  0x00005f85 , 0x00000028 
+ 00024416  0x00007a9a ncall  0x00005f89 , 0x00000028 
+ 00024417  0x00007a9b nbranch  0x00005f66 , 0x00000028 
+ 00024418  0x00007a9c fetch  0x00000002 , 0x00008050 
+ 00024419  0x00007a9d set0  0x0000000f , 0x0000003f 
+ 00024420  0x00007a9e store  0x00000002 , 0x00008050 
+ 00024421  0x00007a9f rtn 
+ 00024422  0x00007aa1 fetch  0x00000002 , 0x00008050 
+ 00024423  0x00007aa2 set0  0x0000000e , 0x0000003f 
+ 00024424  0x00007aa3 store  0x00000002 , 0x00008050 
+ 00024425  0x00007aa4 rtn 
+ 00024426  0x00007aa8 store  0x00000002 , 0x00008052 
+ 00024427  0x00007aa9 rtn 
+ 00024428  0x00007aad store  0x00000002 , 0x00008062 
+ 00024429  0x00007aae rtn 
+ 00024430  0x00007ab1 call  0x00005f72 
+ 00024431  0x00007ab2 branch  0x00005f6a 
+ 00024432  0x00007ab5 call  0x00005f72 
+ 00024433  0x00007ab6 branch  0x00005f6c 
+ 00024434  0x00007ab9 call  0x00005f77 
+ 00024435  0x00007aba idiv  0x00000002 
+ 00024436  0x00007abb call  0x00007e64 
+ 00024437  0x00007abc quotient  0x0000003f 
+ 00024438  0x00007abd rtn 
+ 00024439  0x00007ac0 fetch  0x00000001 , 0x00008043 
+ 00024440  0x00007ac1 bbit0  0x00000000 , 0x00005f7b 
+ 00024441  0x00007ac2 setarg  0x02dc6c00 
+ 00024442  0x00007ac3 rtn 
+ 00024443  0x00007ac5 setarg  0x016e3600 
+ 00024444  0x00007ac6 rtn 
+ 00024445  0x00007ac9 fetch  0x00000001 , 0x00008043 
+ 00024446  0x00007aca and  0x0000003f , 0x000000fe , 0x0000003f 
+ 00024447  0x00007acb store  0x00000001 , 0x00008043 
+ 00024448  0x00007acc rtn 
+ 00024449  0x00007acf fetch  0x00000001 , 0x00008043 
+ 00024450  0x00007ad0 or  0x0000003f , 0x00000001 , 0x0000003f 
+ 00024451  0x00007ad1 store  0x00000001 , 0x00008043 
+ 00024452  0x00007ad2 rtn 
+ 00024453  0x00007ad7 store  0x00000002 , 0x0000805a 
+ 00024454  0x00007ad8 store  0x00000002 , 0x0000805e 
+ 00024455  0x00007ad9 storet  0x00000002 , 0x0000805c 
+ 00024456  0x00007ada rtn 
+ 00024457  0x00007ade store  0x00000002 , 0x0000806a 
+ 00024458  0x00007adf store  0x00000002 , 0x0000806e 
+ 00024459  0x00007ae0 storet  0x00000002 , 0x0000806c 
+ 00024460  0x00007ae1 rtn 
+ 00024461  0x00007ae5 store  0x00000002 , 0x00008054 
+ 00024462  0x00007ae6 store  0x00000002 , 0x00008058 
+ 00024463  0x00007ae7 storet  0x00000002 , 0x00008056 
+ 00024464  0x00007ae8 rtn 
+ 00024465  0x00007aec store  0x00000002 , 0x00008064 
+ 00024466  0x00007aed store  0x00000002 , 0x00008068 
+ 00024467  0x00007aee storet  0x00000002 , 0x00008066 
+ 00024468  0x00007aef rtn 
+ 00024469  0x00007af3 fetchr  0x0000000a , 0x00000002 , 0x0000805a 
+ 00024470  0x00007af4 fetchr  0x00000010 , 0x00000002 , 0x0000805c 
+ 00024471  0x00007af5 fetchr  0x00000003 , 0x00000002 , 0x0000805e 
+ 00024472  0x00007af6 rtn 
+ 00024473  0x00007af9 fetchr  0x0000000a , 0x00000002 , 0x0000806a 
+ 00024474  0x00007afa fetchr  0x00000010 , 0x00000002 , 0x0000806c 
+ 00024475  0x00007afb fetchr  0x00000003 , 0x00000002 , 0x0000806e 
+ 00024476  0x00007afc rtn 
+ 00024477  0x00007aff fetchr  0x0000000a , 0x00000002 , 0x00008054 
+ 00024478  0x00007b00 fetchr  0x00000010 , 0x00000002 , 0x00008056 
+ 00024479  0x00007b01 fetchr  0x00000003 , 0x00000002 , 0x00008058 
+ 00024480  0x00007b02 rtn 
+ 00024481  0x00007b05 fetchr  0x0000000a , 0x00000002 , 0x00008064 
+ 00024482  0x00007b06 fetchr  0x00000010 , 0x00000002 , 0x00008066 
+ 00024483  0x00007b07 fetchr  0x00000003 , 0x00000002 , 0x00008068 
+ 00024484  0x00007b08 rtn 
+ 00024485  0x00007b0b storer  0x00000003 , 0x00000002 , 0x0000805e 
+ 00024486  0x00007b0c rtn 
+ 00024487  0x00007b0f storer  0x00000003 , 0x00000002 , 0x0000806e 
+ 00024488  0x00007b10 rtn 
+ 00024489  0x00007b13 storer  0x00000003 , 0x00000002 , 0x00008058 
+ 00024490  0x00007b14 rtn 
+ 00024491  0x00007b17 storer  0x00000003 , 0x00000002 , 0x00008068 
+ 00024492  0x00007b18 rtn 
+ 00024493  0x00007b1b call  0x00005f9d 
+ 00024494  0x00007b1c fetch  0x00000002 , 0x00008112 
+ 00024495  0x00007b1d iadd  0x00000003 , 0x00000003 
+ 00024496  0x00007b1e branch  0x00005fa9 
+ 00024497  0x00007b21 call  0x00005fa1 
+ 00024498  0x00007b22 fetch  0x00000002 , 0x00008158 
+ 00024499  0x00007b23 iadd  0x00000003 , 0x00000003 
+ 00024500  0x00007b24 branch  0x00005fab 
+ 00024501  0x00007b27 call  0x00005fbd 
+ 00024502  0x00007b28 branch  0x00005f95 
+ 00024503  0x00007b2b call  0x00005fbd 
+ 00024504  0x00007b2c branch  0x00005f99 
+ 00024505  0x00007b2f call  0x00005fa5 
+ 00024506  0x00007b30 branch  0x00005fc1 
+ 00024507  0x00007b33 call  0x00005fa7 
+ 00024508  0x00007b34 branch  0x00005fc1 
+ 00024509  0x00007b38 storer  0x00000003 , 0x00000002 , 0x00000983 
+ 00024510  0x00007b39 storer  0x0000000a , 0x00000002 , 0x00000981 
+ 00024511  0x00007b3a storer  0x00000010 , 0x00000002 , 0x0000097f 
+ 00024512  0x00007b3b rtn 
+ 00024513  0x00007b3e fetchr  0x00000003 , 0x00000002 , 0x00000983 
+ 00024514  0x00007b3f fetchr  0x0000000a , 0x00000002 , 0x00000981 
+ 00024515  0x00007b40 fetchr  0x00000010 , 0x00000002 , 0x0000097f 
+ 00024516  0x00007b41 rtn 
+ 00024517  0x00007b45 deposit  0x00000039 
+ 00024518  0x00007b46 rtn  0x00000034 
+ 00024519  0x00007b48 increase  0xfffffff8 , 0x00000039 
+ 00024520  0x00007b49 call  0x00005fd3 , 0x00000002 
+ 00024521  0x00007b4a rtn  0x00000005 
+ 00024522  0x00007b4b branch  0x00005fc7 , 0x00000002 
+ 00024523  0x00007b4c increase  0x00000008 , 0x00000039 
+ 00024524  0x00007b4e increase  0xfffffffc , 0x00000039 
+ 00024525  0x00007b4f call  0x00005fd6 , 0x00000002 
+ 00024526  0x00007b50 rtn  0x00000005 
+ 00024527  0x00007b51 branch  0x00005fcc , 0x00000002 
+ 00024528  0x00007b52 increase  0x00000004 , 0x00000039 
+ 00024529  0x00007b53 branch  0x00005fd9 
+ 00024530  0x00007b56 call  0x00005fd3 
+ 00024531  0x00007b58 ifetch  0x00000008 , 0x00000006 
+ 00024532  0x00007b59 istore  0x00000008 , 0x00000003 
+ 00024533  0x00007b5a rtn 
+ 00024534  0x00007b5d ifetch  0x00000004 , 0x00000006 
+ 00024535  0x00007b5e istore  0x00000004 , 0x00000003 
+ 00024536  0x00007b5f rtn 
+ 00024537  0x00007b62 deposit  0x00000039 
+ 00024538  0x00007b63 rtn  0x00000034 
+ 00024539  0x00007b65 ifetch  0x00000001 , 0x00000006 
+ 00024540  0x00007b66 istore  0x00000001 , 0x00000003 
+ 00024541  0x00007b67 loop  0x00005fdb 
+ 00024542  0x00007b68 rtn 
+ 00024543  0x00007b6b deposit  0x00000039 
+ 00024544  0x00007b6c rtn  0x00000034 
+ 00024545  0x00007b6e increase  0xfffffff8 , 0x00000039 
+ 00024546  0x00007b6f call  0x00005fed , 0x00000002 
+ 00024547  0x00007b70 rtn  0x00000005 
+ 00024548  0x00007b71 branch  0x00005fe1 , 0x00000002 
+ 00024549  0x00007b72 increase  0x00000008 , 0x00000039 
+ 00024550  0x00007b74 increase  0xfffffffc , 0x00000039 
+ 00024551  0x00007b75 call  0x00005ff0 , 0x00000002 
+ 00024552  0x00007b76 rtn  0x00000005 
+ 00024553  0x00007b77 branch  0x00005fe6 , 0x00000002 
+ 00024554  0x00007b78 increase  0x00000004 , 0x00000039 
+ 00024555  0x00007b79 branch  0x00005ff3 
+ 00024556  0x00007b7c call  0x00005fed 
+ 00024557  0x00007b7e ifetch  0x00000008 , 0x00000003 
+ 00024558  0x00007b7f istore  0x00000008 , 0x00000005 
+ 00024559  0x00007b80 rtn 
+ 00024560  0x00007b83 ifetch  0x00000004 , 0x00000003 
+ 00024561  0x00007b84 istore  0x00000004 , 0x00000005 
+ 00024562  0x00007b85 rtn 
+ 00024563  0x00007b89 deposit  0x00000039 
+ 00024564  0x00007b8a rtn  0x00000034 
+ 00024565  0x00007b8c ifetch  0x00000001 , 0x00000003 
+ 00024566  0x00007b8d istore  0x00000001 , 0x00000005 
+ 00024567  0x00007b8e loop  0x00005ff5 
+ 00024568  0x00007b8f rtn 
+ 00024569  0x00007b95 jam  0x0000003d , 0x0000095b 
+ 00024570  0x00007b96 branch  0x000078dc 
+ 00024571  0x00007b9a bpatchx  0x0000002b , 0x00004025 
+ 00024572  0x00007b9b fetch  0x00000001 , 0x0000448b 
+ 00024573  0x00007b9c rtn  0x00000034 
+ 00024574  0x00007b9d call  0x000060a0 
+ 00024575  0x00007b9e call  0x000060a6 , 0x00000005 
+ 00024576  0x00007b9f call  0x00007ecb 
+ 00024577  0x00007ba0 call  0x0000602f 
+ 00024578  0x00007ba2 fetch  0x00000001 , 0x0000448b 
+ 00024579  0x00007ba3 icopy  0x00000013 
+ 00024580  0x00007ba4 fetcht  0x00000002 , 0x00004489 
+ 00024581  0x00007ba5 storet  0x00000002 , 0x000000ee 
+ 00024582  0x00007ba7 copy  0x00000013 , 0x0000003f 
+ 00024583  0x00007ba8 branch  0x00005ff9 , 0x00000034 
+ 00024584  0x00007ba9 increase  0xffffffff , 0x00000013 
+ 00024585  0x00007baa copy  0x00000002 , 0x00000011 
+ 00024586  0x00007bab ifetch  0x00000001 , 0x00000011 
+ 00024587  0x00007bac fetcht  0x00000001 , 0x000000e6 
+ 00024588  0x00007bad isub  0x00000002 , 0x0000003e 
+ 00024589  0x00007bae call  0x00006016 , 0x00000005 
+ 00024590  0x00007baf branch  0x00006012 , 0x00000002 
+ 00024591  0x00007bb0 ifetch  0x00000001 , 0x00000011 
+ 00024592  0x00007bb1 increase  0x00000001 , 0x0000003f 
+ 00024593  0x00007bb2 istore  0x00000001 , 0x00000011 
+ 00024594  0x00007bb4 fetcht  0x00000002 , 0x000000ee 
+ 00024595  0x00007bb5 increase  0x00000022 , 0x00000002 
+ 00024596  0x00007bb6 storet  0x00000002 , 0x000000ee 
+ 00024597  0x00007bb7 branch  0x00006006 
+ 00024598  0x00007bba setarg  0x00000000 
+ 00024599  0x00007bbb istore  0x00000001 , 0x00000011 
+ 00024600  0x00007bbc fetch  0x00000001 , 0x000000e7 
+ 00024601  0x00007bbd istore  0x00000001 , 0x00000005 
+ 00024602  0x00007bbe bne  0x00000033 , 0x00006024 
+ 00024603  0x00007bbf arg  0x000041cb , 0x00000012 
+ 00024604  0x00007bc1 ifetch  0x00000006 , 0x00000006 
+ 00024605  0x00007bc2 istore  0x00000008 , 0x00000005 
+ 00024606  0x00007bc3 setarg  0x00000000 
+ 00024607  0x00007bc4 istore  0x00000008 , 0x00000005 
+ 00024608  0x00007bc5 copy  0x00000012 , 0x00000006 
+ 00024609  0x00007bc7 call  0x00007d7f 
+ 00024610  0x00007bc8 force  0x00000001 , 0x0000003e 
+ 00024611  0x00007bc9 rtn 
+ 00024612  0x00007bcc beq  0x00000036 , 0x00006028 
+ 00024613  0x00007bcd beq  0x00000037 , 0x0000602c 
+ 00024614  0x00007bce arg  0x00004316 , 0x00000012 
+ 00024615  0x00007bcf branch  0x0000601c 
+ 00024616  0x00007bd2 arg  0x000043ac , 0x00000006 
+ 00024617  0x00007bd3 call  0x00007d7f 
+ 00024618  0x00007bd5 arg  0x00004316 , 0x00000006 
+ 00024619  0x00007bd6 branch  0x00006021 
+ 00024620  0x00007bd9 arg  0x000043a4 , 0x00000006 
+ 00024621  0x00007bda call  0x00007d7f 
+ 00024622  0x00007bdb branch  0x0000602a 
+ 00024623  0x00007be1 call  0x00007ec7 
+ 00024624  0x00007be2 fetch  0x00000001 , 0x0000448b 
+ 00024625  0x00007be3 rtn  0x00000034 
+ 00024626  0x00007be4 bpatchx  0x0000002c , 0x00004025 
+ 00024627  0x00007be5 fetch  0x00000002 , 0x0000478f 
+ 00024628  0x00007be6 bbit1  0x00000000 , 0x00006052 
+ 00024629  0x00007be7 rtnbit0  0x00000009 
+ 00024630  0x00007be9 fetch  0x00000001 , 0x0000436a 
+ 00024631  0x00007bea beq  0x00000000 , 0x0000604b 
+ 00024632  0x00007beb fetch  0x00000001 , 0x0000029c 
+ 00024633  0x00007bec compare  0x000000c0 , 0x0000003f , 0x000000c0 
+ 00024634  0x00007bed branch  0x0000603e , 0x00000001 
+ 00024635  0x00007bee compare  0x00000040 , 0x0000003f , 0x000000c0 
+ 00024636  0x00007bef branch  0x00006050 , 0x00000001 
+ 00024637  0x00007bf0 branch  0x00006045 
+ 00024638  0x00007bf3 branch  0x00006042 , 0x0000002c 
+ 00024639  0x00007bf4 fetch  0x00000001 , 0x0000434e 
+ 00024640  0x00007bf5 bbit0  0x00000001 , 0x0000604b 
+ 00024641  0x00007bf6 branch  0x00006045 
+ 00024642  0x00007bf9 call  0x0000604b 
+ 00024643  0x00007bfa rtn  0x00000028 
+ 00024644  0x00007bfb branch  0x00006045 
+ 00024645  0x00007c00 fetch  0x00000001 , 0x0000439d 
+ 00024646  0x00007c01 bbit1  0x00000007 , 0x00006048 
+ 00024647  0x00007c02 branch  0x0000604e 
+ 00024648  0x00007c06 fetch  0x00000006 , 0x00000297 
+ 00024649  0x00007c07 store  0x00000008 , 0x000043a4 
+ 00024650  0x00007c08 branch  0x0000604e 
+ 00024651  0x00007c0c jam  0x00000035 , 0x000000e7 
+ 00024652  0x00007c0d fetch  0x00000006 , 0x00000297 
+ 00024653  0x00007c0e branch  0x00006054 
+ 00024654  0x00007c11 jam  0x00000037 , 0x000000e7 
+ 00024655  0x00007c12 branch  0x00006054 
+ 00024656  0x00007c16 jam  0x00000036 , 0x000000e7 
+ 00024657  0x00007c17 branch  0x00006054 
+ 00024658  0x00007c1b jam  0x00000033 , 0x000000e7 
+ 00024659  0x00007c1c fetch  0x00000006 , 0x00000040 
+ 00024660  0x00007c1e store  0x00000006 , 0x000000e8 
+ 00024661  0x00007c1f fetch  0x00000002 , 0x00004489 
+ 00024662  0x00007c20 ifetcht  0x00000001 , 0x0000003f 
+ 00024663  0x00007c21 pincrease  0x00000001 
+ 00024664  0x00007c22 store  0x00000002 , 0x000000ee 
+ 00024665  0x00007c23 storet  0x00000001 , 0x000000e6 
+ 00024666  0x00007c24 fetch  0x00000001 , 0x0000448b 
+ 00024667  0x00007c25 icopy  0x00000013 
+ 00024668  0x00007c27 fetch  0x00000002 , 0x000000ee 
+ 00024669  0x00007c28 copy  0x0000003f , 0x00000011 
+ 00024670  0x00007c29 call  0x0000606c 
+ 00024671  0x00007c2a rtn  0x00000028 
+ 00024672  0x00007c2b fetcht  0x00000002 , 0x000000ee 
+ 00024673  0x00007c2c increase  0x00000022 , 0x00000002 
+ 00024674  0x00007c2d storet  0x00000002 , 0x000000ee 
+ 00024675  0x00007c2e increase  0xffffffff , 0x00000002 
+ 00024676  0x00007c2f ifetch  0x00000001 , 0x00000002 
+ 00024677  0x00007c30 store  0x00000001 , 0x000000e6 
+ 00024678  0x00007c31 increase  0xffffffff , 0x00000013 
+ 00024679  0x00007c32 nbranch  0x0000605c , 0x00000005 
+ 00024680  0x00007c33 fetch  0x00000001 , 0x0000448b 
+ 00024681  0x00007c34 pincrease  0xffffffff 
+ 00024682  0x00007c35 store  0x00000001 , 0x000000e6 
+ 00024683  0x00007c36 rtn 
+ 00024684  0x00007c38 fetch  0x00000001 , 0x000000e7 
+ 00024685  0x00007c39 bne  0x00000033 , 0x00006073 
+ 00024686  0x00007c3b arg  0x000000e7 , 0x00000012 
+ 00024687  0x00007c3c arg  0x00000007 , 0x00000039 
+ 00024688  0x00007c3d call  0x00007e66 
+ 00024689  0x00007c3e branch  0x00007ec5 , 0x00000005 
+ 00024690  0x00007c3f rtn 
+ 00024691  0x00007c42 beq  0x00000036 , 0x00006076 
+ 00024692  0x00007c43 beq  0x00000037 , 0x00006091 
+ 00024693  0x00007c44 branch  0x0000606e 
+ 00024694  0x00007c47 ifetcht  0x00000001 , 0x00000011 
+ 00024695  0x00007c48 isub  0x00000002 , 0x0000003e 
+ 00024696  0x00007c49 nrtn  0x00000005 
+ 00024697  0x00007c4a arg  0x0000098e , 0x00000005 
+ 00024698  0x00007c4b arg  0x00000010 , 0x00000039 
+ 00024699  0x00007c4c call  0x00007d9b 
+ 00024700  0x00007c4d fetch  0x00000003 , 0x0000029a 
+ 00024701  0x00007c4e store  0x00000003 , 0x0000098e 
+ 00024702  0x00007c4f call  0x00006088 
+ 00024703  0x00007c50 fetch  0x00000002 , 0x000009ab 
+ 00024704  0x00007c51 byteswap  0x0000003f , 0x0000003f 
+ 00024705  0x00007c52 lshift8  0x0000003f , 0x00000002 
+ 00024706  0x00007c53 ifetch  0x00000001 , 0x00000006 
+ 00024707  0x00007c54 iadd  0x00000002 , 0x0000003f 
+ 00024708  0x00007c55 fetcht  0x00000003 , 0x00000297 
+ 00024709  0x00007c56 isub  0x00000002 , 0x0000003e 
+ 00024710  0x00007c57 branch  0x00007ec5 , 0x00000005 
+ 00024711  0x00007c58 rtn 
+ 00024712  0x00007c5c arg  0x0000098e , 0x00000006 
+ 00024713  0x00007c5d call  0x00006e28 
+ 00024714  0x00007c5f ifetch  0x00000001 , 0x00000011 
+ 00024715  0x00007c60 call  0x00006e29 
+ 00024716  0x00007c61 force  0x00000038 , 0x00000036 
+ 00024717  0x00007c62 force  0x00000000 , 0x00000036 
+ 00024718  0x00007c63 call  0x00006dbf 
+ 00024719  0x00007c64 arg  0x0000099e , 0x00000005 
+ 00024720  0x00007c65 branch  0x00006e3c 
+ 00024721  0x00007c68 ifetcht  0x00000001 , 0x00000011 
+ 00024722  0x00007c69 isub  0x00000002 , 0x0000003e 
+ 00024723  0x00007c6a nrtn  0x00000005 
+ 00024724  0x00007c6b copy  0x00000006 , 0x00000011 
+ 00024725  0x00007c6c add  0x00000006 , 0x00000008 , 0x00000013 
+ 00024726  0x00007c6d arg  0x000043a4 , 0x00000012 
+ 00024727  0x00007c6e arg  0x00000008 , 0x00000039 
+ 00024728  0x00007c6f call  0x00007e66 
+ 00024729  0x00007c70 branch  0x00007ec5 , 0x00000005 
+ 00024730  0x00007c71 copy  0x00000013 , 0x00000011 
+ 00024731  0x00007c72 arg  0x000043ac , 0x00000012 
+ 00024732  0x00007c73 arg  0x00000008 , 0x00000039 
+ 00024733  0x00007c74 call  0x00007e66 
+ 00024734  0x00007c75 branch  0x00007ec5 , 0x00000005 
+ 00024735  0x00007c76 rtn 
+ 00024736  0x00007c79 fetch  0x00000002 , 0x00004489 
+ 00024737  0x00007c7a ifetcht  0x00000001 , 0x0000003f 
+ 00024738  0x00007c7b pincrease  0x00000022 
+ 00024739  0x00007c7c ifetch  0x00000001 , 0x0000003f 
+ 00024740  0x00007c7d isub  0x00000002 , 0x0000003e 
+ 00024741  0x00007c7e rtn 
+ 00024742  0x00007c81 fetch  0x00000001 , 0x0000448b 
+ 00024743  0x00007c82 icopy  0x00000039 
+ 00024744  0x00007c83 fetcht  0x00000002 , 0x00004489 
+ 00024745  0x00007c84 setarg  0x00000000 
+ 00024746  0x00007c86 istore  0x00000001 , 0x00000002 
+ 00024747  0x00007c87 increase  0x00000022 , 0x00000002 
+ 00024748  0x00007c88 pincrease  0x00000001 
+ 00024749  0x00007c89 loop  0x000060aa 
+ 00024750  0x00007c8a rtn 
+ 00024751  0x00007c8d bpatchx  0x0000002d , 0x00004025 
+ 00024752  0x00007c8e call  0x00007ec9 
+ 00024753  0x00007c8f call  0x0000602f 
+ 00024754  0x00007c90 fetch  0x00000001 , 0x00000030 
+ 00024755  0x00007c91 setflag  0x00000028 , 0x00000006 , 0x0000003f 
+ 00024756  0x00007c92 store  0x00000001 , 0x00000030 
+ 00024757  0x00007c93 nbranch  0x000060ba , 0x00000028 
+ 00024758  0x00007c94 add  0x00000011 , 0x0000000a , 0x00000006 
+ 00024759  0x00007c95 arg  0x000041cb , 0x00000005 
+ 00024760  0x00007c96 call  0x00007d7f 
+ 00024761  0x00007c97 branch  0x000060d0 
+ 00024762  0x00007c99 jam  0x00000000 , 0x000041ca 
+ 00024763  0x00007c9a rtn 
+ 00024764  0x00007c9f call  0x00007ec9 
+ 00024765  0x00007ca0 call  0x0000602f 
+ 00024766  0x00007ca1 nbranch  0x000060c7 , 0x00000028 
+ 00024767  0x00007ca2 fetch  0x00000002 , 0x000000ee 
+ 00024768  0x00007ca3 add  0x0000003f , 0x00000001 , 0x00000006 
+ 00024769  0x00007ca4 arg  0x000043ac , 0x00000005 
+ 00024770  0x00007ca5 call  0x00007d7f 
+ 00024771  0x00007ca6 arg  0x00004316 , 0x00000005 
+ 00024772  0x00007ca7 call  0x00007d7f 
+ 00024773  0x00007ca8 jam  0x00000001 , 0x00004326 
+ 00024774  0x00007ca9 rtn 
+ 00024775  0x00007cac jam  0x00000000 , 0x00004326 
+ 00024776  0x00007cad rtn 
+ 00024777  0x00007cb1 jam  0x00000034 , 0x000000e7 
+ 00024778  0x00007cb2 branch  0x000060cc 
+ 00024779  0x00007cb4 jam  0x00000033 , 0x000000e7 
+ 00024780  0x00007cb6 fetch  0x00000001 , 0x0000409a 
+ 00024781  0x00007cb7 beq  0x0000000a , 0x00005ffb 
+ 00024782  0x00007cb8 beq  0x00000008 , 0x000045c6 
+ 00024783  0x00007cb9 rtn 
+ 00024784  0x00007cbd fetch  0x00000008 , 0x000041cb 
+ 00024785  0x00007cbe fetcht  0x00000008 , 0x000041d3 
+ 00024786  0x00007cbf ior  0x00000002 , 0x0000003f 
+ 00024787  0x00007cc0 rtn  0x00000034 
+ 00024788  0x00007cc1 jam  0x00000001 , 0x000041ca 
+ 00024789  0x00007cc2 rtn 
+ 00024790  0x00007cca bpatchx  0x0000002e , 0x00004025 
+ 00024791  0x00007ccb set1  0x00000007 , 0x00000002 
+ 00024792  0x00007ccc call  0x000060fd 
+ 00024793  0x00007ccd nsetflag  0x00000001 , 0x00000007 , 0x00000002 
+ 00024794  0x00007cd1 bpatchx  0x0000002f , 0x00004025 
+ 00024795  0x00007cd2 sub  0x00000002 , 0x000000ff , 0x0000003e 
+ 00024796  0x00007cd3 rtn  0x00000005 
+ 00024797  0x00007cd4 isolate0  0x00000007 , 0x00000002 
+ 00024798  0x00007cd5 and  0x00000002 , 0x0000001f , 0x00000007 
+ 00024799  0x00007cd6 fetch  0x00000004 , 0x0000009e 
+ 00024800  0x00007cd7 qsetflag  0x00000001 , 0x0000003f 
+ 00024801  0x00007cd8 store  0x00000004 , 0x0000009e 
+ 00024802  0x00007cd9 fetch  0x00000004 , 0x000000a2 
+ 00024803  0x00007cda nqsetflag  0x00000001 , 0x0000003f 
+ 00024804  0x00007cdb store  0x00000004 , 0x000000a2 
+ 00024805  0x00007cdc rtn 
+ 00024806  0x00007ce0 bpatchx  0x00000030 , 0x00004026 
+ 00024807  0x00007ce1 sub  0x00000002 , 0x000000ff , 0x0000003e 
+ 00024808  0x00007ce2 rtn  0x00000005 
+ 00024809  0x00007ce3 isolate0  0x00000007 , 0x00000002 
+ 00024810  0x00007ce4 and  0x00000002 , 0x0000001f , 0x00000007 
+ 00024811  0x00007ce5 fetch  0x00000004 , 0x0000009e 
+ 00024812  0x00007ce6 qset0  0x0000003f 
+ 00024813  0x00007ce7 store  0x00000004 , 0x0000009e 
+ 00024814  0x00007ce8 fetch  0x00000004 , 0x000000a2 
+ 00024815  0x00007ce9 qset0  0x0000003f 
+ 00024816  0x00007cea store  0x00000004 , 0x000000a2 
+ 00024817  0x00007ceb rtn 
+ 00024818  0x00007cee call  0x000060e6 
+ 00024819  0x00007cef branch  0x000060f7 
+ 00024820  0x00007cf3 sub  0x00000002 , 0x000000ff , 0x0000003e 
+ 00024821  0x00007cf4 rtn  0x00000005 
+ 00024822  0x00007cf5 ncall  0x000060da , 0x0000002b 
+ 00024823  0x00007cf7 call  0x00006124 
+ 00024824  0x00007cf8 setarg  0x00000000 
+ 00024825  0x00007cf9 isolate1  0x00000007 , 0x00000002 
+ 00024826  0x00007cfa nsetflag  0x00000001 , 0x00000006 , 0x0000003f 
+ 00024827  0x00007cfb setflag  0x00000001 , 0x00000007 , 0x0000003f 
+ 00024828  0x00007cfc branch  0x0000611f 
+ 00024829  0x00007d00 arg  0x0000811c , 0x00000005 
+ 00024830  0x00007d01 and  0x00000002 , 0x00000007 , 0x00000007 
+ 00024831  0x00007d02 rshift3  0x00000002 , 0x0000003f 
+ 00024832  0x00007d03 and_into  0x00000003 , 0x0000003f 
+ 00024833  0x00007d04 iadd  0x00000005 , 0x00000005 
+ 00024834  0x00007d05 ifetch  0x00000001 , 0x00000005 
+ 00024835  0x00007d06 isolate1  0x00000007 , 0x00000002 
+ 00024836  0x00007d07 branch  0x00006107 , 0x00000001 
+ 00024837  0x00007d08 qisolate0  0x0000003f 
+ 00024838  0x00007d09 rtn 
+ 00024839  0x00007d0b qisolate1  0x0000003f 
+ 00024840  0x00007d0c rtn 
+ 00024841  0x00007d10 sub  0x00000002 , 0x000000ff , 0x0000003e 
+ 00024842  0x00007d11 rtn  0x00000005 
+ 00024843  0x00007d12 isolate1  0x00000007 , 0x0000003e 
+ 00024844  0x00007d13 branch  0x00006110 
+ 00024845  0x00007d17 sub  0x00000002 , 0x000000ff , 0x0000003e 
+ 00024846  0x00007d18 rtn  0x00000005 
+ 00024847  0x00007d19 isolate0  0x00000007 , 0x0000003e 
+ 00024848  0x00007d1d setarg  0x00000000 
+ 00024849  0x00007d1e nsetflag  0x00000001 , 0x00000007 , 0x0000003f 
+ 00024850  0x00007d1f ixor  0x00000002 , 0x00000002 
+ 00024851  0x00007d23 call  0x00006124 
+ 00024852  0x00007d24 setarg  0x0000003f 
+ 00024853  0x00007d25 isolate1  0x00000007 , 0x00000002 
+ 00024854  0x00007d26 setflag  0x00000001 , 0x00000000 , 0x0000003f 
+ 00024855  0x00007d27 branch  0x0000611f 
+ 00024856  0x00007d2b call  0x00006124 
+ 00024857  0x00007d2c ifetch  0x00000001 , 0x00000005 
+ 00024858  0x00007d2d bbit1  0x00000000 , 0x0000611d 
+ 00024859  0x00007d2e isolate0  0x00000007 , 0x00000002 
+ 00024860  0x00007d2f rtn 
+ 00024861  0x00007d31 isolate1  0x00000007 , 0x00000002 
+ 00024862  0x00007d32 rtn 
+ 00024863  0x00007d38 istore  0x00000001 , 0x00000005 
+ 00024864  0x00007d39 rtn 
+ 00024865  0x00007d3c call  0x00006124 
+ 00024866  0x00007d3d setarg  0x00000000 
+ 00024867  0x00007d3e branch  0x0000611f 
+ 00024868  0x00007d41 and  0x00000002 , 0x0000003f , 0x0000003f 
+ 00024869  0x00007d42 arg  0x00008070 , 0x00000005 
+ 00024870  0x00007d43 iadd  0x00000005 , 0x00000005 
+ 00024871  0x00007d44 rtn 
+ 00024872  0x00007d47 and  0x0000003f , 0x000000ff , 0x00000002 
+ 00024873  0x00007d48 rshift8  0x0000003f , 0x0000003f 
+ 00024874  0x00007d49 branch  0x0000612c 
+ 00024875  0x00007d4d rtnbit0  0x00000007 
+ 00024876  0x00007d4f and_into  0x0000003f , 0x0000003f 
+ 00024877  0x00007d50 arg  0x00008070 , 0x00000005 
+ 00024878  0x00007d51 iadd  0x00000005 , 0x00000005 
+ 00024879  0x00007d52 istoret  0x00000001 , 0x00000005 
+ 00024880  0x00007d53 rtn 
+ 00024881  0x00007d57 and_into  0x0000003f , 0x00000002 
+ 00024882  0x00007d58 setarg  0x00008070 
+ 00024883  0x00007d59 iadd  0x00000002 , 0x00000006 
+ 00024884  0x00007d5a ifetch  0x00000001 , 0x00000006 
+ 00024885  0x00007d5b rtn 
+ 00024886  0x00007d60 arg  0x00000014 , 0x00000039 
+ 00024887  0x00007d61 arg  0x00008070 , 0x00000006 
+ 00024888  0x00007d63 copy  0x00000006 , 0x00000005 
+ 00024889  0x00007d64 ifetch  0x00000001 , 0x00000006 
+ 00024890  0x00007d65 beq  0x00000002 , 0x0000614a 
+ 00024891  0x00007d66 beq  0x00000003 , 0x0000614a 
+ 00024892  0x00007d67 beq  0x00000004 , 0x0000614a 
+ 00024893  0x00007d68 beq  0x00000005 , 0x0000614a 
+ 00024894  0x00007d69 beq  0x00000006 , 0x0000614a 
+ 00024895  0x00007d6a beq  0x00000007 , 0x0000614a 
+ 00024896  0x00007d6b beq  0x0000001f , 0x0000614a 
+ 00024897  0x00007d6c beq  0x00000020 , 0x0000614a 
+ 00024898  0x00007d6d beq  0x00000021 , 0x0000614a 
+ 00024899  0x00007d6e beq  0x00000022 , 0x0000614a 
+ 00024900  0x00007d6f beq  0x00000023 , 0x0000614a 
+ 00024901  0x00007d70 beq  0x0000002c , 0x0000614a 
+ 00024902  0x00007d71 beq  0x0000002d , 0x0000614a 
+ 00024903  0x00007d72 beq  0x00000000 , 0x0000614a 
+ 00024904  0x00007d74 loop  0x00006138 
+ 00024905  0x00007d75 rtn 
+ 00024906  0x00007d77 setarg  0x00000040 
+ 00024907  0x00007d78 istore  0x00000001 , 0x00000005 
+ 00024908  0x00007d79 branch  0x00006148 
+ 00024909  0x00007d7b setarg  0x00000080 
+ 00024910  0x00007d7c istore  0x00000001 , 0x00000005 
+ 00024911  0x00007d7d branch  0x00006148 
+ 00024912  0x00007d84 bpatchx  0x00000031 , 0x00004026 
+ 00024913  0x00007d86 fetch  0x00000008 , 0x00000a34 
+ 00024914  0x00007d87 branch  0x0000615d , 0x00000034 
+ 00024915  0x00007d88 arg  0x00000a34 , 0x00000006 
+ 00024916  0x00007d89 arg  0x00004492 , 0x00000005 
+ 00024917  0x00007d8a arg  0x00000003 , 0x00000039 
+ 00024918  0x00007d8c ifetch  0x00000003 , 0x00000006 
+ 00024919  0x00007d8d lshift4  0x0000003f , 0x00000002 
+ 00024920  0x00007d8e istoret  0x00000002 , 0x00000005 
+ 00024921  0x00007d8f rshift8  0x0000003f , 0x00000002 
+ 00024922  0x00007d90 istoret  0x00000002 , 0x00000005 
+ 00024923  0x00007d91 loop  0x00006156 
+ 00024924  0x00007d92 rtn 
+ 00024925  0x00007d95 setarg  0x0000469a 
+ 00024926  0x00007d96 store  0x00000002 , 0x00004492 
+ 00024927  0x00007d97 setarg  0x0000ab77 
+ 00024928  0x00007d98 store  0x00000002 , 0x00004498 
+ 00024929  0x00007d99 setarg  0x000073d0 
+ 00024930  0x00007d9a store  0x00000002 , 0x0000449c 
+ 00024931  0x00007d9b setarg  0x00009658 
+ 00024932  0x00007d9c store  0x00000002 , 0x00004496 
+ 00024933  0x00007d9d rtn 
+ 00024934  0x00007da0 bpatchx  0x00000032 , 0x00004026 
+ 00024935  0x00007da1 fetchr  0x00000012 , 0x00000001 , 0x00008a12 
+ 00024936  0x00007da2 jam  0x0000003d , 0x00008a12 
+ 00024937  0x00007da3 jam  0x000000aa , 0x00008a11 
+ 00024938  0x00007da4 jam  0x0000000c , 0x00008a0a 
+ 00024939  0x00007da5 fetch  0x00000001 , 0x00008a09 
+ 00024940  0x00007da6 set1  0x00000007 , 0x0000003f 
+ 00024941  0x00007da7 store  0x00000001 , 0x00008a09 
+ 00024942  0x00007da8 jam  0x00000004 , 0x00008a0b 
+ 00024943  0x00007da9 nop  0x0000003c 
+ 00024944  0x00007daa jam  0x00000000 , 0x00008a16 
+ 00024945  0x00007dab jam  0x00000006 , 0x00008a17 
+ 00024946  0x00007dac call  0x00006182 
+ 00024947  0x00007dad store  0x00000001 , 0x00008a97 
+ 00024948  0x00007dae jam  0x00000003 , 0x000080dc 
+ 00024949  0x00007daf nop  0x0000003c 
+ 00024950  0x00007db0 fetch  0x00000001 , 0x00008053 
+ 00024951  0x00007db1 set1  0x00000007 , 0x0000003f 
+ 00024952  0x00007db2 store  0x00000001 , 0x00008053 
+ 00024953  0x00007db3 nop  0x000003e8 
+ 00024954  0x00007db4 fetch  0x00000002 , 0x00008150 
+ 00024955  0x00007db5 store  0x00000002 , 0x000044a4 
+ 00024956  0x00007db6 fetch  0x00000001 , 0x00008053 
+ 00024957  0x00007db7 set0  0x00000007 , 0x0000003f 
+ 00024958  0x00007db8 store  0x00000001 , 0x00008053 
+ 00024959  0x00007db9 jam  0x00000000 , 0x00008a97 
+ 00024960  0x00007dba storer  0x00000012 , 0x00000001 , 0x00008a12 
+ 00024961  0x00007dbb rtn 
+ 00024962  0x00007dbf fetch  0x00000001 , 0x000044a2 
+ 00024963  0x00007dc0 beq  0x00000000 , 0x00006189 
+ 00024964  0x00007dc1 beq  0x00000001 , 0x0000618b 
+ 00024965  0x00007dc4 fetch  0x00000001 , 0x000044a3 
+ 00024966  0x00007dc5 lshift3  0x0000003f , 0x0000003f 
+ 00024967  0x00007dc6 or  0x0000003f , 0x00000007 , 0x0000003f 
+ 00024968  0x00007dc7 rtn 
+ 00024969  0x00007dca setarg  0x00000057 
+ 00024970  0x00007dcb rtn 
+ 00024971  0x00007dce setarg  0x0000004f 
+ 00024972  0x00007dcf rtn 
+ 00024973  0x00007dd2 bpatchx  0x00000033 , 0x00004026 
+ 00024974  0x00007dd3 fetch  0x00000001 , 0x000044a2 
+ 00024975  0x00007dd4 beq  0x00000000 , 0x00006193 
+ 00024976  0x00007dd5 beq  0x00000001 , 0x00006199 
+ 00024977  0x00007dd6 beq  0x00000002 , 0x0000619f 
+ 00024978  0x00007dd7 rtn 
+ 00024979  0x00007dda setarg  0x00000064 
+ 00024980  0x00007ddb store  0x00000002 , 0x000044a0 
+ 00024981  0x00007ddc fetcht  0x00000002 , 0x0000449c 
+ 00024982  0x00007ddd fetch  0x00000002 , 0x00004496 
+ 00024983  0x00007dde arg  0x0000012c , 0x00000013 
+ 00024984  0x00007ddf branch  0x000061a4 
+ 00024985  0x00007de2 setarg  0x00000064 
+ 00024986  0x00007de3 store  0x00000002 , 0x000044a0 
+ 00024987  0x00007de4 fetcht  0x00000002 , 0x0000449a 
+ 00024988  0x00007de5 fetch  0x00000002 , 0x00004494 
+ 00024989  0x00007de6 arg  0x0000012c , 0x00000013 
+ 00024990  0x00007de7 branch  0x000061a4 
+ 00024991  0x00007dea setarg  0x000000c8 
+ 00024992  0x00007deb store  0x00000002 , 0x000044a0 
+ 00024993  0x00007dec fetcht  0x00000002 , 0x00004492 
+ 00024994  0x00007ded fetch  0x00000002 , 0x00004498 
+ 00024995  0x00007dee arg  0x0000012c , 0x00000013 
+ 00024996  0x00007df1 isub  0x00000002 , 0x00000011 
+ 00024997  0x00007df2 fetch  0x00000002 , 0x000044a4 
+ 00024998  0x00007df3 isub  0x00000002 , 0x0000003f 
+ 00024999  0x00007df4 nbranch  0x000061b1 , 0x00000002 
+ 00025000  0x00007df5 fetcht  0x00000002 , 0x000044a0 
+ 00025001  0x00007df6 imul32  0x00000002 , 0x00000012 
+ 00025002  0x00007df7 copy  0x00000013 , 0x0000003f 
+ 00025003  0x00007df8 imul32  0x00000011 , 0x0000003f 
+ 00025004  0x00007df9 isub  0x00000012 , 0x0000003f 
+ 00025005  0x00007dfb idiv  0x00000011 
+ 00025006  0x00007dfc call  0x00007e64 
+ 00025007  0x00007dfd quotient  0x0000003f 
+ 00025008  0x00007dfe rtn 
+ 00025009  0x00007e01 copy  0x00000002 , 0x0000003f 
+ 00025010  0x00007e02 fetcht  0x00000002 , 0x000044a4 
+ 00025011  0x00007e03 isub  0x00000002 , 0x0000003f 
+ 00025012  0x00007e04 fetcht  0x00000002 , 0x000044a0 
+ 00025013  0x00007e05 imul32  0x00000002 , 0x00000012 
+ 00025014  0x00007e06 copy  0x00000013 , 0x0000003f 
+ 00025015  0x00007e07 imul32  0x00000011 , 0x0000003f 
+ 00025016  0x00007e08 iadd  0x00000012 , 0x0000003f 
+ 00025017  0x00007e09 branch  0x000061ad 
+ 00025018  0x00007e0e ifetch  0x00000008 , 0x00000011 
+ 00025019  0x00007e0f store  0x00000008 , 0x0000095c 
+ 00025020  0x00007e10 fetch  0x00000002 , 0x0000095c 
+ 00025021  0x00007e11 fetcht  0x00000002 , 0x0000095e 
+ 00025022  0x00007e12 isub  0x00000002 , 0x00000011 
+ 00025023  0x00007e13 fetch  0x00000002 , 0x00000962 
+ 00025024  0x00007e14 isub  0x00000002 , 0x00000012 
+ 00025025  0x00007e15 fetcht  0x00000002 , 0x00000960 
+ 00025026  0x00007e16 isub  0x00000002 , 0x0000003e 
+ 00025027  0x00007e17 ncall  0x000061ca , 0x00000002 
+ 00025028  0x00007e18 mul32  0x00000012 , 0x00000064 , 0x0000003f 
+ 00025029  0x00007e19 idiv  0x00000011 
+ 00025030  0x00007e1a call  0x00007e64 
+ 00025031  0x00007e1b quotient  0x0000003f 
+ 00025032  0x00007e1c call  0x000061d2 , 0x00000034 
+ 00025033  0x00007e1d rtn 
+ 00025034  0x00007e1f fetch  0x00000001 , 0x000044a6 
+ 00025035  0x00007e20 set1  0x00000000 , 0x0000003f 
+ 00025036  0x00007e21 store  0x00000001 , 0x000044a6 
+ 00025037  0x00007e22 rtn 
+ 00025038  0x00007e25 fetch  0x00000001 , 0x000044a6 
+ 00025039  0x00007e26 set0  0x00000000 , 0x0000003f 
+ 00025040  0x00007e27 store  0x00000001 , 0x000044a6 
+ 00025041  0x00007e28 rtn 
+ 00025042  0x00007e2b fetcht  0x00000001 , 0x000044a6 
+ 00025043  0x00007e2c set1  0x00000001 , 0x00000002 
+ 00025044  0x00007e2d storet  0x00000001 , 0x000044a6 
+ 00025045  0x00007e2e rtn 
+ 00025046  0x00007e31 fetcht  0x00000001 , 0x000044a6 
+ 00025047  0x00007e32 set0  0x00000001 , 0x00000002 
+ 00025048  0x00007e33 storet  0x00000001 , 0x000044a6 
+ 00025049  0x00007e34 rtn 
+ 00025050  0x00007e3a fetch  0x00000002 , 0x000044c8 
+ 00025051  0x00007e3b ifetch  0x00000001 , 0x0000003f 
+ 00025052  0x00007e3d rtn  0x00000034 
+ 00025053  0x00007e3e copy  0x0000003f , 0x00000039 
+ 00025054  0x00007e40 fetch  0x00000002 , 0x000044c8 
+ 00025055  0x00007e41 increase  0x00000003 , 0x0000003f 
+ 00025056  0x00007e42 copy  0x0000003f , 0x00000011 
+ 00025057  0x00007e44 ifetcht  0x00000001 , 0x00000011 
+ 00025058  0x00007e45 call  0x000060f4 
+ 00025059  0x00007e46 increase  0x00000001 , 0x00000011 
+ 00025060  0x00007e47 loop  0x000061e1 
+ 00025061  0x00007e49 rtn 
+ 00025062  0x00007e4c fetch  0x00000002 , 0x000044c8 
+ 00025063  0x00007e4d increase  0x00000003 , 0x0000003f 
+ 00025064  0x00007e4e copy  0x0000003f , 0x00000011 
+ 00025065  0x00007e50 force  0x00000000 , 0x00000012 
+ 00025066  0x00007e51 setarg  0x00000000 
+ 00025067  0x00007e52 store  0x00000002 , 0x000009de 
+ 00025068  0x00007e54 ifetcht  0x00000001 , 0x00000011 
+ 00025069  0x00007e55 call  0x000060fd 
+ 00025070  0x00007e56 bpatchx  0x00000034 , 0x00004026 
+ 00025071  0x00007e57 fetch  0x00000002 , 0x000009de 
+ 00025072  0x00007e58 copy  0x00000012 , 0x00000007 
+ 00025073  0x00007e59 qsetflag  0x00000001 , 0x0000003f 
+ 00025074  0x00007e5a store  0x00000002 , 0x000009de 
+ 00025075  0x00007e5b increase  0x00000001 , 0x00000011 
+ 00025076  0x00007e5c increase  0x00000001 , 0x00000012 
+ 00025077  0x00007e5d fetch  0x00000002 , 0x000044c8 
+ 00025078  0x00007e5e ifetch  0x00000001 , 0x0000003f 
+ 00025079  0x00007e60 ixor  0x00000012 , 0x0000003e 
+ 00025080  0x00007e61 nbranch  0x000061ec , 0x00000005 
+ 00025081  0x00007e62 fetch  0x00000002 , 0x000009de 
+ 00025082  0x00007e63 fetcht  0x00000002 , 0x000044ca 
+ 00025083  0x00007e64 ixor  0x00000002 , 0x0000003e 
+ 00025084  0x00007e65 rtn  0x00000005 
+ 00025085  0x00007e66 enable  0x00000028 
+ 00025086  0x00007e67 rtn 
+ 00025087  0x00007e6a fetch  0x00000002 , 0x000044c8 
+ 00025088  0x00007e6b ifetch  0x00000001 , 0x0000003f 
+ 00025089  0x00007e6d rtn  0x00000034 
+ 00025090  0x00007e6e copy  0x0000003f , 0x00000039 
+ 00025091  0x00007e6f fetch  0x00000002 , 0x000044c8 
+ 00025092  0x00007e70 increase  0x00000003 , 0x0000003f 
+ 00025093  0x00007e71 copy  0x0000003f , 0x00000011 
+ 00025094  0x00007e73 ifetcht  0x00000001 , 0x00000011 
+ 00025095  0x00007e74 call  0x000060d6 
+ 00025096  0x00007e75 increase  0x00000001 , 0x00000011 
+ 00025097  0x00007e76 loop  0x00006206 
+ 00025098  0x00007e78 rtn 
+ 00025099  0x00007e7b arg  0x00000009 , 0x00000007 
+ 00025100  0x00007e7c call  0x00007de9 
+ 00025101  0x00007e7d nrtn  0x00000034 
+ 00025102  0x00007e7e setarg  0x00000020 
+ 00025103  0x00007e7f arg  0x00000009 , 0x00000007 
+ 00025104  0x00007e80 call  0x00007ddb 
+ 00025105  0x00007e81 disable  0x00000028 
+ 00025106  0x00007e82 call  0x000061ff 
+ 00025107  0x00007e83 bpatchx  0x00000035 , 0x00004026 
+ 00025108  0x00007e84 fetch  0x00000002 , 0x000044c8 
+ 00025109  0x00007e85 ifetch  0x00000001 , 0x0000003f 
+ 00025110  0x00007e87 rtn  0x00000034 
+ 00025111  0x00007e88 call  0x000061e6 
+ 00025112  0x00007e89 nbranch  0x00007855 , 0x00000028 
+ 00025113  0x00007e8a call  0x00007853 
+ 00025114  0x00007e8b disable  0x00000028 
+ 00025115  0x00007e8c fetch  0x00000002 , 0x000009de 
+ 00025116  0x00007e8d store  0x00000002 , 0x000009e5 
+ 00025117  0x00007e8e jam  0x00000000 , 0x000009e7 
+ 00025118  0x00007e8f force  0x00000000 , 0x00000007 
+ 00025119  0x00007e91 fetch  0x00000002 , 0x000044ca 
+ 00025120  0x00007e92 rshift  0x0000003f , 0x00000002 
+ 00025121  0x00007e93 storet  0x00000002 , 0x000044ca 
+ 00025122  0x00007e94 and  0x0000003f , 0x00000001 , 0x0000003f 
+ 00025123  0x00007e95 fetcht  0x00000002 , 0x000009e5 
+ 00025124  0x00007e96 and  0x00000002 , 0x00000001 , 0x00000011 
+ 00025125  0x00007e97 rshift  0x00000002 , 0x00000002 
+ 00025126  0x00007e98 storet  0x00000002 , 0x000009e5 
+ 00025127  0x00007e99 ixor  0x00000011 , 0x0000003e 
+ 00025128  0x00007e9a ncall  0x00006234 , 0x00000005 
+ 00025129  0x00007e9b fetch  0x00000002 , 0x000044c8 
+ 00025130  0x00007e9c ifetch  0x00000001 , 0x0000003f 
+ 00025131  0x00007e9e fetcht  0x00000001 , 0x000009e7 
+ 00025132  0x00007e9f increase  0x00000001 , 0x00000002 
+ 00025133  0x00007ea0 storet  0x00000001 , 0x000009e7 
+ 00025134  0x00007ea1 copy  0x00000002 , 0x00000007 
+ 00025135  0x00007ea2 ixor  0x00000007 , 0x0000003e 
+ 00025136  0x00007ea3 nbranch  0x0000621f , 0x00000005 
+ 00025137  0x00007ea4 fetch  0x00000002 , 0x000009de 
+ 00025138  0x00007ea5 store  0x00000002 , 0x000044ca 
+ 00025139  0x00007ea6 rtn 
+ 00025140  0x00007ea8 bpatchx  0x00000036 , 0x00004026 
+ 00025141  0x00007ea9 fetch  0x00000002 , 0x000044c8 
+ 00025142  0x00007eaa increase  0x00000001 , 0x0000003f 
+ 00025143  0x00007eab ifetch  0x00000002 , 0x0000003f 
+ 00025144  0x00007eac branch  0x00007e7a 
+ 00025145  0x00007eb3 fetch  0x00000001 , 0x00008042 
+ 00025146  0x00007eb4 ior  0x00000011 , 0x0000003f 
+ 00025147  0x00007eb5 store  0x00000001 , 0x00008042 
+ 00025148  0x00007eb6 fetch  0x00000002 , 0x00008050 
+ 00025149  0x00007eb7 set0  0x0000000d , 0x0000003f 
+ 00025150  0x00007eb8 store  0x00000002 , 0x00008050 
+ 00025151  0x00007eba nop  0x00000064 
+ 00025152  0x00007ebb rtn 
+ 00025153  0x00007ebe fetch  0x00000001 , 0x00008042 
+ 00025154  0x00007ebf bbit1  0x00000006 , 0x00006246 
+ 00025155  0x00007ec0 bbit1  0x00000007 , 0x00006248 
+ 00025156  0x00007ec2 setarg  0x00b71b00 
+ 00025157  0x00007ec3 rtn 
+ 00025158  0x00007ec5 setarg  0x016e3600 
+ 00025159  0x00007ec6 rtn 
+ 00025160  0x00007ec8 setarg  0x000080e8 
+ 00025161  0x00007ec9 rtn 
+ 00025162  0x00007ecb fetch  0x00000001 , 0x0000095d 
+ 00025163  0x00007ecc bbit1  0x00000004 , 0x0000624e 
+ 00025164  0x00007ecd bbit0  0x00000004 , 0x00006255 
+ 00025165  0x00007ece rtn 
+ 00025166  0x00007ed0 enable  0x00000028 
+ 00025167  0x00007ed1 and  0x0000003f , 0x0000000f , 0x00000007 
+ 00025168  0x00007ed2 call  0x0000625c 
+ 00025169  0x00007ed3 quotient  0x00000012 
+ 00025170  0x00007ed4 copy  0x00000002 , 0x0000003f 
+ 00025171  0x00007ed5 isub  0x00000012 , 0x00000011 
+ 00025172  0x00007ed6 rtn 
+ 00025173  0x00007ed9 disable  0x00000028 
+ 00025174  0x00007eda and  0x0000003f , 0x0000000f , 0x00000007 
+ 00025175  0x00007edb call  0x0000625c 
+ 00025176  0x00007edc quotient  0x00000011 
+ 00025177  0x00007edd copy  0x00000002 , 0x0000003f 
+ 00025178  0x00007ede isub  0x00000011 , 0x00000012 
+ 00025179  0x00007edf rtn 
+ 00025180  0x00007ee2 fetch  0x00000001 , 0x000080d8 
+ 00025181  0x00007ee3 qsetflag  0x00000028 , 0x0000003f 
+ 00025182  0x00007ee4 store  0x00000001 , 0x000080d8 
+ 00025183  0x00007ee5 rtn 
+ 00025184  0x00007ee8 fetcht  0x00000003 , 0x0000095e 
+ 00025185  0x00007ee9 call  0x00006241 
+ 00025186  0x00007eea idiv  0x00000002 
+ 00025187  0x00007eeb call  0x00007e64 
+ 00025188  0x00007eec quotient  0x00000002 
+ 00025189  0x00007eed fetch  0x00000001 , 0x00000961 
+ 00025190  0x00007eee imul32  0x00000002 , 0x0000003f 
+ 00025191  0x00007eef div  0x0000003f , 0x00000064 
+ 00025192  0x00007ef0 call  0x00007e64 
+ 00025193  0x00007ef1 call  0x0000624a 
+ 00025194  0x00007ef2 fetch  0x00000001 , 0x0000095d 
+ 00025195  0x00007ef3 call  0x00006272 
+ 00025196  0x00007ef4 fetch  0x00000001 , 0x0000095c 
+ 00025197  0x00007ef5 fetcht  0x00000001 , 0x0000095d 
+ 00025198  0x00007ef6 and_into  0x0000000f , 0x00000002 
+ 00025199  0x00007ef7 lshift8  0x00000002 , 0x00000002 
+ 00025200  0x00007ef8 ior  0x00000002 , 0x0000003f 
+ 00025201  0x00007ef9 branch  0x0000627b 
+ 00025202  0x00007efd and_into  0x0000000f , 0x0000003f 
+ 00025203  0x00007efe arg  0x000080a0 , 0x00000005 
+ 00025204  0x00007eff mul32  0x0000003f , 0x00000004 , 0x0000003f 
+ 00025205  0x00007f00 iadd  0x00000005 , 0x00000005 
+ 00025206  0x00007f01 copy  0x00000011 , 0x0000003f 
+ 00025207  0x00007f02 istore  0x00000002 , 0x00000005 
+ 00025208  0x00007f03 copy  0x00000012 , 0x0000003f 
+ 00025209  0x00007f04 istore  0x00000002 , 0x00000005 
+ 00025210  0x00007f05 rtn 
+ 00025211  0x00007f0a enable  0x00000028 
+ 00025212  0x00007f0b call  0x00006290 
+ 00025213  0x00007f0c branch  0x00006280 
+ 00025214  0x00007f0e disable  0x00000028 
+ 00025215  0x00007f0f call  0x0000628b 
+ 00025216  0x00007f11 copy  0x00000002 , 0x0000003f 
+ 00025217  0x00007f12 lshift8  0x0000003f , 0x0000003f 
+ 00025218  0x00007f13 add  0x00000007 , 0x00000010 , 0x00000002 
+ 00025219  0x00007f14 ior  0x00000002 , 0x0000003f 
+ 00025220  0x00007f15 call  0x00006128 
+ 00025221  0x00007f17 fetch  0x00000001 , 0x00008084 
+ 00025222  0x00007f18 jam  0x00000000 , 0x00008084 
+ 00025223  0x00007f19 nop  0x000004b0 
+ 00025224  0x00007f1a qsetflag  0x00000028 , 0x0000003f 
+ 00025225  0x00007f1b store  0x00000001 , 0x00008084 
+ 00025226  0x00007f1c rtn 
+ 00025227  0x00007f1e copy  0x0000003f , 0x00000002 
+ 00025228  0x00007f1f rshift8  0x0000003f , 0x0000003f 
+ 00025229  0x00007f20 copy  0x0000003f , 0x00000007 
+ 00025230  0x00007f21 rtn 
+ 00025231  0x00007f25 disable  0x00000028 
+ 00025232  0x00007f27 call  0x0000628b 
+ 00025233  0x00007f28 fetch  0x00000001 , 0x000080dd 
+ 00025234  0x00007f29 nqsetflag  0x00000028 , 0x0000003f 
+ 00025235  0x00007f2a store  0x00000001 , 0x000080dd 
+ 00025236  0x00007f2b branch  0x00006280 
+ 00025237  0x00007f31 arg  0x00002710 , 0x00000002 
+ 00025238  0x00007f32 imul32  0x00000002 , 0x0000003f 
+ 00025239  0x00007f33 arg  0x0001312d , 0x00000002 
+ 00025240  0x00007f34 idiv  0x00000002 
+ 00025241  0x00007f35 call  0x00007e64 
+ 00025242  0x00007f36 quotient  0x00000002 
+ 00025243  0x00007f37 setarg  0x00000800 
+ 00025244  0x00007f38 isub  0x00000002 , 0x0000003f 
+ 00025245  0x00007f39 copy  0x0000003f , 0x00000002 
+ 00025246  0x00007f3a and_into  0x0000000f , 0x00000002 
+ 00025247  0x00007f3b storet  0x00000001 , 0x0000800b 
+ 00025248  0x00007f3c copy  0x0000003f , 0x00000002 
+ 00025249  0x00007f3d rshift4  0x00000002 , 0x00000002 
+ 00025250  0x00007f3e storet  0x00000001 , 0x00008004 
+ 00025251  0x00007f3f rtn 
+ 00025252  0x00007f42 enable  0x0000002c 
+ 00025253  0x00007f43 branch  0x000062a7 
+ 00025254  0x00007f45 disable  0x0000002c 
+ 00025255  0x00007f47 fetch  0x00000001 , 0x00008043 
+ 00025256  0x00007f48 setflag  0x0000002c , 0x00000003 , 0x0000003f 
+ 00025257  0x00007f49 store  0x00000001 , 0x00008043 
+ 00025258  0x00007f4a rtn 
+ 00025259  0x00007f4f arg  0x00000031 , 0x00000002 
+ 00025260  0x00007f53 store  0x00000004 , 0x000080ca 
+ 00025261  0x00007f54 store  0x00000002 , 0x000080ce 
+ 00025262  0x00007f55 storet  0x00000001 , 0x000080d0 
+ 00025263  0x00007f56 rtn 
+ 00025264  0x00007f5a fetch  0x00000002 , 0x00008130 
+ 00025265  0x00007f5b rtn 
+ 00025266  0x00007f5e fetchr  0x00000003 , 0x00000002 , 0x000080ce 
+ 00025267  0x00007f5f fetchr  0x0000000a , 0x00000002 , 0x000080ca 
+ 00025268  0x00007f60 fetchr  0x00000010 , 0x00000002 , 0x000080cc 
+ 00025269  0x00007f61 rtn 
+ 00025270  0x00007f64 storer  0x00000003 , 0x00000002 , 0x000080ce 
+ 00025271  0x00007f65 rtn 
+ 00025272  0x00007f6d call  0x00007ec5 
+ 00025273  0x00007f6e arg  0x00000000 , 0x0000002b 
+ 00025274  0x00007f6f call  0x000062b0 
+ 00025275  0x00007f70 beq  0x00000002 , 0x000062fa 
+ 00025276  0x00007f71 sub  0x0000003f , 0x00000004 , 0x0000003e 
+ 00025277  0x00007f72 rtn  0x00000002 
+ 00025278  0x00007f73 call  0x000062b2 
+ 00025279  0x00007f74 ifetcht  0x00000002 , 0x00000003 
+ 00025280  0x00007f75 setarg  0x0000a654 
+ 00025281  0x00007f76 call  0x00006303 
+ 00025282  0x00007f77 nbranch  0x000062e8 , 0x00000002 
+ 00025283  0x00007f78 copy  0x00000018 , 0x00000002 
+ 00025284  0x00007f79 setarg  0x00017f8e 
+ 00025285  0x00007f7a call  0x00006303 
+ 00025286  0x00007f7b nbranch  0x000062e8 , 0x00000002 
+ 00025287  0x00007f7d copy  0x00000018 , 0x00000002 
+ 00025288  0x00007f7e setarg  0x00002328 
+ 00025289  0x00007f7f call  0x00006303 
+ 00025290  0x00007f80 branch  0x000062df , 0x00000002 
+ 00025291  0x00007f81 ifetcht  0x00000002 , 0x00000003 
+ 00025292  0x00007f82 setarg  0x00001194 
+ 00025293  0x00007f83 call  0x00006303 
+ 00025294  0x00007f84 branch  0x000062df , 0x00000002 
+ 00025295  0x00007f85 call  0x000062b0 
+ 00025296  0x00007f86 sub  0x0000003f , 0x00000085 , 0x0000003e 
+ 00025297  0x00007f87 rtn  0x00000002 
+ 00025298  0x00007f88 arg  0x00000020 , 0x00000039 
+ 00025299  0x00007f8a ifetcht  0x00000002 , 0x00000003 
+ 00025300  0x00007f8b setarg  0x00000230 
+ 00025301  0x00007f8c call  0x00006303 
+ 00025302  0x00007f8d branch  0x000062df , 0x00000002 
+ 00025303  0x00007f8e ifetcht  0x00000002 , 0x00000003 
+ 00025304  0x00007f8f setarg  0x0000069a 
+ 00025305  0x00007f90 call  0x00006303 
+ 00025306  0x00007f91 nbranch  0x000062e4 , 0x00000002 
+ 00025307  0x00007f92 copy  0x00000018 , 0x00000002 
+ 00025308  0x00007f93 setarg  0x00000230 
+ 00025309  0x00007f94 call  0x00006303 
+ 00025310  0x00007f95 nbranch  0x000062e5 , 0x00000002 
+ 00025311  0x00007f99 copy  0x00000018 , 0x00000002 
+ 00025312  0x00007f9a setarg  0x0000ffff 
+ 00025313  0x00007f9b isub  0x00000002 , 0x0000003e 
+ 00025314  0x00007f9c branch  0x000062ff , 0x00000005 
+ 00025315  0x00007f9d branch  0x000062b6 
+ 00025316  0x00007fa0 set1  0x00000020 , 0x0000002b 
+ 00025317  0x00007fa2 rshift  0x0000002b , 0x0000002b 
+ 00025318  0x00007fa3 loop  0x000062d3 
+ 00025319  0x00007fa4 branch  0x000062f3 
+ 00025320  0x00007fa7 call  0x000062b0 
+ 00025321  0x00007fa8 sub  0x0000003f , 0x00000007 , 0x0000003e 
+ 00025322  0x00007fa9 rtn  0x00000002 
+ 00025323  0x00007faa ifetcht  0x00000002 , 0x00000003 
+ 00025324  0x00007fab setarg  0x00002328 
+ 00025325  0x00007fac call  0x00006303 
+ 00025326  0x00007fad branch  0x000062df , 0x00000002 
+ 00025327  0x00007fae ifetcht  0x00000002 , 0x00000003 
+ 00025328  0x00007faf setarg  0x000008ca 
+ 00025329  0x00007fb0 call  0x00006303 
+ 00025330  0x00007fb1 branch  0x000062df , 0x00000002 
+ 00025331  0x00007fb3 ifetcht  0x00000002 , 0x00000003 
+ 00025332  0x00007fb4 setarg  0x00000230 
+ 00025333  0x00007fb5 call  0x00006303 
+ 00025334  0x00007fb6 branch  0x000062df , 0x00000002 
+ 00025335  0x00007fb7 call  0x000062b6 
+ 00025336  0x00007fb8 copy  0x00000013 , 0x0000003f 
+ 00025337  0x00007fb9 branch  0x00007e7a 
+ 00025338  0x00007fbc call  0x000062b2 
+ 00025339  0x00007fbd ifetcht  0x00000002 , 0x00000003 
+ 00025340  0x00007fbe setarg  0x0000ffff 
+ 00025341  0x00007fbf isub  0x00000002 , 0x0000003e 
+ 00025342  0x00007fc0 nrtn  0x00000005 
+ 00025343  0x00007fc2 call  0x000062b6 
+ 00025344  0x00007fc3 call  0x00007ec7 
+ 00025345  0x00007fc4 copy  0x00000013 , 0x0000003f 
+ 00025346  0x00007fc5 branch  0x00007e7a 
+ 00025347  0x00007fcd fetchr  0x00000012 , 0x00000001 , 0x000044d6 
+ 00025348  0x00007fd7 copy  0x00000002 , 0x00000018 
+ 00025349  0x00007fd8 imul32  0x00000012 , 0x00000012 
+ 00025350  0x00007fd9 lshift  0x00000002 , 0x00000002 
+ 00025351  0x00007fda isub  0x00000002 , 0x00000011 
+ 00025352  0x00007fdb ncall  0x0000630c , 0x00000002 
+ 00025353  0x00007fdc mul32  0x00000011 , 0x00000064 , 0x0000003f 
+ 00025354  0x00007fdd isub  0x00000012 , 0x0000003e 
+ 00025355  0x00007fde rtn 
+ 00025356  0x00007fe1 sub  0x00000011 , 0x00000000 , 0x00000011 
+ 00025357  0x00007fe2 rtn 
+ 00025358  0x00007fe7 jam  0x00000018 , 0x000041f0 
+ 00025359  0x00007fe8 jam  0x00000001 , 0x00008042 
+ 00025360  0x00007fe9 setarg  0x00001d4b 
+ 00025361  0x00007fea store  0x00000002 , 0x00008040 
+ 00025362  0x00007fec arg  0x0000000b , 0x00000039 
+ 00025363  0x00007fed arg  0x00000155 , 0x00000011 
+ 00025364  0x00007fef ifetch  0x00000002 , 0x00000011 
+ 00025365  0x00007ff0 lshift  0x0000003f , 0x0000003f 
+ 00025366  0x00007ff1 istore  0x00000002 , 0x00000011 
+ 00025367  0x00007ff2 increase  0x00000002 , 0x00000011 
+ 00025368  0x00007ff3 loop  0x00006314 
+ 00025369  0x00007ff4 rtn 
+ 00025370  0x00007ff7 lshift  0x0000001b , 0x0000001b 
+ 00025371  0x00007ff8 rtn 
+ 00025372  0x00007ffb jam  0x00000004 , 0x00008042 
+ 00025373  0x00007ffd jam  0x0000000c , 0x000041f0 
+ 00025374  0x00007ffe setarg  0x00000ea5 
+ 00025375  0x00007fff store  0x00000002 , 0x00008040 
+ 00025376  0x00008000 rtn 
+ 00025377  0x00008003 jam  0x00000005 , 0x00008042 
+ 00025378  0x00008004 branch  0x0000631d 
+ 00025379  0x0000800e rtn  0x0000002b 
+ 00025380  0x0000800f jam  0x00000000 , 0x00004655 
+ 00025381  0x00008010 jam  0x00000003 , 0x000003c0 
+ 00025382  0x00008011 jam  0x00000003 , 0x000003c1 
+ 00025383  0x00008012 jam  0x00000011 , 0x000003c5 
+ 00025384  0x00008013 jam  0x00000013 , 0x000003c6 
+ 00025385  0x00008014 setarg  0x00000000 
+ 00025386  0x00008015 store  0x00000003 , 0x000003c2 
+ 00025387  0x00008016 store  0x00000001 , 0x000044e7 
+ 00025388  0x00008017 jam  0x00000000 , 0x0000478e 
+ 00025389  0x0000801a setarg  0x00000000 
+ 00025390  0x0000801b store  0x00000001 , 0x000044e7 
+ 00025391  0x0000801c store  0x00000001 , 0x00004652 
+ 00025392  0x0000801d store  0x00000001 , 0x0000464b 
+ 00025393  0x0000801e fetch  0x00000001 , 0x00004659 
+ 00025394  0x0000801f beq  0x00000001 , 0x00006335 
+ 00025395  0x00008020 jam  0x00000050 , 0x00004657 
+ 00025396  0x00008021 rtn 
+ 00025397  0x00008024 jam  0x00000000 , 0x00004657 
+ 00025398  0x00008025 rtn 
+ 00025399  0x00008028 or_into  0x00000002 , 0x00000002 
+ 00025400  0x00008029 rtn 
+ 00025401  0x00008036 copy  0x00000002 , 0x0000003f 
+ 00025402  0x00008037 reverse  0x0000003f , 0x0000003f 
+ 00025403  0x00008038 store  0x00000001 , 0x00004650 
+ 00025404  0x00008039 force  0x0000003f , 0x0000003f 
+ 00025405  0x0000803a reverse  0x0000003f , 0x0000003f 
+ 00025406  0x0000803b store  0x00000001 , 0x0000464f 
+ 00025407  0x0000803c force  0x00000001 , 0x0000003f 
+ 00025408  0x0000803d reverse  0x0000003f , 0x0000003f 
+ 00025409  0x0000803e store  0x00000001 , 0x0000464e 
+ 00025410  0x0000803f call  0x0000636f 
+ 00025411  0x00008040 copy  0x00000002 , 0x0000003f 
+ 00025412  0x00008041 rtn 
+ 00025413  0x00008043 reverse  0x0000003f , 0x0000003f 
+ 00025414  0x00008044 store  0x00000001 , 0x00004650 
+ 00025415  0x00008045 force  0x00000073 , 0x0000003f 
+ 00025416  0x00008046 reverse  0x0000003f , 0x0000003f 
+ 00025417  0x00008047 store  0x00000001 , 0x0000464f 
+ 00025418  0x00008048 force  0x00000001 , 0x0000003f 
+ 00025419  0x00008049 reverse  0x0000003f , 0x0000003f 
+ 00025420  0x0000804a store  0x00000001 , 0x0000464e 
+ 00025421  0x0000804b branch  0x0000636f 
+ 00025422  0x0000804e fetch  0x00000001 , 0x00004651 
+ 00025423  0x0000804f branch  0x00006352 , 0x00000034 
+ 00025424  0x00008050 setarg  0x00000070 
+ 00025425  0x00008051 rtn 
+ 00025426  0x00008053 setarg  0x000000aa 
+ 00025427  0x00008054 rtn 
+ 00025428  0x00008057 reverse  0x0000003f , 0x0000003f 
+ 00025429  0x00008058 store  0x00000001 , 0x00004650 
+ 00025430  0x00008059 force  0x000000ef , 0x0000003f 
+ 00025431  0x0000805a call  0x00006363 
+ 00025432  0x0000805b fetcht  0x00000002 , 0x000003ca 
+ 00025433  0x0000805c copy  0x00000002 , 0x00000005 
+ 00025434  0x0000805d istore  0x00000001 , 0x00000005 
+ 00025435  0x0000805e copy  0x00000005 , 0x00000002 
+ 00025436  0x0000805f storet  0x00000002 , 0x000003ca 
+ 00025437  0x00008060 force  0x000000ff , 0x0000003f 
+ 00025438  0x00008061 call  0x00006363 
+ 00025439  0x00008062 fetcht  0x00000002 , 0x000003ca 
+ 00025440  0x00008063 copy  0x00000002 , 0x00000005 
+ 00025441  0x00008064 istore  0x00000001 , 0x00000005 
+ 00025442  0x00008065 rtn 
+ 00025443  0x0000806f reverse  0x0000003f , 0x0000003f 
+ 00025444  0x00008070 store  0x00000001 , 0x0000464f 
+ 00025445  0x00008071 fetch  0x00000002 , 0x0000464f 
+ 00025446  0x00008072 lshift8  0x0000003f , 0x0000003f 
+ 00025447  0x00008073 store  0x00000003 , 0x000003c7 
+ 00025448  0x00008074 arg  0x00000107 , 0x00000011 
+ 00025449  0x00008075 arg  0x0000000f , 0x00000012 
+ 00025450  0x00008076 call  0x0000637c 
+ 00025451  0x00008077 xor_into  0x000000d7 , 0x0000003f 
+ 00025452  0x00008078 invert  0x0000003f , 0x0000003f 
+ 00025453  0x00008079 reverse  0x0000003f , 0x0000003f 
+ 00025454  0x0000807a rtn 
+ 00025455  0x00008085 fetch  0x00000003 , 0x0000464e 
+ 00025456  0x00008086 store  0x00000003 , 0x000003c7 
+ 00025457  0x00008087 arg  0x00000107 , 0x00000011 
+ 00025458  0x00008088 arg  0x0000000f , 0x00000012 
+ 00025459  0x00008089 call  0x0000637c 
+ 00025460  0x0000808a lshift8  0x0000003f , 0x0000003f 
+ 00025461  0x0000808b arg  0x00000007 , 0x00000012 
+ 00025462  0x0000808c call  0x0000637c 
+ 00025463  0x0000808d xor_into  0x0000002b , 0x0000003f 
+ 00025464  0x0000808e invert  0x0000003f , 0x0000003f 
+ 00025465  0x0000808f reverse  0x0000003f , 0x0000003f 
+ 00025466  0x00008090 copy  0x0000003f , 0x00000002 
+ 00025467  0x00008091 rtn 
+ 00025468  0x00008094 arg  0x00000000 , 0x00000013 
+ 00025469  0x00008095 copy  0x00000012 , 0x00000039 
+ 00025470  0x00008096 call  0x00007d30 
+ 00025471  0x00008097 icopy  0x00000002 
+ 00025472  0x0000809d copy  0x00000002 , 0x0000003f 
+ 00025473  0x0000809e lshift  0x00000013 , 0x00000013 
+ 00025474  0x0000809f bbit0  0x00000008 , 0x00006385 
+ 00025475  0x000080a0 ixor  0x00000011 , 0x00000002 
+ 00025476  0x000080a1 increase  0x00000001 , 0x00000013 
+ 00025477  0x000080a3 lshift  0x00000002 , 0x00000002 
+ 00025478  0x000080a4 fetch  0x00000003 , 0x000003c7 
+ 00025479  0x000080a5 increase  0xffffffff , 0x00000012 
+ 00025480  0x000080a6 compare  0x000000ff , 0x00000012 , 0x000000ff 
+ 00025481  0x000080a7 branch  0x0000638f , 0x00000001 
+ 00025482  0x000080a8 copy  0x00000012 , 0x00000039 
+ 00025483  0x000080a9 call  0x00007d30 
+ 00025484  0x000080aa isolate1  0x00000000 , 0x0000003f 
+ 00025485  0x000080ab setflag  0x00000001 , 0x00000000 , 0x00000002 
+ 00025486  0x000080ac branch  0x00006380 
+ 00025487  0x000080af rshift  0x00000002 , 0x0000003f 
+ 00025488  0x000080b0 rtn 
+ 00025489  0x000080b3 fetcht  0x00000001 , 0x0000464b 
+ 00025490  0x000080b6 lshift2  0x00000002 , 0x00000002 
+ 00025491  0x000080b7 set1  0x00000000 , 0x00000002 
+ 00025492  0x000080b8 fetch  0x00000001 , 0x00004651 
+ 00025493  0x000080b9 ncall  0x00006337 , 0x00000034 
+ 00025494  0x000080ba storet  0x00000001 , 0x000003e0 
+ 00025495  0x000080bb rtn 
+ 00025496  0x000080bf lshift  0x00000002 , 0x00000002 
+ 00025497  0x000080c0 fetch  0x00000001 , 0x00004651 
+ 00025498  0x000080c1 setflag  0x00000034 , 0x00000000 , 0x00000002 
+ 00025499  0x000080c3 rtn 
+ 00025500  0x000080c5 fetcht  0x00000001 , 0x000003cf 
+ 00025501  0x000080c6 jam  0x000000d7 , 0x000003d1 
+ 00025502  0x000080c7 call  0x000064d5 
+ 00025503  0x000080c8 fetch  0x00000001 , 0x000044e4 
+ 00025504  0x000080c9 set1  0x00000006 , 0x0000003f 
+ 00025505  0x000080ca set1  0x00000007 , 0x0000003f 
+ 00025506  0x000080cb store  0x00000001 , 0x000044e4 
+ 00025507  0x000080cc jam  0x00000000 , 0x00004651 
+ 00025508  0x000080cd branch  0x000064b6 
+ 00025509  0x000080cf fetch  0x00000001 , 0x000044e4 
+ 00025510  0x000080d0 set1  0x00000007 , 0x0000003f 
+ 00025511  0x000080d1 store  0x00000001 , 0x000044e4 
+ 00025512  0x000080d2 branch  0x000064b6 
+ 00025513  0x000080d6 bpatchx  0x00000037 , 0x00004026 
+ 00025514  0x000080d7 fetch  0x00000001 , 0x0000478e 
+ 00025515  0x000080d8 beq  0x00000000 , 0x000063ad 
+ 00025516  0x000080d9 branch  0x0000646b 
+ 00025517  0x000080dc fetch  0x00000002 , 0x00000315 
+ 00025518  0x000080dd copy  0x0000003f , 0x00000006 
+ 00025519  0x000080de call  0x000063d7 
+ 00025520  0x000080df fetch  0x00000001 , 0x000003cf 
+ 00025521  0x000080e0 beq  0x00000000 , 0x000063b3 
+ 00025522  0x000080e1 branch  0x00006437 
+ 00025523  0x000080e3 bpatchx  0x00000038 , 0x00004027 
+ 00025524  0x000080e4 fetch  0x00000001 , 0x000003d0 
+ 00025525  0x000080e5 beq  0x0000003f , 0x0000639c 
+ 00025526  0x000080e6 beq  0x00000073 , 0x000063a5 
+ 00025527  0x000080e7 beq  0x000000ef , 0x000063ba 
+ 00025528  0x000080e8 beq  0x00000053 , 0x00006463 
+ 00025529  0x000080e9 rtn 
+ 00025530  0x000080ed fetch  0x00000002 , 0x000003d4 
+ 00025531  0x000080ee copy  0x0000003f , 0x00000006 
+ 00025532  0x000080ef call  0x000063e2 
+ 00025533  0x000080f0 fetch  0x00000001 , 0x000003d6 
+ 00025534  0x000080f1 beq  0x00000041 , 0x000063c4 
+ 00025535  0x000080f2 beq  0x00000040 , 0x000063cc 
+ 00025536  0x000080f3 beq  0x00000071 , 0x00006405 
+ 00025537  0x000080f4 beq  0x00000070 , 0x00006411 
+ 00025538  0x000080f5 beq  0x00000049 , 0x0000641c 
+ 00025539  0x000080f6 branch  0x000064b6 
+ 00025540  0x000080f9 call  0x000063ce 
+ 00025541  0x000080fb branch  0x000063c6 
+ 00025542  0x000080fe fetch  0x00000001 , 0x000044e7 
+ 00025543  0x000080ff set1  0x00000000 , 0x0000003f 
+ 00025544  0x00008100 set1  0x00000001 , 0x0000003f 
+ 00025545  0x00008101 store  0x00000001 , 0x000044e7 
+ 00025546  0x00008102 call  0x000064ff 
+ 00025547  0x00008103 branch  0x000064b6 
+ 00025548  0x00008106 call  0x000063ce 
+ 00025549  0x00008107 branch  0x000064b6 
+ 00025550  0x0000810a call  0x000063ea 
+ 00025551  0x0000810b branch  0x000063f6 
+ 00025552  0x0000810e call  0x000063ea 
+ 00025553  0x0000810f ifetch  0x00000001 , 0x00000006 
+ 00025554  0x00008110 rshift3  0x0000003f , 0x0000003f 
+ 00025555  0x00008111 store  0x00000001 , 0x00004658 
+ 00025556  0x00008112 ifetch  0x00000001 , 0x00000006 
+ 00025557  0x00008113 store  0x00000001 , 0x000003db 
+ 00025558  0x00008114 rtn 
+ 00025559  0x00008118 ifetch  0x00000001 , 0x00000006 
+ 00025560  0x00008119 store  0x00000001 , 0x000003ce 
+ 00025561  0x0000811a rshift3  0x0000003f , 0x0000003f 
+ 00025562  0x0000811b store  0x00000001 , 0x000003cf 
+ 00025563  0x0000811c ifetch  0x00000001 , 0x00000006 
+ 00025564  0x0000811d store  0x00000001 , 0x000003d0 
+ 00025565  0x0000811f call  0x000063ed 
+ 00025566  0x00008120 storet  0x00000002 , 0x000003d2 
+ 00025567  0x00008121 copy  0x00000006 , 0x0000003f 
+ 00025568  0x00008122 store  0x00000002 , 0x000003d4 
+ 00025569  0x00008123 rtn 
+ 00025570  0x00008126 ifetch  0x00000001 , 0x00000006 
+ 00025571  0x00008127 rshift  0x0000003f , 0x0000003f 
+ 00025572  0x00008128 store  0x00000001 , 0x000003d6 
+ 00025573  0x00008129 call  0x000063ed 
+ 00025574  0x0000812a storet  0x00000002 , 0x000003d7 
+ 00025575  0x0000812b copy  0x00000006 , 0x0000003f 
+ 00025576  0x0000812c store  0x00000002 , 0x000003d9 
+ 00025577  0x0000812d rtn 
+ 00025578  0x00008131 fetch  0x00000002 , 0x000003d9 
+ 00025579  0x00008132 copy  0x0000003f , 0x00000006 
+ 00025580  0x00008133 rtn 
+ 00025581  0x00008136 ifetch  0x00000001 , 0x00000006 
+ 00025582  0x00008137 copy  0x0000003f , 0x00000002 
+ 00025583  0x00008138 rshift  0x00000002 , 0x00000002 
+ 00025584  0x00008139 rtnbit1  0x00000000 
+ 00025585  0x0000813a ifetch  0x00000001 , 0x00000006 
+ 00025586  0x0000813b lshift3  0x0000003f , 0x0000003f 
+ 00025587  0x0000813c lshift4  0x0000003f , 0x0000003f 
+ 00025588  0x0000813d iadd  0x00000002 , 0x00000002 
+ 00025589  0x0000813e rtn 
+ 00025590  0x00008141 ifetch  0x00000001 , 0x00000006 
+ 00025591  0x00008142 store  0x00000001 , 0x0000464b 
+ 00025592  0x00008143 ifetch  0x00000001 , 0x00000006 
+ 00025593  0x00008144 store  0x00000001 , 0x000003dc 
+ 00025594  0x00008145 ifetch  0x00000001 , 0x00000006 
+ 00025595  0x00008146 store  0x00000001 , 0x000003dd 
+ 00025596  0x00008147 ifetch  0x00000001 , 0x00000006 
+ 00025597  0x00008148 store  0x00000001 , 0x000003de 
+ 00025598  0x00008149 ifetch  0x00000002 , 0x00000006 
+ 00025599  0x0000814a store  0x00000002 , 0x0000464c 
+ 00025600  0x0000814b ifetch  0x00000001 , 0x00000006 
+ 00025601  0x0000814c store  0x00000001 , 0x000003df 
+ 00025602  0x0000814d ifetch  0x00000001 , 0x00000006 
+ 00025603  0x0000814e store  0x00000001 , 0x00004656 
+ 00025604  0x0000814f rtn 
+ 00025605  0x00008153 call  0x000063d0 
+ 00025606  0x00008155 branch  0x00006407 
+ 00025607  0x00008158 fetch  0x00000001 , 0x000044e7 
+ 00025608  0x00008159 set1  0x00000005 , 0x0000003f 
+ 00025609  0x0000815a set1  0x00000006 , 0x0000003f 
+ 00025610  0x0000815b store  0x00000001 , 0x000044e7 
+ 00025611  0x0000815c fetcht  0x00000001 , 0x0000464b 
+ 00025612  0x0000815d lshift2  0x00000002 , 0x00000002 
+ 00025613  0x0000815e or_into  0x00000003 , 0x00000002 
+ 00025614  0x0000815f call  0x00006530 
+ 00025615  0x00008160 jam  0x00000003 , 0x00004655 
+ 00025616  0x00008161 branch  0x000064b6 
+ 00025617  0x00008164 jam  0x00000008 , 0x0000095b 
+ 00025618  0x00008165 call  0x000078dc 
+ 00025619  0x00008166 call  0x000063d0 
+ 00025620  0x00008167 fetch  0x00000001 , 0x00004658 
+ 00025621  0x00008168 sub  0x0000003f , 0x00000001 , 0x0000003e 
+ 00025622  0x00008169 branch  0x00006418 , 0x00000005 
+ 00025623  0x0000816a branch  0x0000137c 
+ 00025624  0x0000816c fetch  0x00000001 , 0x000044e7 
+ 00025625  0x0000816d set1  0x00000007 , 0x0000003f 
+ 00025626  0x0000816e store  0x00000001 , 0x000044e7 
+ 00025627  0x0000816f branch  0x000064b6 
+ 00025628  0x00008172 call  0x000063ea 
+ 00025629  0x00008173 ifetch  0x00000001 , 0x00000006 
+ 00025630  0x00008174 store  0x00000001 , 0x0000098e 
+ 00025631  0x00008175 call  0x00005383 
+ 00025632  0x00008176 call  0x00005391 
+ 00025633  0x00008177 setarg  0x0000000e 
+ 00025634  0x00008178 istore  0x00000002 , 0x00000005 
+ 00025635  0x00008179 fetch  0x00000002 , 0x000044dd 
+ 00025636  0x0000817a istore  0x00000002 , 0x00000005 
+ 00025637  0x0000817b fetch  0x00000001 , 0x00004651 
+ 00025638  0x0000817d lshift  0x0000003f , 0x0000003f 
+ 00025639  0x0000817e set1  0x00000000 , 0x0000003f 
+ 00025640  0x0000817f istore  0x00000001 , 0x00000005 
+ 00025641  0x00008180 bpatchx  0x00000039 , 0x00004027 
+ 00025642  0x00008181 setarg  0x000015ef 
+ 00025643  0x00008182 istore  0x00000002 , 0x00000005 
+ 00025644  0x00008183 setarg  0x00001191 
+ 00025645  0x00008184 istore  0x00000002 , 0x00000005 
+ 00025646  0x00008187 fetch  0x00000001 , 0x0000098e 
+ 00025647  0x00008188 istore  0x00000001 , 0x00000005 
+ 00025648  0x00008189 setarg  0x00000007 
+ 00025649  0x0000818a istore  0x00000005 , 0x00000005 
+ 00025650  0x0000818d setarg  0x00000001 
+ 00025651  0x0000818e istore  0x00000002 , 0x00000005 
+ 00025652  0x00008191 call  0x0000634e 
+ 00025653  0x00008192 istore  0x00000001 , 0x00000005 
+ 00025654  0x00008193 rtn 
+ 00025655  0x00008198 branch  0x00006438 
+ 00025656  0x0000819b bpatchx  0x0000003a , 0x00004027 
+ 00025657  0x0000819c fetch  0x00000001 , 0x000003d0 
+ 00025658  0x0000819d beq  0x00000073 , 0x00006440 
+ 00025659  0x0000819e beq  0x0000003f , 0x00006444 
+ 00025660  0x0000819f beq  0x000000ef , 0x0000645e 
+ 00025661  0x000081a0 beq  0x000000ff , 0x00006456 
+ 00025662  0x000081a1 beq  0x00000053 , 0x00006465 
+ 00025663  0x000081a2 rtn 
+ 00025664  0x000081a4 fetch  0x00000001 , 0x000044e7 
+ 00025665  0x000081a5 set1  0x00000003 , 0x0000003f 
+ 00025666  0x000081a6 store  0x00000001 , 0x000044e7 
+ 00025667  0x000081a7 branch  0x000064b6 
+ 00025668  0x000081a9 fetch  0x00000001 , 0x000044e7 
+ 00025669  0x000081aa set1  0x00000003 , 0x0000003f 
+ 00025670  0x000081ab set1  0x00000002 , 0x0000003f 
+ 00025671  0x000081ac store  0x00000001 , 0x000044e7 
+ 00025672  0x000081ad fetch  0x00000001 , 0x000003ce 
+ 00025673  0x000081ae call  0x00006345 
+ 00025674  0x000081af store  0x00000001 , 0x000003d1 
+ 00025675  0x000081b0 call  0x000064d5 
+ 00025676  0x000081b1 fetch  0x00000001 , 0x000003ce 
+ 00025677  0x000081b2 rshift2  0x0000003f , 0x0000003f 
+ 00025678  0x000081b3 store  0x00000001 , 0x0000464b 
+ 00025679  0x000081b4 lshift2  0x0000003f , 0x0000003f 
+ 00025680  0x000081b5 set0  0x00000001 , 0x0000003f 
+ 00025681  0x000081b6 set1  0x00000000 , 0x0000003f 
+ 00025682  0x000081b7 arg  0x00004653 , 0x00000002 
+ 00025683  0x000081b8 storet  0x00000002 , 0x000003ca 
+ 00025684  0x000081b9 call  0x00006354 
+ 00025685  0x000081ba branch  0x000064b6 
+ 00025686  0x000081bd fetch  0x00000002 , 0x000003d4 
+ 00025687  0x000081be copy  0x0000003f , 0x00000006 
+ 00025688  0x000081bf increase  0x00000001 , 0x0000003f 
+ 00025689  0x000081c0 store  0x00000002 , 0x000003d4 
+ 00025690  0x000081c1 ifetch  0x00000001 , 0x00000006 
+ 00025691  0x000081c2 fetcht  0x00000001 , 0x00004656 
+ 00025692  0x000081c3 iadd  0x00000002 , 0x0000003f 
+ 00025693  0x000081c4 store  0x00000001 , 0x00004656 
+ 00025694  0x000081c6 call  0x00006561 
+ 00025695  0x000081c8 call  0x00006391 
+ 00025696  0x000081c9 call  0x00006547 
+ 00025697  0x000081ca call  0x0000656a 
+ 00025698  0x000081cb branch  0x000064b6 
+ 00025699  0x000081ce jam  0x00000009 , 0x0000095b 
+ 00025700  0x000081cf call  0x000078dc 
+ 00025701  0x000081d1 call  0x0000632d 
+ 00025702  0x000081d2 fetch  0x00000001 , 0x000003ce 
+ 00025703  0x000081d3 call  0x00006345 
+ 00025704  0x000081d4 store  0x00000001 , 0x000003d1 
+ 00025705  0x000081d5 call  0x000064d5 
+ 00025706  0x000081d6 branch  0x000064b6 
+ 00025707  0x000081dc fetch  0x00000002 , 0x00000315 
+ 00025708  0x000081dd copy  0x0000003f , 0x00000006 
+ 00025709  0x000081de call  0x000063d7 
+ 00025710  0x000081df fetch  0x00000001 , 0x000003cf 
+ 00025711  0x000081e0 beq  0x00000000 , 0x00006471 
+ 00025712  0x000081e1 branch  0x000064a5 
+ 00025713  0x000081e4 bpatchx  0x0000003b , 0x00004027 
+ 00025714  0x000081e5 fetch  0x00000001 , 0x000003d0 
+ 00025715  0x000081e6 beq  0x0000003f , 0x0000639c 
+ 00025716  0x000081e7 beq  0x00000073 , 0x000063a5 
+ 00025717  0x000081e8 beq  0x000000ef , 0x00006477 
+ 00025718  0x000081e9 branch  0x000064b6 
+ 00025719  0x000081eb fetch  0x00000002 , 0x000003d4 
+ 00025720  0x000081ec copy  0x0000003f , 0x00000006 
+ 00025721  0x000081ed call  0x000063e2 
+ 00025722  0x000081ee fetch  0x00000001 , 0x000003d6 
+ 00025723  0x000081ef beq  0x00000041 , 0x00006480 
+ 00025724  0x000081f0 beq  0x00000040 , 0x00006480 
+ 00025725  0x000081f1 beq  0x00000071 , 0x0000648b 
+ 00025726  0x000081f2 beq  0x00000070 , 0x0000649b 
+ 00025727  0x000081f3 branch  0x000064b6 
+ 00025728  0x000081f6 call  0x000063ce 
+ 00025729  0x000081f7 fetch  0x00000001 , 0x0000464b 
+ 00025730  0x000081f8 rshift  0x0000003f , 0x0000003f 
+ 00025731  0x000081f9 fetcht  0x00000001 , 0x00004652 
+ 00025732  0x000081fa isub  0x00000002 , 0x0000003e 
+ 00025733  0x000081fb branch  0x00006487 , 0x00000005 
+ 00025734  0x000081fc branch  0x0000137c 
+ 00025735  0x000081fe fetch  0x00000001 , 0x000044e7 
+ 00025736  0x000081ff set1  0x00000001 , 0x0000003f 
+ 00025737  0x00008200 store  0x00000001 , 0x000044e7 
+ 00025738  0x00008201 branch  0x000064b6 
+ 00025739  0x00008204 call  0x000063d0 
+ 00025740  0x00008205 fetch  0x00000001 , 0x00004658 
+ 00025741  0x00008206 fetcht  0x00000001 , 0x00004652 
+ 00025742  0x00008207 isub  0x00000002 , 0x0000003e 
+ 00025743  0x00008208 branch  0x00006492 , 0x00000005 
+ 00025744  0x00008209 branch  0x0000137c 
+ 00025745  0x0000820a branch  0x000064b6 
+ 00025746  0x0000820c fetch  0x00000001 , 0x000044e7 
+ 00025747  0x0000820d set1  0x00000005 , 0x0000003f 
+ 00025748  0x0000820e set1  0x00000006 , 0x0000003f 
+ 00025749  0x0000820f store  0x00000001 , 0x000044e7 
+ 00025750  0x00008210 fetcht  0x00000001 , 0x0000464b 
+ 00025751  0x00008211 lshift2  0x00000002 , 0x00000002 
+ 00025752  0x00008212 or_into  0x00000003 , 0x00000002 
+ 00025753  0x00008213 call  0x00006530 
+ 00025754  0x00008214 branch  0x000064b6 
+ 00025755  0x00008217 call  0x000063d0 
+ 00025756  0x00008218 fetch  0x00000001 , 0x00004658 
+ 00025757  0x00008219 fetcht  0x00000001 , 0x00004652 
+ 00025758  0x0000821a isub  0x00000002 , 0x0000003e 
+ 00025759  0x0000821b branch  0x000064a1 , 0x00000005 
+ 00025760  0x0000821c branch  0x0000137c 
+ 00025761  0x0000821e fetch  0x00000001 , 0x000044e7 
+ 00025762  0x0000821f set1  0x00000007 , 0x0000003f 
+ 00025763  0x00008220 store  0x00000001 , 0x000044e7 
+ 00025764  0x00008221 branch  0x000064b6 
+ 00025765  0x00008224 fetch  0x00000001 , 0x000003cf 
+ 00025766  0x00008225 fetcht  0x00000001 , 0x00004652 
+ 00025767  0x00008226 isub  0x00000002 , 0x0000003e 
+ 00025768  0x00008227 branch  0x000064ab , 0x00000005 
+ 00025769  0x00008228 branch  0x0000137c 
+ 00025770  0x00008229 branch  0x000064b6 
+ 00025771  0x0000822c fetch  0x00000001 , 0x000003d0 
+ 00025772  0x0000822d beq  0x00000073 , 0x000064b0 
+ 00025773  0x0000822e beq  0x000000ef , 0x0000645e 
+ 00025774  0x0000822f beq  0x000000ff , 0x00006456 
+ 00025775  0x00008230 beq  0x00000053 , 0x000064b5 
+ 00025776  0x00008232 fetch  0x00000001 , 0x000044e7 
+ 00025777  0x00008233 set1  0x00000003 , 0x0000003f 
+ 00025778  0x00008234 store  0x00000001 , 0x000044e7 
+ 00025779  0x00008235 branch  0x000064b6 
+ 00025780  0x00008237 branch  0x000064b4 
+ 00025781  0x00008239 branch  0x00006465 
+ 00025782  0x0000823b rtn 
+ 00025783  0x0000823e fetch  0x00000001 , 0x00004655 
+ 00025784  0x0000823f rtn  0x00000034 
+ 00025785  0x00008240 beq  0x00000003 , 0x000064bb 
+ 00025786  0x00008241 branch  0x0000137c 
+ 00025787  0x00008244 jam  0x00000000 , 0x00004655 
+ 00025788  0x00008245 call  0x00005383 
+ 00025789  0x00008246 arg  0x00000001 , 0x00000002 
+ 00025790  0x00008247 fetcht  0x00000001 , 0x0000464b 
+ 00025791  0x00008248 lshift2  0x00000002 , 0x00000002 
+ 00025792  0x0000824a or_into  0x00000003 , 0x00000002 
+ 00025793  0x0000824b arg  0x000000aa , 0x00000011 
+ 00025794  0x0000824c call  0x0000651b 
+ 00025795  0x0000824d call  0x00005391 
+ 00025796  0x0000824e copy  0x00000005 , 0x00000006 
+ 00025797  0x0000824f ifetch  0x00000002 , 0x00000006 
+ 00025798  0x00008250 branch  0x0000137c , 0x00000034 
+ 00025799  0x00008251 rtn 
+ 00025800  0x00008254 call  0x00005391 
+ 00025801  0x00008255 setarg  0x00000004 
+ 00025802  0x00008256 istore  0x00000002 , 0x00000005 
+ 00025803  0x00008257 fetch  0x00000002 , 0x000044dd 
+ 00025804  0x00008258 istore  0x00000002 , 0x00000005 
+ 00025805  0x00008259 fetch  0x00000001 , 0x000003ce 
+ 00025806  0x0000825a istore  0x00000001 , 0x00000005 
+ 00025807  0x0000825b bpatchx  0x0000003c , 0x00004027 
+ 00025808  0x0000825c setarg  0x0000013f 
+ 00025809  0x0000825d istore  0x00000002 , 0x00000005 
+ 00025810  0x0000825e fetch  0x00000001 , 0x000003d1 
+ 00025811  0x0000825f istore  0x00000001 , 0x00000005 
+ 00025812  0x00008260 rtn 
+ 00025813  0x00008262 call  0x00005383 
+ 00025814  0x00008263 call  0x00005391 
+ 00025815  0x00008264 setarg  0x00000004 
+ 00025816  0x00008265 istore  0x00000002 , 0x00000005 
+ 00025817  0x00008266 fetch  0x00000002 , 0x000044dd 
+ 00025818  0x00008267 istore  0x00000002 , 0x00000005 
+ 00025819  0x00008268 fetch  0x00000001 , 0x000003ce 
+ 00025820  0x00008269 istore  0x00000001 , 0x00000005 
+ 00025821  0x0000826a bpatchx  0x0000003d , 0x00004027 
+ 00025822  0x0000826b setarg  0x00000173 
+ 00025823  0x0000826c istore  0x00000002 , 0x00000005 
+ 00025824  0x0000826d fetch  0x00000001 , 0x000003d1 
+ 00025825  0x0000826e istore  0x00000001 , 0x00000005 
+ 00025826  0x0000826f rtn 
+ 00025827  0x00008271 call  0x00005391 
+ 00025828  0x00008272 setarg  0x0000000e 
+ 00025829  0x00008273 istore  0x00000002 , 0x00000005 
+ 00025830  0x00008274 fetch  0x00000002 , 0x000044dd 
+ 00025831  0x00008275 istore  0x00000002 , 0x00000005 
+ 00025832  0x00008276 fetch  0x00000001 , 0x00004651 
+ 00025833  0x00008277 lshift  0x0000003f , 0x0000003f 
+ 00025834  0x00008278 set1  0x00000000 , 0x0000003f 
+ 00025835  0x00008279 istore  0x00000001 , 0x00000005 
+ 00025836  0x0000827a bpatchx  0x0000003e , 0x00004027 
+ 00025837  0x0000827b setarg  0x000015ef 
+ 00025838  0x0000827c istore  0x00000002 , 0x00000005 
+ 00025839  0x0000827d setarg  0x00001183 
+ 00025840  0x0000827e istore  0x00000002 , 0x00000005 
+ 00025841  0x0000827f copy  0x00000002 , 0x0000003f 
+ 00025842  0x00008280 istore  0x00000001 , 0x00000005 
+ 00025843  0x00008281 setarg  0x000000f0 
+ 00025844  0x00008282 istore  0x00000003 , 0x00000005 
+ 00025845  0x00008283 setarg  0x0000007f 
+ 00025846  0x00008284 istore  0x00000002 , 0x00000005 
+ 00025847  0x00008285 setarg  0x00000000 
+ 00025848  0x00008286 istore  0x00000001 , 0x00000005 
+ 00025849  0x00008287 setarg  0x00000001 
+ 00025850  0x00008288 istore  0x00000001 , 0x00000005 
+ 00025851  0x00008289 call  0x0000634e 
+ 00025852  0x0000828a istore  0x00000001 , 0x00000005 
+ 00025853  0x0000828b jam  0x00000010 , 0x00004657 
+ 00025854  0x0000828c rtn 
+ 00025855  0x0000828e call  0x00005383 
+ 00025856  0x0000828f call  0x00005391 
+ 00025857  0x00008290 setarg  0x0000000e 
+ 00025858  0x00008291 istore  0x00000002 , 0x00000005 
+ 00025859  0x00008292 fetch  0x00000002 , 0x000044dd 
+ 00025860  0x00008293 istore  0x00000002 , 0x00000005 
+ 00025861  0x00008294 fetch  0x00000001 , 0x00004651 
+ 00025862  0x00008295 lshift  0x0000003f , 0x0000003f 
+ 00025863  0x00008296 set1  0x00000000 , 0x0000003f 
+ 00025864  0x00008297 istore  0x00000001 , 0x00000005 
+ 00025865  0x00008298 bpatchx  0x0000003f , 0x00004027 
+ 00025866  0x00008299 setarg  0x000015ef 
+ 00025867  0x0000829a istore  0x00000002 , 0x00000005 
+ 00025868  0x0000829b setarg  0x00001181 
+ 00025869  0x0000829c istore  0x00000002 , 0x00000005 
+ 00025870  0x0000829d fetch  0x00000001 , 0x0000464b 
+ 00025871  0x0000829e istore  0x00000001 , 0x00000005 
+ 00025872  0x0000829f setarg  0x000000e0 
+ 00025873  0x000082a0 istore  0x00000003 , 0x00000005 
+ 00025874  0x000082a1 fetch  0x00000002 , 0x0000465a 
+ 00025875  0x000082a2 istore  0x00000002 , 0x00000005 
+ 00025876  0x000082a3 setarg  0x00000000 
+ 00025877  0x000082a4 istore  0x00000001 , 0x00000005 
+ 00025878  0x000082a5 fetch  0x00000001 , 0x0000465c 
+ 00025879  0x000082a6 istore  0x00000001 , 0x00000005 
+ 00025880  0x000082a7 call  0x0000634e 
+ 00025881  0x000082a8 istore  0x00000001 , 0x00000005 
+ 00025882  0x000082a9 rtn 
+ 00025883  0x000082ab call  0x00005391 
+ 00025884  0x000082ac setarg  0x00000008 
+ 00025885  0x000082ad istore  0x00000002 , 0x00000005 
+ 00025886  0x000082ae fetch  0x00000002 , 0x000044dd 
+ 00025887  0x000082af istore  0x00000002 , 0x00000005 
+ 00025888  0x000082b0 fetch  0x00000001 , 0x00004651 
+ 00025889  0x000082b1 lshift  0x0000003f , 0x0000003f 
+ 00025890  0x000082b2 set1  0x00000000 , 0x0000003f 
+ 00025891  0x000082b3 istore  0x00000001 , 0x00000005 
+ 00025892  0x000082b4 bpatchx  0x00000040 , 0x00004028 
+ 00025893  0x000082b5 setarg  0x000009ef 
+ 00025894  0x000082b6 istore  0x00000002 , 0x00000005 
+ 00025895  0x000082b7 setarg  0x000005e3 
+ 00025896  0x000082b8 istore  0x00000002 , 0x00000005 
+ 00025897  0x000082b9 copy  0x00000002 , 0x0000003f 
+ 00025898  0x000082ba istore  0x00000001 , 0x00000005 
+ 00025899  0x000082bb setarg  0x0000008d 
+ 00025900  0x000082bc istore  0x00000001 , 0x00000005 
+ 00025901  0x000082bd call  0x0000634e 
+ 00025902  0x000082be istore  0x00000001 , 0x00000005 
+ 00025903  0x000082bf rtn 
+ 00025904  0x000082c2 call  0x00005383 
+ 00025905  0x000082c3 call  0x00005391 
+ 00025906  0x000082c4 setarg  0x00000008 
+ 00025907  0x000082c5 istore  0x00000002 , 0x00000005 
+ 00025908  0x000082c6 fetch  0x00000002 , 0x000044dd 
+ 00025909  0x000082c7 istore  0x00000002 , 0x00000005 
+ 00025910  0x000082c8 copy  0x00000002 , 0x0000000b 
+ 00025911  0x000082c9 fetch  0x00000001 , 0x00004651 
+ 00025912  0x000082ca lshift  0x0000003f , 0x0000003f 
+ 00025913  0x000082cb set1  0x00000000 , 0x0000003f 
+ 00025914  0x000082cc istore  0x00000001 , 0x00000005 
+ 00025915  0x000082cd bpatchx  0x00000041 , 0x00004028 
+ 00025916  0x000082ce setarg  0x000009ef 
+ 00025917  0x000082cf istore  0x00000002 , 0x00000005 
+ 00025918  0x000082d0 setarg  0x000005e1 
+ 00025919  0x000082d1 istore  0x00000002 , 0x00000005 
+ 00025920  0x000082d2 copy  0x0000000b , 0x0000003f 
+ 00025921  0x000082d3 istore  0x00000001 , 0x00000005 
+ 00025922  0x000082d4 setarg  0x0000008d 
+ 00025923  0x000082d5 istore  0x00000001 , 0x00000005 
+ 00025924  0x000082d6 call  0x0000634e 
+ 00025925  0x000082d7 istore  0x00000001 , 0x00000005 
+ 00025926  0x000082d8 rtn 
+ 00025927  0x000082db bpatchx  0x00000042 , 0x00004028 
+ 00025928  0x000082dc fetch  0x00000001 , 0x00004657 
+ 00025929  0x000082dd rtn  0x00000034 
+ 00025930  0x000082de fetch  0x00000002 , 0x00008112 
+ 00025931  0x000082df nrtn  0x00000034 
+ 00025932  0x000082e0 copy  0x00000011 , 0x0000003f 
+ 00025933  0x000082e1 store  0x00000001 , 0x0000095d 
+ 00025934  0x000082e2 storet  0x00000001 , 0x0000095c 
+ 00025935  0x000082e3 call  0x0000534f 
+ 00025936  0x000082e4 nrtn  0x00000034 
+ 00025937  0x000082e5 call  0x00005383 
+ 00025938  0x000082e6 call  0x00005391 
+ 00025939  0x000082e7 setarg  0x00000005 
+ 00025940  0x000082e8 istore  0x00000002 , 0x00000005 
+ 00025941  0x000082e9 fetch  0x00000002 , 0x000044dd 
+ 00025942  0x000082ea istore  0x00000002 , 0x00000005 
+ 00025943  0x000082eb fetch  0x00000001 , 0x000003e0 
+ 00025944  0x000082ec istore  0x00000001 , 0x00000005 
+ 00025945  0x000082ed setarg  0x000001ff 
+ 00025946  0x000082ee istore  0x00000002 , 0x00000005 
+ 00025947  0x000082ef fetch  0x00000001 , 0x00004657 
+ 00025948  0x000082f0 istore  0x00000001 , 0x00000005 
+ 00025949  0x000082f1 fetch  0x00000001 , 0x00004654 
+ 00025950  0x000082f2 istore  0x00000001 , 0x00000005 
+ 00025951  0x000082f3 jam  0x00000000 , 0x00004657 
+ 00025952  0x000082f4 rtn 
+ 00025953  0x000082f7 bpatchx  0x00000043 , 0x00004028 
+ 00025954  0x000082f8 fetch  0x00000001 , 0x00004659 
+ 00025955  0x000082f9 rtneq  0x00000001 
+ 00025956  0x000082fa fetch  0x00000002 , 0x000003d2 
+ 00025957  0x000082fb rtn  0x00000034 
+ 00025958  0x000082fc fetch  0x00000001 , 0x00004657 
+ 00025959  0x000082fd increase  0x00000001 , 0x0000003f 
+ 00025960  0x000082fe store  0x00000001 , 0x00004657 
+ 00025961  0x000082ff rtn 
+ 00025962  0x00008302 fetch  0x00000002 , 0x0000465d 
+ 00025963  0x00008303 branch  0x00007e7a 
+ 00025964  0x00008306 bpatchx  0x00000044 , 0x00004028 
+ 00025965  0x00008308 fetch  0x00000001 , 0x00004656 
+ 00025966  0x00008309 rtn  0x00000034 
+ 00025967  0x0000830a increase  0xffffffff , 0x0000003f 
+ 00025968  0x0000830b store  0x00000001 , 0x00004656 
+ 00025969  0x0000830c fetch  0x00000002 , 0x0000464c 
+ 00025970  0x0000830d fetcht  0x00000002 , 0x000047ac 
+ 00025971  0x0000830e isub  0x00000002 , 0x0000003e 
+ 00025972  0x0000830f branch  0x00006576 , 0x00000002 
+ 00025973  0x00008310 store  0x00000002 , 0x000047ac 
+ 00025974  0x00008312 fetch  0x00000001 , 0x00004657 
+ 00025975  0x00008313 branch  0x0000657e , 0x00000034 
+ 00025976  0x00008314 jam  0x00000001 , 0x000003e3 
+ 00025977  0x00008315 fetch  0x00000001 , 0x00004654 
+ 00025978  0x00008316 store  0x00000001 , 0x000003e2 
+ 00025979  0x00008317 setarg  0x000000ff 
+ 00025980  0x00008318 store  0x00000001 , 0x000003e1 
+ 00025981  0x00008319 branch  0x00006583 
+ 00025982  0x0000831b jam  0x00000000 , 0x000003e3 
+ 00025983  0x0000831c fetch  0x00000001 , 0x00004653 
+ 00025984  0x0000831d store  0x00000001 , 0x000003e2 
+ 00025985  0x0000831e setarg  0x000000ef 
+ 00025986  0x0000831f store  0x00000001 , 0x000003e1 
+ 00025987  0x00008321 bpatchx  0x00000045 , 0x00004028 
+ 00025988  0x00008322 fetch  0x00000002 , 0x000047ac 
+ 00025989  0x00008323 sub  0x0000003f , 0x0000007f , 0x0000003e 
+ 00025990  0x00008324 branch  0x0000658a , 0x00000002 
+ 00025991  0x00008325 fetch  0x00000001 , 0x000003e3 
+ 00025992  0x00008326 increase  0x00000001 , 0x0000003f 
+ 00025993  0x00008327 store  0x00000001 , 0x000003e3 
+ 00025994  0x00008329 call  0x00006391 
+ 00025995  0x0000832a fetch  0x00000002 , 0x000047ac 
+ 00025996  0x0000832b increase  0x00000008 , 0x0000003f 
+ 00025997  0x0000832c fetcht  0x00000001 , 0x000003e3 
+ 00025998  0x0000832d iadd  0x00000002 , 0x00000011 
+ 00025999  0x0000832f call  0x000052fb 
+ 00026000  0x00008330 store  0x00000002 , 0x00000328 
+ 00026001  0x00008331 increase  0x00000004 , 0x0000003f 
+ 00026002  0x00008332 store  0x00000002 , 0x0000032a 
+ 00026003  0x00008333 copy  0x0000003f , 0x00000005 
+ 00026004  0x00008334 fetch  0x00000001 , 0x000003e0 
+ 00026005  0x00008335 istore  0x00000001 , 0x00000005 
+ 00026006  0x00008336 fetch  0x00000001 , 0x000003e1 
+ 00026007  0x00008337 istore  0x00000001 , 0x00000005 
+ 00026008  0x00008338 call  0x000065b4 
+ 00026009  0x00008339 call  0x000065c5 
+ 00026010  0x0000833a bpatchx  0x00000046 , 0x00004028 
+ 00026011  0x0000833b fetch  0x00000002 , 0x0000465f 
+ 00026012  0x0000833c copy  0x0000003f , 0x00000003 
+ 00026013  0x0000833d fetch  0x00000002 , 0x000047ac 
+ 00026014  0x0000833e copy  0x0000003f , 0x00000039 
+ 00026015  0x0000833f call  0x00005fdf 
+ 00026016  0x00008340 copy  0x00000005 , 0x00000002 
+ 00026017  0x00008341 copy  0x00000003 , 0x0000003f 
+ 00026018  0x00008342 store  0x00000002 , 0x0000465f 
+ 00026019  0x00008343 copy  0x00000002 , 0x00000005 
+ 00026020  0x00008344 fetch  0x00000001 , 0x000003e2 
+ 00026021  0x00008345 istore  0x00000001 , 0x00000005 
+ 00026022  0x00008346 fetch  0x00000002 , 0x00000328 
+ 00026023  0x00008347 copy  0x0000003f , 0x00000005 
+ 00026024  0x00008348 fetch  0x00000002 , 0x000047ac 
+ 00026025  0x00008349 fetcht  0x00000001 , 0x000003e3 
+ 00026026  0x0000834a iadd  0x00000002 , 0x0000003f 
+ 00026027  0x0000834b increase  0x00000004 , 0x0000003f 
+ 00026028  0x0000834c istore  0x00000002 , 0x00000005 
+ 00026029  0x0000834d fetch  0x00000002 , 0x000044dd 
+ 00026030  0x0000834e istore  0x00000002 , 0x00000005 
+ 00026031  0x0000834f jam  0x00000000 , 0x00004657 
+ 00026032  0x00008350 fetch  0x00000002 , 0x00004661 
+ 00026033  0x00008351 beq  0x00000000 , 0x00003969 
+ 00026034  0x00008352 jam  0x00000000 , 0x000009d1 
+ 00026035  0x00008353 rtn 
+ 00026036  0x00008356 bpatchx  0x00000047 , 0x00004028 
+ 00026037  0x00008357 fetch  0x00000002 , 0x000047ac 
+ 00026038  0x00008358 sub  0x0000003f , 0x0000007f , 0x0000003e 
+ 00026039  0x00008359 nbranch  0x000065bc , 0x00000002 
+ 00026040  0x0000835a lshift  0x0000003f , 0x0000003f 
+ 00026041  0x0000835b set1  0x00000000 , 0x0000003f 
+ 00026042  0x0000835c istore  0x00000001 , 0x00000005 
+ 00026043  0x0000835d rtn 
+ 00026044  0x0000835f fetch  0x00000002 , 0x000047ac 
+ 00026045  0x00008360 rshift3  0x0000003f , 0x0000003f 
+ 00026046  0x00008361 rshift4  0x0000003f , 0x00000002 
+ 00026047  0x00008362 and_into  0x0000007f , 0x0000003f 
+ 00026048  0x00008363 lshift  0x0000003f , 0x0000003f 
+ 00026049  0x00008364 set0  0x00000000 , 0x0000003f 
+ 00026050  0x00008365 istore  0x00000001 , 0x00000005 
+ 00026051  0x00008366 istoret  0x00000001 , 0x00000005 
+ 00026052  0x00008367 rtn 
+ 00026053  0x00008369 fetch  0x00000001 , 0x00004657 
+ 00026054  0x0000836a rtn  0x00000034 
+ 00026055  0x0000836b istore  0x00000001 , 0x00000005 
+ 00026056  0x0000836c rtn 
+ 00026057  0x00008372 bpatchx  0x00000048 , 0x00004029 
+ 00026058  0x00008373 call  0x000078f2 
+ 00026059  0x00008374 call  0x00003184 
+ 00026060  0x00008375 call  0x00005a9e 
+ 00026061  0x00008377 bpatchx  0x00000049 , 0x00004029 
+ 00026062  0x00008378 call  0x000070d7 
+ 00026063  0x00008379 call  0x000070b0 
+ 00026064  0x0000837a call  0x000070c1 
+ 00026065  0x0000837d call  0x0000534f 
+ 00026066  0x0000837e nrtn  0x00000034 
+ 00026067  0x00008380 call  0x00004e62 
+ 00026068  0x00008381 call  0x0000534f 
+ 00026069  0x00008382 nrtn  0x00000034 
+ 00026070  0x00008383 bpatchx  0x0000004a , 0x00004029 
+ 00026071  0x00008385 call  0x00006613 
+ 00026072  0x00008386 call  0x00005020 
+ 00026073  0x00008387 call  0x000064b7 
+ 00026074  0x00008389 call  0x000065dd 
+ 00026075  0x0000838a bpatchx  0x0000004b , 0x00004029 
+ 00026076  0x0000838d branch  0x00003180 
+ 00026077  0x00008390 fetch  0x00000001 , 0x00000330 
+ 00026078  0x00008391 bbit1  0x00000000 , 0x00005143 
+ 00026079  0x00008392 bbit1  0x00000007 , 0x0000514d 
+ 00026080  0x00008393 rtn 
+ 00026081  0x00008396 bpatchx  0x0000004c , 0x00004029 
+ 00026082  0x00008397 call  0x00005355 
+ 00026083  0x00008398 rtn  0x00000034 
+ 00026084  0x00008399 fetch  0x00000001 , 0x0000004b 
+ 00026085  0x0000839a rtnbit1  0x00000006 
+ 00026086  0x0000839b call  0x00005339 
+ 00026087  0x0000839c store  0x00000002 , 0x000000be 
+ 00026088  0x0000839d copy  0x0000003f , 0x00000006 
+ 00026089  0x0000839e ifetch  0x00000002 , 0x00000006 
+ 00026090  0x0000839f increase  0x00000004 , 0x0000003f 
+ 00026091  0x000083a0 store  0x00000002 , 0x000041e6 
+ 00026092  0x000083a1 jam  0x00000006 , 0x000041e5 
+ 00026093  0x000083a2 bpatchx  0x0000004d , 0x00004029 
+ 00026094  0x000083a3 fetch  0x00000002 , 0x000044d9 
+ 00026095  0x000083a4 branch  0x000065fc , 0x00000034 
+ 00026096  0x000083a5 fetch  0x00000001 , 0x0000004b 
+ 00026097  0x000083a6 rtnbit0  0x00000007 
+ 00026098  0x000083a7 set0  0x00000007 , 0x0000003f 
+ 00026099  0x000083a8 store  0x00000001 , 0x0000004b 
+ 00026100  0x000083a9 jam  0x00000005 , 0x000041e5 
+ 00026101  0x000083aa fetcht  0x00000002 , 0x000044d9 
+ 00026102  0x000083ab fetch  0x00000002 , 0x000000be 
+ 00026103  0x000083ac iadd  0x00000002 , 0x0000003f 
+ 00026104  0x000083ad store  0x00000002 , 0x000000be 
+ 00026105  0x000083ae fetch  0x00000002 , 0x000041e6 
+ 00026106  0x000083af isub  0x00000002 , 0x0000003f 
+ 00026107  0x000083b0 store  0x00000002 , 0x000041e6 
+ 00026108  0x000083b2 fetch  0x00000002 , 0x000041e6 
+ 00026109  0x000083b3 branch  0x0000137c , 0x00000034 
+ 00026110  0x000083b4 arg  0x00000104 , 0x00000002 
+ 00026111  0x000083b5 isub  0x00000002 , 0x0000003f 
+ 00026112  0x000083b6 branch  0x00006607 , 0x00000005 
+ 00026113  0x000083b7 nbranch  0x00006607 , 0x00000002 
+ 00026114  0x000083b8 storet  0x00000002 , 0x000041e6 
+ 00026115  0x000083b9 fetch  0x00000002 , 0x000044d9 
+ 00026116  0x000083ba iadd  0x00000002 , 0x0000003f 
+ 00026117  0x000083bb store  0x00000002 , 0x000044d9 
+ 00026118  0x000083bc branch  0x00006609 
+ 00026119  0x000083be setarg  0x00000000 
+ 00026120  0x000083bf store  0x00000002 , 0x000044d9 
+ 00026121  0x000083c1 fetch  0x00000001 , 0x0000004b 
+ 00026122  0x000083c2 set1  0x00000006 , 0x0000003f 
+ 00026123  0x000083c3 store  0x00000001 , 0x0000004b 
+ 00026124  0x000083c4 rtn 
+ 00026125  0x000083c7 fetch  0x00000001 , 0x00004791 
+ 00026126  0x000083c8 bbit1  0x00000000 , 0x00006611 
+ 00026127  0x000083c9 jam  0x00000001 , 0x00000338 
+ 00026128  0x000083ca rtn 
+ 00026129  0x000083cc jam  0x0000000f , 0x00000338 
+ 00026130  0x000083cd rtn 
+ 00026131  0x000083d0 fetch  0x00000001 , 0x0000478e 
+ 00026132  0x000083d1 nbranch  0x00006619 , 0x00000034 
+ 00026133  0x000083d3 fetch  0x00000001 , 0x00000337 
+ 00026134  0x000083d5 rtn  0x00000034 
+ 00026135  0x000083d7 jam  0x00000000 , 0x00000337 
+ 00026136  0x000083d9 rtn 
+ 00026137  0x000083dd bpatchx  0x0000004e , 0x00004029 
+ 00026138  0x000083de fetch  0x00000001 , 0x00000338 
+ 00026139  0x000083df rtn  0x00000034 
+ 00026140  0x000083e0 beq  0x00000001 , 0x00006639 
+ 00026141  0x000083e1 beq  0x00000002 , 0x00006692 
+ 00026142  0x000083e2 beq  0x00000003 , 0x0000663f 
+ 00026143  0x000083e3 beq  0x00000004 , 0x00006696 
+ 00026144  0x000083e4 beq  0x0000003b , 0x00006649 
+ 00026145  0x000083e5 beq  0x0000003c , 0x00006699 
+ 00026146  0x000083e6 beq  0x0000000d , 0x0000664e 
+ 00026147  0x000083e7 beq  0x0000000e , 0x0000669e 
+ 00026148  0x000083e8 beq  0x0000000f , 0x00006651 
+ 00026149  0x000083e9 beq  0x00000010 , 0x000066a4 
+ 00026150  0x000083ea beq  0x00000011 , 0x00006657 
+ 00026151  0x000083eb beq  0x00000012 , 0x000066a8 
+ 00026152  0x000083ec beq  0x00000013 , 0x0000665d 
+ 00026153  0x000083ed beq  0x00000014 , 0x000066ac 
+ 00026154  0x000083ee beq  0x00000015 , 0x00006663 
+ 00026155  0x000083ef beq  0x00000016 , 0x000066b0 
+ 00026156  0x000083f0 beq  0x00000017 , 0x00006669 
+ 00026157  0x000083f1 beq  0x00000018 , 0x000066b5 
+ 00026158  0x000083f2 beq  0x00000019 , 0x0000666f 
+ 00026159  0x000083f3 beq  0x0000001a , 0x000066b9 
+ 00026160  0x000083f4 beq  0x0000001b , 0x00006675 
+ 00026161  0x000083f5 beq  0x0000001c , 0x000066bd 
+ 00026162  0x000083f6 beq  0x0000001d , 0x0000667b 
+ 00026163  0x000083f7 beq  0x0000001e , 0x000066c2 
+ 00026164  0x000083f8 beq  0x0000001f , 0x00006681 
+ 00026165  0x000083f9 beq  0x00000020 , 0x000066c6 
+ 00026166  0x000083fa beq  0x00000021 , 0x0000668c 
+ 00026167  0x000083fb beq  0x00000022 , 0x000066ca 
+ 00026168  0x000083fd rtn 
+ 00026169  0x000083ff call  0x000066d5 
+ 00026170  0x00008400 jam  0x00000002 , 0x00000338 
+ 00026171  0x00008401 fetch  0x00000001 , 0x000044e3 
+ 00026172  0x00008402 set1  0x00000000 , 0x0000003f 
+ 00026173  0x00008403 store  0x00000001 , 0x000044e3 
+ 00026174  0x00008404 rtn 
+ 00026175  0x00008406 jam  0x00000004 , 0x00000338 
+ 00026176  0x00008407 fetch  0x00000001 , 0x000044e3 
+ 00026177  0x00008408 rtnbit1  0x00000002 
+ 00026178  0x00008409 jam  0x00000003 , 0x00000338 
+ 00026179  0x0000840a call  0x000066dc 
+ 00026180  0x0000840b jam  0x00000004 , 0x00000338 
+ 00026181  0x0000840c fetch  0x00000001 , 0x000044e3 
+ 00026182  0x0000840d set1  0x00000002 , 0x0000003f 
+ 00026183  0x0000840e store  0x00000001 , 0x000044e3 
+ 00026184  0x0000840f rtn 
+ 00026185  0x00008411 call  0x00005355 
+ 00026186  0x00008412 nrtn  0x00000034 
+ 00026187  0x00008413 call  0x000066eb 
+ 00026188  0x00008414 jam  0x0000003c , 0x00000338 
+ 00026189  0x00008415 rtn 
+ 00026190  0x00008417 call  0x000066e1 
+ 00026191  0x00008418 jam  0x0000000e , 0x00000338 
+ 00026192  0x00008419 rtn 
+ 00026193  0x0000841b call  0x000066fb 
+ 00026194  0x0000841c jam  0x00000010 , 0x00000338 
+ 00026195  0x0000841d fetch  0x00000001 , 0x000044e5 
+ 00026196  0x0000841e set1  0x00000000 , 0x0000003f 
+ 00026197  0x0000841f store  0x00000001 , 0x000044e5 
+ 00026198  0x00008420 rtn 
+ 00026199  0x00008422 call  0x00006702 
+ 00026200  0x00008423 jam  0x00000012 , 0x00000338 
+ 00026201  0x00008424 fetch  0x00000001 , 0x000044e5 
+ 00026202  0x00008425 set1  0x00000002 , 0x0000003f 
+ 00026203  0x00008426 store  0x00000001 , 0x000044e5 
+ 00026204  0x00008427 rtn 
+ 00026205  0x00008429 call  0x00006707 
+ 00026206  0x0000842a jam  0x00000014 , 0x00000338 
+ 00026207  0x0000842b fetch  0x00000001 , 0x000044e6 
+ 00026208  0x0000842c set1  0x00000000 , 0x0000003f 
+ 00026209  0x0000842d store  0x00000001 , 0x000044e6 
+ 00026210  0x0000842e rtn 
+ 00026211  0x00008430 call  0x0000670e 
+ 00026212  0x00008431 jam  0x00000016 , 0x00000338 
+ 00026213  0x00008432 fetch  0x00000001 , 0x000044e6 
+ 00026214  0x00008433 set1  0x00000002 , 0x0000003f 
+ 00026215  0x00008434 store  0x00000001 , 0x000044e6 
+ 00026216  0x00008435 rtn 
+ 00026217  0x00008437 call  0x000066ef 
+ 00026218  0x00008438 jam  0x00000018 , 0x00000338 
+ 00026219  0x00008439 fetch  0x00000001 , 0x000044e4 
+ 00026220  0x0000843a set1  0x00000000 , 0x0000003f 
+ 00026221  0x0000843b store  0x00000001 , 0x000044e4 
+ 00026222  0x0000843c rtn 
+ 00026223  0x0000843e call  0x000066f6 
+ 00026224  0x0000843f jam  0x0000001a , 0x00000338 
+ 00026225  0x00008440 fetch  0x00000001 , 0x000044e4 
+ 00026226  0x00008441 set1  0x00000002 , 0x0000003f 
+ 00026227  0x00008442 store  0x00000001 , 0x000044e4 
+ 00026228  0x00008443 rtn 
+ 00026229  0x00008445 call  0x00006713 
+ 00026230  0x00008446 jam  0x0000001c , 0x00000338 
+ 00026231  0x00008447 fetch  0x00000001 , 0x000044e4 
+ 00026232  0x00008448 set1  0x00000006 , 0x0000003f 
+ 00026233  0x00008449 store  0x00000001 , 0x000044e4 
+ 00026234  0x0000844a rtn 
+ 00026235  0x0000844c call  0x0000671a 
+ 00026236  0x0000844d fetch  0x00000001 , 0x000044e7 
+ 00026237  0x0000844e set1  0x00000000 , 0x0000003f 
+ 00026238  0x0000844f store  0x00000001 , 0x000044e7 
+ 00026239  0x00008450 jam  0x0000001e , 0x00000338 
+ 00026240  0x00008451 rtn 
+ 00026241  0x00008453 call  0x00006720 
+ 00026242  0x00008454 fetch  0x00000001 , 0x000044e7 
+ 00026243  0x00008455 set1  0x00000002 , 0x0000003f 
+ 00026244  0x00008456 store  0x00000001 , 0x000044e7 
+ 00026245  0x00008457 jam  0x00000020 , 0x00000338 
+ 00026246  0x00008458 fetch  0x00000001 , 0x00004652 
+ 00026247  0x00008459 lshift3  0x0000003f , 0x0000003f 
+ 00026248  0x0000845a or_into  0x00000003 , 0x0000003f 
+ 00026249  0x0000845b arg  0x00004653 , 0x00000002 
+ 00026250  0x0000845c storet  0x00000002 , 0x000003ca 
+ 00026251  0x0000845d branch  0x00006354 
+ 00026252  0x0000845f call  0x0000672a 
+ 00026253  0x00008460 fetch  0x00000001 , 0x000044e7 
+ 00026254  0x00008461 set1  0x00000004 , 0x0000003f 
+ 00026255  0x00008462 store  0x00000001 , 0x000044e7 
+ 00026256  0x00008463 jam  0x00000022 , 0x00000338 
+ 00026257  0x00008464 rtn 
+ 00026258  0x00008467 fetch  0x00000001 , 0x000044e3 
+ 00026259  0x00008468 rtnbit0  0x00000001 
+ 00026260  0x00008469 jam  0x00000003 , 0x00000338 
+ 00026261  0x0000846a branch  0x00006619 
+ 00026262  0x0000846c fetch  0x00000001 , 0x000044e3 
+ 00026263  0x0000846d rtnne  0x0000003f 
+ 00026264  0x0000846e jam  0x0000003b , 0x00000338 
+ 00026265  0x00008470 fetch  0x00000001 , 0x00000336 
+ 00026266  0x00008471 rtnne  0x00000017 
+ 00026267  0x00008472 jam  0x00000000 , 0x00000336 
+ 00026268  0x00008473 jam  0x0000000d , 0x00000338 
+ 00026269  0x00008474 branch  0x00006619 
+ 00026270  0x00008476 fetch  0x00000001 , 0x000044e3 
+ 00026271  0x00008477 nrtn  0x00000034 
+ 00026272  0x00008478 fetch  0x00000001 , 0x00004791 
+ 00026273  0x00008479 bbit1  0x00000000 , 0x000066cd 
+ 00026274  0x0000847a bbit1  0x00000006 , 0x000066cf 
+ 00026275  0x0000847b branch  0x000066d3 
+ 00026276  0x0000847d fetch  0x00000001 , 0x000044e5 
+ 00026277  0x0000847e rtnbit0  0x00000001 
+ 00026278  0x0000847f jam  0x00000011 , 0x00000338 
+ 00026279  0x00008480 branch  0x00006619 
+ 00026280  0x00008482 fetch  0x00000001 , 0x000044e5 
+ 00026281  0x00008483 rtnne  0x0000003f 
+ 00026282  0x00008484 jam  0x00000013 , 0x00000338 
+ 00026283  0x00008485 branch  0x00006619 
+ 00026284  0x00008487 fetch  0x00000001 , 0x000044e6 
+ 00026285  0x00008488 rtnbit0  0x00000001 
+ 00026286  0x00008489 jam  0x00000015 , 0x00000338 
+ 00026287  0x0000848a branch  0x00006619 
+ 00026288  0x0000848c fetch  0x00000001 , 0x000044e6 
+ 00026289  0x0000848d rtnne  0x0000003f 
+ 00026290  0x0000848e fetch  0x00000001 , 0x00004791 
+ 00026291  0x0000848f bbit1  0x00000006 , 0x000066cf 
+ 00026292  0x00008490 branch  0x000066d3 
+ 00026293  0x00008492 fetch  0x00000001 , 0x000044e4 
+ 00026294  0x00008493 rtnbit0  0x00000001 
+ 00026295  0x00008494 jam  0x00000019 , 0x00000338 
+ 00026296  0x00008495 branch  0x00006619 
+ 00026297  0x00008497 fetch  0x00000001 , 0x000044e4 
+ 00026298  0x00008498 rtnne  0x0000003f 
+ 00026299  0x00008499 jam  0x0000001b , 0x00000338 
+ 00026300  0x0000849a branch  0x00006619 
+ 00026301  0x0000849c fetch  0x00000001 , 0x000044e4 
+ 00026302  0x0000849d rtnne  0x000000ff 
+ 00026303  0x0000849e fetch  0x00000001 , 0x00004791 
+ 00026304  0x0000849f bbit1  0x00000006 , 0x000066d1 
+ 00026305  0x000084a0 branch  0x000066d3 
+ 00026306  0x000084a2 fetch  0x00000001 , 0x000044e7 
+ 00026307  0x000084a3 rtnbit0  0x00000001 
+ 00026308  0x000084a4 jam  0x0000001f , 0x00000338 
+ 00026309  0x000084a5 branch  0x00006619 
+ 00026310  0x000084a7 fetch  0x00000001 , 0x000044e7 
+ 00026311  0x000084a8 rtnbit0  0x00000003 
+ 00026312  0x000084a9 jam  0x00000021 , 0x00000338 
+ 00026313  0x000084aa branch  0x00006619 
+ 00026314  0x000084ac fetch  0x00000001 , 0x000044e7 
+ 00026315  0x000084ad rtnne  0x000000ff 
+ 00026316  0x000084ae branch  0x000066d3 
+ 00026317  0x000084b1 jam  0x0000000f , 0x00000338 
+ 00026318  0x000084b2 branch  0x00006619 
+ 00026319  0x000084b5 jam  0x00000017 , 0x00000338 
+ 00026320  0x000084b6 branch  0x00006619 
+ 00026321  0x000084b8 jam  0x0000001d , 0x00000338 
+ 00026322  0x000084b9 branch  0x00006619 
+ 00026323  0x000084be jam  0x00000000 , 0x00000338 
+ 00026324  0x000084bf rtn 
+ 00026325  0x000084c1 bpatchx  0x0000004f , 0x00004029 
+ 00026326  0x000084c2 call  0x00005369 
+ 00026327  0x000084c3 setarg  0x00000001 
+ 00026328  0x000084c4 copy  0x0000003f , 0x00000002 
+ 00026329  0x000084c5 setarg  0x00000050 
+ 00026330  0x000084c6 copy  0x0000003f , 0x0000000b 
+ 00026331  0x000084c7 branch  0x00005164 
+ 00026332  0x000084ca bpatchx  0x00000050 , 0x0000402a 
+ 00026333  0x000084cb call  0x00005369 
+ 00026334  0x000084cc fetch  0x00000002 , 0x000044db 
+ 00026335  0x000084cd copy  0x0000003f , 0x00000002 
+ 00026336  0x000084ce branch  0x00005173 
+ 00026337  0x000084d1 bpatchx  0x00000051 , 0x0000402a 
+ 00026338  0x000084d2 call  0x00005369 
+ 00026339  0x000084d3 fetch  0x00000002 , 0x000044db 
+ 00026340  0x000084d4 copy  0x0000003f , 0x00000002 
+ 00026341  0x000084d5 arg  0x00000050 , 0x0000000b 
+ 00026342  0x000084d6 call  0x00005188 
+ 00026343  0x000084d7 fetch  0x00000001 , 0x000044e3 
+ 00026344  0x000084d8 set0  0x00000005 , 0x0000003f 
+ 00026345  0x000084d9 store  0x00000001 , 0x000044e3 
+ 00026346  0x000084da rtn 
+ 00026347  0x000084dd bpatchx  0x00000052 , 0x0000402a 
+ 00026348  0x000084de call  0x00005376 
+ 00026349  0x000084df call  0x00006a56 
+ 00026350  0x000084e0 branch  0x000051a3 
+ 00026351  0x000084e3 bpatchx  0x00000053 , 0x0000402a 
+ 00026352  0x000084e4 call  0x00005369 
+ 00026353  0x000084e5 setarg  0x00000003 
+ 00026354  0x000084e6 copy  0x0000003f , 0x00000002 
+ 00026355  0x000084e7 setarg  0x00000051 
+ 00026356  0x000084e8 copy  0x0000003f , 0x0000000b 
+ 00026357  0x000084e9 branch  0x00005164 
+ 00026358  0x000084ec bpatchx  0x00000054 , 0x0000402a 
+ 00026359  0x000084ed call  0x00005369 
+ 00026360  0x000084ee fetch  0x00000002 , 0x000044dd 
+ 00026361  0x000084ef copy  0x0000003f , 0x00000002 
+ 00026362  0x000084f0 branch  0x00005173 
+ 00026363  0x000084f3 bpatchx  0x00000055 , 0x0000402a 
+ 00026364  0x000084f4 call  0x00005369 
+ 00026365  0x000084f5 setarg  0x00000011 
+ 00026366  0x000084f6 copy  0x0000003f , 0x00000002 
+ 00026367  0x000084f7 setarg  0x00000052 
+ 00026368  0x000084f8 copy  0x0000003f , 0x0000000b 
+ 00026369  0x000084f9 branch  0x00005164 
+ 00026370  0x000084fc bpatchx  0x00000056 , 0x0000402a 
+ 00026371  0x000084fd call  0x00005369 
+ 00026372  0x000084fe fetch  0x00000002 , 0x000044df 
+ 00026373  0x000084ff copy  0x0000003f , 0x00000002 
+ 00026374  0x00008500 branch  0x00005173 
+ 00026375  0x00008503 bpatchx  0x00000057 , 0x0000402a 
+ 00026376  0x00008504 call  0x00005369 
+ 00026377  0x00008505 setarg  0x00000013 
+ 00026378  0x00008506 copy  0x0000003f , 0x00000002 
+ 00026379  0x00008507 setarg  0x00000053 
+ 00026380  0x00008508 copy  0x0000003f , 0x0000000b 
+ 00026381  0x00008509 branch  0x00005164 
+ 00026382  0x0000850c bpatchx  0x00000058 , 0x0000402b 
+ 00026383  0x0000850d call  0x00005369 
+ 00026384  0x0000850e fetch  0x00000002 , 0x000044e1 
+ 00026385  0x0000850f copy  0x0000003f , 0x00000002 
+ 00026386  0x00008510 branch  0x00005173 
+ 00026387  0x00008513 bpatchx  0x00000059 , 0x0000402b 
+ 00026388  0x00008514 call  0x00005383 
+ 00026389  0x00008516 jam  0x00000003 , 0x000003ce 
+ 00026390  0x00008517 jam  0x0000001c , 0x000003d1 
+ 00026391  0x00008518 call  0x000064c8 
+ 00026392  0x00008519 jam  0x00000001 , 0x00004651 
+ 00026393  0x0000851a rtn 
+ 00026394  0x0000851d bpatchx  0x0000005a , 0x0000402b 
+ 00026395  0x0000851e call  0x00005383 
+ 00026396  0x0000851f fetcht  0x00000001 , 0x00004652 
+ 00026397  0x00008520 call  0x00006398 
+ 00026398  0x00008521 storet  0x00000001 , 0x0000464b 
+ 00026399  0x00008522 branch  0x000064e3 
+ 00026400  0x00008525 bpatchx  0x0000005b , 0x0000402b 
+ 00026401  0x00008526 call  0x00005383 
+ 00026402  0x00008527 fetcht  0x00000001 , 0x0000464b 
+ 00026403  0x00008528 call  0x00006392 
+ 00026404  0x00008529 call  0x00006339 
+ 00026405  0x0000852a store  0x00000001 , 0x000003d1 
+ 00026406  0x0000852b fetcht  0x00000001 , 0x0000464b 
+ 00026407  0x0000852c call  0x00006392 
+ 00026408  0x0000852d storet  0x00000001 , 0x000003ce 
+ 00026409  0x0000852e branch  0x000064c8 
+ 00026410  0x00008531 bpatchx  0x0000005c , 0x0000402b 
+ 00026411  0x00008532 call  0x00005383 
+ 00026412  0x00008533 fetcht  0x00000001 , 0x0000464b 
+ 00026413  0x00008534 call  0x00006392 
+ 00026414  0x00008535 branch  0x0000651b 
+ 00026415  0x00008543 bpatchx  0x0000005d , 0x0000402b 
+ 00026416  0x00008544 fetch  0x00000002 , 0x00000315 
+ 00026417  0x00008545 iforce  0x00000006 
+ 00026418  0x00008548 ifetch  0x00000001 , 0x00000006 
+ 00026419  0x00008549 copy  0x0000003f , 0x00000012 
+ 00026420  0x0000854a store  0x00000001 , 0x000003ee 
+ 00026421  0x0000854b ifetch  0x00000002 , 0x00000006 
+ 00026422  0x0000854c store  0x00000002 , 0x000003ef 
+ 00026423  0x0000854d ifetch  0x00000001 , 0x00000006 
+ 00026424  0x0000854e lshift8  0x0000003f , 0x0000000b 
+ 00026425  0x0000854f ifetch  0x00000001 , 0x00000006 
+ 00026426  0x00008550 iadd  0x0000000b , 0x0000000b 
+ 00026427  0x00008551 bpatchx  0x0000005e , 0x0000402b 
+ 00026428  0x00008552 copy  0x00000006 , 0x00000002 
+ 00026429  0x00008553 arg  0x00000004 , 0x00000039 
+ 00026430  0x00008554 arg  0x000003fd , 0x00000005 
+ 00026431  0x00008555 call  0x00007d8c 
+ 00026432  0x00008556 copy  0x00000002 , 0x00000006 
+ 00026433  0x00008557 deposit  0x00000012 
+ 00026434  0x00008558 beq  0x00000001 , 0x000068d8 
+ 00026435  0x00008559 beq  0x00000002 , 0x0000674a 
+ 00026436  0x0000855a beq  0x00000003 , 0x000068d8 
+ 00026437  0x0000855b beq  0x00000004 , 0x00006772 
+ 00026438  0x0000855c beq  0x00000005 , 0x000068d8 
+ 00026439  0x0000855d beq  0x00000006 , 0x00006820 
+ 00026440  0x0000855e beq  0x00000007 , 0x000068d8 
+ 00026441  0x0000855f branch  0x000068df 
+ 00026442  0x0000856b bpatchx  0x0000005f , 0x0000402b 
+ 00026443  0x0000856c call  0x000068ee 
+ 00026444  0x0000856d compare  0x00000001 , 0x00000002 , 0x000000ff 
+ 00026445  0x0000856e branch  0x0000695e , 0x00000001 
+ 00026446  0x0000856f compare  0x000000ff , 0x00000002 , 0x000000ff 
+ 00026447  0x00008570 branch  0x000068e2 , 0x00000001 
+ 00026448  0x00008572 ifetch  0x00000002 , 0x00000006 
+ 00026449  0x00008573 store  0x00000002 , 0x000003f5 
+ 00026450  0x00008574 increase  0xfffffffe , 0x0000000b 
+ 00026451  0x00008576 increase  0xffffffff , 0x0000000b 
+ 00026452  0x00008577 nbranch  0x000068dc , 0x00000005 
+ 00026453  0x00008578 arg  0x000003e4 , 0x0000000b 
+ 00026454  0x00008579 ifetch  0x00000002 , 0x0000000b 
+ 00026455  0x0000857a rtn  0x00000034 
+ 00026456  0x0000857b call  0x000069a0 
+ 00026457  0x0000857c call  0x00005381 
+ 00026458  0x0000857d force  0x00000003 , 0x0000003f 
+ 00026459  0x0000857e istore  0x00000001 , 0x00000005 
+ 00026460  0x0000857f fetch  0x00000002 , 0x000003ef 
+ 00026461  0x00008580 istore  0x00000002 , 0x00000005 
+ 00026462  0x00008581 lshift2  0x00000007 , 0x0000003f 
+ 00026463  0x00008582 add  0x0000003f , 0x00000005 , 0x0000003f 
+ 00026464  0x00008583 add  0x0000003f , 0x00000005 , 0x00000013 
+ 00026465  0x00008584 byteswap  0x0000003f , 0x0000003f 
+ 00026466  0x00008585 istore  0x00000002 , 0x00000005 
+ 00026467  0x00008586 deposit  0x00000007 
+ 00026468  0x00008587 byteswap  0x0000003f , 0x0000003f 
+ 00026469  0x00008588 istore  0x00000002 , 0x00000005 
+ 00026470  0x00008589 istore  0x00000002 , 0x00000005 
+ 00026471  0x0000858a arg  0x000003fd , 0x00000006 
+ 00026472  0x0000858b copy  0x00000007 , 0x00000039 
+ 00026473  0x0000858c branch  0x0000676d , 0x00000005 
+ 00026474  0x0000858e ifetch  0x00000004 , 0x00000006 
+ 00026475  0x0000858f istore  0x00000004 , 0x00000005 
+ 00026476  0x00008590 loop  0x0000676a 
+ 00026477  0x00008592 force  0x00000000 , 0x0000003f 
+ 00026478  0x00008593 istore  0x00000001 , 0x00000005 
+ 00026479  0x00008594 deposit  0x00000013 
+ 00026480  0x00008595 store  0x00000002 , 0x00000326 
+ 00026481  0x00008597 rtn 
+ 00026482  0x000085a3 bpatchx  0x00000060 , 0x0000402c 
+ 00026483  0x000085a4 ifetch  0x00000004 , 0x00000006 
+ 00026484  0x000085a5 store  0x00000004 , 0x000003f7 
+ 00026485  0x000085a6 increase  0xfffffffc , 0x0000000b 
+ 00026486  0x000085a7 call  0x0000684c 
+ 00026487  0x000085a8 store  0x00000002 , 0x000003f3 
+ 00026488  0x000085a9 increase  0xfffffffe , 0x0000000b 
+ 00026489  0x000085aa call  0x00006946 
+ 00026490  0x000085ab branch  0x000068e2 , 0x00000005 
+ 00026491  0x000085ac compare  0x00000005 , 0x00000011 , 0x000000ff 
+ 00026492  0x000085ae branch  0x00006780 , 0x00000001 
+ 00026493  0x000085b0 arg  0x000003fd , 0x00000005 
+ 00026494  0x000085b1 force  0x00000000 , 0x00000007 
+ 00026495  0x000085b2 branch  0x0000678f 
+ 00026496  0x000085b4 ifetch  0x00000001 , 0x00000006 
+ 00026497  0x000085b5 bne  0x0000000a , 0x000068e2 
+ 00026498  0x000085b6 ifetch  0x00000002 , 0x00000006 
+ 00026499  0x000085b7 nbranch  0x0000678d , 0x00000034 
+ 00026500  0x000085b8 ifetch  0x00000001 , 0x00000006 
+ 00026501  0x000085b9 bne  0x000000ff , 0x0000678b 
+ 00026502  0x000085ba ifetch  0x00000001 , 0x00000006 
+ 00026503  0x000085bb bne  0x000000ff , 0x00006789 
+ 00026504  0x000085bc branch  0x000067d6 
+ 00026505  0x000085be increase  0xfffffffb , 0x00000006 
+ 00026506  0x000085bf branch  0x0000677d 
+ 00026507  0x000085c1 increase  0xfffffffc , 0x00000006 
+ 00026508  0x000085c2 branch  0x0000677d 
+ 00026509  0x000085c4 increase  0xfffffffd , 0x00000006 
+ 00026510  0x000085c5 branch  0x0000677d 
+ 00026511  0x000085c7 ifetch  0x00000001 , 0x00000006 
+ 00026512  0x000085c8 beq  0x00000009 , 0x000067a4 
+ 00026513  0x000085c9 beq  0x0000000a , 0x00006792 
+ 00026514  0x000085cb ifetch  0x00000002 , 0x00000006 
+ 00026515  0x000085cc istore  0x00000002 , 0x00000005 
+ 00026516  0x000085cd increase  0x00000001 , 0x00000007 
+ 00026517  0x000085ce byteswap  0x0000003f , 0x00000012 
+ 00026518  0x000085cf ifetch  0x00000002 , 0x00000006 
+ 00026519  0x000085d0 byteswap  0x0000003f , 0x0000003f 
+ 00026520  0x000085d2 increase  0x00000001 , 0x00000012 
+ 00026521  0x000085d3 isub  0x00000012 , 0x0000003e 
+ 00026522  0x000085d4 nbranch  0x000067a1 , 0x00000002 
+ 00026523  0x000085d5 copy  0x0000003f , 0x00000013 
+ 00026524  0x000085d6 byteswap  0x00000012 , 0x0000003f 
+ 00026525  0x000085d7 istore  0x00000002 , 0x00000005 
+ 00026526  0x000085d8 increase  0x00000001 , 0x00000007 
+ 00026527  0x000085d9 copy  0x00000013 , 0x0000003f 
+ 00026528  0x000085da branch  0x00006798 
+ 00026529  0x000085dc increase  0xfffffffb , 0x0000000b 
+ 00026530  0x000085dd increase  0xfffffffb , 0x00000011 
+ 00026531  0x000085de branch  0x000067a9 
+ 00026532  0x000085e0 ifetch  0x00000002 , 0x00000006 
+ 00026533  0x000085e1 istore  0x00000002 , 0x00000005 
+ 00026534  0x000085e2 increase  0x00000001 , 0x00000007 
+ 00026535  0x000085e3 increase  0xfffffffd , 0x0000000b 
+ 00026536  0x000085e4 increase  0xfffffffd , 0x00000011 
+ 00026537  0x000085e6 nbranch  0x000068e2 , 0x00000002 
+ 00026538  0x000085e7 nbranch  0x0000678f , 0x00000005 
+ 00026539  0x000085e8 increase  0xffffffff , 0x0000000b 
+ 00026540  0x000085e9 nbranch  0x000068e2 , 0x00000005 
+ 00026541  0x000085eb call  0x00005381 
+ 00026542  0x000085ec increase  0x0000000a , 0x00000005 
+ 00026543  0x000085ed arg  0x000003fd , 0x00000011 
+ 00026544  0x000085ef copy  0x00000007 , 0x0000003f 
+ 00026545  0x000085f0 branch  0x000067c3 , 0x00000034 
+ 00026546  0x000085f1 ifetch  0x00000002 , 0x00000011 
+ 00026547  0x000085f2 branch  0x000067c3 , 0x00000034 
+ 00026548  0x000085f3 iforce  0x00000012 
+ 00026549  0x000085f4 fetch  0x00000004 , 0x000003f7 
+ 00026550  0x000085f5 iforce  0x00000002 
+ 00026551  0x000085f6 call  0x00006a05 
+ 00026552  0x000085f7 copy  0x00000006 , 0x0000003f 
+ 00026553  0x000085f8 branch  0x000067c0 , 0x00000034 
+ 00026554  0x000085f9 increase  0xfffffffd , 0x00000006 
+ 00026555  0x000085fa ifetch  0x00000003 , 0x00000006 
+ 00026556  0x000085fb istore  0x00000003 , 0x00000005 
+ 00026557  0x000085fc call  0x00006979 
+ 00026558  0x000085fd iforce  0x00000039 
+ 00026559  0x000085fe call  0x00007dd4 
+ 00026560  0x00008600 increase  0x00000002 , 0x00000011 
+ 00026561  0x00008601 increase  0xffffffff , 0x00000007 
+ 00026562  0x00008602 branch  0x000067b0 
+ 00026563  0x00008605 arg  0x00000005 , 0x00000011 
+ 00026564  0x00008606 call  0x000068a2 
+ 00026565  0x00008607 fetch  0x00000002 , 0x00000326 
+ 00026566  0x00008608 beq  0x0000000b , 0x00006961 
+ 00026567  0x00008609 branch  0x000068b8 
+ 00026568  0x0000860d ifetch  0x00000001 , 0x00000006 
+ 00026569  0x0000860e beq  0x00000000 , 0x000067cc 
+ 00026570  0x0000860f beq  0x00000001 , 0x000067ce 
+ 00026571  0x00008610 beq  0x00000002 , 0x000067d1 
+ 00026572  0x00008612 increase  0xffffffff , 0x0000000b 
+ 00026573  0x00008613 branch  0x000067d4 
+ 00026574  0x00008615 ifetch  0x00000001 , 0x00000006 
+ 00026575  0x00008616 increase  0xfffffffe , 0x0000000b 
+ 00026576  0x00008617 branch  0x000067d4 
+ 00026577  0x00008619 ifetch  0x00000002 , 0x00000006 
+ 00026578  0x0000861a byteswap  0x0000003f , 0x0000003f 
+ 00026579  0x0000861b increase  0xfffffffd , 0x0000000b 
+ 00026580  0x0000861d store  0x00000002 , 0x000003ec 
+ 00026581  0x0000861e rtn 
+ 00026582  0x00008621 increase  0xfffffffb , 0x0000000b 
+ 00026583  0x00008622 call  0x000067c8 
+ 00026584  0x00008623 nbranch  0x000068dc , 0x00000005 
+ 00026585  0x00008624 fetcht  0x00000004 , 0x000003f7 
+ 00026586  0x00008625 call  0x000069cf 
+ 00026587  0x00008626 nbranch  0x000068d9 , 0x00000005 
+ 00026588  0x00008627 copy  0x00000006 , 0x00000011 
+ 00026589  0x00008628 call  0x00005381 
+ 00026590  0x00008629 copy  0x00000011 , 0x00000006 
+ 00026591  0x0000862a increase  0x00000003 , 0x00000005 
+ 00026592  0x0000862b copy  0x00000006 , 0x0000000b 
+ 00026593  0x0000862c call  0x00006980 
+ 00026594  0x0000862d copy  0x0000003f , 0x00000011 
+ 00026595  0x0000862f fetch  0x00000002 , 0x000003ec 
+ 00026596  0x00008630 copy  0x0000003f , 0x00000012 
+ 00026597  0x00008631 copy  0x00000011 , 0x0000003f 
+ 00026598  0x00008632 isub  0x00000012 , 0x00000012 
+ 00026599  0x00008633 fetch  0x00000002 , 0x000003f3 
+ 00026600  0x00008634 isub  0x00000012 , 0x0000003e 
+ 00026601  0x00008635 nbranch  0x00006805 , 0x00000002 
+ 00026602  0x00008637 disable  0x00000028 
+ 00026603  0x00008638 fetch  0x00000002 , 0x000003ec 
+ 00026604  0x00008639 branch  0x000067f8 , 0x00000034 
+ 00026605  0x0000863a iadd  0x0000000b , 0x00000006 
+ 00026606  0x0000863b increase  0x00000003 , 0x00000012 
+ 00026607  0x0000863c copy  0x00000012 , 0x00000039 
+ 00026608  0x0000863d copy  0x00000039 , 0x0000003f 
+ 00026609  0x0000863e increase  0x00000003 , 0x0000003f 
+ 00026610  0x0000863f byteswap  0x0000003f , 0x0000003f 
+ 00026611  0x00008640 istore  0x00000002 , 0x00000005 
+ 00026612  0x00008641 copy  0x00000039 , 0x0000003f 
+ 00026613  0x00008642 byteswap  0x0000003f , 0x0000003f 
+ 00026614  0x00008643 istore  0x00000002 , 0x00000005 
+ 00026615  0x00008644 branch  0x00006813 
+ 00026616  0x00008646 add  0x00000011 , 0x00000006 , 0x00000039 
+ 00026617  0x00008647 branch  0x000067fc , 0x00000028 
+ 00026618  0x00008648 byteswap  0x00000039 , 0x0000003f 
+ 00026619  0x00008649 branch  0x000067ff 
+ 00026620  0x0000864b copy  0x00000039 , 0x0000003f 
+ 00026621  0x0000864c increase  0x00000002 , 0x0000003f 
+ 00026622  0x0000864d byteswap  0x0000003f , 0x0000003f 
+ 00026623  0x0000864f istore  0x00000002 , 0x00000005 
+ 00026624  0x00008650 increase  0xfffffffd , 0x00000039 
+ 00026625  0x00008651 byteswap  0x00000039 , 0x0000003f 
+ 00026626  0x00008652 istore  0x00000002 , 0x00000005 
+ 00026627  0x00008653 copy  0x0000000b , 0x00000006 
+ 00026628  0x00008654 branch  0x00006813 
+ 00026629  0x00008656 enable  0x00000028 
+ 00026630  0x00008658 fetch  0x00000002 , 0x000003f3 
+ 00026631  0x00008659 copy  0x0000003f , 0x00000011 
+ 00026632  0x0000865a copy  0x00000011 , 0x00000039 
+ 00026633  0x0000865b fetch  0x00000002 , 0x000003ec 
+ 00026634  0x0000865c branch  0x000067f8 , 0x00000034 
+ 00026635  0x0000865d iadd  0x0000000b , 0x00000006 
+ 00026636  0x0000865e copy  0x00000011 , 0x0000003f 
+ 00026637  0x0000865f increase  0x00000005 , 0x0000003f 
+ 00026638  0x00008660 byteswap  0x0000003f , 0x0000003f 
+ 00026639  0x00008661 istore  0x00000002 , 0x00000005 
+ 00026640  0x00008662 copy  0x00000011 , 0x0000003f 
+ 00026641  0x00008663 byteswap  0x0000003f , 0x0000003f 
+ 00026642  0x00008664 istore  0x00000002 , 0x00000005 
+ 00026643  0x00008666 call  0x00007dd4 
+ 00026644  0x00008667 nbranch  0x0000681c , 0x00000028 
+ 00026645  0x00008668 force  0x00000002 , 0x0000003f 
+ 00026646  0x00008669 istore  0x00000001 , 0x00000005 
+ 00026647  0x0000866a copy  0x00000006 , 0x0000003f 
+ 00026648  0x0000866b isub  0x0000000b , 0x0000003f 
+ 00026649  0x0000866c byteswap  0x0000003f , 0x0000003f 
+ 00026650  0x0000866d istore  0x00000002 , 0x00000005 
+ 00026651  0x0000866e branch  0x0000681e 
+ 00026652  0x00008670 force  0x00000000 , 0x0000003f 
+ 00026653  0x00008671 istore  0x00000001 , 0x00000005 
+ 00026654  0x00008673 arg  0x00000005 , 0x00000011 
+ 00026655  0x00008674 branch  0x000068ce 
+ 00026656  0x00008680 bpatchx  0x00000061 , 0x0000402c 
+ 00026657  0x00008681 call  0x000068ee 
+ 00026658  0x00008682 compare  0x000000ff , 0x00000002 , 0x000000ff 
+ 00026659  0x00008683 branch  0x000068e2 , 0x00000001 
+ 00026660  0x00008684 call  0x0000684c 
+ 00026661  0x00008685 store  0x00000002 , 0x000003f3 
+ 00026662  0x00008686 increase  0xfffffffe , 0x0000000b 
+ 00026663  0x00008687 call  0x00006946 
+ 00026664  0x00008688 arg  0x000003fd , 0x00000005 
+ 00026665  0x00008689 force  0x00000000 , 0x00000007 
+ 00026666  0x0000868b ifetch  0x00000001 , 0x00000006 
+ 00026667  0x0000868c beq  0x0000000a , 0x00006854 
+ 00026668  0x0000868d ifetch  0x00000002 , 0x00000006 
+ 00026669  0x0000868e istore  0x00000002 , 0x00000005 
+ 00026670  0x0000868f increase  0x00000001 , 0x00000007 
+ 00026671  0x00008690 increase  0xfffffffd , 0x0000000b 
+ 00026672  0x00008691 increase  0xfffffffd , 0x00000011 
+ 00026673  0x00008692 nbranch  0x000068e2 , 0x00000002 
+ 00026674  0x00008693 nbranch  0x0000682a , 0x00000005 
+ 00026675  0x00008694 increase  0xffffffff , 0x0000000b 
+ 00026676  0x00008695 nbranch  0x000068e2 , 0x00000005 
+ 00026677  0x00008696 call  0x00005381 
+ 00026678  0x00008697 increase  0x0000000d , 0x00000005 
+ 00026679  0x00008698 fetch  0x00000002 , 0x000003e4 
+ 00026680  0x00008699 iforce  0x00000013 
+ 00026681  0x0000869a arg  0x000003fd , 0x00000011 
+ 00026682  0x0000869c ifetch  0x00000002 , 0x00000011 
+ 00026683  0x0000869d branch  0x00006847 , 0x00000034 
+ 00026684  0x0000869e iforce  0x00000012 
+ 00026685  0x0000869f call  0x000069e4 
+ 00026686  0x000086a0 branch  0x00006845 , 0x00000034 
+ 00026687  0x000086a1 increase  0xfffffffd , 0x00000006 
+ 00026688  0x000086a2 ifetch  0x00000003 , 0x00000006 
+ 00026689  0x000086a3 istore  0x00000003 , 0x00000005 
+ 00026690  0x000086a4 call  0x00006979 
+ 00026691  0x000086a5 iforce  0x00000039 
+ 00026692  0x000086a6 call  0x00007dd4 
+ 00026693  0x000086a8 increase  0x00000002 , 0x00000011 
+ 00026694  0x000086a9 branch  0x0000683a 
+ 00026695  0x000086ac call  0x000068a1 
+ 00026696  0x000086ad fetch  0x00000002 , 0x00000326 
+ 00026697  0x000086ae beq  0x0000000e , 0x00006964 
+ 00026698  0x000086af call  0x000068b8 
+ 00026699  0x000086b0 branch  0x000068b8 
+ 00026700  0x000086b4 ifetch  0x00000002 , 0x00000006 
+ 00026701  0x000086b5 byteswap  0x0000003f , 0x0000003f 
+ 00026702  0x000086b6 increase  0xfffffffd , 0x0000003f 
+ 00026703  0x000086b7 arg  0x000000c8 , 0x00000002 
+ 00026704  0x000086b8 isub  0x00000002 , 0x0000003e 
+ 00026705  0x000086b9 nrtn  0x00000002 
+ 00026706  0x000086ba setarg  0x000000c8 
+ 00026707  0x000086bb rtn 
+ 00026708  0x000086bf increase  0x00000004 , 0x00000006 
+ 00026709  0x000086c0 increase  0xfffffffb , 0x0000000b 
+ 00026710  0x000086c1 increase  0xfffffffb , 0x00000011 
+ 00026711  0x000086c2 nbranch  0x000068e2 , 0x00000005 
+ 00026712  0x000086c3 call  0x000067c8 
+ 00026713  0x000086c4 nbranch  0x000068dc , 0x00000005 
+ 00026714  0x000086c5 arg  0x000003e4 , 0x0000000b 
+ 00026715  0x000086c6 call  0x000069a0 
+ 00026716  0x000086c7 deposit  0x00000007 
+ 00026717  0x000086c8 branch  0x00006964 , 0x00000034 
+ 00026718  0x000086c9 store  0x00000001 , 0x00000421 
+ 00026719  0x000086cb copy  0x00000012 , 0x0000003f 
+ 00026720  0x000086cc store  0x00000002 , 0x0000041f 
+ 00026721  0x000086cd arg  0x00000000 , 0x00000007 
+ 00026722  0x000086ce arg  0x00000000 , 0x00000011 
+ 00026723  0x000086cf call  0x00005381 
+ 00026724  0x000086d0 increase  0x0000000a , 0x00000005 
+ 00026725  0x000086d2 call  0x0000688a 
+ 00026726  0x000086d3 nbranch  0x0000137c , 0x00000028 
+ 00026727  0x000086d4 copy  0x00000006 , 0x0000000b 
+ 00026728  0x000086d5 copy  0x0000003f , 0x00000013 
+ 00026729  0x000086d6 iadd  0x00000011 , 0x00000011 
+ 00026730  0x000086d9 fetch  0x00000002 , 0x000003ec 
+ 00026731  0x000086da copy  0x0000003f , 0x00000012 
+ 00026732  0x000086db branch  0x00006893 , 0x00000034 
+ 00026733  0x000086dd copy  0x00000011 , 0x0000003f 
+ 00026734  0x000086de isub  0x00000012 , 0x00000012 
+ 00026735  0x000086df branch  0x00006885 , 0x00000005 
+ 00026736  0x000086e0 nbranch  0x00006885 , 0x00000002 
+ 00026737  0x000086e1 fetch  0x00000002 , 0x000003f3 
+ 00026738  0x000086e2 isub  0x00000012 , 0x0000003e 
+ 00026739  0x000086e3 branch  0x0000687c , 0x00000005 
+ 00026740  0x000086e4 nbranch  0x0000687c , 0x00000002 
+ 00026741  0x000086e8 copy  0x00000012 , 0x00000039 
+ 00026742  0x000086e9 call  0x0000687f 
+ 00026743  0x000086ea fetch  0x00000001 , 0x00000421 
+ 00026744  0x000086eb increase  0x00000001 , 0x00000007 
+ 00026745  0x000086ec isub  0x00000007 , 0x0000003e 
+ 00026746  0x000086ed branch  0x000068a1 , 0x00000005 
+ 00026747  0x000086ee branch  0x000068be 
+ 00026748  0x000086f1 copy  0x0000003f , 0x00000039 
+ 00026749  0x000086f2 call  0x0000687f 
+ 00026750  0x000086f3 branch  0x000068be 
+ 00026751  0x000086f6 increase  0xfffffffd , 0x00000005 
+ 00026752  0x000086f7 copy  0x00000039 , 0x00000002 
+ 00026753  0x000086f8 copy  0x00000013 , 0x0000003f 
+ 00026754  0x000086f9 isub  0x00000012 , 0x0000003f 
+ 00026755  0x000086fa iadd  0x0000000b , 0x00000006 
+ 00026756  0x000086fb branch  0x00007dd4 
+ 00026757  0x000086fe fetch  0x00000001 , 0x00000421 
+ 00026758  0x000086ff increase  0x00000001 , 0x00000007 
+ 00026759  0x00008700 isub  0x00000007 , 0x0000003e 
+ 00026760  0x00008701 rtn  0x00000005 
+ 00026761  0x00008702 branch  0x00006865 
+ 00026762  0x00008705 call  0x00007ec7 
+ 00026763  0x00008706 arg  0x000003fd , 0x00000006 
+ 00026764  0x00008707 lshift2  0x00000007 , 0x0000003f 
+ 00026765  0x00008708 iadd  0x00000006 , 0x00000006 
+ 00026766  0x00008709 ifetcht  0x00000004 , 0x00000006 
+ 00026767  0x0000870a call  0x000069cf 
+ 00026768  0x0000870b nrtn  0x00000005 
+ 00026769  0x0000870c call  0x00006979 
+ 00026770  0x0000870d branch  0x00007ec5 
+ 00026771  0x00008710 fetch  0x00000002 , 0x000003f3 
+ 00026772  0x00008711 isub  0x00000011 , 0x0000003e 
+ 00026773  0x00008712 nbranch  0x000068ad , 0x00000002 
+ 00026774  0x00008713 copy  0x00000011 , 0x00000039 
+ 00026775  0x00008714 copy  0x00000039 , 0x00000002 
+ 00026776  0x00008715 copy  0x0000000b , 0x00000006 
+ 00026777  0x00008716 call  0x00007dd4 
+ 00026778  0x00008717 fetch  0x00000002 , 0x0000041f 
+ 00026779  0x00008718 isub  0x00000011 , 0x0000003e 
+ 00026780  0x00008719 branch  0x0000689f , 0x00000005 
+ 00026781  0x0000871b call  0x000068be 
+ 00026782  0x0000871c branch  0x000068b2 
+ 00026783  0x0000871f call  0x000068a1 
+ 00026784  0x00008720 branch  0x000068b2 
+ 00026785  0x00008723 arg  0x00000007 , 0x00000011 
+ 00026786  0x00008725 force  0x00000000 , 0x0000003f 
+ 00026787  0x00008726 istore  0x00000001 , 0x00000005 
+ 00026788  0x00008727 call  0x000068ce 
+ 00026789  0x00008728 fetcht  0x00000002 , 0x00000326 
+ 00026790  0x00008729 increase  0xfffffffb , 0x00000002 
+ 00026791  0x0000872a byteswap  0x00000002 , 0x0000003f 
+ 00026792  0x0000872b istore  0x00000002 , 0x00000005 
+ 00026793  0x0000872c increase  0xfffffffd , 0x00000002 
+ 00026794  0x0000872d byteswap  0x00000002 , 0x0000003f 
+ 00026795  0x0000872e istore  0x00000002 , 0x00000005 
+ 00026796  0x0000872f rtn 
+ 00026797  0x00008732 copy  0x0000003f , 0x00000039 
+ 00026798  0x00008733 copy  0x00000039 , 0x00000002 
+ 00026799  0x00008734 copy  0x0000000b , 0x00000006 
+ 00026800  0x00008735 call  0x00007dd4 
+ 00026801  0x00008736 call  0x000068be 
+ 00026802  0x00008738 setarg  0x00000036 
+ 00026803  0x00008739 istore  0x00000001 , 0x00000005 
+ 00026804  0x0000873a fetch  0x00000002 , 0x0000041f 
+ 00026805  0x0000873b byteswap  0x0000003f , 0x0000003f 
+ 00026806  0x0000873c istore  0x00000002 , 0x00000005 
+ 00026807  0x0000873d rtn 
+ 00026808  0x00008740 setarg  0x00000036 
+ 00026809  0x00008741 istore  0x00000001 , 0x00000005 
+ 00026810  0x00008742 increase  0xfffffffd , 0x00000002 
+ 00026811  0x00008743 byteswap  0x00000002 , 0x0000003f 
+ 00026812  0x00008744 istore  0x00000002 , 0x00000005 
+ 00026813  0x00008745 rtn 
+ 00026814  0x00008748 arg  0x00000007 , 0x00000011 
+ 00026815  0x00008749 setarg  0x00000002 
+ 00026816  0x0000874a istore  0x00000001 , 0x00000005 
+ 00026817  0x0000874b fetch  0x00000002 , 0x000003ec 
+ 00026818  0x0000874c iadd  0x00000002 , 0x00000002 
+ 00026819  0x0000874d byteswap  0x00000002 , 0x0000003f 
+ 00026820  0x0000874e istore  0x00000002 , 0x00000005 
+ 00026821  0x0000874f call  0x000068ce 
+ 00026822  0x00008750 fetcht  0x00000002 , 0x00000326 
+ 00026823  0x00008751 increase  0xfffffffb , 0x00000002 
+ 00026824  0x00008752 byteswap  0x00000002 , 0x0000003f 
+ 00026825  0x00008753 istore  0x00000002 , 0x00000005 
+ 00026826  0x00008754 increase  0xfffffffb , 0x00000002 
+ 00026827  0x00008755 byteswap  0x00000002 , 0x0000003f 
+ 00026828  0x00008756 istore  0x00000002 , 0x00000005 
+ 00026829  0x00008757 rtn 
+ 00026830  0x0000875a fetch  0x00000002 , 0x00000324 
+ 00026831  0x0000875b isub  0x00000005 , 0x0000003f 
+ 00026832  0x0000875c sub  0x0000003f , 0x00000000 , 0x0000003f 
+ 00026833  0x0000875d store  0x00000002 , 0x00000326 
+ 00026834  0x0000875e call  0x00005381 
+ 00026835  0x0000875f copy  0x00000011 , 0x0000003f 
+ 00026836  0x00008760 istore  0x00000001 , 0x00000005 
+ 00026837  0x00008761 fetch  0x00000002 , 0x000003ef 
+ 00026838  0x00008762 istore  0x00000002 , 0x00000005 
+ 00026839  0x00008763 rtn 
+ 00026840  0x00008774 rtn 
+ 00026841  0x00008779 setarg  0x00000200 
+ 00026842  0x0000877a store  0x00000002 , 0x0000041d 
+ 00026843  0x0000877b branch  0x000068e4 
+ 00026844  0x0000877d setarg  0x00000400 
+ 00026845  0x0000877e store  0x00000002 , 0x0000041d 
+ 00026846  0x0000877f branch  0x000068e4 
+ 00026847  0x00008781 setarg  0x00000600 
+ 00026848  0x00008782 store  0x00000002 , 0x0000041d 
+ 00026849  0x00008783 branch  0x000068e4 
+ 00026850  0x00008785 setarg  0x00000300 
+ 00026851  0x00008786 store  0x00000002 , 0x0000041d 
+ 00026852  0x00008788 call  0x00005381 
+ 00026853  0x00008789 istore  0x00000001 , 0x00000005 
+ 00026854  0x0000878a fetch  0x00000002 , 0x000003ef 
+ 00026855  0x0000878b istore  0x00000002 , 0x00000005 
+ 00026856  0x0000878c setarg  0x00000200 
+ 00026857  0x0000878d istore  0x00000002 , 0x00000005 
+ 00026858  0x0000878e fetch  0x00000002 , 0x0000041d 
+ 00026859  0x0000878f istore  0x00000002 , 0x00000005 
+ 00026860  0x00008790 jam  0x00000007 , 0x00000326 
+ 00026861  0x00008791 rtn 
+ 00026862  0x00008797 arg  0x00000000 , 0x00000012 
+ 00026863  0x00008798 force  0x00000000 , 0x00000002 
+ 00026864  0x00008799 arg  0x000003e4 , 0x00000005 
+ 00026865  0x0000879a call  0x00006946 
+ 00026866  0x0000879b branch  0x00006944 , 0x00000005 
+ 00026867  0x0000879d increase  0x00000001 , 0x00000012 
+ 00026868  0x0000879e ifetch  0x00000001 , 0x00000006 
+ 00026869  0x0000879f increase  0xffffffff , 0x00000011 
+ 00026870  0x000087a0 increase  0xffffffff , 0x0000000b 
+ 00026871  0x000087a1 compare  0x00000018 , 0x0000003f , 0x000000f8 
+ 00026872  0x000087a2 nbranch  0x00006944 , 0x00000001 
+ 00026873  0x000087a3 compare  0x00000004 , 0x0000003f , 0x00000007 
+ 00026874  0x000087a4 nbranch  0x00006911 , 0x00000001 
+ 00026875  0x000087a5 force  0x00000001 , 0x00000002 
+ 00026876  0x000087a7 ifetch  0x00000001 , 0x00000006 
+ 00026877  0x000087a8 increase  0xffffffff , 0x00000011 
+ 00026878  0x000087a9 increase  0xffffffff , 0x0000000b 
+ 00026879  0x000087aa bne  0x00000000 , 0x00006905 
+ 00026880  0x000087ab ifetch  0x00000001 , 0x00000006 
+ 00026881  0x000087ac increase  0xffffffff , 0x00000011 
+ 00026882  0x000087ad increase  0xffffffff , 0x0000000b 
+ 00026883  0x000087ae beq  0x00000000 , 0x00006916 
+ 00026884  0x000087af branch  0x00006908 
+ 00026885  0x000087b1 increase  0x00000001 , 0x00000006 
+ 00026886  0x000087b2 increase  0xffffffff , 0x00000011 
+ 00026887  0x000087b3 increase  0xffffffff , 0x0000000b 
+ 00026888  0x000087b5 increase  0x00000002 , 0x00000006 
+ 00026889  0x000087b6 increase  0xfffffffe , 0x00000011 
+ 00026890  0x000087b7 increase  0xfffffffe , 0x0000000b 
+ 00026891  0x000087b8 compare  0x00000000 , 0x00000002 , 0x000000ff 
+ 00026892  0x000087b9 branch  0x0000693e , 0x00000001 
+ 00026893  0x000087ba increase  0x0000000c , 0x00000006 
+ 00026894  0x000087bb increase  0xfffffff4 , 0x00000011 
+ 00026895  0x000087bc increase  0xfffffff4 , 0x0000000b 
+ 00026896  0x000087bd branch  0x0000693e 
+ 00026897  0x000087bf compare  0x00000002 , 0x0000003f , 0x00000007 
+ 00026898  0x000087c0 nbranch  0x00006914 , 0x00000001 
+ 00026899  0x000087c1 branch  0x000068fc 
+ 00026900  0x000087c3 compare  0x00000001 , 0x0000003f , 0x00000007 
+ 00026901  0x000087c4 nbranch  0x00006944 , 0x00000001 
+ 00026902  0x000087c6 increase  0xfffffffe , 0x00000011 
+ 00026903  0x000087c7 increase  0xfffffffe , 0x0000000b 
+ 00026904  0x000087c8 ifetch  0x00000002 , 0x00000006 
+ 00026905  0x000087c9 sub  0x00000012 , 0x00000004 , 0x0000003e 
+ 00026906  0x000087ca branch  0x0000691c , 0x00000005 
+ 00026907  0x000087cb istore  0x00000002 , 0x00000005 
+ 00026908  0x000087cd compare  0x00000000 , 0x00000002 , 0x000000ff 
+ 00026909  0x000087ce branch  0x0000693e , 0x00000001 
+ 00026910  0x000087cf copy  0x00000006 , 0x00000002 
+ 00026911  0x000087d0 ifetch  0x00000001 , 0x00000006 
+ 00026912  0x000087d1 bne  0x00000000 , 0x00006937 
+ 00026913  0x000087d2 ifetch  0x00000001 , 0x00000006 
+ 00026914  0x000087d3 bne  0x00000000 , 0x00006937 
+ 00026915  0x000087d4 ifetch  0x00000001 , 0x00000006 
+ 00026916  0x000087d5 bne  0x00000010 , 0x00006937 
+ 00026917  0x000087d6 ifetch  0x00000001 , 0x00000006 
+ 00026918  0x000087d7 bne  0x00000000 , 0x00006937 
+ 00026919  0x000087d8 ifetch  0x00000001 , 0x00000006 
+ 00026920  0x000087d9 bne  0x00000080 , 0x00006937 
+ 00026921  0x000087da ifetch  0x00000001 , 0x00000006 
+ 00026922  0x000087db bne  0x00000000 , 0x00006937 
+ 00026923  0x000087dc ifetch  0x00000001 , 0x00000006 
+ 00026924  0x000087dd bne  0x00000000 , 0x00006937 
+ 00026925  0x000087de ifetch  0x00000001 , 0x00000006 
+ 00026926  0x000087df bne  0x00000080 , 0x00006937 
+ 00026927  0x000087e0 ifetch  0x00000001 , 0x00000006 
+ 00026928  0x000087e1 bne  0x0000005f , 0x00006937 
+ 00026929  0x000087e2 ifetch  0x00000001 , 0x00000006 
+ 00026930  0x000087e3 bne  0x0000009b , 0x00006937 
+ 00026931  0x000087e4 ifetch  0x00000001 , 0x00000006 
+ 00026932  0x000087e5 bne  0x00000034 , 0x00006937 
+ 00026933  0x000087e6 ifetch  0x00000001 , 0x00000006 
+ 00026934  0x000087e7 beq  0x000000fb , 0x0000693c 
+ 00026935  0x000087e9 copy  0x00000002 , 0x00000006 
+ 00026936  0x000087eb increase  0x0000000c , 0x00000006 
+ 00026937  0x000087ec force  0x00000000 , 0x00000007 
+ 00026938  0x000087ed force  0x00000000 , 0x00000002 
+ 00026939  0x000087ee branch  0x0000693c 
+ 00026940  0x000087f1 increase  0xfffffff4 , 0x0000000b 
+ 00026941  0x000087f2 increase  0xfffffff4 , 0x00000011 
+ 00026942  0x000087f4 force  0x00000000 , 0x00000002 
+ 00026943  0x000087f5 compare  0x00000000 , 0x00000011 , 0x000000ff 
+ 00026944  0x000087f6 nbranch  0x000068f3 , 0x00000001 
+ 00026945  0x000087f7 force  0x00000000 , 0x0000003f 
+ 00026946  0x000087f8 istore  0x00000002 , 0x00000005 
+ 00026947  0x000087f9 rtn 
+ 00026948  0x000087fb arg  0x000000ff , 0x00000002 
+ 00026949  0x000087fc rtn 
+ 00026950  0x00008807 bpatchx  0x00000064 , 0x0000402c 
+ 00026951  0x00008808 ifetch  0x00000001 , 0x00000006 
+ 00026952  0x00008809 increase  0xffffffff , 0x0000000b 
+ 00026953  0x0000880a compare  0x00000030 , 0x0000003f , 0x000000f8 
+ 00026954  0x0000880b nbranch  0x0000695c , 0x00000001 
+ 00026955  0x0000880c compare  0x00000007 , 0x0000003f , 0x00000007 
+ 00026956  0x0000880d branch  0x00006955 , 0x00000001 
+ 00026957  0x0000880e compare  0x00000006 , 0x0000003f , 0x00000007 
+ 00026958  0x0000880f branch  0x00006957 , 0x00000001 
+ 00026959  0x00008810 compare  0x00000005 , 0x0000003f , 0x00000007 
+ 00026960  0x00008811 nbranch  0x0000695c , 0x00000001 
+ 00026961  0x00008813 ifetch  0x00000001 , 0x00000006 
+ 00026962  0x00008814 copy  0x0000003f , 0x00000011 
+ 00026963  0x00008815 increase  0xffffffff , 0x0000000b 
+ 00026964  0x00008816 branch  0x0000695a 
+ 00026965  0x00008818 increase  0x00000002 , 0x00000006 
+ 00026966  0x00008819 increase  0xfffffffe , 0x0000000b 
+ 00026967  0x0000881b ifetch  0x00000002 , 0x00000006 
+ 00026968  0x0000881c byteswap  0x0000003f , 0x00000011 
+ 00026969  0x0000881d increase  0xfffffffe , 0x0000000b 
+ 00026970  0x0000881f force  0x00000001 , 0x0000003f 
+ 00026971  0x00008820 rtn 
+ 00026972  0x00008822 force  0x00000000 , 0x0000003f 
+ 00026973  0x00008823 rtn 
+ 00026974  0x0000882e setarg  0x00000003 
+ 00026975  0x0000882f store  0x00000001 , 0x000003ee 
+ 00026976  0x00008830 branch  0x00006966 
+ 00026977  0x00008832 setarg  0x00000005 
+ 00026978  0x00008833 store  0x00000001 , 0x000003ee 
+ 00026979  0x00008834 branch  0x00006966 
+ 00026980  0x00008836 setarg  0x00000007 
+ 00026981  0x00008837 store  0x00000001 , 0x000003ee 
+ 00026982  0x00008839 call  0x00005381 
+ 00026983  0x0000883c fetch  0x00000001 , 0x000003ee 
+ 00026984  0x0000883d copy  0x0000003f , 0x00000012 
+ 00026985  0x0000883e istore  0x00000001 , 0x00000005 
+ 00026986  0x0000883f fetch  0x00000002 , 0x000003ef 
+ 00026987  0x00008840 istore  0x00000002 , 0x00000005 
+ 00026988  0x00008841 setarg  0x00000500 
+ 00026989  0x00008842 istore  0x00000002 , 0x00000005 
+ 00026990  0x00008843 compare  0x00000005 , 0x00000012 , 0x000000ff 
+ 00026991  0x00008844 branch  0x00006975 , 0x00000001 
+ 00026992  0x00008845 compare  0x00000007 , 0x00000012 , 0x000000ff 
+ 00026993  0x00008846 branch  0x00006975 , 0x00000001 
+ 00026994  0x00008847 setarg  0x00000000 
+ 00026995  0x00008848 istore  0x00000005 , 0x00000005 
+ 00026996  0x00008849 branch  0x00006977 
+ 00026997  0x0000884c setarg  0x00350200 
+ 00026998  0x0000884d istore  0x00000005 , 0x00000005 
+ 00026999  0x0000884f jam  0x0000000a , 0x00000326 
+ 00027000  0x00008850 rtn 
+ 00027001  0x00008854 call  0x00007d5b 
+ 00027002  0x00008855 call  0x00007d5e 
+ 00027003  0x00008856 call  0x00006980 
+ 00027004  0x00008857 call  0x00007d55 
+ 00027005  0x00008858 call  0x00007d58 
+ 00027006  0x00008859 copy  0x00000002 , 0x0000003f 
+ 00027007  0x0000885a rtn 
+ 00027008  0x0000885e ifetch  0x00000001 , 0x00000006 
+ 00027009  0x0000885f and  0x0000003f , 0x00000007 , 0x00000039 
+ 00027010  0x00008860 rshift3  0x0000003f , 0x0000003f 
+ 00027011  0x00008861 bne  0x00000000 , 0x0000698a 
+ 00027012  0x00008863 force  0x00000001 , 0x0000003f 
+ 00027013  0x00008864 force  0x00000001 , 0x00000002 
+ 00027014  0x00008865 rtn 
+ 00027015  0x00008868 call  0x00007d35 
+ 00027016  0x00008869 add  0x0000003f , 0x00000001 , 0x00000002 
+ 00027017  0x0000886a rtn 
+ 00027018  0x0000886c deposit  0x00000039 
+ 00027019  0x0000886d sub  0x0000003f , 0x00000004 , 0x0000003e 
+ 00027020  0x0000886e branch  0x00006987 , 0x00000002 
+ 00027021  0x0000886f beq  0x00000005 , 0x00006991 
+ 00027022  0x00008870 beq  0x00000006 , 0x00006994 
+ 00027023  0x00008871 beq  0x00000007 , 0x00006998 
+ 00027024  0x00008872 rtn 
+ 00027025  0x00008875 ifetch  0x00000001 , 0x00000006 
+ 00027026  0x00008876 add  0x0000003f , 0x00000002 , 0x00000002 
+ 00027027  0x00008877 rtn 
+ 00027028  0x00008879 ifetch  0x00000002 , 0x00000006 
+ 00027029  0x0000887a byteswap  0x0000003f , 0x0000003f 
+ 00027030  0x0000887b add  0x0000003f , 0x00000003 , 0x00000002 
+ 00027031  0x0000887c rtn 
+ 00027032  0x0000887e ifetch  0x00000002 , 0x00000006 
+ 00027033  0x0000887f byteswap  0x0000003f , 0x0000003f 
+ 00027034  0x00008880 ifetcht  0x00000002 , 0x00000006 
+ 00027035  0x00008881 byteswap  0x00000002 , 0x00000002 
+ 00027036  0x00008882 lshift16  0x00000002 , 0x00000002 
+ 00027037  0x00008883 iadd  0x00000002 , 0x0000003f 
+ 00027038  0x00008884 add  0x0000003f , 0x00000005 , 0x00000002 
+ 00027039  0x00008885 rtn 
+ 00027040  0x00008888 bpatchx  0x00000065 , 0x0000402c 
+ 00027041  0x00008889 force  0x00000000 , 0x00000007 
+ 00027042  0x0000888a arg  0x00000000 , 0x00000012 
+ 00027043  0x0000888b arg  0x000003fd , 0x00000005 
+ 00027044  0x0000888d ifetch  0x00000002 , 0x0000000b 
+ 00027045  0x0000888e rtn  0x00000034 
+ 00027046  0x0000888f call  0x000069ab 
+ 00027047  0x00008890 copy  0x00000007 , 0x0000003f 
+ 00027048  0x00008891 rtneq  0x00000007 
+ 00027049  0x00008892 increase  0x00000002 , 0x0000000b 
+ 00027050  0x00008893 branch  0x000069a4 
+ 00027051  0x00008897 iforce  0x00000013 
+ 00027052  0x00008899 fetch  0x00000002 , 0x00004663 
+ 00027053  0x0000889a iforce  0x00000006 
+ 00027054  0x0000889c copy  0x00000007 , 0x0000003f 
+ 00027055  0x0000889d rtneq  0x00000007 
+ 00027056  0x0000889e disable  0x00000028 
+ 00027057  0x0000889f ifetch  0x00000001 , 0x00000006 
+ 00027058  0x000088a0 rtn  0x00000034 
+ 00027059  0x000088a1 iforce  0x00000039 
+ 00027060  0x000088a3 ifetch  0x00000002 , 0x00000006 
+ 00027061  0x000088a4 isub  0x00000013 , 0x0000003e 
+ 00027062  0x000088a5 nbranch  0x000069b8 , 0x00000005 
+ 00027063  0x000088a6 enable  0x00000028 
+ 00027064  0x000088a8 loop  0x000069b4 
+ 00027065  0x000088a9 ifetcht  0x00000004 , 0x00000006 
+ 00027066  0x000088aa copy  0x00000006 , 0x00000011 
+ 00027067  0x000088ab nbranch  0x000069cb , 0x00000028 
+ 00027068  0x000088ac arg  0x000003fd , 0x00000006 
+ 00027069  0x000088ad arg  0x00000007 , 0x00000039 
+ 00027070  0x000088af ifetch  0x00000004 , 0x00000006 
+ 00027071  0x000088b0 branch  0x000069c4 , 0x00000034 
+ 00027072  0x000088b1 isub  0x00000002 , 0x0000003e 
+ 00027073  0x000088b2 branch  0x000069cb , 0x00000005 
+ 00027074  0x000088b3 loop  0x000069be 
+ 00027075  0x000088b4 rtn 
+ 00027076  0x000088b6 istoret  0x00000004 , 0x00000005 
+ 00027077  0x000088b7 increase  0x00000001 , 0x00000007 
+ 00027078  0x000088b8 copy  0x00000011 , 0x00000006 
+ 00027079  0x000088b9 call  0x00006979 
+ 00027080  0x000088ba iadd  0x00000012 , 0x00000012 
+ 00027081  0x000088bb iadd  0x00000006 , 0x00000006 
+ 00027082  0x000088bc branch  0x000069ae 
+ 00027083  0x000088be copy  0x00000011 , 0x00000006 
+ 00027084  0x000088bf call  0x00006980 
+ 00027085  0x000088c0 iadd  0x00000006 , 0x00000006 
+ 00027086  0x000088c1 branch  0x000069ae 
+ 00027087  0x000088c4 bpatchx  0x00000066 , 0x0000402c 
+ 00027088  0x000088c5 fetch  0x00000002 , 0x00004663 
+ 00027089  0x000088c6 iforce  0x00000006 
+ 00027090  0x000088c8 ifetch  0x00000001 , 0x00000006 
+ 00027091  0x000088c9 branch  0x00007ec1 , 0x00000034 
+ 00027092  0x000088ca lshift  0x0000003f , 0x0000003f 
+ 00027093  0x000088cb iadd  0x00000006 , 0x00000006 
+ 00027094  0x000088cc ifetch  0x00000004 , 0x00000006 
+ 00027095  0x000088cd isub  0x00000002 , 0x0000003e 
+ 00027096  0x000088ce rtn  0x00000005 
+ 00027097  0x000088cf deposit  0x00000005 
+ 00027098  0x000088d0 store  0x00000002 , 0x0000097d 
+ 00027099  0x000088d1 storet  0x00000008 , 0x00000964 
+ 00027100  0x000088d2 call  0x00006980 
+ 00027101  0x000088d3 iadd  0x00000006 , 0x00000006 
+ 00027102  0x000088d4 copy  0x00000006 , 0x0000003f 
+ 00027103  0x000088d5 fetcht  0x00000002 , 0x0000097d 
+ 00027104  0x000088d6 copy  0x00000002 , 0x00000005 
+ 00027105  0x000088d7 fetcht  0x00000008 , 0x00000964 
+ 00027106  0x000088d8 copy  0x0000003f , 0x00000006 
+ 00027107  0x000088d9 branch  0x000069d2 
+ 00027108  0x000088dc bpatchx  0x00000067 , 0x0000402c 
+ 00027109  0x000088dd fetch  0x00000002 , 0x00004663 
+ 00027110  0x000088de iforce  0x00000006 
+ 00027111  0x000088e0 ifetch  0x00000001 , 0x00000006 
+ 00027112  0x000088e1 branch  0x00006a02 , 0x00000034 
+ 00027113  0x000088e2 iforce  0x00000039 
+ 00027114  0x000088e4 ifetch  0x00000002 , 0x00000006 
+ 00027115  0x000088e5 isub  0x00000013 , 0x0000003e 
+ 00027116  0x000088e6 branch  0x000069f2 , 0x00000005 
+ 00027117  0x000088e7 loop  0x000069ea 
+ 00027118  0x000088e8 increase  0x00000004 , 0x00000006 
+ 00027119  0x000088e9 call  0x00006980 
+ 00027120  0x000088ea iadd  0x00000006 , 0x00000006 
+ 00027121  0x000088eb branch  0x000069e7 
+ 00027122  0x000088ed increase  0xffffffff , 0x00000039 
+ 00027123  0x000088ee lshift  0x00000039 , 0x0000003f 
+ 00027124  0x000088ef iadd  0x00000006 , 0x00000006 
+ 00027125  0x000088f0 increase  0x00000004 , 0x00000006 
+ 00027126  0x000088f1 call  0x00006980 
+ 00027127  0x000088f2 iadd  0x00000006 , 0x0000000b 
+ 00027128  0x000088f4 increase  0x00000001 , 0x00000006 
+ 00027129  0x000088f5 ifetch  0x00000002 , 0x00000006 
+ 00027130  0x000088f6 isub  0x00000012 , 0x0000003e 
+ 00027131  0x000088fa branch  0x00007ecf , 0x00000005 
+ 00027132  0x000088fb call  0x00006979 
+ 00027133  0x000088fc iadd  0x00000006 , 0x00000006 
+ 00027134  0x000088fd deposit  0x0000000b 
+ 00027135  0x000088fe isub  0x00000006 , 0x0000003e 
+ 00027136  0x000088ff branch  0x00006a02 , 0x00000005 
+ 00027137  0x00008900 branch  0x000069f8 
+ 00027138  0x00008902 force  0x00000000 , 0x00000006 
+ 00027139  0x00008903 force  0x00000000 , 0x0000003f 
+ 00027140  0x00008904 rtn 
+ 00027141  0x0000890b bpatchx  0x00000068 , 0x0000402d 
+ 00027142  0x0000890c fetch  0x00000002 , 0x00004663 
+ 00027143  0x0000890d iforce  0x00000006 
+ 00027144  0x0000890f ifetch  0x00000001 , 0x00000006 
+ 00027145  0x00008910 branch  0x00006a1e , 0x00000034 
+ 00027146  0x00008911 lshift  0x0000003f , 0x0000003f 
+ 00027147  0x00008912 iadd  0x00000006 , 0x00000006 
+ 00027148  0x00008913 ifetch  0x00000004 , 0x00000006 
+ 00027149  0x00008914 isub  0x00000002 , 0x0000003e 
+ 00027150  0x00008915 branch  0x00006a12 , 0x00000005 
+ 00027151  0x00008916 call  0x00006980 
+ 00027152  0x00008917 iadd  0x00000006 , 0x00000006 
+ 00027153  0x00008918 branch  0x00006a08 
+ 00027154  0x0000891a call  0x00006980 
+ 00027155  0x0000891b iadd  0x00000006 , 0x0000000b 
+ 00027156  0x0000891d increase  0x00000001 , 0x00000006 
+ 00027157  0x0000891e ifetch  0x00000002 , 0x00000006 
+ 00027158  0x0000891f isub  0x00000012 , 0x0000003e 
+ 00027159  0x00008920 rtn  0x00000005 
+ 00027160  0x00008921 call  0x00006979 
+ 00027161  0x00008922 iadd  0x00000006 , 0x00000006 
+ 00027162  0x00008923 deposit  0x0000000b 
+ 00027163  0x00008924 isub  0x00000006 , 0x0000003e 
+ 00027164  0x00008925 branch  0x00006a1e , 0x00000005 
+ 00027165  0x00008926 branch  0x00006a14 
+ 00027166  0x00008928 force  0x00000000 , 0x00000006 
+ 00027167  0x00008929 rtn 
+ 00027168  0x0000892e arg  0x00000400 , 0x00000012 
+ 00027169  0x0000892f call  0x00006a12 
+ 00027170  0x00008930 arg  0x00000300 , 0x00000012 
+ 00027171  0x00008931 call  0x00006a2b 
+ 00027172  0x00008932 nrtn  0x00000028 
+ 00027173  0x00008933 sub  0x00000011 , 0x00000003 , 0x0000003e 
+ 00027174  0x00008934 branch  0x00007ec7 , 0x00000002 
+ 00027175  0x00008935 ifetch  0x00000001 , 0x00000006 
+ 00027176  0x00008936 bne  0x00000008 , 0x00007ec7 
+ 00027177  0x00008937 ifetch  0x00000001 , 0x00000006 
+ 00027178  0x00008938 rtn 
+ 00027179  0x0000893e bpatchx  0x00000069 , 0x0000402d 
+ 00027180  0x0000893f call  0x00006980 
+ 00027181  0x00008940 copy  0x0000003f , 0x00000011 
+ 00027182  0x00008942 ifetch  0x00000001 , 0x00000006 
+ 00027183  0x00008943 and  0x0000003f , 0x00000007 , 0x00000039 
+ 00027184  0x00008944 rshift3  0x0000003f , 0x0000003f 
+ 00027185  0x00008945 sub  0x0000003f , 0x00000003 , 0x0000003e 
+ 00027186  0x00008946 branch  0x00006a47 , 0x00000005 
+ 00027187  0x00008947 copy  0x00000039 , 0x0000003f 
+ 00027188  0x00008948 beq  0x00000005 , 0x00006a3e 
+ 00027189  0x00008949 beq  0x00000006 , 0x00006a41 
+ 00027190  0x0000894a beq  0x00000007 , 0x00006a44 
+ 00027191  0x0000894b increase  0xffffffff , 0x00000006 
+ 00027192  0x0000894c call  0x00006980 
+ 00027193  0x0000894d iadd  0x00000006 , 0x00000006 
+ 00027194  0x0000894e copy  0x00000011 , 0x0000003f 
+ 00027195  0x0000894f isub  0x00000002 , 0x00000011 
+ 00027196  0x00008950 branch  0x00007ec7 , 0x00000005 
+ 00027197  0x00008951 branch  0x00006a2e 
+ 00027198  0x00008954 increase  0xfffffffe , 0x00000011 
+ 00027199  0x00008955 increase  0x00000001 , 0x00000006 
+ 00027200  0x00008956 branch  0x00006a2e 
+ 00027201  0x00008958 increase  0xfffffffd , 0x00000011 
+ 00027202  0x00008959 increase  0x00000002 , 0x00000006 
+ 00027203  0x0000895a branch  0x00006a2e 
+ 00027204  0x0000895c increase  0xfffffffb , 0x00000011 
+ 00027205  0x0000895d increase  0x00000004 , 0x00000006 
+ 00027206  0x0000895e branch  0x00006a2e 
+ 00027207  0x00008961 increase  0xffffffff , 0x00000011 
+ 00027208  0x00008962 copy  0x00000039 , 0x0000003f 
+ 00027209  0x00008963 beq  0x00000001 , 0x00006a50 
+ 00027210  0x00008964 beq  0x00000002 , 0x00006a4e 
+ 00027211  0x00008965 beq  0x00000004 , 0x00006a4d 
+ 00027212  0x00008966 branch  0x00007ec7 
+ 00027213  0x00008968 increase  0xfffffff4 , 0x00000011 
+ 00027214  0x0000896a ifetch  0x00000002 , 0x00000006 
+ 00027215  0x0000896b increase  0xfffffffe , 0x00000011 
+ 00027216  0x0000896d ifetch  0x00000002 , 0x00000006 
+ 00027217  0x0000896e isub  0x00000012 , 0x0000003e 
+ 00027218  0x0000896f branch  0x00007ec5 , 0x00000005 
+ 00027219  0x00008970 increase  0xfffffffe , 0x00000011 
+ 00027220  0x00008971 branch  0x00007ec7 , 0x00000005 
+ 00027221  0x00008972 branch  0x00006a2e 
+ 00027222  0x00008977 call  0x00005381 
+ 00027223  0x00008978 copy  0x0000003f , 0x00000005 
+ 00027224  0x00008979 setarg  0x00000006 
+ 00027225  0x0000897a istore  0x00000001 , 0x00000005 
+ 00027226  0x0000897b setarg  0x0000006e 
+ 00027227  0x0000897c istore  0x00000002 , 0x00000005 
+ 00027228  0x0000897d setarg  0x00000f00 
+ 00027229  0x0000897e istore  0x00000002 , 0x00000005 
+ 00027230  0x0000897f setarg  0x001a0535 
+ 00027231  0x00008980 istore  0x00000003 , 0x00000005 
+ 00027232  0x00008981 setarg  0x00000111 
+ 00027233  0x00008982 lshift16  0x0000003f , 0x0000003f 
+ 00027234  0x00008983 istore  0x00000004 , 0x00000005 
+ 00027235  0x00008984 setarg  0x00002600 
+ 00027236  0x00008985 istore  0x00000002 , 0x00000005 
+ 00027237  0x00008986 setarg  0x00000335 
+ 00027238  0x00008987 istore  0x00000002 , 0x00000005 
+ 00027239  0x00008988 setarg  0x00000009 
+ 00027240  0x00008989 istore  0x00000002 , 0x00000005 
+ 00027241  0x0000898a setarg  0x00000004 
+ 00027242  0x0000898b istore  0x00000002 , 0x00000005 
+ 00027243  0x0000898c jam  0x00000014 , 0x00000326 
+ 00027244  0x0000898d rtn 
+ 00027245  0x00008992 bpatchx  0x0000006a , 0x0000402d 
+ 00027246  0x00008993 jam  0x00000050 , 0x000004a7 
+ 00027247  0x00008994 arg  0x000004a8 , 0x00000005 
+ 00027248  0x00008995 arg  0x00004337 , 0x00000006 
+ 00027249  0x00008996 call  0x00007d7f 
+ 00027250  0x00008997 arg  0x000046df , 0x00000006 
+ 00027251  0x00008998 call  0x00007d7d 
+ 00027252  0x00008999 arg  0x00000880 , 0x00000006 
+ 00027253  0x0000899a call  0x00007d7d 
+ 00027254  0x0000899b call  0x00006b28 
+ 00027255  0x0000899c arg  0x00000277 , 0x00000006 
+ 00027256  0x0000899d call  0x00006b23 
+ 00027257  0x0000899e call  0x00006aee 
+ 00027258  0x000089a0 arg  0x000009be , 0x00000005 
+ 00027259  0x000089a1 call  0x00006b1f 
+ 00027260  0x000089a2 setarg  0x000f4240 
+ 00027261  0x000089a3 copy  0x0000003f , 0x00000011 
+ 00027262  0x000089a4 fetch  0x00000004 , 0x000009be 
+ 00027263  0x000089a5 idiv  0x00000011 
+ 00027264  0x000089a6 call  0x00007e64 
+ 00027265  0x000089a7 remainder  0x0000003f 
+ 00027266  0x000089a8 store  0x00000004 , 0x0000087c 
+ 00027267  0x000089aa rtn 
+ 00027268  0x000089ad jam  0x00000041 , 0x000004a7 
+ 00027269  0x000089ae arg  0x000004a8 , 0x00000005 
+ 00027270  0x000089af call  0x00006ad3 
+ 00027271  0x000089b0 call  0x00006ace 
+ 00027272  0x000089b1 fetch  0x00000003 , 0x00004351 
+ 00027273  0x000089b2 istore  0x00000003 , 0x00000005 
+ 00027274  0x000089b5 call  0x00006a94 
+ 00027275  0x000089b7 arg  0x00000277 , 0x00000006 
+ 00027276  0x000089b8 call  0x00007d7f 
+ 00027277  0x000089b9 arg  0x00004337 , 0x00000006 
+ 00027278  0x000089ba call  0x00007d7f 
+ 00027279  0x000089bb call  0x00006b28 
+ 00027280  0x000089bc arg  0x000009de , 0x00000006 
+ 00027281  0x000089bd arg  0x0000098e , 0x00000005 
+ 00027282  0x000089be call  0x00007d7f 
+ 00027283  0x000089c0 branch  0x00006aee 
+ 00027284  0x000089c5 fetch  0x00000004 , 0x0000439e 
+ 00027285  0x000089c6 istore  0x00000004 , 0x00000005 
+ 00027286  0x000089c7 call  0x00007d94 
+ 00027287  0x000089c8 branch  0x00007d91 
+ 00027288  0x000089cb bpatchx  0x0000006b , 0x0000402d 
+ 00027289  0x000089cc jam  0x00000041 , 0x000004a7 
+ 00027290  0x000089cd arg  0x000004a8 , 0x00000005 
+ 00027291  0x000089ce call  0x00006ace 
+ 00027292  0x000089cf call  0x00006ad3 
+ 00027293  0x000089d0 fetch  0x00000003 , 0x0000434a 
+ 00027294  0x000089d1 istore  0x00000003 , 0x00000005 
+ 00027295  0x000089d4 call  0x00006a94 
+ 00027296  0x000089d5 arg  0x00004337 , 0x00000006 
+ 00027297  0x000089d6 call  0x00007d7f 
+ 00027298  0x000089d7 arg  0x00000277 , 0x00000006 
+ 00027299  0x000089d8 call  0x00007d7f 
+ 00027300  0x000089d9 call  0x00006b28 
+ 00027301  0x000089da arg  0x000009de , 0x00000006 
+ 00027302  0x000089db arg  0x0000098e , 0x00000005 
+ 00027303  0x000089dc call  0x00007d7f 
+ 00027304  0x000089de call  0x00006aee 
+ 00027305  0x000089df arg  0x000009be , 0x00000005 
+ 00027306  0x000089e0 branch  0x00006b1f 
+ 00027307  0x000089e3 jam  0x00000020 , 0x000004a7 
+ 00027308  0x000089e4 arg  0x000008c0 , 0x00000006 
+ 00027309  0x000089e5 arg  0x000004a8 , 0x00000005 
+ 00027310  0x000089e6 call  0x00007d7d 
+ 00027311  0x000089e7 call  0x00006b28 
+ 00027312  0x000089e8 arg  0x00000860 , 0x00000006 
+ 00027313  0x000089e9 call  0x00006b23 
+ 00027314  0x000089ea call  0x00006aee 
+ 00027315  0x000089eb arg  0x0000098e , 0x00000005 
+ 00027316  0x000089ec call  0x00006e3c 
+ 00027317  0x000089ed arg  0x00000001 , 0x00000002 
+ 00027318  0x000089ee call  0x00006abd 
+ 00027319  0x000089ef arg  0x00004316 , 0x00000005 
+ 00027320  0x000089f0 call  0x00006b1f 
+ 00027321  0x000089f1 arg  0x00000000 , 0x00000002 
+ 00027322  0x000089f2 call  0x00006abd 
+ 00027323  0x000089f3 arg  0x000009de , 0x00000005 
+ 00027324  0x000089f5 branch  0x00006e3c 
+ 00027325  0x000089f9 bpatchx  0x0000006c , 0x0000402d 
+ 00027326  0x000089fa jam  0x00000035 , 0x000004a7 
+ 00027327  0x000089fb setarg  0x00000100 
+ 00027328  0x000089fc store  0x00000002 , 0x000004a8 
+ 00027329  0x000089fd call  0x00006ace 
+ 00027330  0x000089fe call  0x00006ad3 
+ 00027331  0x000089ff arg  0x00004337 , 0x00000006 
+ 00027332  0x00008a00 call  0x00007d7f 
+ 00027333  0x00008a01 arg  0x00000277 , 0x00000006 
+ 00027334  0x00008a02 call  0x00007d7f 
+ 00027335  0x00008a04 setarg  0x00006c65 
+ 00027336  0x00008a05 istore  0x00000002 , 0x00000005 
+ 00027337  0x00008a06 setarg  0x00006274 
+ 00027338  0x00008a07 istore  0x00000002 , 0x00000005 
+ 00027339  0x00008a08 istoret  0x00000001 , 0x00000005 
+ 00027340  0x00008a09 call  0x00006b28 
+ 00027341  0x00008a0a branch  0x00006aee 
+ 00027342  0x00008a0d fetch  0x00000006 , 0x0000437a 
+ 00027343  0x00008a0e istore  0x00000006 , 0x00000005 
+ 00027344  0x00008a0f fetch  0x00000001 , 0x00004371 
+ 00027345  0x00008a10 istore  0x00000001 , 0x00000005 
+ 00027346  0x00008a11 rtn 
+ 00027347  0x00008a14 fetch  0x00000006 , 0x00000297 
+ 00027348  0x00008a15 istore  0x00000006 , 0x00000005 
+ 00027349  0x00008a1a fetch  0x00000001 , 0x0000436a 
+ 00027350  0x00008a1b istore  0x00000001 , 0x00000005 
+ 00027351  0x00008a1c rtn 
+ 00027352  0x00008a1f jam  0x00000041 , 0x000004a7 
+ 00027353  0x00008a20 fetch  0x00000001 , 0x00004771 
+ 00027354  0x00008a21 store  0x00000001 , 0x000004a8 
+ 00027355  0x00008a22 arg  0x000046df , 0x00000006 
+ 00027356  0x00008a23 call  0x00007d7d 
+ 00027357  0x00008a24 arg  0x00000880 , 0x00000006 
+ 00027358  0x00008a25 call  0x00007d7d 
+ 00027359  0x00008a26 call  0x00006b28 
+ 00027360  0x00008a27 arg  0x00000277 , 0x00000006 
+ 00027361  0x00008a28 call  0x00006b23 
+ 00027362  0x00008a29 branch  0x00006aee 
+ 00027363  0x00008a2d jam  0x00000041 , 0x000004a7 
+ 00027364  0x00008a2e fetch  0x00000001 , 0x00004771 
+ 00027365  0x00008a2f store  0x00000001 , 0x000004a8 
+ 00027366  0x00008a30 arg  0x00000880 , 0x00000006 
+ 00027367  0x00008a31 call  0x00007d7d 
+ 00027368  0x00008a32 arg  0x000046df , 0x00000006 
+ 00027369  0x00008a33 call  0x00007d7d 
+ 00027370  0x00008a34 call  0x00006b28 
+ 00027371  0x00008a35 arg  0x00004337 , 0x00000006 
+ 00027372  0x00008a36 call  0x00006b23 
+ 00027373  0x00008a37 branch  0x00006aee 
+ 00027374  0x00008a3a bpatchx  0x0000006d , 0x0000402d 
+ 00027375  0x00008a3b call  0x00006b3d 
+ 00027376  0x00008a3f fetch  0x00000001 , 0x000004a7 
+ 00027377  0x00008a40 copy  0x0000003f , 0x00000002 
+ 00027378  0x00008a42 increase  0x0000000f , 0x0000003f 
+ 00027379  0x00008a43 rshift4  0x0000003f , 0x0000003f 
+ 00027380  0x00008a44 copy  0x0000003f , 0x00000012 
+ 00027381  0x00008a45 branch  0x00006b00 , 0x00000034 
+ 00027382  0x00008a46 and  0x00000002 , 0x0000000f , 0x0000003f 
+ 00027383  0x00008a47 nbranch  0x00006b03 , 0x00000034 
+ 00027384  0x00008a49 arg  0x0000099e , 0x00000013 
+ 00027385  0x00008a4a arg  0x000004a8 , 0x0000003f 
+ 00027386  0x00008a4b increase  0xfffffff0 , 0x0000003f 
+ 00027387  0x00008a4e iadd  0x00000002 , 0x00000011 
+ 00027388  0x00008a4f arg  0x000009ce , 0x00000005 
+ 00027389  0x00008a50 arg  0x00000004 , 0x00000039 
+ 00027390  0x00008a51 call  0x00007da4 
+ 00027391  0x00008a55 branch  0x00006b0e 
+ 00027392  0x00008a58 arg  0x00000001 , 0x00000012 
+ 00027393  0x00008a59 arg  0x00000000 , 0x00000011 
+ 00027394  0x00008a5b branch  0x00006b04 
+ 00027395  0x00008a60 and  0x00000002 , 0x0000000f , 0x00000011 
+ 00027396  0x00008a62 arg  0x000004a8 , 0x0000003f 
+ 00027397  0x00008a63 iadd  0x00000002 , 0x0000003f 
+ 00027398  0x00008a64 isub  0x00000011 , 0x00000006 
+ 00027399  0x00008a66 arg  0x000009be , 0x00000005 
+ 00027400  0x00008a67 call  0x00006b63 
+ 00027401  0x00008a69 arg  0x000009ae , 0x00000013 
+ 00027402  0x00008a6a arg  0x000009be , 0x00000011 
+ 00027403  0x00008a6b arg  0x000009ce , 0x00000005 
+ 00027404  0x00008a6c arg  0x00000004 , 0x00000039 
+ 00027405  0x00008a6d call  0x00007da4 
+ 00027406  0x00008a79 call  0x00006e36 
+ 00027407  0x00008a7a call  0x00006dca 
+ 00027408  0x00008a7d arg  0x000004a8 , 0x00000006 
+ 00027409  0x00008a80 increase  0xffffffff , 0x00000012 
+ 00027410  0x00008a81 deposit  0x00000012 
+ 00027411  0x00008a82 branch  0x00006b17 , 0x00000034 
+ 00027412  0x00008a83 call  0x00006e28 
+ 00027413  0x00008a84 call  0x00006dc4 
+ 00027414  0x00008a85 branch  0x00006b11 
+ 00027415  0x00008a88 arg  0x000009be , 0x00000005 
+ 00027416  0x00008a89 call  0x00006e3c 
+ 00027417  0x00008a8a arg  0x000009ce , 0x00000006 
+ 00027418  0x00008a8b call  0x00006e28 
+ 00027419  0x00008a8c call  0x00006dca 
+ 00027420  0x00008a8d arg  0x000009be , 0x00000006 
+ 00027421  0x00008a8e call  0x00006e28 
+ 00027422  0x00008a8f branch  0x00006dc4 
+ 00027423  0x00008a95 copy  0x00000005 , 0x00000011 
+ 00027424  0x00008a96 call  0x00006e3c 
+ 00027425  0x00008a98 arg  0x00000010 , 0x00000039 
+ 00027426  0x00008a99 branch  0x00007dac 
+ 00027427  0x00008a9c arg  0x0000098e , 0x00000005 
+ 00027428  0x00008a9d call  0x00007d7f 
+ 00027429  0x00008a9f arg  0x00000010 , 0x00000039 
+ 00027430  0x00008aa0 arg  0x0000098e , 0x00000011 
+ 00027431  0x00008aa1 branch  0x00007dac 
+ 00027432  0x00008aa4 fetch  0x00000001 , 0x000004a7 
+ 00027433  0x00008aa5 copy  0x0000003f , 0x00000039 
+ 00027434  0x00008aa6 arg  0x000004a8 , 0x00000011 
+ 00027435  0x00008aa7 branch  0x00007dac 
+ 00027436  0x00008aaa ifetch  0x00000001 , 0x00000011 
+ 00027437  0x00008aab lshift  0x0000003f , 0x0000003f 
+ 00027438  0x00008aac isolate1  0x00000000 , 0x00000013 
+ 00027439  0x00008aad setflag  0x00000001 , 0x00000000 , 0x0000003f 
+ 00027440  0x00008aae isolate1  0x00000008 , 0x0000003f 
+ 00027441  0x00008aaf setflag  0x00000001 , 0x00000000 , 0x00000013 
+ 00027442  0x00008ab0 istore  0x00000001 , 0x00000011 
+ 00027443  0x00008ab1 increase  0xffffffff , 0x00000011 
+ 00027444  0x00008ab2 loop  0x00006b2c 
+ 00027445  0x00008ab3 rtn 
+ 00027446  0x00008ab6 arg  0x0000099e , 0x00000011 
+ 00027447  0x00008ab8 increase  0x0000000f , 0x00000011 
+ 00027448  0x00008ab9 force  0x00000010 , 0x00000039 
+ 00027449  0x00008aba force  0x00000000 , 0x00000013 
+ 00027450  0x00008abb branch  0x00006b2c 
+ 00027451  0x00008abe arg  0x000009ae , 0x00000011 
+ 00027452  0x00008abf branch  0x00006b37 
+ 00027453  0x00008ac3 arg  0x0000098e , 0x00000006 
+ 00027454  0x00008ac4 call  0x00006e26 
+ 00027455  0x00008ac7 force  0x00000008 , 0x00000038 
+ 00027456  0x00008ac8 call  0x00006e37 
+ 00027457  0x00008ac9 call  0x00006e36 
+ 00027458  0x00008aca call  0x00006dc1 
+ 00027459  0x00008acf arg  0x0000099e , 0x00000005 
+ 00027460  0x00008ad0 call  0x00006e3c 
+ 00027461  0x00008ad2 bpatchx  0x0000006e , 0x0000402d 
+ 00027462  0x00008ad3 fetch  0x00000001 , 0x0000099e 
+ 00027463  0x00008ad4 isolate1  0x00000007 , 0x0000003f 
+ 00027464  0x00008ad5 nbranch  0x00006b4e , 0x00000001 
+ 00027465  0x00008ad6 call  0x00006b36 
+ 00027466  0x00008ad9 arg  0x0000099e , 0x00000013 
+ 00027467  0x00008adb arg  0x0000099e , 0x00000005 
+ 00027468  0x00008ade call  0x00006b58 
+ 00027469  0x00008adf branch  0x00006b4f 
+ 00027470  0x00008ae1 call  0x00006b36 
+ 00027471  0x00008ae4 arg  0x0000099e , 0x00000006 
+ 00027472  0x00008ae5 arg  0x000009ae , 0x00000005 
+ 00027473  0x00008ae6 call  0x00007d7f 
+ 00027474  0x00008ae7 fetch  0x00000001 , 0x000009ae 
+ 00027475  0x00008ae8 isolate1  0x00000007 , 0x0000003f 
+ 00027476  0x00008ae9 nbranch  0x00006b3b , 0x00000001 
+ 00027477  0x00008aea call  0x00006b3b 
+ 00027478  0x00008aec arg  0x000009ae , 0x00000013 
+ 00027479  0x00008aee arg  0x000009ae , 0x00000005 
+ 00027480  0x00008af5 arg  0x00000003 , 0x00000039 
+ 00027481  0x00008af7 arg  0x00000000 , 0x00000002 
+ 00027482  0x00008af8 call  0x00006b5f 
+ 00027483  0x00008af9 increase  0x00000004 , 0x00000013 
+ 00027484  0x00008afa loop  0x00006b59 
+ 00027485  0x00008afb arg  0x00008700 , 0x00000002 
+ 00027486  0x00008afc lshift16  0x00000002 , 0x00000002 
+ 00027487  0x00008afe ifetch  0x00000004 , 0x00000013 
+ 00027488  0x00008aff ixor  0x00000002 , 0x0000003f 
+ 00027489  0x00008b00 istore  0x00000004 , 0x00000005 
+ 00027490  0x00008b01 rtn 
+ 00027491  0x00008b08 bpatchx  0x0000006f , 0x0000402d 
+ 00027492  0x00008b09 arg  0x00000010 , 0x00000039 
+ 00027493  0x00008b0a arg  0x00000000 , 0x0000003f 
+ 00027494  0x00008b0c isub  0x00000011 , 0x0000003e 
+ 00027495  0x00008b0d branch  0x00006b6e , 0x00000005 
+ 00027496  0x00008b0e branch  0x00006b71 , 0x00000002 
+ 00027497  0x00008b0f ifetcht  0x00000001 , 0x00000006 
+ 00027498  0x00008b10 istoret  0x00000001 , 0x00000005 
+ 00027499  0x00008b12 increase  0x00000001 , 0x0000003f 
+ 00027500  0x00008b13 loop  0x00006b66 
+ 00027501  0x00008b14 rtn 
+ 00027502  0x00008b16 arg  0x00000080 , 0x00000002 
+ 00027503  0x00008b18 istoret  0x00000001 , 0x00000005 
+ 00027504  0x00008b19 branch  0x00006b6b 
+ 00027505  0x00008b1c arg  0x00000000 , 0x00000002 
+ 00027506  0x00008b1d branch  0x00006b6f 
+ 00027507  0x00008b21 call  0x00006b86 
+ 00027508  0x00008b22 arg  0x00000454 , 0x00000006 
+ 00027509  0x00008b23 arg  0x00000444 , 0x00000005 
+ 00027510  0x00008b24 branch  0x00007d7f 
+ 00027511  0x00008b28 disable  0x00000028 
+ 00027512  0x00008b29 call  0x00006c7d 
+ 00027513  0x00008b2a arg  0x00000424 , 0x00000006 
+ 00027514  0x00008b2b arg  0x00000464 , 0x00000005 
+ 00027515  0x00008b2c force  0x0000000f , 0x00000039 
+ 00027516  0x00008b2d call  0x00007dd4 
+ 00027517  0x00008b2e ifetch  0x00000001 , 0x00000006 
+ 00027518  0x00008b2f xor_into  0x00000006 , 0x0000003f 
+ 00027519  0x00008b30 istore  0x00000001 , 0x00000005 
+ 00027520  0x00008b31 setarg  0x00000474 
+ 00027521  0x00008b32 store  0x00000002 , 0x00000498 
+ 00027522  0x00008b33 setarg  0x00000464 
+ 00027523  0x00008b34 store  0x00000002 , 0x00000496 
+ 00027524  0x00008b35 set1  0x00000012 , 0x00000000 
+ 00027525  0x00008b36 branch  0x00006bc6 
+ 00027526  0x00008b3b fetcht  0x00000001 , 0x00004796 
+ 00027527  0x00008b3c force  0x00000010 , 0x00000012 
+ 00027528  0x00008b3d add  0x00000002 , 0x00000006 , 0x00000013 
+ 00027529  0x00008b3e sub  0x00000013 , 0x00000010 , 0x0000003e 
+ 00027530  0x00008b3f branch  0x00006b8c , 0x00000002 
+ 00027531  0x00008b40 force  0x00000010 , 0x00000013 
+ 00027532  0x00008b42 arg  0x00000464 , 0x00000005 
+ 00027533  0x00008b44 arg  0x00004797 , 0x00000006 
+ 00027534  0x00008b45 copy  0x00000002 , 0x00000039 
+ 00027535  0x00008b46 disable  0x00000028 
+ 00027536  0x00008b48 ifetch  0x00000001 , 0x00000006 
+ 00027537  0x00008b49 istore  0x00000001 , 0x00000005 
+ 00027538  0x00008b4a increase  0xffffffff , 0x00000012 
+ 00027539  0x00008b4b branch  0x00006b9a , 0x00000005 
+ 00027540  0x00008b4c loop  0x00006b90 
+ 00027541  0x00008b4d branch  0x00006b8d , 0x00000028 
+ 00027542  0x00008b4e enable  0x00000028 
+ 00027543  0x00008b4f force  0x00000006 , 0x00000039 
+ 00027544  0x00008b50 copy  0x00000011 , 0x00000006 
+ 00027545  0x00008b51 branch  0x00006b90 
+ 00027546  0x00008b53 arg  0x00000424 , 0x00000006 
+ 00027547  0x00008b54 arg  0x00000474 , 0x00000005 
+ 00027548  0x00008b55 call  0x00007d7f 
+ 00027549  0x00008b56 fetch  0x00000001 , 0x00000483 
+ 00027550  0x00008b57 ixor  0x00000013 , 0x0000003f 
+ 00027551  0x00008b58 store  0x00000001 , 0x00000483 
+ 00027552  0x00008b59 setarg  0x00000474 
+ 00027553  0x00008b5a store  0x00000002 , 0x00000498 
+ 00027554  0x00008b5b setarg  0x00000464 
+ 00027555  0x00008b5c store  0x00000002 , 0x00000496 
+ 00027556  0x00008b5d set1  0x00000012 , 0x00000000 
+ 00027557  0x00008b5e branch  0x00006bc6 
+ 00027558  0x00008b64 disable  0x00000028 
+ 00027559  0x00008b65 call  0x00006c7d 
+ 00027560  0x00008b66 branch  0x00006bb0 
+ 00027561  0x00008b69 arg  0x00000056 , 0x00000011 
+ 00027562  0x00008b6a enable  0x00000028 
+ 00027563  0x00008b6b call  0x00006c7d 
+ 00027564  0x00008b6c call  0x00006bb0 
+ 00027565  0x00008b6d arg  0x00000454 , 0x00000006 
+ 00027566  0x00008b6e arg  0x00000062 , 0x00000005 
+ 00027567  0x00008b6f branch  0x00007d7f 
+ 00027568  0x00008b73 setarg  0x00000424 
+ 00027569  0x00008b74 store  0x00000002 , 0x00000498 
+ 00027570  0x00008b75 setarg  0x000041cb 
+ 00027571  0x00008b76 store  0x00000002 , 0x00000496 
+ 00027572  0x00008b77 set0  0x00000012 , 0x00000000 
+ 00027573  0x00008b78 call  0x00006bc6 
+ 00027574  0x00008b79 arg  0x00000454 , 0x00000011 
+ 00027575  0x00008b7a arg  0x00000424 , 0x00000012 
+ 00027576  0x00008b7b arg  0x00000464 , 0x00000005 
+ 00027577  0x00008b7c call  0x00006c70 
+ 00027578  0x00008b7d arg  0x00000464 , 0x00000011 
+ 00027579  0x00008b7e arg  0x00000474 , 0x00000012 
+ 00027580  0x00008b7f copy  0x00000012 , 0x00000005 
+ 00027581  0x00008b80 enable  0x00000028 
+ 00027582  0x00008b81 call  0x00006c6e 
+ 00027583  0x00008b82 call  0x00006c88 
+ 00027584  0x00008b83 setarg  0x00000474 
+ 00027585  0x00008b84 store  0x00000002 , 0x00000498 
+ 00027586  0x00008b85 setarg  0x00000464 
+ 00027587  0x00008b86 store  0x00000002 , 0x00000496 
+ 00027588  0x00008b87 set1  0x00000012 , 0x00000000 
+ 00027589  0x00008b88 branch  0x00006bc6 
+ 00027590  0x00008b8d jam  0x00000000 , 0x0000049a 
+ 00027591  0x00008b8e fetch  0x00000002 , 0x00000496 
+ 00027592  0x00008b8f iforce  0x00000006 
+ 00027593  0x00008b90 arg  0x00000484 , 0x00000005 
+ 00027594  0x00008b91 call  0x00007d7f 
+ 00027595  0x00008b92 fetch  0x00000002 , 0x00000498 
+ 00027596  0x00008b93 iforce  0x00000006 
+ 00027597  0x00008b94 arg  0x00000454 , 0x00000005 
+ 00027598  0x00008b95 call  0x00007d7f 
+ 00027599  0x00008b98 call  0x00006bed 
+ 00027600  0x00008b99 disable  0x00000028 
+ 00027601  0x00008b9a bmark0  0x00000012 , 0x00006bd7 
+ 00027602  0x00008b9b fetch  0x00000001 , 0x0000049a 
+ 00027603  0x00008b9c bne  0x00000004 , 0x00006bd7 
+ 00027604  0x00008b9d fetch  0x00000002 , 0x00000498 
+ 00027605  0x00008b9e iforce  0x00000012 
+ 00027606  0x00008b9f call  0x00006c1f 
+ 00027607  0x00008ba1 call  0x00006c1e 
+ 00027608  0x00008ba2 call  0x00006c31 
+ 00027609  0x00008ba3 fetch  0x00000001 , 0x0000049a 
+ 00027610  0x00008ba4 increase  0x00000001 , 0x0000003f 
+ 00027611  0x00008ba5 store  0x00000001 , 0x0000049a 
+ 00027612  0x00008ba7 call  0x00006bed 
+ 00027613  0x00008ba8 enable  0x00000028 
+ 00027614  0x00008ba9 call  0x00006c1e 
+ 00027615  0x00008baa call  0x00006c40 
+ 00027616  0x00008bab call  0x00006c4f 
+ 00027617  0x00008bac call  0x00006c40 
+ 00027618  0x00008bad call  0x00006c4f 
+ 00027619  0x00008bae call  0x00006c40 
+ 00027620  0x00008baf call  0x00006c4f 
+ 00027621  0x00008bb0 call  0x00006c40 
+ 00027622  0x00008bb1 fetch  0x00000001 , 0x0000049a 
+ 00027623  0x00008bb2 increase  0x00000001 , 0x0000003f 
+ 00027624  0x00008bb3 store  0x00000001 , 0x0000049a 
+ 00027625  0x00008bb4 bne  0x00000010 , 0x00006bcf 
+ 00027626  0x00008bb5 call  0x00006bed 
+ 00027627  0x00008bb6 disable  0x00000028 
+ 00027628  0x00008bb7 branch  0x00006c1e 
+ 00027629  0x00008bbc fetch  0x00000001 , 0x0000049a 
+ 00027630  0x00008bbd arg  0x00000484 , 0x00000006 
+ 00027631  0x00008bbe branch  0x00006c14 , 0x00000034 
+ 00027632  0x00008bbf iforce  0x00000012 
+ 00027633  0x00008bc0 force  0x00000011 , 0x00000039 
+ 00027634  0x00008bc1 copy  0x00000006 , 0x00000005 
+ 00027635  0x00008bc3 ifetch  0x00000001 , 0x00000006 
+ 00027636  0x00008bc4 lshift3  0x0000003f , 0x00000002 
+ 00027637  0x00008bc5 rshift2  0x0000003f , 0x0000003f 
+ 00027638  0x00008bc6 rshift3  0x0000003f , 0x0000003f 
+ 00027639  0x00008bc7 ior  0x00000002 , 0x0000003f 
+ 00027640  0x00008bc8 istore  0x00000001 , 0x00000005 
+ 00027641  0x00008bc9 loop  0x00006bf3 
+ 00027642  0x00008bca setarg  0x00000484 
+ 00027643  0x00008bcb iadd  0x00000012 , 0x00000006 
+ 00027644  0x00008bcc force  0x00000010 , 0x00000039 
+ 00027645  0x00008bcd arg  0x00000434 , 0x00000005 
+ 00027646  0x00008bcf ifetch  0x00000001 , 0x00000006 
+ 00027647  0x00008bd0 istore  0x00000001 , 0x00000005 
+ 00027648  0x00008bd1 compare  0x00000495 , 0x00000006 , 0x000000ff 
+ 00027649  0x00008bd2 nbranch  0x00006c03 , 0x00000001 
+ 00027650  0x00008bd3 increase  0xffffffef , 0x00000006 
+ 00027651  0x00008bd5 loop  0x00006bfe 
+ 00027652  0x00008bd6 force  0x00000000 , 0x00000011 
+ 00027653  0x00008bd7 add  0x00000012 , 0xffffffff , 0x00000013 
+ 00027654  0x00008bd8 lshift2  0x00000013 , 0x00000013 
+ 00027655  0x00008bd9 lshift2  0x00000013 , 0x00000013 
+ 00027656  0x00008bda call  0x00006e5e 
+ 00027657  0x00008bdb setarg  0x00009000 
+ 00027658  0x00008bdc iadd  0x00000013 , 0x00000013 
+ 00027659  0x00008bdd arg  0x00000434 , 0x00000005 
+ 00027660  0x00008bde force  0x00000010 , 0x00000039 
+ 00027661  0x00008be0 ifetcht  0x00000001 , 0x00000013 
+ 00027662  0x00008be1 ifetch  0x00000001 , 0x00000005 
+ 00027663  0x00008be2 iadd  0x00000002 , 0x0000003f 
+ 00027664  0x00008be3 istore  0x00000001 , 0x00000005 
+ 00027665  0x00008be4 increase  0x00000001 , 0x00000013 
+ 00027666  0x00008be5 loop  0x00006c0d 
+ 00027667  0x00008be6 branch  0x00006e62 
+ 00027668  0x00008be9 force  0x00000010 , 0x00000039 
+ 00027669  0x00008bea force  0x00000000 , 0x00000002 
+ 00027670  0x00008bec ifetch  0x00000001 , 0x00000006 
+ 00027671  0x00008bed ixor  0x00000002 , 0x00000002 
+ 00027672  0x00008bee loop  0x00006c16 
+ 00027673  0x00008bef deposit  0x00000002 
+ 00027674  0x00008bf0 istore  0x00000001 , 0x00000006 
+ 00027675  0x00008bf1 arg  0x00000484 , 0x00000006 
+ 00027676  0x00008bf2 arg  0x00000434 , 0x00000005 
+ 00027677  0x00008bf3 branch  0x00007d7f 
+ 00027678  0x00008bf6 arg  0x00000434 , 0x00000012 
+ 00027679  0x00008bf8 force  0x00000010 , 0x00000039 
+ 00027680  0x00008bf9 arg  0x00000454 , 0x00000011 
+ 00027681  0x00008bfa copy  0x00000011 , 0x00000005 
+ 00027682  0x00008bfc ifetcht  0x00000001 , 0x00000011 
+ 00027683  0x00008bfd ifetch  0x00000001 , 0x00000012 
+ 00027684  0x00008bfe ixor  0x00000002 , 0x00000030 
+ 00027685  0x00008bff and  0x00000039 , 0x00000003 , 0x00000013 
+ 00027686  0x00008c00 nbranch  0x00006c28 , 0x00000028 
+ 00027687  0x00008c01 xor_into  0x00000003 , 0x00000013 
+ 00027688  0x00008c03 sub  0x00000013 , 0x00000001 , 0x00000013 
+ 00027689  0x00008c04 branch  0x00006c2b , 0x00000002 
+ 00027690  0x00008c05 iadd  0x00000002 , 0x00000030 
+ 00027691  0x00008c07 deposit  0x00000030 
+ 00027692  0x00008c08 istore  0x00000001 , 0x00000005 
+ 00027693  0x00008c09 increase  0x00000001 , 0x00000011 
+ 00027694  0x00008c0a increase  0x00000001 , 0x00000012 
+ 00027695  0x00008c0b loop  0x00006c22 
+ 00027696  0x00008c0c rtn 
+ 00027697  0x00008c0f call  0x00006e5e 
+ 00027698  0x00008c10 force  0x00000010 , 0x00000039 
+ 00027699  0x00008c11 arg  0x00000454 , 0x00000011 
+ 00027700  0x00008c13 ifetch  0x00000001 , 0x00000011 
+ 00027701  0x00008c14 arg  0x00009100 , 0x00000006 
+ 00027702  0x00008c15 and  0x00000039 , 0x00000003 , 0x00000013 
+ 00027703  0x00008c16 sub  0x00000013 , 0x00000001 , 0x0000003e 
+ 00027704  0x00008c17 branch  0x00006c3a , 0x00000002 
+ 00027705  0x00008c18 arg  0x00009200 , 0x00000006 
+ 00027706  0x00008c1a iadd  0x00000006 , 0x00000006 
+ 00027707  0x00008c1b ifetch  0x00000001 , 0x00000006 
+ 00027708  0x00008c1c istore  0x00000001 , 0x00000011 
+ 00027709  0x00008c1d increase  0x00000001 , 0x00000011 
+ 00027710  0x00008c1e loop  0x00006c34 
+ 00027711  0x00008c1f branch  0x00006e62 
+ 00027712  0x00008c22 force  0x00000008 , 0x00000039 
+ 00027713  0x00008c23 arg  0x00000454 , 0x00000006 
+ 00027714  0x00008c24 copy  0x00000006 , 0x00000005 
+ 00027715  0x00008c26 ifetch  0x00000001 , 0x00000006 
+ 00027716  0x00008c27 iforce  0x00000011 
+ 00027717  0x00008c28 ifetch  0x00000001 , 0x00000006 
+ 00027718  0x00008c29 iforce  0x00000012 
+ 00027719  0x00008c2a lshift  0x00000011 , 0x0000003f 
+ 00027720  0x00008c2b iadd  0x00000012 , 0x0000003f 
+ 00027721  0x00008c2c istore  0x00000001 , 0x00000005 
+ 00027722  0x00008c2d deposit  0x00000011 
+ 00027723  0x00008c2e iadd  0x00000012 , 0x0000003f 
+ 00027724  0x00008c2f istore  0x00000001 , 0x00000005 
+ 00027725  0x00008c30 loop  0x00006c43 
+ 00027726  0x00008c31 rtn 
+ 00027727  0x00008c35 setarg  0x008ae42c 
+ 00027728  0x00008c36 iforce  0x00000002 
+ 00027729  0x00008c37 force  0x00000007 , 0x00000039 
+ 00027730  0x00008c38 call  0x00006c5e 
+ 00027731  0x00008c39 setarg  0x000d751b 
+ 00027732  0x00008c3a iforce  0x00000002 
+ 00027733  0x00008c3b force  0x00000005 , 0x00000039 
+ 00027734  0x00008c3c call  0x00006c5e 
+ 00027735  0x00008c3d fetch  0x00000001 , 0x00000463 
+ 00027736  0x00008c3e iforce  0x00000011 
+ 00027737  0x00008c3f fetch  0x00000001 , 0x00000457 
+ 00027738  0x00008c40 store  0x00000001 , 0x00000463 
+ 00027739  0x00008c41 deposit  0x00000011 
+ 00027740  0x00008c42 store  0x00000001 , 0x00000457 
+ 00027741  0x00008c43 rtn 
+ 00027742  0x00008c46 and  0x00000002 , 0x0000000f , 0x00000012 
+ 00027743  0x00008c48 and  0x00000002 , 0x0000000f , 0x0000003f 
+ 00027744  0x00008c49 arg  0x00000454 , 0x00000005 
+ 00027745  0x00008c4a iadd  0x00000005 , 0x00000005 
+ 00027746  0x00008c4b ifetch  0x00000001 , 0x00000005 
+ 00027747  0x00008c4c iforce  0x00000013 
+ 00027748  0x00008c4d deposit  0x00000011 
+ 00027749  0x00008c4e istore  0x00000001 , 0x00000005 
+ 00027750  0x00008c4f copy  0x00000013 , 0x00000011 
+ 00027751  0x00008c50 rshift4  0x00000002 , 0x00000002 
+ 00027752  0x00008c51 loop  0x00006c5f 
+ 00027753  0x00008c52 setarg  0x00000454 
+ 00027754  0x00008c53 iadd  0x00000012 , 0x00000005 
+ 00027755  0x00008c54 deposit  0x00000011 
+ 00027756  0x00008c55 istore  0x00000001 , 0x00000005 
+ 00027757  0x00008c56 rtn 
+ 00027758  0x00008c59 enable  0x00000028 
+ 00027759  0x00008c5a branch  0x00006c71 
+ 00027760  0x00008c5d disable  0x00000028 
+ 00027761  0x00008c5f force  0x00000010 , 0x00000039 
+ 00027762  0x00008c61 ifetcht  0x00000001 , 0x00000011 
+ 00027763  0x00008c62 ifetch  0x00000001 , 0x00000012 
+ 00027764  0x00008c63 branch  0x00006c77 , 0x00000028 
+ 00027765  0x00008c64 ixor  0x00000002 , 0x0000003f 
+ 00027766  0x00008c65 branch  0x00006c78 
+ 00027767  0x00008c67 iadd  0x00000002 , 0x0000003f 
+ 00027768  0x00008c69 istore  0x00000001 , 0x00000005 
+ 00027769  0x00008c6a increase  0x00000001 , 0x00000011 
+ 00027770  0x00008c6b increase  0x00000001 , 0x00000012 
+ 00027771  0x00008c6c loop  0x00006c72 
+ 00027772  0x00008c6d rtn 
+ 00027773  0x00008c71 arg  0x00000474 , 0x00000005 
+ 00027774  0x00008c72 ifetch  0x00000006 , 0x00000011 
+ 00027775  0x00008c73 istore  0x00000006 , 0x00000005 
+ 00027776  0x00008c74 branch  0x00006c83 , 0x00000028 
+ 00027777  0x00008c75 ifetch  0x00000006 , 0x00000011 
+ 00027778  0x00008c76 branch  0x00006c84 
+ 00027779  0x00008c78 ifetch  0x00000006 , 0x00000006 
+ 00027780  0x00008c7a istore  0x00000006 , 0x00000005 
+ 00027781  0x00008c7b ifetch  0x00000004 , 0x00000011 
+ 00027782  0x00008c7c istore  0x00000004 , 0x00000005 
+ 00027783  0x00008c7d rtn 
+ 00027784  0x00008c80 arg  0x000041cb , 0x00000006 
+ 00027785  0x00008c81 arg  0x00000464 , 0x00000005 
+ 00027786  0x00008c82 arg  0x00000000 , 0x00000002 
+ 00027787  0x00008c83 setarg  0x008395a7 
+ 00027788  0x00008c84 call  0x00006ca9 
+ 00027789  0x00008c85 setarg  0x00b3c1df 
+ 00027790  0x00008c86 call  0x00006ca9 
+ 00027791  0x00008c87 setarg  0x0000e5e9 
+ 00027792  0x00008c88 call  0x00006caa 
+ 00027793  0x00008c89 copy  0x00000002 , 0x00000014 
+ 00027794  0x00008c8a disable  0x00000028 
+ 00027795  0x00008c8b call  0x00006c97 
+ 00027796  0x00008c8c copy  0x00000014 , 0x00000002 
+ 00027797  0x00008c8d enable  0x00000028 
+ 00027798  0x00008c8e branch  0x00006c97 
+ 00027799  0x00008c91 force  0x00000008 , 0x00000039 
+ 00027800  0x00008c93 ifetch  0x00000001 , 0x00000006 
+ 00027801  0x00008c94 compare  0x00000001 , 0x00000039 , 0x00000001 
+ 00027802  0x00008c95 branch  0x00006c9e , 0x00000028 
+ 00027803  0x00008c96 branch  0x00006c9f , 0x00000001 
+ 00027804  0x00008c98 iadd  0x00000002 , 0x0000003f 
+ 00027805  0x00008c99 branch  0x00006ca0 
+ 00027806  0x00008c9b branch  0x00006c9c , 0x00000001 
+ 00027807  0x00008c9d ixor  0x00000002 , 0x0000003f 
+ 00027808  0x00008c9f istore  0x00000001 , 0x00000005 
+ 00027809  0x00008ca0 rshift8  0x00000002 , 0x00000002 
+ 00027810  0x00008ca1 loop  0x00006c98 
+ 00027811  0x00008ca2 rtn 
+ 00027812  0x00008ca5 fetch  0x00000006 , 0x00000458 
+ 00027813  0x00008ca6 store  0x00000006 , 0x00000056 
+ 00027814  0x00008ca7 ifetch  0x00000006 , 0x00000006 
+ 00027815  0x00008ca8 istore  0x00000006 , 0x00000005 
+ 00027816  0x00008ca9 rtn 
+ 00027817  0x00008cac lshift8  0x00000002 , 0x00000002 
+ 00027818  0x00008cae lshift16  0x00000002 , 0x00000002 
+ 00027819  0x00008caf ior  0x00000002 , 0x00000002 
+ 00027820  0x00008cb0 rtn 
+ 00027821  0x00008cb5 branch  0x00006cad 
+ 00027822  0x00008cba bpatchx  0x00000070 , 0x0000402e 
+ 00027823  0x00008cbb call  0x00006dcd 
+ 00027824  0x00008cbc arg  0x00004316 , 0x00000005 
+ 00027825  0x00008cbd branch  0x00006e3c 
+ 00027826  0x00008cc1 arg  0x00004337 , 0x00000005 
+ 00027827  0x00008cc2 branch  0x00006cb5 , 0x00000029 
+ 00027828  0x00008cc3 arg  0x00000277 , 0x00000005 
+ 00027829  0x00008cc5 copy  0x00000006 , 0x00000011 
+ 00027830  0x00008cc6 call  0x00007d7f 
+ 00027831  0x00008cc7 call  0x00006de2 
+ 00027832  0x00008cc8 arg  0x00004327 , 0x00000006 
+ 00027833  0x00008cc9 branch  0x00006e55 
+ 00027834  0x00008ccc arg  0x00000277 , 0x00000011 
+ 00027835  0x00008ccd branch  0x00006cbd , 0x00000029 
+ 00027836  0x00008cce arg  0x00004337 , 0x00000011 
+ 00027837  0x00008cd0 copy  0x00000011 , 0x00000005 
+ 00027838  0x00008cd1 call  0x00005a8f 
+ 00027839  0x00008cd2 branch  0x00006de2 
+ 00027840  0x00008cd5 arg  0x00004384 , 0x00000006 
+ 00027841  0x00008cd6 call  0x00006e28 
+ 00027842  0x00008cd7 arg  0x00004316 , 0x00000006 
+ 00027843  0x00008cd8 call  0x00006e29 
+ 00027844  0x00008cd9 force  0x00000038 , 0x00000036 
+ 00027845  0x00008cda force  0x00000000 , 0x00000036 
+ 00027846  0x00008cdb call  0x00006dbf 
+ 00027847  0x00008cdc arg  0x000002c7 , 0x00000005 
+ 00027848  0x00008cdd branch  0x00006e3c 
+ 00027849  0x00008ce2 force  0x00000008 , 0x00000038 
+ 00027850  0x00008ce3 force  0x00000049 , 0x0000003f 
+ 00027851  0x00008ce4 branch  0x00006cd0 
+ 00027852  0x00008ce8 force  0x00000049 , 0x0000003f 
+ 00027853  0x00008ce9 branch  0x00006ccf 
+ 00027854  0x00008ceb force  0x00000001 , 0x0000003f 
+ 00027855  0x00008ced force  0x00000000 , 0x00000038 
+ 00027856  0x00008cef lshift8  0x00000002 , 0x0000002f 
+ 00027857  0x00008cf0 ior  0x0000002f , 0x0000002f 
+ 00027858  0x00008cf1 increase  0x00000001 , 0x00000038 
+ 00027859  0x00008cf2 rshift8  0x00000002 , 0x0000002f 
+ 00027860  0x00008cf3 rshift16  0x0000002f , 0x0000002f 
+ 00027861  0x00008cf4 fetch  0x00000002 , 0x000046ad 
+ 00027862  0x00008cf5 lshift16  0x0000003f , 0x0000003f 
+ 00027863  0x00008cf6 ior  0x0000002f , 0x0000002f 
+ 00027864  0x00008cf7 increase  0x00000001 , 0x00000038 
+ 00027865  0x00008cf8 ifetchr  0x0000002f , 0x00000004 , 0x00000006 
+ 00027866  0x00008cf9 increase  0x00000001 , 0x00000038 
+ 00027867  0x00008cfa ifetch  0x00000002 , 0x00000006 
+ 00027868  0x00008cfb byteswap  0x00000011 , 0x0000002f 
+ 00027869  0x00008cfc lshift16  0x0000002f , 0x0000002f 
+ 00027870  0x00008cfd ior  0x0000002f , 0x0000002f 
+ 00027871  0x00008cfe increase  0x00000001 , 0x00000038 
+ 00027872  0x00008cff rtn 
+ 00027873  0x00008d04 add  0x00000013 , 0x00000001 , 0x00000006 
+ 00027874  0x00008d05 ifetch  0x00000001 , 0x00000006 
+ 00027875  0x00008d06 iforce  0x00000011 
+ 00027876  0x00008d07 call  0x00006ccc 
+ 00027877  0x00008d08 call  0x00006dc1 
+ 00027878  0x00008d0a force  0x00000000 , 0x00000038 
+ 00027879  0x00008d0b ifetch  0x00000001 , 0x00000013 
+ 00027880  0x00008d0c and_into  0x00000003 , 0x0000003f 
+ 00027881  0x00008d0d lshift16  0x0000003f , 0x0000002f 
+ 00027882  0x00008d0e set1  0x00000008 , 0x0000002f 
+ 00027883  0x00008d0f call  0x00006e31 
+ 00027884  0x00008d10 call  0x00006dc4 
+ 00027885  0x00008d12 copy  0x00000011 , 0x00000039 
+ 00027886  0x00008d13 add  0x00000013 , 0x00000002 , 0x00000006 
+ 00027887  0x00008d14 call  0x00006e10 
+ 00027888  0x00008d16 call  0x00006e1a 
+ 00027889  0x00008d17 call  0x00006dc4 
+ 00027890  0x00008d18 deposit  0x00000039 
+ 00027891  0x00008d19 branch  0x00006cf5 , 0x00000034 
+ 00027892  0x00008d1a branch  0x00006cf0 
+ 00027893  0x00008d1c force  0x0000000c , 0x00000038 
+ 00027894  0x00008d1d deposit  0x0000002f 
+ 00027895  0x00008d1e store  0x00000004 , 0x0000026f 
+ 00027896  0x00008d1f rtn 
+ 00027897  0x00008d22 increase  0x00000001 , 0x00000011 
+ 00027898  0x00008d23 call  0x00006cce 
+ 00027899  0x00008d24 copy  0x00000013 , 0x00000006 
+ 00027900  0x00008d25 call  0x00006e24 
+ 00027901  0x00008d26 call  0x00006dc7 
+ 00027902  0x00008d27 call  0x00006e43 
+ 00027903  0x00008d28 increase  0x00000010 , 0x00000013 
+ 00027904  0x00008d29 increase  0xfffffff0 , 0x00000012 
+ 00027905  0x00008d2a branch  0x00006cf9 , 0x00000002 
+ 00027906  0x00008d2b rtn 
+ 00027907  0x00008d32 call  0x00006db4 
+ 00027908  0x00008d33 bpatchx  0x00000071 , 0x0000402e 
+ 00027909  0x00008d34 arg  0x00000062 , 0x00000006 
+ 00027910  0x00008d35 call  0x00006e26 
+ 00027911  0x00008d37 jam  0x00000000 , 0x000080d5 
+ 00027912  0x00008d38 and  0x00000001 , 0x0000000f , 0x0000003f 
+ 00027913  0x00008d39 lshift3  0x0000003f , 0x0000003f 
+ 00027914  0x00008d3a ior  0x00000004 , 0x0000003f 
+ 00027915  0x00008d3b store  0x00000001 , 0x000080d6 
+ 00027916  0x00008d3c fetch  0x00000001 , 0x000041e4 
+ 00027917  0x00008d3d store  0x00000001 , 0x000080d7 
+ 00027918  0x00008d3f storer  0x00000013 , 0x00000002 , 0x000080d1 
+ 00027919  0x00008d40 storer  0x00000013 , 0x00000002 , 0x000080d3 
+ 00027920  0x00008d42 fetchr  0x00000011 , 0x00000002 , 0x000046b5 
+ 00027921  0x00008d43 fetcht  0x00000005 , 0x0000469f 
+ 00027922  0x00008d44 call  0x00006d25 
+ 00027923  0x00008d45 call  0x00006cc9 
+ 00027924  0x00008d46 jam  0x00000002 , 0x0000800a 
+ 00027925  0x00008d47 jam  0x00000003 , 0x0000800a 
+ 00027926  0x00008d49 fetch  0x00000002 , 0x000046b5 
+ 00027927  0x00008d4a store  0x00000002 , 0x000080da 
+ 00027928  0x00008d4b increase  0x00000004 , 0x0000003f 
+ 00027929  0x00008d4c store  0x00000002 , 0x000046b5 
+ 00027930  0x00008d4d copy  0x00000013 , 0x0000003f 
+ 00027931  0x00008d4e iadd  0x00000011 , 0x00000011 
+ 00027932  0x00008d4f call  0x00006dbb 
+ 00027933  0x00008d50 arg  0x0000000c , 0x00000038 
+ 00027934  0x00008d51 istorer  0x0000002f , 0x00000004 , 0x00000011 
+ 00027935  0x00008d52 storer  0x0000002f , 0x00000004 , 0x0000026f 
+ 00027936  0x00008d53 rtn 
+ 00027937  0x00008d56 fetch  0x00000005 , 0x0000469f 
+ 00027938  0x00008d57 increase  0x00000001 , 0x0000003f 
+ 00027939  0x00008d58 store  0x00000005 , 0x0000469f 
+ 00027940  0x00008d59 branch  0x00006d2b 
+ 00027941  0x00008d5d fetch  0x00000001 , 0x000041e4 
+ 00027942  0x00008d5e rtnne  0x00000001 
+ 00027943  0x00008d5f fetch  0x00000002 , 0x000046b5 
+ 00027944  0x00008d60 nrtn  0x00000034 
+ 00027945  0x00008d61 set1  0x00000024 , 0x00000002 
+ 00027946  0x00008d62 rtn 
+ 00027947  0x00008d66 fetch  0x00000001 , 0x000046a3 
+ 00027948  0x00008d67 and  0x0000003f , 0x0000000f , 0x0000003f 
+ 00027949  0x00008d68 or  0x0000003f , 0x00000020 , 0x0000003f 
+ 00027950  0x00008d69 store  0x00000001 , 0x000046a3 
+ 00027951  0x00008d6a rtn 
+ 00027952  0x00008d6d fetch  0x00000001 , 0x000046a8 
+ 00027953  0x00008d6e and  0x0000003f , 0x0000000f , 0x0000003f 
+ 00027954  0x00008d6f store  0x00000001 , 0x000046a8 
+ 00027955  0x00008d70 rtn 
+ 00027956  0x00008d73 copy  0x00000005 , 0x0000003f 
+ 00027957  0x00008d74 fetcht  0x00000002 , 0x000000ae 
+ 00027958  0x00008d75 increase  0x00000004 , 0x00000002 
+ 00027959  0x00008d76 isub  0x00000002 , 0x0000003f 
+ 00027960  0x00008d77 store  0x00000002 , 0x000046b7 
+ 00027961  0x00008d78 store  0x00000002 , 0x000080d1 
+ 00027962  0x00008d79 store  0x00000002 , 0x000080d3 
+ 00027963  0x00008d7b call  0x00007ecb 
+ 00027964  0x00008d7c call  0x00006db4 
+ 00027965  0x00008d7d arg  0x00000062 , 0x00000006 
+ 00027966  0x00008d7e call  0x00006e26 
+ 00027967  0x00008d80 jam  0x00000000 , 0x000080d5 
+ 00027968  0x00008d81 fetch  0x00000001 , 0x00000019 
+ 00027969  0x00008d82 and  0x0000003f , 0x0000000f , 0x0000003f 
+ 00027970  0x00008d83 lshift3  0x0000003f , 0x0000003f 
+ 00027971  0x00008d84 ior  0x00000004 , 0x0000003f 
+ 00027972  0x00008d85 store  0x00000001 , 0x000080d6 
+ 00027973  0x00008d86 fetch  0x00000001 , 0x000000e4 
+ 00027974  0x00008d87 and  0x0000003f , 0x00000003 , 0x0000003f 
+ 00027975  0x00008d88 store  0x00000001 , 0x000041e4 
+ 00027976  0x00008d89 store  0x00000001 , 0x000080d7 
+ 00027977  0x00008d8b fetchr  0x00000011 , 0x00000002 , 0x000000ae 
+ 00027978  0x00008d8c storer  0x00000011 , 0x00000002 , 0x000046b5 
+ 00027979  0x00008d8d fetch  0x00000002 , 0x000046b7 
+ 00027980  0x00008d8e iadd  0x00000011 , 0x00000006 
+ 00027981  0x00008d8f force  0x00000000 , 0x00000038 
+ 00027982  0x00008d90 ifetchr  0x0000002f , 0x00000004 , 0x00000006 
+ 00027983  0x00008d91 storer  0x0000002f , 0x00000004 , 0x00000273 
+ 00027984  0x00008d92 fetcht  0x00000005 , 0x000046a4 
+ 00027985  0x00008d93 call  0x00006d25 
+ 00027986  0x00008d94 call  0x00006cc9 
+ 00027987  0x00008d95 jam  0x00000006 , 0x0000800a 
+ 00027988  0x00008d96 jam  0x00000007 , 0x0000800a 
+ 00027989  0x00008d98 fetch  0x00000002 , 0x000000ae 
+ 00027990  0x00008d99 store  0x00000002 , 0x000080da 
+ 00027991  0x00008d9a call  0x00006dbb 
+ 00027992  0x00008d9b fetch  0x00000001 , 0x00008108 
+ 00027993  0x00008d9c rtnbit0  0x00000007 
+ 00027994  0x00008d9d branch  0x00007ec9 
+ 00027995  0x00008da1 rtnmark1  0x0000000f 
+ 00027996  0x00008da2 fetcht  0x00000004 , 0x00000273 
+ 00027997  0x00008da6 storet  0x00000004 , 0x000046a9 
+ 00027998  0x00008da7 fetch  0x00000005 , 0x000046a4 
+ 00027999  0x00008da8 increase  0x00000001 , 0x0000003f 
+ 00028000  0x00008da9 store  0x00000005 , 0x000046a4 
+ 00028001  0x00008daa branch  0x00006d30 
+ 00028002  0x00008daf call  0x00006db4 
+ 00028003  0x00008db0 jam  0x00000000 , 0x000080d5 
+ 00028004  0x00008db1 jam  0x00000001 , 0x000080d6 
+ 00028005  0x00008db2 fetch  0x00000001 , 0x0000016b 
+ 00028006  0x00008db3 and_into  0x00000003 , 0x0000003f 
+ 00028007  0x00008db4 store  0x00000001 , 0x000080d7 
+ 00028008  0x00008db6 setarg  0x0000016d 
+ 00028009  0x00008db7 store  0x00000002 , 0x000080d1 
+ 00028010  0x00008db8 store  0x00000002 , 0x000080d3 
+ 00028011  0x00008dba fetchr  0x00000011 , 0x00000001 , 0x0000016c 
+ 00028012  0x00008dbb increase  0xfffffffc , 0x00000011 
+ 00028013  0x00008dbc nbranch  0x00007ecf , 0x00000002 
+ 00028014  0x00008dbd storer  0x00000011 , 0x00000001 , 0x0000016c 
+ 00028015  0x00008dbe setarg  0x0000016d 
+ 00028016  0x00008dbf iadd  0x00000011 , 0x00000006 
+ 00028017  0x00008dc0 force  0x00000000 , 0x00000038 
+ 00028018  0x00008dc1 ifetchr  0x0000002f , 0x00000004 , 0x00000006 
+ 00028019  0x00008dc2 storer  0x0000002f , 0x00000004 , 0x00000273 
+ 00028020  0x00008dc3 fetcht  0x00000005 , 0x000046a4 
+ 00028021  0x00008dc4 call  0x00006cc9 
+ 00028022  0x00008dc5 jam  0x00000006 , 0x0000800a 
+ 00028023  0x00008dc6 jam  0x00000007 , 0x0000800a 
+ 00028024  0x00008dc7 fetch  0x00000001 , 0x0000016c 
+ 00028025  0x00008dc8 store  0x00000002 , 0x000080da 
+ 00028026  0x00008dc9 call  0x00006dbb 
+ 00028027  0x00008dca fetch  0x00000001 , 0x00008108 
+ 00028028  0x00008dcb bbit0  0x00000007 , 0x00007ecf 
+ 00028029  0x00008dcc fetcht  0x00000004 , 0x00000273 
+ 00028030  0x00008dcd fetch  0x00000004 , 0x000046a9 
+ 00028031  0x00008dce isub  0x00000002 , 0x0000003f 
+ 00028032  0x00008dcf rtn  0x00000034 
+ 00028033  0x00008dd0 storet  0x00000004 , 0x000046a9 
+ 00028034  0x00008dd1 fetch  0x00000005 , 0x000046a4 
+ 00028035  0x00008dd2 increase  0x00000001 , 0x0000003f 
+ 00028036  0x00008dd3 set1  0x00000027 , 0x0000003f 
+ 00028037  0x00008dd4 store  0x00000005 , 0x000046a4 
+ 00028038  0x00008dd5 force  0x00000000 , 0x0000003f 
+ 00028039  0x00008dd6 rtn 
+ 00028040  0x00008dda call  0x00006d8f 
+ 00028041  0x00008ddb setarg  0x000041f7 
+ 00028042  0x00008ddc iadd  0x00000011 , 0x00000011 
+ 00028043  0x00008ddd call  0x00006dbb 
+ 00028044  0x00008dde arg  0x0000000c , 0x00000038 
+ 00028045  0x00008ddf istorer  0x0000002f , 0x00000004 , 0x00000011 
+ 00028046  0x00008de0 rtn 
+ 00028047  0x00008de4 call  0x00006db4 
+ 00028048  0x00008de5 bpatchx  0x00000072 , 0x0000402e 
+ 00028049  0x00008de6 jam  0x00000000 , 0x000080d5 
+ 00028050  0x00008de7 jam  0x00000001 , 0x000080d6 
+ 00028051  0x00008de8 fetch  0x00000001 , 0x000041f5 
+ 00028052  0x00008de9 and_into  0x00000003 , 0x0000003f 
+ 00028053  0x00008dea store  0x00000001 , 0x000080d7 
+ 00028054  0x00008deb fetch  0x00000002 , 0x0000097b 
+ 00028055  0x00008dec store  0x00000002 , 0x000080d1 
+ 00028056  0x00008ded setarg  0x000041f7 
+ 00028057  0x00008dee store  0x00000002 , 0x000080d3 
+ 00028058  0x00008df0 fetchr  0x00000011 , 0x00000001 , 0x000041f6 
+ 00028059  0x00008df1 fetcht  0x00000005 , 0x0000469f 
+ 00028060  0x00008df2 call  0x00006cc9 
+ 00028061  0x00008df3 jam  0x00000002 , 0x0000800a 
+ 00028062  0x00008df4 jam  0x00000003 , 0x0000800a 
+ 00028063  0x00008df6 fetch  0x00000001 , 0x000041f6 
+ 00028064  0x00008df7 store  0x00000002 , 0x000080da 
+ 00028065  0x00008df8 increase  0x00000004 , 0x0000003f 
+ 00028066  0x00008df9 store  0x00000001 , 0x000041f6 
+ 00028067  0x00008dfa fetch  0x00000005 , 0x0000469f 
+ 00028068  0x00008dfb increase  0x00000001 , 0x0000003f 
+ 00028069  0x00008dfc set0  0x00000027 , 0x0000003f 
+ 00028070  0x00008dfd store  0x00000005 , 0x0000469f 
+ 00028071  0x00008dfe rtn 
+ 00028072  0x00008e02 fetch  0x00000002 , 0x0000811a 
+ 00028073  0x00008e03 isub  0x00000002 , 0x0000003e 
+ 00028074  0x00008e04 rtn  0x00000005 
+ 00028075  0x00008e05 nrtn  0x00000034 
+ 00028076  0x00008e07 branch  0x00006da8 
+ 00028077  0x00008e0a fetch  0x00000001 , 0x00008108 
+ 00028078  0x00008e0b bbit0  0x00000006 , 0x0000137c 
+ 00028079  0x00008e0d setarg  0x000041f7 
+ 00028080  0x00008e0e iadd  0x00000002 , 0x00000005 
+ 00028081  0x00008e0f arg  0x0000000c , 0x00000038 
+ 00028082  0x00008e10 istorer  0x0000002f , 0x00000004 , 0x00000005 
+ 00028083  0x00008e11 branch  0x00006dbd 
+ 00028084  0x00008e14 bpatchx  0x00000073 , 0x0000402e 
+ 00028085  0x00008e15 force  0x0000000c , 0x00000038 
+ 00028086  0x00008e16 call  0x00006e37 
+ 00028087  0x00008e17 call  0x00006e36 
+ 00028088  0x00008e18 setarg  0x00000000 
+ 00028089  0x00008e19 store  0x00000002 , 0x000080da 
+ 00028090  0x00008e1a rtn 
+ 00028091  0x00008e1d fetch  0x00000001 , 0x00008108 
+ 00028092  0x00008e1e bbit0  0x00000006 , 0x00006dbb 
+ 00028093  0x00008e20 jam  0x00000000 , 0x0000800a 
+ 00028094  0x00008e21 rtn 
+ 00028095  0x00008e25 nbranch  0x00006dbf , 0x00000037 
+ 00028096  0x00008e26 rtn 
+ 00028097  0x00008e29 force  0x00000030 , 0x00000036 
+ 00028098  0x00008e2a force  0x00000000 , 0x00000036 
+ 00028099  0x00008e2b branch  0x00006dbf 
+ 00028100  0x00008e2e force  0x00000032 , 0x00000036 
+ 00028101  0x00008e2f force  0x00000002 , 0x00000036 
+ 00028102  0x00008e30 branch  0x00006dbf 
+ 00028103  0x00008e33 force  0x00000034 , 0x00000036 
+ 00028104  0x00008e34 force  0x00000004 , 0x00000036 
+ 00028105  0x00008e35 branch  0x00006dbf 
+ 00028106  0x00008e39 force  0x00000001 , 0x00000036 
+ 00028107  0x00008e3a force  0x00000000 , 0x00000036 
+ 00028108  0x00008e3b rtn 
+ 00028109  0x00008e3d force  0x00000000 , 0x00000038 
+ 00028110  0x00008e3e fetch  0x00000004 , 0x00000277 
+ 00028111  0x00008e3f iforce  0x0000002f 
+ 00028112  0x00008e40 increase  0x00000001 , 0x00000038 
+ 00028113  0x00008e41 ifetch  0x00000004 , 0x00000006 
+ 00028114  0x00008e42 iforce  0x0000002f 
+ 00028115  0x00008e43 increase  0x00000001 , 0x00000038 
+ 00028116  0x00008e44 fetch  0x00000004 , 0x00004337 
+ 00028117  0x00008e45 iforce  0x0000002f 
+ 00028118  0x00008e46 increase  0x00000001 , 0x00000038 
+ 00028119  0x00008e47 ifetch  0x00000004 , 0x00000006 
+ 00028120  0x00008e48 iforce  0x0000002f 
+ 00028121  0x00008e49 increase  0x00000001 , 0x00000038 
+ 00028122  0x00008e4a call  0x00006e37 
+ 00028123  0x00008e4b increase  0xfffffffc , 0x00000038 
+ 00028124  0x00008e4c fetch  0x00000004 , 0x0000439e 
+ 00028125  0x00008e4d copy  0x0000003f , 0x0000002f 
+ 00028126  0x00008e4e increase  0x00000004 , 0x00000038 
+ 00028127  0x00008e4f force  0x00000038 , 0x00000036 
+ 00028128  0x00008e50 force  0x00000008 , 0x00000036 
+ 00028129  0x00008e51 branch  0x00006dbf 
+ 00028130  0x00008e55 bpatchx  0x00000074 , 0x0000402e 
+ 00028131  0x00008e56 fetch  0x00000006 , 0x0000437a 
+ 00028132  0x00008e57 fetcht  0x00000006 , 0x00000297 
+ 00028133  0x00008e58 branch  0x00006de8 , 0x00000029 
+ 00028134  0x00008e59 fetch  0x00000006 , 0x00000297 
+ 00028135  0x00008e5a fetcht  0x00000006 , 0x0000437a 
+ 00028136  0x00008e5c force  0x00000008 , 0x00000038 
+ 00028137  0x00008e5d copy  0x00000002 , 0x0000002f 
+ 00028138  0x00008e5e increase  0x00000001 , 0x00000038 
+ 00028139  0x00008e5f rshift32  0x00000002 , 0x0000002f 
+ 00028140  0x00008e60 lshift16  0x0000003f , 0x0000003f 
+ 00028141  0x00008e61 ior  0x0000002f , 0x0000002f 
+ 00028142  0x00008e62 increase  0x00000001 , 0x00000038 
+ 00028143  0x00008e63 rshift32  0x0000003f , 0x0000002f 
+ 00028144  0x00008e64 increase  0x00000001 , 0x00000038 
+ 00028145  0x00008e65 force  0x00000000 , 0x0000002f 
+ 00028146  0x00008e66 force  0x00000000 , 0x0000003f 
+ 00028147  0x00008e67 fetch  0x00000001 , 0x0000436a 
+ 00028148  0x00008e68 fetcht  0x00000001 , 0x0000442b 
+ 00028149  0x00008e69 nbranch  0x00006df8 , 0x00000029 
+ 00028150  0x00008e6b fetch  0x00000001 , 0x00004371 
+ 00028151  0x00008e6c fetcht  0x00000001 , 0x0000436a 
+ 00028152  0x00008e6e store  0x00000001 , 0x00004347 
+ 00028153  0x00008e6f storet  0x00000001 , 0x00004348 
+ 00028154  0x00008e70 force  0x00000000 , 0x00000038 
+ 00028155  0x00008e71 arg  0x00004347 , 0x00000012 
+ 00028156  0x00008e72 force  0x00000004 , 0x00000039 
+ 00028157  0x00008e74 ifetch  0x00000004 , 0x00000011 
+ 00028158  0x00008e75 ifetcht  0x00000004 , 0x00000012 
+ 00028159  0x00008e76 ixor  0x00000002 , 0x0000002f 
+ 00028160  0x00008e77 increase  0x00000001 , 0x00000038 
+ 00028161  0x00008e78 increase  0x00000004 , 0x00000011 
+ 00028162  0x00008e79 increase  0x00000004 , 0x00000012 
+ 00028163  0x00008e7a loop  0x00006dfd 
+ 00028164  0x00008e7b call  0x00006e37 
+ 00028165  0x00008e7c increase  0xfffffffc , 0x00000038 
+ 00028166  0x00008e7d fetch  0x00000004 , 0x0000439e 
+ 00028167  0x00008e7e copy  0x0000003f , 0x0000002f 
+ 00028168  0x00008e7f increase  0x00000004 , 0x00000038 
+ 00028169  0x00008e80 force  0x00000038 , 0x00000036 
+ 00028170  0x00008e81 force  0x0000000c , 0x00000036 
+ 00028171  0x00008e82 call  0x00006dbf 
+ 00028172  0x00008e84 call  0x00006e36 
+ 00028173  0x00008e85 force  0x0000003a , 0x00000036 
+ 00028174  0x00008e86 force  0x00000008 , 0x00000036 
+ 00028175  0x00008e87 branch  0x00006dbf 
+ 00028176  0x00008e8a compare  0x00000000 , 0x00000039 , 0x00000003 
+ 00028177  0x00008e8b rtn  0x00000001 
+ 00028178  0x00008e8c deposit  0x00000006 
+ 00028179  0x00008e8d iadd  0x00000039 , 0x00000005 
+ 00028180  0x00008e8e force  0x00000000 , 0x0000003f 
+ 00028181  0x00008e90 istore  0x00000001 , 0x00000005 
+ 00028182  0x00008e91 increase  0x00000001 , 0x00000039 
+ 00028183  0x00008e92 compare  0x00000000 , 0x00000039 , 0x00000003 
+ 00028184  0x00008e93 rtn  0x00000001 
+ 00028185  0x00008e94 branch  0x00006e15 
+ 00028186  0x00008e97 force  0x00000000 , 0x00000038 
+ 00028187  0x00008e99 deposit  0x00000039 
+ 00028188  0x00008e9a branch  0x00006e1f , 0x00000034 
+ 00028189  0x00008e9b ifetch  0x00000004 , 0x00000006 
+ 00028190  0x00008e9c increase  0xfffffffc , 0x00000039 
+ 00028191  0x00008e9e iforce  0x0000002f 
+ 00028192  0x00008e9f increase  0x00000001 , 0x00000038 
+ 00028193  0x00008ea0 compare  0x00000004 , 0x00000038 , 0x0000000f 
+ 00028194  0x00008ea1 rtn  0x00000001 
+ 00028195  0x00008ea2 branch  0x00006e1b 
+ 00028196  0x00008ea5 force  0x00000008 , 0x00000038 
+ 00028197  0x00008ea6 branch  0x00006e29 
+ 00028198  0x00008ea8 force  0x00000004 , 0x00000038 
+ 00028199  0x00008ea9 branch  0x00006e29 
+ 00028200  0x00008eab force  0x00000000 , 0x00000038 
+ 00028201  0x00008ead force  0x00000004 , 0x00000039 
+ 00028202  0x00008eaf ifetch  0x00000004 , 0x00000006 
+ 00028203  0x00008eb0 iforce  0x0000002f 
+ 00028204  0x00008eb1 increase  0x00000001 , 0x00000038 
+ 00028205  0x00008eb2 loop  0x00006e2a 
+ 00028206  0x00008eb3 rtn 
+ 00028207  0x00008eb6 arg  0x000002c7 , 0x00000006 
+ 00028208  0x00008eb7 branch  0x00006e26 
+ 00028209  0x00008eba force  0x00000004 , 0x00000039 
+ 00028210  0x00008ebb branch  0x00006e39 
+ 00028211  0x00008ebe force  0x00000000 , 0x00000038 
+ 00028212  0x00008ebf force  0x00000010 , 0x00000039 
+ 00028213  0x00008ec0 branch  0x00006e38 
+ 00028214  0x00008ec3 force  0x00000000 , 0x00000038 
+ 00028215  0x00008ec5 force  0x00000004 , 0x00000039 
+ 00028216  0x00008ec7 force  0x00000000 , 0x0000002f 
+ 00028217  0x00008ec9 increase  0x00000001 , 0x00000038 
+ 00028218  0x00008eca loop  0x00006e38 
+ 00028219  0x00008ecb rtn 
+ 00028220  0x00008ece force  0x0000000c , 0x00000038 
+ 00028221  0x00008ecf force  0x00000004 , 0x00000039 
+ 00028222  0x00008ed1 deposit  0x0000002f 
+ 00028223  0x00008ed2 istore  0x00000004 , 0x00000005 
+ 00028224  0x00008ed3 increase  0x00000001 , 0x00000038 
+ 00028225  0x00008ed4 loop  0x00006e3e 
+ 00028226  0x00008ed5 rtn 
+ 00028227  0x00008ed8 force  0x0000000c , 0x00000038 
+ 00028228  0x00008ed9 copy  0x00000013 , 0x00000005 
+ 00028229  0x00008eda add  0x00000012 , 0x00000001 , 0x00000039 
+ 00028230  0x00008edb sub  0x00000039 , 0x0000000f , 0x0000003e 
+ 00028231  0x00008edc branch  0x00006e49 , 0x00000002 
+ 00028232  0x00008edd force  0x00000010 , 0x00000039 
+ 00028233  0x00008edf deposit  0x0000002f 
+ 00028234  0x00008ee0 sub  0x00000039 , 0x00000003 , 0x0000003e 
+ 00028235  0x00008ee1 branch  0x00006e51 , 0x00000002 
+ 00028236  0x00008ee2 istore  0x00000004 , 0x00000005 
+ 00028237  0x00008ee3 increase  0xfffffffc , 0x00000039 
+ 00028238  0x00008ee4 rtn  0x00000005 
+ 00028239  0x00008ee5 increase  0x00000001 , 0x00000038 
+ 00028240  0x00008ee6 branch  0x00006e49 
+ 00028241  0x00008ee8 istore  0x00000001 , 0x00000005 
+ 00028242  0x00008ee9 rshift8  0x0000003f , 0x0000003f 
+ 00028243  0x00008eea loop  0x00006e51 
+ 00028244  0x00008eeb rtn 
+ 00028245  0x00008eef force  0x0000000c , 0x00000038 
+ 00028246  0x00008ef0 force  0x00000004 , 0x00000039 
+ 00028247  0x00008ef2 ifetch  0x00000004 , 0x00000006 
+ 00028248  0x00008ef3 isub  0x0000002f , 0x0000003e 
+ 00028249  0x00008ef4 nrtn  0x00000005 
+ 00028250  0x00008ef5 increase  0x00000001 , 0x00000038 
+ 00028251  0x00008ef6 loop  0x00006e57 
+ 00028252  0x00008ef7 force  0x00000000 , 0x0000003e 
+ 00028253  0x00008ef8 rtn 
+ 00028254  0x00008efb fetch  0x00000001 , 0x00008050 
+ 00028255  0x00008efc set0  0x00000000 , 0x0000003f 
+ 00028256  0x00008efd store  0x00000001 , 0x00008050 
+ 00028257  0x00008efe rtn 
+ 00028258  0x00008f01 fetch  0x00000001 , 0x00008050 
+ 00028259  0x00008f02 set1  0x00000000 , 0x0000003f 
+ 00028260  0x00008f03 store  0x00000001 , 0x00008050 
+ 00028261  0x00008f04 rtn 
+ 00028262  0x00008f0d arg  0x00000748 , 0x00000005 
+ 00028263  0x00008f0e setsect  0x00000000 , 0x0003ffff 
+ 00028264  0x00008f0f setsect  0x00000001 , 0x0003ffff 
+ 00028265  0x00008f10 setsect  0x00000002 , 0x0003ffff 
+ 00028266  0x00008f11 setsect  0x00000003 , 0x0003fbff 
+ 00028267  0x00008f12 istore  0x00000009 , 0x00000005 
+ 00028268  0x00008f13 setsect  0x00000000 , 0x0003ffff 
+ 00028269  0x00008f14 setsect  0x00000001 , 0x0003ffff 
+ 00028270  0x00008f15 setsect  0x00000002 , 0x0003ffff 
+ 00028271  0x00008f16 setsect  0x00000003 , 0x0003ffff 
+ 00028272  0x00008f17 istore  0x00000009 , 0x00000005 
+ 00028273  0x00008f18 setsect  0x00000000 , 0x0003ffff 
+ 00028274  0x00008f19 setsect  0x00000001 , 0x0003ffff 
+ 00028275  0x00008f1a setsect  0x00000002 , 0x0003cfff 
+ 00028276  0x00008f1b setsect  0x00000003 , 0x0003ffff 
+ 00028277  0x00008f1c istore  0x00000009 , 0x00000005 
+ 00028278  0x00008f1d setsect  0x00000000 , 0x0003ffff 
+ 00028279  0x00008f1e setsect  0x00000001 , 0x0003ffff 
+ 00028280  0x00008f1f setsect  0x00000002 , 0x0003ffef 
+ 00028281  0x00008f20 setsect  0x00000003 , 0x0003ffff 
+ 00028282  0x00008f21 istore  0x00000009 , 0x00000005 
+ 00028283  0x00008f22 setsect  0x00000000 , 0x0003ffff 
+ 00028284  0x00008f23 setsect  0x00000001 , 0x0003ffff 
+ 00028285  0x00008f24 setsect  0x00000002 , 0x0003ffff 
+ 00028286  0x00008f25 setsect  0x00000003 , 0x0003ffff 
+ 00028287  0x00008f26 istore  0x00000009 , 0x00000005 
+ 00028288  0x00008f27 setsect  0x00000000 , 0x0003ffff 
+ 00028289  0x00008f28 setsect  0x00000001 , 0x00026c7f 
+ 00028290  0x00008f29 setsect  0x00000002 , 0x0000146b 
+ 00028291  0x00008f2a setsect  0x00000003 , 0x00037bb3 
+ 00028292  0x00008f2b istore  0x00000009 , 0x00000005 
+ 00028293  0x00008f2c setsect  0x00000000 , 0x0001feb8 
+ 00028294  0x00008f2d setsect  0x00000001 , 0x00010c12 
+ 00028295  0x00008f2e setsect  0x00000002 , 0x0002b722 
+ 00028296  0x00008f2f setsect  0x00000003 , 0x00029fa6 
+ 00028297  0x00008f30 istore  0x00000009 , 0x00000005 
+ 00028298  0x00008f31 setsect  0x00000000 , 0x0000e70f 
+ 00028299  0x00008f32 setsect  0x00000001 , 0x00016720 
+ 00028300  0x00008f33 setsect  0x00000002 , 0x0000519e 
+ 00028301  0x00008f34 setsect  0x00000003 , 0x00019084 
+ 00028302  0x00008f35 istore  0x00000009 , 0x00000005 
+ 00028303  0x00008f36 setsect  0x00000000 , 0x00031012 
+ 00028304  0x00008f37 setsect  0x00000001 , 0x000360bf 
+ 00028305  0x00008f38 setsect  0x00000002 , 0x0003f0af 
+ 00028306  0x00008f39 setsect  0x00000003 , 0x000003d3 
+ 00028307  0x00008f3a istore  0x00000009 , 0x00000005 
+ 00028308  0x00008f3b setsect  0x00000000 , 0x0003a188 
+ 00028309  0x00008f3c setsect  0x00000001 , 0x00003ad0 
+ 00028310  0x00008f3d setsect  0x00000002 , 0x0003cbf2 
+ 00028311  0x00008f3e setsect  0x00000003 , 0x000243d9 
+ 00028312  0x00008f3f istore  0x00000009 , 0x00000005 
+ 00028313  0x00008f40 setsect  0x00000000 , 0x0002b030 
+ 00028314  0x00008f41 setsect  0x00000001 , 0x00036a03 
+ 00028315  0x00008f42 setsect  0x00000002 , 0x00011188 
+ 00028316  0x00008f43 setsect  0x00000003 , 0x0001e520 
+ 00028317  0x00008f44 istore  0x00000009 , 0x00000005 
+ 00028318  0x00008f45 setsect  0x00000000 , 0x0003a11e 
+ 00028319  0x00008f46 setsect  0x00000001 , 0x0000fe5d 
+ 00028320  0x00008f47 setsect  0x00000002 , 0x0000dd57 
+ 00028321  0x00008f48 setsect  0x00000003 , 0x0001ac93 
+ 00028322  0x00008f49 istore  0x00000009 , 0x00000005 
+ 00028323  0x00008f4a setsect  0x00000000 , 0x000011ed 
+ 00028324  0x00008f4b setsect  0x00000001 , 0x000218c4 
+ 00028325  0x00008f4c setsect  0x00000002 , 0x00008da7 
+ 00028326  0x00008f4d setsect  0x00000003 , 0x000257ff 
+ 00028327  0x00008f4e istore  0x00000009 , 0x00000005 
+ 00028328  0x00008f4f setsect  0x00000000 , 0x0003192b 
+ 00028329  0x00008f50 setsect  0x00000001 , 0x00034641 
+ 00028330  0x00008f51 setsect  0x00000002 , 0x0001be0c 
+ 00028331  0x00008f52 setsect  0x00000003 , 0x000366ad 
+ 00028332  0x00008f53 istore  0x00000009 , 0x00000005 
+ 00028333  0x00008f54 setsect  0x00000000 , 0x00001f83 
+ 00028334  0x00008f55 setsect  0x00000001 , 0x00015a23 
+ 00028335  0x00008f56 setsect  0x00000002 , 0x0003f9b0 
+ 00028336  0x00008f57 setsect  0x00000003 , 0x00003949 
+ 00028337  0x00008f58 istore  0x00000009 , 0x00000005 
+ 00028338  0x00008f59 setsect  0x00000000 , 0x00013a51 
+ 00028339  0x00008f5a setsect  0x00000001 , 0x000153fd 
+ 00028340  0x00008f5b setsect  0x00000002 , 0x0003372a 
+ 00028341  0x00008f5c setsect  0x00000003 , 0x0000f1bb 
+ 00028342  0x00008f5d istore  0x00000009 , 0x00000005 
+ 00028343  0x00008f5e setsect  0x00000000 , 0x0003ae85 
+ 00028344  0x00008f5f setsect  0x00000001 , 0x0001eed9 
+ 00028345  0x00008f60 setsect  0x00000002 , 0x00009e66 
+ 00028346  0x00008f61 setsect  0x00000003 , 0x000001a8 
+ 00028347  0x00008f62 istore  0x00000008 , 0x00000005 
+ 00028348  0x00008f63 rtn 
+ 00028349  0x00008f6c arg  0x000007e0 , 0x00000005 
+ 00028350  0x00008f6d setsect  0x00000000 , 0x0003ffff 
+ 00028351  0x00008f6e setsect  0x00000001 , 0x0003ffff 
+ 00028352  0x00008f6f setsect  0x00000002 , 0x0003ffff 
+ 00028353  0x00008f70 setsect  0x00000003 , 0x0003ffff 
+ 00028354  0x00008f71 istore  0x00000009 , 0x00000005 
+ 00028355  0x00008f72 setsect  0x00000000 , 0x0003ffff 
+ 00028356  0x00008f73 setsect  0x00000001 , 0x0000003f 
+ 00028357  0x00008f74 setsect  0x00000002 , 0x00000000 
+ 00028358  0x00008f75 setsect  0x00000003 , 0x00000000 
+ 00028359  0x00008f76 istore  0x00000009 , 0x00000005 
+ 00028360  0x00008f77 setsect  0x00000000 , 0x00000000 
+ 00028361  0x00008f78 setsect  0x00000001 , 0x00000000 
+ 00028362  0x00008f79 setsect  0x00000002 , 0x00001000 
+ 00028363  0x00008f7a setsect  0x00000003 , 0x00000000 
+ 00028364  0x00008f7b istore  0x00000009 , 0x00000005 
+ 00028365  0x00008f7c setsect  0x00000000 , 0x0003ff00 
+ 00028366  0x00008f7d setsect  0x00000001 , 0x0003ffff 
+ 00028367  0x00008f7e setsect  0x00000002 , 0x0003ffcf 
+ 00028368  0x00008f7f setsect  0x00000003 , 0x0003ffff 
+ 00028369  0x00008f80 istore  0x00000009 , 0x00000005 
+ 00028370  0x00008f81 setsect  0x00000000 , 0x0003ffff 
+ 00028371  0x00008f82 setsect  0x00000001 , 0x0003ffff 
+ 00028372  0x00008f83 setsect  0x00000002 , 0x0003ffff 
+ 00028373  0x00008f84 setsect  0x00000003 , 0x000003ff 
+ 00028374  0x00008f85 istore  0x00000009 , 0x00000005 
+ 00028375  0x00008f86 setsect  0x00000000 , 0x00000000 
+ 00028376  0x00008f87 setsect  0x00000001 , 0x00000000 
+ 00028377  0x00008f88 setsect  0x00000002 , 0x00000000 
+ 00028378  0x00008f89 setsect  0x00000003 , 0x00000000 
+ 00028379  0x00008f8a istore  0x00000009 , 0x00000005 
+ 00028380  0x00008f8b setsect  0x00000000 , 0x00010000 
+ 00028381  0x00008f8c setsect  0x00000001 , 0x00000000 
+ 00028382  0x00008f8d setsect  0x00000002 , 0x0003f000 
+ 00028383  0x00008f8e setsect  0x00000003 , 0x0003ffff 
+ 00028384  0x00008f8f istore  0x00000009 , 0x00000005 
+ 00028385  0x00008f90 setsect  0x00000000 , 0x000296ff 
+ 00028386  0x00008f91 setsect  0x00000001 , 0x00022630 
+ 00028387  0x00008f92 setsect  0x00000002 , 0x0003945d 
+ 00028388  0x00008f93 setsect  0x00000003 , 0x0003d284 
+ 00028389  0x00008f94 istore  0x00000009 , 0x00000005 
+ 00028390  0x00008f95 setsect  0x00000000 , 0x000333a0 
+ 00028391  0x00008f96 setsect  0x00000001 , 0x00004b7a 
+ 00028392  0x00008f97 setsect  0x00000002 , 0x000037d8 
+ 00028393  0x00008f98 setsect  0x00000003 , 0x0003c9dc 
+ 00028394  0x00008f99 istore  0x00000009 , 0x00000005 
+ 00028395  0x00008f9a setsect  0x00000000 , 0x0003a440 
+ 00028396  0x00008f9b setsect  0x00000001 , 0x0001b958 
+ 00028397  0x00008f9c setsect  0x00000002 , 0x00038bce 
+ 00028398  0x00008f9d setsect  0x00000003 , 0x0001091f 
+ 00028399  0x00008f9e istore  0x00000009 , 0x00000005 
+ 00028400  0x00008f9f setsect  0x00000000 , 0x0002e12c 
+ 00028401  0x00008fa0 setsect  0x00000001 , 0x0001f47c 
+ 00028402  0x00008fa1 setsect  0x00000002 , 0x000356b1 
+ 00028403  0x00008fa2 setsect  0x00000003 , 0x0002fd47 
+ 00028404  0x00008fa3 istore  0x00000009 , 0x00000005 
+ 00028405  0x00008fa4 setsect  0x00000000 , 0x00006837 
+ 00028406  0x00008fa5 setsect  0x00000001 , 0x0002ed90 
+ 00028407  0x00008fa6 setsect  0x00000002 , 0x0001ecec 
+ 00028408  0x00008fa7 setsect  0x00000003 , 0x0001acc5 
+ 00028409  0x00008fa8 istore  0x00000009 , 0x00000005 
+ 00028410  0x00008fa9 setsect  0x00000000 , 0x00023357 
+ 00028411  0x00008faa setsect  0x00000001 , 0x00018af3 
+ 00028412  0x00008fab setsect  0x00000002 , 0x0000f9e1 
+ 00028413  0x00008fac setsect  0x00000003 , 0x000129f0 
+ 00028414  0x00008fad istore  0x00000009 , 0x00000005 
+ 00028415  0x00008fae setsect  0x00000000 , 0x0002e7eb 
+ 00028416  0x00008faf setsect  0x00000001 , 0x0003e6e3 
+ 00028417  0x00008fb0 setsect  0x00000002 , 0x0003e1a7 
+ 00028418  0x00008fb1 setsect  0x00000003 , 0x00010b8b 
+ 00028419  0x00008fb2 istore  0x00000009 , 0x00000005 
+ 00028420  0x00008fb3 setsect  0x00000000 , 0x00024fe3 
+ 00028421  0x00008fb4 setsect  0x00000001 , 0x000020ef 
+ 00028422  0x00008fb5 setsect  0x00000002 , 0x0001b5a6 
+ 00028423  0x00008fb6 setsect  0x00000003 , 0x0000dc2f 
+ 00028424  0x00008fb7 istore  0x00000009 , 0x00000005 
+ 00028425  0x00008fb8 setsect  0x00000000 , 0x00013860 
+ 00028426  0x00008fb9 setsect  0x00000001 , 0x0002bd69 
+ 00028427  0x00008fba setsect  0x00000002 , 0x0000391a 
+ 00028428  0x00008fbb setsect  0x00000003 , 0x0001b222 
+ 00028429  0x00008fbc istore  0x00000009 , 0x00000005 
+ 00028430  0x00008fbd rtn 
+ 00028431  0x00008fc1 fetch  0x00000001 , 0x00004767 
+ 00028432  0x00008fc2 nbranch  0x00006f2a , 0x00000034 
+ 00028433  0x00008fc3 branch  0x000075ac 
+ 00028434  0x00008fc6 bpatchx  0x00000075 , 0x0000402e 
+ 00028435  0x00008fc7 fetch  0x00000001 , 0x00004767 
+ 00028436  0x00008fc8 rtn  0x00000034 
+ 00028437  0x00008fc9 fetch  0x00000001 , 0x000046bc 
+ 00028438  0x00008fca rtnne  0x00000001 
+ 00028439  0x00008fcb fetch  0x00000001 , 0x000046bb 
+ 00028440  0x00008fcc rtn  0x00000034 
+ 00028441  0x00008fcd fetch  0x00000001 , 0x000046be 
+ 00028442  0x00008fce rtneq  0x00000003 
+ 00028443  0x00008fcf fetch  0x00000002 , 0x0000478f 
+ 00028444  0x00008fd0 bbit1  0x00000000 , 0x00006f20 
+ 00028445  0x00008fd1 fetch  0x00000001 , 0x000046bd 
+ 00028446  0x00008fd2 beq  0x00000000 , 0x000075ac 
+ 00028447  0x00008fd3 rtn 
+ 00028448  0x00008fd5 jam  0x00000000 , 0x000046bd 
+ 00028449  0x00008fd6 rtn 
+ 00028450  0x00008fda fetch  0x00000001 , 0x000046bb 
+ 00028451  0x00008fdb set1  0x00000001 , 0x0000003f 
+ 00028452  0x00008fdc store  0x00000001 , 0x000046bb 
+ 00028453  0x00008fdd rtn 
+ 00028454  0x00008fe0 fetch  0x00000001 , 0x000046bb 
+ 00028455  0x00008fe1 set0  0x00000001 , 0x0000003f 
+ 00028456  0x00008fe2 store  0x00000001 , 0x000046bb 
+ 00028457  0x00008fe3 rtn 
+ 00028458  0x00008fe7 bpatchx  0x00000076 , 0x0000402e 
+ 00028459  0x00008fe8 fetch  0x00000001 , 0x00004767 
+ 00028460  0x00008fe9 nbranch  0x00007066 , 0x00000034 
+ 00028461  0x00008feb call  0x00006f37 
+ 00028462  0x00008fec jam  0x00000000 , 0x000046bc 
+ 00028463  0x00008fed jam  0x00000000 , 0x00000874 
+ 00028464  0x00008fee rtn 
+ 00028465  0x00008ff1 fetch  0x00000001 , 0x00004767 
+ 00028466  0x00008ff2 rtn  0x00000034 
+ 00028467  0x00008ff3 fetch  0x00000001 , 0x000046bc 
+ 00028468  0x00008ff4 rtneq  0x00000001 
+ 00028469  0x00008ff5 call  0x000070d7 
+ 00028470  0x00008ff6 branch  0x00006f31 
+ 00028471  0x00008ff9 bpatchx  0x00000077 , 0x0000402e 
+ 00028472  0x00008ffa setarg  0x00000880 
+ 00028473  0x00008ffb arg  0x00000870 , 0x00000005 
+ 00028474  0x00008ffc isub  0x00000005 , 0x00000039 
+ 00028475  0x00008ffd call  0x00007d9b 
+ 00028476  0x00008ffe setarg  0x00004773 
+ 00028477  0x00008fff arg  0x0000476b , 0x00000005 
+ 00028478  0x00009000 isub  0x00000005 , 0x00000039 
+ 00028479  0x00009001 branch  0x00007d9b 
+ 00028480  0x00009004 jam  0x00000001 , 0x00000872 
+ 00028481  0x00009005 fetch  0x00000001 , 0x00004648 
+ 00028482  0x00009006 beq  0x00000002 , 0x00006f45 
+ 00028483  0x00009007 beq  0x00000001 , 0x00006f50 
+ 00028484  0x00009008 rtn 
+ 00028485  0x0000900b fetch  0x00000001 , 0x000046be 
+ 00028486  0x0000900c beq  0x00000003 , 0x00006f48 
+ 00028487  0x0000900d branch  0x000075cd 
+ 00028488  0x0000900f call  0x000075ec 
+ 00028489  0x00009010 fetch  0x00000001 , 0x00000871 
+ 00028490  0x00009011 nrtn  0x00000034 
+ 00028491  0x00009012 jam  0x00000003 , 0x00000870 
+ 00028492  0x00009013 rtn 
+ 00028493  0x00009016 fetch  0x00000001 , 0x000046bc 
+ 00028494  0x00009017 beq  0x00000001 , 0x00007085 
+ 00028495  0x00009018 branch  0x0000137c 
+ 00028496  0x0000901b fetch  0x00000001 , 0x000046bc 
+ 00028497  0x0000901c beq  0x00000001 , 0x00006f53 
+ 00028498  0x0000901d branch  0x00007066 
+ 00028499  0x00009020 call  0x00007085 
+ 00028500  0x00009021 fetch  0x00000001 , 0x00000871 
+ 00028501  0x00009022 nrtn  0x00000034 
+ 00028502  0x00009023 jam  0x00000003 , 0x00000870 
+ 00028503  0x00009024 rtn 
+ 00028504  0x00009028 call  0x00006f73 
+ 00028505  0x00009029 arg  0x000008a0 , 0x00000011 
+ 00028506  0x0000902a arg  0x00000728 , 0x00000005 
+ 00028507  0x0000902b call  0x000077cc 
+ 00028508  0x0000902c arg  0x00000880 , 0x00000011 
+ 00028509  0x0000902d arg  0x000006e8 , 0x00000005 
+ 00028510  0x0000902e call  0x000077cc 
+ 00028511  0x0000902f arg  0x000006e8 , 0x00000011 
+ 00028512  0x00009030 arg  0x00000880 , 0x00000012 
+ 00028513  0x00009031 arg  0x000006e8 , 0x00000005 
+ 00028514  0x00009032 call  0x00007734 
+ 00028515  0x00009033 arg  0x00000800 , 0x00000011 
+ 00028516  0x00009034 arg  0x00000880 , 0x00000012 
+ 00028517  0x00009035 arg  0x00000708 , 0x00000005 
+ 00028518  0x00009036 call  0x00007734 
+ 00028519  0x00009037 arg  0x00000708 , 0x00000011 
+ 00028520  0x00009038 arg  0x000006e8 , 0x00000012 
+ 00028521  0x00009039 arg  0x000006e8 , 0x00000005 
+ 00028522  0x0000903a call  0x000077d0 
+ 00028523  0x0000903b arg  0x000006c8 , 0x00000011 
+ 00028524  0x0000903c arg  0x000006e8 , 0x00000012 
+ 00028525  0x0000903d arg  0x000006c8 , 0x00000005 
+ 00028526  0x0000903e call  0x000077d0 
+ 00028527  0x0000903f arg  0x00000020 , 0x00000039 
+ 00028528  0x00009040 arg  0x00000728 , 0x00000011 
+ 00028529  0x00009041 arg  0x000006c8 , 0x00000012 
+ 00028530  0x00009042 branch  0x00007e66 
+ 00028531  0x00009045 arg  0x00000840 , 0x00000011 
+ 00028532  0x00009046 arg  0x000006c8 , 0x00000005 
+ 00028533  0x00009047 call  0x000077cc 
+ 00028534  0x00009048 arg  0x00000820 , 0x00000011 
+ 00028535  0x00009049 arg  0x000006e8 , 0x00000005 
+ 00028536  0x0000904a call  0x000077cc 
+ 00028537  0x0000904b arg  0x000006e8 , 0x00000011 
+ 00028538  0x0000904c arg  0x00000820 , 0x00000012 
+ 00028539  0x0000904d arg  0x000006e8 , 0x00000005 
+ 00028540  0x0000904e call  0x00007734 
+ 00028541  0x0000904f arg  0x00000800 , 0x00000011 
+ 00028542  0x00009050 arg  0x00000820 , 0x00000012 
+ 00028543  0x00009051 arg  0x00000708 , 0x00000005 
+ 00028544  0x00009052 call  0x00007734 
+ 00028545  0x00009053 arg  0x00000708 , 0x00000011 
+ 00028546  0x00009054 arg  0x000006e8 , 0x00000012 
+ 00028547  0x00009055 arg  0x000006e8 , 0x00000005 
+ 00028548  0x00009056 call  0x000077d0 
+ 00028549  0x00009057 arg  0x000006c8 , 0x00000011 
+ 00028550  0x00009058 arg  0x000006e8 , 0x00000012 
+ 00028551  0x00009059 arg  0x000006c8 , 0x00000005 
+ 00028552  0x0000905a branch  0x000077e9 
+ 00028553  0x0000905d call  0x00006fa4 
+ 00028554  0x0000905e arg  0x000008a8 , 0x00000011 
+ 00028555  0x0000905f arg  0x00000728 , 0x00000005 
+ 00028556  0x00009060 call  0x000071a3 
+ 00028557  0x00009061 arg  0x00000888 , 0x00000011 
+ 00028558  0x00009062 arg  0x000006e8 , 0x00000005 
+ 00028559  0x00009063 call  0x000071a3 
+ 00028560  0x00009064 arg  0x000006e8 , 0x00000011 
+ 00028561  0x00009065 arg  0x00000888 , 0x00000012 
+ 00028562  0x00009066 arg  0x000006e8 , 0x00000005 
+ 00028563  0x00009067 call  0x00007181 
+ 00028564  0x00009068 arg  0x00000760 , 0x00000011 
+ 00028565  0x00009069 arg  0x00000888 , 0x00000012 
+ 00028566  0x0000906a arg  0x00000708 , 0x00000005 
+ 00028567  0x0000906b call  0x00007181 
+ 00028568  0x0000906c arg  0x00000708 , 0x00000011 
+ 00028569  0x0000906d arg  0x000006e8 , 0x00000012 
+ 00028570  0x0000906e arg  0x000006e8 , 0x00000005 
+ 00028571  0x0000906f call  0x00007150 
+ 00028572  0x00009070 arg  0x000006c8 , 0x00000011 
+ 00028573  0x00009071 arg  0x000006e8 , 0x00000012 
+ 00028574  0x00009072 arg  0x000006c8 , 0x00000005 
+ 00028575  0x00009073 call  0x00007150 
+ 00028576  0x00009074 arg  0x00000018 , 0x00000039 
+ 00028577  0x00009075 arg  0x00000728 , 0x00000011 
+ 00028578  0x00009076 arg  0x000006c8 , 0x00000012 
+ 00028579  0x00009077 branch  0x00007e66 
+ 00028580  0x0000907a arg  0x000007a8 , 0x00000011 
+ 00028581  0x0000907b arg  0x000006c8 , 0x00000005 
+ 00028582  0x0000907c call  0x000071a3 
+ 00028583  0x0000907d arg  0x00000790 , 0x00000011 
+ 00028584  0x0000907e arg  0x000006e8 , 0x00000005 
+ 00028585  0x0000907f call  0x000071a3 
+ 00028586  0x00009080 arg  0x000006e8 , 0x00000011 
+ 00028587  0x00009081 arg  0x00000790 , 0x00000012 
+ 00028588  0x00009082 arg  0x000006e8 , 0x00000005 
+ 00028589  0x00009083 call  0x00007181 
+ 00028590  0x00009084 arg  0x00000760 , 0x00000011 
+ 00028591  0x00009085 arg  0x00000790 , 0x00000012 
+ 00028592  0x00009086 arg  0x00000708 , 0x00000005 
+ 00028593  0x00009087 call  0x00007181 
+ 00028594  0x00009088 arg  0x00000708 , 0x00000011 
+ 00028595  0x00009089 arg  0x000006e8 , 0x00000012 
+ 00028596  0x0000908a arg  0x000006e8 , 0x00000005 
+ 00028597  0x0000908b call  0x00007150 
+ 00028598  0x0000908c arg  0x000006c8 , 0x00000011 
+ 00028599  0x0000908d arg  0x000006e8 , 0x00000012 
+ 00028600  0x0000908e arg  0x000006c8 , 0x00000005 
+ 00028601  0x0000908f branch  0x00007153 
+ 00028602  0x00009093 fetch  0x00000001 , 0x00004648 
+ 00028603  0x00009094 beq  0x00000002 , 0x00006fbe 
+ 00028604  0x00009095 beq  0x00000001 , 0x00006fce 
+ 00028605  0x00009096 rtn 
+ 00028606  0x00009099 fetch  0x00000001 , 0x000046bd 
+ 00028607  0x0000909a bne  0x00000000 , 0x00006fec 
+ 00028608  0x0000909b call  0x00006fe9 
+ 00028609  0x0000909c arg  0x00000940 , 0x00000005 
+ 00028610  0x0000909d setarg  0x000008f0 
+ 00028611  0x0000909e istore  0x00000002 , 0x00000005 
+ 00028612  0x0000909f setarg  0x000046ff 
+ 00028613  0x000090a0 istore  0x00000002 , 0x00000005 
+ 00028614  0x000090a1 setarg  0x000008a0 
+ 00028615  0x000090a2 istore  0x00000002 , 0x00000005 
+ 00028616  0x000090a5 call  0x00007495 
+ 00028617  0x000090a6 fetch  0x00000001 , 0x00000871 
+ 00028618  0x000090a7 beq  0x00000004 , 0x00006fe6 
+ 00028619  0x000090a8 jam  0x00000001 , 0x00000872 
+ 00028620  0x000090a9 jam  0x00000005 , 0x00000870 
+ 00028621  0x000090aa rtn 
+ 00028622  0x000090ad fetch  0x00000001 , 0x00000874 
+ 00028623  0x000090ae bne  0x00000000 , 0x00006fec 
+ 00028624  0x000090af call  0x00006fe9 
+ 00028625  0x000090b0 arg  0x00000940 , 0x00000005 
+ 00028626  0x000090b1 setarg  0x000008f0 
+ 00028627  0x000090b2 istore  0x00000002 , 0x00000005 
+ 00028628  0x000090b3 setarg  0x0000474f 
+ 00028629  0x000090b4 istore  0x00000002 , 0x00000005 
+ 00028630  0x000090b5 setarg  0x000008a0 
+ 00028631  0x000090b6 istore  0x00000002 , 0x00000005 
+ 00028632  0x000090b7 branch  0x00006fe0 
+ 00028633  0x000090b9 arg  0x00000940 , 0x00000005 
+ 00028634  0x000090ba setarg  0x00000900 
+ 00028635  0x000090bb istore  0x00000002 , 0x00000005 
+ 00028636  0x000090bc setarg  0x000008a0 
+ 00028637  0x000090bd istore  0x00000002 , 0x00000005 
+ 00028638  0x000090be setarg  0x0000474f 
+ 00028639  0x000090bf istore  0x00000002 , 0x00000005 
+ 00028640  0x000090c1 call  0x000073bc 
+ 00028641  0x000090c2 fetch  0x00000001 , 0x00000871 
+ 00028642  0x000090c3 beq  0x00000004 , 0x00006fe6 
+ 00028643  0x000090c4 jam  0x00000001 , 0x00000872 
+ 00028644  0x000090c5 jam  0x00000005 , 0x00000870 
+ 00028645  0x000090c6 rtn 
+ 00028646  0x000090c8 jam  0x00000014 , 0x00000871 
+ 00028647  0x000090c9 call  0x00006f4d 
+ 00028648  0x000090ca branch  0x000070d3 
+ 00028649  0x000090cd arg  0x000008e0 , 0x00000005 
+ 00028650  0x000090ce force  0x00000008 , 0x00000007 
+ 00028651  0x000090cf branch  0x0000709d 
+ 00028652  0x000090d2 jam  0x00000001 , 0x00000872 
+ 00028653  0x000090d3 rtn 
+ 00028654  0x000090d6 fetch  0x00000001 , 0x00004648 
+ 00028655  0x000090d7 beq  0x00000002 , 0x00006ff4 
+ 00028656  0x000090d8 beq  0x00000001 , 0x00006ff7 
+ 00028657  0x000090da jam  0x00000009 , 0x00000870 
+ 00028658  0x000090db jam  0x00000001 , 0x00000872 
+ 00028659  0x000090dc rtn 
+ 00028660  0x000090df fetch  0x00000001 , 0x0000087b 
+ 00028661  0x000090e0 bne  0x00000003 , 0x00006ff1 
+ 00028662  0x000090e1 branch  0x00006ff9 
+ 00028663  0x000090e4 fetch  0x00000001 , 0x0000087b 
+ 00028664  0x000090e5 bne  0x00000001 , 0x00006ff1 
+ 00028665  0x000090e7 arg  0x000005e9 , 0x00000005 
+ 00028666  0x000090e8 fetch  0x00000006 , 0x000040a8 
+ 00028667  0x000090e9 istore  0x00000006 , 0x00000005 
+ 00028668  0x000090ea fetch  0x00000006 , 0x00000040 
+ 00028669  0x000090eb istore  0x00000006 , 0x00000005 
+ 00028670  0x000090ec fetch  0x00000003 , 0x0000476b 
+ 00028671  0x000090ed istore  0x00000003 , 0x00000005 
+ 00028672  0x000090ef call  0x000074b4 
+ 00028673  0x000090f1 arg  0x00000910 , 0x00000011 
+ 00028674  0x000090f2 arg  0x00000920 , 0x00000012 
+ 00028675  0x000090f3 force  0x00000004 , 0x00000007 
+ 00028676  0x000090f4 call  0x000070a2 
+ 00028677  0x000090f5 nbranch  0x00007012 , 0x00000001 
+ 00028678  0x000090f7 call  0x00007009 
+ 00028679  0x000090f8 jam  0x00000041 , 0x0000007d 
+ 00028680  0x000090f9 branch  0x00005a7b 
+ 00028681  0x000090fc fetch  0x00000001 , 0x00000871 
+ 00028682  0x000090fd beq  0x00000009 , 0x0000700f 
+ 00028683  0x000090fe jam  0x0000000a , 0x00000870 
+ 00028684  0x000090ff jam  0x00000001 , 0x00000872 
+ 00028685  0x00009100 jam  0x00000003 , 0x0000007c 
+ 00028686  0x00009101 rtn 
+ 00028687  0x00009103 jam  0x00000003 , 0x0000007c 
+ 00028688  0x00009104 jam  0x00000015 , 0x00000871 
+ 00028689  0x00009105 branch  0x000070d3 
+ 00028690  0x00009109 fetch  0x00000001 , 0x00000871 
+ 00028691  0x0000910a beq  0x00000009 , 0x00007018 
+ 00028692  0x0000910b jam  0x00000000 , 0x00000870 
+ 00028693  0x0000910c jam  0x00000004 , 0x0000007c 
+ 00028694  0x0000910e jam  0x00000005 , 0x0000007e 
+ 00028695  0x0000910f rtn 
+ 00028696  0x00009111 jam  0x00000004 , 0x0000007c 
+ 00028697  0x00009112 jam  0x00000000 , 0x00000871 
+ 00028698  0x00009113 rtn 
+ 00028699  0x00009116 fetch  0x00000001 , 0x00004648 
+ 00028700  0x00009117 beq  0x00000002 , 0x0000701f 
+ 00028701  0x00009118 beq  0x00000001 , 0x00007023 
+ 00028702  0x00009119 rtn 
+ 00028703  0x0000911c fetch  0x00000001 , 0x0000087b 
+ 00028704  0x0000911d beq  0x00000003 , 0x00007027 
+ 00028705  0x0000911e jam  0x0000000a , 0x00000871 
+ 00028706  0x0000911f branch  0x000070d3 
+ 00028707  0x00009122 fetch  0x00000001 , 0x00000875 
+ 00028708  0x00009123 beq  0x00000001 , 0x00007027 
+ 00028709  0x00009124 jam  0x0000000a , 0x00000871 
+ 00028710  0x00009125 branch  0x000070d3 
+ 00028711  0x00009128 arg  0x000005e9 , 0x00000005 
+ 00028712  0x00009129 fetch  0x00000006 , 0x00000040 
+ 00028713  0x0000912a istore  0x00000006 , 0x00000005 
+ 00028714  0x0000912b fetch  0x00000006 , 0x000040a8 
+ 00028715  0x0000912c istore  0x00000006 , 0x00000005 
+ 00028716  0x0000912d fetch  0x00000003 , 0x00004768 
+ 00028717  0x0000912e istore  0x00000003 , 0x00000005 
+ 00028718  0x00009130 call  0x000074f7 
+ 00028719  0x00009131 fetch  0x00000001 , 0x00000871 
+ 00028720  0x00009132 beq  0x0000000a , 0x00007034 
+ 00028721  0x00009133 jam  0x0000000b , 0x00000870 
+ 00028722  0x00009134 jam  0x00000001 , 0x00000872 
+ 00028723  0x00009135 rtn 
+ 00028724  0x00009137 jam  0x0000000b , 0x00000871 
+ 00028725  0x00009138 jam  0x00000001 , 0x00000873 
+ 00028726  0x00009139 rtn 
+ 00028727  0x0000913c arg  0x00000940 , 0x00000005 
+ 00028728  0x0000913d fetch  0x00000006 , 0x00000040 
+ 00028729  0x0000913e istore  0x00000006 , 0x00000005 
+ 00028730  0x0000913f fetch  0x00000006 , 0x000040a8 
+ 00028731  0x00009140 istore  0x00000006 , 0x00000005 
+ 00028732  0x00009141 setarg  0x000008f0 
+ 00028733  0x00009142 istore  0x00000002 , 0x00000005 
+ 00028734  0x00009143 setarg  0x00000900 
+ 00028735  0x00009144 istore  0x00000002 , 0x00000005 
+ 00028736  0x00009145 branch  0x0000704b 
+ 00028737  0x00009147 jam  0x0000000f , 0x00000870 
+ 00028738  0x00009148 arg  0x00000940 , 0x00000005 
+ 00028739  0x00009149 fetch  0x00000006 , 0x000040a8 
+ 00028740  0x0000914a istore  0x00000006 , 0x00000005 
+ 00028741  0x0000914b fetch  0x00000006 , 0x00000040 
+ 00028742  0x0000914c istore  0x00000006 , 0x00000005 
+ 00028743  0x0000914d setarg  0x00000900 
+ 00028744  0x0000914e istore  0x00000002 , 0x00000005 
+ 00028745  0x0000914f setarg  0x000008f0 
+ 00028746  0x00009150 istore  0x00000002 , 0x00000005 
+ 00028747  0x00009153 arg  0x000005e9 , 0x00000005 
+ 00028748  0x00009154 fetch  0x00000006 , 0x00000940 
+ 00028749  0x00009155 istore  0x00000006 , 0x00000005 
+ 00028750  0x00009156 fetch  0x00000006 , 0x00000946 
+ 00028751  0x00009157 istore  0x00000006 , 0x00000005 
+ 00028752  0x00009159 call  0x0000750b 
+ 00028753  0x0000915c jam  0x00000001 , 0x000041ca 
+ 00028754  0x0000915d arg  0x000041cb , 0x00000005 
+ 00028755  0x0000915e arg  0x00000910 , 0x00000006 
+ 00028756  0x0000915f call  0x00007d7f 
+ 00028757  0x00009160 branch  0x000009c6 
+ 00028758  0x00009164 arg  0x0000471f , 0x00000005 
+ 00028759  0x00009165 setsect  0x00000000 , 0x000118ff 
+ 00028760  0x00009166 setsect  0x00000001 , 0x0003fd29 
+ 00028761  0x00009167 setsect  0x00000002 , 0x0001ed2e 
+ 00028762  0x00009168 setsect  0x00000003 , 0x0000ad89 
+ 00028763  0x00009169 istore  0x00000009 , 0x00000005 
+ 00028764  0x0000916a setsect  0x00000000 , 0x00030c14 
+ 00028765  0x0000916b setsect  0x00000001 , 0x000075b3 
+ 00028766  0x0000916c setsect  0x00000002 , 0x000005df 
+ 00028767  0x0000916d setsect  0x00000003 , 0x0003709c 
+ 00028768  0x0000916e istore  0x00000009 , 0x00000005 
+ 00028769  0x0000916f setsect  0x00000000 , 0x0002918d 
+ 00028770  0x00009170 setsect  0x00000001 , 0x000057e1 
+ 00028771  0x00009171 setsect  0x00000002 , 0x00000079 
+ 00028772  0x00009172 istore  0x00000006 , 0x00000005 
+ 00028773  0x00009173 rtn 
+ 00028774  0x00009177 bpatchx  0x00000078 , 0x0000402f 
+ 00028775  0x00009178 fetch  0x00000001 , 0x000046bc 
+ 00028776  0x00009179 rtnne  0x00000000 
+ 00028777  0x0000917a fetch  0x00000001 , 0x00000874 
+ 00028778  0x0000917b rtnne  0x00000000 
+ 00028779  0x0000917d arg  0x0000471f , 0x00000005 
+ 00028780  0x0000917e force  0x0000000b , 0x00000007 
+ 00028781  0x0000917f call  0x0000709d 
+ 00028782  0x00009180 random  0x0000003f 
+ 00028783  0x00009181 rshift  0x0000003f , 0x0000003f 
+ 00028784  0x00009182 istore  0x00000002 , 0x00000005 
+ 00028785  0x00009184 fetch  0x00000001 , 0x000046ba 
+ 00028786  0x00009185 ncall  0x00007056 , 0x00000034 
+ 00028787  0x00009187 arg  0x00000580 , 0x00000005 
+ 00028788  0x00009188 arg  0x0000471f , 0x00000006 
+ 00028789  0x00009189 call  0x00007d7e 
+ 00028790  0x0000918b arg  0x000004a8 , 0x00000005 
+ 00028791  0x0000918c arg  0x00000790 , 0x00000006 
+ 00028792  0x0000918d call  0x00007d7c 
+ 00028793  0x0000918f arg  0x000004d8 , 0x00000005 
+ 00028794  0x00009190 call  0x00007d8b 
+ 00028795  0x00009191 jam  0x00000001 , 0x000004d8 
+ 00028796  0x00009193 call  0x00007479 
+ 00028797  0x00009194 jam  0x00000001 , 0x00000874 
+ 00028798  0x00009195 rtn 
+ 00028799  0x00009198 arg  0x00004737 , 0x00000005 
+ 00028800  0x00009199 arg  0x000004f0 , 0x00000006 
+ 00028801  0x0000919a call  0x00007d7c 
+ 00028802  0x0000919b jam  0x00000001 , 0x000046bc 
+ 00028803  0x0000919c jam  0x00000000 , 0x00000874 
+ 00028804  0x0000919d rtn 
+ 00028805  0x000091a0 bpatchx  0x00000079 , 0x0000402f 
+ 00028806  0x000091a1 fetch  0x00000001 , 0x0000087b 
+ 00028807  0x000091a2 rtnne  0x00000000 
+ 00028808  0x000091a3 fetch  0x00000001 , 0x00000874 
+ 00028809  0x000091a4 rtnne  0x00000000 
+ 00028810  0x000091a6 arg  0x00000580 , 0x00000005 
+ 00028811  0x000091a7 arg  0x0000471f , 0x00000006 
+ 00028812  0x000091a8 call  0x00007d7e 
+ 00028813  0x000091aa arg  0x000004a8 , 0x00000005 
+ 00028814  0x000091ab arg  0x00000888 , 0x00000006 
+ 00028815  0x000091ac call  0x00007d7c 
+ 00028816  0x000091ae arg  0x000004d8 , 0x00000005 
+ 00028817  0x000091af call  0x00007d8b 
+ 00028818  0x000091b0 jam  0x00000001 , 0x000004d8 
+ 00028819  0x000091b2 call  0x00007479 
+ 00028820  0x000091b3 jam  0x00000002 , 0x00000874 
+ 00028821  0x000091b4 rtn 
+ 00028822  0x000091b7 jam  0x00000001 , 0x00000875 
+ 00028823  0x000091b8 arg  0x000008c8 , 0x00000005 
+ 00028824  0x000091b9 arg  0x000004f0 , 0x00000006 
+ 00028825  0x000091ba call  0x00007d7e 
+ 00028826  0x000091bb jam  0x00000001 , 0x0000087b 
+ 00028827  0x000091bc jam  0x00000000 , 0x00000874 
+ 00028828  0x000091bd rtn 
+ 00028829  0x000091c0 increase  0xffffffff , 0x00000007 
+ 00028830  0x000091c1 nrtn  0x00000002 
+ 00028831  0x000091c2 random  0x0000003f 
+ 00028832  0x000091c3 istore  0x00000002 , 0x00000005 
+ 00028833  0x000091c4 branch  0x0000709d 
+ 00028834  0x000091c6 increase  0xffffffff , 0x00000007 
+ 00028835  0x000091c7 nbranch  0x000070ae , 0x00000002 
+ 00028836  0x000091c8 ifetch  0x00000004 , 0x00000011 
+ 00028837  0x000091c9 copy  0x0000003f , 0x00000002 
+ 00028838  0x000091ca ifetch  0x00000004 , 0x00000012 
+ 00028839  0x000091cb iflip  0x00000002 , 0x0000003f 
+ 00028840  0x000091cc nbranch  0x000070ac , 0x00000005 
+ 00028841  0x000091cd increase  0x00000004 , 0x00000011 
+ 00028842  0x000091ce increase  0x00000004 , 0x00000012 
+ 00028843  0x000091cf branch  0x000070a2 
+ 00028844  0x000091d1 disable  0x00000001 
+ 00028845  0x000091d2 rtn 
+ 00028846  0x000091d4 enable  0x00000001 
+ 00028847  0x000091d5 rtn 
+ 00028848  0x000091dd bpatchx  0x0000007a , 0x0000402f 
+ 00028849  0x000091de fetch  0x00000001 , 0x00000872 
+ 00028850  0x000091df rtn  0x00000034 
+ 00028851  0x000091e0 call  0x00005a3f 
+ 00028852  0x000091e1 nrtn  0x00000034 
+ 00028853  0x000091e2 jam  0x00000000 , 0x00000872 
+ 00028854  0x000091e3 fetch  0x00000001 , 0x00000870 
+ 00028855  0x000091e4 beq  0x00000003 , 0x00005965 
+ 00028856  0x000091e5 beq  0x00000005 , 0x00005987 
+ 00028857  0x000091e6 beq  0x00000007 , 0x00005992 
+ 00028858  0x000091e7 beq  0x0000000b , 0x000059a7 
+ 00028859  0x000091e8 beq  0x00000002 , 0x00006f40 
+ 00028860  0x000091e9 beq  0x00000004 , 0x00006fba 
+ 00028861  0x000091ea beq  0x00000009 , 0x00006fee 
+ 00028862  0x000091eb beq  0x0000000a , 0x0000701b 
+ 00028863  0x000091ec beq  0x0000000c , 0x00007041 
+ 00028864  0x000091ee rtn 
+ 00028865  0x000091f1 bpatchx  0x0000007b , 0x0000402f 
+ 00028866  0x000091f2 fetch  0x00000001 , 0x00000873 
+ 00028867  0x000091f3 rtn  0x00000034 
+ 00028868  0x000091f4 call  0x00005a3f 
+ 00028869  0x000091f5 nrtn  0x00000034 
+ 00028870  0x000091f6 jam  0x00000000 , 0x00000873 
+ 00028871  0x000091f7 fetch  0x00000001 , 0x00000871 
+ 00028872  0x000091f8 beq  0x00000012 , 0x00005949 
+ 00028873  0x000091f9 beq  0x00000013 , 0x0000594e 
+ 00028874  0x000091fa beq  0x00000003 , 0x00005952 
+ 00028875  0x000091fb beq  0x00000004 , 0x00006fd9 
+ 00028876  0x000091fc beq  0x00000014 , 0x00005956 
+ 00028877  0x000091fd beq  0x00000007 , 0x00005963 
+ 00028878  0x000091fe beq  0x0000000a , 0x0000701b 
+ 00028879  0x000091ff beq  0x0000000b , 0x000059a6 
+ 00028880  0x00009200 beq  0x00000009 , 0x00006fee 
+ 00028881  0x00009201 beq  0x00000015 , 0x000059a0 
+ 00028882  0x00009202 rtn 
+ 00028883  0x00009205 jam  0x00000001 , 0x00000873 
+ 00028884  0x00009206 rtn 
+ 00028885  0x00009209 jam  0x00000000 , 0x00000873 
+ 00028886  0x0000920a rtn 
+ 00028887  0x0000920c bpatchx  0x0000007c , 0x0000402f 
+ 00028888  0x0000920d fetch  0x00000001 , 0x00004767 
+ 00028889  0x0000920e rtn  0x00000034 
+ 00028890  0x0000920f fetch  0x00000001 , 0x00000874 
+ 00028891  0x00009210 rtn  0x00000034 
+ 00028892  0x00009211 increase  0x00000080 , 0x0000003f 
+ 00028893  0x00009212 store  0x00000001 , 0x00000874 
+ 00028894  0x00009213 rtnbit1  0x00000007 
+ 00028895  0x00009214 fetch  0x00000001 , 0x000004a5 
+ 00028896  0x00009215 branch  0x000070e2 , 0x00000034 
+ 00028897  0x00009216 branch  0x00007484 
+ 00028898  0x00009219 call  0x000072ce 
+ 00028899  0x0000921a fetch  0x00000001 , 0x00000874 
+ 00028900  0x0000921b beq  0x00000001 , 0x0000707f 
+ 00028901  0x0000921c beq  0x00000002 , 0x00007096 
+ 00028902  0x0000921d rtn 
+ 00028903  0x00009221 and  0x0000003f , 0x00000007 , 0x00000007 
+ 00028904  0x00009222 rshift3  0x0000003f , 0x0000003f 
+ 00028905  0x00009223 iadd  0x00000006 , 0x00000006 
+ 00028906  0x00009224 ifetch  0x00000001 , 0x00000006 
+ 00028907  0x00009225 qisolate0  0x0000003f 
+ 00028908  0x00009226 rtn 
+ 00028909  0x0000922a call  0x00007d7e 
+ 00028910  0x0000922b call  0x00007d7e 
+ 00028911  0x0000922c branch  0x00007d7e 
+ 00028912  0x00009230 ifetch  0x00000008 , 0x00000006 
+ 00028913  0x00009231 nrtn  0x00000034 
+ 00028914  0x00009232 ifetch  0x00000008 , 0x00000006 
+ 00028915  0x00009233 nrtn  0x00000034 
+ 00028916  0x00009234 ifetch  0x00000008 , 0x00000006 
+ 00028917  0x00009235 rtn 
+ 00028918  0x0000923b ifetch  0x00000004 , 0x00000011 
+ 00028919  0x0000923c iforce  0x00000002 
+ 00028920  0x0000923d ifetch  0x00000004 , 0x00000012 
+ 00028921  0x0000923e isub  0x00000002 , 0x0000003e 
+ 00028922  0x0000923f nrtn  0x00000005 
+ 00028923  0x00009240 increase  0x00000004 , 0x00000011 
+ 00028924  0x00009241 increase  0x00000004 , 0x00000012 
+ 00028925  0x00009242 loop  0x000070f6 
+ 00028926  0x00009243 rtn 
+ 00028927  0x00009247 force  0x00000006 , 0x00000039 
+ 00028928  0x00009248 increase  0x00000014 , 0x00000011 
+ 00028929  0x00009249 increase  0x00000014 , 0x00000012 
+ 00028930  0x0000924b ifetch  0x00000004 , 0x00000012 
+ 00028931  0x0000924c iforce  0x00000002 
+ 00028932  0x0000924d ifetch  0x00000004 , 0x00000011 
+ 00028933  0x0000924e isub  0x00000002 , 0x0000003f 
+ 00028934  0x0000924f nrtn  0x00000002 
+ 00028935  0x00009250 nrtn  0x00000034 
+ 00028936  0x00009251 increase  0xfffffffc , 0x00000011 
+ 00028937  0x00009252 increase  0xfffffffc , 0x00000012 
+ 00028938  0x00009253 loop  0x00007102 
+ 00028939  0x00009254 rtn 
+ 00028940  0x00009257 force  0x00000006 , 0x00000039 
+ 00028941  0x00009258 force  0x00000000 , 0x00000013 
+ 00028942  0x0000925a ifetch  0x00000004 , 0x00000011 
+ 00028943  0x0000925b iforce  0x00000002 
+ 00028944  0x0000925c ifetch  0x00000004 , 0x00000012 
+ 00028945  0x0000925d iadd  0x00000002 , 0x0000003f 
+ 00028946  0x0000925e iadd  0x00000013 , 0x0000003f 
+ 00028947  0x0000925f istore  0x00000004 , 0x00000005 
+ 00028948  0x00009260 isolate1  0x00000020 , 0x0000003f 
+ 00028949  0x00009261 setflag  0x00000001 , 0x00000000 , 0x00000013 
+ 00028950  0x00009262 increase  0x00000004 , 0x00000011 
+ 00028951  0x00009263 increase  0x00000004 , 0x00000012 
+ 00028952  0x00009264 loop  0x0000710e 
+ 00028953  0x00009265 rtn 
+ 00028954  0x00009268 force  0x00000006 , 0x00000039 
+ 00028955  0x00009269 force  0x00000000 , 0x00000013 
+ 00028956  0x0000926b ifetch  0x00000004 , 0x00000012 
+ 00028957  0x0000926c iforce  0x00000002 
+ 00028958  0x0000926d ifetch  0x00000004 , 0x00000011 
+ 00028959  0x0000926e isub  0x00000002 , 0x0000003f 
+ 00028960  0x0000926f isub  0x00000013 , 0x0000003f 
+ 00028961  0x00009270 istore  0x00000004 , 0x00000005 
+ 00028962  0x00009271 isolate1  0x00000020 , 0x0000003f 
+ 00028963  0x00009272 setflag  0x00000001 , 0x00000000 , 0x00000013 
+ 00028964  0x00009273 increase  0x00000004 , 0x00000011 
+ 00028965  0x00009274 increase  0x00000004 , 0x00000012 
+ 00028966  0x00009275 loop  0x0000711c 
+ 00028967  0x00009276 rtn 
+ 00028968  0x00009279 force  0x00000006 , 0x00000039 
+ 00028969  0x0000927a increase  0x00000014 , 0x00000011 
+ 00028970  0x0000927c force  0x00000000 , 0x00000013 
+ 00028971  0x0000927e ifetch  0x00000004 , 0x00000011 
+ 00028972  0x0000927f isolate1  0x00000000 , 0x0000003f 
+ 00028973  0x00009280 setflag  0x00000001 , 0x00000001 , 0x00000013 
+ 00028974  0x00009281 rshift  0x0000003f , 0x0000003f 
+ 00028975  0x00009282 isolate1  0x00000000 , 0x00000013 
+ 00028976  0x00009283 setflag  0x00000001 , 0x0000001f , 0x0000003f 
+ 00028977  0x00009284 istore  0x00000004 , 0x00000011 
+ 00028978  0x00009285 increase  0xfffffffc , 0x00000011 
+ 00028979  0x00009286 rshift  0x00000013 , 0x00000013 
+ 00028980  0x00009287 loop  0x0000712b 
+ 00028981  0x00009288 rtn 
+ 00028982  0x0000928b force  0x00000006 , 0x00000039 
+ 00028983  0x0000928c force  0x00000000 , 0x00000013 
+ 00028984  0x0000928e ifetch  0x00000004 , 0x00000011 
+ 00028985  0x0000928f isolate1  0x0000001f , 0x0000003f 
+ 00028986  0x00009290 setflag  0x00000001 , 0x00000001 , 0x00000013 
+ 00028987  0x00009291 lshift  0x0000003f , 0x0000003f 
+ 00028988  0x00009292 isolate1  0x00000000 , 0x00000013 
+ 00028989  0x00009293 setflag  0x00000001 , 0x00000000 , 0x0000003f 
+ 00028990  0x00009294 istore  0x00000004 , 0x00000011 
+ 00028991  0x00009295 increase  0x00000004 , 0x00000011 
+ 00028992  0x00009296 rshift  0x00000013 , 0x00000013 
+ 00028993  0x00009297 loop  0x00007138 
+ 00028994  0x00009298 rtn 
+ 00028995  0x0000929b call  0x00007136 
+ 00028996  0x0000929d isolate1  0x00000000 , 0x00000013 
+ 00028997  0x0000929e branch  0x0000714c , 0x00000001 
+ 00028998  0x0000929f arg  0x00000748 , 0x00000012 
+ 00028999  0x000092a0 copy  0x00000011 , 0x00000013 
+ 00029000  0x000092a1 increase  0xffffffe8 , 0x00000011 
+ 00029001  0x000092a2 call  0x000070ff 
+ 00029002  0x000092a3 nrtn  0x00000002 
+ 00029003  0x000092a4 copy  0x00000013 , 0x00000011 
+ 00029004  0x000092a6 increase  0xffffffe8 , 0x00000011 
+ 00029005  0x000092a7 arg  0x00000748 , 0x00000012 
+ 00029006  0x000092a8 copy  0x00000011 , 0x00000005 
+ 00029007  0x000092a9 branch  0x0000711a 
+ 00029008  0x000092ad call  0x0000710c 
+ 00029009  0x000092ae copy  0x00000005 , 0x00000011 
+ 00029010  0x000092af branch  0x00007144 
+ 00029011  0x000092b2 call  0x0000711a 
+ 00029012  0x000092b3 isolate0  0x00000000 , 0x00000013 
+ 00029013  0x000092b4 rtn  0x00000001 
+ 00029014  0x000092b5 arg  0x00000748 , 0x00000012 
+ 00029015  0x000092b6 add  0x00000005 , 0xffffffe8 , 0x00000011 
+ 00029016  0x000092b7 copy  0x00000011 , 0x00000005 
+ 00029017  0x000092b8 branch  0x0000710c 
+ 00029018  0x000092bc copy  0x00000005 , 0x0000000b 
+ 00029019  0x000092bd copy  0x00000011 , 0x00000030 
+ 00029020  0x000092be arg  0x000005d8 , 0x00000012 
+ 00029021  0x000092bf copy  0x00000012 , 0x00000005 
+ 00029022  0x000092c0 add  0x00000011 , 0x00000018 , 0x00000006 
+ 00029023  0x000092c1 ifetch  0x00000008 , 0x00000006 
+ 00029024  0x000092c2 istore  0x00000008 , 0x00000005 
+ 00029025  0x000092c3 istore  0x00000008 , 0x00000005 
+ 00029026  0x000092c4 force  0x00000000 , 0x0000003f 
+ 00029027  0x000092c5 istore  0x00000008 , 0x00000005 
+ 00029028  0x000092c6 copy  0x0000000b , 0x00000005 
+ 00029029  0x000092c7 call  0x00007150 
+ 00029030  0x000092c8 arg  0x000005d8 , 0x00000012 
+ 00029031  0x000092c9 copy  0x00000012 , 0x00000005 
+ 00029032  0x000092ca force  0x00000000 , 0x0000003f 
+ 00029033  0x000092cb istore  0x00000008 , 0x00000005 
+ 00029034  0x000092cc add  0x00000030 , 0x00000020 , 0x00000006 
+ 00029035  0x000092cd ifetch  0x00000008 , 0x00000006 
+ 00029036  0x000092ce istore  0x00000008 , 0x00000005 
+ 00029037  0x000092cf istore  0x00000008 , 0x00000005 
+ 00029038  0x000092d0 copy  0x0000000b , 0x00000011 
+ 00029039  0x000092d1 copy  0x00000011 , 0x00000005 
+ 00029040  0x000092d2 call  0x00007150 
+ 00029041  0x000092d3 arg  0x000005d8 , 0x00000012 
+ 00029042  0x000092d4 copy  0x00000012 , 0x00000005 
+ 00029043  0x000092d5 add  0x00000030 , 0x00000028 , 0x00000006 
+ 00029044  0x000092d6 ifetch  0x00000008 , 0x00000006 
+ 00029045  0x000092d7 istore  0x00000008 , 0x00000005 
+ 00029046  0x000092d8 istore  0x00000008 , 0x00000005 
+ 00029047  0x000092d9 istore  0x00000008 , 0x00000005 
+ 00029048  0x000092da copy  0x0000000b , 0x00000011 
+ 00029049  0x000092db copy  0x00000011 , 0x00000005 
+ 00029050  0x000092dc branch  0x00007150 
+ 00029051  0x000092e0 force  0x00000006 , 0x00000039 
+ 00029052  0x000092e2 ifetch  0x00000004 , 0x00000006 
+ 00029053  0x000092e3 iforce  0x0000002f 
+ 00029054  0x000092e4 increase  0x00000001 , 0x00000038 
+ 00029055  0x000092e5 loop  0x0000717c 
+ 00029056  0x000092e6 rtn 
+ 00029057  0x000092eb copy  0x00000005 , 0x0000000b 
+ 00029058  0x000092ec arg  0x000005a8 , 0x00000005 
+ 00029059  0x000092ed call  0x00007d8b 
+ 00029060  0x000092ee arg  0x000005a8 , 0x00000005 
+ 00029061  0x000092ef copy  0x00000011 , 0x00000006 
+ 00029062  0x000092f0 force  0x00000000 , 0x00000038 
+ 00029063  0x000092f1 call  0x0000717b 
+ 00029064  0x000092f2 copy  0x00000012 , 0x00000006 
+ 00029065  0x000092f3 call  0x0000717b 
+ 00029066  0x000092f4 force  0x00000000 , 0x00000012 
+ 00029067  0x000092f6 force  0x00000000 , 0x00000002 
+ 00029068  0x000092f7 force  0x00000006 , 0x00000013 
+ 00029069  0x000092f9 ifetch  0x00000004 , 0x00000005 
+ 00029070  0x000092fa iforce  0x00000011 
+ 00029071  0x000092fb copy  0x00000012 , 0x00000038 
+ 00029072  0x000092fc deposit  0x0000002f 
+ 00029073  0x000092fd copy  0x00000013 , 0x00000038 
+ 00029074  0x000092fe imul32  0x0000002f , 0x0000003f 
+ 00029075  0x000092ff iadd  0x00000011 , 0x0000003f 
+ 00029076  0x00009300 iadd  0x00000002 , 0x0000003f 
+ 00029077  0x00009301 istore  0x00000004 , 0x00000005 
+ 00029078  0x00009302 rshift32  0x0000003f , 0x00000002 
+ 00029079  0x00009303 increase  0x00000001 , 0x00000013 
+ 00029080  0x00009304 compare  0x0000000c , 0x00000013 , 0x000000ff 
+ 00029081  0x00009305 nbranch  0x0000718d , 0x00000001 
+ 00029082  0x00009306 deposit  0x00000002 
+ 00029083  0x00009307 istore  0x00000004 , 0x00000005 
+ 00029084  0x00009308 increase  0xffffffe8 , 0x00000005 
+ 00029085  0x00009309 increase  0x00000001 , 0x00000012 
+ 00029086  0x0000930a compare  0x00000006 , 0x00000012 , 0x000000ff 
+ 00029087  0x0000930b nbranch  0x0000718b , 0x00000001 
+ 00029088  0x0000930c arg  0x000005a8 , 0x00000011 
+ 00029089  0x0000930d copy  0x0000000b , 0x00000005 
+ 00029090  0x0000930e branch  0x0000715a 
+ 00029091  0x00009312 copy  0x00000011 , 0x00000012 
+ 00029092  0x00009313 branch  0x00007181 
+ 00029093  0x00009316 copy  0x00000011 , 0x00000030 
+ 00029094  0x00009318 copy  0x00000030 , 0x00000011 
+ 00029095  0x00009319 ifetch  0x00000001 , 0x00000011 
+ 00029096  0x0000931a isolate1  0x00000000 , 0x0000003f 
+ 00029097  0x0000931b rtn  0x00000001 
+ 00029098  0x0000931c call  0x00007128 
+ 00029099  0x0000931d ifetch  0x00000001 , 0x00000012 
+ 00029100  0x0000931e isolate0  0x00000000 , 0x0000003f 
+ 00029101  0x0000931f branch  0x000071b5 , 0x00000001 
+ 00029102  0x00009320 arg  0x00000748 , 0x00000011 
+ 00029103  0x00009321 copy  0x00000012 , 0x00000005 
+ 00029104  0x00009322 call  0x0000710c 
+ 00029105  0x00009323 ifetch  0x00000001 , 0x00000012 
+ 00029106  0x00009324 iadd  0x00000013 , 0x0000003f 
+ 00029107  0x00009325 istore  0x00000001 , 0x00000012 
+ 00029108  0x00009326 increase  0xffffffe8 , 0x00000012 
+ 00029109  0x00009328 add  0x00000012 , 0x00000018 , 0x00000011 
+ 00029110  0x00009329 force  0x00000007 , 0x00000039 
+ 00029111  0x0000932a call  0x0000712a 
+ 00029112  0x0000932b branch  0x000071a6 
+ 00029113  0x0000932f copy  0x00000005 , 0x0000000b 
+ 00029114  0x00009330 arg  0x00000608 , 0x00000005 
+ 00029115  0x00009331 call  0x00007d8b 
+ 00029116  0x00009332 force  0x00000000 , 0x0000003f 
+ 00029117  0x00009333 store  0x00000004 , 0x000005c0 
+ 00029118  0x00009334 store  0x00000004 , 0x00000620 
+ 00029119  0x00009335 jam  0x00000001 , 0x00000608 
+ 00029120  0x00009336 arg  0x000005a8 , 0x00000005 
+ 00029121  0x00009337 call  0x00007d8b 
+ 00029122  0x00009338 arg  0x00000748 , 0x00000006 
+ 00029123  0x00009339 arg  0x000005d8 , 0x00000005 
+ 00029124  0x0000933a call  0x00007d7e 
+ 00029125  0x0000933b copy  0x00000011 , 0x00000006 
+ 00029126  0x0000933c arg  0x000005f0 , 0x00000005 
+ 00029127  0x0000933d call  0x00007d7e 
+ 00029128  0x0000933f arg  0x000005f0 , 0x00000006 
+ 00029129  0x00009340 call  0x000070f0 
+ 00029130  0x00009341 branch  0x000071f1 , 0x00000034 
+ 00029131  0x00009342 arg  0x000005f0 , 0x00000011 
+ 00029132  0x00009343 arg  0x00000608 , 0x00000012 
+ 00029133  0x00009344 call  0x000071a5 
+ 00029134  0x00009346 arg  0x000005d8 , 0x00000011 
+ 00029135  0x00009347 arg  0x000005a8 , 0x00000012 
+ 00029136  0x00009348 call  0x000071a5 
+ 00029137  0x00009349 arg  0x000005f0 , 0x00000011 
+ 00029138  0x0000934a arg  0x000005d8 , 0x00000012 
+ 00029139  0x0000934b call  0x000070ff 
+ 00029140  0x0000934c branch  0x000071e3 , 0x00000002 
+ 00029141  0x0000934d arg  0x000005d8 , 0x00000011 
+ 00029142  0x0000934e arg  0x000005f0 , 0x00000012 
+ 00029143  0x0000934f copy  0x00000011 , 0x00000005 
+ 00029144  0x00009350 call  0x0000711a 
+ 00029145  0x00009351 arg  0x00000608 , 0x00000011 
+ 00029146  0x00009352 arg  0x000005a8 , 0x00000012 
+ 00029147  0x00009353 copy  0x00000012 , 0x00000005 
+ 00029148  0x00009354 call  0x0000710c 
+ 00029149  0x00009355 ifetch  0x00000001 , 0x00000011 
+ 00029150  0x00009356 iadd  0x00000013 , 0x00000013 
+ 00029151  0x00009357 ifetch  0x00000001 , 0x00000012 
+ 00029152  0x00009358 iadd  0x00000013 , 0x0000003f 
+ 00029153  0x00009359 istore  0x00000001 , 0x00000012 
+ 00029154  0x0000935a branch  0x000071c8 
+ 00029155  0x0000935c arg  0x000005f0 , 0x00000011 
+ 00029156  0x0000935d arg  0x000005d8 , 0x00000012 
+ 00029157  0x0000935e copy  0x00000011 , 0x00000005 
+ 00029158  0x0000935f call  0x0000711a 
+ 00029159  0x00009360 arg  0x000005a8 , 0x00000011 
+ 00029160  0x00009361 arg  0x00000608 , 0x00000012 
+ 00029161  0x00009362 copy  0x00000012 , 0x00000005 
+ 00029162  0x00009363 call  0x0000710c 
+ 00029163  0x00009364 ifetch  0x00000001 , 0x00000011 
+ 00029164  0x00009365 iadd  0x00000013 , 0x00000013 
+ 00029165  0x00009366 ifetch  0x00000001 , 0x00000012 
+ 00029166  0x00009367 iadd  0x00000013 , 0x0000003f 
+ 00029167  0x00009368 istore  0x00000001 , 0x00000012 
+ 00029168  0x00009369 branch  0x000071c8 
+ 00029169  0x0000936b arg  0x00000608 , 0x00000005 
+ 00029170  0x0000936c call  0x00007d8b 
+ 00029171  0x0000936d fetch  0x00000001 , 0x000005c0 
+ 00029172  0x0000936e store  0x00000001 , 0x00000608 
+ 00029173  0x0000936f store  0x00000001 , 0x00000610 
+ 00029174  0x00009370 arg  0x00000608 , 0x00000011 
+ 00029175  0x00009371 arg  0x000005a8 , 0x00000012 
+ 00029176  0x00009372 copy  0x00000012 , 0x00000005 
+ 00029177  0x00009373 call  0x00007150 
+ 00029178  0x00009374 arg  0x00000748 , 0x00000011 
+ 00029179  0x00009375 arg  0x000005a8 , 0x00000012 
+ 00029180  0x00009376 copy  0x0000000b , 0x00000005 
+ 00029181  0x00009377 branch  0x00007153 
+ 00029182  0x0000937d arg  0x00000568 , 0x00000011 
+ 00029183  0x0000937e arg  0x00000620 , 0x00000005 
+ 00029184  0x0000937f call  0x000071a3 
+ 00029185  0x00009380 arg  0x00000620 , 0x00000011 
+ 00029186  0x00009381 arg  0x00000638 , 0x00000005 
+ 00029187  0x00009382 call  0x000071a3 
+ 00029188  0x00009383 arg  0x00000760 , 0x00000011 
+ 00029189  0x00009384 arg  0x00000638 , 0x00000012 
+ 00029190  0x00009385 arg  0x00000638 , 0x00000005 
+ 00029191  0x00009386 call  0x00007181 
+ 00029192  0x00009387 arg  0x00000538 , 0x00000011 
+ 00029193  0x00009388 arg  0x00000620 , 0x00000005 
+ 00029194  0x00009389 call  0x000071a3 
+ 00029195  0x0000938a arg  0x00000620 , 0x00000006 
+ 00029196  0x0000938b arg  0x000005f0 , 0x00000005 
+ 00029197  0x0000938c call  0x00007d7e 
+ 00029198  0x0000938d arg  0x000005f0 , 0x00000011 
+ 00029199  0x0000938e call  0x00007143 
+ 00029200  0x0000938f arg  0x00000620 , 0x00000011 
+ 00029201  0x00009390 arg  0x000005f0 , 0x00000012 
+ 00029202  0x00009391 arg  0x00000620 , 0x00000005 
+ 00029203  0x00009392 call  0x00007150 
+ 00029204  0x00009393 arg  0x00000620 , 0x00000011 
+ 00029205  0x00009394 arg  0x00000638 , 0x00000012 
+ 00029206  0x00009395 arg  0x00000620 , 0x00000005 
+ 00029207  0x00009396 call  0x00007150 
+ 00029208  0x00009397 arg  0x00000538 , 0x00000006 
+ 00029209  0x00009398 arg  0x000005f0 , 0x00000005 
+ 00029210  0x00009399 call  0x00007d7e 
+ 00029211  0x0000939a arg  0x00000550 , 0x00000011 
+ 00029212  0x0000939b arg  0x00000638 , 0x00000005 
+ 00029213  0x0000939c call  0x000071a3 
+ 00029214  0x0000939d arg  0x000005f0 , 0x00000011 
+ 00029215  0x0000939e call  0x00007143 
+ 00029216  0x0000939f arg  0x000005f0 , 0x00000011 
+ 00029217  0x000093a0 call  0x00007143 
+ 00029218  0x000093a1 arg  0x000005f0 , 0x00000011 
+ 00029219  0x000093a2 arg  0x00000638 , 0x00000012 
+ 00029220  0x000093a3 arg  0x000005f0 , 0x00000005 
+ 00029221  0x000093a4 call  0x00007181 
+ 00029222  0x000093a5 arg  0x00000638 , 0x00000011 
+ 00029223  0x000093a6 arg  0x00000608 , 0x00000005 
+ 00029224  0x000093a7 call  0x000071a3 
+ 00029225  0x000093a8 arg  0x00000608 , 0x00000011 
+ 00029226  0x000093a9 call  0x00007143 
+ 00029227  0x000093aa arg  0x00000608 , 0x00000011 
+ 00029228  0x000093ab call  0x00007143 
+ 00029229  0x000093ac arg  0x00000608 , 0x00000011 
+ 00029230  0x000093ad call  0x00007143 
+ 00029231  0x000093ae arg  0x00000550 , 0x00000006 
+ 00029232  0x000093af arg  0x00000638 , 0x00000005 
+ 00029233  0x000093b0 call  0x00007d7e 
+ 00029234  0x000093b1 arg  0x00000638 , 0x00000011 
+ 00029235  0x000093b2 call  0x00007143 
+ 00029236  0x000093b3 arg  0x00000638 , 0x00000011 
+ 00029237  0x000093b4 arg  0x00000568 , 0x00000012 
+ 00029238  0x000093b5 arg  0x00000568 , 0x00000005 
+ 00029239  0x000093b6 call  0x00007181 
+ 00029240  0x000093b7 arg  0x00000620 , 0x00000011 
+ 00029241  0x000093b8 arg  0x00000638 , 0x00000005 
+ 00029242  0x000093b9 call  0x000071a3 
+ 00029243  0x000093ba arg  0x00000638 , 0x00000011 
+ 00029244  0x000093bb arg  0x000005f0 , 0x00000012 
+ 00029245  0x000093bc arg  0x00000638 , 0x00000005 
+ 00029246  0x000093bd call  0x00007153 
+ 00029247  0x000093be arg  0x00000638 , 0x00000011 
+ 00029248  0x000093bf arg  0x000005f0 , 0x00000012 
+ 00029249  0x000093c0 arg  0x00000538 , 0x00000005 
+ 00029250  0x000093c1 call  0x00007153 
+ 00029251  0x000093c2 arg  0x000005f0 , 0x00000011 
+ 00029252  0x000093c3 arg  0x00000538 , 0x00000012 
+ 00029253  0x000093c4 arg  0x00000638 , 0x00000005 
+ 00029254  0x000093c5 call  0x00007153 
+ 00029255  0x000093c6 arg  0x00000638 , 0x00000011 
+ 00029256  0x000093c7 arg  0x00000620 , 0x00000012 
+ 00029257  0x000093c8 arg  0x00000638 , 0x00000005 
+ 00029258  0x000093c9 call  0x00007181 
+ 00029259  0x000093ca arg  0x00000638 , 0x00000011 
+ 00029260  0x000093cb arg  0x00000608 , 0x00000012 
+ 00029261  0x000093cc arg  0x00000550 , 0x00000005 
+ 00029262  0x000093cd branch  0x00007153 
+ 00029263  0x000093d2 arg  0x000004d8 , 0x00000011 
+ 00029264  0x000093d3 arg  0x00000650 , 0x00000005 
+ 00029265  0x000093d4 call  0x000071a3 
+ 00029266  0x000093d5 arg  0x00000538 , 0x00000011 
+ 00029267  0x000093d6 arg  0x00000650 , 0x00000012 
+ 00029268  0x000093d7 arg  0x00000608 , 0x00000005 
+ 00029269  0x000093d8 call  0x00007181 
+ 00029270  0x000093d9 arg  0x000004d8 , 0x00000011 
+ 00029271  0x000093da arg  0x00000650 , 0x00000012 
+ 00029272  0x000093db arg  0x00000650 , 0x00000005 
+ 00029273  0x000093dc call  0x00007181 
+ 00029274  0x000093dd arg  0x00000550 , 0x00000011 
+ 00029275  0x000093de arg  0x00000650 , 0x00000012 
+ 00029276  0x000093df arg  0x000005f0 , 0x00000005 
+ 00029277  0x000093e0 call  0x00007181 
+ 00029278  0x000093e1 arg  0x00000568 , 0x00000011 
+ 00029279  0x000093e2 arg  0x00000650 , 0x00000005 
+ 00029280  0x000093e3 call  0x000071a3 
+ 00029281  0x000093e4 arg  0x000004a8 , 0x00000011 
+ 00029282  0x000093e5 arg  0x00000650 , 0x00000012 
+ 00029283  0x000093e6 arg  0x00000620 , 0x00000005 
+ 00029284  0x000093e7 call  0x00007181 
+ 00029285  0x000093e8 arg  0x00000568 , 0x00000011 
+ 00029286  0x000093e9 arg  0x00000650 , 0x00000012 
+ 00029287  0x000093ea arg  0x00000650 , 0x00000005 
+ 00029288  0x000093eb call  0x00007181 
+ 00029289  0x000093ec arg  0x000004c0 , 0x00000011 
+ 00029290  0x000093ed arg  0x00000650 , 0x00000012 
+ 00029291  0x000093ee arg  0x00000638 , 0x00000005 
+ 00029292  0x000093ef call  0x00007181 
+ 00029293  0x000093f0 arg  0x00000608 , 0x00000011 
+ 00029294  0x000093f1 arg  0x00000620 , 0x00000012 
+ 00029295  0x000093f2 arg  0x00000650 , 0x00000005 
+ 00029296  0x000093f3 call  0x00007153 
+ 00029297  0x000093f4 arg  0x00000608 , 0x00000011 
+ 00029298  0x000093f5 arg  0x00000620 , 0x00000012 
+ 00029299  0x000093f6 arg  0x00000608 , 0x00000005 
+ 00029300  0x000093f7 call  0x00007150 
+ 00029301  0x000093f8 arg  0x000005f0 , 0x00000011 
+ 00029302  0x000093f9 arg  0x00000638 , 0x00000012 
+ 00029303  0x000093fa arg  0x00000620 , 0x00000005 
+ 00029304  0x000093fb call  0x00007153 
+ 00029305  0x000093fc arg  0x000005f0 , 0x00000011 
+ 00029306  0x000093fd arg  0x00000638 , 0x00000012 
+ 00029307  0x000093fe arg  0x000005f0 , 0x00000005 
+ 00029308  0x000093ff call  0x00007150 
+ 00029309  0x00009400 arg  0x000005f0 , 0x00000011 
+ 00029310  0x00009401 arg  0x00000650 , 0x00000012 
+ 00029311  0x00009402 arg  0x000005f0 , 0x00000005 
+ 00029312  0x00009403 call  0x00007181 
+ 00029313  0x00009404 arg  0x00000568 , 0x00000011 
+ 00029314  0x00009405 arg  0x000004d8 , 0x00000012 
+ 00029315  0x00009406 arg  0x00000638 , 0x00000005 
+ 00029316  0x00009407 call  0x00007181 
+ 00029317  0x00009408 arg  0x00000638 , 0x00000011 
+ 00029318  0x00009409 arg  0x00000650 , 0x00000012 
+ 00029319  0x0000940a arg  0x00000568 , 0x00000005 
+ 00029320  0x0000940b call  0x00007181 
+ 00029321  0x0000940c arg  0x00000650 , 0x00000011 
+ 00029322  0x0000940d arg  0x00000650 , 0x00000005 
+ 00029323  0x0000940e call  0x000071a3 
+ 00029324  0x0000940f arg  0x00000650 , 0x00000011 
+ 00029325  0x00009410 arg  0x00000608 , 0x00000012 
+ 00029326  0x00009411 arg  0x00000638 , 0x00000005 
+ 00029327  0x00009412 call  0x00007181 
+ 00029328  0x00009413 arg  0x00000650 , 0x00000011 
+ 00029329  0x00009414 arg  0x000005f0 , 0x00000012 
+ 00029330  0x00009415 arg  0x000005f0 , 0x00000005 
+ 00029331  0x00009416 call  0x00007181 
+ 00029332  0x00009417 arg  0x00000620 , 0x00000011 
+ 00029333  0x00009418 arg  0x00000538 , 0x00000005 
+ 00029334  0x00009419 call  0x000071a3 
+ 00029335  0x0000941a arg  0x00000538 , 0x00000011 
+ 00029336  0x0000941b arg  0x00000638 , 0x00000012 
+ 00029337  0x0000941c arg  0x00000538 , 0x00000005 
+ 00029338  0x0000941d call  0x00007153 
+ 00029339  0x0000941e arg  0x00000538 , 0x00000006 
+ 00029340  0x0000941f arg  0x00000650 , 0x00000005 
+ 00029341  0x00009420 call  0x00007d7e 
+ 00029342  0x00009421 arg  0x00000650 , 0x00000011 
+ 00029343  0x00009422 call  0x00007143 
+ 00029344  0x00009423 arg  0x00000638 , 0x00000011 
+ 00029345  0x00009424 arg  0x00000650 , 0x00000012 
+ 00029346  0x00009425 arg  0x00000638 , 0x00000005 
+ 00029347  0x00009426 call  0x00007153 
+ 00029348  0x00009427 arg  0x00000638 , 0x00000011 
+ 00029349  0x00009428 arg  0x00000620 , 0x00000012 
+ 00029350  0x00009429 arg  0x00000620 , 0x00000005 
+ 00029351  0x0000942a call  0x00007181 
+ 00029352  0x0000942b arg  0x00000620 , 0x00000011 
+ 00029353  0x0000942c arg  0x000005f0 , 0x00000012 
+ 00029354  0x0000942d arg  0x00000550 , 0x00000005 
+ 00029355  0x0000942e call  0x00007153 
+ 00029356  0x0000942f arg  0x00000550 , 0x00000011 
+ 00029357  0x00009430 arg  0x00000748 , 0x00000012 
+ 00029358  0x00009431 arg  0x00000550 , 0x00000005 
+ 00029359  0x00009432 force  0x00000000 , 0x00000013 
+ 00029360  0x00009433 fetch  0x00000001 , 0x00000550 
+ 00029361  0x00009434 isolate1  0x00000000 , 0x0000003f 
+ 00029362  0x00009435 call  0x0000710c , 0x00000001 
+ 00029363  0x00009436 copy  0x00000013 , 0x00000030 
+ 00029364  0x00009437 arg  0x00000550 , 0x00000011 
+ 00029365  0x00009438 call  0x00007128 
+ 00029366  0x00009439 fetch  0x00000001 , 0x00000567 
+ 00029367  0x0000943a isolate1  0x00000000 , 0x00000030 
+ 00029368  0x0000943b setflag  0x00000001 , 0x00000007 , 0x0000003f 
+ 00029369  0x0000943c store  0x00000001 , 0x00000567 
+ 00029370  0x0000943d rtn 
+ 00029371  0x00009442 fetch  0x00000001 , 0x000004a5 
+ 00029372  0x00009443 increase  0xffffffff , 0x0000003f 
+ 00029373  0x00009444 nrtn  0x00000002 
+ 00029374  0x00009445 store  0x00000001 , 0x000004a5 
+ 00029375  0x00009446 fetch  0x00000001 , 0x000004a4 
+ 00029376  0x00009447 call  0x000071fe , 0x00000034 
+ 00029377  0x00009448 fetch  0x00000001 , 0x000004a5 
+ 00029378  0x00009449 arg  0x00000580 , 0x00000006 
+ 00029379  0x0000944a call  0x000070e7 
+ 00029380  0x0000944b branch  0x000072bb , 0x00000001 
+ 00029381  0x0000944c fetch  0x00000001 , 0x000004a4 
+ 00029382  0x0000944d nbranch  0x000072c9 , 0x00000034 
+ 00029383  0x0000944e call  0x0000724f 
+ 00029384  0x0000944f branch  0x000072bb 
+ 00029385  0x00009451 jam  0x00000000 , 0x000004a4 
+ 00029386  0x00009452 arg  0x000004a8 , 0x00000006 
+ 00029387  0x00009453 arg  0x00000538 , 0x00000005 
+ 00029388  0x00009454 call  0x000070ed 
+ 00029389  0x00009455 branch  0x000072bb 
+ 00029390  0x00009459 arg  0x00000568 , 0x00000011 
+ 00029391  0x0000945a arg  0x00000638 , 0x00000005 
+ 00029392  0x0000945b call  0x000071b9 
+ 00029393  0x0000945c arg  0x00000638 , 0x00000011 
+ 00029394  0x0000945d arg  0x000005f0 , 0x00000005 
+ 00029395  0x0000945e call  0x000071a3 
+ 00029396  0x0000945f arg  0x00000538 , 0x00000011 
+ 00029397  0x00009460 arg  0x000005f0 , 0x00000012 
+ 00029398  0x00009461 arg  0x000004f0 , 0x00000005 
+ 00029399  0x00009462 call  0x00007181 
+ 00029400  0x00009463 arg  0x00000638 , 0x00000011 
+ 00029401  0x00009464 arg  0x000005f0 , 0x00000012 
+ 00029402  0x00009465 arg  0x00000620 , 0x00000005 
+ 00029403  0x00009466 call  0x00007181 
+ 00029404  0x00009467 arg  0x00000550 , 0x00000011 
+ 00029405  0x00009468 arg  0x00000620 , 0x00000012 
+ 00029406  0x00009469 arg  0x00000508 , 0x00000005 
+ 00029407  0x0000946a branch  0x00007181 
+ 00029408  0x0000946f ifetch  0x00000004 , 0x00000006 
+ 00029409  0x00009470 force  0x00000004 , 0x00000011 
+ 00029410  0x00009471 increase  0x00000003 , 0x00000005 
+ 00029411  0x00009473 istore  0x00000001 , 0x00000005 
+ 00029412  0x00009474 rshift8  0x0000003f , 0x0000003f 
+ 00029413  0x00009475 increase  0xfffffffe , 0x00000005 
+ 00029414  0x00009476 increase  0xffffffff , 0x00000011 
+ 00029415  0x00009477 nbranch  0x000072e3 , 0x00000005 
+ 00029416  0x00009478 increase  0x00000005 , 0x00000005 
+ 00029417  0x00009479 loop  0x000072e0 
+ 00029418  0x0000947a rtn 
+ 00029419  0x0000947e lshift2  0x00000007 , 0x0000003f 
+ 00029420  0x0000947f iadd  0x0000000b , 0x00000006 
+ 00029421  0x00009480 ifetch  0x00000004 , 0x00000006 
+ 00029422  0x00009481 rtn 
+ 00029423  0x00009484 force  0x00000010 , 0x00000030 
+ 00029424  0x00009485 arg  0x000004a8 , 0x0000000b 
+ 00029425  0x00009487 add  0x00000030 , 0xfffffff9 , 0x00000007 
+ 00029426  0x00009488 call  0x000072eb 
+ 00029427  0x00009489 iforce  0x00000002 
+ 00029428  0x0000948a add  0x00000030 , 0xfffffff0 , 0x00000007 
+ 00029429  0x0000948b call  0x000072eb 
+ 00029430  0x0000948c iadd  0x00000002 , 0x00000002 
+ 00029431  0x0000948d add  0x00000030 , 0xfffffffe , 0x00000007 
+ 00029432  0x0000948e call  0x000072eb 
+ 00029433  0x0000948f shasx  0x0000003f , 0x00000001 , 0x0000003f 
+ 00029434  0x00009490 iadd  0x00000002 , 0x00000002 
+ 00029435  0x00009491 add  0x00000030 , 0xfffffff1 , 0x00000007 
+ 00029436  0x00009492 call  0x000072eb 
+ 00029437  0x00009493 shasx  0x0000003f , 0x00000000 , 0x0000003f 
+ 00029438  0x00009494 iadd  0x00000002 , 0x00000002 
+ 00029439  0x00009495 lshift2  0x00000030 , 0x0000003f 
+ 00029440  0x00009496 iadd  0x0000000b , 0x00000005 
+ 00029441  0x00009497 istoret  0x00000004 , 0x00000005 
+ 00029442  0x00009498 increase  0x00000001 , 0x00000030 
+ 00029443  0x00009499 compare  0x00000040 , 0x00000030 , 0x000000ff 
+ 00029444  0x0000949a nbranch  0x000072f1 , 0x00000001 
+ 00029445  0x0000949b rtn 
+ 00029446  0x0000949f arg  0x000007c0 , 0x00000006 
+ 00029447  0x000094a0 force  0x00000007 , 0x00000038 
+ 00029448  0x000094a2 ifetch  0x00000004 , 0x00000006 
+ 00029449  0x000094a3 iforce  0x0000002f 
+ 00029450  0x000094a4 increase  0xffffffff , 0x00000038 
+ 00029451  0x000094a5 branch  0x00007308 , 0x00000002 
+ 00029452  0x000094a6 rtn 
+ 00029453  0x000094a9 bpatchx  0x0000007d , 0x0000402f 
+ 00029454  0x000094aa call  0x000072ef 
+ 00029455  0x000094ab arg  0x000005a8 , 0x00000005 
+ 00029456  0x000094ac force  0x00000000 , 0x00000038 
+ 00029457  0x000094ae deposit  0x0000002f 
+ 00029458  0x000094af istore  0x00000004 , 0x00000005 
+ 00029459  0x000094b0 increase  0x00000001 , 0x00000038 
+ 00029460  0x000094b1 compare  0x00000008 , 0x00000038 , 0x000000ff 
+ 00029461  0x000094b2 nbranch  0x00007311 , 0x00000001 
+ 00029462  0x000094b3 call  0x00006e5e 
+ 00029463  0x000094b4 arg  0x00009300 , 0x0000000b 
+ 00029464  0x000094b5 arg  0x000004a8 , 0x00000030 
+ 00029465  0x000094b6 force  0x00000040 , 0x00000039 
+ 00029466  0x000094b8 ifetcht  0x00000004 , 0x00000030 
+ 00029467  0x000094b9 ifetch  0x00000004 , 0x0000000b 
+ 00029468  0x000094ba increase  0x00000004 , 0x0000000b 
+ 00029469  0x000094bb increase  0x00000004 , 0x00000030 
+ 00029470  0x000094bc iadd  0x00000002 , 0x0000003f 
+ 00029471  0x000094bd force  0x00000007 , 0x00000038 
+ 00029472  0x000094be iadd  0x0000002f , 0x00000002 
+ 00029473  0x000094bf force  0x00000004 , 0x00000038 
+ 00029474  0x000094c0 shasx  0x0000002f , 0x00000003 , 0x0000003f 
+ 00029475  0x000094c1 iadd  0x00000002 , 0x00000002 
+ 00029476  0x000094c2 force  0x00000005 , 0x00000038 
+ 00029477  0x000094c3 deposit  0x0000002f 
+ 00029478  0x000094c4 force  0x00000006 , 0x00000038 
+ 00029479  0x000094c5 ixor  0x0000002f , 0x0000003f 
+ 00029480  0x000094c6 force  0x00000004 , 0x00000038 
+ 00029481  0x000094c7 iand  0x0000002f , 0x0000003f 
+ 00029482  0x000094c8 force  0x00000006 , 0x00000038 
+ 00029483  0x000094c9 ixor  0x0000002f , 0x0000003f 
+ 00029484  0x000094ca iadd  0x00000002 , 0x00000002 
+ 00029485  0x000094cb force  0x00000007 , 0x00000038 
+ 00029486  0x000094cc copy  0x00000002 , 0x0000002f 
+ 00029487  0x000094cd force  0x00000003 , 0x00000038 
+ 00029488  0x000094ce deposit  0x0000002f 
+ 00029489  0x000094cf iadd  0x00000002 , 0x0000002f 
+ 00029490  0x000094d0 force  0x00000000 , 0x00000038 
+ 00029491  0x000094d1 deposit  0x0000002f 
+ 00029492  0x000094d2 force  0x00000001 , 0x00000038 
+ 00029493  0x000094d3 iand  0x0000002f , 0x00000002 
+ 00029494  0x000094d4 ior  0x0000002f , 0x0000003f 
+ 00029495  0x000094d5 force  0x00000002 , 0x00000038 
+ 00029496  0x000094d6 iand  0x0000002f , 0x0000003f 
+ 00029497  0x000094d7 ior  0x00000002 , 0x00000002 
+ 00029498  0x000094d8 force  0x00000000 , 0x00000038 
+ 00029499  0x000094d9 shasx  0x0000002f , 0x00000002 , 0x0000003f 
+ 00029500  0x000094da iadd  0x00000002 , 0x0000003f 
+ 00029501  0x000094db force  0x00000007 , 0x00000038 
+ 00029502  0x000094dc iadd  0x0000002f , 0x0000002f 
+ 00029503  0x000094dd regexrot 
+ 00029504  0x000094de loop  0x0000731a 
+ 00029505  0x000094df arg  0x000005a8 , 0x00000006 
+ 00029506  0x000094e0 force  0x00000000 , 0x00000038 
+ 00029507  0x000094e2 ifetch  0x00000004 , 0x00000006 
+ 00029508  0x000094e3 iadd  0x0000002f , 0x0000002f 
+ 00029509  0x000094e4 increase  0x00000001 , 0x00000038 
+ 00029510  0x000094e5 compare  0x00000008 , 0x00000038 , 0x000000ff 
+ 00029511  0x000094e6 nbranch  0x00007343 , 0x00000001 
+ 00029512  0x000094e7 branch  0x00006e62 
+ 00029513  0x000094eb arg  0x00000900 , 0x00000005 
+ 00029514  0x000094ec force  0x00000007 , 0x00000038 
+ 00029515  0x000094ee deposit  0x0000002f 
+ 00029516  0x000094ef istore  0x00000004 , 0x00000005 
+ 00029517  0x000094f0 increase  0xffffffff , 0x00000038 
+ 00029518  0x000094f1 branch  0x0000734b , 0x00000002 
+ 00029519  0x000094f2 rtn 
+ 00029520  0x000094f6 arg  0x000004a8 , 0x00000005 
+ 00029521  0x000094f7 increase  0xfffffffc , 0x00000006 
+ 00029522  0x000094f8 sub  0x00000039 , 0x00000010 , 0x00000011 
+ 00029523  0x000094fa ifetch  0x00000004 , 0x00000006 
+ 00029524  0x000094fb ixor  0x00000002 , 0x0000003f 
+ 00029525  0x000094fc istore  0x00000004 , 0x00000005 
+ 00029526  0x000094fd increase  0xfffffff8 , 0x00000006 
+ 00029527  0x000094fe loop  0x00007353 
+ 00029528  0x000094ff copy  0x00000011 , 0x00000039 
+ 00029529  0x00009500 deposit  0x00000002 
+ 00029530  0x00009502 istore  0x00000004 , 0x00000005 
+ 00029531  0x00009503 loop  0x0000735a 
+ 00029532  0x00009504 rtn 
+ 00029533  0x00009507 fetch  0x00000001 , 0x00004648 
+ 00029534  0x00009508 beq  0x00000002 , 0x00007364 
+ 00029535  0x00009509 beq  0x00000001 , 0x00007361 
+ 00029536  0x0000950a rtn 
+ 00029537  0x0000950d call  0x00007369 
+ 00029538  0x0000950e call  0x00007349 
+ 00029539  0x0000950f branch  0x0000738f 
+ 00029540  0x00009512 call  0x000073a3 
+ 00029541  0x00009513 call  0x00007349 
+ 00029542  0x00009514 branch  0x0000738f 
+ 00029543  0x00009517 call  0x00007369 
+ 00029544  0x00009518 branch  0x0000738f 
+ 00029545  0x0000951b arg  0x000008a0 , 0x00000006 
+ 00029546  0x0000951c arg  0x000004a8 , 0x00000005 
+ 00029547  0x0000951d force  0x00000006 , 0x00000039 
+ 00029548  0x0000951e call  0x0000748d 
+ 00029549  0x0000951f arg  0x0000474f , 0x00000006 
+ 00029550  0x00009520 force  0x00000006 , 0x00000039 
+ 00029551  0x00009521 call  0x0000748d 
+ 00029552  0x00009522 arg  0x00000900 , 0x00000006 
+ 00029553  0x00009523 call  0x0000748c 
+ 00029554  0x00009524 call  0x00007306 
+ 00029555  0x00009525 call  0x0000730d 
+ 00029556  0x00009526 arg  0x000008f0 , 0x00000006 
+ 00029557  0x00009527 arg  0x000004a8 , 0x00000005 
+ 00029558  0x00009528 branch  0x00007386 
+ 00029559  0x0000952b arg  0x0000474f , 0x00000006 
+ 00029560  0x0000952c arg  0x000004a8 , 0x00000005 
+ 00029561  0x0000952d force  0x00000006 , 0x00000039 
+ 00029562  0x0000952e call  0x0000748d 
+ 00029563  0x0000952f arg  0x000008a0 , 0x00000006 
+ 00029564  0x00009530 force  0x00000006 , 0x00000039 
+ 00029565  0x00009531 call  0x0000748d 
+ 00029566  0x00009532 arg  0x000008f0 , 0x00000006 
+ 00029567  0x00009533 call  0x0000748c 
+ 00029568  0x00009534 call  0x00007306 
+ 00029569  0x00009535 call  0x0000730d 
+ 00029570  0x00009536 arg  0x00000900 , 0x00000006 
+ 00029571  0x00009537 arg  0x000004a8 , 0x00000005 
+ 00029572  0x00009538 call  0x00007386 
+ 00029573  0x00009539 branch  0x0000738f 
+ 00029574  0x0000953c call  0x0000748c 
+ 00029575  0x0000953d setarg  0x00800000 
+ 00029576  0x0000953e lshift8  0x0000003f , 0x0000003f 
+ 00029577  0x0000953f istore  0x00000004 , 0x00000005 
+ 00029578  0x00009540 force  0x00000005 , 0x00000039 
+ 00029579  0x00009541 call  0x00007d8c 
+ 00029580  0x00009542 setarg  0x00000280 
+ 00029581  0x00009543 istore  0x00000004 , 0x00000005 
+ 00029582  0x00009544 branch  0x0000730d 
+ 00029583  0x00009546 fetch  0x00000004 , 0x00000900 
+ 00029584  0x00009548 arg  0x000003e8 , 0x00000011 
+ 00029585  0x00009549 idiv  0x00000011 
+ 00029586  0x0000954a call  0x00007e64 
+ 00029587  0x0000954b remainder  0x0000003f 
+ 00029588  0x0000954c store  0x00000004 , 0x0000087c 
+ 00029589  0x0000954d quotient  0x0000003f 
+ 00029590  0x0000954e arg  0x000003e8 , 0x00000011 
+ 00029591  0x0000954f idiv  0x00000011 
+ 00029592  0x00009550 call  0x00007e64 
+ 00029593  0x00009551 remainder  0x0000003f 
+ 00029594  0x00009552 arg  0x000003e8 , 0x00000011 
+ 00029595  0x00009553 imul32  0x00000011 , 0x0000003f 
+ 00029596  0x00009554 fetcht  0x00000004 , 0x0000087c 
+ 00029597  0x00009555 iadd  0x00000002 , 0x0000003f 
+ 00029598  0x00009556 store  0x00000004 , 0x0000087c 
+ 00029599  0x00009557 rtn 
+ 00029600  0x0000955a call  0x000073a3 
+ 00029601  0x0000955b call  0x00007349 
+ 00029602  0x0000955c branch  0x0000738f 
+ 00029603  0x00009560 arg  0x000008a0 , 0x00000006 
+ 00029604  0x00009561 arg  0x000004a8 , 0x00000005 
+ 00029605  0x00009562 force  0x00000008 , 0x00000039 
+ 00029606  0x00009563 call  0x0000748d 
+ 00029607  0x00009564 arg  0x000046ff , 0x00000006 
+ 00029608  0x00009565 force  0x00000008 , 0x00000039 
+ 00029609  0x00009566 call  0x0000748d 
+ 00029610  0x00009569 call  0x00007306 
+ 00029611  0x0000956a call  0x0000730d 
+ 00029612  0x0000956b arg  0x00000900 , 0x00000006 
+ 00029613  0x0000956c arg  0x000004a8 , 0x00000005 
+ 00029614  0x0000956d call  0x0000748c 
+ 00029615  0x0000956e arg  0x000008f0 , 0x00000006 
+ 00029616  0x0000956f branch  0x000073b1 
+ 00029617  0x00009572 call  0x0000748c 
+ 00029618  0x00009573 setarg  0x00800000 
+ 00029619  0x00009574 lshift8  0x0000003f , 0x0000003f 
+ 00029620  0x00009575 istore  0x00000004 , 0x00000005 
+ 00029621  0x00009576 force  0x00000003 , 0x00000039 
+ 00029622  0x00009577 call  0x00007d8c 
+ 00029623  0x00009578 setarg  0x00000300 
+ 00029624  0x00009579 istore  0x00000004 , 0x00000005 
+ 00029625  0x0000957a branch  0x0000730d 
+ 00029626  0x0000957d jam  0x00000000 , 0x00004771 
+ 00029627  0x0000957e branch  0x000073be 
+ 00029628  0x00009581 fetch  0x00000001 , 0x0000476f 
+ 00029629  0x00009582 bne  0x00000002 , 0x000073ba 
+ 00029630  0x00009584 bpatchx  0x0000007e , 0x0000402f 
+ 00029631  0x00009585 setarg  0x00363636 
+ 00029632  0x00009586 lshift8  0x0000003f , 0x00000002 
+ 00029633  0x00009587 or_into  0x00000036 , 0x00000002 
+ 00029634  0x00009588 fetch  0x00000002 , 0x00000940 
+ 00029635  0x00009589 copy  0x0000003f , 0x00000006 
+ 00029636  0x0000958a force  0x00000004 , 0x00000039 
+ 00029637  0x0000958b call  0x00007350 
+ 00029638  0x0000958c call  0x00007306 
+ 00029639  0x0000958d call  0x0000730d 
+ 00029640  0x0000958e fetch  0x00000002 , 0x00000942 
+ 00029641  0x0000958f copy  0x0000003f , 0x00000006 
+ 00029642  0x00009590 arg  0x000004a8 , 0x00000005 
+ 00029643  0x00009591 force  0x00000006 , 0x00000039 
+ 00029644  0x00009592 call  0x0000748d 
+ 00029645  0x00009593 fetch  0x00000002 , 0x00000944 
+ 00029646  0x00009594 copy  0x0000003f , 0x00000006 
+ 00029647  0x00009595 force  0x00000006 , 0x00000039 
+ 00029648  0x00009596 call  0x0000748d 
+ 00029649  0x00009597 setarg  0x00800000 
+ 00029650  0x00009598 istore  0x00000003 , 0x00000005 
+ 00029651  0x0000959a fetch  0x00000001 , 0x00004771 
+ 00029652  0x0000959c istore  0x00000001 , 0x00000005 
+ 00029653  0x0000959d force  0x00000000 , 0x0000003f 
+ 00029654  0x0000959e istore  0x00000008 , 0x00000005 
+ 00029655  0x0000959f setarg  0x00000388 
+ 00029656  0x000095a0 istore  0x00000004 , 0x00000005 
+ 00029657  0x000095a2 call  0x0000730d 
+ 00029658  0x000095a3 call  0x00007349 
+ 00029659  0x000095a4 arg  0x00000900 , 0x00000006 
+ 00029660  0x000095a5 arg  0x000005c8 , 0x00000005 
+ 00029661  0x000095a6 call  0x00007d7d 
+ 00029662  0x000095a8 setarg  0x005c5c5c 
+ 00029663  0x000095a9 lshift8  0x0000003f , 0x00000002 
+ 00029664  0x000095aa or_into  0x0000005c , 0x00000002 
+ 00029665  0x000095ab fetch  0x00000002 , 0x00000940 
+ 00029666  0x000095ac copy  0x0000003f , 0x00000006 
+ 00029667  0x000095ad force  0x00000004 , 0x00000039 
+ 00029668  0x000095ae call  0x00007350 
+ 00029669  0x000095af call  0x00007306 
+ 00029670  0x000095b0 call  0x0000730d 
+ 00029671  0x000095b1 arg  0x000005e8 , 0x00000006 
+ 00029672  0x000095b2 arg  0x000004a8 , 0x00000005 
+ 00029673  0x000095b3 force  0x00000008 , 0x00000039 
+ 00029674  0x000095b4 call  0x0000748d 
+ 00029675  0x000095b5 setarg  0x00800000 
+ 00029676  0x000095b6 lshift8  0x0000003f , 0x0000003f 
+ 00029677  0x000095b7 istore  0x00000004 , 0x00000005 
+ 00029678  0x000095b8 call  0x00007d8b 
+ 00029679  0x000095b9 setarg  0x00000300 
+ 00029680  0x000095ba istore  0x00000004 , 0x00000005 
+ 00029681  0x000095bb call  0x0000730d 
+ 00029682  0x000095bc branch  0x00007349 
+ 00029683  0x000095c0 setarg  0x00363636 
+ 00029684  0x000095c1 lshift8  0x0000003f , 0x00000002 
+ 00029685  0x000095c2 or_into  0x00000036 , 0x00000002 
+ 00029686  0x000095c3 arg  0x000008e0 , 0x00000006 
+ 00029687  0x000095c4 force  0x00000006 , 0x00000039 
+ 00029688  0x000095c5 call  0x00007350 
+ 00029689  0x000095c6 call  0x00007306 
+ 00029690  0x000095c7 call  0x0000730d 
+ 00029691  0x000095c8 fetch  0x00000002 , 0x0000094c 
+ 00029692  0x000095c9 copy  0x0000003f , 0x00000006 
+ 00029693  0x000095ca arg  0x000004a8 , 0x00000005 
+ 00029694  0x000095cb call  0x0000748c 
+ 00029695  0x000095cc fetch  0x00000002 , 0x0000094e 
+ 00029696  0x000095cd copy  0x0000003f , 0x00000006 
+ 00029697  0x000095ce call  0x0000748c 
+ 00029698  0x000095d0 setarg  0x0062746c 
+ 00029699  0x000095d1 lshift8  0x0000003f , 0x0000003f 
+ 00029700  0x000095d2 or_into  0x0000006b , 0x0000003f 
+ 00029701  0x000095d3 istore  0x00000004 , 0x00000005 
+ 00029702  0x000095d4 arg  0x000005f5 , 0x00000006 
+ 00029703  0x000095d5 force  0x00000003 , 0x00000039 
+ 00029704  0x000095d6 call  0x0000748d 
+ 00029705  0x000095d8 setarg  0x00800000 
+ 00029706  0x000095d9 lshift8  0x0000003f , 0x0000003f 
+ 00029707  0x000095da istore  0x00000004 , 0x00000005 
+ 00029708  0x000095db force  0x00000000 , 0x0000003f 
+ 00029709  0x000095dc istore  0x00000008 , 0x00000005 
+ 00029710  0x000095dd setarg  0x00000380 
+ 00029711  0x000095de istore  0x00000004 , 0x00000005 
+ 00029712  0x000095df call  0x0000730d 
+ 00029713  0x000095e1 call  0x00007349 
+ 00029714  0x000095e2 arg  0x00000900 , 0x00000006 
+ 00029715  0x000095e3 arg  0x000005c8 , 0x00000005 
+ 00029716  0x000095e4 call  0x00007d7d 
+ 00029717  0x000095e6 setarg  0x005c5c5c 
+ 00029718  0x000095e7 lshift8  0x0000003f , 0x00000002 
+ 00029719  0x000095e8 or_into  0x0000005c , 0x00000002 
+ 00029720  0x000095e9 arg  0x000008e0 , 0x00000006 
+ 00029721  0x000095ea force  0x00000006 , 0x00000039 
+ 00029722  0x000095eb call  0x00007350 
+ 00029723  0x000095ec call  0x00007306 
+ 00029724  0x000095ed call  0x0000730d 
+ 00029725  0x000095ee arg  0x000005e8 , 0x00000006 
+ 00029726  0x000095ef arg  0x000004a8 , 0x00000005 
+ 00029727  0x000095f0 force  0x00000008 , 0x00000039 
+ 00029728  0x000095f1 call  0x0000748d 
+ 00029729  0x000095f2 setarg  0x00800000 
+ 00029730  0x000095f3 lshift8  0x0000003f , 0x0000003f 
+ 00029731  0x000095f4 istore  0x00000004 , 0x00000005 
+ 00029732  0x000095f5 call  0x00007d8b 
+ 00029733  0x000095f6 setarg  0x00000300 
+ 00029734  0x000095f7 istore  0x00000004 , 0x00000005 
+ 00029735  0x000095f8 call  0x0000730d 
+ 00029736  0x000095f9 branch  0x00007349 
+ 00029737  0x000095fd fetch  0x00000001 , 0x0000476f 
+ 00029738  0x000095fe bne  0x00000002 , 0x0000743a 
+ 00029739  0x00009600 bpatchx  0x0000007f , 0x0000402f 
+ 00029740  0x00009601 setarg  0x00363636 
+ 00029741  0x00009602 lshift8  0x0000003f , 0x00000002 
+ 00029742  0x00009603 or_into  0x00000036 , 0x00000002 
+ 00029743  0x00009604 arg  0x000008e0 , 0x00000006 
+ 00029744  0x00009605 force  0x00000006 , 0x00000039 
+ 00029745  0x00009606 call  0x00007350 
+ 00029746  0x00009607 call  0x00007306 
+ 00029747  0x00009608 call  0x0000730d 
+ 00029748  0x00009609 arg  0x00000900 , 0x00000006 
+ 00029749  0x0000960a arg  0x000004a8 , 0x00000005 
+ 00029750  0x0000960b call  0x0000748c 
+ 00029751  0x0000960c arg  0x000008f0 , 0x00000006 
+ 00029752  0x0000960d call  0x0000748c 
+ 00029753  0x0000960e branch  0x0000744f 
+ 00029754  0x00009611 setarg  0x00000000 
+ 00029755  0x00009612 store  0x00000004 , 0x00004797 
+ 00029756  0x00009613 branch  0x0000742b 
+ 00029757  0x00009616 setarg  0x00000000 
+ 00029758  0x00009617 store  0x00000004 , 0x00004797 
+ 00029759  0x00009618 branch  0x00007442 
+ 00029760  0x0000961c fetch  0x00000001 , 0x0000476f 
+ 00029761  0x0000961d bne  0x00000002 , 0x0000743d 
+ 00029762  0x0000961f setarg  0x00363636 
+ 00029763  0x00009620 lshift8  0x0000003f , 0x00000002 
+ 00029764  0x00009621 or_into  0x00000036 , 0x00000002 
+ 00029765  0x00009622 arg  0x000008e0 , 0x00000006 
+ 00029766  0x00009623 force  0x00000006 , 0x00000039 
+ 00029767  0x00009624 call  0x00007350 
+ 00029768  0x00009625 call  0x00007306 
+ 00029769  0x00009626 call  0x0000730d 
+ 00029770  0x00009628 arg  0x000008f0 , 0x00000006 
+ 00029771  0x00009629 arg  0x000004a8 , 0x00000005 
+ 00029772  0x0000962a call  0x0000748c 
+ 00029773  0x0000962b arg  0x00000900 , 0x00000006 
+ 00029774  0x0000962c call  0x0000748c 
+ 00029775  0x0000962e setarg  0x00000000 
+ 00029776  0x0000962f istore  0x00000008 , 0x00000005 
+ 00029777  0x00009630 istore  0x00000004 , 0x00000005 
+ 00029778  0x00009631 fetch  0x00000004 , 0x00004797 
+ 00029779  0x00009632 istore  0x00000004 , 0x00000005 
+ 00029780  0x00009634 copy  0x00000005 , 0x00000002 
+ 00029781  0x00009635 jam  0x00000080 , 0x000005e8 
+ 00029782  0x00009636 copy  0x00000002 , 0x00000005 
+ 00029783  0x00009637 arg  0x000005f8 , 0x00000006 
+ 00029784  0x00009638 call  0x0000748c 
+ 00029785  0x0000963a call  0x0000730d 
+ 00029786  0x0000963c arg  0x000004a8 , 0x00000005 
+ 00029787  0x0000963d force  0x00000007 , 0x00000039 
+ 00029788  0x0000963e call  0x00007d8c 
+ 00029789  0x0000963f istore  0x00000004 , 0x00000005 
+ 00029790  0x00009640 setarg  0x000003f8 
+ 00029791  0x00009641 istore  0x00000004 , 0x00000005 
+ 00029792  0x00009642 call  0x0000730d 
+ 00029793  0x00009643 call  0x00007349 
+ 00029794  0x00009645 arg  0x00000900 , 0x00000006 
+ 00029795  0x00009646 arg  0x000005c8 , 0x00000005 
+ 00029796  0x00009647 call  0x00007d7d 
+ 00029797  0x00009649 setarg  0x005c5c5c 
+ 00029798  0x0000964a lshift8  0x0000003f , 0x00000002 
+ 00029799  0x0000964b or_into  0x0000005c , 0x00000002 
+ 00029800  0x0000964c arg  0x000008e0 , 0x00000006 
+ 00029801  0x0000964d force  0x00000006 , 0x00000039 
+ 00029802  0x0000964e call  0x00007350 
+ 00029803  0x0000964f call  0x00007306 
+ 00029804  0x00009650 call  0x0000730d 
+ 00029805  0x00009651 arg  0x000005e8 , 0x00000006 
+ 00029806  0x00009652 arg  0x000004a8 , 0x00000005 
+ 00029807  0x00009653 force  0x00000008 , 0x00000039 
+ 00029808  0x00009654 call  0x0000748d 
+ 00029809  0x00009655 setarg  0x00800000 
+ 00029810  0x00009656 lshift8  0x0000003f , 0x0000003f 
+ 00029811  0x00009657 istore  0x00000004 , 0x00000005 
+ 00029812  0x00009658 call  0x00007d8b 
+ 00029813  0x00009659 setarg  0x00000300 
+ 00029814  0x0000965a istore  0x00000004 , 0x00000005 
+ 00029815  0x0000965b call  0x0000730d 
+ 00029816  0x0000965c branch  0x00007349 
+ 00029817  0x0000965f jam  0x000000c0 , 0x000004a5 
+ 00029818  0x00009661 fetch  0x00000001 , 0x000004a5 
+ 00029819  0x00009662 rtn  0x00000034 
+ 00029820  0x00009663 increase  0xffffffff , 0x0000003f 
+ 00029821  0x00009664 store  0x00000001 , 0x000004a5 
+ 00029822  0x00009665 arg  0x00000580 , 0x00000006 
+ 00029823  0x00009666 call  0x000070e7 
+ 00029824  0x00009667 branch  0x0000747a , 0x00000001 
+ 00029825  0x00009668 arg  0x000004a8 , 0x00000006 
+ 00029826  0x00009669 arg  0x00000538 , 0x00000005 
+ 00029827  0x0000966a branch  0x000070ed 
+ 00029828  0x0000966d call  0x000071fe 
+ 00029829  0x0000966e fetch  0x00000001 , 0x000004a5 
+ 00029830  0x0000966f increase  0xffffffff , 0x0000003f 
+ 00029831  0x00009670 store  0x00000001 , 0x000004a5 
+ 00029832  0x00009671 arg  0x00000580 , 0x00000006 
+ 00029833  0x00009672 call  0x000070e7 
+ 00029834  0x00009673 rtn  0x00000001 
+ 00029835  0x00009674 branch  0x0000724f 
+ 00029836  0x00009677 force  0x00000004 , 0x00000039 
+ 00029837  0x00009679 increase  0xfffffffc , 0x00000006 
+ 00029838  0x0000967b ifetch  0x00000004 , 0x00000006 
+ 00029839  0x0000967c istore  0x00000004 , 0x00000005 
+ 00029840  0x0000967d increase  0xfffffff8 , 0x00000006 
+ 00029841  0x0000967e loop  0x0000748e 
+ 00029842  0x0000967f rtn 
+ 00029843  0x00009683 jam  0x00000000 , 0x00004771 
+ 00029844  0x00009684 branch  0x00007497 
+ 00029845  0x00009687 fetch  0x00000001 , 0x0000476f 
+ 00029846  0x00009688 bne  0x00000002 , 0x00007493 
+ 00029847  0x0000968a setarg  0x00363636 
+ 00029848  0x0000968b lshift8  0x0000003f , 0x00000002 
+ 00029849  0x0000968c or_into  0x00000036 , 0x00000002 
+ 00029850  0x0000968d fetch  0x00000002 , 0x00000940 
+ 00029851  0x0000968e copy  0x0000003f , 0x00000006 
+ 00029852  0x0000968f force  0x00000004 , 0x00000039 
+ 00029853  0x00009690 call  0x00007350 
+ 00029854  0x00009691 call  0x00007306 
+ 00029855  0x00009692 call  0x0000730d 
+ 00029856  0x00009693 fetch  0x00000002 , 0x00000942 
+ 00029857  0x00009694 copy  0x0000003f , 0x00000006 
+ 00029858  0x00009695 arg  0x000004a8 , 0x00000005 
+ 00029859  0x00009696 force  0x00000008 , 0x00000039 
+ 00029860  0x00009697 call  0x0000748d 
+ 00029861  0x00009698 fetch  0x00000002 , 0x00000944 
+ 00029862  0x00009699 copy  0x0000003f , 0x00000006 
+ 00029863  0x0000969a force  0x00000008 , 0x00000039 
+ 00029864  0x0000969b call  0x0000748d 
+ 00029865  0x0000969c call  0x0000730d 
+ 00029866  0x0000969d arg  0x000004a8 , 0x00000005 
+ 00029867  0x0000969e setarg  0x00800000 
+ 00029868  0x0000969f istore  0x00000003 , 0x00000005 
+ 00029869  0x000096a0 fetch  0x00000001 , 0x00004771 
+ 00029870  0x000096a1 istore  0x00000001 , 0x00000005 
+ 00029871  0x000096a2 arg  0x00000007 , 0x00000039 
+ 00029872  0x000096a3 call  0x00007d8c 
+ 00029873  0x000096a5 setarg  0x00000408 
+ 00029874  0x000096a6 istore  0x00000004 , 0x00000005 
+ 00029875  0x000096a7 branch  0x000073d9 
+ 00029876  0x000096aa fetch  0x00000001 , 0x00004648 
+ 00029877  0x000096ab beq  0x00000002 , 0x000074b8 
+ 00029878  0x000096ac beq  0x00000001 , 0x00007429 
+ 00029879  0x000096ad rtn 
+ 00029880  0x000096b0 fetch  0x00000001 , 0x0000476f 
+ 00029881  0x000096b1 bne  0x00000002 , 0x000074f1 
+ 00029882  0x000096b3 setarg  0x00363636 
+ 00029883  0x000096b4 lshift8  0x0000003f , 0x00000002 
+ 00029884  0x000096b5 or_into  0x00000036 , 0x00000002 
+ 00029885  0x000096b6 arg  0x000008e0 , 0x00000006 
+ 00029886  0x000096b7 force  0x00000008 , 0x00000039 
+ 00029887  0x000096b8 call  0x00007350 
+ 00029888  0x000096b9 call  0x00007306 
+ 00029889  0x000096ba call  0x0000730d 
+ 00029890  0x000096bb arg  0x00000900 , 0x00000006 
+ 00029891  0x000096bc arg  0x000004a8 , 0x00000005 
+ 00029892  0x000096bd call  0x0000748c 
+ 00029893  0x000096be arg  0x000008f0 , 0x00000006 
+ 00029894  0x000096bf call  0x0000748c 
+ 00029895  0x000096c2 setarg  0x00000000 
+ 00029896  0x000096c3 istore  0x00000008 , 0x00000005 
+ 00029897  0x000096c4 istore  0x00000004 , 0x00000005 
+ 00029898  0x000096c5 fetch  0x00000004 , 0x00004797 
+ 00029899  0x000096c6 istore  0x00000004 , 0x00000005 
+ 00029900  0x000096c8 copy  0x00000005 , 0x00000002 
+ 00029901  0x000096c9 jam  0x00000080 , 0x000005e8 
+ 00029902  0x000096ca copy  0x00000002 , 0x00000005 
+ 00029903  0x000096cb arg  0x000005f8 , 0x00000006 
+ 00029904  0x000096cc call  0x0000748c 
+ 00029905  0x000096ce call  0x0000730d 
+ 00029906  0x000096d0 arg  0x000004a8 , 0x00000005 
+ 00029907  0x000096d1 force  0x00000007 , 0x00000039 
+ 00029908  0x000096d2 call  0x00007d8c 
+ 00029909  0x000096d3 istore  0x00000004 , 0x00000005 
+ 00029910  0x000096d4 setarg  0x000003f8 
+ 00029911  0x000096d5 istore  0x00000004 , 0x00000005 
+ 00029912  0x000096d6 call  0x0000730d 
+ 00029913  0x000096d7 call  0x00007349 
+ 00029914  0x000096d9 arg  0x00000900 , 0x00000006 
+ 00029915  0x000096da arg  0x000005c8 , 0x00000005 
+ 00029916  0x000096db call  0x00007d7d 
+ 00029917  0x000096dd setarg  0x005c5c5c 
+ 00029918  0x000096de lshift8  0x0000003f , 0x00000002 
+ 00029919  0x000096df or_into  0x0000005c , 0x00000002 
+ 00029920  0x000096e0 arg  0x000008e0 , 0x00000006 
+ 00029921  0x000096e1 force  0x00000008 , 0x00000039 
+ 00029922  0x000096e3 call  0x00007350 
+ 00029923  0x000096e4 call  0x00007306 
+ 00029924  0x000096e5 call  0x0000730d 
+ 00029925  0x000096e6 arg  0x000005e8 , 0x00000006 
+ 00029926  0x000096e7 arg  0x000004a8 , 0x00000005 
+ 00029927  0x000096e8 force  0x00000008 , 0x00000039 
+ 00029928  0x000096e9 call  0x0000748d 
+ 00029929  0x000096ea setarg  0x00800000 
+ 00029930  0x000096eb lshift8  0x0000003f , 0x0000003f 
+ 00029931  0x000096ec istore  0x00000004 , 0x00000005 
+ 00029932  0x000096ed call  0x00007d8b 
+ 00029933  0x000096ee setarg  0x00000300 
+ 00029934  0x000096ef istore  0x00000004 , 0x00000005 
+ 00029935  0x000096f0 call  0x0000730d 
+ 00029936  0x000096f1 branch  0x00007349 
+ 00029937  0x000096f5 setarg  0x00000000 
+ 00029938  0x000096f6 store  0x00000004 , 0x00004797 
+ 00029939  0x000096f7 branch  0x000074ba 
+ 00029940  0x000096fa setarg  0x00000000 
+ 00029941  0x000096fb store  0x00000004 , 0x00004797 
+ 00029942  0x000096fc branch  0x000074fd 
+ 00029943  0x000096ff fetch  0x00000001 , 0x00004648 
+ 00029944  0x00009700 beq  0x00000002 , 0x000074fb 
+ 00029945  0x00009701 beq  0x00000001 , 0x00007440 
+ 00029946  0x00009702 rtn 
+ 00029947  0x00009705 fetch  0x00000001 , 0x0000476f 
+ 00029948  0x00009706 bne  0x00000002 , 0x000074f4 
+ 00029949  0x00009708 setarg  0x00363636 
+ 00029950  0x00009709 lshift8  0x0000003f , 0x00000002 
+ 00029951  0x0000970a or_into  0x00000036 , 0x00000002 
+ 00029952  0x0000970b arg  0x000008e0 , 0x00000006 
+ 00029953  0x0000970c force  0x00000008 , 0x00000039 
+ 00029954  0x0000970d call  0x00007350 
+ 00029955  0x0000970e call  0x00007306 
+ 00029956  0x0000970f call  0x0000730d 
+ 00029957  0x00009711 arg  0x000008f0 , 0x00000006 
+ 00029958  0x00009712 arg  0x000004a8 , 0x00000005 
+ 00029959  0x00009713 call  0x0000748c 
+ 00029960  0x00009714 arg  0x00000900 , 0x00000006 
+ 00029961  0x00009715 call  0x0000748c 
+ 00029962  0x00009716 branch  0x000074c7 
+ 00029963  0x0000971a fetch  0x00000001 , 0x00004648 
+ 00029964  0x0000971b beq  0x00000002 , 0x0000750f 
+ 00029965  0x0000971c beq  0x00000001 , 0x000073f3 
+ 00029966  0x0000971d rtn 
+ 00029967  0x00009720 setarg  0x00363636 
+ 00029968  0x00009721 lshift8  0x0000003f , 0x00000002 
+ 00029969  0x00009722 or_into  0x00000036 , 0x00000002 
+ 00029970  0x00009723 arg  0x000008e0 , 0x00000006 
+ 00029971  0x00009724 force  0x00000008 , 0x00000039 
+ 00029972  0x00009725 call  0x00007350 
+ 00029973  0x00009726 call  0x00007306 
+ 00029974  0x00009727 call  0x0000730d 
+ 00029975  0x00009728 fetch  0x00000002 , 0x0000094c 
+ 00029976  0x00009729 copy  0x0000003f , 0x00000006 
+ 00029977  0x0000972a arg  0x000004a8 , 0x00000005 
+ 00029978  0x0000972b call  0x0000748c 
+ 00029979  0x0000972c fetch  0x00000002 , 0x0000094e 
+ 00029980  0x0000972d copy  0x0000003f , 0x00000006 
+ 00029981  0x0000972e call  0x0000748c 
+ 00029982  0x00009730 setarg  0x0062746c 
+ 00029983  0x00009731 lshift8  0x0000003f , 0x0000003f 
+ 00029984  0x00009732 or_into  0x0000006b , 0x0000003f 
+ 00029985  0x00009733 istore  0x00000004 , 0x00000005 
+ 00029986  0x00009734 arg  0x000005f5 , 0x00000006 
+ 00029987  0x00009735 force  0x00000003 , 0x00000039 
+ 00029988  0x00009736 call  0x0000748d 
+ 00029989  0x00009738 setarg  0x00800000 
+ 00029990  0x00009739 lshift8  0x0000003f , 0x0000003f 
+ 00029991  0x0000973a istore  0x00000004 , 0x00000005 
+ 00029992  0x0000973b force  0x00000000 , 0x0000003f 
+ 00029993  0x0000973c istore  0x00000008 , 0x00000005 
+ 00029994  0x0000973d setarg  0x00000380 
+ 00029995  0x0000973e istore  0x00000004 , 0x00000005 
+ 00029996  0x0000973f call  0x0000730d 
+ 00029997  0x00009741 call  0x00007349 
+ 00029998  0x00009742 arg  0x00000900 , 0x00000006 
+ 00029999  0x00009743 arg  0x000005c8 , 0x00000005 
+ 00030000  0x00009744 call  0x00007d7d 
+ 00030001  0x00009746 setarg  0x005c5c5c 
+ 00030002  0x00009747 lshift8  0x0000003f , 0x00000002 
+ 00030003  0x00009748 or_into  0x0000005c , 0x00000002 
+ 00030004  0x00009749 arg  0x000008e0 , 0x00000006 
+ 00030005  0x0000974a force  0x00000008 , 0x00000039 
+ 00030006  0x0000974b branch  0x000074e2 
+ 00030007  0x0000974f fetch  0x00000006 , 0x000040a8 
+ 00030008  0x00009750 store  0x00000006 , 0x000005e9 
+ 00030009  0x00009751 fetch  0x00000006 , 0x00000040 
+ 00030010  0x00009752 istore  0x00000006 , 0x00000005 
+ 00030011  0x00009754 setarg  0x00363636 
+ 00030012  0x00009755 lshift8  0x0000003f , 0x00000002 
+ 00030013  0x00009756 or_into  0x00000036 , 0x00000002 
+ 00030014  0x00009757 arg  0x000041db , 0x00000006 
+ 00030015  0x00009758 force  0x00000004 , 0x00000039 
+ 00030016  0x00009759 call  0x00007350 
+ 00030017  0x0000975a call  0x00007306 
+ 00030018  0x0000975b call  0x0000730d 
+ 00030019  0x0000975c setarg  0x00627461 
+ 00030020  0x0000975d lshift8  0x0000003f , 0x0000003f 
+ 00030021  0x0000975e or_into  0x0000006b , 0x0000003f 
+ 00030022  0x0000975f store  0x00000004 , 0x000004a8 
+ 00030023  0x00009761 arg  0x000005f5 , 0x00000006 
+ 00030024  0x00009762 force  0x00000003 , 0x00000039 
+ 00030025  0x00009763 call  0x0000748d 
+ 00030026  0x00009765 arg  0x000046b5 , 0x00000006 
+ 00030027  0x00009766 arg  0x00000002 , 0x00000039 
+ 00030028  0x00009767 call  0x0000748d 
+ 00030029  0x00009769 setarg  0x00800000 
+ 00030030  0x0000976a lshift8  0x0000003f , 0x0000003f 
+ 00030031  0x0000976b istore  0x00000004 , 0x00000005 
+ 00030032  0x0000976c arg  0x00000004 , 0x00000039 
+ 00030033  0x0000976d call  0x00007d8c 
+ 00030034  0x0000976f setarg  0x000002c0 
+ 00030035  0x00009770 istore  0x00000004 , 0x00000005 
+ 00030036  0x00009771 call  0x0000730d 
+ 00030037  0x00009773 call  0x00007349 
+ 00030038  0x00009774 arg  0x00000900 , 0x00000006 
+ 00030039  0x00009775 arg  0x000005c8 , 0x00000005 
+ 00030040  0x00009776 call  0x00007d7d 
+ 00030041  0x00009778 setarg  0x005c5c5c 
+ 00030042  0x00009779 lshift8  0x0000003f , 0x00000002 
+ 00030043  0x0000977a or_into  0x0000005c , 0x00000002 
+ 00030044  0x0000977b arg  0x000041db , 0x00000006 
+ 00030045  0x0000977c force  0x00000004 , 0x00000039 
+ 00030046  0x0000977d branch  0x000074e2 
+ 00030047  0x00009781 fetch  0x00000006 , 0x000040a8 
+ 00030048  0x00009782 store  0x00000006 , 0x000005e9 
+ 00030049  0x00009783 fetch  0x00000006 , 0x00000040 
+ 00030050  0x00009784 istore  0x00000006 , 0x00000005 
+ 00030051  0x00009786 setarg  0x00363636 
+ 00030052  0x00009787 lshift8  0x0000003f , 0x00000002 
+ 00030053  0x00009788 or_into  0x00000036 , 0x00000002 
+ 00030054  0x00009789 arg  0x000041db , 0x00000006 
+ 00030055  0x0000978a force  0x00000004 , 0x00000039 
+ 00030056  0x0000978b call  0x00007350 
+ 00030057  0x0000978c call  0x00007306 
+ 00030058  0x0000978d call  0x0000730d 
+ 00030059  0x0000978e setarg  0x00627464 
+ 00030060  0x0000978f lshift8  0x0000003f , 0x0000003f 
+ 00030061  0x00009790 or_into  0x0000006b , 0x0000003f 
+ 00030062  0x00009791 store  0x00000004 , 0x000004a8 
+ 00030063  0x00009793 arg  0x000005f5 , 0x00000006 
+ 00030064  0x00009794 force  0x00000003 , 0x00000039 
+ 00030065  0x00009795 call  0x0000748d 
+ 00030066  0x00009797 setarg  0x00800000 
+ 00030067  0x00009798 lshift8  0x0000003f , 0x0000003f 
+ 00030068  0x00009799 istore  0x00000004 , 0x00000005 
+ 00030069  0x0000979a arg  0x00000005 , 0x00000039 
+ 00030070  0x0000979b call  0x00007d8c 
+ 00030071  0x0000979d setarg  0x00000280 
+ 00030072  0x0000979e istore  0x00000004 , 0x00000005 
+ 00030073  0x0000979f call  0x0000730d 
+ 00030074  0x000097a1 call  0x00007349 
+ 00030075  0x000097a2 arg  0x00000900 , 0x00000006 
+ 00030076  0x000097a3 arg  0x000005c8 , 0x00000005 
+ 00030077  0x000097a4 call  0x00007d7d 
+ 00030078  0x000097a6 setarg  0x005c5c5c 
+ 00030079  0x000097a7 lshift8  0x0000003f , 0x00000002 
+ 00030080  0x000097a8 or_into  0x0000005c , 0x00000002 
+ 00030081  0x000097a9 arg  0x000041db , 0x00000006 
+ 00030082  0x000097aa force  0x00000004 , 0x00000039 
+ 00030083  0x000097ab branch  0x000074e2 
+ 00030084  0x000097af arg  0x00000910 , 0x00000006 
+ 00030085  0x000097b0 arg  0x00000454 , 0x00000005 
+ 00030086  0x000097b1 call  0x00007d7f 
+ 00030087  0x000097b2 setarg  0x00000900 
+ 00030088  0x000097b3 store  0x00000002 , 0x00000940 
+ 00030089  0x000097b4 setarg  0x00000434 
+ 00030090  0x000097b5 istore  0x00000002 , 0x00000005 
+ 00030091  0x000097b7 setarg  0x00363636 
+ 00030092  0x000097b8 lshift8  0x0000003f , 0x00000002 
+ 00030093  0x000097b9 or_into  0x00000036 , 0x00000002 
+ 00030094  0x000097ba arg  0x00000464 , 0x00000006 
+ 00030095  0x000097bb force  0x00000004 , 0x00000039 
+ 00030096  0x000097bc call  0x00007350 
+ 00030097  0x000097bd call  0x00007306 
+ 00030098  0x000097be call  0x0000730d 
+ 00030099  0x000097c0 arg  0x000004a8 , 0x00000005 
+ 00030100  0x000097c1 fetch  0x00000002 , 0x00000940 
+ 00030101  0x000097c2 copy  0x0000003f , 0x00000006 
+ 00030102  0x000097c3 call  0x0000748c 
+ 00030103  0x000097c4 fetch  0x00000002 , 0x00000942 
+ 00030104  0x000097c5 copy  0x0000003f , 0x00000006 
+ 00030105  0x000097c6 call  0x0000748c 
+ 00030106  0x000097c8 setarg  0x00800000 
+ 00030107  0x000097c9 lshift8  0x0000003f , 0x0000003f 
+ 00030108  0x000097ca istore  0x00000004 , 0x00000005 
+ 00030109  0x000097cc arg  0x00000003 , 0x00000039 
+ 00030110  0x000097cd call  0x00007d8c 
+ 00030111  0x000097cf setarg  0x00000300 
+ 00030112  0x000097d0 istore  0x00000004 , 0x00000005 
+ 00030113  0x000097d1 call  0x0000730d 
+ 00030114  0x000097d3 call  0x00007349 
+ 00030115  0x000097d4 arg  0x00000900 , 0x00000006 
+ 00030116  0x000097d5 arg  0x000005c8 , 0x00000005 
+ 00030117  0x000097d6 call  0x00007d7d 
+ 00030118  0x000097d8 setarg  0x005c5c5c 
+ 00030119  0x000097d9 lshift8  0x0000003f , 0x00000002 
+ 00030120  0x000097da or_into  0x0000005c , 0x00000002 
+ 00030121  0x000097db arg  0x00000464 , 0x00000006 
+ 00030122  0x000097dc force  0x00000004 , 0x00000039 
+ 00030123  0x000097dd branch  0x000074e2 
+ 00030124  0x000097e6 bpatchx  0x00000080 , 0x00004030 
+ 00030125  0x000097e7 fetch  0x00000001 , 0x000046bb 
+ 00030126  0x000097e8 nbranch  0x000075cd , 0x00000034 
+ 00030127  0x000097eb jam  0x00000000 , 0x000046bd 
+ 00030128  0x000097ec jam  0x00000000 , 0x000046be 
+ 00030129  0x000097ed rtn 
+ 00030130  0x000097f2 fetch  0x00000001 , 0x000046bb 
+ 00030131  0x000097f3 rtn  0x00000034 
+ 00030132  0x000097f4 fetch  0x00000001 , 0x000046be 
+ 00030133  0x000097f5 rtneq  0x00000003 
+ 00030134  0x000097f6 call  0x00007602 
+ 00030135  0x000097f7 branch  0x000075b2 
+ 00030136  0x000097fc arg  0x000046bf , 0x00000005 
+ 00030137  0x000097fd setsect  0x00000000 , 0x00001abd 
+ 00030138  0x000097fe setsect  0x00000001 , 0x0001b34f 
+ 00030139  0x000097ff setsect  0x00000002 , 0x00019b8a 
+ 00030140  0x00009800 setsect  0x00000003 , 0x00026562 
+ 00030141  0x00009801 istore  0x00000009 , 0x00000005 
+ 00030142  0x00009802 setsect  0x00000000 , 0x000340b7 
+ 00030143  0x00009803 setsect  0x00000001 , 0x00001efa 
+ 00030144  0x00009804 setsect  0x00000002 , 0x0000aff6 
+ 00030145  0x00009805 setsect  0x00000003 , 0x0000fd41 
+ 00030146  0x00009806 istore  0x00000009 , 0x00000005 
+ 00030147  0x00009807 setsect  0x00000000 , 0x0003d210 
+ 00030148  0x00009808 setsect  0x00000001 , 0x00026cf8 
+ 00030149  0x00009809 setsect  0x00000002 , 0x0003874c 
+ 00030150  0x0000980a setsect  0x00000003 , 0x0003157c 
+ 00030151  0x0000980b istore  0x00000009 , 0x00000005 
+ 00030152  0x0000980c setsect  0x00000000 , 0x0002d4a3 
+ 00030153  0x0000980d setsect  0x00000001 , 0x0003d27d 
+ 00030154  0x0000980e setsect  0x00000002 , 0x00000003 
+ 00030155  0x0000980f istore  0x00000005 , 0x00000005 
+ 00030156  0x00009810 rtn 
+ 00030157  0x00009814 fetch  0x00000001 , 0x000046be 
+ 00030158  0x00009815 rtnne  0x00000000 
+ 00030159  0x00009816 fetch  0x00000001 , 0x000046bd 
+ 00030160  0x00009817 rtnne  0x00000000 
+ 00030161  0x00009818 call  0x00006ebd 
+ 00030162  0x00009819 arg  0x000046bf , 0x00000005 
+ 00030163  0x0000981a force  0x0000000f , 0x00000007 
+ 00030164  0x0000981b call  0x0000709d 
+ 00030165  0x0000981c random  0x0000003f 
+ 00030166  0x0000981d rshift  0x0000003f , 0x0000003f 
+ 00030167  0x0000981e istore  0x00000002 , 0x00000005 
+ 00030168  0x00009820 fetch  0x00000001 , 0x000046ba 
+ 00030169  0x00009821 ncall  0x000075b8 , 0x00000034 
+ 00030170  0x00009823 arg  0x00000628 , 0x00000005 
+ 00030171  0x00009824 arg  0x000046bf , 0x00000006 
+ 00030172  0x00009825 call  0x00007d7d 
+ 00030173  0x00009827 arg  0x00000508 , 0x00000005 
+ 00030174  0x00009828 arg  0x00000820 , 0x00000006 
+ 00030175  0x00009829 call  0x00007d72 
+ 00030176  0x0000982b arg  0x00000548 , 0x00000005 
+ 00030177  0x0000982c call  0x00007d97 
+ 00030178  0x0000982d jam  0x00000001 , 0x00000548 
+ 00030179  0x0000982f call  0x0000761a 
+ 00030180  0x00009830 jam  0x00000003 , 0x000046bd 
+ 00030181  0x00009831 rtn 
+ 00030182  0x00009835 arg  0x000046df , 0x00000005 
+ 00030183  0x00009836 arg  0x00000568 , 0x00000006 
+ 00030184  0x00009837 call  0x00007d72 
+ 00030185  0x00009838 jam  0x00000003 , 0x000046be 
+ 00030186  0x00009839 jam  0x00000000 , 0x000046bd 
+ 00030187  0x0000983a rtn 
+ 00030188  0x0000983f fetch  0x00000001 , 0x0000087b 
+ 00030189  0x00009840 rtnne  0x00000000 
+ 00030190  0x00009841 fetch  0x00000001 , 0x000046bd 
+ 00030191  0x00009842 rtnne  0x00000000 
+ 00030192  0x00009844 arg  0x00000628 , 0x00000005 
+ 00030193  0x00009845 arg  0x000046bf , 0x00000006 
+ 00030194  0x00009846 call  0x00007d7d 
+ 00030195  0x00009848 arg  0x00000508 , 0x00000005 
+ 00030196  0x00009849 arg  0x00000880 , 0x00000006 
+ 00030197  0x0000984a call  0x00007d72 
+ 00030198  0x0000984c arg  0x00000548 , 0x00000005 
+ 00030199  0x0000984d call  0x00007d97 
+ 00030200  0x0000984e jam  0x00000001 , 0x00000548 
+ 00030201  0x00009850 call  0x0000761a 
+ 00030202  0x00009851 jam  0x00000004 , 0x000046bd 
+ 00030203  0x00009852 rtn 
+ 00030204  0x00009857 arg  0x000008c0 , 0x00000005 
+ 00030205  0x00009858 arg  0x00000568 , 0x00000006 
+ 00030206  0x00009859 call  0x00007d7d 
+ 00030207  0x0000985a jam  0x00000003 , 0x0000087b 
+ 00030208  0x0000985b jam  0x00000000 , 0x000046bd 
+ 00030209  0x0000985c rtn 
+ 00030210  0x00009861 fetch  0x00000001 , 0x000046bb 
+ 00030211  0x00009862 rtn  0x00000034 
+ 00030212  0x00009863 fetch  0x00000001 , 0x000046bd 
+ 00030213  0x00009864 rtn  0x00000034 
+ 00030214  0x00009865 increase  0x00000080 , 0x0000003f 
+ 00030215  0x00009866 store  0x00000001 , 0x000046bd 
+ 00030216  0x00009867 rtnbit1  0x00000007 
+ 00030217  0x00009868 fetch  0x00000002 , 0x000004a5 
+ 00030218  0x00009869 branch  0x0000760c , 0x00000034 
+ 00030219  0x0000986a branch  0x00007612 
+ 00030220  0x0000986d bpatchx  0x00000081 , 0x00004030 
+ 00030221  0x0000986e call  0x00007627 
+ 00030222  0x0000986f fetch  0x00000001 , 0x000046bd 
+ 00030223  0x00009870 beq  0x00000003 , 0x000075e6 
+ 00030224  0x00009871 beq  0x00000004 , 0x000075fc 
+ 00030225  0x00009872 rtn 
+ 00030226  0x00009876 call  0x00007639 
+ 00030227  0x00009877 fetch  0x00000002 , 0x000004a5 
+ 00030228  0x00009878 increase  0xffffffff , 0x0000003f 
+ 00030229  0x00009879 store  0x00000002 , 0x000004a5 
+ 00030230  0x0000987a arg  0x00000628 , 0x00000006 
+ 00030231  0x0000987b call  0x000070e7 
+ 00030232  0x0000987c rtn  0x00000001 
+ 00030233  0x0000987d branch  0x0000768a 
+ 00030234  0x00009880 bpatchx  0x00000082 , 0x00004030 
+ 00030235  0x00009881 setarg  0x00000100 
+ 00030236  0x00009882 store  0x00000002 , 0x000004a5 
+ 00030237  0x00009884 fetch  0x00000002 , 0x000004a5 
+ 00030238  0x00009885 rtn  0x00000034 
+ 00030239  0x00009886 increase  0xffffffff , 0x0000003f 
+ 00030240  0x00009887 store  0x00000002 , 0x000004a5 
+ 00030241  0x00009888 arg  0x00000628 , 0x00000006 
+ 00030242  0x00009889 call  0x000070e7 
+ 00030243  0x0000988a branch  0x0000761d , 0x00000001 
+ 00030244  0x0000988b arg  0x00000508 , 0x00000006 
+ 00030245  0x0000988c arg  0x000005c8 , 0x00000005 
+ 00030246  0x0000988d branch  0x00007d71 
+ 00030247  0x00009891 arg  0x00000608 , 0x00000011 
+ 00030248  0x00009892 arg  0x00000708 , 0x00000005 
+ 00030249  0x00009893 call  0x000076f6 
+ 00030250  0x00009894 arg  0x00000708 , 0x00000011 
+ 00030251  0x00009895 arg  0x000006a8 , 0x00000005 
+ 00030252  0x00009896 call  0x000077cc 
+ 00030253  0x00009897 arg  0x000005c8 , 0x00000011 
+ 00030254  0x00009898 arg  0x000006a8 , 0x00000012 
+ 00030255  0x00009899 arg  0x00000568 , 0x00000005 
+ 00030256  0x0000989a call  0x00007734 
+ 00030257  0x0000989b arg  0x00000708 , 0x00000011 
+ 00030258  0x0000989c arg  0x000006a8 , 0x00000012 
+ 00030259  0x0000989d arg  0x000006e8 , 0x00000005 
+ 00030260  0x0000989e call  0x00007734 
+ 00030261  0x0000989f arg  0x000005e8 , 0x00000011 
+ 00030262  0x000098a0 arg  0x000006e8 , 0x00000012 
+ 00030263  0x000098a1 arg  0x00000588 , 0x00000005 
+ 00030264  0x000098a2 branch  0x00007734 
+ 00030265  0x000098a5 arg  0x00000608 , 0x00000011 
+ 00030266  0x000098a6 arg  0x000006e8 , 0x00000005 
+ 00030267  0x000098a7 call  0x000077cc 
+ 00030268  0x000098a8 arg  0x000006e8 , 0x00000011 
+ 00030269  0x000098a9 arg  0x00000708 , 0x00000005 
+ 00030270  0x000098aa call  0x000077cc 
+ 00030271  0x000098ac arg  0x00000800 , 0x00000011 
+ 00030272  0x000098ad arg  0x00000708 , 0x00000012 
+ 00030273  0x000098ae arg  0x00000708 , 0x00000005 
+ 00030274  0x000098af call  0x00007734 
+ 00030275  0x000098b0 arg  0x000005c8 , 0x00000011 
+ 00030276  0x000098b1 arg  0x000006e8 , 0x00000005 
+ 00030277  0x000098b2 call  0x000077cc 
+ 00030278  0x000098b4 arg  0x000006e8 , 0x00000006 
+ 00030279  0x000098b5 arg  0x000006a8 , 0x00000005 
+ 00030280  0x000098b6 call  0x00007d7d 
+ 00030281  0x000098b7 arg  0x000006a8 , 0x00000011 
+ 00030282  0x000098b8 call  0x000077d3 
+ 00030283  0x000098b9 arg  0x000006e8 , 0x00000011 
+ 00030284  0x000098ba arg  0x000006a8 , 0x00000012 
+ 00030285  0x000098bb arg  0x000006e8 , 0x00000005 
+ 00030286  0x000098bc call  0x000077d0 
+ 00030287  0x000098be arg  0x000006e8 , 0x00000011 
+ 00030288  0x000098bf arg  0x00000708 , 0x00000012 
+ 00030289  0x000098c0 arg  0x000006e8 , 0x00000005 
+ 00030290  0x000098c1 call  0x000077d0 
+ 00030291  0x000098c3 arg  0x000005c8 , 0x00000006 
+ 00030292  0x000098c4 arg  0x000006a8 , 0x00000005 
+ 00030293  0x000098c5 call  0x00007d7d 
+ 00030294  0x000098c6 arg  0x000005e8 , 0x00000011 
+ 00030295  0x000098c7 arg  0x00000708 , 0x00000005 
+ 00030296  0x000098c8 call  0x000077cc 
+ 00030297  0x000098c9 arg  0x000006a8 , 0x00000011 
+ 00030298  0x000098ca call  0x000077d3 
+ 00030299  0x000098cb arg  0x000006a8 , 0x00000011 
+ 00030300  0x000098cc call  0x000077d3 
+ 00030301  0x000098cd arg  0x000006a8 , 0x00000011 
+ 00030302  0x000098ce arg  0x00000708 , 0x00000012 
+ 00030303  0x000098cf arg  0x000006a8 , 0x00000005 
+ 00030304  0x000098d0 call  0x00007734 
+ 00030305  0x000098d1 arg  0x00000708 , 0x00000011 
+ 00030306  0x000098d2 arg  0x000006c8 , 0x00000005 
+ 00030307  0x000098d3 call  0x000077cc 
+ 00030308  0x000098d4 arg  0x000006c8 , 0x00000011 
+ 00030309  0x000098d5 call  0x000077d3 
+ 00030310  0x000098d6 arg  0x000006c8 , 0x00000011 
+ 00030311  0x000098d7 call  0x000077d3 
+ 00030312  0x000098d8 arg  0x000006c8 , 0x00000011 
+ 00030313  0x000098d9 call  0x000077d3 
+ 00030314  0x000098da arg  0x000005e8 , 0x00000006 
+ 00030315  0x000098db arg  0x00000708 , 0x00000005 
+ 00030316  0x000098dc call  0x00007d7d 
+ 00030317  0x000098dd arg  0x00000708 , 0x00000011 
+ 00030318  0x000098de call  0x000077d3 
+ 00030319  0x000098df arg  0x00000708 , 0x00000011 
+ 00030320  0x000098e0 arg  0x00000608 , 0x00000012 
+ 00030321  0x000098e1 arg  0x00000608 , 0x00000005 
+ 00030322  0x000098e2 call  0x00007734 
+ 00030323  0x000098e5 arg  0x000006e8 , 0x00000011 
+ 00030324  0x000098e6 arg  0x00000708 , 0x00000005 
+ 00030325  0x000098e7 call  0x000077cc 
+ 00030326  0x000098e9 arg  0x00000708 , 0x00000011 
+ 00030327  0x000098ea arg  0x000006a8 , 0x00000012 
+ 00030328  0x000098eb arg  0x00000708 , 0x00000005 
+ 00030329  0x000098ec call  0x000077e9 
+ 00030330  0x000098ed arg  0x00000708 , 0x00000011 
+ 00030331  0x000098ee arg  0x000006a8 , 0x00000012 
+ 00030332  0x000098ef arg  0x000005c8 , 0x00000005 
+ 00030333  0x000098f0 call  0x000077e9 
+ 00030334  0x000098f1 arg  0x000006a8 , 0x00000011 
+ 00030335  0x000098f2 arg  0x000005c8 , 0x00000012 
+ 00030336  0x000098f3 arg  0x00000708 , 0x00000005 
+ 00030337  0x000098f4 call  0x000077e9 
+ 00030338  0x000098f5 arg  0x00000708 , 0x00000011 
+ 00030339  0x000098f6 arg  0x000006e8 , 0x00000012 
+ 00030340  0x000098f7 arg  0x00000708 , 0x00000005 
+ 00030341  0x000098f8 call  0x00007734 
+ 00030342  0x000098f9 arg  0x00000708 , 0x00000011 
+ 00030343  0x000098fa arg  0x000006c8 , 0x00000012 
+ 00030344  0x000098fb arg  0x000005e8 , 0x00000005 
+ 00030345  0x000098fc branch  0x000077e9 
+ 00030346  0x00009900 arg  0x00000548 , 0x00000011 
+ 00030347  0x00009901 arg  0x00000728 , 0x00000005 
+ 00030348  0x00009902 call  0x000077cc 
+ 00030349  0x00009903 arg  0x000005c8 , 0x00000011 
+ 00030350  0x00009904 arg  0x00000728 , 0x00000012 
+ 00030351  0x00009905 arg  0x000006c8 , 0x00000005 
+ 00030352  0x00009906 call  0x00007734 
+ 00030353  0x00009909 arg  0x00000548 , 0x00000011 
+ 00030354  0x0000990a arg  0x00000728 , 0x00000012 
+ 00030355  0x0000990b arg  0x00000728 , 0x00000005 
+ 00030356  0x0000990c call  0x00007734 
+ 00030357  0x0000990d arg  0x000005e8 , 0x00000011 
+ 00030358  0x0000990e arg  0x00000728 , 0x00000012 
+ 00030359  0x0000990f arg  0x000006a8 , 0x00000005 
+ 00030360  0x00009910 call  0x00007734 
+ 00030361  0x00009913 arg  0x00000608 , 0x00000011 
+ 00030362  0x00009914 arg  0x00000728 , 0x00000005 
+ 00030363  0x00009915 call  0x000077cc 
+ 00030364  0x00009916 arg  0x00000508 , 0x00000011 
+ 00030365  0x00009917 arg  0x00000728 , 0x00000012 
+ 00030366  0x00009918 arg  0x000006e8 , 0x00000005 
+ 00030367  0x00009919 call  0x00007734 
+ 00030368  0x0000991b arg  0x00000608 , 0x00000011 
+ 00030369  0x0000991c arg  0x00000728 , 0x00000012 
+ 00030370  0x0000991d arg  0x00000728 , 0x00000005 
+ 00030371  0x0000991e call  0x00007734 
+ 00030372  0x0000991f arg  0x00000528 , 0x00000011 
+ 00030373  0x00009920 arg  0x00000728 , 0x00000012 
+ 00030374  0x00009921 arg  0x00000708 , 0x00000005 
+ 00030375  0x00009922 call  0x00007734 
+ 00030376  0x00009927 arg  0x000006c8 , 0x00000012 
+ 00030377  0x00009928 arg  0x000006e8 , 0x00000011 
+ 00030378  0x00009929 arg  0x00000728 , 0x00000005 
+ 00030379  0x0000992a call  0x000077e9 
+ 00030380  0x0000992b arg  0x000006c8 , 0x00000011 
+ 00030381  0x0000992c arg  0x000006e8 , 0x00000012 
+ 00030382  0x0000992d arg  0x000006c8 , 0x00000005 
+ 00030383  0x0000992e call  0x000077d0 
+ 00030384  0x00009931 arg  0x000006a8 , 0x00000012 
+ 00030385  0x00009932 arg  0x00000708 , 0x00000011 
+ 00030386  0x00009933 arg  0x000006e8 , 0x00000005 
+ 00030387  0x00009934 call  0x000077e9 
+ 00030388  0x00009935 arg  0x000006a8 , 0x00000011 
+ 00030389  0x00009936 arg  0x00000708 , 0x00000012 
+ 00030390  0x00009937 arg  0x000006a8 , 0x00000005 
+ 00030391  0x00009938 call  0x000077d0 
+ 00030392  0x00009939 arg  0x000006a8 , 0x00000011 
+ 00030393  0x0000993a arg  0x00000728 , 0x00000012 
+ 00030394  0x0000993b arg  0x000006a8 , 0x00000005 
+ 00030395  0x0000993c call  0x00007734 
+ 00030396  0x0000993d arg  0x00000608 , 0x00000011 
+ 00030397  0x0000993e arg  0x00000548 , 0x00000012 
+ 00030398  0x0000993f arg  0x00000708 , 0x00000005 
+ 00030399  0x00009940 call  0x00007734 
+ 00030400  0x00009941 arg  0x00000708 , 0x00000011 
+ 00030401  0x00009942 arg  0x00000728 , 0x00000012 
+ 00030402  0x00009943 arg  0x00000608 , 0x00000005 
+ 00030403  0x00009944 call  0x00007734 
+ 00030404  0x00009946 arg  0x00000728 , 0x00000011 
+ 00030405  0x00009947 arg  0x00000728 , 0x00000005 
+ 00030406  0x00009948 call  0x000077cc 
+ 00030407  0x00009949 arg  0x00000728 , 0x00000011 
+ 00030408  0x0000994a arg  0x000006c8 , 0x00000012 
+ 00030409  0x0000994b arg  0x00000708 , 0x00000005 
+ 00030410  0x0000994c call  0x00007734 
+ 00030411  0x0000994d arg  0x00000728 , 0x00000011 
+ 00030412  0x0000994e arg  0x000006a8 , 0x00000012 
+ 00030413  0x0000994f arg  0x000006a8 , 0x00000005 
+ 00030414  0x00009950 call  0x00007734 
+ 00030415  0x00009951 arg  0x000006e8 , 0x00000011 
+ 00030416  0x00009952 arg  0x000005c8 , 0x00000005 
+ 00030417  0x00009953 call  0x000077cc 
+ 00030418  0x00009954 arg  0x000005c8 , 0x00000011 
+ 00030419  0x00009955 arg  0x00000708 , 0x00000012 
+ 00030420  0x00009956 arg  0x000005c8 , 0x00000005 
+ 00030421  0x00009957 call  0x000077e9 
+ 00030422  0x00009958 arg  0x000005c8 , 0x00000006 
+ 00030423  0x00009959 arg  0x00000728 , 0x00000005 
+ 00030424  0x0000995a call  0x00007d7d 
+ 00030425  0x0000995b arg  0x00000728 , 0x00000011 
+ 00030426  0x0000995c call  0x000077d3 
+ 00030427  0x0000995d arg  0x00000708 , 0x00000011 
+ 00030428  0x0000995e arg  0x00000728 , 0x00000012 
+ 00030429  0x0000995f arg  0x00000708 , 0x00000005 
+ 00030430  0x00009960 call  0x000077e9 
+ 00030431  0x00009961 arg  0x00000708 , 0x00000011 
+ 00030432  0x00009962 arg  0x000006e8 , 0x00000012 
+ 00030433  0x00009963 arg  0x000006e8 , 0x00000005 
+ 00030434  0x00009964 call  0x00007734 
+ 00030435  0x00009965 arg  0x000006e8 , 0x00000011 
+ 00030436  0x00009966 arg  0x000006a8 , 0x00000012 
+ 00030437  0x00009967 arg  0x000005e8 , 0x00000005 
+ 00030438  0x00009968 call  0x000077e9 
+ 00030439  0x00009969 arg  0x000005e8 , 0x00000011 
+ 00030440  0x0000996a arg  0x000007e0 , 0x00000012 
+ 00030441  0x0000996b arg  0x000005e8 , 0x00000005 
+ 00030442  0x0000996c force  0x00000000 , 0x00000013 
+ 00030443  0x0000996d fetch  0x00000001 , 0x000005e8 
+ 00030444  0x0000996e isolate1  0x00000000 , 0x0000003f 
+ 00030445  0x0000996f call  0x000077ce , 0x00000001 
+ 00030446  0x00009970 copy  0x00000013 , 0x00000030 
+ 00030447  0x00009971 arg  0x000005e8 , 0x00000011 
+ 00030448  0x00009972 call  0x000077fe 
+ 00030449  0x00009973 fetch  0x00000001 , 0x00000607 
+ 00030450  0x00009974 isolate1  0x00000000 , 0x00000030 
+ 00030451  0x00009975 setflag  0x00000001 , 0x00000007 , 0x0000003f 
+ 00030452  0x00009976 store  0x00000001 , 0x00000607 
+ 00030453  0x00009977 rtn 
+ 00030454  0x0000997a copy  0x00000005 , 0x0000000b 
+ 00030455  0x0000997b arg  0x000006c8 , 0x00000005 
+ 00030456  0x0000997c call  0x00007d97 
+ 00030457  0x0000997d force  0x00000000 , 0x0000003f 
+ 00030458  0x0000997f store  0x00000004 , 0x000006e8 
+ 00030459  0x00009980 jam  0x00000001 , 0x000006c8 
+ 00030460  0x00009981 arg  0x00000648 , 0x00000005 
+ 00030461  0x00009982 call  0x00007d99 
+ 00030462  0x00009983 arg  0x000007e0 , 0x00000006 
+ 00030463  0x00009984 arg  0x00000688 , 0x00000005 
+ 00030464  0x00009985 call  0x00007d7d 
+ 00030465  0x00009986 copy  0x00000011 , 0x00000006 
+ 00030466  0x00009987 arg  0x000006a8 , 0x00000005 
+ 00030467  0x00009988 call  0x00007d7d 
+ 00030468  0x0000998f arg  0x000006a8 , 0x00000006 
+ 00030469  0x00009990 call  0x00007808 
+ 00030470  0x00009991 branch  0x0000772d , 0x00000034 
+ 00030471  0x00009996 arg  0x000006a8 , 0x00000011 
+ 00030472  0x00009997 arg  0x000006c8 , 0x00000012 
+ 00030473  0x00009998 call  0x0000780b 
+ 00030474  0x00009999 arg  0x00000688 , 0x00000011 
+ 00030475  0x0000999a arg  0x00000648 , 0x00000012 
+ 00030476  0x0000999b call  0x0000780b 
+ 00030477  0x0000999d arg  0x000006a8 , 0x00000011 
+ 00030478  0x0000999e arg  0x00000688 , 0x00000012 
+ 00030479  0x0000999f call  0x00007804 
+ 00030480  0x000099a0 branch  0x0000771f , 0x00000002 
+ 00030481  0x000099a1 arg  0x00000688 , 0x00000011 
+ 00030482  0x000099a2 arg  0x000006a8 , 0x00000012 
+ 00030483  0x000099a3 copy  0x00000011 , 0x00000005 
+ 00030484  0x000099a4 call  0x000077fc 
+ 00030485  0x000099a5 arg  0x000006c8 , 0x00000011 
+ 00030486  0x000099a6 arg  0x00000648 , 0x00000012 
+ 00030487  0x000099a7 copy  0x00000012 , 0x00000005 
+ 00030488  0x000099a8 call  0x000077ce 
+ 00030489  0x000099a9 ifetch  0x00000001 , 0x00000011 
+ 00030490  0x000099aa iadd  0x00000013 , 0x00000013 
+ 00030491  0x000099ab ifetch  0x00000001 , 0x00000012 
+ 00030492  0x000099ac iadd  0x00000013 , 0x0000003f 
+ 00030493  0x000099ad istore  0x00000001 , 0x00000012 
+ 00030494  0x000099ae branch  0x00007704 
+ 00030495  0x000099b0 arg  0x000006a8 , 0x00000011 
+ 00030496  0x000099b1 arg  0x00000688 , 0x00000012 
+ 00030497  0x000099b2 copy  0x00000011 , 0x00000005 
+ 00030498  0x000099b3 call  0x000077fc 
+ 00030499  0x000099b4 arg  0x00000648 , 0x00000011 
+ 00030500  0x000099b5 arg  0x000006c8 , 0x00000012 
+ 00030501  0x000099b6 copy  0x00000012 , 0x00000005 
+ 00030502  0x000099b7 call  0x000077ce 
+ 00030503  0x000099b8 ifetch  0x00000001 , 0x00000011 
+ 00030504  0x000099b9 iadd  0x00000013 , 0x00000013 
+ 00030505  0x000099ba ifetch  0x00000001 , 0x00000012 
+ 00030506  0x000099bb iadd  0x00000013 , 0x0000003f 
+ 00030507  0x000099bc istore  0x00000001 , 0x00000012 
+ 00030508  0x000099bd branch  0x00007704 
+ 00030509  0x000099c0 arg  0x00000648 , 0x00000011 
+ 00030510  0x000099c1 copy  0x0000000b , 0x00000005 
+ 00030511  0x000099c2 call  0x0000775d 
+ 00030512  0x000099c4 arg  0x000007e0 , 0x00000011 
+ 00030513  0x000099c5 copy  0x0000000b , 0x00000012 
+ 00030514  0x000099c6 copy  0x0000000b , 0x00000005 
+ 00030515  0x000099c7 branch  0x000077e9 
+ 00030516  0x000099cb copy  0x00000005 , 0x0000000b 
+ 00030517  0x000099cd force  0x00000000 , 0x00000038 
+ 00030518  0x000099cf arg  0x00000648 , 0x00000005 
+ 00030519  0x000099d0 call  0x00007d99 
+ 00030520  0x000099d1 arg  0x0000099e , 0x00000005 
+ 00030521  0x000099d2 call  0x00007d99 
+ 00030522  0x000099d6 copy  0x00000011 , 0x00000006 
+ 00030523  0x000099d8 jam  0x00000000 , 0x0000099e 
+ 00030524  0x000099d9 setarg  0x00000000 
+ 00030525  0x000099da call  0x000077c6 
+ 00030526  0x000099db copy  0x00000012 , 0x00000006 
+ 00030527  0x000099dc call  0x000077ca 
+ 00030528  0x000099df force  0x00000000 , 0x00000007 
+ 00030529  0x000099e0 arg  0x00000648 , 0x00000005 
+ 00030530  0x000099e4 arg  0x0000099e , 0x00000002 
+ 00030531  0x000099e5 copy  0x00000007 , 0x00000012 
+ 00030532  0x000099e6 lshift2  0x00000012 , 0x0000003f 
+ 00030533  0x000099e8 iadd  0x00000002 , 0x00000012 
+ 00030534  0x000099e9 force  0x00000000 , 0x00000002 
+ 00030535  0x000099ea force  0x00000000 , 0x00000013 
+ 00030536  0x000099f0 ifetch  0x00000004 , 0x00000005 
+ 00030537  0x000099f1 iforce  0x00000011 
+ 00030538  0x000099f4 ifetch  0x00000004 , 0x00000012 
+ 00030539  0x000099f5 copy  0x00000013 , 0x00000038 
+ 00030540  0x000099f6 imul32  0x0000002f , 0x0000003f 
+ 00030541  0x000099f7 iadd  0x00000011 , 0x0000003f 
+ 00030542  0x000099f8 iadd  0x00000002 , 0x0000003f 
+ 00030543  0x000099f9 istore  0x00000004 , 0x00000005 
+ 00030544  0x000099fa rshift32  0x0000003f , 0x00000002 
+ 00030545  0x000099fb increase  0x00000001 , 0x00000013 
+ 00030546  0x000099fc compare  0x00000008 , 0x00000013 , 0x000000ff 
+ 00030547  0x000099fd nbranch  0x00007748 , 0x00000001 
+ 00030548  0x000099ff deposit  0x00000002 
+ 00030549  0x00009a00 istore  0x00000004 , 0x00000005 
+ 00030550  0x00009a01 increase  0xffffffe0 , 0x00000005 
+ 00030551  0x00009a04 increase  0x00000001 , 0x00000007 
+ 00030552  0x00009a05 compare  0x00000008 , 0x00000007 , 0x000000ff 
+ 00030553  0x00009a06 nbranch  0x00007742 , 0x00000001 
+ 00030554  0x00009a07 arg  0x00000648 , 0x00000011 
+ 00030555  0x00009a08 copy  0x0000000b , 0x00000005 
+ 00030556  0x00009a09 branch  0x0000775d 
+ 00030557  0x00009a0c bpatchx  0x00000083 , 0x00004030 
+ 00030558  0x00009a0d copy  0x00000005 , 0x0000000b 
+ 00030559  0x00009a0e copy  0x00000011 , 0x00000030 
+ 00030560  0x00009a0f arg  0x00000688 , 0x00000012 
+ 00030561  0x00009a10 copy  0x00000012 , 0x00000005 
+ 00030562  0x00009a11 call  0x00007d94 
+ 00030563  0x00009a12 istore  0x00000008 , 0x00000005 
+ 00030564  0x00009a13 add  0x00000011 , 0x0000002c , 0x00000006 
+ 00030565  0x00009a14 call  0x00007d79 
+ 00030566  0x00009a15 call  0x00007d75 
+ 00030567  0x00009a16 copy  0x00000012 , 0x00000011 
+ 00030568  0x00009a17 call  0x000077d3 
+ 00030569  0x00009a18 arg  0x00000688 , 0x00000012 
+ 00030570  0x00009a19 copy  0x00000030 , 0x00000011 
+ 00030571  0x00009a1a copy  0x0000000b , 0x00000005 
+ 00030572  0x00009a1b call  0x000077d0 
+ 00030573  0x00009a1d arg  0x00000688 , 0x00000012 
+ 00030574  0x00009a1e copy  0x00000012 , 0x00000005 
+ 00030575  0x00009a1f call  0x00007d94 
+ 00030576  0x00009a20 istore  0x00000008 , 0x00000005 
+ 00030577  0x00009a21 add  0x00000030 , 0x00000030 , 0x00000006 
+ 00030578  0x00009a22 call  0x00007d7f 
+ 00030579  0x00009a23 call  0x00007d94 
+ 00030580  0x00009a24 copy  0x00000012 , 0x00000011 
+ 00030581  0x00009a25 call  0x000077d3 
+ 00030582  0x00009a29 arg  0x00000688 , 0x00000012 
+ 00030583  0x00009a2a copy  0x0000000b , 0x00000011 
+ 00030584  0x00009a2b copy  0x00000011 , 0x00000005 
+ 00030585  0x00009a2c call  0x000077d0 
+ 00030586  0x00009a30 arg  0x00000688 , 0x00000012 
+ 00030587  0x00009a31 copy  0x00000012 , 0x00000005 
+ 00030588  0x00009a32 add  0x00000030 , 0x00000020 , 0x00000006 
+ 00030589  0x00009a33 call  0x00007d75 
+ 00030590  0x00009a34 call  0x00007d94 
+ 00030591  0x00009a35 istore  0x00000008 , 0x00000005 
+ 00030592  0x00009a36 add  0x00000030 , 0x00000038 , 0x00000006 
+ 00030593  0x00009a37 call  0x00007d79 
+ 00030594  0x00009a38 copy  0x0000000b , 0x00000011 
+ 00030595  0x00009a39 copy  0x00000011 , 0x00000005 
+ 00030596  0x00009a3a call  0x000077d0 
+ 00030597  0x00009a3e arg  0x00000688 , 0x00000012 
+ 00030598  0x00009a3f copy  0x00000012 , 0x00000005 
+ 00030599  0x00009a40 add  0x00000030 , 0x00000024 , 0x00000006 
+ 00030600  0x00009a41 call  0x00007d75 
+ 00030601  0x00009a42 add  0x00000030 , 0x00000034 , 0x00000006 
+ 00030602  0x00009a43 call  0x00007d75 
+ 00030603  0x00009a44 add  0x00000030 , 0x00000034 , 0x00000006 
+ 00030604  0x00009a45 call  0x00007d76 
+ 00030605  0x00009a46 add  0x00000030 , 0x00000020 , 0x00000006 
+ 00030606  0x00009a47 call  0x00007d76 
+ 00030607  0x00009a48 copy  0x0000000b , 0x00000011 
+ 00030608  0x00009a49 copy  0x00000011 , 0x00000005 
+ 00030609  0x00009a4a call  0x000077d0 
+ 00030610  0x00009a4d arg  0x00000688 , 0x00000012 
+ 00030611  0x00009a4e copy  0x00000012 , 0x00000005 
+ 00030612  0x00009a4f add  0x00000030 , 0x0000002c , 0x00000006 
+ 00030613  0x00009a50 call  0x00007d75 
+ 00030614  0x00009a51 call  0x00007d94 
+ 00030615  0x00009a52 istore  0x00000008 , 0x00000005 
+ 00030616  0x00009a53 add  0x00000030 , 0x00000020 , 0x00000006 
+ 00030617  0x00009a54 call  0x00007d76 
+ 00030618  0x00009a55 add  0x00000030 , 0x00000028 , 0x00000006 
+ 00030619  0x00009a56 call  0x00007d76 
+ 00030620  0x00009a57 copy  0x0000000b , 0x00000011 
+ 00030621  0x00009a58 copy  0x00000011 , 0x00000005 
+ 00030622  0x00009a59 call  0x000077e9 
+ 00030623  0x00009a5c arg  0x00000688 , 0x00000012 
+ 00030624  0x00009a5d copy  0x00000012 , 0x00000005 
+ 00030625  0x00009a5e add  0x00000030 , 0x00000030 , 0x00000006 
+ 00030626  0x00009a5f call  0x00007d79 
+ 00030627  0x00009a60 call  0x00007d79 
+ 00030628  0x00009a61 force  0x00000000 , 0x0000003f 
+ 00030629  0x00009a62 istore  0x00000008 , 0x00000005 
+ 00030630  0x00009a63 add  0x00000030 , 0x00000024 , 0x00000006 
+ 00030631  0x00009a64 call  0x00007d76 
+ 00030632  0x00009a65 add  0x00000030 , 0x0000002c , 0x00000006 
+ 00030633  0x00009a66 call  0x00007d76 
+ 00030634  0x00009a67 copy  0x0000000b , 0x00000011 
+ 00030635  0x00009a68 copy  0x00000011 , 0x00000005 
+ 00030636  0x00009a69 call  0x000077e9 
+ 00030637  0x00009a6c arg  0x00000688 , 0x00000012 
+ 00030638  0x00009a6d copy  0x00000012 , 0x00000005 
+ 00030639  0x00009a6e add  0x00000030 , 0x00000034 , 0x00000006 
+ 00030640  0x00009a6f call  0x00007d75 
+ 00030641  0x00009a70 add  0x00000030 , 0x00000020 , 0x00000006 
+ 00030642  0x00009a71 call  0x00007d75 
+ 00030643  0x00009a72 call  0x00007d94 
+ 00030644  0x00009a73 add  0x00000030 , 0x00000030 , 0x00000006 
+ 00030645  0x00009a74 call  0x00007d76 
+ 00030646  0x00009a75 copy  0x0000000b , 0x00000011 
+ 00030647  0x00009a76 copy  0x00000011 , 0x00000005 
+ 00030648  0x00009a77 call  0x000077e9 
+ 00030649  0x00009a7a arg  0x00000688 , 0x00000012 
+ 00030650  0x00009a7b copy  0x00000012 , 0x00000005 
+ 00030651  0x00009a7c add  0x00000030 , 0x00000038 , 0x00000006 
+ 00030652  0x00009a7d call  0x00007d79 
+ 00030653  0x00009a7e call  0x00007d94 
+ 00030654  0x00009a7f add  0x00000030 , 0x00000024 , 0x00000006 
+ 00030655  0x00009a80 call  0x00007d75 
+ 00030656  0x00009a81 call  0x00007d94 
+ 00030657  0x00009a82 add  0x00000030 , 0x00000034 , 0x00000006 
+ 00030658  0x00009a83 call  0x00007d76 
+ 00030659  0x00009a84 copy  0x0000000b , 0x00000011 
+ 00030660  0x00009a85 copy  0x00000011 , 0x00000005 
+ 00030661  0x00009a86 branch  0x000077e9 
+ 00030662  0x00009a8a force  0x00000020 , 0x00000039 
+ 00030663  0x00009a8b arg  0x0000099e , 0x00000005 
+ 00030664  0x00009a8c iadd  0x00000005 , 0x00000005 
+ 00030665  0x00009a8d branch  0x00007dd4 
+ 00030666  0x00009a90 force  0x00000008 , 0x00000039 
+ 00030667  0x00009a91 branch  0x0000717c 
+ 00030668  0x00009a94 copy  0x00000011 , 0x00000012 
+ 00030669  0x00009a95 branch  0x00007734 
+ 00030670  0x00009a98 force  0x00000008 , 0x00000039 
+ 00030671  0x00009a99 branch  0x0000710d 
+ 00030672  0x00009a9c call  0x000077ce 
+ 00030673  0x00009a9d copy  0x00000005 , 0x00000011 
+ 00030674  0x00009a9e branch  0x000077d4 
+ 00030675  0x00009aa1 call  0x00007801 
+ 00030676  0x00009aa3 isolate1  0x00000000 , 0x00000013 
+ 00030677  0x00009aa4 branch  0x000077dd , 0x00000001 
+ 00030678  0x00009aa5 arg  0x000007e0 , 0x00000012 
+ 00030679  0x00009aa6 copy  0x00000011 , 0x00000013 
+ 00030680  0x00009aa7 increase  0xffffffe0 , 0x00000011 
+ 00030681  0x00009aa8 call  0x00007804 
+ 00030682  0x00009aa9 nrtn  0x00000002 
+ 00030683  0x00009aaa copy  0x00000013 , 0x00000011 
+ 00030684  0x00009aab branch  0x000077e5 
+ 00030685  0x00009aae call  0x000077e5 
+ 00030686  0x00009ab0 copy  0x00000011 , 0x00000013 
+ 00030687  0x00009ab1 increase  0xffffffe0 , 0x00000011 
+ 00030688  0x00009ab2 arg  0x000007e0 , 0x00000012 
+ 00030689  0x00009ab3 call  0x00007804 
+ 00030690  0x00009ab4 nrtn  0x00000002 
+ 00030691  0x00009ab5 copy  0x00000013 , 0x00000011 
+ 00030692  0x00009ab6 branch  0x000077e5 
+ 00030693  0x00009aba increase  0xffffffe0 , 0x00000011 
+ 00030694  0x00009abb arg  0x000007e0 , 0x00000012 
+ 00030695  0x00009abc copy  0x00000011 , 0x00000005 
+ 00030696  0x00009abd branch  0x000077fc 
+ 00030697  0x00009ac3 call  0x000077fc 
+ 00030698  0x00009ac5 branch  0x000077f3 , 0x00000001 
+ 00030699  0x00009ac8 add  0x00000005 , 0xffffffe0 , 0x00000011 
+ 00030700  0x00009ac9 arg  0x000007e0 , 0x00000012 
+ 00030701  0x00009aca call  0x00007804 
+ 00030702  0x00009acb nrtn  0x00000002 
+ 00030703  0x00009acc arg  0x000007e0 , 0x00000012 
+ 00030704  0x00009acd add  0x00000005 , 0xffffffe0 , 0x00000011 
+ 00030705  0x00009acf copy  0x00000011 , 0x00000005 
+ 00030706  0x00009ad0 branch  0x000077fc 
+ 00030707  0x00009ad2 add  0x00000005 , 0xffffffe0 , 0x00000011 
+ 00030708  0x00009ad3 arg  0x000007e0 , 0x00000012 
+ 00030709  0x00009ad4 copy  0x00000011 , 0x00000005 
+ 00030710  0x00009ad5 call  0x000077ce 
+ 00030711  0x00009ad7 rtn  0x00000001 
+ 00030712  0x00009ad8 add  0x00000005 , 0xffffffe0 , 0x00000011 
+ 00030713  0x00009ad9 arg  0x000007e0 , 0x00000012 
+ 00030714  0x00009ada copy  0x00000011 , 0x00000005 
+ 00030715  0x00009adb branch  0x000077ce 
+ 00030716  0x00009ae0 force  0x00000008 , 0x00000039 
+ 00030717  0x00009ae1 branch  0x0000711b 
+ 00030718  0x00009ae4 force  0x00000008 , 0x00000039 
+ 00030719  0x00009ae5 increase  0x0000001c , 0x00000011 
+ 00030720  0x00009ae6 branch  0x0000712a 
+ 00030721  0x00009ae9 force  0x00000008 , 0x00000039 
+ 00030722  0x00009aea force  0x00000000 , 0x00000013 
+ 00030723  0x00009aeb branch  0x00007138 
+ 00030724  0x00009aee force  0x00000008 , 0x00000039 
+ 00030725  0x00009aef increase  0x0000001c , 0x00000011 
+ 00030726  0x00009af0 increase  0x0000001c , 0x00000012 
+ 00030727  0x00009af1 branch  0x00007102 
+ 00030728  0x00009af5 ifetch  0x00000008 , 0x00000006 
+ 00030729  0x00009af6 nrtn  0x00000034 
+ 00030730  0x00009af7 branch  0x000070f0 
+ 00030731  0x00009afd copy  0x00000011 , 0x00000030 
+ 00030732  0x00009aff copy  0x00000030 , 0x00000011 
+ 00030733  0x00009b00 ifetch  0x00000001 , 0x00000011 
+ 00030734  0x00009b01 isolate1  0x00000000 , 0x0000003f 
+ 00030735  0x00009b02 rtn  0x00000001 
+ 00030736  0x00009b03 call  0x000077fe 
+ 00030737  0x00009b04 ifetch  0x00000001 , 0x00000012 
+ 00030738  0x00009b05 isolate0  0x00000000 , 0x0000003f 
+ 00030739  0x00009b06 branch  0x0000781b , 0x00000001 
+ 00030740  0x00009b07 arg  0x000007e0 , 0x00000011 
+ 00030741  0x00009b08 copy  0x00000012 , 0x00000005 
+ 00030742  0x00009b09 call  0x000077ce 
+ 00030743  0x00009b0a ifetch  0x00000001 , 0x00000012 
+ 00030744  0x00009b0b iadd  0x00000013 , 0x0000003f 
+ 00030745  0x00009b0c istore  0x00000001 , 0x00000012 
+ 00030746  0x00009b0d increase  0xffffffe0 , 0x00000012 
+ 00030747  0x00009b0f add  0x00000012 , 0x00000020 , 0x00000011 
+ 00030748  0x00009b10 force  0x00000009 , 0x00000039 
+ 00030749  0x00009b11 call  0x0000712a 
+ 00030750  0x00009b12 branch  0x0000780c 
+ 00030751  0x00009b17 call  0x00001597 
+ 00030752  0x00009b18 rtn  0x0000002b 
+ 00030753  0x00009b19 call  0x00007826 
+ 00030754  0x00009b1a call  0x000078cc 
+ 00030755  0x00009b1b branch  0x0000785b 
+ 00030756  0x00009b1e call  0x0000787c 
+ 00030757  0x00009b1f branch  0x000078bb 
+ 00030758  0x00009b22 fetch  0x00000001 , 0x00004793 
+ 00030759  0x00009b23 rtneq  0x000000ff 
+ 00030760  0x00009b24 iforce  0x00000002 
+ 00030761  0x00009b25 call  0x0000610d 
+ 00030762  0x00009b26 fetcht  0x00000001 , 0x00004793 
+ 00030763  0x00009b27 call  0x00006109 
+ 00030764  0x00009b28 nop  0x00000064 
+ 00030765  0x00009b29 fetcht  0x00000001 , 0x00004793 
+ 00030766  0x00009b2a call  0x000060f4 
+ 00030767  0x00009b2b branch  0x00007830 
+ 00030768  0x00009b30 bpatchx  0x00000084 , 0x00004030 
+ 00030769  0x00009b31 fetch  0x00000001 , 0x00004793 
+ 00030770  0x00009b32 rtneq  0x000000ff 
+ 00030771  0x00009b33 copy  0x0000003f , 0x00000002 
+ 00030772  0x00009b34 call  0x000060fd 
+ 00030773  0x00009b35 nbranch  0x00007842 , 0x00000001 
+ 00030774  0x00009b38 call  0x0000784c 
+ 00030775  0x00009b39 fetch  0x00000002 , 0x0000478f 
+ 00030776  0x00009b3a set1  0x0000000c , 0x0000003f 
+ 00030777  0x00009b3b store  0x00000002 , 0x0000478f 
+ 00030778  0x00009b3c fetch  0x00000001 , 0x00004786 
+ 00030779  0x00009b3d rtneq  0x00000000 
+ 00030780  0x00009b3e jam  0x00000000 , 0x00004786 
+ 00030781  0x00009b40 fetch  0x00000001 , 0x00004792 
+ 00030782  0x00009b41 store  0x00000001 , 0x00004785 
+ 00030783  0x00009b42 call  0x00007853 
+ 00030784  0x00009b43 jam  0x0000002c , 0x0000095b 
+ 00030785  0x00009b44 branch  0x000078dc 
+ 00030786  0x00009b46 fetch  0x00000002 , 0x0000478f 
+ 00030787  0x00009b47 set0  0x0000000c , 0x0000003f 
+ 00030788  0x00009b48 store  0x00000002 , 0x0000478f 
+ 00030789  0x00009b49 fetch  0x00000001 , 0x00004786 
+ 00030790  0x00009b4a rtneq  0x00000001 
+ 00030791  0x00009b4b jam  0x00000001 , 0x00004786 
+ 00030792  0x00009b4d jam  0x00000000 , 0x00004785 
+ 00030793  0x00009b4e call  0x00007855 
+ 00030794  0x00009b4f jam  0x0000002d , 0x0000095b 
+ 00030795  0x00009b50 branch  0x000078dc 
+ 00030796  0x00009b53 fetch  0x00000001 , 0x00004785 
+ 00030797  0x00009b54 rtn  0x00000034 
+ 00030798  0x00009b55 increase  0xffffffff , 0x0000003f 
+ 00030799  0x00009b56 store  0x00000001 , 0x00004785 
+ 00030800  0x00009b57 nrtn  0x00000034 
+ 00030801  0x00009b59 jam  0x00000010 , 0x0000095b 
+ 00030802  0x00009b5a branch  0x000078dc 
+ 00030803  0x00009b5d arg  0x00000007 , 0x00000007 
+ 00030804  0x00009b5e branch  0x00001566 
+ 00030805  0x00009b61 arg  0x00000007 , 0x00000007 
+ 00030806  0x00009b62 branch  0x0000156a 
+ 00030807  0x00009b6a fetch  0x00000002 , 0x0000448f 
+ 00030808  0x00009b6b mul32  0x00000011 , 0x0000000b , 0x00000012 
+ 00030809  0x00009b6c iadd  0x00000012 , 0x00000012 
+ 00030810  0x00009b6d rtn 
+ 00030811  0x00009b71 fetch  0x00000001 , 0x0000448e 
+ 00030812  0x00009b72 rtn  0x00000034 
+ 00030813  0x00009b73 copy  0x0000003f , 0x00000039 
+ 00030814  0x00009b74 fetch  0x00000002 , 0x0000448f 
+ 00030815  0x00009b75 copy  0x0000003f , 0x00000012 
+ 00030816  0x00009b77 add  0x00000012 , 0x00000002 , 0x00000013 
+ 00030817  0x00009b78 ifetcht  0x00000001 , 0x00000013 
+ 00030818  0x00009b79 call  0x0000610d 
+ 00030819  0x00009b7a call  0x00007885 
+ 00030820  0x00009b7b increase  0x0000000b , 0x00000012 
+ 00030821  0x00009b7c loop  0x00007860 
+ 00030822  0x00009b7d rtn 
+ 00030823  0x00009b82 call  0x00007857 
+ 00030824  0x00009b83 setarg  0x00000002 
+ 00030825  0x00009b84 istore  0x00000001 , 0x00000012 
+ 00030826  0x00009b85 call  0x000078b5 
+ 00030827  0x00009b86 branch  0x0000788a 
+ 00030828  0x00009b8c call  0x00007857 
+ 00030829  0x00009b8d setarg  0x00000003 
+ 00030830  0x00009b8e istore  0x00000001 , 0x00000012 
+ 00030831  0x00009b8f call  0x000078b5 
+ 00030832  0x00009b90 branch  0x00007885 
+ 00030833  0x00009b95 call  0x00007857 
+ 00030834  0x00009b96 setarg  0x00000001 
+ 00030835  0x00009b97 istore  0x00000001 , 0x00000012 
+ 00030836  0x00009b98 setarg  0x000000ff 
+ 00030837  0x00009b99 istore  0x00000001 , 0x00000005 
+ 00030838  0x00009b9a branch  0x00007885 
+ 00030839  0x00009ba0 call  0x00007857 
+ 00030840  0x00009ba1 arg  0x0000000b , 0x00000039 
+ 00030841  0x00009ba2 copy  0x00000013 , 0x00000006 
+ 00030842  0x00009ba3 copy  0x00000012 , 0x00000005 
+ 00030843  0x00009ba4 branch  0x00007dc7 
+ 00030844  0x00009ba9 fetch  0x00000001 , 0x0000448e 
+ 00030845  0x00009baa rtn  0x00000034 
+ 00030846  0x00009bab arg  0x00000000 , 0x00000011 
+ 00030847  0x00009bad call  0x0000788f 
+ 00030848  0x00009bae increase  0x00000001 , 0x00000011 
+ 00030849  0x00009baf fetch  0x00000001 , 0x0000448e 
+ 00030850  0x00009bb0 isub  0x00000011 , 0x0000003e 
+ 00030851  0x00009bb1 rtn  0x00000005 
+ 00030852  0x00009bb2 branch  0x0000787f 
+ 00030853  0x00009bb6 add  0x00000012 , 0x00000002 , 0x00000013 
+ 00030854  0x00009bb7 ifetcht  0x00000001 , 0x00000013 
+ 00030855  0x00009bb8 fetch  0x00000001 , 0x0000409a 
+ 00030856  0x00009bb9 beq  0x00000008 , 0x00004980 
+ 00030857  0x00009bba branch  0x00006109 
+ 00030858  0x00009bbe add  0x00000012 , 0x00000002 , 0x00000013 
+ 00030859  0x00009bbf ifetcht  0x00000001 , 0x00000013 
+ 00030860  0x00009bc0 fetch  0x00000001 , 0x0000409a 
+ 00030861  0x00009bc1 beq  0x00000008 , 0x0000498c 
+ 00030862  0x00009bc2 branch  0x0000610d 
+ 00030863  0x00009bc7 add  0x00000011 , 0x0000000b , 0x00000007 
+ 00030864  0x00009bc8 call  0x00007de9 
+ 00030865  0x00009bc9 nrtn  0x00000034 
+ 00030866  0x00009bcb call  0x00007857 
+ 00030867  0x00009bcd ifetch  0x00000001 , 0x00000012 
+ 00030868  0x00009bcf beq  0x00000002 , 0x0000788a 
+ 00030869  0x00009bd0 beq  0x00000003 , 0x00007885 
+ 00030870  0x00009bd1 beq  0x00000000 , 0x00007885 
+ 00030871  0x00009bd2 beq  0x00000005 , 0x000078a3 
+ 00030872  0x00009bd4 call  0x0000788a 
+ 00030873  0x00009bd5 add  0x00000012 , 0x00000007 , 0x00000013 
+ 00030874  0x00009bd6 call  0x00007d3b 
+ 00030875  0x00009bd7 ifetch  0x00000002 , 0x00000013 
+ 00030876  0x00009bd8 call  0x00007e7a 
+ 00030877  0x00009bd9 call  0x00007d47 
+ 00030878  0x00009bda setarg  0x00000005 
+ 00030879  0x00009bdb istore  0x00000001 , 0x00000012 
+ 00030880  0x00009bdc add  0x00000012 , 0x00000003 , 0x00000013 
+ 00030881  0x00009bdd ifetch  0x00000002 , 0x00000013 
+ 00030882  0x00009bde branch  0x000078b3 
+ 00030883  0x00009be2 call  0x00007885 
+ 00030884  0x00009be3 add  0x00000012 , 0x00000009 , 0x00000013 
+ 00030885  0x00009be4 call  0x00007d3b 
+ 00030886  0x00009be5 ifetch  0x00000002 , 0x00000013 
+ 00030887  0x00009be6 call  0x00007e7a 
+ 00030888  0x00009be7 call  0x00007d47 
+ 00030889  0x00009be9 add  0x00000012 , 0x00000001 , 0x00000013 
+ 00030890  0x00009bea ifetch  0x00000001 , 0x00000013 
+ 00030891  0x00009beb beq  0x000000ff , 0x000078af 
+ 00030892  0x00009bec increase  0xffffffff , 0x0000003f 
+ 00030893  0x00009bed istore  0x00000001 , 0x00000013 
+ 00030894  0x00009bee branch  0x0000786c , 0x00000034 
+ 00030895  0x00009bf0 setarg  0x00000004 
+ 00030896  0x00009bf1 istore  0x00000001 , 0x00000012 
+ 00030897  0x00009bf2 add  0x00000012 , 0x00000005 , 0x00000013 
+ 00030898  0x00009bf3 ifetch  0x00000002 , 0x00000013 
+ 00030899  0x00009bf5 add  0x00000011 , 0x0000000b , 0x00000007 
+ 00030900  0x00009bf6 branch  0x00007ddb 
+ 00030901  0x00009bf9 setarg  0x00000000 
+ 00030902  0x00009bfa branch  0x000078b3 
+ 00030903  0x00009c01 setarg  0x00001000 
+ 00030904  0x00009c02 lshift16  0x0000003f , 0x0000003f 
+ 00030905  0x00009c03 iadd  0x00000012 , 0x00000012 
+ 00030906  0x00009c04 rtn 
+ 00030907  0x00009c07 bpatchx  0x00000085 , 0x00004030 
+ 00030908  0x00009c08 arg  0x00000000 , 0x00000011 
+ 00030909  0x00009c09 fetcht  0x00000004 , 0x00004787 
+ 00030910  0x00009c0a copy  0x00000022 , 0x00000012 
+ 00030911  0x00009c0b copy  0x00000012 , 0x0000003f 
+ 00030912  0x00009c0c isub  0x00000002 , 0x0000003e 
+ 00030913  0x00009c0d ncall  0x000078b7 , 0x00000002 
+ 00030914  0x00009c0f copy  0x00000012 , 0x0000003f 
+ 00030915  0x00009c10 increase  0x000000a0 , 0x00000002 
+ 00030916  0x00009c11 increase  0x000000a0 , 0x00000002 
+ 00030917  0x00009c12 isub  0x00000002 , 0x0000003e 
+ 00030918  0x00009c13 nbranch  0x000078cf , 0x00000002 
+ 00030919  0x00009c14 increase  0x00000001 , 0x00000011 
+ 00030920  0x00009c15 and  0x00000011 , 0x0000000f , 0x0000003f 
+ 00030921  0x00009c16 nbranch  0x000078c2 , 0x00000034 
+ 00030922  0x00009c17 arg  0x00000000 , 0x00000011 
+ 00030923  0x00009c18 call  0x000078d5 
+ 00030924  0x00009c1a copy  0x00000022 , 0x0000003f 
+ 00030925  0x00009c1b store  0x00000004 , 0x00004787 
+ 00030926  0x00009c1c rtn 
+ 00030927  0x00009c1e copy  0x00000011 , 0x0000003f 
+ 00030928  0x00009c1f rtn  0x00000034 
+ 00030929  0x00009c20 increase  0xffffff60 , 0x00000002 
+ 00030930  0x00009c21 increase  0xffffff60 , 0x00000002 
+ 00030931  0x00009c22 set0  0x0000001c , 0x00000002 
+ 00030932  0x00009c23 storet  0x00000004 , 0x00004787 
+ 00030933  0x00009c25 branch  0x000031ee 
+ 00030934  0x00009c2d jam  0x00000001 , 0x00004773 
+ 00030935  0x00009c2f fetch  0x00000001 , 0x00004774 
+ 00030936  0x00009c30 nbranch  0x000078d7 , 0x00000034 
+ 00030937  0x00009c31 rtn 
+ 00030938  0x00009c34 jam  0x00000000 , 0x00004773 
+ 00030939  0x00009c35 rtn 
+ 00030940  0x00009c3a bpatchx  0x00000086 , 0x00004030 
+ 00030941  0x00009c3b call  0x000078d6 
+ 00030942  0x00009c3c copy  0x00000011 , 0x0000003f 
+ 00030943  0x00009c3d store  0x00000004 , 0x00000953 
+ 00030944  0x00009c3e arg  0x00004775 , 0x00000011 
+ 00030945  0x00009c3f call  0x00007e96 
+ 00030946  0x00009c40 fetch  0x00000004 , 0x00000953 
+ 00030947  0x00009c41 copy  0x0000003f , 0x00000011 
+ 00030948  0x00009c42 branch  0x000078da 
+ 00030949  0x00009c45 bpatchx  0x00000087 , 0x00004030 
+ 00030950  0x00009c46 call  0x000078d6 
+ 00030951  0x00009c47 copy  0x00000011 , 0x0000003f 
+ 00030952  0x00009c48 store  0x00000004 , 0x00000953 
+ 00030953  0x00009c49 arg  0x0000477d , 0x00000011 
+ 00030954  0x00009c4a call  0x00007e96 
+ 00030955  0x00009c4b fetch  0x00000004 , 0x00000953 
+ 00030956  0x00009c4c copy  0x0000003f , 0x00000011 
+ 00030957  0x00009c4d branch  0x000078da 
+ 00030958  0x00009c50 setarg  0x00000000 
+ 00030959  0x00009c51 store  0x00000008 , 0x0000477d 
+ 00030960  0x00009c52 store  0x00000008 , 0x00004775 
+ 00030961  0x00009c53 rtn 
+ 00030962  0x00009c56 bpatchx  0x00000088 , 0x00004031 
+ 00030963  0x00009c57 fetch  0x00000001 , 0x000041db 
+ 00030964  0x00009c58 nrtn  0x00000034 
+ 00030965  0x00009c59 arg  0x0000477d , 0x00000011 
+ 00030966  0x00009c5a call  0x00007eae 
+ 00030967  0x00009c5b rtn  0x00000034 
+ 00030968  0x00009c5c jam  0x00000000 , 0x00000952 
+ 00030969  0x00009c5d call  0x000078fd 
+ 00030970  0x00009c5e fetch  0x00000001 , 0x00000952 
+ 00030971  0x00009c5f branch  0x000078f2 , 0x00000034 
+ 00030972  0x00009c60 rtn 
+ 00030973  0x00009c63 call  0x000078d6 
+ 00030974  0x00009c64 arg  0x0000477d , 0x00000011 
+ 00030975  0x00009c65 call  0x00007ea2 
+ 00030976  0x00009c66 copy  0x0000003f , 0x00000002 
+ 00030977  0x00009c67 call  0x000078da 
+ 00030978  0x00009c68 bpatchx  0x00000089 , 0x00004031 
+ 00030979  0x00009c69 copy  0x00000002 , 0x0000003f 
+ 00030980  0x00009c6a rtn  0x00000034 
+ 00030981  0x00009c6b beq  0x00000001 , 0x0000792f 
+ 00030982  0x00009c6c beq  0x00000002 , 0x00007934 
+ 00030983  0x00009c6d beq  0x00000003 , 0x0000793a 
+ 00030984  0x00009c6e beq  0x0000000d , 0x00007959 
+ 00030985  0x00009c6f beq  0x0000000e , 0x0000795f 
+ 00030986  0x00009c70 beq  0x0000000f , 0x00007964 
+ 00030987  0x00009c71 beq  0x00000010 , 0x0000796a 
+ 00030988  0x00009c72 beq  0x00000013 , 0x00007974 
+ 00030989  0x00009c73 beq  0x00000014 , 0x00007976 
+ 00030990  0x00009c74 beq  0x00000015 , 0x00007978 
+ 00030991  0x00009c75 beq  0x00000016 , 0x00007982 
+ 00030992  0x00009c76 beq  0x00000017 , 0x00007985 
+ 00030993  0x00009c77 beq  0x00000018 , 0x00007987 
+ 00030994  0x00009c78 beq  0x00000019 , 0x0000798a 
+ 00030995  0x00009c79 beq  0x0000001e , 0x0000799c 
+ 00030996  0x00009c7b store  0x00000001 , 0x0000095b 
+ 00030997  0x00009c7c call  0x00005a3f 
+ 00030998  0x00009c7d nbranch  0x0000792d , 0x00000034 
+ 00030999  0x00009c7f fetch  0x00000001 , 0x0000095b 
+ 00031000  0x00009c80 bmark0  0x00000009 , 0x00007928 
+ 00031001  0x00009c81 bpatchx  0x0000008a , 0x00004031 
+ 00031002  0x00009c82 fetch  0x00000001 , 0x0000095b 
+ 00031003  0x00009c83 beq  0x00000004 , 0x0000793c 
+ 00031004  0x00009c84 beq  0x00000005 , 0x0000793f 
+ 00031005  0x00009c85 beq  0x00000006 , 0x0000794a 
+ 00031006  0x00009c86 beq  0x0000000a , 0x0000794c 
+ 00031007  0x00009c87 beq  0x00000011 , 0x0000796f 
+ 00031008  0x00009c88 beq  0x0000001b , 0x00007992 
+ 00031009  0x00009c89 beq  0x00000012 , 0x00007973 
+ 00031010  0x00009c8a beq  0x0000001d , 0x00007993 
+ 00031011  0x00009c8b beq  0x0000001f , 0x000060c9 
+ 00031012  0x00009c8c beq  0x00000020 , 0x000060cb 
+ 00031013  0x00009c8d beq  0x00000021 , 0x0000799e 
+ 00031014  0x00009c8e beq  0x00000025 , 0x00005ffb 
+ 00031015  0x00009c8f rtn 
+ 00031016  0x00009c92 store  0x00000001 , 0x0000095b 
+ 00031017  0x00009c93 call  0x00000a5f 
+ 00031018  0x00009c94 branch  0x0000792d , 0x00000005 
+ 00031019  0x00009c95 call  0x00000a67 
+ 00031020  0x00009c96 nrtn  0x00000005 
+ 00031021  0x00009c98 jam  0x00000001 , 0x00000952 
+ 00031022  0x00009c99 branch  0x000078e5 
+ 00031023  0x00009c9f fetch  0x00000002 , 0x0000478f 
+ 00031024  0x00009ca0 set1  0x00000006 , 0x0000003f 
+ 00031025  0x00009ca1 store  0x00000002 , 0x0000478f 
+ 00031026  0x00009ca2 jam  0x00000003 , 0x0000409b 
+ 00031027  0x00009ca3 rtn 
+ 00031028  0x00009ca8 jam  0x00000000 , 0x0000478d 
+ 00031029  0x00009ca9 jam  0x00000000 , 0x0000409b 
+ 00031030  0x00009caa fetch  0x00000002 , 0x0000478f 
+ 00031031  0x00009cab set0  0x00000006 , 0x0000003f 
+ 00031032  0x00009cac store  0x00000002 , 0x0000478f 
+ 00031033  0x00009cad rtn 
+ 00031034  0x00009cb2 jam  0x00000005 , 0x000041db 
+ 00031035  0x00009cb3 rtn 
+ 00031036  0x00009cb8 jam  0x00000007 , 0x0000007c 
+ 00031037  0x00009cb9 jam  0x00000013 , 0x0000039e 
+ 00031038  0x00009cba rtn 
+ 00031039  0x00009cbf jam  0x00000017 , 0x0000007c 
+ 00031040  0x00009cc0 arg  0x000003ac , 0x00000005 
+ 00031041  0x00009cc1 setarg  0x00000000 
+ 00031042  0x00009cc2 isolate1  0x0000001b , 0x00000028 
+ 00031043  0x00009cc3 setflag  0x00000001 , 0x00000001 , 0x0000003f 
+ 00031044  0x00009cc4 istore  0x00000001 , 0x00000005 
+ 00031045  0x00009cc5 setarg  0x00000000 
+ 00031046  0x00009cc6 istore  0x00000002 , 0x00000005 
+ 00031047  0x00009cc7 fetch  0x00000006 , 0x00004455 
+ 00031048  0x00009cc8 istore  0x00000006 , 0x00000005 
+ 00031049  0x00009cc9 rtn 
+ 00031050  0x00009cce jam  0x00000018 , 0x0000007c 
+ 00031051  0x00009ccf rtn 
+ 00031052  0x00009cd4 jam  0x00000002 , 0x000003a8 
+ 00031053  0x00009cd6 fetch  0x00000001 , 0x0000004b 
+ 00031054  0x00009cd7 bbit1  0x00000002 , 0x00007952 
+ 00031055  0x00009cd8 call  0x00005a72 
+ 00031056  0x00009cd9 jam  0x00000008 , 0x0000007c 
+ 00031057  0x00009cda rtn 
+ 00031058  0x00009cdc set0  0x00000002 , 0x0000003f 
+ 00031059  0x00009cdd store  0x00000001 , 0x0000004b 
+ 00031060  0x00009cde call  0x00005750 
+ 00031061  0x00009cdf setarg  0x00000000 
+ 00031062  0x00009ce0 setflag  0x00000029 , 0x00000001 , 0x0000003f 
+ 00031063  0x00009ce1 store  0x00000001 , 0x0000007f 
+ 00031064  0x00009ce2 rtn 
+ 00031065  0x00009ce7 jam  0x00000001 , 0x00004427 
+ 00031066  0x00009ce8 jam  0x00000000 , 0x0000442a 
+ 00031067  0x00009ce9 fetch  0x00000002 , 0x0000478f 
+ 00031068  0x00009cea set1  0x0000000b , 0x0000003f 
+ 00031069  0x00009ceb store  0x00000002 , 0x0000478f 
+ 00031070  0x00009cec rtn 
+ 00031071  0x00009cf1 fetch  0x00000002 , 0x0000478f 
+ 00031072  0x00009cf2 set0  0x0000000b , 0x0000003f 
+ 00031073  0x00009cf3 store  0x00000002 , 0x0000478f 
+ 00031074  0x00009cf4 jam  0x00000000 , 0x00004427 
+ 00031075  0x00009cf5 rtn 
+ 00031076  0x00009cfa jam  0x00000001 , 0x00004427 
+ 00031077  0x00009cfb jam  0x00000001 , 0x0000442a 
+ 00031078  0x00009cfc fetch  0x00000002 , 0x0000478f 
+ 00031079  0x00009cfd set1  0x0000000b , 0x0000003f 
+ 00031080  0x00009cfe store  0x00000002 , 0x0000478f 
+ 00031081  0x00009cff rtn 
+ 00031082  0x00009d04 fetch  0x00000002 , 0x0000478f 
+ 00031083  0x00009d05 set0  0x0000000b , 0x0000003f 
+ 00031084  0x00009d06 store  0x00000002 , 0x0000478f 
+ 00031085  0x00009d07 jam  0x00000000 , 0x00004427 
+ 00031086  0x00009d08 rtn 
+ 00031087  0x00009d0d setarg  0x00000014 
+ 00031088  0x00009d0e store  0x00000002 , 0x000002b5 
+ 00031089  0x00009d0f store  0x00000002 , 0x00004394 
+ 00031090  0x00009d10 branch  0x00002134 
+ 00031091  0x00009d15 branch  0x00001f04 
+ 00031092  0x00009d1a arg  0x00000000 , 0x00000011 
+ 00031093  0x00009d1b branch  0x0000786c 
+ 00031094  0x00009d20 arg  0x00000000 , 0x00000011 
+ 00031095  0x00009d21 branch  0x00007867 
+ 00031096  0x00009d26 arg  0x00000000 , 0x00000011 
+ 00031097  0x00009d27 call  0x00007857 
+ 00031098  0x00009d28 ifetch  0x00000001 , 0x00000012 
+ 00031099  0x00009d29 beq  0x00000001 , 0x0000797f 
+ 00031100  0x00009d2a beq  0x00000004 , 0x0000797f 
+ 00031101  0x00009d2b beq  0x00000005 , 0x0000797f 
+ 00031102  0x00009d2c branch  0x00007871 
+ 00031103  0x00009d2f ifetch  0x00000001 , 0x00000006 
+ 00031104  0x00009d30 rtneq  0x000000ff 
+ 00031105  0x00009d31 branch  0x00007871 
+ 00031106  0x00009d36 jam  0x00000001 , 0x000043e2 
+ 00031107  0x00009d37 jam  0x0000001b , 0x000041db 
+ 00031108  0x00009d3a rtn 
+ 00031109  0x00009d3f jam  0x00000001 , 0x000043e2 
+ 00031110  0x00009d40 rtn 
+ 00031111  0x00009d45 jam  0x00000000 , 0x000043e2 
+ 00031112  0x00009d46 jam  0x00000000 , 0x000041db 
+ 00031113  0x00009d47 rtn 
+ 00031114  0x00009d4c fetch  0x00000002 , 0x0000445d 
+ 00031115  0x00009d4d call  0x00007e7a 
+ 00031116  0x00009d4e fetch  0x00000001 , 0x00004793 
+ 00031117  0x00009d4f beq  0x000000ff , 0x00007990 
+ 00031118  0x00009d50 copy  0x0000003f , 0x00000002 
+ 00031119  0x00009d51 call  0x000060f4 
+ 00031120  0x00009d53 call  0x000078ee 
+ 00031121  0x00009d54 branch  0x00001459 
+ 00031122  0x00009d59 branch  0x00001f46 
+ 00031123  0x00009d5e jam  0x00000034 , 0x0000007c 
+ 00031124  0x00009d5f set1  0x00000003 , 0x00000000 
+ 00031125  0x00009d60 nrtn  0x00000029 
+ 00031126  0x00009d61 jam  0x00000000 , 0x00004645 
+ 00031127  0x00009d62 jam  0x00000013 , 0x0000007c 
+ 00031128  0x00009d63 fetch  0x00000001 , 0x000000bc 
+ 00031129  0x00009d64 set0  0x00000002 , 0x0000003f 
+ 00031130  0x00009d65 store  0x00000001 , 0x000000bc 
+ 00031131  0x00009d66 rtn 
+ 00031132  0x00009d6b force  0x00000003 , 0x00000007 
+ 00031133  0x00009d6c branch  0x00007dda 
+ 00031134  0x00009d71 call  0x00005a7b 
+ 00031135  0x00009d72 jam  0x00000041 , 0x0000007d 
+ 00031136  0x00009d73 branch  0x000056ec 
+ 00031137  0x00009d77 fetch  0x00000001 , 0x0000478f 
+ 00031138  0x00009d78 rtnbit0  0x0000000c 
+ 00031139  0x00009d79 rtnbit0  0x00000007 
+ 00031140  0x00009d7a branch  0x0000799c 
+ 00031141  0x00009d80 fetch  0x00000002 , 0x0000448c 
+ 00031142  0x00009d81 add  0x0000003f , 0x00000002 , 0x00000005 
+ 00031143  0x00009d82 setarg  0x00000000 
+ 00031144  0x00009d83 istore  0x00000003 , 0x00000005 
+ 00031145  0x00009d84 rtn 
+ 00031146  0x00009d89 call  0x00007ec7 
+ 00031147  0x00009d8a call  0x000079f4 
+ 00031148  0x00009d8b rtn  0x00000034 
+ 00031149  0x00009d8c fetch  0x00000002 , 0x0000448c 
+ 00031150  0x00009d8d add  0x0000003f , 0x00000002 , 0x00000012 
+ 00031151  0x00009d8e ifetcht  0x00000001 , 0x00000012 
+ 00031152  0x00009d8f increase  0x00000001 , 0x00000002 
+ 00031153  0x00009d90 istoret  0x00000001 , 0x00000012 
+ 00031154  0x00009d92 ifetcht  0x00000001 , 0x0000003f 
+ 00031155  0x00009d93 copy  0x00000002 , 0x00000039 
+ 00031156  0x00009d94 add  0x0000003f , 0x00000004 , 0x00000012 
+ 00031157  0x00009d95 ifetch  0x00000001 , 0x00000012 
+ 00031158  0x00009d96 imul32  0x00000002 , 0x0000003f 
+ 00031159  0x00009d97 iadd  0x00000006 , 0x00000005 
+ 00031160  0x00009d98 copy  0x00000011 , 0x00000006 
+ 00031161  0x00009d9a call  0x00007dd4 
+ 00031162  0x00009d9b call  0x000079f8 
+ 00031163  0x00009d9c pincrease  0xffffffff 
+ 00031164  0x00009d9d ifetcht  0x00000001 , 0x00000012 
+ 00031165  0x00009d9e increase  0x00000001 , 0x00000002 
+ 00031166  0x00009d9f iand  0x00000002 , 0x00000002 
+ 00031167  0x00009da0 istoret  0x00000001 , 0x00000012 
+ 00031168  0x00009da1 branch  0x00007ec5 
+ 00031169  0x00009da7 call  0x00007ec7 
+ 00031170  0x00009da8 call  0x000079f0 
+ 00031171  0x00009da9 rtn  0x00000034 
+ 00031172  0x00009daa fetch  0x00000002 , 0x0000448c 
+ 00031173  0x00009dab add  0x0000003f , 0x00000002 , 0x00000012 
+ 00031174  0x00009dac ifetcht  0x00000001 , 0x00000012 
+ 00031175  0x00009dad increase  0xffffffff , 0x00000002 
+ 00031176  0x00009dae istoret  0x00000001 , 0x00000012 
+ 00031177  0x00009daf ifetcht  0x00000001 , 0x0000003f 
+ 00031178  0x00009db0 copy  0x00000002 , 0x00000039 
+ 00031179  0x00009db1 add  0x0000003f , 0x00000003 , 0x00000012 
+ 00031180  0x00009db2 ifetch  0x00000001 , 0x00000012 
+ 00031181  0x00009db3 imul32  0x00000002 , 0x0000003f 
+ 00031182  0x00009db4 iadd  0x00000006 , 0x00000006 
+ 00031183  0x00009db5 increase  0x00000001 , 0x00000006 
+ 00031184  0x00009db6 copy  0x00000011 , 0x00000005 
+ 00031185  0x00009db7 branch  0x000079b9 
+ 00031186  0x00009dbf call  0x00007ec7 
+ 00031187  0x00009dc0 call  0x000079f0 
+ 00031188  0x00009dc1 rtn  0x00000034 
+ 00031189  0x00009dc2 fetch  0x00000002 , 0x0000448c 
+ 00031190  0x00009dc3 ifetcht  0x00000001 , 0x0000003f 
+ 00031191  0x00009dc4 copy  0x00000002 , 0x00000039 
+ 00031192  0x00009dc5 add  0x0000003f , 0x00000003 , 0x00000012 
+ 00031193  0x00009dc6 ifetch  0x00000001 , 0x00000012 
+ 00031194  0x00009dc7 imul32  0x00000002 , 0x0000003f 
+ 00031195  0x00009dc8 iadd  0x00000006 , 0x00000006 
+ 00031196  0x00009dc9 increase  0x00000001 , 0x00000006 
+ 00031197  0x00009dca copy  0x00000006 , 0x00000012 
+ 00031198  0x00009dcb copy  0x00000011 , 0x00000005 
+ 00031199  0x00009dcc call  0x00007dd4 
+ 00031200  0x00009dcd branch  0x00007ec5 
+ 00031201  0x00009dd0 call  0x00007ec7 
+ 00031202  0x00009dd1 call  0x000079f0 
+ 00031203  0x00009dd2 rtn  0x00000034 
+ 00031204  0x00009dd3 fetch  0x00000002 , 0x0000448c 
+ 00031205  0x00009dd4 ifetcht  0x00000001 , 0x0000003f 
+ 00031206  0x00009dd5 copy  0x00000002 , 0x00000039 
+ 00031207  0x00009dd6 add  0x0000003f , 0x00000003 , 0x00000012 
+ 00031208  0x00009dd7 ifetch  0x00000001 , 0x00000012 
+ 00031209  0x00009dd8 imul32  0x00000002 , 0x0000003f 
+ 00031210  0x00009dd9 iadd  0x00000006 , 0x00000006 
+ 00031211  0x00009dda add  0x00000006 , 0x00000002 , 0x00000005 
+ 00031212  0x00009ddb copy  0x00000011 , 0x00000006 
+ 00031213  0x00009ddc increase  0xffffffff , 0x00000039 
+ 00031214  0x00009ddd call  0x00007dd4 
+ 00031215  0x00009dde branch  0x00007ec5 
+ 00031216  0x00009de2 fetch  0x00000002 , 0x0000448c 
+ 00031217  0x00009de3 add  0x0000003f , 0x00000002 , 0x00000006 
+ 00031218  0x00009de4 ifetch  0x00000001 , 0x00000006 
+ 00031219  0x00009de5 rtn 
+ 00031220  0x00009de9 call  0x000079f8 
+ 00031221  0x00009dea ifetcht  0x00000001 , 0x00000006 
+ 00031222  0x00009deb isub  0x00000002 , 0x0000003f 
+ 00031223  0x00009dec rtn 
+ 00031224  0x00009df0 fetch  0x00000002 , 0x0000448c 
+ 00031225  0x00009df1 add  0x0000003f , 0x00000001 , 0x00000006 
+ 00031226  0x00009df2 ifetch  0x00000001 , 0x00000006 
+ 00031227  0x00009df3 rtn 
+ 00031228  0x00009dfc bpatchx  0x0000008b , 0x00004031 
+ 00031229  0x00009dfd fetch  0x00000001 , 0x00008c23 
+ 00031230  0x00009dfe isolate1  0x00000003 , 0x0000003f 
+ 00031231  0x00009dff call  0x00007a08 , 0x00000001 
+ 00031232  0x00009e00 fetch  0x00000001 , 0x00008c23 
+ 00031233  0x00009e01 store  0x00000001 , 0x00008c23 
+ 00031234  0x00009e02 store  0x00000001 , 0x000009f6 
+ 00031235  0x00009e03 call  0x00007a68 
+ 00031236  0x00009e04 call  0x00007a90 
+ 00031237  0x00009e05 call  0x00007c81 
+ 00031238  0x00009e06 call  0x00007cc9 
+ 00031239  0x00009e07 branch  0x00007a60 
+ 00031240  0x00009e0a bpatchx  0x0000008c , 0x00004031 
+ 00031241  0x00009e0b call  0x00006e5e 
+ 00031242  0x00009e0c call  0x00007a27 
+ 00031243  0x00009e0d jam  0x00000000 , 0x00008c00 
+ 00031244  0x00009e0e nop  0x00002710 
+ 00031245  0x00009e0f jam  0x000000c0 , 0x00008c18 
+ 00031246  0x00009e10 fetch  0x00000002 , 0x00008050 
+ 00031247  0x00009e11 set0  0x0000000a , 0x0000003f 
+ 00031248  0x00009e12 store  0x00000002 , 0x00008050 
+ 00031249  0x00009e13 jam  0x00000000 , 0x00008c11 
+ 00031250  0x00009e14 jam  0x0000003c , 0x00008c00 
+ 00031251  0x00009e15 setarg  0x00000a4f 
+ 00031252  0x00009e16 store  0x00000002 , 0x00008c03 
+ 00031253  0x00009e17 store  0x00000002 , 0x00008c07 
+ 00031254  0x00009e18 setarg  0x00000a8f 
+ 00031255  0x00009e19 store  0x00000002 , 0x00008c05 
+ 00031256  0x00009e1a jam  0x00000004 , 0x00008c11 
+ 00031257  0x00009e1b jam  0x00000000 , 0x00008c02 
+ 00031258  0x00009e1c jam  0x000000ff , 0x00008c23 
+ 00031259  0x00009e1d setarg  0x00000c4b 
+ 00031260  0x00009e1e arg  0x00000b59 , 0x00000005 
+ 00031261  0x00009e1f isub  0x00000005 , 0x00000039 
+ 00031262  0x00009e20 branch  0x00007d9b 
+ 00031263  0x00009e23 fetcht  0x00000001 , 0x00000b58 
+ 00031264  0x00009e24 branch  0x000060f4 
+ 00031265  0x00009e26 fetch  0x00000001 , 0x00000bfa 
+ 00031266  0x00009e27 rtn  0x00000034 
+ 00031267  0x00009e28 fetcht  0x00000001 , 0x00000b58 
+ 00031268  0x00009e29 call  0x000060fd 
+ 00031269  0x00009e2a branch  0x00007a08 , 0x00000001 
+ 00031270  0x00009e2b rtn 
+ 00031271  0x00009e2e jam  0x00000002 , 0x00000b57 
+ 00031272  0x00009e2f setarg  0x00000000 
+ 00031273  0x00009e30 store  0x00000001 , 0x00000a92 
+ 00031274  0x00009e31 store  0x00000002 , 0x00000b51 
+ 00031275  0x00009e32 pincrease  0x00000001 
+ 00031276  0x00009e33 store  0x00000002 , 0x00000b53 
+ 00031277  0x00009e34 pincrease  0x00000001 
+ 00031278  0x00009e35 store  0x00000002 , 0x00000b55 
+ 00031279  0x00009e36 arg  0x00000ae6 , 0x00000005 
+ 00031280  0x00009e37 setarg  0x00030404 
+ 00031281  0x00009e38 istore  0x00000003 , 0x00000005 
+ 00031282  0x00009e39 setarg  0x00000409 
+ 00031283  0x00009e3a istore  0x00000002 , 0x00000005 
+ 00031284  0x00009e3b arg  0x00000aeb , 0x00000005 
+ 00031285  0x00009e3c setsect  0x00000000 , 0x00015906 
+ 00031286  0x00009e3d setsect  0x00000001 , 0x000210d2 
+ 00031287  0x00009e3e setsect  0x00000002 , 0x00010494 
+ 00031288  0x00009e3f setsect  0x00000003 , 0x00000001 
+ 00031289  0x00009e40 istore  0x00000009 , 0x00000005 
+ 00031290  0x00009e41 arg  0x00000b09 , 0x00000005 
+ 00031291  0x00009e42 setsect  0x00000000 , 0x0001570f 
+ 00031292  0x00009e43 setsect  0x00000001 , 0x00015c9a 
+ 00031293  0x00009e44 setsect  0x00000002 , 0x000256c6 
+ 00031294  0x00009e45 setsect  0x00000003 , 0x0001cdcd 
+ 00031295  0x00009e46 istore  0x00000009 , 0x00000005 
+ 00031296  0x00009e47 setsect  0x00000000 , 0x00014420 
+ 00031297  0x00009e48 setsect  0x00000001 , 0x00025d99 
+ 00031298  0x00009e49 setsect  0x00000002 , 0x00025636 
+ 00031299  0x00009e4a setsect  0x00000003 , 0x00000001 
+ 00031300  0x00009e4b istore  0x00000007 , 0x00000005 
+ 00031301  0x00009e4c arg  0x00000b27 , 0x00000005 
+ 00031302  0x00009e4d setsect  0x00000000 , 0x0001620a 
+ 00031303  0x00009e4e setsect  0x00000001 , 0x00000c8c 
+ 00031304  0x00009e4f setsect  0x00000002 , 0x00030333 
+ 00031305  0x00009e50 setsect  0x00000003 , 0x0000c0c0 
+ 00031306  0x00009e51 istore  0x00000009 , 0x00000005 
+ 00031307  0x00009e52 setsect  0x00000000 , 0x00003130 
+ 00031308  0x00009e53 istore  0x00000002 , 0x00000005 
+ 00031309  0x00009e54 setarg  0x000099a4 
+ 00031310  0x00009e55 store  0x00000002 , 0x00000a93 
+ 00031311  0x00009e56 setarg  0x000099ff 
+ 00031312  0x00009e57 store  0x00000002 , 0x00000a95 
+ 00031313  0x00009e58 arg  0x00009aa3 , 0x00000006 
+ 00031314  0x00009e59 arg  0x00000a97 , 0x00000005 
+ 00031315  0x00009e5a arg  0x00000013 , 0x00000039 
+ 00031316  0x00009e5b call  0x00007dd4 
+ 00031317  0x00009e5c arg  0x00009ab6 , 0x00000006 
+ 00031318  0x00009e5d arg  0x00000aaa , 0x00000005 
+ 00031319  0x00009e5e arg  0x0000003c , 0x00000039 
+ 00031320  0x00009e5f call  0x00007dd4 
+ 00031321  0x00009e61 fetch  0x00000002 , 0x00000b45 
+ 00031322  0x00009e62 branch  0x00007e7a 
+ 00031323  0x00009e65 fetch  0x00000001 , 0x00000b47 
+ 00031324  0x00009e66 rtn  0x00000034 
+ 00031325  0x00009e67 store  0x00000001 , 0x00000acc 
+ 00031326  0x00009e68 store  0x00000001 , 0x00000ae5 
+ 00031327  0x00009e69 rtn 
+ 00031328  0x00009e6c arg  0x00000000 , 0x00000007 
+ 00031329  0x00009e6d call  0x00007de9 
+ 00031330  0x00009e6e nrtn  0x00000034 
+ 00031331  0x00009e6f fetch  0x00000001 , 0x00000bfb 
+ 00031332  0x00009e70 nrtn  0x00000034 
+ 00031333  0x00009e71 fetch  0x00000001 , 0x00000bfa 
+ 00031334  0x00009e72 ncall  0x00007d1f , 0x00000034 
+ 00031335  0x00009e73 rtn 
+ 00031336  0x00009e76 fetch  0x00000001 , 0x000009f6 
+ 00031337  0x00009e77 bbit1  0x00000002 , 0x00007a6b 
+ 00031338  0x00009e78 rtn 
+ 00031339  0x00009e7b call  0x00007a70 
+ 00031340  0x00009e7c call  0x00007de8 
+ 00031341  0x00009e7d setarg  0x00000280 
+ 00031342  0x00009e7e arg  0x00000000 , 0x00000007 
+ 00031343  0x00009e7f branch  0x00007ddb 
+ 00031344  0x00009e82 fetch  0x00000001 , 0x00000bec 
+ 00031345  0x00009e83 bne  0x00000002 , 0x00007a75 
+ 00031346  0x00009e84 jam  0x00000000 , 0x00000bfb 
+ 00031347  0x00009e85 jam  0x00000000 , 0x00000bfc 
+ 00031348  0x00009e86 rtn 
+ 00031349  0x00009e89 fetch  0x00000001 , 0x00000bfe 
+ 00031350  0x00009e8a rtn  0x00000034 
+ 00031351  0x00009e8b jam  0x00000000 , 0x00000bfe 
+ 00031352  0x00009e8c jam  0x00000002 , 0x00000bec 
+ 00031353  0x00009e8d jam  0x00000001 , 0x00000bfa 
+ 00031354  0x00009e8e rtn 
+ 00031355  0x00009e91 fetch  0x00000001 , 0x000009f6 
+ 00031356  0x00009e92 bbit1  0x00000000 , 0x00007a9d 
+ 00031357  0x00009e93 rtn 
+ 00031358  0x00009e96 fetch  0x00000001 , 0x00008c24 
+ 00031359  0x00009e97 rtnbit1  0x00000006 
+ 00031360  0x00009e98 fetchr  0x0000000a , 0x00000002 , 0x00008c03 
+ 00031361  0x00009e99 fetchr  0x00000010 , 0x00000002 , 0x00008c05 
+ 00031362  0x00009e9a fetchr  0x00000003 , 0x00000002 , 0x00008c07 
+ 00031363  0x00009e9b ifetch  0x00000002 , 0x00000003 
+ 00031364  0x00009e9c rshift8  0x0000003f , 0x00000002 
+ 00031365  0x00009e9d rshift4  0x00000002 , 0x00000002 
+ 00031366  0x00009e9e arg  0x00000fff , 0x00000006 
+ 00031367  0x00009e9f iand  0x00000006 , 0x00000039 
+ 00031368  0x00009ea0 copy  0x00000039 , 0x00000011 
+ 00031369  0x00009ea2 ifetch  0x00000001 , 0x00000003 
+ 00031370  0x00009ea3 istore  0x00000001 , 0x00000005 
+ 00031371  0x00009ea4 loop  0x00007a89 
+ 00031372  0x00009ea5 storer  0x00000003 , 0x00000002 , 0x00008c07 
+ 00031373  0x00009ea6 storer  0x00000011 , 0x00000002 , 0x000009f8 
+ 00031374  0x00009ea7 rtn 
+ 00031375  0x00009ea9 rtn 
+ 00031376  0x00009eac bpatchx  0x0000008d , 0x00004031 
+ 00031377  0x00009ead fetch  0x00000001 , 0x000009f6 
+ 00031378  0x00009eae rtnbit0  0x00000005 
+ 00031379  0x00009eaf arg  0x00000b59 , 0x00000005 
+ 00031380  0x00009eb0 call  0x00007a7e 
+ 00031381  0x00009eb1 copy  0x00000002 , 0x0000003f 
+ 00031382  0x00009eb2 beq  0x00000000 , 0x00007a98 
+ 00031383  0x00009eb3 branch  0x00007a8f 
+ 00031384  0x00009eb5 fetch  0x00000001 , 0x000009f8 
+ 00031385  0x00009eb6 beq  0x00000000 , 0x00007a7b 
+ 00031386  0x00009eb7 beq  0x00000001 , 0x00007aa4 
+ 00031387  0x00009eb8 sub  0x0000003f , 0x00000007 , 0x0000003e 
+ 00031388  0x00009eb9 rtn  0x00000002 
+ 00031389  0x00009ebb bpatchx  0x0000008e , 0x00004031 
+ 00031390  0x00009ebc set0  0x00000023 , 0x00000000 
+ 00031391  0x00009ebd fetch  0x00000001 , 0x00000b59 
+ 00031392  0x00009ebe and_into  0x00000080 , 0x0000003f 
+ 00031393  0x00009ebf beq  0x00000080 , 0x00007aa8 
+ 00031394  0x00009ec0 beq  0x00000000 , 0x00007ab0 
+ 00031395  0x00009ec1 branch  0x0000137c 
+ 00031396  0x00009ec4 fetch  0x00000001 , 0x00000b59 
+ 00031397  0x00009ec5 rtnbit1  0x00000007 
+ 00031398  0x00009ec6 call  0x00007c56 
+ 00031399  0x00009ec7 branch  0x00007ad6 
+ 00031400  0x00009ecb fetch  0x00000001 , 0x00000b59 
+ 00031401  0x00009ecc rshift4  0x0000003f , 0x0000003f 
+ 00031402  0x00009ecd rshift  0x0000003f , 0x0000003f 
+ 00031403  0x00009ece and_into  0x00000003 , 0x0000003f 
+ 00031404  0x00009ecf beq  0x00000000 , 0x00007ab8 
+ 00031405  0x00009ed0 beq  0x00000001 , 0x00007abe 
+ 00031406  0x00009ed1 beq  0x00000002 , 0x00007ac3 
+ 00031407  0x00009ed2 branch  0x0000137c 
+ 00031408  0x00009ed5 fetch  0x00000001 , 0x00000b59 
+ 00031409  0x00009ed6 rshift4  0x0000003f , 0x0000003f 
+ 00031410  0x00009ed7 rshift  0x0000003f , 0x0000003f 
+ 00031411  0x00009ed8 and_into  0x00000003 , 0x0000003f 
+ 00031412  0x00009ed9 beq  0x00000000 , 0x00007ac4 
+ 00031413  0x00009eda beq  0x00000001 , 0x00007acc 
+ 00031414  0x00009edb beq  0x00000002 , 0x00007ad1 
+ 00031415  0x00009edc branch  0x0000137c 
+ 00031416  0x00009edf fetch  0x00000001 , 0x00000b5a 
+ 00031417  0x00009ee0 beq  0x00000008 , 0x00007ad8 
+ 00031418  0x00009ee1 beq  0x00000006 , 0x00007aee 
+ 00031419  0x00009ee2 beq  0x0000000a , 0x00007b33 
+ 00031420  0x00009ee3 beq  0x00000000 , 0x00007b45 
+ 00031421  0x00009ee4 branch  0x00007ad2 
+ 00031422  0x00009ee7 fetch  0x00000001 , 0x00000b5a 
+ 00031423  0x00009ee8 beq  0x00000002 , 0x00007b7a 
+ 00031424  0x00009ee9 beq  0x00000001 , 0x00007b7e 
+ 00031425  0x00009eea beq  0x00000003 , 0x00007b8f 
+ 00031426  0x00009eeb branch  0x00007ad2 
+ 00031427  0x00009eee branch  0x00007ad2 
+ 00031428  0x00009ef1 fetch  0x00000001 , 0x00000b5a 
+ 00031429  0x00009ef2 beq  0x00000001 , 0x00007b99 
+ 00031430  0x00009ef3 beq  0x00000003 , 0x00007bc8 
+ 00031431  0x00009ef4 beq  0x00000005 , 0x00007bf3 
+ 00031432  0x00009ef5 beq  0x00000009 , 0x00007c0c 
+ 00031433  0x00009ef6 beq  0x0000000b , 0x00007c27 
+ 00031434  0x00009ef7 beq  0x00000007 , 0x00007ad2 
+ 00031435  0x00009ef8 branch  0x00007ad2 
+ 00031436  0x00009efb fetch  0x00000001 , 0x00000b5a 
+ 00031437  0x00009efc beq  0x0000000a , 0x00007c38 
+ 00031438  0x00009efd beq  0x00000009 , 0x00007c4a 
+ 00031439  0x00009efe beq  0x0000000b , 0x00007c68 
+ 00031440  0x00009eff branch  0x00007ad2 
+ 00031441  0x00009f02 branch  0x00007ad2 
+ 00031442  0x00009f05 fetch  0x00000001 , 0x00008c19 
+ 00031443  0x00009f06 set1  0x00000000 , 0x0000003f 
+ 00031444  0x00009f07 store  0x00000001 , 0x00008c19 
+ 00031445  0x00009f08 branch  0x00007ad6 
+ 00031446  0x00009f0b jam  0x00000010 , 0x00008c18 
+ 00031447  0x00009f0c rtn 
+ 00031448  0x00009f0f fetch  0x00000001 , 0x00000b59 
+ 00031449  0x00009f10 bne  0x00000080 , 0x00007ad2 
+ 00031450  0x00009f11 fetch  0x00000001 , 0x00000b5d 
+ 00031451  0x00009f12 bne  0x00000000 , 0x00007ad2 
+ 00031452  0x00009f13 fetch  0x00000001 , 0x00000b5e 
+ 00031453  0x00009f14 bne  0x00000000 , 0x00007ad2 
+ 00031454  0x00009f15 fetch  0x00000001 , 0x00000b5f 
+ 00031455  0x00009f16 bne  0x00000001 , 0x00007ad2 
+ 00031456  0x00009f17 fetch  0x00000001 , 0x00000b60 
+ 00031457  0x00009f18 bne  0x00000000 , 0x00007ad2 
+ 00031458  0x00009f19 fetch  0x00000001 , 0x00000b5b 
+ 00031459  0x00009f1a bne  0x00000000 , 0x00007ad2 
+ 00031460  0x00009f1b fetch  0x00000001 , 0x00000b5c 
+ 00031461  0x00009f1c bne  0x00000000 , 0x00007ad2 
+ 00031462  0x00009f1d fetch  0x00000001 , 0x00000b57 
+ 00031463  0x00009f1e beq  0x00000004 , 0x00007aea 
+ 00031464  0x00009f1f beq  0x00000003 , 0x00007aec 
+ 00031465  0x00009f20 branch  0x00007ad2 
+ 00031466  0x00009f23 arg  0x00000001 , 0x00000012 
+ 00031467  0x00009f24 branch  0x00007b5f 
+ 00031468  0x00009f27 arg  0x00000001 , 0x00000012 
+ 00031469  0x00009f28 branch  0x00007b5d 
+ 00031470  0x00009f2b bpatchx  0x0000008f , 0x00004031 
+ 00031471  0x00009f2d fetch  0x00000001 , 0x00000b5c 
+ 00031472  0x00009f2e beq  0x00000001 , 0x00007b01 
+ 00031473  0x00009f2f beq  0x00000002 , 0x00007b1a 
+ 00031474  0x00009f30 beq  0x00000003 , 0x00007b1d 
+ 00031475  0x00009f31 beq  0x00000021 , 0x00007af6 
+ 00031476  0x00009f32 beq  0x00000022 , 0x00007b2b 
+ 00031477  0x00009f33 branch  0x00007ad2 
+ 00031478  0x00009f36 jam  0x00000000 , 0x00000be9 
+ 00031479  0x00009f37 fetch  0x00000001 , 0x00000b5d 
+ 00031480  0x00009f38 beq  0x00000000 , 0x00007afb 
+ 00031481  0x00009f39 beq  0x00000001 , 0x00007afe 
+ 00031482  0x00009f3a branch  0x00007ad2 
+ 00031483  0x00009f3d fetchr  0x00000012 , 0x00000001 , 0x00000abd 
+ 00031484  0x00009f3e arg  0x00000abd , 0x00000011 
+ 00031485  0x00009f3f branch  0x00007c77 
+ 00031486  0x00009f42 fetchr  0x00000012 , 0x00000001 , 0x00000ad6 
+ 00031487  0x00009f43 arg  0x00000ad6 , 0x00000011 
+ 00031488  0x00009f44 branch  0x00007c77 
+ 00031489  0x00009f4a fetch  0x00000001 , 0x00000bfd 
+ 00031490  0x00009f4b ncall  0x00007b12 , 0x00000034 
+ 00031491  0x00009f4c setarg  0x00000a97 
+ 00031492  0x00009f4d fetcht  0x00000001 , 0x00000a97 
+ 00031493  0x00009f4f store  0x00000002 , 0x00000bf4 
+ 00031494  0x00009f50 storet  0x00000001 , 0x00000bf6 
+ 00031495  0x00009f51 fetch  0x00000001 , 0x00000b5f 
+ 00031496  0x00009f52 isub  0x00000002 , 0x0000003e 
+ 00031497  0x00009f53 nbranch  0x00007b10 , 0x00000002 
+ 00031498  0x00009f55 fetch  0x00000001 , 0x00000bf6 
+ 00031499  0x00009f57 iforce  0x00000012 
+ 00031500  0x00009f58 fetch  0x00000002 , 0x00000bf4 
+ 00031501  0x00009f59 add  0x0000003f , 0x00000001 , 0x0000003f 
+ 00031502  0x00009f5a iforce  0x00000011 
+ 00031503  0x00009f5b branch  0x00007c77 
+ 00031504  0x00009f5d fetch  0x00000001 , 0x00000b5f 
+ 00031505  0x00009f5e branch  0x00007b0b 
+ 00031506  0x00009f61 fetch  0x00000001 , 0x00008c02 
+ 00031507  0x00009f62 ncall  0x00007b16 , 0x00000034 
+ 00031508  0x00009f63 jam  0x00000000 , 0x00000bfd 
+ 00031509  0x00009f64 rtn 
+ 00031510  0x00009f66 fetch  0x00000001 , 0x00008c02 
+ 00031511  0x00009f67 set1  0x00000007 , 0x0000003f 
+ 00031512  0x00009f68 store  0x00000001 , 0x00008c02 
+ 00031513  0x00009f69 rtn 
+ 00031514  0x00009f6c setarg  0x00000aaa 
+ 00031515  0x00009f6d fetcht  0x00000001 , 0x00000aaa 
+ 00031516  0x00009f6e branch  0x00007b05 
+ 00031517  0x00009f71 fetch  0x00000001 , 0x00000b5b 
+ 00031518  0x00009f72 sub  0x0000003f , 0x00000003 , 0x0000003e 
+ 00031519  0x00009f73 nbranch  0x00007ad2 , 0x00000002 
+ 00031520  0x00009f74 fetch  0x00000001 , 0x00000b5b 
+ 00031521  0x00009f75 arg  0x00000ae6 , 0x00000011 
+ 00031522  0x00009f76 beq  0x00000000 , 0x00007c75 
+ 00031523  0x00009f77 set1  0x00000023 , 0x00000000 
+ 00031524  0x00009f78 arg  0x00000aeb , 0x00000011 
+ 00031525  0x00009f79 beq  0x00000001 , 0x00007c75 
+ 00031526  0x00009f7a arg  0x00000b09 , 0x00000011 
+ 00031527  0x00009f7b beq  0x00000002 , 0x00007c75 
+ 00031528  0x00009f7c arg  0x00000b27 , 0x00000011 
+ 00031529  0x00009f7d beq  0x00000003 , 0x00007c75 
+ 00031530  0x00009f7e rtn 
+ 00031531  0x00009f81 fetch  0x00000002 , 0x00000b5d 
+ 00031532  0x00009f82 beq  0x00000001 , 0x00007b2f 
+ 00031533  0x00009f83 fetchr  0x00000011 , 0x00000002 , 0x00000a93 
+ 00031534  0x00009f84 branch  0x00007c75 
+ 00031535  0x00009f86 jam  0x00000001 , 0x00000bfa 
+ 00031536  0x00009f87 jam  0x00000001 , 0x00000bec 
+ 00031537  0x00009f88 fetchr  0x00000011 , 0x00000002 , 0x00000a95 
+ 00031538  0x00009f89 branch  0x00007c75 
+ 00031539  0x00009f8d fetch  0x00000001 , 0x00000b57 
+ 00031540  0x00009f8e bne  0x00000004 , 0x00007ad2 
+ 00031541  0x00009f8f fetch  0x00000001 , 0x00000b59 
+ 00031542  0x00009f90 bne  0x00000081 , 0x00007ad2 
+ 00031543  0x00009f91 fetch  0x00000001 , 0x00000b5b 
+ 00031544  0x00009f92 bne  0x00000000 , 0x00007ad2 
+ 00031545  0x00009f93 fetch  0x00000001 , 0x00000b5c 
+ 00031546  0x00009f94 bne  0x00000000 , 0x00007ad2 
+ 00031547  0x00009f95 fetch  0x00000001 , 0x00000b5f 
+ 00031548  0x00009f96 bne  0x00000001 , 0x00007ad2 
+ 00031549  0x00009f97 fetch  0x00000001 , 0x00000b60 
+ 00031550  0x00009f98 bne  0x00000000 , 0x00007ad2 
+ 00031551  0x00009f99 fetch  0x00000001 , 0x00000b5d 
+ 00031552  0x00009f9a bne  0x00000000 , 0x00007ad2 
+ 00031553  0x00009f9b fetch  0x00000001 , 0x00000b5e 
+ 00031554  0x00009f9c bne  0x00000000 , 0x00007ad2 
+ 00031555  0x00009f9d arg  0x00000001 , 0x00000012 
+ 00031556  0x00009f9e branch  0x00007b5d 
+ 00031557  0x00009fa2 fetch  0x00000001 , 0x00000b57 
+ 00031558  0x00009fa3 beq  0x00000002 , 0x00007ad2 
+ 00031559  0x00009fa4 fetch  0x00000001 , 0x00000b5b 
+ 00031560  0x00009fa5 bne  0x00000000 , 0x00007ad2 
+ 00031561  0x00009fa6 fetch  0x00000001 , 0x00000b5c 
+ 00031562  0x00009fa7 bne  0x00000000 , 0x00007ad2 
+ 00031563  0x00009fa8 fetch  0x00000001 , 0x00000b5f 
+ 00031564  0x00009fa9 bne  0x00000002 , 0x00007ad2 
+ 00031565  0x00009faa fetch  0x00000001 , 0x00000b60 
+ 00031566  0x00009fab bne  0x00000000 , 0x00007ad2 
+ 00031567  0x00009fac fetch  0x00000001 , 0x00000b5e 
+ 00031568  0x00009fad bne  0x00000000 , 0x00007ad2 
+ 00031569  0x00009fae fetch  0x00000001 , 0x00000b59 
+ 00031570  0x00009faf beq  0x00000080 , 0x00007b58 
+ 00031571  0x00009fb0 beq  0x00000081 , 0x00007b63 
+ 00031572  0x00009fb1 beq  0x00000082 , 0x00007b67 
+ 00031573  0x00009fb2 branch  0x00007ad2 
+ 00031574  0x00009fb6 jam  0x00000001 , 0x00000bef 
+ 00031575  0x00009fb7 branch  0x00007b61 
+ 00031576  0x00009fba fetch  0x00000001 , 0x00000b5d 
+ 00031577  0x00009fbb bne  0x00000000 , 0x00007ad2 
+ 00031578  0x00009fbc arg  0x00000002 , 0x00000012 
+ 00031579  0x00009fbd fetch  0x00000001 , 0x00000bed 
+ 00031580  0x00009fbe beq  0x00000001 , 0x00007b56 
+ 00031581  0x00009fc1 arg  0x00000b51 , 0x00000011 
+ 00031582  0x00009fc2 branch  0x00007c77 
+ 00031583  0x00009fc4 arg  0x00000b53 , 0x00000011 
+ 00031584  0x00009fc5 branch  0x00007c77 
+ 00031585  0x00009fc7 arg  0x00000b55 , 0x00000011 
+ 00031586  0x00009fc8 branch  0x00007c77 
+ 00031587  0x00009fcb fetch  0x00000001 , 0x00000b57 
+ 00031588  0x00009fcc bne  0x00000004 , 0x00007ad2 
+ 00031589  0x00009fcd arg  0x00000002 , 0x00000012 
+ 00031590  0x00009fce branch  0x00007b5d 
+ 00031591  0x00009fd1 fetch  0x00000001 , 0x00000b57 
+ 00031592  0x00009fd2 bne  0x00000004 , 0x00007ad2 
+ 00031593  0x00009fd3 fetch  0x00000001 , 0x00000b5d 
+ 00031594  0x00009fd4 beq  0x00000081 , 0x00007b74 
+ 00031595  0x00009fd5 beq  0x00000082 , 0x00007b76 
+ 00031596  0x00009fd6 beq  0x00000083 , 0x00007b78 
+ 00031597  0x00009fd7 and_into  0x0000007f , 0x0000003f 
+ 00031598  0x00009fd8 beq  0x00000000 , 0x00007b70 
+ 00031599  0x00009fd9 branch  0x00007ad2 
+ 00031600  0x00009fdc fetch  0x00000001 , 0x00000bf0 
+ 00031601  0x00009fde arg  0x00000002 , 0x00000012 
+ 00031602  0x00009fdf beq  0x00000001 , 0x00007b5f 
+ 00031603  0x00009fe0 branch  0x00007b5d 
+ 00031604  0x00009fe2 fetch  0x00000001 , 0x00000bf1 
+ 00031605  0x00009fe3 branch  0x00007b71 
+ 00031606  0x00009fe5 fetch  0x00000001 , 0x00000bf2 
+ 00031607  0x00009fe6 branch  0x00007b71 
+ 00031608  0x00009fe8 fetch  0x00000001 , 0x00000bf3 
+ 00031609  0x00009fe9 branch  0x00007b71 
+ 00031610  0x00009fec jam  0x00000001 , 0x00000be7 
+ 00031611  0x00009fed arg  0x00000be8 , 0x00000011 
+ 00031612  0x00009fee arg  0x00000001 , 0x00000012 
+ 00031613  0x00009fef branch  0x00007c77 
+ 00031614  0x00009ff2 fetch  0x00000002 , 0x00000b5b 
+ 00031615  0x00009ff3 arg  0x000001ba , 0x00000002 
+ 00031616  0x00009ff4 isub  0x00000002 , 0x0000003e 
+ 00031617  0x00009ff5 nbranch  0x00007ad2 , 0x00000005 
+ 00031618  0x00009ff8 fetch  0x00000001 , 0x00000be4 
+ 00031619  0x00009ff9 nbranch  0x00007b8c , 0x00000034 
+ 00031620  0x00009ffa jam  0x00000000 , 0x00000ba1 
+ 00031621  0x00009ffc fetch  0x00000001 , 0x00000b5f 
+ 00031622  0x00009ffd iforce  0x00000012 
+ 00031623  0x00009ffe arg  0x00000ba1 , 0x00000011 
+ 00031624  0x00009fff call  0x00007c77 
+ 00031625  0x0000a001 arg  0x00000ba1 , 0x00000005 
+ 00031626  0x0000a002 arg  0x00000008 , 0x00000039 
+ 00031627  0x0000a003 branch  0x00007d8c 
+ 00031628  0x0000a005 jam  0x00000000 , 0x00000be4 
+ 00031629  0x0000a006 jam  0x00000001 , 0x00000ba1 
+ 00031630  0x0000a007 branch  0x00007b85 
+ 00031631  0x0000a00a fetch  0x00000001 , 0x00000b5f 
+ 00031632  0x0000a00b bne  0x00000001 , 0x00007ad2 
+ 00031633  0x0000a00c jam  0x00000001 , 0x00000be9 
+ 00031634  0x0000a00d arg  0x00000001 , 0x00000012 
+ 00031635  0x0000a00e fetch  0x00000001 , 0x00000beb 
+ 00031636  0x0000a00f beq  0x00000000 , 0x00007b97 
+ 00031637  0x0000a010 beq  0x00000001 , 0x00007b98 
+ 00031638  0x0000a011 branch  0x00007b5d 
+ 00031639  0x0000a013 branch  0x00007b5f 
+ 00031640  0x0000a015 branch  0x00007b5d 
+ 00031641  0x0000a01b fetch  0x00000001 , 0x00000b57 
+ 00031642  0x0000a01c bne  0x00000004 , 0x00007ad2 
+ 00031643  0x0000a01d fetch  0x00000001 , 0x00000b5f 
+ 00031644  0x0000a01e bne  0x00000000 , 0x00007ad2 
+ 00031645  0x0000a01f fetch  0x00000001 , 0x00000b60 
+ 00031646  0x0000a020 bne  0x00000000 , 0x00007ad2 
+ 00031647  0x0000a021 fetch  0x00000001 , 0x00000b5c 
+ 00031648  0x0000a022 bne  0x00000000 , 0x00007ad2 
+ 00031649  0x0000a023 fetch  0x00000001 , 0x00000b5e 
+ 00031650  0x0000a024 bne  0x00000000 , 0x00007ad2 
+ 00031651  0x0000a025 fetch  0x00000001 , 0x00000b59 
+ 00031652  0x0000a026 beq  0x00000000 , 0x00007ba8 
+ 00031653  0x0000a027 beq  0x00000001 , 0x00007bb5 
+ 00031654  0x0000a028 beq  0x00000002 , 0x00007bb6 
+ 00031655  0x0000a029 branch  0x00007ad2 
+ 00031656  0x0000a02c fetch  0x00000001 , 0x00000b5b 
+ 00031657  0x0000a02d bne  0x00000001 , 0x00007ad2 
+ 00031658  0x0000a02e fetch  0x00000001 , 0x00008c00 
+ 00031659  0x0000a02f set0  0x00000007 , 0x0000003f 
+ 00031660  0x0000a030 store  0x00000001 , 0x00008c00 
+ 00031661  0x0000a031 jam  0x00000000 , 0x00000bed 
+ 00031662  0x0000a032 jam  0x00000001 , 0x00000bee 
+ 00031663  0x0000a033 fetch  0x00000001 , 0x00000bef 
+ 00031664  0x0000a034 branch  0x00007ad6 , 0x00000034 
+ 00031665  0x0000a035 jam  0x00000000 , 0x00000bef 
+ 00031666  0x0000a036 jam  0x00000000 , 0x00000bee 
+ 00031667  0x0000a037 jam  0x00000002 , 0x00000bec 
+ 00031668  0x0000a038 branch  0x00007ad6 
+ 00031669  0x0000a03b branch  0x00007ad2 
+ 00031670  0x0000a03e fetch  0x00000001 , 0x00000b5b 
+ 00031671  0x0000a03f bne  0x00000000 , 0x00007ad2 
+ 00031672  0x0000a040 fetch  0x00000001 , 0x00000b5d 
+ 00031673  0x0000a041 beq  0x00000081 , 0x00007bc1 
+ 00031674  0x0000a042 beq  0x00000082 , 0x00007bc4 
+ 00031675  0x0000a043 beq  0x00000083 , 0x00007bc6 
+ 00031676  0x0000a044 and_into  0x0000007f , 0x0000003f 
+ 00031677  0x0000a045 beq  0x00000000 , 0x00007bbf 
+ 00031678  0x0000a046 branch  0x00007ad2 
+ 00031679  0x0000a049 jam  0x00000000 , 0x00000bf0 
+ 00031680  0x0000a04a branch  0x00007ad6 
+ 00031681  0x0000a04c jam  0x00000000 , 0x00000bf1 
+ 00031682  0x0000a04e jam  0x00000001 , 0x00000bfe 
+ 00031683  0x0000a04f branch  0x00007ad6 
+ 00031684  0x0000a051 jam  0x00000000 , 0x00000bf2 
+ 00031685  0x0000a052 branch  0x00007bc2 
+ 00031686  0x0000a054 jam  0x00000000 , 0x00000bf3 
+ 00031687  0x0000a055 branch  0x00007bc2 
+ 00031688  0x0000a059 fetch  0x00000001 , 0x00000b5f 
+ 00031689  0x0000a05a bne  0x00000000 , 0x00007ad2 
+ 00031690  0x0000a05b fetch  0x00000001 , 0x00000b60 
+ 00031691  0x0000a05c bne  0x00000000 , 0x00007ad2 
+ 00031692  0x0000a05d fetch  0x00000001 , 0x00000b59 
+ 00031693  0x0000a05e beq  0x00000000 , 0x00007bd1 
+ 00031694  0x0000a05f beq  0x00000001 , 0x00007bdf 
+ 00031695  0x0000a060 beq  0x00000002 , 0x00007be0 
+ 00031696  0x0000a061 branch  0x00007ad2 
+ 00031697  0x0000a064 fetch  0x00000001 , 0x00000b5b 
+ 00031698  0x0000a065 bne  0x00000001 , 0x00007ad2 
+ 00031699  0x0000a066 call  0x00003779 
+ 00031700  0x0000a067 fetch  0x00000001 , 0x00008c00 
+ 00031701  0x0000a068 set1  0x00000007 , 0x0000003f 
+ 00031702  0x0000a069 store  0x00000001 , 0x00008c00 
+ 00031703  0x0000a06a jam  0x00000001 , 0x00000bed 
+ 00031704  0x0000a06b jam  0x00000003 , 0x00000bec 
+ 00031705  0x0000a06c jam  0x00000000 , 0x00000be5 
+ 00031706  0x0000a06d call  0x00007ad6 
+ 00031707  0x0000a06f call  0x00007de8 
+ 00031708  0x0000a070 setarg  0x00001388 
+ 00031709  0x0000a071 arg  0x0000000f , 0x00000007 
+ 00031710  0x0000a072 branch  0x00007ddb 
+ 00031711  0x0000a075 branch  0x00007ad2 
+ 00031712  0x0000a078 fetch  0x00000001 , 0x00000b5b 
+ 00031713  0x0000a079 bne  0x00000000 , 0x00007ad2 
+ 00031714  0x0000a07a fetch  0x00000001 , 0x00000b5c 
+ 00031715  0x0000a07b bne  0x00000000 , 0x00007ad2 
+ 00031716  0x0000a07c fetch  0x00000001 , 0x00000b5d 
+ 00031717  0x0000a07d beq  0x00000081 , 0x00007bed 
+ 00031718  0x0000a07e beq  0x00000082 , 0x00007bef 
+ 00031719  0x0000a07f beq  0x00000083 , 0x00007bf1 
+ 00031720  0x0000a080 and_into  0x0000007f , 0x0000003f 
+ 00031721  0x0000a081 beq  0x00000000 , 0x00007beb 
+ 00031722  0x0000a082 branch  0x00007ad2 
+ 00031723  0x0000a085 jam  0x00000001 , 0x00000bf0 
+ 00031724  0x0000a086 branch  0x00007ad6 
+ 00031725  0x0000a088 jam  0x00000001 , 0x00000bf1 
+ 00031726  0x0000a089 branch  0x00007ad6 
+ 00031727  0x0000a08b jam  0x00000001 , 0x00000bf2 
+ 00031728  0x0000a08c branch  0x00007ad6 
+ 00031729  0x0000a08e jam  0x00000001 , 0x00000bf3 
+ 00031730  0x0000a08f branch  0x00007ad6 
+ 00031731  0x0000a093 fetch  0x00000001 , 0x00000b59 
+ 00031732  0x0000a094 bne  0x00000000 , 0x00007ad2 
+ 00031733  0x0000a095 fetch  0x00000001 , 0x00000b5d 
+ 00031734  0x0000a096 bne  0x00000000 , 0x00007ad2 
+ 00031735  0x0000a097 fetch  0x00000001 , 0x00000b5e 
+ 00031736  0x0000a098 bne  0x00000000 , 0x00007ad2 
+ 00031737  0x0000a099 fetch  0x00000001 , 0x00000b5f 
+ 00031738  0x0000a09a bne  0x00000000 , 0x00007ad2 
+ 00031739  0x0000a09b fetch  0x00000001 , 0x00000b60 
+ 00031740  0x0000a09c bne  0x00000000 , 0x00007ad2 
+ 00031741  0x0000a09d fetch  0x00000001 , 0x00000b5c 
+ 00031742  0x0000a09e bne  0x00000000 , 0x00007ad2 
+ 00031743  0x0000a09f fetch  0x00000001 , 0x00000b5b 
+ 00031744  0x0000a0a0 and_into  0x00000080 , 0x0000003f 
+ 00031745  0x0000a0a1 bne  0x00000000 , 0x00007ad2 
+ 00031746  0x0000a0a2 fetch  0x00000001 , 0x00000b5b 
+ 00031747  0x0000a0a3 bne  0x00000000 , 0x00007c0a 
+ 00031748  0x0000a0a5 jam  0x00000002 , 0x00000b57 
+ 00031749  0x0000a0a7 fetch  0x00000001 , 0x00000b5b 
+ 00031750  0x0000a0a8 store  0x00000001 , 0x00008c02 
+ 00031751  0x0000a0a9 call  0x00007ad6 
+ 00031752  0x0000a0aa jam  0x00000001 , 0x00000bfd 
+ 00031753  0x0000a0ab rtn 
+ 00031754  0x0000a0ad jam  0x00000003 , 0x00000b57 
+ 00031755  0x0000a0ae branch  0x00007c05 
+ 00031756  0x0000a0b2 fetch  0x00000001 , 0x00000b57 
+ 00031757  0x0000a0b3 beq  0x00000002 , 0x00007ad2 
+ 00031758  0x0000a0b4 fetch  0x00000001 , 0x00000b59 
+ 00031759  0x0000a0b5 bne  0x00000000 , 0x00007ad2 
+ 00031760  0x0000a0b6 fetch  0x00000001 , 0x00000b5d 
+ 00031761  0x0000a0b7 bne  0x00000000 , 0x00007ad2 
+ 00031762  0x0000a0b8 fetch  0x00000001 , 0x00000b5e 
+ 00031763  0x0000a0b9 bne  0x00000000 , 0x00007ad2 
+ 00031764  0x0000a0ba fetch  0x00000001 , 0x00000b5f 
+ 00031765  0x0000a0bb bne  0x00000000 , 0x00007ad2 
+ 00031766  0x0000a0bc fetch  0x00000001 , 0x00000b60 
+ 00031767  0x0000a0bd bne  0x00000000 , 0x00007ad2 
+ 00031768  0x0000a0be fetch  0x00000001 , 0x00000b5c 
+ 00031769  0x0000a0bf bne  0x00000000 , 0x00007ad2 
+ 00031770  0x0000a0c0 fetch  0x00000001 , 0x00000b5b 
+ 00031771  0x0000a0c1 sub  0x0000003f , 0x00000001 , 0x0000003e 
+ 00031772  0x0000a0c2 nbranch  0x00007ad2 , 0x00000002 
+ 00031773  0x0000a0c3 fetch  0x00000001 , 0x00000b57 
+ 00031774  0x0000a0c4 beq  0x00000003 , 0x00007c21 
+ 00031775  0x0000a0c5 beq  0x00000004 , 0x00007c21 
+ 00031776  0x0000a0c6 branch  0x00007ad2 
+ 00031777  0x0000a0ca fetch  0x00000001 , 0x00000b5b 
+ 00031778  0x0000a0cb beq  0x00000000 , 0x00007c25 
+ 00031779  0x0000a0cc jam  0x00000004 , 0x00000b57 
+ 00031780  0x0000a0cd branch  0x00007ad6 
+ 00031781  0x0000a0cf jam  0x00000003 , 0x00000b57 
+ 00031782  0x0000a0d0 branch  0x00007ad6 
+ 00031783  0x0000a0d4 fetch  0x00000001 , 0x00000b57 
+ 00031784  0x0000a0d5 bne  0x00000004 , 0x00007ad2 
+ 00031785  0x0000a0d6 fetch  0x00000001 , 0x00000b59 
+ 00031786  0x0000a0d7 bne  0x00000001 , 0x00007ad2 
+ 00031787  0x0000a0d8 fetch  0x00000001 , 0x00000b5b 
+ 00031788  0x0000a0d9 bne  0x00000000 , 0x00007ad2 
+ 00031789  0x0000a0da fetch  0x00000001 , 0x00000b5c 
+ 00031790  0x0000a0db bne  0x00000000 , 0x00007ad2 
+ 00031791  0x0000a0dc fetch  0x00000001 , 0x00000b5f 
+ 00031792  0x0000a0dd bne  0x00000000 , 0x00007ad2 
+ 00031793  0x0000a0de fetch  0x00000001 , 0x00000b60 
+ 00031794  0x0000a0df bne  0x00000000 , 0x00007ad2 
+ 00031795  0x0000a0e0 fetch  0x00000001 , 0x00000b5d 
+ 00031796  0x0000a0e1 bne  0x00000000 , 0x00007ad2 
+ 00031797  0x0000a0e2 fetch  0x00000001 , 0x00000b5e 
+ 00031798  0x0000a0e3 bne  0x00000000 , 0x00007ad2 
+ 00031799  0x0000a0e4 branch  0x00007ad6 
+ 00031800  0x0000a0e8 bpatchx  0x00000090 , 0x00004032 
+ 00031801  0x0000a0e9 jam  0x00000001 , 0x00000be7 
+ 00031802  0x0000a0ea fetch  0x00000001 , 0x00000b5c 
+ 00031803  0x0000a0eb store  0x00000001 , 0x00000be8 
+ 00031804  0x0000a0ec fetch  0x00000001 , 0x00000b5d 
+ 00031805  0x0000a0ed sub  0x0000003f , 0x00000001 , 0x0000003e 
+ 00031806  0x0000a0ee call  0x00007c46 , 0x00000005 
+ 00031807  0x0000a0ef fetch  0x00000001 , 0x00000bec 
+ 00031808  0x0000a0f0 bne  0x00000004 , 0x00007ad6 
+ 00031809  0x0000a0f1 jam  0x00000002 , 0x00000bec 
+ 00031810  0x0000a0f2 call  0x00007ad6 
+ 00031811  0x0000a0f3 nop  0x00007530 
+ 00031812  0x0000a0f4 nop  0x00007530 
+ 00031813  0x0000a0f5 rtn 
+ 00031814  0x0000a0f7 jam  0x00000001 , 0x00000bfa 
+ 00031815  0x0000a0f8 jam  0x00000000 , 0x00000bee 
+ 00031816  0x0000a0f9 jam  0x00000004 , 0x00000bec 
+ 00031817  0x0000a0fa rtn 
+ 00031818  0x0000a0fe arg  0x00000b61 , 0x00000005 
+ 00031819  0x0000a0ff call  0x00007a7e 
+ 00031820  0x0000a100 jam  0x00000001 , 0x00000be3 
+ 00031821  0x0000a101 call  0x00007c5a 
+ 00031822  0x0000a102 fetch  0x00000002 , 0x00000b5b 
+ 00031823  0x0000a103 store  0x00000002 , 0x00000be1 
+ 00031824  0x0000a104 call  0x00007ad6 
+ 00031825  0x0000a105 fetch  0x00000001 , 0x0000409a 
+ 00031826  0x0000a106 rtnne  0x00000004 
+ 00031827  0x0000a107 fetch  0x00000001 , 0x00000be5 
+ 00031828  0x0000a108 rtn  0x00000034 
+ 00031829  0x0000a109 fetch  0x00000001 , 0x00000b61 
+ 00031830  0x0000a10b store  0x00000001 , 0x000048ce 
+ 00031831  0x0000a10c jam  0x00000000 , 0x00000be5 
+ 00031832  0x0000a10d jam  0x00000003 , 0x000048be 
+ 00031833  0x0000a10e rtn 
+ 00031834  0x0000a112 fetch  0x00000002 , 0x00000b5b 
+ 00031835  0x0000a113 arg  0x00000200 , 0x00000002 
+ 00031836  0x0000a114 isub  0x00000002 , 0x0000003e 
+ 00031837  0x0000a115 nrtn  0x00000005 
+ 00031838  0x0000a116 fetch  0x00000002 , 0x00000b5d 
+ 00031839  0x0000a117 arg  0x00000000 , 0x00000002 
+ 00031840  0x0000a118 isub  0x00000002 , 0x0000003e 
+ 00031841  0x0000a119 nrtn  0x00000005 
+ 00031842  0x0000a11a fetch  0x00000002 , 0x00000b5f 
+ 00031843  0x0000a11b arg  0x00000001 , 0x00000002 
+ 00031844  0x0000a11c isub  0x00000002 , 0x0000003e 
+ 00031845  0x0000a11d nrtn  0x00000005 
+ 00031846  0x0000a11e jam  0x00000001 , 0x00000be5 
+ 00031847  0x0000a11f rtn 
+ 00031848  0x0000a123 fetch  0x00000001 , 0x00000b5f 
+ 00031849  0x0000a124 bne  0x00000000 , 0x00007ad2 
+ 00031850  0x0000a125 fetch  0x00000001 , 0x00000b5b 
+ 00031851  0x0000a126 beq  0x00000000 , 0x00007c6e 
+ 00031852  0x0000a127 beq  0x00000001 , 0x00007c71 
+ 00031853  0x0000a128 branch  0x00007ad2 
+ 00031854  0x0000a12a jam  0x00000000 , 0x00000bea 
+ 00031855  0x0000a12b jam  0x00000001 , 0x00000beb 
+ 00031856  0x0000a12c branch  0x00007ad6 
+ 00031857  0x0000a12e jam  0x00000001 , 0x00000be6 
+ 00031858  0x0000a12f jam  0x00000001 , 0x00000bea 
+ 00031859  0x0000a130 jam  0x00000000 , 0x00000beb 
+ 00031860  0x0000a131 branch  0x00007ad6 
+ 00031861  0x0000a135 ifetchr  0x00000012 , 0x00000001 , 0x00000011 
+ 00031862  0x0000a136 increase  0x00000001 , 0x00000011 
+ 00031863  0x0000a139 bpatchx  0x00000091 , 0x00004032 
+ 00031864  0x0000a13a set1  0x0000000e , 0x00000000 
+ 00031865  0x0000a13b bmark0  0x00000023 , 0x00007c7c 
+ 00031866  0x0000a13c increase  0x00000001 , 0x00000012 
+ 00031867  0x0000a13d lshift  0x00000012 , 0x00000012 
+ 00031868  0x0000a13f storer  0x00000011 , 0x00000002 , 0x00000a90 
+ 00031869  0x0000a140 storer  0x00000012 , 0x00000001 , 0x00000a92 
+ 00031870  0x0000a141 branch  0x00007c81 
+ 00031871  0x0000a144 arg  0x00000000 , 0x00000007 
+ 00031872  0x0000a145 branch  0x00007cc1 
+ 00031873  0x0000a14b bpatchx  0x00000092 , 0x00004032 
+ 00031874  0x0000a14c fetch  0x00000001 , 0x00008c24 
+ 00031875  0x0000a14d rtnbit1  0x00000000 
+ 00031876  0x0000a14e fetch  0x00000001 , 0x00000a92 
+ 00031877  0x0000a14f rtn  0x00000034 
+ 00031878  0x0000a150 copy  0x0000003f , 0x00000039 
+ 00031879  0x0000a151 iforce  0x00000002 
+ 00031880  0x0000a152 fetch  0x00000002 , 0x00000b5f 
+ 00031881  0x0000a153 sub  0x0000003f , 0x00000040 , 0x0000003e 
+ 00031882  0x0000a154 branch  0x00007c8f , 0x00000002 
+ 00031883  0x0000a155 sub  0x00000039 , 0x00000040 , 0x0000003e 
+ 00031884  0x0000a156 branch  0x00007c93 , 0x00000002 
+ 00031885  0x0000a157 force  0x00000040 , 0x00000039 
+ 00031886  0x0000a158 branch  0x00007c93 
+ 00031887  0x0000a15a isub  0x00000039 , 0x0000003e 
+ 00031888  0x0000a15b branch  0x00007c93 , 0x00000002 
+ 00031889  0x0000a15c iforce  0x00000039 
+ 00031890  0x0000a15d store  0x00000001 , 0x00000a92 
+ 00031891  0x0000a15f fetch  0x00000001 , 0x00000a92 
+ 00031892  0x0000a160 isub  0x00000039 , 0x0000003f 
+ 00031893  0x0000a161 store  0x00000001 , 0x00000a92 
+ 00031894  0x0000a162 add  0x00000039 , 0xffffffff , 0x0000003f 
+ 00031895  0x0000a163 store  0x00000001 , 0x000009fa 
+ 00031896  0x0000a164 bmark0  0x00000023 , 0x00007ca5 
+ 00031897  0x0000a165 rshift  0x0000003f , 0x0000003f 
+ 00031898  0x0000a166 add  0x00000039 , 0xffffffff , 0x0000003f 
+ 00031899  0x0000a167 store  0x00000001 , 0x000009fa 
+ 00031900  0x0000a168 bmark0  0x0000000e , 0x00007ca5 
+ 00031901  0x0000a169 set0  0x0000000e , 0x00000000 
+ 00031902  0x0000a16a istoret  0x00000001 , 0x00000005 
+ 00031903  0x0000a16b setarg  0x00000003 
+ 00031904  0x0000a16c istore  0x00000001 , 0x00000005 
+ 00031905  0x0000a16d increase  0xffffffff , 0x00000039 
+ 00031906  0x0000a16e copy  0x00000039 , 0x0000003f 
+ 00031907  0x0000a16f nbranch  0x00007ca5 , 0x00000005 
+ 00031908  0x0000a170 increase  0x00000001 , 0x00000039 
+ 00031909  0x0000a172 fetch  0x00000002 , 0x00000a90 
+ 00031910  0x0000a173 copy  0x0000003f , 0x00000006 
+ 00031911  0x0000a175 ifetch  0x00000001 , 0x00000006 
+ 00031912  0x0000a176 istore  0x00000001 , 0x00000005 
+ 00031913  0x0000a177 bmark0  0x00000023 , 0x00007cac 
+ 00031914  0x0000a178 setarg  0x00000000 
+ 00031915  0x0000a179 istore  0x00000001 , 0x00000005 
+ 00031916  0x0000a17b loop  0x00007ca7 
+ 00031917  0x0000a17c copy  0x00000006 , 0x0000003f 
+ 00031918  0x0000a17d store  0x00000002 , 0x00000a90 
+ 00031919  0x0000a17e setarg  0x000009fa 
+ 00031920  0x0000a17f store  0x00000002 , 0x00008c09 
+ 00031921  0x0000a180 arg  0x00000000 , 0x00000007 
+ 00031922  0x0000a181 call  0x00007cc1 
+ 00031923  0x0000a182 fetch  0x00000001 , 0x00000a92 
+ 00031924  0x0000a183 nrtn  0x00000034 
+ 00031925  0x0000a184 fetch  0x00000001 , 0x00000bec 
+ 00031926  0x0000a185 rtnne  0x00000001 
+ 00031927  0x0000a186 jam  0x00000002 , 0x00000bec 
+ 00031928  0x0000a187 rtn 
+ 00031929  0x0000a18c arg  0x00000001 , 0x00000007 
+ 00031930  0x0000a18d arg  0x00000a3b , 0x00000011 
+ 00031931  0x0000a18e storer  0x00000011 , 0x00000002 , 0x00008c0b 
+ 00031932  0x0000a190 add  0x00000039 , 0xffffffff , 0x0000003f 
+ 00031933  0x0000a191 istore  0x00000001 , 0x00000011 
+ 00031934  0x0000a193 ifetch  0x00000001 , 0x00000006 
+ 00031935  0x0000a194 istore  0x00000001 , 0x00000005 
+ 00031936  0x0000a195 loop  0x00007cbe 
+ 00031937  0x0000a197 setarg  0x00000000 
+ 00031938  0x0000a198 qset1  0x0000003f 
+ 00031939  0x0000a199 store  0x00000001 , 0x00008c18 
+ 00031940  0x0000a19a rtn 
+ 00031941  0x0000a19d arg  0x00000002 , 0x00000007 
+ 00031942  0x0000a19e arg  0x00000a45 , 0x00000011 
+ 00031943  0x0000a19f storer  0x00000011 , 0x00000002 , 0x00008c0d 
+ 00031944  0x0000a1a0 branch  0x00007cbc 
+ 00031945  0x0000a1a3 bpatchx  0x00000093 , 0x00004032 
+ 00031946  0x0000a1a4 fetch  0x00000001 , 0x00000bf9 
+ 00031947  0x0000a1a5 rtn  0x00000034 
+ 00031948  0x0000a1a6 fetch  0x00000001 , 0x00000bfa 
+ 00031949  0x0000a1a7 branch  0x00007ced , 0x00000034 
+ 00031950  0x0000a1a8 fetch  0x00000001 , 0x00000bec 
+ 00031951  0x0000a1a9 beq  0x00000003 , 0x00007d27 
+ 00031952  0x0000a1aa bne  0x00000002 , 0x00007ced 
+ 00031953  0x0000a1ab fetch  0x00000001 , 0x00000bee 
+ 00031954  0x0000a1ac nbranch  0x00007ced , 0x00000034 
+ 00031955  0x0000a1ad call  0x00007cd5 
+ 00031956  0x0000a1ae branch  0x00007ce0 
+ 00031957  0x0000a1b1 fetch  0x00000001 , 0x00008c24 
+ 00031958  0x0000a1b2 rtnbit1  0x00000001 
+ 00031959  0x0000a1b3 fetch  0x00000001 , 0x00000bf9 
+ 00031960  0x0000a1b4 rtnbit0  0x00000001 
+ 00031961  0x0000a1b5 fetch  0x00000001 , 0x00000bf9 
+ 00031962  0x0000a1b6 set0  0x00000001 , 0x0000003f 
+ 00031963  0x0000a1b7 store  0x00000001 , 0x00000bf9 
+ 00031964  0x0000a1b8 fetch  0x00000001 , 0x00000bf7 
+ 00031965  0x0000a1b9 rtn  0x00000034 
+ 00031966  0x0000a1ba beq  0x00000010 , 0x00007d0f 
+ 00031967  0x0000a1bb branch  0x0000137c 
+ 00031968  0x0000a1be fetch  0x00000001 , 0x00008c24 
+ 00031969  0x0000a1bf rtnbit1  0x00000002 
+ 00031970  0x0000a1c0 fetch  0x00000001 , 0x00000bf9 
+ 00031971  0x0000a1c1 rtnbit0  0x00000002 
+ 00031972  0x0000a1c2 fetch  0x00000001 , 0x00000bf9 
+ 00031973  0x0000a1c3 set0  0x00000002 , 0x0000003f 
+ 00031974  0x0000a1c4 store  0x00000001 , 0x00000bf9 
+ 00031975  0x0000a1c5 fetch  0x00000001 , 0x00000bf8 
+ 00031976  0x0000a1c6 rtn  0x00000034 
+ 00031977  0x0000a1c7 beq  0x00000020 , 0x00007cf0 
+ 00031978  0x0000a1c8 beq  0x00000021 , 0x00007d0b 
+ 00031979  0x0000a1c9 beq  0x00000022 , 0x00007d13 
+ 00031980  0x0000a1ca branch  0x0000137c 
+ 00031981  0x0000a1ce arg  0x00000bff , 0x00000005 
+ 00031982  0x0000a1cf arg  0x00000008 , 0x00000039 
+ 00031983  0x0000a1d0 branch  0x00007d8c 
+ 00031984  0x0000a1d3 fetch  0x00000001 , 0x00000be7 
+ 00031985  0x0000a1d4 fetcht  0x00000001 , 0x00000be9 
+ 00031986  0x0000a1d5 iand  0x00000002 , 0x0000003f 
+ 00031987  0x0000a1d6 branch  0x00007d07 , 0x00000034 
+ 00031988  0x0000a1d7 fetcht  0x00000001 , 0x00000bea 
+ 00031989  0x0000a1d8 iadd  0x00000002 , 0x0000003f 
+ 00031990  0x0000a1d9 beq  0x00000001 , 0x00007cf8 
+ 00031991  0x0000a1da branch  0x00007d07 
+ 00031992  0x0000a1dd jam  0x00000000 , 0x00000bf8 
+ 00031993  0x0000a1df fetch  0x00000001 , 0x00000c00 
+ 00031994  0x0000a1e0 beq  0x00000002 , 0x00007d08 
+ 00031995  0x0000a1e1 beq  0x00000003 , 0x00007d08 
+ 00031996  0x0000a1e2 fetch  0x00000001 , 0x00000c00 
+ 00031997  0x0000a1e3 store  0x00000001 , 0x00000bff 
+ 00031998  0x0000a1e4 fetch  0x00000001 , 0x00000c01 
+ 00031999  0x0000a1e5 istore  0x00000001 , 0x00000005 
+ 00032000  0x0000a1e6 fetch  0x00000001 , 0x00000c03 
+ 00032001  0x0000a1e7 istore  0x00000001 , 0x00000005 
+ 00032002  0x0000a1e8 fetch  0x00000001 , 0x00000c05 
+ 00032003  0x0000a1e9 istore  0x00000001 , 0x00000005 
+ 00032004  0x0000a1ea arg  0x00000004 , 0x00000039 
+ 00032005  0x0000a1eb arg  0x00000bff , 0x00000006 
+ 00032006  0x0000a1ec branch  0x00007cc5 
+ 00032007  0x0000a1ef jam  0x00000000 , 0x00000bf8 
+ 00032008  0x0000a1f1 arg  0x00000008 , 0x00000039 
+ 00032009  0x0000a1f2 arg  0x00000bff , 0x00000006 
+ 00032010  0x0000a1f3 branch  0x00007cc5 
+ 00032011  0x0000a1f6 jam  0x00000000 , 0x00000bf8 
+ 00032012  0x0000a1f7 arg  0x00000003 , 0x00000039 
+ 00032013  0x0000a1f8 arg  0x00000c1f , 0x00000006 
+ 00032014  0x0000a1f9 branch  0x00007cc5 
+ 00032015  0x0000a1fc jam  0x00000000 , 0x00000bf7 
+ 00032016  0x0000a1fd arg  0x00000008 , 0x00000039 
+ 00032017  0x0000a1fe arg  0x00000c0f , 0x00000006 
+ 00032018  0x0000a1ff branch  0x00007cb9 
+ 00032019  0x0000a202 jam  0x00000000 , 0x00000bf8 
+ 00032020  0x0000a203 arg  0x00000002 , 0x00000039 
+ 00032021  0x0000a204 arg  0x00000c2f , 0x00000006 
+ 00032022  0x0000a205 branch  0x00007cc5 
+ 00032023  0x0000a208 fetch  0x00000001 , 0x00000bec 
+ 00032024  0x0000a209 beq  0x00000002 , 0x00007d1a 
+ 00032025  0x0000a20a rtn 
+ 00032026  0x0000a20c fetch  0x00000001 , 0x00008c00 
+ 00032027  0x0000a20d set1  0x00000007 , 0x0000003f 
+ 00032028  0x0000a20e store  0x00000001 , 0x00008c00 
+ 00032029  0x0000a20f jam  0x00000001 , 0x00000bfc 
+ 00032030  0x0000a210 rtn 
+ 00032031  0x0000a213 fetch  0x00000001 , 0x00000bec 
+ 00032032  0x0000a214 rtneq  0x00000003 
+ 00032033  0x0000a215 beq  0x00000002 , 0x00007d23 
+ 00032034  0x0000a216 rtn 
+ 00032035  0x0000a218 fetch  0x00000001 , 0x00000bfc 
+ 00032036  0x0000a219 rtn  0x00000034 
+ 00032037  0x0000a21a jam  0x00000001 , 0x00000bfb 
+ 00032038  0x0000a21b branch  0x00007d2a 
+ 00032039  0x0000a21e arg  0x0000000f , 0x00000007 
+ 00032040  0x0000a21f call  0x00007de9 
+ 00032041  0x0000a220 nrtn  0x00000034 
+ 00032042  0x0000a222 fetch  0x00000001 , 0x00008c00 
+ 00032043  0x0000a223 rtnbit0  0x00000007 
+ 00032044  0x0000a224 jam  0x000000fc , 0x00008c00 
+ 00032045  0x0000a225 nop  0x00007530 
+ 00032046  0x0000a226 jam  0x0000003c , 0x00008c00 
+ 00032047  0x0000a227 rtn 
+ 00032048  0x0000a22d sub  0x00000039 , 0x00000000 , 0x0000003e 
+ 00032049  0x0000a22e rtn  0x00000005 
+ 00032050  0x0000a230 rshift  0x0000003f , 0x0000003f 
+ 00032051  0x0000a231 loop  0x00007d32 
+ 00032052  0x0000a232 rtn 
+ 00032053  0x0000a236 force  0x00000001 , 0x0000003f 
+ 00032054  0x0000a237 sub  0x00000039 , 0x00000000 , 0x0000003e 
+ 00032055  0x0000a238 rtn  0x00000005 
+ 00032056  0x0000a23a lshift  0x0000003f , 0x0000003f 
+ 00032057  0x0000a23b loop  0x00007d38 
+ 00032058  0x0000a23c rtn 
+ 00032059  0x0000a23e storer  0x00000005 , 0x00000002 , 0x0000097d 
+ 00032060  0x0000a23f storet  0x00000008 , 0x00000964 
+ 00032061  0x0000a240 storer  0x0000000b , 0x00000004 , 0x0000096c 
+ 00032062  0x0000a241 call  0x00007d43 
+ 00032063  0x0000a242 storer  0x00000006 , 0x00000002 , 0x0000097b 
+ 00032064  0x0000a243 storer  0x00000039 , 0x00000002 , 0x00000987 
+ 00032065  0x0000a244 storer  0x00000007 , 0x00000002 , 0x00000985 
+ 00032066  0x0000a245 rtn 
+ 00032067  0x0000a248 storer  0x00000011 , 0x00000004 , 0x00000970 
+ 00032068  0x0000a249 storer  0x00000012 , 0x00000004 , 0x00000974 
+ 00032069  0x0000a24a storer  0x00000013 , 0x00000003 , 0x00000978 
+ 00032070  0x0000a24b rtn 
+ 00032071  0x0000a24e fetch  0x00000002 , 0x0000097d 
+ 00032072  0x0000a24f iforce  0x00000005 
+ 00032073  0x0000a250 fetcht  0x00000008 , 0x00000964 
+ 00032074  0x0000a251 fetchr  0x0000000b , 0x00000004 , 0x0000096c 
+ 00032075  0x0000a252 call  0x00007d51 
+ 00032076  0x0000a253 fetchr  0x00000039 , 0x00000002 , 0x00000987 
+ 00032077  0x0000a254 fetchr  0x00000007 , 0x00000002 , 0x00000985 
+ 00032078  0x0000a255 fetch  0x00000002 , 0x0000097b 
+ 00032079  0x0000a256 iforce  0x00000006 
+ 00032080  0x0000a257 rtn 
+ 00032081  0x0000a25a fetchr  0x00000011 , 0x00000004 , 0x00000970 
+ 00032082  0x0000a25b fetchr  0x00000012 , 0x00000004 , 0x00000974 
+ 00032083  0x0000a25c fetchr  0x00000013 , 0x00000003 , 0x00000978 
+ 00032084  0x0000a25d rtn 
+ 00032085  0x0000a260 fetch  0x00000002 , 0x0000097d 
+ 00032086  0x0000a261 copy  0x0000003f , 0x00000005 
+ 00032087  0x0000a262 rtn 
+ 00032088  0x0000a264 fetch  0x00000002 , 0x0000097b 
+ 00032089  0x0000a265 copy  0x0000003f , 0x00000006 
+ 00032090  0x0000a266 rtn 
+ 00032091  0x0000a268 copy  0x00000005 , 0x0000003f 
+ 00032092  0x0000a269 store  0x00000002 , 0x0000097d 
+ 00032093  0x0000a26a rtn 
+ 00032094  0x0000a26c copy  0x00000006 , 0x0000003f 
+ 00032095  0x0000a26d store  0x00000002 , 0x0000097b 
+ 00032096  0x0000a26e rtn 
+ 00032097  0x0000a273 copy  0x00000005 , 0x0000003f 
+ 00032098  0x0000a274 store  0x00000002 , 0x00000959 
+ 00032099  0x0000a275 copy  0x00000006 , 0x0000003f 
+ 00032100  0x0000a276 store  0x00000002 , 0x00000957 
+ 00032101  0x0000a277 rtn 
+ 00032102  0x0000a279 fetch  0x00000002 , 0x00000959 
+ 00032103  0x0000a27a copy  0x0000003f , 0x00000005 
+ 00032104  0x0000a27b fetch  0x00000002 , 0x00000957 
+ 00032105  0x0000a27c copy  0x0000003f , 0x00000006 
+ 00032106  0x0000a27d rtn 
+ 00032107  0x0000a283 isub  0x00000002 , 0x00000011 
+ 00032108  0x0000a284 rtn  0x00000002 
+ 00032109  0x0000a285 arg  0x00000100 , 0x00000011 
+ 00032110  0x0000a286 iadd  0x00000011 , 0x0000003f 
+ 00032111  0x0000a287 isub  0x00000002 , 0x00000011 
+ 00032112  0x0000a288 rtn 
+ 00032113  0x0000a28b call  0x00007d7d 
+ 00032114  0x0000a28d call  0x00007d7d 
+ 00032115  0x0000a28e branch  0x00007d7d 
+ 00032116  0x0000a290 call  0x00007d79 
+ 00032117  0x0000a292 call  0x00007d79 
+ 00032118  0x0000a294 ifetch  0x00000004 , 0x00000006 
+ 00032119  0x0000a295 istore  0x00000004 , 0x00000005 
+ 00032120  0x0000a296 rtn 
+ 00032121  0x0000a298 ifetch  0x00000008 , 0x00000006 
+ 00032122  0x0000a299 istore  0x00000008 , 0x00000005 
+ 00032123  0x0000a29a rtn 
+ 00032124  0x0000a29d call  0x00007d7f 
+ 00032125  0x0000a29f call  0x00007d79 
+ 00032126  0x0000a2a1 call  0x00007d79 
+ 00032127  0x0000a2a3 call  0x00007d79 
+ 00032128  0x0000a2a4 branch  0x00007d79 
+ 00032129  0x0000a2a7 increase  0xffffffff , 0x0000003f 
+ 00032130  0x0000a2a8 nop  0x00000026 
+ 00032131  0x0000a2a9 nbranch  0x00007d81 , 0x00000034 
+ 00032132  0x0000a2aa rtn 
+ 00032133  0x0000a2ae arg  0x0000000a , 0x00000039 
+ 00032134  0x0000a2b0 nop  0x00002ee0 
+ 00032135  0x0000a2b1 loop  0x00007d86 
+ 00032136  0x0000a2b2 rtn 
+ 00032137  0x0000a2b5 arg  0x00000032 , 0x00000039 
+ 00032138  0x0000a2b6 branch  0x00007d86 
+ 00032139  0x0000a2b9 force  0x00000003 , 0x00000039 
+ 00032140  0x0000a2bb force  0x00000000 , 0x0000003f 
+ 00032141  0x0000a2bd istore  0x00000008 , 0x00000005 
+ 00032142  0x0000a2be loop  0x00007d8d 
+ 00032143  0x0000a2bf rtn 
+ 00032144  0x0000a2c3 call  0x00007d91 
+ 00032145  0x0000a2c5 force  0x00000000 , 0x0000003f 
+ 00032146  0x0000a2c6 istore  0x00000008 , 0x00000005 
+ 00032147  0x0000a2c7 rtn 
+ 00032148  0x0000a2c9 force  0x00000000 , 0x0000003f 
+ 00032149  0x0000a2ca istore  0x00000004 , 0x00000005 
+ 00032150  0x0000a2cb rtn 
+ 00032151  0x0000a2ce force  0x00000004 , 0x00000039 
+ 00032152  0x0000a2cf branch  0x00007d8c 
+ 00032153  0x0000a2d1 force  0x00000008 , 0x00000039 
+ 00032154  0x0000a2d2 branch  0x00007d8c 
+ 00032155  0x0000a2d5 deposit  0x00000039 
+ 00032156  0x0000a2d6 rtn  0x00000034 
+ 00032157  0x0000a2d7 setarg  0x00000000 
+ 00032158  0x0000a2d9 istore  0x00000001 , 0x00000005 
+ 00032159  0x0000a2da loop  0x00007d9e 
+ 00032160  0x0000a2db rtn 
+ 00032161  0x0000a2df arg  0x00000020 , 0x00000039 
+ 00032162  0x0000a2e0 arg  0x0000098e , 0x00000005 
+ 00032163  0x0000a2e1 branch  0x00007d9b 
+ 00032164  0x0000a2e4 ifetch  0x00000004 , 0x00000013 
+ 00032165  0x0000a2e5 ifetcht  0x00000004 , 0x00000011 
+ 00032166  0x0000a2e6 ixor  0x00000002 , 0x0000003f 
+ 00032167  0x0000a2e7 istore  0x00000004 , 0x00000005 
+ 00032168  0x0000a2e8 increase  0x00000004 , 0x00000011 
+ 00032169  0x0000a2e9 increase  0x00000004 , 0x00000013 
+ 00032170  0x0000a2ea loop  0x00007da4 
+ 00032171  0x0000a2eb rtn 
+ 00032172  0x0000a2f0 bpatchx  0x00000094 , 0x00004032 
+ 00032173  0x0000a2f1 copy  0x00000039 , 0x0000003f 
+ 00032174  0x0000a2f2 sub  0x0000003f , 0x00000001 , 0x0000003e 
+ 00032175  0x0000a2f3 rtn  0x00000002 
+ 00032176  0x0000a2f4 iadd  0x00000011 , 0x00000012 
+ 00032177  0x0000a2f5 increase  0xffffffff , 0x00000012 
+ 00032178  0x0000a2f6 rshift  0x00000039 , 0x00000039 
+ 00032179  0x0000a2f8 ifetcht  0x00000001 , 0x00000011 
+ 00032180  0x0000a2f9 ifetch  0x00000001 , 0x00000012 
+ 00032181  0x0000a2fa istore  0x00000001 , 0x00000011 
+ 00032182  0x0000a2fb istoret  0x00000001 , 0x00000012 
+ 00032183  0x0000a2fc increase  0xffffffff , 0x00000012 
+ 00032184  0x0000a2fd increase  0x00000001 , 0x00000011 
+ 00032185  0x0000a2fe loop  0x00007db3 
+ 00032186  0x0000a2ff rtn 
+ 00032187  0x0000a303 rshift32  0x0000003f , 0x00000002 
+ 00032188  0x0000a304 call  0x00007dc1 
+ 00032189  0x0000a305 byteswap  0x00000002 , 0x00000002 
+ 00032190  0x0000a306 lshift16  0x0000003f , 0x0000003f 
+ 00032191  0x0000a307 ior  0x00000002 , 0x0000003f 
+ 00032192  0x0000a308 rtn 
+ 00032193  0x0000a30d rshift16  0x0000003f , 0x00000006 
+ 00032194  0x0000a30e byteswap  0x00000006 , 0x00000006 
+ 00032195  0x0000a30f byteswap  0x0000003f , 0x0000003f 
+ 00032196  0x0000a310 lshift16  0x0000003f , 0x0000003f 
+ 00032197  0x0000a311 ior  0x00000006 , 0x0000003f 
+ 00032198  0x0000a312 rtn 
+ 00032199  0x0000a316 deposit  0x00000039 
+ 00032200  0x0000a317 rtn  0x00000034 
+ 00032201  0x0000a319 increase  0xfffffff8 , 0x00000039 
+ 00032202  0x0000a31a call  0x00007d79 , 0x00000002 
+ 00032203  0x0000a31b rtn  0x00000005 
+ 00032204  0x0000a31c branch  0x00007dc9 , 0x00000002 
+ 00032205  0x0000a31d increase  0x00000008 , 0x00000039 
+ 00032206  0x0000a31f increase  0xfffffffc , 0x00000039 
+ 00032207  0x0000a320 call  0x00007d76 , 0x00000002 
+ 00032208  0x0000a321 rtn  0x00000005 
+ 00032209  0x0000a322 branch  0x00007dce , 0x00000002 
+ 00032210  0x0000a323 increase  0x00000004 , 0x00000039 
+ 00032211  0x0000a324 branch  0x00007dd4 
+ 00032212  0x0000a327 deposit  0x00000039 
+ 00032213  0x0000a328 rtn  0x00000034 
+ 00032214  0x0000a32a ifetch  0x00000001 , 0x00000006 
+ 00032215  0x0000a32b istore  0x00000001 , 0x00000005 
+ 00032216  0x0000a32c loop  0x00007dd6 
+ 00032217  0x0000a32d rtn 
+ 00032218  0x0000a330 setarg  0x00000000 
+ 00032219  0x0000a332 rshift  0x00000022 , 0x00000002 
+ 00032220  0x0000a333 storet  0x00000004 , 0x0000409c 
+ 00032221  0x0000a334 arg  0x000041aa , 0x00000005 
+ 00032222  0x0000a335 iforce  0x00000002 
+ 00032223  0x0000a336 lshift  0x00000007 , 0x0000003f 
+ 00032224  0x0000a337 iadd  0x00000005 , 0x00000005 
+ 00032225  0x0000a338 istoret  0x00000002 , 0x00000005 
+ 00032226  0x0000a339 bpatchx  0x00000095 , 0x00004032 
+ 00032227  0x0000a33a rtn 
+ 00032228  0x0000a33d arg  0x00000800 , 0x0000000b 
+ 00032229  0x0000a33e lshift16  0x0000000b , 0x0000000b 
+ 00032230  0x0000a33f iadd  0x0000000b , 0x0000003f 
+ 00032231  0x0000a340 rtn 
+ 00032232  0x0000a344 arg  0x00000000 , 0x00000007 
+ 00032233  0x0000a346 bpatchx  0x00000096 , 0x00004032 
+ 00032234  0x0000a347 fetcht  0x00000004 , 0x0000409c 
+ 00032235  0x0000a348 rshift  0x00000022 , 0x0000003f 
+ 00032236  0x0000a349 store  0x00000004 , 0x0000409c 
+ 00032237  0x0000a34a isub  0x00000002 , 0x0000003e 
+ 00032238  0x0000a34b ncall  0x00007de4 , 0x00000002 
+ 00032239  0x0000a34c isub  0x00000002 , 0x0000000b 
+ 00032240  0x0000a34d copy  0x0000000b , 0x00000002 
+ 00032241  0x0000a34e arg  0x000041aa , 0x00000006 
+ 00032242  0x0000a34f copy  0x00000006 , 0x00000005 
+ 00032243  0x0000a350 arg  0x00000010 , 0x00000039 
+ 00032244  0x0000a352 ifetch  0x00000002 , 0x00000006 
+ 00032245  0x0000a353 isub  0x00000002 , 0x0000003f 
+ 00032246  0x0000a354 branch  0x00007df8 , 0x00000002 
+ 00032247  0x0000a355 force  0x00000000 , 0x0000003f 
+ 00032248  0x0000a357 istore  0x00000002 , 0x00000005 
+ 00032249  0x0000a358 loop  0x00007df4 
+ 00032250  0x0000a359 arg  0x000041aa , 0x00000006 
+ 00032251  0x0000a35a lshift  0x00000007 , 0x0000003f 
+ 00032252  0x0000a35b iadd  0x00000006 , 0x00000006 
+ 00032253  0x0000a35c ifetch  0x00000002 , 0x00000006 
+ 00032254  0x0000a35d rtn 
+ 00032255  0x0000a363 iadd  0x00000002 , 0x00000002 
+ 00032256  0x0000a364 copy  0x00000002 , 0x00000039 
+ 00032257  0x0000a365 fetch  0x00000002 , 0x00000163 
+ 00032258  0x0000a366 isub  0x00000039 , 0x0000003f 
+ 00032259  0x0000a367 rtn  0x00000002 
+ 00032260  0x0000a368 sub  0x0000003f , 0x00000000 , 0x0000003f 
+ 00032261  0x0000a369 rshift16  0x00000002 , 0x00000002 
+ 00032262  0x0000a36a increase  0x00000001 , 0x00000002 
+ 00032263  0x0000a36b lshift16  0x00000002 , 0x00000002 
+ 00032264  0x0000a36c ior  0x00000002 , 0x00000002 
+ 00032265  0x0000a36d rtn 
+ 00032266  0x0000a370 call  0x00007e0c 
+ 00032267  0x0000a371 branch  0x00007e19 
+ 00032268  0x0000a375 disable  0x00000028 
+ 00032269  0x0000a376 isub  0x00000002 , 0x0000003f 
+ 00032270  0x0000a377 branch  0x00007e11 , 0x00000002 
+ 00032271  0x0000a378 enable  0x00000028 
+ 00032272  0x0000a379 sub  0x0000003f , 0x00000000 , 0x0000003f 
+ 00032273  0x0000a37b rtnbit0  0x0000000f 
+ 00032274  0x0000a37c copy  0x0000003f , 0x00000014 
+ 00032275  0x0000a37d arg  0x00010000 , 0x00000002 
+ 00032276  0x0000a37e fetch  0x00000002 , 0x00000163 
+ 00032277  0x0000a37f isub  0x00000002 , 0x0000003f 
+ 00032278  0x0000a380 iadd  0x00000014 , 0x0000003f 
+ 00032279  0x0000a381 set0  0x00000040 , 0x0000003f 
+ 00032280  0x0000a382 rtn 
+ 00032281  0x0000a387 fetcht  0x00000002 , 0x00000163 
+ 00032282  0x0000a388 iforce  0x00000006 
+ 00032283  0x0000a389 rshift16  0x0000003f , 0x0000003f 
+ 00032284  0x0000a38a imul32  0x00000002 , 0x0000003f 
+ 00032285  0x0000a38b iadd  0x00000006 , 0x0000003f 
+ 00032286  0x0000a38c rtn 
+ 00032287  0x0000a390 lshift8  0x0000003f , 0x0000003f 
+ 00032288  0x0000a391 lshift4  0x0000003f , 0x0000003f 
+ 00032289  0x0000a392 fetcht  0x00000003 , 0x00004174 
+ 00032290  0x0000a393 idiv  0x00000002 
+ 00032291  0x0000a394 call  0x00007e64 
+ 00032292  0x0000a395 quotient  0x00000002 
+ 00032293  0x0000a396 rtn 
+ 00032294  0x0000a39a fetcht  0x00000002 , 0x00000163 
+ 00032295  0x0000a39b idiv  0x00000002 
+ 00032296  0x0000a39c call  0x00007e61 
+ 00032297  0x0000a39d lshift16  0x0000003f , 0x0000003f 
+ 00032298  0x0000a39e remainder  0x00000002 
+ 00032299  0x0000a39f ior  0x00000002 , 0x00000002 
+ 00032300  0x0000a3a0 rtn 
+ 00032301  0x0000a3a8 arg  0x00000000 , 0x00000002 
+ 00032302  0x0000a3aa copy  0x00000002 , 0x00000014 
+ 00032303  0x0000a3ab ifetch  0x00000001 , 0x00000003 
+ 00032304  0x0000a3ac call  0x00007e39 
+ 00032305  0x0000a3ad copy  0x00000014 , 0x00000002 
+ 00032306  0x0000a3ae call  0x00007e73 
+ 00032307  0x0000a3af arg  0x0000000a , 0x00000012 
+ 00032308  0x0000a3b0 imul32  0x00000012 , 0x0000003f 
+ 00032309  0x0000a3b1 iadd  0x00000002 , 0x0000003f 
+ 00032310  0x0000a3b2 copy  0x0000003f , 0x00000002 
+ 00032311  0x0000a3b3 loop  0x00007e2e 
+ 00032312  0x0000a3b4 rtn 
+ 00032313  0x0000a3b9 arg  0x0000003a , 0x00000002 
+ 00032314  0x0000a3ba isub  0x00000002 , 0x0000003e 
+ 00032315  0x0000a3bb nbranch  0x00007e42 , 0x00000002 
+ 00032316  0x0000a3bc arg  0x00000061 , 0x00000002 
+ 00032317  0x0000a3bd isub  0x00000002 , 0x0000003e 
+ 00032318  0x0000a3be branch  0x00007e45 , 0x00000002 
+ 00032319  0x0000a3bf arg  0x00000037 , 0x00000002 
+ 00032320  0x0000a3c0 isub  0x00000002 , 0x0000003f 
+ 00032321  0x0000a3c1 rtn 
+ 00032322  0x0000a3c3 arg  0x00000030 , 0x00000002 
+ 00032323  0x0000a3c4 isub  0x00000002 , 0x0000003f 
+ 00032324  0x0000a3c5 rtn 
+ 00032325  0x0000a3c7 arg  0x00000057 , 0x00000002 
+ 00032326  0x0000a3c8 isub  0x00000002 , 0x0000003f 
+ 00032327  0x0000a3c9 rtn 
+ 00032328  0x0000a3cc copy  0x00000002 , 0x00000030 
+ 00032329  0x0000a3cd setarg  0x000001ff 
+ 00032330  0x0000a3ce force  0x00000000 , 0x00000012 
+ 00032331  0x0000a3d0 rshift3  0x0000003f , 0x00000011 
+ 00032332  0x0000a3d1 rshift  0x00000011 , 0x00000011 
+ 00032333  0x0000a3d2 ixor  0x00000011 , 0x00000011 
+ 00032334  0x0000a3d3 isolate1  0x00000000 , 0x00000011 
+ 00032335  0x0000a3d4 setflag  0x00000001 , 0x00000009 , 0x0000003f 
+ 00032336  0x0000a3d5 rshift  0x00000002 , 0x00000002 
+ 00032337  0x0000a3d6 isolate1  0x00000000 , 0x0000003f 
+ 00032338  0x0000a3d7 setflag  0x00000001 , 0x00000007 , 0x00000002 
+ 00032339  0x0000a3d8 rshift  0x0000003f , 0x0000003f 
+ 00032340  0x0000a3d9 increase  0x00000001 , 0x00000012 
+ 00032341  0x0000a3da compare  0x00000000 , 0x00000012 , 0x00000007 
+ 00032342  0x0000a3db nbranch  0x00007e4b , 0x00000001 
+ 00032343  0x0000a3dc istoret  0x00000001 , 0x00000005 
+ 00032344  0x0000a3dd loop  0x00007e4b 
+ 00032345  0x0000a3de copy  0x00000030 , 0x00000002 
+ 00032346  0x0000a3df rtn 
+ 00032347  0x0000a3e3 setarg  0x00000000 
+ 00032348  0x0000a3e4 copy  0x00000039 , 0x00000011 
+ 00032349  0x0000a3e6 ifetcht  0x00000002 , 0x00000006 
+ 00032350  0x0000a3e7 iadd  0x00000002 , 0x0000003f 
+ 00032351  0x0000a3e8 loop  0x00007e5d 
+ 00032352  0x0000a3e9 idiv  0x00000011 
+ 00032353  0x0000a3ec call  0x00007e64 
+ 00032354  0x0000a3ed quotient  0x0000003f 
+ 00032355  0x0000a3ee rtn 
+ 00032356  0x0000a3f1 rtn  0x00000035 
+ 00032357  0x0000a3f2 branch  0x00007e64 
+ 00032358  0x0000a3fe ifetch  0x00000001 , 0x00000011 
+ 00032359  0x0000a3ff ifetcht  0x00000001 , 0x00000012 
+ 00032360  0x0000a400 isub  0x00000002 , 0x0000003e 
+ 00032361  0x0000a401 nrtn  0x00000005 
+ 00032362  0x0000a402 increase  0x00000001 , 0x00000011 
+ 00032363  0x0000a403 increase  0x00000001 , 0x00000012 
+ 00032364  0x0000a404 loop  0x00007e66 
+ 00032365  0x0000a405 force  0x00000000 , 0x0000003e 
+ 00032366  0x0000a406 rtn 
+ 00032367  0x0000a40a isub  0x00000002 , 0x0000003e 
+ 00032368  0x0000a40b nrtn  0x00000002 
+ 00032369  0x0000a40c deposit  0x00000002 
+ 00032370  0x0000a40d rtn 
+ 00032371  0x0000a410 iadd  0x00000002 , 0x0000003f 
+ 00032372  0x0000a411 isub  0x00000002 , 0x00000002 
+ 00032373  0x0000a412 isub  0x00000002 , 0x0000003f 
+ 00032374  0x0000a413 rtn 
+ 00032375  0x0000a416 arg  0x00000200 , 0x00000039 
+ 00032376  0x0000a417 arg  0x00004000 , 0x00000005 
+ 00032377  0x0000a418 branch  0x00007d8c 
+ 00032378  0x0000a41c rtn  0x00000034 
+ 00032379  0x0000a41d copy  0x0000003f , 0x0000003d 
+ 00032380  0x0000a421 fetch  0x00000002 , 0x0000810e 
+ 00032381  0x0000a422 nbranch  0x00007e7c , 0x00000034 
+ 00032382  0x0000a423 rtn 
+ 00032383  0x0000a426 jam  0x00000001 , 0x00008203 
+ 00032384  0x0000a427 rtn 
+ 00032385  0x0000a42a store  0x00000002 , 0x00008205 
+ 00032386  0x0000a42b fetch  0x00000001 , 0x00008203 
+ 00032387  0x0000a42c set1  0x00000004 , 0x0000003f 
+ 00032388  0x0000a42d store  0x00000001 , 0x00008203 
+ 00032389  0x0000a42e rtn 
+ 00032390  0x0000a430 store  0x00000002 , 0x00008207 
+ 00032391  0x0000a431 fetch  0x00000001 , 0x00008203 
+ 00032392  0x0000a432 set1  0x00000006 , 0x0000003f 
+ 00032393  0x0000a433 store  0x00000001 , 0x00008203 
+ 00032394  0x0000a434 rtn 
+ 00032395  0x0000a437 store  0x00000002 , 0x00008205 
+ 00032396  0x0000a438 jam  0x00000030 , 0x00008203 
+ 00032397  0x0000a439 rtn 
+ 00032398  0x0000a43d fetch  0x00000001 , 0x00008043 
+ 00032399  0x0000a43e set0  0x00000004 , 0x0000003f 
+ 00032400  0x0000a43f store  0x00000001 , 0x00008043 
+ 00032401  0x0000a440 rtn 
+ 00032402  0x0000a443 fetch  0x00000002 , 0x0000810e 
+ 00032403  0x0000a444 arg  0x00000200 , 0x00000002 
+ 00032404  0x0000a446 isub  0x00000002 , 0x0000003e 
+ 00032405  0x0000a447 rtn 
+ 00032406  0x0000a44e bpatchx  0x00000097 , 0x00004032 
+ 00032407  0x0000a44f ifetcht  0x00000008 , 0x00000011 
+ 00032408  0x0000a450 and  0x00000002 , 0x000000ff , 0x0000003f 
+ 00032409  0x0000a451 nbranch  0x00007e9c , 0x00000034 
+ 00032410  0x0000a452 rshift8  0x00000002 , 0x0000003f 
+ 00032411  0x0000a453 istore  0x00000008 , 0x00000011 
+ 00032412  0x0000a455 increase  0x00000007 , 0x00000011 
+ 00032413  0x0000a456 ifetch  0x00000001 , 0x00000011 
+ 00032414  0x0000a457 nbranch  0x0000137c , 0x00000034 
+ 00032415  0x0000a458 fetch  0x00000001 , 0x0000095b 
+ 00032416  0x0000a459 istore  0x00000001 , 0x00000011 
+ 00032417  0x0000a45a rtn 
+ 00032418  0x0000a460 bpatchx  0x00000098 , 0x00004033 
+ 00032419  0x0000a461 arg  0x00000008 , 0x00000039 
+ 00032420  0x0000a462 ifetch  0x00000008 , 0x00000011 
+ 00032421  0x0000a463 rtn  0x00000034 
+ 00032422  0x0000a465 ifetch  0x00000001 , 0x00000011 
+ 00032423  0x0000a466 nbranch  0x00007eab , 0x00000034 
+ 00032424  0x0000a467 increase  0x00000001 , 0x00000011 
+ 00032425  0x0000a468 loop  0x00007ea6 
+ 00032426  0x0000a469 branch  0x0000137c 
+ 00032427  0x0000a46b arg  0x00000000 , 0x00000002 
+ 00032428  0x0000a46c istoret  0x00000001 , 0x00000011 
+ 00032429  0x0000a46d rtn 
+ 00032430  0x0000a473 ifetch  0x00000008 , 0x00000011 
+ 00032431  0x0000a474 rtn 
+ 00032432  0x0000a47a ifetch  0x00000001 , 0x00000011 
+ 00032433  0x0000a47b rtn 
+ 00032434  0x0000a47f ifetch  0x00000002 , 0x00000011 
+ 00032435  0x0000a480 rtn 
+ 00032436  0x0000a485 arg  0x00000000 , 0x00000002 
+ 00032437  0x0000a487 fetch  0x00000001 , 0x00000006 
+ 00032438  0x0000a488 loop  0x00007eb5 , 0x00000034 
+ 00032439  0x0000a489 increase  0x00000001 , 0x00000002 
+ 00032440  0x0000a48a loop  0x00007eb5 
+ 00032441  0x0000a48b copy  0x00000002 , 0x0000003f 
+ 00032442  0x0000a48c rtn 
+ 00032443  0x0000a490 isub  0x00000002 , 0x0000003e 
+ 00032444  0x0000a491 nrtn  0x00000002 
+ 00032445  0x0000a493 copy  0x00000002 , 0x0000003f 
+ 00032446  0x0000a494 rtn 
+ 00032447  0x0000a498 force  0xffffffff , 0x0000003e 
+ 00032448  0x0000a499 rtn 
+ 00032449  0x0000a49c force  0x00000001 , 0x0000003e 
+ 00032450  0x0000a49d rtn 
+ 00032451  0x0000a49f force  0x00000000 , 0x0000003e 
+ 00032452  0x0000a4a0 rtn 
+ 00032453  0x0000a4a3 enable  0x00000028 
+ 00032454  0x0000a4a4 rtn 
+ 00032455  0x0000a4a7 disable  0x00000028 
+ 00032456  0x0000a4a8 rtn 
+ 00032457  0x0000a4ab enable  0x0000002c 
+ 00032458  0x0000a4ac rtn 
+ 00032459  0x0000a4af disable  0x0000002c 
+ 00032460  0x0000a4b0 rtn 
+ 00032461  0x0000a4b3 enable  0x00000031 
+ 00032462  0x0000a4b4 rtn 
+ 00032463  0x0000a4b7 setarg  0x00000001 
+ 00032464  0x0000a4b8 rtn 
+ 00032465  0x0000a4bc setarg  0x00000000 
+ 00032466  0x0000a4bd rtn 
+ 00032467  0x0000a4c2 sub  0x00000039 , 0x00000000 , 0x0000003e 
+ 00032468  0x0000a4c3 rtn  0x00000005 
+ 00032469  0x0000a4c5 ifetcht  0x00000001 , 0x00000006 
+ 00032470  0x0000a4c6 iadd  0x00000002 , 0x0000003f 
+ 00032471  0x0000a4c7 loop  0x00007ed5 
+ 00032472  0x0000a4c8 rtn 
+ 00032473  0x0000a4cc copy  0x00000039 , 0x0000003f 
+ 00032474  0x0000a4cd rtn  0x00000034 
+ 00032475  0x0000a4ce copy  0x00000006 , 0x0000003f 
+ 00032476  0x0000a4cf iadd  0x00000039 , 0x0000003f 
+ 00032477  0x0000a4d0 increase  0xffffffff , 0x0000003f 
+ 00032478  0x0000a4d1 copy  0x0000003f , 0x00000006 
+ 00032479  0x0000a4d3 ifetch  0x00000001 , 0x00000006 
+ 00032480  0x0000a4d4 increase  0xfffffffe , 0x00000006 
+ 00032481  0x0000a4d5 istore  0x00000001 , 0x00000005 
+ 00032482  0x0000a4d6 loop  0x00007edf 
+ 00032483  0x0000a4d7 rtn 
+ 00032484  0x0000a4da copy  0x0000000b , 0x00000012 
+ 00032485  0x0000a4de arg  0x00009420 , 0x00000013 
+ 00032486  0x0000a4df force  0x00000024 , 0x00000039 
+ 00032487  0x0000a4e0 force  0x00000000 , 0x0000002b 
+ 00032488  0x0000a4e1 force  0x00000000 , 0x00000037 
+ 00032489  0x0000a4e3 call  0x00007ef9 
+ 00032490  0x0000a4e4 preload  0x00000011 
+ 00032491  0x0000a4e5 iadd  0x0000002b , 0x0000002b 
+ 00032492  0x0000a4e6 preload  0x00000002 
+ 00032493  0x0000a4e7 iadd  0x00000037 , 0x00000037 
+ 00032494  0x0000a4e8 increase  0x00000004 , 0x00000012 
+ 00032495  0x0000a4e9 increase  0x00000002 , 0x00000013 
+ 00032496  0x0000a4ea loop  0x00007ee9 
+ 00032497  0x0000a4eb preload  0x0000002b 
+ 00032498  0x0000a4ec arg  0x00000024 , 0x00000002 
+ 00032499  0x0000a4ed call  0x00007f45 
+ 00032500  0x0000a4ee istore  0x00000004 , 0x00000005 
+ 00032501  0x0000a4ef preload  0x00000037 
+ 00032502  0x0000a4f0 call  0x00007f45 
+ 00032503  0x0000a4f1 istore  0x00000004 , 0x00000005 
+ 00032504  0x0000a4f2 rtn 
+ 00032505  0x0000a4f6 ifetchr  0x0000002e , 0x00000002 , 0x00000012 
+ 00032506  0x0000a4f7 ifetchr  0x0000001c , 0x00000001 , 0x00000013 
+ 00032507  0x0000a4f8 call  0x00007f2a 
+ 00032508  0x0000a4f9 imults  0x00000002 , 0x00000011 
+ 00032509  0x0000a4fa ifetchr  0x0000001c , 0x00000001 , 0x00000006 
+ 00032510  0x0000a4fb branch  0x00007f00 , 0x00000028 
+ 00032511  0x0000a4fc sub  0x0000001c , 0x00000000 , 0x0000001c 
+ 00032512  0x0000a4fe add  0x00000012 , 0x00000002 , 0x00000006 
+ 00032513  0x0000a4ff ifetchr  0x0000002e , 0x00000002 , 0x00000006 
+ 00032514  0x0000a500 call  0x00007f2a 
+ 00032515  0x0000a501 imults  0x00000002 , 0x00000018 
+ 00032516  0x0000a502 preload  0x00000011 
+ 00032517  0x0000a503 isub  0x00000018 , 0x00000011 
+ 00032518  0x0000a504 ifetchr  0x0000002e , 0x00000002 , 0x00000012 
+ 00032519  0x0000a505 preload  0x0000002e 
+ 00032520  0x0000a506 imults  0x00000002 , 0x00000018 
+ 00032521  0x0000a507 ifetchr  0x0000002e , 0x00000002 , 0x00000006 
+ 00032522  0x0000a508 ifetchr  0x0000001c , 0x00000001 , 0x00000013 
+ 00032523  0x0000a509 call  0x00007f2a 
+ 00032524  0x0000a50a imults  0x00000002 , 0x00000002 
+ 00032525  0x0000a50b preload  0x00000018 
+ 00032526  0x0000a50c iadd  0x00000002 , 0x00000002 
+ 00032527  0x0000a50d rtn 
+ 00032528  0x0000a511 ifetch  0x00000004 , 0x00000012 
+ 00032529  0x0000a512 ifetchr  0x00000011 , 0x00000004 , 0x00000013 
+ 00032530  0x0000a513 imults  0x00000011 , 0x0000002b 
+ 00032531  0x0000a514 ifetchr  0x00000011 , 0x00000004 , 0x00000006 
+ 00032532  0x0000a515 aligned  0x00000011 , 0x00000037 
+ 00032533  0x0000a516 add  0x00000012 , 0x00000004 , 0x00000006 
+ 00032534  0x0000a517 ifetch  0x00000004 , 0x00000006 
+ 00032535  0x0000a518 imults  0x00000011 , 0x00000002 
+ 00032536  0x0000a519 preload  0x0000002b 
+ 00032537  0x0000a51a isub  0x00000002 , 0x0000002b 
+ 00032538  0x0000a51b ifetch  0x00000004 , 0x00000012 
+ 00032539  0x0000a51c imults  0x00000037 , 0x00000037 
+ 00032540  0x0000a51d ifetch  0x00000004 , 0x00000006 
+ 00032541  0x0000a51e ifetchr  0x00000011 , 0x00000004 , 0x00000013 
+ 00032542  0x0000a51f imults  0x00000011 , 0x0000003f 
+ 00032543  0x0000a520 iadd  0x00000037 , 0x00000037 
+ 00032544  0x0000a521 rtn 
+ 00032545  0x0000a525 lshift16  0x0000003f , 0x0000003f 
+ 00032546  0x0000a527 rshift2  0x0000003f , 0x0000003f 
+ 00032547  0x0000a528 rtn 
+ 00032548  0x0000a52b lshift8  0x0000003f , 0x0000003f 
+ 00032549  0x0000a52c branch  0x00007f22 
+ 00032550  0x0000a52f imul32  0x0000003f , 0x0000003f 
+ 00032551  0x0000a531 rshift4  0x0000003f , 0x0000003f 
+ 00032552  0x0000a532 rshift3  0x0000003f , 0x0000003f 
+ 00032553  0x0000a533 rtn 
+ 00032554  0x0000a538 preload  0x0000002e 
+ 00032555  0x0000a539 aligned  0x0000001c , 0x00000002 
+ 00032556  0x0000a53a rtn 
+ 00032557  0x0000a53e rtnbit0  0x0000001f 
+ 00032558  0x0000a53f force  0x00000000 , 0x00000002 
+ 00032559  0x0000a540 set1  0x00000020 , 0x00000002 
+ 00032560  0x0000a541 increase  0xffffffff , 0x00000002 
+ 00032561  0x0000a542 ixor  0x00000002 , 0x0000003f 
+ 00032562  0x0000a543 pincrease  0x00000001 
+ 00032563  0x0000a544 rtn 
+ 00032564  0x0000a548 iforce  0x00000011 
+ 00032565  0x0000a549 arg  0x00000000 , 0x00000018 
+ 00032566  0x0000a54a set1  0x0000001e , 0x00000018 
+ 00032567  0x0000a54b arg  0x00000000 , 0x00000012 
+ 00032568  0x0000a54c arg  0x00000010 , 0x00000039 
+ 00032569  0x0000a54e deposit  0x00000018 
+ 00032570  0x0000a54f iadd  0x00000012 , 0x0000003f 
+ 00032571  0x0000a550 rshift  0x00000012 , 0x00000012 
+ 00032572  0x0000a551 isub  0x00000011 , 0x0000003f 
+ 00032573  0x0000a552 branch  0x00007f3f , 0x00000005 
+ 00032574  0x0000a553 branch  0x00007f42 , 0x00000002 
+ 00032575  0x0000a555 sub  0x0000003f , 0x00000000 , 0x00000011 
+ 00032576  0x0000a556 deposit  0x00000018 
+ 00032577  0x0000a557 ior  0x00000012 , 0x00000012 
+ 00032578  0x0000a559 rshift2  0x00000018 , 0x00000018 
+ 00032579  0x0000a55a loop  0x00007f39 
+ 00032580  0x0000a55b rtn 
+ 00032581  0x0000a55f set0  0x0000002c , 0x00000000 
+ 00032582  0x0000a560 bbit0  0x0000003f , 0x00007f49 
+ 00032583  0x0000a561 set1  0x0000002c , 0x00000000 
+ 00032584  0x0000a562 sub  0x0000003f , 0x00000000 , 0x0000003f 
+ 00032585  0x0000a564 isolate0  0x0000003f , 0x00000002 
+ 00032586  0x0000a565 branch  0x00007f4d , 0x00000001 
+ 00032587  0x0000a566 setflip  0x0000002c , 0x00000000 
+ 00032588  0x0000a567 sub  0x00000002 , 0x00000000 , 0x00000002 
+ 00032589  0x0000a569 idiv  0x00000002 
+ 00032590  0x0000a56a call  0x00007e61 
+ 00032591  0x0000a56b rtnmark0  0x0000002c 
+ 00032592  0x0000a56c sub  0x0000003f , 0x00000000 , 0x0000003f 
+ 00032593  0x0000a56d rtn 
+ 00032594  0x0000a572 setarg  0x00000000 
+ 00032595  0x0000a573 set1  0x00000013 , 0x0000003f 
+ 00032596  0x0000a574 store  0x00000008 , 0x0000009e 
+ 00032597  0x0000a575 rtn 
Index: output/bt_program23.list
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/output/bt_program23.list	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/output/bt_program23.list	(working copy)
@@ -0,0 +1,35496 @@
+              include "bt_format "
+              org 0x0000
+0x0 000032 beq patch00_0 ,p_soft_reset 
+0x1 000033 beq patch11_3 ,p_initialize_radio_cont 
+0x2 000036 beq patch1c_6 ,p_shutter_init 
+0x3 000037 branch loop 
+:      000043 p_soft_reset:
+0x4 000044 clear_stack 
+0x5 000045 call p_app_param_init 
+0x6 000046 branch soft_reset + 3 
+:      000048 p_app_param_init:
+0x7 000049 call app_param_init 
+0x8 000050 fetch 1 ,mem_device_option 
+0x9 000051 beq dvc_op_shutter ,p_shutter_default_init 
+0xa 000052 rtn 
+:      000053 p_shutter_default_init:
+0xb 000054 setarg 0x0640 
+0xc 000055 store 2 ,mem_ble_shutter_reconn_adv_interval 
+0xd 000056 setarg 0x0640 
+0xe 000057 store 2 ,mem_ble_shutter_discovery_adv_interval 
+0xf 000059 rtn wake 
+0x10 000063 setarg 0x0002 
+0x11 000064 store 2 ,mem_key0_press 
+0x12 000065 store 2 ,mem_key1_press 
+0x13 000066 setarg 0x010210 
+0x14 000067 store 3 ,mem_le_pres_max_keysize 
+0x15 000068 rtn 
+:      000070 p_shutter_init:
+0x16 000071 call shutter_load_buffer_config_form_datarom 
+0x17 000072 fetch 1 ,mem_shutter_hard_soft_switch_case 
+0x18 000073 beq hard_switch ,shutter_hart_swtich_power_on 
+0x19 000074 fetch 1 ,mem_shutter_soft_switch_button_gpio 
+0x1a 000075 store 1 ,mem_ui_button_gpio 
+:      000077 p_ui_soft_swtich_init:
+0x1b 000078 setarg ss_state_power_up 
+0x1c 000079 call ui_soft_swtich_init_power_on_time 
+0x1d 000080 jam ui_button_state_up ,mem_ui_button_last_state 
+0x1e 000081 call ui_button_init 
+0x1f 000082 call ui_button_polling 
+0x20 000083 fetch 1 ,mem_wakup_from_power_flag 
+0x21 000084 bbit0 2 ,ui_soft_switch_power_on 
+0x22 000085 branch ui_soft_swtich_init + 5 
+:      000089 p_initialize_radio_cont:
+0x23 000090 call enable_authrom 
+0x24 000091 jam 0x04 ,mem_ble_shutter_discovery_timeout + 1 
+0x25 000092 jam 0x0b ,mem_ble_shutter_connect_timeout + 1 
+0x26 000093 jam 0x0b ,core_rf_ldo_cfg2 
+0x27 000094 jam 0x05 ,core_rf_ldo_cfg3 
+0x28 000095 jam 0x90 ,core_syn_pfd_lkd_cfg 
+0x29 000096 branch initialize_radio_cont + 1 
+              org 0x800
+:      000107 start:
+0x800 000108 call lpmstate 
+:      000110 soft_reset:
+0x801 000111 bpatch patch00_0 ,mem_patch00 
+0x802 000112 clear_stack 
+0x803 000113 call app_param_init 
+0x804 000114 call initialize_radio 
+0x805 000115 call iic_init_360khz 
+0x806 000116 call init_param 
+0x807 000117 call l2cap_init 
+0x808 000118 bpatch patch00_1 ,mem_patch00 
+0x809 000119 call rfcomm_init 
+0x80a 000120 call init_lmp 
+0x80b 000121 call ui_init 
+0x80c 000122 call app_init 
+0x80d 000123 bpatch patch00_2 ,mem_patch00 
+0x80e 000124 call app_lpm_init ,wake 
+0x80f 000125 call publickey_init 
+0x810 000126 call sp_wait_pubkey_calc_done 
+0x811 000127 call lpm_recover_clk ,wake 
+:      000128 main_loop:
+0x812 000129 bpatch patch00_3 ,mem_patch00 
+0x813 000130 call sp_calc_sequence 
+0x814 000131 call sp_calc_sequence_256 
+0x815 000132 call sp_calc_sequence_256_check 
+0x816 000133 call le_advertising_dispatch 
+0x817 000134 call idle_dispatch 
+0x818 000135 call app_process_idle 
+0x819 000136 bpatch patch00_4 ,mem_patch00 
+0x81a 000137 call inquiry_dispatch 
+0x81b 000138 call inquiry_scan_dispatch 
+0x81c 000139 call page_scan_dispatch 
+0x81d 000140 call connection_dispatch 
+0x81e 000141 call g24_dispatch 
+0x81f 000142 call lpm_dispatch 
+0x820 000143 branch main_loop 
+:      000145 connection_dispatch:
+0x821 000146 call connection_incontext 
+0x822 000147 rtnmark0 mark_context 
+0x823 000148 set0 mark_context ,mark 
+0x824 000149 call context_save 
+0x825 000150 branch le_disable 
+:      000152 connection_incontext:
+0x826 000153 bpatch patch00_5 ,mem_patch00 
+0x827 000154 call context_search_insniff 
+0x828 000155 nbranch connection_nosniff ,zero 
+0x829 000156 call context_load 
+0x82a 000157 add rega ,coffset_mode ,contr 
+0x82b 000158 ifetch 1 ,contr 
+0x82c 000159 bbit1 mode_le ,le_conn_dispatch 
+0x82d 000160 bbit1 mode_master ,master_dispatch 
+0x82e 000161 branch slave_dispatch 
+:      000162 connection_nosniff:
+0x82f 000163 call context_get_next 
+0x830 000164 copy loopcnt ,null 
+0x831 000165 rtn zero 
+0x832 000166 call context_load 
+0x833 000167 fetch 1 ,mem_state 
+0x834 000168 bbit1 state_inpage ,master_page 
+0x835 000169 fetch 1 ,mem_mode 
+0x836 000170 bbit1 mode_master ,master_dispatch 
+0x837 000171 branch slave_dispatch 
+:      000179 idle_dispatch:
+0x838 000180 fetch 1 ,mem_hci_cmd 
+0x839 000181 rtn blank 
+0x83a 000182 beq hci_cmd_inquiry ,idle_inquiry 
+0x83b 000183 beq hci_cmd_inquiry_cancel ,idle_inquiry_cancel 
+0x83c 000184 beq hci_cmd_remote_name_req ,idle_remote_name_req 
+0x83d 000185 beq hci_cmd_create_conn ,idle_create_conn 
+0x83e 000186 beq hci_cmd_le_create_conn ,idle_le_create_conn 
+0x83f 000187 call context_search_conn_handle 
+0x840 000188 rtn zero 
+0x841 000189 call context_search_plap 
+0x842 000190 rtn zero 
+:      000191 idle_exit:
+0x843 000192 jam 0 ,mem_hci_cmd 
+0x844 000193 rtn 
+:      000195 idle_le_create_conn:
+0x845 000196 jam hci_cmd_le_create_conn ,mem_cmd_le_create_conn 
+0x846 000197 jam 0 ,mem_hci_cmd 
+0x847 000198 rtn 
+:      000200 idle_inquiry:
+0x848 000201 set1 mark_inquiry_on ,mark 
+0x849 000202 set0 mark_inquiry_trainb ,mark 
+0x84a 000203 jam param_ninquiry ,mem_ninqy_index 
+0x84b 000204 jam 31 ,mem_nfreq_index_inq 
+0x84c 000205 branch idle_exit 
+:      000207 idle_inquiry_cancel:
+0x84d 000208 set0 mark_inquiry_on ,mark 
+0x84e 000209 force 0 ,stop_watch 
+0x84f 000210 branch idle_exit 
+:      000212 idle_remote_name_req:
+0x850 000213 call context_search_plap 
+0x851 000214 rtn zero 
+0x852 000215 force lmp_name_req ,temp 
+0x853 000216 jam 5 ,mem_nameres_cnt 
+0x854 000217 branch idle_start_page 
+:      000219 idle_create_conn:
+0x855 000220 bpatch patch00_6 ,mem_patch00 
+:      000221 idle_create_conn_device:
+0x856 000222 fetch 6 ,mem_hci_plap 
+0x857 000224 nop 1 
+0x858 000225 jam reconnect_hid ,memui_reconnect_mode 
+0x859 000227 jam conn_sm_wait_features_res ,mem_conn_sm 
+0x85a 000228 branch idle_create_conn_cont 
+:      000230 idle_create_conn_cont:
+0x85b 000231 force lmp_version_req ,temp 
+:      000232 idle_start_page:
+0x85c 000233 bpatch patch00_7 ,mem_patch00 
+0x85d 000234 fetch 1 ,mem_page_mode 
+0x85e 000235 branch idle_page_mode_r0 ,blank 
+0x85f 000236 lshift3 pdata ,pdata 
+0x860 000237 lshift4 pdata ,pdata 
+0x861 000238 increase -1 ,pdata 
+:      000239 idle_page_mode_r0:
+0x862 000240 store 1 ,mem_npage 
+0x863 000241 store 1 ,mem_npage_index 
+0x864 000242 jam 31 ,mem_nfreq_index_page 
+0x865 000243 set0 mark_page_trainb ,mark 
+0x866 000244 call context_new 
+0x867 000245 nbranch idle_page_fail ,zero 
+0x868 000246 call get_free_amaddr 
+0x869 000247 store 1 ,mem_amaddr 
+0x86a 000248 storet 1 ,mem_lmo_opcode2 
+0x86b 000249 fetch 6 ,mem_hci_plap 
+0x86c 000250 store 6 ,mem_plap 
+0x86d 000251 bpatch patch01_0 ,mem_patch01 
+0x86e 000252 call timer_reinit 
+0x86f 000253 fetcht 1 ,mem_lmo_opcode2 
+0x870 000254 force 0 ,pdata 
+0x871 000255 compare lmp_name_req ,temp ,0xff 
+0x872 000256 nsetflag true ,state_init_seq ,pdata 
+0x873 000257 set1 state_inpage ,pdata 
+0x874 000258 store 1 ,mem_state 
+0x875 000259 jam bt_evt_reconn_started ,mem_fifo_temp 
+0x876 000260 call ui_ipc_send_event 
+0x877 000261 force 0 ,pdata 
+0x878 000262 setflag true ,smap_name_req ,pdata 
+0x879 000263 store 1 ,mem_state_map 
+0x87a 000264 setarg 0 
+0x87b 000265 set1 mode_master ,pdata 
+0x87c 000266 store 1 ,mem_mode 
+0x87d 000267 enable master 
+0x87e 000268 call context_save 
+0x87f 000269 disable master 
+0x880 000270 force page_length_timer ,queue 
+0x881 000271 fetch 2 ,mem_page_to 
+0x882 000272 call timer_init 
+0x883 000273 branch idle_exit 
+:      000274 idle_page_fail:
+0x884 000275 bpatch patch01_1 ,mem_patch01 
+0x885 000276 fetch 6 ,mem_hci_plap 
+0x886 000277 store 6 ,mem_plap 
+0x887 000278 compare lmp_name_req ,temp ,0xff 
+0x888 000279 branch idle_name_fail ,true 
+0x889 000280 branch idle_exit 
+:      000281 idle_name_fail:
+0x88a 000282 arg mem_tmp_buffer ,contw 
+0x88b 000283 arg 8 ,loopcnt 
+0x88c 000284 call memset0 
+0x88d 000285 jam bt_evt_reconn_failed ,mem_fifo_temp 
+0x88e 000286 call ui_ipc_send_event 
+0x88f 000287 branch idle_exit 
+:      000294 inquiry_dispatch:
+0x890 000295 rtnmark0 mark_inquiry_on 
+0x891 000296 force inquiry_length_timer ,queue 
+0x892 000297 call timer_check 
+0x893 000298 nsetflag blank ,mark_inquiry_on ,mark 
+0x894 000299 nbranch inquiry_start ,blank 
+0x895 000300 rtn 
+:      000304 inquiry_start:
+0x896 000305 bpatch patch01_2 ,mem_patch01 
+0x897 000306 fetcht 2 ,mem_inq_window 
+0x898 000307 force 4 ,queue 
+0x899 000308 call sniff_check_window 
+0x89a 000309 rtn user 
+0x89b 000310 call afh_clear 
+0x89c 000311 force 0 ,freq_mode 
+:      000312 inquiry_restart:
+0x89d 000313 rtn timeout 
+0x89e 000314 set0 mark_fhs_already_good ,mark 
+0x89f 000315 set0 mark_fhs_eir ,mark 
+:      000316 inquiry_rx_restart:
+0x8a0 000317 add clkn_bt ,1 ,bt_clk 
+0x8a1 000318 isolate1 mark_inquiry_trainb ,mark 
+0x8a2 000319 setflag true ,2 ,freq_mode 
+0x8a3 000320 compare 0x00 ,bt_clk ,0x02 
+0x8a4 000321 nbranch inquiry_receive ,true 
+:      000323 inquiry_transmit:
+0x8a5 000324 bpatch patch01_3 ,mem_patch01 
+0x8a6 000325 fetch 1 ,mem_inquiry_transmit 
+0x8a7 000326 increase 1 ,pdata 
+0x8a8 000327 store 1 ,mem_inquiry_transmit 
+0x8a9 000328 call fetch_giac 
+0x8aa 000329 call tx_radio_freq 
+0x8ab 000330 call fetch_diac 
+0x8ac 000331 call start_transmitter 
+0x8ad 000332 call start_tx_native 
+0x8ae 000333 call send_access_word 
+0x8af 000334 call end_of_packet 
+0x8b0 000335 call inquiry_check_train 
+0x8b1 000336 branch inquiry_restart 
+:      000338 inquiry_check_train:
+0x8b2 000339 bpatch patch01_4 ,mem_patch01 
+0x8b3 000340 fetch 1 ,mem_nfreq_index_inq 
+0x8b4 000341 increase -1 ,pdata 
+0x8b5 000342 store 1 ,mem_nfreq_index_inq 
+0x8b6 000343 rtn positive 
+0x8b7 000344 jam 31 ,mem_nfreq_index_inq 
+0x8b8 000345 fetch 1 ,mem_ninqy_index 
+0x8b9 000346 increase -1 ,pdata 
+0x8ba 000347 store 1 ,mem_ninqy_index 
+0x8bb 000348 rtn positive 
+0x8bc 000349 setflip mark_inquiry_trainb ,mark 
+0x8bd 000350 jam param_ninquiry ,mem_ninqy_index 
+0x8be 000351 rtn 
+:      000353 inquiry_receive:
+0x8bf 000354 bpatch patch01_5 ,mem_patch01 
+0x8c0 000355 call fetch_giac 
+0x8c1 000356 call rx_radio_freq 
+0x8c2 000357 call fetch_diac 
+0x8c3 000358 call start_rx_native 
+0x8c4 000359 call start_receiver 
+0x8c5 000360 call wait_access_clkn_rt 
+0x8c6 000361 branch inquiry_sync ,sync 
+0x8c7 000362 call inquiry_check_train 
+0x8c8 000363 branch inquiry_rx_restart 
+:      000364 inquiry_sync:
+0x8c9 000365 bpatch patch01_6 ,mem_patch01 
+0x8ca 000366 call save_rssi 
+0x8cb 000367 call scan_mode_whiten 
+0x8cc 000368 call receive_packet_whitened 
+0x8cd 000369 set0 mark_rxbuf_inuse ,mark 
+0x8ce 000370 rtnmark0 mark_fhs_already_good 
+:      000371 inquiry_receive_rtn:
+:      000372 inquiry_receive_eir_rtn:
+0x8cf 000373 fetch 1 ,mem_inquiry_rcv 
+0x8d0 000374 increase 1 ,pdata 
+0x8d1 000375 store 1 ,mem_inquiry_rcv 
+0x8d2 000376 rtn 
+:      000384 master_page:
+0x8d3 000385 bpatch patch01_7 ,mem_patch01 
+0x8d4 000386 enable master 
+0x8d5 000387 enable clknt 
+0x8d6 000388 fetch 2 ,mem_page_interval 
+0x8d7 000389 branch master_page_no_interval ,blank 
+0x8d8 000390 force page_interval_timer ,queue 
+0x8d9 000391 call timer_check 
+0x8da 000392 nrtn blank 
+:      000393 master_page_no_interval:
+0x8db 000394 bpatch patch02_0 ,mem_patch02 
+0x8dc 000395 fetcht 2 ,mem_page_window 
+0x8dd 000396 force 40 ,queue 
+0x8de 000397 call sniff_check_window 
+0x8df 000398 branch page_exit ,user 
+0x8e0 000399 force page_length_timer ,queue 
+0x8e1 000400 call timer_check 
+0x8e2 000401 nbranch page_start ,blank 
+0x8e3 000402 fetch 1 ,mem_state_map 
+0x8e4 000403 bbit1 smap_name_req ,master_npage_timeout 
+0x8e5 000404 branch master_page_timeout 
+:      000405 master_npage_timeout:
+0x8e6 000406 arg mem_tmp_buffer ,contw 
+0x8e7 000407 arg 8 ,loopcnt 
+0x8e8 000408 call memset0 
+:      000409 master_page_timeout:
+0x8e9 000410 bpatch patch02_1 ,mem_patch02 
+0x8ea 000411 jam 0 ,mem_state 
+0x8eb 000412 call init_lmp_work 
+0x8ec 000413 jam 0 ,memui_reconnect_mode 
+0x8ed 000414 jam bt_evt_reconn_page_timeout ,mem_fifo_temp 
+0x8ee 000415 call ui_ipc_send_event 
+0x8ef 000416 branch page_exit 
+:      000418 page_start:
+0x8f0 000419 bpatch patch02_2 ,mem_patch02 
+0x8f1 000420 force 0 ,timeup 
+0x8f2 000421 until clkn_rt ,meet 
+0x8f3 000422 fetch 1 ,mem_page_clk 
+0x8f4 000423 increase -1 ,pdata 
+0x8f5 000424 ixor clkn_bt ,pdata 
+0x8f6 000425 compare 0 ,pdata ,3 
+0x8f7 000426 nbranch page_start ,true 
+0x8f8 000427 deposit am_addr 
+0x8f9 000428 store 1 ,mem_fhs_am_addr 
+0x8fa 000429 force 0 ,n_tx_slot 
+0x8fb 000430 force 0 ,freq_mode 
+:      000432 page_restart:
+0x8fc 000433 bpatch patch02_3 ,mem_patch02 
+0x8fd 000434 branch page_exit ,timeout 
+0x8fe 000435 call fetch_page_bt_adr 
+0x8ff 000436 fetchr timeup ,2 ,mem_param_rf_setup 
+0x900 000437 until clkn_rt ,meet 
+:      000438 page_rx_restart:
+0x901 000439 bpatch patch02_4 ,mem_patch02 
+0x902 000440 fetch 4 ,mem_page_clk 
+0x903 000441 iforce bt_clk 
+0x904 000442 increase 1 ,pdata 
+0x905 000443 store 4 ,mem_page_clk 
+0x906 000444 isolate1 mark_page_trainb ,mark 
+0x907 000445 setflag true ,2 ,freq_mode 
+0x908 000446 compare 0x00 ,bt_clk ,0x02 
+0x909 000447 nbranch page_receive ,true 
+0x90a 000448 fetch 1 ,mem_page_transmit 
+0x90b 000449 increase 1 ,pdata 
+0x90c 000450 store 1 ,mem_page_transmit 
+0x90d 000451 call tx_radio_freq 
+0x90e 000452 call start_transmitter 
+0x90f 000453 call start_tx_native 
+0x910 000454 call send_access_word 
+0x911 000455 call end_of_packet 
+0x912 000456 call page_check_train 
+0x913 000457 branch page_restart 
+:      000458 page_exit:
+0x914 000459 bpatch patch02_5 ,mem_patch02 
+0x915 000460 disable master 
+0x916 000461 fetch 2 ,mem_page_interval 
+0x917 000462 rtn blank 
+0x918 000463 force page_interval_timer ,queue 
+0x919 000464 branch timer_init 
+:      000466 page_check_train:
+0x91a 000467 bpatch patch02_6 ,mem_patch02 
+0x91b 000468 fetch 1 ,mem_nfreq_index_page 
+0x91c 000469 increase -1 ,pdata 
+0x91d 000470 store 1 ,mem_nfreq_index_page 
+0x91e 000471 rtn positive 
+0x91f 000472 jam 31 ,mem_nfreq_index_page 
+0x920 000473 fetch 1 ,mem_npage_index 
+0x921 000474 increase -1 ,pdata 
+0x922 000475 store 1 ,mem_npage_index 
+0x923 000476 rtn positive 
+0x924 000477 setflip mark_page_trainb ,mark 
+0x925 000478 fetch 1 ,mem_npage 
+0x926 000479 store 1 ,mem_npage_index 
+0x927 000480 rtn 
+:      000482 page_receive:
+0x928 000483 bpatch patch02_7 ,mem_patch02 
+0x929 000484 call rx_radio_freq 
+0x92a 000485 call start_rx_native 
+0x92b 000486 call start_receiver 
+0x92c 000487 call wait_access_clkn_rt 
+0x92d 000488 branch page_sync ,sync 
+0x92e 000489 call page_check_train 
+0x92f 000490 branch page_rx_restart 
+:      000491 page_sync:
+0x930 000492 call end_of_packet 
+0x931 000493 fetch 1 ,mem_page_rcv 
+0x932 000494 increase 1 ,pdata 
+0x933 000495 store 1 ,mem_page_rcv 
+0x934 000496 force 0 ,stop_watch 
+0x935 000497 fetch 4 ,mem_page_clk 
+:      000498 page_send_fhs:
+0x936 000499 bpatch patch03_0 ,mem_patch03 
+0x937 000500 call rf_setup_time_master_slot 
+0x938 000501 call fetch_page_bt_adr 
+0x939 000502 increase 1 ,n_tx_slot 
+:      000503 page_send_fhs_continue:
+0x93a 000504 and_into 0x1fd ,bt_clk 
+0x93b 000505 and_into 0x1fc ,freq_mode 
+0x93c 000506 call tx_radio_freq 
+0x93d 000507 call start_transmitter 
+0x93e 000508 call start_tx_native 
+0x93f 000509 call send_access_word 
+0x940 000510 deposit clkn_bt 
+0x941 000511 store 4 ,mem_clkn_bt 
+0x942 000512 force 0 ,am_addr 
+0x943 000513 force type_fhs ,type 
+0x944 000514 call scan_mode_whiten 
+0x945 000515 call transmit_packet_whitened 
+:      000516 page_wait_fhs_reply:
+0x946 000517 bpatch patch03_1 ,mem_patch03 
+0x947 000518 call rf_setup_time_slave_slot 
+0x948 000519 or_into 0x02 ,bt_clk 
+0x949 000520 and_into 0x1fc ,freq_mode 
+0x94a 000521 call rx_radio_freq 
+0x94b 000522 call start_rx_native 
+0x94c 000523 call start_receiver 
+0x94d 000524 call wait_access_clkn_rt 
+0x94e 000525 call end_of_packet ,sync 
+0x94f 000526 branch page_wait_fhs_reply_ok ,sync 
+0x950 000527 fetch 1 ,mem_fhs_wait_counter 
+0x951 000528 branch page_restart ,blank 
+0x952 000529 increase -1 ,pdata 
+0x953 000530 store 1 ,mem_fhs_wait_counter 
+0x954 000531 branch page_send_fhs 
+:      000533 page_wait_fhs_reply_ok:
+0x955 000534 bpatch patch03_2 ,mem_patch03 
+0x956 000535 fetch 1 ,mem_page_rcv_fhs 
+0x957 000536 increase 1 ,pdata 
+0x958 000537 store 1 ,mem_page_rcv_fhs 
+0x959 000538 call prepare_newconn 
+:      000539 master_newconn_loop:
+0x95a 000540 set1 mark_first_packet ,mark 
+0x95b 000541 call master_newconn_once 
+0x95c 000542 branch newconn_poll_responded ,sync 
+0x95d 000543 set0 mark_first_packet ,mark 
+0x95e 000544 call new_conn_timeout 
+0x95f 000545 nbranch master_newconn_loop ,blank 
+0x960 000546 branch page_restart 
+:      000548 newconn_poll_responded:
+0x961 000549 bpatch patch03_3 ,mem_patch03 
+0x962 000550 set0 mark_first_packet ,mark 
+0x963 000551 fetch 1 ,mem_state 
+0x964 000552 set0 state_inpage ,pdata 
+0x965 000553 store 1 ,mem_state 
+0x966 000554 call newconn_init 
+0x967 000555 disable master 
+0x968 000556 rtn 
+:      000559 master_dispatch:
+0x969 000560 bpatch patch03_4 ,mem_patch03 
+0x96a 000561 enable master 
+0x96b 000562 enable clknt 
+0x96c 000563 call role_switch_master 
+0x96d 000564 rtn user 
+0x96e 000565 call rf_setup_time_master_slot 
+0x96f 000566 add clkn_bt ,1 ,bt_clk 
+0x970 000567 call fetch_self_bt_adr 
+0x971 000568 force 0x03 ,freq_mode 
+0x972 000569 call scheduler_tx_l2cap_pkt 
+0x973 000570 call prepare_tx 
+0x974 000571 call tx_radio_freq 
+0x975 000572 call start_transmitter 
+0x976 000573 call start_tx_native 
+0x977 000574 call send_access_word 
+0x978 000575 call transmit_packet 
+:      000576 master_loop:
+0x979 000577 bpatch patch03_5 ,mem_patch03 
+0x97a 000578 call parse_lmp 
+0x97b 000579 call master_conn_recv_packet 
+0x97c 000580 nbranch master_notmatch ,match 
+0x97d 000581 call supervision_flush 
+0x97e 000582 call parse_l2cap 
+0x97f 000583 fetch 1 ,mem_master_rcvcnt 
+0x980 000584 increase 1 ,pdata 
+0x981 000585 store 1 ,mem_master_rcvcnt 
+:      000586 master_notmatch:
+0x982 000587 bpatch patch03_6 ,mem_patch03 
+0x983 000588 call scheduler_process 
+0x984 000589 call check_master_disconnect 
+0x985 000590 nrtn master 
+0x986 000591 call check_attempt 
+0x987 000592 nbranch master_attempt ,blank 
+:      000593 master_exit:
+0x988 000594 disable master 
+0x989 000595 rtn 
+:      000597 master_attempt:
+0x98a 000598 call prepare_tx 
+0x98b 000599 call master_conn_send_packet 
+0x98c 000600 branch master_loop 
+:      000603 check_master_disconnect:
+0x98d 000604 branch check_master_match ,match 
+0x98e 000605 call supervision_update 
+0x98f 000606 branch master_disconnect ,positive 
+:      000607 check_master_match:
+0x990 000608 call check_disconnect_timeout 
+0x991 000609 nbranch master_disconnect ,user 
+0x992 000610 fetch 1 ,mem_state_map 
+0x993 000611 rtnbit0 smap_name_req 
+0x994 000612 rtnbit1 smap_name_res 
+0x995 000613 fetch 1 ,mem_op 
+0x996 000614 rtnbit1 op_disconn 
+0x997 000615 call conn_timer_expired 
+0x998 000616 nrtn blank 
+0x999 000617 fetch 1 ,mem_nameres_cnt 
+0x99a 000618 increase -1 ,pdata 
+0x99b 000619 store 1 ,mem_nameres_cnt 
+0x99c 000620 nrtn blank 
+0x99d 000621 branch lmp_disconnect 
+:      000623 master_disconnect:
+0x99e 000624 bpatch patch03_7 ,mem_patch03 
+0x99f 000625 call quit_connection 
+0x9a0 000626 disable master 
+0x9a1 000627 fetch 1 ,mem_state_map 
+0x9a2 000628 bbit1 smap_name_req ,master_name_disconnect 
+0x9a3 000629 rtn 
+:      000631 master_name_disconnect:
+0x9a4 000632 fetch 1 ,mem_state_map 
+0x9a5 000633 rtnbit1 smap_name_res 
+:      000634 master_name_error:
+0x9a6 000635 arg mem_tmp_buffer ,contw 
+0x9a7 000636 arg 8 ,loopcnt 
+0x9a8 000637 branch memset0 
+:      000639 check_disconnect_timeout:
+0x9a9 000640 bpatch patch04_0 ,mem_patch04 
+0x9aa 000641 enable user 
+0x9ab 000642 fetch 1 ,mem_op 
+0x9ac 000643 rtnbit0 op_disconn 
+0x9ad 000644 call conn_timer_expired 
+0x9ae 000645 nrtn blank 
+0x9af 000646 branch disable_user 
+:      000648 conn_timer_expired:
+0x9b0 000649 fetch 1 ,mem_conn_timer 
+0x9b1 000650 increase -1 ,pdata 
+0x9b2 000651 store 1 ,mem_conn_timer 
+0x9b3 000652 rtn 
+:      000654 linkkey_ready:
+0x9b4 000655 bpatch patch04_1 ,mem_patch04 
+0x9b5 000656 fetch 1 ,mem_state 
+0x9b6 000657 bbit1 state_linkkey ,linkkey_set 
+0x9b7 000658 fetch 1 ,mem_pairing_auth 
+0x9b8 000659 branch linkkey_set ,blank 
+0x9b9 000660 jam defalt_pairing_auth ,mem_pairing_auth 
+0x9ba 000661 jam bt_evt_linkkey_generate ,mem_fifo_temp 
+0x9bb 000662 call ui_ipc_send_event 
+0x9bc 000663 branch linkkey_set 
+:      000664 linkkey_set:
+0x9bd 000665 bpatch patch04_2 ,mem_patch04 
+0x9be 000666 call context_traverse_linkkey 
+0x9bf 000667 fetch 1 ,mem_state 
+0x9c0 000668 set1 state_linkkey ,pdata 
+0x9c1 000669 store 1 ,mem_state 
+0x9c2 000670 jam 1 ,mem_link_key_exists 
+0x9c3 000671 fetch 1 ,mem_conn_sm 
+0x9c4 000672 bne conn_sm_pairing ,linkkey_set_continue 
+:      000673 linkkey_set_continue:
+0x9c5 000674 rtn 
+:      000676 generate_linkkey_continue:
+0x9c6 000677 jam pairing_auth ,mem_pairing_auth 
+:      000678 clear_linkstate:
+0x9c7 000679 fetch 1 ,mem_state 
+0x9c8 000680 set0 state_linkkey ,pdata 
+0x9c9 000681 store 1 ,mem_state 
+0x9ca 000682 rtn 
+:      000686 role_switch_check:
+0x9cb 000687 bpatch patch04_3 ,mem_patch04 
+0x9cc 000688 disable user 
+0x9cd 000689 fetch 2 ,mem_tsniff 
+0x9ce 000690 arg 0xffff ,temp 
+0x9cf 000691 isub temp ,null 
+0x9d0 000692 nrtn zero 
+0x9d1 000693 fetch 4 ,mem_sniff_anchor 
+0x9d2 000694 branch role_switch_clkn ,clknt 
+0x9d3 000695 isub clke_bt ,pdata 
+0x9d4 000696 branch role_switch_clke 
+:      000697 role_switch_clkn:
+0x9d5 000698 isub clkn_bt ,pdata 
+:      000699 role_switch_clke:
+0x9d6 000700 sub pdata ,4 ,null 
+0x9d7 000701 nrtn positive 
+0x9d8 000702 force 0 ,pdata 
+0x9d9 000703 store 2 ,mem_tsniff 
+0x9da 000704 branch enable_user 
+:      000708 role_switch_prepare:
+0x9db 000709 copy pdata ,temp 
+0x9dc 000710 storet 4 ,mem_sniff_anchor 
+:      000711 role_switch_prepare0:
+0x9dd 000712 bpatch patch04_4 ,mem_patch04 
+0x9de 000713 jam switch_flag_accept ,mem_switch_flag 
+0x9df 000714 setarg 0xffff 
+0x9e0 000715 store 2 ,mem_tsniff 
+0x9e1 000716 jam 1 ,mem_sniff_attempt 
+0x9e2 000717 rtn 
+:      000720 role_switch_master:
+0x9e3 000721 bpatch patch04_5 ,mem_patch04 
+0x9e4 000722 call role_switch_check 
+0x9e5 000723 nrtn user 
+0x9e6 000724 disable user 
+0x9e7 000725 jam param_newconnto ,mem_newconnto_counter 
+0x9e8 000726 set0 mark_fhs_already_good ,mark 
+0x9e9 000727 set0 mark_role_switch_receive_fhs ,mark 
+:      000728 roles_waitfhs_loop:
+0x9ea 000729 call rf_setup_time_master_slot 
+0x9eb 000730 call master_recv_packet 
+0x9ec 000731 bmark1 mark_fhs_already_good ,roles_replyto_fhs 
+0x9ed 000732 call new_conn_timeout 
+0x9ee 000733 nbranch roles_waitfhs_loop ,blank 
+0x9ef 000734 bmark1 mark_role_switch_receive_fhs ,roles_replyto_fhs_rcvd 
+:      000735 role_switch_fail_master:
+0x9f0 000736 bpatch patch04_6 ,mem_patch04 
+0x9f1 000737 disable user 
+0x9f2 000738 deposit clkn_bt 
+0x9f3 000739 store 4 ,mem_next_btclk 
+0x9f4 000740 enable clknt 
+0x9f5 000741 enable master 
+0x9f6 000742 jam bt_evt_switch_fail_master ,mem_fifo_temp 
+0x9f7 000743 branch ui_ipc_send_event 
+:      000745 roles_replyto_fhs:
+0x9f8 000746 bpatch patch04_7 ,mem_patch04 
+0x9f9 000747 call rf_setup_time_slave_slot 
+0x9fa 000748 arg type_id ,type 
+0x9fb 000749 call master_send_packet 
+0x9fc 000750 set1 mark_role_switch_receive_fhs ,mark 
+0x9fd 000751 set0 mark_fhs_already_good ,mark 
+0x9fe 000752 fetch 1 ,mem_amaddr 
+0x9ff 000753 iforce am_addr 
+0xa00 000754 jam 2 ,mem_newconnto_counter 
+0xa01 000755 branch roles_waitfhs_loop 
+:      000757 roles_replyto_fhs_rcvd:
+0xa02 000758 fetch 4 ,mem_clke_bt 
+0xa03 000759 pincrease 8 
+0xa04 000760 store 4 ,mem_clke_bt 
+0xa05 000761 disable clknt 
+0xa06 000762 disable master 
+0xa07 000763 call apply_switch_clke 
+0xa08 000764 call prepare_newconn 
+:      000765 roles_newconns_loop:
+0xa09 000766 bpatch patch05_0 ,mem_patch05 
+0xa0a 000767 call slave_newconn_once 
+0xa0b 000768 branch roles_newconns_responded ,match 
+0xa0c 000769 call new_conn_timeout 
+0xa0d 000770 nbranch roles_newconns_loop ,blank 
+0xa0e 000771 branch role_switch_fail_master 
+:      000772 roles_newconns_responded:
+0xa0f 000773 fetch 1 ,mem_mode 
+0xa10 000774 set0 mode_master ,pdata 
+0xa11 000775 store 1 ,mem_mode 
+0xa12 000776 call supervision_flush 
+0xa13 000777 call calc_clke_offset 
+0xa14 000778 enable user 
+0xa15 000779 jam bt_evt_switch_success_master ,mem_fifo_temp 
+0xa16 000780 branch ui_ipc_send_event 
+:      000785 context_load:
+0xa17 000786 bpatch patch05_1 ,mem_patch05 
+0xa18 000787 set1 mark_context ,mark 
+0xa19 000788 deposit rega 
+0xa1a 000789 store 2 ,mem_context_ptr 
+0xa1b 000790 force context_size ,loopcnt 
+0xa1c 000791 arg mem_le_state ,contw 
+0xa1d 000792 add rega ,coffset_mode ,contr 
+0xa1e 000793 ifetch 1 ,contr 
+0xa1f 000794 copy rega ,contr 
+0xa20 000795 bbit1 mode_le ,memcpy 
+0xa21 000796 arg mem_state ,contw 
+0xa22 000797 call memcpy 
+0xa23 000798 disable attempt 
+0xa24 000799 fetch 1 ,mem_amaddr 
+0xa25 000800 iforce am_addr 
+0xa26 000801 jam 1 ,mem_current_sniff_attempt 
+0xa27 000802 branch context_load_master ,master 
+0xa28 000803 jam 1 ,mem_current_sniff_attempt 
+:      000804 context_load_master:
+0xa29 000805 fetch 1 ,mem_state 
+0xa2a 000806 rtnbit0 state_insniff 
+0xa2b 000807 fetch 1 ,mem_sniff_attempt 
+0xa2c 000808 store 1 ,mem_current_sniff_attempt 
+0xa2d 000809 fetch 1 ,mem_sniff_timeout 
+0xa2e 000810 store 1 ,mem_current_sniff_timeout 
+0xa2f 000811 rtn 
+:      000813 context_save:
+0xa30 000814 bpatch patch05_2 ,mem_patch05 
+0xa31 000815 fetch 2 ,mem_context_ptr 
+0xa32 000816 iforce contw 
+0xa33 000817 force context_size ,loopcnt 
+0xa34 000818 arg mem_le_state ,contr 
+0xa35 000819 branch memcpy ,le 
+0xa36 000820 arg mem_state ,contr 
+0xa37 000821 branch memcpy 
+:      000825 context_get_next:
+0xa38 000826 arg context_num ,loopcnt 
+0xa39 000827 fetcht 1 ,mem_current_context 
+:      000828 context_get_next_loop:
+0xa3a 000829 increase 1 ,temp 
+0xa3b 000830 compare context_num ,temp ,0xff 
+0xa3c 000831 nbranch context_get_next_cont ,true 
+0xa3d 000832 arg 0 ,temp 
+:      000833 context_get_next_cont:
+0xa3e 000834 storet 1 ,mem_current_context 
+0xa3f 000835 mul32 temp ,context_size ,pdata 
+0xa40 000836 arg mem_context ,rega 
+0xa41 000837 iadd rega ,rega 
+0xa42 000838 ifetch 1 ,rega 
+0xa43 000839 bbit1 state_insniff ,context_get_next_sniff 
+0xa44 000840 rtnbit1 state_inconn 
+0xa45 000841 rtnbit1 state_inpage 
+:      000842 context_get_next_sniff:
+0xa46 000843 loop context_get_next_loop 
+0xa47 000844 rtn 
+:      000846 context_new:
+0xa48 000847 bpatch patch05_3 ,mem_patch05 
+0xa49 000848 arg context_search_empty ,regc 
+0xa4a 000849 call context_search 
+0xa4b 000850 nrtn zero 
+0xa4c 000851 deposit rega 
+0xa4d 000852 store 2 ,mem_context_ptr 
+0xa4e 000853 force 0 ,null 
+0xa4f 000854 rtn 
+:      000858 context_check_all_wack:
+0xa50 000859 call check_esco_amaddr 
+0xa51 000860 branch context_check_esco_wack ,true 
+0xa52 000861 fetch 2 ,mem_context_ptr 
+0xa53 000862 add pdata ,coffset_arq ,contw 
+0xa54 000863 fetch 1 ,mem_arq 
+0xa55 000864 istore 1 ,contw 
+0xa56 000865 arg context_check_a_wack ,regc 
+0xa57 000866 branch context_search 
+:      000868 context_check_esco_wack:
+0xa58 000869 fetch 1 ,mem_arq 
+0xa59 000870 isolate1 wack ,pdata 
+0xa5a 000871 branch context_esco_wack ,true 
+0xa5b 000872 force 1 ,null 
+0xa5c 000873 rtn 
+:      000874 context_esco_wack:
+0xa5d 000875 force 0 ,null 
+0xa5e 000876 rtn 
+:      000879 context_check_idle:
+0xa5f 000880 arg context_check_inconn ,regc 
+0xa60 000881 branch context_search 
+:      000883 context_traverse_linkkey:
+0xa61 000884 fetcht 2 ,mem_context_ptr 
+0xa62 000885 arg context_traverse_clearkey ,regc 
+0xa63 000886 branch context_search 
+:      000890 context_search_conn_handle:
+0xa64 000891 fetcht 1 ,mem_hci_conn_handle 
+:      000892 context_search_conn_handle2:
+0xa65 000893 arg context_search_handle ,regc 
+0xa66 000894 branch context_search 
+:      000896 context_search_plap:
+0xa67 000897 bpatch patch05_4 ,mem_patch05 
+0xa68 000898 fetcht 6 ,mem_hci_plap 
+:      000899 context_search_plap2:
+0xa69 000900 arg context_search_lap ,regc 
+0xa6a 000901 branch context_search 
+:      000903 context_search_insniff:
+0xa6b 000904 arg context_search_sniff ,regc 
+0xa6c 000905 branch context_search 
+:      000907 context_search_sniff_window:
+0xa6d 000908 arg context_search_window ,regc 
+:      000909 context_search:
+0xa6e 000910 bpatch patch05_5 ,mem_patch05 
+0xa6f 000911 arg mem_context ,rega 
+0xa70 000912 arg context_num ,loopcnt 
+:      000913 context_search_loop:
+0xa71 000914 ifetch 1 ,rega 
+0xa72 000915 copy regc ,pc 
+:      000916 context_search_next:
+0xa73 000917 increase context_size ,rega 
+0xa74 000918 loop context_search_loop 
+0xa75 000919 force 1 ,null 
+0xa76 000920 rtn 
+:      000922 context_search_empty:
+0xa77 000923 bbit1 state_inconn ,context_search_next 
+0xa78 000924 bbit1 state_inpage ,context_search_next 
+0xa79 000925 force 0 ,null 
+0xa7a 000926 rtn 
+:      000928 context_search_lap:
+0xa7b 000929 bbit1 state_inpage ,context_search_lap_cont 
+0xa7c 000930 bbit0 state_inconn ,context_search_next 
+:      000931 context_search_lap_cont:
+0xa7d 000932 add rega ,coffset_plap ,contr 
+0xa7e 000933 ifetch 6 ,contr 
+0xa7f 000934 isub temp ,null 
+0xa80 000935 rtn zero 
+0xa81 000936 branch context_search_next 
+:      000938 context_search_handle:
+0xa82 000939 bbit0 state_inconn ,context_search_next 
+0xa83 000940 add rega ,coffset_conn_handle ,contr 
+0xa84 000941 ifetch 1 ,contr 
+0xa85 000942 isub temp ,null 
+0xa86 000943 rtn zero 
+0xa87 000944 branch context_search_next 
+:      000946 context_search_sniff:
+0xa88 000947 bbit0 state_insniff ,context_search_next 
+:      000948 context_search_sniff_loop:
+0xa89 000949 call context_get_anchor 
+0xa8a 000950 call sign_pdata_temp 
+0xa8b 000951 isub temp ,pdata 
+0xa8c 000952 increase 1 ,pdata 
+0xa8d 000953 branch context_search_sniff_miss ,positive 
+0xa8e 000954 copy contr ,regb 
+0xa8f 000955 store 9 ,mem_temp 
+0xa90 000956 fetch 1 ,mem_sc_calc 
+0xa91 000957 nbranch context_search_sniff_sc ,blank 
+0xa92 000958 fetch 9 ,mem_temp 
+0xa93 000959 copy regb ,contr 
+0xa94 000960 increase 5 ,pdata 
+0xa95 000961 branch context_search_meet1 
+:      000962 context_search_sniff_sc:
+0xa96 000963 fetch 9 ,mem_temp 
+0xa97 000964 copy regb ,contr 
+0xa98 000965 increase 20 ,pdata 
+:      000966 context_search_meet1:
+0xa99 000967 nbranch context_search_next ,positive 
+:      000968 context_search_meet:
+0xa9a 000969 copy temp ,bt_clk 
+0xa9b 000970 call context_next_anchor 
+0xa9c 000971 force 0 ,null 
+0xa9d 000972 rtn 
+:      000975 context_search_sniff_miss:
+0xa9e 000976 iforce regb 
+0xa9f 000977 add rega ,coffset_tsniff ,contr 
+0xaa0 000978 ifetch 2 ,contr 
+0xaa1 000979 branch context_search_meet ,blank 
+0xaa2 000980 call context_next_anchor 
+0xaa3 000981 branch context_search_sniff_loop 
+:      000983 sign_pdata_temp:
+0xaa4 000984 rshift16 pdata ,timeup 
+0xaa5 000985 rshift8 timeup ,timeup 
+0xaa6 000986 branch sign_pdata_temp_p0 ,zero 
+0xaa7 000987 compare 0xf ,timeup ,0xf 
+0xaa8 000988 nrtn true 
+0xaa9 000989 rshift16 temp ,timeup 
+0xaaa 000990 rshift8 timeup ,timeup 
+0xaab 000991 nrtn zero 
+0xaac 000992 set1 28 ,temp 
+0xaad 000993 rtn 
+:      000994 sign_pdata_temp_p0:
+0xaae 000995 rshift16 temp ,timeup 
+0xaaf 000996 rshift8 timeup ,timeup 
+0xab0 000997 compare 0xf ,timeup ,0xf 
+0xab1 000998 nrtn true 
+0xab2 000999 set1 28 ,pdata 
+0xab3 001000 rtn 
+:      001002 context_check_inconn:
+0xab4 001003 bbit0 state_inconn ,context_search_next 
+0xab5 001004 force 0 ,null 
+0xab6 001005 rtn 
+:      001007 context_check_a_wack:
+0xab7 001008 bbit0 state_inconn ,context_search_next 
+0xab8 001009 add rega ,coffset_mode ,contr 
+0xab9 001010 ifetch 1 ,contr 
+0xaba 001011 bbit1 mode_le ,context_search_next 
+0xabb 001012 add rega ,coffset_arq ,contr 
+0xabc 001013 ifetch 1 ,contr 
+0xabd 001014 bbit0 wack ,context_search_next 
+0xabe 001015 force 0 ,null 
+0xabf 001016 rtn 
+:      001018 context_get_anchor:
+0xac0 001019 add rega ,coffset_mode ,contr 
+0xac1 001020 ifetcht 1 ,contr 
+0xac2 001021 deposit clkn_bt 
+0xac3 001022 isolate1 mode_master ,temp 
+0xac4 001023 add rega ,coffset_sniff_anchor ,contr 
+0xac5 001024 ifetcht 4 ,contr 
+0xac6 001025 rtn true 
+0xac7 001026 add rega ,coffset_clk_offset ,contr 
+0xac8 001027 ifetch 6 ,contr 
+0xac9 001028 call calc_clke2 
+0xaca 001029 deposit clke_bt 
+0xacb 001030 rtn 
+:      001032 context_next_anchor:
+0xacc 001033 add rega ,coffset_tsniff ,contr 
+0xacd 001034 add rega ,coffset_sniff_anchor ,contw 
+0xace 001035 ifetch 2 ,contr 
+0xacf 001036 iadd temp ,timeup 
+0xad0 001037 deposit timeup 
+0xad1 001038 istore 4 ,contw 
+0xad2 001039 branch le_context_nextevent 
+:      001042 context_search_window:
+0xad3 001043 bbit0 state_insniff ,context_search_next 
+0xad4 001044 call context_get_anchor 
+0xad5 001045 iadd stop_watch ,pdata 
+0xad6 001046 iadd stop_watch ,pdata 
+0xad7 001047 iadd queue ,pdata 
+0xad8 001048 isub temp ,null 
+0xad9 001049 nbranch context_search_next ,positive 
+0xada 001050 force 0 ,null 
+0xadb 001051 rtn 
+:      001053 context_traverse_clearkey:
+0xadc 001054 bbit0 state_inconn ,context_search_next 
+0xadd 001055 deposit temp 
+0xade 001056 isub rega ,null 
+0xadf 001057 branch context_search_next ,null 
+0xae0 001058 add rega ,coffset_mode ,contr 
+0xae1 001059 ifetch 1 ,contr 
+0xae2 001060 bbit1 mode_le ,context_search_next 
+0xae3 001061 ifetch 1 ,rega 
+0xae4 001062 set0 state_linkkey ,pdata 
+0xae5 001063 istore 1 ,rega 
+0xae6 001064 branch context_search_next 
+:      001067 master_conn_send_packet:
+0xae7 001068 bpatch patch05_6 ,mem_patch05 
+0xae8 001069 call rf_setup_time_master_slot 
+:      001070 master_send_packet:
+0xae9 001071 add clkn_bt ,1 ,bt_clk 
+0xaea 001072 call fetch_self_bt_adr 
+0xaeb 001073 force 0x03 ,freq_mode 
+0xaec 001074 call tx_radio_freq 
+0xaed 001075 call start_transmitter 
+0xaee 001076 call start_tx_native 
+0xaef 001077 call send_access_word 
+0xaf0 001078 branch transmit_packet 
+:      001080 master_conn_recv_packet:
+0xaf1 001081 bpatch patch05_7 ,mem_patch05 
+0xaf2 001082 call rf_setup_time_slave_slot 
+:      001083 master_recv_packet:
+0xaf3 001084 add clkn_bt ,1 ,bt_clk 
+0xaf4 001085 call fetch_self_bt_adr 
+0xaf5 001086 force 0x03 ,freq_mode 
+0xaf6 001087 call rx_radio_freq 
+0xaf7 001088 call init_rx_packet_flags 
+0xaf8 001089 call prep_crypt 
+0xaf9 001090 call start_rx_native 
+0xafa 001091 call start_receiver 
+:      001092 master_rx_conn_finish_packet:
+0xafb 001093 call wait_access_clkn_rt 
+0xafc 001094 nrtn sync 
+0xafd 001095 call save_rssi 
+0xafe 001096 branch receive_packet 
+:      001100 master_newconn_once:
+0xaff 001101 bpatch patch06_0 ,mem_patch06 
+0xb00 001102 fetch 1 ,mem_fhs_am_addr 
+0xb01 001103 iforce am_addr 
+0xb02 001104 force type_poll ,type 
+0xb03 001105 call master_conn_send_packet 
+0xb04 001106 branch master_conn_recv_packet 
+:      001117 inquiry_scan_dispatch:
+0xb05 001118 fetch 1 ,mem_scan_mode 
+0xb06 001119 rtnbit0 inq_scan_mode 
+0xb07 001120 force iscan_interval_timer ,queue 
+0xb08 001121 call timer_check 
+0xb09 001122 nrtn blank 
+0xb0a 001123 fetcht 2 ,mem_iscan_window 
+0xb0b 001124 force 4 ,queue 
+0xb0c 001125 call sniff_check_window 
+0xb0d 001126 rtn user 
+0xb0e 001127 call inquiry_scan_start 
+0xb0f 001128 force iscan_interval_timer ,queue 
+0xb10 001129 fetch 2 ,mem_iscan_interval 
+0xb11 001130 nbranch timer_init ,sync 
+0xb12 001131 random pdata 
+0xb13 001132 iand mask3ff ,pdata 
+0xb14 001133 branch timer_init 
+:      001136 inquiry_scan_start:
+0xb15 001137 bpatch patch06_1 ,mem_patch06 
+0xb16 001138 jam 0 ,mem_fhs_am_addr 
+0xb17 001139 disable clknt 
+0xb18 001140 disable attempt 
+0xb19 001141 call afh_clear 
+0xb1a 001142 and clkn_bt ,0x1fc ,bt_clk 
+0xb1b 001143 force 0x01 ,freq_mode 
+0xb1c 001144 call fetch_giac 
+0xb1d 001145 call rx_radio_freq 
+0xb1e 001146 setflip mark_inquiry_state ,mark 
+0xb1f 001147 fetch 1 ,mem_inquiryscan_waitcnt 
+0xb20 001148 increase 1 ,pdata 
+0xb21 001149 store 1 ,mem_inquiryscan_waitcnt 
+0xb22 001150 call fetch_diac 
+0xb23 001151 call start_receiver 
+0xb24 001152 call wait_access_forever 
+0xb25 001153 nrtn sync 
+0xb26 001154 bpatch patch06_2 ,mem_patch06 
+0xb27 001155 force 0 ,stop_watch 
+0xb28 001156 call shutdown_radio 
+0xb29 001157 fetch 1 ,mem_inquiryscan_rcvcnt 
+0xb2a 001158 increase 1 ,pdata 
+0xb2b 001159 store 1 ,mem_inquiryscan_rcvcnt 
+0xb2c 001160 call fetch_giac 
+0xb2d 001161 call rf_setup_time_slave_slot 
+0xb2e 001162 or_into 0x002 ,bt_clk 
+0xb2f 001163 force 0x01 ,freq_mode 
+0xb30 001164 call tx_radio_freq 
+0xb31 001165 call fetch_diac 
+0xb32 001166 call start_transmitter 
+0xb33 001167 call start_tx_external 
+0xb34 001168 deposit clkn_bt 
+0xb35 001169 store 4 ,mem_clkn_bt 
+0xb36 001170 call send_access_word 
+0xb37 001171 force type_fhs ,type 
+0xb38 001172 force 0 ,am_addr 
+0xb39 001173 call scan_mode_whiten 
+0xb3a 001174 call transmit_packet_whitened 
+0xb3b 001175 call send_eir 
+0xb3c 001176 and_into 0x1fd ,bt_clk 
+0xb3d 001177 increase 1 ,n_tx_slot 
+0xb3e 001178 rtn 
+:      001180 send_eir:
+0xb3f 001181 bpatch patch06_3 ,mem_patch06 
+0xb40 001182 fetch 1 ,mem_eir_enable 
+0xb41 001183 rtn blank 
+0xb42 001184 arg mem_eir ,contw 
+0xb43 001185 fetch 1 ,mem_local_name_length 
+0xb44 001186 copy pdata ,loopcnt 
+0xb45 001187 increase 1 ,pdata 
+0xb46 001188 istore 1 ,contw 
+0xb47 001189 copy contw ,temp 
+0xb48 001190 increase 1 ,pdata 
+0xb49 001191 store 2 ,mem_tx_len 
+0xb4a 001192 copy temp ,contw 
+0xb4b 001193 setarg 0x09 
+0xb4c 001194 istore 1 ,contw 
+0xb4d 001195 arg mem_local_name ,contr 
+0xb4e 001196 call memcpy 
+0xb4f 001198 arg mem_all_uuid_128bits ,regc 
+0xb50 001199 arg 4 ,loopcnt 
+0xb51 001200 call get_all_uuid 
+0xb52 001201 arg mem_all_uuid_16bits ,regc 
+0xb53 001202 arg 1 ,loopcnt 
+0xb54 001203 call get_all_uuid 
+0xb55 001205 force type_dm3 ,type 
+0xb56 001206 jam 2 ,mem_tx_lch 
+0xb57 001207 setarg mem_eir 
+0xb58 001208 store 2 ,mem_txptr 
+0xb59 001209 call rf_setup_time_slave_slot 
+0xb5a 001210 call tx_radio_freq 
+0xb5b 001211 call start_transmitter 
+0xb5c 001212 call start_tx_external 
+0xb5d 001213 call send_access_word 
+0xb5e 001214 call scan_mode_whiten 
+0xb5f 001215 call transmit_packet_whitened 
+0xb60 001216 rtn 
+:      001219 get_all_uuid:
+0xb61 001220 copy contw ,temp 
+0xb62 001221 copy regc ,contr 
+0xb63 001222 ifetch 1 ,contr 
+0xb64 001223 rtn blank 
+:      001224 lshift_loop:
+0xb65 001225 lshift pdata ,pdata 
+0xb66 001226 loop lshift_loop 
+0xb67 001227 copy pdata ,rega 
+0xb68 001228 increase 2 ,pdata 
+0xb69 001229 copy pdata ,queue 
+0xb6a 001230 fetch 2 ,mem_tx_len 
+0xb6b 001231 iadd queue ,pdata 
+0xb6c 001232 store 2 ,mem_tx_len 
+0xb6d 001233 copy temp ,contw 
+0xb6e 001234 copy rega ,pdata 
+0xb6f 001235 increase 1 ,pdata 
+0xb70 001236 istore 1 ,contw 
+0xb71 001237 copy regc ,contr 
+0xb72 001238 ifetch 1 ,contr 
+0xb73 001239 ifetch 1 ,contr 
+0xb74 001240 istore 1 ,contw 
+0xb75 001241 copy rega ,loopcnt 
+0xb76 001242 branch memcpy 
+:      001248 page_scan_dispatch:
+0xb77 001249 fetch 1 ,mem_scan_mode 
+0xb78 001250 rtnbit0 page_scan_mode 
+0xb79 001251 force pscan_interval_timer ,queue 
+0xb7a 001252 call timer_check 
+0xb7b 001253 nrtn blank 
+0xb7c 001254 fetcht 2 ,mem_pscan_window 
+0xb7d 001255 force 40 ,queue 
+0xb7e 001256 call sniff_check_window 
+0xb7f 001257 rtn user 
+0xb80 001258 force 0 ,am_addr 
+0xb81 001259 jam param_pagerespto ,mem_fhs_wait_counter 
+0xb82 001260 set0 mark_fhs_already_good ,mark 
+0xb83 001261 call page_scan_start 
+0xb84 001262 force pscan_interval_timer ,queue 
+0xb85 001263 fetch 2 ,mem_pscan_interval 
+0xb86 001264 branch timer_init 
+:      001267 page_scan_start:
+0xb87 001268 bpatch patch06_4 ,mem_patch06 
+0xb88 001269 disable clknt 
+0xb89 001270 call afh_clear 
+0xb8a 001271 fetch 1 ,mem_pagescan_waitcnt 
+0xb8b 001272 increase 1 ,pdata 
+0xb8c 001273 store 1 ,mem_pagescan_waitcnt 
+0xb8d 001274 force 0 ,n_tx_slot 
+0xb8e 001275 call fetch_self_bt_adr 
+0xb8f 001276 add clkn_bt ,1 ,bt_clk 
+0xb90 001277 force 0x02 ,freq_mode 
+0xb91 001278 bpatch patch06_5 ,mem_patch06 
+0xb92 001279 call rx_radio_freq 
+0xb93 001280 call start_receiver 
+0xb94 001281 call wait_access_forever 
+0xb95 001282 nrtn sync 
+0xb96 001283 call shutdown_radio 
+0xb97 001284 fetch 1 ,mem_pagescan_rcvcnt 
+0xb98 001285 increase 1 ,pdata 
+0xb99 001286 store 1 ,mem_pagescan_rcvcnt 
+0xb9a 001287 force 0 ,stop_watch 
+0xb9b 001288 call rf_setup_time_slave_slot 
+0xb9c 001289 or_into 0x002 ,bt_clk 
+0xb9d 001290 force 0x01 ,freq_mode 
+0xb9e 001291 call tx_radio_freq 
+0xb9f 001292 call start_transmitter 
+0xba0 001293 call start_tx_external 
+0xba1 001294 call send_access_word 
+0xba2 001295 call end_of_packet 
+0xba3 001296 force 0 ,am_addr 
+0xba4 001297 fetchr timeup ,2 ,mem_param_rf_setup 
+0xba5 001298 until clke_rt ,meet 
+0xba6 001299 or_into 0x03 ,clke_bt 
+0xba7 001300 and_into 0x1fd ,bt_clk 
+:      001301 page_scan_wait_fhs_restart:
+0xba8 001302 bpatch patch06_6 ,mem_patch06 
+0xba9 001303 increase 1 ,n_tx_slot 
+0xbaa 001304 call rx_radio_freq 
+0xbab 001305 call start_receiver 
+0xbac 001306 call wait_access_mhalfbnd 
+0xbad 001307 nbranch page_scan_wait_fhs_again ,sync 
+0xbae 001308 call scan_mode_whiten 
+0xbaf 001309 call receive_packet_whitened 
+0xbb0 001310 bmark1 mark_fhs_already_good ,page_scan_reply_to_fhs 
+:      001311 page_scan_wait_fhs_again:
+0xbb1 001312 bpatch patch06_7 ,mem_patch06 
+0xbb2 001313 fetch 1 ,mem_fhs_wait_counter 
+0xbb3 001314 rtn blank 
+0xbb4 001315 increase -1 ,pdata 
+0xbb5 001316 store 1 ,mem_fhs_wait_counter 
+0xbb6 001317 call rf_setup_time_master_slot 
+0xbb7 001318 branch page_scan_wait_fhs_restart 
+:      001321 page_scan_reply_to_fhs:
+0xbb8 001322 bpatch patch07_0 ,mem_patch07 
+0xbb9 001323 set0 1 ,clke_bt 
+0xbba 001324 set1 0 ,clke_bt 
+0xbbb 001325 fetch 1 ,mem_pagescan_rcvfhscnt 
+0xbbc 001326 increase 1 ,pdata 
+0xbbd 001327 store 1 ,mem_pagescan_rcvfhscnt 
+0xbbe 001328 call rf_setup_time_slave_slot 
+0xbbf 001329 or_into 0x02 ,bt_clk 
+0xbc0 001330 call tx_radio_freq 
+0xbc1 001331 call start_transmitter 
+0xbc2 001332 call start_tx_external 
+0xbc3 001333 call send_access_word 
+0xbc4 001334 call end_of_packet 
+:      001335 slave_apply_clke_bt:
+0xbc5 001336 compare 0x03 ,clke_bt ,0x03 
+0xbc6 001337 branch slave_apply_clke_bt_now ,true 
+0xbc7 001338 until null ,mhalfbnd 
+0xbc8 001339 branch slave_apply_clke_bt 
+:      001340 slave_apply_clke_bt_now:
+0xbc9 001341 fetch 4 ,mem_clke_bt 
+0xbca 001342 or_into 0x03 ,pdata 
+0xbcb 001343 icopy clke_bt 
+:      001345 start_slave_connection:
+0xbcc 001346 bpatch patch07_1 ,mem_patch07 
+0xbcd 001347 fetch 6 ,extm_lap 
+0xbce 001348 store 6 ,mem_plap 
+0xbcf 001349 call prepare_newconn 
+:      001350 slave_newconn_loop:
+0xbd0 001351 call slave_newconn_once 
+0xbd1 001352 branch sconn_successful ,match 
+0xbd2 001353 call new_conn_timeout 
+0xbd3 001354 nbranch slave_newconn_loop ,blank 
+0xbd4 001355 rtn 
+:      001358 sconn_successful:
+0xbd5 001359 bpatch patch07_2 ,mem_patch07 
+0xbd6 001360 call newconn_init 
+0xbd7 001361 call context_new 
+0xbd8 001362 nrtn zero 
+0xbd9 001363 jam 0 ,mem_mode 
+0xbda 001364 call calc_clke_offset 
+0xbdb 001365 branch context_save 
+:      001370 slave_dispatch:
+0xbdc 001371 bpatch patch07_3 ,mem_patch07 
+0xbdd 001372 call calc_clke 
+0xbde 001373 call role_switch_slave 
+0xbdf 001374 rtn user 
+:      001375 slave_loop:
+0xbe0 001376 bpatch patch07_4 ,mem_patch07 
+0xbe1 001377 call scheduler_process 
+0xbe2 001378 call slave_conn_recv_packet 
+0xbe3 001379 nbranch slave_notmatch ,match 
+0xbe4 001380 fetch 2 ,mem_cb_bt_slave_match 
+0xbe5 001381 call callback_func 
+0xbe6 001382 call supervision_flush 
+0xbe7 001383 call scheduler_tx_l2cap_pkt 
+0xbe8 001384 call prepare_tx 
+0xbe9 001385 call slave_conn_send_packet 
+0xbea 001386 call parse_l2cap 
+0xbeb 001387 call parse_lmp 
+0xbec 001388 fetch 1 ,mem_slave_rcvcnt 
+0xbed 001389 increase 1 ,pdata 
+0xbee 001390 store 1 ,mem_slave_rcvcnt 
+0xbef 001391 call calc_clke_offset 
+:      001392 slave_notmatch:
+0xbf0 001393 bpatch patch07_5 ,mem_patch07 
+0xbf1 001394 call lpm_set_mult 
+0xbf2 001395 call supervision_update 
+0xbf3 001396 branch slave_disconnect ,positive 
+0xbf4 001397 call check_disconnect_timeout 
+0xbf5 001398 nbranch slave_disconnect ,user 
+0xbf6 001399 call check_attempt 
+0xbf7 001400 nbranch slave_loop ,blank 
+0xbf8 001401 rtn 
+:      001403 slave_disconnect:
+0xbf9 001404 bpatch patch07_6 ,mem_patch07 
+0xbfa 001405 jam 0 ,mem_tester_emulate 
+0xbfb 001406 jam 0 ,mem_debug_config 
+0xbfc 001407 call quit_connection 
+0xbfd 001408 set0 mark_testmode ,mark 
+0xbfe 001409 call test_enable_white 
+0xbff 001410 fetch 1 ,mem_state 
+0xc00 001411 rtn 
+:      001414 role_switch_slave:
+0xc01 001415 call role_switch_check 
+0xc02 001416 nrtn user 
+0xc03 001417 copy am_addr ,temp 
+0xc04 001418 call get_free_amaddr 
+0xc05 001419 store 1 ,mem_fhs_am_addr 
+0xc06 001420 copy temp ,am_addr 
+0xc07 001421 jam param_newconnto ,mem_newconnto_counter 
+:      001422 roles_sendfhs_loop:
+0xc08 001423 bpatch patch07_7 ,mem_patch07 
+0xc09 001424 call rf_setup_time_master_slot 
+0xc0a 001425 force type_fhs ,type 
+0xc0b 001426 call slave_send_access 
+0xc0c 001427 deposit clkn_bt 
+0xc0d 001428 store 4 ,mem_clkn_bt 
+0xc0e 001429 call transmit_packet 
+0xc0f 001430 call rf_setup_time_slave_slot 
+0xc10 001431 enable user3 
+0xc11 001432 call slave_receive_access 
+0xc12 001433 branch roles_got_fhs_reply ,sync 
+0xc13 001434 call shutdown_radio 
+0xc14 001435 call new_conn_timeout 
+0xc15 001436 nbranch roles_sendfhs_loop ,blank 
+0xc16 001437 rtnmark0 mark_accept_switch 
+0xc17 001438 jam lmp_slot_offset ,mem_lmo_opcode2 
+0xc18 001439 set1 mark_switch_initiated ,mark 
+0xc19 001440 rtn 
+:      001441 roles_got_fhs_reply:
+0xc1a 001442 enable clknt 
+0xc1b 001443 call prepare_newconn 
+0xc1c 001444 call afh_clear 
+:      001445 roles_newconn_loop:
+0xc1d 001446 bpatch patch08_0 ,mem_patch08 
+0xc1e 001447 call master_newconn_once 
+0xc1f 001448 branch roles_newconn_responded ,sync 
+0xc20 001449 call new_conn_timeout 
+0xc21 001450 nbranch roles_newconn_loop ,blank 
+0xc22 001451 disable clknt 
+0xc23 001452 deposit clke_bt 
+0xc24 001453 store 4 ,mem_next_btclk 
+0xc25 001454 rtn 
+:      001455 roles_newconn_responded:
+0xc26 001456 enable master 
+0xc27 001457 bmark0 mark_accept_switch ,roles_newconn_nolmp 
+0xc28 001458 set0 mark_accept_switch ,mark 
+0xc29 001459 jam lmp_accepted ,mem_lmo_opcode2 
+0xc2a 001460 jam lmp_host_connection_req ,mem_lmi_opcode2 
+0xc2b 001461 call tid_set_reply 
+:      001462 roles_newconn_nolmp:
+0xc2c 001463 deposit am_addr 
+0xc2d 001464 store 1 ,mem_amaddr 
+0xc2e 001465 force 0 ,pdata 
+0xc2f 001466 store 6 ,mem_clk_offset 
+0xc30 001467 fetch 1 ,mem_mode 
+0xc31 001468 set1 mode_master ,pdata 
+0xc32 001469 store 1 ,mem_mode 
+0xc33 001470 call supervision_flush 
+0xc34 001471 disable master 
+0xc35 001472 enable user 
+0xc36 001473 rtn 
+:      001477 init_rx_packet_flags:
+0xc37 001478 bpatch patch08_1 ,mem_patch08 
+0xc38 001479 disable match 
+0xc39 001480 set0 mark_loopback ,mark 
+0xc3a 001481 set0 mark_am_addr_broadcast ,mark 
+0xc3b 001482 set0 mark_longpacket ,mark 
+0xc3c 001483 set0 mark_old_packet ,mark 
+0xc3d 001484 fetch 1 ,mem_arq 
+0xc3e 001485 set0 arqnx ,pdata 
+0xc3f 001486 set1 flowx ,pdata 
+0xc40 001487 store 1 ,mem_arq 
+0xc41 001488 rtn 
+:      001490 prepare_newconn:
+0xc42 001491 bpatch patch08_2 ,mem_patch08 
+0xc43 001492 jam param_newconnto ,mem_newconnto_counter 
+0xc44 001493 jam param_newconn_arq ,mem_arq 
+0xc45 001494 fetch 2 ,mem_rx_window_init 
+0xc46 001495 store 2 ,mem_rx_window 
+0xc47 001496 deposit clkn_bt 
+0xc48 001497 store 4 ,mem_next_btclk 
+0xc49 001498 rtn clknt 
+0xc4a 001499 deposit clke_bt 
+0xc4b 001500 store 4 ,mem_next_btclk 
+0xc4c 001501 rtn 
+:      001503 newconn_init:
+0xc4d 001504 bpatch patch08_3 ,mem_patch08 
+0xc4e 001505 call init_lmp_reinit 
+0xc4f 001506 call new_conn_handle 
+0xc50 001507 store 1 ,mem_conn_handle 
+0xc51 001508 setarg 0 
+0xc52 001509 store 2 ,mem_l2cap_rxbuff1_len 
+0xc53 001510 setarg param_supervision_to 
+0xc54 001511 store 2 ,mem_supervision_to 
+0xc55 001512 fetch 1 ,mem_state 
+0xc56 001513 set1 state_inconn ,pdata 
+0xc57 001514 store 1 ,mem_state 
+0xc58 001515 jam 0 ,mem_op 
+0xc59 001516 jam 0 ,mem_state_map 
+0xc5a 001517 jam 0 ,mem_lpm_current_mult 
+0xc5b 001518 branch supervision_flush 
+:      001521 clear_linkkey:
+0xc5c 001522 bpatch patch08_4 ,mem_patch08 
+0xc5d 001523 force 0 ,pdata 
+0xc5e 001524 store 8 ,mem_link_key 
+0xc5f 001525 istore 8 ,contw 
+0xc60 001526 call clear_linkstate 
+0xc61 001527 branch context_traverse_linkkey 
+:      001529 new_conn_timeout:
+0xc62 001530 fetch 1 ,mem_newconnto_counter 
+0xc63 001531 increase -1 ,pdata 
+0xc64 001532 store 1 ,mem_newconnto_counter 
+0xc65 001533 rtn 
+:      001535 new_conn_handle:
+0xc66 001536 fetch 1 ,mem_handle_num 
+0xc67 001537 increase 1 ,pdata 
+0xc68 001538 store 1 ,mem_handle_num 
+0xc69 001539 rtn 
+:      001542 quit_connection:
+0xc6a 001543 bpatch patch08_5 ,mem_patch08 
+0xc6b 001544 fetch 1 ,mem_hci_cmd 
+0xc6c 001545 beq hci_cmd_remote_name_req ,quit_connection_name 
+0xc6d 001546 fetch 1 ,mem_lmp_to_send 
+0xc6e 001547 bne lmp_name_req ,quit_connection_cont 
+:      001548 quit_connection_name:
+0xc6f 001549 call cmd_check_plap 
+0xc70 001550 nbranch quit_connection_cont ,zero 
+0xc71 001551 call master_name_error 
+0xc72 001552 jam 0 ,mem_hci_cmd 
+:      001553 quit_connection_cont:
+0xc73 001554 bpatch patch08_6 ,mem_patch08 
+0xc74 001555 call app_disconn_reason_collect_bt 
+0xc75 001556 call sniff_exit 
+0xc76 001557 jam bt_evt_bb_disconnected ,mem_fifo_temp 
+0xc77 001558 call ui_ipc_send_event 
+0xc78 001559 call init_lmp_work 
+0xc79 001560 call l2cap_init_work 
+0xc7a 001561 call sp_clear_flags 
+0xc7b 001562 fetch 1 ,mem_state 
+0xc7c 001563 set0 state_inconn ,pdata 
+0xc7d 001564 store 1 ,mem_state 
+0xc7e 001565 jam 0 ,memui_reconnect_mode 
+0xc7f 001567 fetch 1 ,mem_state_map 
+0xc80 001568 compare 0x0 ,pdata ,0xc0 
+0xc81 001569 branch quit_connection_not_clear_mark ,true 
+0xc82 001570 set0 mark_rxbuf_inuse ,mark 
+:      001571 quit_connection_not_clear_mark:
+0xc83 001572 fetch 1 ,mem_arq 
+0xc84 001573 bbit0 wack ,quit_connection_not_clear_tx 
+:      001574 quit_connection_not_clear_tx:
+0xc85 001575 fetch 1 ,mem_op 
+0xc86 001576 rtnbit0 op_txl2cap 
+0xc87 001577 set0 mark_tx_l2cap ,mark 
+0xc88 001578 rtn 
+:      001580 slave_newconn_once:
+0xc89 001581 bpatch patch08_7 ,mem_patch08 
+0xc8a 001582 fetch 1 ,extm_newconn_am_addr 
+0xc8b 001583 rtn blank 
+0xc8c 001584 icopy am_addr 
+0xc8d 001585 call slave_conn_recv_packet 
+0xc8e 001586 nrtn match 
+0xc8f 001587 force type_null ,type 
+0xc90 001588 call slave_conn_send_packet 
+0xc91 001589 deposit am_addr 
+0xc92 001590 store 1 ,mem_amaddr 
+0xc93 001591 force 0 ,pdata 
+0xc94 001592 store 1 ,extm_newconn_am_addr 
+0xc95 001593 rtn 
+:      001599 prepare_tx:
+0xc96 001600 bpatch patch09_0 ,mem_patch09 
+0xc97 001601 fetch 1 ,mem_state 
+0xc98 001602 bbit0 state_insco ,prepare_tx_not_sco 
+0xc99 001603 force type_hv3 ,type 
+0xc9a 001604 bmark0 mark_esco ,prepare_tx_not_esco 
+0xc9b 001605 call check_esco_amaddr 
+0xc9c 001606 nbranch prepare_tx_not_sco ,true 
+0xc9d 001607 branch prepare_tx_not_sco ,attempt 
+0xc9e 001608 call set_wait_ack 
+0xc9f 001609 setarg 2 
+0xca0 001610 store 2 ,mem_retransmission_cnt 
+0xca1 001611 rtn 
+:      001613 prepare_tx_not_esco:
+0xca2 001614 nrtn attempt 
+:      001615 prepare_tx_not_sco:
+0xca3 001616 bpatch patch09_1 ,mem_patch09 
+0xca4 001617 call context_check_all_wack 
+0xca5 001618 nbranch prepare_tx_no_retransmit ,zero 
+0xca6 001619 fetch 1 ,mem_arq 
+0xca7 001620 bbit0 wack ,prepare_tx_pollnull 
+:      001621 prepare_tx_retransmit:
+0xca8 001622 bmark1 mark_loopback ,prepare_tx_loopback 
+0xca9 001623 fetch 1 ,mem_debug_config 
+0xcaa 001624 bbit1 debug_tx_pattern ,prepare_tx_txpat 
+0xcab 001625 fetch 2 ,mem_retransmission_cnt 
+0xcac 001626 increase -1 ,pdata 
+0xcad 001627 store 2 ,mem_retransmission_cnt 
+0xcae 001628 branch prepare_tx_nomore_retransmit ,blank 
+0xcaf 001629 fetch 1 ,mem_last_type 
+0xcb0 001630 iforce type 
+0xcb1 001631 rtn 
+:      001633 prepare_tx_nomore_retransmit:
+0xcb2 001634 bpatch patch09_2 ,mem_patch09 
+0xcb3 001635 call clear_got_tx 
+:      001636 prepare_tx_no_retransmit:
+0xcb4 001637 call check_esco_amaddr 
+0xcb5 001638 branch prepare_tx_pollnull ,true 
+0xcb6 001639 call send_lmp 
+0xcb7 001640 branch prepare_tx_sendlmp ,user 
+0xcb8 001641 fetch 1 ,mem_op 
+0xcb9 001642 bbit1 op_txl2cap ,prepare_tx_sendl2cap 
+0xcba 001643 bmark1 mark_loopback ,prepare_tx_loopback 
+0xcbb 001644 fetch 1 ,mem_debug_config 
+0xcbc 001645 bbit1 debug_tx_pattern ,prepare_tx_txpat 
+:      001646 prepare_tx_pollnull:
+0xcbd 001647 force type_poll ,type 
+0xcbe 001648 rtn master 
+0xcbf 001649 force type_null ,type 
+0xcc0 001650 rtn 
+:      001651 prepare_tx_loopback:
+0xcc1 001652 bpatch patch09_3 ,mem_patch09 
+0xcc2 001653 fetch 1 ,mem_rx_type 
+0xcc3 001654 iforce type 
+0xcc4 001655 rtnne 1 
+0xcc5 001656 force type_null ,type 
+0xcc6 001657 rtn 
+:      001658 prepare_tx_txpat:
+0xcc7 001659 fetch 1 ,test_mode_packet_type 
+0xcc8 001660 and pdata ,0xf ,type 
+0xcc9 001661 set1 mark_loopback ,mark 
+0xcca 001662 rtn 
+:      001663 prepare_tx_sendlmp:
+0xccb 001664 force type_lmp ,type 
+0xccc 001665 call set_wait_ack 
+:      001666 prepare_tx_ccm_edr_lmp:
+0xccd 001667 call check_enc_ccm 
+0xcce 001668 rtn blank 
+0xccf 001669 jam 3 ,mem_llid 
+0xcd0 001670 fetch 1 ,mem_lmo_header_length 
+0xcd1 001671 and pdata ,0x1f8 ,pdata 
+0xcd2 001672 rshift3 pdata ,pdata 
+0xcd3 001673 store 2 ,mem_ccm_len 
+0xcd4 001674 copy pdata ,rega 
+0xcd5 001675 arg mem_lmo_header_opcode ,regc 
+0xcd6 001676 branch ccm_br_enc_new 
+:      001679 prepare_tx_sendl2cap:
+0xcd7 001680 call tx_l2cap_type 
+0xcd8 001681 call set_wait_ack 
+:      001682 prepare_tx_ccm_edr:
+0xcd9 001683 call check_enc_ccm 
+0xcda 001684 rtn blank 
+0xcdb 001685 fetch 1 ,mem_tx_lch 
+0xcdc 001686 and_into 3 ,pdata 
+0xcdd 001687 store 1 ,mem_llid 
+0xcde 001688 fetch 2 ,mem_tx_len 
+0xcdf 001689 copy pdata ,rega 
+0xce0 001690 store 2 ,mem_ccm_len 
+0xce1 001691 fetch 2 ,mem_txptr 
+0xce2 001692 copy pdata ,regc 
+0xce3 001693 branch ccm_br_enc_new 
+:      001696 set_wait_ack:
+0xce4 001697 bpatch patch09_4 ,mem_patch09 
+0xce5 001698 fetcht 1 ,mem_arq 
+0xce6 001699 set1 wack ,temp 
+0xce7 001700 storet 1 ,mem_arq 
+0xce8 001701 deposit type 
+0xce9 001702 store 1 ,mem_last_type 
+0xcea 001703 setarg 0xffff 
+0xceb 001704 store 2 ,mem_retransmission_cnt 
+0xcec 001705 rtn 
+:      001707 tx_l2cap_type:
+0xced 001708 bpatch patch09_5 ,mem_patch09 
+0xcee 001709 fetch 1 ,mem_state_map 
+0xcef 001710 isolate1 smap_edr ,pdata 
+0xcf0 001711 fetch 2 ,mem_tx_len 
+0xcf1 001712 branch tx_l2cap_type_edr ,true 
+0xcf2 001713 force type_dm1 ,type 
+0xcf3 001714 sub pdata ,17 ,null 
+0xcf4 001715 rtn positive 
+0xcf5 001716 force type_dh1 ,type 
+0xcf6 001717 sub pdata ,27 ,null 
+0xcf7 001718 rtn positive 
+0xcf8 001719 force type_dm3 ,type 
+0xcf9 001720 sub pdata ,121 ,null 
+0xcfa 001721 rtn positive 
+0xcfb 001722 force type_dh3 ,type 
+0xcfc 001723 sub pdata ,183 ,null 
+0xcfd 001724 rtn positive 
+0xcfe 001725 force type_dm5 ,type 
+0xcff 001726 sub pdata ,224 ,null 
+0xd00 001727 rtn positive 
+0xd01 001728 force type_dh5 ,type 
+0xd02 001729 rtn 
+:      001730 tx_l2cap_type_edr:
+0xd03 001731 force type_dm1 ,type 
+0xd04 001732 sub pdata ,17 ,null 
+0xd05 001733 rtn positive 
+0xd06 001734 force type_dh1 ,type 
+0xd07 001735 sub pdata ,54 ,null 
+0xd08 001736 rtn positive 
+0xd09 001737 force type_dm3 ,type 
+0xd0a 001738 arg 367 ,temp 
+0xd0b 001739 isub temp ,null 
+0xd0c 001740 nrtn positive 
+0xd0d 001741 force type_dm5 ,type 
+0xd0e 001742 arg 679 ,temp 
+0xd0f 001743 isub temp ,null 
+0xd10 001744 nrtn positive 
+0xd11 001745 force type_dh5 ,type 
+0xd12 001746 rtn 
+:      001755 slave_receive_master_slot:
+0xd13 001756 fetch 1 ,mem_state 
+0xd14 001757 bbit0 state_insniff ,slave_receive_notsniff 
+0xd15 001758 fetch 2 ,mem_tsniff 
+0xd16 001759 branch slave_receive_notsniff ,blank 
+0xd17 001760 nbranch slave_receive_sniff ,attempt 
+:      001761 slave_receive_notsniff:
+0xd18 001762 call rf_setup_time_master_slot 
+:      001763 slave_receive_access:
+0xd19 001764 add clke_bt ,1 ,bt_clk 
+:      001765 slave_receive_sniff:
+0xd1a 001766 enable swfine 
+0xd1b 001767 fetch 2 ,mem_rx_window 
+0xd1c 001768 rshift pdata ,pdata 
+0xd1d 001769 fetcht 2 ,mem_param_pll_setup 
+0xd1e 001770 iadd temp ,pdata 
+0xd1f 001771 call ahead_window 
+0xd20 001772 call fetch_extm_bt_adr 
+0xd21 001773 force 0x03 ,freq_mode 
+0xd22 001774 call rx_radio_freq 
+0xd23 001775 call init_rx_packet_flags 
+0xd24 001776 call prep_crypt 
+0xd25 001777 bpatch patch09_6 ,mem_patch09 
+0xd26 001778 fetch 2 ,mem_rx_window 
+0xd27 001779 rshift pdata ,pdata 
+0xd28 001780 call ahead_window 
+0xd29 001781 call start_receiver 
+0xd2a 001782 enable decode_fec0 
+0xd2b 001783 fetch 2 ,mem_rx_window 
+0xd2c 001784 fetcht 2 ,mem_param_clke_cal 
+0xd2d 001785 iadd temp ,stop_watch 
+0xd2e 001786 correlate null ,timeout 
+0xd2f 001787 copy clke ,temp 
+0xd30 001788 storet 6 ,mem_sync_clke 
+0xd31 001789 disable decode_fec0 
+0xd32 001790 nrtn sync 
+0xd33 001791 fetch 2 ,mem_param_clke_cal 
+0xd34 001792 copy pdata ,clke_rt 
+0xd35 001793 copy bt_clk ,clke_bt 
+0xd36 001794 branch lpm_adjust_clk ,wake 
+0xd37 001795 rtn 
+:      001798 slave_conn_recv_packet:
+0xd38 001799 bpatch patch09_7 ,mem_patch09 
+0xd39 001800 call slave_receive_master_slot 
+0xd3a 001801 nbranch shutdown_radio ,sync 
+0xd3b 001802 call save_rssi 
+0xd3c 001803 bmark0 mark_testmode ,receive_packet 
+0xd3d 001804 fetch 2 ,mem_tst_pktcnt_sync 
+0xd3e 001805 increase 1 ,pdata 
+0xd3f 001806 store 2 ,mem_tst_pktcnt_sync 
+:      001807 receive_packet:
+0xd40 001808 call rf_debug_rx_sync_line 
+0xd41 001809 rshift bt_clk ,temp 
+0xd42 001810 or temp ,0x40 ,white_init 
+:      001811 receive_packet_whitened:
+0xd43 001812 bpatch patch0a_0 ,mem_patch0a 
+0xd44 001813 enable enable_white 
+0xd45 001814 enable enable_hec 
+0xd46 001815 enable decode_fec1 
+0xd47 001816 parse demod ,bucket ,3 
+0xd48 001817 rshift8 pwindow ,pdata 
+0xd49 001818 store 1 ,mem_temp_am_addr 
+0xd4a 001819 parse demod ,bucket ,4 
+0xd4b 001820 inject bucket ,7 
+0xd4c 001821 copy pwindow ,pdata 
+0xd4d 001822 store 1 ,mem_rx_type 
+0xd4e 001823 parse demod ,bucket ,3 
+0xd4f 001824 rshift8 pwindow ,pdata 
+0xd50 001825 store 1 ,mem_temp_arq 
+0xd51 001826 fetch 1 ,mem_rx_type 
+0xd52 001827 sub pdata ,3 ,null 
+0xd53 001828 branch receive_packet_noedr ,positive 
+0xd54 001829 beq 7 ,receive_packet_noedr 
+0xd55 001830 fetch 1 ,mem_state_map 
+0xd56 001831 isolate1 smap_edr ,pdata 
+0xd57 001832 setflag true ,psk ,radio_ctrl 
+:      001833 receive_packet_noedr:
+0xd58 001834 bpatch patch0a_1 ,mem_patch0a 
+0xd59 001835 parse demod ,bucket ,8 
+0xd5a 001836 disable decode_fec1 
+0xd5b 001837 disable enable_hec 
+0xd5c 001838 branch error_header ,crc_failed 
+0xd5d 001839 bmark0 mark_testmode ,receive_packet_amchk 
+0xd5e 001840 fetch 2 ,mem_tst_pktcnt_hec 
+0xd5f 001841 increase 1 ,pdata 
+0xd60 001842 store 2 ,mem_tst_pktcnt_hec 
+:      001843 receive_packet_amchk:
+0xd61 001844 bpatch patch0a_2 ,mem_patch0a 
+0xd62 001845 fetch 1 ,mem_temp_am_addr 
+0xd63 001846 compare 0 ,pdata ,0x07 
+0xd64 001847 setflag true ,mark_am_addr_broadcast ,mark 
+0xd65 001848 branch am_addr_ok ,true 
+0xd66 001849 icompare 0x07 ,am_addr 
+0xd67 001850 branch am_addr_match ,true 
+0xd68 001851 bmark0 mark_esco ,end_of_packet 
+0xd69 001852 fetch 1 ,mem_arq 
+0xd6a 001853 set0 arqnx ,pdata 
+0xd6b 001854 set1 flowx ,pdata 
+0xd6c 001855 store 1 ,mem_arq 
+:      001856 am_addr_match:
+0xd6d 001857 call rf_debug_rx_match_line 
+0xd6e 001858 enable match 
+:      001859 am_addr_ok:
+0xd6f 001860 bpatch patch0a_3 ,mem_patch0a 
+0xd70 001861 fetch 1 ,mem_rx_type 
+0xd71 001862 icopy type 
+0xd72 001863 bmark1 mark_am_addr_broadcast ,arqn_bypass 
+0xd73 001864 fetcht 1 ,mem_temp_arq 
+0xd74 001865 fetch 1 ,mem_arq 
+0xd75 001866 set0 flow ,pdata 
+0xd76 001867 isolate1 flow ,temp 
+0xd77 001868 setflag true ,flow ,pdata 
+0xd78 001869 isolate1 arqn ,temp 
+0xd79 001870 setflag true ,arqn ,pdata 
+0xd7a 001871 store 1 ,mem_arq 
+0xd7b 001872 isolate0 arqn ,temp 
+0xd7c 001873 branch arqn_bypass ,true 
+0xd7d 001874 call clear_got_tx 
+:      001875 arqn_bypass:
+0xd7e 001876 bpatch patch0a_4 ,mem_patch0a 
+0xd7f 001877 arg 0 ,temp 
+0xd80 001878 call reserve_slot 
+0xd81 001879 and type ,0xf ,pdata 
+0xd82 001880 beq type_poll ,process_poll 
+0xd83 001881 beq type_null ,end_of_packet 
+0xd84 001882 beq type_fhs ,process_fhs 
+0xd85 001883 fetcht 1 ,mem_temp_arq 
+0xd86 001884 fetch 1 ,mem_arq 
+0xd87 001885 icompare 0x04 ,temp 
+0xd88 001886 nbranch rx_type_dispatch ,true 
+0xd89 001887 bmark0 mark_am_addr_broadcast ,failed_seqn 
+0xd8a 001888 bbit0 bcast1 ,rx_type_dispatch 
+:      001889 failed_seqn:
+0xd8b 001890 set1 mark_old_packet ,mark 
+:      001891 rx_type_dispatch:
+0xd8c 001892 bpatch patch0a_5 ,mem_patch0a 
+0xd8d 001893 deposit type 
+0xd8e 001894 beq type_dm1 ,process_dm1 
+0xd8f 001895 beq type_dh1 ,process_dh1 
+0xd90 001896 beq type_3dh1 ,process_3dh1 
+0xd91 001897 arg 4 ,temp 
+0xd92 001898 call reserve_slot 
+0xd93 001899 beq type_dm3 ,process_dm3 
+0xd94 001900 beq type_dh3 ,process_dh3 
+0xd95 001901 arg 8 ,temp 
+0xd96 001902 call reserve_slot 
+0xd97 001903 beq type_dm5 ,process_dm5 
+0xd98 001904 beq type_dh5 ,process_dh5 
+0xd99 001905 rtn 
+:      001910 process_poll:
+0xd9a 001911 branch end_of_packet 
+:      001913 process_dm3:
+:      001914 process_dm5:
+0xd9b 001915 set1 mark_longpacket ,mark 
+:      001916 process_dm1:
+0xd9c 001917 enable decode_fec2 
+0xd9d 001918 branch process_dmh 
+:      001920 process_dh3:
+:      001921 process_dh5:
+0xd9e 001922 set1 mark_longpacket ,mark 
+:      001923 process_3dh1:
+0xd9f 001924 set1 psk3m ,radio_ctrl 
+:      001925 process_dh1:
+0xda0 001926 enable decode_fec0 
+:      001927 process_dmh:
+0xda1 001928 bpatch patch0a_6 ,mem_patch0a 
+0xda2 001929 bmark1 mark_first_packet ,end_of_packet 
+0xda3 001930 bmark1 mark_rxbuf_inuse ,end_of_packet 
+0xda4 001931 isolate0 psk ,radio_ctrl 
+0xda5 001932 branch process_dmh_noedr ,true 
+0xda6 001933 disable enable_white 
+0xda7 001934 enable decode_fec0 
+0xda8 001935 disable decode_fec2 
+0xda9 001936 add clkn_bt ,2 ,timeup 
+0xdaa 001937 correlate clkn_bt ,meet 
+0xdab 001938 nbranch error_payload ,sync 
+0xdac 001939 set1 mark_longpacket ,mark 
+0xdad 001940 enable enable_white 
+:      001941 process_dmh_noedr:
+0xdae 001942 bpatch patch0a_7 ,mem_patch0a 
+0xdaf 001943 enable encrypt 
+0xdb0 001944 enable enable_crc 
+0xdb1 001945 parse demod ,bucket ,3 
+0xdb2 001946 rshift8 pwindow ,pdata 
+0xdb3 001947 store 1 ,mem_lch_code 
+0xdb4 001948 parse demod ,bucket ,5 
+0xdb5 001949 bmark1 mark_longpacket ,process_dmh_long 
+0xdb6 001950 rshift3 pwindow ,loopcnt 
+0xdb7 001951 rshift3 loopcnt ,loopcnt 
+0xdb8 001952 branch process_dmh_common 
+:      001953 process_dmh_long:
+0xdb9 001954 parse demod ,bucket ,5 
+0xdba 001955 rshift pwindow ,loopcnt 
+0xdbb 001956 parse demod ,bucket ,3 
+:      001957 process_dmh_common:
+0xdbc 001958 bpatch patch0b_0 ,mem_patch0b 
+0xdbd 001959 deposit loopcnt 
+0xdbe 001960 store 2 ,mem_len 
+0xdbf 001961 branch process_dmh_data_0 ,blank 
+0xdc0 001962 call check_enc_ccm 
+0xdc1 001963 branch process_dmh_common2 ,blank 
+:      001964 process_dmh_common2_ccm:
+0xdc2 001965 increase 4 ,loopcnt 
+0xdc3 001966 deposit loopcnt 
+:      001967 process_dmh_common2:
+0xdc4 001968 isub mask3ff ,null 
+0xdc5 001969 branch error_payload ,positive 
+0xdc6 001970 bpatch patch0b_1 ,mem_patch0b 
+0xdc7 001971 set0 mark_fhs_eir ,mark 
+0xdc8 001972 fetch 1 ,mem_lch_code 
+0xdc9 001973 and_into 0x03 ,pdata 
+0xdca 001974 arg mem_rxbuf ,contw 
+0xdcb 001975 beq llid_lmp ,process_lmp 
+0xdcc 001976 bmark1 mark_testmode ,process_dmh_common2_testmode 
+0xdcd 001978 fetch 1 ,mem_lch_code 
+0xdce 001979 and_into 0x03 ,pdata 
+0xdcf 001980 beq llid_l2cap_start ,process_dmh_data_l2cap_start_pkt 
+0xdd0 001981 beq llid_l2cap_cont ,process_dmh_data_l2cap_continue_pkt 
+0xdd1 001982 branch error_payload 
+:      001984 process_dmh_common2_testmode:
+0xdd2 001985 arg mem_l2cap_rxbuff1 ,contw 
+0xdd3 001986 branch process_dmh_data 
+:      001988 process_dmh_data_0:
+0xdd4 001989 call check_enc_ccm 
+0xdd5 001990 branch process_dmh_data_end ,blank 
+0xdd6 001991 setarg 0 
+0xdd7 001992 store 2 ,mem_ccm_len 
+0xdd8 001993 parse demod ,bucket ,32 
+0xdd9 001994 rshift32 pdata ,pdata 
+0xdda 001995 rshift8 pdata ,pdata 
+0xddb 001996 store 4 ,mem_le_peer_mic 
+0xddc 001997 branch process_dmh_data_end 
+:      002000 check_enc_ccm:
+0xddd 002001 fetch 1 ,mem_state_map 
+0xdde 002002 bbit0 smap_encryption ,enable_blank 
+0xddf 002003 fetch 1 ,mem_encapsulated_minor_type 
+0xde0 002004 bne encapsulated_minor_type_p256 ,enable_blank 
+0xde1 002005 branch disable_blank 
+:      002007 process_lmp:
+0xde2 002008 fetch 2 ,mem_len 
+0xde3 002009 sub pdata ,17 ,null 
+0xde4 002010 nbranch error_payload ,positive 
+0xde5 002011 bmark1 mark_old_packet ,ack_payload 
+0xde6 002012 branch process_dmh_data 
+:      002015 process_dmh_data_l2cap_start_pkt:
+0xde7 002016 bpatch patch0b_2 ,mem_patch0b 
+0xde8 002017 bmark1 mark_old_packet ,ack_payload 
+0xde9 002018 fetch 2 ,mem_len 
+0xdea 002019 arg 0x2e0 ,temp 
+0xdeb 002020 isub temp ,null 
+0xdec 002021 branch error_payload ,positive 
+0xded 002022 fetch 1 ,mem_l2cap_rxbuff_inuse 
+0xdee 002023 bbit0 l2cap_inuse_buff1 ,process_dmh_data_into_buff1 
+0xdef 002024 bbit0 l2cap_inuse_buff2 ,process_dmh_data_into_buff2 
+0xdf0 002025 branch end_of_packet 
+:      002026 process_dmh_data_into_buff1:
+0xdf1 002027 jam 1 ,mem_l2cap_rxbuff_new 
+0xdf2 002028 fetch 2 ,mem_l2cap_rxbuff1_len 
+0xdf3 002029 bne 0 ,end_of_packet 
+0xdf4 002030 arg mem_l2cap_rxbuff1 ,contw 
+0xdf5 002031 branch process_dmh_data 
+:      002032 process_dmh_data_into_buff2:
+0xdf6 002033 jam 2 ,mem_l2cap_rxbuff_new 
+0xdf7 002034 fetch 2 ,mem_l2cap_rxbuff2_len 
+0xdf8 002035 bne 0 ,end_of_packet 
+0xdf9 002036 arg mem_l2cap_rxbuff2 ,contw 
+0xdfa 002037 branch process_dmh_data 
+:      002039 process_dmh_data_l2cap_continue_pkt:
+0xdfb 002040 bpatch patch0b_3 ,mem_patch0b 
+0xdfc 002041 bmark1 mark_old_packet ,ack_payload 
+0xdfd 002042 fetch 2 ,mem_len 
+0xdfe 002043 arg 0x2e0 ,temp 
+0xdff 002044 isub temp ,null 
+0xe00 002045 branch error_payload ,positive 
+0xe01 002046 fetch 1 ,mem_l2cap_rxbuff_new 
+0xe02 002047 beq 1 ,process_dmh_data_l2cap_continue_pkt1 
+0xe03 002048 beq 2 ,process_dmh_data_l2cap_continue_pkt2 
+0xe04 002049 branch end_of_packet 
+:      002050 process_dmh_data_l2cap_continue_pkt1:
+0xe05 002051 arg mem_l2cap_rxbuff1 ,contw 
+0xe06 002052 fetch 2 ,mem_l2cap_rxbuff1_len 
+0xe07 002053 iadd contw ,contw 
+0xe08 002054 branch process_dmh_data 
+:      002055 process_dmh_data_l2cap_continue_pkt2:
+0xe09 002056 arg mem_l2cap_rxbuff2 ,contw 
+0xe0a 002057 fetch 2 ,mem_l2cap_rxbuff2_len 
+0xe0b 002058 iadd contw ,contw 
+:      002059 process_dmh_data:
+0xe0c 002060 parse demod ,bucket ,8 
+0xe0d 002061 rshift3 pwindow ,pdata 
+0xe0e 002062 istore 1 ,contw 
+0xe0f 002063 loop process_dmh_data 
+:      002064 process_dmh_data_end:
+0xe10 002065 bpatch patch0b_4 ,mem_patch0b 
+0xe11 002066 parse demod ,bucket ,16 
+0xe12 002067 branch error_payload_crc ,crc_failed 
+0xe13 002068 call check_enc_ccm 
+0xe14 002069 call enable_user2 
+0xe15 002070 ncall ccm_br_decrypt_new ,blank 
+0xe16 002071 nbranch error_mic_error ,user2 
+0xe17 002072 call rf_debug_rx_crc_line 
+0xe18 002074 fetch 1 ,mem_l2cap_flow_ctrl_flag 
+0xe19 002075 beq l2cap_flow_ctrl_enable ,flow_ctrl 
+0xe1a 002077 bmark1 mark_testmode ,process_dmh_cont 
+0xe1b 002078 bmark1 mark_old_packet ,redundant_payload 
+0xe1c 002079 fetch 1 ,mem_lch_code 
+0xe1d 002080 compare 3 ,pdata ,3 
+0xe1e 002081 branch process_dmh_cont ,true 
+0xe1f 002082 fetch 2 ,mem_len 
+0xe20 002083 branch process_dmh_cont ,blank 
+0xe21 002084 bpatch patch0b_5 ,mem_patch0b 
+0xe22 002085 fetch 1 ,mem_l2cap_rxbuff_new 
+0xe23 002086 beq 1 ,process_l2cap_pass_crc_buff1 
+0xe24 002087 beq 2 ,process_l2cap_pass_crc_buff2 
+0xe25 002088 branch assert 
+:      002089 process_l2cap_pass_crc_buff1:
+0xe26 002090 fetch 2 ,mem_l2cap_rxbuff1_len 
+0xe27 002091 fetcht 2 ,mem_len 
+0xe28 002092 iadd temp ,pdata 
+0xe29 002093 store 2 ,mem_l2cap_rxbuff1_len 
+0xe2a 002094 rtn blank 
+0xe2b 002095 fetcht 2 ,mem_l2cap_rxbuff1 
+0xe2c 002096 increase 4 ,temp 
+0xe2d 002097 isub temp ,null 
+0xe2e 002098 call l2cap_buff1_inuse ,zero 
+0xe2f 002099 branch process_dmh_cont 
+:      002100 process_l2cap_pass_crc_buff2:
+0xe30 002101 fetch 2 ,mem_l2cap_rxbuff2_len 
+0xe31 002102 fetcht 2 ,mem_len 
+0xe32 002103 iadd temp ,pdata 
+0xe33 002104 store 2 ,mem_l2cap_rxbuff2_len 
+0xe34 002105 rtn blank 
+0xe35 002106 fetcht 2 ,mem_l2cap_rxbuff2 
+0xe36 002107 add temp ,4 ,temp 
+0xe37 002108 isub temp ,null 
+0xe38 002109 call l2cap_buff2_inuse ,zero 
+:      002111 process_dmh_cont:
+0xe39 002112 bpatch patch0b_6 ,mem_patch0b 
+0xe3a 002113 fetcht 1 ,mem_state_map 
+0xe3b 002114 fetch 1 ,mem_lch_code 
+0xe3c 002115 compare 3 ,pdata ,0x03 
+0xe3d 002116 setflag true ,smap_rxlmp ,temp 
+0xe3e 002117 nsetflag true ,smap_rxl2cap ,temp 
+0xe3f 002118 storet 1 ,mem_state_map 
+0xe40 002119 nbranch process_dmh_cont_rxbuf_not_use ,true 
+0xe41 002120 set1 mark_rxbuf_inuse ,mark 
+:      002121 process_dmh_cont_rxbuf_not_use:
+0xe42 002122 bmark0 mark_testmode ,ack_payload 
+0xe43 002123 isolate1 smap_rxlmp ,temp 
+0xe44 002124 branch ack_payload ,true 
+0xe45 002125 fetch 2 ,mem_tst_pktcnt_crc 
+0xe46 002126 increase 1 ,pdata 
+0xe47 002127 store 2 ,mem_tst_pktcnt_crc 
+0xe48 002128 set1 mark_loopback ,mark 
+0xe49 002129 set0 smap_rxl2cap ,temp 
+0xe4a 002130 set0 mark_rxbuf_inuse ,mark 
+0xe4b 002131 storet 1 ,mem_state_map 
+:      002132 ack_payload:
+0xe4c 002133 bpatch patch0b_7 ,mem_patch0b 
+0xe4d 002134 call check_enc_ccm 
+0xe4e 002135 ncall ccm_br_pcnt_rx_add ,blank 
+0xe4f 002136 fetcht 1 ,mem_temp_arq 
+0xe50 002137 fetch 1 ,mem_arq 
+0xe51 002138 set1 arqnx ,pdata 
+0xe52 002139 isolate1 seqn ,temp 
+0xe53 002140 setflag true ,seqn ,pdata 
+0xe54 002141 isolate1 mark_am_addr_broadcast ,mark 
+0xe55 002142 setflag true ,bcast1 ,pdata 
+0xe56 002143 store 1 ,mem_arq 
+0xe57 002144 fetch 2 ,mem_len 
+0xe58 002145 nbranch end_of_packet ,blank 
+0xe59 002146 fetch 1 ,mem_state_map 
+0xe5a 002147 set0 smap_rxl2cap ,pdata 
+0xe5b 002148 store 1 ,mem_state_map 
+0xe5c 002149 fetch 1 ,mem_lch_code 
+0xe5d 002150 compare 0x01 ,pdata ,0x07 
+0xe5e 002152 branch end_of_packet 
+:      002154 error_header:
+0xe5f 002155 bpatch patch0c_0 ,mem_patch0c 
+0xe60 002156 disable match 
+0xe61 002157 fetch 2 ,mem_rx_hec_err 
+0xe62 002158 increase 1 ,pdata 
+0xe63 002159 store 2 ,mem_rx_hec_err 
+0xe64 002160 branch end_of_packet 
+:      002161 error_payload_crc:
+0xe65 002162 fetch 2 ,mem_rx_crc_err 
+0xe66 002163 increase 1 ,pdata 
+0xe67 002164 store 2 ,mem_rx_crc_err 
+0xe68 002165 call discard_pkt 
+0xe69 002166 bmark0 mark_testmode ,error_payload 
+0xe6a 002167 set1 mark_loopback ,mark 
+:      002168 error_payload:
+0xe6b 002169 branch end_of_packet 
+:      002171 flow_ctrl:
+:      002172 error_mic_error:
+0xe6c 002173 branch error_payload_crc 
+:      002176 discard_pkt:
+0xe6d 002177 bpatch patch0c_1 ,mem_patch0c 
+0xe6e 002178 fetch 1 ,mem_lch_code 
+0xe6f 002179 compare 3 ,pdata ,0x03 
+0xe70 002180 nbranch discard_pkt_l2cap ,true 
+:      002181 discard_pkt_lmp:
+0xe71 002182 fetcht 1 ,mem_state_map 
+0xe72 002183 set0 smap_rxlmp ,temp 
+0xe73 002184 storet 1 ,mem_state_map 
+0xe74 002185 rtn 
+:      002186 discard_pkt_l2cap:
+0xe75 002189 fetcht 1 ,mem_state_map 
+0xe76 002190 set0 smap_rxl2cap ,temp 
+0xe77 002191 storet 1 ,mem_state_map 
+0xe78 002192 rtn 
+:      002194 redundant_payload:
+0xe79 002195 fetch 1 ,mem_arq 
+0xe7a 002196 set1 arqnx ,pdata 
+0xe7b 002197 store 1 ,mem_arq 
+:      002198 end_of_packet:
+0xe7c 002199 bpatch patch0c_2 ,mem_patch0c 
+0xe7d 002200 disable encode_fec0 
+0xe7e 002201 disable encode_fec2 
+0xe7f 002202 disable decode_fec0 
+0xe80 002203 disable decode_fec2 
+0xe81 002204 disable enable_crc 
+0xe82 002205 disable encrypt 
+0xe83 002206 disable enable_white 
+0xe84 002207 branch shutdown_radio ,is_rx 
+0xe85 002208 until null ,tx_clear 
+0xe86 002209 nop 100 
+0xe87 002210 branch shutdown_radio 
+:      002212 process_fhs:
+0xe88 002213 bpatch patch0c_3 ,mem_patch0c 
+0xe89 002214 enable enable_crc 
+0xe8a 002215 enable decode_fec2 
+0xe8b 002216 parse demod ,bucket ,72 
+0xe8c 002217 isolate1 58 ,pdata 
+0xe8d 002218 setflag true ,mark_fhs_eir ,mark 
+0xe8e 002219 copy bt_adr ,temp 
+0xe8f 002220 ialigned bt_adr 
+0xe90 002221 ialigned fhs0 
+0xe91 002222 pulse recalc 
+0xe92 002223 setsect 2 ,0xfffff 
+0xe93 002224 setsect 3 ,0x0ffff 
+0xe94 002225 nop 32 
+0xe95 002226 iverify fhs_parity 
+0xe96 002227 deposit lap 
+0xe97 002228 store 3 ,extm_lap 
+0xe98 002229 deposit uap 
+0xe99 002230 store 1 ,extm_uap 
+0xe9a 002231 copy temp ,bt_adr 
+0xe9b 002232 branch fhs_parity_ok ,true 
+0xe9c 002233 branch error_payload 
+:      002234 fhs_parity_ok:
+0xe9d 002235 bpatch patch0c_4 ,mem_patch0c 
+0xe9e 002236 parse demod ,bucket ,72 
+0xe9f 002237 ialigned fhs1 
+0xea0 002238 ialigned am_addr 
+0xea1 002239 ialigned nap 
+0xea2 002240 ialigned regb 
+0xea3 002241 force 0 ,pdata 
+0xea4 002242 parse demod ,bucket ,16 
+0xea5 002243 branch error_payload ,crc_failed 
+0xea6 002244 call rf_debug_rx_crc_line 
+0xea7 002245 setarg 0x0ffffffc 
+0xea8 002246 iand regb ,pdata 
+0xea9 002247 store 4 ,mem_clke_bt 
+0xeaa 002248 deposit fhs_class 
+0xeab 002249 store 3 ,extm_class 
+0xeac 002250 deposit fhs_misc 
+0xead 002251 store 1 ,extm_fhs_misc 
+0xeae 002252 deposit am_addr 
+0xeaf 002253 store 1 ,extm_newconn_am_addr 
+0xeb0 002254 deposit nap 
+0xeb1 002255 store 2 ,extm_nap 
+0xeb2 002256 deposit bt_clk 
+0xeb3 002257 inject rxf ,32 
+0xeb4 002258 compare type_fhs ,type ,0x0f 
+0xeb5 002259 setflag true ,mark_fhs_already_good ,mark 
+0xeb6 002260 branch end_of_packet 
+:      002262 clear_got_tx:
+0xeb7 002263 bpatch patch0c_5 ,mem_patch0c 
+0xeb8 002264 fetch 1 ,mem_arq 
+0xeb9 002265 rtnbit0 wack 
+0xeba 002266 set0 wack ,pdata 
+0xebb 002267 setflip seqnx ,pdata 
+0xebc 002268 store 1 ,mem_arq 
+0xebd 002269 call check_enc_ccm 
+0xebe 002270 ncall ccm_br_pcnt_tx_add ,blank 
+0xebf 002271 fetch 1 ,mem_last_type 
+0xec0 002272 beq type_lmp ,clear_got_txlmp 
+0xec1 002273 rtneq type_hv3 
+0xec2 002274 fetch 1 ,mem_op 
+0xec3 002275 rtnbit0 op_txl2cap ,pdata 
+0xec4 002276 set0 op_txl2cap ,pdata 
+0xec5 002277 set1 op_pkt_comp ,pdata 
+0xec6 002278 store 1 ,mem_op 
+0xec7 002279 set0 mark_tx_l2cap ,mark 
+0xec8 002280 fetch 2 ,mem_l2cap_tx_multi_offset 
+0xec9 002281 nrtn blank 
+0xeca 002282 fetch 1 ,mem_op 
+0xecb 002283 set0 op_pkt_comp ,pdata 
+0xecc 002284 store 1 ,mem_op 
+0xecd 002285 branch l2cap_malloc_free 
+:      002287 clear_got_txlmp:
+0xece 002288 bpatch patch0c_6 ,mem_patch0c 
+0xecf 002289 fetch 1 ,mem_lmo_header_opcode_x 
+0xed0 002290 rshift pdata ,pdata 
+0xed1 002291 beq lmp_start_encryption_req ,start_encryption 
+0xed2 002292 beq lmp_stop_encryption_req ,stop_encryption 
+0xed3 002293 beq lmp_unsniff_req ,sniff_exit 
+0xed4 002294 beq lmp_escape ,clear_lmp_escape 
+0xed5 002295 rtnne lmp_accepted 
+0xed6 002296 fetch 1 ,mem_lmo_payload 
+0xed7 002297 beq lmp_start_encryption_req ,clear_send_setup_complete 
+0xed8 002298 rtn 
+:      002300 clear_lmp_escape:
+0xed9 002301 fetch 1 ,mem_lmo_payload 
+0xeda 002302 set1 7 ,pdata 
+0xedb 002303 rtn 
+:      002304 clear_send_setup_complete:
+0xedc 002305 rtn master 
+0xedd 002306 fetch 1 ,mem_state 
+0xede 002307 rtnbit1 state_conn_comp 
+0xedf 002308 jam lmp_setup_complete ,mem_lmo_opcode2 
+0xee0 002309 rtn 
+:      002312 start_encryption:
+0xee1 002313 bpatch patch0c_7 ,mem_patch0c 
+0xee2 002314 fetch 1 ,mem_state_map 
+0xee3 002315 set1 smap_encryption ,pdata 
+0xee4 002316 store 1 ,mem_state_map 
+0xee5 002317 jam 1 ,core_encrypt 
+0xee6 002318 force 0 ,pdata 
+0xee7 002319 store 5 ,mem_ccm_pcnt_rx 
+0xee8 002320 set1 br_ccm_directionbit ,pdata 
+0xee9 002321 store 5 ,mem_ccm_pcnt_tx 
+0xeea 002322 rtn 
+:      002324 stop_encryption:
+0xeeb 002325 bpatch patch0d_0 ,mem_patch0d 
+0xeec 002326 fetch 1 ,mem_state_map 
+0xeed 002327 set0 smap_encryption ,pdata 
+0xeee 002328 store 1 ,mem_state_map 
+0xeef 002329 jam 0 ,core_encrypt 
+0xef0 002330 rtn 
+:      002333 sniff_init:
+0xef1 002334 bpatch patch0d_1 ,mem_patch0d 
+0xef2 002335 add clkn_bt ,3 ,rega 
+0xef3 002336 branch sniff_init_master ,master 
+0xef4 002337 add clke_bt ,3 ,rega 
+:      002338 sniff_init_master:
+0xef5 002339 fetcht 2 ,mem_tsniff 
+0xef6 002340 deposit rega 
+0xef7 002341 set0 27 ,pdata 
+0xef8 002342 idiv temp 
+0xef9 002343 fetch 2 ,mem_dsniff 
+0xefa 002344 call wait_div_end 
+0xefb 002345 remainder regc 
+0xefc 002346 isub regc ,pdata 
+0xefd 002347 branch sniff_init_nowrap ,positive 
+0xefe 002348 iadd temp ,pdata 
+:      002349 sniff_init_nowrap:
+0xeff 002350 iadd rega ,pdata 
+0xf00 002351 store 4 ,mem_sniff_anchor 
+0xf01 002352 jam switch_flag_init ,mem_switch_flag 
+0xf02 002353 fetch 1 ,mem_state 
+0xf03 002354 set1 state_insniff ,pdata 
+0xf04 002355 store 1 ,mem_state 
+0xf05 002356 fetch 1 ,mem_sniff_attempt 
+0xf06 002357 store 1 ,mem_current_sniff_attempt 
+0xf07 002358 setarg 0 
+0xf08 002359 store 3 ,mem_sniff_rcv 
+0xf09 002360 store 3 ,mem_sniff_lost 
+0xf0a 002361 store 1 ,mem_sniff_unint_lost 
+0xf0b 002362 jam bt_evt_enter_sniff ,mem_fifo_temp 
+0xf0c 002363 call ui_ipc_send_event 
+0xf0d 002364 fetch 2 ,mem_rx_window_sniff 
+0xf0e 002365 store 2 ,mem_rx_window 
+0xf0f 002366 nrtn master 
+0xf10 002367 add am_addr ,-1 ,queue 
+0xf11 002368 rtn 
+:      002370 sniff_exit:
+0xf12 002371 bpatch patch0d_2 ,mem_patch0d 
+0xf13 002372 fetch 1 ,mem_state 
+0xf14 002373 rtnbit0 state_insniff 
+0xf15 002374 set0 state_insniff ,pdata 
+0xf16 002375 store 1 ,mem_state 
+0xf17 002376 fetch 2 ,mem_rx_window_init 
+0xf18 002377 store 2 ,mem_rx_window 
+0xf19 002378 disable wake 
+0xf1a 002379 jam bt_evt_exit_sniff ,mem_fifo_temp 
+0xf1b 002380 branch ui_ipc_send_event 
+:      002383 check_attempt:
+0xf1c 002384 bpatch patch0d_3 ,mem_patch0d 
+0xf1d 002385 enable attempt 
+0xf1e 002386 fetch 1 ,mem_state 
+0xf1f 002387 bbit1 state_insniff ,check_attempt_sniff 
+0xf20 002388 rtnmark1 mark_testmode 
+0xf21 002389 fetch 1 ,mem_arq 
+0xf22 002390 rtnbit1 wack 
+0xf23 002391 fetch 1 ,mem_lmp_to_send 
+0xf24 002392 nrtn blank 
+0xf25 002393 fetch 1 ,mem_op 
+0xf26 002394 rtnbit1 op_txl2cap 
+:      002395 check_attempt_nomore:
+0xf27 002396 force 0 ,pdata 
+0xf28 002397 rtn 
+:      002399 check_attempt_sniff:
+0xf29 002400 bbit0 state_insco ,check_attempt_not_sco 
+0xf2a 002401 fetch 1 ,mem_current_sniff_attempt 
+0xf2b 002402 beq 2 ,check_attempt_sniff_restore_sco 
+0xf2c 002403 fetch 1 ,mem_arq 
+0xf2d 002404 bbit1 wack ,check_attempt_notimeout 
+0xf2e 002405 bmark0 mark_esco_rxok ,check_attempt_notimeout 
+:      002406 check_attempt_sniff_restore_sco:
+0xf2f 002407 nbranch check_attempt_notimeout ,master 
+0xf30 002408 fetch 1 ,mem_lmp_to_send 
+0xf31 002409 nbranch check_attempt_notimeout ,blank 
+:      002410 check_attempt_sco_master:
+0xf32 002411 branch check_attempt_nomore 
+:      002418 check_attempt_not_sco:
+0xf33 002419 fetch 1 ,mem_current_sniff_attempt 
+0xf34 002420 bne 1 ,check_attempt_notimeout 
+0xf35 002421 fetch 1 ,mem_current_sniff_timeout 
+0xf36 002422 branch check_attempt_notimeout ,blank 
+0xf37 002423 increase -1 ,pdata 
+0xf38 002424 store 1 ,mem_current_sniff_timeout 
+0xf39 002425 fetch 1 ,mem_arq 
+0xf3a 002426 rtnbit1 wack 
+0xf3b 002427 nrtn match 
+:      002428 check_attempt_notimeout:
+0xf3c 002429 fetch 1 ,mem_current_sniff_attempt 
+0xf3d 002430 increase -1 ,pdata 
+0xf3e 002431 store 1 ,mem_current_sniff_attempt 
+0xf3f 002432 rtn 
+:      002443 sniff_check_window:
+0xf40 002444 bpatch patch0d_4 ,mem_patch0d 
+0xf41 002445 disable swfine 
+0xf42 002446 copy temp ,stop_watch 
+0xf43 002447 call context_search_sniff_window 
+0xf44 002448 disable user 
+0xf45 002449 nrtn zero 
+0xf46 002450 force 0 ,stop_watch 
+0xf47 002451 enable user 
+0xf48 002452 rtn 
+:      002455 check_esco_amaddr:
+0xf49 002456 fetch 1 ,mem_esco_addr 
+0xf4a 002457 icompare 0xff ,am_addr 
+0xf4b 002458 rtn 
+:      002461 parse_l2cap:
+0xf4c 002462 bpatch patch0d_5 ,mem_patch0d 
+0xf4d 002463 set0 mark_rxbuf_inuse ,mark 
+:      002464 parse_l2cap_cont:
+0xf4e 002465 jam l2cap_rx_clear ,mem_l2cap_rx_done 
+0xf4f 002466 fetch 1 ,mem_l2cap_rxbuff_inuse 
+0xf50 002467 rtn blank 
+0xf51 002468 isolate1 l2cap_inuse_buff1 ,pdata 
+0xf52 002469 arg mem_l2cap_rxbuff1 ,contr 
+0xf53 002470 call process_rx_l2cap_pkt ,true 
+0xf54 002471 bpatch patch0d_6 ,mem_patch0d 
+0xf55 002472 fetch 1 ,mem_l2cap_rx_done 
+0xf56 002473 beq l2cap_rx_done ,parse_l2cap_release_buff1 
+0xf57 002475 jam l2cap_rx_clear ,mem_l2cap_rx_done 
+0xf58 002476 fetch 1 ,mem_l2cap_rxbuff_inuse 
+0xf59 002477 rtnbit0 l2cap_inuse_buff2 
+0xf5a 002478 arg mem_l2cap_rxbuff2 ,contr 
+0xf5b 002479 call process_rx_l2cap_pkt 
+0xf5c 002480 fetch 1 ,mem_l2cap_rx_done 
+0xf5d 002481 beq l2cap_rx_done ,parse_l2cap_release_buff2 
+0xf5e 002482 rtn 
+:      002484 parse_l2cap_release_buff1:
+0xf5f 002485 fetch 1 ,mem_l2cap_rxbuff_inuse 
+0xf60 002486 set0 l2cap_inuse_buff1 ,pdata 
+0xf61 002487 store 1 ,mem_l2cap_rxbuff_inuse 
+0xf62 002488 setarg 0 
+0xf63 002489 store 2 ,mem_l2cap_rxbuff1_len 
+0xf64 002490 rtn 
+:      002491 parse_l2cap_release_buff2:
+0xf65 002492 fetch 1 ,mem_l2cap_rxbuff_inuse 
+0xf66 002493 set0 l2cap_inuse_buff2 ,pdata 
+0xf67 002494 store 1 ,mem_l2cap_rxbuff_inuse 
+0xf68 002495 setarg 0 
+0xf69 002496 store 2 ,mem_l2cap_rxbuff2_len 
+0xf6a 002497 rtn 
+:      002499 l2cap_buff1_inuse:
+0xf6b 002500 fetch 1 ,mem_l2cap_rxbuff_inuse 
+0xf6c 002501 set1 l2cap_inuse_buff1 ,pdata 
+0xf6d 002502 store 1 ,mem_l2cap_rxbuff_inuse 
+0xf6e 002503 rtn 
+:      002505 l2cap_buff2_inuse:
+0xf6f 002506 fetch 1 ,mem_l2cap_rxbuff_inuse 
+0xf70 002507 set1 l2cap_inuse_buff2 ,pdata 
+0xf71 002508 store 1 ,mem_l2cap_rxbuff_inuse 
+0xf72 002509 rtn 
+:      002515 slave_send_access:
+0xf73 002516 bpatch patch0d_7 ,mem_patch0d 
+0xf74 002517 add clke_bt ,1 ,bt_clk 
+0xf75 002518 call fetch_extm_bt_adr 
+0xf76 002519 force 0x03 ,freq_mode 
+0xf77 002520 call tx_radio_freq 
+0xf78 002521 call start_transmitter 
+0xf79 002522 call start_tx_external 
+0xf7a 002523 branch send_access_word 
+:      002526 slave_conn_send_packet:
+0xf7b 002527 bpatch patch0e_0 ,mem_patch0e 
+0xf7c 002528 call rf_setup_time_slave_slot 
+0xf7d 002529 deposit clke_bt 
+0xf7e 002530 fetcht 4 ,mem_next_btclk 
+0xf7f 002531 isub temp ,pdata 
+0xf80 002532 rtnne 1 
+0xf81 002533 compare type_null ,type ,0x1f 
+0xf82 002534 nbranch slave_conn_send_access ,true 
+0xf83 002535 fetch 1 ,mem_rx_type 
+0xf84 002536 rtn blank 
+:      002537 slave_conn_send_access:
+0xf85 002538 call slave_send_access 
+:      002539 transmit_packet:
+0xf86 002540 compare type_id ,type ,0x1f 
+0xf87 002541 branch end_of_packet ,true 
+0xf88 002542 rshift bt_clk ,temp 
+0xf89 002543 or temp ,0x40 ,white_init 
+:      002544 transmit_packet_whitened:
+0xf8a 002545 bpatch patch0e_1 ,mem_patch0e 
+0xf8b 002546 enable enable_white 
+0xf8c 002547 enable enable_hec 
+0xf8d 002548 enable encode_fec1 
+0xf8e 002549 set0 mark_longpacket ,mark 
+0xf8f 002550 deposit am_addr 
+0xf90 002551 inject mod ,3 
+0xf91 002552 deposit type 
+0xf92 002553 inject mod ,4 
+0xf93 002554 fetch 1 ,mem_arq 
+0xf94 002555 inject bucket ,4 
+0xf95 002556 inject mod ,3 
+0xf96 002557 enable enable_parity 
+0xf97 002558 inject mod ,8 
+0xf98 002559 disable encode_fec1 
+0xf99 002560 disable enable_parity 
+0xf9a 002561 disable enable_hec 
+0xf9b 002562 set0 psk3m ,radio_ctrl 
+0xf9c 002563 arg 0 ,temp 
+0xf9d 002564 call reserve_slot 
+0xf9e 002565 bpatch patch0e_2 ,mem_patch0e 
+0xf9f 002566 and type ,0x1f ,pdata 
+0xfa0 002567 beq type_lmp ,transmit_lmp 
+0xfa1 002568 beq type_null ,end_of_packet 
+0xfa2 002569 beq type_poll ,end_of_packet 
+0xfa3 002570 beq type_fhs ,transmit_fhs 
+0xfa4 002571 beq type_dm1 ,transmit_dm1 
+0xfa5 002572 beq type_dh1 ,transmit_dh1 
+0xfa6 002573 beq type_3dh1 ,transmit_3dh1 
+0xfa7 002574 arg 4 ,temp 
+0xfa8 002575 call reserve_slot 
+0xfa9 002576 beq type_dm3 ,transmit_dm3 
+0xfaa 002577 beq type_dh3 ,transmit_dh3 
+0xfab 002578 arg 8 ,temp 
+0xfac 002579 call reserve_slot 
+0xfad 002580 beq type_dh5 ,transmit_dh5 
+0xfae 002581 branch transmit_dm5 
+:      002585 transmit_fhs:
+0xfaf 002586 bpatch patch0e_3 ,mem_patch0e 
+0xfb0 002587 fetch 1 ,mem_fhs_am_addr 
+0xfb1 002588 icopy am_addr 
+0xfb2 002589 fetch 1 ,mem_fhs_misc 
+0xfb3 002590 icopy fhs_misc 
+0xfb4 002591 fetch 3 ,mem_class 
+0xfb5 002592 icopy fhs_class 
+0xfb6 002593 fetch 2 ,mem_nap 
+0xfb7 002594 icopy nap 
+0xfb8 002595 enable enable_crc 
+0xfb9 002596 enable encode_fec2 
+0xfba 002597 copy bt_adr ,rega 
+0xfbb 002598 call fetch_self_bt_adr 
+0xfbc 002599 pulse recalc 
+0xfbd 002600 nop 32 
+0xfbe 002601 copy bt_clk ,timeup 
+0xfbf 002602 fetch 4 ,mem_clkn_bt 
+0xfc0 002603 icopy bt_clk 
+0xfc1 002604 preload fhs0 
+0xfc2 002605 set1 58 ,pdata 
+0xfc3 002606 inject mod ,72 
+0xfc4 002607 preload fhs1 
+0xfc5 002608 inject mod ,72 
+0xfc6 002609 copy timeup ,bt_clk 
+0xfc7 002610 copy rega ,bt_adr 
+0xfc8 002611 enable enable_parity 
+0xfc9 002612 inject mod ,16 
+0xfca 002613 disable enable_parity 
+0xfcb 002614 branch end_of_packet 
+:      002616 transmit_lmp_ccm:
+0xfcc 002617 disable encrypt 
+0xfcd 002618 branch transmit_lmp_common 
+:      002620 transmit_lmp:
+0xfce 002621 bpatch patch0e_4 ,mem_patch0e 
+0xfcf 002622 call check_enc_ccm 
+0xfd0 002623 nbranch transmit_lmp_ccm ,blank 
+0xfd1 002624 enable encrypt 
+:      002625 transmit_lmp_common:
+0xfd2 002626 enable enable_crc 
+0xfd3 002627 enable encode_fec2 
+0xfd4 002628 fetch 1 ,mem_lmo_header_length 
+0xfd5 002629 and pdata ,0x1f8 ,temp 
+0xfd6 002630 arg mem_lmo_header_length ,contr 
+0xfd7 002631 increase 8 ,temp 
+0xfd8 002632 rshift3 temp ,loopcnt 
+:      002633 transmit_lmp_loop:
+0xfd9 002634 ifetch 1 ,contr 
+0xfda 002635 inject mod ,8 
+0xfdb 002636 loop transmit_lmp_loop 
+0xfdc 002637 branch transmit_end 
+:      002640 transmit_dm1:
+0xfdd 002641 enable encode_fec2 
+0xfde 002642 branch transmit_dmh 
+:      002643 transmit_dm3:
+:      002644 transmit_dm5:
+0xfdf 002645 enable encode_fec2 
+0xfe0 002646 set1 mark_longpacket ,mark 
+0xfe1 002647 branch transmit_dmh 
+:      002649 transmit_3dh1:
+0xfe2 002650 set1 psk3m ,radio_ctrl 
+:      002651 transmit_dh1:
+0xfe3 002652 enable encode_fec0 
+0xfe4 002653 branch transmit_dmh 
+:      002655 transmit_dh3:
+:      002656 transmit_dh5:
+0xfe5 002657 set1 psk3m ,radio_ctrl 
+0xfe6 002658 enable encode_fec0 
+0xfe7 002659 set1 mark_longpacket ,mark 
+:      002661 transmit_dmh:
+0xfe8 002662 bpatch patch0e_5 ,mem_patch0e 
+0xfe9 002663 fetch 1 ,mem_state_map 
+0xfea 002664 bbit0 smap_edr ,transmit_noedr 
+0xfeb 002665 sub type ,3 ,null 
+0xfec 002666 branch transmit_noedr ,positive 
+0xfed 002667 disable encrypt 
+0xfee 002668 disable encode_fec2 
+0xfef 002669 enable encode_fec0 
+0xff0 002670 disable enable_white 
+0xff1 002671 set1 psk ,radio_ctrl 
+0xff2 002672 isolate1 psk3m ,radio_ctrl 
+0xff3 002673 branch transmit_edr3m ,true 
+0xff4 002674 setarg 0xabeee 
+0xff5 002675 inject mod ,20 
+0xff6 002676 branch transmit_edr_sync_end 
+:      002677 transmit_edr3m:
+0xff7 002678 setarg 0x5faeba 
+0xff8 002679 inject mod ,24 
+0xff9 002680 setarg 0x12 
+0xffa 002681 inject mod ,6 
+:      002682 transmit_edr_sync_end:
+0xffb 002683 enable enable_white 
+0xffc 002684 set1 mark_longpacket ,mark 
+:      002685 transmit_noedr:
+0xffd 002686 enable encrypt 
+0xffe 002687 enable enable_crc 
+0xfff 002688 bmark1 mark_loopback ,transmit_loopback 
+0x1000 002689 fetch 1 ,mem_tx_lch 
+0x1001 002690 inject mod ,3 
+0x1002 002691 fetch 2 ,mem_tx_len 
+0x1003 002692 iforce loopcnt 
+0x1004 002693 bmark1 mark_longpacket ,transmit_long 
+0x1005 002694 inject mod ,5 
+0x1006 002695 branch transmit_stuff 
+:      002696 transmit_long:
+0x1007 002697 inject mod ,13 
+:      002698 transmit_stuff:
+0x1008 002699 deposit loopcnt 
+0x1009 002700 branch transmit_end ,blank 
+0x100a 002701 fetch 2 ,mem_txptr 
+0x100b 002702 iforce contr 
+:      002703 transmit_stuff_loop:
+0x100c 002704 ifetch 1 ,contr 
+0x100d 002705 inject mod ,8 
+0x100e 002706 loop transmit_stuff_loop 
+:      002709 transmit_end:
+0x100f 002710 bpatch patch0e_6 ,mem_patch0e 
+0x1010 002711 call check_enc_ccm 
+0x1011 002712 branch transmit_end2 ,blank 
+0x1012 002713 fetch 4 ,mem_le_mic 
+0x1013 002714 inject mod ,32 
+:      002715 transmit_end2:
+0x1014 002716 enable enable_parity 
+0x1015 002717 inject mod ,16 
+0x1016 002718 disable enable_parity 
+0x1017 002719 call set_wait_ack 
+0x1018 002720 fetch 1 ,mem_state_map 
+0x1019 002721 bbit0 smap_edr ,end_of_packet 
+0x101a 002722 force 0 ,pdata 
+0x101b 002723 inject mod ,6 
+0x101c 002724 branch end_of_packet 
+:      002727 transmit_loopback:
+0x101d 002728 bpatch patch0e_7 ,mem_patch0e 
+0x101e 002729 bmark1 mark_longpacket ,transmit_loopback_long 
+:      002730 transmit_loopback_short:
+0x101f 002731 fetch 1 ,mem_lch_code 
+0x1020 002732 inject mod ,3 
+0x1021 002733 fetch 1 ,mem_len 
+0x1022 002734 iforce regc 
+0x1023 002735 inject mod ,5 
+0x1024 002736 branch transmit_loopback_cont 
+:      002737 transmit_loopback_long:
+0x1025 002738 fetch 1 ,mem_lch_code 
+0x1026 002739 inject mod ,3 
+0x1027 002740 fetch 2 ,mem_len 
+0x1028 002741 iforce regc 
+0x1029 002742 inject mod ,13 
+:      002743 transmit_loopback_cont:
+0x102a 002744 arg mem_l2cap_rxbuff1 ,contr 
+:      002745 transmit_loopback_loop:
+0x102b 002746 copy regc ,null 
+0x102c 002747 branch transmit_loopback_end ,zero 
+0x102d 002748 ifetch 1 ,contr 
+0x102e 002749 inject mod ,8 
+0x102f 002750 increase -1 ,regc 
+0x1030 002751 branch transmit_loopback_loop 
+:      002752 transmit_loopback_end:
+0x1031 002753 fetch 2 ,mem_tst_pktcnt_dmh 
+0x1032 002754 increase 1 ,pdata 
+0x1033 002755 store 2 ,mem_tst_pktcnt_dmh 
+0x1034 002756 branch transmit_end 
+:      002759 apply_switch_clke:
+0x1035 002760 fetch 4 ,mem_clke_bt 
+0x1036 002761 add pdata ,7 ,rega 
+0x1037 002762 fetch 2 ,mem_slot_offset 
+0x1038 002763 nbranch apply_switch_nozero ,blank 
+0x1039 002764 increase -3 ,rega 
+0x103a 002765 branch apply_switch_wait_loop 
+:      002766 apply_switch_nozero:
+0x103b 002767 mul32 pdata ,12 ,pdata 
+0x103c 002768 fetcht 2 ,core_halfslot 
+0x103d 002769 increase 1 ,temp 
+:      002770 apply_switch_loop:
+0x103e 002771 isub temp ,pdata 
+0x103f 002772 nbranch apply_switch_bt ,positive 
+0x1040 002773 increase -1 ,rega 
+0x1041 002774 branch apply_switch_loop 
+:      002775 apply_switch_bt:
+0x1042 002776 sub pdata ,0 ,pdata 
+:      002777 apply_switch_wait_loop:
+0x1043 002778 until null ,oneslot 
+0x1044 002779 compare 0 ,clkn_bt ,3 
+0x1045 002780 nbranch apply_switch_wait_loop ,true 
+0x1046 002781 iforce clke_rt 
+0x1047 002782 copy rega ,clke_bt 
+0x1048 002783 iforce clke_rt 
+0x1049 002784 rtn 
+:      002787 calc_slot_offset:
+0x104a 002788 bpatch patch0f_0 ,mem_patch0f 
+0x104b 002789 until null ,halfslot 
+0x104c 002790 deposit clke 
+0x104d 002791 iforce contr 
+0x104e 002792 rshift16 ,pdata ,pdata 
+0x104f 002793 isub clkn_bt ,loopcnt 
+0x1050 002794 and_into 3 ,loopcnt 
+0x1051 002795 nbranch calc_bt_portion ,zero 
+0x1052 002796 force 0 ,pdata 
+0x1053 002797 branch calc_skip_bt 
+:      002798 calc_bt_portion:
+0x1054 002799 fetcht 2 ,mem_param_rt_rthalfslot 
+0x1055 002800 force 0 ,pdata 
+:      002801 calc_slot_offset_loop:
+0x1056 002802 iadd temp ,pdata 
+0x1057 002803 loop calc_slot_offset_loop 
+:      002804 calc_skip_bt:
+0x1058 002805 iadd contr ,pdata 
+0x1059 002806 div pdata ,12 
+0x105a 002807 call get_div_result 
+0x105b 002808 store 2 ,mem_slot_offset 
+0x105c 002809 rtn 
+:      002811 calc_clke_offset:
+0x105d 002812 bpatch patch0f_1 ,mem_patch0f 
+0x105e 002813 deposit clke 
+0x105f 002814 copy clkn ,temp 
+0x1060 002815 isub temp ,null 
+0x1061 002816 nsetflag positive ,44 ,pdata 
+0x1062 002817 isub temp ,temp 
+0x1063 002818 fetch 2 ,mem_param_rt_rthalfslot 
+0x1064 002819 isolate0 15 ,temp 
+0x1065 002820 branch calc_clke_pos ,true 
+0x1066 002821 copy temp ,alarm 
+0x1067 002822 arg 0x10000 ,temp 
+0x1068 002823 fetch 2 ,mem_param_rt_rthalfslot 
+0x1069 002824 isub temp ,pdata 
+0x106a 002825 iadd alarm ,temp 
+:      002827 calc_clke_pos:
+0x106b 002828 storet 6 ,mem_le_clk_offset 
+0x106c 002829 rtn le 
+0x106d 002830 storet 6 ,mem_clk_offset 
+0x106e 002831 rtn 
+:      002833 calc_clke:
+0x106f 002834 disable clknt 
+0x1070 002835 fetch 6 ,mem_le_clk_offset 
+0x1071 002836 branch calc_clke2 ,le 
+0x1072 002837 fetch 6 ,mem_clk_offset 
+:      002838 calc_clke2:
+0x1073 002839 iadd clkn ,alarm 
+0x1074 002840 increase 10 ,alarm 
+0x1075 002841 fetch 2 ,mem_param_rt_rthalfslot 
+0x1076 002842 isub alarm ,pdata 
+0x1077 002843 isolate0 15 ,pdata 
+0x1078 002844 branch calc_clke_pos_adj ,true 
+0x1079 002845 setarg 0x10000 
+0x107a 002846 fetchr regd ,2 ,mem_param_rt_rthalfslot 
+0x107b 002847 isub regd ,pdata 
+0x107c 002848 iadd alarm ,alarm 
+:      002849 calc_clke_pos2:
+0x107d 002850 copy alarm ,clke 
+0x107e 002851 rtn 
+:      002852 calc_clke_pos_adj:
+0x107f 002853 force 0 ,null 
+0x1080 002854 branch calc_clke_pos2 
+:      002860 calc_mod_value_scale:
+0x1081 002861 branch calc_mod_value_scale_le2 ,le 
+0x1082 002862 setarg 0x402c17 
+0x1083 002863 store 3 ,mem_scale_ratio 
+0x1084 002864 rshift16 access ,pdata 
+0x1085 002865 rshift3 pdata ,temp 
+0x1086 002866 arg 48 ,loopcnt 
+:      002867 calc_mod_value_scale_do:
+0x1087 002868 setarg 0 
+0x1088 002869 store 3 ,mem_xcnt 
+:      002870 calc_mod_vs_loop:
+0x1089 002871 rshift temp ,pdata 
+0x108a 002872 ixor temp ,pdata 
+0x108b 002873 and_into 3 ,pdata 
+0x108c 002874 bbit0 1 ,calc_mod_vs01 
+0x108d 002875 pincrease -1 
+:      002876 calc_mod_vs01:
+0x108e 002877 arg mem_xcnt ,contw 
+0x108f 002878 iadd contw ,contw 
+0x1090 002879 ifetch 1 ,contw 
+0x1091 002880 pincrease 1 
+0x1092 002881 istore 1 ,contw 
+0x1093 002882 rshift temp ,temp 
+0x1094 002883 loop calc_mod_vs_loop 
+0x1095 002884 arg mem_xcnt + 2 ,rega 
+0x1096 002885 arg mem_scale_ratio ,regb 
+0x1097 002886 arg 0 ,regc 
+0x1098 002887 arg 3 ,loopcnt 
+:      002888 calc_mod_vs_loop2:
+0x1099 002889 ifetch 1 ,rega 
+0x109a 002890 ifetcht 1 ,regb 
+0x109b 002891 imul32 temp ,pdata 
+0x109c 002892 iadd regc ,regc 
+0x109d 002893 increase -1 ,rega 
+0x109e 002894 increase 1 ,regb 
+0x109f 002895 loop calc_mod_vs_loop2 
+0x10a0 002896 fetch 1 ,mem_scale_ratio + 1 
+0x10a1 002897 lshift8 pdata ,pdata 
+0x10a2 002898 lshift4 pdata ,pdata 
+0x10a3 002899 idiv regc 
+0x10a4 002900 call wait_div_end 
+0x10a5 002901 quotient pdata 
+0x10a6 002902 store 2 ,mod_value_scale1 
+0x10a7 002903 store 2 ,mem_scale_ratio_temp 
+0x10a8 002904 rtn 
+:      002906 calc_mod_value_scale_le2:
+0x10a9 002907 fetch 2 ,mem_scale_ratio_temp 
+0x10aa 002908 store 2 ,mod_value_scale1 
+0x10ab 002909 rtn 
+:      002911 calc_mod_value_scale_le:
+0x10ac 002912 setarg 0x402d19 
+0x10ad 002913 store 3 ,mem_scale_ratio 
+0x10ae 002914 rshift32 access ,pdata 
+0x10af 002915 rshift3 pdata ,temp 
+0x10b0 002916 arg 32 ,loopcnt 
+0x10b1 002917 branch calc_mod_value_scale_do 
+:      002919 calc_radio_freq:
+0x10b2 002920 bpatch patch0f_2 ,mem_patch0f 
+0x10b3 002921 call set_sync_on 
+0x10b4 002922 copy bt_clk ,pdata 
+0x10b5 002923 and_into 0x180 ,pdata 
+0x10b6 002924 compare 3 ,freq_mode ,0x07 
+0x10b7 002925 nbranch freq_not_connection ,true 
+0x10b8 002926 rshift3 pdata ,pdata 
+0x10b9 002927 iadd freq_index ,pdata 
+0x10ba 002928 branch do_hop_mod_now 
+:      002929 freq_not_connection:
+0x10bb 002930 copy freq_index ,pdata 
+:      002931 do_hop_mod_now:
+0x10bc 002932 div pdata ,79 
+0x10bd 002933 pulse recalc 
+0x10be 002934 call wait_div_end 
+0x10bf 002935 remainder rega 
+0x10c0 002936 add rega ,-40 ,temp 
+0x10c1 002937 branch odd_half ,positive 
+0x10c2 002938 lshift rega ,temp 
+0x10c3 002939 branch freq_result 
+:      002940 odd_half:
+0x10c4 002941 lshift temp ,temp 
+0x10c5 002942 increase 1 ,temp 
+:      002943 freq_result:
+0x10c6 002944 bpatch patch0f_3 ,mem_patch0f 
+0x10c7 002945 fetch 1 ,mem_mode 
+0x10c8 002946 bbit0 afh_change ,afh_process_con 
+:      002947 afh_process_0:
+0x10c9 002948 fetch 4 ,mem_afh_instant 
+0x10ca 002949 isub bt_clk ,null 
+0x10cb 002950 branch afh_process_con ,positive 
+0x10cc 002951 call afh_clear 
+0x10cd 002952 fetch 1 ,mem_afh_new_mod 
+0x10ce 002953 rtn blank 
+0x10cf 002954 fetch 1 ,mem_mode 
+0x10d0 002955 set1 afh_enable ,pdata 
+0x10d1 002956 store 1 ,mem_mode 
+0x10d2 002957 fetch 5 ,mem_afh_map_new 
+0x10d3 002958 store 5 ,mem_afh_map_lo 
+0x10d4 002959 ifetch 5 ,contr 
+0x10d5 002960 store 5 ,mem_afh_map_hi 
+0x10d6 002961 call afh_process_freq_map 
+:      002962 afh_process_con:
+0x10d7 002963 fetch 1 ,mem_mode 
+0x10d8 002964 rtnbit0 afh_enable 
+0x10d9 002965 isolate1 1 ,bt_clk 
+0x10da 002966 branch afh_same_channel ,true 
+0x10db 002967 rshift3 temp ,rega 
+0x10dc 002968 and temp ,7 ,queue 
+0x10dd 002969 setarg mem_afh_map_lo 
+0x10de 002970 iadd rega ,rega 
+0x10df 002971 ifetch 1 ,rega 
+0x10e0 002972 qisolate0 pdata 
+0x10e1 002973 branch afh_process_1 ,true 
+0x10e2 002974 deposit temp 
+0x10e3 002975 branch afh_process_end 
+:      002976 afh_process_1:
+0x10e4 002977 fetch 1 ,mem_afh_used 
+0x10e5 002978 iforce regb 
+0x10e6 002979 deposit bt_clk 
+0x10e7 002980 and_into 0x180 ,pdata 
+0x10e8 002981 rshift3 pdata ,pdata 
+0x10e9 002982 iadd freq_index ,pdata 
+0x10ea 002983 idiv regb 
+0x10eb 002984 setarg mem_afh_map 
+0x10ec 002985 call wait_div_end 
+0x10ed 002986 remainder rega 
+0x10ee 002987 iadd rega ,contr 
+0x10ef 002988 ifetch 1 ,contr 
+:      002989 afh_process_end:
+0x10f0 002990 store 1 ,mem_afh_index 
+0x10f1 002991 iforce temp 
+0x10f2 002992 rtn 
+:      002994 afh_same_channel:
+0x10f3 002995 fetch 1 ,mem_afh_index 
+0x10f4 002996 iforce temp 
+0x10f5 002997 rtn 
+:      002999 afh_clear:
+0x10f6 003000 fetch 1 ,mem_mode 
+0x10f7 003001 set0 afh_enable ,pdata 
+0x10f8 003002 set0 afh_change ,pdata 
+0x10f9 003003 store 1 ,mem_mode 
+0x10fa 003004 rtn 
+:      003005 afh_process_freq_map:
+0x10fb 003006 bpatch patch0f_4 ,mem_patch0f 
+0x10fc 003007 arg mem_afh_map ,contw 
+0x10fd 003008 force 10 ,loopcnt 
+0x10fe 003009 call memset0 
+0x10ff 003010 arg mem_afh_map ,contw 
+0x1100 003011 force 0 ,regc 
+0x1101 003012 force 2 ,queue 
+:      003013 process_freq_3:
+0x1102 003014 fetch 5 ,mem_afh_map_lo 
+0x1103 003015 iforce temp 
+0x1104 003016 compare 2 ,queue ,0xff 
+0x1105 003017 branch process_freq_1 ,true 
+0x1106 003018 rshift temp ,temp 
+:      003019 process_freq_1:
+0x1107 003020 isolate0 0 ,temp 
+0x1108 003021 branch process_freq_0 ,true 
+0x1109 003022 deposit regc 
+0x110a 003023 istore 1 ,contw 
+:      003024 process_freq_0:
+0x110b 003025 rshift2 temp ,temp 
+0x110c 003026 increase 2 ,regc 
+0x110d 003027 compare 40 ,regc ,0xfe 
+0x110e 003028 nbranch process_freq_2 ,true 
+0x110f 003029 fetch 5 ,mem_afh_map_hi 
+0x1110 003030 iforce temp 
+0x1111 003031 compare 2 ,queue ,0xff 
+0x1112 003032 branch process_freq_2 ,true 
+0x1113 003033 rshift temp ,temp 
+:      003034 process_freq_2:
+0x1114 003035 sub regc ,78 ,null 
+0x1115 003036 branch process_freq_1 ,positive 
+0x1116 003037 force 1 ,regc 
+0x1117 003038 increase -1 ,queue 
+0x1118 003039 nbranch process_freq_3 ,zero 
+0x1119 003040 arg mem_afh_map ,rega 
+0x111a 003041 deposit contw 
+0x111b 003042 isub rega ,pdata 
+0x111c 003043 store 1 ,mem_afh_used 
+0x111d 003044 rtn 
+:      003046 rx_radio_freq:
+0x111e 003047 bpatch patch0f_5 ,mem_patch0f 
+0x111f 003048 call calc_radio_freq 
+0x1120 003049 fetch 1 ,mem_debug_config 
+0x1121 003050 bbit0 debug_rx_fixed_freq ,rx_radio_freq_now 
+0x1122 003051 fetcht 1 ,mem_rx_fixed_freq 
+:      003052 rx_radio_freq_now:
+0x1123 003053 branch set_freq_rx 
+:      003056 tx_radio_freq:
+0x1124 003057 bpatch patch0f_6 ,mem_patch0f 
+0x1125 003058 call calc_radio_freq 
+0x1126 003059 fetch 1 ,mem_debug_config 
+0x1127 003060 bbit0 debug_tx_fixed_freq ,tx_radio_freq_now 
+0x1128 003061 fetcht 1 ,mem_tx_fixed_freq 
+:      003062 tx_radio_freq_now:
+0x1129 003063 branch set_freq_tx 
+:      003066 fetch_giac:
+0x112a 003067 force 0 ,uap 
+0x112b 003068 fetch 3 ,mem_glap 
+0x112c 003069 iforce lap 
+0x112d 003070 rtn 
+:      003072 fetch_page_bt_adr:
+0x112e 003073 bpatch patch0f_7 ,mem_patch0f 
+0x112f 003074 fetch 1 ,mem_hci_puap 
+0x1130 003075 icopy uap 
+0x1131 003076 fetch 3 ,mem_hci_plap 
+0x1132 003077 icopy lap 
+0x1133 003078 rtn 
+:      003080 fetch_self_bt_adr:
+0x1134 003081 bpatch patch10_0 ,mem_patch10 
+0x1135 003082 fetch 2 ,mem_nap 
+0x1136 003083 icopy nap 
+0x1137 003084 fetch 1 ,mem_uap 
+0x1138 003085 icopy uap 
+0x1139 003086 fetch 3 ,mem_lap 
+0x113a 003087 icopy lap 
+0x113b 003088 rtn 
+:      003090 fetch_extm_bt_adr:
+0x113c 003091 bpatch patch10_1 ,mem_patch10 
+0x113d 003092 fetch 2 ,mem_pnap 
+0x113e 003093 icopy nap 
+0x113f 003094 fetch 1 ,mem_puap 
+0x1140 003095 icopy uap 
+0x1141 003096 fetch 3 ,mem_plap 
+0x1142 003097 icopy lap 
+0x1143 003098 rtn 
+:      003101 fetch_diac:
+0x1144 003102 bmark1 mark_all_diac ,fetch_diac_do 
+0x1145 003103 rtnmark0 mark_inquiry_state 
+0x1146 003104 rtnmark0 mark_periodical_diac 
+:      003105 fetch_diac_do:
+0x1147 003106 and_into -256 ,lap 
+0x1148 003107 pulse recalc 
+0x1149 003108 nop 32 
+0x114a 003109 rtn 
+:      003112 shutdown_radio:
+0x114b 003113 bpatch patch10_2 ,mem_patch10 
+0x114c 003114 call rf_debug_shutdown_radio_line 
+0x114d 003115 force 0x08 ,radio_ctrl 
+0x114e 003116 force 0 ,radio_ctrl 
+0x114f 003117 disable is_rx 
+0x1150 003118 disable is_tx 
+0x1151 003119 pulse packet_end 
+0x1152 003120 jam 0x5 ,modem_en 
+0x1153 003121 nop 2 
+0x1154 003122 jam 0x0 ,modem_en 
+0x1155 003123 call set_sync_on 
+0x1156 003124 jam 0 ,core_syn_en 
+0x1157 003125 jam 0x10 ,core_rf_ldo_en0 
+0x1158 003126 fetch 1 ,core_clkpll_cfg6 
+0x1159 003127 set0 7 ,pdata 
+0x115a 003128 store 1 ,core_clkpll_cfg6 
+0x115b 003129 jam 0 ,core_rf_ldo_en1 
+0x115c 003130 branch gain_control 
+:      003134 set_sync_on:
+0x115d 003135 bpatch patch10_3 ,mem_patch10 
+0x115e 003136 jam 0x5 ,modem_en 
+0x115f 003137 nop 2 
+0x1160 003138 jam 0x0 ,modem_en 
+0x1161 003139 fetch 1 ,mem_fcomp_div 
+0x1162 003140 beq xtal_24m ,set_sync_on_24m 
+0x1163 003141 beq xtal_16m ,set_sync_on_16m 
+:      003142 set_sync_on_24m:
+0x1164 003143 jam 0xaa ,core_rf_ldo_cfg4 
+0x1165 003144 jam 0xaa ,core_rf_ldo_cfg5 
+0x1166 003145 jam 0x15 ,core_rf_ldo_cfg6 
+0x1167 003147 jam 0x78 ,core_rf_ldo_en0 
+0x1168 003148 fetch 1 ,core_clkpll_cfg6 
+0x1169 003149 set1 7 ,pdata 
+0x116a 003150 store 1 ,core_clkpll_cfg6 
+0x116b 003151 jam 0x04 ,core_rf_ldo_en1 
+0x116c 003152 nop 60 
+0x116d 003153 jam 0x7a ,core_syn_en 
+0x116e 003154 jam 0 ,core_rx_en0 
+0x116f 003155 jam 0 ,core_rx_en1 
+0x1170 003156 jam 0 ,core_tx_en0 
+0x1171 003157 jam 0 ,core_tx_en1 
+0x1172 003159 jam 0x2a ,core_rf_ldo_cfg5 
+0x1173 003160 jam 0x78 ,core_rf_ldo_en0 
+:      003161 set_sync_on_next:
+0x1174 003162 fetch 1 ,core_clkpll_cfg6 
+0x1175 003163 set0 7 ,pdata 
+0x1176 003164 store 1 ,core_clkpll_cfg6 
+0x1177 003165 jam 0 ,core_syn_cal_ctrl 
+0x1178 003166 rtn 
+:      003168 set_sync_on_16m:
+0x1179 003169 jam 0xe6 ,core_syn_aac_cfg1 
+0x117a 003171 jam 0xaa ,core_rf_ldo_cfg4 
+0x117b 003172 jam 0xaa ,core_rf_ldo_cfg5 
+0x117c 003173 jam 0x15 ,core_rf_ldo_cfg6 
+0x117d 003175 jam 0x78 ,core_rf_ldo_en0 
+0x117e 003176 fetch 1 ,core_clkpll_cfg6 
+0x117f 003177 set1 7 ,pdata 
+0x1180 003178 store 1 ,core_clkpll_cfg6 
+0x1181 003179 jam 0x04 ,core_rf_ldo_en1 
+0x1182 003180 nop 60 
+0x1183 003181 jam 0x3a ,core_syn_en 
+0x1184 003182 jam 0 ,core_rx_en0 
+0x1185 003183 jam 0 ,core_rx_en1 
+0x1186 003184 jam 0 ,core_tx_en0 
+0x1187 003185 jam 0 ,core_tx_en1 
+0x1188 003187 jam 0x2a ,core_rf_ldo_cfg5 
+0x1189 003188 jam 0x38 ,core_rf_ldo_en0 
+0x118a 003189 branch set_sync_on_next 
+:      003191 set_freq_rx:
+0x118b 003192 bpatch patch10_4 ,mem_patch10 
+0x118c 003194 fetch 1 ,mem_fcomp_div 
+0x118d 003195 sub pdata ,xtal_24m ,null 
+0x118e 003196 call rf_rx_write_freq_24m ,zero 
+0x118f 003197 ncall rf_rx_write_freq_16m ,zero 
+0x1190 003199 storet 1 ,mem_last_freq 
+0x1191 003200 add temp ,0 ,pdata 
+0x1192 003201 bmark1 mark_ble_2m ,set_rxfreq_2m_offset 
+0x1193 003202 add temp ,1 ,pdata 
+:      003203 set_rxfreq_2m_offset:
+0x1194 003204 call rf_rx_write_freq 
+0x1195 003205 branch calc_mod_value_scale 
+:      003208 rf_rx_write_freq_24m:
+0x1196 003209 jam 0 ,core_syn_cal_ctrl 
+0x1197 003210 jam 0x04 ,core_syn_top_ctrl 
+0x1198 003211 jam 0 ,core_syn_mmd_cp_ctrl 
+0x1199 003212 jam 0x03 ,core_syn_cp_lpf_cfg 
+0x119a 003213 jam 0x40 ,core_syn_afc_cfg3 
+0x119b 003214 rtn 
+:      003215 rf_rx_write_freq_16m:
+0x119c 003216 jam 0x30 ,core_syn_cal_ctrl 
+0x119d 003217 jam 0x06 ,core_syn_top_ctrl 
+0x119e 003218 jam 0 ,core_syn_mmd_cp_ctrl 
+0x119f 003219 jam 0x20 ,core_syn_cp_lpf_cfg 
+0x11a0 003220 jam 0x15 ,core_syn_afc_cfg3 
+0x11a1 003221 rtn 
+:      003223 rf_rx_enable:
+0x11a2 003224 bpatch patch10_5 ,mem_patch10 
+0x11a3 003225 call rf_debug_rx_gpio_high 
+0x11a4 003227 fetch 1 ,mem_gain_fix 
+0x11a5 003228 beq 0xff ,rf_rx_enable_no_soft_agc 
+0x11a6 003229 arg mem_gain_table ,contr 
+0x11a7 003230 iadd contr ,contr 
+0x11a8 003231 ifetch 1 ,contr 
+0x11a9 003232 store 1 ,core_rf_rx_gain_fix 
+0x11aa 003233 jam 0x27 ,core_rf_rx_agc_ctrl 
+:      003235 rf_rx_enable_no_soft_agc:
+0x11ab 003236 fetcht 1 ,mem_gain_second_agc_en 
+0x11ac 003237 fetch 1 ,core_rf_rx_agc_ctrl 
+0x11ad 003238 ior temp ,pdata 
+0x11ae 003239 store 1 ,core_rf_rx_agc_ctrl 
+0x11af 003241 jam 0xaa ,core_rf_ldo_cfg4 
+0x11b0 003242 jam 0x2a ,core_rf_ldo_cfg5 
+0x11b1 003243 jam 0x13 ,core_rf_ldo_cfg6 
+0x11b2 003244 jam 0x7f ,core_rf_ldo_en0 
+0x11b3 003245 fetch 1 ,core_clkpll_cfg6 
+0x11b4 003246 set0 7 ,pdata 
+0x11b5 003247 store 1 ,core_clkpll_cfg6 
+0x11b6 003248 nop 60 
+0x11b7 003249 jam 0x1f ,core_rx_en0 
+0x11b8 003250 jam 0xf8 ,core_rx_en1 
+0x11b9 003251 jam 0x18 ,core_tx_en0 
+0x11ba 003252 jam 0x00 ,core_rf_ldo_cfg4 
+0x11bb 003253 jam 0x20 ,core_rf_ldo_cfg5 
+0x11bc 003254 nop 10 
+0x11bd 003255 jam 0x04 ,modem_en 
+0x11be 003256 nop 2 
+0x11bf 003257 jam 0x0c ,modem_en 
+0x11c0 003258 rtn 
+:      003262 rf_rx_write_freq:
+0x11c1 003263 bpatch patch10_6 ,mem_patch10 
+0x11c2 003264 arg 2400 ,contr 
+0x11c3 003265 iadd contr ,pdata 
+0x11c4 003266 fetcht 1 ,mem_fcomp_div 
+0x11c5 003267 branch rf_write_freq_calc 
+:      003270 rf_tx_write_freq:
+0x11c6 003271 bpatch patch10_7 ,mem_patch10 
+0x11c7 003272 fetch 1 ,mem_fcomp_div 
+0x11c8 003273 sub pdata ,xtal_24m ,null 
+0x11c9 003274 call rf_tx_write_freq_24m ,zero 
+0x11ca 003275 ncall rf_tx_write_freq_16m ,zero 
+0x11cb 003277 setarg 2400 
+0x11cc 003278 iadd rega ,pdata 
+0x11cd 003279 lshift pdata ,pdata 
+0x11ce 003280 fetcht 1 ,mem_fcomp_div 
+0x11cf 003281 mul32 temp ,0x03 ,temp 
+:      003282 rf_write_freq_calc:
+0x11d0 003283 lshift temp ,temp 
+0x11d1 003284 idiv temp 
+0x11d2 003285 call wait_div_end 
+0x11d3 003286 quotient pdata 
+0x11d4 003287 store 1 ,core_syn_divr_int 
+0x11d5 003288 remainder pdata 
+0x11d6 003289 lshift16 pdata ,pdata 
+0x11d7 003290 lshift8 pdata ,pdata 
+0x11d8 003291 idiv temp 
+0x11d9 003292 call wait_div_end 
+0x11da 003293 quotient pdata 
+0x11db 003294 store 1 ,core_syn_divr_int + 3 
+0x11dc 003295 rshift8 pdata ,pdata 
+0x11dd 003296 store 1 ,core_syn_divr_int + 2 
+0x11de 003297 rshift8 pdata ,pdata 
+0x11df 003298 store 1 ,core_syn_divr_int + 1 
+0x11e0 003299 fetcht 1 ,core_syn_cal_ctrl 
+0x11e1 003300 and_into 0xf0 ,temp 
+0x11e2 003301 storet 1 ,core_syn_cal_ctrl 
+0x11e3 003302 nop 12 
+0x11e4 003303 fetch 1 ,mem_fcomp_div 
+0x11e5 003304 beq xtal_24m ,rf_write_freq_calc_24m 
+0x11e6 003305 beq xtal_16m ,rf_write_freq_calc_16m 
+:      003306 rf_write_freq_calc_24m:
+0x11e7 003307 or_into 0x0c ,temp 
+0x11e8 003308 storet 1 ,core_syn_cal_ctrl 
+0x11e9 003309 nop 12 
+0x11ea 003310 or_into 0x03 ,temp 
+0x11eb 003311 storet 1 ,core_syn_cal_ctrl 
+0x11ec 003312 rtn 
+:      003314 rf_write_freq_calc_16m:
+0x11ed 003315 or_into 0x3c ,temp 
+0x11ee 003316 storet 1 ,core_syn_cal_ctrl 
+0x11ef 003317 nop 12 
+0x11f0 003318 or_into 0x33 ,temp 
+0x11f1 003319 storet 1 ,core_syn_cal_ctrl 
+0x11f2 003320 rtn 
+:      003323 rf_tx_write_freq_24m:
+0x11f3 003324 jam 0 ,core_syn_cal_ctrl 
+0x11f4 003325 jam 0x12 ,core_syn_top_ctrl 
+0x11f5 003326 jam 0 ,core_syn_mmd_cp_ctrl 
+0x11f6 003327 jam 0x03 ,core_syn_cp_lpf_cfg 
+0x11f7 003328 jam 0xa6 ,core_syn_aac_cfg1 
+0x11f8 003329 jam 0x40 ,core_syn_afc_cfg3 
+0x11f9 003330 rtn 
+:      003332 rf_tx_write_freq_16m:
+0x11fa 003333 jam 0x30 ,core_syn_cal_ctrl 
+0x11fb 003334 jam 0x15 ,core_syn_top_ctrl 
+0x11fc 003335 jam 0 ,core_syn_mmd_cp_ctrl 
+0x11fd 003336 jam 0x20 ,core_syn_cp_lpf_cfg 
+0x11fe 003337 jam 0xa6 ,core_syn_aac_cfg1 
+0x11ff 003338 jam 0x15 ,core_syn_afc_cfg3 
+0x1200 003339 rtn 
+:      003342 set_freq_tx:
+0x1201 003343 bpatch patch11_0 ,mem_patch11 
+0x1202 003345 jam 0x12 ,core_syn_top_ctrl 
+0x1203 003346 storet 1 ,mem_last_freq 
+0x1204 003347 add temp ,2 ,rega 
+0x1205 003348 call rf_tx_write_freq 
+0x1206 003349 nop 0x3c0 
+:      003351 txon:
+0x1207 003352 bpatch patch11_1 ,mem_patch11 
+0x1208 003354 jam 0xaa ,core_rf_ldo_cfg4 
+0x1209 003355 jam 0x2a ,core_rf_ldo_cfg5 
+0x120a 003356 jam 0x10 ,core_rf_ldo_cfg6 
+0x120b 003358 jam 0x7f ,core_rf_ldo_en0 
+0x120c 003359 fetch 1 ,core_clkpll_cfg6 
+0x120d 003360 set0 7 ,pdata 
+0x120e 003361 store 1 ,core_clkpll_cfg6 
+0x120f 003362 jam 0x07 ,core_rf_ldo_en1 
+0x1210 003363 nop 60 
+0x1211 003365 jam 0x0d ,core_tx_en0 
+0x1212 003366 jam 0xf9 ,core_tx_en1 
+0x1213 003367 jam 0x00 ,core_rf_ldo_cfg4 
+0x1214 003368 jam 0x20 ,core_rf_ldo_cfg5 
+0x1215 003369 nop 10 
+0x1216 003370 jam 0x01 ,modem_en 
+0x1217 003371 nop 2 
+0x1218 003372 jam 0x03 ,modem_en 
+0x1219 003374 bpatch patch11_2 ,mem_patch11 
+0x121a 003375 fetch 1 ,mem_tx_power 
+0x121b 003376 beq tx_power_3db ,set_tx_power_3db 
+0x121c 003377 beq tx_power_5db ,set_tx_power_5db 
+0x121d 003378 beq tx_power_6db ,set_tx_power_6db 
+0x121e 003379 beq tx_power_7db ,set_tx_power_7db 
+0x121f 003380 beq tx_power_10db ,set_tx_power_10db 
+0x1220 003381 beq tx_power_f3db ,set_tx_power_f3db 
+0x1221 003382 beq tx_power_f5db ,set_tx_power_f5db 
+0x1222 003383 beq tx_power_f20db ,set_tx_power_f20db 
+0x1223 003384 beq tx_power_f30db ,set_tx_power_f30db 
+:      003385 set_tx_power_0db:
+0x1224 003386 jam 0x6a ,core_tx_pwr_ctrl0 
+0x1225 003387 jam 0x07 ,core_tx_pwr_ctrl1 
+:      003388 set_rf_ldo_cfg89:
+0x1226 003389 jam 0xa3 ,core_rf_ldo_cfg8 
+0x1227 003390 jam 0x07 ,core_rf_ldo_cfg9 
+0x1228 003391 rtn 
+:      003393 set_tx_power_3db:
+0x1229 003394 jam 0x66 ,core_tx_pwr_ctrl0 
+0x122a 003395 jam 0x0b ,core_tx_pwr_ctrl1 
+:      003396 set_rf_ldo_cfg89_2:
+0x122b 003397 jam 0xaa ,core_rf_ldo_cfg8 
+0x122c 003398 jam 0x0a ,core_rf_ldo_cfg9 
+0x122d 003399 rtn 
+:      003401 set_tx_power_5db:
+0x122e 003402 jam 0x6c ,core_tx_pwr_ctrl0 
+0x122f 003403 jam 0x0d ,core_tx_pwr_ctrl1 
+0x1230 003404 branch set_rf_ldo_cfg89_2 
+:      003406 set_tx_power_6db:
+0x1231 003407 jam 0x6b ,core_tx_pwr_ctrl0 
+0x1232 003408 jam 0x0f ,core_tx_pwr_ctrl1 
+0x1233 003409 branch set_rf_ldo_cfg89_2 
+:      003411 set_tx_power_7db:
+0x1234 003412 jam 0xa7 ,core_tx_pwr_ctrl0 
+0x1235 003413 jam 0x0f ,core_tx_pwr_ctrl1 
+0x1236 003414 branch set_rf_ldo_cfg89_2 
+:      003416 set_tx_power_10db:
+0x1237 003417 jam 0xb6 ,core_tx_pwr_ctrl0 
+0x1238 003418 jam 0x0f ,core_tx_pwr_ctrl1 
+0x1239 003419 branch set_rf_ldo_cfg89_2 
+:      003421 set_tx_power_f3db:
+0x123a 003422 jam 0x68 ,core_tx_pwr_ctrl0 
+0x123b 003423 jam 0x05 ,core_tx_pwr_ctrl1 
+0x123c 003424 branch set_rf_ldo_cfg89 
+:      003426 set_tx_power_f5db:
+0x123d 003427 jam 0x60 ,core_tx_pwr_ctrl0 
+0x123e 003428 jam 0x05 ,core_tx_pwr_ctrl1 
+0x123f 003429 branch set_rf_ldo_cfg89 
+:      003431 set_tx_power_f20db:
+0x1240 003432 jam 0x53 ,core_tx_pwr_ctrl0 
+0x1241 003433 jam 0x01 ,core_tx_pwr_ctrl1 
+0x1242 003434 branch set_rf_ldo_cfg89 
+:      003436 set_tx_power_f30db:
+0x1243 003437 jam 0x4c ,core_tx_pwr_ctrl0 
+0x1244 003438 jam 0x00 ,core_tx_pwr_ctrl1 
+0x1245 003439 branch set_rf_ldo_cfg89 
+:      003442 initialize_radio:
+0x1246 003443 jam clksel_rc ,core_clksel 
+:      003444 initialize_radio_wait:
+0x1247 003445 fetch 2 ,mem_rf_init_ptr 
+0x1248 003446 bbit0 14 ,initialize_radio_wait 
+0x1249 003447 iforce contr 
+0x124a 003448 arg 0x8a00 ,temp 
+:      003449 initialize_radio_loop:
+0x124b 003450 ifetch 1 ,contr 
+0x124c 003451 beq 0xff ,initialize_radio_cont 
+0x124d 003452 ior temp ,contw 
+0x124e 003453 ifetch 1 ,contr 
+0x124f 003454 istore 1 ,contw 
+0x1250 003455 branch initialize_radio_loop 
+:      003457 initialize_radio_cont:
+0x1251 003458 bpatch patch11_3 ,mem_patch11 
+0x1252 003459 jam 0x05 ,core_clkpll_cfg0 
+0x1253 003460 jam 0x94 ,core_rx_iqadc_cfg 
+0x1254 003461 call initialize_rc_cal 
+0x1255 003462 call initialize_rf_ldo_cfg1 
+0x1256 003463 call initialize_syn_afc_cfg1 
+0x1257 003464 jam 0xe6 ,core_syn_aac_cfg1 
+0x1258 003467 jam 0x90 ,core_syn_pfd_lkd_cfg 
+0x1259 003468 jam 0x0b ,core_rf_ldo_cfg2 
+0x125a 003469 jam 0x05 ,core_rf_ldo_cfg3 
+0x125b 003472 jam 0x76 ,core_agc_wb_sat_th 
+0x125c 003473 jam 0x76 ,core_agc_nb_sat_th 
+0x125d 003475 fetch 1 ,mem_fcomp_div 
+0x125e 003476 bne xtal_16m ,initialize_radio_cont_next 
+0x125f 003477 jam 0x34 ,core_clkpll_cfg5 
+:      003478 initialize_radio_cont_next:
+0x1260 003479 jam 0xff ,core_clkpll_ctrl1 
+0x1261 003480 nop 100 
+0x1262 003481 jam 0x0e ,core_clkpll_ctrl2 
+0x1263 003482 jam 0x03 ,core_clkpll_ctrl0 
+0x1264 003484 call set_tx_power_0db 
+0x1265 003486 jam 0x2b ,core_tx_mixer_cfg1 
+0x1266 003487 jam 0x13 ,core_tx_mixer_cfg2 
+0x1267 003489 call init_lpm_ctrl 
+0x1268 003490 nop 10 
+0x1269 003491 jam clksel_dpll ,core_clksel 
+0x126a 003492 jam system_clk_12m ,mem_system_clk 
+0x126b 003493 branch le_disable 
+:      003496 initialize_syn_afc_cfg1:
+0x126c 003497 fetch 1 ,mem_syn_afc_cfg1 
+0x126d 003498 branch initialize_syn_afc_cfg1_default ,blank 
+0x126e 003499 or_into 0x20 ,pdata 
+0x126f 003500 store 1 ,core_syn_afc_cfg1 
+0x1270 003501 rtn 
+:      003502 initialize_syn_afc_cfg1_default:
+0x1271 003503 jam 0x29 ,core_syn_afc_cfg1 
+0x1272 003504 rtn 
+:      003506 initialize_rf_ldo_cfg1:
+0x1273 003507 fetch 1 ,mem_rf_ldo_cfg1 
+0x1274 003508 branch initialize_rf_ldo_cfg1_default ,blank 
+0x1275 003509 store 1 ,core_rf_ldo_cfg1 
+0x1276 003510 rtn 
+:      003511 initialize_rf_ldo_cfg1_default:
+0x1277 003512 jam 0x00 ,core_rf_ldo_cfg1 
+0x1278 003513 rtn 
+:      003515 initialize_rc_cal:
+0x1279 003516 fetch 1 ,mem_rc_cal 
+0x127a 003517 branch initialize_rc_cal_default ,blank 
+0x127b 003518 store 1 ,core_rx_bq_bw_cal 
+0x127c 003519 rtn 
+:      003520 initialize_rc_cal_default:
+0x127d 003521 jam 0xd3 ,core_rx_bq_bw_cal 
+0x127e 003522 rtn 
+:      003528 save_rssi:
+0x127f 003529 bpatch patch11_4 ,mem_patch11 
+0x1280 003530 jam 0x20 ,mem_rssi_hex 
+0x1281 003531 fetch 1 ,modem_rssi 
+0x1282 003532 store 1 ,mem_modem_rssi 
+0x1283 003533 sub pdata ,0xfc ,null 
+0x1284 003534 nrtn positive 
+0x1285 003535 sub pdata ,0x7f ,null 
+0x1286 003536 rtn positive 
+0x1287 003538 fetch 1 ,modem_gain 
+0x1288 003539 and pdata ,0x0f ,temp 
+0x1289 003540 lshift temp ,temp 
+0x128a 003541 rshift4 pdata ,pdata 
+0x128b 003542 iadd temp ,temp 
+0x128c 003543 mul32 temp ,3 ,temp 
+0x128d 003544 fetch 1 ,mem_modem_rssi 
+0x128e 003545 sub pdata ,0xff ,pdata 
+0x128f 003546 iadd temp ,pdata 
+0x1290 003547 increase -5 ,pdata 
+0x1291 003548 store 1 ,mem_rssi_hex 
+0x1292 003549 rtn 
+:      003551 rssi_hex2dec:
+0x1293 003552 fetch 1 ,mem_rssi_hex 
+0x1294 003553 call bcd 
+0x1295 003554 store 1 ,mem_rssi 
+0x1296 003555 rtn 
+:      003557 bcd:
+0x1297 003558 and_into 0xff ,pdata 
+0x1298 003559 div pdata ,10 
+0x1299 003560 call get_div_result 
+0x129a 003561 lshift4 pdata ,pdata 
+0x129b 003562 remainder temp 
+0x129c 003563 ior temp ,pdata 
+0x129d 003564 rtn 
+:      003566 gain_control:
+0x129e 003567 fetch 1 ,mem_gain_fix 
+0x129f 003568 rtneq 0xff 
+0x12a0 003569 nbranch gain_increase ,sync 
+0x12a1 003570 fetch 1 ,mem_modem_rssi 
+0x12a2 003571 sub pdata ,0xf0 ,null 
+0x12a3 003572 nbranch gain_descend ,positive 
+0x12a4 003573 sub pdata ,0x7f ,null 
+0x12a5 003574 branch gain_descend ,positive 
+0x12a6 003576 fetchr rega ,1 ,core_rf_rx_gain_fix 
+0x12a7 003577 fetch 1 ,mem_gain_fix 
+0x12a8 003578 rtneq 0 
+0x12a9 003579 arg mem_gain_table ,contr 
+0x12aa 003580 iadd contr ,contr 
+0x12ab 003581 ifetch 1 ,contr 
+0x12ac 003582 isub rega ,null 
+0x12ad 003583 nrtn zero 
+0x12ae 003584 increase -2 ,contr 
+0x12af 003585 ifetcht 1 ,contr 
+0x12b0 003586 rshift4 temp ,pdata 
+0x12b1 003587 rshift4 rega ,regb 
+0x12b2 003588 isub regb ,regb 
+0x12b3 003589 and temp ,0xf ,pdata 
+0x12b4 003590 and rega ,0xf ,rega 
+0x12b5 003591 isub rega ,rega 
+0x12b6 003592 lshift rega ,pdata 
+0x12b7 003593 iadd regb ,regb 
+0x12b8 003594 mul32 regb ,3 ,regb 
+0x12b9 003595 fetcht 1 ,mem_modem_rssi 
+0x12ba 003596 and temp ,0x80 ,pdata 
+0x12bb 003597 rtn blank 
+:      003598 add_negative:
+0x12bc 003599 setarg 0x100 
+0x12bd 003600 isub temp ,temp 
+0x12be 003601 copy regb ,pdata 
+0x12bf 003602 isub temp ,pdata 
+0x12c0 003603 rtn positive 
+0x12c1 003604 and pdata ,0xff ,pdata 
+0x12c2 003605 rtneq 0xff 
+0x12c3 003606 rtneq 0xfe 
+:      003608 gain_increase:
+0x12c4 003609 fetch 1 ,mem_gain_fix 
+0x12c5 003610 beq 1 ,set_rx_gain0 
+0x12c6 003611 beq 2 ,set_rx_gain1 
+0x12c7 003613 branch set_rx_gain0 
+:      003615 gain_descend:
+0x12c8 003616 fetch 1 ,mem_gain_fix 
+0x12c9 003617 beq 0 ,set_rx_gain1 
+0x12ca 003618 beq 1 ,set_rx_gain2 
+:      003620 set_rx_gain2:
+0x12cb 003621 jam 2 ,mem_gain_fix 
+0x12cc 003622 rtn 
+:      003624 set_rx_gain0:
+0x12cd 003625 jam 0 ,mem_gain_fix 
+0x12ce 003626 rtn 
+:      003628 set_rx_gain1:
+0x12cf 003629 jam 1 ,mem_gain_fix 
+0x12d0 003630 rtn 
+:      003633 xtal_fast_wake:
+0x12d1 003634 setarg 0xf0f 
+0x12d2 003635 branch lpm_write_config 
+:      003637 init_lpm_ctrl:
+0x12d3 003638 setarg 0x80f 
+0x12d4 003639 branch lpm_write_config 
+:      003643 start_receiver:
+0x12d5 003644 bpatch patch11_5 ,mem_patch11 
+0x12d6 003645 disable is_tx 
+0x12d7 003646 enable is_rx 
+0x12d8 003647 pulse init_encrypt 
+0x12d9 003648 branch rf_rx_enable 
+:      003650 prep_crypt:
+0x12da 003651 bpatch patch11_6 ,mem_patch11 
+0x12db 003652 call check_enc_ccm 
+0x12dc 003653 nbranch prep_crypt_ccm ,blank 
+0x12dd 003654 fetch 1 ,mem_state_map 
+0x12de 003655 isolate1 smap_encryption ,pdata 
+0x12df 003656 setflag true ,0 ,pdata 
+0x12e0 003657 store 1 ,core_encrypt 
+0x12e1 003658 arg mem_kc ,contr 
+0x12e2 003659 ifetch 9 ,contr 
+0x12e3 003660 iforce kc_ls 
+0x12e4 003661 ifetch 7 ,contr 
+0x12e5 003662 iforce kc_ms 
+0x12e6 003663 fetch 1 ,mem_key_size 
+0x12e7 003664 add pdata ,-1 ,g1l 
+0x12e8 003665 pulse kc_p_activate 
+0x12e9 003666 rtn 
+:      003668 prep_crypt_ccm:
+0x12ea 003669 jam 0 ,core_encrypt 
+0x12eb 003670 rtn 
+:      003672 wait_access_end:
+0x12ec 003673 deposit clke 
+0x12ed 003674 store 6 ,mem_sync_clke 
+0x12ee 003675 disable decode_fec0 
+0x12ef 003676 nbranch shutdown_radio ,sync 
+0x12f0 003677 fetch 2 ,mem_param_clke_cal 
+0x12f1 003678 copy pdata ,clke_rt 
+0x12f2 003679 increase 1 ,clke_bt 
+0x12f3 003680 and_into 0x1fc ,clke_bt 
+0x12f4 003681 rtn 
+:      003685 wait_access_mhalfbnd:
+0x12f5 003686 enable decode_fec0 
+:      003687 wait_access_mhalfbnd_correlate:
+0x12f6 003688 correlate null ,mhalfbnd 
+0x12f7 003689 branch wait_access_end ,sync 
+0x12f8 003690 compare 0x02 ,clke_bt ,0x02 
+0x12f9 003691 nbranch wait_access_mhalfbnd_correlate ,true 
+0x12fa 003692 branch wait_access_end 
+:      003694 wait_access_clkn_rt:
+0x12fb 003695 bpatch patch11_7 ,mem_patch11 
+0x12fc 003696 fetchr timeup ,2 ,mem_param_conn_access 
+0x12fd 003697 enable decode_fec0 
+0x12fe 003698 correlate clkn_rt ,meet 
+0x12ff 003699 disable decode_fec0 
+0x1300 003700 nbranch shutdown_radio ,sync 
+0x1301 003701 rtn 
+:      003703 wait_access_forever:
+0x1302 003704 bpatch patch12_0 ,mem_patch12 
+0x1303 003705 enable decode_fec0 
+0x1304 003706 correlate null ,timeout 
+0x1305 003707 disable decode_fec0 
+0x1306 003708 nbranch shutdown_radio ,sync 
+0x1307 003709 fetch 2 ,mem_param_clke_cal 
+0x1308 003710 copy pdata ,clke_rt 
+0x1309 003711 and_into 0x1fc ,clke_bt 
+0x130a 003712 rtn 
+:      003715 reserve_slot:
+0x130b 003716 bpatch patch12_1 ,mem_patch12 
+0x130c 003717 iforce rega 
+0x130d 003718 deposit bt_clk 
+0x130e 003719 iadd temp ,timeup 
+0x130f 003720 copy timeup ,pdata 
+0x1310 003721 store 4 ,mem_next_btclk 
+0x1311 003722 deposit rega 
+0x1312 003723 rtn 
+:      003726 ahead_window:
+0x1313 003727 copy pdata ,temp 
+0x1314 003728 bpatch patch12_2 ,mem_patch12 
+0x1315 003729 copy temp ,pdata 
+0x1316 003730 call clk2bt 
+0x1317 003731 lshift16 bt_clk ,pdata 
+0x1318 003732 set1 44 ,pdata 
+0x1319 003733 call clk_diff 
+0x131a 003734 set0 44 ,pdata 
+0x131b 003735 call get_clk 
+0x131c 003736 call clk_diff 
+0x131d 003737 rtn user 
+0x131e 003738 call clk2rt 
+0x131f 003739 iforce stop_watch 
+0x1320 003740 until null ,timeout 
+0x1321 003741 rtn 
+:      003744 setup_clk:
+0x1322 003745 bpatch patch12_3 ,mem_patch12 
+0x1323 003746 branch setup_clkn ,clknt 
+0x1324 003747 until clke_rt ,meet 
+:      003748 skip_setup_clke:
+0x1325 003749 copy clke_bt ,temp 
+0x1326 003750 branch setup_clknbt 
+:      003751 setup_clkn:
+0x1327 003752 branch skip_setup_clkn ,attempt 
+0x1328 003753 until clkn_rt ,meet 
+:      003754 skip_setup_clkn:
+0x1329 003755 copy clkn_bt ,temp 
+:      003756 setup_clknbt:
+0x132a 003757 branch setup_clk11 ,user 
+0x132b 003758 compare 1 ,temp ,3 
+0x132c 003759 nbranch setup_clk ,true 
+:      003760 setup_complete:
+0x132d 003761 bpatch patch12_4 ,mem_patch12 
+0x132e 003762 fetch 1 ,mem_state 
+0x132f 003763 rtnbit0 state_inconn 
+0x1330 003764 fetch 4 ,mem_next_btclk 
+0x1331 003765 isub temp ,pdata 
+0x1332 003766 nrtn positive 
+0x1333 003767 sub pdata ,0xff ,null 
+0x1334 003768 branch setup_clk ,positive 
+0x1335 003769 rtn 
+:      003770 setup_clk11:
+0x1336 003771 compare 3 ,temp ,3 
+0x1337 003772 nbranch setup_clk ,true 
+0x1338 003773 branch setup_complete 
+:      003775 rf_setup_time:
+0x1339 003776 bpatch patch12_5 ,mem_patch12 
+0x133a 003777 fetchr timeup ,2 ,mem_param_rf_setup 
+0x133b 003778 branch setup_clk 
+:      003780 rf_setup_time_slave_slot:
+0x133c 003781 disable user 
+0x133d 003782 branch rf_setup_time 
+:      003784 rf_setup_time_master_slot:
+0x133e 003785 enable user 
+0x133f 003786 branch rf_setup_time 
+:      003788 start_transmitter:
+0x1340 003789 bpatch patch12_6 ,mem_patch12 
+0x1341 003790 call prep_crypt 
+0x1342 003791 disable is_rx 
+0x1343 003792 enable is_tx 
+0x1344 003793 rtn 
+:      003797 start_tx_native:
+0x1345 003798 bpatch patch12_7 ,mem_patch12 
+0x1346 003799 fetchr timeup ,2 ,mem_param_tx_setup 
+0x1347 003800 until clkn_rt ,meet 
+0x1348 003801 pulse init_encrypt 
+0x1349 003802 rtn 
+:      003804 start_rx_native:
+0x134a 003805 bpatch patch13_0 ,mem_patch13 
+0x134b 003806 fetchr timeup ,2 ,mem_param_rx_setup 
+0x134c 003807 until clkn_rt ,meet 
+0x134d 003808 rtn 
+:      003811 start_tx_external:
+0x134e 003812 bpatch patch13_1 ,mem_patch13 
+0x134f 003813 fetchr timeup ,2 ,mem_param_tx_setup 
+0x1350 003814 until clke_rt ,meet 
+0x1351 003815 pulse init_encrypt 
+0x1352 003816 rtn 
+:      003818 send_access_word:
+0x1353 003819 bpatch patch13_2 ,mem_patch13 
+0x1354 003820 call rf_debug_tx_on_line 
+0x1355 003821 preload access 
+0x1356 003822 enable encode_fec0 
+0x1357 003823 set1 txgfsk ,radio_ctrl 
+0x1358 003824 inject mod ,72 
+0x1359 003825 disable encode_fec0 
+0x135a 003826 rtn 
+:      003829 scan_mode_whiten:
+0x135b 003830 copy xin ,temp 
+0x135c 003831 or_into 0x60 ,temp 
+0x135d 003832 copy temp ,white_init 
+0x135e 003833 rtn 
+:      003838 get_free_amaddr:
+0x135f 003839 bpatch patch13_3 ,mem_patch13 
+0x1360 003840 fetch 1 ,mem_current_amaddr 
+0x1361 003841 increase 1 ,pdata 
+0x1362 003842 bne param_esco_addr ,get_free_amaddr_cont 
+0x1363 003843 force 1 ,pdata 
+:      003844 get_free_amaddr_cont:
+0x1364 003845 store 1 ,mem_current_amaddr 
+0x1365 003846 iforce am_addr 
+0x1366 003847 rtn 
+:      003849 get_clk:
+0x1367 003850 copy clkn ,temp 
+0x1368 003851 rtn master 
+0x1369 003852 copy clke ,temp 
+0x136a 003853 rtn 
+:      003855 get_clkbt:
+0x136b 003856 deposit clkn_bt 
+0x136c 003857 rtn master 
+0x136d 003858 deposit clke_bt 
+0x136e 003859 rtn 
+:      003862 supervision_update:
+0x136f 003863 bpatch patch13_4 ,mem_patch13 
+0x1370 003864 fetcht 4 ,mem_supervision_timer 
+0x1371 003865 call get_clkbt 
+0x1372 003866 isub temp ,timeup 
+0x1373 003867 deposit timeup 
+0x1374 003868 fetcht 2 ,mem_supervision_to 
+0x1375 003869 lshift temp ,temp 
+0x1376 003870 isub temp ,pdata 
+0x1377 003871 rtn 
+:      003873 supervision_flush:
+0x1378 003874 bpatch patch13_5 ,mem_patch13 
+0x1379 003875 call get_clkbt 
+0x137a 003876 store 4 ,mem_supervision_timer 
+0x137b 003877 rtn 
+:      003879 assert:
+0x137c 003880 bpatch patch13_6 ,mem_patch13 
+0x137d 003881 branch assert 
+:      003883 loop:
+0x137e 003884 branch loop 
+:      003886 sleep:
+0x137f 003887 rtn blank 
+0x1380 003889 rshift pdata ,pdata 
+0x1381 003890 increase -3 ,pdata 
+:      003891 sleep_loop:
+0x1382 003892 increase -1 ,pdata 
+0x1383 003893 nbranch sleep_loop ,zero 
+0x1384 003894 force 0 ,pdata 
+0x1385 003895 rtn 
+:      003899 init_param:
+0x1386 003901 arg 0x10 ,loopcnt 
+0x1387 003902 arg 0 ,contw 
+0x1388 003903 call memset0 
+0x1389 003904 arg mem_le_state ,contw 
+0x138a 003905 arg 10 ,loopcnt 
+0x138b 003906 call memset0 
+0x138c 003907 jam 0 ,mem_sp_calc 
+0x138d 003908 jam 0 ,mem_fifo_temp 
+0x138e 003909 jam 0 ,mem_le_testtype 
+0x138f 003910 jam 0 ,mem_debug_config 
+0x1390 003911 jam 0 ,mem_lmp_conn_state 
+0x1391 003912 jam 0 ,mem_connection_options 
+0x1392 003913 jam 0 ,mem_tester_emulate 
+0x1393 003914 jam 0 ,mem_tester_cnt 
+0x1394 003915 setarg param_glap 
+0x1395 003916 store 3 ,mem_glap 
+0x1396 003917 jam 0x60 ,mem_fhs_misc 
+0x1397 003918 jam param_max_slot ,mem_max_slot 
+0x1398 003919 jam 0x02 ,mem_fw_ver 
+0x1399 003921 setarg param_tx_setup 
+0x139a 003922 store 2 ,mem_param_tx_setup 
+0x139b 003923 setarg param_rf_setup 
+0x139c 003924 store 2 ,mem_param_rf_setup 
+0x139d 003925 setarg param_conn_access 
+0x139e 003926 store 2 ,mem_param_conn_access 
+0x139f 003927 setarg param_rx_setup 
+0x13a0 003928 store 2 ,mem_param_rx_setup 
+0x13a1 003929 setarg param_clke_cal 
+0x13a2 003930 store 2 ,mem_param_clke_cal 
+0x13a3 003931 setarg param_pll_setup 
+0x13a4 003932 store 2 ,mem_param_pll_setup 
+0x13a5 003933 setarg param_dpll_start_delay 
+0x13a6 003934 store 2 ,mem_param_dpll_start_delay 
+0x13a7 003935 setarg param_rt_rthalfslot 
+0x13a8 003936 store 2 ,mem_param_rt_rthalfslot 
+0x13a9 003937 setarg param_clke_cal_le_1m 
+0x13aa 003938 store 2 ,mem_param_clke_cal_le_1m 
+0x13ab 003939 setarg param_clke_cal_le_2m 
+0x13ac 003940 store 2 ,mem_param_clke_cal_le_2m 
+0x13ad 003941 setarg param_clke_cal_le_coded 
+0x13ae 003942 store 2 ,mem_param_clke_cal_le_coded 
+0x13af 003943 setarg mem_ble_tx_buff0 
+0x13b0 003944 store 2 ,mem_ble_l2cap_tx_buff0_ptr 
+0x13b1 003945 setarg mem_ble_l2cap_tx_buff_size 
+0x13b2 003946 store 2 ,mem_ble_l2cap_tx_buff_size_ptr 
+0x13b3 003948 call init_memp 
+0x13b4 003949 setarg mem_sp_state_end 
+0x13b5 003950 arg mem_sp_state_start ,contw 
+0x13b6 003951 isub contw ,loopcnt 
+0x13b7 003952 call clear_mem 
+0x13b8 003954 bpatch patch13_7 ,mem_patch13 
+0x13b9 003955 rtn wake 
+0x13ba 003956 jam bluetooth_core_specification_5_0 ,mem_lmp_version 
+0x13bb 003957 setarg company_id_yichip 
+0x13bc 003958 store 2 ,mem_lmp_compid 
+0x13bd 003959 setarg 0x08 
+0x13be 003960 store 2 ,mem_lmp_subversion 
+0x13bf 003961 jam 0x7f ,mem_seqi 
+0x13c0 003963 setarg 0x24 
+0x13c1 003964 store 2 ,mem_iscan_window 
+0x13c2 003965 store 2 ,mem_pscan_window 
+0x13c3 003966 setarg 0x200 
+0x13c4 003967 store 2 ,mem_iscan_interval 
+0x13c5 003968 store 2 ,mem_pscan_interval 
+0x13c6 003969 setarg 0x20 
+0x13c7 003970 store 2 ,mem_inq_window 
+0x13c8 003971 store 2 ,mem_page_window 
+0x13c9 003972 setarg 0x2000 
+0x13ca 003973 store 2 ,mem_page_to 
+0x13cb 003974 setarg 0x480 
+0x13cc 003975 store 2 ,mem_rx_window_init 
+0x13cd 003976 setarg 0xc00 
+0x13ce 003977 store 2 ,mem_rx_window_sniff 
+0x13cf 003979 setarg 0xc3f 
+0x13d0 003980 store 2 ,mem_lpm_xtalcnt + 1 
+0x13d1 003981 setarg 0x333 
+0x13d2 003982 istore 2 ,contw 
+0x13d3 003983 setarg 0x24109d 
+0x13d4 003984 store 3 ,mem_lpm_ctrl3 + 1 
+0x13d5 003986 call clear_wake 
+0x13d6 003987 setarg 0 
+0x13d7 003988 store 2 ,mem_tx_len 
+0x13d8 003989 rshift clkn_bt ,pdata 
+0x13d9 003990 store 4 ,mem_last_clkn 
+0x13da 003991 rtn 
+:      003993 clk24m_init:
+0x13db 003994 jam 6 ,core_clksel 
+0x13dc 003995 jam 1 ,core_clksel 
+0x13dd 003996 nop 10 
+0x13de 003997 setarg 7498 
+0x13df 003998 store 2 ,core_halfslot 
+0x13e0 003999 rtn 
+:      004005 lpmstate:
+0x13e1 004006 setarg 0xee21 
+0x13e2 004007 store 2 ,core_clkoff 
+0x13e3 004008 fetch 4 ,core_gpio_in 
+0x13e4 004009 store 4 ,mem_saved_gpio_in 
+0x13e5 004010 fetch 1 ,core_lpm_ctrl + 3 
+0x13e6 004011 store 1 ,mem_wakup_from_power_flag 
+0x13e7 004012 fetch 1 ,core_lpm_ldocnt 
+0x13e8 004013 bbit0 gpio_latch ,loadcode 
+0x13e9 004014 enable wake 
+0x13ea 004015 bbit0 cold_wake ,lpmwake 
+0x13eb 004016 disable wake 
+0x13ec 004017 deposit auxcnt 
+0x13ed 004018 nbranch lpmwake ,blank 
+0x13ee 004019 fetch 1 ,core_lpm_ctrl + 3 
+0x13ef 004020 bbit1 reload_code ,lpmwake 
+0x13f0 004021 arg param_hibernate_clks ,temp 
+0x13f1 004022 branch lpm_enter_sleep 
+:      004023 lpmwake:
+0x13f2 004024 fetch 4 ,core_lpm_ctrl2 
+0x13f3 004025 store 4 ,core_lpm_reg 
+0x13f4 004026 fetch 1 ,core_lpm_ctrl2 + 1 
+0x13f5 004027 and_into 0xe0 ,pdata 
+0x13f6 004028 store 1 ,core_lpm_reg + 1 
+0x13f7 004029 call lpm_write_ctrl3 
+0x13f8 004030 fetch 3 ,core_lpm_xtalcnt 
+0x13f9 004031 store 3 ,core_lpm_reg 
+0x13fa 004032 ifetch 1 ,contr 
+0x13fb 004033 or_into isogate_mask ,pdata 
+0x13fc 004034 istore 1 ,contw 
+0x13fd 004035 call lpm_write_ctrl2 
+0x13fe 004036 fetch 1 ,core_lpm_isogate 
+0x13ff 004037 set1 enable_retmem ,pdata 
+0x1400 004038 store 1 ,core_lpm_isogate 
+0x1401 004039 call lpm_write_ctrl2 
+0x1402 004040 call lpm_load_context ,wake 
+0x1403 004041 fetch 1 ,core_lpm_reg + 2 
+0x1404 004042 set0 gpio_latch ,pdata 
+0x1405 004043 store 1 ,core_lpm_reg + 2 
+0x1406 004044 call lpm_write_ctrl2 
+0x1407 004045 nbranch loadcode ,wake 
+0x1408 004046 call lpm_save_mpu_lock 
+0x1409 004047 rtnmark0 mark_otp_encrypt 
+0x140a 004048 jam lock_otp ,core_misc_ctrl 
+0x140b 004049 rtn 
+:      004051 lpm_save_mpu_lock:
+0x140c 004052 fetch 3 ,mem_efuse_header 
+0x140d 004053 rtn blank 
+0x140e 004054 store 3 ,mem_tmp_buffer 
+0x140f 004055 branch app_lpm_peripheral_lock_check 
+:      004057 lpm_ctrl3_cfg_dig_vsel:
+0x1410 004058 fetch 1 ,mem_dig_aon_vsel 
+0x1411 004059 beq 1 ,lpm_ctrl3_cfg_vsel_108 
+0x1412 004060 beq 2 ,lpm_ctrl3_cfg_vsel_096 
+0x1413 004061 beq 3 ,lpm_ctrl3_cfg_vsel_084 
+:      004062 lpm_ctrl3_cfg_vsel_120:
+0x1414 004063 fetch 1 ,mem_lpm_ctrl3 + 1 
+0x1415 004064 and_into 0xe0 ,pdata 
+:      004065 lpm_ctrl3_cfg_vsel_store:
+0x1416 004066 store 1 ,mem_lpm_ctrl3 + 1 
+0x1417 004067 rtn 
+:      004068 lpm_ctrl3_cfg_vsel_108:
+0x1418 004069 fetch 1 ,mem_lpm_ctrl3 + 1 
+0x1419 004070 and_into 0xe0 ,pdata 
+0x141a 004071 or_into 0x1d ,pdata 
+0x141b 004072 branch lpm_ctrl3_cfg_vsel_store 
+:      004073 lpm_ctrl3_cfg_vsel_096:
+0x141c 004074 fetch 1 ,mem_lpm_ctrl3 + 1 
+0x141d 004075 and_into 0xe0 ,pdata 
+0x141e 004076 or_into 0x1b ,pdata 
+0x141f 004077 branch lpm_ctrl3_cfg_vsel_store 
+:      004078 lpm_ctrl3_cfg_vsel_084:
+0x1420 004079 fetch 1 ,mem_lpm_ctrl3 + 1 
+0x1421 004080 and_into 0xe0 ,pdata 
+0x1422 004081 or_into 0x17 ,pdata 
+0x1423 004082 branch lpm_ctrl3_cfg_vsel_store 
+:      004084 lpm_load_context:
+0x1424 004085 fetch 1 ,mem_saved_spidctrl 
+0x1425 004086 store 1 ,core_spid_ctrl 
+0x1426 004087 arg mem_saved_gpio ,contr 
+0x1427 004088 arg core_gpio_conf ,contw 
+0x1428 004089 call memcpy20 
+0x1429 004090 fetch 8 ,mem_saved_mark 
+0x142a 004091 iforce mark 
+0x142b 004092 fetch 8 ,core_gpio_wakeup_low 
+0x142c 004093 store 8 ,mem_gpio_wakeup_low 
+0x142d 004094 branch load_ucode 
+:      004096 lpm_save_context:
+0x142e 004097 deposit mark 
+0x142f 004098 store 8 ,mem_saved_mark 
+0x1430 004099 arg core_gpio_conf ,contr 
+0x1431 004100 arg mem_saved_gpio ,contw 
+0x1432 004101 call memcpy20 
+0x1433 004102 fetch 1 ,core_spid_ctrl 
+0x1434 004103 store 1 ,mem_saved_spidctrl 
+0x1435 004104 branch lpm_write_gpio_wakeup 
+:      004106 lpo_calibration:
+0x1436 004107 fetch 1 ,core_aes_en 
+0x1437 004108 rshift4 pdata ,pdata 
+0x1438 004109 nbranch lpo_cal_inited ,blank 
+0x1439 004110 fetch 3 ,mem_clks_per_lpo 
+0x143a 004111 nrtn blank 
+0x143b 004112 fetch 1 ,core_aes_en 
+0x143c 004113 or_into 0xc0 ,pdata 
+0x143d 004114 store 1 ,core_aes_en 
+0x143e 004115 jam ccnt_start ,core_misc_ctrl 
+:      004116 lpo_cal_inited:
+0x143f 004117 fetch 1 ,core_perf_status 
+0x1440 004118 rtnbit0 1 
+0x1441 004119 fetch 3 ,core_clk_counter 
+0x1442 004120 store 3 ,mem_clks_per_lpo 
+0x1443 004121 rtn 
+:      004125 lpm_adjust_clk:
+0x1444 004126 bpatch patch14_0 ,mem_patch14 
+0x1445 004127 deposit clke 
+0x1446 004128 call clk_diff_rt 
+0x1447 004129 fetcht 4 ,mem_sleep_counter_all 
+0x1448 004130 sub temp ,0xff ,null 
+0x1449 004131 rtn positive 
+0x144a 004132 lshift8 pdata ,pdata 
+0x144b 004133 lshift4 pdata ,pdata 
+0x144c 004134 idiv temp 
+0x144d 004135 call get_div_result 
+0x144e 004136 arg param_lpm_adjmax ,temp 
+0x144f 004137 call ceiling 
+0x1450 004138 store 1 ,mem_lpm_adjust 
+0x1451 004139 nbranch lpm_adjust_positive ,user 
+0x1452 004140 sub pdata ,0 ,pdata 
+:      004141 lpm_adjust_positive:
+0x1453 004142 fetcht 3 ,mem_clks_per_lpo 
+0x1454 004143 iadd temp ,pdata 
+0x1455 004144 store 3 ,mem_clks_per_lpo 
+:      004145 lpm_clear_counter:
+0x1456 004146 setarg 0 
+0x1457 004147 store 4 ,mem_sleep_counter_all 
+0x1458 004148 rtn 
+:      004160 lpm_hibernate:
+0x1459 004161 arg param_hibernate_clks ,temp 
+0x145a 004162 fetch 1 ,mem_lpm_config + 1 
+0x145b 004163 set0 7 ,pdata 
+0x145c 004164 store 1 ,mem_lpm_config + 1 
+:      004165 lpm_hibernate_normal:
+0x145d 004166 bpatch patch14_1 ,mem_patch14 
+0x145e 004167 call lpm_write_gpio_wakeup 
+0x145f 004168 fetch 1 ,mem_lpm_hibernate_switch 
+0x1460 004169 store 1 ,mem_lpm_xtalcnt + 4 
+0x1461 004170 fetch 1 ,mem_lpm_xtalcnt + 2 
+0x1462 004171 set1 cold_wake ,pdata 
+0x1463 004172 store 1 ,mem_lpm_xtalcnt + 2 
+:      004175 lpm_sleep:
+0x1464 004176 bpatch patch14_2 ,mem_patch14 
+0x1465 004177 call xtal_fast_wake 
+0x1466 004178 fetch 2 ,mem_cb_before_lpm_sleep 
+0x1467 004179 call callback_func 
+:      004180 lpm_sleep_skip_cb_function:
+0x1468 004181 fetch 4 ,mem_sleep_counter_all 
+0x1469 004182 iadd temp ,pdata 
+0x146a 004183 store 4 ,mem_sleep_counter_all 
+0x146b 004184 call lpm_save_context 
+0x146c 004185 call lpm_ctrl3_cfg_dig_vsel 
+0x146d 004186 fetch 4 ,mem_lpm_ctrl3 
+0x146e 004187 copy pdata ,regb 
+0x146f 004188 fetch 5 ,mem_lpm_xtalcnt 
+0x1470 004189 store 4 ,core_lpm_reg 
+0x1471 004190 rshift32 pdata ,rega 
+0x1472 004191 until null ,lpo_edge 
+0x1473 004192 deposit clkn 
+0x1474 004193 store 6 ,mem_sleep_clkn 
+0x1475 004194 jam lpmreg_sel_ctrl2 ,core_lpm_wr 
+0x1476 004195 until null ,lpo_edge 
+0x1477 004196 until null ,lpo_edge 
+0x1478 004197 deposit rega 
+0x1479 004198 store 1 ,core_lpm_isogate 
+0x147a 004199 jam lpmreg_sel_ctrl2 ,core_lpm_wr 
+0x147b 004200 until null ,lpo_edge 
+0x147c 004201 until null ,lpo_edge 
+0x147d 004202 storer regb ,4 ,core_lpm_reg 
+0x147e 004203 jam lpmreg_sel_ctrl3 ,core_lpm_wr 
+:      004204 lpm_enter_sleep:
+0x147f 004205 until null ,lpo_edge 
+0x1480 004206 until null ,lpo_edge 
+0x1481 004207 storet 4 ,core_lpm_reg 
+0x1482 004208 jam lpmreg_sel_counter ,core_lpm_wr 
+0x1483 004209 until null ,never 
+:      004214 lpm_recover_clk:
+0x1484 004215 bpatch patch14_3 ,mem_patch14 
+0x1485 004216 setarg 0 
+0x1486 004217 copy auxcnt ,null 
+0x1487 004218 branch lpm_recover_timeout ,zero 
+0x1488 004219 fetch 1 ,core_lpm_xtalcnt 
+0x1489 004220 fetcht 1 ,core_lpm_buckcnt 
+0x148a 004221 isub temp ,null 
+0x148b 004222 branch lpm_recover_xtal ,positive 
+0x148c 004223 deposit temp 
+:      004224 lpm_recover_xtal:
+0x148d 004225 isub auxcnt ,pdata 
+0x148e 004226 increase 1 ,pdata 
+:      004227 lpm_recover_timeout:
+0x148f 004228 increase 10 ,pdata 
+0x1490 004229 until null ,lpo_edge 
+0x1491 004230 iadd lpo_time ,pdata 
+0x1492 004231 fetcht 4 ,mem_sleep_counter 
+0x1493 004232 iadd temp ,pdata 
+0x1494 004233 fetcht 3 ,mem_clks_per_lpo 
+0x1495 004234 imul32 temp ,pdata 
+0x1496 004235 rshift8 pdata ,pdata 
+0x1497 004236 rshift4 pdata ,pdata 
+0x1498 004237 increase param_lpm_fix ,pdata 
+0x1499 004238 fetcht 2 ,mem_param_rt_rthalfslot 
+0x149a 004239 idiv temp 
+0x149b 004240 call get_div_result 
+0x149c 004241 lshift16 pdata ,pdata 
+0x149d 004242 remainder temp 
+0x149e 004243 ior temp ,pdata 
+0x149f 004244 fetcht 6 ,mem_sleep_clkn 
+0x14a0 004245 call clk_add 
+0x14a1 004246 copy temp ,clkn 
+0x14a2 004247 fetch 6 ,mem_context + coffset_clk_offset 
+0x14a3 004248 call calc_clke2 
+0x14a4 004249 deposit clke 
+0x14a5 004250 store 6 ,mem_pdatatemp 
+0x14a6 004251 deposit auxcnt 
+0x14a7 004252 istore 1 ,contw 
+0x14a8 004253 fetch 1 ,core_gpio_in1 
+0x14a9 004254 or_into 0xf0 ,pdata 
+0x14aa 004255 istore 1 ,contw 
+0x14ab 004256 rtn 
+:      004258 lpm_dispatch:
+0x14ac 004259 bpatch patch14_4 ,mem_patch14 
+0x14ad 004260 call lpo_calibration 
+0x14ae 004261 fetch 3 ,mem_clks_per_lpo 
+0x14af 004262 rtn blank 
+0x14b0 004263 fetch 1 ,mem_lpm_mode 
+0x14b1 004264 rtn blank 
+0x14b2 004265 fetch 1 ,mem_ssp_enable 
+0x14b3 004266 branch lpm_dispatch_next ,blank 
+0x14b4 004267 fetch 1 ,mem_sp_local_key_invalid 
+0x14b5 004268 rtn blank 
+:      004269 lpm_dispatch_next:
+0x14b6 004270 fetch 1 ,mem_sc_calc 
+0x14b7 004271 nrtn blank 
+0x14b8 004272 arg context_check_a_wack ,regc 
+0x14b9 004273 call context_search 
+0x14ba 004274 rtn zero 
+0x14bb 004275 call lpm_check_wake_lock 
+0x14bc 004276 nrtn blank 
+0x14bd 004277 fetch 1 ,mem_context 
+0x14be 004278 compare 3 ,pdata ,0x7 
+0x14bf 004279 nbranch lpm_dispatch_unconn ,true 
+0x14c0 004280 fetch 2 ,mem_context + coffset_tsniff 
+0x14c1 004281 rtn blank 
+0x14c2 004282 rtn wake 
+0x14c3 004283 bpatch patch14_5 ,mem_patch14 
+:      004284 lpm_dispatch_next2:
+0x14c4 004285 fetcht 1 ,mem_lpm_current_mult 
+0x14c5 004286 fetch 2 ,mem_context + coffset_tsniff 
+0x14c6 004287 imul32 temp ,pdata 
+0x14c7 004288 rshift4 temp ,temp 
+0x14c8 004289 rshift2 temp ,temp 
+0x14c9 004290 isub temp ,pdata 
+0x14ca 004291 fetcht 4 ,mem_context + coffset_sniff_anchor 
+0x14cb 004292 iadd temp ,pdata 
+0x14cc 004293 fetcht 1 ,mem_lpm_overhead 
+0x14cd 004294 isub temp ,pdata 
+0x14ce 004295 lshift16 pdata ,alarm 
+0x14cf 004296 bpatch patch14_6 ,mem_patch14 
+0x14d0 004297 fetch 2 ,mem_context + coffset_rx_window 
+0x14d1 004298 rshift pdata ,pdata 
+0x14d2 004299 call clk2bt 
+0x14d3 004300 deposit alarm 
+0x14d4 004301 call clk_diff 
+0x14d5 004302 copy clke ,temp 
+0x14d6 004303 call clk_diff_rt 
+0x14d7 004304 rtn user 
+:      004305 lpm_dispatch_sleep:
+0x14d8 004306 call clk2lpo 
+:      004307 lpm_dispatch_lpo:
+0x14d9 004308 bpatch patch14_7 ,mem_patch14 
+0x14da 004309 fetch 1 ,mem_lpm_xtalcnt 
+0x14db 004310 isub temp ,null 
+0x14dc 004311 branch lpm_clear_counter ,positive 
+0x14dd 004312 storet 4 ,mem_sleep_counter 
+0x14de 004313 call app_will_enter_lpm 
+0x14df 004314 call l2cap_lpm_save_txbuf 
+0x14e0 004315 fetcht 4 ,mem_sleep_counter 
+0x14e1 004316 branch lpm_sleep 
+:      004318 lpm_dispatch_unconn:
+0x14e2 004319 bpatch patch15_0 ,mem_patch15 
+0x14e3 004320 fetch 1 ,mem_context 
+0x14e4 004321 rtnbit1 state_inconn 
+0x14e5 004322 rtnbit1 state_inpage 
+0x14e6 004323 fetch 1 ,mem_ssp_enable 
+0x14e7 004324 branch lpm_unconn_nossp ,blank 
+0x14e8 004325 fetch 1 ,mem_sp_local_key_invalid 
+0x14e9 004326 rtn blank 
+:      004327 lpm_unconn_nossp:
+0x14ea 004328 fetch 1 ,mem_le_adv_enable 
+0x14eb 004329 nbranch lpm_unconn_cont ,blank 
+0x14ec 004330 fetch 1 ,mem_scan_mode 
+0x14ed 004331 rtn blank 
+:      004332 lpm_unconn_cont:
+0x14ee 004333 fetch 2 ,mem_lpm_interval 
+0x14ef 004334 rtn blank 
+:      004335 lpm_sleep_btclk:
+0x14f0 004336 fetcht 1 ,mem_lpm_overhead 
+0x14f1 004337 isub temp ,pdata 
+0x14f2 004338 arg 7500 ,temp 
+0x14f3 004339 imul32 temp ,pdata 
+0x14f4 004340 branch lpm_dispatch_sleep 
+:      004342 lpm_set_mult:
+0x14f5 004343 bpatch patch15_1 ,mem_patch15 
+0x14f6 004344 disable wake 
+0x14f7 004345 fetch 1 ,mem_state 
+0x14f8 004346 rtnbit0 state_insniff 
+0x14f9 004347 nbranch lpm_not_match ,match 
+0x14fa 004348 call lpm_match 
+0x14fb 004349 fetch 2 ,mem_rx_window_sniff 
+0x14fc 004350 store 2 ,mem_rx_window 
+0x14fd 004351 fetch 1 ,mem_arq 
+0x14fe 004352 bbit1 wack ,lpm_mult_short 
+0x14ff 004353 bmark0 mark_lpm_mult_enable ,lpm_mult_short 
+0x1500 004354 call l2cap_malloc_is_fifo_empty 
+0x1501 004355 nbranch lpm_mult_short ,blank 
+0x1502 004356 fetch 1 ,mem_classic_bt_flag 
+0x1503 004357 bbit1 short_mult_flag ,lpm_mult_short 
+:      004358 lpm_mult_wait_timeout:
+0x1504 004359 fetch 2 ,mem_cb_bt_set_mult 
+0x1505 004360 call callback_func 
+0x1506 004361 nbranch lpm_mult_short ,blank 
+0x1507 004362 jam 0 ,mem_lpm_current_mult 
+0x1508 004363 bmark0 mark_lpm_mult_enable ,lpm_mult_short 
+0x1509 004364 fetch 1 ,mem_lpm_mult_cnt 
+0x150a 004365 branch lpm_mult_long ,blank 
+0x150b 004366 increase -1 ,pdata 
+0x150c 004367 store 1 ,mem_lpm_mult_cnt 
+0x150d 004368 rtn 
+:      004371 classic_bt_set_mult_short_flag:
+0x150e 004372 arg short_mult_flag ,queue 
+0x150f 004373 branch classic_bluetooth_set_flag 
+:      004375 classic_bt_clr_mult_short_flag:
+0x1510 004376 arg short_mult_flag ,queue 
+0x1511 004377 branch classic_bluetooth_clr_flag 
+:      004381 lpm_match:
+0x1512 004382 jam 0 ,mem_sniff_unint_lost 
+0x1513 004383 fetch 3 ,mem_sniff_rcv 
+0x1514 004384 increase 1 ,pdata 
+0x1515 004385 store 3 ,mem_sniff_rcv 
+0x1516 004386 rtn 
+:      004388 lpm_not_match:
+0x1517 004389 bpatch patch15_2 ,mem_patch15 
+0x1518 004390 fetcht 2 ,mem_rx_window_sniff 
+0x1519 004391 rshift temp ,temp 
+0x151a 004392 fetch 2 ,mem_rx_window 
+0x151b 004393 iadd temp ,pdata 
+0x151c 004394 store 2 ,mem_rx_window 
+:      004395 lpm_lost:
+0x151d 004396 jam 0 ,mem_lpm_current_mult 
+0x151e 004397 fetch 3 ,mem_sniff_lost 
+0x151f 004398 increase 1 ,pdata 
+0x1520 004399 store 3 ,mem_sniff_lost 
+0x1521 004400 fetch 1 ,mem_sniff_unint_lost 
+0x1522 004401 increase 1 ,pdata 
+0x1523 004402 store 1 ,mem_sniff_unint_lost 
+0x1524 004403 rtn 
+:      004405 lpm_mult_short:
+0x1525 004406 jam 0 ,mem_lpm_current_mult 
+0x1526 004407 fetch 1 ,mem_lpm_mult_timeout 
+0x1527 004408 store 1 ,mem_lpm_mult_cnt 
+0x1528 004409 rtn 
+:      004411 lpm_mult_long:
+0x1529 004412 fetcht 1 ,mem_lpm_mult 
+0x152a 004413 storet 1 ,mem_lpm_current_mult 
+0x152b 004414 rtn 
+:      004416 lpm_cal_xtal_startup:
+0x152c 004417 fetch 1 ,mem_lpm_xtalcnt 
+0x152d 004418 nrtn blank 
+0x152e 004419 jam clksel_rc ,core_clksel 
+0x152f 004420 setarg 0xf0c 
+0x1530 004421 call lpm_write_config 
+0x1531 004422 setarg 200000 
+0x1532 004423 call sleep 
+0x1533 004424 until null ,lpo_edge 
+0x1534 004425 copy lpo_time ,alarm 
+0x1535 004426 call xtal_fast_wake 
+0x1536 004427 jam clksel_xtal ,core_clksel 
+0x1537 004428 nop 10 
+0x1538 004429 until null ,lpo_edge 
+0x1539 004430 deposit lpo_time 
+0x153a 004431 isub alarm ,pdata 
+0x153b 004432 increase 0x30 ,pdata 
+0x153c 004433 arg 0xff ,temp 
+0x153d 004434 call ceiling 
+0x153e 004435 store 1 ,mem_lpm_xtalcnt 
+0x153f 004436 nop 30000 
+0x1540 004437 nop 30000 
+0x1541 004438 nop 30000 
+0x1542 004439 rtn 
+:      004473 lpm_write_config:
+0x1543 004474 arg 0xfff ,contw 
+0x1544 004475 iand contw ,contw 
+0x1545 004476 fetch 1 ,mem_lpm_config 
+0x1546 004477 and_into 0xf0 ,pdata 
+0x1547 004478 lshift8 pdata ,pdata 
+0x1548 004479 ior contw ,pdata 
+0x1549 004480 store 2 ,core_lpm_reg 
+0x154a 004481 ifetch 2 ,contr 
+0x154b 004482 istore 2 ,contw 
+:      004484 lpm_write_ctrl:
+0x154c 004485 setarg lpmreg_sel_ctrl 
+0x154d 004486 branch lpm_write 
+:      004488 lpm_write_ctrl2:
+0x154e 004489 setarg lpmreg_sel_ctrl2 
+:      004490 lpm_write:
+0x154f 004491 until null ,lpo_edge 
+0x1550 004492 store 1 ,core_lpm_wr 
+0x1551 004493 until null ,lpo_edge 
+0x1552 004494 until null ,lpo_edge 
+0x1553 004495 rtn 
+:      004497 lpm_write_sel_vdd:
+0x1554 004498 fetch 4 ,core_lpm_ctrl2 
+0x1555 004499 store 4 ,core_lpm_reg 
+0x1556 004500 fetch 1 ,core_lpm_ctrl2 
+0x1557 004501 and_into 0x41 ,pdata 
+0x1558 004502 fetcht 1 ,mem_lpm_ctrl3 
+0x1559 004503 ior temp ,pdata 
+0x155a 004504 store 1 ,core_lpm_reg 
+:      004505 lpm_write_ctrl3:
+0x155b 004506 setarg lpmreg_sel_ctrl3 
+0x155c 004507 branch lpm_write 
+:      004510 lpm_write_gpio_wakeup:
+0x155d 004511 bpatch patch15_3 ,mem_patch15 
+0x155e 004512 fetch 4 ,mem_gpio_wakeup_low 
+0x155f 004513 store 4 ,core_lpm_reg 
+0x1560 004514 setarg lpmreg_sel_gpiolow 
+0x1561 004515 call lpm_write 
+0x1562 004516 fetch 4 ,mem_gpio_wakeup_high 
+0x1563 004517 store 4 ,core_lpm_reg 
+0x1564 004518 setarg lpmreg_sel_gpiohigh 
+0x1565 004519 branch lpm_write 
+:      004521 lpm_get_wake_lock:
+0x1566 004522 fetch 2 ,mem_lpm_wake_lock 
+0x1567 004523 qset1 pdata 
+0x1568 004524 store 2 ,mem_lpm_wake_lock 
+0x1569 004525 rtn 
+:      004527 lpm_put_wake_lock:
+0x156a 004528 fetch 2 ,mem_lpm_wake_lock 
+0x156b 004529 qset0 pdata 
+0x156c 004530 store 2 ,mem_lpm_wake_lock 
+0x156d 004531 rtn 
+:      004535 lpm_check_wake_lock:
+0x156e 004536 bpatch patch15_4 ,mem_patch15 
+0x156f 004537 call app_check_wake_lock 
+0x1570 004538 fetch 2 ,mem_lpm_wake_lock 
+0x1571 004539 copy pdata ,rega 
+0x1572 004540 fetch 1 ,mem_state_map 
+0x1573 004541 isolate1 smap_rxlmp ,pdata 
+0x1574 004542 setflag true ,wake_lock_lmp_rx ,rega 
+0x1575 004543 fetch 1 ,mem_lmo_opcode1 
+0x1576 004544 fetcht 1 ,mem_lmo_opcode2 
+0x1577 004545 iadd temp ,pdata 
+0x1578 004546 fetcht 1 ,mem_lmp_to_send 
+0x1579 004547 iadd temp ,pdata 
+0x157a 004548 nsetflag blank ,wake_lock_lmp_tx ,rega 
+0x157b 004549 fetch 3 ,mem_tx_fifo3 
+0x157c 004550 nsetflag blank ,wake_lock_ble_tx ,rega 
+0x157d 004551 fetch 2 ,mem_l2cap_rxbuff1_len 
+0x157e 004552 fetcht 2 ,mem_l2cap_rxbuff2_len 
+0x157f 004553 iadd temp ,pdata 
+0x1580 004554 nsetflag blank ,wake_lock_l2cap_rx ,rega 
+0x1581 004555 fetch util_fifo_len ,mem_ipc_fifo_bt2c51 
+0x1582 004556 nsetflag blank ,wake_lock_ipc_bt2c51 ,rega 
+0x1583 004557 fetch util_fifo_len ,mem_ipc_fifo_c512bt 
+0x1584 004558 nsetflag blank ,wake_lock_ipc_c512bt ,rega 
+0x1585 004559 fetch 1 ,mem_hci_cmd 
+0x1586 004560 nsetflag blank ,wake_lock_cmd ,rega 
+0x1587 004561 fetch 1 ,mem_device_option 
+0x1588 004562 compare dvc_op_module ,pdata ,0xff 
+0x1589 004563 call lpm_uart_wake_lock ,true 
+0x158a 004564 copy rega ,pdata 
+0x158b 004565 store 2 ,mem_lpm_wake_lock 
+0x158c 004566 rtn 
+:      004568 lpm_uart_wake_lock:
+0x158d 004569 fetch 2 ,core_uart_rxitems 
+0x158e 004570 nsetflag blank ,wake_lock_uart_rx ,rega 
+0x158f 004571 fetch 2 ,core_uart_txitems 
+0x1590 004572 nsetflag blank ,wake_lock_uart_tx ,rega 
+0x1591 004573 rtn 
+:      004575 lpm_shut_down:
+0x1592 004576 fetch 4 ,core_lpm_ctrl 
+0x1593 004577 set0 27 ,pdata 
+0x1594 004578 store 4 ,core_lpm_reg 
+0x1595 004579 call lpm_write_ctrl 
+0x1596 004580 branch assert 
+:      004582 lpm_disable_exen_output:
+0x1597 004583 fetch 4 ,core_lpm_xtalcnt 
+0x1598 004584 set0 20 ,pdata 
+0x1599 004585 store 4 ,core_lpm_reg 
+0x159a 004586 branch lpm_write_ctrl2 
+:      004593 le_init_conn:
+0x159b 004594 bpatchx patch33_1 ,mem_patch33 
+0x159c 004595 disable wake 
+0x159d 004596 jam 1 ,mem_le_conn_handle 
+0x159e 004597 jam 3 ,mem_le_state 
+0x159f 004598 jam 1 ,mem_le_arq 
+0x15a0 004599 setarg -1 
+0x15a1 004600 store 2 ,mem_le_event_count 
+0x15a2 004601 force 0 ,pdata 
+0x15a3 004602 store 1 ,mem_le_ch 
+0x15a4 004603 store 1 ,mem_le_op 
+0x15a5 004604 store 3 ,mem_sniff_rcv 
+0x15a6 004605 store 3 ,mem_sniff_lost 
+0x15a7 004606 call le_clear_enc 
+0x15a8 004607 jam 1 ,mem_le_txheader 
+0x15a9 004608 jam 0 ,mem_le_txlen 
+0x15aa 004609 jam fun_rx_ll_1m_phy ,mem_le_rx_phy 
+0x15ab 004610 jam fun_tx_ll_1m_phy ,mem_le_tx_phy 
+0x15ac 004611 jam 0 ,mem_le_l2cap_att_states 
+0x15ad 004612 branch le_supervision_flush 
+:      004614 le_init_master:
+0x15ae 004615 bpatchx patch33_2 ,mem_patch33 
+0x15af 004616 enable master 
+0x15b0 004617 jam lemode_master ,mem_le_mode 
+0x15b1 004618 jam 1 ,mem_le_att_handle 
+0x15b2 004619 jam 1 ,mem_le_search_handle_start 
+0x15b3 004620 setarg 0xffff 
+0x15b4 004621 store 2 ,mem_le_search_handle_end 
+0x15b5 004622 force 0 ,pdata 
+0x15b6 004623 store 5 ,mem_ccm_pcnt_rx 
+0x15b7 004624 set1 le_ccm_directionbit ,pdata 
+0x15b8 004625 store 5 ,mem_ccm_pcnt_tx 
+0x15b9 004626 branch le_init_conn 
+:      004629 le_init_slave:
+0x15ba 004630 bpatchx patch33_3 ,mem_patch33 
+0x15bb 004631 disable master 
+0x15bc 004632 setarg 0x17 
+0x15bd 004633 store 2 ,mem_le_remote_mtu 
+0x15be 004634 increase 4 ,pdata 
+0x15bf 004635 store 2 ,mem_remote_rx_max_octets 
+0x15c0 004636 jam lemode_slave ,mem_le_mode 
+0x15c1 004637 jam 0 ,mem_le_adv_enable 
+0x15c2 004638 jam 0 ,mem_lpm_current_mult 
+0x15c3 004639 call le_clear_pairing_state 
+0x15c4 004640 fetch 2 ,mem_le_superto 
+0x15c5 004641 store 2 ,mem_le_init_superto 
+0x15c6 004642 fetch 2 ,mem_le_tsniff 
+0x15c7 004643 mul32 pdata ,5 ,pdata 
+0x15c8 004644 rshift4 pdata ,pdata 
+0x15c9 004645 store 2 ,mem_le_superto 
+0x15ca 004646 branch le_init_conn 
+:      004653 le_conn_dispatch:
+0x15cb 004654 bpatchx patch33_4 ,mem_patch33 
+0x15cc 004655 call le_enable 
+0x15cd 004656 fetch 1 ,mem_le_state 
+0x15ce 004657 isolate1 lestate_encryption ,pdata 
+0x15cf 004658 setflag true ,mark_ble_encryption ,mark 
+0x15d0 004659 call app_process_ble 
+0x15d1 004660 fetch 1 ,mem_le_mode 
+0x15d2 004661 bbit1 mode_master ,le_master_dispatch 
+0x15d3 004662 branch le_slave_dispatch 
+:      004668 le_master_dispatch:
+0x15d4 004669 bpatchx patch33_5 ,mem_patch33 
+0x15d5 004670 enable master 
+0x15d6 004671 call le_supervision_update 
+0x15d7 004672 branch le_master_disconn ,positive 
+0x15d8 004673 call le_setup 
+0x15d9 004674 call le_prepare_tx 
+0x15da 004675 disable match 
+0x15db 004676 call le_transmit_receive_sifs 
+0x15dc 004677 nrtn match 
+0x15dd 004678 fetch 1 ,mem_le_conn_rcv 
+0x15de 004679 increase 1 ,pdata 
+0x15df 004680 store 1 ,mem_le_conn_rcv 
+0x15e0 004681 call le_acknowledge 
+0x15e1 004682 disable master 
+0x15e2 004683 rtn 
+:      004685 le_master_disconn:
+0x15e3 004686 call le_disconnect 
+0x15e4 004687 disable master 
+0x15e5 004688 rtn 
+:      004693 le_slave_dispatch:
+0x15e6 004694 bpatchx patch33_6 ,mem_patch33 
+0x15e7 004695 jam 0 ,mem_le_md_count 
+0x15e8 004696 set0 mark_ble_crc_fail ,mark 
+0x15e9 004697 call sp_calc_sequence_256 
+0x15ea 004698 call le_secure_connect_sm 
+0x15eb 004699 disable attempt 
+0x15ec 004700 call le_supervision_update 
+0x15ed 004701 branch le_slave_disconn ,positive 
+0x15ee 004702 fetch 1 ,mem_le_rx_phy 
+0x15ef 004703 call le_enable_phy_by_pdata 
+0x15f0 004704 call le_setup 
+0x15f1 004705 call le_receive_slave 
+0x15f2 004706 nbranch le_slave_unsync ,sync 
+0x15f3 004707 call le_got_first_packet 
+0x15f4 004708 branch le_slave_match ,match 
+0x15f5 004709 bmark1 mark_ble_crc_fail ,le_slave_crc_fail 
+0x15f6 004710 branch le_slave_cont 
+:      004713 le_slave_crc_fail:
+:      004714 le_slave_match:
+0x15f7 004715 bpatchx patch33_7 ,mem_patch33 
+0x15f8 004716 fetch 1 ,mem_le_md_count 
+0x15f9 004717 pincrease 1 
+0x15fa 004718 store 1 ,mem_le_md_count 
+0x15fb 004719 beq le_md_max_count ,le_slave_cont 
+0x15fc 004720 call le_acknowledge 
+0x15fd 004721 call le_prepare_tx 
+0x15fe 004722 fetch 1 ,mem_le_tx_phy 
+0x15ff 004723 call le_enable_phy_by_pdata 
+0x1600 004724 call le_transmit_norx 
+0x1601 004725 call le_parse 
+0x1602 004726 fetch 2 ,mem_cb_ble_transmit 
+0x1603 004727 call callback_func 
+0x1604 004728 call le_check_md 
+0x1605 004729 branch le_slave_more_data ,user 
+:      004730 le_slave_cont:
+0x1606 004731 bpatchx patch34_0 ,mem_patch34 
+0x1607 004732 call le_pairing_sm 
+0x1608 004733 call le_check_paring_time 
+0x1609 004734 call check_51cmd 
+0x160a 004735 fetch 1 ,mem_le_op 
+0x160b 004736 bbit1 op_disconn ,le_slave_disconn 
+:      004737 le_slave_unsync:
+0x160c 004738 bpatchx patch34_1 ,mem_patch34 
+0x160d 004739 call le_lpm_set_mult 
+0x160e 004740 branch calc_clke_offset 
+:      004743 le_check_md:
+0x160f 004744 disable user 
+0x1610 004745 bmark1 mark_ble_rx_md ,enable_user 
+0x1611 004746 bmark1 mark_ble_tx_md ,enable_user 
+0x1612 004747 bmark1 mark_ble_crc_fail ,enable_user 
+0x1613 004748 rtn 
+:      004751 le_slave_more_data:
+0x1614 004752 bpatchx patch34_2 ,mem_patch34 
+0x1615 004753 enable attempt 
+0x1616 004754 call le_transmit_receive_sifs_notx 
+0x1617 004755 branch le_slave_match ,match 
+0x1618 004756 bmark1 mark_ble_crc_fail ,le_slave_crc_fail 
+0x1619 004757 branch le_slave_cont 
+:      004759 le_slave_disconn:
+:      004762 le_disconnect:
+0x161a 004763 bpatchx patch34_3 ,mem_patch34 
+0x161b 004764 call le_clear_connection_info 
+0x161c 004765 call app_disconn_reason_collect_ble 
+0x161d 004766 call le_clear_pairing_state 
+0x161e 004767 call le_sc_state_clear 
+0x161f 004768 jam bt_evt_le_disconnected ,mem_fifo_temp 
+0x1620 004769 branch ui_ipc_send_event 
+:      004771 le_clear_connection_info:
+0x1621 004772 arg mem_used_map ,contw 
+0x1622 004773 call memset0_16 
+0x1623 004774 jam 0 ,mem_le_conn_handle 
+0x1624 004775 jam lemode_idle ,mem_le_mode 
+0x1625 004776 jam 0 ,mem_le_state 
+:      004777 le_clear_pairing_state:
+0x1626 004778 bpatchx patch34_4 ,mem_patch34 
+0x1627 004779 jam flag_le_enc_null ,mem_le_enc_state 
+0x1628 004780 jam flag_le_pairing_null ,mem_le_pairing_state 
+0x1629 004781 branch sp_clear_flags 
+:      004783 le_got_first_packet:
+0x162a 004784 bpatchx patch34_5 ,mem_patch34 
+0x162b 004785 fetch 1 ,mem_le_conn_rcv 
+0x162c 004786 increase 1 ,pdata 
+0x162d 004787 store 1 ,mem_le_conn_rcv 
+0x162e 004788 fetch 1 ,mem_le_state 
+0x162f 004789 rtnbit1 lestate_got_first_packet 
+0x1630 004790 set1 lestate_got_first_packet ,pdata 
+0x1631 004791 store 1 ,mem_le_state 
+0x1632 004792 fetch 2 ,mem_le_init_superto 
+0x1633 004793 store 2 ,mem_le_superto 
+0x1634 004794 setarg 0 
+0x1635 004795 store 4 ,mem_le_transmit_window 
+0x1636 004796 rtn 
+:      004804 le_enable_phy_by_pdata:
+0x1637 004805 copy pdata ,temp 
+0x1638 004806 bpatchx patch34_6 ,mem_patch34 
+0x1639 004807 copy temp ,pdata 
+0x163a 004808 bbit1 bit_le_1m_phy ,le_enable 
+0x163b 004809 bbit1 bit_le_2m_phy ,le_enable_2m 
+0x163c 004810 bbit0 bit_le_coded_phy ,le_enable 
+0x163d 004811 bbit1 bit_le_coded_phy_s8 ,le_enable_coded_s8 
+0x163e 004812 bbit1 bit_le_coded_phy_s2 ,le_enable_coded_s2 
+0x163f 004813 branch le_enable 
+:      004815 le_enable_2m:
+0x1640 004816 call le_enable 
+0x1641 004817 set1 mark_ble_2m ,mark 
+0x1642 004818 set0 mark_ble_lr ,mark 
+0x1643 004819 jam 0x03 ,0x8901 
+0x1644 004820 jam 0x84 ,0x8920 
+0x1645 004821 rtn 
+:      004823 le_enable_coded_s2:
+:      004824 le_enable_coded:
+0x1646 004825 call le_enable 
+0x1647 004826 set1 mark_ble_lr ,mark 
+0x1648 004827 set0 mark_ble_lr_s8 ,mark 
+0x1649 004828 jam 0x05 ,0x8901 
+0x164a 004829 jam 0x80 ,0x8920 
+0x164b 004830 jam 0x20 ,0x8930 
+0x164c 004831 jam 0x0a ,0x8934 
+0x164d 004832 rtn 
+:      004834 le_enable_coded_s8:
+0x164e 004835 call le_enable_coded 
+0x164f 004836 set1 mark_ble_lr_s8 ,mark 
+0x1650 004837 rtn 
+:      004839 le_enable:
+0x1651 004840 bpatchx patch34_7 ,mem_patch34 
+0x1652 004841 enable le 
+0x1653 004842 set0 mark_ble_2m ,mark 
+0x1654 004843 set0 mark_ble_lr ,mark 
+0x1655 004844 jam 0x01 ,0x8901 
+0x1656 004845 jam 0x80 ,0x8920 
+0x1657 004846 jam 0xa7 ,0x8925 
+0x1658 004847 jam 0x03 ,0x8930 
+0x1659 004848 jam 0x58 ,0x8933 
+0x165a 004849 jam 0x0a ,0x8934 
+0x165b 004850 jam 0x40 ,0x8937 
+0x165c 004851 jam 9 ,core_rx_bq_cfg0 
+0x165d 004852 rtn 
+:      004855 le_disable:
+0x165e 004856 bpatchx patch35_0 ,mem_patch35 
+0x165f 004857 disable le 
+0x1660 004858 set0 mark_ble_encryption ,mark 
+0x1661 004859 jam 0x00 ,0x8901 
+0x1662 004860 jam 0x80 ,0x8920 
+0x1663 004861 jam 0xa3 ,0x8925 
+0x1664 004862 jam 0x03 ,0x8930 
+0x1665 004863 jam 0x68 ,0x8933 
+0x1666 004864 jam 0x09 ,0x8934 
+0x1667 004865 jam 0x28 ,0x8937 
+0x1668 004866 jam 9 ,core_rx_bq_cfg0 
+0x1669 004867 rtn 
+:      004869 le_prep:
+0x166a 004870 disable enable_crc 
+0x166b 004871 disable enable_white 
+0x166c 004872 fetch 3 ,mem_le_crcinit 
+0x166d 004873 iforce crc24_init 
+0x166e 004874 fetch 1 ,mem_le_ch_mapped 
+0x166f 004875 reverse pdata ,temp 
+0x1670 004876 set1 1 ,temp 
+0x1671 004877 rshift temp ,white_init 
+0x1672 004878 rtn 
+:      004881 le_rx_setfreq:
+0x1673 004882 call le_setfreq 
+:      004883 le_rf_rx_enable:
+0x1674 004884 call set_freq_rx 
+0x1675 004885 fetch 2 ,mem_param_pll_setup 
+0x1676 004886 call sleep 
+0x1677 004887 branch rf_rx_enable 
+:      004889 le_tx_setfreq:
+0x1678 004890 branch txon ,match 
+0x1679 004891 bmark1 mark_ble_crc_fail ,txon 
+:      004892 le_tx_setfreq0:
+0x167a 004893 call le_setfreq 
+0x167b 004894 branch set_freq_tx 
+:      004895 le_setfreq:
+0x167c 004896 bpatchx patch35_1 ,mem_patch35 
+0x167d 004897 call set_sync_on 
+0x167e 004898 fetch 1 ,mem_le_testtype 
+0x167f 004899 nbranch le_ctf_test ,blank 
+0x1680 004900 fetch 1 ,mem_le_ch_mapped 
+0x1681 004901 sub pdata ,36 ,null 
+0x1682 004902 branch le_ctf_normal ,positive 
+0x1683 004903 force 0 ,temp 
+0x1684 004904 rtneq 37 
+0x1685 004905 force 24 ,temp 
+0x1686 004906 rtneq 38 
+0x1687 004907 force 78 ,temp 
+0x1688 004908 rtn 
+:      004910 le_ctf_normal:
+0x1689 004911 sub pdata ,10 ,null 
+0x168a 004912 branch le_ctf_low ,positive 
+0x168b 004913 increase 1 ,pdata 
+:      004915 le_ctf_low:
+0x168c 004916 lshift pdata ,pdata 
+0x168d 004917 add pdata ,2 ,temp 
+0x168e 004918 rtn 
+:      004920 le_ctf_test:
+0x168f 004921 fetch 1 ,mem_le_ch_mapped 
+0x1690 004922 lshift pdata ,temp 
+0x1691 004923 rtn 
+:      004925 le_sca_map:
+0x1692 004926 arg 500 ,temp 
+0x1693 004927 rtn blank 
+0x1694 004928 arg 250 ,temp 
+0x1695 004929 rtneq 1 
+0x1696 004930 arg 150 ,temp 
+0x1697 004931 rtneq 2 
+0x1698 004932 arg 100 ,temp 
+0x1699 004933 rtneq 3 
+0x169a 004934 arg 75 ,temp 
+0x169b 004935 rtneq 4 
+0x169c 004936 arg 50 ,temp 
+0x169d 004937 rtneq 5 
+0x169e 004938 arg 40 ,temp 
+0x169f 004939 rtneq 6 
+0x16a0 004940 arg 20 ,temp 
+0x16a1 004941 rtn 
+:      004945 le_setup:
+0x16a2 004946 bpatchx patch35_2 ,mem_patch35 
+0x16a3 004947 enable swfine 
+0x16a4 004948 fetch 4 ,mem_le_access 
+0x16a5 004949 iforce access 
+0x16a6 004950 call calc_mod_value_scale_le 
+0x16a7 004951 call le_map_channel 
+0x16a8 004952 setarg 0x200 
+0x16a9 004953 branch le_setup_master ,master 
+0x16aa 004954 fetch 2 ,mem_le_receive_window 
+0x16ab 004955 rshift pdata ,pdata 
+:      004956 le_setup_master:
+0x16ac 004957 fetcht 2 ,mem_param_pll_setup 
+0x16ad 004958 iadd temp ,pdata 
+0x16ae 004959 call ahead_window 
+0x16af 004960 deposit clke 
+0x16b0 004961 rtn 
+:      004964 le_context_nextevent:
+0x16b1 004965 bpatchx patch35_3 ,mem_patch35 
+0x16b2 004966 call push_stack_rega_b_c 
+0x16b3 004967 storer loopcnt ,2 ,mem_loopcnt 
+0x16b4 004968 add rega ,coffset_mode ,contr 
+0x16b5 004969 ifetch 1 ,contr 
+0x16b6 004970 rtnbit0 mode_le 
+0x16b7 004971 add rega ,coffset_le_event_cnt ,contw 
+0x16b8 004972 ifetch 2 ,contw 
+0x16b9 004973 increase 1 ,pdata 
+0x16ba 004974 istore 2 ,contw 
+0x16bb 004975 call le_update_param 
+0x16bc 004976 call le_update_channel_map 
+0x16bd 004977 call le_update_phy 
+0x16be 004978 call le_context_nexthop 
+0x16bf 004979 call pop_stack_rega_b_c 
+0x16c0 004980 fetchr loopcnt ,2 ,mem_loopcnt 
+0x16c1 004981 rtn 
+:      004983 le_context_nexthop:
+0x16c2 004984 add rega ,coffset_le_hop ,contr 
+0x16c3 004985 ifetch 1 ,contr 
+0x16c4 004986 add rega ,coffset_le_ch ,contw 
+0x16c5 004987 ifetcht 1 ,contw 
+0x16c6 004988 iadd temp ,pdata 
+0x16c7 004989 sub pdata ,36 ,null 
+0x16c8 004990 branch le_nexthop_nowrap ,positive 
+0x16c9 004991 increase -37 ,pdata 
+:      004992 le_nexthop_nowrap:
+0x16ca 004993 istore 1 ,contw 
+0x16cb 004994 rtn 
+:      004997 le_calc_channel_map:
+0x16cc 004998 add rega ,coffset_le_channel_map ,contr 
+0x16cd 004999 ifetch 5 ,contr 
+0x16ce 005000 force 0 ,temp 
+0x16cf 005001 force 37 ,loopcnt 
+:      005002 le_count_channels_loop:
+0x16d0 005003 bbit0 0 ,le_count_channels_notused 
+0x16d1 005004 increase 1 ,temp 
+:      005005 le_count_channels_notused:
+0x16d2 005006 rshift pdata ,pdata 
+0x16d3 005007 loop le_count_channels_loop 
+0x16d4 005008 add temp ,-1 ,pdata 
+0x16d5 005009 add rega ,coffset_le_channels ,contw 
+0x16d6 005010 istore 1 ,contw 
+0x16d7 005011 rtn 
+:      005013 le_map_channel:
+0x16d8 005014 bpatchx patch35_4 ,mem_patch35 
+0x16d9 005015 fetch 1 ,mem_le_ch 
+0x16da 005016 iforce queue 
+0x16db 005017 fetcht 5 ,mem_le_channel_map 
+0x16dc 005018 qisolate1 temp 
+0x16dd 005019 branch le_map_channel_end ,true 
+:      005020 le_map_channel_next:
+0x16de 005021 fetch 1 ,mem_le_channels 
+0x16df 005022 isub queue ,pdata 
+0x16e0 005023 branch le_map_channel_cont ,positive 
+0x16e1 005024 sub pdata ,-1 ,queue 
+0x16e2 005025 branch le_map_channel_next 
+:      005026 le_map_channel_cont:
+0x16e3 005027 copy queue ,loopcnt 
+0x16e4 005028 force 0 ,queue 
+:      005029 le_map_channel_loop:
+0x16e5 005030 qisolate1 temp 
+0x16e6 005031 branch le_map_channel_skip ,true 
+0x16e7 005032 increase 1 ,loopcnt 
+:      005033 le_map_channel_skip:
+0x16e8 005034 deposit loopcnt 
+0x16e9 005035 branch le_map_channel_end ,blank 
+0x16ea 005036 increase 1 ,queue 
+0x16eb 005037 increase -1 ,loopcnt 
+0x16ec 005038 branch le_map_channel_loop 
+:      005039 le_map_channel_end:
+0x16ed 005040 deposit queue 
+0x16ee 005041 store 1 ,mem_le_ch_mapped 
+0x16ef 005042 rtn 
+:      005045 le_wait_tx:
+0x16f0 005046 branch le_wait_master ,master 
+0x16f1 005047 until null ,timeout 
+0x16f2 005048 rtn 
+:      005050 le_wait_master:
+0x16f3 005051 arg 0xea0 ,timeup 
+0x16f4 005052 until clkn_rt ,meet 
+0x16f5 005053 rtn 
+:      005055 le_receive_adv:
+0x16f6 005056 disable swfine 
+0x16f7 005057 fetch 2 ,mem_le_scan_window 
+0x16f8 005058 copy pdata ,timeup 
+0x16f9 005059 branch le_receive_packet 
+:      005062 le_receive_slave:
+0x16fa 005063 bpatchx patch35_5 ,mem_patch35 
+0x16fb 005064 call le_dec_init 
+0x16fc 005065 enable swfine 
+0x16fd 005066 fetch 2 ,mem_le_receive_window 
+0x16fe 005067 fetcht 4 ,mem_le_transmit_window 
+0x16ff 005068 iadd temp ,timeup 
+:      005069 le_receive_packet:
+0x1700 005070 call le_rx_setfreq 
+:      005071 le_receive_rxon:
+0x1701 005072 bpatchx patch35_6 ,mem_patch35 
+0x1702 005073 call le_prep 
+0x1703 005074 bmark0 mark_ble_lr ,le_receive_nolr 
+0x1704 005075 pulse dewhiten_code_calc 
+0x1705 005076 nop 30 
+0x1706 005077 call le_prep 
+0x1707 005078 lshift3 timeup ,timeup 
+:      005079 le_receive_nolr:
+0x1708 005080 disable match 
+0x1709 005081 enable decode_fec0 
+0x170a 005082 enable is_rx 
+0x170b 005083 disable is_tx 
+0x170c 005084 copy timeup ,stop_watch 
+0x170d 005085 correlate null ,timeout 
+0x170e 005086 branch le_receive_on_attempt ,attempt 
+0x170f 005087 copy clke ,temp 
+0x1710 005088 storet 6 ,mem_sync_clke 
+:      005089 le_receive_on_attempt:
+0x1711 005090 nbranch le_unsync_end ,sync 
+0x1712 005091 bpatchx patch35_7 ,mem_patch35 
+0x1713 005092 enable swfine 
+0x1714 005093 arg param_t_ifs_150us + param_20ms_init + param_sync_time_difference ,temp 
+0x1715 005094 fetch 1 ,mem_system_clk 
+0x1716 005095 imul32 temp ,stop_watch 
+0x1717 005096 call rf_debug_rx_sync_line 
+0x1718 005097 branch le_receive_skip ,attempt 
+0x1719 005098 call calc_clke_all_modem 
+0x171a 005099 fetch 1 ,mem_le_state 
+0x171b 005100 bbit0 lestate_got_first_packet ,le_receive_skip 
+0x171c 005101 fetcht 6 ,mem_sync_clke 
+0x171d 005102 call lpm_adjust_clk ,wake 
+:      005103 le_receive_skip:
+0x171e 005104 call save_rssi 
+0x171f 005105 enable enable_white 
+0x1720 005106 enable enable_crc 
+0x1721 005107 parse demod ,bucket ,8 
+0x1722 005108 rshift3 pwindow ,pdata 
+0x1723 005109 store 1 ,mem_le_rxbuf_data_header 
+0x1724 005110 parse demod ,bucket ,8 
+0x1725 005111 rshift3 pwindow ,pdata 
+0x1726 005112 store 1 ,mem_le_rxbuf_data_length 
+0x1727 005113 copy pdata ,loopcnt 
+0x1728 005114 branch le_rx_nopayload ,zero 
+0x1729 005116 bmark1 mark_ble_encryption ,le_rx_dec 
+:      005118 le_rx_loop:
+0x172a 005119 parse demod ,bucket ,8 
+0x172b 005120 rshift3 pwindow ,pdata 
+0x172c 005121 istore 1 ,contw 
+0x172d 005122 loop le_rx_loop 
+0x172e 005123 branch le_rx_nopayload 
+:      005125 le_rx_dec:
+0x172f 005126 copy contw ,regb 
+0x1730 005127 call le_check_retransmit 
+0x1731 005129 fetchr rega ,1 ,mem_le_rxbuf_data_length 
+0x1732 005130 increase -4 ,rega 
+0x1733 005131 nbranch le_mic_error ,positive 
+0x1734 005133 call le_dec_start 
+0x1735 005134 copy regb ,contw 
+0x1736 005135 arg 0 ,temp 
+0x1737 005136 fetchr loopcnt ,1 ,mem_le_rxbuf_data_length 
+0x1738 005137 increase -4 ,loopcnt 
+0x1739 005138 branch le_rx_dec_loop_end ,zero 
+:      005139 le_rx_dec_loop:
+0x173a 005141 parse demod ,bucket ,8 
+0x173b 005142 rshift3 pwindow ,pdata 
+0x173c 005143 istore 1 ,contw 
+0x173d 005144 increase 1 ,temp 
+0x173e 005145 and temp ,0xf ,null 
+0x173f 005146 call le_dec ,zero 
+0x1740 005147 loop le_rx_dec_loop 
+:      005148 le_rx_dec_loop_end:
+0x1741 005149 call le_dec_end 
+0x1742 005150 copy regb ,contw 
+:      005153 le_rx_nopayload:
+0x1743 005154 bpatchx patch36_0 ,mem_patch36 
+0x1744 005155 parse demod ,bucket ,24 
+0x1745 005156 rshift32 pdata ,pdata 
+0x1746 005157 rshift16 pdata ,pdata 
+0x1747 005158 istore 3 ,contw 
+0x1748 005159 enable swfine 
+0x1749 005160 call le_set_until_tx_timer 
+0x174a 005161 branch le_crc_fail ,crc_failed 
+0x174b 005162 bmark0 mark_ble_encryption ,le_rx_match 
+0x174c 005163 fetch 1 ,mem_le_rxbuf_data_length 
+0x174d 005164 branch le_rx_match ,blank 
+0x174e 005165 increase -4 ,pdata 
+0x174f 005166 store 1 ,mem_le_rxbuf_data_length 
+0x1750 005167 call wait_ccm_done 
+0x1751 005168 fetch 1 ,core_misc_status 
+0x1752 005169 bbit0 7 ,le_mic_error 
+0x1753 005170 force regidx_result ,regext_index 
+0x1754 005171 storer regext ,4 ,mem_le_peer_mic 
+:      005172 le_rx_match:
+0x1755 005173 call rf_debug_rx_crc_line 
+0x1756 005174 enable match 
+0x1757 005175 set0 mark_ble_crc_fail ,mark 
+:      005176 le_crc_fail_tx:
+0x1758 005177 call ccm_ctrl_clr 
+0x1759 005178 fetch 1 ,mem_le_rx_phy 
+0x175a 005179 nsetflag ble_coded_info ,bit_le_coded_phy_s8 ,pdata 
+0x175b 005180 store 1 ,mem_le_rx_phy 
+:      005181 le_match_set_txfreq:
+0x175c 005182 bpatchx patch36_1 ,mem_patch36 
+0x175d 005183 fetcht 1 ,mem_last_freq 
+0x175e 005184 add temp ,2 ,rega 
+0x175f 005185 bmark1 mark_ble_2m ,le_match_set_txfreq_offset 
+0x1760 005186 add temp ,2 ,rega 
+:      005187 le_match_set_txfreq_offset:
+0x1761 005188 disable decode_fec0 
+0x1762 005189 call set_sync_on 
+0x1763 005190 branch rf_tx_write_freq 
+:      005193 le_dec_init:
+0x1764 005194 rtnmark0 mark_ble_encryption 
+0x1765 005195 call load_sk 
+0x1766 005196 force regidx_result ,regext_index 
+0x1767 005197 call aes_clear 
+0x1768 005198 branch aes_clear_data 
+:      005201 le_dec_start:
+0x1769 005202 jam 0 ,core_ccm_aad0 
+0x176a 005203 jam 1 ,core_ccm_aad1 
+0x176b 005204 fetch 1 ,mem_le_rxbuf_data_header 
+0x176c 005205 and_into 0x3 ,pdata 
+0x176d 005206 store 1 ,core_ccm_aad2 
+0x176e 005208 setarg mem_le_rxbuf_data_payload 
+0x176f 005209 store 2 ,core_ccm_input_playload_addr 
+0x1770 005210 store 2 ,core_ccm_output_playload_addr 
+0x1771 005212 fetchr rega ,1 ,mem_le_rxbuf_data_length 
+0x1772 005213 increase -4 ,rega 
+0x1773 005215 fetcht 5 ,mem_ccm_pcnt_rx 
+0x1774 005216 isolate1 mark_old_packet ,mark 
+0x1775 005217 call le_pcnt_rx_sub1 ,true 
+0x1776 005218 call ccm_b0 
+0x1777 005219 setarg 0 
+0x1778 005220 store 2 ,core_ccm_inptr 
+0x1779 005221 jam 6 ,core_ccm_ctrl 
+0x177a 005222 jam 7 ,core_ccm_ctrl 
+0x177b 005223 rtn 
+:      005225 le_pcnt_rx_sub1:
+0x177c 005226 sub temp ,0 ,null 
+0x177d 005227 branch le_pcnt_rx_sub1_0 ,zero 
+0x177e 005228 increase -1 ,temp 
+0x177f 005229 set1 le_ccm_directionbit ,temp 
+0x1780 005230 rtn 
+:      005232 le_pcnt_rx_sub1_0:
+0x1781 005233 setarg 0xffffff 
+0x1782 005234 lshift16 pdata ,pdata 
+0x1783 005235 arg 0xffff ,temp 
+0x1784 005236 ior temp ,temp 
+0x1785 005237 rtn 
+:      005239 le_dec:
+0x1786 005240 copy contw ,regb 
+0x1787 005241 fetch 1 ,mem_le_rxbuf_data_length 
+0x1788 005242 increase -4 ,pdata 
+0x1789 005243 isub temp ,null 
+0x178a 005244 rtn zero 
+0x178b 005245 storet 2 ,core_ccm_inptr 
+0x178c 005246 copy regb ,contw 
+0x178d 005247 rtn 
+:      005249 le_dec_end:
+0x178e 005250 parse demod ,bucket ,32 
+0x178f 005251 rshift32 pdata ,pdata 
+0x1790 005252 rshift8 pdata ,pdata 
+0x1791 005253 istore 4 ,contw 
+0x1792 005254 copy contw ,regb 
+0x1793 005256 force regidx_data ,regext_index 
+0x1794 005257 copy pdata ,regext 
+0x1795 005258 storet 2 ,core_ccm_inptr 
+0x1796 005259 rtn 
+:      005261 le_mic_error:
+0x1797 005262 branch le_end_of_packet 
+:      005264 le_retransmit_end_of_packet:
+0x1798 005265 call le_set_until_tx_timer 
+0x1799 005266 call end_of_packet 
+0x179a 005267 branch le_rx_match 
+:      005269 le_crc_fail:
+0x179b 005270 call rf_debug_rx_crc_fail_line 
+0x179c 005271 bmark1 mark_ble_crc_fail ,le_crc_fail_consecutive 
+0x179d 005272 set1 mark_ble_crc_fail ,mark 
+0x179e 005273 branch le_crc_fail_tx 
+:      005275 le_unsync_end:
+:      005276 le_crc_fail_consecutive:
+0x179f 005277 set0 mark_ble_crc_fail ,mark 
+0x17a0 005278 branch le_end_of_packet 
+:      005280 le_end_of_packet:
+0x17a1 005281 call ccm_ctrl_clr 
+0x17a2 005282 branch end_of_packet 
+:      005284 calc_clke_all_modem:
+0x17a3 005285 bmark1 mark_ble_lr ,calc_clke_modem_coded 
+0x17a4 005286 bmark1 mark_ble_2m ,calc_clke_modem_2m 
+0x17a5 005287 fetch 2 ,mem_param_clke_cal_le_1m 
+0x17a6 005288 copy pdata ,clke_rt 
+0x17a7 005289 copy bt_clk ,clke_bt 
+0x17a8 005290 rtn 
+:      005293 calc_clke_modem_coded:
+0x17a9 005294 fetch 2 ,mem_param_clke_cal_le_coded 
+0x17aa 005295 copy pdata ,clke_rt 
+0x17ab 005296 add bt_clk ,1 ,clke_bt 
+0x17ac 005297 rtn 
+:      005299 calc_clke_modem_2m:
+0x17ad 005300 fetch 2 ,mem_param_clke_cal_le_2m 
+0x17ae 005301 copy pdata ,clke_rt 
+0x17af 005302 copy bt_clk ,clke_bt 
+0x17b0 005303 rtn 
+:      005306 le_set_until_tx_timer:
+0x17b1 005307 fetch 1 ,mem_le_rxbuf_data_length 
+0x17b2 005308 add pdata ,5 ,temp 
+0x17b3 005309 lshift3 temp ,temp 
+0x17b4 005310 fetch 1 ,mem_le_rx_phy 
+0x17b5 005311 bmark1 mark_ble_lr ,le_set_until_tx_timer_rx_lr 
+0x17b6 005312 bbit1 bit_le_1m_phy ,le_set_until_tx_timer_rx_1m 
+0x17b7 005313 bbit1 bit_le_2m_phy ,le_set_until_tx_timer_rx_2m 
+:      005314 le_set_until_tx_timer_rx_lr:
+0x17b8 005315 branch le_set_until_tx_timer_rx_coded_s2 ,ble_coded_info 
+0x17b9 005316 branch le_set_until_tx_timer_rx_coded_s8 
+:      005318 le_set_until_tx_timer_rx_1m:
+0x17ba 005319 branch le_calc_stop_watch 
+:      005321 le_set_until_tx_timer_rx_2m:
+0x17bb 005322 rshift temp ,temp 
+0x17bc 005323 branch le_calc_stop_watch 
+:      005325 le_set_until_tx_timer_rx_coded_s2:
+0x17bd 005326 add temp ,3 ,temp 
+0x17be 005327 lshift temp ,temp 
+0x17bf 005328 branch le_set_until_tx_timer_rx_coded 
+:      005330 le_set_until_tx_timer_rx_coded_s8:
+0x17c0 005331 add temp ,3 ,temp 
+0x17c1 005332 lshift3 temp ,temp 
+:      005333 le_set_until_tx_timer_rx_coded:
+0x17c2 005334 setarg param_coded_c1_term1_time_40us 
+0x17c3 005335 iadd temp ,temp 
+0x17c4 005336 branch le_calc_stop_watch 
+:      005338 le_calc_stop_watch:
+0x17c5 005339 fetch 1 ,mem_system_clk 
+0x17c6 005340 imul32 temp ,temp 
+0x17c7 005341 arg param_20ms_init ,rega 
+0x17c8 005342 imul32 rega ,pdata 
+0x17c9 005343 isub temp ,temp 
+0x17ca 005344 copy stop_watch ,pdata 
+0x17cb 005345 isub temp ,stop_watch 
+0x17cc 005346 rtn 
+:      005348 le_transmit_receive_sifs_without_change_mode:
+0x17cd 005349 call le_transmit 
+0x17ce 005350 fetcht 1 ,mem_last_freq 
+0x17cf 005351 call set_freq_rx 
+0x17d0 005352 call rf_rx_enable 
+0x17d1 005353 enable swfine 
+0x17d2 005354 arg 5500 ,timeup 
+0x17d3 005355 branch le_receive_rxon 
+:      005358 le_transmit_receive_sifs:
+0x17d4 005359 bpatchx patch36_2 ,mem_patch36 
+0x17d5 005360 fetch 1 ,mem_le_tx_phy 
+0x17d6 005361 call le_enable_phy_by_pdata 
+0x17d7 005362 call le_transmit 
+:      005363 le_transmit_receive_sifs_notx:
+0x17d8 005364 fetch 1 ,mem_le_rx_phy 
+0x17d9 005365 call le_enable_phy_by_pdata 
+0x17da 005367 fetcht 1 ,mem_last_freq 
+0x17db 005368 call set_freq_rx 
+0x17dc 005369 call rf_rx_enable 
+0x17dd 005370 enable swfine 
+0x17de 005371 arg 5500 ,timeup 
+0x17df 005372 bmark0 mark_ble_lr ,le_receive_rxon 
+0x17e0 005373 arg 8500 ,timeup 
+0x17e1 005374 branch le_receive_rxon 
+:      005376 le_transmit_norx:
+0x17e2 005377 call le_transmit 
+0x17e3 005378 branch end_of_packet 
+:      005380 le_transmit:
+0x17e4 005381 bpatchx patch36_3 ,mem_patch36 
+0x17e5 005382 call le_prep 
+0x17e6 005383 call le_tx_setfreq 
+0x17e7 005384 call rf_debug_tx_on_line 
+0x17e8 005385 set1 txgfsk ,radio_ctrl 
+0x17e9 005386 enable encode_fec0 
+0x17ea 005387 enable is_tx 
+0x17eb 005388 disable is_rx 
+0x17ec 005389 call le_wait_tx 
+0x17ed 005390 disable lr_s2en 
+0x17ee 005391 bmark1 mark_ble_lr ,le_transmit_lr 
+0x17ef 005392 bmark1 mark_ble_2m ,le_transmit_2m 
+0x17f0 005393 rshift16 access ,pdata 
+0x17f1 005394 rshift8 pdata ,pdata 
+0x17f2 005395 rshift4 pdata ,pdata 
+0x17f3 005396 inject mod ,40 
+:      005397 le_transmit_packet:
+0x17f4 005398 enable enable_white 
+0x17f5 005399 enable enable_crc 
+0x17f6 005400 bpatchx patch36_4 ,mem_patch36 
+0x17f7 005401 fetch 1 ,mem_le_txheader 
+0x17f8 005402 inject mod ,8 
+0x17f9 005403 ifetch 1 ,contr 
+0x17fa 005404 copy pdata ,loopcnt 
+0x17fb 005405 inject mod ,8 
+0x17fc 005406 sub loopcnt ,0 ,null 
+0x17fd 005407 branch le_tr_nopayload ,zero 
+0x17fe 005409 fetch 1 ,core_ccm_ctrl 
+0x17ff 005410 branch le_transmit_packet_not_enc ,blank 
+0x1800 005411 bmark1 mark_ble_encryption ,le_transmit_packet_enc 
+:      005412 le_transmit_packet_not_enc:
+0x1801 005413 arg mem_le_txpayload ,contr 
+:      005414 le_tr_loop:
+0x1802 005415 ifetch 1 ,contr 
+0x1803 005416 inject mod ,8 
+0x1804 005417 loop le_tr_loop 
+:      005419 le_tr_nopayload:
+0x1805 005420 enable enable_parity 
+0x1806 005421 inject mod ,24 
+0x1807 005422 disable enable_parity 
+0x1808 005423 bmark0 mark_ble_lr ,le_transmit_skip 
+0x1809 005424 disable enable_white 
+0x180a 005425 setarg 0 
+0x180b 005426 inject mod ,3 
+:      005427 le_transmit_skip:
+0x180c 005428 until null ,tx_clear 
+0x180d 005429 nop 100 
+0x180e 005430 disable encode_fec0 
+0x180f 005431 disable encode_fec3 
+0x1810 005432 call set_sync_on 
+0x1811 005433 call rf_debug_tx_off_line 
+:      005434 le_check_start_pause_enc:
+0x1812 005435 fetch 1 ,mem_le_txheader 
+0x1813 005436 and pdata ,llid_le_ll ,pdata 
+0x1814 005437 rtnne llid_le_ll 
+0x1815 005438 fetch 1 ,mem_le_enc_state 
+0x1816 005439 beq flag_le_enc_pause ,le_clear_enc 
+0x1817 005440 rtnne flag_le_send_start_enc_req 
+0x1818 005441 fetch 1 ,mem_le_txpayload 
+0x1819 005442 beq ll_start_enc_req ,le_set_enc 
+0x181a 005443 rtn 
+:      005446 le_transmit_packet_enc:
+0x181b 005447 increase -4 ,loopcnt 
+0x181c 005448 copy loopcnt ,temp 
+0x181d 005449 call ccm_wait_enc 
+0x181e 005450 arg mem_le_txpayload ,contr 
+:      005451 le_transmit_packet_enc_loop:
+0x181f 005452 ifetch 1 ,contr 
+0x1820 005453 inject mod ,8 
+0x1821 005454 loop le_transmit_packet_enc_loop 
+0x1822 005455 call ccm_check_enc_done 
+0x1823 005456 copy regext ,pdata 
+0x1824 005457 inject mod ,32 
+0x1825 005458 branch le_tr_nopayload 
+:      005460 le_transmit_lr:
+0x1826 005461 arg 10 ,loopcnt 
+:      005462 le_transmit_lr_preamble_loop:
+0x1827 005463 setarg 0x3c 
+0x1828 005464 inject mod ,8 
+0x1829 005465 loop le_transmit_lr_preamble_loop 
+0x182a 005466 disable encode_fec0 
+0x182b 005467 enable encode_fec3 
+0x182c 005468 rshift16 access ,pdata 
+0x182d 005469 rshift16 pdata ,pdata 
+0x182e 005470 rshift4 pdata ,pdata 
+0x182f 005471 inject mod ,32 
+0x1830 005472 bmark1 mark_ble_lr_s8 ,le_transmit_lr_s8 
+:      005473 le_transmit_lr_s2:
+0x1831 005474 setarg 1 
+0x1832 005475 inject mod ,5 
+0x1833 005476 enable lr_s2en 
+0x1834 005477 branch le_transmit_packet 
+:      005479 le_transmit_lr_s8:
+0x1835 005480 setarg 0 
+0x1836 005481 inject mod ,5 
+0x1837 005482 branch le_transmit_packet 
+:      005484 le_transmit_2m:
+0x1838 005485 fetch 1 ,mem_system_clk 
+0x1839 005486 rshift pdata ,loopcnt 
+:      005487 le_transmit_2m_dealy:
+0x183a 005488 nop 2 
+0x183b 005489 loop le_transmit_2m_dealy 
+0x183c 005491 rshift16 access ,pdata 
+0x183d 005492 rshift8 pdata ,pdata 
+0x183e 005493 rshift4 pdata ,temp 
+0x183f 005494 copy temp ,pdata 
+0x1840 005495 inject mod ,8 
+0x1841 005496 copy temp ,pdata 
+0x1842 005497 inject mod ,40 
+0x1843 005498 branch le_transmit_packet 
+:      005501 le_update_param:
+0x1844 005502 arg le_update_param_ahead1_cb ,regc 
+0x1845 005503 arg le_update_param_cb ,regb 
+0x1846 005504 arg lestate_update_param ,queue 
+0x1847 005505 branch le_check_update_flag 
+:      005507 le_update_param_ahead1_cb:
+0x1848 005508 add rega ,coffset_sniff_anchor ,contr 
+0x1849 005509 ifetcht 4 ,contr 
+0x184a 005510 add rega ,coffest_le_new_transmitwindowsize ,contr 
+0x184b 005511 ifetch 1 ,contr 
+0x184c 005512 add rega ,coffset_le_window_size ,contw 
+0x184d 005513 istore 1 ,contw 
+0x184e 005514 ifetch 2 ,contr 
+0x184f 005515 lshift2 pdata ,pdata 
+0x1850 005516 iadd temp ,timeup 
+0x1851 005517 add rega ,coffset_sniff_anchor ,contw 
+0x1852 005518 deposit timeup 
+0x1853 005519 istore 4 ,contw 
+0x1854 005520 ifetch 2 ,contr 
+0x1855 005521 lshift2 pdata ,pdata 
+0x1856 005522 add rega ,coffset_tsniff ,contw 
+0x1857 005523 istore 2 ,contw 
+0x1858 005524 ifetch 4 ,contr 
+0x1859 005525 add rega ,coffset_le_slave_latency ,contw 
+0x185a 005526 istore 4 ,contw 
+0x185b 005527 branch le_receive_window_size 
+:      005529 le_update_param_cb:
+0x185c 005530 ifetch 1 ,rega 
+0x185d 005531 set0 lestate_got_first_packet ,pdata 
+0x185e 005532 istore 1 ,rega 
+0x185f 005533 fetch 2 ,mem_le_superto 
+0x1860 005534 store 2 ,mem_le_init_superto 
+0x1861 005535 storer rega ,2 ,mem_rega 
+0x1862 005536 jam bt_evt_le_parse_conn_param_accepted ,mem_fifo_temp 
+0x1863 005537 call ui_ipc_send_event 
+0x1864 005538 fetchr rega ,2 ,mem_rega 
+0x1865 005539 add rega ,coffset_le_slave_superto ,contr 
+0x1866 005540 ifetch 2 ,contr 
+0x1867 005541 store 2 ,mem_le_init_superto 
+0x1868 005542 rtn 
+:      005544 le_update_channel_map:
+0x1869 005545 arg 0 ,regc 
+0x186a 005546 arg le_update_channel_map_cb ,regb 
+0x186b 005547 arg lestate_update_map ,queue 
+0x186c 005548 branch le_check_update_flag 
+:      005550 le_update_channel_map_cb:
+0x186d 005551 add rega ,coffset_le_new_map ,contr 
+0x186e 005552 ifetch 5 ,contr 
+0x186f 005553 add rega ,coffset_le_channel_map ,contw 
+0x1870 005554 istore 5 ,contw 
+0x1871 005555 branch le_calc_channel_map 
+:      005558 le_update_phy:
+0x1872 005559 arg 0 ,regc 
+0x1873 005560 arg le_update_phy_cb ,regb 
+0x1874 005561 arg lestate_update_phy ,queue 
+0x1875 005562 branch le_check_update_flag 
+:      005564 le_update_phy_cb:
+0x1876 005565 add rega ,coffset_le_new_m2s_phy ,contr 
+0x1877 005566 ifetch 1 ,contr 
+0x1878 005567 call le_update_phy_cb_m2s 
+0x1879 005568 istore 1 ,contw 
+0x187a 005569 add rega ,coffset_le_new_s2m_phy ,contr 
+0x187b 005570 ifetch 1 ,contr 
+0x187c 005571 call le_update_phy_cb_s2m 
+0x187d 005572 istore 1 ,contw 
+0x187e 005573 storer rega ,2 ,mem_rega 
+0x187f 005574 jam bt_evt_le_update_phy ,mem_fifo_temp 
+0x1880 005575 call ui_ipc_send_event 
+0x1881 005576 fetchr rega ,2 ,mem_rega 
+0x1882 005577 rtn 
+:      005579 le_update_phy_cb_m2s:
+0x1883 005580 call le_update_phy_cb_m2s_no_change ,blank 
+0x1884 005581 add rega ,coffset_le_rx_phy ,contw 
+0x1885 005582 nrtn master 
+0x1886 005583 fetcht 1 ,mem_le_tx_phys 
+0x1887 005584 isolate1 bit_le_coded_phy_s8 ,temp 
+0x1888 005585 setflag true ,bit_le_coded_phy_s8 ,pdata 
+0x1889 005586 add rega ,coffset_le_tx_phy ,contw 
+0x188a 005587 rtn 
+:      005589 le_update_phy_cb_m2s_no_change:
+0x188b 005590 add rega ,coffset_le_rx_phy ,contr 
+0x188c 005591 ifetch 1 ,contr 
+0x188d 005592 nrtn master 
+0x188e 005593 add rega ,coffset_le_tx_phy ,contr 
+0x188f 005594 ifetch 1 ,contr 
+0x1890 005595 rtn 
+:      005597 le_update_phy_cb_s2m:
+0x1891 005598 call le_update_phy_cb_s2m_no_change ,blank 
+0x1892 005599 fetcht 1 ,mem_le_tx_phys 
+0x1893 005600 isolate1 bit_le_coded_phy_s8 ,temp 
+0x1894 005601 setflag true ,bit_le_coded_phy_s8 ,pdata 
+0x1895 005602 add rega ,coffset_le_tx_phy ,contw 
+0x1896 005603 nrtn master 
+0x1897 005604 set0 bit_le_coded_phy_s8 ,pdata 
+0x1898 005605 add rega ,coffset_le_rx_phy ,contw 
+0x1899 005606 rtn 
+:      005608 le_update_phy_cb_s2m_no_change:
+0x189a 005609 add rega ,coffset_le_tx_phy ,contr 
+0x189b 005610 ifetch 1 ,contr 
+0x189c 005611 nrtn master 
+0x189d 005612 add rega ,coffset_le_rx_phy ,contr 
+0x189e 005613 ifetch 1 ,contr 
+0x189f 005614 rtn 
+:      005619 le_check_update_flag:
+0x18a0 005620 ifetch 1 ,rega 
+0x18a1 005621 qisolate0 pdata 
+0x18a2 005622 rtn true 
+0x18a3 005623 add rega ,coffset_le_event_cnt ,contr 
+0x18a4 005624 ifetcht 2 ,contr 
+0x18a5 005625 add rega ,coffset_le_instant ,contr 
+0x18a6 005626 ifetch 2 ,contr 
+0x18a7 005628 isub temp ,pdata 
+0x18a8 005629 branch le_update ,zero 
+0x18a9 005630 nbranch le_check_update_small ,positive 
+0x18aa 005631 sub pdata ,1 ,null 
+0x18ab 005632 branch le_update_ahead1 ,zero 
+0x18ac 005633 rtn 
+:      005635 le_update_ahead1:
+0x18ad 005636 copy regc ,pdata 
+0x18ae 005637 branch callback_func 
+:      005639 le_update:
+0x18af 005640 ifetch 1 ,rega 
+0x18b0 005641 qset0 pdata 
+0x18b1 005642 istore 1 ,rega 
+0x18b2 005643 copy regb ,pdata 
+0x18b3 005644 branch callback_func 
+:      005646 le_check_update_small:
+0x18b4 005647 add rega ,coffset_le_event_cnt ,contr 
+0x18b5 005648 ifetch 2 ,contr 
+0x18b6 005649 add rega ,coffset_le_instant ,contr 
+0x18b7 005650 ifetch 2 ,contr 
+0x18b8 005651 isub temp ,pdata 
+0x18b9 005652 arg 0xffff ,temp 
+0x18ba 005653 isub temp ,null 
+0x18bb 005654 branch le_update ,zero 
+0x18bc 005655 arg 0xf000 ,temp 
+0x18bd 005656 isub temp ,null 
+0x18be 005657 nbranch le_update ,positive 
+0x18bf 005658 rtn 
+:      005661 le_check_retransmit:
+0x18c0 005662 fetcht 1 ,mem_le_arq 
+0x18c1 005663 fetch 1 ,mem_le_rxbuf_data_header 
+0x18c2 005666 rshift pdata ,pdata 
+0x18c3 005667 ixor temp ,pdata 
+0x18c4 005668 isolate1 nesn ,pdata 
+0x18c5 005669 setflag true ,mark_old_packet ,mark 
+0x18c6 005670 rtn 
+:      005673 le_acknowledge:
+0x18c7 005674 bpatchx patch36_5 ,mem_patch36 
+0x18c8 005675 call le_supervision_flush 
+0x18c9 005676 rtnmark1 mark_ble_crc_fail 
+0x18ca 005677 call le_check_wak 
+0x18cb 005678 fetch 1 ,mem_le_rxbuf_data_header 
+0x18cc 005679 isolate1 md ,pdata 
+0x18cd 005680 setflag true ,mark_ble_rx_md ,mark 
+0x18ce 005681 rshift pdata ,pdata 
+0x18cf 005682 ixor temp ,pdata 
+0x18d0 005683 isolate1 nesn ,pdata 
+0x18d1 005684 setflag true ,mark_old_packet ,mark 
+0x18d2 005685 rtnmark1 mark_old_packet 
+0x18d3 005686 fetch 1 ,mem_le_rxbuf_data_length 
+0x18d4 005687 branch le_ack_unenc ,blank 
+0x18d5 005688 fetch 1 ,mem_le_state 
+0x18d6 005689 bbit0 lestate_encryption ,le_ack_unenc 
+0x18d7 005690 fetcht 4 ,mem_le_peer_mic 
+0x18d8 005691 fetch 4 ,mem_ccm_last_mic 
+0x18d9 005692 isub temp ,null 
+0x18da 005693 branch assert ,zero 
+0x18db 005694 storet 4 ,mem_ccm_last_mic 
+0x18dc 005695 fetch 5 ,mem_ccm_pcnt_rx 
+0x18dd 005696 increase 1 ,pdata 
+0x18de 005697 set1 le_ccm_directionbit ,pdata 
+0x18df 005698 store 5 ,mem_ccm_pcnt_rx 
+:      005700 le_ack_unenc:
+0x18e0 005701 fetcht 1 ,mem_le_arq 
+0x18e1 005702 setflip nesn ,temp 
+0x18e2 005703 storet 1 ,mem_le_arq 
+0x18e3 005704 fetch 1 ,mem_le_configuration 
+0x18e4 005705 rtnbit0 bit_ble_deal_bb_packet 
+0x18e5 005706 bpatchx patch36_6 ,mem_patch36 
+0x18e6 005707 fetch 1 ,mem_le_rxbuf_data_length 
+0x18e7 005708 rtn blank 
+0x18e8 005709 fetch 1 ,mem_le_rxbuf_data_header 
+0x18e9 005710 compare llid_continue ,pdata ,3 
+0x18ea 005711 branch le_parse_writing_attribute_continue ,true 
+0x18eb 005712 compare llid_start ,pdata ,3 
+0x18ec 005713 branch le_parse_writing_attribute_start ,true 
+0x18ed 005714 rtn 
+:      005717 le_check_wak:
+0x18ee 005718 bpatchx patch36_7 ,mem_patch36 
+0x18ef 005719 fetcht 1 ,mem_le_arq 
+0x18f0 005720 isolate0 wak ,temp 
+0x18f1 005721 rtn true 
+0x18f2 005722 fetch 1 ,mem_le_rxbuf_data_header 
+0x18f3 005723 lshift pdata ,pdata 
+0x18f4 005724 ixor temp ,pdata 
+0x18f5 005725 rtnbit0 sn 
+0x18f6 005726 set0 wak ,temp 
+0x18f7 005727 setflip sn ,temp 
+0x18f8 005728 storet 1 ,mem_le_arq 
+0x18f9 005729 compare 3 ,temp ,3 
+0x18fa 005730 nrtn true 
+0x18fb 005731 rtn 
+:      005734 le_set_enc:
+0x18fc 005735 fetch 1 ,mem_le_state 
+0x18fd 005736 set1 lestate_encryption ,pdata 
+0x18fe 005737 store 1 ,mem_le_state 
+0x18ff 005738 set1 mark_ble_encryption ,mark 
+0x1900 005739 rtn 
+:      005741 le_clear_enc:
+0x1901 005742 bpatchx patch37_0 ,mem_patch37 
+0x1902 005743 jam flag_le_enc_null ,mem_le_enc_state 
+0x1903 005744 arg 0 ,pdata 
+0x1904 005745 store 4 ,mem_ccm_last_mic 
+0x1905 005746 store 5 ,mem_ccm_pcnt_tx 
+0x1906 005747 set1 le_ccm_directionbit ,pdata 
+0x1907 005748 store 5 ,mem_ccm_pcnt_rx 
+0x1908 005749 fetch 1 ,mem_le_state 
+0x1909 005750 set0 lestate_encryption ,pdata 
+0x190a 005751 store 1 ,mem_le_state 
+0x190b 005752 set0 mark_ble_encryption ,mark 
+0x190c 005753 rtn 
+:      005758 le_scan_check_sender_addr_type:
+0x190d 005759 arg 1 ,rega 
+0x190e 005760 fetch 1 ,mem_le_rxbuf_adv_connect_ind_header 
+0x190f 005761 rtnbit1 le_sender_addr_bit 
+0x1910 005762 arg 0 ,rega 
+0x1911 005763 rtn 
+:      005766 le_get_master_rx_max:
+0x1912 005767 copy contr ,contw 
+0x1913 005768 fetcht 2 ,mem_remote_rx_max_octets 
+0x1914 005769 copy contw ,contr 
+0x1915 005770 rtn 
+:      005773 le_prepare_tx:
+0x1916 005774 bpatchx patch37_1 ,mem_patch37 
+0x1917 005775 fetch 1 ,mem_le_arq 
+0x1918 005776 rtnbit1 wak 
+0x1919 005777 call le_check_tx_md 
+0x191a 005778 call le_fifo_get_first_tx_ptr 
+0x191b 005779 branch le_send_empty ,blank 
+0x191c 005780 ifetch 2 ,contr 
+0x191d 005781 ifetcht 2 ,contr 
+0x191e 005782 copy temp ,rega 
+0x191f 005783 isub rega ,pdata 
+0x1920 005784 call le_get_master_rx_max 
+0x1921 005785 call not_greater_than 
+0x1922 005786 copy pdata ,temp 
+0x1923 005787 ifetchr type ,1 ,contr 
+0x1924 005788 copy rega ,pdata 
+0x1925 005789 iadd contr ,pdata 
+0x1926 005790 store 2 ,mem_contr 
+0x1927 005791 call le_update_tx_type 
+0x1928 005792 call le_send_packet 
+0x1929 005794 call le_fifo_get_first_tx_ptr 
+0x192a 005795 ifetch 2 ,contr 
+0x192b 005796 copy pdata ,rega 
+0x192c 005797 copy contr ,regc 
+0x192d 005798 ifetcht 2 ,contr 
+0x192e 005799 copy temp ,regb 
+0x192f 005800 isub regb ,pdata 
+0x1930 005801 call le_get_master_rx_max 
+0x1931 005802 call not_greater_than 
+0x1932 005803 iadd regb ,pdata 
+0x1933 005804 istore 2 ,regc 
+0x1934 005805 isub rega ,null 
+0x1935 005806 nrtn zero 
+0x1936 005807 branch le_fifo_release_first_node 
+:      005810 le_check_tx_md:
+0x1937 005811 call le_check_continue 
+0x1938 005812 rtnmark1 mark_ble_tx_md 
+0x1939 005813 fetch 1 ,mem_le_configuration 
+0x193a 005814 bbit0 bit_ble_transmit_packet_by_md ,le_clear_md 
+0x193b 005815 call le_fifo_get_second_tx_ptr 
+0x193c 005816 branch le_clear_md ,blank 
+0x193d 005817 branch le_set_md 
+:      005820 le_check_continue:
+0x193e 005821 call le_fifo_get_first_tx_ptr 
+0x193f 005822 branch le_clear_md ,blank 
+0x1940 005823 ifetch 2 ,contr 
+0x1941 005824 ifetcht 2 ,contr 
+0x1942 005825 isub temp ,rega 
+0x1943 005826 call le_get_master_rx_max 
+0x1944 005827 copy temp ,pdata 
+0x1945 005828 isub rega ,null 
+0x1946 005829 branch le_clear_md ,positive 
+:      005830 le_set_md:
+0x1947 005831 set1 mark_ble_tx_md ,mark 
+0x1948 005832 rtn 
+:      005834 le_clear_md:
+0x1949 005835 set0 mark_ble_tx_md ,mark 
+0x194a 005836 rtn 
+:      005838 le_update_tx_type:
+0x194b 005839 copy rega ,pdata 
+0x194c 005840 rtn blank 
+0x194d 005841 arg llid_continue ,type 
+0x194e 005842 rtn 
+:      005845 le_att_check_notification_enable:
+0x194f 005846 bpatchx patch37_2 ,mem_patch37 
+0x1950 005847 increase 1 ,temp 
+0x1951 005848 call le_att_get_handle_ptr 
+0x1952 005849 increase -2 ,contr 
+0x1953 005850 ifetch 2 ,contr 
+0x1954 005851 arg client_charactertic_configuration ,temp 
+0x1955 005852 isub temp ,null 
+0x1956 005853 nrtn zero 
+0x1957 005854 increase 1 ,contr 
+0x1958 005855 copy contr ,rega 
+0x1959 005856 ifetch 1 ,contr 
+0x195a 005857 rtn 
+:      005860 le_send_empty:
+0x195b 005861 force 0 ,temp 
+0x195c 005862 force 1 ,type 
+:      005864 le_send_packet:
+0x195d 005865 bpatchx patch37_3 ,mem_patch37 
+0x195e 005866 storet 1 ,mem_le_txlen 
+0x195f 005867 fetcht 1 ,mem_le_arq 
+0x1960 005868 set1 wak ,temp 
+0x1961 005869 and temp ,0xfc ,pdata 
+0x1962 005870 ior type ,pdata 
+0x1963 005871 store 1 ,mem_le_arq 
+0x1964 005872 and_into 0x1f ,pdata 
+0x1965 005873 isolate1 mark_ble_tx_md ,mark 
+0x1966 005874 setflag true ,md ,pdata 
+0x1967 005875 store 1 ,mem_le_txheader 
+0x1968 005877 fetch 1 ,mem_le_txheader 
+0x1969 005878 compare 1 ,type ,3 
+0x196a 005879 nbranch le_send_no_txlen ,true 
+0x196b 005880 fetch 1 ,mem_le_txlen 
+0x196c 005881 rtn blank 
+:      005883 le_send_no_txlen:
+0x196d 005884 bmark1 mark_ble_encryption ,le_send_packet_enc 
+0x196e 005885 fetchr loopcnt ,1 ,mem_le_txlen 
+0x196f 005886 fetch 2 ,mem_contr 
+0x1970 005887 copy pdata ,contr 
+0x1971 005888 arg mem_le_txpayload ,contw 
+0x1972 005889 branch memcpy_fast 
+:      005891 le_send_packet_enc:
+0x1973 005892 call load_sk 
+0x1974 005893 branch le_encrypt_new_start 
+:      005895 get_lpm_wake_ble_rx_lock:
+0x1975 005896 arg wake_lock_ble_rx ,queue 
+0x1976 005897 branch lpm_get_wake_lock 
+:      005899 put_lpm_wake_ble_rx_lock:
+0x1977 005900 arg wake_lock_ble_rx ,queue 
+0x1978 005901 branch lpm_put_wake_lock 
+:      005904 le_parse:
+0x1979 005905 bpatchx patch37_4 ,mem_patch37 
+0x197a 005906 rtnmark1 mark_old_packet 
+0x197b 005907 rtnmark1 mark_ble_crc_fail 
+0x197c 005908 fetch 1 ,mem_le_rxbuf_data_header 
+0x197d 005909 and pdata ,0x3 ,pdata 
+0x197e 005910 store 1 ,mem_le_packet_llid 
+0x197f 005911 fetch 1 ,mem_le_rxbuf_data_length 
+0x1980 005912 rtn blank 
+0x1981 005913 setarg mem_le_rxbuf_data_payload 
+0x1982 005914 store 2 ,mem_le_payload_ptr 
+0x1983 005915 bpatchx patch37_5 ,mem_patch37 
+0x1984 005916 fetch 1 ,mem_le_packet_llid 
+0x1985 005917 beq llid_le_ll ,le_parse_ll 
+:      005918 le_parse_l2cap:
+0x1986 005919 call le_check_l2cap_complete 
+0x1987 005920 nbranch get_lpm_wake_ble_rx_lock ,user 
+0x1988 005921 call put_lpm_wake_ble_rx_lock 
+0x1989 005922 setarg 0 
+0x198a 005923 store 2 ,mem_le_packet_len_recved 
+0x198b 005924 fetch 2 ,mem_le_payload_ptr 
+0x198c 005925 add pdata ,2 ,contr 
+0x198d 005926 bpatchx patch37_6 ,mem_patch37 
+0x198e 005927 ifetch 2 ,contr 
+0x198f 005928 beq le_l2cap_cid_att ,le_parse_att 
+0x1990 005929 beq le_l2cap_cid_smp ,le_parse_smp 
+0x1991 005930 beq le_l2cap_cid_signal ,le_parse_signaling 
+0x1992 005931 rtn 
+:      005934 le_check_l2cap_complete:
+0x1993 005935 fetch 1 ,mem_le_packet_llid 
+0x1994 005936 beq llid_start ,le_check_l2cap_llid_start 
+0x1995 005937 beq llid_continue ,le_check_l2cap_llid_continue 
+0x1996 005938 rtn 
+:      005943 le_check_l2cap_cid_legal:
+0x1997 005944 call enable_user 
+0x1998 005945 arg le_l2cap_cid_att ,temp 
+0x1999 005946 isub pdata ,null 
+0x199a 005947 rtn zero 
+0x199b 005948 arg le_l2cap_cid_signal ,temp 
+0x199c 005949 isub pdata ,null 
+0x199d 005950 rtn zero 
+0x199e 005951 arg le_l2cap_cid_smp ,temp 
+0x199f 005952 isub pdata ,null 
+0x19a0 005953 rtn zero 
+0x19a1 005954 branch disable_user 
+:      005957 le_check_l2cap_llid_start:
+0x19a2 005958 fetch 2 ,mem_le_payload_ptr 
+0x19a3 005959 copy pdata ,contr 
+0x19a4 005960 ifetch 2 ,contr 
+0x19a5 005961 store 2 ,mem_le_l2cap_size 
+0x19a6 005962 ifetch 2 ,contr 
+0x19a7 005963 call le_check_l2cap_cid_legal 
+0x19a8 005964 nrtn user 
+0x19a9 005965 fetcht 1 ,mem_le_rxbuf_data_length 
+0x19aa 005966 storet 2 ,mem_le_packet_len_recved 
+0x19ab 005967 fetch 2 ,mem_le_l2cap_size 
+0x19ac 005968 increase 4 ,pdata 
+0x19ad 005969 isub temp ,null 
+0x19ae 005970 branch enable_user ,zero 
+0x19af 005971 fetchr loopcnt ,1 ,mem_le_rxbuf_data_length 
+0x19b0 005972 arg mem_le_l2cap_buf ,contw 
+0x19b1 005973 fetch 2 ,mem_le_payload_ptr 
+0x19b2 005974 copy pdata ,contr 
+0x19b3 005975 call memcpy_fast 
+0x19b4 005976 branch disable_user 
+:      005981 le_check_l2cap_continue_legal:
+0x19b5 005982 call enable_user 
+0x19b6 005983 fetch 2 ,mem_le_packet_len_recved 
+0x19b7 005984 nrtn blank 
+0x19b8 005985 branch disable_user 
+:      005987 le_check_l2cap_llid_continue:
+0x19b9 005988 call le_check_l2cap_continue_legal 
+0x19ba 005989 nrtn user 
+0x19bb 005990 fetch 2 ,mem_le_packet_len_recved 
+0x19bc 005991 arg mem_le_l2cap_buf ,contw 
+0x19bd 005992 iadd contw ,rega 
+0x19be 005993 fetcht 1 ,mem_le_rxbuf_data_length 
+0x19bf 005994 iadd temp ,pdata 
+0x19c0 005995 store 2 ,mem_le_packet_len_recved 
+0x19c1 005996 fetchr loopcnt ,1 ,mem_le_rxbuf_data_length 
+0x19c2 005997 copy rega ,contw 
+0x19c3 005998 fetch 2 ,mem_le_payload_ptr 
+0x19c4 005999 copy pdata ,contr 
+0x19c5 006000 call memcpy_fast 
+0x19c6 006001 setarg mem_le_l2cap_buf 
+0x19c7 006002 store 2 ,mem_le_payload_ptr 
+0x19c8 006003 fetch 2 ,mem_le_l2cap_size 
+0x19c9 006004 increase 4 ,pdata 
+0x19ca 006005 fetcht 2 ,mem_le_packet_len_recved 
+0x19cb 006006 isub temp ,null 
+0x19cc 006007 branch enable_user ,zero 
+0x19cd 006008 branch disable_user 
+:      006014 le_get_search_att_uuid:
+0x19ce 006015 call store_contr 
+0x19cf 006016 arg mem_le_search_uuid_length ,contw 
+0x19d0 006017 branch le_get_search_common 
+:      006021 le_writeatt_cb:
+0x19d1 006022 fetch 2 ,mem_cb_att_write 
+0x19d2 006023 branch callback_func 
+:      006025 le_supervision_update:
+0x19d3 006026 fetcht 4 ,mem_le_supervision_timer 
+0x19d4 006027 call get_clkbt 
+0x19d5 006028 isub temp ,timeup 
+0x19d6 006029 deposit timeup 
+0x19d7 006030 fetcht 2 ,mem_le_superto 
+0x19d8 006031 lshift4 temp ,temp 
+0x19d9 006032 lshift temp ,temp 
+0x19da 006033 isub temp ,pdata 
+0x19db 006034 rtn 
+:      006036 le_supervision_flush:
+0x19dc 006037 call get_clkbt 
+0x19dd 006038 store 4 ,mem_le_supervision_timer 
+0x19de 006039 rtn 
+:      006043 le_receive_window_size:
+0x19df 006044 bpatchx patch37_7 ,mem_patch37 
+0x19e0 006045 add rega ,coffset_le_peer_sca ,contr 
+0x19e1 006046 ifetch 1 ,contr 
+0x19e2 006047 call le_sca_map 
+0x19e3 006048 add rega ,coffset_tsniff ,contr 
+0x19e4 006049 ifetch 2 ,contr 
+0x19e5 006050 imul32 temp ,pdata 
+0x19e6 006051 fetcht 2 ,mem_param_rt_rthalfslot 
+0x19e7 006052 imul32 temp ,pdata 
+0x19e8 006053 arg 1000000 ,temp 
+0x19e9 006054 idiv temp 
+0x19ea 006055 arg param_windown_size ,temp 
+0x19eb 006056 fetch 1 ,mem_system_clk 
+0x19ec 006057 imul32 temp ,temp 
+0x19ed 006058 add rega ,coffset_le_window_size ,contr 
+0x19ee 006059 ifetch 1 ,contr 
+0x19ef 006060 imul32 temp ,pdata 
+0x19f0 006061 iadd temp ,pdata 
+0x19f1 006062 store 4 ,mem_le_transmit_window 
+0x19f2 006063 fetch 2 ,mem_rx_window_sniff 
+0x19f3 006064 call wait_div_end 
+0x19f4 006065 quotient temp 
+0x19f5 006066 iadd temp ,pdata 
+0x19f6 006067 add rega ,coffset_rx_window ,contw 
+0x19f7 006068 istore 2 ,contw 
+0x19f8 006069 rtn 
+:      006073 le_init_attlist_search:
+0x19f9 006074 bpatchx patch38_0 ,mem_patch38 
+0x19fa 006075 fetch 2 ,mem_le_search_handle_start 
+0x19fb 006076 iforce regb 
+0x19fc 006077 fetch 2 ,mem_le_search_handle_end 
+0x19fd 006078 iforce regc 
+0x19fe 006079 fetch 2 ,mem_ui_le_uuid_table 
+0x19ff 006080 iforce contr 
+0x1a00 006081 enable user 
+0x1a01 006082 rtn 
+:      006085 le_att_handle_inrange:
+0x1a02 006086 ifetch 2 ,contr 
+0x1a03 006087 and_into 0xff ,pdata 
+0x1a04 006088 rtn blank 
+0x1a05 006089 isub regb ,null 
+0x1a06 006090 nrtn positive 
+0x1a07 006091 isub regc ,null 
+0x1a08 006092 rtn zero 
+0x1a09 006093 branch le_att_handle_blank ,positive 
+0x1a0a 006094 force 1 ,null 
+0x1a0b 006095 rtn 
+:      006096 le_att_handle_blank:
+0x1a0c 006097 force 0 ,pdata 
+0x1a0d 006098 rtn 
+:      006102 le_att_get_handle_ptr:
+0x1a0e 006103 call le_att_get_handle_ptr2 
+0x1a0f 006104 branch le_att_get_handle_ptr_found ,zero 
+0x1a10 006105 rtn 
+:      006107 le_att_get_handle_ptr2:
+0x1a11 006108 bpatchx patch38_1 ,mem_patch38 
+0x1a12 006109 fetch 2 ,mem_ui_le_uuid_table 
+0x1a13 006110 iforce contr 
+:      006111 le_att_get_handle_loop1:
+0x1a14 006112 ifetch 2 ,contr 
+0x1a15 006113 and_into 0xff ,pdata 
+0x1a16 006114 rtn blank 
+0x1a17 006115 isub temp ,null 
+0x1a18 006116 rtn zero 
+0x1a19 006117 ifetch 1 ,contr 
+0x1a1a 006118 iadd contr ,contr 
+0x1a1b 006119 ifetch 1 ,contr 
+0x1a1c 006120 iadd contr ,contr 
+0x1a1d 006121 branch le_att_get_handle_loop1 
+:      006122 le_att_get_handle_ptr_found:
+0x1a1e 006123 ifetch 1 ,contr 
+0x1a1f 006124 iadd contr ,contr 
+0x1a20 006125 rtn 
+:      006129 le_att_get_short_uuid_ptr:
+0x1a21 006130 bpatchx patch38_2 ,mem_patch38 
+0x1a22 006131 fetch 2 ,mem_ui_le_uuid_table 
+0x1a23 006132 iforce contr 
+:      006133 le_att_get_short_uuid_loop:
+0x1a24 006134 ifetch 2 ,contr 
+0x1a25 006135 and_into 0xff ,pdata 
+0x1a26 006136 rtn blank 
+0x1a27 006137 ifetch 1 ,contr 
+0x1a28 006138 iadd contr ,contr 
+0x1a29 006139 increase -2 ,contr 
+0x1a2a 006140 ifetch 2 ,contr 
+0x1a2b 006141 isub temp ,null 
+0x1a2c 006142 rtn zero 
+0x1a2d 006143 ifetch 1 ,contr 
+0x1a2e 006144 iadd contr ,contr 
+0x1a2f 006145 branch le_att_get_short_uuid_loop 
+:      006150 le_att_get_last_handle:
+0x1a30 006151 fetch 2 ,mem_ui_le_uuid_table 
+0x1a31 006152 iforce contr 
+:      006153 le_att_get_last_handle_loop:
+0x1a32 006154 ifetch 2 ,contr 
+0x1a33 006155 and_into 0xff ,pdata 
+0x1a34 006156 rtn blank 
+0x1a35 006157 add pdata ,1 ,temp 
+0x1a36 006158 ifetch 1 ,contr 
+0x1a37 006159 iadd contr ,contr 
+0x1a38 006160 ifetch 1 ,contr 
+0x1a39 006161 iadd contr ,contr 
+0x1a3a 006162 copy contr ,contw 
+0x1a3b 006163 branch le_att_get_last_handle_loop 
+:      006166 le_att_get_handle_info_from_ptr:
+0x1a3c 006167 fetch 2 ,mem_le_cur_attlist_start_ptr 
+0x1a3d 006168 branch le_att_get_handle_info_fast 
+:      006170 le_att_get_handle_info:
+0x1a3e 006171 bpatchx patch38_3 ,mem_patch38 
+0x1a3f 006172 fetch 2 ,mem_ui_le_uuid_table 
+:      006173 le_att_get_handle_info_fast:
+0x1a40 006174 iforce contr 
+:      006175 le_att_get_handle_loop:
+0x1a41 006176 ifetch 2 ,contr 
+0x1a42 006177 and_into 0xff ,pdata 
+0x1a43 006178 branch le_att_unfind_handle ,blank 
+0x1a44 006179 isub temp ,null 
+0x1a45 006180 branch le_att_finded_handle ,zero 
+0x1a46 006181 ifetch 1 ,contr 
+0x1a47 006182 iadd contr ,contr 
+0x1a48 006183 ifetch 1 ,contr 
+0x1a49 006184 iadd contr ,contr 
+0x1a4a 006185 branch le_att_get_handle_loop 
+:      006186 le_att_unfind_handle:
+0x1a4b 006187 branch disable_blank 
+:      006189 le_att_finded_handle:
+0x1a4c 006190 ifetch 1 ,contr 
+0x1a4d 006191 store 1 ,mem_le_cur_uuid_length 
+0x1a4e 006192 copy pdata ,loopcnt 
+0x1a4f 006193 arg mem_le_cur_uuid ,contw 
+0x1a50 006194 call memcpy_fast 
+0x1a51 006195 ifetch 1 ,contr 
+0x1a52 006196 store 1 ,mem_le_curr_att_len 
+0x1a53 006197 call store_contr 
+0x1a54 006198 branch enable_blank 
+:      006201 le_modified_name:
+0x1a55 006202 bpatchx patch38_4 ,mem_patch38 
+0x1a56 006203 call le_modified_name_att_list 
+0x1a57 006204 branch le_modified_name_adv 
+:      006206 le_modified_name_att_list:
+0x1a58 006207 arg uuid_chrctr_device_name ,temp 
+0x1a59 006208 call le_att_get_short_uuid_ptr 
+0x1a5a 006209 rtn blank 
+0x1a5b 006210 ifetch 1 ,contr 
+0x1a5c 006211 copy contr ,contw 
+0x1a5d 006212 fetcht 1 ,mem_le_name_len 
+0x1a5e 006213 copy temp ,loopcnt 
+0x1a5f 006214 isub temp ,null 
+0x1a60 006215 nbranch le_name_length_longer_than_att ,positive 
+0x1a61 006216 isub temp ,temp 
+0x1a62 006217 arg mem_le_name ,contr 
+0x1a63 006218 call memcpy_fast 
+0x1a64 006219 copy temp ,loopcnt 
+0x1a65 006220 ncall memcpy_empty ,zero 
+0x1a66 006221 rtn 
+:      006222 le_name_length_longer_than_att:
+0x1a67 006223 copy pdata ,loopcnt 
+0x1a68 006224 arg mem_le_name ,contr 
+0x1a69 006225 branch memcpy_fast 
+:      006228 le_modified_name_adv:
+0x1a6a 006229 arg mem_le_adv_data_len + 32 ,regc 
+0x1a6b 006230 arg mem_le_adv_data ,rega 
+0x1a6c 006231 call le_modified_name_adv_and_scan 
+0x1a6d 006232 setarg 0 
+0x1a6e 006233 setflag user ,0 ,pdata 
+0x1a6f 006234 store 1 ,mem_pdatatemp 
+0x1a70 006235 arg mem_le_scan_data_len + 32 ,regc 
+0x1a71 006236 arg mem_le_scan_data ,rega 
+0x1a72 006237 call le_modified_name_adv_and_scan 
+0x1a73 006238 rtn user 
+0x1a74 006239 fetch 1 ,mem_pdatatemp 
+0x1a75 006240 branch assert ,blank 
+0x1a76 006241 rtn 
+:      006244 le_modified_name_adv_and_scan:
+0x1a77 006245 bpatchx patch38_5 ,mem_patch38 
+0x1a78 006246 call enable_user 
+0x1a79 006247 call clear_temp_block 
+0x1a7a 006248 arg 0 ,regb 
+0x1a7b 006249 arg mem_le_data_temp ,contw 
+0x1a7c 006250 call le_modified_name_adv_loop 
+0x1a7d 006251 fetch 1 ,mem_le_name_len 
+0x1a7e 006252 add pdata ,1 ,temp 
+0x1a7f 006253 iadd regb ,rega 
+0x1a80 006254 increase 2 ,rega 
+0x1a81 006255 sub rega ,0x1f ,null 
+0x1a82 006256 nbranch le_modified_name_adv_and_scan_name_overflow ,positive 
+0x1a83 006257 istoret 1 ,contw 
+0x1a84 006258 arg gap_adtype_local_name_complete ,temp 
+0x1a85 006259 istoret 1 ,contw 
+0x1a86 006260 iforce loopcnt 
+0x1a87 006261 call memcpy_fast 
+0x1a88 006262 copy rega ,regb 
+:      006263 le_modified_name_adv_and_scan_store_data:
+0x1a89 006264 deposit regb 
+0x1a8a 006265 store 1 ,mem_le_data_len_temp 
+0x1a8b 006266 arg mem_le_data_len_temp ,contr 
+0x1a8c 006267 setarg -32 
+0x1a8d 006268 iadd regc ,contw 
+0x1a8e 006269 branch memcpy32 
+:      006271 le_modified_name_adv_and_scan_name_overflow:
+0x1a8f 006272 call disable_user 
+0x1a90 006273 branch le_modified_name_adv_and_scan_store_data 
+:      006275 le_modified_name_adv_loop:
+0x1a91 006276 ifetch 1 ,rega 
+0x1a92 006277 rtn blank 
+0x1a93 006278 pincrease 1 
+0x1a94 006279 ifetcht 1 ,contr 
+0x1a95 006280 sub temp ,gap_adtype_local_name_complete ,null 
+0x1a96 006281 branch le_modified_name_adv_found_name ,zero 
+0x1a97 006282 iadd regb ,regb 
+0x1a98 006283 copy rega ,contr 
+0x1a99 006284 iforce loopcnt 
+0x1a9a 006285 call memcpy_fast 
+0x1a9b 006286 copy contr ,rega 
+:      006287 le_modified_name_adv_loop2:
+0x1a9c 006288 deposit rega 
+0x1a9d 006289 isub regc ,null 
+0x1a9e 006290 rtn positive 
+0x1a9f 006291 branch le_modified_name_adv_loop 
+:      006293 le_modified_name_adv_found_name:
+0x1aa0 006294 iadd rega ,rega 
+0x1aa1 006295 branch le_modified_name_adv_loop2 
+:      006298 memcpy_empty:
+0x1aa2 006299 setarg space 
+0x1aa3 006300 istore 1 ,contw 
+0x1aa4 006301 loop memcpy_empty 
+0x1aa5 006302 rtn 
+:      006305 le_lpm_set_mult:
+0x1aa6 006306 bpatchx patch38_6 ,mem_patch38 
+0x1aa7 006307 disable wake 
+0x1aa8 006308 branch le_lpm_set_mult_attempt ,attempt 
+0x1aa9 006309 nbranch le_lpm_lost ,match 
+:      006310 le_lpm_set_mult_attempt:
+0x1aaa 006311 call lpm_match 
+0x1aab 006312 fetch 2 ,mem_rx_window_sniff 
+0x1aac 006313 store 2 ,mem_le_receive_window 
+:      006314 le_lpm_set_mult_attempt_match:
+0x1aad 006315 nbranch lpm_mult_short ,match 
+0x1aae 006316 bmark1 mark_old_packet ,lpm_mult_short 
+0x1aaf 006318 fetch 1 ,mem_le_rxbuf_data_length 
+0x1ab0 006319 nbranch lpm_mult_short ,blank 
+0x1ab1 006320 fetch 1 ,mem_le_txlen 
+0x1ab2 006321 nbranch lpm_mult_short ,blank 
+0x1ab3 006323 fetch 1 ,mem_le_configuration 
+0x1ab4 006324 bbit1 bit_ble_short_mult ,lpm_mult_short 
+0x1ab5 006326 fetch 1 ,mem_le_state 
+0x1ab6 006327 bbit1 lestate_update_param ,lpm_mult_short 
+0x1ab7 006328 branch lpm_mult_wait_timeout 
+:      006330 le_lpm_lost:
+0x1ab8 006331 fetcht 2 ,mem_rx_window_sniff 
+0x1ab9 006332 rshift temp ,temp 
+0x1aba 006333 fetch 2 ,mem_le_receive_window 
+0x1abb 006334 iadd temp ,pdata 
+0x1abc 006335 store 2 ,mem_le_receive_window 
+0x1abd 006336 branch lpm_lost 
+:      006339 le_set_config_fixed_tk:
+0x1abe 006340 arg bit_ble_passkey_fixed_key ,queue 
+0x1abf 006341 branch le_set_config 
+:      006343 le_clr_config_fixed_tk:
+0x1ac0 006344 arg bit_ble_passkey_fixed_key ,queue 
+0x1ac1 006345 branch le_clr_config 
+:      006347 le_set_config_fixed_ltk:
+0x1ac2 006348 arg bit_ble_pairing_fixed_ltk ,queue 
+0x1ac3 006349 branch le_set_config 
+:      006351 le_clr_config_fixed_ltk:
+0x1ac4 006352 arg bit_ble_pairing_fixed_ltk ,queue 
+0x1ac5 006353 branch le_clr_config 
+:      006355 le_set_config_more_data:
+0x1ac6 006356 arg bit_ble_transmit_packet_by_md ,queue 
+0x1ac7 006357 branch le_set_config 
+:      006359 le_clr_config_more_data:
+0x1ac8 006360 arg bit_ble_transmit_packet_by_md ,queue 
+0x1ac9 006361 branch le_clr_config 
+:      006363 le_set_config_read_authentication:
+0x1aca 006364 arg bit_ble_read_auth ,queue 
+0x1acb 006365 branch le_set_config 
+:      006367 le_clr_config_read_authentication:
+0x1acc 006368 arg bit_ble_read_auth ,queue 
+0x1acd 006369 branch le_clr_config 
+:      006371 le_set_config_write_authentication:
+0x1ace 006372 arg bit_ble_write_auth ,queue 
+0x1acf 006373 branch le_set_config 
+:      006375 le_clr_config_write_authentication:
+0x1ad0 006376 arg bit_ble_write_auth ,queue 
+0x1ad1 006377 branch le_clr_config 
+:      006379 le_set_config_short_mult:
+0x1ad2 006380 arg bit_ble_short_mult ,queue 
+0x1ad3 006381 branch le_set_config 
+:      006383 le_clr_config_short_mult:
+0x1ad4 006384 arg bit_ble_short_mult ,queue 
+0x1ad5 006385 branch le_clr_config 
+:      006388 le_set_config:
+0x1ad6 006389 fetch 1 ,mem_le_configuration 
+0x1ad7 006390 qset1 pdata 
+0x1ad8 006391 store 1 ,mem_le_configuration 
+0x1ad9 006392 rtn 
+:      006394 le_clr_config:
+0x1ada 006395 fetch 1 ,mem_le_configuration 
+0x1adb 006396 qset0 pdata 
+0x1adc 006397 store 1 ,mem_le_configuration 
+0x1add 006398 rtn 
+:      006400 le_set_fixed_ltk:
+0x1ade 006401 setarg 0x112233 
+0x1adf 006402 store 3 ,mem_le_fixed_ltk 
+0x1ae0 006403 setarg 0x445566 
+0x1ae1 006404 istore 3 ,contw 
+0x1ae2 006405 setarg 0x778899 
+0x1ae3 006406 istore 3 ,contw 
+0x1ae4 006407 setarg 0x001122 
+0x1ae5 006408 istore 3 ,contw 
+0x1ae6 006409 setarg 0x334455 
+0x1ae7 006410 istore 3 ,contw 
+0x1ae8 006411 setarg 0x66 
+0x1ae9 006412 istore 1 ,contw 
+0x1aea 006413 rtn 
+:      006416 le_set_justwork:
+0x1aeb 006417 setarg 0x01000302 
+0x1aec 006418 store 4 ,mem_le_pres 
+0x1aed 006419 setarg 0x010010 
+0x1aee 006420 store 3 ,mem_le_pres_max_keysize 
+0x1aef 006421 jam 1 ,mem_le_pairing_mode 
+0x1af0 006422 rtn 
+:      006426 le_fifo_malloc_tx_empty:
+0x1af1 006427 arg 0 ,rega 
+0x1af2 006428 arg llid_empty ,type 
+0x1af3 006429 branch le_fifo_malloc_tx 
+:      006433 le_fifo_malloc_tx_ll:
+0x1af4 006434 arg llid_le_ll ,type 
+0x1af5 006435 call le_fifo_malloc_tx 
+0x1af6 006436 copy regb ,pdata 
+0x1af7 006437 istore 1 ,contw 
+0x1af8 006438 rtn 
+:      006442 le_fifo_malloc_tx_l2cap:
+0x1af9 006443 force llid_start ,type 
+0x1afa 006444 increase 4 ,rega 
+0x1afb 006445 call le_fifo_malloc_tx 
+0x1afc 006446 increase -4 ,rega 
+0x1afd 006447 copy rega ,pdata 
+0x1afe 006448 istore 2 ,contw 
+0x1aff 006449 copy regb ,pdata 
+0x1b00 006450 istore 2 ,contw 
+0x1b01 006451 rtn 
+:      006455 le_fifo_malloc_tx:
+0x1b02 006456 bpatchx patch38_7 ,mem_patch38 
+0x1b03 006457 increase 5 ,rega 
+0x1b04 006458 call ble_l2cap_malloc 
+0x1b05 006459 increase -5 ,rega 
+0x1b06 006460 copy rega ,pdata 
+0x1b07 006461 istore 2 ,contw 
+0x1b08 006462 setarg 0 
+0x1b09 006463 istore 2 ,contw 
+0x1b0a 006464 copy type ,pdata 
+0x1b0b 006465 istore 1 ,contw 
+0x1b0c 006466 rtn 
+:      006469 le_fifo_get_first_tx_ptr:
+0x1b0d 006470 call l2cap_malloc_fifo_out 
+0x1b0e 006471 copy pdata ,contr 
+0x1b0f 006472 rtn 
+:      006474 le_fifo_get_second_tx_ptr:
+0x1b10 006475 fetch 2 ,mem_tx_fifo2_ptr 
+0x1b11 006476 rtn 
+:      006478 le_fifo_get_last_tx_ptr:
+0x1b12 006479 call le_fifo_get_last_tx_ptr0 
+0x1b13 006480 copy pdata ,contr 
+0x1b14 006481 rtn 
+:      006484 le_fifo_get_last_tx_ptr0:
+0x1b15 006485 fetch 2 ,mem_tx_fifo3_ptr 
+0x1b16 006486 rtn 
+:      006489 le_fifo_get_first_l2cap_ptr:
+0x1b17 006490 call le_fifo_get_first_tx_ptr 
+0x1b18 006491 increase 5 ,contr 
+0x1b19 006492 rtn 
+:      006494 le_fifo_get_first_att_ptr:
+0x1b1a 006495 call le_fifo_get_first_tx_ptr 
+0x1b1b 006496 increase 9 ,contr 
+0x1b1c 006497 rtn 
+:      006499 le_fifo_get_last_att_ptr:
+0x1b1d 006500 call le_fifo_get_last_tx_ptr 
+0x1b1e 006501 increase 9 ,contr 
+0x1b1f 006502 rtn 
+:      006504 le_fifo_get_last_l2cap_ptr:
+0x1b20 006505 call le_fifo_get_last_tx_ptr 
+0x1b21 006506 increase 5 ,contr 
+0x1b22 006507 rtn 
+:      006510 le_fifo_check_full:
+0x1b23 006511 branch l2cap_malloc_is_fifo_full 
+:      006514 le_fifo_check_nearly_full:
+0x1b24 006515 branch l2cap_malloc_is_fifo_nearly_full 
+:      006518 le_fifo_check_empty:
+0x1b25 006519 branch l2cap_malloc_is_fifo_empty 
+:      006522 le_fifo_release_first_node:
+0x1b26 006523 branch l2cap_malloc_free 
+:      006526 le_set_dle:
+0x1b27 006527 store 8 ,mem_local_rx_max_octets 
+0x1b28 006528 branch le_set_feature_data_packet_length_extension 
+:      006531 le_set_phys:
+0x1b29 006532 and temp ,0xff ,rega 
+0x1b2a 006533 call le_set_tx_phy 
+0x1b2b 006534 rshift8 temp ,rega 
+0x1b2c 006535 branch le_set_rx_phy 
+:      006537 le_set_tx_phy:
+0x1b2d 006538 storer rega ,1 ,mem_le_tx_phys 
+0x1b2e 006539 isolate1 bit_le_2m_phy ,rega 
+0x1b2f 006540 call le_set_feature_2m_phy ,true 
+0x1b30 006541 isolate1 bit_le_coded_phy ,rega 
+0x1b31 006542 call le_set_feature_coded_phy ,true 
+0x1b32 006543 rtn 
+:      006545 le_set_rx_phy:
+0x1b33 006546 storer rega ,1 ,mem_le_rx_phys 
+0x1b34 006547 branch le_set_tx_phy + 1 
+:      006550 le_set_feature_2m_phy:
+0x1b35 006551 arg bit_ll_feature_le_2m_phy ,queue 
+0x1b36 006552 branch le_set_feature 
+:      006555 le_set_feature_coded_phy:
+0x1b37 006556 arg bit_ll_feature_le_coded_phy ,queue 
+0x1b38 006557 branch le_set_feature 
+:      006560 le_set_feature_data_packet_length_extension:
+0x1b39 006561 arg bit_ll_feature_le_data_packet_length_extension ,queue 
+0x1b3a 006562 branch le_set_feature 
+:      006565 le_set_feature:
+0x1b3b 006566 fetch 8 ,mem_le_local_feature 
+0x1b3c 006567 qset1 pdata 
+0x1b3d 006568 store 8 ,mem_le_local_feature 
+0x1b3e 006569 rtn 
+:      006575 le_advertising_dispatch:
+0x1b3f 006576 jam fun_rx_ll_1m_phy ,mem_le_rx_phy 
+0x1b40 006577 jam fun_tx_ll_1m_phy ,mem_le_tx_phy 
+0x1b41 006578 call le_enable 
+0x1b42 006579 call le_scan 
+0x1b43 006580 call le_adv 
+0x1b44 006581 branch le_disable 
+:      006583 le_scan:
+0x1b45 006584 bpatchx patch39_0 ,mem_patch39 
+0x1b46 006585 fetch 1 ,mem_le_scan_enable 
+0x1b47 006586 rtnne le_scan_enable 
+0x1b48 006587 arg le_scan_interval_timer ,queue 
+0x1b49 006588 call timer_check 
+0x1b4a 006589 nrtn blank 
+0x1b4b 006590 fetch 2 ,mem_le_scan_interval 
+0x1b4c 006591 fetcht 2 ,mem_le_scan_window 
+0x1b4d 006592 isub temp ,pdata 
+0x1b4e 006593 arg le_scan_interval_timer ,queue 
+0x1b4f 006594 call timer_init 
+0x1b50 006595 disable master 
+0x1b51 006596 call le_init_adv 
+0x1b52 006597 call le_wait_adv 
+0x1b53 006598 nrtn match 
+0x1b54 006599 bpatchx patch39_1 ,mem_patch39 
+0x1b55 006600 fetch 6 ,mem_le_rxbuf + 2 
+0x1b56 006601 store 6 ,mem_le_plap 
+0x1b57 006604 fetch 1 ,mem_le_adv_rcv 
+0x1b58 006605 increase 1 ,pdata 
+0x1b59 006606 store 1 ,mem_le_adv_rcv 
+0x1b5a 006607 call le_create_conn 
+0x1b5b 006608 rtn master 
+0x1b5c 006609 call le_send_scan_request 
+0x1b5d 006610 nrtn match 
+0x1b5e 006611 fetch 1 ,mem_le_scanrsp_rcv 
+0x1b5f 006612 increase 1 ,pdata 
+0x1b60 006613 store 1 ,mem_le_scanrsp_rcv 
+0x1b61 006614 fetch 9 ,mem_le_rxbuf + 8 
+0x1b62 006615 store 9 ,mem_tmp_buffer 
+0x1b63 006616 rtn 
+:      006619 le_wait_adv:
+0x1b64 006620 bpatchx patch39_2 ,mem_patch39 
+0x1b65 006621 call le_next_adv_channel 
+0x1b66 006622 call le_receive_adv 
+0x1b67 006623 fetch 1 ,mem_le_adv_waitcnt 
+0x1b68 006624 increase 1 ,pdata 
+0x1b69 006625 store 1 ,mem_le_adv_waitcnt 
+0x1b6a 006626 rtn 
+:      006629 le_create_conn:
+0x1b6b 006630 bpatchx patch39_3 ,mem_patch39 
+0x1b6c 006631 fetch 1 ,mem_cmd_le_create_conn 
+0x1b6d 006632 rtnne hci_cmd_le_create_conn 
+0x1b6e 006633 fetch 6 ,mem_le_plap 
+0x1b6f 006634 fetcht 6 ,mem_le_conn_peer_addr 
+0x1b70 006635 isub temp ,null 
+0x1b71 006636 nrtn zero 
+0x1b72 006637 call context_new 
+0x1b73 006638 nrtn zero 
+0x1b74 006639 call le_connect_request 
+0x1b75 006640 call le_init_master 
+0x1b76 006641 jam 0 ,mem_hci_cmd 
+0x1b77 006642 jam 0 ,mem_le_peer_sca 
+0x1b78 006643 jam 0 ,mem_le_scan_enable 
+0x1b79 006644 jam 0 ,mem_cmd_le_create_conn 
+0x1b7a 006645 branch context_save 
+:      006647 le_connect_request:
+0x1b7b 006648 bpatchx patch39_4 ,mem_patch39 
+0x1b7c 006649 force -1 ,pdata 
+0x1b7d 006650 setsect 2 ,1 
+0x1b7e 006651 store 5 ,mem_le_channel_map 
+0x1b7f 006652 arg mem_le_state ,rega 
+0x1b80 006653 call le_calc_channel_map 
+0x1b81 006654 force 4 ,loopcnt 
+0x1b82 006655 arg mem_le_access ,contw 
+0x1b83 006656 call generate_random_loop 
+0x1b84 006657 fetch 2 ,mem_le_timeout 
+0x1b85 006658 store 2 ,mem_le_superto 
+:      006659 le_con_req_hop_retry:
+0x1b86 006660 random pdata 
+0x1b87 006661 and_into 0xf ,pdata 
+0x1b88 006662 sub pdata ,4 ,null 
+0x1b89 006663 branch le_con_req_hop_retry ,positive 
+0x1b8a 006664 store 1 ,mem_le_hop 
+0x1b8b 006665 store 1 ,mem_tmp1 
+0x1b8c 006666 bpatchx patch39_5 ,mem_patch39 
+0x1b8d 006667 fetcht 2 ,mem_le_conn_interval 
+0x1b8e 006668 storet 2 ,mem_le_tsniff 
+0x1b8f 006669 copy temp ,regc 
+0x1b90 006670 add clkn_bt ,7 ,pdata 
+0x1b91 006671 idiv regc 
+0x1b92 006672 call wait_div_end 
+0x1b93 006673 remainder rega 
+0x1b94 006674 isub rega ,pdata 
+0x1b95 006675 iadd regc ,pdata 
+0x1b96 006676 fetcht 2 ,mem_le_dsniff 
+0x1b97 006677 iadd temp ,pdata 
+0x1b98 006678 store 4 ,mem_le_anchor 
+0x1b99 006679 isub clkn_bt ,rega 
+0x1b9a 006680 increase -6 ,rega 
+0x1b9b 006681 arg 0x2205 ,regb 
+0x1b9c 006682 fetch 1 ,mem_le_conn_own_addr_type 
+0x1b9d 006683 nsetflag blank ,le_sender_addr_bit ,regb 
+0x1b9e 006684 fetch 1 ,mem_le_conn_peer_addr_type 
+0x1b9f 006685 nsetflag blank ,le_receiver_addr_bit ,regb 
+0x1ba0 006686 copy regb ,pdata 
+0x1ba1 006687 store 2 ,mem_le_txheader 
+0x1ba2 006688 fetch 6 ,mem_le_lap 
+0x1ba3 006689 istore 6 ,contw 
+0x1ba4 006690 fetch 6 ,mem_le_plap 
+0x1ba5 006691 istore 6 ,contw 
+0x1ba6 006692 fetch 4 ,mem_le_access 
+0x1ba7 006693 istore 4 ,contw 
+0x1ba8 006694 random pdata 
+0x1ba9 006695 istore 2 ,contw 
+0x1baa 006696 random pdata 
+0x1bab 006697 istore 1 ,contw 
+0x1bac 006698 force 2 ,pdata 
+0x1bad 006699 istore 1 ,contw 
+0x1bae 006700 rshift2 rega ,pdata 
+0x1baf 006701 istore 2 ,contw 
+0x1bb0 006702 rshift2 regc ,pdata 
+0x1bb1 006703 istore 2 ,contw 
+0x1bb2 006704 bpatchx patch39_6 ,mem_patch39 
+0x1bb3 006705 setarg 0 
+0x1bb4 006706 istore 2 ,contw 
+0x1bb5 006707 fetch 2 ,mem_le_timeout 
+0x1bb6 006708 istore 2 ,contw 
+0x1bb7 006709 fetch 5 ,mem_le_channel_map 
+0x1bb8 006710 istore 5 ,contw 
+0x1bb9 006711 fetch 1 ,mem_le_hop 
+0x1bba 006712 arg param_le_sca ,temp 
+0x1bbb 006713 ior temp ,pdata 
+0x1bbc 006714 istore 1 ,contw 
+0x1bbd 006715 call le_transmit_norx 
+0x1bbe 006716 setarg mem_le_txheader 
+0x1bbf 006717 add pdata ,18 ,contr 
+0x1bc0 006718 ifetch 3 ,contr 
+0x1bc1 006719 store 3 ,mem_le_crcinit 
+0x1bc2 006720 rtn 
+:      006724 le_adv:
+0x1bc3 006725 jam 36 ,mem_le_ch_mapped 
+0x1bc4 006726 jam 0 ,mem_le_adv_channel_map_temp 
+:      006727 le_adv_loop:
+0x1bc5 006728 fetch 1 ,mem_le_adv_enable 
+0x1bc6 006729 rtn blank 
+0x1bc7 006730 arg le_adv_interval_timer ,queue 
+0x1bc8 006731 call timer_check 
+0x1bc9 006732 nrtn blank 
+0x1bca 006733 bpatchx patch39_7 ,mem_patch39 
+:      006734 le_adv_loop_tx:
+0x1bcb 006735 enable swfine 
+0x1bcc 006736 call le_init_adv 
+0x1bcd 006737 call le_next_adv_channel 
+0x1bce 006738 call le_send_adv_ind 
+0x1bcf 006739 nbranch le_adv_not_match ,match 
+0x1bd0 006740 fetch 1 ,mem_le_req_rcv 
+0x1bd1 006741 increase 1 ,pdata 
+0x1bd2 006742 store 1 ,mem_le_req_rcv 
+0x1bd3 006743 fetch 1 ,mem_le_rxbuf_adv_header 
+0x1bd4 006744 and pdata ,0x0f ,pdata 
+0x1bd5 006745 beq scan_req ,le_send_scan_response 
+0x1bd6 006746 beq connect_req ,le_parse_connect_req 
+:      006747 le_adv_not_match:
+0x1bd7 006748 bpatchx patch3a_0 ,mem_patch3a 
+0x1bd8 006749 fetch 1 ,mem_le_adv_channel_map_temp 
+0x1bd9 006750 fetcht 1 ,mem_le_adv_channel_map 
+0x1bda 006751 isub temp ,null 
+0x1bdb 006752 nbranch le_adv_loop ,zero 
+0x1bdc 006753 random pdata 
+0x1bdd 006754 arg 0x1ff ,temp 
+0x1bde 006755 iand temp ,pdata 
+0x1bdf 006756 add pdata ,250 ,pdata 
+0x1be0 006757 call delay 
+0x1be1 006758 arg le_adv_interval_timer ,queue 
+0x1be2 006759 fetch 2 ,mem_le_adv_interval 
+0x1be3 006760 branch timer_init 
+:      006763 le_init_adv:
+0x1be4 006764 bpatchx patch3a_1 ,mem_patch3a 
+0x1be5 006765 disable master 
+:      006766 le_adv_access:
+0x1be6 006767 setarg 0x8e89be 
+0x1be7 006768 lshift8 pdata ,pdata 
+0x1be8 006769 or_into 0xd6 ,pdata 
+0x1be9 006770 iforce access 
+0x1bea 006771 setarg 0x555555 
+0x1beb 006772 store 3 ,mem_le_crcinit 
+0x1bec 006773 branch calc_mod_value_scale_le 
+:      006777 le_send_adv_ind:
+0x1bed 006778 bpatchx patch3a_2 ,mem_patch3a 
+0x1bee 006779 fetch 1 ,mem_le_adv_type 
+0x1bef 006780 fetcht 1 ,mem_le_adv_own_addr_type 
+0x1bf0 006781 lshift4 temp ,temp 
+0x1bf1 006782 lshift2 temp ,temp 
+0x1bf2 006783 iadd temp ,temp 
+0x1bf3 006784 storet 1 ,mem_le_txheader 
+0x1bf4 006785 beq adv_direct_ind ,le_send_adv_direct_ind 
+0x1bf5 006786 fetcht 1 ,mem_le_adv_data_len 
+0x1bf6 006787 add temp ,6 ,pdata 
+0x1bf7 006788 store 1 ,mem_le_txlen 
+0x1bf8 006789 fetch 6 ,mem_le_lap 
+0x1bf9 006790 store 6 ,mem_le_txpayload 
+0x1bfa 006791 copy temp ,loopcnt 
+0x1bfb 006792 arg mem_le_adv_data ,contr 
+0x1bfc 006793 call memcpy_fast 
+0x1bfd 006794 branch le_send_adv_transmit 
+:      006796 le_send_adv_direct_ind:
+0x1bfe 006797 setarg 12 
+0x1bff 006798 store 1 ,mem_le_txlen 
+0x1c00 006799 fetch 6 ,mem_le_lap 
+0x1c01 006800 store 6 ,mem_le_txpayload 
+0x1c02 006801 fetch 6 ,mem_hci_plap 
+0x1c03 006802 istore 6 ,contw 
+:      006803 le_send_adv_transmit:
+0x1c04 006804 bpatchx patch3a_3 ,mem_patch3a 
+0x1c05 006805 fetch 1 ,mem_le_adv_transmit 
+0x1c06 006806 increase 1 ,pdata 
+0x1c07 006807 store 1 ,mem_le_adv_transmit 
+0x1c08 006808 arg 1800 ,stop_watch 
+0x1c09 006809 disable match 
+0x1c0a 006810 branch le_transmit_receive_sifs_without_change_mode 
+:      006813 le_send_scan_request:
+0x1c0b 006814 bpatchx patch3a_4 ,mem_patch3a 
+0x1c0c 006815 fetch 1 ,mem_le_scan_type 
+0x1c0d 006816 rtnne le_scan_type_active 
+0x1c0e 006817 fetch 1 ,mem_le_adv_transmit 
+0x1c0f 006818 increase 1 ,pdata 
+0x1c10 006819 store 1 ,mem_le_adv_transmit 
+0x1c11 006820 arg 0x0c03 ,temp 
+0x1c12 006821 fetch 1 ,mem_le_scan_own_addr_type 
+0x1c13 006822 nsetflag blank ,le_sender_addr_bit ,temp 
+0x1c14 006823 copy rega ,pdata 
+0x1c15 006824 nsetflag blank ,le_receiver_addr_bit ,temp 
+0x1c16 006825 storet 2 ,mem_le_txheader 
+0x1c17 006826 fetch 6 ,mem_le_lap 
+0x1c18 006827 istore 6 ,contw 
+0x1c19 006828 fetch 6 ,mem_le_plap 
+0x1c1a 006829 istore 6 ,contw 
+0x1c1b 006830 branch le_transmit_receive_sifs_without_change_mode 
+:      006832 le_send_scan_response:
+0x1c1c 006833 fetch 6 ,mem_le_rxbuf_adv_scan_req_adv_address 
+0x1c1d 006834 fetcht 6 ,mem_le_lap 
+0x1c1e 006835 isub temp ,null 
+0x1c1f 006836 nrtn zero 
+0x1c20 006837 arg scan_rsp ,temp 
+0x1c21 006838 fetch 1 ,mem_le_adv_own_addr_type 
+0x1c22 006839 nsetflag blank ,le_sender_addr_bit ,temp 
+0x1c23 006840 storet 1 ,mem_le_txheader 
+0x1c24 006841 fetcht 1 ,mem_le_scan_data_len 
+0x1c25 006842 add temp ,6 ,pdata 
+0x1c26 006843 store 1 ,mem_le_txlen 
+0x1c27 006844 fetch 6 ,mem_le_lap 
+0x1c28 006845 store 6 ,mem_le_txpayload 
+0x1c29 006846 arg mem_le_scan_data ,contr 
+0x1c2a 006847 copy temp ,loopcnt 
+0x1c2b 006848 call memcpy_fast 
+0x1c2c 006849 call le_transmit_norx 
+0x1c2d 006850 branch le_adv_not_match 
+:      006852 le_parse_connect_req:
+0x1c2e 006853 fetch 6 ,mem_le_rxbuf_adv_connect_ind_adv_address 
+0x1c2f 006854 fetcht 6 ,mem_le_lap 
+0x1c30 006855 isub temp ,null 
+0x1c31 006856 nrtn zero 
+0x1c32 006857 call le_scan_check_sender_addr_type 
+0x1c33 006858 storer rega ,1 ,mem_le_conn_peer_addr_type 
+0x1c34 006859 fetch 6 ,mem_le_rxbuf_adv_connect_ind_init_address 
+0x1c35 006860 store 6 ,mem_le_plap 
+0x1c36 006861 fetch 8 ,mem_le_rxbuf_adv_connect_ind_access_address 
+0x1c37 006862 store 8 ,mem_le_access 
+0x1c38 006863 fetcht 2 ,mem_le_rxbuf_adv_connect_ind_win_offset 
+0x1c39 006864 bpatchx patch3a_5 ,mem_patch3a 
+0x1c3a 006865 lshift2 temp ,temp 
+0x1c3b 006866 fetch 2 ,mem_le_rxbuf_adv_connect_ind_interval 
+0x1c3c 006867 lshift2 pdata ,pdata 
+0x1c3d 006868 store 2 ,mem_le_tsniff 
+0x1c3e 006869 store 4 ,mem_le_anchor 
+0x1c3f 006870 isub temp ,pdata 
+0x1c40 006871 add pdata ,-2 ,clke_bt 
+0x1c41 006872 fetch 9 ,mem_le_rxbuf_adv_connect_ind_latency 
+0x1c42 006873 store 9 ,mem_le_slave_latency 
+0x1c43 006874 fetch 1 ,mem_le_rxbuf_adv_connect_ind_hop_and_sca 
+0x1c44 006875 and pdata ,0x1f ,temp 
+0x1c45 006876 storet 1 ,mem_le_hop 
+0x1c46 006877 rshift4 pdata ,temp 
+0x1c47 006878 rshift temp ,temp 
+0x1c48 006879 storet 1 ,mem_le_peer_sca 
+0x1c49 006880 arg mem_le_state ,rega 
+0x1c4a 006881 call le_receive_window_size 
+0x1c4b 006882 arg mem_le_state ,rega 
+0x1c4c 006883 call le_calc_channel_map 
+0x1c4d 006884 call le_init_slave 
+0x1c4e 006885 call context_new 
+0x1c4f 006886 nrtn zero 
+0x1c50 006887 bpatchx patch3a_6 ,mem_patch3a 
+0x1c51 006888 call calc_clke_offset 
+0x1c52 006889 call le_l2cap_reset_signaling_identifier 
+0x1c53 006890 jam bt_evt_le_connected ,mem_fifo_temp 
+0x1c54 006891 call ui_ipc_send_event 
+0x1c55 006892 branch context_save 
+:      006895 le_next_adv_channel:
+0x1c56 006896 bpatchx patch3a_7 ,mem_patch3a 
+0x1c57 006897 fetch 1 ,mem_le_ch_mapped 
+0x1c58 006898 beq 37 ,le_next_adv_channel_curr_channel_37 
+0x1c59 006899 beq 38 ,le_next_adv_channel_curr_channel_38 
+0x1c5a 006900 beq 39 ,le_next_adv_channel_curr_channel_39 
+0x1c5b 006901 branch le_next_adv_channel_curr_channel_39 
+:      006903 le_next_adv_channel_curr_channel_37:
+0x1c5c 006904 fetcht 1 ,mem_le_adv_channel_map 
+0x1c5d 006905 isolate1 bit_adv_channel_map_38 ,temp 
+0x1c5e 006906 branch set_le_next_adv_channel_38 ,true 
+0x1c5f 006907 isolate1 bit_adv_channel_map_39 ,temp 
+0x1c60 006908 branch set_le_next_adv_channel_39 ,true 
+0x1c61 006909 branch set_le_next_adv_channel_37 
+:      006912 le_next_adv_channel_curr_channel_38:
+0x1c62 006913 fetcht 1 ,mem_le_adv_channel_map 
+0x1c63 006914 isolate1 bit_adv_channel_map_39 ,temp 
+0x1c64 006915 branch set_le_next_adv_channel_39 ,true 
+0x1c65 006916 isolate1 bit_adv_channel_map_37 ,temp 
+0x1c66 006917 branch set_le_next_adv_channel_37 ,true 
+0x1c67 006918 branch set_le_next_adv_channel_38 
+:      006921 le_next_adv_channel_curr_channel_39:
+0x1c68 006922 fetcht 1 ,mem_le_adv_channel_map 
+0x1c69 006923 isolate1 bit_adv_channel_map_37 ,temp 
+0x1c6a 006924 branch set_le_next_adv_channel_37 ,true 
+0x1c6b 006925 isolate1 bit_adv_channel_map_38 ,temp 
+0x1c6c 006926 branch set_le_next_adv_channel_38 ,true 
+0x1c6d 006927 branch set_le_next_adv_channel_39 
+:      006929 set_le_next_adv_channel_37:
+0x1c6e 006930 jam 37 ,mem_le_ch_mapped 
+0x1c6f 006931 fetch 1 ,mem_le_adv_channel_map_temp 
+0x1c70 006932 set1 bit_adv_channel_map_37 ,pdata 
+0x1c71 006933 store 1 ,mem_le_adv_channel_map_temp 
+0x1c72 006934 rtn 
+:      006936 set_le_next_adv_channel_38:
+0x1c73 006937 jam 38 ,mem_le_ch_mapped 
+0x1c74 006938 fetch 1 ,mem_le_adv_channel_map_temp 
+0x1c75 006939 set1 bit_adv_channel_map_38 ,pdata 
+0x1c76 006940 store 1 ,mem_le_adv_channel_map_temp 
+0x1c77 006941 rtn 
+:      006943 set_le_next_adv_channel_39:
+0x1c78 006944 jam 39 ,mem_le_ch_mapped 
+0x1c79 006945 fetch 1 ,mem_le_adv_channel_map_temp 
+0x1c7a 006946 set1 bit_adv_channel_map_39 ,pdata 
+0x1c7b 006947 store 1 ,mem_le_adv_channel_map_temp 
+0x1c7c 006948 rtn 
+:      006953 le_parse_att:
+0x1c7d 006954 ifetch 3 ,contr 
+0x1c7e 006955 store 3 ,mem_le_att_opcode 
+0x1c7f 006956 beq attop_exchange_mtu_request ,le_parse_att_exchange_mtu_request 
+0x1c80 006957 beq attop_exchange_mtu_response ,le_parse_att_exchange_mtu_response 
+0x1c81 006958 beq attop_find_information_request ,le_parse_att_find_information_request 
+0x1c82 006959 beq attop_find_by_type_value_request ,le_parse_att_find_by_type_value_request 
+0x1c83 006960 beq attop_read_by_type_request ,le_parse_att_read_by_type_request 
+0x1c84 006961 beq attop_read_request ,le_parse_att_read_request 
+0x1c85 006962 beq attop_read_blob_request ,le_parse_att_read_blob_request 
+0x1c86 006963 beq attop_read_by_group_type_request ,le_parse_att_read_by_group_type_request 
+0x1c87 006964 beq attop_write_request ,le_parse_att_write_request 
+0x1c88 006965 beq attop_prepare_write_request ,le_parse_att_prepare_write_request 
+0x1c89 006966 beq attop_execute_write_request ,le_parse_att_execute_write_request 
+0x1c8a 006967 beq attop_handle_value_confirmation ,le_parse_handle_value_confirmation 
+0x1c8b 006968 beq attop_write_command ,le_parse_att_write_command 
+0x1c8c 006969 rtn 
+:      006972 le_send_att_exchange_mtu_requset:
+0x1c8d 006973 force 3 ,rega 
+0x1c8e 006974 call le_fifo_malloc_tx_l2cap_gatt 
+0x1c8f 006975 setarg attop_exchange_mtu_request 
+0x1c90 006976 istore 1 ,contw 
+0x1c91 006977 fetch 2 ,mem_le_local_mtu 
+0x1c92 006978 istore 2 ,contw 
+0x1c93 006979 rtn 
+:      006982 le_parse_att_exchange_mtu_request:
+0x1c94 006983 call le_parse_att_exchange_mtu_response 
+:      006984 le_send_att_exchange_mtu_response:
+0x1c95 006985 force 3 ,rega 
+0x1c96 006986 call le_fifo_malloc_tx_l2cap_gatt 
+0x1c97 006987 setarg attop_exchange_mtu_response 
+0x1c98 006988 istore 1 ,contw 
+0x1c99 006989 fetch 2 ,mem_le_local_mtu 
+0x1c9a 006990 istore 2 ,contw 
+0x1c9b 006991 rtn 
+:      006993 le_parse_att_exchange_mtu_response:
+0x1c9c 006994 rshift8 pdata ,pdata 
+0x1c9d 006995 store 2 ,mem_le_remote_mtu 
+0x1c9e 006996 rtn 
+:      006998 le_parse_att_find_information_request:
+0x1c9f 006999 call le_get_search_handle_start_end_common 
+0x1ca0 007000 call enable_user 
+0x1ca1 007001 branch le_send_att_find_information_response 
+:      007003 le_send_att_find_information_response:
+0x1ca2 007004 arg 3 ,timeup 
+0x1ca3 007005 call le_init_attlist_search 
+:      007006 le_send_att_find_information_res_loop:
+0x1ca4 007007 call le_att_handle_inrange 
+0x1ca5 007008 branch le_send_att_find_information_res_end ,blank 
+0x1ca6 007009 nbranch le_send_att_find_information_res_next ,positive 
+0x1ca7 007010 increase -2 ,contr 
+0x1ca8 007011 call store_contr 
+0x1ca9 007012 call get_contw 
+0x1caa 007013 nbranch le_send_att_find_information_res_store_info ,user 
+0x1cab 007014 call push_stack_rega_b_c 
+0x1cac 007015 call disable_user 
+0x1cad 007016 storer timeup ,4 ,mem_timeup 
+0x1cae 007017 force 20 ,rega 
+0x1caf 007018 call le_fifo_malloc_tx_l2cap_gatt 
+0x1cb0 007019 fetchr timeup ,4 ,mem_timeup 
+0x1cb1 007020 call pop_stack_rega_b_c 
+0x1cb2 007021 setarg attop_find_information_response 
+0x1cb3 007022 istore 1 ,contw 
+0x1cb4 007023 setarg uuid_size_16bit 
+0x1cb5 007024 istore 1 ,contw 
+:      007025 le_send_att_find_information_res_store_info:
+0x1cb6 007026 call get_contr 
+0x1cb7 007027 ifetch 2 ,contr 
+0x1cb8 007028 and_into 0xff ,pdata 
+0x1cb9 007029 istore 2 ,contw 
+0x1cba 007030 ifetch 1 ,contr 
+0x1cbb 007031 copy pdata ,loopcnt 
+0x1cbc 007032 call memcpy 
+0x1cbd 007033 call store_contw 
+0x1cbe 007034 increase -1 ,timeup 
+0x1cbf 007035 branch le_send_att_find_information_res_end ,zero 
+:      007036 le_send_att_find_information_res_cont:
+0x1cc0 007037 ifetch 1 ,contr 
+0x1cc1 007038 iadd contr ,contr 
+0x1cc2 007039 branch le_send_att_find_information_res_loop 
+:      007040 le_send_att_find_information_res_next:
+0x1cc3 007041 ifetch 1 ,contr 
+0x1cc4 007042 iadd contr ,contr 
+0x1cc5 007043 branch le_send_att_find_information_res_cont 
+:      007044 le_send_att_find_information_res_end:
+0x1cc6 007045 branch le_send_att_error_response_notfound ,user 
+0x1cc7 007046 branch le_send_auto_len_by_mem 
+:      007049 le_parse_att_find_by_type_value_request:
+0x1cc8 007050 call le_get_search_handle_start_end_common 
+0x1cc9 007051 ifetch 2 ,contr 
+0x1cca 007052 store 2 ,mem_le_search_uuid 
+0x1ccb 007053 call store_contr 
+0x1ccc 007054 arg mem_le_search_att_type_length ,contw 
+0x1ccd 007055 fetch 2 ,mem_le_l2cap_size 
+0x1cce 007056 increase -7 ,pdata 
+0x1ccf 007057 call le_get_search_common2 
+0x1cd0 007058 branch le_send_att_find_by_type_value_response 
+:      007061 le_start_end_handle_check_1:
+0x1cd1 007062 disable user 
+0x1cd2 007063 fetcht 2 ,mem_le_search_handle_start 
+0x1cd3 007064 fetch 2 ,mem_le_search_handle_end 
+0x1cd4 007065 isub temp ,null 
+0x1cd5 007066 nbranch le_start_end_handle_check_1_fail ,positive 
+0x1cd6 007067 deposit temp 
+0x1cd7 007068 rtnne 0 
+:      007069 le_start_end_handle_check_1_fail:
+0x1cd8 007070 enable user 
+0x1cd9 007071 jam att_err_invalid_handle ,mem_le_err_code 
+0x1cda 007072 branch le_send_att_error_response 
+:      007075 le_send_att_find_by_type_value_response:
+0x1cdb 007076 call le_start_end_handle_check_1 
+0x1cdc 007077 rtn user 
+0x1cdd 007078 fetcht 2 ,mem_le_search_uuid 
+0x1cde 007079 setarg uuid_gatt_primary_service 
+0x1cdf 007080 isub temp ,null 
+0x1ce0 007081 branch le_send_att_find_by_type_value_res_primary ,zero 
+0x1ce1 007082 branch le_send_att_error_response_notfound 
+:      007085 le_send_att_find_by_type_value_res_primary:
+0x1ce2 007086 jam le_find_by_type_val_res_not_found ,mem_le_search_res 
+0x1ce3 007087 fetcht 2 ,mem_le_search_handle_start 
+0x1ce4 007088 storet 2 ,mem_temp 
+0x1ce5 007089 call le_att_get_handle_info 
+0x1ce6 007090 nbranch le_send_att_error_response_notfound ,blank 
+:      007091 le_send_att_find_primary_search_loop:
+0x1ce7 007092 fetcht 2 ,mem_temp 
+0x1ce8 007093 call le_att_get_handle_info 
+0x1ce9 007094 nbranch le_send_att_error_response_notfound2 ,blank 
+0x1cea 007095 copy contr ,rega 
+0x1ceb 007096 fetch 1 ,mem_le_curr_att_len 
+0x1cec 007097 copy pdata ,loopcnt 
+0x1ced 007098 fetcht 1 ,mem_le_search_att_type_length 
+0x1cee 007099 isub temp ,null 
+0x1cef 007100 nbranch le_send_att_find_primary_search_loop1 ,zero 
+0x1cf0 007101 arg mem_le_search_att_type ,regb 
+0x1cf1 007102 call string_compare 
+0x1cf2 007104 branch le_send_att_find_primary_search_end_start_handle_found ,zero 
+0x1cf3 007106 fetch 2 ,mem_le_cur_uuid 
+0x1cf4 007107 fetcht 2 ,mem_le_search_uuid 
+0x1cf5 007108 isub temp ,null 
+0x1cf6 007109 branch le_send_att_find_primary_search_end_ending_handle_found ,zero 
+:      007110 le_send_att_find_primary_search_loop1:
+0x1cf7 007111 fetch 2 ,mem_temp 
+0x1cf8 007112 increase 1 ,pdata 
+0x1cf9 007113 store 2 ,mem_temp 
+0x1cfa 007114 branch le_send_att_find_primary_search_loop 
+:      007116 le_send_att_error_response_notfound2:
+0x1cfb 007117 fetch 1 ,mem_le_search_res 
+0x1cfc 007118 beq le_find_by_type_val_res_found_starting_handle ,le_send_att_find_primary_search_end_ending_handle_found 
+0x1cfd 007119 branch le_send_att_error_response_notfound 
+:      007122 le_send_att_find_primary_search_end_start_handle_found:
+0x1cfe 007123 fetch 2 ,mem_le_cur_uuid 
+0x1cff 007124 fetcht 2 ,mem_le_search_uuid 
+0x1d00 007125 isub temp ,null 
+0x1d01 007126 nbranch le_send_att_find_primary_search_loop1 ,zero 
+0x1d02 007127 jam le_find_by_type_val_res_found_starting_handle ,mem_le_search_res 
+0x1d03 007129 fetcht 2 ,mem_temp 
+0x1d04 007130 storet 2 ,mem_le_cur_handle_start 
+0x1d05 007131 branch le_send_att_find_primary_search_loop1 
+:      007133 le_send_att_find_primary_search_end_ending_handle_found:
+0x1d06 007134 fetch 1 ,mem_le_search_res 
+0x1d07 007135 beq le_find_by_type_val_res_not_found ,le_send_att_find_primary_search_loop1 
+0x1d08 007136 jam le_find_by_type_val_res_found_ending_handle ,mem_le_search_res 
+0x1d09 007137 fetcht 2 ,mem_temp 
+0x1d0a 007138 increase -1 ,temp 
+0x1d0b 007139 storet 2 ,mem_le_cur_handle_end 
+:      007141 le_send_att_find_primary_search_end:
+0x1d0c 007142 arg 5 ,rega 
+0x1d0d 007143 call le_fifo_malloc_tx_l2cap_gatt 
+0x1d0e 007144 setarg attop_find_by_type_value_response 
+0x1d0f 007145 istore 1 ,contw 
+0x1d10 007146 fetch 2 ,mem_le_cur_handle_start 
+0x1d11 007147 istore 2 ,contw 
+0x1d12 007148 fetch 2 ,mem_le_cur_handle_end 
+0x1d13 007149 istore 2 ,contw 
+0x1d14 007150 rtn 
+:      007154 le_parse_att_read_by_type_request:
+0x1d15 007155 call le_get_search_handle_start_end_common 
+0x1d16 007156 call le_get_search_att_type 
+0x1d17 007157 branch le_send_att_read_by_type_response 
+:      007159 le_send_att_read_by_type_response:
+0x1d18 007160 fetcht 2 ,mem_le_search_handle_start 
+0x1d19 007161 storet 2 ,mem_temp 
+0x1d1a 007162 call le_init_attlist_search 
+0x1d1b 007163 call le_att_get_handle_ptr2 
+0x1d1c 007164 increase -2 ,contr 
+0x1d1d 007165 copy contr ,pdata 
+0x1d1e 007166 store 2 ,mem_le_cur_attlist_start_ptr 
+0x1d1f 007168 fetcht 2 ,mem_le_search_att_type 
+0x1d20 007169 setarg uuid_chrctr_device_name 
+0x1d21 007170 isub temp ,null 
+0x1d22 007171 branch le_send_att_read_by_type_res_device_name ,zero 
+0x1d23 007172 setarg uuid_gatt_characteristic 
+0x1d24 007173 isub temp ,null 
+0x1d25 007174 nbranch le_send_att_read_by_type_res_not_characteristic ,zero 
+0x1d26 007175 arg 2 ,timeup 
+:      007176 le_send_att_read_by_type_response_loop:
+0x1d27 007177 call le_att_check_handle_end 
+0x1d28 007178 nbranch le_send_att_read_by_type_response_end ,positive 
+0x1d29 007179 fetcht 2 ,mem_temp 
+0x1d2a 007180 call le_att_get_handle_info_from_ptr 
+0x1d2b 007181 nbranch le_send_att_read_by_type_response_end ,blank 
+0x1d2c 007182 call le_att_same_type 
+0x1d2d 007183 nbranch le_send_att_read_by_type_response_next_handle ,zero 
+0x1d2e 007184 nbranch le_send_att_read_by_type_res_found_next ,user 
+0x1d2f 007185 disable user 
+0x1d30 007186 arg 20 ,rega 
+0x1d31 007187 call le_fifo_malloc_tx_l2cap_gatt 
+0x1d32 007188 setarg attop_read_by_type_response 
+0x1d33 007189 istore 1 ,contw 
+0x1d34 007190 copy contw ,alarm 
+0x1d35 007191 increase 1 ,contw 
+0x1d36 007193 call le_send_att_read_by_type_write_properties 
+0x1d37 007194 call le_att_next_handle 
+0x1d38 007195 call le_att_get_handle_info_from_ptr 
+0x1d39 007196 call le_send_att_read_by_type_write_uuid 
+0x1d3a 007197 fetch 1 ,mem_le_cur_uuid_length 
+0x1d3b 007198 add pdata ,5 ,rega 
+0x1d3c 007199 istorer rega ,1 ,alarm 
+0x1d3d 007201 sub rega ,7 ,null 
+0x1d3e 007202 ncall enable_user2 ,zero 
+0x1d3f 007203 call disable_user2 ,zero 
+0x1d40 007204 call le_get_search_max_mtu_data 
+0x1d41 007205 idiv rega 
+0x1d42 007206 call wait_div_end 
+0x1d43 007207 quotient timeup 
+0x1d44 007208 increase -1 ,timeup 
+0x1d45 007209 branch le_send_att_read_by_type_response_end ,zero 
+:      007210 le_send_att_read_by_type_response_next_handle:
+0x1d46 007211 call le_att_next_handle 
+0x1d47 007212 branch le_send_att_read_by_type_response_loop 
+:      007213 le_send_att_read_by_type_response_end:
+0x1d48 007214 branch le_send_att_error_response_notfound ,user 
+0x1d49 007215 branch le_send_auto_len_by_mem 
+:      007217 le_send_att_read_by_type_res_found_next:
+0x1d4a 007218 call le_store_att_record 
+0x1d4b 007219 call le_att_next_handle 
+0x1d4c 007220 call le_att_get_handle_info_from_ptr 
+0x1d4d 007221 call le_send_att_read_by_type_res_check_pair_length_type 
+0x1d4e 007222 nbranch le_send_att_read_by_type_response_end ,blank 
+0x1d4f 007224 call get_contw 
+0x1d50 007225 fetch 2 ,mem_temp 
+0x1d51 007226 increase -1 ,pdata 
+0x1d52 007227 istore 2 ,contw 
+0x1d53 007228 call le_write_att_record_common 
+0x1d54 007229 call le_send_att_read_by_type_write_uuid 
+0x1d55 007230 increase -1 ,timeup 
+0x1d56 007231 branch le_send_att_read_by_type_response_end ,zero 
+0x1d57 007232 branch le_send_att_read_by_type_response_next_handle 
+:      007235 le_send_att_read_by_type_write_properties:
+0x1d58 007236 fetch 2 ,mem_temp 
+0x1d59 007237 istore 2 ,contw 
+0x1d5a 007239 fetch 1 ,mem_le_curr_att_len 
+0x1d5b 007240 copy pdata ,loopcnt 
+0x1d5c 007241 call get_contr 
+0x1d5d 007242 call memcpy_fast 
+0x1d5e 007243 branch store_contw 
+:      007244 le_send_att_read_by_type_write_uuid:
+0x1d5f 007245 call get_contw 
+0x1d60 007246 fetch 2 ,mem_temp 
+0x1d61 007247 istore 2 ,contw 
+0x1d62 007248 call store_contw 
+0x1d63 007249 fetch 1 ,mem_le_cur_uuid_length 
+0x1d64 007250 copy pdata ,loopcnt 
+0x1d65 007251 call get_contw 
+0x1d66 007252 call get_contr 
+0x1d67 007253 isub loopcnt ,contr 
+0x1d68 007254 increase -1 ,contr 
+0x1d69 007255 call memcpy_fast 
+0x1d6a 007256 branch store_contw 
+:      007260 le_send_att_read_by_type_res_not_characteristic:
+0x1d6b 007261 call le_att_get_short_uuid_ptr 
+0x1d6c 007262 branch le_send_att_error_response_notfound ,blank 
+0x1d6d 007263 copy contr ,regc 
+0x1d6e 007264 increase -5 ,contr 
+0x1d6f 007265 ifetch 2 ,contr 
+0x1d70 007266 store 2 ,mem_temp 
+0x1d71 007267 arg 20 ,rega 
+0x1d72 007268 call le_fifo_malloc_tx_l2cap_gatt 
+0x1d73 007269 setarg attop_read_by_type_response 
+0x1d74 007270 istore 1 ,contw 
+0x1d75 007271 ifetch 1 ,regc 
+0x1d76 007272 copy pdata ,loopcnt 
+0x1d77 007273 increase 2 ,pdata 
+0x1d78 007274 istore 1 ,contw 
+0x1d79 007275 fetch 2 ,mem_temp 
+0x1d7a 007276 istore 2 ,contw 
+0x1d7b 007277 add regc ,1 ,contr 
+0x1d7c 007278 call memcpy_fast 
+0x1d7d 007279 call store_contw 
+0x1d7e 007280 branch le_send_auto_len_by_mem 
+:      007284 le_send_att_read_by_type_res_device_name:
+0x1d7f 007285 arg uuid_chrctr_device_name ,temp 
+0x1d80 007286 call le_att_get_short_uuid_ptr 
+0x1d81 007287 rtn blank 
+0x1d82 007288 increase -5 ,contr 
+0x1d83 007289 ifetch 2 ,contr 
+0x1d84 007290 store 2 ,mem_temp 
+0x1d85 007291 arg 20 ,rega 
+0x1d86 007292 call le_fifo_malloc_tx_l2cap_gatt 
+0x1d87 007293 setarg attop_read_by_type_response 
+0x1d88 007294 istore 1 ,contw 
+0x1d89 007295 fetch 1 ,mem_le_name_len 
+0x1d8a 007296 copy pdata ,loopcnt 
+0x1d8b 007297 increase 2 ,pdata 
+0x1d8c 007298 istore 1 ,contw 
+0x1d8d 007299 fetch 2 ,mem_temp 
+0x1d8e 007300 istore 2 ,contw 
+0x1d8f 007301 arg mem_le_name ,contr 
+0x1d90 007302 call memcpy_fast 
+0x1d91 007303 call store_contw 
+0x1d92 007304 branch le_send_auto_len_by_mem 
+:      007308 le_parse_att_read_request:
+0x1d93 007309 call le_check_encrypt_state 
+0x1d94 007310 fetcht 2 ,mem_le_att_handle 
+0x1d95 007311 fetch 1 ,mem_le_configuration 
+0x1d96 007312 bbit1 bit_ble_read_auth ,le_send_att_read_response_check_auth 
+:      007315 le_send_att_read_response:
+0x1d97 007316 call le_att_get_handle_ptr2 
+0x1d98 007317 nbranch le_send_att_error_response_notfound ,zero 
+0x1d99 007318 call le_send_att_read_response_check_handle ,user 
+0x1d9a 007319 rtn user 
+0x1d9b 007320 call le_att_get_handle_ptr_found 
+0x1d9c 007321 increase -2 ,contr 
+0x1d9d 007322 ifetch 2 ,contr 
+0x1d9e 007323 arg uuid_chrctr_device_name ,temp 
+0x1d9f 007324 isub temp ,null 
+0x1da0 007325 branch le_send_device_name ,zero 
+0x1da1 007326 ifetch 1 ,contr 
+0x1da2 007327 sub pdata ,22 ,null 
+0x1da3 007328 branch le_send_att_read_response_less ,positive 
+0x1da4 007329 force 22 ,pdata 
+:      007330 le_send_att_read_response_less:
+0x1da5 007331 copy pdata ,regc 
+0x1da6 007332 call store_contr 
+0x1da7 007333 add regc ,1 ,rega 
+0x1da8 007334 call le_fifo_malloc_tx_l2cap_gatt 
+0x1da9 007335 setarg attop_read_response 
+0x1daa 007336 istore 1 ,contw 
+0x1dab 007337 copy regc ,loopcnt 
+0x1dac 007338 call get_contr 
+0x1dad 007339 branch memcpy 
+:      007341 le_send_device_name:
+0x1dae 007342 call store_contr 
+0x1daf 007343 fetch 1 ,mem_le_name_len 
+0x1db0 007344 add pdata ,1 ,rega 
+0x1db1 007345 call le_fifo_malloc_tx_l2cap_gatt 
+0x1db2 007346 setarg attop_read_response 
+0x1db3 007347 istore 1 ,contw 
+0x1db4 007348 fetch 1 ,mem_le_name_len 
+0x1db5 007349 copy pdata ,loopcnt 
+0x1db6 007350 arg mem_le_name ,contr 
+0x1db7 007351 branch memcpy 
+:      007354 le_send_att_read_response_check_auth:
+0x1db8 007355 fetch 2 ,mem_le_pairing_handle 
+0x1db9 007356 isub temp ,null 
+0x1dba 007357 nbranch le_send_att_read_response ,zero 
+0x1dbb 007358 nbranch le_send_att_read_response ,user 
+:      007359 le_send_att_read_response_error_insufficient_auth:
+0x1dbc 007360 jam att_err_insufficient_authentication ,mem_le_err_code 
+0x1dbd 007361 branch le_send_att_error_response 
+:      007363 le_send_att_read_response_check_handle:
+0x1dbe 007364 increase -2 ,contr 
+0x1dbf 007365 ifetch 2 ,contr 
+0x1dc0 007366 bbit1 bit_of_att_handle_read_authenticated ,le_send_att_read_response_error_insufficient_auth 
+0x1dc1 007367 branch disable_user 
+:      007369 le_parse_att_read_blob_request:
+0x1dc2 007370 ifetch 2 ,contr 
+0x1dc3 007371 store 2 ,mem_le_att_offset 
+:      007372 le_send_att_read_blob_response:
+0x1dc4 007373 arg 20 ,rega 
+0x1dc5 007374 call le_fifo_malloc_tx_l2cap_gatt 
+0x1dc6 007375 setarg attop_read_blob_response 
+0x1dc7 007376 istore 1 ,contw 
+0x1dc8 007377 fetch 2 ,mem_le_att_offset 
+0x1dc9 007378 iforce rega 
+0x1dca 007379 fetcht 2 ,mem_le_att_handle 
+0x1dcb 007380 call le_att_get_handle_ptr 
+0x1dcc 007381 branch le_send_att_error_response_notfound ,blank 
+0x1dcd 007382 ifetch 1 ,contr 
+0x1dce 007383 isub rega ,loopcnt 
+0x1dcf 007384 nbranch le_send_att_error_response_notfound ,positive 
+0x1dd0 007385 sub loopcnt ,22 ,null 
+0x1dd1 007386 branch le_send_att_read_blob_response_less ,positive 
+0x1dd2 007387 force 22 ,loopcnt 
+:      007388 le_send_att_read_blob_response_less:
+0x1dd3 007389 deposit rega 
+0x1dd4 007390 iadd contr ,contr 
+0x1dd5 007391 call memcpy_fast 
+0x1dd6 007392 call store_contw 
+0x1dd7 007393 branch le_send_auto_len_by_mem 
+:      007397 le_parse_att_read_by_group_type_request:
+0x1dd8 007398 call le_get_search_handle_start_end_common 
+0x1dd9 007399 call le_get_search_att_type 
+0x1dda 007400 branch le_send_att_read_by_group_type_response 
+:      007406 le_send_att_read_by_group_type_response:
+0x1ddb 007407 arg 2 ,timeup 
+0x1ddc 007408 fetcht 2 ,mem_le_search_handle_start 
+0x1ddd 007409 storet 2 ,mem_temp 
+0x1dde 007410 call le_att_get_handle_ptr2 
+0x1ddf 007411 increase -2 ,contr 
+0x1de0 007412 copy contr ,pdata 
+0x1de1 007413 store 2 ,mem_le_cur_attlist_start_ptr 
+:      007414 le_send_att_read_by_group_type_response_loop:
+0x1de2 007415 call le_att_check_handle_end 
+0x1de3 007416 nbranch le_send_att_read_by_group_type_end0 ,positive 
+0x1de4 007417 fetcht 2 ,mem_temp 
+0x1de5 007418 call le_att_get_handle_info_from_ptr 
+0x1de6 007419 nbranch le_send_att_read_by_group_type_end1 ,blank 
+0x1de7 007421 call le_att_same_type 
+0x1de8 007422 nbranch le_send_att_read_by_group_type_next_handle ,zero 
+0x1de9 007423 copy timeup ,pdata 
+0x1dea 007424 beq 0 ,le_send_att_read_by_group_type_end1 
+0x1deb 007425 nbranch le_send_att_read_by_group_type_store_write_record ,user 
+0x1dec 007426 disable user 
+0x1ded 007428 arg 20 ,rega 
+0x1dee 007429 call le_fifo_malloc_tx_l2cap_gatt 
+0x1def 007430 setarg attop_read_by_group_type_response 
+0x1df0 007431 istore 1 ,contw 
+0x1df1 007432 fetch 1 ,mem_le_curr_att_len 
+0x1df2 007433 add pdata ,4 ,rega 
+0x1df3 007434 istorer rega ,1 ,contw 
+0x1df4 007435 call store_contw 
+0x1df5 007436 sub rega ,6 ,null 
+0x1df6 007437 ncall enable_user2 ,zero 
+0x1df7 007438 call disable_user2 ,zero 
+0x1df8 007439 call le_get_search_max_mtu_data 
+0x1df9 007440 idiv rega 
+0x1dfa 007441 call wait_div_end 
+0x1dfb 007442 quotient timeup 
+0x1dfc 007443 branch le_send_att_read_by_group_type_store_record 
+:      007444 le_send_att_read_by_group_type_store_write_record:
+0x1dfd 007445 call le_send_att_read_by_group_type_check_pair_length_type 
+0x1dfe 007446 nbranch le_send_att_read_by_group_type_end1 ,blank 
+0x1dff 007447 fetch 2 ,mem_temp 
+0x1e00 007448 increase -1 ,pdata 
+0x1e01 007449 store 2 ,mem_le_cur_handle_end 
+0x1e02 007450 call le_write_att_record 
+:      007451 le_send_att_read_by_group_type_store_record:
+0x1e03 007452 fetch 2 ,mem_temp 
+0x1e04 007453 store 2 ,mem_le_cur_handle_start 
+0x1e05 007454 call le_store_att_record 
+0x1e06 007455 increase -1 ,timeup 
+:      007457 le_send_att_read_by_group_type_next_handle:
+0x1e07 007458 call le_att_next_handle 
+0x1e08 007459 branch le_send_att_read_by_group_type_response_loop 
+:      007461 le_send_att_read_by_type_res_check_pair_length_type:
+0x1e09 007462 fetch 1 ,mem_le_cur_uuid_length 
+0x1e0a 007463 branch le_send_att_read_by_group_type_check_pair_length_type + 1 
+:      007466 le_send_att_read_by_group_type_check_pair_length_type:
+0x1e0b 007467 fetch 1 ,mem_le_curr_att_len 
+0x1e0c 007468 branch le_send_att_read_by_group_type_check_pair_length_type_16byte ,user2 
+0x1e0d 007469 increase -2 ,pdata 
+0x1e0e 007470 rtn 
+:      007472 le_send_att_read_by_group_type_check_pair_length_type_16byte:
+0x1e0f 007473 increase -16 ,pdata 
+0x1e10 007474 rtn 
+:      007476 le_send_att_read_by_group_type_end0:
+0x1e11 007477 fetch 2 ,mem_temp 
+0x1e12 007478 store 2 ,mem_le_cur_handle_end 
+0x1e13 007479 branch le_send_att_read_by_group_type_end_common 
+:      007480 le_send_att_read_by_group_type_end1:
+0x1e14 007481 fetch 2 ,mem_temp 
+0x1e15 007482 increase -1 ,pdata 
+0x1e16 007483 store 2 ,mem_le_cur_handle_end 
+0x1e17 007484 branch le_send_att_read_by_group_type_end_common 
+:      007485 le_send_att_read_by_group_type_end_common:
+0x1e18 007486 branch le_send_att_error_response_notfound ,user 
+0x1e19 007487 call le_write_att_record 
+0x1e1a 007488 branch le_send_auto_len_by_mem 
+:      007493 le_parse_att_write_request:
+0x1e1b 007494 copy contr ,rega 
+0x1e1c 007495 fetch 2 ,mem_le_l2cap_size 
+0x1e1d 007496 add pdata ,-3 ,regb 
+0x1e1e 007497 call le_writeatt_cb 
+:      007498 le_send_att_write_response_check_auth:
+0x1e1f 007499 call le_check_encrypt_state 
+0x1e20 007500 fetcht 2 ,mem_le_att_handle 
+0x1e21 007501 call le_att_get_handle_ptr2 
+0x1e22 007502 nbranch le_send_att_write_response_error_invalid_handle ,zero 
+0x1e23 007503 call le_send_att_write_response_check_handle ,user 
+0x1e24 007504 rtn user 
+0x1e25 007506 fetch 1 ,mem_le_configuration 
+0x1e26 007507 bbit0 bit_ble_write_auth ,le_send_att_write_response 
+0x1e27 007509 fetcht 2 ,mem_le_att_handle 
+0x1e28 007510 fetch 2 ,mem_le_pairing_handle 
+0x1e29 007511 isub temp ,null 
+0x1e2a 007512 nbranch le_send_att_write_response ,zero 
+0x1e2b 007513 call le_check_encrypt_state 
+0x1e2c 007514 nbranch le_send_att_write_response ,user 
+0x1e2d 007515 branch le_send_att_read_response_error_insufficient_auth 
+:      007518 le_send_att_write_response:
+0x1e2e 007519 force 1 ,rega 
+0x1e2f 007520 call le_fifo_malloc_tx_l2cap_gatt 
+0x1e30 007521 setarg attop_write_response 
+0x1e31 007522 istore 1 ,contw 
+0x1e32 007523 rtn 
+:      007525 le_send_att_write_response_check_handle:
+0x1e33 007526 increase -2 ,contr 
+0x1e34 007527 ifetch 2 ,contr 
+0x1e35 007528 bbit1 bit_of_att_handle_write_authenticated ,le_send_att_read_response_error_insufficient_auth 
+0x1e36 007529 branch disable_user 
+:      007531 le_send_att_write_response_error_invalid_handle:
+0x1e37 007532 jam att_err_invalid_handle ,mem_le_err_code 
+0x1e38 007533 branch le_send_att_error_response 
+:      007536 le_check_encrypt_state:
+0x1e39 007537 call disable_user 
+0x1e3a 007538 fetch 1 ,mem_le_pairing_mode 
+0x1e3b 007539 rtneq le_pairing_mode_none 
+0x1e3c 007540 fetch 1 ,mem_context 
+0x1e3d 007541 rtnbit1 lestate_encryption 
+0x1e3e 007542 branch enable_user 
+:      007545 le_parse_att_prepare_write_request:
+0x1e3f 007546 add contr ,2 ,rega 
+0x1e40 007547 fetch 2 ,mem_le_l2cap_size 
+0x1e41 007548 add pdata ,-5 ,regb 
+0x1e42 007549 call le_writeatt_cb 
+0x1e43 007550 branch le_send_att_prepare_write_response 
+:      007553 le_send_att_prepare_write_response:
+0x1e44 007554 fetch 2 ,mem_le_l2cap_size 
+0x1e45 007555 copy pdata ,rega 
+0x1e46 007556 call le_fifo_malloc_tx_l2cap_gatt 
+0x1e47 007557 setarg attop_prepare_write_response 
+0x1e48 007558 istore 1 ,contw 
+0x1e49 007559 fetch 2 ,mem_le_att_handle 
+0x1e4a 007560 istore 2 ,contw 
+0x1e4b 007561 fetch 2 ,mem_le_l2cap_size 
+0x1e4c 007562 add pdata ,-5 ,loopcnt 
+0x1e4d 007563 fetch 2 ,mem_le_payload_ptr 
+0x1e4e 007564 add pdata ,7 ,contr 
+0x1e4f 007565 ifetch 2 ,contr 
+0x1e50 007566 istore 2 ,contw 
+0x1e51 007567 branch memcpy_fast 
+:      007571 le_parse_att_execute_write_request:
+:      007573 le_send_att_execute_write_response:
+0x1e52 007574 force 1 ,rega 
+0x1e53 007575 call le_fifo_malloc_tx_l2cap_gatt 
+0x1e54 007576 setarg attop_execute_write_response 
+0x1e55 007577 istore 1 ,contw 
+0x1e56 007578 rtn 
+:      007580 le_parse_handle_value_confirmation:
+0x1e57 007581 fetch 1 ,mem_le_l2cap_att_states 
+0x1e58 007582 set0 ble_l2cap_recv_confirmation_packet ,pdata 
+0x1e59 007583 store 1 ,mem_le_l2cap_att_states 
+0x1e5a 007584 rtn 
+:      007586 le_parse_att_write_command:
+0x1e5b 007587 copy contr ,rega 
+0x1e5c 007588 fetch 2 ,mem_le_l2cap_size 
+0x1e5d 007589 add pdata ,-3 ,regb 
+0x1e5e 007590 branch le_writeatt_cb 
+:      007595 le_att_malloc_tx_notify:
+0x1e5f 007596 copy temp ,regc 
+0x1e60 007597 increase 3 ,rega 
+0x1e61 007598 call le_fifo_malloc_tx_l2cap_gatt 
+0x1e62 007599 increase -3 ,rega 
+0x1e63 007600 setarg attop_handle_value_notification 
+0x1e64 007601 istore 1 ,contw 
+0x1e65 007602 copy regc ,temp 
+0x1e66 007603 istoret 2 ,contw 
+0x1e67 007604 rtn 
+:      007607 le_att_malloc_tx_indication:
+0x1e68 007608 fetch 1 ,mem_le_l2cap_att_states 
+0x1e69 007609 set1 ble_l2cap_send_indication_packet ,pdata 
+0x1e6a 007610 store 1 ,mem_le_l2cap_att_states 
+0x1e6b 007611 copy temp ,regc 
+0x1e6c 007612 increase 3 ,rega 
+0x1e6d 007613 call le_fifo_malloc_tx_l2cap_gatt 
+0x1e6e 007614 increase -3 ,rega 
+0x1e6f 007615 setarg attop_handle_value_indication 
+0x1e70 007616 istore 1 ,contw 
+0x1e71 007617 copy regc ,temp 
+0x1e72 007618 istoret 2 ,contw 
+0x1e73 007619 rtn 
+:      007624 le_send_att_error_response_notfound:
+0x1e74 007625 jam att_err_attribute_not_found ,mem_le_err_code 
+:      007626 le_send_att_error_response:
+0x1e75 007627 force 5 ,rega 
+0x1e76 007628 call le_fifo_malloc_tx_l2cap_gatt 
+0x1e77 007629 setarg attop_error_response 
+0x1e78 007630 istore 1 ,contw 
+0x1e79 007631 fetch 1 ,mem_le_att_opcode 
+0x1e7a 007632 istore 1 ,contw 
+0x1e7b 007633 fetch 2 ,mem_le_att_handle 
+0x1e7c 007634 istore 2 ,contw 
+0x1e7d 007635 fetch 1 ,mem_le_err_code 
+0x1e7e 007636 istore 1 ,contw 
+0x1e7f 007637 rtn 
+:      007640 le_fifo_malloc_tx_l2cap_gatt:
+0x1e80 007641 force le_l2cap_cid_att ,regb 
+0x1e81 007642 branch le_fifo_malloc_tx_l2cap 
+:      007645 le_att_next_handle:
+0x1e82 007646 fetcht 2 ,mem_temp 
+0x1e83 007647 increase 1 ,temp 
+0x1e84 007648 storet 2 ,mem_temp 
+0x1e85 007649 rtn 
+:      007651 le_att_check_handle_end:
+0x1e86 007652 fetcht 2 ,mem_temp 
+0x1e87 007653 fetch 2 ,mem_le_search_handle_end 
+0x1e88 007654 isub temp ,null 
+0x1e89 007655 rtn 
+:      007658 le_att_same_type:
+0x1e8a 007659 fetcht 1 ,mem_le_search_att_type_length 
+0x1e8b 007660 arg mem_le_search_att_type ,rega 
+:      007661 le_att_check_same_common:
+0x1e8c 007662 fetch 1 ,mem_le_cur_uuid_length 
+0x1e8d 007663 copy pdata ,loopcnt 
+0x1e8e 007664 isub temp ,null 
+0x1e8f 007665 nrtn zero 
+0x1e90 007666 arg mem_le_cur_uuid ,regb 
+0x1e91 007667 branch string_compare 
+:      007669 le_att_same_uuid:
+0x1e92 007670 fetcht 1 ,mem_le_search_uuid_length 
+0x1e93 007671 arg mem_le_search_uuid ,rega 
+0x1e94 007672 branch le_att_check_same_common 
+:      007675 le_store_att_record:
+0x1e95 007676 fetch 1 ,mem_le_curr_att_len 
+0x1e96 007677 store 1 ,mem_tmp_buffer 
+0x1e97 007678 copy pdata ,loopcnt 
+0x1e98 007679 call get_contr 
+0x1e99 007680 branch memcpy_fast 
+:      007683 le_write_att_record:
+0x1e9a 007684 call get_contw 
+0x1e9b 007685 fetch 2 ,mem_le_cur_handle_start 
+0x1e9c 007686 istore 2 ,contw 
+0x1e9d 007687 fetch 2 ,mem_le_cur_handle_end 
+0x1e9e 007688 istore 2 ,contw 
+:      007689 le_write_att_record_common:
+0x1e9f 007690 fetch 1 ,mem_tmp_buffer 
+0x1ea0 007691 copy pdata ,loopcnt 
+0x1ea1 007692 call memcpy_fast 
+0x1ea2 007693 branch store_contw 
+:      007697 le_send_auto_len_by_mem:
+0x1ea3 007698 bpatchx patch3b_0 ,mem_patch3b 
+0x1ea4 007699 call get_contw 
+0x1ea5 007700 call le_fifo_get_last_att_ptr 
+0x1ea6 007701 copy contw ,pdata 
+0x1ea7 007702 isub contr ,rega 
+0x1ea8 007703 call le_fifo_get_last_l2cap_ptr 
+0x1ea9 007704 copy rega ,pdata 
+0x1eaa 007705 istore 2 ,contr 
+0x1eab 007706 increase 4 ,rega 
+0x1eac 007707 call le_fifo_get_last_tx_ptr 
+0x1ead 007708 copy rega ,pdata 
+0x1eae 007709 istore 1 ,contr 
+0x1eaf 007710 rtn 
+:      007713 le_get_search_handle_start_end_common:
+0x1eb0 007714 rshift8 pdata ,pdata 
+0x1eb1 007715 store 2 ,mem_le_search_handle_start 
+0x1eb2 007716 ifetch 2 ,contr 
+0x1eb3 007717 store 2 ,mem_le_search_handle_end 
+0x1eb4 007718 rtn 
+:      007720 le_get_search_max_mtu_data:
+0x1eb5 007721 fetch 2 ,mem_le_remote_mtu 
+0x1eb6 007722 increase -2 ,pdata 
+0x1eb7 007726 fetcht 2 ,mem_le_local_mtu 
+0x1eb8 007727 increase -2 ,temp 
+0x1eb9 007728 call not_greater_than 
+0x1eba 007729 arg 240 ,temp 
+0x1ebb 007730 call not_greater_than 
+0x1ebc 007732 rtn 
+:      007734 le_get_search_att_type:
+0x1ebd 007735 call store_contr 
+0x1ebe 007736 arg mem_le_search_att_type_length ,contw 
+:      007737 le_get_search_common:
+0x1ebf 007738 fetch 2 ,mem_le_l2cap_size 
+0x1ec0 007739 increase -5 ,pdata 
+:      007740 le_get_search_common2:
+0x1ec1 007741 istore 1 ,contw 
+0x1ec2 007742 copy pdata ,loopcnt 
+0x1ec3 007743 call get_contr 
+0x1ec4 007744 branch memcpy_fast 
+:      007748 le_parse_writing_attribute_start:
+0x1ec5 007749 fetch 2 ,mem_le_rxbuf_data_att_cid 
+0x1ec6 007750 rtnne le_l2cap_cid_att 
+0x1ec7 007751 fetch 1 ,mem_le_l2cap_att_states 
+0x1ec8 007752 set1 ble_l2cap_deal_with_continue_packet ,pdata 
+0x1ec9 007753 store 1 ,mem_le_l2cap_att_states 
+0x1eca 007754 fetch 3 ,mem_le_rxbuf_data_att_opcode 
+0x1ecb 007755 store 3 ,mem_le_att_opcode 
+0x1ecc 007756 set1 mark_old_packet ,mark 
+0x1ecd 007757 beq attop_write_request ,le_parse_attribute_write_request 
+0x1ece 007758 beq attop_write_command ,le_parse_attribute_write_command 
+0x1ecf 007759 beq attop_execute_write_request ,le_parse_att_execute_write_request 
+0x1ed0 007760 beq attop_exchange_mtu_request ,le_parse_att_exchange_mtu_request 
+0x1ed1 007761 beq attop_handle_value_confirmation ,le_parse_handle_value_confirmation 
+0x1ed2 007762 set0 mark_old_packet ,mark 
+:      007763 le_clear_l2cap_att_states_deal_with_contiune_packet:
+0x1ed3 007764 fetch 1 ,mem_le_l2cap_att_states 
+0x1ed4 007765 set0 ble_l2cap_deal_with_continue_packet ,pdata 
+0x1ed5 007766 store 1 ,mem_le_l2cap_att_states 
+0x1ed6 007767 rtn 
+:      007769 le_parse_writing_attribute_continue:
+0x1ed7 007770 fetch 1 ,mem_le_l2cap_att_states 
+0x1ed8 007771 rtnbit0 ble_l2cap_deal_with_continue_packet 
+0x1ed9 007772 set1 mark_old_packet ,mark 
+0x1eda 007773 call le_parse_l2cap_continue_common 
+0x1edb 007774 call le_parse_attribute_check_complete_packet 
+0x1edc 007775 call le_clear_l2cap_att_states_deal_with_contiune_packet ,user 
+0x1edd 007776 fetch 1 ,mem_le_att_opcode 
+0x1ede 007777 beq attop_write_request ,le_send_att_write_response_check_auth 
+0x1edf 007778 rtn 
+:      007781 le_parse_attribute_write_request:
+0x1ee0 007782 call le_parse_attribute_write_command 
+0x1ee1 007783 branch le_send_attribute_write_response_check_auth 
+:      007785 le_send_attribute_write_response_check_auth:
+0x1ee2 007786 call le_parse_attribute_check_complete_packet 
+0x1ee3 007787 nrtn user 
+0x1ee4 007788 branch le_send_att_write_response_check_auth 
+:      007791 le_parse_attribute_write_command:
+0x1ee5 007792 call le_parse_attribute_check_complete_packet_init 
+0x1ee6 007793 arg mem_le_rxbuf_data_att_write_payload ,rega 
+0x1ee7 007794 branch le_writeatt_cb 
+:      007797 le_parse_attribute_check_complete_packet_init:
+0x1ee8 007798 fetch 1 ,mem_le_rxbuf_data_att_write_length 
+0x1ee9 007799 add pdata ,-7 ,regb 
+0x1eea 007800 increase -4 ,pdata 
+0x1eeb 007801 store 2 ,mem_le_packet_len_recved 
+0x1eec 007802 fetcht 2 ,mem_le_rxbuf_data_att_write_l2cap_length 
+0x1eed 007803 storet 2 ,mem_le_l2cap_size 
+0x1eee 007804 rtn 
+:      007807 le_parse_l2cap_continue_common:
+0x1eef 007808 fetchr regb ,1 ,mem_le_rxbuf_data_continue_length 
+0x1ef0 007809 fetch 2 ,mem_le_packet_len_recved 
+0x1ef1 007810 iadd regb ,temp 
+0x1ef2 007811 storet 2 ,mem_le_packet_len_recved 
+0x1ef3 007812 arg mem_le_rxbuf_data_continue_payload ,rega 
+0x1ef4 007813 branch le_writeatt_cb 
+:      007817 le_parse_attribute_check_complete_packet:
+0x1ef5 007818 call disable_user 
+0x1ef6 007819 fetch 2 ,mem_le_packet_len_recved 
+0x1ef7 007820 fetcht 2 ,mem_le_l2cap_size 
+0x1ef8 007821 isub temp ,null 
+0x1ef9 007822 nrtn zero 
+0x1efa 007823 branch enable_user 
+:      007829 le_parse_signaling:
+0x1efb 007830 ifetch 1 ,contr 
+0x1efc 007831 ifetcht 1 ,contr 
+0x1efd 007832 ifetcht 2 ,contr 
+0x1efe 007833 beq l2cap_connection_parameter_update_response ,le_l2cap_parse_conn_parameter_update_rsp 
+0x1eff 007834 rtn 
+:      007835 le_l2cap_parse_conn_parameter_update_rsp:
+0x1f00 007836 ifetch 2 ,contr 
+0x1f01 007837 store 2 ,mem_le_l2cap_signaling_conn_param_update_rsp_result 
+0x1f02 007838 jam bt_evt_le_parse_conn_papa_update_rsp ,mem_fifo_temp 
+0x1f03 007839 branch ui_ipc_send_event 
+:      007845 le_l2cap_tx_update_req:
+0x1f04 007846 arg 0x0c ,rega 
+0x1f05 007847 arg l2cap_connection_parameter_update_request ,regc 
+0x1f06 007848 call le_fifo_malloc_tx_l2cap_signaling 
+0x1f07 007849 setarg 0x08 
+0x1f08 007850 istore 2 ,contw 
+0x1f09 007851 fetch 8 ,mem_le_interval_min 
+0x1f0a 007852 istore 8 ,contw 
+0x1f0b 007853 rtn 
+:      007857 le_fifo_malloc_tx_l2cap_signaling:
+0x1f0c 007858 call le_l2cap_update_signaling_identifier 
+0x1f0d 007859 arg le_l2cap_cid_signal ,regb 
+0x1f0e 007860 call le_fifo_malloc_tx_l2cap 
+0x1f0f 007861 copy regc ,pdata 
+0x1f10 007862 istore 1 ,contw 
+0x1f11 007863 fetch 1 ,mem_le_signaling_identifier 
+0x1f12 007864 istore 1 ,contw 
+0x1f13 007865 rtn 
+:      007868 le_l2cap_update_signaling_identifier:
+0x1f14 007869 fetch 1 ,mem_le_signaling_identifier 
+0x1f15 007871 pincrease 1 
+0x1f16 007872 store 1 ,mem_le_signaling_identifier 
+0x1f17 007873 rtnne 0 
+:      007875 le_l2cap_reset_signaling_identifier:
+0x1f18 007876 jam 1 ,mem_le_signaling_identifier 
+0x1f19 007877 rtn 
+:      007882 le_pairing_mode_init:
+0x1f1a 007883 fetch 1 ,mem_le_pairing_mode 
+0x1f1b 007884 beq le_pairing_mode_none ,le_set_no_pairing 
+0x1f1c 007885 beq le_pairing_mode_lagacy_justwork ,le_set_pairing_mode_lagacy_just_work 
+0x1f1d 007886 beq le_pairing_mode_lagacy_passkey ,le_set_pairing_mode_lagacy_passkey 
+0x1f1e 007887 beq le_pairing_mode_secure_connect_justwork ,le_set_pairing_mode_secure_justwork 
+0x1f1f 007888 beq le_pairing_mode_secure_connect_numeric ,le_set_pairing_mode_secure_numeric 
+0x1f20 007889 beq le_pairing_mode_secure_connect_passkey ,le_set_pairing_mode_secure_passkey 
+0x1f21 007890 rtn 
+:      007892 le_set_pairing_mode_secure_justwork:
+0x1f22 007893 jam flag_le_bonding_mitm_secure ,mem_le_pres_auth 
+0x1f23 007894 branch le_set_noinputnooutput 
+:      007895 le_set_pairing_mode_secure_numeric:
+0x1f24 007896 jam flag_le_bonding_mitm_secure ,mem_le_pres_auth 
+0x1f25 007897 jam flag_iocap_displayyesno ,mem_le_pres_iocap 
+0x1f26 007898 rtn 
+:      007899 le_set_pairing_mode_secure_passkey:
+0x1f27 007900 jam flag_le_bonding_mitm_secure ,mem_le_pres_auth 
+0x1f28 007901 branch le_set_displayonly 
+:      007902 le_set_no_pairing:
+0x1f29 007903 jam flag_le_no_bonding_no_mitm ,mem_le_pres_auth 
+:      007904 le_set_noinputnooutput:
+0x1f2a 007905 jam flag_iocap_noinputnooutput ,mem_le_pres_iocap 
+0x1f2b 007906 rtn 
+:      007907 le_set_pairing_mode_lagacy_just_work:
+0x1f2c 007908 jam flag_le_bonding_mitm ,mem_le_pres_auth 
+0x1f2d 007909 branch le_set_noinputnooutput 
+:      007910 le_set_pairing_mode_lagacy_passkey:
+0x1f2e 007911 jam flag_le_bonding_mitm ,mem_le_pres_auth 
+:      007912 le_set_displayonly:
+0x1f2f 007913 jam flag_iocap_displayonly ,mem_le_pres_iocap 
+0x1f30 007914 rtn 
+:      007917 le_secure_connection_enable:
+0x1f31 007918 fetch 1 ,mem_secure_connections_enable 
+0x1f32 007919 set1 secure_connections_le_bit ,pdata 
+0x1f33 007920 store 1 ,mem_secure_connections_enable 
+0x1f34 007921 rtn 
+:      007923 le_secure_connection_disable:
+0x1f35 007924 fetch 1 ,mem_secure_connections_enable 
+0x1f36 007925 set0 secure_connections_le_bit ,pdata 
+0x1f37 007926 store 1 ,mem_secure_connections_enable 
+0x1f38 007927 rtn 
+:      007929 le_parse_smp:
+0x1f39 007930 ifetch 1 ,contr 
+0x1f3a 007931 beq smp_pairing_request ,le_parse_smp_pairing_request 
+0x1f3b 007933 beq smp_pairing_confirm ,le_parse_smp_pairing_confirm 
+0x1f3c 007934 beq smp_pairing_random ,le_parse_smp_pairing_random 
+0x1f3d 007935 beq smp_pairing_failed ,le_parse_smp_pairing_failed 
+0x1f3e 007937 beq smp_master_identification ,le_parse_smp_master_identification 
+0x1f3f 007938 beq smp_identity_information ,le_parse_smp_identity_information 
+0x1f40 007939 beq smp_identity_address_information ,le_parse_smp_identity_address_information 
+0x1f41 007940 beq smp_signing_information ,le_parse_smp_signing_information 
+0x1f42 007941 beq smp_security_request ,le_parse_smp_security_request 
+0x1f43 007942 beq smp_pairing_public_key ,le_parse_smp_public_key 
+0x1f44 007943 beq smp_pairing_dhkey_check ,le_parse_smp_dhkey_check 
+0x1f45 007944 rtn 
+:      007948 le_send_smp_security_request:
+0x1f46 007949 force 2 ,rega 
+0x1f47 007950 call le_fifo_malloc_tx_l2cap_smp 
+0x1f48 007951 setarg smp_security_request 
+0x1f49 007952 istore 1 ,contw 
+0x1f4a 007953 fetch 1 ,mem_le_pres_auth 
+0x1f4b 007954 istore 1 ,contw 
+0x1f4c 007955 rtn 
+:      007957 le_parse_smp_pairing_request:
+0x1f4d 007958 store 1 ,mem_le_preq 
+0x1f4e 007959 ifetch 6 ,contr 
+0x1f4f 007960 istore 6 ,contw 
+0x1f50 007961 fetch 1 ,mem_le_pairing_mode 
+0x1f51 007962 beq le_pairing_mode_none ,le_smp_pairing_fail_reason_not_support_pairing 
+0x1f52 007963 call le_send_smp_pairing_response 
+0x1f53 007964 fetch 1 ,mem_sc_only_mode 
+0x1f54 007965 branch le_parse_smp_pairing_request2 ,blank 
+0x1f55 007966 fetch 1 ,mem_le_preq_auth 
+0x1f56 007967 bbit0 le_auth_secure_connection_pairing_bit ,app_ble_disconnect 
+0x1f57 007968 fetch 1 ,mem_le_pairing_mode 
+0x1f58 007969 bbit0 le_pairing_mode_secure_connect_bit ,app_ble_disconnect 
+:      007970 le_parse_smp_pairing_request2:
+0x1f59 007971 jam flag_le_pairing_rcv_pairing_req ,mem_le_pairing_state 
+0x1f5a 007972 fetch 1 ,mem_le_preq_iocap 
+0x1f5b 007973 beq flag_iocap_displayonly ,le_set_tk_0 
+0x1f5c 007974 beq flag_iocap_displayyesno ,le_set_tk_0 
+0x1f5d 007975 beq flag_iocap_noinputnooutput ,le_set_tk_0 
+0x1f5e 007976 fetch 1 ,mem_le_pairing_mode 
+0x1f5f 007977 beq le_pairing_mode_lagacy_passkey ,le_parse_smp_pairing_req_passkey 
+0x1f60 007978 rtneq le_pairing_mode_secure_connect_passkey 
+:      007979 le_set_tk_0:
+0x1f61 007980 arg 0 ,pdata 
+0x1f62 007981 store 4 ,mem_le_tk 
+0x1f63 007982 rtn 
+:      007984 le_parse_smp_pairing_req_passkey:
+0x1f64 007985 fetch 1 ,mem_le_configuration 
+0x1f65 007986 bbit1 bit_ble_passkey_fixed_key ,le_parse_smp_pairing_req_fixed_passkey 
+:      007987 le_genernate_tk:
+0x1f66 007988 arg mem_le_tk ,rega 
+0x1f67 007989 copy rega ,contw 
+0x1f68 007990 arg 3 ,loopcnt 
+0x1f69 007991 call generate_random_loop 
+0x1f6a 007992 fetch 2 ,mem_le_tk + 2 
+0x1f6b 007993 and_into 0x7 ,pdata 
+0x1f6c 007994 store 2 ,mem_le_tk + 2 
+:      007995 le_parse_smp_pairing_req_fixed_passkey:
+0x1f6d 007996 jam bt_evt_le_tk_generate ,mem_fifo_temp 
+0x1f6e 007997 branch ui_ipc_send_event 
+:      008001 le_send_smp_pairing_response:
+0x1f6f 008002 force 7 ,rega 
+0x1f70 008003 call le_fifo_malloc_tx_l2cap_smp 
+0x1f71 008004 fetch 7 ,mem_le_pres 
+0x1f72 008005 istore 7 ,contw 
+0x1f73 008006 rtn 
+:      008009 le_parse_smp_pairing_confirm:
+0x1f74 008010 jam flag_le_pairing_receive_pairing_confirm ,mem_le_pairing_state 
+0x1f75 008011 arg mem_le_rconfirm ,contw 
+0x1f76 008012 call memcpy16 
+0x1f77 008013 fetch 1 ,mem_le_pairing_mode 
+0x1f78 008014 beq le_pairing_mode_secure_connect_passkey ,le_parse_smp_pairing_confirm_secure_passkey 
+0x1f79 008015 beq le_pairing_mode_lagacy_passkey_res_input ,le_parse_smp_pairing_confirm_passkey_res_input 
+0x1f7a 008016 beq le_pairing_mode_secure_connect_passkey_res_input ,le_parse_smp_pairing_confirm_sc_passkey_res_input 
+0x1f7b 008017 branch le_send_smp_pairing_confirm 
+:      008018 le_parse_smp_pairing_confirm_secure_passkey:
+0x1f7c 008019 jam le_sp_flag_commit_256 ,mem_le_secure_connect_flag 
+0x1f7d 008020 jam le_sc_stat_passkey_wait_confirm ,mem_le_secure_connect_state 
+0x1f7e 008021 rtn 
+:      008024 le_parse_smp_pairing_confirm_passkey_res_input:
+0x1f7f 008025 jam bt_evt_le_get_passkey ,mem_fifo_temp 
+0x1f80 008026 branch ui_ipc_send_event 
+:      008029 le_parse_smp_pairing_confirm_sc_passkey_res_input:
+0x1f81 008030 fetch 4 ,mem_le_tk 
+0x1f82 008031 branch le_parse_smp_pairing_confirm_passkey_res_input ,blank 
+0x1f83 008032 branch le_parse_smp_pairing_confirm_secure_passkey 
+:      008035 le_send_smp_pairing_confirm:
+0x1f84 008036 jam flag_le_pairing_send_pairing_confirm ,mem_le_pairing_state 
+0x1f85 008037 fetch 1 ,mem_le_pairing_mode 
+0x1f86 008038 bbit1 le_pairing_mode_secure_connect_bit ,le_send_smp_pairing_confirm_sc 
+0x1f87 008039 call generate_confirm 
+0x1f88 008040 force 17 ,rega 
+0x1f89 008041 call le_fifo_malloc_tx_l2cap_smp 
+0x1f8a 008042 setarg smp_pairing_confirm 
+0x1f8b 008043 istore 1 ,contw 
+0x1f8c 008044 branch store_aes_result 
+:      008047 le_send_smp_pairing_confirm_sc:
+0x1f8d 008048 arg mem_le_srand ,contw 
+0x1f8e 008049 call generate_random 
+0x1f8f 008050 call function_f4_cb 
+0x1f90 008051 force 17 ,rega 
+0x1f91 008052 call le_fifo_malloc_tx_l2cap_smp 
+0x1f92 008053 setarg smp_pairing_confirm 
+0x1f93 008054 istore 1 ,contw 
+0x1f94 008055 branch load_inverse_result 
+:      008059 le_parse_smp_pairing_random:
+0x1f95 008060 copy contr ,rega 
+0x1f96 008061 fetch 1 ,mem_le_pairing_mode 
+0x1f97 008062 bbit1 le_pairing_mode_secure_connect_bit ,le_parse_smp_pairing_random_sc 
+0x1f98 008063 copy rega ,contr 
+0x1f99 008064 call authenticate_rconfirm 
+0x1f9a 008065 branch le_parse_smp_pairing_random_success ,zero 
+:      008066 le_send_pairing_confirm_value_failed:
+0x1f9b 008067 jam pairing_failed_confirm_value_failed ,mem_le_ll_pairing_fail_reason 
+:      008068 le_send_pairing_failed:
+0x1f9c 008069 force 2 ,rega 
+0x1f9d 008070 call le_fifo_malloc_tx_l2cap_smp 
+0x1f9e 008071 setarg smp_pairing_failed 
+0x1f9f 008072 istore 1 ,contw 
+0x1fa0 008073 fetch 1 ,mem_le_ll_pairing_fail_reason 
+0x1fa1 008074 istore 1 ,contw 
+:      008075 le_parse_smp_pairing_failed:
+0x1fa2 008076 force smp_pairing_timer ,queue 
+0x1fa3 008077 call timer_stop 
+0x1fa4 008078 jam flag_le_pairing_null ,mem_le_pairing_state 
+0x1fa5 008079 jam bt_evt_le_pairing_fail ,mem_fifo_temp 
+0x1fa6 008080 branch ui_ipc_send_event 
+:      008082 le_smp_pairing_fail_reason_not_support_pairing:
+0x1fa7 008083 jam pairing_failed_pairing_not_supported ,mem_le_ll_pairing_fail_reason 
+0x1fa8 008084 branch le_send_pairing_failed 
+:      008087 le_parse_smp_pairing_random_sc:
+0x1fa9 008088 arg mem_le_mrand ,contw 
+0x1faa 008089 copy rega ,contr 
+0x1fab 008090 call memcpy16 
+0x1fac 008091 fetch 1 ,mem_le_pairing_mode 
+0x1fad 008092 beq le_pairing_mode_secure_connect_passkey ,le_parse_smp_pairing_random_sc_passkey 
+0x1fae 008093 beq le_pairing_mode_secure_connect_passkey_res_input ,le_parse_smp_pairing_random_sc_passkey 
+0x1faf 008094 call function_g2 
+0x1fb0 008095 call le_send_smp_pairing_random 
+0x1fb1 008096 fetch 1 ,mem_le_pairing_mode 
+0x1fb2 008097 rtnne le_pairing_mode_secure_connect_numeric 
+0x1fb3 008098 jam bt_evt_le_gkey_generate ,mem_fifo_temp 
+0x1fb4 008099 branch ui_ipc_send_event 
+:      008101 le_parse_smp_pairing_random_sc_passkey:
+0x1fb5 008102 call function_f4_ca 
+0x1fb6 008103 arg mem_aes_cmac_temp ,contw 
+0x1fb7 008104 call load_inverse_result 
+0x1fb8 008105 arg mem_aes_cmac_temp ,rega 
+0x1fb9 008106 arg mem_le_rconfirm ,regb 
+0x1fba 008107 arg 16 ,loopcnt 
+0x1fbb 008108 call string_compare 
+0x1fbc 008109 nbranch le_send_pairing_confirm_value_failed ,zero 
+0x1fbd 008110 branch le_send_smp_pairing_random 
+:      008112 le_parse_smp_pairing_random_success:
+0x1fbe 008113 call generate_stk 
+0x1fbf 008114 jam bt_evt_le_pairing_success ,mem_fifo_temp 
+0x1fc0 008115 call ui_ipc_send_event 
+0x1fc1 008116 jam 1 ,mem_ltk_exists 
+0x1fc2 008117 jam flag_le_pairing_after_auth ,mem_le_pairing_state 
+:      008119 le_send_smp_pairing_random:
+0x1fc3 008120 force 17 ,rega 
+0x1fc4 008121 call le_fifo_malloc_tx_l2cap_smp 
+0x1fc5 008122 setarg smp_pairing_random 
+0x1fc6 008123 istore 1 ,contw 
+0x1fc7 008124 arg mem_le_srand ,contr 
+0x1fc8 008125 branch memcpy16 
+:      008127 le_send_smp_encryption_information:
+0x1fc9 008128 force 17 ,rega 
+0x1fca 008129 call le_fifo_malloc_tx_l2cap_smp 
+0x1fcb 008130 setarg smp_encryption_information 
+0x1fcc 008131 istore 1 ,contw 
+0x1fcd 008132 fetch 1 ,mem_le_configuration 
+0x1fce 008133 bbit1 bit_ble_pairing_fixed_ltk ,le_send_fixed_ltk 
+0x1fcf 008134 arg mem_le_ltk ,contr 
+0x1fd0 008135 branch memcpy16 
+:      008137 le_send_fixed_ltk:
+0x1fd1 008138 arg mem_le_fixed_ltk ,contr 
+0x1fd2 008139 branch memcpy16 
+:      008142 le_send_smp_master_identification:
+0x1fd3 008143 arg mem_le_ediv ,contw 
+0x1fd4 008144 force 10 ,loopcnt 
+0x1fd5 008145 call generate_random_loop 
+0x1fd6 008146 force 11 ,rega 
+0x1fd7 008147 call le_fifo_malloc_tx_l2cap_smp 
+0x1fd8 008148 setarg smp_master_identification 
+0x1fd9 008149 istore 1 ,contw 
+0x1fda 008150 fetch 2 ,mem_le_ediv 
+0x1fdb 008151 istore 2 ,contw 
+0x1fdc 008152 fetch 8 ,mem_le_rand 
+0x1fdd 008153 istore 8 ,contw 
+0x1fde 008154 rtn 
+:      008156 le_send_smp_identity_information:
+0x1fdf 008157 force 17 ,rega 
+0x1fe0 008158 call le_fifo_malloc_tx_l2cap_smp 
+0x1fe1 008159 setarg smp_identity_information 
+0x1fe2 008160 istore 1 ,contw 
+0x1fe3 008161 setarg 0 
+0x1fe4 008162 istore 8 ,contw 
+0x1fe5 008163 istore 8 ,contw 
+0x1fe6 008164 rtn 
+:      008167 le_send_smp_identity_address_information:
+0x1fe7 008168 force 8 ,rega 
+0x1fe8 008169 call le_fifo_malloc_tx_l2cap_smp 
+0x1fe9 008170 setarg smp_identity_address_information 
+0x1fea 008171 istore 1 ,contw 
+0x1feb 008172 fetch 1 ,mem_le_conn_own_addr_type 
+0x1fec 008173 istore 1 ,contw 
+0x1fed 008174 fetch 6 ,mem_le_lap 
+0x1fee 008175 istore 6 ,contw 
+0x1fef 008176 rtn 
+:      008179 le_send_pairing_fail_unspecified_reason:
+0x1ff0 008180 jam pairing_failed_unspecified_reason ,mem_le_ll_pairing_fail_reason 
+0x1ff1 008181 branch le_send_pairing_failed 
+:      008183 le_check_init_key_distribution:
+0x1ff2 008184 fetch 1 ,mem_le_pres_init_key_distribution 
+0x1ff3 008185 fetcht 1 ,mem_le_pres_init_key_distribution 
+0x1ff4 008186 iand temp ,pdata 
+0x1ff5 008187 rtn 
+:      008189 le_parse_smp_identity_information:
+0x1ff6 008190 arg mem_le_irk ,contw 
+0x1ff7 008191 call memcpy16 
+0x1ff8 008192 call le_check_init_key_distribution 
+0x1ff9 008193 isolate0 le_initator_irk_bit ,pdata 
+0x1ffa 008194 branch le_send_pairing_fail_unspecified_reason ,true 
+0x1ffb 008195 fetch 1 ,mem_device_option 
+0x1ffc 008196 rtnne dvc_op_module 
+0x1ffd 008197 call le_check_master_addr_type 
+0x1ffe 008198 nrtn user 
+0x1fff 008199 branch app_ble_store_reconn_info 
+:      008202 le_check_master_addr_type:
+0x2000 008203 call disable_user 
+0x2001 008204 fetch 1 ,mem_le_conn_peer_addr_type 
+0x2002 008205 rtneq master_public_addr 
+0x2003 008206 fetch 1 ,mem_le_preq_init_key_distribution 
+0x2004 008207 rtnbit0 le_initator_irk_bit 
+0x2005 008208 branch enable_user 
+:      008210 le_parse_smp_identity_address_information:
+0x2006 008211 call le_check_init_key_distribution 
+0x2007 008212 isolate0 le_initator_irk_bit ,pdata 
+0x2008 008213 branch le_send_pairing_fail_unspecified_reason ,true 
+0x2009 008214 rtn 
+:      008216 le_parse_smp_master_identification:
+:      008217 le_parse_smp_signing_information:
+:      008218 le_parse_smp_security_request:
+0x200a 008219 rtn 
+:      008221 le_parse_smp_public_key:
+0x200b 008222 arg mem_le_pubkey_remote_x_256 ,contw 
+0x200c 008223 call memcpy64 
+0x200d 008224 jam le_sp_flag_commit_256 ,mem_le_secure_connect_flag 
+0x200e 008225 jam le_sc_stat_receive_public_key ,mem_le_secure_connect_state 
+0x200f 008226 rtn 
+:      008228 le_parse_smp_dhkey_check:
+0x2010 008229 arg mem_sp_confirm_remote ,contw 
+0x2011 008230 call memcpy16 
+0x2012 008231 jam le_sc_stat_receive_dhkey ,mem_le_secure_connect_state 
+0x2013 008232 jam le_sp_flag_commit_256 ,mem_le_secure_connect_flag 
+0x2014 008233 rtn 
+:      008235 le_send_smp_pairing_public_key:
+0x2015 008236 force 65 ,rega 
+0x2016 008237 call le_fifo_malloc_tx_l2cap_smp 
+0x2017 008238 setarg smp_pairing_public_key 
+0x2018 008239 istore 1 ,contw 
+0x2019 008240 arg mem_sc_pubkey_local_x_256 ,contr 
+0x201a 008241 branch memcpy64 
+:      008243 le_send_smp_pairing_dhkey_check:
+0x201b 008244 call function_f6_eb 
+0x201c 008245 force 17 ,rega 
+0x201d 008246 call le_fifo_malloc_tx_l2cap_smp 
+0x201e 008247 setarg smp_pairing_dhkey_check 
+0x201f 008248 istore 1 ,contw 
+0x2020 008249 branch load_inverse_result 
+:      008252 le_check_paring_time:
+0x2021 008253 fetch 1 ,mem_le_pairing_state 
+0x2022 008254 rtneq flag_le_pairing_end 
+0x2023 008255 arg flag_le_pairing_rcv_pairing_req ,temp 
+0x2024 008256 isub temp ,null 
+0x2025 008257 nrtn positive 
+0x2026 008258 arg smp_pairing_timer ,queue 
+0x2027 008259 call timer_check 
+0x2028 008260 nrtn blank 
+0x2029 008261 branch le_send_pairing_fail_unspecified_reason 
+:      008263 le_pairing_sm:
+0x202a 008264 bpatchx patch3b_1 ,mem_patch3b 
+0x202b 008265 call le_fifo_check_nearly_full 
+0x202c 008266 nrtn blank 
+0x202d 008267 fetch 1 ,mem_le_pairing_state 
+0x202e 008268 beq flag_le_pairing_null ,le_pairing_sm_null 
+0x202f 008269 beq flag_le_pairing_start ,le_pairing_sm_start 
+0x2030 008270 beq flag_le_pairing_send_recurity_req ,le_pairing_sm_send_sec_req 
+0x2031 008271 beq flag_le_pairing_rcv_pairing_req ,le_pairing_sm_rcv_pairing_req 
+0x2032 008272 beq flag_le_pairing_after_auth ,le_pairing_sm_after_auth 
+0x2033 008273 beq flag_le_paring_send_enc_information ,le_pairng_sm_send_enc_information 
+0x2034 008274 beq flag_le_paring_send_master_identification ,le_pairng_sm_send_master_indentification 
+0x2035 008275 beq flag_le_paring_send_indentity_information ,le_pairng_sm_send_indentity_information 
+0x2036 008276 rtn 
+:      008278 le_pairing_sm_null:
+:      008279 le_pairing_sm_send_sec_req:
+0x2037 008280 fetch 1 ,mem_le_enc_state 
+0x2038 008281 rtnne flag_le_send_start_enc_rsp 
+0x2039 008282 jam flag_le_enc_end ,mem_le_enc_state 
+0x203a 008283 jam flag_le_pairing_end ,mem_le_pairing_state 
+0x203b 008284 jam bt_evt_le_reconnect_complete ,mem_fifo_temp 
+0x203c 008285 branch ui_ipc_send_event 
+:      008288 le_pairing_sm_start:
+0x203d 008289 jam flag_le_pairing_send_recurity_req ,mem_le_pairing_state 
+0x203e 008290 branch le_send_smp_security_request 
+:      008292 le_pairing_sm_rcv_pairing_req:
+0x203f 008293 jam flag_le_pairing_wait_stk_generation ,mem_le_pairing_state 
+0x2040 008294 setarg timer_smp_pairing_timeout 
+0x2041 008295 arg smp_pairing_timer ,queue 
+0x2042 008296 branch timer_init 
+:      008298 le_pairing_sm_after_auth:
+0x2043 008299 fetch 1 ,mem_le_enc_state 
+0x2044 008300 beq flag_le_send_start_enc_rsp ,le_pairing_sm_after_auth_start_enc 
+0x2045 008301 rtn 
+:      008303 le_pairing_sm_after_auth_start_enc:
+0x2046 008304 fetch 1 ,mem_le_pairing_mode 
+0x2047 008305 bbit1 le_pairing_mode_secure_connect_bit ,le_pairing_sm_after_auth_start_enc_sc 
+0x2048 008307 jam flag_le_paring_send_enc_information ,mem_le_pairing_state 
+0x2049 008308 call le_send_smp_encryption_information 
+:      008309 le_pairing_sm_after_auth_start_enc_common:
+0x204a 008310 jam bt_evt_le_enc_info ,mem_fifo_temp 
+0x204b 008311 call ui_ipc_send_event 
+0x204c 008312 fetch 1 ,mem_device_option 
+0x204d 008313 rtnne dvc_op_module 
+0x204e 008314 call le_check_master_addr_type 
+0x204f 008315 rtn user 
+0x2050 008316 branch app_ble_store_reconn_info 
+:      008318 le_pairing_sm_after_auth_start_enc_sc:
+0x2051 008319 jam flag_le_paring_send_master_identification ,mem_le_pairing_state 
+0x2052 008320 branch le_pairing_sm_after_auth_start_enc_common 
+:      008322 le_pairng_sm_send_enc_information:
+0x2053 008323 jam flag_le_paring_send_master_identification ,mem_le_pairing_state 
+0x2054 008324 branch le_send_smp_master_identification 
+:      008326 le_pairng_sm_send_master_indentification:
+0x2055 008327 fetch 1 ,mem_le_preq_resp_key_distribution 
+0x2056 008328 fetcht 1 ,mem_le_pres_resp_key_distribution 
+0x2057 008329 iand temp ,pdata 
+0x2058 008330 isolate0 le_initator_irk_bit ,pdata 
+0x2059 008331 branch le_parse_start_enc_rsp_after_auth_end ,true 
+0x205a 008332 jam flag_le_paring_send_indentity_information ,mem_le_pairing_state 
+0x205b 008333 branch le_send_smp_identity_information 
+:      008335 le_pairng_sm_send_indentity_information:
+0x205c 008336 call le_send_smp_identity_address_information 
+0x205d 008337 branch le_parse_start_enc_rsp_after_auth_end 
+:      008340 le_parse_start_enc_rsp_after_auth_end:
+0x205e 008341 force smp_pairing_timer ,queue 
+0x205f 008342 call timer_stop 
+0x2060 008343 jam flag_le_enc_end ,mem_le_enc_state 
+0x2061 008344 jam flag_le_pairing_end ,mem_le_pairing_state 
+0x2062 008345 jam bt_evt_le_pairing_complete ,mem_fifo_temp 
+0x2063 008346 branch ui_ipc_send_event 
+:      008350 le_secure_connect_sm:
+0x2064 008351 bpatchx patch3b_2 ,mem_patch3b 
+0x2065 008352 fetch 1 ,mem_le_pairing_mode 
+0x2066 008353 rtnbit0 le_pairing_mode_secure_connect_bit 
+0x2067 008354 fetch 1 ,mem_le_secure_connect_flag 
+0x2068 008355 rtnne le_sp_flag_commit_256 
+0x2069 008356 jam sp_flag_standby ,mem_le_secure_connect_flag 
+0x206a 008357 fetch 1 ,mem_le_secure_connect_state 
+0x206b 008358 beq le_sc_stat_receive_public_key ,le_sc_sm_receive_public_key 
+0x206c 008359 beq le_sc_stat_wait_send_public_key ,le_sc_sm_wait_send_public_key 
+0x206d 008360 beq le_sc_stat_send_public_key ,le_sc_sm_send_public_key 
+0x206e 008361 beq le_sc_stat_receive_dhkey ,le_sc_sm_receive_dhkey 
+0x206f 008362 beq le_sc_stat_wait_confirm_gkey ,le_sc_sm_wait_confirm_gkey 
+0x2070 008363 beq le_sc_stat_passkey_wait_confirm ,le_sc_sm_passkey_wait_confirm 
+0x2071 008364 rtn 
+:      008366 le_sc_state_clear:
+0x2072 008367 jam sp_flag_standby ,mem_le_secure_connect_flag 
+0x2073 008368 jam le_sc_stat_null ,mem_le_secure_connect_state 
+0x2074 008369 jam flag_le_sc_confrim_null ,mem_le_sc_confirm_gkey_flag 
+0x2075 008370 rtn 
+:      008372 le_sc_sm_passkey_wait_confirm:
+0x2076 008373 fetch 1 ,mem_authentication_passkey_times 
+0x2077 008374 copy pdata ,queue 
+0x2078 008375 increase 1 ,pdata 
+0x2079 008376 store 1 ,mem_authentication_passkey_times 
+0x207a 008377 fetch 4 ,mem_le_tk 
+0x207b 008378 qisolate1 pdata 
+0x207c 008379 setarg 0x80 
+0x207d 008380 setflag true ,0 ,pdata 
+0x207e 008381 store 1 ,mem_passkey_1bit 
+0x207f 008382 branch le_sc_sm_ready_send_pairing_confirm 
+:      008384 le_sc_sm_wait_confirm_gkey:
+0x2080 008385 fetch 1 ,mem_le_sc_confirm_gkey_flag 
+0x2081 008386 jam flag_le_sc_confrim_null ,mem_le_sc_confirm_gkey_flag 
+0x2082 008387 beq flag_le_sc_confrim_gkey_ok ,le_sc_confirm_gkey_ok 
+0x2083 008388 jam le_sp_flag_commit_256 ,mem_le_secure_connect_flag 
+0x2084 008389 rtn 
+:      008391 le_sc_confirm_gkey_ok:
+0x2085 008392 jam bt_evt_le_pairing_success ,mem_fifo_temp 
+0x2086 008393 call ui_ipc_send_event 
+0x2087 008394 jam flag_le_pairing_after_auth ,mem_le_pairing_state 
+0x2088 008395 branch le_send_smp_pairing_dhkey_check 
+:      008397 le_sc_sm_receive_dhkey:
+0x2089 008398 fetch 1 ,mem_sp_dhkey_invalid 
+0x208a 008399 beq sp_key_valid_256 ,le_dhkey_ready 
+0x208b 008400 jam le_sp_flag_commit_256 ,mem_le_secure_connect_flag 
+0x208c 008401 rtn 
+:      008403 le_dhkey_ready:
+0x208d 008404 call function_f5 
+0x208e 008405 fetch 1 ,mem_le_pairing_mode 
+0x208f 008406 beq le_pairing_mode_secure_connect_passkey ,le_dhkey_ready_common 
+0x2090 008407 beq le_pairing_mode_secure_connect_passkey_res_input ,le_dhkey_ready_common 
+0x2091 008408 call le_set_tk_0 
+:      008409 le_dhkey_ready_common:
+0x2092 008410 call function_f6_ea 
+0x2093 008411 arg mem_aes_cmac_temp ,rega 
+0x2094 008412 arg mem_sp_confirm_remote ,regb 
+0x2095 008413 arg 16 ,loopcnt 
+0x2096 008414 call string_compare 
+0x2097 008415 branch le_dhkey_check_ok ,zero 
+:      008416 le_dhkey_check_fail:
+0x2098 008417 jam pairing_failed_dhkey_check_failed ,mem_le_ll_pairing_fail_reason 
+0x2099 008418 branch le_send_pairing_failed 
+:      008421 le_dhkey_check_ok:
+0x209a 008422 call sp_calc_check_publickey_256 
+0x209b 008423 nbranch le_dhkey_check_fail ,zero 
+0x209c 008424 jam 1 ,mem_ltk_exists 
+0x209d 008425 fetch 1 ,mem_le_pairing_mode 
+0x209e 008426 beq le_pairing_mode_secure_connect_justwork ,le_sc_confirm_gkey_ok 
+0x209f 008427 beq le_pairing_mode_secure_connect_passkey ,le_sc_confirm_gkey_ok 
+0x20a0 008428 beq le_pairing_mode_secure_connect_passkey_res_input ,le_sc_confirm_gkey_ok 
+0x20a1 008429 jam le_sp_flag_commit_256 ,mem_le_secure_connect_flag 
+0x20a2 008430 jam le_sc_stat_wait_confirm_gkey ,mem_le_secure_connect_state 
+0x20a3 008431 rtn 
+:      008433 le_sc_sm_send_public_key:
+0x20a4 008434 fetch 1 ,mem_le_pairing_mode 
+0x20a5 008435 beq le_pairing_mode_secure_connect_passkey ,le_sc_sm_send_public_key_passkey 
+0x20a6 008436 beq le_pairing_mode_secure_connect_passkey_res_input ,le_sc_sm_send_public_key_passkey 
+0x20a7 008437 jam 0 ,mem_passkey_1bit 
+:      008438 le_sc_sm_ready_send_pairing_confirm:
+0x20a8 008439 branch le_send_smp_pairing_confirm 
+:      008441 le_sc_sm_send_public_key_passkey:
+0x20a9 008442 jam 0 ,mem_authentication_passkey_times 
+0x20aa 008443 rtneq le_pairing_mode_secure_connect_passkey_res_input 
+0x20ab 008444 branch le_parse_smp_pairing_req_passkey 
+:      008447 le_sc_sm_receive_public_key:
+0x20ac 008448 jam le_sp_flag_commit_256 ,mem_le_secure_connect_flag 
+0x20ad 008449 fetch 1 ,mem_sc_local_key_invalid 
+0x20ae 008450 beq sp_key_valid_256 ,le_public_key_ready 
+0x20af 008451 rtn 
+:      008453 le_public_key_ready:
+0x20b0 008454 jam le_sc_stat_wait_send_public_key ,mem_le_secure_connect_state 
+0x20b1 008455 jam sp_key_invalid ,mem_sp_dhkey_invalid 
+0x20b2 008456 branch sp_dhkey_calc_256 
+:      008458 le_sc_sm_wait_send_public_key:
+0x20b3 008459 jam le_sp_flag_commit_256 ,mem_le_secure_connect_flag 
+0x20b4 008460 jam le_sc_stat_send_public_key ,mem_le_secure_connect_state 
+0x20b5 008461 branch le_send_smp_pairing_public_key 
+:      008465 le_fifo_malloc_tx_l2cap_smp:
+0x20b6 008466 force le_l2cap_cid_smp ,regb 
+0x20b7 008467 branch le_fifo_malloc_tx_l2cap 
+:      008471 le_parse_ll:
+0x20b8 008472 fetch 1 ,mem_le_rxbuf_data_ll_opcode 
+0x20b9 008473 beq ll_connection_update_ind ,le_parse_connection_update_ind 
+0x20ba 008474 beq ll_channel_map_ind ,le_parse_channel_map_ind 
+0x20bb 008475 beq ll_terminate_ind ,le_parse_terminate_ind 
+0x20bc 008476 beq ll_enc_req ,le_parse_enc_req 
+0x20bd 008477 beq ll_enc_rsp ,le_parse_enc_rsp 
+0x20be 008478 beq ll_start_enc_req ,le_parse_start_enc_req 
+0x20bf 008479 beq ll_start_enc_rsp ,le_parse_start_enc_rsp 
+0x20c0 008480 beq ll_unknown_rsp ,le_parse_unknown_rsp 
+0x20c1 008481 beq ll_feature_req ,le_parse_feature_req 
+0x20c2 008482 beq ll_feature_rsp ,le_parse_feature_rsp 
+0x20c3 008483 beq ll_pause_enc_req ,le_parse_pause_enc_req 
+0x20c4 008484 beq ll_pause_enc_rsp ,le_parse_pause_enc_rsp 
+0x20c5 008485 beq ll_version_ind ,le_parse_version_ind 
+0x20c6 008486 beq ll_reject_ind ,le_parse_reject_ind 
+0x20c7 008487 beq ll_ping_req ,le_parse_ping_req 
+0x20c8 008488 beq ll_ping_rsp ,le_parse_ping_rsp 
+0x20c9 008489 beq ll_length_req ,le_parse_length_req 
+0x20ca 008490 beq ll_length_rsp ,le_parse_length_rsp 
+0x20cb 008491 beq ll_phy_req ,le_parse_phy_req 
+0x20cc 008492 beq ll_phy_update_ind ,le_parse_phy_update_ind 
+0x20cd 008493 fetchr regc ,1 ,mem_le_rxbuf_data_ll_opcode 
+0x20ce 008494 branch le_send_unknown_rsp 
+:      008498 le_parse_connection_update_ind:
+0x20cf 008499 ifetch 9 ,contr 
+0x20d0 008500 store 9 ,mem_le_new_param 
+0x20d1 008501 ifetch 2 ,contr 
+0x20d2 008502 store 2 ,mem_le_instant 
+0x20d3 008503 fetch 1 ,mem_le_state 
+0x20d4 008504 set1 lestate_update_param ,pdata 
+0x20d5 008505 store 1 ,mem_le_state 
+0x20d6 008506 rtn 
+:      008510 le_parse_channel_map_ind:
+0x20d7 008511 ifetch 5 ,contr 
+0x20d8 008512 store 5 ,mem_le_new_map 
+0x20d9 008513 ifetch 2 ,contr 
+0x20da 008514 store 2 ,mem_le_instant 
+:      008515 le_update_map_enable:
+0x20db 008516 fetch 1 ,mem_le_state 
+0x20dc 008517 set1 lestate_update_map ,pdata 
+0x20dd 008518 store 1 ,mem_le_state 
+0x20de 008519 rtn 
+:      008523 le_parse_terminate_ind:
+0x20df 008524 setarg 20 
+0x20e0 008525 store 2 ,mem_le_superto 
+0x20e1 008526 store 2 ,mem_le_init_superto 
+0x20e2 008527 rtn 
+:      008531 le_parse_enc_req:
+0x20e3 008532 ifetch 8 ,contr 
+0x20e4 008533 store 8 ,mem_le_rand 
+0x20e5 008534 ifetch 2 ,contr 
+0x20e6 008535 store 2 ,mem_le_ediv 
+0x20e7 008536 ifetch 8 ,contr 
+0x20e8 008537 store 8 ,mem_le_skdm 
+0x20e9 008538 ifetch 4 ,contr 
+0x20ea 008539 store 4 ,mem_ccm_ivm 
+0x20eb 008540 call le_send_enc_rsp 
+0x20ec 008541 bpatchx patch3b_3 ,mem_patch3b 
+0x20ed 008542 fetch 1 ,mem_le_pairing_state 
+0x20ee 008543 beq flag_le_pairing_after_auth ,le_parse_enc_req_after_auth 
+0x20ef 008544 fetch 1 ,mem_le_configuration 
+0x20f0 008545 bbit1 bit_ble_pairing_fixed_ltk ,le_parse_enc_req_fixed_ltk 
+0x20f1 008546 fetch 1 ,mem_nv_data_number 
+0x20f2 008547 ncall load_device_list_mode_4 ,blank 
+0x20f3 008548 fetch 1 ,mem_ltk_exists 
+0x20f4 008549 beq 0 ,le_ltk_lost 
+:      008550 le_parse_enc_req_after_auth:
+0x20f5 008551 jam flag_le_rcv_enc_start ,mem_le_enc_state 
+0x20f6 008552 call le_send_start_enc_req 
+0x20f7 008553 branch generate_sk 
+:      008554 le_parse_enc_req_fixed_ltk:
+0x20f8 008555 jam 1 ,mem_ltk_exists 
+0x20f9 008556 arg mem_le_fixed_ltk ,contr 
+0x20fa 008557 arg mem_le_ltk ,contw 
+0x20fb 008558 call memcpy16 
+0x20fc 008559 branch le_parse_enc_req_after_auth 
+:      008560 le_ltk_lost:
+0x20fd 008561 bpatchx patch3b_4 ,mem_patch3b 
+0x20fe 008562 jam flag_le_enc_null ,mem_le_enc_state 
+0x20ff 008563 jam flag_le_enc_null ,mem_le_pairing_state 
+0x2100 008564 jam bt_evt_le_ltk_lost ,mem_fifo_temp 
+0x2101 008565 branch ui_ipc_send_event 
+:      008568 le_parse_enc_rsp:
+0x2102 008569 ifetch 8 ,contr 
+0x2103 008570 store 8 ,mem_le_skds 
+0x2104 008571 ifetch 4 ,contr 
+0x2105 008572 store 4 ,mem_ccm_ivs 
+0x2106 008573 branch generate_sk 
+:      008577 le_parse_start_enc_req:
+0x2107 008578 fetch 1 ,mem_le_state 
+0x2108 008579 set1 lestate_encryption ,pdata 
+0x2109 008580 store 1 ,mem_le_state 
+0x210a 008581 rtn 
+:      008584 le_parse_start_enc_rsp:
+0x210b 008585 rtn master 
+0x210c 008586 jam bt_evt_le_start_enc ,mem_fifo_temp 
+0x210d 008587 call ui_ipc_send_event 
+0x210e 008588 jam flag_le_send_start_enc_rsp ,mem_le_enc_state 
+0x210f 008589 branch le_send_start_enc_rsp 
+:      008593 le_parse_unknown_rsp:
+0x2110 008594 rtn 
+:      008598 le_parse_feature_req:
+0x2111 008599 branch le_send_feature_rsp 
+:      008603 le_parse_feature_rsp:
+0x2112 008604 rtn 
+:      008608 le_parse_pause_enc_req:
+0x2113 008609 jam flag_le_enc_pause ,mem_le_enc_state 
+0x2114 008610 call le_send_pause_enc_rsp 
+0x2115 008611 jam bt_evt_le_pause_enc ,mem_fifo_temp 
+0x2116 008612 branch ui_ipc_send_event 
+:      008616 le_parse_pause_enc_rsp:
+0x2117 008617 rtn 
+:      008621 le_parse_version_ind:
+0x2118 008622 rtn master 
+0x2119 008623 branch le_send_version_ind 
+:      008627 le_parse_reject_ind:
+0x211a 008628 rtn 
+:      008632 le_parse_ping_req:
+0x211b 008633 branch le_send_ping_rsp 
+:      008637 le_parse_ping_rsp:
+0x211c 008638 rtn 
+:      008641 le_parse_length_req:
+0x211d 008642 call le_parse_length_rsp 
+0x211e 008643 branch le_send_data_length_res 
+:      008645 le_parse_length_rsp:
+0x211f 008646 ifetch 8 ,contr 
+0x2120 008647 store 8 ,mem_remote_rx_max_octets 
+0x2121 008648 fetch 2 ,mem_remote_rx_max_octets 
+0x2122 008649 fetcht 2 ,mem_local_tx_max_octets 
+0x2123 008650 call not_greater_than 
+0x2124 008651 store 2 ,mem_remote_rx_max_octets 
+0x2125 008653 fetch 2 ,mem_remote_tx_max_octets 
+0x2126 008654 fetcht 2 ,mem_local_rx_max_octets 
+0x2127 008655 call not_greater_than 
+0x2128 008656 store 2 ,mem_remote_tx_max_octets 
+0x2129 008657 rtn 
+:      008661 le_parse_phy_req:
+0x212a 008662 branch le_send_phy_rsp 
+:      008666 le_parse_phy_update_ind:
+0x212b 008667 ifetch 2 ,contr 
+0x212c 008668 store 2 ,mem_le_new_m2s_phy 
+0x212d 008669 ifetch 2 ,contr 
+0x212e 008670 store 2 ,mem_le_instant 
+0x212f 008671 rtn blank 
+0x2130 008672 fetch 1 ,mem_le_state 
+0x2131 008673 set1 lestate_update_phy ,pdata 
+0x2132 008674 store 1 ,mem_le_state 
+0x2133 008675 rtn 
+:      008680 le_send_terminate_ind_user_terminated:
+0x2134 008681 arg error_remote_user_terminated_connection ,regc 
+:      008684 le_send_terminate_ind:
+0x2135 008685 arg 2 ,rega 
+0x2136 008686 arg ll_terminate_ind ,regb 
+0x2137 008687 call le_fifo_malloc_tx_ll 
+0x2138 008688 copy regc ,pdata 
+0x2139 008689 istore 1 ,contw 
+0x213a 008690 rtn 
+:      008694 le_send_enc_rsp:
+0x213b 008695 arg mem_le_skds ,contw 
+0x213c 008696 force 8 ,loopcnt 
+0x213d 008697 call generate_random_loop 
+0x213e 008698 arg mem_ccm_ivs ,contw 
+0x213f 008699 force 4 ,loopcnt 
+0x2140 008700 call generate_random_loop 
+0x2141 008701 arg 13 ,rega 
+0x2142 008702 arg ll_enc_rsp ,regb 
+0x2143 008703 call le_fifo_malloc_tx_ll 
+0x2144 008704 fetch 8 ,mem_le_skds 
+0x2145 008705 istore 8 ,contw 
+0x2146 008706 fetch 4 ,mem_ccm_ivs 
+0x2147 008707 istore 4 ,contw 
+0x2148 008708 rtn 
+:      008712 le_send_start_enc_req:
+0x2149 008713 jam flag_le_send_start_enc_req ,mem_le_enc_state 
+0x214a 008714 arg ll_start_enc_req ,regb 
+0x214b 008715 branch le_send_ll_one_lenth 
+:      008719 le_send_start_enc_rsp:
+0x214c 008720 arg ll_start_enc_rsp ,regb 
+0x214d 008721 branch le_send_ll_one_lenth 
+:      008726 le_send_unknown_rsp:
+0x214e 008727 arg 2 ,rega 
+0x214f 008728 arg ll_unknown_rsp ,regb 
+0x2150 008729 call le_fifo_malloc_tx_ll 
+0x2151 008730 istorer regc ,1 ,contw 
+0x2152 008731 rtn 
+:      008735 le_send_feature_rsp:
+0x2153 008736 arg 9 ,rega 
+0x2154 008737 arg ll_feature_rsp ,regb 
+0x2155 008738 call le_fifo_malloc_tx_ll 
+0x2156 008739 fetch 8 ,mem_le_local_feature 
+0x2157 008740 or pdata ,fun_ll_feature_le_encryption ,pdata 
+0x2158 008741 istore 8 ,contw 
+0x2159 008742 rtn 
+:      008746 le_send_pause_enc_rsp:
+0x215a 008747 arg ll_pause_enc_rsp ,regb 
+0x215b 008748 branch le_send_ll_one_lenth 
+:      008752 le_send_version_ind:
+0x215c 008753 arg 6 ,rega 
+0x215d 008754 arg ll_version_ind ,regb 
+0x215e 008755 call le_fifo_malloc_tx_ll 
+0x215f 008756 fetch 5 ,mem_lmp_version 
+0x2160 008757 istore 5 ,contw 
+0x2161 008758 rtn 
+:      008761 le_send_reject_ind:
+0x2162 008762 arg 2 ,rega 
+0x2163 008763 arg ll_reject_ind ,regb 
+0x2164 008764 call le_fifo_malloc_tx_ll 
+0x2165 008765 setarg le_err_pin_or_key_missing 
+0x2166 008766 istore 1 ,contw 
+0x2167 008767 rtn 
+:      008771 le_send_ping_rsp:
+0x2168 008772 arg ll_ping_rsp ,regb 
+0x2169 008773 branch le_send_ll_one_lenth 
+:      008775 le_send_data_length_req:
+0x216a 008776 arg ll_length_req ,regb 
+0x216b 008777 branch le_send_data_length 
+:      008779 le_send_data_length_res:
+0x216c 008780 arg ll_length_rsp ,regb 
+:      008781 le_send_data_length:
+0x216d 008782 arg 9 ,rega 
+0x216e 008783 call le_fifo_malloc_tx_ll 
+0x216f 008784 fetch 8 ,mem_local_rx_max_octets 
+0x2170 008785 istore 8 ,contw 
+0x2171 008786 rtn 
+:      008790 le_send_phy_rsp:
+0x2172 008791 arg 3 ,rega 
+0x2173 008792 arg ll_phy_rsp ,regb 
+0x2174 008793 call le_fifo_malloc_tx_ll 
+0x2175 008794 fetch 1 ,mem_le_tx_phys 
+0x2176 008795 and pdata ,0x07 ,pdata 
+0x2177 008796 istore 1 ,contw 
+0x2178 008797 fetch 1 ,mem_le_rx_phys 
+0x2179 008798 and pdata ,0x07 ,pdata 
+0x217a 008799 istore 1 ,contw 
+0x217b 008800 rtn 
+:      008804 le_send_ll_one_lenth:
+0x217c 008805 arg 1 ,rega 
+0x217d 008806 branch le_fifo_malloc_tx_ll 
+:      008811 g24_dispatch:
+0x217e 008812 bpatchx patch3b_5 ,mem_patch3b 
+0x217f 008813 bmark1 mark_24g_rxmode ,g24_receive_dispatch 
+0x2180 008814 branch g24_transmit_dispatch 
+:      008819 g24_prep:
+0x2181 008820 disable enable_crc 
+0x2182 008821 disable enable_white 
+0x2183 008822 setarg 0x555555 
+0x2184 008823 iforce crc24_init 
+0x2185 008824 fetch 1 ,mem_24g_ch 
+0x2186 008825 branch le_prep + 5 
+:      008827 g24_receive_packet:
+0x2187 008828 bpatchx patch3b_6 ,mem_patch3b 
+0x2188 008829 fetch 1 ,mem_24g_rx_phy 
+0x2189 008830 call le_enable_phy_by_pdata 
+0x218a 008831 fetch 4 ,mem_24g_addr 
+0x218b 008832 iforce access 
+0x218c 008833 call calc_mod_value_scale_le 
+0x218d 008834 call set_sync_on 
+0x218e 008835 fetcht 1 ,mem_24g_ch 
+0x218f 008836 call le_rf_rx_enable 
+:      008837 g24_receive_rxon:
+0x2190 008838 call g24_prep 
+0x2191 008839 bmark0 mark_ble_lr ,g24_receive_nolr 
+0x2192 008840 pulse dewhiten_code_calc 
+0x2193 008841 nop 30 
+0x2194 008842 call g24_prep 
+:      008843 g24_receive_nolr:
+0x2195 008844 disable user3 
+0x2196 008845 enable decode_fec0 
+0x2197 008846 enable is_rx 
+0x2198 008847 disable is_tx 
+0x2199 008848 enable swfine 
+0x219a 008849 fetch 2 ,mem_24g_rx_window 
+0x219b 008850 iforce stop_watch 
+0x219c 008851 correlate null ,timeout 
+0x219d 008852 nbranch g24_sync_timeout ,sync 
+0x219e 008853 call rf_debug_rx_sync_line 
+0x219f 008854 bmark1 mark_ble_lr ,g24_receive_skip_fec1 
+0x21a0 008855 fetch 1 ,mem_24g_disable_fec1 
+0x21a1 008856 nbranch g24_receive_skip_fec1 ,blank 
+0x21a2 008857 disable decode_fec0 
+0x21a3 008858 enable decode_fec1 
+:      008859 g24_receive_skip_fec1:
+0x21a4 008860 enable enable_white 
+0x21a5 008861 enable enable_crc 
+0x21a6 008862 call g24_receive_byte 
+0x21a7 008863 store 1 ,mem_24g_get_syncword_crc8 
+0x21a8 008864 fetcht 1 ,mem_24g_syncword_crc8 
+0x21a9 008865 isub temp ,null 
+0x21aa 008866 nbranch g24_end_of_packet ,zero 
+0x21ab 008867 bpatchx patch3b_7 ,mem_patch3b 
+0x21ac 008868 disable user7 
+0x21ad 008869 isolate1 mark_ble_lr ,mark 
+0x21ae 008870 call g24_lr_receive_pdu_len ,true 
+0x21af 008871 branch g24_end_of_packet ,user7 
+0x21b0 008872 call g24_receive_byte 
+0x21b1 008873 store 1 ,mem_24g_rxbuf 
+0x21b2 008874 bmark1 mark_24g_rxmode ,g24_receive_skip 
+0x21b3 008875 fetch 1 ,mem_24g_rxbuf 
+0x21b4 008876 fetcht 1 ,mem_24g_data_type 
+0x21b5 008877 icompare bits_data ,temp 
+0x21b6 008878 nbranch g24_end_of_packet ,true 
+:      008879 g24_receive_skip:
+0x21b7 008880 call g24_receive_byte 
+0x21b8 008881 isolate1 mark_ble_lr ,mark 
+0x21b9 008882 call g24_lr_receive_payload_len ,true 
+0x21ba 008883 istore 1 ,contw 
+0x21bb 008884 rshift3 pdata ,pdata 
+0x21bc 008885 sub pdata ,0x1f ,null 
+0x21bd 008886 nbranch g24_end_of_packet ,positive 
+0x21be 008887 copy pdata ,loopcnt 
+0x21bf 008888 branch g24rx_nopayload ,zero 
+:      008889 g24rx_loop:
+0x21c0 008890 call g24_receive_byte 
+0x21c1 008891 istore 1 ,contw 
+0x21c2 008892 loop g24rx_loop 
+:      008893 g24rx_nopayload:
+0x21c3 008894 bmark1 mark_24g_rxmode ,g24_receive_skip_rssi 
+0x21c4 008895 copy contw ,rega 
+0x21c5 008896 call g24_receive_byte 
+0x21c6 008897 store 1 ,mem_rssi_hex_received 
+0x21c7 008898 copy rega ,contw 
+:      008899 g24_receive_skip_rssi:
+0x21c8 008900 parse demod ,bucket ,24 
+0x21c9 008901 rshift32 pdata ,pdata 
+0x21ca 008902 rshift16 pdata ,pdata 
+0x21cb 008903 istore 3 ,contw 
+0x21cc 008904 fetch 1 ,mem_24g_disable_fec1 
+0x21cd 008905 nbranch g24_receive_skip_disable_fec1 ,blank 
+0x21ce 008906 disable decode_fec1 
+:      008907 g24_receive_skip_next:
+0x21cf 008908 isolate1 mark_24g_rxmode ,mark 
+0x21d0 008909 call save_rssi_dec ,true 
+0x21d1 008910 branch g24_end_of_packet ,crc_failed 
+0x21d2 008911 call rf_debug_rx_crc_line 
+0x21d3 008912 enable user3 
+0x21d4 008913 call le_match_set_txfreq 
+0x21d5 008914 bpatchx patch3c_0 ,mem_patch3c 
+0x21d6 008915 rtnmark1 mark_24g_rxmode 
+0x21d7 008916 fetch 1 ,mem_rssi_hex_received 
+0x21d8 008917 fetcht 1 ,mem_rssi_hex_received_max_value 
+0x21d9 008918 isub temp ,null 
+0x21da 008919 call copy_temp2pdata ,positive 
+0x21db 008920 branch rssi_signal 
+:      008922 g24_receive_skip_disable_fec1:
+0x21dc 008923 disable decode_fec0 
+0x21dd 008924 branch g24_receive_skip_next 
+:      008927 g24_lr_receive_pdu_len:
+0x21de 008928 call g24_receive_byte 
+0x21df 008929 sub pdata ,1 ,null 
+0x21e0 008930 branch enable_user7 ,positive 
+0x21e1 008931 increase -2 ,pdata 
+0x21e2 008932 bmark1 mark_24g_rxmode ,g24_lr_receive_pdu_norssi 
+0x21e3 008933 branch enable_user7 ,blank 
+0x21e4 008934 increase -1 ,pdata 
+:      008935 g24_lr_receive_pdu_norssi:
+0x21e5 008936 store 1 ,mem_temp 
+0x21e6 008937 rtn 
+:      008939 g24_lr_receive_payload_len:
+0x21e7 008940 and_into 0x07 ,pdata 
+0x21e8 008941 fetcht 1 ,mem_temp 
+0x21e9 008942 lshift3 temp ,temp 
+0x21ea 008943 ior temp ,pdata 
+0x21eb 008944 rtn 
+:      008946 g24_receive_byte:
+0x21ec 008947 parse demod ,bucket ,8 
+0x21ed 008948 rshift3 pwindow ,pdata 
+0x21ee 008949 rtn 
+:      008951 g24_sync_timeout:
+0x21ef 008952 isolate1 mark_24g_rxmode ,mark 
+0x21f0 008953 call rssi_noise ,true 
+:      008954 g24_end_of_packet:
+0x21f1 008955 call le_disable 
+0x21f2 008956 disable encode_fec1 
+0x21f3 008957 disable decode_fec1 
+0x21f4 008958 branch end_of_packet 
+:      008960 g24_set_freq_tx:
+0x21f5 008961 call set_sync_on 
+0x21f6 008962 fetcht 1 ,mem_24g_ch 
+0x21f7 008963 branch set_freq_tx 
+:      008965 g24_transmit:
+0x21f8 008966 bpatchx patch3c_1 ,mem_patch3c 
+0x21f9 008967 fetch 1 ,mem_24g_tx_phy 
+0x21fa 008968 call le_enable_phy_by_pdata 
+0x21fb 008969 fetch 4 ,mem_24g_addr 
+0x21fc 008970 iforce access 
+0x21fd 008971 call g24_prep 
+0x21fe 008972 call g24_set_freq_tx 
+0x21ff 008973 set1 txgfsk ,radio_ctrl 
+0x2200 008974 enable encode_fec0 
+0x2201 008975 enable is_tx 
+0x2202 008976 disable is_rx 
+0x2203 008977 call rf_debug_tx_on_line 
+0x2204 008978 disable lr_s2en 
+0x2205 008979 bmark1 mark_ble_lr ,g24_transmit_lr 
+0x2206 008980 bmark1 mark_ble_2m ,g24_transmit_2m 
+0x2207 008981 rshift16 access ,pdata 
+0x2208 008982 rshift8 pdata ,pdata 
+0x2209 008983 rshift4 pdata ,pdata 
+0x220a 008984 inject mod ,40 
+:      008985 g24_transmit_packet:
+0x220b 008986 bmark1 mark_ble_lr ,g24_transmit_nolr 
+0x220c 008987 fetch 1 ,mem_24g_disable_fec1 
+0x220d 008988 nbranch g24_transmit_nolr ,blank 
+0x220e 008989 disable encode_fec0 
+0x220f 008990 enable encode_fec1 
+:      008991 g24_transmit_nolr:
+0x2210 008992 enable enable_white 
+0x2211 008993 enable enable_crc 
+0x2212 008994 fetch 1 ,mem_24g_txlen 
+0x2213 008995 iforce loopcnt 
+0x2214 008996 arg mem_24g_txpayload ,contr 
+:      008997 g24tr_loop:
+0x2215 008998 ifetch 1 ,contr 
+0x2216 008999 inject mod ,8 
+0x2217 009000 loop g24tr_loop 
+0x2218 009001 enable enable_parity 
+0x2219 009002 inject mod ,24 
+0x221a 009003 disable enable_parity 
+0x221b 009004 bmark0 mark_ble_lr ,g24_transmit_skip 
+0x221c 009005 disable enable_white 
+0x221d 009006 setarg 0 
+0x221e 009007 inject mod ,3 
+:      009008 g24_transmit_skip:
+0x221f 009009 until null ,tx_clear 
+0x2220 009010 nop 100 
+0x2221 009011 disable lr_s2en 
+0x2222 009012 disable encode_fec0 
+0x2223 009013 fetch 1 ,mem_24g_disable_fec1 
+0x2224 009014 nbranch g24_transmit_skip_disable_fec1 ,blank 
+0x2225 009015 disable encode_fec1 
+:      009016 g24_transmit_skip_disable_fec1:
+0x2226 009017 disable encode_fec3 
+0x2227 009018 call set_sync_on 
+0x2228 009019 branch rf_debug_tx_off_line 
+:      009021 g24_transmit_lr:
+0x2229 009022 arg 10 ,loopcnt 
+:      009023 g24_transmit_lr_preamble_loop:
+0x222a 009024 setarg 0x3c 
+0x222b 009025 inject mod ,8 
+0x222c 009026 loop g24_transmit_lr_preamble_loop 
+0x222d 009027 disable encode_fec0 
+0x222e 009028 enable encode_fec3 
+0x222f 009029 rshift16 access ,pdata 
+0x2230 009030 rshift16 pdata ,pdata 
+0x2231 009031 rshift4 pdata ,pdata 
+0x2232 009032 inject mod ,32 
+0x2233 009033 bmark1 mark_ble_lr_s8 ,g24_transmit_lr_s8 
+:      009034 g24_transmit_lr_s2:
+0x2234 009035 setarg 1 
+0x2235 009036 inject mod ,5 
+0x2236 009037 enable lr_s2en 
+0x2237 009038 branch g24_transmit_packet 
+:      009040 g24_transmit_lr_s8:
+0x2238 009041 setarg 0 
+0x2239 009042 inject mod ,5 
+0x223a 009043 branch g24_transmit_packet 
+:      009045 g24_transmit_2m:
+0x223b 009046 fetch 1 ,mem_system_clk 
+0x223c 009047 rshift pdata ,loopcnt 
+:      009048 g24_transmit_2m_dealy:
+0x223d 009049 nop 2 
+0x223e 009050 loop g24_transmit_2m_dealy 
+0x223f 009052 rshift16 access ,pdata 
+0x2240 009053 rshift8 pdata ,pdata 
+0x2241 009054 rshift4 pdata ,temp 
+0x2242 009055 copy temp ,pdata 
+0x2243 009056 inject mod ,8 
+0x2244 009057 copy temp ,pdata 
+0x2245 009058 inject mod ,40 
+0x2246 009059 branch g24_transmit_packet 
+:      009067 g24_transmit_prep:
+0x2247 009068 fetch 1 ,mem_24g_tx_phy 
+0x2248 009069 bbit1 bit_le_coded_phy ,g24_lr_transmit_prep 
+0x2249 009071 fetch 1 ,mem_24g_datalen 
+0x224a 009072 increase 3 ,pdata 
+0x224b 009073 store 1 ,mem_24g_txlen 
+0x224c 009075 fetch 1 ,mem_24g_syncword_crc8 
+0x224d 009076 store 1 ,mem_24g_txpayload 
+0x224e 009078 fetch 1 ,mem_24g_data_type 
+0x224f 009079 istore 1 ,contw 
+0x2250 009081 fetch 1 ,mem_24g_datalen 
+:      009082 g24_transmit_prep_pdu:
+0x2251 009083 lshift3 pdata ,pdata 
+0x2252 009084 fetcht 1 ,mem_24g_pid 
+0x2253 009085 and temp ,0x03 ,temp 
+0x2254 009086 lshift temp ,temp 
+0x2255 009087 ior temp ,pdata 
+0x2256 009088 fetcht 1 ,mem_24g_no_ack 
+0x2257 009089 iadd temp ,pdata 
+0x2258 009090 istore 1 ,contw 
+0x2259 009092 fetch 1 ,mem_24g_datalen 
+0x225a 009093 iforce loopcnt 
+0x225b 009094 arg mem_24g_txbuf ,contr 
+0x225c 009095 call memcpy 
+0x225d 009097 rtnmark0 mark_24g_rxmode 
+0x225e 009098 fetch 1 ,mem_rssi_hex 
+0x225f 009099 istore 1 ,contw 
+0x2260 009100 fetch 1 ,mem_24g_tx_phy 
+0x2261 009101 rtnbit1 bit_le_coded_phy 
+0x2262 009102 fetch 1 ,mem_24g_txlen 
+0x2263 009103 increase 1 ,pdata 
+0x2264 009104 store 1 ,mem_24g_txlen 
+0x2265 009105 rtn 
+:      009107 g24_lr_transmit_prep:
+0x2266 009109 fetch 1 ,mem_24g_datalen 
+0x2267 009110 increase 4 ,pdata 
+0x2268 009111 bmark0 mark_24g_rxmode ,g24_lr_transmit_prep_skip 
+0x2269 009112 increase 1 ,pdata 
+:      009113 g24_lr_transmit_prep_skip:
+0x226a 009114 store 1 ,mem_24g_txlen 
+0x226b 009116 fetch 1 ,mem_24g_syncword_crc8 
+0x226c 009117 store 1 ,mem_24g_txpayload 
+0x226d 009119 fetch 1 ,mem_24g_txlen 
+0x226e 009120 increase -2 ,pdata 
+0x226f 009121 istore 1 ,contw 
+0x2270 009123 fetch 1 ,mem_24g_data_type 
+0x2271 009124 istore 1 ,contw 
+0x2272 009125 setarg 0 
+0x2273 009126 branch g24_transmit_prep_pdu 
+:      009128 g24_read_len_pid_crc:
+0x2274 009130 fetch 1 ,mem_24g_rxbuf + 1 
+0x2275 009131 rshift3 pdata ,pdata 
+0x2276 009132 store 1 ,mem_24g_rxdata_length 
+0x2277 009134 increase 1 ,pdata 
+0x2278 009135 arg mem_24g_rxbuf + 1 ,contr 
+0x2279 009136 iadd contr ,contr 
+0x227a 009137 ifetch 3 ,contr 
+0x227b 009138 store 3 ,mem_24g_sta_crc 
+0x227c 009140 fetch 1 ,mem_24g_rxbuf + 1 
+0x227d 009141 rshift pdata ,pdata 
+0x227e 009142 and pdata ,0x03 ,pdata 
+0x227f 009143 store 1 ,mem_24g_sta_pid 
+0x2280 009144 rtn 
+:      009147 g24_ch:
+0x2281 009148 fetcht 1 ,mem_24g_current_ch_number 
+0x2282 009149 call g24_ch_map_size 
+0x2283 009150 storet 1 ,mem_24g_current_ch_number 
+0x2284 009151 rtn 
+:      009153 g24_ch_map_size:
+0x2285 009154 call g24_ch_calc 
+0x2286 009155 increase 1 ,temp 
+0x2287 009156 and_into 3 ,temp 
+0x2288 009157 rtn 
+:      009159 g24_ch_calc:
+0x2289 009160 fetch 1 ,mem_24g_addr 
+0x228a 009161 and_into 0x03 ,pdata 
+0x228b 009162 mul32 pdata ,4 ,rega 
+0x228c 009163 setarg mem_24g_ch_map1 
+0x228d 009164 iadd rega ,pdata 
+0x228e 009165 iadd temp ,contr 
+0x228f 009166 ifetch 1 ,contr 
+0x2290 009167 store 1 ,mem_24g_ch 
+0x2291 009168 rtn 
+:      009171 g24_update_addr_and_synccrc8:
+0x2292 009172 store 4 ,mem_24g_addr 
+:      009174 g24_syncword_crc8:
+0x2293 009175 arg 0 ,rega 
+0x2294 009176 arg 4 ,loopcnt 
+0x2295 009177 arg mem_24g_addr ,contr 
+:      009178 g24_syncword_crc8_loop:
+0x2296 009179 ifetch 1 ,contr 
+0x2297 009180 iadd rega ,rega 
+0x2298 009181 loop g24_syncword_crc8_loop 
+0x2299 009182 copy rega ,pdata 
+0x229a 009183 store 2 ,mem_24g_syncword 
+0x229b 009184 fetch 1 ,mem_24g_syncword 
+0x229c 009185 fetcht 1 ,mem_24g_syncword + 1 
+0x229d 009186 iadd temp ,pdata 
+0x229e 009187 store 1 ,mem_24g_syncword_crc8 
+0x229f 009188 rtn 
+:      009191 g24_timer_check:
+0x22a0 009192 call disable_user 
+0x22a1 009193 fetcht 4 ,mem_24g_tx_btclk 
+0x22a2 009194 copy clkn_bt ,pdata 
+0x22a3 009195 isub temp ,null 
+0x22a4 009196 ncall g24_timer_timeout ,positive 
+0x22a5 009197 copy pdata ,regb 
+0x22a6 009198 fetch 4 ,mem_24g_tx_btclk 
+0x22a7 009199 fetcht 1 ,mem_24g_interval 
+0x22a8 009200 iadd temp ,temp 
+0x22a9 009201 copy regb ,pdata 
+0x22aa 009202 isub temp ,null 
+0x22ab 009203 nrtn positive 
+0x22ac 009204 set0 28 ,pdata 
+0x22ad 009205 store 4 ,mem_24g_tx_btclk 
+0x22ae 009206 branch enable_user 
+:      009207 g24_timer_timeout:
+0x22af 009208 rtn zero 
+0x22b0 009209 set1 28 ,pdata 
+0x22b1 009210 rtn 
+:      009211 g24_timer_init:
+0x22b2 009212 setarg 0 
+0x22b3 009213 store 4 ,mem_24g_tx_btclk 
+0x22b4 009214 rtn 
+:      009222 g24_chmap_param_init:
+0x22b5 009223 setsect 0 ,0x1300 
+0x22b6 009224 setsect 1 ,0x1908b 
+0x22b7 009225 setsect 2 ,0x36150 
+0x22b8 009226 setsect 3 ,0x3d20 
+0x22b9 009227 store 9 ,mem_24g_ch_map1 
+0x22ba 009228 setsect 0 ,0x3a1a 
+0x22bb 009229 setsect 1 ,0xc453 
+0x22bc 009230 setsect 2 ,0xd312 
+0x22bd 009231 setsect 3 ,0x1 
+0x22be 009232 istore 7 ,contw 
+0x22bf 009233 fetch 1 ,mem_24g_ch_map_update 
+0x22c0 009234 rtn blank 
+0x22c1 009235 arg mem_24g_ch_update_map1 ,contr 
+0x22c2 009236 arg mem_24g_ch_map1 ,contw 
+0x22c3 009237 branch memcpy16 
+:      009245 g24_chamap_param_update:
+0x22c4 009246 setarg 0x4e001e 
+0x22c5 009247 store 3 ,mem_24g_ch_update_map1 + 1 
+0x22c6 009248 setarg 0x032303 
+0x22c7 009249 istore 3 ,contw 
+0x22c8 009250 setarg 0x250642 
+0x22c9 009251 istore 3 ,contw 
+0x22ca 009252 setarg 0x094c06 
+0x22cb 009253 istore 3 ,contw 
+0x22cc 009254 setarg 0x3c0927 
+0x22cd 009255 istore 3 ,contw 
+0x22ce 009256 jam 1 ,mem_24g_ch_map_update 
+0x22cf 009257 rtn 
+:      009260 g24_rx_window_init:
+0x22d0 009261 arg 0x6978 ,temp 
+0x22d1 009262 bmark1 mark_24g_rxmode ,g24_rx_window_store 
+0x22d2 009263 arg 0x12c0 ,temp 
+0x22d3 009264 fetch 1 ,mem_24g_rx_phy 
+0x22d4 009265 bbit0 2 ,g24_rx_window_store 
+0x22d5 009266 arg 0x2ee0 ,temp 
+:      009267 g24_rx_window_store:
+0x22d6 009268 storet 2 ,mem_24g_rx_window 
+0x22d7 009269 rtn 
+:      009271 g24_enable_1m:
+0x22d8 009272 jam 0x01 ,mem_24g_rx_phy 
+0x22d9 009273 jam 0x01 ,mem_24g_tx_phy 
+0x22da 009274 rtn 
+:      009303 g24_pair_param_init:
+0x22db 009304 jam 0x4e ,mem_24g_pair_ch 
+0x22dc 009305 setarg 0x101520 
+0x22dd 009306 store 3 ,mem_24g_pair_addr 
+0x22de 009307 setarg 0x05 
+0x22df 009308 istore 1 ,contw 
+0x22e0 009309 rtn 
+:      009315 g24_pair_timeout_timer:
+0x22e1 009316 arg mem_24g_pair_timeout ,regc 
+0x22e2 009317 arg g24_stop_24g_mode ,regb 
+0x22e3 009318 branch timer_single_step_2b 
+:      009320 g24_pair_start:
+0x22e4 009321 set1 mark_24g ,mark 
+0x22e5 009322 fetch 1 ,mem_24g_conn_sm 
+0x22e6 009323 set0 state_24g_reconn ,pdata 
+0x22e7 009324 set1 state_24g_pair ,pdata 
+0x22e8 009325 store 1 ,mem_24g_conn_sm 
+0x22e9 009326 setarg 0 
+0x22ea 009327 store 2 ,mem_24g_reconn_timeout 
+0x22eb 009328 fetch 2 ,mem_24g_pair_timeout_init 
+0x22ec 009329 store 2 ,mem_24g_pair_timeout 
+0x22ed 009330 jam 0 ,mem_24g_pair_no_ack 
+0x22ee 009331 call g24_pair_sm_reinit 
+:      009332 g24_pair_init_param:
+0x22ef 009333 jam 0 ,mem_24g_pid 
+0x22f0 009334 fetch 1 ,mem_24g_pair_ch 
+0x22f1 009335 store 1 ,mem_24g_ch 
+0x22f2 009336 fetch 1 ,mem_24g_pair_tx_power 
+0x22f3 009337 store 1 ,mem_tx_power 
+0x22f4 009338 fetch 4 ,mem_24g_pair_addr 
+0x22f5 009339 branch g24_update_addr_and_synccrc8 
+:      009342 g24_pair_dispatch:
+0x22f6 009343 bpatchx patch3c_2 ,mem_patch3c 
+0x22f7 009344 fetch 1 ,mem_24g_pair_sm 
+0x22f8 009345 beq state_24g_pairing_success ,g24_pair_exit 
+0x22f9 009346 beq state_24g_pairing_1 ,g24_pair_sm_1 
+0x22fa 009347 beq state_24g_pairing_2 ,g24_pair_sm_2 
+0x22fb 009348 beq state_24g_pairing_3 ,g24_pair_sm_3 
+0x22fc 009349 beq state_24g_pairing_4 ,g24_pair_sm_4 
+0x22fd 009350 rtn 
+:      009352 g24_pair_sm_1:
+0x22fe 009353 jam datatype_attemp ,mem_24g_txbuf 
+0x22ff 009354 branch g24_pair_sm_prep 
+:      009356 g24_pair_sm_2:
+0x2300 009357 fetch 1 ,mem_24g_pair_switch 
+0x2301 009358 branch g24_pair_sm_2_skip ,blank 
+0x2302 009359 fetch 4 ,mem_24g_device_addr 
+0x2303 009360 call g24_update_addr_and_synccrc8 
+:      009361 g24_pair_sm_2_skip:
+0x2304 009362 jam datatype_bind ,mem_24g_txbuf 
+0x2305 009363 branch g24_pair_sm_prep 
+:      009365 g24_pair_sm_3:
+0x2306 009366 jam datatype_config ,mem_24g_txbuf 
+0x2307 009367 fetch 1 ,mem_24g_pair_switch 
+0x2308 009368 branch g24_pair_sm_prep ,blank 
+0x2309 009369 fetch 4 ,mem_24g_receiver_addr 
+0x230a 009370 store 4 ,mem_24g_txbuf + 2 
+0x230b 009371 branch g24_pair_sm_common 
+:      009373 g24_pair_sm_4:
+0x230c 009374 jam datatype_ok ,mem_24g_txbuf 
+:      009375 g24_pair_sm_prep:
+0x230d 009376 fetch 4 ,mem_24g_device_addr 
+0x230e 009377 store 4 ,mem_24g_txbuf + 2 
+:      009378 g24_pair_sm_common:
+0x230f 009379 fetch 1 ,mem_24g_data_type 
+0x2310 009380 and_into bits_data ,pdata 
+0x2311 009381 store 1 ,mem_24g_txbuf + 1 
+0x2312 009382 jam 0 ,mem_24g_txbuf + 6 
+0x2313 009383 jam 7 ,mem_24g_datalen 
+0x2314 009384 call g24_transmit_prep 
+0x2315 009385 call g24_transmit_receive_ack 
+0x2316 009386 nrtn sync 
+0x2317 009387 nrtn user3 
+0x2318 009388 call g24_txbuf_clear 
+0x2319 009389 call g24_ackpayload_parse 
+0x231a 009390 bpatchx patch3c_3 ,mem_patch3c 
+0x231b 009391 fetch 1 ,mem_24g_pair_sm 
+0x231c 009392 rtneq state_24g_pairing_success 
+0x231d 009393 beq state_24g_pairing_1 ,g24_pair_sm_1_waiting_ack 
+0x231e 009394 beq state_24g_pairing_2 ,g24_pair_sm_2_waiting_ack 
+0x231f 009395 beq state_24g_pairing_3 ,g24_pair_sm_3_waiting_ack 
+0x2320 009396 beq state_24g_pairing_4 ,g24_pair_sm_4_waiting_ack 
+0x2321 009397 rtn 
+:      009399 g24_pair_sm_reinit:
+0x2322 009400 jam state_24g_pairing_2 ,mem_24g_pair_sm 
+0x2323 009401 fetch 1 ,mem_24g_pair_switch 
+0x2324 009402 rtn blank 
+0x2325 009403 jam state_24g_pairing_1 ,mem_24g_pair_sm 
+0x2326 009404 rtn 
+:      009406 g24_pair_sm_1_waiting_ack:
+0x2327 009407 jam state_24g_pairing_2 ,mem_24g_pair_sm 
+0x2328 009408 branch g24_transmit_abandon 
+:      009410 g24_pair_sm_2_waiting_ack:
+0x2329 009411 fetch 1 ,mem_24g_pair_switch 
+0x232a 009412 branch g24_pair_sm_2_waiting_ack_skip ,blank 
+0x232b 009413 fetch 4 ,mem_24g_rxpayload + 2 
+0x232c 009414 store 4 ,mem_24g_receiver_addr 
+:      009415 g24_pair_sm_2_waiting_ack_skip:
+0x232d 009416 jam state_24g_pairing_3 ,mem_24g_pair_sm 
+0x232e 009417 branch g24_transmit_abandon 
+:      009419 g24_pair_sm_3_waiting_ack:
+0x232f 009420 fetch 1 ,mem_24g_pair_switch 
+0x2330 009421 branch g24_pair_sm_3_waiting_ack_skip ,blank 
+0x2331 009422 fetch 4 ,mem_24g_rxpayload + 2 
+0x2332 009423 fetcht 4 ,mem_24g_device_addr 
+0x2333 009424 isub temp ,null 
+0x2334 009425 nrtn zero 
+:      009426 g24_pair_sm_3_waiting_ack_skip:
+0x2335 009427 jam state_24g_pairing_4 ,mem_24g_pair_sm 
+0x2336 009428 branch g24_transmit_abandon 
+:      009430 g24_pair_sm_4_waiting_ack:
+0x2337 009431 fetch 1 ,mem_24g_pair_switch 
+0x2338 009432 branch g24_pair_sm_4_waiting_ack_skip ,blank 
+0x2339 009433 fetch 4 ,mem_24g_rxpayload + 2 
+0x233a 009434 fetcht 4 ,mem_24g_receiver_addr 
+0x233b 009435 isub temp ,null 
+0x233c 009436 nrtn zero 
+:      009437 g24_pair_sm_4_waiting_ack_skip:
+0x233d 009438 jam state_24g_pairing_success ,mem_24g_pair_sm 
+0x233e 009439 jam bt_evt_24g_pairing_complete ,mem_fifo_temp 
+0x233f 009440 call ui_ipc_send_event 
+0x2340 009441 setarg 0 
+0x2341 009442 store 2 ,mem_24g_pair_timeout 
+0x2342 009443 fetch 4 ,mem_24g_rxpayload + 2 
+0x2343 009444 call g24_update_addr_and_synccrc8 
+:      009445 g24_pair_exit:
+0x2344 009446 fetch 1 ,mem_24g_conn_sm 
+0x2345 009447 set0 state_24g_pair ,pdata 
+0x2346 009448 store 1 ,mem_24g_conn_sm 
+0x2347 009449 branch g24_transmit_abandon 
+:      009475 g24_bind_mode_enable:
+0x2348 009476 jam dongle_bind ,mem_24g_work_mode 
+0x2349 009477 jam clear_init ,mem_24g_mode_init 
+0x234a 009478 rtn 
+:      009480 g24_bind_init:
+0x234b 009481 fetch 1 ,mem_24g_mode_init 
+0x234c 009482 rtnbit1 dongle_bind 
+0x234d 009483 set1 dongle_bind ,pdata 
+0x234e 009484 store 1 ,mem_24g_mode_init 
+0x234f 009485 setarg 0 
+0x2350 009486 store 3 ,mem_24g_device1_bind_step 
+0x2351 009487 store 4 ,mem_24g_transmitter_addr 
+0x2352 009488 jam 1 ,mem_24g_ackpayload_enable 
+0x2353 009489 branch g24_pair_init_param 
+:      009492 g24_bind_ackpayload_prep:
+0x2354 009493 jam 1 ,mem_24g_ackpayload_enable 
+0x2355 009494 jam 0x08 ,mem_24g_datalen 
+0x2356 009495 arg mem_24g_bind_payload ,contr 
+0x2357 009496 arg mem_24g_txbuf ,contw 
+0x2358 009497 branch memcpy8 
+:      009500 g24_bind_data_process:
+0x2359 009501 call g24_rx_interrupt_clear 
+0x235a 009502 call g24_receive_packet 
+0x235b 009503 nbranch g24_rx_interrupt_clear ,user3 
+0x235c 009504 call g24_bind_data_parse 
+0x235d 009505 call g24_transmit_ack 
+0x235e 009506 call g24_bind_device_status_check 
+0x235f 009507 call dongle_kb_bind_soft_reset 
+0x2360 009508 fetch 1 ,mem_24g_pair_switch 
+0x2361 009509 rtn blank 
+0x2362 009510 fetch 4 ,mem_24g_transmitter_addr 
+0x2363 009511 rtn blank 
+0x2364 009512 branch g24_update_addr_and_synccrc8 
+:      009514 g24_bind_data_error:
+0x2365 009515 call g24_rx_interrupt_clear 
+0x2366 009516 branch g24_end_of_packet 
+:      009518 g24_bind_data_parse:
+0x2367 009519 jam bind_mode_continue ,mem_24g_bind_mode_continue 
+0x2368 009520 arg mem_24g_rxbuf ,contr 
+0x2369 009521 arg mem_24g_rxdata_temp ,contw 
+0x236a 009522 call memcpy8 
+0x236b 009523 bpatchx patch3c_4 ,mem_patch3c 
+0x236c 009524 fetch 1 ,mem_24g_rxdata_temp + 2 
+0x236d 009525 beq datatype_bind ,g24_bind_first_step 
+0x236e 009526 beq datatype_config ,g24_bind_second_step 
+0x236f 009527 beq datatype_ok ,g24_bind_third_step 
+0x2370 009528 beq datatype_attemp ,g24_data_attemp 
+0x2371 009529 rtn 
+:      009532 g24_bind_first_step:
+0x2372 009533 fetch 1 ,mem_24g_rxdata_temp + 3 
+0x2373 009534 beq datatype_device1 ,g24_bind_first_step_device1 
+0x2374 009535 beq datatype_device2 ,g24_bind_first_step_device2 
+0x2375 009536 rtn 
+:      009538 g24_bind_first_step_device1:
+0x2376 009539 jam 1 ,mem_24g_device1_bind_step 
+:      009540 g24_bind_dvc1_payload_cfg:
+0x2377 009541 jam datatype_device1 ,mem_24g_bind_payload 
+:      009542 g24_bind_payload_cfg:
+0x2378 009543 jam 0x80 ,mem_24g_bind_payload + 1 
+0x2379 009544 fetch 6 ,mem_lap 
+0x237a 009545 store 6 ,mem_24g_bind_payload + 2 
+0x237b 009546 rtn 
+:      009548 g24_bind_first_step_device2:
+0x237c 009549 jam 1 ,mem_24g_device2_bind_step 
+:      009550 g24_bind_dvc2_payload_cfg:
+0x237d 009551 jam datatype_device2 ,mem_24g_bind_payload 
+0x237e 009552 branch g24_bind_payload_cfg 
+:      009555 g24_bind_second_step:
+0x237f 009556 fetch 1 ,mem_24g_pair_switch 
+0x2380 009557 branch g24_bind_second_step_skip ,blank 
+0x2381 009558 fetch 4 ,mem_24g_rxdata_temp + 4 
+0x2382 009559 fetcht 4 ,mem_lap 
+0x2383 009560 isub temp ,null 
+0x2384 009561 nrtn zero 
+:      009562 g24_bind_second_step_skip:
+0x2385 009563 fetch 1 ,mem_24g_rxdata_temp + 3 
+0x2386 009564 beq datatype_device1 ,g24_bind_second_step_device1 
+0x2387 009565 beq datatype_device2 ,g24_bind_second_step_device2 
+0x2388 009566 rtn 
+:      009568 g24_bind_second_step_device1:
+0x2389 009569 fetch 1 ,mem_24g_device1_bind_step 
+0x238a 009570 beq 1 ,g24_bind_dvc1_step_set2 
+0x238b 009571 rtn 
+:      009572 g24_bind_dvc1_step_set2:
+0x238c 009573 jam 2 ,mem_24g_device1_bind_step 
+0x238d 009574 fetch 1 ,mem_24g_pair_switch 
+0x238e 009575 branch g24_bind_dvc1_payload_cfg ,blank 
+:      009576 g24_bind_dvc1_payload_cfg_transmitter_addr:
+0x238f 009577 jam datatype_device1 ,mem_24g_bind_payload 
+:      009578 g24_bind_payload_cfg_transmitter_addr:
+0x2390 009579 jam 0x80 ,mem_24g_bind_payload + 1 
+0x2391 009580 fetch 4 ,mem_24g_transmitter_addr 
+0x2392 009581 store 4 ,mem_24g_bind_payload + 2 
+0x2393 009582 branch enable_user 
+:      009584 g24_bind_second_step_device2:
+0x2394 009585 fetch 1 ,mem_24g_device2_bind_step 
+0x2395 009586 beq 1 ,g24_bind_dvc2_step_set2 
+0x2396 009587 rtn 
+:      009588 g24_bind_dvc2_step_set2:
+0x2397 009589 jam 2 ,mem_24g_device2_bind_step 
+0x2398 009590 fetch 1 ,mem_24g_pair_switch 
+0x2399 009591 branch g24_bind_dvc2_payload_cfg ,blank 
+0x239a 009592 jam datatype_device2 ,mem_24g_bind_payload 
+0x239b 009593 branch g24_bind_payload_cfg_transmitter_addr 
+:      009596 g24_bind_third_step:
+0x239c 009597 fetch 1 ,mem_24g_pair_switch 
+0x239d 009598 branch g24_bind_third_step_skip ,blank 
+0x239e 009599 fetch 4 ,mem_24g_rxdata_temp + 4 
+0x239f 009600 fetcht 4 ,mem_24g_transmitter_addr 
+0x23a0 009601 isub temp ,null 
+0x23a1 009602 nrtn zero 
+:      009603 g24_bind_third_step_skip:
+0x23a2 009604 fetch 1 ,mem_24g_rxdata_temp + 3 
+0x23a3 009605 beq datatype_device1 ,g24_bind_third_step_device1 
+0x23a4 009606 beq datatype_device2 ,g24_bind_third_step_device2 
+0x23a5 009607 rtn 
+:      009609 g24_bind_third_step_device1:
+0x23a6 009610 fetch 1 ,mem_24g_device1_bind_step 
+0x23a7 009611 beq 2 ,g24_bind_dvc1_step_success 
+0x23a8 009612 rtn 
+:      009613 g24_bind_dvc1_step_success:
+0x23a9 009614 call g24_binding_dvc1_living 
+0x23aa 009615 call g24_bind_dvc1_payload_cfg 
+0x23ab 009616 fetch 1 ,mem_24g_bind_device_status 
+0x23ac 009617 or_into 0x01 ,pdata 
+0x23ad 009618 store 1 ,mem_24g_bind_device_status 
+:      009619 g24_bind_exit:
+0x23ae 009620 setarg 0 
+0x23af 009621 store 2 ,mem_24g_device1_bind_step 
+0x23b0 009622 rtn 
+:      009624 g24_bind_third_step_device2:
+0x23b1 009625 fetch 1 ,mem_24g_device2_bind_step 
+0x23b2 009626 bne 0 ,g24_bind_dvc2_step_success 
+0x23b3 009627 rtn 
+:      009628 g24_bind_dvc2_step_success:
+0x23b4 009629 call g24_binding_dvc2_living 
+0x23b5 009630 call g24_bind_dvc2_payload_cfg 
+0x23b6 009631 fetch 1 ,mem_24g_bind_device_status 
+0x23b7 009632 or_into 0x02 ,pdata 
+0x23b8 009633 store 1 ,mem_24g_bind_device_status 
+0x23b9 009634 call g24_bind_exit 
+0x23ba 009635 branch dongle_g24_store_dvc2_bind_flag 
+:      009637 g24_binding_device_check:
+0x23bb 009638 fetch 1 ,mem_24g_work_mode 
+0x23bc 009639 rtnne dongle_bind 
+0x23bd 009640 fetch 1 ,mem_24g_pair_mode 
+0x23be 009641 nrtn blank 
+0x23bf 009642 fetch 1 ,mem_24g_rxbuf + 3 
+0x23c0 009643 beq datatype_device1 ,g24_binding_dvc1_status 
+0x23c1 009644 beq datatype_device2 ,g24_binding_dvc2_status 
+0x23c2 009645 rtn 
+:      009646 g24_binding_dvc1_status:
+0x23c3 009647 fetch 1 ,mem_24g_bind_device_living 
+0x23c4 009648 rtnbit0 0 
+:      009649 disable_user3:
+0x23c5 009650 disable user3 
+0x23c6 009651 rtn 
+:      009652 g24_binding_dvc2_status:
+0x23c7 009653 fetch 1 ,mem_24g_bind_device_living 
+0x23c8 009654 rtnbit0 1 
+0x23c9 009655 branch disable_user3 
+:      009657 g24_binding_dvc1_living:
+0x23ca 009658 fetch 1 ,mem_24g_pair_mode 
+0x23cb 009659 nrtn blank 
+0x23cc 009660 fetch 1 ,mem_24g_bind_device_living 
+0x23cd 009661 or_into 0x01 ,pdata 
+0x23ce 009662 store 1 ,mem_24g_bind_device_living 
+0x23cf 009663 rtn 
+:      009665 g24_binding_dvc2_living:
+0x23d0 009666 fetch 1 ,mem_24g_pair_mode 
+0x23d1 009667 nrtn blank 
+0x23d2 009668 fetch 1 ,mem_24g_bind_device_living 
+0x23d3 009669 or_into 0x02 ,pdata 
+0x23d4 009670 store 1 ,mem_24g_bind_device_living 
+0x23d5 009671 rtn 
+:      009674 g24_bind_device_status_check:
+0x23d6 009675 fetch 1 ,mem_24g_bind_device_status 
+0x23d7 009676 rtn blank 
+:      009677 g24_bind_device_status:
+0x23d8 009678 fetch 1 ,mem_24g_rxdata_temp + 3 
+0x23d9 009679 beq datatype_device1 ,g24_binding_dvc1_living 
+0x23da 009680 beq datatype_device2 ,g24_binding_dvc2_living 
+0x23db 009681 rtn 
+:      009700 g24_receive_init:
+0x23dc 009701 set1 mark_24g_rxmode ,mark 
+0x23dd 009702 fetch 1 ,mem_tx_power 
+0x23de 009703 store 1 ,mem_tx_power_temp 
+0x23df 009704 call g24_rx_window_init 
+0x23e0 009705 branch rssi_receiver_buff_init 
+:      009707 g24_receive_dispatch:
+0x23e1 009708 fetch 2 ,mem_cb_24g_receive_process 
+0x23e2 009709 branch callback_func 
+:      009711 g24_ackpayload_prep:
+0x23e3 009712 jam 0 ,mem_24g_datalen 
+0x23e4 009713 fetch 1 ,mem_24g_ackpayload_enable 
+0x23e5 009714 rtn blank 
+0x23e6 009715 fetch 2 ,mem_cb_24g_ackpayload 
+0x23e7 009716 branch callback_func 
+:      009719 g24_receive_packet_start:
+0x23e8 009720 call g24_receive_transmit_ack 
+0x23e9 009721 nbranch g24_rx_interrupt_clear ,user3 
+:      009722 g24_receive_packet_parse:
+0x23ea 009723 call g24_receive_packet_parse_pid_crc 
+0x23eb 009724 nbranch g24_rx_interrupt_clear ,user 
+0x23ec 009725 fetch 1 ,mem_24g_rxdata_length 
+0x23ed 009726 branch g24_rx_interrupt_clear ,blank 
+0x23ee 009727 increase 2 ,pdata 
+0x23ef 009728 iforce loopcnt 
+0x23f0 009729 arg mem_24g_rxbuf ,contr 
+0x23f1 009730 arg mem_24g_rxdata_temp ,contw 
+0x23f2 009731 call memcpy 
+0x23f3 009732 jam 0 ,mem_24g_mode_switch 
+0x23f4 009733 fetch 1 ,mem_24g_pair_mode 
+0x23f5 009734 call g24_enable_nodata_timer ,blank 
+0x23f6 009735 fetch 1 ,mem_24g_rxdata_temp + 2 
+0x23f7 009736 beq datatype_device1 ,g24_data_device1 
+0x23f8 009737 beq datatype_device2 ,g24_data_device2 
+0x23f9 009738 beq datatype_attemp ,g24_data_receive_attemp 
+:      009739 g24_rx_interrupt_clear:
+0x23fa 009740 arg mem_24g_rxbuf ,contw 
+0x23fb 009741 arg 66 ,loopcnt 
+0x23fc 009742 branch clear_mem 
+:      009744 g24_data_receive_attemp:
+0x23fd 009745 call g24_bind_device_status 
+0x23fe 009746 branch g24_data_attemp 
+:      009748 g24_data_device1:
+0x23ff 009749 call g24_binding_dvc1_living 
+0x2400 009750 call g24_ch_timer_reinit 
+0x2401 009751 fetch 1 ,mem_24g_abort_packet 
+0x2402 009752 fetcht 1 ,mem_24g_rxdata_temp 
+0x2403 009753 isolate1 bit_abort ,temp 
+0x2404 009754 setflag true ,0 ,pdata 
+0x2405 009755 store 1 ,mem_24g_abort_packet 
+0x2406 009756 beq 1 ,g24_data_attemp_device1_abort 
+0x2407 009757 fetch 1 ,mem_24g_hop_packet 
+0x2408 009758 fetcht 1 ,mem_24g_rxdata_temp 
+0x2409 009759 isolate1 bit_hop ,temp 
+0x240a 009760 setflag true ,0 ,pdata 
+0x240b 009761 store 1 ,mem_24g_hop_packet 
+0x240c 009762 fetch 2 ,mem_cb_24g_data_device1 
+0x240d 009763 branch callback_func 
+:      009765 g24_data_device2:
+0x240e 009766 call g24_binding_dvc2_living 
+0x240f 009767 fetcht 1 ,mem_24g_rxdata_temp 
+0x2410 009768 isolate1 bit_abort ,temp 
+0x2411 009769 branch g24_data_attemp_device2_abort ,true 
+0x2412 009770 fetch 2 ,mem_cb_24g_data_device2 
+0x2413 009771 branch callback_func 
+:      009773 g24_data_attemp_device1_abort:
+0x2414 009774 fetch 1 ,mem_device_option 
+0x2415 009775 sub pdata ,dvc_op_car ,null 
+0x2416 009776 call car_stop_blink ,zero 
+0x2417 009777 fetch 4 ,mem_24g_rxdata_temp + 10 
+0x2418 009778 branch g24_store_device1_addr 
+:      009779 g24_data_attemp_device2_abort:
+0x2419 009780 fetch 4 ,mem_24g_rxdata_temp + 10 
+0x241a 009781 branch g24_store_device2_addr 
+:      009784 g24_receive_packet_parse_pid_crc:
+0x241b 009785 call disable_user 
+0x241c 009786 fetch 1 ,mem_24g_sta_pid 
+0x241d 009787 fetcht 1 ,mem_24g_last_pid 
+0x241e 009788 isub temp ,null 
+0x241f 009789 ncall enable_user ,zero 
+0x2420 009790 fetch 1 ,mem_24g_sta_pid 
+0x2421 009791 store 1 ,mem_24g_last_pid 
+0x2422 009792 fetch 3 ,mem_24g_sta_crc 
+0x2423 009793 fetcht 3 ,mem_24g_last_crc 
+0x2424 009794 isub temp ,null 
+0x2425 009795 ncall enable_user ,zero 
+0x2426 009796 fetch 3 ,mem_24g_sta_crc 
+0x2427 009797 store 3 ,mem_24g_last_crc 
+0x2428 009798 rtn 
+:      009800 g24_receive_transmit_ack:
+0x2429 009801 call g24_rx_interrupt_clear 
+0x242a 009802 call g24_receive_packet 
+0x242b 009803 nrtn user3 
+:      009804 g24_transmit_ack:
+0x242c 009806 fetch 1 ,mem_24g_rxbuf 
+0x242d 009807 store 1 ,mem_24g_data_type 
+0x242e 009809 call g24_read_len_pid_crc 
+0x242f 009811 fetch 1 ,mem_24g_rxbuf + 1 
+0x2430 009812 isolate1 bit_ack_24g ,pdata 
+0x2431 009813 branch g24tx_no_ack ,true 
+:      009814 g24tx_with_ack:
+0x2432 009815 call g24_ackpayload_prep 
+0x2433 009816 call g24_transmit_prep 
+0x2434 009817 call g24_transmit 
+:      009818 g24tx_no_ack:
+0x2435 009819 branch g24_end_of_packet 
+:      009822 g24_enable_nodata_timer:
+0x2436 009823 jam 1 ,mem_24g_nodata_timer_enable 
+:      009824 g24_enable_nodata_timer_init:
+0x2437 009825 setarg timer_nodata_delay 
+0x2438 009826 arg timer_nodata ,queue 
+0x2439 009827 branch timer_init 
+:      009833 g24_mode_switch_init:
+0x243a 009834 jam 1 ,mem_24g_mode_switch 
+0x243b 009835 jam 0 ,mem_24g_time_slice 
+0x243c 009836 jam 0xff ,mem_24g_interval 
+0x243d 009837 branch g24_timer_init 
+:      009839 g24_mode_switch_bind_work:
+0x243e 009840 bpatchx patch3c_5 ,mem_patch3c 
+0x243f 009841 fetch 1 ,mem_24g_mode_switch 
+0x2440 009842 rtn blank 
+0x2441 009843 call g24_timer_check 
+0x2442 009844 nrtn user 
+0x2443 009845 call g24_bind_mode_continue 
+0x2444 009846 fetch 1 ,mem_24g_time_slice 
+0x2445 009847 increase 1 ,pdata 
+0x2446 009848 and_into 1 ,pdata 
+0x2447 009849 store 1 ,mem_24g_time_slice 
+0x2448 009850 beq 0 ,g24_work_mode_switch 
+0x2449 009851 beq 1 ,g24_bind_mode_switch 
+0x244a 009852 rtn 
+:      009854 g24_bind_mode_continue:
+0x244b 009855 fetch 1 ,mem_24g_bind_mode_continue 
+0x244c 009856 rtn blank 
+0x244d 009857 increase -1 ,pdata 
+0x244e 009858 store 1 ,mem_24g_bind_mode_continue 
+0x244f 009859 rtn 
+:      009861 g24_work_mode_switch:
+0x2450 009862 fetch 1 ,mem_24g_bind_mode_continue 
+0x2451 009863 nrtn blank 
+0x2452 009864 branch g24_switch_work_mode 
+:      009866 g24_bind_mode_switch:
+0x2453 009867 fetch 1 ,mem_24g_bind_mode_continue 
+0x2454 009868 nrtn blank 
+0x2455 009869 branch g24_bind_mode_enable 
+:      009872 g24_mode_b_s_switch_init:
+0x2456 009873 fetch 1 ,mem_24g_b_s_mode_switch_disable 
+0x2457 009874 nrtn blank 
+0x2458 009875 fetch 1 ,mem_24g_mode_b_s_switch_exit 
+0x2459 009876 call g24_mode_b_s_switch_start ,blank 
+0x245a 009877 fetch 1 ,mem_24g_mode_b_s_switch_init 
+0x245b 009878 rtnbit1 0 
+0x245c 009879 set1 0 ,pdata 
+0x245d 009880 store 1 ,mem_24g_mode_b_s_switch_init 
+0x245e 009881 jam 1 ,mem_24g_mode_b_s_switch 
+0x245f 009882 jam 0 ,mem_24g_b_s_time_slice 
+0x2460 009883 setarg 0 
+0x2461 009884 store 2 ,mem_24g_mode_b_s_switch_cnt 
+0x2462 009885 jam 0x60 ,mem_24g_interval 
+0x2463 009886 branch g24_timer_init 
+:      009888 g24_mode_switch_bind_search:
+0x2464 009889 fetch 1 ,mem_24g_work_mode 
+0x2465 009890 rtneq dongle_work 
+0x2466 009891 fetch 1 ,mem_24g_b_s_mode_switch_disable 
+0x2467 009892 nrtn blank 
+0x2468 009893 fetch 1 ,mem_24g_mode_b_s_switch_exit 
+0x2469 009894 nrtn blank 
+0x246a 009895 fetch 1 ,mem_24g_mode_b_s_switch 
+0x246b 009896 rtn blank 
+0x246c 009897 call g24_timer_check 
+0x246d 009898 nrtn user 
+0x246e 009899 fetch 2 ,mem_24g_mode_b_s_switch_cnt 
+0x246f 009900 increase 1 ,pdata 
+0x2470 009901 store 2 ,mem_24g_mode_b_s_switch_cnt 
+0x2471 009902 arg 0x7d0 ,temp 
+0x2472 009903 isub temp ,null 
+0x2473 009904 branch g24_mode_b_s_switch_exit ,positive 
+0x2474 009905 call g24_bind_mode_continue 
+0x2475 009906 fetch 1 ,mem_24g_b_s_time_slice 
+0x2476 009907 increase 1 ,pdata 
+0x2477 009908 and_into 1 ,pdata 
+0x2478 009909 store 1 ,mem_24g_b_s_time_slice 
+0x2479 009910 beq 0 ,g24_mode_switch_search 
+0x247a 009911 beq 1 ,g24_bind_mode_enable 
+0x247b 009912 rtn 
+:      009914 g24_mode_switch_search:
+0x247c 009915 fetch 1 ,mem_24g_bind_mode_continue 
+0x247d 009916 nbranch g24_bind_mode_enable ,blank 
+0x247e 009917 branch g24_search_mode_enable 
+:      009919 g24_mode_b_s_switch_exit:
+0x247f 009920 jam 1 ,mem_24g_mode_b_s_switch_exit 
+0x2480 009921 branch g24_search_mode_enable 
+:      009923 g24_mode_b_s_switch_stop:
+0x2481 009924 jam 0 ,mem_24g_mode_b_s_switch 
+0x2482 009925 rtn 
+:      009926 g24_mode_b_s_switch_start:
+0x2483 009927 jam 1 ,mem_24g_mode_b_s_switch 
+0x2484 009928 rtn 
+:      009939 g24_work_init:
+0x2485 009940 fetch 1 ,mem_24g_mode_init 
+0x2486 009941 rtnbit1 dongle_work 
+0x2487 009942 set1 dongle_work ,pdata 
+0x2488 009943 store 1 ,mem_24g_mode_init 
+0x2489 009944 fetch 1 ,mem_tx_power_temp 
+0x248a 009945 store 1 ,mem_tx_power 
+0x248b 009946 jam 0 ,mem_24g_ackpayload_enable 
+0x248c 009947 jam 0 ,mem_usb_tx_enable 
+0x248d 009948 jam 1 ,mem_24g_abort_packet 
+0x248e 009949 jam 0 ,mem_24g_pid 
+0x248f 009950 fetch 4 ,mem_lap 
+0x2490 009951 call g24_update_addr_and_synccrc8 
+0x2491 009952 call g24_ch 
+0x2492 009953 branch g24_rx_interrupt_clear 
+:      009956 g24_switch_work_mode:
+0x2493 009957 jam 0 ,mem_24g_ackpayload_enable 
+:      009958 g24_work_mode_enable:
+0x2494 009959 jam dongle_work ,mem_24g_work_mode 
+0x2495 009960 jam clear_init ,mem_24g_mode_init 
+0x2496 009961 rtn 
+:      009964 g24_work_mode_start:
+0x2497 009965 fetch 1 ,mem_24g_work_mode 
+0x2498 009966 rtnne dongle_work 
+0x2499 009967 call g24_work_init 
+0x249a 009968 call g24_ch_process 
+0x249b 009969 branch g24_receive_packet_start 
+:      009982 g24_bind_mode_auto:
+0x249c 009983 bpatchx patch3c_6 ,mem_patch3c 
+0x249d 009984 fetch 1 ,mem_24g_work_mode 
+0x249e 009985 rtnne dongle_bind 
+0x249f 009986 call g24_bind_init 
+0x24a0 009987 call g24_bind_data_process 
+0x24a1 009988 fetch 1 ,mem_24g_pair_mode 
+0x24a2 009989 nrtn blank 
+0x24a3 009990 fetch 1 ,mem_24g_bind_device_status 
+0x24a4 009991 rtn blank 
+0x24a5 009992 jam 0 ,mem_24g_mode_switch 
+0x24a6 009993 call g24_switch_work_mode 
+0x24a7 009994 call g24_enable_nodata_timer 
+0x24a8 009995 branch g24_timer_init 
+:      010007 g24_search_mode_init:
+0x24a9 010008 fetch 1 ,mem_24g_mode_init 
+0x24aa 010009 rtnbit1 dongle_search 
+0x24ab 010010 set1 dongle_search ,pdata 
+0x24ac 010011 store 1 ,mem_24g_mode_init 
+0x24ad 010012 jam 0 ,mem_24g_time_slice 
+0x24ae 010013 jam 1 ,mem_24g_ackpayload_enable 
+0x24af 010014 setarg 0 
+0x24b0 010015 store 3 ,mem_rssi_noise_self_index 
+0x24b1 010016 store 7 ,mem_24g_self_config_ch_once 
+0x24b2 010017 call g24_receiver_addr_check 
+0x24b3 010018 nrtn zero 
+0x24b4 010019 fetch 1 ,mem_24g_current_ch_number 
+0x24b5 010020 store 1 ,mem_24g_self_ch_number 
+0x24b6 010021 fetch 1 ,mem_24g_ch 
+0x24b7 010022 store 1 ,mem_24g_self_last_ch 
+0x24b8 010023 rtn 
+:      010026 g24_search_mode_auto:
+0x24b9 010027 bpatchx patch3c_7 ,mem_patch3c 
+0x24ba 010028 fetch 1 ,mem_24g_work_mode 
+0x24bb 010029 rtnne dongle_search 
+0x24bc 010030 call g24_search_mode_init 
+0x24bd 010031 call g24_auto_addr_ch_search 
+0x24be 010032 call g24_receive_transmit_ack 
+0x24bf 010033 nbranch g24_rx_interrupt_clear ,user3 
+0x24c0 010035 call g24_receiver_addr_check 
+0x24c1 010036 call g24_receive_packet_parse ,zero 
+0x24c2 010038 fetch 1 ,mem_24g_abort_packet 
+0x24c3 010039 call g24_mode_b_s_switch_stop ,blank 
+0x24c4 010042 jam dongle_work ,mem_24g_work_mode 
+0x24c5 010043 fetch 1 ,mem_24g_mode_init 
+0x24c6 010044 set1 dongle_work ,pdata 
+0x24c7 010045 store 1 ,mem_24g_mode_init 
+0x24c8 010047 fetch 1 ,mem_24g_ackpayload_enable 
+0x24c9 010048 sub pdata ,2 ,null 
+0x24ca 010049 ncall g24_ackpayload_disable ,zero 
+0x24cb 010051 call g24_rx_interrupt_clear 
+0x24cc 010052 call g24_enable_nodata_timer 
+0x24cd 010053 call g24_receiver_addr_check 
+0x24ce 010054 branch g24_self_ch_num_reinit ,zero 
+0x24cf 010055 fetch 4 ,mem_24g_addr 
+0x24d0 010056 fetcht 4 ,mem_24g_device2_addr 
+0x24d1 010057 isub temp ,null 
+0x24d2 010058 branch g24_device2_ch_num_reinit ,zero 
+0x24d3 010059 fetch 4 ,mem_24g_addr 
+0x24d4 010060 fetcht 4 ,mem_24g_device1_addr 
+0x24d5 010061 isub temp ,null 
+0x24d6 010062 branch g24_device1_ch_num_reinit ,zero 
+0x24d7 010063 rtn 
+:      010066 g24_self_ch_num_reinit:
+0x24d8 010067 fetch 1 ,mem_24g_self_ch_number 
+:      010068 g24_current_ch_num_reinit:
+0x24d9 010069 store 1 ,mem_24g_current_ch_number 
+0x24da 010070 rtn 
+:      010072 g24_device2_ch_num_reinit:
+0x24db 010073 fetch 1 ,mem_24g_device2_ch_number 
+0x24dc 010074 branch g24_current_ch_num_reinit 
+:      010076 g24_device1_ch_num_reinit:
+0x24dd 010077 fetch 1 ,mem_24g_device1_ch_number 
+0x24de 010078 branch g24_current_ch_num_reinit 
+:      010081 g24_auto_addr_ch_search:
+0x24df 010082 fetch 1 ,mem_24g_time_slice 
+0x24e0 010083 increase 1 ,pdata 
+0x24e1 010084 and_into 3 ,pdata 
+0x24e2 010085 store 1 ,mem_24g_time_slice 
+0x24e3 010087 beq 0 ,g24_auto_bind_config_device2 
+0x24e4 010088 beq 1 ,g24_auto_bind_config_self 
+0x24e5 010089 beq 2 ,g24_auto_bind_config_device1 
+0x24e6 010090 beq 3 ,g24_auto_bind_config_self 
+0x24e7 010091 rtn 
+:      010093 g24_auto_bind_config_device1:
+0x24e8 010094 call g24_bind_dvc1_payload_cfg 
+0x24e9 010095 fetch 4 ,mem_24g_device1_addr 
+0x24ea 010096 branch g24_auto_addr_ch_search ,blank 
+0x24eb 010097 call g24_update_addr_and_synccrc8 
+0x24ec 010098 fetch 1 ,mem_24g_device1_config_ch_once 
+0x24ed 010099 call g24_device1_config_ch_once ,blank 
+0x24ee 010100 fetch 1 ,mem_24g_device1_last_ch 
+0x24ef 010101 store 1 ,mem_24g_ch 
+0x24f0 010102 fetcht 1 ,mem_rssi_noise_device1_index 
+0x24f1 010103 fetchr rega ,2 ,mem_rssi_noise_device1_buffer_ptr 
+0x24f2 010104 call rssi_store 
+0x24f3 010105 storet 1 ,mem_rssi_noise_device1_index 
+0x24f4 010106 call rssi_average 
+0x24f5 010107 storet 1 ,mem_rssi_noise_device1_avg 
+0x24f6 010108 sub temp ,rssi_thresh_noise ,null 
+0x24f7 010109 nrtn positive 
+0x24f8 010110 fetcht 1 ,mem_24g_device1_ch_number 
+0x24f9 010111 call g24_ch_map_size 
+0x24fa 010112 storet 1 ,mem_24g_device1_ch_number 
+0x24fb 010113 store 1 ,mem_24g_device1_last_ch 
+0x24fc 010114 rtn 
+:      010116 g24_device1_config_ch_once:
+0x24fd 010117 jam 1 ,mem_24g_device1_config_ch_once 
+0x24fe 010118 arg 0 ,temp 
+0x24ff 010119 call g24_ch_calc 
+0x2500 010120 store 1 ,mem_24g_device1_last_ch 
+0x2501 010121 rtn 
+:      010123 g24_auto_bind_config_device2:
+0x2502 010124 call g24_bind_dvc2_payload_cfg 
+0x2503 010125 fetch 4 ,mem_24g_device2_addr 
+0x2504 010126 branch g24_auto_addr_ch_search ,blank 
+0x2505 010127 call g24_update_addr_and_synccrc8 
+0x2506 010128 fetch 1 ,mem_24g_device2_config_ch_once 
+0x2507 010129 call g24_device2_config_ch_once ,blank 
+0x2508 010130 fetch 1 ,mem_24g_device2_last_ch 
+0x2509 010131 store 1 ,mem_24g_ch 
+0x250a 010132 fetcht 1 ,mem_rssi_noise_device2_index 
+0x250b 010133 fetchr rega ,2 ,mem_rssi_noise_device2_buffer_ptr 
+0x250c 010134 call rssi_store 
+0x250d 010135 storet 1 ,mem_rssi_noise_device2_index 
+0x250e 010136 call rssi_average 
+0x250f 010137 storet 1 ,mem_rssi_noise_device2_avg 
+0x2510 010138 sub temp ,rssi_thresh_noise ,null 
+0x2511 010139 nrtn positive 
+0x2512 010140 fetcht 1 ,mem_24g_device2_ch_number 
+0x2513 010141 call g24_ch_map_size 
+0x2514 010142 storet 1 ,mem_24g_device2_ch_number 
+0x2515 010143 store 1 ,mem_24g_device2_last_ch 
+0x2516 010144 rtn 
+:      010146 g24_device2_config_ch_once:
+0x2517 010147 jam 1 ,mem_24g_device2_config_ch_once 
+0x2518 010148 arg 0 ,temp 
+0x2519 010149 call g24_ch_calc 
+0x251a 010150 store 1 ,mem_24g_device2_last_ch 
+0x251b 010151 rtn 
+:      010153 g24_auto_bind_config_self:
+0x251c 010154 call g24_bind_dvc1_payload_cfg 
+0x251d 010155 fetch 4 ,mem_lap 
+0x251e 010156 call g24_update_addr_and_synccrc8 
+0x251f 010157 fetch 1 ,mem_24g_self_config_ch_once 
+0x2520 010158 call g24_self_config_ch_once ,blank 
+0x2521 010159 fetch 1 ,mem_24g_self_last_ch 
+0x2522 010160 store 1 ,mem_24g_ch 
+0x2523 010161 fetcht 1 ,mem_rssi_noise_self_index 
+0x2524 010162 fetchr rega ,2 ,mem_rssi_noise_self_buffer_ptr 
+0x2525 010163 call rssi_store 
+0x2526 010164 storet 1 ,mem_rssi_noise_self_index 
+0x2527 010165 call rssi_average 
+0x2528 010166 storet 1 ,mem_rssi_noise_self_avg 
+0x2529 010167 sub temp ,rssi_thresh_noise ,null 
+0x252a 010168 nrtn positive 
+0x252b 010169 fetcht 1 ,mem_24g_self_ch_number 
+0x252c 010170 call g24_ch_map_size 
+0x252d 010171 storet 1 ,mem_24g_self_ch_number 
+0x252e 010172 store 1 ,mem_24g_self_last_ch 
+0x252f 010173 rtn 
+:      010175 g24_self_config_ch_once:
+0x2530 010176 jam 1 ,mem_24g_self_config_ch_once 
+0x2531 010177 fetch 1 ,mem_24g_self_last_ch 
+0x2532 010178 store 1 ,mem_24g_ch 
+0x2533 010179 rtn 
+:      010182 g24_ackpayload_disable:
+0x2534 010183 jam 0 ,mem_24g_ackpayload_enable 
+0x2535 010184 rtn 
+:      010187 g24_receiver_addr_check:
+0x2536 010188 fetch 4 ,mem_24g_addr 
+0x2537 010189 fetcht 4 ,mem_lap 
+0x2538 010190 isub temp ,null 
+0x2539 010191 rtn 
+:      010203 g24_nodata_process:
+0x253a 010204 fetch 1 ,mem_24g_ackpayload_enable 
+0x253b 010205 rtneq 2 
+0x253c 010206 fetch 1 ,mem_24g_nodata_timer_enable 
+0x253d 010207 rtn blank 
+0x253e 010208 arg timer_nodata ,queue 
+0x253f 010209 call timer_check 
+0x2540 010210 nrtn blank 
+0x2541 010211 jam 0 ,mem_24g_nodata_timer_enable 
+0x2542 010212 jam 0 ,mem_24g_bind_mode_continue 
+0x2543 010213 call g24_mode_b_s_switch_init 
+:      010215 g24_search_mode_enable:
+0x2544 010216 jam dongle_search ,mem_24g_work_mode 
+0x2545 010217 jam clear_init ,mem_24g_mode_init 
+0x2546 010218 branch g24_rx_interrupt_clear 
+:      010224 g24_ch_process:
+0x2547 010225 fetch 1 ,mem_24g_abort_packet 
+0x2548 010226 beq 1 ,rssi_noise_monitor 
+0x2549 010227 fetch 1 ,mem_24g_hop_packet 
+0x254a 010228 beq 1 ,g24_ch_receive_hop_pac 
+0x254b 010229 fetcht 4 ,mem_24g_hop_btclk 
+0x254c 010230 copy clkn_bt ,pdata 
+0x254d 010231 isub temp ,null 
+0x254e 010232 ncall g24_timer_timeout ,positive 
+0x254f 010233 copy pdata ,regb 
+0x2550 010234 fetch 4 ,mem_24g_hop_btclk 
+0x2551 010235 fetcht 1 ,mem_24g_hop_interval 
+0x2552 010236 iadd temp ,temp 
+0x2553 010237 copy regb ,pdata 
+0x2554 010238 isub temp ,null 
+0x2555 010239 nrtn positive 
+0x2556 010240 set0 28 ,pdata 
+0x2557 010241 store 4 ,mem_24g_hop_btclk 
+0x2558 010242 jam 1 ,mem_24g_abort_packet 
+0x2559 010243 branch g24_ch 
+:      010245 g24_ch_receive_hop_pac:
+0x255a 010246 jam 0 ,mem_24g_hop_packet 
+0x255b 010247 branch g24_ch 
+:      010249 g24_ch_timer_reinit:
+0x255c 010250 copy clkn_bt ,pdata 
+0x255d 010251 store 4 ,mem_24g_hop_btclk 
+0x255e 010252 rtn 
+:      010257 g24_reconn_timeout_timer:
+0x255f 010258 arg mem_24g_reconn_timeout ,regc 
+0x2560 010259 arg g24_stop_24g_mode ,regb 
+0x2561 010260 branch timer_single_step_2b 
+:      010263 g24_reconn_start:
+0x2562 010264 bpatchx patch3d_0 ,mem_patch3d 
+0x2563 010265 set1 mark_24g ,mark 
+0x2564 010266 fetch 1 ,mem_24g_conn_sm 
+0x2565 010267 set0 state_24g_pair ,pdata 
+0x2566 010268 set1 state_24g_reconn ,pdata 
+0x2567 010269 store 1 ,mem_24g_conn_sm 
+0x2568 010270 fetch 1 ,mem_24g_fast_conn_enable 
+0x2569 010271 branch g24_reconn_receiver_addr ,blank 
+0x256a 010272 fetch 1 ,mem_24g_reconn_type 
+0x256b 010273 beq fast_conn_and_receiver ,g24_reconn_fast_conn 
+0x256c 010274 beq fast_conn_and_3_0_addr ,g24_reconn_fast_conn 
+0x256d 010275 beq receiver_and_3_0_addr ,g24_reconn_device_3_0_addr 
+0x256e 010276 beq pair_and_3_0_addr ,g24_reconn_device_3_0_addr 
+:      010277 g24_reconn_fast_conn:
+0x256f 010278 fetch 1 ,mem_24g_pair_tx_power 
+0x2570 010279 store 1 ,mem_tx_power 
+0x2571 010280 fetcht 1 ,mem_24g_fast_conn_temp_ch 
+0x2572 010281 storet 1 ,mem_24g_current_ch_number 
+0x2573 010282 fetch 4 ,mem_24g_fast_conn_addr 
+0x2574 010283 call g24_ch_syncword_crc8_init 
+0x2575 010284 storet 1 ,mem_24g_fast_conn_temp_ch 
+0x2576 010285 rtn 
+:      010287 g24_reconn_receiver_addr:
+0x2577 010288 jam tx_power_3db ,mem_tx_power 
+0x2578 010289 fetcht 1 ,mem_24g_receiver_temp_ch 
+0x2579 010290 storet 1 ,mem_24g_current_ch_number 
+0x257a 010291 fetch 4 ,mem_24g_receiver_addr 
+0x257b 010292 call g24_ch_syncword_crc8_init 
+0x257c 010293 storet 1 ,mem_24g_receiver_temp_ch 
+0x257d 010294 rtn 
+:      010296 g24_reconn_device_3_0_addr:
+0x257e 010297 jam tx_power_3db ,mem_tx_power 
+0x257f 010298 fetcht 1 ,mem_24g_device_temp_ch 
+0x2580 010299 storet 1 ,mem_24g_current_ch_number 
+0x2581 010300 fetch 4 ,mem_24g_device_addr 
+0x2582 010301 call g24_ch_syncword_crc8_init 
+0x2583 010302 storet 1 ,mem_24g_device_temp_ch 
+0x2584 010303 rtn 
+:      010305 g24_store_receiver_addr:
+0x2585 010306 fetch 4 ,mem_24g_rxpayload + 2 
+0x2586 010307 store 4 ,mem_24g_receiver_addr 
+:      010308 g24_ch_syncword_crc8_init:
+0x2587 010309 call g24_update_addr_and_synccrc8 
+0x2588 010310 branch g24_ch 
+:      010313 g24_reconn_dispatch:
+0x2589 010314 bpatchx patch3d_1 ,mem_patch3d 
+0x258a 010315 call g24_reconn_data_prep 
+0x258b 010316 call g24_transmit_receive_ack 
+0x258c 010317 nbranch g24_reconn_device_fail ,sync 
+0x258d 010318 nbranch g24_reconn_device_fail ,user3 
+0x258e 010319 call g24_ackpayload_parse 
+:      010320 g24_reconn_receiver_succ:
+0x258f 010321 fetch 1 ,mem_24g_conn_sm 
+0x2590 010322 set0 state_24g_reconn ,pdata 
+0x2591 010323 store 1 ,mem_24g_conn_sm 
+0x2592 010324 setarg 0 
+0x2593 010325 store 2 ,mem_24g_pair_timeout 
+0x2594 010326 store 2 ,mem_24g_reconn_count 
+0x2595 010327 store 2 ,mem_24g_reconn_timeout 
+0x2596 010328 fetch 4 ,mem_24g_pair_addr 
+0x2597 010329 fetcht 4 ,mem_24g_addr 
+0x2598 010330 isub temp ,null 
+0x2599 010331 branch g24_pair_start ,zero 
+0x259a 010332 fetch 4 ,mem_24g_device_addr 
+0x259b 010333 fetcht 4 ,mem_24g_addr 
+0x259c 010334 isub temp ,null 
+0x259d 010335 call g24_store_receiver_addr ,zero 
+0x259e 010336 jam bt_evt_24g_attempt_success ,mem_fifo_temp 
+0x259f 010337 call ui_ipc_send_event 
+:      010338 g24_txbuf_clear:
+0x25a0 010339 arg 4 ,loopcnt 
+0x25a1 010340 arg mem_24g_txbuf ,contw 
+0x25a2 010341 branch memset0 
+:      010343 g24_reconn_data_prep:
+0x25a3 010344 jam datatype_attemp ,mem_24g_txbuf 
+0x25a4 010345 fetch 1 ,mem_24g_data_type 
+0x25a5 010346 store 1 ,mem_24g_txbuf + 1 
+0x25a6 010347 fetch 4 ,mem_24g_device_addr 
+0x25a7 010348 store 4 ,mem_24g_txbuf + 2 
+0x25a8 010349 jam 6 ,mem_24g_datalen 
+0x25a9 010350 branch g24_transmit_prep 
+:      010352 g24_reconn_device_fail:
+0x25aa 010353 fetch 1 ,mem_24g_fast_conn_enable 
+0x25ab 010354 branch g24_ch ,blank 
+0x25ac 010355 fetch 2 ,mem_24g_reconn_count 
+0x25ad 010356 increase 1 ,pdata 
+0x25ae 010357 store 2 ,mem_24g_reconn_count 
+0x25af 010358 isolate1 3 ,pdata 
+0x25b0 010359 fetch 1 ,mem_24g_reconn_type 
+0x25b1 010360 beq fast_conn_and_receiver ,g24_reconn_fast_conn_and_receiver 
+0x25b2 010361 beq fast_conn_and_3_0_addr ,g24_reconn_fast_conn_and_3_0 
+0x25b3 010362 beq receiver_and_3_0_addr ,g24_reconn_receiver_and_3_0 
+0x25b4 010363 beq pair_and_3_0_addr ,g24_reconn_pair_and_3_0 
+0x25b5 010364 branch g24_reconn_receiver_addr 
+:      010367 g24_reconn_fast_conn_and_receiver:
+0x25b6 010368 branch g24_reconn_receiver_addr ,true 
+0x25b7 010369 branch g24_reconn_fast_conn 
+:      010371 g24_reconn_fast_conn_and_3_0:
+0x25b8 010372 branch g24_reconn_device_3_0_addr ,true 
+0x25b9 010373 branch g24_reconn_fast_conn 
+:      010375 g24_reconn_receiver_and_3_0:
+0x25ba 010376 branch g24_reconn_device_3_0_addr ,true 
+0x25bb 010377 branch g24_reconn_receiver_addr 
+:      010379 g24_reconn_pair_and_3_0:
+0x25bc 010380 branch g24_pair_init_param ,true 
+0x25bd 010381 branch g24_reconn_device_3_0_addr 
+:      010392 g24_data_attemp:
+0x25be 010393 fetch 1 ,mem_24g_rxdata_temp + 3 
+0x25bf 010394 beq datatype_device1 ,g24_data_attemp_device1 
+0x25c0 010395 beq datatype_device2 ,g24_data_attemp_device2 
+0x25c1 010396 rtn 
+:      010397 g24_data_attemp_device1:
+0x25c2 010398 fetch 4 ,mem_24g_rxdata_temp + 4 
+0x25c3 010399 store 4 ,mem_24g_transmitter_addr 
+:      010400 g24_store_device1_addr:
+0x25c4 010401 store 4 ,mem_24g_device1_addr 
+0x25c5 010402 rtn 
+:      010403 g24_data_attemp_device2:
+0x25c6 010404 fetch 4 ,mem_24g_rxdata_temp + 4 
+0x25c7 010405 store 4 ,mem_24g_transmitter_addr 
+:      010406 g24_store_device2_addr:
+0x25c8 010407 store 4 ,mem_24g_device2_addr 
+0x25c9 010408 rtn 
+:      010418 rssi_store:
+0x25ca 010419 copy rega ,pdata 
+0x25cb 010420 iadd temp ,contw 
+0x25cc 010421 fetch 1 ,mem_rssi 
+0x25cd 010422 istore 1 ,contw 
+0x25ce 010423 increase 1 ,temp 
+0x25cf 010424 fetch 1 ,mem_rssi_buff_index 
+0x25d0 010425 iand temp ,temp 
+0x25d1 010426 rtn 
+:      010427 rssi_average:
+0x25d2 010428 fetch 1 ,mem_rssi_buff_index 
+0x25d3 010429 increase 1 ,pdata 
+0x25d4 010430 store 2 ,mem_loopcnt 
+0x25d5 010431 copy pdata ,loopcnt 
+0x25d6 010432 copy rega ,contr 
+0x25d7 010433 arg 0 ,pdata 
+:      010434 rssi_average_loop:
+0x25d8 010435 ifetcht 1 ,contr 
+0x25d9 010436 iadd temp ,pdata 
+0x25da 010437 loop rssi_average_loop 
+0x25db 010438 fetcht 2 ,mem_loopcnt 
+0x25dc 010439 idiv temp 
+0x25dd 010440 call wait_div_end 
+0x25de 010441 quotient temp 
+0x25df 010442 rtnmark1 mark_24g_rxmode 
+0x25e0 010443 copy temp ,pdata 
+0x25e1 010444 rtnmark0 mark_24g 
+0x25e2 010445 call bcd 
+0x25e3 010446 copy pdata ,temp 
+0x25e4 010447 rtn 
+:      010449 save_rssi_dec:
+0x25e5 010450 call save_rssi 
+0x25e6 010451 branch rssi_hex2dec 
+:      010460 rssi_transmitter_buff_init:
+0x25e7 010461 fetch 2 ,mem_rssi_signal_buf_ptr 
+0x25e8 010462 branch rssi_buff_clear 
+:      010464 rssi_signal:
+0x25e9 010465 copy pdata ,rega 
+0x25ea 010466 fetcht 1 ,mem_rssi_signal_index 
+0x25eb 010467 fetch 2 ,mem_rssi_signal_buf_ptr 
+0x25ec 010468 iadd temp ,contw 
+0x25ed 010469 copy rega ,pdata 
+0x25ee 010470 istore 1 ,contw 
+0x25ef 010471 increase 1 ,temp 
+0x25f0 010472 fetch 1 ,mem_rssi_buff_index 
+0x25f1 010473 iand temp ,temp 
+0x25f2 010474 storet 1 ,mem_rssi_signal_index 
+0x25f3 010475 rtn 
+:      010485 rssi_receiver_buff_init:
+0x25f4 010486 fetch 2 ,mem_rssi_noise_buffer_ptr 
+0x25f5 010487 call rssi_buff_clear 
+0x25f6 010488 fetch 2 ,mem_rssi_noise_self_buffer_ptr 
+0x25f7 010489 call rssi_buff_clear 
+0x25f8 010490 fetch 2 ,mem_rssi_noise_device1_buffer_ptr 
+0x25f9 010491 call rssi_buff_clear 
+0x25fa 010492 fetch 2 ,mem_rssi_noise_device2_buffer_ptr 
+:      010493 rssi_buff_clear:
+0x25fb 010494 rtn blank 
+0x25fc 010495 copy pdata ,contw 
+0x25fd 010496 fetch 1 ,mem_rssi_buff_index 
+0x25fe 010497 increase 1 ,pdata 
+0x25ff 010498 copy pdata ,loopcnt 
+0x2600 010499 branch clear_mem 
+:      010502 rssi_noise:
+0x2601 010503 call save_rssi_dec 
+0x2602 010504 rtn blank 
+0x2603 010505 fetcht 1 ,mem_rssi_noise_index 
+0x2604 010506 fetchr rega ,2 ,mem_rssi_noise_buffer_ptr 
+0x2605 010507 call rssi_store 
+0x2606 010508 storet 1 ,mem_rssi_noise_index 
+0x2607 010509 rtn 
+:      010512 rssi_noise_monitor:
+0x2608 010513 fetchr rega ,2 ,mem_rssi_noise_buffer_ptr 
+0x2609 010514 call rssi_average 
+0x260a 010515 storet 1 ,mem_rssi_noise_avg 
+0x260b 010516 sub temp ,rssi_thresh_noise ,null 
+0x260c 010517 nrtn positive 
+0x260d 010518 branch g24_ch 
+:      010526 g24_transmit_init:
+0x260e 010527 fetch 4 ,mem_lap 
+0x260f 010528 store 4 ,mem_24g_device_addr 
+0x2610 010529 call g24_rx_window_init 
+0x2611 010530 branch rssi_transmitter_buff_init 
+:      010532 g24_interval_param_4ms:
+0x2612 010533 setarg g24_4ms_interval_param 
+0x2613 010534 store 3 ,mem_24g_short_sleep_set 
+0x2614 010535 setarg 0x100c0c 
+0x2615 010536 store 3 ,mem_24g_interval 
+0x2616 010537 setarg 0x00bb80 
+0x2617 010538 store 3 ,mem_24g_long_sleep_set 
+0x2618 010539 jam 5 ,mem_24g_fast_hop_count 
+0x2619 010540 rtn 
+:      010542 g24_interval_param_8ms:
+0x261a 010543 setarg g24_8ms_interval_param 
+0x261b 010544 store 3 ,mem_24g_short_sleep_set 
+0x261c 010545 setarg 0x1c1919 
+0x261d 010546 store 3 ,mem_24g_interval 
+0x261e 010547 setarg 0x017700 
+0x261f 010548 store 3 ,mem_24g_long_sleep_set 
+0x2620 010549 jam 11 ,mem_24g_fast_hop_count 
+0x2621 010550 rtn 
+:      010553 g24_transmit_dispatch:
+0x2622 010554 rtnmark0 mark_24g 
+0x2623 010555 fetch 1 ,mem_24g_conn_sm 
+0x2624 010556 bbit1 state_24g_pair ,g24_pair_dispatch 
+0x2625 010557 bbit1 state_24g_reconn ,g24_reconn_dispatch 
+0x2626 010558 fetch 1 ,mem_24g_transmit_by_interrupt 
+0x2627 010559 beq g24_tx_timer_int_enable ,g24_transmit_by_interrupt 
+:      010560 g24_transmit_no_interrupt:
+0x2628 010561 bpatchx patch3d_2 ,mem_patch3d 
+0x2629 010562 call g24_txdata_prep 
+0x262a 010563 nbranch g24_nodata_transmit ,user 
+:      010564 g24_transmit_start:
+0x262b 010565 call g24_transmit_process 
+0x262c 010566 call power_ctrl_start 
+0x262d 010567 fetch 1 ,mem_device_option 
+0x262e 010568 beq dvc_op_mouse ,mouse_24g_transmit_start 
+:      010569 g24_transmit_start_next:
+0x262f 010570 fetch 8 ,mem_24g_long_sleep_set 
+0x2630 010571 store 8 ,mem_24g_enter_hibernate 
+0x2631 010572 fetch 2 ,mem_24g_long_sleep_param_update_timer_init 
+0x2632 010573 store 2 ,mem_24g_long_sleep_param_update_timer 
+:      010574 g24_short_sleep:
+0x2633 010575 call g24_lpm_wait 
+0x2634 010576 nrtn user 
+0x2635 010577 call clear_wake 
+0x2636 010578 fetch 3 ,mem_24g_short_sleep_set 
+0x2637 010579 branch g24_long_seep2 
+:      010586 g24_txdata_prep:
+0x2638 010587 call g24_package_data 
+0x2639 010588 nrtn user 
+0x263a 010589 branch g24_transmit_prep 
+:      010592 g24_package_data:
+0x263b 010593 fetch 2 ,mem_cb_24g_transmit_data 
+0x263c 010594 call callback_func 
+0x263d 010595 branch g24_accumulate_data ,user 
+0x263e 010596 fetch 7 ,mem_24g_txbuf + 1 
+0x263f 010597 rtn blank 
+0x2640 010598 branch enable_user 
+:      010600 g24_accumulate_data:
+0x2641 010601 jam 0 ,mem_24g_abort_pac 
+0x2642 010602 add rega ,1 ,pdata 
+0x2643 010603 store 1 ,mem_24g_datalen 
+0x2644 010604 call g24_transmit_rf_ctrl_clear 
+0x2645 010605 store 1 ,mem_24g_txbuf 
+0x2646 010606 copy regb ,contr 
+0x2647 010607 copy rega ,loopcnt 
+0x2648 010608 branch memcpy 
+:      010610 g24_transmit_rf_ctrl_clear:
+0x2649 010611 fetch 1 ,mem_24g_data_type 
+0x264a 010612 and_into bits_data ,pdata 
+0x264b 010613 store 1 ,mem_24g_data_type 
+0x264c 010614 rtn 
+:      010623 g24_transmit_process:
+0x264d 010624 jam 0 ,mem_24g_retry 
+:      010625 g24_transmit_loop:
+0x264e 010626 fetchr timeup ,2 ,mem_param_rx_setup 
+0x264f 010627 until clkn_rt ,meet 
+0x2650 010628 call g24_transmit_receive_ack 
+0x2651 010629 fetch 1 ,mem_24g_no_ack 
+0x2652 010630 beq no_ack_24g ,g24_transmit_no_ack 
+0x2653 010631 nbranch g24_retransmit ,sync 
+0x2654 010632 nbranch g24_retransmit ,user3 
+0x2655 010633 call g24_ackpayload_parse 
+0x2656 010634 fetch 1 ,mem_device_option 
+0x2657 010635 beq dvc_op_mouse ,mouse_wakeup_24g 
+:      010636 g24_transmit_no_ack:
+0x2658 010637 call power_ctrl_pac_succ_incrs 
+:      010638 g24_transmit_next_packet:
+0x2659 010639 call g24_txbuf_clear 
+0x265a 010640 fetch 1 ,mem_24g_pid 
+0x265b 010641 increase 1 ,pdata 
+0x265c 010642 store 1 ,mem_24g_pid 
+0x265d 010643 call g24_hop_enable_packet 
+:      010644 g24_transmit_abandon:
+0x265e 010645 setarg 0 
+0x265f 010646 store 1 ,mem_24g_ensure 
+0x2660 010647 store 2 ,mem_24g_txfail_cnt 
+0x2661 010648 rtn 
+:      010650 g24_transmit_receive_ack:
+0x2662 010651 disable user3 
+0x2663 010652 call g24_transmit 
+0x2664 010653 fetch 1 ,mem_24g_no_ack 
+0x2665 010654 beq no_ack_24g ,g24_end_of_packet 
+0x2666 010655 force 0 ,radio_ctrl 
+0x2667 010656 fetch 4 ,mem_24g_addr 
+0x2668 010657 iforce access 
+0x2669 010658 call calc_mod_value_scale_le 
+0x266a 010659 fetcht 1 ,mem_last_freq 
+0x266b 010660 call set_freq_rx 
+0x266c 010661 call rf_rx_enable 
+0x266d 010662 call g24_receive_rxon 
+0x266e 010663 call g24_end_of_packet ,user3 
+0x266f 010664 rtn 
+:      010666 g24_retransmit:
+0x2670 010667 fetch 1 ,mem_24g_abort_pac 
+0x2671 010668 nrtn blank 
+0x2672 010669 fetch 2 ,mem_24g_txfail_cnt 
+0x2673 010670 increase 1 ,pdata 
+0x2674 010671 store 2 ,mem_24g_txfail_cnt 
+0x2675 010672 fetch 1 ,mem_24g_txfail_cnt + 1 
+0x2676 010673 bbit1 4 ,g24_tx_attempt_fail 
+0x2677 010674 call g24_transmit_hop_process 
+0x2678 010675 branch g24_transmit_loop 
+:      010678 g24_ackpayload_parse:
+0x2679 010679 call g24_read_len_pid_crc 
+0x267a 010680 fetch 1 ,mem_24g_rxdata_length 
+0x267b 010681 rtn blank 
+0x267c 010682 iforce loopcnt 
+0x267d 010683 arg mem_24g_rxbuf + 2 ,contr 
+0x267e 010684 arg mem_24g_rxpayload ,contw 
+0x267f 010685 branch memcpy 
+:      010688 g24_tx_attempt_fail:
+0x2680 010689 setarg 0 
+0x2681 010690 store 2 ,mem_24g_txfail_cnt 
+0x2682 010691 jam 1 ,mem_24g_attempt_fail_flag 
+:      010692 g24_stop_24g_mode:
+0x2683 010693 jam bt_evt_24g_attempt_fail ,mem_fifo_temp 
+0x2684 010694 branch ui_ipc_send_event 
+:      010704 g24_transmit_hop_process:
+0x2685 010705 bpatchx patch3d_3 ,mem_patch3d 
+0x2686 010706 fetcht 1 ,mem_24g_retry 
+0x2687 010707 fetch 1 ,mem_24g_fast_hop_count 
+0x2688 010708 isub temp ,null 
+0x2689 010709 nbranch g24_tx_fast_hop ,positive 
+0x268a 010710 increase 1 ,temp 
+0x268b 010711 storet 1 ,mem_24g_retry 
+0x268c 010712 fetch 1 ,mem_24g_fast_hop_count 
+0x268d 010713 beq 5 ,g24_transmit_hop_process_4ms 
+0x268e 010714 fetch 1 ,mem_24g_retry 
+0x268f 010715 beq 6 ,g24_hop_ch_disable 
+0x2690 010716 beq 12 ,g24_hop_ch_disable 
+0x2691 010717 rtn 
+:      010720 g24_transmit_hop_process_4ms:
+0x2692 010721 fetch 1 ,mem_24g_retry 
+0x2693 010722 beq 3 ,g24_hop_ch_disable 
+0x2694 010723 beq 6 ,g24_hop_ch_disable 
+0x2695 010724 rtn 
+:      010728 g24_hop_ch_enable:
+:      010733 g24_txpayload_type_update:
+0x2696 010734 bmark1 mark_ble_lr ,g24_lr_type_update 
+0x2697 010735 store 1 ,mem_24g_txpayload + offset_data_type 
+0x2698 010736 rtn 
+:      010737 g24_lr_type_update:
+0x2699 010738 store 1 ,mem_24g_txpayload + offset_lr_data_type 
+0x269a 010739 rtn 
+:      010741 g24_hop_enable_packet:
+0x269b 010742 fetch 1 ,mem_24g_data_type 
+0x269c 010743 rtnbit0 bit_hop 
+:      010744 g24_hop_ch_disable:
+0x269d 010745 fetch 1 ,mem_24g_data_type 
+0x269e 010746 set0 bit_hop ,pdata 
+0x269f 010747 store 1 ,mem_24g_data_type 
+0x26a0 010748 call g24_txpayload_type_update 
+0x26a1 010749 call power_ctrl_pac_succ_decrs 
+0x26a2 010750 branch g24_ch 
+:      010752 g24_tx_fast_hop:
+0x26a3 010753 call power_ctrl_txpower_incrs 
+0x26a4 010754 call power_ctrl_pac_succ_decrs 
+0x26a5 010755 branch g24_ch 
+:      010773 g24_search_receiver:
+0x26a6 010774 fetch 2 ,mem_cb_24g_search_receiver 
+0x26a7 010775 branch callback_func 
+:      010777 g24_nodata_transmit:
+0x26a8 010778 fetch 1 ,mem_24g_abort_pac 
+0x26a9 010779 call g24_send_abort_packet ,blank 
+0x26aa 010780 fetch 1 ,mem_24g_transmit_by_interrupt 
+0x26ab 010781 rtneq g24_tx_timer_int_enable 
+0x26ac 010782 call g24_search_receiver 
+0x26ad 010783 branch g24_long_sleep 
+:      010785 g24_send_abort_packet:
+0x26ae 010786 jam type_ms ,mem_24g_data_type 
+0x26af 010787 jam 1 ,mem_24g_abort_pac 
+0x26b0 010788 call g24_transmit_rf_ctrl_clear 
+0x26b1 010789 store 1 ,mem_24g_txbuf 
+0x26b2 010790 setarg 0 
+0x26b3 010791 store 7 ,mem_24g_txbuf + 1 
+0x26b4 010792 fetch 4 ,mem_24g_device_addr 
+0x26b5 010793 store 4 ,mem_24g_txbuf + 8 
+0x26b6 010794 jam 12 ,mem_24g_datalen 
+0x26b7 010795 fetch 1 ,mem_24g_data_type 
+0x26b8 010796 set1 bit_abort ,pdata 
+0x26b9 010797 store 1 ,mem_24g_data_type 
+0x26ba 010798 call g24_transmit_prep 
+0x26bb 010799 branch g24_transmit_start 
+:      010801 g24_long_sleep:
+0x26bc 010802 call g24_lpm_wait 
+0x26bd 010803 nrtn user 
+0x26be 010804 fetch 8 ,mem_24g_enter_hibernate 
+:      010805 g24_long_seep2:
+0x26bf 010806 call clk2lpo 
+0x26c0 010807 storet 4 ,mem_sleep_counter 
+0x26c1 010808 branch lpm_sleep 
+:      010810 g24_lpm_wait:
+0x26c2 010811 bpatchx patch3d_4 ,mem_patch3d 
+0x26c3 010812 enable user 
+0x26c4 010813 call lpo_calibration 
+0x26c5 010814 fetch 3 ,mem_clks_per_lpo 
+0x26c6 010815 branch disable_user ,blank 
+0x26c7 010816 fetch 1 ,mem_lpm_mode 
+0x26c8 010817 branch disable_user ,blank 
+0x26c9 010818 fetch 1 ,mem_24g_transmit_by_interrupt 
+0x26ca 010819 beq g24_tx_timer_int_enable ,disable_user 
+:      010820 g24_setgpio_lpm_before:
+0x26cb 010821 fetch 2 ,mem_cb_24g_lpm_before 
+0x26cc 010822 branch callback_func 
+:      010835 g24_transmit_by_interrupt:
+0x26cd 010836 call g24_timer_check 
+0x26ce 010837 nrtn user 
+0x26cf 010838 call g24_interval_calibrate 
+0x26d0 010839 fetch 2 ,mem_24g_transmit_by_interrupt_exit_count 
+0x26d1 010840 increase 1 ,pdata 
+0x26d2 010841 store 2 ,mem_24g_transmit_by_interrupt_exit_count 
+0x26d3 010842 fetcht 2 ,mem_24g_transmit_by_interrupt_exit_count_init 
+0x26d4 010843 isub temp ,null 
+0x26d5 010844 call g24_transmit_by_interrupt_exit ,zero 
+0x26d6 010845 branch g24_transmit_no_interrupt 
+:      010848 g24_transmit_by_interrupt_exit:
+0x26d7 010849 jam g24_tx_timer_int_disable ,mem_24g_transmit_by_interrupt 
+0x26d8 010850 setarg 0 
+0x26d9 010851 store 2 ,mem_24g_transmit_by_interrupt_exit_count 
+0x26da 010852 setarg 100 
+0x26db 010853 store 2 ,mem_24g_transmit_by_interrupt_exit_count_init 
+:      010854 g24_interval_min:
+0x26dc 010855 jam 0 ,mem_24g_pac_index 
+0x26dd 010856 fetch 1 ,mem_24g_interval_min 
+:      010857 g24_interval_store:
+0x26de 010858 store 1 ,mem_24g_interval 
+0x26df 010859 rtn 
+:      010860 g24_interval_max:
+0x26e0 010861 fetch 1 ,mem_24g_interval_max 
+0x26e1 010862 branch g24_interval_store 
+:      010864 g24_interval_calibrate:
+0x26e2 010865 fetch 1 ,mem_24g_pac_index 
+0x26e3 010866 increase 1 ,pdata 
+0x26e4 010867 store 1 ,mem_24g_pac_index 
+0x26e5 010868 beq 4 ,g24_interval_max 
+0x26e6 010869 beq 5 ,g24_interval_min 
+0x26e7 010870 rtn 
+:      010872 g24_transmit_by_interrupt_enable:
+0x26e8 010873 jam g24_tx_timer_int_enable ,mem_24g_transmit_by_interrupt 
+0x26e9 010874 setarg 0 
+0x26ea 010875 store 2 ,mem_24g_transmit_by_interrupt_exit_count 
+0x26eb 010876 rtn 
+:      010886 g24_factory_check:
+0x26ec 010887 arg 2 ,loopcnt 
+0x26ed 010888 arg mem_24g_addr ,contr 
+:      010889 pdata_0xff_check:
+0x26ee 010890 call enable_user 
+0x26ef 010891 setarg 0xffff 
+:      010892 pdata_0xff_check_loop:
+0x26f0 010893 ifetcht 2 ,contr 
+0x26f1 010894 isub temp ,null 
+0x26f2 010895 ncall disable_user ,zero 
+0x26f3 010896 loop pdata_0xff_check_loop 
+0x26f4 010897 rtn 
+:      010907 power_ctrl_start:
+0x26f5 010908 bpatchx patch3d_5 ,mem_patch3d 
+0x26f6 010909 fetch 2 ,mem_ui_state_map 
+0x26f7 010910 rtnbit1 ui_state_ble_adv 
+0x26f8 010911 rtnbit1 ui_state_bt_reconnect 
+0x26f9 010912 rtnbit1 ui_state_bt_discovery 
+0x26fa 010913 fetchr rega ,2 ,mem_rssi_signal_buf_ptr 
+0x26fb 010914 call rssi_average 
+0x26fc 010915 storet 1 ,mem_rssi_avg_received 
+0x26fd 010916 fetch 1 ,mem_rssi_dis_max_24g 
+0x26fe 010917 bmark1 mark_24g ,power_ctrl_start_next 
+0x26ff 010918 fetch 1 ,mem_rssi_dis_max_ble 
+:      010919 power_ctrl_start_next:
+0x2700 010920 isub temp ,null 
+0x2701 010921 nbranch power_ctrl_txpower_incrs_force ,positive 
+0x2702 010922 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+0x2703 010923 sub pdata ,2 ,null 
+0x2704 010924 nbranch power_ctrl_txpower_decrs_check ,positive 
+0x2705 010925 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+0x2706 010926 beq 0 ,power_ctrl_txpower_incrs 
+0x2707 010927 rtn 
+:      010929 power_ctrl_txpower_decrs_check:
+0x2708 010930 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+0x2709 010931 fetcht 1 ,mem_power_ctrl_pac_succ_cnt_init 
+0x270a 010932 isub temp ,null 
+0x270b 010933 nrtn zero 
+0x270c 010934 jam 0 ,mem_power_ctrl_pac_succ_cnt 
+:      010935 power_ctrl_txpower_decrs:
+0x270d 010936 fetcht 1 ,mem_rssi_avg_received 
+0x270e 010937 fetch 1 ,mem_rssi_dis_min_24g 
+0x270f 010938 bmark1 mark_24g ,power_ctrl_txpower_decrs_next 
+0x2710 010939 fetch 1 ,mem_rssi_dis_min_ble 
+:      010940 power_ctrl_txpower_decrs_next:
+0x2711 010941 isub temp ,null 
+0x2712 010942 nrtn positive 
+0x2713 010943 fetch 1 ,mem_power_ctrl_level 
+0x2714 010944 beq 0 ,power_ctrl_decrs_level0 
+0x2715 010945 increase -1 ,pdata 
+0x2716 010946 store 1 ,mem_power_ctrl_level 
+0x2717 010947 beq 0 ,power_ctrl_decrs_level0 
+:      010948 power_ctrl_decrs_level1:
+:      010949 power_ctrl_incrs_level1:
+0x2718 010950 jam tx_power_0db ,mem_tx_power 
+0x2719 010951 rtn 
+:      010953 power_ctrl_txpower_incrs_force:
+0x271a 010954 jam 0 ,mem_power_ctrl_pac_succ_cnt 
+:      010955 power_ctrl_txpower_incrs:
+0x271b 010956 fetch 1 ,mem_power_ctrl_level 
+0x271c 010957 beq 2 ,power_ctrl_incrs_level2 
+0x271d 010958 increase 1 ,pdata 
+0x271e 010959 store 1 ,mem_power_ctrl_level 
+0x271f 010960 beq 1 ,power_ctrl_incrs_level1 
+:      010961 power_ctrl_incrs_level2:
+0x2720 010962 jam tx_power_6db ,mem_tx_power 
+0x2721 010963 rtn 
+:      010965 power_ctrl_decrs_level0:
+0x2722 010966 jam tx_power_f5db ,mem_tx_power 
+0x2723 010967 rtn 
+:      010969 power_ctrl_pac_succ_cnt_init:
+0x2724 010970 jam 1 ,mem_power_ctrl_level 
+0x2725 010971 jam 0 ,mem_power_ctrl_pac_succ_cnt 
+0x2726 010972 rtn 
+:      010974 power_ctrl_pac_succ_incrs:
+0x2727 010975 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+0x2728 010976 increase 1 ,pdata 
+0x2729 010977 store 1 ,mem_power_ctrl_pac_succ_cnt 
+0x272a 010978 rtn 
+:      010980 power_ctrl_pac_succ_decrs:
+0x272b 010981 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+0x272c 010982 sub pdata ,2 ,null 
+0x272d 010983 ncall power_ctrl_pac_succ_cnt_reinit ,positive 
+0x272e 010984 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+0x272f 010985 rtneq 0 
+0x2730 010986 increase -1 ,pdata 
+0x2731 010987 store 1 ,mem_power_ctrl_pac_succ_cnt 
+0x2732 010988 rtn 
+:      010990 power_ctrl_pac_succ_cnt_reinit:
+0x2733 010991 jam 3 ,mem_power_ctrl_pac_succ_cnt 
+0x2734 010992 rtn 
+:      011002 ali_mesh_access_layer_resolve_message:
+0x2735 011003 fetch 1 ,mem_ccm_data_len 
+0x2736 011004 store 1 ,mem_mesh_receive_model_message_payload_len 
+0x2737 011005 copy alarm ,contr 
+0x2738 011006 call memcpy24 
+0x2739 011007 call logging_tx_info_receive_access_message 
+0x273a 011008 fetch 2 ,mem_mesh_cb_receive_access_message 
+0x273b 011009 branch callback_func 
+:      011011 ali_mesh_access_layer_check_access_message_opcode:
+0x273c 011012 fetch 1 ,mem_mesh_receive_model_message_payload_opcode 
+0x273d 011013 beq mesh_message_opcode_config_appkey_add ,ali_mesh_access_layer_message_opcode_config_appkey_add 
+0x273e 011014 beq mesh_configuration_and_health_message_opcode_header ,ali_mesh_access_layer_config_or_health_message_opcode 
+0x273f 011015 beq mesh_module_message_opcode_header ,ali_mesh_model_layer_check_model_message_opcode 
+0x2740 011016 beq vendor_message_attr_set ,ali_mesh_ali_vendor_message_attribute_set 
+0x2741 011017 beq vendor_message_attr_get ,ali_mesh_ali_vendor_message_opcode_attr_get 
+0x2742 011018 beq vendor_message_attr_confirmation ,ali_mesh_ali_vendor_message_opcode_attr_confrimation 
+0x2743 011019 rtn 
+:      011022 ali_mesh_access_layer_message_opcode_config_appkey_add:
+0x2744 011023 arg mem_mesh_receive_application_key ,contr 
+0x2745 011024 arg mem_mesh_application_key ,contw 
+0x2746 011025 call memcpy16 
+0x2747 011026 jam paired_status ,mem_mesh_provisioned_flag 
+0x2748 011027 call ali_mesh_encrypt_base_function_k3 
+0x2749 011028 call ali_mesh_encrypt_base_function_k4 
+0x274a 011029 call ali_mesh_access_layer_finish_pairing_init_subscription_list 
+0x274b 011030 call ali_mesh_accesss_layer_check_message_type 
+0x274c 011031 call ali_mesh_access_layer_send_config_appkey_status 
+0x274d 011032 jam paired_status ,mem_mesh_provisioned_flag 
+0x274e 011033 fetch 2 ,mem_mesh_cb_receive_config_appkey_add 
+0x274f 011034 branch callback_func 
+:      011036 ali_mesh_accesss_layer_check_message_type:
+0x2750 011037 fetch 1 ,mem_mesh_network_packet_type 
+0x2751 011038 jam received_config_appkey_add ,mem_mesh_provisioned_flag 
+0x2752 011039 rtneq mesh_message_app 
+0x2753 011040 jam paired_status ,mem_mesh_provisioned_flag 
+0x2754 011041 rtn 
+:      011043 ali_mesh_access_layer_send_config_appkey_status:
+0x2755 011044 setarg mesh_configuration_and_health_message_opcode_header 
+0x2756 011045 store 1 ,mem_mesh_access_layer_payload 
+0x2757 011046 setarg mesh_message_opcode_config_config_model_publication_set 
+0x2758 011047 istore 1 ,contw 
+0x2759 011048 setarg status_code_success 
+0x275a 011049 istore 1 ,contw 
+0x275b 011050 fetch 3 ,mem_mesh_netkeyindex_and_appkeyindex 
+0x275c 011051 istore 3 ,contw 
+0x275d 011052 jam 6 ,mem_mesh_access_layer_payload_len 
+0x275e 011053 branch ali_mesh_upper_transport_layer_send_access_message 
+:      011056 ali_mesh_access_layer_finish_pairing_init_subscription_list:
+0x275f 011057 fetch 2 ,mem_mesh_core_feature 
+0x2760 011058 rtnbit1 mesh_feature_disable_subscription 
+0x2761 011059 call mesh_get_element_info_config 
+:      011060 ali_mesh_access_layer_finish_pairing_init_subscription_list_loop:
+0x2762 011061 add rega ,element_device_subscription_label ,regc 
+0x2763 011062 setarg -1 
+0x2764 011063 istore subscription_max_count ,regc 
+0x2765 011064 istore subscription_max_count ,contw 
+0x2766 011065 ifetch 2 ,rega 
+0x2767 011066 istore 2 ,regc 
+0x2768 011067 copy regb ,pdata 
+0x2769 011068 iadd rega ,rega 
+0x276a 011069 loop ali_mesh_access_layer_finish_pairing_init_subscription_list_loop 
+0x276b 011070 fetch 2 ,mem_mesh_cb_subscriptuion_list_changed 
+0x276c 011071 branch callback_func 
+:      011074 ali_mesh_access_layer_send_generic_onoff_status:
+0x276d 011075 setarg mesh_module_message_opcode_header 
+0x276e 011076 store 1 ,mem_mesh_access_layer_payload 
+0x276f 011077 setarg mesh_module_message_opcode_generic_onoff_status_no_head 
+0x2770 011078 istore 1 ,contw 
+0x2771 011079 fetch 1 ,mem_mesh_generic_onoff_set_payload_onoff 
+0x2772 011080 istore 1 ,contw 
+0x2773 011081 jam 3 ,mem_mesh_access_layer_payload_len 
+0x2774 011082 branch ali_mesh_upper_transport_layer_send_access_message 
+:      011085 ali_mesh_access_layer_send_light_lightness_status:
+0x2775 011086 setarg mesh_module_message_opcode_header 
+0x2776 011087 store 1 ,mem_mesh_access_layer_payload 
+0x2777 011088 setarg mesh_module_message_opcode_light_lightness_status_no_head 
+0x2778 011089 istore 1 ,contw 
+0x2779 011090 fetch 2 ,mem_mesh_light_lightness_set_payload_lightness 
+0x277a 011091 istore 2 ,contw 
+0x277b 011092 jam 4 ,mem_mesh_access_layer_payload_len 
+0x277c 011093 branch ali_mesh_upper_transport_layer_send_access_message 
+:      011096 ali_mesh_access_layer_send_light_ctl_stauts:
+0x277d 011097 setarg mesh_module_message_opcode_header 
+0x277e 011098 store 1 ,mem_mesh_access_layer_payload 
+0x277f 011099 setarg mesh_module_message_opcode_light_ctl_status_no_head 
+0x2780 011100 istore 1 ,contw 
+0x2781 011101 fetch 4 ,mem_mesh_ctl_lightness 
+0x2782 011102 istore 4 ,contw 
+0x2783 011103 jam 6 ,mem_mesh_access_layer_payload_len 
+0x2784 011104 branch ali_mesh_upper_transport_layer_send_access_message 
+:      011108 ali_mesh_access_layer_send_scene_status:
+0x2785 011109 setarg mesh_module_message_opcode_scene_status 
+0x2786 011110 store 1 ,mem_mesh_access_layer_payload 
+0x2787 011111 setarg mesh_success 
+0x2788 011112 istore 1 ,contw 
+0x2789 011113 fetch 2 ,mem_mesh_scene_recall_payload_scene_number 
+0x278a 011114 istore 2 ,contw 
+0x278b 011115 jam 4 ,mem_mesh_access_layer_payload_len 
+0x278c 011116 branch ali_mesh_upper_transport_layer_send_access_message 
+:      011120 logging_tx_info_receive_access_message:
+0x278d 011121 fetchr loopcnt ,1 ,mem_ccm_data_len 
+0x278e 011122 copy alarm ,rega 
+0x278f 011123 arg mesh_access_receive_message ,regb 
+0x2790 011124 branch logging_tx_info 
+:      011129 ali_mesh_ali_vendor_message_attribute_set:
+0x2791 011130 call ali_mesh_ali_vendor_message_attrbute_check_company_id_and_tid 
+0x2792 011131 nrtn user 
+0x2793 011132 fetch 2 ,mem_mesh_vendor_message_attr_type 
+0x2794 011133 arg vendor_message_attr_type_time ,temp 
+0x2795 011134 isub temp ,null 
+0x2796 011135 branch ali_mesh_ali_vendor_message_opcode_timer_set_curr_time ,zero 
+0x2797 011136 arg vendor_message_attr_type_timing ,temp 
+0x2798 011137 isub temp ,null 
+0x2799 011138 branch ali_mesh_ali_vendor_message_opcode_timer_set_timing ,zero 
+0x279a 011139 arg vendor_message_attr_type_cycle_timing ,temp 
+0x279b 011140 isub temp ,null 
+0x279c 011141 branch ali_mesh_ali_vendor_message_opcode_timer_set_timing_cyclically ,zero 
+0x279d 011142 arg vendor_message_attr_type_delete_timing ,temp 
+0x279e 011143 isub temp ,null 
+0x279f 011144 branch ali_mesh_ali_vendor_message_opcode_timer_delete_timing ,zero 
+0x27a0 011145 arg vendor_message_attr_type_main_light ,temp 
+0x27a1 011146 isub temp ,null 
+0x27a2 011147 branch ali_mesh_ali_vendor_message_attribute_set_main_light ,zero 
+0x27a3 011148 arg vendor_message_attr_type_background_light ,temp 
+0x27a4 011149 isub temp ,null 
+0x27a5 011150 branch ali_mesh_ali_vendor_message_attribute_set_background_light ,zero 
+0x27a6 011151 arg vendor_message_attr_type_color ,temp 
+0x27a7 011152 isub temp ,null 
+0x27a8 011153 branch ali_mesh_ali_vendor_message_attribute_set_color ,zero 
+0x27a9 011154 fetch 2 ,mem_mesh_cb_recv_vendor 
+0x27aa 011155 branch callback_func 
+:      011157 ali_mesh_ali_vendor_message_opcode_attr_get:
+:      011158 ali_mesh_ali_vendor_message_opcode_attr_confrimation:
+0x27ab 011159 rtn 
+:      011161 ali_mesh_ali_vendor_message_attrbute_check_company_id_and_tid:
+0x27ac 011162 call disable_user 
+0x27ad 011163 fetch 2 ,mem_mesh_vendor_message_cid 
+0x27ae 011164 arg vendor_message_opcode_company_id ,temp 
+0x27af 011165 isub temp ,null 
+0x27b0 011166 nrtn zero 
+0x27b1 011167 fetcht 1 ,mem_mesh_vendor_mesh_receive_tid 
+0x27b2 011168 fetch 1 ,mem_mesh_vendor_message_tid 
+0x27b3 011169 isub temp ,null 
+0x27b4 011170 rtn zero 
+0x27b5 011171 store 1 ,mem_mesh_vendor_mesh_receive_tid 
+0x27b6 011172 branch enable_user 
+:      011174 ali_mesh_ali_vendor_message_attribute_set_main_light:
+0x27b7 011175 call ali_mesh_ali_vendor_message_ack_attr_status_uint8 
+0x27b8 011176 fetch 2 ,mem_mesh_cb_main_light_onoff_set 
+0x27b9 011177 branch callback_func 
+:      011180 ali_mesh_ali_vendor_message_attribute_set_background_light:
+0x27ba 011181 call ali_mesh_ali_vendor_message_ack_attr_status_uint8 
+0x27bb 011182 fetch 2 ,mem_mesh_cb_background_onoff_set 
+0x27bc 011183 branch callback_func 
+:      011185 ali_mesh_ali_vendor_message_attribute_set_color:
+0x27bd 011186 call ali_mesh_ali_vendor_message_ack_attr_status_uint48 
+0x27be 011187 fetch 2 ,mem_mesh_cb_color_set 
+0x27bf 011188 branch callback_func 
+:      011191 ali_mesh_ali_vendor_message_opcode_timer_set_curr_time:
+0x27c0 011192 call ali_mesh_ali_vendor_message_ack_attr_status_uint32 
+0x27c1 011194 fetch 4 ,mem_mesh_vendor_message_current_time 
+0x27c2 011195 store 4 ,mem_mesh_vendor_timer_current_time 
+0x27c3 011196 branch ali_mesh_time_init_system_time 
+:      011199 ali_mesh_ali_vendor_message_opcode_timer_set_timing:
+0x27c4 011200 call ali_mesh_ali_vendor_message_ack_attr_status_uint64 
+0x27c5 011201 call ali_mesh_ali_vendor_message_calc_timing_address 
+0x27c6 011202 rtn blank 
+0x27c7 011203 fetch 1 ,mem_mesh_vendor_timer_timing_index 
+0x27c8 011204 call ali_mesh_vendor_timer_buffer_offset_cal 
+0x27c9 011205 fetcht 8 ,mem_mesh_vendor_timer_timing_index 
+0x27ca 011206 istoret 8 ,contw 
+:      011207 ali_mesh_ali_vendor_message_cb_timing_changed:
+0x27cb 011208 fetch 2 ,mem_mesh_cb_vendor_timing_changed 
+0x27cc 011209 branch callback_func 
+:      011211 ali_mesh_ali_vendor_message_opcode_timer_set_timing_cyclically:
+0x27cd 011212 call ali_mesh_ali_vendor_message_ack_attr_status_uint56 
+0x27ce 011213 call ali_mesh_ali_vendor_message_calc_timing_address 
+0x27cf 011214 rtn blank 
+0x27d0 011215 jam timer_cyclical_falg ,mem_mesh_vendor_timer_timing_cyclic_flag 
+0x27d1 011216 fetch 1 ,mem_mesh_vendor_timer_timing_index_cyclic 
+0x27d2 011217 call ali_mesh_vendor_timer_buffer_offset_cal 
+0x27d3 011218 fetch 8 ,mem_mesh_vendor_timer_timing_index_cyclic 
+0x27d4 011219 istore 8 ,contw 
+0x27d5 011220 branch ali_mesh_ali_vendor_message_cb_timing_changed 
+:      011223 ali_mesh_ali_vendor_message_opcode_timer_delete_timing:
+0x27d6 011224 call ali_mesh_ali_vendor_message_opcode_timer_delete_timing_ack 
+0x27d7 011225 call ali_mesh_ali_vendor_message_calc_timing_address 
+0x27d8 011226 rtn blank 
+0x27d9 011227 fetch 1 ,mem_mesh_vendor_timer_timing_index 
+0x27da 011228 rtn blank 
+0x27db 011229 call ali_mesh_vendor_timer_buffer_offset_cal 
+0x27dc 011230 arg 0 ,temp 
+0x27dd 011231 istoret 1 ,contw 
+0x27de 011232 fetch 1 ,mem_mesh_receive_model_message_payload_len 
+0x27df 011233 sub pdata ,8 ,null 
+0x27e0 011234 call ali_mesh_ali_vendor_message_opcode_timer_delete_timing_delete_second ,zero 
+0x27e1 011235 branch ali_mesh_ali_vendor_message_cb_timing_changed 
+:      011237 ali_mesh_ali_vendor_message_opcode_timer_delete_timing_delete_second:
+0x27e2 011238 call ali_mesh_ali_vendor_message_calc_timing_address 
+0x27e3 011239 fetch 1 ,mem_mesh_vendor_timer_timing_index1 
+0x27e4 011240 call ali_mesh_vendor_timer_buffer_offset_cal 
+0x27e5 011241 arg 0 ,temp 
+0x27e6 011242 istoret 1 ,contw 
+0x27e7 011243 rtn 
+:      011246 ali_mesh_ali_vendor_message_opcode_timer_delete_timing_ack:
+0x27e8 011247 fetch 1 ,mem_mesh_receive_model_message_payload_len 
+0x27e9 011248 beq 7 ,ali_mesh_ali_vendor_message_ack_attr_status_uint8 
+0x27ea 011249 branch ali_mesh_ali_vendor_message_ack_attr_status_uint16 
+:      011251 ali_mesh_vendor_timer_buffer_offset_cal:
+0x27eb 011252 pincrease -1 
+0x27ec 011253 lshift3 pdata ,pdata 
+0x27ed 011254 iadd contw ,contw 
+0x27ee 011255 rtn 
+:      011258 ali_mesh_ali_vendor_message_calc_timing_address:
+0x27ef 011259 call mesh_get_element_info_config 
+0x27f0 011260 add rega ,element_device_vendor_time_ptr ,rega 
+0x27f1 011261 fetch 1 ,mem_mesh_receive_element_number 
+0x27f2 011262 imul32 regb ,pdata 
+0x27f3 011263 iadd rega ,rega 
+0x27f4 011264 ifetch 2 ,rega 
+0x27f5 011265 copy pdata ,contw 
+0x27f6 011266 rtn 
+:      011271 ali_mesh_ali_vendor_message_status_add_head:
+0x27f7 011272 setarg vendor_message_attr_status 
+0x27f8 011273 store 1 ,mem_mesh_access_layer_payload 
+0x27f9 011274 setarg vendor_message_opcode_company_id 
+0x27fa 011275 istore 2 ,contw 
+0x27fb 011276 fetch 1 ,mem_mesh_vendor_mesh_receive_tid 
+0x27fc 011277 istore 1 ,contw 
+0x27fd 011278 istoret 2 ,contw 
+0x27fe 011279 rtn 
+:      011283 ali_mesh_ali_vendor_message_opcode_device_power_on:
+0x27ff 011284 arg 0 ,queue 
+0x2800 011285 arg vendor_message_event_device_power_on ,temp 
+0x2801 011286 arg vendor_attr_type_event_trigger ,rega 
+0x2802 011287 branch ali_mesh_ali_vendor_message_opcode_para_uint8 
+:      011298 ali_mesh_ali_vendor_message_opcode_generic_onoff:
+0x2803 011299 arg vendor_attr_generic_onoff_server ,rega 
+0x2804 011300 branch ali_mesh_ali_vendor_message_opcode_para_uint8 
+:      011304 ali_mesh_ali_vendor_message_opcode_scene_server_first_element:
+0x2805 011305 arg 0 ,queue 
+:      011309 ali_mesh_ali_vendor_message_opcode_scene_server:
+0x2806 011310 arg vendor_attr_scene_server ,rega 
+0x2807 011311 branch ali_mesh_ali_vendor_message_opcode_para_uint16 
+:      011314 ali_mesh_ali_vendor_message_opcode_main_light_onoff_first_element:
+0x2808 011315 arg 0 ,queue 
+:      011321 ali_mesh_ali_vendor_message_opcode_main_light_onoff:
+0x2809 011322 arg vendor_attr_main_light_server ,rega 
+0x280a 011323 branch ali_mesh_ali_vendor_message_opcode_para_uint8 
+:      011325 ali_mesh_ali_vendor_message_opcode_background_light_onoff_first_element:
+0x280b 011326 arg 0 ,queue 
+:      011332 ali_mesh_ali_vendor_message_opcode_background_light_onoff:
+0x280c 011333 arg vendor_attr_background_light_onoff_server ,rega 
+0x280d 011334 branch ali_mesh_ali_vendor_message_opcode_para_uint8 
+:      011336 ali_mesh_ali_vendor_message_opcode_brightness_first_element:
+0x280e 011337 arg 0 ,queue 
+:      011340 ali_mesh_ali_vendor_message_opcode_brightness:
+0x280f 011341 call ali_mesh_model_layer_message_calc_actual_lightness 
+0x2810 011342 arg vendor_attr_lightness_level_server ,rega 
+0x2811 011343 branch ali_mesh_ali_vendor_message_opcode_para_uint16 
+:      011345 ali_mesh_ali_vendor_message_opcode_color_temperature_first_element:
+0x2812 011346 arg 0 ,queue 
+:      011349 ali_mesh_ali_vendor_message_opcode_color_temperature:
+0x2813 011350 call ali_mesh_model_layer_message_calc_actual_temperature 
+0x2814 011351 arg vendor_attr_color_temperature_server ,rega 
+0x2815 011352 branch ali_mesh_ali_vendor_message_opcode_para_uint16 
+:      011356 ali_mesh_ali_vendor_message_opcode_timing_finish:
+0x2816 011357 lshift temp ,temp 
+0x2817 011358 or temp ,vendor_message_event_finish_timing ,temp 
+0x2818 011359 arg vendor_attr_type_event_trigger ,rega 
+0x2819 011360 branch ali_mesh_ali_vendor_message_opcode_para_uint16 
+:      011363 ali_mesh_ali_vendor_message_indication_info_add_head_event_trigger:
+0x281a 011364 call ali_mesh_ali_vendor_message_indication_info_add_head 
+0x281b 011365 setarg vendor_attr_type_event_trigger 
+0x281c 011366 istore 2 ,contw 
+0x281d 011367 rtn 
+:      011369 ali_mesh_ali_vendor_message_ack_attr_status_uint64:
+0x281e 011370 arg 8 ,loopcnt 
+0x281f 011371 branch ali_mesh_ali_vendor_message_ack_attr_status 
+:      011373 ali_mesh_ali_vendor_message_ack_attr_status_uint56:
+0x2820 011374 arg 8 ,loopcnt 
+0x2821 011375 branch ali_mesh_ali_vendor_message_ack_attr_status 
+:      011377 ali_mesh_ali_vendor_message_ack_attr_status_uint48:
+0x2822 011378 arg 6 ,loopcnt 
+0x2823 011379 branch ali_mesh_ali_vendor_message_ack_attr_status 
+:      011381 ali_mesh_ali_vendor_message_ack_attr_status_uint32:
+0x2824 011382 arg 4 ,loopcnt 
+0x2825 011383 branch ali_mesh_ali_vendor_message_ack_attr_status 
+:      011385 ali_mesh_ali_vendor_message_ack_attr_status_uint16:
+0x2826 011386 arg 2 ,loopcnt 
+0x2827 011387 branch ali_mesh_ali_vendor_message_ack_attr_status 
+:      011389 ali_mesh_ali_vendor_message_ack_attr_status_uint8:
+0x2828 011390 arg 1 ,loopcnt 
+0x2829 011391 branch ali_mesh_ali_vendor_message_ack_attr_status 
+:      011394 ali_mesh_ali_vendor_message_ack_attr_status:
+0x282a 011395 add loopcnt ,6 ,pdata 
+0x282b 011396 store 1 ,mem_mesh_access_layer_payload_len 
+0x282c 011397 call ali_mesh_ali_vendor_message_status_add_head 
+0x282d 011398 arg mem_mesh_vendor_attr_parameter ,contr 
+0x282e 011399 call memcpy 
+0x282f 011400 branch ali_mesh_upper_transport_layer_send_access_message 
+:      011407 ali_mesh_ali_vendor_message_opcode_para_uint8:
+0x2830 011408 call ali_mesh_ali_vendor_message_indication_info_add_head 
+0x2831 011409 istorer rega ,2 ,contw 
+0x2832 011410 istoret 1 ,contw 
+0x2833 011411 jam 7 ,mem_mesh_access_layer_payload_len 
+0x2834 011412 branch ali_mesh_ali_vendor_message_send_message 
+:      011418 ali_mesh_ali_vendor_message_opcode_para_uint16:
+0x2835 011419 call ali_mesh_ali_vendor_message_indication_info_add_head 
+0x2836 011420 istorer rega ,2 ,contw 
+0x2837 011421 istoret 2 ,contw 
+0x2838 011422 jam 8 ,mem_mesh_access_layer_payload_len 
+0x2839 011423 branch ali_mesh_ali_vendor_message_send_message 
+:      011427 ali_mesh_ali_vendor_message_send_message:
+0x283a 011428 call ali_mesh_more_element_calc_queue_address 
+0x283b 011429 branch ali_mesh_upper_transport_layer_send_access_message_without_cleat_tx_buffer 
+:      011432 ali_mesh_ali_vendor_message_indication_info_add_head:
+0x283c 011433 fetch 1 ,mem_mesh_transport_aid 
+0x283d 011434 store 1 ,mem_mesh_message_transport_head 
+0x283e 011435 setarg vendor_message_tmall_dst 
+0x283f 011436 store 2 ,mem_mesh_send_message_dst 
+0x2840 011437 fetch 1 ,mem_mesh_vendor_mesh_send_tid 
+0x2841 011438 pincrease 1 
+0x2842 011439 store 1 ,mem_mesh_vendor_mesh_send_tid 
+0x2843 011440 beq vendor_message_send_tid_max ,ali_mesh_ali_vendor_message_indication_info_reset_tid 
+0x2844 011441 setarg vendor_message_attr_indication 
+0x2845 011442 store 1 ,mem_mesh_access_layer_payload 
+0x2846 011443 setarg vendor_message_opcode_company_id 
+0x2847 011444 istore 2 ,contw 
+0x2848 011445 fetch 1 ,mem_mesh_vendor_mesh_send_tid 
+0x2849 011446 istore 1 ,contw 
+0x284a 011447 rtn 
+:      011449 ali_mesh_ali_vendor_message_indication_info_reset_tid:
+0x284b 011450 jam vendor_message_send_tid_min ,mem_mesh_vendor_mesh_send_tid 
+0x284c 011451 rtn 
+:      011453 ali_mesh_time_function:
+0x284d 011454 copy clkn_bt ,temp 
+0x284e 011455 fetch 4 ,mem_system_time 
+0x284f 011456 isub temp ,null 
+0x2850 011457 call ali_mesh_timer_timeout ,positive 
+0x2851 011458 call ali_mesh_clkn_bt_add_1s 
+0x2852 011459 isub temp ,null 
+0x2853 011460 rtn positive 
+0x2854 011461 call ali_mesh_time_init_system_time_without_clk 
+0x2855 011462 fetch 4 ,mem_mesh_vendor_timer_current_time 
+0x2856 011463 pincrease 1 
+0x2857 011464 store 4 ,mem_mesh_vendor_timer_current_time 
+0x2858 011465 branch ali_mesh_ali_vendor_check_time 
+:      011468 ali_mesh_time_init_system_time:
+0x2859 011469 copy clkn_bt ,pdata 
+:      011470 ali_mesh_time_init_system_time_without_clk:
+0x285a 011471 store 4 ,mem_system_time 
+0x285b 011472 fetch 1 ,mem_system_time + 3 
+0x285c 011473 and_into 0x0f ,pdata 
+0x285d 011474 store 1 ,mem_system_time + 3 
+0x285e 011475 rtn 
+:      011477 ali_mesh_timer_timeout:
+0x285f 011478 rtn zero 
+0x2860 011479 copy pdata ,regb 
+0x2861 011480 setarg 0x100000 
+0x2862 011481 lshift8 pdata ,pdata 
+0x2863 011482 iadd temp ,temp 
+0x2864 011483 copy regb ,pdata 
+0x2865 011484 rtn 
+:      011486 ali_mesh_clkn_bt_add_1s:
+0x2866 011487 arg 20 ,loopcnt 
+:      011488 ali_mesh_time_loop:
+0x2867 011489 pincrease 160 
+0x2868 011490 loop ali_mesh_time_loop 
+0x2869 011491 rtn 
+:      011493 ali_mesh_ali_vendor_check_time:
+0x286a 011494 call mesh_get_element_info_config 
+0x286b 011495 add rega ,element_device_vendor_time_ptr ,rega 
+0x286c 011496 jam 0 ,mem_mesh_receive_element_number 
+:      011498 ali_mesh_ali_vendor_check_time_loop:
+0x286d 011499 call ali_mesh_more_element_push_stack 
+0x286e 011500 ifetch 2 ,rega 
+0x286f 011501 branch ali_mesh_ali_vendor_check_time_next_element ,blank 
+0x2870 011502 copy pdata ,alarm 
+0x2871 011503 call ali_mesh_ali_vendor_check_time_one_element 
+:      011504 ali_mesh_ali_vendor_check_time_next_element:
+0x2872 011505 call ali_mesh_more_element_pop_stack 
+0x2873 011506 fetch 1 ,mem_mesh_receive_element_number 
+0x2874 011507 pincrease 1 
+0x2875 011508 store 1 ,mem_mesh_receive_element_number 
+0x2876 011509 fetcht 1 ,mem_mesh_element_number 
+0x2877 011510 isub temp ,pdata 
+0x2878 011511 rtn zero 
+0x2879 011512 copy regb ,pdata 
+0x287a 011513 iadd rega ,rega 
+0x287b 011514 branch ali_mesh_ali_vendor_check_time_loop 
+:      011516 ali_mesh_ali_vendor_check_time_one_element:
+0x287c 011517 arg 40 ,loopcnt 
+:      011521 ali_mesh_ali_vendor_check_time_one_element_loop:
+0x287d 011522 copy loopcnt ,pdata 
+0x287e 011523 store 1 ,mem_mesh_loopcnt_tmep 
+0x287f 011524 ifetch 1 ,alarm 
+0x2880 011525 ncall ali_mesh_ali_vendor_had_timing ,blank 
+0x2881 011526 increase 8 ,alarm 
+0x2882 011527 fetch 1 ,mem_mesh_loopcnt_tmep 
+0x2883 011528 copy pdata ,loopcnt 
+0x2884 011529 loop ali_mesh_ali_vendor_check_time_one_element_loop 
+0x2885 011530 rtn 
+:      011532 ali_mesh_ali_vendor_had_timing:
+0x2886 011533 ifetcht 8 ,alarm 
+0x2887 011534 storet 8 ,mem_mesh_vendor_timer_timing_index_cyclic 
+0x2888 011535 fetch 1 ,mem_mesh_vendor_timer_timing_attr_para 
+0x2889 011536 beq timer_cyclical_falg ,ali_mesh_ali_vendor_had_timing_cyclically 
+0x288a 011537 fetcht 4 ,mem_mesh_vendor_timer_current_time 
+0x288b 011538 fetch 4 ,mem_mesh_vendor_timer_timing_time 
+0x288c 011539 isub temp ,null 
+0x288d 011540 fetch 1 ,mem_mesh_vendor_timer_timing_attr_para 
+0x288e 011541 branch ali_mesh_ali_vendor_time_timeout ,zero 
+0x288f 011542 rtn 
+:      011544 ali_mesh_ali_vendor_time_timeout:
+0x2890 011545 store 1 ,mem_mesh_generic_onoff_set_payload_onoff 
+0x2891 011547 fetch 2 ,mem_mesh_cb_generic_onoff_set 
+0x2892 011548 call callback_func 
+0x2893 011550 copy alarm ,pdata 
+0x2894 011551 store 2 ,mem_mesh_alarm_temp 
+0x2895 011553 fetchr queue ,1 ,mem_mesh_receive_element_number 
+0x2896 011554 ifetcht 1 ,alarm 
+0x2897 011555 call ali_mesh_ali_vendor_message_opcode_timing_finish 
+0x2898 011557 fetcht 1 ,mem_mesh_generic_onoff_set_payload_onoff 
+0x2899 011558 fetchr queue ,1 ,mem_mesh_receive_element_number 
+0x289a 011559 call ali_mesh_ali_vendor_message_opcode_generic_onoff 
+0x289b 011561 fetch 2 ,mem_mesh_alarm_temp 
+0x289c 011562 copy pdata ,alarm 
+0x289d 011563 setarg 0 
+0x289e 011564 istore 1 ,alarm 
+0x289f 011565 branch ali_mesh_ali_vendor_message_cb_timing_changed 
+:      011568 ali_mesh_ali_vendor_had_timing_cyclically:
+0x28a0 011569 fetch 4 ,mem_mesh_vendor_timer_current_time 
+0x28a1 011570 arg seconds_of_min ,temp 
+0x28a2 011571 idiv temp 
+0x28a3 011572 call wait_div_end 
+0x28a4 011573 remainder pdata 
+0x28a5 011574 nrtn blank 
+0x28a6 011576 fetch 4 ,mem_mesh_vendor_timer_current_time 
+0x28a7 011577 arg seconds_of_four_days ,temp 
+0x28a8 011578 isub temp ,pdata 
+0x28a9 011580 arg seconds_of_week ,temp 
+0x28aa 011581 idiv temp 
+0x28ab 011582 call wait_div_end 
+0x28ac 011583 remainder pdata 
+0x28ad 011584 arg seconds_of_day ,temp 
+0x28ae 011585 idiv temp 
+0x28af 011586 call wait_div_end 
+0x28b0 011587 remainder rega 
+0x28b1 011588 quotient queue 
+0x28b2 011590 setarg 0 
+0x28b3 011591 qset1 pdata 
+0x28b4 011592 fetcht 1 ,mem_mesh_vendor_timer_timing_weekdays_cyclic 
+0x28b5 011593 iand temp ,pdata 
+0x28b6 011594 rtn blank 
+0x28b7 011595 deposit rega 
+0x28b8 011596 arg seconds_of_min ,temp 
+0x28b9 011597 idiv temp 
+0x28ba 011598 call wait_div_end 
+0x28bb 011599 quotient temp 
+0x28bc 011600 setarg eight_hours_time_zone_offset 
+0x28bd 011601 iadd temp ,temp 
+0x28be 011602 fetch 2 ,mem_mesh_vendor_timer_timing_time_cyclic 
+0x28bf 011603 isub temp ,null 
+0x28c0 011604 nrtn zero 
+0x28c1 011605 fetch 1 ,mem_mesh_vendor_timer_timing_attr_para_cyclic 
+0x28c2 011606 branch ali_mesh_ali_vendor_time_timeout 
+:      011611 ali_mesh_bearer_layer_send_packet_by_network_layer:
+0x28c3 011612 bpatchx patch3d_6 ,mem_patch3d 
+0x28c4 011613 jam adv_pairing_mesh_message_duration ,mem_mesh_queue_ele_duration 
+0x28c5 011614 fetch 1 ,mem_mesh_gatt_package_send_msg_id 
+0x28c6 011615 store 1 ,mem_mesh_queue_ele_gatt_msg_id 
+0x28c7 011617 fetch 1 ,mem_mesh_lower_transport_layer_payload_len 
+0x28c8 011618 pincrease 11 
+0x28c9 011619 add pdata ,-2 ,loopcnt 
+0x28ca 011628 store 1 ,mem_mesh_queue_ele_len 
+0x28cb 011629 pincrease -1 
+0x28cc 011632 istore 1 ,contw 
+0x28cd 011633 setarg gap_adtype_mesh_message 
+0x28ce 011634 istore 1 ,contw 
+0x28cf 011635 arg mem_mesh_send_upper_layer_ivi_and_nid ,contr 
+0x28d0 011636 call memcpy_fast 
+0x28d1 011637 fetch 2 ,mem_ui_state_map 
+0x28d2 011638 isolate1 ui_state_ble_connected ,pdata 
+0x28d3 011639 call ali_mesh_send_ble_data ,true 
+0x28d4 011640 fetchr rega ,2 ,mem_mesh_rega_temp 
+0x28d5 011641 call ali_mesh_advertising_bearer_layer_init_queue_param 
+0x28d6 011642 branch queue_push 
+:      011644 ali_mesh_advertising_bearer_layer_init_queue_param:
+0x28d7 011645 add rega ,element_device_queue_buffer_ptr ,contr 
+0x28d8 011646 ifetch 2 ,contr 
+0x28d9 011647 store 2 ,mem_queue_ptr 
+0x28da 011648 arg mem_mesh_queue_ele_temp ,rega 
+0x28db 011649 rtn 
+:      011651 ali_mesh_advertising_bearer_layer_load_packet_from_advertising_queue:
+0x28dc 011652 arg ali_mesh_advertising_bearer_layer_load_packet_from_advertising_queue_deal ,regc 
+0x28dd 011653 branch ali_mesh_check_all_element_info 
+:      011655 ali_mesh_advertising_bearer_layer_load_packet_from_advertising_queue_deal:
+0x28de 011656 add rega ,element_device_upper_adv_flag ,contr 
+0x28df 011657 ifetch 1 ,contr 
+0x28e0 011658 rtnne packet_in_bearer 
+0x28e1 011659 setarg packet_in_adverting 
+0x28e2 011660 add rega ,element_device_upper_adv_flag ,contw 
+0x28e3 011661 istore 1 ,contw 
+0x28e4 011662 branch ali_mesh_control_ble_advertising_on_advertising 
+:      011665 ali_mesh_advertising_bearer_layer_send_packet_by_app_bearer:
+0x28e5 011666 call ali_mesh_advertising_bearer_layer_generate_header 
+0x28e6 011667 add temp ,13 ,pdata 
+0x28e7 011668 store 1 ,mem_mesh_adv_data_len 
+0x28e8 011669 call ali_mesh_advertising_add_adtype_flags 
+0x28e9 011670 add temp ,9 ,pdata 
+0x28ea 011671 istore 1 ,contw 
+0x28eb 011672 setarg gap_adtype_manufacturer_specific 
+0x28ec 011673 istore 1 ,contw 
+0x28ed 011674 fetch 8 ,mem_mesh_receive_service_uuid_ios_data_company_id 
+0x28ee 011675 istore 8 ,contw 
+0x28ef 011676 copy rega ,contr 
+0x28f0 011677 copy temp ,loopcnt 
+0x28f1 011678 call memcpy 
+0x28f2 011679 branch mesh_le_send_adv 
+:      011681 ali_mesh_advertising_bearer_layer_generate_header:
+0x28f3 011682 setarg company_id_alibaba_and_vid_gatt 
+0x28f4 011683 store 3 ,mem_mesh_receive_service_uuid_ios_data_company_id 
+0x28f5 011684 setarg provisioning_send_ios_data 
+0x28f6 011685 store 1 ,mem_mesh_receive_service_uuid_ios_data_provisioning_type 
+0x28f7 011686 fetch 1 ,mem_k2_nid 
+0x28f8 011687 store 1 ,mem_mesh_receive_service_uuid_ios_data_nid 
+0x28f9 011688 fetch 1 ,mem_mesh_queue_ele_gatt_msg_id 
+0x28fa 011689 store 1 ,mem_mesh_receive_service_uuid_ios_data_msg_id 
+0x28fb 011691 fetch 1 ,mem_mesh_queue_ele_duration 
+0x28fc 011692 isolate1 bit_of_app_package_num ,pdata 
+0x28fd 011693 call ali_mesh_advertising_bearer_layer_send_packet_by_app_bearer_calc_param 
+0x28fe 011694 store 1 ,mem_mesh_receive_service_uuid_ios_data_package_num 
+0x28ff 011695 storet 1 ,mem_mesh_receive_service_uuid_ios_data_length 
+0x2900 011696 rtn 
+:      011699 ali_mesh_advertising_bearer_layer_send_packet_by_app_bearer_calc_param:
+0x2901 011700 arg mem_mesh_queue_ele_payload + 2 ,rega 
+0x2902 011701 arg max_app_mssage_payload_length ,temp 
+0x2903 011702 setarg 0x21 
+0x2904 011703 nrtn true 
+0x2905 011704 arg mem_mesh_queue_ele_payload + 20 ,rega 
+0x2906 011705 fetcht 1 ,mem_mesh_queue_ele_len 
+0x2907 011706 increase -18 ,temp 
+0x2908 011707 setarg 0x22 
+0x2909 011708 rtn 
+:      011716 ali_mesh_advertising_add_adtype_flags:
+0x290a 011717 arg mem_mesh_adv_data ,contw 
+0x290b 011718 setarg 0x02 
+0x290c 011719 istore 1 ,contw 
+0x290d 011720 setarg gap_adtype_flags 
+0x290e 011721 istore 1 ,contw 
+0x290f 011722 setarg 0x02 
+0x2910 011723 istore 1 ,contw 
+0x2911 011724 rtn 
+:      011728 ali_mesh_advertising_add_adtype_16bit_complete:
+0x2912 011729 arg mesh_provisioning_uuid ,temp 
+0x2913 011730 setarg 0x03 
+0x2914 011731 istore 1 ,contw 
+0x2915 011732 setarg gap_adtype_16bit_complete 
+0x2916 011733 istore 1 ,contw 
+0x2917 011734 istoret 2 ,contw 
+0x2918 011735 rtn 
+:      011737 mesh_receive_advertising:
+0x2919 011738 branch mesh_le_scan_adv 
+:      011740 mesh_le_scan_adv:
+0x291a 011741 call le_enable 
+0x291b 011742 call le_init_adv 
+0x291c 011743 call mesh_le_wait_adv 
+0x291d 011744 nrtn match 
+0x291e 011745 fetch 1 ,mem_le_adv_rcv 
+0x291f 011746 pincrease 1 
+0x2920 011747 store 1 ,mem_le_adv_rcv 
+0x2921 011748 fetch 2 ,mem_mesh_cb_receive_advertising 
+0x2922 011749 call callback_func 
+0x2923 011750 branch le_disable 
+:      011752 mesh_le_wait_adv:
+0x2924 011753 fetch 2 ,mem_mesh_scan_selete_next_ch 
+0x2925 011754 branch callback_func 
+:      011756 mesh_le_wait_adv_cb:
+0x2926 011757 call mesh_le_calc_next_scan_channel 
+0x2927 011758 branch le_receive_adv 
+:      011760 mesh_le_calc_next_scan_channel:
+0x2928 011761 fetch 1 ,mem_mesh_adv_scan_channel 
+0x2929 011762 pincrease 1 
+0x292a 011763 store 1 ,mem_mesh_adv_scan_channel 
+0x292b 011764 store 1 ,mem_le_ch_mapped 
+0x292c 011765 rtnne 40 
+0x292d 011766 jam 37 ,mem_mesh_adv_scan_channel 
+0x292e 011767 jam 37 ,mem_le_ch_mapped 
+0x292f 011768 rtn 
+:      011771 mesh_check_ble_rx_packet:
+0x2930 011772 fetch 1 ,mem_le_rxbuf 
+0x2931 011773 and pdata ,0x0f ,pdata 
+0x2932 011774 beq adv_ind ,ali_mesh_match_advertising_packet 
+0x2933 011775 beq adv_nonconn_ind ,ali_mesh_match_advertising_packet 
+0x2934 011776 rtn 
+:      011778 ali_mesh_match_advertising_packet:
+0x2935 011779 ifetcht 1 ,contr 
+0x2936 011780 sub temp ,adv_packet_min_length ,null 
+0x2937 011781 rtn positive 
+0x2938 011782 sub temp ,adv_packet_max_length ,null 
+0x2939 011783 nrtn positive 
+0x293a 011784 add temp ,-6 ,rega 
+0x293b 011785 add contr ,6 ,regb 
+:      011787 ali_mesh_find_adv_ind_packet:
+0x293c 011788 ifetcht 1 ,regb 
+0x293d 011789 sub temp ,ad_type_min_length ,null 
+0x293e 011790 rtn positive 
+0x293f 011791 sub temp ,ad_type_max_length ,null 
+0x2940 011792 nrtn positive 
+0x2941 011793 copy temp ,pdata 
+0x2942 011794 rtn blank 
+0x2943 011795 bpatchx patch3d_7 ,mem_patch3d 
+0x2944 011796 ifetch 1 ,contr 
+0x2945 011797 beq gap_adtype_manufacturer_specific ,ali_mesh_receive_adtype_manufacturer_specific 
+0x2946 011798 beq gap_adtype_mesh_message ,ali_mesh_receive_adtype_mesh_message 
+0x2947 011799 beq gap_adtype_128bit_complete ,ali_mesh_receive_adtype_128bit_uuid_complete 
+0x2948 011801 add temp ,1 ,pdata 
+0x2949 011802 isub rega ,null 
+0x294a 011803 rtn positive 
+0x294b 011804 iadd regb ,regb 
+0x294c 011805 sub temp ,-1 ,pdata 
+0x294d 011806 iadd rega ,rega 
+0x294e 011807 copy rega ,pdata 
+0x294f 011808 rtn blank 
+0x2950 011809 branch ali_mesh_find_adv_ind_packet 
+:      011812 mesh_le_send_adv:
+0x2951 011813 fetch 1 ,mem_le_adv_transmit 
+0x2952 011814 pincrease 1 
+0x2953 011815 store 1 ,mem_le_adv_transmit 
+0x2954 011816 bpatchx patch3e_0 ,mem_patch3e 
+0x2955 011817 call le_enable 
+0x2956 011818 arg 39 ,loopcnt 
+0x2957 011819 arg mem_le_txheader ,contr 
+0x2958 011820 arg mem_le_txheader_mesh_temp ,contw 
+0x2959 011821 call memcpy_fast 
+0x295a 011822 jam 37 ,mem_le_ch_mapped 
+0x295b 011823 arg 1800 ,stop_watch 
+0x295c 011824 disable match 
+:      011826 mesh_le_send_adv_loop:
+0x295d 011827 call le_init_adv 
+0x295e 011828 call mesh_le_send_adv_nonconn_ind 
+0x295f 011829 random pdata 
+0x2960 011830 arg 0x1ff ,temp 
+0x2961 011831 iand temp ,pdata 
+0x2962 011832 add pdata ,100 ,pdata 
+0x2963 011833 call delay 
+0x2964 011834 fetch 1 ,mem_le_ch_mapped 
+0x2965 011835 pincrease 1 
+0x2966 011836 store 1 ,mem_le_ch_mapped 
+0x2967 011837 bne 40 ,mesh_le_send_adv_loop 
+0x2968 011839 arg 39 ,loopcnt 
+0x2969 011840 arg mem_le_txheader ,contw 
+0x296a 011841 arg mem_le_txheader_mesh_temp ,contr 
+0x296b 011842 call memcpy_fast 
+0x296c 011843 branch le_disable 
+:      011845 mesh_le_send_adv_nonconn_ind:
+0x296d 011846 arg adv_nonconn_ind ,temp 
+0x296e 011847 storet 1 ,mem_le_txheader 
+0x296f 011848 fetcht 1 ,mem_mesh_adv_data_len 
+0x2970 011849 add temp ,6 ,pdata 
+0x2971 011850 store 1 ,mem_le_txlen 
+0x2972 011851 fetch 6 ,mem_le_lap 
+0x2973 011852 store 6 ,mem_le_txpayload 
+0x2974 011853 copy temp ,loopcnt 
+0x2975 011854 arg mem_mesh_adv_data ,contr 
+0x2976 011855 call memcpy_fast 
+0x2977 011856 branch le_transmit_norx 
+:      011866 ali_mesh_base_adt_cache:
+0x2978 011867 bpatchx patch3e_1 ,mem_patch3e 
+0x2979 011868 fetcht 2 ,mem_ccm_data_ptr 
+0x297a 011869 fetch 1 ,mem_ccm_data_len 
+0x297b 011870 copy temp ,contr 
+0x297c 011871 arg mem_k4_salt ,rega 
+0x297d 011872 arg mem_k4_t ,alarm 
+0x297e 011873 call ali_mesh_encrypt_base_function_aes_cmac 
+0x297f 011874 call disable_user 
+0x2980 011875 copy regc ,pdata 
+0x2981 011876 iadd alarm ,contr 
+0x2982 011877 fetcht 4 ,mem_k4_t 
+0x2983 011878 fetch 2 ,mem_mesh_mic_cache_ptr 
+0x2984 011879 copy pdata ,rega 
+0x2985 011881 arg transport_mic_cache_space_num ,loopcnt 
+:      011882 ali_mesh_base_adt_cache_loop:
+0x2986 011883 ifetch 4 ,rega 
+0x2987 011884 branch ali_mesh_base_adt_cache_empty_space ,blank 
+0x2988 011885 isub temp ,null 
+0x2989 011886 rtn zero 
+0x298a 011887 increase transport_mic_cache_space_size ,rega 
+0x298b 011888 loop ali_mesh_base_adt_cache_loop 
+0x298c 011889 fetch 2 ,mem_mesh_mic_cache_ptr 
+0x298d 011890 copy pdata ,contw 
+0x298e 011891 add pdata ,transport_mic_cache_space_size ,contr 
+0x298f 011894 arg transport_mic_cache_total_size ,loopcnt 
+0x2990 011895 call memcpy_fast 
+0x2991 011896 istoret 4 ,contw 
+0x2992 011897 branch enable_user 
+:      011898 ali_mesh_base_adt_cache_empty_space:
+0x2993 011899 istoret 4 ,rega 
+0x2994 011900 branch enable_user 
+:      011902 ali_mesh_chip_peripherals_load_data_from_eep:
+0x2995 011903 call ali_mesh_chip_peripherals_load_three_tuple_from_eep 
+0x2996 011904 call ali_mesh_chip_peripherals_load_network_key_from_eep 
+0x2997 011905 call ali_mesh_chip_peripherals_load_application_key_from_eep 
+0x2998 011906 call ali_mesh_chip_peripherals_load_device_key_from_eep 
+0x2999 011907 call ali_mesh_chip_peripherals_load_reset_count_from_eep 
+0x299a 011908 call ali_mesh_chip_peripherals_load_seq_from_eep 
+0x299b 011909 branch ali_mesh_chip_peripherals_load_subscription_from_eep 
+:      011911 ali_mesh_chip_peripherals_load_three_tuple_from_eep:
+0x299c 011912 arg mesh_eep_three_tuple_length ,temp 
+0x299d 011913 arg mem_mesh_three_tuple_productid ,rega 
+0x299e 011914 arg mesh_eep_three_tuple_offset ,regb 
+0x299f 011915 branch iicd_read_eep_data 
+:      011917 ali_mesh_chip_peripherals_load_network_key_from_eep:
+0x29a0 011918 arg mesh_eep_network_key_length ,temp 
+0x29a1 011919 arg mem_mesh_network_key ,rega 
+0x29a2 011920 arg mesh_eep_network_key_offset ,regb 
+0x29a3 011921 call iicd_read_eep_data 
+0x29a4 011922 fetch 1 ,mem_mesh_last_iv_index_byte 
+0x29a5 011923 store 1 ,mem_mesh_iv_index + 3 
+0x29a6 011924 rtn 
+:      011926 ali_mesh_chip_peripherals_load_application_key_from_eep:
+0x29a7 011927 arg mesh_eep_application_key_length ,temp 
+0x29a8 011928 arg mem_mesh_application_key ,rega 
+0x29a9 011929 arg mesh_eep_application_key_offset ,regb 
+0x29aa 011930 branch iicd_read_eep_data 
+:      011932 ali_mesh_chip_peripherals_load_device_key_from_eep:
+0x29ab 011933 arg mesh_eep_device_key_length ,temp 
+0x29ac 011934 arg mem_mesh_device_key ,rega 
+0x29ad 011935 arg mesh_eep_device_key_offset ,regb 
+0x29ae 011936 branch iicd_read_eep_data 
+:      011938 ali_mesh_chip_peripherals_load_reset_count_from_eep:
+0x29af 011939 rtn 
+:      011941 ali_mesh_chip_peripherals_load_seq_from_eep:
+0x29b0 011942 arg mesh_eep_seq_length ,temp 
+0x29b1 011943 arg mem_mesh_send_message_seq ,rega 
+0x29b2 011944 arg mesh_eep_seq_offset ,regb 
+0x29b3 011945 branch iicd_read_eep_data 
+:      011947 ali_mesh_chip_peripherals_load_subscription_from_eep:
+0x29b4 011948 fetch 2 ,mem_mesh_core_feature 
+0x29b5 011949 rtnbit1 mesh_feature_disable_subscription 
+0x29b6 011950 arg mesh_eep_subscription_total_length ,temp 
+0x29b7 011951 arg mem_mesh_subscription_eep_temp ,rega 
+0x29b8 011952 arg mesh_eep_subscription_offset ,regb 
+0x29b9 011953 call iicd_read_eep_data 
+0x29ba 011954 call mesh_get_element_info_config 
+0x29bb 011955 arg mem_mesh_subscription_eep_temp ,contr 
+0x29bc 011956 add rega ,element_device_subscription_label ,rega 
+:      011957 ali_mesh_chip_peripherals_load_subscription_from_eep_loop:
+0x29bd 011958 copy rega ,contw 
+0x29be 011959 call memcpy16 
+0x29bf 011960 copy regb ,pdata 
+0x29c0 011961 iadd rega ,rega 
+0x29c1 011962 loop ali_mesh_chip_peripherals_load_subscription_from_eep_loop 
+0x29c2 011963 rtn 
+:      011965 mesh_receive_config_appkey_add_cb:
+0x29c3 011966 call ali_mesh_chip_peripherals_save_network_key_from_eep 
+0x29c4 011967 call ali_mesh_chip_peripherals_save_application_key_from_eep 
+0x29c5 011968 branch ali_mesh_chip_peripherals_save_device_key_from_eep 
+:      011970 ali_mesh_chip_peripherals_save_network_key_from_eep:
+0x29c6 011971 arg mesh_eep_network_key_length ,temp 
+0x29c7 011972 arg mem_mesh_network_key ,rega 
+0x29c8 011973 arg mesh_eep_network_key_offset ,regb 
+0x29c9 011974 branch iicd_write_protect_eep_data 
+:      011976 ali_mesh_chip_peripherals_save_application_key_from_eep:
+0x29ca 011977 arg mesh_eep_application_key_length ,temp 
+0x29cb 011978 arg mem_mesh_application_key ,rega 
+0x29cc 011979 arg mesh_eep_application_key_offset ,regb 
+0x29cd 011980 branch iicd_write_protect_eep_data 
+:      011982 ali_mesh_chip_peripherals_save_device_key_from_eep:
+0x29ce 011983 arg mesh_eep_device_key_length ,temp 
+0x29cf 011984 arg mem_mesh_device_key ,rega 
+0x29d0 011985 arg mesh_eep_device_key_offset ,regb 
+0x29d1 011986 branch iicd_write_protect_eep_data 
+:      011988 mesh_store_new_seq_data:
+:      011989 ali_mesh_chip_peripherals_save_seq_from_eep:
+0x29d2 011990 arg mesh_eep_seq_length ,temp 
+0x29d3 011991 arg mem_mesh_send_message_seq ,rega 
+0x29d4 011992 arg mesh_eep_seq_offset ,regb 
+0x29d5 011993 branch iicd_write_protect_eep_data 
+:      011995 mesh_store_new_subscriptuion_list_data:
+0x29d6 011996 call ali_mesh_chip_peripherals_save_subscriptuion_list_from_eep 
+0x29d7 011997 arg mesh_eep_subscription_total_length ,temp 
+0x29d8 011998 arg mem_mesh_subscription_eep_temp ,rega 
+0x29d9 011999 arg mesh_eep_subscription_offset ,regb 
+0x29da 012000 branch iicd_write_protect_eep_data 
+:      012002 ali_mesh_chip_peripherals_save_subscriptuion_list_from_eep:
+0x29db 012003 call mesh_get_element_info_config 
+0x29dc 012004 arg mem_mesh_subscription_eep_temp ,contw 
+0x29dd 012005 add rega ,element_device_subscription_label ,rega 
+:      012006 ali_mesh_chip_peripherals_save_subscriptuion_list_from_eep_loop:
+0x29de 012007 copy rega ,contr 
+0x29df 012008 call memcpy16 
+0x29e0 012009 copy regb ,pdata 
+0x29e1 012010 iadd rega ,rega 
+0x29e2 012011 loop ali_mesh_chip_peripherals_save_subscriptuion_list_from_eep_loop 
+0x29e3 012012 rtn 
+:      012017 logging_tx_debug:
+0x29e4 012018 arg logging_debug ,temp 
+0x29e5 012019 branch logging_tx_common 
+:      012025 logging_tx_info:
+0x29e6 012026 arg logging_info ,temp 
+0x29e7 012027 branch logging_tx_common 
+:      012033 logging_tx_warning:
+0x29e8 012034 arg logging_warning ,temp 
+0x29e9 012035 branch logging_tx_common 
+:      012041 logging_tx_error:
+0x29ea 012042 arg logging_error ,temp 
+0x29eb 012043 branch logging_tx_common 
+:      012049 logging_tx_critical:
+0x29ec 012050 arg logging_critical ,temp 
+0x29ed 012051 branch logging_tx_common 
+:      012058 logging_tx_common:
+0x29ee 012059 bpatchx patch3e_2 ,mem_patch3e 
+0x29ef 012060 call push_stack 
+0x29f0 012061 fetch 1 ,mem_mesh_core_feature 
+0x29f1 012062 bbit1 mesh_feature_disable_log ,pop_stack 
+0x29f2 012063 call uartb_prepare_tx_register_push 
+0x29f3 012064 setarg lua_log_packet_header 
+0x29f4 012065 istore 1 ,contwu 
+0x29f5 012066 setarg lua_log_pakcet_type 
+0x29f6 012067 istore 1 ,contwu 
+0x29f7 012068 add loopcnt ,4 ,pdata 
+0x29f8 012069 istore 1 ,contwu 
+0x29f9 012070 istorer temp ,2 ,contwu 
+0x29fa 012071 istorer regb ,2 ,contwu 
+0x29fb 012072 copy rega ,contr 
+0x29fc 012073 call uart_copy_tx_bytes_fast 
+0x29fd 012074 setarg lua_log_packet_trail 
+0x29fe 012075 istore 1 ,contwu 
+0x29ff 012076 call uartb_send_register_pop 
+0x2a00 012077 branch pop_stack 
+:      012079 mesh_uart_init:
+0x2a01 012080 fetch 1 ,mem_mesh_core_feature 
+0x2a02 012081 rtnbit1 mesh_feature_disable_log 
+0x2a03 012082 jam gpcfg_uartb_txd ,core_gpio_conf + 11 
+0x2a04 012083 jam gpcfg_uartb_rxd | gpcfg_pullup ,core_gpio_conf + 12 
+0x2a05 012084 call mesh_uart_init_buffer 
+0x2a06 012085 arg 921600 ,temp 
+0x2a07 012086 call uartb_calc_baud_rate_config 
+0x2a08 012087 call uart_clock_select_main_freq_crystal 
+0x2a09 012088 arg fun_uart_control_enable | fun_uart_control_setting_rate_baud ,temp 
+0x2a0a 012089 storet 1 ,core_uartb_ctrl 
+0x2a0b 012090 rtn 
+:      012092 mesh_uart_init_buffer:
+0x2a0c 012093 setarg mem_mesh_uart_log_rx_buff 
+0x2a0d 012094 store 2 ,mem_pdatatemp 
+0x2a0e 012095 setarg mem_mesh_uart_log_rx_buff_end 
+0x2a0f 012096 istore 2 ,contw 
+0x2a10 012097 setarg mem_mesh_uart_log_tx_buff 
+0x2a11 012098 istore 2 ,contw 
+0x2a12 012099 setarg mem_mesh_uart_log_tx_buff_end 
+0x2a13 012100 istore 2 ,contw 
+0x2a14 012101 fetch 8 ,mem_pdatatemp 
+0x2a15 012102 branch uartb_init_dma_mem 
+:      012109 ali_mesh_control_ble_adv_process:
+0x2a16 012110 call ali_mesh_control_ble_adv_tmall_packet 
+0x2a17 012111 branch ali_mesh_control_ble_adv_app_packet 
+:      012114 ali_mesh_control_ble_adv_timer_process:
+0x2a18 012115 call ali_mesh_advertising_unprovisioned_timer_interval_timer 
+0x2a19 012116 branch ali_mesh_advertising_unprovisioned_timer 
+:      012119 ali_mesh_control_ble_advertising_on_advertising:
+0x2a1a 012120 jam device_beacon_on ,mem_mesh_advertising_unprovisioned_device_beacon_switch 
+0x2a1b 012121 rtn 
+:      012124 ali_mesh_control_ble_advertising_off_advertising:
+0x2a1c 012125 jam device_beacon_off ,mem_mesh_advertising_unprovisioned_device_beacon_switch 
+0x2a1d 012126 rtn 
+:      012131 ali_mesh_control_ble_adv_app_packet:
+0x2a1e 012132 arg ali_mesh_control_ble_adv_app_packet_paired ,regb 
+0x2a1f 012133 arg mesh_adv_app_message_interval ,rega 
+0x2a20 012134 arg mesh_ble_adv_app ,queue 
+0x2a21 012135 branch ali_mesh_chip_timer_check_with_random_timer 
+:      012137 ali_mesh_control_ble_adv_app_packet_paired:
+0x2a22 012138 fetch 1 ,mem_mesh_provisioned_flag 
+0x2a23 012139 rtnne paired_status 
+0x2a24 012140 arg ali_mesh_control_ble_adv_app_packet_paired_deal ,regc 
+0x2a25 012141 branch ali_mesh_check_all_element_info 
+:      012144 ali_mesh_control_ble_adv_tmall_packet:
+0x2a26 012145 arg ali_mesh_control_ble_adv_tmall_packet_send_package ,regb 
+0x2a27 012146 arg mesh_adv_tmall_message_interval ,rega 
+0x2a28 012147 arg mesh_ble_adv_tmall ,queue 
+0x2a29 012148 branch ali_mesh_chip_timer_check_with_random_timer 
+:      012151 ali_mesh_control_ble_adv_app_packet_paired_deal:
+0x2a2a 012152 add rega ,element_device_tran_package_type ,contr 
+0x2a2b 012153 ifetch 1 ,contr 
+0x2a2c 012154 rtnbit0 bit_upper_tran_app_message 
+0x2a2d 012155 call ali_mesh_advertising_bearer_layer_init_queue_param 
+0x2a2e 012156 call queue_get_new_ele 
+0x2a2f 012157 nrtn user 
+0x2a30 012158 fetch 1 ,mem_mesh_queue_ele_len 
+0x2a31 012159 pincrease -2 
+0x2a32 012160 store 1 ,mem_mesh_queue_ele_len 
+0x2a33 012162 fetch 1 ,mem_mesh_queue_ele_duration 
+0x2a34 012164 setflip bit_of_app_package_num ,pdata 
+0x2a35 012165 istore 1 ,regb 
+0x2a36 012166 branch ali_mesh_advertising_bearer_layer_send_packet_by_app_bearer 
+:      012170 ali_mesh_control_ble_adv_tmall_packet_send_package:
+0x2a37 012171 fetch 1 ,mem_mesh_provisioned_flag 
+0x2a38 012172 beq paired_status ,ali_mesh_control_ble_advertising_send_paired_packet 
+0x2a39 012173 beq pairing_status ,ali_mesh_control_ble_advertising_send_pairing_packet 
+0x2a3a 012174 branch ali_mesh_control_ble_advertising_send_device_beacon_packet 
+:      012177 ali_mesh_control_ble_advertising_send_paired_packet:
+0x2a3b 012178 arg ali_mesh_control_ble_advertising_send_paired_packet_deal ,regc 
+0x2a3c 012179 branch ali_mesh_check_all_element_info 
+:      012181 ali_mesh_control_ble_advertising_send_paired_packet_deal:
+0x2a3d 012182 call ali_mesh_advertising_bearer_layer_init_queue_param 
+0x2a3e 012183 call queue_get_new_ele 
+0x2a3f 012184 nrtn user 
+0x2a40 012185 fetch 1 ,mem_mesh_queue_ele_duration 
+0x2a41 012186 pincrease -1 
+0x2a42 012187 istore 1 ,regb 
+0x2a43 012188 bbit1 bit_of_adv_in_off ,ali_mesh_control_ble_advertising_send_paired_packet_adv_in_off 
+0x2a44 012189 and pdata ,0x3f ,pdata 
+0x2a45 012190 call ali_mesh_control_ble_advertising_send_paired_packet_end_duration ,blank 
+0x2a46 012191 fetchr rega ,2 ,mem_mesh_rega_temp 
+0x2a47 012192 add rega ,element_device_tran_package_type ,contr 
+0x2a48 012193 ifetch 1 ,contr 
+0x2a49 012194 bbit1 bit_uuper_tran_proxy_message ,ali_mesh_control_ble_advertising_send_paired_packet_end_duration_proxy 
+0x2a4a 012195 rtnbit0 bit_upper_tran_tmall_message 
+0x2a4b 012196 arg mem_mesh_adv_data_len ,contw 
+0x2a4c 012197 arg mem_mesh_queue_ele_len ,contr 
+0x2a4d 012198 call memcpy32 
+0x2a4e 012199 branch mesh_le_send_adv 
+:      012201 ali_mesh_control_ble_advertising_send_paired_packet_end_duration_proxy:
+0x2a4f 012202 arg mem_mesh_queue_ele_duration ,rega 
+0x2a50 012203 call queue_pop 
+0x2a51 012204 call queue_empty 
+0x2a52 012205 nrtn blank 
+0x2a53 012206 fetchr rega ,2 ,mem_mesh_rega_temp 
+0x2a54 012207 add rega ,element_device_upper_adv_flag ,contw 
+0x2a55 012208 setarg null_packet_advertising 
+0x2a56 012209 istore 1 ,contw 
+0x2a57 012210 branch ali_mesh_control_ble_advertising_off_advertising 
+:      012213 ali_mesh_control_ble_advertising_send_paired_packet_adv_in_off:
+0x2a58 012214 and pdata ,0x3f ,pdata 
+0x2a59 012215 nrtn blank 
+0x2a5a 012216 fetchr rega ,2 ,mem_mesh_rega_temp 
+0x2a5b 012217 add rega ,element_device_upper_adv_flag ,contw 
+0x2a5c 012218 setarg null_packet_advertising 
+0x2a5d 012219 istore 1 ,contw 
+0x2a5e 012220 branch queue_init 
+:      012223 ali_mesh_control_ble_advertising_send_paired_packet_end_duration:
+0x2a5f 012224 arg mem_mesh_queue_ele_duration ,rega 
+0x2a60 012225 call queue_pop 
+0x2a61 012226 call queue_empty 
+0x2a62 012227 nrtn blank 
+0x2a63 012229 jam adv_pairing_mesh_message_interval ,mem_mesh_queue_ele_duration 
+0x2a64 012230 branch queue_push 
+:      012233 ali_mesh_control_ble_advertising_send_device_beacon_packet:
+0x2a65 012234 call ali_mesh_config_device_uuid_by_three_tuple 
+0x2a66 012235 call ali_mesh_send_unprovisioned_beacons_tmall 
+0x2a67 012236 call ali_mesh_advertising_send_unprovisioned_beacons_gatt 
+0x2a68 012237 call ali_mesh_control_ble_advertising_device_beacon_check_duration 
+0x2a69 012238 nrtn zero 
+0x2a6a 012239 fetch 1 ,mem_mesh_provisioned_flag 
+0x2a6b 012240 beq silence_beacon_status ,ali_mesh_end_advertising_silence_device_beacon_packet 
+0x2a6c 012241 beq unprovisioned_beacon_status ,ali_mesh_end_advertising_unprovisioned_device_beacon_packet 
+0x2a6d 012242 rtn 
+:      012246 ali_mesh_control_ble_advertising_device_beacon_check_duration:
+0x2a6e 012247 fetch 1 ,mem_mesh_advertising_unprovisioned_device_beacon_duration 
+0x2a6f 012248 add pdata ,-1 ,pdata 
+0x2a70 012249 store 1 ,mem_mesh_advertising_unprovisioned_device_beacon_duration 
+0x2a71 012250 rtn 
+:      012253 ali_mesh_end_advertising_silence_device_beacon_packet:
+0x2a72 012254 jam adv_silence_device_beacon_interval ,mem_mesh_advertising_unprovisioned_device_beacon_interval 
+0x2a73 012255 branch ali_mesh_control_ble_advertising_off_advertising 
+:      012258 ali_mesh_end_advertising_unprovisioned_device_beacon_packet:
+0x2a74 012259 jam adv_unprovisioned_device_beacon_duration ,mem_mesh_advertising_unprovisioned_device_beacon_interval 
+0x2a75 012260 branch ali_mesh_control_ble_advertising_off_advertising 
+:      012263 ali_mesh_control_ble_advertising_send_pairing_packet:
+0x2a76 012264 call ali_mesh_advertising_timer 
+0x2a77 012265 branch mesh_le_send_adv 
+:      012268 ali_mesh_chip_timer_check_with_random_timer:
+0x2a78 012269 random pdata 
+0x2a79 012270 and pdata ,0x07 ,pdata 
+0x2a7a 012271 iadd rega ,rega 
+:      012275 ali_mesh_chip_timer_check:
+0x2a7b 012276 fetch 1 ,mem_mesh_advertising_unprovisioned_device_beacon_switch 
+0x2a7c 012277 rtnne device_beacon_on 
+0x2a7d 012278 call timer_check 
+0x2a7e 012279 nrtn blank 
+0x2a7f 012280 copy rega ,pdata 
+0x2a80 012281 call timer_init 
+0x2a81 012282 copy regb ,pdata 
+0x2a82 012283 branch callback_func 
+:      012287 ali_mesh_advertising_unprovisioned_timer:
+0x2a83 012288 arg mem_mesh_advertising_unprovisioned_device_beacon_timer ,regc 
+0x2a84 012289 arg ali_mesh_advertising_unprovisioned_timeout ,regb 
+0x2a85 012290 branch timer_single_step_2b 
+:      012293 ali_mesh_advertising_unprovisioned_timeout:
+0x2a86 012294 fetch 1 ,mem_mesh_provisioned_flag 
+0x2a87 012295 rtnne unprovisioned_beacon_status 
+0x2a88 012296 fetch 1 ,mem_mesh_uuid_featureflag 
+0x2a89 012297 set1 bit_silence_adv_flag ,pdata 
+0x2a8a 012298 store 1 ,mem_mesh_uuid_featureflag 
+0x2a8b 012299 jam silence_beacon_status ,mem_mesh_provisioned_flag 
+0x2a8c 012300 branch ali_mesh_send_silence_device_beacon_init_advertising 
+:      012305 ali_mesh_advertising_unprovisioned_timer_interval_timer:
+0x2a8d 012306 arg mem_mesh_advertising_unprovisioned_device_beacon_interval ,regc 
+0x2a8e 012307 arg ali_mesh_advertising_unprovisioned_timer_interval_timeout ,regb 
+0x2a8f 012308 branch timer_single_step 
+:      012313 ali_mesh_advertising_unprovisioned_timer_interval_timeout:
+0x2a90 012314 fetch 1 ,mem_mesh_provisioned_flag 
+0x2a91 012315 beq silence_beacon_status ,ali_mesh_send_silence_device_beacon_init_advertising 
+0x2a92 012316 beq unprovisioned_beacon_status ,ali_mesh_send_unprovisioned_device_beacon_init_advertising 
+0x2a93 012318 rtn 
+:      012325 ali_mesh_send_unprovisioned_device_beacon_init_advertising:
+0x2a94 012326 jam adv_unprovisioned_device_beacon_duration ,mem_mesh_advertising_unprovisioned_device_beacon_duration 
+0x2a95 012327 branch ali_mesh_control_ble_advertising_on_advertising 
+:      012330 ali_mesh_send_silence_device_beacon_init_advertising:
+0x2a96 012331 jam adv_silence_device_beacon_duration ,mem_mesh_advertising_unprovisioned_device_beacon_duration 
+0x2a97 012332 branch ali_mesh_control_ble_advertising_on_advertising 
+:      012339 ali_mesh_encrypt_calc_random_data:
+0x2a98 012340 call ali_mesh_encrypt_calc_random_data_calc_confirmationkey 
+0x2a99 012341 call ali_mesh_encrypt_calc_random_data_calc_authvalueprov 
+0x2a9a 012342 call ali_mesh_encrypt_calc_random_data_calc_authvaluedevice 
+0x2a9b 012343 call ali_mesh_encrypt_calc_random_data_calc_confirmationcloud 
+0x2a9c 012344 call ali_mesh_encrypt_calc_random_data_calc_confirmationdevice 
+0x2a9d 012345 branch ali_mesh_encrypt_calc_random_data_calc_devicekey 
+:      012349 ali_mesh_encrypt_calc_random_data_calc_confirmationkey:
+0x2a9e 012350 call ali_mesh_encrypt_load_randomab_to_sha256 
+0x2a9f 012351 arg mem_mesh_sha256_confirmationkey_ascii ,contr 
+0x2aa0 012352 arg 0xf ,loopcnt 
+0x2aa1 012353 call ali_mesh_encrypt_base_function_sha256_load_data_without_hex2ascii 
+0x2aa2 012354 call ali_mesh_encrypt_base_function_sha256_calc 
+0x2aa3 012355 arg memresult ,contr 
+0x2aa4 012356 arg mem_mesh_confirmationkey ,contw 
+0x2aa5 012357 branch memcpy16 
+:      012362 ali_mesh_encrypt_calc_random_data_calc_authvalueprov:
+0x2aa6 012363 call ali_mesh_encrypt_load_three_tuple_to_sha256 
+0x2aa7 012364 call ali_mesh_encrypt_base_function_sha256_calc 
+0x2aa8 012365 arg memresult ,contr 
+0x2aa9 012366 arg mem_mesh_authvalueprov ,contw 
+0x2aaa 012367 branch memcpy16 
+:      012371 ali_mesh_encrypt_calc_random_data_calc_authvaluedevice:
+0x2aab 012372 call ali_mesh_encrypt_load_three_tuple_to_sha256 
+0x2aac 012373 call ali_mesh_encrypt_base_function_sha256_calc 
+0x2aad 012374 arg memresult ,contr 
+0x2aae 012375 arg mem_mesh_authvaluedevice ,contw 
+0x2aaf 012376 branch memcpy16 
+:      012381 ali_mesh_encrypt_calc_random_data_calc_confirmationcloud:
+0x2ab0 012382 fetch 8 ,mem_mesh_provisioning_random_a 
+0x2ab1 012383 store 8 ,mem_mesh_confirmationcloud_randoma 
+0x2ab2 012384 fetch 8 ,mem_mesh_provisioning_random_b 
+0x2ab3 012385 store 8 ,mem_mesh_confirmationcloud_randomb 
+0x2ab4 012387 arg mem_mesh_calc_confirmationcloud_data ,contr 
+0x2ab5 012388 arg mem_mesh_confirmationkey ,rega 
+0x2ab6 012389 arg mem_mesh_confirmationcloud ,alarm 
+0x2ab7 012390 branch ali_mesh_encrypt_base_function_aes_cmac_32byte 
+:      012396 ali_mesh_encrypt_calc_random_data_calc_confirmationdevice:
+0x2ab8 012397 arg mem_mesh_calc_confirmationdevice_data ,contr 
+0x2ab9 012398 arg mem_mesh_confirmationkey ,rega 
+0x2aba 012399 arg mem_mesh_confirmationdevice ,alarm 
+0x2abb 012400 branch ali_mesh_encrypt_base_function_aes_cmac_32byte 
+:      012405 ali_mesh_encrypt_calc_random_data_calc_devicekey:
+0x2abc 012406 arg mem_mesh_confirmationcloud ,contr 
+0x2abd 012407 arg 0x10 ,loopcnt 
+0x2abe 012408 call ali_mesh_encrypt_base_function_sha256_load_data_with_hex2ascii 
+0x2abf 012409 arg mem_mesh_sha256_devicekey_ascii ,contr 
+0x2ac0 012410 arg 9 ,loopcnt 
+0x2ac1 012411 call ali_mesh_encrypt_base_function_sha256_load_data_without_hex2ascii 
+0x2ac2 012412 call ali_mesh_encrypt_base_function_sha256_calc 
+0x2ac3 012413 arg memresult ,contr 
+0x2ac4 012414 arg mem_mesh_device_key ,contw 
+0x2ac5 012415 branch memcpy16 
+:      012418 ali_mesh_encrypt_load_randomba_to_sha256:
+0x2ac6 012419 call ali_mesh_encrypt_load_randomb_to_sha256 
+:      012420 ali_mesh_encrypt_load_randoma_to_sha256:
+0x2ac7 012421 arg mem_mesh_provisioning_random_a ,contr 
+0x2ac8 012422 branch ali_mesh_encrypt_base_function_sha256_load_data_64bit 
+:      012424 ali_mesh_encrypt_load_randomab_to_sha256:
+0x2ac9 012425 call ali_mesh_encrypt_load_randoma_to_sha256 
+:      012426 ali_mesh_encrypt_load_randomb_to_sha256:
+0x2aca 012427 arg mem_mesh_provisioning_random_b ,contr 
+0x2acb 012428 branch ali_mesh_encrypt_base_function_sha256_load_data_64bit 
+:      012431 ali_mesh_encrypt_load_three_tuple_to_sha256:
+0x2acc 012432 arg mem_mesh_three_tuple_productid ,contr 
+0x2acd 012433 arg 4 ,loopcnt 
+0x2ace 012434 call ali_mesh_encrypt_base_function_sha256_load_data_with_hex2ascii_add_comma 
+0x2acf 012435 arg mem_mesh_three_tuple_mac ,contr 
+0x2ad0 012436 arg 6 ,loopcnt 
+0x2ad1 012437 call ali_mesh_encrypt_base_function_sha256_load_data_with_hex2ascii_add_comma 
+0x2ad2 012438 arg mem_mesh_three_tuple_secret ,contr 
+0x2ad3 012439 arg 0x10 ,loopcnt 
+0x2ad4 012440 branch ali_mesh_encrypt_base_function_sha256_load_data_with_hex2ascii 
+:      012445 ali_mesh_encrypt_calc_provisioning_data:
+0x2ad5 012446 call ali_mesh_encrypt_calc_provisioning_data_calc_sessionkey 
+:      012448 ali_mesh_encrypt_calc_provisioning_data_xor_prov_data:
+0x2ad6 012449 arg mem_mesh_encrypt_provisioning_data ,rega 
+0x2ad7 012450 arg memresult ,regb 
+0x2ad8 012451 arg 0xb ,loopcnt 
+:      012452 ali_mesh_encrypt_calc_provisioning_data_xor_prov_data_loop:
+0x2ad9 012453 ifetch 2 ,rega 
+0x2ada 012454 ifetcht 2 ,regb 
+0x2adb 012455 ixor temp ,pdata 
+0x2adc 012456 istore 2 ,rega 
+0x2add 012457 increase 2 ,rega 
+0x2ade 012458 increase 2 ,regb 
+0x2adf 012459 loop ali_mesh_encrypt_calc_provisioning_data_xor_prov_data_loop 
+0x2ae0 012460 rtn 
+:      012466 ali_mesh_encrypt_calc_provisioning_data_calc_sessionkey:
+0x2ae1 012467 arg mem_mesh_confirmationcloud ,contr 
+0x2ae2 012468 arg 0x10 ,loopcnt 
+0x2ae3 012469 call ali_mesh_encrypt_base_function_sha256_load_data_with_hex2ascii 
+0x2ae4 012470 arg mem_mesh_sha256_sessionkey_ascii ,contr 
+0x2ae5 012471 arg 0xa ,loopcnt 
+0x2ae6 012472 call ali_mesh_encrypt_base_function_sha256_load_data_without_hex2ascii 
+0x2ae7 012473 branch ali_mesh_encrypt_base_function_sha256_calc 
+:      012477 ali_mesh_encrypt_calc_network_key_by_k2:
+0x2ae8 012478 arg mem_mesh_network_key ,contr 
+0x2ae9 012479 arg mem_k2_n ,contw 
+0x2aea 012480 call memcpy16 
+:      012484 ali_mesh_encrypt_base_function_k2:
+0x2aeb 012486 arg mem_k2_n ,contr 
+0x2aec 012487 arg mem_k2_salt ,rega 
+0x2aed 012488 arg mem_k2_t ,alarm 
+0x2aee 012489 call ali_mesh_encrypt_base_function_aes_cmac_16byte 
+0x2aef 012491 arg mem_k2_t1 ,alarm 
+0x2af0 012492 arg 0x01 ,regb 
+0x2af1 012493 setarg 0 
+0x2af2 012494 call ali_mesh_encrypt_base_function_k2_aes_cmac_t 
+0x2af3 012495 fetch 1 ,mem_k2_t1 + 15 
+0x2af4 012496 and pdata ,0x7f ,pdata 
+0x2af5 012497 store 1 ,mem_k2_nid 
+0x2af6 012499 arg mem_k2_t2 ,alarm 
+0x2af7 012500 arg 0x02 ,regb 
+0x2af8 012501 setarg 0x10 
+0x2af9 012502 arg mem_k2_t1 ,rega 
+0x2afa 012503 call ali_mesh_encrypt_base_function_k2_aes_cmac_t 
+0x2afb 012505 arg mem_k2_t3 ,alarm 
+0x2afc 012506 arg 0x03 ,regb 
+0x2afd 012507 setarg 0x10 
+0x2afe 012508 arg mem_k2_t2 ,rega 
+0x2aff 012509 branch ali_mesh_encrypt_base_function_k2_aes_cmac_t 
+:      012511 ali_mesh_encrypt_base_function_k4:
+0x2b00 012513 arg mem_mesh_application_key ,contr 
+0x2b01 012514 arg mem_k4_salt ,rega 
+0x2b02 012515 arg mem_k4_t ,alarm 
+0x2b03 012516 call ali_mesh_encrypt_base_function_aes_cmac_16byte 
+0x2b04 012517 arg mem_k4_id6_01 ,contr 
+0x2b05 012518 arg mem_k4_t ,rega 
+0x2b06 012519 arg mem_k4_k4n ,alarm 
+0x2b07 012520 setarg 4 
+0x2b08 012521 call ali_mesh_encrypt_base_function_aes_cmac 
+0x2b09 012522 fetch 1 ,mem_k4_k4n + 15 
+0x2b0a 012523 and pdata ,0x3f ,pdata 
+0x2b0b 012524 set1 transport_head_bit_akf ,pdata 
+0x2b0c 012525 store 1 ,mem_mesh_transport_aid 
+0x2b0d 012526 rtn 
+:      012528 ali_mesh_encrypt_base_function_k3:
+0x2b0e 012530 arg mem_mesh_network_key ,contr 
+0x2b0f 012531 arg mem_k3_salt ,rega 
+0x2b10 012532 arg mem_k3_t ,alarm 
+0x2b11 012533 call ali_mesh_encrypt_base_function_aes_cmac_16byte 
+0x2b12 012534 arg mem_k3_id64_01 ,contr 
+0x2b13 012535 arg mem_k3_t ,rega 
+0x2b14 012536 arg mem_k3_k4n ,alarm 
+0x2b15 012537 setarg 5 
+0x2b16 012538 call ali_mesh_encrypt_base_function_aes_cmac 
+0x2b17 012540 call ali_mesh_proxy_init_adv 
+0x2b18 012542 fetch 2 ,mem_ui_state_map 
+0x2b19 012543 rtnbit1 ui_state_ble_connected 
+0x2b1a 012544 jam 1 ,mem_le_adv_enable 
+0x2b1b 012545 rtn 
+:      012549 ali_mesh_encrypt_obfuscation_deceypt_send_message:
+0x2b1c 012550 arg mem_mesh_send_upper_layer_ctl_and_ttl ,rega 
+0x2b1d 012551 fetch 7 ,mem_mesh_send_upper_layer_dst 
+0x2b1e 012552 branch ali_mesh_encrypt_obfuscation_deceypt 
+:      012553 ali_mesh_encrypt_obfuscation_deceypt_recevie_message:
+0x2b1f 012554 arg mem_mesh_message_ttl ,rega 
+0x2b20 012555 fetch 7 ,mem_mesh_message_dst 
+:      012556 ali_mesh_encrypt_obfuscation_deceypt:
+0x2b21 012557 store 7 ,mem_mesh_privacy_plaintext_privacy_random 
+0x2b22 012558 setarg 0 
+0x2b23 012559 store 5 ,mem_mesh_privacy_plaintext_zero_string 
+0x2b24 012560 call ali_mesh_encrypt_generate_pecb 
+0x2b25 012561 fetch 6 ,mem_mesh_pecb 
+0x2b26 012562 ifetcht 6 ,rega 
+0x2b27 012563 ixor temp ,pdata 
+0x2b28 012564 istore 6 ,rega 
+0x2b29 012565 rtn 
+:      012567 ali_mesh_encrypt_generate_pecb:
+:      012568 ali_mesh_encrypt_generate_privacy_random:
+0x2b2a 012569 fetch 4 ,mem_mesh_iv_index 
+0x2b2b 012570 store 4 ,mem_mesh_privacy_plaintext_iv_index 
+:      012572 ali_mesh_encrypt_base_function_generate_pecb:
+0x2b2c 012573 arg mem_k2_privacykey ,contr 
+0x2b2d 012574 call load_key 
+0x2b2e 012575 arg mem_mesh_privacy_plaintext ,contr 
+0x2b2f 012576 call load_data128 
+0x2b30 012577 call do_aes_ocb 
+0x2b31 012578 arg mem_mesh_pecb ,contw 
+0x2b32 012579 branch store_aes_result 
+:      012586 ali_mesh_encrypt_base_function_sha256_load_data_64bit:
+0x2b33 012587 arg 8 ,loopcnt 
+:      012592 ali_mesh_encrypt_base_function_sha256_load_data_with_hex2ascii:
+0x2b34 012593 call ali_mesh_encrypt_base_function_sha256_check_first_load_data 
+0x2b35 012594 call ali_mesh_encrypt_base_function_hex2ascii 
+0x2b36 012595 branch ali_mesh_encrypt_base_function_sha256_store_dataptr 
+:      012596 ali_mesh_encrypt_base_function_sha256_load_data_without_hex2ascii:
+0x2b37 012597 call ali_mesh_encrypt_base_function_sha256_check_first_load_data 
+0x2b38 012598 call memcpy 
+0x2b39 012599 branch ali_mesh_encrypt_base_function_sha256_store_dataptr 
+:      012600 ali_mesh_encrypt_base_function_sha256_load_data_with_hex2ascii_add_comma:
+0x2b3a 012601 call ali_mesh_encrypt_base_function_sha256_check_first_load_data 
+0x2b3b 012602 call ali_mesh_encrypt_base_function_hex2ascii 
+0x2b3c 012603 setarg comma 
+0x2b3d 012604 istore 1 ,contw 
+:      012605 ali_mesh_encrypt_base_function_sha256_store_dataptr:
+0x2b3e 012606 copy contw ,pdata 
+0x2b3f 012607 store 2 ,mem_mesh_sha256_data_end_addr 
+0x2b40 012608 rtn 
+:      012609 ali_mesh_encrypt_base_function_sha256_check_first_load_data:
+0x2b41 012610 copy contr ,temp 
+0x2b42 012611 copy loopcnt ,rega 
+0x2b43 012612 fetch 2 ,mem_mesh_sha256_data_end_addr 
+0x2b44 012613 copy pdata ,contw 
+0x2b45 012614 fetch 1 ,mem_mesh_sha256_load_first_data_flag 
+0x2b46 012615 call ali_mesh_encrypt_base_function_sha256_first_load_data ,blank 
+0x2b47 012616 copy temp ,contr 
+0x2b48 012617 copy rega ,loopcnt 
+0x2b49 012618 rtn 
+:      012619 ali_mesh_encrypt_base_function_sha256_first_load_data:
+0x2b4a 012620 jam 1 ,mem_mesh_sha256_load_first_data_flag 
+0x2b4b 012621 call ali_mesh_encrypt_base_function_sha256_clear_data_chunk 
+0x2b4c 012622 arg mem_mesh_sha256_chunk_start ,contw 
+0x2b4d 012623 rtn 
+:      012625 ali_mesh_encrypt_base_function_sha256_clear_data_chunk:
+0x2b4e 012626 arg 0x20 ,loopcnt 
+0x2b4f 012627 arg mem_mesh_sha256_chunk_start ,contw 
+0x2b50 012628 branch memset0 
+:      012632 ali_mesh_encrypt_base_function_sha256_calc:
+0x2b51 012633 call ali_mesh_encrypt_base_function_sha256_load_data_end 
+0x2b52 012634 arg mesh_encrypt_sha256_function_input ,regb 
+0x2b53 012635 arg mem_mesh_sha256_chunk_start ,rega 
+0x2b54 012636 fetchr loopcnt ,8 ,mem_mesh_sha256_data_len_byte 
+0x2b55 012637 call logging_tx_debug 
+0x2b56 012638 call ali_mesh_encrypt_base_function_sha256_input_data_init_inverse 
+0x2b57 012640 setarg mem_mesh_sha256_chunk_start 
+0x2b58 012641 store 2 ,mem_mesh_sha256_chunk_ptr 
+0x2b59 012642 call sha_init 
+:      012643 ali_mesh_encrypt_base_function_sha256_calc_loop:
+0x2b5a 012644 fetch 2 ,mem_mesh_sha256_chunk_ptr 
+0x2b5b 012645 copy pdata ,contr 
+0x2b5c 012646 arg memdat ,contw 
+0x2b5d 012647 call memcpy64 
+0x2b5e 012648 call sha 
+0x2b5f 012649 fetch 2 ,mem_mesh_sha256_chunk_ptr 
+0x2b60 012650 pincrease 64 
+0x2b61 012651 store 2 ,mem_mesh_sha256_chunk_ptr 
+0x2b62 012652 fetch 1 ,mem_mesh_sha256_chunk_count 
+0x2b63 012653 pincrease -1 
+0x2b64 012654 store 1 ,mem_mesh_sha256_chunk_count 
+0x2b65 012655 nbranch ali_mesh_encrypt_base_function_sha256_calc_loop ,blank 
+0x2b66 012656 call sha_result 
+0x2b67 012657 arg memresult ,rega 
+0x2b68 012658 arg 0x20 ,loopcnt 
+0x2b69 012659 call inverse_data 
+0x2b6a 012660 arg mesh_encrypt_sha256_function_result ,regb 
+0x2b6b 012661 arg memresult ,rega 
+0x2b6c 012662 arg 0x20 ,loopcnt 
+0x2b6d 012663 branch logging_tx_debug 
+:      012666 ali_mesh_encrypt_base_function_sha256_load_data_end:
+0x2b6e 012667 jam 0 ,mem_mesh_sha256_load_first_data_flag 
+0x2b6f 012668 fetch 2 ,mem_mesh_sha256_data_end_addr 
+0x2b70 012669 copy pdata ,contw 
+0x2b71 012670 arg 0x80 ,temp 
+0x2b72 012671 istoret 1 ,contw 
+0x2b73 012672 arg mem_mesh_sha256_chunk_start ,temp 
+0x2b74 012673 isub temp ,pdata 
+0x2b75 012674 store 8 ,mem_mesh_sha256_data_len_byte 
+0x2b76 012676 lshift3 pdata ,temp 
+0x2b77 012677 storet 8 ,mem_mesh_sha256_data_len_bit 
+0x2b78 012678 rshift4 pdata ,regc 
+0x2b79 012679 rshift2 regc ,regc 
+0x2b7a 012680 and pdata ,0x3f ,pdata 
+0x2b7b 012681 sub pdata ,55 ,null 
+0x2b7c 012683 ncall ali_mesh_encrypt_base_function_sha256_add_chunk ,positive 
+0x2b7d 012684 add regc ,1 ,pdata 
+0x2b7e 012685 store 1 ,mem_mesh_sha256_chunk_count 
+0x2b7f 012686 mul32 pdata ,64 ,rega 
+0x2b80 012687 lshift4 pdata ,regc 
+0x2b81 012688 increase -1 ,regc 
+0x2b82 012689 setarg mem_mesh_sha256_chunk_start + decreased_four 
+0x2b83 012690 iadd rega ,rega 
+0x2b84 012691 fetch 4 ,mem_mesh_sha256_data_len_bit 
+0x2b85 012692 istore 4 ,rega 
+0x2b86 012693 rtn 
+:      012697 ali_mesh_encrypt_base_function_sha256_add_chunk:
+0x2b87 012698 increase 1 ,regc 
+0x2b88 012699 rtn 
+:      012701 ali_mesh_encrypt_base_function_sha256_input_data_init_inverse:
+0x2b89 012702 arg mem_mesh_sha256_chunk_start ,rega 
+:      012707 ali_mesh_encrypt_base_function_sha256_data_inverse_4byte:
+0x2b8a 012708 arg 4 ,loopcnt 
+0x2b8b 012709 call inverse_data 
+0x2b8c 012710 increase 2 ,rega 
+0x2b8d 012711 add regc ,-1 ,regc 
+0x2b8e 012712 nbranch ali_mesh_encrypt_base_function_sha256_data_inverse_4byte ,zero 
+0x2b8f 012713 rtn 
+:      012720 ali_mesh_encrypt_base_function_hex2ascii:
+0x2b90 012721 ifetch 1 ,contr 
+0x2b91 012722 rshift4 pdata ,temp 
+0x2b92 012723 call ali_mesh_encrypt_base_function_dialog2uchar 
+0x2b93 012724 istoret 1 ,contw 
+0x2b94 012725 and pdata ,0x0f ,temp 
+0x2b95 012726 call ali_mesh_encrypt_base_function_dialog2uchar 
+0x2b96 012727 istoret 1 ,contw 
+0x2b97 012728 loop ali_mesh_encrypt_base_function_hex2ascii 
+0x2b98 012729 rtn 
+:      012730 ali_mesh_encrypt_base_function_dialog2uchar:
+0x2b99 012731 sub temp ,9 ,null 
+0x2b9a 012732 branch ali_mesh_encrypt_base_function_dialog2uchar_num ,positive 
+0x2b9b 012733 add temp ,87 ,temp 
+0x2b9c 012734 rtn 
+:      012735 ali_mesh_encrypt_base_function_dialog2uchar_num:
+0x2b9d 012736 add temp ,48 ,temp 
+0x2b9e 012737 rtn 
+:      012740 ali_mesh_encrypt_base_function_aes_cmac_32byte:
+0x2b9f 012741 setarg 0x20 
+0x2ba0 012742 branch ali_mesh_encrypt_base_function_aes_cmac 
+:      012744 ali_mesh_encrypt_base_function_aes_cmac_16byte:
+0x2ba1 012745 setarg 0x10 
+0x2ba2 012746 branch ali_mesh_encrypt_base_function_aes_cmac 
+:      012751 ali_mesh_encrypt_base_function_k2_aes_cmac_t:
+0x2ba3 012752 fetcht 1 ,mem_k2_p_len 
+0x2ba4 012753 increase 1 ,temp 
+0x2ba5 012754 iadd temp ,temp 
+0x2ba6 012755 storet 1 ,mem_aes_cmac_data_length 
+0x2ba7 012756 copy rega ,contr 
+0x2ba8 012757 copy pdata ,loopcnt 
+0x2ba9 012758 call memcpy_fast 
+0x2baa 012759 fetcht 1 ,mem_k2_p_len 
+0x2bab 012760 copy temp ,loopcnt 
+0x2bac 012761 call memcpy 
+0x2bad 012762 copy regb ,pdata 
+0x2bae 012763 istore 1 ,contw 
+0x2baf 012764 arg mem_k2_t ,rega 
+0x2bb0 012765 branch ali_mesh_encrypt_base_function_aes_cmac + 3 
+:      012774 ali_mesh_encrypt_base_function_aes_cmac:
+0x2bb1 012775 store 1 ,mem_aes_cmac_data_length 
+0x2bb2 012776 copy pdata ,loopcnt 
+0x2bb3 012777 call memcpy_fast 
+0x2bb4 012778 copy rega ,contr 
+0x2bb5 012779 arg mem_aes_cmac_k ,contw 
+0x2bb6 012780 call memcpy16 
+0x2bb7 012781 arg mesh_encrypt_aes_cmac_function_input_m ,regb 
+0x2bb8 012782 arg memdat ,rega 
+0x2bb9 012783 fetchr loopcnt ,1 ,mem_aes_cmac_data_length 
+0x2bba 012784 call logging_tx_debug 
+0x2bbb 012785 arg mesh_encrypt_aes_cmac_function_input_k ,regb 
+0x2bbc 012786 arg mem_aes_cmac_k ,rega 
+0x2bbd 012787 arg 16 ,loopcnt 
+0x2bbe 012788 call logging_tx_debug 
+0x2bbf 012789 call function_aes_cmac 
+0x2bc0 012790 copy alarm ,contw 
+0x2bc1 012791 call store_aes_result 
+0x2bc2 012792 arg mesh_encrypt_aes_cmac_function_result ,regb 
+0x2bc3 012793 copy alarm ,rega 
+0x2bc4 012794 arg 16 ,loopcnt 
+0x2bc5 012795 branch logging_tx_debug 
+:      012799 ali_b0_block_generate:
+0x2bc6 012800 fetcht 1 ,mem_ccm_type 
+0x2bc7 012801 branch ali_block_generate 
+:      012802 ali_a_block_generate:
+0x2bc8 012803 force 0x01 ,temp 
+:      012804 ali_block_generate:
+0x2bc9 012805 force regidx_data ,regext_index 
+0x2bca 012806 fetch 2 ,mem_nonce_ptr 
+0x2bcb 012807 copy pdata ,contr 
+0x2bcc 012808 ifetch 3 ,contr 
+0x2bcd 012809 lshift8 pdata ,pdata 
+0x2bce 012810 ior temp ,regext 
+0x2bcf 012811 increase 1 ,regext_index 
+0x2bd0 012812 ifetch 4 ,contr 
+0x2bd1 012813 copy pdata ,regext 
+0x2bd2 012814 increase 1 ,regext_index 
+0x2bd3 012815 ifetch 4 ,contr 
+0x2bd4 012816 copy pdata ,regext 
+0x2bd5 012817 increase 1 ,regext_index 
+0x2bd6 012818 byteswap rega ,regext 
+0x2bd7 012819 lshift16 regext ,regext 
+0x2bd8 012820 ifetch 2 ,contr 
+0x2bd9 012821 ior regext ,regext 
+0x2bda 012822 rtn 
+:      012823 ali_generate_mic:
+0x2bdb 012824 fetch 1 ,mem_ccm_data_len 
+0x2bdc 012825 copy pdata ,rega 
+0x2bdd 012826 call ali_b0_block_generate 
+0x2bde 012827 call do_aes_ocb 
+0x2bdf 012828 force regidx_result ,regext_index 
+0x2be0 012829 deposit regext 
+0x2be1 012830 copy rega ,loopcnt 
+0x2be2 012831 fetcht 2 ,mem_ccm_data_ptr 
+0x2be3 012832 copy temp ,contr 
+0x2be4 012833 call padding_data 
+0x2be5 012834 branch generate_mic_loop 
+:      012835 ali_ccm_encrypt_64bit:
+0x2be6 012836 jam mic_size_64bit ,mem_ccm_type 
+0x2be7 012837 branch ali_ccm_encrypt_function 
+:      012838 ali_ccm_encrypt:
+0x2be8 012839 jam mic_size_32bit ,mem_ccm_type 
+0x2be9 012840 branch ali_ccm_encrypt_function 
+:      012841 ali_ccm_encrypt_function:
+0x2bea 012842 store 1 ,mem_ccm_data_len 
+0x2beb 012843 storet 2 ,mem_ccm_data_ptr 
+0x2bec 012844 bpatchx patch3e_3 ,mem_patch3e 
+0x2bed 012845 call ali_generate_mic 
+0x2bee 012846 force regidx_xor ,regext_index 
+0x2bef 012847 iforce regext 
+0x2bf0 012848 force regidx_result + 1 ,regext_index 
+0x2bf1 012849 copy regext ,pdata 
+0x2bf2 012850 force regidx_xor + 1 ,regext_index 
+0x2bf3 012851 iforce regext 
+0x2bf4 012852 force 0 ,rega 
+0x2bf5 012853 copy temp ,regc 
+0x2bf6 012854 call ali_a_block_generate 
+0x2bf7 012855 call do_aes_ctr 
+0x2bf8 012856 call ali_fetcht_ccm_mic 
+0x2bf9 012857 storet 8 ,mem_ccm_mic 
+0x2bfa 012858 fetch 1 ,mem_ccm_data_len 
+0x2bfb 012859 copy pdata ,regb 
+0x2bfc 012860 call ali_aes_crypt_data 
+0x2bfd 012861 fetcht 1 ,mem_ccm_data_len 
+0x2bfe 012862 fetch 2 ,mem_ccm_data_ptr 
+0x2bff 012863 iadd temp ,rega 
+0x2c00 012864 fetcht 8 ,mem_ccm_mic 
+0x2c01 012865 istoret 4 ,rega 
+0x2c02 012866 fetch 1 ,mem_ccm_type 
+0x2c03 012867 sub pdata ,mic_size_32bit ,pdata 
+0x2c04 012868 rtn blank 
+0x2c05 012869 istoret 8 ,rega 
+0x2c06 012870 rtn 
+:      012871 ali_ccm_decrypt_64bit:
+0x2c07 012872 jam mic_size_64bit ,mem_ccm_type 
+0x2c08 012873 branch ali_ccm_decrypt_function 
+:      012874 ali_ccm_decrypt:
+0x2c09 012875 jam mic_size_32bit ,mem_ccm_type 
+0x2c0a 012876 branch ali_ccm_decrypt_function 
+:      012877 ali_ccm_decrypt_function:
+0x2c0b 012878 store 1 ,mem_ccm_data_len 
+0x2c0c 012879 storet 2 ,mem_ccm_data_ptr 
+0x2c0d 012880 copy temp ,regc 
+0x2c0e 012881 copy pdata ,regb 
+0x2c0f 012882 iadd regc ,contr 
+0x2c10 012883 bpatchx patch3e_4 ,mem_patch3e 
+0x2c11 012884 ifetch 8 ,contr 
+0x2c12 012885 force regidx_xor ,regext_index 
+0x2c13 012886 iforce regext 
+0x2c14 012887 force regidx_xor + 1 ,regext_index 
+0x2c15 012888 rshift32 pdata ,pdata 
+0x2c16 012889 iforce regext 
+0x2c17 012890 force 0 ,rega 
+0x2c18 012891 call ali_a_block_generate 
+0x2c19 012892 call do_aes_ctr 
+0x2c1a 012893 call ali_fetcht_ccm_mic 
+0x2c1b 012894 storet 8 ,mem_ccm_mic 
+0x2c1c 012895 call ali_aes_crypt_data 
+0x2c1d 012896 call ali_generate_mic 
+0x2c1e 012897 call ali_fetcht_ccm_mic 
+0x2c1f 012898 fetch 1 ,mem_ccm_type 
+0x2c20 012899 beq mic_size_64bit ,ali_ccm_decrypt_function_check_mic64 
+0x2c21 012900 storet 4 ,mem_ccm_mic + 4 
+0x2c22 012901 fetch 4 ,mem_ccm_mic 
+0x2c23 012902 fetcht 4 ,mem_ccm_mic + 4 
+0x2c24 012903 isub temp ,pdata 
+0x2c25 012904 rtn 
+:      012906 ali_ccm_decrypt_function_check_mic64:
+0x2c26 012907 fetch 8 ,mem_ccm_mic 
+0x2c27 012908 isub temp ,pdata 
+0x2c28 012909 rtn 
+:      012911 ali_fetcht_ccm_mic:
+0x2c29 012912 force regidx_result ,regext_index 
+0x2c2a 012913 deposit regext 
+0x2c2b 012914 force regidx_result + 1 ,regext_index 
+0x2c2c 012915 copy regext ,temp 
+0x2c2d 012916 lshift16 temp ,temp 
+0x2c2e 012917 lshift16 temp ,temp 
+0x2c2f 012918 ior temp ,temp 
+0x2c30 012919 rtn 
+:      012920 ali_aes_crypt_data:
+0x2c31 012921 increase 1 ,rega 
+0x2c32 012922 call ali_a_block_generate 
+0x2c33 012923 copy regc ,contr 
+0x2c34 012924 call aes_load_xor 
+0x2c35 012925 call do_aes_ctr 
+0x2c36 012926 call store_enc_data 
+0x2c37 012927 increase 16 ,regc 
+0x2c38 012928 increase -16 ,regb 
+0x2c39 012929 branch ali_aes_crypt_data ,positive 
+0x2c3a 012930 rtn 
+:      012940 mesh_send_unprovisioned_beacons:
+0x2c3b 012941 jam unprovisioned_beacon_status ,mem_mesh_provisioned_flag 
+0x2c3c 012942 jam 0x00 ,mem_mesh_provisioning_state_flag 
+0x2c3d 012943 jam 1 ,mem_mesh_advertising_unprovisioned_device_beacon_switch 
+0x2c3e 012944 setarg adv_unprovisioned_device_beacon_timeout 
+0x2c3f 012945 store 2 ,mem_mesh_advertising_unprovisioned_device_beacon_timer 
+0x2c40 012946 rtn 
+:      012949 ali_mesh_config_device_uuid_by_three_tuple:
+0x2c41 012950 setarg company_identifiers_alibaba 
+0x2c42 012951 store 2 ,mem_mesh_device_uuid 
+0x2c43 012952 fetch 1 ,mem_mesh_device_pid 
+0x2c44 012953 istore 1 ,contw 
+0x2c45 012954 fetch 4 ,mem_mesh_three_tuple_productid 
+0x2c46 012955 call inverse_data_4byte 
+0x2c47 012956 istore 4 ,contw 
+0x2c48 012957 fetch 6 ,mem_le_lap 
+0x2c49 012958 istore 6 ,contw 
+0x2c4a 012959 fetch 3 ,mem_mesh_uuid_featureflag 
+0x2c4b 012960 istore 3 ,contw 
+0x2c4c 012961 rtn 
+:      012963 ali_mesh_send_unprovisioned_beacons_tmall:
+0x2c4d 012964 call ali_mesh_init_adv_data_tmall_unprovisioned_beacons_package 
+0x2c4e 012965 branch mesh_le_send_adv 
+:      012967 ali_mesh_init_adv_data_tmall_unprovisioned_beacons_package:
+0x2c4f 012969 jam 0x15 ,mem_mesh_adv_data_len 
+0x2c50 012970 setarg 0x14 
+0x2c51 012971 store 1 ,mem_mesh_adv_data 
+0x2c52 012972 setarg gap_adtype_mesh_beacon 
+0x2c53 012973 istore 1 ,contw 
+0x2c54 012974 setarg unprovisioned_device_beacon 
+0x2c55 012975 istore 1 ,contw 
+:      012976 ali_mesh_advertising_send_unprovisioned_beacons_store_device_uuid:
+0x2c56 012977 arg mem_mesh_device_uuid ,contr 
+0x2c57 012978 call memcpy16 
+0x2c58 012979 fetch 2 ,mem_mesh_oob_information 
+0x2c59 012980 istore 2 ,contw 
+0x2c5a 012981 rtn 
+:      012984 ali_mesh_advertising_send_unprovisioned_beacons_gatt:
+0x2c5b 012985 fetch 1 ,mem_mesh_core_feature 
+0x2c5c 012986 rtnbit1 mesh_feature_disable_app_pairing 
+0x2c5d 012987 call ali_mesh_init_adv_data_gatt_unprovisioned_beacons_package 
+0x2c5e 012988 branch mesh_le_send_adv 
+:      012990 ali_mesh_init_adv_data_gatt_unprovisioned_beacons_package:
+0x2c5f 012991 jam 0x1d ,mem_mesh_adv_data_len 
+0x2c60 012992 call ali_mesh_advertising_add_adtype_flags 
+0x2c61 012993 call ali_mesh_advertising_add_adtype_16bit_complete 
+0x2c62 012994 call ali_mesh_advertising_add_adtype_service_data 
+0x2c63 012995 branch ali_mesh_advertising_send_unprovisioned_beacons_store_device_uuid 
+:      012998 ali_mesh_advertising_add_adtype_service_data:
+0x2c64 012999 setarg 0x15 
+0x2c65 013000 istore 1 ,contw 
+0x2c66 013001 setarg gap_adtype_service_data 
+0x2c67 013002 istore 1 ,contw 
+0x2c68 013003 istoret 2 ,contw 
+0x2c69 013004 rtn 
+:      013007 ali_mesh_receive_adtype_manufacturer_specific:
+0x2c6a 013008 add temp ,-1 ,loopcnt 
+0x2c6b 013009 call ali_mesh_receive_provisioning_package_check_header 
+0x2c6c 013010 nrtn user 
+0x2c6d 013011 ifetch 1 ,contr 
+0x2c6e 013012 beq provisioning_random ,ali_mesh_advertising_receive_privisioning_random 
+0x2c6f 013013 beq provisioning_data ,ali_mesh_advertising_receive_privisioning_data 
+0x2c70 013014 beq provisioning_ios_data ,ali_mesh_advertising_receive_privisioning_ios_data 
+0x2c71 013015 rtn 
+:      013019 ali_mesh_advertising_receive_privisioning_random:
+0x2c72 013020 call ali_mesh_advertising_receive_privisioning_random_check_states 
+0x2c73 013021 nrtn user 
+:      013022 ali_mesh_advertising_calc_encrypt_random_data:
+0x2c74 013023 call ali_mesh_encrypt_calc_random_data 
+0x2c75 013025 call ali_mesh_advertising_send_provisioning_confirmation 
+0x2c76 013026 branch loggint_tx_info_send_confirmation_packet 
+:      013028 ali_mesh_advertising_send_provisioning_confirmation:
+0x2c77 013029 arg provisioning_packet_confirmation_mac + provisioning_packet_confirmation_device ,temp 
+0x2c78 013030 call ali_mesh_advertising_send_packet_common 
+0x2c79 013031 setarg provisioning_confirmation 
+0x2c7a 013032 istore 1 ,contw 
+0x2c7b 013033 fetch 2 ,mem_mesh_three_tuple_mac + 4 
+0x2c7c 013034 istore 2 ,contw 
+0x2c7d 013035 arg mem_mesh_confirmationdevice ,contr 
+0x2c7e 013036 branch memcpy16 
+:      013039 ali_mesh_advertising_receive_privisioning_random_check_states:
+0x2c7f 013040 call disable_user 
+0x2c80 013041 ifetcht 2 ,contr 
+0x2c81 013042 arg mem_mesh_provisioning_random_a ,contw 
+0x2c82 013043 call memcpy16 
+0x2c83 013044 fetch 2 ,mem_mesh_three_tuple_mac + 4 
+0x2c84 013045 isub temp ,null 
+0x2c85 013046 nrtn zero 
+0x2c86 013052 fetch 1 ,mem_mesh_provisioning_state_flag 
+0x2c87 013053 rtnbit1 receive_provisioning_random 
+0x2c88 013054 set1 receive_provisioning_random ,pdata 
+0x2c89 013055 store 1 ,mem_mesh_provisioning_state_flag 
+0x2c8a 013057 jam pairing_status ,mem_mesh_provisioned_flag 
+0x2c8b 013059 call loggint_tx_info_receive_random_packet 
+0x2c8c 013060 branch enable_user 
+:      013063 ali_mesh_advertising_receive_privisioning_data:
+0x2c8d 013064 copy contr ,rega 
+0x2c8e 013065 fetch 1 ,mem_mesh_provisioned_flag 
+0x2c8f 013066 rtneq paired_status 
+0x2c90 013067 fetch 1 ,mem_mesh_provisioning_state_flag 
+0x2c91 013068 rtnbit0 receive_provisioning_random 
+0x2c92 013069 rtnbit1 receive_provisioning_data 
+0x2c93 013070 copy rega ,contr 
+0x2c94 013071 arg 0x16 ,loopcnt 
+0x2c95 013072 arg mem_mesh_encrypt_provisioning_data ,contw 
+0x2c96 013073 call memcpy 
+0x2c97 013075 call ali_mesh_encrypt_calc_provisioning_data 
+0x2c98 013077 fetcht 2 ,mem_mesh_provisioning_data_mac_addr 
+0x2c99 013078 fetch 2 ,mem_mesh_three_tuple_mac + 4 
+0x2c9a 013079 isub temp ,null 
+0x2c9b 013080 nrtn zero 
+:      013081 ali_mesh_resolve_privisioning_data_package:
+0x2c9c 013082 call loggint_tx_info_receive_data_packet 
+0x2c9d 013083 fetch 1 ,mem_mesh_provisioning_state_flag 
+0x2c9e 013084 set1 receive_provisioning_data ,pdata 
+0x2c9f 013085 store 1 ,mem_mesh_provisioning_state_flag 
+0x2ca0 013087 call ali_mesh_encrypt_calc_network_key_by_k2 
+0x2ca1 013089 fetch 1 ,mem_mesh_last_iv_index_byte 
+0x2ca2 013090 store 1 ,mem_mesh_iv_index + 3 
+0x2ca3 013091 call ali_mesh_advertising_send_provisioning_complete 
+0x2ca4 013092 branch loggint_tx_info_send_complete_packet 
+:      013096 ali_mesh_advertising_send_provisioning_complete:
+0x2ca5 013097 arg provisioning_packet_complete_mac ,temp 
+0x2ca6 013098 call ali_mesh_advertising_send_packet_common 
+0x2ca7 013099 setarg provisioning_complete 
+0x2ca8 013100 istore 1 ,contw 
+0x2ca9 013101 fetch 6 ,mem_mesh_three_tuple_mac 
+0x2caa 013102 istore 6 ,contw 
+0x2cab 013103 rtn 
+:      013105 ali_mesh_advertising_receive_privisioning_ios_data:
+0x2cac 013106 arg max_length_privisioning_control_msg_android ,regb 
+0x2cad 013107 branch ali_mesh_resolve_app_control_msg_package 
+:      013111 ali_mesh_advertising_send_packet_common:
+0x2cae 013112 bpatchx patch3e_5 ,mem_patch3e 
+0x2caf 013113 call ali_mesh_advertising_reset_adv_timer 
+0x2cb0 013114 setarg 0x8fff 
+0x2cb1 013115 store 2 ,mem_mesh_send_packet_timeout 
+0x2cb2 013116 call ali_mesh_control_ble_advertising_on_advertising 
+0x2cb3 013117 add temp ,provisioning_packet_length_ad_type_company_id_vid_provisioning_type + provisioning_packet_length_flags ,pdata 
+0x2cb4 013118 store 1 ,mem_mesh_adv_data_len 
+0x2cb5 013119 call ali_mesh_advertising_add_adtype_flags 
+0x2cb6 013120 add temp ,provisioning_packet_ad_type_company_id_vid_provisioning_type ,pdata 
+0x2cb7 013121 istore 1 ,contw 
+0x2cb8 013122 setarg gap_adtype_manufacturer_specific 
+0x2cb9 013123 istore 1 ,contw 
+0x2cba 013124 setarg company_identifiers_alibaba 
+0x2cbb 013125 byteswap pdata ,pdata 
+0x2cbc 013126 istore 2 ,contw 
+0x2cbd 013127 fetch 1 ,mem_mesh_receive_vid 
+0x2cbe 013128 istore 1 ,contw 
+0x2cbf 013129 rtn 
+:      013134 ali_mesh_advertising_timer:
+0x2cc0 013136 fetch 4 ,mem_mesh_adv_last_time 
+0x2cc1 013137 nbranch ali_mesh_advertising_check_adv_timer ,blank 
+0x2cc2 013138 branch ali_mesh_advertising_reset_adv_timer 
+:      013140 ali_mesh_advertising_check_adv_timer:
+0x2cc3 013141 deposit clkn_bt 
+0x2cc4 013142 fetcht 4 ,mem_mesh_adv_last_time 
+0x2cc5 013143 isub temp ,temp 
+0x2cc6 013144 fetch 2 ,mem_mesh_send_packet_timeout 
+0x2cc7 013145 isub temp ,null 
+0x2cc8 013146 rtn positive 
+:      013147 ali_mesh_advertising_adv_timer_timeout:
+0x2cc9 013148 call ali_mesh_control_ble_advertising_off_advertising 
+0x2cca 013149 fetch 2 ,mem_mesh_cb_pairing_fail 
+0x2ccb 013150 branch callback_func 
+:      013151 ali_mesh_advertising_reset_adv_timer:
+0x2ccc 013152 deposit clkn_bt 
+0x2ccd 013153 store 4 ,mem_mesh_adv_last_time 
+0x2cce 013154 rtn 
+:      013157 logging_tx_debug_receive_provisioning_packet:
+0x2ccf 013158 add contr ,-3 ,rega 
+0x2cd0 013159 arg mesh_receive_provisioning_packet ,regb 
+0x2cd1 013160 branch logging_tx_debug 
+:      013162 loggint_tx_info_receive_random_packet:
+0x2cd2 013163 arg 1 ,loopcnt 
+0x2cd3 013164 arg mesh_receive_provisioning_random_packet ,regb 
+0x2cd4 013165 arg mem_mesh_provisioning_state_flag ,rega 
+0x2cd5 013166 branch logging_tx_info 
+:      013168 loggint_tx_info_send_confirmation_packet:
+0x2cd6 013169 fetchr loopcnt ,1 ,mem_mesh_adv_data_len 
+0x2cd7 013170 arg mesh_send_provisioning_confirmation_packet ,regb 
+0x2cd8 013171 arg mem_mesh_adv_data ,rega 
+0x2cd9 013172 branch logging_tx_info 
+:      013174 loggint_tx_info_receive_data_packet:
+0x2cda 013175 arg 1 ,loopcnt 
+0x2cdb 013176 arg mesh_receive_provisioning_data_packet ,regb 
+0x2cdc 013177 arg mem_mesh_provisioning_state_flag ,rega 
+0x2cdd 013178 branch logging_tx_info 
+:      013181 loggint_tx_info_send_complete_packet:
+0x2cde 013182 fetchr loopcnt ,1 ,mem_mesh_adv_data_len 
+0x2cdf 013183 arg mesh_send_provisioning_complete_packet ,regb 
+0x2ce0 013184 arg mem_mesh_adv_data ,rega 
+0x2ce1 013185 branch logging_tx_info 
+:      013189 ali_mesh_receive_adtype_128bit_uuid_complete:
+0x2ce2 013190 call ali_mesh_receive_adtype_128bit_uuid_complete_store_uuid 
+0x2ce3 013191 nrtn user 
+0x2ce4 013192 fetch 1 ,mem_mesh_receive_service_uuid_ios_data_provisioning_type 
+0x2ce5 013193 beq provisioning_ios_data ,ali_mesh_ios_gatt_packet_parse_provisioning_app_control 
+:      013194 ali_mesh_ios_gatt_packet_pairing_type:
+0x2ce6 013195 fetch 1 ,mem_mesh_provisioned_flag 
+0x2ce7 013196 rtneq paired_status 
+0x2ce8 013197 rtneq silence_beacon_status 
+0x2ce9 013198 fetch 2 ,mem_mesh_receive_service_uuid_mac 
+0x2cea 013199 fetcht 2 ,mem_mesh_three_tuple_mac + 4 
+0x2ceb 013200 isub temp ,null 
+0x2cec 013201 nrtn zero 
+0x2ced 013202 arg mem_mesh_receive_service_uuid_msg_id ,rega 
+0x2cee 013203 arg max_length_privisioning_pairing_msg_ios ,regb 
+0x2cef 013204 call ali_mesh_app_control_package_check_integrity 
+0x2cf0 013205 rtn user 
+0x2cf1 013206 bpatchx patch3e_6 ,mem_patch3e 
+0x2cf2 013207 fetch 1 ,mem_mesh_receive_service_uuid_provisioning_type 
+0x2cf3 013208 beq provisioning_random ,ali_mesh_ios_gatt_packet_parse_provisioning_random 
+0x2cf4 013209 beq provisioning_data ,ali_mesh_ios_gatt_packet_parse_provisioning_data 
+0x2cf5 013210 beq provisioning_config ,ali_mesh_ios_gatt_packet_parse_provisioning_config 
+0x2cf6 013211 rtn 
+:      013214 ali_mesh_ios_gatt_packet_parse_provisioning_random:
+0x2cf7 013215 fetch 2 ,mem_mesh_three_tuple_mac + 4 
+0x2cf8 013216 store 2 ,mem_mesh_gatt_package_receive_mac 
+0x2cf9 013217 arg mem_mesh_gatt_package_receive_mac ,contr 
+0x2cfa 013218 branch ali_mesh_advertising_receive_privisioning_random 
+:      013221 ali_mesh_ios_gatt_packet_parse_provisioning_data:
+0x2cfb 013223 fetch 1 ,mem_mesh_provisioned_flag 
+0x2cfc 013224 rtneq paired_status 
+0x2cfd 013225 fetch 1 ,mem_mesh_provisioning_state_flag 
+0x2cfe 013226 rtnbit0 receive_provisioning_random 
+0x2cff 013227 rtnbit1 receive_provisioning_data 
+0x2d00 013228 arg mem_mesh_gatt_package_receive_msg_payload ,contr 
+0x2d01 013229 arg 0x14 ,loopcnt 
+0x2d02 013230 arg mem_mesh_keyfresh_and_update_flag ,contw 
+0x2d03 013231 call memcpy 
+0x2d04 013232 call ali_mesh_encrypt_calc_provisioning_data_calc_sessionkey 
+0x2d05 013233 arg mem_mesh_keyfresh_and_update_flag ,rega 
+0x2d06 013234 arg memresult ,regb 
+0x2d07 013235 arg 0x0a ,loopcnt 
+0x2d08 013236 call ali_mesh_encrypt_calc_provisioning_data_xor_prov_data_loop 
+0x2d09 013237 branch ali_mesh_resolve_privisioning_data_package 
+:      013240 ali_mesh_ios_gatt_packet_parse_provisioning_config:
+0x2d0a 013241 fetch 1 ,mem_mesh_provisioned_flag 
+0x2d0b 013242 rtnne unprovisioned_beacon_status 
+0x2d0c 013243 jam pairing_status ,mem_mesh_provisioned_flag 
+:      013245 ali_mesh_ios_gatt_packet_send_provisioning_config_ack:
+0x2d0d 013246 arg provisioning_config_ack_mac + provisioning_config_ack_field ,temp 
+0x2d0e 013247 call ali_mesh_advertising_send_packet_common 
+0x2d0f 013248 setarg provisioning_config_ack 
+0x2d10 013249 istore 1 ,contw 
+0x2d11 013250 fetch 2 ,mem_mesh_three_tuple_mac + 4 
+0x2d12 013251 istore 2 ,contw 
+0x2d13 013252 setarg provisioning_config_ack_note 
+0x2d14 013253 istore 1 ,contw 
+0x2d15 013254 rtn 
+:      013256 ali_mesh_ios_gatt_packet_parse_provisioning_app_control:
+0x2d16 013259 arg mem_mesh_receive_service_uuid_ios_data_nid ,contr 
+0x2d17 013260 arg max_length_privisioning_control_msg_ios ,regb 
+:      013261 ali_mesh_resolve_app_control_msg_package:
+0x2d18 013262 bpatchx patch3e_7 ,mem_patch3e 
+0x2d19 013263 ifetch 1 ,contr 
+0x2d1a 013264 copy contr ,rega 
+0x2d1b 013265 fetcht 1 ,mem_k2_nid 
+0x2d1c 013266 isub temp ,null 
+0x2d1d 013267 nrtn zero 
+0x2d1e 013268 call ali_mesh_advertising_reset_adv_timer 
+0x2d1f 013269 call ali_mesh_app_control_package_check_integrity 
+0x2d20 013270 rtn user 
+0x2d21 013271 jam mesh_message_app ,mem_mesh_network_packet_type 
+0x2d22 013272 fetcht 1 ,mem_mesh_gatt_package_receive_msg_total_length 
+0x2d23 013273 increase 1 ,temp 
+0x2d24 013274 arg mem_mesh_gatt_package_receive_msg_payload ,contr 
+0x2d25 013275 branch ali_mesh_network_layer_recevice_network_pdu 
+:      013278 ali_mesh_receive_adtype_128bit_uuid_complete_store_uuid:
+0x2d26 013279 arg mem_mesh_receive_service_uuid_company_id ,contw 
+0x2d27 013280 call memcpy16 
+0x2d28 013281 arg mem_mesh_receive_service_uuid_company_id ,rega 
+0x2d29 013282 arg 16 ,loopcnt 
+0x2d2a 013283 call inverse_data 
+0x2d2b 013284 arg 16 ,loopcnt 
+0x2d2c 013285 arg mem_mesh_receive_service_uuid_company_id ,contr 
+0x2d2d 013286 branch ali_mesh_receive_provisioning_package_check_header 
+:      013288 ali_mesh_receive_provisioning_package_check_header:
+0x2d2e 013289 call disable_user 
+0x2d2f 013290 ifetcht 2 ,contr 
+0x2d30 013291 setarg company_identifiers_alibaba 
+0x2d31 013292 byteswap pdata ,pdata 
+0x2d32 013293 isub temp ,null 
+0x2d33 013294 nrtn zero 
+0x2d34 013295 ifetch 1 ,contr 
+0x2d35 013296 store 1 ,mem_mesh_receive_vid 
+0x2d36 013297 call enable_user 
+0x2d37 013298 branch logging_tx_debug_receive_provisioning_packet 
+:      013301 ali_mesh_app_control_package_check_integrity:
+0x2d38 013302 bpatchx patch3f_0 ,mem_patch3f 
+0x2d39 013303 call ali_mesh_app_control_package_check_msgid_legal 
+0x2d3a 013304 branch ali_mesh_app_control_package_check_rev_complete 
+:      013307 ali_mesh_app_control_package_check_rev_complete:
+0x2d3b 013308 add rega ,gatt_package_package_num ,contr 
+0x2d3c 013309 ifetcht 1 ,contr 
+0x2d3d 013310 rshift4 temp ,pdata 
+0x2d3e 013311 beq 1 ,ali_mesh_gatt_package_check_integrity_unsegment 
+:      013312 ali_mesh_gatt_package_check_integrity_segment:
+0x2d3f 013313 sub pdata ,max_gatt_package_num ,null 
+0x2d40 013314 nbranch enable_user ,positive 
+0x2d41 013315 copy pdata ,loopcnt 
+0x2d42 013316 call ali_mesh_gatt_package_check_integrity_segment_expect_package_num 
+0x2d43 013317 and temp ,0x0f ,queue 
+0x2d44 013318 isub queue ,null 
+0x2d45 013319 call ali_mesh_gatt_package_check_integrity_segment_calc_total_length ,zero 
+0x2d46 013320 increase -1 ,queue 
+0x2d47 013321 fetch 1 ,mem_mesh_gatt_package_receive_msg_num 
+0x2d48 013322 qisolate1 pdata 
+0x2d49 013323 branch enable_user ,true 
+0x2d4a 013324 qset1 pdata 
+0x2d4b 013325 store 1 ,mem_mesh_gatt_package_receive_msg_num 
+0x2d4c 013326 add rega ,gatt_package_length ,contr 
+0x2d4d 013327 ifetch 1 ,contr 
+0x2d4e 013328 copy pdata ,loopcnt 
+0x2d4f 013329 copy regb ,pdata 
+0x2d50 013330 imul32 queue ,pdata 
+0x2d51 013331 arg mem_mesh_gatt_package_receive_msg_payload ,contw 
+0x2d52 013332 iadd contw ,contw 
+0x2d53 013333 call memcpy_fast 
+0x2d54 013334 fetch 1 ,mem_mesh_gatt_package_receive_msg_num 
+0x2d55 013335 isub regc ,null 
+0x2d56 013336 ncall enable_user ,zero 
+0x2d57 013337 nbranch ali_mesh_gatt_package_store_receive_msg_buffer ,zero 
+:      013338 ali_mesh_gatt_package_check_integrity_segment_complete:
+0x2d58 013339 call ali_mesh_gatt_package_clear_receive_msg_buffer 
+0x2d59 013340 branch disable_user 
+:      013343 ali_mesh_gatt_package_check_integrity_segment_calc_total_length:
+0x2d5a 013344 pincrease -1 
+0x2d5b 013345 imul32 regb ,pdata 
+0x2d5c 013346 add rega ,gatt_package_length ,contr 
+0x2d5d 013347 ifetcht 1 ,contr 
+0x2d5e 013348 iadd temp ,pdata 
+0x2d5f 013349 store 1 ,mem_mesh_gatt_package_receive_msg_total_length 
+0x2d60 013350 rtn 
+:      013352 ali_mesh_gatt_package_check_integrity_segment_expect_package_num:
+0x2d61 013353 arg 0 ,regc 
+:      013354 ali_mesh_gatt_package_check_integrity_segment_expect_package_num_loop:
+0x2d62 013355 add loopcnt ,-1 ,queue 
+0x2d63 013356 qset1 regc 
+0x2d64 013357 loop ali_mesh_gatt_package_check_integrity_segment_expect_package_num_loop 
+0x2d65 013358 rtn 
+:      013361 ali_mesh_gatt_package_store_receive_msg_buffer:
+0x2d66 013362 fetch 2 ,mem_mesh_gatt_package_receive_msg_buffer_ptr 
+0x2d67 013363 copy pdata ,contw 
+0x2d68 013364 arg mem_mesh_gatt_package_receive_msg_buffer_temp ,contr 
+0x2d69 013365 arg 33 ,loopcnt 
+0x2d6a 013366 branch memcpy_fast 
+:      013369 ali_mesh_gatt_package_check_integrity_unsegment:
+0x2d6b 013370 ifetch 1 ,contr 
+0x2d6c 013371 copy pdata ,loopcnt 
+0x2d6d 013372 store 1 ,mem_mesh_gatt_package_receive_msg_total_length 
+0x2d6e 013373 arg mem_mesh_gatt_package_receive_msg_payload ,contw 
+0x2d6f 013374 call memcpy 
+0x2d70 013375 branch disable_user 
+:      013379 ali_mesh_app_control_package_check_msgid_legal:
+0x2d71 013380 jam gatt_receive_timeout ,mem_mesh_gatt_receive_msg_timer 
+0x2d72 013381 call ali_mesh_gatt_package_get_msgid 
+0x2d73 013383 fetcht 2 ,mem_mesh_gatt_packet_receive_msg_buffer1 
+0x2d74 013384 isub temp ,null 
+0x2d75 013386 branch ali_mesh_gatt_package_load_receive_msg_buffer1 ,zero 
+0x2d76 013387 sub temp ,0 ,null 
+0x2d77 013389 branch ali_mesh_gatt_package_load_receive_msg_buffer1 ,zero 
+0x2d78 013391 fetcht 2 ,mem_mesh_gatt_packet_receive_msg_buffer2 
+0x2d79 013392 isub temp ,null 
+0x2d7a 013394 branch ali_mesh_gatt_package_load_receive_msg_buffer2 ,zero 
+0x2d7b 013395 sub temp ,0 ,null 
+0x2d7c 013397 branch ali_mesh_gatt_package_load_receive_msg_buffer2 ,zero 
+0x2d7d 013399 call ali_mesh_gatt_package_clear_receive_msg_buffer 
+0x2d7e 013400 call ali_mesh_gatt_package_get_msgid 
+0x2d7f 013401 branch ali_mesh_gatt_package_load_receive_msg_buffer1 
+:      013404 ali_mesh_gatt_package_get_msgid:
+0x2d80 013405 ifetch 1 ,rega 
+0x2d81 013406 rtn blank 
+0x2d82 013407 set1 8 ,pdata 
+0x2d83 013408 rtn 
+:      013410 ali_mesh_gatt_package_load_receive_msg_buffer1:
+0x2d84 013411 store 2 ,mem_mesh_gatt_packet_receive_msg_buffer1 
+0x2d85 013412 setarg mem_mesh_gatt_packet_receive_msg_buffer1 
+0x2d86 013413 branch ali_mesh_gatt_package_load_receive_msg_buffer 
+:      013414 ali_mesh_gatt_package_load_receive_msg_buffer2:
+0x2d87 013415 store 2 ,mem_mesh_gatt_packet_receive_msg_buffer2 
+0x2d88 013416 setarg mem_mesh_gatt_packet_receive_msg_buffer2 
+0x2d89 013417 branch ali_mesh_gatt_package_load_receive_msg_buffer 
+:      013418 ali_mesh_gatt_package_load_receive_msg_buffer:
+0x2d8a 013419 store 2 ,mem_mesh_gatt_package_receive_msg_buffer_ptr 
+0x2d8b 013420 copy pdata ,contr 
+0x2d8c 013421 arg mem_mesh_gatt_package_receive_msg_buffer_temp ,contw 
+0x2d8d 013422 arg gatt_receive_msg_buffer_size ,loopcnt 
+0x2d8e 013423 branch memcpy_fast 
+:      013426 ali_mesh_gatt_package_receive_timer:
+0x2d8f 013427 arg mem_mesh_gatt_receive_msg_timer ,regc 
+0x2d90 013428 arg ali_mesh_gatt_package_clear_receive_msg_buffer ,regb 
+0x2d91 013429 branch timer_single_step 
+:      013431 ali_mesh_gatt_package_clear_receive_msg_buffer:
+0x2d92 013432 arg mem_mesh_gatt_packet_receive_msg_buffer1 ,contw 
+0x2d93 013433 arg gatt_receive_msg_buffer_size + gatt_receive_msg_buffer_size ,loopcnt 
+0x2d94 013434 branch clear_mem 
+:      013440 ali_mesh_access_layer_config_or_health_message_opcode:
+0x2d95 013441 fetch 1 ,mem_mesh_configuration_health_message_opcode 
+0x2d96 013442 beq mesh_message_opcode_config_node_reset_no_head ,ali_mesh_access_layer_config_or_health_message_opcode_node_reset 
+0x2d97 013443 beq mesh_message_opcode_config_model_subscription_add_no_head ,ali_mesh_message_config_modle_subscription_add 
+0x2d98 013444 beq mesh_message_opcode_config_model_subscription_delete_no_head ,ali_mesh_message_config_modle_subscription_delete 
+0x2d99 013445 rtn 
+:      013448 ali_mesh_access_layer_config_or_health_message_opcode_node_reset:
+0x2d9a 013449 call ali_mesh_access_layer_send_config_node_reset_status 
+0x2d9b 013450 fetch 2 ,mem_mesh_cb_receive_node_reset 
+0x2d9c 013451 branch callback_func 
+:      013452 ali_mesh_access_layer_send_config_node_reset_status:
+0x2d9d 013453 setarg mesh_configuration_and_health_message_opcode_header 
+0x2d9e 013454 store 1 ,mem_mesh_access_layer_payload 
+0x2d9f 013455 setarg mesh_message_opcode_config_node_reset_status_no_head 
+0x2da0 013456 istore 1 ,contw 
+0x2da1 013457 jam 2 ,mem_mesh_access_layer_payload_len 
+0x2da2 013458 branch ali_mesh_upper_transport_layer_send_access_message 
+:      013461 ali_mesh_message_config_modle_subscription_add:
+0x2da3 013462 call ali_mesh_message_config_modle_subscription_status 
+0x2da4 013463 fetch 2 ,mem_mesh_core_feature 
+0x2da5 013464 rtnbit1 mesh_feature_disable_subscription 
+0x2da6 013465 call ali_mesh_message_config_modle_subscription_check_element 
+0x2da7 013466 call ali_mesh_message_config_modle_subscription_add_value_address 
+0x2da8 013467 fetch 2 ,mem_mesh_cb_subscriptuion_list_changed 
+0x2da9 013468 branch callback_func 
+:      013471 ali_mesh_message_config_modle_subscription_delete:
+0x2daa 013472 call ali_mesh_message_config_modle_subscription_status 
+0x2dab 013473 fetch 2 ,mem_mesh_core_feature 
+0x2dac 013474 rtnbit1 mesh_feature_disable_subscription 
+0x2dad 013475 call ali_mesh_message_config_modle_subscription_check_element 
+0x2dae 013476 fetcht 2 ,mem_mesh_subscription_value_address 
+0x2daf 013477 rshift8 temp ,pdata 
+0x2db0 013478 rshift4 pdata ,pdata 
+0x2db1 013479 beq 0x0c ,ali_mesh_message_config_modle_subscription_delete_group_addr 
+0x2db2 013480 call ali_mesh_message_config_modle_subscription_check_value_address 
+0x2db3 013481 nrtn user 
+0x2db4 013482 setarg 0 
+0x2db5 013483 istore 2 ,rega 
+0x2db6 013484 fetch 2 ,mem_mesh_cb_subscriptuion_list_changed 
+0x2db7 013485 branch callback_func 
+:      013487 ali_mesh_message_config_modle_subscription_delete_group_addr:
+0x2db8 013488 setarg -1 
+0x2db9 013489 istore subscription_max_count ,rega 
+0x2dba 013490 istore subscription_max_count ,contw 
+0x2dbb 013491 fetch 2 ,mem_mesh_cb_subscriptuion_list_changed 
+0x2dbc 013492 branch callback_func 
+:      013494 ali_mesh_message_config_modle_subscription_check_value_address:
+0x2dbd 013495 arg subscription_max_count ,loopcnt 
+:      013496 ali_mesh_message_config_modle_subscription_check_value_address_loop:
+0x2dbe 013497 ifetch 2 ,rega 
+0x2dbf 013498 arg 0xffff ,regb 
+0x2dc0 013499 isub regb ,null 
+0x2dc1 013500 branch enable_user ,zero 
+0x2dc2 013501 isub temp ,null 
+0x2dc3 013502 branch enable_user ,zero 
+:      013503 ali_mesh_message_config_modle_subscription_check_value_address_loop_empty:
+0x2dc4 013504 increase 2 ,rega 
+0x2dc5 013505 loop ali_mesh_message_config_modle_subscription_check_value_address_loop 
+0x2dc6 013506 call disable_user 
+0x2dc7 013507 rtn 
+:      013510 ali_mesh_message_config_modle_subscription_status:
+0x2dc8 013511 setarg mesh_configuration_and_health_message_opcode_header 
+0x2dc9 013512 store 1 ,mem_mesh_access_layer_payload 
+0x2dca 013513 setarg mesh_message_opcode_config_model_subscription_status_no_head 
+0x2dcb 013514 istore 1 ,contw 
+0x2dcc 013515 setarg mesh_success 
+0x2dcd 013516 istore 1 ,contw 
+0x2dce 013517 fetch 6 ,mem_mesh_subscription_element_address 
+0x2dcf 013518 istore 6 ,contw 
+0x2dd0 013519 jam 9 ,mem_mesh_access_layer_payload_len 
+0x2dd1 013520 branch ali_mesh_upper_transport_layer_send_access_message_without_cleat_tx_buffer 
+:      013522 ali_mesh_message_config_modle_subscription_check_element:
+0x2dd2 013523 call mesh_get_element_info_config 
+0x2dd3 013524 add rega ,element_device_subscription_label ,rega 
+0x2dd4 013525 fetch 2 ,mem_mesh_subscription_element_address 
+0x2dd5 013526 fetcht 2 ,mem_mesh_unicast_address 
+0x2dd6 013527 byteswap temp ,temp 
+0x2dd7 013528 isub temp ,pdata 
+0x2dd8 013529 imul32 regb ,pdata 
+0x2dd9 013530 iadd rega ,rega 
+0x2dda 013531 rtn 
+:      013533 ali_mesh_message_config_modle_subscription_add_value_address:
+0x2ddb 013534 fetcht 2 ,mem_mesh_subscription_value_address 
+0x2ddc 013535 arg subscription_max_count ,loopcnt 
+:      013536 ali_mesh_message_config_modle_subscription_add_value_address_loop:
+0x2ddd 013537 ifetch 2 ,rega 
+0x2dde 013538 branch ali_mesh_message_config_modle_subscription_add_value_address_in ,blank 
+0x2ddf 013539 arg 0xffff ,regb 
+0x2de0 013540 isub regb ,null 
+0x2de1 013541 branch ali_mesh_message_config_modle_subscription_add_value_address_in ,zero 
+0x2de2 013542 increase 2 ,rega 
+0x2de3 013543 loop ali_mesh_message_config_modle_subscription_add_value_address_loop 
+0x2de4 013544 rtn 
+:      013546 ali_mesh_message_config_modle_subscription_add_value_address_in:
+0x2de5 013547 byteswap temp ,temp 
+0x2de6 013548 istoret 2 ,rega 
+0x2de7 013549 rtn 
+:      013554 ali_mesh_init:
+0x2de8 013555 call init_memp 
+0x2de9 013557 setarg mesh_check_ble_rx_packet 
+0x2dea 013558 store 2 ,mem_mesh_cb_receive_advertising 
+0x2deb 013560 setarg mesh_idle_process 
+0x2dec 013561 store 2 ,mem_cb_idle_process 
+0x2ded 013563 setarg ali_mesh_network_layer_relay_access_message 
+0x2dee 013564 store 2 ,mem_mesh_cb_network_relay 
+0x2def 013566 setarg mesh_receive_config_appkey_add_cb 
+0x2df0 013567 store 2 ,mem_mesh_cb_receive_config_appkey_add 
+0x2df1 013569 setarg mesh_store_new_subscriptuion_list_data 
+0x2df2 013570 store 2 ,mem_mesh_cb_subscriptuion_list_changed 
+0x2df3 013572 setarg mesh_store_new_seq_data 
+0x2df4 013573 store 2 ,mem_mesh_cb_seq_changed 
+0x2df5 013575 setarg mesh_cb_event_timer 
+0x2df6 013576 store 2 ,mem_cb_event_timer 
+0x2df7 013578 setarg ali_mesh_access_layer_check_access_message_opcode 
+0x2df8 013579 store 2 ,mem_mesh_cb_receive_access_message 
+0x2df9 013581 setarg mesh_le_wait_adv_cb 
+0x2dfa 013582 store 2 ,mem_mesh_scan_selete_next_ch 
+0x2dfb 013584 setarg mesh_le_receive_data 
+0x2dfc 013585 store 2 ,mem_cb_att_write 
+0x2dfd 013587 setarg ali_mesh_proxy_process_bb_event 
+0x2dfe 013588 store 2 ,mem_cb_bb_event_process 
+0x2dff 013590 jam 36 ,mem_mesh_adv_scan_channel 
+0x2e00 013591 call ali_mesh_ali_vendor_message_indication_info_reset_tid 
+0x2e01 013593 bpatchx patch3f_1 ,mem_patch3f 
+0x2e02 013594 call mesh_uart_init 
+0x2e03 013595 call mesh_iic_init 
+0x2e04 013596 arg mem_mesh_network_key ,rega 
+0x2e05 013597 arg mesh_code_init ,regb 
+0x2e06 013598 arg 1 ,loopcnt 
+0x2e07 013599 call logging_tx_info 
+0x2e08 013601 call ali_mesh_chip_peripherals_load_data_from_eep 
+0x2e09 013602 call mesh_inverse_three_tuple_mac 
+0x2e0a 013603 fetch 1 ,mem_mesh_network_key 
+0x2e0b 013604 beq 0xff ,mesh_send_unprovisioned_beacons 
+0x2e0c 013606 call ali_mesh_encrypt_base_function_k3 
+0x2e0d 013607 call ali_mesh_encrypt_base_function_k4 
+0x2e0e 013608 call ali_mesh_encrypt_calc_network_key_by_k2 
+0x2e0f 013609 branch ali_mesh_ali_vendor_message_opcode_device_power_on 
+:      013612 mesh_inverse_three_tuple_mac:
+0x2e10 013613 fetch 6 ,mem_mesh_three_tuple_mac 
+0x2e11 013614 call inverse_data_6byte 
+0x2e12 013615 store 6 ,mem_le_lap 
+0x2e13 013616 rtn 
+:      013618 mesh_get_element_info_config:
+0x2e14 013619 fetchr loopcnt ,1 ,mem_mesh_element_number 
+0x2e15 013620 fetchr rega ,2 ,mem_mesh_element_device_ptr 
+0x2e16 013621 fetchr regb ,2 ,mem_mesh_element_device_length 
+0x2e17 013622 rtn 
+:      013625 mesh_idle_process:
+0x2e18 013626 call ali_mesh_time_function 
+0x2e19 013627 call ali_mesh_control_ble_adv_process 
+0x2e1a 013628 call ali_mesh_upper_transport_layer_control_packet 
+0x2e1b 013629 call ali_mesh_advertising_bearer_layer_load_packet_from_advertising_queue 
+0x2e1c 013630 branch mesh_receive_advertising 
+:      013633 mesh_cb_event_timer:
+0x2e1d 013634 call ali_mesh_control_ble_adv_timer_process 
+0x2e1e 013635 branch ali_mesh_gatt_package_receive_timer 
+:      013638 ali_mesh_check_all_element_info:
+0x2e1f 013639 call mesh_get_element_info_config 
+:      013640 ali_mesh_check_all_element_info_loop:
+0x2e20 013641 call ali_mesh_more_element_push_stack 
+0x2e21 013642 copy regc ,pdata 
+0x2e22 013643 call callback_func 
+0x2e23 013644 call ali_mesh_more_element_pop_stack 
+0x2e24 013645 copy regb ,pdata 
+0x2e25 013646 iadd rega ,rega 
+0x2e26 013647 loop ali_mesh_check_all_element_info_loop 
+0x2e27 013648 rtn 
+:      013651 mesh_iic_init:
+0x2e28 013653 jam gpcfg_output_high ,core_gpio_conf + 2 
+0x2e29 013654 jam gpcfg_iic_scl | gpcfg_pullup ,core_gpio_conf + 1 
+0x2e2a 013655 jam gpcfg_iic_sda | gpcfg_pullup ,core_gpio_conf + 0 
+0x2e2b 013656 branch clear_eeprom_size_2k 
+:      013659 ali_mesh_lower_transport_layer_receive_lower_transport_pdu:
+0x2e2c 013660 bpatchx patch3f_2 ,mem_patch3f 
+0x2e2d 013661 fetch 1 ,mem_mesh_message_transport_head 
+0x2e2e 013662 bbit1 transport_head_bit_seg ,ali_mesh_lower_transport_layer_receive_lower_transport_pdu_segmented_message 
+0x2e2f 013663 jam 0 ,mem_mesh_aszmic 
+0x2e30 013664 branch ali_mesh_upper_transport_layer_receive_unsegmented_access_message 
+:      013667 ali_mesh_lower_transport_layer_receive_lower_transport_pdu_segmented_message:
+0x2e31 013668 call ali_mesh_lower_transport_layer_receive_segaccmess_resolve_szmic_seqzero_segon 
+0x2e32 013669 rtn user 
+0x2e33 013670 call ali_mesh_lower_transport_layer_receive_segmented_access_message_check_blockack 
+0x2e34 013671 rtn user 
+0x2e35 013672 call ali_mesh_lower_transport_layer_receive_segmented_access_message_store_segment 
+0x2e36 013673 branch ali_mesh_lower_transport_layer_receive_segmented_access_message_decrypt_segment 
+:      013677 ali_mesh_lower_transport_layer_receive_segaccmess_resolve_szmic_seqzero_segon:
+0x2e37 013678 call disable_user 
+0x2e38 013679 arg 3 ,loopcnt 
+0x2e39 013680 arg mem_mesh_message_segment_access_szmic_seqzero_sego_segn ,rega 
+0x2e3a 013681 call inverse_data 
+0x2e3b 013682 fetchr rega ,3 ,mem_mesh_message_segment_access_szmic_seqzero_sego_segn 
+0x2e3c 013683 and rega ,0x1f ,temp 
+0x2e3d 013684 storet 1 ,mem_mesh_segmented_access_message_segn 
+0x2e3e 013685 fetch 1 ,mem_mesh_segmented_access_message_segn_upper_limit 
+0x2e3f 013686 isub temp ,null 
+0x2e40 013687 nbranch enable_user ,positive 
+0x2e41 013689 rshift4 rega ,pdata 
+0x2e42 013690 rshift pdata ,pdata 
+0x2e43 013691 and pdata ,0x1f ,temp 
+0x2e44 013692 storet 1 ,mem_mesh_segmented_access_message_sego 
+0x2e45 013693 rshift4 pdata ,pdata 
+0x2e46 013694 rshift pdata ,pdata 
+0x2e47 013695 arg 0x1fff ,rega 
+0x2e48 013696 iand rega ,temp 
+0x2e49 013697 copy pdata ,regb 
+0x2e4a 013698 fetch 2 ,mem_mesh_segmented_access_message_seqzero 
+0x2e4b 013699 isub temp ,null 
+0x2e4c 013700 ncall ali_mesh_lower_transport_layer_receive_segmented_access_message_recover_seqzero ,zero 
+0x2e4d 013701 storet 2 ,mem_mesh_segmented_access_message_seqzero 
+0x2e4e 013702 rshift8 regb ,pdata 
+0x2e4f 013703 rshift4 pdata ,pdata 
+0x2e50 013704 rshift pdata ,pdata 
+0x2e51 013705 store 1 ,mem_mesh_segmented_access_message_szmic 
+0x2e52 013706 store 1 ,mem_mesh_aszmic 
+0x2e53 013707 rtn 
+:      013709 ali_mesh_lower_transport_layer_receive_segmented_access_message_recover_seqzero:
+0x2e54 013710 setarg 0 
+0x2e55 013711 store 4 ,mem_mesh_segmented_access_message_blockack 
+0x2e56 013712 jam 0 ,mem_mesh_segmented_access_message_current_length 
+0x2e57 013713 rtn 
+:      013718 ali_mesh_lower_transport_layer_receive_segmented_access_message_check_blockack:
+0x2e58 013719 call disable_user 
+0x2e59 013720 fetch 1 ,mem_mesh_segmented_access_message_sego 
+0x2e5a 013721 copy pdata ,queue 
+0x2e5b 013722 fetch 4 ,mem_mesh_segmented_access_message_blockack 
+0x2e5c 013723 qisolate1 pdata 
+0x2e5d 013724 branch enable_user ,true 
+0x2e5e 013725 qset1 pdata 
+0x2e5f 013726 store 4 ,mem_mesh_segmented_access_message_blockack 
+0x2e60 013727 fetcht 1 ,mem_mesh_segmented_access_message_segn 
+0x2e61 013728 add temp ,1 ,loopcnt 
+:      013729 ali_mesh_lower_transport_layer_receive_segmented_access_message_check_blockack_loop:
+0x2e62 013730 add loopcnt ,-1 ,queue 
+0x2e63 013731 qisolate1 pdata 
+0x2e64 013732 nrtn true 
+0x2e65 013733 loop ali_mesh_lower_transport_layer_receive_segmented_access_message_check_blockack_loop 
+0x2e66 013734 jam 1 ,mem_mesh_segmented_access_message_receive_finish 
+0x2e67 013735 rtn 
+:      013739 ali_mesh_lower_transport_layer_receive_segmented_access_message_store_segment:
+0x2e68 013740 fetch 1 ,mem_mesh_message_transport_netmic_length 
+0x2e69 013741 pincrease -6 
+0x2e6a 013742 copy pdata ,loopcnt 
+0x2e6b 013743 fetcht 1 ,mem_mesh_segmented_access_message_current_length 
+0x2e6c 013744 iadd temp ,temp 
+0x2e6d 013745 storet 1 ,mem_mesh_segmented_access_message_current_length 
+0x2e6e 013746 fetch 2 ,mem_mesh_segmented_access_message_segment_ptr 
+0x2e6f 013747 iforce contw 
+0x2e70 013748 fetch 1 ,mem_mesh_segmented_access_message_sego 
+0x2e71 013749 mul32 pdata ,12 ,pdata 
+0x2e72 013750 iadd contw ,contw 
+0x2e73 013751 arg mem_mesh_message_transport_segmented_access_messagepdu_segment ,contr 
+0x2e74 013752 branch memcpy 
+:      013755 ali_mesh_lower_transport_layer_receive_segmented_access_message_decrypt_segment:
+0x2e75 013756 fetch 1 ,mem_mesh_segmented_access_message_receive_finish 
+0x2e76 013757 rtneq 0 
+0x2e77 013758 setarg 0 
+0x2e78 013759 store 5 ,mem_mesh_segmented_access_message_blockack 
+0x2e79 013760 fetcht 2 ,mem_mesh_message_seq + 1 
+0x2e7a 013761 byteswap temp ,temp 
+0x2e7b 013762 setarg 0xe000 
+0x2e7c 013763 iand temp ,temp 
+0x2e7d 013764 fetch 2 ,mem_mesh_segmented_access_message_seqzero 
+0x2e7e 013765 ior temp ,pdata 
+0x2e7f 013766 byteswap pdata ,pdata 
+0x2e80 013767 store 2 ,mem_mesh_message_seq + 1 
+0x2e81 013768 branch ali_mesh_upper_transport_layer_receive_segmented_access_message 
+:      013772 ali_mesh_lower_transport_layer_send_unsegmented_access_message:
+0x2e82 013773 fetch 1 ,mem_mesh_upper_transport_layer_payload_len 
+0x2e83 013774 add pdata ,1 ,temp 
+0x2e84 013775 copy pdata ,loopcnt 
+0x2e85 013776 storet 1 ,mem_mesh_lower_transport_layer_payload_len 
+0x2e86 013777 fetch 1 ,mem_mesh_message_transport_head 
+0x2e87 013778 set0 transport_head_bit_seg ,pdata 
+0x2e88 013779 store 1 ,mem_mesh_unsegmented_access_lower_transport_layer_head 
+0x2e89 013780 arg mem_mesh_access_layer_payload ,contr 
+0x2e8a 013781 call memcpy_fast 
+0x2e8b 013782 branch ali_mesh_network_layer_send_access_message 
+:      013787 ali_mesh_lower_transport_layer_send_segmented_access_message:
+0x2e8c 013788 add rega ,4 ,temp 
+0x2e8d 013789 copy rega ,loopcnt 
+0x2e8e 013790 storet 1 ,mem_mesh_lower_transport_layer_payload_len 
+0x2e8f 013791 arg mem_mesh_segmented_access_lower_transport_layer_parameters ,contw 
+0x2e90 013792 call memcpy_fast 
+0x2e91 013793 fetch 1 ,mem_mesh_message_transport_head 
+0x2e92 013794 set1 transport_head_bit_seg ,pdata 
+0x2e93 013795 store 1 ,mem_mesh_segmented_access_lower_transport_layer_head 
+0x2e94 013796 branch ali_mesh_network_layer_send_access_message 
+:      013801 ali_mesh_model_layer_check_model_message_opcode:
+0x2e95 013802 fetch 1 ,mem_mesh_module_message_opcode 
+:      013803 ali_mesh_model_layer_check_generic_onoff_message_opcde:
+0x2e96 013804 beq mesh_module_message_opcode_generic_onoff_get_no_head ,ali_mesh_model_layer_message_opcode_generic_onoff_get 
+0x2e97 013805 beq mesh_module_message_opcode_generic_onoff_set_no_head ,ali_mesh_model_layer_message_opcde_generic_onoff_set 
+0x2e98 013806 beq mesh_module_message_opcode_scene_recall_no_head ,ali_mesh_model_layer_message_opcde_scene_recall 
+0x2e99 013807 beq mesh_module_message_opcode_light_lightness_set_no_head ,ali_mesh_model_layer_message_opcde_light_lightness_set 
+0x2e9a 013808 beq mesh_module_message_opcode_light_ctl_set_no_head ,ali_mesh_model_layer_message_opcde_light_ctl_set 
+0x2e9b 013809 rtn 
+:      013812 ali_mesh_model_layer_message_opcode_generic_onoff_get:
+0x2e9c 013813 arg ali_mesh_model_layer_message_opcode_generic_onoff_get_cb ,regc 
+0x2e9d 013814 branch ali_mesh_more_element_check_element_address 
+:      013815 ali_mesh_model_layer_message_opcode_generic_onoff_get_cb:
+0x2e9e 013818 fetch 2 ,mem_mesh_cb_generic_onoff_get 
+0x2e9f 013819 call callback_func 
+0x2ea0 013820 store 1 ,mem_mesh_generic_onoff_set_payload_onoff 
+0x2ea1 013821 branch ali_mesh_access_layer_send_generic_onoff_status 
+:      013824 ali_mesh_model_layer_message_opcde_generic_onoff_set:
+0x2ea2 013825 arg ali_mesh_model_layer_message_opcde_generic_onoff_set_cb ,regc 
+0x2ea3 013826 branch ali_mesh_more_element_check_element_address 
+:      013827 ali_mesh_model_layer_message_opcde_generic_onoff_set_cb:
+0x2ea4 013828 call ali_mesh_access_layer_send_generic_onoff_status 
+0x2ea5 013829 fetch 2 ,mem_mesh_cb_generic_onoff_set 
+0x2ea6 013830 branch callback_func 
+:      013834 ali_mesh_model_layer_message_opcde_scene_recall:
+0x2ea7 013835 call ali_mesh_access_layer_send_scene_status 
+0x2ea8 013836 fetch 2 ,mem_mesh_cb_scene_recall 
+0x2ea9 013837 branch callback_func 
+:      013840 ali_mesh_model_layer_message_opcde_light_lightness_set:
+0x2eaa 013841 fetch 2 ,mem_mesh_light_lightness_set_payload_lightness 
+0x2eab 013842 call ali_mesh_model_layer_message_calc_lightness 
+0x2eac 013843 store 1 ,mem_mesh_light_lightness_calc_lightness 
+0x2ead 013844 call ali_mesh_access_layer_send_light_lightness_status 
+0x2eae 013845 fetch 2 ,mem_mesh_cb_light_lightness_set 
+0x2eaf 013846 branch callback_func 
+:      013849 ali_mesh_model_layer_message_opcde_light_ctl_set:
+0x2eb0 013850 fetch 2 ,mem_mesh_last_ctl_temperature 
+0x2eb1 013851 fetcht 2 ,mem_mesh_ctl_temperature 
+0x2eb2 013852 isub temp ,null 
+0x2eb3 013853 rtn zero 
+0x2eb4 013855 fetch 2 ,mem_mesh_ctl_temperature 
+0x2eb5 013856 call ali_mesh_model_layer_message_calc_temperature 
+0x2eb6 013857 store 1 ,mem_mesh_ctl_calc_temperature 
+0x2eb7 013859 fetch 2 ,mem_mesh_ctl_temperature 
+0x2eb8 013860 store 2 ,mem_mesh_last_ctl_temperature 
+0x2eb9 013861 fetch 2 ,mem_mesh_cb_light_lightness_get 
+0x2eba 013862 call callback_func 
+0x2ebb 013863 storet 2 ,mem_mesh_ctl_lightness 
+0x2ebc 013864 call ali_mesh_access_layer_send_light_ctl_stauts 
+0x2ebd 013865 fetch 2 ,mem_mesh_cb_light_ctl_set 
+0x2ebe 013866 branch callback_func 
+:      013871 ali_mesh_model_layer_message_calc_lightness:
+0x2ebf 013872 rtn blank 
+0x2ec0 013873 mul32 pdata ,ali_mesh_lightness_level ,pdata 
+0x2ec1 013874 arg ali_mesh_lightness_max ,temp 
+0x2ec2 013875 idiv temp 
+0x2ec3 013876 call wait_div_end 
+0x2ec4 013877 remainder temp 
+0x2ec5 013878 rshift8 temp ,temp 
+0x2ec6 013879 quotient pdata 
+0x2ec7 013880 sub temp ,0xff ,null 
+0x2ec8 013881 nrtn zero 
+0x2ec9 013882 pincrease 1 
+0x2eca 013883 rtn 
+:      013888 ali_mesh_model_layer_message_calc_actual_lightness:
+0x2ecb 013889 arg ali_mesh_lightness_max ,pdata 
+0x2ecc 013890 imul32 temp ,pdata 
+0x2ecd 013891 div pdata ,ali_mesh_lightness_level 
+0x2ece 013892 call wait_div_end 
+0x2ecf 013893 quotient temp 
+0x2ed0 013894 rtn 
+:      013898 ali_mesh_model_layer_message_calc_temperature:
+0x2ed1 013899 arg ali_mesh_temperature_min ,temp 
+0x2ed2 013900 isub temp ,rega 
+0x2ed3 013901 call ali_mesh_model_layer_message_calc_temperature_k 
+0x2ed4 013902 copy rega ,pdata 
+0x2ed5 013903 idiv temp 
+0x2ed6 013904 call wait_div_end 
+0x2ed7 013905 quotient pdata 
+0x2ed8 013906 rtn 
+:      013911 ali_mesh_model_layer_message_calc_actual_temperature:
+0x2ed9 013912 copy temp ,rega 
+0x2eda 013913 call ali_mesh_model_layer_message_calc_temperature_k 
+0x2edb 013914 copy rega ,pdata 
+0x2edc 013915 imul32 temp ,pdata 
+0x2edd 013916 arg ali_mesh_temperature_min ,temp 
+0x2ede 013917 iadd temp ,temp 
+0x2edf 013918 rtn 
+:      013920 ali_mesh_model_layer_message_calc_temperature_k:
+0x2ee0 013921 setarg ali_mesh_temperature_max 
+0x2ee1 013922 arg ali_mesh_temperature_min ,temp 
+0x2ee2 013923 isub temp ,pdata 
+0x2ee3 013924 div pdata ,ali_mesh_temperature_level 
+0x2ee4 013925 call wait_div_end 
+0x2ee5 013926 quotient temp 
+0x2ee6 013927 rtn 
+:      013932 ali_mesh_more_element_check_unicast_address:
+0x2ee7 013933 arg 0 ,queue 
+0x2ee8 013934 fetchr loopcnt ,1 ,mem_mesh_element_number 
+0x2ee9 013935 call disable_user 
+0x2eea 013936 fetch 2 ,mem_mesh_unicast_address 
+:      013937 ali_mesh_more_element_check_unicast_address_loop:
+0x2eeb 013938 isub temp ,null 
+0x2eec 013939 branch ali_mesh_more_element_found_unicast_address_element ,zero 
+0x2eed 013940 byteswap pdata ,pdata 
+0x2eee 013941 pincrease 1 
+0x2eef 013942 byteswap pdata ,pdata 
+0x2ef0 013943 increase 1 ,queue 
+0x2ef1 013944 loop ali_mesh_more_element_check_unicast_address_loop 
+0x2ef2 013945 rtn 
+:      013947 ali_mesh_more_element_found_unicast_address_element:
+0x2ef3 013948 jam 0 ,mem_mesh_receive_group_address 
+0x2ef4 013949 storer queue ,1 ,mem_mesh_receive_element_number 
+0x2ef5 013950 call ali_mesh_more_element_calc_queue_address 
+0x2ef6 013951 branch enable_user 
+:      013954 ali_mesh_more_element_check_group_address:
+0x2ef7 013955 arg 0 ,queue 
+0x2ef8 013956 arg 0 ,regc 
+0x2ef9 013957 call mesh_get_element_info_config 
+0x2efa 013958 call disable_user 
+:      013959 ali_mesh_more_element_check_group_address_loop:
+0x2efb 013960 fetch 2 ,mem_mesh_core_feature 
+0x2efc 013961 bbit0 mesh_feature_disable_subscription ,ali_mesh_more_element_check_subscription_address 
+0x2efd 013962 ifetch 2 ,rega 
+0x2efe 013963 isub temp ,null 
+0x2eff 013964 call ali_mesh_more_element_found_group_address_element ,zero 
+:      013965 ali_mesh_more_element_check_address_common:
+0x2f00 013966 copy regb ,pdata 
+0x2f01 013967 iadd rega ,rega 
+0x2f02 013968 increase 1 ,queue 
+0x2f03 013969 loop ali_mesh_more_element_check_group_address_loop 
+0x2f04 013970 copy regc ,pdata 
+0x2f05 013971 rtn blank 
+0x2f06 013972 store 1 ,mem_mesh_receive_group_address 
+0x2f07 013973 branch enable_user 
+:      013975 ali_mesh_more_element_found_group_address_element:
+0x2f08 013976 qset1 regc 
+0x2f09 013977 rtn 
+:      013979 ali_mesh_more_element_check_subscription_address:
+0x2f0a 013980 add rega ,element_device_subscription_label ,contr 
+0x2f0b 013981 arg subscription_max_count ,alarm 
+:      013982 ali_mesh_more_element_check_subscription_address_loop:
+0x2f0c 013983 ifetch 2 ,contr 
+0x2f0d 013984 isub temp ,null 
+0x2f0e 013985 branch ali_mesh_more_element_found_subscription_address_element ,zero 
+0x2f0f 013986 increase -1 ,alarm 
+0x2f10 013987 branch ali_mesh_more_element_check_address_common ,zero 
+0x2f11 013988 branch ali_mesh_more_element_check_subscription_address_loop 
+:      013990 ali_mesh_more_element_found_subscription_address_element:
+0x2f12 013991 call ali_mesh_more_element_found_group_address_element 
+0x2f13 013992 branch ali_mesh_more_element_check_address_common 
+:      013994 ali_mesh_more_element_check_element_address:
+0x2f14 013995 arg 0 ,queue 
+0x2f15 013996 fetch 1 ,mem_mesh_receive_group_address 
+0x2f16 013997 branch ali_mesh_more_element_check_element_address_no_group_address ,blank 
+0x2f17 013998 copy pdata ,regb 
+0x2f18 013999 fetchr loopcnt ,1 ,mem_mesh_element_number 
+:      014000 ali_mesh_more_element_check_element_address_loop:
+0x2f19 014001 storer queue ,1 ,mem_mesh_receive_element_number 
+0x2f1a 014003 qisolate1 regb 
+0x2f1b 014004 call ali_mesh_more_element_check_element_address_no_group_address ,true 
+0x2f1c 014005 fetchr queue ,1 ,mem_mesh_receive_element_number 
+0x2f1d 014006 increase 1 ,queue 
+0x2f1e 014007 loop ali_mesh_more_element_check_element_address_loop 
+0x2f1f 014008 rtn 
+:      014010 ali_mesh_more_element_check_element_address_no_group_address:
+0x2f20 014011 call ali_mesh_more_element_push_stack 
+0x2f21 014012 call ali_mesh_more_element_calc_queue_address 
+0x2f22 014013 copy regc ,pdata 
+0x2f23 014014 call callback_func 
+0x2f24 014015 branch ali_mesh_more_element_pop_stack 
+:      014017 ali_mesh_more_element_push_stack:
+0x2f25 014018 storer loopcnt ,2 ,mem_mesh_loopcnt_tmep 
+0x2f26 014019 storer rega ,2 ,mem_mesh_rega_temp 
+0x2f27 014020 storer regb ,2 ,mem_mesh_regb_temp 
+0x2f28 014021 storer regc ,2 ,mem_mesh_regc_temp 
+0x2f29 014022 rtn 
+:      014024 ali_mesh_more_element_pop_stack:
+0x2f2a 014025 fetchr loopcnt ,2 ,mem_mesh_loopcnt_tmep 
+0x2f2b 014026 fetchr rega ,2 ,mem_mesh_rega_temp 
+0x2f2c 014027 fetchr regb ,2 ,mem_mesh_regb_temp 
+0x2f2d 014028 fetchr regc ,2 ,mem_mesh_regc_temp 
+0x2f2e 014029 rtn 
+:      014032 ali_mesh_more_element_calc_queue_address:
+0x2f2f 014033 bpatchx patch3f_3 ,mem_patch3f 
+0x2f30 014034 fetch 2 ,mem_mesh_unicast_address 
+0x2f31 014035 byteswap pdata ,pdata 
+0x2f32 014036 iadd queue ,pdata 
+0x2f33 014037 byteswap pdata ,pdata 
+0x2f34 014038 store 2 ,mem_mesh_send_message_src 
+0x2f35 014039 call mesh_get_element_info_config 
+0x2f36 014040 copy queue ,pdata 
+0x2f37 014041 imul32 regb ,pdata 
+0x2f38 014042 iadd rega ,rega 
+0x2f39 014043 add rega ,element_device_upper_queue_ptr ,contr 
+0x2f3a 014044 ifetch 2 ,contr 
+0x2f3b 014045 store ,2 ,mem_queue_ptr 
+0x2f3c 014046 rtn 
+:      014051 ali_mesh_receive_adtype_mesh_message:
+0x2f3d 014052 jam mesh_message_tmall ,mem_mesh_network_packet_type 
+:      014056 ali_mesh_network_layer_recevice_network_pdu:
+0x2f3e 014057 sub temp ,mesh_network_packet_min_length ,null 
+0x2f3f 014058 rtn positive 
+0x2f40 014059 sub temp ,mesh_network_packet_max_length ,null 
+0x2f41 014060 nrtn positive 
+0x2f42 014061 bpatchx patch3f_4 ,mem_patch3f 
+0x2f43 014062 call ali_mesh_network_store_in_mem 
+:      014063 ali_mesh_network_layer_recevice_network_pdu_check_nid:
+0x2f44 014064 call ali_mesh_network_layer_check_nid_ivi 
+0x2f45 014065 nrtn user 
+:      014066 ali_mesh_network_layer_recevice_network_pdu_deceypt_obfuscation:
+0x2f46 014067 call ali_mesh_encrypt_obfuscation_deceypt_recevie_message 
+:      014072 ali_mesh_network_layer_recevice_network_pdu_decrypt_netmic32:
+0x2f47 014073 call ali_mesh_network_load_network_nonce_and_encryptionkey 
+0x2f48 014074 fetch 1 ,mem_mesh_message_transport_netmic_length 
+0x2f49 014075 arg mem_mesh_message_dst ,temp 
+0x2f4a 014076 call ali_ccm_decrypt 
+0x2f4b 014077 nrtn zero 
+:      014080 ali_mesh_network_layer_recevice_network_pdu_check_dst:
+0x2f4c 014081 bpatchx patch3f_5 ,mem_patch3f 
+0x2f4d 014082 fetcht 2 ,mem_mesh_message_dst 
+0x2f4e 014083 call ali_mesh_more_element_check_unicast_address 
+0x2f4f 014084 branch ali_mesh_network_layer_recevice_network_pdu_check_src_and_seq ,user 
+0x2f50 014085 arg 29 ,loopcnt 
+0x2f51 014086 arg mem_mesh_message_nid_temp ,contw 
+0x2f52 014087 arg mem_mesh_message_nid ,contr 
+0x2f53 014088 call memcpy 
+0x2f54 014089 call ali_mesh_network_layer_recevice_network_pdu_check_dst_group_address 
+0x2f55 014090 arg 29 ,loopcnt 
+0x2f56 014091 arg mem_mesh_message_nid_temp ,contr 
+0x2f57 014092 arg mem_mesh_message_nid ,contw 
+0x2f58 014093 call memcpy 
+0x2f59 014094 fetch 2 ,mem_mesh_cb_network_relay 
+0x2f5a 014095 branch callback_func 
+:      014097 ali_mesh_network_layer_recevice_network_pdu_check_dst_group_address:
+0x2f5b 014098 call ali_mesh_more_element_check_group_address 
+0x2f5c 014099 branch ali_mesh_network_layer_recevice_network_pdu_check_src_and_seq ,user 
+0x2f5d 014100 jam 0xff ,mem_mesh_receive_group_address 
+0x2f5e 014101 setarg group_address_0xcfff_little_endian 
+0x2f5f 014102 isub temp ,null 
+0x2f60 014103 branch ali_mesh_network_layer_recevice_network_pdu_check_src_and_seq ,zero 
+0x2f61 014104 setarg group_address_0xffff_little_endian 
+0x2f62 014105 isub temp ,null 
+0x2f63 014106 branch ali_mesh_network_layer_recevice_network_pdu_check_src_and_seq ,zero 
+0x2f64 014107 rtn 
+:      014110 ali_mesh_network_layer_check_nid_ivi:
+0x2f65 014111 call disable_user 
+0x2f66 014112 fetcht 1 ,mem_mesh_message_nid 
+0x2f67 014113 rshift4 temp ,pdata 
+0x2f68 014114 rshift3 pdata ,pdata 
+0x2f69 014115 fetchr rega ,1 ,mem_mesh_iv_index + 3 
+0x2f6a 014116 and rega ,0x01 ,rega 
+0x2f6b 014117 isub rega ,null 
+0x2f6c 014118 nrtn zero 
+0x2f6d 014119 and temp ,0x7f ,temp 
+0x2f6e 014120 fetch 1 ,mem_k2_nid 
+0x2f6f 014121 isub temp ,null 
+0x2f70 014122 nrtn zero 
+0x2f71 014123 branch enable_user 
+:      014126 ali_mesh_network_layer_recevice_network_pdu_check_src_and_seq:
+0x2f72 014127 arg mem_mesh_tmall_cache_start ,rega 
+0x2f73 014128 arg cache_space_num ,loopcnt 
+:      014129 ali_mesh_network_layer_raverse_src_seq_cache:
+0x2f74 014130 fetcht 2 ,mem_mesh_message_src 
+0x2f75 014131 ifetch 2 ,rega 
+0x2f76 014133 branch ali_mesh_network_layer_find_empty_space ,blank 
+0x2f77 014135 isub temp ,null 
+0x2f78 014137 branch ali_mesh_network_layer_find_src_space ,zero 
+0x2f79 014138 increase cache_space_size ,rega 
+0x2f7a 014139 loop ali_mesh_network_layer_raverse_src_seq_cache 
+0x2f7b 014140 arg mem_mesh_tmall_cache_start ,rega 
+:      014142 ali_mesh_network_layer_find_empty_space:
+0x2f7c 014143 istoret 2 ,rega 
+:      014144 ali_mesh_network_layer_find_src_space:
+0x2f7d 014145 storet 2 ,mem_mesh_send_message_dst 
+0x2f7e 014147 add rega ,2 ,regc 
+0x2f7f 014148 ifetch 3 ,regc 
+0x2f80 014149 store 3 ,mem_mesh_last_message_seq 
+0x2f81 014150 branch ali_mesh_network_layer_recevice_network_pdu_check_seq_legal 
+:      014154 ali_mesh_network_layer_recevice_network_pdu_check_seq_legal:
+0x2f82 014156 call ali_mesh_inverse_seq 
+0x2f83 014158 fetch 3 ,mem_mesh_last_message_seq 
+0x2f84 014159 fetcht 3 ,mem_mesh_message_seq 
+0x2f85 014160 isub temp ,null 
+0x2f86 014161 rtn positive 
+0x2f87 014162 istoret 3 ,regc 
+0x2f88 014163 call ali_mesh_inverse_seq 
+0x2f89 014164 call logging_tx_debug_network_receive_packet 
+0x2f8a 014165 branch ali_mesh_lower_transport_layer_receive_lower_transport_pdu 
+:      014167 ali_mesh_inverse_seq:
+0x2f8b 014168 arg mem_mesh_message_seq ,rega 
+0x2f8c 014169 arg 3 ,loopcnt 
+0x2f8d 014170 branch inverse_data 
+:      014174 ali_mesh_network_load_network_nonce_and_encryptionkey:
+0x2f8e 014175 call ali_mesh_network_layer_load_network_nonce 
+:      014176 ali_mesh_upper_transport_layer_load_encryptionkey:
+0x2f8f 014177 arg mem_k2_encryptionkey ,contr 
+0x2f90 014178 branch load_key 
+:      014179 ali_mesh_network_layer_load_network_nonce:
+0x2f91 014180 arg mem_mesh_network_nonce ,contw 
+0x2f92 014181 setarg network_nonce 
+0x2f93 014182 istore 1 ,contw 
+0x2f94 014183 fetch 6 ,mem_mesh_message_ttl 
+0x2f95 014184 istore 8 ,contw 
+0x2f96 014185 branch mesh_generate_nonce 
+:      014188 ali_mesh_network_store_in_mem:
+0x2f97 014189 add temp ,-12 ,pdata 
+0x2f98 014199 store 1 ,mem_mesh_message_transport_netmic_length 
+0x2f99 014200 arg 29 ,loopcnt 
+0x2f9a 014201 arg mem_mesh_message_nid ,contw 
+0x2f9b 014202 call clear_mem 
+0x2f9c 014203 add temp ,-1 ,loopcnt 
+0x2f9d 014204 arg mem_mesh_message_nid ,contw 
+0x2f9e 014205 branch memcpy_fast 
+:      014208 ali_mesh_network_layer_relay_access_message:
+0x2f9f 014209 call ali_mesh_network_layer_check_relay_states 
+0x2fa0 014210 nrtn user 
+0x2fa1 014211 call ali_mesh_network_layer_encrypt_relay_package 
+0x2fa2 014212 jam adv_relay_mesh_message_duration ,mem_mesh_queue_ele_duration 
+0x2fa3 014213 fetch 1 ,mem_mesh_message_transport_netmic_length 
+0x2fa4 014214 add pdata ,13 ,temp 
+0x2fa5 014215 storet 1 ,mem_mesh_queue_ele_len 
+0x2fa6 014216 increase -1 ,temp 
+0x2fa7 014217 istoret 1 ,contw 
+0x2fa8 014218 setarg gap_adtype_mesh_message 
+0x2fa9 014219 istore 1 ,contw 
+0x2faa 014220 add temp ,-1 ,loopcnt 
+0x2fab 014221 fetch 7 ,mem_mesh_message_nid 
+0x2fac 014222 arg mem_mesh_message_nid ,contr 
+0x2fad 014223 call memcpy 
+0x2fae 014224 fetch 2 ,mem_ui_state_map 
+0x2faf 014225 isolate1 ui_state_ble_connected ,pdata 
+0x2fb0 014226 call ali_mesh_send_ble_data_relay_package ,true 
+0x2fb1 014227 arg mem_mesh_queue_ele_temp ,rega 
+0x2fb2 014228 branch queue_push 
+:      014230 ali_mesh_send_ble_data_relay_package:
+0x2fb3 014231 fetch 1 ,mem_mesh_network_packet_type 
+0x2fb4 014232 rtneq mesh_message_proxy 
+0x2fb5 014233 branch ali_mesh_send_ble_data 
+:      014236 ali_mesh_network_layer_check_relay_states:
+0x2fb6 014237 call disable_user 
+0x2fb7 014238 fetch 1 ,mem_mesh_network_packet_type 
+0x2fb8 014239 rtneq mesh_message_app 
+0x2fb9 014240 fetch 2 ,mem_mesh_core_feature 
+0x2fba 014241 rtnbit1 mesh_feature_disable_relay 
+0x2fbb 014242 fetch 1 ,mem_mesh_provisioned_flag 
+0x2fbc 014243 rtnne paired_status 
+0x2fbd 014244 fetcht 2 ,mem_mesh_message_src 
+0x2fbe 014245 call ali_mesh_more_element_check_unicast_address 
+0x2fbf 014246 nrtn user 
+0x2fc0 014247 call ali_mesh_network_layer_check_network_mic_cache 
+0x2fc1 014248 nrtn user 
+0x2fc2 014249 call ali_mesh_network_layer_logging_tx_relay_info 
+0x2fc3 014250 fetch 1 ,mem_mesh_message_ttl 
+0x2fc4 014251 rtn blank 
+0x2fc5 014252 pincrease -1 
+0x2fc6 014253 rtn blank 
+0x2fc7 014254 store 1 ,mem_mesh_message_ttl 
+0x2fc8 014255 setarg mem_mesh_network_relay_queue 
+0x2fc9 014256 store 2 ,mem_queue_ptr 
+0x2fca 014257 branch enable_user 
+:      014259 ali_mesh_network_layer_encrypt_relay_package:
+0x2fcb 014260 call ali_mesh_network_load_network_nonce_and_encryptionkey 
+0x2fcc 014261 fetch 1 ,mem_mesh_message_transport_netmic_length 
+0x2fcd 014262 arg mem_mesh_message_dst ,temp 
+0x2fce 014263 call ali_ccm_encrypt 
+0x2fcf 014264 branch ali_mesh_encrypt_obfuscation_deceypt_recevie_message 
+:      014268 ali_mesh_network_layer_check_network_mic_cache:
+0x2fd0 014269 setarg mem_mesh_transport_message_mic_cache 
+0x2fd1 014270 store 2 ,mem_mesh_mic_cache_ptr 
+0x2fd2 014271 branch ali_mesh_base_adt_cache 
+:      014274 ali_mesh_network_layer_logging_tx_relay_info:
+0x2fd3 014275 arg 2 ,loopcnt 
+0x2fd4 014276 arg mem_mesh_message_dst ,rega 
+0x2fd5 014277 arg mesh_network_relay_packet ,regb 
+0x2fd6 014278 call logging_tx_info 
+0x2fd7 014279 fetchr loopcnt ,1 ,mem_ccm_data_len 
+0x2fd8 014280 fetchr rega ,2 ,mem_ccm_data_ptr 
+0x2fd9 014281 arg mesh_network_relay_packet ,regb 
+0x2fda 014282 branch logging_tx_debug 
+:      014286 ali_mesh_network_layer_send_access_message:
+0x2fdb 014287 bpatchx patch3f_6 ,mem_patch3f 
+0x2fdc 014288 call ali_mesh_network_layer_send_access_message_encrypt_netmic 
+0x2fdd 014289 call ali_mesh_network_layer_send_access_message_encrypt_obfuscation 
+0x2fde 014290 branch ali_mesh_bearer_layer_send_packet_by_network_layer 
+:      014295 ali_mesh_network_layer_send_access_message_encrypt_netmic:
+0x2fdf 014296 fetch 1 ,mem_mesh_lower_transport_layer_payload_len 
+0x2fe0 014297 add pdata ,2 ,rega 
+0x2fe1 014298 pincrease 4 
+0x2fe2 014299 store 1 ,mem_mesh_lower_transport_layer_payload_len 
+0x2fe3 014300 arg mem_mesh_send_upper_layer_dst ,temp 
+0x2fe4 014301 branch ali_mesh_network_layer_encrypt_by_network_nonce 
+:      014306 ali_mesh_network_layer_encrypt_by_network_nonce:
+0x2fe5 014307 call ali_mesh_network_load_network_nonce_and_encryptionkey 
+0x2fe6 014308 copy rega ,pdata 
+0x2fe7 014309 branch ali_ccm_encrypt 
+:      014312 ali_mesh_network_layer_send_access_message_encrypt_obfuscation:
+0x2fe8 014313 branch ali_mesh_encrypt_obfuscation_deceypt_send_message 
+:      014317 mesh_generate_nonce:
+0x2fe9 014318 fetch 4 ,mem_mesh_iv_index 
+0x2fea 014319 istore 4 ,contw 
+0x2feb 014320 add contw ,-13 ,pdata 
+0x2fec 014321 store 2 ,mem_nonce_ptr 
+0x2fed 014322 rtn 
+:      014324 logging_tx_debug_network_receive_packet:
+0x2fee 014325 fetch 1 ,mem_mesh_message_transport_netmic_length 
+0x2fef 014326 add pdata ,11 ,loopcnt 
+0x2ff0 014327 arg mem_mesh_message_nid ,rega 
+0x2ff1 014328 arg mesh_network_receive_packet ,regb 
+0x2ff2 014329 branch logging_tx_debug 
+:      014333 ali_mesh_proxy_init_adv:
+0x2ff3 014334 jam 0x14 ,mem_le_adv_data_len 
+0x2ff4 014335 setarg 0x02 
+0x2ff5 014336 store 1 ,mem_le_adv_data 
+0x2ff6 014337 setarg gap_adtype_flags 
+0x2ff7 014338 istore 1 ,contw 
+0x2ff8 014339 setarg 0x06 
+0x2ff9 014340 istore 1 ,contw 
+0x2ffa 014341 setarg 0x03 
+0x2ffb 014342 istore 1 ,contw 
+0x2ffc 014343 setarg gap_adtype_16bit_complete 
+0x2ffd 014344 istore 1 ,contw 
+0x2ffe 014345 setarg mesh_proxy_service 
+0x2fff 014346 istore 2 ,contw 
+0x3000 014347 setarg 0x0c 
+0x3001 014348 istore 1 ,contw 
+0x3002 014349 setarg gap_adtype_service_data 
+0x3003 014350 istore 1 ,contw 
+0x3004 014351 setarg mesh_proxy_service 
+0x3005 014352 istore 2 ,contw 
+0x3006 014353 setarg mesh_proxy_service_data_id_type_network_id 
+0x3007 014354 istore 1 ,contw 
+0x3008 014355 fetch 8 ,mem_mesh_network_id 
+0x3009 014356 istore 8 ,contw 
+0x300a 014357 rtn 
+:      014362 mesh_le_receive_data:
+0x300b 014363 fetch 2 ,mem_le_att_handle 
+0x300c 014364 beq mesh_proxy_data_in_handle ,ali_mesh_receive_ble_data_proxy_data_in 
+0x300d 014365 rtn 
+:      014367 ali_mesh_receive_ble_data_proxy_data_in:
+0x300e 014368 copy regb ,temp 
+0x300f 014369 ifetch 1 ,rega 
+0x3010 014370 beq mesh_proxy_message_type_network_pdu ,ali_mesh_network_layer_recevice_network_pdu_proxy_control 
+0x3011 014371 rtn 
+:      014373 ali_mesh_network_layer_recevice_network_pdu_proxy_control:
+0x3012 014374 jam mesh_message_proxy ,mem_mesh_network_packet_type_temp 
+0x3013 014375 branch ali_mesh_network_layer_recevice_network_pdu 
+:      014378 ali_mesh_proxy_process_bb_event:
+0x3014 014379 copy regc ,pdata 
+0x3015 014380 beq bt_evt_le_disconnected ,app_ble_start_adv 
+0x3016 014381 rtn 
+:      014384 ali_mesh_send_ble_data:
+0x3017 014385 call le_fifo_check_nearly_full 
+0x3018 014386 nrtn blank 
+0x3019 014387 fetch 1 ,mem_mesh_queue_ele_len 
+0x301a 014388 add pdata ,-1 ,rega 
+0x301b 014389 arg mesh_proxy_data_out_handle ,temp 
+0x301c 014390 call le_att_malloc_tx_notify 
+0x301d 014391 setarg mesh_proxy_message_type_network_pdu 
+0x301e 014392 istore 1 ,contw 
+0x301f 014393 arg mem_mesh_queue_ele_payload + 2 ,contr 
+0x3020 014394 branch memcpy32 
+:      014400 ali_mesh_upper_transport_layer_receive_unsegmented_access_message:
+0x3021 014401 bbit0 transport_head_bit_akf ,ali_mesh_uuper_transport_layer_decrypt_unsegment_access_by_device_key 
+:      014403 ali_mesh_uuper_transport_layer_decrypt_unsegment_access_by_application_key:
+0x3022 014404 call ali_mesh_upper_transport_layer_load_application_nonce_and_application_key 
+0x3023 014405 branch ali_mesh_upper_transport_layer_decrypt_unsegmented_message 
+:      014407 ali_mesh_uuper_transport_layer_decrypt_unsegment_access_by_device_key:
+0x3024 014408 call ali_mesh_upper_transport_layer_load_device_nonce_and_device_key 
+0x3025 014409 branch ali_mesh_upper_transport_layer_decrypt_unsegmented_message 
+:      014412 ali_mesh_upper_transport_layer_decrypt_unsegmented_message:
+0x3026 014413 fetch 1 ,mem_mesh_message_transport_netmic_length 
+0x3027 014414 pincrease -7 
+0x3028 014418 arg mem_mesh_message_transport_unsegmented_access_messagepdu ,alarm 
+0x3029 014419 call disable_user 
+0x302a 014420 branch ali_mesh_upper_transport_layer_decrypt_message 
+:      014423 ali_mesh_upper_transport_layer_receive_segmented_access_message:
+0x302b 014424 fetch 1 ,mem_mesh_message_transport_head 
+0x302c 014425 bbit0 transport_head_bit_akf ,ali_mesh_uuper_transport_layer_decrypt_segment_access_by_device_key 
+:      014426 ali_mesh_uuper_transport_layer_decrypt_segment_access_by_application_key:
+0x302d 014427 call ali_mesh_upper_transport_layer_load_application_nonce_and_application_key 
+0x302e 014428 branch ali_mesh_upper_transport_layer_decrypt_segmented_message 
+:      014429 ali_mesh_uuper_transport_layer_decrypt_segment_access_by_device_key:
+0x302f 014430 call ali_mesh_upper_transport_layer_load_device_nonce_and_device_key 
+0x3030 014431 branch ali_mesh_upper_transport_layer_decrypt_segmented_message 
+:      014434 ali_mesh_upper_transport_layer_decrypt_segmented_message:
+0x3031 014435 fetch 1 ,mem_mesh_aszmic 
+0x3032 014436 ncall enable_user ,blank 
+0x3033 014437 call disable_user ,blank 
+0x3034 014438 fetch 1 ,mem_mesh_segmented_access_message_current_length 
+0x3035 014439 pincrease -4 
+0x3036 014440 jam 0 ,mem_mesh_segmented_access_message_current_length 
+0x3037 014441 arg mem_mesh_segmented_access_message_segment ,alarm 
+:      014445 ali_mesh_upper_transport_layer_decrypt_message:
+0x3038 014446 copy alarm ,temp 
+0x3039 014447 call ali_mesh_upper_transport_layer_decrypt_message_decrypt_transmic 
+0x303a 014448 nrtn zero 
+0x303b 014449 arg 1 ,loopcnt 
+0x303c 014450 arg mem_ccm_data_len ,rega 
+0x303d 014451 arg mesh_upper_receive_packet ,regb 
+0x303e 014452 call logging_tx_info 
+0x303f 014453 call ali_mesh_upper_transport_layer_check_transport_mic_cache 
+0x3040 014454 nrtn user 
+0x3041 014455 fetch 2 ,mem_ccm_data_ptr 
+0x3042 014456 copy pdata ,alarm 
+0x3043 014457 branch ali_mesh_access_layer_resolve_message 
+:      014459 ali_mesh_upper_transport_layer_decrypt_message_decrypt_transmic:
+0x3044 014460 nbranch ali_ccm_decrypt ,user 
+0x3045 014461 pincrease -4 
+0x3046 014462 branch ali_ccm_decrypt_64bit 
+:      014465 ali_mesh_upper_transport_layer_check_transport_mic_cache:
+0x3047 014466 setarg mem_mesh_access_message_mic_cache 
+0x3048 014467 store 2 ,mem_mesh_mic_cache_ptr 
+0x3049 014468 branch ali_mesh_base_adt_cache 
+:      014472 ali_mesh_upper_transport_layer_load_application_nonce_and_application_key:
+0x304a 014473 call ali_mesh_upper_transport_layer_load_application_nonce 
+:      014474 ali_mesh_upper_transport_layer_load_application_key:
+0x304b 014475 arg mem_mesh_application_key ,contr 
+0x304c 014476 branch load_key 
+:      014477 ali_mesh_upper_transport_layer_load_application_nonce:
+0x304d 014478 arg mem_mesh_application_nonce ,contw 
+0x304e 014479 setarg application_nonce 
+0x304f 014480 istore 1 ,contw 
+0x3050 014481 fetch 1 ,mem_mesh_aszmic 
+0x3051 014482 arg 0 ,temp 
+0x3052 014483 nsetflag blank ,7 ,temp 
+0x3053 014484 istoret 1 ,contw 
+0x3054 014485 fetch 7 ,mem_mesh_message_seq 
+0x3055 014486 istore 7 ,contw 
+0x3056 014487 branch mesh_generate_nonce 
+:      014491 ali_mesh_upper_transport_layer_load_device_nonce_and_device_key:
+0x3057 014492 call ali_mesh_upper_transport_layer_load_device_nonce 
+:      014493 ali_mesh_upper_transport_layer_load_device_key:
+0x3058 014494 arg mem_mesh_device_key ,contr 
+0x3059 014495 branch load_key 
+:      014496 ali_mesh_upper_transport_layer_load_device_nonce:
+0x305a 014497 arg mem_mesh_device_nonce ,contw 
+0x305b 014498 setarg device_nonce 
+0x305c 014499 branch ali_mesh_upper_transport_layer_load_application_nonce + 2 
+:      014505 ali_mesh_upper_transport_layer_send_access_message:
+:      014506 ali_mesh_upper_transport_layer_send_access_message_without_cleat_tx_buffer:
+0x305d 014507 bpatchx patch3f_7 ,mem_patch3f 
+0x305e 014508 call ali_mesh_upper_transport_layer_clear_tx_buffer 
+0x305f 014509 call ali_mesh_loggint_tx_info_upper_send_packet 
+0x3060 014510 call ali_mesh_upper_transport_layer_send_access_message_add_nid_src_ttl_seq_dst 
+0x3061 014513 call ali_mesh_upper_transport_layer_store_packet_header 
+0x3062 014514 rtn user 
+0x3063 014515 call ali_mesh_upper_transport_layer_store_unsegment_msg_original_access_pdu 
+0x3064 014517 arg mem_mesh_upper_tran_layer_queue_temp ,rega 
+0x3065 014518 branch queue_push 
+:      014522 ali_mesh_upper_transport_layer_store_packet_header:
+0x3066 014523 call disable_user 
+0x3067 014524 arg upper_retry_count_status ,temp 
+0x3068 014525 fetch 1 ,mem_mesh_provisioned_flag 
+0x3069 014526 iadd temp ,temp 
+0x306a 014527 fetch 1 ,mem_mesh_network_packet_type 
+0x306b 014528 sub pdata ,mesh_message_proxy ,null 
+0x306c 014529 setflag zero ,bit_upper_flag_proxy_control ,temp 
+0x306d 014530 fetch 1 ,mem_mesh_network_packet_type 
+0x306e 014531 sub pdata ,mesh_message_app ,null 
+0x306f 014532 setflag zero ,bit_upper_flag_app_control ,temp 
+0x3070 014533 storet 1 ,mem_mesh_upper_tran_layer_temp_packet_flag 
+0x3071 014534 fetch 9 ,mem_mesh_send_upper_layer_ivi_and_nid 
+0x3072 014535 store 9 ,mem_mesh_upper_tran_layer_temp_packet_header_ivi_nid 
+0x3073 014536 fetch 1 ,mem_mesh_access_layer_payload_vendor_command 
+0x3074 014537 rtnne vendor_message_attr_indication 
+0x3075 014538 fetch 1 ,mem_mesh_provisioned_flag 
+0x3076 014539 bne paired_status ,enable_user 
+0x3077 014540 fetch 1 ,mem_mesh_access_layer_payload_vendor_tid 
+0x3078 014541 store 1 ,mem_mesh_upper_tran_layer_temp_packet_tid 
+0x3079 014542 fetch 1 ,mem_mesh_upper_tran_layer_temp_packet_flag 
+0x307a 014543 pincrease upper_retry_count_indication 
+0x307b 014544 set1 bit_upper_flag_vendor_indication ,pdata 
+0x307c 014545 store 1 ,mem_mesh_upper_tran_layer_temp_packet_flag 
+0x307d 014546 rtn 
+:      014549 ali_mesh_upper_transport_layer_store_unsegment_msg_original_access_pdu:
+0x307e 014550 fetch 1 ,mem_mesh_access_layer_payload_len 
+0x307f 014551 copy pdata ,loopcnt 
+0x3080 014552 store 1 ,mem_mesh_upper_tran_layer_temp_packet_length 
+0x3081 014553 fetch 1 ,mem_mesh_message_transport_head 
+0x3082 014554 store 1 ,mem_mesh_upper_tran_layer_temp_pakcet_akf_aid 
+0x3083 014555 arg mem_mesh_upper_tran_layer_temp_pakcet_upper_tran_access_pdu ,contw 
+0x3084 014556 arg mem_mesh_access_layer_payload ,contr 
+0x3085 014557 branch memcpy 
+:      014560 ali_mesh_upper_transport_layer_control_packet:
+0x3086 014561 arg ali_mesh_upper_transport_layer_control_packet_deal ,regc 
+0x3087 014562 branch ali_mesh_check_all_element_info 
+:      014565 ali_mesh_upper_transport_layer_control_packet_deal:
+0x3088 014566 add rega ,element_device_upper_adv_flag ,contr 
+0x3089 014567 ifetch 1 ,contr 
+0x308a 014568 nrtn blank 
+0x308b 014569 ifetch 2 ,contr 
+0x308c 014570 store 2 ,mem_queue_ptr 
+0x308d 014571 arg mem_mesh_upper_tran_layer_queue_temp ,rega 
+0x308e 014572 call queue_get_new_ele 
+0x308f 014573 nrtn user 
+0x3090 014574 fetchr rega ,2 ,mem_mesh_rega_temp 
+0x3091 014576 fetcht 1 ,mem_mesh_upper_tran_layer_temp_packet_flag 
+0x3092 014577 and temp ,data_upper_flag_max_retry_count ,pdata 
+0x3093 014578 branch ali_mesh_upper_transport_layer_queue_pop ,blank 
+0x3094 014579 add rega ,element_device_upper_adv_flag ,contw 
+0x3095 014580 setarg packet_in_bearer 
+0x3096 014581 istore 1 ,contw 
+0x3097 014583 call ali_mesh_upper_transport_layer_control_packet_load_header 
+0x3098 014585 fetcht 1 ,mem_mesh_upper_tran_layer_temp_packet_flag 
+0x3099 014586 call ali_mesh_upper_transport_layer_control_packet_load_app_control 
+0x309a 014587 add rega ,element_device_tran_package_tid ,contw 
+0x309b 014588 istore 1 ,contw 
+0x309c 014590 add rega ,element_device_tran_package_type ,contr 
+0x309d 014591 ifetch 1 ,contr 
+0x309e 014592 isolate1 bit_upper_flag_proxy_control ,temp 
+0x309f 014593 setflag true ,bit_uuper_tran_proxy_message ,pdata 
+0x30a0 014594 add rega ,element_device_tran_package_type ,contw 
+0x30a1 014595 istore 1 ,contw 
+0x30a2 014597 set1 bit_upper_flag_retransmit ,temp 
+0x30a3 014599 increase -1 ,temp 
+0x30a4 014600 istoret 1 ,regb 
+0x30a5 014602 fetcht 1 ,mem_mesh_upper_tran_layer_temp_packet_flag 
+0x30a6 014603 isolate1 bit_upper_flag_retransmit ,temp 
+0x30a7 014604 nbranch ali_mesh_upper_transport_layer_control_packet_encrypt_access ,true 
+0x30a8 014605 fetcht 1 ,mem_mesh_upper_tran_layer_temp_packet_length 
+0x30a9 014606 storet 1 ,mem_mesh_upper_transport_layer_payload_len 
+0x30aa 014607 copy temp ,loopcnt 
+0x30ab 014608 arg mem_mesh_access_layer_payload ,contw 
+0x30ac 014609 arg mem_mesh_upper_tran_layer_temp_pakcet_upper_tran_access_pdu ,contr 
+0x30ad 014610 call memcpy 
+0x30ae 014611 sub temp ,unsegmented_access_message_max_upper_transport_access_pdu_len ,null 
+0x30af 014612 nbranch ali_mesh_upper_transport_layer_control_packet_segment_msg ,positive 
+:      014613 ali_mesh_upper_transport_layer_control_packet_unsegment_msg:
+0x30b0 014614 branch ali_mesh_lower_transport_layer_send_unsegmented_access_message 
+:      014617 ali_mesh_upper_transport_layer_control_packet_segment_msg:
+0x30b1 014618 fetch 4 ,mem_mesh_upper_tran_layer_temp_segmented_pakcet_seqzero 
+0x30b2 014619 store 4 ,mem_mesh_segmented_lower_transport_layer_segzero 
+0x30b3 014620 branch ali_mesh_upper_transport_layer_split_segmented_msg_to_lower_tran_layer 
+:      014623 ali_mesh_upper_transport_layer_control_packet_load_header:
+0x30b4 014624 fetch 1 ,mem_mesh_upper_tran_layer_temp_pakcet_akf_aid 
+0x30b5 014625 store 1 ,mem_mesh_message_transport_head 
+0x30b6 014627 fetch 9 ,mem_mesh_upper_tran_layer_temp_packet_header_ivi_nid 
+0x30b7 014628 store 9 ,mem_mesh_send_upper_layer_ivi_and_nid 
+0x30b8 014629 store 9 ,mem_mesh_message_nid 
+0x30b9 014630 rtn 
+:      014633 ali_mesh_upper_transport_layer_control_packet_load_app_control:
+0x30ba 014634 setarg upper_tran_tmall_and_app 
+0x30bb 014635 call ali_mesh_store_tran_package_type 
+0x30bc 014636 fetch 1 ,mem_mesh_upper_tran_layer_temp_packet_tid 
+0x30bd 014637 isolate1 bit_upper_flag_vendor_indication ,temp 
+0x30be 014638 rtn true 
+0x30bf 014639 setarg upper_tran_tmall_message 
+0x30c0 014640 call ali_mesh_store_tran_package_type 
+0x30c1 014641 setarg 0 
+0x30c2 014642 isolate1 bit_upper_flag_app_control ,temp 
+0x30c3 014643 nrtn true 
+0x30c4 014644 setarg upper_tran_app_message 
+0x30c5 014645 call ali_mesh_store_tran_package_type 
+0x30c6 014646 branch enable_blank 
+:      014648 ali_mesh_store_tran_package_type:
+0x30c7 014649 add rega ,element_device_tran_package_type ,contw 
+0x30c8 014650 istore 1 ,contw 
+0x30c9 014651 rtn 
+:      014654 ali_mesh_upper_transport_layer_queue_pop:
+0x30ca 014655 setarg 0 
+0x30cb 014656 add rega ,element_device_tran_package_tid ,contw 
+0x30cc 014657 istore 1 ,contw 
+0x30cd 014658 arg mem_mesh_upper_tran_layer_queue_temp ,rega 
+0x30ce 014659 branch queue_pop 
+:      014661 ali_mesh_upper_transport_layer_control_packet_encrypt_access:
+0x30cf 014662 call ali_mesh_upper_transport_layer_send_access_message_calc_seq 
+0x30d0 014663 call ali_mesh_upper_transport_layer_send_access_message_add_seq 
+0x30d1 014664 fetch 9 ,mem_mesh_send_upper_layer_ivi_and_nid 
+0x30d2 014665 store 9 ,mem_mesh_upper_tran_layer_temp_packet_header_ivi_nid 
+0x30d3 014666 call ali_mesh_upper_transport_layer_control_packet_encrypt_access_load_payload 
+0x30d4 014667 setarg 0 
+0x30d5 014668 store 1 ,mem_mesh_aszmic 
+0x30d6 014669 call ali_mesh_upper_transport_layer_calc_transport_mic 
+0x30d7 014671 fetcht 1 ,mem_mesh_upper_transport_layer_payload_len 
+0x30d8 014672 storet 1 ,mem_mesh_upper_tran_layer_temp_packet_length 
+0x30d9 014673 copy temp ,loopcnt 
+0x30da 014674 arg mem_mesh_access_layer_payload ,contr 
+0x30db 014675 arg mem_mesh_upper_tran_layer_temp_pakcet_upper_tran_access_pdu ,contw 
+0x30dc 014676 call memcpy 
+0x30dd 014678 sub temp ,unsegmented_access_message_max_upper_transport_access_pdu_len ,null 
+0x30de 014679 nbranch ali_mesh_upper_transport_layer_control_packet_encrypt_access_segment_msg ,positive 
+:      014680 ali_mesh_upper_transport_layer_control_packet_encrypt_access_unsegment_msg:
+0x30df 014682 arg mem_mesh_upper_tran_layer_temp_packet_transmit_delay ,rega 
+0x30e0 014683 call queue_store_new_ele 
+0x30e1 014684 branch ali_mesh_lower_transport_layer_send_unsegmented_access_message 
+:      014686 ali_mesh_upper_transport_layer_control_packet_encrypt_access_segment_msg:
+0x30e2 014687 call ali_mesh_upper_transport_layer_send_segmented_access_message_get_seqzero_segon 
+0x30e3 014688 fetch 4 ,mem_mesh_segmented_lower_transport_layer_segzero 
+0x30e4 014689 store 4 ,mem_mesh_upper_tran_layer_temp_segmented_pakcet_seqzero 
+0x30e5 014690 arg mem_mesh_upper_tran_layer_temp_packet_transmit_delay ,rega 
+0x30e6 014691 call queue_store_new_ele 
+0x30e7 014692 branch ali_mesh_upper_transport_layer_split_segmented_msg_to_lower_tran_layer 
+:      014694 ali_mesh_upper_transport_layer_control_packet_encrypt_access_load_payload:
+0x30e8 014695 fetch 1 ,mem_mesh_upper_tran_layer_temp_packet_length 
+0x30e9 014696 copy pdata ,loopcnt 
+0x30ea 014697 store 1 ,mem_mesh_access_layer_payload_len 
+0x30eb 014698 fetch 1 ,mem_mesh_upper_tran_layer_temp_pakcet_akf_aid 
+0x30ec 014699 store 1 ,mem_mesh_message_transport_head 
+0x30ed 014700 arg mem_mesh_upper_tran_layer_temp_pakcet_upper_tran_access_pdu ,contr 
+0x30ee 014701 arg mem_mesh_access_layer_payload ,contw 
+0x30ef 014702 branch memcpy 
+:      014704 ali_mesh_upper_transport_layer_split_segmented_msg_to_lower_tran_layer:
+0x30f0 014705 call ali_mesh_upper_transport_layer_send_segmented_access_message_calc_header 
+0x30f1 014706 setarg mem_mesh_access_payload 
+0x30f2 014707 store 2 ,mem_mesh_upper_transport_layer_payload_ptr 
+:      014708 ali_mesh_upper_transport_layer_send_segmented_access_message_loop:
+0x30f3 014709 call ali_mesh_upper_transport_layer_control_packet_load_header 
+0x30f4 014710 call ali_mesh_upper_transport_layer_send_access_message_calc_seq 
+0x30f5 014711 call ali_mesh_upper_transport_layer_send_access_message_add_seq 
+0x30f6 014713 fetcht 1 ,mem_mesh_access_layer_payload_len 
+0x30f7 014714 setarg segmented_access_message_unint_pdu_len 
+0x30f8 014715 call not_greater_than 
+0x30f9 014716 copy pdata ,rega 
+0x30fa 014717 copy temp ,pdata 
+0x30fb 014718 isub rega ,pdata 
+0x30fc 014719 store 1 ,mem_mesh_access_layer_payload_len 
+0x30fd 014720 fetch 2 ,mem_mesh_upper_transport_layer_payload_ptr 
+0x30fe 014721 copy pdata ,contr 
+0x30ff 014722 iadd rega ,temp 
+0x3100 014723 storet 2 ,mem_mesh_upper_transport_layer_payload_ptr 
+0x3101 014724 call ali_mesh_lower_transport_layer_send_segmented_access_message 
+0x3102 014725 fetch 1 ,mem_mesh_access_layer_payload_len 
+0x3103 014726 rtn blank 
+0x3104 014727 fetch 1 ,mem_mesh_segmented_lower_transport_layer_sego 
+0x3105 014728 pincrease 1 
+0x3106 014729 store 1 ,mem_mesh_segmented_lower_transport_layer_sego 
+0x3107 014730 call ali_mesh_upper_transport_layer_send_segmented_access_message_calc_header 
+0x3108 014731 branch ali_mesh_upper_transport_layer_send_segmented_access_message_loop 
+:      014736 ali_mesh_upper_transport_layer_calc_transport_mic:
+0x3109 014737 fetch 1 ,mem_mesh_message_transport_head 
+0x310a 014738 bbit0 transport_head_bit_akf ,ali_mesh_upper_transport_layer_calc_transport_mic_by_devicekey 
+:      014739 ali_mesh_upper_transport_layer_calc_transport_mic_by_appkey:
+0x310b 014740 call ali_mesh_upper_transport_layer_load_application_nonce_and_application_key 
+0x310c 014741 branch ali_mesh_upper_transport_layer_calc_transport_mic_encrypt_aesccm 
+:      014742 ali_mesh_upper_transport_layer_calc_transport_mic_by_devicekey:
+0x310d 014743 call ali_mesh_upper_transport_layer_load_device_nonce_and_device_key 
+:      014744 ali_mesh_upper_transport_layer_calc_transport_mic_encrypt_aesccm:
+0x310e 014745 fetch 1 ,mem_mesh_access_layer_payload_len 
+0x310f 014746 add pdata ,4 ,temp 
+0x3110 014747 storet 1 ,mem_mesh_upper_transport_layer_payload_len 
+0x3111 014748 arg mem_mesh_access_layer_payload ,temp 
+0x3112 014749 branch ali_ccm_encrypt 
+:      014754 ali_mesh_upper_transport_layer_send_access_message_calc_seq:
+0x3113 014755 fetch 3 ,mem_mesh_send_message_seq 
+0x3114 014756 pincrease 1 
+0x3115 014757 store 3 ,mem_mesh_send_message_seq 
+0x3116 014758 fetch 1 ,mem_mesh_gatt_package_send_msg_id 
+0x3117 014759 pincrease 1 
+0x3118 014760 store 1 ,mem_mesh_gatt_package_send_msg_id 
+0x3119 014761 fetch 2 ,mem_mesh_cb_seq_changed 
+0x311a 014762 branch callback_func 
+:      014766 ali_mesh_upper_transport_layer_send_access_message_add_nid_src_ttl_seq_dst:
+0x311b 014767 fetch 1 ,mem_mesh_iv_index + 3 
+0x311c 014768 lshift4 pdata ,pdata 
+0x311d 014769 lshift3 pdata ,pdata 
+0x311e 014770 fetcht 1 ,mem_k2_nid 
+0x311f 014771 ior temp ,pdata 
+0x3120 014772 store 1 ,mem_mesh_send_upper_layer_ivi_and_nid 
+0x3121 014773 fetch 1 ,mem_mesh_send_message_ttl 
+0x3122 014774 store 1 ,mem_mesh_send_upper_layer_ctl_and_ttl 
+0x3123 014775 fetch 2 ,mem_mesh_send_message_src 
+0x3124 014776 store 2 ,mem_mesh_send_upper_layer_src 
+0x3125 014777 fetch 2 ,mem_mesh_send_message_dst 
+0x3126 014778 store 2 ,mem_mesh_send_upper_layer_dst 
+:      014780 ali_mesh_upper_transport_layer_send_access_message_add_seq:
+0x3127 014781 fetch 3 ,mem_mesh_send_message_seq 
+0x3128 014782 store 3 ,mem_mesh_send_upper_layer_seq 
+0x3129 014783 arg mem_mesh_send_upper_layer_seq ,rega 
+0x312a 014784 arg 3 ,loopcnt 
+0x312b 014785 call inverse_data 
+0x312c 014786 fetch 8 ,mem_mesh_send_upper_layer_ctl_and_ttl 
+0x312d 014787 store 8 ,mem_mesh_message_ttl 
+0x312e 014788 rtn 
+:      014790 ali_mesh_upper_transport_layer_send_segmented_access_message_get_seqzero_segon:
+0x312f 014791 fetch 1 ,mem_mesh_upper_transport_layer_payload_len 
+0x3130 014792 div pdata ,segmented_access_message_unint_pdu_len 
+0x3131 014793 call wait_div_end 
+0x3132 014794 quotient temp 
+0x3133 014795 remainder pdata 
+0x3134 014796 call ali_mesh_upper_transport_layer_send_segmented_access_message_sub_segn_one ,blank 
+0x3135 014797 storet 1 ,mem_mesh_segmented_lower_transport_layer_segn 
+0x3136 014798 jam 0 ,mem_mesh_segmented_lower_transport_layer_sego 
+0x3137 014799 fetch 3 ,mem_mesh_send_message_seq 
+0x3138 014800 arg 0x1fff ,temp 
+0x3139 014801 iand temp ,pdata 
+0x313a 014802 store 2 ,mem_mesh_segmented_lower_transport_layer_segzero 
+0x313b 014803 rtn 
+:      014805 ali_mesh_upper_transport_layer_send_segmented_access_message_calc_header:
+0x313c 014806 fetch 2 ,mem_mesh_segmented_lower_transport_layer_segzero 
+0x313d 014807 lshift4 pdata ,pdata 
+0x313e 014808 lshift pdata ,pdata 
+0x313f 014809 fetcht 1 ,mem_mesh_segmented_lower_transport_layer_sego 
+0x3140 014810 ior temp ,pdata 
+0x3141 014811 lshift4 pdata ,pdata 
+0x3142 014812 lshift pdata ,pdata 
+0x3143 014813 fetcht 1 ,mem_mesh_segmented_lower_transport_layer_segn 
+0x3144 014814 ior temp ,pdata 
+0x3145 014815 store 3 ,mem_mesh_segmented_access_lower_transport_layer_szmic_seqzero_sego_segn 
+0x3146 014816 arg 3 ,loopcnt 
+0x3147 014817 arg mem_mesh_segmented_access_lower_transport_layer_szmic_seqzero_sego_segn ,rega 
+0x3148 014818 branch inverse_data 
+:      014821 ali_mesh_upper_transport_layer_send_segmented_access_message_sub_segn_one:
+0x3149 014822 increase -1 ,temp 
+0x314a 014823 rtn 
+:      014825 ali_mesh_upper_transport_layer_clear_tx_buffer:
+0x314b 014826 rtn 
+:      014829 ali_mesh_loggint_tx_info_upper_send_packet:
+0x314c 014830 arg mem_mesh_access_layer_payload ,rega 
+0x314d 014831 fetchr loopcnt ,1 ,mem_mesh_access_layer_payload_len 
+0x314e 014832 arg mesh_upper_send_packet ,regb 
+0x314f 014833 branch logging_tx_info 
+:      014835 app_init:
+0x3150 014836 bpatch patch15_5 ,mem_patch15 
+0x3151 014837 fetch 1 ,mem_device_option 
+0x3152 014838 branch app_init ,blank 
+0x3153 014839 beq dvc_op_dongle ,dongle_init 
+0x3154 014840 beq dvc_op_antilost ,antilost_init 
+0x3155 014841 beq dvc_op_shutter ,shutter_init 
+0x3156 014842 beq dvc_op_module ,module_init 
+0x3157 014843 beq dvc_op_car ,car_init 
+0x3158 014844 beq dvc_op_remote_car ,remote_car_init 
+0x3159 014845 beq dvc_op_hci_boot ,hci_init 
+0x315a 014846 beq dvc_op_ali_mesh ,ali_mesh_init 
+0x315b 014847 beq dvc_op_mouse ,mouse_init 
+0x315c 014848 rtn 
+:      014850 app_lpm_init:
+0x315d 014851 jam 0 ,mem_tester_emulate 
+0x315e 014852 jam 0 ,mem_debug_config 
+0x315f 014853 jam 0 ,mem_lch_code 
+0x3160 014854 setarg 0 
+0x3161 014855 store 5 ,mem_sp_state_start 
+0x3162 014856 fetch 1 ,mem_device_option 
+0x3163 014857 branch app_lpm_init ,blank 
+0x3164 014858 beq dvc_op_module ,module_lpm_init 
+:      014859 app_lpm_init0:
+0x3165 014860 rtn 
+:      014862 app_param_init:
+0x3166 014863 rtn wake 
+0x3167 014864 call app_read_efuse_sys_config 
+0x3168 014865 call app_read_efuse_dig_aon_vsel 
+0x3169 014866 call app_read_efuse_syn_afc_cfg1 
+0x316a 014867 call app_read_efuse_rf_ldo_cfg1 
+0x316b 014868 call app_read_efuse_rc_cal 
+0x316c 014869 call app_read_efuse_agc 
+0x316d 014870 call adc_init_data 
+0x316e 014871 fetch 1 ,mem_device_option 
+0x316f 014872 beq dvc_op_shutter ,shutter_default_init 
+0x3170 014873 beq dvc_op_dongle ,dongle_default_init 
+0x3171 014874 beq dvc_op_mouse ,mouse_default_init 
+0x3172 014875 beq dvc_op_remote_car ,remote_car_default_init 
+0x3173 014876 rtn 
+:      014878 app_sys_param_init:
+0x3174 014879 jam 0xff ,mem_rf_init_data 
+0x3175 014880 setarg mem_rf_init_data 
+0x3176 014881 store 2 ,mem_rf_init_ptr 
+0x3177 014883 jam 0xff ,mem_ui_button_gpio 
+0x3178 014884 jam 0x88 ,mem_lpm_xtal_ib 
+0x3179 014885 jam 0xce ,mem_lpm_padding 
+0x317a 014886 rtn 
+:      014890 app_process_idle:
+0x317b 014891 call ui_dispatch 
+0x317c 014892 call check_51cmd 
+0x317d 014893 call app_process_bb_event 
+0x317e 014894 fetch 2 ,mem_cb_idle_process 
+0x317f 014895 branch callback_func 
+:      014897 app_process_bt:
+0x3180 014898 fetch 2 ,mem_cb_bt_process 
+0x3181 014899 branch callback_func 
+:      014901 app_process_ble:
+0x3182 014902 fetch 2 ,mem_cb_le_process 
+0x3183 014903 branch callback_func 
+:      014905 app_process_bb_event:
+0x3184 014906 bpatch patch15_6 ,mem_patch15 
+0x3185 014908 arg mem_ipc_fifo_bt2c51 ,rega 
+0x3186 014909 call fifo_out 
+0x3187 014910 rtn blank 
+0x3188 014912 copy pdata ,regc 
+0x3189 014913 call app_event_normal_process 
+0x318a 014914 branch app_process_bb_event_priority 
+:      014916 app_discard_event:
+0x318b 014917 arg 0 ,regc 
+0x318c 014918 rtn 
+:      014923 app_event_normal_process:
+0x318d 014924 beq bt_evt_bb_connected ,app_evt_bt_conn 
+0x318e 014925 beq bt_evt_button_long_pressed ,app_evt_button_long_pressed 
+0x318f 014926 beq bt_evt_setup_complete ,app_evt_setup_complete 
+0x3190 014927 beq bt_evt_hid_handshake ,app_evt_hid_handshake 
+0x3191 014928 beq bt_evt_hid_connected ,app_bb_event_hid_connected 
+0x3192 014929 beq bt_evt_reconn_failed ,app_bb_event_reconn_failed 
+0x3193 014930 beq bt_evt_bb_disconnected ,app_bb_event_bb_disconn 
+0x3194 014931 beq bt_evt_reconn_page_timeout ,app_bb_event_reconn_failed 
+0x3195 014932 beq bt_evt_le_connected ,app_le_event_bb_connected 
+0x3196 014933 beq bt_evt_le_disconnected ,app_le_event_bb_disconn 
+0x3197 014934 beq bt_evt_reconn_started ,app_event_reconn_start 
+0x3198 014935 beq bt_evt_enter_sniff ,app_event_enter_sniff 
+0x3199 014936 beq bt_evt_exit_sniff ,app_event_exit_sniff 
+0x319a 014938 beq bt_evt_ml2cap_conn_refused ,app_event_ml2cap_conn_refused 
+0x319b 014939 beq bt_evt_linkkey_generate ,app_event_linkkey_generate 
+0x319c 014940 beq bt_evt_switch_fail_master ,app_event_switch_fail_master 
+0x319d 014941 beq bt_evt_switch_success_master ,app_event_switch_success 
+0x319e 014942 rtn 
+:      014945 app_evt_bt_conn:
+0x319f 014946 fetch 2 ,mem_ui_state_map 
+0x31a0 014947 set1 ui_state_bt_connected ,pdata 
+0x31a1 014948 store 2 ,mem_ui_state_map 
+0x31a2 014949 fetch app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x31a3 014950 set0 app_disc_by_button ,pdata 
+0x31a4 014951 store app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x31a5 014952 branch check_51cmd_stop_discovery 
+:      014954 app_event_switch_success:
+0x31a6 014955 jam 0 ,mem_switch_fail_master_count 
+0x31a7 014956 rtn 
+:      014958 app_event_switch_fail_master:
+0x31a8 014959 fetch 1 ,mem_switch_fail_master_count 
+0x31a9 014960 increase 1 ,pdata 
+0x31aa 014961 store 1 ,mem_switch_fail_master_count 
+0x31ab 014962 sub pdata ,1 ,null 
+0x31ac 014963 branch app_bt_role_switch ,positive 
+0x31ad 014964 jam 0 ,mem_switch_fail_master_count 
+0x31ae 014965 fetch app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x31af 014966 set1 app_disc_switch_fail ,pdata 
+0x31b0 014967 store app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x31b1 014968 branch app_bt_disconnect 
+:      014970 app_process_bb_event_priority:
+0x31b2 014971 fetch 2 ,mem_cb_bb_event_process 
+0x31b3 014972 branch callback_func 
+:      014974 app_check_wake_lock:
+0x31b4 014975 fetch 2 ,mem_cb_check_wakelock 
+0x31b5 014976 branch callback_func 
+:      014978 app_will_enter_lpm:
+0x31b6 014979 fetch 2 ,mem_cb_before_lpm 
+0x31b7 014980 branch callback_func 
+:      014982 app_event_linkkey_generate:
+0x31b8 014983 fetch app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x31b9 014984 set1 app_disc_after_pairing ,pdata 
+0x31ba 014985 store app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x31bb 014986 branch app_bt_store_reconn_info 
+:      014988 app_event_reconn_start:
+0x31bc 014989 fetch 2 ,mem_ui_state_map 
+0x31bd 014990 set1 ui_state_bt_reconnect ,pdata 
+0x31be 014991 store 2 ,mem_ui_state_map 
+0x31bf 014992 fetch app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x31c0 014993 set1 app_disc_after_reconn ,pdata 
+0x31c1 014994 store app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x31c2 014995 rtn 
+:      014997 app_evt_setup_complete:
+0x31c3 014998 fetch 2 ,mem_ui_state_map 
+0x31c4 014999 set1 ui_state_bt_setup_complete ,pdata 
+0x31c5 015000 store 2 ,mem_ui_state_map 
+0x31c6 015001 fetch app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x31c7 015002 set1 app_disc_after_setup_done ,pdata 
+0x31c8 015003 store app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x31c9 015004 rtn 
+:      015006 app_evt_hid_handshake:
+0x31ca 015007 fetch 2 ,mem_ui_state_map 
+0x31cb 015008 set1 ui_state_bt_hid_handshake ,pdata 
+0x31cc 015009 store 2 ,mem_ui_state_map 
+0x31cd 015010 rtn 
+:      015012 app_event_enter_sniff:
+0x31ce 015013 fetch 2 ,mem_ui_state_map 
+0x31cf 015014 set1 ui_state_bt_sniff ,pdata 
+0x31d0 015015 store 2 ,mem_ui_state_map 
+0x31d1 015016 fetch app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x31d2 015017 set1 app_disc_after_sniff ,pdata 
+0x31d3 015018 store app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x31d4 015019 rtn 
+:      015021 app_event_exit_sniff:
+0x31d5 015022 fetch 2 ,mem_ui_state_map 
+0x31d6 015023 set0 ui_state_bt_sniff ,pdata 
+0x31d7 015024 store 2 ,mem_ui_state_map 
+0x31d8 015025 rtn 
+:      015027 app_le_event_bb_connected:
+0x31d9 015028 fetch 2 ,mem_ui_state_map 
+0x31da 015029 set1 ui_state_ble_connected ,pdata 
+0x31db 015030 store 2 ,mem_ui_state_map 
+0x31dc 015031 rtn 
+:      015033 app_le_event_bb_disconn:
+0x31dd 015034 jam 0 ,mem_le_l2cap_att_states 
+0x31de 015035 fetch 2 ,mem_ui_state_map 
+0x31df 015036 set0 ui_state_ble_connected ,pdata 
+0x31e0 015037 store 2 ,mem_ui_state_map 
+0x31e1 015038 branch app_lpm_mult_disable 
+:      015040 app_bb_event_hid_connected:
+0x31e2 015041 fetch 2 ,mem_ui_state_map 
+0x31e3 015042 set1 ui_state_bt_hid_conn ,pdata 
+0x31e4 015043 store 2 ,mem_ui_state_map 
+0x31e5 015044 rtn 
+:      015046 app_evt_button_long_pressed:
+0x31e6 015047 fetch app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x31e7 015048 set1 app_disc_by_button ,pdata 
+0x31e8 015049 store app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x31e9 015050 rtn 
+:      015052 app_event_ml2cap_conn_refused:
+0x31ea 015053 fetch app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x31eb 015054 set1 app_disc_l2cap_refused ,pdata 
+0x31ec 015055 store app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x31ed 015056 branch app_bt_disconnect 
+:      015059 app_evt_timer:
+0x31ee 015060 store 1 ,mem_app_evt_timer_count 
+:      015061 app_evt_100ms_loop:
+0x31ef 015062 bpatch patch15_7 ,mem_patch15 
+0x31f0 015063 fetch 1 ,mem_app_evt_timer_count 
+0x31f1 015064 rtn blank 
+0x31f2 015065 increase -1 ,pdata 
+0x31f3 015066 store 1 ,mem_app_evt_timer_count 
+0x31f4 015067 call ui_button_polling 
+0x31f5 015068 call app_lpm_wake_auto_lock_timer 
+0x31f6 015069 call app_unsniff_delay_timer 
+0x31f7 015070 call app_discovery_timer 
+0x31f8 015071 call flash_write_spi_sm_timer 
+0x31f9 015072 fetch 2 ,mem_cb_event_timer 
+0x31fa 015073 call callback_func 
+0x31fb 015074 branch app_evt_100ms_loop 
+:      015079 timer_single_step:
+0x31fc 015080 ifetch 1 ,regc 
+0x31fd 015081 rtn blank 
+0x31fe 015082 pincrease -1 
+0x31ff 015083 istore 1 ,regc 
+0x3200 015084 nrtn blank 
+0x3201 015085 copy regb ,pdata 
+0x3202 015086 branch callback_func 
+:      015090 timer_single_step_2b:
+0x3203 015091 ifetch 2 ,regc 
+0x3204 015092 rtn blank 
+0x3205 015093 pincrease -1 
+0x3206 015094 istore 2 ,regc 
+0x3207 015095 nrtn blank 
+0x3208 015096 copy regb ,pdata 
+0x3209 015097 branch callback_func 
+:      015099 app_power_timer:
+0x320a 015100 fetcht 2 ,mem_power_param_ptr 
+0x320b 015101 add temp ,power_timer_offset ,regc 
+0x320c 015102 arg app_power_timer_timeout ,regb 
+0x320d 015103 branch timer_single_step 
+:      015105 app_power_timer_timeout:
+0x320e 015106 call app_got_power_state_common 
+0x320f 015107 beq power_starting ,app_enter_power_stanby_state 
+:      015108 app_enter_power_off_state:
+0x3210 015109 branch app_enter_hibernate 
+:      015110 app_enter_power_stanby_state:
+0x3211 015111 setarg power_standby 
+0x3212 015112 istore 1 ,regc 
+0x3213 015113 add temp ,power_standby_cb_offset ,regb 
+:      015114 app_power_cb_common:
+0x3214 015115 ifetch 2 ,regb 
+0x3215 015116 branch callback_func 
+:      015118 app_unsniff_delay_timer:
+0x3216 015119 arg mem_unsniff2sniff_timer_count ,regc 
+0x3217 015120 arg app_unsniff_delay_timeout ,regb 
+0x3218 015121 branch timer_single_step 
+:      015123 app_unsniff_delay_timeout:
+0x3219 015124 call context_check_idle 
+0x321a 015125 branch app_bt_enter_sniff ,zero 
+0x321b 015126 rtn 
+:      015129 app_discovery_timer:
+0x321c 015130 arg mem_discovery_timeout_timer_count ,regc 
+0x321d 015131 arg app_discovery_timeout ,regb 
+0x321e 015132 branch timer_single_step_2b 
+:      015134 app_discovery_timeout:
+0x321f 015135 call app_bt_stop_discovery 
+0x3220 015136 call app_led_off 
+0x3221 015137 fetch 2 ,mem_cb_discovry_timeout 
+0x3222 015138 branch callback_func 
+:      015141 app_bb_event_reconn_failed:
+0x3223 015142 call app_disconn_reason_flag_clear 
+:      015143 app_clear_reconnect_flag:
+0x3224 015144 fetch 2 ,mem_ui_state_map 
+0x3225 015145 set0 ui_state_bt_reconnect ,pdata 
+0x3226 015146 store 2 ,mem_ui_state_map 
+0x3227 015147 rtn 
+:      015149 app_bb_event_bb_disconn:
+0x3228 015150 jam 0 ,mem_unsniff2sniff_timer_count 
+0x3229 015151 fetch 2 ,mem_ui_state_map 
+0x322a 015152 bbit1 ui_state_bt_reconnect ,app_bb_event_bb_reconn_disconn 
+0x322b 015153 isolate0 ui_state_bt_setup_complete ,pdata 
+0x322c 015154 call app_discard_event ,true 
+:      015155 app_bb_event_bb_reconn_disconn:
+0x322d 015156 bpatch patch16_0 ,mem_patch16 
+0x322e 015157 fetch 2 ,mem_ui_state_map 
+0x322f 015158 set0 ui_state_bt_connected ,pdata 
+0x3230 015159 set0 ui_state_bt_setup_complete ,pdata 
+0x3231 015160 set0 ui_state_bt_hid_conn ,pdata 
+0x3232 015161 set0 ui_state_bt_hid_handshake ,pdata 
+0x3233 015162 set0 ui_state_bt_reconnect ,pdata 
+0x3234 015163 store 2 ,mem_ui_state_map 
+0x3235 015164 branch app_lpm_mult_disable 
+:      015166 app_bb_hibernate:
+0x3236 015167 call app_disconn_reason_clear 
+0x3237 015168 branch app_enter_hibernate 
+:      015171 app_disconn_reason_clear:
+0x3238 015172 setarg 0 
+0x3239 015173 store app_disc_rsn_size ,mem_app_disconn_reason 
+0x323a 015174 rtn 
+:      015175 app_disconn_reason_flag_clear:
+0x323b 015176 setarg 0 
+0x323c 015177 store app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x323d 015178 rtn 
+:      015180 app_disconn_reason_collect_bt:
+0x323e 015181 fetch app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x323f 015182 store app_disc_rsn_size ,mem_app_disconn_reason 
+0x3240 015183 setarg 0 
+0x3241 015184 store app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x3242 015185 rtn 
+:      015187 app_disconn_reason_collect_ble:
+0x3243 015188 fetch app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x3244 015189 set1 app_disc_ble ,pdata 
+0x3245 015190 store app_disc_rsn_size ,mem_app_disconn_reason 
+0x3246 015191 setarg 0 
+0x3247 015192 store app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x3248 015193 rtn 
+:      015201 app_check_sniff:
+0x3249 015202 fetch 1 ,mem_ui_state_map 
+0x324a 015203 isolate1 ui_state_bt_sniff ,pdata 
+0x324b 015204 rtn 
+:      015209 app_start_auto_sniff:
+0x324c 015210 fetch 1 ,mem_unsniff2sniff_timer 
+0x324d 015211 store 1 ,mem_unsniff2sniff_timer_count 
+0x324e 015212 rtn 
+:      015214 app_get_lpm_wake_lock:
+0x324f 015215 arg wake_lock_app ,queue 
+0x3250 015216 branch lpm_get_wake_lock 
+:      015218 app_put_lpm_wake_lock:
+0x3251 015219 arg wake_lock_app ,queue 
+0x3252 015220 branch lpm_put_wake_lock 
+:      015222 app_lpm_wake_auto_lock:
+0x3253 015223 jam lpm_wake_up_delay_timer ,mem_wake_up_delay_timer 
+0x3254 015224 branch app_get_lpm_wake_lock 
+:      015226 app_lpm_wake_auto_lock_timer:
+0x3255 015227 arg mem_wake_up_delay_timer ,regc 
+0x3256 015228 arg app_put_lpm_wake_lock ,regb 
+0x3257 015229 branch timer_single_step 
+:      015231 app_l2cap_flow_control_enable:
+0x3258 015232 jam l2cap_flow_ctrl_enable ,mem_l2cap_flow_ctrl_flag 
+0x3259 015233 rtn 
+:      015235 app_l2cap_flow_control_disable:
+0x325a 015236 jam l2cap_flow_ctrl_disable ,mem_l2cap_flow_ctrl_flag 
+0x325b 015237 rtn 
+:      015239 app_bt_set_pincode:
+0x325c 015240 jam bt_cmd_set_pin_code ,mem_fifo_temp 
+0x325d 015241 branch ui_ipc_send_cmd 
+:      015243 app_bt_role_switch:
+0x325e 015244 jam bt_cmd_role_switch ,mem_fifo_temp 
+0x325f 015245 branch ui_ipc_send_cmd 
+:      015247 app_bt_start_reconnect:
+0x3260 015248 bpatch patch16_1 ,mem_patch16 
+0x3261 015249 fetch 1 ,mem_app_connection_options 
+0x3262 015250 store 1 ,mem_connection_options 
+0x3263 015251 jam app_flag_reconnect ,mem_reconnect_flag 
+0x3264 015252 jam bt_cmd_reconnect ,mem_fifo_temp 
+0x3265 015253 branch ui_ipc_send_cmd 
+:      015255 app_bt_reconnect_cancel:
+0x3266 015256 jam bt_cmd_bb_reconn_cancel ,mem_fifo_temp 
+0x3267 015257 branch ui_ipc_send_cmd 
+:      015259 app_bt_disconnect:
+0x3268 015260 jam bt_cmd_disconnect ,mem_fifo_temp 
+0x3269 015261 branch ui_ipc_send_cmd 
+:      015263 app_bt_start_discovery_short:
+0x326a 015264 fetch 2 ,mem_discovery_timeout 
+0x326b 015265 store 2 ,mem_discovery_timeout_timer_count 
+:      015266 app_bt_start_discovery_led_blink:
+0x326c 015267 call app_led_start_blink 
+:      015268 app_bt_start_discovery:
+0x326d 015269 jam bt_cmd_start_discovery ,mem_fifo_temp 
+0x326e 015270 branch ui_ipc_send_cmd 
+:      015272 app_bt_stop_discovery:
+0x326f 015273 setarg 0 
+0x3270 015274 store 2 ,mem_discovery_timeout_timer_count 
+0x3271 015275 jam bt_cmd_stop_discovery ,mem_fifo_temp 
+0x3272 015276 branch ui_ipc_send_cmd 
+:      015278 app_ble_start_direct_adv:
+0x3273 015279 jam bt_cmd_start_direct_adv ,mem_fifo_temp 
+0x3274 015280 branch ui_ipc_send_cmd 
+:      015282 app_ble_stop_direct_adv:
+0x3275 015283 jam bt_cmd_stop_direct_adv ,mem_fifo_temp 
+0x3276 015284 branch ui_ipc_send_cmd 
+:      015286 app_ble_stop_adv:
+0x3277 015287 jam bt_cmd_stop_adv ,mem_fifo_temp 
+0x3278 015288 branch ui_ipc_send_cmd 
+:      015290 app_ble_start_adv:
+0x3279 015291 jam bt_cmd_start_adv ,mem_fifo_temp 
+0x327a 015292 branch ui_ipc_send_cmd 
+:      015294 app_ble_start_scan:
+0x327b 015295 jam bt_cmd_le_start_scan ,mem_fifo_temp 
+0x327c 015296 branch ui_ipc_send_cmd 
+:      015298 app_ble_stop_scan:
+0x327d 015299 jam bt_cmd_le_stop_scan ,mem_fifo_temp 
+0x327e 015300 branch ui_ipc_send_cmd 
+:      015302 app_ble_start_conn:
+0x327f 015303 jam bt_cmd_le_start_conn ,mem_fifo_temp 
+0x3280 015304 branch ui_ipc_send_cmd 
+:      015306 app_ble_disconnect:
+0x3281 015307 jam bt_cmd_le_disconnect ,mem_fifo_temp 
+0x3282 015308 branch ui_ipc_send_cmd 
+:      015310 app_led_start_blink:
+0x3283 015311 jam bt_cmd_led_blink ,mem_fifo_temp 
+0x3284 015312 branch ui_ipc_send_cmd 
+:      015314 app_led_on:
+0x3285 015315 jam bt_cmd_led_on ,mem_fifo_temp 
+0x3286 015316 branch ui_ipc_send_cmd 
+:      015318 app_led_stop_blink:
+:      015319 app_led_off:
+0x3287 015320 jam bt_cmd_led_off ,mem_fifo_temp 
+0x3288 015321 branch ui_ipc_send_cmd 
+:      015323 app_enter_hibernate:
+0x3289 015324 jam bt_cmd_enter_hibernate ,mem_fifo_temp 
+0x328a 015325 branch ui_ipc_send_cmd 
+:      015327 app_bt_sniff_exit:
+0x328b 015328 jam bt_cmd_exit_sniff ,mem_fifo_temp 
+0x328c 015329 branch ui_ipc_send_cmd 
+:      015331 app_bt_enter_sniff:
+0x328d 015332 jam bt_cmd_enter_sniff ,mem_fifo_temp 
+0x328e 015333 branch ui_ipc_send_cmd 
+:      015335 app_ble_store_reconn_info:
+0x328f 015336 jam bt_cmd_store_reconn_info_le ,mem_fifo_temp 
+0x3290 015337 branch ui_ipc_send_cmd 
+:      015339 app_bt_store_reconn_info:
+0x3291 015340 jam bt_cmd_store_reconn_info_bt ,mem_fifo_temp 
+0x3292 015341 branch ui_ipc_send_cmd 
+:      015343 app_store_reconn_info:
+0x3293 015344 jam bt_cmd_store_reconn_info ,mem_fifo_temp 
+0x3294 015345 branch ui_ipc_send_cmd 
+:      015347 app_lpm_mult_enable:
+0x3295 015348 set1 mark_lpm_mult_enable ,mark 
+0x3296 015349 rtn 
+:      015351 app_lpm_mult_disable:
+0x3297 015352 set0 mark_lpm_mult_enable ,mark 
+0x3298 015353 rtn 
+:      015356 app_button_long_pressed:
+0x3299 015357 call app_got_power_state_common 
+0x329a 015358 beq power_standby ,app_power_shutting_down 
+:      015359 app_power_starting:
+0x329b 015360 setarg power_starting 
+0x329c 015361 istore 1 ,regc 
+0x329d 015362 add temp ,power_starting_timeout_offset ,rega 
+0x329e 015363 add temp ,power_starting_cb_offset ,regb 
+:      015364 app_power_common:
+0x329f 015365 ifetcht 1 ,rega 
+0x32a0 015366 increase 1 ,regc 
+0x32a1 015367 istoret 1 ,regc 
+0x32a2 015368 branch app_power_cb_common 
+:      015370 app_power_shutting_down:
+0x32a3 015371 setarg power_off 
+0x32a4 015372 istore 1 ,regc 
+0x32a5 015373 fetch 2 ,mem_ui_state_map 
+0x32a6 015374 bbit0 ui_state_ble_connected ,app_power_off_end 
+0x32a7 015375 call le_send_terminate_ind_user_terminated 
+0x32a8 015376 call app_ble_disconnect 
+:      015377 app_power_off_end:
+0x32a9 015378 fetcht 2 ,mem_power_param_ptr 
+0x32aa 015379 add temp ,power_off_timeout_offset ,rega 
+0x32ab 015380 add temp ,power_off_cb_offset ,regb 
+0x32ac 015381 branch app_power_common 
+:      015383 app_got_power_state_common:
+0x32ad 015384 fetcht 2 ,mem_power_param_ptr 
+0x32ae 015385 add temp ,power_state_offset ,regc 
+0x32af 015386 ifetch 1 ,regc 
+0x32b0 015387 rtn 
+:      015389 app_event_button_up:
+0x32b1 015390 call app_got_power_state_common 
+0x32b2 015391 bne power_off ,app_power_release 
+0x32b3 015392 branch app_enter_hibernate 
+:      015393 app_power_release:
+0x32b4 015394 add temp ,ui_butten_up_cb_offset ,regb 
+0x32b5 015395 branch app_power_cb_common 
+:      015398 app_hid_connected:
+0x32b6 015399 setarg hid_handshake_timeout 
+0x32b7 015400 store 1 ,mem_hid_handshake_timer_count 
+0x32b8 015401 rtn 
+:      015404 antilost_init:
+0x32b9 015405 rtn wake 
+0x32ba 015406 setarg antilost_le_before_hibernate 
+0x32bb 015407 store 2 ,mem_cb_before_hibernate 
+0x32bc 015408 setarg keyscan_process_lpm_before 
+0x32bd 015409 store 2 ,mem_cb_before_lpm 
+0x32be 015410 setarg antilost_idle_process 
+0x32bf 015411 store 2 ,mem_cb_idle_process 
+0x32c0 015412 setarg antilost_le_conn_process 
+0x32c1 015413 store 2 ,mem_cb_le_process 
+0x32c2 015414 setarg antilost_bb_event_process 
+0x32c3 015415 store 2 ,mem_cb_bb_event_process 
+0x32c4 015416 setarg antilost_le_bb_event_timer 
+0x32c5 015417 store 2 ,mem_cb_event_timer 
+0x32c6 015418 setarg antilost_le_notification 
+0x32c7 015419 store 2 ,mem_cb_ble_transmit 
+0x32c8 015420 setarg antilost_lpm_lock_process 
+0x32c9 015421 store 2 ,mem_cb_check_wakelock 
+0x32ca 015422 setarg antilost_le_receive_data_process 
+0x32cb 015423 store 2 ,mem_cb_att_write 
+0x32cc 015424 bpatch patch16_2 ,mem_patch16 
+0x32cd 015426 call antilost_buzzer_pwm_init 
+0x32ce 015427 call antilost_set_ble_version 
+0x32cf 015428 call keyscan_key_init 
+0x32d0 015429 call antilost_adc_init 
+0x32d1 015430 call ui_led_init_global 
+0x32d2 015431 call ui_button_init 
+0x32d3 015432 setarg antilost_key_up_down 
+0x32d4 015433 store 2 ,mem_cb_antl_key 
+0x32d5 015434 setarg antilost_power_off_cb 
+0x32d6 015435 store 2 ,mem_antl_power_off_cb 
+0x32d7 015436 setarg antilost_power_starting_cb 
+0x32d8 015437 store 2 ,mem_antl_power_starting_cb 
+0x32d9 015438 setarg antilost_power_standby_cb 
+0x32da 015439 store 2 ,mem_antl_power_standby_cb 
+0x32db 015440 setarg antilost_led_on_cb 
+0x32dc 015441 store 2 ,mem_antl_led_cb_on 
+0x32dd 015442 setarg antilost_led_off_cb 
+0x32de 015443 store 2 ,mem_antl_led_cb_off 
+0x32df 015444 setarg antilost_buzzer_on 
+0x32e0 015445 store 2 ,mem_antl_buzzer_cb_on 
+0x32e1 015446 setarg antilost_buzzer_off 
+0x32e2 015447 store 2 ,mem_antl_buzzer_cb_off 
+0x32e3 015448 fetch 2 ,mem_ui_state_map 
+0x32e4 015449 rtnbit1 ui_state_btn_down 
+0x32e5 015450 branch app_enter_hibernate 
+:      015452 antilost_set_ble_version:
+0x32e6 015454 jam 7 ,mem_lmp_version 
+0x32e7 015455 rtn 
+:      015458 antilost_le_before_hibernate:
+0x32e8 015459 call antilost_led_buzzer_stop_blink 
+0x32e9 015460 branch app_enter_hibernate 
+:      015462 antilost_le_notification:
+0x32ea 015463 call le_fifo_check_nearly_full 
+0x32eb 015464 nrtn blank 
+0x32ec 015465 arg mem_temp_block5 ,rega 
+0x32ed 015466 call queue_pop 
+0x32ee 015467 nrtn user 
+0x32ef 015468 arg mem_temp_block5 ,contr 
+0x32f0 015469 branch le_send_notify_from_list 
+:      015471 antilost_power_standby_cb:
+0x32f1 015472 fetch 2 ,mem_antl_le_sleep_timeout 
+0x32f2 015473 store 2 ,mem_antl_le_sleep_timer 
+0x32f3 015474 jam 1 ,mem_antl_key_scan_enable 
+0x32f4 015475 branch antilost_fast_adv_start 
+:      015477 antilost_lpm_lock_process:
+0x32f5 015478 fetch 1 ,mem_antl_key_state 
+0x32f6 015479 beq 1 ,antilost_lpm_ctrl_for_led_buzzer 
+0x32f7 015480 fetch 2 ,mem_ui_state_map 
+0x32f8 015481 bbit0 ui_state_ble_connected ,antilost_lpm_ctrl_for_led_buzzer 
+0x32f9 015482 fetch 1 ,mem_antl_lost_mode 
+0x32fa 015483 beq 1 ,app_get_lpm_wake_lock 
+0x32fb 015484 fetch 1 ,mem_antl_queue_curr_num 
+0x32fc 015485 nbranch app_get_lpm_wake_lock ,blank 
+0x32fd 015486 branch app_put_lpm_wake_lock 
+:      015488 antilost_lpm_ctrl_for_led_buzzer:
+0x32fe 015489 fetch 1 ,mem_antl_led_state 
+0x32ff 015490 fetcht 1 ,mem_antl_buzzer_state 
+0x3300 015491 ior temp ,pdata 
+0x3301 015492 beq 1 ,app_get_lpm_wake_lock 
+0x3302 015493 branch app_put_lpm_wake_lock 
+:      015495 antilost_bb_event_process:
+0x3303 015496 copy regc ,pdata 
+0x3304 015497 beq bt_evt_button_up ,app_event_button_up 
+0x3305 015498 beq bt_evt_button_long_pressed ,app_button_long_pressed 
+0x3306 015499 beq bt_evt_le_connected ,antilost_le_process_conn 
+0x3307 015500 beq bt_evt_le_disconnected ,antilost_le_process_discon 
+0x3308 015501 beq bt_evt_le_parse_conn_papa_update_rsp ,antilost_le_conn_param_update_rsp_recieved 
+0x3309 015502 beq bt_evt_le_parse_conn_param_accepted ,antilost_le_conn_param_accepted 
+0x330a 015503 rtn 
+:      015504 antilost_le_conn_param_update_rsp_recieved:
+0x330b 015505 call antilost_le_conn_param_updata_judge 
+0x330c 015506 fetch 2 ,mem_le_l2cap_signaling_conn_param_update_rsp_result 
+0x330d 015507 beq ble_signaling_connect_parameter_update_rejected ,antilost_le_conn_param_rejected 
+:      015508 antilost_le_conn_param_updata_procedure_sucsess:
+0x330e 015509 jam conn_param_updata_procedure_complete ,mem_antl_conn_updata_procedure_state 
+0x330f 015510 jam 60 ,mem_antl_conn_update_timer 
+0x3310 015511 rtn 
+:      015512 antilost_le_conn_param_updata_judge:
+0x3311 015513 fetch 1 ,mem_le_state 
+0x3312 015514 rtnbit1 lestate_update_param 
+0x3313 015515 jam 1 ,mem_lestate_update_param_flag 
+0x3314 015516 rtn 
+:      015519 antilost_le_conn_param_accepted:
+0x3315 015520 fetch 1 ,mem_lestate_update_param_flag 
+0x3316 015521 rtn blank 
+0x3317 015522 jam 0 ,mem_lestate_update_param_flag 
+0x3318 015523 fetch 2 ,mem_le_new_connslavelatency 
+0x3319 015524 branch antilost_master_nonsupport_latency ,blank 
+0x331a 015525 rtn 
+:      015527 antilost_le_conn_param_rejected:
+0x331b 015528 fetch 2 ,mem_le_latency 
+0x331c 015529 branch antilost_conn_param_updata_procedure_faild ,blank 
+:      015530 antilost_conn_param_retransimiting:
+0x331d 015531 jam conn_param_updata_procedure_starting ,mem_antl_conn_updata_procedure_state 
+0x331e 015532 fetcht 2 ,mem_interval_increment 
+0x331f 015533 fetch 2 ,mem_le_interval_min 
+0x3320 015534 iadd temp ,pdata 
+0x3321 015535 store 2 ,mem_le_interval_min 
+0x3322 015536 copy pdata ,rega 
+0x3323 015537 fetch 2 ,mem_le_interval_max 
+0x3324 015538 iadd temp ,pdata 
+0x3325 015539 store 2 ,mem_le_interval_max 
+0x3326 015540 iadd rega ,pdata 
+0x3327 015541 rshift pdata ,temp 
+0x3328 015542 fetch 2 ,mem_antl_le_unnormal_interval_max 
+0x3329 015543 idiv temp 
+0x332a 015544 call get_div_result 
+0x332b 015545 store 2 ,mem_le_latency 
+0x332c 015546 jam 1 ,mem_antl_send_updata_le_param_timer 
+0x332d 015547 rtn 
+:      015548 antilost_conn_param_updata_procedure_faild:
+0x332e 015549 jam conn_param_updata_procedure_faild ,mem_antl_conn_updata_procedure_state 
+0x332f 015550 rtn 
+:      015552 antilost_master_nonsupport_latency:
+0x3330 015553 jam 0 ,mem_lpm_mult 
+0x3331 015554 jam 0 ,mem_antl_send_updata_le_param_timer 
+0x3332 015555 fetch 2 ,mem_le_new_conninterval 
+0x3333 015556 fetcht 2 ,mem_antl_le_unnormal_interval_min 
+0x3334 015557 isub temp ,null 
+0x3335 015558 setflag positive ,0 ,rega 
+0x3336 015559 fetch 2 ,mem_antl_le_unnormal_interval_max 
+0x3337 015560 fetcht 2 ,mem_le_new_conninterval 
+0x3338 015561 isub temp ,pdata 
+0x3339 015562 setflag positive ,1 ,rega 
+0x333a 015563 compare 0x03 ,rega ,0x03 
+0x333b 015564 rtn true 
+0x333c 015565 fetch 8 ,mem_antl_le_unnormal_interval_min 
+0x333d 015566 store 8 ,mem_le_interval_min 
+0x333e 015567 jam 1 ,mem_antl_send_updata_le_param_timer 
+0x333f 015568 rtn 
+:      015571 antilost_le_bb_event_timer:
+0x3340 015572 call app_power_timer 
+0x3341 015573 call antilost_double_click_timer 
+0x3342 015574 call antilost_le_fast_adv_timer 
+0x3343 015575 call antilost_le_sleep_timer 
+0x3344 015576 call antilost_app_updata_le_param_timer 
+0x3345 015577 call antilost_conn_update_timer 
+0x3346 015578 call antilost_conn_battery_send_timer 
+0x3347 015579 call antilost_disconn_buzzer_on_timer 
+0x3348 015580 branch antilost_adc_check_timer 
+:      015582 antilost_disconn_buzzer_on_timer:
+0x3349 015583 arg mem_antl_disconn_buzzer_on_timer ,regc 
+0x334a 015584 arg antilost_disconn_buzzer_off ,regb 
+0x334b 015585 branch timer_single_step_2b 
+:      015587 antilost_disconn_buzzer_off:
+0x334c 015588 arg 1 ,rega 
+0x334d 015589 call ui_led_blink_stop_global 
+0x334e 015590 fetch 2 ,mem_buzzer_pwm_conf 
+0x334f 015591 branch pwm_disable 
+:      015594 antilost_conn_battery_send_timer:
+0x3350 015595 arg mem_antilost_conn_battery_send_timer ,regc 
+0x3351 015596 arg antilost_conn_battery_send ,regb 
+0x3352 015597 branch timer_single_step 
+:      015598 antilost_conn_battery_send:
+0x3353 015599 call antilost_battery_process 
+0x3354 015600 call antilost_battery_process 
+0x3355 015601 call antilost_battery_process 
+0x3356 015602 branch antilost_battery_calculate_end 
+:      015605 antilost_double_click_timer:
+0x3357 015606 arg mem_double_click_timer ,regc 
+0x3358 015607 arg antilost_double_click_timeout ,regb 
+0x3359 015608 branch timer_single_step 
+:      015609 antilost_double_click_timeout:
+0x335a 015610 jam 0 ,mem_butten_click_cnt 
+0x335b 015611 rtn 
+:      015612 antilost_le_fast_adv_timer:
+0x335c 015613 arg mem_antl_fast_adv_timer ,regc 
+0x335d 015614 arg antilost_le_fast_adv_timeout ,regb 
+0x335e 015615 branch timer_single_step_2b 
+:      015616 antilost_le_fast_adv_timeout:
+0x335f 015617 arg mem_antl_slow_adv_led_style ,regc 
+0x3360 015618 arg mem_antl_slow_adv_lpm_interval ,regb 
+0x3361 015619 branch antilost_adv_start_common 
+:      015622 antilost_conn_update_timer:
+0x3362 015623 arg mem_antl_conn_update_timer ,regc 
+0x3363 015624 arg antilost_conn_update_timer_time_out ,regb 
+0x3364 015625 branch timer_single_step 
+:      015627 antilost_conn_update_timer_time_out:
+0x3365 015628 fetch 2 ,mem_le_latency 
+0x3366 015629 store 1 ,mem_lpm_mult 
+0x3367 015630 rtn 
+:      015631 antilost_app_updata_le_param_timer:
+0x3368 015632 arg mem_antl_send_updata_le_param_timer ,regc 
+0x3369 015633 arg antilost_app_updata_le_param_timeout ,regb 
+0x336a 015634 branch timer_single_step 
+:      015635 antilost_app_updata_le_param_timeout:
+0x336b 015636 fetch 1 ,mem_le_state 
+0x336c 015637 compare 0 ,pdata ,0x60 
+0x336d 015638 nbranch antilost_wait_for_updata_param_instant_expire ,true 
+0x336e 015639 jam conn_param_updata_procedure_starting ,mem_antl_conn_updata_procedure_state 
+0x336f 015640 call app_lpm_mult_enable 
+0x3370 015641 branch le_l2cap_tx_update_req 
+:      015642 antilost_wait_for_updata_param_instant_expire:
+0x3371 015643 jam 1 ,mem_antl_send_updata_le_param_timer 
+0x3372 015644 rtn 
+:      015646 antilost_le_sleep_timer:
+0x3373 015647 arg mem_antl_le_sleep_timer ,regc 
+0x3374 015648 arg antilost_le_sleep_timer_timeout ,regb 
+0x3375 015649 branch timer_single_step_2b 
+:      015652 antilost_le_sleep_timer_timeout:
+0x3376 015653 branch app_button_long_pressed 
+:      015655 antilost_adc_check_timer:
+0x3377 015656 arg mem_adc_timer ,regc 
+0x3378 015657 arg antilost_adc_check_timer_timeout ,regb 
+0x3379 015658 branch timer_single_step_2b 
+:      015659 antilost_adc_check_timer_timeout:
+0x337a 015660 fetch 2 ,mem_adc_timeout 
+0x337b 015661 store 2 ,mem_adc_timer 
+0x337c 015662 branch antilost_battery_process 
+:      015665 antilost_le_process_conn:
+0x337d 015666 fetch 2 ,mem_adc_timeout 
+0x337e 015667 store 2 ,mem_adc_timer 
+0x337f 015668 setarg 0 
+0x3380 015669 store 2 ,mem_antl_fast_adv_timer 
+0x3381 015670 store 2 ,mem_antl_le_sleep_timer 
+0x3382 015671 call antilost_alert_off 
+0x3383 015672 call antilost_led_buzzer_stop_blink 
+0x3384 015673 jam 0 ,mem_lpm_mult 
+0x3385 015674 branch app_ble_stop_adv 
+:      015677 antilost_le_process_discon:
+0x3386 015678 setarg 0 
+0x3387 015679 store 4 ,mem_adc_timer 
+0x3388 015680 store 3 ,mem_antl_conn_updata_procedure_state 
+0x3389 015681 store 2 ,mem_le_l2cap_signaling_conn_param_update_rsp_result 
+0x338a 015683 jam 1 ,mem_alarm_config_notfy_cnt 
+0x338b 015684 fetch 2 ,mem_antl_le_sleep_timeout 
+0x338c 015685 store 2 ,mem_antl_le_sleep_timer 
+0x338d 015687 fetch 2 ,mem_antl_disconn_buzzer_on_timeout 
+0x338e 015688 store 2 ,mem_antl_disconn_buzzer_on_timer 
+0x338f 015690 call queue_init 
+0x3390 015691 fetch 1 ,mem_antl_power_state 
+0x3391 015692 rtneq power_off 
+0x3392 015693 call antilost_fast_adv_start 
+0x3393 015694 branch antilost_on_off_alarm_after_disconn 
+:      015697 antilost_le_conn_process:
+0x3394 015699 branch antilost_key_process 
+:      015701 antilost_idle_process:
+0x3395 015703 fetch 1 ,mem_antl_power_state 
+0x3396 015704 rtnne power_standby 
+0x3397 015705 branch antilost_key_process 
+:      015710 antilost_power_starting_cb:
+0x3398 015711 arg mem_antl_power_starting_buzzer_style ,regc 
+0x3399 015712 call antilost_buzzer_configuration 
+0x339a 015713 arg mem_antl_power_starting_led_style ,regc 
+:      015714 antilost_power_common:
+0x339b 015715 branch antilost_led_configuration 
+:      015717 antilost_power_off_cb:
+0x339c 015718 jam off ,mem_le_adv_enable 
+0x339d 015719 arg mem_antl_power_off_buzzer_style ,regc 
+0x339e 015720 call antilost_buzzer_configuration 
+0x339f 015721 arg mem_antl_power_off_led_style ,regc 
+0x33a0 015722 branch antilost_power_common 
+:      015724 antilost_le_receive_data_process:
+0x33a1 015725 fetch 1 ,mem_le_att_opcode 
+0x33a2 015726 beq attop_write_request ,antilost_le_parse_att_write_request 
+0x33a3 015727 rtn 
+:      015728 antilost_le_parse_att_write_request:
+0x33a4 015729 fetch 2 ,mem_le_att_handle 
+0x33a5 015731 beq new_spec_write_handle ,antilost_cmd_parse_for_application 
+0x33a6 015732 beq new_spec_notification_enable_handle ,antilost_notify_alarm_config_first_time 
+0x33a7 015733 rtn 
+:      015738 antilost_key_process:
+0x33a8 015739 fetch 1 ,mem_antl_key_scan_enable 
+0x33a9 015740 rtn blank 
+0x33aa 015741 branch keyscan_key_process 
+:      015745 antilost_key_up_down:
+0x33ab 015746 copy rega ,pdata 
+0x33ac 015747 branch antilost_key_is_up ,blank 
+:      015748 antilost_key_is_down:
+0x33ad 015749 copy queue ,pdata 
+0x33ae 015750 beq 0 ,antilost_key0_down 
+0x33af 015751 rtn 
+:      015752 antilost_key_is_up:
+0x33b0 015753 copy queue ,pdata 
+0x33b1 015754 beq 0 ,antilost_key0_up 
+0x33b2 015755 rtn 
+:      015757 antilost_key0_down:
+0x33b3 015758 jam 1 ,mem_antl_key_state 
+0x33b4 015759 arg mem_antl_key_buzzer_style ,regc 
+0x33b5 015760 call antilost_buzzer_configuration 
+0x33b6 015761 arg mem_antl_key_led_style ,regc 
+0x33b7 015762 call antilost_led_configuration 
+0x33b8 015763 fetch 2 ,mem_ui_state_map 
+0x33b9 015764 bbit0 ui_state_ble_connected ,antilost_butten_down_while_disconn 
+0x33ba 015765 branch antilost_butten_down_after_conn 
+:      015767 antilost_key0_up:
+0x33bb 015768 jam 0 ,mem_antl_key_state 
+0x33bc 015769 branch antilost_double_click_timer_init 
+:      015773 antilost_double_click_timer_init:
+0x33bd 015774 fetch 1 ,mem_butten_click_cnt 
+0x33be 015775 rtnne 1 
+0x33bf 015776 jam 5 ,mem_double_click_timer 
+0x33c0 015777 rtn 
+:      015779 antilost_butten_down_after_conn:
+0x33c1 015780 fetch 1 ,mem_butten_click_cnt 
+0x33c2 015781 pincrease 1 
+0x33c3 015782 store 1 ,mem_butten_click_cnt 
+0x33c4 015783 beq 1 ,antilost_click_once 
+0x33c5 015784 beq 2 ,antilost_click_twice 
+0x33c6 015785 rtn 
+:      015786 antilost_click_once:
+0x33c7 015787 call antilost_alert_off 
+0x33c8 015788 jam opcode1_butten_click_once ,mem_antl_key0_press + 5 
+0x33c9 015789 arg mem_antl_key0_press ,regc 
+0x33ca 015790 branch antilost_prepare_data_and_send 
+:      015791 antilost_click_twice:
+0x33cb 015792 jam 0 ,mem_butten_click_cnt 
+0x33cc 015793 jam opcode2_butten_double_click ,mem_antl_key0_press + 5 
+0x33cd 015794 arg mem_antl_key0_press ,regc 
+0x33ce 015795 call antilost_prepare_data_and_send 
+0x33cf 015796 fetch 1 ,mem_antl_lost_mode 
+0x33d0 015797 beq 1 ,antilost_alert_on 
+0x33d1 015798 rtn 
+:      015800 antilost_butten_down_while_disconn:
+0x33d2 015801 fetch 2 ,mem_antl_le_sleep_timeout 
+0x33d3 015802 store 2 ,mem_antl_le_sleep_timer 
+0x33d4 015803 call antilost_alert_off 
+0x33d5 015804 branch antilost_fast_adv_start 
+:      015807 antilost_cmd_parse_for_application:
+0x33d6 015808 bpatch patch16_3 ,mem_patch16 
+0x33d7 015809 call le_app_receive_data 
+0x33d8 015810 ifetch 1 ,rega 
+0x33d9 015811 beq opcode3_antl_start_alram ,antilost_on_of_alram 
+0x33da 015812 beq opcode7_antl_config_alram ,antilost_configuration_for_alram 
+0x33db 015813 rtn 
+:      015815 antilost_on_of_alram:
+0x33dc 015816 fetch 1 ,mem_antl_lost_mode 
+0x33dd 015817 beq anti_le_alarm_off ,antilost_alert_on 
+0x33de 015818 beq anti_le_alarm_on ,antilost_alert_off 
+0x33df 015819 rtn 
+:      015821 antilost_configuration_for_alram:
+0x33e0 015822 ifetch 1 ,regb 
+0x33e1 015823 beq 1 ,antilost_set_start_alarm_after_disconn 
+0x33e2 015824 beq 0 ,antilost_set_no_alarm_after_disconn 
+0x33e3 015825 rtn 
+:      015829 antilost_prepare_data_and_send:
+0x33e4 015830 bpatch patch16_4 ,mem_patch16 
+0x33e5 015831 fetch 1 ,mem_client_characteristic_configuration_descriptor 
+0x33e6 015832 isolate1 notification_enable_bit ,pdata 
+0x33e7 015833 nrtn true 
+0x33e8 015834 add regc ,6 ,contr 
+0x33e9 015835 ifetch 2 ,contr 
+0x33ea 015836 byteswap pdata ,pdata 
+0x33eb 015837 add pdata ,5 ,loopcnt 
+0x33ec 015838 add regc ,3 ,contr 
+0x33ed 015839 call calc_check_sum_start 
+0x33ee 015840 istore 1 ,contr 
+0x33ef 015841 copy regc ,rega 
+0x33f0 015842 branch queue_push 
+:      015848 antilost_alert_on:
+0x33f1 015849 fetch 1 ,mem_antl_power_state 
+0x33f2 015850 rtn blank 
+0x33f3 015851 jam 1 ,mem_antl_lost_mode 
+0x33f4 015852 arg mem_antl_alert_buzzer_stlye ,regc 
+0x33f5 015853 call antilost_buzzer_configuration 
+0x33f6 015854 arg mem_antl_alert_led_stlye ,regc 
+0x33f7 015855 call antilost_led_configuration 
+0x33f8 015856 jam opcode4_current_alarm_state ,mem_antl_key0_release + 5 
+0x33f9 015857 jam 1 ,mem_antl_key0_release + 8 
+0x33fa 015858 arg mem_antl_key0_release ,regc 
+0x33fb 015859 branch antilost_prepare_data_and_send 
+:      015860 antilost_alert_off:
+0x33fc 015861 fetch 1 ,mem_antl_lost_mode 
+0x33fd 015862 rtn blank 
+0x33fe 015863 jam 0 ,mem_antl_lost_mode 
+0x33ff 015864 call antilost_led_buzzer_stop_blink 
+0x3400 015865 jam opcode4_current_alarm_state ,mem_antl_key0_release + 5 
+0x3401 015866 jam 0 ,mem_antl_key0_release + 8 
+0x3402 015867 arg mem_antl_key0_release ,regc 
+0x3403 015868 branch antilost_prepare_data_and_send 
+:      015870 antilost_set_start_alarm_after_disconn:
+0x3404 015871 jam 1 ,mem_alarm_config 
+0x3405 015872 jam opcode7_antl_config_alram ,mem_antl_key0_release + 5 
+0x3406 015873 jam 1 ,mem_antl_key0_release + 8 
+0x3407 015874 arg mem_antl_key0_release ,regc 
+0x3408 015875 branch antilost_prepare_data_and_send 
+:      015876 antilost_set_no_alarm_after_disconn:
+0x3409 015877 jam 0 ,mem_alarm_config 
+0x340a 015878 jam opcode7_antl_config_alram ,mem_antl_key0_release + 5 
+0x340b 015879 jam 0 ,mem_antl_key0_release + 8 
+0x340c 015880 arg mem_antl_key0_release ,regc 
+0x340d 015881 branch antilost_prepare_data_and_send 
+:      015882 antilost_on_off_alarm_after_disconn:
+0x340e 015883 fetch 1 ,mem_alarm_config 
+0x340f 015884 rtn blank 
+0x3410 015885 branch antilost_alert_on 
+:      015887 antilost_notify_alarm_config_first_time:
+0x3411 015888 ifetch 2 ,rega 
+0x3412 015889 store 2 ,mem_client_characteristic_configuration_descriptor 
+0x3413 015890 isolate1 notification_enable_bit ,pdata 
+0x3414 015891 nrtn true 
+0x3415 015892 fetch 1 ,mem_alarm_config_notfy_cnt 
+0x3416 015893 rtn blank 
+0x3417 015894 jam 0 ,mem_alarm_config_notfy_cnt 
+0x3418 015895 fetch 8 ,mem_antl_le_interval_min 
+0x3419 015896 store 8 ,mem_le_interval_min 
+0x341a 015897 jam 3 ,mem_antilost_conn_battery_send_timer 
+0x341b 015898 jam opcode7_antl_config_alram ,mem_antl_key0_release + 5 
+0x341c 015899 jam 30 ,mem_antl_send_updata_le_param_timer 
+0x341d 015900 fetch 1 ,mem_alarm_config 
+0x341e 015901 store 1 ,mem_antl_key0_release + 8 
+0x341f 015902 arg mem_antl_key0_release ,regc 
+0x3420 015903 branch antilost_prepare_data_and_send 
+:      015907 antilost_buzzer_configuration:
+0x3421 015908 arg 1 ,rega 
+0x3422 015909 branch antilost_configuration_common 
+:      015910 antilost_led_configuration:
+0x3423 015911 arg 0 ,rega 
+:      015912 antilost_configuration_common:
+0x3424 015913 branch antilost_led_buzzer_style_configuration 
+:      015915 antilost_led_buzzer_stop_blink:
+0x3425 015916 arg 0 ,rega 
+0x3426 015917 call ui_led_blink_stop_global 
+0x3427 015918 arg 1 ,rega 
+0x3428 015919 call ui_led_blink_stop_global 
+0x3429 015920 fetch 2 ,mem_buzzer_pwm_conf 
+0x342a 015921 branch pwm_disable 
+:      015923 antilost_led_buzzer_style_configuration:
+0x342b 015924 call calc_curr_struct_prt 
+0x342c 015925 arg 7 ,loopcnt 
+0x342d 015926 branch ui_led_set_style_global + 2 
+:      015930 antilost_fast_adv_start:
+0x342e 015931 arg mem_antl_fast_adv_led_style ,regc 
+0x342f 015932 arg mem_antl_lpm_interval ,regb 
+:      015933 antilost_adv_start_common:
+0x3430 015934 call antilost_adv_interval_lpm_interval_set 
+0x3431 015935 call antilost_led_configuration 
+0x3432 015936 fetch 2 ,mem_antl_fast_adv_timeout 
+0x3433 015937 store 2 ,mem_antl_fast_adv_timer 
+0x3434 015938 branch app_ble_start_adv 
+:      015940 antilost_adv_interval_lpm_interval_set:
+0x3435 015941 ifetch 2 ,regb 
+0x3436 015942 store 2 ,mem_lpm_interval 
+0x3437 015943 ifetch 2 ,contr 
+0x3438 015944 store 2 ,mem_le_adv_interval 
+0x3439 015945 rtn 
+:      015947 antilost_buzzer_pwm_init:
+0x343a 015948 arg 0 ,rega 
+0x343b 015949 call pwm_init 
+0x343c 015950 fetch 6 ,mem_buzzer_pwm_conf 
+0x343d 015951 store 6 ,mem_pdatatemp 
+0x343e 015952 call pwm_out_set 
+0x343f 015953 fetch 2 ,mem_buzzer_pwm_conf 
+0x3440 015954 branch pwm_disable 
+:      015956 antilost_led_on_cb:
+0x3441 015957 jam 1 ,mem_antl_led_state 
+0x3442 015958 rtn 
+:      015959 antilost_led_off_cb:
+0x3443 015960 jam 0 ,mem_antl_led_state 
+0x3444 015961 rtn 
+:      015965 antilost_buzzer_off:
+0x3445 015966 jam 0 ,mem_antl_buzzer_state 
+0x3446 015967 fetch 2 ,mem_buzzer_pwm_conf 
+0x3447 015968 branch pwm_disable 
+:      015970 antilost_buzzer_on:
+0x3448 015971 jam 1 ,mem_antl_buzzer_state 
+0x3449 015972 fetch 6 ,mem_buzzer_pwm_conf 
+0x344a 015973 store 6 ,mem_pdatatemp 
+0x344b 015974 branch pwm_out_set 
+:      015978 antilost_adc_init:
+0x344c 015979 jam 0 ,mem_adc_config_flag 
+0x344d 015980 rtn 
+:      015982 antilost_battery_process:
+0x344e 015983 call vdd_calculate_by_mode 
+0x344f 015984 store 2 ,mem_battery_current_voltage 
+0x3450 015985 arg mem_battery_calculate_set ,rega 
+0x3451 015986 call adc_bat_percent_lowpower_out 
+0x3452 015987 store 1 ,mem_voltage_remain_percent 
+0x3453 015988 setarg 0x65 
+0x3454 015989 beq 0 ,antilost_low_battery 
+0x3455 015990 sub pdata ,0x64 ,null 
+0x3456 015991 nbranch antilost_full_battery ,positive 
+0x3457 015992 store 1 ,mem_antl_key0_release + 8 
+:      015993 antilost_battery_calculate_end:
+0x3458 015994 jam opcode5_batter_information ,mem_antl_key0_release + 5 
+0x3459 015995 arg mem_antl_key0_release ,regc 
+0x345a 015996 branch antilost_prepare_data_and_send 
+:      015997 antilost_full_battery:
+0x345b 015998 jam 100 ,mem_antl_key0_release + 8 
+0x345c 015999 branch antilost_battery_calculate_end 
+:      016001 antilost_low_battery:
+0x345d 016002 branch app_button_long_pressed 
+:      016006 car_init:
+0x345e 016007 call enable_authrom 
+0x345f 016008 rtn wake 
+0x3460 016009 setarg car_g24_receive_process 
+0x3461 016010 store 2 ,mem_cb_24g_receive_process 
+0x3462 016012 setarg g24_bind_ackpayload_prep 
+0x3463 016013 store 2 ,mem_cb_24g_ackpayload 
+0x3464 016015 setarg car_g24_cb_data_device1 
+0x3465 016016 store 2 ,mem_cb_24g_data_device1 
+0x3466 016018 setarg car_le_before_hibernate 
+0x3467 016019 store 2 ,mem_cb_before_hibernate 
+0x3468 016021 setarg car_le_process_lpm_before 
+0x3469 016022 store 2 ,mem_cb_before_lpm 
+0x346a 016024 setarg app_enter_hibernate 
+0x346b 016025 store 2 ,mem_cb_discovry_timeout 
+0x346c 016027 setarg car_scale_process_idle 
+0x346d 016028 store 2 ,mem_cb_idle_process 
+0x346e 016030 setarg car_scale_process_bb_event 
+0x346f 016031 store 2 ,mem_cb_bb_event_process 
+0x3470 016033 setarg app_get_lpm_wake_lock 
+0x3471 016034 store 2 ,mem_cb_check_wakelock 
+0x3472 016036 setarg car_le_receive_data 
+0x3473 016037 store 2 ,mem_cb_att_write 
+0x3474 016039 setarg car_le_bb_event_timer 
+0x3475 016040 store 2 ,mem_cb_event_timer 
+0x3476 016042 bpatch patch16_5 ,mem_patch16 
+0x3477 016043 call car_init_environment 
+0x3478 016044 call car_lpm_timer_enable 
+0x3479 016045 call queue_init 
+0x347a 016046 jam 2 ,mem_lpm_mult 
+0x347b 016047 jam power_on ,mem_car_24g_received_pac 
+0x347c 016048 fetch 1 ,mem_car_config_soft_switch_enable 
+0x347d 016049 store 1 ,mem_car_hard_soft_switch 
+0x347e 016050 beq hard_switch ,car_hard_switch_power_on_signal 
+0x347f 016051 fetch 1 ,mem_car_config_soft_switch_gpio 
+0x3480 016052 store 1 ,mem_ui_button_gpio 
+0x3481 016053 jam off ,mem_le_adv_enable 
+:      016054 car_soft_switch_power_on_init:
+0x3482 016055 call ui_button_init 
+0x3483 016056 call ui_button_polling 
+0x3484 016057 jam power_starting ,mem_car_power_state 
+0x3485 016058 fetch 2 ,mem_ui_state_map 
+0x3486 016059 rtnbit1 ui_state_btn_down 
+0x3487 016060 branch app_enter_hibernate 
+:      016062 car_power_off_signal:
+0x3488 016063 branch car_ui_led_init 
+:      016065 car_hard_switch_power_on_signal:
+0x3489 016066 jam power_standby ,mem_car_power_state 
+:      016067 car_soft_switch_power_on_signal:
+0x348a 016068 jam on ,mem_le_adv_enable 
+0x348b 016069 setarg fast_adv_interval_value_car 
+0x348c 016070 call shutter_ble_adv_interval_set 
+:      016071 car_le_modified_name_adv:
+0x348d 016072 arg mem_le_name + 7 ,contw 
+0x348e 016073 fetch 1 ,mem_le_lap 
+:      016074 car_name_loop:
+0x348f 016075 and pdata ,0xF0 ,temp 
+0x3490 016076 rshift4 temp ,temp 
+0x3491 016077 call car_hex_to_ascii 
+0x3492 016078 istoret 1 ,contw 
+0x3493 016079 and pdata ,0x0F ,temp 
+0x3494 016080 call car_hex_to_ascii 
+0x3495 016081 istoret 1 ,contw 
+0x3496 016082 call le_modified_name_att_list 
+0x3497 016083 fetcht 1 ,mem_le_name_len 
+0x3498 016084 copy temp ,loopcnt 
+0x3499 016085 arg mem_le_adv_data + 2 ,contw 
+0x349a 016086 arg mem_le_name ,contr 
+0x349b 016087 call memcpy 
+:      016088 car_le_modified_name_scan:
+0x349c 016089 fetcht 1 ,mem_le_name_len 
+0x349d 016090 copy temp ,loopcnt 
+0x349e 016091 arg mem_le_scan_data + 2 ,contw 
+0x349f 016092 arg mem_le_name ,contr 
+0x34a0 016093 branch memcpy 
+:      016094 car_hex_to_ascii:
+0x34a1 016095 sub temp ,9 ,null 
+0x34a2 016096 branch car_hex_num ,positive 
+0x34a3 016097 add temp ,55 ,temp 
+0x34a4 016098 rtn 
+:      016099 car_hex_num:
+0x34a5 016100 add temp ,48 ,temp 
+0x34a6 016101 rtn 
+:      016103 car_ui_led_init:
+0x34a7 016104 fetch 1 ,mem_car_config_blood_led1_gpio 
+0x34a8 016105 bne invalid_pin_num ,car_blood_led_gpio_set 
+:      016106 car_ui_led_init_1:
+0x34a9 016107 fetch 1 ,mem_car_config_pairing_led_gpio 
+0x34aa 016108 bne invalid_pin_num ,car_pairing_led_gpio_set 
+:      016109 car_ui_led_init_2:
+0x34ab 016110 fetch 1 ,mem_car_config_low_voltage_led_gpio 
+0x34ac 016111 bne invalid_pin_num ,car_low_voltage_led_gpio_set 
+:      016112 car_ui_led_init_3:
+0x34ad 016113 fetch 1 ,mem_car_led_num 
+0x34ae 016114 copy pdata ,loopcnt 
+0x34af 016115 setarg mem_car_led_map 
+0x34b0 016116 copy pdata ,rega 
+:      016117 car_in_lp1:
+0x34b1 016118 copy rega ,contr 
+0x34b2 016119 ifetch 1 ,contr 
+0x34b3 016120 copy contr ,rega 
+0x34b4 016121 beq invalid_pin_num ,car_in_lp1_end 
+0x34b5 016122 copy pdata ,temp 
+0x34b6 016123 call gpio_config_output 
+:      016124 car_in_lp1_end:
+0x34b7 016125 loop car_in_lp1 
+:      016126 car_ui_led_init_end:
+0x34b8 016127 rtn 
+:      016128 car_blood_led_gpio_set:
+0x34b9 016129 fetch 8 ,mem_car_config_blood_led1_gpio 
+0x34ba 016130 store 8 ,mem_car_led_map + 2 
+0x34bb 016131 branch car_ui_led_init_1 
+:      016132 car_pairing_led_gpio_set:
+0x34bc 016133 store 1 ,mem_car_led_map 
+0x34bd 016134 branch car_ui_led_init_2 
+:      016135 car_low_voltage_led_gpio_set:
+0x34be 016136 store 1 ,mem_car_led_map + 1 
+0x34bf 016137 branch car_ui_led_init_3 
+:      016139 car_init_environment:
+0x34c0 016141 call car_g24_init 
+0x34c1 016142 arg 0 ,rega 
+0x34c2 016143 call pwm_init 
+0x34c3 016144 call car_ui_led_init 
+0x34c4 016145 call car_start_blink 
+0x34c5 016146 call car_init_adc_hvin 
+0x34c6 016147 branch car_motor_init 
+:      016149 car_motor_init:
+0x34c7 016150 fetch 1 ,mem_car_motor_gpio_num 
+0x34c8 016151 copy pdata ,loopcnt 
+0x34c9 016152 setarg mem_car_motor_gpio_map 
+0x34ca 016153 copy pdata ,rega 
+:      016154 p_in_lp1:
+0x34cb 016155 copy rega ,contr 
+0x34cc 016156 ifetch 1 ,contr 
+0x34cd 016157 copy contr ,rega 
+0x34ce 016158 beq invalid_pin_num ,p_in_lp1_end 
+0x34cf 016159 copy pdata ,temp 
+0x34d0 016160 store 1 ,mem_car_gpio 
+0x34d1 016161 call car_ui_gpio_init 
+:      016162 p_in_lp1_end:
+0x34d2 016163 loop p_in_lp1 
+:      016164 p_car_ui_led_init_end:
+0x34d3 016165 rtn 
+:      016167 car_ui_gpio_init:
+0x34d4 016168 fetch 1 ,mem_car_gpio 
+0x34d5 016169 rtneq ui_button_gpio_disable 
+0x34d6 016170 iforce temp 
+0x34d7 016171 branch gpio_config_output 
+:      016174 car_init_adc_hvin:
+0x34d8 016175 jam 100 ,mem_car_notify_vdd_value_last 
+0x34d9 016176 rtn 
+:      016178 car_le_before_hibernate:
+:      016179 car_le_process_lpm_before:
+0x34da 016180 branch keyscan_process_lpm_before 
+:      016182 car_key_scan_process:
+0x34db 016183 branch keyscan_key_process 
+:      016185 car_scale_process_idle:
+0x34dc 016186 call car_le_send_packet 
+0x34dd 016187 call car_g24_status_process 
+0x34de 016188 branch car_key_scan_process 
+:      016190 car_g24_status_process:
+0x34df 016191 fetch 2 ,mem_ui_state_map 
+0x34e0 016192 rtnbit1 ui_state_ble_connected 
+0x34e1 016193 fetch 1 ,mem_car_24g_received_pac 
+0x34e2 016194 beq work_paired ,car_g24_connected_event 
+0x34e3 016195 rtn 
+:      016196 car_g24_connected_event:
+0x34e4 016197 fetch 1 ,mem_car_24g_status 
+0x34e5 016198 rtneq work_paired 
+0x34e6 016199 jam work_paired ,mem_car_24g_status 
+0x34e7 016200 call car_lpm_timer_disable 
+0x34e8 016201 call car_stop_blink 
+0x34e9 016202 branch car_g24_connected 
+:      016204 car_lpm_timer_enable:
+0x34ea 016205 fetch 2 ,mem_car_enter_lpm_timer_count 
+0x34eb 016206 store 2 ,mem_car_enter_lpm_timer 
+0x34ec 016207 jam 0 ,mem_car_enter_lpm_flag 
+0x34ed 016208 rtn 
+:      016211 car_lpm_timer_disable:
+0x34ee 016212 setarg 0 
+0x34ef 016213 branch car_lpm_timer_enable + 1 
+:      016216 car_stop_blink:
+0x34f0 016217 arg 0 ,rega 
+0x34f1 016218 branch ui_led_blink_stop_global 
+:      016221 car_start_blink:
+0x34f2 016222 arg 0 ,rega 
+0x34f3 016223 branch ui_led_blink_start_global 
+:      016229 car_le_send_packet:
+0x34f4 016230 fetch 2 ,mem_ui_state_map 
+0x34f5 016231 rtnbit0 ui_state_ble_connected 
+0x34f6 016232 call le_fifo_check_nearly_full 
+0x34f7 016233 nrtn blank 
+0x34f8 016234 arg mem_car_pop_queue_buff ,rega 
+0x34f9 016235 call queue_pop 
+0x34fa 016236 nrtn user 
+0x34fb 016237 arg mem_car_pop_queue_buff ,contr 
+0x34fc 016238 branch le_send_notify_from_list 
+:      016240 car_scale_process_bb_event:
+0x34fd 016241 copy regc ,pdata 
+0x34fe 016242 beq bt_evt_button_up ,app_event_button_up 
+0x34ff 016243 beq bt_evt_button_long_pressed ,app_button_long_pressed 
+0x3500 016244 beq bt_evt_le_connected ,car_scale_event_le_conn 
+0x3501 016245 beq bt_evt_le_disconnected ,car_scale_event_le_discon 
+0x3502 016246 rtn 
+:      016248 car_scale_event_le_conn:
+0x3503 016249 call car_lpm_timer_disable 
+0x3504 016250 call car_stop_blink 
+0x3505 016251 set0 mark_24g_rxmode ,mark 
+0x3506 016252 branch car_scale_process_conn 
+:      016253 car_g24_connected:
+0x3507 016254 fetch 2 ,mem_car_24g_no_data_timeout_count 
+0x3508 016255 store 2 ,mem_car_24g_no_data_timeout_timer 
+:      016256 car_scale_process_conn:
+0x3509 016257 jam 0x14 ,mem_car_notify_vdd_timer 
+0x350a 016258 jam 0 ,mem_lpm_mode 
+0x350b 016259 call app_ble_stop_adv 
+0x350c 016260 branch app_lpm_mult_enable 
+:      016263 car_scale_event_le_discon:
+0x350d 016264 set1 mark_24g_rxmode ,mark 
+0x350e 016265 call car_lpm_timer_enable 
+0x350f 016266 call car_fb_motor_stop 
+0x3510 016267 call car_lr_motor_stop 
+:      016268 car_g24_disconnect:
+0x3511 016269 setarg 0 
+0x3512 016270 store 5 ,mem_car_led_control 
+0x3513 016271 setarg 4 
+0x3514 016272 call pwm_disable 
+0x3515 016273 setarg 5 
+0x3516 016274 call pwm_disable 
+0x3517 016275 setarg 20 
+0x3518 016276 call pwm_disable 
+0x3519 016277 setarg 21 
+0x351a 016278 call pwm_disable 
+0x351b 016279 setarg 22 
+0x351c 016280 call pwm_disable 
+0x351d 016281 setarg 7 
+0x351e 016282 call pwm_disable 
+0x351f 016283 call queue_init 
+0x3520 016284 jam 10 ,mem_motor1_speed 
+0x3521 016285 jam 10 ,mem_motor2_speed 
+0x3522 016286 jam 10 ,mem_motor3_speed 
+0x3523 016288 jam 2 ,mem_lpm_mult 
+0x3524 016289 setarg fast_adv_interval_value_car 
+0x3525 016290 call shutter_ble_adv_interval_set 
+0x3526 016291 branch app_ble_start_adv 
+:      016293 car_le_bb_event_timer:
+0x3527 016294 call car_moto1_blank_data_timer 
+0x3528 016295 call car_moto2_blank_data_timer 
+0x3529 016296 call car_moto3_blank_data_timer 
+0x352a 016297 call app_power_timer 
+0x352b 016298 call car_notify_vdd_timer 
+0x352c 016299 call car_24g_no_data_timeout_timer 
+0x352d 016300 call car_24g_bind_enable_timer 
+0x352e 016301 branch car_enter_lpm_timer 
+:      016303 car_24g_bind_enable_timer:
+0x352f 016304 arg mem_car_24g_bind_enable_delay_count ,regc 
+0x3530 016305 arg 0 ,regb 
+0x3531 016306 branch timer_single_step 
+:      016308 car_enter_lpm_timer:
+0x3532 016309 arg mem_car_enter_lpm_timer ,regc 
+0x3533 016310 arg car_enter_lpm_enable ,regb 
+0x3534 016311 branch timer_single_step_2b 
+:      016312 car_enter_lpm_enable:
+0x3535 016313 jam 1 ,mem_car_enter_lpm_flag 
+0x3536 016314 rtn 
+:      016316 car_24g_no_data_timeout_timer:
+0x3537 016317 arg mem_car_24g_no_data_timeout_timer ,regc 
+0x3538 016318 arg car_24g_no_data_timer_timeout ,regb 
+0x3539 016319 branch timer_single_step_2b 
+:      016320 car_24g_no_data_timer_timeout:
+0x353a 016321 jam work_search ,mem_car_24g_status 
+0x353b 016322 jam power_on ,mem_car_24g_received_pac 
+0x353c 016323 branch car_g24_disconnect 
+:      016325 car_notify_vdd_timer:
+0x353d 016326 fetch 1 ,mem_car_config_bat_notify_enable 
+0x353e 016327 rtn blank 
+0x353f 016328 arg mem_car_notify_vdd_timer ,regc 
+0x3540 016329 arg car_notify_vdd ,regb 
+0x3541 016330 branch timer_single_step 
+:      016331 car_notify_vdd:
+0x3542 016332 fetch 1 ,mem_car_notify_vdd_count 
+0x3543 016333 store 1 ,mem_car_notify_vdd_timer 
+0x3544 016334 fetch 1 ,mem_car_working_flag 
+0x3545 016335 nrtn blank 
+:      016336 car_read_hvin:
+0x3546 016337 call vdd_calculate_by_mode 
+0x3547 016338 store 2 ,mem_vdd_now_vol 
+0x3548 016339 arg mem_vdd_calculate_set ,rega 
+0x3549 016340 call adc_bat_percent_lowpower_out 
+0x354a 016341 fetcht 1 ,mem_car_notify_vdd_value_last 
+0x354b 016342 isub temp ,null 
+0x354c 016343 branch car_notify_vdd_next2 ,positive 
+0x354d 016344 store 1 ,mem_car_notify_vdd_value_last 
+0x354e 016345 copy pdata ,temp 
+:      016346 car_notify_vdd_next2:
+0x354f 016347 storet 1 ,mem_car_notify_vdd_percent 
+0x3550 016348 fetch 1 ,mem_car_config_low_voltage_percent 
+0x3551 016349 isub temp ,null 
+0x3552 016350 call car_enter_low_bat ,positive 
+0x3553 016351 storet 1 ,mem_notify_bat_payload 
+0x3554 016352 arg 6 ,loopcnt 
+0x3555 016353 arg mem_notify_bat_head ,contr 
+0x3556 016354 call calc_check_sum_start 
+0x3557 016355 store 1 ,mem_notify_bat_check_sum 
+0x3558 016356 arg mem_notify_bat_packet ,rega 
+0x3559 016357 branch queue_push 
+:      016358 car_enter_low_bat:
+0x355a 016359 fetch 1 ,mem_low_bat_flag 
+0x355b 016360 nrtn blank 
+0x355c 016361 jam 1 ,mem_low_bat_flag 
+0x355d 016362 arg 1 ,rega 
+0x355e 016363 branch ui_led_blink_start_global 
+:      016364 car_low_bat_led_off:
+0x355f 016365 arg 1 ,rega 
+0x3560 016366 branch ui_led_blink_stop_global 
+:      016370 calc_check_sum_start:
+0x3561 016371 arg 0 ,rega 
+:      016372 calc_check_sum_loop:
+0x3562 016373 ifetch 1 ,contr 
+0x3563 016374 iadd rega ,rega 
+0x3564 016375 loop calc_check_sum_loop 
+:      016376 calc_check_sum_and:
+0x3565 016377 and rega ,0xff ,pdata 
+0x3566 016378 rtn 
+:      016380 car_le_receive_data:
+0x3567 016381 fetch 1 ,mem_le_att_opcode 
+0x3568 016382 beq attop_write_request ,car_le_parse_att_write_request 
+0x3569 016383 rtn 
+:      016384 car_le_parse_att_write_request:
+0x356a 016385 fetch 2 ,mem_le_att_handle 
+0x356b 016386 beq att_car_control_handle ,car_control_le_receive 
+0x356c 016387 rtn 
+:      016389 le_app_receive_data:
+0x356d 016390 bpatch patch16_6 ,mem_patch16 
+0x356e 016391 ifetch 5 ,rega 
+0x356f 016392 store 5 ,mem_app_receive_temp 
+0x3570 016393 fetch 2 ,mem_app_receive_temp 
+0x3571 016394 arg le_receive_packet_head ,temp 
+0x3572 016395 isub temp ,null 
+0x3573 016396 nrtn zero 
+0x3574 016397 fetch 2 ,mem_app_receive_temp + 3 
+0x3575 016398 byteswap pdata ,pdata 
+0x3576 016399 store 2 ,mem_app_receive_temp + 3 
+0x3577 016400 copy pdata ,loopcnt 
+0x3578 016401 increase 5 ,rega 
+0x3579 016402 copy rega ,contr 
+0x357a 016403 arg mem_app_receive_temp + 5 ,contw 
+0x357b 016404 call memcpy 
+0x357c 016405 ifetch 1 ,contr 
+0x357d 016406 store 1 ,mem_app_receive_temp + 15 
+0x357e 016407 arg mem_app_receive_temp + 2 ,rega 
+0x357f 016408 arg mem_app_receive_temp + 5 ,regb 
+0x3580 016409 rtn 
+:      016411 car_control_le_receive:
+0x3581 016412 setarg 0 
+0x3582 016413 store 5 ,mem_le_receive_payload 
+0x3583 016414 store 5 ,mem_le_receive_payload + 5 
+0x3584 016415 call le_app_receive_data 
+0x3585 016416 copy regb ,contr 
+0x3586 016417 arg mem_le_receive_payload ,contw 
+0x3587 016418 arg 10 ,loopcnt 
+0x3588 016419 call memcpy 
+:      016420 car_receive_cmd_select:
+0x3589 016421 bpatch patch16_7 ,mem_patch16 
+0x358a 016422 ifetch 1 ,rega 
+0x358b 016423 beq car_cmd_old_car_control ,car_drive_old 
+0x358c 016424 beq car_cmd_old_speed_control ,car_speed_set_old 
+0x358d 016425 beq car_cmd_l_r_motor_control ,car_motor_control 
+0x358e 016426 beq car_cmd_f_b_motor_control ,car_motor_control 
+0x358f 016427 beq car_cmd_ir_control ,car_ir_data_rx_from_app 
+0x3590 016428 beq car_cmd_led_control ,car_led_control_receive 
+0x3591 016429 beq car_cmd_device_info ,car_info_request 
+0x3592 016430 rtn 
+:      016432 car_24g_receive_data:
+0x3593 016433 call car_control_le_receive 
+0x3594 016434 fetch 1 ,mem_app_receive_temp + 2 
+0x3595 016435 beq car_cmd_l_r_motor_control ,car_24g_receive_data_next 
+0x3596 016436 beq car_cmd_f_b_motor_control ,car_24g_receive_data_next 
+0x3597 016437 rtn 
+:      016438 car_24g_receive_data_next:
+0x3598 016439 fetch 1 ,mem_le_receive_payload 
+0x3599 016440 ncall car_moto1_enable_blank_data_timer ,blank 
+0x359a 016441 fetch 1 ,mem_le_receive_payload + 2 
+0x359b 016442 ncall car_moto2_enable_blank_data_timer ,blank 
+0x359c 016443 fetch 1 ,mem_le_receive_payload + 4 
+0x359d 016444 ncall car_moto3_enable_blank_data_timer ,blank 
+0x359e 016445 rtn 
+:      016447 car_moto1_enable_blank_data_timer:
+0x359f 016448 jam 5 ,mem_car_moto1_blank_timer 
+0x35a0 016449 rtn 
+:      016450 car_moto2_enable_blank_data_timer:
+0x35a1 016451 jam 5 ,mem_car_moto2_blank_timer 
+0x35a2 016452 rtn 
+:      016453 car_moto3_enable_blank_data_timer:
+0x35a3 016454 jam 5 ,mem_car_moto3_blank_timer 
+0x35a4 016455 rtn 
+:      016457 car_moto1_blank_data_timer:
+0x35a5 016458 arg mem_car_moto1_blank_timer ,regc 
+0x35a6 016459 arg car_moto1_blank_data ,regb 
+0x35a7 016460 branch timer_single_step 
+:      016461 car_moto2_blank_data_timer:
+0x35a8 016462 arg mem_car_moto2_blank_timer ,regc 
+0x35a9 016463 arg car_moto2_blank_data ,regb 
+0x35aa 016464 branch timer_single_step 
+:      016465 car_moto3_blank_data_timer:
+0x35ab 016466 arg mem_car_moto3_blank_timer ,regc 
+0x35ac 016467 arg car_moto3_blank_data ,regb 
+0x35ad 016468 branch timer_single_step 
+:      016470 car_moto1_blank_data:
+0x35ae 016471 jam 0 ,mem_le_receive_payload 
+0x35af 016472 branch car_motor_control 
+:      016473 car_moto2_blank_data:
+0x35b0 016474 jam 0 ,mem_le_receive_payload + 2 
+0x35b1 016475 branch car_motor_control 
+:      016476 car_moto3_blank_data:
+0x35b2 016477 jam 0 ,mem_le_receive_payload + 4 
+0x35b3 016478 branch car_motor_control 
+:      016483 car_drive_old:
+0x35b4 016484 fetch 1 ,mem_le_receive_payload 
+0x35b5 016485 store 1 ,mem_motor1_status 
+0x35b6 016486 fetch 1 ,mem_le_receive_payload + 1 
+0x35b7 016487 store 1 ,mem_motor2_status 
+0x35b8 016488 branch car_motor_control_common 
+:      016492 car_left_right_control_old:
+0x35b9 016493 fetch 1 ,mem_le_receive_payload 
+0x35ba 016494 store 1 ,mem_motor2_status 
+0x35bb 016495 branch car_motor2_control 
+:      016496 car_front_back_control_old:
+0x35bc 016497 fetch 1 ,mem_motor1_speed 
+0x35bd 016498 call car_reset_old_speed 
+0x35be 016499 fetch 1 ,mem_le_receive_payload + 1 
+0x35bf 016500 store 1 ,mem_motor1_status 
+0x35c0 016501 branch car_motor1_control 
+:      016502 car_reset_old_speed:
+0x35c1 016503 beq speed_level_2 ,car_reset_old_speed2 
+0x35c2 016504 beq speed_level_3 ,car_reset_old_speed3 
+0x35c3 016505 store 1 ,mem_motor1_speed 
+0x35c4 016506 rtn 
+:      016507 car_reset_old_speed2:
+0x35c5 016508 jam speed_level_5 ,mem_motor1_speed 
+0x35c6 016509 rtn 
+:      016510 car_reset_old_speed3:
+0x35c7 016511 jam speed_level_10 ,mem_motor1_speed 
+0x35c8 016512 rtn 
+:      016513 car_speed_set_old:
+0x35c9 016514 fetch 1 ,mem_le_receive_payload 
+0x35ca 016515 call car_reset_old_speed 
+0x35cb 016516 fetch 1 ,mem_motor1_speed 
+0x35cc 016517 call car_motor_speed_duty_setting 
+0x35cd 016518 call car_motor_speed_duty_transform 
+0x35ce 016519 jam 0x00 ,mem_pdatatemp + 1 
+0x35cf 016520 branch pwm_duty_cycle_set 
+:      016522 car_motor_control:
+0x35d0 016523 fetch 1 ,mem_car_24g_go_die_flag 
+0x35d1 016524 nrtn blank 
+0x35d2 016525 fetch 6 ,mem_le_receive_payload 
+0x35d3 016526 store 6 ,mem_motor1_status 
+0x35d4 016527 fetch 1 ,mem_motor1_speed 
+0x35d5 016528 fetcht 1 ,mem_motor2_speed 
+0x35d6 016529 iand temp ,pdata 
+0x35d7 016530 fetcht 1 ,mem_motor3_speed 
+0x35d8 016531 iand temp ,pdata 
+0x35d9 016532 call car_motor_working_flag ,blank 
+:      016533 car_motor_control_common:
+0x35da 016534 bpatch patch17_0 ,mem_patch17 
+0x35db 016535 fetch 2 ,mem_ui_state_map 
+0x35dc 016536 isolate1 ui_state_ble_connected ,pdata 
+0x35dd 016537 ncall car_lpm_timer_enable ,true 
+0x35de 016538 call car_motor1_control 
+0x35df 016539 call car_motor2_control 
+0x35e0 016540 branch car_conn_led_state 
+:      016542 car_conn_led_state:
+0x35e1 016543 fetch 1 ,mem_motor1_status 
+0x35e2 016544 fetcht 1 ,mem_motor2_status 
+0x35e3 016545 iadd temp ,pdata 
+0x35e4 016546 nbranch check_51cmd_led_on ,blank 
+0x35e5 016547 branch check_51cmd_led_off 
+:      016549 car_motor1_control:
+0x35e6 016550 arg mem_motor1_status ,contr 
+0x35e7 016551 branch car_motor1_status_select 
+:      016552 car_motor2_control:
+0x35e8 016553 arg mem_motor2_status ,contr 
+0x35e9 016554 branch car_motor2_status_select 
+:      016555 car_motor3_control:
+0x35ea 016556 arg mem_motor3_status ,contr 
+0x35eb 016557 branch car_motor_status_select 
+:      016558 car_motor_working_flag:
+0x35ec 016559 jam 0 ,mem_car_working_flag 
+0x35ed 016560 rtn 
+:      016562 car_motor1_status_select:
+0x35ee 016563 ifetch 1 ,contr 
+0x35ef 016564 beq turn_front ,car_lr_motor_stop 
+0x35f0 016565 beq turn_left ,car_lr_motor_left 
+0x35f1 016566 beq turn_right ,car_lr_motor_right 
+0x35f2 016567 rtn 
+:      016568 car_motor2_status_select:
+0x35f3 016569 ifetch 1 ,contr 
+0x35f4 016570 beq motor_stop ,car_fb_motor_stop 
+0x35f5 016571 beq go_back ,car_fb_motor_front 
+0x35f6 016572 beq go_front ,car_fb_motor_back 
+0x35f7 016573 rtn 
+:      016575 car_lr_motor_stop:
+0x35f8 016576 fetcht 1 ,mem_car_motor_left_gpio 
+0x35f9 016577 call gpio_out_inactive 
+0x35fa 016578 fetcht 1 ,mem_car_motor_right_gpio 
+0x35fb 016579 branch gpio_out_inactive 
+:      016580 car_lr_motor_left:
+0x35fc 016581 fetcht 1 ,mem_car_motor_left_gpio 
+0x35fd 016582 call gpio_out_active 
+0x35fe 016583 fetcht 1 ,mem_car_motor_right_gpio 
+0x35ff 016584 branch gpio_out_inactive 
+:      016585 car_lr_motor_right:
+0x3600 016586 fetcht 1 ,mem_car_motor_left_gpio 
+0x3601 016587 call gpio_out_inactive 
+0x3602 016588 fetcht 1 ,mem_car_motor_right_gpio 
+0x3603 016589 branch gpio_out_active 
+:      016590 car_fb_motor_stop:
+0x3604 016591 fetcht 1 ,mem_car_motor_front_gpio 
+0x3605 016592 call gpio_out_inactive 
+0x3606 016593 fetcht 1 ,mem_car_motor_back_gpio 
+0x3607 016594 branch gpio_out_inactive 
+:      016595 car_fb_motor_front:
+0x3608 016596 fetcht 1 ,mem_car_motor_front_gpio 
+0x3609 016597 call gpio_out_active 
+0x360a 016598 fetcht 1 ,mem_car_motor_back_gpio 
+0x360b 016599 branch gpio_out_inactive 
+:      016600 car_fb_motor_back:
+0x360c 016601 fetcht 1 ,mem_car_motor_front_gpio 
+0x360d 016602 call gpio_out_inactive 
+0x360e 016603 fetcht 1 ,mem_car_motor_back_gpio 
+0x360f 016604 branch gpio_out_active 
+:      016609 car_motor_status_select:
+0x3610 016610 bpatch patch17_1 ,mem_patch17 
+0x3611 016611 ifetch 1 ,contr 
+0x3612 016612 beq motor_stop ,car_motor_stop 
+0x3613 016613 beq go_front ,car_motor_positive 
+0x3614 016614 beq go_back ,car_motor_negative 
+0x3615 016615 rtn 
+:      016616 car_motor_positive:
+0x3616 016617 jam 0 ,mem_motor_select_p_n 
+0x3617 016618 branch car_motor_negative + 1 
+:      016619 car_motor_negative:
+0x3618 016620 jam 1 ,mem_motor_select_p_n 
+0x3619 016621 ifetch 1 ,contr 
+0x361a 016622 store 1 ,mem_car_motor_speed 
+0x361b 016623 ifetch 8 ,regb 
+0x361c 016624 branch car_motor_work 
+:      016626 car_motor_stop:
+0x361d 016627 ifetch 1 ,regb 
+0x361e 016628 call pwm_disable 
+0x361f 016629 increase 1 ,regb 
+0x3620 016630 ifetch 1 ,regb 
+0x3621 016631 branch pwm_disable 
+:      016632 car_motor_work:
+0x3622 016633 store 8 ,mem_motor_pwm_pin1_set 
+0x3623 016634 jam 1 ,mem_car_working_flag 
+0x3624 016635 fetch 1 ,mem_motor_select_p_n 
+0x3625 016636 beq 0 ,car_motor_select_positive 
+:      016637 car_motor_select_negative:
+0x3626 016638 fetch 1 ,mem_motor_pwm_pin2_set 
+0x3627 016639 store 1 ,mem_motor_pwm_pin_set 
+0x3628 016640 fetch 1 ,mem_motor_pwm_pin1_set 
+:      016641 car_motor_work_next:
+0x3629 016642 call pwm_disable 
+0x362a 016643 fetch 1 ,mem_car_motor_speed 
+0x362b 016644 call car_motor_speed_duty_setting 
+0x362c 016645 store 1 ,mem_motor_pwm_dute_set 
+0x362d 016646 fetch 6 ,mem_motor_pwm_pin_set 
+0x362e 016647 store 6 ,mem_pdatatemp 
+0x362f 016648 branch pwm_out_set 
+:      016649 car_motor_select_positive:
+0x3630 016650 fetch 1 ,mem_motor_pwm_pin1_set 
+0x3631 016651 store 1 ,mem_motor_pwm_pin_set 
+0x3632 016652 fetch 1 ,mem_motor_pwm_pin2_set 
+0x3633 016653 branch car_motor_work_next 
+:      016655 car_motor_speed_duty_setting:
+0x3634 016656 mul32 pdata ,5 ,pdata 
+0x3635 016657 add pdata ,50 ,pdata 
+0x3636 016658 rtn 
+:      016659 car_motor_speed_duty_transform:
+0x3637 016660 arg 12000 ,temp 
+0x3638 016661 imul32 temp ,pdata 
+0x3639 016662 div pdata ,100 
+0x363a 016663 call wait_div_end 
+0x363b 016664 quotient temp 
+0x363c 016665 copy temp ,rega 
+0x363d 016666 setarg 12000 
+0x363e 016667 isub temp ,regb 
+0x363f 016668 rtn 
+:      016670 car_ir_data_rx_from_app:
+0x3640 016671 rtn 
+:      016673 car_led_control_receive:
+0x3641 016674 fetch 8 ,mem_le_receive_payload 
+0x3642 016675 store 8 ,mem_car_led_control 
+0x3643 016676 rtn 
+:      016678 car_info_request:
+0x3644 016679 fetch 1 ,mem_car_config_device_select 
+0x3645 016680 store 1 ,mem_car_info_request_payload 
+0x3646 016681 fetch 1 ,mem_car_config_motor_layout 
+0x3647 016682 store 1 ,mem_car_info_request_payload + 1 
+0x3648 016683 fetch 1 ,mem_car_config_ir_enable 
+0x3649 016684 store 1 ,mem_car_info_request_payload + 2 
+0x364a 016685 arg 13 ,loopcnt 
+0x364b 016686 arg mem_car_info_request_head ,contr 
+0x364c 016687 call calc_check_sum_start 
+0x364d 016688 store 1 ,mem_car_info_request_checksum 
+0x364e 016689 arg mem_car_info_request ,rega 
+0x364f 016690 branch queue_push 
+:      016694 car_g24_init:
+0x3650 016695 setarg 0 
+0x3651 016696 store 8 ,mem_24g_bind_payload 
+0x3652 016697 call g24_receive_init 
+0x3653 016698 branch g24_mode_switch_init 
+:      016700 car_g24_receive_process:
+0x3654 016701 call car_g24_mode_switch 
+0x3655 016702 call car_g24_work_mode 
+0x3656 016703 call car_g24_bind_mode 
+0x3657 016704 branch car_g24_lpm_dipatch 
+:      016706 car_g24_mode_switch:
+0x3658 016707 call g24_mode_switch_bind_work 
+:      016708 car_g24_bind_mode_enable:
+0x3659 016709 fetch 1 ,mem_24g_work_mode 
+0x365a 016710 rtnne dongle_bind 
+0x365b 016711 fetch 1 ,mem_car_24g_bind_enable_delay_count 
+0x365c 016712 nbranch g24_switch_work_mode ,blank 
+0x365d 016713 fetch 1 ,mem_car_24g_status 
+0x365e 016714 beq work_search ,g24_switch_work_mode 
+0x365f 016715 rtn 
+:      016717 car_g24_work_mode:
+0x3660 016718 fetch 1 ,mem_24g_work_mode 
+0x3661 016719 rtnne dongle_work 
+0x3662 016720 call g24_work_mode_start 
+0x3663 016721 branch car_g24_ch_polling_clear ,user3 
+:      016722 car_g24_receive_ch_polling:
+0x3664 016723 fetch 1 ,mem_car_enter_lpm_flag 
+0x3665 016724 rtn blank 
+0x3666 016725 fetch 1 ,mem_car_24g_ch_polling 
+0x3667 016726 increase 1 ,pdata 
+0x3668 016727 store 1 ,mem_car_24g_ch_polling 
+0x3669 016728 beq 4 ,car_g24_ch_polling_clear 
+0x366a 016729 call g24_ch 
+0x366b 016730 call g24_receive_packet_start 
+0x366c 016731 nbranch car_g24_receive_ch_polling ,user3 
+:      016732 car_g24_ch_polling_clear:
+0x366d 016733 jam 0 ,mem_car_24g_ch_polling 
+0x366e 016734 rtn 
+:      016736 car_g24_bind_mode:
+0x366f 016737 fetch 1 ,mem_24g_work_mode 
+0x3670 016738 rtnne dongle_bind 
+0x3671 016739 call g24_bind_init 
+0x3672 016740 call car_g24_bind_device_addr 
+0x3673 016741 call g24_bind_data_process 
+0x3674 016742 fetch 1 ,mem_24g_bind_device_status 
+0x3675 016743 nbranch car_g24_bind_mode_exit ,blank 
+0x3676 016744 call g24_nodata_process 
+0x3677 016745 fetch 1 ,mem_24g_nodata_timer_enable 
+0x3678 016746 rtn blank 
+0x3679 016747 setarg 0 
+0x367a 016748 store 4 ,mem_24g_device1_addr 
+0x367b 016749 rtn 
+:      016751 car_g24_bind_mode_exit:
+0x367c 016752 jam 0 ,mem_24g_mode_switch 
+0x367d 016753 arg 0 ,rega 
+0x367e 016754 call ui_led_off_global 
+0x367f 016755 call g24_switch_work_mode 
+0x3680 016756 call g24_timer_init 
+0x3681 016757 fetch 4 ,mem_lap 
+0x3682 016758 branch g24_update_addr_and_synccrc8 
+:      016760 car_g24_bind_device_addr:
+0x3683 016761 fetch 4 ,mem_24g_device1_addr 
+0x3684 016762 rtn blank 
+0x3685 016763 branch g24_update_addr_and_synccrc8 
+:      016765 car_g24_cb_data_device1:
+0x3686 016766 fetch 2 ,mem_ui_state_map 
+0x3687 016767 rtnbit1 ui_state_ble_connected 
+0x3688 016768 fetch 2 ,mem_car_24g_no_data_timeout_count 
+0x3689 016769 store 2 ,mem_car_24g_no_data_timeout_timer 
+0x368a 016770 jam work_paired ,mem_car_24g_received_pac 
+0x368b 016771 arg mem_24g_rxdata_temp + 3 ,rega 
+0x368c 016772 branch car_24g_receive_data 
+:      016774 car_g24_lpm_dipatch:
+0x368d 016775 fetch 1 ,mem_car_enter_lpm_flag 
+0x368e 016776 rtn blank 
+0x368f 016777 call car_g24_lpm_wait 
+0x3690 016778 nrtn user 
+0x3691 016779 fetch 3 ,mem_24g_enter_hibernate 
+0x3692 016780 call clk2lpo 
+0x3693 016781 storet 4 ,mem_sleep_counter 
+0x3694 016782 branch lpm_sleep 
+:      016783 car_g24_lpm_wait:
+0x3695 016784 enable user 
+0x3696 016785 call lpo_calibration 
+0x3697 016786 fetch 3 ,mem_clks_per_lpo 
+0x3698 016787 branch disable_user ,blank 
+0x3699 016788 branch car_le_process_lpm_before 
+:      016794 dongle_init:
+0x369a 016795 setarg dongle_dispatch 
+0x369b 016796 store 2 ,mem_cb_24g_receive_process 
+0x369c 016797 setarg dongle_g24_mouse 
+0x369d 016798 store 2 ,mem_cb_24g_data_device1 
+0x369e 016799 setarg dongle_g24_kb 
+0x369f 016800 store 2 ,mem_cb_24g_data_device2 
+0x36a0 016801 setarg dongle_ackpayload_prep 
+0x36a1 016802 store 2 ,mem_cb_24g_ackpayload 
+0x36a2 016803 setarg dongle_usb_config 
+0x36a3 016804 store 2 ,mem_cb_usb_config 
+0x36a4 016805 branch usb_init 
+:      016808 dongle_default_init:
+0x36a5 016810 fetch 1 ,mem_tmp_buffer + dongle_kb_bind_efuse_offect 
+0x36a6 016811 store 1 ,mem_dg_kb_bind_flag 
+0x36a7 016812 call dongle_xtal_select 
+0x36a8 016813 fetch 1 ,mem_dg_sys_config 
+0x36a9 016814 isolate1 dg_enable_eeprom ,pdata 
+0x36aa 016815 branch dongle_default_no_eeprom ,true 
+0x36ab 016816 fetch 1 ,mem_dg_sys_config 
+0x36ac 016817 isolate1 dg_enable_new_chmap ,pdata 
+0x36ad 016818 call g24_chamap_param_update ,true 
+:      016819 dongle_default_no_eeprom:
+0x36ae 016820 fetch 1 ,mem_dg_sys_config 
+0x36af 016821 and_into 0x0f ,pdata 
+0x36b0 016822 store 1 ,mem_tx_power 
+0x36b1 016823 call app_sys_param_init 
+0x36b2 016825 jam 0xff ,mem_rssi_buff_index 
+0x36b3 016826 setarg mem_dg_rssi_noise_buffer 
+0x36b4 016827 store 2 ,mem_rssi_noise_buffer_ptr 
+0x36b5 016828 setarg mem_dg_rssi_noise_dg_buffer 
+0x36b6 016829 store 2 ,mem_rssi_noise_self_buffer_ptr 
+0x36b7 016830 setarg mem_dg_rssi_noise_ms_buffer 
+0x36b8 016831 store 2 ,mem_rssi_noise_device1_buffer_ptr 
+0x36b9 016832 setarg mem_dg_rssi_noise_kb_buffer 
+0x36ba 016833 store 2 ,mem_rssi_noise_device2_buffer_ptr 
+0x36bb 016834 jam tx_power_f5db ,mem_24g_pair_tx_power 
+0x36bc 016835 jam 0 ,mem_dg_kb_bind_success 
+0x36bd 016836 jam 0 ,mem_24g_bind_device_living 
+0x36be 016837 call g24_enable_1m 
+0x36bf 016838 call g24_receive_init 
+0x36c0 016839 call g24_pair_param_init 
+0x36c1 016840 call g24_chmap_param_init 
+0x36c2 016842 fetch 1 ,mem_dg_usb_tx_interval 
+0x36c3 016843 store 1 ,mem_usb_tx_interval 
+0x36c4 016844 fetch 9 ,mem_dg_usb_vid_pid 
+0x36c5 016845 store 9 ,mem_usb_vid_pid 
+0x36c6 016846 rtn 
+:      016848 dongle_xtal_select:
+0x36c7 016849 jam xtal_24m ,mem_fcomp_div 
+0x36c8 016850 fetch 1 ,mem_dg_sys_config 
+0x36c9 016851 rtnbit0 dg_enable_xtal_24m 
+0x36ca 016852 jam xtal_16m ,mem_fcomp_div 
+0x36cb 016853 rtn 
+:      016855 dongle_dispatch:
+0x36cc 016856 fetch 1 ,mem_24g_pair_mode 
+0x36cd 016857 beq 0x00 ,dongle_auto_bind 
+0x36ce 016858 beq 0x01 ,dongle_pc_bind 
+0x36cf 016860 rtn 
+:      016863 dongle_read_kb_bind_status:
+0x36d0 016864 arg 1 ,temp 
+0x36d1 016865 arg mem_dg_kb_bind_flag ,rega 
+0x36d2 016866 setarg dongle_kb_bind_efuse_offect 
+0x36d3 016867 branch efuse_read_data 
+:      016869 dongle_write_kb_bind_status:
+0x36d4 016870 arg 1 ,loopcnt 
+0x36d5 016871 arg mem_dg_kb_bind_flag ,rega 
+0x36d6 016872 arg dongle_kb_bind_efuse_offect ,temp 
+0x36d7 016873 branch efuse_program 
+:      016875 dongle_usb_config:
+0x36d8 016876 fetch 1 ,mem_dg_sys_config 
+0x36d9 016877 bbit1 dg_enable_kb_icon ,dongle_usb_config_kb 
+0x36da 016878 fetch 1 ,mem_dg_kb_bind_flag 
+0x36db 016879 bne dongle_kb_bind_success ,dongle_usb_config_param 
+:      016880 dongle_usb_config_kb:
+0x36dc 016881 jam dongle_kb_bind_success ,mem_dg_kb_bind_flag 
+0x36dd 016882 fetch 4 ,usb_devicedata_addr + 9 
+0x36de 016883 set1 29 ,pdata 
+0x36df 016884 store 4 ,mem_devicedesc + 9 
+:      016885 dongle_usb_config_param:
+0x36e0 016886 call dongle_usb_device_name 
+0x36e1 016887 call usb_tx_interval_config 
+0x36e2 016888 call dongle_usb_vid_pid_config 
+0x36e3 016889 branch dongle_usb_hid_icon_config 
+:      016891 dongle_usb_vid_pid_config:
+0x36e4 016892 fetch 1 ,mem_usb_vid_pid 
+0x36e5 016893 rtn blank 
+0x36e6 016894 fetch 1 ,mem_dg_kb_bind_flag 
+0x36e7 016895 beq dongle_kb_bind_success ,dongle_usb_vid_pid_for_suit 
+:      016896 dongle_usb_vid_pid_for_mouse_only_auto_pair:
+0x36e8 016897 fetch 4 ,mem_usb_vid_pid + 1 
+:      016898 dongle_usb_vid_pid_store:
+0x36e9 016899 store 4 ,mem_devicedesc + 9 
+0x36ea 016900 rtn 
+:      016901 dongle_usb_vid_pid_for_suit:
+0x36eb 016902 fetch 4 ,mem_usb_vid_pid + 5 
+0x36ec 016903 branch dongle_usb_vid_pid_store 
+:      016905 dongle_usb_hid_icon_config:
+0x36ed 016906 fetch 1 ,mem_dg_kb_bind_flag 
+0x36ee 016907 beq dongle_kb_bind_success ,dongle_usb_kb_hidreportdesc 
+0x36ef 016908 setarg usb_kbdata_vendor_define_addr 
+0x36f0 016909 store 2 ,mem_hidreportdesc_kb 
+0x36f1 016910 jam 0x1a ,mem_confdesc + 26 
+0x36f2 016911 rtn 
+:      016912 dongle_usb_kb_hidreportdesc:
+0x36f3 016913 setarg usb_kbdata_addr 
+0x36f4 016914 store 2 ,mem_hidreportdesc_kb 
+0x36f5 016915 jam 0x3f ,mem_confdesc + 26 
+0x36f6 016916 rtn 
+:      016918 dongle_usb_device_name:
+0x36f7 016919 fetch 1 ,mem_dg_usb_device_name 
+0x36f8 016920 rtn blank 
+0x36f9 016921 arg mem_dg_usb_device_name ,contr 
+0x36fa 016922 arg mem_string2 ,contw 
+0x36fb 016923 arg 30 ,loopcnt 
+0x36fc 016924 branch memcpy 
+:      016934 dongle_pc_bind:
+0x36fd 016935 call g24_switch_work_mode 
+:      016936 dongle_pc_bind_loop:
+0x36fe 016937 call dongle_work_mode_auto 
+0x36ff 016938 call g24_bind_mode_auto 
+0x3700 016939 call dongle_usb_dispatch 
+0x3701 016940 branch dongle_pc_bind_loop 
+:      016942 dongle_g24_blank_data_process:
+0x3702 016943 call dongle_g24_ms_blank_data 
+0x3703 016944 call dongle_g24_kb_blank_data 
+0x3704 016945 branch dongle_g24_kb_mul_blank_data 
+:      016947 dongle_g24_ms_blank_data:
+0x3705 016948 fetch 1 ,mem_dg_ms_blank_data_enable 
+0x3706 016949 rtn blank 
+0x3707 016950 arg timer_ms_blank ,queue 
+0x3708 016951 call timer_check 
+0x3709 016952 nrtn blank 
+0x370a 016953 jam 0 ,mem_dg_ms_blank_data_enable 
+0x370b 016954 setarg ms_report_id 
+0x370c 016955 store 1 ,mem_usb_mouse_data 
+0x370d 016956 setarg 0 
+0x370e 016957 istore 7 ,contw 
+:      016958 dongle_usb_tx_ms_data:
+0x370f 016959 jam usb_ep2_ms ,mem_usb_ep2_data 
+:      016960 dongle_usb_tx_enable_ep2:
+0x3710 016961 fetch 1 ,mem_usb_tx_enable 
+0x3711 016962 set1 2 ,pdata 
+0x3712 016963 store 1 ,mem_usb_tx_enable 
+0x3713 016964 rtn 
+:      016966 dongle_g24_kb_blank_data:
+0x3714 016967 fetch 1 ,mem_dg_kb_blank_data_enable 
+0x3715 016968 rtn blank 
+0x3716 016969 arg timer_kb_blank ,queue 
+0x3717 016970 call timer_check 
+0x3718 016971 nrtn blank 
+0x3719 016972 jam 0 ,mem_dg_kb_blank_data_enable 
+0x371a 016973 arg mem_usb_kb_data ,contw 
+0x371b 016974 arg 2 ,loopcnt 
+0x371c 016975 call memset0 
+:      016976 dongle_usb_tx_kb_data:
+0x371d 016977 jam kb_normal_report_id ,mem_usb_kb_data 
+:      016978 dongle_usb_tx_enable_ep1:
+0x371e 016979 jam usb_ep1_kb ,mem_usb_ep1_data 
+0x371f 016980 fetch 1 ,mem_usb_tx_enable 
+0x3720 016981 set1 1 ,pdata 
+0x3721 016982 store 1 ,mem_usb_tx_enable 
+0x3722 016983 rtn 
+:      016985 dongle_g24_kb_mul_blank_data:
+0x3723 016986 fetch 1 ,mem_dg_kb_mul_blank_data_enable 
+0x3724 016987 rtn blank 
+0x3725 016988 arg timer_kb_mul_blank ,queue 
+0x3726 016989 call timer_check 
+0x3727 016990 nrtn blank 
+0x3728 016991 jam 0 ,mem_dg_kb_mul_blank_data_enable 
+0x3729 016992 arg mem_usb_kb_multikey ,contw 
+0x372a 016993 arg 2 ,loopcnt 
+0x372b 016994 call memset0 
+0x372c 016995 jam kb_multikey_report_id ,mem_usb_kb_multikey 
+:      016996 dongle_usb_tx_multikey_data:
+0x372d 016997 jam usb_ep2_multikey ,mem_usb_ep2_data 
+0x372e 016998 branch dongle_usb_tx_enable_ep2 
+:      017000 dongle_usb_dispatch:
+0x372f 017001 bpatch patch17_2 ,mem_patch17 
+0x3730 017002 fetch 1 ,mem_usb_remote_wakeup 
+0x3731 017003 call dongle_clear_pc_sleep_flag ,blank 
+0x3732 017004 call usb_isr 
+0x3733 017005 fetch 1 ,mem_usb0_get_set_report 
+0x3734 017006 rtn blank 
+0x3735 017007 jam 0 ,mem_usb0_get_set_report 
+0x3736 017008 fetch 2 ,mem_usb_setup_bvalue_temp 
+0x3737 017009 arg pc_set_report ,temp 
+0x3738 017010 isub temp ,null 
+0x3739 017011 nrtn zero 
+0x373a 017013 fetch 1 ,mem_usb0_set_report_data 
+0x373b 017014 rtnne pc_report_id 
+0x373c 017015 fetch 1 ,mem_usb0_set_report_data + 1 
+0x373d 017016 beq command_mode ,dongle_dispose_cmd_mode 
+0x373e 017017 beq command_bind ,dongle_dispose_cmd_bind 
+0x373f 017018 beq command_current_project ,dongle_dispose_cmd_current_project 
+0x3740 017019 beq command_current_mode ,dongle_dispose_cmd_current_mode 
+0x3741 017020 beq command_current_fw_version ,dongle_dispose_cmd_current_fw_version 
+:      017022 dongle_usb0_data_ready_report_set0:
+0x3742 017023 jam 0 ,mem_usb0_data_ready_report 
+0x3743 017024 rtn 
+:      017026 dongle_dispose_cmd_mode:
+0x3744 017027 fetch 1 ,mem_usb0_set_report_data + 2 
+0x3745 017028 beq com_mode_bind ,dongle_enter_bind_mode 
+0x3746 017029 branch dongle_usb0_data_ready_report_set0 
+:      017030 dongle_enter_bind_mode:
+0x3747 017031 call g24_bind_mode_enable 
+:      017032 dongle_usb0_data_ready_report_set1:
+0x3748 017033 jam 1 ,mem_usb0_data_ready_report 
+0x3749 017034 rtn 
+:      017036 dongle_dispose_cmd_bind:
+0x374a 017037 fetch 1 ,mem_usb0_set_report_data + 2 
+0x374b 017038 beq com_bind_get ,dongle_dispose_cmd_get_bind 
+0x374c 017039 beq com_bind_exit ,dongle_dispose_cmd_exit_bind 
+0x374d 017040 beq com_read_mode ,dongle_dispose_cmd_read_mode 
+0x374e 017041 branch dongle_usb0_data_ready_report_set0 
+:      017042 dongle_dispose_cmd_get_bind:
+0x374f 017043 fetch 1 ,mem_24g_bind_device_status 
+0x3750 017044 store 1 ,mem_usb0_get_report_data + 1 
+0x3751 017045 branch dongle_usb0_data_ready_report_set1 
+:      017046 dongle_dispose_cmd_exit_bind:
+0x3752 017047 call g24_work_mode_enable 
+0x3753 017048 branch dongle_dispose_cmd_get_bind 
+:      017049 dongle_dispose_cmd_read_mode:
+:      017050 dongle_dispose_in_bind_mode:
+0x3754 017051 jam command_bind ,mem_usb0_get_report_data + 1 
+0x3755 017052 branch dongle_usb0_data_ready_report_set1 
+:      017054 dongle_dispose_cmd_current_project:
+0x3756 017055 jam product_id ,mem_usb0_get_report_data + 1 
+0x3757 017056 branch dongle_usb0_data_ready_report_set1 
+:      017058 dongle_dispose_cmd_current_mode:
+0x3758 017059 fetch 1 ,mem_24g_work_mode 
+0x3759 017060 beq dongle_work ,dongle_dispose_in_work_mode 
+0x375a 017061 beq dongle_bind ,dongle_dispose_in_bind_mode 
+0x375b 017062 rtn 
+:      017063 dongle_dispose_in_work_mode:
+0x375c 017064 jam command_mode ,mem_usb0_get_report_data + 1 
+0x375d 017065 branch dongle_usb0_data_ready_report_set1 
+:      017067 dongle_dispose_cmd_current_fw_version:
+0x375e 017068 jam fw_version0 ,mem_usb0_get_report_data + 1 
+0x375f 017069 jam fw_version1 ,mem_usb0_get_report_data + 2 
+0x3760 017070 jam fw_version2 ,mem_usb0_get_report_data + 3 
+0x3761 017071 jam fw_version3 ,mem_usb0_get_report_data + 4 
+0x3762 017072 branch dongle_usb0_data_ready_report_set1 
+:      017080 dongle_auto_bind:
+0x3763 017081 call g24_mode_switch_init 
+:      017082 dongle_auto_bind_loop:
+0x3764 017083 call g24_mode_switch_bind_work 
+0x3765 017084 call g24_mode_switch_bind_search 
+0x3766 017085 call dongle_work_mode_auto 
+0x3767 017086 call g24_bind_mode_auto 
+0x3768 017087 call g24_search_mode_auto 
+0x3769 017088 call dongle_usb_dispatch 
+0x376a 017089 branch dongle_auto_bind_loop 
+:      017091 dongle_work_mode_auto:
+0x376b 017092 bpatch patch17_3 ,mem_patch17 
+0x376c 017093 fetch 1 ,mem_24g_work_mode 
+0x376d 017094 rtnne dongle_work 
+0x376e 017095 call g24_work_mode_start 
+0x376f 017096 call dongle_g24_blank_data_process 
+0x3770 017097 fetch 1 ,mem_24g_pair_mode 
+0x3771 017098 nrtn blank 
+0x3772 017099 branch g24_nodata_process 
+:      017101 dongle_ackpayload_prep:
+0x3773 017102 fetch 1 ,mem_24g_data_type 
+0x3774 017103 beq datatype_device1 ,dongle_ackpayload_prep_mouse 
+0x3775 017104 beq datatype_device2 ,dongle_ackpayload_prep_keyboard 
+:      017105 dongle_ackpayload_prep_mouse:
+0x3776 017106 fetch 1 ,mem_dg_pc_sleep_flag 
+0x3777 017107 bbit1 0 ,dongle_pc_sleep_ackpayload_prep_mouse 
+0x3778 017108 branch dongle_ackpayload_prep_end 
+:      017110 dongle_set_pc_sleep_flag:
+0x3779 017111 fetch 1 ,mem_device_option 
+0x377a 017112 rtnne dvc_op_dongle 
+0x377b 017113 jam 3 ,mem_dg_pc_sleep_flag 
+0x377c 017114 rtn 
+:      017115 dongle_clear_pc_sleep_flag:
+0x377d 017116 jam 0 ,mem_dg_pc_sleep_flag 
+0x377e 017117 rtn 
+:      017119 dongle_ackpayload_prep_keyboard:
+0x377f 017120 fetch 1 ,mem_dg_pc_sleep_flag 
+0x3780 017121 bbit1 1 ,dongle_pc_sleep_ackpayload_prep_keyboard 
+:      017122 dongle_ackpayload_prep_end:
+0x3781 017123 fetch 1 ,mem_24g_ackpayload_enable 
+0x3782 017124 beq bind_ackpayload ,dongle_g24_bind_ackpayload_prep 
+0x3783 017125 beq kb_led_ackpayload ,dongle_g24_kb_led_ackpayload_prep 
+0x3784 017126 rtn 
+:      017128 dongle_pc_sleep_ackpayload_prep_mouse:
+0x3785 017129 fetch 1 ,mem_dg_pc_sleep_flag 
+0x3786 017130 set0 0 ,pdata 
+0x3787 017131 store 1 ,mem_dg_pc_sleep_flag 
+0x3788 017132 branch dongle_pc_sleep_ackpayload_prep 
+:      017134 dongle_pc_sleep_ackpayload_prep_keyboard:
+0x3789 017135 fetch 1 ,mem_dg_pc_sleep_flag 
+0x378a 017136 set0 1 ,pdata 
+0x378b 017137 store 1 ,mem_dg_pc_sleep_flag 
+:      017138 dongle_pc_sleep_ackpayload_prep:
+0x378c 017139 jam 0x01 ,mem_24g_datalen 
+0x378d 017140 setarg 0xff 
+0x378e 017141 store 1 ,mem_24g_txbuf 
+0x378f 017142 rtn 
+:      017145 dongle_g24_bind_ackpayload_prep:
+0x3790 017146 jam 1 ,mem_24g_ackpayload_enable 
+0x3791 017147 call g24_binding_device_check 
+0x3792 017148 nrtn user3 
+0x3793 017149 branch g24_bind_ackpayload_prep 
+:      017151 dongle_g24_kb_led_ackpayload_prep:
+0x3794 017152 fetch 1 ,mem_24g_rxbuf + 2 
+0x3795 017153 beq datatype_device1 ,dongle_g24_bind_ackpayload_prep 
+0x3796 017154 beq datatype_attemp ,dongle_g24_bind_ackpayload_prep 
+0x3797 017155 jam 0 ,mem_usb_tx_win_enable 
+0x3798 017156 jam 0x01 ,mem_24g_datalen 
+0x3799 017157 fetch 1 ,mem_24g_led_status 
+0x379a 017158 store 1 ,mem_24g_txbuf 
+0x379b 017159 rtn 
+:      017161 dongle_g24_mouse:
+0x379c 017162 setarg ms_report_id 
+0x379d 017163 store 1 ,mem_usb_mouse_data 
+0x379e 017164 fetch 7 ,mem_24g_rxdata_temp + 3 
+0x379f 017165 istore 7 ,contw 
+0x37a0 017166 fetch 1 ,mem_24g_rxdata_temp + 3 
+0x37a1 017167 ncall dongle_g24_ms_enable_blank_data_forcibly ,blank 
+0x37a2 017168 fetch 1 ,mem_24g_rxdata_temp + 3 
+0x37a3 017169 call dongle_g24_ms_disable_blank_data_forcibly ,blank 
+0x37a4 017170 branch dongle_usb_tx_ms_data 
+:      017172 dongle_g24_ms_enable_blank_data_forcibly:
+0x37a5 017173 jam 1 ,mem_dg_ms_blank_data_enable 
+0x37a6 017174 setarg timer_ms_blank_delay 
+0x37a7 017175 arg timer_ms_blank ,queue 
+0x37a8 017176 branch timer_init 
+:      017178 dongle_g24_ms_disable_blank_data_forcibly:
+0x37a9 017179 jam 0 ,mem_dg_ms_blank_data_enable 
+0x37aa 017180 setarg 0 
+0x37ab 017181 arg timer_ms_blank ,queue 
+0x37ac 017182 branch timer_init 
+:      017184 dongle_g24_kb:
+0x37ad 017185 fetch 1 ,mem_24g_rxdata_temp + 3 
+0x37ae 017186 beq 0 ,dongle_g24_kb_type0 
+0x37af 017187 beq 2 ,dongle_g24_kb_type2 
+0x37b0 017188 beq 3 ,dongle_g24_kb_type3 
+0x37b1 017189 branch g24_rx_interrupt_clear 
+:      017191 dongle_g24_kb_type0:
+0x37b2 017192 fetch 1 ,mem_24g_rxdata_temp + 5 
+0x37b3 017193 store 1 ,mem_24g_ackpayload_enable 
+0x37b4 017194 jam 0 ,mem_24g_rxdata_temp + 5 
+0x37b5 017195 arg mem_usb_kb_data ,contw 
+0x37b6 017196 arg mem_24g_rxdata_temp + 4 ,contr 
+0x37b7 017197 arg 8 ,loopcnt 
+0x37b8 017198 call memcpy 
+0x37b9 017199 fetch 8 ,mem_usb_kb_data 
+0x37ba 017200 ncall dongle_g24_kb_enable_blank_data_forcibly ,blank 
+0x37bb 017201 fetch 8 ,mem_usb_kb_data 
+0x37bc 017202 call dongle_g24_kb_disable_blank_data_forcibly ,blank 
+0x37bd 017203 fetch 8 ,mem_usb_kb_data 
+0x37be 017204 store 8 ,mem_dg_kb_data_sta_data 
+0x37bf 017205 fetcht 8 ,mem_dg_kb_data_last_data 
+0x37c0 017206 isub temp ,null 
+0x37c1 017207 ncall dongle_usb_tx_enable_ep1 ,zero 
+0x37c2 017208 fetch 8 ,mem_dg_kb_data_sta_data 
+0x37c3 017209 store 8 ,mem_dg_kb_data_last_data 
+0x37c4 017210 branch g24_rx_interrupt_clear 
+:      017212 dongle_g24_kb_enable_blank_data_forcibly:
+0x37c5 017213 jam 1 ,mem_dg_kb_blank_data_enable 
+0x37c6 017214 setarg timer_kb_blank_delay 
+0x37c7 017215 arg timer_kb_blank ,queue 
+0x37c8 017216 branch timer_init 
+:      017218 dongle_g24_kb_disable_blank_data_forcibly:
+0x37c9 017219 jam 0 ,mem_dg_kb_blank_data_enable 
+0x37ca 017220 setarg 0 
+0x37cb 017221 arg timer_kb_blank ,queue 
+0x37cc 017222 branch timer_init 
+:      017224 dongle_g24_kb_type3:
+0x37cd 017225 arg mem_usb_kb_multikey ,contw 
+0x37ce 017226 arg mem_24g_rxdata_temp + 3 ,contr 
+0x37cf 017227 arg 3 ,loopcnt 
+0x37d0 017228 call memcpy 
+0x37d1 017229 fetch 2 ,mem_usb_kb_multikey + 1 
+0x37d2 017230 ncall dongle_g24_kb_mul_enable_blank_data_forcibly ,blank 
+0x37d3 017231 fetch 2 ,mem_usb_kb_multikey + 1 
+0x37d4 017232 call dongle_g24_kb_mul_disable_blank_data_forcibly ,blank 
+0x37d5 017233 fetch 3 ,mem_usb_kb_multikey 
+0x37d6 017234 store 3 ,mem_dg_kb_multikey_sta_data 
+0x37d7 017235 fetcht 3 ,mem_dg_kb_multikey_last_data 
+0x37d8 017236 isub temp ,null 
+0x37d9 017237 ncall dongle_usb_tx_multikey_data ,zero 
+0x37da 017238 fetch 3 ,mem_dg_kb_multikey_sta_data 
+0x37db 017239 store 3 ,mem_dg_kb_multikey_last_data 
+0x37dc 017240 branch g24_rx_interrupt_clear 
+:      017242 dongle_g24_kb_mul_enable_blank_data_forcibly:
+0x37dd 017243 jam 1 ,mem_dg_kb_mul_blank_data_enable 
+0x37de 017244 setarg timer_kb_mul_blank_delay 
+0x37df 017245 arg timer_kb_mul_blank ,queue 
+0x37e0 017246 branch timer_init 
+:      017248 dongle_g24_kb_mul_disable_blank_data_forcibly:
+0x37e1 017249 jam 0 ,mem_dg_kb_mul_blank_data_enable 
+0x37e2 017250 setarg 0 
+0x37e3 017251 arg timer_kb_mul_blank ,queue 
+0x37e4 017252 branch timer_init 
+:      017254 dongle_g24_kb_type2:
+0x37e5 017255 arg mem_usb_kb_system ,contw 
+0x37e6 017256 arg mem_24g_rxdata_temp + 3 ,contr 
+0x37e7 017257 arg 2 ,loopcnt 
+0x37e8 017258 call memcpy 
+0x37e9 017259 fetch 2 ,mem_usb_kb_system 
+0x37ea 017260 ncall dongle_g24_kb_sys_enable_blank_data_forcibly ,blank 
+0x37eb 017261 fetch 2 ,mem_usb_kb_system 
+0x37ec 017262 call dongle_g24_kb_sys_disable_blank_data_forcibly ,blank 
+0x37ed 017263 fetch 2 ,mem_usb_kb_system 
+0x37ee 017264 store 2 ,mem_dg_kb_system_sta_data 
+0x37ef 017265 fetcht 2 ,mem_dg_kb_system_last_data 
+0x37f0 017266 isub temp ,null 
+0x37f1 017267 ncall dongle_usb_tx_sys_data ,zero 
+0x37f2 017268 fetch 2 ,mem_dg_kb_system_sta_data 
+0x37f3 017269 store 2 ,mem_dg_kb_system_last_data 
+0x37f4 017270 branch g24_rx_interrupt_clear 
+:      017272 dongle_g24_kb_sys_enable_blank_data_forcibly:
+0x37f5 017273 jam 1 ,mem_dg_kb_mul_blank_data_enable 
+0x37f6 017274 setarg timer_kb_mul_blank_delay 
+0x37f7 017275 arg timer_kb_mul_blank ,queue 
+0x37f8 017276 branch timer_init 
+:      017277 dongle_g24_kb_sys_disable_blank_data_forcibly:
+0x37f9 017278 jam 0 ,mem_dg_kb_mul_blank_data_enable 
+0x37fa 017279 setarg 0 
+0x37fb 017280 arg timer_kb_mul_blank ,queue 
+0x37fc 017281 branch timer_init 
+:      017283 dongle_usb_tx_sys_data:
+0x37fd 017284 jam usb_ep2_systemkey ,mem_usb_ep2_data 
+0x37fe 017285 branch dongle_usb_tx_enable_ep2 
+:      017288 dongle_g24_store_dvc2_bind_flag:
+0x37ff 017289 fetch 1 ,mem_device_option 
+0x3800 017290 rtnne dvc_op_dongle 
+0x3801 017291 fetch 1 ,mem_dg_kb_bind_flag 
+0x3802 017292 rtneq dongle_kb_bind_success 
+:      017293 dongle_prep_soft_reset:
+0x3803 017294 jam 1 ,mem_dg_kb_bind_success 
+0x3804 017295 rtn 
+:      017298 dongle_kb_bind_soft_reset:
+0x3805 017299 fetch 1 ,mem_device_option 
+0x3806 017300 rtnne dvc_op_dongle 
+0x3807 017301 fetch 1 ,mem_dg_kb_bind_success 
+0x3808 017302 rtn blank 
+0x3809 017303 jam 0 ,mem_temp 
+:      017304 dongle_wirte_efuse_bind_status:
+0x380a 017305 jam dongle_kb_bind_success ,mem_dg_kb_bind_flag 
+0x380b 017306 call dongle_write_kb_bind_status 
+0x380c 017307 call dongle_read_kb_bind_status 
+0x380d 017308 fetch 1 ,mem_temp 
+0x380e 017309 increase 1 ,pdata 
+0x380f 017310 store 1 ,mem_temp 
+0x3810 017311 beq 0xff ,soft_reset_chip 
+0x3811 017312 fetch 1 ,mem_dg_kb_bind_flag 
+0x3812 017313 bne dongle_kb_bind_success ,dongle_wirte_efuse_bind_status 
+0x3813 017314 branch soft_reset_chip 
+:      017323 module_init:
+0x3814 017324 rtn wake 
+0x3815 017325 call le_modified_name 
+0x3816 017326 setarg module_process_idle 
+0x3817 017327 store 2 ,mem_cb_idle_process 
+0x3818 017328 setarg module_bt_conn_process 
+0x3819 017329 store 2 ,mem_cb_bt_process 
+0x381a 017330 setarg module_process_bb_event 
+0x381b 017331 store 2 ,mem_cb_bb_event_process 
+0x381c 017332 setarg module_lpm_lock 
+0x381d 017333 store 2 ,mem_cb_check_wakelock 
+0x381e 017334 setarg module_hci_cmd_transmit_le_notify 
+0x381f 017335 store 2 ,mem_cb_ble_transmit 
+0x3820 017336 setarg module_hci_event_receive_spp_data 
+0x3821 017337 store 2 ,mem_cb_receive_spp_data 
+0x3822 017338 setarg module_le_receive_data 
+0x3823 017339 store 2 ,mem_cb_att_write 
+0x3824 017340 setarg module_bb_event_timer 
+0x3825 017341 store 2 ,mem_cb_event_timer 
+0x3826 017343 call module_spp_clear_last_transmite_clock 
+0x3827 017344 bpatch patch17_4 ,mem_patch17 
+0x3828 017345 call module_lpm_uart_init 
+0x3829 017346 call module_gpio_init 
+0x382a 017347 branch module_hci_event_enter_standby_mode 
+:      017349 module_lpm_uart_init:
+0x382b 017350 fetch 1 ,core_uart_ctrl 
+0x382c 017351 set0 bit_uart_control_enable ,pdata 
+0x382d 017352 store 1 ,core_uart_ctrl 
+0x382e 017353 fetch 8 ,mem_module_uart_rx_buffer 
+0x382f 017354 call uarta_init_dma_mem 
+0x3830 017355 fetch uart_baud_len ,mem_module_uarta_baud_rate 
+0x3831 017356 call uarta_init_baud_rate 
+0x3832 017357 call uart_clock_select_main_freq_crystal 
+0x3833 017358 jam gpcfg_uart_txd ,core_gpio_conf + hci_uart_tx_gpio_num 
+0x3834 017359 jam gpcfg_uart_rxd | gpcfg_pullup ,core_gpio_conf + hci_uart_rx_gpio_num 
+0x3835 017360 jam gpcfg_uart_rts ,core_gpio_conf + hci_uart_rts_gpio_num 
+0x3836 017361 jam gpcfg_uart_cts ,core_gpio_conf + hci_uart_cts_gpio_num 
+0x3837 017363 arg fun_uart_control_enable | fun_uart_control_setting_rate_baud ,temp 
+0x3838 017364 fetch 2 ,mem_module_flag 
+0x3839 017365 isolate1 module_flag_uart_flow_control ,pdata 
+0x383a 017366 setflag true ,bit_uart_control_flow_control ,temp 
+0x383b 017367 storet 1 ,core_uart_ctrl 
+0x383c 017368 rtn 
+:      017370 module_lpm_init:
+0x383d 017371 call module_spp_clear_last_transmite_clock 
+0x383e 017372 branch module_lpm_uart_init 
+:      017376 module_gpio_init:
+0x383f 017377 fetcht 1 ,mem_module_connect_state_gpio 
+0x3840 017378 call gpio_config_output 
+0x3841 017379 call module_set_conn_pin_low 
+0x3842 017380 fetcht 1 ,mem_module_wake_up_gpio 
+0x3843 017381 branch gpio_config_input 
+:      017383 module_lpm_lock:
+0x3844 017384 fetcht 1 ,mem_module_wake_up_gpio 
+0x3845 017385 call gpio_get_bit 
+0x3846 017386 nbranch app_put_lpm_wake_lock ,true 
+0x3847 017387 branch app_get_lpm_wake_lock 
+:      017390 module_bt_conn_process:
+0x3848 017391 call module_spp_enter_sniff 
+0x3849 017392 branch module_control_air_flow 
+:      017394 module_spp_enter_sniff:
+0x384a 017395 fetch 1 ,mem_ui_state_map 
+0x384b 017396 bbit0 ui_state_bt_spp_conn ,module_spp_clear_last_transmite_clock 
+0x384c 017397 setarg 0x3eff 
+0x384d 017398 fetcht 4 ,mem_last_transmite_clock 
+0x384e 017399 iadd temp ,temp 
+0x384f 017400 copy clkn_bt ,pdata 
+0x3850 017401 isub temp ,null 
+0x3851 017402 nrtn positive 
+0x3852 017403 fetch 2 ,mem_ui_state_map 
+0x3853 017404 bbit1 ui_state_bt_sniff ,module_spp_clear_last_transmite_clock 
+0x3854 017405 fetch 2 ,mem_module_flag 
+0x3855 017406 rtnbit1 moudle_task_sniff 
+0x3856 017407 call module_set_sniff_task_flag 
+0x3857 017408 call app_bt_enter_sniff 
+:      017409 module_spp_clear_last_transmite_clock:
+0x3858 017410 copy clkn_bt ,pdata 
+0x3859 017411 store 4 ,mem_last_transmite_clock 
+0x385a 017412 rtn 
+:      017414 module_process_idle:
+0x385b 017415 call module_control_air_flow 
+0x385c 017416 call l2cap_malloc_is_fifo_full 
+0x385d 017417 nrtn blank 
+0x385e 017418 branch module_process_check_hci_command_complete 
+:      017421 module_process_bb_event:
+0x385f 017422 copy regc ,pdata 
+0x3860 017423 beq bt_evt_bb_connected ,module_process_bb_conn 
+0x3861 017424 beq bt_evt_bb_disconnected ,module_process_bb_event_disconned 
+0x3862 017425 beq bt_evt_reconn_failed ,module_process_reconn_fail 
+0x3863 017426 beq bt_evt_setup_complete ,module_process_setup_complete 
+0x3864 017427 beq bt_evt_spp_connected ,module_process_spp_connected 
+0x3865 017428 beq bt_evt_spp_disconnected ,module_process_spp_disconnected 
+0x3866 017429 beq bt_evt_pincode_req ,module_process_evt_pincode_req 
+0x3867 017430 beq bt_evt_enter_sniff ,module_process_enter_sniff 
+0x3868 017431 beq bt_evt_exit_sniff ,module_process_exit_sniff 
+0x3869 017432 beq bt_evt_reconn_page_timeout ,module_process_page_time_out 
+0x386a 017433 beq bt_evt_le_connected ,module_process_le_conn 
+0x386b 017434 beq bt_evt_le_disconnected ,module_process_bb_even_le_disconn 
+0x386c 017435 beq bt_evt_sniff_not_accept ,module_process_sniff_not_accept 
+0x386d 017436 beq bt_evt_unsniff_accept ,module_process_unsniff_accept 
+0x386e 017437 beq bt_evt_unsniff_not_accept ,module_process_unsniff_not_accept 
+0x386f 017438 beq bt_evt_le_pairing_fail ,module_hci_event_le_pairing_fail 
+0x3870 017439 beq bt_evt_le_pairing_success ,module_hci_event_le_pairing_success 
+0x3871 017440 beq bt_evt_le_start_enc ,module_hci_event_start_enc 
+0x3872 017441 beq bt_evt_le_pause_enc ,module_hci_event_pause_enc 
+0x3873 017442 beq bt_evt_le_tk_generate ,module_hci_event_le_tk 
+0x3874 017443 beq bt_evt_bt_gkey_generate ,module_hci_event_gkey_generate 
+0x3875 017444 beq bt_evt_bt_get_passkey ,module_hci_event_passkey_entry_mode 
+0x3876 017445 beq bt_evt_bt_pairing_fail ,module_hci_event_bt_pairing_fail 
+0x3877 017446 beq bt_evt_bt_pairing_success ,module_hci_event_bt_pairing_success 
+0x3878 017447 beq bt_evt_le_gkey_generate ,module_hci_event_gkey_generate 
+0x3879 017448 beq bt_evt_store_nvram ,module_hci_event_store_device 
+0x387a 017449 beq bt_evt_le_ltk_lost ,module_process_ble_ltk_lost 
+0x387b 017450 beq bt_evt_le_update_phy ,module_process_ble_update_phy 
+0x387c 017451 beq bt_evt_le_get_passkey ,module_hci_event_passkey_entry_mode 
+0x387d 017452 rtn 
+:      017455 module_process_bb_event_disconned:
+0x387e 017456 call module_spp_clear_last_transmite_clock 
+0x387f 017457 fetch 1 ,mem_flag_pairing_state 
+0x3880 017458 ncall module_hci_event_bt_pairing_fail ,blank 
+0x3881 017459 call module_disconn_start 
+0x3882 017460 fetch 2 ,mem_ui_state_map 
+0x3883 017461 rtnbit0 ui_state_bt_spp_conn 
+0x3884 017462 branch module_spp_disconnected 
+:      017464 module_process_spp_connected:
+0x3885 017465 fetch 2 ,mem_ui_state_map 
+0x3886 017466 set1 ui_state_bt_spp_conn ,pdata 
+0x3887 017467 store 2 ,mem_ui_state_map 
+0x3888 017468 fetch 1 ,mem_module_spp_lpm_mult 
+0x3889 017469 store 1 ,mem_lpm_mult 
+0x388a 017470 call module_set_conn_pin_low 
+0x388b 017471 branch module_hci_event_spp_connect 
+:      017473 module_process_spp_disconnected:
+:      017475 module_spp_disconnected:
+0x388c 017476 fetch 2 ,mem_ui_state_map 
+0x388d 017477 rtnbit0 ui_state_bt_spp_conn 
+0x388e 017478 set0 ui_state_bt_spp_conn ,pdata 
+0x388f 017479 store 2 ,mem_ui_state_map 
+0x3890 017480 branch module_hci_event_spp_disconnect 
+:      017483 module_process_enter_sniff:
+:      017485 module_sniff_param_check:
+0x3891 017486 call module_spp_clear_last_transmite_clock 
+0x3892 017489 fetch 2 ,mem_context + coffset_tsniff 
+0x3893 017490 rshift pdata ,pdata 
+0x3894 017491 fetcht 2 ,mem_sniff_param_interval 
+0x3895 017492 isub temp ,null 
+0x3896 017493 nbranch module_sniff_param_check_unsniff ,zero 
+0x3897 017494 branch app_lpm_mult_enable 
+:      017495 module_sniff_param_check_unsniff:
+0x3898 017496 fetch 2 ,mem_module_flag 
+0x3899 017497 rtnbit1 moudle_task_unsniff 
+0x389a 017498 fetch 2 ,core_uart_rxitems 
+0x389b 017499 ncall module_set_unsniff_task_flag ,blank 
+0x389c 017500 branch app_bt_sniff_exit 
+:      017502 module_process_exit_sniff:
+0x389d 017503 call module_clear_sniff_task_flag 
+0x389e 017504 branch app_lpm_mult_disable 
+:      017506 module_process_setup_complete:
+0x389f 017507 call module_spp_clear_last_transmite_clock 
+0x38a0 017508 branch module_conn_start 
+:      017510 module_process_bb_even_le_disconn:
+0x38a1 017511 call le_clr_config_more_data 
+0x38a2 017512 jam 0 ,mem_module_hci_notify_len 
+0x38a3 017513 call module_disconn_start 
+0x38a4 017514 branch module_hci_event_le_disconnect 
+:      017516 module_process_evt_pincode_req:
+0x38a5 017517 branch app_bt_set_pincode 
+:      017520 module_process_sniff_not_accept:
+0x38a6 017521 branch module_clear_sniff_task_flag 
+:      017524 module_process_unsniff_accept:
+0x38a7 017525 fetch 2 ,mem_module_flag 
+0x38a8 017526 bbit0 moudle_task_unsniff ,app_bt_enter_sniff 
+0x38a9 017527 branch module_clear_unsniff_task_flag 
+:      017530 module_process_unsniff_not_accept:
+0x38aa 017531 branch module_clear_unsniff_task_flag 
+:      017534 module_process_le_conn:
+0x38ab 017536 call module_conn_start 
+0x38ac 017537 fetch 1 ,mem_module_le_lpm_mult 
+0x38ad 017538 store 1 ,mem_lpm_mult 
+0x38ae 017539 branch module_hci_event_le_connect 
+:      017542 module_process_bb_conn:
+0x38af 017543 jam 0 ,mem_flag_mode_ssp_pin 
+0x38b0 017544 call module_clear_sniff_task_flag 
+0x38b1 017545 branch module_clear_unsniff_task_flag 
+:      017547 module_process_page_time_out:
+:      017548 module_process_reconn_fail:
+:      017549 module_disconn_start:
+0x38b2 017550 call module_start_adv_discovery_by_command 
+0x38b3 017551 branch module_set_conn_pin_high 
+:      017554 module_process_ble_ltk_lost:
+0x38b4 017555 call le_send_reject_ind 
+0x38b5 017556 branch le_send_smp_security_request 
+:      017558 module_process_ble_update_phy:
+0x38b6 017559 branch module_hci_event_le_update_phy 
+:      017562 module_set_conn_pin_high:
+0x38b7 017563 fetcht 1 ,mem_module_connect_state_gpio 
+0x38b8 017564 branch gpio_out_active 
+:      017566 module_conn_start:
+0x38b9 017567 call module_stop_adv_discovery 
+0x38ba 017568 branch module_set_conn_pin_low 
+:      017570 module_stop_adv_discovery:
+0x38bb 017571 fetch 1 ,mem_module_state 
+0x38bc 017572 isolate1 moudle_state_bt_bit ,pdata 
+0x38bd 017573 call app_bt_stop_discovery ,true 
+0x38be 017574 fetch 1 ,mem_module_state 
+0x38bf 017575 isolate1 moudle_state_ble_bit ,pdata 
+0x38c0 017576 call app_ble_stop_adv ,true 
+0x38c1 017577 rtn 
+:      017578 module_set_conn_pin_low:
+0x38c2 017579 fetcht 1 ,mem_module_connect_state_gpio 
+0x38c3 017580 branch gpio_out_inactive 
+:      017582 module_process_with_credit:
+0x38c4 017583 fetch 1 ,mem_rfcomm_credit_flag 
+0x38c5 017584 rtneq credit_disable 
+0x38c6 017585 branch rfcomm_send_uih_without_payload 
+:      017587 module_process_check_hci_command_complete:
+0x38c7 017588 fetch 1 ,core_uart_status 
+0x38c8 017589 bbit1 uart_status_rx_fifo_empty ,module_process_with_credit 
+0x38c9 017590 call uarta_prepare_rx 
+0x38ca 017591 ifetch 1 ,contru 
+0x38cb 017592 bne 0x01 ,module_hci_in_excp 
+0x38cc 017593 fetch 2 ,core_uart_rxitems 
+0x38cd 017594 sub pdata ,2 ,null 
+0x38ce 017595 rtn positive 
+0x38cf 017596 ifetch 1 ,contru 
+0x38d0 017597 store 1 ,mem_module_uart_opcode 
+0x38d1 017598 ifetcht 1 ,contru 
+0x38d2 017599 copy contru ,rega 
+0x38d3 017600 storet 1 ,mem_module_uart_len 
+0x38d4 017601 add temp ,3 ,temp 
+0x38d5 017602 fetch 2 ,core_uart_rxitems 
+0x38d6 017603 isub temp ,temp 
+0x38d7 017604 nrtn positive 
+0x38d8 017605 jam hci_discard_packet ,mem_module_temp_nl_discard_packet 
+0x38d9 017606 call module_hci_cmd_control 
+0x38da 017607 fetch 1 ,mem_module_temp_nl_discard_packet 
+0x38db 017608 rtneq hci_not_discard_packet 
+0x38dc 017609 branch module_hci_dicard_packet 
+:      017611 module_hci_in_excp:
+0x38dd 017612 call delay_10ms 
+0x38de 017613 call module_hci_event_invalid_packet 
+0x38df 017614 branch module_hci_release_except 
+:      017617 module_hci_release_except:
+0x38e0 017618 bpatch patch17_5 ,mem_patch17 
+0x38e1 017619 call uarta_prepare_rx 
+0x38e2 017620 fetch 2 ,core_uart_rxitems 
+0x38e3 017621 rtn blank 
+0x38e4 017622 iadd contru ,contru 
+0x38e5 017623 branch module_hci_dicard_bytes 
+:      017625 module_hci_dicard_packet:
+0x38e6 017626 call uarta_prepare_rx 
+0x38e7 017627 increase 2 ,contu 
+0x38e8 017628 ifetch 1 ,contu 
+0x38e9 017629 iadd contu ,contu 
+:      017630 module_hci_dicard_bytes:
+0x38ea 017631 branch uarta_rxdone 
+:      017634 module_hci_cmd_control:
+0x38eb 017635 bpatch patch17_6 ,mem_patch17 
+0x38ec 017636 fetch 1 ,mem_module_uart_opcode 
+0x38ed 017637 beq hci_cmd_set_bt_addr_req ,module_hci_cmd_set_bt_addr 
+0x38ee 017638 beq hci_cmd_set_le_addr_req ,module_hci_cmd_set_le_addr 
+0x38ef 017639 beq hci_cmd_set_visibility_req ,module_hci_cmd_set_visibility 
+0x38f0 017640 beq hci_cmd_set_bt_name_req ,module_hci_cmd_set_bt_name 
+0x38f1 017641 beq hci_cmd_set_le_name_req ,module_hci_cmd_set_le_name 
+0x38f2 017642 beq hci_cmd_spp_data_req ,module_hci_cmd_receive_spp_data 
+0x38f3 017643 beq hci_cmd_le_data_req ,module_hci_cmd_receive_le_data 
+0x38f4 017644 beq hci_cmd_status_irq ,module_hci_cmd_inquire_status 
+0x38f5 017645 beq hci_cmd_set_pairing_req ,module_hci_cmd_set_pairing_mode 
+0x38f6 017646 beq hci_cmd_set_pincode_req ,module_hci_cmd_set_pincode 
+0x38f7 017647 beq hci_cmd_set_uartcontrol_req ,module_hci_cmd_set_uart_control_mode 
+0x38f8 017648 beq hci_cmd_set_uart_baud_req ,module_hci_cmd_set_uart_baud 
+0x38f9 017649 beq hci_cmd_version_req ,module_hci_cmd_version_request 
+0x38fa 017650 beq hci_cmd_bt_disconnect ,module_hci_cmd_bt_disconnect 
+0x38fb 017651 beq hci_cmd_ble_disconnect ,module_hci_cmd_ble_disconnect 
+0x38fc 017652 beq hci_cmd_set_cod ,module_hci_cmd_set_cod 
+0x38fd 017653 beq hci_cmd_set_nvram_req ,module_hci_cmd_set_nvram 
+0x38fe 017654 beq hci_cmd_confirm_gkey ,module_hci_cmd_confirm_gkey 
+0x38ff 017655 beq hci_cmd_set_credit_given ,module_hci_cmd_set_credit_given 
+0x3900 017656 beq hci_cmd_auto_adv_scan ,module_hci_cmd_auto_adv 
+0x3901 017657 beq hci_cmd_power_req ,module_hci_cmd_power_request 
+0x3902 017658 beq hci_cmd_power_set ,module_hci_cmd_power_set 
+0x3903 017659 beq hci_cmd_passkey_entry ,module_hci_cmd_passkey_entry 
+0x3904 017660 beq hci_cmd_set_gpio ,module_hci_cmd_set_gpio 
+0x3905 017661 beq hci_cmd_read_gpio ,module_hci_cmd_read_gpio 
+0x3906 017662 beq hci_cmd_le_set_pairing ,module_hci_cmd_le_set_pairing_mode 
+0x3907 017663 beq hci_cmd_le_set_adv_data ,module_hci_cmd_le_set_adv_data 
+0x3908 017664 beq hci_cmd_le_set_scan_data ,module_hci_cmd_le_set_scan_data 
+0x3909 017665 beq hci_cmd_le_send_conn_update_req ,module_hci_cmd_le_send_conn_update_req 
+0x390a 017666 beq hci_cmd_le_set_adv_parm ,module_hci_cmd_set_le_adv_parameter 
+0x390b 017667 beq hci_cmd_le_start_pairing ,module_hci_cmd_le_start_pairing 
+0x390c 017668 beq hci_cmd_set_wake_gpio ,module_hci_cmd_set_wake_gpio 
+0x390d 017669 beq hci_cmd_set_tx_power ,module_hci_cmd_set_tx_power 
+0x390e 017670 beq hci_cmd_le_confirm_gkey ,module_hci_cmd_le_confirm_gkey 
+0x390f 017671 beq hci_cmd_reject_justwork ,module_hci_cmd_set_reject_justwork_flag 
+0x3910 017672 beq hci_cmd_reset_chip_req ,module_hci_cmd_reset_chip 
+0x3911 017673 beq hci_cmd_le_set_fixed_passkey ,module_hci_cmd_le_set_fixed_passkey 
+0x3912 017674 beq hci_cmd_delete_customize_service ,module_hci_cmd_delete_customize_service 
+0x3913 017675 beq hci_cmd_add_service_uuid ,module_hci_cmd_add_service_uuid 
+0x3914 017676 beq hci_cmd_add_characteristic_uuid ,module_hci_cmd_add_characteristic_uuid 
+0x3915 017677 beq hci_cmd_passkey_entry_input ,module_hci_cmd_le_passkey_entry_input 
+0x3916 017678 beq hci_cmd_ble_set_phy ,module_hci_cmd_ble_set_phy 
+0x3917 017679 beq hci_cmd_ble_read_current_phy ,module_hci_cmd_ble_read_current_phy 
+0x3918 017680 beq hci_cmd_ble_set_dle ,module_hci_cmd_ble_set_dle 
+0x3919 017681 beq hci_cmd_read_chip_data ,module_hci_cmd_read_chip_data 
+0x391a 017682 beq hci_cmd_write_chip_data ,module_hci_cmd_write_chip_data 
+0x391b 017683 beq hci_cmd_close_lpm ,module_hci_cmd_close_lpm 
+0x391c 017684 branch module_hci_event_receive_invalid_cmd 
+:      017689 module_hci_cmd_set_bt_addr:
+0x391d 017690 fetch 1 ,mem_module_uart_len 
+0x391e 017691 bne 6 ,module_hci_event_receive_invalid_cmd 
+0x391f 017692 ifetch 6 ,contru 
+0x3920 017693 store 6 ,mem_lap 
+0x3921 017694 branch module_hci_event_receive_valid_cmd 
+:      017697 module_hci_cmd_set_le_addr:
+0x3922 017698 fetch 1 ,mem_module_uart_len 
+0x3923 017699 bne 6 ,module_hci_event_receive_invalid_cmd 
+0x3924 017700 ifetch 6 ,contru 
+0x3925 017701 store 6 ,mem_le_lap 
+0x3926 017702 branch module_hci_event_receive_valid_cmd 
+:      017706 module_hci_cmd_set_visibility:
+0x3927 017707 fetch 1 ,mem_module_uart_len 
+0x3928 017708 bne 1 ,module_hci_event_receive_invalid_cmd 
+0x3929 017709 ifetcht 1 ,contru 
+0x392a 017710 storet 1 ,mem_module_bluetooth_stauts_by_command 
+0x392b 017711 call module_hci_event_receive_valid_cmd 
+0x392c 017712 fetch 2 ,mem_ui_state_map 
+0x392d 017713 rtnbit1 ui_state_ble_connected 
+0x392e 017714 rtnbit1 ui_state_bt_connected 
+:      017715 module_start_adv_discovery_by_command:
+0x392f 017716 fetch 1 ,mem_module_state 
+0x3930 017717 isolate1 moudle_state_bt_bit ,pdata 
+0x3931 017718 nbranch moudle_start_adv_by_command ,true 
+0x3932 017719 fetcht 1 ,mem_module_bluetooth_stauts_by_command 
+0x3933 017720 and temp ,0x03 ,pdata 
+0x3934 017721 store 1 ,mem_scan_mode 
+:      017722 moudle_start_adv_by_command:
+0x3935 017723 fetch 1 ,mem_module_state 
+0x3936 017724 isolate1 moudle_state_ble_bit ,pdata 
+0x3937 017725 nrtn true 
+0x3938 017726 fetcht 1 ,mem_module_bluetooth_stauts_by_command 
+0x3939 017727 isolate1 2 ,temp 
+0x393a 017728 branch app_ble_start_adv ,true 
+0x393b 017729 branch app_ble_stop_adv 
+:      017733 module_hci_cmd_set_bt_name:
+0x393c 017734 fetch 1 ,mem_module_uart_len 
+0x393d 017735 sub pdata ,67 ,null 
+0x393e 017736 nbranch module_hci_event_receive_invalid_cmd ,positive 
+0x393f 017737 store 1 ,mem_local_name_length 
+0x3940 017738 arg 8 ,loopcnt 
+0x3941 017739 call memset0 
+0x3942 017740 fetchr loopcnt ,1 ,mem_module_uart_len 
+0x3943 017741 arg mem_local_name ,contw 
+0x3944 017742 call uart_copy_rx_bytes_fast 
+0x3945 017743 branch module_hci_event_receive_valid_cmd 
+:      017747 module_hci_cmd_set_le_name:
+0x3946 017748 arg 29 ,pdata 
+0x3947 017749 arg mem_le_name_len ,contw 
+0x3948 017750 call module_hci_cmd_receive_store_mem 
+0x3949 017751 branch le_modified_name 
+:      017755 module_hci_cmd_receive_spp_data:
+0x394a 017756 fetch 1 ,mem_ui_state_map 
+0x394b 017757 bbit0 ui_state_bt_spp_conn ,module_hci_event_receive_invalid_cmd 
+0x394c 017758 call app_check_sniff 
+0x394d 017759 branch module_hci_cmd_spp_exit_sniff ,true 
+0x394e 017760 jam hci_not_discard_packet ,mem_module_temp_nl_discard_packet 
+0x394f 017761 call module_spp_clear_last_transmite_clock 
+0x3950 017762 fetch 1 ,mem_remote_credits 
+0x3951 017763 rtn blank 
+0x3952 017764 fetch 2 ,mem_nl_rx_len_all 
+0x3953 017765 nbranch module_hci_cmd_pass_init_ng_rx_len_all ,blank 
+0x3954 017766 fetch 1 ,mem_module_uart_len 
+0x3955 017767 store 2 ,mem_nl_rx_len_all 
+0x3956 017769 store 2 ,mem_nl_rx_data_src 
+0x3957 017770 storer contru ,2 ,mem_nl_rx_data_src 
+:      017771 module_hci_cmd_pass_init_ng_rx_len_all:
+0x3958 017772 call module_hci_cmd_get_current_packet_len_and_remain_len 
+0x3959 017773 branch spp_tx_rfcomm_packet 
+:      017775 module_hci_cmd_spp_exit_sniff:
+0x395a 017776 jam hci_not_discard_packet ,mem_module_temp_nl_discard_packet 
+0x395b 017777 branch module_exit_sniff 
+:      017779 module_hci_cmd_get_current_packet_len_and_remain_len:
+0x395c 017780 call module_hci_cmd_get_current_patcket_len 
+0x395d 017781 fetch 2 ,mem_nl_rx_len_all 
+0x395e 017782 fetcht 2 ,mem_current_packet_length 
+0x395f 017783 isub temp ,pdata 
+0x3960 017784 store 2 ,mem_nl_rx_len_all 
+0x3961 017785 rtn 
+:      017787 module_hci_cmd_get_current_patcket_len:
+0x3962 017788 fetch 2 ,mem_nl_rx_len_all 
+0x3963 017789 fetcht 2 ,mem_rfcomm_max_frame_size 
+0x3964 017790 call not_greater_than 
+0x3965 017791 fetcht 2 ,mem_pn_max_frame_size 
+0x3966 017792 call not_greater_than 
+0x3967 017793 store 2 ,mem_current_packet_length 
+0x3968 017794 rtn 
+:      017796 module_hci_command_tx_spp_tx_complete:
+0x3969 017797 jam hci_discard_packet ,mem_module_temp_nl_discard_packet 
+0x396a 017798 jam hci_cmd_spp_data_req ,mem_module_uart_opcode 
+0x396b 017799 branch module_hci_event_receive_valid_cmd 
+:      017803 module_hci_cmd_receive_le_data:
+0x396c 017804 fetch 2 ,mem_ui_state_map 
+0x396d 017805 bbit0 ui_state_ble_connected ,module_hci_event_receive_invalid_cmd 
+0x396e 017806 call module_check_ble_encrypt_state 
+0x396f 017807 branch module_hci_event_receive_invalid_cmd ,user 
+0x3970 017808 jam hci_not_discard_packet ,mem_module_temp_nl_discard_packet 
+0x3971 017809 fetch 2 ,mem_module_flag 
+0x3972 017810 bbit1 module_flag_ble_data_finish ,module_hci_cmd_receive_le_data_finish 
+0x3973 017811 fetch 1 ,mem_module_hci_notify_len 
+0x3974 017812 nrtn blank 
+0x3975 017813 jam hci_discard_packet ,mem_module_temp_nl_discard_packet 
+0x3976 017814 ifetch 2 ,contru 
+0x3977 017815 store 2 ,mem_module_hci_notify_handle 
+0x3978 017816 storer contru ,2 ,mem_module_hci_nofiy_addr 
+0x3979 017817 fetch 1 ,mem_module_uart_len 
+0x397a 017818 pincrease -2 
+0x397b 017819 nbranch module_hci_event_receive_invalid_cmd ,positive 
+0x397c 017820 branch module_hci_event_receive_invalid_cmd ,zero 
+0x397d 017821 store 1 ,mem_module_hci_notify_len 
+0x397e 017822 fetcht 2 ,mem_module_hci_notify_handle 
+0x397f 017823 increase -1 ,temp 
+0x3980 017824 call le_att_get_handle_ptr2 
+0x3981 017825 branch module_hci_cmd_transmit_handle_error ,blank 
+0x3982 017826 ifetcht 4 ,contr 
+0x3983 017827 setarg 0x01280302 
+0x3984 017828 isub temp ,null 
+0x3985 017829 nbranch module_hci_cmd_transmit_handle_error ,zero 
+0x3986 017830 ifetch 1 ,contr 
+0x3987 017831 store 1 ,mem_module_hci_notify_type 
+0x3988 017832 and_into 0x30 ,pdata 
+0x3989 017833 branch module_hci_cmd_transmit_handle_error ,blank 
+0x398a 017834 jam hci_not_discard_packet ,mem_module_temp_nl_discard_packet 
+0x398b 017835 call le_set_config_more_data 
+0x398c 017836 call module_hci_cmd_transmit_le_notify 
+0x398d 017837 call module_hci_cmd_transmit_le_notify 
+0x398e 017838 call module_hci_cmd_transmit_le_notify 
+0x398f 017839 fetch 2 ,mem_module_flag 
+0x3990 017840 rtnbit0 module_flag_ble_data_finish 
+:      017841 module_hci_cmd_receive_le_data_finish:
+0x3991 017842 jam hci_discard_packet ,mem_module_temp_nl_discard_packet 
+0x3992 017843 call module_clear_le_tx_data_flag 
+0x3993 017844 branch module_hci_event_receive_valid_cmd 
+:      017846 module_hci_cmd_transmit_handle_error:
+0x3994 017847 jam 0 ,mem_module_hci_notify_len 
+0x3995 017848 jam hci_discard_packet ,mem_module_temp_nl_discard_packet 
+0x3996 017849 call module_clear_le_tx_data_flag 
+0x3997 017850 branch module_hci_event_receive_invalid_cmd 
+:      017852 module_hci_cmd_transmit_le_notify:
+0x3998 017853 fetch 1 ,mem_module_hci_notify_len 
+0x3999 017854 rtn blank 
+0x399a 017855 call le_fifo_check_nearly_full 
+0x399b 017856 nrtn blank 
+0x399c 017857 call module_get_le_remote_mtu 
+0x399d 017858 bpatch patch17_7 ,mem_patch17 
+0x399e 017859 fetch 2 ,mem_le_local_mtu 
+0x399f 017860 call not_greater_than 
+0x39a0 017861 copy pdata ,temp 
+0x39a1 017862 fetch 1 ,mem_le_l2cap_att_states 
+0x39a2 017863 rtnbit1 ble_l2cap_recv_confirmation_packet 
+0x39a3 017864 add temp ,-3 ,pdata 
+0x39a4 017865 arg 251 ,temp 
+0x39a5 017866 call not_greater_than 
+0x39a6 017867 fetcht 1 ,mem_module_hci_notify_len 
+0x39a7 017868 call not_greater_than 
+0x39a8 017869 copy pdata ,rega 
+0x39a9 017870 copy temp ,pdata 
+0x39aa 017871 isub rega ,pdata 
+0x39ab 017872 store 1 ,mem_module_hci_notify_len 
+0x39ac 017873 call module_hci_cmd_transmit_le_notify_malloc_l2cap 
+0x39ad 017874 fetch 2 ,mem_module_hci_nofiy_addr 
+0x39ae 017875 copy pdata ,contru 
+0x39af 017876 copy rega ,loopcnt 
+0x39b0 017877 call uart_copy_rx_bytes_fast 
+0x39b1 017878 copy contru ,pdata 
+0x39b2 017879 store 2 ,mem_module_hci_nofiy_addr 
+0x39b3 017880 fetch 1 ,mem_module_hci_notify_len 
+0x39b4 017881 nrtn blank 
+0x39b5 017882 branch module_set_le_tx_data_flag 
+:      017884 module_hci_cmd_transmit_le_notify_malloc_l2cap:
+0x39b6 017885 fetcht 2 ,mem_module_hci_notify_handle 
+0x39b7 017886 fetch 1 ,mem_module_hci_notify_type 
+0x39b8 017887 bbit1 bit_characteristic_indicate ,le_att_malloc_tx_indication 
+0x39b9 017888 bbit1 bit_characteristic_notify ,le_att_malloc_tx_notify 
+0x39ba 017889 rtn 
+:      017893 module_get_le_remote_mtu:
+0x39bb 017894 arg 0x17 ,temp 
+0x39bc 017895 fetch 2 ,mem_module_flag 
+0x39bd 017896 rtnbit1 module_flag_ble_send_mtu23 
+0x39be 017897 fetcht 2 ,mem_le_remote_mtu 
+0x39bf 017898 rtn 
+:      017900 module_check_ble_encrypt_state:
+0x39c0 017901 fetch 2 ,mem_module_flag 
+0x39c1 017902 bbit1 module_flag_ble_data_encrypt ,le_check_encrypt_state 
+0x39c2 017903 branch disable_user 
+:      017907 module_hci_cmd_inquire_status:
+0x39c3 017908 branch module_hci_event_status_res 
+:      017912 module_hci_cmd_set_pairing_mode:
+0x39c4 017913 ifetch 1 ,contru 
+0x39c5 017914 beq br_pairing_mode_secure_connect_justwork ,module_hci_pairing_just_work_sc 
+0x39c6 017915 beq br_pairing_mode_secure_connect_passkey ,module_hci_pairing_passkey_sc 
+0x39c7 017916 beq br_pairing_mode_secure_connect_numeric ,module_hci_pairing_numeric_comparison_sc 
+0x39c8 017918 copy pdata ,rega 
+0x39c9 017919 call sp_br_secure_connection_disable 
+0x39ca 017920 call sc_reset 
+0x39cb 017921 copy rega ,pdata 
+0x39cc 017922 beq br_pairing_mode_pincode ,module_hci_pairing_pincode_mode 
+0x39cd 017923 beq br_pairing_mode_justwork ,module_hci_pairing_just_work_mode 
+0x39ce 017924 beq br_pairing_mode_passkey ,module_hci_pairing_passkey 
+0x39cf 017925 beq br_pairing_mode_numeric ,module_hci_pairing_numeric_comparison 
+0x39d0 017926 branch module_hci_event_receive_invalid_cmd 
+:      017928 module_hci_pairing_just_work_sc:
+0x39d1 017929 call sp_br_secure_connection_enable 
+0x39d2 017930 branch module_hci_pairing_just_work_mode 
+:      017932 module_hci_pairing_passkey_sc:
+0x39d3 017933 call sp_br_secure_connection_enable 
+0x39d4 017934 branch module_hci_pairing_passkey 
+:      017936 module_hci_pairing_numeric_comparison_sc:
+0x39d5 017937 call sp_br_secure_connection_enable 
+0x39d6 017938 branch module_hci_pairing_numeric_comparison 
+:      017940 module_hci_pairing_pincode_mode:
+0x39d7 017941 call sp_reset 
+0x39d8 017942 jam 0 ,mem_ssp_enable 
+0x39d9 017943 branch module_hci_event_receive_valid_cmd 
+:      017945 module_hci_pairing_just_work_mode:
+0x39da 017946 setarg io_capability_no_input_no_output 
+:      017947 module_hci_sspairing_mode:
+0x39db 017948 store 1 ,mem_ssp_mode_flag 
+0x39dc 017949 store 1 ,mem_lmp_io_cap_payload_iocap 
+0x39dd 017950 setarg oob_data_present_not_present 
+0x39de 017951 store 1 ,mem_lmp_io_cap_payload_oob_auth_data 
+0x39df 017952 setarg auth_req_mitm_protection_not_required_general_bonding 
+0x39e0 017953 store 1 ,mem_lmp_io_cap_payload_auth_req 
+0x39e1 017954 call ssp_enable 
+0x39e2 017955 jam 1 ,mem_ssp_enable 
+0x39e3 017956 branch module_hci_event_receive_valid_cmd 
+:      017957 module_hci_pairing_passkey:
+0x39e4 017958 setarg io_capability_keyboard_only 
+0x39e5 017959 branch module_hci_sspairing_mode 
+:      017961 module_hci_pairing_numeric_comparison:
+0x39e6 017962 setarg io_capability_display_yesno 
+0x39e7 017963 branch module_hci_sspairing_mode 
+:      017967 module_hci_cmd_set_pincode:
+0x39e8 017968 arg 16 ,pdata 
+0x39e9 017969 arg mem_pin_length ,contw 
+0x39ea 017970 branch module_hci_cmd_receive_store_mem 
+:      017974 module_hci_cmd_set_uart_control_mode:
+0x39eb 017975 ifetch 1 ,contru 
+0x39ec 017976 fetcht 1 ,mem_module_flag 
+0x39ed 017977 nsetflag blank ,module_flag_uart_flow_control ,temp 
+0x39ee 017978 storet 1 ,mem_module_flag 
+0x39ef 017979 fetcht 1 ,core_uart_ctrl 
+0x39f0 017980 nsetflag blank ,bit_uart_control_flow_control ,temp 
+0x39f1 017981 storet 1 ,core_uart_ctrl 
+0x39f2 017982 branch module_hci_event_receive_valid_cmd 
+:      017986 module_hci_cmd_set_uart_baud:
+0x39f3 017987 fetchr loopcnt ,1 ,mem_module_uart_len 
+0x39f4 017988 call string2dec_from_uart 
+0x39f5 017989 call uart_calc_baud_rate_config 
+0x39f6 017990 store uart_baud_len ,mem_module_uarta_baud_rate 
+0x39f7 017991 call module_hci_event_receive_valid_cmd 
+0x39f8 017992 call wait_uarttx 
+0x39f9 017993 fetch uart_baud_len ,mem_module_uarta_baud_rate 
+0x39fa 017994 branch uarta_init_baud_rate 
+:      017998 module_hci_cmd_version_request:
+0x39fb 017999 arg 2 ,rega 
+0x39fc 018000 arg mem_soft_version_num ,regb 
+0x39fd 018001 arg 0 ,temp 
+0x39fe 018002 branch module_hci_event_set_cmd 
+:      018006 module_hci_cmd_bt_disconnect:
+0x39ff 018007 fetch 2 ,mem_ui_state_map 
+0x3a00 018008 bbit0 ui_state_bt_connected ,module_hci_event_receive_invalid_cmd 
+:      018009 module_hci_cmd_bt_disconnect_doing:
+0x3a01 018010 call module_hci_event_receive_valid_cmd 
+0x3a02 018011 branch app_bt_disconnect 
+:      018015 module_hci_cmd_ble_disconnect:
+0x3a03 018016 fetch 2 ,mem_ui_state_map 
+0x3a04 018017 bbit0 ui_state_ble_connected ,module_hci_event_receive_invalid_cmd 
+:      018018 module_hci_cmd_ble_disconnect_doing:
+0x3a05 018019 call module_hci_event_receive_valid_cmd 
+0x3a06 018020 branch app_ble_disconnect 
+:      018024 module_hci_cmd_set_cod:
+0x3a07 018025 fetch 1 ,mem_module_uart_len 
+0x3a08 018026 bne 3 ,module_hci_event_receive_invalid_cmd 
+0x3a09 018027 ifetch 3 ,contru 
+0x3a0a 018028 store 3 ,mem_class 
+0x3a0b 018029 branch module_hci_event_receive_valid_cmd 
+:      018033 module_hci_cmd_set_nvram:
+0x3a0c 018034 fetchr loopcnt ,1 ,mem_module_uart_len 
+0x3a0d 018035 fetch 2 ,mem_nv_data_ptr 
+0x3a0e 018036 icopy contw 
+0x3a0f 018037 call uart_copy_rx_bytes_fast 
+0x3a10 018038 branch module_hci_event_receive_valid_cmd 
+:      018042 module_hci_cmd_confirm_gkey:
+0x3a11 018043 fetch 2 ,mem_ui_state_map 
+0x3a12 018044 bbit1 ui_state_ble_connected ,module_hci_cmd_le_confirm_gkey 
+0x3a13 018045 bbit0 ui_state_bt_connected ,module_hci_event_receive_invalid_cmd 
+0x3a14 018046 ifetch 1 ,contru 
+0x3a15 018047 fetcht 1 ,mem_flag_mode_ssp_pin 
+0x3a16 018048 setflag blank ,flag_mode_ssp_pin_comparison_result_bit ,temp 
+0x3a17 018049 set1 flag_mode_ssp_pin_reviceve_comparison_bit ,temp 
+0x3a18 018050 storet 1 ,mem_flag_mode_ssp_pin 
+0x3a19 018052 call module_hci_event_receive_valid_cmd 
+0x3a1a 018054 fetch 1 ,mem_flag_mode_ssp_pin 
+0x3a1b 018055 bbit1 flag_mode_ssp_pin_recieve_dhkey_bit ,module_hci_cmd_spp_number_comparison_result_is1 
+0x3a1c 018056 rtn 
+:      018058 module_hci_cmd_spp_number_comparison_result_is1:
+0x3a1d 018059 bbit1 flag_mode_ssp_pin_comparison_result_bit ,number_comparison_successed 
+0x3a1e 018060 jam 0 ,mem_flag_mode_ssp_pin 
+0x3a1f 018061 jam bt_cmd_dhkey_not_accept ,mem_fifo_temp 
+0x3a20 018062 branch ui_ipc_send_cmd 
+:      018066 module_hci_cmd_set_credit_given:
+0x3a21 018067 fetch 1 ,mem_ui_state_map 
+0x3a22 018068 rtnbit0 ui_state_bt_spp_conn 
+0x3a23 018069 fetch 1 ,mem_rfcomm_credit_flag 
+0x3a24 018070 rtneq credit_disable 
+0x3a25 018071 ifetch 1 ,contru 
+0x3a26 018072 fetcht 1 ,mem_credit_given 
+0x3a27 018073 iadd temp ,temp 
+0x3a28 018074 storet 1 ,mem_credit_given 
+0x3a29 018075 rtn 
+:      018079 module_hci_cmd_auto_adv:
+0x3a2a 018080 arg 0x40 ,loopcnt 
+0x3a2b 018081 arg mem_le_adv_data_len ,contw 
+0x3a2c 018082 call clear_mem 
+0x3a2d 018083 setarg 0 
+0x3a2e 018084 store 1 ,mem_regb 
+0x3a2f 018085 copy rega ,contru 
+:      018086 module_hci_cmd_auto_adv_loop:
+0x3a30 018087 copy contru ,pdata 
+0x3a31 018088 store 2 ,mem_regc 
+0x3a32 018089 call module_hci_cmd_auto_adv_adv_analys 
+0x3a33 018091 fetch 1 ,mem_regb 
+0x3a34 018092 fetcht 1 ,mem_temp 
+0x3a35 018093 increase 1 ,temp 
+0x3a36 018094 iadd temp ,pdata 
+0x3a37 018095 store 1 ,mem_regb 
+0x3a38 018097 sub pdata ,31 ,null 
+0x3a39 018098 nbranch module_hci_cmd_auto_adv_store_scan ,positive 
+:      018099 module_hci_cmd_auto_adv_store_adv:
+0x3a3a 018100 fetcht 1 ,mem_le_adv_data_len 
+0x3a3b 018101 setarg mem_le_adv_data 
+0x3a3c 018102 iadd temp ,pdata 
+0x3a3d 018103 store 2 ,mem_contw 
+0x3a3e 018104 fetcht 1 ,mem_temp 
+0x3a3f 018105 increase 1 ,temp 
+0x3a40 018106 fetch 1 ,mem_le_adv_data_len 
+0x3a41 018107 iadd temp ,pdata 
+0x3a42 018108 store 1 ,mem_le_adv_data_len 
+0x3a43 018109 branch module_hci_cmd_auto_adv_store_common 
+:      018110 module_hci_cmd_auto_adv_store_scan:
+0x3a44 018111 fetcht 1 ,mem_le_scan_data_len 
+0x3a45 018112 setarg mem_le_scan_data 
+0x3a46 018113 iadd temp ,pdata 
+0x3a47 018114 store 2 ,mem_contw 
+0x3a48 018115 fetcht 1 ,mem_temp 
+0x3a49 018116 increase 1 ,temp 
+0x3a4a 018117 fetch 1 ,mem_le_scan_data_len 
+0x3a4b 018118 iadd temp ,pdata 
+0x3a4c 018119 store 1 ,mem_le_scan_data_len 
+:      018120 module_hci_cmd_auto_adv_store_common:
+0x3a4d 018121 fetch 2 ,mem_contw 
+0x3a4e 018122 copy pdata ,contw 
+0x3a4f 018123 fetch 2 ,mem_regc 
+0x3a50 018124 copy pdata ,contru 
+0x3a51 018126 copy temp ,loopcnt 
+0x3a52 018127 call uart_copy_rx_bytes_fast 
+0x3a53 018129 fetch 1 ,mem_module_uart_len 
+0x3a54 018130 fetcht 1 ,mem_regb 
+0x3a55 018131 isub temp ,null 
+0x3a56 018132 nbranch module_hci_cmd_auto_adv_loop ,zero 
+0x3a57 018133 branch module_hci_event_receive_valid_cmd 
+:      018136 module_hci_cmd_auto_adv_adv_analys:
+0x3a58 018137 ifetch 1 ,contru 
+0x3a59 018138 store 1 ,mem_temp 
+0x3a5a 018139 ifetch 1 ,contru 
+0x3a5b 018140 store 1 ,mem_rega 
+0x3a5c 018141 rtn 
+:      018145 module_hci_cmd_power_request:
+0x3a5d 018146 arg 0 ,temp 
+0x3a5e 018147 arg 2 ,rega 
+0x3a5f 018148 fetch 2 ,mem_module_vdd_quotient 
+0x3a60 018149 store 2 ,mem_event_cmd_response_content 
+0x3a61 018150 arg mem_event_cmd_response_content ,regb 
+0x3a62 018151 branch module_hci_event_set_cmd 
+:      018155 module_hci_cmd_power_set:
+0x3a63 018156 fetch 1 ,mem_module_uart_len 
+0x3a64 018157 bne 1 ,module_hci_event_receive_invalid_cmd 
+0x3a65 018158 ifetch 1 ,contru 
+0x3a66 018159 store 1 ,mem_module_read_vdd_flag 
+0x3a67 018160 setarg 0x00 
+0x3a68 018161 store 2 ,mem_module_vdd_quotient 
+0x3a69 018162 branch module_hci_event_receive_valid_cmd 
+:      018166 module_hci_cmd_passkey_entry:
+0x3a6a 018167 fetch 1 ,mem_module_uart_len 
+0x3a6b 018168 bne 4 ,module_hci_event_receive_invalid_cmd 
+0x3a6c 018169 fetch 2 ,mem_ui_state_map 
+0x3a6d 018170 bbit1 ui_state_ble_connected ,module_hci_cmd_le_passkey_entry_input 
+0x3a6e 018171 ifetch 4 ,contru 
+0x3a6f 018172 store 4 ,mem_pin 
+0x3a70 018173 jam 4 ,mem_pin_length 
+0x3a71 018174 jam 0 ,mem_authentication_passkey_times 
+0x3a72 018175 call module_hci_event_receive_valid_cmd 
+0x3a73 018176 branch authentication_passkey 
+:      018180 module_hci_cmd_set_gpio:
+0x3a74 018181 fetch 1 ,mem_module_uart_len 
+0x3a75 018182 bne 3 ,module_hci_event_receive_invalid_cmd 
+0x3a76 018183 ifetch 1 ,contru 
+0x3a77 018184 beq hci_cmd_config_gpio_input ,module_set_gpio_input 
+0x3a78 018185 beq hci_cmd_config_gpio_output ,module_set_gpio_output 
+0x3a79 018186 branch module_hci_event_receive_invalid_cmd 
+:      018188 module_set_gpio_input:
+0x3a7a 018189 call module_hci_event_receive_valid_cmd 
+0x3a7b 018190 ifetcht 1 ,contru 
+0x3a7c 018191 ifetch 1 ,contru 
+0x3a7d 018192 beq gpio_input_high_impedance ,gpio_set_high_impedance 
+0x3a7e 018193 nsetflag blank ,7 ,temp 
+0x3a7f 018194 branch gpio_config_input 
+:      018196 module_set_gpio_output:
+0x3a80 018197 call module_hci_event_receive_valid_cmd 
+0x3a81 018198 ifetcht 1 ,contru 
+0x3a82 018199 ifetch 1 ,contru 
+0x3a83 018200 branch gpio_out_active ,blank 
+0x3a84 018201 branch gpio_out_inactive 
+:      018205 module_hci_cmd_read_gpio:
+0x3a85 018206 fetch 1 ,mem_module_uart_len 
+0x3a86 018207 bne 1 ,module_hci_event_receive_invalid_cmd 
+0x3a87 018208 ifetcht 1 ,contru 
+0x3a88 018209 call gpio_get_bit 
+0x3a89 018210 setarg 0x0 
+0x3a8a 018211 nsetflag true ,0 ,pdata 
+0x3a8b 018212 arg 1 ,rega 
+0x3a8c 018213 store 2 ,mem_event_cmd_response_content 
+0x3a8d 018214 arg mem_event_cmd_response_content ,regb 
+0x3a8e 018215 arg 0 ,temp 
+0x3a8f 018216 branch module_hci_event_set_cmd 
+:      018220 module_hci_cmd_le_set_pairing_mode:
+0x3a90 018221 ifetch 1 ,contru 
+0x3a91 018222 copy pdata ,temp 
+0x3a92 018223 beq le_pairing_mode_secure_connect_justwork ,module_le_set_pairing_mode_secure_justwork 
+0x3a93 018224 beq le_pairing_mode_secure_connect_numeric ,module_le_set_pairing_mode_secure_numeric 
+0x3a94 018225 beq le_pairing_mode_secure_connect_passkey ,module_le_set_pairing_mode_secure_passkey 
+0x3a95 018226 beq le_pairing_mode_secure_connect_passkey_res_input ,module_le_set_pairing_mode_secure_passkey_res_input 
+0x3a96 018227 store 1 ,mem_le_pairing_mode 
+0x3a97 018228 call sc_reset 
+0x3a98 018229 call le_secure_connection_disable 
+0x3a99 018230 fetch 1 ,mem_le_pairing_mode 
+0x3a9a 018231 beq le_pairing_mode_none ,module_le_set_no_pairing 
+0x3a9b 018232 beq le_pairing_mode_lagacy_justwork ,module_le_set_pairing_mode_lagacy_just_work 
+0x3a9c 018233 beq le_pairing_mode_lagacy_passkey ,module_le_set_pairing_mode_lagacy_passkey 
+0x3a9d 018234 beq le_pairing_mode_lagacy_passkey_res_input ,module_le_set_pairing_mode_lagacy_passkey_res_input 
+0x3a9e 018235 branch module_hci_event_receive_invalid_cmd 
+:      018237 module_le_set_pairing_mode_secure_justwork:
+0x3a9f 018238 storet 1 ,mem_le_pairing_mode 
+0x3aa0 018239 call le_secure_connection_enable 
+0x3aa1 018240 jam flag_le_bonding_mitm_secure ,mem_le_pres_auth 
+0x3aa2 018241 branch module_le_set_noinputnooutput 
+:      018242 module_le_set_pairing_mode_secure_numeric:
+0x3aa3 018243 storet 1 ,mem_le_pairing_mode 
+0x3aa4 018244 call le_secure_connection_enable 
+0x3aa5 018245 jam flag_le_bonding_mitm_secure ,mem_le_pres_auth 
+0x3aa6 018246 jam flag_iocap_displayyesno ,mem_le_pres_iocap 
+0x3aa7 018247 branch module_hci_event_receive_valid_cmd 
+:      018248 module_le_set_pairing_mode_secure_passkey:
+0x3aa8 018249 storet 1 ,mem_le_pairing_mode 
+0x3aa9 018250 call le_secure_connection_enable 
+0x3aaa 018251 jam flag_le_bonding_mitm_secure ,mem_le_pres_auth 
+0x3aab 018252 branch module_le_set_displayonly 
+:      018253 module_le_set_pairing_mode_secure_passkey_res_input:
+0x3aac 018254 storet 1 ,mem_le_pairing_mode 
+0x3aad 018255 call le_secure_connection_enable 
+0x3aae 018256 jam flag_le_bonding_mitm_secure ,mem_le_pres_auth 
+0x3aaf 018257 branch module_le_set_keboadonly 
+:      018260 module_le_set_no_pairing:
+0x3ab0 018261 jam flag_le_no_bonding_no_mitm ,mem_le_pres_auth 
+:      018262 module_le_set_noinputnooutput:
+0x3ab1 018263 jam flag_iocap_noinputnooutput ,mem_le_pres_iocap 
+0x3ab2 018264 branch module_hci_event_receive_valid_cmd 
+:      018265 module_le_set_pairing_mode_lagacy_just_work:
+0x3ab3 018266 jam flag_le_bonding_no_mitm ,mem_le_pres_auth 
+0x3ab4 018267 branch module_le_set_noinputnooutput 
+:      018268 module_le_set_pairing_mode_lagacy_passkey:
+0x3ab5 018269 jam flag_le_bonding_mitm ,mem_le_pres_auth 
+0x3ab6 018270 branch module_le_set_displayonly 
+:      018271 module_le_set_pairing_mode_lagacy_passkey_res_input:
+0x3ab7 018272 jam flag_le_bonding_mitm ,mem_le_pres_auth 
+0x3ab8 018273 branch module_le_set_keboadonly 
+:      018274 module_le_set_keboadonly:
+0x3ab9 018275 jam flag_iocap_keyboardonly ,mem_le_pres_iocap 
+0x3aba 018276 branch module_hci_event_receive_valid_cmd 
+:      018277 module_le_set_displayonly:
+0x3abb 018278 jam flag_iocap_displayonly ,mem_le_pres_iocap 
+0x3abc 018279 branch module_hci_event_receive_valid_cmd 
+:      018283 module_hci_cmd_le_set_adv_data:
+0x3abd 018284 arg 31 ,pdata 
+0x3abe 018285 arg mem_le_adv_data_len ,contw 
+0x3abf 018286 branch module_hci_cmd_receive_store_mem 
+:      018290 module_hci_cmd_le_set_scan_data:
+0x3ac0 018291 arg 31 ,pdata 
+0x3ac1 018292 arg mem_le_scan_data_len ,contw 
+0x3ac2 018293 branch module_hci_cmd_receive_store_mem 
+:      018295 module_hci_cmd_receive_store_mem:
+0x3ac3 018296 fetchr loopcnt ,1 ,mem_module_uart_len 
+0x3ac4 018297 isub loopcnt ,null 
+0x3ac5 018298 nbranch module_hci_event_receive_invalid_cmd ,positive 
+0x3ac6 018299 istorer loopcnt ,1 ,contw 
+0x3ac7 018300 call uart_copy_rx_bytes_fast 
+0x3ac8 018301 branch module_hci_event_receive_valid_cmd 
+:      018305 module_hci_cmd_le_send_conn_update_req:
+0x3ac9 018306 fetch 2 ,mem_ui_state_map 
+0x3aca 018307 bbit0 ui_state_ble_connected ,module_hci_event_receive_invalid_cmd 
+0x3acb 018308 fetch 1 ,mem_module_uart_len 
+0x3acc 018309 bne 0x08 ,module_hci_event_receive_invalid_cmd 
+0x3acd 018310 ifetch 8 ,contru 
+0x3ace 018311 store 8 ,mem_le_interval_min 
+0x3acf 018312 jam bt_cmd_le_update_conn ,mem_fifo_temp 
+0x3ad0 018313 call ui_ipc_send_cmd 
+0x3ad1 018314 branch module_hci_event_receive_valid_cmd 
+:      018318 module_hci_cmd_set_le_adv_parameter:
+0x3ad2 018319 ifetch 2 ,contru 
+0x3ad3 018320 store 2 ,mem_le_adv_interval 
+0x3ad4 018321 branch module_hci_event_receive_valid_cmd 
+:      018325 module_hci_cmd_le_start_pairing:
+0x3ad5 018326 fetch 1 ,mem_le_pairing_mode 
+0x3ad6 018327 branch module_hci_event_receive_invalid_cmd ,blank 
+0x3ad7 018328 fetch 1 ,mem_le_pairing_state 
+0x3ad8 018329 bne flag_le_pairing_null ,module_hci_event_receive_invalid_cmd 
+0x3ad9 018330 fetch 1 ,mem_le_enc_state 
+0x3ada 018331 bne flag_le_enc_null ,module_hci_event_receive_invalid_cmd 
+0x3adb 018332 call check_51cmd_le_smp_sec_req 
+0x3adc 018333 branch module_hci_event_receive_valid_cmd 
+:      018337 module_hci_cmd_set_wake_gpio:
+0x3add 018338 fetch 1 ,mem_module_uart_len 
+0x3ade 018339 bne 5 ,module_hci_event_receive_invalid_cmd 
+0x3adf 018340 ifetch 1 ,contru 
+0x3ae0 018341 store 1 ,mem_module_mcu_wake_pin 
+0x3ae1 018342 ifetch 4 ,contru 
+0x3ae2 018343 store 4 ,mem_module_mcu_wake_delay_us 
+0x3ae3 018344 fetcht 1 ,mem_module_mcu_wake_pin 
+0x3ae4 018345 call gpio_config_output 
+0x3ae5 018346 call module_set_mcu_wake_pin_low 
+0x3ae6 018347 branch module_hci_event_receive_valid_cmd 
+:      018351 module_hci_cmd_set_tx_power:
+0x3ae7 018352 fetch 1 ,mem_module_uart_len 
+0x3ae8 018353 bne 0x01 ,module_hci_event_receive_invalid_cmd 
+0x3ae9 018354 ifetch 1 ,contru 
+0x3aea 018355 store 1 ,mem_tx_power 
+0x3aeb 018356 branch module_hci_event_receive_valid_cmd 
+:      018360 module_hci_cmd_le_confirm_gkey:
+0x3aec 018361 ifetch 1 ,contru 
+0x3aed 018362 beq 0x01 ,module_hci_cmd_le_confirm_gkey_fail 
+0x3aee 018363 fetch 1 ,mem_le_secure_connect_state 
+0x3aef 018364 beq le_sc_stat_send_public_key ,module_hci_cmd_le_confirm_gkey_ok 
+0x3af0 018365 beq le_sc_stat_receive_dhkey ,module_hci_cmd_le_confirm_gkey_ok 
+0x3af1 018366 beq le_sc_stat_wait_confirm_gkey ,module_hci_cmd_le_confirm_gkey_ok 
+0x3af2 018367 branch module_hci_event_receive_invalid_cmd 
+:      018368 module_hci_cmd_le_confirm_gkey_ok:
+0x3af3 018369 jam flag_le_sc_confrim_gkey_ok ,mem_le_sc_confirm_gkey_flag 
+0x3af4 018370 branch module_hci_event_receive_valid_cmd 
+:      018372 module_hci_cmd_le_confirm_gkey_fail:
+0x3af5 018373 call le_send_pairing_confirm_value_failed 
+0x3af6 018374 branch module_hci_event_receive_valid_cmd 
+:      018378 module_hci_cmd_set_reject_justwork_flag:
+0x3af7 018379 fetch 1 ,mem_module_uart_len 
+0x3af8 018380 bne 0x01 ,module_hci_event_receive_invalid_cmd 
+0x3af9 018381 call module_hci_event_receive_valid_cmd 
+0x3afa 018382 ifetch 1 ,contru 
+0x3afb 018383 branch classic_bt_clr_reject_justwork_flag ,blank 
+0x3afc 018384 branch classic_bt_set_reject_justwork_flag 
+:      018388 module_hci_cmd_reset_chip:
+0x3afd 018389 call module_hci_event_receive_valid_cmd 
+0x3afe 018390 call wait_uarttx 
+0x3aff 018391 jam 0x01 ,core_reset 
+0x3b00 018392 branch loop 
+:      018396 module_hci_cmd_le_set_fixed_passkey:
+0x3b01 018397 fetch 1 ,mem_module_uart_len 
+0x3b02 018398 beq 0 ,module_hci_event_receive_invalid_cmd 
+0x3b03 018399 ifetch 1 ,contru 
+0x3b04 018400 branch module_hci_cmd_le_set_random_passkey ,blank 
+0x3b05 018401 fetch 1 ,mem_module_uart_len 
+0x3b06 018402 bne 5 ,module_hci_event_receive_invalid_cmd 
+0x3b07 018403 ifetch 4 ,contru 
+0x3b08 018404 arg 1000000 ,temp 
+0x3b09 018405 isub temp ,null 
+0x3b0a 018406 branch module_hci_event_receive_invalid_cmd ,positive 
+0x3b0b 018407 store 4 ,mem_le_tk 
+0x3b0c 018408 call le_set_config_fixed_tk 
+0x3b0d 018409 branch module_hci_event_receive_valid_cmd 
+:      018411 module_hci_cmd_le_set_random_passkey:
+0x3b0e 018412 call le_clr_config_fixed_tk 
+0x3b0f 018413 branch module_hci_event_receive_valid_cmd 
+:      018417 module_hci_cmd_delete_customize_service:
+0x3b10 018418 ifetcht 2 ,contru 
+0x3b11 018419 call le_att_get_handle_ptr2 
+0x3b12 018420 add contr ,-2 ,contw 
+0x3b13 018421 setarg 0x0000 
+0x3b14 018422 istore 2 ,contw 
+0x3b15 018423 branch module_hci_event_receive_valid_cmd 
+:      018427 module_hci_cmd_add_service_uuid:
+0x3b16 018428 call module_hci_cmd_add_service_uuid_set_uuid 
+0x3b17 018429 call uart_copy_rx_bytes_len_data 
+0x3b18 018430 setarg 0x0000 
+0x3b19 018431 istore 2 ,contw 
+0x3b1a 018432 branch module_hci_event_uuid_handle 
+:      018437 module_hci_cmd_add_characteristic_uuid:
+0x3b1b 018438 ifetch 1 ,contru 
+0x3b1c 018439 call module_hci_cmd_add_characteristic_uuid_set_handle 
+0x3b1d 018440 call module_hci_cmd_add_characteristic_uuid_set_uuid 
+0x3b1e 018441 branch module_hci_event_uuid_handle 
+:      018444 module_hci_cmd_add_service_uuid_set_uuid:
+0x3b1f 018445 call le_att_creat_new_handle 
+0x3b20 018446 setarg 0x280002 
+0x3b21 018447 istore 3 ,contw 
+0x3b22 018448 rtn 
+:      018451 module_hci_cmd_add_characteristic_uuid_set_handle:
+0x3b23 018452 store 1 ,mem_pdatatemp 
+0x3b24 018453 call le_att_creat_new_handle 
+0x3b25 018454 setarg 0x01280302 
+0x3b26 018455 istore 4 ,contw 
+0x3b27 018456 fetch 1 ,mem_pdatatemp 
+0x3b28 018457 istore 3 ,contw 
+0x3b29 018458 rtn 
+:      018461 module_hci_cmd_add_characteristic_uuid_set_uuid:
+0x3b2a 018462 call le_att_get_last_handle 
+0x3b2b 018463 ifetch 1 ,contru 
+0x3b2c 018464 and pdata ,0x1f ,loopcnt 
+0x3b2d 018465 copy pdata ,rega 
+0x3b2e 018466 isolate1 bit_of_write_authenticated ,rega 
+0x3b2f 018467 setflag true ,bit_of_att_handle_write_authenticated ,temp 
+0x3b30 018468 isolate1 bit_of_read_authenticated ,rega 
+0x3b31 018469 setflag true ,bit_of_att_handle_read_authenticated ,temp 
+0x3b32 018470 istoret 2 ,contw 
+0x3b33 018471 copy loopcnt ,pdata 
+0x3b34 018472 istore 1 ,contw 
+0x3b35 018473 call uart_copy_rx_bytes 
+0x3b36 018474 call uart_copy_rx_bytes_len_data 
+0x3b37 018475 setarg 0 
+0x3b38 018476 istore 2 ,contw 
+0x3b39 018477 and temp ,0xff ,temp 
+0x3b3a 018478 increase -1 ,temp 
+0x3b3b 018479 call le_att_get_handle_ptr2 
+0x3b3c 018480 add contr ,4 ,contr 
+0x3b3d 018481 ifetch 1 ,contr 
+0x3b3e 018482 bbit1 bit_characteristic_notify ,module_hci_cmd_add_characteristic_uuid_set_ccc_uuid 
+0x3b3f 018483 bbit1 bit_characteristic_indicate ,module_hci_cmd_add_characteristic_uuid_set_ccc_uuid 
+0x3b40 018484 increase 1 ,temp 
+0x3b41 018485 rtn 
+:      018488 module_hci_cmd_add_characteristic_uuid_set_ccc_uuid:
+0x3b42 018489 call le_att_get_last_handle 
+0x3b43 018490 isolate1 bit_of_notify_authenticated ,rega 
+0x3b44 018491 setflag true ,bit_of_att_handle_write_authenticated ,temp 
+0x3b45 018492 istoret 2 ,contw 
+0x3b46 018493 setarg 0x02290202 
+0x3b47 018494 istore 8 ,contw 
+0x3b48 018495 increase -1 ,temp 
+0x3b49 018496 rtn 
+:      018499 le_att_creat_new_handle:
+0x3b4a 018500 call le_att_get_last_handle 
+0x3b4b 018501 istoret 2 ,contw 
+0x3b4c 018502 rtn 
+:      018505 uart_copy_rx_bytes_len_data:
+0x3b4d 018506 ifetch 1 ,contru 
+0x3b4e 018507 copy pdata ,loopcnt 
+0x3b4f 018508 istore 1 ,contw 
+0x3b50 018509 branch uart_copy_rx_bytes 
+:      018513 module_hci_cmd_le_passkey_entry_input:
+0x3b51 018514 fetch 1 ,mem_le_pairing_state 
+0x3b52 018515 bne flag_le_pairing_receive_pairing_confirm ,module_hci_event_receive_invalid_cmd 
+0x3b53 018516 fetch 1 ,mem_le_pairing_mode 
+0x3b54 018517 beq le_pairing_mode_lagacy_passkey_res_input ,module_hci_cmd_passkey_entry_res_input 
+0x3b55 018518 beq le_pairing_mode_secure_connect_passkey_res_input ,module_hci_cmd_passkey_entry_sc_res_input 
+0x3b56 018519 branch module_hci_event_receive_invalid_cmd 
+:      018521 module_hci_cmd_passkey_entry_sc_res_input:
+0x3b57 018522 jam le_sp_flag_commit_256 ,mem_le_secure_connect_flag 
+0x3b58 018523 jam le_sc_stat_passkey_wait_confirm ,mem_le_secure_connect_state 
+0x3b59 018524 branch module_hci_cmd_receive_ble_passkey 
+:      018526 module_hci_cmd_receive_ble_passkey:
+0x3b5a 018527 ifetch 4 ,contru 
+0x3b5b 018528 store 4 ,mem_le_tk 
+0x3b5c 018529 branch module_hci_event_receive_valid_cmd 
+:      018531 module_hci_cmd_passkey_entry_res_input:
+0x3b5d 018532 call module_hci_cmd_receive_ble_passkey 
+0x3b5e 018533 branch le_send_smp_pairing_confirm 
+:      018538 module_hci_cmd_ble_set_phy:
+0x3b5f 018539 fetch 1 ,mem_module_uart_len 
+0x3b60 018540 bne 2 ,module_hci_event_receive_invalid_cmd 
+0x3b61 018541 ifetcht 2 ,contru 
+0x3b62 018542 call le_set_phys 
+0x3b63 018543 branch module_hci_event_receive_valid_cmd 
+:      018547 module_hci_cmd_ble_read_current_phy:
+0x3b64 018548 arg 0 ,temp 
+0x3b65 018549 arg 2 ,rega 
+0x3b66 018550 arg mem_context + coffset_le_rx_phy ,regb 
+0x3b67 018551 branch module_hci_event_set_cmd 
+:      018555 module_hci_cmd_ble_set_dle:
+0x3b68 018556 fetch 1 ,mem_module_uart_len 
+0x3b69 018557 bne 8 ,module_hci_event_receive_invalid_cmd 
+0x3b6a 018558 ifetch 8 ,contru 
+0x3b6b 018559 call le_set_dle 
+0x3b6c 018560 branch module_hci_event_receive_valid_cmd 
+:      018564 module_hci_cmd_read_chip_data:
+0x3b6d 018565 ifetchr rega ,1 ,contru 
+0x3b6e 018566 ifetchr regb ,2 ,contru 
+0x3b6f 018567 arg 0 ,temp 
+0x3b70 018568 branch module_hci_event_set_cmd 
+:      018572 module_hci_cmd_write_chip_data:
+0x3b71 018573 fetchr loopcnt ,1 ,mem_module_uart_len 
+0x3b72 018574 increase -2 ,loopcnt 
+0x3b73 018575 ifetch 2 ,contru 
+0x3b74 018576 copy pdata ,contw 
+0x3b75 018577 call uart_copy_rx_bytes_fast 
+0x3b76 018578 branch module_hci_event_receive_valid_cmd 
+:      018583 module_hci_cmd_close_lpm:
+0x3b77 018584 jam 0 ,mem_lpm_mode 
+0x3b78 018585 branch module_hci_event_receive_valid_cmd 
+:      018590 module_hci_event_receive_invalid_cmd:
+0x3b79 018591 arg 1 ,temp 
+0x3b7a 018592 arg 0 ,rega 
+0x3b7b 018593 branch module_hci_event_set_cmd 
+:      018596 module_hci_event_receive_valid_cmd:
+0x3b7c 018597 arg 0 ,temp 
+0x3b7d 018598 arg 0 ,rega 
+0x3b7e 018599 branch module_hci_event_set_cmd 
+:      018603 module_hci_event_spp_connect:
+0x3b7f 018604 jam hci_event_spp_conn_rep ,mem_module_uart_opcode 
+0x3b80 018605 branch module_hci_event_enter_standby_mode_len0 
+:      018609 module_hci_event_le_connect:
+0x3b81 018610 jam hci_event_le_conn_rep ,mem_module_uart_opcode 
+0x3b82 018611 branch module_hci_event_enter_standby_mode_len0 
+:      018615 module_hci_event_spp_disconnect:
+0x3b83 018616 jam hci_event_spp_dis_rep ,mem_module_uart_opcode 
+0x3b84 018617 branch module_hci_event_enter_standby_mode_len0 
+:      018621 module_hci_event_le_disconnect:
+0x3b85 018622 jam hci_event_le_dis_rep ,mem_module_uart_opcode 
+0x3b86 018623 branch module_hci_event_enter_standby_mode_len0 
+:      018631 module_hci_event_set_cmd:
+0x3b87 018632 fetch 1 ,mem_module_uart_opcode 
+0x3b88 018633 copy pdata ,regc 
+0x3b89 018634 jam hci_event_cmd_res ,mem_module_uart_opcode 
+0x3b8a 018635 setarg 2 
+0x3b8b 018636 iadd rega ,pdata 
+0x3b8c 018637 call module_hci_prepare_tx 
+0x3b8d 018638 copy regc ,pdata 
+0x3b8e 018639 istore 1 ,contwu 
+0x3b8f 018640 istoret 1 ,contwu 
+0x3b90 018641 copy rega ,loopcnt 
+0x3b91 018642 copy regb ,contr 
+0x3b92 018643 call uart_copy_tx_bytes 
+0x3b93 018644 branch module_hci_transmit_tx 
+:      018648 module_hci_event_receive_spp_data:
+0x3b94 018650 call module_spp_clear_last_transmite_clock 
+0x3b95 018651 jam hci_event_spp_data_rep ,mem_module_uart_opcode 
+0x3b96 018652 fetch 1 ,mem_current_length 
+0x3b97 018653 rtn blank 
+0x3b98 018654 call module_hci_prepare_tx 
+0x3b99 018655 fetch 1 ,mem_current_length 
+0x3b9a 018656 copy pdata ,loopcnt 
+0x3b9b 018657 fetch 2 ,mem_rfcomm_uih_payload_ptr 
+0x3b9c 018658 copy pdata ,contr 
+0x3b9d 018659 call uart_copy_tx_bytes_fast 
+0x3b9e 018660 branch module_hci_transmit_tx 
+:      018665 module_hci_event_receive_le_data:
+0x3b9f 018666 jam hci_event_le_data_rep ,mem_module_uart_opcode 
+0x3ba0 018667 add loopcnt ,2 ,pdata 
+0x3ba1 018668 call module_hci_prepare_tx 
+0x3ba2 018669 fetch 2 ,mem_module_le_rx_data_handle 
+0x3ba3 018670 istore 2 ,contwu 
+0x3ba4 018671 fetch 2 ,mem_module_le_rx_data_address 
+0x3ba5 018672 icopy contr 
+0x3ba6 018673 call uart_copy_tx_bytes_fast 
+0x3ba7 018674 copy contr ,pdata 
+0x3ba8 018675 store 2 ,mem_module_le_rx_data_address 
+0x3ba9 018676 branch module_hci_transmit_tx 
+:      018680 module_hci_event_enter_standby_mode:
+0x3baa 018681 jam hci_event_standby_rep ,mem_module_uart_opcode 
+:      018682 module_hci_event_enter_standby_mode_len0:
+0x3bab 018683 setarg 0 
+0x3bac 018684 call module_hci_prepare_tx 
+0x3bad 018685 branch module_hci_transmit_tx 
+:      018689 module_hci_event_status_res:
+0x3bae 018690 jam hci_event_status_res ,mem_module_uart_opcode 
+0x3baf 018691 setarg 1 
+0x3bb0 018692 call module_hci_prepare_tx 
+0x3bb1 018694 call module_hci_read_bt_status 
+0x3bb2 018696 fetch 2 ,mem_ui_state_map 
+0x3bb3 018697 arg ui_state_bt_hid_conn ,queue 
+0x3bb4 018698 qisolate1 pdata 
+0x3bb5 018699 setflag true ,3 ,temp 
+0x3bb6 018701 arg ui_state_ble_connected ,queue 
+0x3bb7 018702 qisolate1 pdata 
+0x3bb8 018703 setflag true ,5 ,temp 
+0x3bb9 018705 fetch 1 ,mem_ui_state_map 
+0x3bba 018706 arg ui_state_bt_spp_conn ,queue 
+0x3bbb 018707 qisolate1 pdata 
+0x3bbc 018708 setflag true ,4 ,temp 
+0x3bbd 018710 istoret 1 ,contwu 
+0x3bbe 018711 branch module_hci_transmit_tx 
+:      018715 module_hci_read_bt_status:
+0x3bbf 018716 arg 0 ,temp 
+0x3bc0 018717 fetch 1 ,mem_scan_mode 
+0x3bc1 018718 arg inq_scan_mode ,queue 
+0x3bc2 018719 qisolate1 pdata 
+0x3bc3 018720 setflag true ,0 ,temp 
+0x3bc4 018721 arg page_scan_mode ,queue 
+0x3bc5 018722 qisolate1 pdata 
+0x3bc6 018723 setflag true ,1 ,temp 
+0x3bc7 018725 fetch 1 ,mem_le_adv_enable 
+0x3bc8 018726 arg 0 ,queue 
+0x3bc9 018727 qisolate1 pdata 
+0x3bca 018728 setflag true ,2 ,temp 
+0x3bcb 018729 rtn 
+:      018733 module_hci_event_store_device:
+0x3bcc 018734 jam hci_event_nvram_rep ,mem_module_uart_opcode 
+0x3bcd 018735 fetch 1 ,mem_nv_data_number 
+0x3bce 018736 mul32 pdata ,34 ,pdata 
+0x3bcf 018737 icopy loopcnt 
+0x3bd0 018738 call module_hci_prepare_tx 
+0x3bd1 018739 fetch 2 ,mem_nv_data_ptr 
+0x3bd2 018740 icopy contr 
+0x3bd3 018741 call uart_copy_tx_bytes_fast 
+0x3bd4 018742 branch module_hci_transmit_tx 
+:      018746 module_hci_event_gkey_generate:
+0x3bd5 018747 jam hci_event_gkey ,mem_module_uart_opcode 
+0x3bd6 018748 setarg 4 
+0x3bd7 018749 call module_hci_prepare_tx 
+0x3bd8 018750 fetch 4 ,mem_gkey 
+0x3bd9 018751 istore 4 ,contwu 
+0x3bda 018752 branch module_hci_transmit_tx 
+:      018756 module_hci_event_invalid_packet:
+0x3bdb 018757 jam hci_event_invalid_packet ,mem_module_uart_opcode 
+0x3bdc 018758 fetch 2 ,core_uart_rxitems 
+0x3bdd 018759 arg 0x40 ,temp 
+0x3bde 018760 call not_greater_than 
+0x3bdf 018761 copy pdata ,rega 
+0x3be0 018762 copy pdata ,loopcnt 
+0x3be1 018763 call uarta_prepare_rx 
+0x3be2 018764 arg mem_module_rx_error_data_buffer ,contw 
+0x3be3 018765 call uart_copy_rx_bytes_fast 
+0x3be4 018766 copy rega ,pdata 
+0x3be5 018767 copy rega ,loopcnt 
+0x3be6 018768 call module_hci_prepare_tx 
+0x3be7 018769 arg mem_module_rx_error_data_buffer ,contr 
+0x3be8 018770 call uart_copy_tx_bytes_fast 
+0x3be9 018771 branch module_hci_transmit_tx 
+:      018775 module_hci_event_passkey_entry_mode:
+0x3bea 018776 jam hci_event_get_passkey ,mem_module_uart_opcode 
+0x3beb 018777 branch module_hci_event_enter_standby_mode_len0 
+:      018781 module_hci_event_le_tk:
+0x3bec 018782 jam hci_event_le_tk ,mem_module_uart_opcode 
+0x3bed 018783 setarg 4 
+0x3bee 018784 call module_hci_prepare_tx 
+0x3bef 018785 fetch 4 ,mem_le_tk 
+0x3bf0 018786 istore 4 ,contwu 
+0x3bf1 018787 branch module_hci_transmit_tx 
+:      018791 module_hci_event_le_pairing_fail:
+0x3bf2 018792 arg flag_ble_pairing_fail ,rega 
+0x3bf3 018793 branch module_hci_event_pairing_completed 
+:      018795 module_hci_event_le_pairing_success:
+0x3bf4 018796 arg flag_ble_pairing_success ,rega 
+0x3bf5 018797 branch module_hci_event_pairing_completed 
+:      018799 module_hci_event_bt_pairing_fail:
+0x3bf6 018800 arg flag_bt_pairing_fail ,rega 
+0x3bf7 018801 branch module_hci_event_pairing_completed 
+:      018803 module_hci_event_bt_pairing_success:
+0x3bf8 018804 arg flag_bt_pairing_success ,rega 
+:      018806 module_hci_event_pairing_completed:
+0x3bf9 018807 jam 0 ,mem_flag_mode_ssp_pin 
+0x3bfa 018808 jam hci_event_le_pairing_state ,mem_module_uart_opcode 
+0x3bfb 018809 setarg 2 
+0x3bfc 018810 call module_hci_prepare_tx 
+0x3bfd 018811 copy rega ,pdata 
+0x3bfe 018812 istore 2 ,contwu 
+0x3bff 018813 branch module_hci_transmit_tx 
+:      018817 module_hci_event_pause_enc:
+0x3c00 018818 arg flag_event_pause_enc ,regc 
+0x3c01 018819 branch module_hci_event_enc 
+:      018821 module_hci_event_start_enc:
+0x3c02 018822 arg flag_event_start_enc ,regc 
+:      018824 module_hci_event_enc:
+0x3c03 018825 jam hci_event_le_encryption_state ,mem_module_uart_opcode 
+0x3c04 018826 setarg 1 
+0x3c05 018827 call module_hci_prepare_tx 
+0x3c06 018828 copy regc ,pdata 
+0x3c07 018829 istore 1 ,contwu 
+0x3c08 018830 branch module_hci_transmit_tx 
+:      018834 module_hci_event_le_gkey:
+0x3c09 018835 jam hci_event_le_gkey ,mem_module_uart_opcode 
+0x3c0a 018836 setarg 4 
+0x3c0b 018837 call module_hci_prepare_tx 
+0x3c0c 018838 fetch 4 ,mem_gkey 
+0x3c0d 018839 istore 4 ,contwu 
+0x3c0e 018840 branch module_hci_transmit_tx 
+:      018845 module_hci_event_uuid_handle:
+0x3c0f 018846 storet 2 ,mem_temp 
+0x3c10 018847 jam hci_event_uuid_handle ,mem_module_uart_opcode 
+0x3c11 018848 setarg 2 
+0x3c12 018849 call module_hci_prepare_tx 
+0x3c13 018850 fetcht 2 ,mem_temp 
+0x3c14 018851 istoret 2 ,contwu 
+0x3c15 018852 branch module_hci_transmit_tx 
+:      018856 module_hci_event_le_input_passkey:
+0x3c16 018857 jam hci_event_le_input_gkey ,mem_module_uart_opcode 
+0x3c17 018858 branch module_hci_event_enter_standby_mode_len0 
+:      018862 module_hci_event_le_update_phy:
+0x3c18 018863 jam hci_ble_update_phy_event ,mem_module_uart_opcode 
+0x3c19 018864 setarg 2 
+0x3c1a 018865 call module_hci_prepare_tx 
+0x3c1b 018866 fetch 2 ,mem_context + coffset_le_rx_phy 
+0x3c1c 018867 istore 2 ,contwu 
+0x3c1d 018868 branch module_hci_transmit_tx 
+:      018880 module_hci_prepare_tx:
+0x3c1e 018881 jam 0x02 ,mem_module_uart_cmd 
+0x3c1f 018882 store 1 ,mem_module_uart_len 
+0x3c20 018883 storet 8 ,mem_temp 
+0x3c21 018884 bpatch patch18_0 ,mem_patch18 
+0x3c22 018885 call module_set_mcu_wake_pin_high_delay 
+0x3c23 018886 fetcht 8 ,mem_temp 
+0x3c24 018887 call uarta_prepare_tx_register_push 
+0x3c25 018888 fetch 3 ,mem_module_uart_cmd 
+0x3c26 018889 istore 3 ,contwu 
+0x3c27 018890 rtn 
+:      018892 module_hci_transmit_tx:
+0x3c28 018893 bpatch patch18_1 ,mem_patch18 
+0x3c29 018894 branch uarta_send_register_pop 
+:      018896 module_set_mcu_wake_pin_high_delay:
+0x3c2a 018897 call module_check_mcu_wake_pin_high 
+0x3c2b 018898 rtn true 
+:      018899 module_set_mcu_wake_pin_h_delay:
+0x3c2c 018900 call module_set_mcu_wake_pin_high 
+0x3c2d 018901 fetch 4 ,mem_module_mcu_wake_delay_us 
+0x3c2e 018902 rshift2 pdata ,pdata 
+0x3c2f 018903 rtn blank 
+0x3c30 018904 branch delay 
+:      018906 module_set_mcu_wake_pin_high:
+0x3c31 018907 fetcht 1 ,mem_module_mcu_wake_pin 
+0x3c32 018908 branch gpio_out_active 
+:      018910 module_check_mcu_wake_pin_high:
+0x3c33 018911 fetcht 1 ,mem_module_mcu_wake_pin 
+0x3c34 018912 branch gpio_check_active 
+:      018914 module_set_mcu_wake_pin_low:
+0x3c35 018915 fetcht 1 ,mem_module_mcu_wake_pin 
+0x3c36 018916 branch gpio_out_inactive 
+:      018927 module_le_receive_data:
+0x3c37 018928 storer rega ,2 ,mem_module_le_rx_data_address 
+0x3c38 018929 storer regb ,2 ,mem_module_le_rx_data_len 
+0x3c39 018930 fetch 2 ,mem_le_att_handle 
+0x3c3a 018931 store 2 ,mem_module_le_rx_data_handle 
+0x3c3b 018932 call module_check_ble_encrypt_state 
+0x3c3c 018933 rtn user 
+:      018935 module_le_receive_data_ok:
+0x3c3d 018936 fetcht 2 ,mem_module_le_rx_data_len 
+0x3c3e 018937 fetch 1 ,mem_module_ble_data_uart_max_length 
+0x3c3f 018938 call not_greater_than 
+0x3c40 018939 copy pdata ,loopcnt 
+0x3c41 018940 copy temp ,pdata 
+0x3c42 018941 isub loopcnt ,pdata 
+0x3c43 018942 store 2 ,mem_module_le_rx_data_len 
+0x3c44 018943 call module_hci_event_receive_le_data 
+0x3c45 018944 fetch 2 ,mem_module_le_rx_data_len 
+0x3c46 018945 rtn blank 
+0x3c47 018946 branch module_le_receive_data_ok 
+:      018950 module_exit_sniff:
+0x3c48 018951 fetch 2 ,mem_module_flag 
+0x3c49 018952 rtnbit1 moudle_task_unsniff 
+0x3c4a 018953 call module_set_unsniff_task_flag 
+0x3c4b 018954 branch app_bt_sniff_exit 
+:      018957 module_set_lpm_mult_2:
+0x3c4c 018958 jam 2 ,mem_lpm_mult 
+0x3c4d 018959 rtn 
+:      018963 module_bb_event_timer:
+:      018966 module_read_vdd_timer:
+0x3c4e 018967 fetch 1 ,mem_module_read_vdd_flag 
+0x3c4f 018968 rtn blank 
+0x3c50 018969 fetch 1 ,mem_module_read_vdd_count 
+0x3c51 018970 rtn blank 
+0x3c52 018971 increase -1 ,pdata 
+0x3c53 018972 store 1 ,mem_module_read_vdd_count 
+0x3c54 018973 nrtn blank 
+0x3c55 018974 jam flag_module_read_vdd_count ,mem_module_read_vdd_count 
+0x3c56 018975 call enable_adc 
+0x3c57 018976 call vdd_calculate_by_mode 
+0x3c58 018977 div pdata ,0x64 
+0x3c59 018978 call get_div_result 
+0x3c5a 018979 remainder temp 
+0x3c5b 018980 store 1 ,mem_module_vdd_quotient 
+0x3c5c 018981 storet 1 ,mem_module_vdd_remainder 
+0x3c5d 018982 rtn 
+:      018985 module_control_air_flow:
+0x3c5e 018986 call check_uart_tx_buff 
+0x3c5f 018987 branch app_l2cap_flow_control_enable ,positive 
+0x3c60 018988 branch app_l2cap_flow_control_disable 
+:      018992 module_set_sniff_task_flag:
+0x3c61 018993 arg moudle_task_sniff ,queue 
+0x3c62 018994 branch module_set_state 
+:      018996 module_clear_sniff_task_flag:
+0x3c63 018997 arg moudle_task_sniff ,queue 
+0x3c64 018998 branch module_clr_state 
+:      019000 module_set_unsniff_task_flag:
+0x3c65 019001 arg moudle_task_unsniff ,queue 
+0x3c66 019002 branch module_set_state 
+:      019004 module_clear_unsniff_task_flag:
+0x3c67 019005 arg moudle_task_unsniff ,queue 
+0x3c68 019006 branch module_clr_state 
+:      019008 module_set_le_tx_data_flag:
+0x3c69 019009 arg module_flag_ble_data_finish ,queue 
+0x3c6a 019010 branch module_set_state 
+:      019012 module_clear_le_tx_data_flag:
+0x3c6b 019013 arg module_flag_ble_data_finish ,queue 
+0x3c6c 019014 branch module_clr_state 
+:      019016 module_clr_state:
+0x3c6d 019017 fetch 2 ,mem_module_flag 
+0x3c6e 019018 qset0 pdata 
+0x3c6f 019019 store 2 ,mem_module_flag 
+0x3c70 019020 rtn 
+:      019022 module_set_state:
+0x3c71 019023 fetch 2 ,mem_module_flag 
+0x3c72 019024 qset1 pdata 
+0x3c73 019025 store 2 ,mem_module_flag 
+0x3c74 019026 rtn 
+:      019031 mouse_init:
+0x3c75 019032 call enable_authrom 
+0x3c76 019033 call mouse_setting_config 
+0x3c77 019034 call mouse_init_sunt 
+0x3c78 019035 call mouse_dpi_config 
+0x3c79 019036 rtn wake 
+0x3c7a 019037 call mouse_drawing_optima_init 
+0x3c7b 019038 call mouse_cb_fuction 
+0x3c7c 019039 call mouse_sensor_powerdown 
+0x3c7d 019040 fetch 1 ,mem_usb_addr 
+0x3c7e 019041 rtnbit1 7 
+:      019042 mouse_init_wireless:
+0x3c7f 019043 fetch 2 ,mem_ui_state_map 
+0x3c80 019044 bbit1 ui_state_btn_down ,mouse_start_discovery 
+0x3c81 019045 call mouse_check_select_device_by_switch 
+0x3c82 019046 branch mouse_start_work 
+:      019049 mouse_cb_fuction:
+0x3c83 019050 setarg mouse_24g_before_lpm_sleep 
+0x3c84 019051 store 2 ,mem_cb_before_lpm_sleep 
+0x3c85 019052 setarg mouse_24g_package_data 
+0x3c86 019053 store 2 ,mem_cb_24g_transmit_data 
+0x3c87 019054 setarg mouse_24g_search_dongle 
+0x3c88 019055 store 2 ,mem_cb_24g_search_receiver 
+0x3c89 019056 setarg mouse_lpm_before_common 
+0x3c8a 019057 store 2 ,mem_cb_24g_lpm_before 
+0x3c8b 019058 setarg mouse_le 
+0x3c8c 019059 store 2 ,mem_cb_le_process 
+0x3c8d 019060 setarg mouse_bt 
+0x3c8e 019061 store 2 ,mem_cb_bt_process 
+0x3c8f 019062 setarg mouse_process_lpm_before 
+0x3c90 019063 store 2 ,mem_cb_before_lpm 
+0x3c91 019064 setarg mouse_priority_bb_event 
+0x3c92 019065 store 2 ,mem_cb_bb_event_process 
+0x3c93 019066 setarg mouse_idle 
+0x3c94 019067 store 2 ,mem_cb_idle_process 
+0x3c95 019068 setarg mouse_before_hibernate 
+0x3c96 019069 store 2 ,mem_cb_before_hibernate 
+0x3c97 019070 setarg mouse_le_bb_event_connect_complete 
+0x3c98 019071 store 2 ,mem_cb_att_write 
+0x3c99 019072 setarg mouse_bb_event_timer 
+0x3c9a 019073 store 2 ,mem_cb_event_timer 
+0x3c9b 019074 setarg mouse_spi_write_flash_cb 
+0x3c9c 019075 store 2 ,mem_cb_spi_flash_write_complate 
+0x3c9d 019076 setarg mouse_lpm_check_wake_lock 
+0x3c9e 019077 store 2 ,mem_cb_check_wakelock 
+0x3c9f 019078 setarg mouse_le_transmit 
+0x3ca0 019079 store 2 ,mem_cb_ble_transmit 
+0x3ca1 019080 setarg mouse_bt_slave_match 
+0x3ca2 019081 store 2 ,mem_cb_bt_slave_match 
+0x3ca3 019082 setarg mouse_set_lpm_mult 
+0x3ca4 019083 store 2 ,mem_cb_bt_set_mult 
+0x3ca5 019084 rtn 
+:      019087 mouse_setting_config:
+0x3ca6 019088 rtn wake 
+0x3ca7 019089 call g24_transmit_init 
+0x3ca8 019090 call g24_chmap_param_init 
+0x3ca9 019091 call mouse_gpio_init 
+0x3caa 019092 call mouse_param_init 
+0x3cab 019093 call le_set_config_fixed_ltk 
+0x3cac 019094 call le_set_justwork 
+0x3cad 019095 call le_set_fixed_ltk 
+0x3cae 019096 call le_set_config_read_authentication 
+0x3caf 019097 fetch mouse_flag_len ,mem_mouse_flag 
+0x3cb0 019098 bbit1 mouse_enable_eeprom ,mouse_load_eeprom_info_check 
+0x3cb1 019099 bbit1 mouse_enable_flash ,mouse_load_flash_info_check 
+0x3cb2 019100 rtn 
+:      019102 mouse_xtal_init:
+0x3cb3 019103 jam 0x08 ,mem_fcomp_div 
+0x3cb4 019104 fetch mouse_flag_len ,mem_mouse_flag 
+0x3cb5 019105 rtnbit1 mouse_enable_16m 
+0x3cb6 019106 jam 0x18 ,mem_fcomp_div 
+0x3cb7 019107 rtn 
+:      019109 mouse_default_init:
+0x3cb8 019110 jam 0xff ,mem_usb_offline_check_gpio 
+0x3cb9 019111 jam 0xff ,mem_ui_button_gpio 
+0x3cba 019112 jam 0x1e ,mem_ui_button_timeout 
+0x3cbb 019113 jam 5 ,mem_store_information_delay_timer_init 
+0x3cbc 019115 setarg mem_mouse_led_type 
+0x3cbd 019116 store 2 ,mem_ui_led_struct_ptr 
+0x3cbe 019117 jam 1 ,mem_ui_led_struct_num 
+0x3cbf 019119 setarg mem_mouse_rssi_signal_buf 
+0x3cc0 019120 store 2 ,mem_rssi_signal_buf_ptr 
+0x3cc1 019122 jam 1 ,mem_24g_data_type 
+0x3cc2 019124 fetch 2 ,mem_mouse_discovery_timeout 
+0x3cc3 019125 store 2 ,mem_discovery_timeout 
+0x3cc4 019127 fetch 2 ,mem_mouse_24g_pair_timeout_init 
+0x3cc5 019128 store 2 ,mem_24g_pair_timeout_init 
+0x3cc6 019130 fetch 1 ,mem_mouse_24g_reconn_timeout_init 
+0x3cc7 019131 store 2 ,mem_24g_reconn_timeout_init 
+0x3cc8 019133 fetch 5 ,mem_rssi_dis_min_24g_init 
+0x3cc9 019134 store 5 ,mem_rssi_dis_min_24g 
+0x3cca 019136 fetch 1 ,mem_mouse_24g_pair_tx_power 
+0x3ccb 019137 store 1 ,mem_24g_pair_tx_power 
+0x3ccc 019140 fetch mouse_flag_len ,mem_mouse_flag 
+0x3ccd 019141 nrtn blank 
+0x3cce 019145 setarg 0x020800 
+0x3ccf 019146 store 3 ,mem_mouse_flag 
+0x3cd0 019147 setarg 0x800700 
+0x3cd1 019148 istore 3 ,contw 
+0x3cd2 019149 setarg 0x0300 
+0x3cd3 019150 istore 2 ,contw 
+0x3cd4 019152 jam 1 ,mem_lpm_mode 
+0x3cd5 019153 fetch 1 ,mem_mouse_enable_flag 
+0x3cd6 019154 isolate1 mouse_adc_enable ,pdata 
+0x3cd7 019155 call mouse_adc_read_enable ,true 
+0x3cd8 019157 fetch 1 ,mem_mouse_enable_flag 
+0x3cd9 019158 isolate1 mouse_24g_250hz_enable ,pdata 
+0x3cda 019159 call mouse_24g_set_250hz ,true 
+0x3cdb 019160 fetch 1 ,mem_mouse_enable_flag 
+0x3cdc 019161 isolate1 mouse_search_dongle_enable ,pdata 
+0x3cdd 019162 call mouse_24g_search_dongle_enable ,true 
+0x3cde 019163 fetch 1 ,mem_mouse_enable_flag 
+0x3cdf 019164 isolate1 mouse_clk_16m_enable ,pdata 
+0x3ce0 019165 call mouse_16m_enable ,true 
+0x3ce1 019166 fetch 1 ,mem_mouse_enable_flag 
+0x3ce2 019167 isolate1 mouse_dpi_4_level_enable ,pdata 
+0x3ce3 019168 call mouse_dpi_4level_enable ,true 
+0x3ce4 019169 fetch 1 ,mem_mouse_enable_flag 
+0x3ce5 019170 isolate1 mouse_keyboard_enable ,pdata 
+0x3ce6 019171 call mouse_customer_key_enable ,true 
+0x3ce7 019173 fetch 1 ,mem_24g_ch_map_update 
+0x3ce8 019174 ncall g24_chamap_param_update ,blank 
+0x3ce9 019176 call mouse_xtal_init 
+0x3cea 019178 fetch 1 ,mem_mouse_global_setup 
+0x3ceb 019179 and pdata ,0x07 ,temp 
+0x3cec 019180 storet 1 ,mem_adc_channel 
+0x3ced 019181 rshift3 pdata ,pdata 
+0x3cee 019182 and pdata ,0x01 ,temp 
+0x3cef 019183 storet 1 ,mem_24g_ch_map_update 
+0x3cf0 019184 rshift pdata ,pdata 
+0x3cf1 019185 and pdata ,0x03 ,temp 
+0x3cf2 019186 storet 1 ,mem_adc_config_flag_init 
+0x3cf3 019187 rshift2 pdata ,pdata 
+0x3cf4 019188 and pdata ,0x03 ,pdata 
+0x3cf5 019189 call mouse_24g_long_sleep_set 
+0x3cf6 019191 fetch 1 ,mem_mouse_global_setup1 
+0x3cf7 019192 and pdata ,0x03 ,temp 
+0x3cf8 019193 storet 1 ,mem_sensor_angle_default 
+0x3cf9 019194 rshift2 pdata ,pdata 
+0x3cfa 019195 and pdata ,0x03 ,temp 
+0x3cfb 019196 storet 1 ,mem_sensor_angle_switch 
+0x3cfc 019197 rshift2 pdata ,pdata 
+0x3cfd 019198 and pdata ,0x01 ,temp 
+0x3cfe 019199 storet 1 ,mem_config_sensor_dpi 
+0x3cff 019200 storet 1 ,mem_mouse_dpi 
+0x3d00 019201 rshift pdata ,pdata 
+0x3d01 019202 and pdata ,0x01 ,temp 
+0x3d02 019203 storet 1 ,mem_24g_disable_fec1 
+0x3d03 019204 rshift pdata ,pdata 
+0x3d04 019205 and pdata ,0x03 ,pdata 
+0x3d05 019206 store 1 ,mem_device_number 
+0x3d06 019208 bpatch patch18_2 ,mem_patch18 
+0x3d07 019209 setarg 0x0b0c0a 
+0x3d08 019210 store 3 ,mem_lbutton_gpio 
+0x3d09 019211 setarg 0xffffff 
+0x3d0a 019212 istore 3 ,contw 
+0x3d0b 019213 setarg 0x0607ff 
+0x3d0c 019214 istore 3 ,contw 
+0x3d0d 019215 setarg 0xffffff 
+0x3d0e 019216 istore 3 ,contw 
+0x3d0f 019220 jam 0x0a ,mem_adc_read_time_init 
+0x3d10 019221 setarg 0x0064 
+0x3d11 019222 store 2 ,mem_adc_low_volatage_led_blink_timer 
+0x3d12 019223 call mouse_adc_vol_init 
+0x3d13 019225 setarg 0x1770 
+0x3d14 019226 store 2 ,mem_mouse_no_data_timeout 
+0x3d15 019227 jam 0x14 ,mem_mouse_device_poweron_timer_count_init 
+0x3d16 019228 setarg 0x0190 
+0x3d17 019229 store 2 ,mem_mouse_low_v_led_blink_time 
+0x3d18 019230 store 2 ,mem_mouse_dpi_led_blink_time 
+0x3d19 019231 setarg 0x03e8 
+0x3d1a 019232 store 2 ,mem_mouse_disconvey_led_blink_time 
+0x3d1b 019233 jam 0x07 ,mem_rssi_buff_index 
+0x3d1c 019234 jam 125 ,mem_power_ctrl_pac_succ_cnt_init 
+0x3d1d 019235 jam tx_power_0db ,mem_tx_power 
+0x3d1e 019237 jam 0x01 ,mem_24g_fast_conn_enable 
+0x3d1f 019238 setarg 0x0f0f 
+0x3d20 019239 store 2 ,mem_24g_fast_conn_addr 
+0x3d21 019240 store 2 ,mem_24g_fast_conn_addr + 2 
+0x3d22 019243 fetch 2 ,mem_lap 
+0x3d23 019244 store 2 ,mem_lap + 4 
+0x3d24 019246 arg mem_le_lap ,contw 
+0x3d25 019247 arg mem_lap ,contr 
+0x3d26 019248 arg 0x06 ,loopcnt 
+0x3d27 019249 call reverse_byte 
+0x3d28 019251 jam 0x20 ,mem_lpm_mult_init 
+0x3d29 019252 jam 0x34 ,mem_device1_type 
+0x3d2a 019253 fetch 6 ,mem_le_lap 
+0x3d2b 019254 store 6 ,mem_device1_locall_addr 
+0x3d2c 019255 jam 0x02 ,mem_mouse_bluetooth_type 
+0x3d2d 019257 jam 0x1f ,mem_le_adv_data_len 
+0x3d2e 019259 setarg 0x050102 
+0x3d2f 019260 store 3 ,mem_le_adv_data 
+0x3d30 019261 setarg 0x120303 
+0x3d31 019262 istore 3 ,contw 
+0x3d32 019263 setarg 0x190318 
+0x3d33 019264 istore 3 ,contw 
+0x3d34 019265 setarg 0x03c2 
+0x3d35 019266 istore 2 ,contw 
+0x3d36 019268 setarg 0x06ff06 
+0x3d37 019269 store 3 ,mem_le_adv_swift_pair 
+0x3d38 019270 setarg 0x000300 
+0x3d39 019271 istore 3 ,contw 
+0x3d3a 019272 setarg 0x090c80 
+0x3d3b 019273 istore 3 ,contw 
+0x3d3c 019275 setarg 0x355442 
+0x3d3d 019276 istore 3 ,contw 
+0x3d3e 019277 setarg 0x20322e 
+0x3d3f 019278 istore 3 ,contw 
+0x3d40 019279 setarg 0x756f4d 
+0x3d41 019280 istore 3 ,contw 
+0x3d42 019281 setarg 0x6573 
+0x3d43 019282 istore 2 ,contw 
+0x3d44 019284 jam 0x1f ,mem_le_scan_data_len 
+0x3d45 019285 arg mem_le_adv_swift_pair + 7 ,contr 
+0x3d46 019286 arg mem_le_scan_data ,contw 
+0x3d47 019287 arg 13 ,loopcnt 
+0x3d48 019288 call memcpy 
+0x3d49 019290 fetch 1 ,mem_le_scan_data 
+0x3d4a 019291 increase -1 ,pdata 
+0x3d4b 019292 store 1 ,mem_le_name_len 
+0x3d4c 019294 arg mem_le_scan_data + 2 ,contr 
+0x3d4d 019295 arg mem_le_name_len + 1 ,contw 
+0x3d4e 019296 arg 11 ,loopcnt 
+0x3d4f 019297 call memcpy 
+0x3d50 019299 setarg 0x070007 
+0x3d51 019300 store 3 ,mem_le_interval_min 
+0x3d52 019301 setarg 0x002000 
+0x3d53 019302 istore 3 ,contw 
+0x3d54 019303 setarg 0x012c 
+0x3d55 019304 istore 2 ,contw 
+0x3d56 019306 setarg 0x181203 
+0x3d57 019307 store 3 ,mem_le_adv_ind 
+0x3d58 019309 setarg 0x0000ff 
+0x3d59 019310 store 3 ,mem_le_adv_direct_ind 
+0x3d5a 019312 setsect 0 ,0xfb 
+0x3d5b 019313 setsect 1 ,0x2c212 
+0x3d5c 019314 setsect 2 ,0x800f 
+0x3d5d 019315 setsect 3 ,0x21 
+0x3d5e 019316 store 8 ,mem_local_rx_max_octets 
+0x3d5f 019318 jam 0x07 ,mem_le_adv_channel_map 
+0x3d60 019320 setarg 0x0015 
+0x3d61 019321 store 2 ,mem_le_keyboard_handle 
+0x3d62 019322 setarg 0x0019 
+0x3d63 019323 store 2 ,mem_le_notify_handle 
+0x3d64 019324 setarg 0x001d 
+0x3d65 019325 store 2 ,mem_le_multimedia_handle 
+0x3d66 019326 setarg 0x0021 
+0x3d67 019327 store 2 ,mem_le_systemctrl_handle 
+0x3d68 019328 setarg 0x0030 
+0x3d69 019329 store 2 ,mem_le_battery_level_handle 
+0x3d6a 019330 setarg 0x0022 
+0x3d6b 019331 store 2 ,mem_le_pairing_handle 
+0x3d6c 019333 jam 0x96 ,mem_le_battery_level_updata_timer_init 
+0x3d6d 019336 jam mode_24g_device ,mem_device_flag 
+0x3d6e 019337 call g24_enable_1m 
+0x3d6f 019338 call g24_pair_param_init 
+0x3d70 019340 setarg 0x604800 
+0x3d71 019341 store 3 ,mem_24g_enter_hibernate 
+0x3d72 019342 setarg 0x012c 
+0x3d73 019343 store 2 ,mem_24g_long_sleep_param_update_timer_init 
+0x3d74 019344 setarg 0x0050 
+0x3d75 019345 store 2 ,mem_24g_transmit_by_interrupt_exit_count_init 
+0x3d76 019346 setarg 0x05 
+0x3d77 019347 store 2 ,mem_mouse_24g_power_on_fast_conn_timer 
+0x3d78 019348 setarg 0x0708 
+0x3d79 019349 store 2 ,mem_mouse_24g_search_dongle_time_init 
+0x3d7a 019353 setarg 0x010403 
+0x3d7b 019354 store 3 ,mem_mouse_dpi_seting 
+0x3d7c 019355 setarg 0x2a2002 
+0x3d7d 019356 istore 3 ,contw 
+0x3d7e 019357 setarg 0x22153f 
+0x3d7f 019358 istore 3 ,contw 
+0x3d80 019359 setarg 0x114433 
+0x3d81 019360 istore 3 ,contw 
+0x3d82 019362 setarg 0x265a09 
+0x3d83 019363 store 3 ,mem_sensor_3212_init 
+0x3d84 019364 setarg 0x041934 
+0x3d85 019365 istore 3 ,contw 
+0x3d86 019366 setarg 0x0009 
+0x3d87 019367 istore 2 ,contw 
+0x3d88 019368 setarg 0xffff 
+0x3d89 019369 istore 2 ,contw 
+0x3d8a 019371 setarg 0x0d5a09 
+0x3d8b 019372 store 3 ,mem_sensor_3205_init 
+0x3d8c 019373 setarg 0xed1d10 
+0x3d8d 019374 istore 3 ,contw 
+0x3d8e 019375 setarg 0x807d 
+0x3d8f 019376 istore 2 ,contw 
+0x3d90 019377 setarg 0xffff 
+0x3d91 019378 istore 2 ,contw 
+0x3d92 019380 setarg 0xff5a09 
+0x3d93 019381 store 3 ,mem_sensor_8650_init 
+0x3d94 019382 setarg 0x40ab27 
+0x3d95 019383 istore 3 ,contw 
+0x3d96 019384 setarg 0x9b56b3 
+0x3d97 019385 istore 3 ,contw 
+0x3d98 019386 setarg 0x12a8e6 
+0x3d99 019387 istore 3 ,contw 
+0x3d9a 019388 setarg 0xbec0a9 
+0x3d9b 019389 istore 3 ,contw 
+0x3d9c 019390 setarg 0xafa5e6 
+0x3d9d 019391 istore 3 ,contw 
+0x3d9e 019392 setarg 0xa121a0 
+0x3d9f 019393 istore 3 ,contw 
+0x3da0 019394 setarg 0x10b802 
+0x3da1 019395 istore 3 ,contw 
+0x3da2 019396 setarg 0xa70bb9 
+0x3da3 019397 istore 3 ,contw 
+0x3da4 019398 setarg 0xd0b5ff 
+0x3da5 019399 istore 3 ,contw 
+0x3da6 019400 setarg 0xff00b6 
+0x3da7 019401 istore 3 ,contw 
+0x3da8 019402 setarg 0x000900 
+0x3da9 019403 istore 3 ,contw 
+0x3daa 019404 setarg 0xffff 
+0x3dab 019405 istore 2 ,contw 
+0x3dac 019407 setarg 0x0d5a09 
+0x3dad 019408 store 3 ,mem_sensor_ka8ul_init 
+0x3dae 019409 setarg 0xc50e10 
+0x3daf 019410 istore 3 ,contw 
+0x3db0 019411 setarg 0x109a5b 
+0x3db1 019412 istore 3 ,contw 
+0x3db2 019413 setarg 0x421138 
+0x3db3 019414 istore 3 ,contw 
+0x3db4 019415 setarg 0x412828 
+0x3db5 019416 istore 3 ,contw 
+0x3db6 019417 setarg 0x394923 
+0x3db7 019418 istore 3 ,contw 
+0x3db8 019419 setarg 0x4bb04a 
+0x3db9 019420 istore 3 ,contw 
+0x3dba 019421 setarg 0x904ca0 
+0x3dbb 019422 istore 3 ,contw 
+0x3dbc 019423 setarg 0x09704d 
+0x3dbd 019424 istore 3 ,contw 
+0x3dbe 019425 setarg 0xffff00 
+0x3dbf 019426 istore 3 ,contw 
+0x3dc0 019428 setarg 0x46a509 
+0x3dc1 019429 store 3 ,mem_sensor_ka8g2_init 
+0x3dc2 019430 setarg 0x101934 
+0x3dc3 019431 istore 3 ,contw 
+0x3dc4 019432 setarg 0x690760 
+0x3dc5 019433 istore 3 ,contw 
+0x3dc6 019434 setarg 0x207d04 
+0x3dc7 019435 istore 3 ,contw 
+0x3dc8 019436 setarg 0x09007e 
+0x3dc9 019437 istore 3 ,contw 
+0x3dca 019438 setarg 0x220d00 
+0x3dcb 019439 istore 3 ,contw 
+0x3dcc 019440 setarg 0xff220e 
+0x3dcd 019441 istore 3 ,contw 
+0x3dce 019442 jam 0xff ,mem_sensor_ka8g2_init + 21 
+0x3dcf 019444 setarg 0x0b5a09 
+0x3dd0 019445 store 3 ,mem_sensor_poweron_init 
+0x3dd1 019446 setarg 0x0009f3 
+0x3dd2 019447 istore 3 ,contw 
+0x3dd3 019448 setarg 0xffff 
+0x3dd4 019449 istore 2 ,contw 
+0x3dd5 019452 branch app_sys_param_init 
+:      019455 mouse_param_init:
+0x3dd6 019456 setarg mouse_bt_sdp_addr 
+0x3dd7 019457 store 2 ,mem_ui_uuid_table 
+0x3dd8 019458 setarg mouse_ble_att_list_addr 
+0x3dd9 019459 store 2 ,mem_ui_le_uuid_table 
+0x3dda 019460 setarg 0x2580 
+0x3ddb 019461 store 3 ,mem_class 
+0x3ddc 019462 jam 3 ,mem_lpm_mult_timeout 
+0x3ddd 019463 jam 8 ,mem_lpm_overhead 
+0x3dde 019464 jam dpi_button_state_up ,mem_select_device_button_statue 
+0x3ddf 019465 jam pb_button_state_up ,mem_select_device_button_statue 
+0x3de0 019466 jam commbination_key_state_up ,mem_commbination_key_statue 
+0x3de1 019467 setarg 0x0200 
+0x3de2 019468 store 2 ,mem_lpm_interval 
+0x3de3 019469 jam 0x17 ,mem_le_local_mtu 
+0x3de4 019470 jam 0x17 ,mem_le_remote_mtu 
+0x3de5 019472 setarg 0x0a77 
+0x3de6 019473 store 2 ,mem_spi_init_clk 
+0x3de7 019475 setsect 0 ,0x306 
+0x3de8 019476 setsect 1 ,0x4440 
+0x3de9 019477 setsect 2 ,0x10000 
+0x3dea 019478 setsect 3 ,0x4408 
+0x3deb 019479 store 9 ,mem_all_uuid_16bits 
+0x3dec 019480 setsect 0 ,0x1224 
+0x3ded 019481 setsect 1 ,0x4000 
+0x3dee 019482 setsect 2 ,0x0 
+0x3def 019483 istore 5 ,contw 
+0x3df0 019485 setsect 0 ,0x3ffff 
+0x3df1 019486 setsect 1 ,0x2fe23 
+0x3df2 019487 setsect 2 ,0x199d9 
+0x3df3 019488 setsect 3 ,0x20d 
+0x3df4 019489 store 8 ,mem_features 
+0x3df5 019491 setarg mem_le_tx_buffer0_omemalloc 
+0x3df6 019492 store 2 ,mem_ble_l2cap_tx_buff0_ptr 
+0x3df7 019493 setarg mouse_ble_l2cap_txbuff_size 
+0x3df8 019494 store 2 ,mem_ble_l2cap_tx_buff_size_ptr 
+0x3df9 019496 call mouse_device_led_all_off 
+0x3dfa 019497 call mouse_device_poweron_timer_init 
+0x3dfb 019498 call mouse_adc_gpio_mux_init 
+0x3dfc 019500 fetch mouse_flag_len ,mem_mouse_flag 
+0x3dfd 019501 bbit0 mouse_enable_bt_125hz ,mouse_param_init_intervl_end 
+0x3dfe 019502 jam classic_interval_7_5ms ,mem_sniff_param_interval 
+0x3dff 019503 setarg le_interval_7_5ms 
+0x3e00 019504 store 2 ,mem_le_interval_min 
+0x3e01 019505 store 2 ,mem_le_interval_min + 2 
+:      019506 mouse_param_init_intervl_end:
+0x3e02 019507 call g24_interval_param_8ms 
+0x3e03 019508 fetch mouse_flag_len ,mem_mouse_flag 
+0x3e04 019509 bbit0 mouse_enable_24g_250hz ,mouse_24g_short_sleep_set_end 
+0x3e05 019510 call g24_interval_param_4ms 
+:      019511 mouse_24g_short_sleep_set_end:
+0x3e06 019512 fetch 1 ,mem_device_flag 
+0x3e07 019513 store 1 ,mem_device_flag_temp 
+0x3e08 019514 fetch 3 ,mem_le_lap + 3 
+0x3e09 019515 store 3 ,mem_mouse_le_lap_temp 
+0x3e0a 019516 fetch 1 ,mem_adc_config_flag_init 
+0x3e0b 019517 and pdata ,0xfe ,pdata 
+0x3e0c 019518 store 1 ,mem_adc_config_flag_init 
+0x3e0d 019519 store 1 ,mem_adc_config_flag 
+0x3e0e 019520 setarg 0 
+0x3e0f 019521 store 7 ,mem_mouse_key 
+0x3e10 019522 fetch 1 ,mem_ui_button_timeout 
+0x3e11 019523 store 1 ,mem_bt_discovery_count 
+0x3e12 019524 store 1 ,mem_select_device_count 
+0x3e13 019525 call le_modified_name 
+0x3e14 019526 branch mouse_sensor_set_angle 
+:      019529 mouse_start_work:
+0x3e15 019530 bpatch patch18_3 ,mem_patch18 
+0x3e16 019531 fetch mouse_flag_len ,mem_mouse_flag 
+0x3e17 019532 bbit1 mouse_enable_24g_first_auto_pairing ,mouse_24g_first_start_auto_pair_mode 
+0x3e18 019533 fetch 1 ,mem_device_flag 
+0x3e19 019534 beq mode_24g_device ,mouse_24g_start_mode 
+0x3e1a 019535 call mouse_wakeup_from_power_check 
+0x3e1b 019536 nbranch mouse_buletooth_fast_conn_init ,user 
+:      019537 mouse_start_reconnect_device:
+0x3e1c 019538 bpatch patch18_4 ,mem_patch18 
+0x3e1d 019539 arg mem_device1_type ,rega 
+0x3e1e 019540 fetch 1 ,mem_device_flag 
+0x3e1f 019541 increase -1 ,pdata 
+0x3e20 019542 mul32 pdata ,29 ,pdata 
+0x3e21 019543 iadd rega ,rega 
+0x3e22 019544 ifetch 1 ,rega 
+0x3e23 019545 store 1 ,mem_xrecord_mode 
+:      019546 mouse_start_reconnect:
+0x3e24 019547 fetch 1 ,mem_xrecord_mode 
+0x3e25 019548 beq rec_3_mode ,mouse3_0_check_reconn_target 
+0x3e26 019549 beq rec_4_mode ,mouse4_0_check_reconn_target 
+0x3e27 019550 branch mouse_start_discovery 
+:      019553 mouse_wakeup_from_power_check:
+0x3e28 019554 bpatch patch18_5 ,mem_patch18 
+0x3e29 019555 disable user 
+0x3e2a 019556 fetch mouse_flag_len ,mem_mouse_flag 
+0x3e2b 019557 bbit0 mouse_enable_wakeup_from_power ,mouse_wakeup_from_power 
+0x3e2c 019558 fetch 1 ,mem_wakup_from_power_flag 
+0x3e2d 019559 bbit0 bit_power_on ,mouse_wakeup_from_power 
+0x3e2e 019560 enable user 
+:      019561 mouse_wakeup_from_power:
+0x3e2f 019562 fetch 1 ,mem_reconn_times_init 
+0x3e30 019563 store 1 ,mem_reconn_times 
+0x3e31 019564 rtn 
+:      019567 mouse3_0_check_reconn_target:
+0x3e32 019568 fetcht 2 ,mem_mouse_fast_page_to 
+0x3e33 019569 fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
+0x3e34 019570 beq 0xff ,mouse3_0_check_reconn_target_next 
+0x3e35 019571 fetcht 2 ,mem_mouse_page_to 
+:      019572 mouse3_0_check_reconn_target_next:
+0x3e36 019573 storet 2 ,mem_page_to 
+0x3e37 019574 fetch 6 ,mem_hci_plap 
+0x3e38 019575 branch app_bt_start_discovery_short ,blank 
+0x3e39 019576 jam 0x17 ,mem_app_connection_options 
+0x3e3a 019577 fetch 1 ,mem_ssp_enable 
+0x3e3b 019578 nbranch app_bt_start_reconnect ,blank 
+0x3e3c 019579 jam 0x04 ,mem_app_connection_options 
+0x3e3d 019580 branch app_bt_start_reconnect 
+:      019582 mouse4_0_check_reconn_target:
+0x3e3e 019583 jam 1 ,mem_mouse_le_reconnect_flag 
+0x3e3f 019584 fetcht 1 ,mem_mouse_fast_direct_timeout 
+0x3e40 019585 fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
+0x3e41 019586 beq 0xff ,mouse4_0_check_reconn_target_next 
+0x3e42 019587 fetcht 1 ,mem_mouse_direct_timeout 
+:      019588 mouse4_0_check_reconn_target_next:
+0x3e43 019589 storet 1 ,mem_mouse_direct_timer 
+0x3e44 019590 call app_lpm_mult_disable 
+0x3e45 019591 fetch 3 ,mem_le_adv_direct_ind 
+0x3e46 019592 store 3 ,mem_le_adv_data + 4 
+0x3e47 019593 call mouse_le_check_adv_flag 
+0x3e48 019594 setarg adv_flag_bredr_not_supported 
+0x3e49 019595 istore 1 ,contr 
+0x3e4a 019596 arg mem_le_scan_data ,contr 
+0x3e4b 019597 call mouse_le_adv_data_update 
+0x3e4c 019598 branch check_51cmd_adv 
+:      019602 mouse_lpm_check_wake_lock:
+0x3e4d 019603 bmark1 mark_24g ,app_get_lpm_wake_lock 
+0x3e4e 019604 fetch 1 ,mem_mouse_clear_sensor_data_flag 
+0x3e4f 019605 branch app_get_lpm_wake_lock ,blank 
+0x3e50 019606 fetch 1 ,mem_mouse_le_conn_param_reject 
+0x3e51 019607 beq le_lpm_disable ,app_get_lpm_wake_lock 
+0x3e52 019608 fetch 2 ,mem_sdp_remote_cid 
+0x3e53 019609 nbranch app_get_lpm_wake_lock ,blank 
+0x3e54 019610 fetch 1 ,mem_mouse_wheel_trigger 
+0x3e55 019611 nbranch app_get_lpm_wake_lock ,blank 
+0x3e56 019612 branch app_put_lpm_wake_lock 
+:      019614 mouse_delay_enter_hibernata:
+0x3e57 019615 fetch 1 ,mem_mouse_direct_timeout 
+0x3e58 019616 store 1 ,mem_mouse_bluetooth_reconnect_timeout 
+0x3e59 019617 rtn 
+:      019620 mouse_app_enter_hibernate:
+0x3e5a 019621 bpatch patch18_6 ,mem_patch18 
+0x3e5b 019622 call mouse_sensor_reset 
+0x3e5c 019623 call mouse_sensor_powerdown 
+0x3e5d 019624 branch app_enter_hibernate 
+:      019627 mouse_before_hibernate:
+0x3e5e 019628 bpatch patch18_7 ,mem_patch18 
+0x3e5f 019629 fetch 4 ,core_lpm_ctrl 
+0x3e60 019630 set1 26 ,pdata 
+0x3e61 019631 store 4 ,core_lpm_reg 
+0x3e62 019632 call lpm_write_ctrl 
+0x3e63 019633 call disable_authrom 
+0x3e64 019634 call mouse_device_led_all_off 
+0x3e65 019635 call mouse_before_hibernate_wheel_gpio_set 
+0x3e66 019636 call mouse_setgpio_hibernate 
+0x3e67 019637 call mouse_flash_power_down 
+0x3e68 019638 fetcht 1 ,mem_sensor_motion_gpio 
+0x3e69 019639 branch gpio_clr_wake 
+:      019642 mouse_setgpio_hibernate:
+0x3e6a 019643 bpatch patch19_0 ,mem_patch19 
+0x3e6b 019644 call mouse_set_sdio_high 
+0x3e6c 019645 call clear_wake 
+0x3e6d 019646 call mouse_lpm_before_common 
+0x3e6e 019647 call mouse_gpio_pu_idle 
+0x3e6f 019648 fetcht 1 ,mem_mouse_reuse_2ice_gpio 
+0x3e70 019649 call mouse_gpio_config_input_pu 
+0x3e71 019650 branch mouse_gpio_set_high_impedance 
+:      019653 mouse_gpio_pu_idle:
+0x3e72 019654 arg core_gpio_conf ,contr 
+0x3e73 019655 arg 19 ,loopcnt 
+:      019656 mouse_gpio_pu_idle_loop:
+0x3e74 019657 ifetch 1 ,contr 
+0x3e75 019658 nbranch mouse_gpio_pu_idle_configured ,blank 
+0x3e76 019659 setarg 0x40 
+0x3e77 019660 add contr ,-1 ,contw 
+0x3e78 019661 istore 1 ,contw 
+:      019662 mouse_gpio_pu_idle_configured:
+0x3e79 019663 loop mouse_gpio_pu_idle_loop 
+0x3e7a 019664 rtn 
+:      019666 mouse_process_lpm_before:
+0x3e7b 019667 rtnmark1 mark_24g 
+0x3e7c 019668 call mouse_lpm_before_common 
+0x3e7d 019669 fetch 1 ,mem_lpm_current_mult 
+0x3e7e 019670 nrtn blank 
+0x3e7f 019671 branch gpio_clr_wake 
+:      019673 mouse_lpm_before_common:
+0x3e80 019674 bpatch patch19_1 ,mem_patch19 
+0x3e81 019676 call mouse_wheel_check 
+0x3e82 019677 fetch 1 ,mem_mouse_sensor_sclk_gpio 
+0x3e83 019678 arg gpcfg_output_high ,temp 
+0x3e84 019679 call gpio_config_function_int 
+0x3e85 019680 call twspi_disable 
+0x3e86 019682 fetcht 1 ,mem_lbutton_gpio 
+0x3e87 019683 call gpio_set_wake 
+0x3e88 019684 fetcht 1 ,mem_rbutton_gpio 
+0x3e89 019685 call gpio_set_wake 
+0x3e8a 019686 fetcht 1 ,mem_mbutton_gpio 
+0x3e8b 019687 call gpio_set_wake 
+0x3e8c 019689 fetcht 1 ,mem_bk_button_gpio 
+0x3e8d 019690 call gpio_set_wake 
+0x3e8e 019691 fetcht 1 ,mem_fw_button_gpio 
+0x3e8f 019692 call gpio_set_wake 
+0x3e90 019693 fetcht 1 ,mem_dpi_button_gpio 
+0x3e91 019694 call gpio_set_wake 
+0x3e92 019695 fetcht 1 ,mem_config_select_device_button_gpio 
+0x3e93 019696 call gpio_set_wake 
+0x3e94 019698 fetcht 1 ,mem_customer_key_gpio 
+0x3e95 019699 call gpio_set_wake 
+0x3e96 019701 fetcht 1 ,mem_whee_a_data_gpio 
+0x3e97 019702 call gpio_set_wake_by_current_state 
+0x3e98 019703 fetcht 1 ,mem_whee_b_data_gpio 
+0x3e99 019704 call gpio_set_wake_by_current_state 
+0x3e9a 019705 fetcht 1 ,mem_whee_ta_data_gpio 
+0x3e9b 019706 call gpio_set_wake_by_current_state 
+0x3e9c 019707 fetcht 1 ,mem_whee_tb_data_gpio 
+0x3e9d 019708 call gpio_set_wake_by_current_state 
+0x3e9e 019709 fetcht 1 ,mem_sensor_motion_gpio 
+0x3e9f 019710 branch gpio_set_wake 
+:      019714 mouse_set_mult:
+0x3ea0 019715 fetch 2 ,mem_ui_state_map 
+0x3ea1 019716 bbit1 ui_state_ble_connected ,mouse_set_ble_mult 
+0x3ea2 019717 fetch 2 ,mem_ui_state_map 
+0x3ea3 019718 bbit1 ui_state_bt_connected ,mouse_set_bt_mult 
+0x3ea4 019719 rtn 
+:      019720 mouse_set_ble_mult:
+0x3ea5 019721 copy rega ,pdata 
+0x3ea6 019722 nbranch le_set_config_short_mult ,blank 
+0x3ea7 019723 branch le_clr_config_short_mult 
+:      019724 mouse_set_bt_mult:
+0x3ea8 019725 copy rega ,pdata 
+0x3ea9 019726 nbranch classic_bt_set_mult_short_flag ,blank 
+0x3eaa 019727 branch classic_bt_clr_mult_short_flag 
+:      019733 mouse_adc_gpio_set:
+0x3eab 019734 fetch 1 ,mem_adc_config_flag 
+0x3eac 019735 rtnne adc_config_gpio 
+:      019736 mouse_adc_gpio_check_output:
+0x3ead 019737 bpatch patch19_2 ,mem_patch19 
+0x3eae 019738 fetcht 1 ,mem_adc_channel 
+0x3eaf 019739 sub temp ,3 ,null 
+0x3eb0 019740 branch mouse_adc_gpio_4_7_set ,positive 
+0x3eb1 019741 increase 5 ,temp 
+0x3eb2 019742 storet 1 ,mem_adc_channel_gpio 
+:      019743 mouse_adc_gpio_set_next:
+0x3eb3 019744 copy temp ,rega 
+0x3eb4 019745 call gpio_get_config 
+0x3eb5 019746 beq gpcfg_output_high ,mouse_set_24g_led_statue 
+0x3eb6 019747 call mouse_clear_24g_led_statue 
+0x3eb7 019748 copy rega ,temp 
+0x3eb8 019749 branch gpio_set_high_impedance 
+:      019751 mouse_adc_gpio_4_7_set:
+0x3eb9 019752 increase 4 ,temp 
+0x3eba 019753 storet 1 ,mem_adc_channel_gpio 
+0x3ebb 019754 branch mouse_adc_gpio_set_next 
+:      019756 mouse_adc_vol_init:
+0x3ebc 019757 fetch 1 ,mem_adc_config_flag_init 
+0x3ebd 019758 beq adc_config_gpio ,mouse_adc_gpio_vol_init 
+0x3ebe 019759 beq adc_config_vinlpm ,mouse_adc_gpio_vinlpm_init 
+0x3ebf 019760 jam adc_config_vinlpm ,mem_adc_config_flag_init 
+0x3ec0 019761 setarg 0x2c0172 
+0x3ec1 019762 store 3 ,mem_mouse_vdd_full_vol 
+0x3ec2 019763 setarg 0x014001 
+0x3ec3 019764 istore 3 ,contw 
+0x3ec4 019765 rtn 
+:      019766 mouse_adc_gpio_vol_init:
+0x3ec5 019767 setarg 0x5d0099 
+0x3ec6 019768 store 3 ,mem_mouse_vdd_full_vol 
+0x3ec7 019769 setarg 0x007100 
+0x3ec8 019770 istore 3 ,contw 
+0x3ec9 019771 rtn 
+:      019772 mouse_adc_gpio_vinlpm_init:
+0x3eca 019773 setarg 0xc8012c 
+0x3ecb 019774 store 3 ,mem_mouse_vdd_full_vol 
+0x3ecc 019775 setarg 0x00dc00 
+0x3ecd 019776 istore 3 ,contw 
+0x3ece 019777 rtn 
+:      019781 mouse_adc_gpio_mux_init:
+0x3ecf 019782 fetch mouse_flag_len ,mem_mouse_flag 
+0x3ed0 019783 rtnbit0 mouse_enable_adc 
+0x3ed1 019784 jam mouse_adc_check_multiple ,mem_adc_mux_status 
+0x3ed2 019785 rtnbit1 mouse_enable_dpi_key_connect_adc 
+0x3ed3 019786 rtnbit1 mouse_enable_select_device_by_switch_adc 
+0x3ed4 019787 jam mouse_adc_check_battery_only ,mem_adc_mux_status 
+0x3ed5 019788 rtn 
+:      019790 mouse_adc_read_interval:
+0x3ed6 019791 fetch 1 ,mem_adc_read_timer 
+0x3ed7 019792 increase 1 ,pdata 
+0x3ed8 019793 store 1 ,mem_adc_read_timer 
+0x3ed9 019794 fetcht 1 ,mem_adc_read_time_init 
+0x3eda 019795 isub temp ,null 
+0x3edb 019796 rtn 
+:      019799 mouse_adc_read:
+0x3edc 019800 fetch mouse_flag_len ,mem_mouse_flag 
+0x3edd 019801 rtnbit0 mouse_enable_adc 
+0x3ede 019802 call mouse_adc_gpio_set 
+0x3edf 019803 fetch 1 ,mem_adc_mux_status 
+0x3ee0 019804 branch mouse_adc_read_battery ,blank 
+0x3ee1 019805 fetch 1 ,mem_adc_config_flag 
+0x3ee2 019806 beq adc_config_gpio ,mouse_adc_read_gpio_mux_start 
+0x3ee3 019807 jam mouse_adc_check_vinlpm_multiple ,mem_adc_mux_status 
+0x3ee4 019808 call mouse_adc_read_interval 
+0x3ee5 019809 branch mouse_adc_read_gpio ,positive 
+0x3ee6 019810 call mouse_adc_read_vinlpm 
+0x3ee7 019811 branch mouse_adc_read_start 
+:      019813 mouse_adc_read_gpio_mux_start:
+0x3ee8 019814 jam mouse_adc_check_gpio_multiple ,mem_adc_mux_status 
+0x3ee9 019815 branch mouse_adc_read_start 
+:      019817 mouse_adc_read_gpio:
+0x3eea 019818 call mouse_adc_gpio_check_output 
+0x3eeb 019819 jam adc_config_gpio ,mem_adc_config_flag 
+0x3eec 019820 fetch 1 ,mem_24g_device_led_status 
+0x3eed 019821 ncall mouse_adc_read_vinlpm ,blank 
+0x3eee 019822 branch mouse_adc_read_start 
+:      019824 mouse_adc_read_vinlpm:
+0x3eef 019825 jam 0 ,mem_adc_read_timer 
+0x3ef0 019826 fetch 1 ,mem_adc_config_flag_init 
+0x3ef1 019827 store 1 ,mem_adc_config_flag 
+0x3ef2 019828 rtn 
+:      019830 mouse_adc_read_battery:
+0x3ef3 019831 fetch 1 ,mem_adc_config_flag 
+0x3ef4 019832 bne adc_config_gpio ,mouse_adc_read_battery_start 
+0x3ef5 019833 fetch 1 ,mem_24g_device_led_status 
+0x3ef6 019834 nrtn blank 
+:      019835 mouse_adc_read_battery_start:
+0x3ef7 019836 call mouse_adc_read_interval 
+0x3ef8 019837 nrtn positive 
+:      019838 mouse_adc_read_start:
+0x3ef9 019839 bpatch patch19_3 ,mem_patch19 
+0x3efa 019840 fetch 1 ,mem_24g_device_led_status 
+0x3efb 019841 nrtn blank 
+0x3efc 019842 jam 0 ,mem_adc_read_timer 
+0x3efd 019843 call enable_adc 
+0x3efe 019844 call vdd_calculate_by_mode 
+0x3eff 019845 store 2 ,mem_mouse_vdd_now_vol 
+0x3f00 019846 fetch 1 ,mem_adc_config_flag 
+0x3f01 019847 bne adc_config_gpio ,mouse_adc_data_process 
+0x3f02 019848 fetcht 2 ,mem_mouse_vdd_now_vol 
+0x3f03 019849 mul32 temp ,8 ,pdata 
+0x3f04 019850 div pdata ,10 
+0x3f05 019851 call get_div_result 
+0x3f06 019852 iadd temp ,pdata 
+0x3f07 019853 store 2 ,mem_mouse_vdd_now_vol 
+:      019854 mouse_adc_data_process:
+0x3f08 019855 arg mem_mouse_vdd_calculate_set ,rega 
+0x3f09 019856 call mouse_adc_bat_percent_lowpower_out 
+0x3f0a 019857 fetch 1 ,mem_adc_power_flag 
+0x3f0b 019858 bbit1 2 ,mouse_adc_button_press 
+0x3f0c 019859 bbit1 1 ,mouse_power_down 
+0x3f0d 019860 bbit0 0 ,mouse_adc_no_low_voltage 
+0x3f0e 019861 jam 1 ,mem_mouse_adc_last_low_voltage_flag 
+0x3f0f 019862 branch mouse_adc_low_voltage 
+:      019864 mouse_adc_low_voltage:
+0x3f10 019865 arg mouse_low_voltage_flag ,queue 
+0x3f11 019866 branch mouse_enable_function_flag 
+:      019867 mouse_adc_no_low_voltage:
+0x3f12 019868 arg mouse_low_voltage_flag ,queue 
+0x3f13 019869 call mouse_disable_function_flag 
+0x3f14 019870 jam 12 ,mem_adc_low_volatage_led_timer_count 
+0x3f15 019871 fetch 1 ,mem_mouse_adc_last_low_voltage_flag 
+0x3f16 019872 rtn blank 
+0x3f17 019873 jam 0 ,mem_mouse_adc_last_low_voltage_flag 
+0x3f18 019874 fetcht 1 ,mem_config_low_voltage_alarm_gpio 
+0x3f19 019875 branch mouse_led_off 
+:      019879 mouse_adc_bat_percent_lowpower_out:
+0x3f1a 019880 bpatch patch19_4 ,mem_patch19 
+0x3f1b 019881 ifetch 8 ,rega 
+0x3f1c 019882 store 8 ,mem_pdatatemp 
+0x3f1d 019883 fetch 1 ,mem_adc_mux_status 
+0x3f1e 019884 beq mouse_adc_check_battery_only ,mouse_adc_bat_percent_lowpower_out_battery 
+0x3f1f 019885 beq mouse_adc_check_gpio_multiple ,mouse_adc_bat_percent_lowpower_out_gpio_multiple 
+0x3f20 019886 beq mouse_adc_check_vinlpm_multiple ,mouse_adc_bat_percent_lowpower_out_vinlpm_multiple 
+:      019887 mouse_adc_bat_percent_lowpower_out_gpio_multiple:
+0x3f21 019888 fetch mouse_flag_len ,mem_mouse_flag 
+0x3f22 019889 bbit0 mouse_enable_dpi_key_connect_adc ,mouse_adc_bat_percent_lowpower_out_gpio_switch 
+0x3f23 019890 fetch 2 ,mem_pdatatemp + 6 
+0x3f24 019891 fetcht 2 ,mem_mouse_vdd_button_press_vol 
+0x3f25 019892 isub temp ,null 
+0x3f26 019893 nbranch mouse_adc_set_button_press_flag ,positive 
+:      019895 mouse_adc_bat_percent_lowpower_out_gpio_switch:
+0x3f27 019896 fetch mouse_flag_len ,mem_mouse_flag 
+0x3f28 019897 bbit0 mouse_enable_select_device_by_switch_adc ,mouse_adc_bat_percent_lowpower_out_battery 
+0x3f29 019898 jam 0 ,mem_mouse_adc_button_press_flag 
+0x3f2a 019899 fetch 2 ,mem_pdatatemp + 6 
+0x3f2b 019900 fetcht 2 ,mem_mouse_vdd_switch_gnd_24g_vol 
+0x3f2c 019901 isub temp ,null 
+0x3f2d 019902 nbranch mouse_select_24gdevice ,positive 
+0x3f2e 019903 call mouse_select_btdevice 
+0x3f2f 019904 branch mouse_adc_bat_percent_lowpower_out_battery 
+:      019906 mouse_select_24gdevice:
+0x3f30 019907 call mouse_check_select_24gdevice 
+0x3f31 019908 branch mouse_adc_bat_percent_lowpower_out_battery 
+:      019911 mouse_adc_bat_percent_lowpower_out_battery:
+0x3f32 019912 call mouse_adc_clear_button_press_flag 
+0x3f33 019913 call adc_clear_no_power_flag 
+0x3f34 019914 call adc_clear_low_power_flag 
+0x3f35 019915 fetch 2 ,mem_pdatatemp + 6 
+0x3f36 019916 fetcht 2 ,mem_pdatatemp + 2 
+0x3f37 019917 isub temp ,null 
+0x3f38 019918 ncall adc_set_no_power_flag ,positive 
+0x3f39 019920 fetcht 2 ,mem_pdatatemp + 4 
+0x3f3a 019921 isub temp ,null 
+0x3f3b 019922 ncall adc_set_low_power_flag ,positive 
+:      019924 mouse_adc_bat_level_set:
+0x3f3c 019925 fetch 2 ,mem_pdatatemp + 6 
+0x3f3d 019926 fetcht 2 ,mem_pdatatemp 
+0x3f3e 019927 isub temp ,null 
+0x3f3f 019928 branch mouse_adc_bat_level_100_percent ,positive 
+0x3f40 019929 fetcht 2 ,mem_pdatatemp + 2 
+0x3f41 019930 isub temp ,pdata 
+0x3f42 019931 nbranch mouse_adc_bat_level_0_percent ,positive 
+0x3f43 019932 branch mouse_adc_bat_level_0_percent ,blank 
+0x3f44 019933 mul32 pdata ,100 ,rega 
+0x3f45 019934 fetch 2 ,mem_pdatatemp 
+0x3f46 019935 fetcht 2 ,mem_pdatatemp + 2 
+0x3f47 019936 isub temp ,temp 
+0x3f48 019937 copy rega ,pdata 
+0x3f49 019938 idiv temp 
+0x3f4a 019939 call get_div_result 
+0x3f4b 019940 store 1 ,mem_le_battery_level_percentage 
+0x3f4c 019941 rtn 
+:      019943 mouse_adc_bat_level_100_percent:
+0x3f4d 019944 jam 100 ,mem_le_battery_level_percentage 
+0x3f4e 019945 rtn 
+:      019946 mouse_adc_bat_level_0_percent:
+0x3f4f 019947 jam 0 ,mem_le_battery_level_percentage 
+0x3f50 019948 rtn 
+:      019951 mouse_adc_bat_percent_lowpower_out_vinlpm_multiple:
+0x3f51 019952 fetch 1 ,mem_adc_config_flag 
+0x3f52 019953 beq adc_config_gpio ,mouse_adc_bat_percent_lowpower_out_gpio_multiple 
+0x3f53 019954 branch mouse_adc_bat_percent_lowpower_out_battery 
+:      019957 mouse_adc_set_button_press_flag:
+0x3f54 019958 fetcht 1 ,mem_adc_power_flag 
+0x3f55 019959 set1 2 ,temp 
+0x3f56 019960 storet 1 ,mem_adc_power_flag 
+0x3f57 019961 rtn 
+:      019963 mouse_adc_clear_button_press_flag:
+0x3f58 019964 fetcht 1 ,mem_adc_power_flag 
+0x3f59 019965 set0 2 ,temp 
+0x3f5a 019966 storet 1 ,mem_adc_power_flag 
+0x3f5b 019967 rtn 
+:      019969 mouse_adc_button_press:
+0x3f5c 019970 jam 1 ,mem_mouse_adc_button_press_flag 
+0x3f5d 019971 rtn 
+:      019973 mouse_power_down:
+0x3f5e 019974 call mouse_device_led_all_off 
+0x3f5f 019975 branch mouse_app_enter_hibernate 
+:      019980 mouse_gpio_init:
+0x3f60 019981 fetcht 1 ,mem_eeprom_wp_gpio 
+0x3f61 019982 call gpio_config_output 
+0x3f62 019983 call usb_offline_check_init 
+0x3f63 019984 fetcht 1 ,mem_lbutton_gpio 
+0x3f64 019985 call mouse_gpio_config_input_pu 
+0x3f65 019986 fetcht 1 ,mem_rbutton_gpio 
+0x3f66 019987 call mouse_gpio_config_input_pu 
+0x3f67 019988 fetcht 1 ,mem_mbutton_gpio 
+0x3f68 019989 call mouse_gpio_config_input_pu 
+0x3f69 019990 fetcht 1 ,mem_bk_button_gpio 
+0x3f6a 019991 call mouse_gpio_config_input_pu 
+0x3f6b 019992 fetcht 1 ,mem_fw_button_gpio 
+0x3f6c 019993 call mouse_gpio_config_input_pu 
+0x3f6d 019994 fetcht 1 ,mem_dpi_button_gpio 
+0x3f6e 019995 call mouse_gpio_config_input_pu 
+0x3f6f 019997 fetcht 1 ,mem_matrix_public_gpio 
+0x3f70 019998 call mouse_gpio_config_input_pu 
+0x3f71 020000 fetcht 1 ,mem_config_select_device_button_gpio 
+0x3f72 020001 call mouse_gpio_config_input_pu 
+0x3f73 020003 fetcht 1 ,mem_customer_key_gpio 
+0x3f74 020004 call mouse_gpio_config_input_pu 
+0x3f75 020006 fetcht 1 ,mem_whee_a_data_gpio 
+0x3f76 020007 call mouse_gpio_config_input_pu 
+0x3f77 020009 fetcht 1 ,mem_whee_b_data_gpio 
+0x3f78 020010 call mouse_gpio_config_input_pu 
+0x3f79 020012 fetcht 1 ,mem_whee_ta_data_gpio 
+0x3f7a 020013 call mouse_gpio_config_input_pu 
+0x3f7b 020014 fetcht 1 ,mem_whee_tb_data_gpio 
+0x3f7c 020015 call mouse_gpio_config_input_pu 
+0x3f7d 020017 fetcht 1 ,mem_sensor_motion_gpio 
+0x3f7e 020018 call mouse_gpio_config_input_pu 
+0x3f7f 020020 fetcht 1 ,mem_device_switch_gpio 
+0x3f80 020021 call mouse_gpio_config_input_pu 
+0x3f81 020023 fetcht 1 ,mem_config_low_voltage_alarm_gpio 
+0x3f82 020024 call gpio_config_output 
+0x3f83 020026 fetcht 1 ,mem_config_device_24g_led_gpio 
+0x3f84 020027 call gpio_config_output 
+0x3f85 020029 fetcht 1 ,mem_config_device_bt1_led_gpio 
+0x3f86 020030 call gpio_config_output 
+0x3f87 020032 fetcht 1 ,mem_config_device_bt2_led_gpio 
+0x3f88 020033 call gpio_config_output 
+0x3f89 020035 fetcht 1 ,mem_dpi_led_gpio 
+0x3f8a 020036 call gpio_config_output 
+0x3f8b 020038 fetcht 1 ,mem_select_sensor_angle_gpio 
+0x3f8c 020039 branch mouse_gpio_config_input_pu 
+:      020042 mouse_gpio_set_pupd_by_input:
+0x3f8d 020043 sub temp ,ui_button_gpio_disable ,null 
+0x3f8e 020044 rtn zero 
+0x3f8f 020045 and temp ,0x7f ,queue 
+0x3f90 020046 fetch 4 ,core_gpio_in 
+0x3f91 020047 qisolate1 pdata 
+0x3f92 020048 branch mouse_gpio_config_input_pu ,true 
+0x3f93 020049 branch mouse_gpio_config_input_pd 
+:      020052 mouse_gpio_config_input_pd:
+0x3f94 020053 set1 gpio_active_bit ,temp 
+0x3f95 020054 branch gpio_config_input 
+:      020056 mouse_gpio_config_input_pu:
+0x3f96 020057 set0 gpio_active_bit ,temp 
+0x3f97 020058 branch gpio_config_input 
+:      020060 mouse_gpio_set_high_impedance:
+0x3f98 020061 fetch 3 ,mem_mouse_set_high_impedance_bit_set 
+0x3f99 020062 store 3 ,mem_pdatatemp 
+0x3f9a 020063 arg 20 ,loopcnt 
+0x3f9b 020064 arg 0 ,temp 
+:      020065 mouse_gpio_set_high_impedance_bit_loop:
+0x3f9c 020066 fetch 3 ,mem_pdatatemp 
+0x3f9d 020067 isolate1 0 ,pdata 
+0x3f9e 020068 call gpio_set_high_impedance ,true 
+0x3f9f 020069 fetch 3 ,mem_pdatatemp 
+0x3fa0 020070 lshift pdata ,pdata 
+0x3fa1 020071 store 3 ,mem_pdatatemp 
+0x3fa2 020072 increase 1 ,temp 
+0x3fa3 020073 loop mouse_gpio_set_high_impedance_bit_loop 
+0x3fa4 020074 rtn 
+:      020081 mouse_sensor_spi_init:
+0x3fa5 020082 call mouse_spid_init_pin 
+0x3fa6 020083 jam 0x73 ,mem_spi_init_clk 
+0x3fa7 020085 call mouse_spi_init 
+0x3fa8 020086 branch twspi_enable 
+:      020088 mouse_spi_write_flash_cb:
+:      020089 mouse_spi_init:
+0x3fa9 020090 branch spid_init 
+:      020092 mouse_spid_init_pin:
+0x3faa 020093 fetch 1 ,mem_mouse_sensor_sclk_gpio 
+0x3fab 020094 arg gpcfg_spid_sck ,temp 
+0x3fac 020095 call gpio_config_function_int 
+0x3fad 020096 fetch 1 ,mem_mouse_sensor_sdio_gpio 
+0x3fae 020097 arg gpcfg_spid_sdio ,temp 
+0x3faf 020098 branch gpio_config_function_int 
+:      020106 mouse_motion:
+0x3fb0 020107 bpatch patch19_5 ,mem_patch19 
+0x3fb1 020108 disable user 
+0x3fb2 020109 setarg 0 
+0x3fb3 020110 store 6 ,mem_mouse_x 
+0x3fb4 020111 call mouse_check_sensor_data 
+0x3fb5 020112 call mouse_zwheel 
+0x3fb6 020113 call mouse_t_zwheel 
+0x3fb7 020114 call mouse_key 
+0x3fb8 020115 fetch 1 ,mem_mouse_key 
+0x3fb9 020116 and_into 0x1f ,pdata 
+0x3fba 020117 store 1 ,mem_mouse_key 
+0x3fbb 020118 nbranch mouse_drawing_optima_init ,user 
+0x3fbc 020119 call mouse_drawing_optima 
+0x3fbd 020120 branch mouse_no_data_timer_init 
+:      020125 mouse_zwheel:
+0x3fbe 020126 fetch 1 ,mem_mouse_z_data 
+0x3fbf 020127 rtn blank 
+0x3fc0 020128 store 1 ,mem_mouse_z 
+0x3fc1 020129 jam 0 ,mem_mouse_z_data 
+0x3fc2 020130 branch enable_user 
+:      020132 mouse_t_zwheel:
+0x3fc3 020133 fetch 1 ,mem_mouse_tz_data 
+0x3fc4 020134 rtn blank 
+0x3fc5 020135 store 1 ,mem_mouse_tz 
+0x3fc6 020136 jam 0 ,mem_mouse_tz_data 
+0x3fc7 020137 branch enable_user 
+:      020139 mouse_wheel_check:
+0x3fc8 020140 call mouse_t_wheel_scan 
+0x3fc9 020141 call mouse_wheel_scan 
+0x3fca 020142 fetch 1 ,mem_wheel_tb_new_pinlevel 
+0x3fcb 020143 fetcht 1 ,mem_wheel_tb_old_pinlevel 
+0x3fcc 020144 store 1 ,mem_wheel_tb_old_pinlevel 
+0x3fcd 020145 isub temp ,null 
+0x3fce 020146 nbranch app_lpm_wake_auto_lock ,zero 
+0x3fcf 020147 fetch 1 ,mem_mwheel_b_new_pinlevel 
+0x3fd0 020148 fetcht 1 ,mem_mwheel_b_old_pinlevel 
+0x3fd1 020149 store 1 ,mem_mwheel_b_old_pinlevel 
+0x3fd2 020150 isub temp ,null 
+0x3fd3 020151 nbranch app_lpm_wake_auto_lock ,zero 
+0x3fd4 020152 rtn 
+:      020153 mouse_t_wheel_scan:
+0x3fd5 020154 fetch 1 ,mem_whee_ta_data_gpio 
+0x3fd6 020155 rtneq gpio_disable 
+0x3fd7 020156 arg 0 ,rega 
+0x3fd8 020157 fetcht 1 ,mem_whee_ta_data_gpio 
+0x3fd9 020158 call gpio_get_bit 
+0x3fda 020159 setflag true ,0 ,rega 
+0x3fdb 020160 fetcht 1 ,mem_whee_tb_data_gpio 
+0x3fdc 020161 call gpio_get_bit 
+0x3fdd 020162 setflag true ,1 ,rega 
+0x3fde 020163 copy rega ,pdata 
+0x3fdf 020164 store 1 ,mem_wheel_tb_new_pinlevel 
+0x3fe0 020165 beq 0x01 ,mouse_t_wheel_scan_judge1 
+0x3fe1 020166 beq 0x02 ,mouse_t_wheel_scan_judge2 
+0x3fe2 020167 fetch 1 ,mem_wheel_tog 
+0x3fe3 020168 bbit1 7 ,mouse_t_wheel_scan_judge3 
+0x3fe4 020169 rtn 
+:      020171 mouse_t_wheel_scan_judge1:
+0x3fe5 020172 fetch 1 ,mem_wheel_tb_old_pinlevel 
+0x3fe6 020173 beq 0 ,mouse_t_wheel_scan_judge11 
+0x3fe7 020174 beq 3 ,mouse_t_wheel_scan_judge12 
+0x3fe8 020175 rtn 
+:      020176 mouse_t_wheel_scan_judge2:
+0x3fe9 020177 fetch 1 ,mem_wheel_tb_old_pinlevel 
+0x3fea 020178 beq 0 ,mouse_t_wheel_scan_judge21 
+0x3feb 020179 beq 3 ,mouse_t_wheel_scan_judge22 
+0x3fec 020180 rtn 
+:      020181 mouse_t_wheel_scan_judge11:
+0x3fed 020182 jam 0x82 ,mem_wheel_tog 
+0x3fee 020183 rtn 
+:      020184 mouse_t_wheel_scan_judge12:
+0x3fef 020185 jam 0x81 ,mem_wheel_tog 
+0x3ff0 020186 rtn 
+:      020187 mouse_t_wheel_scan_judge21:
+0x3ff1 020188 jam 0x80 ,mem_wheel_tog 
+0x3ff2 020189 rtn 
+:      020190 mouse_t_wheel_scan_judge22:
+0x3ff3 020191 jam 0x83 ,mem_wheel_tog 
+0x3ff4 020192 rtn 
+:      020193 mouse_t_wheel_scan_judge3:
+0x3ff5 020194 fetch 1 ,mem_wheel_tog 
+0x3ff6 020195 set0 7 ,pdata 
+0x3ff7 020196 store 1 ,mem_wheel_tog 
+0x3ff8 020197 beq 0 ,mouse_t_wheel_scan_judge30 
+0x3ff9 020198 beq 1 ,mouse_t_wheel_scan_judge31 
+0x3ffa 020199 beq 2 ,mouse_t_wheel_scan_judge32 
+0x3ffb 020200 beq 3 ,mouse_t_wheel_scan_judge33 
+0x3ffc 020201 rtn 
+:      020202 mouse_t_wheel_scan_judge30:
+0x3ffd 020203 fetch 1 ,mem_wheel_tb_new_pinlevel 
+0x3ffe 020204 beq 3 ,mouse_wheel_t_forward 
+0x3fff 020205 rtn 
+:      020206 mouse_t_wheel_scan_judge31:
+0x4000 020207 fetch 1 ,mem_wheel_tb_new_pinlevel 
+0x4001 020208 beq 0 ,mouse_wheel_t_forward 
+0x4002 020209 rtn 
+:      020210 mouse_t_wheel_scan_judge32:
+0x4003 020211 fetch 1 ,mem_wheel_tb_new_pinlevel 
+0x4004 020212 beq 3 ,mouse_wheel_t_back 
+0x4005 020213 rtn 
+:      020214 mouse_t_wheel_scan_judge33:
+0x4006 020215 fetch 1 ,mem_wheel_tb_new_pinlevel 
+0x4007 020216 beq 0 ,mouse_wheel_t_back 
+0x4008 020217 rtn 
+:      020218 mouse_wheel_t_forward:
+0x4009 020219 fetch 1 ,mem_mouse_tz_data 
+0x400a 020220 increase 1 ,pdata 
+0x400b 020221 store 1 ,mem_mouse_tz_data 
+0x400c 020222 rtn 
+:      020223 mouse_wheel_t_back:
+0x400d 020224 fetch 1 ,mem_mouse_tz_data 
+0x400e 020225 increase -1 ,pdata 
+0x400f 020226 store 1 ,mem_mouse_tz_data 
+0x4010 020227 rtn 
+:      020230 mouse_wheel_scan:
+0x4011 020231 fetch 1 ,mem_whee_a_data_gpio 
+0x4012 020232 rtneq gpio_disable 
+0x4013 020233 arg 0 ,rega 
+0x4014 020234 fetcht 1 ,mem_whee_a_data_gpio 
+0x4015 020235 call gpio_get_bit 
+0x4016 020236 setflag true ,0 ,rega 
+0x4017 020237 fetcht 1 ,mem_whee_b_data_gpio 
+0x4018 020238 call gpio_get_bit 
+0x4019 020239 setflag true ,1 ,rega 
+0x401a 020240 copy rega ,pdata 
+0x401b 020241 store 1 ,mem_mwheel_b_new_pinlevel 
+0x401c 020242 beq 0x01 ,mouse_wheel_scan_judge1 
+0x401d 020243 beq 0x02 ,mouse_wheel_scan_judge2 
+0x401e 020244 fetch 1 ,mem_mwheel_tog 
+0x401f 020245 bbit1 7 ,mouse_wheel_scan_judge3 
+0x4020 020246 rtn 
+:      020248 mouse_wheel_scan_judge1:
+0x4021 020249 fetch 1 ,mem_mwheel_b_old_pinlevel 
+0x4022 020250 beq 0 ,mouse_wheel_scan_judge11 
+0x4023 020251 beq 3 ,mouse_wheel_scan_judge12 
+0x4024 020252 rtn 
+:      020253 mouse_wheel_scan_judge2:
+0x4025 020254 fetch 1 ,mem_mwheel_b_old_pinlevel 
+0x4026 020255 beq 0 ,mouse_wheel_scan_judge21 
+0x4027 020256 beq 3 ,mouse_wheel_scan_judge22 
+0x4028 020257 rtn 
+:      020258 mouse_wheel_scan_judge11:
+0x4029 020259 jam 0x82 ,mem_mwheel_tog 
+0x402a 020260 rtn 
+:      020261 mouse_wheel_scan_judge12:
+0x402b 020262 jam 0x81 ,mem_mwheel_tog 
+0x402c 020263 rtn 
+:      020264 mouse_wheel_scan_judge21:
+0x402d 020265 jam 0x80 ,mem_mwheel_tog 
+0x402e 020266 rtn 
+:      020267 mouse_wheel_scan_judge22:
+0x402f 020268 jam 0x83 ,mem_mwheel_tog 
+0x4030 020269 rtn 
+:      020270 mouse_wheel_scan_judge3:
+0x4031 020271 fetch 1 ,mem_mwheel_tog 
+0x4032 020272 set0 7 ,pdata 
+0x4033 020273 store 1 ,mem_mwheel_tog 
+0x4034 020274 beq 0 ,mouse_wheel_scan_judge30 
+0x4035 020275 beq 1 ,mouse_wheel_scan_judge31 
+0x4036 020276 beq 2 ,mouse_wheel_scan_judge32 
+0x4037 020277 beq 3 ,mouse_wheel_scan_judge33 
+0x4038 020278 rtn 
+:      020279 mouse_wheel_scan_judge30:
+0x4039 020280 fetch 1 ,mem_mwheel_b_new_pinlevel 
+0x403a 020281 beq 3 ,mouse_wheel_forward 
+0x403b 020282 rtn 
+:      020283 mouse_wheel_scan_judge31:
+0x403c 020284 fetch 1 ,mem_mwheel_b_new_pinlevel 
+0x403d 020285 beq 0 ,mouse_wheel_forward 
+0x403e 020286 rtn 
+:      020287 mouse_wheel_scan_judge32:
+0x403f 020288 fetch 1 ,mem_mwheel_b_new_pinlevel 
+0x4040 020289 beq 3 ,mouse_wheel_back 
+0x4041 020290 rtn 
+:      020291 mouse_wheel_scan_judge33:
+0x4042 020292 fetch 1 ,mem_mwheel_b_new_pinlevel 
+0x4043 020293 beq 0 ,mouse_wheel_back 
+0x4044 020294 rtn 
+:      020295 mouse_wheel_forward:
+0x4045 020296 fetch 1 ,mem_mouse_z_data 
+0x4046 020297 increase 1 ,pdata 
+0x4047 020298 store 1 ,mem_mouse_z_data 
+0x4048 020299 rtn 
+:      020300 mouse_wheel_back:
+0x4049 020301 fetch 1 ,mem_mouse_z_data 
+0x404a 020302 increase -1 ,pdata 
+0x404b 020303 store 1 ,mem_mouse_z_data 
+0x404c 020304 rtn 
+:      020307 mouse_wheel_gpio_set_wake:
+0x404d 020308 fetcht 1 ,mem_whee_a_data_gpio 
+0x404e 020309 call gpio_set_wake_by_current_state 
+0x404f 020310 fetcht 1 ,mem_whee_b_data_gpio 
+0x4050 020311 call gpio_set_wake_by_current_state 
+0x4051 020312 fetcht 1 ,mem_whee_ta_data_gpio 
+0x4052 020313 call gpio_set_wake_by_current_state 
+0x4053 020314 fetcht 1 ,mem_whee_tb_data_gpio 
+0x4054 020315 branch gpio_set_wake_by_current_state 
+:      020317 mouse_before_hibernate_wheel_gpio_set:
+0x4055 020318 fetcht 1 ,mem_whee_a_data_gpio 
+0x4056 020319 call mouse_gpio_set_pupd_by_input 
+0x4057 020320 fetcht 1 ,mem_whee_b_data_gpio 
+0x4058 020321 call mouse_gpio_set_pupd_by_input 
+0x4059 020322 fetcht 1 ,mem_whee_ta_data_gpio 
+0x405a 020323 call mouse_gpio_set_pupd_by_input 
+0x405b 020324 fetcht 1 ,mem_whee_tb_data_gpio 
+0x405c 020325 branch mouse_gpio_set_pupd_by_input 
+:      020327 mouse_wheel_trigger:
+0x405d 020328 fetch 2 ,mem_mouse_z 
+0x405e 020329 rtn blank 
+0x405f 020330 jam 1 ,mem_mouse_wheel_trigger 
+0x4060 020331 jam 10 ,mem_mouse_wheel_trigger_timer 
+0x4061 020332 rtn 
+:      020334 mouse_wheel_trigger_timer:
+0x4062 020335 arg mem_mouse_wheel_trigger_timer ,regc 
+0x4063 020336 arg mouse_wheel_trigger_disable ,regb 
+0x4064 020337 branch timer_single_step 
+:      020338 mouse_wheel_trigger_disable:
+0x4065 020339 jam 0 ,mem_mouse_wheel_trigger 
+0x4066 020340 rtn 
+:      020349 mouse_dpi_check:
+0x4067 020350 fetch mouse_flag_len ,mem_mouse_flag 
+0x4068 020351 bbit1 mouse_enable_dpi_key_connect_adc ,mouse_dpi_check_connect_adc 
+0x4069 020352 fetch 1 ,mem_dpi_button_gpio 
+0x406a 020353 rtneq gpio_disable 
+0x406b 020354 arg 0 ,rega 
+0x406c 020355 jam mouse_dpi_key ,mem_mouse_key_temp 
+0x406d 020356 fetcht 1 ,mem_dpi_button_gpio 
+0x406e 020357 call mouse_dpi_key_check 
+0x406f 020358 store 1 ,mem_mouse_dpikey_press_status 
+0x4070 020359 fetch 1 ,mem_matrix_public_gpio 
+0x4071 020360 beq gpio_disable ,mouse_3io6key_dpi_check_end 
+0x4072 020361 call mouse_matrix_public_gpio_reset 
+:      020362 mouse_dpi_check_exit:
+0x4073 020363 copy rega ,pdata 
+0x4074 020364 bbit1 mouse_dpi_key ,mouse_dpi_down 
+0x4075 020365 branch mouse_dpi_up 
+:      020367 mouse_dpi_check_connect_adc:
+0x4076 020368 fetch 1 ,mem_mouse_adc_button_press_flag 
+0x4077 020369 branch mouse_dpi_up ,blank 
+0x4078 020370 branch mouse_dpi_down 
+:      020372 mouse_dpi_key_check:
+0x4079 020373 fetch mouse_flag_len ,mem_mouse_flag 
+0x407a 020374 bbit1 mouse_enable_dpi_key_connect_gnd ,mouse_dpi_key_connect_gnd 
+0x407b 020375 fetch 1 ,mem_mouse_dpikey_press_status 
+0x407c 020376 copy pdata ,regc 
+0x407d 020377 fetch 1 ,mem_matrix_public_gpio 
+0x407e 020378 beq gpio_disable ,mouse_3io6key_check 
+0x407f 020379 fetch 1 ,mem_mouse_ghost_flag 
+0x4080 020380 nbranch mouse_dpi_check_end ,blank 
+0x4081 020381 branch mouse_dpi_key_connect_matrix 
+:      020383 mouse_3io6key_dpi_check_end:
+0x4082 020384 fetcht 1 ,mem_dpi_button_gpio 
+0x4083 020385 call mouse_gpio_config_input_pu 
+0x4084 020386 branch mouse_dpi_check_exit 
+:      020388 mouse_dpi_check_end:
+0x4085 020389 jam dpi_button_state_up ,mem_mouse_dpi_button_state 
+0x4086 020390 jam 0 ,mem_mouse_dpikey_press_status 
+0x4087 020391 rtn 
+:      020393 mouse_dpi_key_connect_gnd:
+0x4088 020394 fetch 1 ,mem_mouse_dpikey_press_status 
+0x4089 020395 branch mouse_check_key_connect_gnd 
+:      020397 mouse_dpi_key_connect_matrix:
+0x408a 020398 call gpio_get_bit 
+0x408b 020399 fetcht 1 ,mem_matrix_public_gpio 
+0x408c 020400 branch mouse_dpi_key_connect_gnd ,true 
+0x408d 020401 fetcht 1 ,mem_matrix_public_gpio 
+0x408e 020402 call gpio_out_active 
+0x408f 020403 fetcht 1 ,mem_dpi_button_gpio 
+0x4090 020404 fetch 1 ,mem_mouse_dpikey_press_status 
+0x4091 020405 branch mouse_check_key_connect_gnd 
+:      020408 mouse_dpi_down:
+0x4092 020409 fetch 1 ,mem_mouse_dpi_button_state 
+0x4093 020410 rtneq dpi_button_state_down 
+0x4094 020411 jam dpi_button_state_down ,mem_mouse_dpi_button_state 
+0x4095 020412 fetch mouse_flag_len ,mem_mouse_flag 
+0x4096 020413 rtnbit1 mouse_enable_select_device_by_dpi_button 
+0x4097 020414 rtnbit1 mouse_enable_dpi_key_long_press_disconvery 
+0x4098 020415 branch mouse_dpi_process 
+:      020417 mouse_dpi_up:
+0x4099 020418 fetch 1 ,mem_mouse_dpi_button_state 
+0x409a 020419 rtneq dpi_button_state_up 
+0x409b 020420 jam dpi_button_state_up ,mem_mouse_dpi_button_state 
+0x409c 020421 fetch mouse_flag_len ,mem_mouse_flag 
+0x409d 020422 bbit1 mouse_enable_select_device_by_dpi_button ,mouse_dpi_up_next 
+0x409e 020423 bbit1 mouse_enable_dpi_key_long_press_disconvery ,mouse_dpi_up_next 
+0x409f 020424 rtn 
+:      020425 mouse_dpi_up_next:
+0x40a0 020426 fetch 1 ,mem_mouse_dpi_long_press_flag 
+0x40a1 020427 nbranch mouse_dpi_up_after_long_press ,blank 
+0x40a2 020428 fetch 1 ,mem_select_device_count 
+0x40a3 020429 ncall mouse_dpi_process ,blank 
+:      020430 mouse_dpi_up_after_long_press:
+0x40a4 020431 jam 0 ,mem_mouse_dpi_long_press_flag 
+0x40a5 020432 fetch 1 ,mem_ui_button_timeout 
+0x40a6 020433 store 1 ,mem_select_device_count 
+0x40a7 020434 store 1 ,mem_bt_discovery_count 
+0x40a8 020435 rtn 
+:      020437 mouse_dpi_process:
+0x40a9 020438 bpatch patch19_6 ,mem_patch19 
+0x40aa 020439 call mouse_dpi_ghost_check 
+0x40ab 020440 rtn user 
+0x40ac 020441 fetch 1 ,mem_mouse_dpi 
+0x40ad 020442 increase 1 ,pdata 
+0x40ae 020443 and pdata ,0x03 ,pdata 
+0x40af 020444 store 1 ,mem_mouse_dpi 
+0x40b0 020445 call mouse_seting_dpi 
+0x40b1 020446 branch mouse_store_device_info_delay 
+:      020448 mouse_dpi_ghost_check:
+0x40b2 020449 disable user 
+0x40b3 020450 fetch mouse_flag_len ,mem_mouse_flag 
+0x40b4 020451 rtnbit1 mouse_enable_dpi_key_connect_gnd 
+0x40b5 020452 rtnbit1 mouse_enable_dpi_key_connect_adc 
+0x40b6 020453 fetch 1 ,mem_mouse_lkey_press_status 
+0x40b7 020454 rtn blank 
+0x40b8 020455 fetch 1 ,mem_mouse_rkey_press_status 
+0x40b9 020456 rtn blank 
+0x40ba 020457 enable user 
+0x40bb 020458 rtn 
+:      020461 mouse_dpi_key_check_long_press:
+0x40bc 020462 fetch mouse_flag_len ,mem_mouse_flag 
+0x40bd 020463 bbit1 mouse_enable_select_device_by_dpi_button ,mouse_select_device_by_dpi_button 
+0x40be 020464 bbit1 mouse_enable_dpi_key_long_press_disconvery ,mouse_discovery_by_dpi_button 
+0x40bf 020465 rtn 
+:      020468 mouse_select_device_by_dpi_button:
+0x40c0 020469 fetch 1 ,mem_mouse_dpi_button_state 
+0x40c1 020470 rtnne dpi_button_state_down 
+0x40c2 020471 arg mem_select_device_count ,regc 
+0x40c3 020472 arg mouse_ready_reconnection_by_dpi_button ,regb 
+0x40c4 020473 branch timer_single_step 
+:      020475 mouse_ready_reconnection_by_dpi_button:
+0x40c5 020476 jam 1 ,mem_mouse_dpi_long_press_flag 
+0x40c6 020477 branch mouse_ready_reconnection_by_button 
+:      020479 mouse_discovery_by_dpi_button:
+0x40c7 020480 fetch 1 ,mem_mouse_dpi_button_state 
+0x40c8 020481 rtnne dpi_button_state_down 
+0x40c9 020482 arg mem_bt_discovery_count ,regc 
+0x40ca 020483 arg mouse_long_dpi_button_bt_discovery ,regb 
+0x40cb 020484 branch timer_single_step 
+:      020486 mouse_long_dpi_button_bt_discovery:
+0x40cc 020487 jam 1 ,mem_mouse_dpi_long_press_flag 
+0x40cd 020488 branch mouse_long_button_bt_discovery 
+:      020492 mouse_dpi_config:
+0x40ce 020493 branch mouse_seting_sensor_type 
+:      020496 mouse_setting_dpi_4_level:
+0x40cf 020497 fetch mouse_flag_len ,mem_mouse_flag 
+0x40d0 020498 rtnbit1 mouse_enable_dpi_level_4 
+0x40d1 020499 fetch 1 ,mem_mouse_dpi 
+0x40d2 020500 rtnne mouse_dpi_level4 
+0x40d3 020501 jam mouse_dpi_level1 ,mem_mouse_dpi 
+0x40d4 020502 rtn 
+:      020505 mouse_seting_dpi:
+0x40d5 020506 bpatch patch19_7 ,mem_patch19 
+0x40d6 020507 call mouse_setting_dpi_4_level 
+0x40d7 020508 call mouse_dpi_led_blink_delay 
+:      020509 mouse_seting_sensor_type:
+0x40d8 020510 fetch 1 ,mem_config_sensor_type 
+0x40d9 020511 beq p3212 ,mouse_seting_3212_dpi 
+0x40da 020512 beq ka8g2 ,mouse_seting_ka8g2_dpi 
+0x40db 020513 fetch 1 ,mem_mouse_dpi 
+0x40dc 020514 beq mouse_dpi_level1 ,mouse_set_cpi0 
+0x40dd 020515 beq mouse_dpi_level2 ,mouse_set_cpi1 
+0x40de 020516 beq mouse_dpi_level3 ,mouse_set_cpi2 
+0x40df 020517 beq mouse_dpi_level4 ,mouse_set_cpi3 
+:      020518 mouse_set_cpi1:
+0x40e0 020519 fetcht 1 ,mem_320x_dpi_1 
+0x40e1 020520 branch mouse_dpi_store 
+:      020521 mouse_set_cpi0:
+0x40e2 020522 fetcht 1 ,mem_320x_dpi_0 
+0x40e3 020523 branch mouse_dpi_store 
+:      020524 mouse_set_cpi2:
+0x40e4 020525 fetcht 1 ,mem_320x_dpi_2 
+0x40e5 020526 branch mouse_dpi_store 
+:      020527 mouse_set_cpi3:
+0x40e6 020528 fetcht 1 ,mem_320x_dpi_3 
+0x40e7 020529 branch mouse_dpi_store 
+:      020531 mouse_dpi_store:
+0x40e8 020532 fetch 1 ,mem_config_sensor_type 
+0x40e9 020533 beq p3065_xy ,mouse_3065xy_set_dpi 
+0x40ea 020534 beq mx8650 ,mouse_3065xy_set_dpi 
+0x40eb 020535 beq ka8 ,mouse_ka8_set_dpi 
+0x40ec 020536 beq p6520 ,mouse_ka8_set_dpi 
+0x40ed 020537 beq p8009 ,mouse_3065xy_set_dpi 
+:      020538 mouse_dpi_write:
+0x40ee 020539 storet 1 ,mem_mouse_cpi_count 
+0x40ef 020540 setarg mouse_dpi_address 
+0x40f0 020541 call twspi_read 
+0x40f1 020542 and pdata ,0xf8 ,temp 
+0x40f2 020543 fetch 1 ,mem_mouse_cpi_count 
+0x40f3 020544 iadd temp ,pdata 
+0x40f4 020545 lshift8 pdata ,pdata 
+0x40f5 020546 add pdata ,mouse_dpi_address ,pdata 
+0x40f6 020547 branch twspi_write 
+:      020549 mouse_3065xy_set_dpi:
+0x40f7 020550 increase -1 ,temp 
+0x40f8 020551 branch mouse_dpi_write 
+:      020553 mouse_ka8_set_dpi:
+0x40f9 020554 increase 2 ,temp 
+0x40fa 020555 branch mouse_dpi_write 
+:      020557 mouse_seting_3212_dpi:
+0x40fb 020558 fetch 1 ,mem_mouse_dpi 
+0x40fc 020559 beq mouse_dpi_level1 ,mouse_set_p3212_cpi0 
+0x40fd 020560 beq mouse_dpi_level2 ,mouse_set_p3212_cpi1 
+0x40fe 020561 beq mouse_dpi_level3 ,mouse_set_p3212_cpi2 
+0x40ff 020562 beq mouse_dpi_level4 ,mouse_set_p3212_cpi3 
+:      020563 mouse_set_p3212_cpi1:
+0x4100 020564 fetch 1 ,mem_3212_dpi_1 
+0x4101 020565 branch mouse_p3212_dpi 
+:      020566 mouse_set_p3212_cpi0:
+0x4102 020567 fetch 1 ,mem_3212_dpi_0 
+0x4103 020568 branch mouse_p3212_dpi 
+:      020569 mouse_set_p3212_cpi2:
+0x4104 020570 fetch 1 ,mem_3212_dpi_2 
+0x4105 020571 branch mouse_p3212_dpi 
+:      020572 mouse_set_p3212_cpi3:
+0x4106 020573 fetch 1 ,mem_3212_dpi_3 
+:      020574 mouse_p3212_dpi:
+0x4107 020575 store 1 ,mem_mouse_cpi_count 
+0x4108 020576 lshift8 pdata ,pdata 
+0x4109 020577 copy pdata ,rega 
+0x410a 020578 add pdata ,mouse_p3212_dpi_xaddress ,pdata 
+0x410b 020579 call twspi_write 
+0x410c 020580 copy rega ,pdata 
+0x410d 020581 add pdata ,mouse_p3212_dpi_yaddress ,pdata 
+0x410e 020582 branch twspi_write 
+:      020584 mouse_seting_ka8g2_dpi:
+0x410f 020585 fetch 1 ,mem_mouse_dpi 
+0x4110 020586 beq mouse_dpi_level1 ,mouse_set_pka8g2_cpi0 
+0x4111 020587 beq mouse_dpi_level2 ,mouse_set_pka8g2_cpi1 
+0x4112 020588 beq mouse_dpi_level3 ,mouse_set_pka8g2_cpi2 
+0x4113 020589 beq mouse_dpi_level4 ,mouse_set_pka8g2_cpi3 
+:      020590 mouse_set_pka8g2_cpi1:
+0x4114 020591 fetch 1 ,mem_ka8g2_dpi_1 
+0x4115 020592 branch mouse_p3212_dpi 
+:      020594 mouse_set_pka8g2_cpi0:
+0x4116 020595 fetch 1 ,mem_ka8g2_dpi_0 
+0x4117 020596 branch mouse_p3212_dpi 
+:      020598 mouse_set_pka8g2_cpi2:
+0x4118 020599 fetch 1 ,mem_ka8g2_dpi_2 
+0x4119 020600 branch mouse_p3212_dpi 
+:      020602 mouse_set_pka8g2_cpi3:
+0x411a 020603 fetch 1 ,mem_ka8g2_dpi_3 
+0x411b 020604 branch mouse_p3212_dpi 
+:      020612 mouse_key:
+0x411c 020613 call mouse_check_key_gpio 
+0x411d 020614 call mouse_ghost_key_check 
+0x411e 020615 call mouse_set_mult 
+0x411f 020616 call mouse_24g_key 
+0x4120 020617 copy rega ,pdata 
+0x4121 020618 fetcht 1 ,mem_mouse_key_last 
+0x4122 020619 store 1 ,mem_mouse_key_last 
+0x4123 020620 store 1 ,mem_mouse_key 
+0x4124 020621 ixor temp ,pdata 
+0x4125 020622 sub pdata ,0 ,null 
+0x4126 020623 rtn zero 
+0x4127 020624 branch enable_user 
+:      020626 mouse_24g_key:
+0x4128 020627 rtnmark0 mark_24g 
+0x4129 020628 copy rega ,pdata 
+0x412a 020629 rtn blank 
+0x412b 020630 store 1 ,mem_mouse_key 
+0x412c 020631 branch enable_user 
+:      020633 mouse_ghost_key_check:
+0x412d 020634 jam 0 ,mem_mouse_matrix_key_cow_count 
+0x412e 020635 jam 0 ,mem_mouse_matrix_key_row_count 
+0x412f 020636 jam 0 ,mem_mouse_ghost_flag 
+0x4130 020637 copy pdata ,temp 
+0x4131 020638 call mouse_ghost_key_check_l_bk 
+0x4132 020639 call mouse_ghost_key_check_m_fw 
+0x4133 020640 call mouse_ghost_key_check_bk_fw 
+0x4134 020641 call mouse_ghost_key_check_lmr 
+0x4135 020642 fetch 1 ,mem_mouse_matrix_key_row_count 
+0x4136 020643 rtn blank 
+0x4137 020644 fetch 1 ,mem_mouse_matrix_key_cow_count 
+0x4138 020645 rtn blank 
+0x4139 020646 jam 1 ,mem_mouse_ghost_flag 
+0x413a 020647 fetch 1 ,mem_mouse_key_last 
+0x413b 020648 copy pdata ,rega 
+0x413c 020649 rtn 
+:      020651 mouse_ghost_key_check_l_bk:
+0x413d 020652 and temp ,mouse_l_bk_button ,pdata 
+0x413e 020653 beq mouse_l_bk_button ,mouse_matrix_cow_more_than_one_key 
+0x413f 020654 rtn 
+:      020655 mouse_ghost_key_check_m_fw:
+0x4140 020656 and temp ,mouse_m_fw_button ,pdata 
+0x4141 020657 beq mouse_m_fw_button ,mouse_matrix_cow_more_than_one_key 
+0x4142 020658 rtn 
+:      020659 mouse_ghost_key_check_bk_fw:
+0x4143 020660 and temp ,mouse_bk_fw_button ,pdata 
+0x4144 020661 beq mouse_bk_fw_button ,mouse_matrix_row_more_than_one_key 
+0x4145 020662 rtn 
+:      020664 mouse_ghost_key_check_lmr:
+0x4146 020665 and temp ,mouse_lmr_button ,pdata 
+0x4147 020666 beq mouse_lr_button ,mouse_matrix_row_more_than_one_key 
+0x4148 020667 beq mouse_lm_button ,mouse_matrix_row_more_than_one_key 
+0x4149 020668 beq mouse_rm_button ,mouse_matrix_row_more_than_one_key 
+0x414a 020669 beq mouse_lmr_button ,mouse_matrix_row_more_than_one_key 
+0x414b 020670 rtn 
+:      020673 mouse_matrix_row_more_than_one_key:
+0x414c 020674 jam 1 ,mem_mouse_matrix_key_row_count 
+0x414d 020675 rtn 
+:      020677 mouse_matrix_cow_more_than_one_key:
+0x414e 020678 jam 1 ,mem_mouse_matrix_key_cow_count 
+0x414f 020679 rtn 
+:      020681 mouse_key_check_once:
+0x4150 020682 call mouse_check_key_gpio_once 
+0x4151 020683 call mouse_check_key_gpio 
+0x4152 020684 setarg 0x00 
+0x4153 020685 store 3 ,mem_mouse_lkey_press_status 
+0x4154 020686 rtn 
+:      020688 mouse_check_key_gpio:
+0x4155 020689 bpatch patch1a_0 ,mem_patch1a 
+0x4156 020690 fetch 1 ,mem_sensor_shutdown_flag 
+0x4157 020691 ncall mouse_check_key_gpio_once ,blank 
+0x4158 020692 arg 0 ,rega 
+0x4159 020693 call mouse_check_lkey_gpio 
+0x415a 020694 call mouse_check_rkey_gpio 
+0x415b 020695 call mouse_check_mkey_gpio 
+0x415c 020696 call mouse_check_bkkey_gpio 
+0x415d 020697 call mouse_check_fwkey_gpio 
+0x415e 020698 call mouse_check_customerkey_gpio 
+0x415f 020699 copy rega ,pdata 
+0x4160 020700 rtn 
+:      020702 mouse_check_key_gpio_once:
+0x4161 020703 setarg 0x030303 
+0x4162 020704 store 3 ,mem_mouse_lkey_press_status 
+0x4163 020705 rtn 
+:      020707 mouse_check_lkey_gpio:
+0x4164 020708 jam mouse_l_key ,mem_mouse_key_temp 
+0x4165 020709 fetcht 1 ,mem_lbutton_gpio 
+0x4166 020710 fetch 1 ,mem_mouse_lkey_press_status 
+0x4167 020711 call mouse_check_key_connect_gnd 
+0x4168 020712 store 1 ,mem_mouse_lkey_press_status 
+0x4169 020713 rtn 
+:      020715 mouse_check_rkey_gpio:
+0x416a 020716 jam mouse_r_key ,mem_mouse_key_temp 
+0x416b 020717 fetcht 1 ,mem_rbutton_gpio 
+0x416c 020718 fetch 1 ,mem_mouse_rkey_press_status 
+0x416d 020719 call mouse_check_key_connect_gnd 
+0x416e 020720 store 1 ,mem_mouse_rkey_press_status 
+0x416f 020721 rtn 
+:      020723 mouse_check_mkey_gpio:
+0x4170 020724 jam mouse_m_key ,mem_mouse_key_temp 
+0x4171 020725 fetcht 1 ,mem_mbutton_gpio 
+0x4172 020726 fetch 1 ,mem_mouse_mkey_press_status 
+0x4173 020727 call mouse_check_key_connect_gnd 
+0x4174 020728 store 1 ,mem_mouse_mkey_press_status 
+0x4175 020729 rtn 
+:      020731 mouse_check_bkkey_gpio:
+0x4176 020732 fetch 1 ,mem_bk_button_gpio 
+0x4177 020733 rtneq gpio_disable 
+0x4178 020734 jam mouse_bk_key ,mem_mouse_key_temp 
+0x4179 020735 fetch 1 ,mem_mouse_bkkey_press_status 
+0x417a 020736 copy pdata ,regc 
+0x417b 020737 fetcht 1 ,mem_bk_button_gpio 
+0x417c 020738 fetch 1 ,mem_matrix_public_gpio 
+0x417d 020739 beq gpio_disable ,mouse_3io6key_bk_check 
+0x417e 020740 call gpio_get_bit 
+0x417f 020741 branch mouse_check_bk_button_connect_gnd ,true 
+0x4180 020742 fetcht 1 ,mem_matrix_public_gpio 
+0x4181 020743 call gpio_out_active 
+0x4182 020744 fetcht 1 ,mem_bk_button_gpio 
+0x4183 020745 fetch 1 ,mem_mouse_bkkey_press_status 
+0x4184 020746 call mouse_check_key_connect_gnd 
+:      020747 mouse_check_bkkey_gpio_end:
+0x4185 020748 store 1 ,mem_mouse_bkkey_press_status 
+0x4186 020749 branch mouse_matrix_public_gpio_reset 
+:      020751 mouse_check_bk_button_connect_gnd:
+0x4187 020752 fetcht 1 ,mem_matrix_public_gpio 
+0x4188 020753 fetch 1 ,mem_mouse_bkkey_press_status 
+0x4189 020754 call mouse_check_key_connect_gnd 
+0x418a 020755 branch mouse_check_bkkey_gpio_end 
+:      020757 mouse_3io6key_bk_check:
+0x418b 020758 call mouse_3io6key_check 
+0x418c 020759 store 1 ,mem_mouse_bkkey_press_status 
+0x418d 020760 fetcht 1 ,mem_bk_button_gpio 
+0x418e 020761 branch mouse_gpio_config_input_pu 
+:      020764 mouse_check_fwkey_gpio:
+0x418f 020765 fetch 1 ,mem_fw_button_gpio 
+0x4190 020766 rtneq gpio_disable 
+0x4191 020767 jam mouse_fw_key ,mem_mouse_key_temp 
+0x4192 020768 fetch 1 ,mem_mouse_fwkey_press_status 
+0x4193 020769 copy pdata ,regc 
+0x4194 020770 fetcht 1 ,mem_fw_button_gpio 
+0x4195 020771 fetch 1 ,mem_matrix_public_gpio 
+0x4196 020772 beq gpio_disable ,mouse_3io6key_fw_check 
+0x4197 020773 call gpio_get_bit 
+0x4198 020774 branch mouse_check_fw_button_connect_gnd ,true 
+0x4199 020775 fetcht 1 ,mem_matrix_public_gpio 
+0x419a 020776 call gpio_out_active 
+0x419b 020777 fetcht 1 ,mem_fw_button_gpio 
+0x419c 020778 fetch 1 ,mem_mouse_fwkey_press_status 
+0x419d 020779 call mouse_check_key_connect_gnd 
+:      020780 mouse_check_fwkey_gpio_end:
+0x419e 020781 store 1 ,mem_mouse_fwkey_press_status 
+0x419f 020782 branch mouse_matrix_public_gpio_reset 
+:      020784 mouse_check_fw_button_connect_gnd:
+0x41a0 020785 fetcht 1 ,mem_matrix_public_gpio 
+0x41a1 020786 fetch 1 ,mem_mouse_fwkey_press_status 
+0x41a2 020787 call mouse_check_key_connect_gnd 
+0x41a3 020788 branch mouse_check_fwkey_gpio_end 
+:      020790 mouse_3io6key_fw_check:
+0x41a4 020791 call mouse_3io6key_check 
+0x41a5 020792 store 1 ,mem_mouse_fwkey_press_status 
+0x41a6 020793 fetcht 1 ,mem_fw_button_gpio 
+0x41a7 020794 branch mouse_gpio_config_input_pu 
+:      020797 mouse_matrix_public_gpio_reset:
+0x41a8 020798 fetcht 1 ,mem_matrix_public_gpio 
+0x41a9 020799 branch mouse_gpio_config_input_pu 
+:      020801 mouse_check_customerkey_gpio:
+0x41aa 020802 jam 0 ,mem_customer_key 
+0x41ab 020803 fetch mouse_flag_len ,mem_mouse_flag 
+0x41ac 020804 rtnbit0 mouse_enable_keyboard 
+0x41ad 020805 fetch 1 ,mem_customer_key_gpio 
+0x41ae 020806 rtneq gpio_disable 
+0x41af 020807 jam mouse_customer_key ,mem_mouse_key_temp 
+0x41b0 020808 fetcht 1 ,mem_customer_key_gpio 
+0x41b1 020809 fetch 1 ,mem_mouse_customerkey_press_status 
+0x41b2 020810 call mouse_check_key_connect_gnd 
+0x41b3 020811 store 1 ,mem_mouse_customerkey_press_status 
+0x41b4 020812 copy rega ,pdata 
+0x41b5 020813 bbit1 mouse_customer_key ,mouse_customerkey_press 
+0x41b6 020814 call mouse_customerkey_release 
+:      020815 mouse_check_customerkey_gpio_exit:
+0x41b7 020816 fetch 1 ,mem_customer_data_trigger 
+0x41b8 020817 store 1 ,mem_customer_data_trigger_last 
+0x41b9 020818 rtn 
+:      020821 mouse_customerkey_press:
+0x41ba 020822 jam 1 ,mem_customer_data_trigger 
+0x41bb 020823 call mouse_customer_key_need_send 
+0x41bc 020824 branch mouse_check_customerkey_gpio_exit 
+:      020826 mouse_customerkey_release:
+0x41bd 020827 jam 0 ,mem_customer_data_trigger 
+0x41be 020828 fetch 1 ,mem_customer_data_trigger_last 
+0x41bf 020829 rtn blank 
+:      020830 mouse_customer_key_need_send:
+0x41c0 020831 jam 1 ,mem_customer_key 
+0x41c1 020832 rtn 
+:      020835 mouse_check_matrix_button_connect_gnd:
+0x41c2 020836 call gpio_get_bit 
+0x41c3 020837 fetcht 1 ,mem_mouse_key_temp 
+0x41c4 020838 copy temp ,queue 
+0x41c5 020839 branch mouse_key_press ,true 
+0x41c6 020840 branch mouse_key_release 
+:      020842 mouse_check_key_connect_gnd:
+0x41c7 020843 lshift pdata ,pdata 
+0x41c8 020844 copy pdata ,regb 
+0x41c9 020845 call gpio_get_bit 
+0x41ca 020846 setflag true ,0 ,regb 
+0x41cb 020847 and regb ,0x07 ,pdata 
+0x41cc 020848 fetcht 1 ,mem_mouse_key_temp 
+0x41cd 020849 copy temp ,queue 
+0x41ce 020850 beq 0x07 ,mouse_key_press 
+0x41cf 020851 beq 0x00 ,mouse_key_release 
+0x41d0 020852 rtn 
+:      020854 mouse_key_release:
+0x41d1 020855 qset0 rega 
+0x41d2 020856 rtn 
+:      020858 mouse_key_press:
+0x41d3 020859 qset1 rega 
+0x41d4 020860 rtn 
+:      020862 mouse_3io6key_check:
+0x41d5 020863 bpatch patch1a_1 ,mem_patch1a 
+0x41d6 020864 copy regc ,pdata 
+0x41d7 020865 store 1 ,mem_mouse_key_status 
+0x41d8 020866 lshift pdata ,pdata 
+0x41d9 020867 copy pdata ,regb 
+0x41da 020868 copy temp ,regc 
+0x41db 020869 call mouse_gpio_config_input_pd 
+0x41dc 020870 copy regc ,temp 
+0x41dd 020871 call gpio_get_bit 
+0x41de 020872 nsetflag true ,0 ,regb 
+0x41df 020873 call mouse_check_press 
+0x41e0 020874 branch mouse_check_key_connect_gnd + 4 
+:      020876 mouse_check_press:
+0x41e1 020877 fetcht 1 ,mem_mouse_key_status 
+0x41e2 020878 and_into 0x01 ,temp 
+0x41e3 020879 and regb ,0x01 ,pdata 
+0x41e4 020880 isub temp ,null 
+0x41e5 020881 nbranch mouse_current_mult_update ,zero 
+0x41e6 020882 rtn 
+:      020887 mouse_init_sunt:
+0x41e7 020888 bpatch patch1a_2 ,mem_patch1a 
+0x41e8 020889 call mouse_sensor_spi_init 
+0x41e9 020890 rtn wake 
+:      020891 mouse_init_sensor_wakeup:
+0x41ea 020892 call mouse_sensor_poweron 
+:      020893 mouse_init_sensor:
+0x41eb 020894 call mouse_read_sensor_id 
+0x41ec 020895 beq p32xx_id1 ,mouse_init_p32xx_id2_judge 
+0x41ed 020896 beq p3065_id1 ,mouse_init_p3065 
+0x41ee 020897 beq pka8g2_id1 ,mouse_ka8g2_id2_judge 
+0x41ef 020898 call mouse_twspi_reset 
+0x41f0 020899 nop 6900 
+0x41f1 020900 branch mouse_init_sensor 
+:      020901 mouse_twspi_reset:
+0x41f2 020902 fetch 1 ,mem_mouse_sensor_sclk_gpio 
+0x41f3 020903 call twspi_reset 
+0x41f4 020904 branch mouse_spid_init_pin 
+:      020906 mouse_read_sensor_id:
+0x41f5 020907 setarg pan_reg_pid_h 
+0x41f6 020908 call twspi_read 
+0x41f7 020909 store 1 ,mem_sensor_id2 
+0x41f8 020910 setarg pan_reg_pid_l 
+0x41f9 020911 call twspi_read 
+0x41fa 020912 store 1 ,mem_sensor_id1 
+0x41fb 020913 rtn 
+:      020917 mouse_init_p32xx_id2_judge:
+0x41fc 020918 fetch 1 ,mem_sensor_id2 
+0x41fd 020919 beq p_mx8650 ,mouse_mx8650_init_param 
+0x41fe 020920 beq p8009_id2 ,mouse_8009_init_param 
+0x41ff 020921 beq p3205_tj3t_id2 ,mouse_3205_3t_init_param 
+0x4200 020922 beq p3204_tj3l_id2 ,mouse_3204_3l_init_param 
+0x4201 020923 beq p3212_id2 ,mouse_3212_init_param 
+0x4202 020924 beq pka8_id2 ,mouse_ka8_init_param_check 
+0x4203 020925 beq p6520a_id2 ,mouse_p6520_init_param 
+0x4204 020926 branch mouse_init_sensor 
+:      020928 mouse_mx8650_init_param:
+0x4205 020929 jam mx8650 ,mem_config_sensor_type 
+0x4206 020930 call mouse_sensor_reset 
+0x4207 020931 call delay_10ms 
+0x4208 020932 arg mem_sensor_8650_init ,regc 
+0x4209 020933 call mouse_sensor_wr_seq 
+0x420a 020934 branch mouse_dpi_config 
+:      020936 mouse_8009_init_param:
+0x420b 020937 setarg 0x16 
+0x420c 020938 call twspi_read 
+0x420d 020939 sub pdata ,0xbd ,null 
+0x420e 020940 nbranch mouse_init_sunt ,zero 
+0x420f 020941 setarg 0x19 
+0x4210 020942 call twspi_read 
+0x4211 020943 sub pdata ,0x55 ,null 
+0x4212 020944 nbranch mouse_init_sunt ,zero 
+0x4213 020945 setarg 0x1b 
+0x4214 020946 call twspi_read 
+0x4215 020947 sub pdata ,0x1d ,null 
+0x4216 020948 nbranch mouse_init_sunt ,zero 
+0x4217 020949 jam p8009 ,mem_config_sensor_type 
+0x4218 020950 arg mem_sensor_8009_init ,regc 
+0x4219 020951 branch mouse_sensor_wr_seq 
+:      020953 mouse_3205_3t_init_param:
+0x421a 020954 jam p3205 ,mem_config_sensor_type 
+0x421b 020955 arg mem_sensor_3205_init ,regc 
+0x421c 020956 call mouse_sensor_wr_seq 
+0x421d 020957 arg mem_sensor_32xx_init ,regc 
+0x421e 020958 call mouse_sensor_wr_seq 
+0x421f 020959 setarg 0x0943 
+0x4220 020960 call twspi_write 
+0x4221 020961 arg mem_sensor_32xx_init_1 ,regc 
+0x4222 020962 branch mouse_sensor_wr_seq 
+:      020964 mouse_3204_3l_init_param:
+0x4223 020965 jam p3204 ,mem_config_sensor_type 
+0x4224 020966 arg mem_sensor_3204_init ,regc 
+0x4225 020967 call mouse_sensor_wr_seq 
+0x4226 020968 arg mem_sensor_32xx_init ,regc 
+0x4227 020969 call mouse_sensor_wr_seq 
+0x4228 020970 arg mem_sensor_32xx_init_1 ,regc 
+0x4229 020971 branch mouse_sensor_wr_seq 
+:      020973 mouse_3212_init_param:
+0x422a 020974 jam p3212 ,mem_config_sensor_type 
+0x422b 020975 arg mem_sensor_3212_init ,regc 
+0x422c 020976 branch mouse_sensor_wr_seq 
+:      020978 mouse_ka8_init_param_check:
+0x422d 020979 call mouse_sensor_disable_wp 
+0x422e 020980 setarg 0x9a5b 
+0x422f 020981 call twspi_write 
+0x4230 020982 setarg 0x0d 
+0x4231 020983 call twspi_read 
+0x4232 020984 sub pdata ,0x12 ,null 
+0x4233 020985 branch mouse_ka8ul_init_param ,zero 
+0x4234 020986 sub pdata ,0x0a ,null 
+0x4235 020987 nbranch mouse_ka8hd_sensor_judge ,zero 
+0x4236 020988 setarg 0x0e 
+0x4237 020989 call twspi_read 
+0x4238 020990 sub pdata ,0xe5 ,null 
+0x4239 020991 nbranch mouse_init_sensor ,zero 
+0x423a 020992 setarg 0x10 
+0x423b 020993 call twspi_read 
+0x423c 020994 sub pdata ,0xa5 ,null 
+0x423d 020995 branch mouse_ka8ul_init_param ,zero 
+0x423e 020996 call mouse_enable_ka8_sensor_wp 
+:      020997 mouse_ka8_init_param:
+0x423f 020998 jam ka8 ,mem_config_sensor_type 
+0x4240 020999 rtn 
+:      021000 mouse_ka8ul_init_param:
+0x4241 021001 jam ka8_ul ,mem_config_sensor_type 
+0x4242 021002 arg mem_sensor_ka8ul_init ,regc 
+0x4243 021003 branch mouse_sensor_wr_seq 
+:      021004 mouse_ka8hd_sensor_judge:
+0x4244 021005 sub pdata ,0x10 ,null 
+0x4245 021006 nbranch mouse_init_sensor ,zero 
+0x4246 021007 setarg 0x0e 
+0x4247 021008 call twspi_read 
+0x4248 021009 sub pdata ,0xc5 ,null 
+0x4249 021010 nbranch mouse_init_sensor ,zero 
+0x424a 021011 setarg 0x10 
+0x424b 021012 call twspi_read 
+0x424c 021013 sub pdata ,0x38 ,null 
+0x424d 021014 nbranch mouse_init_sensor ,zero 
+:      021015 mouse_ka8hd_init_param:
+0x424e 021016 call mouse_enable_ka8_sensor_wp 
+0x424f 021017 jam ka8_hd ,mem_config_sensor_type 
+0x4250 021018 rtn 
+:      021019 mouse_enable_ka8_sensor_wp:
+0x4251 021020 setarg 0x005b 
+0x4252 021021 call twspi_write 
+0x4253 021022 branch mouse_sensor_enable_wp 
+:      021024 mouse_p6520_init_param:
+0x4254 021025 jam p6520 ,mem_config_sensor_type 
+0x4255 021026 arg mem_sensor_p6520_init ,regc 
+0x4256 021027 branch mouse_sensor_wr_seq 
+:      021029 mouse_init_p3065:
+0x4257 021030 call mouse_sensor_poweron 
+0x4258 021031 fetch 1 ,mem_sensor_id2 
+0x4259 021032 beq p3065_xy_id2 ,mouse_p3065xy_init_param 
+0x425a 021033 beq p3065_id2 ,mouse_p3065_init_param 
+0x425b 021034 branch mouse_init_sensor 
+:      021036 mouse_p3065_init_param:
+0x425c 021037 jam p3065 ,mem_config_sensor_type 
+0x425d 021038 rtn 
+:      021040 mouse_p3065xy_init_param:
+0x425e 021041 jam p3065_xy ,mem_config_sensor_type 
+0x425f 021042 rtn 
+:      021044 mouse_ka8g2_id2_judge:
+0x4260 021045 call mouse_sensor_poweron 
+0x4261 021046 fetch 1 ,mem_sensor_id2 
+0x4262 021047 beq pka8g2_id2 ,mouse_ka8g2_init_param 
+0x4263 021048 branch mouse_init_p32xx_id2_judge 
+:      021049 mouse_ka8g2_init_param:
+0x4264 021050 jam ka8g2 ,mem_config_sensor_type 
+0x4265 021051 arg mem_sensor_ka8g2_init ,regc 
+0x4266 021052 branch mouse_sensor_wr_seq 
+:      021054 mouse_sensor_enable_wp:
+0x4267 021055 setarg 0x0009 
+0x4268 021056 branch twspi_write 
+:      021057 mouse_sensor_disable_wp:
+0x4269 021058 setarg 0x5a09 
+0x426a 021059 branch twspi_write 
+:      021061 mouse_sensor_wr_seq:
+0x426b 021062 ifetch 2 ,regc 
+0x426c 021063 arg 0xffff ,temp 
+0x426d 021064 isub temp ,null 
+0x426e 021065 rtn zero 
+0x426f 021066 call twspi_write 
+0x4270 021067 increase 2 ,regc 
+0x4271 021068 branch mouse_sensor_wr_seq 
+:      021070 mouse_sensor_reset:
+0x4272 021071 setarg 0x8006 
+0x4273 021072 call twspi_write 
+0x4274 021073 nop 12000 
+0x4275 021074 rtn 
+:      021076 mouse_sensor_poweron:
+0x4276 021077 bpatch patch1a_3 ,mem_patch1a 
+0x4277 021078 call mouse_sensor_spi_init 
+0x4278 021079 call mouse_sensor_reset 
+0x4279 021080 arg mem_sensor_poweron_init ,regc 
+0x427a 021081 call mouse_sensor_wr_seq 
+0x427b 021082 branch mouse_dpi_config 
+:      021084 mouse_sensor_powerdown:
+0x427c 021085 call mouse_init_sunt 
+0x427d 021086 call mouse_sensor_spi_init 
+0x427e 021087 setarg 0x0806 
+0x427f 021088 branch twspi_write 
+:      021094 mouse_check_sensor_data:
+0x4280 021095 fetch 1 ,mem_spi_write_flash_sm 
+0x4281 021096 rtnne flash_sm_no_buys 
+0x4282 021097 fetch 1 ,mem_config_sensor_type 
+0x4283 021098 beq p3205 ,mouse_p32xx_sensor_motion 
+0x4284 021099 beq p3065 ,mouse_p32xx_sensor_motion 
+0x4285 021100 beq ka8 ,mouse_p32xx_sensor_motion 
+0x4286 021101 beq p3204 ,mouse_p32xx_sensor_motion 
+0x4287 021102 beq p3212 ,mouse_p3212_sensor_motion 
+0x4288 021103 beq p3065_xy ,mouse_p32xx_sensor_motion 
+0x4289 021104 beq p8009 ,mouse_p8009_sensor_motion 
+0x428a 021105 beq ka8g2 ,mouse_pka8g2_sensor_motion 
+0x428b 021106 branch mouse_p32xx_sensor_motion 
+:      021109 mouse_p32xx_sensor_motion:
+0x428c 021110 call mouse_clear_sensor_data 
+0x428d 021111 disable user 
+0x428e 021112 fetch 1 ,mem_sensor_motion_gpio 
+0x428f 021113 beq gpio_disable ,mouse_p32xx_sensor_motion_2 
+0x4290 021114 fetcht 1 ,mem_sensor_motion_gpio 
+0x4291 021115 call gpio_get_bit 
+0x4292 021116 nrtn true 
+:      021117 mouse_p32xx_sensor_motion_2:
+0x4293 021118 setarg pan_reg_pid_l 
+0x4294 021119 call twspi_read 
+0x4295 021120 bne p32xx_id1 ,mouse_p3065_judge 
+:      021121 mouse_p32xx_sensor_motion_1:
+0x4296 021122 setarg pan_reg_motion_staus 
+0x4297 021123 call twspi_read 
+0x4298 021124 rtnbit0 7 
+0x4299 021125 call mouse_read_sensor_common 
+0x429a 021126 fetch 1 ,mem_mouse_x 
+0x429b 021127 call mouse_data_extsign 
+0x429c 021128 store 2 ,mem_mouse_x 
+0x429d 021129 fetch 1 ,mem_mouse_y 
+0x429e 021130 call mouse_data_extsign 
+0x429f 021131 store 2 ,mem_mouse_y 
+0x42a0 021132 fetch 1 ,mem_config_sensor_angle 
+0x42a1 021133 beq mouse_6clk_angle ,mouse_motion32xx_6clk_direction_selection 
+0x42a2 021134 beq mouse_9clk_angle ,mouse_motion32xx_9clk_direction_selection 
+0x42a3 021135 beq mouse_12clk_angle ,mouse_motion32xx_12clk_direction_selection 
+0x42a4 021136 beq mouse_3clk_angle ,mouse_motion32xx_3clk_direction_selection 
+0x42a5 021137 rtn 
+:      021139 mouse_p3065_judge:
+0x42a6 021140 beq p3065_id1 ,mouse_p32xx_sensor_motion_1 
+0x42a7 021141 branch mouse_twspi_reset 
+:      021143 mouse_motion32xx_6clk_direction_selection:
+0x42a8 021144 call mouse_motion_6clk_direction_dispose 
+0x42a9 021145 branch mouse_sensor_sdio_low 
+:      021146 mouse_motion32xx_9clk_direction_selection:
+0x42aa 021147 call mouse_motion_9clk_direction_dispose 
+0x42ab 021148 branch mouse_sensor_sdio_low 
+:      021149 mouse_motion32xx_12clk_direction_selection:
+0x42ac 021150 call mouse_motion_12clk_direction_dispose 
+0x42ad 021151 branch mouse_sensor_sdio_low 
+:      021152 mouse_motion32xx_3clk_direction_selection:
+0x42ae 021153 call mouse_motion_3clk_direction_dispose 
+0x42af 021154 branch mouse_sensor_sdio_low 
+:      021158 mouse_p3212_sensor_motion:
+0x42b0 021159 call mouse_clear_sensor_data 
+0x42b1 021160 fetch 1 ,mem_sensor_motion_gpio 
+0x42b2 021161 beq gpio_disable ,mouse_p3212_sensor_motion_1 
+0x42b3 021162 fetcht 1 ,mem_sensor_motion_gpio 
+0x42b4 021163 call gpio_get_bit 
+0x42b5 021164 nrtn true 
+:      021165 mouse_p3212_sensor_motion_1:
+0x42b6 021166 setarg pan_reg_pid_l 
+0x42b7 021167 call twspi_read 
+0x42b8 021168 bne p32xx_id1 ,mouse_twspi_reset 
+:      021169 mouse_p3212_sensor_motion_2:
+0x42b9 021170 setarg pan_reg_motion_staus 
+0x42ba 021171 call twspi_read 
+0x42bb 021172 rtnbit0 7 
+0x42bc 021173 call mouse_read_sensor_common 
+0x42bd 021174 call mouse_read_3212sensor_xy_high 
+0x42be 021175 store 1 ,mem_mouse_xy_h 
+0x42bf 021176 rshift4 pdata ,pdata 
+0x42c0 021177 call mouse_data_extsign_bit3 
+0x42c1 021178 store 1 ,mem_mouse_x + 1 
+0x42c2 021179 fetch 1 ,mem_mouse_xy_h 
+0x42c3 021180 and pdata ,0x0f ,pdata 
+0x42c4 021181 call mouse_data_extsign_bit3 
+0x42c5 021182 store 1 ,mem_mouse_y + 1 
+0x42c6 021183 fetch 1 ,mem_config_sensor_angle 
+0x42c7 021184 beq mouse_6clk_angle ,mouse_motion_6clk_direction_dispose 
+0x42c8 021185 beq mouse_9clk_angle ,mouse_motion_9clk_direction_dispose 
+0x42c9 021186 beq mouse_12clk_angle ,mouse_motion_12clk_direction_dispose 
+0x42ca 021187 beq mouse_3clk_angle ,mouse_motion_3clk_direction_dispose 
+0x42cb 021188 rtn 
+:      021190 mouse_read_3212sensor_xy_high:
+0x42cc 021191 setarg 0x12 
+0x42cd 021192 branch twspi_read 
+:      021194 mouse_pka8g2_sensor_motion:
+0x42ce 021195 call mouse_clear_sensor_data 
+0x42cf 021196 fetch 1 ,mem_sensor_motion_gpio 
+0x42d0 021197 beq gpio_disable ,mouse_pka8g2_sensor_motion_1 
+0x42d1 021198 fetcht 1 ,mem_sensor_motion_gpio 
+0x42d2 021199 call gpio_get_bit 
+0x42d3 021200 nrtn true 
+:      021201 mouse_pka8g2_sensor_motion_1:
+0x42d4 021202 branch mouse_p3212_sensor_motion_2 
+:      021205 mouse_p8009_sensor_motion:
+0x42d5 021206 call mouse_clear_sensor_data 
+0x42d6 021207 disable user 
+0x42d7 021208 setarg pan_reg_motion_staus 
+0x42d8 021209 call twspi_read 
+0x42d9 021210 rtnbit0 7 
+0x42da 021211 setarg pan_reg_opration_state 
+0x42db 021212 call twspi_read 
+0x42dc 021213 branch mouse_p32xx_sensor_motion_1 + 3 ,blank 
+0x42dd 021214 setarg 0 
+0x42de 021215 store 6 ,mem_mouse_x 
+0x42df 021216 rtn 
+:      021220 mouse_sensor_set_angle:
+0x42e0 021221 fetch 1 ,mem_sensor_angle_default 
+0x42e1 021222 store 1 ,mem_config_sensor_angle 
+0x42e2 021223 fetch 1 ,mem_select_sensor_angle_gpio 
+0x42e3 021224 rtneq gpio_disable 
+0x42e4 021225 fetcht 1 ,mem_select_sensor_angle_gpio 
+0x42e5 021226 call mouse_gpio_config_input_pu 
+0x42e6 021227 fetcht 1 ,mem_select_sensor_angle_gpio 
+0x42e7 021228 call gpio_get_bit 
+0x42e8 021229 call mouse_sensor_switch_angle ,true 
+0x42e9 021230 branch mouse_gpio_config_input_pd 
+:      021231 mouse_sensor_switch_angle:
+0x42ea 021232 fetch 1 ,mem_sensor_angle_switch 
+0x42eb 021233 store 1 ,mem_config_sensor_angle 
+0x42ec 021234 rtn 
+:      021236 mouse_motion_6clk_direction_dispose:
+0x42ed 021237 fetch 2 ,mem_mouse_x 
+0x42ee 021238 sub pdata ,0 ,pdata 
+0x42ef 021239 store 2 ,mem_mouse_x 
+0x42f0 021240 branch enable_user 
+:      021241 mouse_motion_12clk_direction_dispose:
+0x42f1 021242 fetch 2 ,mem_mouse_y 
+0x42f2 021243 sub pdata ,0 ,pdata 
+0x42f3 021244 store 2 ,mem_mouse_y 
+0x42f4 021245 branch enable_user 
+:      021246 mouse_motion_9clk_direction_dispose:
+0x42f5 021247 fetch 2 ,mem_mouse_y 
+0x42f6 021248 sub pdata ,0 ,pdata 
+0x42f7 021249 store 2 ,mem_mouse_y 
+0x42f8 021250 fetch 2 ,mem_mouse_x 
+0x42f9 021251 sub pdata ,0 ,pdata 
+0x42fa 021252 store 2 ,mem_mouse_x 
+0x42fb 021253 call mouse_sensor_data_swap_places 
+0x42fc 021254 branch enable_user 
+:      021255 mouse_motion_3clk_direction_dispose:
+0x42fd 021256 call mouse_sensor_data_swap_places 
+0x42fe 021257 branch enable_user 
+:      021259 mouse_sensor_data_swap_places:
+0x42ff 021260 fetch 2 ,mem_mouse_y 
+0x4300 021261 fetcht 2 ,mem_mouse_x 
+0x4301 021262 store 2 ,mem_mouse_x 
+0x4302 021263 storet 2 ,mem_mouse_y 
+0x4303 021264 rtn 
+:      021267 mouse_clear_sensor_data:
+0x4304 021268 fetch 1 ,mem_mouse_move_flag 
+0x4305 021269 call mouse_read_sensor_common ,blank 
+0x4306 021270 jam 1 ,mem_mouse_move_flag 
+0x4307 021271 rtn 
+:      021273 mouse_clear_sensor_data_by_reset:
+0x4308 021274 jam 1 ,mem_mouse_clear_sensor_data_flag 
+0x4309 021275 call le_set_config_more_data 
+:      021276 mouse_init_sensor_reset:
+0x430a 021277 branch mouse_init_sunt 
+:      021279 mouse_data_xy_release:
+0x430b 021280 fetch 1 ,mem_sensor_motion_gpio 
+0x430c 021281 rtnne gpio_disable 
+0x430d 021282 fetch 1 ,mem_mouse_long_mult_flag 
+0x430e 021283 rtnne 1 
+0x430f 021284 setarg 0 
+0x4310 021285 store 1 ,mem_mouse_long_mult_flag 
+0x4311 021286 store 4 ,mem_mouse_x 
+0x4312 021287 branch mouse_init_sensor_reset 
+:      021289 mouse_data_extsign:
+0x4313 021290 rtnbit0 7 
+0x4314 021291 arg 0xff00 ,temp 
+0x4315 021292 ior temp ,pdata 
+0x4316 021293 rtn 
+:      021295 mouse_data_extsign_bit3:
+0x4317 021296 rtnbit0 3 
+0x4318 021297 arg 0xf0 ,temp 
+0x4319 021298 ior temp ,pdata 
+0x431a 021299 rtn 
+:      021301 mouse_read_sensor_common:
+0x431b 021302 arg pan_reg_delta_x ,pdata 
+0x431c 021303 call twspi_read 
+0x431d 021304 store 2 ,mem_mouse_x 
+0x431e 021305 arg pan_reg_delta_y ,pdata 
+0x431f 021306 call twspi_read 
+0x4320 021307 store 2 ,mem_mouse_y 
+0x4321 021308 rtn 
+:      021311 mouse_sensor_sdio_low:
+0x4322 021312 fetcht 1 ,mem_mouse_sensor_sdio_gpio 
+0x4323 021313 call gpio_get_bit 
+0x4324 021314 rtn true 
+0x4325 021315 setarg 0x0a 
+0x4326 021316 call twspi_read 
+0x4327 021317 nop 1000 
+0x4328 021318 branch mouse_sensor_sdio_low 
+:      021320 mouse_set_sdio_high:
+0x4329 021321 setarg 0x8100 
+0x432a 021322 branch twspi_write 
+:      021327 mouse_buletooth_fast_conn_init:
+0x432b 021328 jam 0xff ,mem_mouse_bluetooth_fast_conn_flag 
+0x432c 021329 fetch 1 ,mem_mouse_bluetooth_type 
+0x432d 021330 bbit1 mode_4_mouse ,mouse_ble_fast_conn_init 
+0x432e 021331 bbit1 mode_3_mouse ,mouse_bt_fast_conn_init 
+:      021332 mouse_ble_fast_conn_init:
+0x432f 021333 jam 0x34 ,mem_xrecord_mode 
+0x4330 021334 setarg 0x0f0f0f 
+0x4331 021335 store 3 ,mem_le_lap 
+0x4332 021336 store 3 ,mem_le_lap + 3 
+0x4333 021337 branch mouse_start_reconnect 
+:      021339 mouse_bt_fast_conn_init:
+0x4334 021340 jam 0x33 ,mem_xrecord_mode 
+0x4335 021341 arg mem_mouse_compare_addr_ff ,contr 
+0x4336 021342 call mouse_load_bt_device 
+0x4337 021343 branch mouse_start_reconnect 
+:      021345 mouse_buletooth_fast_conn_end:
+0x4338 021346 bpatch patch1a_4 ,mem_patch1a 
+0x4339 021347 call mouse_select_reconn_device 
+0x433a 021348 call mouse_bluetooth_fast_conn_disable 
+0x433b 021349 fetch 1 ,mem_device_flag 
+0x433c 021350 beq mode_bt_device1 ,mouse_device1_check_auto_discover 
+0x433d 021351 beq mode_bt_device2 ,mouse_device2_check_auto_discover 
+0x433e 021352 rtn 
+:      021353 mouse_device1_check_auto_discover:
+0x433f 021354 fetch 6 ,mem_device1_addr 
+0x4340 021355 branch mouse_device_check_auto_discover 
+:      021356 mouse_device2_check_auto_discover:
+0x4341 021357 fetch 6 ,mem_device2_addr 
+:      021358 mouse_device_check_auto_discover:
+0x4342 021359 fetcht 6 ,mem_mouse_compare_addr_ff 
+0x4343 021360 isub temp ,null 
+0x4344 021361 branch mouse_start_discovery ,zero 
+0x4345 021362 branch mouse_start_reconnect_device 
+:      021364 mouse_bt_fast_conn_send_device_name:
+0x4346 021365 call mouse_bluetooth_fast_conn_disable 
+0x4347 021366 fetch 1 ,mem_local_name_length 
+0x4348 021367 increase 3 ,pdata 
+0x4349 021368 copy pdata ,rega 
+0x434a 021369 call hid_malloc_tx_buff 
+0x434b 021370 fetch 2 ,mem_hid_int_remote_cid 
+0x434c 021371 istore 2 ,contw 
+0x434d 021372 setarg 0x04a1 
+0x434e 021373 istore 2 ,contw 
+0x434f 021374 fetch 1 ,mem_local_name_length 
+0x4350 021375 increase 1 ,pdata 
+0x4351 021376 copy pdata ,loopcnt 
+0x4352 021377 arg mem_local_name_length ,contr 
+0x4353 021378 branch memcpy 
+:      021380 mouse_bluetooth_fast_conn_disable:
+0x4354 021381 jam 0x5a ,mem_mouse_bluetooth_fast_conn_flag 
+0x4355 021382 rtn 
+:      021385 mouse_stop_bluetooth_mode:
+0x4356 021386 fetch 2 ,mem_ui_state_map 
+0x4357 021387 bbit1 ui_state_bt_reconnect ,mouse_cancel_reconnect 
+0x4358 021388 bbit1 ui_state_ble_connected ,app_ble_disconnect 
+0x4359 021389 bbit1 ui_state_bt_connected ,app_bt_disconnect 
+0x435a 021390 branch mouse_stop_discovery 
+:      021392 mouse_disconnect:
+0x435b 021393 setarg 0 
+0x435c 021394 store 2 ,mem_mouse_no_data_timer 
+0x435d 021395 fetch 2 ,mem_ui_state_map 
+0x435e 021396 bbit1 ui_state_ble_connected ,app_ble_disconnect 
+0x435f 021397 fetch 2 ,mem_ui_state_map 
+0x4360 021398 bbit1 ui_state_bt_connected ,app_bt_disconnect 
+0x4361 021399 rtn 
+:      021401 mouse_cancel_reconnect:
+0x4362 021402 call mouse_bt_cannel_reconn_enable 
+0x4363 021403 branch check_51cmd_bb_reconn_cancel 
+:      021405 mouse_check_125hz:
+0x4364 021406 fetch mouse_flag_len ,mem_mouse_flag 
+0x4365 021407 rtnbit0 mouse_enable_bt_125hz 
+:      021408 mouse_bluetooth_125hz:
+0x4366 021409 nbranch mouse_bluetooth_125hz_clear ,user 
+0x4367 021410 fetch 1 ,mem_bluetooth_125hz_cnt 
+0x4368 021411 increase 1 ,pdata 
+0x4369 021412 and_into 0x0f ,pdata 
+0x436a 021413 store 1 ,mem_bluetooth_125hz_cnt 
+0x436b 021414 nrtn blank 
+:      021415 mouse_bluetooth_125hz_clear:
+0x436c 021416 jam 0 ,mem_bluetooth_125hz_cnt 
+0x436d 021417 disable user 
+0x436e 021418 rtn 
+:      021421 mouse_current_mult_update:
+0x436f 021422 fetch 1 ,mem_sensor_motion_gpio 
+0x4370 021423 rtnne gpio_disable 
+0x4371 021424 jam 0 ,mem_lpm_mult 
+0x4372 021425 jam 30 ,mem_mouse_current_mult_timer 
+0x4373 021426 rtn 
+:      021429 mouse_priority_bb_event:
+0x4374 021430 bpatch patch1a_5 ,mem_patch1a 
+0x4375 021431 copy regc ,pdata 
+0x4376 021432 beq bt_evt_le_connected ,mouse_le_bb_event_connected 
+0x4377 021433 beq bt_evt_bb_connected ,mouse_bb_event_connected 
+0x4378 021434 beq bt_evt_le_disconnected ,mouse_le_bb_disconnected 
+0x4379 021435 beq bt_evt_bb_disconnected ,mouse_bb_disconnected 
+0x437a 021436 beq bt_evt_setup_complete ,mouse_bt_event_setup_complete 
+0x437b 021437 beq bt_evt_button_long_pressed ,mouse_bb_event_discovery_btn 
+0x437c 021438 beq bt_evt_hid_handshake ,mouse_bt_hid_handshake 
+0x437d 021439 beq bt_evt_hid_connected ,app_hid_connected 
+0x437e 021440 beq bt_evt_reconn_failed ,mouse_bb_event_reconn_failed 
+0x437f 021441 beq bt_evt_reconn_page_timeout ,mouse_bb_event_reconn_timeout 
+0x4380 021442 beq bt_evt_switch_not_accept ,app_bt_role_switch 
+0x4381 021443 beq bt_evt_switch_success_master ,mouse_enter_sniff_check 
+0x4382 021444 beq bt_evt_sniff_not_accept ,mouse_sniff_not_accept 
+0x4383 021445 beq bt_evt_pincode_req ,mouse_bb_event_pincode 
+0x4384 021446 beq bt_evt_remote_unsniff ,app_start_auto_sniff 
+0x4385 021447 beq bt_evt_le_pairing_success ,mouse_le_pairing_success 
+0x4386 021448 beq bt_evt_le_enc_info ,mouse_le_enc_info 
+0x4387 021449 beq bt_evt_le_start_enc ,mouse_le_ll_start_encryt 
+0x4388 021450 beq bt_evt_le_pairing_complete ,mouse_le_pairing_complete 
+0x4389 021451 beq bt_evt_le_parse_conn_papa_update_rsp ,mouse_le_conn_param_update_rsp_recieved 
+0x438a 021452 beq bt_evt_virtual_cable_unplug ,mouse_irtual_cable_unplug 
+0x438b 021453 beq bt_evt_24g_pairing_complete ,mouse_24g_pairing_complete 
+0x438c 021454 beq bt_evt_24g_attempt_fail ,mouse_24g_attempt_fail 
+0x438d 021455 beq bt_evt_24g_attempt_success ,mouse_24g_attempt_success 
+0x438e 021456 beq bt_evt_le_parse_conn_param_accepted ,mouse_le_parse_conn_param_accepted 
+0x438f 021457 rtn 
+:      021460 mouse_le_bb_event_connected:
+0x4390 021461 jam 0 ,mem_mouse_long_mult_flag 
+0x4391 021462 call mouse_init_sensor_reset 
+0x4392 021463 jam 1 ,mem_mouse_le_bb_connected_flag 
+0x4393 021464 call mouse_24g_first_store_reconn_info 
+0x4394 021465 fetch 1 ,mem_mouse_le_reconnect_flag 
+0x4395 021466 nbranch mouse_le_bb_event_connected_next ,blank 
+0x4396 021467 jam 0x14 ,mem_mouse_send_secutiry_request_timer 
+:      021468 mouse_le_bb_event_connected_next:
+0x4397 021469 fetch app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x4398 021470 set0 app_disc_by_button ,pdata 
+0x4399 021471 store app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x439a 021472 jam 0 ,mem_mouse_direct_timer 
+0x439b 021473 fetch 2 ,mem_le_battery_level_updata_timer_init 
+0x439c 021474 store 2 ,mem_le_battery_level_updata_timer 
+0x439d 021475 call mouse_no_data_timer_init 
+0x439e 021476 branch mouse_stop_discovery 
+:      021478 mouse_le_bb_disconnected:
+0x439f 021479 jam 0 ,mem_mouse_le_bb_connected_flag 
+0x43a0 021480 setarg le_interval_7_5ms 
+0x43a1 021481 fetch mouse_flag_len ,mem_mouse_flag 
+0x43a2 021482 bbit1 mouse_enable_bt_125hz ,mouse_le_bb_disconnected_next 
+0x43a3 021483 setarg le_interval_8_75ms 
+:      021484 mouse_le_bb_disconnected_next:
+0x43a4 021485 store 2 ,mem_le_interval_min 
+0x43a5 021486 store 2 ,mem_le_interval_min + 2 
+0x43a6 021487 jam le_lpm_enable ,mem_mouse_le_conn_param_reject 
+0x43a7 021488 jam 0 ,mem_mouse_clear_sensor_data_flag 
+0x43a8 021489 call le_clr_config_more_data 
+0x43a9 021490 branch mouse_bb_disconnected 
+:      021492 mouse_le_pairing_success:
+0x43aa 021493 arg ll_pairing_success_flag ,queue 
+0x43ab 021494 branch mouse_le_enable_connect_flag 
+:      021496 mouse_le_enc_info:
+:      021497 mouse_updata_le_param:
+0x43ac 021498 jam bt_cmd_le_update_conn ,mem_fifo_temp 
+0x43ad 021499 branch ui_ipc_send_cmd 
+:      021501 mouse_le_ll_start_encryt:
+0x43ae 021502 fetch 1 ,mem_mouse_le_reconnect_flag 
+0x43af 021503 beq 1 ,mouse_le_ll_reconn_start_encryt 
+0x43b0 021504 branch mouse_le_ll_enable_start_enc_flag 
+:      021505 mouse_le_ll_reconn_start_encryt:
+0x43b1 021506 call mouse_updata_le_param 
+0x43b2 021507 jam 20 ,mem_le_start_encrypt_timer 
+:      021508 mouse_le_ll_enable_start_enc_flag:
+0x43b3 021509 arg ll_start_enc_flag ,queue 
+0x43b4 021510 branch mouse_le_enable_connect_flag 
+:      021512 mouse_le_enable_connect_flag:
+0x43b5 021513 fetch 1 ,mem_le_connect_status_flag 
+0x43b6 021514 qset1 pdata 
+0x43b7 021515 store 1 ,mem_le_connect_status_flag 
+0x43b8 021516 rtn 
+:      021518 mouse_le_pairing_complete:
+0x43b9 021519 branch app_ble_store_reconn_info 
+:      021521 mouse_le_conn_param_update_rsp_recieved:
+0x43ba 021522 fetch 2 ,mem_le_l2cap_signaling_conn_param_update_rsp_result 
+0x43bb 021523 rtneq ble_signaling_connect_parameter_update_accepted 
+0x43bc 021524 fetch 1 ,mem_le_tsniff 
+0x43bd 021525 rshift2 pdata ,pdata 
+0x43be 021526 sub pdata ,le_interval_15ms ,null 
+0x43bf 021527 rtn positive 
+0x43c0 021528 setarg le_interval_11_25ms 
+0x43c1 021529 store 2 ,mem_le_interval_min 
+0x43c2 021530 store 2 ,mem_le_interval_min + 2 
+0x43c3 021531 call mouse_updata_le_param 
+:      021532 mouse_le_conn_param_lpm_disable:
+0x43c4 021533 jam le_lpm_disable ,mem_mouse_le_conn_param_reject 
+0x43c5 021534 rtn 
+:      021536 mouse_le_conn_param_lpm_enable:
+0x43c6 021537 jam le_lpm_enable ,mem_mouse_le_conn_param_reject 
+0x43c7 021538 rtn 
+:      021540 mouse_le_bb_event_connect_complete:
+0x43c8 021541 fetch 1 ,mem_mouse_le_reconnect_flag 
+0x43c9 021542 nrtn blank 
+0x43ca 021543 fetch 1 ,mem_le_att_handle 
+0x43cb 021544 sub pdata ,34 ,pdata 
+0x43cc 021545 nrtn zero 
+0x43cd 021546 jam 0 ,mem_le_start_encrypt_timer 
+:      021547 mouse_le_write_enable:
+0x43ce 021548 arg write_req_enable_flag ,queue 
+0x43cf 021549 branch mouse_le_enable_connect_flag 
+:      021551 mouse_le_parse_conn_param_accepted:
+0x43d0 021552 fetch 1 ,mem_le_new_conninterval 
+0x43d1 021553 sub pdata ,le_interval_15ms ,null 
+0x43d2 021554 nbranch mouse_le_conn_param_lpm_disable ,positive 
+0x43d3 021555 fetch 1 ,mem_le_new_connslavelatency 
+0x43d4 021556 fetcht 1 ,mem_lpm_mult_init 
+0x43d5 021557 isub temp ,null 
+0x43d6 021558 branch mouse_le_lpm_mult_reinit ,positive 
+0x43d7 021559 fetch 1 ,mem_le_new_connslavelatency 
+0x43d8 021560 store 1 ,mem_lpm_mult 
+0x43d9 021561 branch mouse_le_conn_param_lpm_enable 
+:      021562 mouse_le_lpm_mult_reinit:
+0x43da 021563 fetch 1 ,mem_lpm_mult_init 
+0x43db 021564 store 1 ,mem_lpm_mult 
+0x43dc 021565 branch mouse_le_conn_param_lpm_enable 
+:      021567 mouse_le_clean_connect_flag:
+0x43dd 021568 jam 0 ,mem_le_connect_status_flag 
+0x43de 021569 rtn 
+:      021571 mouse_le:
+0x43df 021572 bpatch patch1a_6 ,mem_patch1a 
+0x43e0 021573 call le_fifo_check_nearly_full 
+0x43e1 021574 nrtn blank 
+0x43e2 021575 fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
+0x43e3 021576 beq 0xff ,mouse_le_next 
+0x43e4 021577 fetch 1 ,mem_le_connect_status_flag 
+0x43e5 021578 and pdata ,0x03 ,pdata 
+0x43e6 021579 rtnne 0x03 
+:      021580 mouse_le_next:
+0x43e7 021581 fetch 1 ,mem_mouse_clear_sensor_data_flag 
+0x43e8 021582 call mouse_clear_sensor_data_by_reset ,blank 
+0x43e9 021583 fetch mouse_flag_len ,mem_mouse_flag 
+0x43ea 021584 bbit1 mouse_24g_pairing_flag ,mouse_le_send_empty_packet 
+0x43eb 021585 bbit1 mouse_select_device_flag ,mouse_le_send_empty_packet 
+0x43ec 021586 bbit1 mouse_bt_discovery_button_down_flag ,mouse_le_send_empty_packet 
+0x43ed 021587 bbit1 mouse_bt_discovery_button_long_down_flag ,mouse_le_send_empty_packet 
+0x43ee 021588 call mouse_motion 
+0x43ef 021589 call mouse_check_125hz 
+0x43f0 021590 nrtn user 
+0x43f1 021591 call mouse_current_mult_update 
+0x43f2 021592 call mouse_data_xy_release 
+0x43f3 021593 call mouse_wheel_trigger 
+0x43f4 021594 fetch mouse_flag_len ,mem_mouse_flag 
+0x43f5 021595 bbit0 mouse_enable_keyboard ,mouse_le_send_mouse_data 
+0x43f6 021596 fetch 1 ,mem_customer_key 
+0x43f7 021597 beq 1 ,mouse_le_send_keyboard_package_data 
+:      021598 mouse_le_send_mouse_data:
+0x43f8 021599 branch mouse_fill_mouse_data_le 
+:      021602 mouse_le_send_keyboard_package_data:
+0x43f9 021603 fetch 1 ,mem_customer_data_trigger 
+0x43fa 021604 branch mouse_le_release_keyboard_data ,blank 
+0x43fb 021605 fetch 8 ,mem_customer_key_press + 1 
+:      021606 mouse_fill_keyboard_package_data_le:
+0x43fc 021607 store 8 ,mem_pdatatemp 
+0x43fd 021608 fetch 1 ,mem_customer_key_press 
+0x43fe 021609 beq kb_multikey_report_id ,mouse_fill_multimedia_key_data_le 
+0x43ff 021610 beq kb_system_conctrl_report_id ,mouse_fill_systemctrl_key_data_le 
+0x4400 021611 jam 8 ,mem_le_data_len 
+0x4401 021612 fetcht 2 ,mem_le_keyboard_handle 
+0x4402 021613 branch mouse_fill_data_le 
+:      021616 mouse_le_release_keyboard_data:
+0x4403 021617 fetch 8 ,mem_customer_key_release + 1 
+0x4404 021618 branch mouse_fill_keyboard_package_data_le 
+:      021620 mouse_fill_multimedia_key_data_le:
+0x4405 021621 jam 3 ,mem_le_data_len 
+0x4406 021622 fetcht 2 ,mem_le_multimedia_handle 
+0x4407 021623 branch mouse_fill_data_le 
+:      021625 mouse_fill_systemctrl_key_data_le:
+0x4408 021626 jam 2 ,mem_le_data_len 
+0x4409 021627 fetcht 2 ,mem_le_systemctrl_handle 
+0x440a 021628 branch mouse_fill_data_le 
+:      021630 mouse_fill_battery_level_le:
+0x440b 021631 arg 1 ,rega 
+0x440c 021632 fetcht 2 ,mem_le_battery_level_handle 
+0x440d 021633 call le_att_malloc_tx_notify 
+0x440e 021634 fetch 1 ,mem_le_battery_level_percentage 
+0x440f 021635 istore 1 ,contw 
+0x4410 021636 rtn 
+:      021639 mouse_le_send_empty_packet:
+0x4411 021640 setarg 0 
+0x4412 021641 store 7 ,mem_mouse_key 
+:      021642 mouse_fill_mouse_data_le:
+0x4413 021643 jam 7 ,mem_le_data_len 
+0x4414 021644 fetch 7 ,mem_mouse_key 
+0x4415 021645 store 7 ,mem_pdatatemp 
+0x4416 021646 fetcht 2 ,mem_le_notify_handle 
+0x4417 021647 branch mouse_fill_data_le 
+:      021649 mouse_fill_data_le:
+0x4418 021650 fetch 1 ,mem_le_data_len 
+0x4419 021651 copy pdata ,rega 
+0x441a 021652 call le_att_malloc_tx_notify 
+0x441b 021653 fetcht 1 ,mem_le_data_len 
+0x441c 021654 copy temp ,loopcnt 
+0x441d 021655 arg mem_pdatatemp ,contr 
+0x441e 021656 branch memcpy 
+:      021658 mouse_check_51cmd_adv:
+0x441f 021659 jam 0 ,mem_mouse_le_reconnect_flag 
+0x4420 021660 fetch 3 ,mem_le_adv_ind 
+0x4421 021661 store 3 ,mem_le_adv_data + 4 
+0x4422 021662 call mouse_le_check_adv_flag 
+0x4423 021663 setarg adv_flag_bredr_not_supported | adv_flag_limited_discoverable 
+0x4424 021664 istore 1 ,contr 
+0x4425 021665 arg mem_le_adv_swift_pair ,contr 
+0x4426 021666 call mouse_le_adv_data_update 
+0x4427 021667 branch check_51cmd_adv 
+:      021669 mouse_le_check_adv_flag:
+0x4428 021670 arg mem_le_adv_data ,rega 
+:      021671 mouse_le_check_adv_flag_loop:
+0x4429 021672 ifetch 1 ,rega 
+0x442a 021673 rtn blank 
+0x442b 021674 iadd contr ,rega 
+0x442c 021675 ifetch 1 ,contr 
+0x442d 021676 rtneq 0x01 
+0x442e 021677 branch mouse_le_check_adv_flag_loop 
+:      021679 mouse_le_adv_data_update:
+0x442f 021680 arg mem_le_adv_data + 11 ,contw 
+0x4430 021681 arg 19 ,loopcnt 
+0x4431 021682 call memcpy 
+0x4432 021683 branch le_modified_name_adv 
+:      021689 mouse_bt_sniff_param_interval_setup:
+0x4433 021690 setarg classic_interval_7_5ms 
+0x4434 021691 store 2 ,mem_sniff_param_interval 
+0x4435 021692 fetch mouse_flag_len ,mem_mouse_flag 
+0x4436 021693 rtnbit1 mouse_enable_bt_125hz 
+0x4437 021694 setarg classic_interval_8_75ms 
+0x4438 021695 store 2 ,mem_sniff_param_interval 
+0x4439 021696 rtn 
+:      021698 mouse_bb_event_connected:
+0x443a 021699 jam 0 ,mem_mouse_long_mult_flag 
+0x443b 021700 call mouse_init_sensor_reset 
+0x443c 021701 call mouse_24g_first_store_reconn_info 
+0x443d 021702 branch mouse_stop_discovery 
+:      021704 mouse_bb_disconnected:
+0x443e 021705 jam 0 ,mem_mouse_enter_sniff_count 
+0x443f 021706 jam 0 ,mem_mouse_bt_send_first_package_flag 
+0x4440 021707 call mouse_bt_sniff_param_interval_setup 
+0x4441 021708 call mouse_bb_discon_clear_stack 
+0x4442 021709 fetch app_disc_rsn_size ,mem_app_disconn_reason 
+0x4443 021710 bbit1 app_disc_ble ,mouse4_0_event_bb_disconn 
+0x4444 021711 bbit1 app_disc_by_button ,app_disconn_reason_clear 
+0x4445 021712 bbit1 app_disc_after_pairing ,mouse_event_light_state_pairing 
+0x4446 021713 bbit1 app_disc_after_reconn ,mouse_event_light_state_hibernate 
+0x4447 021714 bbit1 app_disc_after_sniff ,mouse_event_light_state_hibernate 
+0x4448 021715 branch mouse_start_discovery 
+:      021716 mouse_bb_discon_clear_stack:
+0x4449 021717 setarg 0 
+0x444a 021718 store 8 ,mem_wheel_tb_old_pinlevel 
+0x444b 021719 istore 4 ,contw 
+0x444c 021720 jam 0 ,mem_mouse_move_flag 
+0x444d 021721 jam app_handshake_null ,mem_app_handshake_flag 
+0x444e 021722 jam 0 ,mem_ltk_exists 
+0x444f 021723 rtn 
+:      021725 mouse4_0_event_bb_disconn:
+0x4450 021726 call mouse_le_clean_connect_flag 
+0x4451 021727 fetch app_disc_rsn_size ,mem_app_disconn_reason 
+0x4452 021728 bbit1 app_disc_by_button ,app_disconn_reason_clear 
+0x4453 021729 branch mouse_app_enter_hibernate 
+:      021732 mouse_event_light_state_pairing:
+0x4454 021733 bbit1 app_disc_after_handshake ,mouse_event_light_state_hibernate 
+0x4455 021734 bbit1 app_disc_after_sniff ,mouse_event_light_state_hibernate 
+0x4456 021735 branch mouse_start_discovery 
+:      021736 mouse_event_light_state_hibernate:
+0x4457 021737 fetch 2 ,mem_ui_state_map 
+0x4458 021738 bbit1 ui_state_btn_down ,mouse_start_discovery 
+0x4459 021739 call app_disconn_reason_clear 
+0x445a 021741 call mouse_key_check_once 
+0x445b 021742 call mouse_commbination_key_process 
+0x445c 021743 fetch 1 ,mem_commbination_key_statue 
+0x445d 021744 beq commbination_key_state_down ,mouse_delay_enter_hibernata 
+0x445e 021746 fetch 1 ,mem_mouse_bluetooth_reconnect_timeout 
+0x445f 021747 nrtn blank 
+0x4460 021748 branch mouse_app_enter_hibernate 
+:      021751 mouse_bt_event_setup_complete:
+0x4461 021752 rtn 
+:      021754 mouse_bt_send_first_package_timer_init:
+0x4462 021755 jam 4 ,mem_mouse_bt_send_first_package_timer 
+0x4463 021756 rtn 
+:      021758 mouse_bt_hid_handshake:
+0x4464 021759 jam app_handshake_done ,mem_app_handshake_flag 
+0x4465 021760 call app_lpm_mult_enable 
+0x4466 021761 call app_bt_store_reconn_info 
+0x4467 021762 setarg 0 
+0x4468 021763 store 2 ,mem_discovery_timeout_timer_count 
+0x4469 021764 store 1 ,mem_hid_handshake_timer_count 
+0x446a 021765 call mouse_bt_send_first_package_timer_init 
+0x446b 021766 branch app_bt_enter_sniff 
+:      021768 mouse_bt_hid_handshake_boot_check:
+0x446c 021769 jam 0 ,mem_mouse_bt_boot_mode 
+0x446d 021770 fetch 1 ,mem_l2cap_rcv_hidtype 
+0x446e 021771 isolate1 0 ,pdata 
+0x446f 021772 rtn true 
+0x4470 021773 jam 1 ,mem_mouse_bt_boot_mode 
+0x4471 021774 rtn 
+:      021777 mouse_bb_event_reconn_timeout:
+:      021778 mouse_bb_event_reconn_failed:
+0x4472 021779 fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
+0x4473 021780 beq 0xff ,mouse_buletooth_fast_conn_end 
+0x4474 021781 fetch 2 ,mem_ui_state_map 
+0x4475 021782 rtnbit1 ui_state_btn_down 
+0x4476 021783 rtnbit1 ui_state_bt_discovery 
+0x4477 021784 rtnbit1 ui_state_ble_adv 
+0x4478 021785 fetch mouse_flag_len ,mem_mouse_flag 
+0x4479 021786 rtnbit1 mouse_bt_discovery_button_down_flag 
+0x447a 021787 bbit1 mouse_enable_bt_reconnect_timeout_enter_discovery ,mouse_start_discovery 
+0x447b 021788 bbit1 mouse_enable_24g_first_auto_pairing ,mouse_24g_first_bb_event_reconn_timeout 
+0x447c 021789 branch mouse_app_enter_hibernate 
+:      021791 mouse_enter_sniff_check:
+0x447d 021792 fetch 1 ,mem_mouse_enter_sniff_count 
+0x447e 021793 rtnne 2 
+0x447f 021794 jam 0 ,mem_mouse_enter_sniff_count 
+0x4480 021795 call mouse_bt_sniff_param_interval_setup 
+0x4481 021796 call mouse_bt_send_first_package_timer_init 
+0x4482 021797 branch app_bt_enter_sniff 
+:      021799 mouse_sniff_not_accept:
+0x4483 021800 fetch 1 ,mem_mouse_enter_sniff_count 
+0x4484 021801 rtneq 2 
+0x4485 021802 increase 1 ,pdata 
+0x4486 021803 store 1 ,mem_mouse_enter_sniff_count 
+0x4487 021804 jam 0x12 ,mem_sniff_param_interval 
+0x4488 021805 call mouse_bt_send_first_package_timer_init 
+0x4489 021806 branch app_bt_enter_sniff 
+:      021808 mouse_bb_event_pincode:
+0x448a 021809 call pincode_reinit 
+0x448b 021810 branch app_bt_set_pincode 
+:      021812 mouse_irtual_cable_unplug:
+0x448c 021813 setarg 0x01 
+0x448d 021814 store 6 ,mem_plap 
+0x448e 021815 jam rec_3_mode ,mem_record_bt_mode 
+0x448f 021816 branch mouse_unplug_clean_bdaddr 
+:      021818 mouse_irtual_cable_unplug1:
+0x4490 021819 setarg -1 
+0x4491 021820 store 6 ,mem_plap 
+0x4492 021821 jam rec_3_mode ,mem_record_bt_mode 
+0x4493 021822 jam 0xff ,mem_mouse_bluetooth_fast_conn_flag 
+0x4494 021823 call mouse_before_store_reconn_info 
+0x4495 021824 jam 0xff ,mem_device1_type 
+0x4496 021825 branch mouse_store_device_info_delay 
+:      021827 mouse_bt:
+0x4497 021828 bpatch patch1a_7 ,mem_patch1a 
+0x4498 021829 rtn attempt 
+0x4499 021830 fetch 1 ,mem_app_handshake_flag 
+0x449a 021831 rtn blank 
+0x449b 021832 call l2cap_malloc_is_fifo_nearly_full 
+0x449c 021833 nrtn blank 
+0x449d 021834 fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
+0x449e 021835 beq 0xff ,mouse_bt_fast_conn_send_device_name 
+0x449f 021836 fetch 1 ,mem_mouse_clear_sensor_data_flag 
+0x44a0 021837 call mouse_clear_sensor_data_by_reset ,blank 
+0x44a1 021838 fetch mouse_flag_len ,mem_mouse_flag 
+0x44a2 021839 bbit1 mouse_24g_pairing_flag ,mouse_send_empty_data 
+0x44a3 021840 bbit1 mouse_select_device_flag ,mouse_send_empty_data 
+0x44a4 021841 bbit1 mouse_bt_discovery_button_down_flag ,mouse_send_empty_data 
+0x44a5 021842 bbit1 mouse_bt_discovery_button_long_down_flag ,mouse_send_empty_data 
+0x44a6 021843 call mouse_motion 
+0x44a7 021844 call mouse_check_125hz 
+0x44a8 021845 nrtn user 
+0x44a9 021846 call mouse_current_mult_update 
+0x44aa 021847 call mouse_data_xy_release 
+0x44ab 021848 call mouse_wheel_trigger 
+0x44ac 021849 fetch 1 ,mem_mouse_bt_boot_mode 
+0x44ad 021850 beq 1 ,mouse_send_data_boot_mode 
+0x44ae 021851 fetch 1 ,mem_mouse_bt_send_first_package_flag 
+0x44af 021852 rtn blank 
+0x44b0 021853 fetch mouse_flag_len ,mem_mouse_flag 
+0x44b1 021854 bbit0 mouse_enable_keyboard ,mouse_send_data 
+0x44b2 021855 fetch 1 ,mem_customer_key 
+0x44b3 021856 beq 1 ,mouse_bt_send_keyboard_packet 
+:      021857 mouse_send_data:
+0x44b4 021858 arg 9 ,rega 
+0x44b5 021859 call hid_malloc_tx_buff 
+0x44b6 021860 fetch 2 ,mem_hid_int_remote_cid 
+0x44b7 021861 istore 2 ,contw 
+0x44b8 021862 setarg 0x02a1 
+0x44b9 021863 istore 2 ,contw 
+0x44ba 021864 fetch 7 ,mem_mouse_key 
+0x44bb 021865 istore 7 ,contw 
+0x44bc 021866 rtn 
+:      021868 mouse_send_data_boot_mode:
+0x44bd 021869 fetch 1 ,mem_mouse_key 
+0x44be 021870 store 1 ,mem_mouse_bt_boot_data 
+0x44bf 021871 fetch 1 ,mem_mouse_x 
+0x44c0 021872 istore 1 ,contw 
+0x44c1 021873 fetch 1 ,mem_mouse_y 
+0x44c2 021874 istore 1 ,contw 
+0x44c3 021875 fetch 2 ,mem_mouse_z 
+0x44c4 021876 istore 2 ,contw 
+0x44c5 021877 arg 7 ,rega 
+0x44c6 021878 call hid_malloc_tx_buff 
+0x44c7 021879 fetch 2 ,mem_hid_int_remote_cid 
+0x44c8 021880 istore 2 ,contw 
+0x44c9 021881 setarg 0x02a1 
+0x44ca 021882 istore 2 ,contw 
+0x44cb 021883 fetch 5 ,mem_mouse_bt_boot_data 
+0x44cc 021884 istore 5 ,contw 
+0x44cd 021885 rtn 
+:      021887 mouse_send_empty_data:
+0x44ce 021888 setarg 0 
+0x44cf 021889 store 7 ,mem_mouse_key 
+0x44d0 021890 branch mouse_send_data 
+:      021893 mouse_bt_send_keyboard_packet:
+0x44d1 021894 fetch 1 ,mem_customer_data_trigger 
+0x44d2 021895 branch mouse_bt_release_keyboard_data ,blank 
+0x44d3 021896 fetch 8 ,mem_customer_key_press + 1 
+:      021897 mouse_bt_send_keyboard_data:
+0x44d4 021898 store 8 ,mem_pdatatemp 
+0x44d5 021899 fetch 1 ,mem_customer_key_press 
+0x44d6 021900 beq kb_multikey_report_id ,mouse_bt_send_multimedia_key_data 
+0x44d7 021901 beq kb_system_conctrl_report_id ,mouse_bt_send_systemctrl_key_data 
+0x44d8 021902 arg 10 ,rega 
+0x44d9 021903 call hid_malloc_tx_buff 
+0x44da 021904 fetch 2 ,mem_hid_int_remote_cid 
+0x44db 021905 istore 2 ,contw 
+0x44dc 021906 setarg 0x01a1 
+0x44dd 021907 istore 2 ,contw 
+0x44de 021908 fetch 8 ,mem_pdatatemp 
+0x44df 021909 istore 8 ,contw 
+0x44e0 021910 rtn 
+:      021912 mouse_bt_send_multimedia_key_data:
+0x44e1 021913 arg 4 ,rega 
+0x44e2 021914 call hid_malloc_tx_buff 
+0x44e3 021915 fetch 2 ,mem_hid_int_remote_cid 
+0x44e4 021916 istore 2 ,contw 
+0x44e5 021917 setarg 0x03a1 
+0x44e6 021918 istore 2 ,contw 
+0x44e7 021919 fetch 2 ,mem_pdatatemp 
+0x44e8 021920 istore 2 ,contw 
+0x44e9 021921 rtn 
+:      021923 mouse_bt_send_systemctrl_key_data:
+0x44ea 021924 arg 3 ,rega 
+0x44eb 021925 call hid_malloc_tx_buff 
+0x44ec 021926 fetch 2 ,mem_hid_int_remote_cid 
+0x44ed 021927 istore 2 ,contw 
+0x44ee 021928 setarg 0x04a1 
+0x44ef 021929 istore 2 ,contw 
+0x44f0 021930 fetch 1 ,mem_pdatatemp 
+0x44f1 021931 istore 1 ,contw 
+0x44f2 021932 rtn 
+:      021934 mouse_bt_release_keyboard_data:
+0x44f3 021935 fetch 8 ,mem_customer_key_release + 1 
+0x44f4 021936 branch mouse_bt_send_keyboard_data 
+:      021942 mouse_bb_event_timer:
+0x44f5 021943 bpatch patch1b_0 ,mem_patch1b 
+0x44f6 021944 call mouse_adc_read 
+0x44f7 021945 call mouse_low_voltage_led_timer 
+0x44f8 021947 call g24_pair_timeout_timer 
+0x44f9 021948 call g24_reconn_timeout_timer 
+0x44fa 021949 call mouse_24g_long_sleep_param_update_timer 
+0x44fb 021951 call mouse_device_poweron_timer 
+0x44fc 021952 call mouse_dpi_led_blink_delay_timer 
+0x44fd 021954 call mouse_dpi_key_check_long_press 
+0x44fe 021955 call mouse_bt_discovery_check 
+0x44ff 021956 call mouse_commbination_key_process 
+0x4500 021957 call mouse_check_discovery_timeout_timer 
+0x4501 021959 call mouse_check_direct_timeout_timer 
+0x4502 021960 call mouse_le_enable_att_list_timer 
+0x4503 021961 call mouse_le_battery_updata_timer 
+0x4504 021962 call mouse_le_send_smp_security_request_timer 
+0x4505 021964 call mouse_check_hid_handshake_timer 
+0x4506 021965 call mouse_bt_check_sniff_req_timeout_timer 
+0x4507 021966 call mouse_check_reconnect_delay_long_sleep 
+0x4508 021967 call mouse_current_mult_update_timer 
+0x4509 021968 call mouse_wheel_trigger_timer 
+0x450a 021969 call mouse_store_information_delay_timer 
+0x450b 021970 branch mouse_check_no_data_timeout_timer 
+:      021975 mouse_bt_discovery_check:
+0x450c 021976 fetch mouse_flag_len ,mem_mouse_flag 
+0x450d 021977 bbit1 mouse_enable_pb_button_long_press_disconvery ,mouse_bt_discovery_by_pb_button 
+0x450e 021978 rtn 
+:      021980 mouse_bt_discovery_by_pb_button:
+0x450f 021981 fetch 1 ,mem_select_device_button_statue 
+0x4510 021982 rtnne pb_button_state_down 
+0x4511 021983 arg mem_bt_discovery_count ,regc 
+0x4512 021984 arg mouse_long_button_bt_discovery ,regb 
+0x4513 021985 branch timer_single_step 
+:      021987 mouse_long_button_bt_discovery:
+0x4514 021988 fetch 1 ,mem_device_flag 
+0x4515 021989 rtneq mode_24g_device 
+0x4516 021990 fetch mouse_flag_len ,mem_mouse_flag 
+0x4517 021991 rtnbit1 mouse_bt_discovery_button_long_down_flag 
+0x4518 021992 arg mouse_bt_discovery_button_long_down_flag ,queue 
+0x4519 021993 call mouse_enable_function_flag 
+0x451a 021994 call app_evt_button_long_pressed 
+0x451b 021995 branch mouse_bb_event_discovery_btn 
+:      021998 mouse_commbination_key_process:
+0x451c 021999 fetch 1 ,mem_device_flag 
+0x451d 022000 beq mode_24g_device ,mouse_24g_commbination_key_process 
+0x451e 022001 fetch mouse_flag_len ,mem_mouse_flag 
+0x451f 022002 rtnbit0 mouse_enable_commbination_key_by_bt_discovery 
+0x4520 022003 fetcht 1 ,mem_mouse_commbination_key_bt 
+0x4521 022004 branch mouse_commbination_key_start 
+:      022006 mouse_24g_commbination_key_process:
+0x4522 022007 fetch mouse_flag_len ,mem_mouse_flag 
+0x4523 022008 rtnbit0 mouse_enable_commbination_key_by_24g_pairing 
+0x4524 022009 fetcht 1 ,mem_mouse_commbination_key_24g 
+:      022010 mouse_commbination_key_start:
+0x4525 022011 storet 1 ,mem_mouse_commbination_key 
+0x4526 022012 call mouse_check_key_gpio 
+0x4527 022013 and pdata ,0x07 ,pdata 
+0x4528 022014 fetcht 1 ,mem_mouse_commbination_key 
+0x4529 022015 isub temp ,null 
+0x452a 022016 branch mouse_commbination_key_down ,zero 
+:      022017 mouse_commbination_key_up:
+0x452b 022018 fetch 1 ,mem_ui_button_timeout 
+0x452c 022019 store 1 ,mem_combination_ui_button_count 
+0x452d 022020 fetch 1 ,mem_commbination_key_statue 
+0x452e 022021 rtneq commbination_key_state_up 
+0x452f 022022 jam commbination_key_state_up ,mem_commbination_key_statue 
+0x4530 022023 rtn 
+:      022025 mouse_commbination_key_down:
+0x4531 022026 call mouse_combination_ui_timer 
+0x4532 022027 fetch 1 ,mem_commbination_key_statue 
+0x4533 022028 rtneq commbination_key_state_down 
+0x4534 022029 jam commbination_key_state_down ,mem_commbination_key_statue 
+0x4535 022030 branch check_51cmd_bb_reconn_cancel 
+:      022033 mouse_combination_ui_timer:
+0x4536 022034 arg mouse_24g_start_pair_mode ,regb 
+0x4537 022035 arg mem_combination_ui_button_count ,regc 
+0x4538 022036 fetch 1 ,mem_device_flag 
+0x4539 022037 beq mode_24g_device ,timer_single_step 
+0x453a 022038 arg mouse_long_button_bt_discovery ,regb 
+0x453b 022039 call timer_single_step 
+0x453c 022040 fetch 1 ,mem_combination_ui_button_count 
+0x453d 022041 beq 1 ,mouse_bt_discovery_button_down_enable 
+0x453e 022042 rtn 
+:      022046 mouse_check_discovery_timeout_timer:
+0x453f 022047 arg mem_mouse_discovery_timer ,regc 
+0x4540 022048 arg mouse_check_discovery_timeout ,regb 
+0x4541 022049 branch timer_single_step_2b 
+:      022051 mouse_check_discovery_timeout:
+0x4542 022052 call mouse_stop_discovery 
+0x4543 022053 branch mouse_app_enter_hibernate 
+:      022056 mouse_check_direct_timeout_timer:
+0x4544 022057 arg mem_mouse_direct_timer ,regc 
+0x4545 022058 arg mouse_check_direct_timeout ,regb 
+0x4546 022059 call timer_single_step_2b 
+0x4547 022060 fetch 1 ,mem_mouse_direct_timer 
+0x4548 022061 beq 1 ,app_ble_stop_direct_adv 
+0x4549 022062 rtn 
+:      022064 mouse_check_direct_timeout:
+0x454a 022065 fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
+0x454b 022066 beq 0xff ,mouse_buletooth_fast_conn_end 
+0x454c 022067 fetch 1 ,mem_reconn_times 
+0x454d 022068 nbranch mouse_polling_device ,blank 
+0x454e 022069 fetch mouse_flag_len ,mem_mouse_flag 
+0x454f 022070 bbit1 mouse_enable_bt_reconnect_timeout_enter_discovery ,mouse_start_discovery 
+0x4550 022071 bbit1 mouse_enable_24g_first_auto_pairing ,mouse_24g_first_bb_event_reconn_timeout 
+0x4551 022072 branch mouse_app_enter_hibernate 
+:      022074 mouse_le_enable_att_list_timer:
+0x4552 022075 arg mem_le_start_encrypt_timer ,regc 
+0x4553 022076 arg mouse_le_write_enable ,regb 
+0x4554 022077 branch timer_single_step 
+:      022079 mouse_le_send_smp_security_request_timer:
+0x4555 022080 fetch 1 ,mem_mouse_le_bb_connected_flag 
+0x4556 022081 rtn blank 
+0x4557 022082 arg mem_mouse_send_secutiry_request_timer ,regc 
+0x4558 022083 arg mouse_le_pairing_sm_start_check ,regb 
+0x4559 022084 branch timer_single_step 
+:      022085 mouse_le_pairing_sm_start_check:
+0x455a 022086 fetch 1 ,mem_mouse_le_reconnect_flag 
+0x455b 022087 nrtn blank 
+0x455c 022088 fetch 1 ,mem_le_pairing_state 
+0x455d 022089 rtnne flag_le_pairing_null 
+0x455e 022090 branch le_pairing_sm_start 
+:      022092 mouse_le_battery_updata_timer:
+0x455f 022093 arg mem_le_battery_level_updata_timer ,regc 
+0x4560 022094 arg mouse_le_battery_level_updata ,regb 
+0x4561 022095 branch timer_single_step 
+:      022097 mouse_le_battery_level_updata:
+0x4562 022098 fetch 2 ,mem_le_battery_level_updata_timer_init 
+0x4563 022099 store 2 ,mem_le_battery_level_updata_timer 
+0x4564 022100 branch mouse_fill_battery_level_le 
+:      022102 mouse_le_enable_att_list:
+0x4565 022103 fetch 1 ,mem_le_connect_status_flag 
+0x4566 022104 rtnbit1 ll_pairing_success_flag 
+0x4567 022105 call mouse_updata_le_param 
+0x4568 022106 arg write_req_enable_flag ,queue 
+0x4569 022107 branch mouse_le_enable_connect_flag 
+:      022109 mouse_check_hid_handshake_timer:
+0x456a 022110 arg mem_hid_handshake_timer_count ,regc 
+0x456b 022111 arg mouse_bt_hid_handshake ,regb 
+0x456c 022112 branch timer_single_step 
+:      022114 mouse_bt_check_sniff_req_timeout_timer:
+0x456d 022115 arg mem_mouse_bt_send_first_package_timer ,regc 
+0x456e 022116 arg mouse_bt_send_first_package ,regb 
+0x456f 022117 branch timer_single_step 
+:      022118 mouse_bt_send_first_package:
+0x4570 022119 jam 1 ,mem_mouse_bt_send_first_package_flag 
+0x4571 022120 rtn 
+:      022122 mouse_check_reconnect_delay_long_sleep:
+0x4572 022123 arg mem_mouse_bluetooth_reconnect_timeout ,regc 
+0x4573 022124 arg mouse_app_enter_hibernate ,regb 
+0x4574 022125 branch timer_single_step 
+:      022128 mouse_current_mult_update_timer:
+0x4575 022129 arg mem_mouse_current_mult_timer ,regc 
+0x4576 022130 arg mouse_current_mult_reinit ,regb 
+0x4577 022131 branch timer_single_step 
+:      022132 mouse_current_mult_reinit:
+0x4578 022133 fetch 1 ,mem_lpm_mult_init 
+0x4579 022134 store 1 ,mem_lpm_mult 
+0x457a 022135 jam 1 ,mem_mouse_long_mult_flag 
+0x457b 022136 rtn 
+:      022139 mouse_check_no_data_timeout_timer:
+0x457c 022140 fetch 1 ,mem_usb_addr 
+0x457d 022141 rtnbit1 7 
+0x457e 022142 arg mem_mouse_no_data_timer ,regc 
+0x457f 022143 arg mouse_check_no_data_timeout ,regb 
+0x4580 022144 branch timer_single_step_2b 
+:      022146 mouse_check_no_data_timeout:
+0x4581 022147 fetch 1 ,mem_device_flag 
+0x4582 022148 beq mode_24g_device ,mouse_24g_hibernate_set 
+0x4583 022149 branch mouse_disconnect 
+:      022151 mouse_no_data_timer_init:
+0x4584 022152 fetch 2 ,mem_mouse_no_data_timeout 
+0x4585 022153 store 2 ,mem_mouse_no_data_timer 
+0x4586 022154 rtn 
+:      022156 mouse_store_information_delay_timer:
+0x4587 022157 arg mem_store_information_delay_timer ,regc 
+0x4588 022158 arg mouse_store_device_info_check ,regb 
+0x4589 022159 branch timer_single_step 
+:      022161 mouse_store_device_info_check:
+0x458a 022162 call mouse_store_device_info 
+0x458b 022163 fetch 1 ,mem_mouse_need_soft_reset 
+0x458c 022164 nbranch mouse_soft_reset ,blank 
+0x458d 022165 rtn 
+:      022167 mouse_bb_event_discovery_btn:
+0x458e 022168 isolate1 mark_24g ,mark 
+0x458f 022169 call mouse_24g_stop ,true 
+0x4590 022170 call mouse_disconnect 
+0x4591 022171 call mouse_le_clean_connect_flag 
+0x4592 022172 branch mouse_start_discovery 
+:      022174 mouse_start_discovery:
+0x4593 022175 bpatch patch1b_1 ,mem_patch1b 
+0x4594 022176 call mouse_bluetooth_fast_conn_disable 
+0x4595 022177 fetch 2 ,mem_ui_state_map 
+0x4596 022178 bbit1 ui_state_ble_adv ,mouse_start_discovery_norandom 
+0x4597 022179 fetch mouse_flag_len ,mem_mouse_flag 
+0x4598 022180 bbit0 mouse_enable_ble_random_addre ,mouse_start_discovery_norandom 
+0x4599 022181 fetcht 2 ,mem_random_addr_increase_count 
+0x459a 022182 increase 1 ,temp 
+0x459b 022183 storet 2 ,mem_random_addr_increase_count 
+0x459c 022184 storet 2 ,mem_le_lap + 1 
+0x459d 022185 random pdata 
+0x459e 022186 store 1 ,mem_le_lap 
+:      022187 mouse_start_discovery_norandom:
+0x459f 022188 fetch 3 ,mem_mouse_le_lap_temp 
+0x45a0 022189 store 3 ,mem_le_lap + 3 
+0x45a1 022190 call app_lpm_mult_disable 
+0x45a2 022191 fetch 2 ,mem_discovery_timeout 
+0x45a3 022192 store 2 ,mem_mouse_discovery_timer 
+0x45a4 022193 jam 6 ,mem_connection_options 
+0x45a5 022194 setarg 0 
+0x45a6 022195 store 2 ,mem_mouse_no_data_timer 
+0x45a7 022196 store 1 ,mem_mouse_direct_timer 
+0x45a8 022197 store 1 ,mem_mouse_bluetooth_reconnect_timeout 
+0x45a9 022198 store 1 ,mem_mouse_device_poweron_timer_count 
+0x45aa 022199 store 1 ,mem_mouse_clear_sensor_data_flag 
+0x45ab 022200 arg mouse_store_eeprom_flag ,queue 
+0x45ac 022201 call mouse_enable_function_flag 
+0x45ad 022202 call mouse_bt_discovery_button_down_disable 
+0x45ae 022203 fetch 1 ,mem_mouse_bluetooth_type 
+0x45af 022204 isolate1 mode_4_mouse ,pdata 
+0x45b0 022205 call mouse_check_51cmd_adv ,true 
+0x45b1 022206 fetch 1 ,mem_mouse_bluetooth_type 
+0x45b2 022207 isolate1 mode_3_mouse ,pdata 
+0x45b3 022208 call check_51cmd_start_discovery ,true 
+0x45b4 022209 call mouse_low_voltage_led_blink_disable 
+0x45b5 022210 branch mouse_discover_setting_led_gpio 
+:      022213 mouse_stop_discovery:
+0x45b6 022214 bpatch patch1b_2 ,mem_patch1b 
+0x45b7 022215 arg mouse_bt_discovery_button_long_down_flag ,queue 
+0x45b8 022216 call mouse_disable_function_flag 
+0x45b9 022217 jam 0 ,mem_mouse_bluetooth_reconnect_timeout 
+0x45ba 022218 fetch 1 ,mem_mouse_bluetooth_type 
+0x45bb 022219 isolate1 mode_4_mouse ,pdata 
+0x45bc 022220 call mouse_stop_le_adv ,true 
+0x45bd 022221 fetch 1 ,mem_mouse_bluetooth_type 
+0x45be 022222 isolate1 mode_3_mouse ,pdata 
+0x45bf 022223 call mouse_stop_bt3_discovery ,true 
+0x45c0 022224 branch mouse_device_led_off 
+:      022225 mouse_stop_le_adv:
+0x45c1 022226 jam 0 ,mem_mouse_direct_timer 
+0x45c2 022227 branch check_51cmd_stop_adv 
+:      022228 mouse_stop_bt3_discovery:
+0x45c3 022229 setarg 0 
+0x45c4 022230 store 2 ,mem_mouse_discovery_timer 
+0x45c5 022231 branch check_51cmd_stop_discovery 
+:      022233 mouse_store_remote_bdaddr:
+0x45c6 022234 bpatch patch1b_3 ,mem_patch1b 
+0x45c7 022235 fetch mouse_flag_len ,mem_mouse_flag 
+0x45c8 022236 rtnbit0 mouse_store_eeprom_flag 
+0x45c9 022237 call mouse_device_poweron_timer_init 
+0x45ca 022238 arg mouse_store_eeprom_flag ,queue 
+0x45cb 022239 call mouse_disable_function_flag 
+0x45cc 022240 call mouse_check_device_addr 
+:      022241 mouse_unplug_clean_bdaddr:
+0x45cd 022242 call mouse_before_store_reconn_info 
+0x45ce 022243 branch mouse_store_device_info_delay 
+:      022246 mouse_check_device_addr:
+0x45cf 022247 fetch 1 ,mem_record_bt_mode 
+0x45d0 022248 beq rec_4_mode ,mouse_check_le_device_addr 
+0x45d1 022249 beq rec_3_mode ,mouse_check_bt_device_addr 
+0x45d2 022250 rtn 
+:      022251 mouse_check_le_device_addr:
+0x45d3 022252 store 1 ,mem_device_addr_temp 
+0x45d4 022253 fetch 6 ,mem_le_plap 
+0x45d5 022254 branch mouse_check_bt_device_addr_common 
+:      022255 mouse_check_bt_device_addr:
+0x45d6 022256 store 1 ,mem_device_addr_temp 
+0x45d7 022257 fetch 6 ,mem_plap 
+:      022258 mouse_check_bt_device_addr_common:
+0x45d8 022259 store 6 ,mem_device_addr_temp + 1 
+0x45d9 022260 fetch 7 ,mem_device_addr_temp 
+0x45da 022261 arg mem_device1_type ,contr 
+0x45db 022262 arg 3 ,loopcnt 
+:      022263 mouse_check_device_addr_end:
+0x45dc 022264 ifetcht 7 ,contr 
+0x45dd 022265 isub temp ,null 
+0x45de 022266 branch mouse_clean_addr ,zero 
+0x45df 022267 increase 22 ,contr 
+0x45e0 022268 loop mouse_check_device_addr_end 
+0x45e1 022269 rtn 
+:      022270 mouse_before_store_reconn_info:
+0x45e2 022271 arg mem_device1_type ,rega 
+0x45e3 022272 fetch 1 ,mem_device_flag 
+0x45e4 022273 increase -1 ,pdata 
+0x45e5 022274 mul32 pdata ,29 ,pdata 
+0x45e6 022275 iadd rega ,rega 
+0x45e7 022276 fetch 1 ,mem_record_bt_mode 
+0x45e8 022277 istore 1 ,rega 
+0x45e9 022278 beq rec_4_mode ,mouse_store_le_device 
+0x45ea 022279 beq rec_3_mode ,mouse_store_bt_device 
+0x45eb 022280 rtn 
+:      022282 mouse_store_le_device:
+0x45ec 022283 fetch 6 ,mem_le_plap 
+0x45ed 022284 istore 6 ,contw 
+0x45ee 022285 arg mem_le_ltk ,contr 
+0x45ef 022286 call memcpy16 
+0x45f0 022287 fetch 6 ,mem_le_lap 
+0x45f1 022288 istore 6 ,contw 
+0x45f2 022289 rtn 
+:      022290 mouse_store_bt_device:
+0x45f3 022291 fetch 6 ,mem_plap 
+0x45f4 022292 istore 6 ,contw 
+0x45f5 022293 arg mem_link_key ,contr 
+0x45f6 022294 branch memcpy16 
+:      022296 mouse_clean_addr:
+0x45f7 022297 increase -6 ,contr 
+0x45f8 022298 copy contr ,contw 
+0x45f9 022299 fetcht 6 ,mem_device_addr_temp + 1 
+0x45fa 022300 increase 3 ,temp 
+0x45fb 022301 istoret 6 ,contw 
+0x45fc 022302 rtn 
+:      022304 mouse_select_reconn_device:
+0x45fd 022305 arg mem_device1_type ,rega 
+0x45fe 022306 fetch 1 ,mem_device_flag 
+0x45ff 022307 rtneq mode_24g_device 
+0x4600 022308 increase -1 ,pdata 
+0x4601 022309 mul32 pdata ,29 ,pdata 
+0x4602 022310 iadd rega ,rega 
+0x4603 022311 ifetch 1 ,rega 
+0x4604 022312 store 1 ,mem_xrecord_mode 
+0x4605 022313 beq rec_3_mode ,mouse_load_bt_device 
+0x4606 022314 beq rec_4_mode ,mouse_load_le_device 
+0x4607 022315 rtn 
+:      022317 mouse_load_bt_device:
+0x4608 022318 ifetch 6 ,contr 
+:      022319 mouse_load_bt_device_end:
+0x4609 022320 store 6 ,mem_hci_plap 
+0x460a 022321 arg mem_link_key ,contw 
+0x460b 022322 call memcpy16 
+0x460c 022323 branch check_link_key_load 
+:      022325 mouse_load_le_device:
+0x460d 022326 ifetch 6 ,contr 
+:      022327 mouse_load_le_device_end:
+0x460e 022328 store 6 ,mem_hci_plap 
+0x460f 022329 arg mem_le_ltk ,contw 
+0x4610 022330 call memcpy16 
+0x4611 022331 ifetch 6 ,contr 
+0x4612 022332 store 6 ,mem_le_lap 
+0x4613 022333 rtn 
+:      022337 mouse_app_initflag_check:
+0x4614 022338 fetch 2 ,mem_store_flag 
+0x4615 022339 arg eeprom_init_flag ,temp 
+0x4616 022340 isub temp ,null 
+0x4617 022341 branch mouse_load_device_info ,zero 
+0x4618 022342 storet 2 ,mem_store_flag 
+0x4619 022343 call mouse_ble_init_address 
+0x461a 022344 fetch 1 ,mem_device_flag_temp 
+0x461b 022345 store 1 ,mem_device_flag 
+0x461c 022346 fetch 1 ,mem_config_sensor_dpi 
+0x461d 022347 store 1 ,mem_mouse_dpi 
+0x461e 022348 fetch 4 ,mem_24g_fast_conn_addr 
+0x461f 022349 store 4 ,mem_24g_receiver_addr 
+0x4620 022350 store 4 ,mem_24g_addr 
+0x4621 022351 rtn 
+:      022353 mouse_load_device_info:
+0x4622 022354 call mouse_select_reconn_device 
+0x4623 022355 fetch 4 ,mem_mouse_24g_addr 
+0x4624 022356 store 4 ,mem_24g_receiver_addr 
+0x4625 022357 store 4 ,mem_24g_addr 
+0x4626 022358 rtn 
+:      022360 mouse_ble_init_address:
+0x4627 022361 fetch 6 ,mem_le_lap 
+0x4628 022362 store 6 ,mem_device1_locall_addr 
+0x4629 022363 add pdata ,0x0100 ,pdata 
+0x462a 022364 store 6 ,mem_device2_locall_addr 
+0x462b 022365 add pdata ,0x0100 ,pdata 
+0x462c 022366 store 6 ,mem_device3_locall_addr 
+0x462d 022367 rtn 
+:      022370 mouse_store_device_info_delay:
+0x462e 022371 fetch 1 ,mem_store_information_delay_timer_init 
+0x462f 022372 store 1 ,mem_store_information_delay_timer 
+0x4630 022373 rtn 
+:      022375 mouse_store_device_info:
+0x4631 022376 bpatch patch1b_4 ,mem_patch1b 
+0x4632 022377 fetch mouse_flag_len ,mem_mouse_flag 
+0x4633 022378 bbit1 mouse_enable_eeprom ,mouse_store_eeprom_device_info 
+0x4634 022379 bbit1 mouse_enable_flash ,mouse_store_flash_device_info 
+0x4635 022380 rtn 
+:      022382 mouse_load_flash_info_check:
+0x4636 022383 call spid_init_flash 
+0x4637 022384 call mouse_spid_flash_release_form_powerdown 
+0x4638 022385 call mouse_information_flash_parameters 
+0x4639 022386 call spid_read_flash 
+0x463a 022387 call mouse_spid_flash_powerdown 
+0x463b 022388 call mouse_app_initflag_check 
+0x463c 022389 branch mouse_sensor_spi_init 
+:      022392 mouse_information_flash_parameters:
+0x463d 022393 setarg mem_mouse_information_end 
+0x463e 022394 arg mem_mouse_information_start ,temp 
+0x463f 022395 isub temp ,temp 
+0x4640 022396 fetch 3 ,mem_flash_base 
+0x4641 022397 arg mem_mouse_information_start ,rega 
+0x4642 022398 rtn 
+:      022400 mouse_store_flash_device_info:
+0x4643 022401 call spid_init_flash 
+0x4644 022402 call mouse_spid_flash_release_form_powerdown 
+0x4645 022403 call mouse_flash_erase_sector 
+0x4646 022405 call mouse_information_flash_parameters 
+0x4647 022406 call mouse_spid_write_flash 
+0x4648 022407 call mouse_spid_flash_powerdown 
+0x4649 022408 branch mouse_sensor_spi_init 
+:      022410 mouse_spid_flash_release_form_powerdown:
+0x464a 022411 jam flash_command_release_from_powerdown ,mem_temp 
+:      022412 mouse_spid_write_flash_cmd:
+0x464b 022413 call delay_nop100 
+0x464c 022414 call spid_unlock_flash 
+0x464d 022415 arg mem_write_flash_head_temp ,rega 
+0x464e 022416 fetcht 1 ,mem_temp 
+0x464f 022417 call mouse_spid_write_flash_cmd_common 
+0x4650 022418 branch delay_nop100 
+:      022420 mouse_spid_flash_powerdown:
+0x4651 022421 jam flash_command_powerdown ,mem_temp 
+0x4652 022422 branch mouse_spid_write_flash_cmd 
+:      022424 mouse_spid_write_flash_cmd_common:
+0x4653 022425 istoret 1 ,rega 
+0x4654 022426 rshift16 pdata ,temp 
+0x4655 022427 istoret 1 ,contw 
+0x4656 022428 rshift8 pdata ,temp 
+0x4657 022429 istoret 1 ,contw 
+0x4658 022430 istore 1 ,contw 
+0x4659 022431 deposit rega 
+0x465a 022432 store 2 ,core_spid_txaddr 
+0x465b 022433 setarg 0 
+0x465c 022434 store 2 ,core_spid_rxlen 
+0x465d 022435 jam spid_start ,core_misc_ctrl 
+0x465e 022436 branch wait_spid_done 
+:      022438 mouse_flash_erase_sector:
+0x465f 022439 fetch 3 ,mem_flash_base 
+0x4660 022440 store 3 ,mem_spi_write_addr 
+0x4661 022441 branch spid_flash_erase_sector + 2 
+:      022443 mouse_spid_write_flash:
+0x4662 022444 copy pdata ,regc 
+0x4663 022445 copy rega ,pdata 
+0x4664 022446 increase -4 ,pdata 
+0x4665 022447 copy pdata ,regb 
+0x4666 022448 ifetch 4 ,regb 
+0x4667 022449 store 4 ,mem_write_flash_head_temp 
+0x4668 022450 copy regc ,pdata 
+0x4669 022451 call spid_write_flash 
+0x466a 022452 fetch 4 ,mem_write_flash_head_temp 
+0x466b 022453 istore 4 ,regb 
+0x466c 022454 rtn 
+:      022456 mouse_flash_power_down:
+0x466d 022457 fetch mouse_flag_len ,mem_mouse_flag 
+0x466e 022458 rtnbit0 mouse_enable_flash 
+0x466f 022459 call mouse_spid_flash_powerdown 
+0x4670 022460 call twspi_enable 
+0x4671 022461 fetcht 1 ,mem_spi_cs_gpio 
+0x4672 022462 call gpio_out_inactive 
+0x4673 022463 fetcht 1 ,mem_spi_hold_gpio 
+0x4674 022464 branch mouse_gpio_config_input_pd 
+:      022466 mouse_load_eeprom_info_check:
+0x4675 022467 call iicd_read_init_pin 
+0x4676 022468 fetch mouse_flag_len ,mem_mouse_flag 
+0x4677 022469 isolate1 mouse_enable_2k_eeprom ,pdata 
+0x4678 022470 ncall clear_eeprom_size_2k ,true 
+0x4679 022471 call mouse_eeprom_load_recon_info 
+0x467a 022472 branch mouse_app_initflag_check 
+:      022474 mouse_eeprom_load_recon_info:
+0x467b 022475 arg 128 ,temp 
+0x467c 022476 arg mem_device_flag ,rega 
+0x467d 022477 arg mouse_info_eeprom_offect ,regb 
+0x467e 022478 branch iicd_read_eep_data 
+:      022480 mouse_store_eeprom_device_info:
+0x467f 022481 arg 128 ,temp 
+0x4680 022482 arg mem_device_flag ,rega 
+0x4681 022483 arg mouse_info_eeprom_offect ,regb 
+0x4682 022484 branch iicd_write_protect_eep_data 
+:      022487 mouse_store_eerpom_dpi:
+0x4683 022488 arg 1 ,temp 
+0x4684 022489 arg mem_mouse_dpi ,rega 
+0x4685 022490 arg mouse_dpi_eeprom_offect ,regb 
+0x4686 022491 branch iicd_write_protect_eep_data 
+:      022493 mouse_load_eeprom_dpi:
+0x4687 022494 arg 1 ,temp 
+0x4688 022495 arg mem_mouse_dpi ,rega 
+0x4689 022496 arg mouse_dpi_eeprom_offect ,regb 
+0x468a 022497 branch iicd_read_eep_data 
+:      022501 mouse_idle:
+0x468b 022502 bpatch patch1b_5 ,mem_patch1b 
+0x468c 022503 call mouse_low_voltage_led_no_enter_lpm 
+0x468d 022504 call ui_check_paring_button 
+0x468e 022505 call mouse_dpi_check 
+0x468f 022506 call mouse_select_device_check 
+0x4690 022507 call mouse_check_select_device_by_switch 
+0x4691 022508 call mouse_bt_button_check 
+0x4692 022509 branch mouse_wheel_check 
+:      022511 mouse_select_device_check:
+0x4693 022512 fetch mouse_flag_len ,mem_mouse_flag 
+0x4694 022513 bbit1 mouse_enable_select_device_by_pb_button ,mouse_select_device_by_pb_button 
+0x4695 022514 bbit1 mouse_enable_pb_button_long_press_disconvery ,mouse_select_device_by_pb_button 
+0x4696 022515 rtn 
+:      022517 mouse_select_device_by_pb_button_check_once:
+0x4697 022518 jam 0x03 ,mem_mouse_pbkey_press_status 
+:      022519 mouse_select_device_by_pb_button:
+0x4698 022520 fetch 1 ,mem_config_select_device_button_gpio 
+0x4699 022521 rtneq gpio_disable 
+0x469a 022522 arg 0 ,rega 
+0x469b 022523 jam mouse_pb_key ,mem_mouse_key_temp 
+0x469c 022524 fetcht 1 ,mem_config_select_device_button_gpio 
+0x469d 022525 call mouse_pb_button_check 
+0x469e 022526 store 1 ,mem_mouse_pbkey_press_status 
+0x469f 022527 fetch 1 ,mem_matrix_public_gpio 
+0x46a0 022528 beq gpio_disable ,mouse_3io6key_pb_button_check_end 
+0x46a1 022529 call mouse_matrix_public_gpio_reset 
+:      022530 mouse_select_device_by_pb_button_exit:
+0x46a2 022531 copy rega ,pdata 
+0x46a3 022532 bbit1 mouse_pb_key ,mouse_select_device_button_down 
+0x46a4 022533 branch mouse_select_device_button_up 
+:      022535 mouse_3io6key_pb_button_check_end:
+0x46a5 022536 fetcht 1 ,mem_config_select_device_button_gpio 
+0x46a6 022537 call mouse_gpio_config_input_pu 
+0x46a7 022538 branch mouse_select_device_by_pb_button_exit 
+:      022541 mouse_pb_button_check:
+0x46a8 022542 fetch mouse_flag_len ,mem_mouse_flag 
+0x46a9 022543 bbit1 mouse_enable_pb_button_connect_gnd ,mouse_pb_button_connect_gnd 
+0x46aa 022544 fetch 1 ,mem_mouse_pbkey_press_status 
+0x46ab 022545 copy pdata ,regc 
+0x46ac 022546 fetch 1 ,mem_matrix_public_gpio 
+0x46ad 022547 beq gpio_disable ,mouse_3io6key_check 
+0x46ae 022548 fetch 1 ,mem_mouse_ghost_flag 
+0x46af 022549 nbranch mouse_select_device_by_pb_button_end ,blank 
+0x46b0 022550 branch mouse_pb_button_connect_matrix 
+:      022552 mouse_select_device_by_pb_button_end:
+0x46b1 022553 jam pb_button_state_up ,mem_select_device_button_statue 
+0x46b2 022554 jam 0 ,mem_mouse_pbkey_press_status 
+0x46b3 022555 rtn 
+:      022557 mouse_pb_button_connect_gnd:
+0x46b4 022558 fetch 1 ,mem_mouse_pbkey_press_status 
+0x46b5 022559 branch mouse_check_key_connect_gnd 
+:      022561 mouse_pb_button_connect_matrix:
+0x46b6 022562 call gpio_get_bit 
+0x46b7 022563 fetcht 1 ,mem_matrix_public_gpio 
+0x46b8 022564 branch mouse_pb_button_connect_gnd ,true 
+0x46b9 022565 fetcht 1 ,mem_matrix_public_gpio 
+0x46ba 022566 call gpio_out_active 
+0x46bb 022567 fetcht 1 ,mem_config_select_device_button_gpio 
+0x46bc 022568 fetch 1 ,mem_mouse_pbkey_press_status 
+0x46bd 022569 branch mouse_check_key_connect_gnd 
+:      022571 mouse_select_device_button_up:
+0x46be 022572 fetch 1 ,mem_select_device_button_statue 
+0x46bf 022573 rtneq pb_button_state_up 
+0x46c0 022574 jam pb_button_state_up ,mem_select_device_button_statue 
+0x46c1 022575 fetch mouse_flag_len ,mem_mouse_flag 
+0x46c2 022576 rtnbit1 mouse_enable_pb_button_short_press_enter_discovery 
+0x46c3 022577 fetch 1 ,mem_bt_discovery_count 
+0x46c4 022578 sub pdata ,20 ,null 
+0x46c5 022579 ncall mouse_ready_reconnection_by_button ,positive 
+0x46c6 022580 fetch 1 ,mem_ui_button_timeout 
+0x46c7 022581 store 1 ,mem_bt_discovery_count 
+0x46c8 022582 rtn 
+:      022584 mouse_select_device_button_down:
+0x46c9 022585 call mouse_select_device_ghost_check 
+0x46ca 022586 rtn user 
+0x46cb 022587 fetch 1 ,mem_select_device_button_statue 
+0x46cc 022588 rtneq pb_button_state_down 
+0x46cd 022589 jam pb_button_state_down ,mem_select_device_button_statue 
+0x46ce 022590 fetch mouse_flag_len ,mem_mouse_flag 
+0x46cf 022591 bbit1 mouse_enable_pb_button_short_press_enter_discovery ,mouse_long_button_bt_discovery 
+0x46d0 022592 fetch 1 ,mem_mouse_direct_timer 
+0x46d1 022593 rtn blank 
+0x46d2 022594 fetch 1 ,mem_mouse_direct_timeout 
+0x46d3 022595 store 1 ,mem_mouse_direct_timer 
+0x46d4 022596 rtn 
+:      022598 mouse_select_device_ghost_check:
+0x46d5 022599 disable user 
+0x46d6 022600 fetch mouse_flag_len ,mem_mouse_flag 
+0x46d7 022601 rtnbit1 mouse_enable_pb_button_connect_gnd 
+0x46d8 022602 fetch 1 ,mem_mouse_lkey_press_status 
+0x46d9 022603 rtn blank 
+0x46da 022604 fetch 1 ,mem_mouse_rkey_press_status 
+0x46db 022605 rtn blank 
+0x46dc 022606 enable user 
+0x46dd 022607 rtn 
+:      022611 mouse_check_select_device_by_switch:
+0x46de 022612 fetch mouse_flag_len ,mem_mouse_flag 
+0x46df 022613 bbit1 mouse_enable_select_device_by_switch_gpio ,mouse_check_select_device_by_switch_gpio 
+0x46e0 022614 bbit1 mouse_enable_select_device_by_switch_adc ,mouse_adc_read 
+0x46e1 022615 rtn 
+:      022616 mouse_check_select_device_by_switch_gpio:
+0x46e2 022617 fetcht 1 ,mem_device_switch_gpio 
+0x46e3 022618 call mouse_gpio_config_input_pu 
+0x46e4 022619 fetcht 1 ,mem_device_switch_gpio 
+0x46e5 022620 call gpio_get_bit 
+0x46e6 022621 branch mouse_check_select_24gdevice ,true 
+:      022622 mouse_select_btdevice:
+0x46e7 022623 fetch 1 ,mem_device_flag 
+0x46e8 022624 rtneq mode_bt_device1 
+0x46e9 022625 jam mode_bt_device1 ,mem_device_flag 
+0x46ea 022626 branch mouse_stop_bluetooth_mode 
+:      022629 mouse_check_select_24gdevice:
+0x46eb 022630 fetch mouse_flag_len ,mem_mouse_flag 
+0x46ec 022631 bbit0 mouse_enable_select_device_by_switch_adc ,mouse_check_select_24g_device 
+0x46ed 022632 fetch 6 ,mem_mouse_vdd_switch_gnd_full_vol 
+0x46ee 022633 store 6 ,mem_mouse_vdd_calculate_set 
+:      022634 mouse_check_select_24g_device:
+0x46ef 022635 fetch 1 ,mem_device_flag 
+0x46f0 022636 rtneq mode_24g_device 
+0x46f1 022637 jam mode_24g_device ,mem_device_flag 
+0x46f2 022638 branch mouse_24g_stop 
+:      022642 mouse_ready_reconnection_by_button:
+0x46f3 022643 bpatch patch1b_6 ,mem_patch1b 
+0x46f4 022644 fetch 1 ,mem_device_number 
+0x46f5 022645 rtneq 1 
+0x46f6 022646 call mouse_select_device_number 
+0x46f7 022647 storet 1 ,mem_device_flag 
+:      022648 mouse_store_device_number_before_reset:
+0x46f8 022649 jam 0 ,mem_link_key_exists 
+0x46f9 022650 call mouse_select_device_enable 
+0x46fa 022651 call mouse_stop_bluetooth_mode 
+0x46fb 022652 call mouse_select_device_disable 
+0x46fc 022653 jam 1 ,mem_mouse_need_soft_reset 
+0x46fd 022654 branch mouse_store_device_info_delay 
+:      022657 mouse_soft_reset:
+0x46fe 022658 call mouse_select_device_enable 
+0x46ff 022659 branch soft_reset_chip 
+:      022661 mouse_select_device_number:
+0x4700 022662 fetcht 1 ,mem_device_flag 
+0x4701 022663 increase 1 ,temp 
+0x4702 022664 fetch mouse_flag_len ,mem_mouse_flag 
+0x4703 022665 bbit1 mouse_enable_24g ,mouse_select_device_number_24g 
+0x4704 022666 sub temp ,2 ,null 
+0x4705 022667 ncall mouse_select_device_count_clean_bt ,positive 
+0x4706 022668 rtn 
+:      022670 mouse_select_device_number_24g:
+0x4707 022671 fetch 1 ,mem_device_number 
+0x4708 022672 increase -1 ,pdata 
+0x4709 022673 isub temp ,null 
+0x470a 022674 ncall mouse_select_device_count_clean_24g ,positive 
+0x470b 022675 rtn 
+:      022677 mouse_select_device_count_clean_24g:
+0x470c 022678 arg 0 ,temp 
+0x470d 022679 rtn 
+:      022680 mouse_select_device_count_clean_bt:
+0x470e 022681 arg 1 ,temp 
+0x470f 022682 rtn 
+:      022685 mouse_store_device_number2eeprom:
+0x4710 022686 arg 1 ,temp 
+0x4711 022687 arg mem_device_flag ,rega 
+0x4712 022688 arg 0 ,regb 
+0x4713 022689 branch iicd_write_protect_eep_data 
+:      022692 mouse_bt_button_check:
+0x4714 022693 fetch mouse_flag_len ,mem_mouse_flag 
+0x4715 022694 rtnbit0 mouse_enable_pb_button_short_press_enter_discovery 
+0x4716 022695 call mouse_select_device_by_pb_button 
+0x4717 022696 rtn 
+:      022701 mouse_select_device_enable:
+0x4718 022702 arg mouse_select_device_flag ,queue 
+0x4719 022703 branch mouse_enable_function_flag 
+:      022704 mouse_select_device_disable:
+0x471a 022705 arg mouse_select_device_flag ,queue 
+0x471b 022706 branch mouse_disable_function_flag 
+:      022707 mouse_bt_cannel_reconn_enable:
+0x471c 022708 arg mouse_bt_cannel_reconn_flag ,queue 
+0x471d 022709 branch mouse_enable_function_flag 
+:      022710 mouse_bt_cannel_reconn_disable:
+0x471e 022711 arg mouse_bt_cannel_reconn_flag ,queue 
+0x471f 022712 branch mouse_disable_function_flag 
+:      022713 mouse_bt_discovery_button_down_enable:
+0x4720 022714 arg mouse_bt_discovery_button_down_flag ,queue 
+0x4721 022715 branch mouse_enable_function_flag 
+:      022716 mouse_bt_discovery_button_down_disable:
+0x4722 022717 arg mouse_bt_discovery_button_down_flag ,queue 
+0x4723 022718 branch mouse_disable_function_flag 
+:      022720 mouse_adc_read_enable:
+0x4724 022721 arg mouse_enable_adc ,queue 
+0x4725 022722 branch mouse_enable_function_flag 
+:      022724 mouse_24g_set_250hz:
+0x4726 022725 arg mouse_enable_24g_250hz ,queue 
+0x4727 022726 branch mouse_enable_function_flag 
+:      022728 mouse_24g_search_dongle_enable:
+0x4728 022729 arg mouse_enable_24g_search_dongle ,queue 
+0x4729 022730 branch mouse_enable_function_flag 
+:      022732 mouse_16m_enable:
+0x472a 022733 arg mouse_enable_16m ,queue 
+0x472b 022734 branch mouse_enable_function_flag 
+:      022736 mouse_dpi_4level_enable:
+0x472c 022737 arg mouse_enable_dpi_level_4 ,queue 
+0x472d 022738 branch mouse_enable_function_flag 
+:      022741 mouse_enable_function_flag:
+0x472e 022742 fetch mouse_flag_len ,mem_mouse_flag 
+0x472f 022743 qset1 pdata 
+0x4730 022744 store mouse_flag_len ,mem_mouse_flag 
+0x4731 022745 rtn 
+:      022747 mouse_disable_function_flag:
+0x4732 022748 fetch mouse_flag_len ,mem_mouse_flag 
+0x4733 022749 qset0 pdata 
+0x4734 022750 store mouse_flag_len ,mem_mouse_flag 
+0x4735 022751 rtn 
+:      022753 mouse_customer_key_enable:
+0x4736 022754 arg mouse_enable_keyboard ,queue 
+0x4737 022755 call mouse_enable_function_flag 
+0x4738 022756 setarg 0 
+0x4739 022757 store 8 ,mem_customer_key_press 
+0x473a 022758 store 8 ,mem_customer_key_release 
+0x473b 022759 fetch 1 ,mem_mouse_enable_flag 
+0x473c 022760 and pdata ,0xc0 ,pdata 
+0x473d 022761 beq 0x40 ,mouse_customer_key_ctrl_alt_a 
+0x473e 022762 beq 0x80 ,mouse_customer_ac_home 
+0x473f 022763 beq 0xc0 ,mouse_customer_key_play 
+0x4740 022764 setarg 0x070008 
+:      022765 mouse_customer_standrad_key_set:
+0x4741 022766 store 8 ,mem_customer_key_press + 1 
+0x4742 022767 rtn 
+:      022769 mouse_customer_key_ctrl_alt_a:
+0x4743 022770 setarg 0x040005 
+0x4744 022771 branch mouse_customer_standrad_key_set 
+:      022774 mouse_customer_ac_home:
+0x4745 022775 setarg 0x022303 
+:      022776 mouse_customer_media_key_set:
+0x4746 022777 store 8 ,mem_customer_key_press 
+0x4747 022778 setarg 0x03 
+0x4748 022779 store 8 ,mem_customer_key_release 
+0x4749 022780 rtn 
+:      022782 mouse_customer_key_play:
+0x474a 022783 setarg 0x00cd03 
+0x474b 022784 branch mouse_customer_media_key_set 
+:      022791 mouse_polling_device:
+0x474c 022792 bpatch patch1b_7 ,mem_patch1b 
+0x474d 022793 fetch 1 ,mem_reconn_times 
+0x474e 022794 increase -1 ,pdata 
+0x474f 022795 store 1 ,mem_reconn_times 
+0x4750 022796 fetcht 1 ,mem_device_flag 
+0x4751 022797 sub temp ,1 ,null 
+0x4752 022798 ncall mouse_select_device_number ,zero 
+0x4753 022799 storet 1 ,mem_device_flag 
+0x4754 022800 jam 0 ,mem_link_key_exists 
+0x4755 022801 call mouse_store_device_number2eeprom 
+0x4756 022802 call mouse_before_store_reconn_info 
+0x4757 022803 branch mouse_start_reconnect_device 
+:      022808 mouse_drawing_optima:
+0x4758 022809 fetch mouse_flag_len ,mem_mouse_flag 
+0x4759 022810 rtnbit0 mouse_enable_smoother 
+0x475a 022811 fetch 4 ,mem_mouse_x 
+0x475b 022812 rtn blank 
+0x475c 022813 call mouse_data_abs_check 
+0x475d 022814 setarg 0x03 
+0x475e 022815 call mouse_pdata_greater_than_check 
+0x475f 022816 call mouse_disable_asm ,blank 
+0x4760 022817 ncall mouse_enable_asm ,blank 
+0x4761 022818 setarg 0x02 
+0x4762 022819 call mouse_data_less_than_check 
+0x4763 022820 call mouse_disable_asm ,blank 
+0x4764 022821 fetch 1 ,mem_mouse_asm_flag 
+0x4765 022822 beq 1 ,mouse_drawing_optima_modify 
+:      022823 mouse_drawing_optima_init:
+0x4766 022824 fetch mouse_flag_len ,mem_mouse_flag 
+0x4767 022825 rtnbit0 mouse_enable_smoother 
+0x4768 022826 arg 5 ,loopcnt 
+0x4769 022827 arg mem_mouse_asm_flag ,contw 
+0x476a 022828 branch clear_mem 
+:      022830 mouse_drawing_optima_modify:
+0x476b 022831 call mouse_drawing_optima_xy_offset_modify 
+0x476c 022832 fetch 2 ,mem_mouse_x_pre 
+0x476d 022833 store 2 ,mem_data_pre 
+0x476e 022834 fetch 2 ,mem_mouse_x 
+0x476f 022835 store 2 ,mem_data_current 
+0x4770 022836 call mouse_drawing_optima_data_x 
+0x4771 022837 fetch 2 ,mem_data_pre 
+0x4772 022838 store 2 ,mem_mouse_x_pre 
+0x4773 022839 fetch 2 ,mem_data_current 
+0x4774 022840 store 2 ,mem_mouse_x 
+0x4775 022842 fetch 2 ,mem_mouse_y_pre 
+0x4776 022843 store 2 ,mem_data_pre 
+0x4777 022844 fetch 2 ,mem_mouse_y 
+0x4778 022845 store 2 ,mem_data_current 
+0x4779 022846 call mouse_drawing_optima_data_y 
+0x477a 022847 fetch 2 ,mem_data_pre 
+0x477b 022848 store 2 ,mem_mouse_y_pre 
+0x477c 022849 fetch 2 ,mem_data_current 
+0x477d 022850 store 2 ,mem_mouse_y 
+0x477e 022851 rtn 
+:      022853 mouse_drawing_optima_xy_offset_modify:
+0x477f 022854 fetch mouse_flag_len ,mem_mouse_flag 
+0x4780 022855 rtnbit0 mouse_enable_xy_offset 
+0x4781 022856 fetch 2 ,mem_mouse_x_pre 
+0x4782 022857 store 2 ,mem_data_value 
+0x4783 022858 call mouse_pre_xy_data_judge 
+0x4784 022859 store 2 ,mem_mouse_x_pre 
+0x4785 022860 fetch 2 ,mem_mouse_x 
+0x4786 022861 store 2 ,mem_data_value 
+0x4787 022862 call mouse_current_xy_data_judge 
+0x4788 022863 store 2 ,mem_mouse_x 
+0x4789 022864 fetch 2 ,mem_mouse_y_pre 
+0x478a 022865 store 2 ,mem_data_value 
+0x478b 022866 call mouse_pre_xy_data_judge 
+0x478c 022867 store 2 ,mem_mouse_y_pre 
+0x478d 022868 fetch 2 ,mem_mouse_y 
+0x478e 022869 store 2 ,mem_data_value 
+0x478f 022870 call mouse_current_xy_data_judge 
+0x4790 022871 store 2 ,mem_mouse_y 
+0x4791 022872 rtn 
+:      022874 mouse_pre_xy_data_judge:
+0x4792 022875 fetch 1 ,mem_data_value + 1 
+0x4793 022876 branch mouse_pre_xy_pdata_offset ,blank 
+0x4794 022877 branch mouse_pre_xy_ndata_offset 
+:      022879 mouse_pre_xy_pdata_offset:
+0x4795 022880 fetch 1 ,mem_data_value 
+0x4796 022881 call mouse_pre_xy_get_0_4_times 
+0x4797 022882 store 1 ,mem_data_value 
+:      022883 mouse_xy_data_offset_new:
+0x4798 022884 fetch 2 ,mem_data_value 
+0x4799 022885 rtn 
+:      022886 mouse_pre_xy_ndata_offset:
+0x479a 022887 fetch 1 ,mem_data_value 
+0x479b 022888 call mouse_pdata_invert 
+0x479c 022889 call mouse_pre_xy_get_0_4_times 
+0x479d 022890 call disable_blank ,blank 
+0x479e 022891 call mouse_pdata_get_new_value 
+0x479f 022892 branch mouse_xy_data_offset_new 
+:      022894 mouse_current_xy_data_judge:
+0x47a0 022895 fetch 1 ,mem_data_value + 1 
+0x47a1 022896 branch mouse_current_xy_pdata_offset ,blank 
+0x47a2 022897 branch mouse_current_xy_ndata_offset 
+:      022898 mouse_current_xy_pdata_offset:
+0x47a3 022899 fetch 1 ,mem_data_value 
+0x47a4 022900 call mouse_current_xy_get_0_6_times 
+0x47a5 022901 store 1 ,mem_data_value 
+0x47a6 022902 branch mouse_xy_data_offset_new 
+:      022903 mouse_current_xy_ndata_offset:
+0x47a7 022904 fetch 1 ,mem_data_value 
+0x47a8 022905 call mouse_pdata_invert 
+0x47a9 022906 call mouse_current_xy_get_0_6_times 
+0x47aa 022907 call disable_blank ,blank 
+0x47ab 022908 call mouse_pdata_get_new_value 
+0x47ac 022909 branch mouse_xy_data_offset_new 
+:      022911 mouse_pre_xy_get_0_4_times:
+0x47ad 022912 mul32 pdata ,4 ,pdata 
+0x47ae 022913 div pdata ,5 
+0x47af 022914 call wait_div_end 
+0x47b0 022915 quotient pdata 
+0x47b1 022916 rtn 
+:      022917 mouse_current_xy_get_0_6_times:
+0x47b2 022918 mul32 pdata ,12 ,pdata 
+0x47b3 022919 div pdata ,10 
+0x47b4 022920 call wait_div_end 
+0x47b5 022921 quotient pdata 
+0x47b6 022922 rtn 
+:      022924 mouse_drawing_optima_data_x:
+0x47b7 022925 fetch 2 ,mem_data_pre 
+0x47b8 022926 fetcht 2 ,mem_data_current 
+0x47b9 022927 iadd temp ,pdata 
+0x47ba 022928 fetcht 1 ,mem_mouse_data_xtemp 
+0x47bb 022929 iadd temp ,pdata 
+0x47bc 022930 and pdata ,0x01 ,temp 
+0x47bd 022931 storet 1 ,mem_mouse_data_xtemp 
+0x47be 022932 branch mouse_drawing_optima_data 
+:      022934 mouse_drawing_optima_data_y:
+0x47bf 022935 fetch 2 ,mem_data_pre 
+0x47c0 022936 fetcht 2 ,mem_data_current 
+0x47c1 022937 iadd temp ,pdata 
+0x47c2 022938 fetcht 1 ,mem_mouse_data_ytemp 
+0x47c3 022939 iadd temp ,pdata 
+0x47c4 022940 and pdata ,0x01 ,temp 
+0x47c5 022941 storet 1 ,mem_mouse_data_ytemp 
+0x47c6 022942 branch mouse_drawing_optima_data 
+:      022944 mouse_drawing_optima_data:
+0x47c7 022945 store 3 ,mem_data_sum 
+0x47c8 022946 isolate1 16 ,pdata 
+0x47c9 022947 branch mouse_data_sum_overflow ,true 
+0x47ca 022948 fetch 1 ,mem_data_sum + 1 
+0x47cb 022949 beq 0xff ,mouse_data_sum_n 
+0x47cc 022950 fetch 1 ,mem_data_sum 
+:      022951 mouse_data_store_pre:
+0x47cd 022952 rshift pdata ,pdata 
+0x47ce 022953 store 2 ,mem_data_pre 
+0x47cf 022954 store 2 ,mem_data_current 
+0x47d0 022955 rtn 
+:      022956 mouse_data_sum_overflow:
+0x47d1 022957 fetch 1 ,mem_data_sum + 1 
+0x47d2 022958 beq 0 ,mouse_data_sum_overflow_p 
+0x47d3 022959 fetch 3 ,mem_data_sum 
+0x47d4 022960 branch mouse_data_store_pre 
+:      022961 mouse_data_sum_overflow_p:
+0x47d5 022962 jam 0 ,mem_data_sum + 2 
+0x47d6 022963 fetch 1 ,mem_data_sum 
+0x47d7 022964 branch mouse_data_store_pre 
+:      022966 mouse_data_sum_n:
+0x47d8 022967 fetch 1 ,mem_data_sum 
+0x47d9 022968 call mouse_pdata_get_half 
+0x47da 022969 store 1 ,mem_data_pre 
+0x47db 022970 store 1 ,mem_data_current 
+0x47dc 022971 branch mouse_data_zero ,blank 
+0x47dd 022972 setarg 0xff 
+:      022973 mouse_data_set_direction:
+0x47de 022974 store 1 ,mem_data_pre + 1 
+0x47df 022975 store 1 ,mem_data_current + 1 
+0x47e0 022976 rtn 
+:      022977 mouse_data_zero:
+0x47e1 022978 setarg 0 
+0x47e2 022979 branch mouse_data_set_direction 
+:      022981 mouse_pdata_get_half:
+0x47e3 022982 call mouse_pdata_invert 
+0x47e4 022983 rshift pdata ,pdata 
+:      022984 mouse_pdata_get_new_value:
+0x47e5 022985 call mouse_rega_in_out 
+0x47e6 022986 sub pdata ,0 ,pdata 
+0x47e7 022987 store 1 ,mem_data_value 
+0x47e8 022988 rtn 
+:      022990 mouse_pdata_invert:
+0x47e9 022991 sub pdata ,0 ,pdata 
+:      022992 mouse_rega_in_out:
+0x47ea 022993 store 1 ,mem_rega 
+0x47eb 022994 fetch 1 ,mem_rega 
+0x47ec 022995 rtn 
+:      022997 mouse_disable_asm:
+0x47ed 022998 jam 0 ,mem_mouse_asm_flag 
+0x47ee 022999 rtn 
+:      023000 mouse_enable_asm:
+0x47ef 023001 jam 1 ,mem_mouse_asm_flag 
+0x47f0 023002 rtn 
+:      023005 mouse_pdata_greater_than_check:
+0x47f1 023006 isub rega ,null 
+0x47f2 023007 nbranch disable_blank ,positive 
+0x47f3 023008 isub regb ,null 
+0x47f4 023009 nbranch disable_blank ,positive 
+0x47f5 023010 branch enable_blank 
+:      023011 mouse_data_less_than_check:
+0x47f6 023012 isub rega ,null 
+0x47f7 023013 nrtn positive 
+0x47f8 023014 isub regb ,null 
+0x47f9 023015 nrtn positive 
+0x47fa 023016 branch enable_blank 
+:      023018 mouse_data_abs_check:
+0x47fb 023019 fetch 2 ,mem_mouse_x 
+0x47fc 023020 call mouse_data_abs 
+0x47fd 023021 copy pdata ,rega 
+0x47fe 023022 fetch 2 ,mem_mouse_y 
+0x47ff 023023 call mouse_data_abs 
+0x4800 023024 copy pdata ,regb 
+0x4801 023025 rtn 
+:      023027 mouse_data_abs:
+0x4802 023028 store 2 ,mem_data_current 
+0x4803 023029 fetch 1 ,mem_data_current + 1 
+0x4804 023030 beq 0xff ,mouse_data_reversal 
+0x4805 023031 fetch 1 ,mem_data_current 
+:      023032 mouse_data_abs_store:
+0x4806 023033 and_into 0xff ,pdata 
+0x4807 023035 rtn 
+:      023036 mouse_data_reversal:
+0x4808 023037 fetch 2 ,mem_data_current 
+0x4809 023038 sub pdata ,0 ,pdata 
+0x480a 023039 branch mouse_data_abs_store 
+:      023041 mouse_24g_long_sleep_param_update_timer:
+0x480b 023042 arg mem_24g_long_sleep_param_update_timer ,regc 
+0x480c 023043 arg mouse_24g_long_sleep_normal_param ,regb 
+0x480d 023044 branch timer_single_step 
+:      023045 mouse_24g_long_sleep_normal_param:
+0x480e 023046 fetch 4 ,mem_24g_long_sleep_set1 
+0x480f 023047 store 4 ,mem_24g_enter_hibernate 
+0x4810 023048 jam 1 ,mem_mouse_long_mult_flag 
+0x4811 023049 rtn 
+:      023052 mouse_24g_long_sleep_set:
+0x4812 023053 fetch 1 ,mem_24g_long_sleep_set_level 
+0x4813 023054 beq 0x00 ,mouse_24g_long_sleep_set_30ms 
+0x4814 023055 beq 0x01 ,mouse_24g_long_sleep_set_50ms 
+0x4815 023056 beq 0x02 ,mouse_24g_long_sleep_set_80ms 
+0x4816 023057 beq 0x03 ,mouse_24g_long_sleep_set_100ms 
+:      023058 mouse_24g_long_sleep_set_80ms:
+0x4817 023059 setarg 0x0ea600 
+:      023060 mouse_24g_long_sleep_set_end:
+0x4818 023061 store 4 ,mem_24g_long_sleep_set1 
+0x4819 023062 rtn 
+:      023063 mouse_24g_long_sleep_set_30ms:
+0x481a 023064 setarg 0x05e740 
+0x481b 023065 branch mouse_24g_long_sleep_set_end 
+:      023066 mouse_24g_long_sleep_set_50ms:
+0x481c 023067 setarg 0x0927c0 
+0x481d 023068 branch mouse_24g_long_sleep_set_end 
+:      023069 mouse_24g_long_sleep_set_100ms:
+0x481e 023070 setarg 0x124f80 
+0x481f 023071 branch mouse_24g_long_sleep_set_end 
+:      023075 mouse_24g_hibernate_set:
+0x4820 023076 jam 0 ,mem_24g_attempt_fail_flag 
+0x4821 023077 call g24_transmit_next_packet 
+0x4822 023078 setarg -1 
+0x4823 023079 store 4 ,mem_24g_enter_hibernate 
+0x4824 023080 setarg 0 
+0x4825 023081 store 7 ,mem_mouse_key 
+0x4826 023082 jam 1 ,mem_sensor_shutdown_flag 
+0x4827 023083 call mouse_sensor_powerdown 
+0x4828 023084 call mouse_setgpio_hibernate 
+0x4829 023085 branch g24_long_sleep 
+:      023087 mouse_wakeup_24g:
+0x482a 023088 fetch 1 ,mem_sensor_shutdown_flag 
+0x482b 023089 ncall mouse_init_sensor_wakeup ,blank 
+0x482c 023090 jam 0 ,mem_sensor_shutdown_flag 
+0x482d 023091 branch g24_transmit_no_ack 
+:      023093 mouse_24g_transmit_start:
+0x482e 023094 fetch 1 ,mem_sensor_shutdown_flag 
+0x482f 023095 nbranch g24_short_sleep ,blank 
+0x4830 023096 branch g24_transmit_start_next 
+:      023099 mouse_24g_stop:
+0x4831 023100 set0 mark_24g ,mark 
+0x4832 023101 jam state_24g_stop ,mem_24g_conn_sm 
+0x4833 023102 arg mouse_24g_pairing_flag ,queue 
+0x4834 023103 branch mouse_disable_function_flag 
+:      023106 mouse_24g_start_mode:
+0x4835 023107 fetch mouse_flag_len ,mem_mouse_flag 
+0x4836 023108 bbit0 mouse_enable_24g ,mouse_24g_mode_setup_error 
+0x4837 023109 call mouse_wakeup_from_power_check 
+0x4838 023110 branch mouse_24g_reconn_dongle_start ,user 
+0x4839 023111 fetch mouse_flag_len ,mem_mouse_flag 
+0x483a 023112 bbit1 mouse_enable_auto_24g_paring ,mouse_24g_reconn_general_dongle 
+0x483b 023113 bbit0 mouse_enable_24g_power_on_pairing ,mouse_24g_reconn_general_dongle 
+0x483c 023114 call mouse_key_check_once 
+0x483d 023115 and pdata ,0x07 ,pdata 
+0x483e 023116 fetcht 1 ,mem_mouse_commbination_key_24g 
+0x483f 023117 isub temp ,null 
+0x4840 023118 branch mouse_24g_start_pair_mode ,zero 
+0x4841 023119 branch mouse_24g_reconn_general_dongle 
+:      023121 mouse_24g_mode_setup_error:
+0x4842 023122 fetch 1 ,mem_reconn_times 
+0x4843 023123 nbranch mouse_polling_device ,blank 
+0x4844 023124 rtn 
+:      023126 mouse_24g_reconn_dongle_start:
+0x4845 023127 fetch 2 ,mem_24g_reconn_timeout_init 
+0x4846 023128 store 2 ,mem_24g_reconn_timeout 
+0x4847 023129 jam receiver_and_3_0_addr ,mem_24g_reconn_type 
+0x4848 023130 branch g24_reconn_start 
+:      023133 mouse_24g_first_start_auto_pair_mode:
+0x4849 023134 call mouse_wakeup_from_power_check 
+0x484a 023135 branch mouse_24g_first_start_reconn ,user 
+:      023136 mouse_24g_reconn_general_dongle:
+0x484b 023137 jam mode_24g_device ,mem_device_flag 
+0x484c 023138 fetch 2 ,mem_mouse_24g_power_on_fast_conn_timer 
+0x484d 023139 store 2 ,mem_24g_reconn_timeout 
+0x484e 023140 jam fast_conn_and_3_0_addr ,mem_24g_reconn_type 
+0x484f 023141 branch g24_reconn_start 
+:      023143 mouse_24g_start_auto_pair:
+0x4850 023144 call mouse_discover_setting_led_gpio 
+0x4851 023145 fetch 2 ,mem_24g_pair_timeout_init 
+0x4852 023146 store 2 ,mem_24g_reconn_timeout 
+0x4853 023147 jam pair_and_3_0_addr ,mem_24g_reconn_type 
+0x4854 023148 branch g24_reconn_start 
+:      023151 mouse_24g_first_start_reconn:
+0x4855 023152 fetch 1 ,mem_device_flag 
+0x4856 023153 beq mode_24g_device ,mouse_24g_reconn_dongle_start 
+0x4857 023154 call mouse_bluetooth_fast_conn_disable 
+0x4858 023155 branch mouse_24g_first_bluetooth_reconnect 
+:      023157 mouse_24g_first_bluetooth_reconnect:
+0x4859 023158 call mouse_24g_stop 
+0x485a 023159 call mouse_device_led_all_off 
+0x485b 023160 jam mode_bt_device1 ,mem_device_flag 
+0x485c 023161 call mouse_select_reconn_device 
+0x485d 023162 branch mouse_start_reconnect_device 
+:      023164 mouse_24g_first_bb_event_reconn_timeout:
+0x485e 023165 call mouse_wakeup_from_power_check 
+0x485f 023166 branch mouse_app_enter_hibernate ,user 
+0x4860 023167 branch mouse_start_discovery 
+:      023170 mouse_24g_first_store_reconn_info:
+0x4861 023171 call mouse_wakeup_from_power_check 
+0x4862 023172 rtn user 
+0x4863 023173 fetch mouse_flag_len ,mem_mouse_flag 
+0x4864 023174 bbit1 mouse_enable_24g_first_auto_pairing ,mouse_store_device_info_delay 
+0x4865 023175 rtn 
+:      023177 mouse_24g_start_pair_mode:
+0x4866 023178 arg mouse_24g_pairing_flag ,queue 
+0x4867 023179 call mouse_enable_function_flag 
+0x4868 023180 setarg 0 
+0x4869 023181 store 2 ,mem_24g_reconn_timeout 
+0x486a 023182 call mouse_stop_discovery 
+0x486b 023183 call mouse_low_voltage_led_blink_disable 
+0x486c 023184 call mouse_discover_setting_led_gpio 
+0x486d 023185 jam type_ms ,mem_24g_data_type 
+0x486e 023186 fetch mouse_flag_len ,mem_mouse_flag 
+0x486f 023187 bbit0 mouse_enable_keyboard ,g24_pair_start 
+0x4870 023188 jam type_kb ,mem_24g_data_type 
+0x4871 023189 branch g24_pair_start 
+:      023192 mouse_24g_attempt_fail:
+0x4872 023193 fetch 1 ,mem_24g_attempt_fail_flag 
+0x4873 023194 nbranch mouse_24g_hibernate_set ,blank 
+0x4874 023195 fetch 1 ,mem_24g_reconn_type 
+0x4875 023196 beq fast_conn_and_3_0_addr ,mouse_24g_fast_conn_attempt_fail 
+0x4876 023197 beq pair_and_3_0_addr ,mouse_24g_auto_pair_attempt_fail 
+0x4877 023198 beq receiver_and_3_0_addr ,mouse_reconn_dongle_attempt_fail 
+:      023199 mouse_24g_attempt_fail_enter_hibernate:
+0x4878 023200 call mouse_device_led_off 
+0x4879 023201 call mouse_24g_stop 
+0x487a 023202 fetch 1 ,mem_reconn_times 
+0x487b 023203 nbranch mouse_polling_device ,blank 
+0x487c 023204 fetch 1 ,mem_device_flag 
+0x487d 023205 beq mode_24g_device ,mouse_app_enter_hibernate 
+0x487e 023206 rtn 
+:      023208 mouse_24g_fast_conn_attempt_fail:
+0x487f 023209 fetch mouse_flag_len ,mem_mouse_flag 
+0x4880 023210 bbit1 mouse_enable_24g_first_auto_pairing ,mouse_24g_start_auto_pair 
+0x4881 023211 bbit1 mouse_enable_auto_24g_paring ,mouse_24g_start_auto_pair 
+0x4882 023212 branch mouse_24g_reconn_dongle_start 
+:      023215 mouse_24g_auto_pair_attempt_fail:
+0x4883 023216 fetch mouse_flag_len ,mem_mouse_flag 
+0x4884 023217 bbit0 mouse_enable_24g_first_auto_pairing ,mouse_24g_attempt_fail_enter_hibernate 
+0x4885 023218 fetch 1 ,mem_device_number 
+0x4886 023219 beq 1 ,mouse_24g_attempt_fail_enter_hibernate 
+0x4887 023220 branch mouse_24g_first_bluetooth_reconnect 
+:      023222 mouse_reconn_dongle_attempt_fail:
+0x4888 023223 fetch mouse_flag_len ,mem_mouse_flag 
+0x4889 023224 bbit0 mouse_enable_24g_first_auto_pairing ,mouse_24g_attempt_fail_enter_hibernate 
+0x488a 023225 bbit1 mouse_enable_eeprom ,mouse_24g_attempt_fail_enter_hibernate 
+0x488b 023226 bbit1 mouse_enable_flash ,mouse_24g_attempt_fail_enter_hibernate 
+0x488c 023227 branch mouse_24g_start_auto_pair + 1 
+:      023230 mouse_24g_attempt_success:
+0x488d 023231 call mouse_init_sensor_reset 
+0x488e 023232 jam 0 ,mem_mouse_long_mult_flag 
+0x488f 023233 jam 0 ,mem_24g_conn_sm 
+0x4890 023234 jam 0 ,mem_24g_reconn_type 
+0x4891 023235 fetch 4 ,mem_24g_receiver_addr 
+0x4892 023236 fetch 4 ,mem_24g_fast_conn_addr 
+0x4893 023237 isub temp ,null 
+0x4894 023238 rtn zero 
+0x4895 023239 branch mouse_24g_first_store_reconn_info 
+:      023241 mouse_24g_pairing_complete:
+0x4896 023242 arg mouse_24g_pairing_flag ,queue 
+0x4897 023243 call mouse_disable_function_flag 
+0x4898 023244 call mouse_device_poweron_timer_init 
+0x4899 023245 setarg 0 
+0x489a 023246 store 2 ,mem_24g_pair_timeout 
+0x489b 023247 store 2 ,mem_24g_reconn_timeout 
+0x489c 023248 store 1 ,mem_24g_conn_sm 
+0x489d 023249 store 1 ,mem_mouse_move_flag 
+0x489e 023250 store 1 ,mem_24g_reconn_type 
+0x489f 023252 call mouse_init_sensor_reset 
+0x48a0 023253 call mouse_read_sensor_common 
+0x48a1 023254 fetch 4 ,mem_24g_addr 
+0x48a2 023255 store 4 ,mem_24g_receiver_addr 
+0x48a3 023256 store 4 ,mem_mouse_24g_addr 
+0x48a4 023257 branch mouse_store_device_info_delay 
+:      023259 mouse_24g_package_data:
+0x48a5 023260 rtnmark0 mark_24g 
+0x48a6 023261 call mouse_motion 
+0x48a7 023262 nrtn user 
+0x48a8 023263 fetch mouse_flag_len ,mem_mouse_flag 
+0x48a9 023264 bbit0 mouse_enable_keyboard ,mouse_24g_mouse_package_data 
+0x48aa 023265 fetch 1 ,mem_customer_key 
+0x48ab 023266 nbranch mouse_24g_keyboard_package_data ,blank 
+:      023267 mouse_24g_mouse_package_data:
+0x48ac 023268 call mouse_data_xy_release 
+0x48ad 023269 fetch 1 ,mem_24g_data_type 
+0x48ae 023270 bbit1 1 ,mouse_24g_mouse_package_data_now 
+0x48af 023271 fetcht 1 ,mem_24g_txbuf + 1 
+0x48b0 023272 fetch 1 ,mem_mouse_key 
+0x48b1 023273 ior temp ,pdata 
+0x48b2 023274 store 1 ,mem_mouse_key 
+0x48b3 023275 fetcht 1 ,mem_24g_txbuf + 6 
+0x48b4 023276 fetch 1 ,mem_mouse_z 
+0x48b5 023277 iadd temp ,pdata 
+0x48b6 023278 store 1 ,mem_mouse_z 
+0x48b7 023279 fetcht 1 ,mem_24g_txbuf + 7 
+0x48b8 023280 fetch 1 ,mem_mouse_tz 
+0x48b9 023281 iadd temp ,pdata 
+0x48ba 023282 store 1 ,mem_mouse_tz 
+:      023283 mouse_24g_mouse_package_data_now:
+0x48bb 023284 jam type_ms ,mem_24g_data_type 
+0x48bc 023285 arg 7 ,rega 
+0x48bd 023286 arg mem_mouse_key ,regb 
+0x48be 023287 fetch 2 ,mem_mouse_z 
+0x48bf 023288 rtn blank 
+0x48c0 023289 branch g24_transmit_by_interrupt_enable 
+:      023291 mouse_24g_keyboard_package_data:
+0x48c1 023292 jam type_kb ,mem_24g_data_type 
+0x48c2 023293 arg 9 ,rega 
+0x48c3 023294 fetch 1 ,mem_customer_data_trigger 
+0x48c4 023295 nbranch mouse_customer_key_press ,blank 
+0x48c5 023296 arg mem_customer_key_release ,regb 
+0x48c6 023297 rtn 
+:      023298 mouse_customer_key_press:
+0x48c7 023299 arg mem_customer_key_press ,regb 
+0x48c8 023300 rtn 
+:      023306 mouse_24g_search_dongle_init:
+0x48c9 023307 setarg 0 
+0x48ca 023308 store 3 ,mem_mouse_search_dongle_action 
+0x48cb 023309 rtn 
+:      023311 mouse_24g_search_dongle:
+0x48cc 023312 fetch mouse_flag_len ,mem_mouse_flag 
+0x48cd 023313 rtnbit0 mouse_enable_24g_search_dongle 
+0x48ce 023314 fetch 1 ,mem_mouse_long_mult_flag 
+0x48cf 023315 rtn blank 
+0x48d0 023316 fetch 1 ,mem_24g_abort_pac 
+0x48d1 023317 rtn blank 
+0x48d2 023318 fetch 1 ,mem_mouse_search_dongle_interval 
+0x48d3 023319 increase 1 ,pdata 
+0x48d4 023320 and_into 3 ,pdata 
+0x48d5 023321 store 1 ,mem_mouse_search_dongle_interval 
+0x48d6 023322 nrtn blank 
+0x48d7 023323 jam 0 ,mem_mouse_search_dongle_ch 
+:      023324 mouse_24g_search_dongle_loop:
+0x48d8 023325 fetch 1 ,mem_mouse_search_dongle_ch 
+0x48d9 023326 increase 1 ,pdata 
+0x48da 023327 store 1 ,mem_mouse_search_dongle_ch 
+0x48db 023328 sub pdata ,g24_ch_number ,null 
+0x48dc 023329 nbranch mouse_24g_search_dongle_loop_end ,positive 
+0x48dd 023330 call g24_reconn_data_prep 
+0x48de 023331 call g24_transmit_receive_ack 
+0x48df 023332 nbranch mouse_24g_search_dongle_loop_retry ,sync 
+0x48e0 023333 nbranch mouse_24g_search_dongle_loop_retry ,user3 
+0x48e1 023334 call mouse_g24_ackpayload_parse 
+0x48e2 023335 call mouse_24g_search_dongle_success 
+:      023336 mouse_24g_search_dongle_loop_end:
+0x48e3 023337 call g24_txbuf_clear 
+0x48e4 023338 fetch 1 ,mem_mouse_search_dongle_count 
+0x48e5 023339 increase 1 ,pdata 
+0x48e6 023340 store 1 ,mem_mouse_search_dongle_count 
+0x48e7 023341 beq g24_ch_poll_count ,mouse_24g_search_dongle_check 
+0x48e8 023342 rtn 
+:      023344 mouse_24g_search_dongle_loop_retry:
+0x48e9 023345 call g24_ch 
+0x48ea 023346 branch mouse_24g_search_dongle_loop 
+:      023348 mouse_24g_search_dongle_check:
+0x48eb 023349 jam 0 ,mem_mouse_search_dongle_count 
+0x48ec 023350 fetch 1 ,mem_mouse_search_dongle_action 
+0x48ed 023351 rtnbit1 g24_disconn_state 
+0x48ee 023352 set1 g24_disconn_state ,pdata 
+0x48ef 023353 store 1 ,mem_mouse_search_dongle_action 
+0x48f0 023354 fetch 2 ,mem_mouse_24g_search_dongle_time_init 
+0x48f1 023357 branch mouse_24g_hibernate_set 
+:      023360 mouse_24g_search_dongle_success:
+0x48f2 023361 fetch 1 ,mem_24g_abort_pac 
+0x48f3 023362 branch mouse_24g_search_dongle_init ,blank 
+0x48f4 023363 jam 0 ,mem_mouse_search_dongle_count 
+0x48f5 023364 fetch 1 ,mem_mouse_search_dongle_action 
+0x48f6 023365 rtnbit0 g24_disconn_state 
+0x48f7 023366 set0 g24_disconn_state ,pdata 
+0x48f8 023367 store 1 ,mem_mouse_search_dongle_action 
+0x48f9 023368 call mouse_no_data_timer_init 
+0x48fa 023369 branch mouse_init_sensor_wakeup 
+:      023371 mouse_g24_ackpayload_parse:
+0x48fb 023372 call g24_ackpayload_parse 
+0x48fc 023373 fetch 1 ,mem_24g_rxbuf + 1 
+0x48fd 023374 compare 0x08 ,pdata ,0xf8 
+0x48fe 023375 nrtn true 
+0x48ff 023376 fetch 1 ,mem_24g_rxbuf + 2 
+0x4900 023377 beq 0xff ,mouse_24g_hibernate_set 
+0x4901 023378 rtn 
+:      023384 mouse_24g_before_lpm_sleep:
+0x4902 023385 fetch 1 ,mem_device_flag 
+0x4903 023386 bne mode_24g_device ,lpm_sleep_skip_cb_function 
+0x4904 023387 fetch 1 ,mem_24g_disable_fec1 
+0x4905 023388 rtn blank 
+:      023389 mouse_peripheral_clock_off:
+0x4906 023390 jam 2 ,core_clksel 
+0x4907 023391 fetch 1 ,core_lpm_ctrl 
+0x4908 023392 and pdata ,0xfc ,pdata 
+0x4909 023393 store 1 ,core_lpm_reg 
+0x490a 023394 branch lpm_write_ctrl 
+:      023400 mouse_device_poweron_timer:
+0x490b 023401 fetch mouse_flag_len ,mem_mouse_flag 
+0x490c 023402 rtnbit0 mouse_enable_power_on_led 
+0x490d 023403 fetch 1 ,mem_mouse_device_poweron_timer_count 
+0x490e 023404 rtn blank 
+0x490f 023405 increase -1 ,pdata 
+0x4910 023406 store 1 ,mem_mouse_device_poweron_timer_count 
+0x4911 023407 branch mouse_device_led_off ,blank 
+0x4912 023408 branch mouse_device_led_on 
+:      023410 mouse_device_poweron_timer_init:
+0x4913 023411 fetch mouse_flag_len ,mem_mouse_flag 
+0x4914 023412 rtnbit0 mouse_enable_power_on_led 
+0x4915 023413 call mouse_low_voltage_led_blink_disable 
+0x4916 023414 fetch 1 ,mem_mouse_device_poweron_timer_count_init 
+0x4917 023415 store 1 ,mem_mouse_device_poweron_timer_count 
+0x4918 023416 rtn 
+:      023419 mouse_discover_setting_led_gpio:
+0x4919 023420 jam 0 ,mem_mouse_device_poweron_timer_count 
+0x491a 023421 fetch 2 ,mem_mouse_disconvey_led_blink_time 
+0x491b 023422 store 2 ,mem_mouse_on_time 
+0x491c 023423 store 2 ,mem_mouse_off_time 
+:      023424 mouse_setting_led_gpio_comman:
+0x491d 023425 fetch 1 ,mem_device_flag 
+0x491e 023426 beq mode_24g_device ,mouse_device_led_24g 
+0x491f 023427 beq mode_bt_device1 ,mouse_device_led_bt1 
+0x4920 023428 beq mode_bt_device2 ,mouse_device_led_bt2 
+0x4921 023429 rtn 
+:      023430 mouse_device_led_24g:
+0x4922 023431 fetch 1 ,mem_config_device_24g_led_gpio 
+0x4923 023432 branch mouse_led_blink 
+:      023433 mouse_device_led_bt1:
+0x4924 023434 fetch 1 ,mem_config_device_bt1_led_gpio 
+0x4925 023435 branch mouse_led_blink 
+:      023436 mouse_device_led_bt2:
+0x4926 023437 fetch 1 ,mem_config_device_bt2_led_gpio 
+:      023438 mouse_led_blink:
+0x4927 023439 store 1 ,mem_temp 
+0x4928 023440 call mouse_device_led_off 
+0x4929 023441 fetch 1 ,mem_temp 
+0x492a 023442 store 1 ,mem_mouse_struct_led_gpio 
+0x492b 023443 arg 0 ,rega 
+0x492c 023444 jam ui_led_state_blink_start ,mem_mouse_led_type 
+0x492d 023445 branch ui_led_blink_start_global 
+:      023448 mouse_dpi_led_blink_delay:
+0x492e 023449 fetch 1 ,mem_dpi_led_gpio 
+0x492f 023450 rtneq gpio_disable 
+0x4930 023451 fetch 2 ,mem_mouse_discovery_timer 
+0x4931 023452 nrtn blank 
+0x4932 023453 fetch 2 ,mem_24g_pair_timeout 
+0x4933 023454 nrtn blank 
+0x4934 023455 fetch 2 ,mem_24g_reconn_timeout 
+0x4935 023456 nrtn blank 
+0x4936 023457 fetch 1 ,mem_mouse_device_poweron_timer_count 
+0x4937 023458 nrtn blank 
+0x4938 023459 fetch 1 ,mem_mouse_dpi_led_delay_count_init 
+0x4939 023460 branch mouse_dpi_led_blink_init ,blank 
+0x493a 023461 store 1 ,mem_mouse_dpi_led_delay_count 
+0x493b 023462 rtn 
+:      023465 mouse_dpi_led_blink_delay_timer:
+0x493c 023466 arg mem_mouse_dpi_led_delay_count ,regc 
+0x493d 023467 arg mouse_dpi_led_blink_init ,regb 
+0x493e 023468 branch timer_single_step 
+:      023470 mouse_dpi_led_blink_init:
+0x493f 023471 fetch 1 ,mem_dpi_led_gpio 
+0x4940 023472 store 1 ,mem_mouse_struct_led_gpio 
+0x4941 023473 fetch 2 ,mem_mouse_dpi_led_blink_time 
+0x4942 023474 store 2 ,mem_mouse_on_time 
+0x4943 023475 store 2 ,mem_mouse_off_time 
+0x4944 023476 arg 0 ,rega 
+0x4945 023477 fetcht 1 ,mem_mouse_dpi 
+0x4946 023478 increase 1 ,temp 
+0x4947 023479 fetch mouse_flag_len ,mem_mouse_flag 
+0x4948 023480 bbit0 mouse_enable_dpi_level_4 ,mouse_dpi_led_blink_init_end 
+0x4949 023481 increase 1 ,temp 
+0x494a 023482 sub temp ,4 ,null 
+0x494b 023483 ncall mouse_dpi_led_blink_count_clean ,positive 
+:      023484 mouse_dpi_led_blink_init_end:
+0x494c 023485 storet 1 ,mem_mouse_blink_count 
+0x494d 023486 jam ui_led_state_blink_start ,mem_mouse_led_type 
+0x494e 023487 rtn 
+:      023489 mouse_dpi_led_blink_count_clean:
+0x494f 023490 arg 1 ,temp 
+0x4950 023491 rtn 
+:      023493 mouse_check_dpi_blink:
+0x4951 023494 disable user 
+0x4952 023495 fetch 1 ,mem_dpi_led_gpio 
+0x4953 023496 fetcht 1 ,mem_mouse_struct_led_gpio 
+0x4954 023497 isub temp ,null 
+0x4955 023498 nrtn zero 
+0x4956 023499 fetch 1 ,mem_mouse_blink_count 
+0x4957 023500 rtn blank 
+0x4958 023501 jam 0 ,mem_adc_low_volatage_led_blink_enable 
+0x4959 023502 enable user 
+0x495a 023503 rtn 
+:      023505 mouse_device_led_all_off:
+0x495b 023506 call mouse_dpi_led_off 
+0x495c 023507 call mouse_device_24g_led_off 
+0x495d 023508 call mouse_device_bt1_led_off 
+0x495e 023509 branch mouse_device_bt2_led_off 
+:      023511 mouse_device_led_off:
+0x495f 023512 fetch 1 ,mem_device_flag 
+0x4960 023513 beq mode_24g_device ,mouse_device_24g_led_off 
+0x4961 023514 beq mode_bt_device1 ,mouse_device_bt1_led_off 
+0x4962 023515 beq mode_bt_device2 ,mouse_device_bt2_led_off 
+0x4963 023516 rtn 
+:      023518 mouse_device_24g_led_off:
+0x4964 023519 jam 0 ,mem_24g_device_led_status 
+0x4965 023520 fetcht 1 ,mem_config_device_24g_led_gpio 
+0x4966 023521 branch mouse_led_off 
+:      023523 mouse_device_bt1_led_off:
+0x4967 023524 fetcht 1 ,mem_config_device_bt1_led_gpio 
+0x4968 023525 branch mouse_led_off 
+:      023527 mouse_device_bt2_led_off:
+0x4969 023528 fetcht 1 ,mem_config_device_bt2_led_gpio 
+0x496a 023529 branch mouse_led_off 
+:      023531 mouse_dpi_led_off:
+0x496b 023532 fetcht 1 ,mem_dpi_led_gpio 
+0x496c 023533 branch mouse_led_off 
+:      023535 mouse_device_led_on:
+0x496d 023536 fetch 1 ,mem_device_flag 
+0x496e 023537 beq mode_24g_device ,mouse_device_24g_led_on 
+0x496f 023538 beq mode_bt_device1 ,mouse_device_bt1_led_on 
+0x4970 023539 beq mode_bt_device2 ,mouse_device_bt2_led_on 
+0x4971 023540 rtn 
+:      023542 mouse_device_24g_led_on:
+0x4972 023543 fetcht 1 ,mem_config_device_24g_led_gpio 
+0x4973 023544 branch mouse_led_on 
+:      023545 mouse_device_bt1_led_on:
+0x4974 023546 fetcht 1 ,mem_config_device_bt1_led_gpio 
+0x4975 023547 branch mouse_led_on 
+:      023548 mouse_device_bt2_led_on:
+0x4976 023549 fetcht 1 ,mem_config_device_bt2_led_gpio 
+0x4977 023550 branch mouse_led_on 
+:      023552 mouse_led_off:
+0x4978 023553 bpatch patch1c_0 ,mem_patch1c 
+0x4979 023554 storet 1 ,mem_mouse_struct_led_gpio 
+0x497a 023555 arg 0 ,rega 
+0x497b 023556 branch ui_led_off_global 
+:      023557 mouse_led_on:
+0x497c 023558 bpatch patch1c_1 ,mem_patch1c 
+0x497d 023559 storet 1 ,mem_mouse_struct_led_gpio 
+0x497e 023560 arg 0 ,rega 
+0x497f 023561 branch ui_led_on_global 
+:      023563 mouse_ui_led_off_static:
+0x4980 023564 fetch 1 ,mem_config_device_24g_led_gpio 
+0x4981 023565 isub temp ,null 
+0x4982 023566 call mouse_clear_24g_led_statue ,zero 
+0x4983 023567 fetch mouse_flag_len ,mem_mouse_flag 
+0x4984 023568 bbit0 mouse_enable_4_led ,gpio_out_inactive 
+0x4985 023569 call mouse_check_bt2_led_off 
+0x4986 023570 call mouse_check_dpi_led_off 
+0x4987 023571 call mouse_check_low_v_led_off 
+0x4988 023572 fetch 1 ,mem_mouse_led_off_4_led 
+0x4989 023573 branch gpio_out_inactive ,blank 
+0x498a 023574 jam 0 ,mem_mouse_led_off_4_led 
+0x498b 023575 branch gpio_set_high_impedance 
+:      023577 mouse_ui_led_on_static:
+0x498c 023578 fetch 1 ,mem_config_device_24g_led_gpio 
+0x498d 023579 isub temp ,null 
+0x498e 023580 call mouse_set_24g_led_statue ,zero 
+0x498f 023581 branch gpio_out_active 
+:      023584 mouse_check_bt2_led_off:
+0x4990 023585 fetch mouse_flag_len ,mem_mouse_flag 
+0x4991 023586 rtnbit0 mouse_enable_bt2_for_4_led 
+0x4992 023587 fetch 1 ,mem_config_device_bt2_led_gpio 
+0x4993 023588 branch mouse_check_1gpio_2led_off 
+:      023589 mouse_check_dpi_led_off:
+0x4994 023590 fetch mouse_flag_len ,mem_mouse_flag 
+0x4995 023591 rtnbit0 mouse_enable_dpi_for_4_led 
+0x4996 023592 fetch 1 ,mem_dpi_led_gpio 
+0x4997 023593 branch mouse_check_1gpio_2led_off 
+:      023594 mouse_check_low_v_led_off:
+0x4998 023595 fetch mouse_flag_len ,mem_mouse_flag 
+0x4999 023596 rtnbit0 mouse_enable_low_v_for_4_led 
+0x499a 023597 fetch 1 ,mem_config_low_voltage_alarm_gpio 
+:      023598 mouse_check_1gpio_2led_off:
+0x499b 023599 isub temp ,null 
+0x499c 023600 nrtn zero 
+0x499d 023601 jam 1 ,mem_mouse_led_off_4_led 
+0x499e 023602 rtn 
+:      023604 mouse_clear_24g_led_statue:
+0x499f 023605 jam 0 ,mem_24g_device_led_status 
+0x49a0 023606 rtn 
+:      023608 mouse_set_24g_led_statue:
+0x49a1 023609 jam 1 ,mem_24g_device_led_status 
+0x49a2 023610 rtn 
+:      023612 mouse_low_voltage_led_timer:
+0x49a3 023613 fetch 2 ,mem_mouse_discovery_timer 
+0x49a4 023614 nrtn blank 
+0x49a5 023615 fetch 2 ,mem_24g_pair_timeout 
+0x49a6 023616 nrtn blank 
+0x49a7 023617 fetch 2 ,mem_24g_reconn_timeout 
+0x49a8 023618 nrtn blank 
+0x49a9 023619 fetch 1 ,mem_mouse_device_poweron_timer_count 
+0x49aa 023620 nrtn blank 
+0x49ab 023621 call mouse_check_dpi_blink 
+0x49ac 023622 rtn user 
+0x49ad 023623 fetch mouse_flag_len ,mem_mouse_flag 
+0x49ae 023624 rtnbit0 mouse_enable_low_voltage_led 
+0x49af 023625 rtnbit0 mouse_low_voltage_flag 
+0x49b0 023626 bbit1 mouse_enable_low_voltage_led_blink_n_second ,mouse_low_voltage_led_blink_new_data 
+0x49b1 023627 fetch 1 ,mem_adc_low_volatage_led_timer_count 
+0x49b2 023628 increase 1 ,pdata 
+0x49b3 023629 store 1 ,mem_adc_low_volatage_led_timer_count 
+0x49b4 023630 sub pdata ,20 ,null 
+0x49b5 023631 ncall mouse_adc_low_volatage_led_timer_count_clean ,positive 
+0x49b6 023632 beq 2 ,mouse_low_voltage_led_on 
+0x49b7 023633 beq 4 ,mouse_low_voltage_led_off 
+0x49b8 023634 beq 6 ,mouse_low_voltage_led_on 
+0x49b9 023635 beq 8 ,mouse_low_voltage_led_off 
+0x49ba 023636 rtn 
+:      023637 mouse_adc_low_volatage_led_timer_count_clean:
+0x49bb 023638 jam 1 ,mem_adc_low_volatage_led_timer_count 
+0x49bc 023639 branch mouse_low_voltage_led_off 
+:      023640 mouse_low_voltage_led_on:
+0x49bd 023641 fetch mouse_flag_len ,mem_mouse_flag 
+0x49be 023642 bbit1 mouse_enable_low_voltage_use_mode_led ,mouse_device_led_on 
+0x49bf 023643 fetch 1 ,mem_config_low_voltage_alarm_gpio 
+0x49c0 023644 rtneq gpio_disable 
+0x49c1 023645 fetcht 1 ,mem_config_low_voltage_alarm_gpio 
+0x49c2 023646 branch mouse_led_on 
+:      023647 mouse_low_voltage_led_off:
+0x49c3 023648 fetch mouse_flag_len ,mem_mouse_flag 
+0x49c4 023649 bbit1 mouse_enable_low_voltage_use_mode_led ,mouse_device_led_off 
+0x49c5 023650 fetch 1 ,mem_config_low_voltage_alarm_gpio 
+0x49c6 023651 rtneq gpio_disable 
+0x49c7 023652 fetcht 1 ,mem_config_low_voltage_alarm_gpio 
+0x49c8 023653 branch mouse_led_off 
+:      023655 mouse_low_voltage_led_blink_new_data:
+0x49c9 023656 fetch 2 ,mem_mouse_no_data_timeout 
+0x49ca 023657 fetcht 2 ,mem_mouse_no_data_timer 
+0x49cb 023658 isub temp ,temp 
+0x49cc 023659 fetch 2 ,mem_adc_low_volatage_led_blink_timer 
+0x49cd 023660 isub temp ,null 
+0x49ce 023661 nbranch mouse_low_voltage_led_blink_disable ,positive 
+0x49cf 023662 fetch 1 ,mem_adc_low_volatage_led_blink_enable 
+0x49d0 023663 nrtn blank 
+0x49d1 023664 jam 1 ,mem_adc_low_volatage_led_blink_enable 
+0x49d2 023665 branch mouse_low_voltage_led_blink_init 
+:      023667 mouse_low_voltage_led_blink_init:
+0x49d3 023668 fetch 2 ,mem_mouse_low_v_led_blink_time 
+0x49d4 023669 store 2 ,mem_mouse_on_time 
+0x49d5 023670 store 2 ,mem_mouse_off_time 
+0x49d6 023671 fetch mouse_flag_len ,mem_mouse_flag 
+0x49d7 023672 bbit1 mouse_enable_low_voltage_use_mode_led ,mouse_setting_led_gpio_comman 
+0x49d8 023673 fetch 1 ,mem_config_low_voltage_alarm_gpio 
+0x49d9 023674 rtneq gpio_disable 
+0x49da 023675 branch mouse_led_blink 
+:      023677 mouse_low_voltage_led_blink_disable:
+0x49db 023678 jam 0 ,mem_adc_low_volatage_led_blink_enable 
+0x49dc 023679 branch mouse_low_voltage_led_off 
+:      023682 mouse_low_voltage_led_no_enter_lpm:
+0x49dd 023683 fetch mouse_flag_len ,mem_mouse_flag 
+0x49de 023684 rtnbit0 mouse_enable_low_voltage_led 
+0x49df 023685 rtnbit0 mouse_low_voltage_flag 
+0x49e0 023686 bbit1 mouse_enable_low_voltage_led_blink_n_second ,mouse_low_voltage_led_no_enter_lpm_blink 
+0x49e1 023687 fetch 1 ,mem_adc_low_volatage_led_timer_count 
+0x49e2 023688 sub pdata ,10 ,null 
+0x49e3 023689 branch mouse_lpm_mode_clear ,positive 
+:      023690 mouse_low_voltage_led_no_enter_lpm_next:
+0x49e4 023691 fetch 1 ,mem_device_flag 
+0x49e5 023692 beq mode_24g_device ,g24_transmit_by_interrupt_exit_check 
+0x49e6 023693 jam 1 ,mem_lpm_mode 
+0x49e7 023694 rtn 
+:      023696 g24_transmit_by_interrupt_exit_check:
+0x49e8 023697 fetch mouse_flag_len ,mem_mouse_flag 
+0x49e9 023698 rtnbit1 mouse_enable_24g_250hz 
+0x49ea 023699 branch g24_transmit_by_interrupt_exit 
+:      023701 mouse_lpm_mode_clear:
+0x49eb 023702 fetch 1 ,mem_device_flag 
+0x49ec 023703 beq mode_24g_device ,g24_transmit_by_interrupt_enable 
+0x49ed 023704 jam 0 ,mem_lpm_mode 
+0x49ee 023705 rtn 
+:      023707 mouse_low_voltage_led_no_enter_lpm_blink:
+0x49ef 023708 fetch 1 ,mem_adc_low_volatage_led_blink_enable 
+0x49f0 023709 nbranch mouse_lpm_mode_clear ,blank 
+0x49f1 023710 branch mouse_low_voltage_led_no_enter_lpm_next 
+:      023714 mouse_store_signal_rssi:
+0x49f2 023715 call rssi_hex2dec 
+0x49f3 023716 fetch 1 ,mem_rssi 
+0x49f4 023717 branch rssi_signal 
+:      023719 mouse_le_transmit:
+0x49f5 023720 call mouse_store_signal_rssi 
+0x49f6 023721 branch power_ctrl_start 
+:      023723 mouse_bt_slave_match:
+0x49f7 023724 call mouse_store_signal_rssi 
+0x49f8 023725 fetch 1 ,mem_state 
+0x49f9 023726 isolate1 state_inconn ,pdata 
+0x49fa 023727 nrtn true 
+0x49fb 023728 fetch 1 ,mem_arq 
+0x49fc 023729 isolate1 wack ,pdata 
+0x49fd 023730 call power_ctrl_pac_succ_decrs ,true 
+0x49fe 023731 ncall power_ctrl_pac_succ_incrs ,true 
+0x49ff 023732 branch power_ctrl_start 
+:      023734 mouse_le_set_lpm_mult:
+0x4a00 023735 fetch 1 ,mem_le_connect_status_flag 
+0x4a01 023736 compare 3 ,pdata ,3 
+0x4a02 023737 nbranch disable_blank ,true 
+0x4a03 023738 call app_lpm_mult_enable 
+0x4a04 023739 branch enable_blank 
+:      023741 mouse_bt_set_lpm_mult:
+0x4a05 023742 call l2cap_malloc_is_fifo_empty 
+0x4a06 023743 nrtn blank 
+0x4a07 023744 jam 1 ,mem_current_sniff_attempt 
+0x4a08 023745 jam 0 ,mem_current_sniff_timeout 
+0x4a09 023746 branch enable_blank 
+:      023748 mouse_set_lpm_mult:
+0x4a0a 023749 fetch 2 ,mem_ui_state_map 
+0x4a0b 023750 bbit1 ui_state_ble_connected ,mouse_le_set_lpm_mult 
+0x4a0c 023751 branch mouse_bt_set_lpm_mult 
+:      023757 remote_car_init:
+0x4a0d 023758 rtn wake 
+0x4a0e 023759 call keyscan_key_init 
+0x4a0f 023760 setarg remote_car_g24_package_data 
+0x4a10 023761 store 2 ,mem_cb_24g_transmit_data 
+0x4a11 023763 setarg remote_car_process_lpm_before 
+0x4a12 023764 store 2 ,mem_cb_24g_lpm_before 
+0x4a13 023766 setarg remote_car_le_before_hibernate 
+0x4a14 023767 store 2 ,mem_cb_before_hibernate 
+0x4a15 023769 setarg remote_car_scale_process_idle 
+0x4a16 023770 store 2 ,mem_cb_idle_process 
+0x4a17 023772 setarg remote_car_scale_process_bb_event 
+0x4a18 023773 store 2 ,mem_cb_bb_event_process 
+0x4a19 023775 setarg remote_car_event_timer 
+0x4a1a 023776 store 2 ,mem_cb_event_timer 
+0x4a1b 023778 setarg remote_car_power_off_signal 
+0x4a1c 023779 store 2 ,mem_remote_car_power_off_cb 
+0x4a1d 023781 setarg remote_car_soft_switch_power_on_signal 
+0x4a1e 023782 store 2 ,mem_remote_car_power_standby_cb 
+0x4a1f 023785 bpatch patch1c_2 ,mem_patch1c 
+0x4a20 023786 call set_eeprom_size_2k 
+0x4a21 023787 call remote_car_init_environment 
+0x4a22 023789 call queue_init 
+0x4a23 023790 fetch 1 ,mem_remote_car_config_soft_switch_enable 
+0x4a24 023791 store 1 ,mem_remote_car_hard_soft_switch 
+0x4a25 023792 beq hard_switch ,remote_car_hard_switch_power_on_signal 
+0x4a26 023793 fetch 1 ,mem_remote_car_config_soft_switch_gpio 
+0x4a27 023794 store 1 ,mem_ui_button_gpio 
+:      023795 remote_car_soft_switch_power_on_init:
+0x4a28 023796 call remote_car_ui_led_init 
+0x4a29 023797 call ui_button_init 
+0x4a2a 023798 call ui_button_polling 
+0x4a2b 023799 jam power_starting ,mem_remote_car_power_state 
+0x4a2c 023800 fetch 2 ,mem_ui_state_map 
+0x4a2d 023801 rtnbit1 ui_state_btn_down 
+0x4a2e 023802 branch app_enter_hibernate 
+:      023806 remote_car_hard_switch_power_on_signal:
+0x4a2f 023807 jam power_standby ,mem_remote_car_power_state 
+:      023808 remote_car_soft_switch_power_on_signal:
+0x4a30 023809 call remote_car_ui_led_init 
+0x4a31 023810 arg 0 ,rega 
+0x4a32 023811 call ui_led_blink_start_global 
+0x4a33 023812 call remote_car_set_24g_addr_eeprom 
+0x4a34 023813 call iicd_read_eep_data 
+0x4a35 023814 call g24_factory_check 
+0x4a36 023815 branch g24_pair_start ,user 
+0x4a37 023816 fetch 4 ,mem_24g_addr 
+0x4a38 023817 store 4 ,mem_24g_receiver_addr 
+0x4a39 023818 fetch 2 ,mem_24g_reconn_timeout_init 
+0x4a3a 023819 store 2 ,mem_24g_reconn_timeout 
+0x4a3b 023820 branch g24_reconn_start 
+:      023822 remote_car_set_24g_addr_eeprom:
+0x4a3c 023823 arg 4 ,temp 
+0x4a3d 023824 arg mem_24g_addr ,rega 
+0x4a3e 023825 arg remote_info_eeprom_offect ,regb 
+0x4a3f 023826 rtn 
+:      023829 remote_car_power_off_signal:
+:      023830 remote_car_ui_led_init:
+0x4a40 023831 bpatch patch1c_3 ,mem_patch1c 
+0x4a41 023832 fetch 1 ,mem_remote_car_config_connect_led_gpio 
+0x4a42 023833 bne invalid_pin_num ,remote_car_pairing_led_gpio_set 
+:      023834 remote_car_ui_led_init_1:
+0x4a43 023835 fetcht 1 ,mem_remote_car_led_map 
+0x4a44 023836 branch gpio_config_output 
+:      023837 remote_car_pairing_led_gpio_set:
+0x4a45 023838 store 1 ,mem_remote_car_led_map 
+0x4a46 023839 branch remote_car_ui_led_init_1 
+:      023842 remote_car_init_environment:
+0x4a47 023843 call g24_transmit_init 
+:      023844 remote_no_data_timer_init:
+0x4a48 023845 fetch 2 ,mem_remote_car_no_data_timeout 
+0x4a49 023846 store 2 ,mem_remote_car_no_data_timer 
+0x4a4a 023847 rtn 
+:      023849 remote_car_le_before_hibernate:
+0x4a4b 023850 call remote_car_process_lpm_before 
+:      023851 remote_gpio_set_before_hibernate:
+0x4a4c 023852 fetch 1 ,mem_remote_style_struct_led_gpio 
+0x4a4d 023853 set1 7 ,pdata 
+0x4a4e 023854 arg gpcfg_output_high ,temp 
+0x4a4f 023855 branch gpio_config_function 
+:      023857 remote_car_process_lpm_before:
+0x4a50 023858 call gpio_set_before_lpm 
+0x4a51 023859 branch keyscan_process_lpm_before 
+:      023861 remote_car_key_scan_process:
+0x4a52 023862 call keyscan_key_process 
+0x4a53 023863 call get_remote_key_state 
+0x4a54 023864 call remote_conn_led_state 
+0x4a55 023865 branch send_data 
+:      023867 remote_conn_led_state:
+0x4a56 023868 fetch 1 ,mem_remote_car_24g_status 
+0x4a57 023869 rtnne work_paired 
+0x4a58 023870 fetch 4 ,mem_remote_car_motor1_key0_press_state 
+0x4a59 023871 branch remote_car_stop_state ,blank 
+0x4a5a 023872 jam 0 ,mem_remote_car_no_data_check 
+0x4a5b 023873 enable user 
+0x4a5c 023874 branch check_51cmd_led_on 
+:      023875 remote_car_stop_state:
+0x4a5d 023876 fetch 1 ,mem_remote_car_no_data_check 
+0x4a5e 023877 rtneq 0xff 
+0x4a5f 023878 pincrease 1 
+0x4a60 023879 store 1 ,mem_remote_car_no_data_check 
+0x4a61 023880 disable user 
+0x4a62 023881 branch check_51cmd_led_off 
+:      023884 get_remote_key_state:
+0x4a63 023885 fetcht 2 ,mem_key_value_retention 
+0x4a64 023886 and temp ,0x01 ,pdata 
+0x4a65 023887 rshift temp ,temp 
+0x4a66 023888 store 1 ,mem_remote_car_motor1_key0_press_state 
+0x4a67 023889 and temp ,0x01 ,pdata 
+0x4a68 023890 rshift temp ,temp 
+0x4a69 023891 store 1 ,mem_remote_car_motor1_key1_press_state 
+0x4a6a 023892 and temp ,0x01 ,pdata 
+0x4a6b 023893 rshift temp ,temp 
+0x4a6c 023894 store 1 ,mem_remote_car_motor2_key2_press_state 
+0x4a6d 023895 and temp ,0x01 ,pdata 
+0x4a6e 023896 rshift temp ,temp 
+0x4a6f 023897 store 1 ,mem_remote_car_motor2_key3_press_state 
+0x4a70 023898 rtn 
+:      023899 send_data:
+0x4a71 023900 bpatch patch1c_4 ,mem_patch1c 
+0x4a72 023901 call remote_car_fb_check 
+0x4a73 023902 call remote_car_lr_check 
+0x4a74 023903 call remote_car_no_data_timeout_check 
+0x4a75 023904 nrtn user 
+0x4a76 023905 branch remote_car_send_key 
+:      023908 remote_car_no_data_timeout_check:
+0x4a77 023909 fetch 1 ,mem_remote_car_24g_status 
+0x4a78 023910 rtnne work_paired 
+0x4a79 023911 fetch 1 ,mem_remote_car_no_data_check 
+0x4a7a 023912 rtn blank 
+0x4a7b 023913 sub pdata ,1 ,null 
+0x4a7c 023914 nrtn positive 
+0x4a7d 023915 fetch 2 ,mem_24g_reconn_timeout_init 
+0x4a7e 023916 store 2 ,mem_24g_reconn_timeout 
+0x4a7f 023917 enable user 
+0x4a80 023918 rtn 
+:      023922 remote_car_fb_check:
+0x4a81 023923 fetch 1 ,mem_remote_car_motor1_key0_press_state 
+0x4a82 023924 nbranch remote_car_send_motor1_key0_press ,blank 
+0x4a83 023925 fetch 1 ,mem_remote_car_motor1_key1_press_state 
+0x4a84 023926 nbranch remote_car_send_motor1_key1_press ,blank 
+0x4a85 023927 branch remote_car_send_motor1_key0_rel 
+:      023929 remote_car_lr_check:
+0x4a86 023930 fetch 1 ,mem_remote_car_motor2_key2_press_state 
+0x4a87 023931 nbranch remote_car_send_motor2_key2_press ,blank 
+0x4a88 023932 fetch 1 ,mem_remote_car_motor2_key3_press_state 
+0x4a89 023933 nbranch remote_car_send_motor2_key3_press ,blank 
+0x4a8a 023934 branch remote_car_send_motor2_key2_rel 
+:      023937 remote_car_scale_process_idle:
+0x4a8b 023938 call remote_car_24g_status_process 
+0x4a8c 023939 branch remote_car_key_scan_process 
+:      023941 remote_car_scale_process_bb_event:
+0x4a8d 023942 copy regc ,pdata 
+0x4a8e 023943 beq bt_evt_button_up ,app_event_button_up 
+0x4a8f 023944 beq bt_evt_button_long_pressed ,app_button_long_pressed 
+0x4a90 023945 beq bt_evt_24g_pairing_complete ,remote_car_24g_pairing_complete 
+0x4a91 023946 beq bt_evt_24g_attempt_success ,remote_car_24g_attempt_success 
+0x4a92 023947 beq bt_evt_24g_attempt_fail ,remote_car_24g_attempt_fail 
+0x4a93 023948 rtn 
+:      023950 remote_car_24g_attempt_fail:
+0x4a94 023951 branch g24_txbuf_clear 
+:      023953 remote_car_24g_pairing_complete:
+0x4a95 023954 call remote_car_set_24g_addr_eeprom 
+0x4a96 023955 call iicd_write_protect_eep_data 
+:      023956 remote_car_24g_attempt_success:
+0x4a97 023957 jam 0 ,mem_24g_conn_sm 
+0x4a98 023958 jam work_paired ,mem_remote_car_24g_auto_work_step 
+0x4a99 023959 jam work_paired ,mem_remote_car_24g_pair_success_flag 
+0x4a9a 023960 rtn 
+:      023962 remote_car_24g_status_process:
+0x4a9b 023963 fetch 1 ,mem_remote_car_24g_auto_work_step 
+0x4a9c 023964 rtneq power_on 
+0x4a9d 023965 fetch 1 ,mem_remote_car_24g_status 
+0x4a9e 023966 rtneq work_paired 
+0x4a9f 023967 jam work_paired ,mem_remote_car_24g_status 
+:      023968 remote_car_scale_process_paired:
+0x4aa0 023969 arg 0 ,rega 
+0x4aa1 023970 branch ui_led_off_global 
+:      023971 remote_car_scale_process_shutdown:
+0x4aa2 023972 arg 0 ,rega 
+0x4aa3 023973 call ui_led_off_global 
+0x4aa4 023974 call remote_car_ui_led_init 
+0x4aa5 023975 branch app_enter_hibernate 
+:      023977 remote_car_event_timer:
+0x4aa6 023978 call app_power_timer 
+0x4aa7 023979 call g24_pair_timeout_timer 
+0x4aa8 023980 call g24_reconn_timeout_timer 
+0x4aa9 023981 branch remote_car_no_data_timer 
+:      023983 remote_car_no_data_timer:
+0x4aaa 023984 fetch 1 ,mem_remote_car_config_timeout_shutdown_enable 
+0x4aab 023985 rtn blank 
+0x4aac 023986 fetch 1 ,mem_key_value_retention 
+0x4aad 023987 nbranch remote_no_data_timer_init ,blank 
+0x4aae 023988 arg mem_remote_car_no_data_timer ,regc 
+0x4aaf 023989 arg remote_car_scale_process_shutdown ,regb 
+0x4ab0 023990 branch timer_single_step_2b 
+:      023994 remote_car_send_motor1_key0_press:
+0x4ab1 023995 jam motor_positive ,mem_remote_car_24g_motor1_payload 
+0x4ab2 023996 rtn 
+:      023997 remote_car_send_motor1_key1_press:
+0x4ab3 023998 jam motor_negative ,mem_remote_car_24g_motor1_payload 
+0x4ab4 023999 rtn 
+:      024000 remote_car_send_motor2_key2_press:
+0x4ab5 024001 jam motor_positive ,mem_remote_car_24g_motor2_payload 
+0x4ab6 024002 rtn 
+:      024003 remote_car_send_motor2_key3_press:
+0x4ab7 024004 jam motor_negative ,mem_remote_car_24g_motor2_payload 
+0x4ab8 024005 rtn 
+:      024008 remote_car_send_motor1_key0_rel:
+:      024009 remote_car_send_motor1_key1_rel:
+0x4ab9 024010 jam motor_stop ,mem_remote_car_24g_motor1_payload 
+0x4aba 024011 rtn 
+:      024012 remote_car_send_motor2_key2_rel:
+:      024013 remote_car_send_motor2_key3_rel:
+0x4abb 024014 jam motor_stop ,mem_remote_car_24g_motor2_payload 
+0x4abc 024015 rtn 
+:      024017 remote_car_send_key:
+0x4abd 024018 arg mem_remote_car_24g_motor_packet ,rega 
+0x4abe 024019 branch queue_push 
+:      024020 remote_car_send_attack:
+0x4abf 024021 arg mem_remote_car_24g_fire_packet ,rega 
+0x4ac0 024022 branch queue_push 
+:      024024 remote_car_g24_package_data:
+0x4ac1 024025 fetch 1 ,mem_remote_car_24g_pair_success_flag 
+0x4ac2 024026 beq work_paired ,remote_car_g24_send_empty 
+0x4ac3 024027 arg mem_remote_car_24g_tx_temp ,rega 
+0x4ac4 024028 call queue_pop 
+0x4ac5 024029 nbranch remote_car_moto_data ,user 
+:      024030 remote_car_g24_package_data_continue:
+0x4ac6 024031 arg mem_remote_car_24g_tx_temp ,contr 
+0x4ac7 024032 ifetch 1 ,contr 
+0x4ac8 024033 copy pdata ,rega 
+0x4ac9 024034 arg mem_remote_car_24g_tx_temp + 1 ,regb 
+0x4aca 024037 rtn 
+:      024039 remote_car_g24_send_empty:
+0x4acb 024040 jam 0 ,mem_remote_car_24g_pair_success_flag 
+0x4acc 024041 enable user 
+0x4acd 024042 arg 1 ,rega 
+0x4ace 024043 arg mem_remote_car_empty_packet ,regb 
+0x4acf 024044 rtn 
+:      024046 remote_car_moto_data:
+0x4ad0 024047 fetch 1 ,mem_remote_car_24g_tx_temp + 3 
+0x4ad1 024048 beq car_cmd_l_r_motor_control ,remote_car_moto_data_next 
+0x4ad2 024049 beq car_cmd_f_b_motor_control ,remote_car_moto_data_next 
+0x4ad3 024050 rtn 
+:      024051 remote_car_moto_data_next:
+0x4ad4 024052 fetch 1 ,mem_remote_car_24g_tx_temp + 6 
+0x4ad5 024053 nbranch remote_car_moto_data_enable_user ,blank 
+0x4ad6 024054 fetch 1 ,mem_remote_car_24g_tx_temp + 8 
+0x4ad7 024055 nbranch remote_car_moto_data_enable_user ,blank 
+0x4ad8 024056 fetch 1 ,mem_remote_car_24g_tx_temp + 10 
+0x4ad9 024057 nbranch remote_car_moto_data_enable_user ,blank 
+0x4ada 024058 rtn 
+:      024059 remote_car_moto_data_enable_user:
+0x4adb 024060 enable user 
+0x4adc 024061 branch remote_car_g24_package_data_continue 
+:      024066 remote_car_default_init:
+0x4add 024067 jam 0x14 ,mem_ui_button_timeout 
+0x4ade 024068 jam 0x01 ,mem_ui_button_last_state 
+0x4adf 024069 setarg 0x060f 
+0x4ae0 024070 store 2 ,mem_remote_car_queue_each_size 
+0x4ae1 024071 setarg mem_remote_car_queue_each_size 
+0x4ae2 024072 store 2 ,mem_queue_ptr 
+0x4ae3 024073 jam 0x01 ,mem_lpm_mode 
+0x4ae4 024074 jam 0x06 ,mem_lpm_overhead 
+0x4ae5 024075 jam 0x02 ,mem_lpm_mult_timeout 
+0x4ae6 024076 jam 0x00 ,mem_remote_car_hard_soft_switch 
+0x4ae7 024077 setarg mem_remote_style_led_type 
+0x4ae8 024078 store 2 ,mem_ui_led_struct_ptr 
+0x4ae9 024079 jam 0x01 ,mem_ui_led_struct_num 
+0x4aea 024080 jam 0xff ,mem_remote_style_blink_count 
+0x4aeb 024081 setarg 0x0296 
+0x4aec 024082 store 2 ,mem_remote_style_on_time 
+0x4aed 024083 setarg 0x073a 
+0x4aee 024084 store 2 ,mem_remote_style_off_time 
+0x4aef 024085 setarg mem_remote_car_soft_power 
+0x4af0 024086 store 2 ,mem_power_param_ptr 
+0x4af1 024087 setarg 0x0c0c 
+0x4af2 024088 store 2 ,mem_remote_car_power_off_timeout 
+0x4af3 024089 setarg mem_remote_car_keyscan 
+0x4af4 024090 store 2 ,mem_keyscan_ptr 
+0x4af5 024091 jam 0x00 ,mem_remote_car_config_soft_switch_enable 
+0x4af6 024092 jam 0xff ,mem_remote_car_config_connect_led_gpio 
+0x4af7 024093 jam 0xff ,mem_remote_car_config_soft_switch_gpio 
+0x4af8 024094 jam 0x00 ,mem_remote_car_config_key_map 
+0x4af9 024095 jam 0x00 ,mem_remote_car_config_layout 
+0x4afa 024096 jam 0x00 ,mem_remote_car_config_check_way 
+0x4afb 024097 jam 0x01 ,mem_remote_car_config_timeout_shutdown_enable 
+0x4afc 024098 setarg 0x4e55 
+0x4afd 024099 store 2 ,mem_current_vdd_value_default_mid_x 
+0x4afe 024100 store 2 ,mem_current_vdd_value_default_mid_y 
+0x4aff 024101 setarg 0x0007 
+0x4b00 024102 store 2 ,mem_current_vdd_default_range 
+0x4b01 024103 jam 0x02 ,mem_adc_config_flag 
+0x4b02 024104 setsect 0 ,0x35a0c 
+0x4b03 024105 setsect 1 ,0x11a 
+0x4b04 024106 setsect 2 ,0x60 
+0x4b05 024107 setsect 3 ,0x28 
+0x4b06 024108 store 9 ,mem_remote_car_24g_motor_packet 
+0x4b07 024109 setsect 0 ,0x2000a 
+0x4b08 024110 setsect 1 ,0x02 
+0x4b09 024111 istore 4 ,contw 
+0x4b0a 024112 setsect 0 ,0x35a08 
+0x4b0b 024113 setsect 1 ,0x19a 
+0x4b0c 024114 setsect 2 ,0x00 
+0x4b0d 024115 setsect 3 ,0x00 
+0x4b0e 024116 store 9 ,mem_remote_car_24g_fire_packet 
+0x4b0f 024117 setarg 0x0064 
+0x4b10 024118 store 2 ,mem_remote_car_no_data_timeout 
+0x4b11 024119 jam tx_power_0db ,mem_tx_power 
+0x4b12 024120 jam 0x01 ,mem_24g_data_type 
+0x4b13 024121 jam 0x06 ,mem_24g_max_retry 
+0x4b14 024122 jam 0x01 ,mem_24g_pair_switch 
+0x4b15 024123 jam 0x00 ,mem_24g_fast_conn_enable 
+0x4b16 024124 call g24_rx_window_init 
+0x4b17 024125 call g24_interval_param_8ms 
+0x4b18 024126 call g24_chmap_param_init 
+0x4b19 024127 call g24_pair_param_init 
+0x4b1a 024128 setarg 0x0708 
+0x4b1b 024129 store 2 ,mem_24g_pair_timeout_init 
+0x4b1c 024130 setarg 0x0050 
+0x4b1d 024131 store 2 ,mem_24g_reconn_timeout_init 
+0x4b1e 024132 setarg 0x0a7700 
+0x4b1f 024133 store 3 ,mem_24g_long_sleep_set 
+0x4b20 024134 setarg 0x604800 
+0x4b21 024135 store 3 ,mem_24g_enter_hibernate 
+0x4b22 024136 branch app_sys_param_init 
+:      024148 shutter_init:
+0x4b23 024149 call enable_authrom 
+0x4b24 024150 rtn wake 
+0x4b25 024151 setarg shutter_le_before_hibernate 
+0x4b26 024152 store 2 ,mem_cb_before_hibernate 
+0x4b27 024154 setarg shutter_process_lpm_before 
+0x4b28 024155 store 2 ,mem_cb_before_lpm 
+0x4b29 024157 setarg app_enter_hibernate 
+0x4b2a 024158 store 2 ,mem_cb_discovry_timeout 
+0x4b2b 024160 setarg shutter_process_idle 
+0x4b2c 024161 store 2 ,mem_cb_idle_process 
+0x4b2d 024163 setarg shutter_process_bb_event 
+0x4b2e 024164 store 2 ,mem_cb_bb_event_process 
+0x4b2f 024166 setarg shutter_le_scale_lpm_lock 
+0x4b30 024167 store 2 ,mem_cb_check_wakelock 
+0x4b31 024169 setarg ble_shutter_receive_data 
+0x4b32 024170 store 2 ,mem_cb_att_write 
+0x4b33 024172 setarg shutter_le_bb_event_timer 
+0x4b34 024173 store 2 ,mem_cb_event_timer 
+0x4b35 024175 setarg shutter_key_change 
+0x4b36 024176 store 2 ,mem_cb_shutter_keycan 
+0x4b37 024178 setarg shutter_soft_swtich_power_on 
+0x4b38 024179 store 2 ,mem_shutter_soft_switch_poweron_callback_function 
+0x4b39 024180 setarg shutter_soft_swtich_power_off 
+0x4b3a 024181 store 2 ,mem_shutter_soft_switch_poweroff_callback_function 
+0x4b3b 024183 call shutter_set_ble_version 
+0x4b3c 024184 call le_modified_name 
+0x4b3d 024185 call shutter_init_param 
+0x4b3e 024186 call keyscan_key_init 
+0x4b3f 024187 call queue_init 
+0x4b40 024188 call ui_led_init_global 
+0x4b41 024190 bpatch patch1c_5 ,mem_patch1c 
+0x4b42 024191 call shutter_load_buffer_config_form_datarom 
+0x4b43 024192 fetch 1 ,mem_shutter_hard_soft_switch_case 
+0x4b44 024193 beq hard_switch ,shutter_hart_swtich_power_on 
+0x4b45 024194 fetch 1 ,mem_shutter_soft_switch_button_gpio 
+0x4b46 024195 store 1 ,mem_ui_button_gpio 
+0x4b47 024196 branch ui_soft_swtich_init 
+:      024198 shutter_set_ble_version:
+0x4b48 024200 jam 7 ,mem_lmp_version 
+0x4b49 024201 rtn 
+:      024204 shutter_hart_swtich_power_on:
+0x4b4a 024205 jam ui_button_gpio_disable ,mem_ui_button_gpio 
+0x4b4b 024206 jam ss_state_power_on ,mem_shutter_soft_switch_power_state 
+0x4b4c 024207 branch shutter_start_reconnect 
+:      024211 shutter_le_scale_lpm_lock:
+0x4b4d 024212 fetch 1 ,mem_shutter_soft_switch_power_state 
+0x4b4e 024213 beq ss_state_power_off ,app_get_lpm_wake_lock 
+0x4b4f 024214 call l2cap_malloc_get_full_map 
+0x4b50 024215 fetch 1 ,mem_used_map 
+0x4b51 024216 nbranch app_get_lpm_wake_lock ,blank 
+0x4b52 024217 branch app_put_lpm_wake_lock 
+:      024221 shutter_process_bb_event:
+0x4b53 024222 copy regc ,pdata 
+0x4b54 024225 beq bt_evt_le_connected ,ble_shutter_process_baseband_connect 
+0x4b55 024226 beq bt_evt_le_disconnected ,ble_shutter_process_baseband_disconnect 
+0x4b56 024227 beq bt_evt_le_reconnect_complete ,ble_shutter_process_reconnect_complete 
+0x4b57 024228 beq bt_evt_le_parse_conn_papa_update_rsp ,ble_shutter_process_parse_connect_parameter_update_response 
+0x4b58 024230 beq bt_evt_button_long_pressed ,shutter_process_soft_swtich_button_long_press 
+0x4b59 024231 beq bt_evt_button_down ,shutter_process_soft_swtich_button_down 
+0x4b5a 024232 beq bt_evt_button_up ,shutter_process_soft_swtich_button_up 
+0x4b5b 024233 rtn 
+:      024237 ble_shutter_process_baseband_connect:
+0x4b5c 024238 call shutter_stop_bluetooth_discovery 
+0x4b5d 024239 setarg 0 
+0x4b5e 024240 store 2 ,mem_ble_shutter_reconn_timer 
+0x4b5f 024241 branch app_led_off 
+:      024244 ble_shutter_process_baseband_disconnect:
+0x4b60 024245 call queue_init 
+0x4b61 024246 jam 0 ,mem_ble_shutter_enable_notify 
+0x4b62 024247 branch shutter_start_reconnect 
+:      024250 ble_shutter_process_reconnect_complete:
+0x4b63 024251 call queue_init 
+0x4b64 024252 jam 1 ,mem_ble_shutter_enable_notify 
+0x4b65 024253 fetch 8 ,mem_ble_shutter_interval_min 
+0x4b66 024254 store 8 ,mem_le_interval_min 
+0x4b67 024255 call app_lpm_mult_enable 
+0x4b68 024256 branch le_l2cap_tx_update_req 
+:      024259 ble_shutter_process_parse_connect_parameter_update_response:
+0x4b69 024260 fetch 2 ,mem_le_l2cap_signaling_conn_param_update_rsp_result 
+0x4b6a 024261 rtneq ble_signaling_connect_parameter_update_accepted 
+0x4b6b 024262 fetch 8 ,mem_ble_shutter_interval_min_new 
+0x4b6c 024263 rtn blank 
+0x4b6d 024264 store 8 ,mem_le_interval_min 
+0x4b6e 024265 branch le_l2cap_tx_update_req 
+:      024269 shutter_process_soft_swtich_button_long_press:
+0x4b6f 024270 branch ui_soft_switch_botton_long_press 
+:      024272 shutter_process_soft_swtich_button_down:
+0x4b70 024273 fetch 1 ,mem_shutter_hard_soft_switch_case 
+0x4b71 024274 rtneq hard_switch 
+0x4b72 024275 fetch 1 ,mem_shutter_soft_switch_power_state 
+0x4b73 024276 rtnne ss_state_power_on 
+0x4b74 024277 call shutter_store_currenct_led_state 
+0x4b75 024278 branch app_led_on 
+:      024280 shutter_store_currenct_led_state:
+0x4b76 024281 jam 1 ,mem_shutter_soft_swtich_botton_down 
+0x4b77 024282 arg 11 ,loopcnt 
+0x4b78 024283 arg mem_shutter_soft_swtich_led_struct_temp ,contw 
+0x4b79 024284 arg mem_shutter_led_struct_app_led ,contr 
+0x4b7a 024285 branch memcpy 
+:      024287 shutter_process_soft_swtich_button_up:
+0x4b7b 024288 fetch 1 ,mem_shutter_hard_soft_switch_case 
+0x4b7c 024289 rtneq hard_switch 
+0x4b7d 024290 fetch 1 ,mem_shutter_soft_switch_power_state 
+0x4b7e 024291 beq ss_state_power_on ,shutter_load_currenct_led_state 
+0x4b7f 024292 branch ui_soft_switch_botton_up 
+:      024294 shutter_load_currenct_led_state:
+0x4b80 024295 fetch 1 ,mem_shutter_soft_swtich_botton_down 
+0x4b81 024296 rtnne 1 
+0x4b82 024297 jam 0 ,mem_shutter_soft_swtich_botton_down 
+0x4b83 024298 fetch 2 ,mem_ui_state_map 
+0x4b84 024299 bbit1 ui_state_bt_connected ,app_led_off 
+0x4b85 024300 bbit1 ui_state_ble_connected ,app_led_off 
+0x4b86 024301 arg 11 ,loopcnt 
+0x4b87 024302 arg mem_shutter_soft_swtich_led_struct_temp ,contr 
+0x4b88 024303 arg mem_shutter_led_struct_app_led ,contw 
+0x4b89 024304 branch memcpy 
+:      024309 shutter_le_bb_event_timer:
+0x4b8a 024311 call shutter_check_sleep_timer 
+0x4b8b 024314 call shutter_check_power_off_timer 
+0x4b8c 024318 branch ble_shutter_reconn_timer 
+:      024322 shutter_check_sleep_timer:
+0x4b8d 024323 arg mem_shutter_sleep_timer ,regc 
+0x4b8e 024324 arg shutter_sleep_timeout ,regb 
+0x4b8f 024325 branch timer_single_step_2b 
+:      024326 shutter_sleep_timeout:
+0x4b90 024327 jam ss_state_power_off ,mem_shutter_soft_switch_power_state 
+0x4b91 024328 call app_led_off 
+0x4b92 024329 call shutter_disconnect_current_connection 
+0x4b93 024330 branch shutter_wait_power_off 
+:      024333 shutter_check_power_off_timer:
+0x4b94 024334 arg mem_shutter_power_off_timer ,regc 
+0x4b95 024335 arg shutter_check_power_off_timeout ,regb 
+0x4b96 024336 branch timer_single_step 
+:      024338 shutter_check_power_off_timeout:
+0x4b97 024339 fetch 2 ,mem_ui_state_map 
+0x4b98 024340 bbit1 ui_state_ble_connected ,shutter_wait_power_off 
+0x4b99 024341 bbit1 ui_state_bt_connected ,shutter_wait_power_off 
+0x4b9a 024342 fetch 1 ,mem_shutter_led_struct_app_led_type 
+0x4b9b 024343 beq ui_led_state_blink_start ,shutter_wait_power_off 
+0x4b9c 024344 beq ui_led_state_blink_lighting ,shutter_wait_power_off 
+0x4b9d 024345 beq ui_led_state_blink_darking ,shutter_wait_power_off 
+0x4b9e 024346 branch app_enter_hibernate 
+:      024349 ble_shutter_reconn_timer:
+0x4b9f 024350 fetch 1 ,mem_shutter_soft_switch_power_state 
+0x4ba0 024351 rtnne ss_state_power_on 
+0x4ba1 024352 arg mem_ble_shutter_reconn_timer ,regc 
+0x4ba2 024353 arg shutter_start_bluetooth_discovery ,regb 
+0x4ba3 024354 branch timer_single_step_2b 
+:      024357 shutter_process_idle:
+0x4ba4 024358 call shutter_send_data_to_master 
+0x4ba5 024359 branch keyscan_key_process 
+:      024362 shutter_process_lpm_before:
+0x4ba6 024363 call gpio_set_before_lpm 
+0x4ba7 024364 branch keyscan_process_lpm_before 
+:      024366 shutter_le_before_hibernate:
+0x4ba8 024367 call gpio_set_before_lpm 
+0x4ba9 024368 branch disable_authrom 
+:      024374 shutter_stop_bluetooth_discovery:
+0x4baa 024375 fetch 1 ,mem_shutter_bluetooth_type 
+0x4bab 024376 bbit1 ble_shutter ,ble_shutter_stop_bluetooth_discovery 
+0x4bac 024377 rtn 
+:      024379 ble_shutter_stop_bluetooth_discovery:
+0x4bad 024380 fetch 2 ,mem_ble_shutter_connect_timeout 
+0x4bae 024381 store 2 ,mem_shutter_sleep_timeout 
+0x4baf 024382 store 2 ,mem_shutter_sleep_timer 
+0x4bb0 024383 branch app_ble_stop_adv 
+:      024386 shutter_start_bluetooth_discovery:
+0x4bb1 024387 fetch 1 ,mem_shutter_soft_switch_power_state 
+0x4bb2 024388 rtnne ss_state_power_on 
+0x4bb3 024389 fetch 1 ,mem_shutter_bluetooth_type 
+0x4bb4 024390 bbit1 ble_shutter ,ble_shutter_start_discovery 
+0x4bb5 024391 rtn 
+:      024392 ble_shutter_start_discovery:
+0x4bb6 024393 fetch 2 ,mem_ui_state_map 
+0x4bb7 024394 rtnbit1 ui_state_ble_connected 
+0x4bb8 024395 fetch 2 ,mem_ble_shutter_discovery_timeout 
+0x4bb9 024396 store 2 ,mem_shutter_sleep_timeout 
+0x4bba 024397 store 2 ,mem_shutter_sleep_timer 
+0x4bbb 024398 fetch 2 ,mem_ble_shutter_discovery_adv_interval 
+0x4bbc 024399 call shutter_ble_adv_interval_set 
+0x4bbd 024400 call app_led_start_blink 
+0x4bbe 024401 fetch 4 ,mem_ble_shutter_discovery_blink_on_time 
+0x4bbf 024402 store 4 ,mem_shutter_led_struct_app_led_on_time 
+0x4bc0 024403 fetch 2 ,mem_ui_state_map 
+0x4bc1 024404 rtnbit1 ui_state_ble_adv 
+0x4bc2 024405 branch app_ble_start_adv 
+:      024408 shutter_start_reconnect:
+0x4bc3 024409 fetch 1 ,mem_shutter_soft_switch_power_state 
+0x4bc4 024410 rtnne ss_state_power_on 
+0x4bc5 024411 fetch 1 ,mem_shutter_bluetooth_type 
+0x4bc6 024412 bbit1 ble_shutter ,ble_shutter_start_reconnect 
+0x4bc7 024413 rtn 
+:      024414 ble_shutter_start_reconnect:
+0x4bc8 024415 fetch 2 ,mem_ble_shutter_reconn_timer 
+0x4bc9 024416 fetcht 2 ,mem_ble_shutter_reconn_timeout 
+0x4bca 024417 storet 2 ,mem_ble_shutter_reconn_timer 
+0x4bcb 024418 nrtn blank 
+0x4bcc 024419 fetch 2 ,mem_ble_shutter_reconn_adv_interval 
+0x4bcd 024420 call shutter_ble_adv_interval_set 
+0x4bce 024421 call app_led_start_blink 
+0x4bcf 024422 fetch 4 ,mem_ble_shutter_reconn_blink_on_time 
+0x4bd0 024423 store 4 ,mem_shutter_led_struct_app_led_on_time 
+0x4bd1 024424 fetch 2 ,mem_ui_state_map 
+0x4bd2 024425 rtnbit1 ui_state_ble_adv 
+0x4bd3 024426 branch app_ble_start_adv 
+:      024428 shutter_disconnect_current_connection:
+0x4bd4 024429 fetch 2 ,mem_ui_state_map 
+0x4bd5 024430 bbit1 ui_state_ble_connected ,app_ble_disconnect 
+0x4bd6 024431 branch shutter_stop_bluetooth_discovery 
+:      024435 shutter_check_data_enable:
+0x4bd7 024436 call disable_user 
+0x4bd8 024437 fetch 2 ,mem_ui_state_map 
+0x4bd9 024438 bbit1 ui_state_ble_connected ,shutter_check_ble_data_enable 
+0x4bda 024439 rtn 
+:      024442 shutter_check_ble_data_enable:
+0x4bdb 024443 fetch 1 ,mem_ble_shutter_enable_notify 
+0x4bdc 024444 rtn blank 
+0x4bdd 024445 branch enable_user 
+:      024450 shutter_check_bluetooth_conn:
+0x4bde 024451 call disable_user 
+0x4bdf 024452 fetch 2 ,mem_ui_state_map 
+0x4be0 024453 rtnbit1 ui_state_bt_connected 
+0x4be1 024454 rtnbit1 ui_state_ble_connected 
+0x4be2 024455 branch enable_user 
+:      024459 shutter_change_bluetooth_status_bt_disconn:
+0x4be3 024460 fetch 1 ,mem_shutter_bluetooth_type 
+0x4be4 024461 bbit1 ble_shutter ,ble_shutter_change_bluetooth_status_bt_disconn 
+0x4be5 024462 rtn 
+:      024463 ble_shutter_change_bluetooth_status_bt_disconn:
+0x4be6 024464 branch shutter_start_reconnect 
+:      024468 shutter_check_send_data:
+0x4be7 024469 disable user2 
+0x4be8 024470 fetch 2 ,mem_shutter_sleep_timeout 
+0x4be9 024471 store 2 ,mem_shutter_sleep_timer 
+0x4bea 024473 call shutter_check_bluetooth_conn 
+0x4beb 024474 branch shutter_change_bluetooth_status_bt_disconn ,user 
+0x4bec 024476 call shutter_check_data_enable 
+0x4bed 024477 nrtn user 
+0x4bee 024478 enable user2 
+0x4bef 024479 rtn 
+:      024483 shutter_key_change:
+0x4bf0 024484 call shutter_check_send_data 
+0x4bf1 024485 nrtn user2 
+0x4bf2 024486 deposit rega 
+0x4bf3 024487 branch shutter_key_release ,blank 
+:      024488 shutter_key_press:
+0x4bf4 024489 call app_led_on 
+0x4bf5 024490 arg mem_key0_press ,regc 
+0x4bf6 024491 branch push_queue_press_or_release 
+:      024493 shutter_key_release:
+0x4bf7 024494 call app_led_off 
+0x4bf8 024495 arg mem_key0_release ,regc 
+:      024497 push_queue_press_or_release:
+0x4bf9 024498 arg max_queue_num ,pdata 
+0x4bfa 024499 imul32 queue ,pdata 
+0x4bfb 024500 iadd regc ,regc 
+:      024503 push_buffer_in_queue:
+0x4bfc 024504 ifetch 1 ,regc 
+0x4bfd 024505 rtn blank 
+0x4bfe 024506 call queue_push_one_byte 
+0x4bff 024507 increase 1 ,regc 
+0x4c00 024508 branch push_buffer_in_queue 
+:      024511 shutter_send_data_to_master:
+0x4c01 024512 fetch 2 ,mem_ui_state_map 
+0x4c02 024513 bbit1 ui_state_ble_connected ,pop_queue_to_ble_data 
+0x4c03 024514 rtn 
+:      024516 pop_queue_to_ble_data:
+0x4c04 024517 call le_fifo_check_nearly_full 
+0x4c05 024518 nrtn blank 
+0x4c06 024519 call queue_pop_one_byte 
+0x4c07 024520 nrtn user 
+0x4c08 024521 pincrease -1 
+0x4c09 024522 mul32 pdata ,shutter_ble_data_buffer ,pdata 
+0x4c0a 024523 arg mem_ble_data_buffer1 ,temp 
+0x4c0b 024524 iadd temp ,contr 
+0x4c0c 024525 branch le_send_notify_from_list 
+:      024529 queue_push_one_byte:
+0x4c0d 024530 store 1 ,mem_pdatatemp 
+0x4c0e 024531 arg mem_pdatatemp ,rega 
+0x4c0f 024532 branch queue_push 
+:      024534 queue_pop_one_byte:
+0x4c10 024535 arg mem_pdatatemp ,rega 
+0x4c11 024536 call queue_pop 
+0x4c12 024537 nrtn user 
+0x4c13 024538 fetch 1 ,mem_pdatatemp 
+0x4c14 024539 rtn 
+:      024542 ble_shutter_receive_data:
+0x4c15 024543 fetch 2 ,mem_le_att_handle 
+0x4c16 024544 beq gatt_keyboard_write_handle ,ble_shutter_process_reconnect_complete 
+0x4c17 024545 rtn 
+:      024547 shutter_init_param:
+0x4c18 024548 setarg 0x02 
+0x4c19 024549 store 1 ,mem_shutter_power_off_timeout 
+0x4c1a 024551 setarg 0x00200008 
+0x4c1b 024552 store 4 ,mem_ble_shutter_interval_min 
+0x4c1c 024553 setarg 0x012c0005 
+0x4c1d 024554 istore 4 ,contw 
+0x4c1e 024557 jam 0x17 ,mem_le_local_mtu 
+0x4c1f 024560 setarg 0x1b 
+0x4c20 024561 store 2 ,mem_le_pairing_handle 
+0x4c21 024562 call le_set_config_fixed_ltk 
+0x4c22 024563 call le_set_fixed_ltk 
+0x4c23 024564 call le_set_justwork 
+0x4c24 024565 branch le_set_config_read_authentication 
+:      024568 shutter_load_buffer_config_form_datarom:
+0x4c25 024570 arg ble_key_value_list_size ,loopcnt 
+0x4c26 024571 arg mem_ble_data_buffer1 ,contw 
+0x4c27 024572 arg ble_shutter_key_value_list ,contr 
+0x4c28 024573 branch memcpy_fast 
+:      024575 shutter_load_ble_gatt_form_datarom:
+0x4c29 024576 arg ble_gatt_list_size ,loopcnt 
+0x4c2a 024577 arg ble_shutter_gatt_list ,contr 
+0x4c2b 024578 branch memcpy_fast 
+:      024582 shutter_soft_swtich_power_on:
+0x4c2c 024583 branch shutter_start_reconnect 
+:      024586 shutter_soft_swtich_power_off:
+0x4c2d 024587 arg 0 ,rega 
+0x4c2e 024588 arg mem_shutter_power_off_led_style ,regc 
+0x4c2f 024589 call ui_led_set_style_global 
+0x4c30 024590 call shutter_disconnect_current_connection 
+:      024591 shutter_wait_power_off:
+0x4c31 024592 fetch 1 ,mem_shutter_power_off_timeout 
+0x4c32 024593 store 1 ,mem_shutter_power_off_timer 
+0x4c33 024594 rtn 
+:      024598 ui_soft_swtich_init:
+0x4c34 024599 setarg ss_state_power_up 
+0x4c35 024600 call ui_soft_swtich_init_power_on_time 
+0x4c36 024601 jam ui_button_state_up ,mem_ui_button_last_state 
+0x4c37 024602 call ui_button_init 
+0x4c38 024603 call ui_button_polling 
+0x4c39 024604 fetch 2 ,mem_ui_state_map 
+0x4c3a 024605 rtnbit1 ui_state_btn_down 
+0x4c3b 024606 branch app_enter_hibernate 
+:      024608 ui_soft_swtich_init_power_on_time:
+0x4c3c 024609 fetcht 2 ,mem_power_param_ptr 
+0x4c3d 024610 istore 1 ,temp 
+0x4c3e 024611 ifetch 1 ,contw 
+0x4c3f 024612 store 1 ,mem_ui_button_timeout 
+0x4c40 024613 rtn 
+:      024616 ui_soft_switch_botton_up:
+0x4c41 024617 fetch 2 ,mem_power_param_ptr 
+0x4c42 024618 ifetch 1 ,pdata 
+0x4c43 024619 rtnne ss_state_power_up 
+0x4c44 024620 branch app_enter_hibernate 
+:      024623 ui_soft_switch_botton_long_press:
+0x4c45 024624 fetcht 2 ,mem_power_param_ptr 
+0x4c46 024625 ifetch 1 ,temp 
+0x4c47 024626 beq ss_state_power_on ,ui_soft_switch_power_off 
+:      024627 ui_soft_switch_power_on:
+0x4c48 024628 setarg ss_state_power_on 
+0x4c49 024629 fetcht 2 ,mem_power_param_ptr 
+0x4c4a 024630 istore 1 ,temp 
+0x4c4b 024631 add temp ,ss_power_off_time ,contr 
+0x4c4c 024632 ifetch 1 ,contr 
+0x4c4d 024633 istore 1 ,mem_ui_button_timeout 
+0x4c4e 024634 ifetch 2 ,contr 
+0x4c4f 024635 branch callback_func 
+:      024637 ui_soft_switch_power_off:
+0x4c50 024638 setarg ss_state_power_off 
+0x4c51 024639 call ui_soft_swtich_init_power_on_time 
+0x4c52 024640 add temp ,ss_power_off_cb ,contr 
+0x4c53 024641 ifetch 2 ,contr 
+0x4c54 024642 branch app_enter_hibernate ,blank 
+0x4c55 024643 branch callback_func 
+:      024648 shutter_ble_adv_interval_set:
+0x4c56 024649 store 2 ,mem_lpm_interval 
+0x4c57 024650 increase -4 ,pdata 
+0x4c58 024651 store 2 ,mem_le_adv_interval 
+0x4c59 024652 rtn 
+:      024654 le_send_notify_from_list:
+0x4c5a 024655 ifetch 1 ,contr 
+0x4c5b 024656 copy pdata ,rega 
+0x4c5c 024657 ifetcht 2 ,contr 
+0x4c5d 024658 call store_contr 
+0x4c5e 024659 call le_att_malloc_tx_notify 
+0x4c5f 024660 copy rega ,loopcnt 
+0x4c60 024661 call get_contr 
+0x4c61 024662 branch memcpy 
+:      024665 shutter_default_init:
+0x4c62 024666 fetch 2 ,mem_shutter_key_conf0_temp 
+0x4c63 024667 store 2 ,mem_shutter_key_conf0 
+0x4c64 024668 fetch 1 ,mem_shutter_led_struct_app_led_gpio_temp 
+0x4c65 024669 store 1 ,mem_shutter_led_struct_app_led_gpio 
+0x4c66 024670 store 1 ,mem_shutter_power_off_led_style_gpio 
+0x4c67 024671 fetch 1 ,mem_shutter_hard_soft_switch_case_temp 
+0x4c68 024672 store 1 ,mem_shutter_hard_soft_switch_case 
+0x4c69 024673 fetch 1 ,mem_shutter_soft_switch_button_gpio_temp 
+0x4c6a 024674 store 1 ,mem_shutter_soft_switch_button_gpio 
+0x4c6b 024675 jam 0x01 ,mem_shutter_bluetooth_type 
+0x4c6c 024676 setarg 0x0030 
+0x4c6d 024677 store 2 ,mem_classic_shutter_random_mac_offset_addr 
+0x4c6e 024678 setarg 0x0000 
+0x4c6f 024679 store 2 ,mem_shutter_config_eeprom_offset_addr 
+0x4c70 024680 setarg 0x0001 
+0x4c71 024681 store 2 ,mem_key0_press 
+0x4c72 024682 store 2 ,mem_key1_press 
+0x4c73 024683 setarg 0x0006 
+0x4c74 024684 store 2 ,mem_key0_release 
+0x4c75 024685 store 2 ,mem_key1_release 
+0x4c76 024686 setarg 0x0007 
+0x4c77 024687 store 2 ,mem_key2_press 
+0x4c78 024688 setarg 0x0008 
+0x4c79 024689 store 2 ,mem_key2_release 
+0x4c7a 024690 setarg mem_shutter_soft_switch_power_state 
+0x4c7b 024691 store 2 ,mem_power_param_ptr 
+0x4c7c 024692 setarg 0x201400 
+0x4c7d 024693 store 3 ,mem_shutter_soft_switch_power_state 
+0x4c7e 024694 jam 0x01 ,mem_lpm_mode 
+0x4c7f 024695 setarg 0x0100 
+0x4c80 024696 store 2 ,mem_lpm_interval 
+0x4c81 024697 jam 0x08 ,mem_lpm_overhead 
+0x4c82 024698 jam 0x05 ,mem_lpm_mult 
+0x4c83 024699 jam 0x02 ,mem_lpm_mult_timeout 
+0x4c84 024700 setarg 0x0030 
+0x4c85 024701 store 2 ,mem_sniff_param_interval 
+0x4c86 024702 setarg 0x0001 
+0x4c87 024703 istore 2 ,contw 
+0x4c88 024704 jam 0x0a ,mem_unsniff2sniff_timer 
+0x4c89 024705 setarg 0x0096 
+0x4c8a 024706 store 2 ,mem_ble_shutter_reconn_blink_on_time 
+0x4c8b 024707 istore 2 ,contw 
+0x4c8c 024708 setarg 0x0296 
+0x4c8d 024709 store 2 ,mem_ble_shutter_discovery_blink_on_time 
+0x4c8e 024710 istore 2 ,contw 
+0x4c8f 024711 setsect 0 ,0x10 
+0x4c90 024712 setsect 1 ,0x8008 
+0x4c91 024713 setsect 2 ,0x2c000 
+0x4c92 024714 setsect 3 ,0x04 
+0x4c93 024715 store 8 ,mem_ble_shutter_interval_min_new 
+0x4c94 024716 jam 0x01 ,mem_ui_led_struct_num 
+0x4c95 024717 setarg mem_shutter_led_struct_app_led 
+0x4c96 024718 store 2 ,mem_ui_led_struct_ptr 
+0x4c97 024719 setarg 0x0000 
+0x4c98 024720 store 2 ,mem_shutter_led_struct_app_led 
+0x4c99 024721 setsect 0 ,0x1a0 
+0x4c9a 024722 setsect 1 ,0x68 
+0x4c9b 024723 setsect 2 ,0x00 
+0x4c9c 024724 setsect 3 ,0x00 
+0x4c9d 024725 store 8 ,mem_shutter_led_struct_app_led_on_time 
+0x4c9e 024726 setarg 0x0301 
+0x4c9f 024727 store 2 ,mem_shutter_power_off_led_style 
+0x4ca0 024728 setsect 0 ,0x1a0 
+0x4ca1 024729 setsect 1 ,0xe8 
+0x4ca2 024730 setsect 2 ,0x00 
+0x4ca3 024731 setsect 3 ,0x00 
+0x4ca4 024732 store 8 ,mem_shutter_power_off_led_style_on_time 
+0x4ca5 024733 setarg 0x000e 
+0x4ca6 024734 store 2 ,mem_ble_shutter_reconn_adv_interval 
+0x4ca7 024735 setarg 0x0140 
+0x4ca8 024736 store 2 ,mem_ble_shutter_discovery_adv_interval 
+0x4ca9 024737 store 2 ,mem_le_adv_interval 
+0x4caa 024738 setarg 0x0050 
+0x4cab 024739 store 2 ,mem_ble_shutter_reconn_timeout 
+0x4cac 024740 jam 0x07 ,mem_le_adv_channel_map 
+0x4cad 024741 jam 0x00 ,mem_le_adv_enable 
+0x4cae 024742 setsect 0 ,0xfb 
+0x4caf 024743 setsect 1 ,0x2c212 
+0x4cb0 024744 setsect 2 ,0x800f 
+0x4cb1 024745 setsect 3 ,0x21 
+0x4cb2 024746 store 8 ,mem_local_rx_max_octets 
+0x4cb3 024747 setsect 0 ,0x0bb8 
+0x4cb4 024748 setsect 1 ,0x02ee 
+0x4cb5 024749 store 4 ,mem_ble_shutter_discovery_timeout 
+0x4cb6 024750 setarg mem_queue_each_size 
+0x4cb7 024751 store 2 ,mem_queue_ptr 
+0x4cb8 024752 setarg 0x2001 
+0x4cb9 024753 store 2 ,mem_queue_each_size 
+0x4cba 024754 jam 0x1f ,mem_le_adv_data_len 
+0x4cbb 024755 setsect 0 ,0x10102 
+0x4cbc 024756 setsect 1 ,0x80c1 
+0x4cbd 024757 setsect 2 ,0x18120 
+0x4cbe 024758 setsect 3 ,0x640c 
+0x4cbf 024759 store 9 ,mem_le_adv_data 
+0x4cc0 024760 setsect 0 ,0x3c1 
+0x4cc1 024761 istore 2 ,contw 
+0x4cc2 024762 jam 0x1f ,mem_le_scan_data_len 
+0x4cc3 024763 setsect 0 ,0x2090d 
+0x4cc4 024764 setsect 1 ,0x34c15 
+0x4cc5 024765 setsect 2 ,0x28532 
+0x4cc6 024766 setsect 3 ,0x1d1d5 
+0x4cc7 024767 store 9 ,mem_le_scan_data 
+0x4cc8 024768 setsect 0 ,0x26574 
+0x4cc9 024769 setsect 1 ,0x1c 
+0x4cca 024770 istore 3 ,contw 
+0x4ccb 024771 setarg mem_shutter_keyscan 
+0x4ccc 024772 store 2 ,mem_keyscan_ptr 
+0x4ccd 024773 jam 0x02 ,mem_shutter_key_num 
+0x4cce 024774 jam 0x17 ,mem_app_connection_options 
+0x4ccf 024775 setarg mem_shutter_nv_data 
+0x4cd0 024776 store 2 ,mem_nv_data_ptr 
+0x4cd1 024777 jam 0x05 ,mem_nv_data_number 
+0x4cd2 024778 setarg 0x2540 
+0x4cd3 024779 store 2 ,mem_class 
+0x4cd4 024780 setarg 0x040003 
+0x4cd5 024781 store 3 ,mem_lmp_io_cap_payload_iocap 
+0x4cd6 024782 jam 0x03 ,mem_ssp_mode_flag 
+0x4cd7 024783 jam 0x01 ,mem_ssp_enable 
+0x4cd8 024784 jam 0x01 ,mem_ui_profile_supported 
+0x4cd9 024785 jam 0x00 ,mem_ptt 
+0x4cda 024786 setsect 0 ,0x3ffff 
+0x4cdb 024787 setsect 1 ,0x2fe23 
+0x4cdc 024788 setsect 2 ,0x199d9 
+0x4cdd 024789 setsect 3 ,0x20d 
+0x4cde 024790 store 8 ,mem_features 
+0x4cdf 024791 setarg 0x9af2 
+0x4ce0 024792 store 2 ,mem_ui_le_uuid_table 
+0x4ce1 024793 jam 0x01 ,mem_eir_enable 
+0x4ce2 024794 setsect 0 ,0x10306 
+0x4ce3 024795 setsect 1 ,0x4 
+0x4ce4 024796 setsect 2 ,0x2010 
+0x4ce5 024797 setsect 3 ,0x9040 
+0x4ce6 024798 store 9 ,mem_all_uuid_16bits 
+0x4ce7 024799 setsect 0 ,0x20011 
+0x4ce8 024800 setsect 1 ,0x44 
+0x4ce9 024801 istore 5 ,contw 
+0x4cea 024802 jam 0x00 ,mem_all_uuid_128bits 
+0x4ceb 024803 setarg 0x9c70 
+0x4cec 024804 store 2 ,mem_ui_uuid_table 
+0x4ced 024805 jam 0x18 ,mem_fcomp_div 
+0x4cee 024806 call app_sys_param_init 
+0x4cef 024809 arg 30 ,loopcnt 
+0x4cf0 024810 arg mem_le_name ,contw 
+0x4cf1 024811 call clear_mem 
+0x4cf2 024812 jam 0x0b ,mem_le_name_len 
+0x4cf3 024813 setarg 0x204241 
+0x4cf4 024814 store 3 ,mem_le_name 
+0x4cf5 024815 setarg 0x756853 
+0x4cf6 024816 istore 3 ,contw 
+0x4cf7 024817 setarg 0x657474 
+0x4cf8 024818 istore 3 ,contw 
+0x4cf9 024819 setarg 0x3372 
+0x4cfa 024820 istore 2 ,contw 
+0x4cfb 024821 fetch 1 ,mem_shutter_le_name_len 
+0x4cfc 024822 rtn blank 
+0x4cfd 024823 store 1 ,mem_le_name_len 
+0x4cfe 024824 copy pdata ,loopcnt 
+0x4cff 024825 arg mem_shutter_le_name ,contr 
+0x4d00 024826 arg mem_le_name ,contw 
+0x4d01 024827 branch memcpy 
+:      024840 rf_debug_rx_gpio_low:
+0x4d02 024841 fetch 1 ,mem_rf_debug_rx_gpio 
+:      024842 rf_debug_gpio_low:
+0x4d03 024843 arg gpcfg_output_low ,temp 
+0x4d04 024844 branch gpio_config_function 
+:      024846 rf_debug_rx_on_line:
+:      024847 rf_debug_rx_gpio_high:
+0x4d05 024848 fetch 1 ,mem_rf_debug_rx_gpio 
+:      024849 rf_debug_gpio_high:
+0x4d06 024850 arg gpcfg_output_high ,temp 
+0x4d07 024851 branch gpio_config_function 
+:      024853 rf_debug_rx_gpio_h_l_h:
+0x4d08 024854 call rf_debug_rx_gpio_high 
+:      024855 rf_debug_rx_gpio_l_h:
+0x4d09 024856 call rf_debug_rx_gpio_low 
+0x4d0a 024857 branch rf_debug_rx_gpio_high 
+:      024859 rf_debug_rx_gpio_l_h_l:
+:      024860 rf_debug_shutdown_radio_line:
+0x4d0b 024861 call rf_debug_rx_gpio_l_h 
+:      024862 rf_debug_rx_crc_line:
+0x4d0c 024863 branch rf_debug_rx_gpio_low 
+:      024865 rf_debug_rx_sync_line:
+0x4d0d 024866 branch rf_debug_rx_gpio_l_h 
+:      024868 rf_debug_rx_crc_fail_line:
+0x4d0e 024869 call rf_debug_rx_gpio_l_h 
+0x4d0f 024870 branch rf_debug_rx_gpio_l_h_l 
+:      024872 rf_debug_rx_match_line:
+:      024873 rf_debug_rx_crc_error_line:
+:      024874 rf_debug_rx_sync_timeout_line:
+0x4d10 024875 branch rf_debug_rx_gpio_low 
+:      024878 rf_debug_tx_off_line:
+:      024879 rf_debug_tx_gpio_low:
+0x4d11 024880 fetch 1 ,mem_rf_debug_tx_gpio 
+0x4d12 024881 branch rf_debug_gpio_low 
+:      024883 rf_debug_tx_on_line:
+:      024884 rf_debug_tx_gpio_high:
+0x4d13 024885 fetch 1 ,mem_rf_debug_tx_gpio 
+0x4d14 024886 branch rf_debug_gpio_high 
+:      024888 rf_debug_tx_gpio_l_h_l:
+0x4d15 024889 call rf_debug_tx_gpio_low 
+0x4d16 024890 call rf_debug_tx_gpio_high 
+0x4d17 024891 branch rf_debug_tx_gpio_low 
+:      024898 hci_init:
+0x4d18 024899 clear_stack 
+0x4d19 024900 call hci_init_clksel 
+0x4d1a 024901 call hci_init_uart_default_config 
+0x4d1b 024902 call hci_init_uart_config 
+0x4d1c 024903 call hci_init_pwm_default_config 
+0x4d1d 024904 call hci_init_pwm 
+0x4d1e 024906 jam 1 ,mem_hci_command_complete_num_hci_command_packet 
+0x4d1f 024907 jam hci_h4_type_event ,mem_hci_event_head_type 
+:      024909 hci_process_loop:
+0x4d20 024910 call hci_process_check_uart_rx 
+0x4d21 024911 branch hci_process_loop 
+:      024914 hci_init_clksel:
+0x4d22 024915 fetch 1 ,mem_tmp_buffer + efuse_offset_hci_boot_clksel 
+0x4d23 024916 bbit1 7 ,hci_init_clksel_xtal 
+:      024917 hci_init_clksel_dpll:
+0x4d24 024918 jam 0xff ,core_clkpll_ctrl1 
+0x4d25 024919 nop 100 
+0x4d26 024920 jam 0x0e ,core_clkpll_ctrl2 
+0x4d27 024921 jam 0x03 ,core_clkpll_ctrl0 
+0x4d28 024922 jam clksel_dpll ,core_clksel 
+0x4d29 024923 rtn 
+:      024925 hci_init_clksel_xtal:
+0x4d2a 024926 jam clksel_xtal ,core_clksel 
+0x4d2b 024927 rtn 
+:      024929 hci_init_uart_default_config:
+0x4d2c 024930 call hci_init_uart_default_config_tx 
+0x4d2d 024931 call hci_init_uart_default_config_rx 
+0x4d2e 024932 call hci_init_uart_default_config_rts 
+0x4d2f 024933 branch hci_init_uart_default_config_cts 
+:      024935 hci_init_uart_default_config_tx:
+0x4d30 024936 fetch 1 ,mem_hci_uart_tx_gpio 
+0x4d31 024937 nrtn blank 
+0x4d32 024938 jam hci_uart_tx_gpio_num ,mem_hci_uart_tx_gpio 
+0x4d33 024939 rtn 
+:      024941 hci_init_uart_default_config_rx:
+0x4d34 024942 fetch 1 ,mem_hci_uart_rx_gpio 
+0x4d35 024943 nrtn blank 
+0x4d36 024944 jam hci_uart_rx_gpio_num ,mem_hci_uart_rx_gpio 
+0x4d37 024945 rtn 
+:      024946 hci_init_uart_default_config_rts:
+0x4d38 024947 fetch 1 ,mem_hci_uart_rts_gpio 
+0x4d39 024948 nrtn blank 
+0x4d3a 024949 jam hci_uart_rts_gpio_num ,mem_hci_uart_rts_gpio 
+0x4d3b 024950 rtn 
+:      024951 hci_init_uart_default_config_cts:
+0x4d3c 024952 fetch 1 ,mem_hci_uart_cts_gpio 
+0x4d3d 024953 nrtn blank 
+0x4d3e 024954 jam hci_uart_cts_gpio_num ,mem_hci_uart_cts_gpio 
+0x4d3f 024955 rtn 
+:      024958 hci_init_uart_config:
+0x4d40 024959 setarg mem_h5rx_buf 
+0x4d41 024960 store 2 ,mem_pdatatemp 
+0x4d42 024961 setarg mem_h5rx_buf_end 
+0x4d43 024962 istore 2 ,contw 
+0x4d44 024963 setarg mem_h5tx_buf 
+0x4d45 024964 istore 2 ,contw 
+0x4d46 024965 setarg mem_h5tx_buf_end 
+0x4d47 024966 istore 2 ,contw 
+0x4d48 024967 fetch 8 ,mem_pdatatemp 
+0x4d49 024968 call uarta_init_dma_mem 
+0x4d4a 024969 fetch 1 ,mem_tmp_buffer + efuse_offset_hci_boot_clksel 
+0x4d4b 024970 isolate1 7 ,pdata 
+0x4d4c 024971 call uart_clock_select_main_freq_crystal ,true 
+0x4d4d 024972 ncall uart_clock_select_main_freq_dpll ,true 
+0x4d4e 024973 arg 115200 ,temp 
+0x4d4f 024974 call uarta_calc_baud_rate_config 
+0x4d50 024975 fetch 1 ,mem_hci_uart_tx_gpio 
+0x4d51 024976 arg gpcfg_uart_txd ,temp 
+0x4d52 024977 call gpio_config_function_int 
+0x4d53 024978 fetch 1 ,mem_hci_uart_rx_gpio 
+0x4d54 024979 arg gpcfg_uart_rxd | gpcfg_pullup ,temp 
+0x4d55 024980 call gpio_config_function_int 
+0x4d56 024981 fetch 1 ,mem_hci_uart_rts_gpio 
+0x4d57 024982 arg gpcfg_uart_rts ,temp 
+0x4d58 024983 call gpio_config_function_int 
+0x4d59 024984 fetch 1 ,mem_hci_uart_cts_gpio 
+0x4d5a 024985 arg gpcfg_uart_cts ,temp 
+0x4d5b 024986 call gpio_config_function_int 
+0x4d5c 024988 arg fun_uart_control_enable | fun_uart_control_setting_rate_baud ,temp 
+0x4d5d 024989 storet 1 ,core_uart_ctrl 
+0x4d5e 024990 branch clean_mem 
+:      024992 hci_init_pwm_default_config:
+0x4d5f 024993 fetch 1 ,mem_hci_pwm_12mhz_gpio 
+0x4d60 024994 nrtn blank 
+0x4d61 024995 jam hci_pmw_12mhz_gpio_num ,mem_hci_pwm_12mhz_gpio 
+0x4d62 024996 rtn 
+:      024998 hci_init_pwm:
+0x4d63 024999 fetch 1 ,mem_hci_pwm_12mhz_gpio 
+0x4d64 025000 arg gpcfg_pwm_out0 ,temp 
+0x4d65 025001 call gpio_config_function_int 
+0x4d66 025002 arg 0x40 ,rega 
+0x4d67 025003 call pwm_init 
+0x4d68 025004 arg 0 ,rega 
+0x4d69 025005 arg 0 ,regb 
+0x4d6a 025006 setarg 0 
+0x4d6b 025007 call pwm_duty_cycle_set 
+0x4d6c 025008 arg 0 ,queue 
+0x4d6d 025009 branch pwm_set_select 
+:      025012 hci_process_check_uart_rx:
+0x4d6e 025013 fetch 2 ,core_uart_rxitems 
+0x4d6f 025014 add pdata ,-4 ,rega 
+0x4d70 025015 nrtn positive 
+0x4d71 025016 call uarta_prepare_rx 
+0x4d72 025017 ifetch 1 ,contru 
+0x4d73 025018 beq hci_h4_type_cmd ,hci_parse_packet_cmd 
+0x4d74 025020 call delay_10ms 
+0x4d75 025021 branch uarta_clear_current_rx 
+:      025025 hci_parse_packet_cmd:
+0x4d76 025026 ifetch 2 ,contru 
+0x4d77 025027 store 2 ,mem_hci_opcode 
+0x4d78 025028 arg 0x3ff ,temp 
+0x4d79 025029 iand temp ,temp 
+0x4d7a 025030 storet 2 ,mem_hci_opcode_ocf 
+0x4d7b 025031 rshift2 pdata ,pdata 
+0x4d7c 025032 rshift8 pdata ,pdata 
+0x4d7d 025033 store 1 ,mem_hci_opcode_ogf 
+0x4d7e 025034 ifetch 1 ,contru 
+0x4d7f 025035 pincrease -1 
+0x4d80 025036 isub rega ,null 
+0x4d81 025037 rtn positive 
+0x4d82 025038 call hci_parse_complete_packet 
+0x4d83 025039 branch hci_drop_current_packet 
+:      025041 hci_parse_complete_packet:
+0x4d84 025042 fetch 1 ,mem_hci_opcode_ogf 
+0x4d85 025050 beq hci_ogf_vendor_specific_debug ,hci_parse_packet_cmd_ogf_vendorspecific_debug 
+0x4d86 025051 branch hci_send_event_command_complete_error_command_nuknown 
+:      025061 hci_parse_packet_cmd_ogf_vendorspecific_debug:
+0x4d87 025062 bpatch patch1c_6 ,mem_patch1c 
+0x4d88 025063 fetch 1 ,mem_hci_opcode_ocf 
+0x4d89 025064 beq hci_vendor_cmd_reset ,hci_normal_reply 
+0x4d8a 025065 beq hci_vendor_cmd_chipid ,phci_grp_vendor_chipid 
+0x4d8b 025066 beq hci_vendor_cmd_baud ,phci_grp_vendor_baud 
+0x4d8c 025067 beq hci_vendor_cmd_patch ,phci_grp_vendor_patch 
+0x4d8d 025068 beq hci_vendor_cmd_patch_done ,phci_grp_vendor_done 
+0x4d8e 025069 beq hci_vendor_cmd_echo ,hci_normal_reply 
+0x4d8f 025070 beq hci_vendor_cmd_mem ,phci_grp_vendor_mem 
+0x4d90 025071 beq hci_vendor_cmd_set_flow_control ,phci_grp_vendor_flow_control 
+0x4d91 025072 branch hci_normal_reply 
+:      025075 phci_grp_vendor_chipid:
+0x4d92 025076 jam command_succeeded ,mem_hci_command_complete_return_parameter 
+0x4d93 025077 fetch 2 ,core_chipid 
+0x4d94 025078 store 2 ,mem_hci_command_complete_return_parameter_chip_id 
+0x4d95 025079 arg 3 ,loopcnt 
+0x4d96 025080 branch hci_send_event_command_complete 
+:      025082 phci_grp_vendor_baud:
+0x4d97 025083 ifetch 2 ,contu 
+0x4d98 025084 store 2 ,core_uart_baud 
+0x4d99 025085 rtn 
+:      025088 phci_grp_vendor_patch_common:
+0x4d9a 025089 ifetch 1 ,contu 
+0x4d9b 025090 copy pdata ,temp 
+0x4d9c 025091 store 1 ,core_ucode_low 
+0x4d9d 025092 ifetch 1 ,contu 
+0x4d9e 025093 iadd temp ,temp 
+0x4d9f 025094 set1 7 ,pdata 
+0x4da0 025095 store 1 ,core_ucode_ctrl 
+0x4da1 025096 ifetch 1 ,contu 
+0x4da2 025097 iadd temp ,temp 
+0x4da3 025098 copy pdata ,loopcnt 
+0x4da4 025099 rtn 
+:      025101 phci_grp_vendor_patch:
+0x4da5 025102 call phci_grp_vendor_patch_common 
+:      025103 phci_grp_vendor_patch_loop:
+0x4da6 025104 ifetch 1 ,contu 
+0x4da7 025105 store 1 ,core_ucode_data 
+0x4da8 025106 iadd temp ,temp 
+0x4da9 025107 loop phci_grp_vendor_patch_loop 
+:      025108 phci_grp_vendor_patch_check_sum:
+0x4daa 025109 and temp ,0xff ,temp 
+0x4dab 025110 ifetch 1 ,contu 
+0x4dac 025111 isub temp ,null 
+0x4dad 025112 nbranch phci_grp_vendor_patch_bad ,zero 
+0x4dae 025113 branch hci_normal_reply 
+:      025115 phci_grp_vendor_done:
+0x4daf 025116 arg 0x20 ,loopcnt 
+0x4db0 025117 arg mem_patch00 ,contw 
+0x4db1 025118 arg 0 ,temp 
+:      025119 phci_grp_vendor_done_loop:
+0x4db2 025120 ifetch 1 ,contu 
+0x4db3 025121 istore 1 ,contw 
+0x4db4 025122 iadd temp ,temp 
+0x4db5 025123 loop phci_grp_vendor_done_loop 
+0x4db6 025124 and temp ,0xff ,temp 
+0x4db7 025125 ifetch 1 ,contu 
+0x4db8 025126 isub temp ,null 
+0x4db9 025127 nbranch phci_grp_vendor_patch_bad ,zero 
+0x4dba 025128 jam 0 ,core_ucode_ctrl 
+0x4dbb 025129 call hci_normal_reply 
+0x4dbc 025130 call wait_uarttx 
+0x4dbd 025131 branch soft_reset 
+:      025133 phci_grp_vendor_patch_bad:
+0x4dbe 025134 jam 0 ,core_ucode_ctrl 
+0x4dbf 025135 branch hci_send_event_command_complete_error_command_nuknown 
+:      025138 phci_grp_vendor_mem:
+0x4dc0 025139 ifetch 1 ,contu 
+0x4dc1 025140 copy pdata ,loopcnt 
+0x4dc2 025141 ifetch 2 ,contu 
+0x4dc3 025142 copy pdata ,contw 
+0x4dc4 025143 call uart_copy_rx_bytes 
+0x4dc5 025144 branch hci_normal_reply 
+:      025146 phci_grp_vendor_flow_control:
+0x4dc6 025147 fetch 1 ,core_uart_ctrl 
+0x4dc7 025148 set1 bit_uart_control_flow_control ,pdata 
+0x4dc8 025149 store 1 ,core_uart_ctrl 
+0x4dc9 025150 branch hci_normal_reply 
+:      025153 hci_normal_reply:
+0x4dca 025154 branch hci_send_event_command_complete_without_payload 
+:      025156 hci_send_event_command_complete_error_command_nuknown:
+0x4dcb 025157 jam command_unknown ,mem_hci_command_complete_return_parameter 
+0x4dcc 025158 branch hci_send_event_command_complete_without_payload + 1 
+:      025159 hci_send_event_command_complete_error_command_disallowed:
+0x4dcd 025160 jam command_disallowed ,mem_hci_command_complete_return_parameter 
+0x4dce 025161 branch hci_send_event_command_complete_without_payload + 1 
+:      025162 hci_send_event_command_complete_without_payload:
+0x4dcf 025163 jam command_succeeded ,mem_hci_command_complete_return_parameter 
+0x4dd0 025164 arg 1 ,loopcnt 
+0x4dd1 025165 branch hci_send_event_command_complete 
+:      025167 hci_send_event_command_complete:
+0x4dd2 025168 jam hci_event_command_complete ,mem_hci_event_head_event_code 
+0x4dd3 025169 add loopcnt ,3 ,pdata 
+0x4dd4 025170 store 1 ,mem_hci_event_para_total_length 
+0x4dd5 025171 call hci_prepare_send_event 
+0x4dd6 025172 fetch 3 ,mem_hci_command_complete_num_hci_command_packet 
+0x4dd7 025173 istore 3 ,contwu 
+0x4dd8 025175 arg mem_hci_command_complete_return_parameter ,contr 
+0x4dd9 025176 call uart_copy_tx_bytes 
+0x4dda 025177 branch uarta_send_register_pop 
+:      025181 hci_prepare_send_event:
+0x4ddb 025182 call uarta_prepare_tx_register_push 
+0x4ddc 025183 fetch 3 ,mem_hci_event_head_type 
+0x4ddd 025184 istore 3 ,contwu 
+0x4dde 025185 rtn 
+:      025187 hci_drop_current_packet:
+0x4ddf 025188 call uarta_prepare_rx 
+0x4de0 025189 increase 3 ,contru 
+0x4de1 025190 ifetch 1 ,contru 
+0x4de2 025191 iadd contru ,contru 
+0x4de3 025192 branch uarta_rxdone 
+:      025194 cmd_exit:
+0x4de4 025195 jam 0 ,mem_hci_cmd 
+0x4de5 025196 rtn 
+:      025198 cmd_check_plap:
+0x4de6 025199 fetch 6 ,mem_hci_plap 
+0x4de7 025200 fetcht 6 ,mem_plap 
+0x4de8 025201 isub temp ,null 
+0x4de9 025202 rtn 
+:      025207 hid_rx_process:
+0x4dea 025208 bpatch patch1c_7 ,mem_patch1c 
+0x4deb 025209 fetch 2 ,mem_l2cap_payload_ptr 
+0x4dec 025210 copy pdata ,contr 
+0x4ded 025211 ifetch 1 ,contr 
+0x4dee 025212 store 1 ,mem_l2cap_rcv_hidtype 
+0x4def 025213 and pdata ,0x0f ,temp 
+0x4df0 025214 rshift4 pdata ,pdata 
+0x4df1 025215 beq hid_type_set_idle ,hid_rx_process_handshake 
+0x4df2 025216 beq hid_type_set_protocol ,hid_rx_process_handshake 
+0x4df3 025217 beq hid_type_data ,hid_rx_process_data 
+0x4df4 025218 beq hid_type_set_report ,hid_rx_process_set_report 
+0x4df5 025219 beq hid_type_control ,hid_rx_process_hid_control 
+0x4df6 025220 rtn 
+:      025222 hid_rx_process_hid_control:
+0x4df7 025223 copy temp ,pdata 
+0x4df8 025224 beq hid_control_p_virtualcableunplug ,hid_rx_process_virtual_cable_unplug 
+0x4df9 025225 beq hid_control_p_suspend ,hid_rx_process_suspend 
+0x4dfa 025226 rtn 
+:      025228 hid_rx_process_virtual_cable_unplug:
+0x4dfb 025229 jam bt_evt_virtual_cable_unplug ,mem_fifo_temp 
+0x4dfc 025230 call ui_ipc_send_event 
+0x4dfd 025231 fetch 1 ,mem_device_option 
+0x4dfe 025232 rtnne dvc_op_mouse 
+0x4dff 025233 copy temp ,pdata 
+0x4e00 025234 beq hid_control_p_virtualcableunplug ,mouse_irtual_cable_unplug 
+0x4e01 025235 rtn 
+:      025236 hid_rx_process_suspend:
+0x4e02 025237 rtn 
+:      025239 hid_rx_process_set_report:
+0x4e03 025240 call hid_rx_process_data 
+0x4e04 025241 arg 0x01 ,rega 
+0x4e05 025242 call hid_malloc_tx_buff 
+0x4e06 025243 fetch 2 ,mem_hid_ctrl_remote_cid 
+0x4e07 025244 istore 2 ,contw 
+0x4e08 025245 setarg 0x00 
+0x4e09 025246 istore 1 ,contw 
+0x4e0a 025247 rtn 
+:      025249 hid_rx_process_handshake:
+0x4e0b 025250 arg 1 ,rega 
+0x4e0c 025251 call hid_malloc_tx_buff 
+0x4e0d 025252 fetch 2 ,mem_hid_ctrl_remote_cid 
+0x4e0e 025253 istore 2 ,contw 
+0x4e0f 025254 setarg 0 
+0x4e10 025255 istore 1 ,contw 
+0x4e11 025256 jam 1 ,mem_ui_data_txbuff_length 
+0x4e12 025257 fetch 1 ,mem_hid_control_state 
+0x4e13 025258 set1 l2cap_channel_hid_handshake_done ,pdata 
+0x4e14 025259 store 1 ,mem_hid_control_state 
+0x4e15 025260 jam bt_evt_hid_handshake ,mem_fifo_temp 
+0x4e16 025261 call ui_ipc_send_event 
+0x4e17 025262 fetch 1 ,mem_device_option 
+0x4e18 025263 rtnne dvc_op_mouse 
+0x4e19 025264 branch mouse_bt_hid_handshake_boot_check 
+:      025267 hid_rx_process_data:
+0x4e1a 025268 ifetch 1 ,contr 
+0x4e1b 025269 beq hid_report_id_kb ,hid_rx_process_data_hid_kb 
+0x4e1c 025270 rtn 
+:      025272 hid_rx_process_data_hid_kb:
+0x4e1d 025273 rtn 
+:      025276 hid_malloc_tx_buff:
+0x4e1e 025277 call l2cap_malloc 
+0x4e1f 025278 copy rega ,temp 
+0x4e20 025279 storet 1 ,mem_ui_data_txbuff_length 
+0x4e21 025280 copy pdata ,contw 
+0x4e22 025281 copy rega ,pdata 
+0x4e23 025282 istore 2 ,contw 
+0x4e24 025283 rtn 
+:      025300 l2cap_init:
+0x4e25 025301 branch l2cap_init_wake ,wake 
+:      025302 l2cap_init_work:
+0x4e26 025303 setarg mem_l2cap_xmem_end 
+0x4e27 025304 arg mem_l2cap_xmem_start ,contw 
+0x4e28 025305 isub contw ,loopcnt 
+0x4e29 025306 call clear_mem 
+:      025307 l2cap_init_wake:
+0x4e2a 025308 bpatch patch1d_0 ,mem_patch1d 
+0x4e2b 025309 setarg mem_sdp_mem_end 
+0x4e2c 025310 arg mem_sdp_mem_start ,contw 
+0x4e2d 025311 isub contw ,loopcnt 
+0x4e2e 025312 call clear_mem 
+0x4e2f 025313 setarg mem_l2cap_mem_end 
+0x4e30 025314 arg mem_l2cap_mem_start ,contw 
+0x4e31 025315 isub contw ,loopcnt 
+0x4e32 025316 call clear_mem 
+0x4e33 025317 branch l2cap_lpm_load_txbuf 
+:      025319 process_rx_l2cap_pkt:
+0x4e34 025320 bpatch patch1d_1 ,mem_patch1d 
+0x4e35 025321 copy contr ,temp 
+0x4e36 025324 copy temp ,contr 
+0x4e37 025325 ifetch 2 ,contr 
+0x4e38 025326 store 2 ,mem_l2cap_rx_pkt_length 
+0x4e39 025327 ifetch 2 ,contr 
+0x4e3a 025328 store 2 ,mem_l2cap_rx_cid 
+0x4e3b 025329 deposit contr 
+0x4e3c 025330 store 2 ,mem_l2cap_payload_ptr 
+0x4e3d 025331 fetch 1 ,memui_reconnect_mode 
+0x4e3e 025332 beq no_reconnection ,l2cap_rx_multiplexing 
+0x4e3f 025333 branch ml2cap_rx_multiplexing 
+:      025335 l2cap_rx_multiplexing:
+0x4e40 025336 fetch 2 ,mem_l2cap_rx_pkt_length 
+0x4e41 025337 branch l2cap_rx_reset_state ,blank 
+0x4e42 025338 bpatch patch1d_2 ,mem_patch1d 
+0x4e43 025339 fetch 1 ,mem_l2cap_rx_cid 
+0x4e44 025340 beq l2cap_signal_channel ,l2cap_call_proc_signal 
+:      025341 l2cap_rx_multiplexing0:
+0x4e45 025342 beq l2cap_sdp_channel ,l2cap_call_proc_sdp 
+0x4e46 025343 beq l2cap_rfcomm_channel ,l2cap_call_proc_rfcomm 
+0x4e47 025344 beq l2cap_hid_control_channel ,l2cap_call_proc_hid 
+0x4e48 025345 beq l2cap_hid_interrupt_channel ,l2cap_call_proc_hid 
+0x4e49 025346 branch l2cap_rx_reset_state 
+:      025348 l2cap_check_map:
+0x4e4a 025351 bpatch patch1d_3 ,mem_patch1d 
+0x4e4b 025352 call l2cap_malloc_get_full_map 
+0x4e4c 025353 fetch 1 ,mem_used_map 
+0x4e4d 025354 beq 0 ,set_pdata_0 
+0x4e4e 025355 beq 1 ,set_pdata_0 
+0x4e4f 025356 beq 2 ,set_pdata_0 
+0x4e50 025357 beq 3 ,set_pdata_0 
+0x4e51 025358 beq 0x81 ,set_pdata_0 
+0x4e52 025359 beq 0xc0 ,set_pdata_0 
+0x4e53 025360 beq 0x80 ,set_pdata_0 
+0x4e54 025361 beq 0x40 ,set_pdata_0 
+0x4e55 025362 rtn 
+:      025364 l2cap_call_proc_signal:
+0x4e56 025365 call l2cap_check_map 
+0x4e57 025366 nrtn blank 
+:      025367 l2cap_call_proc_signal0:
+0x4e58 025368 call l2cap_malloc_signal_channel 
+0x4e59 025369 call l2cap_process_signal_pkt 
+0x4e5a 025370 fetcht 2 ,mem_l2cap_signal_tx_length 
+0x4e5b 025371 branch l2cap_call_proc_no_reply ,blank 
+0x4e5c 025372 call l2cap_get_signal_tx_buff 
+0x4e5d 025373 fetch 2 ,mem_l2cap_signal_tx_length 
+0x4e5e 025374 istore 2 ,contw 
+0x4e5f 025375 force l2cap_signal_channel ,pdata 
+0x4e60 025376 istore 2 ,contw 
+0x4e61 025377 branch l2cap_rx_reset_state 
+:      025379 l2cap_call_proc_sigal_pending:
+0x4e62 025380 fetch 1 ,mem_l2cap_pending_item 
+0x4e63 025381 rtn blank 
+0x4e64 025382 copy pdata ,rega 
+0x4e65 025383 bpatch patch1d_4 ,mem_patch1d 
+0x4e66 025384 fetch 4 ,mem_l2cap_sdpres_delay_time 
+0x4e67 025385 arg 0x100 ,temp 
+0x4e68 025386 iadd temp ,temp 
+0x4e69 025387 copy clkn_bt ,pdata 
+0x4e6a 025388 isub temp ,null 
+0x4e6b 025389 nrtn positive 
+0x4e6c 025390 jam 0 ,mem_l2cap_pending_item 
+0x4e6d 025391 copy rega ,pdata 
+0x4e6e 025392 beq l2cap_sdp_channel ,l2cap_sdp_conn_succ 
+0x4e6f 025393 branch assert 
+:      025394 l2cap_sdp_conn_succ:
+0x4e70 025395 arg 0 ,debug 
+0x4e71 025396 call l2cap_malloc_signal_channel 
+0x4e72 025397 call restore_l2cap_req_param 
+0x4e73 025398 call l2cap_get_signal_tx_payload 
+0x4e74 025399 call save_cont_pointers 
+0x4e75 025400 call send_connection_sdp_res 
+0x4e76 025401 call l2cap_get_signal_tx_buff 
+0x4e77 025403 setarg 0x000c 
+0x4e78 025404 istore 2 ,contw 
+0x4e79 025405 force l2cap_signal_channel ,pdata 
+0x4e7a 025406 istore 2 ,contw 
+0x4e7b 025407 branch l2cap_rx_reset_state 
+:      025411 l2cap_reset_sdp_map:
+0x4e7c 025412 bpatch patch1d_5 ,mem_patch1d 
+0x4e7d 025413 fetch 2 ,mem_sdp_tx_pkt_length 
+0x4e7e 025414 increase 4 ,pdata 
+0x4e7f 025415 call rshift7 
+0x4e80 025416 add pdata ,1 ,temp 
+0x4e81 025417 arg mem_tx_fifo3 ,contr 
+0x4e82 025418 ifetch 3 ,contr 
+0x4e83 025419 rtn blank 
+0x4e84 025420 store 3 ,mem_tx_fifo_map_temp 
+0x4e85 025421 fetch 1 ,mem_tx_fifo_map_temp 
+0x4e86 025422 copy pdata ,rega 
+0x4e87 025423 call check_l2cap_map 
+0x4e88 025424 copy regb ,pdata 
+0x4e89 025425 store 1 ,mem_tx_fifo3 
+0x4e8a 025426 rtn 
+:      025428 check_l2cap_map:
+0x4e8b 025429 arg 0 ,queue 
+0x4e8c 025430 arg 0 ,regb 
+:      025432 check_l2cap_map_loop:
+0x4e8d 025433 sub queue ,7 ,null 
+0x4e8e 025434 nrtn positive 
+0x4e8f 025435 qisolate1 rega 
+0x4e90 025436 branch check_l2cap_map_used ,true 
+0x4e91 025437 branch check_l2cap_map_used2 
+:      025439 check_l2cap_map_used:
+0x4e92 025440 copy temp ,pdata 
+0x4e93 025441 branch check_l2cap_map_used2 ,blank 
+0x4e94 025442 qset1 regb 
+0x4e95 025443 increase -1 ,temp 
+:      025445 check_l2cap_map_used2:
+0x4e96 025446 increase 1 ,queue 
+0x4e97 025447 branch check_l2cap_map_loop 
+:      025449 l2cap_call_proc_sdp:
+0x4e98 025450 call l2cap_malloc_is_fifo_empty 
+0x4e99 025451 nrtn blank 
+0x4e9a 025452 call l2cap_check_map 
+0x4e9b 025453 nrtn blank 
+0x4e9c 025454 call l2cap_malloc_sdp_channel 
+0x4e9d 025455 call enable_authrom 
+0x4e9e 025456 call sdp_process 
+0x4e9f 025457 call disable_authrom 
+0x4ea0 025458 call l2cap_reset_sdp_map 
+0x4ea1 025459 branch l2cap_call_proc_sdp_common 
+:      025462 ml2cap_call_proc_sdp:
+0x4ea2 025463 call l2cap_malloc_is_fifo_empty 
+0x4ea3 025464 nrtn blank 
+0x4ea4 025465 call l2cap_malloc_sdp_channel 
+0x4ea5 025466 call enable_authrom 
+0x4ea6 025467 call sdp_process 
+0x4ea7 025468 call disable_authrom 
+:      025469 l2cap_call_proc_sdp_common:
+0x4ea8 025470 call l2cap_get_sdp_tx_buff 
+0x4ea9 025471 fetch 2 ,mem_sdp_tx_pkt_length 
+0x4eaa 025472 branch l2cap_call_proc_no_reply ,blank 
+0x4eab 025473 istore 2 ,contw 
+0x4eac 025474 fetch 2 ,mem_sdp_remote_cid 
+0x4ead 025475 istore 2 ,contw 
+0x4eae 025476 branch l2cap_rx_reset_state 
+:      025478 l2cap_call_proc_hid:
+0x4eaf 025479 call hid_rx_process 
+0x4eb0 025480 branch l2cap_rx_reset_state 
+:      025482 l2cap_call_proc_rfcomm:
+0x4eb1 025483 bpatch patch1d_6 ,mem_patch1d 
+0x4eb2 025484 jam rfcomm_malloc_succeed ,mem_rfcomm_malloc_fail_flag 
+0x4eb3 025485 call rfcomm_rx_process 
+0x4eb4 025486 fetch 1 ,mem_rfcomm_malloc_fail_flag 
+0x4eb5 025487 rtneq rfcomm_malloc_fail 
+0x4eb6 025488 branch l2cap_rx_reset_state 
+:      025489 l2cap_call_proc_no_reply:
+0x4eb7 025490 call l2cap_malloc_discard 
+:      025492 l2cap_rx_reset_state:
+0x4eb8 025493 setarg 0 
+0x4eb9 025494 store 2 ,mem_l2cap_rx_pkt_length 
+0x4eba 025495 store 2 ,mem_l2cap_rx_cid 
+0x4ebb 025496 jam l2cap_rx_done ,mem_l2cap_rx_done 
+0x4ebc 025497 rtn 
+:      025499 l2cap_process_signal_pkt:
+0x4ebd 025500 bpatch patch1d_7 ,mem_patch1d 
+0x4ebe 025501 call l2cap_get_signal_tx_payload 
+0x4ebf 025502 force 0 ,regb 
+0x4ec0 025503 fetch 2 ,mem_l2cap_rx_pkt_length 
+0x4ec1 025504 copy pdata ,regc 
+0x4ec2 025505 fetch 2 ,mem_l2cap_payload_ptr 
+0x4ec3 025506 iforce contr 
+:      025507 l2cap_process_signal_pkt_loop:
+0x4ec4 025508 call l2cap_process_one_signal 
+0x4ec5 025509 deposit regc 
+0x4ec6 025510 increase -4 ,regc 
+0x4ec7 025511 increase -4 ,pdata 
+0x4ec8 025512 nbranch l2cap_process_signal_pkt_loop ,blank 
+0x4ec9 025513 copy regb ,pdata 
+0x4eca 025514 store 2 ,mem_l2cap_signal_tx_length 
+0x4ecb 025515 rtn 
+:      025517 l2cap_process_one_signal:
+0x4ecc 025518 bpatch patch1e_0 ,mem_patch1e 
+0x4ecd 025519 ifetch 1 ,contr 
+0x4ece 025520 beq signal_cmd_reject ,l2cap_proc_signal_cmd_reject 
+0x4ecf 025521 beq signal_connect_req ,l2cap_proc_signal_connect_req 
+0x4ed0 025522 beq signal_connect_rsp ,l2cap_proc_signal_connect_rsp 
+0x4ed1 025523 beq signal_config_req ,l2cap_proc_signal_config_req 
+0x4ed2 025524 beq signal_config_rsp ,l2cap_proc_signal_config_rsp 
+0x4ed3 025525 beq signal_disconnect_req ,l2cap_proc_signal_disconnect_req 
+0x4ed4 025526 beq signal_disconnect_rsp ,l2cap_proc_signal_disconnect_rsp 
+0x4ed5 025527 beq signal_echo_req ,l2cap_proc_signal_echo_req 
+0x4ed6 025528 beq signal_echo_rsp ,l2cap_proc_signal_echo_rsp 
+0x4ed7 025529 beq signal_info_req ,l2cap_proc_signal_info_req 
+0x4ed8 025530 beq signal_info_rsp ,l2cap_proc_signal_info_rsp 
+0x4ed9 025531 call l2cap_reject_command 
+:      025532 l2cap_process_one_signal_rtn:
+0x4eda 025533 rtn 
+:      025535 l2cap_proc_signal_info_req:
+0x4edb 025536 ifetch 1 ,contr 
+0x4edc 025537 copy pdata ,queue 
+0x4edd 025538 ifetch 2 ,contr 
+0x4ede 025539 copy pdata ,rega 
+0x4edf 025540 copy regc ,pdata 
+0x4ee0 025541 isub rega ,regc 
+0x4ee1 025542 setarg signal_info_rsp 
+0x4ee2 025543 istore 1 ,contw 
+0x4ee3 025544 copy queue ,pdata 
+0x4ee4 025545 istore 1 ,contw 
+0x4ee5 025546 ifetch 2 ,contr 
+:      025547 l2cap_proc_signal_info_req_reply:
+0x4ee6 025548 beq l2cap_sig_ext_featrue ,l2cap_proc_signal_info_req_ext 
+0x4ee7 025549 beq l2cap_sig_fix_featrue ,l2cap_proc_signal_info_req_fix 
+0x4ee8 025550 rtn 
+:      025551 l2cap_proc_signal_info_req_ext:
+0x4ee9 025552 setarg 0x020008 
+0x4eea 025553 istore 6 ,contw 
+0x4eeb 025554 setarg 0x0280 
+0x4eec 025555 istore 4 ,contw 
+0x4eed 025556 force 12 ,pdata 
+0x4eee 025557 branch l2cap_proc_signal_info_req_common 
+:      025558 l2cap_proc_signal_info_req_fix:
+0x4eef 025559 setarg 0x3000c 
+0x4ef0 025560 istore 6 ,contw 
+0x4ef1 025561 setarg 0x0006 
+0x4ef2 025562 istore 8 ,contw 
+0x4ef3 025563 force 16 ,pdata 
+:      025564 l2cap_proc_signal_info_req_common:
+0x4ef4 025565 iadd regb ,regb 
+0x4ef5 025566 branch l2cap_process_one_signal_rtn 
+:      025568 ml2cap_proc_signal_info_req:
+0x4ef6 025569 ifetch 1 ,contr 
+0x4ef7 025570 copy pdata ,queue 
+0x4ef8 025571 ifetch 2 ,contr 
+0x4ef9 025572 copy pdata ,rega 
+0x4efa 025573 ifetch 2 ,contr 
+0x4efb 025574 store 2 ,mem_temp 
+0x4efc 025575 copy regc ,pdata 
+0x4efd 025576 isub rega ,regc 
+0x4efe 025577 call l2cap_get_signal_tx_payload 
+0x4eff 025578 setarg signal_info_rsp 
+0x4f00 025579 istore 1 ,contw 
+0x4f01 025580 copy queue ,pdata 
+0x4f02 025581 istore 1 ,contw 
+0x4f03 025582 fetch 2 ,mem_temp 
+0x4f04 025583 branch l2cap_proc_signal_info_req_reply 
+:      025587 l2cap_proc_signal_cmd_reject:
+0x4f05 025588 ifetch 1 ,contr 
+0x4f06 025589 copy pdata ,queue 
+0x4f07 025590 ifetch 2 ,contr 
+0x4f08 025591 copy pdata ,rega 
+0x4f09 025592 iadd contr ,contr 
+0x4f0a 025593 copy regc ,pdata 
+0x4f0b 025594 isub rega ,regc 
+:      025595 l2cap_proc_signal_cmd_reject_rtn:
+0x4f0c 025596 branch l2cap_process_one_signal_rtn 
+:      025598 l2cap_proc_signal_connect_req:
+0x4f0d 025599 call save_cont_pointers 
+0x4f0e 025602 call load_cont_pointers 
+0x4f0f 025603 arg 0 ,debug 
+0x4f10 025604 ifetch 1 ,contr 
+0x4f11 025605 copy pdata ,queue 
+0x4f12 025606 ifetch 2 ,contr 
+0x4f13 025607 copy pdata ,rega 
+0x4f14 025608 ifetch 2 ,contr 
+0x4f15 025609 copy pdata ,temp 
+0x4f16 025610 ifetch 2 ,contr 
+0x4f17 025611 copy pdata ,timeup 
+0x4f18 025612 bpatch patch1e_1 ,mem_patch1e 
+0x4f19 025613 copy temp ,pdata 
+0x4f1a 025614 beq psm_sdp ,l2cap_proc_signal_connect_req_sdp 
+0x4f1b 025615 beq psm_rfcomm ,l2cap_proc_signal_connect_req_rfcomm 
+0x4f1c 025616 beq psm_hid_control ,l2cap_proc_signal_connect_req_hid_ctrl 
+0x4f1d 025617 beq psm_hid_interrupt ,l2cap_proc_signal_connect_req_hid_int 
+0x4f1e 025618 call l2cap_reject_command 
+0x4f1f 025619 branch l2cap_proc_signal_connect_req_rtn 
+:      025621 l2cap_proc_signal_connect_req_sdp:
+0x4f20 025622 call save_cont_pointers 
+0x4f21 025623 arg l2cap_sdp_channel ,temp 
+0x4f22 025624 fetch 2 ,mem_sdp_remote_cid 
+0x4f23 025625 nbranch already_connected ,blank 
+0x4f24 025626 copy timeup ,pdata 
+0x4f25 025627 store 2 ,mem_sdp_remote_cid 
+0x4f26 025628 copy clkn_bt ,pdata 
+0x4f27 025629 store 4 ,mem_l2cap_sdpres_delay_time 
+0x4f28 025630 call store_l2cap_req_param 
+0x4f29 025631 branch send_connection_pending 
+:      025633 store_l2cap_req_param:
+0x4f2a 025634 storet 2 ,mem_psm 
+0x4f2b 025635 deposit timeup 
+0x4f2c 025636 store 2 ,mem_scid 
+0x4f2d 025637 deposit rega 
+0x4f2e 025638 store 2 ,mem_cmd_length 
+0x4f2f 025639 deposit regb 
+0x4f30 025640 store 2 ,mem_tt2 
+0x4f31 025641 deposit regc 
+0x4f32 025642 store 2 ,mem_tt3 
+0x4f33 025643 deposit queue 
+0x4f34 025644 store 2 ,mem_id 
+0x4f35 025645 rtn 
+:      025647 restore_l2cap_req_param:
+0x4f36 025648 fetcht 2 ,mem_psm 
+0x4f37 025649 fetch 2 ,mem_scid 
+0x4f38 025650 copy pdata ,timeup 
+0x4f39 025651 fetch 2 ,mem_cmd_length 
+0x4f3a 025652 copy pdata ,rega 
+0x4f3b 025653 fetch 2 ,mem_tt2 
+0x4f3c 025654 copy pdata ,regb 
+0x4f3d 025655 fetch 2 ,mem_tt3 
+0x4f3e 025656 copy pdata ,regc 
+0x4f3f 025657 fetch 2 ,mem_id 
+0x4f40 025658 copy pdata ,queue 
+0x4f41 025659 rtn 
+:      025661 l2cap_proc_signal_connect_req_rfcomm:
+0x4f42 025662 call save_cont_pointers 
+0x4f43 025663 setarg l2cap_rfcomm_channel 
+0x4f44 025664 arg l2cap_rfcomm_channel ,temp 
+0x4f45 025665 fetch 2 ,mem_rfcomm_remote_cid 
+0x4f46 025666 nbranch already_connected ,blank 
+0x4f47 025667 copy timeup ,pdata 
+0x4f48 025668 store 2 ,mem_rfcomm_remote_cid 
+0x4f49 025669 fetch 1 ,mem_rfcomm_state 
+0x4f4a 025670 set1 l2cap_channel_state_conn_req ,pdata 
+0x4f4b 025671 set1 l2cap_channel_state_conn_res ,pdata 
+0x4f4c 025672 store 1 ,mem_rfcomm_state 
+0x4f4d 025673 branch send_connection_res 
+:      025674 l2cap_proc_signal_connect_req_hid_ctrl:
+0x4f4e 025675 call save_cont_pointers 
+0x4f4f 025676 arg l2cap_hid_control_channel ,temp 
+0x4f50 025677 fetch 2 ,mem_hid_ctrl_remote_cid 
+0x4f51 025678 nbranch already_connected ,blank 
+0x4f52 025679 copy timeup ,pdata 
+0x4f53 025680 store 2 ,mem_hid_ctrl_remote_cid 
+0x4f54 025681 fetch 1 ,mem_hid_control_state 
+0x4f55 025682 set1 l2cap_channel_state_conn_req ,pdata 
+0x4f56 025683 set1 l2cap_channel_state_conn_res ,pdata 
+0x4f57 025684 store 1 ,mem_hid_control_state 
+0x4f58 025685 branch send_connection_res 
+:      025686 l2cap_proc_signal_connect_req_hid_int:
+0x4f59 025687 call save_cont_pointers 
+0x4f5a 025688 deposit clke 
+0x4f5b 025689 arg l2cap_hid_interrupt_channel ,temp 
+0x4f5c 025690 fetch 2 ,mem_hid_int_remote_cid 
+0x4f5d 025691 nbranch already_connected ,blank 
+0x4f5e 025692 copy timeup ,pdata 
+0x4f5f 025693 store 2 ,mem_hid_int_remote_cid 
+0x4f60 025694 fetch 1 ,mem_hid_interrupt_state 
+0x4f61 025695 set1 l2cap_channel_state_conn_req ,pdata 
+0x4f62 025696 set1 l2cap_channel_state_conn_res ,pdata 
+0x4f63 025697 store 1 ,mem_hid_interrupt_state 
+0x4f64 025698 branch send_connection_res 
+:      025700 send_connection_pending:
+0x4f65 025701 setarg l2cap_connect_pending 
+0x4f66 025702 store 2 ,meml2cap_t1 
+0x4f67 025703 jam l2cap_sdp_channel ,mem_l2cap_pending_item 
+0x4f68 025704 branch send_connection_res0 
+:      025705 send_connection_sdp_res:
+0x4f69 025706 fetch 1 ,mem_sdp_state 
+0x4f6a 025707 set1 l2cap_channel_state_conn_req ,pdata 
+0x4f6b 025708 set1 l2cap_channel_state_conn_res ,pdata 
+0x4f6c 025709 store 1 ,mem_sdp_state 
+:      025710 send_connection_res:
+0x4f6d 025711 setarg l2cap_connect_successful 
+0x4f6e 025712 store 2 ,meml2cap_t1 
+:      025713 send_connection_res0:
+0x4f6f 025714 bpatch patch1e_2 ,mem_patch1e 
+0x4f70 025715 call load_cont_pointers 
+0x4f71 025716 setarg signal_connect_rsp 
+0x4f72 025717 istore 1 ,contw 
+0x4f73 025718 copy queue ,pdata 
+0x4f74 025719 istore 1 ,contw 
+0x4f75 025720 setarg 0x0008 
+0x4f76 025721 istore 2 ,contw 
+0x4f77 025722 copy temp ,pdata 
+0x4f78 025723 istore 2 ,contw 
+0x4f79 025724 copy timeup ,pdata 
+0x4f7a 025725 istore 2 ,contw 
+0x4f7b 025726 fetch 2 ,meml2cap_t1 
+0x4f7c 025727 beq l2cap_connect_pending ,connect_pending 
+0x4f7d 025728 isolate0 0 ,debug 
+0x4f7e 025729 branch connect_suc ,true 
+0x4f7f 025730 setarg l2cap_connect_refused_no_resources 
+:      025731 connect_suc:
+0x4f80 025732 istore 2 ,contw 
+0x4f81 025733 force 0x0000 ,pdata 
+0x4f82 025734 istore 2 ,contw 
+0x4f83 025735 setarg 12 
+0x4f84 025736 branch connect_req_update_byte_counts 
+:      025737 connect_pending:
+0x4f85 025738 istore 2 ,contw 
+0x4f86 025739 force 0x0002 ,pdata 
+0x4f87 025740 istore 2 ,contw 
+0x4f88 025741 setarg 12 
+0x4f89 025742 branch connect_req_update_byte_counts 
+:      025744 already_connected:
+0x4f8a 025745 set1 0 ,debug 
+0x4f8b 025746 branch send_connection_res 
+:      025747 connect_req_update_byte_counts:
+0x4f8c 025748 iadd regb ,regb 
+0x4f8d 025749 copy regc ,pdata 
+0x4f8e 025750 isub rega ,regc 
+0x4f8f 025751 branch l2cap_proc_signal_connect_req_rtn 
+:      025752 l2cap_proc_signal_connect_req_rtn:
+0x4f90 025753 branch l2cap_process_one_signal_rtn 
+:      025755 l2cap_proc_signal_connect_rsp:
+0x4f91 025756 ifetch 1 ,contr 
+0x4f92 025757 copy pdata ,queue 
+0x4f93 025758 ifetch 2 ,contr 
+0x4f94 025759 copy pdata ,rega 
+0x4f95 025760 copy regc ,pdata 
+0x4f96 025761 isub rega ,regc 
+0x4f97 025762 ifetch 2 ,contr 
+0x4f98 025763 copy pdata ,timeup 
+0x4f99 025764 ifetch 2 ,contr 
+0x4f9a 025765 copy pdata ,temp 
+0x4f9b 025766 bpatch patch1e_3 ,mem_patch1e 
+0x4f9c 025767 setarg l2cap_sdp_channel 
+0x4f9d 025768 isub temp ,null 
+0x4f9e 025769 branch l2cap_proc_signal_connect_rsp_sdp ,zero 
+0x4f9f 025770 setarg l2cap_rfcomm_channel 
+0x4fa0 025771 isub temp ,null 
+0x4fa1 025772 branch l2cap_proc_signal_connect_rsp_rfcomm ,zero 
+0x4fa2 025773 setarg l2cap_hid_control_channel 
+0x4fa3 025774 isub temp ,null 
+0x4fa4 025775 branch l2cap_proc_signal_connect_rsp_hid_ctrl ,zero 
+0x4fa5 025776 setarg l2cap_hid_interrupt_channel 
+0x4fa6 025777 isub temp ,null 
+0x4fa7 025778 branch l2cap_proc_signal_connect_rsp_hid_int ,zero 
+0x4fa8 025779 rtn 
+:      025781 l2cap_proc_signal_connect_rsp_sdp:
+0x4fa9 025782 copy timeup ,pdata 
+0x4faa 025783 store 2 ,mem_sdp_remote_cid 
+0x4fab 025784 fetch 1 ,mem_sdp_state 
+0x4fac 025785 set1 l2cap_channel_state_conn_res ,pdata 
+0x4fad 025786 store 1 ,mem_sdp_state 
+0x4fae 025787 branch l2cap_process_one_signal_rtn 
+:      025788 l2cap_proc_signal_connect_rsp_rfcomm:
+0x4faf 025789 copy timeup ,pdata 
+0x4fb0 025790 store 2 ,mem_rfcomm_remote_cid 
+0x4fb1 025791 fetch 1 ,mem_rfcomm_state 
+0x4fb2 025792 set1 l2cap_channel_state_conn_res ,pdata 
+0x4fb3 025793 store 1 ,mem_rfcomm_state 
+0x4fb4 025794 rtn 
+:      025795 l2cap_proc_signal_connect_rsp_hid_int:
+0x4fb5 025796 copy timeup ,pdata 
+0x4fb6 025797 store 2 ,mem_hid_ctrl_remote_cid 
+0x4fb7 025798 fetch 1 ,mem_hid_interrupt_state 
+0x4fb8 025799 set1 l2cap_channel_state_conn_res ,pdata 
+0x4fb9 025800 store 1 ,mem_hid_interrupt_state 
+0x4fba 025801 rtn 
+:      025802 l2cap_proc_signal_connect_rsp_hid_ctrl:
+0x4fbb 025803 copy timeup ,pdata 
+0x4fbc 025804 store 2 ,mem_hid_int_remote_cid 
+0x4fbd 025805 fetch 1 ,mem_hid_control_state 
+0x4fbe 025806 set1 l2cap_channel_state_conn_res ,pdata 
+0x4fbf 025807 store 1 ,mem_hid_control_state 
+0x4fc0 025808 rtn 
+:      025810 l2cap_proc_signal_config_req:
+0x4fc1 025811 ifetch 1 ,contr 
+0x4fc2 025812 copy pdata ,queue 
+0x4fc3 025813 ifetch 2 ,contr 
+0x4fc4 025814 copy pdata ,rega 
+0x4fc5 025815 copy regc ,pdata 
+0x4fc6 025816 isub rega ,regc 
+0x4fc7 025817 ifetch 2 ,contr 
+0x4fc8 025818 copy pdata ,temp 
+0x4fc9 025819 copy temp ,rega 
+0x4fca 025820 bpatch patch1e_4 ,mem_patch1e 
+0x4fcb 025821 setarg l2cap_sdp_channel 
+0x4fcc 025822 isub temp ,null 
+0x4fcd 025823 branch l2cap_proc_signal_config_req_sdp ,zero 
+0x4fce 025824 setarg l2cap_rfcomm_channel 
+0x4fcf 025825 isub temp ,null 
+0x4fd0 025826 branch l2cap_proc_signal_config_req_rfcomm ,zero 
+0x4fd1 025827 setarg l2cap_hid_control_channel 
+0x4fd2 025828 isub temp ,null 
+0x4fd3 025829 branch l2cap_proc_signal_config_req_hid_ctrl ,zero 
+0x4fd4 025830 setarg l2cap_hid_interrupt_channel 
+0x4fd5 025831 isub temp ,null 
+0x4fd6 025832 branch l2cap_proc_signal_config_req_hid_int ,zero 
+0x4fd7 025833 branch l2cap_reject_command 
+:      025835 l2cap_proc_signal_config_req_sdp:
+0x4fd8 025836 copy contw ,timeup 
+0x4fd9 025837 fetch 1 ,mem_sdp_state 
+0x4fda 025838 set1 l2cap_channel_state_rcv_cfg_req ,pdata 
+0x4fdb 025839 set1 l2cap_channel_state_snd_cfg_res ,pdata 
+0x4fdc 025841 store 1 ,mem_sdp_state 
+0x4fdd 025842 copy timeup ,contw 
+0x4fde 025843 arg l2cap_sdp_channel ,timeup 
+0x4fdf 025844 fetch 2 ,mem_sdp_remote_cid 
+0x4fe0 025845 copy pdata ,temp 
+0x4fe1 025846 branch l2cap_send_config_rsp 
+:      025847 l2cap_proc_signal_config_req_hid_ctrl:
+0x4fe2 025848 copy contw ,timeup 
+0x4fe3 025849 fetch 1 ,mem_hid_control_state 
+0x4fe4 025850 set1 l2cap_channel_state_rcv_cfg_req ,pdata 
+0x4fe5 025851 set1 l2cap_channel_state_snd_cfg_res ,pdata 
+0x4fe6 025853 store 1 ,mem_hid_control_state 
+0x4fe7 025854 copy timeup ,contw 
+0x4fe8 025855 arg l2cap_hid_control_channel ,timeup 
+0x4fe9 025856 fetch 2 ,mem_hid_ctrl_remote_cid 
+0x4fea 025857 copy pdata ,temp 
+0x4feb 025858 branch l2cap_send_config_rsp 
+:      025859 l2cap_proc_signal_config_req_hid_int:
+0x4fec 025860 copy contw ,timeup 
+0x4fed 025861 fetch 1 ,mem_hid_interrupt_state 
+0x4fee 025862 set1 l2cap_channel_state_rcv_cfg_req ,pdata 
+0x4fef 025863 set1 l2cap_channel_state_snd_cfg_res ,pdata 
+0x4ff0 025865 store 1 ,mem_hid_interrupt_state 
+0x4ff1 025866 copy timeup ,contw 
+0x4ff2 025867 arg l2cap_hid_interrupt_channel ,timeup 
+0x4ff3 025868 fetch 2 ,mem_hid_int_remote_cid 
+0x4ff4 025869 copy pdata ,temp 
+0x4ff5 025870 branch l2cap_send_config_rsp 
+:      025871 l2cap_proc_signal_config_req_rfcomm:
+0x4ff6 025872 copy contw ,timeup 
+0x4ff7 025873 fetch 1 ,mem_rfcomm_state 
+0x4ff8 025874 set1 l2cap_channel_state_rcv_cfg_req ,pdata 
+0x4ff9 025875 set1 l2cap_channel_state_snd_cfg_res ,pdata 
+0x4ffa 025877 store 1 ,mem_rfcomm_state 
+0x4ffb 025879 copy timeup ,contw 
+0x4ffc 025880 arg l2cap_rfcomm_channel ,timeup 
+0x4ffd 025881 fetch 2 ,mem_rfcomm_remote_cid 
+0x4ffe 025882 copy pdata ,temp 
+:      025883 l2cap_send_config_rsp:
+0x4fff 025884 bpatch patch1e_5 ,mem_patch1e 
+0x5000 025885 setarg signal_config_rsp 
+0x5001 025886 istore 1 ,contw 
+0x5002 025887 copy queue ,pdata 
+0x5003 025888 istore 1 ,contw 
+0x5004 025889 setarg 0x0006 
+0x5005 025890 istore 2 ,contw 
+0x5006 025891 copy temp ,pdata 
+0x5007 025892 istore 2 ,contw 
+0x5008 025893 force 0x00 ,pdata 
+0x5009 025894 istore 2 ,contw 
+0x500a 025895 force l2cap_config_success ,pdata 
+0x500b 025896 istore 2 ,contw 
+0x500c 025897 force 10 ,pdata 
+0x500d 025898 iadd regb ,regb 
+0x500e 025900 storet 2 ,mem_config_req_dest_cid 
+0x500f 025901 copy queue ,pdata 
+0x5010 025902 store 1 ,mem_config_identifier 
+0x5011 025903 force l2cap_sdp_channel ,pdata 
+0x5012 025904 icompare 0xff ,timeup 
+0x5013 025905 branch l2cap_send_config_rsp_is_sdp ,true 
+0x5014 025906 increase 1 ,pdata 
+:      025907 l2cap_send_config_rsp_is_sdp:
+0x5015 025909 rtn 
+:      025910 l2cap_check_channel_state:
+0x5016 025911 disable user 
+0x5017 025912 rtnbit1 l2cap_channel_state_snd_cfg_req ,pdata 
+0x5018 025913 rtnbit0 l2cap_channel_state_conn_req ,pdata 
+0x5019 025914 rtnbit0 l2cap_channel_state_conn_res ,pdata 
+0x501a 025915 set1 l2cap_channel_state_snd_cfg_req ,pdata 
+0x501b 025916 copy contr ,contw 
+0x501c 025917 increase -1 ,contw 
+0x501d 025918 istore 1 ,contw 
+0x501e 025919 enable user 
+0x501f 025920 rtn 
+:      025921 l2cap_send_config_req:
+:      025922 l2cap_send_config_req_sdp:
+0x5020 025923 fetch 1 ,mem_sdp_state 
+0x5021 025924 call l2cap_check_channel_state 
+0x5022 025925 nbranch l2cap_send_config_req_rfcomm ,user 
+0x5023 025926 jam l2cap_sdp_channel ,mem_send_config_req 
+0x5024 025927 fetch 2 ,mem_sdp_remote_cid 
+0x5025 025928 store 2 ,mem_config_req_dest_cid 
+0x5026 025929 branch l2cap_generate_config_req 
+:      025930 l2cap_send_config_req_rfcomm:
+0x5027 025931 fetch 1 ,mem_rfcomm_state 
+0x5028 025932 call l2cap_check_channel_state 
+0x5029 025933 nbranch l2cap_send_config_req_hid_ctrl ,user 
+0x502a 025934 jam l2cap_rfcomm_channel ,mem_send_config_req 
+0x502b 025935 fetch 2 ,mem_rfcomm_remote_cid 
+0x502c 025936 store 2 ,mem_config_req_dest_cid 
+0x502d 025937 branch l2cap_generate_config_req 
+:      025938 l2cap_send_config_req_hid_ctrl:
+0x502e 025939 fetch 1 ,mem_hid_control_state 
+0x502f 025940 call l2cap_check_channel_state 
+0x5030 025941 nbranch l2cap_send_config_req_hid_int ,user 
+0x5031 025942 jam l2cap_hid_control_channel ,mem_send_config_req 
+0x5032 025943 fetch 2 ,mem_hid_ctrl_remote_cid 
+0x5033 025944 store 2 ,mem_config_req_dest_cid 
+0x5034 025945 branch l2cap_generate_config_req 
+:      025946 l2cap_send_config_req_hid_int:
+0x5035 025947 fetch 1 ,mem_hid_interrupt_state 
+0x5036 025948 call l2cap_check_channel_state 
+0x5037 025949 nrtn user 
+0x5038 025950 jam l2cap_hid_interrupt_channel ,mem_send_config_req 
+0x5039 025951 fetch 2 ,mem_hid_int_remote_cid 
+0x503a 025952 store 2 ,mem_config_req_dest_cid 
+:      025955 l2cap_generate_config_req:
+0x503b 025956 bpatch patch1e_6 ,mem_patch1e 
+0x503c 025957 call l2cap_get_req_id 
+0x503d 025958 call l2cap_malloc_signal_channel 
+0x503e 025959 force 0 ,regb 
+0x503f 025960 call l2cap_get_signal_tx_payload 
+0x5040 025961 force signal_config_req ,pdata 
+0x5041 025962 istore 1 ,contw 
+0x5042 025963 fetch 1 ,mem_ml2cap_comm_id 
+0x5043 025964 istore 1 ,contw 
+0x5044 025965 setarg 0x0008 
+0x5045 025966 istore 2 ,contw 
+0x5046 025967 fetch 2 ,mem_config_req_dest_cid 
+0x5047 025968 istore 2 ,contw 
+0x5048 025969 setarg 0x0000 
+0x5049 025970 istore 2 ,contw 
+0x504a 025971 force 1 ,pdata 
+0x504b 025972 istore 1 ,contw 
+0x504c 025973 force 2 ,pdata 
+0x504d 025974 istore 1 ,contw 
+0x504e 025975 fetch 1 ,mem_send_config_req 
+0x504f 025976 beq l2cap_rfcomm_channel ,l2cap_generate_config_req_rfcomm 
+0x5050 025977 setarg l2cap_config_mtu_sdp 
+0x5051 025978 istore 2 ,contw 
+0x5052 025979 branch l2cap_generate_config_req_done 
+:      025980 l2cap_generate_config_req_rfcomm:
+0x5053 025981 setarg l2cap_config_mtu_rfcomm 
+0x5054 025982 istore 2 ,contw 
+:      025983 l2cap_generate_config_req_done:
+0x5055 025984 arg 0x0c ,temp 
+0x5056 025985 storet 2 ,mem_l2cap_signal_tx_length 
+0x5057 025986 call l2cap_get_signal_tx_buff 
+0x5058 025987 fetch 2 ,mem_l2cap_signal_tx_length 
+0x5059 025988 istore 2 ,contw 
+0x505a 025989 force l2cap_signal_channel ,pdata 
+0x505b 025990 istore 2 ,contw 
+0x505c 025991 jam 0 ,mem_send_config_req 
+:      025992 l2cap_proc_signal_config_req_rtn:
+0x505d 025993 branch l2cap_process_one_signal_rtn 
+:      025995 l2cap_proc_signal_config_rsp:
+0x505e 025996 increase 1 ,contr 
+0x505f 025997 ifetch 2 ,contr 
+0x5060 025998 copy pdata ,rega 
+0x5061 025999 copy regc ,pdata 
+0x5062 026000 isub rega ,regc 
+0x5063 026001 ifetch 2 ,contr 
+0x5064 026002 copy pdata ,rega 
+0x5065 026003 bpatch patch1e_7 ,mem_patch1e 
+0x5066 026004 setarg l2cap_sdp_channel 
+0x5067 026005 isub rega ,null 
+0x5068 026006 branch l2cap_proc_signal_config_rsp_sdp ,zero 
+0x5069 026007 setarg l2cap_rfcomm_channel 
+0x506a 026008 isub rega ,null 
+0x506b 026009 branch l2cap_proc_signal_config_rsp_rfcomm ,zero 
+0x506c 026010 setarg l2cap_hid_control_channel 
+0x506d 026011 isub rega ,null 
+0x506e 026012 branch l2cap_proc_signal_config_rsp_hid_ctrl ,zero 
+0x506f 026013 setarg l2cap_hid_interrupt_channel 
+0x5070 026014 isub rega ,null 
+0x5071 026015 branch l2cap_proc_signal_config_rsp_hid_int ,zero 
+0x5072 026016 increase 2 ,contr 
+0x5073 026017 ifetch 2 ,contr 
+0x5074 026018 iforce null 
+0x5075 026019 branch l2cap_process_one_signal_rtn 
+:      026020 l2cap_proc_signal_config_rsp_sdp:
+0x5076 026021 fetch 1 ,mem_sdp_state 
+0x5077 026022 set1 l2cap_channel_state_rcv_cfg_res ,pdata 
+0x5078 026023 store 1 ,mem_sdp_state 
+0x5079 026024 branch l2cap_process_one_signal_rtn 
+:      026025 l2cap_proc_signal_config_rsp_rfcomm:
+0x507a 026026 fetch 1 ,mem_rfcomm_state 
+0x507b 026027 set1 l2cap_channel_state_rcv_cfg_res ,pdata 
+0x507c 026028 store 1 ,mem_rfcomm_state 
+0x507d 026029 branch l2cap_process_one_signal_rtn 
+:      026030 l2cap_proc_signal_config_rsp_hid_ctrl:
+0x507e 026031 fetch 1 ,mem_hid_control_state 
+0x507f 026032 set1 l2cap_channel_state_rcv_cfg_res ,pdata 
+0x5080 026033 store 1 ,mem_hid_control_state 
+0x5081 026034 branch l2cap_process_one_signal_rtn 
+:      026035 l2cap_proc_signal_config_rsp_hid_int:
+0x5082 026036 fetch 1 ,mem_hid_interrupt_state 
+0x5083 026037 set1 l2cap_channel_state_rcv_cfg_res ,pdata 
+0x5084 026038 store 1 ,mem_hid_interrupt_state 
+0x5085 026039 jam bt_evt_hid_connected ,mem_fifo_temp 
+0x5086 026040 branch ui_ipc_send_event 
+:      026044 l2cap_proc_signal_disconnect_req:
+0x5087 026045 ifetch 1 ,contr 
+0x5088 026046 copy pdata ,queue 
+0x5089 026047 ifetch 2 ,contr 
+0x508a 026048 copy pdata ,rega 
+0x508b 026049 copy regc ,pdata 
+0x508c 026050 isub rega ,regc 
+0x508d 026051 ifetch 2 ,contr 
+0x508e 026052 copy pdata ,rega 
+0x508f 026053 ifetch 2 ,contr 
+0x5090 026054 copy pdata ,timeup 
+0x5091 026055 copy rega ,temp 
+0x5092 026056 call save_cont_pointers 
+0x5093 026057 bpatch patch1f_0 ,mem_patch1f 
+0x5094 026058 setarg l2cap_sdp_channel 
+0x5095 026059 isub temp ,null 
+0x5096 026060 branch l2cap_proc_signal_disconnect_req_sdp ,zero 
+0x5097 026061 setarg l2cap_rfcomm_channel 
+0x5098 026062 isub temp ,null 
+0x5099 026063 branch l2cap_proc_signal_disconnect_req_rfcomm ,zero 
+0x509a 026064 setarg l2cap_hid_control_channel 
+0x509b 026065 isub temp ,null 
+0x509c 026066 branch l2cap_proc_signal_disconnect_req_hid_ctrl ,zero 
+0x509d 026067 setarg l2cap_hid_interrupt_channel 
+0x509e 026068 isub temp ,null 
+0x509f 026069 branch l2cap_proc_signal_disconnect_req_hid_int ,zero 
+0x50a0 026070 call l2cap_reject_command 
+0x50a1 026071 branch l2cap_proc_signal_disconnect_req_err_rtn 
+:      026072 l2cap_proc_signal_disconnect_req_hid_ctrl:
+0x50a2 026073 copy timeup ,temp 
+0x50a3 026074 fetch 2 ,mem_hid_ctrl_remote_cid 
+0x50a4 026075 isub temp ,null 
+0x50a5 026076 branch l2cap_disconnect_hid_control_now ,zero 
+0x50a6 026077 call l2cap_reject_command 
+0x50a7 026078 branch l2cap_proc_signal_disconnect_req_err_rtn 
+:      026079 l2cap_proc_signal_disconnect_req_hid_int:
+0x50a8 026080 copy timeup ,temp 
+0x50a9 026081 fetch 2 ,mem_hid_int_remote_cid 
+0x50aa 026082 isub temp ,null 
+0x50ab 026083 branch l2cap_disconnect_hid_interrupt_now ,zero 
+0x50ac 026084 call l2cap_reject_command 
+0x50ad 026085 branch l2cap_proc_signal_disconnect_req_err_rtn 
+:      026087 l2cap_proc_signal_disconnect_req_sdp:
+0x50ae 026088 copy timeup ,temp 
+0x50af 026089 fetch 2 ,mem_sdp_remote_cid 
+0x50b0 026090 isub temp ,null 
+0x50b1 026091 branch l2cap_disconnect_sdp_now ,zero 
+0x50b2 026092 call l2cap_reject_command 
+0x50b3 026093 branch l2cap_proc_signal_disconnect_req_err_rtn 
+:      026094 l2cap_disconnect_hid_control_now:
+0x50b4 026095 call l2cap_reset_hid_ctrl_state 
+0x50b5 026096 branch l2cap_send_disconnect_rsp_pkt 
+:      026097 l2cap_disconnect_hid_interrupt_now:
+0x50b6 026098 call l2cap_reset_hid_int_state 
+0x50b7 026099 fetch 2 ,mem_hid_ctrl_remote_cid 
+0x50b8 026100 branch l2cap_send_disconnect_rsp_pkt ,blank 
+0x50b9 026108 branch l2cap_send_disconnect_rsp_pkt 
+:      026110 l2cap_disconnect_sdp_now:
+0x50ba 026111 call l2cap_reset_sdp_channel_state 
+0x50bb 026112 fetch 1 ,mem_upper_sm_ss 
+0x50bc 026113 nbranch l2cap_send_disconnect_rsp_pkt ,blank 
+0x50bd 026116 branch l2cap_send_disconnect_rsp_pkt 
+:      026117 l2cap_proc_signal_disconnect_req_rfcomm:
+0x50be 026118 copy timeup ,temp 
+0x50bf 026119 fetch 2 ,mem_rfcomm_remote_cid 
+0x50c0 026120 isub temp ,null 
+0x50c1 026121 branch l2cap_disconnect_rfcomm_now ,zero 
+0x50c2 026122 call l2cap_reject_command 
+0x50c3 026123 branch l2cap_proc_signal_disconnect_req_err_rtn 
+:      026124 l2cap_disconnect_rfcomm_now:
+0x50c4 026125 call l2cap_reset_rfcomm_channel_state 
+0x50c5 026126 branch l2cap_send_disconnect_rsp_pkt 
+:      026127 l2cap_send_disconnect_rsp_pkt:
+0x50c6 026128 call load_cont_pointers 
+0x50c7 026129 setarg signal_disconnect_rsp 
+0x50c8 026130 istore 1 ,contw 
+0x50c9 026131 copy queue ,pdata 
+0x50ca 026132 istore 1 ,contw 
+0x50cb 026133 setarg 0x0004 
+0x50cc 026134 istore 2 ,contw 
+0x50cd 026135 copy rega ,pdata 
+0x50ce 026136 istore 2 ,contw 
+0x50cf 026137 copy timeup ,pdata 
+0x50d0 026138 istore 2 ,contw 
+0x50d1 026139 force 8 ,pdata 
+0x50d2 026140 branch l2cap_proc_signal_disconnect_req_rtn 
+:      026141 l2cap_proc_signal_disconnect_req_err_rtn:
+0x50d3 026142 call load_cont_pointers 
+0x50d4 026143 branch l2cap_proc_signal_disconnect_req_rtn 
+:      026144 l2cap_proc_signal_disconnect_req_rtn:
+0x50d5 026145 iadd regb ,regb 
+0x50d6 026146 branch l2cap_process_one_signal_rtn 
+:      026147 l2cap_proc_signal_disconnect_rsp:
+0x50d7 026148 ifetch 1 ,contr 
+0x50d8 026149 copy pdata ,queue 
+0x50d9 026150 ifetch 2 ,contr 
+0x50da 026151 copy pdata ,rega 
+0x50db 026152 copy regc ,pdata 
+0x50dc 026153 isub rega ,regc 
+0x50dd 026154 ifetch 2 ,contr 
+0x50de 026155 copy pdata ,timeup 
+0x50df 026156 ifetch 2 ,contr 
+0x50e0 026157 copy pdata ,temp 
+0x50e1 026158 call save_cont_pointers 
+0x50e2 026159 bpatch patch1f_1 ,mem_patch1f 
+0x50e3 026160 setarg l2cap_sdp_channel 
+0x50e4 026161 isub temp ,null 
+0x50e5 026162 branch l2cap_proc_signal_disconnect_rsp_sdp ,zero 
+0x50e6 026163 setarg l2cap_rfcomm_channel 
+0x50e7 026164 isub temp ,null 
+0x50e8 026165 branch l2cap_proc_signal_disconnect_rsp_rfcomm ,zero 
+0x50e9 026166 setarg l2cap_hid_control_channel 
+0x50ea 026167 isub temp ,null 
+0x50eb 026168 branch l2cap_proc_signal_disconnect_rsp_hid_ctrl ,zero 
+0x50ec 026169 setarg l2cap_hid_interrupt_channel 
+0x50ed 026170 isub temp ,null 
+0x50ee 026171 branch l2cap_proc_signal_disconnect_rsp_hid_int ,zero 
+0x50ef 026172 call l2cap_reject_command 
+0x50f0 026173 branch l2cap_proc_signal_disconnect_rsp_err_rtn 
+:      026174 l2cap_proc_signal_disconnect_rsp_sdp:
+0x50f1 026175 copy temp ,rega 
+0x50f2 026176 copy timeup ,temp 
+0x50f3 026177 fetch 2 ,mem_sdp_remote_cid 
+0x50f4 026178 isub temp ,null 
+0x50f5 026179 call l2cap_reset_sdp_channel_state ,zero 
+0x50f6 026180 branch l2cap_proc_signal_disconnect_rsp_rtn 
+:      026181 l2cap_proc_signal_disconnect_rsp_rfcomm:
+0x50f7 026182 copy temp ,rega 
+0x50f8 026183 copy timeup ,temp 
+0x50f9 026184 fetch 2 ,mem_rfcomm_remote_cid 
+0x50fa 026185 isub temp ,null 
+0x50fb 026186 call l2cap_reset_rfcomm_channel_state ,zero 
+0x50fc 026187 branch l2cap_proc_signal_disconnect_rsp_rtn 
+:      026188 l2cap_proc_signal_disconnect_rsp_hid_ctrl:
+0x50fd 026189 copy temp ,rega 
+0x50fe 026190 copy timeup ,temp 
+0x50ff 026191 fetch 2 ,mem_hid_ctrl_remote_cid 
+0x5100 026192 isub temp ,null 
+0x5101 026193 call l2cap_reset_hid_ctrl_state ,zero 
+0x5102 026194 branch l2cap_proc_signal_disconnect_rsp_rtn 
+:      026195 l2cap_proc_signal_disconnect_rsp_hid_int:
+0x5103 026196 copy temp ,rega 
+0x5104 026197 copy timeup ,temp 
+0x5105 026198 fetch 2 ,mem_hid_int_remote_cid 
+0x5106 026199 isub temp ,null 
+0x5107 026200 call l2cap_reset_hid_int_state ,zero 
+0x5108 026201 branch l2cap_proc_signal_disconnect_rsp_rtn 
+:      026202 l2cap_proc_signal_disconnect_rsp_rtn:
+0x5109 026203 call load_cont_pointers 
+0x510a 026204 branch l2cap_process_one_signal_rtn 
+:      026205 l2cap_proc_signal_disconnect_rsp_err_rtn:
+0x510b 026206 branch l2cap_process_one_signal_rtn 
+:      026209 l2cap_proc_signal_echo_req:
+0x510c 026210 ifetch 1 ,contr 
+0x510d 026211 copy pdata ,queue 
+0x510e 026212 ifetch 2 ,contr 
+0x510f 026213 copy pdata ,rega 
+0x5110 026214 iadd contr ,contr 
+0x5111 026215 setarg 9 
+0x5112 026216 istore 1 ,contw 
+0x5113 026217 copy queue ,pdata 
+0x5114 026218 istore 1 ,contw 
+0x5115 026219 force 0x0000 ,pdata 
+0x5116 026220 istore 2 ,contw 
+0x5117 026221 force 4 ,pdata 
+0x5118 026222 iadd regb ,regb 
+0x5119 026223 copy regc ,pdata 
+0x511a 026224 isub rega ,regc 
+0x511b 026225 branch l2cap_process_one_signal_rtn 
+:      026226 l2cap_proc_signal_echo_rsp:
+0x511c 026227 branch l2cap_process_one_signal_rtn 
+:      026229 l2cap_proc_signal_info_rsp:
+0x511d 026230 branch l2cap_process_one_signal_rtn 
+:      026231 l2cap_reject_command:
+0x511e 026232 force 0 ,regb 
+0x511f 026233 call l2cap_get_signal_tx_payload 
+0x5120 026234 setarg signal_cmd_reject 
+0x5121 026235 istore 1 ,contw 
+0x5122 026236 copy queue ,pdata 
+0x5123 026237 istore 1 ,contw 
+0x5124 026238 setarg 2 
+0x5125 026239 istore 2 ,contw 
+0x5126 026240 setarg cmd_not_understood 
+0x5127 026241 istore 2 ,contw 
+0x5128 026242 increase 6 ,regb 
+0x5129 026243 arg 4 ,regc 
+0x512a 026244 branch l2cap_process_one_signal_rtn 
+:      026248 l2cap_reset_rfcomm_channel_state:
+0x512b 026249 setarg 0 
+0x512c 026250 store 2 ,mem_rfcomm_tx_pkt_length 
+0x512d 026251 store 2 ,mem_rfcomm_remote_cid 
+0x512e 026252 jam 0 ,mem_rfcomm_state 
+0x512f 026253 rtn 
+:      026254 l2cap_reset_sdp_channel_state:
+0x5130 026255 setarg 0 
+0x5131 026256 store 2 ,mem_sdp_tx_pkt_length 
+0x5132 026257 store 2 ,mem_sdp_remote_cid 
+0x5133 026258 jam 0 ,mem_sdp_state 
+0x5134 026259 rtn 
+:      026260 l2cap_reset_hid_ctrl_state:
+0x5135 026261 setarg 0 
+0x5136 026262 store 2 ,mem_hid_ctrl_remote_cid 
+0x5137 026263 jam 0 ,mem_hid_control_state 
+0x5138 026264 fetch 1 ,mem_hid_interrupt_state 
+0x5139 026265 beq 0 ,l2cap_reset_hid_disconnected 
+0x513a 026266 rtn 
+:      026268 l2cap_reset_hid_int_state:
+0x513b 026269 setarg 0 
+0x513c 026270 store 2 ,mem_hid_int_remote_cid 
+0x513d 026271 jam 0 ,mem_hid_interrupt_state 
+0x513e 026272 fetch 1 ,mem_hid_control_state 
+0x513f 026273 beq 0 ,l2cap_reset_hid_disconnected 
+0x5140 026274 rtn 
+:      026276 l2cap_reset_hid_disconnected:
+0x5141 026277 jam bt_evt_hid_disconnected ,mem_fifo_temp 
+0x5142 026278 branch ui_ipc_send_event 
+:      026280 l2cap_disconnect_interrupt_req:
+0x5143 026281 fetch 1 ,mem_control_tasks 
+0x5144 026282 set0 l2cap_disconnect_interrupt ,pdata 
+0x5145 026283 store 1 ,mem_control_tasks 
+0x5146 026284 fetch 2 ,mem_hid_int_remote_cid 
+0x5147 026285 rtn blank 
+0x5148 026286 call l2cap_malloc_signal_channel 
+0x5149 026287 fetch 2 ,mem_hid_int_remote_cid 
+0x514a 026288 copy pdata ,rega 
+0x514b 026289 force l2cap_hid_interrupt_channel ,regb 
+0x514c 026290 branch l2cap_generate_disconnect_req 
+:      026291 l2cap_disconnect_control_req:
+0x514d 026292 fetch 1 ,mem_control_tasks 
+0x514e 026293 set0 l2cap_disconnect_control ,pdata 
+0x514f 026294 store 1 ,mem_control_tasks 
+0x5150 026295 fetch 2 ,mem_hid_ctrl_remote_cid 
+0x5151 026296 rtn blank 
+0x5152 026297 call l2cap_malloc_signal_channel 
+0x5153 026298 fetch 2 ,mem_hid_ctrl_remote_cid 
+0x5154 026299 copy pdata ,rega 
+0x5155 026300 force l2cap_hid_control_channel ,regb 
+:      026301 l2cap_generate_disconnect_req:
+0x5156 026302 call l2cap_get_req_id 
+0x5157 026303 call l2cap_get_signal_tx_payload 
+0x5158 026304 force signal_disconnect_req ,pdata 
+0x5159 026305 istore 1 ,contw 
+0x515a 026306 fetch 1 ,mem_ml2cap_comm_id 
+0x515b 026307 istore 1 ,contw 
+0x515c 026308 setarg 0x0004 
+0x515d 026309 istore 2 ,contw 
+0x515e 026310 copy rega ,pdata 
+0x515f 026311 istore 2 ,contw 
+0x5160 026312 copy regb ,pdata 
+0x5161 026313 istore 2 ,contw 
+0x5162 026314 force 0x08 ,temp 
+0x5163 026315 branch ml2cap_send_signal 
+:      026317 ml2cap_send_signal_connect_req:
+0x5164 026318 bpatch patch1f_2 ,mem_patch1f 
+0x5165 026319 call l2cap_get_req_id 
+0x5166 026320 call l2cap_get_signal_tx_payload 
+0x5167 026321 setarg signal_connect_req 
+0x5168 026322 istore 1 ,contw 
+0x5169 026323 fetch 1 ,mem_ml2cap_comm_id 
+0x516a 026324 istore 1 ,contw 
+0x516b 026325 setarg 0x0004 
+0x516c 026326 istore 2 ,contw 
+0x516d 026327 copy temp ,pdata 
+0x516e 026328 istore 2 ,contw 
+0x516f 026329 copy timeup ,pdata 
+0x5170 026330 istore 2 ,contw 
+0x5171 026331 arg 8 ,temp 
+0x5172 026332 branch ml2cap_send_signal 
+:      026333 ml2cap_send_signal_config_req:
+0x5173 026334 bpatch patch1f_3 ,mem_patch1f 
+0x5174 026335 call l2cap_get_req_id 
+0x5175 026336 call l2cap_get_signal_tx_payload 
+0x5176 026337 setarg signal_config_req 
+0x5177 026338 istore 1 ,contw 
+0x5178 026339 fetch 1 ,mem_ml2cap_comm_id 
+0x5179 026340 istore 1 ,contw 
+0x517a 026341 setarg 0x0008 
+0x517b 026342 istore 2 ,contw 
+0x517c 026344 copy temp ,pdata 
+0x517d 026346 istore 2 ,contw 
+0x517e 026347 setarg 0x0000 
+0x517f 026348 istore 2 ,contw 
+0x5180 026349 setarg 0x01 
+0x5181 026350 istore 1 ,contw 
+0x5182 026351 setarg 0x02 
+0x5183 026352 istore 1 ,contw 
+0x5184 026353 setarg l2cap_config_mtu_rfcomm 
+0x5185 026354 istore 2 ,contw 
+0x5186 026355 arg 0xc ,temp 
+0x5187 026356 branch ml2cap_send_signal 
+:      026357 ml2cap_send_signal_disconn_req:
+0x5188 026358 bpatch patch1f_4 ,mem_patch1f 
+0x5189 026359 call l2cap_get_req_id 
+0x518a 026360 call l2cap_get_signal_tx_payload 
+0x518b 026361 setarg signal_disconnect_req 
+0x518c 026362 istore 1 ,contw 
+0x518d 026363 fetch 1 ,mem_ml2cap_comm_id 
+0x518e 026364 increase 1 ,pdata 
+0x518f 026365 copy contw ,rega 
+0x5190 026366 store 1 ,mem_ml2cap_comm_id 
+0x5191 026367 copy rega ,contw 
+0x5192 026368 istore 1 ,contw 
+0x5193 026369 setarg 0x0004 
+0x5194 026370 istore 2 ,contw 
+0x5195 026371 copy temp ,pdata 
+0x5196 026372 istore 2 ,contw 
+0x5197 026373 copy timeup ,pdata 
+0x5198 026374 istore 2 ,contw 
+0x5199 026375 arg 0x8 ,temp 
+:      026378 ml2cap_send_signal:
+0x519a 026379 storet 2 ,mem_l2cap_signal_tx_length 
+0x519b 026380 copy temp ,pdata 
+0x519c 026381 branch l2cap_malloc_discard ,blank 
+0x519d 026382 call l2cap_get_signal_tx_buff 
+0x519e 026383 fetch 2 ,mem_l2cap_signal_tx_length 
+0x519f 026384 istore 2 ,contw 
+0x51a0 026385 force l2cap_signal_channel ,pdata 
+0x51a1 026386 istore 2 ,contw 
+0x51a2 026387 rtn 
+:      026389 msdp_send_req_done:
+0x51a3 026390 fetch 2 ,mem_sdp_tx_pkt_length 
+0x51a4 026391 branch assert ,blank 
+0x51a5 026392 call l2cap_get_sdp_tx_buff 
+0x51a6 026393 fetch 2 ,mem_sdp_tx_pkt_length 
+0x51a7 026394 istore 2 ,contw 
+0x51a8 026395 fetch 2 ,mem_sdp_remote_cid 
+0x51a9 026396 istore 2 ,contw 
+0x51aa 026397 rtn 
+:      026398 ml2cap_rx_multiplexing:
+0x51ab 026399 fetch 2 ,mem_l2cap_rx_pkt_length 
+0x51ac 026400 branch l2cap_rx_reset_state ,blank 
+0x51ad 026401 bpatch patch1f_5 ,mem_patch1f 
+0x51ae 026402 fetch 1 ,mem_l2cap_rx_cid 
+0x51af 026403 beq l2cap_signal_channel ,ml2cap_call_proc_signal 
+0x51b0 026404 beq l2cap_sdp_channel ,ml2cap_call_proc_sdp 
+0x51b1 026405 beq l2cap_rfcomm_channel ,l2cap_call_proc_rfcomm 
+0x51b2 026406 beq l2cap_hid_control_channel ,l2cap_call_proc_hid 
+0x51b3 026407 beq l2cap_hid_interrupt_channel ,l2cap_call_proc_hid 
+0x51b4 026408 branch l2cap_rx_reset_state 
+:      026410 ml2cap_call_proc_signal:
+0x51b5 026411 call l2cap_malloc_signal_channel 
+0x51b6 026412 force 0 ,regb 
+0x51b7 026413 call l2cap_get_signal_tx_payload 
+0x51b8 026414 copy pdata ,contw 
+0x51b9 026415 fetch 2 ,mem_l2cap_rx_pkt_length 
+0x51ba 026416 copy pdata ,regc 
+0x51bb 026417 fetch 2 ,mem_l2cap_payload_ptr 
+0x51bc 026418 iforce contr 
+:      026419 ml2cap_proc_one_comm_loop:
+0x51bd 026420 call ml2cap_proc_one_comm 
+0x51be 026421 increase -4 ,regc 
+0x51bf 026422 nbranch ml2cap_proc_one_comm_loop ,zero 
+0x51c0 026423 copy regb ,temp 
+0x51c1 026424 call ml2cap_send_signal 
+0x51c2 026425 branch l2cap_rx_reset_state 
+:      026427 ml2cap_proc_one_comm:
+0x51c3 026428 ifetch 1 ,contr 
+0x51c4 026429 beq signal_connect_req ,ml2cap_proc_signal_connect_req 
+0x51c5 026430 beq signal_cmd_reject ,ml2cap_proc_signal_cmd_reject 
+0x51c6 026431 beq signal_connect_rsp ,ml2cap_proc_signal_connect_rsp 
+0x51c7 026432 beq signal_config_rsp ,ml2cap_proc_signal_config_rsp 
+0x51c8 026433 beq signal_config_req ,ml2cap_proc_signal_config_req 
+0x51c9 026434 beq signal_disconnect_rsp ,ml2cap_proc_signal_disconn_rsp 
+0x51ca 026435 beq signal_disconnect_req ,ml2cap_proc_signal_disconn_req 
+0x51cb 026436 beq signal_echo_req ,l2cap_proc_signal_echo_req 
+0x51cc 026437 beq signal_info_req ,ml2cap_proc_signal_info_req 
+0x51cd 026438 branch ml2cap_proc_send_reject 
+:      026440 ml2cap_proc_signal_connect_req:
+0x51ce 026441 call save_cont_pointers 
+0x51cf 026443 call load_cont_pointers 
+0x51d0 026444 branch l2cap_proc_signal_connect_req 
+:      026445 ml2cap_proc_signal_cmd_reject:
+0x51d1 026446 ifetch 1 ,contr 
+0x51d2 026447 copy pdata ,queue 
+0x51d3 026448 ifetch 2 ,contr 
+0x51d4 026449 copy pdata ,rega 
+0x51d5 026450 copy regc ,pdata 
+0x51d6 026451 isub rega ,regc 
+:      026452 mvptr:
+0x51d7 026453 ifetch 1 ,contr 
+0x51d8 026454 increase -1 ,rega 
+0x51d9 026455 nbranch mvptr ,zero 
+0x51da 026456 rtn 
+:      026457 ml2cap_proc_signal_connect_rsp:
+0x51db 026458 ifetch 1 ,contr 
+0x51dc 026459 copy pdata ,queue 
+0x51dd 026460 ifetch 2 ,contr 
+0x51de 026461 copy pdata ,rega 
+0x51df 026462 ifetch 2 ,contr 
+0x51e0 026463 copy pdata ,timeup 
+0x51e1 026464 ifetch 2 ,contr 
+0x51e2 026465 copy pdata ,temp 
+0x51e3 026466 ifetch 2 ,contr 
+0x51e4 026467 sub pdata ,0 ,null 
+0x51e5 026468 branch ml2cap_proc_signal_connect_rsp_sucessful ,zero 
+0x51e6 026469 beq l2cap_connect_refused_psm_unsupported ,ml2cap_proc_signal_connect_refused_result 
+0x51e7 026470 beq l2cap_connect_refused_no_resources ,ml2cap_proc_signal_connect_refused_result 
+0x51e8 026471 branch ml2cap_proc_signal_connect_rsp_mnosucc 
+:      026472 ml2cap_proc_signal_connect_refused_result:
+0x51e9 026473 jam bt_evt_ml2cap_conn_refused ,mem_fifo_temp 
+0x51ea 026474 call ui_ipc_send_event 
+:      026475 ml2cap_proc_signal_connect_rsp_mnosucc:
+0x51eb 026476 ifetch 2 ,contr 
+0x51ec 026477 branch mnosucc 
+:      026478 ml2cap_proc_signal_connect_rsp_sucessful:
+0x51ed 026479 call save_cont_pointers 
+0x51ee 026483 bpatch patch1f_6 ,mem_patch1f 
+0x51ef 026484 setarg l2cap_sdp_channel 
+0x51f0 026485 isub temp ,null 
+0x51f1 026486 branch ml2cap_proc_signal_connect_rsp_sdp ,zero 
+0x51f2 026487 setarg l2cap_rfcomm_channel 
+0x51f3 026488 isub temp ,null 
+0x51f4 026489 branch ml2cap_proc_signal_connect_rsp_rfcomm ,zero 
+0x51f5 026490 setarg l2cap_hid_interrupt_channel 
+0x51f6 026491 isub temp ,null 
+0x51f7 026492 branch ml2cap_proc_signal_connect_rsp_hid_int ,zero 
+0x51f8 026493 setarg l2cap_hid_control_channel 
+0x51f9 026494 isub temp ,null 
+0x51fa 026495 branch ml2cap_proc_signal_connect_rsp_hid_ctrl ,zero 
+0x51fb 026496 branch mnosucc 
+:      026497 ml2cap_proc_signal_connect_rsp_sdp:
+0x51fc 026498 copy timeup ,pdata 
+0x51fd 026499 store 2 ,mem_sdp_remote_cid 
+0x51fe 026500 fetch 1 ,mem_sdp_state 
+0x51ff 026501 set1 l2cap_channel_state_conn_res ,pdata 
+0x5200 026502 store 1 ,mem_sdp_state 
+0x5201 026503 branch mnosucc1 
+:      026504 ml2cap_proc_signal_connect_rsp_rfcomm:
+0x5202 026505 copy timeup ,pdata 
+0x5203 026506 store 2 ,mem_rfcomm_remote_cid 
+0x5204 026507 fetch 1 ,mem_rfcomm_state 
+0x5205 026508 set1 l2cap_channel_state_conn_res ,pdata 
+0x5206 026509 store 1 ,mem_rfcomm_state 
+0x5207 026510 branch mnosucc1 
+:      026511 ml2cap_proc_signal_connect_rsp_hid_ctrl:
+0x5208 026512 copy timeup ,pdata 
+0x5209 026513 store 2 ,mem_hid_ctrl_remote_cid 
+0x520a 026514 fetch 1 ,mem_hid_control_state 
+0x520b 026515 set1 l2cap_channel_state_conn_res ,pdata 
+0x520c 026516 store 1 ,mem_hid_control_state 
+0x520d 026517 branch mnosucc1 
+:      026518 ml2cap_proc_signal_connect_rsp_hid_int:
+0x520e 026519 copy timeup ,pdata 
+0x520f 026520 store 2 ,mem_hid_int_remote_cid 
+0x5210 026521 fetch 1 ,mem_hid_interrupt_state 
+0x5211 026522 set1 l2cap_channel_state_conn_res ,pdata 
+0x5212 026523 store 1 ,mem_hid_interrupt_state 
+:      026526 mnosucc1:
+0x5213 026527 call load_cont_pointers 
+:      026528 mnosucc:
+0x5214 026529 copy regc ,pdata 
+0x5215 026530 isub rega ,regc 
+0x5216 026531 rtn 
+:      026533 ml2cap_proc_signal_config_rsp:
+0x5217 026534 ifetch 1 ,contr 
+0x5218 026535 copy pdata ,queue 
+0x5219 026536 ifetch 2 ,contr 
+0x521a 026537 copy pdata ,rega 
+0x521b 026538 copy regc ,pdata 
+0x521c 026539 isub rega ,regc 
+0x521d 026540 ifetch 2 ,contr 
+0x521e 026541 copy pdata ,timeup 
+0x521f 026542 ifetch 2 ,contr 
+0x5220 026543 ifetch 2 ,contr 
+0x5221 026544 nbranch mcrsdone1 ,blank 
+0x5222 026545 call save_cont_pointers 
+0x5223 026549 copy timeup ,temp 
+0x5224 026550 bpatch patch1f_7 ,mem_patch1f 
+0x5225 026551 setarg l2cap_sdp_channel 
+0x5226 026552 isub temp ,null 
+0x5227 026553 branch ml2cap_proc_signal_config_rsp_sdp ,zero 
+0x5228 026554 setarg l2cap_rfcomm_channel 
+0x5229 026555 isub temp ,null 
+0x522a 026556 branch ml2cap_proc_signal_config_rsp_rfcomm ,zero 
+0x522b 026557 setarg l2cap_hid_control_channel 
+0x522c 026558 isub temp ,null 
+0x522d 026559 branch ml2cap_proc_signal_config_rsp_hid_ctrl ,zero 
+0x522e 026560 setarg l2cap_hid_interrupt_channel 
+0x522f 026561 isub temp ,null 
+0x5230 026562 branch ml2cap_proc_signal_config_rsp_hid_int ,zero 
+:      026563 ml2cap_proc_signal_config_rsp_sdp:
+0x5231 026564 fetch 1 ,mem_sdp_state 
+0x5232 026565 set1 l2cap_channel_state_rcv_cfg_res ,pdata 
+0x5233 026566 store 1 ,mem_sdp_state 
+0x5234 026567 rtn 
+:      026568 ml2cap_proc_signal_config_rsp_rfcomm:
+0x5235 026569 fetch 1 ,mem_rfcomm_state 
+0x5236 026570 set1 l2cap_channel_state_rcv_cfg_res ,pdata 
+0x5237 026571 store 1 ,mem_rfcomm_state 
+0x5238 026572 rtn 
+:      026573 ml2cap_proc_signal_config_rsp_hid_ctrl:
+0x5239 026574 fetch 1 ,mem_hid_control_state 
+0x523a 026575 set1 l2cap_channel_state_rcv_cfg_res ,pdata 
+0x523b 026576 store 1 ,mem_hid_control_state 
+0x523c 026577 rtn 
+:      026578 ml2cap_proc_signal_config_rsp_hid_int:
+0x523d 026579 fetch 1 ,mem_hid_interrupt_state 
+0x523e 026580 set1 l2cap_channel_state_rcv_cfg_res ,pdata 
+0x523f 026581 store 1 ,mem_hid_interrupt_state 
+0x5240 026582 jam bt_evt_hid_connected ,mem_fifo_temp 
+0x5241 026583 branch ui_ipc_send_event 
+:      026586 mcfrsdone:
+0x5242 026587 call load_cont_pointers 
+:      026588 mcrsdone1:
+0x5243 026589 increase -6 ,rega 
+:      026590 mloop2:
+0x5244 026591 branch mcrsdone ,zero 
+0x5245 026592 increase 1 ,contr 
+0x5246 026593 increase -1 ,rega 
+0x5247 026594 branch mloop2 
+:      026595 mcrsdone:
+0x5248 026596 rtn 
+:      026597 ml2cap_proc_signal_config_req:
+0x5249 026598 ifetch 1 ,contr 
+0x524a 026599 copy pdata ,queue 
+0x524b 026600 ifetch 2 ,contr 
+0x524c 026601 copy pdata ,rega 
+0x524d 026602 copy regc ,pdata 
+0x524e 026603 isub rega ,regc 
+0x524f 026604 ifetch 2 ,contr 
+0x5250 026605 increase 2 ,contr 
+0x5251 026606 copy pdata ,temp 
+0x5252 026607 setarg signal_config_rsp 
+0x5253 026608 istore 1 ,contw 
+0x5254 026609 copy queue ,pdata 
+0x5255 026610 istore 1 ,contw 
+0x5256 026611 increase 2 ,rega 
+0x5257 026612 copy rega ,pdata 
+0x5258 026613 istore 2 ,contw 
+0x5259 026614 call save_cont_pointers 
+0x525a 026615 bpatchx patch20_0 ,mem_patch20 
+0x525b 026616 setarg l2cap_sdp_channel 
+0x525c 026617 isub temp ,null 
+0x525d 026618 branch ml2cap_proc_signal_config_req_sdp ,zero 
+0x525e 026619 setarg l2cap_rfcomm_channel 
+0x525f 026620 isub temp ,null 
+0x5260 026621 branch ml2cap_proc_signal_config_req_rfcomm ,zero 
+0x5261 026622 setarg l2cap_hid_control_channel 
+0x5262 026623 isub temp ,null 
+0x5263 026624 branch ml2cap_proc_signal_config_req_hid_ctrl ,zero 
+0x5264 026625 setarg l2cap_hid_interrupt_channel 
+0x5265 026626 isub temp ,null 
+0x5266 026627 branch ml2cap_proc_signal_config_req_hid_int ,zero 
+0x5267 026628 branch mcfgrq_done 
+:      026629 ml2cap_proc_signal_config_req_sdp:
+0x5268 026630 fetch 1 ,mem_sdp_state 
+0x5269 026631 set1 l2cap_channel_state_rcv_cfg_req ,pdata 
+0x526a 026632 set1 l2cap_channel_state_snd_cfg_res ,pdata 
+0x526b 026633 store 1 ,mem_sdp_state 
+0x526c 026634 bbit1 l2cap_channel_state_snd_cfg_req ,ml2cap_proc_signal_config_req_sdp_nsndreq 
+0x526d 026635 fetcht 1 ,mem_control_tasks 
+0x526e 026636 set1 l2cap_init_config_req ,temp 
+0x526f 026637 storet 1 ,mem_control_tasks 
+0x5270 026638 copy queue ,pdata 
+0x5271 026639 increase 1 ,pdata 
+0x5272 026640 store 1 ,mem_config_identifier 
+0x5273 026641 fetch 1 ,mem_sdp_state 
+0x5274 026642 set1 l2cap_channel_state_snd_cfg_req ,pdata 
+0x5275 026643 store 1 ,mem_sdp_state 
+:      026644 ml2cap_proc_signal_config_req_sdp_nsndreq:
+0x5276 026645 fetch 2 ,mem_sdp_remote_cid 
+0x5277 026646 store 2 ,mem_config_req_dest_cid 
+0x5278 026647 branch mcfgrq_done 
+:      026648 ml2cap_proc_signal_config_req_rfcomm:
+0x5279 026649 fetch 1 ,mem_rfcomm_state 
+0x527a 026650 set1 l2cap_channel_state_rcv_cfg_req ,pdata 
+0x527b 026651 set1 l2cap_channel_state_snd_cfg_res ,pdata 
+0x527c 026652 store 1 ,mem_rfcomm_state 
+0x527d 026653 fetch 2 ,mem_rfcomm_remote_cid 
+0x527e 026654 branch mcfgrq_done 
+:      026655 ml2cap_proc_signal_config_req_hid_ctrl:
+0x527f 026656 fetch 1 ,mem_hid_control_state 
+0x5280 026657 set1 l2cap_channel_state_rcv_cfg_req ,pdata 
+0x5281 026658 set1 l2cap_channel_state_snd_cfg_res ,pdata 
+0x5282 026659 store 1 ,mem_hid_control_state 
+0x5283 026660 fetch 2 ,mem_hid_ctrl_remote_cid 
+0x5284 026661 branch mcfgrq_done 
+:      026662 ml2cap_proc_signal_config_req_hid_int:
+0x5285 026663 fetch 1 ,mem_hid_interrupt_state 
+0x5286 026664 set1 l2cap_channel_state_rcv_cfg_req ,pdata 
+0x5287 026665 set1 l2cap_channel_state_snd_cfg_res ,pdata 
+0x5288 026666 store 1 ,mem_hid_interrupt_state 
+0x5289 026667 fetch 2 ,mem_hid_int_remote_cid 
+:      026670 mcfgrq_done:
+0x528a 026671 copy pdata ,timeup 
+0x528b 026672 call load_cont_pointers 
+0x528c 026674 copy timeup ,pdata 
+0x528d 026676 istore 2 ,contw 
+0x528e 026677 force 0x0000 ,pdata 
+0x528f 026678 istore 2 ,contw 
+0x5290 026679 force 0x0000 ,pdata 
+0x5291 026680 istore 2 ,contw 
+0x5292 026681 force 10 ,pdata 
+0x5293 026682 iadd regb ,regb 
+0x5294 026683 increase -6 ,rega 
+:      026684 mloop1:
+0x5295 026685 branch mcrqdone ,zero 
+0x5296 026686 ifetch 1 ,contr 
+0x5297 026687 istore 1 ,contw 
+0x5298 026688 increase 1 ,regb 
+0x5299 026689 increase -1 ,rega 
+0x529a 026690 branch mloop1 
+:      026691 mcrqdone:
+0x529b 026692 rtn 
+:      026693 ml2cap_proc_signal_disconn_req:
+0x529c 026694 ifetch 1 ,contr 
+0x529d 026695 copy pdata ,queue 
+0x529e 026696 ifetch 2 ,contr 
+0x529f 026697 copy pdata ,rega 
+0x52a0 026698 copy regc ,pdata 
+0x52a1 026699 isub rega ,regc 
+0x52a2 026701 ifetch 2 ,contr 
+0x52a3 026702 copy pdata ,rega 
+0x52a4 026703 ifetch 2 ,contr 
+0x52a5 026704 copy pdata ,timeup 
+0x52a6 026705 call save_cont_pointers 
+0x52a7 026706 bpatchx patch20_1 ,mem_patch20 
+0x52a8 026707 setarg l2cap_sdp_channel 
+0x52a9 026708 copy rega ,temp 
+0x52aa 026709 isub temp ,null 
+0x52ab 026710 branch ml2cap_proc_signal_disconn_sdp ,zero 
+0x52ac 026711 setarg l2cap_hid_control_channel 
+0x52ad 026712 copy rega ,temp 
+0x52ae 026713 isub temp ,null 
+0x52af 026714 branch ml2cap_proc_signal_disconn_hid_ctrl ,zero 
+0x52b0 026715 setarg l2cap_hid_interrupt_channel 
+0x52b1 026716 copy rega ,temp 
+0x52b2 026717 isub temp ,null 
+0x52b3 026718 branch ml2cap_proc_signal_disconn_hid_int ,zero 
+0x52b4 026719 branch mclsrfc 
+:      026720 ml2cap_proc_signal_disconn_sdp:
+0x52b5 026721 setarg 0x0000 
+0x52b6 026722 store 2 ,mem_sdp_tx_pkt_length 
+0x52b7 026723 store 2 ,mem_sdp_remote_cid 
+0x52b8 026724 store 1 ,mem_sdp_state 
+0x52b9 026725 branch mclssdp 
+:      026726 ml2cap_proc_signal_disconn_hid_ctrl:
+0x52ba 026727 call l2cap_reset_hid_ctrl_state 
+0x52bb 026728 branch mclssdp 
+:      026729 ml2cap_proc_signal_disconn_hid_int:
+0x52bc 026730 call l2cap_reset_hid_int_state 
+0x52bd 026736 branch mclssdp 
+:      026737 mclsrfc:
+0x52be 026738 setarg 0x0000 
+0x52bf 026739 store 2 ,mem_rfcomm_tx_pkt_length 
+:      026740 mclssdp:
+0x52c0 026741 call load_cont_pointers 
+0x52c1 026742 setarg signal_disconnect_rsp 
+0x52c2 026743 istore 1 ,contw 
+0x52c3 026744 copy queue ,pdata 
+0x52c4 026745 istore 1 ,contw 
+0x52c5 026746 setarg 0x0004 
+0x52c6 026747 istore 2 ,contw 
+0x52c7 026748 copy rega ,pdata 
+0x52c8 026749 istore 2 ,contw 
+0x52c9 026750 copy timeup ,pdata 
+0x52ca 026751 istore 2 ,contw 
+0x52cb 026752 force 8 ,pdata 
+0x52cc 026753 iadd regb ,regb 
+0x52cd 026754 rtn 
+:      026756 ml2cap_proc_signal_disconn_rsp:
+0x52ce 026757 ifetch 1 ,contr 
+0x52cf 026758 copy pdata ,queue 
+0x52d0 026759 ifetch 2 ,contr 
+0x52d1 026760 copy pdata ,rega 
+0x52d2 026761 ifetch 2 ,contr 
+0x52d3 026762 copy pdata ,timeup 
+0x52d4 026763 ifetch 2 ,contr 
+0x52d5 026764 copy pdata ,temp 
+0x52d6 026765 call save_cont_pointers 
+0x52d7 026766 bpatchx patch20_2 ,mem_patch20 
+0x52d8 026767 fetch 1 ,mem_ml2cap_comm_id 
+0x52d9 026768 icompare 0xff ,queue 
+0x52da 026769 nbranch mdisdone ,true 
+0x52db 026770 setarg l2cap_sdp_channel 
+0x52dc 026771 isub temp ,null 
+0x52dd 026772 branch ml2cap_proc_signal_disconn_rsp_sdp ,zero 
+0x52de 026773 setarg l2cap_rfcomm_channel 
+0x52df 026774 isub temp ,null 
+0x52e0 026775 branch ml2cap_proc_signal_disconn_rsp_rfcomm ,zero 
+0x52e1 026776 branch mdisdone 
+:      026777 ml2cap_proc_signal_disconn_rsp_sdp:
+0x52e2 026778 jam 0 ,mem_sdp_remote_cid 
+0x52e3 026779 jam 0 ,mem_sdp_state 
+0x52e4 026780 branch mdisdone 
+:      026781 ml2cap_proc_signal_disconn_rsp_rfcomm:
+:      026784 mdisdone:
+0x52e5 026785 call load_cont_pointers 
+0x52e6 026786 copy regc ,pdata 
+0x52e7 026787 isub rega ,regc 
+0x52e8 026788 rtn 
+:      026790 ml2cap_proc_send_reject:
+0x52e9 026791 setarg signal_cmd_reject 
+0x52ea 026792 istore 1 ,contw 
+0x52eb 026793 ifetch 1 ,contr 
+0x52ec 026794 istore 1 ,contw 
+0x52ed 026795 setarg 0x0002 
+0x52ee 026796 istore 2 ,contw 
+0x52ef 026797 setarg 0x0000 
+0x52f0 026798 istore 2 ,contw 
+0x52f1 026799 setarg 0x0006 
+0x52f2 026800 iadd regb ,regb 
+0x52f3 026801 force 4 ,regc 
+0x52f4 026802 rtn 
+:      026805 l2cap_get_req_id:
+0x52f5 026806 fetch 1 ,mem_ml2cap_comm_id 
+0x52f6 026807 increase 1 ,pdata 
+0x52f7 026808 bne 0 ,l2cap_get_req_id_ok 
+0x52f8 026809 increase 1 ,pdata 
+:      026810 l2cap_get_req_id_ok:
+0x52f9 026811 store 1 ,mem_ml2cap_comm_id 
+0x52fa 026812 rtn 
+:      026822 l2cap_malloc:
+:      026823 bt_l2cap_malloc:
+0x52fb 026824 arg mem_tx_buff0 ,regd 
+0x52fc 026825 arg mem_bt_l2cap_tx_buff_size ,rege 
+0x52fd 026826 call enable_user 
+0x52fe 026827 branch host_l2cap_malloc 
+:      026829 ble_l2cap_malloc:
+0x52ff 026830 fetchr regd ,2 ,mem_ble_l2cap_tx_buff0_ptr 
+0x5300 026831 fetchr rege ,2 ,mem_ble_l2cap_tx_buff_size_ptr 
+0x5301 026832 call disable_user 
+0x5302 026833 branch host_l2cap_malloc 
+:      026835 host_l2cap_malloc:
+0x5303 026836 bpatchx patch20_3 ,mem_patch20 
+0x5304 026837 call l2cap_malloc_is_fifo_full 
+0x5305 026838 nbranch assert ,blank 
+0x5306 026839 call l2cap_malloc_get_full_map 
+0x5307 026840 arg 8 ,loopcnt 
+:      026841 host_l2cap_malloc_loop:
+0x5308 026842 fetcht 1 ,mem_used_map 
+0x5309 026843 sub loopcnt ,8 ,queue 
+0x530a 026844 qisolate1 temp 
+0x530b 026845 branch host_l2cap_malloc_next_buffer ,true 
+0x530c 026846 call host_l2cap_malloc_check_buffer_enough 
+0x530d 026847 nbranch host_l2cap_malloc_next_buffer ,positive 
+0x530e 026848 call host_l2cap_malloc_into_fifo 
+0x530f 026849 branch host_l2cap_malloc_succ 
+:      026850 host_l2cap_malloc_next_buffer:
+0x5310 026851 copy rege ,pdata 
+0x5311 026852 iadd regd ,regd 
+0x5312 026853 loop host_l2cap_malloc_loop 
+0x5313 026854 branch assert 
+:      026855 host_l2cap_malloc_succ:
+0x5314 026856 copy regd ,pdata 
+0x5315 026857 copy regd ,contw 
+0x5316 026858 rtn 
+:      026867 host_l2cap_malloc_check_buffer_enough:
+0x5317 026868 bpatchx patch20_4 ,mem_patch20 
+0x5318 026869 sub loopcnt ,8 ,queue 
+0x5319 026870 arg 0 ,temp 
+0x531a 026871 arg 0 ,timeup 
+:      026872 host_l2cap_malloc_check_buffer_enough_loop:
+0x531b 026873 copy queue ,pdata 
+0x531c 026874 beq 8 ,host_l2cap_malloc_check_buffer_enough_end 
+0x531d 026875 fetch 1 ,mem_used_map 
+0x531e 026876 qisolate1 pdata 
+0x531f 026877 branch host_l2cap_malloc_check_buffer_enough_end ,true 
+0x5320 026878 qset1 timeup 
+0x5321 026879 copy rege ,pdata 
+0x5322 026880 iadd temp ,temp 
+0x5323 026881 increase 1 ,queue 
+0x5324 026882 copy rega ,pdata 
+0x5325 026883 isub temp ,null 
+0x5326 026884 branch host_l2cap_malloc_check_buffer_enough_end ,zero 
+0x5327 026885 branch host_l2cap_malloc_check_buffer_enough_loop ,positive 
+:      026886 host_l2cap_malloc_check_buffer_enough_end:
+0x5328 026887 copy temp ,pdata 
+0x5329 026888 isub rega ,null 
+0x532a 026889 nrtn zero 
+0x532b 026890 qset1 timeup 
+0x532c 026891 rtn 
+:      026900 host_l2cap_malloc_into_fifo:
+0x532d 026901 bpatchx patch20_5 ,mem_patch20 
+0x532e 026902 call l2cap_malloc_is_fifo_full 
+0x532f 026903 nbranch assert ,blank 
+0x5330 026904 call l2cap_malloc_is_fifo_empty 
+0x5331 026905 branch host_l2cap_malloc_into_fifo_no_push ,blank 
+0x5332 026906 fetch 9 ,mem_tx_fifo1 
+0x5333 026907 store 9 ,mem_tx_fifo0 
+0x5334 026908 setarg 0 
+0x5335 026909 istore 3 ,contw 
+:      026910 host_l2cap_malloc_into_fifo_no_push:
+0x5336 026911 storer timeup ,1 ,mem_tx_fifo3_map 
+0x5337 026912 storer regd ,2 ,mem_tx_fifo3_ptr 
+0x5338 026913 rtn 
+:      026922 l2cap_malloc_fifo_out:
+0x5339 026923 bpatchx patch20_6 ,mem_patch20 
+0x533a 026924 call l2cap_malloc_fifo_get_first_ptr 
+0x533b 026925 increase 1 ,contr 
+0x533c 026926 ifetch 2 ,contr 
+0x533d 026927 rtn 
+:      026934 l2cap_malloc_free:
+0x533e 026935 bpatchx patch20_7 ,mem_patch20 
+0x533f 026936 call l2cap_malloc_fifo_get_first_ptr 
+0x5340 026937 copy contr ,contw 
+0x5341 026938 copy contr ,temp 
+0x5342 026939 setarg 0 
+0x5343 026940 istore 3 ,contw 
+0x5344 026941 rtn 
+:      026948 l2cap_malloc_discard:
+0x5345 026949 bpatchx patch21_0 ,mem_patch21 
+0x5346 026950 call l2cap_malloc_is_fifo_empty 
+0x5347 026951 branch assert ,blank 
+0x5348 026952 fetch 3 ,mem_tx_fifo2 
+0x5349 026953 store 3 ,mem_tx_fifo3 
+0x534a 026954 fetch 3 ,mem_tx_fifo1 
+0x534b 026955 store 3 ,mem_tx_fifo2 
+0x534c 026956 fetch 3 ,mem_tx_fifo0 
+0x534d 026957 store 3 ,mem_tx_fifo1 
+0x534e 026958 rtn 
+:      026966 l2cap_malloc_is_fifo_full:
+0x534f 026967 bpatchx patch21_1 ,mem_patch21 
+0x5350 026968 fetch 3 ,mem_tx_fifo0 
+0x5351 026969 rtn 
+:      026977 l2cap_malloc_is_fifo_nearly_full:
+0x5352 026978 bpatchx patch21_2 ,mem_patch21 
+0x5353 026979 fetch 3 ,mem_tx_fifo1 
+0x5354 026980 rtn 
+:      026988 l2cap_malloc_is_fifo_empty:
+0x5355 026989 bpatchx patch21_3 ,mem_patch21 
+0x5356 026990 fetch 3 ,mem_tx_fifo3 
+0x5357 026991 rtn 
+:      026998 l2cap_malloc_fifo_get_first_ptr:
+0x5358 026999 call l2cap_malloc_is_fifo_empty 
+0x5359 027000 branch l2cap_malloc_fifo_get_first_ptr_empty ,blank 
+0x535a 027001 arg mem_tx_fifo0 ,contr 
+:      027002 l2cap_malloc_free_loop:
+0x535b 027003 ifetch 3 ,contr 
+0x535c 027004 branch l2cap_malloc_free_loop ,blank 
+:      027005 l2cap_malloc_fifo_get_first_ptr_empty:
+0x535d 027006 increase -3 ,contr 
+0x535e 027007 rtn 
+:      027015 l2cap_malloc_get_full_map:
+0x535f 027016 bpatchx patch21_4 ,mem_patch21 
+0x5360 027017 arg 4 ,loopcnt 
+0x5361 027018 arg mem_tx_fifo0_map ,contr 
+0x5362 027019 arg 0 ,temp 
+:      027020 l2cap_malloc_get_full_map_loop:
+0x5363 027021 ifetch 3 ,contr 
+0x5364 027022 and pdata ,0xff ,pdata 
+0x5365 027023 ior temp ,temp 
+0x5366 027024 loop l2cap_malloc_get_full_map_loop 
+0x5367 027025 storet 1 ,mem_used_map 
+0x5368 027026 rtn 
+:      027029 l2cap_malloc_signal_channel:
+0x5369 027030 bpatchx patch21_5 ,mem_patch21 
+0x536a 027031 arg l2cap_signal_malloc_size ,rega 
+0x536b 027032 call l2cap_malloc 
+0x536c 027033 store 2 ,mem_l2cap_signal_tx_buff_ptr 
+0x536d 027034 increase 4 ,pdata 
+0x536e 027035 store 2 ,mem_l2cap_signal_tx_payload_ptr 
+0x536f 027036 setarg 0 
+0x5370 027037 store 2 ,mem_l2cap_signal_tx_length 
+0x5371 027038 rtn 
+:      027040 l2cap_get_signal_tx_buff:
+0x5372 027041 fetch 2 ,mem_l2cap_signal_tx_buff_ptr 
+0x5373 027042 branch l2cap_util_pdata_to_contw 
+:      027044 l2cap_get_signal_tx_payload:
+0x5374 027045 fetch 2 ,mem_l2cap_signal_tx_payload_ptr 
+0x5375 027046 branch l2cap_util_pdata_to_contw 
+:      027049 l2cap_malloc_sdp_channel:
+0x5376 027050 bpatchx patch21_6 ,mem_patch21 
+0x5377 027051 arg sdp_malloc_size ,rega 
+0x5378 027052 call l2cap_malloc 
+0x5379 027053 store 2 ,mem_sdp_tx_buff_ptr 
+0x537a 027054 increase 4 ,pdata 
+0x537b 027055 store 2 ,mem_sdp_tx_payload_ptr 
+0x537c 027056 setarg 0 
+0x537d 027057 store 2 ,mem_sdp_tx_pkt_length 
+0x537e 027058 rtn 
+:      027060 l2cap_get_sdp_tx_buff:
+0x537f 027061 fetch 2 ,mem_sdp_tx_buff_ptr 
+0x5380 027062 branch l2cap_util_pdata_to_contw 
+:      027064 l2cap_get_sdp_tx_payload:
+0x5381 027065 fetch 2 ,mem_sdp_tx_payload_ptr 
+0x5382 027066 branch l2cap_util_pdata_to_contw 
+:      027069 l2cap_malloc_rfcomm_channel:
+0x5383 027070 bpatchx patch21_7 ,mem_patch21 
+0x5384 027071 call push_stack 
+0x5385 027072 jam rfcomm_malloc_fail ,mem_rfcomm_malloc_fail_flag 
+0x5386 027073 call l2cap_malloc_is_fifo_full 
+0x5387 027074 nrtn blank 
+0x5388 027075 arg rfcomm_malloc_size ,rega 
+0x5389 027076 call l2cap_malloc 
+0x538a 027077 store 2 ,mem_rfcomm_tx_buff_ptr 
+0x538b 027078 increase 4 ,pdata 
+0x538c 027079 store 2 ,mem_rfcomm_tx_payload_ptr 
+0x538d 027080 setarg 0 
+0x538e 027081 store 2 ,mem_rfcomm_tx_pkt_length 
+0x538f 027082 jam rfcomm_malloc_succeed ,mem_rfcomm_malloc_fail_flag 
+0x5390 027083 branch pop_stack 
+:      027085 l2cap_get_rfcomm_tx_buff:
+0x5391 027086 fetch 2 ,mem_rfcomm_tx_buff_ptr 
+0x5392 027087 branch l2cap_util_pdata_to_contw 
+:      027089 l2cap_util_pdata_to_contw:
+0x5393 027090 branch assert ,blank 
+0x5394 027091 copy pdata ,contw 
+0x5395 027092 rtn 
+:      027095 l2cap_lpm_save_calc_len:
+0x5396 027096 bpatchx patch22_0 ,mem_patch22 
+0x5397 027097 arg 0 ,regb 
+0x5398 027098 arg mem_tx_fifo0_map ,rega 
+0x5399 027099 increase -2 ,rega 
+:      027100 l2cap_lpm_save_calc_len_loop:
+0x539a 027101 increase 2 ,rega 
+0x539b 027102 setarg mem_tx_fifo_end 
+0x539c 027103 isub rega ,null 
+0x539d 027104 branch l2cap_lpm_save_calc_len_end ,zero 
+0x539e 027105 ifetch 1 ,rega 
+0x539f 027106 increase 1 ,rega 
+0x53a0 027107 branch l2cap_lpm_save_calc_len_loop ,blank 
+0x53a1 027108 ifetcht 2 ,rega 
+0x53a2 027109 ifetch 2 ,temp 
+0x53a3 027110 iadd regb ,regb 
+0x53a4 027111 increase 4 ,regb 
+0x53a5 027112 branch l2cap_lpm_save_calc_len_loop 
+:      027113 l2cap_lpm_save_calc_len_end:
+0x53a6 027114 copy regb ,pdata 
+0x53a7 027115 rtn 
+:      027118 l2cap_lpm_get_wake_lock:
+0x53a8 027119 arg wake_lock_l2cap_tx ,queue 
+0x53a9 027120 branch lpm_get_wake_lock 
+:      027122 l2cap_lpm_put_wake_lock:
+0x53aa 027123 arg wake_lock_l2cap_tx ,queue 
+0x53ab 027124 branch lpm_put_wake_lock 
+:      027126 l2cap_lpm_save_txbuf:
+0x53ac 027127 bpatchx patch22_1 ,mem_patch22 
+0x53ad 027128 call l2cap_malloc_get_full_map 
+0x53ae 027129 fetch 1 ,mem_used_map 
+0x53af 027130 rtn blank 
+0x53b0 027131 call l2cap_lpm_save_calc_len 
+0x53b1 027132 arg l2cap_lpm_txbuf_len ,temp 
+0x53b2 027133 isub temp ,null 
+0x53b3 027134 branch l2cap_lpm_get_wake_lock ,positive 
+0x53b4 027135 call l2cap_lpm_put_wake_lock 
+0x53b5 027136 arg mem_l2cap_lpm_txbuf ,contw 
+0x53b6 027137 arg mem_tx_fifo0 ,rega 
+:      027138 l2cap_lpm_save_txbuf_loop:
+0x53b7 027139 setarg mem_tx_fifo_end 
+0x53b8 027140 isub rega ,null 
+0x53b9 027141 rtn zero 
+0x53ba 027142 ifetch 1 ,rega 
+0x53bb 027143 increase 1 ,rega 
+0x53bc 027144 nbranch l2cap_lpm_save_txbuf_nempty ,blank 
+0x53bd 027145 istore 2 ,contw 
+0x53be 027146 increase 2 ,rega 
+0x53bf 027147 branch l2cap_lpm_save_txbuf_loop 
+:      027148 l2cap_lpm_save_txbuf_nempty:
+0x53c0 027149 ifetch 2 ,rega 
+0x53c1 027150 increase 2 ,rega 
+0x53c2 027151 copy pdata ,contr 
+0x53c3 027152 ifetch 2 ,contr 
+0x53c4 027153 istore 2 ,contw 
+0x53c5 027154 copy pdata ,loopcnt 
+0x53c6 027155 increase 2 ,loopcnt 
+0x53c7 027156 call memcpy 
+0x53c8 027157 branch l2cap_lpm_save_txbuf_loop 
+:      027159 l2cap_lpm_load_txbuf:
+0x53c9 027160 bpatchx patch22_2 ,mem_patch22 
+0x53ca 027161 call l2cap_malloc_get_full_map 
+0x53cb 027162 fetch 1 ,mem_used_map 
+0x53cc 027163 rtn blank 
+0x53cd 027164 arg mem_tx_fifo0_ptr ,rega 
+0x53ce 027165 increase -3 ,rega 
+0x53cf 027166 arg mem_l2cap_lpm_txbuf ,contr 
+:      027167 l2cap_lpm_load_txbuf_loop:
+0x53d0 027168 increase 3 ,rega 
+0x53d1 027169 setarg mem_tx_fifo_end + 1 
+0x53d2 027170 isub rega ,null 
+0x53d3 027171 rtn zero 
+0x53d4 027172 ifetch 2 ,contr 
+0x53d5 027173 branch l2cap_lpm_load_txbuf_loop ,blank 
+0x53d6 027174 increase 4 ,pdata 
+0x53d7 027175 copy pdata ,loopcnt 
+0x53d8 027176 copy contr ,regb 
+0x53d9 027177 ifetch 2 ,rega 
+0x53da 027178 copy pdata ,contw 
+0x53db 027179 copy regb ,contr 
+0x53dc 027180 increase -2 ,contr 
+0x53dd 027181 call memcpy 
+0x53de 027182 branch l2cap_lpm_load_txbuf_loop 
+:      027191 init_lmp:
+0x53df 027192 rtn wake 
+:      027193 init_lmp_work:
+0x53e0 027194 bpatchx patch22_3 ,mem_patch22 
+0x53e1 027195 setarg 0 
+0x53e2 027196 store 1 ,mem_lmp_to_send 
+0x53e3 027197 store 1 ,mem_conn_sm 
+0x53e4 027198 store 1 ,mem_lmo_opcode1 
+0x53e5 027199 store 1 ,mem_lmo_opcode2 
+0x53e6 027200 store 1 ,mem_esco_addr 
+0x53e7 027201 store 1 ,mem_connection_options 
+0x53e8 027202 store 1 ,mem_pairing_auth 
+0x53e9 027203 store 3 ,mem_encapsulated_major_type 
+0x53ea 027204 store 1 ,mem_remote_br_sc_support 
+0x53eb 027205 jam switch_flag_init ,mem_switch_flag 
+0x53ec 027206 jam 0 ,mem_switch_fail_master_count 
+0x53ed 027207 jam null_encryp ,mem_wait_encryption 
+:      027208 init_lmp_reinit:
+0x53ee 027209 jam 0 ,mem_pairing_auth 
+0x53ef 027210 jam 0 ,mem_sp_localsm 
+0x53f0 027211 jam 0 ,mem_lmp_conn_state 
+:      027213 parse_rx_done:
+0x53f1 027214 rtn 
+:      027216 parse_lmp:
+0x53f2 027217 bpatchx patch22_4 ,mem_patch22 
+0x53f3 027218 call setlocalsm_master ,master 
+0x53f4 027219 ncall setlocalsm_slave ,master 
+0x53f5 027220 call lmo_fifo_check 
+0x53f6 027221 nrtn blank 
+0x53f7 027222 fetch 1 ,mem_state_map 
+0x53f8 027223 rtnbit0 smap_rxlmp 
+0x53f9 027224 set0 smap_rxlmp ,pdata 
+0x53fa 027225 set0 mark_rxbuf_inuse ,mark 
+0x53fb 027226 store 1 ,mem_state_map 
+0x53fc 027227 fetch 1 ,mem_rxbuf 
+0x53fd 027228 fetcht 1 ,mem_state_map 
+0x53fe 027229 isolate1 smap_lmptidinit ,pdata 
+0x53ff 027230 setflag true ,smap_lmptid ,temp 
+0x5400 027231 storet 1 ,mem_state_map 
+0x5401 027232 and_into 0x2 ,temp 
+0x5402 027233 storet 1 ,mem_lmo_tid2 
+0x5403 027234 fetcht 1 ,mem_state_map 
+0x5404 027235 rshift pdata ,pdata 
+0x5405 027236 store 1 ,mem_lmi_opcode2 
+0x5406 027237 bpatchx patch22_5 ,mem_patch22 
+0x5407 027238 fetch 1 ,mem_lmi_opcode2 
+0x5408 027239 beq lmp_escape ,parse_lmp_escape 
+0x5409 027240 beq lmp_accepted ,parse_lmp_accepted 
+0x540a 027241 beq lmp_not_accepted ,parse_lmp_not_accepted 
+0x540b 027242 beq lmp_set_afh ,parse_lmp_set_afh 
+0x540c 027243 beq lmp_clkoffset_req ,parse_lmp_clkoffset_req 
+0x540d 027244 beq lmp_encryption_mode_req ,parse_lmp_encryption_mode_req 
+0x540e 027245 beq lmp_encryption_key_size_req ,parse_lmp_crypt_key 
+0x540f 027246 beq lmp_auto_rate ,parse_lmp_auto_rate 
+0x5410 027247 beq lmp_test_control ,parse_lmp_test_control 
+0x5411 027248 beq lmp_test_activate ,parse_lmp_test_activate 
+0x5412 027249 beq lmp_setup_complete ,parse_lmp_setup_complete 
+0x5413 027250 beq lmp_supervision_timeout ,parse_lmp_supervision_timeout 
+0x5414 027251 beq lmp_features_req ,parse_lmp_features_req 
+0x5415 027252 beq lmp_host_connection_req ,parse_lmp_conn_req 
+0x5416 027253 beq lmp_version_req ,parse_lmp_version_req 
+0x5417 027254 beq lmp_version_res ,parse_lmp_version_res 
+0x5418 027255 beq lmp_detach ,parse_lmp_detach 
+0x5419 027256 beq lmp_max_slot ,parse_lmp_max_slot 
+0x541a 027257 beq lmp_max_slot_req ,parse_lmp_max_slot_req 
+0x541b 027258 beq lmp_name_req ,parse_lmp_name_req 
+0x541c 027259 beq lmp_name_res ,parse_lmp_name_res 
+0x541d 027260 beq lmp_features_res ,parse_lmp_features_res 
+0x541e 027261 beq lmp_comb_key ,parse_lmp_comb_key 
+0x541f 027262 beq lmp_au_rand ,parse_lmp_au_rand 
+0x5420 027263 beq lmp_in_rand ,parse_lmp_in_rand 
+0x5421 027264 beq lmp_sres ,parse_lmp_sres 
+0x5422 027265 beq lmp_incr_power_req ,parse_lmp_incr_power 
+0x5423 027266 beq lmp_decr_power_req ,parse_lmp_decr_power 
+0x5424 027267 beq lmp_max_power ,parse_lmp_max_power 
+0x5425 027268 beq lmp_min_power ,parse_lmp_min_power 
+0x5426 027269 beq lmp_page_mode_req ,parse_lmp_page_mode_req 
+0x5427 027270 beq lmp_page_scan_mode_req ,parse_lmp_page_scan_mode_req 
+0x5428 027271 beq lmp_preferred_rate ,parse_lmp_preferred_rate 
+0x5429 027272 beq lmp_slot_offset ,parse_lmp_slot_offset 
+0x542a 027273 beq lmp_sniff_req ,parse_lmp_sniff_req 
+0x542b 027274 beq lmp_start_encryption_req ,parse_lmp_start_encryption_req 
+0x542c 027275 beq lmp_stop_encryption_req ,parse_lmp_stop_encryption_req 
+0x542d 027276 beq lmp_switch_req ,parse_lmp_switch_req 
+0x542e 027277 beq lmp_temp_rand ,parse_lmp_temp_rand 
+0x542f 027278 beq lmp_temp_key ,parse_lmp_temp_key 
+0x5430 027279 beq lmp_timing_accuracy_req ,parse_lmp_timing_accuracy_req 
+0x5431 027280 beq lmp_timing_accuracy_res ,parse_lmp_timing_accuracy_res 
+0x5432 027281 beq lmp_unit_key ,parse_lmp_unit_key 
+0x5433 027282 beq lmp_unsniff_req ,parse_lmp_unsniff_req 
+0x5434 027283 beq lmp_use_semi_permanent_key ,parse_lmp_use_semi_permanend_key 
+0x5435 027284 beq lmp_encapsulated_header ,parse_lmp_encapsulated_header 
+0x5436 027285 beq lmp_encapsulated_payload ,parse_lmp_encapsulated_payload 
+0x5437 027286 beq lmp_simple_pairing_confirm ,parse_simple_pairing_confirm 
+0x5438 027287 beq lmp_simple_pairing_number ,parse_lmp_simple_pairing_number 
+0x5439 027288 beq lmp_dhkey_check ,parse_dhkey_check 
+0x543a 027289 beq lmp_clkoffset_res ,parse_lmp_clkoffset_res 
+0x543b 027290 beq lmp_enc_key_size_mask_req ,parse_enc_key_size_mask_req 
+0x543c 027291 beq lmp_quality_of_service_req ,parse_quality_of_server_req 
+0x543d 027292 beq lmp_quality_of_service ,parse_quality_of_server 
+:      027295 reject_unknown_packet:
+0x543e 027296 jam unknown_lmp_pdu ,mem_lmo_reason2 
+:      027297 reject_lmp_packet:
+0x543f 027298 jam lmp_not_accepted ,mem_lmo_opcode2 
+0x5440 027299 rtn 
+:      027301 parse_quality_of_server_req:
+0x5441 027302 branch accept_lmp_msg 
+:      027304 parse_quality_of_server:
+0x5442 027305 rtn 
+:      027307 parse_lmp_clkoffset_req:
+0x5443 027308 jam lmp_clkoffset_res ,mem_lmo_opcode2 
+0x5444 027309 rtn 
+:      027311 parse_enc_key_size_mask_req:
+0x5445 027312 jam lmp_enc_key_size_mask_res ,mem_lmo_opcode2 
+0x5446 027313 rtn 
+:      027315 parse_lmp_set_afh:
+0x5447 027316 fetch 4 ,mem_rxbuf + 1 
+0x5448 027317 lshift pdata ,pdata 
+0x5449 027318 store 4 ,mem_afh_instant 
+0x544a 027319 fetch 1 ,mem_rxbuf + 5 
+0x544b 027320 store 1 ,mem_afh_new_mod 
+0x544c 027321 fetch 5 ,mem_rxbuf + 6 
+0x544d 027322 store 5 ,mem_afh_map_new 
+0x544e 027323 fetch 5 ,mem_rxbuf + 11 
+0x544f 027324 istore 5 ,contw 
+0x5450 027325 fetch 1 ,mem_mode 
+0x5451 027326 set1 afh_change ,pdata 
+0x5452 027327 store 1 ,mem_mode 
+0x5453 027328 rtn 
+:      027329 parse_lmp_escape:
+0x5454 027330 bpatchx patch22_6 ,mem_patch22 
+0x5455 027331 fetch 1 ,mem_rxbuf + 1 
+0x5456 027332 set1 7 ,pdata 
+0x5457 027333 store 1 ,mem_lmi_opcode2 
+0x5458 027334 beq lmp_ext_accepted ,parse_lmpext_accepted 
+0x5459 027335 beq lmp_not_accepted_ext ,parse_lmpext_not_accepted 
+0x545a 027336 beq lmp_sniff_subrating_req ,parse_lmp_sniff_subrating_req 
+0x545b 027337 beq lmp_sniff_subrating_res ,parse_lmp_sniff_subrating_res 
+0x545c 027338 beq lmp_packet_type_table_req ,parse_lmpext_packet_type_table_req 
+0x545d 027339 beq lmp_ext_features_req ,parse_lmpext_features_req 
+0x545e 027340 beq lmp_ext_features_res ,parse_lmpext_features_res 
+0x545f 027341 beq lmp_ext_chn_classification_req ,parse_lmpext_chn_classification_req 
+0x5460 027342 beq lmp_pause_encryption_req ,parse_lmpext_pause_encrypt 
+0x5461 027343 beq lmp_resume_encryption_req ,parse_lmpext_resume_encrypt 
+0x5462 027344 beq lmp_io_cap_req ,parse_lmpext_iocap_req 
+0x5463 027345 beq lmp_io_cap_res ,parse_lmpext_iocap_res 
+0x5464 027346 beq lmp_ping_req ,parse_lmpext_ping_req 
+0x5465 027347 rtneq lmp_ext_features_res 
+:      027349 reject_unknown_ext_packet:
+0x5466 027350 jam lmp_not_accepted_ext ,mem_lmo_opcode2 
+0x5467 027351 jam unknown_lmp_pdu ,mem_lmo_reason2 
+0x5468 027352 rtn 
+:      027354 parse_lmpext_ping_req:
+0x5469 027355 jam lmp_ping_res ,mem_lmo_opcode2 
+0x546a 027356 rtn 
+:      027358 parse_lmpext_chn_classification_req:
+0x546b 027359 jam lmp_not_accepted_ext ,mem_lmo_opcode2 
+0x546c 027360 jam not_support_chn_classification ,mem_lmo_reason2 
+0x546d 027361 rtn 
+:      027363 parse_lmpext_iocap_req:
+0x546e 027364 call iocap_lmpext_load 
+0x546f 027365 jam lmp_io_cap_res ,mem_lmo_opcode2 
+0x5470 027366 rtn 
+:      027368 parse_lmpext_iocap_res:
+0x5471 027369 call iocap_lmpext_load 
+0x5472 027370 branch iocap_lmpext_common 
+:      027372 iocap_lmpext_load:
+0x5473 027373 arg mem_sp_iocap_remote ,contw 
+0x5474 027374 fetch 3 ,mem_rxbuf + 2 
+0x5475 027375 istore 3 ,contw 
+0x5476 027376 rtn 
+:      027378 iocap_lmpext_common:
+0x5477 027379 branch master_set_mem_master_sp_flag ,true 
+0x5478 027380 rtn 
+:      027381 parse_lmpext_accepted:
+0x5479 027382 fetch 1 ,mem_rxbuf + 3 
+0x547a 027383 set1 7 ,pdata 
+0x547b 027384 store 1 ,mem_lmi_accepted_opcode 
+0x547c 027385 beq lmp_packet_type_table_req ,parse_lmpext_accepted_ptt 
+0x547d 027386 rtn 
+:      027389 parse_lmpext_not_accepted:
+0x547e 027390 fetch 1 ,mem_rxbuf + 3 
+0x547f 027391 set1 7 ,pdata 
+0x5480 027392 store 1 ,mem_lmi_accepted_opcode 
+0x5481 027393 beq lmp_packet_type_table_req ,parse_lmpext_not_accepted_ptt 
+0x5482 027394 rtn 
+:      027396 parse_lmpext_accepted_ptt:
+0x5483 027397 fetch 1 ,mem_ptt 
+0x5484 027398 fetcht 1 ,mem_state_map 
+0x5485 027399 nsetflag blank ,smap_edr ,temp 
+0x5486 027400 storet 1 ,mem_state_map 
+:      027401 parse_lmpext_not_accepted_ptt:
+0x5487 027402 fetch 1 ,mem_state 
+0x5488 027403 rtnbit0 state_init_seq 
+0x5489 027404 set0 state_init_seq ,pdata 
+0x548a 027405 store 1 ,mem_state 
+0x548b 027406 jam lmp_setup_complete ,mem_lmo_opcode2 
+0x548c 027407 rtn 
+:      027409 parse_lmpext_pause_encrypt:
+0x548d 027410 nbranch parse_lmpext_pause_encrypt_slave ,master 
+0x548e 027411 jam lmp_stop_encryption_req ,mem_lmo_opcode2 
+0x548f 027412 branch tid_reply 
+:      027414 parse_lmpext_pause_encrypt_slave:
+0x5490 027415 jam lmp_pause_encryption_req ,mem_lmo_opcode2 
+0x5491 027416 rtn 
+:      027418 parse_lmpext_resume_encrypt:
+0x5492 027421 call tid_reply 
+0x5493 027422 branch lmp_start_encryption 
+:      027424 parse_lmpext_features_req:
+0x5494 027425 ifetch 1 ,contr 
+0x5495 027426 store 1 ,mem_ext_features_page 
+0x5496 027427 beq 1 ,parse_lmpext_features_req_page1 
+0x5497 027428 beq 2 ,parse_lmpext_features_req_page2 
+0x5498 027429 rtn 
+:      027431 parse_lmpext_features_req_page1:
+0x5499 027432 jam lmp_ext_features_res ,mem_lmo_opcode2 
+0x549a 027433 increase 1 ,contr 
+0x549b 027434 ifetch 1 ,contr 
+0x549c 027435 bbit1 lmp_features_ext_page1_sc_host_bit ,remote_support_br_sc_host 
+0x549d 027436 branch remote_not_support_br_sc_host 
+:      027438 parse_lmpext_features_req_page2:
+0x549e 027439 jam lmp_ext_features_res ,mem_lmo_opcode2 
+0x549f 027440 increase 1 ,contr 
+0x54a0 027441 ifetch 2 ,contr 
+0x54a1 027442 bbit1 lmp_features_ext_page2_sc_controller_bit ,remote_support_br_sc_controller 
+0x54a2 027443 branch remote_not_support_br_sc_controller 
+:      027445 remote_support_br_sc_controller:
+0x54a3 027446 fetch 1 ,mem_remote_br_sc_support 
+0x54a4 027447 set1 remote_br_sc_controller_bit ,pdata 
+0x54a5 027448 call set_remote_br_sc_support 
+0x54a6 027450 fetch 1 ,mem_remote_br_sc_support 
+0x54a7 027451 rtnne 3 
+0x54a8 027452 fetch 1 ,mem_secure_connections_enable 
+0x54a9 027453 rtnbit0 secure_connections_br_bit 
+0x54aa 027454 jam encapsulated_minor_type_p256 ,mem_encapsulated_minor_type 
+0x54ab 027455 rtn 
+:      027457 remote_not_support_br_sc_controller:
+0x54ac 027458 fetch 1 ,mem_remote_br_sc_support 
+0x54ad 027459 set0 remote_br_sc_controller_bit ,pdata 
+:      027460 set_remote_br_sc_support:
+0x54ae 027461 store 1 ,mem_remote_br_sc_support 
+0x54af 027462 rtn 
+:      027464 remote_support_br_sc_host:
+0x54b0 027465 fetch 1 ,mem_remote_br_sc_support 
+0x54b1 027466 set1 remote_br_sc_host_bit ,pdata 
+0x54b2 027467 branch set_remote_br_sc_support 
+:      027469 remote_not_support_br_sc_host:
+0x54b3 027470 fetch 1 ,mem_remote_br_sc_support 
+0x54b4 027471 set0 remote_br_sc_host_bit ,pdata 
+0x54b5 027472 branch set_remote_br_sc_support 
+:      027474 parse_lmpext_features_res:
+0x54b6 027475 fetcht 1 ,mem_rxbuf + 4 
+0x54b7 027476 and temp ,0x1 ,temp 
+0x54b8 027477 storet 1 ,mem_remote_sppcap 
+0x54b9 027478 fetch 1 ,mem_hci_cmd 
+0x54ba 027479 bne hci_cmd_wait_remote_ext_feature ,parse_lmpext_features_res_not_hci 
+0x54bb 027480 jam 0 ,mem_hci_cmd 
+:      027481 parse_lmpext_features_res_not_hci:
+0x54bc 027482 fetch 1 ,mem_conn_sm 
+0x54bd 027483 rtnne conn_sm_wait_features_ext 
+0x54be 027484 jam conn_sm_send_conn_req ,mem_conn_sm 
+0x54bf 027485 branch process_conn_sm 
+:      027487 parse_lmp_accepted:
+0x54c0 027488 bpatchx patch22_7 ,mem_patch22 
+0x54c1 027489 fetch 1 ,mem_rxbuf + 1 
+0x54c2 027490 store 1 ,mem_lmi_accepted_opcode 
+0x54c3 027491 beq lmp_host_connection_req ,parse_lmp_accepted_hostconn 
+0x54c4 027492 beq lmp_in_rand ,parse_lmp_accepted_inrand 
+0x54c5 027493 beq lmp_encryption_mode_req ,parse_lmp_accepted_enc_mode 
+0x54c6 027494 beq lmp_encryption_key_size_req ,parse_lmp_accepted_enc_keysize 
+0x54c7 027495 beq lmp_start_encryption_req ,parse_lmp_accepted_start_enc 
+0x54c8 027496 beq lmp_stop_encryption_req ,parse_lmp_accepted_stop_enc 
+0x54c9 027497 beq lmp_unsniff_req ,parse_lmp_accepted_unsniff_req 
+0x54ca 027498 beq lmp_sniff_req ,parse_lmp_accepted_sniff_req 
+0x54cb 027499 beq lmp_switch_req ,parse_lmp_accepted_switch 
+0x54cc 027501 beq lmp_encapsulated_header ,parse_lmp_accepted_encapsulated_header 
+0x54cd 027502 beq lmp_encapsulated_payload ,parse_lmp_accepted_encapsulated_payload 
+0x54ce 027503 beq lmp_simple_pairing_number ,parse_lmp_accepted_simple_pairing_number 
+0x54cf 027504 beq lmp_dhkey_check ,parse_lmp_accepted_dhkey_check 
+0x54d0 027505 rtn 
+:      027507 parse_lmp_not_accepted:
+0x54d1 027508 bpatchx patch23_0 ,mem_patch23 
+0x54d2 027509 fetch 1 ,mem_rxbuf + 1 
+0x54d3 027510 store 1 ,mem_lmi_accepted_opcode 
+0x54d4 027511 beq lmp_name_req ,parse_lmp_not_accepted_name_req 
+0x54d5 027512 beq lmp_host_connection_req ,parse_lmp_not_accepted_hostconn 
+0x54d6 027513 beq lmp_au_rand ,parse_lmp_not_accepted_aurand 
+0x54d7 027514 beq lmp_in_rand ,parse_lmp_not_accepted_inrand 
+0x54d8 027515 beq lmp_switch_req ,parse_lmp_not_accepted_switch 
+0x54d9 027517 beq lmp_simple_pairing_number ,parse_lmp_not_accepted_simple_pairing_number 
+0x54da 027518 beq lmp_dhkey_check ,parse_lmp_not_accepted_dhkey_check 
+0x54db 027519 beq lmp_unsniff_req ,parse_lmp_not_accepted_unsniff_req 
+0x54dc 027520 beq lmp_sniff_req ,parse_lmp_not_acdcept_sniff_req 
+0x54dd 027521 rtn 
+:      027523 parse_lmp_accepted_switch:
+0x54de 027524 jam bt_evt_switch_accept ,mem_fifo_temp 
+0x54df 027525 call ui_ipc_send_event 
+0x54e0 027526 branch role_switch_prepare0 
+:      027528 parse_lmp_not_accepted_switch:
+0x54e1 027529 jam bt_evt_switch_not_accept ,mem_fifo_temp 
+0x54e2 027530 call ui_ipc_send_event 
+0x54e3 027531 jam switch_flag_not_accept ,mem_switch_flag 
+0x54e4 027532 setarg timer_switch_waite 
+0x54e5 027533 arg switch_wait_timer ,queue 
+0x54e6 027534 branch timer_init 
+:      027537 parse_lmp_accepted_hostconn:
+0x54e7 027540 fetch 1 ,mem_lmp_conn_state 
+0x54e8 027541 set1 received_conn_req ,pdata 
+0x54e9 027542 store 1 ,mem_lmp_conn_state 
+0x54ea 027543 jam bt_evt_bb_connected ,mem_fifo_temp 
+0x54eb 027544 call ui_ipc_send_event 
+0x54ec 027545 jam lmp_packet_type_table_req ,mem_lmo_opcode2 
+:      027547 parse_lmp_accepted_hostconn_ctn:
+0x54ed 027549 fetch 1 ,mem_conn_sm 
+0x54ee 027550 bne conn_sm_wait_conn_accept ,parse_rx_done 
+0x54ef 027553 jam conn_sm_auth_pair ,mem_conn_sm 
+0x54f0 027554 rtn 
+:      027562 parse_lmp_not_accepted_hostconn:
+0x54f1 027563 jam acl_connection_already_exists ,mem_disconn_reason_send 
+0x54f2 027564 jam lmp_detach ,mem_lmo_opcode2 
+0x54f3 027566 jam conn_sm_standby ,mem_conn_sm 
+0x54f4 027568 branch parse_rx_done ,true 
+0x54f5 027569 rtn 
+:      027571 parse_lmp_accepted_inrand:
+0x54f6 027572 fetch 1 ,mem_link_key_exists 
+0x54f7 027573 nrtn blank 
+0x54f8 027574 call clear_linkkey 
+0x54f9 027575 call lmp_generate_key 
+0x54fa 027576 rtn master 
+0x54fb 027577 set1 mark_slave_in_rand_accepted ,mark 
+0x54fc 027578 rtn 
+:      027580 parse_lmp_accepted_enc_mode:
+0x54fd 027581 nrtn master 
+0x54fe 027582 jam lmp_encryption_key_size_req ,mem_lmo_opcode2 
+0x54ff 027583 fetch 1 ,mem_state_map 
+0x5500 027584 rtnbit0 smap_encryption 
+0x5501 027585 jam lmp_stop_encryption_req ,mem_lmo_opcode2 
+0x5502 027586 rtn 
+:      027588 parse_lmp_accepted_enc_keysize:
+0x5503 027589 branch lmp_start_encryption 
+:      027591 parse_lmp_accepted_start_enc:
+0x5504 027592 call send_create_conn_start_l2cap_timer_sm 
+0x5505 027593 fetch 1 ,mem_state 
+0x5506 027594 rtnbit1 state_conn_comp 
+0x5507 027595 jam lmp_setup_complete ,mem_lmo_opcode2 
+0x5508 027596 fetch 1 ,mem_conn_sm 
+0x5509 027597 rtnne conn_sm_encrypt_wait 
+0x550a 027598 jam conn_sm_encrypt_wait_clear ,mem_conn_sm 
+0x550b 027599 rtn 
+:      027601 parse_lmp_accepted_stop_enc:
+0x550c 027609 rtn 
+:      027611 parse_lmp_not_accepted_aurand:
+:      027612 parse_lmp_not_accepted_aurand_send_detach:
+0x550d 027613 fetch 1 ,mem_device_option 
+0x550e 027614 sub pdata ,dvc_op_mouse ,null 
+0x550f 027615 call mouse_delay_enter_hibernata ,zero 
+0x5510 027616 jam lmp_detach ,mem_lmo_opcode2 
+0x5511 027617 jam other_end_terminated ,mem_disconn_reason_send 
+0x5512 027618 rtn 
+:      027620 parse_lmp_not_accepted_inrand:
+0x5513 027621 fetch 1 ,mem_rxbuf + 2 
+0x5514 027622 beq key_missing ,parse_lmp_inrand_key_missing 
+0x5515 027623 rtnne pairing_not_allowed 
+0x5516 027624 jam pairing_not_allowed ,mem_disconn_reason_send 
+0x5517 027625 jam lmp_detach ,mem_lmo_opcode2 
+0x5518 027626 rtn 
+:      027627 parse_lmp_inrand_key_missing:
+0x5519 027628 jam key_missing ,mem_disconn_reason_send 
+0x551a 027629 jam lmp_detach ,mem_lmo_opcode2 
+0x551b 027630 rtn 
+:      027632 parse_lmp_not_accepted_name_req:
+0x551c 027633 rtn 
+:      027635 parse_lmp_not_accepted_simple_pairing_number:
+0x551d 027636 jam sp_stat_null ,mem_sp_state 
+0x551e 027637 jam lmp_detach ,mem_lmo_opcode2 
+0x551f 027638 branch parse_rx_done 
+:      027640 parse_lmp_not_accepted_dhkey_check:
+0x5520 027641 jam sp_stat_null ,mem_sp_state 
+0x5521 027642 jam lmp_detach ,mem_lmo_opcode2 
+0x5522 027643 branch parse_rx_done 
+:      027644 parse_lmp_not_accepted_unsniff_req:
+0x5523 027645 jam bt_evt_unsniff_not_accept ,mem_fifo_temp 
+0x5524 027646 branch ui_ipc_send_event 
+:      027648 parse_lmp_accepted_unsniff_req:
+0x5525 027649 jam bt_evt_unsniff_accept ,mem_fifo_temp 
+0x5526 027650 call ui_ipc_send_event 
+0x5527 027651 branch sniff_exit 
+:      027653 parse_lmp_accepted_sniff_req:
+0x5528 027654 jam bt_evt_sniff_accept ,mem_fifo_temp 
+0x5529 027655 call ui_ipc_send_event 
+0x552a 027656 setarg 0 
+0x552b 027657 store 2 ,mem_dsniff 
+0x552c 027658 fetch 2 ,mem_sniff_param_interval 
+0x552d 027659 lshift pdata ,pdata 
+0x552e 027660 store 2 ,mem_tsniff 
+0x552f 027661 fetch 1 ,mem_sniff_param_attempt 
+0x5530 027662 store 1 ,mem_sniff_attempt 
+0x5531 027663 fetch 1 ,mem_sniff_param_timeout 
+0x5532 027664 store 1 ,mem_sniff_timeout 
+0x5533 027665 branch sniff_init 
+:      027667 parse_lmp_not_acdcept_sniff_req:
+0x5534 027668 jam bt_evt_sniff_not_accept ,mem_fifo_temp 
+0x5535 027669 branch ui_ipc_send_event 
+:      027671 parse_lmp_crypt_key:
+0x5536 027672 fetcht 1 ,mem_rxbuf + 1 
+0x5537 027673 sub temp ,6 ,null 
+0x5538 027674 branch lmp_reject_pdu_not_allowed ,positive 
+0x5539 027675 storet 1 ,mem_key_size 
+0x553a 027676 branch accept_lmp_msg 
+:      027678 parse_lmp_setup_complete:
+0x553b 027679 fetch 1 ,mem_lmp_conn_state 
+0x553c 027680 set1 received_setup_complete ,pdata 
+0x553d 027681 store 1 ,mem_lmp_conn_state 
+0x553e 027682 rtnbit1 sent_setup_complete 
+0x553f 027683 jam lmp_setup_complete ,mem_lmo_opcode2 
+0x5540 027684 branch parse_rx_done 
+:      027686 parse_lmp_max_slot:
+0x5541 027689 rtn 
+:      027691 parse_lmp_max_slot_req:
+0x5542 027692 fetch 1 ,mem_max_slot 
+0x5543 027693 fetcht 1 ,mem_rxbuf + 1 
+0x5544 027694 isub temp ,null 
+0x5545 027696 branch accept_lmp_msg ,positive 
+0x5546 027697 jam lmp_not_accepted ,mem_lmo_opcode2 
+0x5547 027698 jam unspecified_error ,mem_lmo_reason2 
+0x5548 027699 jam lmp_max_slot_req ,mem_lmi_opcode2 
+0x5549 027700 rtn 
+:      027702 parse_lmp_detach:
+0x554a 027703 branch prepare_disconnect 
+:      027705 accept_lmp_msg:
+0x554b 027706 jam lmp_accepted ,mem_lmo_opcode2 
+0x554c 027707 rtn 
+:      027709 parse_lmp_incr_power:
+0x554d 027710 jam lmp_max_power ,mem_lmo_opcode2 
+0x554e 027711 rtn 
+:      027713 parse_lmp_decr_power:
+0x554f 027714 jam lmp_min_power ,mem_lmo_opcode2 
+0x5550 027715 rtn 
+:      027717 parse_lmp_version_res:
+0x5551 027718 fetch 1 ,mem_conn_sm 
+0x5552 027719 rtneq conn_sm_wait_version 
+0x5553 027721 jam conn_sm_send_features ,mem_conn_sm 
+0x5554 027723 rtn 
+:      027726 parse_lmp_auto_rate:
+0x5555 027727 rtn 
+:      027729 parse_lmp_in_rand:
+0x5556 027730 fetch 1 ,mem_sc_only_mode 
+0x5557 027731 nbranch parse_lmp_in_rand_not_accept ,blank 
+0x5558 027733 call lmp_copy_rand 
+0x5559 027734 jam pincode_state_wait_pincode ,mem_pincode_state 
+0x555a 027735 jam bt_evt_pincode_req ,mem_fifo_temp 
+0x555b 027736 call ui_ipc_send_event 
+0x555c 027738 call tid_check 
+0x555d 027739 nbranch lmp_accept_inrand ,true 
+0x555e 027740 nbranch parse_lmp_inrand_res ,master 
+:      027741 parse_lmp_in_rand_not_accept:
+0x555f 027742 jam lmp_not_accepted ,mem_lmo_opcode2 
+0x5560 027743 jam lmp_in_rand ,mem_lmi_opcode2 
+0x5561 027744 jam transaction_collision ,mem_lmo_reason2 
+0x5562 027745 rtn 
+:      027747 parse_lmp_inrand_res:
+0x5563 027748 fetch 1 ,mem_op 
+0x5564 027749 set1 op_inrand_req ,pdata 
+0x5565 027750 store 1 ,mem_op 
+0x5566 027751 rtn 
+:      027754 pop_tid_follow:
+0x5567 027755 fetcht 1 ,mem_state_map 
+0x5568 027756 nsetflag blank ,smap_lmptid ,temp 
+0x5569 027757 storet 1 ,mem_state_map 
+0x556a 027758 rtn 
+:      027761 push_tid_follow:
+0x556b 027762 fetch 1 ,mem_lmo_tid2 
+0x556c 027763 rshift pdata ,pdata 
+0x556d 027764 and_into 1 ,pdata 
+0x556e 027765 rtn 
+:      027767 parse_lmp_au_rand_moudle:
+0x556f 027768 fetch 1 ,mem_nv_data_number 
+0x5570 027769 rtn blank 
+0x5571 027770 fetch 1 ,mem_pairing_auth 
+0x5572 027771 call load_device_list ,blank 
+0x5573 027772 rtn 
+:      027774 parse_lmp_au_rand:
+0x5574 027775 call parse_lmp_au_rand_moudle 
+0x5575 027776 call push_tid_follow 
+0x5576 027777 store 1 ,mem_sres_tid 
+0x5577 027778 fetch 1 ,mem_encapsulated_minor_type 
+0x5578 027779 beq encapsulated_minor_type_p256 ,parse_lmp_au_rand_256 
+0x5579 027780 call lmp_copy_rand 
+0x557a 027781 jam lmp_sres ,mem_lmo_opcode2 
+:      027782 parse_lmp_au_rand_common:
+0x557b 027783 fetch 1 ,mem_link_key_exists 
+0x557c 027784 nrtn blank 
+0x557d 027785 fetch 1 ,mem_state 
+0x557e 027786 rtnbit1 state_combkey 
+0x557f 027787 jam key_missing ,mem_lmo_reason2 
+0x5580 027788 branch reject_lmp_packet 
+:      027790 parse_lmp_au_rand_256:
+0x5581 027791 jam lmp_au_rand ,mem_lmo_opcode2 
+0x5582 027792 arg mem_sp_random_remote ,contw 
+0x5583 027793 arg mem_rxbuf + 1 ,contr 
+0x5584 027794 call memcpy16 
+0x5585 027795 branch parse_lmp_au_rand_common 
+:      027798 parse_lmp_sres:
+0x5586 027799 fetch 1 ,mem_encapsulated_minor_type 
+0x5587 027800 beq encapsulated_minor_type_p256 ,parse_lmp_sres_256 
+0x5588 027802 arg mem_plap ,rega 
+0x5589 027803 call function_e1 
+0x558a 027804 fetcht 4 ,mem_input_store 
+0x558b 027805 fetch 4 ,mem_rxbuf + 1 
+0x558c 027806 isub temp ,null 
+0x558d 027807 branch authentication_ok ,zero 
+:      027808 authentication_fail:
+0x558e 027809 jam lmp_detach ,mem_lmo_opcode2 
+0x558f 027810 jam authentication_failure_error ,mem_disconn_reason_send 
+0x5590 027811 rtn 
+:      027813 authentication_ok:
+0x5591 027814 call copy_aco 
+0x5592 027815 call authentication_ok_common 
+0x5593 027816 fetch 1 ,mem_ssp_enable 
+0x5594 027817 branch pairing_success ,blank 
+0x5595 027818 rtn 
+:      027820 parse_lmp_sres_256:
+0x5596 027821 fetch 4 ,mem_rxbuf + 1 
+0x5597 027822 fetcht 4 ,mema 
+0x5598 027823 isub temp ,null 
+0x5599 027824 branch authentication_ok_256 ,zero 
+0x559a 027825 branch authentication_fail 
+:      027827 authentication_ok_256:
+0x559b 027828 call authentication_ok_common 
+0x559c 027829 fetch 1 ,mem_secure_connections_enable 
+0x559d 027830 bbit1 secure_connections_br_bit ,pairing_success 
+0x559e 027831 rtn 
+:      027834 authentication_ok_common:
+0x559f 027835 call linkkey_ready 
+0x55a0 027836 fetch 1 ,mem_op 
+0x55a1 027837 isolate1 op_auth_req ,pdata 
+0x55a2 027838 set0 op_auth_req ,pdata 
+0x55a3 027839 store 1 ,mem_op 
+0x55a4 027840 fetch 1 ,mem_conn_sm 
+0x55a5 027841 beq conn_sm_auth_wait ,authentication_ok_conn_sm 
+0x55a6 027842 beq conn_sm_pairing_wait ,authentication_ok_conn_sm 
+0x55a7 027843 rtn 
+:      027844 authentication_ok_conn_sm:
+0x55a8 027845 fetch 1 ,mem_pairing_auth 
+0x55a9 027846 rtnne defalt_pairing_auth 
+0x55aa 027847 fetch 1 ,mem_state_map 
+0x55ab 027848 rtnbit1 smap_encryption 
+0x55ac 027849 branch host_create_conn_encrypt 
+:      027851 parse_lmp_comb_key:
+0x55ad 027852 arg mem_rxbuf + 1 ,rega 
+0x55ae 027853 arg mem_kinit ,regb 
+0x55af 027854 arg mem_random_number ,contw 
+0x55b0 027855 call xor16 
+0x55b1 027856 arg mem_plap ,rega 
+0x55b2 027857 call generate_linkkey 
+0x55b3 027858 jam lmp_au_rand ,mem_lmo_opcode2 
+0x55b4 027859 fetch 1 ,mem_state 
+0x55b5 027860 bbit0 state_combkey ,lmp_generate_key 
+0x55b6 027861 rtn 
+:      027863 parse_lmp_name_res:
+0x55b7 027864 fetch 2 ,mem_len 
+0x55b8 027865 add pdata ,-3 ,loopcnt 
+0x55b9 027866 fetcht 1 ,mem_rxbuf + 1 
+0x55ba 027867 setarg mem_tmp_buffer 
+0x55bb 027868 iadd temp ,contw 
+0x55bc 027869 arg mem_rxbuf + 3 ,contr 
+0x55bd 027870 call memcpy 
+0x55be 027871 fetcht 1 ,mem_name_offset 
+0x55bf 027872 fetch 1 ,mem_rxbuf + 2 
+0x55c0 027873 isub temp ,pdata 
+0x55c1 027874 sub pdata ,14 ,null 
+0x55c2 027875 branch parse_lmp_name_res_end ,positive 
+0x55c3 027876 add temp ,14 ,pdata 
+0x55c4 027877 store 1 ,mem_name_offset 
+0x55c5 027878 jam lmp_name_req ,mem_lmo_opcode2 
+0x55c6 027879 rtn 
+:      027880 parse_lmp_name_res_end:
+0x55c7 027881 fetch 1 ,mem_state_map 
+0x55c8 027882 set1 smap_name_res ,pdata 
+0x55c9 027883 store 1 ,mem_state_map 
+0x55ca 027884 bbit1 smap_name_req ,lmp_disconnect 
+0x55cb 027885 rtn 
+:      027886 parse_lmp_name_req:
+0x55cc 027887 fetch 1 ,mem_rxbuf + 1 
+0x55cd 027888 store 1 ,mem_lmi_opcode2 
+0x55ce 027889 jam lmp_name_res ,mem_lmo_opcode2 
+0x55cf 027890 rtn 
+:      027892 parse_lmp_conn_req:
+0x55d0 027893 branch accept_lmp_msg 
+:      027895 parse_lmp_timing_accuracy_req:
+0x55d1 027896 jam lmp_timing_accuracy_res ,mem_lmo_opcode2 
+0x55d2 027897 rtn 
+:      027899 parse_lmp_features_req:
+0x55d3 027900 jam lmp_features_res ,mem_lmo_opcode2 
+0x55d4 027901 rtn 
+:      027903 parse_lmp_version_req:
+0x55d5 027904 jam lmp_version_res ,mem_lmo_opcode2 
+0x55d6 027905 rtn 
+:      027907 parse_lmp_supervision_timeout:
+0x55d7 027910 rtn 
+:      027914 parse_lmp_sniff_subrating_req:
+0x55d8 027915 fetch 2 ,mem_tsniff 
+0x55d9 027916 iforce temp 
+0x55da 027917 fetch 1 ,mem_rxbuf + 2 
+0x55db 027918 store 1 ,mem_subsniff_rate 
+0x55dc 027919 imul32 temp ,temp 
+0x55dd 027920 fetch 2 ,mem_rxbuf + 3 
+0x55de 027921 lshift pdata ,pdata 
+0x55df 027922 store 2 ,mem_subsniff_tcmax 
+0x55e0 027923 fetch 4 ,mem_rxbuf + 5 
+0x55e1 027924 lshift pdata ,pdata 
+0x55e2 027925 store 4 ,mem_subsniff_instant 
+0x55e3 027927 deposit temp 
+0x55e4 027928 store 2 ,mem_subsniff_tsniff 
+0x55e5 027929 rtn 
+:      027930 parse_lmpext_packet_type_table_req:
+0x55e6 027931 fetcht 1 ,mem_ptt 
+0x55e7 027932 fetch 1 ,mem_rxbuf + 2 
+0x55e8 027933 ixor temp ,null 
+0x55e9 027934 nbranch reject_unknown_ext_packet ,zero 
+0x55ea 027935 isolate1 0 ,pdata 
+0x55eb 027936 fetch 1 ,mem_state_map 
+0x55ec 027937 setflag true ,smap_edr ,pdata 
+0x55ed 027938 store 1 ,mem_state_map 
+0x55ee 027939 jam lmp_ext_accepted ,mem_lmo_opcode2 
+0x55ef 027940 jam lmp_packet_type_table_req ,mem_lmi_opcode2 
+0x55f0 027941 rtn 
+:      027944 parse_lmp_sniff_subrating_res:
+:      027945 parse_lmp_preferred_rate:
+:      027946 parse_lmp_max_power:
+:      027947 parse_lmp_min_power:
+0x55f1 027948 rtn 
+:      027949 parse_lmp_page_mode_req:
+0x55f2 027951 branch accept_lmp_msg 
+:      027952 parse_lmp_page_scan_mode_req:
+0x55f3 027955 branch accept_lmp_msg 
+:      027959 parse_lmp_slot_offset:
+0x55f4 027960 fetch 2 ,mem_rxbuf + 1 
+0x55f5 027961 store 2 ,mem_slot_offset 
+0x55f6 027962 rtn 
+:      027964 parse_lmp_sniff_req_check_sniff_para:
+0x55f7 027965 fetch 2 ,mem_rxbuf + 4 
+0x55f8 027966 fetcht 1 ,mem_lpm_mult 
+0x55f9 027967 imul32 temp ,pdata 
+0x55fa 027968 arg 0x640 ,temp 
+0x55fb 027969 isub temp ,null 
+0x55fc 027971 rtn 
+:      027973 parse_lmp_sniff_req:
+0x55fd 027974 fetch 2 ,mem_rxbuf + 6 
+0x55fe 027975 branch lmp_reject_pdu_not_allowed ,blank 
+0x55ff 027976 call parse_lmp_sniff_req_check_sniff_para 
+0x5600 027977 branch lmp_reject_pdu_not_allowed ,positive 
+0x5601 027978 fetch 1 ,mem_device_option 
+0x5602 027979 sub pdata ,dvc_op_module ,null 
+0x5603 027980 call module_set_lpm_mult_2 ,zero 
+0x5604 027981 fetch 1 ,mem_state 
+0x5605 027982 bbit1 state_insniff ,lmp_reject_pdu_not_allowed 
+0x5606 027983 fetch 2 ,mem_rxbuf + 2 
+0x5607 027984 lshift pdata ,pdata 
+0x5608 027985 store 2 ,mem_dsniff 
+0x5609 027986 fetch 2 ,mem_rxbuf + 4 
+0x560a 027987 lshift pdata ,pdata 
+0x560b 027988 store 2 ,mem_tsniff 
+0x560c 027989 fetch 2 ,mem_rxbuf + 6 
+0x560d 027990 store 1 ,mem_sniff_attempt 
+0x560e 027991 iforce temp 
+0x560f 027992 fetch 2 ,mem_rxbuf + 8 
+0x5610 027993 store 1 ,mem_sniff_timeout 
+0x5611 027994 isub temp ,null 
+0x5612 027995 nbranch set_big_value_to_attempt ,positive 
+0x5613 027996 store 1 ,mem_sniff_attempt 
+:      027997 set_big_value_to_attempt:
+0x5614 027999 jam lmp_accepted ,mem_lmo_opcode2 
+0x5615 028000 jam lmp_sniff_req ,mem_lmi_opcode2 
+0x5616 028001 rtn 
+:      028003 parse_lmp_start_encryption_req:
+0x5617 028004 fetch 1 ,mem_encapsulated_minor_type 
+0x5618 028005 beq encapsulated_minor_type_p256 ,parse_lmp_start_encryption_req_256 
+0x5619 028006 call accept_lmp_msg 
+0x561a 028007 call lmp_copy_rand 
+0x561b 028008 call function_e3 
+0x561c 028009 branch start_encryption 
+:      028011 parse_lmp_start_encryption_req_256:
+0x561d 028012 call accept_lmp_msg 
+0x561e 028014 call start_encryption 
+:      028015 calc_kc:
+0x561f 028016 call function_h3 
+0x5620 028017 arg mem_kc ,contw 
+0x5621 028018 arg mem_sp_calc_result_high ,contr 
+0x5622 028019 arg 0x10 ,loopcnt 
+0x5623 028020 branch reverse_byte 
+:      028022 parse_lmp_stop_encryption_req:
+0x5624 028023 call accept_lmp_msg 
+0x5625 028024 branch stop_encryption 
+:      028027 parse_lmp_switch_req:
+0x5626 028028 fetch 4 ,mem_rxbuf + 1 
+0x5627 028029 lshift pdata ,pdata 
+0x5628 028031 branch parse_lmp_switch_accept ,master 
+0x5629 028032 fetcht 1 ,mem_link_key_exists 
+0x562a 028033 nbranch parse_lmp_switch_req_clear_mark ,blank 
+:      028034 parse_lmp_switch_req_not_accept:
+0x562b 028035 jam lmp_switch_req ,mem_lmi_opcode2 
+0x562c 028036 branch lmp_reject_pdu_not_allowed 
+:      028038 parse_lmp_switch_req_clear_mark:
+0x562d 028039 jam lmp_slot_offset ,mem_lmo_opcode2 
+0x562e 028040 jam 0 ,mem_conn_sm 
+0x562f 028041 branch role_switch_prepare 
+:      028043 parse_lmp_switch_accept:
+0x5630 028044 call role_switch_prepare 
+0x5631 028045 set1 mark_reconn_recieve_switch ,mark 
+0x5632 028046 fetch 1 ,mem_connection_options 
+0x5633 028047 set0 connection_switch ,pdata 
+0x5634 028048 store 1 ,mem_connection_options 
+0x5635 028049 branch accept_lmp_msg 
+:      028053 parse_lmp_temp_rand:
+:      028054 parse_lmp_temp_key:
+:      028055 parse_lmp_timing_accuracy_res:
+:      028056 parse_lmp_unit_key:
+:      028057 parse_lmp_use_semi_permanend_key:
+0x5636 028058 rtn 
+:      028061 parse_lmp_unsniff_req:
+0x5637 028062 jam lmp_accepted ,mem_lmo_opcode2 
+0x5638 028063 jam lmp_unsniff_req ,mem_lmi_opcode2 
+0x5639 028064 jam bt_evt_remote_unsniff ,mem_fifo_temp 
+0x563a 028065 call ui_ipc_send_event 
+0x563b 028066 branch sniff_exit 
+:      028068 parse_lmp_encapsulated_header:
+0x563c 028069 jam 0 ,mem_sp_remote_key_recv_count 
+0x563d 028070 fetch 1 ,mem_rxbuf + 1 
+0x563e 028071 store 1 ,mem_encapsulated_major_type 
+0x563f 028072 bne encapsulated_major_type ,lmp_reject_pdu_not_allowed 
+0x5640 028073 fetcht 1 ,mem_rxbuf + 2 
+0x5641 028074 storet 1 ,mem_encapsulated_minor_type 
+0x5642 028076 fetch 1 ,mem_sc_only_mode 
+0x5643 028077 branch parse_lmp_encapsulated_header2 ,blank 
+0x5644 028078 sub temp ,encapsulated_minor_type_p256 ,null 
+0x5645 028079 nbranch authentication_fail ,zero 
+:      028080 parse_lmp_encapsulated_header2:
+0x5646 028081 fetch 1 ,mem_rxbuf + 3 
+0x5647 028082 beq encapsulated_len_p256 ,parse_lmp_encapsulated_header3 
+0x5648 028083 beq encapsulated_len_p192 ,parse_lmp_encapsulated_header3 
+0x5649 028084 branch lmp_reject_pdu_not_allowed 
+:      028086 parse_lmp_encapsulated_header3:
+0x564a 028087 store 1 ,mem_encapsulated_len 
+0x564b 028088 call check_localsm 
+0x564c 028089 branch parse_lmp_encapsulated_header_master ,true 
+0x564d 028090 jam sp_stat_key_recv ,mem_sp_state 
+:      028091 parse_lmp_encapsulated_header_master:
+0x564e 028092 jam lmp_accepted ,mem_lmo_opcode2 
+0x564f 028093 jam lmp_encapsulated_header ,mem_lmi_opcode2 
+0x5650 028094 branch parse_rx_done 
+:      028097 parse_lmp_accepted_encapsulated_header:
+0x5651 028100 jam lmp_encapsulated_payload ,mem_lmo_opcode2 
+0x5652 028102 rtn 
+:      028103 parse_lmp_accepted_simple_pairing_number:
+0x5653 028104 fetch 1 ,mem_ssp_mode_flag 
+0x5654 028105 beq ssp_mode_ssp_pin_flag ,parse_lmp_accepted_simple_pairing_number_ssp_pin 
+0x5655 028106 beq ssp_mode_passkey_entry_flag ,parse_lmp_accepted_simple_pairing_number_passkey 
+:      028107 parse_lmp_accepted_simple_pairing_number_common:
+0x5656 028108 call check_localsm 
+0x5657 028109 rtn true 
+0x5658 028110 jam sp_stat_confirm_recv ,mem_sp_state 
+0x5659 028111 rtn 
+:      028113 parse_lmp_accepted_simple_pairing_number_ssp_pin:
+0x565a 028114 call g_noninit_number_confirm 
+0x565b 028115 jam bt_evt_bt_gkey_generate ,mem_fifo_temp 
+0x565c 028116 call ui_ipc_send_event 
+0x565d 028117 branch parse_lmp_accepted_simple_pairing_number_common 
+:      028120 parse_lmp_accepted_simple_pairing_number_passkey:
+0x565e 028121 call check_localsm 
+0x565f 028122 rtn true 
+0x5660 028123 fetch 1 ,mem_authentication_passkey_times 
+0x5661 028124 beq 19 ,authentication_passkey_end 
+0x5662 028125 increase 1 ,pdata 
+0x5663 028126 store 1 ,mem_authentication_passkey_times 
+:      028129 authentication_passkey:
+0x5664 028130 jam sp_flag_commit ,mem_sp_flag 
+0x5665 028131 jam sp_stat_commit_calc ,mem_sp_state 
+0x5666 028132 fetch 1 ,mem_authentication_passkey_times 
+0x5667 028133 copy pdata ,queue 
+0x5668 028134 fetch 6 ,mem_pin 
+0x5669 028135 qisolate1 pdata 
+0x566a 028136 setarg 0x80 
+0x566b 028137 setflag true ,0 ,pdata 
+0x566c 028138 store 1 ,mem_passkey_1bit 
+0x566d 028139 rtn 
+:      028141 authentication_passkey_end:
+0x566e 028142 jam sp_stat_confirm_recv ,mem_sp_state 
+0x566f 028143 rtn 
+:      028145 parse_lmp_accepted_dhkey_check:
+0x5670 028146 call parse_lmp_accepted_dhkey_check_common 
+:      028147 pairing_success:
+0x5671 028148 fetch 1 ,mem_flag_pairing_state 
+0x5672 028149 rtn blank 
+0x5673 028150 jam flag_pairing_state_not_pairing ,mem_flag_pairing_state 
+0x5674 028151 jam bt_evt_bt_pairing_success ,mem_fifo_temp 
+0x5675 028152 branch ui_ipc_send_event 
+:      028155 parse_lmp_accepted_dhkey_check_common:
+0x5676 028156 call check_localsm 
+0x5677 028157 ncall g_noninit_192 ,true 
+0x5678 028158 call g_init_192 ,true 
+0x5679 028159 call check_localsm 
+0x567a 028160 rtn true 
+0x567b 028161 jam sp_stat_link_key_calc ,mem_sp_state 
+0x567c 028162 jam sp_flag_commit ,mem_sp_flag 
+0x567d 028163 rtn 
+:      028165 parse_simple_pairing_confirm:
+0x567e 028166 arg mem_sp_confirm_remote ,contw 
+0x567f 028167 arg mem_rxbuf + 1 ,contr 
+0x5680 028168 call memcpy16 
+0x5681 028169 fetch 1 ,mem_ssp_mode_flag 
+0x5682 028170 rtneq ssp_mode_passkey_entry_flag 
+0x5683 028171 branch master_set_mem_master_sp_flag 
+0x5684 028172 rtn 
+:      028174 parse_lmp_encapsulated_payload:
+0x5685 028175 fetch 1 ,mem_encapsulated_minor_type 
+0x5686 028176 beq encapsulated_minor_type_p192 ,parse_lmp_encapsulated_payload_192 
+0x5687 028177 beq encapsulated_minor_type_p256 ,parse_lmp_encapsulated_payload_256 
+0x5688 028178 branch lmp_reject_pdu_not_allowed 
+:      028180 parse_lmp_encapsulated_payload_256:
+0x5689 028181 fetch 1 ,mem_master_sp_state 
+0x568a 028182 beq sp_stat_random_send ,parse_encapsulated_payload_256_master 
+0x568b 028183 fetch 1 ,mem_sp_state 
+0x568c 028184 bne sp_stat_key_recv ,lmp_reject_pdu_not_allowed 
+:      028185 parse_encapsulated_payload_256_master:
+0x568d 028186 fetch 1 ,mem_sp_remote_key_recv_count 
+0x568e 028187 sub pdata ,0x30 ,contw 
+0x568f 028188 nbranch lmp_reject_pdu_not_allowed ,positive 
+0x5690 028189 arg mem_le_pubkey_remote_x_256 ,contw 
+0x5691 028190 iadd contw ,contw 
+0x5692 028191 fetch 8 ,mem_rxbuf + 1 
+0x5693 028192 istore 8 ,contw 
+0x5694 028193 fetch 8 ,mem_rxbuf + 9 
+0x5695 028194 istore 8 ,contw 
+0x5696 028195 fetch 1 ,mem_sp_remote_key_recv_count 
+0x5697 028196 increase 16 ,pdata 
+0x5698 028197 store 1 ,mem_sp_remote_key_recv_count 
+0x5699 028198 bne encapsulated_len_p256 ,accept_lmp_msg 
+0x569a 028199 branch parse_lmp_encapsulated_payload_completed 
+:      028201 parse_lmp_encapsulated_payload_192:
+0x569b 028202 fetch 1 ,mem_master_sp_state 
+0x569c 028203 beq sp_stat_random_send ,parse_encapsulated_payload_192_master 
+0x569d 028204 fetch 1 ,mem_sp_state 
+0x569e 028205 bne sp_stat_key_recv ,lmp_reject_pdu_not_allowed 
+:      028206 parse_encapsulated_payload_192_master:
+0x569f 028207 fetch 1 ,mem_sp_remote_key_recv_count 
+0x56a0 028208 sub pdata ,0x20 ,contw 
+0x56a1 028209 nbranch lmp_reject_pdu_not_allowed ,positive 
+0x56a2 028210 arg mem_sp_pubkey_remote ,contw 
+0x56a3 028211 iadd contw ,contw 
+0x56a4 028212 fetch 8 ,mem_rxbuf + 1 
+0x56a5 028213 istore 8 ,contw 
+0x56a6 028214 fetch 8 ,mem_rxbuf + 9 
+0x56a7 028215 istore 8 ,contw 
+0x56a8 028216 fetch 1 ,mem_sp_remote_key_recv_count 
+0x56a9 028217 increase 16 ,pdata 
+0x56aa 028218 store 1 ,mem_sp_remote_key_recv_count 
+0x56ab 028219 bne encapsulated_len_p192 ,accept_lmp_msg 
+:      028220 parse_lmp_encapsulated_payload_completed:
+0x56ac 028221 call check_localsm 
+0x56ad 028222 branch accept_lmp_msg ,true 
+0x56ae 028223 jam sp_key_valid ,mem_sp_remote_key_invalid 
+0x56af 028224 jam sp_stat_key_generate ,mem_sp_state 
+0x56b0 028225 jam sp_flag_commit ,mem_sp_flag 
+0x56b1 028226 branch accept_lmp_msg 
+:      028229 parse_lmp_accepted_encapsulated_payload:
+0x56b2 028230 fetch 1 ,mem_encapsulated_minor_type 
+0x56b3 028231 beq encapsulated_minor_type_p192 ,parse_lmp_accepted_encapsulated_payload_192 
+0x56b4 028232 beq encapsulated_minor_type_p256 ,parse_lmp_accepted_encapsulated_payload_256 
+0x56b5 028233 rtn 
+:      028235 parse_lmp_accepted_encapsulated_payload_192:
+0x56b6 028236 fetch 1 ,mem_sp_local_key_send_count 
+0x56b7 028237 beq encapsulated_len_p192 ,parse_lmp_encapsulated_payload_all_accepted 
+0x56b8 028238 jam lmp_encapsulated_payload ,mem_lmo_opcode2 
+0x56b9 028239 rtn 
+:      028241 parse_lmp_accepted_encapsulated_payload_256:
+0x56ba 028242 fetch 1 ,mem_sp_local_key_send_count 
+0x56bb 028243 beq encapsulated_len_p256 ,parse_lmp_encapsulated_payload_all_accepted 
+0x56bc 028244 jam lmp_encapsulated_payload ,mem_lmo_opcode2 
+0x56bd 028245 rtn 
+:      028247 parse_lmp_encapsulated_payload_all_accepted:
+0x56be 028248 call check_localsm 
+0x56bf 028249 branch parse_lmp_encapsulated_payload_all_accepted_master ,true 
+0x56c0 028250 fetch 1 ,mem_ssp_mode_flag 
+0x56c1 028251 beq ssp_mode_passkey_entry_flag ,parse_lmp_encapsulated_payload_all_accepted_get_passkey 
+0x56c2 028252 jam sp_flag_commit ,mem_sp_flag 
+0x56c3 028253 jam sp_stat_commit_calc ,mem_sp_state 
+0x56c4 028254 branch parse_rx_done 
+:      028256 parse_lmp_encapsulated_payload_all_accepted_get_passkey:
+0x56c5 028257 jam bt_evt_bt_get_passkey ,mem_fifo_temp 
+0x56c6 028258 branch ui_ipc_send_event 
+:      028261 parse_lmp_encapsulated_payload_all_accepted_master:
+0x56c7 028263 branch parse_rx_done 
+:      028265 parse_lmp_simple_pairing_number:
+0x56c8 028266 fetch 1 ,mem_master_sp_state 
+0x56c9 028267 beq sp_stat_random_send ,parse_lmp_simple_pairing_number_master 
+0x56ca 028268 fetch 1 ,mem_sp_state 
+0x56cb 028269 bne sp_stat_random_recv ,lmp_reject_pdu_not_allowed 
+:      028270 parse_lmp_simple_pairing_number_master:
+0x56cc 028271 arg mem_sp_random_remote ,contw 
+0x56cd 028272 fetch 8 ,mem_rxbuf + 1 
+0x56ce 028273 istore 8 ,contw 
+0x56cf 028274 fetch 8 ,mem_rxbuf + 9 
+0x56d0 028275 istore 8 ,contw 
+0x56d1 028276 call check_localsm 
+0x56d2 028277 branch parse_lmp_simple_pairing_number_master0 ,true 
+0x56d3 028278 jam sp_stat_random_send ,mem_sp_state 
+0x56d4 028279 jam sp_flag_commit ,mem_sp_flag 
+0x56d5 028280 branch accept_lmp_msg 
+:      028281 parse_lmp_simple_pairing_number_master0:
+0x56d6 028282 jam sp_stat_commit_calc ,mem_master_sp_state 
+0x56d7 028283 branch master_set_mem_master_sp_flag 
+0x56d8 028284 branch lmp_reject_pdu_not_allowed 
+:      028286 parse_dhkey_check:
+0x56d9 028287 fetch 1 ,mem_master_sp_state 
+0x56da 028288 beq sp_stat_confirm_send ,parse_dhkey_check_master 
+0x56db 028289 fetch 1 ,mem_sp_state 
+0x56dc 028290 bne sp_stat_confirm_recv ,lmp_reject_pdu_not_allowed 
+:      028291 parse_dhkey_check_master:
+0x56dd 028292 arg mem_sp_check_result ,contw 
+0x56de 028293 arg mem_rxbuf + 1 ,contr 
+0x56df 028294 call memcpy16 
+0x56e0 028295 call check_localsm 
+0x56e1 028296 branch parse_dhkey_check_master0 ,true 
+0x56e2 028297 fetch 1 ,mem_ssp_mode_flag 
+0x56e3 028298 beq ssp_mode_ssp_pin_flag ,number_comparison_mode 
+:      028299 number_comparison_successed:
+0x56e4 028300 jam 0 ,mem_flag_mode_ssp_pin 
+0x56e5 028301 jam sp_stat_confirm_check ,mem_sp_state 
+0x56e6 028302 jam sp_flag_commit ,mem_sp_flag 
+0x56e7 028303 jam lmp_dhkey_check ,mem_lmi_opcode2 
+0x56e8 028304 branch parse_rx_done 
+:      028306 parse_dhkey_check_master0:
+0x56e9 028307 jam sp_stat_confirm_check ,mem_master_sp_state 
+0x56ea 028308 jam sp_flag_commit ,mem_master_sp_flag 
+0x56eb 028309 branch parse_rx_done 
+:      028311 lmp_reject_pdu_not_allowed:
+0x56ec 028312 jam pdu_not_allowed ,mem_lmo_reason2 
+0x56ed 028313 branch reject_lmp_packet 
+:      028315 number_comparison_mode:
+0x56ee 028316 fetch 1 ,mem_flag_mode_ssp_pin 
+0x56ef 028317 bbit1 flag_mode_ssp_pin_reviceve_comparison_bit ,comparison_result 
+0x56f0 028318 set1 flag_mode_ssp_pin_recieve_dhkey_bit ,pdata 
+0x56f1 028319 store 1 ,mem_flag_mode_ssp_pin 
+0x56f2 028320 rtn 
+:      028322 comparison_result:
+0x56f3 028323 bbit1 flag_mode_ssp_pin_comparison_result_bit ,number_comparison_successed 
+0x56f4 028324 jam 0 ,mem_flag_mode_ssp_pin 
+0x56f5 028325 branch lmp_reject_pdu_not_allowed 
+:      028328 parse_lmp_clkoffset_res:
+0x56f6 028329 branch parse_rx_done 
+:      028331 parse_lmp_encryption_mode_req:
+0x56f7 028332 fetch 1 ,mem_connection_options 
+0x56f8 028333 set0 connection_encrypt ,pdata 
+0x56f9 028334 store 1 ,mem_connection_options 
+0x56fa 028335 call accept_lmp_msg 
+0x56fb 028336 nrtn master 
+0x56fc 028337 fetch 1 ,mem_rxbuf + 1 
+0x56fd 028338 fetcht 1 ,mem_op 
+0x56fe 028339 setflag blank ,op_stop_enc ,temp 
+0x56ff 028340 nsetflag blank ,op_start_enc ,temp 
+0x5700 028341 storet 1 ,mem_op 
+0x5701 028342 rtn 
+:      028344 parse_lmp_features_res:
+0x5702 028345 fetcht 8 ,mem_rxbuf + 1 
+:      028346 parse_lmp_features_res_not_hci:
+0x5703 028347 fetch 1 ,mem_conn_sm 
+0x5704 028348 rtnne conn_sm_wait_features_res 
+0x5705 028350 fetch 1 ,mem_connection_options 
+0x5706 028351 bbit0 connection_feature_ext ,parse_lmp_send_conn 
+0x5707 028353 jam conn_sm_send_features_ext ,mem_conn_sm 
+0x5708 028354 rtn 
+:      028355 parse_lmp_send_conn:
+0x5709 028356 jam conn_sm_send_conn_req ,mem_conn_sm 
+0x570a 028357 rtn 
+:      028358 parse_lmp_test_activate:
+0x570b 028359 fetch 1 ,mem_debug_config 
+0x570c 028360 store 1 ,mem_test_mode_old_debug_config 
+0x570d 028361 jam lmp_accepted ,mem_lmo_opcode2 
+0x570e 028362 jam lmp_test_activate ,mem_lmi_opcode2 
+0x570f 028363 rtn 
+:      028364 parse_lmp_test_control:
+0x5710 028367 jam lmp_accepted ,mem_lmo_opcode2 
+0x5711 028368 jam lmp_test_control ,mem_lmi_opcode2 
+0x5712 028369 force 9 ,loopcnt 
+0x5713 028370 arg mem_rxbuf + 1 ,contr 
+0x5714 028371 arg mem_temp_payload ,contw 
+:      028372 parse_lmp_test_xor:
+0x5715 028373 ifetch 1 ,contr 
+0x5716 028374 xor_into 0x55 ,pdata 
+0x5717 028375 istore 1 ,contw 
+0x5718 028376 loop parse_lmp_test_xor 
+0x5719 028377 fetch 1 ,test_mode_scenario 
+0x571a 028378 fetcht 1 ,mem_tester_emulate 
+0x571b 028379 set0 tester_no_whitening ,temp 
+0x571c 028380 set0 tester_pattern_test ,temp 
+0x571d 028381 beq exit_test_mode ,parse_lmp_test_control_exit 
+0x571e 028382 beq pause_test_mode ,parse_lmp_test_control_pause 
+0x571f 028383 beq closed_loop_back_acl ,parse_lmp_test_control_loopback 
+0x5720 028384 beq acl_without_whitening ,parse_lmp_test_control_loopback_nowhite 
+0x5721 028385 beq closed_loop_back_sco ,parse_lmp_test_control_loopback 
+0x5722 028386 beq sco_without_whitening ,parse_lmp_test_control_loopback_nowhite 
+0x5723 028387 beq zero_pattern ,parse_lmp_test_control_pattern 
+0x5724 028388 beq one_pattern ,parse_lmp_test_control_pattern 
+0x5725 028389 beq alt_pattern ,parse_lmp_test_control_pattern 
+0x5726 028390 beq alt2_pattern ,parse_lmp_test_control_pattern 
+0x5727 028391 beq pseudorandom ,parse_lmp_test_control_pattern 
+0x5728 028392 rtn 
+:      028393 parse_lmp_test_control_exit:
+0x5729 028395 fetch 1 ,mem_tester_emulate 
+0x572a 028396 set1 tester_exit ,pdata 
+0x572b 028397 set1 tester_change ,pdata 
+0x572c 028398 store 1 ,mem_tester_emulate 
+0x572d 028399 rtn 
+:      028400 parse_lmp_test_control_pattern:
+0x572e 028401 set1 tester_pattern_test ,temp 
+0x572f 028402 jam 5 ,mem_lch_code 
+0x5730 028403 fetch 2 ,test_mode_data_length 
+0x5731 028404 iforce loopcnt 
+0x5732 028405 store 2 ,mem_len 
+0x5733 028406 arg mem_rxbuf ,contw 
+0x5734 028407 call pn9 
+:      028408 parse_lmp_test_control_loopback_nowhite:
+0x5735 028409 set1 tester_no_whitening ,temp 
+:      028410 parse_lmp_test_control_loopback:
+0x5736 028411 set1 tester_change ,temp 
+0x5737 028412 force 0 ,pdata 
+0x5738 028413 store 1 ,mem_slave_rcvcnt 
+0x5739 028414 store 2 ,mem_tst_pktcnt_crc 
+0x573a 028415 store 2 ,mem_tst_pktcnt_dmh 
+0x573b 028416 store 2 ,mem_tst_pktcnt_hec 
+0x573c 028417 store 2 ,mem_tst_pktcnt_sync 
+0x573d 028418 fetch 1 ,test_mode_hopping_mode 
+0x573e 028419 compare fixed_freq ,pdata ,0xff 
+0x573f 028420 setflag true ,tester_fixed_freq ,temp 
+0x5740 028421 storet 1 ,mem_tester_emulate 
+0x5741 028422 rtn 
+:      028424 parse_lmp_test_control_pause:
+0x5742 028425 set0 mark_testmode ,mark 
+0x5743 028426 jam 0 ,mem_tester_emulate 
+0x5744 028427 fetch 1 ,mem_debug_config 
+0x5745 028428 set0 debug_tx_pattern ,pdata 
+0x5746 028429 store 1 ,mem_debug_config 
+0x5747 028430 rtn 
+:      028436 lmp_copy_rand:
+0x5748 028437 arg mem_rxbuf + 1 ,contr 
+0x5749 028438 arg mem_random_number ,contw 
+0x574a 028439 branch memcpy16 
+:      028441 lmp_generate_key:
+0x574b 028442 jam lmp_comb_key ,mem_lmo_opcode2 
+0x574c 028443 rtn 
+:      028445 lmp_start_encryption:
+0x574d 028446 nrtn master 
+0x574e 028447 jam lmp_start_encryption_req ,mem_lmo_opcode2 
+0x574f 028448 rtn 
+:      028450 lmp_accept_inrand:
+0x5750 028451 arg mem_lap ,rega 
+0x5751 028452 call generate_kinit 
+0x5752 028453 jam lmp_accepted ,mem_lmo_opcode2 
+0x5753 028454 jam lmp_in_rand ,mem_lmi_opcode2 
+0x5754 028455 rtn 
+:      028457 lmp_disconnect:
+0x5755 028458 jam 10 ,mem_conn_timer 
+0x5756 028459 jam lmp_detach ,mem_lmo_opcode2 
+0x5757 028460 jam local_host ,mem_disconn_reason_send 
+0x5758 028461 rtn 
+:      028467 send_lmp:
+0x5759 028468 bpatchx patch23_1 ,mem_patch23 
+0x575a 028469 disable user 
+0x575b 028470 call lmo_fifo_process 
+0x575c 028471 fetch 1 ,mem_lmp_to_send 
+0x575d 028472 rtn blank 
+0x575e 028477 bbit1 7 ,send_lmp_escape 
+:      028478 send_lmp0:
+0x575f 028479 beq lmp_name_req ,send_lmp_name_req 
+0x5760 028480 beq lmp_name_res ,send_lmp_name_res 
+0x5761 028481 beq lmp_accepted ,send_lmp_accepted 
+0x5762 028482 beq lmp_not_accepted ,send_lmp_not_accepted 
+0x5763 028483 beq lmp_features_req ,send_lmp_features_req 
+0x5764 028484 beq lmp_features_res ,send_lmp_features_res 
+0x5765 028485 beq lmp_timing_accuracy_res ,send_lmp_timing_accuracy_res 
+0x5766 028486 beq lmp_version_req ,send_lmp_version_req 
+0x5767 028487 beq lmp_version_res ,send_lmp_version_res 
+0x5768 028488 beq lmp_setup_complete ,send_lmp_setup_complete 
+0x5769 028489 beq lmp_supervision_timeout ,send_lmp_superto 
+0x576a 028490 beq lmp_host_connection_req ,send_lmp_no_payload 
+0x576b 028491 beq lmp_in_rand ,send_lmp_inrand 
+0x576c 028492 beq lmp_comb_key ,send_lmp_comb_key 
+0x576d 028493 beq lmp_au_rand ,send_lmp_aurand 
+0x576e 028494 beq lmp_sres ,send_lmp_sres 
+0x576f 028495 beq lmp_encryption_mode_req ,send_lmp_encryption_mode_req 
+0x5770 028496 beq lmp_encryption_key_size_req ,send_lmp_encryption_key_size_req 
+0x5771 028497 beq lmp_start_encryption_req ,send_lmp_start_encryption 
+0x5772 028498 beq lmp_detach ,send_lmp_detach 
+0x5773 028499 beq lmp_quality_of_service_req ,send_lmp_quality_of_service_req 
+0x5774 028500 beq lmp_unit_key ,send_lmp_unit_key 
+0x5775 028502 beq lmp_incr_power_req ,send_lmp_inc_power 
+0x5776 028503 beq lmp_clkoffset_res ,send_lmp_clkoffset_res 
+0x5777 028504 beq lmp_max_power ,send_lmp_nopayload_reply 
+0x5778 028505 beq lmp_max_slot ,send_lmp_max_slot 
+0x5779 028506 beq lmp_max_slot_req ,send_lmp_max_slot_req 
+0x577a 028507 beq lmp_min_power ,send_lmp_nopayload_reply 
+0x577b 028508 beq lmp_slot_offset ,send_lmp_slot_offset 
+0x577c 028509 beq lmp_switch_req ,send_lmp_switch_req 
+0x577d 028510 beq lmp_sniff_req ,send_lmp_sniff_req 
+0x577e 028511 beq lmp_stop_encryption_req ,send_lmp_stop_encryption_req 
+0x577f 028512 beq lmp_timing_accuracy_req ,send_lmp_timing_accuracy_req 
+0x5780 028513 beq lmp_unsniff_req ,send_lmp_unsniff_req 
+0x5781 028514 beq lmp_encapsulated_header ,send_lmp_encapsulated_header 
+0x5782 028515 beq lmp_encapsulated_payload ,send_lmp_encapsulated_payload 
+0x5783 028516 beq lmp_simple_pairing_confirm ,send_lmp_simple_pairing_comfirm 
+0x5784 028517 beq lmp_simple_pairing_number ,send_lmp_simple_pairing_number 
+0x5785 028518 beq lmp_dhkey_check ,send_lmp_dhkey_check 
+0x5786 028519 beq lmp_auto_rate ,send_lmp_auto_rate 
+0x5787 028520 beq lmp_enc_key_size_mask_res ,send_lmp_enc_key_size_mask_res 
+0x5788 028522 beq lmp_clkoffset_req ,send_lmp_clkoffset_req 
+0x5789 028523 beq lmp_quality_of_service ,send_lmp_quality_of_service 
+0x578a 028524 beq lmp_test_activate ,send_lmp_test_activate 
+0x578b 028525 beq lmp_test_control ,send_lmp_test_control 
+:      028526 send_lmp_error:
+0x578c 028527 branch assert 
+0x578d 028528 rtn 
+:      028529 send_lmp_escape:
+0x578e 028530 beq lmp_ext_accepted ,send_lmpext_accepted 
+0x578f 028531 beq lmp_ext_features_req ,send_lmpext_features_req 
+0x5790 028532 beq lmp_ext_features_res ,send_lmpext_features_res 
+0x5791 028533 beq lmp_not_accepted_ext ,send_lmpext_not_accepted 
+0x5792 028534 beq lmp_packet_type_table_req ,send_lmpext_packet_type_table_req 
+0x5793 028535 beq lmp_pause_encryption_req ,send_lmpext_pause_encryption_req 
+0x5794 028536 beq lmp_io_cap_req ,send_lmp_io_cap_req 
+0x5795 028537 beq lmp_io_cap_res ,send_lmpext_io_cap_res 
+0x5796 028538 beq lmp_sniff_subrating_req ,send_lmpext_sniff_subrating_req 
+0x5797 028539 beq lmp_sniff_subrating_res ,send_lmpext_sniff_subrating_res 
+0x5798 028540 beq lmp_ping_res ,send_lmpext_ping_res 
+0x5799 028541 branch assert 
+:      028547 send_lmp_accepted:
+0x579a 028548 force 2 ,pdata 
+0x579b 028549 call msg_send_lmp 
+0x579c 028550 fetch 1 ,mem_lmi_opcode 
+0x579d 028551 istore 1 ,contw 
+0x579e 028552 call send_lmp_follow 
+0x579f 028553 bpatchx patch23_2 ,mem_patch23 
+0x57a0 028554 fetch 1 ,mem_lmi_opcode 
+0x57a1 028555 beq lmp_in_rand ,send_lmp_accepted_inrand 
+0x57a2 028556 beq lmp_encryption_mode_req ,send_lmp_accepted_enc_mode 
+0x57a3 028557 beq lmp_encryption_key_size_req ,send_lmp_accepted_enc_key 
+0x57a4 028558 beq lmp_sniff_req ,send_lmp_accept_sniff_req 
+0x57a5 028559 beq lmp_host_connection_req ,send_lmp_accepted_connection 
+0x57a6 028560 beq lmp_dhkey_check ,send_lmp_accept_dhkey_check 
+0x57a7 028561 beq lmp_start_encryption_req ,send_create_conn_start_l2cap_timer_sm 
+0x57a8 028562 rtn 
+:      028564 send_create_conn_start_l2cap_timer_sm:
+0x57a9 028565 fetch 1 ,mem_conn_sm 
+0x57aa 028566 rtn blank 
+0x57ab 028567 jam conn_sm_wait_done ,mem_conn_sm 
+0x57ac 028568 setarg timer_enpt_waite 
+0x57ad 028569 arg enpt_delay_timer ,queue 
+0x57ae 028570 branch timer_init 
+:      028572 send_lmp_accept_sniff_req:
+0x57af 028573 branch sniff_init 
+:      028574 send_lmp_not_accepted:
+0x57b0 028575 force 3 ,pdata 
+0x57b1 028576 call msg_send_lmp 
+0x57b2 028577 fetch 1 ,mem_lmi_opcode 
+0x57b3 028578 beq lmp_au_rand ,send_not_accept_aurand 
+0x57b4 028579 istore 1 ,contw 
+0x57b5 028580 fetch 1 ,mem_lmo_reason 
+0x57b6 028581 istore 1 ,contw 
+0x57b7 028582 branch send_lmp_follow 
+:      028584 send_not_accept_aurand:
+0x57b8 028585 istore 1 ,contw 
+0x57b9 028586 fetch 1 ,mem_lmo_reason 
+0x57ba 028587 istore 1 ,contw 
+0x57bb 028588 arg mem_sres_tid ,temp 
+0x57bc 028589 branch special_tid_store 
+:      028591 send_lmpext_accepted:
+0x57bd 028592 force 4 ,queue 
+0x57be 028593 call send_lmpext 
+0x57bf 028594 setarg lmp_escape 
+0x57c0 028595 istore 1 ,contw 
+0x57c1 028596 fetch 1 ,mem_lmi_opcode 
+0x57c2 028597 set0 7 ,pdata 
+0x57c3 028598 istore 1 ,contw 
+0x57c4 028599 fetch 1 ,mem_lmi_opcode 
+0x57c5 028600 branch send_lmp_follow 
+:      028602 send_lmpext_not_accepted:
+0x57c6 028603 force 5 ,queue 
+0x57c7 028604 call send_lmpext 
+0x57c8 028605 setarg lmp_escape 
+0x57c9 028606 istore 1 ,contw 
+0x57ca 028607 fetch 1 ,mem_lmi_opcode 
+0x57cb 028608 set0 7 ,pdata 
+0x57cc 028609 istore 1 ,contw 
+0x57cd 028610 fetch 1 ,mem_lmo_reason 
+0x57ce 028611 istore 1 ,contw 
+0x57cf 028612 branch send_lmp_follow 
+:      028615 send_lmp_accepted_inrand:
+0x57d0 028616 call clear_linkkey 
+0x57d1 028617 call tid_check 
+0x57d2 028618 rtn true 
+0x57d3 028619 branch lmp_generate_key 
+:      028621 send_lmp_accepted_enc_mode:
+0x57d4 028622 fetch 1 ,mem_op 
+0x57d5 028623 bbit1 op_start_enc ,send_lmp_accepted_enc_start 
+0x57d6 028624 rtnbit0 op_stop_enc 
+0x57d7 028625 jam lmp_stop_encryption_req ,mem_lmo_opcode2 
+0x57d8 028626 set0 op_stop_enc ,pdata 
+0x57d9 028627 call tid_reply 
+0x57da 028628 branch send_lmp_accepted_enc_exit 
+:      028629 send_lmp_accepted_enc_start:
+0x57db 028630 jam lmp_encryption_key_size_req ,mem_lmo_opcode2 
+0x57dc 028631 set0 op_start_enc ,pdata 
+:      028632 send_lmp_accepted_enc_exit:
+0x57dd 028633 store 1 ,mem_op 
+0x57de 028634 rtn 
+:      028636 send_lmp_accepted_enc_key:
+0x57df 028637 call check_localsm 
+0x57e0 028638 branch lmp_start_encryption ,true 
+0x57e1 028639 rtn 
+:      028641 send_lmp_accepted_connection:
+0x57e2 028642 jam lmp_packet_type_table_req ,mem_lmo_opcode2 
+0x57e3 028644 fetch 1 ,mem_lmp_conn_state 
+0x57e4 028645 set1 received_conn_req ,pdata 
+0x57e5 028646 store 1 ,mem_lmp_conn_state 
+0x57e6 028647 jam bt_evt_bb_connected ,mem_fifo_temp 
+0x57e7 028648 branch ui_ipc_send_event 
+:      028651 send_lmp_accept_dhkey_check:
+0x57e8 028652 rtn 
+:      028657 send_lmpext_ping_res:
+0x57e9 028658 force 2 ,queue 
+0x57ea 028659 call send_lmpext 
+0x57eb 028660 branch send_lmp_reply 
+:      028662 send_lmpext_features_res:
+0x57ec 028663 copy pdata ,rega 
+0x57ed 028664 call check_ssp_enable 
+0x57ee 028665 fetch 1 ,mem_ext_features_page 
+0x57ef 028666 beq 1 ,send_lmpext_features_res1 
+0x57f0 028667 beq 2 ,send_lmpext_features_res2 
+0x57f1 028668 rtn 
+:      028670 send_lmpext_features_res1:
+0x57f2 028671 copy rega ,pdata 
+0x57f3 028672 force 12 ,queue 
+0x57f4 028673 call send_lmpext 
+0x57f5 028674 setarg 0x01 
+0x57f6 028675 istore 1 ,contw 
+0x57f7 028676 fetch 2 ,mem_lmpext_ssp_enable 
+0x57f8 028677 istore 9 ,contw 
+0x57f9 028678 branch send_lmp_reply 
+:      028680 send_lmpext_features_res2:
+0x57fa 028681 copy rega ,pdata 
+0x57fb 028682 force 12 ,queue 
+0x57fc 028683 call send_lmpext 
+0x57fd 028684 setarg 0x02 
+0x57fe 028685 istore 1 ,contw 
+0x57ff 028686 setarg 0x010002 
+0x5800 028687 istore 9 ,contw 
+0x5801 028688 branch send_lmp_reply 
+:      028690 check_ssp_enable:
+0x5802 028691 fetch 1 ,mem_ssp_enable 
+0x5803 028692 branch ssp_disable ,blank 
+0x5804 028693 call ssp_enable 
+0x5805 028694 branch check_br_sc_enable 
+:      028696 ssp_disable:
+0x5806 028697 fetch 1 ,mem_features + 6 
+0x5807 028698 set0 param_featrue_ssp ,pdata 
+0x5808 028699 store 1 ,mem_features + 6 
+0x5809 028700 setarg 0x1 
+0x580a 028701 store 2 ,mem_lmpext_ssp_enable 
+0x580b 028702 branch sp_clear_flags 
+:      028705 ssp_enable:
+0x580c 028706 bpatchx patch23_3 ,mem_patch23 
+0x580d 028707 fetch 1 ,mem_features + 6 
+0x580e 028708 set1 param_featrue_ssp ,pdata 
+0x580f 028709 store 1 ,mem_features + 6 
+0x5810 028710 setarg param_lmpext_ssp_enable 
+0x5811 028711 store 2 ,mem_lmpext_ssp_enable 
+0x5812 028712 rtn 
+:      028714 check_br_sc_enable:
+0x5813 028715 fetch 1 ,mem_secure_connections_enable 
+0x5814 028716 bbit1 secure_connections_br_bit ,br_sc_enable 
+0x5815 028717 rtn 
+:      028719 br_sc_enable:
+0x5816 028720 setarg 0x0902 
+0x5817 028721 store 2 ,mem_lmpext_ssp_enable 
+0x5818 028722 rtn 
+:      028724 send_lmpext_io_cap_res:
+0x5819 028725 force 5 ,queue 
+0x581a 028726 call send_lmpext 
+0x581b 028727 fetch 3 ,mem_lmp_io_cap_payload_iocap 
+0x581c 028728 istore 3 ,contw 
+0x581d 028729 call send_lmp_reply 
+0x581e 028730 jam flag_pairing_state_pairing ,mem_flag_pairing_state 
+0x581f 028731 fetch 1 ,mem_lmp_io_cap_payload_iocap 
+0x5820 028732 beq io_capability_display_yesno ,responder_iocap_display_yesno 
+0x5821 028733 beq io_capability_keyboard_only ,responder_iocap_keyboard_only 
+0x5822 028734 beq io_capability_no_input_no_output ,responder_iocap_no_input_no_output 
+0x5823 028735 rtn 
+:      028737 responder_iocap_keyboard_only:
+0x5824 028738 fetch 1 ,mem_sp_iocap_remote 
+0x5825 028739 beq io_capability_display_only ,responder_iocap_keyboard_only_initiator_iocap_display_only 
+0x5826 028740 beq io_capability_display_yesno ,responder_iocap_keyboard_only_initiator_iocap_display_yesno 
+0x5827 028741 beq io_capability_keyboard_only ,responder_iocap_keyboard_only_initiator_iocap_keyboard_only 
+0x5828 028742 beq io_capability_no_input_no_output ,responder_iocap_keyboard_only_initiator_iocap_no_input_no_output 
+0x5829 028743 rtn 
+:      028746 responder_iocap_display_yesno:
+0x582a 028747 fetch 1 ,mem_sp_iocap_remote 
+0x582b 028748 beq io_capability_display_only ,responder_iocap_display_yesno_initiator_iocap_display_only 
+0x582c 028749 beq io_capability_display_yesno ,responder_iocap_display_yesno_initiator_iocap_display_yesno 
+0x582d 028750 beq io_capability_keyboard_only ,responder_iocap_display_yesno_initiator_iocap_keyboard_only 
+0x582e 028751 beq io_capability_no_input_no_output ,responder_iocap_display_yesno_initiator_iocap_no_input_no_output 
+0x582f 028752 rtn 
+:      028755 responder_iocap_no_input_no_output:
+0x5830 028756 fetch 1 ,mem_sp_iocap_remote 
+0x5831 028757 beq io_capability_display_only ,responder_iocap_no_input_no_output_initiator_iocap_display_only 
+0x5832 028758 beq io_capability_display_yesno ,responder_iocap_no_input_no_output_initiator_iocap_display_yesno 
+0x5833 028759 beq io_capability_keyboard_only ,responder_iocap_no_input_no_output_initiator_iocap_keyboard_only 
+0x5834 028760 beq io_capability_no_input_no_output ,responder_iocap_no_input_no_output_initiator_iocap_no_input_no_output 
+0x5835 028761 rtn 
+:      028763 responder_iocap_keyboard_only_initiator_iocap_no_input_no_output:
+:      028764 responder_iocap_display_yesno_initiator_iocap_no_input_no_output:
+:      028765 responder_iocap_display_yesno_initiator_iocap_display_only:
+:      028766 responder_iocap_no_input_no_output_initiator_iocap_display_only:
+:      028767 responder_iocap_no_input_no_output_initiator_iocap_display_yesno:
+:      028768 responder_iocap_no_input_no_output_initiator_iocap_keyboard_only:
+:      028769 responder_iocap_no_input_no_output_initiator_iocap_no_input_no_output:
+:      028770 set_ssp_mode_justwork:
+0x5836 028771 jam ssp_mode_just_work_flag ,mem_ssp_mode_flag 
+0x5837 028772 fetch 1 ,mem_classic_bt_flag 
+0x5838 028773 bbit1 flag_ssp_reject_justwork ,app_bt_disconnect 
+0x5839 028774 rtn 
+:      028776 responder_iocap_display_yesno_initiator_iocap_display_yesno:
+:      028777 set_ssp_mode_numeric_comparison:
+0x583a 028778 jam ssp_mode_ssp_pin_flag ,mem_ssp_mode_flag 
+0x583b 028779 rtn 
+:      028781 responder_iocap_keyboard_only_initiator_iocap_display_yesno:
+:      028782 responder_iocap_keyboard_only_initiator_iocap_keyboard_only:
+:      028783 responder_iocap_keyboard_only_initiator_iocap_display_only:
+:      028784 responder_iocap_display_yesno_initiator_iocap_keyboard_only:
+:      028785 set_ssp_mode_passkey:
+0x583c 028786 jam ssp_mode_passkey_entry_flag ,mem_ssp_mode_flag 
+0x583d 028787 rtn 
+:      028790 classic_bt_set_reject_justwork_flag:
+0x583e 028791 arg flag_ssp_reject_justwork ,queue 
+0x583f 028792 branch classic_bluetooth_set_flag 
+:      028794 classic_bt_clr_reject_justwork_flag:
+0x5840 028795 arg flag_ssp_reject_justwork ,queue 
+0x5841 028796 branch classic_bluetooth_clr_flag 
+:      028798 classic_bluetooth_set_flag:
+0x5842 028799 fetch 1 ,mem_classic_bt_flag 
+0x5843 028800 qset1 pdata 
+0x5844 028801 store 1 ,mem_classic_bt_flag 
+0x5845 028802 rtn 
+:      028804 classic_bluetooth_clr_flag:
+0x5846 028805 fetch 1 ,mem_classic_bt_flag 
+0x5847 028806 qset0 pdata 
+0x5848 028807 store 1 ,mem_classic_bt_flag 
+0x5849 028808 rtn 
+:      028811 send_lmp_io_cap_req:
+0x584a 028812 force 5 ,queue 
+0x584b 028813 call send_lmpext 
+0x584c 028814 fetch 3 ,mem_lmp_io_cap_payload_iocap 
+0x584d 028815 istore 3 ,contw 
+0x584e 028816 branch send_lmp_request 
+:      028819 send_lmpext_sniff_subrating_req:
+0x584f 028821 rtn 
+:      028822 send_lmpext_sniff_subrating_res:
+0x5850 028823 force 9 ,queue 
+0x5851 028824 call send_lmpext 
+0x5852 028825 fetch 1 ,mem_subsniff_rate 
+0x5853 028826 istore 1 ,contw 
+0x5854 028827 fetch 2 ,mem_subsniff_tcmax 
+0x5855 028828 istore 2 ,contw 
+0x5856 028829 fetch 4 ,mem_subsniff_instant 
+0x5857 028830 istore 4 ,contw 
+0x5858 028831 branch send_lmp_reply 
+:      028833 send_lmp_name_res:
+0x5859 028834 force 17 ,pdata 
+0x585a 028835 call msg_send_lmp 
+0x585b 028836 fetch 1 ,mem_lmi_opcode 
+0x585c 028837 copy pdata ,temp 
+0x585d 028838 beq 0x00 ,send_lmp_name_res_offset_ok 
+0x585e 028839 beq 0x0e ,send_lmp_name_res_offset_ok 
+0x585f 028840 beq 0x1c ,send_lmp_name_res_offset_ok 
+0x5860 028841 rtn 
+:      028842 send_lmp_name_res_offset_ok:
+0x5861 028843 istore 1 ,contw 
+0x5862 028844 fetch 1 ,mem_local_name_length 
+0x5863 028845 istore 1 ,contw 
+0x5864 028846 arg 14 ,loopcnt 
+0x5865 028847 setarg mem_local_name 
+0x5866 028848 iadd temp ,contr 
+0x5867 028849 call memcpy 
+0x5868 028850 branch send_lmp_reply 
+:      028853 send_lmp_timing_accuracy_res:
+0x5869 028854 force 3 ,pdata 
+0x586a 028855 call msg_send_lmp 
+0x586b 028856 setarg 0x0114 
+0x586c 028857 istore 2 ,contw 
+0x586d 028858 branch send_lmp_reply 
+:      028860 send_lmp_clkoffset_res:
+0x586e 028862 force 3 ,pdata 
+0x586f 028863 call msg_send_lmp 
+0x5870 028864 fetch 4 ,mem_clke_bt 
+0x5871 028865 isub clkn_bt ,pdata 
+0x5872 028866 branch send_lmp_clkoffset_res_master ,master 
+0x5873 028867 sub pdata ,0 ,pdata 
+:      028868 send_lmp_clkoffset_res_master:
+0x5874 028870 rshift2 pdata ,pdata 
+0x5875 028871 set0 15 ,pdata 
+0x5876 028872 istore 2 ,contw 
+0x5877 028873 branch send_lmp_reply 
+:      028875 send_lmp_version_res:
+0x5878 028876 force 6 ,pdata 
+0x5879 028877 call msg_send_lmp 
+0x587a 028878 fetch 5 ,mem_lmp_version 
+0x587b 028879 istore 5 ,contw 
+0x587c 028880 branch send_lmp_reply 
+:      028882 send_lmp_features_res:
+0x587d 028883 force 9 ,pdata 
+0x587e 028884 call msg_send_lmp 
+0x587f 028885 fetch 8 ,mem_features 
+0x5880 028886 istore 8 ,contw 
+0x5881 028887 branch send_lmp_reply 
+:      028894 send_lmpext_features_req:
+0x5882 028895 call check_ssp_enable 
+0x5883 028896 fetch 1 ,mem_lmp_to_send 
+0x5884 028897 force 12 ,queue 
+0x5885 028898 call send_lmpext 
+0x5886 028899 setarg 0x01 
+0x5887 028900 istore 1 ,contw 
+0x5888 028901 fetch 2 ,mem_lmpext_ssp_enable 
+0x5889 028902 istore 2 ,contw 
+0x588a 028903 setarg 0 
+0x588b 028904 istore 3 ,contw 
+0x588c 028905 setarg 0x00 
+0x588d 028906 istore 4 ,contw 
+0x588e 028907 branch send_lmp_request 
+:      028909 send_lmpext_packet_type_table_req:
+0x588f 028910 force 3 ,queue 
+0x5890 028911 call send_lmpext 
+0x5891 028912 fetch 1 ,mem_ptt 
+0x5892 028913 istore 1 ,contw 
+0x5893 028914 disable user 
+0x5894 028915 call send_lmp_request 
+0x5895 028916 nrtn user 
+0x5896 028917 nrtn master 
+0x5897 028918 fetch 1 ,mem_afh_cfg 
+0x5898 028919 rtnbit0 afh_cfg_on 
+0x5899 028920 call afh_init 
+0x589a 028921 branch afh_open_all_channels 
+:      028924 afh_init:
+0x589b 028925 jam 0x3 ,mem_afh_cfg 
+0x589c 028926 setarg 0 
+0x589d 028927 store 4 ,mem_afh_timer 
+0x589e 028928 arg mem_afh_map_lo ,contw 
+0x589f 028929 call afh_reset_map 
+0x58a0 028930 arg mem_afh_map_new ,contw 
+0x58a1 028931 call afh_reset_map 
+0x58a2 028932 arg mem_afh_classify_channel_map ,contw 
+0x58a3 028933 call afh_reset_map 
+0x58a4 028934 branch afh_clear_error_counter 
+:      028935 afh_open_all_channels:
+0x58a5 028936 arg mem_afh_map_new ,contw 
+0x58a6 028937 call afh_reset_map 
+0x58a7 028938 call afh_clear_error_counter 
+0x58a8 028939 branch afh_set_send_flag 
+:      028942 afh_reset_map:
+0x58a9 028943 setarg 0xffffff 
+0x58aa 028944 istore 3 ,contw 
+0x58ab 028945 istore 3 ,contw 
+0x58ac 028946 istore 3 ,contw 
+0x58ad 028947 setarg 0x7f 
+0x58ae 028948 istore 1 ,contw 
+0x58af 028949 rtn 
+:      028950 afh_clear_error_counter:
+0x58b0 028951 setarg 0 
+0x58b1 028952 store 2 ,mem_afh_error_total 
+0x58b2 028953 rtn 
+:      028954 afh_set_send_flag:
+0x58b3 028955 fetch 1 ,mem_afh_cfg 
+0x58b4 028956 set1 send_lmp_set_afh ,pdata 
+0x58b5 028957 store 1 ,mem_afh_cfg 
+0x58b6 028958 rtn 
+:      028961 send_lmpext_pause_encryption_req:
+0x58b7 028962 force 2 ,queue 
+0x58b8 028963 call send_lmpext 
+0x58b9 028964 nbranch send_lmp_reply ,master 
+0x58ba 028966 branch send_lmp_request 
+:      028970 send_lmp_detach:
+0x58bb 028971 force 2 ,pdata 
+0x58bc 028972 call msg_send_lmp 
+0x58bd 028973 fetch 1 ,mem_disconn_reason_send 
+0x58be 028974 istore 1 ,contw 
+0x58bf 028975 call send_lmp_request 
+:      028976 prepare_disconnect:
+0x58c0 028977 fetch 1 ,mem_op 
+0x58c1 028978 set1 op_disconn ,pdata 
+0x58c2 028979 store 1 ,mem_op 
+0x58c3 028980 jam 50 ,mem_conn_timer 
+0x58c4 028981 rtn 
+:      028984 send_lmp_no_payload:
+0x58c5 028985 force 1 ,pdata 
+0x58c6 028986 call msg_send_lmp 
+0x58c7 028987 branch send_lmp_request 
+:      028988 send_lmp_nopayload_reply:
+0x58c8 028989 force 1 ,pdata 
+0x58c9 028990 call msg_send_lmp 
+0x58ca 028991 branch send_lmp_reply 
+:      028994 send_lmp_encryption_mode_req:
+0x58cb 028995 force 2 ,pdata 
+0x58cc 028996 call msg_send_lmp 
+0x58cd 028997 fetch 1 ,mem_state_map 
+0x58ce 028998 isolate0 smap_encryption ,pdata 
+0x58cf 028999 setflag true ,0 ,pdata 
+0x58d0 029000 and_into 1 ,pdata 
+0x58d1 029001 istore 1 ,contw 
+0x58d2 029002 branch send_lmp_request 
+:      029005 send_lmp_superto:
+0x58d3 029006 force 3 ,pdata 
+0x58d4 029007 call msg_send_lmp 
+0x58d5 029008 fetch 2 ,mem_supervision_to 
+0x58d6 029009 istore 2 ,contw 
+0x58d7 029010 branch send_lmp_request 
+:      029012 send_lmp_name_req:
+0x58d8 029013 jam 250 ,mem_conn_timer 
+0x58d9 029014 force 2 ,pdata 
+0x58da 029015 call msg_send_lmp 
+0x58db 029016 fetch 1 ,mem_name_offset 
+0x58dc 029017 istore 1 ,contw 
+0x58dd 029018 branch send_lmp_request 
+:      029020 send_lmp_test_control:
+0x58de 029021 force 10 ,pdata 
+0x58df 029022 call msg_send_lmp 
+0x58e0 029023 arg mem_temp_payload ,contr 
+0x58e1 029024 force 9 ,loopcnt 
+:      029025 send_lmp_test_control_loop:
+0x58e2 029026 ifetch 1 ,contr 
+0x58e3 029027 xor_into 0x55 ,pdata 
+0x58e4 029028 istore 1 ,contw 
+0x58e5 029029 loop send_lmp_test_control_loop 
+0x58e6 029030 branch send_lmp_request 
+:      029032 send_lmp_quality_of_service_req:
+0x58e7 029033 branch send_lmp_request 
+:      029034 send_lmp_unit_key:
+0x58e8 029035 branch send_lmp_request 
+:      029037 send_lmp_slot_offset:
+0x58e9 029038 rtn master 
+0x58ea 029039 call calc_slot_offset 
+0x58eb 029040 force 9 ,pdata 
+0x58ec 029041 call msg_send_lmp 
+0x58ed 029042 fetch 2 ,mem_slot_offset 
+0x58ee 029043 istore 2 ,contw 
+0x58ef 029044 fetch 3 ,mem_lap 
+0x58f0 029045 istore 3 ,contw 
+0x58f1 029046 fetch 1 ,mem_uap 
+0x58f2 029047 istore 1 ,contw 
+0x58f3 029048 fetch 2 ,mem_nap 
+0x58f4 029049 istore 2 ,contw 
+0x58f5 029050 bmark0 mark_switch_initiated ,send_lmp_slot_offset_reply 
+0x58f6 029051 set0 mark_switch_initiated ,mark 
+0x58f7 029052 call send_lmp_request 
+0x58f8 029053 jam lmp_switch_req ,mem_lmo_opcode2 
+0x58f9 029054 rtn 
+:      029055 send_lmp_slot_offset_reply:
+0x58fa 029056 call send_lmp_reply 
+0x58fb 029057 jam lmp_accepted ,mem_lmo_opcode2 
+0x58fc 029058 jam lmp_switch_req ,mem_lmi_opcode2 
+0x58fd 029059 rtn 
+:      029061 send_lmp_switch_req:
+0x58fe 029062 arg 0x200 ,temp 
+0x58ff 029063 branch switch_on_native ,master 
+0x5900 029064 deposit clke_bt 
+0x5901 029065 branch switch_slack 
+:      029066 switch_on_native:
+0x5902 029067 deposit clkn_bt 
+:      029068 switch_slack:
+0x5903 029069 deposit bt_clk 
+0x5904 029070 iadd temp ,pdata 
+0x5905 029071 and_into 0x1fc ,pdata 
+0x5906 029072 store 4 ,mem_sniff_anchor 
+0x5907 029073 force 5 ,pdata 
+0x5908 029074 call msg_send_lmp 
+0x5909 029075 fetch 4 ,mem_sniff_anchor 
+0x590a 029076 rshift pdata ,pdata 
+0x590b 029077 istore 4 ,contw 
+0x590c 029078 branch send_lmp_request 
+:      029080 send_lmp_sniff_req:
+0x590d 029081 force 10 ,pdata 
+0x590e 029082 call msg_send_lmp 
+0x590f 029083 arg mem_sniff_payload ,contr 
+0x5910 029084 ifetch 9 ,contr 
+0x5911 029085 istore 9 ,contw 
+0x5912 029086 branch send_lmp_request 
+:      029089 send_lmp_timing_accuracy_req:
+0x5913 029091 force 3 ,pdata 
+0x5914 029092 call msg_send_lmp 
+0x5915 029093 setarg 0x0114 
+0x5916 029094 istore 2 ,contw 
+0x5917 029095 branch send_lmp_request 
+:      029097 send_lmp_unsniff_req:
+0x5918 029099 force 1 ,pdata 
+0x5919 029100 call msg_send_lmp 
+0x591a 029109 branch send_lmp_request 
+:      029112 send_lmp_max_slot:
+0x591b 029113 force 2 ,pdata 
+0x591c 029114 call msg_send_lmp 
+0x591d 029115 fetch 1 ,mem_max_slot 
+0x591e 029116 istore 1 ,contw 
+0x591f 029117 branch send_lmp_request 
+:      029120 send_lmp_max_slot_req:
+0x5920 029121 force 2 ,pdata 
+0x5921 029122 call msg_send_lmp 
+0x5922 029123 setarg 0x05 
+0x5923 029124 istore 1 ,contw 
+0x5924 029125 branch send_lmp_request 
+:      029128 send_lmp_inc_power:
+0x5925 029129 force 2 ,pdata 
+0x5926 029130 call msg_send_lmp 
+0x5927 029131 setarg 0x00 
+0x5928 029132 istore 1 ,contw 
+0x5929 029133 branch send_lmp_request 
+:      029136 send_lmp_setup_complete_by_module:
+0x592a 029137 jam lmp_max_slot_req ,mem_lmo_opcode2 
+0x592b 029138 rtn 
+:      029139 send_lmp_setup_complete:
+0x592c 029140 fetch 1 ,mem_device_option 
+0x592d 029141 sub pdata ,dvc_op_module ,null 
+0x592e 029142 call send_lmp_setup_complete_by_module ,zero 
+0x592f 029143 fetch 1 ,mem_state 
+0x5930 029144 set1 state_conn_comp ,pdata 
+0x5931 029145 store 1 ,mem_state 
+0x5932 029146 copy clkn_bt ,pdata 
+0x5933 029147 store 4 ,mem_aurand_send_delay_time 
+0x5934 029148 fetch 1 ,mem_lmp_conn_state 
+0x5935 029149 bbit1 sent_setup_complete ,send_lmp_setup_complete_has_sent 
+0x5936 029150 set1 sent_setup_complete ,pdata 
+0x5937 029151 store 1 ,mem_lmp_conn_state 
+0x5938 029152 jam bt_evt_setup_complete ,mem_fifo_temp 
+0x5939 029153 call ui_ipc_send_event 
+0x593a 029154 force 1 ,pdata 
+0x593b 029155 call msg_send_lmp 
+0x593c 029156 branch send_lmp_request 
+:      029157 send_lmp_setup_complete_has_sent:
+0x593d 029158 jam 0 ,mem_lmp_to_send 
+0x593e 029159 rtn 
+:      029161 send_lmp_version_req:
+0x593f 029162 force 6 ,pdata 
+0x5940 029163 call msg_send_lmp 
+0x5941 029164 fetch 5 ,mem_lmp_version 
+0x5942 029165 istore 5 ,contw 
+0x5943 029166 branch send_lmp_request 
+:      029168 send_lmp_features_req:
+0x5944 029169 force 9 ,pdata 
+0x5945 029170 call msg_send_lmp 
+0x5946 029171 fetch 8 ,mem_features 
+0x5947 029172 istore 8 ,contw 
+0x5948 029173 branch send_lmp_request 
+:      029175 sp_master_send_io_cap_get:
+0x5949 029176 jam sp_flag_commit ,mem_master_sp_flag 
+0x594a 029177 fetch 1 ,mem_sp_local_key_invalid 
+0x594b 029178 rtnne sp_key_valid 
+0x594c 029179 jam sp_master_stat_start_done ,mem_master_sp_state 
+0x594d 029180 rtn 
+:      029182 sp_master_send_io_cap_send:
+0x594e 029183 call tid_initiate 
+0x594f 029184 jam lmp_io_cap_req ,mem_lmo_opcode2 
+0x5950 029185 jam sp_stat_key_send ,mem_master_sp_state 
+0x5951 029186 rtn 
+:      029189 sp_master_send_lmp_encapsulated_header:
+0x5952 029190 call tid_initiate 
+0x5953 029191 jam lmp_encapsulated_header ,mem_lmo_opcode2 
+0x5954 029192 jam sp_stat_random_send ,mem_master_sp_state 
+0x5955 029193 rtn 
+:      029195 sp_master_commitment_compare:
+0x5956 029196 arg mem_sp_calc_result_high ,rega 
+0x5957 029197 arg mem_sp_confirm_remote ,regb 
+0x5958 029198 arg 16 ,loopcnt 
+0x5959 029199 call string_compare 
+0x595a 029200 branch sp_master_commitment_compare_success ,zero 
+0x595b 029201 jam sp_stat_null ,mem_master_sp_state 
+0x595c 029202 call master_clear_mem_master_sp_flag 
+0x595d 029203 jam lmp_simple_pairing_number ,mem_lmi_opcode2 
+0x595e 029204 branch lmp_reject_pdu_not_allowed 
+:      029206 sp_master_commitment_compare_success:
+0x595f 029207 jam sp_stat_confirm_calc ,mem_master_sp_state 
+0x5960 029208 call master_set_mem_master_sp_flag 
+0x5961 029209 jam lmp_simple_pairing_number ,mem_lmi_opcode2 
+0x5962 029210 branch accept_lmp_msg 
+:      029214 sp_master_send_lmp_simple_pairing_number:
+0x5963 029215 jam lmp_simple_pairing_number ,mem_lmo_opcode2 
+0x5964 029216 rtn 
+:      029220 sp_send_lmp_encapsulated_header:
+0x5965 029223 jam lmp_encapsulated_header ,mem_lmo_opcode2 
+0x5966 029225 rtn 
+:      029231 send_lmp_encapsulated_header:
+0x5967 029232 jam 0 ,mem_sp_local_key_send_count 
+0x5968 029233 force 4 ,pdata 
+0x5969 029234 call msg_send_lmp 
+0x596a 029235 fetch 3 ,mem_encapsulated_major_type 
+0x596b 029236 istore 3 ,contw 
+0x596c 029237 call check_localsm 
+0x596d 029238 branch send_lmp_request ,true 
+0x596e 029239 branch send_lmp_reply 
+:      029242 send_lmp_encapsulated_payload:
+0x596f 029243 fetch 1 ,mem_encapsulated_minor_type 
+0x5970 029244 beq encapsulated_minor_type_p256 ,send_lmp_encapsulated_payload_256 
+0x5971 029245 beq encapsulated_minor_type_p192 ,send_lmp_encapsulated_payload_192 
+0x5972 029246 rtn 
+:      029248 send_lmp_encapsulated_payload_256:
+0x5973 029249 force 17 ,pdata 
+0x5974 029250 call msg_send_lmp 
+0x5975 029251 fetch 1 ,mem_sp_local_key_send_count 
+0x5976 029252 arg mem_sc_pubkey_local_x_256 ,contr 
+0x5977 029253 branch send_lmp_encapsulated_payload_common 
+:      029255 send_lmp_encapsulated_payload_192:
+0x5978 029256 force 17 ,pdata 
+0x5979 029257 call msg_send_lmp 
+0x597a 029258 fetch 1 ,mem_sp_local_key_send_count 
+0x597b 029259 arg mem_sp_pubkey_local ,contr 
+:      029260 send_lmp_encapsulated_payload_common:
+0x597c 029261 iadd contr ,contr 
+0x597d 029262 ifetch 8 ,contr 
+0x597e 029263 istore 8 ,contw 
+0x597f 029264 ifetch 8 ,contr 
+0x5980 029265 istore 8 ,contw 
+0x5981 029266 fetch 1 ,mem_sp_local_key_send_count 
+0x5982 029267 increase 16 ,pdata 
+0x5983 029268 store 1 ,mem_sp_local_key_send_count 
+0x5984 029269 call check_localsm 
+0x5985 029270 branch send_lmp_request ,true 
+0x5986 029271 branch send_lmp_reply 
+:      029274 sp_send_lmp_simple_pairing_comfirm:
+0x5987 029275 jam sp_stat_random_recv ,mem_sp_state 
+0x5988 029276 jam lmp_simple_pairing_confirm ,mem_lmo_opcode2 
+0x5989 029277 rtn 
+:      029278 send_lmp_simple_pairing_comfirm:
+0x598a 029281 force 17 ,pdata 
+0x598b 029282 call msg_send_lmp 
+0x598c 029283 arg mem_sp_calc_result_high ,contr 
+0x598d 029284 ifetch 8 ,contr 
+0x598e 029285 istore 8 ,contw 
+0x598f 029286 ifetch 8 ,contr 
+0x5990 029287 istore 8 ,contw 
+0x5991 029288 branch send_lmp_reply 
+:      029290 sp_send_lmp_simple_pairing_number:
+0x5992 029291 jam lmp_simple_pairing_number ,mem_lmo_opcode2 
+0x5993 029292 rtn 
+:      029294 send_lmp_simple_pairing_number:
+0x5994 029296 call check_localsm 
+0x5995 029297 call sp_local_random_key_generator ,true 
+0x5996 029298 force 17 ,pdata 
+0x5997 029299 call msg_send_lmp 
+0x5998 029300 arg mem_sp_random_local ,contr 
+0x5999 029301 ifetch 8 ,contr 
+0x599a 029302 istore 8 ,contw 
+0x599b 029303 ifetch 8 ,contr 
+0x599c 029304 istore 8 ,contw 
+0x599d 029305 call check_localsm 
+0x599e 029306 nbranch send_lmp_reply ,true 
+0x599f 029307 branch send_lmp_request ,true 
+:      029309 master_sp_sm_end:
+0x59a0 029311 jam sp_stat_done ,mem_master_sp_state 
+:      029312 sp_aurand_send:
+0x59a1 029313 call tid_initiate 
+0x59a2 029314 jam lmp_au_rand ,mem_lmo_opcode2 
+0x59a3 029315 call check_localsm_master 
+0x59a4 029316 branch sp_master_key_prarm_push ,true 
+0x59a5 029317 branch sp_link_key_prarm_push 
+:      029318 master_sp_send_lmp_dhkey_check:
+0x59a6 029319 call tid_reply 
+:      029320 sp_send_lmp_dhkey_check:
+0x59a7 029321 jam lmp_dhkey_check ,mem_lmo_opcode2 
+0x59a8 029322 rtn 
+:      029323 send_lmp_dhkey_check:
+0x59a9 029325 force 17 ,pdata 
+0x59aa 029326 call msg_send_lmp 
+0x59ab 029327 arg mem_sp_calc_result_high ,contr 
+0x59ac 029328 ifetch 8 ,contr 
+0x59ad 029329 istore 8 ,contw 
+0x59ae 029330 ifetch 8 ,contr 
+0x59af 029331 istore 8 ,contw 
+0x59b0 029332 call check_localsm 
+0x59b1 029333 nbranch send_lmp_reply ,true 
+0x59b2 029334 branch send_lmp_request ,true 
+:      029336 send_lmp_enc_key_size_mask_res:
+0x59b3 029337 force 3 ,pdata 
+0x59b4 029338 call msg_send_lmp 
+0x59b5 029339 setarg 0xfffe 
+0x59b6 029340 istore 2 ,contw 
+0x59b7 029341 branch send_lmp_reply 
+:      029343 send_lmp_auto_rate:
+0x59b8 029344 branch send_lmp_request 
+:      029345 send_lmp_clkoffset_req:
+0x59b9 029346 branch send_lmp_request 
+:      029347 send_lmp_quality_of_service:
+0x59ba 029348 branch send_lmp_request 
+:      029349 send_lmp_test_activate:
+0x59bb 029350 branch send_lmp_request 
+:      029355 send_lmp_comb_key:
+0x59bc 029356 call generate_random_number 
+0x59bd 029357 arg mem_lap ,rega 
+0x59be 029358 call generate_linkkey 
+0x59bf 029359 force 17 ,pdata 
+0x59c0 029360 call msg_send_lmp 
+0x59c1 029361 arg mem_kinit ,rega 
+0x59c2 029362 arg mem_random_number ,regb 
+0x59c3 029363 call xor16 
+0x59c4 029364 nbranch send_lmp_follow ,master 
+0x59c5 029365 branch send_lmp_tid 
+:      029367 send_lmp_inrand:
+0x59c6 029368 call generate_random_number 
+0x59c7 029369 arg mem_plap ,rega 
+0x59c8 029370 call generate_kinit 
+:      029371 send_lmp_rand:
+0x59c9 029372 force 17 ,pdata 
+0x59ca 029373 call msg_send_lmp 
+0x59cb 029374 arg mem_random_number ,contr 
+0x59cc 029375 call memcpy16 
+0x59cd 029376 fetch 1 ,mem_conn_sm 
+0x59ce 029377 beq conn_sm_auth_wait ,send_lmp_request 
+0x59cf 029378 beq conn_sm_pairing_wait ,send_lmp_request 
+0x59d0 029379 branch send_lmp_tid 
+:      029381 send_lmp_aurand:
+0x59d1 029382 fetch 1 ,mem_encapsulated_minor_type 
+0x59d2 029383 beq encapsulated_minor_type_p256 ,send_lmp_aurand_256 
+0x59d3 029385 fetch 1 ,mem_pairing_auth 
+0x59d4 029386 branch send_lmp_aurand_notpairing ,blank 
+:      029387 send_lmp_aurand2:
+0x59d5 029388 call check_localsm 
+0x59d6 029389 call tid_initiate ,true 
+0x59d7 029390 ncall tid_reply ,true 
+0x59d8 029391 branch send_lmp_aurand_common 
+:      029392 send_lmp_aurand_notpairing:
+0x59d9 029393 call tid_initiate 
+:      029394 send_lmp_aurand_common:
+0x59da 029395 call generate_random_number 
+0x59db 029396 branch send_lmp_rand 
+:      029398 send_lmp_aurand_256:
+0x59dc 029399 jam lmp_sres ,mem_lmo_opcode2 
+0x59dd 029400 branch send_lmp_aurand2 
+:      029402 send_lmp_sres:
+0x59de 029403 fetch 1 ,mem_encapsulated_minor_type 
+0x59df 029404 beq encapsulated_minor_type_p256 ,send_lmp_sres_256 
+0x59e0 029406 arg mem_lap ,rega 
+0x59e1 029407 call function_e1 
+0x59e2 029408 force 5 ,pdata 
+0x59e3 029409 call msg_send_lmp 
+0x59e4 029410 fetch 4 ,mem_input_store 
+0x59e5 029411 istore 4 ,contw 
+0x59e6 029412 arg mem_sres_tid ,temp 
+0x59e7 029413 call special_tid_store 
+0x59e8 029414 call copy_aco 
+0x59e9 029415 call check_localsm 
+0x59ea 029416 branch send_lmp_sres_master ,true 
+0x59eb 029417 jam done_encryp ,mem_wait_encryption 
+0x59ec 029418 fetch 1 ,mem_pairing_auth 
+0x59ed 029419 rtn blank 
+0x59ee 029420 jam lmp_au_rand ,mem_lmo_opcode2 
+:      029421 send_lmp_sres_master:
+0x59ef 029422 fetch 1 ,mem_link_key_exists 
+0x59f0 029423 rtn blank 
+:      029424 send_lmp_sres_startenc:
+0x59f1 029425 call check_localsm 
+0x59f2 029426 nbranch send_lmp_sres_startenc_slave ,true 
+0x59f3 029427 rtn 
+:      029429 send_lmp_sres_startenc_slave:
+0x59f4 029430 rtnmark0 mark_slave_in_rand_accepted 
+0x59f5 029431 set0 mark_slave_in_rand_accepted ,mark 
+0x59f6 029432 jam lmp_encryption_mode_req ,mem_lmo_opcode2 
+0x59f7 029433 rtn 
+:      029435 send_lmp_sres_256:
+0x59f8 029436 call function_h4 
+0x59f9 029437 call function_h5 
+0x59fa 029438 force 5 ,pdata 
+0x59fb 029439 call msg_send_lmp 
+0x59fc 029440 fetch 4 ,memb 
+0x59fd 029441 istore 4 ,contw 
+0x59fe 029442 arg mem_sres_tid ,temp 
+0x59ff 029443 call special_tid_store 
+0x5a00 029444 call copy_aco_256 
+0x5a01 029445 call check_localsm 
+0x5a02 029446 branch send_lmp_sres_master ,true 
+0x5a03 029447 jam done_encryp ,mem_wait_encryption 
+0x5a04 029448 fetch 1 ,mem_pairing_auth 
+0x5a05 029449 rtn blank 
+0x5a06 029450 branch send_lmp_sres_master 
+:      029452 copy_aco_256:
+0x5a07 029453 fetch 8 ,mem_sp_calc_result_high 
+0x5a08 029454 store 8 ,mem_ccm_iv 
+0x5a09 029455 rtn 
+:      029457 send_lmp_start_encryption:
+0x5a0a 029458 call generate_random_number 
+0x5a0b 029459 call function_e3 
+0x5a0c 029460 force 17 ,pdata 
+0x5a0d 029461 call msg_send_lmp 
+0x5a0e 029462 arg mem_random_number ,contr 
+0x5a0f 029463 call memcpy16 
+0x5a10 029464 branch send_lmp_tid 
+:      029466 send_lmp_stop_encryption_req:
+0x5a11 029467 force 1 ,pdata 
+0x5a12 029468 call msg_send_lmp 
+0x5a13 029469 branch send_lmp_tid 
+:      029471 send_lmp_encryption_key_size_req:
+0x5a14 029472 force 2 ,pdata 
+0x5a15 029473 call msg_send_lmp 
+0x5a16 029474 force 16 ,pdata 
+0x5a17 029475 istore 1 ,contw 
+0x5a18 029476 store 1 ,mem_key_size 
+0x5a19 029477 branch send_lmp_tid 
+:      029479 msg_send_lmp:
+0x5a1a 029481 lshift3 pdata ,pdata 
+0x5a1b 029482 or_into 0x07 ,pdata 
+0x5a1c 029483 store 1 ,mem_lmo_header_length 
+0x5a1d 029484 arg 17 ,loopcnt 
+0x5a1e 029485 arg mem_lmo_payload ,contw 
+0x5a1f 029486 call clear_mem 
+0x5a20 029487 arg mem_lmo_payload ,contw 
+0x5a21 029488 rtn 
+:      029490 send_lmpext:
+0x5a22 029491 and pdata ,0x7f ,rega 
+0x5a23 029492 jam lmp_escape ,mem_lmp_to_send 
+0x5a24 029493 deposit queue 
+0x5a25 029494 call msg_send_lmp 
+0x5a26 029495 deposit rega 
+0x5a27 029496 istore 1 ,contw 
+0x5a28 029497 rtn 
+:      029499 send_lmp_follow:
+0x5a29 029500 fetch 1 ,mem_lmp_to_send 
+0x5a2a 029501 lshift pdata ,pdata 
+0x5a2b 029502 fetcht 1 ,mem_state_map 
+0x5a2c 029503 isolate1 smap_lmptid ,temp 
+0x5a2d 029504 setflag true ,0 ,pdata 
+0x5a2e 029505 branch send_lmp_exit 
+:      029508 send_lmp_tid:
+0x5a2f 029509 fetcht 1 ,mem_state_map 
+0x5a30 029510 and_into 1 ,temp 
+0x5a31 029511 branch send_lmp_end 
+:      029513 send_lmp_reply:
+0x5a32 029514 force 0 ,temp 
+0x5a33 029515 branch send_lmp_end 
+:      029517 send_lmp_request:
+0x5a34 029518 force 1 ,temp 
+:      029519 send_lmp_end:
+0x5a35 029520 fetch 1 ,mem_lmp_to_send 
+0x5a36 029521 lshift pdata ,pdata 
+0x5a37 029522 setflag master ,0 ,pdata 
+0x5a38 029523 ixor temp ,pdata 
+:      029524 send_lmp_exit:
+0x5a39 029525 store 1 ,mem_lmo_header_opcode 
+0x5a3a 029526 store 1 ,mem_lmo_header_opcode_x 
+0x5a3b 029527 jam 0 ,mem_lmp_to_send 
+0x5a3c 029528 call lmo_fifo_process_lmo0empty 
+0x5a3d 029529 enable user 
+0x5a3e 029530 rtn 
+:      029533 lmo_fifo_check:
+0x5a3f 029534 fetch 1 ,mem_lmo_opcode2 
+0x5a40 029535 rtn blank 
+0x5a41 029536 call lmo_fifo_process 
+0x5a42 029537 fetch 1 ,mem_lmo_opcode2 
+0x5a43 029538 rtn 
+:      029540 lmo_fifo_process:
+0x5a44 029541 bpatchx patch23_4 ,mem_patch23 
+0x5a45 029542 fetch 1 ,mem_lmp_to_send 
+0x5a46 029543 branch lmo_fifo_process_lmo0empty ,blank 
+0x5a47 029544 fetch 1 ,mem_lmo_opcode1 
+0x5a48 029545 nrtn blank 
+0x5a49 029546 branch lmo_fifo_process_lmo2to1 
+:      029547 lmo_fifo_process_lmo0empty:
+0x5a4a 029548 fetch 1 ,mem_lmo_opcode1 
+0x5a4b 029549 branch lmo_fifo_process_lmo1_empty ,blank 
+0x5a4c 029550 fetch 3 ,mem_lmo_opcode1 
+0x5a4d 029551 store 3 ,mem_lmp_to_send 
+0x5a4e 029552 fetcht 1 ,mem_lmo_tid1 
+0x5a4f 029553 fetch 1 ,mem_state_map 
+0x5a50 029554 set0 smap_lmptid ,pdata 
+0x5a51 029555 ior temp ,pdata 
+0x5a52 029556 store 1 ,mem_state_map 
+0x5a53 029557 jam 0 ,mem_lmo_opcode1 
+:      029558 lmo_fifo_process_lmo2to1:
+0x5a54 029559 fetch 1 ,mem_lmo_opcode2 
+0x5a55 029560 rtn blank 
+0x5a56 029561 fetch 4 ,mem_lmo_opcode2 
+0x5a57 029562 store 4 ,mem_lmo_opcode1 
+0x5a58 029563 jam 0 ,mem_lmo_opcode2 
+0x5a59 029564 rtn 
+:      029565 lmo_fifo_process_lmo1_empty:
+0x5a5a 029566 fetch 1 ,mem_lmo_opcode2 
+0x5a5b 029567 rtn blank 
+0x5a5c 029568 fetch 3 ,mem_lmo_opcode2 
+0x5a5d 029569 store 3 ,mem_lmp_to_send 
+0x5a5e 029570 fetcht 1 ,mem_lmo_tid2 
+0x5a5f 029571 fetch 1 ,mem_state_map 
+0x5a60 029572 set0 smap_lmptid ,pdata 
+0x5a61 029573 ior temp ,pdata 
+0x5a62 029574 store 1 ,mem_state_map 
+0x5a63 029575 jam 0 ,mem_lmo_opcode2 
+0x5a64 029576 rtn 
+:      029579 special_tid_store:
+0x5a65 029580 bpatchx patch23_5 ,mem_patch23 
+0x5a66 029581 fetch 1 ,mem_state_map 
+0x5a67 029582 copy pdata ,regc 
+0x5a68 029583 ifetch 1 ,temp 
+0x5a69 029584 call pop_tid_follow 
+0x5a6a 029585 call send_lmp_follow 
+0x5a6b 029586 copy regc ,pdata 
+0x5a6c 029587 store 1 ,mem_state_map 
+0x5a6d 029588 rtn 
+:      029590 tid_reply:
+0x5a6e 029591 fetcht 1 ,mem_state_map 
+0x5a6f 029592 set0 smap_lmptidinit ,temp 
+0x5a70 029593 storet 1 ,mem_state_map 
+0x5a71 029594 rtn 
+:      029596 tid_initiate:
+0x5a72 029597 fetcht 1 ,mem_state_map 
+0x5a73 029598 set1 smap_lmptidinit ,temp 
+0x5a74 029599 storet 1 ,mem_state_map 
+0x5a75 029600 rtn 
+:      029603 tid_check:
+0x5a76 029604 nsetflag master ,smap_lmptid ,pdata 
+0x5a77 029605 fetcht 1 ,mem_state_map 
+0x5a78 029606 ixor temp ,pdata 
+0x5a79 029607 isolate1 smap_lmptid ,pdata 
+0x5a7a 029608 rtn 
+:      029611 tid_set_reply:
+0x5a7b 029612 fetch 1 ,mem_state_map 
+0x5a7c 029613 setflag master ,smap_lmptid ,pdata 
+0x5a7d 029614 store 1 ,mem_state_map 
+0x5a7e 029615 rtn 
+:      029618 check_localsm:
+0x5a7f 029619 fetch 1 ,mem_sp_localsm 
+0x5a80 029620 compare local_statemachine ,pdata ,0x7f 
+0x5a81 029621 rtn 
+:      029622 setlocalsm_master:
+0x5a82 029623 fetch 1 ,mem_sp_localsm 
+0x5a83 029624 set1 7 ,pdata 
+0x5a84 029625 store 1 ,mem_sp_localsm 
+0x5a85 029626 rtn 
+:      029627 setlocalsm_slave:
+0x5a86 029628 fetch 1 ,mem_sp_localsm 
+0x5a87 029629 set0 7 ,pdata 
+0x5a88 029630 store 1 ,mem_sp_localsm 
+0x5a89 029631 rtn 
+:      029632 check_localsm_master:
+0x5a8a 029633 fetch 1 ,mem_sp_localsm 
+0x5a8b 029634 isolate1 7 ,pdata 
+0x5a8c 029635 store 1 ,mem_sp_localsm 
+0x5a8d 029636 rtn 
+:      029638 generate_random_number:
+0x5a8e 029640 arg mem_random_number ,contw 
+:      029641 generate_random:
+0x5a8f 029642 force 16 ,loopcnt 
+:      029643 generate_random_another:
+:      029644 generate_random_loop:
+0x5a90 029645 random pdata 
+0x5a91 029646 istore 1 ,contw 
+0x5a92 029647 loop generate_random_another 
+0x5a93 029648 rtn 
+:      029650 generate_linkkey:
+0x5a94 029651 call function_e21 
+0x5a95 029652 arg mem_link_key ,rega 
+0x5a96 029653 arg mem_input_store ,regb 
+0x5a97 029654 ifetch 8 ,rega 
+0x5a98 029655 fetcht 1 ,mem_state 
+0x5a99 029656 nsetflag blank ,state_combkey ,temp 
+0x5a9a 029657 storet 1 ,mem_state 
+0x5a9b 029658 copy rega ,contw 
+0x5a9c 029659 call xor16 
+0x5a9d 029660 branch generate_linkkey_continue 
+:      029666 process_conn_sm:
+0x5a9e 029668 bpatchx patch23_6 ,mem_patch23 
+0x5a9f 029670 call lmo_fifo_check 
+0x5aa0 029671 nrtn blank 
+:      029672 process_conn_sm_continue:
+0x5aa1 029673 fetch 1 ,mem_conn_sm 
+0x5aa2 029674 rtn blank 
+0x5aa3 029678 beq conn_sm_send_conn_req ,host_create_conn_send_conn_req 
+0x5aa4 029679 beq conn_sm_wait_conn_accept ,host_create_conn_wait_accept 
+0x5aa5 029680 beq conn_sm_send_features ,host_create_conn_send_features 
+0x5aa6 029681 beq conn_sm_wait_features_res ,host_create_conn_waiting 
+0x5aa7 029682 beq conn_sm_send_switch ,host_create_conn_send_switch 
+0x5aa8 029683 beq conn_sm_auth_pair ,host_create_conn_auth_pair 
+0x5aa9 029684 beq conn_sm_auth_pair_wait ,host_create_conn_auth_pair_wait 
+0x5aaa 029685 beq conn_sm_encrypt ,host_create_conn_encrypt 
+0x5aab 029686 beq conn_sm_encrypt_wait ,host_create_conn_encrypt_wait 
+0x5aac 029687 beq conn_sm_encrypt_wait_clear ,host_create_conn_encrypt_wait_clear 
+0x5aad 029688 beq conn_sm_send_setup_complete ,host_create_conn_send_setup_complete 
+0x5aae 029689 beq conn_sm_wait_setup_complete ,host_create_conn_wait_setup_complete 
+0x5aaf 029690 beq conn_sm_detach_delay ,host_create_conn_master_detach 
+0x5ab0 029691 beq conn_sm_send_version ,host_create_conn_send_version 
+0x5ab1 029692 beq conn_sm_wait_version ,host_create_conn_waiting 
+0x5ab2 029693 beq conn_sm_wait_switch_after_host_connection ,host_creat_conn_wait_switch 
+0x5ab3 029694 beq conn_sm_send_features_ext ,host_creat_conn_send_feat_ext 
+0x5ab4 029695 beq conn_sm_wait_features_ext ,host_create_conn_waiting 
+0x5ab5 029696 beq conn_sm_pairing ,host_create_conn_pairing 
+0x5ab6 029697 beq conn_sm_pairing_wait ,host_create_conn_pairing_wait 
+0x5ab7 029698 beq conn_sm_auth ,host_create_conn_auth 
+0x5ab8 029699 beq conn_sm_auth_wait ,host_create_conn_auth_wait 
+0x5ab9 029700 beq conn_sm_done ,host_create_conn_done 
+0x5aba 029701 beq conn_sm_wait_done ,host_create_conn_done_wait 
+0x5abb 029702 jam conn_sm_standby ,mem_conn_sm 
+0x5abc 029704 rtn 
+:      029705 host_create_conn_done:
+0x5abd 029706 fetch 1 ,mem_lmp_conn_state 
+0x5abe 029707 rtnbit0 received_setup_complete 
+0x5abf 029708 rtnbit0 sent_setup_complete 
+0x5ac0 029709 jam conn_sm_standby ,mem_conn_sm 
+0x5ac1 029710 call host_conn_judge_encrypt 
+0x5ac2 029711 branch scheduler_start_upper_sm 
+:      029713 host_conn_judge_encrypt:
+0x5ac3 029714 fetch 1 ,mem_connection_options 
+0x5ac4 029715 rtnbit0 connection_encrypt 
+0x5ac5 029716 jam conn_sm_encrypt_wait ,mem_conn_sm 
+0x5ac6 029717 rtn 
+:      029719 host_create_conn_done_wait:
+0x5ac7 029720 arg enpt_delay_timer ,queue 
+0x5ac8 029721 call timer_check 
+0x5ac9 029722 nrtn blank 
+0x5aca 029723 jam conn_sm_done ,mem_conn_sm 
+0x5acb 029724 rtn 
+:      029726 host_create_conn_auth:
+0x5acc 029727 fetch 1 ,mem_connection_options 
+0x5acd 029728 set0 connection_auth ,pdata 
+0x5ace 029729 store 1 ,mem_connection_options 
+0x5acf 029730 jam conn_sm_auth_wait ,mem_conn_sm 
+0x5ad0 029731 jam lmp_au_rand ,mem_lmo_opcode2 
+0x5ad1 029732 rtn 
+:      029733 host_create_conn_auth_wait:
+0x5ad2 029734 rtn 
+:      029735 host_create_conn_pairing:
+0x5ad3 029736 fetch 1 ,mem_pincode_state 
+0x5ad4 029737 rtnne pincode_state_pincode_ready 
+0x5ad5 029738 call host_auth 
+0x5ad6 029739 jam conn_sm_pairing_wait ,mem_conn_sm 
+0x5ad7 029740 rtn 
+:      029742 host_create_conn_pairing_wait:
+0x5ad8 029743 rtn 
+:      029744 host_creat_conn_send_feat_ext:
+0x5ad9 029745 jam conn_sm_wait_features_ext ,mem_conn_sm 
+0x5ada 029746 jam lmp_ext_features_req ,mem_lmo_opcode2 
+0x5adb 029747 rtn 
+:      029748 host_create_conn_send_version:
+0x5adc 029749 jam conn_sm_wait_version ,mem_conn_sm 
+0x5add 029750 jam lmp_version_req ,mem_lmo_opcode2 
+0x5ade 029751 rtn 
+:      029753 host_creat_conn_wait_switch:
+0x5adf 029754 fetch 1 ,mem_switch_flag 
+0x5ae0 029755 rtneq switch_flag_init 
+0x5ae1 029756 beq switch_flag_accept ,host_create_conn_switch_accept 
+0x5ae2 029757 arg switch_wait_timer ,queue 
+0x5ae3 029758 call timer_check 
+0x5ae4 029759 nrtn blank 
+0x5ae5 029760 jam switch_flag_init ,mem_switch_flag 
+0x5ae6 029761 branch host_create_conn_switch 
+:      029762 host_create_conn_switch_accept:
+0x5ae7 029763 rtn master 
+0x5ae8 029764 branch host_create_conn_auth_pair 
+:      029766 host_create_conn_send_features:
+0x5ae9 029767 jam conn_sm_wait_features_res ,mem_conn_sm 
+0x5aea 029768 jam lmp_features_req ,mem_lmo_opcode2 
+0x5aeb 029769 rtn 
+:      029770 host_create_conn_send_switch:
+0x5aec 029771 jam lmp_switch_req ,mem_lmo_opcode2 
+0x5aed 029772 set1 mark_switch_initiated ,mark 
+0x5aee 029773 jam conn_sm_wait_conn_accept ,mem_conn_sm 
+0x5aef 029774 setarg 0x1ff 
+0x5af0 029775 store 2 ,mem_soft_timer 
+0x5af1 029776 rtn 
+:      029778 host_create_conn_send_conn_req:
+0x5af2 029779 jam conn_sm_wait_conn_accept ,mem_conn_sm 
+0x5af3 029780 setarg 0xff 
+0x5af4 029781 store 2 ,mem_soft_timer 
+0x5af5 029782 set0 mark_reconn_recieve_switch ,mark 
+0x5af6 029783 jam lmp_host_connection_req ,mem_lmo_opcode2 
+0x5af7 029784 branch init_lmp_reinit 
+:      029785 host_create_conn_wait_accept:
+0x5af8 029786 rtnmark1 mark_reconn_recieve_switch 
+0x5af9 029787 fetch 2 ,mem_soft_timer 
+0x5afa 029788 increase -1 ,pdata 
+0x5afb 029789 branch host_create_conn_resend ,zero 
+0x5afc 029790 store 2 ,mem_soft_timer 
+0x5afd 029791 rtn 
+:      029792 host_create_conn_resend:
+0x5afe 029793 jam conn_sm_send_switch ,mem_conn_sm 
+0x5aff 029794 rtn 
+:      029795 host_create_conn_waiting:
+0x5b00 029797 rtn 
+:      029799 host_create_conn_switch:
+0x5b01 029800 fetch 1 ,mem_lmp_conn_state 
+0x5b02 029801 rtnbit0 sent_setup_complete 
+0x5b03 029802 rtnbit0 received_setup_complete 
+0x5b04 029803 fetch 1 ,mem_connection_options 
+0x5b05 029804 set0 connection_switch ,pdata 
+0x5b06 029805 store 1 ,mem_connection_options 
+0x5b07 029806 jam lmp_switch_req ,mem_lmo_opcode2 
+0x5b08 029807 jam conn_sm_wait_switch_after_host_connection ,mem_conn_sm 
+0x5b09 029808 rtn 
+:      029810 host_create_conn_send_setup_complete:
+0x5b0a 029811 jam conn_sm_wait_setup_complete ,mem_conn_sm 
+0x5b0b 029812 jam lmp_setup_complete ,mem_lmo_opcode2 
+0x5b0c 029813 rtn 
+:      029815 host_create_conn_wait_setup_complete:
+0x5b0d 029816 fetch 1 ,mem_lmp_conn_state 
+0x5b0e 029817 rtnbit0 received_setup_complete 
+0x5b0f 029818 jam conn_sm_standby ,mem_conn_sm 
+0x5b10 029820 rtn 
+:      029821 host_create_conn_wait_setup_complete_rtn:
+0x5b11 029822 jam conn_sm_auth_pair ,mem_conn_sm 
+0x5b12 029823 rtn 
+:      029825 host_create_conn_master_detach:
+0x5b13 029826 fetch 2 ,mem_soft_timer 
+0x5b14 029827 increase -1 ,pdata 
+0x5b15 029828 branch host_create_conn_send_detach ,blank 
+0x5b16 029829 store 2 ,mem_soft_timer 
+0x5b17 029830 rtn 
+:      029831 host_create_conn_send_detach:
+0x5b18 029832 jam lmp_detach ,mem_lmo_opcode2 
+0x5b19 029833 jam local_host ,mem_disconn_reason_send 
+0x5b1a 029834 jam 0 ,mem_conn_sm 
+0x5b1b 029835 rtn 
+:      029836 host_create_conn_auth_pair:
+0x5b1c 029838 fetch 1 ,mem_connection_options 
+0x5b1d 029839 bbit1 connection_switch ,host_create_conn_switch 
+0x5b1e 029840 bbit1 connection_auth ,host_create_conn_auth_pair_true 
+:      029841 host_create_conn_sm_done:
+0x5b1f 029842 jam conn_sm_done ,mem_conn_sm 
+0x5b20 029843 rtn 
+:      029844 host_create_conn_auth_pair_true:
+0x5b21 029845 fetch 1 ,mem_link_key_exists 
+0x5b22 029846 branch host_create_conn_auth_pair_nokey ,blank 
+0x5b23 029847 fetch 1 ,mem_lmp_conn_state 
+0x5b24 029848 rtnbit0 sent_setup_complete 
+0x5b25 029849 rtnbit0 received_setup_complete 
+0x5b26 029850 fetch 4 ,mem_aurand_send_delay_time 
+0x5b27 029851 arg 100 ,temp 
+0x5b28 029852 iadd temp ,temp 
+0x5b29 029853 copy clkn_bt ,pdata 
+0x5b2a 029854 isub temp ,null 
+0x5b2b 029855 nrtn positive 
+0x5b2c 029856 branch host_create_conn_auth 
+:      029858 host_create_conn_auth_pair_nokey:
+0x5b2d 029859 jam conn_sm_pairing ,mem_conn_sm 
+0x5b2e 029860 jam 4 ,mem_pin_length 
+0x5b2f 029861 setarg 0x3030 
+0x5b30 029862 store 2 ,mem_pin 
+0x5b31 029863 istore 2 ,contw 
+0x5b32 029864 jam pincode_state_pincode_ready ,mem_pincode_state 
+0x5b33 029865 branch host_create_conn_pairing 
+:      029867 host_create_conn_auth_pair_wait:
+0x5b34 029868 rtn 
+:      029869 host_create_conn_encrypt:
+0x5b35 029870 fetch 1 ,mem_connection_options 
+0x5b36 029871 bbit1 connection_encrypt ,host_create_conn_encrypt_start 
+0x5b37 029872 jam conn_sm_done ,mem_conn_sm 
+0x5b38 029873 rtn 
+:      029875 host_create_conn_encrypt_start:
+0x5b39 029876 fetch 1 ,mem_connection_options 
+0x5b3a 029877 set0 connection_encrypt ,pdata 
+0x5b3b 029878 store 1 ,mem_connection_options 
+0x5b3c 029879 jam lmp_encryption_mode_req ,mem_lmo_opcode2 
+0x5b3d 029880 rtn 
+:      029882 host_create_conn_encrypt_wait:
+0x5b3e 029883 fetch 1 ,mem_wait_encryption 
+0x5b3f 029884 rtn blank 
+0x5b40 029885 jam conn_sm_standby ,mem_conn_sm 
+0x5b41 029886 branch host_create_conn_encrypt_start 
+:      029888 host_create_conn_encrypt_wait_clear:
+0x5b42 029889 jam conn_sm_send_setup_complete ,mem_conn_sm 
+0x5b43 029890 rtn 
+:      029892 host_auth:
+0x5b44 029893 fetch 1 ,mem_op 
+0x5b45 029894 bbit1 op_inrand_req ,remote_auth 
+0x5b46 029895 call tid_initiate 
+0x5b47 029896 jam lmp_in_rand ,mem_lmo_opcode2 
+0x5b48 029897 branch cmd_exit 
+:      029898 remote_auth:
+0x5b49 029899 fetch 1 ,mem_op 
+0x5b4a 029900 set0 op_inrand_req ,pdata 
+0x5b4b 029901 store 1 ,mem_op 
+0x5b4c 029902 call lmp_accept_inrand 
+0x5b4d 029903 call tid_set_reply 
+0x5b4e 029904 branch cmd_exit 
+:      029906 pincode_reinit:
+0x5b4f 029907 setarg 4 
+0x5b50 029908 store 1 ,mem_pin_length 
+0x5b51 029909 setarg 0x3030 
+0x5b52 029910 istore 2 ,contw 
+0x5b53 029911 istore 2 ,contw 
+0x5b54 029912 rtn 
+:      029919 twspi_reset:
+0x5b55 029920 bpatchx patch23_7 ,mem_patch23 
+0x5b56 029921 and_into 0xff ,pdata 
+0x5b57 029922 arg core_gpio_conf ,contw 
+0x5b58 029923 iadd contw ,contw 
+0x5b59 029924 copy contw ,rega 
+0x5b5a 029925 arg gpcfg_output_low ,temp 
+0x5b5b 029926 istoret 1 ,contw 
+0x5b5c 029927 call twspi_disable 
+0x5b5d 029928 nop 30 
+0x5b5e 029929 copy rega ,contw 
+0x5b5f 029930 arg gpcfg_output_high ,temp 
+0x5b60 029931 istoret 1 ,contw 
+0x5b61 029932 branch twspi_enable 
+:      029934 twspi_disable:
+0x5b62 029935 fetch 1 ,core_aes_en 
+0x5b63 029936 and_into 0xfb ,pdata 
+0x5b64 029937 store 1 ,core_aes_en 
+0x5b65 029938 rtn 
+:      029940 twspi_enable:
+0x5b66 029941 fetch 1 ,core_aes_en 
+0x5b67 029942 or_into 0x04 ,pdata 
+0x5b68 029943 store 1 ,core_aes_en 
+0x5b69 029944 rtn 
+:      029948 aes_disable:
+0x5b6a 029949 fetch 1 ,core_aes_en 
+0x5b6b 029950 and_into 0xfd ,pdata 
+0x5b6c 029951 store 1 ,core_aes_en 
+0x5b6d 029952 rtn 
+:      029954 read_function_aes:
+0x5b6e 029955 nbranch read_function ,user 
+0x5b6f 029956 fetch 1 ,core_aes_en 
+0x5b70 029957 or_into 0x2 ,pdata 
+0x5b71 029958 store 1 ,core_aes_en 
+:      029959 read_function:
+0x5b72 029960 copy temp ,null 
+0x5b73 029961 branch read_fuction_zero ,zero 
+0x5b74 029962 copy regc ,pc 
+:      029963 read_fuction_zero:
+0x5b75 029964 isolate0 0 ,null 
+0x5b76 029965 branch set_ucode_status 
+:      029968 get_block_header:
+0x5b77 029969 force 4 ,temp 
+:      029970 get_block_header0:
+0x5b78 029971 arg mem_ucode_buf ,rega 
+0x5b79 029972 call aes_disable 
+0x5b7a 029973 call read_function 
+0x5b7b 029974 arg 0x55aa ,rega 
+0x5b7c 029975 fetch 2 ,mem_ucode_buf 
+0x5b7d 029976 ifetcht 2 ,contr 
+0x5b7e 029977 isub rega ,null 
+0x5b7f 029978 rtn 
+:      029981 read_first_block:
+0x5b80 029982 arg 2 ,temp 
+0x5b81 029983 arg mem_ucode_ptr ,rega 
+0x5b82 029984 call read_function 
+0x5b83 029985 fetch 2 ,mem_ucode_ptr 
+0x5b84 029986 store 2 ,mem_addr_mi 
+0x5b85 029987 call get_iv ,user 
+0x5b86 029988 rtn 
+:      029990 get_iv:
+0x5b87 029991 arg 16 ,temp 
+0x5b88 029992 arg mem_ucode_keybuf ,rega 
+0x5b89 029993 call aes_disable 
+0x5b8a 029994 call read_function 
+:      029995 set_iv:
+0x5b8b 029996 arg mem_ucode_keybuf ,contr 
+0x5b8c 029997 arg 16 ,loopcnt 
+0x5b8d 029998 call aes_load_data 
+0x5b8e 029999 call aes_init 
+0x5b8f 030000 call aes_clear_data 
+0x5b90 030001 branch do_aes_cbc 
+:      030003 load_storage:
+0x5b91 030004 setarg 0 
+0x5b92 030005 store 2 ,mem_queue 
+0x5b93 030006 disable match 
+0x5b94 030007 call get_block_header 
+0x5b95 030008 nrtn zero 
+0x5b96 030009 jam 0x80 ,core_ucode_ctrl 
+0x5b97 030010 jam 0 ,core_ucode_hi 
+0x5b98 030011 jam 0 ,core_ucode_low 
+0x5b99 030012 arg core_ucode_data ,rega 
+0x5b9a 030013 call read_function_aes 
+0x5b9b 030014 jam 0x0 ,core_ucode_ctrl 
+:      030015 load_storage_loop:
+0x5b9c 030016 arg 6 ,temp 
+0x5b9d 030017 call get_block_header0 
+0x5b9e 030018 nbranch load_data_checksum_compare ,zero 
+0x5b9f 030019 ifetch 2 ,contr 
+0x5ba0 030020 iforce rega 
+0x5ba1 030021 call read_function 
+0x5ba2 030022 call load_data_checksum_calc 
+0x5ba3 030023 branch load_storage_loop 
+:      030025 load_data_checksum:
+0x5ba4 030026 arg 0xaa55 ,rega 
+0x5ba5 030027 fetch 2 ,mem_ucode_buf 
+0x5ba6 030028 isub rega ,null 
+0x5ba7 030029 nrtn zero 
+0x5ba8 030030 arg 0x55aa ,rega 
+0x5ba9 030031 fetch 2 ,mem_ucode_len 
+0x5baa 030032 isub rega ,null 
+0x5bab 030033 nrtn zero 
+0x5bac 030034 fetch 2 ,mem_sched_addr 
+0x5bad 030035 store 2 ,mem_rega 
+0x5bae 030036 rtn 
+:      030039 load_data_checksum_calc:
+0x5baf 030040 fetch 2 ,mem_queue 
+0x5bb0 030041 arg 6 ,loopcnt 
+0x5bb1 030042 arg mem_ucode_buf ,contr 
+0x5bb2 030043 call cal_sum 
+0x5bb3 030044 fetchr loopcnt ,2 ,mem_ucode_len 
+0x5bb4 030045 copy rega ,contr 
+0x5bb5 030046 call cal_sum 
+0x5bb6 030047 store 2 ,mem_queue 
+0x5bb7 030048 rtn 
+:      030050 load_data_checksum_compare:
+0x5bb8 030051 call load_data_checksum 
+0x5bb9 030052 branch load_storage_loop ,zero 
+0x5bba 030053 fetch 2 ,mem_rega 
+0x5bbb 030054 fetcht 2 ,mem_queue 
+0x5bbc 030055 isub temp ,null 
+0x5bbd 030056 nrtn zero 
+0x5bbe 030057 enable match 
+0x5bbf 030058 rtn 
+:      030061 load_storage_efuse:
+0x5bc0 030062 fetch 1 ,mem_tmp_buffer + efuse_offset_offset 
+0x5bc1 030063 arg mem_tmp_buffer ,contr 
+0x5bc2 030064 iadd contr ,contr 
+0x5bc3 030065 jam 0x80 ,core_ucode_ctrl 
+0x5bc4 030066 jam 0 ,core_ucode_hi 
+0x5bc5 030067 jam 0 ,core_ucode_low 
+0x5bc6 030068 arg core_ucode_data ,rega 
+0x5bc7 030069 ifetchr loopcnt ,1 ,contr 
+0x5bc8 030070 sub loopcnt ,0 ,null 
+0x5bc9 030071 ncall load_efuse_read_code ,zero 
+0x5bca 030072 jam 0x0 ,core_ucode_ctrl 
+:      030073 load_storage_efuse_loop:
+0x5bcb 030074 ifetch 1 ,contr 
+0x5bcc 030075 rtn blank 
+0x5bcd 030076 copy pdata ,loopcnt 
+0x5bce 030077 ifetchr regb ,2 ,contr 
+0x5bcf 030078 copy regb ,contw 
+0x5bd0 030079 call memcpy_loop 
+0x5bd1 030080 branch load_storage_efuse_loop 
+:      030082 load_efuse_read_code_loop:
+0x5bd2 030083 ifetch 1 ,contr 
+0x5bd3 030084 istore 1 ,rega 
+0x5bd4 030085 loop load_efuse_read_code_loop 
+0x5bd5 030086 rtn 
+:      030089 load_efuse_read_code:
+0x5bd6 030090 call enable_user2 
+0x5bd7 030091 copy loopcnt ,temp 
+0x5bd8 030092 nbranch load_efuse_read_code_loop ,user 
+:      030093 load_efuse_read_code_loop_enc:
+0x5bd9 030094 sub temp ,0 ,null 
+0x5bda 030095 rtn zero 
+0x5bdb 030096 call load_efuse_store_code 
+0x5bdc 030097 call do_aes_cbc 
+0x5bdd 030098 add temp ,-16 ,temp 
+0x5bde 030099 branch load_efuse_read_code_loop_enc ,positive 
+0x5bdf 030100 rtn 
+:      030103 load_efuse_store_code:
+0x5be0 030104 force regidx_result ,regext_index 
+0x5be1 030105 copy temp ,loopcnt 
+:      030106 load_efuse_store_code_loop:
+0x5be2 030107 ifetch 4 ,contr 
+0x5be3 030108 ixor regext ,pdata 
+0x5be4 030109 copy pdata ,regext 
+0x5be5 030110 istore 1 ,rega 
+0x5be6 030111 rshift8 pdata ,pdata 
+0x5be7 030112 istore 1 ,rega 
+0x5be8 030113 rshift8 pdata ,pdata 
+0x5be9 030114 istore 1 ,rega 
+0x5bea 030115 rshift8 pdata ,pdata 
+0x5beb 030116 istore 1 ,rega 
+0x5bec 030117 increase 1 ,regext_index 
+0x5bed 030118 compare 0 ,regext_index ,0x3 
+0x5bee 030119 rtn true 
+0x5bef 030120 add loopcnt ,-4 ,loopcnt 
+0x5bf0 030121 rtn zero 
+0x5bf1 030122 branch load_efuse_store_code_loop ,positive 
+0x5bf2 030123 rtn 
+:      030144 run_efuse_code:
+0x5bf3 030145 arg 0 ,pc 
+0x5bf4 030146 rtn 
+:      030149 loadcode:
+0x5bf5 030150 call clean_mem 
+0x5bf6 030151 jam 0x25 ,core_clkoff 
+0x5bf7 030153 enable user 
+0x5bf8 030154 jam 0 ,mem_loadcode_times 
+:      030155 load_efuse:
+0x5bf9 030156 call loadcode_timeout 
+0x5bfa 030157 nbranch loadcode_error ,positive 
+0x5bfb 030158 setarg 0 
+0x5bfc 030159 arg mem_tmp_buffer ,rega 
+0x5bfd 030160 arg 64 ,temp 
+0x5bfe 030161 call efuse_read_data 
+0x5bff 030162 call loadcode_efuse_check 
+0x5c00 030163 nbranch load_efuse ,user 
+0x5c01 030164 call app_read_efuse_app_vsel 
+0x5c02 030166 disable user 
+0x5c03 030167 fetch 1 ,mem_tmp_buffer + efuse_offset_ucode 
+0x5c04 030168 bbit0 ucode_flag_enc ,loadcode_efuse 
+0x5c05 030169 call regext_clear 
+0x5c06 030170 jam lock_otp ,core_misc_ctrl 
+0x5c07 030171 set1 mark_otp_encrypt ,mark 
+0x5c08 030172 force regidx_key ,regext_index 
+0x5c09 030173 call aes_clear 
+0x5c0a 030174 force regidx_key ,regext_index 
+0x5c0b 030175 fetchr regext ,4 ,mem_tmp_buffer + efuse_offset_key_addr 
+0x5c0c 030176 setarg 0xf1ab8f 
+0x5c0d 030177 store 4 ,mem_ucode_keybuf 
+0x5c0e 030178 lshift2 pdata ,pdata 
+0x5c0f 030179 istore 4 ,contw 
+0x5c10 030180 lshift pdata ,pdata 
+0x5c11 030181 istore 4 ,contw 
+0x5c12 030182 lshift2 pdata ,pdata 
+0x5c13 030183 istore 4 ,contw 
+0x5c14 030184 call aes_disable 
+0x5c15 030185 call set_iv 
+0x5c16 030186 enable user 
+:      030187 loadcode_efuse:
+0x5c17 030188 fetch 4 ,mem_tmp_buffer 
+0x5c18 030189 branch loadcode_iic ,blank 
+0x5c19 030190 store 3 ,mem_efuse_header 
+0x5c1a 030191 call disable_user2 
+0x5c1b 030192 call app_lpm_peripheral_lock_check 
+0x5c1c 030193 call load_storage_efuse 
+0x5c1d 030194 call run_efuse_code ,user2 
+:      030195 loadcode_iic:
+0x5c1e 030196 jam 0 ,mem_loadcode_times 
+:      030197 loadcode_iic_loop:
+0x5c1f 030198 fetch 1 ,mem_tmp_buffer + efuse_offset_ucode 
+0x5c20 030199 bbit1 ucode_flag_skip_eep ,loadcode_spi 
+0x5c21 030200 call loadcode_timeout 
+0x5c22 030201 nbranch loadcode_iic_eeprom_2k ,positive 
+0x5c23 030202 call iicd_load_gpio_init 
+0x5c24 030203 call clear_eeprom_size_2k 
+0x5c25 030204 call loadcode_iic_by_eeprom 
+0x5c26 030205 nbranch loadcode_iic_loop ,match 
+0x5c27 030206 fetch 1 ,mem_ucode_status 
+0x5c28 030207 bbit0 0 ,loadcode_iic_loop 
+0x5c29 030208 branch loadcode_hci 
+:      030210 loadcode_iic_eeprom_2k:
+0x5c2a 030211 jam 0 ,mem_loadcode_times 
+:      030212 loadcode_iic_eeprom_2k_loop:
+0x5c2b 030213 fetch 1 ,mem_tmp_buffer + efuse_offset_ucode 
+0x5c2c 030214 bbit1 ucode_flag_skip_eep ,loadcode_spi 
+0x5c2d 030215 call loadcode_timeout 
+0x5c2e 030216 nbranch loadcode_spi ,positive 
+0x5c2f 030217 call iicd_load_gpio_init 
+0x5c30 030218 call set_eeprom_size_2k 
+0x5c31 030219 call loadcode_iic_by_eeprom 
+0x5c32 030220 nbranch loadcode_iic_eeprom_2k_loop ,match 
+0x5c33 030221 fetch 1 ,mem_ucode_status 
+0x5c34 030222 bbit0 0 ,loadcode_iic_eeprom_2k_loop 
+0x5c35 030223 branch loadcode_hci 
+:      030225 iicd_load_gpio_init:
+0x5c36 030226 fetch 1 ,mem_eeprom_sda_gpio 
+0x5c37 030227 fetcht 1 ,mem_eeprom_scl_gpio 
+0x5c38 030228 isub temp ,null 
+0x5c39 030229 nbranch iicd_read_init_pin ,zero 
+:      030230 iicd_load_default_gpio:
+0x5c3a 030231 setarg 0x000102 
+0x5c3b 030232 store 3 ,mem_eeprom_wp_gpio 
+0x5c3c 030233 branch iicd_read_init_pin 
+:      030235 loadcode_spi:
+0x5c3d 030236 jam 0 ,mem_loadcode_times 
+:      030237 loadcode_spi_loop:
+0x5c3e 030238 fetch 1 ,mem_tmp_buffer + efuse_offset_ucode 
+0x5c3f 030239 bbit1 ucode_flag_skip_flash ,loadcode_hci 
+0x5c40 030240 call loadcode_timeout 
+0x5c41 030241 nbranch loadcode_hci ,positive 
+0x5c42 030242 call spid_init_flash 
+0x5c43 030243 nop 200 
+0x5c44 030244 call spid_flash_release_form_powerdown 
+0x5c45 030245 nop 100 
+0x5c46 030246 arg spid_load_flash ,regc 
+0x5c47 030247 call read_first_block 
+0x5c48 030248 call load_storage 
+0x5c49 030249 nbranch loadcode_spi_loop ,match 
+0x5c4a 030250 fetch 1 ,mem_ucode_status 
+0x5c4b 030251 bbit0 0 ,loadcode_spi_loop 
+:      030253 loadcode_hci:
+0x5c4c 030254 fetch 1 ,mem_tmp_buffer + efuse_offset_ucode 
+0x5c4d 030255 bbit0 ucode_flag_hci ,clear_key_buf 
+0x5c4e 030256 call clear_key_buf 
+0x5c4f 030257 branch hci_init 
+:      030259 clear_key_buf:
+0x5c50 030260 setarg 0 
+0x5c51 030261 store 4 ,mem_tmp_buffer + efuse_offset_key_addr 
+0x5c52 030262 store 8 ,mem_ucode_keybuf 
+0x5c53 030263 istore 8 ,contw 
+0x5c54 030264 force regidx_key ,regext_index 
+0x5c55 030265 call aes_clear 
+0x5c56 030266 jam 0x21 ,core_clkoff 
+0x5c57 030267 rtn 
+:      030273 loadcode_timeout:
+0x5c58 030274 call loadcode_error_delay 
+0x5c59 030275 fetch 1 ,mem_loadcode_times 
+0x5c5a 030276 increase 1 ,pdata 
+0x5c5b 030277 sub pdata ,3 ,null 
+0x5c5c 030278 store 1 ,mem_loadcode_times 
+0x5c5d 030279 rtn 
+:      030281 loadcode_error_delay:
+0x5c5e 030282 fetch 1 ,mem_loadcode_times 
+0x5c5f 030283 rtn blank 
+0x5c60 030284 fetch 1 ,mem_tmp_buffer + efuse_offset_loadcode_delay 
+0x5c61 030285 and_into 0x40 ,pdata 
+0x5c62 030286 rtn blank 
+0x5c63 030287 branch delay_50ms 
+:      030292 loadcode_efuse_check_xor:
+0x5c64 030293 rshift4 pdata ,temp 
+0x5c65 030294 and pdata ,0x0f ,pdata 
+0x5c66 030295 ixor temp ,pdata 
+0x5c67 030296 rtn 
+:      030298 loadcode_efuse_check:
+0x5c68 030299 fetch 4 ,mem_tmp_buffer 
+0x5c69 030300 rtn blank 
+0x5c6a 030301 fetch 1 ,mem_tmp_buffer + efuse_offset_ucode 
+0x5c6b 030302 call loadcode_efuse_check_xor 
+0x5c6c 030303 bne 0x0f ,disable_user 
+0x5c6d 030304 fetch 1 ,mem_tmp_buffer + efuse_offset_device_lock 
+0x5c6e 030305 call loadcode_efuse_check_xor 
+0x5c6f 030306 bne 0x0f ,disable_user 
+:      030308 loadcode_efuse_check_sum:
+0x5c70 030309 fetch 1 ,mem_tmp_buffer 
+0x5c71 030310 ifetcht 1 ,contr 
+0x5c72 030311 iadd temp ,pdata 
+0x5c73 030312 ifetcht 1 ,contr 
+0x5c74 030313 iadd temp ,pdata 
+0x5c75 030314 ifetcht 1 ,contr 
+0x5c76 030315 iadd temp ,rega 
+0x5c77 030316 arg mem_tmp_buffer ,pdata 
+0x5c78 030317 iadd temp ,contr 
+0x5c79 030318 copy rega ,pdata 
+0x5c7a 030319 ifetchr loopcnt ,1 ,contr 
+0x5c7b 030320 iadd loopcnt ,pdata 
+0x5c7c 030321 call cal_sum 
+0x5c7d 030322 call loadcode_efuse_check_sum_loop 
+0x5c7e 030323 ifetcht 1 ,contr 
+0x5c7f 030324 and pdata ,0xff ,pdata 
+0x5c80 030325 isub temp ,null 
+0x5c81 030326 nbranch disable_user ,zero 
+0x5c82 030327 rtn 
+:      030329 loadcode_efuse_check_sum_loop:
+0x5c83 030330 ifetchr loopcnt ,1 ,contr 
+0x5c84 030331 sub loopcnt ,0 ,null 
+0x5c85 030332 rtn zero 
+0x5c86 030333 iadd loopcnt ,pdata 
+0x5c87 030334 increase 2 ,loopcnt 
+0x5c88 030335 call cal_sum 
+0x5c89 030336 branch loadcode_efuse_check_sum_loop 
+:      030338 loadcode_iic_by_eeprom:
+0x5c8a 030339 setarg 0x0 
+0x5c8b 030340 store 2 ,mem_addr_mi 
+0x5c8c 030341 arg iicd_read_eep ,regc 
+0x5c8d 030342 call iic_init_600khz 
+0x5c8e 030343 call read_first_block 
+0x5c8f 030344 branch load_storage 
+:      030355 loadcode_error:
+0x5c90 030356 call clear_key_buf 
+0x5c91 030357 branch app_lpm_mpu_lock_br_ble 
+:      030361 set_ucode_status:
+0x5c92 030362 fetch 1 ,mem_ucode_status 
+0x5c93 030363 lshift pdata ,pdata 
+0x5c94 030364 setflag true ,0 ,pdata 
+0x5c95 030365 isolate0 15 ,rega 
+0x5c96 030366 rtn true 
+0x5c97 030367 store 1 ,mem_ucode_status 
+0x5c98 030368 rtn 
+:      030371 decrypt_code:
+0x5c99 030372 fetch 1 ,core_aes_en 
+0x5c9a 030373 rtnbit0 1 
+0x5c9b 030374 branch decrypt_code_skip 
+:      030375 decrypt_code_loop:
+0x5c9c 030376 fetch 1 ,core_dma_status 
+0x5c9d 030377 qisolate1 pdata 
+0x5c9e 030378 rtn true 
+:      030379 decrypt_code_skip:
+0x5c9f 030380 fetch 1 ,core_misc_status 
+0x5ca0 030381 bbit0 1 ,decrypt_code_loop 
+0x5ca1 030382 call do_aes_cbc 
+0x5ca2 030383 branch decrypt_code_loop 
+:      030403 load_ucode:
+0x5ca3 030404 fetch 2 ,mem_patch_ptr 
+0x5ca4 030405 rtn blank 
+0x5ca5 030406 jam 0x80 ,core_ucode_ctrl 
+0x5ca6 030407 jam 0 ,core_ucode_hi 
+0x5ca7 030408 jam 0 ,core_ucode_low 
+0x5ca8 030409 fetcht 2 ,mem_patch_len 
+0x5ca9 030410 lshift2 temp ,loopcnt 
+0x5caa 030411 iforce contr 
+:      030412 load_ucode_loop:
+0x5cab 030413 ifetch 1 ,contr 
+0x5cac 030414 store 1 ,core_ucode_data 
+0x5cad 030415 loop load_ucode_loop 
+0x5cae 030416 jam 0x0 ,core_ucode_ctrl 
+0x5caf 030417 rtn 
+:      030422 app_read_efuse_app_vsel:
+0x5cb0 030423 fetch 1 ,mem_tmp_buffer + efuse_offset_app_vsel 
+0x5cb1 030424 and_into 0x0f ,pdata 
+0x5cb2 030425 isolate1 3 ,pdata 
+0x5cb3 030426 setflag true ,4 ,pdata 
+0x5cb4 030427 lshift pdata ,pdata 
+0x5cb5 030428 store 1 ,mem_lpm_ctrl3 
+0x5cb6 030429 branch lpm_write_sel_vdd 
+:      030431 app_read_efuse_sys_config:
+0x5cb7 030432 fetch 1 ,mem_tmp_buffer + efuse_offset_device_option 
+0x5cb8 030433 and_into 0x0f ,pdata 
+0x5cb9 030434 rtn blank 
+0x5cba 030435 store 1 ,mem_device_option 
+0x5cbb 030436 fetch 1 ,mem_tmp_buffer + efuse_offset_xtal_offset 
+0x5cbc 030437 store 1 ,mem_lpm_ctrim 
+0x5cbd 030438 fetch 1 ,mem_tmp_buffer + efuse_offset_xtal_cnt 
+0x5cbe 030439 store 1 ,mem_lpm_xtalcnt 
+0x5cbf 030440 rtn 
+:      030442 app_read_efuse_dig_aon_vsel:
+0x5cc0 030443 fetch 1 ,mem_tmp_buffer + efuse_offset_dig_aon_vsel 
+0x5cc1 030444 and_into 0x30 ,pdata 
+0x5cc2 030445 rshift4 pdata ,pdata 
+0x5cc3 030446 rtn blank 
+0x5cc4 030447 store 1 ,mem_dig_aon_vsel 
+0x5cc5 030448 rtn 
+:      030450 app_read_efuse_syn_afc_cfg1:
+0x5cc6 030451 fetch 1 ,mem_tmp_buffer + efuse_offset_tx_vco_current 
+0x5cc7 030452 and_into 0x0f ,pdata 
+0x5cc8 030453 rtn blank 
+0x5cc9 030454 store 1 ,mem_syn_afc_cfg1 
+0x5cca 030455 rtn 
+:      030457 app_read_efuse_rf_ldo_cfg1:
+0x5ccb 030458 fetch 1 ,mem_tmp_buffer + efuse_offset_ldo_cfg1 
+0x5ccc 030459 and_into 0x30 ,pdata 
+0x5ccd 030460 rshift4 pdata ,pdata 
+0x5cce 030461 rtn blank 
+0x5ccf 030462 store 1 ,mem_rf_ldo_cfg1 
+0x5cd0 030463 rtn 
+:      030465 app_read_efuse_rc_cal:
+0x5cd1 030466 fetch 1 ,mem_tmp_buffer + efuse_offset_rc_cal 
+0x5cd2 030467 rtn blank 
+0x5cd3 030468 store 1 ,mem_rc_cal 
+0x5cd4 030469 rtn 
+:      030471 app_read_efuse_agc:
+0x5cd5 030472 fetch 1 ,mem_tmp_buffer + efuse_offset_agc_sel 
+0x5cd6 030473 bbit1 7 ,app_disable_soft_agc 
+0x5cd7 030474 jam 0x88 ,mem_gain_table 
+0x5cd8 030475 jam 0x66 ,mem_gain_table + 1 
+0x5cd9 030476 jam 0x44 ,mem_gain_table + 2 
+0x5cda 030477 fetch 2 ,mem_tmp_buffer + efuse_offset_agc_table 
+0x5cdb 030478 rtn blank 
+0x5cdc 030479 store 2 ,mem_gain_table + 1 
+0x5cdd 030480 rtn 
+:      030482 app_disable_soft_agc:
+0x5cde 030483 jam 0xff ,mem_gain_fix 
+0x5cdf 030484 fetch 1 ,mem_tmp_buffer + efuse_offset_agc_sec_en 
+0x5ce0 030485 and_into 0x40 ,pdata 
+0x5ce1 030486 rshift3 pdata ,pdata 
+0x5ce2 030487 store 1 ,mem_gain_second_agc_en 
+0x5ce3 030488 rtn 
+:      030491 app_lpm_efuse_lock_prep:
+0x5ce4 030492 jam 0x73 ,0x8002 
+0x5ce5 030493 until null ,lpo_edge 
+0x5ce6 030494 until null ,lpo_edge 
+0x5ce7 030495 fetch 2 ,core_ucode_flag 
+0x5ce8 030496 set0 13 ,pdata 
+0x5ce9 030497 store 2 ,core_lpm_reg 
+0x5cea 030498 branch lpm_write2_ctrl_option 
+:      030502 app_lpm_peripheral_lock_check:
+0x5ceb 030503 fetch 1 ,mem_tmp_buffer + efuse_offset_device_lock 
+0x5cec 030504 and pdata ,0x0f ,pdata 
+0x5ced 030505 beq dvc_op_module ,app_lpm_peripheral_lock_module 
+0x5cee 030506 beq dvc_op_hci ,app_lpm_peripheral_lock_hci 
+0x5cef 030507 beq dvc_op_dongle ,app_lpm_peripheral_lock_dongle 
+0x5cf0 030508 beq dvc_op_mouse ,app_lpm_peripheral_lock_mouse 
+0x5cf1 030509 beq dvc_op_shutter ,app_lpm_peripheral_lock_shutter 
+0x5cf2 030510 beq dvc_op_ali_mesh ,app_lpm_peripheral_lock_mesh 
+0x5cf3 030511 beq dvc_op_hci_boot ,app_lpm_peripheral_lock_hciboot 
+0x5cf4 030512 beq dvc_op_remote_car ,app_lpm_peripheral_lock_remote_car 
+0x5cf5 030513 beq dvc_op_car ,app_lpm_peripheral_lock_car 
+0x5cf6 030514 beq dvc_op_antilost ,app_lpm_peripheral_lock_antilost 
+0x5cf7 030515 rtn 
+:      030517 app_lpm_peripheral_lock_module:
+:      030518 app_lpm_peripheral_lock_hci:
+:      030519 app_lpm_peripheral_lock_hciboot:
+0x5cf8 030520 call app_lpm_efuse_lock_prep 
+0x5cf9 030521 call app_lpm_mpu_lock_mesh 
+0x5cfa 030522 branch lpm_write_lock 
+:      030524 app_lpm_peripheral_lock_dongle:
+0x5cfb 030525 call app_lpm_efuse_lock_prep 
+0x5cfc 030526 arg module_init ,pdata 
+0x5cfd 030527 arg ui_soft_switch_power_off ,temp 
+0x5cfe 030528 call app_mpu_s0_lock 
+0x5cff 030529 branch lpm_write_lock 
+:      030532 app_lpm_peripheral_lock_mouse:
+0x5d00 030533 call app_lpm_efuse_lock_prep 
+0x5d01 030534 arg antilost_init ,pdata 
+0x5d02 030535 arg module_set_state ,temp 
+0x5d03 030536 call app_mpu_s0_lock 
+0x5d04 030537 branch lpm_write_lock 
+:      030539 app_lpm_peripheral_lock_shutter:
+0x5d05 030540 call app_lpm_efuse_lock_prep 
+0x5d06 030541 arg antilost_init ,pdata 
+0x5d07 030542 arg remote_car_moto_data_enable_user ,temp 
+0x5d08 030543 call app_mpu_s0_lock 
+0x5d09 030544 branch lpm_write_lock 
+:      030546 app_lpm_peripheral_lock_mesh:
+0x5d0a 030547 call app_lpm_efuse_lock_prep 
+0x5d0b 030548 call app_lpm_mpu_lock_app 
+0x5d0c 030549 branch lpm_write_lock 
+:      030551 app_lpm_peripheral_lock_remote_car:
+0x5d0d 030552 call app_lpm_efuse_lock_prep 
+0x5d0e 030553 arg antilost_init ,pdata 
+0x5d0f 030554 arg mouse_low_voltage_led_no_enter_lpm_blink ,temp 
+0x5d10 030555 call app_mpu_s0_lock 
+0x5d11 030556 branch lpm_write_lock 
+:      030558 app_lpm_peripheral_lock_car:
+0x5d12 030559 call app_lpm_efuse_lock_prep 
+0x5d13 030560 arg dongle_init ,pdata 
+0x5d14 030561 arg ui_soft_switch_power_off ,temp 
+0x5d15 030562 call app_mpu_s0_lock 
+0x5d16 030563 branch lpm_write_lock 
+:      030565 app_lpm_peripheral_lock_antilost:
+0x5d17 030566 call app_lpm_efuse_lock_prep 
+0x5d18 030567 arg car_init ,pdata 
+0x5d19 030568 arg ui_soft_switch_power_off ,temp 
+0x5d1a 030569 call app_mpu_s0_lock 
+0x5d1b 030570 branch lpm_write_lock 
+:      030572 app_lpm_mpu_lock_mesh:
+0x5d1c 030573 arg ali_mesh_access_layer_resolve_message ,pdata 
+0x5d1d 030574 arg ali_mesh_upper_transport_layer_clear_tx_buffer ,temp 
+0x5d1e 030575 branch app_mpu_s0_lock 
+:      030579 app_lpm_mpu_lock_module:
+0x5d1f 030580 call app_lpm_efuse_lock_prep 
+0x5d20 030581 arg module_init ,pdata 
+0x5d21 030582 arg module_set_state ,temp 
+:      030583 app_mpu_s0_lock:
+0x5d22 030584 store 2 ,core_mpu_s0_saddr 
+0x5d23 030585 storet 2 ,core_mpu_s0_eaddr 
+0x5d24 030586 rtn 
+:      030588 app_lpm_mpu_lock_app:
+0x5d25 030589 arg antilost_init ,pdata 
+0x5d26 030590 arg ui_soft_switch_power_off ,temp 
+0x5d27 030591 branch app_mpu_s0_lock 
+:      030593 app_lpm_mpu_lock_br:
+0x5d28 030594 arg parse_lmp ,pdata 
+0x5d29 030595 arg remote_auth ,temp 
+0x5d2a 030596 branch app_mpu_s1_lock 
+:      030598 app_lpm_mpu_lock_ble:
+0x5d2b 030599 arg le_parse_att ,pdata 
+0x5d2c 030600 arg le_send_ll_one_lenth ,temp 
+:      030601 app_mpu_s1_lock:
+0x5d2d 030602 store 2 ,core_mpu_s1_saddr 
+0x5d2e 030603 storet 2 ,core_mpu_s1_eaddr 
+0x5d2f 030604 rtn 
+:      030606 app_lpm_mpu_lock_24g:
+0x5d30 030607 arg g24_prep ,pdata 
+0x5d31 030608 arg power_ctrl_pac_succ_cnt_reinit ,temp 
+0x5d32 030609 branch app_mpu_s1_lock 
+:      030611 app_lpm_mpu_lock_br_ble:
+0x5d33 030612 call app_lpm_mpu_lock_br 
+0x5d34 030613 arg le_parse_att ,pdata 
+0x5d35 030614 arg le_send_ll_one_lenth ,temp 
+0x5d36 030615 branch app_mpu_s0_lock 
+:      030617 app_lpm_mpu_mode_lock:
+0x5d37 030618 fetch 1 ,mem_tmp_buffer + efuse_offset_peripherals_lock 
+0x5d38 030619 and pdata ,0xc0 ,pdata 
+0x5d39 030620 beq 0xc0 ,app_lpm_mpu_lock_br_ble 
+0x5d3a 030621 bbit1 efuse_le_lock_bit ,app_lpm_mpu_lock_ble 
+0x5d3b 030622 bbit1 efuse_br_lock_bit ,app_lpm_mpu_lock_br 
+0x5d3c 030623 rtn 
+:      030626 lpm_write_lock:
+0x5d3d 030627 call app_lpm_mpu_mode_lock 
+0x5d3e 030628 fetch 1 ,mem_tmp_buffer + efuse_offset_peripherals_lock 
+0x5d3f 030629 and pdata ,0x1f ,rega 
+0x5d40 030630 fetch 1 ,mem_tmp_buffer + efuse_offset_ucode 
+0x5d41 030631 and pdata ,0x0f ,pdata 
+0x5d42 030632 fetcht 1 ,mem_tmp_buffer + efuse_offset_device_lock 
+0x5d43 030633 and temp ,0x0f ,temp 
+0x5d44 030634 lshift4 temp ,temp 
+0x5d45 030635 ior temp ,pdata 
+0x5d46 030636 lshift8 rega ,rega 
+0x5d47 030637 ior rega ,pdata 
+0x5d48 030638 set1 lpmreg_rom_lock_bit ,pdata 
+0x5d49 030639 set1 lpmreg_ice_mode_bit ,pdata 
+0x5d4a 030640 store 4 ,core_lpm_reg 
+0x5d4b 030641 call lpm_write2_ctrl_option 
+0x5d4c 030642 jam 8 ,core_encrypt 
+0x5d4d 030643 rtn 
+:      030649 lpm_write2_ctrl_option:
+0x5d4e 030650 setarg lpmreg_sel_option 
+:      030651 lpm_write2:
+0x5d4f 030652 until null ,lpo_edge 
+0x5d50 030653 store 1 ,core_lpm_wr2 
+0x5d51 030654 until null ,lpo_edge 
+0x5d52 030655 until null ,lpo_edge 
+0x5d53 030656 rtn 
+:      030667 spid_init:
+0x5d54 030668 bpatchx patch24_0 ,mem_patch24 
+:      030669 spid_init_common:
+0x5d55 030670 fetch 1 ,mem_spi_init_clk 
+0x5d56 030671 store 1 ,core_spid_ctrl 
+0x5d57 030672 fetch 1 ,mem_spi_init_delay_time 
+0x5d58 030673 store 1 ,core_spid_delay 
+0x5d59 030674 setarg mem_spid_tbuf 
+0x5d5a 030675 store 2 ,core_spid_txaddr 
+0x5d5b 030676 setarg mem_spid_rbuf 
+0x5d5c 030677 store 2 ,core_spid_rxaddr 
+0x5d5d 030678 branch twspi_disable 
+:      030681 twspi_write:
+:      030683 spid_write_reg:
+0x5d5e 030684 set1 7 ,pdata 
+0x5d5f 030685 store 2 ,mem_spid_tbuf 
+0x5d60 030686 bpatchx patch24_1 ,mem_patch24 
+0x5d61 030687 jam 2 ,core_spid_txlen 
+0x5d62 030688 jam 0 ,core_spid_rxlen 
+0x5d63 030689 jam spid_start ,core_misc_ctrl 
+0x5d64 030690 branch wait_spid_done 
+:      030693 twspi_read:
+:      030695 spid_read_reg:
+0x5d65 030696 force 1 ,temp 
+:      030697 spid_read_regs:
+0x5d66 030698 store 1 ,mem_spid_tbuf 
+0x5d67 030699 bpatchx patch24_2 ,mem_patch24 
+0x5d68 030700 jam 1 ,core_spid_txlen 
+0x5d69 030701 storet 2 ,core_spid_rxlen 
+0x5d6a 030702 jam spid_start ,core_misc_ctrl 
+0x5d6b 030703 call wait_spid_done 
+0x5d6c 030704 fetch 1 ,mem_spid_rbuf 
+0x5d6d 030705 rtn 
+:      030708 wait_spid_done:
+0x5d6e 030709 fetch 2 ,mem_afh_error_total 
+0x5d6f 030710 increase 1 ,pdata 
+0x5d70 030711 store 2 ,mem_afh_error_total 
+0x5d71 030712 fetch 1 ,core_dma_status 
+0x5d72 030713 bbit0 spid_done ,wait_spid_done 
+0x5d73 030714 rtn 
+:      030722 flash_write:
+0x5d74 030723 disable user 
+0x5d75 030724 copy pdata ,regb 
+0x5d76 030725 fetch 1 ,mem_spi_write_flash_sm 
+0x5d77 030726 rtnne flash_sm_no_buys 
+0x5d78 030727 enable user 
+0x5d79 030728 copy regb ,pdata 
+0x5d7a 030729 branch spid_flash_write_start 
+:      030732 flash_write_spi_sm_timer:
+0x5d7b 030733 fetch 1 ,mem_spi_write_flash_sm 
+0x5d7c 030734 beq flash_sm_start ,spid_flash_write_start 
+0x5d7d 030735 beq flash_sm_erase_sector ,spid_flash_erase_sector 
+0x5d7e 030736 beq flash_sm_wait_erase_sector ,spid_flash_wait_erase_sector 
+0x5d7f 030737 beq flash_sm_write_data ,spid_flash_write_data 
+0x5d80 030738 beq flash_sm_wait_write_data ,spid_flash_wait_write_data 
+0x5d81 030739 rtn 
+:      030741 spid_flash_write_start:
+0x5d82 030742 store 3 ,mem_spi_write_addr 
+0x5d83 030743 copy rega ,pdata 
+0x5d84 030744 store 2 ,mem_spi_write_ptr 
+0x5d85 030745 storet 2 ,mem_spi_write_len 
+0x5d86 030746 jam flash_sm_erase_sector ,mem_spi_write_flash_sm 
+0x5d87 030747 branch spid_init_flash 
+:      030748 spid_flash_erase_sector:
+0x5d88 030749 call spid_init_flash 
+0x5d89 030750 jam flash_sm_wait_erase_sector ,mem_spi_write_flash_sm 
+0x5d8a 030751 call spid_unlock_flash 
+0x5d8b 030752 arg mem_spid_tbuf ,rega 
+0x5d8c 030753 jam 4 ,core_spid_txlen 
+0x5d8d 030754 fetch 3 ,mem_spi_write_addr 
+0x5d8e 030755 arg flash_command_sector_erase ,temp 
+0x5d8f 030756 branch spid_write_flash_common 
+:      030758 spid_flash_wait_erase_sector:
+0x5d90 030759 call spid_init_flash 
+0x5d91 030760 call wait_spid_flash_done 
+0x5d92 030761 jam flash_sm_write_data ,mem_spi_write_flash_sm 
+0x5d93 030762 rtn 
+:      030765 spid_flash_write_data:
+0x5d94 030766 call spid_init_flash 
+0x5d95 030767 jam flash_sm_wait_write_data ,mem_spi_write_flash_sm 
+0x5d96 030768 call spid_unlock_flash 
+0x5d97 030769 call spid_flash_data_preserve 
+0x5d98 030770 call spid_write_flash 
+0x5d99 030771 branch spid_flash_data_recover 
+:      030772 spid_flash_wait_write_data:
+0x5d9a 030773 call spid_init_flash 
+0x5d9b 030774 call spid_unlock_flash 
+0x5d9c 030775 setarg flash_read_satus 
+0x5d9d 030776 call spid_read_reg 
+0x5d9e 030777 rtnbit1 flash_status_wip 
+0x5d9f 030778 jam flash_sm_no_buys ,mem_spi_write_flash_sm 
+0x5da0 030779 fetch 2 ,mem_cb_spi_flash_write_complate 
+0x5da1 030780 branch callback_func 
+:      030781 spid_flash_data_recover:
+0x5da2 030782 fetch 4 ,mem_temp 
+0x5da3 030783 fetcht 2 ,mem_spi_write_ptr 
+:      030784 spid_flash_data_recover_comm:
+0x5da4 030785 increase -4 ,temp 
+0x5da5 030786 istore 4 ,temp 
+0x5da6 030787 rtn 
+:      030788 spid_flash_data_preserve:
+0x5da7 030789 fetcht 2 ,mem_spi_write_ptr 
+0x5da8 030790 copy temp ,rega 
+0x5da9 030791 increase -4 ,temp 
+0x5daa 030792 ifetch 4 ,temp 
+0x5dab 030793 store 4 ,mem_temp 
+0x5dac 030794 fetcht 2 ,mem_spi_write_len 
+0x5dad 030795 fetch 3 ,mem_spi_write_addr 
+0x5dae 030796 rtn 
+:      030798 spid_init_flash:
+0x5daf 030799 call spi_gpio_init 
+0x5db0 030800 call twspi_disable 
+0x5db1 030801 setarg 0 
+0x5db2 030802 store 4 ,mem_spid_tbuf 
+0x5db3 030803 rtn 
+:      030805 spid_unlock_flash:
+0x5db4 030806 jam flash_command_write_enable ,mem_spid_tbuf 
+:      030807 spid_sendcmd_common:
+0x5db5 030808 setarg 0 
+0x5db6 030809 store 2 ,core_spid_rxlen 
+0x5db7 030810 setarg 1 
+0x5db8 030811 store 2 ,core_spid_txlen 
+0x5db9 030812 setarg mem_spid_tbuf 
+0x5dba 030813 store 2 ,core_spid_txaddr 
+0x5dbb 030814 jam spid_start ,core_misc_ctrl 
+0x5dbc 030815 branch wait_spid_done 
+:      030817 spid_flash_release_form_powerdown:
+0x5dbd 030818 jam flash_command_release_from_powerdown ,mem_spid_tbuf 
+0x5dbe 030819 branch spid_sendcmd_common 
+:      030821 spid_flash_powerdown:
+0x5dbf 030822 jam flash_command_powerdown ,mem_spid_tbuf 
+0x5dc0 030823 branch spid_sendcmd_common 
+:      030826 spid_write_flash:
+0x5dc1 030827 increase 4 ,temp 
+0x5dc2 030828 storet 2 ,core_spid_txlen 
+0x5dc3 030829 arg flash_command_write_data ,temp 
+0x5dc4 030830 increase -4 ,rega 
+:      030832 spid_write_flash_common:
+0x5dc5 030833 istoret 1 ,rega 
+0x5dc6 030834 rshift16 pdata ,temp 
+0x5dc7 030835 istoret 1 ,contw 
+0x5dc8 030836 rshift8 pdata ,temp 
+0x5dc9 030837 istoret 1 ,contw 
+0x5dca 030838 istore 1 ,contw 
+0x5dcb 030839 deposit rega 
+0x5dcc 030840 store 2 ,core_spid_txaddr 
+0x5dcd 030841 setarg 0 
+0x5dce 030842 store 2 ,core_spid_rxlen 
+0x5dcf 030843 jam spid_start ,core_misc_ctrl 
+0x5dd0 030844 call wait_spid_done 
+0x5dd1 030845 branch wait_spid_flash_done 
+:      030849 spid_read_flash:
+0x5dd2 030850 storet 2 ,core_spid_rxlen 
+0x5dd3 030851 rshift16 pdata ,temp 
+0x5dd4 030852 storet 1 ,mem_addr_hi 
+0x5dd5 030853 rshift8 pdata ,temp 
+0x5dd6 030854 storet 1 ,mem_addr_mi 
+0x5dd7 030855 store 1 ,mem_addr_lo 
+0x5dd8 030856 setarg 4 
+0x5dd9 030857 store 2 ,core_spid_txlen 
+0x5dda 030858 jam flash_command_read_data ,mem_spid_tbuf 
+0x5ddb 030859 setarg mem_spid_tbuf 
+0x5ddc 030860 store 2 ,core_spid_txaddr 
+0x5ddd 030861 deposit rega 
+0x5dde 030862 store 2 ,core_spid_rxaddr 
+0x5ddf 030863 fetch 1 ,core_spid_ctrl 
+0x5de0 030864 isolate0 15 ,rega 
+0x5de1 030865 setflag true ,6 ,pdata 
+0x5de2 030866 store 1 ,core_spid_ctrl 
+0x5de3 030867 jam spid_start ,core_misc_ctrl 
+:      030868 spid_read_flash_wait:
+0x5de4 030869 fetch 1 ,core_dma_status 
+0x5de5 030870 bbit1 7 ,spid_read_flash_wait 
+0x5de6 030871 arg spid_done ,queue 
+0x5de7 030872 branch wait_spid_done 
+:      030874 wait_spid_flash_done:
+0x5de8 030875 setarg 2000 
+0x5de9 030876 call sleep 
+0x5dea 030877 call spid_unlock_flash 
+0x5deb 030878 setarg mem_spid_rbuf 
+0x5dec 030879 store 2 ,core_spid_rxaddr 
+0x5ded 030880 setarg flash_read_satus 
+0x5dee 030881 call spid_read_reg 
+0x5def 030882 bbit1 flash_status_wip ,wait_spid_flash_done 
+0x5df0 030883 rtn 
+:      030887 spid_load_flash:
+0x5df1 030888 storet 2 ,core_spid_rxlen 
+0x5df2 030889 setarg 4 
+0x5df3 030890 store 2 ,core_spid_txlen 
+0x5df4 030891 jam 3 ,mem_spid_tbuf 
+0x5df5 030892 setarg mem_spid_tbuf 
+0x5df6 030893 store 2 ,core_spid_txaddr 
+0x5df7 030894 deposit rega 
+0x5df8 030895 store 2 ,core_spid_rxaddr 
+0x5df9 030896 fetch 1 ,core_spid_ctrl 
+0x5dfa 030897 isolate0 15 ,rega 
+0x5dfb 030898 setflag true ,6 ,pdata 
+0x5dfc 030899 store 1 ,core_spid_ctrl 
+0x5dfd 030900 jam spid_start ,core_misc_ctrl 
+:      030901 spi_load_flash_wait:
+0x5dfe 030902 fetch 1 ,core_dma_status 
+0x5dff 030903 bbit1 7 ,spi_load_flash_wait 
+0x5e00 030904 arg spid_done ,queue 
+0x5e01 030905 call decrypt_code 
+0x5e02 030906 call wait_spid_done 
+0x5e03 030907 isolate1 spid_crcok ,pdata 
+0x5e04 030908 call set_ucode_status 
+0x5e05 030909 fetch 1 ,mem_addr_hi 
+0x5e06 030910 lshift16 pdata ,regb 
+0x5e07 030911 fetch 1 ,mem_addr_mi 
+0x5e08 030912 lshift8 pdata ,pdata 
+0x5e09 030913 ior regb ,regb 
+0x5e0a 030914 fetch 1 ,mem_addr_lo 
+0x5e0b 030915 ior regb ,pdata 
+0x5e0c 030916 iadd temp ,pdata 
+0x5e0d 030917 store 1 ,mem_addr_lo 
+0x5e0e 030918 rshift8 pdata ,pdata 
+0x5e0f 030919 store 1 ,mem_addr_mi 
+0x5e10 030920 rshift8 pdata ,pdata 
+0x5e11 030921 store 1 ,mem_addr_hi 
+0x5e12 030922 rtn 
+:      030924 spi_gpio_init:
+0x5e13 030925 fetch 1 ,mem_spi_cs_gpio 
+0x5e14 030926 fetcht 1 ,mem_spi_so_gpio 
+0x5e15 030927 isub temp ,null 
+0x5e16 030928 nbranch spi_pin_set ,zero 
+0x5e17 030929 call spi_gpio_default_init 
+:      030931 spi_pin_set:
+0x5e18 030932 fetch 1 ,mem_spi_cs_gpio 
+0x5e19 030933 arg gpcfg_spid_ncs ,temp 
+0x5e1a 030934 call gpio_config_function_int 
+0x5e1b 030935 fetch 1 ,mem_spi_sclk_gpio 
+0x5e1c 030936 arg gpcfg_spid_sck ,temp 
+0x5e1d 030937 call gpio_config_function_int 
+0x5e1e 030938 fetch 1 ,mem_spi_si_gpio 
+0x5e1f 030939 arg gpcfg_spid_mosi ,temp 
+0x5e20 030940 call gpio_config_function_int 
+0x5e21 030941 fetch 1 ,mem_spi_so_gpio 
+0x5e22 030942 arg gpcfg_spid_miso ,temp 
+0x5e23 030943 branch gpio_config_function_int 
+:      030945 spi_gpio_default_init:
+0x5e24 030946 setarg 0x100d0e 
+0x5e25 030947 store 3 ,mem_spi_cs_gpio 
+0x5e26 030948 setarg 0x12110f 
+0x5e27 030949 istore 3 ,contw 
+0x5e28 030950 rtn 
+:      030955 soft_reset_chip:
+0x5e29 030956 jam 1 ,core_reset 
+0x5e2a 030957 rtn 
+:      030963 iic_init_600khz:
+0x5e2b 030964 jam 5 ,core_iicd_scl_low 
+0x5e2c 030965 jam 7 ,core_iicd_scl_high 
+0x5e2d 030966 jam 7 ,core_iicd_start_setup 
+0x5e2e 030967 jam 7 ,core_iicd_start_hold 
+0x5e2f 030968 jam 7 ,core_iicd_stop_setup 
+0x5e30 030969 jam 5 ,core_iicd_data_setup 
+0x5e31 030970 jam 0 ,core_iicd_data_hold 
+0x5e32 030971 rtn 
+:      030973 iic_init_360khz:
+0x5e33 030974 jam 12 ,core_iicd_scl_low 
+0x5e34 030975 jam 13 ,core_iicd_scl_high 
+0x5e35 030976 jam 13 ,core_iicd_start_setup 
+0x5e36 030977 jam 13 ,core_iicd_start_hold 
+0x5e37 030978 jam 13 ,core_iicd_stop_setup 
+0x5e38 030979 jam 12 ,core_iicd_data_setup 
+0x5e39 030980 jam 0 ,core_iicd_data_hold 
+0x5e3a 030981 rtn 
+:      030983 iicd_init_pin:
+0x5e3b 030984 call iicd_eeprom_write_enable 
+:      030985 iicd_init_pin_scl_sda:
+0x5e3c 030986 fetch 1 ,mem_eeprom_scl_gpio 
+0x5e3d 030987 arg gpcfg_iic_scl | gpcfg_pullup ,temp 
+0x5e3e 030988 call gpio_config_function_int 
+0x5e3f 030989 fetch 1 ,mem_eeprom_sda_gpio 
+0x5e40 030990 arg gpcfg_iic_sda | gpcfg_pullup ,temp 
+0x5e41 030991 branch gpio_config_function_int 
+:      030993 iicd_read_init_pin:
+0x5e42 030994 call iicd_eeprom_write_disable 
+0x5e43 030995 branch iicd_init_pin_scl_sda 
+:      030997 wait_iicd_done:
+0x5e44 030998 fetch 1 ,core_dma_status 
+0x5e45 030999 bbit0 iicd_done ,wait_iicd_done 
+0x5e46 031000 rtn 
+:      031003 iicd_read_data:
+0x5e47 031004 store 1 ,mem_iicd_addr 
+0x5e48 031005 setarg mem_iicd_addr 
+0x5e49 031006 store 2 ,core_iicd_txaddr 
+0x5e4a 031007 setarg 1 
+0x5e4b 031008 store 2 ,core_iicd_txlen 
+0x5e4c 031009 storet 2 ,core_iicd_rxlen 
+0x5e4d 031010 storer rega ,2 ,core_iicd_rxaddr 
+0x5e4e 031011 jam 1 ,core_iicd_ctrl 
+0x5e4f 031012 jam iicd_start ,core_misc_ctrl 
+0x5e50 031013 branch wait_iicd_done 
+:      031016 iic_write_data:
+0x5e51 031017 setarg 0 
+0x5e52 031018 store 2 ,core_iicd_rxlen 
+0x5e53 031019 store 2 ,core_iicd_rxaddr 
+0x5e54 031020 storet 2 ,core_iicd_txlen 
+0x5e55 031021 storer rega ,2 ,core_iicd_txaddr 
+0x5e56 031022 jam 1 ,core_iicd_ctrl 
+0x5e57 031023 jam iicd_start ,core_misc_ctrl 
+0x5e58 031024 branch wait_iicd_done 
+:      031026 set_eeprom_size_2k:
+0x5e59 031027 set1 mark_eeprom_size ,mark 
+0x5e5a 031028 jam 0x08 ,mem_eeprom_block_size 
+0x5e5b 031029 rtn 
+:      031031 clear_eeprom_size_2k:
+0x5e5c 031032 set0 mark_eeprom_size ,mark 
+0x5e5d 031033 jam 0x20 ,mem_eeprom_block_size 
+0x5e5e 031034 rtn 
+:      031037 iicd_read_eep_data_size_2k:
+0x5e5f 031038 fetch 1 ,mem_eeprom_base 
+0x5e60 031039 iadd regb ,pdata 
+0x5e61 031040 store 1 ,mem_addr_mi 
+0x5e62 031041 branch iicd_read_eep_size_2k 
+:      031043 iicd_read_eep_size_2k_lcadcode:
+0x5e63 031044 fetch 2 ,mem_addr_mi 
+0x5e64 031045 byteswap pdata ,pdata 
+0x5e65 031046 store 1 ,mem_addr_mi 
+:      031051 iicd_read_eep_size_2k:
+0x5e66 031052 setarg 3 
+0x5e67 031053 store 2 ,core_iicd_txlen 
+0x5e68 031054 jam 0xa0 ,mem_iicd_tbuf 
+0x5e69 031055 jam 0xa1 ,mem_iicd_tbuf + 2 
+0x5e6a 031056 branch iicd_read_eep_common 
+:      031062 iicd_write_protect_eep_data:
+0x5e6b 031063 storet 2 ,mem_temp 
+0x5e6c 031064 call iicd_eeprom_write_enable 
+0x5e6d 031065 fetcht 2 ,mem_temp 
+0x5e6e 031066 call iicd_write_eep_data 
+0x5e6f 031067 branch iicd_eeprom_write_disable 
+:      031069 iicd_eeprom_write_enable:
+0x5e70 031070 fetch 1 ,mem_eeprom_wp_gpio 
+0x5e71 031071 rtneq gpio_disable 
+0x5e72 031072 bbit0 6 ,iicd_wp_gpio_output_low 
+0x5e73 031073 setarg 150000 
+0x5e74 031074 call sleep 
+:      031075 iicd_wp_gpio_output_low:
+0x5e75 031076 fetcht 1 ,mem_eeprom_wp_gpio 
+0x5e76 031077 branch gpio_out_active 
+:      031079 iicd_eeprom_write_disable:
+0x5e77 031080 fetcht 1 ,mem_eeprom_wp_gpio 
+0x5e78 031081 branch gpio_out_inactive 
+:      031086 iicd_read_eep_data:
+0x5e79 031087 bpatchx patch24_3 ,mem_patch24 
+0x5e7a 031088 bmark1 mark_eeprom_size ,iicd_read_eep_data_size_2k 
+0x5e7b 031089 fetch 2 ,mem_eeprom_base 
+0x5e7c 031090 iadd regb ,pdata 
+0x5e7d 031091 byteswap pdata ,pdata 
+0x5e7e 031092 store 2 ,mem_addr_mi 
+:      031095 iicd_read_eep:
+0x5e7f 031096 bpatchx patch24_4 ,mem_patch24 
+0x5e80 031097 bmark1 mark_eeprom_size ,iicd_read_eep_size_2k_lcadcode 
+0x5e81 031098 setarg 4 
+0x5e82 031099 store 2 ,core_iicd_txlen 
+0x5e83 031100 jam 0xa0 ,mem_iicd_tbuf 
+0x5e84 031101 jam 0xa1 ,mem_iicd_tbuf + 3 
+:      031102 iicd_read_eep_common:
+0x5e85 031103 setarg mem_iicd_tbuf 
+0x5e86 031104 store 2 ,core_iicd_txaddr 
+0x5e87 031105 storet 2 ,core_iicd_rxlen 
+0x5e88 031106 storer rega ,2 ,core_iicd_rxaddr 
+0x5e89 031107 setarg 2 
+0x5e8a 031108 isolate0 15 ,rega 
+0x5e8b 031109 setflag true ,0 ,pdata 
+0x5e8c 031110 store 1 ,core_iicd_ctrl 
+0x5e8d 031111 jam iicd_start ,core_misc_ctrl 
+0x5e8e 031112 arg iicd_done ,queue 
+0x5e8f 031113 call decrypt_code 
+0x5e90 031114 call wait_iicd_done 
+0x5e91 031115 isolate1 iicd_crcok ,pdata 
+0x5e92 031116 call set_ucode_status 
+0x5e93 031117 bmark1 mark_eeprom_size ,iicd_read_eep_load_code_size_2k 
+0x5e94 031118 fetch 2 ,mem_addr_mi 
+0x5e95 031119 byteswap pdata ,pdata 
+0x5e96 031120 iadd temp ,pdata 
+0x5e97 031121 byteswap pdata ,pdata 
+0x5e98 031122 store 2 ,mem_addr_mi 
+0x5e99 031123 rtn 
+:      031125 iicd_read_eep_load_code_size_2k:
+0x5e9a 031126 fetch 1 ,mem_addr_mi 
+0x5e9b 031127 iadd temp ,pdata 
+0x5e9c 031128 byteswap pdata ,pdata 
+0x5e9d 031129 store 2 ,mem_addr_mi 
+0x5e9e 031130 rtn 
+:      031136 iicd_write_eep_data:
+0x5e9f 031137 fetch 2 ,mem_eeprom_base 
+0x5ea0 031138 iadd regb ,pdata 
+:      031141 iicd_write_ota_data:
+0x5ea1 031142 store 2 ,mem_pdatatemp 
+0x5ea2 031143 bpatchx patch24_5 ,mem_patch24 
+0x5ea3 031144 storet 2 ,mem_temp 
+0x5ea4 031145 storer rega ,2 ,mem_contr 
+:      031146 iicd_write_eep_loop:
+0x5ea5 031147 call iicd_eep_transparency 
+0x5ea6 031149 fetcht 2 ,mem_regb 
+0x5ea7 031150 fetchr rega ,2 ,mem_contr 
+0x5ea8 031151 fetch 2 ,mem_pdatatemp 
+0x5ea9 031153 call iicd_write_eep 
+0x5eaa 031155 fetch 2 ,mem_regb 
+0x5eab 031156 fetcht 2 ,mem_contr 
+0x5eac 031157 iadd temp ,temp 
+0x5ead 031158 storet 2 ,mem_contr 
+0x5eae 031159 fetcht 2 ,mem_pdatatemp 
+0x5eaf 031160 iadd temp ,temp 
+0x5eb0 031161 storet 2 ,mem_pdatatemp 
+0x5eb1 031162 fetch 2 ,mem_temp 
+0x5eb2 031163 nbranch iicd_write_eep_loop ,blank 
+0x5eb3 031164 rtn 
+:      031172 iicd_eep_transparency:
+0x5eb4 031173 bpatchx patch24_6 ,mem_patch24 
+0x5eb5 031174 fetch 1 ,mem_eeprom_block_size 
+0x5eb6 031175 increase -1 ,pdata 
+0x5eb7 031176 fetcht 2 ,mem_pdatatemp 
+0x5eb8 031177 ior temp ,pdata 
+0x5eb9 031178 increase 1 ,pdata 
+0x5eba 031179 store 3 ,mem_regc 
+0x5ebb 031181 fetch 2 ,mem_temp 
+0x5ebc 031182 iadd temp ,pdata 
+0x5ebd 031184 fetcht 3 ,mem_regc 
+0x5ebe 031185 isub temp ,pdata 
+0x5ebf 031186 nbranch iicd_eep_deal_short_packet ,positive 
+0x5ec0 031187 store 2 ,mem_temp 
+0x5ec1 031188 fetch 3 ,mem_regc 
+0x5ec2 031189 fetcht 2 ,mem_pdatatemp 
+0x5ec3 031190 isub temp ,pdata 
+0x5ec4 031191 store 2 ,mem_regb 
+0x5ec5 031192 rtn 
+:      031193 iicd_eep_deal_short_packet:
+0x5ec6 031194 fetch 2 ,mem_temp 
+0x5ec7 031195 store 2 ,mem_regb 
+0x5ec8 031196 setarg 0 
+0x5ec9 031197 store 2 ,mem_temp 
+0x5eca 031198 rtn 
+:      031200 iicd_write_eep_size_2k:
+0x5ecb 031201 copy regb ,pdata 
+0x5ecc 031202 increase 2 ,temp 
+0x5ecd 031203 storet 2 ,core_iicd_txlen 
+0x5ece 031204 increase -2 ,rega 
+0x5ecf 031205 ifetcht 3 ,rega 
+0x5ed0 031206 copy temp ,regb 
+0x5ed1 031207 arg 0xa0 ,temp 
+0x5ed2 031208 istoret 1 ,rega 
+0x5ed3 031209 istore 1 ,contw 
+0x5ed4 031210 branch iicd_write_eep_common 
+:      031213 iicd_write_eep:
+0x5ed5 031214 copy pdata ,regb 
+0x5ed6 031215 bpatchx patch24_7 ,mem_patch24 
+0x5ed7 031216 bmark1 mark_eeprom_size ,iicd_write_eep_size_2k 
+0x5ed8 031217 copy regb ,pdata 
+0x5ed9 031218 increase 3 ,temp 
+0x5eda 031219 storet 2 ,core_iicd_txlen 
+0x5edb 031220 increase -3 ,rega 
+0x5edc 031221 ifetcht 3 ,rega 
+0x5edd 031222 copy temp ,regb 
+0x5ede 031223 arg 0xa0 ,temp 
+0x5edf 031224 istoret 1 ,rega 
+0x5ee0 031225 byteswap pdata ,pdata 
+0x5ee1 031226 istore 2 ,contw 
+:      031227 iicd_write_eep_common:
+0x5ee2 031228 storer rega ,2 ,core_iicd_txaddr 
+0x5ee3 031229 setarg 0 
+0x5ee4 031230 store 2 ,core_iicd_rxlen 
+0x5ee5 031231 jam 1 ,core_iicd_ctrl 
+0x5ee6 031232 jam iicd_start ,core_misc_ctrl 
+0x5ee7 031233 call wait_iicd_done 
+0x5ee8 031234 istorer regb ,3 ,rega 
+:      031235 iic_check_eeprom_standby:
+0x5ee9 031236 bpatchx patch25_0 ,mem_patch25 
+0x5eea 031237 jam 0 ,mem_iicd_tbuf + 3 
+:      031238 iic_check_eeprom_standby_wait:
+0x5eeb 031239 setarg 1 
+0x5eec 031240 store 2 ,core_iicd_txlen 
+0x5eed 031241 jam 0xa0 ,mem_iicd_tbuf 
+0x5eee 031242 setarg mem_iicd_tbuf 
+0x5eef 031243 store 2 ,core_iicd_txaddr 
+0x5ef0 031244 setarg 0 
+0x5ef1 031245 store 2 ,core_iicd_rxlen 
+0x5ef2 031246 store 2 ,core_iicd_rxaddr 
+0x5ef3 031247 setarg 3 
+0x5ef4 031248 store 1 ,core_iicd_ctrl 
+0x5ef5 031249 jam iicd_start ,core_misc_ctrl 
+0x5ef6 031250 call wait_iicd_done 
+0x5ef7 031251 fetch 1 ,core_dma_status 
+0x5ef8 031252 rtnbit0 iicd_ack 
+0x5ef9 031253 nop 1500 
+0x5efa 031254 fetch 1 ,mem_iicd_tbuf + 3 
+0x5efb 031255 increase 1 ,pdata 
+0x5efc 031256 store 1 ,mem_iicd_tbuf + 3 
+0x5efd 031257 sub pdata ,40 ,null 
+0x5efe 031258 nrtn positive 
+0x5eff 031259 branch iic_check_eeprom_standby_wait 
+:      031263 efuse_read_data:
+0x5f00 031264 copy temp ,loopcnt 
+0x5f01 031265 copy pdata ,temp 
+0x5f02 031266 bpatchx patch25_1 ,mem_patch25 
+0x5f03 031267 lshift3 temp ,temp 
+0x5f04 031268 call efuse_vdd_on 
+0x5f05 031269 jam 0x80 ,core_efuse_ctrl 
+:      031270 efuse_read_loop:
+0x5f06 031271 jam 0x86 ,core_efuse_ctrl 
+0x5f07 031272 storet 2 ,core_efuse_addr 
+0x5f08 031273 increase 8 ,temp 
+0x5f09 031274 jam 0x87 ,core_efuse_ctrl 
+0x5f0a 031275 fetch 1 ,core_efuse_rdata 
+0x5f0b 031276 istore 1 ,rega 
+0x5f0c 031277 increase 1 ,rega 
+0x5f0d 031278 loop efuse_read_loop 
+0x5f0e 031279 jam 0x86 ,core_efuse_ctrl 
+0x5f0f 031280 jam 0x80 ,core_efuse_ctrl 
+0x5f10 031281 jam 0x0 ,core_efuse_ctrl 
+0x5f11 031282 branch efuse_vdd_off 
+:      031285 efuse_program:
+0x5f12 031286 call efuse_vdd_fsource_on 
+0x5f13 031287 jam 0x80 ,core_efuse_ctrl 
+0x5f14 031288 lshift3 temp ,temp 
+0x5f15 031289 copy rega ,contr 
+:      031290 efuse_program_loop:
+0x5f16 031291 ifetch 1 ,contr 
+0x5f17 031292 arg 8 ,regb 
+:      031293 efuse_program_bit_loop:
+0x5f18 031294 and pdata ,1 ,null 
+0x5f19 031295 ncall efuse_program_bit ,zero 
+0x5f1a 031296 rshift pdata ,pdata 
+0x5f1b 031297 increase 1 ,temp 
+0x5f1c 031298 increase -1 ,regb 
+0x5f1d 031299 nbranch efuse_program_bit_loop ,zero 
+0x5f1e 031300 loop efuse_program_loop 
+0x5f1f 031301 jam 0x80 ,core_efuse_ctrl 
+0x5f20 031302 jam 0x0 ,core_efuse_ctrl 
+0x5f21 031303 branch efuse_vdd_off 
+:      031306 efuse_pa_vdd_set:
+0x5f22 031307 fetch 2 ,core_rf_ldo_cfg8 
+0x5f23 031308 store 2 ,mem_pdatatemp 
+0x5f24 031309 jam 0x6a ,core_rf_ldo_cfg8 
+0x5f25 031310 jam 0x0b ,core_rf_ldo_cfg9 
+0x5f26 031311 rtn 
+:      031313 efuse_pa_vdd_recover:
+0x5f27 031314 fetch 2 ,mem_pdatatemp 
+0x5f28 031315 store 2 ,core_rf_ldo_cfg8 
+0x5f29 031316 rtn 
+:      031318 efuse_lna_pa_ldo_on:
+0x5f2a 031319 call efuse_pa_vdd_set 
+0x5f2b 031320 fetch 1 ,core_rf_ldo_en0 
+0x5f2c 031321 set1 1 ,pdata 
+0x5f2d 031322 store 1 ,core_rf_ldo_en0 
+0x5f2e 031323 nop 200 
+0x5f2f 031324 fetch 1 ,core_rf_ldo_en1 
+0x5f30 031325 set1 0 ,pdata 
+0x5f31 031326 store 1 ,core_rf_ldo_en1 
+0x5f32 031327 nop 2000 
+0x5f33 031328 rtn 
+:      031330 efuse_vdd_fsource_on:
+0x5f34 031331 call efuse_lna_pa_ldo_on 
+0x5f35 031332 fetch 1 ,core_rf_ldo_en1 
+0x5f36 031333 set0 5 ,pdata 
+0x5f37 031334 set1 4 ,pdata 
+0x5f38 031335 set1 3 ,pdata 
+0x5f39 031336 store 1 ,core_rf_ldo_en1 
+0x5f3a 031337 nop 500 
+0x5f3b 031338 rtn 
+:      031340 efuse_vdd_on:
+0x5f3c 031341 call efuse_lna_pa_ldo_on 
+0x5f3d 031342 fetch 1 ,core_rf_ldo_en1 
+0x5f3e 031343 set1 5 ,pdata 
+0x5f3f 031344 set1 4 ,pdata 
+0x5f40 031345 set0 3 ,pdata 
+0x5f41 031346 store 1 ,core_rf_ldo_en1 
+0x5f42 031347 nop 500 
+0x5f43 031348 rtn 
+:      031350 efuse_vdd_off:
+0x5f44 031351 bpatchx patch25_2 ,mem_patch25 
+0x5f45 031352 fetch 1 ,core_rf_ldo_en1 
+0x5f46 031353 set0 5 ,pdata 
+0x5f47 031354 set0 4 ,pdata 
+0x5f48 031355 set0 3 ,pdata 
+0x5f49 031356 set0 0 ,pdata 
+0x5f4a 031357 store 1 ,core_rf_ldo_en1 
+0x5f4b 031358 nop 200 
+0x5f4c 031359 fetch 1 ,core_rf_ldo_en0 
+0x5f4d 031360 set0 1 ,pdata 
+0x5f4e 031361 store 1 ,core_rf_ldo_en0 
+0x5f4f 031362 branch efuse_pa_vdd_recover 
+:      031364 efuse_program_bit:
+0x5f50 031365 jam 0x80 ,core_efuse_ctrl 
+0x5f51 031366 nop 10 
+0x5f52 031367 storet 2 ,core_efuse_addr 
+0x5f53 031368 jam 0x81 ,core_efuse_ctrl 
+0x5f54 031369 nop 110 
+0x5f55 031370 rtn 
+:      031373 uarta_init_dma_mem:
+0x5f56 031374 call enable_user 
+0x5f57 031375 branch uart_init_dma_mem 
+:      031376 uartb_init_dma_mem:
+0x5f58 031377 call disable_user 
+0x5f59 031378 branch uart_init_dma_mem 
+:      031379 uart_init_dma_mem:
+0x5f5a 031380 rshift16 pdata ,temp 
+0x5f5b 031381 call uarta_init_rx ,user 
+0x5f5c 031382 ncall uartb_init_rx ,user 
+0x5f5d 031383 rshift32 pdata ,pdata 
+0x5f5e 031384 rshift16 pdata ,temp 
+0x5f5f 031385 call uarta_init_tx ,user 
+0x5f60 031386 ncall uartb_init_tx ,user 
+0x5f61 031387 nbranch uartb_init_dma_turn_on_clk ,user 
+0x5f62 031388 fetch 2 ,core_clkoff 
+0x5f63 031389 set0 clock_off_uart ,pdata 
+0x5f64 031390 store 2 ,core_clkoff 
+0x5f65 031391 rtn 
+:      031392 uartb_init_dma_turn_on_clk:
+0x5f66 031393 fetch 2 ,core_clkoff 
+0x5f67 031394 set0 clock_off_uartb ,pdata 
+0x5f68 031395 store 2 ,core_clkoff 
+0x5f69 031396 rtn 
+:      031399 uarta_init_baud_rate:
+0x5f6a 031400 store uart_baud_len ,core_uart_baud 
+0x5f6b 031401 rtn 
+:      031404 uartb_init_baud_rate:
+0x5f6c 031405 store uart_baud_len ,core_uartb_baud 
+0x5f6d 031406 rtn 
+:      031408 uarta_calc_baud_rate_config:
+0x5f6e 031409 call uart_calc_baud_rate_config 
+0x5f6f 031410 branch uarta_init_baud_rate 
+:      031412 uartb_calc_baud_rate_config:
+0x5f70 031413 call uart_calc_baud_rate_config 
+0x5f71 031414 branch uartb_init_baud_rate 
+:      031416 uart_calc_baud_rate_config:
+0x5f72 031417 call uart_calc_baud_rate_config_choice_uart_clock 
+0x5f73 031418 idiv temp 
+0x5f74 031419 call wait_div_end 
+0x5f75 031420 quotient pdata 
+0x5f76 031421 rtn 
+:      031423 uart_calc_baud_rate_config_choice_uart_clock:
+0x5f77 031424 fetch 1 ,core_uart_clksel 
+0x5f78 031425 bbit0 uart_clock_select_bit ,uart_calc_baud_rate_config_choice_uart_clock_crystal 
+0x5f79 031426 setarg uart_clock_freq_48m 
+0x5f7a 031427 rtn 
+:      031428 uart_calc_baud_rate_config_choice_uart_clock_crystal:
+0x5f7b 031429 setarg uart_clock_freq_24m 
+0x5f7c 031430 rtn 
+:      031432 uart_clock_select_main_freq_crystal:
+0x5f7d 031433 fetch 1 ,core_uart_clksel 
+0x5f7e 031434 and pdata ,uart_clock_select_crystal ,pdata 
+0x5f7f 031435 store 1 ,core_uart_clksel 
+0x5f80 031436 rtn 
+:      031438 uart_clock_select_main_freq_dpll:
+0x5f81 031439 fetch 1 ,core_uart_clksel 
+0x5f82 031440 or pdata ,uart_clock_select_dpll ,pdata 
+0x5f83 031441 store 1 ,core_uart_clksel 
+0x5f84 031442 rtn 
+:      031446 uarta_init_tx:
+0x5f85 031447 store 2 ,core_uart_tsaddr 
+0x5f86 031448 store 2 ,core_uart_twptr 
+0x5f87 031449 storet 2 ,core_uart_teaddr 
+0x5f88 031450 rtn 
+:      031453 uartb_init_tx:
+0x5f89 031454 store 2 ,core_uartb_tsaddr 
+0x5f8a 031455 store 2 ,core_uartb_twptr 
+0x5f8b 031456 storet 2 ,core_uartb_teaddr 
+0x5f8c 031457 rtn 
+:      031460 uarta_init_rx:
+0x5f8d 031461 store 2 ,core_uart_rsaddr 
+0x5f8e 031462 store 2 ,core_uart_rrptr 
+0x5f8f 031463 storet 2 ,core_uart_readdr 
+0x5f90 031464 rtn 
+:      031467 uartb_init_rx:
+0x5f91 031468 store 2 ,core_uartb_rsaddr 
+0x5f92 031469 store 2 ,core_uartb_rrptr 
+0x5f93 031470 storet 2 ,core_uartb_readdr 
+0x5f94 031471 rtn 
+:      031474 uarta_prepare_tx:
+0x5f95 031475 fetchr contus ,2 ,core_uart_tsaddr 
+0x5f96 031476 fetchr contue ,2 ,core_uart_teaddr 
+0x5f97 031477 fetchr contu ,2 ,core_uart_twptr 
+0x5f98 031478 rtn 
+:      031480 uartb_prepare_tx:
+0x5f99 031481 fetchr contus ,2 ,core_uartb_tsaddr 
+0x5f9a 031482 fetchr contue ,2 ,core_uartb_teaddr 
+0x5f9b 031483 fetchr contu ,2 ,core_uartb_twptr 
+0x5f9c 031484 rtn 
+:      031486 uarta_prepare_rx:
+0x5f9d 031487 fetchr contus ,2 ,core_uart_rsaddr 
+0x5f9e 031488 fetchr contue ,2 ,core_uart_readdr 
+0x5f9f 031489 fetchr contu ,2 ,core_uart_rrptr 
+0x5fa0 031490 rtn 
+:      031492 uartb_prepare_rx:
+0x5fa1 031493 fetchr contus ,2 ,core_uartb_rsaddr 
+0x5fa2 031494 fetchr contue ,2 ,core_uartb_readdr 
+0x5fa3 031495 fetchr contu ,2 ,core_uartb_rrptr 
+0x5fa4 031496 rtn 
+:      031498 uarta_send:
+0x5fa5 031499 storer contu ,2 ,core_uart_twptr 
+0x5fa6 031500 rtn 
+:      031502 uartb_send:
+0x5fa7 031503 storer contu ,2 ,core_uartb_twptr 
+0x5fa8 031504 rtn 
+:      031506 uarta_rxdone:
+0x5fa9 031507 storer contu ,2 ,core_uart_rrptr 
+0x5faa 031508 rtn 
+:      031510 uartb_rxdone:
+0x5fab 031511 storer contu ,2 ,core_uartb_rrptr 
+0x5fac 031512 rtn 
+:      031514 uarta_clear_current_rx:
+0x5fad 031515 call uarta_prepare_rx 
+0x5fae 031516 fetch 2 ,core_uart_rxitems 
+0x5faf 031517 iadd contu ,contu 
+0x5fb0 031518 branch uarta_rxdone 
+:      031520 uartb_clear_current_rx:
+0x5fb1 031521 call uartb_prepare_rx 
+0x5fb2 031522 fetch 2 ,core_uartb_rxitems 
+0x5fb3 031523 iadd contu ,contu 
+0x5fb4 031524 branch uartb_rxdone 
+:      031526 uarta_prepare_tx_register_push:
+0x5fb5 031527 call uart_register_push 
+0x5fb6 031528 branch uarta_prepare_tx 
+:      031530 uartb_prepare_tx_register_push:
+0x5fb7 031531 call uart_register_push 
+0x5fb8 031532 branch uartb_prepare_tx 
+:      031534 uarta_send_register_pop:
+0x5fb9 031535 call uarta_send 
+0x5fba 031536 branch uart_register_pop 
+:      031538 uartb_send_register_pop:
+0x5fbb 031539 call uartb_send 
+0x5fbc 031540 branch uart_register_pop 
+:      031543 uart_register_push:
+0x5fbd 031544 storer contu ,2 ,mem_contu 
+0x5fbe 031545 storer contus ,2 ,mem_contue 
+0x5fbf 031546 storer contue ,2 ,mem_contus 
+0x5fc0 031547 rtn 
+:      031549 uart_register_pop:
+0x5fc1 031550 fetchr contu ,2 ,mem_contu 
+0x5fc2 031551 fetchr contus ,2 ,mem_contue 
+0x5fc3 031552 fetchr contue ,2 ,mem_contus 
+0x5fc4 031553 rtn 
+:      031556 uart_copy_tx_bytes_fast:
+0x5fc5 031557 deposit loopcnt 
+0x5fc6 031558 rtn blank 
+:      031559 uart_copy_tx_bytes_fast_loop:
+0x5fc7 031560 increase -8 ,loopcnt 
+0x5fc8 031561 call uart_tx_8_bytes ,positive 
+0x5fc9 031562 rtn zero 
+0x5fca 031563 branch uart_copy_tx_bytes_fast_loop ,positive 
+0x5fcb 031564 increase 8 ,loopcnt 
+:      031565 uart_copy_tx_bytes_fast_loop_four:
+0x5fcc 031566 increase -4 ,loopcnt 
+0x5fcd 031567 call uart_tx_4_bytes ,positive 
+0x5fce 031568 rtn zero 
+0x5fcf 031569 branch uart_copy_tx_bytes_fast_loop_four ,positive 
+0x5fd0 031570 increase 4 ,loopcnt 
+0x5fd1 031571 branch uart_copy_tx_bytes 
+:      031573 uart_tx_16_bytes:
+0x5fd2 031574 call uart_tx_8_bytes 
+:      031575 uart_tx_8_bytes:
+0x5fd3 031576 ifetch 8 ,contr 
+0x5fd4 031577 istore 8 ,contu 
+0x5fd5 031578 rtn 
+:      031580 uart_tx_4_bytes:
+0x5fd6 031581 ifetch 4 ,contr 
+0x5fd7 031582 istore 4 ,contu 
+0x5fd8 031583 rtn 
+:      031585 uart_copy_tx_bytes:
+0x5fd9 031586 deposit loopcnt 
+0x5fda 031587 rtn blank 
+:      031588 uart_copy_tx_bytes_loop:
+0x5fdb 031589 ifetch 1 ,contr 
+0x5fdc 031590 istore 1 ,contu 
+0x5fdd 031591 loop uart_copy_tx_bytes_loop 
+0x5fde 031592 rtn 
+:      031594 uart_copy_rx_bytes_fast:
+0x5fdf 031595 deposit loopcnt 
+0x5fe0 031596 rtn blank 
+:      031597 uart_copy_rx_bytes_fast_loop:
+0x5fe1 031598 increase -8 ,loopcnt 
+0x5fe2 031599 call uart_rx_8_bytes ,positive 
+0x5fe3 031600 rtn zero 
+0x5fe4 031601 branch uart_copy_rx_bytes_fast_loop ,positive 
+0x5fe5 031602 increase 8 ,loopcnt 
+:      031603 uart_copy_rx_bytes_fast_loop_four:
+0x5fe6 031604 increase -4 ,loopcnt 
+0x5fe7 031605 call uart_rx_4_bytes ,positive 
+0x5fe8 031606 rtn zero 
+0x5fe9 031607 branch uart_copy_rx_bytes_fast_loop_four ,positive 
+0x5fea 031608 increase 4 ,loopcnt 
+0x5feb 031609 branch uart_copy_rx_bytes 
+:      031611 uart_rx_16_bytes:
+0x5fec 031612 call uart_rx_8_bytes 
+:      031613 uart_rx_8_bytes:
+0x5fed 031614 ifetch 8 ,contu 
+0x5fee 031615 istore 8 ,contw 
+0x5fef 031616 rtn 
+:      031618 uart_rx_4_bytes:
+0x5ff0 031619 ifetch 4 ,contu 
+0x5ff1 031620 istore 4 ,contw 
+0x5ff2 031621 rtn 
+:      031624 uart_copy_rx_bytes:
+0x5ff3 031625 deposit loopcnt 
+0x5ff4 031626 rtn blank 
+:      031627 uart_copy_rx_bytes_loop:
+0x5ff5 031628 ifetch 1 ,contu 
+0x5ff6 031629 istore 1 ,contw 
+0x5ff7 031630 loop uart_copy_rx_bytes_loop 
+0x5ff8 031631 rtn 
+:      031636 app_store_nvram_event:
+0x5ff9 031637 jam bt_evt_store_nvram ,mem_fifo_temp 
+0x5ffa 031638 branch ui_ipc_send_event 
+:      031640 check_51cmd_store_reconn_info:
+:      031641 check_51cmd_update_device_record:
+0x5ffb 031642 bpatchx patch25_3 ,mem_patch25 
+0x5ffc 031643 fetch 1 ,mem_nv_data_number 
+0x5ffd 031644 rtn blank 
+0x5ffe 031645 call check_nvram 
+0x5fff 031646 call init_device_list ,zero 
+0x6000 031647 call disable_user2 
+0x6001 031648 call nvram_find_addr_from_bd_list 
+:      031649 write_device_record:
+0x6002 031650 fetch 1 ,mem_nv_data_number 
+0x6003 031651 icopy regc 
+0x6004 031652 fetcht 2 ,mem_nv_data_ptr 
+0x6005 031653 storet 2 ,mem_list_item_ptr 
+:      031654 write_device_loop_find:
+0x6006 031655 copy regc ,pdata 
+0x6007 031656 branch app_store_nvram_event ,blank 
+0x6008 031657 increase -1 ,regc 
+0x6009 031658 copy temp ,rega 
+0x600a 031659 ifetch 1 ,rega 
+0x600b 031660 fetcht 1 ,mem_select_list_item 
+0x600c 031661 isub temp ,null 
+0x600d 031662 call set_index_finded_device ,zero 
+0x600e 031663 branch write_device_loop_find0 ,positive 
+0x600f 031664 ifetch 1 ,rega 
+0x6010 031665 increase 1 ,pdata 
+0x6011 031666 istore 1 ,rega 
+:      031667 write_device_loop_find0:
+0x6012 031668 fetcht 2 ,mem_list_item_ptr 
+0x6013 031669 increase nv_data_len ,temp 
+0x6014 031670 storet 2 ,mem_list_item_ptr 
+0x6015 031671 branch write_device_loop_find 
+:      031673 set_index_finded_device:
+0x6016 031674 setarg 0 
+0x6017 031675 istore 1 ,rega 
+0x6018 031676 fetch 1 ,mem_temp_reconn_record 
+0x6019 031677 istore 1 ,contw 
+0x601a 031678 bne rec_3_mode ,set_index_finded_device_ble_mode 
+0x601b 031679 arg mem_link_key ,regb 
+:      031680 set_index_find_device_master_addr:
+0x601c 031681 ifetch 6 ,contr 
+0x601d 031682 istore 8 ,contw 
+0x601e 031683 setarg 0 
+0x601f 031684 istore 8 ,contw 
+0x6020 031685 copy regb ,contr 
+:      031686 store_rec_data_common:
+0x6021 031687 call memcpy16 
+0x6022 031688 force 1 ,null 
+0x6023 031689 rtn 
+:      031691 set_index_finded_device_ble_mode:
+0x6024 031692 beq rec_4_mode_random_resolvable_private_address ,set_index_finded_device_irk 
+0x6025 031693 beq rec_4_mode_random_non_resolvable_private_address ,set_index_finded_device_ediv 
+0x6026 031694 arg mem_le_ltk ,regb 
+0x6027 031695 branch set_index_find_device_master_addr 
+:      031697 set_index_finded_device_irk:
+0x6028 031698 arg mem_le_irk ,contr 
+0x6029 031699 call memcpy16 
+:      031700 store_ble_rec_data_common:
+0x602a 031701 arg mem_le_ltk ,contr 
+0x602b 031702 branch store_rec_data_common 
+:      031704 set_index_finded_device_ediv:
+0x602c 031705 arg mem_le_rand ,contr 
+0x602d 031706 call memcpy16 
+0x602e 031707 branch store_ble_rec_data_common 
+:      031712 nvram_find_addr_from_bd_list:
+0x602f 031713 call disable_user 
+0x6030 031714 fetch 1 ,mem_nv_data_number 
+0x6031 031715 rtn blank 
+0x6032 031716 bpatchx patch25_4 ,mem_patch25 
+0x6033 031717 fetch 2 ,mem_ui_state_map 
+0x6034 031718 bbit1 ui_state_bt_connected ,find_addr_from_bd_list_spp_mode 
+0x6035 031719 rtnbit0 ui_state_ble_connected 
+:      031720 find_addr_from_bd_list_ble_mode:
+0x6036 031721 fetch 1 ,mem_le_conn_peer_addr_type 
+0x6037 031722 beq master_public_addr ,find_addr_from_bd_list_public_device_addr 
+0x6038 031723 fetch 1 ,mem_le_plap + 5 
+0x6039 031724 compare 0xc0 ,pdata ,0xc0 
+0x603a 031725 branch find_addr_from_bd_list_static_addr ,true 
+0x603b 031726 compare 0x40 ,pdata ,0xc0 
+0x603c 031727 branch find_addr_from_bd_list_random_addr ,true 
+0x603d 031728 branch find_addr_from_bd_list_random_non_resolvable_private_address_sc_or_legacy 
+:      031730 find_addr_from_bd_list_static_addr:
+0x603e 031731 branch find_addr_from_bd_list_static_addr_reconnect ,user2 
+0x603f 031732 fetch 1 ,mem_le_preq_init_key_distribution 
+0x6040 031733 bbit0 le_initator_irk_bit ,find_addr_from_bd_list_public_device_addr 
+0x6041 031734 branch find_addr_from_bd_list_static_addr_sc_or_legacy 
+:      031736 find_addr_from_bd_list_static_addr_reconnect:
+0x6042 031737 call find_addr_from_bd_list_public_device_addr 
+0x6043 031738 rtn user 
+0x6044 031739 branch find_addr_from_bd_list_static_addr_sc_or_legacy 
+:      031742 find_addr_from_bd_list_static_addr_sc_or_legacy:
+:      031743 find_addr_from_bd_list_random_non_resolvable_private_address_sc_or_legacy:
+0x6045 031744 fetch 1 ,mem_le_pairing_mode 
+0x6046 031745 bbit1 le_pairing_mode_secure_connect_bit ,find_addr_from_bd_list_random_non_resolvable_private_address_sc 
+0x6047 031746 branch find_addr_from_bd_list_random_non_resolvable_private_address 
+:      031748 find_addr_from_bd_list_static_addr_sc:
+:      031749 find_addr_from_bd_list_random_non_resolvable_private_address_sc:
+0x6048 031750 fetch 6 ,mem_le_plap 
+0x6049 031751 store 8 ,mem_le_rand 
+0x604a 031752 branch find_addr_from_bd_list_random_non_resolvable_private_address 
+:      031755 find_addr_from_bd_list_public_device_addr:
+0x604b 031756 jam rec_4_mode_static_address ,mem_temp_reconn_record 
+0x604c 031757 fetch 6 ,mem_le_plap 
+0x604d 031758 branch find_addr_from_bd_list_common 
+:      031760 find_addr_from_bd_list_random_non_resolvable_private_address:
+0x604e 031761 jam rec_4_mode_random_non_resolvable_private_address ,mem_temp_reconn_record 
+0x604f 031762 branch find_addr_from_bd_list_common 
+:      031765 find_addr_from_bd_list_random_addr:
+0x6050 031766 jam rec_4_mode_random_resolvable_private_address ,mem_temp_reconn_record 
+0x6051 031767 branch find_addr_from_bd_list_common 
+:      031770 find_addr_from_bd_list_spp_mode:
+0x6052 031771 jam rec_3_mode ,mem_temp_reconn_record 
+0x6053 031772 fetch 6 ,mem_plap 
+:      031773 find_addr_from_bd_list_common:
+0x6054 031774 store 6 ,mem_temp_lap 
+0x6055 031775 fetch 2 ,mem_nv_data_ptr 
+0x6056 031776 ifetcht 1 ,pdata 
+0x6057 031777 pincrease 1 
+0x6058 031778 store 2 ,mem_list_item_ptr 
+0x6059 031779 storet 1 ,mem_select_list_item 
+0x605a 031780 fetch 1 ,mem_nv_data_number 
+0x605b 031781 icopy regc 
+:      031782 nvram_find_addr_from_list:
+0x605c 031783 fetch 2 ,mem_list_item_ptr 
+0x605d 031784 copy pdata ,rega 
+0x605e 031785 call nvram_find_addr_from_list_compare 
+0x605f 031786 rtn user 
+0x6060 031787 fetcht 2 ,mem_list_item_ptr 
+0x6061 031788 increase nv_data_len ,temp 
+0x6062 031789 storet 2 ,mem_list_item_ptr 
+0x6063 031790 increase -1 ,temp 
+0x6064 031791 ifetch 1 ,temp 
+0x6065 031792 store 1 ,mem_select_list_item 
+0x6066 031793 increase -1 ,regc 
+0x6067 031794 nbranch nvram_find_addr_from_list ,zero 
+0x6068 031795 fetch 1 ,mem_nv_data_number 
+0x6069 031796 pincrease decreased_one 
+0x606a 031797 store 1 ,mem_select_list_item 
+0x606b 031798 rtn 
+:      031799 nvram_find_addr_from_list_compare:
+0x606c 031800 fetch 1 ,mem_temp_reconn_record 
+0x606d 031801 bne rec_3_mode ,find_addr_from_list_compare_ble_mode 
+:      031802 find_master_addr_from_list_compare:
+0x606e 031803 arg mem_temp_reconn_record ,regb 
+0x606f 031804 arg 7 ,loopcnt 
+0x6070 031805 call string_compare 
+0x6071 031806 branch enable_user ,zero 
+0x6072 031807 rtn 
+:      031809 find_addr_from_list_compare_ble_mode:
+0x6073 031810 beq rec_4_mode_random_resolvable_private_address ,find_irk_form_list_compare 
+0x6074 031811 beq rec_4_mode_random_non_resolvable_private_address ,find_ediv_form_list_compare 
+0x6075 031812 branch find_master_addr_from_list_compare 
+:      031814 find_irk_form_list_compare:
+0x6076 031815 ifetcht 1 ,rega 
+0x6077 031816 isub temp ,null 
+0x6078 031817 nrtn zero 
+0x6079 031818 arg mem_le_prand ,contw 
+0x607a 031819 arg 16 ,loopcnt 
+0x607b 031820 call clear_mem 
+0x607c 031821 fetch 3 ,mem_le_plap + 3 
+0x607d 031822 store 3 ,mem_le_prand 
+0x607e 031823 call genernate_master_macaddress 
+0x607f 031824 fetch 2 ,mem_le_aes_128 + 13 
+0x6080 031825 byteswap pdata ,pdata 
+0x6081 031826 lshift8 pdata ,temp 
+0x6082 031827 ifetch 1 ,contr 
+0x6083 031828 iadd temp ,pdata 
+0x6084 031829 fetcht 3 ,mem_le_plap 
+0x6085 031830 isub temp ,null 
+0x6086 031831 branch enable_user ,zero 
+0x6087 031832 rtn 
+:      031835 genernate_master_macaddress:
+0x6088 031836 arg mem_le_prand ,contr 
+0x6089 031837 call load_data128 
+0x608a 031839 ifetch 1 ,rega 
+0x608b 031840 call load_regext 
+0x608c 031841 force 0x38 ,aes_ctrl 
+0x608d 031842 force 0x0 ,aes_ctrl 
+0x608e 031843 call wait_aes 
+0x608f 031844 arg mem_le_aes_128 ,contw 
+0x6090 031845 branch store_aes_result 
+:      031847 find_ediv_form_list_compare:
+0x6091 031848 ifetcht 1 ,rega 
+0x6092 031849 isub temp ,null 
+0x6093 031850 nrtn zero 
+0x6094 031851 copy contr ,rega 
+0x6095 031852 add contr ,8 ,regc 
+0x6096 031853 arg mem_le_rand ,regb 
+0x6097 031854 arg 8 ,loopcnt 
+0x6098 031855 call string_compare 
+0x6099 031856 branch enable_user ,zero 
+0x609a 031857 copy regc ,rega 
+0x609b 031858 arg mem_le_irk ,regb 
+0x609c 031859 arg 8 ,loopcnt 
+0x609d 031860 call string_compare 
+0x609e 031861 branch enable_user ,zero 
+0x609f 031862 rtn 
+:      031864 check_nvram:
+0x60a0 031865 fetch 2 ,mem_nv_data_ptr 
+0x60a1 031866 ifetcht 1 ,pdata 
+0x60a2 031867 pincrease nv_data_len 
+0x60a3 031868 ifetch 1 ,pdata 
+0x60a4 031869 isub temp ,null 
+0x60a5 031870 rtn 
+:      031872 init_device_list:
+0x60a6 031873 fetch 1 ,mem_nv_data_number 
+0x60a7 031874 icopy loopcnt 
+0x60a8 031875 fetcht 2 ,mem_nv_data_ptr 
+0x60a9 031876 setarg 0 
+:      031877 init_device_list_loop:
+0x60aa 031878 istore 1 ,temp 
+0x60ab 031879 increase nv_data_len ,temp 
+0x60ac 031880 pincrease 1 
+0x60ad 031881 loop init_device_list_loop 
+0x60ae 031882 rtn 
+:      031884 load_device_list:
+0x60af 031885 bpatchx patch25_5 ,mem_patch25 
+0x60b0 031886 call enable_user2 
+0x60b1 031887 call nvram_find_addr_from_bd_list 
+0x60b2 031888 fetch 1 ,mem_state 
+0x60b3 031889 setflag user ,state_combkey ,pdata 
+0x60b4 031890 store 1 ,mem_state 
+0x60b5 031891 nbranch clear_key_exists ,user 
+0x60b6 031892 add rega ,10 ,contr 
+0x60b7 031893 arg mem_link_key ,contw 
+0x60b8 031894 call memcpy16 
+0x60b9 031895 branch check_link_key_load 
+:      031896 clear_key_exists:
+0x60ba 031897 jam 0 ,mem_link_key_exists 
+0x60bb 031898 rtn 
+:      031900 load_device_list_mode_4:
+0x60bc 031903 call enable_user2 
+0x60bd 031904 call nvram_find_addr_from_bd_list 
+0x60be 031905 nbranch clear_ltk_exists ,user 
+0x60bf 031906 fetch 2 ,mem_list_item_ptr 
+0x60c0 031907 add pdata ,1 ,contr 
+0x60c1 031908 arg mem_le_irk ,contw 
+0x60c2 031909 call memcpy16 
+0x60c3 031910 arg mem_le_ltk ,contw 
+0x60c4 031911 call memcpy16 
+0x60c5 031912 jam 1 ,mem_ltk_exists 
+0x60c6 031913 rtn 
+:      031915 clear_ltk_exists:
+0x60c7 031916 jam 0 ,mem_ltk_exists 
+0x60c8 031917 rtn 
+:      031920 eeprom_store_le_reconn_info:
+0x60c9 031921 jam rec_4_mode ,mem_record_bt_mode 
+0x60ca 031922 branch eeprom_store_reconn_info 
+:      031923 eeprom_store_bd_reconn_info:
+0x60cb 031924 jam rec_3_mode ,mem_record_bt_mode 
+:      031925 eeprom_store_reconn_info:
+0x60cc 031926 fetch 1 ,mem_device_option 
+0x60cd 031927 beq dvc_op_module ,check_51cmd_update_device_record 
+0x60ce 031928 beq dvc_op_mouse ,mouse_store_remote_bdaddr 
+0x60cf 031929 rtn 
+:      031932 check_link_key_load:
+0x60d0 031933 fetch 8 ,mem_link_key 
+0x60d1 031934 fetcht 8 ,mem_link_key + 8 
+0x60d2 031935 ior temp ,pdata 
+0x60d3 031936 rtn blank 
+0x60d4 031937 jam 1 ,mem_link_key_exists 
+0x60d5 031938 rtn 
+:      031945 gpio_set_wake_by_current_state:
+0x60d6 031946 bpatchx patch25_6 ,mem_patch25 
+0x60d7 031947 set1 gpio_active_bit ,temp 
+0x60d8 031948 call gpio_get_bit 
+0x60d9 031949 nsetflag true ,gpio_active_bit ,temp 
+:      031952 gpio_set_wake:
+0x60da 031953 bpatchx patch25_7 ,mem_patch25 
+0x60db 031954 sub temp ,ui_button_gpio_disable ,null 
+0x60dc 031955 rtn zero 
+0x60dd 031956 isolate0 gpio_active_bit ,temp 
+0x60de 031957 and temp ,0x1f ,queue 
+0x60df 031958 fetch 4 ,mem_gpio_wakeup_low 
+0x60e0 031959 qsetflag true ,pdata 
+0x60e1 031960 store 4 ,mem_gpio_wakeup_low 
+0x60e2 031961 fetch 4 ,mem_gpio_wakeup_high 
+0x60e3 031962 nqsetflag true ,pdata 
+0x60e4 031963 store 4 ,mem_gpio_wakeup_high 
+0x60e5 031964 rtn 
+:      031967 gpio_clr_wake:
+0x60e6 031968 bpatchx patch26_0 ,mem_patch26 
+0x60e7 031969 sub temp ,ui_button_gpio_disable ,null 
+0x60e8 031970 rtn zero 
+0x60e9 031971 isolate0 gpio_active_bit ,temp 
+0x60ea 031972 and temp ,0x1f ,queue 
+0x60eb 031973 fetch 4 ,mem_gpio_wakeup_low 
+0x60ec 031974 qset0 pdata 
+0x60ed 031975 store 4 ,mem_gpio_wakeup_low 
+0x60ee 031976 fetch 4 ,mem_gpio_wakeup_high 
+0x60ef 031977 qset0 pdata 
+0x60f0 031978 store 4 ,mem_gpio_wakeup_high 
+0x60f1 031979 rtn 
+:      031981 gpio_config_input_nowake:
+0x60f2 031982 call gpio_clr_wake 
+0x60f3 031983 branch gpio_config_input_without_wake 
+:      031986 gpio_config_input:
+0x60f4 031987 sub temp ,ui_button_gpio_disable ,null 
+0x60f5 031988 rtn zero 
+0x60f6 031989 ncall gpio_set_wake ,wake 
+:      031990 gpio_config_input_without_wake:
+0x60f7 031991 call gpio_addr 
+0x60f8 031992 setarg 0 
+0x60f9 031993 isolate1 gpio_active_bit ,temp 
+0x60fa 031994 nsetflag true ,6 ,pdata 
+0x60fb 031995 setflag true ,7 ,pdata 
+0x60fc 031996 branch gpio_write 
+:      031999 gpio_get_bit:
+0x60fd 032000 arg core_gpio_in ,contw 
+0x60fe 032001 and temp ,0x07 ,queue 
+0x60ff 032002 rshift3 temp ,pdata 
+0x6100 032003 and_into 3 ,pdata 
+0x6101 032004 iadd contw ,contw 
+0x6102 032005 ifetch 1 ,contw 
+0x6103 032006 isolate1 gpio_active_bit ,temp 
+0x6104 032007 branch gpio_get_bit_reverse ,true 
+0x6105 032008 qisolate0 pdata 
+0x6106 032009 rtn 
+:      032010 gpio_get_bit_reverse:
+0x6107 032011 qisolate1 pdata 
+0x6108 032012 rtn 
+:      032015 gpio_out_inactive:
+0x6109 032016 sub temp ,ui_button_gpio_disable ,null 
+0x610a 032017 rtn zero 
+0x610b 032018 isolate1 gpio_active_bit ,null 
+0x610c 032019 branch gpio_out_flag 
+:      032021 gpio_config_output:
+:      032022 gpio_out_active:
+0x610d 032023 sub temp ,ui_button_gpio_disable ,null 
+0x610e 032024 rtn zero 
+0x610f 032025 isolate0 gpio_active_bit ,null 
+:      032028 gpio_out_flag:
+0x6110 032029 setarg 0 
+0x6111 032030 nsetflag true ,gpio_active_bit ,pdata 
+0x6112 032031 ixor temp ,temp 
+:      032034 gpio_out:
+0x6113 032035 call gpio_addr 
+0x6114 032036 setarg gpcfg_output_high 
+0x6115 032037 isolate1 gpio_active_bit ,temp 
+0x6116 032038 setflag true ,0 ,pdata 
+0x6117 032039 branch gpio_write 
+:      032042 gpio_check_active:
+0x6118 032043 call gpio_addr 
+0x6119 032044 ifetch 1 ,contw 
+0x611a 032045 bbit1 0 ,gpio_check_active_high 
+0x611b 032046 isolate0 gpio_active_bit ,temp 
+0x611c 032047 rtn 
+:      032048 gpio_check_active_high:
+0x611d 032049 isolate1 gpio_active_bit ,temp 
+0x611e 032050 rtn 
+:      032055 gpio_write:
+0x611f 032056 istore 1 ,contw 
+0x6120 032057 rtn 
+:      032059 gpio_set_high_impedance:
+0x6121 032060 call gpio_addr 
+0x6122 032061 setarg gpcfg_high_impedance 
+0x6123 032062 branch gpio_write 
+:      032064 gpio_addr:
+0x6124 032065 and temp ,0x3f ,pdata 
+0x6125 032066 arg core_gpio_conf ,contw 
+0x6126 032067 iadd contw ,contw 
+0x6127 032068 rtn 
+:      032070 gpio_config_param:
+0x6128 032071 and pdata ,0xff ,temp 
+0x6129 032072 rshift8 pdata ,pdata 
+0x612a 032073 branch gpio_config_function_int 
+:      032076 gpio_config_function:
+0x612b 032077 rtnbit0 gpio_active_bit 
+:      032078 gpio_config_function_int:
+0x612c 032079 and_into 0x3f ,pdata 
+0x612d 032080 arg core_gpio_conf ,contw 
+0x612e 032081 iadd contw ,contw 
+0x612f 032082 istoret 1 ,contw 
+0x6130 032083 rtn 
+:      032086 gpio_get_config:
+0x6131 032087 and_into 0x3f ,temp 
+0x6132 032088 setarg core_gpio_conf 
+0x6133 032089 iadd temp ,contr 
+0x6134 032090 ifetch 1 ,contr 
+0x6135 032091 rtn 
+:      032095 gpio_set_before_lpm:
+0x6136 032096 arg 20 ,loopcnt 
+0x6137 032097 arg core_gpio_conf ,contr 
+:      032098 setgpio_loop:
+0x6138 032099 copy contr ,contw 
+0x6139 032100 ifetch 1 ,contr 
+0x613a 032101 beq gpcfg_qspi_ncs ,setgpio_pullup 
+0x613b 032102 beq gpcfg_qspi_sck ,setgpio_pullup 
+0x613c 032103 beq gpcfg_qspi_io0 ,setgpio_pullup 
+0x613d 032104 beq gpcfg_qspi_io1 ,setgpio_pullup 
+0x613e 032105 beq gpcfg_qspi_io2 ,setgpio_pullup 
+0x613f 032106 beq gpcfg_qspi_io3 ,setgpio_pullup 
+0x6140 032107 beq gpcfg_spid_miso ,setgpio_pullup 
+0x6141 032108 beq gpcfg_spid_ncs ,setgpio_pullup 
+0x6142 032109 beq gpcfg_spid_sck ,setgpio_pullup 
+0x6143 032110 beq gpcfg_spid_mosi ,setgpio_pullup 
+0x6144 032111 beq gpcfg_spid_sdio ,setgpio_pullup 
+0x6145 032112 beq gpcfg_iic_scl ,setgpio_pullup 
+0x6146 032113 beq gpcfg_iic_sda ,setgpio_pullup 
+0x6147 032114 beq gpcfg_input ,setgpio_pullup 
+:      032115 setgpio_loop_end:
+0x6148 032116 loop setgpio_loop 
+0x6149 032117 rtn 
+:      032118 setgpio_pullup:
+0x614a 032119 setarg gpcfg_pullup 
+0x614b 032120 istore 1 ,contw 
+0x614c 032121 branch setgpio_loop_end 
+:      032122 setgpio_pulldown:
+0x614d 032123 setarg gpcfg_pulldown 
+0x614e 032124 istore 1 ,contw 
+0x614f 032125 branch setgpio_loop_end 
+:      032131 adc_init_data:
+0x6150 032132 bpatchx patch26_1 ,mem_patch26 
+:      032133 adc_init_cal_data:
+0x6151 032134 fetch 8 ,mem_tmp_buffer + efuse_offset_adc 
+0x6152 032135 branch adc_init_cal_data_default ,blank 
+0x6153 032136 arg mem_tmp_buffer + efuse_offset_adc ,contr 
+0x6154 032137 arg mem_3v_adc_io_data ,contw 
+0x6155 032138 arg 3 ,loopcnt 
+:      032139 adc_init_cal_data_loop:
+0x6156 032140 ifetch 3 ,contr 
+0x6157 032141 lshift4 pdata ,temp 
+0x6158 032142 istoret 2 ,contw 
+0x6159 032143 rshift8 pdata ,temp 
+0x615a 032144 istoret 2 ,contw 
+0x615b 032145 loop adc_init_cal_data_loop 
+0x615c 032146 rtn 
+:      032148 adc_init_cal_data_default:
+0x615d 032149 setarg 0x469a 
+0x615e 032150 store 2 ,mem_3v_adc_io_data 
+0x615f 032151 setarg 0xab77 
+0x6160 032152 store 2 ,mem_1v_adc_io_data 
+0x6161 032153 setarg 0x73d0 
+0x6162 032154 store 2 ,mem_3v_adc_vinlpm_data 
+0x6163 032155 setarg 0x9658 
+0x6164 032156 store 2 ,mem_2v_adc_vinlpm_data 
+0x6165 032157 rtn 
+:      032159 enable_adc:
+0x6166 032160 bpatchx patch26_2 ,mem_patch26 
+0x6167 032161 fetchr regb ,1 ,core_rf_ldo_cfg6 
+0x6168 032162 jam 0x3d ,core_rf_ldo_cfg6 
+0x6169 032163 jam 0xaa ,core_rf_ldo_cfg5 
+0x616a 032164 jam 0x0c ,core_rf_ldo_en0 
+0x616b 032165 fetch 1 ,core_clkpll_cfg6 
+0x616c 032166 set1 7 ,pdata 
+0x616d 032167 store 1 ,core_clkpll_cfg6 
+0x616e 032168 jam 0x04 ,core_rf_ldo_en1 
+0x616f 032169 nop 60 
+0x6170 032170 jam 0 ,core_syn_en 
+0x6171 032171 jam 6 ,core_rx_en0 
+0x6172 032172 call read_adc_mode 
+0x6173 032173 store 1 ,core_gpadc_ctrl 
+0x6174 032174 jam 0x03 ,core_sum_ctrl 
+0x6175 032175 nop 60 
+0x6176 032176 fetch 1 ,core_sum_en 
+0x6177 032177 set1 7 ,pdata 
+0x6178 032178 store 1 ,core_sum_en 
+0x6179 032179 nop 1000 
+0x617a 032180 fetch 2 ,core_adc_sum 
+0x617b 032181 store 2 ,mem_adc_current_value 
+0x617c 032182 fetch 1 ,core_sum_en 
+0x617d 032183 set0 7 ,pdata 
+0x617e 032184 store 1 ,core_sum_en 
+0x617f 032185 jam 0 ,core_gpadc_ctrl 
+0x6180 032186 storer regb ,1 ,core_rf_ldo_cfg6 
+0x6181 032187 rtn 
+:      032190 read_adc_mode:
+0x6182 032191 fetch 1 ,mem_adc_config_flag 
+0x6183 032192 beq adc_config_vinlpm ,adc_mode_vdcdc 
+0x6184 032193 beq adc_config_hvin ,adc_adc_mode_vbat 
+:      032195 adc_check_gpio:
+0x6185 032196 fetch 1 ,mem_adc_channel 
+0x6186 032197 lshift3 pdata ,pdata 
+0x6187 032198 or pdata ,7 ,pdata 
+0x6188 032199 rtn 
+:      032201 adc_mode_vdcdc:
+0x6189 032202 setarg 0x57 
+0x618a 032203 rtn 
+:      032205 adc_adc_mode_vbat:
+0x618b 032206 setarg 0x4f 
+0x618c 032207 rtn 
+:      032209 vdd_calculate_by_mode:
+0x618d 032210 bpatchx patch26_3 ,mem_patch26 
+0x618e 032211 fetch 1 ,mem_adc_config_flag 
+0x618f 032212 beq adc_config_vinlpm ,vdd_calculate_vinlpm 
+0x6190 032213 beq adc_config_hvin ,vdd_calculate_hvin 
+0x6191 032214 beq adc_config_gpio ,vdd_calculate_io 
+0x6192 032215 rtn 
+:      032217 vdd_calculate_vinlpm:
+0x6193 032218 setarg 100 
+0x6194 032219 store 2 ,mem_reference_voltage 
+0x6195 032220 fetcht 2 ,mem_3v_adc_vinlpm_data 
+0x6196 032221 fetch 2 ,mem_2v_adc_vinlpm_data 
+0x6197 032222 arg 300 ,regc 
+0x6198 032223 branch vdd_calculate 
+:      032225 vdd_calculate_hvin:
+0x6199 032226 setarg 100 
+0x619a 032227 store 2 ,mem_reference_voltage 
+0x619b 032228 fetcht 2 ,mem_3v_adc_hvin_data 
+0x619c 032229 fetch 2 ,mem_2v_adc_hvin_data 
+0x619d 032230 arg 300 ,regc 
+0x619e 032231 branch vdd_calculate 
+:      032233 vdd_calculate_io:
+0x619f 032234 setarg 200 
+0x61a0 032235 store 2 ,mem_reference_voltage 
+0x61a1 032236 fetcht 2 ,mem_3v_adc_io_data 
+0x61a2 032237 fetch 2 ,mem_1v_adc_io_data 
+0x61a3 032238 arg 300 ,regc 
+:      032240 vdd_calculate:
+0x61a4 032241 isub temp ,rega 
+0x61a5 032242 fetch 2 ,mem_adc_current_value 
+0x61a6 032243 isub temp ,pdata 
+0x61a7 032244 nbranch vdd_calculate1 ,positive 
+0x61a8 032245 fetcht 2 ,mem_reference_voltage 
+0x61a9 032246 imul32 temp ,regb 
+0x61aa 032247 copy regc ,pdata 
+0x61ab 032248 imul32 rega ,pdata 
+0x61ac 032249 isub regb ,pdata 
+:      032250 vdd_calculate2:
+0x61ad 032251 idiv rega 
+0x61ae 032252 call wait_div_end 
+0x61af 032253 quotient pdata 
+0x61b0 032254 rtn 
+:      032256 vdd_calculate1:
+0x61b1 032257 copy temp ,pdata 
+0x61b2 032258 fetcht 2 ,mem_adc_current_value 
+0x61b3 032259 isub temp ,pdata 
+0x61b4 032260 fetcht 2 ,mem_reference_voltage 
+0x61b5 032261 imul32 temp ,regb 
+0x61b6 032262 copy regc ,pdata 
+0x61b7 032263 imul32 rega ,pdata 
+0x61b8 032264 iadd regb ,pdata 
+0x61b9 032265 branch vdd_calculate2 
+:      032269 adc_bat_percent_lowpower_out:
+0x61ba 032270 ifetch 8 ,rega 
+0x61bb 032271 store 8 ,mem_pdatatemp 
+0x61bc 032272 fetch 2 ,mem_pdatatemp 
+0x61bd 032273 fetcht 2 ,mem_pdatatemp + 2 
+0x61be 032274 isub temp ,rega 
+0x61bf 032275 fetch 2 ,mem_pdatatemp + 6 
+0x61c0 032276 isub temp ,regb 
+0x61c1 032277 fetcht 2 ,mem_pdatatemp + 4 
+0x61c2 032278 isub temp ,null 
+0x61c3 032279 ncall adc_set_low_power_flag ,positive 
+0x61c4 032280 mul32 regb ,100 ,pdata 
+0x61c5 032281 idiv rega 
+0x61c6 032282 call wait_div_end 
+0x61c7 032283 quotient pdata 
+0x61c8 032284 call adc_set_no_power_flag ,blank 
+0x61c9 032285 rtn 
+:      032286 adc_set_low_power_flag:
+0x61ca 032287 fetch 1 ,mem_adc_power_flag 
+0x61cb 032288 set1 0 ,pdata 
+0x61cc 032289 store 1 ,mem_adc_power_flag 
+0x61cd 032290 rtn 
+:      032292 adc_clear_low_power_flag:
+0x61ce 032293 fetch 1 ,mem_adc_power_flag 
+0x61cf 032294 set0 0 ,pdata 
+0x61d0 032295 store 1 ,mem_adc_power_flag 
+0x61d1 032296 rtn 
+:      032298 adc_set_no_power_flag:
+0x61d2 032299 fetcht 1 ,mem_adc_power_flag 
+0x61d3 032300 set1 1 ,temp 
+0x61d4 032301 storet 1 ,mem_adc_power_flag 
+0x61d5 032302 rtn 
+:      032304 adc_clear_no_power_flag:
+0x61d6 032305 fetcht 1 ,mem_adc_power_flag 
+0x61d7 032306 set0 1 ,temp 
+0x61d8 032307 storet 1 ,mem_adc_power_flag 
+0x61d9 032308 rtn 
+:      032313 keyscan_key_init:
+0x61da 032314 fetch 2 ,mem_key_num_ptr 
+0x61db 032315 ifetch 1 ,pdata 
+:      032316 keyscan_key_init_next:
+0x61dc 032317 rtn blank 
+0x61dd 032318 copy pdata ,loopcnt 
+0x61de 032320 fetch 2 ,mem_keyscan_ptr 
+0x61df 032321 increase 3 ,pdata 
+0x61e0 032322 copy pdata ,rega 
+:      032323 keyscan_key_init_lp1:
+0x61e1 032324 ifetcht 1 ,rega 
+0x61e2 032325 call gpio_config_input 
+0x61e3 032326 increase key_conf_struct_len ,rega 
+0x61e4 032327 loop keyscan_key_init_lp1 
+:      032328 keyscan_key_init_end:
+0x61e5 032329 rtn 
+:      032331 keyscan_scan_key:
+0x61e6 032332 fetch 2 ,mem_keyscan_ptr 
+0x61e7 032333 increase 3 ,pdata 
+0x61e8 032334 copy pdata ,rega 
+0x61e9 032336 force 0 ,regb 
+0x61ea 032337 setarg 0 
+0x61eb 032338 store 2 ,mem_key_value_temp 
+:      032339 keyscan_scan_key_lp1:
+0x61ec 032340 ifetcht 1 ,rega 
+0x61ed 032341 call gpio_get_bit 
+0x61ee 032342 bpatchx patch26_4 ,mem_patch26 
+0x61ef 032343 fetch 2 ,mem_key_value_temp 
+0x61f0 032344 copy regb ,queue 
+0x61f1 032345 qsetflag true ,pdata 
+0x61f2 032346 store 2 ,mem_key_value_temp 
+0x61f3 032347 increase key_conf_struct_len ,rega 
+0x61f4 032348 increase 1 ,regb 
+0x61f5 032349 fetch 2 ,mem_key_num_ptr 
+0x61f6 032350 ifetch 1 ,pdata 
+:      032351 keyscan_scan_key_lp1_next:
+0x61f7 032352 ixor regb ,null 
+0x61f8 032353 nbranch keyscan_scan_key_lp1 ,zero 
+0x61f9 032354 fetch 2 ,mem_key_value_temp 
+0x61fa 032355 fetcht 2 ,mem_key_value_retention 
+0x61fb 032356 ixor temp ,null 
+0x61fc 032357 rtn zero 
+0x61fd 032358 enable user 
+0x61fe 032359 rtn 
+:      032361 keyscan_process_lpm_before:
+0x61ff 032362 fetch 2 ,mem_key_num_ptr 
+0x6200 032363 ifetch 1 ,pdata 
+:      032364 keyscan_process_lpm_before_next:
+0x6201 032365 rtn blank 
+0x6202 032366 copy pdata ,loopcnt 
+0x6203 032367 fetch 2 ,mem_keyscan_ptr 
+0x6204 032368 increase 3 ,pdata 
+0x6205 032369 copy pdata ,rega 
+:      032370 keyscan_process_lpm_before_lp1:
+0x6206 032371 ifetcht 1 ,rega 
+0x6207 032372 call gpio_set_wake_by_current_state 
+0x6208 032373 increase key_conf_struct_len ,rega 
+0x6209 032374 loop keyscan_process_lpm_before_lp1 
+:      032375 keyscan_process_lpm_before_end:
+0x620a 032376 rtn 
+:      032378 keyscan_key_process:
+0x620b 032379 arg key_scan_timer ,queue 
+0x620c 032380 call timer_check 
+0x620d 032381 nrtn blank 
+0x620e 032382 setarg 0x20 
+0x620f 032383 arg key_scan_timer ,queue 
+0x6210 032384 call timer_init 
+0x6211 032385 disable user 
+0x6212 032386 call keyscan_process_lpm_before 
+0x6213 032387 bpatchx patch26_5 ,mem_patch26 
+0x6214 032388 fetch 2 ,mem_key_num_ptr 
+0x6215 032389 ifetch 1 ,pdata 
+:      032390 keyscan_key_process_next:
+0x6216 032391 rtn blank 
+0x6217 032392 call keyscan_scan_key 
+0x6218 032393 nbranch lpm_button_clean_wake_lock ,user 
+0x6219 032394 call lpm_button_get_wake_lock 
+0x621a 032395 disable user 
+0x621b 032396 fetch 2 ,mem_key_value_temp 
+0x621c 032397 store 2 ,mem_key_value_temp4 
+0x621d 032398 jam 0 ,mem_key_value_temp6 
+0x621e 032399 force 0 ,queue 
+:      032400 keyscan_key_lp1:
+0x621f 032401 fetch 2 ,mem_key_value_retention 
+0x6220 032402 rshift pdata ,temp 
+0x6221 032403 storet 2 ,mem_key_value_retention 
+0x6222 032404 and pdata ,0x01 ,pdata 
+0x6223 032405 fetcht 2 ,mem_key_value_temp4 
+0x6224 032406 and temp ,0x01 ,rega 
+0x6225 032407 rshift temp ,temp 
+0x6226 032408 storet 2 ,mem_key_value_temp4 
+0x6227 032409 ixor rega ,null 
+0x6228 032410 ncall keyscan_send_key_data ,zero 
+0x6229 032411 fetch 2 ,mem_key_num_ptr 
+0x622a 032412 ifetch 1 ,pdata 
+:      032413 keyscan_key_lp1_next:
+0x622b 032414 fetcht 1 ,mem_key_value_temp6 
+0x622c 032415 increase 1 ,temp 
+0x622d 032416 storet 1 ,mem_key_value_temp6 
+0x622e 032417 copy temp ,queue 
+0x622f 032418 ixor queue ,null 
+0x6230 032419 nbranch keyscan_key_lp1 ,zero 
+0x6231 032420 fetch 2 ,mem_key_value_temp 
+0x6232 032421 store 2 ,mem_key_value_retention 
+0x6233 032422 rtn 
+:      032423 keyscan_send_key_data:
+0x6234 032424 bpatchx patch26_6 ,mem_patch26 
+0x6235 032425 fetch 2 ,mem_keyscan_ptr 
+0x6236 032426 increase 1 ,pdata 
+0x6237 032427 ifetch 2 ,pdata 
+0x6238 032428 branch callback_func 
+:      032434 pwm_init:
+0x6239 032435 fetch 1 ,core_clksel 
+0x623a 032436 ior rega ,pdata 
+0x623b 032437 store 1 ,core_clksel 
+0x623c 032438 fetch 2 ,core_clkoff 
+0x623d 032439 set0 clock_off_pwm ,pdata 
+0x623e 032440 store 2 ,core_clkoff 
+:      032441 delay_nop100:
+0x623f 032442 nop 100 
+0x6240 032443 rtn 
+:      032445 pwm_clk_set:
+0x6241 032446 fetch 1 ,core_clksel 
+0x6242 032447 bbit1 6 ,pwm_24m_clk_set 
+0x6243 032448 bbit1 7 ,pwm_33k_clk_set 
+:      032449 pwm_12m_clk_set:
+0x6244 032450 setarg pwm_12mhz 
+0x6245 032451 rtn 
+:      032452 pwm_24m_clk_set:
+0x6246 032453 setarg pwm_24mhz 
+0x6247 032454 rtn 
+:      032455 pwm_33k_clk_set:
+0x6248 032456 setarg pwm_33khz 
+0x6249 032457 rtn 
+:      032458 pwm_cont_set:
+0x624a 032459 fetch 1 ,mem_pdatatemp + 1 
+0x624b 032460 bbit1 4 ,pwm_cont_set1 
+0x624c 032461 bbit0 4 ,pwm_cont_set0 
+0x624d 032462 rtn 
+:      032463 pwm_cont_set1:
+0x624e 032464 enable user 
+0x624f 032465 and pdata ,0x0f ,queue 
+0x6250 032466 call pwm_set_value 
+0x6251 032467 quotient regb 
+0x6252 032468 copy temp ,pdata 
+0x6253 032469 isub regb ,rega 
+0x6254 032470 rtn 
+:      032472 pwm_cont_set0:
+0x6255 032473 disable user 
+0x6256 032474 and pdata ,0x0f ,queue 
+0x6257 032475 call pwm_set_value 
+0x6258 032476 quotient rega 
+0x6259 032477 copy temp ,pdata 
+0x625a 032478 isub rega ,regb 
+0x625b 032479 rtn 
+:      032481 pwm_set_value:
+0x625c 032482 fetch 1 ,core_pwm_init 
+0x625d 032483 qsetflag user ,pdata 
+0x625e 032484 store 1 ,core_pwm_init 
+0x625f 032485 rtn 
+:      032487 pwm_out_set:
+0x6260 032488 fetcht 3 ,mem_pdatatemp + 2 
+0x6261 032489 call pwm_clk_set 
+0x6262 032490 idiv temp 
+0x6263 032491 call wait_div_end 
+0x6264 032492 quotient temp 
+0x6265 032493 fetch 1 ,mem_pdatatemp + 5 
+0x6266 032494 imul32 temp ,pdata 
+0x6267 032495 div pdata ,100 
+0x6268 032496 call wait_div_end 
+0x6269 032497 call pwm_cont_set 
+0x626a 032498 fetch 1 ,mem_pdatatemp + 1 
+0x626b 032499 call pwm_duty_cycle_set 
+0x626c 032500 fetch 1 ,mem_pdatatemp 
+0x626d 032501 fetcht 1 ,mem_pdatatemp + 1 
+0x626e 032502 and_into 0x0f ,temp 
+0x626f 032503 lshift8 temp ,temp 
+0x6270 032504 ior temp ,pdata 
+0x6271 032505 branch pwm_enable 
+:      032508 pwm_duty_cycle_set:
+0x6272 032509 and_into 0x0f ,pdata 
+0x6273 032510 arg core_pwm_pcnt0 ,contw 
+0x6274 032511 mul32 pdata ,4 ,pdata 
+0x6275 032512 iadd contw ,contw 
+0x6276 032513 copy rega ,pdata 
+0x6277 032514 istore 2 ,contw 
+0x6278 032515 copy regb ,pdata 
+0x6279 032516 istore 2 ,contw 
+0x627a 032517 rtn 
+:      032521 pwm_enable:
+0x627b 032522 enable user 
+0x627c 032523 call pwm_srst_set 
+0x627d 032524 branch pwm_gpio_set 
+:      032525 pwm_disable:
+0x627e 032526 disable user 
+0x627f 032527 call pwm_select_channel 
+:      032528 pwm_gpio_set:
+0x6280 032529 copy temp ,pdata 
+0x6281 032530 lshift8 pdata ,pdata 
+0x6282 032531 add queue ,gpcfg_pwm_out0 ,temp 
+0x6283 032532 ior temp ,pdata 
+0x6284 032533 call gpio_config_param 
+:      032534 pwm_set_select:
+0x6285 032535 fetch 1 ,core_pwm_en 
+0x6286 032536 jam 0x00 ,core_pwm_en 
+0x6287 032537 nop 1200 
+0x6288 032538 qsetflag user ,pdata 
+0x6289 032539 store 1 ,core_pwm_en 
+0x628a 032540 rtn 
+:      032541 pwm_select_channel:
+0x628b 032542 copy pdata ,temp 
+0x628c 032543 rshift8 pdata ,pdata 
+0x628d 032544 copy pdata ,queue 
+0x628e 032545 rtn 
+:      032548 pwm_srst_powerdown:
+0x628f 032549 disable user 
+:      032550 pwm_srst_set:
+0x6290 032551 call pwm_select_channel 
+0x6291 032552 fetch 1 ,core_pwm_srst 
+0x6292 032553 nqsetflag user ,pdata 
+0x6293 032554 store 1 ,core_pwm_srst 
+0x6294 032555 branch pwm_gpio_set 
+:      032560 wdt_init_config:
+0x6295 032561 arg 0x2710 ,temp 
+0x6296 032562 imul32 temp ,pdata 
+0x6297 032563 arg 0x1312d ,temp 
+0x6298 032564 idiv temp 
+0x6299 032565 call wait_div_end 
+0x629a 032566 quotient temp 
+0x629b 032567 setarg 2048 
+0x629c 032568 isub temp ,pdata 
+0x629d 032569 copy pdata ,temp 
+0x629e 032570 and_into 0x0f ,temp 
+0x629f 032571 storet 1 ,core_write_wdt2 
+0x62a0 032572 copy pdata ,temp 
+0x62a1 032573 rshift4 temp ,temp 
+0x62a2 032574 storet 1 ,core_write_wdt 
+0x62a3 032575 rtn 
+:      032577 wdt_set_enable:
+0x62a4 032578 enable user2 
+0x62a5 032579 branch wdt_init_set 
+:      032580 wdt_set_disable:
+0x62a6 032581 disable user2 
+:      032582 wdt_init_set:
+0x62a7 032583 fetch 1 ,core_config 
+0x62a8 032584 setflag user2 ,3 ,pdata 
+0x62a9 032585 store 1 ,core_config 
+0x62aa 032586 rtn 
+:      032590 nec61212_init:
+0x62ab 032591 arg fun_nec_enable | fun_nec_clk_divide_24 ,temp 
+:      032594 nec_init_config:
+0x62ac 032595 store 4 ,core_nec_start_addr 
+0x62ad 032596 store 2 ,core_nec_rptr 
+0x62ae 032597 storet 1 ,core_nec_control 
+0x62af 032598 rtn 
+:      032601 nec_check_rxbuff_size:
+0x62b0 032602 fetch 2 ,core_nec_rxitem 
+0x62b1 032603 rtn 
+:      032605 nec_prepare_read:
+0x62b2 032606 fetchr contu ,2 ,core_nec_rptr 
+0x62b3 032607 fetchr contus ,2 ,core_nec_start_addr 
+0x62b4 032608 fetchr contue ,2 ,core_nec_end_addr 
+0x62b5 032609 rtn 
+:      032611 nec_read_done:
+0x62b6 032612 storer contu ,2 ,core_nec_rptr 
+0x62b7 032613 rtn 
+:      032620 nec_parse_nec61212:
+0x62b8 032621 call enable_user 
+0x62b9 032622 arg 0 ,rege 
+0x62ba 032623 call nec_check_rxbuff_size 
+0x62bb 032624 beq 2 ,nec_parse_nec61212_check_timeout 
+0x62bc 032625 sub pdata ,4 ,null 
+0x62bd 032626 rtn positive 
+0x62be 032627 call nec_prepare_read 
+0x62bf 032628 ifetcht 2 ,contu 
+0x62c0 032629 setarg nec61212_data2repeat_time 
+0x62c1 032630 call nec_check_pulse_range_legal_default_deviation 
+0x62c2 032631 nbranch nec_parse_nec61212_check_repeat_data ,positive 
+0x62c3 032632 copy regd ,temp 
+0x62c4 032633 setarg nec61212_repeat2repeat_time 
+0x62c5 032634 call nec_check_pulse_range_legal_default_deviation 
+0x62c6 032635 nbranch nec_parse_nec61212_check_repeat_data ,positive 
+0x62c7 032637 copy regd ,temp 
+0x62c8 032638 setarg nec61212_boot_code_start_time 
+0x62c9 032639 call nec_check_pulse_range_legal_default_deviation 
+0x62ca 032640 branch nec_parse_nec61212_error_data ,positive 
+0x62cb 032641 ifetcht 2 ,contu 
+0x62cc 032642 setarg nec61212_boot_code_end_time 
+0x62cd 032643 call nec_check_pulse_range_legal_default_deviation 
+0x62ce 032644 branch nec_parse_nec61212_error_data ,positive 
+0x62cf 032645 call nec_check_rxbuff_size 
+0x62d0 032646 sub pdata ,133 ,null 
+0x62d1 032647 rtn positive 
+0x62d2 032648 arg 32 ,loopcnt 
+:      032649 nec_parse_nec61212_data:
+0x62d3 032650 ifetcht 2 ,contu 
+0x62d4 032651 setarg nec61212_data_bit_1_start_time 
+0x62d5 032652 call nec_check_pulse_range_legal_default_deviation 
+0x62d6 032653 branch nec_parse_nec61212_error_data ,positive 
+0x62d7 032654 ifetcht 2 ,contu 
+0x62d8 032655 setarg nec61212_data_bit_1_end_time 
+0x62d9 032656 call nec_check_pulse_range_legal_default_deviation 
+0x62da 032657 nbranch nec_parse_nec61212_add_bit1 ,positive 
+0x62db 032658 copy regd ,temp 
+0x62dc 032659 setarg nec61212_data_bit_0_end_time 
+0x62dd 032660 call nec_check_pulse_range_legal_default_deviation 
+0x62de 032661 nbranch nec_parse_nec61212_add_bit0 ,positive 
+:      032664 nec_parse_nec61212_error_data:
+0x62df 032665 copy regd ,temp 
+0x62e0 032666 setarg nec61212_timeout_time 
+0x62e1 032667 isub temp ,null 
+0x62e2 032668 branch nec_parse_nec61212_check_timeout_cb ,zero 
+0x62e3 032669 branch nec_read_done 
+:      032671 nec_parse_nec61212_add_bit1:
+0x62e4 032672 set1 32 ,rege 
+:      032673 nec_parse_nec61212_add_bit0:
+0x62e5 032674 rshift rege ,rege 
+0x62e6 032675 loop nec_parse_nec61212_data 
+0x62e7 032676 branch nec_parse_nec61212_check_stop_bit 
+:      032678 nec_parse_nec61212_check_repeat_data:
+0x62e8 032679 call nec_check_rxbuff_size 
+0x62e9 032680 sub pdata ,7 ,null 
+0x62ea 032681 rtn positive 
+0x62eb 032682 ifetcht 2 ,contu 
+0x62ec 032683 setarg nec61212_repeat_start_time 
+0x62ed 032684 call nec_check_pulse_range_legal_default_deviation 
+0x62ee 032685 branch nec_parse_nec61212_error_data ,positive 
+0x62ef 032686 ifetcht 2 ,contu 
+0x62f0 032687 setarg nec61212_repeat_end_time 
+0x62f1 032688 call nec_check_pulse_range_legal_default_deviation 
+0x62f2 032689 branch nec_parse_nec61212_error_data ,positive 
+:      032690 nec_parse_nec61212_check_stop_bit:
+0x62f3 032691 ifetcht 2 ,contu 
+0x62f4 032692 setarg nec61212_stop_time 
+0x62f5 032693 call nec_check_pulse_range_legal_default_deviation 
+0x62f6 032694 branch nec_parse_nec61212_error_data ,positive 
+0x62f7 032695 call nec_read_done 
+0x62f8 032696 copy regc ,pdata 
+0x62f9 032697 branch callback_func 
+:      032699 nec_parse_nec61212_check_timeout:
+0x62fa 032700 call nec_prepare_read 
+0x62fb 032701 ifetcht 2 ,contu 
+0x62fc 032702 setarg nec61212_timeout_time 
+0x62fd 032703 isub temp ,null 
+0x62fe 032704 nrtn zero 
+:      032705 nec_parse_nec61212_check_timeout_cb:
+0x62ff 032706 call nec_read_done 
+0x6300 032707 call disable_user 
+0x6301 032708 copy regc ,pdata 
+0x6302 032709 branch callback_func 
+:      032716 nec_check_pulse_range_legal_default_deviation:
+0x6303 032717 fetchr regb ,1 ,mem_nec_decode_error_value 
+:      032726 nec_check_pulse_range_legal:
+0x6304 032727 copy temp ,regd 
+0x6305 032728 imul32 regb ,regb 
+0x6306 032729 lshift temp ,temp 
+0x6307 032730 isub temp ,rega 
+0x6308 032731 ncall nec_check_pulse_range_legal_data_negative ,positive 
+0x6309 032732 mul32 rega ,100 ,pdata 
+0x630a 032733 isub regb ,null 
+0x630b 032734 rtn 
+:      032736 nec_check_pulse_range_legal_data_negative:
+0x630c 032737 sub rega ,0 ,rega 
+0x630d 032738 rtn 
+:      032742 select_system_clk_24m:
+0x630e 032743 jam system_clk_24m ,mem_system_clk 
+0x630f 032744 jam clksel_dpll_24m ,core_clksel 
+0x6310 032745 setarg 7499 
+0x6311 032746 store 2 ,core_halfslot 
+:      032747 calc_new_param:
+0x6312 032748 arg 11 ,loopcnt 
+0x6313 032749 arg mem_param_tx_setup ,rega 
+:      032750 calc_new_param_loop:
+0x6314 032751 ifetch 2 ,rega 
+0x6315 032752 lshift pdata ,pdata 
+0x6316 032753 istore 2 ,rega 
+0x6317 032754 increase 2 ,rega 
+0x6318 032755 loop calc_new_param_loop 
+0x6319 032756 rtn 
+:      032758 calc_new_le_time:
+0x631a 032759 lshift stop_watch ,stop_watch 
+0x631b 032760 rtn 
+:      032762 select_system_clk_12m_xtal:
+0x631c 032763 jam clksel_xtal ,core_clksel 
+:      032764 select_system_clk_12m_common:
+0x631d 032765 jam system_clk_12m ,mem_system_clk 
+0x631e 032766 setarg 3749 
+0x631f 032767 store 2 ,core_halfslot 
+0x6320 032768 rtn 
+:      032770 select_system_clk_12m_dpll:
+0x6321 032771 jam clksel_dpll ,core_clksel 
+0x6322 032772 branch select_system_clk_12m_common 
+:      032781 rfcomm_init:
+0x6323 032782 rtn wake 
+0x6324 032783 jam 0 ,mem_rfcomm_send_more_pkt 
+0x6325 032784 jam bits9600 ,memremoterpnbitrate 
+0x6326 032785 jam databits8 ,memremoteprndatabits 
+0x6327 032786 jam 0x11 ,memremoteprnxon 
+0x6328 032787 jam 0x13 ,memremoteprnxoff 
+0x6329 032788 setarg 0 
+0x632a 032789 store 3 ,memremoteprnstopbit 
+0x632b 032790 store 1 ,mem_spp_state 
+0x632c 032791 jam 0 ,memui_reconnect_mode 
+:      032793 rfcomm_init_spp:
+0x632d 032794 setarg 0 
+0x632e 032795 store 1 ,mem_spp_state 
+0x632f 032796 store 1 ,mem_remote_spp_channel 
+0x6330 032797 store 1 ,mem_pn_dlci 
+0x6331 032798 fetch 1 ,mem_rfcomm_credit_flag 
+0x6332 032799 beq credit_enable ,rfcomm_init_spp_with_credit 
+0x6333 032800 jam 0x50 ,mem_credit_given 
+0x6334 032801 rtn 
+:      032803 rfcomm_init_spp_with_credit:
+0x6335 032804 jam 0x00 ,mem_credit_given 
+0x6336 032805 rtn 
+:      032807 set_cr_bit:
+0x6337 032808 or_into 0x02 ,temp 
+0x6338 032809 rtn 
+:      032821 rfcomm_calculate_fcs_sabm:
+0x6339 032822 copy temp ,pdata 
+0x633a 032823 reverse pdata ,pdata 
+0x633b 032824 store 1 ,memfcstemp3 
+0x633c 032825 force ini_tx_sabm ,pdata 
+0x633d 032826 reverse pdata ,pdata 
+0x633e 032827 store 1 ,memfcstemp2 
+0x633f 032828 force 0x01 ,pdata 
+0x6340 032829 reverse pdata ,pdata 
+0x6341 032830 store 1 ,memfcstemp1 
+0x6342 032831 call caculate_fcs 
+0x6343 032832 copy temp ,pdata 
+0x6344 032833 rtn 
+:      032834 rfcomm_calculate_fcs_ua:
+0x6345 032835 reverse pdata ,pdata 
+0x6346 032836 store 1 ,memfcstemp3 
+0x6347 032837 force rsp_tx_ua ,pdata 
+0x6348 032838 reverse pdata ,pdata 
+0x6349 032839 store 1 ,memfcstemp2 
+0x634a 032840 force 0x01 ,pdata 
+0x634b 032841 reverse pdata ,pdata 
+0x634c 032842 store 1 ,memfcstemp1 
+0x634d 032843 branch caculate_fcs 
+:      032845 rfcomm_calculate_fcs_dlci0:
+0x634e 032846 fetch 1 ,mem_rfcomm_initiator 
+0x634f 032847 branch rfcomm_calculate_fcs_dlci0_res ,blank 
+0x6350 032848 setarg 0x70 
+0x6351 032849 rtn 
+:      032850 rfcomm_calculate_fcs_dlci0_res:
+0x6352 032851 setarg 0xaa 
+0x6353 032852 rtn 
+:      032854 rfcomm_save_fcs_uih:
+0x6354 032855 reverse pdata ,pdata 
+0x6355 032856 store 1 ,memfcstemp3 
+0x6356 032857 force rsp_rx_uih ,pdata 
+0x6357 032858 call caculate_uihdata_fcs 
+0x6358 032859 fetcht 2 ,mem_contw_temp 
+0x6359 032860 copy temp ,contw 
+0x635a 032861 istore 1 ,contw 
+0x635b 032862 copy contw ,temp 
+0x635c 032863 storet 2 ,mem_contw_temp 
+0x635d 032864 force rsp_rx_uih_wdata ,pdata 
+0x635e 032865 call caculate_uihdata_fcs 
+0x635f 032866 fetcht 2 ,mem_contw_temp 
+0x6360 032867 copy temp ,contw 
+0x6361 032868 istore 1 ,contw 
+0x6362 032869 rtn 
+:      032878 caculate_uihdata_fcs:
+0x6363 032879 reverse pdata ,pdata 
+0x6364 032880 store 1 ,memfcstemp2 
+0x6365 032881 fetch 2 ,memfcstemp2 
+0x6366 032882 lshift8 pdata ,pdata 
+0x6367 032883 store 3 ,mem_mod2div_temp 
+0x6368 032884 arg 0x107 ,rega 
+0x6369 032885 arg 0xf ,regb 
+0x636a 032886 call mod2div 
+0x636b 032887 xor_into 0xd7 ,pdata 
+0x636c 032888 invert pdata ,pdata 
+0x636d 032889 reverse pdata ,pdata 
+0x636e 032890 rtn 
+:      032900 caculate_fcs:
+0x636f 032901 fetch 3 ,memfcstemp1 
+0x6370 032902 store 3 ,mem_mod2div_temp 
+0x6371 032903 arg 0x107 ,rega 
+0x6372 032904 arg 0xf ,regb 
+0x6373 032905 call mod2div 
+0x6374 032906 lshift8 pdata ,pdata 
+0x6375 032907 arg 0x7 ,regb 
+0x6376 032908 call mod2div 
+0x6377 032909 xor_into 0x2b ,pdata 
+0x6378 032910 invert pdata ,pdata 
+0x6379 032911 reverse pdata ,pdata 
+0x637a 032912 copy pdata ,temp 
+0x637b 032913 rtn 
+:      032915 mod2div:
+0x637c 032916 arg 0 ,regc 
+0x637d 032917 copy regb ,loopcnt 
+0x637e 032918 call right_shift_n 
+0x637f 032919 icopy temp 
+:      032920 mod2div_loop:
+0x6380 032925 copy temp ,pdata 
+0x6381 032926 lshift regc ,regc 
+0x6382 032927 bbit0 8 ,mod2div_not_enough_reduction 
+0x6383 032928 ixor rega ,temp 
+0x6384 032929 increase 1 ,regc 
+:      032930 mod2div_not_enough_reduction:
+0x6385 032931 lshift temp ,temp 
+0x6386 032932 fetch 3 ,mem_mod2div_temp 
+0x6387 032933 increase -1 ,regb 
+0x6388 032934 compare 0xff ,regb ,0xff 
+0x6389 032935 branch mod2div_end ,true 
+0x638a 032936 copy regb ,loopcnt 
+0x638b 032937 call right_shift_n 
+0x638c 032938 isolate1 0 ,pdata 
+0x638d 032939 setflag true ,0 ,temp 
+0x638e 032940 branch mod2div_loop 
+:      032941 mod2div_end:
+0x638f 032943 rshift temp ,pdata 
+0x6390 032944 rtn 
+:      032946 get_rfcomm_snd_adss:
+0x6391 032947 fetcht 1 ,mem_pn_dlci 
+:      032948 dlci_to_address_cmd:
+0x6392 032950 lshift2 temp ,temp 
+0x6393 032951 set1 rfcomm_address_ext_len ,temp 
+0x6394 032952 fetch 1 ,mem_rfcomm_initiator 
+0x6395 032953 ncall set_cr_bit ,blank 
+0x6396 032954 storet 1 ,mem_rfcomm_send_adss 
+0x6397 032955 rtn 
+:      032957 channel_to_dlci:
+0x6398 032959 lshift temp ,temp 
+0x6399 032960 fetch 1 ,mem_rfcomm_initiator 
+0x639a 032961 setflag blank ,0 ,temp 
+0x639b 032963 rtn 
+:      032964 rfcomm_rx_process_dlci0_sabm:
+0x639c 032965 fetcht 1 ,mem_current_channel 
+0x639d 032966 jam 0xd7 ,mem_current_fcs 
+0x639e 032967 call rfcomm_send_ua 
+0x639f 032968 fetch 1 ,mem_rfcomm_state 
+0x63a0 032969 set1 l2cap_channel_rfcomm_only_sabm ,pdata 
+0x63a1 032970 set1 l2cap_channel_rfcomm_only_ua ,pdata 
+0x63a2 032971 store 1 ,mem_rfcomm_state 
+0x63a3 032972 jam 0 ,mem_rfcomm_initiator 
+0x63a4 032973 branch rfcomm_rx_process_end 
+:      032974 rfcomm_rx_process_dlci0_ua:
+0x63a5 032975 fetch 1 ,mem_rfcomm_state 
+0x63a6 032976 set1 l2cap_channel_rfcomm_only_ua ,pdata 
+0x63a7 032977 store 1 ,mem_rfcomm_state 
+0x63a8 032978 branch rfcomm_rx_process_end 
+:      032981 rfcomm_rx_process:
+0x63a9 032982 bpatchx patch26_7 ,mem_patch26 
+0x63aa 032983 fetch 1 ,memui_reconnect_mode 
+0x63ab 032984 beq no_reconnection ,rfcomm_rx_process_remote_page 
+0x63ac 032985 branch rfcomm_rx_process_reconn 
+:      032987 rfcomm_rx_process_remote_page:
+0x63ad 032988 fetch 2 ,mem_l2cap_payload_ptr 
+0x63ae 032989 copy pdata ,contr 
+0x63af 032990 call get_rfcomm_head_struct 
+0x63b0 032991 fetch 1 ,mem_current_channel 
+0x63b1 032992 beq 0 ,parse_dlci0_rp 
+0x63b2 032993 branch parse_uih_rp 
+:      032994 parse_dlci0_rp:
+0x63b3 032995 bpatchx patch27_0 ,mem_patch27 
+0x63b4 032996 fetch 1 ,mem_current_frame_type 
+0x63b5 032997 beq rfcomm_frame_type_sabm ,rfcomm_rx_process_dlci0_sabm 
+0x63b6 032998 beq rfcomm_frame_type_ua ,rfcomm_rx_process_dlci0_ua 
+0x63b7 032999 beq rfcomm_frame_type_uih ,parse_dlci0_rp_uih 
+0x63b8 033000 beq rfcomm_frame_type_disconn ,parse_uih_rp_spp_disconn_send_event 
+0x63b9 033001 rtn 
+:      033004 parse_dlci0_rp_uih:
+0x63ba 033005 fetch 2 ,mem_rfcomm_uih_payload_ptr 
+0x63bb 033006 copy pdata ,contr 
+0x63bc 033007 call get_rfcomm_uih_head_struct 
+0x63bd 033008 fetch 1 ,mem_uih_cmd_type 
+0x63be 033009 beq uih_param_neg_cmd ,parse_dlci0_rp_uih_pn_cmd 
+0x63bf 033010 beq uih_param_neg_res ,parse_dlci0_rp_uih_pn_res 
+0x63c0 033011 beq uih_modem_status_cmd ,parse_dlci0_rp_uih_ms_cmd 
+0x63c1 033012 beq uih_modem_status_res ,parse_dlci0_rp_uih_ms_res 
+0x63c2 033013 beq uih_param_cmd_remove_port ,parse_dlci0_rp_uih_cmd_port 
+0x63c3 033014 branch rfcomm_rx_process_end 
+:      033016 parse_dlci0_rp_uih_pn_cmd:
+0x63c4 033017 call parse_dlci0_rp_uih_pn_res_common 
+0x63c5 033019 branch parse_dlci0_rp_uih_pn_cmd_spp 
+:      033021 parse_dlci0_rp_uih_pn_cmd_spp:
+0x63c6 033022 fetch 1 ,mem_spp_state 
+0x63c7 033023 set1 rfcomm_channel_state_pn_cmd ,pdata 
+0x63c8 033024 set1 rfcomm_channel_state_pn_res ,pdata 
+0x63c9 033025 store 1 ,mem_spp_state 
+0x63ca 033026 call rfcomm_send_param_neg_res 
+0x63cb 033027 branch rfcomm_rx_process_end 
+:      033029 parse_dlci0_rp_uih_pn_res:
+0x63cc 033030 call parse_dlci0_rp_uih_pn_res_common 
+0x63cd 033031 branch rfcomm_rx_process_end 
+:      033033 parse_dlci0_rp_uih_pn_res_common:
+0x63ce 033034 call get_param_payload_ptr 
+0x63cf 033035 branch get_rfcomm_prarmer_negotiation 
+:      033037 get_rfcomm_param_modem_status:
+0x63d0 033038 call get_param_payload_ptr 
+0x63d1 033039 ifetch 1 ,contr 
+0x63d2 033040 rshift3 pdata ,pdata 
+0x63d3 033041 store 1 ,mem_ms_channel 
+0x63d4 033042 ifetch 1 ,contr 
+0x63d5 033043 store 1 ,mem_ms_param 
+0x63d6 033044 rtn 
+:      033047 get_rfcomm_head_struct:
+0x63d7 033048 ifetch 1 ,contr 
+0x63d8 033049 store 1 ,mem_current_adss 
+0x63d9 033050 rshift3 pdata ,pdata 
+0x63da 033051 store 1 ,mem_current_channel 
+0x63db 033052 ifetch 1 ,contr 
+0x63dc 033053 store 1 ,mem_current_frame_type 
+:      033054 get_rfcomm_current_length:
+0x63dd 033055 call get_rfcomm_length_common 
+0x63de 033056 storet 2 ,mem_current_length 
+0x63df 033057 copy contr ,pdata 
+0x63e0 033058 store 2 ,mem_rfcomm_uih_payload_ptr 
+0x63e1 033059 rtn 
+:      033061 get_rfcomm_uih_head_struct:
+0x63e2 033062 ifetch 1 ,contr 
+0x63e3 033063 rshift pdata ,pdata 
+0x63e4 033064 store 1 ,mem_uih_cmd_type 
+0x63e5 033065 call get_rfcomm_length_common 
+0x63e6 033066 storet 2 ,mem_uih_length 
+0x63e7 033067 copy contr ,pdata 
+0x63e8 033068 store 2 ,mem_param_payload_ptr 
+0x63e9 033069 rtn 
+:      033072 get_param_payload_ptr:
+0x63ea 033073 fetch 2 ,mem_param_payload_ptr 
+0x63eb 033074 copy pdata ,contr 
+0x63ec 033075 rtn 
+:      033077 get_rfcomm_length_common:
+0x63ed 033078 ifetch 1 ,contr 
+0x63ee 033079 copy pdata ,temp 
+0x63ef 033080 rshift temp ,temp 
+0x63f0 033081 rtnbit1 0 
+0x63f1 033082 ifetch 1 ,contr 
+0x63f2 033083 lshift3 pdata ,pdata 
+0x63f3 033084 lshift4 pdata ,pdata 
+0x63f4 033085 iadd temp ,temp 
+0x63f5 033086 rtn 
+:      033088 get_rfcomm_prarmer_negotiation:
+0x63f6 033089 ifetch 1 ,contr 
+0x63f7 033090 store 1 ,mem_pn_dlci 
+0x63f8 033091 ifetch 1 ,contr 
+0x63f9 033092 store 1 ,mem_pn_credit_flow_type_info 
+0x63fa 033093 ifetch 1 ,contr 
+0x63fb 033094 store 1 ,mem_pn_priority 
+0x63fc 033095 ifetch 1 ,contr 
+0x63fd 033096 store 1 ,mem_pn_acknowledg_timer 
+0x63fe 033097 ifetch 2 ,contr 
+0x63ff 033098 store 2 ,mem_pn_max_frame_size 
+0x6400 033099 ifetch 1 ,contr 
+0x6401 033100 store 1 ,mem_pn_max_retrans 
+0x6402 033101 ifetch 1 ,contr 
+0x6403 033102 store 1 ,mem_remote_credits 
+0x6404 033103 rtn 
+:      033106 parse_dlci0_rp_uih_ms_cmd:
+0x6405 033107 call get_rfcomm_param_modem_status 
+0x6406 033109 branch parse_dlci0_rp_uih_ms_cmd_spp 
+:      033111 parse_dlci0_rp_uih_ms_cmd_spp:
+0x6407 033112 fetch 1 ,mem_spp_state 
+0x6408 033113 set1 rfcomm_channel_state_rcv_ms_cmd ,pdata 
+0x6409 033114 set1 rfcomm_channel_state_snd_ms_res ,pdata 
+0x640a 033115 store 1 ,mem_spp_state 
+0x640b 033116 fetcht 1 ,mem_pn_dlci 
+0x640c 033117 lshift2 temp ,temp 
+0x640d 033118 or_into 3 ,temp 
+0x640e 033119 call rfcomm_send_modem_status_res 
+0x640f 033120 jam more_pkt_msc_cmd_spp ,mem_rfcomm_send_more_pkt 
+0x6410 033121 branch rfcomm_rx_process_end 
+:      033123 parse_dlci0_rp_uih_ms_res:
+0x6411 033124 jam bt_evt_spp_connected ,mem_fifo_temp 
+0x6412 033125 call ui_ipc_send_event 
+0x6413 033126 call get_rfcomm_param_modem_status 
+0x6414 033127 fetch 1 ,mem_ms_channel 
+0x6415 033128 sub pdata ,1 ,null 
+0x6416 033129 branch parse_dlci0_rp_uih_ms_res_spp ,zero 
+0x6417 033130 branch assert 
+:      033131 parse_dlci0_rp_uih_ms_res_spp:
+0x6418 033132 fetch 1 ,mem_spp_state 
+0x6419 033133 set1 rfcomm_channel_state_rcv_ms_res ,pdata 
+0x641a 033134 store 1 ,mem_spp_state 
+0x641b 033135 branch rfcomm_rx_process_end 
+:      033137 parse_dlci0_rp_uih_cmd_port:
+0x641c 033138 call get_param_payload_ptr 
+0x641d 033139 ifetch 1 ,contr 
+0x641e 033140 store 1 ,mem_rpn_dlci 
+0x641f 033141 call l2cap_malloc_rfcomm_channel 
+0x6420 033142 call l2cap_get_rfcomm_tx_buff 
+0x6421 033143 setarg 0x000e 
+0x6422 033144 istore 2 ,contw 
+0x6423 033145 fetch 2 ,mem_rfcomm_remote_cid 
+0x6424 033146 istore 2 ,contw 
+0x6425 033147 fetch 1 ,mem_rfcomm_initiator 
+0x6426 033149 lshift pdata ,pdata 
+0x6427 033150 set1 0 ,pdata 
+0x6428 033151 istore 1 ,contw 
+0x6429 033152 bpatchx patch27_1 ,mem_patch27 
+0x642a 033153 setarg 0x15ef 
+0x642b 033154 istore 2 ,contw 
+0x642c 033155 setarg 0x1191 
+0x642d 033156 istore 2 ,contw 
+0x642e 033159 fetch 1 ,mem_rpn_dlci 
+0x642f 033160 istore 1 ,contw 
+0x6430 033161 setarg 0x000007 
+0x6431 033162 istore 5 ,contw 
+0x6432 033165 setarg 0x01 
+0x6433 033166 istore 2 ,contw 
+0x6434 033169 call rfcomm_calculate_fcs_dlci0 
+0x6435 033170 istore 1 ,contw 
+0x6436 033171 rtn 
+:      033175 parse_uih_rp:
+0x6437 033176 branch parse_uih_rp_spp 
+:      033178 parse_uih_rp_spp:
+0x6438 033179 bpatchx patch27_2 ,mem_patch27 
+0x6439 033180 fetch 1 ,mem_current_frame_type 
+0x643a 033181 beq rfcomm_frame_type_ua ,parse_uih_rp_spp_ua 
+0x643b 033182 beq rfcomm_frame_type_sabm ,parse_uih_rp_spp_sabm 
+0x643c 033183 beq rfcomm_frame_type_uih ,parse_uih_spp_uih 
+0x643d 033184 beq rfcomm_frame_type_uih_credits ,parse_uih_spp_uih_credits 
+0x643e 033185 beq rfcomm_frame_type_disconn ,parse_uih_rp_spp_disconn 
+0x643f 033186 rtn 
+:      033187 parse_uih_rp_spp_ua:
+0x6440 033188 fetch 1 ,mem_spp_state 
+0x6441 033189 set1 rfcomm_channel_state_ua ,pdata 
+0x6442 033190 store 1 ,mem_spp_state 
+0x6443 033191 branch rfcomm_rx_process_end 
+:      033192 parse_uih_rp_spp_sabm:
+0x6444 033193 fetch 1 ,mem_spp_state 
+0x6445 033194 set1 rfcomm_channel_state_ua ,pdata 
+0x6446 033195 set1 rfcomm_channel_state_sabm ,pdata 
+0x6447 033196 store 1 ,mem_spp_state 
+0x6448 033197 fetch 1 ,mem_current_adss 
+0x6449 033198 call rfcomm_calculate_fcs_ua 
+0x644a 033199 store 1 ,mem_current_fcs 
+0x644b 033200 call rfcomm_send_ua 
+0x644c 033201 fetch 1 ,mem_current_adss 
+0x644d 033202 rshift2 pdata ,pdata 
+0x644e 033203 store 1 ,mem_pn_dlci 
+0x644f 033204 lshift2 pdata ,pdata 
+0x6450 033205 set0 rfcomm_address_cr ,pdata 
+0x6451 033206 set1 rfcomm_address_ext_len ,pdata 
+0x6452 033207 arg mem_hiufcs_spp ,temp 
+0x6453 033208 storet 2 ,mem_contw_temp 
+0x6454 033209 call rfcomm_save_fcs_uih 
+0x6455 033210 branch rfcomm_rx_process_end 
+:      033212 parse_uih_spp_uih_credits:
+0x6456 033213 fetch 2 ,mem_rfcomm_uih_payload_ptr 
+0x6457 033214 copy pdata ,contr 
+0x6458 033215 increase 1 ,pdata 
+0x6459 033216 store 2 ,mem_rfcomm_uih_payload_ptr 
+0x645a 033217 ifetch 1 ,contr 
+0x645b 033218 fetcht 1 ,mem_remote_credits 
+0x645c 033219 iadd temp ,pdata 
+0x645d 033220 store 1 ,mem_remote_credits 
+:      033221 parse_uih_spp_uih:
+0x645e 033222 call rfcomm_increase_credit_given 
+:      033223 parse_uih_spp_uih_cont:
+0x645f 033224 call get_rfcomm_snd_adss 
+0x6460 033225 call rfcomm_send_uih_without_payload 
+0x6461 033226 call spp_process_rx_data 
+0x6462 033227 branch rfcomm_rx_process_end 
+:      033229 parse_uih_rp_spp_disconn_send_event:
+0x6463 033230 jam bt_evt_spp_disconnected ,mem_fifo_temp 
+0x6464 033231 call ui_ipc_send_event 
+:      033232 parse_uih_rp_spp_disconn:
+0x6465 033233 call rfcomm_init_spp 
+0x6466 033234 fetch 1 ,mem_current_adss 
+0x6467 033235 call rfcomm_calculate_fcs_ua 
+0x6468 033236 store 1 ,mem_current_fcs 
+0x6469 033237 call rfcomm_send_ua 
+0x646a 033238 branch rfcomm_rx_process_end 
+:      033243 rfcomm_rx_process_reconn:
+0x646b 033244 fetch 2 ,mem_l2cap_payload_ptr 
+0x646c 033245 copy pdata ,contr 
+0x646d 033246 call get_rfcomm_head_struct 
+0x646e 033247 fetch 1 ,mem_current_channel 
+0x646f 033248 beq 0 ,parse_dlci0_reconn 
+0x6470 033249 branch parse_uih_reconn 
+:      033251 parse_dlci0_reconn:
+0x6471 033252 bpatchx patch27_3 ,mem_patch27 
+0x6472 033253 fetch 1 ,mem_current_frame_type 
+0x6473 033254 beq rfcomm_frame_type_sabm ,rfcomm_rx_process_dlci0_sabm 
+0x6474 033255 beq rfcomm_frame_type_ua ,rfcomm_rx_process_dlci0_ua 
+0x6475 033256 beq rfcomm_frame_type_uih ,parse_dlci0_reconn_uih 
+0x6476 033257 branch rfcomm_rx_process_end 
+:      033258 parse_dlci0_reconn_uih:
+0x6477 033259 fetch 2 ,mem_rfcomm_uih_payload_ptr 
+0x6478 033260 copy pdata ,contr 
+0x6479 033261 call get_rfcomm_uih_head_struct 
+0x647a 033262 fetch 1 ,mem_uih_cmd_type 
+0x647b 033263 beq uih_param_neg_cmd ,parse_dlci0_reconn_uih_pn_cmd 
+0x647c 033264 beq uih_param_neg_res ,parse_dlci0_reconn_uih_pn_cmd 
+0x647d 033265 beq uih_modem_status_cmd ,parse_dlci0_reconn_uih_ms_cmd 
+0x647e 033266 beq uih_modem_status_res ,parse_dlci0_reconn_uih_ms_res 
+0x647f 033267 branch rfcomm_rx_process_end 
+:      033269 parse_dlci0_reconn_uih_pn_cmd:
+0x6480 033270 call parse_dlci0_rp_uih_pn_res_common 
+0x6481 033271 fetch 1 ,mem_pn_dlci 
+0x6482 033272 rshift pdata ,pdata 
+0x6483 033273 fetcht 1 ,mem_remote_spp_channel 
+0x6484 033274 isub temp ,null 
+0x6485 033275 branch parse_dlci0_reconn_uih_pn_cmd_spp ,zero 
+0x6486 033276 branch assert 
+:      033277 parse_dlci0_reconn_uih_pn_cmd_spp:
+0x6487 033278 fetch 1 ,mem_spp_state 
+0x6488 033279 set1 rfcomm_channel_state_pn_res ,pdata 
+0x6489 033280 store 1 ,mem_spp_state 
+0x648a 033281 branch rfcomm_rx_process_end 
+:      033283 parse_dlci0_reconn_uih_ms_cmd:
+0x648b 033284 call get_rfcomm_param_modem_status 
+0x648c 033285 fetch 1 ,mem_ms_channel 
+0x648d 033286 fetcht 1 ,mem_remote_spp_channel 
+0x648e 033287 isub temp ,null 
+0x648f 033288 branch parse_dlci0_reconn_uih_ms_cmd_spp ,zero 
+0x6490 033289 branch assert 
+0x6491 033290 branch rfcomm_rx_process_end 
+:      033291 parse_dlci0_reconn_uih_ms_cmd_spp:
+0x6492 033292 fetch 1 ,mem_spp_state 
+0x6493 033293 set1 rfcomm_channel_state_rcv_ms_cmd ,pdata 
+0x6494 033294 set1 rfcomm_channel_state_snd_ms_res ,pdata 
+0x6495 033295 store 1 ,mem_spp_state 
+0x6496 033296 fetcht 1 ,mem_pn_dlci 
+0x6497 033297 lshift2 temp ,temp 
+0x6498 033298 or_into 3 ,temp 
+0x6499 033299 call rfcomm_send_modem_status_res 
+0x649a 033300 branch rfcomm_rx_process_end 
+:      033302 parse_dlci0_reconn_uih_ms_res:
+0x649b 033303 call get_rfcomm_param_modem_status 
+0x649c 033304 fetch 1 ,mem_ms_channel 
+0x649d 033305 fetcht 1 ,mem_remote_spp_channel 
+0x649e 033306 isub temp ,null 
+0x649f 033307 branch parse_dlci0_reconn_uih_ms_res_spp ,zero 
+0x64a0 033308 branch assert 
+:      033309 parse_dlci0_reconn_uih_ms_res_spp:
+0x64a1 033310 fetch 1 ,mem_spp_state 
+0x64a2 033311 set1 rfcomm_channel_state_rcv_ms_res ,pdata 
+0x64a3 033312 store 1 ,mem_spp_state 
+0x64a4 033313 branch rfcomm_rx_process_end 
+:      033315 parse_uih_reconn:
+0x64a5 033316 fetch 1 ,mem_current_channel 
+0x64a6 033317 fetcht 1 ,mem_remote_spp_channel 
+0x64a7 033318 isub temp ,null 
+0x64a8 033319 branch parse_uih_reconn_spp ,zero 
+0x64a9 033320 branch assert 
+0x64aa 033321 branch rfcomm_rx_process_end 
+:      033323 parse_uih_reconn_spp:
+0x64ab 033324 fetch 1 ,mem_current_frame_type 
+0x64ac 033325 beq rfcomm_frame_type_ua ,parse_uih_reconn_spp_ua 
+0x64ad 033326 beq rfcomm_frame_type_uih ,parse_uih_spp_uih 
+0x64ae 033327 beq rfcomm_frame_type_uih_credits ,parse_uih_spp_uih_credits 
+0x64af 033328 beq rfcomm_frame_type_disconn ,parse_uih_reconn_spp_disconn 
+:      033329 parse_uih_reconn_spp_ua:
+0x64b0 033330 fetch 1 ,mem_spp_state 
+0x64b1 033331 set1 rfcomm_channel_state_ua ,pdata 
+0x64b2 033332 store 1 ,mem_spp_state 
+0x64b3 033333 branch rfcomm_rx_process_end 
+:      033334 parse_uih_reconn_spp_sabm:
+0x64b4 033335 branch parse_uih_reconn_spp_sabm 
+:      033336 parse_uih_reconn_spp_disconn:
+0x64b5 033337 branch parse_uih_rp_spp_disconn 
+:      033338 rfcomm_rx_process_end:
+0x64b6 033339 rtn 
+:      033341 rfcomm_send_more_pkt:
+0x64b7 033342 fetch 1 ,mem_rfcomm_send_more_pkt 
+0x64b8 033343 rtn blank 
+0x64b9 033344 beq more_pkt_msc_cmd_spp ,rfcomm_send_more_pkt_msc_cmd_spp 
+0x64ba 033345 branch assert 
+:      033347 rfcomm_send_more_pkt_msc_cmd_spp:
+0x64bb 033348 jam 0 ,mem_rfcomm_send_more_pkt 
+0x64bc 033349 call l2cap_malloc_rfcomm_channel 
+0x64bd 033350 arg spp_slave_channel ,temp 
+0x64be 033351 fetcht 1 ,mem_pn_dlci 
+0x64bf 033352 lshift2 temp ,temp 
+:      033353 rfcomm_send_more_pkt_msc_cmd_spp0:
+0x64c0 033354 or_into 0x03 ,temp 
+0x64c1 033355 arg 0xaa ,rega 
+0x64c2 033356 call rfcomm_send_modem_status_cmd 
+0x64c3 033357 call l2cap_get_rfcomm_tx_buff 
+0x64c4 033358 copy contw ,contr 
+0x64c5 033359 ifetch 2 ,contr 
+0x64c6 033360 branch assert ,blank 
+0x64c7 033361 rtn 
+:      033363 rfcomm_send_sabm:
+0x64c8 033364 call l2cap_get_rfcomm_tx_buff 
+0x64c9 033365 setarg 0x0004 
+0x64ca 033366 istore 2 ,contw 
+0x64cb 033367 fetch 2 ,mem_rfcomm_remote_cid 
+0x64cc 033368 istore 2 ,contw 
+0x64cd 033369 fetch 1 ,mem_current_adss 
+0x64ce 033370 istore 1 ,contw 
+0x64cf 033371 bpatchx patch27_4 ,mem_patch27 
+0x64d0 033372 setarg 0x013f 
+0x64d1 033373 istore 2 ,contw 
+0x64d2 033374 fetch 1 ,mem_current_fcs 
+0x64d3 033375 istore 1 ,contw 
+0x64d4 033376 rtn 
+:      033377 rfcomm_send_ua:
+0x64d5 033378 call l2cap_malloc_rfcomm_channel 
+0x64d6 033379 call l2cap_get_rfcomm_tx_buff 
+0x64d7 033380 setarg 0x0004 
+0x64d8 033381 istore 2 ,contw 
+0x64d9 033382 fetch 2 ,mem_rfcomm_remote_cid 
+0x64da 033383 istore 2 ,contw 
+0x64db 033384 fetch 1 ,mem_current_adss 
+0x64dc 033385 istore 1 ,contw 
+0x64dd 033386 bpatchx patch27_5 ,mem_patch27 
+0x64de 033387 setarg 0x0173 
+0x64df 033388 istore 2 ,contw 
+0x64e0 033389 fetch 1 ,mem_current_fcs 
+0x64e1 033390 istore 1 ,contw 
+0x64e2 033391 rtn 
+:      033392 rfcomm_send_param_neg_cmd:
+0x64e3 033393 call l2cap_get_rfcomm_tx_buff 
+0x64e4 033394 setarg 0x000e 
+0x64e5 033395 istore 2 ,contw 
+0x64e6 033396 fetch 2 ,mem_rfcomm_remote_cid 
+0x64e7 033397 istore 2 ,contw 
+0x64e8 033398 fetch 1 ,mem_rfcomm_initiator 
+0x64e9 033399 lshift pdata ,pdata 
+0x64ea 033400 set1 0 ,pdata 
+0x64eb 033401 istore 1 ,contw 
+0x64ec 033402 bpatchx patch27_6 ,mem_patch27 
+0x64ed 033403 setarg 0x15ef 
+0x64ee 033404 istore 2 ,contw 
+0x64ef 033405 setarg 0x1183 
+0x64f0 033406 istore 2 ,contw 
+0x64f1 033407 copy temp ,pdata 
+0x64f2 033408 istore 1 ,contw 
+0x64f3 033409 setarg 0x0000f0 
+0x64f4 033410 istore 3 ,contw 
+0x64f5 033411 setarg rfcomm_max_frame_size 
+0x64f6 033412 istore 2 ,contw 
+0x64f7 033413 setarg 0 
+0x64f8 033414 istore 1 ,contw 
+0x64f9 033415 setarg 0x01 
+0x64fa 033416 istore 1 ,contw 
+0x64fb 033417 call rfcomm_calculate_fcs_dlci0 
+0x64fc 033418 istore 1 ,contw 
+0x64fd 033419 jam 0x10 ,mem_credit_given 
+0x64fe 033420 rtn 
+:      033421 rfcomm_send_param_neg_res:
+0x64ff 033422 call l2cap_malloc_rfcomm_channel 
+0x6500 033423 call l2cap_get_rfcomm_tx_buff 
+0x6501 033424 setarg 0x000e 
+0x6502 033425 istore 2 ,contw 
+0x6503 033426 fetch 2 ,mem_rfcomm_remote_cid 
+0x6504 033427 istore 2 ,contw 
+0x6505 033428 fetch 1 ,mem_rfcomm_initiator 
+0x6506 033429 lshift pdata ,pdata 
+0x6507 033430 set1 0 ,pdata 
+0x6508 033431 istore 1 ,contw 
+0x6509 033432 bpatchx patch27_7 ,mem_patch27 
+0x650a 033433 setarg 0x15ef 
+0x650b 033434 istore 2 ,contw 
+0x650c 033435 setarg 0x1181 
+0x650d 033436 istore 2 ,contw 
+0x650e 033437 fetch 1 ,mem_pn_dlci 
+0x650f 033438 istore 1 ,contw 
+0x6510 033439 setarg 0x0000e0 
+0x6511 033440 istore 3 ,contw 
+0x6512 033441 fetch 2 ,mem_rfcomm_max_frame_size 
+0x6513 033442 istore 2 ,contw 
+0x6514 033443 setarg 0x00 
+0x6515 033444 istore 1 ,contw 
+0x6516 033445 fetch 1 ,mem_rfcomm_credit_init_data 
+0x6517 033446 istore 1 ,contw 
+0x6518 033447 call rfcomm_calculate_fcs_dlci0 
+0x6519 033448 istore 1 ,contw 
+0x651a 033449 rtn 
+:      033450 rfcomm_send_modem_status_cmd:
+0x651b 033451 call l2cap_get_rfcomm_tx_buff 
+0x651c 033452 setarg 0x0008 
+0x651d 033453 istore 2 ,contw 
+0x651e 033454 fetch 2 ,mem_rfcomm_remote_cid 
+0x651f 033455 istore 2 ,contw 
+0x6520 033456 fetch 1 ,mem_rfcomm_initiator 
+0x6521 033457 lshift pdata ,pdata 
+0x6522 033458 set1 0 ,pdata 
+0x6523 033459 istore 1 ,contw 
+0x6524 033460 bpatchx patch28_0 ,mem_patch28 
+0x6525 033461 setarg 0x09ef 
+0x6526 033462 istore 2 ,contw 
+0x6527 033463 setarg 0x05e3 
+0x6528 033464 istore 2 ,contw 
+0x6529 033465 copy temp ,pdata 
+0x652a 033466 istore 1 ,contw 
+0x652b 033467 setarg 0x8d 
+0x652c 033468 istore 1 ,contw 
+0x652d 033469 call rfcomm_calculate_fcs_dlci0 
+0x652e 033470 istore 1 ,contw 
+0x652f 033471 rtn 
+:      033473 rfcomm_send_modem_status_res:
+0x6530 033474 call l2cap_malloc_rfcomm_channel 
+0x6531 033475 call l2cap_get_rfcomm_tx_buff 
+0x6532 033476 setarg 0x0008 
+0x6533 033477 istore 2 ,contw 
+0x6534 033478 fetch 2 ,mem_rfcomm_remote_cid 
+0x6535 033479 istore 2 ,contw 
+0x6536 033480 copy temp ,timeup 
+0x6537 033481 fetch 1 ,mem_rfcomm_initiator 
+0x6538 033482 lshift pdata ,pdata 
+0x6539 033483 set1 0 ,pdata 
+0x653a 033484 istore 1 ,contw 
+0x653b 033485 bpatchx patch28_1 ,mem_patch28 
+0x653c 033486 setarg 0x09ef 
+0x653d 033487 istore 2 ,contw 
+0x653e 033488 setarg 0x05e1 
+0x653f 033489 istore 2 ,contw 
+0x6540 033490 copy timeup ,pdata 
+0x6541 033491 istore 1 ,contw 
+0x6542 033492 setarg 0x8d 
+0x6543 033493 istore 1 ,contw 
+0x6544 033494 call rfcomm_calculate_fcs_dlci0 
+0x6545 033495 istore 1 ,contw 
+0x6546 033496 rtn 
+:      033498 rfcomm_send_uih_without_payload:
+0x6547 033499 bpatchx patch28_2 ,mem_patch28 
+0x6548 033500 fetch 1 ,mem_credit_given 
+0x6549 033501 rtn blank 
+0x654a 033502 fetch 2 ,core_uart_rxitems 
+0x654b 033503 nrtn blank 
+0x654c 033504 copy rega ,pdata 
+0x654d 033505 store 1 ,mem_pdatatemp + 1 
+0x654e 033506 storet 1 ,mem_pdatatemp 
+0x654f 033507 call l2cap_malloc_is_fifo_full 
+0x6550 033508 nrtn blank 
+0x6551 033509 call l2cap_malloc_rfcomm_channel 
+0x6552 033510 call l2cap_get_rfcomm_tx_buff 
+0x6553 033511 setarg 0x05 
+0x6554 033512 istore 2 ,contw 
+0x6555 033513 fetch 2 ,mem_rfcomm_remote_cid 
+0x6556 033514 istore 2 ,contw 
+0x6557 033515 fetch 1 ,mem_rfcomm_send_adss 
+0x6558 033516 istore 1 ,contw 
+0x6559 033517 setarg 0x01ff 
+0x655a 033518 istore 2 ,contw 
+0x655b 033519 fetch 1 ,mem_credit_given 
+0x655c 033520 istore 1 ,contw 
+0x655d 033521 fetch 1 ,mem_hiufcs_spp_wcredits 
+0x655e 033522 istore 1 ,contw 
+0x655f 033523 jam 0 ,mem_credit_given 
+0x6560 033524 rtn 
+:      033526 rfcomm_increase_credit_given:
+0x6561 033527 bpatchx patch28_3 ,mem_patch28 
+0x6562 033528 fetch 1 ,mem_rfcomm_credit_flag 
+0x6563 033529 rtneq credit_enable 
+0x6564 033530 fetch 2 ,mem_current_length 
+0x6565 033531 rtn blank 
+0x6566 033532 fetch 1 ,mem_credit_given 
+0x6567 033533 increase 1 ,pdata 
+0x6568 033534 store 1 ,mem_credit_given 
+0x6569 033535 rtn 
+:      033537 spp_process_rx_data:
+0x656a 033538 fetch 2 ,mem_cb_receive_spp_data 
+0x656b 033539 branch callback_func 
+:      033541 spp_tx_rfcomm_packet:
+0x656c 033542 bpatchx patch28_4 ,mem_patch28 
+0x656d 033544 fetch 1 ,mem_remote_credits 
+0x656e 033545 rtn blank 
+0x656f 033546 increase -1 ,pdata 
+0x6570 033547 store 1 ,mem_remote_credits 
+0x6571 033548 fetch 2 ,mem_pn_max_frame_size 
+0x6572 033549 fetcht 2 ,mem_current_packet_length 
+0x6573 033550 isub temp ,null 
+0x6574 033551 branch ssp_tx_rfcomm_from_uart ,positive 
+0x6575 033552 store 2 ,mem_current_packet_length 
+:      033553 ssp_tx_rfcomm_from_uart:
+0x6576 033554 fetch 1 ,mem_credit_given 
+0x6577 033555 branch ssp_tx_rfcomm_from_uart_without_credit ,blank 
+0x6578 033556 jam 1 ,mem_rfcomm_send_offset 
+0x6579 033557 fetch 1 ,mem_hiufcs_spp_wcredits 
+0x657a 033558 store 1 ,mem_rfcomm_send_fcs 
+0x657b 033559 setarg rsp_rx_uih_wdata 
+0x657c 033560 store 1 ,mem_rfcomm_send_frame_type 
+0x657d 033561 branch ssp_tx_rfcomm_from_uart_common 
+:      033562 ssp_tx_rfcomm_from_uart_without_credit:
+0x657e 033563 jam 0 ,mem_rfcomm_send_offset 
+0x657f 033564 fetch 1 ,mem_hiufcs_spp 
+0x6580 033565 store 1 ,mem_rfcomm_send_fcs 
+0x6581 033566 setarg rsp_tx_uih 
+0x6582 033567 store 1 ,mem_rfcomm_send_frame_type 
+:      033568 ssp_tx_rfcomm_from_uart_common:
+0x6583 033569 bpatchx patch28_5 ,mem_patch28 
+0x6584 033570 fetch 2 ,mem_current_packet_length 
+0x6585 033571 sub pdata ,127 ,null 
+0x6586 033572 branch ssp_tx_rfcomm_from_uart_common0 ,positive 
+0x6587 033573 fetch 1 ,mem_rfcomm_send_offset 
+0x6588 033574 increase 1 ,pdata 
+0x6589 033575 store 1 ,mem_rfcomm_send_offset 
+:      033576 ssp_tx_rfcomm_from_uart_common0:
+0x658a 033577 call get_rfcomm_snd_adss 
+0x658b 033578 fetch 2 ,mem_current_packet_length 
+0x658c 033579 increase 8 ,pdata 
+0x658d 033580 fetcht 1 ,mem_rfcomm_send_offset 
+0x658e 033581 iadd temp ,rega 
+0x658f 033583 call l2cap_malloc 
+0x6590 033584 store 2 ,mem_rfcomm_tx_buff_ptr 
+0x6591 033585 increase 4 ,pdata 
+0x6592 033586 store 2 ,mem_rfcomm_tx_payload_ptr 
+0x6593 033587 copy pdata ,contw 
+0x6594 033588 fetch 1 ,mem_rfcomm_send_adss 
+0x6595 033589 istore 1 ,contw 
+0x6596 033590 fetch 1 ,mem_rfcomm_send_frame_type 
+0x6597 033591 istore 1 ,contw 
+0x6598 033592 call ssp_tx_write_length 
+0x6599 033593 call ssp_tx_write_given_credit 
+0x659a 033594 bpatchx patch28_6 ,mem_patch28 
+0x659b 033595 fetch 2 ,mem_nl_rx_data_src 
+0x659c 033596 copy pdata ,contu 
+0x659d 033597 fetch 2 ,mem_current_packet_length 
+0x659e 033598 copy pdata ,loopcnt 
+0x659f 033599 call uart_copy_rx_bytes_fast 
+0x65a0 033600 copy contw ,temp 
+0x65a1 033601 copy contu ,pdata 
+0x65a2 033602 store 2 ,mem_nl_rx_data_src 
+0x65a3 033603 copy temp ,contw 
+0x65a4 033604 fetch 1 ,mem_rfcomm_send_fcs 
+0x65a5 033605 istore 1 ,contw 
+0x65a6 033606 fetch 2 ,mem_rfcomm_tx_buff_ptr 
+0x65a7 033607 copy pdata ,contw 
+0x65a8 033608 fetch 2 ,mem_current_packet_length 
+0x65a9 033609 fetcht 1 ,mem_rfcomm_send_offset 
+0x65aa 033610 iadd temp ,pdata 
+0x65ab 033611 increase 4 ,pdata 
+0x65ac 033612 istore 2 ,contw 
+0x65ad 033613 fetch 2 ,mem_rfcomm_remote_cid 
+0x65ae 033614 istore 2 ,contw 
+0x65af 033615 jam 0 ,mem_credit_given 
+0x65b0 033616 fetch 2 ,mem_nl_rx_len_all 
+0x65b1 033617 beq 0 ,module_hci_command_tx_spp_tx_complete 
+0x65b2 033618 jam hci_not_discard_packet ,mem_module_temp_nl_discard_packet 
+0x65b3 033619 rtn 
+:      033621 ssp_tx_write_length:
+0x65b4 033622 bpatchx patch28_7 ,mem_patch28 
+0x65b5 033623 fetch 2 ,mem_current_packet_length 
+0x65b6 033624 sub pdata ,0x7f ,null 
+0x65b7 033625 nbranch ssp_tx_write_long_packet ,positive 
+0x65b8 033626 lshift pdata ,pdata 
+0x65b9 033627 set1 0 ,pdata 
+0x65ba 033628 istore 1 ,contw 
+0x65bb 033629 rtn 
+:      033630 ssp_tx_write_long_packet:
+0x65bc 033631 fetch 2 ,mem_current_packet_length 
+0x65bd 033632 rshift3 pdata ,pdata 
+0x65be 033633 rshift4 pdata ,temp 
+0x65bf 033634 and_into 0x7f ,pdata 
+0x65c0 033635 lshift pdata ,pdata 
+0x65c1 033636 set0 0 ,pdata 
+0x65c2 033637 istore 1 ,contw 
+0x65c3 033638 istoret 1 ,contw 
+0x65c4 033639 rtn 
+:      033640 ssp_tx_write_given_credit:
+0x65c5 033641 fetch 1 ,mem_credit_given 
+0x65c6 033642 rtn blank 
+0x65c7 033643 istore 1 ,contw 
+0x65c8 033644 rtn 
+:      033649 scheduler_process:
+0x65c9 033650 bpatchx patch29_0 ,mem_patch29 
+0x65ca 033651 call check_51cmd 
+0x65cb 033652 call app_process_bb_event 
+0x65cc 033653 call process_conn_sm 
+0x65cd 033655 bpatchx patch29_1 ,mem_patch29 
+0x65ce 033656 call sp_calc_sequence 
+0x65cf 033657 call simple_pairing_sequence 
+0x65d0 033658 call master_simple_paring_sequence 
+0x65d1 033661 call l2cap_malloc_is_fifo_full 
+0x65d2 033662 nrtn blank 
+0x65d3 033664 call l2cap_call_proc_sigal_pending 
+0x65d4 033665 call l2cap_malloc_is_fifo_full 
+0x65d5 033666 nrtn blank 
+0x65d6 033667 bpatchx patch29_2 ,mem_patch29 
+0x65d7 033669 call process_upper_sm 
+0x65d8 033670 call l2cap_send_config_req 
+0x65d9 033671 call rfcomm_send_more_pkt 
+:      033672 scheduler_process0:
+0x65da 033673 call scheduler_tx_disconnect_hid 
+0x65db 033674 bpatchx patch29_3 ,mem_patch29 
+0x65dc 033677 branch app_process_bt 
+:      033679 scheduler_tx_disconnect_hid:
+0x65dd 033680 fetch 1 ,mem_control_tasks 
+0x65de 033681 bbit1 l2cap_disconnect_interrupt ,l2cap_disconnect_interrupt_req 
+0x65df 033682 bbit1 l2cap_disconnect_control ,l2cap_disconnect_control_req 
+0x65e0 033683 rtn 
+:      033685 scheduler_tx_l2cap_pkt:
+0x65e1 033686 bpatchx patch29_4 ,mem_patch29 
+0x65e2 033687 call l2cap_malloc_is_fifo_empty 
+0x65e3 033688 rtn blank 
+0x65e4 033689 fetch 1 ,mem_op 
+0x65e5 033690 rtnbit1 op_txl2cap 
+0x65e6 033691 call l2cap_malloc_fifo_out 
+0x65e7 033692 store 2 ,mem_txptr 
+0x65e8 033693 copy pdata ,contr 
+0x65e9 033694 ifetch 2 ,contr 
+0x65ea 033695 increase 4 ,pdata 
+0x65eb 033696 store 2 ,mem_tx_len 
+0x65ec 033697 jam 6 ,mem_tx_lch 
+0x65ed 033698 bpatchx patch29_5 ,mem_patch29 
+0x65ee 033699 fetch 2 ,mem_l2cap_tx_multi_offset 
+0x65ef 033700 branch scheduler_tx_l2cap_start_pkt ,blank 
+0x65f0 033701 fetch 1 ,mem_op 
+0x65f1 033702 rtnbit0 op_pkt_comp 
+0x65f2 033703 set0 op_pkt_comp ,pdata 
+0x65f3 033704 store 1 ,mem_op 
+0x65f4 033705 jam 5 ,mem_tx_lch 
+0x65f5 033706 fetcht 2 ,mem_l2cap_tx_multi_offset 
+0x65f6 033707 fetch 2 ,mem_txptr 
+0x65f7 033708 iadd temp ,pdata 
+0x65f8 033709 store 2 ,mem_txptr 
+0x65f9 033710 fetch 2 ,mem_tx_len 
+0x65fa 033711 isub temp ,pdata 
+0x65fb 033712 store 2 ,mem_tx_len 
+:      033713 scheduler_tx_l2cap_start_pkt:
+0x65fc 033714 fetch 2 ,mem_tx_len 
+0x65fd 033715 branch assert ,blank 
+0x65fe 033716 arg l2cap_max_pkt_len ,temp 
+0x65ff 033717 isub temp ,pdata 
+0x6600 033718 branch scheduler_tx_l2cap_last_pkt ,zero 
+0x6601 033719 nbranch scheduler_tx_l2cap_last_pkt ,positive 
+0x6602 033720 storet 2 ,mem_tx_len 
+0x6603 033721 fetch 2 ,mem_l2cap_tx_multi_offset 
+0x6604 033722 iadd temp ,pdata 
+0x6605 033723 store 2 ,mem_l2cap_tx_multi_offset 
+0x6606 033724 branch scheduler_tx_l2cap_pkt_end 
+:      033725 scheduler_tx_l2cap_last_pkt:
+0x6607 033726 setarg 0 
+0x6608 033727 store 2 ,mem_l2cap_tx_multi_offset 
+:      033728 scheduler_tx_l2cap_pkt_end:
+0x6609 033729 fetch 1 ,mem_op 
+0x660a 033730 set1 op_txl2cap ,pdata 
+0x660b 033731 store 1 ,mem_op 
+0x660c 033732 rtn 
+:      033734 scheduler_start_upper_sm:
+0x660d 033735 fetch 1 ,mem_ui_profile_supported 
+0x660e 033736 bbit1 support_hid ,scheduler_start_upper_sm_hid 
+0x660f 033737 jam uppersm_reconn_sdp_conn ,mem_upper_sm_reconn 
+0x6610 033738 rtn 
+:      033739 scheduler_start_upper_sm_hid:
+0x6611 033740 jam uppersm_reconn_hid_ctrl_conn ,mem_upper_sm_reconn 
+0x6612 033741 rtn 
+:      033743 process_upper_sm:
+0x6613 033744 fetch 1 ,memui_reconnect_mode 
+0x6614 033745 nbranch process_upper_sm_reconn ,blank 
+:      033746 process_upper_sm_remote_page:
+0x6615 033747 fetch 1 ,mem_upper_sm_remote_page 
+0x6616 033749 rtn blank 
+0x6617 033751 jam 0 ,mem_upper_sm_remote_page 
+:      033752 process_upper_sm_rp_wait:
+0x6618 033753 rtn 
+:      033756 process_upper_sm_reconn:
+0x6619 033757 bpatchx patch29_6 ,mem_patch29 
+0x661a 033758 fetch 1 ,mem_upper_sm_reconn 
+0x661b 033759 rtn blank 
+0x661c 033760 beq uppersm_reconn_sdp_conn ,process_upper_sm_reconn_sdp_conn 
+0x661d 033761 beq uppersm_reconn_sdp_conn_wait ,process_upper_sm_reconn_sdp_conn_wait 
+0x661e 033762 beq uppersm_reconn_sdp_cfg ,process_upper_sm_reconn_sdp_cfg 
+0x661f 033763 beq uppersm_reconn_sdp_cfg_wait ,process_upper_sm_reconn_sdp_cfg_wait 
+0x6620 033764 beq uppersm_reconn_ss_spp ,process_upper_sm_reconn_ss_spp 
+0x6621 033765 beq uppersm_reconn_ss_spp_wait ,process_upper_sm_reconn_ss_spp_wait 
+0x6622 033766 beq uppersm_reconn_sdp_disconn ,process_upper_sm_reconn_sdp_disconn 
+0x6623 033767 beq uppersm_reconn_sdp_disconn_wait ,process_upper_sm_reconn_sdp_disconn_wait 
+0x6624 033768 beq uppersm_reconn_hid_ctrl_conn ,process_upper_sm_reconn_hid_ctrl_conn 
+0x6625 033769 beq uppersm_reconn_hid_ctrl_conn_wait ,process_upper_sm_reconn_hid_ctrl_conn_wait 
+0x6626 033770 beq uppersm_reconn_hid_ctrl_cfg ,process_upper_sm_reconn_hid_ctrl_cfg 
+0x6627 033771 beq uppersm_reconn_hid_ctrl_cfg_wait ,process_upper_sm_reconn_hid_ctrl_cfg_wait 
+0x6628 033772 beq uppersm_reconn_hid_int_conn ,process_upper_sm_reconn_hid_int_conn 
+0x6629 033773 beq uppersm_reconn_hid_int_conn_wait ,process_upper_sm_reconn_hid_int_conn_wait 
+0x662a 033774 beq uppersm_reconn_hid_int_cfg ,process_upper_sm_reconn_hid_int_cfg 
+0x662b 033775 beq uppersm_reconn_hid_int_cfg_wait ,process_upper_sm_reconn_hid_int_cfg_wait 
+0x662c 033776 beq uppersm_reconn_rfcomm_conn ,process_upper_sm_reconn_rfcomm_conn 
+0x662d 033777 beq uppersm_reconn_rfcomm_conn_wait ,process_upper_sm_reconn_rfcomm_conn_wait 
+0x662e 033778 beq uppersm_reconn_rfcomm_cfg ,process_upper_sm_reconn_rfcomm_cfg 
+0x662f 033779 beq uppersm_reconn_rfcomm_cfg_wait ,process_upper_sm_reconn_rfcomm_cfg_wait 
+0x6630 033780 beq uppersm_reconn_rfcomm_sabm ,process_upper_sm_reconn_rfcomm_sabm 
+0x6631 033781 beq uppersm_reconn_rfcomm_sabm_wait ,process_upper_sm_reconn_rfcomm_sabm_wait 
+0x6632 033782 beq uppersm_reconn_spp_cmd_pn ,process_upper_sm_reconn_spp_cmd_pn 
+0x6633 033783 beq uppersm_reconn_spp_cmd_pn_wait ,process_upper_sm_reconn_spp_cmd_pn_wait 
+0x6634 033784 beq uppersm_reconn_spp_sabm ,process_upper_sm_reconn_spp_sabm 
+0x6635 033785 beq uppersm_reconn_spp_sabm_wait ,process_upper_sm_reconn_spp_sabm_wait 
+0x6636 033786 beq uppersm_reconn_spp_cmd_ms ,process_upper_sm_reconn_spp_cmd_ms 
+0x6637 033787 beq uppersm_reconn_spp_cmd_ms_wait ,process_upper_sm_reconn_spp_cmd_ms_wait 
+:      033788 process_upper_sm_reconn_wait:
+0x6638 033789 rtn 
+:      033790 process_upper_sm_reconn_sdp_conn:
+0x6639 033791 call upper_sm_send_sdp_conn 
+0x663a 033792 jam uppersm_reconn_sdp_conn_wait ,mem_upper_sm_reconn 
+0x663b 033793 fetch 1 ,mem_sdp_state 
+0x663c 033794 set1 l2cap_channel_state_conn_req ,pdata 
+0x663d 033795 store 1 ,mem_sdp_state 
+0x663e 033796 rtn 
+:      033797 process_upper_sm_reconn_sdp_cfg:
+0x663f 033798 jam uppersm_reconn_sdp_cfg_wait ,mem_upper_sm_reconn 
+0x6640 033799 fetch 1 ,mem_sdp_state 
+0x6641 033800 rtnbit1 l2cap_channel_state_snd_cfg_req 
+0x6642 033801 jam uppersm_reconn_sdp_cfg ,mem_upper_sm_reconn 
+0x6643 033802 call upper_sm_send_sdp_cfg 
+0x6644 033803 jam uppersm_reconn_sdp_cfg_wait ,mem_upper_sm_reconn 
+0x6645 033804 fetch 1 ,mem_sdp_state 
+0x6646 033805 set1 l2cap_channel_state_snd_cfg_req ,pdata 
+0x6647 033806 store 1 ,mem_sdp_state 
+0x6648 033807 rtn 
+:      033808 process_upper_sm_reconn_ss_spp:
+0x6649 033809 call l2cap_malloc_is_fifo_empty 
+0x664a 033810 nrtn blank 
+0x664b 033811 call upper_sm_send_ss_spp 
+0x664c 033812 jam uppersm_reconn_ss_spp_wait ,mem_upper_sm_reconn 
+0x664d 033813 rtn 
+:      033814 process_upper_sm_reconn_sdp_disconn:
+0x664e 033815 call upper_sm_send_sdp_disconn 
+0x664f 033816 jam uppersm_reconn_sdp_disconn_wait ,mem_upper_sm_reconn 
+0x6650 033817 rtn 
+:      033818 process_upper_sm_reconn_hid_ctrl_conn:
+0x6651 033819 call upper_sm_send_hid_ctrl_conn 
+0x6652 033820 jam uppersm_reconn_hid_ctrl_conn_wait ,mem_upper_sm_reconn 
+0x6653 033821 fetch 1 ,mem_hid_control_state 
+0x6654 033822 set1 l2cap_channel_state_conn_req ,pdata 
+0x6655 033823 store 1 ,mem_hid_control_state 
+0x6656 033824 rtn 
+:      033825 process_upper_sm_reconn_hid_ctrl_cfg:
+0x6657 033826 call upper_sm_send_hid_ctrl_cfg 
+0x6658 033827 jam uppersm_reconn_hid_ctrl_cfg_wait ,mem_upper_sm_reconn 
+0x6659 033828 fetch 1 ,mem_hid_control_state 
+0x665a 033829 set1 l2cap_channel_state_snd_cfg_req ,pdata 
+0x665b 033830 store 1 ,mem_hid_control_state 
+0x665c 033831 rtn 
+:      033832 process_upper_sm_reconn_hid_int_conn:
+0x665d 033833 call upper_sm_send_hid_int_conn 
+0x665e 033834 jam uppersm_reconn_hid_int_conn_wait ,mem_upper_sm_reconn 
+0x665f 033835 fetch 1 ,mem_hid_interrupt_state 
+0x6660 033836 set1 l2cap_channel_state_conn_req ,pdata 
+0x6661 033837 store 1 ,mem_hid_interrupt_state 
+0x6662 033838 rtn 
+:      033839 process_upper_sm_reconn_hid_int_cfg:
+0x6663 033840 call upper_sm_send_hid_int_cfg 
+0x6664 033841 jam uppersm_reconn_hid_int_cfg_wait ,mem_upper_sm_reconn 
+0x6665 033842 fetch 1 ,mem_hid_interrupt_state 
+0x6666 033843 set1 l2cap_channel_state_snd_cfg_req ,pdata 
+0x6667 033844 store 1 ,mem_hid_interrupt_state 
+0x6668 033845 rtn 
+:      033846 process_upper_sm_reconn_rfcomm_conn:
+0x6669 033847 call upper_sm_send_rfcomm_conn 
+0x666a 033848 jam uppersm_reconn_rfcomm_conn_wait ,mem_upper_sm_reconn 
+0x666b 033849 fetch 1 ,mem_rfcomm_state 
+0x666c 033850 set1 l2cap_channel_state_conn_req ,pdata 
+0x666d 033851 store 1 ,mem_rfcomm_state 
+0x666e 033852 rtn 
+:      033853 process_upper_sm_reconn_rfcomm_cfg:
+0x666f 033854 call upper_sm_send_rfcomm_cfg 
+0x6670 033855 jam uppersm_reconn_rfcomm_cfg_wait ,mem_upper_sm_reconn 
+0x6671 033856 fetch 1 ,mem_rfcomm_state 
+0x6672 033857 set1 l2cap_channel_state_snd_cfg_req ,pdata 
+0x6673 033858 store 1 ,mem_rfcomm_state 
+0x6674 033859 rtn 
+:      033860 process_upper_sm_reconn_rfcomm_sabm:
+0x6675 033861 call upper_sm_send_rfcomm_sabm 
+0x6676 033862 jam uppersm_reconn_rfcomm_sabm_wait ,mem_upper_sm_reconn 
+0x6677 033863 fetch 1 ,mem_rfcomm_state 
+0x6678 033864 set1 l2cap_channel_rfcomm_only_sabm ,pdata 
+0x6679 033865 store 1 ,mem_rfcomm_state 
+0x667a 033866 rtn 
+:      033867 process_upper_sm_reconn_spp_cmd_pn:
+0x667b 033868 call upper_sm_send_spp_cmd_pn 
+0x667c 033869 fetch 1 ,mem_spp_state 
+0x667d 033870 set1 rfcomm_channel_state_pn_cmd ,pdata 
+0x667e 033871 store 1 ,mem_spp_state 
+0x667f 033872 jam uppersm_reconn_spp_cmd_pn_wait ,mem_upper_sm_reconn 
+0x6680 033873 rtn 
+:      033874 process_upper_sm_reconn_spp_sabm:
+0x6681 033875 call upper_sm_send_spp_sabm 
+0x6682 033876 fetch 1 ,mem_spp_state 
+0x6683 033877 set1 rfcomm_channel_state_sabm ,pdata 
+0x6684 033878 store 1 ,mem_spp_state 
+0x6685 033879 jam uppersm_reconn_spp_sabm_wait ,mem_upper_sm_reconn 
+0x6686 033880 fetch 1 ,mem_remote_spp_channel 
+0x6687 033881 lshift3 pdata ,pdata 
+0x6688 033882 or_into 3 ,pdata 
+0x6689 033883 arg mem_hiufcs_spp ,temp 
+0x668a 033884 storet 2 ,mem_contw_temp 
+0x668b 033885 branch rfcomm_save_fcs_uih 
+:      033886 process_upper_sm_reconn_spp_cmd_ms:
+0x668c 033887 call upper_sm_send_spp_cmd_ms 
+0x668d 033888 fetch 1 ,mem_spp_state 
+0x668e 033889 set1 rfcomm_channel_state_snd_ms_cmd ,pdata 
+0x668f 033890 store 1 ,mem_spp_state 
+0x6690 033891 jam uppersm_reconn_spp_cmd_ms_wait ,mem_upper_sm_reconn 
+0x6691 033892 rtn 
+:      033894 process_upper_sm_reconn_sdp_conn_wait:
+0x6692 033895 fetch 1 ,mem_sdp_state 
+0x6693 033896 rtnbit0 l2cap_channel_state_conn_res 
+0x6694 033897 jam uppersm_reconn_sdp_cfg ,mem_upper_sm_reconn 
+0x6695 033898 branch process_upper_sm_reconn 
+:      033899 process_upper_sm_reconn_sdp_cfg_wait:
+0x6696 033900 fetch 1 ,mem_sdp_state 
+0x6697 033901 rtnne l2cap_channel_setup_complete 
+0x6698 033902 jam uppersm_reconn_ss_spp ,mem_upper_sm_reconn 
+:      033903 process_upper_sm_reconn_ss_spp_wait:
+0x6699 033904 fetch 1 ,mem_message_to_uppersm 
+0x669a 033905 rtnne recieve_ss_reasult_hf 
+0x669b 033906 jam 0 ,mem_message_to_uppersm 
+0x669c 033907 jam uppersm_reconn_sdp_disconn ,mem_upper_sm_reconn 
+0x669d 033908 branch process_upper_sm_reconn 
+:      033909 process_upper_sm_reconn_sdp_disconn_wait:
+0x669e 033910 fetch 1 ,mem_sdp_state 
+0x669f 033911 nrtn blank 
+0x66a0 033912 fetch 1 ,mem_ui_profile_supported 
+0x66a1 033913 bbit1 support_hid ,process_upper_sm_reconn_setup_hid 
+0x66a2 033914 bbit1 support_spp ,process_upper_sm_reconn_setup_rfcomm 
+0x66a3 033915 branch process_upper_sm_reconn_termination 
+:      033916 process_upper_sm_reconn_hid_ctrl_conn_wait:
+0x66a4 033917 fetch 1 ,mem_hid_control_state 
+0x66a5 033918 rtnbit0 l2cap_channel_state_conn_res 
+0x66a6 033919 jam uppersm_reconn_hid_ctrl_cfg ,mem_upper_sm_reconn 
+0x66a7 033920 branch process_upper_sm_reconn 
+:      033921 process_upper_sm_reconn_hid_ctrl_cfg_wait:
+0x66a8 033922 fetch 1 ,mem_hid_control_state 
+0x66a9 033923 rtnne l2cap_channel_setup_complete 
+0x66aa 033924 jam uppersm_reconn_hid_int_conn ,mem_upper_sm_reconn 
+0x66ab 033925 branch process_upper_sm_reconn 
+:      033926 process_upper_sm_reconn_hid_int_conn_wait:
+0x66ac 033927 fetch 1 ,mem_hid_interrupt_state 
+0x66ad 033928 rtnbit0 l2cap_channel_state_conn_res 
+0x66ae 033929 jam uppersm_reconn_hid_int_cfg ,mem_upper_sm_reconn 
+0x66af 033930 branch process_upper_sm_reconn 
+:      033931 process_upper_sm_reconn_hid_int_cfg_wait:
+0x66b0 033932 fetch 1 ,mem_hid_interrupt_state 
+0x66b1 033933 rtnne l2cap_channel_setup_complete 
+0x66b2 033934 fetch 1 ,mem_ui_profile_supported 
+0x66b3 033935 bbit1 support_spp ,process_upper_sm_reconn_setup_rfcomm 
+0x66b4 033936 branch process_upper_sm_reconn_termination 
+:      033937 process_upper_sm_reconn_rfcomm_conn_wait:
+0x66b5 033938 fetch 1 ,mem_rfcomm_state 
+0x66b6 033939 rtnbit0 l2cap_channel_state_conn_res 
+0x66b7 033940 jam uppersm_reconn_rfcomm_cfg ,mem_upper_sm_reconn 
+0x66b8 033941 branch process_upper_sm_reconn 
+:      033942 process_upper_sm_reconn_rfcomm_cfg_wait:
+0x66b9 033943 fetch 1 ,mem_rfcomm_state 
+0x66ba 033944 rtnne l2cap_channel_setup_complete 
+0x66bb 033945 jam uppersm_reconn_rfcomm_sabm ,mem_upper_sm_reconn 
+0x66bc 033946 branch process_upper_sm_reconn 
+:      033947 process_upper_sm_reconn_rfcomm_sabm_wait:
+0x66bd 033948 fetch 1 ,mem_rfcomm_state 
+0x66be 033949 rtnne l2cap_channel_rfcomm_dlci0_opened 
+0x66bf 033950 fetch 1 ,mem_ui_profile_supported 
+0x66c0 033951 bbit1 support_spp ,process_upper_sm_reconn_setup_spp 
+0x66c1 033952 branch process_upper_sm_reconn_termination 
+:      033953 process_upper_sm_reconn_spp_cmd_pn_wait:
+0x66c2 033954 fetch 1 ,mem_spp_state 
+0x66c3 033955 rtnbit0 rfcomm_channel_state_pn_res 
+0x66c4 033956 jam uppersm_reconn_spp_sabm ,mem_upper_sm_reconn 
+0x66c5 033957 branch process_upper_sm_reconn 
+:      033958 process_upper_sm_reconn_spp_sabm_wait:
+0x66c6 033959 fetch 1 ,mem_spp_state 
+0x66c7 033960 rtnbit0 rfcomm_channel_state_ua 
+0x66c8 033961 jam uppersm_reconn_spp_cmd_ms ,mem_upper_sm_reconn 
+0x66c9 033962 branch process_upper_sm_reconn 
+:      033963 process_upper_sm_reconn_spp_cmd_ms_wait:
+0x66ca 033964 fetch 1 ,mem_spp_state 
+0x66cb 033965 rtnne rfcomm_channel_setup_complete 
+0x66cc 033966 branch process_upper_sm_reconn_termination 
+:      033968 process_upper_sm_reconn_setup_hid:
+0x66cd 033969 jam uppersm_reconn_hid_ctrl_conn ,mem_upper_sm_reconn 
+0x66ce 033970 branch process_upper_sm_reconn 
+:      033972 process_upper_sm_reconn_setup_rfcomm:
+0x66cf 033973 jam uppersm_reconn_rfcomm_conn ,mem_upper_sm_reconn 
+0x66d0 033974 branch process_upper_sm_reconn 
+:      033975 process_upper_sm_reconn_setup_spp:
+0x66d1 033976 jam uppersm_reconn_spp_cmd_pn ,mem_upper_sm_reconn 
+0x66d2 033977 branch process_upper_sm_reconn 
+:      033981 process_upper_sm_reconn_termination:
+0x66d3 033982 jam 0 ,mem_upper_sm_reconn 
+0x66d4 033983 rtn 
+:      033984 upper_sm_send_sdp_conn:
+0x66d5 033985 bpatchx patch29_7 ,mem_patch29 
+0x66d6 033986 call l2cap_malloc_signal_channel 
+0x66d7 033987 setarg psm_sdp 
+0x66d8 033988 copy pdata ,temp 
+0x66d9 033989 setarg l2cap_sdp_channel 
+0x66da 033990 copy pdata ,timeup 
+0x66db 033991 branch ml2cap_send_signal_connect_req 
+:      033993 upper_sm_send_sdp_cfg:
+0x66dc 033994 bpatchx patch2a_0 ,mem_patch2a 
+0x66dd 033995 call l2cap_malloc_signal_channel 
+0x66de 033996 fetch 2 ,mem_sdp_remote_cid 
+0x66df 033997 copy pdata ,temp 
+0x66e0 033998 branch ml2cap_send_signal_config_req 
+:      034000 upper_sm_send_sdp_disconn:
+0x66e1 034001 bpatchx patch2a_1 ,mem_patch2a 
+0x66e2 034002 call l2cap_malloc_signal_channel 
+0x66e3 034003 fetch 2 ,mem_sdp_remote_cid 
+0x66e4 034004 copy pdata ,temp 
+0x66e5 034005 arg l2cap_sdp_channel ,timeup 
+0x66e6 034006 call ml2cap_send_signal_disconn_req 
+0x66e7 034007 fetch 1 ,mem_sdp_state 
+0x66e8 034008 set0 l2cap_channel_state_rcv_cfg_res ,pdata 
+0x66e9 034009 store 1 ,mem_sdp_state 
+0x66ea 034010 rtn 
+:      034012 upper_sm_send_ss_spp:
+0x66eb 034013 bpatchx patch2a_2 ,mem_patch2a 
+0x66ec 034014 call l2cap_malloc_sdp_channel 
+0x66ed 034015 call sdp_send_spp_request 
+0x66ee 034016 branch msdp_send_req_done 
+:      034018 upper_sm_send_rfcomm_conn:
+0x66ef 034019 bpatchx patch2a_3 ,mem_patch2a 
+0x66f0 034020 call l2cap_malloc_signal_channel 
+0x66f1 034021 setarg psm_rfcomm 
+0x66f2 034022 copy pdata ,temp 
+0x66f3 034023 setarg l2cap_rfcomm_channel 
+0x66f4 034024 copy pdata ,timeup 
+0x66f5 034025 branch ml2cap_send_signal_connect_req 
+:      034027 upper_sm_send_rfcomm_cfg:
+0x66f6 034028 bpatchx patch2a_4 ,mem_patch2a 
+0x66f7 034029 call l2cap_malloc_signal_channel 
+0x66f8 034030 fetch 2 ,mem_rfcomm_remote_cid 
+0x66f9 034031 copy pdata ,temp 
+0x66fa 034032 branch ml2cap_send_signal_config_req 
+:      034034 upper_sm_send_hid_ctrl_conn:
+0x66fb 034035 bpatchx patch2a_5 ,mem_patch2a 
+0x66fc 034036 call l2cap_malloc_signal_channel 
+0x66fd 034037 setarg psm_hid_control 
+0x66fe 034038 copy pdata ,temp 
+0x66ff 034039 setarg l2cap_hid_control_channel 
+0x6700 034040 copy pdata ,timeup 
+0x6701 034041 branch ml2cap_send_signal_connect_req 
+:      034043 upper_sm_send_hid_ctrl_cfg:
+0x6702 034044 bpatchx patch2a_6 ,mem_patch2a 
+0x6703 034045 call l2cap_malloc_signal_channel 
+0x6704 034046 fetch 2 ,mem_hid_ctrl_remote_cid 
+0x6705 034047 copy pdata ,temp 
+0x6706 034048 branch ml2cap_send_signal_config_req 
+:      034050 upper_sm_send_hid_int_conn:
+0x6707 034051 bpatchx patch2a_7 ,mem_patch2a 
+0x6708 034052 call l2cap_malloc_signal_channel 
+0x6709 034053 setarg psm_hid_interrupt 
+0x670a 034054 copy pdata ,temp 
+0x670b 034055 setarg l2cap_hid_interrupt_channel 
+0x670c 034056 copy pdata ,timeup 
+0x670d 034057 branch ml2cap_send_signal_connect_req 
+:      034059 upper_sm_send_hid_int_cfg:
+0x670e 034060 bpatchx patch2b_0 ,mem_patch2b 
+0x670f 034061 call l2cap_malloc_signal_channel 
+0x6710 034062 fetch 2 ,mem_hid_int_remote_cid 
+0x6711 034063 copy pdata ,temp 
+0x6712 034064 branch ml2cap_send_signal_config_req 
+:      034066 upper_sm_send_rfcomm_sabm:
+0x6713 034067 bpatchx patch2b_1 ,mem_patch2b 
+0x6714 034068 call l2cap_malloc_rfcomm_channel 
+0x6715 034070 jam 3 ,mem_current_adss 
+0x6716 034071 jam 0x1c ,mem_current_fcs 
+0x6717 034072 call rfcomm_send_sabm 
+0x6718 034073 jam 1 ,mem_rfcomm_initiator 
+0x6719 034074 rtn 
+:      034076 upper_sm_send_spp_cmd_pn:
+0x671a 034077 bpatchx patch2b_2 ,mem_patch2b 
+0x671b 034078 call l2cap_malloc_rfcomm_channel 
+0x671c 034079 fetcht 1 ,mem_remote_spp_channel 
+0x671d 034080 call channel_to_dlci 
+0x671e 034081 storet 1 ,mem_pn_dlci 
+0x671f 034082 branch rfcomm_send_param_neg_cmd 
+:      034084 upper_sm_send_spp_sabm:
+0x6720 034085 bpatchx patch2b_3 ,mem_patch2b 
+0x6721 034086 call l2cap_malloc_rfcomm_channel 
+0x6722 034087 fetcht 1 ,mem_pn_dlci 
+0x6723 034088 call dlci_to_address_cmd 
+0x6724 034089 call rfcomm_calculate_fcs_sabm 
+0x6725 034090 store 1 ,mem_current_fcs 
+0x6726 034091 fetcht 1 ,mem_pn_dlci 
+0x6727 034092 call dlci_to_address_cmd 
+0x6728 034093 storet 1 ,mem_current_adss 
+0x6729 034094 branch rfcomm_send_sabm 
+:      034096 upper_sm_send_spp_cmd_ms:
+0x672a 034097 bpatchx patch2b_4 ,mem_patch2b 
+0x672b 034098 call l2cap_malloc_rfcomm_channel 
+0x672c 034099 fetcht 1 ,mem_pn_dlci 
+0x672d 034100 call dlci_to_address_cmd 
+0x672e 034101 branch rfcomm_send_modem_status_cmd 
+:      034114 sdp_process:
+0x672f 034115 bpatchx patch2b_5 ,mem_patch2b 
+0x6730 034116 fetch 2 ,mem_l2cap_payload_ptr 
+0x6731 034117 iforce contr 
+0x6732 034120 ifetch 1 ,contr 
+0x6733 034121 copy pdata ,regb 
+0x6734 034122 store 1 ,mem_sdp_pduid 
+0x6735 034123 ifetch 2 ,contr 
+0x6736 034124 store 2 ,mem_sdp_transactionid 
+0x6737 034125 ifetch 1 ,contr 
+0x6738 034126 lshift8 pdata ,timeup 
+0x6739 034127 ifetch 1 ,contr 
+0x673a 034128 iadd timeup ,timeup 
+0x673b 034129 bpatchx patch2b_6 ,mem_patch2b 
+0x673c 034130 copy contr ,temp 
+0x673d 034131 arg 4 ,loopcnt 
+0x673e 034132 arg mem_sdp_handle_list ,contw 
+0x673f 034133 call memset0 
+0x6740 034134 copy temp ,contr 
+0x6741 034135 deposit regb 
+0x6742 034136 beq sdp_error_res ,sdp_process_error_res 
+0x6743 034137 beq sdp_search_req ,sdp_process_ss_req 
+0x6744 034138 beq sdp_search_res ,sdp_process_ss_res 
+0x6745 034139 beq sdp_attribute_req ,sdp_process_sa_req 
+0x6746 034140 beq sdp_attribute_res ,sdp_process_sa_res 
+0x6747 034141 beq sdp_searchattrib_req ,sdp_process_ssa_req 
+0x6748 034142 beq sdp_searchattrib_res ,sdp_process_ssa_res 
+0x6749 034143 branch sdp_insufficient_resource 
+:      034154 sdp_process_ss_req:
+0x674a 034155 bpatchx patch2b_7 ,mem_patch2b 
+0x674b 034156 call ask_serviceclassid 
+0x674c 034157 compare 1 ,temp ,0xff 
+0x674d 034158 branch ss_empty_rsp ,true 
+0x674e 034159 compare 0xff ,temp ,0xff 
+0x674f 034160 branch sdp_invalid_request_syntax ,true 
+0x6750 034162 ifetch 2 ,contr 
+0x6751 034163 store 2 ,mem_sdp_record_maxcnt 
+0x6752 034164 increase -2 ,timeup 
+0x6753 034166 increase -1 ,timeup 
+0x6754 034167 nbranch sdp_invalid_pdu_size ,zero 
+0x6755 034168 arg mem_sdp_uuid_search_ptr ,timeup 
+0x6756 034169 ifetch 2 ,timeup 
+0x6757 034170 rtn blank 
+0x6758 034171 call search_all_uuid 
+0x6759 034172 call l2cap_get_sdp_tx_payload 
+0x675a 034173 force 3 ,pdata 
+0x675b 034174 istore 1 ,contw 
+0x675c 034175 fetch 2 ,mem_sdp_transactionid 
+0x675d 034176 istore 2 ,contw 
+0x675e 034177 lshift2 queue ,pdata 
+0x675f 034178 add pdata ,5 ,pdata 
+0x6760 034179 add pdata ,5 ,regc 
+0x6761 034180 byteswap pdata ,pdata 
+0x6762 034181 istore 2 ,contw 
+0x6763 034182 deposit queue 
+0x6764 034183 byteswap pdata ,pdata 
+0x6765 034184 istore 2 ,contw 
+0x6766 034185 istore 2 ,contw 
+0x6767 034186 arg mem_sdp_handle_list ,contr 
+0x6768 034187 copy queue ,loopcnt 
+0x6769 034188 branch ss_req_blank ,zero 
+:      034189 ss_req_loop:
+0x676a 034190 ifetch 4 ,contr 
+0x676b 034191 istore 4 ,contw 
+0x676c 034192 loop ss_req_loop 
+:      034193 ss_req_blank:
+0x676d 034194 force 0 ,pdata 
+0x676e 034195 istore 1 ,contw 
+0x676f 034196 deposit regc 
+0x6770 034197 store 2 ,mem_sdp_tx_pkt_length 
+0x6771 034199 rtn 
+:      034210 sdp_process_sa_req:
+0x6772 034211 bpatchx patch2c_0 ,mem_patch2c 
+0x6773 034212 ifetch 4 ,contr 
+0x6774 034213 store 4 ,mem_sdp_record_handle 
+0x6775 034214 increase -4 ,timeup 
+0x6776 034215 call sdp_store_maxbyte 
+0x6777 034216 store 2 ,mem_sdp_attribute_maxbyte 
+0x6778 034217 increase -2 ,timeup 
+0x6779 034218 call dataelementtype6 
+0x677a 034219 branch sdp_invalid_request_syntax ,zero 
+0x677b 034220 compare 5 ,rega ,0xff 
+0x677c 034222 branch sa_judge_wholerange ,true 
+:      034223 sa_isnot_wholerange:
+0x677d 034224 arg mem_sdp_attrib_list ,contw 
+0x677e 034225 force 0 ,queue 
+0x677f 034226 branch sa_req_loop 
+:      034227 sa_judge_wholerange:
+0x6780 034228 ifetch 1 ,contr 
+0x6781 034229 bne sdp_attribute_range ,sdp_invalid_request_syntax 
+0x6782 034230 ifetch 2 ,contr 
+0x6783 034231 nbranch sa_judge_wholerange_false1 ,blank 
+0x6784 034232 ifetch 1 ,contr 
+0x6785 034233 bne 0xff ,sa_judge_wholerange_false2 
+0x6786 034234 ifetch 1 ,contr 
+0x6787 034235 bne 0xff ,sa_judge_wholerange_false3 
+0x6788 034236 branch sa_req_all 
+:      034237 sa_judge_wholerange_false3:
+0x6789 034238 increase -5 ,contr 
+0x678a 034239 branch sa_isnot_wholerange 
+:      034240 sa_judge_wholerange_false2:
+0x678b 034241 increase -4 ,contr 
+0x678c 034242 branch sa_isnot_wholerange 
+:      034243 sa_judge_wholerange_false1:
+0x678d 034244 increase -3 ,contr 
+0x678e 034245 branch sa_isnot_wholerange 
+:      034246 sa_req_loop:
+0x678f 034247 ifetch 1 ,contr 
+0x6790 034248 beq sdp_attribute_id ,sa_req_one_id 
+0x6791 034249 beq sdp_attribute_range ,sa_req_range 
+:      034250 sa_req_range:
+0x6792 034251 ifetch 2 ,contr 
+0x6793 034252 istore 2 ,contw 
+0x6794 034253 increase 1 ,queue 
+0x6795 034254 byteswap pdata ,regb 
+0x6796 034255 ifetch 2 ,contr 
+0x6797 034256 byteswap pdata ,pdata 
+:      034257 sa_req_range_id_increase:
+0x6798 034258 increase 1 ,regb 
+0x6799 034259 isub regb ,null 
+0x679a 034260 nbranch sa_req_range_id_finish ,positive 
+0x679b 034261 copy pdata ,regc 
+0x679c 034262 byteswap regb ,pdata 
+0x679d 034263 istore 2 ,contw 
+0x679e 034264 increase 1 ,queue 
+0x679f 034265 copy regc ,pdata 
+0x67a0 034266 branch sa_req_range_id_increase 
+:      034267 sa_req_range_id_finish:
+0x67a1 034268 increase -5 ,timeup 
+0x67a2 034269 increase -5 ,rega 
+0x67a3 034270 branch sa_req_check_next_id 
+:      034271 sa_req_one_id:
+0x67a4 034272 ifetch 2 ,contr 
+0x67a5 034273 istore 2 ,contw 
+0x67a6 034274 increase 1 ,queue 
+0x67a7 034275 increase -3 ,timeup 
+0x67a8 034276 increase -3 ,rega 
+:      034277 sa_req_check_next_id:
+0x67a9 034278 nbranch sdp_invalid_request_syntax ,positive 
+0x67aa 034279 nbranch sa_req_loop ,zero 
+0x67ab 034280 increase -1 ,timeup 
+0x67ac 034281 nbranch sdp_invalid_request_syntax ,zero 
+0x67ad 034283 call l2cap_get_sdp_tx_payload 
+0x67ae 034284 increase 10 ,contw 
+0x67af 034285 arg mem_sdp_attrib_list ,rega 
+:      034286 sa_req_handle_attributelist_next:
+0x67b0 034287 copy queue ,pdata 
+0x67b1 034288 branch sa_req_handle_attributelist_end ,blank 
+0x67b2 034289 ifetch 2 ,rega 
+0x67b3 034290 branch sa_req_handle_attributelist_end ,blank 
+0x67b4 034291 iforce regb 
+0x67b5 034292 fetch 4 ,mem_sdp_record_handle 
+0x67b6 034293 iforce temp 
+0x67b7 034294 call search_handle_attrib 
+0x67b8 034295 copy contr ,pdata 
+0x67b9 034296 branch sa_req_handle_attributelist_notfound ,blank 
+0x67ba 034297 increase -3 ,contr 
+0x67bb 034298 ifetch 3 ,contr 
+0x67bc 034299 istore 3 ,contw 
+0x67bd 034300 call sdp_data_len 
+0x67be 034301 iforce loopcnt 
+0x67bf 034302 call memcpy 
+:      034303 sa_req_handle_attributelist_notfound:
+0x67c0 034304 increase 2 ,rega 
+0x67c1 034305 increase -1 ,queue 
+0x67c2 034306 branch sa_req_handle_attributelist_next 
+:      034308 sa_req_handle_attributelist_end:
+0x67c3 034309 arg sdp_attribute_res ,rega 
+0x67c4 034310 call ssa_req_range_lastfreg_common 
+0x67c5 034311 fetch 2 ,mem_sdp_tx_pkt_length 
+0x67c6 034312 beq 11 ,sa_empty_rsp 
+0x67c7 034313 branch ssa_req_range_attrbutes_length_no_continue 
+:      034316 sdp_store_continue_common:
+0x67c8 034317 ifetch 1 ,contr 
+0x67c9 034318 beq 0 ,sdp_store_continue_0byte 
+0x67ca 034319 beq 1 ,sdp_store_continue_1byte 
+0x67cb 034320 beq 2 ,sdp_store_continue_2byte 
+:      034321 sdp_store_continue_0byte:
+0x67cc 034322 increase -1 ,timeup 
+0x67cd 034323 branch sdp_store_continue_end 
+:      034324 sdp_store_continue_1byte:
+0x67ce 034325 ifetch 1 ,contr 
+0x67cf 034326 increase -2 ,timeup 
+0x67d0 034327 branch sdp_store_continue_end 
+:      034328 sdp_store_continue_2byte:
+0x67d1 034329 ifetch 2 ,contr 
+0x67d2 034330 byteswap pdata ,pdata 
+0x67d3 034331 increase -3 ,timeup 
+:      034332 sdp_store_continue_end:
+0x67d4 034333 store 2 ,mem_sdp_continue_byte 
+0x67d5 034334 rtn 
+:      034336 sa_req_all:
+0x67d6 034337 increase -5 ,timeup 
+0x67d7 034338 call sdp_store_continue_common 
+0x67d8 034339 nbranch sdp_invalid_pdu_size ,zero 
+0x67d9 034340 fetcht 4 ,mem_sdp_record_handle 
+0x67da 034341 call search_handle 
+0x67db 034342 nbranch sdp_invalid_service_record_handle ,zero 
+0x67dc 034343 copy contr ,rega 
+0x67dd 034344 call l2cap_get_sdp_tx_payload 
+0x67de 034345 copy rega ,contr 
+0x67df 034346 increase 3 ,contw 
+0x67e0 034347 copy contr ,timeup 
+0x67e1 034348 call sdp_get_data 
+0x67e2 034349 copy pdata ,rega 
+0x67e3 034351 fetch 2 ,mem_sdp_continue_byte 
+0x67e4 034352 copy pdata ,regb 
+0x67e5 034353 copy rega ,pdata 
+0x67e6 034354 isub regb ,regb 
+0x67e7 034355 fetch 2 ,mem_sdp_attribute_maxbyte 
+0x67e8 034356 isub regb ,null 
+0x67e9 034357 nbranch sa_req_all_fragment_sdp ,positive 
+0x67ea 034359 disable user 
+0x67eb 034360 fetch 2 ,mem_sdp_continue_byte 
+0x67ec 034361 branch sa_req_all_fisrt_fragment ,blank 
+0x67ed 034362 iadd timeup ,contr 
+0x67ee 034363 increase 3 ,regb 
+0x67ef 034364 copy regb ,loopcnt 
+0x67f0 034365 copy loopcnt ,pdata 
+0x67f1 034366 increase 3 ,pdata 
+0x67f2 034367 byteswap pdata ,pdata 
+0x67f3 034368 istore 2 ,contw 
+0x67f4 034369 copy loopcnt ,pdata 
+0x67f5 034370 byteswap pdata ,pdata 
+0x67f6 034371 istore 2 ,contw 
+0x67f7 034372 branch sa_req_all_answer_attributelist_full_loop 
+:      034373 sa_req_all_fisrt_fragment:
+0x67f8 034374 add rega ,6 ,loopcnt 
+0x67f9 034375 branch sa_req_all_parlength_continue_byte ,user 
+0x67fa 034376 byteswap loopcnt ,pdata 
+0x67fb 034377 branch sa_req_all_parlength_continue_byte_end 
+:      034378 sa_req_all_parlength_continue_byte:
+0x67fc 034379 copy loopcnt ,pdata 
+0x67fd 034380 increase 2 ,pdata 
+0x67fe 034381 byteswap pdata ,pdata 
+:      034382 sa_req_all_parlength_continue_byte_end:
+0x67ff 034383 istore 2 ,contw 
+0x6800 034384 increase -3 ,loopcnt 
+0x6801 034385 byteswap loopcnt ,pdata 
+0x6802 034386 istore 2 ,contw 
+0x6803 034387 copy timeup ,contr 
+0x6804 034388 branch sa_req_all_answer_attributelist_full_loop 
+:      034389 sa_req_all_fragment_sdp:
+0x6805 034390 enable user 
+0x6806 034392 fetch 2 ,mem_sdp_attribute_maxbyte 
+0x6807 034393 copy pdata ,rega 
+0x6808 034394 copy rega ,loopcnt 
+0x6809 034395 fetch 2 ,mem_sdp_continue_byte 
+0x680a 034396 branch sa_req_all_fisrt_fragment ,blank 
+0x680b 034397 iadd timeup ,contr 
+0x680c 034398 copy rega ,pdata 
+0x680d 034399 increase 5 ,pdata 
+0x680e 034400 byteswap pdata ,pdata 
+0x680f 034401 istore 2 ,contw 
+0x6810 034402 copy rega ,pdata 
+0x6811 034403 byteswap pdata ,pdata 
+0x6812 034404 istore 2 ,contw 
+:      034405 sa_req_all_answer_attributelist_full_loop:
+0x6813 034406 call memcpy 
+0x6814 034407 nbranch sa_req_all_last_frag_continue ,user 
+0x6815 034408 force 2 ,pdata 
+0x6816 034409 istore 1 ,contw 
+0x6817 034410 copy contr ,pdata 
+0x6818 034411 isub timeup ,pdata 
+0x6819 034412 byteswap pdata ,pdata 
+0x681a 034413 istore 2 ,contw 
+0x681b 034414 branch sa_req_all_frag_end 
+:      034415 sa_req_all_last_frag_continue:
+0x681c 034416 force 0 ,pdata 
+0x681d 034417 istore 1 ,contw 
+:      034418 sa_req_all_frag_end:
+0x681e 034419 arg sdp_attribute_res ,rega 
+0x681f 034420 branch ssa_req_range_common 
+:      034431 sdp_process_ssa_req:
+0x6820 034432 bpatchx patch2c_1 ,mem_patch2c 
+0x6821 034433 call ask_serviceclassid 
+0x6822 034434 compare 0xff ,temp ,0xff 
+0x6823 034435 branch sdp_invalid_request_syntax ,true 
+0x6824 034436 call sdp_store_maxbyte 
+0x6825 034437 store 2 ,mem_sdp_attribute_maxbyte 
+0x6826 034438 increase -2 ,timeup 
+0x6827 034439 call dataelementtype6 
+0x6828 034440 arg mem_sdp_attrib_list ,contw 
+0x6829 034441 force 0 ,queue 
+:      034442 ssa_req_loop:
+0x682a 034443 ifetch 1 ,contr 
+0x682b 034444 beq sdp_attribute_range ,ssa_req_range 
+0x682c 034445 ifetch 2 ,contr 
+0x682d 034446 istore 2 ,contw 
+0x682e 034447 increase 1 ,queue 
+0x682f 034448 increase -3 ,timeup 
+0x6830 034449 increase -3 ,rega 
+0x6831 034450 nbranch sdp_invalid_request_syntax ,positive 
+0x6832 034451 nbranch ssa_req_loop ,zero 
+0x6833 034452 increase -1 ,timeup 
+0x6834 034453 nbranch sdp_invalid_request_syntax ,zero 
+0x6835 034454 call l2cap_get_sdp_tx_payload 
+0x6836 034455 increase 13 ,contw 
+0x6837 034456 fetch 2 ,mem_sdp_uuid_search_ptr 
+0x6838 034457 iforce regc 
+0x6839 034458 arg mem_sdp_attrib_list ,rega 
+:      034459 ssa_req_attributelist_next:
+0x683a 034460 ifetch 2 ,rega 
+0x683b 034461 branch ssa_req_attributelist_end ,blank 
+0x683c 034462 iforce regb 
+0x683d 034463 call search_attrib 
+0x683e 034464 branch ssa_req_attributelist_notfound ,blank 
+0x683f 034465 increase -3 ,contr 
+0x6840 034466 ifetch 3 ,contr 
+0x6841 034467 istore 3 ,contw 
+0x6842 034468 call sdp_data_len 
+0x6843 034469 iforce loopcnt 
+0x6844 034470 call memcpy 
+:      034471 ssa_req_attributelist_notfound:
+0x6845 034472 increase 2 ,rega 
+0x6846 034473 branch ssa_req_attributelist_next 
+:      034475 ssa_req_attributelist_end:
+0x6847 034476 call ssa_req_range_lastfreg 
+0x6848 034477 fetch 2 ,mem_sdp_tx_pkt_length 
+0x6849 034478 beq 14 ,ssa_empty_rsp 
+0x684a 034479 call ssa_req_range_attrbutes_length_no_continue 
+0x684b 034480 branch ssa_req_range_attrbutes_length_no_continue 
+:      034483 sdp_store_maxbyte:
+0x684c 034484 ifetch 2 ,contr 
+0x684d 034485 byteswap pdata ,pdata 
+0x684e 034486 increase -3 ,pdata 
+0x684f 034487 arg 200 ,temp 
+0x6850 034488 isub temp ,null 
+0x6851 034489 nrtn positive 
+0x6852 034490 setarg 200 
+0x6853 034491 rtn 
+:      034494 ssa_req_range:
+0x6854 034495 increase 4 ,contr 
+0x6855 034496 increase -5 ,timeup 
+0x6856 034497 increase -5 ,rega 
+0x6857 034498 nbranch sdp_invalid_request_syntax ,zero 
+0x6858 034499 call sdp_store_continue_common 
+0x6859 034500 nbranch sdp_invalid_pdu_size ,zero 
+0x685a 034501 arg mem_sdp_uuid_search_ptr ,timeup 
+0x685b 034502 call search_all_uuid 
+0x685c 034503 deposit queue 
+0x685d 034504 branch ssa_empty_rsp ,blank 
+0x685e 034505 store 1 ,mem_handle_humber 
+0x685f 034507 copy regb ,pdata 
+0x6860 034508 store 2 ,mem_sdp_all_length 
+0x6861 034509 arg 0 ,queue 
+0x6862 034510 arg 0 ,rega 
+0x6863 034511 call l2cap_get_sdp_tx_payload 
+0x6864 034512 increase 10 ,contw 
+:      034513 ssa_req_range_find_handle:
+0x6865 034514 call ssa_req_range_get_length 
+0x6866 034515 nbranch assert ,user 
+0x6867 034516 copy contr ,timeup 
+0x6868 034517 copy pdata ,regc 
+0x6869 034518 iadd rega ,rega 
+0x686a 034521 fetch 2 ,mem_sdp_continue_byte 
+0x686b 034522 copy pdata ,regb 
+0x686c 034523 branch ssa_req_range_first_freg ,blank 
+:      034524 ssa_req_range_later_freg_with_continue:
+0x686d 034525 copy rega ,pdata 
+0x686e 034526 isub regb ,regb 
+0x686f 034527 branch ssa_req_range_next_handle ,zero 
+0x6870 034528 nbranch ssa_req_range_next_handle ,positive 
+0x6871 034529 fetch 2 ,mem_sdp_attribute_maxbyte 
+0x6872 034530 isub regb ,null 
+0x6873 034531 branch ssa_req_range_maxbyte_with_continue ,zero 
+0x6874 034532 nbranch ssa_req_range_maxbyte_with_continue ,positive 
+:      034535 ssa_req_range_send_not_maxbyte:
+0x6875 034536 copy regb ,loopcnt 
+0x6876 034537 call ssa_req_range_maxbyte_with_continue_cpy 
+0x6877 034538 fetch 1 ,mem_handle_humber 
+0x6878 034539 increase 1 ,queue 
+0x6879 034540 isub queue ,null 
+0x687a 034541 branch ssa_req_range_lastfreg ,zero 
+0x687b 034542 branch ssa_req_range_freg_with_continue 
+:      034544 ssa_req_range_maxbyte_with_continue:
+0x687c 034545 copy pdata ,loopcnt 
+0x687d 034546 call ssa_req_range_maxbyte_with_continue_cpy 
+0x687e 034547 branch ssa_req_range_freg_with_continue 
+:      034549 ssa_req_range_maxbyte_with_continue_cpy:
+0x687f 034550 increase -3 ,contw 
+0x6880 034551 copy loopcnt ,temp 
+0x6881 034552 copy regc ,pdata 
+0x6882 034553 isub regb ,pdata 
+0x6883 034554 iadd timeup ,contr 
+0x6884 034555 branch memcpy 
+:      034557 ssa_req_range_next_handle:
+0x6885 034558 fetch 1 ,mem_handle_humber 
+0x6886 034559 increase 1 ,queue 
+0x6887 034560 isub queue ,null 
+0x6888 034561 rtn zero 
+0x6889 034562 branch ssa_req_range_find_handle 
+:      034564 ssa_req_range_get_length:
+0x688a 034565 call disable_user 
+0x688b 034566 arg mem_sdp_handle_list ,contr 
+0x688c 034567 lshift2 queue ,pdata 
+0x688d 034568 iadd contr ,contr 
+0x688e 034569 ifetcht 4 ,contr 
+0x688f 034570 call search_handle 
+0x6890 034571 nrtn zero 
+0x6891 034572 call sdp_data_len 
+0x6892 034573 branch enable_user 
+:      034575 ssa_req_range_first_freg:
+0x6893 034576 fetch 2 ,mem_sdp_attribute_maxbyte 
+0x6894 034577 isub rega ,null 
+0x6895 034578 nbranch ssa_req_range_firstfreg_maxbyte_with_continue ,positive 
+0x6896 034579 copy rega ,loopcnt 
+0x6897 034580 copy loopcnt ,temp 
+0x6898 034581 copy timeup ,contr 
+0x6899 034582 call memcpy 
+0x689a 034583 fetch 2 ,mem_sdp_all_length 
+0x689b 034584 isub rega ,null 
+0x689c 034585 branch ssa_req_range_freg_no_continue ,zero 
+:      034586 ssa_req_range_firstfreg_not_maxbyte_with_continue:
+0x689d 034587 call ssa_req_range_freg_with_continue 
+0x689e 034588 branch ssa_req_range_attrbutes_length 
+:      034590 ssa_req_range_freg_no_continue:
+0x689f 034591 call ssa_req_range_lastfreg 
+0x68a0 034592 branch ssa_req_range_attrbutes_length 
+:      034594 ssa_req_range_lastfreg:
+0x68a1 034595 arg sdp_searchattrib_res ,rega 
+:      034596 ssa_req_range_lastfreg_common:
+0x68a2 034597 force 0 ,pdata 
+0x68a3 034598 istore 1 ,contw 
+0x68a4 034599 call ssa_req_range_common 
+0x68a5 034600 fetcht 2 ,mem_sdp_tx_pkt_length 
+0x68a6 034601 increase -5 ,temp 
+0x68a7 034602 byteswap temp ,pdata 
+0x68a8 034603 istore 2 ,contw 
+0x68a9 034604 increase -3 ,temp 
+0x68aa 034605 byteswap temp ,pdata 
+0x68ab 034606 istore 2 ,contw 
+0x68ac 034607 rtn 
+:      034609 ssa_req_range_firstfreg_maxbyte_with_continue:
+0x68ad 034610 copy pdata ,loopcnt 
+0x68ae 034611 copy loopcnt ,temp 
+0x68af 034612 copy timeup ,contr 
+0x68b0 034613 call memcpy 
+0x68b1 034614 call ssa_req_range_freg_with_continue 
+:      034615 ssa_req_range_attrbutes_length:
+0x68b2 034616 setarg 0x36 
+0x68b3 034617 istore 1 ,contw 
+0x68b4 034618 fetch 2 ,mem_sdp_all_length 
+0x68b5 034619 byteswap pdata ,pdata 
+0x68b6 034620 istore 2 ,contw 
+0x68b7 034621 rtn 
+:      034623 ssa_req_range_attrbutes_length_no_continue:
+0x68b8 034624 setarg 0x36 
+0x68b9 034625 istore 1 ,contw 
+0x68ba 034626 increase -3 ,temp 
+0x68bb 034627 byteswap temp ,pdata 
+0x68bc 034628 istore 2 ,contw 
+0x68bd 034629 rtn 
+:      034631 ssa_req_range_freg_with_continue:
+0x68be 034632 arg sdp_searchattrib_res ,rega 
+0x68bf 034633 setarg 2 
+0x68c0 034634 istore 1 ,contw 
+0x68c1 034635 fetch 2 ,mem_sdp_continue_byte 
+0x68c2 034636 iadd temp ,temp 
+0x68c3 034637 byteswap temp ,pdata 
+0x68c4 034638 istore 2 ,contw 
+0x68c5 034639 call ssa_req_range_common 
+0x68c6 034640 fetcht 2 ,mem_sdp_tx_pkt_length 
+0x68c7 034641 increase -5 ,temp 
+0x68c8 034642 byteswap temp ,pdata 
+0x68c9 034643 istore 2 ,contw 
+0x68ca 034644 increase -5 ,temp 
+0x68cb 034645 byteswap temp ,pdata 
+0x68cc 034646 istore 2 ,contw 
+0x68cd 034647 rtn 
+:      034649 ssa_req_range_common:
+0x68ce 034650 fetch 2 ,mem_sdp_tx_payload_ptr 
+0x68cf 034651 isub contw ,pdata 
+0x68d0 034652 sub pdata ,0 ,pdata 
+0x68d1 034653 store 2 ,mem_sdp_tx_pkt_length 
+0x68d2 034654 call l2cap_get_sdp_tx_payload 
+0x68d3 034655 copy rega ,pdata 
+0x68d4 034656 istore 1 ,contw 
+0x68d5 034657 fetch 2 ,mem_sdp_transactionid 
+0x68d6 034658 istore 2 ,contw 
+0x68d7 034659 rtn 
+:      034672 sdp_process_ssa_res:
+:      034673 sdp_process_ss_res:
+:      034674 sdp_process_sa_res:
+:      034675 sdp_process_error_res:
+0x68d8 034676 rtn 
+:      034680 sdp_invalid_service_record_handle:
+0x68d9 034681 setarg 0x0200 
+0x68da 034682 store 2 ,mem_sdp_error_code 
+0x68db 034683 branch sdp_error_response 
+:      034684 sdp_invalid_pdu_size:
+0x68dc 034685 setarg 0x0400 
+0x68dd 034686 store 2 ,mem_sdp_error_code 
+0x68de 034687 branch sdp_error_response 
+:      034688 sdp_insufficient_resource:
+0x68df 034689 setarg 0x0600 
+0x68e0 034690 store 2 ,mem_sdp_error_code 
+0x68e1 034691 branch sdp_error_response 
+:      034692 sdp_invalid_request_syntax:
+0x68e2 034693 setarg 0x0300 
+0x68e3 034694 store 2 ,mem_sdp_error_code 
+:      034695 sdp_error_response:
+0x68e4 034696 call l2cap_get_sdp_tx_payload 
+0x68e5 034697 istore 1 ,contw 
+0x68e6 034698 fetch 2 ,mem_sdp_transactionid 
+0x68e7 034699 istore 2 ,contw 
+0x68e8 034700 setarg 0x0200 
+0x68e9 034701 istore 2 ,contw 
+0x68ea 034702 fetch 2 ,mem_sdp_error_code 
+0x68eb 034703 istore 2 ,contw 
+0x68ec 034704 jam 7 ,mem_sdp_tx_pkt_length 
+0x68ed 034705 rtn 
+:      034710 ask_serviceclassid:
+0x68ee 034711 arg 0 ,regb 
+0x68ef 034712 force 0 ,temp 
+0x68f0 034713 arg mem_sdp_uuid_search_ptr ,contw 
+0x68f1 034714 call dataelementtype6 
+0x68f2 034715 branch asksrv_error ,zero 
+:      034716 classidloop:
+0x68f3 034717 increase 1 ,regb 
+0x68f4 034718 ifetch 1 ,contr 
+0x68f5 034719 increase -1 ,rega 
+0x68f6 034720 increase -1 ,timeup 
+0x68f7 034721 compare 0x18 ,pdata ,0xf8 
+0x68f8 034722 nbranch asksrv_error ,true 
+0x68f9 034723 compare 0x04 ,pdata ,0x07 
+0x68fa 034724 nbranch cmp032 ,true 
+0x68fb 034725 force 1 ,temp 
+:      034726 skip2bytes:
+0x68fc 034727 ifetch 1 ,contr 
+0x68fd 034728 increase -1 ,rega 
+0x68fe 034729 increase -1 ,timeup 
+0x68ff 034730 bne 0x00 ,frstbwrong 
+0x6900 034731 ifetch 1 ,contr 
+0x6901 034732 increase -1 ,rega 
+0x6902 034733 increase -1 ,timeup 
+0x6903 034734 beq 0x00 ,cmpuuid 
+0x6904 034735 branch scndbwrong 
+:      034736 frstbwrong:
+0x6905 034737 increase 1 ,contr 
+0x6906 034738 increase -1 ,rega 
+0x6907 034739 increase -1 ,timeup 
+:      034740 scndbwrong:
+0x6908 034741 increase 2 ,contr 
+0x6909 034742 increase -2 ,rega 
+0x690a 034743 increase -2 ,timeup 
+0x690b 034744 compare 0x00 ,temp ,0xff 
+0x690c 034745 branch loopornot ,true 
+0x690d 034746 increase 12 ,contr 
+0x690e 034747 increase -12 ,rega 
+0x690f 034748 increase -12 ,timeup 
+0x6910 034749 branch loopornot 
+:      034750 cmp032:
+0x6911 034751 compare 0x02 ,pdata ,0x07 
+0x6912 034752 nbranch cmp016 ,true 
+0x6913 034753 branch skip2bytes 
+:      034754 cmp016:
+0x6914 034755 compare 0x01 ,pdata ,0x07 
+0x6915 034756 nbranch asksrv_error ,true 
+:      034757 cmpuuid:
+0x6916 034758 increase -2 ,rega 
+0x6917 034759 increase -2 ,timeup 
+0x6918 034760 ifetch 2 ,contr 
+0x6919 034761 sub regb ,4 ,null 
+0x691a 034762 branch uuidsize ,zero 
+0x691b 034763 istore 2 ,contw 
+:      034764 uuidsize:
+0x691c 034765 compare 0x00 ,temp ,0xff 
+0x691d 034766 branch loopornot ,true 
+0x691e 034767 copy contr ,temp 
+0x691f 034768 ifetch 1 ,contr 
+0x6920 034769 bne 0x00 ,wrong12b 
+0x6921 034770 ifetch 1 ,contr 
+0x6922 034771 bne 0x00 ,wrong12b 
+0x6923 034772 ifetch 1 ,contr 
+0x6924 034773 bne 0x10 ,wrong12b 
+0x6925 034774 ifetch 1 ,contr 
+0x6926 034775 bne 0x00 ,wrong12b 
+0x6927 034776 ifetch 1 ,contr 
+0x6928 034777 bne 0x80 ,wrong12b 
+0x6929 034778 ifetch 1 ,contr 
+0x692a 034779 bne 0x00 ,wrong12b 
+0x692b 034780 ifetch 1 ,contr 
+0x692c 034781 bne 0x00 ,wrong12b 
+0x692d 034782 ifetch 1 ,contr 
+0x692e 034783 bne 0x80 ,wrong12b 
+0x692f 034784 ifetch 1 ,contr 
+0x6930 034785 bne 0x5f ,wrong12b 
+0x6931 034786 ifetch 1 ,contr 
+0x6932 034787 bne 0x9b ,wrong12b 
+0x6933 034788 ifetch 1 ,contr 
+0x6934 034789 bne 0x34 ,wrong12b 
+0x6935 034790 ifetch 1 ,contr 
+0x6936 034791 beq 0xfb ,chck12dn 
+:      034792 wrong12b:
+0x6937 034793 copy temp ,contr 
+:      034794 wrong12b1:
+0x6938 034795 increase 12 ,contr 
+0x6939 034796 force 0x00 ,queue 
+0x693a 034797 force 0x00 ,temp 
+0x693b 034798 branch chck12dn 
+:      034800 chck12dn:
+0x693c 034801 increase -12 ,timeup 
+0x693d 034802 increase -12 ,rega 
+:      034803 loopornot:
+0x693e 034804 force 0x00 ,temp 
+0x693f 034805 compare 0x00 ,rega ,0xff 
+0x6940 034806 nbranch classidloop ,true 
+0x6941 034807 force 0 ,pdata 
+0x6942 034808 istore 2 ,contw 
+0x6943 034809 rtn 
+:      034810 asksrv_error:
+0x6944 034811 arg 0xff ,temp 
+0x6945 034812 rtn 
+:      034822 dataelementtype6:
+0x6946 034823 bpatchx patch2c_4 ,mem_patch2c 
+0x6947 034824 ifetch 1 ,contr 
+0x6948 034825 increase -1 ,timeup 
+0x6949 034826 compare 0x30 ,pdata ,0xf8 
+0x694a 034827 nbranch dsize_error ,true 
+0x694b 034828 compare 0x07 ,pdata ,0x07 
+0x694c 034829 branch dsize32 ,true 
+0x694d 034830 compare 0x06 ,pdata ,0x07 
+0x694e 034831 branch dsize16 ,true 
+0x694f 034832 compare 0x05 ,pdata ,0x07 
+0x6950 034833 nbranch dsize_error ,true 
+0x6951 034835 ifetch 1 ,contr 
+0x6952 034836 copy pdata ,rega 
+0x6953 034837 increase -1 ,timeup 
+0x6954 034838 branch dsize 
+:      034839 dsize32:
+0x6955 034840 increase 2 ,contr 
+0x6956 034841 increase -2 ,timeup 
+:      034842 dsize16:
+0x6957 034843 ifetch 2 ,contr 
+0x6958 034844 byteswap pdata ,rega 
+0x6959 034845 increase -2 ,timeup 
+:      034846 dsize:
+0x695a 034847 force 0x01 ,pdata 
+0x695b 034848 rtn 
+:      034849 dsize_error:
+0x695c 034850 force 0x00 ,pdata 
+0x695d 034851 rtn 
+:      034861 ss_empty_rsp:
+0x695e 034862 setarg sdp_search_res 
+0x695f 034863 store 1 ,mem_sdp_pduid 
+0x6960 034864 branch empty_response 
+:      034865 sa_empty_rsp:
+0x6961 034866 setarg sdp_attribute_res 
+0x6962 034867 store 1 ,mem_sdp_pduid 
+0x6963 034868 branch empty_response 
+:      034869 ssa_empty_rsp:
+0x6964 034870 setarg sdp_searchattrib_res 
+0x6965 034871 store 1 ,mem_sdp_pduid 
+:      034872 empty_response:
+0x6966 034873 call l2cap_get_sdp_tx_payload 
+0x6967 034876 fetch 1 ,mem_sdp_pduid 
+0x6968 034877 copy pdata ,regb 
+0x6969 034878 istore 1 ,contw 
+0x696a 034879 fetch 2 ,mem_sdp_transactionid 
+0x696b 034880 istore 2 ,contw 
+0x696c 034881 setarg 0x0500 
+0x696d 034882 istore 2 ,contw 
+0x696e 034883 compare sdp_attribute_res ,regb ,0xff 
+0x696f 034884 branch fullsearch ,true 
+0x6970 034885 compare sdp_searchattrib_res ,regb ,0xff 
+0x6971 034886 branch fullsearch ,true 
+0x6972 034887 setarg 0x000000 
+0x6973 034888 istore 5 ,contw 
+0x6974 034889 branch outempty 
+:      034891 fullsearch:
+0x6975 034892 setarg 0x350200 
+0x6976 034893 istore 5 ,contw 
+:      034894 outempty:
+0x6977 034895 jam 10 ,mem_sdp_tx_pkt_length 
+0x6978 034896 rtn 
+:      034899 sdp_data_len:
+0x6979 034900 call store_contw 
+0x697a 034901 call store_contr 
+0x697b 034902 call sdp_get_data 
+0x697c 034903 call get_contw 
+0x697d 034904 call get_contr 
+0x697e 034905 copy temp ,pdata 
+0x697f 034906 rtn 
+:      034909 sdp_get_data:
+0x6980 034910 ifetch 1 ,contr 
+0x6981 034911 and pdata ,0x7 ,loopcnt 
+0x6982 034912 rshift3 pdata ,pdata 
+0x6983 034913 bne 0 ,sdp_get_data_type_not0 
+:      034914 sdp_get_data_type0:
+0x6984 034915 force 1 ,pdata 
+0x6985 034916 force 1 ,temp 
+0x6986 034917 rtn 
+:      034919 sdp_get_data_type_not0_sizeindex01234:
+0x6987 034920 call left_shift_n 
+0x6988 034921 add pdata ,1 ,temp 
+0x6989 034922 rtn 
+:      034923 sdp_get_data_type_not0:
+0x698a 034924 deposit loopcnt 
+0x698b 034925 sub pdata ,4 ,null 
+0x698c 034926 branch sdp_get_data_type_not0_sizeindex01234 ,positive 
+0x698d 034927 beq 5 ,sdp_get_data_type_not0_sizeindex5 
+0x698e 034928 beq 6 ,sdp_get_data_type_not0_sizeindex6 
+0x698f 034929 beq 7 ,sdp_get_data_type_not0_sizeindex7 
+0x6990 034930 rtn 
+:      034932 sdp_get_data_type_not0_sizeindex5:
+0x6991 034933 ifetch 1 ,contr 
+0x6992 034934 add pdata ,2 ,temp 
+0x6993 034935 rtn 
+:      034936 sdp_get_data_type_not0_sizeindex6:
+0x6994 034937 ifetch 2 ,contr 
+0x6995 034938 byteswap pdata ,pdata 
+0x6996 034939 add pdata ,3 ,temp 
+0x6997 034940 rtn 
+:      034941 sdp_get_data_type_not0_sizeindex7:
+0x6998 034942 ifetch 2 ,contr 
+0x6999 034943 byteswap pdata ,pdata 
+0x699a 034944 ifetcht 2 ,contr 
+0x699b 034945 byteswap temp ,temp 
+0x699c 034946 lshift16 temp ,temp 
+0x699d 034947 iadd temp ,pdata 
+0x699e 034948 add pdata ,5 ,temp 
+0x699f 034949 rtn 
+:      034951 search_all_uuid:
+0x69a0 034952 bpatchx patch2c_5 ,mem_patch2c 
+0x69a1 034953 force 0 ,queue 
+0x69a2 034954 arg 0 ,regb 
+0x69a3 034955 arg mem_sdp_handle_list ,contw 
+:      034956 search_all_uuid_llop:
+0x69a4 034957 ifetch 2 ,timeup 
+0x69a5 034958 rtn blank 
+0x69a6 034959 call search_uuid 
+0x69a7 034960 copy queue ,pdata 
+0x69a8 034961 rtneq sdp_max_handle_number 
+0x69a9 034962 increase 2 ,timeup 
+0x69aa 034963 branch search_all_uuid_llop 
+:      034965 search_uuid:
+0x69ab 034967 iforce regc 
+0x69ac 034969 fetch 2 ,mem_ui_uuid_table 
+0x69ad 034970 iforce contr 
+:      034971 search_uuid_next:
+0x69ae 034972 copy queue ,pdata 
+0x69af 034973 rtneq sdp_max_handle_number 
+0x69b0 034974 disable user 
+0x69b1 034975 ifetch 1 ,contr 
+0x69b2 034976 rtn blank 
+0x69b3 034977 iforce loopcnt 
+:      034978 search_uuid_loop:
+0x69b4 034979 ifetch 2 ,contr 
+0x69b5 034980 isub regc ,null 
+0x69b6 034981 nbranch search_uuid_not_found ,zero 
+0x69b7 034982 enable user 
+:      034983 search_uuid_not_found:
+0x69b8 034984 loop search_uuid_loop 
+0x69b9 034985 ifetcht 4 ,contr 
+0x69ba 034986 copy contr ,rega 
+0x69bb 034987 nbranch search_uuid_nomatch ,user 
+0x69bc 034988 arg mem_sdp_handle_list ,contr 
+0x69bd 034989 arg sdp_max_handle_number ,loopcnt 
+:      034990 search_uuid_check_same_handle:
+0x69be 034991 ifetch 4 ,contr 
+0x69bf 034992 branch search_uuid_store_handle ,blank 
+0x69c0 034993 isub temp ,null 
+0x69c1 034994 branch search_uuid_nomatch ,zero 
+0x69c2 034995 loop search_uuid_check_same_handle 
+0x69c3 034996 rtn 
+:      034997 search_uuid_store_handle:
+0x69c4 034998 istoret 4 ,contw 
+0x69c5 034999 increase 1 ,queue 
+0x69c6 035000 copy rega ,contr 
+0x69c7 035001 call sdp_data_len 
+0x69c8 035002 iadd regb ,regb 
+0x69c9 035003 iadd contr ,contr 
+0x69ca 035004 branch search_uuid_next 
+:      035005 search_uuid_nomatch:
+0x69cb 035006 copy rega ,contr 
+0x69cc 035007 call sdp_get_data 
+0x69cd 035008 iadd contr ,contr 
+0x69ce 035009 branch search_uuid_next 
+:      035011 search_handle:
+0x69cf 035012 bpatchx patch2c_6 ,mem_patch2c 
+0x69d0 035013 fetch 2 ,mem_ui_uuid_table 
+0x69d1 035014 iforce contr 
+:      035015 search_handle_loop:
+0x69d2 035016 ifetch 1 ,contr 
+0x69d3 035017 branch disable_zero ,blank 
+0x69d4 035018 lshift pdata ,pdata 
+0x69d5 035019 iadd contr ,contr 
+0x69d6 035020 ifetch 4 ,contr 
+0x69d7 035021 isub temp ,null 
+0x69d8 035022 rtn zero 
+0x69d9 035023 deposit contw 
+0x69da 035024 store 2 ,mem_contw 
+0x69db 035025 storet 8 ,mem_temp 
+0x69dc 035026 call sdp_get_data 
+0x69dd 035027 iadd contr ,contr 
+0x69de 035028 copy contr ,pdata 
+0x69df 035029 fetcht 2 ,mem_contw 
+0x69e0 035030 copy temp ,contw 
+0x69e1 035031 fetcht 8 ,mem_temp 
+0x69e2 035032 copy pdata ,contr 
+0x69e3 035033 branch search_handle_loop 
+:      035035 search_attrib:
+0x69e4 035036 bpatchx patch2c_7 ,mem_patch2c 
+0x69e5 035037 fetch 2 ,mem_ui_uuid_table 
+0x69e6 035038 iforce contr 
+:      035039 search_attrib_next:
+0x69e7 035040 ifetch 1 ,contr 
+0x69e8 035041 branch search_attrib_end ,blank 
+0x69e9 035042 iforce loopcnt 
+:      035043 search_attrib_loop:
+0x69ea 035044 ifetch 2 ,contr 
+0x69eb 035045 isub regc ,null 
+0x69ec 035046 branch search_attrib_found_uuid ,zero 
+0x69ed 035047 loop search_attrib_loop 
+0x69ee 035048 increase 4 ,contr 
+0x69ef 035049 call sdp_get_data 
+0x69f0 035050 iadd contr ,contr 
+0x69f1 035051 branch search_attrib_next 
+:      035052 search_attrib_found_uuid:
+0x69f2 035053 increase -1 ,loopcnt 
+0x69f3 035054 lshift loopcnt ,pdata 
+0x69f4 035055 iadd contr ,contr 
+0x69f5 035056 increase 4 ,contr 
+0x69f6 035057 call sdp_get_data 
+0x69f7 035058 iadd contr ,timeup 
+:      035059 search_attrib_loop_attribs:
+0x69f8 035060 increase 1 ,contr 
+0x69f9 035061 ifetch 2 ,contr 
+0x69fa 035062 isub regb ,null 
+0x69fb 035066 branch disable_blank ,zero 
+0x69fc 035067 call sdp_data_len 
+0x69fd 035068 iadd contr ,contr 
+0x69fe 035069 deposit timeup 
+0x69ff 035070 isub contr ,null 
+0x6a00 035071 branch search_attrib_end ,zero 
+0x6a01 035072 branch search_attrib_loop_attribs 
+:      035073 search_attrib_end:
+0x6a02 035074 force 0 ,contr 
+0x6a03 035075 force 0 ,pdata 
+0x6a04 035076 rtn 
+:      035082 search_handle_attrib:
+0x6a05 035083 bpatchx patch2d_0 ,mem_patch2d 
+0x6a06 035084 fetch 2 ,mem_ui_uuid_table 
+0x6a07 035085 iforce contr 
+:      035086 search_handle_attrib_next:
+0x6a08 035087 ifetch 1 ,contr 
+0x6a09 035088 branch search_handle_attrib_end ,blank 
+0x6a0a 035089 lshift pdata ,pdata 
+0x6a0b 035090 iadd contr ,contr 
+0x6a0c 035091 ifetch 4 ,contr 
+0x6a0d 035092 isub temp ,null 
+0x6a0e 035093 branch search_handl_attrib_found_handle ,zero 
+0x6a0f 035094 call sdp_get_data 
+0x6a10 035095 iadd contr ,contr 
+0x6a11 035096 branch search_handle_attrib_next 
+:      035097 search_handl_attrib_found_handle:
+0x6a12 035098 call sdp_get_data 
+0x6a13 035099 iadd contr ,timeup 
+:      035100 search_handle_attrib_loop_attribs:
+0x6a14 035101 increase 1 ,contr 
+0x6a15 035102 ifetch 2 ,contr 
+0x6a16 035103 isub regb ,null 
+0x6a17 035104 rtn zero 
+0x6a18 035105 call sdp_data_len 
+0x6a19 035106 iadd contr ,contr 
+0x6a1a 035107 deposit timeup 
+0x6a1b 035108 isub contr ,null 
+0x6a1c 035109 branch search_handle_attrib_end ,zero 
+0x6a1d 035110 branch search_handle_attrib_loop_attribs 
+:      035111 search_handle_attrib_end:
+0x6a1e 035112 force 0 ,contr 
+0x6a1f 035113 rtn 
+:      035117 search_rfcomm_cn:
+0x6a20 035118 arg 0x0400 ,regb 
+0x6a21 035119 call search_handl_attrib_found_handle 
+0x6a22 035120 arg 0x0300 ,regb 
+0x6a23 035121 call search_uuid_in_data 
+0x6a24 035122 nrtn user 
+0x6a25 035123 sub rega ,3 ,null 
+0x6a26 035124 branch disable_user ,positive 
+0x6a27 035125 ifetch 1 ,contr 
+0x6a28 035126 bne 0x08 ,disable_user 
+0x6a29 035127 ifetch 1 ,contr 
+0x6a2a 035128 rtn 
+:      035133 search_uuid_in_data:
+0x6a2b 035134 bpatchx patch2d_1 ,mem_patch2d 
+0x6a2c 035135 call sdp_get_data 
+0x6a2d 035136 copy pdata ,rega 
+:      035137 search_uuid_in_data_loop:
+0x6a2e 035138 ifetch 1 ,contr 
+0x6a2f 035139 and pdata ,0x7 ,loopcnt 
+0x6a30 035140 rshift3 pdata ,pdata 
+0x6a31 035141 sub pdata ,3 ,null 
+0x6a32 035142 branch search_uuid_in_data_found_uuid ,zero 
+0x6a33 035143 copy loopcnt ,pdata 
+0x6a34 035144 beq 5 ,search_uuid_in_data_found_element_index5 
+0x6a35 035145 beq 6 ,search_uuid_in_data_found_element_index6 
+0x6a36 035146 beq 7 ,search_uuid_in_data_found_element_index7 
+0x6a37 035147 increase -1 ,contr 
+0x6a38 035148 call sdp_get_data 
+0x6a39 035149 iadd contr ,contr 
+0x6a3a 035150 copy rega ,pdata 
+0x6a3b 035151 isub temp ,rega 
+0x6a3c 035152 branch disable_user ,zero 
+0x6a3d 035153 branch search_uuid_in_data_loop 
+:      035155 search_uuid_in_data_found_element_index5:
+0x6a3e 035156 increase -2 ,rega 
+0x6a3f 035157 increase 1 ,contr 
+0x6a40 035158 branch search_uuid_in_data_loop 
+:      035159 search_uuid_in_data_found_element_index6:
+0x6a41 035160 increase -3 ,rega 
+0x6a42 035161 increase 2 ,contr 
+0x6a43 035162 branch search_uuid_in_data_loop 
+:      035163 search_uuid_in_data_found_element_index7:
+0x6a44 035164 increase -5 ,rega 
+0x6a45 035165 increase 4 ,contr 
+0x6a46 035166 branch search_uuid_in_data_loop 
+:      035168 search_uuid_in_data_found_uuid:
+0x6a47 035169 increase -1 ,rega 
+0x6a48 035170 copy loopcnt ,pdata 
+0x6a49 035171 beq 1 ,search_uuid_in_data_type_uuid_16 
+0x6a4a 035172 beq 2 ,search_uuid_in_data_type_uuid_32 
+0x6a4b 035173 beq 4 ,search_uuid_in_data_type_uuid_128 
+0x6a4c 035174 branch disable_user 
+:      035175 search_uuid_in_data_type_uuid_128:
+0x6a4d 035176 increase -12 ,rega 
+:      035177 search_uuid_in_data_type_uuid_32:
+0x6a4e 035178 ifetch 2 ,contr 
+0x6a4f 035179 increase -2 ,rega 
+:      035180 search_uuid_in_data_type_uuid_16:
+0x6a50 035181 ifetch 2 ,contr 
+0x6a51 035182 isub regb ,null 
+0x6a52 035183 branch enable_user ,zero 
+0x6a53 035184 increase -2 ,rega 
+0x6a54 035185 branch disable_user ,zero 
+0x6a55 035186 branch search_uuid_in_data_loop 
+:      035190 sdp_send_spp_request:
+0x6a56 035191 call l2cap_get_sdp_tx_payload 
+0x6a57 035192 copy pdata ,contw 
+0x6a58 035193 setarg 6 
+0x6a59 035194 istore 1 ,contw 
+0x6a5a 035195 setarg sdp_tid_spp 
+0x6a5b 035196 istore 2 ,contw 
+0x6a5c 035197 setarg 0x0f00 
+0x6a5d 035198 istore 2 ,contw 
+0x6a5e 035199 setarg 0x1a0535 
+0x6a5f 035200 istore 3 ,contw 
+0x6a60 035201 setarg 0x0111 
+0x6a61 035202 lshift16 pdata ,pdata 
+0x6a62 035203 istore 4 ,contw 
+0x6a63 035204 setarg 0x2600 
+0x6a64 035205 istore 2 ,contw 
+0x6a65 035206 setarg 0x0335 
+0x6a66 035207 istore 2 ,contw 
+0x6a67 035208 setarg 0x0009 
+0x6a68 035209 istore 2 ,contw 
+0x6a69 035210 setarg 0x0004 
+0x6a6a 035211 istore 2 ,contw 
+0x6a6b 035212 jam 0x14 ,mem_sdp_tx_pkt_length 
+0x6a6c 035213 rtn 
+:      035217 function_g2:
+0x6a6d 035218 bpatchx patch2d_2 ,mem_patch2d 
+0x6a6e 035219 jam 80 ,mem_aes_cmac_data_length 
+0x6a6f 035220 arg memdat ,contw 
+0x6a70 035221 arg mem_le_srand ,contr 
+0x6a71 035222 call memcpy16 
+0x6a72 035223 arg mem_sc_pubkey_local_x_256 ,contr 
+0x6a73 035224 call memcpy32 
+0x6a74 035225 arg mem_le_pubkey_remote_x_256 ,contr 
+0x6a75 035226 call memcpy32 
+0x6a76 035227 call inverse_memdat 
+0x6a77 035228 arg mem_le_mrand ,contr 
+0x6a78 035229 call store_inverse_k 
+0x6a79 035230 call function_aes_cmac 
+0x6a7a 035232 arg mem_aes_cmac_temp ,contw 
+0x6a7b 035233 call load_inverse_result 
+0x6a7c 035234 setarg 1000000 
+0x6a7d 035235 copy pdata ,rega 
+0x6a7e 035236 fetch 4 ,mem_aes_cmac_temp 
+0x6a7f 035237 idiv rega 
+0x6a80 035238 call wait_div_end 
+0x6a81 035239 remainder pdata 
+0x6a82 035240 store 4 ,mem_gkey 
+0x6a83 035242 rtn 
+:      035244 function_f6_eb:
+0x6a84 035245 jam 65 ,mem_aes_cmac_data_length 
+0x6a85 035246 arg memdat ,contw 
+0x6a86 035247 call store_addr_common_a 
+0x6a87 035248 call store_addr_common_b 
+0x6a88 035249 fetch 3 ,mem_le_pres + 1 
+0x6a89 035250 istore 3 ,contw 
+0x6a8a 035253 call get_r 
+0x6a8b 035255 arg mem_le_mrand ,contr 
+0x6a8c 035256 call memcpy16 
+0x6a8d 035257 arg mem_le_srand ,contr 
+0x6a8e 035258 call memcpy16 
+0x6a8f 035259 call inverse_memdat 
+0x6a90 035260 arg mem_le_mackey ,contr 
+0x6a91 035261 arg mem_aes_cmac_k ,contw 
+0x6a92 035262 call memcpy16 
+0x6a93 035264 branch function_aes_cmac 
+:      035268 get_r:
+0x6a94 035269 fetch 4 ,mem_le_tk 
+0x6a95 035270 istore 4 ,contw 
+0x6a96 035271 call memset0_4 
+0x6a97 035272 branch memset0_8 
+:      035274 function_f6_ea:
+0x6a98 035275 bpatchx patch2d_3 ,mem_patch2d 
+0x6a99 035276 jam 65 ,mem_aes_cmac_data_length 
+0x6a9a 035277 arg memdat ,contw 
+0x6a9b 035278 call store_addr_common_b 
+0x6a9c 035279 call store_addr_common_a 
+0x6a9d 035280 fetch 3 ,mem_le_preq + 1 
+0x6a9e 035281 istore 3 ,contw 
+0x6a9f 035284 call get_r 
+0x6aa0 035285 arg mem_le_srand ,contr 
+0x6aa1 035286 call memcpy16 
+0x6aa2 035287 arg mem_le_mrand ,contr 
+0x6aa3 035288 call memcpy16 
+0x6aa4 035289 call inverse_memdat 
+0x6aa5 035290 arg mem_le_mackey ,contr 
+0x6aa6 035291 arg mem_aes_cmac_k ,contw 
+0x6aa7 035292 call memcpy16 
+0x6aa8 035294 call function_aes_cmac 
+0x6aa9 035295 arg mem_aes_cmac_temp ,contw 
+0x6aaa 035296 branch load_inverse_result 
+:      035298 function_f5:
+0x6aab 035299 jam 32 ,mem_aes_cmac_data_length 
+0x6aac 035300 arg mem_le_dhkey_256 ,contr 
+0x6aad 035301 arg memdat ,contw 
+0x6aae 035302 call memcpy32 
+0x6aaf 035303 call inverse_memdat 
+0x6ab0 035304 arg mem_le_slat ,contr 
+0x6ab1 035305 call store_inverse_k 
+0x6ab2 035306 call function_aes_cmac 
+0x6ab3 035307 arg mem_aes_cmac_k ,contw 
+0x6ab4 035308 call store_aes_result 
+0x6ab5 035309 arg 1 ,temp 
+0x6ab6 035310 call function_f5_common 
+0x6ab7 035311 arg mem_le_ltk ,contw 
+0x6ab8 035312 call load_inverse_result 
+0x6ab9 035313 arg 0 ,temp 
+0x6aba 035314 call function_f5_common 
+0x6abb 035315 arg mem_le_mackey ,contw 
+0x6abc 035317 branch store_aes_result 
+:      035320 function_f5_common:
+0x6abd 035321 bpatchx patch2d_4 ,mem_patch2d 
+0x6abe 035322 jam 53 ,mem_aes_cmac_data_length 
+0x6abf 035323 setarg 0x100 
+0x6ac0 035324 store 2 ,memdat 
+0x6ac1 035325 call store_addr_common_b 
+0x6ac2 035326 call store_addr_common_a 
+0x6ac3 035327 arg mem_le_srand ,contr 
+0x6ac4 035328 call memcpy16 
+0x6ac5 035329 arg mem_le_mrand ,contr 
+0x6ac6 035330 call memcpy16 
+0x6ac7 035332 setarg 0x6c65 
+0x6ac8 035333 istore 2 ,contw 
+0x6ac9 035334 setarg 0x6274 
+0x6aca 035335 istore 2 ,contw 
+0x6acb 035336 istoret 1 ,contw 
+0x6acc 035337 call inverse_memdat 
+0x6acd 035338 branch function_aes_cmac 
+:      035340 store_addr_common_b:
+0x6ace 035341 fetch 6 ,mem_le_lap 
+0x6acf 035342 istore 6 ,contw 
+0x6ad0 035343 fetch 1 ,mem_le_conn_own_addr_type 
+0x6ad1 035344 istore 1 ,contw 
+0x6ad2 035345 rtn 
+:      035347 store_addr_common_a:
+0x6ad3 035348 fetch 6 ,mem_le_plap 
+0x6ad4 035349 istore 6 ,contw 
+0x6ad5 035354 fetch 1 ,mem_le_conn_peer_addr_type 
+0x6ad6 035355 istore 1 ,contw 
+0x6ad7 035356 rtn 
+:      035358 function_f4_ca:
+0x6ad8 035359 jam 65 ,mem_aes_cmac_data_length 
+0x6ad9 035360 fetch 1 ,mem_passkey_1bit 
+0x6ada 035361 store 1 ,memdat 
+0x6adb 035362 arg mem_sc_pubkey_local_x_256 ,contr 
+0x6adc 035363 call memcpy32 
+0x6add 035364 arg mem_le_pubkey_remote_x_256 ,contr 
+0x6ade 035365 call memcpy32 
+0x6adf 035366 call inverse_memdat 
+0x6ae0 035367 arg mem_le_mrand ,contr 
+0x6ae1 035368 call store_inverse_k 
+0x6ae2 035369 branch function_aes_cmac 
+:      035372 function_f4_cb:
+0x6ae3 035373 jam 65 ,mem_aes_cmac_data_length 
+0x6ae4 035374 fetch 1 ,mem_passkey_1bit 
+0x6ae5 035375 store 1 ,memdat 
+0x6ae6 035376 arg mem_le_pubkey_remote_x_256 ,contr 
+0x6ae7 035377 call memcpy32 
+0x6ae8 035378 arg mem_sc_pubkey_local_x_256 ,contr 
+0x6ae9 035379 call memcpy32 
+0x6aea 035380 call inverse_memdat 
+0x6aeb 035381 arg mem_le_srand ,contr 
+0x6aec 035382 call store_inverse_k 
+0x6aed 035383 branch function_aes_cmac 
+:      035385 function_aes_cmac:
+0x6aee 035386 bpatchx patch2d_5 ,mem_patch2d 
+0x6aef 035387 call function_aes_cmac_generate_subkey 
+0x6af0 035391 fetch 1 ,mem_aes_cmac_data_length 
+0x6af1 035392 copy pdata ,temp 
+:      035393 function_ceil16:
+0x6af2 035394 increase 15 ,pdata 
+0x6af3 035395 rshift4 pdata ,pdata 
+0x6af4 035396 copy pdata ,regb 
+0x6af5 035397 branch function_aes_cmac_set_flag_0_balnk ,blank 
+0x6af6 035398 and temp ,0x0f ,pdata 
+0x6af7 035399 nbranch function_aes_cmac_set_flag_0 ,blank 
+0x6af8 035401 arg mem_aes_cmac_k1 ,regc 
+0x6af9 035402 arg memdat ,pdata 
+0x6afa 035403 increase -16 ,pdata 
+0x6afb 035406 iadd temp ,rega 
+0x6afc 035407 arg mem_aes_cmac_m_last ,contw 
+0x6afd 035408 arg 4 ,loopcnt 
+0x6afe 035409 call xor_loop 
+0x6aff 035413 branch function_aes_cmac_aes 
+:      035415 function_aes_cmac_set_flag_0_balnk:
+0x6b00 035416 arg 1 ,regb 
+0x6b01 035417 arg 0 ,rega 
+0x6b02 035419 branch function_aes_cmac_set_flag_0_common 
+:      035422 function_aes_cmac_set_flag_0:
+0x6b03 035424 and temp ,0x0f ,rega 
+:      035425 function_aes_cmac_set_flag_0_common:
+0x6b04 035426 arg memdat ,pdata 
+0x6b05 035427 iadd temp ,pdata 
+0x6b06 035428 isub rega ,contr 
+0x6b07 035430 arg mem_aes_cmac_temp ,contw 
+0x6b08 035431 call function_aes_cmac_padding 
+0x6b09 035433 arg mem_aes_cmac_k2 ,regc 
+0x6b0a 035434 arg mem_aes_cmac_temp ,rega 
+0x6b0b 035435 arg mem_aes_cmac_m_last ,contw 
+0x6b0c 035436 arg 4 ,loopcnt 
+0x6b0d 035437 call xor_loop 
+:      035444 function_aes_cmac_aes:
+0x6b0e 035449 call aes_clear_data 
+0x6b0f 035450 call aes_init 
+0x6b10 035453 arg memdat ,contr 
+:      035454 function_aes_cmac_aes_loop:
+0x6b11 035456 increase -1 ,regb 
+0x6b12 035457 deposit regb 
+0x6b13 035458 branch function_aes_cmac_aes_loop_end ,blank 
+0x6b14 035459 call load_data128 
+0x6b15 035460 call do_aes_cbc 
+0x6b16 035461 branch function_aes_cmac_aes_loop 
+:      035463 function_aes_cmac_aes_loop_end:
+0x6b17 035464 arg mem_aes_cmac_temp ,contw 
+0x6b18 035465 call store_aes_result 
+0x6b19 035466 arg mem_aes_cmac_m_last ,contr 
+0x6b1a 035467 call load_data128 
+0x6b1b 035468 call aes_init 
+0x6b1c 035469 arg mem_aes_cmac_temp ,contr 
+0x6b1d 035470 call load_data128 
+0x6b1e 035471 branch do_aes_cbc 
+:      035475 load_inverse_result:
+0x6b1f 035477 copy contw ,rega 
+0x6b20 035478 call store_aes_result 
+0x6b21 035480 arg 16 ,loopcnt 
+0x6b22 035481 branch inverse_data 
+:      035483 store_inverse_k:
+0x6b23 035484 arg mem_aes_cmac_k ,contw 
+0x6b24 035485 call memcpy16 
+:      035486 inverse_k:
+0x6b25 035487 arg 16 ,loopcnt 
+0x6b26 035488 arg mem_aes_cmac_k ,rega 
+0x6b27 035489 branch inverse_data 
+:      035491 inverse_memdat:
+0x6b28 035492 fetch 1 ,mem_aes_cmac_data_length 
+0x6b29 035493 copy pdata ,loopcnt 
+0x6b2a 035494 arg memdat ,rega 
+0x6b2b 035495 branch inverse_data 
+:      035497 bn_lshift_0_inverse:
+0x6b2c 035498 ifetch 1 ,rega 
+0x6b2d 035499 lshift pdata ,pdata 
+0x6b2e 035500 isolate1 0 ,regc 
+0x6b2f 035501 setflag true ,0 ,pdata 
+0x6b30 035502 isolate1 8 ,pdata 
+0x6b31 035503 setflag true ,0 ,regc 
+0x6b32 035504 istore 1 ,rega 
+0x6b33 035505 increase -1 ,rega 
+0x6b34 035506 loop bn_lshift_0_inverse 
+0x6b35 035507 rtn 
+:      035509 function_aes_cmac_k1_inverse:
+0x6b36 035510 arg mem_aes_cmac_k1 ,rega 
+:      035511 function_aes_cmac_inverse_common:
+0x6b37 035512 increase 15 ,rega 
+0x6b38 035513 force 16 ,loopcnt 
+0x6b39 035514 force 0 ,regc 
+0x6b3a 035515 branch bn_lshift_0_inverse 
+:      035517 function_aes_cmac_k2_inverse:
+0x6b3b 035518 arg mem_aes_cmac_k2 ,rega 
+0x6b3c 035519 branch function_aes_cmac_inverse_common 
+:      035522 function_aes_cmac_generate_subkey:
+0x6b3d 035523 arg mem_aes_cmac_k ,contr 
+0x6b3e 035524 call load_key 
+0x6b3f 035527 force regidx_xor ,regext_index 
+0x6b40 035528 call aes_clear 
+0x6b41 035529 call aes_clear_data 
+0x6b42 035530 call do_aes_ocb 
+0x6b43 035535 arg mem_aes_cmac_k1 ,contw 
+0x6b44 035536 call store_aes_result 
+:      035537 function_aes_cmac_k1:
+0x6b45 035538 bpatchx patch2d_6 ,mem_patch2d 
+0x6b46 035539 fetch 1 ,mem_aes_cmac_k1 
+0x6b47 035540 isolate1 7 ,pdata 
+0x6b48 035541 nbranch function_aes_cmac_k1_0 ,true 
+0x6b49 035542 call function_aes_cmac_k1_inverse 
+0x6b4a 035545 arg mem_aes_cmac_k1 ,regc 
+0x6b4b 035547 arg mem_aes_cmac_k1 ,contw 
+0x6b4c 035550 call function_aes_cmac_xor_rb 
+0x6b4d 035551 branch function_aes_cmac_k2 
+:      035552 function_aes_cmac_k1_0:
+0x6b4e 035553 call function_aes_cmac_k1_inverse 
+:      035554 function_aes_cmac_k2:
+0x6b4f 035556 arg mem_aes_cmac_k1 ,contr 
+0x6b50 035557 arg mem_aes_cmac_k2 ,contw 
+0x6b51 035558 call memcpy16 
+0x6b52 035559 fetch 1 ,mem_aes_cmac_k2 
+0x6b53 035560 isolate1 7 ,pdata 
+0x6b54 035561 nbranch function_aes_cmac_k2_inverse ,true 
+0x6b55 035562 call function_aes_cmac_k2_inverse 
+0x6b56 035564 arg mem_aes_cmac_k2 ,regc 
+0x6b57 035566 arg mem_aes_cmac_k2 ,contw 
+:      035572 function_aes_cmac_xor_rb:
+0x6b58 035573 arg 3 ,loopcnt 
+:      035574 function_aes_cmac_xor_rb_loop:
+0x6b59 035575 arg 0 ,temp 
+0x6b5a 035576 call function_aes_cmac_xor_loop_common 
+0x6b5b 035577 increase 4 ,regc 
+0x6b5c 035578 loop function_aes_cmac_xor_rb_loop 
+0x6b5d 035579 arg 0x8700 ,temp 
+0x6b5e 035580 lshift16 temp ,temp 
+:      035581 function_aes_cmac_xor_loop_common:
+0x6b5f 035582 ifetch 4 ,regc 
+0x6b60 035583 ixor temp ,pdata 
+0x6b61 035584 istore 4 ,contw 
+0x6b62 035585 rtn 
+:      035591 function_aes_cmac_padding:
+0x6b63 035592 bpatchx patch2d_7 ,mem_patch2d 
+0x6b64 035593 arg 16 ,loopcnt 
+0x6b65 035594 arg 0 ,pdata 
+:      035595 function_aes_cmac_padding_loop:
+0x6b66 035596 isub rega ,null 
+0x6b67 035597 branch function_aes_cmac_padding_beq_length ,zero 
+0x6b68 035598 branch function_aes_cmac_padding_big_length ,positive 
+0x6b69 035599 ifetcht 1 ,contr 
+0x6b6a 035600 istoret 1 ,contw 
+:      035601 function_aes_cmac_padding_loop2:
+0x6b6b 035602 increase 1 ,pdata 
+0x6b6c 035603 loop function_aes_cmac_padding_loop 
+0x6b6d 035604 rtn 
+:      035605 function_aes_cmac_padding_beq_length:
+0x6b6e 035606 arg 0x80 ,temp 
+:      035607 function_aes_cmac_padding_common:
+0x6b6f 035608 istoret 1 ,contw 
+0x6b70 035609 branch function_aes_cmac_padding_loop2 
+:      035611 function_aes_cmac_padding_big_length:
+0x6b71 035612 arg 0 ,temp 
+0x6b72 035613 branch function_aes_cmac_padding_common 
+:      035616 generate_kinit:
+0x6b73 035617 call function_e22 
+0x6b74 035618 arg mem_input_store ,contr 
+0x6b75 035619 arg mem_kinit ,contw 
+0x6b76 035620 branch memcpy16 
+:      035623 function_e21:
+0x6b77 035624 disable user 
+0x6b78 035625 call function_expand 
+0x6b79 035626 arg mem_random_number ,contr 
+0x6b7a 035627 arg mem_x ,contw 
+0x6b7b 035628 force 15 ,loopcnt 
+0x6b7c 035629 call memcpy 
+0x6b7d 035630 ifetch 1 ,contr 
+0x6b7e 035631 xor_into 6 ,pdata 
+0x6b7f 035632 istore 1 ,contw 
+0x6b80 035633 setarg mem_y 
+0x6b81 035634 store 2 ,memp_ar_input 
+0x6b82 035635 setarg mem_x 
+0x6b83 035636 store 2 ,memp_ar_key 
+0x6b84 035637 set1 mark_ar2 ,mark 
+0x6b85 035638 branch function_ar 
+:      035642 function_e22:
+0x6b86 035643 fetcht 1 ,mem_pin_length 
+0x6b87 035644 force 16 ,regb 
+0x6b88 035645 add temp ,6 ,regc 
+0x6b89 035646 sub regc ,16 ,null 
+0x6b8a 035647 branch function_e22_pin_init ,positive 
+0x6b8b 035648 force 16 ,regc 
+:      035649 function_e22_pin_init:
+0x6b8c 035650 arg mem_x ,contw 
+:      035651 function_e22_genx_pin:
+0x6b8d 035652 arg mem_pin ,contr 
+0x6b8e 035653 copy temp ,loopcnt 
+0x6b8f 035654 disable user 
+:      035655 function_e22_genx_loop:
+0x6b90 035656 ifetch 1 ,contr 
+0x6b91 035657 istore 1 ,contw 
+0x6b92 035658 increase -1 ,regb 
+0x6b93 035659 branch function_e22_genx_end ,zero 
+0x6b94 035660 loop function_e22_genx_loop 
+0x6b95 035661 branch function_e22_genx_pin ,user 
+0x6b96 035662 enable user 
+0x6b97 035663 force 6 ,loopcnt 
+0x6b98 035664 copy rega ,contr 
+0x6b99 035665 branch function_e22_genx_loop 
+:      035666 function_e22_genx_end:
+0x6b9a 035667 arg mem_random_number ,contr 
+0x6b9b 035668 arg mem_y ,contw 
+0x6b9c 035669 call memcpy16 
+0x6b9d 035670 fetch 1 ,mem_y15 
+0x6b9e 035671 ixor regc ,pdata 
+0x6b9f 035672 store 1 ,mem_y15 
+0x6ba0 035673 setarg mem_y 
+0x6ba1 035674 store 2 ,memp_ar_input 
+0x6ba2 035675 setarg mem_x 
+0x6ba3 035676 store 2 ,memp_ar_key 
+0x6ba4 035677 set1 mark_ar2 ,mark 
+0x6ba5 035678 branch function_ar 
+:      035683 function_e1:
+0x6ba6 035684 disable user 
+0x6ba7 035685 call function_expand 
+0x6ba8 035686 branch function_hash 
+:      035688 function_e3:
+0x6ba9 035689 arg mem_aco ,rega 
+0x6baa 035690 enable user 
+0x6bab 035691 call function_expand 
+0x6bac 035692 call function_hash 
+0x6bad 035693 arg mem_input_store ,contr 
+0x6bae 035694 arg mem_kc ,contw 
+0x6baf 035695 branch memcpy16 
+:      035698 function_hash:
+0x6bb0 035699 setarg mem_random_number 
+0x6bb1 035700 store 2 ,memp_ar_input 
+0x6bb2 035701 setarg mem_link_key 
+0x6bb3 035702 store 2 ,memp_ar_key 
+0x6bb4 035703 set0 mark_ar2 ,mark 
+0x6bb5 035704 call function_ar 
+0x6bb6 035705 arg mem_input_store ,rega 
+0x6bb7 035706 arg mem_random_number ,regb 
+0x6bb8 035707 arg mem_x ,contw 
+0x6bb9 035708 call xor16 
+0x6bba 035709 arg mem_x ,rega 
+0x6bbb 035710 arg mem_y ,regb 
+0x6bbc 035711 copy regb ,contw 
+0x6bbd 035712 enable user 
+0x6bbe 035713 call add16 
+0x6bbf 035714 call key_offset 
+0x6bc0 035715 setarg mem_y 
+0x6bc1 035716 store 2 ,memp_ar_input 
+0x6bc2 035717 setarg mem_x 
+0x6bc3 035718 store 2 ,memp_ar_key 
+0x6bc4 035719 set1 mark_ar2 ,mark 
+0x6bc5 035720 branch function_ar 
+:      035724 function_ar:
+0x6bc6 035725 jam 0 ,mem_ar_hround 
+0x6bc7 035726 fetch 2 ,memp_ar_key 
+0x6bc8 035727 iforce contr 
+0x6bc9 035728 arg mem_key_store ,contw 
+0x6bca 035729 call memcpy16 
+0x6bcb 035730 fetch 2 ,memp_ar_input 
+0x6bcc 035731 iforce contr 
+0x6bcd 035732 arg mem_input_store ,contw 
+0x6bce 035733 call memcpy16 
+:      035735 function_ar_loop:
+0x6bcf 035736 call key_scheduling 
+0x6bd0 035737 disable user 
+0x6bd1 035738 bmark0 mark_ar2 ,function_ar_original 
+0x6bd2 035739 fetch 1 ,mem_ar_hround 
+0x6bd3 035740 bne 4 ,function_ar_original 
+0x6bd4 035741 fetch 2 ,memp_ar_input 
+0x6bd5 035742 iforce regb 
+0x6bd6 035743 call xor_mod32_ar2 
+:      035744 function_ar_original:
+0x6bd7 035745 call xor_mod32 
+0x6bd8 035746 call el_boxes 
+0x6bd9 035747 fetch 1 ,mem_ar_hround 
+0x6bda 035748 increase 1 ,pdata 
+0x6bdb 035749 store 1 ,mem_ar_hround 
+0x6bdc 035751 call key_scheduling 
+0x6bdd 035752 enable user 
+0x6bde 035753 call xor_mod32 
+0x6bdf 035754 call pht 
+0x6be0 035755 call permute 
+0x6be1 035756 call pht 
+0x6be2 035757 call permute 
+0x6be3 035758 call pht 
+0x6be4 035759 call permute 
+0x6be5 035760 call pht 
+0x6be6 035761 fetch 1 ,mem_ar_hround 
+0x6be7 035762 increase 1 ,pdata 
+0x6be8 035763 store 1 ,mem_ar_hround 
+0x6be9 035764 bne 16 ,function_ar_loop 
+0x6bea 035765 call key_scheduling 
+0x6beb 035766 disable user 
+0x6bec 035767 branch xor_mod32 
+:      035771 key_scheduling:
+0x6bed 035772 fetch 1 ,mem_ar_hround 
+0x6bee 035773 arg mem_key_store ,contr 
+0x6bef 035774 branch key_sched_zero ,blank 
+0x6bf0 035775 iforce regb 
+0x6bf1 035776 force 17 ,loopcnt 
+0x6bf2 035777 copy contr ,contw 
+:      035778 key_rotateloop:
+0x6bf3 035779 ifetch 1 ,contr 
+0x6bf4 035780 lshift3 pdata ,temp 
+0x6bf5 035781 rshift2 pdata ,pdata 
+0x6bf6 035782 rshift3 pdata ,pdata 
+0x6bf7 035783 ior temp ,pdata 
+0x6bf8 035784 istore 1 ,contw 
+0x6bf9 035785 loop key_rotateloop 
+0x6bfa 035786 setarg mem_key_store 
+0x6bfb 035787 iadd regb ,contr 
+0x6bfc 035788 force 16 ,loopcnt 
+0x6bfd 035789 arg mem_round_key ,contw 
+:      035790 key_select_octet_loop:
+0x6bfe 035791 ifetch 1 ,contr 
+0x6bff 035792 istore 1 ,contw 
+0x6c00 035793 compare mem_key_store_end ,contr ,0xff 
+0x6c01 035794 nbranch key_select_octet_nwrap ,true 
+0x6c02 035795 increase -17 ,contr 
+:      035796 key_select_octet_nwrap:
+0x6c03 035797 loop key_select_octet_loop 
+0x6c04 035798 force 0 ,rega 
+0x6c05 035799 add regb ,-1 ,regc 
+0x6c06 035800 lshift2 regc ,regc 
+0x6c07 035801 lshift2 regc ,regc 
+0x6c08 035802 call enable_authrom 
+0x6c09 035803 setarg mem_b_box 
+0x6c0a 035804 iadd regc ,regc 
+0x6c0b 035805 arg mem_round_key ,contw 
+0x6c0c 035806 force 16 ,loopcnt 
+:      035807 bias_round_key_loop:
+0x6c0d 035808 ifetcht 1 ,regc 
+0x6c0e 035809 ifetch 1 ,contw 
+0x6c0f 035810 iadd temp ,pdata 
+0x6c10 035811 istore 1 ,contw 
+0x6c11 035812 increase 1 ,regc 
+0x6c12 035813 loop bias_round_key_loop 
+0x6c13 035814 branch disable_authrom 
+:      035816 key_sched_zero:
+0x6c14 035817 force 16 ,loopcnt 
+0x6c15 035818 force 0 ,temp 
+:      035819 create_byte_16_loop:
+0x6c16 035820 ifetch 1 ,contr 
+0x6c17 035821 ixor temp ,temp 
+0x6c18 035822 loop create_byte_16_loop 
+0x6c19 035823 deposit temp 
+0x6c1a 035824 istore 1 ,contr 
+0x6c1b 035825 arg mem_key_store ,contr 
+0x6c1c 035826 arg mem_round_key ,contw 
+0x6c1d 035827 branch memcpy16 
+:      035829 xor_mod32:
+0x6c1e 035830 arg mem_round_key ,regb 
+:      035831 xor_mod32_ar2:
+0x6c1f 035832 force 16 ,loopcnt 
+0x6c20 035833 arg mem_input_store ,rega 
+0x6c21 035834 copy rega ,contw 
+:      035835 xor_mod32_loop:
+0x6c22 035836 ifetcht 1 ,rega 
+0x6c23 035837 ifetch 1 ,regb 
+0x6c24 035838 ixor temp ,alarm 
+0x6c25 035839 and loopcnt ,3 ,regc 
+0x6c26 035840 nbranch xor_mod32_invert ,user 
+0x6c27 035841 xor_into 3 ,regc 
+:      035842 xor_mod32_invert:
+0x6c28 035843 sub regc ,1 ,regc 
+0x6c29 035844 branch xor_even ,positive 
+0x6c2a 035845 iadd temp ,alarm 
+:      035846 xor_even:
+0x6c2b 035847 deposit alarm 
+0x6c2c 035848 istore 1 ,contw 
+0x6c2d 035849 increase 1 ,rega 
+0x6c2e 035850 increase 1 ,regb 
+0x6c2f 035851 loop xor_mod32_loop 
+0x6c30 035852 rtn 
+:      035854 el_boxes:
+0x6c31 035855 call enable_authrom 
+0x6c32 035856 force 16 ,loopcnt 
+0x6c33 035857 arg mem_input_store ,rega 
+:      035858 el_box_loop:
+0x6c34 035859 ifetch 1 ,rega 
+0x6c35 035860 arg mem_e_box ,contr 
+0x6c36 035861 and loopcnt ,3 ,regc 
+0x6c37 035862 sub regc ,1 ,null 
+0x6c38 035863 branch e_boxes ,positive 
+0x6c39 035864 arg mem_l_box ,contr 
+:      035865 e_boxes:
+0x6c3a 035866 iadd contr ,contr 
+0x6c3b 035867 ifetch 1 ,contr 
+0x6c3c 035868 istore 1 ,rega 
+0x6c3d 035869 increase 1 ,rega 
+0x6c3e 035870 loop el_box_loop 
+0x6c3f 035871 branch disable_authrom 
+:      035873 pht:
+0x6c40 035874 force 8 ,loopcnt 
+0x6c41 035875 arg mem_input_store ,contr 
+0x6c42 035876 copy contr ,contw 
+:      035877 pht_loop:
+0x6c43 035878 ifetch 1 ,contr 
+0x6c44 035879 iforce rega 
+0x6c45 035880 ifetch 1 ,contr 
+0x6c46 035881 iforce regb 
+0x6c47 035882 lshift rega ,pdata 
+0x6c48 035883 iadd regb ,pdata 
+0x6c49 035884 istore 1 ,contw 
+0x6c4a 035885 deposit rega 
+0x6c4b 035886 iadd regb ,pdata 
+0x6c4c 035887 istore 1 ,contw 
+0x6c4d 035888 loop pht_loop 
+0x6c4e 035889 rtn 
+:      035892 permute:
+0x6c4f 035893 setarg 0x8ae42c 
+0x6c50 035894 iforce temp 
+0x6c51 035895 force 7 ,loopcnt 
+0x6c52 035896 call permute_exchange 
+0x6c53 035897 setarg 0xd751b 
+0x6c54 035898 iforce temp 
+0x6c55 035899 force 5 ,loopcnt 
+0x6c56 035900 call permute_exchange 
+0x6c57 035901 fetch 1 ,mem_input_store + 15 
+0x6c58 035902 iforce rega 
+0x6c59 035903 fetch 1 ,mem_input_store + 3 
+0x6c5a 035904 store 1 ,mem_input_store + 15 
+0x6c5b 035905 deposit rega 
+0x6c5c 035906 store 1 ,mem_input_store + 3 
+0x6c5d 035907 rtn 
+:      035909 permute_exchange:
+0x6c5e 035910 and temp ,0xf ,regb 
+:      035911 permute_loop:
+0x6c5f 035912 and temp ,0xf ,pdata 
+0x6c60 035913 arg mem_input_store ,contw 
+0x6c61 035914 iadd contw ,contw 
+0x6c62 035915 ifetch 1 ,contw 
+0x6c63 035916 iforce regc 
+0x6c64 035917 deposit rega 
+0x6c65 035918 istore 1 ,contw 
+0x6c66 035919 copy regc ,rega 
+0x6c67 035920 rshift4 temp ,temp 
+0x6c68 035921 loop permute_loop 
+0x6c69 035922 setarg mem_input_store 
+0x6c6a 035923 iadd regb ,contw 
+0x6c6b 035924 deposit rega 
+0x6c6c 035925 istore 1 ,contw 
+0x6c6d 035926 rtn 
+:      035928 add16:
+0x6c6e 035929 enable user 
+0x6c6f 035930 branch xor_add16 
+:      035932 xor16:
+0x6c70 035933 disable user 
+:      035934 xor_add16:
+0x6c71 035935 force 16 ,loopcnt 
+:      035936 xoradd_loop:
+0x6c72 035937 ifetcht 1 ,rega 
+0x6c73 035938 ifetch 1 ,regb 
+0x6c74 035939 branch xoradd_add ,user 
+0x6c75 035940 ixor temp ,pdata 
+0x6c76 035941 branch xoradd_store 
+:      035942 xoradd_add:
+0x6c77 035943 iadd temp ,pdata 
+:      035944 xoradd_store:
+0x6c78 035945 istore 1 ,contw 
+0x6c79 035946 increase 1 ,rega 
+0x6c7a 035947 increase 1 ,regb 
+0x6c7b 035948 loop xoradd_loop 
+0x6c7c 035949 rtn 
+:      035952 function_expand:
+0x6c7d 035953 arg mem_y ,contw 
+0x6c7e 035954 ifetch 6 ,rega 
+0x6c7f 035955 istore 6 ,contw 
+0x6c80 035956 branch expand_12 ,user 
+0x6c81 035957 ifetch 6 ,rega 
+0x6c82 035958 branch expand_cont 
+:      035959 expand_12:
+0x6c83 035960 ifetch 6 ,contr 
+:      035961 expand_cont:
+0x6c84 035962 istore 6 ,contw 
+0x6c85 035963 ifetch 4 ,rega 
+0x6c86 035964 istore 4 ,contw 
+0x6c87 035965 rtn 
+:      035967 key_offset:
+0x6c88 035968 arg mem_link_key ,contr 
+0x6c89 035969 arg mem_x ,contw 
+0x6c8a 035970 arg 0 ,temp 
+0x6c8b 035971 setarg 0x8395a7 
+0x6c8c 035972 call concatenate_temp24 
+0x6c8d 035973 setarg 0xb3c1df 
+0x6c8e 035974 call concatenate_temp24 
+0x6c8f 035975 setarg 0xe5e9 
+0x6c90 035976 call concatenate_temp16 
+0x6c91 035977 copy temp ,regab 
+0x6c92 035978 disable user 
+0x6c93 035979 call key_addxor 
+0x6c94 035980 copy regab ,temp 
+0x6c95 035981 enable user 
+0x6c96 035982 branch key_addxor 
+:      035984 key_addxor:
+0x6c97 035985 force 8 ,loopcnt 
+:      035986 key_addxor_loop:
+0x6c98 035987 ifetch 1 ,contr 
+0x6c99 035988 compare 1 ,loopcnt ,1 
+0x6c9a 035989 branch key_high ,user 
+0x6c9b 035990 branch key_xor ,true 
+:      035991 key_add:
+0x6c9c 035992 iadd temp ,pdata 
+0x6c9d 035993 branch key_store 
+:      035994 key_high:
+0x6c9e 035995 branch key_add ,true 
+:      035996 key_xor:
+0x6c9f 035997 ixor temp ,pdata 
+:      035998 key_store:
+0x6ca0 035999 istore 1 ,contw 
+0x6ca1 036000 rshift8 temp ,temp 
+0x6ca2 036001 loop key_addxor_loop 
+0x6ca3 036002 rtn 
+:      036004 copy_aco:
+0x6ca4 036005 fetch 6 ,mem_input_store + 4 
+0x6ca5 036006 store 6 ,mem_aco 
+0x6ca6 036007 ifetch 6 ,contr 
+0x6ca7 036008 istore 6 ,contw 
+0x6ca8 036009 rtn 
+:      036011 concatenate_temp24:
+0x6ca9 036012 lshift8 temp ,temp 
+:      036013 concatenate_temp16:
+0x6caa 036014 lshift16 temp ,temp 
+0x6cab 036015 ior temp ,temp 
+0x6cac 036016 rtn 
+:      036020 loop1:
+0x6cad 036021 branch loop1 
+:      036025 generate_stk:
+0x6cae 036026 bpatchx patch2e_0 ,mem_patch2e 
+0x6caf 036027 call function_s1 
+0x6cb0 036028 arg mem_le_ltk ,contw 
+0x6cb1 036029 branch store_aes_result 
+:      036032 authenticate_rconfirm:
+0x6cb2 036033 arg mem_le_srand ,contw 
+0x6cb3 036034 branch authenticate_mconfirm ,master 
+0x6cb4 036035 arg mem_le_mrand ,contw 
+:      036036 authenticate_mconfirm:
+0x6cb5 036037 copy contr ,rega 
+0x6cb6 036038 call memcpy16 
+0x6cb7 036039 call function_c1 
+0x6cb8 036040 arg mem_le_rconfirm ,contr 
+0x6cb9 036041 branch compare_res 
+:      036043 generate_confirm:
+0x6cba 036044 arg mem_le_mrand ,rega 
+0x6cbb 036045 branch generate_mrand ,master 
+0x6cbc 036046 arg mem_le_srand ,rega 
+:      036047 generate_mrand:
+0x6cbd 036048 copy rega ,contw 
+0x6cbe 036049 call generate_random 
+0x6cbf 036050 branch function_c1 
+:      036052 generate_sk:
+0x6cc0 036053 arg mem_le_skdm ,contr 
+0x6cc1 036054 call load_data128 
+0x6cc2 036055 arg mem_le_ltk ,contr 
+0x6cc3 036056 call load_regext 
+0x6cc4 036057 force 0x38 ,aes_ctrl 
+0x6cc5 036058 force 0x0 ,aes_ctrl 
+0x6cc6 036059 call wait_aes 
+0x6cc7 036060 arg mem_le_sk ,contw 
+0x6cc8 036061 branch store_aes_result 
+:      036065 ccm_b0:
+0x6cc9 036066 force regidx_xor ,regext_index 
+0x6cca 036067 force 0x49 ,pdata 
+0x6ccb 036068 branch iv_common 
+:      036071 first_block_counter:
+0x6ccc 036072 force 0x49 ,pdata 
+0x6ccd 036073 branch first_block 
+:      036074 first_block_data:
+0x6cce 036075 force 1 ,pdata 
+:      036076 first_block:
+0x6ccf 036077 force regidx_data ,regext_index 
+:      036078 iv_common:
+0x6cd0 036079 lshift8 temp ,regext 
+0x6cd1 036080 ior regext ,regext 
+0x6cd2 036081 increase 1 ,regext_index 
+0x6cd3 036082 rshift8 temp ,regext 
+0x6cd4 036083 rshift16 regext ,regext 
+0x6cd5 036084 fetch 2 ,mem_ccm_iv 
+0x6cd6 036085 lshift16 pdata ,pdata 
+0x6cd7 036086 ior regext ,regext 
+0x6cd8 036087 increase 1 ,regext_index 
+0x6cd9 036088 ifetchr regext ,4 ,contr 
+0x6cda 036089 increase 1 ,regext_index 
+0x6cdb 036090 ifetch 2 ,contr 
+0x6cdc 036091 byteswap rega ,regext 
+0x6cdd 036092 lshift16 regext ,regext 
+0x6cde 036093 ior regext ,regext 
+0x6cdf 036094 increase 1 ,regext_index 
+0x6ce0 036095 rtn 
+:      036099 generate_mic:
+0x6ce1 036100 add regc ,1 ,contr 
+0x6ce2 036101 ifetch 1 ,contr 
+0x6ce3 036102 iforce rega 
+0x6ce4 036103 call first_block_counter 
+0x6ce5 036104 call do_aes_ocb 
+0x6ce6 036106 force regidx_data ,regext_index 
+0x6ce7 036107 ifetch 1 ,regc 
+0x6ce8 036108 and_into 0x3 ,pdata 
+0x6ce9 036109 lshift16 pdata ,regext 
+0x6cea 036110 set1 8 ,regext 
+0x6ceb 036111 call clear_hidata 
+0x6cec 036112 call do_aes_cbc 
+0x6ced 036114 copy rega ,loopcnt 
+0x6cee 036115 add regc ,2 ,contr 
+0x6cef 036116 call padding_data 
+:      036117 generate_mic_loop:
+0x6cf0 036118 call aes_load_data 
+0x6cf1 036119 call do_aes_cbc 
+0x6cf2 036120 deposit loopcnt 
+0x6cf3 036121 branch generate_mic_end ,blank 
+0x6cf4 036122 branch generate_mic_loop 
+:      036123 generate_mic_end:
+0x6cf5 036124 force regidx_result ,regext_index 
+0x6cf6 036125 deposit regext 
+0x6cf7 036126 store 4 ,mem_le_mic 
+0x6cf8 036127 rtn 
+:      036129 aes_crypt_data:
+0x6cf9 036130 increase 1 ,rega 
+0x6cfa 036131 call first_block_data 
+0x6cfb 036132 copy regc ,contr 
+0x6cfc 036133 call aes_load_xor 
+0x6cfd 036134 call do_aes_ctr 
+0x6cfe 036135 call store_enc_data 
+0x6cff 036136 increase 16 ,regc 
+0x6d00 036137 increase -16 ,regb 
+0x6d01 036138 branch aes_crypt_data ,positive 
+0x6d02 036139 rtn 
+:      036145 ccm_br_enc_new:
+0x6d03 036146 call ccm_init_common 
+0x6d04 036147 bpatchx patch2e_1 ,mem_patch2e 
+0x6d05 036148 arg mem_kc ,contr 
+0x6d06 036149 call load_key 
+0x6d07 036151 jam 0 ,core_ccm_aad0 
+0x6d08 036152 and type ,0x0f ,pdata 
+0x6d09 036153 lshift3 pdata ,pdata 
+0x6d0a 036154 ior am_addr ,pdata 
+0x6d0b 036155 store 1 ,core_ccm_aad1 
+0x6d0c 036156 fetch 1 ,mem_llid 
+0x6d0d 036157 store 1 ,core_ccm_aad2 
+0x6d0e 036159 storer regc ,2 ,core_ccm_input_playload_addr 
+0x6d0f 036160 storer regc ,2 ,core_ccm_output_playload_addr 
+0x6d10 036162 fetchr rega ,2 ,mem_ccm_len 
+0x6d11 036163 fetcht 5 ,mem_ccm_pcnt_tx 
+0x6d12 036164 call ccm_br_check_0_length_continuation 
+0x6d13 036165 call ccm_b0 
+0x6d14 036166 jam 2 ,core_ccm_ctrl 
+0x6d15 036167 jam 3 ,core_ccm_ctrl 
+0x6d16 036169 fetch 2 ,mem_ccm_len 
+0x6d17 036170 store 2 ,core_ccm_inptr 
+0x6d18 036171 increase 4 ,pdata 
+0x6d19 036172 store 2 ,mem_ccm_len 
+0x6d1a 036173 copy regc ,pdata 
+0x6d1b 036174 iadd rega ,rega 
+0x6d1c 036175 call wait_ccm_done 
+0x6d1d 036176 arg regidx_result ,regext_index 
+0x6d1e 036177 istorer regext ,4 ,rega 
+0x6d1f 036178 storer regext ,4 ,mem_le_mic 
+0x6d20 036179 rtn 
+:      036181 ccm_br_pcnt_tx_add:
+0x6d21 036182 fetch 5 ,mem_ccm_pcnt_tx 
+0x6d22 036183 increase 1 ,pdata 
+0x6d23 036184 store 5 ,mem_ccm_pcnt_tx 
+0x6d24 036185 branch ccm_br_pcnt_tx_set 
+:      036188 ccm_br_check_0_length_continuation:
+0x6d25 036189 fetch 1 ,mem_llid 
+0x6d26 036190 rtnne llid_l2cap_cont 
+0x6d27 036191 fetch 2 ,mem_ccm_len 
+0x6d28 036192 nrtn blank 
+0x6d29 036193 set1 br_ccm_0_length_continuation ,temp 
+0x6d2a 036194 rtn 
+:      036197 ccm_br_pcnt_tx_set:
+0x6d2b 036198 fetch 1 ,mem_ccm_pcnt_tx + 4 
+0x6d2c 036199 and pdata ,0x0f ,pdata 
+0x6d2d 036200 or pdata ,0x20 ,pdata 
+0x6d2e 036201 store 1 ,mem_ccm_pcnt_tx + 4 
+0x6d2f 036202 rtn 
+:      036204 ccm_br_pcnt_rx_set:
+0x6d30 036205 fetch 1 ,mem_ccm_pcnt_rx + 4 
+0x6d31 036206 and pdata ,0x0f ,pdata 
+0x6d32 036207 store 1 ,mem_ccm_pcnt_rx + 4 
+0x6d33 036208 rtn 
+:      036210 ccm_br_decrypt_new:
+0x6d34 036211 copy contw ,pdata 
+0x6d35 036212 fetcht 2 ,mem_len 
+0x6d36 036213 increase 4 ,temp 
+0x6d37 036214 isub temp ,pdata 
+0x6d38 036215 store 2 ,mem_ccm_rx_ptr 
+0x6d39 036216 store 2 ,core_ccm_input_playload_addr 
+0x6d3a 036217 store 2 ,core_ccm_output_playload_addr 
+0x6d3b 036219 call disable_user2 
+0x6d3c 036220 call ccm_init_common 
+0x6d3d 036221 arg mem_kc ,contr 
+0x6d3e 036222 call load_key 
+0x6d3f 036224 jam 0 ,core_ccm_aad0 
+0x6d40 036225 fetch 1 ,mem_rx_type 
+0x6d41 036226 and pdata ,0x0f ,pdata 
+0x6d42 036227 lshift3 pdata ,pdata 
+0x6d43 036228 ior am_addr ,pdata 
+0x6d44 036229 store 1 ,core_ccm_aad1 
+0x6d45 036230 fetch 1 ,mem_lch_code 
+0x6d46 036231 and pdata ,0x3 ,pdata 
+0x6d47 036232 store 1 ,mem_llid 
+0x6d48 036233 store 1 ,core_ccm_aad2 
+0x6d49 036235 fetchr rega ,2 ,mem_len 
+0x6d4a 036236 storer rega ,2 ,mem_ccm_len 
+0x6d4b 036237 fetch 2 ,mem_ccm_rx_ptr 
+0x6d4c 036238 iadd rega ,contr 
+0x6d4d 036239 force regidx_data ,regext_index 
+0x6d4e 036240 ifetchr regext ,4 ,contr 
+0x6d4f 036241 storer regext ,4 ,mem_le_peer_mic 
+0x6d50 036242 fetcht 5 ,mem_ccm_pcnt_rx 
+0x6d51 036243 call ccm_br_check_0_length_continuation 
+0x6d52 036244 call ccm_b0 
+0x6d53 036245 jam 6 ,core_ccm_ctrl 
+0x6d54 036246 jam 7 ,core_ccm_ctrl 
+0x6d55 036248 fetch 2 ,mem_len 
+0x6d56 036249 store 2 ,core_ccm_inptr 
+0x6d57 036250 call wait_ccm_done 
+0x6d58 036251 fetch 1 ,core_misc_status 
+0x6d59 036252 rtnbit0 7 
+0x6d5a 036253 branch enable_user2 
+:      036256 ccm_br_pcnt_rx_add:
+0x6d5b 036257 rtnmark1 mark_old_packet 
+0x6d5c 036258 fetcht 4 ,mem_le_peer_mic 
+0x6d5d 036262 storet 4 ,mem_ccm_last_mic 
+0x6d5e 036263 fetch 5 ,mem_ccm_pcnt_rx 
+0x6d5f 036264 increase 1 ,pdata 
+0x6d60 036265 store 5 ,mem_ccm_pcnt_rx 
+0x6d61 036266 branch ccm_br_pcnt_rx_set 
+:      036270 le_decrypt_new:
+0x6d62 036271 call ccm_init_common 
+0x6d63 036272 jam 0 ,core_ccm_aad0 
+0x6d64 036273 jam 1 ,core_ccm_aad1 
+0x6d65 036274 fetch 1 ,mem_le_rxbuf_data_header 
+0x6d66 036275 and_into 0x3 ,pdata 
+0x6d67 036276 store 1 ,core_ccm_aad2 
+0x6d68 036278 setarg mem_le_rxbuf_data_payload 
+0x6d69 036279 store 2 ,core_ccm_input_playload_addr 
+0x6d6a 036280 store 2 ,core_ccm_output_playload_addr 
+0x6d6b 036282 fetchr rega ,1 ,mem_le_rxbuf_data_length 
+0x6d6c 036283 increase -4 ,rega 
+0x6d6d 036284 nbranch disable_blank ,positive 
+0x6d6e 036285 storer rega ,1 ,mem_le_rxbuf_data_length 
+0x6d6f 036286 setarg mem_le_rxbuf_data_payload 
+0x6d70 036287 iadd rega ,contr 
+0x6d71 036288 force regidx_data ,regext_index 
+0x6d72 036289 ifetchr regext ,4 ,contr 
+0x6d73 036290 storer regext ,4 ,mem_le_peer_mic 
+0x6d74 036291 fetcht 5 ,mem_ccm_pcnt_rx 
+0x6d75 036292 call ccm_b0 
+0x6d76 036293 jam 6 ,core_ccm_ctrl 
+0x6d77 036294 jam 7 ,core_ccm_ctrl 
+0x6d78 036295 fetch 1 ,mem_le_rxbuf_data_length 
+0x6d79 036296 store 2 ,core_ccm_inptr 
+0x6d7a 036297 call wait_ccm_done 
+0x6d7b 036298 fetch 1 ,core_misc_status 
+0x6d7c 036299 bbit0 7 ,disable_blank 
+0x6d7d 036300 fetcht 4 ,mem_le_peer_mic 
+0x6d7e 036301 fetch 4 ,mem_ccm_last_mic 
+0x6d7f 036302 isub temp ,pdata 
+0x6d80 036303 rtn blank 
+0x6d81 036304 storet 4 ,mem_ccm_last_mic 
+0x6d82 036305 fetch 5 ,mem_ccm_pcnt_rx 
+0x6d83 036306 increase 1 ,pdata 
+0x6d84 036307 set1 le_ccm_directionbit ,pdata 
+0x6d85 036308 store 5 ,mem_ccm_pcnt_rx 
+0x6d86 036309 force 0 ,pdata 
+0x6d87 036310 rtn 
+:      036313 le_encrypt_new:
+0x6d88 036314 call le_encrypt_new_start 
+0x6d89 036315 setarg mem_le_txpayload 
+0x6d8a 036316 iadd rega ,rega 
+0x6d8b 036317 call wait_ccm_done 
+0x6d8c 036318 arg regidx_result ,regext_index 
+0x6d8d 036319 istorer regext ,4 ,rega 
+0x6d8e 036320 rtn 
+:      036323 le_encrypt_new_start:
+0x6d8f 036324 call ccm_init_common 
+0x6d90 036325 bpatchx patch2e_2 ,mem_patch2e 
+0x6d91 036326 jam 0 ,core_ccm_aad0 
+0x6d92 036327 jam 1 ,core_ccm_aad1 
+0x6d93 036328 fetch 1 ,mem_le_txheader 
+0x6d94 036329 and_into 0x3 ,pdata 
+0x6d95 036330 store 1 ,core_ccm_aad2 
+0x6d96 036331 fetch 2 ,mem_contr 
+0x6d97 036332 store 2 ,core_ccm_input_playload_addr 
+0x6d98 036333 setarg mem_le_txpayload 
+0x6d99 036334 store 2 ,core_ccm_output_playload_addr 
+0x6d9a 036336 fetchr rega ,1 ,mem_le_txlen 
+0x6d9b 036337 fetcht 5 ,mem_ccm_pcnt_tx 
+0x6d9c 036338 call ccm_b0 
+0x6d9d 036339 jam 2 ,core_ccm_ctrl 
+0x6d9e 036340 jam 3 ,core_ccm_ctrl 
+0x6d9f 036342 fetch 1 ,mem_le_txlen 
+0x6da0 036343 store 2 ,core_ccm_inptr 
+0x6da1 036344 increase 4 ,pdata 
+0x6da2 036345 store 1 ,mem_le_txlen 
+0x6da3 036346 fetch 5 ,mem_ccm_pcnt_tx 
+0x6da4 036347 increase 1 ,pdata 
+0x6da5 036348 set0 le_ccm_directionbit ,pdata 
+0x6da6 036349 store 5 ,mem_ccm_pcnt_tx 
+0x6da7 036350 rtn 
+:      036353 ccm_wait_enc:
+0x6da8 036354 fetch 2 ,core_ccm_outptr 
+0x6da9 036355 isub temp ,null 
+0x6daa 036356 rtn zero 
+0x6dab 036357 nrtn blank 
+0x6dac 036359 branch ccm_wait_enc 
+:      036361 ccm_check_enc_done:
+0x6dad 036362 fetch 1 ,core_misc_status 
+0x6dae 036363 bbit0 6 ,assert 
+:      036364 ccm_enc_done:
+0x6daf 036365 setarg mem_le_txpayload 
+0x6db0 036366 iadd temp ,contw 
+0x6db1 036367 arg regidx_result ,regext_index 
+0x6db2 036368 istorer regext ,4 ,contw 
+0x6db3 036369 branch ccm_ctrl_clr 
+:      036371 ccm_init_common:
+0x6db4 036372 bpatchx patch2e_3 ,mem_patch2e 
+0x6db5 036373 force regidx_result ,regext_index 
+0x6db6 036374 call aes_clear 
+0x6db7 036375 call aes_clear_data 
+0x6db8 036376 setarg 0 
+0x6db9 036377 store 2 ,core_ccm_inptr 
+0x6dba 036378 rtn 
+:      036380 wait_ccm_done:
+0x6dbb 036381 fetch 1 ,core_misc_status 
+0x6dbc 036382 bbit0 6 ,wait_ccm_done 
+:      036383 ccm_ctrl_clr:
+0x6dbd 036384 jam 0 ,core_ccm_ctrl 
+0x6dbe 036385 rtn 
+:      036388 wait_aes:
+0x6dbf 036389 nbranch wait_aes ,aes_ready 
+0x6dc0 036390 rtn 
+:      036392 do_aes_ocb:
+0x6dc1 036393 force 0x30 ,aes_ctrl 
+0x6dc2 036394 force 0x0 ,aes_ctrl 
+0x6dc3 036395 branch wait_aes 
+:      036397 do_aes_cbc:
+0x6dc4 036398 force 0x32 ,aes_ctrl 
+0x6dc5 036399 force 0x2 ,aes_ctrl 
+0x6dc6 036400 branch wait_aes 
+:      036402 do_aes_ctr:
+0x6dc7 036403 force 0x34 ,aes_ctrl 
+0x6dc8 036404 force 0x4 ,aes_ctrl 
+0x6dc9 036405 branch wait_aes 
+:      036408 aes_init:
+0x6dca 036409 force 1 ,aes_ctrl 
+0x6dcb 036410 force 0 ,aes_ctrl 
+0x6dcc 036411 rtn 
+:      036412 function_s1:
+0x6dcd 036413 force regidx_data ,regext_index 
+0x6dce 036414 fetch 4 ,mem_le_mrand 
+0x6dcf 036415 iforce regext 
+0x6dd0 036416 increase 1 ,regext_index 
+0x6dd1 036417 ifetch 4 ,contr 
+0x6dd2 036418 iforce regext 
+0x6dd3 036419 increase 1 ,regext_index 
+0x6dd4 036420 fetch 4 ,mem_le_srand 
+0x6dd5 036421 iforce regext 
+0x6dd6 036422 increase 1 ,regext_index 
+0x6dd7 036423 ifetch 4 ,contr 
+0x6dd8 036424 iforce regext 
+0x6dd9 036425 increase 1 ,regext_index 
+0x6dda 036426 call aes_clear 
+0x6ddb 036427 increase -4 ,regext_index 
+0x6ddc 036428 fetch 4 ,mem_le_tk 
+0x6ddd 036429 copy pdata ,regext 
+0x6dde 036430 increase 4 ,regext_index 
+0x6ddf 036431 force 0x38 ,aes_ctrl 
+0x6de0 036432 force 0x8 ,aes_ctrl 
+0x6de1 036433 branch wait_aes 
+:      036436 function_c1:
+0x6de2 036437 bpatchx patch2e_4 ,mem_patch2e 
+0x6de3 036438 fetch 6 ,mem_le_lap 
+0x6de4 036439 fetcht 6 ,mem_le_plap 
+0x6de5 036440 branch function_c1_master ,master 
+0x6de6 036441 fetch 6 ,mem_le_plap 
+0x6de7 036442 fetcht 6 ,mem_le_lap 
+:      036443 function_c1_master:
+0x6de8 036444 force regidx_xor ,regext_index 
+0x6de9 036445 copy temp ,regext 
+0x6dea 036446 increase 1 ,regext_index 
+0x6deb 036447 rshift32 temp ,regext 
+0x6dec 036448 lshift16 pdata ,pdata 
+0x6ded 036449 ior regext ,regext 
+0x6dee 036450 increase 1 ,regext_index 
+0x6def 036451 rshift32 pdata ,regext 
+0x6df0 036452 increase 1 ,regext_index 
+0x6df1 036453 force 0 ,regext 
+0x6df2 036454 force 0 ,pdata 
+0x6df3 036455 fetch 1 ,mem_le_conn_peer_addr_type 
+0x6df4 036456 fetcht 1 ,mem_le_adv_own_addr_type 
+0x6df5 036457 nbranch function_c1_irat ,master 
+0x6df6 036459 fetch 1 ,mem_le_conn_own_addr_type 
+0x6df7 036460 fetcht 1 ,mem_le_conn_peer_addr_type 
+:      036461 function_c1_irat:
+0x6df8 036462 store 1 ,mem_le_iat 
+0x6df9 036463 storet 1 ,mem_le_rat 
+0x6dfa 036464 force regidx_data ,regext_index 
+0x6dfb 036465 arg mem_le_iat ,regb 
+0x6dfc 036466 force 4 ,loopcnt 
+:      036467 function_c1_loop1:
+0x6dfd 036468 ifetch 4 ,rega 
+0x6dfe 036469 ifetcht 4 ,regb 
+0x6dff 036470 ixor temp ,regext 
+0x6e00 036471 increase 1 ,regext_index 
+0x6e01 036472 increase 4 ,rega 
+0x6e02 036473 increase 4 ,regb 
+0x6e03 036474 loop function_c1_loop1 
+0x6e04 036475 call aes_clear 
+0x6e05 036476 increase -4 ,regext_index 
+0x6e06 036477 fetch 4 ,mem_le_tk 
+0x6e07 036478 copy pdata ,regext 
+0x6e08 036479 increase 4 ,regext_index 
+0x6e09 036480 force 0x38 ,aes_ctrl 
+0x6e0a 036481 force 0xc ,aes_ctrl 
+0x6e0b 036482 call wait_aes 
+0x6e0c 036484 call aes_clear_data 
+0x6e0d 036485 force 0x3a ,aes_ctrl 
+0x6e0e 036486 force 0x8 ,aes_ctrl 
+0x6e0f 036487 branch wait_aes 
+:      036489 padding_data:
+0x6e10 036490 compare 0 ,loopcnt ,3 
+0x6e11 036491 rtn true 
+0x6e12 036492 deposit contr 
+0x6e13 036493 iadd loopcnt ,contw 
+0x6e14 036494 force 0 ,pdata 
+:      036495 padding_loop:
+0x6e15 036496 istore 1 ,contw 
+0x6e16 036497 increase 1 ,loopcnt 
+0x6e17 036498 compare 0 ,loopcnt ,3 
+0x6e18 036499 rtn true 
+0x6e19 036500 branch padding_loop 
+:      036502 aes_load_data:
+0x6e1a 036503 force regidx_data ,regext_index 
+:      036504 load_data_loop:
+0x6e1b 036505 deposit loopcnt 
+0x6e1c 036506 branch load_data_padding ,blank 
+0x6e1d 036507 ifetch 4 ,contr 
+0x6e1e 036508 increase -4 ,loopcnt 
+:      036509 load_data_padding:
+0x6e1f 036510 iforce regext 
+0x6e20 036511 increase 1 ,regext_index 
+0x6e21 036512 compare regidx_key ,regext_index ,0xf 
+0x6e22 036513 rtn true 
+0x6e23 036514 branch load_data_loop 
+:      036516 aes_load_xor:
+0x6e24 036517 force regidx_xor ,regext_index 
+0x6e25 036518 branch load_regext 
+:      036519 load_key:
+0x6e26 036520 force regidx_key ,regext_index 
+0x6e27 036521 branch load_regext 
+:      036522 load_data128:
+0x6e28 036523 force regidx_data ,regext_index 
+:      036524 load_regext:
+0x6e29 036525 force 4 ,loopcnt 
+:      036526 load_regext_loop:
+0x6e2a 036527 ifetch 4 ,contr 
+0x6e2b 036528 iforce regext 
+0x6e2c 036529 increase 1 ,regext_index 
+0x6e2d 036530 loop load_regext_loop 
+0x6e2e 036531 rtn 
+:      036533 load_sk:
+0x6e2f 036534 arg mem_le_sk ,contr 
+0x6e30 036535 branch load_key 
+:      036537 clear_hidata:
+0x6e31 036538 force 4 ,loopcnt 
+0x6e32 036539 branch clear_data_rest 
+:      036541 regext_clear:
+0x6e33 036542 force 0 ,regext_index 
+0x6e34 036543 force 16 ,loopcnt 
+0x6e35 036544 branch clear_loop 
+:      036546 aes_clear_data:
+0x6e36 036547 force regidx_data ,regext_index 
+:      036548 aes_clear:
+0x6e37 036549 force 4 ,loopcnt 
+:      036550 clear_loop:
+0x6e38 036551 force 0 ,regext 
+:      036552 clear_data_rest:
+0x6e39 036553 increase 1 ,regext_index 
+0x6e3a 036554 loop clear_loop 
+0x6e3b 036555 rtn 
+:      036557 store_aes_result:
+0x6e3c 036558 force regidx_result ,regext_index 
+0x6e3d 036559 force 4 ,loopcnt 
+:      036560 send_aes_result_loop:
+0x6e3e 036561 deposit regext 
+0x6e3f 036562 istore 4 ,contw 
+0x6e40 036563 increase 1 ,regext_index 
+0x6e41 036564 loop send_aes_result_loop 
+0x6e42 036565 rtn 
+:      036567 store_enc_data:
+0x6e43 036568 force regidx_result ,regext_index 
+0x6e44 036569 copy regc ,contw 
+0x6e45 036570 add regb ,1 ,loopcnt 
+0x6e46 036571 sub loopcnt ,15 ,null 
+0x6e47 036572 branch store_enc_loop ,positive 
+0x6e48 036573 force 16 ,loopcnt 
+:      036574 store_enc_loop:
+0x6e49 036575 deposit regext 
+0x6e4a 036576 sub loopcnt ,3 ,null 
+0x6e4b 036577 branch store_enc_byte ,positive 
+0x6e4c 036578 istore 4 ,contw 
+0x6e4d 036579 increase -4 ,loopcnt 
+0x6e4e 036580 rtn zero 
+0x6e4f 036581 increase 1 ,regext_index 
+0x6e50 036582 branch store_enc_loop 
+:      036583 store_enc_byte:
+0x6e51 036584 istore 1 ,contw 
+0x6e52 036585 rshift8 pdata ,pdata 
+0x6e53 036586 loop store_enc_byte 
+0x6e54 036587 rtn 
+:      036590 compare_res:
+0x6e55 036591 force regidx_result ,regext_index 
+0x6e56 036592 force 4 ,loopcnt 
+:      036593 compare_res_loop:
+0x6e57 036594 ifetch 4 ,contr 
+0x6e58 036595 isub regext ,null 
+0x6e59 036596 nrtn zero 
+0x6e5a 036597 increase 1 ,regext_index 
+0x6e5b 036598 loop compare_res_loop 
+0x6e5c 036599 force 0 ,null 
+0x6e5d 036600 rtn 
+:      036602 enable_authrom:
+0x6e5e 036603 fetch 1 ,core_clkoff 
+0x6e5f 036604 set0 clock_off_auth_rom ,pdata 
+0x6e60 036605 store 1 ,core_clkoff 
+0x6e61 036606 rtn 
+:      036608 disable_authrom:
+0x6e62 036609 fetch 1 ,core_clkoff 
+0x6e63 036610 set1 clock_off_auth_rom ,pdata 
+0x6e64 036611 store 1 ,core_clkoff 
+0x6e65 036612 rtn 
+:      036620 init_memp:
+0x6e66 036621 arg mem_p ,contw 
+0x6e67 036622 setsect 0 ,0x3ffff 
+0x6e68 036623 setsect 1 ,0x3ffff 
+0x6e69 036624 setsect 2 ,0x3ffff 
+0x6e6a 036625 setsect 3 ,0x3fbff 
+0x6e6b 036626 istore 9 ,contw 
+0x6e6c 036627 setsect 0 ,0x3ffff 
+0x6e6d 036628 setsect 1 ,0x3ffff 
+0x6e6e 036629 setsect 2 ,0x3ffff 
+0x6e6f 036630 setsect 3 ,0x3ffff 
+0x6e70 036631 istore 9 ,contw 
+0x6e71 036632 setsect 0 ,0x3ffff 
+0x6e72 036633 setsect 1 ,0x3ffff 
+0x6e73 036634 setsect 2 ,0x3cfff 
+0x6e74 036635 setsect 3 ,0x3ffff 
+0x6e75 036636 istore 9 ,contw 
+0x6e76 036637 setsect 0 ,0x3ffff 
+0x6e77 036638 setsect 1 ,0x3ffff 
+0x6e78 036639 setsect 2 ,0x3ffef 
+0x6e79 036640 setsect 3 ,0x3ffff 
+0x6e7a 036641 istore 9 ,contw 
+0x6e7b 036642 setsect 0 ,0x3ffff 
+0x6e7c 036643 setsect 1 ,0x3ffff 
+0x6e7d 036644 setsect 2 ,0x3ffff 
+0x6e7e 036645 setsect 3 ,0x3ffff 
+0x6e7f 036646 istore 9 ,contw 
+0x6e80 036647 setsect 0 ,0x3ffff 
+0x6e81 036648 setsect 1 ,0x26c7f 
+0x6e82 036649 setsect 2 ,0x146b 
+0x6e83 036650 setsect 3 ,0x37bb3 
+0x6e84 036651 istore 9 ,contw 
+0x6e85 036652 setsect 0 ,0x1feb8 
+0x6e86 036653 setsect 1 ,0x10c12 
+0x6e87 036654 setsect 2 ,0x2b722 
+0x6e88 036655 setsect 3 ,0x29fa6 
+0x6e89 036656 istore 9 ,contw 
+0x6e8a 036657 setsect 0 ,0xe70f 
+0x6e8b 036658 setsect 1 ,0x16720 
+0x6e8c 036659 setsect 2 ,0x519e 
+0x6e8d 036660 setsect 3 ,0x19084 
+0x6e8e 036661 istore 9 ,contw 
+0x6e8f 036662 setsect 0 ,0x31012 
+0x6e90 036663 setsect 1 ,0x360bf 
+0x6e91 036664 setsect 2 ,0x3f0af 
+0x6e92 036665 setsect 3 ,0x3d3 
+0x6e93 036666 istore 9 ,contw 
+0x6e94 036667 setsect 0 ,0x3a188 
+0x6e95 036668 setsect 1 ,0x3ad0 
+0x6e96 036669 setsect 2 ,0x3cbf2 
+0x6e97 036670 setsect 3 ,0x243d9 
+0x6e98 036671 istore 9 ,contw 
+0x6e99 036672 setsect 0 ,0x2b030 
+0x6e9a 036673 setsect 1 ,0x36a03 
+0x6e9b 036674 setsect 2 ,0x11188 
+0x6e9c 036675 setsect 3 ,0x1e520 
+0x6e9d 036676 istore 9 ,contw 
+0x6e9e 036677 setsect 0 ,0x3a11e 
+0x6e9f 036678 setsect 1 ,0xfe5d 
+0x6ea0 036679 setsect 2 ,0xdd57 
+0x6ea1 036680 setsect 3 ,0x1ac93 
+0x6ea2 036681 istore 9 ,contw 
+0x6ea3 036682 setsect 0 ,0x11ed 
+0x6ea4 036683 setsect 1 ,0x218c4 
+0x6ea5 036684 setsect 2 ,0x8da7 
+0x6ea6 036685 setsect 3 ,0x257ff 
+0x6ea7 036686 istore 9 ,contw 
+0x6ea8 036687 setsect 0 ,0x3192b 
+0x6ea9 036688 setsect 1 ,0x34641 
+0x6eaa 036689 setsect 2 ,0x1be0c 
+0x6eab 036690 setsect 3 ,0x366ad 
+0x6eac 036691 istore 9 ,contw 
+0x6ead 036692 setsect 0 ,0x1f83 
+0x6eae 036693 setsect 1 ,0x15a23 
+0x6eaf 036694 setsect 2 ,0x3f9b0 
+0x6eb0 036695 setsect 3 ,0x3949 
+0x6eb1 036696 istore 9 ,contw 
+0x6eb2 036697 setsect 0 ,0x13a51 
+0x6eb3 036698 setsect 1 ,0x153fd 
+0x6eb4 036699 setsect 2 ,0x3372a 
+0x6eb5 036700 setsect 3 ,0xf1bb 
+0x6eb6 036701 istore 9 ,contw 
+0x6eb7 036702 setsect 0 ,0x3ae85 
+0x6eb8 036703 setsect 1 ,0x1eed9 
+0x6eb9 036704 setsect 2 ,0x9e66 
+0x6eba 036705 setsect 3 ,0x1a8 
+0x6ebb 036706 istore 8 ,contw 
+0x6ebc 036707 rtn 
+:      036715 init_memp_256:
+0x6ebd 036716 arg mem_p_256 ,contw 
+0x6ebe 036717 setsect 0 ,0x3ffff 
+0x6ebf 036718 setsect 1 ,0x3ffff 
+0x6ec0 036719 setsect 2 ,0x3ffff 
+0x6ec1 036720 setsect 3 ,0x3ffff 
+0x6ec2 036721 istore 9 ,contw 
+0x6ec3 036722 setsect 0 ,0x3ffff 
+0x6ec4 036723 setsect 1 ,0x3f 
+0x6ec5 036724 setsect 2 ,0x0 
+0x6ec6 036725 setsect 3 ,0x0 
+0x6ec7 036726 istore 9 ,contw 
+0x6ec8 036727 setsect 0 ,0x0 
+0x6ec9 036728 setsect 1 ,0x0 
+0x6eca 036729 setsect 2 ,0x1000 
+0x6ecb 036730 setsect 3 ,0x0 
+0x6ecc 036731 istore 9 ,contw 
+0x6ecd 036732 setsect 0 ,0x3ff00 
+0x6ece 036733 setsect 1 ,0x3ffff 
+0x6ecf 036734 setsect 2 ,0x3ffcf 
+0x6ed0 036735 setsect 3 ,0x3ffff 
+0x6ed1 036736 istore 9 ,contw 
+0x6ed2 036737 setsect 0 ,0x3ffff 
+0x6ed3 036738 setsect 1 ,0x3ffff 
+0x6ed4 036739 setsect 2 ,0x3ffff 
+0x6ed5 036740 setsect 3 ,0x3ff 
+0x6ed6 036741 istore 9 ,contw 
+0x6ed7 036742 setsect 0 ,0x0 
+0x6ed8 036743 setsect 1 ,0x0 
+0x6ed9 036744 setsect 2 ,0x0 
+0x6eda 036745 setsect 3 ,0x0 
+0x6edb 036746 istore 9 ,contw 
+0x6edc 036747 setsect 0 ,0x10000 
+0x6edd 036748 setsect 1 ,0x0 
+0x6ede 036749 setsect 2 ,0x3f000 
+0x6edf 036750 setsect 3 ,0x3ffff 
+0x6ee0 036751 istore 9 ,contw 
+0x6ee1 036752 setsect 0 ,0x296ff 
+0x6ee2 036753 setsect 1 ,0x22630 
+0x6ee3 036754 setsect 2 ,0x3945d 
+0x6ee4 036755 setsect 3 ,0x3d284 
+0x6ee5 036756 istore 9 ,contw 
+0x6ee6 036757 setsect 0 ,0x333a0 
+0x6ee7 036758 setsect 1 ,0x4b7a 
+0x6ee8 036759 setsect 2 ,0x37d8 
+0x6ee9 036760 setsect 3 ,0x3c9dc 
+0x6eea 036761 istore 9 ,contw 
+0x6eeb 036762 setsect 0 ,0x3a440 
+0x6eec 036763 setsect 1 ,0x1b958 
+0x6eed 036764 setsect 2 ,0x38bce 
+0x6eee 036765 setsect 3 ,0x1091f 
+0x6eef 036766 istore 9 ,contw 
+0x6ef0 036767 setsect 0 ,0x2e12c 
+0x6ef1 036768 setsect 1 ,0x1f47c 
+0x6ef2 036769 setsect 2 ,0x356b1 
+0x6ef3 036770 setsect 3 ,0x2fd47 
+0x6ef4 036771 istore 9 ,contw 
+0x6ef5 036772 setsect 0 ,0x6837 
+0x6ef6 036773 setsect 1 ,0x2ed90 
+0x6ef7 036774 setsect 2 ,0x1ecec 
+0x6ef8 036775 setsect 3 ,0x1acc5 
+0x6ef9 036776 istore 9 ,contw 
+0x6efa 036777 setsect 0 ,0x23357 
+0x6efb 036778 setsect 1 ,0x18af3 
+0x6efc 036779 setsect 2 ,0xf9e1 
+0x6efd 036780 setsect 3 ,0x129f0 
+0x6efe 036781 istore 9 ,contw 
+0x6eff 036782 setsect 0 ,0x2e7eb 
+0x6f00 036783 setsect 1 ,0x3e6e3 
+0x6f01 036784 setsect 2 ,0x3e1a7 
+0x6f02 036785 setsect 3 ,0x10b8b 
+0x6f03 036786 istore 9 ,contw 
+0x6f04 036787 setsect 0 ,0x24fe3 
+0x6f05 036788 setsect 1 ,0x20ef 
+0x6f06 036789 setsect 2 ,0x1b5a6 
+0x6f07 036790 setsect 3 ,0xdc2f 
+0x6f08 036791 istore 9 ,contw 
+0x6f09 036792 setsect 0 ,0x13860 
+0x6f0a 036793 setsect 1 ,0x2bd69 
+0x6f0b 036794 setsect 2 ,0x391a 
+0x6f0c 036795 setsect 3 ,0x1b222 
+0x6f0d 036796 istore 9 ,contw 
+0x6f0e 036797 rtn 
+:      036800 publickey_init:
+0x6f0f 036801 fetch 1 ,mem_ssp_enable 
+0x6f10 036802 nbranch sp_initialize ,blank 
+0x6f11 036803 branch sp_initialize_256 
+:      036805 sp_calc_sequence_256_check:
+0x6f12 036806 bpatchx patch2e_5 ,mem_patch2e 
+0x6f13 036807 fetch 1 ,mem_ssp_enable 
+0x6f14 036808 rtn blank 
+0x6f15 036809 fetch 1 ,mem_sp_local_key_invalid 
+0x6f16 036810 rtnne sp_key_valid 
+0x6f17 036811 fetch 1 ,mem_secure_connections_enable 
+0x6f18 036812 rtn blank 
+0x6f19 036813 fetch 1 ,mem_sc_local_key_invalid 
+0x6f1a 036814 rtneq sp_key_valid_256 
+0x6f1b 036815 fetch 2 ,mem_ui_state_map 
+0x6f1c 036816 bbit1 ui_state_bt_connected ,stop_publickey_calc_256 
+0x6f1d 036817 fetch 1 ,mem_sc_calc 
+0x6f1e 036818 beq sp_calc_standby ,sp_initialize_256 
+0x6f1f 036819 rtn 
+:      036820 stop_publickey_calc_256:
+0x6f20 036821 jam sp_calc_standby ,mem_sc_calc 
+0x6f21 036822 rtn 
+:      036825 sp_br_secure_connection_enable:
+0x6f22 036826 fetch 1 ,mem_secure_connections_enable 
+0x6f23 036827 set1 secure_connections_br_bit ,pdata 
+0x6f24 036828 store 1 ,mem_secure_connections_enable 
+0x6f25 036829 rtn 
+:      036831 sp_br_secure_connection_disable:
+0x6f26 036832 fetch 1 ,mem_secure_connections_enable 
+0x6f27 036833 set0 secure_connections_br_bit ,pdata 
+0x6f28 036834 store 1 ,mem_secure_connections_enable 
+0x6f29 036835 rtn 
+:      036838 sp_initialize:
+0x6f2a 036839 bpatchx patch2e_6 ,mem_patch2e 
+0x6f2b 036840 fetch 1 ,mem_ssp_enable 
+0x6f2c 036841 nbranch sp_pubkey_calc ,blank 
+:      036842 sp_reset:
+0x6f2d 036843 call sp_clear_flags 
+0x6f2e 036844 jam sp_key_invalid ,mem_sp_local_key_invalid 
+0x6f2f 036845 jam sp_calc_standby ,mem_sp_calc 
+0x6f30 036846 rtn 
+:      036848 sp_wait_pubkey_calc_done:
+0x6f31 036849 fetch 1 ,mem_ssp_enable 
+0x6f32 036850 rtn blank 
+0x6f33 036851 fetch 1 ,mem_sp_local_key_invalid 
+0x6f34 036852 rtneq sp_key_valid 
+0x6f35 036853 call sp_calc_sequence 
+0x6f36 036854 branch sp_wait_pubkey_calc_done 
+:      036856 sp_clear_flags:
+0x6f37 036857 bpatchx patch2e_7 ,mem_patch2e 
+0x6f38 036858 setarg mem_sp_state_end 
+0x6f39 036859 arg mem_sp_state_start ,contw 
+0x6f3a 036860 isub contw ,loopcnt 
+0x6f3b 036861 call clear_mem 
+0x6f3c 036862 setarg mem_sp_state_xmem_end 
+0x6f3d 036863 arg mem_sp_state_xmem ,contw 
+0x6f3e 036864 isub contw ,loopcnt 
+0x6f3f 036865 branch clear_mem 
+:      036867 sp_generate_local_key:
+0x6f40 036868 jam sp_flag_commit ,mem_sp_flag 
+0x6f41 036869 fetch 1 ,mem_encapsulated_minor_type 
+0x6f42 036870 beq encapsulated_minor_type_p256 ,sp_generate_local_key0_256 
+0x6f43 036871 beq encapsulated_minor_type_p192 ,sp_generate_local_key0_192 
+0x6f44 036872 rtn 
+:      036874 sp_generate_local_key0_256:
+0x6f45 036875 fetch 1 ,mem_sc_local_key_invalid 
+0x6f46 036876 beq sp_key_valid_256 ,sp_start_send_pubkey_256 
+0x6f47 036877 branch sp_pubkey_calc_256 
+:      036878 sp_start_send_pubkey_256:
+0x6f48 036879 call sp_dhkey_calc_256 
+0x6f49 036880 fetch 1 ,mem_master_sp_state 
+0x6f4a 036881 nrtn blank 
+0x6f4b 036882 jam sp_stat_key_send ,mem_sp_state 
+0x6f4c 036883 rtn 
+:      036885 sp_master_generate_local_key:
+0x6f4d 036886 fetch 1 ,mem_sp_local_key_invalid 
+0x6f4e 036887 beq sp_key_valid ,sp_dhkey_calc 
+0x6f4f 036888 branch assert 
+:      036890 sp_generate_local_key0_192:
+0x6f50 036891 fetch 1 ,mem_sp_local_key_invalid 
+0x6f51 036892 beq sp_key_valid ,sp_start_send_pubkey 
+0x6f52 036893 branch sp_pubkey_calc 
+:      036895 sp_start_send_pubkey:
+0x6f53 036896 call sp_dhkey_calc 
+0x6f54 036897 fetch 1 ,mem_master_sp_state 
+0x6f55 036898 nrtn blank 
+0x6f56 036899 jam sp_stat_key_send ,mem_sp_state 
+0x6f57 036900 rtn 
+:      036903 sp_calc_check_publickey_256:
+0x6f58 036904 call sp_calc_b256 
+0x6f59 036905 arg mem_le_pubkey_remote_y_256 ,rega 
+0x6f5a 036906 arg mem_t7_256 ,contw 
+0x6f5b 036907 call bn_sqrmod_256 
+0x6f5c 036908 arg mem_le_pubkey_remote_x_256 ,rega 
+0x6f5d 036909 arg mem_t2_256 ,contw 
+0x6f5e 036910 call bn_sqrmod_256 
+0x6f5f 036911 arg mem_t2_256 ,rega 
+0x6f60 036912 arg mem_le_pubkey_remote_x_256 ,regb 
+0x6f61 036913 arg mem_t2_256 ,contw 
+0x6f62 036914 call bn_mulmod_256 
+0x6f63 036915 arg mem_a_256 ,rega 
+0x6f64 036916 arg mem_le_pubkey_remote_x_256 ,regb 
+0x6f65 036917 arg mem_t3_256 ,contw 
+0x6f66 036918 call bn_mulmod_256 
+0x6f67 036919 arg mem_t3_256 ,rega 
+0x6f68 036920 arg mem_t2_256 ,regb 
+0x6f69 036921 arg mem_t2_256 ,contw 
+0x6f6a 036922 call bn_addmod_256 
+0x6f6b 036923 arg mem_t0_256 ,rega 
+0x6f6c 036924 arg mem_t2_256 ,regb 
+0x6f6d 036925 arg mem_t0_256 ,contw 
+0x6f6e 036926 call bn_addmod_256 
+0x6f6f 036927 arg 32 ,loopcnt 
+0x6f70 036928 arg mem_t7_256 ,rega 
+0x6f71 036929 arg mem_t0_256 ,regb 
+0x6f72 036930 branch string_compare 
+:      036932 sp_calc_b256:
+0x6f73 036933 arg mem_gy_256 ,rega 
+0x6f74 036934 arg mem_t0_256 ,contw 
+0x6f75 036935 call bn_sqrmod_256 
+0x6f76 036936 arg mem_gx_256 ,rega 
+0x6f77 036937 arg mem_t2_256 ,contw 
+0x6f78 036938 call bn_sqrmod_256 
+0x6f79 036939 arg mem_t2_256 ,rega 
+0x6f7a 036940 arg mem_gx_256 ,regb 
+0x6f7b 036941 arg mem_t2_256 ,contw 
+0x6f7c 036942 call bn_mulmod_256 
+0x6f7d 036943 arg mem_a_256 ,rega 
+0x6f7e 036944 arg mem_gx_256 ,regb 
+0x6f7f 036945 arg mem_t3_256 ,contw 
+0x6f80 036946 call bn_mulmod_256 
+0x6f81 036947 arg mem_t3_256 ,rega 
+0x6f82 036948 arg mem_t2_256 ,regb 
+0x6f83 036949 arg mem_t2_256 ,contw 
+0x6f84 036950 call bn_addmod_256 
+0x6f85 036951 arg mem_t0_256 ,rega 
+0x6f86 036952 arg mem_t2_256 ,regb 
+0x6f87 036953 arg mem_t0_256 ,contw 
+0x6f88 036954 branch bn_submod_256 
+:      036956 sp_calc_check_publickey:
+0x6f89 036957 call sp_calc_b 
+0x6f8a 036958 arg mem_sp_pubkey_remote_y ,rega 
+0x6f8b 036959 arg mem_t7_256 ,contw 
+0x6f8c 036960 call bn_sqrmod 
+0x6f8d 036961 arg mem_sp_pubkey_remote_x ,rega 
+0x6f8e 036962 arg mem_t2_256 ,contw 
+0x6f8f 036963 call bn_sqrmod 
+0x6f90 036964 arg mem_t2_256 ,rega 
+0x6f91 036965 arg mem_sp_pubkey_remote_x ,regb 
+0x6f92 036966 arg mem_t2_256 ,contw 
+0x6f93 036967 call bn_mulmod 
+0x6f94 036968 arg mem_a ,rega 
+0x6f95 036969 arg mem_sp_pubkey_remote_x ,regb 
+0x6f96 036970 arg mem_t3_256 ,contw 
+0x6f97 036971 call bn_mulmod 
+0x6f98 036972 arg mem_t3_256 ,rega 
+0x6f99 036973 arg mem_t2_256 ,regb 
+0x6f9a 036974 arg mem_t2_256 ,contw 
+0x6f9b 036975 call bn_addmod 
+0x6f9c 036976 arg mem_t0_256 ,rega 
+0x6f9d 036977 arg mem_t2_256 ,regb 
+0x6f9e 036978 arg mem_t0_256 ,contw 
+0x6f9f 036979 call bn_addmod 
+0x6fa0 036980 arg 24 ,loopcnt 
+0x6fa1 036981 arg mem_t7_256 ,rega 
+0x6fa2 036982 arg mem_t0_256 ,regb 
+0x6fa3 036983 branch string_compare 
+:      036985 sp_calc_b:
+0x6fa4 036986 arg mem_gy ,rega 
+0x6fa5 036987 arg mem_t0_256 ,contw 
+0x6fa6 036988 call bn_sqrmod 
+0x6fa7 036989 arg mem_gx ,rega 
+0x6fa8 036990 arg mem_t2_256 ,contw 
+0x6fa9 036991 call bn_sqrmod 
+0x6faa 036992 arg mem_t2_256 ,rega 
+0x6fab 036993 arg mem_gx ,regb 
+0x6fac 036994 arg mem_t2_256 ,contw 
+0x6fad 036995 call bn_mulmod 
+0x6fae 036996 arg mem_a ,rega 
+0x6faf 036997 arg mem_gx ,regb 
+0x6fb0 036998 arg mem_t3_256 ,contw 
+0x6fb1 036999 call bn_mulmod 
+0x6fb2 037000 arg mem_t3_256 ,rega 
+0x6fb3 037001 arg mem_t2_256 ,regb 
+0x6fb4 037002 arg mem_t2_256 ,contw 
+0x6fb5 037003 call bn_addmod 
+0x6fb6 037004 arg mem_t0_256 ,rega 
+0x6fb7 037005 arg mem_t2_256 ,regb 
+0x6fb8 037006 arg mem_t0_256 ,contw 
+0x6fb9 037007 branch bn_submod 
+:      037010 sp_calculate_commitment:
+0x6fba 037011 fetch 1 ,mem_encapsulated_minor_type 
+0x6fbb 037012 beq encapsulated_minor_type_p256 ,sp_calculate_commitment_256 
+0x6fbc 037013 beq encapsulated_minor_type_p192 ,sp_calculate_commitment_192 
+0x6fbd 037014 rtn 
+:      037016 sp_calculate_commitment_256:
+0x6fbe 037017 fetch 1 ,mem_sc_calc 
+0x6fbf 037018 bne sp_calc_standby ,sp_calculate_commitment_wait_dhkey_calc 
+0x6fc0 037019 call sp_local_random_key_generator 
+0x6fc1 037020 arg mem_sp_prarm_stack ,contw 
+0x6fc2 037021 setarg mem_sp_random_local_end 
+0x6fc3 037022 istore 2 ,contw 
+0x6fc4 037023 setarg mem_sc_pubkey_local_x_256 + 32 
+0x6fc5 037024 istore 2 ,contw 
+0x6fc6 037025 setarg mem_le_pubkey_remote_x_256 + 32 
+0x6fc7 037026 istore 2 ,contw 
+:      037028 sp_calculate_commitment0_256:
+0x6fc8 037029 call function_f1_256 
+0x6fc9 037030 fetch 1 ,mem_master_sp_state 
+0x6fca 037031 beq sp_stat_commit_calc ,master_sp_calculate_commitment0 
+0x6fcb 037032 jam sp_flag_commit ,mem_sp_flag 
+0x6fcc 037033 jam sp_stat_commit_send ,mem_sp_state 
+0x6fcd 037034 rtn 
+:      037036 sp_calculate_commitment_192:
+0x6fce 037037 fetch 1 ,mem_sp_calc 
+0x6fcf 037038 bne sp_calc_standby ,sp_calculate_commitment_wait_dhkey_calc 
+0x6fd0 037039 call sp_local_random_key_generator 
+0x6fd1 037040 arg mem_sp_prarm_stack ,contw 
+0x6fd2 037041 setarg mem_sp_random_local_end 
+0x6fd3 037042 istore 2 ,contw 
+0x6fd4 037043 setarg mem_sp_pubkey_local_x_end 
+0x6fd5 037044 istore 2 ,contw 
+0x6fd6 037045 setarg mem_sp_pubkey_remote_x_end 
+0x6fd7 037046 istore 2 ,contw 
+0x6fd8 037047 branch sp_calculate_commitment0 
+:      037048 master_sp_calculate_commitment:
+0x6fd9 037049 arg mem_sp_prarm_stack ,contw 
+0x6fda 037050 setarg mem_sp_random_remote_end 
+0x6fdb 037051 istore 2 ,contw 
+0x6fdc 037052 setarg mem_sp_pubkey_remote_x_end 
+0x6fdd 037053 istore 2 ,contw 
+0x6fde 037054 setarg mem_sp_pubkey_local_x_end 
+0x6fdf 037055 istore 2 ,contw 
+:      037056 sp_calculate_commitment0:
+0x6fe0 037057 call function_f1_192 
+0x6fe1 037058 fetch 1 ,mem_master_sp_state 
+0x6fe2 037059 beq sp_stat_commit_calc ,master_sp_calculate_commitment0 
+0x6fe3 037060 jam sp_flag_commit ,mem_sp_flag 
+0x6fe4 037061 jam sp_stat_commit_send ,mem_sp_state 
+0x6fe5 037062 rtn 
+:      037063 master_sp_calculate_commitment0:
+0x6fe6 037064 jam sp_stat_commitment_compare ,mem_master_sp_state 
+0x6fe7 037065 call sp_master_generate_local_key 
+0x6fe8 037066 branch master_set_mem_master_sp_flag 
+:      037068 sp_local_random_key_generator:
+0x6fe9 037069 arg mem_sp_random_local ,contw 
+0x6fea 037070 force 8 ,queue 
+0x6feb 037071 branch random_generator 
+:      037073 sp_calculate_commitment_wait_dhkey_calc:
+0x6fec 037074 jam sp_flag_commit ,mem_sp_flag 
+0x6fed 037075 rtn 
+:      037077 sp_confirm_check:
+0x6fee 037078 fetch 1 ,mem_encapsulated_minor_type 
+0x6fef 037079 beq encapsulated_minor_type_p256 ,sp_confirm_check_256 
+0x6ff0 037080 beq encapsulated_minor_type_p192 ,sp_confirm_check_192 
+:      037081 sp_confirm_check_wait:
+0x6ff1 037082 jam sp_stat_confirm_check ,mem_sp_state 
+0x6ff2 037083 jam sp_flag_commit ,mem_sp_flag 
+0x6ff3 037084 rtn 
+:      037086 sp_confirm_check_256:
+0x6ff4 037087 fetch 1 ,mem_sp_dhkey_invalid 
+0x6ff5 037088 bne sp_key_valid_256 ,sp_confirm_check_wait 
+0x6ff6 037089 branch sp_confirm_check_common 
+:      037091 sp_confirm_check_192:
+0x6ff7 037092 fetch 1 ,mem_sp_dhkey_invalid 
+0x6ff8 037093 bne sp_key_valid ,sp_confirm_check_wait 
+:      037094 sp_confirm_check_common:
+0x6ff9 037095 arg mem_addr_value ,contw 
+0x6ffa 037096 fetch 6 ,mem_lap 
+0x6ffb 037097 istore 6 ,contw 
+0x6ffc 037098 fetch 6 ,mem_plap 
+0x6ffd 037099 istore 6 ,contw 
+0x6ffe 037100 fetch 3 ,mem_sp_iocap_remote 
+0x6fff 037101 istore 3 ,contw 
+0x7000 037103 call function_f3a 
+0x7001 037105 arg mem_sp_calc_result_high ,rega 
+0x7002 037106 arg mem_sp_check_result ,regb 
+0x7003 037107 force 4 ,queue 
+0x7004 037108 call compare4 
+0x7005 037109 nbranch sp_confirm_check_failed ,true 
+0x7006 037111 call sp_confirm_check_success 
+0x7007 037112 jam lmp_dhkey_check ,mem_lmi_opcode2 
+0x7008 037113 branch tid_set_reply 
+:      037115 sp_confirm_check_success:
+0x7009 037116 fetch 1 ,mem_master_sp_state 
+0x700a 037117 beq sp_stat_confirm_check ,sp_confirm_check_success_master 
+0x700b 037118 jam sp_stat_confirm_calc ,mem_sp_state 
+0x700c 037119 jam sp_flag_commit ,mem_sp_flag 
+0x700d 037120 jam lmp_accepted ,mem_lmo_opcode2 
+0x700e 037121 rtn 
+:      037122 sp_confirm_check_success_master:
+0x700f 037123 jam lmp_accepted ,mem_lmo_opcode2 
+0x7010 037124 jam sp_state_end ,mem_master_sp_state 
+0x7011 037125 branch master_set_mem_master_sp_flag 
+:      037128 sp_confirm_check_failed:
+0x7012 037129 fetch 1 ,mem_master_sp_state 
+0x7013 037130 beq sp_stat_confirm_check ,sp_confirm_check_failed_master 
+0x7014 037131 jam sp_stat_null ,mem_sp_state 
+0x7015 037132 jam lmp_not_accepted ,mem_lmo_opcode2 
+0x7016 037134 jam authentication_failure_error ,mem_lmo_reason2 
+0x7017 037135 rtn 
+:      037136 sp_confirm_check_failed_master:
+0x7018 037137 jam lmp_not_accepted ,mem_lmo_opcode2 
+0x7019 037138 jam sp_stat_null ,mem_master_sp_state 
+0x701a 037139 rtn 
+:      037141 sp_confirm_calc:
+0x701b 037142 fetch 1 ,mem_encapsulated_minor_type 
+0x701c 037143 beq encapsulated_minor_type_p256 ,sp_confirm_calc_256 
+0x701d 037144 beq encapsulated_minor_type_p192 ,sp_confirm_calc_192 
+0x701e 037145 rtn 
+:      037147 sp_confirm_calc_256:
+0x701f 037148 fetch 1 ,mem_sp_dhkey_invalid 
+0x7020 037149 beq sp_key_valid_256 ,sp_confirm_calc_ready 
+0x7021 037150 jam sp_stat_confirm_calc ,mem_master_sp_state 
+0x7022 037151 branch master_set_mem_master_sp_flag 
+:      037153 sp_confirm_calc_192:
+0x7023 037154 fetch 1 ,mem_sp_dh_ready 
+0x7024 037155 beq sp_flag_commit ,sp_confirm_calc_ready 
+0x7025 037156 jam sp_stat_confirm_calc ,mem_master_sp_state 
+0x7026 037157 branch master_set_mem_master_sp_flag 
+:      037159 sp_confirm_calc_ready:
+0x7027 037160 arg mem_addr_value ,contw 
+0x7028 037161 fetch 6 ,mem_plap 
+0x7029 037162 istore 6 ,contw 
+0x702a 037163 fetch 6 ,mem_lap 
+0x702b 037164 istore 6 ,contw 
+0x702c 037165 fetch 3 ,mem_lmp_io_cap_payload_iocap 
+0x702d 037166 istore 3 ,contw 
+0x702e 037168 call function_f3b 
+0x702f 037169 fetch 1 ,mem_master_sp_state 
+0x7030 037170 beq sp_stat_confirm_calc ,sp_confirm_calc_master 
+0x7031 037171 jam sp_stat_confirm_send ,mem_sp_state 
+0x7032 037172 jam sp_flag_commit ,mem_sp_flag 
+0x7033 037173 rtn 
+:      037174 sp_confirm_calc_master:
+0x7034 037175 jam sp_stat_confirm_send ,mem_master_sp_state 
+0x7035 037176 jam sp_flag_commit ,mem_master_sp_flag 
+0x7036 037177 rtn 
+:      037179 sp_master_key_prarm_push:
+0x7037 037180 arg mem_sp_prarm_stack ,contw 
+0x7038 037181 fetch 6 ,mem_plap 
+0x7039 037182 istore 6 ,contw 
+0x703a 037183 fetch 6 ,mem_lap 
+0x703b 037184 istore 6 ,contw 
+0x703c 037185 setarg mem_sp_random_local_end 
+0x703d 037186 istore 2 ,contw 
+0x703e 037187 setarg mem_sp_random_remote_end 
+0x703f 037188 istore 2 ,contw 
+0x7040 037189 branch sp_link_key_calc 
+:      037190 sp_link_key_prarm_push:
+0x7041 037191 jam sp_stat_done ,mem_sp_state 
+0x7042 037192 arg mem_sp_prarm_stack ,contw 
+0x7043 037193 fetch 6 ,mem_lap 
+0x7044 037194 istore 6 ,contw 
+0x7045 037195 fetch 6 ,mem_plap 
+0x7046 037196 istore 6 ,contw 
+0x7047 037197 setarg mem_sp_random_remote_end 
+0x7048 037198 istore 2 ,contw 
+0x7049 037199 setarg mem_sp_random_local_end 
+0x704a 037200 istore 2 ,contw 
+:      037201 sp_link_key_calc:
+0x704b 037203 arg mem_addr_value ,contw 
+0x704c 037204 fetch 6 ,mem_sp_prarm_stack 
+0x704d 037205 istore 6 ,contw 
+0x704e 037206 fetch 6 ,mem_sp_prarm_stack + 6 
+0x704f 037207 istore 6 ,contw 
+0x7050 037209 call function_f2 
+0x7051 037212 jam 1 ,mem_link_key_exists 
+0x7052 037213 arg mem_link_key ,contw 
+0x7053 037214 arg mem_sp_calc_result_high ,contr 
+0x7054 037215 call memcpy16 
+0x7055 037216 branch generate_linkkey_continue 
+:      037219 sp_debug_private:
+0x7056 037220 arg mem_sp_private_key ,contw 
+0x7057 037221 setsect 0 ,0x118ff 
+0x7058 037222 setsect 1 ,0x3fd29 
+0x7059 037223 setsect 2 ,0x1ed2e 
+0x705a 037224 setsect 3 ,0xad89 
+0x705b 037225 istore 9 ,contw 
+0x705c 037226 setsect 0 ,0x30c14 
+0x705d 037227 setsect 1 ,0x75b3 
+0x705e 037228 setsect 2 ,0x5df 
+0x705f 037229 setsect 3 ,0x3709c 
+0x7060 037230 istore 9 ,contw 
+0x7061 037231 setsect 0 ,0x2918d 
+0x7062 037232 setsect 1 ,0x57e1 
+0x7063 037233 setsect 2 ,0x79 
+0x7064 037234 istore 6 ,contw 
+0x7065 037235 rtn 
+:      037238 sp_pubkey_calc:
+0x7066 037239 bpatchx patch2f_0 ,mem_patch2f 
+0x7067 037240 fetch 1 ,mem_sp_local_key_invalid 
+0x7068 037241 rtnne sp_key_invalid 
+0x7069 037242 fetch 1 ,mem_sp_calc 
+0x706a 037243 rtnne sp_calc_standby 
+0x706b 037245 arg mem_sp_private_key ,contw 
+0x706c 037246 force 11 ,queue 
+0x706d 037247 call random_generator 
+0x706e 037248 random pdata 
+0x706f 037249 rshift pdata ,pdata 
+0x7070 037250 istore 2 ,contw 
+0x7071 037252 fetch 1 ,mem_sp_debug_mode 
+0x7072 037253 ncall sp_debug_private ,blank 
+0x7073 037255 arg mem_k ,contw 
+0x7074 037256 arg mem_sp_private_key ,contr 
+0x7075 037257 call memcpy24 
+0x7076 037259 arg mem_ax ,contw 
+0x7077 037260 arg mem_gx ,contr 
+0x7078 037261 call memcpy48 
+0x7079 037263 arg mem_az ,contw 
+0x707a 037264 call bn_zero 
+0x707b 037265 jam 1 ,mem_az 
+0x707c 037267 call eckp_calc_init 
+0x707d 037268 jam sp_calc_pubkey ,mem_sp_calc 
+0x707e 037269 rtn 
+:      037271 sp_pubkey_generated:
+0x707f 037272 arg mem_sp_pubkey_local ,contw 
+0x7080 037273 arg mem_bx ,contr 
+0x7081 037274 call memcpy48 
+0x7082 037275 jam sp_key_valid ,mem_sp_local_key_invalid 
+0x7083 037276 jam sp_calc_standby ,mem_sp_calc 
+0x7084 037277 rtn 
+:      037279 sp_dhkey_calc:
+0x7085 037280 bpatchx patch2f_1 ,mem_patch2f 
+0x7086 037281 fetch 1 ,mem_sp_dhkey_invalid 
+0x7087 037282 rtnne sp_key_invalid 
+0x7088 037283 fetch 1 ,mem_sp_calc 
+0x7089 037284 rtnne sp_calc_standby 
+0x708a 037286 arg mem_k ,contw 
+0x708b 037287 arg mem_sp_private_key ,contr 
+0x708c 037288 call memcpy24 
+0x708d 037290 arg mem_ax ,contw 
+0x708e 037291 arg mem_sp_pubkey_remote ,contr 
+0x708f 037292 call memcpy48 
+0x7090 037294 arg mem_az ,contw 
+0x7091 037295 call bn_zero 
+0x7092 037296 jam 1 ,mem_az 
+0x7093 037298 call eckp_calc_init 
+0x7094 037299 jam sp_calc_dhkey ,mem_sp_calc 
+0x7095 037300 rtn 
+:      037302 sp_dhkey_generated:
+0x7096 037303 jam sp_flag_commit ,mem_sp_dh_ready 
+0x7097 037304 arg mem_sp_dhkey ,contw 
+0x7098 037305 arg mem_bx ,contr 
+0x7099 037306 call memcpy24 
+0x709a 037307 jam sp_key_valid ,mem_sp_dhkey_invalid 
+0x709b 037308 jam sp_calc_standby ,mem_sp_calc 
+0x709c 037309 rtn 
+:      037311 random_generator:
+0x709d 037312 increase -1 ,queue 
+0x709e 037313 nrtn positive 
+0x709f 037314 random pdata 
+0x70a0 037315 istore 2 ,contw 
+0x70a1 037316 branch random_generator 
+:      037317 compare4:
+0x70a2 037318 increase -1 ,queue 
+0x70a3 037319 nbranch compare4_success ,positive 
+0x70a4 037320 ifetch 4 ,rega 
+0x70a5 037321 copy pdata ,temp 
+0x70a6 037322 ifetch 4 ,regb 
+0x70a7 037323 iflip temp ,pdata 
+0x70a8 037324 nbranch compare4_failed ,zero 
+0x70a9 037325 increase 4 ,rega 
+0x70aa 037326 increase 4 ,regb 
+0x70ab 037327 branch compare4 
+:      037328 compare4_failed:
+0x70ac 037329 disable true 
+0x70ad 037330 rtn 
+:      037331 compare4_success:
+0x70ae 037332 enable true 
+0x70af 037333 rtn 
+:      037340 simple_pairing_sequence:
+0x70b0 037341 bpatchx patch2f_2 ,mem_patch2f 
+0x70b1 037342 fetch 1 ,mem_sp_flag 
+0x70b2 037343 rtn blank 
+0x70b3 037344 call lmo_fifo_check 
+0x70b4 037345 nrtn blank 
+0x70b5 037346 jam sp_flag_standby ,mem_sp_flag 
+0x70b6 037347 fetch 1 ,mem_sp_state 
+0x70b7 037348 beq sp_stat_key_send ,sp_send_lmp_encapsulated_header 
+0x70b8 037349 beq sp_stat_commit_send ,sp_send_lmp_simple_pairing_comfirm 
+0x70b9 037350 beq sp_stat_random_send ,sp_send_lmp_simple_pairing_number 
+0x70ba 037351 beq sp_stat_confirm_send ,sp_send_lmp_dhkey_check 
+0x70bb 037352 beq sp_stat_key_generate ,sp_generate_local_key 
+0x70bc 037353 beq sp_stat_commit_calc ,sp_calculate_commitment 
+0x70bd 037354 beq sp_stat_confirm_check ,sp_confirm_check 
+0x70be 037355 beq sp_stat_confirm_calc ,sp_confirm_calc 
+0x70bf 037356 beq sp_stat_link_key_calc ,sp_link_key_prarm_push 
+0x70c0 037358 rtn 
+:      037360 master_simple_paring_sequence:
+0x70c1 037361 bpatchx patch2f_3 ,mem_patch2f 
+0x70c2 037362 fetch 1 ,mem_master_sp_flag 
+0x70c3 037363 rtn blank 
+0x70c4 037364 call lmo_fifo_check 
+0x70c5 037365 nrtn blank 
+0x70c6 037366 jam sp_flag_standby ,mem_master_sp_flag 
+0x70c7 037367 fetch 1 ,mem_master_sp_state 
+0x70c8 037368 beq sp_master_stat_start_skip ,sp_master_send_io_cap_get 
+0x70c9 037369 beq sp_master_stat_start_done ,sp_master_send_io_cap_send 
+0x70ca 037370 beq sp_stat_key_send ,sp_master_send_lmp_encapsulated_header 
+0x70cb 037371 beq sp_stat_commit_calc ,master_sp_calculate_commitment 
+0x70cc 037372 beq sp_stat_commitment_compare ,sp_master_commitment_compare 
+0x70cd 037373 beq sp_stat_random_send ,sp_master_send_lmp_simple_pairing_number 
+0x70ce 037374 beq sp_stat_confirm_calc ,sp_confirm_calc 
+0x70cf 037375 beq sp_stat_confirm_send ,master_sp_send_lmp_dhkey_check 
+0x70d0 037376 beq sp_stat_confirm_check ,sp_confirm_check 
+0x70d1 037377 beq sp_state_end ,master_sp_sm_end 
+0x70d2 037378 rtn 
+:      037380 master_set_mem_master_sp_flag:
+0x70d3 037381 jam sp_flag_commit ,mem_master_sp_flag 
+0x70d4 037382 rtn 
+:      037384 master_clear_mem_master_sp_flag:
+0x70d5 037385 jam sp_flag_standby ,mem_master_sp_flag 
+0x70d6 037386 rtn 
+:      037387 sp_calc_sequence:
+0x70d7 037388 bpatchx patch2f_4 ,mem_patch2f 
+0x70d8 037389 fetch 1 ,mem_ssp_enable 
+0x70d9 037390 rtn blank 
+0x70da 037391 fetch 1 ,mem_sp_calc 
+0x70db 037392 rtn blank 
+0x70dc 037393 increase 0x80 ,pdata 
+0x70dd 037394 store 1 ,mem_sp_calc 
+0x70de 037395 rtnbit1 7 
+0x70df 037396 fetch 1 ,mem_ec_loopc 
+0x70e0 037397 branch sp_calc_sequence_done ,blank 
+0x70e1 037398 branch eckp_calc 
+:      037400 sp_calc_sequence_done:
+0x70e2 037401 call ecunmapz 
+0x70e3 037402 fetch 1 ,mem_sp_calc 
+0x70e4 037403 beq sp_calc_pubkey ,sp_pubkey_generated 
+0x70e5 037404 beq sp_calc_dhkey ,sp_dhkey_generated 
+0x70e6 037405 rtn 
+:      037408 bn_testbit:
+0x70e7 037409 and pdata ,7 ,queue 
+0x70e8 037410 rshift3 pdata ,pdata 
+0x70e9 037411 iadd contr ,contr 
+0x70ea 037412 ifetch 1 ,contr 
+0x70eb 037413 qisolate0 pdata 
+0x70ec 037414 rtn 
+:      037417 ec_copy:
+0x70ed 037418 call memcpy24 
+0x70ee 037419 call memcpy24 
+0x70ef 037420 branch memcpy24 
+:      037423 bn_eq_zero:
+0x70f0 037424 ifetch 8 ,contr 
+0x70f1 037425 nrtn blank 
+0x70f2 037426 ifetch 8 ,contr 
+0x70f3 037427 nrtn blank 
+0x70f4 037428 ifetch 8 ,contr 
+0x70f5 037429 rtn 
+:      037434 bn_eq_0:
+0x70f6 037435 ifetch 4 ,rega 
+0x70f7 037436 iforce temp 
+0x70f8 037437 ifetch 4 ,regb 
+0x70f9 037438 isub temp ,null 
+0x70fa 037439 nrtn zero 
+0x70fb 037440 increase 4 ,rega 
+0x70fc 037441 increase 4 ,regb 
+0x70fd 037442 loop bn_eq_0 
+0x70fe 037443 rtn 
+:      037446 bn_bigeq:
+0x70ff 037447 force 6 ,loopcnt 
+0x7100 037448 increase 20 ,rega 
+0x7101 037449 increase 20 ,regb 
+:      037450 bn_bigeq_0:
+0x7102 037451 ifetch 4 ,regb 
+0x7103 037452 iforce temp 
+0x7104 037453 ifetch 4 ,rega 
+0x7105 037454 isub temp ,pdata 
+0x7106 037455 nrtn positive 
+0x7107 037456 nrtn blank 
+0x7108 037457 increase -4 ,rega 
+0x7109 037458 increase -4 ,regb 
+0x710a 037459 loop bn_bigeq_0 
+0x710b 037460 rtn 
+:      037462 bn_add:
+0x710c 037463 force 6 ,loopcnt 
+0x710d 037464 force 0 ,regc 
+:      037465 bn_add_0:
+0x710e 037466 ifetch 4 ,rega 
+0x710f 037467 iforce temp 
+0x7110 037468 ifetch 4 ,regb 
+0x7111 037469 iadd temp ,pdata 
+0x7112 037470 iadd regc ,pdata 
+0x7113 037471 istore 4 ,contw 
+0x7114 037472 isolate1 32 ,pdata 
+0x7115 037473 setflag true ,0 ,regc 
+0x7116 037474 increase 4 ,rega 
+0x7117 037475 increase 4 ,regb 
+0x7118 037476 loop bn_add_0 
+0x7119 037477 rtn 
+:      037479 bn_sub:
+0x711a 037480 force 6 ,loopcnt 
+0x711b 037481 force 0 ,regc 
+:      037482 bn_sub_0:
+0x711c 037483 ifetch 4 ,regb 
+0x711d 037484 iforce temp 
+0x711e 037485 ifetch 4 ,rega 
+0x711f 037486 isub temp ,pdata 
+0x7120 037487 isub regc ,pdata 
+0x7121 037488 istore 4 ,contw 
+0x7122 037489 isolate1 32 ,pdata 
+0x7123 037490 setflag true ,0 ,regc 
+0x7124 037491 increase 4 ,rega 
+0x7125 037492 increase 4 ,regb 
+0x7126 037493 loop bn_sub_0 
+0x7127 037494 rtn 
+:      037496 bn_rshift6:
+0x7128 037497 force 6 ,loopcnt 
+0x7129 037498 increase 20 ,rega 
+:      037499 bn_rshift:
+0x712a 037500 force 0 ,regc 
+:      037501 bn_rshift_0:
+0x712b 037502 ifetch 4 ,rega 
+0x712c 037503 isolate1 0 ,pdata 
+0x712d 037504 setflag true ,1 ,regc 
+0x712e 037505 rshift pdata ,pdata 
+0x712f 037506 isolate1 0 ,regc 
+0x7130 037507 setflag true ,31 ,pdata 
+0x7131 037508 istore 4 ,rega 
+0x7132 037509 increase -4 ,rega 
+0x7133 037510 rshift regc ,regc 
+0x7134 037511 loop bn_rshift_0 
+0x7135 037512 rtn 
+:      037514 bn_lshift:
+0x7136 037515 force 6 ,loopcnt 
+0x7137 037516 force 0 ,regc 
+:      037517 bn_lshift_0:
+0x7138 037518 ifetch 4 ,rega 
+0x7139 037519 isolate1 31 ,pdata 
+0x713a 037520 setflag true ,1 ,regc 
+0x713b 037521 lshift pdata ,pdata 
+0x713c 037522 isolate1 0 ,regc 
+0x713d 037523 setflag true ,0 ,pdata 
+0x713e 037524 istore 4 ,rega 
+0x713f 037525 increase 4 ,rega 
+0x7140 037526 rshift regc ,regc 
+0x7141 037527 loop bn_lshift_0 
+0x7142 037528 rtn 
+:      037530 bn_lshiftmod:
+0x7143 037531 call bn_lshift 
+:      037532 bn_lshiftmod_ismod:
+0x7144 037533 isolate1 0 ,regc 
+0x7145 037534 branch bn_lshiftmod_0 ,true 
+0x7146 037535 arg mem_p ,regb 
+0x7147 037536 copy rega ,regc 
+0x7148 037537 increase -24 ,rega 
+0x7149 037538 call bn_bigeq 
+0x714a 037539 nrtn positive 
+0x714b 037540 copy regc ,rega 
+:      037541 bn_lshiftmod_0:
+0x714c 037542 increase -24 ,rega 
+0x714d 037543 arg mem_p ,regb 
+0x714e 037544 copy rega ,contw 
+0x714f 037545 branch bn_sub 
+:      037548 bn_addmod:
+0x7150 037549 call bn_add 
+0x7151 037550 copy contw ,rega 
+0x7152 037551 branch bn_lshiftmod_ismod 
+:      037553 bn_submod:
+0x7153 037554 call bn_sub 
+0x7154 037555 isolate0 0 ,regc 
+0x7155 037556 rtn true 
+0x7156 037557 arg mem_p ,regb 
+0x7157 037558 add contw ,-24 ,rega 
+0x7158 037559 copy rega ,contw 
+0x7159 037560 branch bn_add 
+:      037563 bn_p192mod:
+0x715a 037564 copy contw ,timeup 
+0x715b 037565 copy rega ,alarm 
+0x715c 037566 arg mem_tmp2 ,regb 
+0x715d 037567 copy regb ,contw 
+0x715e 037568 add rega ,24 ,contr 
+0x715f 037569 ifetch 8 ,contr 
+0x7160 037570 istore 8 ,contw 
+0x7161 037571 istore 8 ,contw 
+0x7162 037572 force 0 ,pdata 
+0x7163 037573 istore 8 ,contw 
+0x7164 037574 copy timeup ,contw 
+0x7165 037575 call bn_addmod 
+0x7166 037576 arg mem_tmp2 ,regb 
+0x7167 037577 copy regb ,contw 
+0x7168 037578 force 0 ,pdata 
+0x7169 037579 istore 8 ,contw 
+0x716a 037580 add alarm ,32 ,contr 
+0x716b 037581 ifetch 8 ,contr 
+0x716c 037582 istore 8 ,contw 
+0x716d 037583 istore 8 ,contw 
+0x716e 037584 copy timeup ,rega 
+0x716f 037585 copy rega ,contw 
+0x7170 037586 call bn_addmod 
+0x7171 037587 arg mem_tmp2 ,regb 
+0x7172 037588 copy regb ,contw 
+0x7173 037589 add alarm ,40 ,contr 
+0x7174 037590 ifetch 8 ,contr 
+0x7175 037591 istore 8 ,contw 
+0x7176 037592 istore 8 ,contw 
+0x7177 037593 istore 8 ,contw 
+0x7178 037594 copy timeup ,rega 
+0x7179 037595 copy rega ,contw 
+0x717a 037596 branch bn_addmod 
+:      037599 bn_load:
+0x717b 037600 force 6 ,loopcnt 
+:      037601 bn_load_0:
+0x717c 037602 ifetch 4 ,contr 
+0x717d 037603 iforce regext 
+0x717e 037604 increase 1 ,regext_index 
+0x717f 037605 loop bn_load_0 
+0x7180 037606 rtn 
+:      037610 bn_mulmod:
+0x7181 037611 copy contw ,timeup 
+0x7182 037612 arg mem_tmp1 ,contw 
+0x7183 037613 call bn_zero 
+0x7184 037614 arg mem_tmp1 ,contw 
+0x7185 037615 copy rega ,contr 
+0x7186 037616 force 0 ,regext_index 
+0x7187 037617 call bn_load 
+0x7188 037618 copy regb ,contr 
+0x7189 037619 call bn_load 
+0x718a 037620 force 0 ,regb 
+:      037621 bn_mulmod_1:
+0x718b 037622 force 0 ,temp 
+0x718c 037623 force 6 ,regc 
+:      037624 bn_mulmod_0:
+0x718d 037625 ifetch 4 ,contw 
+0x718e 037626 iforce rega 
+0x718f 037627 copy regb ,regext_index 
+0x7190 037628 deposit regext 
+0x7191 037629 copy regc ,regext_index 
+0x7192 037630 imul32 regext ,pdata 
+0x7193 037631 iadd rega ,pdata 
+0x7194 037632 iadd temp ,pdata 
+0x7195 037633 istore 4 ,contw 
+0x7196 037634 rshift32 pdata ,temp 
+0x7197 037635 increase 1 ,regc 
+0x7198 037636 compare 12 ,regc ,0xff 
+0x7199 037637 nbranch bn_mulmod_0 ,true 
+0x719a 037638 deposit temp 
+0x719b 037639 istore 4 ,contw 
+0x719c 037640 increase -24 ,contw 
+0x719d 037641 increase 1 ,regb 
+0x719e 037642 compare 6 ,regb ,0xff 
+0x719f 037643 nbranch bn_mulmod_1 ,true 
+0x71a0 037644 arg mem_tmp1 ,rega 
+0x71a1 037645 copy timeup ,contw 
+0x71a2 037646 branch bn_p192mod 
+:      037649 bn_sqrmod:
+0x71a3 037650 copy rega ,regb 
+0x71a4 037651 branch bn_mulmod 
+:      037653 bn_rshifteven:
+0x71a5 037654 copy rega ,alarm 
+:      037655 bn_rshifteven_1:
+0x71a6 037656 copy alarm ,rega 
+0x71a7 037657 ifetch 1 ,rega 
+0x71a8 037658 isolate1 0 ,pdata 
+0x71a9 037659 rtn true 
+0x71aa 037660 call bn_rshift6 
+0x71ab 037661 ifetch 1 ,regb 
+0x71ac 037662 isolate0 0 ,pdata 
+0x71ad 037663 branch bn_rshifteven_0 ,true 
+0x71ae 037664 arg mem_p ,rega 
+0x71af 037665 copy regb ,contw 
+0x71b0 037666 call bn_add 
+0x71b1 037667 ifetch 1 ,regb 
+0x71b2 037668 iadd regc ,pdata 
+0x71b3 037669 istore 1 ,regb 
+0x71b4 037670 increase -24 ,regb 
+:      037671 bn_rshifteven_0:
+0x71b5 037672 add regb ,24 ,rega 
+0x71b6 037673 force 7 ,loopcnt 
+0x71b7 037674 call bn_rshift 
+0x71b8 037675 branch bn_rshifteven_1 
+:      037678 bn_invmod:
+0x71b9 037679 copy contw ,timeup 
+0x71ba 037680 arg mem_tmp0 ,contw 
+0x71bb 037681 call bn_zero 
+0x71bc 037682 force 0 ,pdata 
+0x71bd 037683 store 4 ,mem_tmp5 
+0x71be 037684 store 4 ,mem_t2 
+0x71bf 037685 jam 1 ,mem_tmp0 
+0x71c0 037686 arg mem_tmp1 ,contw 
+0x71c1 037687 call bn_zero 
+0x71c2 037688 arg mem_p ,contr 
+0x71c3 037689 arg mem_tmp2 ,contw 
+0x71c4 037690 call memcpy24 
+0x71c5 037691 copy rega ,contr 
+0x71c6 037692 arg mem_tmp3 ,contw 
+0x71c7 037693 call memcpy24 
+:      037694 bn_invmod_2:
+0x71c8 037695 arg mem_tmp3 ,contr 
+0x71c9 037696 call bn_eq_zero 
+0x71ca 037697 branch bn_invmod_0 ,blank 
+0x71cb 037698 arg mem_tmp3 ,rega 
+0x71cc 037699 arg mem_tmp0 ,regb 
+0x71cd 037700 call bn_rshifteven 
+0x71ce 037702 arg mem_tmp2 ,rega 
+0x71cf 037703 arg mem_tmp1 ,regb 
+0x71d0 037704 call bn_rshifteven 
+0x71d1 037705 arg mem_tmp3 ,rega 
+0x71d2 037706 arg mem_tmp2 ,regb 
+0x71d3 037707 call bn_bigeq 
+0x71d4 037708 branch bn_invmod_1 ,positive 
+0x71d5 037709 arg mem_tmp2 ,rega 
+0x71d6 037710 arg mem_tmp3 ,regb 
+0x71d7 037711 copy rega ,contw 
+0x71d8 037712 call bn_sub 
+0x71d9 037713 arg mem_tmp0 ,rega 
+0x71da 037714 arg mem_tmp1 ,regb 
+0x71db 037715 copy regb ,contw 
+0x71dc 037716 call bn_add 
+0x71dd 037717 ifetch 1 ,rega 
+0x71de 037718 iadd regc ,regc 
+0x71df 037719 ifetch 1 ,regb 
+0x71e0 037720 iadd regc ,pdata 
+0x71e1 037721 istore 1 ,regb 
+0x71e2 037722 branch bn_invmod_2 
+:      037723 bn_invmod_1:
+0x71e3 037724 arg mem_tmp3 ,rega 
+0x71e4 037725 arg mem_tmp2 ,regb 
+0x71e5 037726 copy rega ,contw 
+0x71e6 037727 call bn_sub 
+0x71e7 037728 arg mem_tmp1 ,rega 
+0x71e8 037729 arg mem_tmp0 ,regb 
+0x71e9 037730 copy regb ,contw 
+0x71ea 037731 call bn_add 
+0x71eb 037732 ifetch 1 ,rega 
+0x71ec 037733 iadd regc ,regc 
+0x71ed 037734 ifetch 1 ,regb 
+0x71ee 037735 iadd regc ,pdata 
+0x71ef 037736 istore 1 ,regb 
+0x71f0 037737 branch bn_invmod_2 
+:      037738 bn_invmod_0:
+0x71f1 037739 arg mem_tmp0 ,contw 
+0x71f2 037740 call bn_zero 
+0x71f3 037741 fetch 1 ,mem_tmp5 
+0x71f4 037742 store 1 ,mem_tmp0 
+0x71f5 037743 store 1 ,mem_tmp0a 
+0x71f6 037744 arg mem_tmp0 ,rega 
+0x71f7 037745 arg mem_tmp1 ,regb 
+0x71f8 037746 copy regb ,contw 
+0x71f9 037747 call bn_addmod 
+0x71fa 037748 arg mem_p ,rega 
+0x71fb 037749 arg mem_tmp1 ,regb 
+0x71fc 037750 copy timeup ,contw 
+0x71fd 037751 branch bn_submod 
+:      037756 ecdbl:
+0x71fe 037757 arg mem_cz ,rega 
+0x71ff 037758 arg mem_t2 ,contw 
+0x7200 037759 call bn_sqrmod 
+0x7201 037760 arg mem_t2 ,rega 
+0x7202 037761 arg mem_t3 ,contw 
+0x7203 037762 call bn_sqrmod 
+0x7204 037763 arg mem_a ,rega 
+0x7205 037764 arg mem_t3 ,regb 
+0x7206 037765 arg mem_t3 ,contw 
+0x7207 037766 call bn_mulmod 
+0x7208 037767 arg mem_cx ,rega 
+0x7209 037768 arg mem_t2 ,contw 
+0x720a 037769 call bn_sqrmod 
+0x720b 037770 arg mem_t2 ,contr 
+0x720c 037771 arg mem_t1 ,contw 
+0x720d 037772 call memcpy24 
+0x720e 037773 arg mem_t1 ,rega 
+0x720f 037774 call bn_lshiftmod 
+0x7210 037775 arg mem_t2 ,rega 
+0x7211 037776 arg mem_t1 ,regb 
+0x7212 037777 arg mem_t2 ,contw 
+0x7213 037778 call bn_addmod 
+0x7214 037779 arg mem_t2 ,rega 
+0x7215 037780 arg mem_t3 ,regb 
+0x7216 037781 arg mem_t2 ,contw 
+0x7217 037782 call bn_addmod 
+0x7218 037783 arg mem_cx ,contr 
+0x7219 037784 arg mem_t1 ,contw 
+0x721a 037785 call memcpy24 
+0x721b 037786 arg mem_cy ,rega 
+0x721c 037787 arg mem_t3 ,contw 
+0x721d 037788 call bn_sqrmod 
+0x721e 037789 arg mem_t1 ,rega 
+0x721f 037790 call bn_lshiftmod 
+0x7220 037791 arg mem_t1 ,rega 
+0x7221 037792 call bn_lshiftmod 
+0x7222 037793 arg mem_t1 ,rega 
+0x7223 037794 arg mem_t3 ,regb 
+0x7224 037795 arg mem_t1 ,contw 
+0x7225 037796 call bn_mulmod 
+0x7226 037797 arg mem_t3 ,rega 
+0x7227 037798 arg mem_t0 ,contw 
+0x7228 037799 call bn_sqrmod 
+0x7229 037800 arg mem_t0 ,rega 
+0x722a 037801 call bn_lshiftmod 
+0x722b 037802 arg mem_t0 ,rega 
+0x722c 037803 call bn_lshiftmod 
+0x722d 037804 arg mem_t0 ,rega 
+0x722e 037805 call bn_lshiftmod 
+0x722f 037806 arg mem_cy ,contr 
+0x7230 037807 arg mem_t3 ,contw 
+0x7231 037808 call memcpy24 
+0x7232 037809 arg mem_t3 ,rega 
+0x7233 037810 call bn_lshiftmod 
+0x7234 037811 arg mem_t3 ,rega 
+0x7235 037812 arg mem_cz ,regb 
+0x7236 037813 arg mem_cz ,contw 
+0x7237 037814 call bn_mulmod 
+0x7238 037815 arg mem_t2 ,rega 
+0x7239 037816 arg mem_t3 ,contw 
+0x723a 037817 call bn_sqrmod 
+0x723b 037818 arg mem_t3 ,rega 
+0x723c 037819 arg mem_t1 ,regb 
+0x723d 037820 arg mem_t3 ,contw 
+0x723e 037821 call bn_submod 
+0x723f 037822 arg mem_t3 ,rega 
+0x7240 037823 arg mem_t1 ,regb 
+0x7241 037824 arg mem_cx ,contw 
+0x7242 037825 call bn_submod 
+0x7243 037826 arg mem_t1 ,rega 
+0x7244 037827 arg mem_cx ,regb 
+0x7245 037828 arg mem_t3 ,contw 
+0x7246 037829 call bn_submod 
+0x7247 037830 arg mem_t3 ,rega 
+0x7248 037831 arg mem_t2 ,regb 
+0x7249 037832 arg mem_t3 ,contw 
+0x724a 037833 call bn_mulmod 
+0x724b 037834 arg mem_t3 ,rega 
+0x724c 037835 arg mem_t0 ,regb 
+0x724d 037836 arg mem_cy ,contw 
+0x724e 037837 branch bn_submod 
+:      037841 ecadd:
+0x724f 037842 arg mem_az ,rega 
+0x7250 037843 arg mem_t7 ,contw 
+0x7251 037844 call bn_sqrmod 
+0x7252 037845 arg mem_cx ,rega 
+0x7253 037846 arg mem_t7 ,regb 
+0x7254 037847 arg mem_t0 ,contw 
+0x7255 037848 call bn_mulmod 
+0x7256 037849 arg mem_az ,rega 
+0x7257 037850 arg mem_t7 ,regb 
+0x7258 037851 arg mem_t7 ,contw 
+0x7259 037852 call bn_mulmod 
+0x725a 037853 arg mem_cy ,rega 
+0x725b 037854 arg mem_t7 ,regb 
+0x725c 037855 arg mem_t1 ,contw 
+0x725d 037856 call bn_mulmod 
+0x725e 037857 arg mem_cz ,rega 
+0x725f 037858 arg mem_t7 ,contw 
+0x7260 037859 call bn_sqrmod 
+0x7261 037860 arg mem_ax ,rega 
+0x7262 037861 arg mem_t7 ,regb 
+0x7263 037862 arg mem_t2 ,contw 
+0x7264 037863 call bn_mulmod 
+0x7265 037864 arg mem_cz ,rega 
+0x7266 037865 arg mem_t7 ,regb 
+0x7267 037866 arg mem_t7 ,contw 
+0x7268 037867 call bn_mulmod 
+0x7269 037868 arg mem_ay ,rega 
+0x726a 037869 arg mem_t7 ,regb 
+0x726b 037870 arg mem_t3 ,contw 
+0x726c 037871 call bn_mulmod 
+0x726d 037872 arg mem_t0 ,rega 
+0x726e 037873 arg mem_t2 ,regb 
+0x726f 037874 arg mem_t7 ,contw 
+0x7270 037875 call bn_submod 
+0x7271 037876 arg mem_t0 ,rega 
+0x7272 037877 arg mem_t2 ,regb 
+0x7273 037878 arg mem_t0 ,contw 
+0x7274 037879 call bn_addmod 
+0x7275 037880 arg mem_t1 ,rega 
+0x7276 037881 arg mem_t3 ,regb 
+0x7277 037882 arg mem_t2 ,contw 
+0x7278 037883 call bn_submod 
+0x7279 037884 arg mem_t1 ,rega 
+0x727a 037885 arg mem_t3 ,regb 
+0x727b 037886 arg mem_t1 ,contw 
+0x727c 037887 call bn_addmod 
+0x727d 037888 arg mem_t1 ,rega 
+0x727e 037889 arg mem_t7 ,regb 
+0x727f 037890 arg mem_t1 ,contw 
+0x7280 037891 call bn_mulmod 
+0x7281 037892 arg mem_cz ,rega 
+0x7282 037893 arg mem_az ,regb 
+0x7283 037894 arg mem_t3 ,contw 
+0x7284 037895 call bn_mulmod 
+0x7285 037896 arg mem_t3 ,rega 
+0x7286 037897 arg mem_t7 ,regb 
+0x7287 037898 arg mem_cz ,contw 
+0x7288 037899 call bn_mulmod 
+0x7289 037900 arg mem_t7 ,rega 
+0x728a 037901 arg mem_t7 ,contw 
+0x728b 037902 call bn_sqrmod 
+0x728c 037903 arg mem_t7 ,rega 
+0x728d 037904 arg mem_t0 ,regb 
+0x728e 037905 arg mem_t3 ,contw 
+0x728f 037906 call bn_mulmod 
+0x7290 037907 arg mem_t7 ,rega 
+0x7291 037908 arg mem_t1 ,regb 
+0x7292 037909 arg mem_t1 ,contw 
+0x7293 037910 call bn_mulmod 
+0x7294 037911 arg mem_t2 ,rega 
+0x7295 037912 arg mem_cx ,contw 
+0x7296 037913 call bn_sqrmod 
+0x7297 037914 arg mem_cx ,rega 
+0x7298 037915 arg mem_t3 ,regb 
+0x7299 037916 arg mem_cx ,contw 
+0x729a 037917 call bn_submod 
+0x729b 037918 arg mem_cx ,contr 
+0x729c 037919 arg mem_t7 ,contw 
+0x729d 037920 call memcpy24 
+0x729e 037921 arg mem_t7 ,rega 
+0x729f 037922 call bn_lshiftmod 
+0x72a0 037923 arg mem_t3 ,rega 
+0x72a1 037924 arg mem_t7 ,regb 
+0x72a2 037925 arg mem_t3 ,contw 
+0x72a3 037926 call bn_submod 
+0x72a4 037927 arg mem_t3 ,rega 
+0x72a5 037928 arg mem_t2 ,regb 
+0x72a6 037929 arg mem_t2 ,contw 
+0x72a7 037930 call bn_mulmod 
+0x72a8 037931 arg mem_t2 ,rega 
+0x72a9 037932 arg mem_t1 ,regb 
+0x72aa 037933 arg mem_cy ,contw 
+0x72ab 037934 call bn_submod 
+0x72ac 037935 arg mem_cy ,rega 
+0x72ad 037936 arg mem_p ,regb 
+0x72ae 037937 arg mem_cy ,contw 
+0x72af 037938 force 0 ,regc 
+0x72b0 037939 fetch 1 ,mem_cy 
+0x72b1 037940 isolate1 0 ,pdata 
+0x72b2 037941 call bn_add ,true 
+0x72b3 037942 copy regc ,alarm 
+0x72b4 037943 arg mem_cy ,rega 
+0x72b5 037944 call bn_rshift6 
+0x72b6 037945 fetch 1 ,mem_cy5 
+0x72b7 037946 isolate1 0 ,alarm 
+0x72b8 037947 setflag true ,7 ,pdata 
+0x72b9 037948 store 1 ,mem_cy5 
+0x72ba 037949 rtn 
+:      037953 eckp_0:
+0x72bb 037954 fetch 1 ,mem_ec_loopc 
+0x72bc 037955 increase -1 ,pdata 
+0x72bd 037956 nrtn positive 
+0x72be 037957 store 1 ,mem_ec_loopc 
+0x72bf 037958 fetch 1 ,mem_ec_infinite 
+0x72c0 037959 call ecdbl ,blank 
+0x72c1 037960 fetch 1 ,mem_ec_loopc 
+0x72c2 037961 arg mem_k ,contr 
+0x72c3 037962 call bn_testbit 
+0x72c4 037963 branch eckp_0 ,true 
+0x72c5 037964 fetch 1 ,mem_ec_infinite 
+0x72c6 037965 nbranch eckp_1 ,blank 
+0x72c7 037966 call ecadd 
+0x72c8 037967 branch eckp_0 
+:      037968 eckp_1:
+0x72c9 037969 jam 0 ,mem_ec_infinite 
+0x72ca 037970 arg mem_ax ,contr 
+0x72cb 037971 arg mem_cx ,contw 
+0x72cc 037972 call ec_copy 
+0x72cd 037973 branch eckp_0 
+:      037976 ecunmapz:
+0x72ce 037977 arg mem_cz ,rega 
+0x72cf 037978 arg mem_t3 ,contw 
+0x72d0 037979 call bn_invmod 
+0x72d1 037980 arg mem_t3 ,rega 
+0x72d2 037981 arg mem_t1 ,contw 
+0x72d3 037982 call bn_sqrmod 
+0x72d4 037983 arg mem_cx ,rega 
+0x72d5 037984 arg mem_t1 ,regb 
+0x72d6 037985 arg mem_bx ,contw 
+0x72d7 037986 call bn_mulmod 
+0x72d8 037987 arg mem_t3 ,rega 
+0x72d9 037988 arg mem_t1 ,regb 
+0x72da 037989 arg mem_t2 ,contw 
+0x72db 037990 call bn_mulmod 
+0x72dc 037991 arg mem_cy ,rega 
+0x72dd 037992 arg mem_t2 ,regb 
+0x72de 037993 arg mem_by ,contw 
+0x72df 037994 branch bn_mulmod 
+:      037998 sha_endian_swap2:
+0x72e0 037999 ifetch 4 ,contr 
+0x72e1 038000 force 4 ,rega 
+0x72e2 038001 increase 3 ,contw 
+:      038002 sha_endian_loop:
+0x72e3 038003 istore 1 ,contw 
+0x72e4 038004 rshift8 pdata ,pdata 
+0x72e5 038005 increase -2 ,contw 
+0x72e6 038006 increase -1 ,rega 
+0x72e7 038007 nbranch sha_endian_loop ,zero 
+0x72e8 038008 increase 5 ,contw 
+0x72e9 038009 loop sha_endian_swap2 
+0x72ea 038010 rtn 
+:      038013 sha_getw:
+0x72eb 038014 lshift2 queue ,pdata 
+0x72ec 038015 iadd timeup ,contr 
+0x72ed 038016 ifetch 4 ,contr 
+0x72ee 038017 rtn 
+:      038019 sha_r:
+0x72ef 038020 force 16 ,alarm 
+0x72f0 038021 arg memdat ,timeup 
+:      038022 sha_r_loop:
+0x72f1 038023 add alarm ,-7 ,queue 
+0x72f2 038024 call sha_getw 
+0x72f3 038025 iforce temp 
+0x72f4 038026 add alarm ,-16 ,queue 
+0x72f5 038027 call sha_getw 
+0x72f6 038028 iadd temp ,temp 
+0x72f7 038029 add alarm ,-2 ,queue 
+0x72f8 038030 call sha_getw 
+0x72f9 038031 shasx pdata ,1 ,pdata 
+0x72fa 038032 iadd temp ,temp 
+0x72fb 038033 add alarm ,-15 ,queue 
+0x72fc 038034 call sha_getw 
+0x72fd 038035 shasx pdata ,0 ,pdata 
+0x72fe 038036 iadd temp ,temp 
+0x72ff 038037 lshift2 alarm ,pdata 
+0x7300 038038 iadd timeup ,contw 
+0x7301 038039 istoret 4 ,contw 
+0x7302 038040 increase 1 ,alarm 
+0x7303 038041 compare 64 ,alarm ,0xff 
+0x7304 038042 nbranch sha_r_loop ,true 
+0x7305 038043 rtn 
+:      038046 sha_init:
+0x7306 038047 arg memh0 ,contr 
+0x7307 038048 force 7 ,regext_index 
+:      038049 sha_init_0:
+0x7308 038050 ifetch 4 ,contr 
+0x7309 038051 iforce regext 
+0x730a 038052 increase -1 ,regext_index 
+0x730b 038053 branch sha_init_0 ,positive 
+0x730c 038054 rtn 
+:      038056 sha:
+0x730d 038057 bpatchx patch2f_5 ,mem_patch2f 
+0x730e 038058 call sha_r 
+0x730f 038059 arg memahbak ,contw 
+0x7310 038060 force 0 ,regext_index 
+:      038061 sha_0:
+0x7311 038062 deposit regext 
+0x7312 038063 istore 4 ,contw 
+0x7313 038064 increase 1 ,regext_index 
+0x7314 038065 compare 8 ,regext_index ,0xff 
+0x7315 038066 nbranch sha_0 ,true 
+0x7316 038067 call enable_authrom 
+0x7317 038068 arg memk ,timeup 
+0x7318 038069 arg memdat ,alarm 
+0x7319 038070 force 64 ,loopcnt 
+:      038071 sha_loop:
+0x731a 038072 ifetcht 4 ,alarm 
+0x731b 038073 ifetch 4 ,timeup 
+0x731c 038074 increase 4 ,timeup 
+0x731d 038075 increase 4 ,alarm 
+0x731e 038076 iadd temp ,pdata 
+0x731f 038077 force 7 ,regext_index 
+0x7320 038078 iadd regext ,temp 
+0x7321 038079 force 4 ,regext_index 
+0x7322 038080 shasx regext ,3 ,pdata 
+0x7323 038081 iadd temp ,temp 
+0x7324 038082 force 5 ,regext_index 
+0x7325 038083 deposit regext 
+0x7326 038084 force 6 ,regext_index 
+0x7327 038085 ixor regext ,pdata 
+0x7328 038086 force 4 ,regext_index 
+0x7329 038087 iand regext ,pdata 
+0x732a 038088 force 6 ,regext_index 
+0x732b 038089 ixor regext ,pdata 
+0x732c 038090 iadd temp ,temp 
+0x732d 038091 force 7 ,regext_index 
+0x732e 038092 copy temp ,regext 
+0x732f 038093 force 3 ,regext_index 
+0x7330 038094 deposit regext 
+0x7331 038095 iadd temp ,regext 
+0x7332 038096 force 0 ,regext_index 
+0x7333 038097 deposit regext 
+0x7334 038098 force 1 ,regext_index 
+0x7335 038099 iand regext ,temp 
+0x7336 038100 ior regext ,pdata 
+0x7337 038101 force 2 ,regext_index 
+0x7338 038102 iand regext ,pdata 
+0x7339 038103 ior temp ,temp 
+0x733a 038104 force 0 ,regext_index 
+0x733b 038105 shasx regext ,2 ,pdata 
+0x733c 038106 iadd temp ,pdata 
+0x733d 038107 force 7 ,regext_index 
+0x733e 038108 iadd regext ,regext 
+0x733f 038109 regexrot 
+0x7340 038110 loop sha_loop 
+0x7341 038111 arg memahbak ,contr 
+0x7342 038112 force 0 ,regext_index 
+:      038113 sha_1:
+0x7343 038114 ifetch 4 ,contr 
+0x7344 038115 iadd regext ,regext 
+0x7345 038116 increase 1 ,regext_index 
+0x7346 038117 compare 8 ,regext_index ,0xff 
+0x7347 038118 nbranch sha_1 ,true 
+0x7348 038119 branch disable_authrom 
+:      038122 sha_result:
+0x7349 038123 arg memresult ,contw 
+0x734a 038124 force 7 ,regext_index 
+:      038125 sha_regext_save:
+0x734b 038126 deposit regext 
+0x734c 038127 istore 4 ,contw 
+0x734d 038128 increase -1 ,regext_index 
+0x734e 038129 branch sha_regext_save ,positive 
+0x734f 038130 rtn 
+:      038132 pad_xor:
+0x7350 038134 arg memdat ,contw 
+0x7351 038135 increase -4 ,contr 
+0x7352 038136 sub loopcnt ,16 ,rega 
+:      038137 pad_xor_0:
+0x7353 038138 ifetch 4 ,contr 
+0x7354 038139 ixor temp ,pdata 
+0x7355 038140 istore 4 ,contw 
+0x7356 038141 increase -8 ,contr 
+0x7357 038142 loop pad_xor_0 
+0x7358 038143 copy rega ,loopcnt 
+0x7359 038144 deposit temp 
+:      038145 pad_xor_1:
+0x735a 038146 istore 4 ,contw 
+0x735b 038147 loop pad_xor_1 
+0x735c 038148 rtn 
+:      038150 g_noninit_number_confirm:
+0x735d 038151 fetch 1 ,mem_encapsulated_minor_type 
+0x735e 038152 beq encapsulated_minor_type_p256 ,g_noninit_number_confirm_256 
+0x735f 038153 beq encapsulated_minor_type_p192 ,g_noninit_number_confirm_192 
+0x7360 038154 rtn 
+:      038156 g_noninit_number_confirm_192:
+0x7361 038157 call g_noninit0_192 
+0x7362 038158 call sha_result 
+0x7363 038159 branch g_common0 
+:      038161 g_noninit_number_confirm_256:
+0x7364 038162 call g_noninit0_256 
+0x7365 038163 call sha_result 
+0x7366 038164 branch g_common0 
+:      038166 g_noninit_192:
+0x7367 038167 call g_noninit0_192 
+0x7368 038168 branch g_common0 
+:      038170 g_noninit0_192:
+0x7369 038171 arg mem_sp_pubkey_remote_x_end ,contr 
+0x736a 038172 arg memdat ,contw 
+0x736b 038173 force 6 ,loopcnt 
+0x736c 038174 call memcpy_dword_swap 
+0x736d 038175 arg mem_sp_pubkey_local_x_end ,contr 
+0x736e 038176 force 6 ,loopcnt 
+0x736f 038177 call memcpy_dword_swap 
+0x7370 038178 arg mem_sp_random_remote_end ,contr 
+0x7371 038179 call memcpy_dword_swap4 
+0x7372 038180 call sha_init 
+0x7373 038181 call sha 
+0x7374 038182 arg mem_sp_random_local_end ,contr 
+0x7375 038183 arg memdat ,contw 
+0x7376 038184 branch g_common_192 
+:      038186 g_init_192:
+0x7377 038187 arg mem_sp_pubkey_local_x_end ,contr 
+0x7378 038188 arg memdat ,contw 
+0x7379 038189 force 6 ,loopcnt 
+0x737a 038190 call memcpy_dword_swap 
+0x737b 038191 arg mem_sp_pubkey_remote_x_end ,contr 
+0x737c 038192 force 6 ,loopcnt 
+0x737d 038193 call memcpy_dword_swap 
+0x737e 038194 arg mem_sp_random_local_end ,contr 
+0x737f 038195 call memcpy_dword_swap4 
+0x7380 038196 call sha_init 
+0x7381 038197 call sha 
+0x7382 038198 arg mem_sp_random_remote_end ,contr 
+0x7383 038199 arg memdat ,contw 
+0x7384 038200 call g_common_192 
+0x7385 038201 branch g_common0 
+:      038203 g_common_192:
+0x7386 038204 call memcpy_dword_swap4 
+0x7387 038205 setarg 0x800000 
+0x7388 038206 lshift8 pdata ,pdata 
+0x7389 038207 istore 4 ,contw 
+0x738a 038208 force 5 ,loopcnt 
+0x738b 038209 call memset0 
+0x738c 038210 setarg 640 
+0x738d 038211 istore 4 ,contw 
+0x738e 038212 branch sha 
+:      038213 g_common0:
+0x738f 038214 fetch 4 ,memresult 
+0x7390 038216 arg 1000 ,rega 
+0x7391 038217 idiv rega 
+0x7392 038218 call wait_div_end 
+0x7393 038219 remainder pdata 
+0x7394 038220 store 4 ,mem_gkey 
+0x7395 038221 quotient pdata 
+0x7396 038222 arg 1000 ,rega 
+0x7397 038223 idiv rega 
+0x7398 038224 call wait_div_end 
+0x7399 038225 remainder pdata 
+0x739a 038226 arg 1000 ,rega 
+0x739b 038227 imul32 rega ,pdata 
+0x739c 038228 fetcht 4 ,mem_gkey 
+0x739d 038229 iadd temp ,pdata 
+0x739e 038230 store 4 ,mem_gkey 
+0x739f 038231 rtn 
+:      038233 noninit_number_confirm:
+0x73a0 038234 call g_noninit0_256 
+0x73a1 038235 call sha_result 
+0x73a2 038236 branch g_common0 
+:      038239 g_noninit0_256:
+0x73a3 038240 arg mem_le_pubkey_remote_x_256 + 32 ,contr 
+0x73a4 038241 arg memdat ,contw 
+0x73a5 038242 force 8 ,loopcnt 
+0x73a6 038243 call memcpy_dword_swap 
+0x73a7 038244 arg mem_sc_pubkey_local_x_256 + 32 ,contr 
+0x73a8 038245 force 8 ,loopcnt 
+0x73a9 038246 call memcpy_dword_swap 
+0x73aa 038249 call sha_init 
+0x73ab 038250 call sha 
+0x73ac 038251 arg mem_sp_random_remote_end ,contr 
+0x73ad 038252 arg memdat ,contw 
+0x73ae 038253 call memcpy_dword_swap4 
+0x73af 038254 arg mem_sp_random_local_end ,contr 
+0x73b0 038255 branch g_common_256 
+:      038257 g_common_256:
+0x73b1 038258 call memcpy_dword_swap4 
+0x73b2 038259 setarg 0x800000 
+0x73b3 038260 lshift8 pdata ,pdata 
+0x73b4 038261 istore 4 ,contw 
+0x73b5 038262 force 3 ,loopcnt 
+0x73b6 038263 call memset0 
+0x73b7 038264 setarg 768 
+0x73b8 038265 istore 4 ,contw 
+0x73b9 038266 branch sha 
+:      038268 function_f1_192_no_key:
+0x73ba 038269 jam 0 ,mem_passkey_1bit 
+0x73bb 038270 branch function_f1_192_common 
+:      038272 function_f1_192:
+0x73bc 038273 fetch 1 ,mem_ssp_mode_flag 
+0x73bd 038274 bne ssp_mode_passkey_entry_flag ,function_f1_192_no_key 
+:      038275 function_f1_192_common:
+0x73be 038276 bpatchx patch2f_6 ,mem_patch2f 
+0x73bf 038277 setarg 0x363636 
+0x73c0 038278 lshift8 pdata ,temp 
+0x73c1 038279 or_into 0x36 ,temp 
+0x73c2 038280 fetch 2 ,mem_sp_prarm_stack 
+0x73c3 038281 copy pdata ,contr 
+0x73c4 038282 force 4 ,loopcnt 
+0x73c5 038283 call pad_xor 
+0x73c6 038284 call sha_init 
+0x73c7 038285 call sha 
+0x73c8 038286 fetch 2 ,mem_sp_prarm_stack + 2 
+0x73c9 038287 copy pdata ,contr 
+0x73ca 038288 arg memdat ,contw 
+0x73cb 038289 force 6 ,loopcnt 
+0x73cc 038290 call memcpy_dword_swap 
+0x73cd 038291 fetch 2 ,mem_sp_prarm_stack + 4 
+0x73ce 038292 copy pdata ,contr 
+0x73cf 038293 force 6 ,loopcnt 
+0x73d0 038294 call memcpy_dword_swap 
+0x73d1 038295 setarg 0x800000 
+0x73d2 038296 istore 3 ,contw 
+0x73d3 038298 fetch 1 ,mem_passkey_1bit 
+0x73d4 038300 istore 1 ,contw 
+0x73d5 038301 force 0 ,pdata 
+0x73d6 038302 istore 8 ,contw 
+0x73d7 038303 setarg 0x0388 
+0x73d8 038304 istore 4 ,contw 
+:      038305 function_f1_common2:
+0x73d9 038306 call sha 
+0x73da 038307 call sha_result 
+0x73db 038308 arg memresult ,contr 
+0x73dc 038309 arg memahsave ,contw 
+0x73dd 038310 call memcpy32 
+0x73de 038312 setarg 0x5c5c5c 
+0x73df 038313 lshift8 pdata ,temp 
+0x73e0 038314 or_into 0x5c ,temp 
+0x73e1 038315 fetch 2 ,mem_sp_prarm_stack 
+0x73e2 038316 copy pdata ,contr 
+0x73e3 038317 force 4 ,loopcnt 
+0x73e4 038318 call pad_xor 
+0x73e5 038319 call sha_init 
+0x73e6 038320 call sha 
+0x73e7 038321 arg memahsave_end ,contr 
+0x73e8 038322 arg memdat ,contw 
+0x73e9 038323 force 8 ,loopcnt 
+0x73ea 038324 call memcpy_dword_swap 
+0x73eb 038325 setarg 0x800000 
+0x73ec 038326 lshift8 pdata ,pdata 
+0x73ed 038327 istore 4 ,contw 
+0x73ee 038328 call bn_zero 
+0x73ef 038329 setarg 0x0300 
+0x73f0 038330 istore 4 ,contw 
+0x73f1 038331 call sha 
+0x73f2 038332 branch sha_result 
+:      038335 function_f2_192:
+0x73f3 038336 setarg 0x363636 
+0x73f4 038337 lshift8 pdata ,temp 
+0x73f5 038338 or_into 0x36 ,temp 
+0x73f6 038339 arg mem_sp_dhkey_end ,contr 
+0x73f7 038340 force 6 ,loopcnt 
+0x73f8 038341 call pad_xor 
+0x73f9 038342 call sha_init 
+0x73fa 038343 call sha 
+0x73fb 038344 fetch 2 ,mem_sp_prarm_stack + 12 
+0x73fc 038345 copy pdata ,contr 
+0x73fd 038346 arg memdat ,contw 
+0x73fe 038347 call memcpy_dword_swap4 
+0x73ff 038348 fetch 2 ,mem_sp_prarm_stack + 14 
+0x7400 038349 copy pdata ,contr 
+0x7401 038350 call memcpy_dword_swap4 
+0x7402 038352 setarg 0x62746c 
+0x7403 038353 lshift8 pdata ,pdata 
+0x7404 038354 or_into 0x6b ,pdata 
+0x7405 038355 istore 4 ,contw 
+0x7406 038356 arg mem_addr_value_end ,contr 
+0x7407 038357 force 3 ,loopcnt 
+0x7408 038358 call memcpy_dword_swap 
+0x7409 038360 setarg 0x800000 
+0x740a 038361 lshift8 pdata ,pdata 
+0x740b 038362 istore 4 ,contw 
+0x740c 038363 force 0 ,pdata 
+0x740d 038364 istore 8 ,contw 
+0x740e 038365 setarg 0x0380 
+0x740f 038366 istore 4 ,contw 
+0x7410 038367 call sha 
+0x7411 038369 call sha_result 
+0x7412 038370 arg memresult ,contr 
+0x7413 038371 arg memahsave ,contw 
+0x7414 038372 call memcpy32 
+0x7415 038374 setarg 0x5c5c5c 
+0x7416 038375 lshift8 pdata ,temp 
+0x7417 038376 or_into 0x5c ,temp 
+0x7418 038377 arg mem_sp_dhkey_end ,contr 
+0x7419 038378 force 6 ,loopcnt 
+0x741a 038379 call pad_xor 
+0x741b 038380 call sha_init 
+0x741c 038381 call sha 
+0x741d 038382 arg memahsave_end ,contr 
+0x741e 038383 arg memdat ,contw 
+0x741f 038384 force 8 ,loopcnt 
+0x7420 038385 call memcpy_dword_swap 
+0x7421 038386 setarg 0x800000 
+0x7422 038387 lshift8 pdata ,pdata 
+0x7423 038388 istore 4 ,contw 
+0x7424 038389 call bn_zero 
+0x7425 038390 setarg 0x0300 
+0x7426 038391 istore 4 ,contw 
+0x7427 038392 call sha 
+0x7428 038393 branch sha_result 
+:      038396 function_f3a_192:
+0x7429 038397 fetch 1 ,mem_ssp_mode_flag 
+0x742a 038398 bne ssp_mode_passkey_entry_flag ,function_f3a_no_pin 
+:      038399 function_f3a_common:
+0x742b 038400 bpatchx patch2f_7 ,mem_patch2f 
+0x742c 038401 setarg 0x363636 
+0x742d 038402 lshift8 pdata ,temp 
+0x742e 038403 or_into 0x36 ,temp 
+0x742f 038404 arg mem_sp_dhkey_end ,contr 
+0x7430 038405 force 6 ,loopcnt 
+0x7431 038406 call pad_xor 
+0x7432 038407 call sha_init 
+0x7433 038408 call sha 
+0x7434 038409 arg mem_sp_random_remote_end ,contr 
+0x7435 038410 arg memdat ,contw 
+0x7436 038411 call memcpy_dword_swap4 
+0x7437 038412 arg mem_sp_random_local_end ,contr 
+0x7438 038413 call memcpy_dword_swap4 
+0x7439 038414 branch function_f3_common 
+:      038416 function_f3a_no_pin:
+0x743a 038417 setarg 0 
+0x743b 038418 store 4 ,mem_pin 
+0x743c 038419 branch function_f3a_common 
+:      038421 function_f3b_no_pin:
+0x743d 038422 setarg 0 
+0x743e 038423 store 4 ,mem_pin 
+0x743f 038424 branch function_f3b_common 
+:      038427 function_f3b_192:
+0x7440 038428 fetch 1 ,mem_ssp_mode_flag 
+0x7441 038429 bne ssp_mode_passkey_entry_flag ,function_f3b_no_pin 
+:      038430 function_f3b_common:
+0x7442 038431 setarg 0x363636 
+0x7443 038432 lshift8 pdata ,temp 
+0x7444 038433 or_into 0x36 ,temp 
+0x7445 038434 arg mem_sp_dhkey_end ,contr 
+0x7446 038435 force 6 ,loopcnt 
+0x7447 038436 call pad_xor 
+0x7448 038437 call sha_init 
+0x7449 038438 call sha 
+0x744a 038440 arg mem_sp_random_local_end ,contr 
+0x744b 038441 arg memdat ,contw 
+0x744c 038442 call memcpy_dword_swap4 
+0x744d 038443 arg mem_sp_random_remote_end ,contr 
+0x744e 038444 call memcpy_dword_swap4 
+:      038445 function_f3_common:
+0x744f 038446 setarg 0x0 
+0x7450 038447 istore 8 ,contw 
+0x7451 038448 istore 4 ,contw 
+0x7452 038449 fetch 4 ,mem_pin 
+0x7453 038450 istore 4 ,contw 
+0x7454 038452 copy contw ,temp 
+0x7455 038453 jam 0x80 ,mem_addr_padding 
+0x7456 038454 copy temp ,contw 
+0x7457 038455 arg mem_addr_iocap_end ,contr 
+0x7458 038456 call memcpy_dword_swap4 
+0x7459 038458 call sha 
+0x745a 038460 arg memdat ,contw 
+0x745b 038461 force 7 ,loopcnt 
+0x745c 038462 call memset0 
+0x745d 038463 istore 4 ,contw 
+0x745e 038464 setarg 0x03F8 
+0x745f 038465 istore 4 ,contw 
+0x7460 038466 call sha 
+0x7461 038467 call sha_result 
+0x7462 038469 arg memresult ,contr 
+0x7463 038470 arg memahsave ,contw 
+0x7464 038471 call memcpy32 
+0x7465 038473 setarg 0x5c5c5c 
+0x7466 038474 lshift8 pdata ,temp 
+0x7467 038475 or_into 0x5c ,temp 
+0x7468 038476 arg mem_sp_dhkey_end ,contr 
+0x7469 038477 force 6 ,loopcnt 
+0x746a 038478 call pad_xor 
+0x746b 038479 call sha_init 
+0x746c 038480 call sha 
+0x746d 038481 arg memahsave_end ,contr 
+0x746e 038482 arg memdat ,contw 
+0x746f 038483 force 8 ,loopcnt 
+0x7470 038484 call memcpy_dword_swap 
+0x7471 038485 setarg 0x800000 
+0x7472 038486 lshift8 pdata ,pdata 
+0x7473 038487 istore 4 ,contw 
+0x7474 038488 call bn_zero 
+0x7475 038489 setarg 0x0300 
+0x7476 038490 istore 4 ,contw 
+0x7477 038491 call sha 
+0x7478 038492 branch sha_result 
+:      038494 eckp_calc_init:
+0x7479 038495 jam 192 ,mem_ec_loopc 
+:      038496 eckp_calc_init_1:
+0x747a 038497 fetch 1 ,mem_ec_loopc 
+0x747b 038498 rtn blank 
+0x747c 038499 increase -1 ,pdata 
+0x747d 038500 store 1 ,mem_ec_loopc 
+0x747e 038501 arg mem_k ,contr 
+0x747f 038502 call bn_testbit 
+0x7480 038503 branch eckp_calc_init_1 ,true 
+0x7481 038504 arg mem_ax ,contr 
+0x7482 038505 arg mem_cx ,contw 
+0x7483 038506 branch ec_copy 
+:      038508 eckp_calc:
+0x7484 038509 call ecdbl 
+0x7485 038510 fetch 1 ,mem_ec_loopc 
+0x7486 038511 increase -1 ,pdata 
+0x7487 038512 store 1 ,mem_ec_loopc 
+0x7488 038513 arg mem_k ,contr 
+0x7489 038514 call bn_testbit 
+0x748a 038515 rtn true 
+0x748b 038516 branch ecadd 
+:      038518 memcpy_dword_swap4:
+0x748c 038519 force 4 ,loopcnt 
+:      038520 memcpy_dword_swap:
+0x748d 038521 increase -4 ,contr 
+:      038522 memcpy_dword_swap_loop:
+0x748e 038523 ifetch 4 ,contr 
+0x748f 038524 istore 4 ,contw 
+0x7490 038525 increase -8 ,contr 
+0x7491 038526 loop memcpy_dword_swap_loop 
+0x7492 038527 rtn 
+:      038530 function_f1_no_key_256:
+0x7493 038531 jam 0 ,mem_passkey_1bit 
+0x7494 038532 branch function_f1_common_256 
+:      038534 function_f1_256:
+0x7495 038535 fetch 1 ,mem_ssp_mode_flag 
+0x7496 038536 bne ssp_mode_passkey_entry_flag ,function_f1_no_key_256 
+:      038537 function_f1_common_256:
+0x7497 038538 setarg 0x363636 
+0x7498 038539 lshift8 pdata ,temp 
+0x7499 038540 or_into 0x36 ,temp 
+0x749a 038541 fetch 2 ,mem_sp_prarm_stack 
+0x749b 038542 copy pdata ,contr 
+0x749c 038543 force 4 ,loopcnt 
+0x749d 038544 call pad_xor 
+0x749e 038545 call sha_init 
+0x749f 038546 call sha 
+0x74a0 038547 fetch 2 ,mem_sp_prarm_stack + 2 
+0x74a1 038548 copy pdata ,contr 
+0x74a2 038549 arg memdat ,contw 
+0x74a3 038550 force 8 ,loopcnt 
+0x74a4 038551 call memcpy_dword_swap 
+0x74a5 038552 fetch 2 ,mem_sp_prarm_stack + 4 
+0x74a6 038553 copy pdata ,contr 
+0x74a7 038554 force 8 ,loopcnt 
+0x74a8 038555 call memcpy_dword_swap 
+0x74a9 038556 call sha 
+0x74aa 038557 arg memdat ,contw 
+0x74ab 038558 setarg 0x800000 
+0x74ac 038559 istore 3 ,contw 
+0x74ad 038560 fetch 1 ,mem_passkey_1bit 
+0x74ae 038561 istore 1 ,contw 
+0x74af 038562 arg 7 ,loopcnt 
+0x74b0 038563 call memset0 
+0x74b1 038565 setarg 0x0408 
+0x74b2 038566 istore 4 ,contw 
+0x74b3 038567 branch function_f1_common2 
+:      038569 function_f3a:
+0x74b4 038570 fetch 1 ,mem_encapsulated_minor_type 
+0x74b5 038571 beq encapsulated_minor_type_p256 ,function_f3a_256 
+0x74b6 038572 beq encapsulated_minor_type_p192 ,function_f3a_192 
+0x74b7 038573 rtn 
+:      038575 function_f3a_256:
+0x74b8 038576 fetch 1 ,mem_ssp_mode_flag 
+0x74b9 038577 bne ssp_mode_passkey_entry_flag ,function_f3a_no_pin_256 
+:      038578 function_f3a_common_256:
+0x74ba 038579 setarg 0x363636 
+0x74bb 038580 lshift8 pdata ,temp 
+0x74bc 038581 or_into 0x36 ,temp 
+0x74bd 038582 arg mem_sp_dhkey_end ,contr 
+0x74be 038583 force 8 ,loopcnt 
+0x74bf 038584 call pad_xor 
+0x74c0 038585 call sha_init 
+0x74c1 038586 call sha 
+0x74c2 038587 arg mem_sp_random_remote_end ,contr 
+0x74c3 038588 arg memdat ,contw 
+0x74c4 038589 call memcpy_dword_swap4 
+0x74c5 038590 arg mem_sp_random_local_end ,contr 
+0x74c6 038591 call memcpy_dword_swap4 
+:      038593 function_f3_common_256:
+0x74c7 038594 setarg 0x0 
+0x74c8 038595 istore 8 ,contw 
+0x74c9 038596 istore 4 ,contw 
+0x74ca 038597 fetch 4 ,mem_pin 
+0x74cb 038598 istore 4 ,contw 
+0x74cc 038600 copy contw ,temp 
+0x74cd 038601 jam 0x80 ,mem_addr_padding 
+0x74ce 038602 copy temp ,contw 
+0x74cf 038603 arg mem_addr_iocap_end ,contr 
+0x74d0 038604 call memcpy_dword_swap4 
+0x74d1 038606 call sha 
+0x74d2 038608 arg memdat ,contw 
+0x74d3 038609 force 7 ,loopcnt 
+0x74d4 038610 call memset0 
+0x74d5 038611 istore 4 ,contw 
+0x74d6 038612 setarg 0x03F8 
+0x74d7 038613 istore 4 ,contw 
+0x74d8 038614 call sha 
+0x74d9 038615 call sha_result 
+0x74da 038617 arg memresult ,contr 
+0x74db 038618 arg memahsave ,contw 
+0x74dc 038619 call memcpy32 
+0x74dd 038621 setarg 0x5c5c5c 
+0x74de 038622 lshift8 pdata ,temp 
+0x74df 038623 or_into 0x5c ,temp 
+0x74e0 038624 arg mem_sp_dhkey_end ,contr 
+0x74e1 038625 force 8 ,loopcnt 
+:      038626 sha_end_common:
+0x74e2 038627 call pad_xor 
+0x74e3 038628 call sha_init 
+0x74e4 038629 call sha 
+0x74e5 038630 arg memahsave_end ,contr 
+0x74e6 038631 arg memdat ,contw 
+0x74e7 038632 force 8 ,loopcnt 
+0x74e8 038633 call memcpy_dword_swap 
+0x74e9 038634 setarg 0x800000 
+0x74ea 038635 lshift8 pdata ,pdata 
+0x74eb 038636 istore 4 ,contw 
+0x74ec 038637 call bn_zero 
+0x74ed 038638 setarg 0x0300 
+0x74ee 038639 istore 4 ,contw 
+0x74ef 038640 call sha 
+0x74f0 038641 branch sha_result 
+:      038644 function_f3a_no_pin_256:
+0x74f1 038645 setarg 0 
+0x74f2 038646 store 4 ,mem_pin 
+0x74f3 038647 branch function_f3a_common_256 
+:      038649 function_f3b_no_pin_256:
+0x74f4 038650 setarg 0 
+0x74f5 038651 store 4 ,mem_pin 
+0x74f6 038652 branch function_f3b_common_256 
+:      038654 function_f3b:
+0x74f7 038655 fetch 1 ,mem_encapsulated_minor_type 
+0x74f8 038656 beq encapsulated_minor_type_p256 ,function_f3b_256 
+0x74f9 038657 beq encapsulated_minor_type_p192 ,function_f3b_192 
+0x74fa 038658 rtn 
+:      038660 function_f3b_256:
+0x74fb 038661 fetch 1 ,mem_ssp_mode_flag 
+0x74fc 038662 bne ssp_mode_passkey_entry_flag ,function_f3b_no_pin_256 
+:      038663 function_f3b_common_256:
+0x74fd 038664 setarg 0x363636 
+0x74fe 038665 lshift8 pdata ,temp 
+0x74ff 038666 or_into 0x36 ,temp 
+0x7500 038667 arg mem_sp_dhkey_end ,contr 
+0x7501 038668 force 8 ,loopcnt 
+0x7502 038669 call pad_xor 
+0x7503 038670 call sha_init 
+0x7504 038671 call sha 
+0x7505 038673 arg mem_sp_random_local_end ,contr 
+0x7506 038674 arg memdat ,contw 
+0x7507 038675 call memcpy_dword_swap4 
+0x7508 038676 arg mem_sp_random_remote_end ,contr 
+0x7509 038677 call memcpy_dword_swap4 
+0x750a 038678 branch function_f3_common_256 
+:      038681 function_f2:
+0x750b 038682 fetch 1 ,mem_encapsulated_minor_type 
+0x750c 038683 beq encapsulated_minor_type_p256 ,function_f2_256 
+0x750d 038684 beq encapsulated_minor_type_p192 ,function_f2_192 
+0x750e 038685 rtn 
+:      038687 function_f2_256:
+0x750f 038688 setarg 0x363636 
+0x7510 038689 lshift8 pdata ,temp 
+0x7511 038690 or_into 0x36 ,temp 
+0x7512 038691 arg mem_sp_dhkey_end ,contr 
+0x7513 038692 force 8 ,loopcnt 
+0x7514 038693 call pad_xor 
+0x7515 038694 call sha_init 
+0x7516 038695 call sha 
+0x7517 038696 fetch 2 ,mem_sp_prarm_stack + 12 
+0x7518 038697 copy pdata ,contr 
+0x7519 038698 arg memdat ,contw 
+0x751a 038699 call memcpy_dword_swap4 
+0x751b 038700 fetch 2 ,mem_sp_prarm_stack + 14 
+0x751c 038701 copy pdata ,contr 
+0x751d 038702 call memcpy_dword_swap4 
+0x751e 038704 setarg 0x62746c 
+0x751f 038705 lshift8 pdata ,pdata 
+0x7520 038706 or_into 0x6b ,pdata 
+0x7521 038707 istore 4 ,contw 
+0x7522 038708 arg mem_addr_value_end ,contr 
+0x7523 038709 force 3 ,loopcnt 
+0x7524 038710 call memcpy_dword_swap 
+0x7525 038712 setarg 0x800000 
+0x7526 038713 lshift8 pdata ,pdata 
+0x7527 038714 istore 4 ,contw 
+0x7528 038715 force 0 ,pdata 
+0x7529 038716 istore 8 ,contw 
+0x752a 038717 setarg 0x0380 
+0x752b 038718 istore 4 ,contw 
+0x752c 038719 call sha 
+0x752d 038721 call sha_result 
+0x752e 038722 arg memresult ,contr 
+0x752f 038723 arg memahsave ,contw 
+0x7530 038724 call memcpy32 
+0x7531 038726 setarg 0x5c5c5c 
+0x7532 038727 lshift8 pdata ,temp 
+0x7533 038728 or_into 0x5c ,temp 
+0x7534 038729 arg mem_sp_dhkey_end ,contr 
+0x7535 038730 force 8 ,loopcnt 
+0x7536 038731 branch sha_end_common 
+:      038734 function_h3:
+0x7537 038735 fetch 6 ,mem_lap 
+0x7538 038736 store 6 ,mem_addr_value 
+0x7539 038737 fetch 6 ,mem_plap 
+0x753a 038738 istore 6 ,contw 
+0x753b 038740 setarg 0x363636 
+0x753c 038741 lshift8 pdata ,temp 
+0x753d 038742 or_into 0x36 ,temp 
+0x753e 038743 arg mem_link_key + 16 ,contr 
+0x753f 038744 force 4 ,loopcnt 
+0x7540 038745 call pad_xor 
+0x7541 038746 call sha_init 
+0x7542 038747 call sha 
+0x7543 038748 setarg 0x627461 
+0x7544 038749 lshift8 pdata ,pdata 
+0x7545 038750 or_into 0x6b ,pdata 
+0x7546 038751 store 4 ,memdat 
+0x7547 038753 arg mem_addr_value + 12 ,contr 
+0x7548 038754 force 3 ,loopcnt 
+0x7549 038755 call memcpy_dword_swap 
+0x754a 038757 arg mem_ccm_iv + 8 ,contr 
+0x754b 038758 arg 2 ,loopcnt 
+0x754c 038759 call memcpy_dword_swap 
+0x754d 038761 setarg 0x800000 
+0x754e 038762 lshift8 pdata ,pdata 
+0x754f 038763 istore 4 ,contw 
+0x7550 038764 arg 4 ,loopcnt 
+0x7551 038765 call memset0 
+0x7552 038767 setarg 704 
+0x7553 038768 istore 4 ,contw 
+0x7554 038769 call sha 
+0x7555 038771 call sha_result 
+0x7556 038772 arg memresult ,contr 
+0x7557 038773 arg memahsave ,contw 
+0x7558 038774 call memcpy32 
+0x7559 038776 setarg 0x5c5c5c 
+0x755a 038777 lshift8 pdata ,temp 
+0x755b 038778 or_into 0x5c ,temp 
+0x755c 038779 arg mem_link_key + 16 ,contr 
+0x755d 038780 force 4 ,loopcnt 
+0x755e 038781 branch sha_end_common 
+:      038784 function_h4:
+0x755f 038785 fetch 6 ,mem_lap 
+0x7560 038786 store 6 ,mem_addr_value 
+0x7561 038787 fetch 6 ,mem_plap 
+0x7562 038788 istore 6 ,contw 
+0x7563 038790 setarg 0x363636 
+0x7564 038791 lshift8 pdata ,temp 
+0x7565 038792 or_into 0x36 ,temp 
+0x7566 038793 arg mem_link_key + 16 ,contr 
+0x7567 038794 force 4 ,loopcnt 
+0x7568 038795 call pad_xor 
+0x7569 038796 call sha_init 
+0x756a 038797 call sha 
+0x756b 038798 setarg 0x627464 
+0x756c 038799 lshift8 pdata ,pdata 
+0x756d 038800 or_into 0x6b ,pdata 
+0x756e 038801 store 4 ,memdat 
+0x756f 038803 arg mem_addr_value + 12 ,contr 
+0x7570 038804 force 3 ,loopcnt 
+0x7571 038805 call memcpy_dword_swap 
+0x7572 038807 setarg 0x800000 
+0x7573 038808 lshift8 pdata ,pdata 
+0x7574 038809 istore 4 ,contw 
+0x7575 038810 arg 5 ,loopcnt 
+0x7576 038811 call memset0 
+0x7577 038813 setarg 640 
+0x7578 038814 istore 4 ,contw 
+0x7579 038815 call sha 
+0x757a 038817 call sha_result 
+0x757b 038818 arg memresult ,contr 
+0x757c 038819 arg memahsave ,contw 
+0x757d 038820 call memcpy32 
+0x757e 038822 setarg 0x5c5c5c 
+0x757f 038823 lshift8 pdata ,temp 
+0x7580 038824 or_into 0x5c ,temp 
+0x7581 038825 arg mem_link_key + 16 ,contr 
+0x7582 038826 force 4 ,loopcnt 
+0x7583 038827 branch sha_end_common 
+:      038830 function_h5:
+0x7584 038831 arg mem_sp_calc_result_high ,contr 
+0x7585 038832 arg mem_input_store ,contw 
+0x7586 038833 call memcpy16 
+0x7587 038834 setarg mem_sp_random_remote + 16 
+0x7588 038835 store 2 ,mem_sp_prarm_stack 
+0x7589 038836 setarg mem_random_number + 16 
+0x758a 038837 istore 2 ,contw 
+0x758b 038839 setarg 0x363636 
+0x758c 038840 lshift8 pdata ,temp 
+0x758d 038841 or_into 0x36 ,temp 
+0x758e 038842 arg mem_input_store + 16 ,contr 
+0x758f 038843 force 4 ,loopcnt 
+0x7590 038844 call pad_xor 
+0x7591 038845 call sha_init 
+0x7592 038846 call sha 
+0x7593 038848 arg memdat ,contw 
+0x7594 038849 fetch 2 ,mem_sp_prarm_stack 
+0x7595 038850 copy pdata ,contr 
+0x7596 038851 call memcpy_dword_swap4 
+0x7597 038852 fetch 2 ,mem_sp_prarm_stack + 2 
+0x7598 038853 copy pdata ,contr 
+0x7599 038854 call memcpy_dword_swap4 
+0x759a 038856 setarg 0x800000 
+0x759b 038857 lshift8 pdata ,pdata 
+0x759c 038858 istore 4 ,contw 
+0x759d 038860 arg 3 ,loopcnt 
+0x759e 038861 call memset0 
+0x759f 038863 setarg 768 
+0x75a0 038864 istore 4 ,contw 
+0x75a1 038865 call sha 
+0x75a2 038867 call sha_result 
+0x75a3 038868 arg memresult ,contr 
+0x75a4 038869 arg memahsave ,contw 
+0x75a5 038870 call memcpy32 
+0x75a6 038872 setarg 0x5c5c5c 
+0x75a7 038873 lshift8 pdata ,temp 
+0x75a8 038874 or_into 0x5c ,temp 
+0x75a9 038875 arg mem_input_store + 16 ,contr 
+0x75aa 038876 force 4 ,loopcnt 
+0x75ab 038877 branch sha_end_common 
+:      038885 sp_initialize_256:
+0x75ac 038886 bpatchx patch30_0 ,mem_patch30 
+0x75ad 038887 fetch 1 ,mem_secure_connections_enable 
+0x75ae 038888 nbranch sp_pubkey_calc_256 ,blank 
+:      038890 sc_reset:
+0x75af 038891 jam sp_calc_standby ,mem_sc_calc 
+0x75b0 038892 jam sp_key_invalid ,mem_sc_local_key_invalid 
+0x75b1 038893 rtn 
+:      038897 sp_wait_pubkey_calc_256_done:
+0x75b2 038898 fetch 1 ,mem_secure_connections_enable 
+0x75b3 038899 rtn blank 
+0x75b4 038900 fetch 1 ,mem_sc_local_key_invalid 
+0x75b5 038901 rtneq sp_key_valid_256 
+0x75b6 038902 call sp_calc_sequence_256 
+0x75b7 038903 branch sp_wait_pubkey_calc_256_done 
+:      038907 sp_debug_private_256:
+0x75b8 038908 arg mem_sc_private_key_256 ,contw 
+0x75b9 038909 setsect 0 ,0x1abd 
+0x75ba 038910 setsect 1 ,0x1b34f 
+0x75bb 038911 setsect 2 ,0x19b8a 
+0x75bc 038912 setsect 3 ,0x26562 
+0x75bd 038913 istore 9 ,contw 
+0x75be 038914 setsect 0 ,0x340b7 
+0x75bf 038915 setsect 1 ,0x1efa 
+0x75c0 038916 setsect 2 ,0xaff6 
+0x75c1 038917 setsect 3 ,0xfd41 
+0x75c2 038918 istore 9 ,contw 
+0x75c3 038919 setsect 0 ,0x3d210 
+0x75c4 038920 setsect 1 ,0x26cf8 
+0x75c5 038921 setsect 2 ,0x3874c 
+0x75c6 038922 setsect 3 ,0x3157c 
+0x75c7 038923 istore 9 ,contw 
+0x75c8 038924 setsect 0 ,0x2d4a3 
+0x75c9 038925 setsect 1 ,0x3d27d 
+0x75ca 038926 setsect 2 ,0x3 
+0x75cb 038927 istore 5 ,contw 
+0x75cc 038928 rtn 
+:      038931 sp_pubkey_calc_256:
+0x75cd 038932 fetch 1 ,mem_sc_local_key_invalid 
+0x75ce 038933 rtnne sp_key_invalid 
+0x75cf 038934 fetch 1 ,mem_sc_calc 
+0x75d0 038935 rtnne sp_calc_standby 
+0x75d1 038936 call init_memp_256 
+0x75d2 038937 arg mem_sc_private_key_256 ,contw 
+0x75d3 038938 force 15 ,queue 
+0x75d4 038939 call random_generator 
+0x75d5 038940 random pdata 
+0x75d6 038941 rshift pdata ,pdata 
+0x75d7 038942 istore 2 ,contw 
+0x75d8 038944 fetch 1 ,mem_sp_debug_mode 
+0x75d9 038945 ncall sp_debug_private_256 ,blank 
+0x75da 038947 arg mem_k_256 ,contw 
+0x75db 038948 arg mem_sc_private_key_256 ,contr 
+0x75dc 038949 call memcpy32 
+0x75dd 038951 arg mem_ax_256 ,contw 
+0x75de 038952 arg mem_gx_256 ,contr 
+0x75df 038953 call memcpy64 
+0x75e0 038955 arg mem_az_256 ,contw 
+0x75e1 038956 call clear_mem_256 
+0x75e2 038957 jam 1 ,mem_az_256 
+0x75e3 038959 call eckp_calc_init_256 
+0x75e4 038960 jam sp_calc_pubkey_256 ,mem_sc_calc 
+0x75e5 038961 rtn 
+:      038963 sp_pubkey_generated_256:
+0x75e6 038965 arg mem_sc_pubkey_local_x_256 ,contw 
+0x75e7 038966 arg mem_bx_256 ,contr 
+0x75e8 038967 call memcpy64 
+0x75e9 038968 jam sp_key_valid_256 ,mem_sc_local_key_invalid 
+0x75ea 038969 jam sp_calc_standby ,mem_sc_calc 
+0x75eb 038970 rtn 
+:      038974 sp_dhkey_calc_256:
+0x75ec 038975 fetch 1 ,mem_sp_dhkey_invalid 
+0x75ed 038976 rtnne sp_key_invalid 
+0x75ee 038977 fetch 1 ,mem_sc_calc 
+0x75ef 038978 rtnne sp_calc_standby 
+0x75f0 038980 arg mem_k_256 ,contw 
+0x75f1 038981 arg mem_sc_private_key_256 ,contr 
+0x75f2 038982 call memcpy32 
+0x75f3 038984 arg mem_ax_256 ,contw 
+0x75f4 038985 arg mem_le_pubkey_remote_x_256 ,contr 
+0x75f5 038986 call memcpy64 
+0x75f6 038988 arg mem_az_256 ,contw 
+0x75f7 038989 call clear_mem_256 
+0x75f8 038990 jam 1 ,mem_az_256 
+0x75f9 038992 call eckp_calc_init_256 
+0x75fa 038993 jam sp_calc_dhkey_256 ,mem_sc_calc 
+0x75fb 038994 rtn 
+:      038997 sp_dhkey_generated_256:
+0x75fc 038999 arg mem_le_dhkey_256 ,contw 
+0x75fd 039000 arg mem_bx_256 ,contr 
+0x75fe 039001 call memcpy32 
+0x75ff 039002 jam sp_key_valid_256 ,mem_sp_dhkey_invalid 
+0x7600 039003 jam sp_calc_standby ,mem_sc_calc 
+0x7601 039004 rtn 
+:      039008 sp_calc_sequence_256:
+0x7602 039009 fetch 1 ,mem_secure_connections_enable 
+0x7603 039010 rtn blank 
+0x7604 039011 fetch 1 ,mem_sc_calc 
+0x7605 039012 rtn blank 
+0x7606 039013 increase 0x80 ,pdata 
+0x7607 039014 store 1 ,mem_sc_calc 
+0x7608 039015 rtnbit1 7 
+0x7609 039016 fetch 2 ,mem_ec_loopc 
+0x760a 039017 branch sp_calc_sequence_done_256 ,blank 
+0x760b 039018 branch eckp_calc_256 
+:      039020 sp_calc_sequence_done_256:
+0x760c 039021 bpatchx patch30_1 ,mem_patch30 
+0x760d 039022 call ecunmapz_256 
+0x760e 039023 fetch 1 ,mem_sc_calc 
+0x760f 039024 beq sp_calc_pubkey_256 ,sp_pubkey_generated_256 
+0x7610 039025 beq sp_calc_dhkey_256 ,sp_dhkey_generated_256 
+0x7611 039026 rtn 
+:      039029 eckp_calc_256:
+0x7612 039030 call ecdbl_256 
+0x7613 039031 fetch 2 ,mem_ec_loopc 
+0x7614 039032 increase -1 ,pdata 
+0x7615 039033 store 2 ,mem_ec_loopc 
+0x7616 039034 arg mem_k_256 ,contr 
+0x7617 039035 call bn_testbit 
+0x7618 039036 rtn true 
+0x7619 039037 branch ecadd_256 
+:      039039 eckp_calc_init_256:
+0x761a 039040 bpatchx patch30_2 ,mem_patch30 
+0x761b 039041 setarg 256 
+0x761c 039042 store 2 ,mem_ec_loopc 
+:      039043 eckp_calc_init_256_1:
+0x761d 039044 fetch 2 ,mem_ec_loopc 
+0x761e 039045 rtn blank 
+0x761f 039046 increase -1 ,pdata 
+0x7620 039047 store 2 ,mem_ec_loopc 
+0x7621 039048 arg mem_k_256 ,contr 
+0x7622 039049 call bn_testbit 
+0x7623 039050 branch eckp_calc_init_256_1 ,true 
+0x7624 039051 arg mem_ax_256 ,contr 
+0x7625 039052 arg mem_cx_256 ,contw 
+0x7626 039053 branch memcpy96 
+:      039056 ecunmapz_256:
+0x7627 039057 arg mem_cz_256 ,rega 
+0x7628 039058 arg mem_t3_256 ,contw 
+0x7629 039059 call bn_invmod_256 
+0x762a 039060 arg mem_t3_256 ,rega 
+0x762b 039061 arg mem_t1_256 ,contw 
+0x762c 039062 call bn_sqrmod_256 
+0x762d 039063 arg mem_cx_256 ,rega 
+0x762e 039064 arg mem_t1_256 ,regb 
+0x762f 039065 arg mem_bx_256 ,contw 
+0x7630 039066 call bn_mulmod_256 
+0x7631 039067 arg mem_t3_256 ,rega 
+0x7632 039068 arg mem_t1_256 ,regb 
+0x7633 039069 arg mem_t2_256 ,contw 
+0x7634 039070 call bn_mulmod_256 
+0x7635 039071 arg mem_cy_256 ,rega 
+0x7636 039072 arg mem_t2_256 ,regb 
+0x7637 039073 arg mem_by_256 ,contw 
+0x7638 039074 branch bn_mulmod_256 
+:      039076 ecdbl_256:
+0x7639 039077 arg mem_cz_256 ,rega 
+0x763a 039078 arg mem_t2_256 ,contw 
+0x763b 039079 call bn_sqrmod_256 
+0x763c 039080 arg mem_t2_256 ,rega 
+0x763d 039081 arg mem_t3_256 ,contw 
+0x763e 039082 call bn_sqrmod_256 
+0x763f 039084 arg mem_a_256 ,rega 
+0x7640 039085 arg mem_t3_256 ,regb 
+0x7641 039086 arg mem_t3_256 ,contw 
+0x7642 039087 call bn_mulmod_256 
+0x7643 039088 arg mem_cx_256 ,rega 
+0x7644 039089 arg mem_t2_256 ,contw 
+0x7645 039090 call bn_sqrmod_256 
+0x7646 039092 arg mem_t2_256 ,contr 
+0x7647 039093 arg mem_t1_256 ,contw 
+0x7648 039094 call memcpy32 
+0x7649 039095 arg mem_t1_256 ,rega 
+0x764a 039096 call bn_lshiftmod_256 
+0x764b 039097 arg mem_t2_256 ,rega 
+0x764c 039098 arg mem_t1_256 ,regb 
+0x764d 039099 arg mem_t2_256 ,contw 
+0x764e 039100 call bn_addmod_256 
+0x764f 039102 arg mem_t2_256 ,rega 
+0x7650 039103 arg mem_t3_256 ,regb 
+0x7651 039104 arg mem_t2_256 ,contw 
+0x7652 039105 call bn_addmod_256 
+0x7653 039107 arg mem_cx_256 ,contr 
+0x7654 039108 arg mem_t1_256 ,contw 
+0x7655 039109 call memcpy32 
+0x7656 039110 arg mem_cy_256 ,rega 
+0x7657 039111 arg mem_t3_256 ,contw 
+0x7658 039112 call bn_sqrmod_256 
+0x7659 039113 arg mem_t1_256 ,rega 
+0x765a 039114 call bn_lshiftmod_256 
+0x765b 039115 arg mem_t1_256 ,rega 
+0x765c 039116 call bn_lshiftmod_256 
+0x765d 039117 arg mem_t1_256 ,rega 
+0x765e 039118 arg mem_t3_256 ,regb 
+0x765f 039119 arg mem_t1_256 ,contw 
+0x7660 039120 call bn_mulmod_256 
+0x7661 039121 arg mem_t3_256 ,rega 
+0x7662 039122 arg mem_t0_256 ,contw 
+0x7663 039123 call bn_sqrmod_256 
+0x7664 039124 arg mem_t0_256 ,rega 
+0x7665 039125 call bn_lshiftmod_256 
+0x7666 039126 arg mem_t0_256 ,rega 
+0x7667 039127 call bn_lshiftmod_256 
+0x7668 039128 arg mem_t0_256 ,rega 
+0x7669 039129 call bn_lshiftmod_256 
+0x766a 039130 arg mem_cy_256 ,contr 
+0x766b 039131 arg mem_t3_256 ,contw 
+0x766c 039132 call memcpy32 
+0x766d 039133 arg mem_t3_256 ,rega 
+0x766e 039134 call bn_lshiftmod_256 
+0x766f 039135 arg mem_t3_256 ,rega 
+0x7670 039136 arg mem_cz_256 ,regb 
+0x7671 039137 arg mem_cz_256 ,contw 
+0x7672 039138 call bn_mulmod_256 
+0x7673 039141 arg mem_t2_256 ,rega 
+0x7674 039142 arg mem_t3_256 ,contw 
+0x7675 039143 call bn_sqrmod_256 
+0x7676 039145 arg mem_t3_256 ,rega 
+0x7677 039146 arg mem_t1_256 ,regb 
+0x7678 039147 arg mem_t3_256 ,contw 
+0x7679 039148 call bn_submod_256 
+0x767a 039149 arg mem_t3_256 ,rega 
+0x767b 039150 arg mem_t1_256 ,regb 
+0x767c 039151 arg mem_cx_256 ,contw 
+0x767d 039152 call bn_submod_256 
+0x767e 039153 arg mem_t1_256 ,rega 
+0x767f 039154 arg mem_cx_256 ,regb 
+0x7680 039155 arg mem_t3_256 ,contw 
+0x7681 039156 call bn_submod_256 
+0x7682 039157 arg mem_t3_256 ,rega 
+0x7683 039158 arg mem_t2_256 ,regb 
+0x7684 039159 arg mem_t3_256 ,contw 
+0x7685 039160 call bn_mulmod_256 
+0x7686 039161 arg mem_t3_256 ,rega 
+0x7687 039162 arg mem_t0_256 ,regb 
+0x7688 039163 arg mem_cy_256 ,contw 
+0x7689 039164 branch bn_submod_256 
+:      039166 ecadd_256:
+0x768a 039168 arg mem_az_256 ,rega 
+0x768b 039169 arg mem_t7_256 ,contw 
+0x768c 039170 call bn_sqrmod_256 
+0x768d 039171 arg mem_cx_256 ,rega 
+0x768e 039172 arg mem_t7_256 ,regb 
+0x768f 039173 arg mem_t0_256 ,contw 
+0x7690 039174 call bn_mulmod_256 
+0x7691 039177 arg mem_az_256 ,rega 
+0x7692 039178 arg mem_t7_256 ,regb 
+0x7693 039179 arg mem_t7_256 ,contw 
+0x7694 039180 call bn_mulmod_256 
+0x7695 039181 arg mem_cy_256 ,rega 
+0x7696 039182 arg mem_t7_256 ,regb 
+0x7697 039183 arg mem_t1_256 ,contw 
+0x7698 039184 call bn_mulmod_256 
+0x7699 039187 arg mem_cz_256 ,rega 
+0x769a 039188 arg mem_t7_256 ,contw 
+0x769b 039189 call bn_sqrmod_256 
+0x769c 039190 arg mem_ax_256 ,rega 
+0x769d 039191 arg mem_t7_256 ,regb 
+0x769e 039192 arg mem_t2_256 ,contw 
+0x769f 039193 call bn_mulmod_256 
+0x76a0 039195 arg mem_cz_256 ,rega 
+0x76a1 039196 arg mem_t7_256 ,regb 
+0x76a2 039197 arg mem_t7_256 ,contw 
+0x76a3 039198 call bn_mulmod_256 
+0x76a4 039199 arg mem_ay_256 ,rega 
+0x76a5 039200 arg mem_t7_256 ,regb 
+0x76a6 039201 arg mem_t3_256 ,contw 
+0x76a7 039202 call bn_mulmod_256 
+0x76a8 039207 arg mem_t0_256 ,regb 
+0x76a9 039208 arg mem_t2_256 ,rega 
+0x76aa 039209 arg mem_t7_256 ,contw 
+0x76ab 039210 call bn_submod_256 
+0x76ac 039211 arg mem_t0_256 ,rega 
+0x76ad 039212 arg mem_t2_256 ,regb 
+0x76ae 039213 arg mem_t0_256 ,contw 
+0x76af 039214 call bn_addmod_256 
+0x76b0 039217 arg mem_t1_256 ,regb 
+0x76b1 039218 arg mem_t3_256 ,rega 
+0x76b2 039219 arg mem_t2_256 ,contw 
+0x76b3 039220 call bn_submod_256 
+0x76b4 039221 arg mem_t1_256 ,rega 
+0x76b5 039222 arg mem_t3_256 ,regb 
+0x76b6 039223 arg mem_t1_256 ,contw 
+0x76b7 039224 call bn_addmod_256 
+0x76b8 039225 arg mem_t1_256 ,rega 
+0x76b9 039226 arg mem_t7_256 ,regb 
+0x76ba 039227 arg mem_t1_256 ,contw 
+0x76bb 039228 call bn_mulmod_256 
+0x76bc 039229 arg mem_cz_256 ,rega 
+0x76bd 039230 arg mem_az_256 ,regb 
+0x76be 039231 arg mem_t3_256 ,contw 
+0x76bf 039232 call bn_mulmod_256 
+0x76c0 039233 arg mem_t3_256 ,rega 
+0x76c1 039234 arg mem_t7_256 ,regb 
+0x76c2 039235 arg mem_cz_256 ,contw 
+0x76c3 039236 call bn_mulmod_256 
+0x76c4 039238 arg mem_t7_256 ,rega 
+0x76c5 039239 arg mem_t7_256 ,contw 
+0x76c6 039240 call bn_sqrmod_256 
+0x76c7 039241 arg mem_t7_256 ,rega 
+0x76c8 039242 arg mem_t0_256 ,regb 
+0x76c9 039243 arg mem_t3_256 ,contw 
+0x76ca 039244 call bn_mulmod_256 
+0x76cb 039245 arg mem_t7_256 ,rega 
+0x76cc 039246 arg mem_t1_256 ,regb 
+0x76cd 039247 arg mem_t1_256 ,contw 
+0x76ce 039248 call bn_mulmod_256 
+0x76cf 039249 arg mem_t2_256 ,rega 
+0x76d0 039250 arg mem_cx_256 ,contw 
+0x76d1 039251 call bn_sqrmod_256 
+0x76d2 039252 arg mem_cx_256 ,rega 
+0x76d3 039253 arg mem_t3_256 ,regb 
+0x76d4 039254 arg mem_cx_256 ,contw 
+0x76d5 039255 call bn_submod_256 
+0x76d6 039256 arg mem_cx_256 ,contr 
+0x76d7 039257 arg mem_t7_256 ,contw 
+0x76d8 039258 call memcpy32 
+0x76d9 039259 arg mem_t7_256 ,rega 
+0x76da 039260 call bn_lshiftmod_256 
+0x76db 039261 arg mem_t3_256 ,rega 
+0x76dc 039262 arg mem_t7_256 ,regb 
+0x76dd 039263 arg mem_t3_256 ,contw 
+0x76de 039264 call bn_submod_256 
+0x76df 039265 arg mem_t3_256 ,rega 
+0x76e0 039266 arg mem_t2_256 ,regb 
+0x76e1 039267 arg mem_t2_256 ,contw 
+0x76e2 039268 call bn_mulmod_256 
+0x76e3 039269 arg mem_t2_256 ,rega 
+0x76e4 039270 arg mem_t1_256 ,regb 
+0x76e5 039271 arg mem_cy_256 ,contw 
+0x76e6 039272 call bn_submod_256 
+0x76e7 039273 arg mem_cy_256 ,rega 
+0x76e8 039274 arg mem_p_256 ,regb 
+0x76e9 039275 arg mem_cy_256 ,contw 
+0x76ea 039276 force 0 ,regc 
+0x76eb 039277 fetch 1 ,mem_cy_256 
+0x76ec 039278 isolate1 0 ,pdata 
+0x76ed 039279 call bn_add_256 ,true 
+0x76ee 039280 copy regc ,alarm 
+0x76ef 039281 arg mem_cy_256 ,rega 
+0x76f0 039282 call bn_rshift_256 
+0x76f1 039283 fetch 1 ,mem_cy5_256 
+0x76f2 039284 isolate1 0 ,alarm 
+0x76f3 039285 setflag true ,7 ,pdata 
+0x76f4 039286 store 1 ,mem_cy5_256 
+0x76f5 039287 rtn 
+:      039289 bn_invmod_256:
+0x76f6 039290 copy contw ,timeup 
+0x76f7 039291 arg mem_tmp0_256 ,contw 
+0x76f8 039292 call clear_mem_256 
+0x76f9 039293 force 0 ,pdata 
+0x76fa 039295 store 4 ,mem_t2_256 
+0x76fb 039296 jam 1 ,mem_tmp0_256 
+0x76fc 039297 arg mem_tmp1_256 ,contw 
+0x76fd 039298 call clear_mem_512 
+0x76fe 039299 arg mem_p_256 ,contr 
+0x76ff 039300 arg mem_tmp2_256 ,contw 
+0x7700 039301 call memcpy32 
+0x7701 039302 copy rega ,contr 
+0x7702 039303 arg mem_tmp3_256 ,contw 
+0x7703 039304 call memcpy32 
+:      039310 bn_invmod_256_2:
+0x7704 039311 arg mem_tmp3_256 ,contr 
+0x7705 039312 call bn_eq_zero_256 
+0x7706 039313 branch bn_invmod_256_0 ,blank 
+0x7707 039318 arg mem_tmp3_256 ,rega 
+0x7708 039319 arg mem_tmp0_256 ,regb 
+0x7709 039320 call bn_rshifteven_256 
+0x770a 039321 arg mem_tmp2_256 ,rega 
+0x770b 039322 arg mem_tmp1_256 ,regb 
+0x770c 039323 call bn_rshifteven_256 
+0x770d 039325 arg mem_tmp3_256 ,rega 
+0x770e 039326 arg mem_tmp2_256 ,regb 
+0x770f 039327 call bn_bigeq_256 
+0x7710 039328 branch bn_invmod_256_1 ,positive 
+0x7711 039329 arg mem_tmp2_256 ,rega 
+0x7712 039330 arg mem_tmp3_256 ,regb 
+0x7713 039331 copy rega ,contw 
+0x7714 039332 call bn_sub_256 
+0x7715 039333 arg mem_tmp0_256 ,rega 
+0x7716 039334 arg mem_tmp1_256 ,regb 
+0x7717 039335 copy regb ,contw 
+0x7718 039336 call bn_add_256 
+0x7719 039337 ifetch 1 ,rega 
+0x771a 039338 iadd regc ,regc 
+0x771b 039339 ifetch 1 ,regb 
+0x771c 039340 iadd regc ,pdata 
+0x771d 039341 istore 1 ,regb 
+0x771e 039342 branch bn_invmod_256_2 
+:      039343 bn_invmod_256_1:
+0x771f 039344 arg mem_tmp3_256 ,rega 
+0x7720 039345 arg mem_tmp2_256 ,regb 
+0x7721 039346 copy rega ,contw 
+0x7722 039347 call bn_sub_256 
+0x7723 039348 arg mem_tmp1_256 ,rega 
+0x7724 039349 arg mem_tmp0_256 ,regb 
+0x7725 039350 copy regb ,contw 
+0x7726 039351 call bn_add_256 
+0x7727 039352 ifetch 1 ,rega 
+0x7728 039353 iadd regc ,regc 
+0x7729 039354 ifetch 1 ,regb 
+0x772a 039355 iadd regc ,pdata 
+0x772b 039356 istore 1 ,regb 
+0x772c 039357 branch bn_invmod_256_2 
+:      039358 bn_invmod_256_0:
+0x772d 039360 arg mem_tmp1_256 ,rega 
+0x772e 039361 copy timeup ,contw 
+0x772f 039362 call bn_p256mod 
+0x7730 039364 arg mem_p_256 ,rega 
+0x7731 039365 copy timeup ,regb 
+0x7732 039366 copy timeup ,contw 
+0x7733 039367 branch bn_submod_256 
+:      039370 bn_mulmod_256:
+0x7734 039371 copy contw ,timeup 
+0x7735 039373 force 0 ,regext_index 
+0x7736 039375 arg mem_tmp1_256 ,contw 
+0x7737 039376 call clear_mem_512 
+0x7738 039377 arg mem_regext ,contw 
+0x7739 039378 call clear_mem_512 
+0x773a 039382 copy rega ,contr 
+0x773b 039384 jam 0 ,mem_regext 
+0x773c 039385 setarg 0 
+0x773d 039386 call bn_load_mem 
+0x773e 039387 copy regb ,contr 
+0x773f 039388 call bn_load_256 
+0x7740 039391 force 0 ,queue 
+0x7741 039392 arg mem_tmp1_256 ,contw 
+:      039393 bn_mulmod_256_1:
+0x7742 039396 arg mem_regext ,temp 
+0x7743 039397 copy queue ,regb 
+0x7744 039398 lshift2 regb ,pdata 
+0x7745 039400 iadd temp ,regb 
+0x7746 039401 force 0 ,temp 
+0x7747 039402 force 0 ,regc 
+:      039403 bn_mulmod_256_0:
+0x7748 039408 ifetch 4 ,contw 
+0x7749 039409 iforce rega 
+0x774a 039412 ifetch 4 ,regb 
+0x774b 039413 copy regc ,regext_index 
+0x774c 039414 imul32 regext ,pdata 
+0x774d 039415 iadd rega ,pdata 
+0x774e 039416 iadd temp ,pdata 
+0x774f 039417 istore 4 ,contw 
+0x7750 039418 rshift32 pdata ,temp 
+0x7751 039419 increase 1 ,regc 
+0x7752 039420 compare 8 ,regc ,0xff 
+0x7753 039421 nbranch bn_mulmod_256_0 ,true 
+0x7754 039423 deposit temp 
+0x7755 039424 istore 4 ,contw 
+0x7756 039425 increase -32 ,contw 
+0x7757 039428 increase 1 ,queue 
+0x7758 039429 compare 8 ,queue ,0xff 
+0x7759 039430 nbranch bn_mulmod_256_1 ,true 
+0x775a 039431 arg mem_tmp1_256 ,rega 
+0x775b 039432 copy timeup ,contw 
+0x775c 039433 branch bn_p256mod 
+:      039435 bn_p256mod:
+0x775d 039436 bpatchx patch30_3 ,mem_patch30 
+0x775e 039437 copy contw ,timeup 
+0x775f 039438 copy rega ,alarm 
+0x7760 039439 arg mem_tmp2_256 ,regb 
+0x7761 039440 copy regb ,contw 
+0x7762 039441 call memset0_4 
+0x7763 039442 istore 8 ,contw 
+0x7764 039443 add rega ,44 ,contr 
+0x7765 039444 call memcpy8 
+0x7766 039445 call memcpy12 
+0x7767 039446 copy regb ,rega 
+0x7768 039447 call bn_lshiftmod_256 
+0x7769 039448 arg mem_tmp2_256 ,regb 
+0x776a 039449 copy alarm ,rega 
+0x776b 039450 copy timeup ,contw 
+0x776c 039451 call bn_addmod_256 
+0x776d 039453 arg mem_tmp2_256 ,regb 
+0x776e 039454 copy regb ,contw 
+0x776f 039455 call memset0_4 
+0x7770 039456 istore 8 ,contw 
+0x7771 039457 add alarm ,48 ,contr 
+0x7772 039458 call memcpy16 
+0x7773 039459 call memset0_4 
+0x7774 039460 copy regb ,rega 
+0x7775 039461 call bn_lshiftmod_256 
+0x7776 039465 arg mem_tmp2_256 ,regb 
+0x7777 039466 copy timeup ,rega 
+0x7778 039467 copy rega ,contw 
+0x7779 039468 call bn_addmod_256 
+0x777a 039472 arg mem_tmp2_256 ,regb 
+0x777b 039473 copy regb ,contw 
+0x777c 039474 add alarm ,32 ,contr 
+0x777d 039475 call memcpy12 
+0x777e 039476 call memset0_4 
+0x777f 039477 istore 8 ,contw 
+0x7780 039478 add alarm ,56 ,contr 
+0x7781 039479 call memcpy8 
+0x7782 039480 copy timeup ,rega 
+0x7783 039481 copy rega ,contw 
+0x7784 039482 call bn_addmod_256 
+0x7785 039486 arg mem_tmp2_256 ,regb 
+0x7786 039487 copy regb ,contw 
+0x7787 039488 add alarm ,36 ,contr 
+0x7788 039489 call memcpy12 
+0x7789 039490 add alarm ,52 ,contr 
+0x778a 039491 call memcpy12 
+0x778b 039492 add alarm ,52 ,contr 
+0x778c 039493 call memcpy4 
+0x778d 039494 add alarm ,32 ,contr 
+0x778e 039495 call memcpy4 
+0x778f 039496 copy timeup ,rega 
+0x7790 039497 copy rega ,contw 
+0x7791 039498 call bn_addmod_256 
+0x7792 039501 arg mem_tmp2_256 ,regb 
+0x7793 039502 copy regb ,contw 
+0x7794 039503 add alarm ,44 ,contr 
+0x7795 039504 call memcpy12 
+0x7796 039505 call memset0_4 
+0x7797 039506 istore 8 ,contw 
+0x7798 039507 add alarm ,32 ,contr 
+0x7799 039508 call memcpy4 
+0x779a 039509 add alarm ,40 ,contr 
+0x779b 039510 call memcpy4 
+0x779c 039511 copy timeup ,rega 
+0x779d 039512 copy rega ,contw 
+0x779e 039513 call bn_submod_256 
+0x779f 039516 arg mem_tmp2_256 ,regb 
+0x77a0 039517 copy regb ,contw 
+0x77a1 039518 add alarm ,48 ,contr 
+0x77a2 039519 call memcpy8 
+0x77a3 039520 call memcpy8 
+0x77a4 039521 force 0 ,pdata 
+0x77a5 039522 istore 8 ,contw 
+0x77a6 039523 add alarm ,36 ,contr 
+0x77a7 039524 call memcpy4 
+0x77a8 039525 add alarm ,44 ,contr 
+0x77a9 039526 call memcpy4 
+0x77aa 039527 copy timeup ,rega 
+0x77ab 039528 copy rega ,contw 
+0x77ac 039529 call bn_submod_256 
+0x77ad 039532 arg mem_tmp2_256 ,regb 
+0x77ae 039533 copy regb ,contw 
+0x77af 039534 add alarm ,52 ,contr 
+0x77b0 039535 call memcpy12 
+0x77b1 039536 add alarm ,32 ,contr 
+0x77b2 039537 call memcpy12 
+0x77b3 039538 call memset0_4 
+0x77b4 039539 add alarm ,48 ,contr 
+0x77b5 039540 call memcpy4 
+0x77b6 039541 copy timeup ,rega 
+0x77b7 039542 copy rega ,contw 
+0x77b8 039543 call bn_submod_256 
+0x77b9 039546 arg mem_tmp2_256 ,regb 
+0x77ba 039547 copy regb ,contw 
+0x77bb 039548 add alarm ,56 ,contr 
+0x77bc 039549 call memcpy8 
+0x77bd 039550 call memset0_4 
+0x77be 039551 add alarm ,36 ,contr 
+0x77bf 039552 call memcpy12 
+0x77c0 039553 call memset0_4 
+0x77c1 039554 add alarm ,52 ,contr 
+0x77c2 039555 call memcpy4 
+0x77c3 039556 copy timeup ,rega 
+0x77c4 039557 copy rega ,contw 
+0x77c5 039558 branch bn_submod_256 
+:      039561 bn_load_mem:
+0x77c6 039562 force 32 ,loopcnt 
+0x77c7 039563 arg mem_regext ,contw 
+0x77c8 039564 iadd contw ,contw 
+0x77c9 039565 branch memcpy 
+:      039567 bn_load_256:
+0x77ca 039568 force 8 ,loopcnt 
+0x77cb 039569 branch bn_load_0 
+:      039571 bn_sqrmod_256:
+0x77cc 039572 copy rega ,regb 
+0x77cd 039573 branch bn_mulmod_256 
+:      039575 bn_add_256:
+0x77ce 039576 force 8 ,loopcnt 
+0x77cf 039577 branch bn_add + 1 
+:      039579 bn_addmod_256:
+0x77d0 039580 call bn_add_256 
+0x77d1 039581 copy contw ,rega 
+0x77d2 039582 branch bn_lshiftmod_ismod_256 
+:      039584 bn_lshiftmod_256:
+0x77d3 039585 call bn_lshift_256 
+:      039586 bn_lshiftmod_ismod_256:
+0x77d4 039587 isolate1 0 ,regc 
+0x77d5 039588 branch bn_lshiftmod_p_256 ,true 
+0x77d6 039589 arg mem_p_256 ,regb 
+0x77d7 039590 copy rega ,regc 
+0x77d8 039591 increase -32 ,rega 
+0x77d9 039592 call bn_bigeq_256 
+0x77da 039593 nrtn positive 
+0x77db 039594 copy regc ,rega 
+0x77dc 039595 branch sub_p2_256 
+:      039597 bn_lshiftmod_p_256:
+0x77dd 039598 call sub_p2_256 
+0x77de 039600 copy rega ,regc 
+0x77df 039601 increase -32 ,rega 
+0x77e0 039602 arg mem_p_256 ,regb 
+0x77e1 039603 call bn_bigeq_256 
+0x77e2 039604 nrtn positive 
+0x77e3 039605 copy regc ,rega 
+0x77e4 039606 branch sub_p2_256 
+:      039609 sub_p2_256:
+0x77e5 039610 increase -32 ,rega 
+0x77e6 039611 arg mem_p_256 ,regb 
+0x77e7 039612 copy rega ,contw 
+0x77e8 039613 branch bn_sub_256 
+:      039618 bn_submod_256:
+0x77e9 039619 call bn_sub_256 
+0x77ea 039621 branch bn_submod_256_np ,true 
+0x77eb 039624 add contw ,-32 ,rega 
+0x77ec 039625 arg mem_p_256 ,regb 
+0x77ed 039626 call bn_bigeq_256 
+0x77ee 039627 nrtn positive 
+0x77ef 039628 arg mem_p_256 ,regb 
+0x77f0 039629 add contw ,-32 ,rega 
+0x77f1 039631 copy rega ,contw 
+0x77f2 039632 branch bn_sub_256 
+:      039633 bn_submod_256_np:
+0x77f3 039634 add contw ,-32 ,rega 
+0x77f4 039635 arg mem_p_256 ,regb 
+0x77f5 039636 copy rega ,contw 
+0x77f6 039637 call bn_add_256 
+0x77f7 039639 rtn true 
+0x77f8 039640 add contw ,-32 ,rega 
+0x77f9 039641 arg mem_p_256 ,regb 
+0x77fa 039642 copy rega ,contw 
+0x77fb 039643 branch bn_add_256 
+:      039647 bn_sub_256:
+0x77fc 039648 force 8 ,loopcnt 
+0x77fd 039649 branch bn_sub + 1 
+:      039651 bn_rshift_256:
+0x77fe 039652 force 8 ,loopcnt 
+0x77ff 039653 increase 28 ,rega 
+0x7800 039654 branch bn_rshift 
+:      039656 bn_lshift_256:
+0x7801 039657 force 8 ,loopcnt 
+0x7802 039658 force 0 ,regc 
+0x7803 039659 branch bn_lshift_0 
+:      039661 bn_bigeq_256:
+0x7804 039662 force 8 ,loopcnt 
+0x7805 039663 increase 28 ,rega 
+0x7806 039664 increase 28 ,regb 
+0x7807 039665 branch bn_bigeq_0 
+:      039668 bn_eq_zero_256:
+0x7808 039669 ifetch 8 ,contr 
+0x7809 039670 nrtn blank 
+0x780a 039671 branch bn_eq_zero 
+:      039676 bn_rshifteven_256:
+0x780b 039677 copy rega ,alarm 
+:      039678 bn_rshifteven_256_1:
+0x780c 039679 copy alarm ,rega 
+0x780d 039680 ifetch 1 ,rega 
+0x780e 039681 isolate1 0 ,pdata 
+0x780f 039682 rtn true 
+0x7810 039683 call bn_rshift_256 
+0x7811 039684 ifetch 1 ,regb 
+0x7812 039685 isolate0 0 ,pdata 
+0x7813 039686 branch bn_rshifteven_256_0 ,true 
+0x7814 039687 arg mem_p_256 ,rega 
+0x7815 039688 copy regb ,contw 
+0x7816 039689 call bn_add_256 
+0x7817 039690 ifetch 1 ,regb 
+0x7818 039691 iadd regc ,pdata 
+0x7819 039692 istore 1 ,regb 
+0x781a 039693 increase -32 ,regb 
+:      039694 bn_rshifteven_256_0:
+0x781b 039695 add regb ,32 ,rega 
+0x781c 039696 force 9 ,loopcnt 
+0x781d 039697 call bn_rshift 
+0x781e 039698 branch bn_rshifteven_256_1 
+:      039702 ui_init:
+0x781f 039703 call lpm_disable_exen_output 
+0x7820 039704 rtn wake 
+0x7821 039705 call ui_button_init 
+0x7822 039706 call ui_timer_init 
+0x7823 039707 branch ui_led_init_global 
+:      039709 ui_dispatch:
+0x7824 039710 call ui_led_dispatch 
+0x7825 039711 branch ui_timer_check 
+:      039713 ui_button_init:
+0x7826 039714 fetch 1 ,mem_ui_button_gpio 
+0x7827 039715 rtneq ui_button_gpio_disable 
+0x7828 039716 iforce temp 
+0x7829 039717 call gpio_config_output 
+0x782a 039718 fetcht 1 ,mem_ui_button_gpio 
+0x782b 039719 call gpio_out_inactive 
+0x782c 039720 nop 100 
+0x782d 039721 fetcht 1 ,mem_ui_button_gpio 
+0x782e 039722 call gpio_config_input 
+0x782f 039723 branch ui_button_polling 
+:      039727 ui_button_polling:
+0x7830 039728 bpatchx patch30_4 ,mem_patch30 
+0x7831 039729 fetch 1 ,mem_ui_button_gpio 
+0x7832 039730 rtneq ui_button_gpio_disable 
+0x7833 039731 copy pdata ,temp 
+0x7834 039732 call gpio_get_bit 
+0x7835 039733 nbranch ui_button_up ,true 
+:      039735 ui_button_down:
+0x7836 039736 call ui_button_check_long_press 
+0x7837 039737 fetch 2 ,mem_ui_state_map 
+0x7838 039738 set1 ui_state_btn_down ,pdata 
+0x7839 039739 store 2 ,mem_ui_state_map 
+0x783a 039740 fetch 1 ,mem_ui_button_last_state 
+0x783b 039741 rtneq ui_button_state_down 
+0x783c 039742 jam ui_button_state_down ,mem_ui_button_last_state 
+0x783d 039744 fetch 1 ,mem_ui_button_timeout 
+0x783e 039745 store 1 ,mem_ui_button_timer 
+0x783f 039746 call lpm_button_get_wake_lock 
+0x7840 039747 jam bt_evt_button_down ,mem_fifo_temp 
+0x7841 039748 branch ui_ipc_send_event 
+:      039749 ui_button_up:
+0x7842 039750 fetch 2 ,mem_ui_state_map 
+0x7843 039751 set0 ui_state_btn_down ,pdata 
+0x7844 039752 store 2 ,mem_ui_state_map 
+0x7845 039753 fetch 1 ,mem_ui_button_last_state 
+0x7846 039754 rtneq ui_button_state_up 
+0x7847 039755 jam ui_button_state_up ,mem_ui_button_last_state 
+0x7848 039757 jam 0 ,mem_ui_button_timer 
+0x7849 039758 call lpm_button_clean_wake_lock 
+0x784a 039759 jam bt_evt_button_up ,mem_fifo_temp 
+0x784b 039760 branch ui_ipc_send_event 
+:      039762 ui_button_check_long_press:
+0x784c 039763 fetch 1 ,mem_ui_button_timer 
+0x784d 039764 rtn blank 
+0x784e 039765 increase -1 ,pdata 
+0x784f 039766 store 1 ,mem_ui_button_timer 
+0x7850 039767 nrtn blank 
+0x7851 039769 jam bt_evt_button_long_pressed ,mem_fifo_temp 
+0x7852 039770 branch ui_ipc_send_event 
+:      039772 lpm_button_get_wake_lock:
+0x7853 039773 arg wake_lock_button ,queue 
+0x7854 039774 branch lpm_get_wake_lock 
+:      039776 lpm_button_clean_wake_lock:
+0x7855 039777 arg wake_lock_button ,queue 
+0x7856 039778 branch lpm_put_wake_lock 
+:      039785 calc_curr_struct_prt:
+0x7857 039786 fetch 2 ,mem_ui_led_struct_ptr 
+0x7858 039787 mul32 rega ,led_offset_length ,regb 
+0x7859 039788 iadd regb ,regb 
+0x785a 039789 rtn 
+:      039792 ui_led_init_global:
+0x785b 039793 fetch 1 ,mem_ui_led_struct_num 
+0x785c 039794 rtn blank 
+0x785d 039795 copy pdata ,loopcnt 
+0x785e 039796 fetch 2 ,mem_ui_led_struct_ptr 
+0x785f 039797 copy pdata ,regb 
+:      039798 ui_led_init_loop:
+0x7860 039799 add regb ,led_offset_led_gpio ,regc 
+0x7861 039800 ifetcht 1 ,regc 
+0x7862 039801 call gpio_config_output 
+0x7863 039802 call ui_led_off_static 
+0x7864 039803 increase led_offset_length ,regb 
+0x7865 039804 loop ui_led_init_loop 
+0x7866 039805 rtn 
+:      039809 ui_led_on_global:
+0x7867 039810 call calc_curr_struct_prt 
+0x7868 039811 setarg ui_led_state_lighting 
+0x7869 039812 istore 1 ,regb 
+0x786a 039813 call ui_led_stop_timer 
+0x786b 039814 branch ui_led_on_static 
+:      039818 ui_led_blink_stop_global:
+:      039819 ui_led_off_global:
+0x786c 039820 call calc_curr_struct_prt 
+0x786d 039821 setarg ui_led_state_darking 
+0x786e 039822 istore 1 ,regb 
+0x786f 039823 call ui_led_stop_timer 
+0x7870 039824 branch ui_led_off_static 
+:      039828 ui_led_blink_start_global:
+0x7871 039829 call calc_curr_struct_prt 
+0x7872 039830 setarg ui_led_state_blink_start 
+0x7873 039831 istore 1 ,regb 
+0x7874 039832 setarg led_infinite_flash_num 
+0x7875 039833 istore 1 ,contw 
+0x7876 039834 branch ui_led_off_static 
+:      039839 ui_led_set_style_global:
+0x7877 039840 call calc_curr_struct_prt 
+0x7878 039841 arg led_offset_length ,loopcnt 
+0x7879 039842 copy regc ,contr 
+0x787a 039843 copy regb ,contw 
+0x787b 039844 branch memcpy_fast 
+:      039848 ui_led_dispatch:
+0x787c 039849 fetch 1 ,mem_ui_led_struct_num 
+0x787d 039850 rtn blank 
+0x787e 039851 arg 0 ,rega 
+:      039852 ui_led_blink_polling:
+0x787f 039853 call ui_led_change_style_by_type 
+0x7880 039854 increase 1 ,rega 
+0x7881 039855 fetch 1 ,mem_ui_led_struct_num 
+0x7882 039856 isub rega ,null 
+0x7883 039857 rtn zero 
+0x7884 039858 branch ui_led_blink_polling 
+:      039861 ui_led_off_static:
+0x7885 039862 add regb ,led_offset_led_gpio ,regc 
+0x7886 039863 ifetcht 1 ,regc 
+0x7887 039864 fetch 1 ,mem_device_option 
+0x7888 039865 beq dvc_op_mouse ,mouse_ui_led_off_static 
+0x7889 039866 branch gpio_out_inactive 
+:      039869 ui_led_on_static:
+0x788a 039870 add regb ,led_offset_led_gpio ,regc 
+0x788b 039871 ifetcht 1 ,regc 
+0x788c 039872 fetch 1 ,mem_device_option 
+0x788d 039873 beq dvc_op_mouse ,mouse_ui_led_on_static 
+0x788e 039874 branch gpio_out_active 
+:      039878 ui_led_change_style_by_type:
+0x788f 039879 add rega ,ui_led_blink ,queue 
+0x7890 039880 call timer_check 
+0x7891 039881 nrtn blank 
+0x7892 039883 call calc_curr_struct_prt 
+0x7893 039885 ifetch 1 ,regb 
+0x7894 039887 beq ui_led_state_lighting ,ui_led_on_static 
+0x7895 039888 beq ui_led_state_darking ,ui_led_off_static 
+0x7896 039889 beq ui_led_state_blink_stop ,ui_led_off_static 
+0x7897 039890 beq ui_led_state_blink_darking ,ui_led_blink_state_darking 
+:      039891 ui_led_blink_state_lighting:
+0x7898 039892 call ui_led_on_static 
+0x7899 039893 add regb ,led_offset_cb_ledon ,regc 
+0x789a 039894 call push_stack 
+0x789b 039895 ifetch 2 ,regc 
+0x789c 039896 call callback_func 
+0x789d 039897 call pop_stack 
+0x789e 039898 setarg ui_led_state_blink_darking 
+0x789f 039899 istore 1 ,regb 
+0x78a0 039900 add regb ,led_offset_on_time ,regc 
+0x78a1 039901 ifetch 2 ,regc 
+0x78a2 039902 branch ui_led_blink_timer_start 
+:      039905 ui_led_blink_state_darking:
+0x78a3 039906 call ui_led_off_static 
+0x78a4 039907 add regb ,led_offset_cb_ledoff ,regc 
+0x78a5 039908 call push_stack 
+0x78a6 039909 ifetch 2 ,regc 
+0x78a7 039910 call callback_func 
+0x78a8 039911 call pop_stack 
+0x78a9 039913 add regb ,led_offset_blink_count ,regc 
+0x78aa 039914 ifetch 1 ,regc 
+0x78ab 039915 beq led_infinite_flash_num ,ui_led_blink_infinite 
+0x78ac 039916 increase -1 ,pdata 
+0x78ad 039917 istore 1 ,regc 
+0x78ae 039918 branch ui_led_blink_stop_global ,blank 
+:      039919 ui_led_blink_infinite:
+0x78af 039920 setarg ui_led_state_blink_lighting 
+0x78b0 039921 istore 1 ,regb 
+0x78b1 039922 add regb ,led_offset_off_time ,regc 
+0x78b2 039923 ifetch 2 ,regc 
+:      039924 ui_led_blink_timer_start:
+0x78b3 039925 add rega ,ui_led_blink ,queue 
+0x78b4 039926 branch timer_init 
+:      039928 ui_led_stop_timer:
+0x78b5 039929 setarg 0 
+0x78b6 039930 branch ui_led_blink_timer_start 
+:      039936 ui_timer_timeout:
+0x78b7 039937 setarg 0x1000 
+0x78b8 039938 lshift16 pdata ,pdata 
+0x78b9 039939 iadd regb ,regb 
+0x78ba 039940 rtn 
+:      039942 ui_timer_check:
+0x78bb 039943 bpatchx patch30_5 ,mem_patch30 
+0x78bc 039944 arg 0 ,rega 
+0x78bd 039945 fetcht 4 ,mem_ui_timer_last_btclk 
+0x78be 039946 copy clkn_bt ,regb 
+0x78bf 039947 copy regb ,pdata 
+0x78c0 039948 isub temp ,null 
+0x78c1 039949 ncall ui_timer_timeout ,positive 
+:      039950 ui_timer_check_loop:
+0x78c2 039951 copy regb ,pdata 
+0x78c3 039952 increase 160 ,temp 
+0x78c4 039953 increase 160 ,temp 
+0x78c5 039954 isub temp ,null 
+0x78c6 039955 nbranch ui_timer_check_end ,positive 
+0x78c7 039956 increase 1 ,rega 
+0x78c8 039957 and rega ,0x0f ,pdata 
+0x78c9 039958 nbranch ui_timer_check_loop ,blank 
+0x78ca 039959 arg 0 ,rega 
+0x78cb 039960 call ui_timer_check_send_evt 
+:      039961 ui_timer_init:
+0x78cc 039962 copy clkn_bt ,pdata 
+0x78cd 039963 store 4 ,mem_ui_timer_last_btclk 
+0x78ce 039964 rtn 
+:      039965 ui_timer_check_end:
+0x78cf 039966 copy rega ,pdata 
+0x78d0 039967 rtn blank 
+0x78d1 039968 increase -160 ,temp 
+0x78d2 039969 increase -160 ,temp 
+0x78d3 039970 set0 28 ,temp 
+0x78d4 039971 storet 4 ,mem_ui_timer_last_btclk 
+:      039972 ui_timer_check_send_evt:
+0x78d5 039973 branch app_evt_timer 
+:      039980 ui_ipc_get_lock:
+0x78d6 039981 jam 1 ,mem_ipc_lock_bt 
+:      039982 ui_ipc_get_lock_wait:
+0x78d7 039983 fetch 1 ,mem_ipc_lock_c51 
+0x78d8 039984 nbranch ui_ipc_get_lock_wait ,blank 
+0x78d9 039985 rtn 
+:      039987 ui_ipc_put_lock:
+0x78da 039988 jam 0 ,mem_ipc_lock_bt 
+0x78db 039989 rtn 
+:      039993 ui_ipc_send_event:
+0x78dc 039994 bpatchx patch30_6 ,mem_patch30 
+0x78dd 039995 call ui_ipc_get_lock 
+0x78de 039996 copy rega ,pdata 
+0x78df 039997 store 4 ,mem_ipc_rega_temp 
+0x78e0 039998 arg mem_ipc_fifo_bt2c51 ,rega 
+0x78e1 039999 call fifo_in 
+0x78e2 040000 fetch 4 ,mem_ipc_rega_temp 
+0x78e3 040001 copy pdata ,rega 
+0x78e4 040002 branch ui_ipc_put_lock 
+:      040004 ui_ipc_send_cmd:
+0x78e5 040005 bpatchx patch30_7 ,mem_patch30 
+0x78e6 040006 call ui_ipc_get_lock 
+0x78e7 040007 copy rega ,pdata 
+0x78e8 040008 store 4 ,mem_ipc_rega_temp 
+0x78e9 040009 arg mem_ipc_fifo_c512bt ,rega 
+0x78ea 040010 call fifo_in 
+0x78eb 040011 fetch 4 ,mem_ipc_rega_temp 
+0x78ec 040012 copy pdata ,rega 
+0x78ed 040013 branch ui_ipc_put_lock 
+:      040015 ui_ipc_clean_all_fifo:
+0x78ee 040016 setarg 0 
+0x78ef 040017 store util_fifo_len ,mem_ipc_fifo_c512bt 
+0x78f0 040018 store util_fifo_len ,mem_ipc_fifo_bt2c51 
+0x78f1 040019 rtn 
+:      040021 check_51cmd:
+0x78f2 040022 bpatchx patch31_0 ,mem_patch31 
+0x78f3 040023 fetch 1 ,mem_hci_cmd 
+0x78f4 040024 nrtn blank 
+0x78f5 040025 arg mem_ipc_fifo_c512bt ,rega 
+0x78f6 040026 call fifo_is_empty 
+0x78f7 040027 rtn blank 
+0x78f8 040028 jam ipc_continue_process ,mem_ipc_skip_continue_proc 
+0x78f9 040029 call check_51cmd_once 
+0x78fa 040030 fetch 1 ,mem_ipc_skip_continue_proc 
+0x78fb 040031 branch check_51cmd ,blank 
+0x78fc 040032 rtn 
+:      040034 check_51cmd_once:
+0x78fd 040035 call ui_ipc_get_lock 
+0x78fe 040036 arg mem_ipc_fifo_c512bt ,rega 
+0x78ff 040037 call fifo_out 
+0x7900 040038 copy pdata ,temp 
+0x7901 040039 call ui_ipc_put_lock 
+0x7902 040040 bpatchx patch31_1 ,mem_patch31 
+0x7903 040041 copy temp ,pdata 
+0x7904 040042 rtn blank 
+0x7905 040043 beq bt_cmd_start_discovery ,check_51cmd_start_discovery 
+0x7906 040044 beq bt_cmd_stop_discovery ,check_51cmd_stop_discovery 
+0x7907 040045 beq bt_cmd_reconnect ,check_51cmd_reconnect 
+0x7908 040046 beq bt_cmd_start_adv ,check_51cmd_adv 
+0x7909 040047 beq bt_cmd_stop_adv ,check_51cmd_stop_adv 
+0x790a 040048 beq bt_cmd_start_direct_adv ,check_51cmd_direct_adv 
+0x790b 040049 beq bt_cmd_stop_direct_adv ,check_51cmd_stop_direct_adv 
+0x790c 040050 beq bt_cmd_led_off ,check_51cmd_led_off 
+0x790d 040051 beq bt_cmd_led_on ,check_51cmd_led_on 
+0x790e 040052 beq bt_cmd_led_blink ,check_51cmd_led_start_blink 
+0x790f 040053 beq bt_cmd_le_start_conn ,check_51cmd_le_start_con 
+0x7910 040054 beq bt_cmd_le_start_scan ,check_51cmd_start_scan 
+0x7911 040055 beq bt_cmd_le_stop_scan ,check_51cmd_stop_scan 
+0x7912 040056 beq bt_cmd_enter_hibernate ,check_51cmd_hibernate 
+0x7913 040057 beq bt_cmd_bb_reconn_cancel ,check_51cmd_bb_reconn_cancel 
+0x7914 040059 store 1 ,mem_fifo_temp 
+0x7915 040060 call lmo_fifo_check 
+0x7916 040061 nbranch check_51cmd_restore ,blank 
+:      040062 check_51cmd_once_continue:
+0x7917 040063 fetch 1 ,mem_fifo_temp 
+0x7918 040064 bmark0 mark_context ,check_51cmd_check_idle 
+0x7919 040065 bpatchx patch31_2 ,mem_patch31 
+0x791a 040066 fetch 1 ,mem_fifo_temp 
+0x791b 040067 beq bt_cmd_disconnect ,check_51cmd_disconnect 
+0x791c 040068 beq bt_cmd_enter_sniff ,check_51cmd_enter_sniff 
+0x791d 040069 beq bt_cmd_exit_sniff ,check_51cmd_exit_sniff 
+0x791e 040070 beq bt_cmd_set_pin_code ,check_51cmd_pincode 
+0x791f 040071 beq bt_cmd_le_disconnect ,check_51cmd_le_disconnect 
+0x7920 040072 beq bt_cmd_le_smp_security_request ,check_51cmd_le_smp_sec_req 
+0x7921 040073 beq bt_cmd_le_update_conn ,check_51cmd_ble_update_connect_param 
+0x7922 040074 beq bt_cmd_role_switch ,check_51cmd_role_switch 
+0x7923 040075 beq bt_cmd_store_reconn_info_le ,eeprom_store_le_reconn_info 
+0x7924 040076 beq bt_cmd_store_reconn_info_bt ,eeprom_store_bd_reconn_info 
+0x7925 040077 beq bt_cmd_dhkey_not_accept ,check_51cmd_dhkey_not_accept 
+0x7926 040078 beq bt_cmd_store_reconn_info ,check_51cmd_store_reconn_info 
+0x7927 040079 rtn 
+:      040081 check_51cmd_check_idle:
+0x7928 040082 store 1 ,mem_fifo_temp 
+0x7929 040083 call context_check_idle 
+0x792a 040084 branch check_51cmd_restore ,zero 
+0x792b 040085 call context_search_plap 
+0x792c 040086 nrtn zero 
+:      040087 check_51cmd_restore:
+0x792d 040088 jam ipc_skip_continue_process ,mem_ipc_skip_continue_proc 
+0x792e 040089 branch ui_ipc_send_cmd 
+:      040094 check_51cmd_start_discovery:
+0x792f 040095 fetch 2 ,mem_ui_state_map 
+0x7930 040096 set1 ui_state_bt_discovery ,pdata 
+0x7931 040097 store 2 ,mem_ui_state_map 
+0x7932 040098 jam 3 ,mem_scan_mode 
+0x7933 040099 rtn 
+:      040103 check_51cmd_stop_discovery:
+0x7934 040104 jam 0 ,mem_hid_handshake_timer_count 
+0x7935 040105 jam 0 ,mem_scan_mode 
+0x7936 040106 fetch 2 ,mem_ui_state_map 
+0x7937 040107 set0 ui_state_bt_discovery ,pdata 
+0x7938 040108 store 2 ,mem_ui_state_map 
+0x7939 040109 rtn 
+:      040113 check_51cmd_reconnect:
+0x793a 040114 jam hci_cmd_create_conn ,mem_hci_cmd 
+0x793b 040115 rtn 
+:      040119 check_51cmd_disconnect:
+0x793c 040120 jam lmp_detach ,mem_lmo_opcode2 
+0x793d 040121 jam other_end_terminated ,mem_disconn_reason_send 
+0x793e 040122 rtn 
+:      040126 check_51cmd_enter_sniff:
+0x793f 040127 jam lmp_sniff_req ,mem_lmo_opcode2 
+0x7940 040128 arg mem_sniff_payload ,contw 
+0x7941 040129 setarg 0 
+0x7942 040130 isolate1 27 ,clke_bt 
+0x7943 040131 setflag true ,1 ,pdata 
+0x7944 040132 istore 1 ,contw 
+0x7945 040133 setarg 0 
+0x7946 040134 istore 2 ,contw 
+0x7947 040135 fetch 6 ,mem_sniff_param_interval 
+0x7948 040136 istore 6 ,contw 
+0x7949 040137 rtn 
+:      040141 check_51cmd_exit_sniff:
+0x794a 040142 jam lmp_unsniff_req ,mem_lmo_opcode2 
+0x794b 040143 rtn 
+:      040147 check_51cmd_pincode:
+0x794c 040148 jam pincode_state_pincode_ready ,mem_pincode_state 
+0x794d 040150 fetch 1 ,mem_op 
+0x794e 040151 bbit1 op_inrand_req ,check_51cmd_pincode_pair_passive 
+0x794f 040152 call tid_initiate 
+0x7950 040153 jam lmp_in_rand ,mem_lmo_opcode2 
+0x7951 040154 rtn 
+:      040155 check_51cmd_pincode_pair_passive:
+0x7952 040156 set0 op_inrand_req ,pdata 
+0x7953 040157 store 1 ,mem_op 
+0x7954 040158 call lmp_accept_inrand 
+0x7955 040159 setarg 0 
+0x7956 040160 setflag master ,smap_lmptid ,pdata 
+0x7957 040161 store 1 ,mem_lmo_tid2 
+0x7958 040162 rtn 
+:      040166 check_51cmd_adv:
+0x7959 040167 jam on ,mem_le_adv_enable 
+0x795a 040168 jam adv_ind ,mem_le_adv_type 
+0x795b 040169 fetch 2 ,mem_ui_state_map 
+0x795c 040170 set1 ui_state_ble_adv ,pdata 
+0x795d 040171 store 2 ,mem_ui_state_map 
+0x795e 040172 rtn 
+:      040176 check_51cmd_stop_adv:
+0x795f 040177 fetch 2 ,mem_ui_state_map 
+0x7960 040178 set0 ui_state_ble_adv ,pdata 
+0x7961 040179 store 2 ,mem_ui_state_map 
+0x7962 040180 jam off ,mem_le_adv_enable 
+0x7963 040181 rtn 
+:      040185 check_51cmd_direct_adv:
+0x7964 040186 jam on ,mem_le_adv_enable 
+0x7965 040187 jam adv_direct_ind ,mem_le_adv_type 
+0x7966 040188 fetch 2 ,mem_ui_state_map 
+0x7967 040189 set1 ui_state_ble_adv ,pdata 
+0x7968 040190 store 2 ,mem_ui_state_map 
+0x7969 040191 rtn 
+:      040195 check_51cmd_stop_direct_adv:
+0x796a 040196 fetch 2 ,mem_ui_state_map 
+0x796b 040197 set0 ui_state_ble_adv ,pdata 
+0x796c 040198 store 2 ,mem_ui_state_map 
+0x796d 040199 jam off ,mem_le_adv_enable 
+0x796e 040200 rtn 
+:      040204 check_51cmd_le_disconnect:
+0x796f 040205 setarg 20 
+0x7970 040206 store 2 ,mem_le_superto 
+0x7971 040207 store 2 ,mem_le_init_superto 
+0x7972 040208 branch le_send_terminate_ind_user_terminated 
+:      040212 check_51cmd_ble_update_connect_param:
+0x7973 040213 branch le_l2cap_tx_update_req 
+:      040217 check_51cmd_led_off:
+0x7974 040218 arg 0 ,rega 
+0x7975 040219 branch ui_led_off_global 
+:      040223 check_51cmd_led_on:
+0x7976 040224 arg 0 ,rega 
+0x7977 040225 branch ui_led_on_global 
+:      040229 check_51cmd_led_start_blink:
+0x7978 040230 arg 0 ,rega 
+0x7979 040231 call calc_curr_struct_prt 
+0x797a 040232 ifetch 1 ,regb 
+0x797b 040233 beq ui_led_state_blink_start ,check_51cmd_led_start_blink_in_blink 
+0x797c 040234 beq ui_led_state_blink_lighting ,check_51cmd_led_start_blink_in_blink 
+0x797d 040235 beq ui_led_state_blink_darking ,check_51cmd_led_start_blink_in_blink 
+0x797e 040236 branch ui_led_blink_start_global 
+:      040238 check_51cmd_led_start_blink_in_blink:
+0x797f 040239 ifetch 1 ,contr 
+0x7980 040240 rtneq led_infinite_flash_num 
+0x7981 040241 branch ui_led_blink_start_global 
+:      040245 check_51cmd_le_start_con:
+0x7982 040246 jam on ,mem_le_scan_enable 
+0x7983 040247 jam hci_cmd_le_create_conn ,mem_hci_cmd 
+0x7984 040250 rtn 
+:      040254 check_51cmd_start_scan:
+0x7985 040255 jam on ,mem_le_scan_enable 
+0x7986 040256 rtn 
+:      040260 check_51cmd_stop_scan:
+0x7987 040261 jam off ,mem_le_scan_enable 
+0x7988 040262 jam 0 ,mem_hci_cmd 
+0x7989 040263 rtn 
+:      040267 check_51cmd_hibernate:
+0x798a 040268 fetch 2 ,mem_cb_before_hibernate 
+0x798b 040269 call callback_func 
+0x798c 040270 fetch 1 ,mem_ui_button_gpio 
+0x798d 040271 beq ui_button_gpio_disable ,check_51cmd_hibernate_btn_disabled 
+0x798e 040272 copy pdata ,temp 
+0x798f 040273 call gpio_config_input 
+:      040274 check_51cmd_hibernate_btn_disabled:
+0x7990 040275 call ui_ipc_clean_all_fifo 
+0x7991 040276 branch lpm_hibernate 
+:      040280 check_51cmd_le_smp_sec_req:
+0x7992 040281 branch le_send_smp_security_request 
+:      040285 check_51cmd_role_switch:
+0x7993 040286 jam lmp_slot_offset ,mem_lmo_opcode2 
+0x7994 040287 set1 mark_switch_initiated ,mark 
+0x7995 040288 nrtn master 
+0x7996 040289 jam switch_flag_init ,mem_switch_flag 
+0x7997 040290 jam lmp_switch_req ,mem_lmo_opcode2 
+0x7998 040291 fetch 1 ,mem_connection_options 
+0x7999 040292 set0 connection_switch ,pdata 
+0x799a 040293 store 1 ,mem_connection_options 
+0x799b 040294 rtn 
+:      040298 check_51cmd_bb_reconn_cancel:
+0x799c 040299 force page_length_timer ,queue 
+0x799d 040300 branch timer_stop 
+:      040304 check_51cmd_dhkey_not_accept:
+0x799e 040305 call tid_set_reply 
+0x799f 040306 jam lmp_dhkey_check ,mem_lmi_opcode2 
+0x79a0 040307 branch lmp_reject_pdu_not_allowed 
+:      040310 ui_check_paring_button:
+0x79a1 040311 fetch 1 ,mem_ui_state_map 
+0x79a2 040312 rtnbit0 ui_state_btn_down 
+0x79a3 040313 rtnbit0 ui_state_bt_reconnect 
+0x79a4 040314 branch check_51cmd_bb_reconn_cancel 
+:      040319 queue_init:
+0x79a5 040320 fetch 2 ,mem_queue_ptr 
+0x79a6 040321 add pdata ,queue_offset_curr_num ,contw 
+0x79a7 040322 setarg 0 
+0x79a8 040323 istore 3 ,contw 
+0x79a9 040324 rtn 
+:      040328 queue_push:
+0x79aa 040329 call disable_user 
+0x79ab 040330 call queue_full 
+0x79ac 040331 rtn blank 
+0x79ad 040332 fetch 2 ,mem_queue_ptr 
+0x79ae 040333 add pdata ,queue_offset_curr_num ,regb 
+0x79af 040334 ifetcht 1 ,regb 
+0x79b0 040335 increase 1 ,temp 
+0x79b1 040336 istoret 1 ,regb 
+0x79b2 040338 ifetcht 1 ,pdata 
+0x79b3 040339 copy temp ,loopcnt 
+0x79b4 040340 add pdata ,queue_offset_write_ptr ,regb 
+0x79b5 040341 ifetch 1 ,regb 
+0x79b6 040342 imul32 temp ,pdata 
+0x79b7 040343 iadd contr ,contw 
+0x79b8 040344 copy rega ,contr 
+:      040345 calc_queue_next_ptr:
+0x79b9 040346 call memcpy 
+0x79ba 040347 call queue_get_size 
+0x79bb 040348 pincrease -1 
+0x79bc 040349 ifetcht 1 ,regb 
+0x79bd 040350 increase 1 ,temp 
+0x79be 040351 iand temp ,temp 
+0x79bf 040352 istoret 1 ,regb 
+0x79c0 040353 branch enable_user 
+:      040358 queue_pop:
+0x79c1 040359 call disable_user 
+0x79c2 040360 call queue_empty 
+0x79c3 040361 rtn blank 
+0x79c4 040362 fetch 2 ,mem_queue_ptr 
+0x79c5 040363 add pdata ,queue_offset_curr_num ,regb 
+0x79c6 040364 ifetcht 1 ,regb 
+0x79c7 040365 increase -1 ,temp 
+0x79c8 040366 istoret 1 ,regb 
+0x79c9 040367 ifetcht 1 ,pdata 
+0x79ca 040368 copy temp ,loopcnt 
+0x79cb 040369 add pdata ,queue_offset_read_ptr ,regb 
+0x79cc 040370 ifetch 1 ,regb 
+0x79cd 040371 imul32 temp ,pdata 
+0x79ce 040372 iadd contr ,contr 
+0x79cf 040373 increase 1 ,contr 
+0x79d0 040374 copy rega ,contw 
+0x79d1 040375 branch calc_queue_next_ptr 
+:      040382 queue_get_new_ele:
+0x79d2 040383 call disable_user 
+0x79d3 040384 call queue_empty 
+0x79d4 040385 rtn blank 
+0x79d5 040386 fetch 2 ,mem_queue_ptr 
+0x79d6 040387 ifetcht 1 ,pdata 
+0x79d7 040388 copy temp ,loopcnt 
+0x79d8 040389 add pdata ,queue_offset_read_ptr ,regb 
+0x79d9 040390 ifetch 1 ,regb 
+0x79da 040391 imul32 temp ,pdata 
+0x79db 040392 iadd contr ,contr 
+0x79dc 040393 increase 1 ,contr 
+0x79dd 040394 copy contr ,regb 
+0x79de 040395 copy rega ,contw 
+0x79df 040396 call memcpy 
+0x79e0 040397 branch enable_user 
+:      040399 queue_store_new_ele:
+0x79e1 040400 call disable_user 
+0x79e2 040401 call queue_empty 
+0x79e3 040402 rtn blank 
+0x79e4 040403 fetch 2 ,mem_queue_ptr 
+0x79e5 040404 ifetcht 1 ,pdata 
+0x79e6 040405 copy temp ,loopcnt 
+0x79e7 040406 add pdata ,queue_offset_read_ptr ,regb 
+0x79e8 040407 ifetch 1 ,regb 
+0x79e9 040408 imul32 temp ,pdata 
+0x79ea 040409 iadd contr ,contr 
+0x79eb 040410 add contr ,2 ,contw 
+0x79ec 040411 copy rega ,contr 
+0x79ed 040412 increase -1 ,loopcnt 
+0x79ee 040413 call memcpy 
+0x79ef 040414 branch enable_user 
+:      040417 queue_empty:
+0x79f0 040418 fetch 2 ,mem_queue_ptr 
+0x79f1 040419 add pdata ,queue_offset_curr_num ,contr 
+0x79f2 040420 ifetch 1 ,contr 
+0x79f3 040421 rtn 
+:      040424 queue_full:
+0x79f4 040425 call queue_get_size 
+0x79f5 040426 ifetcht 1 ,contr 
+0x79f6 040427 isub temp ,pdata 
+0x79f7 040428 rtn 
+:      040431 queue_get_size:
+0x79f8 040432 fetch 2 ,mem_queue_ptr 
+0x79f9 040433 add pdata ,queue_offset_length ,contr 
+0x79fa 040434 ifetch 1 ,contr 
+0x79fb 040435 rtn 
+:      040443 usb_isr:
+0x79fc 040444 bpatchx patch31_3 ,mem_patch31 
+0x79fd 040445 fetch 1 ,core_usb_status 
+0x79fe 040446 isolate1 usb_status_reset ,pdata 
+0x79ff 040447 call usb_init ,true 
+0x7a00 040448 fetch 1 ,core_usb_status 
+0x7a01 040449 store 1 ,core_usb_status 
+0x7a02 040450 store 1 ,mem_usb_status 
+0x7a03 040451 call usb_nak_state_judge 
+0x7a04 040452 call usb_rx 
+0x7a05 040453 call usb0_tx 
+0x7a06 040454 call usb_tx 
+0x7a07 040455 branch usb_nak_state 
+:      040457 usb_init:
+0x7a08 040458 bpatchx patch31_4 ,mem_patch31 
+0x7a09 040459 call enable_authrom 
+0x7a0a 040460 call usb_init_param 
+0x7a0b 040461 jam 0x00 ,core_usb_config 
+0x7a0c 040462 nop 10000 
+0x7a0d 040463 jam 0xc0 ,core_usb_trig 
+0x7a0e 040464 fetch 2 ,core_clkoff 
+0x7a0f 040465 set0 clock_off_usb ,pdata 
+0x7a10 040466 store 2 ,core_clkoff 
+0x7a11 040467 jam 0x0 ,core_usb_hmode 
+0x7a12 040468 jam 0x3c ,core_usb_config 
+0x7a13 040469 setarg mem_usb_rxbuf 
+0x7a14 040470 store 2 ,core_usb_rx_saddr 
+0x7a15 040471 store 2 ,core_usb_rxptr 
+0x7a16 040472 setarg mem_usb_rxbuf_end 
+0x7a17 040473 store 2 ,core_usb_rx_eaddr 
+0x7a18 040474 jam 0x4 ,core_usb_hmode 
+0x7a19 040475 jam 0 ,core_usb_addr 
+0x7a1a 040476 jam 0xff ,core_usb_status 
+0x7a1b 040477 setarg mem_usb_clear_mem_end 
+0x7a1c 040478 arg mem_usb_clear_mem_start ,contw 
+0x7a1d 040479 isub contw ,loopcnt 
+0x7a1e 040480 branch clear_mem 
+:      040482 usb_offline_check_init:
+0x7a1f 040483 fetcht 1 ,mem_usb_offline_check_gpio 
+0x7a20 040484 branch gpio_config_input 
+:      040485 usb_offline_state:
+0x7a21 040486 fetch 1 ,mem_usb_device_enumeration_endflag 
+0x7a22 040487 rtn blank 
+0x7a23 040488 fetcht 1 ,mem_usb_offline_check_gpio 
+0x7a24 040489 call gpio_get_bit 
+0x7a25 040490 branch usb_init ,true 
+0x7a26 040491 rtn 
+:      040493 usb_init_param:
+0x7a27 040494 jam dev_default ,mem_usb0_state 
+0x7a28 040495 setarg 0x0 
+0x7a29 040496 store 1 ,mem_remain 
+0x7a2a 040497 store 2 ,mem_usb_zero_packet 
+0x7a2b 040498 pincrease 1 
+0x7a2c 040499 store 2 ,mem_usb_ones_packet 
+0x7a2d 040500 pincrease 1 
+0x7a2e 040501 store 2 ,mem_usb_two_packet 
+0x7a2f 040502 arg mem_string0 ,contw 
+0x7a30 040503 setarg 0x030404 
+0x7a31 040504 istore 3 ,contw 
+0x7a32 040505 setarg 0x0409 
+0x7a33 040506 istore 2 ,contw 
+0x7a34 040507 arg mem_string1 ,contw 
+0x7a35 040508 setsect 0 ,0x15906 
+0x7a36 040509 setsect 1 ,0x210d2 
+0x7a37 040510 setsect 2 ,0x10494 
+0x7a38 040511 setsect 3 ,0x1 
+0x7a39 040512 istore 9 ,contw 
+0x7a3a 040513 arg mem_string2 ,contw 
+0x7a3b 040514 setsect 0 ,0x1570f 
+0x7a3c 040515 setsect 1 ,0x15c9a 
+0x7a3d 040516 setsect 2 ,0x256c6 
+0x7a3e 040517 setsect 3 ,0x1cdcd 
+0x7a3f 040518 istore 9 ,contw 
+0x7a40 040519 setsect 0 ,0x14420 
+0x7a41 040520 setsect 1 ,0x25d99 
+0x7a42 040521 setsect 2 ,0x25636 
+0x7a43 040522 setsect 3 ,0x1 
+0x7a44 040523 istore 7 ,contw 
+0x7a45 040524 arg mem_string3 ,contw 
+0x7a46 040525 setsect 0 ,0x1620a 
+0x7a47 040526 setsect 1 ,0xc8c 
+0x7a48 040527 setsect 2 ,0x30333 
+0x7a49 040528 setsect 3 ,0xc0c0 
+0x7a4a 040529 istore 9 ,contw 
+0x7a4b 040530 setsect 0 ,0x3130 
+0x7a4c 040531 istore 2 ,contw 
+0x7a4d 040532 setarg usb_kbdata_vendor_define_addr 
+0x7a4e 040533 store 2 ,mem_hidreportdesc_kb 
+0x7a4f 040534 setarg usb_msdata_addr 
+0x7a50 040535 store 2 ,mem_hidreportdesc_m 
+0x7a51 040536 arg usb_devicedata_addr ,contr 
+0x7a52 040537 arg mem_devicedesc ,contw 
+0x7a53 040538 arg 19 ,loopcnt 
+0x7a54 040539 call memcpy 
+0x7a55 040540 arg usb_confdata_addr ,contr 
+0x7a56 040541 arg mem_confdesc ,contw 
+0x7a57 040542 arg 60 ,loopcnt 
+0x7a58 040543 call memcpy 
+:      040544 usb_config_cb:
+0x7a59 040545 fetch 2 ,mem_cb_usb_config 
+0x7a5a 040546 branch callback_func 
+:      040548 usb_tx_interval_config:
+0x7a5b 040549 fetch 1 ,mem_usb_tx_interval 
+0x7a5c 040550 rtn blank 
+0x7a5d 040551 store 1 ,mem_confdesc + 34 
+0x7a5e 040552 store 1 ,mem_confdesc + 59 
+0x7a5f 040553 rtn 
+:      040555 usb_nak_state:
+0x7a60 040556 arg timer_nak ,queue 
+0x7a61 040557 call timer_check 
+0x7a62 040558 nrtn blank 
+0x7a63 040559 fetch 1 ,mem_usb_wakestate_onetime_flag 
+0x7a64 040560 nrtn blank 
+0x7a65 040561 fetch 1 ,mem_usb_device_enumeration_endflag 
+0x7a66 040562 ncall usb_mac_wakeup_judge ,blank 
+0x7a67 040563 rtn 
+:      040565 usb_nak_state_judge:
+0x7a68 040566 fetch 1 ,mem_usb_status 
+0x7a69 040567 bbit1 usb_status_nak ,usb_nak_state_timer_init 
+0x7a6a 040568 rtn 
+:      040570 usb_nak_state_timer_init:
+0x7a6b 040571 call usb0_attached_state_judge 
+0x7a6c 040572 call timer_reinit 
+0x7a6d 040573 setarg timer_nak_delay 
+0x7a6e 040574 arg timer_nak ,queue 
+0x7a6f 040575 branch timer_init 
+:      040577 usb0_attached_state_judge:
+0x7a70 040578 fetch 1 ,mem_usb_state 
+0x7a71 040579 bne usb_connected ,usb_clear_halt_dispose 
+0x7a72 040580 jam 0 ,mem_usb_wakestate_onetime_flag 
+0x7a73 040581 jam 0 ,mem_usb_mac_wakeup_trig 
+0x7a74 040582 rtn 
+:      040584 usb_clear_halt_dispose:
+0x7a75 040585 fetch 1 ,mem_usb_clear_halt 
+0x7a76 040586 rtn blank 
+0x7a77 040587 jam 0 ,mem_usb_clear_halt 
+0x7a78 040588 jam usb_connected ,mem_usb_state 
+0x7a79 040589 jam 1 ,mem_usb_device_enumeration_endflag 
+0x7a7a 040590 rtn 
+:      040592 usb_rx_no_data:
+0x7a7b 040593 fetch 1 ,mem_usb_status 
+0x7a7c 040594 bbit1 usb_status_setup ,usb_class_type 
+0x7a7d 040595 rtn 
+:      040597 usb_rx_data:
+0x7a7e 040598 fetch 1 ,core_usb_txbusy 
+0x7a7f 040599 rtnbit1 usb_status_rxempty 
+0x7a80 040600 fetchr contus ,2 ,core_usb_rx_saddr 
+0x7a81 040601 fetchr contue ,2 ,core_usb_rx_eaddr 
+0x7a82 040602 fetchr contu ,2 ,core_usb_rxptr 
+0x7a83 040603 ifetch 2 ,contu 
+0x7a84 040604 rshift8 pdata ,temp 
+0x7a85 040605 rshift4 temp ,temp 
+0x7a86 040606 arg 0xfff ,contr 
+0x7a87 040607 iand contr ,loopcnt 
+0x7a88 040608 copy loopcnt ,rega 
+:      040609 usb_rx_read:
+0x7a89 040610 ifetch 1 ,contu 
+0x7a8a 040611 istore 1 ,contw 
+0x7a8b 040612 loop usb_rx_read 
+0x7a8c 040613 storer contu ,2 ,core_usb_rxptr 
+0x7a8d 040614 storer rega ,2 ,mem_usb_read_len 
+0x7a8e 040615 rtn 
+:      040616 usb_data_rx:
+0x7a8f 040617 rtn 
+:      040619 usb_rx:
+0x7a90 040620 bpatchx patch31_5 ,mem_patch31 
+0x7a91 040621 fetch 1 ,mem_usb_status 
+0x7a92 040622 rtnbit0 usb_status_rxready 
+0x7a93 040623 arg mem_usb_setup ,contw 
+0x7a94 040624 call usb_rx_data 
+0x7a95 040625 copy temp ,pdata 
+0x7a96 040626 beq 0 ,usb0_rx 
+0x7a97 040627 branch usb_data_rx 
+:      040628 usb0_rx:
+0x7a98 040629 fetch 1 ,mem_usb_read_len 
+0x7a99 040630 beq 0x00 ,usb_rx_no_data 
+0x7a9a 040631 beq 0x01 ,usb_out_one_byte 
+0x7a9b 040632 sub pdata ,7 ,null 
+0x7a9c 040633 rtn positive 
+:      040634 usb_class_type:
+0x7a9d 040635 bpatchx patch31_6 ,mem_patch31 
+0x7a9e 040636 set0 mark_isstr ,mark 
+0x7a9f 040637 fetch 1 ,mem_usb_setup_bmrequesttype 
+0x7aa0 040638 and_into 0x80 ,pdata 
+0x7aa1 040639 beq in_device ,usb_in_device 
+0x7aa2 040640 beq out_device ,usb_out_device 
+0x7aa3 040641 branch assert 
+:      040643 usb_out_one_byte:
+0x7aa4 040644 fetch 1 ,mem_usb_setup 
+0x7aa5 040645 rtnbit1 7 
+0x7aa6 040646 call usb_get_led_status 
+0x7aa7 040647 branch usb0_reply_zerolen 
+:      040650 usb_in_device:
+0x7aa8 040651 fetch 1 ,mem_usb_setup_bmrequesttype 
+0x7aa9 040652 rshift4 pdata ,pdata 
+0x7aaa 040653 rshift pdata ,pdata 
+0x7aab 040654 and_into 0x03 ,pdata 
+0x7aac 040655 beq standard_req ,usb_in_standard_req 
+0x7aad 040656 beq class_req ,usb_in_class_req 
+0x7aae 040657 beq manufacturer_req ,usb_in_manufacturer_req 
+0x7aaf 040658 branch assert 
+:      040660 usb_out_device:
+0x7ab0 040661 fetch 1 ,mem_usb_setup_bmrequesttype 
+0x7ab1 040662 rshift4 pdata ,pdata 
+0x7ab2 040663 rshift pdata ,pdata 
+0x7ab3 040664 and_into 0x03 ,pdata 
+0x7ab4 040665 beq standard_req ,usb_out_standard_req 
+0x7ab5 040666 beq class_req ,usb_out_class_req 
+0x7ab6 040667 beq manufacturer_req ,usb_out_manufacturer_req 
+0x7ab7 040668 branch assert 
+:      040670 usb_in_standard_req:
+0x7ab8 040671 fetch 1 ,mem_usb_setup_brequest 
+0x7ab9 040672 beq get_configuration ,usb0_request_get_configuration 
+0x7aba 040673 beq get_descriptor ,usb0_request_get_descriptor 
+0x7abb 040674 beq get_interface ,usb0_request_get_interface 
+0x7abc 040675 beq get_status ,usb0_request_get_status 
+0x7abd 040676 branch usb0_force_stall 
+:      040678 usb_in_class_req:
+0x7abe 040679 fetch 1 ,mem_usb_setup_brequest 
+0x7abf 040680 beq get_idle ,usb_get_idle 
+0x7ac0 040681 beq get_report ,usb_get_report 
+0x7ac1 040682 beq get_protocol ,usb_get_protocol_req 
+0x7ac2 040683 branch usb0_force_stall 
+:      040685 usb_in_manufacturer_req:
+0x7ac3 040686 branch usb0_force_stall 
+:      040688 usb_out_standard_req:
+0x7ac4 040689 fetch 1 ,mem_usb_setup_brequest 
+0x7ac5 040690 beq clear_feature ,usb0_request_clear_feature 
+0x7ac6 040691 beq set_feature ,usb0_request_set_feature 
+0x7ac7 040692 beq set_address ,usb0_request_set_address 
+0x7ac8 040693 beq set_configuration ,usb0_request_set_configuration 
+0x7ac9 040694 beq set_interface ,usb0_request_set_interface 
+0x7aca 040695 beq set_descriptor ,usb0_force_stall 
+0x7acb 040696 branch usb0_force_stall 
+:      040698 usb_out_class_req:
+0x7acc 040699 fetch 1 ,mem_usb_setup_brequest 
+0x7acd 040700 beq set_idle ,usb_set_idle 
+0x7ace 040701 beq set_report ,usb_set_report 
+0x7acf 040702 beq set_protocol ,usb_set_protocol_req 
+0x7ad0 040703 branch usb0_force_stall 
+:      040705 usb_out_manufacturer_req:
+0x7ad1 040706 branch usb0_force_stall 
+:      040708 usb0_force_stall:
+0x7ad2 040709 fetch 1 ,core_usb_stall 
+0x7ad3 040710 set1 0 ,pdata 
+0x7ad4 040711 store 1 ,core_usb_stall 
+0x7ad5 040712 branch usb0_reply_zerolen 
+:      040714 usb0_reply_zerolen:
+0x7ad6 040715 jam 0x10 ,core_usb_trig 
+0x7ad7 040716 rtn 
+:      040718 usb0_request_get_configuration:
+0x7ad8 040719 fetch 1 ,mem_usb_setup_bmrequesttype 
+0x7ad9 040720 bne in_device ,usb0_force_stall 
+0x7ada 040721 fetch 1 ,mem_usb_setup_windex 
+0x7adb 040722 bne 0 ,usb0_force_stall 
+0x7adc 040723 fetch 1 ,mem_usb_setup_windex + 1 
+0x7add 040724 bne 0 ,usb0_force_stall 
+0x7ade 040725 fetch 1 ,mem_usb_setup_blength 
+0x7adf 040726 bne 1 ,usb0_force_stall 
+0x7ae0 040727 fetch 1 ,mem_usb_setup_blengthh 
+0x7ae1 040728 bne 0 ,usb0_force_stall 
+0x7ae2 040729 fetch 1 ,mem_usb_setup_bvalue 
+0x7ae3 040730 bne 0 ,usb0_force_stall 
+0x7ae4 040731 fetch 1 ,mem_usb_setup_bvalue + 1 
+0x7ae5 040732 bne 0 ,usb0_force_stall 
+0x7ae6 040733 fetch 1 ,mem_usb0_state 
+0x7ae7 040734 beq dev_configured ,usb0_request_get_cfg_dev_cfg 
+0x7ae8 040735 beq dev_address ,usb0_request_get_cfg_dev_addr 
+0x7ae9 040736 branch usb0_force_stall 
+:      040738 usb0_request_get_cfg_dev_cfg:
+0x7aea 040739 arg 1 ,regb 
+0x7aeb 040740 branch usb_send_ones_packet 
+:      040742 usb0_request_get_cfg_dev_addr:
+0x7aec 040743 arg 1 ,regb 
+0x7aed 040744 branch usb_send_zero_packet 
+:      040746 usb0_request_get_descriptor:
+0x7aee 040747 bpatchx patch31_7 ,mem_patch31 
+0x7aef 040749 fetch 1 ,mem_usb_setup_bvalueh 
+0x7af0 040750 beq dsc_device ,dsc_device_info 
+0x7af1 040751 beq dsc_config ,dsc_config_info 
+0x7af2 040752 beq dsc_string ,dsc_string_info 
+0x7af3 040753 beq dsc_hid ,dsc_hid_info 
+0x7af4 040754 beq dsc_hid_report ,dsc_hid_report_info 
+0x7af5 040755 branch usb0_force_stall 
+:      040757 dsc_hid_info:
+0x7af6 040758 jam 0 ,mem_usb_get_protocol_flag 
+0x7af7 040759 fetch 1 ,mem_usb_setup_windex 
+0x7af8 040760 beq 0 ,dsc_hid_info_interface0 
+0x7af9 040761 beq 1 ,dsc_hid_info_interface1 
+0x7afa 040762 branch usb0_force_stall 
+:      040764 dsc_hid_info_interface0:
+0x7afb 040765 fetchr regb ,1 ,mem_confdesc + 19 
+0x7afc 040766 arg mem_confdesc + 19 ,rega 
+0x7afd 040767 branch usb0_respond 
+:      040769 dsc_hid_info_interface1:
+0x7afe 040770 fetchr regb ,1 ,mem_confdesc + 44 
+0x7aff 040771 arg mem_confdesc + 44 ,rega 
+0x7b00 040772 branch usb0_respond 
+:      040774 dsc_device_info:
+0x7b01 040778 fetch 1 ,mem_usb_set_high_addr_flag 
+0x7b02 040779 ncall usb_set_high_addr ,blank 
+0x7b03 040780 setarg mem_devicedesc 
+0x7b04 040781 fetcht 1 ,mem_devicedesc 
+:      040782 dsc_info_set_data_len:
+0x7b05 040783 store 2 ,mem_dsc_info_data_pointer 
+0x7b06 040784 storet 1 ,mem_dsc_info_len 
+0x7b07 040785 fetch 1 ,mem_usb_setup_blength 
+0x7b08 040786 isub temp ,null 
+0x7b09 040787 nbranch dsc_info_set_current_data_len ,positive 
+:      040788 dsc_info_set_initial_data_len:
+0x7b0a 040789 fetch 1 ,mem_dsc_info_len 
+:      040790 dsc_info_set_data_size_completed:
+0x7b0b 040791 iforce regb 
+0x7b0c 040792 fetch 2 ,mem_dsc_info_data_pointer 
+0x7b0d 040793 add pdata ,1 ,pdata 
+0x7b0e 040794 iforce rega 
+0x7b0f 040795 branch usb0_respond 
+:      040796 dsc_info_set_current_data_len:
+0x7b10 040797 fetch 1 ,mem_usb_setup_blength 
+0x7b11 040798 branch dsc_info_set_data_size_completed 
+:      040800 usb_set_high_addr:
+0x7b12 040801 fetch 1 ,core_usb_addr 
+0x7b13 040802 ncall usb0_set_addr ,blank 
+0x7b14 040803 jam 0 ,mem_usb_set_high_addr_flag 
+0x7b15 040804 rtn 
+:      040805 usb0_set_addr:
+0x7b16 040806 fetch 1 ,core_usb_addr 
+0x7b17 040807 set1 7 ,pdata 
+0x7b18 040808 store 1 ,core_usb_addr 
+0x7b19 040809 rtn 
+:      040811 dsc_config_info:
+0x7b1a 040812 setarg mem_confdesc 
+0x7b1b 040813 fetcht 1 ,mem_confdesc 
+0x7b1c 040814 branch dsc_info_set_data_len 
+:      040816 dsc_string_info:
+0x7b1d 040817 fetch 1 ,mem_usb_setup_bvalue 
+0x7b1e 040818 sub pdata ,3 ,null 
+0x7b1f 040819 nbranch usb0_force_stall ,positive 
+0x7b20 040820 fetch 1 ,mem_usb_setup_bvalue 
+0x7b21 040821 arg mem_string0 ,rega 
+0x7b22 040822 beq 0 ,usb0_respond_length 
+0x7b23 040823 set1 mark_isstr ,mark 
+0x7b24 040824 arg mem_string1 ,rega 
+0x7b25 040825 beq 1 ,usb0_respond_length 
+0x7b26 040826 arg mem_string2 ,rega 
+0x7b27 040827 beq 2 ,usb0_respond_length 
+0x7b28 040828 arg mem_string3 ,rega 
+0x7b29 040829 beq 3 ,usb0_respond_length 
+0x7b2a 040830 rtn 
+:      040832 dsc_hid_report_info:
+0x7b2b 040833 fetch 2 ,mem_usb_setup_windex 
+0x7b2c 040834 beq 1 ,dsc_hid_report_info0 
+0x7b2d 040835 fetchr rega ,2 ,mem_hidreportdesc_kb 
+0x7b2e 040836 branch usb0_respond_length 
+:      040837 dsc_hid_report_info0:
+0x7b2f 040838 jam 1 ,mem_usb_device_enumeration_endflag 
+0x7b30 040839 jam usb_got_report_req ,mem_usb_state 
+0x7b31 040840 fetchr rega ,2 ,mem_hidreportdesc_m 
+0x7b32 040841 branch usb0_respond_length 
+:      040844 usb0_request_get_interface:
+0x7b33 040845 fetch 1 ,mem_usb0_state 
+0x7b34 040846 bne dev_configured ,usb0_force_stall 
+0x7b35 040847 fetch 1 ,mem_usb_setup_bmrequesttype 
+0x7b36 040848 bne in_interface ,usb0_force_stall 
+0x7b37 040849 fetch 1 ,mem_usb_setup_bvalue 
+0x7b38 040850 bne 0 ,usb0_force_stall 
+0x7b39 040851 fetch 1 ,mem_usb_setup_bvalueh 
+0x7b3a 040852 bne 0 ,usb0_force_stall 
+0x7b3b 040853 fetch 1 ,mem_usb_setup_blength 
+0x7b3c 040854 bne 1 ,usb0_force_stall 
+0x7b3d 040855 fetch 1 ,mem_usb_setup_blengthh 
+0x7b3e 040856 bne 0 ,usb0_force_stall 
+0x7b3f 040857 fetch 1 ,mem_usb_setup_windex 
+0x7b40 040858 bne 0 ,usb0_force_stall 
+0x7b41 040859 fetch 1 ,mem_usb_setup_windex + 1 
+0x7b42 040860 bne 0 ,usb0_force_stall 
+0x7b43 040861 arg 1 ,regb 
+0x7b44 040862 branch usb_send_zero_packet 
+:      040865 usb0_request_get_status:
+0x7b45 040866 fetch 1 ,mem_usb0_state 
+0x7b46 040867 beq dev_default ,usb0_force_stall 
+0x7b47 040868 fetch 1 ,mem_usb_setup_bvalue 
+0x7b48 040869 bne 0 ,usb0_force_stall 
+0x7b49 040870 fetch 1 ,mem_usb_setup_bvalueh 
+0x7b4a 040871 bne 0 ,usb0_force_stall 
+0x7b4b 040872 fetch 1 ,mem_usb_setup_blength 
+0x7b4c 040873 bne 2 ,usb0_force_stall 
+0x7b4d 040874 fetch 1 ,mem_usb_setup_blengthh 
+0x7b4e 040875 bne 0 ,usb0_force_stall 
+0x7b4f 040876 fetch 1 ,mem_usb_setup_windex + 1 
+0x7b50 040877 bne 0 ,usb0_force_stall 
+0x7b51 040878 fetch 1 ,mem_usb_setup_bmrequesttype 
+0x7b52 040879 beq in_device ,usb0_get_status_in_device 
+0x7b53 040880 beq in_interface ,usb0_get_status_in_interface 
+0x7b54 040881 beq in_endpoint ,usb0_get_status_in_endpoint 
+0x7b55 040882 branch usb0_force_stall 
+:      040885 usb0_sdsystem_dispose:
+0x7b56 040886 jam 1 ,mem_sdsystem_wakeup_flag 
+0x7b57 040887 branch usb_send_two_packet 
+:      040889 usb0_get_status_in_device:
+0x7b58 040890 fetch 1 ,mem_usb_setup_windex 
+0x7b59 040891 bne 0 ,usb0_force_stall 
+0x7b5a 040892 arg 2 ,regb 
+0x7b5b 040893 fetch 1 ,mem_usb_remote_wakeup 
+0x7b5c 040894 beq 0x01 ,usb0_sdsystem_dispose 
+:      040896 usb_send_zero_packet:
+0x7b5d 040897 arg mem_usb_zero_packet ,rega 
+0x7b5e 040898 branch usb0_respond 
+:      040899 usb_send_ones_packet:
+0x7b5f 040900 arg mem_usb_ones_packet ,rega 
+0x7b60 040901 branch usb0_respond 
+:      040902 usb_send_two_packet:
+0x7b61 040903 arg mem_usb_two_packet ,rega 
+0x7b62 040904 branch usb0_respond 
+:      040906 usb0_get_status_in_interface:
+0x7b63 040907 fetch 1 ,mem_usb0_state 
+0x7b64 040908 bne dev_configured ,usb0_force_stall 
+0x7b65 040909 arg 2 ,regb 
+0x7b66 040910 branch usb_send_zero_packet 
+:      040912 usb0_get_status_in_endpoint:
+0x7b67 040913 fetch 1 ,mem_usb0_state 
+0x7b68 040914 bne dev_configured ,usb0_force_stall 
+0x7b69 040915 fetch 1 ,mem_usb_setup_windex 
+0x7b6a 040916 beq in_ep1 ,usb0_get_status_in_ep_in_ep1 
+0x7b6b 040917 beq in_ep2 ,usb0_get_status_in_ep_in_ep2 
+0x7b6c 040918 beq in_ep3 ,usb0_get_status_in_ep_in_ep3 
+0x7b6d 040919 and_into 0x7f ,pdata 
+0x7b6e 040920 beq 0x00 ,usb0_get_status_in_ep_in_ep0 
+0x7b6f 040921 branch usb0_force_stall 
+:      040923 usb0_get_status_in_ep_in_ep0:
+0x7b70 040924 fetch 1 ,mem_usb_ep0_stall_status 
+:      040925 usb0_get_status_in_ep_in_ack:
+0x7b71 040926 arg 2 ,regb 
+0x7b72 040927 beq 1 ,usb_send_ones_packet 
+0x7b73 040928 branch usb_send_zero_packet 
+:      040929 usb0_get_status_in_ep_in_ep1:
+0x7b74 040930 fetch 1 ,mem_usb_ep1_stall_status 
+0x7b75 040931 branch usb0_get_status_in_ep_in_ack 
+:      040932 usb0_get_status_in_ep_in_ep2:
+0x7b76 040933 fetch 1 ,mem_usb_ep2_stall_status 
+0x7b77 040934 branch usb0_get_status_in_ep_in_ack 
+:      040935 usb0_get_status_in_ep_in_ep3:
+0x7b78 040936 fetch 1 ,mem_usb_ep3_stall_status 
+0x7b79 040937 branch usb0_get_status_in_ep_in_ack 
+:      040939 usb_get_idle:
+0x7b7a 040940 jam 1 ,mem_usb_idle_flag 
+0x7b7b 040941 arg mem_usb_idle_rate ,rega 
+0x7b7c 040942 arg 1 ,regb 
+0x7b7d 040943 branch usb0_respond 
+:      040945 usb_get_report:
+0x7b7e 040946 fetch 2 ,mem_usb_setup_bvalue 
+0x7b7f 040947 arg pc_get_report ,temp 
+0x7b80 040948 isub temp ,null 
+0x7b81 040949 nbranch usb0_force_stall ,zero 
+:      040951 usb_get_report_dispose:
+0x7b82 040952 fetch 1 ,mem_usb0_data_ready_report 
+0x7b83 040953 nbranch usb_get_report_data_success ,blank 
+0x7b84 040954 jam pc_get_nondata ,mem_usb0_get_report_data 
+:      040955 usb_get_report_send_data:
+0x7b85 040956 fetch 1 ,mem_usb_setup_blength 
+0x7b86 040957 iforce regb 
+0x7b87 040958 arg mem_usb0_get_report_data ,rega 
+0x7b88 040959 call usb0_respond 
+:      040960 usb_get_report_data_release:
+0x7b89 040961 arg mem_usb0_get_report_data ,contw 
+0x7b8a 040962 arg 8 ,loopcnt 
+0x7b8b 040963 branch memset0 
+:      040964 usb_get_report_data_success:
+0x7b8c 040965 jam 0 ,mem_usb0_data_ready_report 
+0x7b8d 040966 jam pc_get_data ,mem_usb0_get_report_data 
+0x7b8e 040967 branch usb_get_report_send_data 
+:      040969 usb_get_protocol_req:
+0x7b8f 040970 fetch 1 ,mem_usb_setup_blength 
+0x7b90 040971 bne 1 ,usb0_force_stall 
+0x7b91 040972 jam 1 ,mem_usb_get_protocol_flag 
+0x7b92 040973 arg 1 ,regb 
+0x7b93 040974 fetch 1 ,mem_usb_set_protocol_value 
+0x7b94 040975 beq 0 ,usb_get_report_protocol 
+0x7b95 040976 beq 1 ,usb_get_boot_protocol 
+0x7b96 040977 branch usb_send_zero_packet 
+:      040978 usb_get_report_protocol:
+0x7b97 040979 branch usb_send_ones_packet 
+:      040980 usb_get_boot_protocol:
+0x7b98 040981 branch usb_send_zero_packet 
+:      040986 usb0_request_clear_feature:
+0x7b99 040987 fetch 1 ,mem_usb0_state 
+0x7b9a 040988 bne dev_configured ,usb0_force_stall 
+0x7b9b 040989 fetch 1 ,mem_usb_setup_blength 
+0x7b9c 040990 bne 0 ,usb0_force_stall 
+0x7b9d 040991 fetch 1 ,mem_usb_setup_blengthh 
+0x7b9e 040992 bne 0 ,usb0_force_stall 
+0x7b9f 040993 fetch 1 ,mem_usb_setup_bvalueh 
+0x7ba0 040994 bne 0 ,usb0_force_stall 
+0x7ba1 040995 fetch 1 ,mem_usb_setup_windex + 1 
+0x7ba2 040996 bne 0 ,usb0_force_stall 
+0x7ba3 040997 fetch 1 ,mem_usb_setup_bmrequesttype 
+0x7ba4 040998 beq out_device ,usb0_request_clear_feature_out_device 
+0x7ba5 040999 beq out_interface ,usb0_request_clear_feature_out_interface 
+0x7ba6 041000 beq out_endpoint ,usb0_request_clear_feature_out_endpoint 
+0x7ba7 041001 branch usb0_force_stall 
+:      041003 usb0_request_clear_feature_out_device:
+0x7ba8 041004 fetch 1 ,mem_usb_setup_bvalue 
+0x7ba9 041005 bne device_remote_wakeup ,usb0_force_stall 
+0x7baa 041006 fetch 1 ,core_usb_config 
+0x7bab 041007 set0 7 ,pdata 
+0x7bac 041008 store 1 ,core_usb_config 
+0x7bad 041009 jam 0 ,mem_usb_remote_wakeup 
+0x7bae 041010 jam 1 ,mem_usb_clear_remote_wakeup 
+0x7baf 041011 fetch 1 ,mem_sdsystem_wakeup_flag 
+0x7bb0 041012 branch usb0_reply_zerolen ,blank 
+0x7bb1 041013 jam 0 ,mem_sdsystem_wakeup_flag 
+0x7bb2 041014 jam 0 ,mem_usb_clear_remote_wakeup 
+0x7bb3 041015 jam usb_connected ,mem_usb_state 
+0x7bb4 041016 branch usb0_reply_zerolen 
+:      041018 usb0_request_clear_feature_out_interface:
+0x7bb5 041019 branch usb0_force_stall 
+:      041021 usb0_request_clear_feature_out_endpoint:
+0x7bb6 041022 fetch 1 ,mem_usb_setup_bvalue 
+0x7bb7 041023 bne endpoint_halt ,usb0_force_stall 
+0x7bb8 041024 fetch 1 ,mem_usb_setup_windex 
+0x7bb9 041025 beq in_ep1 ,usb0_force_stall_ep1_in_off 
+0x7bba 041026 beq in_ep2 ,usb0_force_stall_ep2_in_off 
+0x7bbb 041027 beq in_ep3 ,usb0_force_stall_ep3_in_off 
+0x7bbc 041028 and_into 0x7f ,pdata 
+0x7bbd 041029 beq 0x00 ,usb0_force_stall_ep0_in_off 
+0x7bbe 041030 branch usb0_force_stall 
+:      041032 usb0_force_stall_ep0_in_off:
+0x7bbf 041033 jam 0 ,mem_usb_ep0_stall_status 
+0x7bc0 041034 branch usb0_reply_zerolen 
+:      041035 usb0_force_stall_ep1_in_off:
+0x7bc1 041036 jam 0 ,mem_usb_ep1_stall_status 
+:      041037 usb0_force_stall_ep1_in_off_reply:
+0x7bc2 041038 jam 1 ,mem_usb_clear_halt 
+0x7bc3 041039 branch usb0_reply_zerolen 
+:      041040 usb0_force_stall_ep2_in_off:
+0x7bc4 041041 jam 0 ,mem_usb_ep2_stall_status 
+0x7bc5 041042 branch usb0_force_stall_ep1_in_off_reply 
+:      041043 usb0_force_stall_ep3_in_off:
+0x7bc6 041044 jam 0 ,mem_usb_ep3_stall_status 
+0x7bc7 041045 branch usb0_force_stall_ep1_in_off_reply 
+:      041048 usb0_request_set_feature:
+0x7bc8 041049 fetch 1 ,mem_usb_setup_blength 
+0x7bc9 041050 bne 0 ,usb0_force_stall 
+0x7bca 041051 fetch 1 ,mem_usb_setup_blengthh 
+0x7bcb 041052 bne 0 ,usb0_force_stall 
+0x7bcc 041053 fetch 1 ,mem_usb_setup_bmrequesttype 
+0x7bcd 041054 beq out_device ,usb0_request_set_feature_out_device 
+0x7bce 041055 beq out_interface ,usb0_request_set_feature_out_interface 
+0x7bcf 041056 beq out_endpoint ,usb0_request_set_feature_out_endpoint 
+0x7bd0 041057 branch usb0_force_stall 
+:      041059 usb0_request_set_feature_out_device:
+0x7bd1 041060 fetch 1 ,mem_usb_setup_bvalue 
+0x7bd2 041061 bne device_remote_wakeup ,usb0_force_stall 
+0x7bd3 041062 call dongle_set_pc_sleep_flag 
+0x7bd4 041063 fetch 1 ,core_usb_config 
+0x7bd5 041064 set1 7 ,pdata 
+0x7bd6 041065 store 1 ,core_usb_config 
+0x7bd7 041066 jam 1 ,mem_usb_remote_wakeup 
+0x7bd8 041067 jam usb_sleep ,mem_usb_state 
+0x7bd9 041068 jam 0 ,mem_usb_tx_win_enable 
+0x7bda 041069 call usb0_reply_zerolen 
+:      041070 usb_wakeup_timer_reinit:
+0x7bdb 041071 call timer_reinit 
+0x7bdc 041072 setarg timer_wakeup_delay 
+0x7bdd 041073 arg timer_wakeup ,queue 
+0x7bde 041074 branch timer_init 
+:      041076 usb0_request_set_feature_out_interface:
+0x7bdf 041077 branch usb0_force_stall 
+:      041079 usb0_request_set_feature_out_endpoint:
+0x7be0 041080 fetch 1 ,mem_usb_setup_bvalue 
+0x7be1 041081 bne endpoint_halt ,usb0_force_stall 
+0x7be2 041082 fetch 1 ,mem_usb_setup_bvalueh 
+0x7be3 041083 bne 0 ,usb0_force_stall 
+0x7be4 041084 fetch 1 ,mem_usb_setup_windex 
+0x7be5 041085 beq in_ep1 ,usb0_force_stall_ep1_in_on 
+0x7be6 041086 beq in_ep2 ,usb0_force_stall_ep2_in_on 
+0x7be7 041087 beq in_ep3 ,usb0_force_stall_ep3_in_on 
+0x7be8 041088 and_into 0x7f ,pdata 
+0x7be9 041089 beq 0x00 ,usb0_force_stall_ep0_in_on 
+0x7bea 041090 branch usb0_force_stall 
+:      041092 usb0_force_stall_ep0_in_on:
+0x7beb 041093 jam 1 ,mem_usb_ep0_stall_status 
+0x7bec 041094 branch usb0_reply_zerolen 
+:      041095 usb0_force_stall_ep1_in_on:
+0x7bed 041096 jam 1 ,mem_usb_ep1_stall_status 
+0x7bee 041097 branch usb0_reply_zerolen 
+:      041098 usb0_force_stall_ep2_in_on:
+0x7bef 041099 jam 1 ,mem_usb_ep2_stall_status 
+0x7bf0 041100 branch usb0_reply_zerolen 
+:      041101 usb0_force_stall_ep3_in_on:
+0x7bf1 041102 jam 1 ,mem_usb_ep3_stall_status 
+0x7bf2 041103 branch usb0_reply_zerolen 
+:      041106 usb0_request_set_address:
+0x7bf3 041107 fetch 1 ,mem_usb_setup_bmrequesttype 
+0x7bf4 041108 bne out_device ,usb0_force_stall 
+0x7bf5 041109 fetch 1 ,mem_usb_setup_windex 
+0x7bf6 041110 bne 0 ,usb0_force_stall 
+0x7bf7 041111 fetch 1 ,mem_usb_setup_windex + 1 
+0x7bf8 041112 bne 0 ,usb0_force_stall 
+0x7bf9 041113 fetch 1 ,mem_usb_setup_blength 
+0x7bfa 041114 bne 0 ,usb0_force_stall 
+0x7bfb 041115 fetch 1 ,mem_usb_setup_blengthh 
+0x7bfc 041116 bne 0 ,usb0_force_stall 
+0x7bfd 041117 fetch 1 ,mem_usb_setup_bvalueh 
+0x7bfe 041118 bne 0 ,usb0_force_stall 
+0x7bff 041119 fetch 1 ,mem_usb_setup_bvalue 
+0x7c00 041120 and_into 0x80 ,pdata 
+0x7c01 041121 bne 0 ,usb0_force_stall 
+0x7c02 041122 fetch 1 ,mem_usb_setup_bvalue 
+0x7c03 041123 bne 0 ,usb_usb0_state_set_dev_addr 
+:      041124 usb_usb0_state_set_dev_default:
+0x7c04 041125 jam dev_default ,mem_usb0_state 
+:      041126 usb0_request_set_wait_address:
+0x7c05 041127 fetch 1 ,mem_usb_setup_bvalue 
+0x7c06 041128 store 1 ,core_usb_addr 
+0x7c07 041129 call usb0_reply_zerolen 
+0x7c08 041130 jam 1 ,mem_usb_set_high_addr_flag 
+0x7c09 041131 rtn 
+:      041132 usb_usb0_state_set_dev_addr:
+0x7c0a 041133 jam dev_address ,mem_usb0_state 
+0x7c0b 041134 branch usb0_request_set_wait_address 
+:      041137 usb0_request_set_configuration:
+0x7c0c 041138 fetch 1 ,mem_usb0_state 
+0x7c0d 041139 beq dev_default ,usb0_force_stall 
+0x7c0e 041140 fetch 1 ,mem_usb_setup_bmrequesttype 
+0x7c0f 041141 bne out_device ,usb0_force_stall 
+0x7c10 041142 fetch 1 ,mem_usb_setup_windex 
+0x7c11 041143 bne 0 ,usb0_force_stall 
+0x7c12 041144 fetch 1 ,mem_usb_setup_windex + 1 
+0x7c13 041145 bne 0 ,usb0_force_stall 
+0x7c14 041146 fetch 1 ,mem_usb_setup_blength 
+0x7c15 041147 bne 0 ,usb0_force_stall 
+0x7c16 041148 fetch 1 ,mem_usb_setup_blengthh 
+0x7c17 041149 bne 0 ,usb0_force_stall 
+0x7c18 041150 fetch 1 ,mem_usb_setup_bvalue + 1 
+0x7c19 041151 bne 0 ,usb0_force_stall 
+0x7c1a 041152 fetch 1 ,mem_usb_setup_bvalue 
+0x7c1b 041153 sub pdata ,usb_max_num_cfg ,null 
+0x7c1c 041154 nbranch usb0_force_stall ,positive 
+0x7c1d 041155 fetch 1 ,mem_usb0_state 
+0x7c1e 041156 beq dev_address ,usb0_request_set_cfg_addr_state 
+0x7c1f 041157 beq dev_configured ,usb0_request_set_cfg_cfg_state 
+0x7c20 041158 branch usb0_force_stall 
+:      041160 usb0_request_set_cfg_addr_state:
+:      041161 usb0_request_set_cfg_cfg_state:
+0x7c21 041162 fetch 1 ,mem_usb_setup_bvalue 
+0x7c22 041163 beq 0 ,usb0_request_set_cfg_stay_addr_state 
+0x7c23 041164 jam dev_configured ,mem_usb0_state 
+0x7c24 041165 branch usb0_reply_zerolen 
+:      041166 usb0_request_set_cfg_stay_addr_state:
+0x7c25 041167 jam dev_address ,mem_usb0_state 
+0x7c26 041168 branch usb0_reply_zerolen 
+:      041171 usb0_request_set_interface:
+0x7c27 041172 fetch 1 ,mem_usb0_state 
+0x7c28 041173 bne dev_configured ,usb0_force_stall 
+0x7c29 041174 fetch 1 ,mem_usb_setup_bmrequesttype 
+0x7c2a 041175 bne out_interface ,usb0_force_stall 
+0x7c2b 041176 fetch 1 ,mem_usb_setup_bvalue 
+0x7c2c 041177 bne 0 ,usb0_force_stall 
+0x7c2d 041178 fetch 1 ,mem_usb_setup_bvalueh 
+0x7c2e 041179 bne 0 ,usb0_force_stall 
+0x7c2f 041180 fetch 1 ,mem_usb_setup_blength 
+0x7c30 041181 bne 0 ,usb0_force_stall 
+0x7c31 041182 fetch 1 ,mem_usb_setup_blengthh 
+0x7c32 041183 bne 0 ,usb0_force_stall 
+0x7c33 041184 fetch 1 ,mem_usb_setup_windex 
+0x7c34 041185 bne 0 ,usb0_force_stall 
+0x7c35 041186 fetch 1 ,mem_usb_setup_windex + 1 
+0x7c36 041187 bne 0 ,usb0_force_stall 
+0x7c37 041188 branch usb0_reply_zerolen 
+:      041191 usb_set_idle:
+0x7c38 041192 bpatchx patch32_0 ,mem_patch32 
+0x7c39 041193 jam 1 ,mem_usb_idle_flag 
+0x7c3a 041194 fetch 1 ,mem_usb_setup_bvalueh 
+0x7c3b 041195 store 1 ,mem_usb_idle_rate 
+0x7c3c 041196 fetch 1 ,mem_usb_setup_windex 
+0x7c3d 041197 sub pdata ,1 ,null 
+0x7c3e 041198 call usb_clear_remote_wakeup_set0 ,zero 
+0x7c3f 041199 fetch 1 ,mem_usb_state 
+0x7c40 041200 bne usb_resume ,usb0_reply_zerolen 
+0x7c41 041201 jam usb_connected ,mem_usb_state 
+0x7c42 041202 call usb0_reply_zerolen 
+0x7c43 041203 nop 30000 
+0x7c44 041204 nop 30000 
+0x7c45 041205 rtn 
+:      041206 usb_clear_remote_wakeup_set0:
+0x7c46 041207 jam 1 ,mem_usb_device_enumeration_endflag 
+0x7c47 041208 jam 0 ,mem_usb_clear_remote_wakeup 
+0x7c48 041209 jam usb_resume ,mem_usb_state 
+0x7c49 041210 rtn 
+:      041213 usb_set_report:
+0x7c4a 041214 arg mem_usb0_set_report_data ,contw 
+0x7c4b 041215 call usb_rx_data 
+0x7c4c 041216 jam 1 ,mem_usb0_get_set_report 
+0x7c4d 041217 call usb_set_report_resume_judge 
+0x7c4e 041218 fetch 2 ,mem_usb_setup_bvalue 
+0x7c4f 041219 store 2 ,mem_usb_setup_bvalue_temp 
+0x7c50 041220 call usb0_reply_zerolen 
+0x7c51 041221 fetch 1 ,mem_device_option 
+0x7c52 041222 rtnne dvc_op_dongle 
+0x7c53 041223 fetch 1 ,mem_usb_tx_win_enable 
+0x7c54 041224 rtn blank 
+0x7c55 041225 fetch 1 ,mem_usb0_set_report_data 
+:      041226 usb_get_led_status:
+0x7c56 041227 store 1 ,mem_24g_led_status 
+0x7c57 041228 jam 0 ,mem_usb_tx_win_enable 
+0x7c58 041229 jam kb_led_ackpayload ,mem_24g_ackpayload_enable 
+0x7c59 041230 rtn 
+:      041233 usb_set_report_resume_judge:
+0x7c5a 041234 fetch 2 ,mem_usb_setup_bvalue 
+0x7c5b 041235 arg pc_set_report_bvalue ,temp 
+0x7c5c 041236 isub temp ,null 
+0x7c5d 041237 nrtn zero 
+0x7c5e 041238 fetch 2 ,mem_usb_setup_windex 
+0x7c5f 041239 arg pc_set_report_windex ,temp 
+0x7c60 041240 isub temp ,null 
+0x7c61 041241 nrtn zero 
+0x7c62 041242 fetch 2 ,mem_usb_setup_blength 
+0x7c63 041243 arg pc_set_report_blength ,temp 
+0x7c64 041244 isub temp ,null 
+0x7c65 041245 nrtn zero 
+0x7c66 041246 jam 1 ,mem_usb_tx_win_enable 
+0x7c67 041247 rtn 
+:      041250 usb_set_protocol_req:
+0x7c68 041251 fetch 1 ,mem_usb_setup_blength 
+0x7c69 041252 bne 0 ,usb0_force_stall 
+0x7c6a 041253 fetch 1 ,mem_usb_setup_bvalue 
+0x7c6b 041254 beq boot_protocol ,usb_set_boot_protocol 
+0x7c6c 041255 beq report_protocol ,usb_set_report_protocol 
+0x7c6d 041256 branch usb0_force_stall 
+:      041257 usb_set_boot_protocol:
+0x7c6e 041258 jam 0 ,mem_usb_set_protocol_status 
+0x7c6f 041259 jam 1 ,mem_usb_set_protocol_value 
+0x7c70 041260 branch usb0_reply_zerolen 
+:      041261 usb_set_report_protocol:
+0x7c71 041262 jam 1 ,mem_usb_tx_mac_enable 
+0x7c72 041263 jam 1 ,mem_usb_set_protocol_status 
+0x7c73 041264 jam 0 ,mem_usb_set_protocol_value 
+0x7c74 041265 branch usb0_reply_zerolen 
+:      041268 usb0_respond_length:
+0x7c75 041269 ifetchr regb ,1 ,rega 
+0x7c76 041270 increase 1 ,rega 
+:      041272 usb0_respond:
+0x7c77 041273 bpatchx patch32_1 ,mem_patch32 
+0x7c78 041274 set1 mark_usb_first_resp ,mark 
+0x7c79 041275 bmark0 mark_isstr ,usb0_respond_nostr 
+0x7c7a 041276 increase 1 ,regb 
+0x7c7b 041277 lshift regb ,regb 
+:      041278 usb0_respond_nostr:
+0x7c7c 041279 storer rega ,2 ,mem_bufptr 
+0x7c7d 041280 storer regb ,1 ,mem_remain 
+0x7c7e 041281 branch usb0_tx 
+:      041283 usb_no_respond_data:
+0x7c7f 041284 arg 0 ,queue 
+0x7c80 041285 branch usb_trig 
+:      041290 usb0_tx:
+0x7c81 041291 bpatchx patch32_2 ,mem_patch32 
+0x7c82 041292 fetch 1 ,core_usb_txbusy 
+0x7c83 041293 rtnbit1 0 
+0x7c84 041294 fetch 1 ,mem_remain 
+0x7c85 041295 rtn blank 
+0x7c86 041296 copy pdata ,loopcnt 
+0x7c87 041297 iforce temp 
+0x7c88 041298 fetch 2 ,mem_usb_setup_blength 
+0x7c89 041299 sub pdata ,ep0_packet_size ,null 
+0x7c8a 041300 branch usb0_tx_short ,positive 
+0x7c8b 041301 sub loopcnt ,ep0_packet_size ,null 
+0x7c8c 041302 branch usb0_tx_info ,positive 
+0x7c8d 041303 force ep0_packet_size ,loopcnt 
+0x7c8e 041304 branch usb0_tx_info 
+:      041305 usb0_tx_short:
+0x7c8f 041306 isub loopcnt ,null 
+0x7c90 041307 branch usb0_tx_info ,positive 
+0x7c91 041308 iforce loopcnt 
+0x7c92 041309 store 1 ,mem_remain 
+:      041310 usb0_tx_info:
+0x7c93 041311 fetch 1 ,mem_remain 
+0x7c94 041312 isub loopcnt ,pdata 
+0x7c95 041313 store 1 ,mem_remain 
+0x7c96 041314 add loopcnt ,-1 ,pdata 
+0x7c97 041315 store 1 ,mem_usb_txbuf 
+0x7c98 041316 bmark0 mark_isstr ,usb0_tx_nostr 
+0x7c99 041317 rshift pdata ,pdata 
+0x7c9a 041318 add loopcnt ,-1 ,pdata 
+0x7c9b 041319 store 1 ,mem_usb_txbuf 
+0x7c9c 041320 bmark0 mark_usb_first_resp ,usb0_tx_nostr 
+0x7c9d 041321 set0 mark_usb_first_resp ,mark 
+0x7c9e 041322 istoret 1 ,contw 
+0x7c9f 041323 setarg 3 
+0x7ca0 041324 istore 1 ,contw 
+0x7ca1 041325 increase -1 ,loopcnt 
+0x7ca2 041326 copy loopcnt ,pdata 
+0x7ca3 041327 nbranch usb0_tx_nostr ,zero 
+0x7ca4 041328 increase 1 ,loopcnt 
+:      041329 usb0_tx_nostr:
+0x7ca5 041330 fetch 2 ,mem_bufptr 
+0x7ca6 041331 copy pdata ,contr 
+:      041332 usb0_tx0:
+0x7ca7 041333 ifetch 1 ,contr 
+0x7ca8 041334 istore 1 ,contw 
+0x7ca9 041335 bmark0 mark_isstr ,usb0_tx1 
+0x7caa 041336 setarg 0 
+0x7cab 041337 istore 1 ,contw 
+:      041338 usb0_tx1:
+0x7cac 041339 loop usb0_tx0 
+0x7cad 041340 copy contr ,pdata 
+0x7cae 041341 store 2 ,mem_bufptr 
+0x7caf 041342 setarg mem_usb_txbuf 
+0x7cb0 041343 store 2 ,core_usb_tx_saddr0 
+0x7cb1 041344 arg 0 ,queue 
+0x7cb2 041345 call usb_trig 
+0x7cb3 041346 fetch 1 ,mem_remain 
+0x7cb4 041347 nrtn blank 
+0x7cb5 041348 fetch 1 ,mem_usb_state 
+0x7cb6 041349 rtnne usb_got_report_req 
+0x7cb7 041350 jam usb_connected ,mem_usb_state 
+0x7cb8 041351 rtn 
+:      041355 usb_tx_ep1:
+0x7cb9 041356 arg 1 ,queue 
+0x7cba 041357 arg mem_usb_txbuf1 ,rega 
+0x7cbb 041358 storer rega ,2 ,core_usb_tx_saddr1 
+:      041359 usb_tx_buf:
+0x7cbc 041360 add loopcnt ,-1 ,pdata 
+0x7cbd 041361 istore 1 ,rega 
+:      041362 usb_tx_loop:
+0x7cbe 041363 ifetch 1 ,contr 
+0x7cbf 041364 istore 1 ,contw 
+0x7cc0 041365 loop usb_tx_loop 
+:      041366 usb_trig:
+0x7cc1 041367 setarg 0 
+0x7cc2 041368 qset1 pdata 
+0x7cc3 041369 store 1 ,core_usb_trig 
+0x7cc4 041370 rtn 
+:      041372 usb_tx_ep2:
+0x7cc5 041373 arg 2 ,queue 
+0x7cc6 041374 arg mem_usb_txbuf2 ,rega 
+0x7cc7 041375 storer rega ,2 ,core_usb_tx_saddr2 
+0x7cc8 041376 branch usb_tx_buf 
+:      041378 usb_tx:
+0x7cc9 041379 bpatchx patch32_3 ,mem_patch32 
+0x7cca 041380 fetch 1 ,mem_usb_tx_enable 
+0x7ccb 041381 rtn blank 
+0x7ccc 041382 fetch 1 ,mem_usb_device_enumeration_endflag 
+0x7ccd 041383 branch usb_tx_fifo_release ,blank 
+0x7cce 041384 fetch 1 ,mem_usb_state 
+0x7ccf 041385 beq usb_sleep ,usb_windows_wakeup 
+0x7cd0 041386 bne usb_connected ,usb_tx_fifo_release 
+0x7cd1 041387 fetch 1 ,mem_usb_clear_remote_wakeup 
+0x7cd2 041388 nbranch usb_tx_fifo_release ,blank 
+0x7cd3 041389 call usb_tx_data_ep1 
+0x7cd4 041390 branch usb_tx_data_ep2 
+:      041392 usb_tx_data_ep1:
+0x7cd5 041393 fetch 1 ,core_usb_txbusy 
+0x7cd6 041394 rtnbit1 1 
+0x7cd7 041395 fetch 1 ,mem_usb_tx_enable 
+0x7cd8 041396 rtnbit0 1 
+0x7cd9 041397 fetch 1 ,mem_usb_tx_enable 
+0x7cda 041398 set0 1 ,pdata 
+0x7cdb 041399 store 1 ,mem_usb_tx_enable 
+0x7cdc 041400 fetch 1 ,mem_usb_ep1_data 
+0x7cdd 041401 rtn blank 
+0x7cde 041402 beq usb_ep1_kb ,usb_tx_kb_normal_data 
+0x7cdf 041403 branch assert 
+:      041405 usb_tx_data_ep2:
+0x7ce0 041406 fetch 1 ,core_usb_txbusy 
+0x7ce1 041407 rtnbit1 2 
+0x7ce2 041408 fetch 1 ,mem_usb_tx_enable 
+0x7ce3 041409 rtnbit0 2 
+0x7ce4 041410 fetch 1 ,mem_usb_tx_enable 
+0x7ce5 041411 set0 2 ,pdata 
+0x7ce6 041412 store 1 ,mem_usb_tx_enable 
+0x7ce7 041413 fetch 1 ,mem_usb_ep2_data 
+0x7ce8 041414 rtn blank 
+0x7ce9 041415 beq usb_ep2_ms ,usb_tx_ms_data 
+0x7cea 041416 beq usb_ep2_multikey ,usb_tx_kb_multikey_data 
+0x7ceb 041417 beq usb_ep2_systemkey ,usb_tx_kb_systemkey_data 
+0x7cec 041418 branch assert 
+:      041420 usb_tx_fifo_release:
+0x7ced 041422 arg mem_usb_mouse_data ,contw 
+0x7cee 041423 arg 8 ,loopcnt 
+0x7cef 041424 branch memset0 
+:      041426 usb_tx_ms_data:
+0x7cf0 041427 fetch 1 ,mem_usb_idle_flag 
+0x7cf1 041428 fetcht 1 ,mem_usb_get_protocol_flag 
+0x7cf2 041429 iand temp ,pdata 
+0x7cf3 041430 branch usb_tx_ms_data_normal_mode ,blank 
+0x7cf4 041431 fetcht 1 ,mem_usb_set_protocol_status 
+0x7cf5 041432 iadd temp ,pdata 
+0x7cf6 041433 beq mac_boot_mode ,usb_tx_ms_data_mac_boot_mode 
+0x7cf7 041434 branch usb_tx_ms_data_normal_mode 
+:      041436 usb_tx_ms_data_mac_boot_mode:
+0x7cf8 041437 jam 0 ,mem_usb_ep2_data 
+:      041438 usb_tx_ms_data_mac_boot_regroup:
+0x7cf9 041439 fetch 1 ,mem_usb_mouse_data + 1 
+0x7cfa 041440 beq r_key ,usb_tx_mac_boot_ms_regroup_r_or_lrkey 
+0x7cfb 041441 beq lr_key ,usb_tx_mac_boot_ms_regroup_r_or_lrkey 
+0x7cfc 041442 fetch 1 ,mem_usb_mouse_data + 1 
+0x7cfd 041443 store 1 ,mem_usb_mouse_data 
+0x7cfe 041444 fetch 1 ,mem_usb_mouse_data + 2 
+0x7cff 041445 istore 1 ,contw 
+0x7d00 041446 fetch 1 ,mem_usb_mouse_data + 4 
+0x7d01 041447 istore 1 ,contw 
+0x7d02 041448 fetch 1 ,mem_usb_mouse_data + 6 
+0x7d03 041449 istore 1 ,contw 
+0x7d04 041450 arg 4 ,loopcnt 
+0x7d05 041451 arg mem_usb_mouse_data ,contr 
+0x7d06 041452 branch usb_tx_ep2 
+:      041454 usb_tx_ms_data_normal_mode:
+0x7d07 041455 jam 0 ,mem_usb_ep2_data 
+:      041456 usb_tx_mac_boot_ms_regroup_r_or_lrkey:
+0x7d08 041457 arg 8 ,loopcnt 
+0x7d09 041458 arg mem_usb_mouse_data ,contr 
+0x7d0a 041459 branch usb_tx_ep2 
+:      041461 usb_tx_kb_multikey_data:
+0x7d0b 041462 jam 0 ,mem_usb_ep2_data 
+0x7d0c 041463 arg 3 ,loopcnt 
+0x7d0d 041464 arg mem_usb_kb_multikey ,contr 
+0x7d0e 041465 branch usb_tx_ep2 
+:      041467 usb_tx_kb_normal_data:
+0x7d0f 041468 jam 0 ,mem_usb_ep1_data 
+0x7d10 041469 arg 8 ,loopcnt 
+0x7d11 041470 arg mem_usb_kb_data ,contr 
+0x7d12 041471 branch usb_tx_ep1 
+:      041473 usb_tx_kb_systemkey_data:
+0x7d13 041474 jam 0 ,mem_usb_ep2_data 
+0x7d14 041475 arg 2 ,loopcnt 
+0x7d15 041476 arg mem_usb_kb_system ,contr 
+0x7d16 041477 branch usb_tx_ep2 
+:      041479 usb_inwake_state_tx_dispose:
+0x7d17 041480 fetch 1 ,mem_usb_state 
+0x7d18 041481 beq usb_connected ,usb_mac_wakeup_trig 
+0x7d19 041482 rtn 
+:      041483 usb_mac_wakeup_trig:
+0x7d1a 041484 fetch 1 ,core_usb_config 
+0x7d1b 041485 set1 7 ,pdata 
+0x7d1c 041486 store 1 ,core_usb_config 
+0x7d1d 041487 jam 1 ,mem_usb_mac_wakeup_trig 
+0x7d1e 041488 rtn 
+:      041490 usb_mac_wakeup_judge:
+0x7d1f 041491 fetch 1 ,mem_usb_state 
+0x7d20 041492 rtneq usb_sleep 
+0x7d21 041493 beq usb_connected ,usb_mac_wakeup 
+0x7d22 041494 rtn 
+:      041495 usb_mac_wakeup:
+0x7d23 041496 fetch 1 ,mem_usb_mac_wakeup_trig 
+0x7d24 041497 rtn blank 
+0x7d25 041498 jam 1 ,mem_usb_wakestate_onetime_flag 
+0x7d26 041499 branch usb_wakeup 
+:      041501 usb_windows_wakeup:
+0x7d27 041502 arg timer_wakeup ,queue 
+0x7d28 041503 call timer_check 
+0x7d29 041504 nrtn blank 
+:      041505 usb_wakeup:
+0x7d2a 041506 fetch 1 ,core_usb_config 
+0x7d2b 041507 rtnbit0 7 
+0x7d2c 041508 jam 0xfc ,core_usb_config 
+0x7d2d 041509 nop 30000 
+0x7d2e 041510 jam 0x3c ,core_usb_config 
+0x7d2f 041511 rtn 
+:      041516 right_shift_n:
+0x7d30 041517 sub loopcnt ,0 ,null 
+0x7d31 041518 rtn zero 
+:      041519 right_shift_n_loop:
+0x7d32 041520 rshift pdata ,pdata 
+0x7d33 041521 loop right_shift_n_loop 
+0x7d34 041522 rtn 
+:      041525 left_shift_n:
+0x7d35 041526 force 1 ,pdata 
+0x7d36 041527 sub loopcnt ,0 ,null 
+0x7d37 041528 rtn zero 
+:      041529 left_shift_n_loop:
+0x7d38 041530 lshift pdata ,pdata 
+0x7d39 041531 loop left_shift_n_loop 
+0x7d3a 041532 rtn 
+:      041533 push_stack:
+0x7d3b 041534 storer contw ,2 ,mem_contw 
+0x7d3c 041535 storet 8 ,mem_temp 
+0x7d3d 041536 storer timeup ,4 ,mem_timeup 
+0x7d3e 041537 call push_stack_rega_b_c 
+0x7d3f 041538 storer contr ,2 ,mem_contr 
+0x7d40 041539 storer loopcnt ,2 ,mem_loopcnt 
+0x7d41 041540 storer queue ,2 ,mem_queue 
+0x7d42 041541 rtn 
+:      041543 push_stack_rega_b_c:
+0x7d43 041544 storer rega ,4 ,mem_rega 
+0x7d44 041545 storer regb ,4 ,mem_regb 
+0x7d45 041546 storer regc ,3 ,mem_regc 
+0x7d46 041547 rtn 
+:      041549 pop_stack:
+0x7d47 041550 fetch 2 ,mem_contw 
+0x7d48 041551 iforce contw 
+0x7d49 041552 fetcht 8 ,mem_temp 
+0x7d4a 041553 fetchr timeup ,4 ,mem_timeup 
+0x7d4b 041554 call pop_stack_rega_b_c 
+0x7d4c 041555 fetchr loopcnt ,2 ,mem_loopcnt 
+0x7d4d 041556 fetchr queue ,2 ,mem_queue 
+0x7d4e 041557 fetch 2 ,mem_contr 
+0x7d4f 041558 iforce contr 
+0x7d50 041559 rtn 
+:      041561 pop_stack_rega_b_c:
+0x7d51 041562 fetchr rega ,4 ,mem_rega 
+0x7d52 041563 fetchr regb ,4 ,mem_regb 
+0x7d53 041564 fetchr regc ,3 ,mem_regc 
+0x7d54 041565 rtn 
+:      041567 get_contw:
+0x7d55 041568 fetch 2 ,mem_contw 
+0x7d56 041569 copy pdata ,contw 
+0x7d57 041570 rtn 
+:      041571 get_contr:
+0x7d58 041572 fetch 2 ,mem_contr 
+0x7d59 041573 copy pdata ,contr 
+0x7d5a 041574 rtn 
+:      041575 store_contw:
+0x7d5b 041576 copy contw ,pdata 
+0x7d5c 041577 store 2 ,mem_contw 
+0x7d5d 041578 rtn 
+:      041579 store_contr:
+0x7d5e 041580 copy contr ,pdata 
+0x7d5f 041581 store 2 ,mem_contr 
+0x7d60 041582 rtn 
+:      041586 save_cont_pointers:
+0x7d61 041587 copy contw ,pdata 
+0x7d62 041588 store 2 ,mem_hold_contw 
+0x7d63 041589 copy contr ,pdata 
+0x7d64 041590 store 2 ,mem_hold_contr 
+0x7d65 041591 rtn 
+:      041592 load_cont_pointers:
+0x7d66 041593 fetch 2 ,mem_hold_contw 
+0x7d67 041594 copy pdata ,contw 
+0x7d68 041595 fetch 2 ,mem_hold_contr 
+0x7d69 041596 copy pdata ,contr 
+0x7d6a 041597 rtn 
+:      041602 get_diff:
+0x7d6b 041603 isub temp ,rega 
+0x7d6c 041604 rtn positive 
+0x7d6d 041605 arg 0x100 ,rega 
+0x7d6e 041606 iadd rega ,pdata 
+0x7d6f 041607 isub temp ,rega 
+0x7d70 041608 rtn 
+:      041610 memcpy96:
+0x7d71 041611 call memcpy32 
+:      041612 memcpy64:
+0x7d72 041613 call memcpy32 
+0x7d73 041614 branch memcpy32 
+:      041615 memcpy20:
+0x7d74 041616 call memcpy8 
+:      041617 memcpy12:
+0x7d75 041618 call memcpy8 
+:      041619 memcpy4:
+0x7d76 041620 ifetch 4 ,contr 
+0x7d77 041621 istore 4 ,contw 
+0x7d78 041622 rtn 
+:      041623 memcpy8:
+0x7d79 041624 ifetch 8 ,contr 
+0x7d7a 041625 istore 8 ,contw 
+0x7d7b 041626 rtn 
+:      041628 memcpy48:
+0x7d7c 041629 call memcpy16 
+:      041630 memcpy32:
+0x7d7d 041631 call memcpy8 
+:      041632 memcpy24:
+0x7d7e 041633 call memcpy8 
+:      041634 memcpy16:
+0x7d7f 041635 call memcpy8 
+0x7d80 041636 branch memcpy8 
+:      041638 delay:
+0x7d81 041639 increase -1 ,pdata 
+0x7d82 041640 nop 38 
+0x7d83 041641 nbranch delay ,blank 
+0x7d84 041642 rtn 
+:      041645 delay_10ms:
+0x7d85 041646 arg 10 ,loopcnt 
+:      041647 delay_ms_wait:
+0x7d86 041648 nop 12000 
+0x7d87 041649 loop delay_ms_wait 
+0x7d88 041650 rtn 
+:      041652 delay_50ms:
+0x7d89 041653 arg 50 ,loopcnt 
+0x7d8a 041654 branch delay_ms_wait 
+:      041656 bn_zero:
+0x7d8b 041657 force 3 ,loopcnt 
+:      041658 memset0:
+0x7d8c 041659 force 0 ,pdata 
+:      041660 memset8:
+0x7d8d 041661 istore 8 ,contw 
+0x7d8e 041662 loop memset8 
+0x7d8f 041663 rtn 
+:      041666 memset0_16:
+0x7d90 041667 call memset0_8 
+:      041668 memset0_8:
+0x7d91 041669 force 0 ,pdata 
+0x7d92 041670 istore 8 ,contw 
+0x7d93 041671 rtn 
+:      041672 memset0_4:
+0x7d94 041673 force 0 ,pdata 
+0x7d95 041674 istore 4 ,contw 
+0x7d96 041675 rtn 
+:      041677 clear_mem_256:
+0x7d97 041678 force 4 ,loopcnt 
+0x7d98 041679 branch memset0 
+:      041680 clear_mem_512:
+0x7d99 041681 force 8 ,loopcnt 
+0x7d9a 041682 branch memset0 
+:      041684 clear_mem:
+0x7d9b 041685 deposit loopcnt 
+0x7d9c 041686 rtn blank 
+0x7d9d 041687 setarg 0 
+:      041688 clear_mem_loop:
+0x7d9e 041689 istore 1 ,contw 
+0x7d9f 041690 loop clear_mem_loop 
+0x7da0 041691 rtn 
+:      041694 clear_temp_block:
+0x7da1 041695 arg 32 ,loopcnt 
+0x7da2 041696 arg mem_temp_block0 ,contw 
+0x7da3 041697 branch clear_mem 
+:      041699 xor_loop:
+0x7da4 041700 ifetch 4 ,regc 
+0x7da5 041701 ifetcht 4 ,rega 
+0x7da6 041702 ixor temp ,pdata 
+0x7da7 041703 istore 4 ,contw 
+0x7da8 041704 increase 4 ,rega 
+0x7da9 041705 increase 4 ,regc 
+0x7daa 041706 loop xor_loop 
+0x7dab 041707 rtn 
+:      041711 inverse_data:
+0x7dac 041712 bpatchx patch32_4 ,mem_patch32 
+0x7dad 041713 copy loopcnt ,pdata 
+0x7dae 041714 sub pdata ,1 ,null 
+0x7daf 041715 rtn positive 
+0x7db0 041716 iadd rega ,regb 
+0x7db1 041717 increase -1 ,regb 
+0x7db2 041718 rshift loopcnt ,loopcnt 
+:      041719 inverse_loop:
+0x7db3 041720 ifetcht 1 ,rega 
+0x7db4 041721 ifetch 1 ,regb 
+0x7db5 041722 istore 1 ,rega 
+0x7db6 041723 istoret 1 ,regb 
+0x7db7 041724 increase -1 ,regb 
+0x7db8 041725 increase 1 ,rega 
+0x7db9 041726 loop inverse_loop 
+0x7dba 041727 rtn 
+:      041729 le2be_6byte:
+:      041730 inverse_data_6byte:
+0x7dbb 041731 rshift32 pdata ,temp 
+0x7dbc 041732 call inverse_data_4byte 
+0x7dbd 041733 byteswap temp ,temp 
+0x7dbe 041734 lshift16 pdata ,pdata 
+0x7dbf 041735 ior temp ,pdata 
+0x7dc0 041736 rtn 
+:      041739 le2be_4byte:
+:      041740 inverse_data_4byte:
+0x7dc1 041741 rshift16 pdata ,contr 
+0x7dc2 041742 byteswap contr ,contr 
+0x7dc3 041743 byteswap pdata ,pdata 
+0x7dc4 041744 lshift16 pdata ,pdata 
+0x7dc5 041745 ior contr ,pdata 
+0x7dc6 041746 rtn 
+:      041749 memcpy_fast:
+0x7dc7 041750 deposit loopcnt 
+0x7dc8 041751 rtn blank 
+:      041752 memcpy_fast_loop:
+0x7dc9 041753 increase -8 ,loopcnt 
+0x7dca 041754 call memcpy8 ,positive 
+0x7dcb 041755 rtn zero 
+0x7dcc 041756 branch memcpy_fast_loop ,positive 
+0x7dcd 041757 increase 8 ,loopcnt 
+:      041758 memcpy_fast_loop_four:
+0x7dce 041759 increase -4 ,loopcnt 
+0x7dcf 041760 call memcpy4 ,positive 
+0x7dd0 041761 rtn zero 
+0x7dd1 041762 branch memcpy_fast_loop_four ,positive 
+0x7dd2 041763 increase 4 ,loopcnt 
+0x7dd3 041764 branch memcpy 
+:      041766 memcpy:
+0x7dd4 041767 deposit loopcnt 
+0x7dd5 041768 rtn blank 
+:      041769 memcpy_loop:
+0x7dd6 041770 ifetch 1 ,contr 
+0x7dd7 041771 istore 1 ,contw 
+0x7dd8 041772 loop memcpy_loop 
+0x7dd9 041773 rtn 
+:      041775 timer_stop:
+0x7dda 041776 setarg 0 
+:      041777 timer_init:
+0x7ddb 041778 rshift clkn_bt ,temp 
+0x7ddc 041779 storet 4 ,mem_last_clkn 
+0x7ddd 041780 arg mem_timers ,contw 
+0x7dde 041781 iforce temp 
+0x7ddf 041782 lshift queue ,pdata 
+0x7de0 041783 iadd contw ,contw 
+0x7de1 041784 istoret 2 ,contw 
+0x7de2 041785 bpatchx patch32_5 ,mem_patch32 
+0x7de3 041786 rtn 
+:      041788 timer_check_timeout:
+0x7de4 041789 arg 0x800 ,timeup 
+0x7de5 041790 lshift16 timeup ,timeup 
+0x7de6 041791 iadd timeup ,pdata 
+0x7de7 041792 rtn 
+:      041795 timer_reinit:
+0x7de8 041796 arg 0 ,queue 
+:      041797 timer_check:
+0x7de9 041798 bpatchx patch32_6 ,mem_patch32 
+0x7dea 041799 fetcht 4 ,mem_last_clkn 
+0x7deb 041800 rshift clkn_bt ,pdata 
+0x7dec 041801 store 4 ,mem_last_clkn 
+0x7ded 041802 isub temp ,null 
+0x7dee 041803 ncall timer_check_timeout ,positive 
+0x7def 041804 isub temp ,timeup 
+0x7df0 041805 copy timeup ,temp 
+0x7df1 041806 arg mem_timers ,contr 
+0x7df2 041807 copy contr ,contw 
+0x7df3 041808 arg 16 ,loopcnt 
+:      041809 timer_loop:
+0x7df4 041810 ifetch 2 ,contr 
+0x7df5 041811 isub temp ,pdata 
+0x7df6 041812 branch timer_counting ,positive 
+0x7df7 041813 force 0 ,pdata 
+:      041814 timer_counting:
+0x7df8 041815 istore 2 ,contw 
+0x7df9 041816 loop timer_loop 
+0x7dfa 041817 arg mem_timers ,contr 
+0x7dfb 041818 lshift queue ,pdata 
+0x7dfc 041819 iadd contr ,contr 
+0x7dfd 041820 ifetch 2 ,contr 
+0x7dfe 041821 rtn 
+:      041826 clk_add:
+0x7dff 041827 iadd temp ,temp 
+0x7e00 041828 copy temp ,loopcnt 
+0x7e01 041829 fetch 2 ,mem_param_rt_rthalfslot 
+0x7e02 041830 isub loopcnt ,pdata 
+0x7e03 041831 rtn positive 
+0x7e04 041832 sub pdata ,0 ,pdata 
+0x7e05 041833 rshift16 temp ,temp 
+0x7e06 041834 increase 1 ,temp 
+0x7e07 041835 lshift16 temp ,temp 
+0x7e08 041836 ior temp ,temp 
+0x7e09 041837 rtn 
+:      041839 clk_diff_rt:
+0x7e0a 041840 call clk_diff 
+0x7e0b 041841 branch clk2rt 
+:      041844 clk_diff:
+0x7e0c 041845 disable user 
+0x7e0d 041846 isub temp ,pdata 
+0x7e0e 041847 branch clk_diff_pos ,positive 
+0x7e0f 041848 enable user 
+0x7e10 041849 sub pdata ,0 ,pdata 
+:      041850 clk_diff_pos:
+0x7e11 041851 rtnbit0 15 
+0x7e12 041852 copy pdata ,regab 
+0x7e13 041853 arg 0x10000 ,temp 
+0x7e14 041854 fetch 2 ,mem_param_rt_rthalfslot 
+0x7e15 041855 isub temp ,pdata 
+0x7e16 041856 iadd regab ,pdata 
+0x7e17 041857 set0 64 ,pdata 
+0x7e18 041858 rtn 
+:      041862 clk2rt:
+0x7e19 041863 fetcht 2 ,mem_param_rt_rthalfslot 
+0x7e1a 041864 iforce contr 
+0x7e1b 041865 rshift16 pdata ,pdata 
+0x7e1c 041866 imul32 temp ,pdata 
+0x7e1d 041867 iadd contr ,pdata 
+0x7e1e 041868 rtn 
+:      041871 clk2lpo:
+0x7e1f 041872 lshift8 pdata ,pdata 
+0x7e20 041873 lshift4 pdata ,pdata 
+0x7e21 041874 fetcht 3 ,mem_clks_per_lpo 
+0x7e22 041875 idiv temp 
+0x7e23 041876 call wait_div_end 
+0x7e24 041877 quotient temp 
+0x7e25 041878 rtn 
+:      041881 clk2bt:
+0x7e26 041882 fetcht 2 ,mem_param_rt_rthalfslot 
+0x7e27 041883 idiv temp 
+0x7e28 041884 call get_div_result 
+0x7e29 041885 lshift16 pdata ,pdata 
+0x7e2a 041886 remainder temp 
+0x7e2b 041887 ior temp ,temp 
+0x7e2c 041888 rtn 
+:      041895 string2dec_from_uart:
+0x7e2d 041896 arg 0 ,temp 
+:      041897 string2dec_from_uart_done:
+0x7e2e 041898 copy temp ,regab 
+0x7e2f 041899 ifetch 1 ,contu 
+0x7e30 041900 call uchar2dialog 
+0x7e31 041901 copy regab ,temp 
+0x7e32 041902 call swap 
+0x7e33 041903 arg 10 ,regb 
+0x7e34 041904 imul32 regb ,pdata 
+0x7e35 041905 iadd temp ,pdata 
+0x7e36 041906 copy pdata ,temp 
+0x7e37 041907 loop string2dec_from_uart_done 
+0x7e38 041908 rtn 
+:      041912 uchar2dialog:
+0x7e39 041913 arg 0x3a ,temp 
+0x7e3a 041914 isub temp ,null 
+0x7e3b 041915 nbranch uchar2dialog_number ,positive 
+0x7e3c 041916 arg 0x61 ,temp 
+0x7e3d 041917 isub temp ,null 
+0x7e3e 041918 branch uchar2dialog_a2f ,positive 
+0x7e3f 041919 arg 0x37 ,temp 
+0x7e40 041920 isub temp ,pdata 
+0x7e41 041921 rtn 
+:      041922 uchar2dialog_number:
+0x7e42 041923 arg 0x30 ,temp 
+0x7e43 041924 isub temp ,pdata 
+0x7e44 041925 rtn 
+:      041926 uchar2dialog_a2f:
+0x7e45 041927 arg 0x57 ,temp 
+0x7e46 041928 isub temp ,pdata 
+0x7e47 041929 rtn 
+:      041931 pn9:
+0x7e48 041932 copy temp ,alarm 
+0x7e49 041933 setarg 0x1ff 
+0x7e4a 041934 force 0 ,regb 
+:      041935 pn9_loop:
+0x7e4b 041936 rshift3 pdata ,rega 
+0x7e4c 041937 rshift rega ,rega 
+0x7e4d 041938 ixor rega ,rega 
+0x7e4e 041939 isolate1 0 ,rega 
+0x7e4f 041940 setflag true ,9 ,pdata 
+0x7e50 041941 rshift temp ,temp 
+0x7e51 041942 isolate1 0 ,pdata 
+0x7e52 041943 setflag true ,7 ,temp 
+0x7e53 041944 rshift pdata ,pdata 
+0x7e54 041945 increase 1 ,regb 
+0x7e55 041946 compare 0 ,regb ,0x7 
+0x7e56 041947 nbranch pn9_loop ,true 
+0x7e57 041948 istoret 1 ,contw 
+0x7e58 041949 loop pn9_loop 
+0x7e59 041950 copy alarm ,temp 
+0x7e5a 041951 rtn 
+:      041954 calc_average:
+0x7e5b 041955 setarg 0 
+0x7e5c 041956 copy loopcnt ,rega 
+:      041957 calc_average_loop:
+0x7e5d 041958 ifetcht 2 ,contr 
+0x7e5e 041959 iadd temp ,pdata 
+0x7e5f 041960 loop calc_average_loop 
+0x7e60 041961 idiv rega 
+:      041963 get_div_result:
+0x7e61 041964 call wait_div_end 
+0x7e62 041965 quotient pdata 
+0x7e63 041966 rtn 
+:      041968 wait_div_end:
+0x7e64 041969 rtn modone 
+0x7e65 041970 branch wait_div_end 
+:      041980 compare_loop:
+:      041981 string_compare:
+0x7e66 041982 ifetch 1 ,rega 
+0x7e67 041983 ifetcht 1 ,regb 
+0x7e68 041984 isub temp ,null 
+0x7e69 041985 nrtn zero 
+0x7e6a 041986 increase 1 ,rega 
+0x7e6b 041987 increase 1 ,regb 
+0x7e6c 041988 loop string_compare 
+0x7e6d 041989 force 0 ,null 
+0x7e6e 041990 rtn 
+:      041993 ceiling:
+0x7e6f 041994 isub temp ,null 
+0x7e70 041995 nrtn positive 
+0x7e71 041996 deposit temp 
+0x7e72 041997 rtn 
+:      041999 swap:
+0x7e73 042000 iadd temp ,pdata 
+0x7e74 042001 isub temp ,temp 
+0x7e75 042002 isub temp ,pdata 
+0x7e76 042003 rtn 
+:      042005 clean_mem:
+0x7e77 042006 arg 0x200 ,loopcnt 
+0x7e78 042007 arg 0x4000 ,contw 
+0x7e79 042008 branch memset0 
+:      042011 callback_func:
+0x7e7a 042012 rtn blank 
+0x7e7b 042013 copy pdata ,pc 
+:      042016 wait_uarttx:
+0x7e7c 042017 fetch 2 ,core_uart_txitems 
+0x7e7d 042018 nbranch wait_uarttx ,blank 
+0x7e7e 042019 rtn 
+:      042021 ice_break:
+0x7e7f 042022 jam 0x1 ,core_ice_ctrl 
+0x7e80 042023 rtn 
+:      042025 ice_setbp:
+0x7e81 042026 store 2 ,core_ice_break0 
+0x7e82 042027 fetch 1 ,core_ice_ctrl 
+0x7e83 042028 set1 4 ,pdata 
+0x7e84 042029 store 1 ,core_ice_ctrl 
+0x7e85 042030 rtn 
+:      042031 ice_setbp2:
+0x7e86 042032 store 2 ,core_ice_break1 
+0x7e87 042033 fetch 1 ,core_ice_ctrl 
+0x7e88 042034 set1 6 ,pdata 
+0x7e89 042035 store 1 ,core_ice_ctrl 
+0x7e8a 042036 rtn 
+:      042038 ice_set_write_bp:
+0x7e8b 042039 store 2 ,core_ice_break0 
+0x7e8c 042040 jam 0x30 ,core_ice_ctrl 
+0x7e8d 042041 rtn 
+:      042044 test_enable_white:
+0x7e8e 042045 fetch 1 ,core_config 
+0x7e8f 042046 set0 whiteoff_bit ,pdata 
+0x7e90 042047 store 1 ,core_config 
+0x7e91 042048 rtn 
+:      042050 check_uart_tx_buff:
+0x7e92 042051 fetch 2 ,core_uart_txitems 
+0x7e93 042052 arg uart_air_control_threshold ,temp 
+:      042053 pdata_sub_temp:
+0x7e94 042054 isub temp ,null 
+0x7e95 042055 rtn 
+:      042061 fifo_in:
+0x7e96 042062 bpatchx patch32_7 ,mem_patch32 
+0x7e97 042063 ifetcht util_fifo_len ,rega 
+0x7e98 042064 and temp ,0xff ,pdata 
+0x7e99 042065 nbranch fifo_in_push ,blank 
+0x7e9a 042066 rshift8 temp ,pdata 
+0x7e9b 042067 istore util_fifo_len ,rega 
+:      042068 fifo_in_push:
+0x7e9c 042069 increase util_fifo_len + util_fifo_offset ,rega 
+0x7e9d 042070 ifetch 1 ,rega 
+0x7e9e 042071 nbranch assert ,blank 
+0x7e9f 042072 fetch 1 ,mem_fifo_temp 
+0x7ea0 042073 istore 1 ,rega 
+0x7ea1 042074 rtn 
+:      042079 fifo_out:
+0x7ea2 042080 bpatchx patch33_0 ,mem_patch33 
+0x7ea3 042081 arg util_fifo_len ,loopcnt 
+0x7ea4 042082 ifetch util_fifo_len ,rega 
+0x7ea5 042083 rtn blank 
+:      042084 fifo_out_loop:
+0x7ea6 042085 ifetch 1 ,rega 
+0x7ea7 042086 nbranch fifo_out_end ,blank 
+0x7ea8 042087 increase 1 ,rega 
+0x7ea9 042088 loop fifo_out_loop 
+0x7eaa 042089 branch assert 
+:      042090 fifo_out_end:
+0x7eab 042091 arg 0 ,temp 
+0x7eac 042092 istoret 1 ,rega 
+0x7ead 042093 rtn 
+:      042098 fifo_is_empty:
+0x7eae 042099 ifetch util_fifo_len ,rega 
+0x7eaf 042100 rtn 
+:      042105 fifo_is_full:
+0x7eb0 042106 ifetch 1 ,rega 
+0x7eb1 042107 rtn 
+:      042110 fifo_is_near_full:
+0x7eb2 042111 ifetch 2 ,rega 
+0x7eb3 042112 rtn 
+:      042116 fifo_content_count:
+0x7eb4 042117 arg 0 ,temp 
+:      042118 fifo_content_count_loop:
+0x7eb5 042119 fetch 1 ,contr 
+0x7eb6 042120 loop fifo_content_count_loop ,blank 
+0x7eb7 042121 increase 1 ,temp 
+0x7eb8 042122 loop fifo_content_count_loop 
+0x7eb9 042123 copy temp ,pdata 
+0x7eba 042124 rtn 
+:      042127 not_greater_than:
+0x7ebb 042128 isub temp ,null 
+0x7ebc 042129 nrtn positive 
+:      042130 copy_temp2pdata:
+0x7ebd 042131 copy temp ,pdata 
+0x7ebe 042132 rtn 
+:      042135 disable_positive:
+0x7ebf 042136 force -1 ,null 
+0x7ec0 042137 rtn 
+:      042138 enable_positive:
+:      042139 disable_zero:
+0x7ec1 042140 force 1 ,null 
+0x7ec2 042141 rtn 
+:      042142 enable_zero:
+0x7ec3 042143 force 0 ,null 
+0x7ec4 042144 rtn 
+:      042146 enable_user:
+0x7ec5 042147 enable user 
+0x7ec6 042148 rtn 
+:      042150 disable_user:
+0x7ec7 042151 disable user 
+0x7ec8 042152 rtn 
+:      042154 enable_user2:
+0x7ec9 042155 enable user2 
+0x7eca 042156 rtn 
+:      042158 disable_user2:
+0x7ecb 042159 disable user2 
+0x7ecc 042160 rtn 
+:      042162 enable_user7:
+0x7ecd 042163 enable user7 
+0x7ece 042164 rtn 
+:      042166 disable_blank:
+0x7ecf 042167 setarg 1 
+0x7ed0 042168 rtn 
+:      042170 enable_blank:
+:      042171 set_pdata_0:
+0x7ed1 042172 setarg 0 
+0x7ed2 042173 rtn 
+:      042177 cal_sum:
+0x7ed3 042178 sub loopcnt ,0 ,null 
+0x7ed4 042179 rtn zero 
+:      042180 cal_sum_loop:
+0x7ed5 042181 ifetcht 1 ,contr 
+0x7ed6 042182 iadd temp ,pdata 
+0x7ed7 042183 loop cal_sum_loop 
+0x7ed8 042184 rtn 
+:      042187 reverse_byte:
+0x7ed9 042188 copy loopcnt ,pdata 
+0x7eda 042189 rtn blank 
+0x7edb 042190 copy contr ,pdata 
+0x7edc 042191 iadd loopcnt ,pdata 
+0x7edd 042192 increase -1 ,pdata 
+0x7ede 042193 copy pdata ,contr 
+:      042194 reverse_loop:
+0x7edf 042195 ifetch 1 ,contr 
+0x7ee0 042196 increase -2 ,contr 
+0x7ee1 042197 istore 1 ,contw 
+0x7ee2 042198 loop reverse_loop 
+0x7ee3 042199 rtn 
+:      042201 calc_k12:
+0x7ee4 042202 copy timeup ,regb 
+:      042205 calc_k:
+0x7ee5 042206 arg mem_local_sig ,regc 
+0x7ee6 042207 force 36 ,loopcnt 
+0x7ee7 042208 force 0 ,rege 
+0x7ee8 042209 force 0 ,regf 
+:      042210 rxcal_k1_loop:
+0x7ee9 042211 call complex_mult16to8 
+0x7eea 042212 preload rega 
+0x7eeb 042213 iadd rege ,rege 
+0x7eec 042214 preload temp 
+0x7eed 042215 iadd regf ,regf 
+0x7eee 042216 increase 4 ,regb 
+0x7eef 042217 increase 2 ,regc 
+0x7ef0 042218 loop rxcal_k1_loop 
+0x7ef1 042219 preload rege 
+0x7ef2 042220 arg 36 ,temp 
+0x7ef3 042221 call signed_div 
+0x7ef4 042222 istore 4 ,contw 
+0x7ef5 042223 preload regf 
+0x7ef6 042224 call signed_div 
+0x7ef7 042225 istore 4 ,contw 
+0x7ef8 042226 rtn 
+:      042229 complex_mult16to8:
+0x7ef9 042230 ifetchr nap ,2 ,regb 
+0x7efa 042231 ifetchr fhs_misc ,1 ,regc 
+0x7efb 042232 call signed_ext16by8 
+0x7efc 042233 imults temp ,rega 
+0x7efd 042234 ifetchr fhs_misc ,1 ,contr 
+0x7efe 042235 branch complex_not_conj ,user 
+0x7eff 042236 sub fhs_misc ,0 ,fhs_misc 
+:      042237 complex_not_conj:
+0x7f00 042238 add regb ,2 ,contr 
+0x7f01 042239 ifetchr nap ,2 ,contr 
+0x7f02 042240 call signed_ext16by8 
+0x7f03 042241 imults temp ,regd 
+0x7f04 042242 preload rega 
+0x7f05 042243 isub regd ,rega 
+0x7f06 042244 ifetchr nap ,2 ,regb 
+0x7f07 042245 preload nap 
+0x7f08 042246 imults temp ,regd 
+0x7f09 042247 ifetchr nap ,2 ,contr 
+0x7f0a 042248 ifetchr fhs_misc ,1 ,regc 
+0x7f0b 042249 call signed_ext16by8 
+0x7f0c 042250 imults temp ,temp 
+0x7f0d 042251 preload regd 
+0x7f0e 042252 iadd temp ,temp 
+0x7f0f 042253 rtn 
+:      042256 complex_mult32to32:
+0x7f10 042257 ifetch 4 ,regb 
+0x7f11 042258 ifetchr rega ,4 ,regc 
+0x7f12 042259 imults rega ,rege 
+0x7f13 042260 ifetchr rega ,4 ,contr 
+0x7f14 042261 aligned rega ,regf 
+0x7f15 042262 add regb ,4 ,contr 
+0x7f16 042263 ifetch 4 ,contr 
+0x7f17 042264 imults rega ,temp 
+0x7f18 042265 preload rege 
+0x7f19 042266 isub temp ,rege 
+0x7f1a 042267 ifetch 4 ,regb 
+0x7f1b 042268 imults regf ,regf 
+0x7f1c 042269 ifetch 4 ,contr 
+0x7f1d 042270 ifetchr rega ,4 ,regc 
+0x7f1e 042271 imults rega ,pdata 
+0x7f1f 042272 iadd regf ,regf 
+0x7f20 042273 rtn 
+:      042276 lshift14:
+0x7f21 042277 lshift16 pdata ,pdata 
+:      042278 rshift2:
+0x7f22 042279 rshift2 pdata ,pdata 
+0x7f23 042280 rtn 
+:      042282 lshift6:
+0x7f24 042283 lshift8 pdata ,pdata 
+0x7f25 042284 branch rshift2 
+:      042286 calc_vok:
+0x7f26 042287 imul32 pdata ,pdata 
+:      042288 rshift7:
+0x7f27 042289 rshift4 pdata ,pdata 
+0x7f28 042290 rshift3 pdata ,pdata 
+0x7f29 042291 rtn 
+:      042295 signed_ext16by8:
+0x7f2a 042296 preload nap 
+0x7f2b 042297 aligned fhs_misc ,temp 
+0x7f2c 042298 rtn 
+:      042301 abs32:
+0x7f2d 042302 rtnbit0 31 
+0x7f2e 042303 force 0 ,temp 
+0x7f2f 042304 set1 32 ,temp 
+0x7f30 042305 increase -1 ,temp 
+0x7f31 042306 ixor temp ,pdata 
+0x7f32 042307 pincrease 1 
+0x7f33 042308 rtn 
+:      042311 sqrt:
+0x7f34 042312 iforce rega 
+0x7f35 042313 arg 0 ,regd 
+0x7f36 042314 set1 30 ,regd 
+0x7f37 042315 arg 0 ,regb 
+0x7f38 042316 arg 16 ,loopcnt 
+:      042317 sqrt_loop:
+0x7f39 042318 deposit regd 
+0x7f3a 042319 iadd regb ,pdata 
+0x7f3b 042320 rshift regb ,regb 
+0x7f3c 042321 isub rega ,pdata 
+0x7f3d 042322 branch sqrt_less ,zero 
+0x7f3e 042323 branch sqrt_greater ,positive 
+:      042324 sqrt_less:
+0x7f3f 042325 sub pdata ,0 ,rega 
+0x7f40 042326 deposit regd 
+0x7f41 042327 ior regb ,regb 
+:      042328 sqrt_greater:
+0x7f42 042329 rshift2 regd ,regd 
+0x7f43 042330 loop sqrt_loop 
+0x7f44 042331 rtn 
+:      042334 signed_div:
+0x7f45 042335 set0 mark_temp ,mark 
+0x7f46 042336 bbit0 63 ,signed_div_unsigna 
+0x7f47 042337 set1 mark_temp ,mark 
+0x7f48 042338 sub pdata ,0 ,pdata 
+:      042339 signed_div_unsigna:
+0x7f49 042340 isolate0 63 ,temp 
+0x7f4a 042341 branch signed_div_unsignb ,true 
+0x7f4b 042342 setflip mark_temp ,mark 
+0x7f4c 042343 sub temp ,0 ,temp 
+:      042344 signed_div_unsignb:
+0x7f4d 042345 idiv temp 
+0x7f4e 042346 call get_div_result 
+0x7f4f 042347 rtnmark0 mark_temp 
+0x7f50 042348 sub pdata ,0 ,pdata 
+0x7f51 042349 rtn 
+:      042353 clear_wake:
+0x7f52 042354 setarg 0 
+0x7f53 042355 set1 19 ,pdata 
+0x7f54 042356 store 8 ,mem_gpio_wakeup_low 
+0x7f55 042357 rtn 
Index: output/bt_program23.meta
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/output/bt_program23.meta	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/output/bt_program23.meta	(working copy)
@@ -0,0 +1,42361 @@
+define FPGA
+define ROMCODE
+define PATCH
+//define RAM_VERSION
+//define CLK24M
+//define ACL_DEBUG
+define SECURE_CONNECTION
+define DEBUG_RF_INIT
+
+define SIMPLE_PAIRING
+define COMPILE_RFCOMM
+define COMPILE_SHUTTER
+define COMPILE_ANTILOST
+define COMPILE_MOUSE
+define COMPILE_MODULE
+define COMPILE_USB
+define COMPILE_DONGLE
+define COMPILE_LE
+define COMPILE_24G
+define COMPILE_CAR
+define COMPILE_REMOTE_CAR
+//define COMPILE_SIM_API
+//define COMPILE_ESL
+//define COMPILE_WECHAT
+//define COMPLIE_TEST
+//define COMPLIE_TEST_CODE
+INCLUDE "bt_format"
+
+org 0x0000		// start from patch ram address start
+
+//	bbit1 8,pf_patch_ext
+	beq patch00_0,p_soft_reset
+	beq patch11_3,p_initialize_radio_cont
+	//beq patch13_7,p_init_param
+	//beq patch15_6,p_app_init
+	beq patch1c_6,p_shutter_init
+	branch loop
+
+//pf_patch_ext:
+//	beq patch36_1,p_le_receive_on_attempt
+//	branch loop
+
+p_soft_reset:
+	clear_stack
+	call p_app_param_init
+	branch soft_reset+3
+
+p_app_param_init:
+	call app_param_init
+	fetch 1,mem_device_option
+	beq dvc_op_shutter,p_shutter_default_init
+	rtn
+p_shutter_default_init:
+	setarg 0x0640
+	store 2,mem_ble_shutter_reconn_adv_interval
+	setarg 0x0640
+	store 2,mem_ble_shutter_discovery_adv_interval
+
+	rtn wake
+	//setarg mem_shutter_le_att_list
+	//store 2,mem_ui_le_uuid_table
+
+	setarg 0x0002
+	store 2,mem_key0_press
+	store 2,mem_key1_press
+	setarg 0x010210
+	store 3,mem_le_pres_max_keysize
+	rtn
+
+p_shutter_init:
+	call shutter_load_buffer_config_form_DataRom
+	fetch 1, mem_shutter_hard_soft_switch_case
+	beq HARD_SWITCH, shutter_hart_swtich_power_on
+	fetch 1,mem_shutter_soft_switch_button_gpio
+	store 1,mem_ui_button_gpio
+//	branch p_ui_soft_swtich_init
+p_ui_soft_swtich_init:
+	setarg SS_STATE_POWER_UP
+	call ui_soft_swtich_init_power_on_time
+	jam UI_BUTTON_STATE_UP,mem_ui_button_last_state
+	call ui_button_init
+	call ui_button_polling
+	fetch 1,mem_wakup_from_power_flag
+	bbit0 2,ui_soft_switch_power_on
+	branch ui_soft_swtich_init+5
+
+
+
+p_initialize_radio_cont:
+	call enable_authrom
+	jam 0x04,mem_ble_shutter_discovery_timeout+1
+	jam 0x0b,mem_ble_shutter_connect_timeout+1
+	jam 0x0b,core_rf_ldo_cfg2	//rx fail patch
+	jam 0x05,core_rf_ldo_cfg3
+	jam 0x90,core_syn_pfd_lkd_cfg
+	branch initialize_radio_cont+1
+
+
+
+	
+
+
+
+
+
+org 0x800		// start from rom address start
+start:
+	call lpmstate
+
+soft_reset:
+	bpatch patch00_0,mem_patch00
+	clear_stack
+	call app_param_init
+	call initialize_radio
+	call iic_init_360khz
+	call init_param
+	call l2cap_init
+	bpatch patch00_1,mem_patch00
+	call rfcomm_init
+	call init_lmp
+	call ui_init
+	call app_init
+	bpatch patch00_2,mem_patch00
+	call app_lpm_init,wake
+	call publickey_init
+	call sp_wait_pubkey_calc_done
+	call lpm_recover_clk,wake
+main_loop:	
+	bpatch patch00_3,mem_patch00
+	call sp_calc_sequence
+	call sp_calc_sequence_256
+	call sp_calc_sequence_256_check
+	call le_advertising_dispatch
+	call idle_dispatch
+	call app_process_idle
+	bpatch patch00_4,mem_patch00
+	call inquiry_dispatch
+	call inquiry_scan_dispatch
+	call page_scan_dispatch
+	call connection_dispatch
+	call g24_dispatch
+	call lpm_dispatch
+	branch main_loop
+
+connection_dispatch:
+	call connection_incontext
+	rtnmark0 mark_context
+	set0 mark_context,mark
+	call context_save
+	branch le_disable
+	
+connection_incontext:
+	bpatch patch00_5,mem_patch00
+	call context_search_insniff
+	nbranch connection_nosniff,zero
+	call context_load
+	add rega,coffset_mode,contr
+	ifetch 1,contr
+	bbit1 mode_le,le_conn_dispatch
+	bbit1 mode_master, master_dispatch
+	branch slave_dispatch
+connection_nosniff:
+	call context_get_next
+	copy loopcnt,null
+	rtn zero
+	call context_load
+	fetch 1,mem_state
+	bbit1 state_inpage,master_page
+	fetch 1,mem_mode
+	bbit1 mode_master, master_dispatch
+	branch slave_dispatch
+
+
+
+
+
+
+	
+idle_dispatch:
+	fetch 1,mem_hci_cmd
+	rtn blank
+	beq hci_cmd_inquiry,idle_inquiry
+	beq hci_cmd_inquiry_cancel,idle_inquiry_cancel
+	beq hci_cmd_remote_name_req,idle_remote_name_req
+	beq hci_cmd_create_conn,idle_create_conn
+	beq hci_cmd_le_create_conn,idle_le_create_conn
+	call context_search_conn_handle
+	rtn zero
+	call context_search_plap
+	rtn zero
+idle_exit:
+	jam 0,mem_hci_cmd
+	rtn
+
+idle_le_create_conn:
+	jam hci_cmd_le_create_conn,mem_cmd_le_create_conn
+	jam 0,mem_hci_cmd
+	rtn
+	
+idle_inquiry:
+	set1 mark_inquiry_on,mark
+	set0 mark_inquiry_trainb,mark
+	jam param_ninquiry,mem_ninqy_index
+	jam 31,mem_nfreq_index_inq
+	branch idle_exit
+
+idle_inquiry_cancel:
+	set0 mark_inquiry_on,mark
+	force 0,stop_watch
+	branch idle_exit
+
+idle_remote_name_req:
+	call context_search_plap
+	rtn zero
+	force LMP_NAME_REQ,temp
+	jam 5,mem_nameres_cnt
+	branch idle_start_page
+
+idle_create_conn:
+	bpatch patch00_6,mem_patch00
+idle_create_conn_device:
+	fetch 6,mem_hci_plap
+//	branch idle_exit,blank
+	nop 1
+	jam RECONNECT_HID,memui_reconnect_mode
+	//jam HS_INIT_CALL,mem_hs_mode //init as master
+	jam CONN_SM_WAIT_FEATURES_RES,mem_conn_sm
+	branch idle_create_conn_cont
+	
+idle_create_conn_cont:
+	force LMP_VERSION_REQ,temp
+idle_start_page:
+	bpatch patch00_7,mem_patch00
+	fetch 1,mem_page_mode
+	branch idle_page_mode_r0,blank
+	lshift3 pdata,pdata
+	lshift4 pdata,pdata
+	increase -1,pdata
+idle_page_mode_r0:
+	store 1,mem_npage
+	store 1,mem_npage_index
+	jam 31,mem_nfreq_index_page
+	set0 mark_page_trainb,mark
+	call context_new
+	nbranch idle_page_fail,zero
+	call get_free_amaddr
+	store 1,mem_amaddr
+	storet 1,mem_lmo_opcode2
+	fetch 6,mem_hci_plap
+	store 6,mem_plap
+	bpatch patch01_0,mem_patch01
+	call timer_reinit
+	fetcht 1,mem_lmo_opcode2
+	force 0,pdata
+	compare LMP_NAME_REQ,temp,0xff
+	nsetflag true,state_init_seq,pdata
+	set1 state_inpage,pdata
+	store 1,mem_state
+	jam BT_EVT_RECONN_STARTED,mem_fifo_temp
+	call ui_ipc_send_event
+	force 0,pdata
+	setflag true,smap_name_req,pdata
+	store 1,mem_state_map
+	setarg 0
+	set1 mode_master,pdata
+	store 1,mem_mode
+	enable master
+	call context_save
+	disable master
+	force page_length_timer,queue
+	fetch 2,mem_page_to
+	call timer_init
+	branch idle_exit
+idle_page_fail:
+	bpatch patch01_1,mem_patch01
+	fetch 6,mem_hci_plap
+	store 6,mem_plap
+	compare LMP_NAME_REQ,temp,0xff
+	branch idle_name_fail,true
+	branch idle_exit
+idle_name_fail:
+	arg mem_tmp_buffer,contw
+	arg 8,loopcnt
+	call memset0
+	jam BT_EVT_RECONN_FAILED,mem_fifo_temp
+	call ui_ipc_send_event
+	branch idle_exit
+	
+
+
+
+
+
+inquiry_dispatch:
+	rtnmark0 mark_inquiry_on
+	force inquiry_length_timer,queue
+	call timer_check
+	nsetflag blank,mark_inquiry_on,mark
+	nbranch inquiry_start,blank
+	rtn
+	
+
+
+inquiry_start:
+	bpatch patch01_2,mem_patch01
+	fetcht 2,mem_inq_window
+	force 4,queue
+	call sniff_check_window
+	rtn user
+	call afh_clear
+	force 0,freq_mode
+inquiry_restart:
+	rtn timeout
+	set0 mark_fhs_already_good,mark
+	set0 mark_fhs_eir,mark
+inquiry_rx_restart:
+	add clkn_bt,1,bt_clk
+	isolate1 mark_inquiry_trainb,mark
+	setflag true,2,freq_mode
+	compare 0x00,bt_clk,0x02      
+	nbranch inquiry_receive,true
+
+inquiry_transmit:
+	bpatch patch01_3,mem_patch01
+	fetch 1,mem_inquiry_transmit
+	increase 1,pdata
+	store 1,mem_inquiry_transmit
+	call fetch_giac
+	call tx_radio_freq
+	call fetch_diac
+	call start_transmitter	
+	call start_tx_native
+	call send_access_word
+	call end_of_packet
+	call inquiry_check_train
+	branch inquiry_restart
+
+inquiry_check_train:
+	bpatch patch01_4,mem_patch01
+	fetch 1,mem_nfreq_index_inq
+	increase -1,pdata
+	store 1,mem_nfreq_index_inq
+	rtn positive  
+	jam 31,mem_nfreq_index_inq
+	fetch 1,mem_ninqy_index
+	increase -1,pdata
+	store 1,mem_ninqy_index
+	rtn positive      
+	setflip mark_inquiry_trainb,mark
+	jam param_ninquiry,mem_ninqy_index
+	rtn
+
+inquiry_receive:
+	bpatch patch01_5,mem_patch01
+	call fetch_giac
+	call rx_radio_freq
+	call fetch_diac
+	call start_rx_native
+	call start_receiver	
+	call wait_access_clkn_rt
+	branch inquiry_sync,sync   
+	call inquiry_check_train
+	branch inquiry_rx_restart
+inquiry_sync:
+	bpatch patch01_6,mem_patch01
+	call save_rssi
+	call scan_mode_whiten
+	call receive_packet_whitened
+	set0 mark_rxbuf_inuse,mark
+	rtnmark0 mark_fhs_already_good
+inquiry_receive_rtn:
+inquiry_receive_eir_rtn:
+	fetch 1,mem_inquiry_rcv
+	increase 1,pdata
+	store 1,mem_inquiry_rcv
+	rtn
+		
+
+
+
+
+
+
+master_page:
+	bpatch patch01_7,mem_patch01
+	enable master
+	enable clknt
+	fetch 2,mem_page_interval
+	branch master_page_no_interval,blank
+	force page_interval_timer,queue
+	call timer_check               
+	nrtn blank
+master_page_no_interval:
+	bpatch patch02_0,mem_patch02
+	fetcht 2,mem_page_window
+	force 40,queue
+	call sniff_check_window
+	branch page_exit,user
+	force page_length_timer,queue
+	call timer_check
+	nbranch page_start,blank
+	fetch 1,mem_state_map
+	bbit1 smap_name_req,master_npage_timeout
+	branch master_page_timeout
+master_npage_timeout:
+	arg mem_tmp_buffer,contw
+	arg 8,loopcnt
+	call memset0
+master_page_timeout:
+	bpatch patch02_1,mem_patch02
+	jam 0,mem_state
+	call init_lmp_work
+	jam 0,memui_reconnect_mode
+	jam BT_EVT_RECONN_PAGE_TIMEOUT,mem_fifo_temp
+	call ui_ipc_send_event	
+	branch page_exit
+
+page_start:
+	bpatch patch02_2,mem_patch02
+	force 0,timeup
+	until clkn_rt,meet
+	fetch 1,mem_page_clk
+	increase -1,pdata
+	ixor clkn_bt,pdata
+	compare 0,pdata,3
+	nbranch page_start,true
+	deposit am_addr
+	store 1,mem_fhs_am_addr
+	force 0,N_tx_slot
+	force 0,freq_mode
+
+page_restart:
+	bpatch patch02_3,mem_patch02
+	branch page_exit,timeout
+	call fetch_page_bt_adr
+	fetchr timeup,2,mem_param_rf_setup
+	until clkn_rt,meet         
+page_rx_restart:
+	bpatch patch02_4,mem_patch02
+	fetch 4,mem_page_clk    
+	iforce bt_clk
+	increase 1,pdata
+	store 4,mem_page_clk
+	isolate1 mark_page_trainb,mark
+	setflag true,2,freq_mode
+	compare 0x00,bt_clk,0x02      
+	nbranch page_receive,true
+	fetch 1, mem_page_transmit
+	increase 1,pdata
+	store 1, mem_page_transmit
+	call tx_radio_freq
+	call start_transmitter	
+	call start_tx_native
+	call send_access_word
+	call end_of_packet
+	call page_check_train
+	branch page_restart	
+page_exit:
+	bpatch patch02_5,mem_patch02
+	disable master
+	fetch 2,mem_page_interval      
+	rtn blank
+	force page_interval_timer,queue
+	branch timer_init              
+
+page_check_train:
+	bpatch patch02_6,mem_patch02
+	fetch 1,mem_nfreq_index_page
+	increase -1,pdata
+	store 1,mem_nfreq_index_page
+	rtn positive
+	jam 31,mem_nfreq_index_page
+	fetch 1,mem_npage_index
+	increase -1,pdata                 
+	store 1,mem_npage_index
+	rtn positive      			
+	setflip mark_page_trainb,mark             
+	fetch 1,mem_npage
+	store 1,mem_npage_index
+	rtn
+	
+page_receive:
+	bpatch patch02_7,mem_patch02
+	call rx_radio_freq
+	call start_rx_native
+	call start_receiver	
+	call wait_access_clkn_rt	
+	branch page_sync,sync         
+	call page_check_train
+	branch page_rx_restart
+page_sync:
+	call end_of_packet
+	fetch 1, mem_page_rcv
+	increase 1,pdata
+	store 1, mem_page_rcv
+	force 0,stop_watch
+	fetch 4,mem_page_clk
+page_send_fhs:
+	bpatch patch03_0,mem_patch03
+	call rf_setup_time_master_slot
+	call fetch_page_bt_adr
+	increase 1,N_tx_slot
+page_send_fhs_continue:
+	and_into 0x1fd,bt_clk
+	and_into 0x1fc,freq_mode               
+	call tx_radio_freq
+	call start_transmitter	
+	call start_tx_native
+	call send_access_word
+	deposit clkn_bt
+	store 4,mem_clkn_bt
+	force 0,am_addr
+	force type_fhs,type
+	call scan_mode_whiten
+	call transmit_packet_whitened
+page_wait_fhs_reply:
+	bpatch patch03_1,mem_patch03
+	call rf_setup_time_slave_slot
+	or_into 0x02,bt_clk
+	and_into 0x1fc,freq_mode               
+	call rx_radio_freq
+	call start_rx_native
+	call start_receiver	
+	call wait_access_clkn_rt	
+	call end_of_packet,sync              
+	branch page_wait_fhs_reply_ok,sync           
+	fetch 1,mem_fhs_wait_counter
+	branch page_restart,blank
+	increase -1,pdata
+	store 1,mem_fhs_wait_counter
+	branch page_send_fhs
+	
+page_wait_fhs_reply_ok:
+	bpatch patch03_2,mem_patch03
+	fetch 1, mem_page_rcv_fhs
+	increase 1,pdata
+	store 1, mem_page_rcv_fhs
+	call prepare_newconn
+master_newconn_loop:
+	set1 mark_first_packet,mark
+	call master_newconn_once
+	branch newconn_poll_responded,sync
+	set0 mark_first_packet,mark
+	call new_conn_timeout
+	nbranch master_newconn_loop,blank
+	branch page_restart
+
+newconn_poll_responded:
+	bpatch patch03_3,mem_patch03
+	set0 mark_first_packet,mark
+	fetch 1,mem_state
+	set0 state_inpage,pdata
+	store 1,mem_state
+	call newconn_init
+	disable master
+	rtn
+	
+
+master_dispatch:
+	bpatch patch03_4,mem_patch03
+	enable master
+	enable clknt
+	call role_switch_master
+	rtn user
+	call rf_setup_time_master_slot
+	add clkn_bt,1,bt_clk
+	call fetch_self_bt_adr
+	force 0x03,freq_mode
+	call scheduler_tx_l2cap_pkt
+	call prepare_tx
+	call tx_radio_freq
+	call start_transmitter
+	call start_tx_native
+	call send_access_word
+	call transmit_packet
+master_loop:
+	bpatch patch03_5,mem_patch03
+	call parse_lmp
+	call master_conn_recv_packet
+	nbranch master_notmatch,match
+	call supervision_flush
+	call parse_l2cap
+	fetch 1,mem_master_rcvcnt
+	increase 1,pdata
+	store 1,mem_master_rcvcnt
+master_notmatch:
+	bpatch patch03_6,mem_patch03
+	call scheduler_process
+	call check_master_disconnect
+	nrtn master					
+	call check_attempt
+	nbranch master_attempt,blank
+master_exit:
+	disable master
+	rtn
+
+master_attempt:
+	call prepare_tx
+	call master_conn_send_packet
+	branch master_loop
+
+
+check_master_disconnect:
+	branch check_master_match,match
+	call supervision_update
+	branch master_disconnect,positive
+check_master_match:
+	call check_disconnect_timeout
+	nbranch master_disconnect,user
+	fetch 1,mem_state_map
+	rtnbit0 smap_name_req
+	rtnbit1 smap_name_res
+	fetch 1,mem_op
+	rtnbit1 op_disconn
+	call conn_timer_expired
+	nrtn blank
+	fetch 1,mem_nameres_cnt
+	increase -1,pdata
+	store 1,mem_nameres_cnt
+	nrtn blank
+	branch lmp_disconnect
+
+master_disconnect:
+	bpatch patch03_7,mem_patch03
+	call quit_connection
+	disable master
+	fetch 1,mem_state_map
+	bbit1 smap_name_req,master_name_disconnect
+	rtn
+	
+master_name_disconnect:
+	fetch 1,mem_state_map
+	rtnbit1 smap_name_res
+master_name_error:
+	arg mem_tmp_buffer,contw
+	arg 8,loopcnt
+	branch memset0
+	
+check_disconnect_timeout:
+	bpatch patch04_0,mem_patch04
+	enable user
+	fetch 1,mem_op
+	rtnbit0 op_disconn
+	call conn_timer_expired
+	nrtn blank
+	branch disable_user
+
+conn_timer_expired:
+	fetch 1,mem_conn_timer
+	increase -1,pdata
+	store 1,mem_conn_timer
+	rtn
+
+linkkey_ready:
+	bpatch patch04_1,mem_patch04
+	fetch 1,mem_state
+	bbit1 state_linkkey,linkkey_set
+	fetch 1,mem_pairing_auth
+	branch linkkey_set,blank
+	jam DEFALT_PAIRING_AUTH,mem_pairing_auth
+	jam BT_EVT_LINKKEY_GENERATE,mem_fifo_temp
+	call ui_ipc_send_event
+	branch linkkey_set
+linkkey_set:
+	bpatch patch04_2,mem_patch04
+	call context_traverse_linkkey
+	fetch 1,mem_state
+	set1 state_linkkey,pdata
+	store 1,mem_state
+	jam 1,mem_link_key_exists
+	fetch 1,mem_conn_sm
+	bne CONN_SM_PAIRING,linkkey_set_continue
+linkkey_set_continue:
+	rtn
+
+generate_linkkey_continue:
+	jam PAIRING_AUTH,mem_pairing_auth
+clear_linkstate:
+	fetch 1,mem_state
+	set0 state_linkkey,pdata
+	store 1,mem_state
+	rtn
+	
+
+	
+role_switch_check:
+	bpatch patch04_3,mem_patch04
+	disable user
+	fetch 2,mem_tsniff
+	arg 0xffff,temp
+	isub temp,null
+	nrtn zero
+	fetch 4,mem_sniff_anchor
+	branch role_switch_clkn,clknt
+	isub clke_bt,pdata
+	branch role_switch_clke
+role_switch_clkn:
+	isub clkn_bt,pdata
+role_switch_clke:
+	sub pdata,4,null
+	nrtn positive
+	force 0,pdata
+	store 2,mem_tsniff
+	branch enable_user
+
+
+		
+role_switch_prepare:
+	copy pdata,temp
+	storet 4,mem_sniff_anchor
+role_switch_prepare0:
+	bpatch patch04_4,mem_patch04
+	jam SWITCH_FLAG_ACCEPT,mem_switch_flag
+	setarg 0xffff
+	store 2,mem_tsniff
+	jam 1,mem_sniff_attempt
+	rtn
+
+
+role_switch_master:
+	bpatch patch04_5,mem_patch04
+	call role_switch_check
+	nrtn user
+	disable user
+	jam param_newconnto,mem_newconnto_counter
+	set0 mark_fhs_already_good,mark
+	set0 mark_role_switch_receive_fhs,mark
+roles_waitfhs_loop:
+	call rf_setup_time_master_slot
+	call master_recv_packet
+	bmark1 mark_fhs_already_good,roles_replyto_fhs
+	call new_conn_timeout
+	nbranch roles_waitfhs_loop,blank
+	bmark1 mark_role_switch_receive_fhs,roles_replyto_fhs_rcvd
+role_switch_fail_master:
+	bpatch patch04_6,mem_patch04
+	disable user
+	deposit clkn_bt
+	store 4,mem_next_btclk
+	enable clknt
+	enable master
+	jam BT_EVT_SWITCH_FAIL_MASTER,mem_fifo_temp
+	branch ui_ipc_send_event
+	
+roles_replyto_fhs:
+	bpatch patch04_7,mem_patch04
+	call rf_setup_time_slave_slot
+	arg type_id,type
+	call master_send_packet
+	set1 mark_role_switch_receive_fhs,mark
+	set0 mark_fhs_already_good,mark
+	fetch 1,mem_amaddr
+	iforce am_addr	//use current LT_ADDR
+	jam 2,mem_newconnto_counter
+	branch roles_waitfhs_loop
+
+roles_replyto_fhs_rcvd:
+	fetch 4,mem_clke_bt		//wait for 2 fhs,need 2.5ms
+	pincrease 8
+	store 4,mem_clke_bt
+	disable clknt
+	disable master
+	call apply_switch_clke
+	call prepare_newconn
+roles_newconns_loop:
+	bpatch patch05_0,mem_patch05
+	call slave_newconn_once
+	branch roles_newconns_responded,match
+	call new_conn_timeout
+	nbranch roles_newconns_loop,blank
+	branch role_switch_fail_master
+roles_newconns_responded:
+	fetch 1,mem_mode
+	set0 mode_master,pdata
+	store 1,mem_mode
+	call supervision_flush
+	call calc_clke_offset
+	enable user
+	jam BT_EVT_SWITCH_SUCCESS_MASTER,mem_fifo_temp
+	branch ui_ipc_send_event
+
+
+
+
+context_load:
+	bpatch patch05_1,mem_patch05
+	set1 mark_context,mark
+	deposit rega
+	store 2,mem_context_ptr
+	force context_size,loopcnt
+	arg mem_le_state,contw
+	add rega,coffset_mode,contr
+	ifetch 1,contr
+	copy rega,contr
+	bbit1 mode_le,memcpy
+	arg mem_state,contw
+	call memcpy
+	disable attempt
+	fetch 1,mem_amaddr
+	iforce am_addr
+	jam 1,mem_current_sniff_attempt
+	branch context_load_master,master
+	jam 1,mem_current_sniff_attempt
+context_load_master:
+	fetch 1,mem_state
+	rtnbit0 state_insniff
+	fetch 1,mem_sniff_attempt
+	store 1,mem_current_sniff_attempt
+	fetch 1,mem_sniff_timeout
+	store 1,mem_current_sniff_timeout
+	rtn
+	
+context_save:
+	bpatch patch05_2,mem_patch05
+	fetch 2,mem_context_ptr
+	iforce contw
+	force context_size,loopcnt
+	arg mem_le_state,contr
+	branch memcpy,le
+	arg mem_state,contr
+	branch memcpy
+
+	
+
+context_get_next:
+	arg context_num,loopcnt
+	fetcht 1,mem_current_context
+context_get_next_loop:
+	increase 1,temp
+	compare context_num,temp,0xff
+	nbranch context_get_next_cont,true
+	arg 0,temp
+context_get_next_cont:
+	storet 1,mem_current_context
+	mul32 temp,context_size,pdata
+	arg mem_context,rega
+	iadd rega,rega
+	ifetch 1,rega
+	bbit1 state_insniff,context_get_next_sniff
+	rtnbit1 state_inconn
+	rtnbit1 state_inpage
+context_get_next_sniff:
+	loop context_get_next_loop
+	rtn
+	
+context_new:
+	bpatch patch05_3,mem_patch05
+	arg context_search_empty,regc
+	call context_search
+	nrtn zero					// all occupied
+	deposit rega
+	store 2,mem_context_ptr
+	force 0,null
+	rtn
+	
+	//return zero if anyone's wack is 1.
+	//return nzero if all wack is 0
+context_check_all_wack:
+	call check_esco_amaddr
+	branch context_check_esco_wack,true
+	fetch 2,mem_context_ptr
+	add pdata,coffset_arq,contw
+	fetch 1,mem_arq
+	istore 1,contw
+	arg context_check_a_wack,regc
+	branch context_search
+
+context_check_esco_wack:
+	fetch 1,mem_arq
+	isolate1 wack,pdata
+	branch context_esco_wack,true
+	force 1,null
+	rtn
+context_esco_wack:
+	force 0,null
+	rtn
+	
+	//rtn nzero if idle(no conn)
+context_check_idle:
+	arg context_check_inconn,regc
+	branch context_search
+	
+context_traverse_linkkey:
+	fetcht 2,mem_context_ptr
+	arg context_traverse_clearkey,regc
+	branch context_search
+	
+	
+	
+context_search_conn_handle:
+	fetcht 1,mem_hci_conn_handle
+context_search_conn_handle2:
+	arg context_search_handle,regc
+	branch context_search
+	
+context_search_plap:
+	bpatch patch05_4,mem_patch05
+	fetcht 6,mem_hci_plap
+context_search_plap2:
+	arg context_search_lap,regc
+	branch context_search
+	
+context_search_insniff:
+	arg context_search_sniff,regc
+	branch context_search
+	
+context_search_sniff_window:
+	arg context_search_window,regc
+context_search:
+	bpatch patch05_5,mem_patch05
+	arg mem_context,rega
+	arg context_num,loopcnt
+context_search_loop:
+	ifetch 1,rega
+	copy regc,pc
+context_search_next:
+	increase context_size,rega
+	loop context_search_loop
+	force 1,null
+	rtn
+
+context_search_empty:
+	bbit1 state_inconn,context_search_next
+	bbit1 state_inpage,context_search_next
+	force 0,null
+	rtn
+	
+context_search_lap:
+	bbit1 state_inpage,context_search_lap_cont
+	bbit0 state_inconn,context_search_next
+context_search_lap_cont:
+	add rega,coffset_plap,contr
+	ifetch 6,contr
+	isub temp,null
+	rtn zero
+	branch context_search_next
+
+context_search_handle:
+	bbit0 state_inconn,context_search_next
+	add rega,coffset_conn_handle,contr
+	ifetch 1,contr
+	isub temp,null
+	rtn zero
+	branch context_search_next
+
+context_search_sniff:
+	bbit0 state_insniff,context_search_next
+context_search_sniff_loop:
+	call context_get_anchor
+	call sign_pdata_temp
+	isub temp,pdata
+	increase 1,pdata
+	branch context_search_sniff_miss,positive
+	copy contr,regb
+	store 9,mem_temp
+	fetch 1,mem_sc_calc
+	nbranch context_search_sniff_sc,blank
+	fetch 9,mem_temp
+	copy regb,contr
+	increase 5,pdata  
+	branch context_search_meet1
+context_search_sniff_sc:
+	fetch 9,mem_temp
+	copy regb,contr	
+	increase 20,pdata  
+context_search_meet1:
+	nbranch context_search_next,positive
+context_search_meet:
+	copy temp,bt_clk
+	call context_next_anchor
+	force 0,null
+	rtn
+	
+	
+context_search_sniff_miss:
+	iforce regb
+	add rega,coffset_tsniff,contr
+	ifetch 2,contr
+	branch context_search_meet,blank
+	call context_next_anchor
+	branch context_search_sniff_loop
+
+sign_pdata_temp:
+	rshift16 pdata,timeup    
+	rshift8 timeup,timeup    
+	branch sign_pdata_temp_p0,zero    
+	compare 0xf,timeup,0xf    
+	nrtn true    
+	rshift16 temp,timeup    
+	rshift8 timeup,timeup    
+	nrtn zero    
+	set1 28,temp    
+	rtn
+sign_pdata_temp_p0:    
+	rshift16 temp,timeup    
+	rshift8 timeup,timeup    
+	compare 0xf,timeup,0xf    
+	nrtn true    
+	set1 28,pdata    
+	rtn
+
+context_check_inconn:
+	bbit0 state_inconn,context_search_next
+	force 0,null 				// found
+	rtn
+	
+context_check_a_wack:
+	bbit0 state_inconn,context_search_next
+	add rega,coffset_mode,contr
+	ifetch 1,contr
+	bbit1 mode_le,context_search_next
+	add rega,coffset_arq,contr
+	ifetch 1,contr
+	bbit0 wack,context_search_next
+	force 0,null 				// found
+	rtn
+
+context_get_anchor:
+	add rega,coffset_mode,contr
+	ifetcht 1,contr
+	deposit clkn_bt
+	isolate1 mode_master,temp
+	add rega,coffset_sniff_anchor,contr
+	ifetcht 4,contr
+	rtn true
+	add rega,coffset_clk_offset,contr
+	ifetch 6,contr
+	call calc_clke2
+	deposit clke_bt
+	rtn
+
+context_next_anchor:
+	add rega,coffset_tsniff,contr
+	add rega,coffset_sniff_anchor,contw
+	ifetch 2,contr
+	iadd temp,timeup			
+	deposit timeup
+	istore 4,contw
+	branch le_context_nextevent
+	
+
+context_search_window:
+	bbit0 state_insniff,context_search_next
+	call context_get_anchor
+	iadd stop_watch,pdata
+	iadd stop_watch,pdata
+	iadd queue,pdata
+	isub temp,null
+	nbranch context_search_next,positive
+	force 0,null
+	rtn
+
+context_traverse_clearkey:
+	bbit0 state_inconn,context_search_next
+	deposit temp
+	isub rega,null
+	branch context_search_next,null
+	add rega,coffset_mode,contr
+	ifetch 1,contr
+	bbit1 mode_le,context_search_next
+	ifetch 1,rega
+	set0 state_linkkey,pdata
+	istore 1,rega
+	branch context_search_next
+
+	
+master_conn_send_packet:
+	bpatch patch05_6,mem_patch05
+	call rf_setup_time_master_slot
+master_send_packet:
+	add clkn_bt,1,bt_clk          
+	call fetch_self_bt_adr
+	force 0x03,freq_mode          
+	call tx_radio_freq
+	call start_transmitter
+	call start_tx_native
+	call send_access_word
+	branch transmit_packet
+
+master_conn_recv_packet:
+	bpatch patch05_7,mem_patch05
+	call rf_setup_time_slave_slot
+master_recv_packet:
+	add clkn_bt,1,bt_clk          
+	call fetch_self_bt_adr
+	force 0x03,freq_mode          
+	call rx_radio_freq
+	call init_rx_packet_flags
+	call prep_crypt
+	call start_rx_native	
+	call start_receiver
+master_rx_conn_finish_packet:
+	call wait_access_clkn_rt	
+	nrtn sync
+	call save_rssi
+	branch receive_packet
+	
+	
+
+master_newconn_once:
+	bpatch patch06_0,mem_patch06
+	fetch 1,mem_fhs_am_addr
+	iforce am_addr			//review
+	force type_poll,type
+	call master_conn_send_packet
+	branch master_conn_recv_packet
+
+
+
+
+
+
+
+
+
+
+inquiry_scan_dispatch:
+	fetch 1,mem_scan_mode
+	rtnbit0 inq_scan_mode
+	force iscan_interval_timer,queue
+	call timer_check
+	nrtn blank
+	fetcht 2,mem_iscan_window
+	force 4,queue
+	call sniff_check_window
+	rtn user
+	call inquiry_scan_start
+	force iscan_interval_timer,queue
+	fetch 2,mem_iscan_interval
+	nbranch timer_init,sync
+	random pdata				
+	iand mask3ff,pdata
+	branch timer_init
+	
+
+inquiry_scan_start:
+	bpatch patch06_1,mem_patch06
+	jam 0,mem_fhs_am_addr
+	disable clknt
+	disable attempt
+	call afh_clear
+	and clkn_bt,0x1fc,bt_clk      
+	force 0x01,freq_mode     
+	call fetch_giac
+	call rx_radio_freq
+	setflip mark_inquiry_state,mark
+	fetch 1,mem_inquiryscan_waitcnt
+	increase 1,pdata
+	store 1,mem_inquiryscan_waitcnt
+	call fetch_diac
+	call start_receiver	
+	call wait_access_forever	
+	nrtn sync
+	bpatch patch06_2,mem_patch06
+	force 0,stop_watch
+	call shutdown_radio	
+	fetch 1,mem_inquiryscan_rcvcnt
+	increase 1,pdata
+	store 1,mem_inquiryscan_rcvcnt
+	call fetch_giac
+	call rf_setup_time_slave_slot
+	or_into 0x002,bt_clk               
+	force 0x01,freq_mode               
+	call tx_radio_freq
+	call fetch_diac
+	call start_transmitter	
+	call start_tx_external
+	deposit clkn_bt
+	store 4,mem_clkn_bt
+	call send_access_word
+	force type_fhs,type
+	force 0,am_addr                       
+	call scan_mode_whiten
+	call transmit_packet_whitened
+	call send_eir
+	and_into 0x1fd,bt_clk                 
+	increase 1,N_tx_slot
+	rtn
+
+send_eir:
+	bpatch patch06_3,mem_patch06
+	fetch 1,mem_eir_enable
+	rtn blank
+	arg mem_eir,contw
+	fetch 1,mem_local_name_length
+	copy pdata,loopcnt
+	increase 1,pdata
+	istore 1,contw	
+	copy contw,temp
+	increase 1,pdata
+	store 2,mem_tx_len	
+	copy temp,contw
+	setarg 0x09  //type:name
+	istore 1,contw		
+	arg  mem_local_name,contr
+	call memcpy       //name
+
+	arg mem_all_uuid_128bits,regc
+	arg 4,loopcnt
+	call get_all_uuid
+	arg mem_all_uuid_16bits,regc
+	arg 1,loopcnt
+	call get_all_uuid
+
+	force type_dm3,type		
+	jam 2,mem_tx_lch
+	setarg mem_eir
+	store 2,mem_txptr
+	call rf_setup_time_slave_slot
+	call tx_radio_freq
+	call start_transmitter	
+	call start_tx_external
+	call send_access_word
+	call scan_mode_whiten
+	call transmit_packet_whitened
+	rtn
+
+
+get_all_uuid:
+	copy contw,temp
+	copy regc,contr
+	ifetch 1,contr
+	rtn blank
+lshift_loop:
+	lshift pdata,pdata
+	loop lshift_loop
+	copy pdata,rega
+	increase 2,pdata
+	copy pdata,queue
+	fetch 2,mem_tx_len
+	iadd queue,pdata
+	store 2,mem_tx_len
+	copy temp,contw
+	copy rega,pdata
+	increase 1,pdata
+	istore 1,contw
+	copy regc,contr
+	ifetch 1,contr
+	ifetch 1,contr	//fetch type
+	istore 1,contw
+	copy rega,loopcnt
+	branch memcpy  //copy uuid
+	
+
+
+
+
+page_scan_dispatch:	
+	fetch 1,mem_scan_mode
+	rtnbit0 page_scan_mode
+	force pscan_interval_timer,queue
+	call timer_check
+	nrtn blank
+	fetcht 2,mem_pscan_window
+	force 40,queue
+	call sniff_check_window
+	rtn user
+	force 0,am_addr
+	jam param_pagerespto,mem_fhs_wait_counter
+	set0 mark_fhs_already_good,mark
+	call page_scan_start
+	force pscan_interval_timer,queue
+	fetch 2,mem_pscan_interval
+	branch timer_init
+	
+
+page_scan_start:
+	bpatch patch06_4,mem_patch06
+	disable clknt
+	call afh_clear
+	fetch 1,mem_pagescan_waitcnt
+	increase 1,pdata
+	store 1,mem_pagescan_waitcnt
+	force 0,N_tx_slot
+	call fetch_self_bt_adr
+	add clkn_bt,1,bt_clk      
+	force 0x02, freq_mode     
+	bpatch patch06_5,mem_patch06
+	call rx_radio_freq
+	call start_receiver	
+	call wait_access_forever
+	nrtn sync                          
+	call shutdown_radio	
+	fetch 1,mem_pagescan_rcvcnt
+	increase 1,pdata
+	store 1,mem_pagescan_rcvcnt
+	force 0,stop_watch
+	call rf_setup_time_slave_slot
+	or_into 0x002,bt_clk               
+	force 0x01,freq_mode               
+	call tx_radio_freq
+	call start_transmitter
+	call start_tx_external
+	call send_access_word
+	call end_of_packet
+	force 0,am_addr
+	fetchr timeup,2,mem_param_rf_setup
+	until clke_rt,meet
+	or_into 0x03,clke_bt
+	and_into 0x1fd,bt_clk
+page_scan_wait_fhs_restart:
+	bpatch patch06_6,mem_patch06
+	increase 1,N_tx_slot
+	call rx_radio_freq
+	call start_receiver
+	call wait_access_mhalfbnd
+	nbranch page_scan_wait_fhs_again,sync	
+	call scan_mode_whiten
+	call receive_packet_whitened
+	bmark1 mark_fhs_already_good,page_scan_reply_to_fhs
+page_scan_wait_fhs_again:
+	bpatch patch06_7,mem_patch06
+	fetch 1,mem_fhs_wait_counter
+	rtn blank
+	increase -1,pdata
+	store 1,mem_fhs_wait_counter
+	call rf_setup_time_master_slot	
+	branch page_scan_wait_fhs_restart
+
+
+page_scan_reply_to_fhs:
+	bpatch patch07_0,mem_patch07
+	set0 1,clke_bt
+	set1 0,clke_bt
+	fetch 1,mem_pagescan_rcvfhscnt
+	increase 1,pdata
+	store 1,mem_pagescan_rcvfhscnt
+	call rf_setup_time_slave_slot
+	or_into 0x02,bt_clk
+	call tx_radio_freq
+	call start_transmitter
+	call start_tx_external
+	call send_access_word
+	call end_of_packet
+slave_apply_clke_bt:
+	compare 0x03,clke_bt,0x03
+	branch slave_apply_clke_bt_now,true
+	until null,mhalfbnd
+	branch slave_apply_clke_bt
+slave_apply_clke_bt_now:
+	fetch 4,mem_clke_bt
+	or_into 0x03,pdata
+	icopy clke_bt
+
+start_slave_connection:
+	bpatch patch07_1,mem_patch07
+	fetch 6,extm_lap
+	store 6,mem_plap
+	call prepare_newconn
+slave_newconn_loop:
+	call slave_newconn_once
+	branch sconn_successful,match     
+	call new_conn_timeout
+	nbranch slave_newconn_loop,blank
+	rtn
+
+	
+sconn_successful:
+	bpatch patch07_2,mem_patch07
+	call newconn_init
+	call context_new
+	nrtn zero
+	jam 0,mem_mode
+	call calc_clke_offset
+	branch context_save
+
+
+
+
+slave_dispatch:
+	bpatch patch07_3,mem_patch07
+	call calc_clke
+	call role_switch_slave
+	rtn user
+slave_loop:
+	bpatch patch07_4,mem_patch07
+	call scheduler_process
+	call slave_conn_recv_packet	
+	nbranch slave_notmatch,match
+	fetch 2,mem_cb_bt_slave_match
+	call callback_func
+	call supervision_flush
+	call scheduler_tx_l2cap_pkt
+	call prepare_tx
+	call slave_conn_send_packet
+	call parse_l2cap
+	call parse_lmp
+	fetch 1,mem_slave_rcvcnt
+	increase 1,pdata
+	store 1,mem_slave_rcvcnt
+	call calc_clke_offset
+slave_notmatch:
+	bpatch patch07_5,mem_patch07
+	call lpm_set_mult
+	call supervision_update
+	branch slave_disconnect,positive
+	call check_disconnect_timeout
+	nbranch slave_disconnect,user
+	call check_attempt
+	nbranch slave_loop,blank
+	rtn
+
+slave_disconnect:
+	bpatch patch07_6,mem_patch07
+	jam 0,mem_tester_emulate
+	jam 0,mem_debug_config
+	call quit_connection
+	set0 mark_testmode,mark
+	call test_enable_white
+	fetch 1,mem_state
+	rtn
+
+
+role_switch_slave:
+	call role_switch_check
+	nrtn user
+	copy am_addr,temp
+	call get_free_amaddr
+	store 1,mem_fhs_am_addr
+	copy temp,am_addr
+	jam param_newconnto,mem_newconnto_counter
+roles_sendfhs_loop:
+	bpatch patch07_7,mem_patch07
+	call rf_setup_time_master_slot
+	force type_fhs,type
+	call slave_send_access
+	deposit clkn_bt
+	store 4,mem_clkn_bt
+	call transmit_packet
+	call rf_setup_time_slave_slot
+	enable user3
+	call slave_receive_access
+	branch roles_got_fhs_reply,sync
+	call shutdown_radio
+	call new_conn_timeout
+	nbranch roles_sendfhs_loop,blank
+	rtnmark0 mark_accept_switch
+	jam LMP_SLOT_OFFSET,mem_lmo_opcode2
+	set1 mark_switch_initiated,mark
+	rtn
+roles_got_fhs_reply:
+	enable clknt
+	call prepare_newconn
+	call afh_clear
+roles_newconn_loop:
+	bpatch patch08_0,mem_patch08
+	call master_newconn_once
+	branch roles_newconn_responded,sync
+	call new_conn_timeout
+	nbranch roles_newconn_loop,blank
+	disable clknt
+	deposit clke_bt
+	store 4,mem_next_btclk
+	rtn
+roles_newconn_responded:
+	enable master
+	bmark0 mark_accept_switch,roles_newconn_nolmp
+	set0 mark_accept_switch,mark
+	jam LMP_ACCEPTED,mem_lmo_opcode2
+	jam LMP_HOST_CONNECTION_REQ,mem_lmi_opcode2
+	call tid_set_reply
+roles_newconn_nolmp:
+	deposit am_addr
+	store 1,mem_amaddr
+	force 0,pdata
+	store 6,mem_clk_offset
+	fetch 1,mem_mode
+	set1 mode_master,pdata
+	store 1,mem_mode
+	call supervision_flush
+	disable master
+	enable user
+	rtn
+
+	
+
+init_rx_packet_flags:
+	bpatch patch08_1,mem_patch08
+	disable match
+	set0 mark_loopback,mark
+	set0 mark_am_addr_broadcast,mark          
+	set0 mark_longpacket,mark
+	set0 mark_old_packet,mark
+	fetch 1,mem_arq    
+	set0 arqnx,pdata
+	set1 flowx,pdata
+	store 1,mem_arq
+	rtn
+
+prepare_newconn:
+	bpatch patch08_2,mem_patch08
+	jam param_newconnto,mem_newconnto_counter
+	jam param_newconn_arq,mem_arq
+	fetch 2,mem_rx_window_init
+	store 2,mem_rx_window
+	deposit clkn_bt
+	store 4,mem_next_btclk
+	rtn clknt
+	deposit clke_bt
+	store 4,mem_next_btclk
+	rtn
+
+newconn_init:
+	bpatch patch08_3,mem_patch08
+	call init_lmp_reinit
+	call new_conn_handle
+	store 1,mem_conn_handle
+	setarg 0
+	store 2,mem_l2cap_rxbuff1_len
+	setarg param_supervision_to
+	store 2,mem_supervision_to
+	fetch 1,mem_state
+	set1 state_inconn,pdata
+	store 1,mem_state
+	jam 0,mem_op
+	jam 0,mem_state_map
+	jam 0,mem_lpm_current_mult
+	branch supervision_flush
+	
+
+clear_linkkey:
+	bpatch patch08_4,mem_patch08
+	force 0,pdata
+	store 8,mem_link_key
+	istore 8,contw
+	call clear_linkstate
+	branch context_traverse_linkkey
+	
+new_conn_timeout:
+	fetch 1,mem_newconnto_counter
+	increase -1,pdata
+	store 1,mem_newconnto_counter
+	rtn
+
+new_conn_handle:
+	fetch 1,mem_handle_num
+	increase 1,pdata
+	store 1,mem_handle_num
+	rtn
+
+
+quit_connection:
+	bpatch patch08_5,mem_patch08
+	fetch 1,mem_hci_cmd
+	beq hci_cmd_remote_name_req,quit_connection_name
+	fetch 1,mem_lmp_to_send
+	bne LMP_NAME_REQ,quit_connection_cont
+quit_connection_name:
+	call cmd_check_plap
+	nbranch quit_connection_cont,zero
+	call master_name_error
+	jam 0,mem_hci_cmd
+quit_connection_cont:
+	bpatch patch08_6,mem_patch08
+	call app_disconn_reason_collect_bt
+	call sniff_exit
+	jam BT_EVT_BB_DISCONNECTED,mem_fifo_temp
+	call ui_ipc_send_event
+	call init_lmp_work
+	call l2cap_init_work
+	call sp_clear_flags
+	fetch 1,mem_state
+	set0 state_inconn,pdata
+	store 1,mem_state
+	jam 0,memui_reconnect_mode
+
+	fetch 1,mem_state_map
+	compare 0x0,pdata,0xc0
+	branch quit_connection_not_clear_mark,true
+	set0 mark_rxbuf_inuse,mark
+quit_connection_not_clear_mark:
+	fetch 1,mem_arq
+	bbit0 wack,quit_connection_not_clear_tx
+quit_connection_not_clear_tx:
+	fetch 1,mem_op
+	rtnbit0 op_txl2cap
+	set0 mark_tx_l2cap,mark
+	rtn
+
+slave_newconn_once:
+	bpatch patch08_7,mem_patch08
+	fetch 1,extm_newconn_am_addr
+	rtn blank     
+	icopy am_addr
+	call slave_conn_recv_packet
+	nrtn match
+	force type_null,type
+	call slave_conn_send_packet
+	deposit am_addr
+	store 1,mem_amaddr                 
+	force 0,pdata
+	store 1,extm_newconn_am_addr
+	rtn
+
+
+
+
+
+prepare_tx:
+	bpatch patch09_0,mem_patch09
+	fetch 1,mem_state
+	bbit0 state_insco,prepare_tx_not_sco
+	force type_hv3,type
+	bmark0 mark_esco,prepare_tx_not_esco
+	call check_esco_amaddr
+	nbranch prepare_tx_not_sco,true
+	branch prepare_tx_not_sco,attempt	
+	call set_wait_ack					
+	setarg 2		
+	store 2,mem_retransmission_cnt
+	rtn
+
+prepare_tx_not_esco:
+	nrtn attempt						
+prepare_tx_not_sco:
+	bpatch patch09_1,mem_patch09
+	call context_check_all_wack			 //abandon mark_retransmit, use context_check_all_wack instead.
+	nbranch prepare_tx_no_retransmit,zero
+	fetch 1,mem_arq
+	bbit0 wack,prepare_tx_pollnull		
+prepare_tx_retransmit:
+	bmark1 mark_loopback,prepare_tx_loopback
+	fetch 1,mem_debug_config
+	bbit1 debug_tx_pattern,prepare_tx_txpat
+	fetch 2,mem_retransmission_cnt
+	increase -1,pdata
+	store 2,mem_retransmission_cnt
+	branch prepare_tx_nomore_retransmit,blank
+	fetch 1,mem_last_type
+	iforce type
+	rtn
+
+prepare_tx_nomore_retransmit:
+	bpatch patch09_2,mem_patch09
+	call clear_got_tx
+prepare_tx_no_retransmit:
+	call check_esco_amaddr
+	branch prepare_tx_pollnull,true
+	call send_lmp
+	branch prepare_tx_sendlmp,user
+	fetch 1,mem_op
+	bbit1 op_txl2cap,prepare_tx_sendl2cap
+	bmark1 mark_loopback,prepare_tx_loopback
+	fetch 1,mem_debug_config
+	bbit1 debug_tx_pattern,prepare_tx_txpat
+prepare_tx_pollnull:
+	force type_poll,type				
+	rtn master
+	force type_null,type				
+	rtn
+prepare_tx_loopback:
+	bpatch patch09_3,mem_patch09
+	fetch 1,mem_rx_type
+	iforce type
+	rtnne 1
+	force type_null,type
+	rtn
+prepare_tx_txpat:
+	fetch 1,test_mode_packet_type
+	and pdata,0xf,type
+	set1 mark_loopback,mark
+	rtn
+prepare_tx_sendlmp:
+	force type_lmp,type
+	call set_wait_ack
+prepare_tx_ccm_edr_lmp:
+	call check_enc_ccm
+	rtn blank		
+	jam 3,mem_llid
+	fetch 1,mem_lmo_header_length
+	and pdata,0x1f8,pdata
+	rshift3 pdata,pdata
+	store 2,mem_ccm_len
+	copy pdata,rega
+	arg mem_lmo_header_opcode,regc
+	branch ccm_br_enc_new	
+
+	
+prepare_tx_sendl2cap:
+	call tx_l2cap_type
+	call set_wait_ack
+prepare_tx_ccm_edr:
+	call check_enc_ccm
+	rtn blank		
+	fetch 1,mem_tx_lch
+	and_into 3,pdata
+	store 1,mem_llid
+	fetch 2,mem_tx_len
+	copy pdata,rega
+	store 2,mem_ccm_len
+	fetch 2,mem_txptr
+	copy pdata,regc
+	branch ccm_br_enc_new
+	
+	
+set_wait_ack:
+	bpatch patch09_4,mem_patch09
+	fetcht 1,mem_arq
+	set1 wack,temp
+	storet 1,mem_arq
+	deposit type
+	store 1,mem_last_type
+	setarg 0xffff
+	store 2,mem_retransmission_cnt
+	rtn
+
+tx_l2cap_type:
+	bpatch patch09_5,mem_patch09
+	fetch 1,mem_state_map
+	isolate1 smap_edr,pdata
+	fetch 2,mem_tx_len
+	branch tx_l2cap_type_edr,true
+	force type_dm1,type		
+	sub pdata,17,null			
+	rtn positive
+	force type_dh1,type		
+	sub pdata,27,null				
+	rtn positive
+	force type_dm3,type		
+	sub pdata,121,null
+	rtn positive
+	force type_dh3,type		
+	sub pdata,183,null
+	rtn positive	
+	force type_dm5,type		
+	sub pdata,224,null
+	rtn positive
+	force type_dh5,type		
+	rtn
+tx_l2cap_type_edr:
+	force type_dm1,type
+	sub pdata,17,null
+	rtn positive
+	force type_dh1,type		
+	sub pdata,54,null
+	rtn positive
+	force type_dm3,type		
+	arg 367,temp
+	isub temp,null
+	nrtn positive
+	force type_dm5,type		
+	arg 679,temp
+	isub temp,null
+	nrtn positive
+	force type_dh5,type		
+	rtn
+
+
+
+
+
+
+
+
+slave_receive_master_slot:
+	fetch 1,mem_state
+	bbit0 state_insniff,slave_receive_notsniff
+	fetch 2,mem_tsniff
+	branch slave_receive_notsniff,blank		
+	nbranch slave_receive_sniff,attempt
+slave_receive_notsniff:
+	call rf_setup_time_master_slot
+slave_receive_access:
+	add clke_bt,1,bt_clk
+slave_receive_sniff:
+	enable swfine
+	fetch 2,mem_rx_window
+	rshift pdata,pdata
+	fetcht 2,mem_param_pll_setup
+	iadd temp,pdata
+	call ahead_window
+	call fetch_extm_bt_adr
+	force 0x03,freq_mode          
+	call rx_radio_freq
+	call init_rx_packet_flags
+	call prep_crypt
+	bpatch patch09_6,mem_patch09
+	fetch 2,mem_rx_window
+	rshift pdata,pdata
+	call ahead_window
+	call start_receiver
+	enable decode_fec0
+	fetch 2,mem_rx_window
+	fetcht 2,mem_param_clke_cal
+	iadd temp,stop_watch
+	correlate null,timeout
+	copy clke,temp
+	storet 6,mem_sync_clke
+	disable decode_fec0
+	nrtn sync
+	fetch 2,mem_param_clke_cal
+	copy pdata,clke_rt
+	copy bt_clk,clke_bt
+	branch lpm_adjust_clk,wake
+	rtn
+
+
+slave_conn_recv_packet:
+	bpatch patch09_7,mem_patch09
+	call slave_receive_master_slot
+	nbranch shutdown_radio,sync
+	call save_rssi
+	bmark0 mark_testmode,receive_packet
+	fetch 2,mem_tst_pktcnt_sync
+	increase 1,pdata
+	store 2,mem_tst_pktcnt_sync
+receive_packet:
+	call rf_debug_rx_sync_line	//L-H
+	rshift bt_clk,temp
+	or temp,0x40,white_init
+receive_packet_whitened:
+	bpatch patch0a_0,mem_patch0a
+	enable enable_white
+	enable enable_hec
+	enable decode_fec1
+	parse demod,bucket,3  
+	rshift8 pwindow,pdata
+	store 1,mem_temp_am_addr
+	parse demod,bucket,4  
+	inject bucket,7       
+	copy pwindow,pdata
+	store 1,mem_rx_type
+	parse demod,bucket,3  
+	rshift8 pwindow,pdata
+	store 1,mem_temp_arq
+	fetch 1,mem_rx_type
+	sub pdata,3,null
+	branch receive_packet_noedr,positive
+	beq 7,receive_packet_noedr		
+	fetch 1,mem_state_map
+	isolate1 smap_edr,pdata
+	setflag true,PSK,radio_ctrl
+receive_packet_noedr:
+	bpatch patch0a_1,mem_patch0a
+	parse demod,bucket,8   
+	disable decode_fec1
+	disable enable_hec   
+	branch error_header,crc_failed  
+	bmark0 mark_testmode,receive_packet_amchk
+	fetch 2,mem_tst_pktcnt_hec
+	increase 1,pdata
+	store 2,mem_tst_pktcnt_hec
+receive_packet_amchk:	
+	bpatch patch0a_2,mem_patch0a
+	fetch 1,mem_temp_am_addr
+	compare 0,pdata,0x07           
+	setflag true,mark_am_addr_broadcast,mark   
+	branch am_addr_ok,true
+	icompare 0x07,am_addr
+	branch am_addr_match,true
+	bmark0 mark_esco,end_of_packet
+	fetch 1,mem_arq    
+	set0 arqnx,pdata
+	set1 flowx,pdata
+	store 1,mem_arq
+am_addr_match:
+	call rf_debug_rx_match_line	//L
+	enable match
+am_addr_ok:
+	bpatch patch0a_3,mem_patch0a
+	fetch 1,mem_rx_type
+	icopy type
+	bmark1 mark_am_addr_broadcast,arqn_bypass        
+	fetcht 1,mem_temp_arq
+	fetch 1,mem_arq
+	set0 flow,pdata
+	isolate1 flow,temp
+	setflag true,flow,pdata
+	isolate1 arqn,temp
+	setflag true,arqn,pdata
+	store 1,mem_arq
+	isolate0 arqn,temp
+	branch arqn_bypass,true
+	call clear_got_tx
+arqn_bypass:
+	bpatch patch0a_4,mem_patch0a
+	arg 0,temp
+	call reserve_slot
+	and type,0xf,pdata
+	beq type_poll,process_poll
+	beq type_null,end_of_packet	
+	beq type_fhs,process_fhs
+	fetcht 1,mem_temp_arq
+	fetch 1,mem_arq
+	icompare 0x04,temp    
+	nbranch rx_type_dispatch,true   
+	bmark0 mark_am_addr_broadcast,failed_seqn         
+	bbit0 bcast1,rx_type_dispatch           
+failed_seqn:
+	set1 mark_old_packet,mark
+rx_type_dispatch:
+	bpatch patch0a_5,mem_patch0a
+	deposit type
+	beq type_dm1, process_dm1
+	beq type_dh1, process_dh1
+	beq type_3dh1, process_3dh1
+	arg 4,temp
+	call reserve_slot
+	beq type_dm3, process_dm3
+	beq type_dh3, process_dh3
+	arg 8,temp
+	call reserve_slot
+	beq type_dm5, process_dm5
+	beq type_dh5, process_dh5
+	rtn
+
+
+
+
+process_poll:
+	branch end_of_packet
+
+process_dm3:
+process_dm5:
+	set1 mark_longpacket,mark
+process_dm1:
+	enable decode_fec2
+	branch process_dmh
+	
+process_dh3:
+process_dh5:
+	set1 mark_longpacket,mark
+process_3dh1:
+	set1 PSK3M,radio_ctrl
+process_dh1:
+	enable decode_fec0
+process_dmh:
+	bpatch patch0a_6,mem_patch0a
+	bmark1 mark_first_packet,end_of_packet
+	bmark1 mark_rxbuf_inuse,end_of_packet			
+	isolate0 PSK,radio_ctrl
+	branch process_dmh_noedr,true
+	disable enable_white
+	enable decode_fec0
+	disable decode_fec2
+	add clkn_bt,2,timeup
+	correlate clkn_bt,meet
+	nbranch error_payload,sync
+	set1 mark_longpacket,mark
+	enable enable_white
+process_dmh_noedr:
+	bpatch patch0a_7,mem_patch0a
+	enable encrypt
+	enable enable_crc
+	parse demod,bucket,3  
+	rshift8 pwindow,pdata
+	store 1,mem_lch_code		
+	parse demod,bucket,5  
+	bmark1 mark_longpacket,process_dmh_long
+	rshift3 pwindow,loopcnt
+	rshift3 loopcnt,loopcnt
+	branch process_dmh_common
+process_dmh_long:
+	parse demod,bucket,5		
+	rshift pwindow,loopcnt
+	parse demod,bucket,3  
+process_dmh_common:	
+	bpatch patch0b_0,mem_patch0b
+	deposit loopcnt
+	store 2,mem_len
+	branch process_dmh_data_0,blank
+	call check_enc_ccm
+	branch process_dmh_common2,blank
+process_dmh_common2_ccm:
+	increase 4,loopcnt
+	deposit loopcnt
+process_dmh_common2:	
+	isub mask3ff,null
+	branch error_payload,positive	
+	bpatch patch0b_1,mem_patch0b
+	set0 mark_fhs_eir,mark
+	fetch 1,mem_lch_code
+	and_into 0x03,pdata
+	arg mem_rxbuf,contw //lmp_data or test packet
+	beq LLID_LMP,process_lmp
+	bmark1 mark_testmode,process_dmh_common2_testmode
+	//non-HCI mode
+	fetch 1,mem_lch_code
+	and_into 0x03,pdata
+	beq LLID_L2CAP_START,process_dmh_data_l2cap_start_pkt
+	beq LLID_L2CAP_CONT,process_dmh_data_l2cap_continue_pkt
+	branch error_payload
+	
+process_dmh_common2_testmode:	
+	arg mem_l2cap_rxbuff1,contw
+	branch process_dmh_data	
+
+process_dmh_data_0:
+	call check_enc_ccm
+	branch process_dmh_data_end,blank
+	setarg 0
+	store 2,mem_ccm_len
+	parse demod,bucket,32
+	rshift32 pdata,pdata
+	rshift8 pdata,pdata
+	store 4,mem_le_peer_mic
+	branch process_dmh_data_end
+	
+//blank not enc_ccm
+check_enc_ccm:
+	fetch 1,mem_state_map
+	bbit0 smap_encryption,enable_blank
+	fetch 1,mem_encapsulated_minor_type
+	bne ENCAPSULATED_MINOR_TYPE_P256,enable_blank
+	branch disable_blank
+	
+process_lmp:
+	fetch 2,mem_len
+	sub pdata,17,null		//lmp buffer size
+	nbranch error_payload,positive
+	bmark1 mark_old_packet,ack_payload
+	branch process_dmh_data
+
+	
+process_dmh_data_l2cap_start_pkt:
+	bpatch patch0b_2,mem_patch0b
+	bmark1 mark_old_packet,ack_payload
+	fetch 2,mem_len
+	arg 0x2e0,temp //l2cap buffer size
+	isub temp,null
+	branch error_payload,positive
+	fetch 1,mem_l2cap_rxbuff_inuse
+	bbit0 L2CAP_INUSE_BUFF1,process_dmh_data_into_buff1
+	bbit0 L2CAP_INUSE_BUFF2,process_dmh_data_into_buff2
+	branch end_of_packet
+process_dmh_data_into_buff1:
+	jam 1,mem_l2cap_rxbuff_new //new data in buff 1
+	fetch 2,mem_l2cap_rxbuff1_len
+	bne 0,end_of_packet			//baseband head error
+	arg mem_l2cap_rxbuff1,contw
+	branch process_dmh_data
+process_dmh_data_into_buff2:
+	jam 2,mem_l2cap_rxbuff_new //new data in buff 2
+	fetch 2,mem_l2cap_rxbuff2_len
+	bne 0,end_of_packet
+	arg mem_l2cap_rxbuff2,contw
+	branch process_dmh_data
+	
+process_dmh_data_l2cap_continue_pkt:
+	bpatch patch0b_3,mem_patch0b
+	bmark1 mark_old_packet,ack_payload
+	fetch 2,mem_len
+	arg 0x2e0,temp //l2cap buffer size
+	isub temp,null
+	branch error_payload,positive
+	fetch 1,mem_l2cap_rxbuff_new
+	beq 1,process_dmh_data_l2cap_continue_pkt1
+	beq 2,process_dmh_data_l2cap_continue_pkt2
+	branch end_of_packet
+process_dmh_data_l2cap_continue_pkt1:
+	arg mem_l2cap_rxbuff1,contw
+	fetch 2,mem_l2cap_rxbuff1_len
+	iadd contw,contw
+	branch process_dmh_data
+process_dmh_data_l2cap_continue_pkt2:
+	arg mem_l2cap_rxbuff2,contw
+	fetch 2,mem_l2cap_rxbuff2_len
+	iadd contw,contw
+process_dmh_data:	
+	parse demod,bucket,8
+	rshift3 pwindow,pdata
+	istore 1,contw
+	loop process_dmh_data
+process_dmh_data_end:	
+	bpatch patch0b_4,mem_patch0b
+	parse demod,bucket,16  
+	branch error_payload_crc,crc_failed
+	call check_enc_ccm
+	call enable_user2
+	ncall ccm_br_decrypt_new,blank
+	nbranch error_mic_error,user2
+	call rf_debug_rx_crc_line	//L
+
+	fetch 1,mem_l2cap_flow_ctrl_flag
+	beq L2CAP_FLOW_CTRL_ENABLE,flow_ctrl
+
+	bmark1 mark_testmode,process_dmh_cont
+	bmark1 mark_old_packet,redundant_payload
+	fetch 1,mem_lch_code
+	compare 3,pdata,3
+	branch process_dmh_cont,true
+	fetch 2,mem_len
+	branch process_dmh_cont,blank
+	bpatch patch0b_5,mem_patch0b
+	fetch 1,mem_l2cap_rxbuff_new
+	beq 1,process_l2cap_pass_crc_buff1
+	beq 2,process_l2cap_pass_crc_buff2
+	branch assert
+process_l2cap_pass_crc_buff1:
+	fetch 2,mem_l2cap_rxbuff1_len
+	fetcht 2,mem_len
+	iadd temp,pdata
+	store 2,mem_l2cap_rxbuff1_len
+	rtn blank
+	fetcht 2,mem_l2cap_rxbuff1// l2cap payload length
+	increase 4,temp
+	isub temp,null
+	call l2cap_buff1_inuse,zero //l2cap pkts not ended
+	branch process_dmh_cont
+process_l2cap_pass_crc_buff2:
+	fetch 2,mem_l2cap_rxbuff2_len
+	fetcht 2,mem_len
+	iadd temp,pdata
+	store 2,mem_l2cap_rxbuff2_len
+	rtn blank
+	fetcht 2,mem_l2cap_rxbuff2// l2cap payload length 
+	add temp,4,temp
+	isub temp,null
+	call l2cap_buff2_inuse,zero //l2cap pkts not ended
+//	branch process_dmh_cont
+process_dmh_cont:
+	bpatch patch0b_6,mem_patch0b
+	fetcht 1,mem_state_map
+	fetch 1,mem_lch_code
+	compare 3,pdata,0x03
+	setflag true,smap_rxlmp,temp
+	nsetflag true,smap_rxl2cap,temp
+	storet 1,mem_state_map
+	nbranch process_dmh_cont_rxbuf_not_use,true
+	set1 mark_rxbuf_inuse,mark
+process_dmh_cont_rxbuf_not_use:
+	bmark0 mark_testmode,ack_payload
+	isolate1 smap_rxlmp,temp
+	branch ack_payload,true
+	fetch 2,mem_tst_pktcnt_crc
+	increase 1,pdata
+	store 2,mem_tst_pktcnt_crc
+	set1 mark_loopback,mark
+	set0 smap_rxl2cap,temp
+	set0 mark_rxbuf_inuse,mark
+	storet 1,mem_state_map
+ack_payload:
+	bpatch patch0b_7,mem_patch0b
+	call check_enc_ccm
+	ncall ccm_br_pcnt_rx_add,blank
+	fetcht 1,mem_temp_arq
+	fetch 1,mem_arq
+	set1 arqnx,pdata
+	isolate1 seqn,temp            
+	setflag true,seqn,pdata
+	isolate1 mark_am_addr_broadcast,mark
+	setflag true,bcast1,pdata
+	store 1,mem_arq
+	fetch 2,mem_len
+	nbranch end_of_packet,blank
+	fetch 1,mem_state_map
+	set0 smap_rxl2cap,pdata//better to do this in l2cap_flow_ctrl_stop
+	store 1,mem_state_map
+	fetch 1,mem_lch_code
+	compare 0x01,pdata,0x07
+	//call l2cap_flow_ctrl_stop,true
+	branch end_of_packet
+	
+error_header:
+	bpatch patch0c_0,mem_patch0c
+	disable match
+	fetch 2,mem_rx_hec_err
+	increase 1,pdata
+	store 2,mem_rx_hec_err
+	branch end_of_packet
+error_payload_crc:
+	fetch 2,mem_rx_crc_err
+	increase 1,pdata
+	store 2,mem_rx_crc_err
+	call discard_pkt
+	bmark0 mark_testmode,error_payload
+	set1 mark_loopback,mark
+error_payload:
+	branch end_of_packet
+
+flow_ctrl:
+error_mic_error:
+	branch error_payload_crc
+
+	
+discard_pkt:
+	bpatch patch0c_1,mem_patch0c
+	fetch 1,mem_lch_code
+	compare 3,pdata,0x03
+	nbranch discard_pkt_l2cap,true
+discard_pkt_lmp:	
+	fetcht 1,mem_state_map
+	set0 smap_rxlmp,temp
+	storet 1,mem_state_map
+	rtn
+discard_pkt_l2cap:
+//	isolate1 mark_testmode,mark
+//	setflag true,mark_loopback,mark
+	fetcht 1,mem_state_map
+	set0 smap_rxl2cap,temp
+	storet 1,mem_state_map
+	rtn
+
+redundant_payload:
+	fetch 1,mem_arq
+	set1 arqnx,pdata
+	store 1,mem_arq
+end_of_packet:
+	bpatch patch0c_2,mem_patch0c
+	disable encode_fec0
+	disable encode_fec2
+	disable decode_fec0
+	disable decode_fec2
+	disable enable_crc
+	disable encrypt
+	disable enable_white
+	branch shutdown_radio,is_rx
+	until null,tx_clear
+	nop 100          
+	branch shutdown_radio
+	
+process_fhs:
+	bpatch patch0c_3,mem_patch0c
+	enable enable_crc
+	enable decode_fec2
+	parse demod,bucket,72
+	isolate1 58,pdata
+	setflag true,mark_fhs_eir,mark
+	copy bt_adr,temp             
+	ialigned bt_adr            
+	ialigned fhs0			
+	pulse recalc                
+	setsect 2,0xfffff             
+	setsect 3,0x0ffff             
+	nop 32                       
+	iverify fhs_parity             
+	deposit lap
+	store 3,extm_lap
+	deposit uap
+	store 1,extm_uap
+	copy temp,bt_adr             
+	branch fhs_parity_ok,true     
+	branch error_payload
+fhs_parity_ok:
+	bpatch patch0c_4,mem_patch0c
+	parse demod,bucket,72
+	ialigned fhs1                   
+	ialigned am_addr                
+	ialigned nap
+	ialigned regb                   
+	force 0,pdata
+	parse demod,bucket,16  
+	branch error_payload,crc_failed
+	call rf_debug_rx_crc_line	//L
+	setarg 0x0ffffffc
+	iand regb,pdata
+	store 4,mem_clke_bt
+	deposit fhs_class
+	store 3,extm_class
+	deposit fhs_misc
+	store 1,extm_fhs_misc
+	deposit am_addr
+	store 1,extm_newconn_am_addr
+	deposit nap
+	store 2,extm_nap
+	deposit bt_clk
+	inject rxf,32
+	compare type_fhs,type,0x0f         
+	setflag true,mark_fhs_already_good,mark
+	branch end_of_packet
+
+clear_got_tx:
+	bpatch patch0c_5,mem_patch0c
+	fetch 1,mem_arq
+	rtnbit0 wack
+	set0 wack,pdata
+	setflip seqnx,pdata
+	store 1,mem_arq
+	call check_enc_ccm
+	ncall ccm_br_pcnt_tx_add,blank
+	fetch 1,mem_last_type
+	beq type_lmp,clear_got_txlmp
+	rtneq type_hv3
+	fetch 1,mem_op
+	rtnbit0 op_txl2cap,pdata
+	set0 op_txl2cap,pdata
+	set1 op_pkt_comp,pdata
+	store 1,mem_op
+	set0 mark_tx_l2cap,mark
+	fetch 2,mem_l2cap_tx_multi_offset
+	nrtn blank
+	fetch 1,mem_op
+	set0 op_pkt_comp,pdata
+	store 1,mem_op
+	branch l2cap_malloc_free
+
+clear_got_txlmp:
+	bpatch patch0c_6,mem_patch0c
+	fetch 1,mem_lmo_header_opcode_x
+	rshift pdata,pdata
+	beq LMP_START_ENCRYPTION_REQ,start_encryption
+	beq LMP_STOP_ENCRYPTION_REQ,stop_encryption
+	beq LMP_UNSNIFF_REQ, sniff_exit
+	beq LMP_ESCAPE,clear_lmp_escape
+	rtnne LMP_ACCEPTED
+	fetch 1,mem_lmo_payload
+	beq LMP_START_ENCRYPTION_REQ,clear_send_setup_complete
+	rtn
+
+clear_lmp_escape:
+	fetch 1,mem_lmo_payload
+	set1 7,pdata
+	rtn
+clear_send_setup_complete:
+	rtn master
+	fetch 1,mem_state
+	rtnbit1 state_conn_comp
+	jam LMP_SETUP_COMPLETE,mem_lmo_opcode2
+	rtn
+	
+	
+start_encryption:
+	bpatch patch0c_7,mem_patch0c
+	fetch 1,mem_state_map
+	set1 smap_encryption,pdata
+	store 1,mem_state_map
+	jam 1,core_encrypt
+	force 0,pdata
+	store 5,mem_ccm_pcnt_rx
+	set1 BR_CCM_DIRECTIONBIT,pdata
+	store 5,mem_ccm_pcnt_tx	
+	rtn	
+
+stop_encryption:
+	bpatch patch0d_0,mem_patch0d
+	fetch 1,mem_state_map
+	set0 smap_encryption,pdata
+	store 1,mem_state_map
+	jam 0,core_encrypt
+	rtn
+
+
+sniff_init:
+	bpatch patch0d_1,mem_patch0d
+	add clkn_bt,3,rega
+	branch sniff_init_master,master
+	add clke_bt,3,rega
+sniff_init_master:
+	fetcht 2,mem_tsniff
+	deposit rega
+	set0 27,pdata
+	idiv temp
+	fetch 2,mem_dsniff
+	call wait_div_end
+	remainder regc
+	isub regc,pdata
+	branch sniff_init_nowrap,positive
+	iadd temp,pdata
+sniff_init_nowrap:
+	iadd rega,pdata
+	store 4,mem_sniff_anchor
+	jam SWITCH_FLAG_INIT,mem_switch_flag
+	fetch 1,mem_state
+	set1 state_insniff,pdata
+	store 1,mem_state
+	fetch 1,mem_sniff_attempt
+	store 1,mem_current_sniff_attempt
+	setarg 0
+	store 3,mem_sniff_rcv
+	store 3,mem_sniff_lost
+	store 1,mem_sniff_unint_lost
+	jam BT_EVT_ENTER_SNIFF,mem_fifo_temp
+	call ui_ipc_send_event
+	fetch 2,mem_rx_window_sniff
+	store 2,mem_rx_window
+	nrtn master
+	add am_addr,-1,queue
+	rtn
+
+sniff_exit:
+	bpatch patch0d_2,mem_patch0d
+	fetch 1,mem_state
+	rtnbit0 state_insniff
+	set0 state_insniff,pdata
+	store 1,mem_state
+	fetch 2,mem_rx_window_init
+	store 2,mem_rx_window
+	disable wake
+	jam BT_EVT_EXIT_SNIFF,mem_fifo_temp
+	branch ui_ipc_send_event
+
+
+check_attempt:
+	bpatch patch0d_3,mem_patch0d
+	enable attempt
+	fetch 1,mem_state
+	bbit1 state_insniff,check_attempt_sniff
+	rtnmark1 mark_testmode						
+	fetch 1,mem_arq
+	rtnbit1 wack
+	fetch 1,mem_lmp_to_send
+	nrtn blank
+	fetch 1,mem_op
+	rtnbit1 op_txl2cap
+check_attempt_nomore:
+	force 0,pdata
+	rtn
+
+check_attempt_sniff:
+	bbit0 state_insco,check_attempt_not_sco
+	fetch 1,mem_current_sniff_attempt
+	beq 2,check_attempt_sniff_restore_sco
+	fetch 1,mem_arq
+	bbit1 wack,check_attempt_notimeout
+	bmark0 mark_esco_rxok,check_attempt_notimeout
+check_attempt_sniff_restore_sco:
+	nbranch check_attempt_notimeout,master
+	fetch 1,mem_lmp_to_send
+	nbranch check_attempt_notimeout,blank
+check_attempt_sco_master:
+	branch check_attempt_nomore
+
+
+
+
+
+	
+check_attempt_not_sco:
+	fetch 1,mem_current_sniff_attempt
+	bne 1,check_attempt_notimeout
+	fetch 1,mem_current_sniff_timeout
+	branch check_attempt_notimeout,blank
+	increase -1,pdata
+	store 1,mem_current_sniff_timeout
+	fetch 1,mem_arq
+	rtnbit1 wack						// waiting for next ack
+	nrtn match						// waiting for next poll
+check_attempt_notimeout:
+	fetch 1,mem_current_sniff_attempt
+	increase -1,pdata
+	store 1,mem_current_sniff_attempt
+	rtn
+
+
+
+
+
+
+
+
+
+	
+sniff_check_window:
+	bpatch patch0d_4,mem_patch0d
+	disable swfine
+	copy temp,stop_watch
+	call context_search_sniff_window
+	disable user
+	nrtn zero
+	force 0,stop_watch
+	enable user
+	rtn
+
+	//return true if it is esco context
+check_esco_amaddr:
+	fetch 1,mem_esco_addr
+	icompare 0xff,am_addr
+	rtn
+	
+
+parse_l2cap:	
+	bpatch patch0d_5,mem_patch0d
+	set0 mark_rxbuf_inuse,mark 
+parse_l2cap_cont:
+	jam L2CAP_RX_CLEAR,mem_l2cap_rx_done
+	fetch 1,mem_l2cap_rxbuff_inuse
+	rtn blank
+	isolate1 L2CAP_INUSE_BUFF1,pdata
+	arg mem_l2cap_rxbuff1,contr
+	call process_rx_l2cap_pkt,true
+	bpatch patch0d_6,mem_patch0d
+	fetch 1,mem_l2cap_rx_done
+	beq L2CAP_RX_DONE,parse_l2cap_release_buff1
+	
+	jam L2CAP_RX_CLEAR,mem_l2cap_rx_done
+	fetch 1,mem_l2cap_rxbuff_inuse
+	rtnbit0 L2CAP_INUSE_BUFF2
+	arg mem_l2cap_rxbuff2,contr	
+	call process_rx_l2cap_pkt
+	fetch 1,mem_l2cap_rx_done
+	beq L2CAP_RX_DONE,parse_l2cap_release_buff2
+	rtn
+		
+parse_l2cap_release_buff1:
+	fetch 1,mem_l2cap_rxbuff_inuse
+	set0 L2CAP_INUSE_BUFF1,pdata
+	store 1,mem_l2cap_rxbuff_inuse
+	setarg 0
+	store 2,mem_l2cap_rxbuff1_len
+	rtn
+parse_l2cap_release_buff2:
+	fetch 1,mem_l2cap_rxbuff_inuse
+	set0 L2CAP_INUSE_BUFF2,pdata
+	store 1,mem_l2cap_rxbuff_inuse
+	setarg 0
+	store 2,mem_l2cap_rxbuff2_len
+	rtn
+
+l2cap_buff1_inuse:
+	fetch 1,mem_l2cap_rxbuff_inuse
+	set1 L2CAP_INUSE_BUFF1,pdata
+	store 1,mem_l2cap_rxbuff_inuse
+	rtn
+
+l2cap_buff2_inuse:
+	fetch 1,mem_l2cap_rxbuff_inuse
+	set1 L2CAP_INUSE_BUFF2,pdata
+	store 1,mem_l2cap_rxbuff_inuse
+	rtn
+
+
+
+
+
+slave_send_access:
+	bpatch patch0d_7,mem_patch0d
+	add clke_bt,1,bt_clk          
+	call fetch_extm_bt_adr
+	force 0x03,freq_mode          
+	call tx_radio_freq
+	call start_transmitter
+	call start_tx_external
+	branch send_access_word
+	
+
+slave_conn_send_packet:
+	bpatch patch0e_0,mem_patch0e
+	call rf_setup_time_slave_slot
+	deposit clke_bt
+	fetcht 4,mem_next_btclk
+	isub temp,pdata
+	rtnne 1					
+	compare type_null,type,0x1f
+	nbranch slave_conn_send_access,true
+	fetch 1,mem_rx_type
+	rtn blank					
+slave_conn_send_access:
+	call slave_send_access
+transmit_packet:
+	compare type_id,type,0x1f        
+	branch end_of_packet,true
+	rshift bt_clk,temp
+	or temp,0x40,white_init
+transmit_packet_whitened:
+	bpatch patch0e_1,mem_patch0e
+	enable enable_white
+	enable enable_hec
+	enable encode_fec1
+	set0 mark_longpacket,mark
+	deposit am_addr
+	inject mod,3             
+	deposit type
+	inject mod,4
+	fetch 1,mem_arq   
+	inject bucket,4  
+	inject mod,3
+	enable enable_parity
+	inject mod,8   
+	disable encode_fec1
+	disable enable_parity
+	disable enable_hec
+	set0 PSK3M,radio_ctrl
+	arg 0,temp
+	call reserve_slot
+	bpatch patch0e_2,mem_patch0e
+	and type,0x1f,pdata
+	beq type_lmp, transmit_lmp
+	beq type_null, end_of_packet
+	beq type_poll, end_of_packet
+	beq type_fhs, transmit_fhs  
+	beq type_dm1, transmit_dm1
+	beq type_dh1, transmit_dh1
+	beq type_3dh1, transmit_3dh1
+	arg 4,temp
+	call reserve_slot
+	beq type_dm3, transmit_dm3
+	beq type_dh3, transmit_dh3
+	arg 8,temp
+	call reserve_slot
+	beq type_dh5, transmit_dh5
+	branch transmit_dm5	
+
+
+	
+transmit_fhs:
+	bpatch patch0e_3,mem_patch0e
+	fetch 1,mem_fhs_am_addr            
+	icopy am_addr
+	fetch 1,mem_fhs_misc
+	icopy fhs_misc    
+	fetch 3,mem_class   
+	icopy fhs_class
+	fetch 2,mem_nap
+	icopy nap
+	enable enable_crc
+	enable encode_fec2
+	copy bt_adr,rega
+	call fetch_self_bt_adr
+	pulse recalc
+	nop 32                    
+	copy bt_clk,timeup
+	fetch 4,mem_clkn_bt
+	icopy bt_clk
+	preload fhs0
+	set1 58,pdata		
+	inject mod,72
+	preload fhs1
+	inject mod,72
+	copy timeup,bt_clk
+	copy rega,bt_adr
+	enable enable_parity
+	inject mod,16   
+	disable enable_parity
+	branch end_of_packet
+
+transmit_lmp_ccm:
+	disable encrypt
+	branch transmit_lmp_common
+	
+transmit_lmp:
+	bpatch patch0e_4,mem_patch0e
+	call check_enc_ccm
+	nbranch transmit_lmp_ccm,blank
+	enable encrypt
+transmit_lmp_common:
+	enable enable_crc
+	enable encode_fec2
+	fetch 1,mem_lmo_header_length   
+	and pdata,0x1f8,temp       
+	arg mem_lmo_header_length,contr
+	increase 8,temp   
+	rshift3 temp,loopcnt
+transmit_lmp_loop:
+	ifetch 1,contr
+	inject mod,8
+	loop  transmit_lmp_loop
+	branch transmit_end
+
+
+transmit_dm1:
+	enable encode_fec2
+	branch transmit_dmh
+transmit_dm3:
+transmit_dm5:
+	enable encode_fec2
+	set1 mark_longpacket,mark
+	branch transmit_dmh
+
+transmit_3dh1:
+	set1 PSK3M,radio_ctrl
+transmit_dh1:
+	enable encode_fec0
+	branch transmit_dmh
+	
+transmit_dh3:
+transmit_dh5:
+	set1 PSK3M,radio_ctrl
+	enable encode_fec0
+	set1 mark_longpacket,mark
+
+transmit_dmh:
+	bpatch patch0e_5,mem_patch0e
+	fetch 1,mem_state_map
+	bbit0 smap_edr,transmit_noedr
+	sub type,3,null
+	branch transmit_noedr,positive
+	disable encrypt
+	disable encode_fec2
+	enable encode_fec0
+	disable enable_white
+	set1 PSK,radio_ctrl
+	isolate1 PSK3M,radio_ctrl
+	branch transmit_edr3m,true
+	setarg 0xabeee
+	inject mod,20
+	branch transmit_edr_sync_end
+transmit_edr3m:
+	setarg 0x5faeba
+	inject mod,24
+	setarg 0x12
+	inject mod,6
+transmit_edr_sync_end:	
+	enable enable_white
+	set1 mark_longpacket,mark
+transmit_noedr:
+	enable encrypt
+	enable enable_crc
+	bmark1 mark_loopback,transmit_loopback
+	fetch 1,mem_tx_lch
+	inject mod,3
+	fetch 2,mem_tx_len
+	iforce loopcnt
+	bmark1 mark_longpacket,transmit_long
+	inject mod,5
+	branch transmit_stuff
+transmit_long:	
+	inject mod,13
+transmit_stuff:
+	deposit loopcnt
+	branch transmit_end,blank
+	fetch 2,mem_txptr
+	iforce contr
+transmit_stuff_loop:
+	ifetch 1,contr
+	inject mod,8
+	loop transmit_stuff_loop
+//	branch transmit_end
+
+transmit_end:
+	bpatch patch0e_6,mem_patch0e
+	call check_enc_ccm
+	branch transmit_end2,blank
+	fetch 4,mem_le_mic  
+	inject mod,32
+transmit_end2:	
+	enable enable_parity
+	inject mod,16
+	disable enable_parity
+	call set_wait_ack
+	fetch 1,mem_state_map
+	bbit0 smap_edr,end_of_packet
+	force 0,pdata
+	inject mod,6				
+	branch end_of_packet
+
+
+transmit_loopback:
+	bpatch patch0e_7,mem_patch0e
+	bmark1 mark_longpacket,transmit_loopback_long
+transmit_loopback_short:
+	fetch 1,mem_lch_code
+	inject mod,3						
+	fetch 1,mem_len	
+	iforce regc
+	inject mod,5
+	branch transmit_loopback_cont
+transmit_loopback_long:
+	fetch 1,mem_lch_code
+	inject mod,3						
+	fetch 2,mem_len	
+	iforce regc
+	inject mod,13
+transmit_loopback_cont:
+	arg mem_l2cap_rxbuff1,contr
+transmit_loopback_loop:	
+	copy regc,null
+	branch transmit_loopback_end,zero
+	ifetch 1,contr
+	inject mod,8
+	increase -1,regc
+	branch transmit_loopback_loop
+transmit_loopback_end:
+	fetch 2,mem_tst_pktcnt_dmh
+	increase 1,pdata
+	store 2,mem_tst_pktcnt_dmh
+	branch transmit_end
+	
+
+apply_switch_clke:
+	fetch 4,mem_clke_bt
+	add pdata,7,rega
+	fetch 2,mem_slot_offset
+	nbranch apply_switch_nozero,blank
+	increase -3,rega
+	branch apply_switch_wait_loop
+apply_switch_nozero:
+	mul32 pdata,12,pdata
+	fetcht 2,core_halfslot
+	increase 1,temp
+apply_switch_loop:
+	isub temp,pdata
+	nbranch apply_switch_bt,positive
+	increase -1,rega
+	branch apply_switch_loop
+apply_switch_bt:
+	sub pdata,0,pdata
+apply_switch_wait_loop:
+	until null,oneslot
+	compare 0,clkn_bt,3
+	nbranch apply_switch_wait_loop,true
+	iforce clke_rt
+	copy rega,clke_bt
+	iforce clke_rt
+	rtn
+	
+
+calc_slot_offset:
+	bpatch patch0f_0,mem_patch0f
+	until null,halfslot
+	deposit clke
+	iforce contr
+	rshift16,pdata,pdata
+	isub clkn_bt,loopcnt
+	and_into 3,loopcnt			
+	nbranch calc_bt_portion,zero
+	force 0,pdata
+	branch calc_skip_bt
+calc_bt_portion:
+	fetcht 2,mem_param_rt_rthalfslot
+	force 0,pdata
+calc_slot_offset_loop:
+	iadd temp,pdata
+	loop calc_slot_offset_loop
+calc_skip_bt:
+	iadd contr,pdata			
+	div pdata,12
+	call get_div_result
+	store 2,mem_slot_offset
+	rtn
+
+calc_clke_offset:
+	bpatch patch0f_1,mem_patch0f
+	deposit clke
+	copy clkn,temp
+	isub temp,null
+	nsetflag positive,44,pdata
+	isub temp,temp
+	fetch 2,mem_param_rt_rthalfslot
+	isolate0 15,temp
+	branch calc_clke_pos,true
+	copy temp,alarm
+	arg 0x10000,temp
+	fetch 2,mem_param_rt_rthalfslot
+	isub temp,pdata
+	iadd alarm,temp
+	
+calc_clke_pos:
+	storet 6,mem_le_clk_offset
+	rtn le
+	storet 6,mem_clk_offset
+	rtn
+
+calc_clke:
+	disable clknt
+	fetch 6,mem_le_clk_offset
+	branch calc_clke2,le
+	fetch 6,mem_clk_offset
+calc_clke2:
+	iadd clkn,alarm
+	increase 10,alarm
+	fetch 2,mem_param_rt_rthalfslot
+	isub alarm,pdata
+	isolate0 15,pdata
+	branch calc_clke_pos_adj,true
+	setarg 0x10000
+	fetchr regd,2,mem_param_rt_rthalfslot
+	isub regd,pdata
+	iadd alarm,alarm
+calc_clke_pos2:
+	copy alarm,clke
+	rtn
+calc_clke_pos_adj:		
+	force 0,null
+	branch calc_clke_pos2
+	
+
+
+
+
+calc_mod_value_scale:
+	branch calc_mod_value_scale_le2,le
+	setarg 0x402c17
+	store 3,mem_scale_ratio
+	rshift16 access,pdata
+	rshift3 pdata,temp
+	arg 48,loopcnt
+calc_mod_value_scale_do:
+	setarg 0
+	store 3,mem_xcnt
+calc_mod_vs_loop:
+	rshift temp,pdata
+	ixor temp,pdata
+	and_into 3,pdata
+	bbit0 1,calc_mod_vs01
+	pincrease -1
+calc_mod_vs01:
+	arg mem_xcnt,contw
+	iadd contw,contw
+	ifetch 1,contw
+	pincrease 1
+	istore 1,contw
+	rshift temp,temp
+	loop calc_mod_vs_loop
+	arg mem_xcnt+2,rega
+	arg mem_scale_ratio,regb
+	arg 0,regc
+	arg 3,loopcnt
+calc_mod_vs_loop2:
+	ifetch 1,rega
+	ifetcht 1,regb
+	imul32 temp,pdata
+	iadd regc,regc
+	increase -1,rega
+	increase 1,regb
+	loop calc_mod_vs_loop2
+	fetch 1,mem_scale_ratio+1
+	lshift8 pdata,pdata
+	lshift4 pdata,pdata
+	idiv regc
+	call wait_div_end
+	quotient pdata
+	store 2,mod_value_scale1
+	store 2,mem_scale_ratio_temp
+	rtn
+
+calc_mod_value_scale_le2:
+	fetch 2,mem_scale_ratio_temp
+	store 2,mod_value_scale1
+	rtn
+
+calc_mod_value_scale_le:
+	setarg 0x402d19
+	store 3,mem_scale_ratio
+	rshift32 access,pdata
+	rshift3 pdata,temp
+	arg 32,loopcnt
+	branch calc_mod_value_scale_do
+
+calc_radio_freq:
+	bpatch patch0f_2,mem_patch0f
+	call set_sync_on
+	copy bt_clk,pdata
+	and_into 0x180,pdata
+	compare 3,freq_mode,0x07
+	nbranch freq_not_connection,true    
+	rshift3 pdata,pdata
+	iadd freq_index,pdata
+	branch do_hop_mod_now
+freq_not_connection:	
+	copy freq_index,pdata
+do_hop_mod_now:
+	div pdata,79
+	pulse recalc         
+	call wait_div_end
+	remainder rega
+	add rega,-40,temp
+	branch odd_half,positive
+	lshift rega,temp
+	branch freq_result
+odd_half:
+	lshift temp,temp
+	increase 1,temp
+freq_result:	
+	bpatch patch0f_3,mem_patch0f
+	fetch 1,mem_mode
+	bbit0 afh_change,afh_process_con
+afh_process_0:	
+	fetch 4, mem_afh_instant   
+	isub bt_clk, null
+	branch afh_process_con,positive
+	call afh_clear
+	fetch 1,mem_afh_new_mod
+	rtn blank
+	fetch 1,mem_mode
+	set1 afh_enable,pdata
+	store 1,mem_mode
+	fetch 5,mem_afh_map_new
+	store 5,mem_afh_map_lo
+	ifetch 5,contr
+	store 5,mem_afh_map_hi
+	call afh_process_freq_map
+afh_process_con:
+	fetch 1,mem_mode
+	rtnbit0 afh_enable
+	isolate1 1,bt_clk
+	branch afh_same_channel,true	
+	rshift3 temp,rega
+	and temp,7,queue
+	setarg mem_afh_map_lo  
+	iadd rega, rega
+	ifetch 1, rega
+	qisolate0 pdata
+	branch afh_process_1,true		
+	deposit temp
+	branch afh_process_end
+afh_process_1:
+	fetch 1, mem_afh_used
+	iforce regb                     
+	deposit bt_clk
+	and_into 0x180, pdata
+	rshift3 pdata,pdata
+	iadd freq_index,pdata
+	idiv regb
+	setarg mem_afh_map     
+	call wait_div_end
+	remainder rega
+	iadd rega,contr
+	ifetch 1,contr
+afh_process_end:	
+	store 1,mem_afh_index
+	iforce temp  
+  	rtn
+
+afh_same_channel:
+	fetch 1, mem_afh_index           
+	iforce temp
+	rtn
+
+afh_clear:
+	fetch 1,mem_mode
+	set0 afh_enable,pdata
+	set0 afh_change,pdata
+	store 1,mem_mode
+	rtn
+afh_process_freq_map:
+	bpatch patch0f_4,mem_patch0f
+	arg mem_afh_map,contw
+	force 10,loopcnt
+	call memset0
+	arg mem_afh_map,contw
+	force 0,regc
+	force 2,queue
+process_freq_3:	
+	fetch 5,mem_afh_map_lo
+	iforce temp
+	compare 2,queue,0xff
+	branch process_freq_1,true
+	rshift temp,temp
+process_freq_1:	
+	isolate0 0,temp
+	branch process_freq_0,true
+	deposit regc
+	istore 1,contw
+process_freq_0:
+	rshift2 temp,temp
+	increase 2,regc
+	compare 40,regc,0xfe
+	nbranch process_freq_2,true
+	fetch 5,mem_afh_map_hi
+	iforce temp
+	compare 2,queue,0xff
+	branch process_freq_2,true
+	rshift temp,temp
+process_freq_2:	
+	sub regc,78,null
+	branch process_freq_1,positive
+	force 1,regc
+	increase -1,queue
+	nbranch process_freq_3,zero
+	arg mem_afh_map,rega
+	deposit contw
+	isub rega,pdata
+	store 1,mem_afh_used
+	rtn
+
+rx_radio_freq:
+	bpatch patch0f_5,mem_patch0f
+	call calc_radio_freq
+	fetch 1,mem_debug_config
+	bbit0 debug_rx_fixed_freq,rx_radio_freq_now
+	fetcht 1,mem_rx_fixed_freq
+rx_radio_freq_now:
+	branch set_freq_rx
+	
+
+tx_radio_freq:
+	bpatch patch0f_6,mem_patch0f
+	call calc_radio_freq
+	fetch 1,mem_debug_config
+	bbit0 debug_tx_fixed_freq,tx_radio_freq_now
+	fetcht 1,mem_tx_fixed_freq
+tx_radio_freq_now:
+	branch set_freq_tx
+	
+
+fetch_giac:
+	force 0,uap
+	fetch 3,mem_glap
+	iforce lap
+	rtn
+
+fetch_page_bt_adr:
+	bpatch patch0f_7,mem_patch0f
+	fetch 1,mem_hci_puap
+	icopy uap
+	fetch 3,mem_hci_plap
+	icopy lap
+	rtn
+
+fetch_self_bt_adr:
+	bpatch patch10_0,mem_patch10
+	fetch 2,mem_nap
+	icopy nap
+	fetch 1,mem_uap
+	icopy uap
+	fetch 3,mem_lap
+	icopy lap                 
+	rtn
+
+fetch_extm_bt_adr:
+	bpatch patch10_1,mem_patch10
+	fetch 2,mem_pnap
+	icopy nap
+	fetch 1,mem_puap
+	icopy uap
+	fetch 3,mem_plap
+	icopy lap         
+	rtn
+
+
+fetch_diac:
+	bmark1 mark_all_diac,fetch_diac_do
+	rtnmark0 mark_inquiry_state
+	rtnmark0 mark_periodical_diac
+fetch_diac_do:
+	and_into -256,lap
+	pulse recalc
+	nop 32
+	rtn
+
+
+shutdown_radio:
+	bpatch patch10_2,mem_patch10
+	call rf_debug_shutdown_radio_line	//L-H-L
+	force 0x08,radio_ctrl
+	force 0,radio_ctrl
+	disable is_rx
+	disable is_tx
+	pulse packet_end
+	jam 0x5,modem_en
+	nop 2
+	jam 0x0,modem_en
+	call set_sync_on
+	jam 0,core_syn_en
+	jam 0x10,core_rf_ldo_en0
+	fetch 1,core_clkpll_cfg6
+	set0 7,pdata
+	store 1,core_clkpll_cfg6
+	jam 0,core_rf_ldo_en1
+	branch gain_control
+
+
+
+set_sync_on:
+	bpatch patch10_3,mem_patch10
+	jam 0x5,modem_en
+	nop 2
+	jam 0x0,modem_en					
+	fetch 1,mem_fcomp_div
+	beq XTAL_24M,set_sync_on_24m
+	beq XTAL_16M,set_sync_on_16m
+set_sync_on_24m:
+	jam 0xaa,core_rf_ldo_cfg4
+	jam 0xaa,core_rf_ldo_cfg5
+	jam 0x15,core_rf_ldo_cfg6
+	
+	jam 0x78,core_rf_ldo_en0 //ldo en
+	fetch 1,core_clkpll_cfg6
+	set1 7,pdata
+	store 1,core_clkpll_cfg6
+	jam 0x04,core_rf_ldo_en1
+	nop 60
+	jam 0x7a,core_syn_en //module en
+	jam 0,core_rx_en0
+	jam 0,core_rx_en1    
+	jam 0,core_tx_en0
+	jam 0,core_tx_en1
+
+	jam 0x2a,core_rf_ldo_cfg5  //ldo bleeding current disable
+	jam 0x78,core_rf_ldo_en0
+set_sync_on_next:
+	fetch 1,core_clkpll_cfg6
+	set0 7,pdata
+	store 1,core_clkpll_cfg6
+	jam 0,core_syn_cal_ctrl
+	rtn
+
+set_sync_on_16m:
+	jam 0xe6,core_syn_aac_cfg1
+
+	jam 0xaa,core_rf_ldo_cfg4
+	jam 0xaa,core_rf_ldo_cfg5
+	jam 0x15,core_rf_ldo_cfg6
+	
+	jam 0x78,core_rf_ldo_en0 //ldo en
+	fetch 1,core_clkpll_cfg6
+	set1 7,pdata
+	store 1,core_clkpll_cfg6
+	jam 0x04,core_rf_ldo_en1
+	nop 60
+	jam 0x3a,core_syn_en //module en
+	jam 0,core_rx_en0                 
+	jam 0,core_rx_en1       
+	jam 0,core_tx_en0
+	jam 0,core_tx_en1
+
+	jam 0x2a,core_rf_ldo_cfg5  //ldo bleeding current disable
+	jam 0x38,core_rf_ldo_en0
+	branch set_sync_on_next
+
+set_freq_rx:
+	bpatch patch10_4,mem_patch10
+	
+	fetch 1,mem_fcomp_div
+	sub pdata,XTAL_24M,null
+	call rf_rx_write_freq_24m,zero
+	ncall rf_rx_write_freq_16m,zero
+
+	storet 1,mem_last_freq
+	add temp,0,pdata
+	bmark1 mark_ble_2M,set_rxfreq_2M_offset
+	add temp,1,pdata
+set_rxfreq_2M_offset:
+	call rf_rx_write_freq
+	branch calc_mod_value_scale
+
+
+rf_rx_write_freq_24m:
+	jam 0,core_syn_cal_ctrl
+	jam 0x04,core_syn_top_ctrl
+	jam 0,core_syn_mmd_cp_ctrl
+	jam 0x03,core_syn_cp_lpf_cfg
+	jam 0x40,core_syn_afc_cfg3
+	rtn
+rf_rx_write_freq_16m:
+	jam 0x30,core_syn_cal_ctrl
+	jam 0x06,core_syn_top_ctrl
+	jam 0,core_syn_mmd_cp_ctrl
+	jam 0x20,core_syn_cp_lpf_cfg
+	jam 0x15,core_syn_afc_cfg3
+	rtn
+
+rf_rx_enable:
+	bpatch patch10_5,mem_patch10
+	call rf_debug_rx_gpio_high
+	
+	fetch 1,mem_gain_fix
+	beq 0xff,rf_rx_enable_no_soft_agc 
+	arg mem_gain_table,contr
+	iadd contr,contr
+	ifetch 1,contr
+	store 1,core_rf_rx_gain_fix
+	jam 0x27,core_rf_rx_agc_ctrl
+	
+rf_rx_enable_no_soft_agc:
+	fetcht 1,mem_gain_second_agc_en	//0x00 or 0x08
+	fetch 1,core_rf_rx_agc_ctrl
+	ior temp,pdata
+	store 1,core_rf_rx_agc_ctrl
+
+	jam 0xaa,core_rf_ldo_cfg4 //ldo config set
+	jam 0x2a,core_rf_ldo_cfg5
+	jam 0x13,core_rf_ldo_cfg6
+	jam 0x7f,core_rf_ldo_en0
+	fetch 1,core_clkpll_cfg6
+	set0 7,pdata
+	store 1,core_clkpll_cfg6
+	nop 60
+	jam 0x1f,core_rx_en0
+	jam 0xf8,core_rx_en1
+	jam 0x18,core_tx_en0
+	jam 0x00,core_rf_ldo_cfg4
+	jam 0x20,core_rf_ldo_cfg5
+	nop 10
+	jam 0x04,modem_en
+	nop 2
+	jam 0x0c,modem_en
+	rtn
+
+
+	
+rf_rx_write_freq:
+	bpatch patch10_6,mem_patch10
+	arg 2400,contr
+	iadd contr,pdata
+	fetcht 1,mem_fcomp_div
+	branch rf_write_freq_calc
+
+	
+rf_tx_write_freq:
+	bpatch patch10_7,mem_patch10
+	fetch 1,mem_fcomp_div
+	sub pdata,XTAL_24M,null
+	call rf_tx_write_freq_24m,zero
+	ncall rf_tx_write_freq_16m,zero
+	
+	setarg 2400
+	iadd rega,pdata
+	lshift pdata,pdata
+	fetcht 1,mem_fcomp_div
+	mul32 temp,0x03,temp
+rf_write_freq_calc:	
+	lshift temp,temp
+	idiv temp
+	call wait_div_end
+	quotient pdata
+	store 1,core_syn_divr_int
+	remainder pdata		
+	lshift16 pdata,pdata
+	lshift8 pdata,pdata
+	idiv temp
+	call wait_div_end
+	quotient pdata
+	store 1,core_syn_divr_int+3
+	rshift8 pdata,pdata
+	store 1,core_syn_divr_int+2
+	rshift8 pdata,pdata
+	store 1,core_syn_divr_int+1
+	fetcht 1,core_syn_cal_ctrl		//reg syn_cal_ctrl[3:0] = 2??￥b0000, reset
+	and_into 0xf0,temp
+	storet 1,core_syn_cal_ctrl
+	nop 12
+	fetch 1,mem_fcomp_div
+	beq XTAL_24M,rf_write_freq_calc_24m
+	beq XTAL_16M,rf_write_freq_calc_16m
+rf_write_freq_calc_24m:	
+	or_into 0x0c,temp
+	storet 1,core_syn_cal_ctrl
+	nop 12
+	or_into 0x03,temp
+	storet 1,core_syn_cal_ctrl
+	rtn
+
+rf_write_freq_calc_16m:
+	or_into 0x3c,temp
+	storet 1,core_syn_cal_ctrl
+	nop 12
+	or_into 0x33,temp
+	storet 1,core_syn_cal_ctrl
+	rtn
+
+
+rf_tx_write_freq_24m:
+	jam 0,core_syn_cal_ctrl
+	jam 0x12,core_syn_top_ctrl
+	jam 0,core_syn_mmd_cp_ctrl
+	jam 0x03,core_syn_cp_lpf_cfg
+	jam 0xa6,core_syn_aac_cfg1
+	jam 0x40,core_syn_afc_cfg3
+	rtn
+
+rf_tx_write_freq_16m:
+	jam 0x30,core_syn_cal_ctrl
+	jam 0x15,core_syn_top_ctrl
+	jam 0,core_syn_mmd_cp_ctrl
+	jam 0x20,core_syn_cp_lpf_cfg
+	jam 0xa6,core_syn_aac_cfg1
+	jam 0x15,core_syn_afc_cfg3
+	rtn
+
+
+set_freq_tx:
+	bpatch patch11_0,mem_patch11
+
+	jam 0x12,core_syn_top_ctrl
+	storet 1,mem_last_freq
+	add temp,2,rega
+	call rf_tx_write_freq
+	nop 0x3c0
+
+txon:
+	bpatch patch11_1,mem_patch11
+	
+	jam 0xaa,core_rf_ldo_cfg4 //ldo config set
+	jam 0x2a,core_rf_ldo_cfg5
+	jam 0x10,core_rf_ldo_cfg6
+	
+	jam 0x7f,core_rf_ldo_en0	//ldo en
+	fetch 1,core_clkpll_cfg6
+	set0 7,pdata
+	store 1,core_clkpll_cfg6
+	jam 0x07,core_rf_ldo_en1 
+	nop 60
+
+	jam 0x0d,core_tx_en0
+	jam 0xf9,core_tx_en1		// reg tx_en1[7:0] = 8??￥b11011001
+	jam 0x00,core_rf_ldo_cfg4
+	jam 0x20,core_rf_ldo_cfg5
+	nop 10
+	jam 0x01, modem_en
+	nop 2
+	jam 0x03, modem_en
+	
+	bpatch patch11_2,mem_patch11
+	fetch 1,mem_tx_power
+	beq TX_POWER_3DB,set_tx_power_3db
+	beq TX_POWER_5DB,set_tx_power_5db
+	beq TX_POWER_6DB,set_tx_power_6db
+	beq TX_POWER_7DB,set_tx_power_7db
+	beq TX_POWER_10DB,set_tx_power_10db
+	beq TX_POWER_F3DB,set_tx_power_f3db
+	beq TX_POWER_F5DB,set_tx_power_f5db
+	beq TX_POWER_F20DB,set_tx_power_f20db
+	beq TX_POWER_F30DB,set_tx_power_f30db
+set_tx_power_0db:
+	jam 0x6a,core_tx_pwr_ctrl0
+	jam 0x07,core_tx_pwr_ctrl1
+set_rf_ldo_cfg89:
+	jam 0xa3,core_rf_ldo_cfg8
+	jam 0x07,core_rf_ldo_cfg9
+	rtn
+
+set_tx_power_3db:
+	jam 0x66,core_tx_pwr_ctrl0
+	jam 0x0b,core_tx_pwr_ctrl1
+set_rf_ldo_cfg89_2:
+	jam 0xaa,core_rf_ldo_cfg8
+	jam 0x0a,core_rf_ldo_cfg9
+	rtn
+
+set_tx_power_5db:
+	jam 0x6c,core_tx_pwr_ctrl0
+	jam 0x0d,core_tx_pwr_ctrl1
+	branch set_rf_ldo_cfg89_2
+
+set_tx_power_6db:
+	jam 0x6b,core_tx_pwr_ctrl0
+	jam 0x0f,core_tx_pwr_ctrl1
+	branch set_rf_ldo_cfg89_2
+
+set_tx_power_7db:
+	jam 0xa7,core_tx_pwr_ctrl0
+	jam 0x0f,core_tx_pwr_ctrl1
+	branch set_rf_ldo_cfg89_2
+
+set_tx_power_10db:
+	jam 0xb6,core_tx_pwr_ctrl0
+	jam 0x0f,core_tx_pwr_ctrl1
+	branch set_rf_ldo_cfg89_2
+
+set_tx_power_f3db:
+	jam 0x68,core_tx_pwr_ctrl0
+	jam 0x05,core_tx_pwr_ctrl1
+	branch set_rf_ldo_cfg89
+	
+set_tx_power_f5db:
+	jam 0x60,core_tx_pwr_ctrl0
+	jam 0x05,core_tx_pwr_ctrl1
+	branch set_rf_ldo_cfg89
+
+set_tx_power_f20db:
+	jam 0x53,core_tx_pwr_ctrl0
+	jam 0x01,core_tx_pwr_ctrl1
+	branch set_rf_ldo_cfg89
+
+set_tx_power_f30db:
+	jam 0x4c,core_tx_pwr_ctrl0
+	jam 0x00,core_tx_pwr_ctrl1
+	branch set_rf_ldo_cfg89
+
+
+initialize_radio:
+	jam clksel_rc,core_clksel
+initialize_radio_wait:
+	fetch 2,mem_rf_init_ptr
+	bbit0 14,initialize_radio_wait
+	iforce contr
+	arg 0x8a00,temp
+initialize_radio_loop:
+	ifetch 1,contr
+	beq 0xff,initialize_radio_cont
+	ior temp,contw
+	ifetch 1,contr
+	istore 1,contw
+	branch initialize_radio_loop
+	
+initialize_radio_cont:
+	bpatch patch11_3,mem_patch11
+	jam 0x05,core_clkpll_cfg0
+	jam 0x94,core_rx_iqadc_cfg
+	call initialize_rc_cal
+	call initialize_rf_ldo_cfg1
+	call initialize_syn_afc_cfg1
+	jam 0xe6,core_syn_aac_cfg1
+
+	//optimize RX SX pn
+	jam 0x90,core_syn_pfd_lkd_cfg
+	jam 0x0b,core_rf_ldo_cfg2
+	jam 0x05,core_rf_ldo_cfg3
+
+	//Improve auto agc
+	jam 0x76,core_agc_wb_sat_th
+	jam 0x76,core_agc_nb_sat_th
+
+	fetch 1,mem_fcomp_div
+	bne XTAL_16M,initialize_radio_cont_next
+	jam 0x34,core_clkpll_cfg5		//16M XTAL
+initialize_radio_cont_next:
+	jam 0xff,core_clkpll_ctrl1
+	nop 100
+	jam 0x0e,core_clkpll_ctrl2
+	jam 0x03,core_clkpll_ctrl0
+	
+	call set_tx_power_0db
+	
+	jam 0x2b,core_tx_mixer_cfg1
+	jam 0x13,core_tx_mixer_cfg2
+
+	call init_lpm_ctrl
+	nop 10
+	jam clksel_dpll,core_clksel
+	jam SYSTEM_CLK_12M,mem_system_clk
+	branch le_disable
+
+
+initialize_syn_afc_cfg1:
+	fetch 1,mem_syn_afc_cfg1
+	branch initialize_syn_afc_cfg1_default,blank
+	or_into 0x20,pdata
+	store 1,core_syn_afc_cfg1
+	rtn
+initialize_syn_afc_cfg1_default:
+	jam 0x29,core_syn_afc_cfg1
+	rtn
+
+initialize_rf_ldo_cfg1:
+	fetch 1,mem_rf_ldo_cfg1
+	branch initialize_rf_ldo_cfg1_default,blank
+	store 1,core_rf_ldo_cfg1
+	rtn
+initialize_rf_ldo_cfg1_default:
+	jam 0x00,core_rf_ldo_cfg1
+	rtn
+
+initialize_rc_cal:
+	fetch 1,mem_rc_cal
+	branch initialize_rc_cal_default,blank
+	store 1,core_rx_bq_bw_cal
+	rtn
+initialize_rc_cal_default:
+	jam 0xd3,core_rx_bq_bw_cal
+	rtn
+
+
+
+	
+	
+save_rssi:
+	bpatch patch11_4,mem_patch11
+	jam 0x20,mem_rssi_hex
+	fetch 1,modem_rssi
+	store 1,mem_modem_rssi
+	sub pdata,0xfc,null
+	nrtn positive
+	sub pdata,0x7f,null
+	rtn positive
+
+	fetch 1,modem_gain
+	and pdata,0x0f,temp
+	lshift temp,temp
+	rshift4 pdata,pdata
+	iadd temp,temp
+	mul32 temp,3,temp
+	fetch 1,mem_modem_rssi
+	sub pdata,0xff,pdata
+	iadd temp,pdata 
+	increase -5,pdata
+	store 1,mem_rssi_hex
+	rtn
+
+rssi_hex2dec:
+	fetch 1,mem_rssi_hex
+	call bcd
+	store 1,mem_rssi			
+	rtn
+
+bcd:
+	and_into 0xff,pdata
+	div pdata,10
+	call get_div_result
+	lshift4 pdata,pdata
+	remainder temp
+	ior temp,pdata
+	rtn
+
+gain_control:
+	fetch 1,mem_gain_fix
+	rtneq 0xff
+	nbranch  gain_increase,sync
+	fetch 1,mem_modem_rssi
+	sub pdata,0xf0,null
+	nbranch gain_descend,positive
+	sub pdata,0x7f,null
+	branch gain_descend,positive
+	
+	fetchr rega, 1,core_rf_rx_gain_fix
+	fetch 1,mem_gain_fix
+	rtneq 0	
+	arg mem_gain_table,contr
+	iadd contr,contr
+	ifetch 1,contr
+	isub rega,null
+	nrtn zero
+	increase -2,contr
+	ifetcht  1,contr
+	rshift4 temp,pdata
+	rshift4 rega,regb
+	isub regb,regb
+	and temp,0xf,pdata
+	and rega,0xf,rega
+	isub rega,rega
+	lshift rega,pdata
+	iadd regb,regb
+	mul32 regb,3,regb
+	fetcht 1,mem_modem_rssi
+	and temp,0x80,pdata
+	rtn blank
+add_negative:
+	setarg 0x100
+	isub temp,temp
+	copy regb,pdata
+	isub temp,pdata
+	rtn positive
+	and pdata,0xff,pdata
+	rtneq 0xff
+	rtneq 0xfe
+	
+gain_increase:	
+	fetch 1,mem_gain_fix
+	beq 1,set_rx_gain0
+	beq 2,set_rx_gain1
+//	beq 0,set_rx_gain0
+	branch set_rx_gain0
+	
+gain_descend:
+	fetch 1,mem_gain_fix
+	beq 0,set_rx_gain1
+	beq 1,set_rx_gain2
+//	beq 2,set_rx_gain2
+set_rx_gain2:
+	jam 2,mem_gain_fix
+	rtn
+
+set_rx_gain0:
+	jam 0,mem_gain_fix
+	rtn
+	
+set_rx_gain1:
+	jam 1,mem_gain_fix
+	rtn
+
+	
+xtal_fast_wake:
+	setarg 0xf0f
+	branch lpm_write_config
+
+init_lpm_ctrl:
+	setarg 0x80f
+	branch lpm_write_config
+
+
+
+start_receiver:
+	bpatch patch11_5,mem_patch11
+	disable is_tx
+	enable is_rx
+	pulse init_encrypt
+	branch rf_rx_enable
+
+prep_crypt:
+	bpatch patch11_6,mem_patch11
+	call check_enc_ccm
+	nbranch prep_crypt_ccm, blank	
+	fetch 1,mem_state_map
+	isolate1 smap_encryption,pdata
+	setflag true,0,pdata
+	store 1,core_encrypt
+	arg mem_kc,contr
+	ifetch 9,contr
+	iforce kc_ls
+	ifetch 7,contr
+	iforce kc_ms
+	fetch 1,mem_key_size
+	add pdata,-1,g1l
+	pulse kc_p_activate               
+	rtn
+
+prep_crypt_ccm:
+	jam 0,core_encrypt
+	rtn
+	
+wait_access_end:
+	deposit clke
+	store 6,mem_sync_clke
+	disable decode_fec0
+	nbranch shutdown_radio,sync
+	fetch 2,mem_param_clke_cal
+	copy pdata,clke_rt
+	increase 1,clke_bt
+	and_into 0x1fc,clke_bt
+	rtn
+
+
+
+wait_access_mhalfbnd:
+	enable decode_fec0
+wait_access_mhalfbnd_correlate:
+	correlate null,mhalfbnd    
+	branch wait_access_end,sync
+	compare 0x02,clke_bt,0x02
+	nbranch wait_access_mhalfbnd_correlate,true
+	branch wait_access_end
+
+wait_access_clkn_rt:
+	bpatch patch11_7,mem_patch11
+	fetchr timeup,2,mem_param_conn_access	
+	enable decode_fec0
+	correlate clkn_rt,meet    
+	disable decode_fec0
+	nbranch shutdown_radio,sync
+	rtn
+
+wait_access_forever:
+	bpatch patch12_0,mem_patch12
+	enable decode_fec0
+	correlate null,timeout    
+	disable decode_fec0
+	nbranch shutdown_radio,sync
+	fetch 2,mem_param_clke_cal
+	copy pdata,clke_rt
+	and_into 0x1fc,clke_bt
+	rtn
+
+	
+reserve_slot:
+	bpatch patch12_1,mem_patch12
+	iforce rega
+	deposit bt_clk
+	iadd temp,timeup
+	copy timeup,pdata
+	store 4,mem_next_btclk
+	deposit rega
+	rtn
+
+	
+ahead_window:
+	copy pdata,temp
+	bpatch patch12_2,mem_patch12
+	copy temp,pdata
+	call clk2bt
+	lshift16 bt_clk,pdata
+	set1 44,pdata
+	call clk_diff
+	set0 44,pdata
+	call get_clk
+	call clk_diff
+	rtn user
+	call clk2rt
+	iforce stop_watch
+	until null,timeout
+	rtn
+
+
+setup_clk:
+	bpatch patch12_3,mem_patch12
+	branch setup_clkn,clknt
+	until clke_rt,meet
+skip_setup_clke:
+	copy clke_bt,temp
+	branch setup_clknbt
+setup_clkn:
+	branch skip_setup_clkn,attempt
+	until clkn_rt,meet
+skip_setup_clkn:
+	copy clkn_bt,temp
+setup_clknbt:
+	branch setup_clk11,user
+	compare 1,temp,3
+	nbranch setup_clk,true
+setup_complete:
+	bpatch patch12_4,mem_patch12
+	fetch 1,mem_state
+	rtnbit0 state_inconn
+	fetch 4,mem_next_btclk
+	isub temp,pdata
+	nrtn positive
+	sub pdata,0xff,null
+	branch setup_clk,positive
+	rtn
+setup_clk11:
+	compare 3,temp,3
+	nbranch setup_clk,true
+	branch setup_complete
+
+rf_setup_time:
+	bpatch patch12_5,mem_patch12
+	fetchr timeup,2,mem_param_rf_setup
+	branch setup_clk
+	
+rf_setup_time_slave_slot:
+	disable user
+	branch rf_setup_time
+
+rf_setup_time_master_slot:
+	enable user
+	branch rf_setup_time
+	
+start_transmitter:
+	bpatch patch12_6,mem_patch12
+	call prep_crypt
+	disable is_rx
+	enable is_tx
+	rtn
+
+
+
+start_tx_native:
+	bpatch patch12_7,mem_patch12
+	fetchr timeup,2,mem_param_tx_setup
+	until clkn_rt,meet         
+	pulse init_encrypt
+	rtn
+
+start_rx_native:
+	bpatch patch13_0,mem_patch13
+	fetchr timeup,2,mem_param_rx_setup
+	until clkn_rt,meet
+	rtn
+
+
+start_tx_external:
+	bpatch patch13_1,mem_patch13
+	fetchr timeup,2,mem_param_tx_setup
+	until clke_rt,meet         
+	pulse init_encrypt
+	rtn
+
+send_access_word:
+	bpatch patch13_2,mem_patch13
+	call rf_debug_tx_on_line	//H
+	preload access          
+	enable encode_fec0
+	set1 TXGFSK,radio_ctrl
+	inject mod,72
+	disable encode_fec0
+	rtn
+
+
+scan_mode_whiten:
+	copy xin,temp
+	or_into 0x60,temp                
+	copy temp,white_init
+	rtn
+
+
+
+	
+get_free_amaddr:
+	bpatch patch13_3,mem_patch13
+	fetch 1,mem_current_amaddr
+	increase 1,pdata
+	bne param_esco_addr,get_free_amaddr_cont
+	force 1,pdata
+get_free_amaddr_cont:
+	store 1,mem_current_amaddr
+	iforce am_addr
+	rtn
+
+get_clk:
+	copy clkn,temp
+	rtn master
+	copy clke,temp
+	rtn
+
+get_clkbt:
+	deposit clkn_bt
+	rtn master
+	deposit clke_bt
+	rtn
+
+
+supervision_update:
+	bpatch patch13_4,mem_patch13
+	fetcht 4,mem_supervision_timer
+	call get_clkbt
+	isub temp,timeup					
+	deposit timeup
+	fetcht 2,mem_supervision_to
+	lshift temp,temp
+	isub temp,pdata
+	rtn
+	
+supervision_flush:
+	bpatch patch13_5,mem_patch13
+	call get_clkbt
+	store 4,mem_supervision_timer
+	rtn
+
+assert:
+	bpatch patch13_6,mem_patch13
+	branch assert
+	
+loop:
+	branch loop
+
+sleep:	
+	rtn blank
+	
+	rshift pdata,pdata
+	increase -3,pdata
+sleep_loop:	
+	increase -1,pdata
+	nbranch sleep_loop,zero
+	force 0,pdata
+	rtn
+
+
+
+init_param:
+	
+	arg 0x10,loopcnt
+	arg 0,contw
+	call memset0
+	arg mem_le_state,contw
+	arg 10,loopcnt
+	call memset0
+	jam 0,mem_sp_calc
+	jam 0,mem_fifo_temp
+	jam 0,mem_le_testtype
+	jam 0,mem_debug_config
+	jam 0,mem_lmp_conn_state
+	jam 0,mem_connection_options
+	jam 0,mem_tester_emulate
+	jam 0,mem_tester_cnt
+	setarg param_glap
+	store 3,mem_glap
+	jam 0x60,mem_fhs_misc		
+	jam param_max_slot,mem_max_slot
+	jam 0x02,mem_fw_ver		
+
+	setarg param_tx_setup
+	store 2,mem_param_tx_setup
+	setarg param_rf_setup
+	store 2,mem_param_rf_setup
+	setarg param_conn_access
+	store 2,mem_param_conn_access
+	setarg param_rx_setup
+	store 2,mem_param_rx_setup
+	setarg param_clke_cal
+	store 2,mem_param_clke_cal
+	setarg param_pll_setup
+	store 2,mem_param_pll_setup
+	setarg param_dpll_start_delay
+	store 2,mem_param_dpll_start_delay
+	setarg param_rt_rthalfslot
+	store 2,mem_param_rt_rthalfslot
+	setarg param_clke_cal_le_1m
+	store 2,mem_param_clke_cal_le_1m
+	setarg param_clke_cal_le_2m
+	store 2,mem_param_clke_cal_le_2m
+	setarg param_clke_cal_le_coded
+	store 2,mem_param_clke_cal_le_coded
+	setarg mem_ble_tx_buff0
+	store 2,mem_ble_l2cap_tx_buff0_ptr
+	setarg mem_ble_l2cap_tx_buff_size
+	store 2,mem_ble_l2cap_tx_buff_size_ptr
+	
+	call init_memp	
+	setarg mem_sp_state_end
+	arg mem_sp_state_start,contw
+	isub contw,loopcnt
+	call clear_mem
+
+	bpatch patch13_7,mem_patch13
+	rtn wake
+	jam BLUETOOTH_CORE_SPECIFICATION_5_0,mem_lmp_version
+	setarg COMPANY_ID_YICHIP
+	store 2,mem_lmp_compid
+	setarg 0x08
+	store 2,mem_lmp_subversion	
+	jam 0x7f ,mem_seqi
+	
+	setarg 0x24
+	store 2,mem_iscan_window
+	store 2,mem_pscan_window
+	setarg 0x200
+	store 2,mem_iscan_interval
+	store 2,mem_pscan_interval
+	setarg 0x20
+	store 2,mem_inq_window
+	store 2,mem_page_window
+	setarg 0x2000
+	store 2,mem_page_to
+	setarg 0x480
+	store 2,mem_rx_window_init
+	setarg 0xc00
+	store 2,mem_rx_window_sniff
+
+	setarg 0xc3f
+	store 2,mem_lpm_xtalcnt+1
+	setarg 0x333
+	istore 2,contw
+	setarg 0x24109d
+	store 3,mem_lpm_ctrl3+1
+	
+	call clear_wake
+	setarg 0
+	store 2,mem_tx_len
+	rshift clkn_bt,pdata
+	store 4,mem_last_clkn
+	rtn
+
+clk24m_init:
+	jam 6,core_clksel
+	jam 1,core_clksel
+	nop 10
+	setarg 7498
+	store 2,core_halfslot
+	rtn
+
+
+
+
+
+lpmstate:
+	setarg 0xee21
+	store 2,core_clkoff			// disable unused peripherals
+	fetch 4,core_gpio_in
+	store 4,mem_saved_gpio_in
+	fetch 1,core_lpm_ctrl+3
+	store 1,mem_wakup_from_power_flag	//power up bit2 = 0
+	fetch 1,core_lpm_ldocnt
+	bbit0 gpio_latch,loadcode		// power up boot
+	enable wake
+	bbit0 cold_wake,lpmwake		
+	disable wake
+	deposit auxcnt
+	nbranch lpmwake,blank		// sleep interrupted, wakeup
+	fetch 1,core_lpm_ctrl+3
+	bbit1 reload_code,lpmwake
+	arg param_hibernate_clks,temp
+	branch lpm_enter_sleep
+lpmwake:
+	fetch 4,core_lpm_ctrl2
+	store 4,core_lpm_reg
+	fetch 1,core_lpm_ctrl2+1
+	and_into 0xe0,pdata			//digital aon ldo vout sel: 1.2v
+	store 1,core_lpm_reg+1
+	call lpm_write_ctrl3
+	fetch 3,core_lpm_xtalcnt
+	store 3,core_lpm_reg
+	ifetch 1,contr
+	or_into isogate_mask,pdata		// open all isolation gate&power switch
+	istore 1,contw
+	call lpm_write_ctrl2
+	fetch 1,core_lpm_isogate
+	set1 enable_retmem,pdata
+	store 1,core_lpm_isogate
+	call lpm_write_ctrl2
+	call lpm_load_context,wake
+	fetch 1,core_lpm_reg+2
+	set0 gpio_latch,pdata			// enable gpio fuction
+	store 1,core_lpm_reg+2
+	call lpm_write_ctrl2
+	nbranch loadcode,wake		// wakeup from hibernate
+	call lpm_save_mpu_lock
+	rtnmark0 mark_otp_encrypt
+	jam lock_otp,core_misc_ctrl	// disable further read/write of key
+	rtn 
+
+lpm_save_mpu_lock:
+	fetch 3,mem_efuse_header
+	rtn blank
+	store 3,mem_tmp_buffer
+	branch app_lpm_peripheral_lock_check
+
+lpm_ctrl3_cfg_dig_vsel:
+	fetch 1,mem_dig_aon_vsel
+	beq 1,lpm_ctrl3_cfg_vsel_108
+	beq 2,lpm_ctrl3_cfg_vsel_096
+	beq 3,lpm_ctrl3_cfg_vsel_084
+lpm_ctrl3_cfg_vsel_120:
+	fetch 1,mem_lpm_ctrl3+1
+	and_into 0xe0,pdata
+lpm_ctrl3_cfg_vsel_store:	
+	store 1,mem_lpm_ctrl3+1
+	rtn
+lpm_ctrl3_cfg_vsel_108:
+	fetch 1,mem_lpm_ctrl3+1
+	and_into 0xe0,pdata
+	or_into 0x1d,pdata
+	branch lpm_ctrl3_cfg_vsel_store
+lpm_ctrl3_cfg_vsel_096:
+	fetch 1,mem_lpm_ctrl3+1
+	and_into 0xe0,pdata
+	or_into 0x1b,pdata
+	branch lpm_ctrl3_cfg_vsel_store
+lpm_ctrl3_cfg_vsel_084:
+	fetch 1,mem_lpm_ctrl3+1
+	and_into 0xe0,pdata
+	or_into 0x17,pdata
+	branch lpm_ctrl3_cfg_vsel_store
+
+lpm_load_context:
+	fetch 1,mem_saved_spidctrl
+	store 1,core_spid_ctrl
+	arg mem_saved_gpio,contr
+	arg core_gpio_conf,contw
+	call memcpy20
+	fetch 8,mem_saved_mark
+	iforce mark
+	fetch 8,core_gpio_wakeup_low
+	store 8,mem_gpio_wakeup_low
+	branch load_ucode
+
+lpm_save_context:
+	deposit mark
+	store 8,mem_saved_mark
+	arg core_gpio_conf,contr
+	arg mem_saved_gpio,contw
+	call memcpy20
+	fetch 1,core_spid_ctrl
+	store 1,mem_saved_spidctrl
+	branch lpm_write_gpio_wakeup
+
+lpo_calibration:
+	fetch 1,core_aes_en
+	rshift4 pdata,pdata
+	nbranch lpo_cal_inited,blank
+	fetch 3,mem_clks_per_lpo
+	nrtn blank
+	fetch 1,core_aes_en
+	or_into 0xc0,pdata
+	store 1,core_aes_en
+	jam ccnt_start,core_misc_ctrl
+lpo_cal_inited:
+	fetch 1,core_perf_status
+	rtnbit0 1
+	fetch 3,core_clk_counter
+	store 3,mem_clks_per_lpo
+	rtn
+
+
+	
+lpm_adjust_clk:
+	bpatch patch14_0,mem_patch14
+	deposit clke
+	call clk_diff_rt
+	fetcht 4,mem_sleep_counter_all
+	sub temp,0xff,null
+	rtn positive				// interval too small
+	lshift8 pdata,pdata
+	lshift4 pdata,pdata
+	idiv temp
+	call get_div_result
+	arg param_lpm_adjmax,temp
+	call ceiling
+	store 1,mem_lpm_adjust
+	nbranch lpm_adjust_positive,user
+	sub pdata,0,pdata
+lpm_adjust_positive:
+	fetcht 3,mem_clks_per_lpo
+	iadd temp,pdata
+	store 3,mem_clks_per_lpo
+lpm_clear_counter:
+	setarg 0
+	store 4,mem_sleep_counter_all
+	rtn
+
+
+	
+//lpm_doze:
+//	fetch 1,mem_lpm_config+2
+//	set1 reload_code,pdata
+//	store 1,mem_lpm_config+2
+//	branch lpm_hibernate_normal
+	
+
+	
+lpm_hibernate:
+	arg param_hibernate_clks,temp
+	fetch 1,mem_lpm_config+1
+	set0 7,pdata					
+	store 1,mem_lpm_config+1
+lpm_hibernate_normal:
+	bpatch patch14_1,mem_patch14
+	call lpm_write_gpio_wakeup
+	fetch 1,mem_lpm_hibernate_switch
+	store 1,mem_lpm_xtalcnt + 4
+	fetch 1,mem_lpm_xtalcnt + 2
+	set1 cold_wake,pdata
+	store 1,mem_lpm_xtalcnt + 2
+
+	
+lpm_sleep:
+	bpatch patch14_2,mem_patch14
+	call xtal_fast_wake
+	fetch 2,mem_cb_before_lpm_sleep
+	call callback_func
+lpm_sleep_skip_cb_function:
+	fetch 4,mem_sleep_counter_all
+	iadd temp,pdata
+	store 4,mem_sleep_counter_all
+	call lpm_save_context
+	call lpm_ctrl3_cfg_dig_vsel
+	fetch 4,mem_lpm_ctrl3
+	copy pdata,regb
+	fetch 5,mem_lpm_xtalcnt
+	store 4,core_lpm_reg
+	rshift32 pdata,rega
+	until null,lpo_edge
+	deposit clkn
+	store 6,mem_sleep_clkn
+	jam lpmreg_sel_ctrl2,core_lpm_wr
+	until null,lpo_edge
+	until null,lpo_edge
+	deposit rega
+	store 1,core_lpm_isogate
+	jam lpmreg_sel_ctrl2,core_lpm_wr
+	until null,lpo_edge
+	until null,lpo_edge
+	storer regb,4,core_lpm_reg
+	jam lpmreg_sel_ctrl3,core_lpm_wr
+lpm_enter_sleep:
+	until null,lpo_edge
+	until null,lpo_edge
+	storet 4,core_lpm_reg
+	jam lpmreg_sel_counter,core_lpm_wr
+	until null,never
+
+
+
+
+lpm_recover_clk:
+	bpatch patch14_3,mem_patch14
+	setarg 0
+	copy auxcnt,null
+	branch lpm_recover_timeout,zero
+	fetch 1,core_lpm_xtalcnt
+	fetcht 1,core_lpm_buckcnt
+	isub temp,null
+	branch lpm_recover_xtal,positive
+	deposit temp
+lpm_recover_xtal:
+	isub auxcnt,pdata
+	increase 1,pdata
+lpm_recover_timeout:
+	increase 10,pdata
+	until null,lpo_edge
+	iadd lpo_time,pdata
+	fetcht 4,mem_sleep_counter
+	iadd temp,pdata
+	fetcht 3,mem_clks_per_lpo
+	imul32 temp,pdata
+	rshift8 pdata,pdata
+	rshift4 pdata,pdata
+	increase param_lpm_fix,pdata
+	fetcht 2,mem_param_rt_rthalfslot
+	idiv temp
+	call get_div_result
+	lshift16 pdata,pdata
+	remainder temp
+	ior temp,pdata
+	fetcht 6,mem_sleep_clkn
+	call clk_add
+	copy temp,clkn
+	fetch 6,mem_context + coffset_clk_offset
+	call calc_clke2
+	deposit clke
+	store 6,mem_pdatatemp
+	deposit auxcnt
+	istore 1,contw
+	fetch 1,core_gpio_in1
+	or_into 0xf0,pdata
+	istore 1,contw
+	rtn
+	
+lpm_dispatch:
+	bpatch patch14_4,mem_patch14
+	call lpo_calibration
+	fetch 3,mem_clks_per_lpo
+	rtn blank
+	fetch 1,mem_lpm_mode
+	rtn blank
+	fetch 1,mem_ssp_enable
+	branch lpm_dispatch_next,blank
+	fetch 1,mem_sp_local_key_invalid	// simple pairing is not ready
+	rtn blank
+lpm_dispatch_next:
+	fetch 1,mem_sc_calc
+	nrtn blank	
+	arg context_check_a_wack,regc
+	call context_search
+	rtn zero
+	call lpm_check_wake_lock
+	nrtn blank
+	fetch 1,mem_context
+	compare 3,pdata,0x7							
+	nbranch lpm_dispatch_unconn,true
+	fetch 2,mem_context + coffset_tsniff		
+	rtn blank																
+	rtn wake
+	bpatch patch14_5,mem_patch14
+lpm_dispatch_next2:
+	fetcht 1,mem_lpm_current_mult
+	fetch 2,mem_context + coffset_tsniff
+	imul32 temp,pdata
+	rshift4 temp,temp
+	rshift2 temp,temp
+	isub temp,pdata
+	fetcht 4,mem_context + coffset_sniff_anchor
+	iadd temp,pdata
+	fetcht 1,mem_lpm_overhead
+	isub temp,pdata
+	lshift16 pdata,alarm
+	bpatch patch14_6,mem_patch14
+	fetch 2,mem_context + coffset_rx_window
+	rshift pdata,pdata
+	call clk2bt
+	deposit alarm
+	call clk_diff
+	copy clke,temp
+	call clk_diff_rt
+	rtn user
+lpm_dispatch_sleep:
+	call clk2lpo
+lpm_dispatch_lpo:
+	bpatch patch14_7,mem_patch14
+	fetch 1,mem_lpm_xtalcnt
+	isub temp,null
+	branch lpm_clear_counter,positive
+	storet 4,mem_sleep_counter
+	call app_will_enter_lpm
+	call l2cap_lpm_save_txbuf
+	fetcht 4,mem_sleep_counter
+	branch lpm_sleep
+	
+lpm_dispatch_unconn:
+	bpatch patch15_0,mem_patch15
+	fetch 1,mem_context
+	rtnbit1 state_inconn					// wont sleep in connection
+	rtnbit1 state_inpage					// wont sleep when paging
+	fetch 1,mem_ssp_enable
+	branch lpm_unconn_nossp,blank
+	fetch 1,mem_sp_local_key_invalid	// simple pairing is not ready
+	rtn blank
+lpm_unconn_nossp:
+	fetch 1,mem_le_adv_enable
+	nbranch lpm_unconn_cont,blank
+	fetch 1,mem_scan_mode
+	rtn blank
+lpm_unconn_cont:
+	fetch 2,mem_lpm_interval
+	rtn blank
+lpm_sleep_btclk:
+	fetcht 1,mem_lpm_overhead
+	isub temp,pdata
+	arg 7500,temp				
+	imul32 temp,pdata
+	branch lpm_dispatch_sleep
+
+lpm_set_mult:
+	bpatch patch15_1,mem_patch15
+	disable wake
+	fetch 1,mem_state
+	rtnbit0 state_insniff
+	nbranch lpm_not_match,match
+	call lpm_match
+	fetch 2,mem_rx_window_sniff
+	store 2,mem_rx_window
+	fetch 1,mem_arq
+	bbit1 wack,lpm_mult_short
+	bmark0 mark_lpm_mult_enable,lpm_mult_short
+	call l2cap_malloc_is_fifo_empty
+	nbranch lpm_mult_short,blank
+	fetch 1,mem_classic_bt_flag
+	bbit1 SHORT_MULT_FLAG,lpm_mult_short
+lpm_mult_wait_timeout:
+	fetch 2,mem_cb_bt_set_mult
+	call callback_func
+	nbranch lpm_mult_short,blank
+	jam 0,mem_lpm_current_mult
+	bmark0 mark_lpm_mult_enable,lpm_mult_short
+	fetch 1,mem_lpm_mult_cnt
+	branch lpm_mult_long,blank
+	increase -1,pdata
+	store 1,mem_lpm_mult_cnt
+	rtn
+
+
+classic_bt_set_mult_short_flag:
+	arg SHORT_MULT_FLAG,queue
+	branch classic_bluetooth_set_flag
+	
+classic_bt_clr_mult_short_flag:
+	arg SHORT_MULT_FLAG,queue
+	branch classic_bluetooth_clr_flag
+
+
+
+lpm_match:
+	jam 0,mem_sniff_unint_lost
+	fetch 3,mem_sniff_rcv
+	increase 1,pdata
+	store 3,mem_sniff_rcv
+	rtn
+
+lpm_not_match:
+	bpatch patch15_2,mem_patch15
+	fetcht 2,mem_rx_window_sniff
+	rshift temp,temp
+	fetch 2,mem_rx_window
+	iadd temp,pdata
+	store 2,mem_rx_window
+lpm_lost:
+	jam 0,mem_lpm_current_mult
+	fetch 3,mem_sniff_lost
+	increase 1,pdata
+	store 3,mem_sniff_lost
+	fetch 1,mem_sniff_unint_lost
+	increase 1,pdata
+	store 1,mem_sniff_unint_lost
+	rtn
+
+lpm_mult_short:
+	jam 0,mem_lpm_current_mult
+	fetch 1,mem_lpm_mult_timeout
+	store 1,mem_lpm_mult_cnt
+	rtn
+
+lpm_mult_long:
+	fetcht 1,mem_lpm_mult
+	storet 1,mem_lpm_current_mult
+	rtn
+
+lpm_cal_xtal_startup:
+	fetch 1,mem_lpm_xtalcnt
+	nrtn blank
+	jam clksel_rc,core_clksel
+	setarg 0xf0c
+	call lpm_write_config
+	setarg 200000
+	call sleep
+	until null,lpo_edge
+	copy lpo_time,alarm
+	call xtal_fast_wake
+	jam clksel_xtal,core_clksel
+	nop 10
+	until null,lpo_edge
+	deposit lpo_time
+	isub alarm,pdata
+	increase 0x30,pdata
+	arg 0xff,temp
+	call ceiling
+	store 1,mem_lpm_xtalcnt
+	nop 30000
+	nop 30000
+	nop 30000
+	rtn
+
+//lpm_cal_xtal_startup_by_snooze:
+//	fetch 1,mem_lpm_xtalcnt
+//	nrtn blank
+//	jam 0xff,core_xtal_stable_time
+//	jam clksel_rc,core_clksel
+//	call xtal_fast_wake
+//	setarg 1000
+//	iadd lpo_time,alarm
+//	snooze
+//	deposit lpo_time
+//	nop 12000	//delay about 1ms
+//	nop 12000	//delay about 1ms
+//	nop 12000	//delay about 1ms
+//	nop 12000	//delay about 1ms
+//	nop 12000	//delay about 1ms
+//	nop 12000	//delay about 1ms
+//	nop 12000	//delay about 1ms
+//	nop 12000	//delay about 1ms
+//	nop 12000	//delay about 1ms
+//	isub alarm,pdata
+//	add pdata,0x30,pdata
+//	arg 0xff,temp
+//	call ceiling
+//	store 1,mem_lpm_xtalcnt
+//	nop 30000
+//	nop 30000
+//	nop 30000	//delay 90000 nop
+//	rtn
+
+
+
+	
+lpm_write_config:
+	arg 0xfff,contw
+	iand contw,contw
+	fetch 1,mem_lpm_config
+	and_into 0xf0,pdata
+	lshift8 pdata,pdata
+	ior contw,pdata
+	store 2,core_lpm_reg
+	ifetch 2,contr
+	istore 2,contw
+
+lpm_write_ctrl:
+	setarg lpmreg_sel_ctrl
+	branch lpm_write
+
+lpm_write_ctrl2:
+	setarg lpmreg_sel_ctrl2
+lpm_write:
+	until null,lpo_edge
+	store 1,core_lpm_wr
+	until null,lpo_edge
+	until null,lpo_edge
+	rtn
+
+lpm_write_sel_vdd:
+	fetch 4,core_lpm_ctrl2
+	store 4,core_lpm_reg
+	fetch 1,core_lpm_ctrl2
+	and_into 0x41,pdata
+	fetcht 1,mem_lpm_ctrl3
+	ior temp,pdata
+	store 1,core_lpm_reg
+lpm_write_ctrl3:
+	setarg lpmreg_sel_ctrl3
+	branch lpm_write
+
+
+lpm_write_gpio_wakeup:
+	bpatch patch15_3,mem_patch15
+	fetch 4,mem_gpio_wakeup_low
+	store 4,core_lpm_reg
+	setarg lpmreg_sel_gpiolow
+	call lpm_write
+	fetch 4,mem_gpio_wakeup_high
+	store 4,core_lpm_reg
+	setarg lpmreg_sel_gpiohigh
+	branch lpm_write
+
+lpm_get_wake_lock:
+	fetch 2,mem_lpm_wake_lock
+	qset1 pdata
+	store 2,mem_lpm_wake_lock
+	rtn
+
+lpm_put_wake_lock:
+	fetch 2,mem_lpm_wake_lock
+	qset0 pdata
+	store 2,mem_lpm_wake_lock
+	rtn
+
+
+
+lpm_check_wake_lock:
+	bpatch patch15_4,mem_patch15
+	call app_check_wake_lock
+	fetch 2,mem_lpm_wake_lock
+	copy pdata,rega
+	fetch 1,mem_state_map
+	isolate1 smap_rxlmp,pdata
+	setflag true,wake_lock_lmp_rx,rega
+	fetch 1,mem_lmo_opcode1
+	fetcht 1,mem_lmo_opcode2
+	iadd temp,pdata
+	fetcht 1,mem_lmp_to_send
+	iadd temp,pdata
+	nsetflag blank,wake_lock_lmp_tx,rega
+	fetch 3,mem_tx_fifo3
+	nsetflag blank,wake_lock_ble_tx,rega
+	fetch 2,mem_l2cap_rxbuff1_len
+	fetcht 2,mem_l2cap_rxbuff2_len
+	iadd temp,pdata
+	nsetflag blank,wake_lock_l2cap_rx,rega
+	fetch UTIL_FIFO_LEN,mem_ipc_fifo_bt2c51
+	nsetflag blank,wake_lock_ipc_bt2c51,rega
+	fetch UTIL_FIFO_LEN,mem_ipc_fifo_c512bt
+	nsetflag blank,wake_lock_ipc_c512bt,rega
+	fetch 1,mem_hci_cmd
+	nsetflag blank,wake_lock_cmd,rega
+	fetch 1,mem_device_option
+	compare dvc_op_module,pdata,0xff
+	call lpm_uart_wake_lock,true
+	copy rega,pdata
+	store 2,mem_lpm_wake_lock
+	rtn
+
+lpm_uart_wake_lock:
+	fetch 2,core_uart_rxitems
+	nsetflag blank,wake_lock_uart_rx ,rega
+	fetch 2,core_uart_txitems
+	nsetflag blank,wake_lock_uart_tx ,rega
+	rtn
+
+lpm_shut_down:
+	fetch 4,core_lpm_ctrl
+	set0 27,pdata
+	store 4,core_lpm_reg
+	call lpm_write_ctrl
+	branch assert
+	
+lpm_disable_exen_output:
+	fetch 4,core_lpm_xtalcnt
+	set0 20,pdata
+	store 4,core_lpm_reg
+	branch lpm_write_ctrl2
+
+
+//
+//
+//
+
+le_init_conn:
+	bpatchx patch33_1,mem_patch33
+	disable wake
+	jam 1,mem_le_conn_handle
+	jam 3,mem_le_state
+	jam 1,mem_le_arq
+	setarg -1
+	store 2,mem_le_event_count
+	force 0,pdata
+	store 1,mem_le_ch
+	store 1,mem_le_op
+	store 3,mem_sniff_rcv
+	store 3,mem_sniff_lost
+	call le_clear_enc
+	jam 1,mem_le_txheader
+	jam 0,mem_le_txlen
+	jam FUN_RX_LL_1M_PHY,mem_le_rx_phy
+	jam FUN_TX_LL_1M_PHY,mem_le_tx_phy
+	jam 0,mem_le_l2cap_att_states
+	branch le_supervision_flush
+
+le_init_master:
+	bpatchx patch33_2,mem_patch33
+	enable master
+	jam lemode_master,mem_le_mode
+	jam 1,mem_le_att_handle
+	jam 1,mem_le_search_handle_start
+	setarg 0xffff
+	store 2,mem_le_search_handle_end
+	force 0,pdata
+	store 5,mem_ccm_pcnt_rx
+	set1 LE_CCM_DIRECTIONBIT,pdata
+	store 5,mem_ccm_pcnt_tx	
+	branch le_init_conn
+
+
+le_init_slave:
+	bpatchx patch33_3,mem_patch33
+	disable master
+ 	setarg 0x17
+ 	store 2,mem_le_remote_mtu
+	increase 4,pdata
+	store 2,mem_remote_rx_max_octets
+	jam lemode_slave,mem_le_mode
+	jam 0,mem_le_adv_enable
+	jam 0,mem_lpm_current_mult
+	call le_clear_pairing_state
+	fetch 2,mem_le_superto
+	store 2,mem_le_init_superto
+	fetch 2,mem_le_tsniff
+	mul32 pdata,5,pdata
+	rshift4 pdata,pdata
+	store 2,mem_le_superto			// vol.6 part B 4.5.2 only 6*conninterval before establish
+	branch le_init_conn
+	
+
+//
+//
+//
+
+le_conn_dispatch:
+	bpatchx patch33_4,mem_patch33
+	call le_enable
+ 	fetch 1,mem_le_state
+ 	isolate1 lestate_encryption,pdata
+ 	setflag true,mark_ble_encryption,mark
+	call app_process_ble
+	fetch 1,mem_le_mode
+	bbit1 mode_master,le_master_dispatch
+	branch le_slave_dispatch
+	
+//
+//
+//
+	
+le_master_dispatch:
+	bpatchx patch33_5,mem_patch33
+	enable master
+	call le_supervision_update
+	branch le_master_disconn,positive
+	call le_setup
+	call le_prepare_tx
+	disable match
+	call le_transmit_receive_sifs
+	nrtn match
+	fetch 1,mem_le_conn_rcv
+	increase 1,pdata
+	store 1,mem_le_conn_rcv
+	call le_acknowledge
+	disable master
+	rtn
+	
+le_master_disconn:
+	call le_disconnect
+	disable master
+	rtn
+	
+//
+//
+//
+le_slave_dispatch:
+	bpatchx patch33_6,mem_patch33
+	jam 0,mem_le_md_count
+	set0 mark_ble_crc_fail,mark
+	call sp_calc_sequence_256
+	call le_secure_connect_sm
+	disable attempt
+	call le_supervision_update
+	branch le_slave_disconn,positive
+	fetch 1,mem_le_rx_phy
+	call le_enable_phy_by_pdata
+	call le_setup
+	call le_receive_slave
+	nbranch le_slave_unsync,sync	// vol.6 part B 4.5.1 respond even crc error
+	call le_got_first_packet
+	branch le_slave_match,match
+	bmark1 mark_ble_crc_fail,le_slave_crc_fail
+	branch le_slave_cont
+	
+
+le_slave_crc_fail:
+le_slave_match:
+	bpatchx patch33_7,mem_patch33
+	fetch 1,mem_le_md_count
+	pincrease 1
+	store 1,mem_le_md_count
+	beq LE_MD_MAX_COUNT,le_slave_cont
+	call le_acknowledge
+	call le_prepare_tx
+	fetch 1,mem_le_tx_phy
+	call le_enable_phy_by_pdata
+	call le_transmit_norx
+	call le_parse
+	fetch 2,mem_cb_ble_transmit
+	call callback_func
+	call le_check_md
+	branch le_slave_more_data,user
+le_slave_cont:
+	bpatchx patch34_0,mem_patch34
+	call le_pairing_sm
+ 	call le_check_paring_time
+	call check_51cmd
+	fetch 1,mem_le_op
+	bbit1 op_disconn,le_slave_disconn
+le_slave_unsync:
+	bpatchx patch34_1,mem_patch34
+	call le_lpm_set_mult
+	branch calc_clke_offset
+
+
+le_check_md:
+	disable user
+	bmark1 mark_ble_rx_md,enable_user
+	bmark1 mark_ble_tx_md,enable_user
+	bmark1 mark_ble_crc_fail,enable_user
+	rtn
+
+
+le_slave_more_data:
+	bpatchx patch34_2,mem_patch34
+	enable attempt
+	call le_transmit_receive_sifs_notx
+	branch le_slave_match,match
+	bmark1 mark_ble_crc_fail,le_slave_crc_fail
+	branch le_slave_cont
+
+le_slave_disconn:
+
+	//fall through
+le_disconnect:
+	bpatchx patch34_3,mem_patch34
+	call le_clear_connection_info
+	call app_disconn_reason_collect_ble
+	call le_clear_pairing_state
+	call le_sc_state_clear
+	jam BT_EVT_LE_DISCONNECTED,mem_fifo_temp
+	branch ui_ipc_send_event
+
+le_clear_connection_info:
+	arg mem_used_map,contw
+	call memset0_16
+	jam 0,mem_le_conn_handle
+	jam lemode_idle,mem_le_mode
+	jam 0,mem_le_state
+le_clear_pairing_state:
+	bpatchx patch34_4,mem_patch34
+	jam FLAG_LE_ENC_NULL,mem_le_enc_state
+	jam FLAG_LE_PAIRING_NULL,mem_le_pairing_state
+	branch sp_clear_flags
+	
+le_got_first_packet:
+	bpatchx patch34_5,mem_patch34
+	fetch 1,mem_le_conn_rcv
+	increase 1,pdata
+	store 1,mem_le_conn_rcv
+	fetch 1,mem_le_state
+	rtnbit1 lestate_got_first_packet
+	set1 lestate_got_first_packet,pdata
+	store 1,mem_le_state
+	fetch 2,mem_le_init_superto
+	store 2,mem_le_superto
+	setarg 0
+	store 4,mem_le_transmit_window
+	rtn
+
+
+//input: pdata is phy mode
+//bit0 is le 1M phy
+//bit1 is le 2M phy
+//bit2 is le coded phy s2
+//bit7 is le coded phy s8
+le_enable_phy_by_pdata:
+	copy pdata,temp
+	bpatchx patch34_6,mem_patch34
+	copy temp,pdata
+	bbit1 BIT_LE_1M_PHY,le_enable
+	bbit1 BIT_LE_2M_PHY,le_enable_2M
+	bbit0 BIT_LE_CODED_PHY,le_enable
+	bbit1 BIT_LE_CODED_PHY_S8,le_enable_coded_s8
+	bbit1 BIT_LE_CODED_PHY_S2,le_enable_coded_s2
+	branch le_enable
+
+le_enable_2M:
+	call le_enable
+	set1 mark_ble_2M,mark
+	set0 mark_ble_lr,mark
+	jam 0x03,0x8901
+	jam 0x84,0x8920
+	rtn
+
+le_enable_coded_s2:
+le_enable_coded:
+	call le_enable
+	set1 mark_ble_lr,mark
+	set0 mark_ble_lr_s8,mark
+	jam 0x05,0x8901
+	jam 0x80,0x8920
+	jam 0x20,0x8930
+	jam 0x0a,0x8934
+	rtn
+
+le_enable_coded_s8:
+	call le_enable_coded
+	set1 mark_ble_lr_s8,mark
+	rtn
+
+le_enable:
+	bpatchx patch34_7,mem_patch34
+	enable le
+	set0 mark_ble_2M,mark
+	set0 mark_ble_lr,mark
+	jam 0x01,0x8901
+	jam 0x80,0x8920
+	jam 0xa7,0x8925
+	jam 0x03,0x8930
+	jam 0x58,0x8933
+	jam 0x0a,0x8934
+	jam 0x40,0x8937
+	jam 9,core_rx_bq_cfg0
+	rtn
+
+
+le_disable:
+	bpatchx patch35_0,mem_patch35
+	disable le
+	set0 mark_ble_encryption,mark
+	jam 0x00,0x8901
+	jam 0x80,0x8920
+	jam 0xa3,0x8925
+	jam 0x03,0x8930
+	jam 0x68,0x8933
+	jam 0x09,0x8934
+	jam 0x28,0x8937
+	jam 9,core_rx_bq_cfg0
+	rtn
+	
+le_prep:
+	disable enable_crc
+	disable enable_white
+	fetch 3,mem_le_crcinit
+	iforce crc24_init
+	fetch 1,mem_le_ch_mapped
+	reverse pdata,temp
+	set1 1,temp
+	rshift temp,white_init
+	rtn
+	
+
+le_rx_setfreq:
+	call le_setfreq
+le_rf_rx_enable:	
+	call set_freq_rx
+	fetch 2,mem_param_pll_setup
+	call sleep
+	branch rf_rx_enable
+
+le_tx_setfreq:
+	branch txon,match
+	bmark1 mark_ble_crc_fail,txon
+le_tx_setfreq0:
+	call le_setfreq
+	branch set_freq_tx
+le_setfreq:
+	bpatchx patch35_1,mem_patch35
+	call set_sync_on
+	fetch 1, mem_le_testtype
+	nbranch le_ctf_test,blank
+	fetch 1,mem_le_ch_mapped
+	sub pdata,36,null
+	branch le_ctf_normal,positive
+	force 0,temp
+	rtneq 37
+	force 24,temp
+	rtneq 38
+	force 78,temp
+	rtn
+	
+le_ctf_normal:
+	sub pdata,10,null
+	branch le_ctf_low,positive
+	increase 1,pdata
+	
+le_ctf_low:	
+	lshift pdata,pdata
+	add pdata,2,temp
+	rtn
+	
+le_ctf_test:
+	fetch 1,mem_le_ch_mapped
+	lshift pdata,temp
+	rtn
+
+le_sca_map:
+	arg 500,temp
+	rtn blank
+	arg 250,temp
+	rtneq 1
+	arg 150,temp
+	rtneq 2
+	arg 100,temp
+	rtneq 3
+	arg 75,temp
+	rtneq 4
+	arg 50,temp
+	rtneq 5
+	arg 40,temp
+	rtneq 6
+	arg 20,temp
+	rtn
+
+
+	
+le_setup:
+	bpatchx patch35_2,mem_patch35
+	enable swfine
+	fetch 4,mem_le_access
+	iforce access
+	call calc_mod_value_scale_le
+	call le_map_channel
+	setarg 0x200
+	branch le_setup_master,master
+	fetch 2,mem_le_receive_window
+	rshift pdata,pdata
+le_setup_master:
+	fetcht 2,mem_param_pll_setup
+	iadd temp,pdata
+	call ahead_window
+	deposit clke
+	rtn
+
+
+le_context_nextevent:
+	bpatchx patch35_3,mem_patch35
+	call push_stack_rega_b_c
+	storer loopcnt ,2,mem_loopcnt
+	add rega,coffset_mode,contr
+	ifetch 1,contr
+	rtnbit0 mode_le
+	add rega,coffset_le_event_cnt,contw
+	ifetch 2,contw
+	increase 1,pdata
+	istore 2,contw
+	call le_update_param
+	call le_update_channel_map
+	call le_update_phy	
+	call le_context_nexthop
+	call pop_stack_rega_b_c
+	fetchr loopcnt ,2,mem_loopcnt
+	rtn
+	
+le_context_nexthop:	
+	add rega,coffset_le_hop,contr
+	ifetch 1,contr
+	add rega,coffset_le_ch,contw
+	ifetcht 1,contw
+	iadd temp,pdata
+	sub pdata,36,null
+	branch le_nexthop_nowrap,positive
+	increase -37,pdata
+le_nexthop_nowrap:
+	istore 1,contw
+	rtn
+
+//input rega
+le_calc_channel_map:
+	add rega,coffset_le_channel_map,contr
+	ifetch 5,contr
+	force 0,temp
+	force 37,loopcnt
+le_count_channels_loop:
+	bbit0 0,le_count_channels_notused
+	increase 1,temp
+le_count_channels_notused:
+	rshift pdata,pdata
+	loop le_count_channels_loop
+	add temp,-1,pdata
+	add rega,coffset_le_channels,contw
+	istore 1,contw
+	rtn
+
+le_map_channel:
+	bpatchx patch35_4,mem_patch35
+	fetch 1,mem_le_ch
+	iforce queue
+	fetcht 5,mem_le_channel_map
+	qisolate1 temp
+	branch le_map_channel_end,true
+le_map_channel_next:
+	fetch 1,mem_le_channels
+	isub queue,pdata
+	branch le_map_channel_cont,positive
+	sub pdata,-1,queue
+	branch le_map_channel_next
+le_map_channel_cont:
+	copy queue,loopcnt
+	force 0,queue
+le_map_channel_loop:
+	qisolate1 temp
+	branch le_map_channel_skip,true
+	increase 1,loopcnt
+le_map_channel_skip:
+	deposit loopcnt
+	branch le_map_channel_end,blank
+	increase 1,queue
+	increase -1,loopcnt
+	branch le_map_channel_loop
+le_map_channel_end:
+	deposit queue
+	store 1,mem_le_ch_mapped
+	rtn
+
+
+le_wait_tx:
+	branch le_wait_master,master
+	until null,timeout
+	rtn
+	
+le_wait_master:
+	arg 0xea0,timeup
+	until clkn_rt,meet
+	rtn
+
+le_receive_adv:
+	disable swfine
+	fetch 2,mem_le_scan_window
+	copy pdata,timeup
+	branch le_receive_packet
+
+
+le_receive_slave:
+	bpatchx patch35_5,mem_patch35
+ 	call le_dec_init
+	enable swfine
+	fetch 2,mem_le_receive_window
+	fetcht 4,mem_le_transmit_window
+	iadd temp,timeup
+le_receive_packet:
+	call le_rx_setfreq
+le_receive_rxon:
+	bpatchx patch35_6,mem_patch35
+	call le_prep
+	bmark0 mark_ble_lr,le_receive_nolr
+	pulse dewhiten_code_calc
+	nop 30
+	call le_prep
+	lshift3 timeup,timeup
+le_receive_nolr:
+	disable match
+	enable decode_fec0
+	enable is_rx
+	disable is_tx
+	copy timeup,stop_watch
+	correlate null,timeout
+	branch le_receive_on_attempt,attempt
+	copy clke,temp
+	storet 6,mem_sync_clke
+le_receive_on_attempt:
+	nbranch le_unsync_end,sync
+	bpatchx patch35_7,mem_patch35
+	enable swfine
+	arg PARAM_T_IFS_150US+PARAM_20MS_INIT+PARAM_SYNC_TIME_DIFFERENCE,temp
+	fetch 1,mem_system_clk
+	imul32 temp,stop_watch
+	call rf_debug_rx_sync_line	//L-H
+	branch le_receive_skip,attempt
+	call calc_clke_all_modem
+	fetch 1,mem_le_state
+	bbit0 lestate_got_first_packet,le_receive_skip
+	fetcht 6,mem_sync_clke
+	call lpm_adjust_clk,wake
+le_receive_skip:
+	call save_rssi
+	enable enable_white
+	enable enable_crc
+	parse demod,bucket,8
+	rshift3 pwindow,pdata
+	store 1,mem_le_rxbuf_data_header
+	parse demod,bucket,8
+	rshift3 pwindow,pdata
+	store 1,mem_le_rxbuf_data_length
+ 	copy pdata,loopcnt
+	branch le_rx_nopayload,zero
+
+	bmark1 mark_ble_encryption,le_rx_dec
+
+le_rx_loop:
+	parse demod,bucket,8
+	rshift3 pwindow,pdata
+	istore 1,contw
+	loop le_rx_loop
+	branch le_rx_nopayload
+
+le_rx_dec: 
+	copy contw,regb
+	call le_check_retransmit	
+//	bmark1 mark_old_packet,le_retransmit_end_of_packet
+	fetchr rega, 1,mem_le_rxbuf_data_length
+	increase -4,rega
+	nbranch le_mic_error,positive
+//	storer rega, 1,mem_le_rxbuf_data_length
+	call le_dec_start	
+	copy regb,contw
+	arg 0,temp
+	fetchr loopcnt, 1,mem_le_rxbuf_data_length
+	increase -4,loopcnt
+	branch le_rx_dec_loop_end,zero
+le_rx_dec_loop:
+	
+	parse demod,bucket,8
+	rshift3 pwindow,pdata
+	istore 1,contw
+	increase 1,temp
+	and temp,0xf,null
+	call le_dec,zero
+	loop le_rx_dec_loop
+le_rx_dec_loop_end:
+	call le_dec_end	
+	copy regb,contw
+	
+
+le_rx_nopayload:
+	bpatchx patch36_0,mem_patch36
+	parse demod,bucket,24	
+	rshift32 pdata,pdata
+	rshift16 pdata,pdata
+	istore 3,contw
+	enable swfine
+	call le_set_until_tx_timer
+	branch le_crc_fail,crc_failed
+	bmark0 mark_ble_encryption,le_rx_match
+	fetch 1,mem_le_rxbuf_data_length
+	branch le_rx_match,blank
+	increase -4,pdata
+	store 1,mem_le_rxbuf_data_length
+	call wait_ccm_done
+ 	fetch 1,core_misc_status
+	bbit0 7, le_mic_error
+ 	force regidx_result,regext_index
+	storer regext, 4,mem_le_peer_mic
+le_rx_match:
+	call rf_debug_rx_crc_line	//L
+	enable match
+	set0 mark_ble_crc_fail,mark
+le_crc_fail_tx:
+	call ccm_ctrl_clr
+	fetch 1,mem_le_rx_phy
+	nsetflag ble_coded_info,BIT_LE_CODED_PHY_S8,pdata
+	store 1,mem_le_rx_phy
+le_match_set_txfreq:
+	bpatchx patch36_1,mem_patch36
+	fetcht 1,mem_last_freq
+	add temp,2,rega
+	bmark1 mark_ble_2M,le_match_set_txfreq_offset
+	add temp,2,rega
+le_match_set_txfreq_offset:
+	disable decode_fec0
+	call set_sync_on	
+	branch rf_tx_write_freq				
+	
+
+le_dec_init:
+	rtnmark0 mark_ble_encryption
+	call load_sk
+	force regidx_result,regext_index
+	call aes_clear
+	branch aes_clear_data
+	
+	
+le_dec_start:
+	jam 0,core_ccm_aad0 
+	jam 1,core_ccm_aad1
+	fetch 1,mem_le_rxbuf_data_header
+	and_into 0x3,pdata
+	store 1,core_ccm_aad2
+	
+	setarg mem_le_rxbuf_data_payload
+	store 2,core_ccm_input_playload_addr
+	store 2,core_ccm_output_playload_addr
+
+	fetchr rega, 1,mem_le_rxbuf_data_length
+	increase -4,rega
+
+	fetcht 5,mem_ccm_pcnt_rx	
+	isolate1 mark_old_packet,mark
+	call le_pcnt_rx_sub1,true
+	call ccm_b0
+	setarg 0
+	store 2,core_ccm_inptr
+	jam 6,core_ccm_ctrl
+	jam 7,core_ccm_ctrl	
+	rtn	
+
+le_pcnt_rx_sub1:
+	sub temp,0,null
+	branch le_pcnt_rx_sub1_0,zero
+	increase -1,temp
+	set1 LE_CCM_DIRECTIONBIT,temp
+	rtn
+
+le_pcnt_rx_sub1_0:
+	setarg 0xffffff
+	lshift16 pdata,pdata
+	arg 0xffff,temp
+	ior temp,temp
+	rtn
+
+le_dec:
+	copy contw,regb
+	fetch 1,mem_le_rxbuf_data_length
+	increase -4,pdata
+	isub temp,null
+	rtn zero
+	storet 2,core_ccm_inptr
+	copy regb,contw
+	rtn
+	
+le_dec_end://mic
+	parse demod,bucket,32
+	rshift32 pdata,pdata
+	rshift8 pdata,pdata
+	istore 4,contw
+	copy contw,regb
+//	store 4,mem_le_peer_mic
+	force regidx_data,regext_index
+	copy  pdata,regext
+	storet 2,core_ccm_inptr
+	rtn
+
+le_mic_error:
+	branch le_end_of_packet
+
+le_retransmit_end_of_packet:
+	call le_set_until_tx_timer	// start SIFS timer after last bit of crc
+	call end_of_packet
+	branch le_rx_match
+
+le_crc_fail:
+	call rf_debug_rx_crc_fail_line
+	bmark1 mark_ble_crc_fail,le_crc_fail_consecutive //two consecutive packets received with an invalid CRC match within a connection event shall close the event
+	set1 mark_ble_crc_fail,mark
+	branch le_crc_fail_tx
+	
+le_unsync_end:	
+le_crc_fail_consecutive:
+	set0 mark_ble_crc_fail,mark
+	branch le_end_of_packet
+
+le_end_of_packet:
+	call ccm_ctrl_clr
+	branch end_of_packet
+	
+calc_clke_all_modem:
+	bmark1 mark_ble_lr,calc_clke_modem_coded
+	bmark1 mark_ble_2M,calc_clke_modem_2M
+	fetch 2,mem_param_clke_cal_le_1m
+	copy pdata,clke_rt
+	copy bt_clk,clke_bt
+	rtn
+
+
+calc_clke_modem_coded:
+	fetch 2,mem_param_clke_cal_le_coded
+	copy pdata,clke_rt
+	add bt_clk,1,clke_bt
+	rtn
+
+calc_clke_modem_2M:
+	fetch 2,mem_param_clke_cal_le_2m
+	copy pdata,clke_rt
+	copy bt_clk,clke_bt
+	rtn
+
+
+le_set_until_tx_timer:
+	fetch 1,mem_le_rxbuf_data_length
+	add pdata,5,temp	//PDU Length
+	lshift3 temp,temp	//PDU bit size
+	fetch 1,mem_le_rx_phy
+	bmark1 mark_ble_lr,le_set_until_tx_timer_rx_lr
+	bbit1 BIT_LE_1M_PHY,le_set_until_tx_timer_rx_1M
+	bbit1 BIT_LE_2M_PHY,le_set_until_tx_timer_rx_2M
+le_set_until_tx_timer_rx_lr:
+	branch le_set_until_tx_timer_rx_coded_s2,ble_coded_info
+	branch le_set_until_tx_timer_rx_coded_s8
+
+le_set_until_tx_timer_rx_1M:
+	branch le_calc_stop_watch
+
+le_set_until_tx_timer_rx_2M:
+	rshift temp,temp
+	branch le_calc_stop_watch
+
+le_set_until_tx_timer_rx_coded_s2:
+	add temp,3,temp	//term2
+	lshift temp,temp
+	branch le_set_until_tx_timer_rx_coded
+
+le_set_until_tx_timer_rx_coded_s8:
+	add temp,3,temp	//term2
+	lshift3 temp,temp
+le_set_until_tx_timer_rx_coded:
+	setarg PARAM_CODED_C1_TERM1_TIME_40US
+	iadd temp,temp
+	branch le_calc_stop_watch
+
+le_calc_stop_watch:
+	fetch 1,mem_system_clk
+	imul32 temp,temp		//mips cpu
+	arg PARAM_20MS_INIT,rega
+	imul32 rega,pdata
+	isub temp,temp
+	copy stop_watch,pdata
+	isub temp,stop_watch
+	rtn
+
+le_transmit_receive_sifs_without_change_mode:
+	call le_transmit
+	fetcht 1,mem_last_freq
+	call set_freq_rx
+	call rf_rx_enable
+	enable swfine
+	arg 5500,timeup
+	branch le_receive_rxon
+
+
+le_transmit_receive_sifs:
+	bpatchx patch36_2,mem_patch36
+	fetch 1,mem_le_tx_phy
+	call le_enable_phy_by_pdata
+	call le_transmit
+le_transmit_receive_sifs_notx:
+	fetch 1,mem_le_rx_phy
+	call le_enable_phy_by_pdata
+
+	fetcht 1,mem_last_freq
+	call set_freq_rx
+	call rf_rx_enable
+	enable swfine
+	arg 5500,timeup
+	bmark0 mark_ble_lr,le_receive_rxon
+	arg 8500,timeup
+	branch le_receive_rxon
+
+le_transmit_norx:
+	call le_transmit
+	branch end_of_packet
+	
+le_transmit:
+	bpatchx patch36_3,mem_patch36
+	call le_prep
+	call le_tx_setfreq
+	call rf_debug_tx_on_line	//H
+	set1 TXGFSK,radio_ctrl
+	enable encode_fec0
+	enable is_tx
+	disable is_rx
+	call le_wait_tx
+	disable lr_s2en
+	bmark1 mark_ble_lr,le_transmit_lr
+	bmark1 mark_ble_2M,le_transmit_2M
+	rshift16 access,pdata
+	rshift8 pdata,pdata
+	rshift4 pdata,pdata
+	inject mod,40
+le_transmit_packet:
+	enable enable_white
+	enable enable_crc
+	bpatchx patch36_4,mem_patch36
+	fetch 1,mem_le_txheader
+	inject mod,8
+	ifetch 1,contr
+	copy pdata,loopcnt
+	inject mod,8
+	sub loopcnt,0,null
+	branch le_tr_nopayload,zero
+
+	fetch 1,core_ccm_ctrl
+	branch le_transmit_packet_not_enc,blank 
+	bmark1 mark_ble_encryption,le_transmit_packet_enc
+le_transmit_packet_not_enc:	
+	arg mem_le_txpayload,contr
+le_tr_loop:
+	ifetch 1,contr
+	inject mod,8
+	loop le_tr_loop
+	
+le_tr_nopayload:
+	enable enable_parity
+	inject mod,24
+	disable enable_parity
+	bmark0 mark_ble_lr,le_transmit_skip
+	disable enable_white
+	setarg 0
+	inject mod,3
+le_transmit_skip:
+	until null,tx_clear
+	nop 100          
+	disable encode_fec0
+	disable encode_fec3
+	call set_sync_on
+	call rf_debug_tx_off_line	//L
+le_check_start_pause_enc:
+	fetch 1,mem_le_txheader
+	and pdata,LLID_LE_LL,pdata
+	rtnne LLID_LE_LL
+	fetch 1,mem_le_enc_state
+	beq  FLAG_LE_ENC_PAUSE,le_clear_enc
+	rtnne FLAG_LE_SEND_START_ENC_REQ
+	fetch 1,mem_le_txpayload
+	beq LL_START_ENC_REQ,le_set_enc
+	rtn
+	
+
+le_transmit_packet_enc:
+	increase -4,loopcnt
+	copy loopcnt,temp	
+	call ccm_wait_enc	
+	arg mem_le_txpayload,contr
+le_transmit_packet_enc_loop:
+	ifetch 1,contr
+	inject mod,8
+	loop le_transmit_packet_enc_loop
+	call ccm_check_enc_done
+	copy regext,pdata
+	inject mod,32
+	branch le_tr_nopayload
+
+le_transmit_lr:
+	arg 10,loopcnt
+le_transmit_lr_preamble_loop:
+	setarg 0x3c
+	inject mod,8
+	loop le_transmit_lr_preamble_loop
+	disable encode_fec0
+	enable encode_fec3
+	rshift16 access,pdata
+	rshift16 pdata,pdata
+	rshift4 pdata,pdata
+	inject mod,32
+	bmark1 mark_ble_lr_s8,le_transmit_lr_s8
+le_transmit_lr_s2:
+	setarg 1
+	inject mod,5
+	enable lr_s2en
+	branch le_transmit_packet
+
+le_transmit_lr_s8:
+	setarg 0
+	inject mod,5
+	branch le_transmit_packet
+
+le_transmit_2M:
+	fetch 1,mem_system_clk
+	rshift pdata,loopcnt
+le_transmit_2M_dealy:
+	nop 2
+	loop le_transmit_2M_dealy
+//	nop 36	//2M 前端发送比1M快3us左右
+	rshift16 access,pdata
+	rshift8 pdata,pdata
+	rshift4 pdata,temp
+	copy temp,pdata
+	inject mod,8
+	copy temp,pdata
+	inject mod,40
+	branch le_transmit_packet
+	
+
+le_update_param:
+	arg le_update_param_ahead1_cb,regc
+	arg le_update_param_cb,regb
+	arg lestate_update_param,queue
+	branch le_check_update_flag
+
+le_update_param_ahead1_cb:
+	add rega,coffset_sniff_anchor,contr
+	ifetcht 4,contr
+	add rega,coffest_le_new_transmitwindowsize,contr
+	ifetch 1,contr
+	add rega,coffset_le_window_size,contw
+	istore 1,contw
+	ifetch 2,contr
+	lshift2 pdata,pdata
+	iadd temp,timeup	//add windowsize
+	add rega,coffset_sniff_anchor,contw  
+	deposit timeup
+	istore 4,contw
+	ifetch 2,contr
+	lshift2 pdata,pdata
+	add rega,coffset_tsniff,contw
+	istore 2,contw
+	ifetch 4,contr
+	add rega,coffset_le_slave_latency,contw
+	istore 4,contw
+	branch le_receive_window_size
+
+le_update_param_cb:
+	ifetch 1,rega
+	set0 lestate_got_first_packet,pdata
+	istore 1,rega
+	fetch 2,mem_le_superto
+	store 2,mem_le_init_superto
+	storer rega,2,mem_rega
+	jam BT_EVT_LE_PARSE_CONN_PARAM_ACCEPTED,mem_fifo_temp
+	call ui_ipc_send_event
+	fetchr rega,2,mem_rega
+	add rega,coffset_le_slave_superto,contr
+	ifetch 2,contr
+	store 2,mem_le_init_superto
+	rtn	
+
+le_update_channel_map:
+	arg 0,regc
+	arg le_update_channel_map_cb,regb
+	arg lestate_update_map,queue
+	branch le_check_update_flag
+	
+le_update_channel_map_cb:
+	add rega,coffset_le_new_map,contr
+	ifetch 5,contr
+	add rega,coffset_le_channel_map,contw
+	istore 5,contw
+	branch le_calc_channel_map
+	
+
+le_update_phy:
+	arg 0,regc
+	arg le_update_phy_cb,regb
+	arg lestate_update_phy,queue
+	branch le_check_update_flag
+	
+le_update_phy_cb:
+	add rega,coffset_le_new_m2s_phy,contr
+	ifetch 1,contr
+	call le_update_phy_cb_m2s
+	istore 1,contw
+	add rega,coffset_le_new_s2m_phy,contr
+	ifetch 1,contr
+	call le_update_phy_cb_s2m
+	istore 1,contw
+	storer rega,2,mem_rega
+	jam BT_EVT_LE_UPDATE_PHY,mem_fifo_temp
+	call ui_ipc_send_event
+	fetchr rega,2,mem_rega
+	rtn	
+
+le_update_phy_cb_m2s:
+	call le_update_phy_cb_m2s_no_change,blank
+	add rega,coffset_le_rx_phy,contw
+	nrtn master
+	fetcht 1,mem_le_tx_phys
+	isolate1 BIT_LE_CODED_PHY_S8,temp
+	setflag true,BIT_LE_CODED_PHY_S8,pdata
+	add rega,coffset_le_tx_phy,contw
+	rtn
+
+le_update_phy_cb_m2s_no_change:
+	add rega,coffset_le_rx_phy,contr
+	ifetch 1,contr
+	nrtn master
+	add rega,coffset_le_tx_phy,contr
+	ifetch 1,contr
+	rtn
+
+le_update_phy_cb_s2m:
+	call le_update_phy_cb_s2m_no_change,blank
+	fetcht 1,mem_le_tx_phys
+	isolate1 BIT_LE_CODED_PHY_S8,temp
+	setflag true,BIT_LE_CODED_PHY_S8,pdata
+	add rega,coffset_le_tx_phy,contw
+	nrtn master
+	set0 BIT_LE_CODED_PHY_S8,pdata
+	add rega,coffset_le_rx_phy,contw
+	rtn
+
+le_update_phy_cb_s2m_no_change:
+	add rega,coffset_le_tx_phy,contr
+	ifetch 1,contr
+	nrtn master
+	add rega,coffset_le_rx_phy,contr
+	ifetch 1,contr
+	rtn
+	
+
+//regb regc is cb function
+//queue is state flag
+le_check_update_flag:
+	ifetch 1,rega
+	qisolate0 pdata
+	rtn true
+	add rega,coffset_le_event_cnt,contr
+	ifetcht 2,contr
+	add rega,coffset_le_instant,contr
+	ifetch 2,contr
+	
+	isub temp,pdata
+	branch le_update,zero
+	nbranch le_check_update_small,positive
+	sub pdata,1,null
+	branch le_update_ahead1,zero
+	rtn
+	
+le_update_ahead1:
+	copy regc,pdata
+	branch callback_func
+
+le_update:
+	ifetch 1,rega
+	qset0 pdata
+	istore 1,rega
+	copy regb,pdata
+	branch callback_func
+	
+le_check_update_small:
+	add rega,coffset_le_event_cnt,contr
+	ifetch 2,contr
+	add rega,coffset_le_instant,contr
+	ifetch 2,contr
+	isub temp,pdata
+	arg 0xffff,temp
+	isub temp,null
+	branch le_update,zero
+	arg 0xf000,temp
+	isub temp,null
+	nbranch le_update,positive
+	rtn
+	
+
+le_check_retransmit:
+	fetcht 1,mem_le_arq
+	fetch 1,mem_le_rxbuf_data_header
+//	isolate1 md,pdata
+//	setflag true,mark_ble_rx_md,mark
+	rshift pdata,pdata
+	ixor temp,pdata
+	isolate1 nesn,pdata
+	setflag true,mark_old_packet,mark	
+	rtn
+
+
+le_acknowledge:
+	bpatchx patch36_5,mem_patch36
+	call le_supervision_flush
+	rtnmark1 mark_ble_crc_fail
+	call le_check_wak
+	fetch 1,mem_le_rxbuf_data_header
+	isolate1 md,pdata
+	setflag true,mark_ble_rx_md,mark
+	rshift pdata,pdata
+	ixor temp,pdata
+	isolate1 nesn,pdata
+	setflag true,mark_old_packet,mark	
+	rtnmark1 mark_old_packet
+	fetch 1,mem_le_rxbuf_data_length
+	branch le_ack_unenc,blank		
+	fetch 1,mem_le_state
+	bbit0 lestate_encryption,le_ack_unenc
+	fetcht 4,mem_le_peer_mic
+	fetch 4,mem_ccm_last_mic			
+	isub temp,null
+	branch assert,zero
+	storet 4,mem_ccm_last_mic
+	fetch 5,mem_ccm_pcnt_rx
+	increase 1,pdata
+	set1 LE_CCM_DIRECTIONBIT,pdata
+	store 5,mem_ccm_pcnt_rx
+	
+le_ack_unenc:
+	fetcht 1,mem_le_arq
+	setflip nesn,temp
+	storet 1,mem_le_arq
+	fetch 1,mem_le_configuration
+	rtnbit0 BIT_BLE_DEAL_BB_PACKET
+	bpatchx patch36_6,mem_patch36
+	fetch 1,mem_le_rxbuf_data_length
+	rtn blank		//empty packet
+	fetch 1,mem_le_rxbuf_data_header
+	compare LLID_CONTINUE,pdata,3
+	branch le_parse_writing_attribute_continue,true //ACL-U continue
+	compare LLID_START,pdata,3
+	branch le_parse_writing_attribute_start,true
+	rtn
+
+	
+le_check_wak:
+	bpatchx patch36_7,mem_patch36
+	fetcht 1,mem_le_arq
+	isolate0 wak,temp
+	rtn true
+	fetch 1,mem_le_rxbuf_data_header
+	lshift pdata,pdata
+	ixor temp,pdata
+	rtnbit0 sn			
+	set0 wak,temp
+	setflip sn,temp
+	storet 1,mem_le_arq
+	compare 3,temp,3
+	nrtn true
+	rtn
+	
+
+le_set_enc:
+	fetch 1,mem_le_state
+	set1 lestate_encryption,pdata
+	store 1,mem_le_state
+	set1 mark_ble_encryption,mark
+	rtn	
+	
+le_clear_enc:
+	bpatchx patch37_0,mem_patch37
+	jam FLAG_LE_ENC_NULL,mem_le_enc_state
+	arg 0,pdata
+	store 4,mem_ccm_last_mic
+	store 5,mem_ccm_pcnt_tx
+	set1 LE_CCM_DIRECTIONBIT,pdata
+	store 5,mem_ccm_pcnt_rx
+	fetch 1,mem_le_state
+	set0 lestate_encryption,pdata
+	store 1,mem_le_state
+	set0 mark_ble_encryption,mark
+	rtn
+
+
+
+
+le_scan_check_sender_addr_type:
+	arg 1,rega// sender_addr_type
+	fetch 1,mem_le_rxbuf_adv_connect_ind_header
+	rtnbit1 LE_SENDER_ADDR_BIT
+	arg 0,rega
+	rtn
+
+
+le_get_master_rx_max:
+	copy contr,contw
+	fetcht 2,mem_remote_rx_max_octets
+	copy contw,contr
+	rtn
+
+
+le_prepare_tx:
+	bpatchx patch37_1,mem_patch37
+	fetch 1,mem_le_arq
+	rtnbit1 wak
+	call le_check_tx_md
+	call le_fifo_get_first_tx_ptr	//no packet to send
+	branch le_send_empty,blank
+	ifetch 2,contr
+	ifetcht 2,contr
+	copy temp,rega
+	isub rega,pdata
+	call le_get_master_rx_max
+	call not_greater_than
+	copy pdata,temp
+	ifetchr type,1,contr
+	copy rega,pdata
+	iadd contr,pdata
+	store 2,mem_contr
+	call le_update_tx_type
+	call le_send_packet
+	
+	call le_fifo_get_first_tx_ptr
+	ifetch 2,contr
+	copy pdata,rega	//rega:total length
+	copy contr,regc
+	ifetcht 2,contr
+	copy temp,regb	//temp&regb is offset
+	isub regb,pdata
+	call le_get_master_rx_max
+	call not_greater_than
+	iadd regb,pdata
+	istore 2,regc
+	isub rega,null
+	nrtn zero
+	branch le_fifo_release_first_node
+
+	
+le_check_tx_md:
+	call le_check_continue
+	rtnmark1 mark_ble_tx_md
+	fetch 1,mem_le_configuration
+	bbit0 BIT_BLE_TRANSMIT_PACKET_BY_MD,le_clear_md
+	call le_fifo_get_second_tx_ptr	//no packet to send
+	branch le_clear_md,blank
+	branch le_set_md
+
+	
+le_check_continue:
+	call le_fifo_get_first_tx_ptr	//no packet to send
+	branch le_clear_md,blank
+	ifetch 2,contr				//pdata:length
+	ifetcht 2,contr				//temp:offest
+	isub temp,rega			//pdata:length - offset
+	call le_get_master_rx_max
+	copy temp,pdata
+	isub rega,null
+	branch le_clear_md,positive				//27 > length -offset
+le_set_md:
+	set1 mark_ble_tx_md,mark
+	rtn
+
+le_clear_md:
+	set0 mark_ble_tx_md,mark
+	rtn
+
+le_update_tx_type:
+	copy rega,pdata
+	rtn blank
+	arg LLID_CONTINUE,type
+	rtn
+
+
+le_att_check_notification_enable: // temp ->handle,output-> pdata,output :contr->rega
+	bpatchx patch37_2,mem_patch37
+	increase 1,temp
+	call le_att_get_handle_ptr
+	increase -2,contr
+	ifetch 2,contr
+	arg CLIENT_CHARACTERTIC_CONFIGURATION,temp
+	isub temp,null
+	nrtn zero
+	increase 1,contr
+	copy contr,rega
+	ifetch 1,contr
+	rtn
+	
+
+le_send_empty:
+	force 0,temp
+	force 1,type
+	
+le_send_packet:
+	bpatchx patch37_3,mem_patch37
+	storet 1,mem_le_txlen
+	fetcht 1,mem_le_arq
+	set1 wak,temp
+	and temp,0xfc,pdata
+	ior type,pdata
+	store 1,mem_le_arq
+	and_into 0x1f,pdata
+	isolate1 mark_ble_tx_md,mark
+	setflag true,md,pdata
+	store 1,mem_le_txheader
+
+	fetch 1,mem_le_txheader
+	compare 1,type,3
+	nbranch le_send_no_txlen,true
+	fetch 1,mem_le_txlen
+	rtn blank
+	
+le_send_no_txlen:	
+	bmark1 mark_ble_encryption,le_send_packet_enc
+	fetchr loopcnt,1,mem_le_txlen
+	fetch 2,mem_contr
+	copy pdata,contr
+	arg mem_le_txpayload,contw
+	branch memcpy_fast
+	
+le_send_packet_enc:
+	call load_sk
+	branch le_encrypt_new_start
+
+get_lpm_wake_ble_rx_lock:
+	arg wake_lock_ble_rx,queue
+	branch lpm_get_wake_lock
+
+put_lpm_wake_ble_rx_lock:
+	arg wake_lock_ble_rx,queue
+	branch lpm_put_wake_lock
+
+
+le_parse:
+	bpatchx patch37_4,mem_patch37
+	rtnmark1 mark_old_packet
+	rtnmark1 mark_ble_crc_fail
+	fetch 1,mem_le_rxbuf_data_header
+	and pdata,0x3,pdata
+	store 1,mem_le_packet_llid
+	fetch 1,mem_le_rxbuf_data_length
+	rtn blank							//empty rtn
+	setarg mem_le_rxbuf_data_payload
+	store 2,mem_le_payload_ptr
+	bpatchx patch37_5,mem_patch37
+	fetch 1,mem_le_packet_llid
+	beq LLID_LE_LL,le_parse_ll
+le_parse_l2cap:
+	call le_check_l2cap_complete
+	nbranch get_lpm_wake_ble_rx_lock,user
+	call put_lpm_wake_ble_rx_lock
+	setarg 0
+	store 2,mem_le_packet_len_recved
+	fetch 2,mem_le_payload_ptr
+	add pdata,2,contr	//l2cap length
+	bpatchx patch37_6,mem_patch37
+	ifetch 2,contr
+	beq LE_L2CAP_CID_ATT,le_parse_att
+	beq LE_L2CAP_CID_SMP,le_parse_smp
+	beq LE_L2CAP_CID_SIGNAL,le_parse_signaling
+	rtn
+
+
+le_check_l2cap_complete:
+	fetch 1,mem_le_packet_llid
+	beq LLID_START,le_check_l2cap_llid_start
+	beq LLID_CONTINUE,le_check_l2cap_llid_continue
+	rtn
+
+//input: pdata is CID number
+//output: 	if CID is legal ,enable user
+//		if ICD is illegal,disable user 
+le_check_l2cap_CID_legal:
+	call enable_user
+	arg LE_L2CAP_CID_ATT,temp
+	isub pdata,null
+	rtn zero
+	arg LE_L2CAP_CID_SIGNAL,temp
+	isub pdata,null
+	rtn zero
+	arg LE_L2CAP_CID_SMP,temp
+	isub pdata,null
+	rtn zero
+	branch disable_user
+
+	
+le_check_l2cap_llid_start:
+	fetch 2,mem_le_payload_ptr
+	copy pdata,contr
+	ifetch 2,contr
+	store 2,mem_le_l2cap_size
+	ifetch 2,contr			//CID
+	call le_check_l2cap_CID_legal
+	nrtn user		//CID error
+	fetcht 1,mem_le_rxbuf_data_length
+	storet 2,mem_le_packet_len_recved
+	fetch 2,mem_le_l2cap_size
+	increase 4,pdata		//CID:2 L2cap length 2
+	isub temp,null
+	branch enable_user,zero
+	fetchr loopcnt,1,mem_le_rxbuf_data_length
+	arg mem_le_l2cap_buf,contw
+	fetch 2,mem_le_payload_ptr
+	copy pdata,contr
+	call memcpy_fast
+	branch disable_user
+
+//no input
+//output: 	if CID is legal ,enable user
+//		if ICD is illegal,disable user 
+le_check_l2cap_continue_legal:
+	call enable_user
+	fetch 2,mem_le_packet_len_recved
+	nrtn blank
+	branch disable_user
+
+le_check_l2cap_llid_continue:
+	call le_check_l2cap_continue_legal
+	nrtn user		//check receive start packet
+	fetch 2,mem_le_packet_len_recved
+	arg mem_le_l2cap_buf,contw
+	iadd contw,rega
+	fetcht 1,mem_le_rxbuf_data_length
+	iadd temp,pdata
+	store 2,mem_le_packet_len_recved
+	fetchr loopcnt,1,mem_le_rxbuf_data_length
+	copy rega,contw
+	fetch 2,mem_le_payload_ptr
+	copy pdata,contr
+	call memcpy_fast
+	setarg mem_le_l2cap_buf
+	store 2,mem_le_payload_ptr		//update ptr->mem_le_l2capbuff
+	fetch 2,mem_le_l2cap_size
+	increase 4,pdata
+	fetcht 2,mem_le_packet_len_recved
+	isub temp,null
+	branch enable_user,zero
+	branch disable_user
+
+
+
+
+
+le_get_search_att_uuid:
+	call store_contr
+	arg mem_le_search_uuid_length,contw
+	branch le_get_search_common
+
+
+	
+le_writeatt_cb:
+	fetch 2,mem_cb_att_write
+	branch callback_func
+	
+le_supervision_update:
+	fetcht 4,mem_le_supervision_timer
+	call get_clkbt
+	isub temp,timeup					
+	deposit timeup
+	fetcht 2,mem_le_superto
+	lshift4 temp,temp
+	lshift temp,temp
+	isub temp,pdata
+	rtn
+	
+le_supervision_flush:
+	call get_clkbt
+	store 4,mem_le_supervision_timer
+	rtn
+
+	
+//input rega
+le_receive_window_size:
+	bpatchx patch37_7,mem_patch37
+	add rega, coffset_le_peer_sca,contr
+	ifetch 1,contr
+	call le_sca_map
+	add rega, coffset_tsniff,contr
+	ifetch 2,contr
+	imul32 temp,pdata
+	fetcht 2,mem_param_rt_rthalfslot
+	imul32 temp,pdata
+	arg 1000000,temp
+	idiv temp
+	arg PARAM_WINDOWN_SIZE,temp
+	fetch 1,mem_system_clk
+	imul32 temp,temp
+	add rega, coffset_le_window_size,contr
+	ifetch 1,contr
+	imul32 temp,pdata
+	iadd temp,pdata
+	store 4,mem_le_transmit_window	
+	fetch 2,mem_rx_window_sniff
+	call wait_div_end
+	quotient temp
+	iadd temp,pdata
+	add rega, coffset_rx_window,contw
+	istore 2,contw
+	rtn
+
+	
+
+le_init_attlist_search:
+	bpatchx patch38_0,mem_patch38
+	fetch 2,mem_le_search_handle_start
+	iforce regb
+	fetch 2,mem_le_search_handle_end
+	iforce regc
+	fetch 2,mem_ui_le_uuid_table
+	iforce contr
+	enable user
+	rtn
+
+	
+le_att_handle_inrange:
+	ifetch 2,contr
+	and_into 0xff,pdata
+	rtn blank
+	isub regb,null			
+	nrtn positive
+	isub regc,null			
+	rtn zero
+	branch le_att_handle_blank,positive
+	force 1,null
+	rtn
+le_att_handle_blank:
+	force 0,pdata
+	rtn
+
+
+	
+le_att_get_handle_ptr:
+	call le_att_get_handle_ptr2
+	branch le_att_get_handle_ptr_found,zero
+	rtn
+	
+le_att_get_handle_ptr2:
+	bpatchx patch38_1,mem_patch38
+	fetch 2,mem_ui_le_uuid_table
+	iforce contr
+le_att_get_handle_loop1:
+	ifetch 2,contr
+	and_into 0xff,pdata
+	rtn blank
+	isub temp,null
+	rtn zero
+	ifetch 1,contr
+	iadd contr,contr	
+	ifetch 1,contr			// length  
+	iadd contr,contr
+	branch le_att_get_handle_loop1
+le_att_get_handle_ptr_found:
+	ifetch 1,contr
+	iadd contr,contr	
+	rtn	
+
+
+
+le_att_get_short_uuid_ptr:
+	bpatchx patch38_2,mem_patch38
+	fetch 2,mem_ui_le_uuid_table
+	iforce contr
+le_att_get_short_uuid_loop:
+	ifetch 2,contr
+	and_into 0xff,pdata
+	rtn blank
+	ifetch 1,contr
+	iadd contr,contr
+	increase -2,contr
+	ifetch 2,contr
+	isub temp,null
+	rtn zero
+	ifetch 1,contr			 
+	iadd contr,contr
+	branch le_att_get_short_uuid_loop	
+
+
+//output:temp:new handle num
+//contr:address write data
+le_att_get_last_handle:
+	fetch 2,mem_ui_le_uuid_table
+	iforce contr
+le_att_get_last_handle_loop:
+	ifetch 2,contr
+	and_into 0xff,pdata
+	rtn blank
+	add pdata,1,temp
+	ifetch 1,contr
+	iadd contr,contr	
+	ifetch 1,contr			// length
+	iadd contr,contr
+	copy contr,contw
+	branch le_att_get_last_handle_loop
+
+
+le_att_get_handle_info_from_ptr:
+	fetch 2, mem_le_cur_attlist_start_ptr
+	branch le_att_get_handle_info_fast
+
+le_att_get_handle_info:
+	bpatchx patch38_3,mem_patch38
+	fetch 2,mem_ui_le_uuid_table
+le_att_get_handle_info_fast:
+	iforce contr
+le_att_get_handle_loop:
+	ifetch 2,contr
+	and_into 0xff,pdata
+	branch le_att_unfind_handle,blank
+	isub temp,null
+	branch le_att_finded_handle, zero
+	ifetch 1,contr			// length  
+	iadd contr,contr	
+	ifetch 1,contr			//length 
+	iadd contr,contr
+	branch le_att_get_handle_loop
+le_att_unfind_handle:
+	branch disable_blank
+
+le_att_finded_handle:
+	ifetch 1,contr
+	store 1,mem_le_cur_uuid_length
+	copy pdata,loopcnt
+	arg mem_le_cur_uuid,contw
+	call memcpy_fast
+	ifetch 1,contr
+	store 1,mem_le_curr_att_len
+	call store_contr
+	branch enable_blank
+
+	
+le_modified_name:
+	bpatchx patch38_4,mem_patch38
+	call le_modified_name_att_list
+	branch le_modified_name_adv
+
+le_modified_name_att_list:
+	arg UUID_CHRCTR_DEVICE_NAME,temp
+	call le_att_get_short_uuid_ptr
+	rtn blank
+	ifetch 1,contr						// attribute length
+	copy contr,contw
+	fetcht 1,mem_le_name_len
+	copy temp,loopcnt
+	isub temp,null
+	nbranch le_name_length_longer_than_att,positive
+	isub temp,temp
+	arg mem_le_name,contr
+	call memcpy_fast
+	copy temp,loopcnt
+	ncall memcpy_empty,zero
+	rtn
+le_name_length_longer_than_att:
+	copy pdata,loopcnt
+	arg mem_le_name,contr
+	branch memcpy_fast
+
+
+le_modified_name_adv:
+	arg mem_le_adv_data_len+32,regc
+	arg mem_le_adv_data,rega
+	call le_modified_name_adv_and_scan
+	setarg 0
+	setflag user,0,pdata
+	store 1,mem_pdatatemp
+	arg mem_le_scan_data_len+32,regc
+	arg mem_le_scan_data,rega
+	call le_modified_name_adv_and_scan
+	rtn user
+	fetch 1,mem_pdatatemp
+	branch assert,blank
+	rtn
+
+
+le_modified_name_adv_and_scan:
+	bpatchx patch38_5,mem_patch38
+	call enable_user
+	call clear_temp_block
+	arg 0,regb	//current length
+	arg mem_le_data_temp,contw
+	call le_modified_name_adv_loop
+	fetch 1,mem_le_name_len
+	add pdata,1,temp
+	iadd regb,rega	
+	increase 2,rega
+	sub rega,0x1f,null
+	nbranch le_modified_name_adv_and_scan_name_overflow,positive
+	istoret 1,contw		//store ble name length
+	arg GAP_ADTYPE_LOCAL_NAME_COMPLETE,temp
+	istoret 1,contw		//store ble name type
+	iforce loopcnt
+	call memcpy_fast
+	copy rega,regb
+le_modified_name_adv_and_scan_store_data:
+	deposit regb
+	store 1,mem_le_data_len_temp
+	arg mem_le_data_len_temp,contr
+	setarg -32
+	iadd regc,contw
+	branch memcpy32
+
+le_modified_name_adv_and_scan_name_overflow:
+	call disable_user
+	branch le_modified_name_adv_and_scan_store_data
+	
+le_modified_name_adv_loop:
+	ifetch 1,rega		//pdata:length
+	rtn blank			//length is zero,ending find
+	pincrease 1		//length += 1
+	ifetcht 1,contr		//pdata:type
+	sub temp,GAP_ADTYPE_LOCAL_NAME_COMPLETE,null
+	branch le_modified_name_adv_found_name,zero
+	iadd regb,regb	
+	copy rega,contr
+	iforce loopcnt
+	call memcpy_fast
+	copy contr,rega
+le_modified_name_adv_loop2:
+	deposit rega
+	isub regc,null
+	rtn positive
+	branch le_modified_name_adv_loop
+
+le_modified_name_adv_found_name:
+	iadd rega,rega
+	branch le_modified_name_adv_loop2
+
+
+memcpy_empty:
+	setarg SPACE
+	istore 1,contw
+	loop memcpy_empty
+	rtn
+
+	
+le_lpm_set_mult:
+	bpatchx patch38_6,mem_patch38
+	disable wake
+	branch le_lpm_set_mult_attempt,attempt
+	nbranch le_lpm_lost,match
+le_lpm_set_mult_attempt:
+	call lpm_match
+	fetch 2,mem_rx_window_sniff
+	store 2,mem_le_receive_window
+le_lpm_set_mult_attempt_match:
+	nbranch lpm_mult_short,match
+	bmark1 mark_old_packet,lpm_mult_short
+
+	fetch 1,mem_le_rxbuf_data_length
+	nbranch lpm_mult_short,blank		// rx not empty, short interval
+	fetch 1,mem_le_txlen
+	nbranch lpm_mult_short,blank		// tx not empty, short interval
+	
+	fetch 1,mem_le_configuration
+	bbit1 BIT_BLE_SHORT_MULT,lpm_mult_short	//check flag,if flag is 1,always short mult
+	
+	fetch 1,mem_le_state
+	bbit1 lestate_update_param,lpm_mult_short
+	branch lpm_mult_wait_timeout
+	
+le_lpm_lost:
+	fetcht 2,mem_rx_window_sniff
+	rshift temp,temp
+	fetch 2,mem_le_receive_window
+	iadd temp,pdata
+	store 2,mem_le_receive_window
+	branch lpm_lost
+
+///////////////////////////////BLE CONFIG//////////////////////////////////////////
+le_set_config_fixed_tk:
+	arg BIT_BLE_PASSKEY_FIXED_KEY,queue
+	branch le_set_config
+
+le_clr_config_fixed_tk:
+	arg BIT_BLE_PASSKEY_FIXED_KEY,queue
+	branch le_clr_config
+
+le_set_config_fixed_ltk:
+	arg BIT_BLE_PAIRING_FIXED_LTK,queue
+	branch le_set_config
+
+le_clr_config_fixed_ltk:
+	arg BIT_BLE_PAIRING_FIXED_LTK,queue
+	branch le_clr_config
+
+le_set_config_more_data:
+	arg BIT_BLE_TRANSMIT_PACKET_BY_MD,queue
+	branch le_set_config
+
+le_clr_config_more_data:
+	arg BIT_BLE_TRANSMIT_PACKET_BY_MD,queue
+	branch le_clr_config
+
+le_set_config_read_authentication:
+	arg BIT_BLE_READ_AUTH,queue
+	branch le_set_config
+
+le_clr_config_read_authentication:
+	arg BIT_BLE_READ_AUTH,queue
+	branch le_clr_config
+
+le_set_config_write_authentication:
+	arg BIT_BLE_WRITE_AUTH,queue
+	branch le_set_config
+
+le_clr_config_write_authentication:
+	arg BIT_BLE_WRITE_AUTH,queue
+	branch le_clr_config
+
+le_set_config_short_mult:
+	arg BIT_BLE_SHORT_MULT,queue
+	branch le_set_config
+
+le_clr_config_short_mult:
+	arg BIT_BLE_SHORT_MULT,queue
+	branch le_clr_config
+
+
+le_set_config:
+	fetch 1,mem_le_configuration
+	qset1 pdata
+	store 1,mem_le_configuration
+	rtn
+
+le_clr_config:
+	fetch 1,mem_le_configuration
+	qset0 pdata
+	store 1,mem_le_configuration
+	rtn
+
+le_set_fixed_ltk:
+	setarg 0x112233
+	store 3,mem_le_fixed_ltk
+	setarg 0x445566
+	istore 3,contw
+	setarg 0x778899
+	istore 3,contw
+	setarg 0x001122
+	istore 3,contw
+	setarg 0x334455
+	istore 3,contw
+	setarg 0x66
+	istore 1,contw
+	rtn
+
+
+le_set_justwork:
+	setarg 0x01000302
+	store 4,mem_le_pres
+	setarg 0x010010
+	store 3,mem_le_pres_max_keysize
+	jam 1,mem_le_pairing_mode
+	rtn
+
+/////////////////////////////////////////////////////////////////////////
+
+le_fifo_malloc_tx_empty:
+	arg 0,rega
+	arg LLID_EMPTY,type
+	branch le_fifo_malloc_tx
+
+
+//rega:len regb:ll opcode
+le_fifo_malloc_tx_ll:
+	arg LLID_LE_LL,type
+	call le_fifo_malloc_tx
+	copy regb,pdata
+	istore 1,contw
+	rtn
+	
+
+//rega:len regb:cid
+le_fifo_malloc_tx_l2cap:
+	force LLID_START,type
+	increase 4,rega
+	call le_fifo_malloc_tx
+	increase -4,rega
+	copy rega,pdata
+	istore 2,contw
+	copy regb,pdata
+	istore 2,contw
+	rtn
+
+
+//rega:len type:llid
+le_fifo_malloc_tx:
+	bpatchx patch38_7,mem_patch38
+	increase 5,rega
+	call ble_l2cap_malloc
+	increase -5,rega
+	copy rega,pdata
+	istore 2,contw				//lengh
+	setarg 0
+	istore 2,contw				//offset
+	copy type,pdata
+	istore 1,contw				//LLID
+	rtn
+
+
+le_fifo_get_first_tx_ptr:
+	call l2cap_malloc_fifo_out
+	copy pdata,contr
+	rtn
+
+le_fifo_get_second_tx_ptr:
+	fetch 2,mem_tx_fifo2_ptr
+	rtn
+
+le_fifo_get_last_tx_ptr:
+	call le_fifo_get_last_tx_ptr0
+	copy pdata,contr
+	rtn
+
+
+le_fifo_get_last_tx_ptr0:
+	fetch 2,mem_tx_fifo3_ptr
+	rtn
+
+
+le_fifo_get_first_l2cap_ptr:
+	call le_fifo_get_first_tx_ptr
+	increase 5,contr
+	rtn
+
+le_fifo_get_first_att_ptr:
+	call le_fifo_get_first_tx_ptr
+	increase 9,contr
+	rtn
+
+le_fifo_get_last_att_ptr:
+	call le_fifo_get_last_tx_ptr
+	increase 9,contr
+	rtn
+
+le_fifo_get_last_l2cap_ptr:
+	call le_fifo_get_last_tx_ptr
+	increase 5,contr
+	rtn
+
+
+le_fifo_check_full:
+	branch l2cap_malloc_is_fifo_full
+
+
+le_fifo_check_nearly_full:
+	branch l2cap_malloc_is_fifo_nearly_full
+
+	
+le_fifo_check_empty:
+	branch l2cap_malloc_is_fifo_empty
+
+
+le_fifo_release_first_node:
+	branch l2cap_malloc_free
+
+
+le_set_dle:
+	store 8,mem_local_rx_max_octets
+	branch le_set_feature_data_packet_length_extension
+
+
+le_set_phys:
+	and temp,0xff,rega
+	call le_set_tx_phy
+	rshift8 temp,rega
+	branch le_set_rx_phy
+
+le_set_tx_phy:
+	storer rega,1,mem_le_tx_phys
+	isolate1 BIT_LE_2M_PHY,rega
+	call le_set_feature_2M_phy,true
+	isolate1 BIT_LE_CODED_PHY,rega
+	call le_set_feature_coded_phy,true
+	rtn
+
+le_set_rx_phy:
+	storer rega,1,mem_le_rx_phys
+	branch le_set_tx_phy+1
+
+
+le_set_feature_2M_phy:
+	arg BIT_LL_FEATURE_LE_2M_PHY,queue
+	branch le_set_feature
+
+
+le_set_feature_coded_phy:
+	arg BIT_LL_FEATURE_LE_CODED_PHY,queue
+	branch le_set_feature
+
+
+le_set_feature_data_packet_length_extension:
+	arg BIT_LL_FEATURE_LE_DATA_PACKET_LENGTH_EXTENSION,queue
+	branch le_set_feature
+
+
+le_set_feature:
+	fetch 8,mem_le_local_feature
+	qset1 pdata
+	store 8,mem_le_local_feature
+	rtn
+
+
+
+
+
+le_advertising_dispatch:
+	jam FUN_RX_LL_1M_PHY,mem_le_rx_phy
+	jam FUN_TX_LL_1M_PHY,mem_le_tx_phy
+	call le_enable
+	call le_scan
+	call le_adv
+	branch le_disable
+
+le_scan:
+	bpatchx patch39_0,mem_patch39
+	fetch 1,mem_le_scan_enable
+	rtnne LE_SCAN_ENABLE
+	arg le_scan_interval_timer,queue
+	call timer_check
+	nrtn blank
+	fetch 2,mem_le_scan_interval
+	fetcht 2,mem_le_scan_window
+	isub temp,pdata
+	arg le_scan_interval_timer,queue
+	call timer_init
+	disable master
+	call le_init_adv
+	call le_wait_adv
+	nrtn match
+	bpatchx patch39_1,mem_patch39
+	fetch 6,mem_le_rxbuf+2
+	store 6,mem_le_plap
+//	call le_scan_dongle
+
+	fetch 1,mem_le_adv_rcv
+	increase 1,pdata
+	store 1,mem_le_adv_rcv
+	call le_create_conn
+	rtn master
+	call le_send_scan_request
+	nrtn match
+	fetch 1,mem_le_scanrsp_rcv
+	increase 1,pdata
+	store 1,mem_le_scanrsp_rcv
+	fetch 9,mem_le_rxbuf+8
+	store 9,mem_tmp_buffer
+	rtn
+
+
+le_wait_adv:
+	bpatchx patch39_2,mem_patch39
+	call le_next_adv_channel
+	call le_receive_adv
+	fetch 1,mem_le_adv_waitcnt
+	increase 1,pdata
+	store 1,mem_le_adv_waitcnt
+	rtn
+
+
+le_create_conn:
+	bpatchx patch39_3,mem_patch39
+	fetch 1,mem_cmd_le_create_conn
+	rtnne hci_cmd_le_create_conn
+	fetch 6,mem_le_plap
+	fetcht 6,mem_le_conn_peer_addr
+	isub temp,null
+	nrtn zero
+	call context_new
+	nrtn zero
+	call le_connect_request
+	call le_init_master
+	jam 0,mem_hci_cmd
+	jam 0,mem_le_peer_sca
+	jam 0,mem_le_scan_enable
+	jam 0,mem_cmd_le_create_conn
+	branch context_save
+
+le_connect_request:
+	bpatchx patch39_4,mem_patch39
+	force -1,pdata
+	setsect 2,1
+	store 5,mem_le_channel_map
+	arg mem_le_state,rega	
+	call le_calc_channel_map	
+	force 4,loopcnt
+	arg mem_le_access,contw
+	call generate_random_loop	
+	fetch 2,mem_le_timeout
+	store 2,mem_le_superto
+le_con_req_hop_retry:
+	random pdata
+	and_into 0xf,pdata
+	sub pdata,4,null
+	branch le_con_req_hop_retry,positive
+	store 1,mem_le_hop
+	store 1,mem_tmp1
+	bpatchx patch39_5,mem_patch39
+	fetcht 2,mem_le_conn_interval
+	storet 2,mem_le_tsniff	
+	copy temp,regc			// tsniff in regc
+	add clkn_bt,7,pdata			// leave space for offset
+	idiv regc
+	call wait_div_end
+	remainder rega
+	isub rega,pdata
+	iadd regc,pdata
+	fetcht 2,mem_le_dsniff
+	iadd temp,pdata
+	store 4,mem_le_anchor
+	isub clkn_bt,rega
+	increase -6,rega			// window offset
+	arg 0x2205,regb			// length & CONN_REQ PDU
+	fetch 1,mem_le_conn_own_addr_type
+	nsetflag blank,LE_SENDER_ADDR_BIT,regb
+	fetch 1,mem_le_conn_peer_addr_type
+	nsetflag blank,LE_RECEIVER_ADDR_BIT,regb
+	copy regb,pdata
+	store 2,mem_le_txheader
+	fetch 6,mem_le_lap
+	istore 6,contw//own addr
+	fetch 6,mem_le_plap
+	istore 6,contw// peer addr
+	fetch 4,mem_le_access
+	istore 4,contw
+	random pdata
+	istore 2,contw				
+	random pdata
+	istore 1,contw
+	force 2,pdata					
+	istore 1,contw
+	rshift2 rega,pdata
+	istore 2,contw				
+	rshift2 regc,pdata			
+	istore 2,contw				
+	bpatchx patch39_6,mem_patch39
+	setarg 0					
+	istore 2,contw
+	fetch 2,mem_le_timeout
+	istore 2,contw
+	fetch 5,mem_le_channel_map
+	istore 5,contw				
+	fetch 1,mem_le_hop
+	arg param_le_sca,temp
+	ior temp,pdata
+	istore 1,contw
+	call le_transmit_norx
+	setarg mem_le_txheader
+	add pdata,18,contr
+	ifetch 3,contr
+	store 3,mem_le_crcinit
+	rtn
+		
+
+
+le_adv:
+	jam 36,mem_le_ch_mapped
+	jam 0,mem_le_adv_channel_map_temp
+le_adv_loop:
+	fetch 1,mem_le_adv_enable
+	rtn blank
+	arg le_adv_interval_timer,queue
+	call timer_check
+	nrtn blank
+	bpatchx patch39_7,mem_patch39
+le_adv_loop_tx:
+	enable swfine
+	call le_init_adv
+	call le_next_adv_channel
+	call le_send_adv_ind
+	nbranch le_adv_not_match,match
+	fetch 1,mem_le_req_rcv
+	increase 1,pdata
+	store 1,mem_le_req_rcv
+	fetch 1,mem_le_rxbuf_adv_header
+	and pdata,0x0f,pdata
+	beq SCAN_REQ,le_send_scan_response
+	beq CONNECT_REQ,le_parse_connect_req
+le_adv_not_match:
+	bpatchx patch3a_0,mem_patch3a
+	fetch 1,mem_le_adv_channel_map_temp
+	fetcht 1,mem_le_adv_channel_map
+	isub temp,null
+	nbranch le_adv_loop,zero
+	random pdata 
+	arg 0x1ff,temp
+	iand temp,pdata
+	add pdata,250,pdata
+	call delay
+	arg le_adv_interval_timer,queue
+	fetch 2,mem_le_adv_interval
+	branch timer_init
+
+
+le_init_adv:
+	bpatchx patch3a_1,mem_patch3a
+	disable master
+le_adv_access:
+	setarg 0x8e89be
+	lshift8 pdata,pdata
+	or_into 0xd6,pdata
+	iforce access
+	setarg 0x555555
+	store 3,mem_le_crcinit
+	branch calc_mod_value_scale_le
+
+
+
+le_send_adv_ind:
+	bpatchx patch3a_2,mem_patch3a
+	fetch 1,mem_le_adv_type
+	fetcht 1,mem_le_adv_own_addr_type
+	lshift4 temp,temp
+	lshift2 temp,temp
+	iadd temp,temp
+	storet 1,mem_le_txheader
+	beq ADV_DIRECT_IND,le_send_adv_direct_ind
+	fetcht 1,mem_le_adv_data_len
+	add temp,6,pdata
+	store 1,mem_le_txlen
+	fetch 6,mem_le_lap
+	store 6,mem_le_txpayload
+	copy temp,loopcnt
+	arg mem_le_adv_data,contr
+	call memcpy_fast
+	branch le_send_adv_transmit
+
+le_send_adv_direct_ind:
+	setarg 12
+	store 1,mem_le_txlen
+	fetch 6,mem_le_lap
+	store 6,mem_le_txpayload
+	fetch 6,mem_hci_plap
+	istore 6,contw
+le_send_adv_transmit:
+	bpatchx patch3a_3,mem_patch3a
+	fetch 1,mem_le_adv_transmit
+	increase 1,pdata
+	store 1,mem_le_adv_transmit
+	arg 1800,stop_watch
+	disable match
+	branch le_transmit_receive_sifs_without_change_mode
+
+
+le_send_scan_request:
+	bpatchx patch3a_4,mem_patch3a
+	fetch 1,mem_le_scan_type
+	rtnne LE_SCAN_TYPE_ACTIVE
+	fetch 1,mem_le_adv_transmit
+	increase 1,pdata
+	store 1,mem_le_adv_transmit
+	arg 0x0c03,temp// length + SCAN_REQ PDU
+	fetch 1,mem_le_scan_own_addr_type
+	nsetflag blank,LE_SENDER_ADDR_BIT,temp
+	copy rega,pdata
+	nsetflag blank,LE_RECEIVER_ADDR_BIT,temp	
+	storet 2,mem_le_txheader
+	fetch 6,mem_le_lap
+	istore 6,contw
+	fetch 6,mem_le_plap
+	istore 6,contw
+	branch le_transmit_receive_sifs_without_change_mode
+
+le_send_scan_response:
+	fetch 6,mem_le_rxbuf_adv_scan_req_adv_address
+	fetcht 6,mem_le_lap
+	isub temp,null
+	nrtn zero
+	arg SCAN_RSP,temp
+	fetch 1,mem_le_adv_own_addr_type
+	nsetflag blank,LE_SENDER_ADDR_BIT,temp
+	storet 1,mem_le_txheader
+	fetcht 1,mem_le_scan_data_len
+	add temp,6,pdata
+	store 1,mem_le_txlen
+	fetch 6,mem_le_lap
+	store 6,mem_le_txpayload
+	arg mem_le_scan_data,contr
+	copy temp,loopcnt
+	call memcpy_fast
+	call le_transmit_norx
+	branch le_adv_not_match
+
+le_parse_connect_req:
+	fetch 6,mem_le_rxbuf_adv_connect_ind_adv_address
+	fetcht 6,mem_le_lap
+	isub temp,null
+	nrtn zero
+	call le_scan_check_sender_addr_type
+	storer rega,1,mem_le_conn_peer_addr_type
+	fetch 6,mem_le_rxbuf_adv_connect_ind_init_address
+	store 6,mem_le_plap
+	fetch 8,mem_le_rxbuf_adv_connect_ind_access_address
+	store 8,mem_le_access 	// and crcinit & window size
+	fetcht 2,mem_le_rxbuf_adv_connect_ind_win_offset	// transmit offset
+	bpatchx patch3a_5,mem_patch3a
+	lshift2 temp,temp
+	fetch 2,mem_le_rxbuf_adv_connect_ind_interval	// connInterval
+	lshift2 pdata,pdata
+	store 2,mem_le_tsniff
+	store 4,mem_le_anchor
+	isub temp,pdata
+	add pdata,-2,clke_bt
+	fetch 9,mem_le_rxbuf_adv_connect_ind_latency
+	store 9,mem_le_slave_latency// and super to & channel map
+	fetch 1,mem_le_rxbuf_adv_connect_ind_hop_and_sca
+	and pdata,0x1f,temp
+	storet 1,mem_le_hop
+	rshift4 pdata,temp
+	rshift temp,temp
+	storet 1,mem_le_peer_sca
+	arg mem_le_state,rega
+	call le_receive_window_size
+	arg mem_le_state,rega	
+	call le_calc_channel_map
+	call le_init_slave
+	call context_new
+	nrtn zero
+	bpatchx patch3a_6,mem_patch3a
+	call calc_clke_offset
+	call le_l2cap_reset_signaling_identifier
+	jam BT_EVT_LE_CONNECTED,mem_fifo_temp
+	call ui_ipc_send_event
+	branch context_save
+
+
+le_next_adv_channel:
+	bpatchx patch3a_7,mem_patch3a
+	fetch 1,mem_le_ch_mapped
+	beq 37,le_next_adv_channel_curr_channel_37
+	beq 38,le_next_adv_channel_curr_channel_38
+	beq 39,le_next_adv_channel_curr_channel_39
+	branch le_next_adv_channel_curr_channel_39
+
+le_next_adv_channel_curr_channel_37:
+	fetcht 1,mem_le_adv_channel_map
+	isolate1 BIT_ADV_CHANNEL_MAP_38,temp		//check 38 channel enable
+	branch set_le_next_adv_channel_38,true
+	isolate1 BIT_ADV_CHANNEL_MAP_39,temp		//check 39 channel enable
+	branch set_le_next_adv_channel_39,true
+	branch set_le_next_adv_channel_37
+
+
+le_next_adv_channel_curr_channel_38:
+	fetcht 1,mem_le_adv_channel_map
+	isolate1 BIT_ADV_CHANNEL_MAP_39,temp		//check 39 channel enable
+	branch set_le_next_adv_channel_39,true
+	isolate1 BIT_ADV_CHANNEL_MAP_37,temp		//check 37 channel enable
+	branch set_le_next_adv_channel_37,true
+	branch set_le_next_adv_channel_38
+
+
+le_next_adv_channel_curr_channel_39:
+	fetcht 1,mem_le_adv_channel_map
+	isolate1 BIT_ADV_CHANNEL_MAP_37,temp		//check 37 channel enable
+	branch set_le_next_adv_channel_37,true
+	isolate1 BIT_ADV_CHANNEL_MAP_38,temp		//check 38 channel enable
+	branch set_le_next_adv_channel_38,true
+	branch set_le_next_adv_channel_39
+
+set_le_next_adv_channel_37:
+	jam 37,mem_le_ch_mapped
+	fetch 1,mem_le_adv_channel_map_temp
+	set1 BIT_ADV_CHANNEL_MAP_37,pdata
+	store 1,mem_le_adv_channel_map_temp
+	rtn
+
+set_le_next_adv_channel_38:
+	jam 38,mem_le_ch_mapped
+	fetch 1,mem_le_adv_channel_map_temp
+	set1 BIT_ADV_CHANNEL_MAP_38,pdata
+	store 1,mem_le_adv_channel_map_temp
+	rtn
+
+set_le_next_adv_channel_39:
+	jam 39,mem_le_ch_mapped
+	fetch 1,mem_le_adv_channel_map_temp
+	set1 BIT_ADV_CHANNEL_MAP_39,pdata
+	store 1,mem_le_adv_channel_map_temp
+	rtn
+
+
+
+
+le_parse_att:
+	ifetch 3,contr
+	store 3,mem_le_att_opcode
+	beq ATTOP_EXCHANGE_MTU_REQUEST,le_parse_att_exchange_mtu_request
+	beq ATTOP_EXCHANGE_MTU_RESPONSE,le_parse_att_exchange_mtu_response
+	beq ATTOP_FIND_INFORMATION_REQUEST,le_parse_att_find_information_request
+	beq ATTOP_FIND_BY_TYPE_VALUE_REQUEST,le_parse_att_find_by_type_value_request
+	beq ATTOP_READ_BY_TYPE_REQUEST,le_parse_att_read_by_type_request
+	beq ATTOP_READ_REQUEST,le_parse_att_read_request
+	beq ATTOP_READ_BLOB_REQUEST,le_parse_att_read_blob_request
+	beq ATTOP_READ_BY_GROUP_TYPE_REQUEST,le_parse_att_read_by_group_type_request
+	beq ATTOP_WRITE_REQUEST,le_parse_att_write_request
+	beq ATTOP_PREPARE_WRITE_REQUEST,le_parse_att_prepare_write_request
+	beq ATTOP_EXECUTE_WRITE_REQUEST,le_parse_att_execute_write_request
+	beq ATTOP_HANDLE_VALUE_CONFIRMATION,le_parse_handle_value_confirmation
+	beq ATTOP_WRITE_COMMAND,le_parse_att_write_command
+	rtn
+
+
+le_send_att_exchange_mtu_requset:
+	force 3,rega
+	call le_fifo_malloc_tx_l2cap_gatt
+	setarg ATTOP_EXCHANGE_MTU_REQUEST
+	istore 1,contw
+	fetch 2,mem_le_local_mtu
+	istore 2,contw
+	rtn
+
+
+le_parse_att_exchange_mtu_request:
+	call le_parse_att_exchange_mtu_response
+le_send_att_exchange_mtu_response:
+	force 3,rega
+	call le_fifo_malloc_tx_l2cap_gatt
+	setarg ATTOP_EXCHANGE_MTU_RESPONSE
+	istore 1,contw
+	fetch 2,mem_le_local_mtu
+	istore 2,contw
+	rtn
+
+le_parse_att_exchange_mtu_response:
+	rshift8 pdata,pdata
+	store 2,mem_le_remote_mtu
+	rtn
+
+le_parse_att_find_information_request:
+	call le_get_search_handle_start_end_common
+	call enable_user
+	branch le_send_att_find_information_response
+	
+le_send_att_find_information_response:
+	arg 3,timeup
+	call le_init_attlist_search
+le_send_att_find_information_res_loop:
+	call le_att_handle_inrange
+	branch le_send_att_find_information_res_end,blank
+	nbranch le_send_att_find_information_res_next,positive
+	increase -2,contr
+	call store_contr
+	call get_contw
+	nbranch le_send_att_find_information_res_store_info,user
+	call push_stack_rega_b_c
+	call disable_user
+	storer timeup,4,mem_timeup
+	force 20,rega
+	call le_fifo_malloc_tx_l2cap_gatt
+	fetchr timeup,4,mem_timeup
+	call pop_stack_rega_b_c
+	setarg ATTOP_FIND_INFORMATION_RESPONSE
+	istore 1,contw
+	setarg UUID_SIZE_16BIT
+	istore 1,contw
+le_send_att_find_information_res_store_info:
+	call get_contr
+	ifetch 2,contr
+	and_into 0xff,pdata
+	istore 2,contw
+	ifetch 1,contr
+	copy pdata,loopcnt
+	call memcpy
+	call store_contw
+	increase -1,timeup
+	branch le_send_att_find_information_res_end,zero
+le_send_att_find_information_res_cont:
+	ifetch 1,contr
+	iadd contr,contr
+	branch le_send_att_find_information_res_loop
+le_send_att_find_information_res_next:
+	ifetch 1,contr
+	iadd contr,contr
+	branch le_send_att_find_information_res_cont
+le_send_att_find_information_res_end:
+	branch le_send_att_error_response_notfound,user
+	branch le_send_auto_len_by_mem
+
+
+le_parse_att_find_by_type_value_request:
+	call le_get_search_handle_start_end_common
+	ifetch 2,contr
+	store 2,mem_le_search_uuid
+	call store_contr
+	arg mem_le_search_att_type_length,contw
+	fetch 2,mem_le_l2cap_size
+	increase -7,pdata
+	call le_get_search_common2
+	branch le_send_att_find_by_type_value_response
+
+
+le_start_end_handle_check_1:
+	disable user
+	fetcht 2,mem_le_search_handle_start
+	fetch 2,mem_le_search_handle_end
+	isub temp,null
+	nbranch le_start_end_handle_check_1_fail,positive
+	deposit temp
+	rtnne 0
+le_start_end_handle_check_1_fail:
+	enable user
+	jam ATT_ERR_INVALID_HANDLE,mem_le_err_code
+	branch le_send_att_error_response
+
+
+le_send_att_find_by_type_value_response:
+	call le_start_end_handle_check_1
+	rtn user
+	fetcht 2,mem_le_search_uuid
+	setarg UUID_GATT_PRIMARY_SERVICE
+	isub temp,null
+	branch le_send_att_find_by_type_value_res_primary,zero
+	branch le_send_att_error_response_notfound
+	
+
+le_send_att_find_by_type_value_res_primary:
+	jam LE_FIND_BY_TYPE_VAL_RES_NOT_FOUND,mem_le_search_res
+	fetcht 2,mem_le_search_handle_start
+	storet 2,mem_temp
+	call le_att_get_handle_info
+	nbranch le_send_att_error_response_notfound,blank
+le_send_att_find_primary_search_loop:
+	fetcht 2,mem_temp
+	call le_att_get_handle_info
+	nbranch le_send_att_error_response_notfound2,blank	
+	copy contr,rega
+	fetch 1,mem_le_curr_att_len
+	copy pdata,loopcnt
+	fetcht 1,mem_le_search_att_type_length
+	isub temp,null
+	nbranch le_send_att_find_primary_search_loop1,zero
+	arg mem_le_search_att_type,regb
+	call string_compare
+
+	branch le_send_att_find_primary_search_end_start_handle_found,zero
+
+	fetch 2,mem_le_cur_uuid
+	fetcht 2,mem_le_search_uuid
+	isub temp,null
+	branch le_send_att_find_primary_search_end_ending_handle_found,zero
+le_send_att_find_primary_search_loop1:
+	fetch 2,mem_temp
+	increase 1,pdata
+	store 2,mem_temp
+	branch le_send_att_find_primary_search_loop
+
+le_send_att_error_response_notfound2:
+	fetch 1,mem_le_search_res
+	beq LE_FIND_BY_TYPE_VAL_RES_FOUND_STARTING_HANDLE,le_send_att_find_primary_search_end_ending_handle_found
+	branch le_send_att_error_response_notfound
+
+	
+le_send_att_find_primary_search_end_start_handle_found:
+	fetch 2,mem_le_cur_uuid
+	fetcht 2,mem_le_search_uuid
+	isub temp,null
+	nbranch  le_send_att_find_primary_search_loop1,zero
+	jam LE_FIND_BY_TYPE_VAL_RES_FOUND_STARTING_HANDLE,mem_le_search_res
+//	copy rega,temp
+	fetcht 2,mem_temp
+	storet 2,mem_le_cur_handle_start
+	branch le_send_att_find_primary_search_loop1
+
+le_send_att_find_primary_search_end_ending_handle_found:
+	fetch 1,mem_le_search_res
+	beq LE_FIND_BY_TYPE_VAL_RES_NOT_FOUND,le_send_att_find_primary_search_loop1
+	jam LE_FIND_BY_TYPE_VAL_RES_FOUND_ENDING_HANDLE,mem_le_search_res
+	fetcht 2,mem_temp
+	increase -1,temp
+	storet 2,mem_le_cur_handle_end
+	
+le_send_att_find_primary_search_end:
+	arg 5,rega
+	call le_fifo_malloc_tx_l2cap_gatt
+	setarg ATTOP_FIND_BY_TYPE_VALUE_RESPONSE
+	istore 1,contw
+	fetch 2,mem_le_cur_handle_start
+	istore 2,contw
+	fetch 2,mem_le_cur_handle_end
+	istore 2,contw
+	rtn
+
+
+
+le_parse_att_read_by_type_request:
+	call le_get_search_handle_start_end_common
+	call le_get_search_att_type
+	branch le_send_att_read_by_type_response
+	
+le_send_att_read_by_type_response:
+	fetcht 2,mem_le_search_handle_start
+	storet 2,mem_temp
+	call le_init_attlist_search
+	call le_att_get_handle_ptr2
+	increase -2,contr
+	copy contr,pdata
+	store 2,mem_le_cur_attlist_start_ptr
+
+	fetcht 2,mem_le_search_att_type
+	setarg UUID_CHRCTR_DEVICE_NAME
+	isub temp,null
+	branch le_send_att_read_by_type_res_device_name,zero
+	setarg UUID_GATT_CHARACTERISTIC
+	isub temp,null
+	nbranch le_send_att_read_by_type_res_not_characteristic,zero
+	arg 2,timeup
+le_send_att_read_by_type_response_loop:
+	call le_att_check_handle_end
+	nbranch le_send_att_read_by_type_response_end,positive
+	fetcht 2,mem_temp
+	call le_att_get_handle_info_from_ptr
+	nbranch le_send_att_read_by_type_response_end,blank
+	call le_att_same_type
+	nbranch le_send_att_read_by_type_response_next_handle,zero
+	nbranch le_send_att_read_by_type_res_found_next,user
+	disable user
+	arg 20,rega
+	call le_fifo_malloc_tx_l2cap_gatt
+	setarg ATTOP_READ_BY_TYPE_RESPONSE
+	istore 1,contw
+	copy contw,alarm
+	increase 1,contw
+	
+	call le_send_att_read_by_type_write_properties
+	call le_att_next_handle
+	call le_att_get_handle_info_from_ptr
+	call le_send_att_read_by_type_write_uuid
+	fetch 1,mem_le_cur_uuid_length
+	add pdata,5,rega
+	istorer rega,1,alarm
+	
+	sub rega,7,null
+	ncall enable_user2,zero
+	call disable_user2,zero
+ 	call le_get_search_max_mtu_data
+	idiv rega
+	call wait_div_end
+	quotient timeup
+	increase -1,timeup
+	branch le_send_att_read_by_type_response_end,zero
+le_send_att_read_by_type_response_next_handle:
+	call le_att_next_handle
+	branch le_send_att_read_by_type_response_loop
+le_send_att_read_by_type_response_end:
+	branch le_send_att_error_response_notfound,user
+	branch le_send_auto_len_by_mem
+
+le_send_att_read_by_type_res_found_next:
+	call le_store_att_record
+	call le_att_next_handle
+	call le_att_get_handle_info_from_ptr
+	call le_send_att_read_by_type_res_check_pair_length_type
+	nbranch le_send_att_read_by_type_response_end,blank
+
+	call get_contw
+	fetch 2,mem_temp
+	increase -1,pdata
+	istore 2,contw
+	call le_write_att_record_common
+	call le_send_att_read_by_type_write_uuid
+	increase -1,timeup
+	branch le_send_att_read_by_type_response_end,zero
+	branch le_send_att_read_by_type_response_next_handle
+
+	
+le_send_att_read_by_type_write_properties:
+	fetch 2,mem_temp
+	istore 2,contw
+	
+	fetch 1,mem_le_curr_att_len
+	copy pdata,loopcnt
+	call get_contr
+	call memcpy_fast
+	branch store_contw
+le_send_att_read_by_type_write_uuid:
+	call get_contw
+	fetch 2,mem_temp
+	istore 2,contw
+	call store_contw
+	fetch 1,mem_le_cur_uuid_length
+	copy pdata,loopcnt
+	call get_contw	
+	call get_contr
+	isub loopcnt,contr
+	increase -1,contr
+	call memcpy_fast
+	branch store_contw
+
+
+
+le_send_att_read_by_type_res_not_characteristic:
+	call le_att_get_short_uuid_ptr
+	branch le_send_att_error_response_notfound,blank
+	copy contr,regc
+	increase -5,contr // point to handle
+	ifetch 2,contr
+	store 2,mem_temp
+	arg 20,rega
+	call le_fifo_malloc_tx_l2cap_gatt
+	setarg ATTOP_READ_BY_TYPE_RESPONSE
+	istore 1,contw
+	ifetch 1,regc
+	copy pdata,loopcnt
+	increase 2,pdata
+	istore 1,contw
+	fetch 2,mem_temp
+	istore 2,contw
+	add regc,1,contr
+	call memcpy_fast
+	call store_contw
+	branch le_send_auto_len_by_mem
+
+	
+
+le_send_att_read_by_type_res_device_name:
+	arg UUID_CHRCTR_DEVICE_NAME,temp
+	call le_att_get_short_uuid_ptr
+	rtn blank
+	increase -5,contr // point to handle
+	ifetch 2,contr		
+	store 2,mem_temp
+	arg 20,rega
+	call le_fifo_malloc_tx_l2cap_gatt
+	setarg ATTOP_READ_BY_TYPE_RESPONSE
+	istore 1,contw
+	fetch 1,mem_le_name_len
+	copy pdata,loopcnt
+	increase 2,pdata
+	istore 1,contw
+	fetch 2,mem_temp
+	istore 2,contw
+	arg mem_le_name,contr
+	call memcpy_fast
+	call store_contw
+	branch le_send_auto_len_by_mem
+
+
+
+le_parse_att_read_request:
+	call le_check_encrypt_state
+	fetcht 2,mem_le_att_handle
+	fetch 1,mem_le_configuration
+	bbit1 BIT_BLE_READ_AUTH,le_send_att_read_response_check_auth
+
+//input:temp is handle
+le_send_att_read_response:
+	call le_att_get_handle_ptr2
+	nbranch le_send_att_error_response_notfound,zero
+	call le_send_att_read_response_check_handle,user
+	rtn user
+	call le_att_get_handle_ptr_found
+	increase -2,contr
+	ifetch 2,contr
+	arg UUID_CHRCTR_DEVICE_NAME,temp
+	isub temp,null
+	branch le_send_device_name,zero
+	ifetch 1,contr
+	sub pdata,22,null
+	branch le_send_att_read_response_less,positive
+	force 22,pdata
+le_send_att_read_response_less:
+	copy pdata,regc
+	call store_contr
+	add regc,1,rega
+	call le_fifo_malloc_tx_l2cap_gatt
+	setarg ATTOP_READ_RESPONSE
+	istore 1,contw
+	copy regc,loopcnt
+	call get_contr
+	branch memcpy
+
+le_send_device_name:
+	call store_contr
+	fetch 1,mem_le_name_len
+	add pdata,1,rega
+	call le_fifo_malloc_tx_l2cap_gatt
+	setarg ATTOP_READ_RESPONSE
+	istore 1,contw
+	fetch 1,mem_le_name_len
+	copy pdata,loopcnt
+	arg mem_le_name,contr
+	branch memcpy
+	
+	
+le_send_att_read_response_check_auth:
+	fetch 2,mem_le_pairing_handle
+	isub temp,null
+	nbranch le_send_att_read_response,zero
+	nbranch le_send_att_read_response,user
+le_send_att_read_response_error_insufficient_auth:
+	jam ATT_ERR_INSUFFICIENT_AUTHENTICATION,mem_le_err_code
+	branch le_send_att_error_response
+
+le_send_att_read_response_check_handle:
+	increase -2,contr
+	ifetch 2,contr
+	bbit1 BIT_OF_ATT_HANDLE_READ_AUTHENTICATED,le_send_att_read_response_error_insufficient_auth
+	branch disable_user
+
+le_parse_att_read_blob_request:
+	ifetch 2,contr
+	store 2,mem_le_att_offset
+le_send_att_read_blob_response:
+	arg 20,rega
+	call le_fifo_malloc_tx_l2cap_gatt
+	setarg ATTOP_READ_BLOB_RESPONSE
+	istore 1,contw
+	fetch 2,mem_le_att_offset
+	iforce rega
+	fetcht 2,mem_le_att_handle
+	call le_att_get_handle_ptr 
+	branch le_send_att_error_response_notfound,blank
+	ifetch 1,contr
+	isub rega,loopcnt
+	nbranch le_send_att_error_response_notfound,positive
+	sub loopcnt,22,null
+	branch le_send_att_read_blob_response_less,positive
+	force 22,loopcnt
+le_send_att_read_blob_response_less:
+	deposit rega
+	iadd contr,contr
+	call memcpy_fast
+	call store_contw
+	branch le_send_auto_len_by_mem
+
+
+//查询server
+le_parse_att_read_by_group_type_request:
+	call le_get_search_handle_start_end_common
+ 	call le_get_search_att_type
+	branch le_send_att_read_by_group_type_response
+
+
+//mem_le_search_att_type
+//mem_le_search_handle_start
+//mem_le_search_handle_end
+le_send_att_read_by_group_type_response:
+	arg 2,timeup
+	fetcht 2,mem_le_search_handle_start
+	storet 2,mem_temp
+	call le_att_get_handle_ptr2
+	increase -2,contr
+	copy contr,pdata
+	store 2,mem_le_cur_attlist_start_ptr
+le_send_att_read_by_group_type_response_loop:
+	call le_att_check_handle_end		//check current handle >= ending handle
+	nbranch le_send_att_read_by_group_type_end0,positive
+	fetcht 2,mem_temp
+	call le_att_get_handle_info_from_ptr	//get current handle info
+	nbranch le_send_att_read_by_group_type_end1,blank
+
+	call le_att_same_type				//compair attr group type
+	nbranch le_send_att_read_by_group_type_next_handle,zero
+	copy timeup,pdata
+	beq 0,le_send_att_read_by_group_type_end1	//loop count
+	nbranch le_send_att_read_by_group_type_store_write_record,user		//un first
+	disable user
+	//first att uuid
+	arg 20,rega
+	call le_fifo_malloc_tx_l2cap_gatt
+	setarg ATTOP_READ_BY_GROUP_TYPE_RESPONSE
+	istore 1,contw
+	fetch 1,mem_le_curr_att_len
+	add pdata,4,rega
+	istorer rega,1,contw
+	call store_contw
+	sub rega,6,null
+	ncall enable_user2,zero
+	call disable_user2,zero
+ 	call le_get_search_max_mtu_data
+	idiv rega
+	call wait_div_end
+	quotient timeup
+	branch le_send_att_read_by_group_type_store_record
+le_send_att_read_by_group_type_store_write_record:
+	call le_send_att_read_by_group_type_check_pair_length_type
+	nbranch le_send_att_read_by_group_type_end1,blank
+	fetch 2,mem_temp
+	increase -1,pdata
+	store 2,mem_le_cur_handle_end
+	call le_write_att_record
+le_send_att_read_by_group_type_store_record:
+	fetch 2,mem_temp
+	store 2,mem_le_cur_handle_start
+	call le_store_att_record
+	increase -1,timeup
+//	branch le_send_att_read_by_group_type_last_find,zero		
+le_send_att_read_by_group_type_next_handle:
+	call le_att_next_handle
+	branch le_send_att_read_by_group_type_response_loop
+
+le_send_att_read_by_type_res_check_pair_length_type:
+	fetch 1,mem_le_cur_uuid_length
+	branch le_send_att_read_by_group_type_check_pair_length_type+1
+
+//output:blank is same
+le_send_att_read_by_group_type_check_pair_length_type:
+	fetch 1,mem_le_curr_att_len
+	branch le_send_att_read_by_group_type_check_pair_length_type_16byte,user2
+	increase -2,pdata
+	rtn
+
+le_send_att_read_by_group_type_check_pair_length_type_16byte:
+	increase -16,pdata
+	rtn
+
+le_send_att_read_by_group_type_end0:	//> att handle end
+	fetch 2,mem_temp
+	store 2,mem_le_cur_handle_end
+	branch le_send_att_read_by_group_type_end_common
+le_send_att_read_by_group_type_end1:	//>att max list handle or diff len 
+	fetch 2,mem_temp
+	increase -1,pdata
+	store 2,mem_le_cur_handle_end
+	branch le_send_att_read_by_group_type_end_common
+le_send_att_read_by_group_type_end_common:
+	branch le_send_att_error_response_notfound,user
+	call le_write_att_record
+	branch le_send_auto_len_by_mem
+
+
+
+
+le_parse_att_write_request:
+	copy contr,rega
+	fetch 2,mem_le_l2cap_size
+	add pdata,-3,regb
+	call le_writeatt_cb
+le_send_att_write_response_check_auth:
+	call le_check_encrypt_state
+	fetcht 2,mem_le_att_handle
+	call le_att_get_handle_ptr2
+	nbranch le_send_att_write_response_error_invalid_handle,zero
+	call le_send_att_write_response_check_handle,user
+	rtn user
+
+	fetch 1,mem_le_configuration
+	bbit0 BIT_BLE_WRITE_AUTH,le_send_att_write_response
+
+	fetcht 2,mem_le_att_handle
+	fetch 2,mem_le_pairing_handle
+	isub temp,null
+	nbranch le_send_att_write_response,zero
+	call le_check_encrypt_state
+	nbranch le_send_att_write_response,user
+	branch le_send_att_read_response_error_insufficient_auth
+
+
+le_send_att_write_response:
+	force 1,rega
+	call le_fifo_malloc_tx_l2cap_gatt
+	setarg ATTOP_WRITE_RESPONSE
+	istore 1,contw
+	rtn
+
+le_send_att_write_response_check_handle:
+	increase -2,contr
+	ifetch 2,contr
+	bbit1 BIT_OF_ATT_HANDLE_WRITE_AUTHENTICATED,le_send_att_read_response_error_insufficient_auth
+	branch disable_user
+
+le_send_att_write_response_error_invalid_handle:
+	jam ATT_ERR_INVALID_HANDLE,mem_le_err_code
+	branch le_send_att_error_response
+
+
+le_check_encrypt_state:
+	call disable_user
+	fetch 1,mem_le_pairing_mode
+	rtneq LE_PAIRING_MODE_NONE
+	fetch 1,mem_context
+	rtnbit1 lestate_encryption
+	branch enable_user
+
+
+le_parse_att_prepare_write_request:
+	add contr,2,rega
+	fetch 2,mem_le_l2cap_size
+	add pdata,-5,regb
+	call le_writeatt_cb
+	branch le_send_att_prepare_write_response
+
+
+le_send_att_prepare_write_response:
+	fetch 2,mem_le_l2cap_size
+	copy pdata,rega
+	call le_fifo_malloc_tx_l2cap_gatt
+	setarg ATTOP_PREPARE_WRITE_RESPONSE
+	istore 1,contw
+	fetch 2,mem_le_att_handle
+	istore 2,contw
+	fetch 2,mem_le_l2cap_size
+	add pdata,-5,loopcnt	
+	fetch 2,mem_le_payload_ptr
+	add pdata,7,contr
+	ifetch 2,contr		//offset
+	istore 2,contw
+	branch memcpy_fast
+
+
+
+le_parse_att_execute_write_request:
+
+le_send_att_execute_write_response:
+	force 1,rega
+	call le_fifo_malloc_tx_l2cap_gatt
+	setarg ATTOP_EXECUTE_WRITE_RESPONSE
+	istore 1,contw
+	rtn
+
+le_parse_handle_value_confirmation:
+	fetch 1,mem_le_l2cap_att_states
+	set0 BLE_L2CAP_RECV_CONFIRMATION_PACKET,pdata
+	store 1,mem_le_l2cap_att_states
+	rtn
+
+le_parse_att_write_command:
+	copy contr,rega
+	fetch 2,mem_le_l2cap_size
+	add pdata,-3,regb
+	branch le_writeatt_cb
+
+
+
+//rga:len temp:handle;rgea,regb,regc already used
+le_att_malloc_tx_notify:
+	copy temp,regc
+	increase 3,rega
+	call le_fifo_malloc_tx_l2cap_gatt
+	increase -3,rega
+	setarg ATTOP_HANDLE_VALUE_NOTIFICATION
+	istore 1,contw
+	copy regc,temp
+	istoret 2,contw
+	rtn
+
+//rga:len temp:handle;rgea,regb,regc already used
+le_att_malloc_tx_indication:
+	fetch 1,mem_le_l2cap_att_states
+	set1 BLE_L2CAP_SEND_INDICATION_PACKET,pdata
+	store 1,mem_le_l2cap_att_states
+	copy temp,regc
+	increase 3,rega
+	call le_fifo_malloc_tx_l2cap_gatt
+	increase -3,rega
+	setarg ATTOP_HANDLE_VALUE_INDICATION
+	istore 1,contw
+	copy regc,temp
+	istoret 2,contw
+	rtn
+
+
+///////////////////////////ATT common function////////////////////////////////////
+
+le_send_att_error_response_notfound:	
+	jam ATT_ERR_ATTRIBUTE_NOT_FOUND,mem_le_err_code
+le_send_att_error_response:	
+	force 5,rega
+	call le_fifo_malloc_tx_l2cap_gatt
+	setarg ATTOP_ERROR_RESPONSE
+	istore 1,contw
+	fetch 1,mem_le_att_opcode
+	istore 1,contw
+	fetch 2,mem_le_att_handle
+	istore 2,contw
+	fetch 1,mem_le_err_code
+	istore 1,contw
+	rtn
+
+
+le_fifo_malloc_tx_l2cap_gatt:
+	force LE_L2CAP_CID_ATT,regb
+	branch le_fifo_malloc_tx_l2cap
+
+
+le_att_next_handle:
+	fetcht 2,mem_temp
+	increase 1,temp
+	storet 2,mem_temp
+	rtn
+
+le_att_check_handle_end:
+	fetcht 2,mem_temp
+	fetch 2,mem_le_search_handle_end
+	isub temp,null
+	rtn
+
+
+le_att_same_type:
+	fetcht 1,mem_le_search_att_type_length
+	arg mem_le_search_att_type,rega
+le_att_check_same_common:
+	fetch 1,mem_le_cur_uuid_length
+	copy pdata,loopcnt
+	isub temp,null
+	nrtn zero
+	arg mem_le_cur_uuid ,regb
+	branch string_compare
+
+le_att_same_uuid:
+	fetcht 1,mem_le_search_uuid_length
+	arg mem_le_search_uuid,rega
+	branch le_att_check_same_common
+
+
+le_store_att_record:
+	fetch 1,mem_le_curr_att_len
+	store 1, mem_tmp_buffer
+	copy pdata,loopcnt
+	call get_contr
+	branch memcpy_fast
+
+
+le_write_att_record:
+	call get_contw
+	fetch 2,mem_le_cur_handle_start
+	istore 2,contw
+	fetch 2,mem_le_cur_handle_end
+	istore 2,contw
+le_write_att_record_common:
+	fetch 1,mem_tmp_buffer
+	copy pdata,loopcnt
+	call memcpy_fast
+	branch store_contw
+
+
+
+le_send_auto_len_by_mem:
+	bpatchx patch3b_0,mem_patch3b
+	call get_contw
+	call le_fifo_get_last_att_ptr
+	copy contw,pdata
+	isub contr,rega
+	call le_fifo_get_last_l2cap_ptr
+	copy rega,pdata
+	istore 2,contr
+	increase 4,rega
+	call le_fifo_get_last_tx_ptr
+	copy rega,pdata
+	istore 1,contr
+	rtn
+
+
+le_get_search_handle_start_end_common:
+	rshift8 pdata,pdata
+	store 2,mem_le_search_handle_start
+	ifetch 2,contr
+	store 2,mem_le_search_handle_end
+	rtn
+
+le_get_search_max_mtu_data:
+	fetch 2,mem_le_remote_mtu
+	increase -2,pdata
+	//-2原因
+	//uint8_t attribute opcode
+	//uint8_t length
+	fetcht 2,mem_le_local_mtu
+	increase -2,temp
+	call not_greater_than
+	arg 240,temp
+	call not_greater_than
+	//pdata is max mtu size
+	rtn
+
+le_get_search_att_type:
+	call store_contr
+	arg mem_le_search_att_type_length,contw
+le_get_search_common:	
+	fetch 2,mem_le_l2cap_size
+	increase -5,pdata
+le_get_search_common2:		
+	istore 1,contw
+	copy pdata,loopcnt
+	call get_contr
+	branch memcpy_fast	
+
+
+
+le_parse_writing_attribute_start:
+	fetch 2,mem_le_rxbuf_data_att_cid//CID
+	rtnne LE_L2CAP_CID_ATT
+	fetch 1,mem_le_l2cap_att_states
+	set1 BLE_L2CAP_DEAL_WITH_CONTINUE_PACKET,pdata
+	store 1,mem_le_l2cap_att_states
+	fetch 3,mem_le_rxbuf_data_att_opcode
+	store 3,mem_le_att_opcode
+	set1 mark_old_packet,mark
+	beq ATTOP_WRITE_REQUEST,le_parse_attribute_write_request
+	beq ATTOP_WRITE_COMMAND,le_parse_attribute_write_command
+	beq ATTOP_EXECUTE_WRITE_REQUEST,le_parse_att_execute_write_request
+	beq ATTOP_EXCHANGE_MTU_REQUEST,le_parse_att_exchange_mtu_request
+	beq ATTOP_HANDLE_VALUE_CONFIRMATION,le_parse_handle_value_confirmation
+	set0 mark_old_packet,mark
+le_clear_l2cap_att_states_deal_with_contiune_packet:
+	fetch 1,mem_le_l2cap_att_states
+	set0 BLE_L2CAP_DEAL_WITH_CONTINUE_PACKET,pdata
+	store 1,mem_le_l2cap_att_states
+	rtn
+
+le_parse_writing_attribute_continue:
+	fetch 1,mem_le_l2cap_att_states
+	rtnbit0 BLE_L2CAP_DEAL_WITH_CONTINUE_PACKET
+	set1 mark_old_packet,mark
+	call le_parse_l2cap_continue_common
+	call le_parse_attribute_check_complete_packet
+	call le_clear_l2cap_att_states_deal_with_contiune_packet,user
+	fetch 1,mem_le_att_opcode
+	beq ATTOP_WRITE_REQUEST,le_send_att_write_response_check_auth
+	rtn
+
+
+le_parse_attribute_write_request:
+	call le_parse_attribute_write_command
+	branch le_send_attribute_write_response_check_auth
+
+le_send_attribute_write_response_check_auth:
+	call le_parse_attribute_check_complete_packet
+	nrtn user
+	branch le_send_att_write_response_check_auth
+
+
+le_parse_attribute_write_command:
+	call le_parse_attribute_check_complete_packet_init
+	arg mem_le_rxbuf_data_att_write_payload,rega
+	branch le_writeatt_cb
+
+
+le_parse_attribute_check_complete_packet_init:
+	fetch 1,mem_le_rxbuf_data_att_write_length
+	add pdata,-7,regb
+	increase -4,pdata
+	store 2,mem_le_packet_len_recved	//payload length
+	fetcht 2,mem_le_rxbuf_data_att_write_l2cap_length	//l2cap length
+	storet 2,mem_le_l2cap_size
+	rtn
+
+
+le_parse_l2cap_continue_common:
+	fetchr regb,1,mem_le_rxbuf_data_continue_length
+	fetch 2,mem_le_packet_len_recved
+	iadd regb,temp
+	storet 2,mem_le_packet_len_recved
+	arg mem_le_rxbuf_data_continue_payload,rega
+	branch le_writeatt_cb
+
+
+//enable user,recevie complete packet
+le_parse_attribute_check_complete_packet:
+	call disable_user
+	fetch 2,mem_le_packet_len_recved
+	fetcht 2,mem_le_l2cap_size
+	isub temp,null
+	nrtn zero
+	branch enable_user
+
+
+
+
+
+le_parse_signaling:
+	ifetch 1,contr
+	ifetcht 1,contr //id
+	ifetcht 2,contr //length
+	beq L2CAP_CONNECTION_PARAMETER_UPDATE_RESPONSE,le_l2cap_parse_conn_parameter_update_rsp
+	rtn
+le_l2cap_parse_conn_parameter_update_rsp:
+	ifetch 2,contr	//result
+	store 2,mem_le_l2cap_signaling_conn_param_update_rsp_result
+	jam BT_EVT_LE_PARSE_CONN_PAPA_UPDATE_RSP,mem_fifo_temp
+	branch ui_ipc_send_event
+
+
+//mem_le_interval_min:the ptr that connection parameter,
+//include 	ConnIntervalMin,ConnIntervalMax,
+//		ConnSlaveLatency,ConnSupervisionTimeout
+le_l2cap_tx_update_req:
+	arg 0x0c,rega
+	arg L2CAP_CONNECTION_PARAMETER_UPDATE_REQUEST,regc
+	call le_fifo_malloc_tx_l2cap_signaling
+	setarg 0x08
+	istore 2,contw
+	fetch 8,mem_le_interval_min
+	istore 8,contw
+	rtn
+
+
+//rega:len regc:signaling opcode
+le_fifo_malloc_tx_l2cap_signaling:
+	call le_l2cap_update_signaling_identifier
+	arg LE_L2CAP_CID_SIGNAL,regb
+	call le_fifo_malloc_tx_l2cap
+	copy regc,pdata
+	istore 1,contw
+	fetch 1,mem_le_signaling_identifier
+	istore 1,contw
+	rtn
+
+
+le_l2cap_update_signaling_identifier:
+	fetch 1,mem_le_signaling_identifier
+	//beq 0xff,le_l2cap_signaling_identifier_set_1
+	pincrease 1
+	store 1,mem_le_signaling_identifier
+	rtnne 0
+	
+le_l2cap_reset_signaling_identifier:
+	jam 1,mem_le_signaling_identifier
+	rtn
+
+
+
+
+le_pairing_mode_init:
+	fetch  1,mem_le_pairing_mode
+	beq LE_PAIRING_MODE_NONE, le_set_no_pairing
+	beq LE_PAIRING_MODE_LAGACY_JUSTWORK,le_set_pairing_mode_lagacy_just_work
+	beq LE_PAIRING_MODE_LAGACY_PASSKEY,le_set_pairing_mode_lagacy_passkey
+	beq LE_PAIRING_MODE_SECURE_CONNECT_JUSTWORK,le_set_pairing_mode_secure_justwork
+	beq LE_PAIRING_MODE_SECURE_CONNECT_NUMERIC,le_set_pairing_mode_secure_numeric
+	beq LE_PAIRING_MODE_SECURE_CONNECT_PASSKEY,le_set_pairing_mode_secure_passkey
+	rtn
+
+le_set_pairing_mode_secure_justwork:
+	jam FLAG_LE_BONDING_MITM_SECURE,mem_le_pres_auth
+	branch le_set_noinputnooutput
+le_set_pairing_mode_secure_numeric:
+	jam FLAG_LE_BONDING_MITM_SECURE,mem_le_pres_auth
+	jam FLAG_IOCAP_DISPLAYYESNO,mem_le_pres_iocap
+	rtn
+le_set_pairing_mode_secure_passkey:	
+	jam FLAG_LE_BONDING_MITM_SECURE,mem_le_pres_auth
+	branch le_set_displayonly
+le_set_no_pairing:
+	jam FLAG_LE_NO_BONDING_NO_MITM,mem_le_pres_auth
+le_set_noinputnooutput:	
+	jam FLAG_IOCAP_NOINPUTNOOUTPUT,mem_le_pres_iocap
+	rtn
+le_set_pairing_mode_lagacy_just_work:
+	jam FLAG_LE_BONDING_MITM,mem_le_pres_auth
+	branch le_set_noinputnooutput
+le_set_pairing_mode_lagacy_passkey:
+	jam FLAG_LE_BONDING_MITM,mem_le_pres_auth
+le_set_displayonly:	
+	jam FLAG_IOCAP_DISPLAYONLY,mem_le_pres_iocap
+	rtn
+
+	
+le_secure_connection_enable:
+	fetch 1,mem_secure_connections_enable
+	set1 SECURE_CONNECTIONS_LE_BIT,pdata
+	store 1,mem_secure_connections_enable
+	rtn
+	
+le_secure_connection_disable:
+	fetch 1,mem_secure_connections_enable
+	set0 SECURE_CONNECTIONS_LE_BIT,pdata
+	store 1,mem_secure_connections_enable
+	rtn
+
+le_parse_smp:
+	ifetch 1,contr
+	beq SMP_PAIRING_REQUEST,le_parse_smp_pairing_request
+//	beq SMP_PAIRING_RESPONSE,le_parse_smp_pairing_response
+	beq SMP_PAIRING_CONFIRM,le_parse_smp_pairing_confirm
+	beq SMP_PAIRING_RANDOM,le_parse_smp_pairing_random
+	beq SMP_PAIRING_FAILED,le_parse_smp_pairing_failed
+//	beq SMP_ENCRYPTION_INFORMATION,le_parse_smp_encryption_information
+	beq SMP_MASTER_IDENTIFICATION,le_parse_smp_master_identification
+	beq SMP_IDENTITY_INFORMATION,le_parse_smp_identity_information
+	beq SMP_IDENTITY_ADDRESS_INFORMATION,le_parse_smp_identity_address_information
+	beq SMP_SIGNING_INFORMATION,le_parse_smp_signing_information
+	beq SMP_SECURITY_REQUEST,le_parse_smp_security_request
+	beq SMP_PAIRING_PUBLIC_KEY,le_parse_smp_public_key
+	beq SMP_PAIRING_DHKEY_CHECK,le_parse_smp_dhkey_check
+	rtn
+
+
+
+le_send_smp_security_request:
+	force 2,rega
+	call le_fifo_malloc_tx_l2cap_smp
+	setarg SMP_SECURITY_REQUEST
+	istore 1,contw
+	fetch 1,mem_le_pres_auth
+	istore 1,contw
+	rtn
+		
+le_parse_smp_pairing_request:
+	store 1,mem_le_preq
+	ifetch 6,contr
+	istore 6,contw
+	fetch 1,mem_le_pairing_mode
+	beq  LE_PAIRING_MODE_NONE,le_smp_pairing_fail_reason_not_support_pairing
+	call le_send_smp_pairing_response
+	fetch 1,mem_sc_only_mode
+	branch le_parse_smp_pairing_request2, blank
+	fetch 1,mem_le_preq_auth
+	bbit0  LE_AUTH_SECURE_CONNECTION_PAIRING_BIT,app_ble_disconnect
+	fetch 1,mem_le_pairing_mode
+	bbit0 LE_PAIRING_MODE_SECURE_CONNECT_BIT,app_ble_disconnect
+le_parse_smp_pairing_request2:	
+	jam FLAG_LE_PAIRING_RCV_PAIRING_REQ,mem_le_pairing_state
+	fetch 1,mem_le_preq_iocap
+	beq  FLAG_IOCAP_DISPlAYONLY,le_set_tk_0
+	beq  FLAG_IOCAP_DISPLAYYESNO,le_set_tk_0
+	beq  FLAG_IOCAP_NOINPUTNOOUTPUT,le_set_tk_0
+	fetch 1,mem_le_pairing_mode	
+	beq LE_PAIRING_MODE_LAGACY_PASSKEY,le_parse_smp_pairing_req_passkey
+	rtneq LE_PAIRING_MODE_SECURE_CONNECT_PASSKEY
+le_set_tk_0:
+	arg 0,pdata
+	store 4,mem_le_tk
+	rtn
+
+le_parse_smp_pairing_req_passkey:
+	fetch 1,mem_le_configuration
+	bbit1 BIT_BLE_PASSKEY_FIXED_KEY,le_parse_smp_pairing_req_fixed_passkey
+le_genernate_tk:
+	arg mem_le_tk,rega
+	copy rega,contw
+	arg 3,loopcnt
+	call generate_random_loop
+	fetch 2,mem_le_tk + 2
+	and_into 0x7,pdata
+	store 2,mem_le_tk + 2
+le_parse_smp_pairing_req_fixed_passkey:
+	jam BT_EVT_LE_TK_GENERATE,mem_fifo_temp
+	branch ui_ipc_send_event
+
+
+
+le_send_smp_pairing_response:
+	force 7,rega
+	call le_fifo_malloc_tx_l2cap_smp
+	fetch 7,mem_le_pres
+	istore 7,contw
+	rtn
+		
+
+le_parse_smp_pairing_confirm:
+	jam FLAG_LE_PAIRING_RECEIVE_PAIRING_CONFIRM,mem_le_pairing_state
+	arg mem_le_rconfirm,contw
+	call memcpy16
+	fetch 1,mem_le_pairing_mode
+	beq LE_PAIRING_MODE_SECURE_CONNECT_PASSKEY,le_parse_smp_pairing_confirm_secure_passkey
+	beq LE_PAIRING_MODE_LAGACY_PASSKEY_RES_INPUT,le_parse_smp_pairing_confirm_passkey_res_input
+	beq LE_PAIRING_MODE_SECURE_CONNECT_PASSKEY_RES_INPUT,le_parse_smp_pairing_confirm_sc_passkey_res_input
+	branch le_send_smp_pairing_confirm
+le_parse_smp_pairing_confirm_secure_passkey:
+	jam LE_SP_FLAG_COMMIT_256,mem_le_secure_connect_flag
+	jam LE_SC_STAT_PASSKEY_WAIT_CONFIRM,mem_le_secure_connect_state	
+	rtn
+
+
+le_parse_smp_pairing_confirm_passkey_res_input:
+	jam BT_EVT_LE_GET_PASSKEY,mem_fifo_temp
+	branch ui_ipc_send_event
+
+
+le_parse_smp_pairing_confirm_sc_passkey_res_input:
+	fetch 4,mem_le_tk
+	branch le_parse_smp_pairing_confirm_passkey_res_input,blank
+	branch le_parse_smp_pairing_confirm_secure_passkey
+
+
+le_send_smp_pairing_confirm:
+	jam FLAG_LE_PAIRING_SEND_PAIRING_CONFIRM,mem_le_pairing_state
+	fetch 1,mem_le_pairing_mode
+	bbit1 LE_PAIRING_MODE_SECURE_CONNECT_BIT,le_send_smp_pairing_confirm_sc
+	call generate_confirm
+	force 17,rega
+	call le_fifo_malloc_tx_l2cap_smp
+	setarg SMP_PAIRING_CONFIRM
+	istore 1,contw
+	branch  store_aes_result
+
+	
+le_send_smp_pairing_confirm_sc:
+	arg mem_le_srand,contw	
+	call generate_random
+	call function_f4_cb
+	force 17,rega
+	call le_fifo_malloc_tx_l2cap_smp
+	setarg SMP_PAIRING_CONFIRM
+	istore 1,contw
+	branch  load_inverse_result
+
+
+	
+le_parse_smp_pairing_random:	
+	copy contr,rega
+	fetch 1,mem_le_pairing_mode
+	bbit1 LE_PAIRING_MODE_SECURE_CONNECT_BIT,le_parse_smp_pairing_random_sc
+	copy rega,contr
+	call authenticate_rconfirm
+	branch le_parse_smp_pairing_random_success,zero
+le_send_pairing_confirm_value_failed:
+	jam PAIRING_FAILED_CONFIRM_VALUE_FAILED,mem_le_ll_pairing_fail_reason
+le_send_pairing_failed:
+	force 2,rega
+	call le_fifo_malloc_tx_l2cap_smp
+	setarg SMP_PAIRING_FAILED
+	istore 1,contw
+	fetch 1,mem_le_ll_pairing_fail_reason
+	istore 1,contw	
+le_parse_smp_pairing_failed:
+	force smp_pairing_timer,queue
+	call timer_stop
+	jam FLAG_LE_PAIRING_NULL,mem_le_pairing_state
+	jam BT_EVT_LE_PAIRING_FAIL,mem_fifo_temp
+	branch ui_ipc_send_event
+
+le_smp_pairing_fail_reason_not_support_pairing:
+	jam PAIRING_FAILED_PAIRING_NOT_SUPPORTED,mem_le_ll_pairing_fail_reason
+	branch le_send_pairing_failed
+	
+	
+le_parse_smp_pairing_random_sc:
+	arg mem_le_mrand,contw
+	copy rega,contr
+	call memcpy16	
+	fetch 1,mem_le_pairing_mode
+	beq LE_PAIRING_MODE_SECURE_CONNECT_PASSKEY,le_parse_smp_pairing_random_sc_passkey
+	beq LE_PAIRING_MODE_SECURE_CONNECT_PASSKEY_RES_INPUT,le_parse_smp_pairing_random_sc_passkey
+	call function_g2
+	call le_send_smp_pairing_random
+	fetch 1,mem_le_pairing_mode
+	rtnne LE_PAIRING_MODE_SECURE_CONNECT_NUMERIC
+	jam BT_EVT_LE_GKEY_GENERATE,mem_fifo_temp
+	branch ui_ipc_send_event	
+	
+le_parse_smp_pairing_random_sc_passkey:
+	call function_f4_ca
+	arg mem_AES_CMAC_temp,contw
+	call load_inverse_result	
+	arg mem_AES_CMAC_temp,rega
+	arg mem_le_rconfirm ,regb
+	arg 16,loopcnt
+	call string_compare
+	nbranch le_send_pairing_confirm_value_failed,zero
+	branch le_send_smp_pairing_random
+	
+le_parse_smp_pairing_random_success:
+	call generate_stk
+	jam BT_EVT_LE_PAIRING_SUCCESS,mem_fifo_temp
+	call ui_ipc_send_event
+	jam 1,mem_ltk_exists
+	jam FLAG_LE_PAIRING_AFTER_AUTH,mem_le_pairing_state
+	
+le_send_smp_pairing_random:
+	force 17,rega
+	call le_fifo_malloc_tx_l2cap_smp
+	setarg SMP_PAIRING_RANDOM
+	istore 1,contw
+	arg mem_le_srand,contr
+	branch memcpy16
+
+le_send_smp_encryption_information:
+	force 17,rega
+	call le_fifo_malloc_tx_l2cap_smp
+	setarg SMP_ENCRYPTION_INFORMATION
+	istore 1,contw
+	fetch 1,mem_le_configuration
+	bbit1 BIT_BLE_PAIRING_FIXED_LTK,le_send_fixed_ltk
+	arg mem_le_ltk,contr
+	branch memcpy16
+
+le_send_fixed_ltk:
+	arg mem_le_fixed_ltk,contr
+	branch memcpy16
+
+
+le_send_smp_master_identification:
+	arg mem_le_ediv,contw
+	force 10,loopcnt
+	call generate_random_loop
+	force 11,rega
+	call le_fifo_malloc_tx_l2cap_smp
+	setarg SMP_MASTER_IDENTIFICATION
+	istore 1,contw
+	fetch 2,mem_le_ediv
+	istore 2,contw
+	fetch 8,mem_le_rand
+	istore 8,contw
+	rtn
+
+le_send_smp_identity_information:
+	force 17,rega
+	call le_fifo_malloc_tx_l2cap_smp
+	setarg SMP_IDENTITY_INFORMATION
+	istore 1,contw
+	setarg 0
+	istore 8,contw
+	istore 8,contw
+	rtn
+	
+
+le_send_smp_identity_address_information:
+	force 8,rega
+	call le_fifo_malloc_tx_l2cap_smp
+	setarg SMP_IDENTITY_ADDRESS_INFORMATION
+	istore 1,contw
+	fetch 1,mem_le_conn_own_addr_type
+	istore 1,contw
+	fetch 6,mem_le_lap	
+	istore 6,contw
+	rtn	
+
+
+le_send_pairing_fail_unspecified_reason:
+	jam PAIRING_FAILED_UNSPECIFIED_REASON,mem_le_ll_pairing_fail_reason
+	branch le_send_pairing_failed
+
+le_check_init_key_distribution:
+	fetch 1,mem_le_pres_init_key_distribution
+	fetcht 1,mem_le_pres_init_key_distribution
+	iand temp,pdata
+	rtn	
+
+le_parse_smp_identity_information:
+	arg mem_le_irk,contw
+	call memcpy16
+	call le_check_init_key_distribution
+	isolate0 LE_INITATOR_IRK_BIT,pdata
+	branch le_send_pairing_fail_unspecified_reason,true
+	fetch 1,mem_device_option
+	rtnne dvc_op_module
+	call le_check_master_addr_type
+	nrtn user
+	branch app_ble_store_reconn_info
+
+//output:user is enable ,random addr type
+le_check_master_addr_type:
+	call disable_user
+	fetch 1,mem_le_conn_peer_addr_type
+	rtneq MASTER_PUBLIC_ADDR
+	fetch 1,mem_le_preq_init_key_distribution
+	rtnbit0 LE_INITATOR_IRK_BIT
+	branch enable_user
+
+le_parse_smp_identity_address_information:
+	call le_check_init_key_distribution
+	isolate0 LE_INITATOR_IRK_BIT,pdata
+	branch le_send_pairing_fail_unspecified_reason,true
+	rtn
+
+le_parse_smp_master_identification:
+le_parse_smp_signing_information:	
+le_parse_smp_security_request:
+	rtn
+	
+le_parse_smp_public_key:
+	arg mem_le_pubkey_remote_x_256,contw	
+	call memcpy64
+	jam LE_SP_FLAG_COMMIT_256,mem_le_secure_connect_flag
+	jam LE_SC_STAT_RECEIVE_PUBLIC_KEY,mem_le_secure_connect_state
+	rtn
+
+le_parse_smp_dhkey_check:
+	arg mem_sp_confirm_remote,contw
+	call memcpy16	
+	jam LE_SC_STAT_RECEIVE_DHKEY,mem_le_secure_connect_state
+	jam LE_SP_FLAG_COMMIT_256,mem_le_secure_connect_flag
+	rtn	
+
+le_send_smp_pairing_public_key:
+	force 65,rega
+	call le_fifo_malloc_tx_l2cap_smp
+	setarg SMP_PAIRING_PUBLIC_KEY
+	istore 1,contw	
+	arg mem_sc_pubkey_local_x_256,contr
+	branch memcpy64
+	
+le_send_smp_pairing_dhkey_check:
+	call function_f6_eb	
+	force 17,rega
+	call le_fifo_malloc_tx_l2cap_smp
+	setarg SMP_PAIRING_DHKEY_CHECK
+	istore 1,contw
+	branch load_inverse_result
+	
+
+le_check_paring_time:
+	fetch 1,mem_le_pairing_state
+	rtneq FLAG_LE_PAIRING_END
+	arg FLAG_LE_PAIRING_RCV_PAIRING_REQ,temp
+	isub temp,null
+	nrtn positive
+	arg smp_pairing_timer,queue
+	call timer_check
+	nrtn blank
+	branch le_send_pairing_fail_unspecified_reason
+
+le_pairing_sm:
+	bpatchx patch3b_1,mem_patch3b
+	call le_fifo_check_nearly_full
+	nrtn blank	
+	fetch 1,mem_le_pairing_state
+	beq FLAG_LE_PAIRING_NULL,le_pairing_sm_null
+	beq FLAG_LE_PAIRING_START,le_pairing_sm_start
+	beq FLAG_LE_PAIRING_SEND_RECURITY_REQ,le_pairing_sm_send_sec_req
+	beq FLAG_LE_PAIRING_RCV_PAIRING_REQ,le_pairing_sm_rcv_pairing_req
+	beq FLAG_LE_PAIRING_AFTER_AUTH,le_pairing_sm_after_auth
+	beq FLAG_LE_PARING_SEND_ENC_INFORMATION,le_pairng_sm_send_enc_information
+	beq FLAG_LE_PARING_SEND_MASTER_IDENTIFICATION,le_pairng_sm_send_master_indentification
+	beq FLAG_LE_PARING_SEND_INDENTITY_INFORMATION,le_pairng_sm_send_indentity_information
+	rtn
+
+le_pairing_sm_null:
+le_pairing_sm_send_sec_req:
+	fetch 1,mem_le_enc_state
+	rtnne FLAG_LE_SEND_START_ENC_RSP
+	jam FLAG_LE_ENC_END,mem_le_enc_state
+	jam FLAG_LE_PAIRING_END,mem_le_pairing_state
+	jam BT_EVT_LE_RECONNECT_COMPLETE ,mem_fifo_temp
+	branch ui_ipc_send_event	
+	
+	
+le_pairing_sm_start:
+	jam FLAG_LE_PAIRING_SEND_RECURITY_REQ,mem_le_pairing_state
+	branch le_send_smp_security_request
+
+le_pairing_sm_rcv_pairing_req:
+	jam FLAG_LE_PAIRING_WAIT_STK_GENERATION,mem_le_pairing_state
+	setarg TIMER_SMP_PAIRING_TIMEOUT
+	arg smp_pairing_timer,queue
+	branch timer_init
+	
+le_pairing_sm_after_auth:
+	fetch 1,mem_le_enc_state
+	beq FLAG_LE_SEND_START_ENC_RSP,le_pairing_sm_after_auth_start_enc
+	rtn
+	
+le_pairing_sm_after_auth_start_enc:
+	fetch 1,mem_le_pairing_mode
+	bbit1 LE_PAIRING_MODE_SECURE_CONNECT_BIT,le_pairing_sm_after_auth_start_enc_sc
+
+	jam FLAG_LE_PARING_SEND_ENC_INFORMATION,mem_le_pairing_state
+	call le_send_smp_encryption_information
+le_pairing_sm_after_auth_start_enc_common:
+	jam BT_EVT_LE_ENC_INFO,mem_fifo_temp
+	call ui_ipc_send_event
+	fetch 1,mem_device_option
+	rtnne dvc_op_module
+	call le_check_master_addr_type
+	rtn user
+	branch app_ble_store_reconn_info
+
+le_pairing_sm_after_auth_start_enc_sc:
+	jam FLAG_LE_PARING_SEND_MASTER_IDENTIFICATION,mem_le_pairing_state
+	branch le_pairing_sm_after_auth_start_enc_common
+
+le_pairng_sm_send_enc_information:	
+	jam FLAG_LE_PARING_SEND_MASTER_IDENTIFICATION,mem_le_pairing_state
+	branch le_send_smp_master_identification
+
+le_pairng_sm_send_master_indentification:	
+	fetch 1,mem_le_preq_resp_key_distribution
+	fetcht 1,mem_le_pres_resp_key_distribution
+	iand temp,pdata
+	isolate0 LE_INITATOR_IRK_BIT,pdata
+	branch le_parse_start_enc_rsp_after_auth_end,true
+	jam FLAG_LE_PARING_SEND_INDENTITY_INFORMATION,mem_le_pairing_state
+	branch le_send_smp_identity_information
+
+le_pairng_sm_send_indentity_information:		
+	call le_send_smp_identity_address_information
+	branch le_parse_start_enc_rsp_after_auth_end
+
+
+le_parse_start_enc_rsp_after_auth_end:
+	force smp_pairing_timer,queue
+	call timer_stop
+	jam FLAG_LE_ENC_END,mem_le_enc_state
+	jam FLAG_LE_PAIRING_END,mem_le_pairing_state
+	jam BT_EVT_LE_PAIRING_COMPLETE ,mem_fifo_temp
+	branch ui_ipc_send_event	
+	
+
+
+le_secure_connect_sm:
+	bpatchx patch3b_2,mem_patch3b
+	fetch 1,mem_le_pairing_mode
+	rtnbit0 LE_PAIRING_MODE_SECURE_CONNECT_BIT
+	fetch 1,mem_le_secure_connect_flag
+	rtnne LE_SP_FLAG_COMMIT_256
+	jam SP_FLAG_STANDBY,mem_le_secure_connect_flag
+	fetch 1,mem_le_secure_connect_state
+	beq  LE_SC_STAT_RECEIVE_PUBLIC_KEY,le_sc_sm_receive_public_key
+	beq LE_SC_STAT_WAIT_SEND_PUBLIC_KEY,le_sc_sm_wait_send_public_key
+	beq LE_SC_STAT_SEND_PUBLIC_KEY,le_sc_sm_send_public_key
+	beq LE_SC_STAT_RECEIVE_DHKEY,le_sc_sm_receive_dhkey
+	beq LE_SC_STAT_WAIT_CONFIRM_GKEY,le_sc_sm_wait_confirm_gkey
+	beq  LE_SC_STAT_PASSKEY_WAIT_CONFIRM,le_sc_sm_passkey_wait_confirm
+	rtn	
+
+le_sc_state_clear:
+	jam SP_FLAG_STANDBY,mem_le_secure_connect_flag
+	jam LE_SC_STAT_NULL,mem_le_secure_connect_state
+	jam FLAG_LE_SC_CONFRIM_NULL,mem_le_sc_confirm_gkey_flag
+	rtn
+	
+le_sc_sm_passkey_wait_confirm:
+	fetch 1,mem_authentication_passkey_times
+	copy pdata,queue
+	increase 1,pdata
+	store 1,mem_authentication_passkey_times
+	fetch 4,mem_le_tk
+	qisolate1 pdata
+	setarg 0x80
+	setflag true,0,pdata
+	store 1,mem_passkey_1bit
+	branch le_sc_sm_ready_send_pairing_confirm
+	
+le_sc_sm_wait_confirm_gkey:
+	fetch 1,mem_le_sc_confirm_gkey_flag
+	jam FLAG_LE_SC_CONFRIM_NULL,mem_le_sc_confirm_gkey_flag
+	beq FLAG_LE_SC_CONFRIM_GKEY_OK,le_sc_confirm_gkey_ok
+	jam LE_SP_FLAG_COMMIT_256,mem_le_secure_connect_flag
+	rtn
+	
+le_sc_confirm_gkey_ok:
+	jam BT_EVT_LE_PAIRING_SUCCESS,mem_fifo_temp
+	call ui_ipc_send_event	
+	jam FLAG_LE_PAIRING_AFTER_AUTH,mem_le_pairing_state
+	branch le_send_smp_pairing_dhkey_check
+
+le_sc_sm_receive_dhkey:
+	fetch 1,mem_sp_dhkey_invalid
+	beq SP_KEY_VALID_256,le_dhkey_ready
+	jam LE_SP_FLAG_COMMIT_256,mem_le_secure_connect_flag
+	rtn
+
+le_dhkey_ready:
+	call function_f5
+	fetch 1,mem_le_pairing_mode
+	beq LE_PAIRING_MODE_SECURE_CONNECT_PASSKEY ,le_dhkey_ready_common
+	beq LE_PAIRING_MODE_SECURE_CONNECT_PASSKEY_RES_INPUT ,le_dhkey_ready_common
+	call le_set_tk_0 
+le_dhkey_ready_common:
+	call function_f6_ea
+	arg mem_AES_CMAC_temp,rega
+	arg mem_sp_confirm_remote ,regb
+	arg 16,loopcnt
+	call string_compare
+	branch le_dhkey_check_ok,zero
+le_dhkey_check_fail:	
+	jam PAIRING_FAILED_DHKEY_CHECK_FAILED,mem_le_ll_pairing_fail_reason
+	branch le_send_pairing_failed
+
+	
+le_dhkey_check_ok:
+	call sp_calc_check_publickey_256
+	nbranch le_dhkey_check_fail,zero
+	jam 1,mem_ltk_exists
+	fetch 1,mem_le_pairing_mode
+	beq LE_PAIRING_MODE_SECURE_CONNECT_JUSTWORK,le_sc_confirm_gkey_ok
+	beq LE_PAIRING_MODE_SECURE_CONNECT_PASSKEY ,le_sc_confirm_gkey_ok	
+	beq LE_PAIRING_MODE_SECURE_CONNECT_PASSKEY_RES_INPUT ,le_sc_confirm_gkey_ok	
+	jam LE_SP_FLAG_COMMIT_256,mem_le_secure_connect_flag
+	jam LE_SC_STAT_WAIT_CONFIRM_GKEY,mem_le_secure_connect_state	
+	rtn	
+
+le_sc_sm_send_public_key:
+	fetch 1,mem_le_pairing_mode
+	beq LE_PAIRING_MODE_SECURE_CONNECT_PASSKEY,le_sc_sm_send_public_key_passkey
+	beq LE_PAIRING_MODE_SECURE_CONNECT_PASSKEY_RES_INPUT,le_sc_sm_send_public_key_passkey
+	jam 0,mem_passkey_1bit
+le_sc_sm_ready_send_pairing_confirm:
+	branch le_send_smp_pairing_confirm
+
+le_sc_sm_send_public_key_passkey:
+	jam 0,mem_authentication_passkey_times
+	rtneq LE_PAIRING_MODE_SECURE_CONNECT_PASSKEY_RES_INPUT
+	branch le_parse_smp_pairing_req_passkey
+
+	
+le_sc_sm_receive_public_key:
+	jam LE_SP_FLAG_COMMIT_256,mem_le_secure_connect_flag
+	fetch 1,mem_sc_local_key_invalid
+	beq SP_KEY_VALID_256,le_public_key_ready
+	rtn
+	
+le_public_key_ready:
+	jam LE_SC_STAT_WAIT_SEND_PUBLIC_KEY,mem_le_secure_connect_state	
+	jam SP_KEY_INVALID,mem_sp_dhkey_invalid
+	branch sp_dhkey_calc_256	
+
+le_sc_sm_wait_send_public_key:
+	jam LE_SP_FLAG_COMMIT_256,mem_le_secure_connect_flag
+	jam LE_SC_STAT_SEND_PUBLIC_KEY,mem_le_secure_connect_state
+	branch le_send_smp_pairing_public_key
+
+
+
+le_fifo_malloc_tx_l2cap_smp:
+	force LE_L2CAP_CID_SMP,regb
+	branch le_fifo_malloc_tx_l2cap
+
+
+
+le_parse_ll:
+	fetch 1,mem_le_rxbuf_data_ll_opcode
+	beq LL_CONNECTION_UPDATE_IND,le_parse_connection_update_ind
+	beq LL_CHANNEL_MAP_IND,le_parse_channel_map_ind
+	beq LL_TERMINATE_IND,le_parse_terminate_ind
+	beq LL_ENC_REQ,le_parse_enc_req
+	beq LL_ENC_RSP,le_parse_enc_rsp
+	beq LL_START_ENC_REQ,le_parse_start_enc_req
+	beq LL_START_ENC_RSP,le_parse_start_enc_rsp
+	beq LL_UNKNOWN_RSP,le_parse_unknown_rsp
+	beq LL_FEATURE_REQ,le_parse_feature_req
+	beq LL_FEATURE_RSP,le_parse_feature_rsp
+	beq LL_PAUSE_ENC_REQ,le_parse_pause_enc_req
+	beq LL_PAUSE_ENC_RSP,le_parse_pause_enc_rsp
+	beq LL_VERSION_IND,le_parse_version_ind
+	beq LL_REJECT_IND,le_parse_reject_ind
+	beq LL_PING_REQ,le_parse_ping_req
+	beq LL_PING_RSP,le_parse_ping_rsp
+	beq LL_LENGTH_REQ,le_parse_length_req
+	beq LL_LENGTH_RSP,le_parse_length_rsp
+	beq LL_PHY_REQ,le_parse_phy_req
+	beq LL_PHY_UPDATE_IND,le_parse_phy_update_ind
+	fetchr regc,1,mem_le_rxbuf_data_ll_opcode
+	branch le_send_unknown_rsp
+
+
+//LL Opcode:0x00
+le_parse_connection_update_ind:
+	ifetch 9,contr
+	store 9,mem_le_new_param
+	ifetch 2,contr
+	store 2,mem_le_instant
+	fetch 1,mem_le_state
+	set1 lestate_update_param,pdata
+	store 1,mem_le_state
+	rtn
+
+
+//LL Opcode:0x01
+le_parse_channel_map_ind:
+	ifetch 5,contr
+	store 5,mem_le_new_map
+	ifetch 2,contr
+	store 2,mem_le_instant
+le_update_map_enable:
+	fetch 1,mem_le_state
+	set1 lestate_update_map,pdata
+	store 1,mem_le_state
+	rtn
+
+
+//LL Opcode:0x02
+le_parse_terminate_ind:
+	setarg 20 // 200ms
+	store 2,mem_le_superto
+	store 2,mem_le_init_superto
+	rtn
+
+
+//LL Opcode:0x03
+le_parse_enc_req:
+	ifetch 8,contr
+	store 8,mem_le_rand
+	ifetch 2,contr
+	store 2,mem_le_ediv
+	ifetch 8,contr
+	store 8,mem_le_skdm
+	ifetch 4,contr
+	store 4,mem_ccm_ivm
+	call le_send_enc_rsp
+	bpatchx patch3b_3,mem_patch3b
+	fetch 1,mem_le_pairing_state
+	beq FLAG_LE_PAIRING_AFTER_AUTH,le_parse_enc_req_after_auth
+	fetch 1,mem_le_configuration
+	bbit1  BIT_BLE_PAIRING_FIXED_LTK,le_parse_enc_req_fixed_ltk
+	fetch 1,mem_nv_data_number
+	ncall load_device_list_mode_4,blank
+	fetch 1,mem_ltk_exists
+	beq 0,le_ltk_lost
+le_parse_enc_req_after_auth:
+	jam FLAG_LE_RCV_ENC_START,mem_le_enc_state
+	call  le_send_start_enc_req
+	branch generate_sk
+le_parse_enc_req_fixed_ltk:
+	jam 1,mem_ltk_exists
+	arg mem_le_fixed_ltk,contr
+	arg mem_le_ltk,contw
+	call memcpy16
+	branch le_parse_enc_req_after_auth
+le_ltk_lost:
+	bpatchx patch3b_4,mem_patch3b
+	jam FLAG_LE_ENC_NULL,mem_le_enc_state
+	jam FLAG_LE_ENC_NULL,mem_le_pairing_state
+	jam BT_EVT_LE_LTK_LOST,mem_fifo_temp
+	branch ui_ipc_send_event
+
+//LL Opcode:0x04
+le_parse_enc_rsp:
+	ifetch 8,contr
+	store 8,mem_le_skds
+	ifetch 4,contr
+	store 4,mem_ccm_ivs
+	branch generate_sk
+
+
+//LL Opcode:0x05
+le_parse_start_enc_req:
+	fetch 1,mem_le_state
+	set1 lestate_encryption,pdata
+	store 1,mem_le_state
+	rtn
+
+//LL Opcode:0x06
+le_parse_start_enc_rsp:
+	rtn master
+	jam BT_EVT_LE_START_ENC,mem_fifo_temp
+	call ui_ipc_send_event	
+	jam FLAG_LE_SEND_START_ENC_RSP,mem_le_enc_state
+	branch le_send_start_enc_rsp
+
+
+//LL Opcode:0x07
+le_parse_unknown_rsp:
+	rtn
+
+
+//LL Opcode:0x08
+le_parse_feature_req:
+	branch le_send_feature_rsp
+
+
+//LL Opcode:0x09
+le_parse_feature_rsp:
+	rtn
+
+
+//LL Opcode:0x0a
+le_parse_pause_enc_req:
+	jam FLAG_LE_ENC_PAUSE,mem_le_enc_state
+	call le_send_pause_enc_rsp	
+	jam BT_EVT_LE_PAUSE_ENC,mem_fifo_temp
+	branch ui_ipc_send_event	
+
+
+//LL Opcode:0x0b
+le_parse_pause_enc_rsp:
+	rtn
+
+
+//LL Opcode:0x0c
+le_parse_version_ind:
+	rtn master
+	branch le_send_version_ind
+
+
+//LL Opcode:0x0d
+le_parse_reject_ind:
+	rtn
+
+
+//LL Opcode:0x13
+le_parse_ping_req:
+	branch le_send_ping_rsp
+
+
+//LL Opcode:0x14
+le_parse_ping_rsp:
+	rtn
+
+
+le_parse_length_req:
+	call le_parse_length_rsp
+	branch le_send_data_length_res
+
+le_parse_length_rsp:
+	ifetch 8,contr
+	store 8,mem_remote_rx_max_octets
+	fetch 2,mem_remote_rx_max_octets
+	fetcht 2,mem_local_tx_max_octets
+	call not_greater_than
+	store 2,mem_remote_rx_max_octets
+	
+	fetch 2,mem_remote_tx_max_octets
+	fetcht 2,mem_local_rx_max_octets
+	call not_greater_than
+	store 2,mem_remote_tx_max_octets
+	rtn
+
+
+//LL Opcode:0x16
+le_parse_phy_req:
+	branch le_send_phy_rsp
+
+
+//LL Opcode:0x18
+le_parse_phy_update_ind:
+	ifetch 2,contr
+	store 2,mem_le_new_m2s_phy
+	ifetch 2,contr
+	store 2,mem_le_instant
+	rtn blank
+	fetch 1,mem_le_state
+	set1 lestate_update_phy,pdata
+	store 1,mem_le_state	
+	rtn
+
+
+///////////////////send ll packet//////////////
+//LL Opcode:0x02
+le_send_terminate_ind_user_terminated:
+	arg ERROR_REMOTE_USER_TERMINATED_CONNECTION,regc
+
+//regc:The ErrorCode field shall be set to inform the remote device why the connection is about to be terminated.
+le_send_terminate_ind:
+	arg 2,rega
+	arg LL_TERMINATE_IND,regb
+	call le_fifo_malloc_tx_ll
+	copy regc,pdata
+	istore 1,contw
+	rtn
+
+
+//LL Opcode:0x04
+le_send_enc_rsp:
+	arg mem_le_skds,contw
+	force 8,loopcnt
+	call generate_random_loop
+	arg mem_ccm_ivs,contw
+	force 4,loopcnt
+	call generate_random_loop
+	arg 13,rega
+	arg LL_ENC_RSP,regb
+	call le_fifo_malloc_tx_ll
+	fetch 8,mem_le_skds
+	istore 8,contw
+	fetch 4,mem_ccm_ivs
+	istore 4,contw
+	rtn
+
+
+//LL Opcode:0x05
+le_send_start_enc_req:
+	jam FLAG_LE_SEND_START_ENC_REQ,mem_le_enc_state
+	arg LL_START_ENC_REQ,regb
+	branch le_send_ll_one_lenth
+
+
+//LL Opcode:0x06
+le_send_start_enc_rsp:
+	arg LL_START_ENC_RSP,regb
+	branch le_send_ll_one_lenth
+
+
+//LL Opcode:0x07
+//input:regc is receive ll opcode
+le_send_unknown_rsp:
+	arg 2,rega
+	arg LL_UNKNOWN_RSP,regb
+	call le_fifo_malloc_tx_ll
+	istorer regc,1,contw
+	rtn	
+
+
+//LL Opcode:0x09
+le_send_feature_rsp:
+	arg 9,rega
+	arg LL_FEATURE_RSP,regb
+	call le_fifo_malloc_tx_ll
+	fetch 8,mem_le_local_feature
+	or pdata,FUN_LL_FEATURE_LE_ENCRYPTION,pdata
+	istore 8,contw
+	rtn
+
+
+//LL Opcode:0x0B
+le_send_pause_enc_rsp:
+	arg LL_PAUSE_ENC_RSP,regb
+	branch le_send_ll_one_lenth
+
+
+//LL Opcode:0x0C
+le_send_version_ind:
+	arg 6,rega
+	arg LL_VERSION_IND,regb
+	call le_fifo_malloc_tx_ll
+	fetch 5,mem_lmp_version
+	istore 5,contw
+	rtn
+
+//LL Opcode:0x0D
+le_send_reject_ind:
+	arg 2,rega
+	arg LL_REJECT_IND,regb
+	call le_fifo_malloc_tx_ll
+	setarg LE_ERR_PIN_OR_KEY_MISSING
+	istore 1,contw
+	rtn		
+
+
+//LL Opcode:0x13
+le_send_ping_rsp:
+	arg LL_PING_RSP,regb
+	branch le_send_ll_one_lenth
+	
+le_send_data_length_req:
+	arg LL_LENGTH_REQ,regb
+	branch le_send_data_length
+
+le_send_data_length_res:
+	arg LL_LENGTH_RSP,regb
+le_send_data_length:
+	arg 9,rega
+	call le_fifo_malloc_tx_ll
+	fetch 8,mem_local_rx_max_octets
+	istore 8,contw
+	rtn
+
+
+//LL Opcode:0x17
+le_send_phy_rsp:
+	arg 3,rega
+	arg LL_PHY_RSP,regb
+	call le_fifo_malloc_tx_ll
+	fetch 1,mem_le_tx_phys
+	and pdata,0x07,pdata
+	istore 1,contw
+	fetch 1,mem_le_rx_phys
+	and pdata,0x07,pdata
+	istore 1,contw
+	rtn		
+
+
+//regb:ll opcode
+le_send_ll_one_lenth:
+	arg 1,rega
+	branch le_fifo_malloc_tx_ll
+
+
+
+
+g24_dispatch:
+	bpatchx patch3b_5,mem_patch3b
+	bmark1 mark_24g_rxmode,g24_receive_dispatch
+	branch g24_transmit_dispatch
+
+
+
+
+g24_prep:
+	disable enable_crc
+	disable enable_white
+	setarg 0x555555
+	iforce crc24_init
+	fetch 1,mem_24g_ch
+	branch le_prep+5	
+
+g24_receive_packet:
+	bpatchx patch3b_6,mem_patch3b
+	fetch 1,mem_24g_rx_phy
+	call le_enable_phy_by_pdata
+	fetch 4,mem_24g_addr
+	iforce access
+	call calc_mod_value_scale_le
+	call set_sync_on
+	fetcht 1,mem_24g_ch
+	call le_rf_rx_enable
+g24_receive_rxon:
+	call g24_prep
+	bmark0 mark_ble_lr,g24_receive_nolr
+	pulse dewhiten_code_calc
+	nop 30
+	call g24_prep
+g24_receive_nolr:
+	disable user3
+	enable decode_fec0
+	enable is_rx
+	disable is_tx
+	enable swfine
+	fetch 2,mem_24g_rx_window
+	iforce stop_watch
+	correlate null,timeout
+	nbranch g24_sync_timeout,sync
+	call rf_debug_rx_sync_line
+	bmark1 mark_ble_lr,g24_receive_skip_fec1
+	fetch 1,mem_24g_disable_fec1
+	nbranch g24_receive_skip_fec1,blank
+	disable decode_fec0	
+	enable decode_fec1	//lr do not use fec1
+g24_receive_skip_fec1:
+	enable enable_white
+	enable enable_crc
+	call g24_receive_byte
+	store 1,mem_24g_get_syncword_crc8
+	fetcht 1,mem_24g_syncword_crc8
+	isub temp,null
+	nbranch g24_end_of_packet,zero
+	bpatchx patch3b_7,mem_patch3b
+	disable user7
+	isolate1 mark_ble_lr,mark
+	call g24_lr_receive_pdu_len,true
+	branch g24_end_of_packet,user7
+	call g24_receive_byte
+	store 1,mem_24g_rxbuf	//device id
+	bmark1 mark_24g_rxmode,g24_receive_skip
+	fetch 1,mem_24g_rxbuf
+	fetcht 1,mem_24g_data_type
+	icompare bits_data,temp
+	nbranch g24_end_of_packet,true
+g24_receive_skip:
+	call g24_receive_byte
+	isolate1 mark_ble_lr,mark
+	call g24_lr_receive_payload_len,true
+	istore 1,contw
+	rshift3 pdata,pdata
+	sub pdata,0x1f,null
+	nbranch g24_end_of_packet,positive	//max payload: 32bytes
+	copy pdata,loopcnt
+	branch g24rx_nopayload,zero
+g24rx_loop:
+	call g24_receive_byte
+	istore 1,contw
+	loop g24rx_loop
+g24rx_nopayload:
+	bmark1 mark_24g_rxmode,g24_receive_skip_rssi
+	copy contw,rega
+	call g24_receive_byte
+	store 1,mem_rssi_hex_received	//receive rssi hex
+	copy rega,contw
+g24_receive_skip_rssi:
+	parse demod,bucket,24
+	rshift32 pdata,pdata
+	rshift16 pdata,pdata
+	istore 3,contw
+	fetch 1,mem_24g_disable_fec1
+	nbranch g24_receive_skip_disable_fec1,blank
+	disable decode_fec1
+g24_receive_skip_next:
+	isolate1 mark_24g_rxmode,mark
+	call save_rssi_dec,true
+	branch g24_end_of_packet,crc_failed
+	call rf_debug_rx_crc_line	//L
+	enable user3
+	call le_match_set_txfreq
+	bpatchx patch3c_0,mem_patch3c
+	rtnmark1 mark_24g_rxmode
+	fetch 1,mem_rssi_hex_received
+	fetcht 1,mem_rssi_hex_received_max_value
+	isub temp,null
+	call copy_temp2pdata,positive
+	branch rssi_signal
+
+g24_receive_skip_disable_fec1:
+	disable decode_fec0
+	branch g24_receive_skip_next
+	
+
+g24_lr_receive_pdu_len:
+	call g24_receive_byte
+	sub pdata,1,null
+	branch enable_user7,positive
+	increase -2,pdata	//minus hec and pdu length
+	bmark1 mark_24g_rxmode,g24_lr_receive_pdu_norssi
+	branch enable_user7,blank
+	increase -1,pdata	//minus rssi_hex length
+g24_lr_receive_pdu_norssi:
+	store 1,mem_temp	//payload length
+	rtn
+
+g24_lr_receive_payload_len:
+	and_into 0x07,pdata	//pdata[7:3]:length
+	fetcht 1,mem_temp	//payload length
+	lshift3 temp,temp
+	ior temp,pdata
+	rtn
+	
+g24_receive_byte:
+	parse demod,bucket,8
+	rshift3 pwindow,pdata
+	rtn
+
+g24_sync_timeout:
+	isolate1 mark_24g_rxmode,mark
+	call rssi_noise,true
+g24_end_of_packet:
+	call le_disable
+	disable encode_fec1
+	disable decode_fec1
+	branch end_of_packet
+
+g24_set_freq_tx:
+	call set_sync_on
+	fetcht 1,mem_24g_ch
+	branch set_freq_tx
+
+g24_transmit:
+	bpatchx patch3c_1,mem_patch3c
+	fetch 1,mem_24g_tx_phy
+	call le_enable_phy_by_pdata
+	fetch 4,mem_24g_addr
+	iforce access
+	call g24_prep
+	call g24_set_freq_tx
+	set1 TXGFSK,radio_ctrl
+	enable encode_fec0
+	enable is_tx
+	disable is_rx
+	call rf_debug_tx_on_line
+	disable lr_s2en
+	bmark1 mark_ble_lr,g24_transmit_lr
+	bmark1 mark_ble_2M,g24_transmit_2M
+	rshift16 access,pdata
+	rshift8 pdata,pdata
+	rshift4 pdata,pdata
+	inject mod,40
+g24_transmit_packet:
+	bmark1 mark_ble_lr,g24_transmit_nolr
+	fetch 1,mem_24g_disable_fec1
+	nbranch g24_transmit_nolr,blank
+	disable encode_fec0	
+	enable encode_fec1	////lr use encode_fec3
+g24_transmit_nolr:
+	enable enable_white
+	enable enable_crc
+	fetch 1,mem_24g_txlen
+	iforce loopcnt
+	arg mem_24g_txpayload,contr
+g24tr_loop:
+	ifetch 1,contr
+	inject mod,8
+	loop g24tr_loop
+	enable enable_parity
+	inject mod,24	//crc
+	disable enable_parity
+	bmark0 mark_ble_lr,g24_transmit_skip
+	disable enable_white
+	setarg 0
+	inject mod,3
+g24_transmit_skip:	
+	until null,tx_clear
+	nop 100
+	disable lr_s2en
+	disable encode_fec0
+	fetch 1,mem_24g_disable_fec1
+	nbranch g24_transmit_skip_disable_fec1,blank
+	disable encode_fec1
+g24_transmit_skip_disable_fec1:
+	disable encode_fec3
+	call set_sync_on
+	branch rf_debug_tx_off_line
+
+g24_transmit_lr:
+	arg 10,loopcnt
+g24_transmit_lr_preamble_loop:
+	setarg 0x3c
+	inject mod,8
+	loop g24_transmit_lr_preamble_loop
+	disable encode_fec0
+	enable encode_fec3
+	rshift16 access,pdata
+	rshift16 pdata,pdata
+	rshift4 pdata,pdata
+	inject mod,32
+	bmark1 mark_ble_lr_s8,g24_transmit_lr_s8
+g24_transmit_lr_s2:
+	setarg 1
+	inject mod,5
+	enable lr_s2en
+	branch g24_transmit_packet
+
+g24_transmit_lr_s8:
+	setarg 0
+	inject mod,5
+	branch g24_transmit_packet
+
+g24_transmit_2M:
+	fetch 1,mem_system_clk
+	rshift pdata,loopcnt
+g24_transmit_2M_dealy:
+	nop 2
+	loop g24_transmit_2M_dealy
+//	nop 36	//2M 前端发送比1M快3us左右
+	rshift16 access,pdata
+	rshift8 pdata,pdata
+	rshift4 pdata,temp
+	copy temp,pdata
+	inject mod,8
+	copy temp,pdata
+	inject mod,40
+	branch g24_transmit_packet
+
+
+
+
+
+
+
+g24_transmit_prep:
+	fetch 1,mem_24g_tx_phy
+	bbit1 BIT_LE_CODED_PHY,g24_lr_transmit_prep
+// total length
+	fetch 1,mem_24g_datalen
+	increase 3,pdata	//hec/type/control
+	store 1,mem_24g_txlen
+//hec
+	fetch 1,mem_24g_syncword_crc8
+	store 1,mem_24g_txpayload
+// data type
+	fetch 1,mem_24g_data_type
+	istore 1,contw
+//prepare 5bit payload length, 2bit PID, 1bit NO_ACK
+	fetch 1,mem_24g_datalen
+g24_transmit_prep_pdu:
+	lshift3 pdata,pdata
+	fetcht 1,mem_24g_pid
+	and temp,0x03,temp
+	lshift temp,temp
+	ior temp,pdata
+	fetcht 1,mem_24g_no_ack
+	iadd temp,pdata
+	istore 1,contw
+//prepare payload data
+	fetch 1,mem_24g_datalen
+	iforce loopcnt
+	arg mem_24g_txbuf,contr
+	call memcpy
+//rssi hex	
+	rtnmark0 mark_24g_rxmode
+	fetch 1,mem_rssi_hex
+	istore 1,contw
+	fetch 1,mem_24g_tx_phy
+	rtnbit1 BIT_LE_CODED_PHY
+	fetch 1,mem_24g_txlen
+	increase 1,pdata	//plus rssi_hex length
+	store 1,mem_24g_txlen
+	rtn
+	
+g24_lr_transmit_prep:
+// total length
+	fetch 1,mem_24g_datalen
+	increase 4,pdata	//hec/pdu/type/control
+	bmark0 mark_24g_rxmode,g24_lr_transmit_prep_skip
+	increase 1,pdata	//mem_rssi_hex
+g24_lr_transmit_prep_skip:
+	store 1,mem_24g_txlen
+//hec
+	fetch 1,mem_24g_syncword_crc8
+	store 1,mem_24g_txpayload
+// pdu length
+	fetch 1,mem_24g_txlen
+	increase -2,pdata	//minus hec and pdu length
+	istore 1,contw
+// data type
+	fetch 1,mem_24g_data_type
+	istore 1,contw
+	setarg 0
+	branch g24_transmit_prep_pdu
+
+g24_read_len_pid_crc:
+//read control
+	fetch 1,mem_24g_rxbuf+1
+	rshift3 pdata,pdata
+	store 1,mem_24g_rxdata_length
+//get crc
+	increase 1,pdata
+	arg mem_24g_rxbuf+1,contr
+	iadd contr,contr
+	ifetch 3,contr
+	store 3,mem_24g_sta_crc
+//read pid
+	fetch 1,mem_24g_rxbuf+1
+	rshift pdata,pdata
+	and pdata,0x03,pdata
+	store 1,mem_24g_sta_pid
+	rtn
+
+	
+g24_ch:
+	fetcht 1,mem_24g_current_ch_number
+	call g24_ch_map_size
+	storet 1,mem_24g_current_ch_number
+	rtn
+
+g24_ch_map_size:
+	call g24_ch_calc
+	increase 1,temp
+	and_into 3,temp //map size =4
+	rtn
+	
+g24_ch_calc:
+	fetch 1,mem_24g_addr	
+	and_into 0x03,pdata
+	mul32 pdata,4,rega			//24addr low bit0 bit1 ,00-map1,01-map2,10-map3,11-map4
+	setarg mem_24g_ch_map1
+	iadd rega,pdata
+	iadd temp,contr
+	ifetch 1,contr
+	store 1,mem_24g_ch
+	rtn
+
+
+g24_update_addr_and_synccrc8:
+	store 4,mem_24g_addr
+//output: 1BYTE crc8
+g24_syncword_crc8:
+	arg 0,rega
+	arg 4,loopcnt
+	arg mem_24g_addr,contr
+g24_syncword_crc8_loop:
+	ifetch 1,contr
+	iadd rega,rega
+	loop g24_syncword_crc8_loop
+	copy rega,pdata
+	store 2,mem_24g_syncword
+	fetch 1,mem_24g_syncword
+	fetcht 1,mem_24g_syncword+1
+	iadd temp,pdata
+	store 1,mem_24g_syncword_crc8
+	rtn
+
+
+g24_timer_check:
+	call disable_user
+	fetcht 4,mem_24g_tx_btclk
+	copy clkn_bt,pdata
+	isub temp,null
+	ncall g24_timer_timeout,positive
+	copy pdata,regb
+	fetch 4,mem_24g_tx_btclk
+	fetcht 1,mem_24g_interval
+	iadd temp,temp
+	copy regb,pdata
+	isub temp,null
+	nrtn positive
+	set0 28,pdata
+	store 4,mem_24g_tx_btclk
+	branch enable_user
+g24_timer_timeout:
+	rtn zero
+	set1 28,pdata
+	rtn
+g24_timer_init:
+	setarg 0
+	store 4,mem_24g_tx_btclk
+	rtn
+
+
+
+//mem_24g_ch_map1:00 13 2c 42
+//mem_24g_ch_map2:06 15 36 48
+//mem_24g_ch_map3:0f 1a 3a 4c
+//mem_24g_ch_map4:11 23 31 4d
+g24_chmap_param_init:
+	setsect 0,0x1300
+	setsect 1,0x1908b
+	setsect 2,0x36150
+	setsect 3,0x3d20
+	store 9,mem_24g_ch_map1
+	setsect 0,0x3a1a
+	setsect 1,0xc453
+	setsect 2,0xd312
+	setsect 3,0x1
+	istore 7,contw
+	fetch 1,mem_24g_ch_map_update
+	rtn blank
+	arg mem_24g_ch_update_map1,contr
+	arg mem_24g_ch_map1,contw
+	branch memcpy16
+
+
+
+//mem_24g_ch_update_map1:00 1e 00 4e
+//mem_24g_ch_update_map2:03 23 03 42
+//mem_24g_ch_update_map3:06 25 06 4c
+//mem_24g_ch_update_map4:09 27 09 3c
+g24_chamap_param_update:
+	setarg 0x4e001e
+	store 3,mem_24g_ch_update_map1+1
+	setarg 0x032303
+	istore 3,contw
+	setarg 0x250642
+	istore 3,contw
+	setarg 0x094c06
+	istore 3,contw
+	setarg 0x3c0927
+	istore 3,contw
+	jam 1,mem_24g_ch_map_update
+	rtn
+
+
+g24_rx_window_init:
+	arg 0x6978,temp
+	bmark1 mark_24g_rxmode,g24_rx_window_store
+	arg 0x12c0,temp
+	fetch 1,mem_24g_rx_phy
+	bbit0 2,g24_rx_window_store	//uncoded phy
+	arg 0x2ee0,temp
+g24_rx_window_store:	
+	storet 2,mem_24g_rx_window
+	rtn
+
+g24_enable_1M:
+	jam 0x01,mem_24g_rx_phy
+	jam 0x01,mem_24g_tx_phy
+	rtn
+
+//g24_enable_2M:
+//	jam 0x02,mem_24g_rx_phy
+//	jam 0x02,mem_24g_tx_phy
+//	rtn
+//	
+//g24_enable_coded_s2:
+//	jam 0x04,mem_24g_rx_phy
+//	jam 0x04,mem_24g_tx_phy
+//	rtn
+
+//g24_enable_coded_s8:
+//	jam 0x84,mem_24g_rx_phy
+//	jam 0x84,mem_24g_tx_phy
+//	rtn
+
+
+
+
+
+
+
+
+
+
+	
+
+
+g24_pair_param_init:
+	jam 0x4e,mem_24g_pair_ch
+	setarg 0x101520
+	store 3,mem_24g_pair_addr
+	setarg 0x05
+	istore 1,contw
+	rtn
+
+
+
+
+
+g24_pair_timeout_timer:
+	arg mem_24g_pair_timeout,regc
+	arg g24_stop_24g_mode,regb
+	branch timer_single_step_2B
+
+g24_pair_start:
+	set1 mark_24g,mark
+	fetch 1,mem_24g_conn_sm
+	set0 STATE_24G_RECONN,pdata
+	set1 STATE_24G_PAIR,pdata
+	store 1,mem_24g_conn_sm
+	setarg 0
+	store 2,mem_24g_reconn_timeout
+	fetch 2,mem_24g_pair_timeout_init
+	store 2,mem_24g_pair_timeout
+	jam 0,mem_24g_pair_no_ack
+	call g24_pair_sm_reinit
+g24_pair_init_param:
+	jam 0,mem_24g_pid
+	fetch 1,mem_24g_pair_ch
+	store 1,mem_24g_ch
+	fetch 1,mem_24g_pair_tx_power
+	store 1,mem_tx_power
+	fetch 4,mem_24g_pair_addr
+	branch g24_update_addr_and_synccrc8
+
+
+g24_pair_dispatch:
+	bpatchx patch3c_2,mem_patch3c
+	fetch 1,mem_24g_pair_sm
+	beq STATE_24G_PAIRING_SUCCESS,g24_pair_exit
+	beq STATE_24G_PAIRING_1,g24_pair_sm_1
+	beq STATE_24G_PAIRING_2,g24_pair_sm_2
+	beq STATE_24G_PAIRING_3,g24_pair_sm_3
+	beq STATE_24G_PAIRING_4,g24_pair_sm_4
+	rtn
+
+g24_pair_sm_1:
+	jam DATATYPE_ATTEMP,mem_24g_txbuf
+	branch g24_pair_sm_prep
+
+g24_pair_sm_2:
+	fetch 1,mem_24g_pair_switch
+	branch g24_pair_sm_2_skip,blank
+	fetch 4,mem_24g_device_addr
+	call g24_update_addr_and_synccrc8	//use transmitter addr
+g24_pair_sm_2_skip:
+	jam DATATYPE_BIND,mem_24g_txbuf	
+	branch g24_pair_sm_prep
+
+g24_pair_sm_3:
+	jam DATATYPE_CONFIG,mem_24g_txbuf	
+	fetch 1,mem_24g_pair_switch
+	branch g24_pair_sm_prep,blank
+	fetch 4,mem_24g_receiver_addr		//prep receiver addr
+	store 4,mem_24g_txbuf+2
+	branch g24_pair_sm_common
+
+g24_pair_sm_4:
+	jam DATATYPE_OK,mem_24g_txbuf
+g24_pair_sm_prep:
+	fetch 4,mem_24g_device_addr
+	store 4,mem_24g_txbuf+2
+g24_pair_sm_common:
+	fetch 1,mem_24g_data_type
+	and_into bits_data,pdata
+	store 1,mem_24g_txbuf+1
+	jam 0,mem_24g_txbuf+6
+	jam 7,mem_24g_datalen
+	call g24_transmit_prep
+	call g24_transmit_receive_ack
+	nrtn sync
+	nrtn user3
+	call g24_txbuf_clear
+	call g24_ackpayload_parse
+	bpatchx patch3c_3,mem_patch3c
+	fetch 1,mem_24g_pair_sm
+	rtneq STATE_24G_PAIRING_SUCCESS
+	beq STATE_24G_PAIRING_1,g24_pair_sm_1_waiting_ack
+	beq STATE_24G_PAIRING_2,g24_pair_sm_2_waiting_ack
+	beq STATE_24G_PAIRING_3,g24_pair_sm_3_waiting_ack
+	beq STATE_24G_PAIRING_4,g24_pair_sm_4_waiting_ack
+	rtn
+
+g24_pair_sm_reinit:	
+	jam STATE_24G_PAIRING_2,mem_24g_pair_sm
+	fetch 1,mem_24g_pair_switch
+	rtn blank
+	jam STATE_24G_PAIRING_1,mem_24g_pair_sm
+	rtn
+
+g24_pair_sm_1_waiting_ack:
+	jam STATE_24G_PAIRING_2,mem_24g_pair_sm
+	branch g24_transmit_abandon
+	
+g24_pair_sm_2_waiting_ack:
+	fetch 1,mem_24g_pair_switch
+	branch g24_pair_sm_2_waiting_ack_skip,blank
+	fetch 4,mem_24g_rxpayload+2
+	store 4,mem_24g_receiver_addr
+g24_pair_sm_2_waiting_ack_skip:	
+	jam STATE_24G_PAIRING_3,mem_24g_pair_sm
+	branch g24_transmit_abandon
+
+g24_pair_sm_3_waiting_ack:
+	fetch 1,mem_24g_pair_switch
+	branch g24_pair_sm_3_waiting_ack_skip,blank
+	fetch 4,mem_24g_rxpayload+2
+	fetcht 4,mem_24g_device_addr
+	isub temp,null
+	nrtn zero
+g24_pair_sm_3_waiting_ack_skip:	
+	jam STATE_24G_PAIRING_4,mem_24g_pair_sm
+	branch g24_transmit_abandon	
+	
+g24_pair_sm_4_waiting_ack:
+	fetch 1,mem_24g_pair_switch
+	branch g24_pair_sm_4_waiting_ack_skip,blank
+	fetch 4,mem_24g_rxpayload+2
+	fetcht 4,mem_24g_receiver_addr
+	isub temp,null
+	nrtn zero
+g24_pair_sm_4_waiting_ack_skip:	
+	jam STATE_24G_PAIRING_SUCCESS,mem_24g_pair_sm
+	jam BT_EVT_24G_PAIRING_COMPLETE,mem_fifo_temp
+	call ui_ipc_send_event
+	setarg 0
+	store 2,mem_24g_pair_timeout
+	fetch 4,mem_24g_rxpayload+2
+	call g24_update_addr_and_synccrc8
+g24_pair_exit:
+	fetch 1,mem_24g_conn_sm
+	set0 STATE_24G_PAIR,pdata
+	store 1,mem_24g_conn_sm
+	branch g24_transmit_abandon
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+g24_bind_mode_enable:
+	jam DONGLE_BIND,mem_24g_work_mode
+	jam CLEAR_INIT,mem_24g_mode_init
+	rtn
+
+g24_bind_init:
+	fetch 1,mem_24g_mode_init
+	rtnbit1 DONGLE_BIND
+	set1 DONGLE_BIND,pdata
+	store 1,mem_24g_mode_init
+	setarg 0
+	store 3,mem_24g_device1_bind_step
+	store 4,mem_24g_transmitter_addr
+	jam 1,mem_24g_ackpayload_enable
+	branch g24_pair_init_param
+
+
+g24_bind_ackpayload_prep:
+	jam 1,mem_24g_ackpayload_enable
+	jam 0x08,mem_24g_datalen
+	arg mem_24g_bind_payload,contr
+	arg mem_24g_txbuf,contw
+	branch memcpy8
+
+
+g24_bind_data_process:
+	call g24_rx_interrupt_clear
+	call g24_receive_packet
+	nbranch g24_rx_interrupt_clear,user3
+	call g24_bind_data_parse
+	call g24_transmit_ack
+	call g24_bind_device_status_check
+	call dongle_kb_bind_soft_reset	
+	fetch 1,mem_24g_pair_switch
+	rtn blank
+	fetch 4,mem_24g_transmitter_addr
+	rtn blank
+	branch g24_update_addr_and_synccrc8
+
+g24_bind_data_error:
+	call g24_rx_interrupt_clear
+	branch g24_end_of_packet
+
+g24_bind_data_parse:
+	jam BIND_MODE_CONTINUE,mem_24g_bind_mode_continue	//about 400ms
+	arg mem_24g_rxbuf,contr
+	arg mem_24g_rxdata_temp,contw
+	call memcpy8
+	bpatchx patch3c_4,mem_patch3c
+	fetch 1,mem_24g_rxdata_temp+2
+	beq DATATYPE_BIND,g24_bind_first_step	//bind step 1
+	beq DATATYPE_CONFIG,g24_bind_second_step
+	beq DATATYPE_OK,g24_bind_third_step
+	beq DATATYPE_ATTEMP,g24_data_attemp
+	rtn
+
+
+g24_bind_first_step:
+	fetch 1,mem_24g_rxdata_temp+3
+	beq DATATYPE_DEVICE1,g24_bind_first_step_device1
+	beq DATATYPE_DEVICE2,g24_bind_first_step_device2
+	rtn
+
+g24_bind_first_step_device1:
+	jam 1,mem_24g_device1_bind_step
+g24_bind_dvc1_payload_cfg:
+	jam DATATYPE_DEVICE1,mem_24g_bind_payload
+g24_bind_payload_cfg:
+	jam 0x80,mem_24g_bind_payload+1
+	fetch 6,mem_lap
+	store 6,mem_24g_bind_payload+2
+	rtn
+
+g24_bind_first_step_device2:
+	jam 1,mem_24g_device2_bind_step
+g24_bind_dvc2_payload_cfg:
+	jam DATATYPE_DEVICE2,mem_24g_bind_payload
+	branch g24_bind_payload_cfg
+
+
+g24_bind_second_step:
+	fetch 1,mem_24g_pair_switch
+	branch g24_bind_second_step_skip,blank
+	fetch 4,mem_24g_rxdata_temp+4
+	fetcht 4,mem_lap
+	isub temp,null
+	nrtn zero
+g24_bind_second_step_skip:	
+	fetch 1,mem_24g_rxdata_temp+3
+	beq DATATYPE_DEVICE1,g24_bind_second_step_device1
+	beq DATATYPE_DEVICE2,g24_bind_second_step_device2
+	rtn
+
+g24_bind_second_step_device1:
+	fetch 1,mem_24g_device1_bind_step
+	beq 1,g24_bind_dvc1_step_set2
+	rtn
+g24_bind_dvc1_step_set2:
+	jam 2,mem_24g_device1_bind_step
+	fetch 1,mem_24g_pair_switch
+	branch g24_bind_dvc1_payload_cfg,blank
+g24_bind_dvc1_payload_cfg_transmitter_addr:
+	jam DATATYPE_DEVICE1,mem_24g_bind_payload
+g24_bind_payload_cfg_transmitter_addr:
+	jam 0x80,mem_24g_bind_payload+1
+	fetch 4,mem_24g_transmitter_addr
+	store 4,mem_24g_bind_payload+2
+	branch enable_user
+
+g24_bind_second_step_device2:
+	fetch 1,mem_24g_device2_bind_step
+	beq 1,g24_bind_dvc2_step_set2
+	rtn
+g24_bind_dvc2_step_set2:
+	jam 2,mem_24g_device2_bind_step
+	fetch 1,mem_24g_pair_switch
+	branch g24_bind_dvc2_payload_cfg,blank	
+	jam DATATYPE_DEVICE2,mem_24g_bind_payload
+	branch g24_bind_payload_cfg_transmitter_addr
+
+
+g24_bind_third_step:
+	fetch 1,mem_24g_pair_switch
+	branch g24_bind_third_step_skip,blank
+	fetch 4,mem_24g_rxdata_temp+4
+	fetcht 4,mem_24g_transmitter_addr
+	isub temp,null
+	nrtn zero
+g24_bind_third_step_skip:
+	fetch 1,mem_24g_rxdata_temp+3
+	beq DATATYPE_DEVICE1,g24_bind_third_step_device1
+	beq DATATYPE_DEVICE2,g24_bind_third_step_device2
+	rtn
+
+g24_bind_third_step_device1:
+	fetch 1,mem_24g_device1_bind_step
+	beq 2,g24_bind_dvc1_step_success
+	rtn
+g24_bind_dvc1_step_success:
+	call g24_binding_dvc1_living	//works on auto pair only
+	call g24_bind_dvc1_payload_cfg
+	fetch 1,mem_24g_bind_device_status
+	or_into 0x01,pdata
+	store 1,mem_24g_bind_device_status
+g24_bind_exit:
+	setarg 0
+	store 2,mem_24g_device1_bind_step
+	rtn
+	
+g24_bind_third_step_device2:
+	fetch 1,mem_24g_device2_bind_step
+	bne 0,g24_bind_dvc2_step_success
+	rtn
+g24_bind_dvc2_step_success:
+	call g24_binding_dvc2_living	//works on auto pair only
+	call g24_bind_dvc2_payload_cfg
+	fetch 1,mem_24g_bind_device_status
+	or_into 0x02,pdata
+	store 1,mem_24g_bind_device_status
+	call g24_bind_exit
+	branch dongle_g24_store_dvc2_bind_flag
+
+g24_binding_device_check:	//works on auto pair
+	fetch 1,mem_24g_work_mode
+	rtnne DONGLE_BIND
+	fetch 1,mem_24g_pair_mode
+	nrtn blank
+	fetch 1,mem_24g_rxbuf+3
+	beq DATATYPE_DEVICE1,g24_binding_dvc1_status	//bit0
+	beq DATATYPE_DEVICE2,g24_binding_dvc2_status	//bit1
+	rtn
+g24_binding_dvc1_status:
+	fetch 1,mem_24g_bind_device_living
+	rtnbit0 0
+disable_user3:
+	disable user3
+	rtn 
+g24_binding_dvc2_status:
+	fetch 1,mem_24g_bind_device_living
+	rtnbit0 1
+	branch disable_user3
+
+g24_binding_dvc1_living:
+	fetch 1,mem_24g_pair_mode
+	nrtn blank
+	fetch 1,mem_24g_bind_device_living
+	or_into 0x01,pdata
+	store 1,mem_24g_bind_device_living
+	rtn
+
+g24_binding_dvc2_living:
+	fetch 1,mem_24g_pair_mode
+	nrtn blank
+	fetch 1,mem_24g_bind_device_living
+	or_into 0x02,pdata
+	store 1,mem_24g_bind_device_living
+	rtn
+
+
+g24_bind_device_status_check:
+	fetch 1,mem_24g_bind_device_status
+	rtn blank
+g24_bind_device_status:
+	fetch 1,mem_24g_rxdata_temp+3
+	beq DATATYPE_DEVICE1,g24_binding_dvc1_living
+	beq DATATYPE_DEVICE2,g24_binding_dvc2_living
+	rtn
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+g24_receive_init:
+	set1 mark_24g_rxmode,mark
+	fetch 1,mem_tx_power
+	store 1,mem_tx_power_temp
+	call g24_rx_window_init
+	branch rssi_receiver_buff_init
+
+g24_receive_dispatch:
+	fetch 2,mem_cb_24g_receive_process
+	branch callback_func
+
+g24_ackpayload_prep:
+	jam 0,mem_24g_datalen
+	fetch 1,mem_24g_ackpayload_enable
+	rtn blank
+	fetch 2,mem_cb_24g_ackpayload
+	branch callback_func
+
+
+g24_receive_packet_start:
+	call g24_receive_transmit_ack
+	nbranch g24_rx_interrupt_clear,user3
+g24_receive_packet_parse:
+	call g24_receive_packet_parse_pid_crc
+	nbranch g24_rx_interrupt_clear,user
+	fetch 1,mem_24g_rxdata_length
+	branch g24_rx_interrupt_clear,blank
+	increase 2,pdata
+	iforce loopcnt
+	arg mem_24g_rxbuf,contr
+	arg mem_24g_rxdata_temp,contw
+	call memcpy
+	jam 0,mem_24g_mode_switch
+	fetch 1,mem_24g_pair_mode
+	call g24_enable_nodata_timer,blank
+	fetch 1,mem_24g_rxdata_temp+2
+	beq DATATYPE_DEVICE1,g24_data_device1	//mouse
+	beq DATATYPE_DEVICE2,g24_data_device2	//keyboard
+	beq DATATYPE_ATTEMP,g24_data_receive_attemp	//reconn packet
+g24_rx_interrupt_clear:
+	arg mem_24g_rxbuf,contw
+	arg 66,loopcnt
+	branch clear_mem
+
+g24_data_receive_attemp:
+	call g24_bind_device_status		//works on auto pair only
+	branch g24_data_attemp
+
+g24_data_device1:
+	call g24_binding_dvc1_living	//works on auto pair only
+	call g24_ch_timer_reinit
+	fetch 1,mem_24g_abort_packet
+	fetcht 1,mem_24g_rxdata_temp
+	isolate1 bit_abort,temp
+	setflag true,0,pdata
+	store 1,mem_24g_abort_packet
+	beq 1,g24_data_attemp_device1_abort
+	fetch 1,mem_24g_hop_packet
+	fetcht 1,mem_24g_rxdata_temp
+	isolate1 bit_hop,temp
+	setflag true,0,pdata
+	store 1,mem_24g_hop_packet
+	fetch 2,mem_cb_24g_data_device1
+	branch callback_func
+
+g24_data_device2:
+	call g24_binding_dvc2_living	//works on auto pair only
+	fetcht 1,mem_24g_rxdata_temp
+	isolate1 bit_abort,temp
+	branch g24_data_attemp_device2_abort,true
+	fetch 2,mem_cb_24g_data_device2
+	branch callback_func
+
+g24_data_attemp_device1_abort:
+	fetch 1,mem_device_option
+	sub pdata,dvc_op_car,null
+	call car_stop_blink,zero
+	fetch 4,mem_24g_rxdata_temp+10
+	branch g24_store_device1_addr
+g24_data_attemp_device2_abort:
+	fetch 4,mem_24g_rxdata_temp+10
+	branch g24_store_device2_addr	
+
+
+g24_receive_packet_parse_pid_crc:
+	call disable_user
+	fetch 1,mem_24g_sta_pid
+	fetcht 1,mem_24g_last_pid
+	isub temp,null
+	ncall enable_user,zero
+	fetch 1,mem_24g_sta_pid
+	store 1,mem_24g_last_pid
+	fetch 3,mem_24g_sta_crc
+	fetcht 3,mem_24g_last_crc
+	isub temp,null
+	ncall enable_user,zero
+	fetch 3,mem_24g_sta_crc
+	store 3,mem_24g_last_crc
+	rtn
+
+g24_receive_transmit_ack:
+	call g24_rx_interrupt_clear
+	call g24_receive_packet
+	nrtn user3
+g24_transmit_ack:
+//data type
+	fetch 1,mem_24g_rxbuf
+	store 1,mem_24g_data_type
+//read len pid crc
+	call g24_read_len_pid_crc
+//read ack
+	fetch 1,mem_24g_rxbuf+1
+	isolate1 bit_ack_24g,pdata
+	branch g24tx_no_ack,true
+g24tx_with_ack:
+	call g24_ackpayload_prep
+	call g24_transmit_prep
+	call g24_transmit
+g24tx_no_ack:
+	branch g24_end_of_packet
+
+
+g24_enable_nodata_timer:
+	jam 1,mem_24g_nodata_timer_enable
+g24_enable_nodata_timer_init:
+	setarg TIMER_NODATA_DELAY
+	arg TIMER_NODATA,queue
+	branch timer_init
+
+
+
+
+
+g24_mode_switch_init:
+	jam 1,mem_24g_mode_switch
+	jam 0,mem_24g_time_slice
+	jam 0xff,mem_24g_interval
+	branch g24_timer_init
+	
+g24_mode_switch_bind_work:
+	bpatchx patch3c_5,mem_patch3c
+	fetch 1,mem_24g_mode_switch
+	rtn blank
+	call g24_timer_check
+	nrtn user	//80ms
+	call g24_bind_mode_continue
+	fetch 1,mem_24g_time_slice
+	increase 1,pdata
+	and_into 1,pdata
+	store 1,mem_24g_time_slice
+	beq 0,g24_work_mode_switch
+	beq 1,g24_bind_mode_switch
+	rtn
+
+g24_bind_mode_continue:
+	fetch 1,mem_24g_bind_mode_continue
+	rtn blank
+	increase -1,pdata
+	store 1,mem_24g_bind_mode_continue
+	rtn
+
+g24_work_mode_switch:
+	fetch 1,mem_24g_bind_mode_continue
+	nrtn blank
+	branch g24_switch_work_mode
+
+g24_bind_mode_switch:
+	fetch 1,mem_24g_bind_mode_continue
+	nrtn blank
+	branch g24_bind_mode_enable
+
+
+g24_mode_B_S_switch_init:	//bind and search
+	fetch 1,mem_24g_B_S_mode_switch_disable
+	nrtn blank
+	fetch 1,mem_24g_mode_B_S_switch_exit
+	call g24_mode_B_S_switch_start,blank
+	fetch 1,mem_24g_mode_B_S_switch_init
+	rtnbit1 0
+	set1 0,pdata
+	store 1,mem_24g_mode_B_S_switch_init
+	jam 1,mem_24g_mode_B_S_switch
+	jam 0,mem_24g_B_S_time_slice
+	setarg 0
+	store 2,mem_24g_mode_B_S_switch_cnt
+	jam 0x60,mem_24g_interval	//30ms
+	branch g24_timer_init
+
+g24_mode_switch_bind_search:
+	fetch 1,mem_24g_work_mode
+	rtneq DONGLE_WORK
+	fetch 1,mem_24g_B_S_mode_switch_disable
+	nrtn blank
+	fetch 1,mem_24g_mode_B_S_switch_exit
+	nrtn blank
+	fetch 1,mem_24g_mode_B_S_switch
+	rtn blank
+	call g24_timer_check
+	nrtn user
+	fetch 2,mem_24g_mode_B_S_switch_cnt
+	increase 1,pdata
+	store 2,mem_24g_mode_B_S_switch_cnt
+	arg 0x7d0,temp	//1min
+	isub temp,null
+	branch g24_mode_B_S_switch_exit,positive
+	call g24_bind_mode_continue
+	fetch 1,mem_24g_B_S_time_slice
+	increase 1,pdata
+	and_into 1,pdata
+	store 1,mem_24g_B_S_time_slice
+	beq 0,g24_mode_switch_search
+	beq 1,g24_bind_mode_enable
+	rtn
+
+g24_mode_switch_search:
+	fetch 1,mem_24g_bind_mode_continue
+	nbranch g24_bind_mode_enable,blank
+	branch g24_search_mode_enable
+
+g24_mode_B_S_switch_exit:
+	jam 1,mem_24g_mode_B_S_switch_exit
+	branch g24_search_mode_enable
+
+g24_mode_B_S_switch_stop:
+	jam 0,mem_24g_mode_B_S_switch
+	rtn
+g24_mode_B_S_switch_start:
+	jam 1,mem_24g_mode_B_S_switch
+	rtn
+
+
+
+
+
+
+
+
+
+
+g24_work_init:
+	fetch 1,mem_24g_mode_init
+	rtnbit1 DONGLE_WORK
+	set1 DONGLE_WORK,pdata
+	store 1,mem_24g_mode_init
+	fetch 1,mem_tx_power_temp
+	store 1,mem_tx_power
+	jam 0,mem_24g_ackpayload_enable
+	jam 0,mem_usb_tx_enable
+	jam 1,mem_24g_abort_packet
+	jam 0,mem_24g_pid
+	fetch 4,mem_lap
+	call g24_update_addr_and_synccrc8
+	call g24_ch
+	branch g24_rx_interrupt_clear
+
+
+g24_switch_work_mode:
+	jam 0,mem_24g_ackpayload_enable
+g24_work_mode_enable:
+	jam DONGLE_WORK,mem_24g_work_mode
+	jam CLEAR_INIT,mem_24g_mode_init	
+	rtn
+
+
+g24_work_mode_start:
+	fetch 1,mem_24g_work_mode
+	rtnne DONGLE_WORK
+	call g24_work_init
+	call g24_ch_process
+	branch g24_receive_packet_start
+
+
+
+
+
+
+
+
+
+
+
+
+g24_bind_mode_auto:
+	bpatchx patch3c_6,mem_patch3c
+	fetch 1,mem_24g_work_mode
+	rtnne DONGLE_BIND
+	call g24_bind_init
+	call g24_bind_data_process
+	fetch 1,mem_24g_pair_mode
+	nrtn blank
+	fetch 1,mem_24g_bind_device_status
+	rtn blank
+	jam 0,mem_24g_mode_switch
+	call g24_switch_work_mode
+	call g24_enable_nodata_timer
+	branch g24_timer_init
+
+
+
+
+
+
+
+
+
+
+
+g24_search_mode_init:
+	fetch 1,mem_24g_mode_init
+	rtnbit1 DONGLE_SEARCH
+	set1 DONGLE_SEARCH,pdata
+	store 1,mem_24g_mode_init
+	jam 0,mem_24g_time_slice
+	jam 1,mem_24g_ackpayload_enable
+	setarg 0
+	store 3,mem_rssi_noise_self_index
+	store 7,mem_24g_self_config_ch_once
+	call g24_receiver_addr_check
+	nrtn zero
+	fetch 1,mem_24g_current_ch_number
+	store 1,mem_24g_self_ch_number
+	fetch 1,mem_24g_ch
+	store 1,mem_24g_self_last_ch
+	rtn
+
+
+g24_search_mode_auto:
+	bpatchx patch3c_7,mem_patch3c
+	fetch 1,mem_24g_work_mode
+	rtnne DONGLE_SEARCH
+	call g24_search_mode_init
+	call g24_auto_addr_ch_search
+	call g24_receive_transmit_ack
+	nbranch g24_rx_interrupt_clear,user3
+	//dongle addr,then parse rxdata
+	call g24_receiver_addr_check
+	call g24_receive_packet_parse,zero
+
+	fetch 1,mem_24g_abort_packet
+	call g24_mode_B_S_switch_stop,blank	//works on auto pair only
+	
+	//receive data,then go to paired
+	jam DONGLE_WORK,mem_24g_work_mode
+	fetch 1,mem_24g_mode_init
+	set1 DONGLE_WORK,pdata
+	store 1,mem_24g_mode_init
+
+	fetch 1,mem_24g_ackpayload_enable
+	sub pdata,2,null
+	ncall g24_ackpayload_disable,zero
+
+	call g24_rx_interrupt_clear
+	call g24_enable_nodata_timer
+	call g24_receiver_addr_check
+	branch g24_self_ch_num_reinit,zero
+	fetch 4,mem_24g_addr
+	fetcht 4,mem_24g_device2_addr
+	isub temp,null
+	branch g24_device2_ch_num_reinit,zero		
+	fetch 4,mem_24g_addr
+	fetcht 4,mem_24g_device1_addr
+	isub temp,null
+	branch g24_device1_ch_num_reinit,zero
+	rtn
+
+
+g24_self_ch_num_reinit:
+	fetch 1,mem_24g_self_ch_number
+g24_current_ch_num_reinit:
+	store 1,mem_24g_current_ch_number
+	rtn
+
+g24_device2_ch_num_reinit:
+	fetch 1,mem_24g_device2_ch_number
+	branch g24_current_ch_num_reinit
+
+g24_device1_ch_num_reinit:
+	fetch 1,mem_24g_device1_ch_number
+	branch g24_current_ch_num_reinit
+
+
+g24_auto_addr_ch_search:
+	fetch 1,mem_24g_time_slice
+	increase 1,pdata
+	and_into 3,pdata
+	store 1,mem_24g_time_slice
+	//pairing address and channel come first
+	beq 0,g24_auto_bind_config_device2
+	beq 1,g24_auto_bind_config_self
+	beq 2,g24_auto_bind_config_device1
+	beq 3,g24_auto_bind_config_self
+	rtn
+
+g24_auto_bind_config_device1:
+	call g24_bind_dvc1_payload_cfg
+	fetch 4,mem_24g_device1_addr
+	branch g24_auto_addr_ch_search,blank
+	call g24_update_addr_and_synccrc8
+	fetch 1,mem_24g_device1_config_ch_once
+	call g24_device1_config_ch_once,blank
+	fetch 1,mem_24g_device1_last_ch
+	store 1,mem_24g_ch
+	fetcht 1,mem_rssi_noise_device1_index
+	fetchr rega,2,mem_rssi_noise_device1_buffer_ptr
+	call rssi_store
+	storet 1,mem_rssi_noise_device1_index
+	call rssi_average
+	storet 1,mem_rssi_noise_device1_avg
+	sub temp,RSSI_THRESH_NOISE,null
+	nrtn positive
+	fetcht 1,mem_24g_device1_ch_number
+	call g24_ch_map_size
+	storet 1,mem_24g_device1_ch_number
+	store 1,mem_24g_device1_last_ch
+	rtn
+
+g24_device1_config_ch_once:
+	jam 1,mem_24g_device1_config_ch_once
+	arg 0,temp
+	call g24_ch_calc
+	store 1,mem_24g_device1_last_ch
+	rtn
+	
+g24_auto_bind_config_device2:
+	call g24_bind_dvc2_payload_cfg
+	fetch 4,mem_24g_device2_addr
+	branch g24_auto_addr_ch_search,blank
+	call g24_update_addr_and_synccrc8
+	fetch 1,mem_24g_device2_config_ch_once
+	call g24_device2_config_ch_once,blank
+	fetch 1,mem_24g_device2_last_ch
+	store 1,mem_24g_ch
+	fetcht 1,mem_rssi_noise_device2_index
+	fetchr rega,2,mem_rssi_noise_device2_buffer_ptr
+	call rssi_store
+	storet 1,mem_rssi_noise_device2_index
+	call rssi_average
+	storet 1,mem_rssi_noise_device2_avg
+	sub temp,RSSI_THRESH_NOISE,null
+	nrtn positive
+	fetcht 1,mem_24g_device2_ch_number
+	call g24_ch_map_size
+	storet 1,mem_24g_device2_ch_number
+	store 1,mem_24g_device2_last_ch
+	rtn
+
+g24_device2_config_ch_once:
+	jam 1,mem_24g_device2_config_ch_once
+	arg 0,temp
+	call g24_ch_calc
+	store 1,mem_24g_device2_last_ch
+	rtn	
+
+g24_auto_bind_config_self:
+	call g24_bind_dvc1_payload_cfg
+	fetch 4,mem_lap
+	call g24_update_addr_and_synccrc8
+	fetch 1,mem_24g_self_config_ch_once
+	call g24_self_config_ch_once,blank
+	fetch 1,mem_24g_self_last_ch
+	store 1,mem_24g_ch
+	fetcht 1,mem_rssi_noise_self_index
+	fetchr rega,2,mem_rssi_noise_self_buffer_ptr
+	call rssi_store
+	storet 1,mem_rssi_noise_self_index
+	call rssi_average
+	storet 1,mem_rssi_noise_self_avg
+	sub temp,RSSI_THRESH_NOISE,null
+	nrtn positive
+	fetcht 1,mem_24g_self_ch_number
+	call g24_ch_map_size
+	storet 1,mem_24g_self_ch_number
+	store 1,mem_24g_self_last_ch
+	rtn
+
+g24_self_config_ch_once:
+	jam 1,mem_24g_self_config_ch_once
+	fetch 1,mem_24g_self_last_ch
+	store 1,mem_24g_ch
+	rtn
+
+
+g24_ackpayload_disable:
+	jam 0,mem_24g_ackpayload_enable
+	rtn
+
+
+g24_receiver_addr_check:
+	fetch 4,mem_24g_addr
+	fetcht 4,mem_lap
+	isub temp,null
+	rtn
+
+
+
+
+
+
+
+
+
+
+
+g24_nodata_process:
+	fetch 1,mem_24g_ackpayload_enable
+	rtneq 2
+	fetch 1,mem_24g_nodata_timer_enable
+	rtn blank
+	arg TIMER_NODATA,queue
+	call timer_check
+	nrtn blank
+	jam 0,mem_24g_nodata_timer_enable
+	jam 0,mem_24g_bind_mode_continue
+	call g24_mode_B_S_switch_init	//works on auto pair only	
+	//no data for more than 100ms,then go to search
+g24_search_mode_enable:	
+	jam DONGLE_SEARCH,mem_24g_work_mode
+	jam CLEAR_INIT,mem_24g_mode_init
+	branch g24_rx_interrupt_clear
+
+
+
+
+
+g24_ch_process:
+	fetch 1,mem_24g_abort_packet
+	beq 1,rssi_noise_monitor
+	fetch 1,mem_24g_hop_packet
+	beq 1,g24_ch_receive_hop_pac
+	fetcht 4,mem_24g_hop_btclk
+	copy clkn_bt,pdata
+	isub temp,null
+	ncall g24_timer_timeout,positive
+	copy pdata,regb
+	fetch 4,mem_24g_hop_btclk
+	fetcht 1,mem_24g_hop_interval
+	iadd temp,temp
+	copy regb,pdata
+	isub temp,null
+	nrtn positive
+	set0 28,pdata
+	store 4,mem_24g_hop_btclk
+	jam 1,mem_24g_abort_packet
+	branch g24_ch
+
+g24_ch_receive_hop_pac:
+	jam 0,mem_24g_hop_packet
+	branch g24_ch
+
+g24_ch_timer_reinit:
+	copy clkn_bt,pdata
+	store 4,mem_24g_hop_btclk
+	rtn
+
+
+
+
+g24_reconn_timeout_timer:
+	arg mem_24g_reconn_timeout,regc
+	arg g24_stop_24g_mode,regb
+	branch timer_single_step_2B
+
+
+g24_reconn_start:
+	bpatchx patch3d_0,mem_patch3d
+	set1 mark_24g,mark
+	fetch 1,mem_24g_conn_sm
+	set0 STATE_24G_PAIR,pdata
+	set1 STATE_24G_RECONN,pdata
+	store 1,mem_24g_conn_sm
+	fetch 1,mem_24g_fast_conn_enable
+	branch g24_reconn_receiver_addr,blank
+	fetch 1,mem_24g_reconn_type
+	beq FAST_CONN_AND_RECEIVER,g24_reconn_fast_conn
+	beq FAST_CONN_AND_3_0_ADDR,g24_reconn_fast_conn
+	beq RECEIVER_AND_3_0_ADDR,g24_reconn_device_3_0_addr
+	beq PAIR_AND_3_0_ADDR,g24_reconn_device_3_0_addr
+g24_reconn_fast_conn:
+	fetch 1,mem_24g_pair_tx_power
+	store 1,mem_tx_power
+	fetcht 1,mem_24g_fast_conn_temp_ch
+	storet 1,mem_24g_current_ch_number
+	fetch 4,mem_24g_fast_conn_addr
+	call g24_ch_syncword_crc8_init
+	storet 1,mem_24g_fast_conn_temp_ch
+	rtn
+	 
+g24_reconn_receiver_addr:
+	jam TX_POWER_3DB,mem_tx_power
+	fetcht 1,mem_24g_receiver_temp_ch
+	storet 1,mem_24g_current_ch_number
+	fetch 4,mem_24g_receiver_addr
+	call g24_ch_syncword_crc8_init
+	storet 1,mem_24g_receiver_temp_ch
+	rtn
+
+g24_reconn_device_3_0_addr:
+	jam TX_POWER_3DB,mem_tx_power
+	fetcht 1,mem_24g_device_temp_ch
+	storet 1,mem_24g_current_ch_number
+	fetch 4,mem_24g_device_addr
+	call g24_ch_syncword_crc8_init
+	storet 1,mem_24g_device_temp_ch
+	rtn	
+
+g24_store_receiver_addr:
+	fetch 4,mem_24g_rxpayload+2
+	store 4,mem_24g_receiver_addr	
+g24_ch_syncword_crc8_init:	
+	call g24_update_addr_and_synccrc8
+	branch g24_ch
+
+
+g24_reconn_dispatch:
+	bpatchx patch3d_1,mem_patch3d
+	call g24_reconn_data_prep
+	call g24_transmit_receive_ack
+	nbranch g24_reconn_device_fail,sync
+	nbranch g24_reconn_device_fail,user3
+	call g24_ackpayload_parse
+g24_reconn_receiver_succ:
+	fetch 1,mem_24g_conn_sm
+	set0 STATE_24G_RECONN,pdata
+	store 1,mem_24g_conn_sm
+	setarg 0
+	store 2,mem_24g_pair_timeout
+	store 2,mem_24g_reconn_count
+	store 2,mem_24g_reconn_timeout	
+	fetch 4,mem_24g_pair_addr
+	fetcht 4,mem_24g_addr
+	isub temp,null
+	branch g24_pair_start,zero
+	fetch 4,mem_24g_device_addr
+	fetcht 4,mem_24g_addr
+	isub temp,null
+	call g24_store_receiver_addr,zero
+	jam BT_EVT_24G_ATTEMPT_SUCCESS,mem_fifo_temp
+	call ui_ipc_send_event
+g24_txbuf_clear:
+	arg 4,loopcnt
+	arg mem_24g_txbuf,contw
+	branch memset0
+
+g24_reconn_data_prep:
+	jam DATATYPE_ATTEMP,mem_24g_txbuf
+	fetch 1,mem_24g_data_type
+	store 1,mem_24g_txbuf+1
+	fetch 4,mem_24g_device_addr
+	store 4,mem_24g_txbuf+2
+	jam 6,mem_24g_datalen
+	branch g24_transmit_prep
+
+g24_reconn_device_fail:
+	fetch 1,mem_24g_fast_conn_enable
+	branch g24_ch,blank
+	fetch 2,mem_24g_reconn_count
+	increase 1,pdata
+	store 2,mem_24g_reconn_count
+	isolate1 3,pdata	// each 8 times switch
+	fetch 1,mem_24g_reconn_type
+	beq FAST_CONN_AND_RECEIVER,g24_reconn_fast_conn_and_receiver
+	beq FAST_CONN_AND_3_0_ADDR,g24_reconn_fast_conn_and_3_0
+	beq RECEIVER_AND_3_0_ADDR,g24_reconn_receiver_and_3_0
+	beq PAIR_AND_3_0_ADDR,g24_reconn_pair_and_3_0
+	branch g24_reconn_receiver_addr
+
+
+g24_reconn_fast_conn_and_receiver:
+	branch g24_reconn_receiver_addr,true
+	branch g24_reconn_fast_conn
+
+g24_reconn_fast_conn_and_3_0:
+	branch g24_reconn_device_3_0_addr,true
+	branch g24_reconn_fast_conn
+	
+g24_reconn_receiver_and_3_0:
+	branch g24_reconn_device_3_0_addr,true
+	branch g24_reconn_receiver_addr
+
+g24_reconn_pair_and_3_0:
+	branch g24_pair_init_param,true
+	branch g24_reconn_device_3_0_addr
+
+
+
+
+
+
+
+
+
+
+g24_data_attemp:
+	fetch 1,mem_24g_rxdata_temp+3
+	beq DATATYPE_DEVICE1,g24_data_attemp_device1
+	beq DATATYPE_DEVICE2,g24_data_attemp_device2
+	rtn
+g24_data_attemp_device1:
+	fetch 4,mem_24g_rxdata_temp+4
+	store 4,mem_24g_transmitter_addr
+g24_store_device1_addr:
+	store 4,mem_24g_device1_addr
+	rtn
+g24_data_attemp_device2:
+	fetch 4,mem_24g_rxdata_temp+4
+	store 4,mem_24g_transmitter_addr	
+g24_store_device2_addr:
+	store 4,mem_24g_device2_addr
+	rtn
+
+
+
+
+
+
+
+
+
+rssi_store:
+	copy rega,pdata
+	iadd temp,contw
+	fetch 1,mem_rssi
+	istore 1,contw
+	increase 1,temp
+	fetch 1,mem_rssi_buff_index	//buff len minus 1
+	iand temp,temp
+	rtn
+rssi_average:
+	fetch 1,mem_rssi_buff_index
+	increase 1,pdata
+	store 2,mem_loopcnt
+	copy pdata,loopcnt
+	copy rega,contr
+	arg 0,pdata
+rssi_average_loop:
+	ifetcht 1,contr
+	iadd temp,pdata
+	loop rssi_average_loop
+	fetcht 2,mem_loopcnt
+	idiv temp
+	call wait_div_end
+	quotient temp
+	rtnmark1 mark_24g_rxmode
+	copy temp,pdata
+	rtnmark0 mark_24g
+	call bcd
+	copy pdata,temp
+	rtn
+
+save_rssi_dec:
+	call save_rssi
+	branch rssi_hex2dec
+
+
+
+
+
+
+
+
+rssi_transmitter_buff_init:
+	fetch 2,mem_rssi_signal_buf_ptr
+	branch rssi_buff_clear
+
+rssi_signal:
+	copy pdata,rega
+	fetcht 1,mem_rssi_signal_index
+	fetch 2,mem_rssi_signal_buf_ptr
+	iadd temp,contw
+	copy rega,pdata
+	istore 1,contw
+	increase 1,temp
+	fetch 1,mem_rssi_buff_index	//buff len minus 1
+	iand temp,temp
+	storet 1,mem_rssi_signal_index
+	rtn
+
+
+
+
+
+
+
+
+
+rssi_receiver_buff_init:
+	fetch 2,mem_rssi_noise_buffer_ptr
+	call rssi_buff_clear
+	fetch 2,mem_rssi_noise_self_buffer_ptr
+	call rssi_buff_clear
+	fetch 2,mem_rssi_noise_device1_buffer_ptr
+	call rssi_buff_clear
+	fetch 2,mem_rssi_noise_device2_buffer_ptr
+rssi_buff_clear:
+	rtn blank
+	copy pdata,contw
+	fetch 1,mem_rssi_buff_index
+	increase 1,pdata
+	copy pdata,loopcnt
+	branch clear_mem
+
+
+rssi_noise:
+	call save_rssi_dec
+	rtn blank
+	fetcht 1,mem_rssi_noise_index
+	fetchr rega,2,mem_rssi_noise_buffer_ptr
+	call rssi_store
+	storet 1,mem_rssi_noise_index
+	rtn
+
+
+rssi_noise_monitor:
+	fetchr rega,2,mem_rssi_noise_buffer_ptr
+	call rssi_average
+	storet 1,mem_rssi_noise_avg
+	sub temp,RSSI_THRESH_NOISE,null
+	nrtn positive
+	branch g24_ch
+
+
+
+
+	
+
+
+g24_transmit_init:
+	fetch 4,mem_lap		//need to roll this address
+	store 4,mem_24g_device_addr
+	call g24_rx_window_init
+	branch rssi_transmitter_buff_init
+
+g24_interval_param_4ms:
+	setarg G24_4MS_INTERVAL_PARAM
+	store 3,mem_24g_short_sleep_set
+	setarg 0x100c0c
+	store 3,mem_24g_interval
+	setarg 0x00bb80
+	store 3,mem_24g_long_sleep_set
+	jam 5,mem_24g_fast_hop_count
+	rtn
+
+g24_interval_param_8ms:
+	setarg G24_8MS_INTERVAL_PARAM
+	store 3,mem_24g_short_sleep_set
+	setarg 0x1c1919
+	store 3,mem_24g_interval
+	setarg 0x017700
+	store 3,mem_24g_long_sleep_set
+	jam 11,mem_24g_fast_hop_count
+	rtn
+
+
+g24_transmit_dispatch:
+	rtnmark0 mark_24g
+	fetch 1,mem_24g_conn_sm
+	bbit1 STATE_24G_PAIR,g24_pair_dispatch
+	bbit1 STATE_24G_RECONN,g24_reconn_dispatch
+	fetch 1,mem_24g_transmit_by_interrupt
+	beq G24_TX_TIMER_INT_ENABLE,g24_transmit_by_interrupt
+g24_transmit_no_interrupt:
+	bpatchx patch3d_2,mem_patch3d
+	call g24_txdata_prep
+	nbranch g24_nodata_transmit,user
+g24_transmit_start:
+	call g24_transmit_process
+	call power_ctrl_start
+	fetch 1,mem_device_option
+	beq dvc_op_mouse,mouse_24g_transmit_start
+g24_transmit_start_next:	
+	fetch 8,mem_24g_long_sleep_set
+	store 8,mem_24g_enter_hibernate
+	fetch 2,mem_24g_long_sleep_param_update_timer_init
+	store 2,mem_24g_long_sleep_param_update_timer
+g24_short_sleep:
+	call g24_lpm_wait
+	nrtn user
+	call clear_wake
+	fetch 3,mem_24g_short_sleep_set
+	branch g24_long_seep2
+
+
+
+
+
+
+g24_txdata_prep:
+	call g24_package_data
+	nrtn user
+	branch g24_transmit_prep
+
+
+g24_package_data:
+	fetch 2,mem_cb_24g_transmit_data
+	call callback_func
+	branch g24_accumulate_data,user
+	fetch 7,mem_24g_txbuf+1	//mouse data
+	rtn blank
+	branch enable_user	// retransmit
+	
+g24_accumulate_data:
+	jam 0,mem_24g_abort_pac
+	add rega,1,pdata
+	store 1,mem_24g_datalen
+	call g24_transmit_rf_ctrl_clear
+	store 1,mem_24g_txbuf
+	copy regb,contr
+	copy rega,loopcnt
+	branch memcpy
+
+g24_transmit_rf_ctrl_clear:	
+	fetch 1,mem_24g_data_type
+	and_into bits_data,pdata
+	store 1,mem_24g_data_type
+	rtn
+
+
+
+
+
+
+
+
+g24_transmit_process:
+	jam 0,mem_24g_retry
+g24_transmit_loop:
+	fetchr timeup,2,mem_param_rx_setup
+	until clkn_rt,meet
+	call g24_transmit_receive_ack
+	fetch 1,mem_24g_no_ack	//tx noack
+	beq no_ack_24g,g24_transmit_no_ack
+	nbranch g24_retransmit,sync
+	nbranch g24_retransmit,user3
+	call g24_ackpayload_parse
+	fetch 1,mem_device_option
+	beq dvc_op_mouse,mouse_wakeup_24g
+g24_transmit_no_ack:
+	call power_ctrl_pac_succ_incrs
+g24_transmit_next_packet:
+	call g24_txbuf_clear
+	fetch 1,mem_24g_pid
+	increase 1,pdata
+	store 1,mem_24g_pid
+	call g24_hop_enable_packet
+g24_transmit_abandon:
+	setarg 0
+	store 1,mem_24g_ensure
+	store 2,mem_24g_txfail_cnt
+	rtn
+
+g24_transmit_receive_ack:
+	disable user3
+	call g24_transmit
+	fetch 1,mem_24g_no_ack
+	beq no_ack_24g,g24_end_of_packet
+	force 0,radio_ctrl
+	fetch 4,mem_24g_addr
+	iforce access
+	call calc_mod_value_scale_le	
+	fetcht 1,mem_last_freq
+	call set_freq_rx
+	call rf_rx_enable
+	call g24_receive_rxon
+	call g24_end_of_packet,user3
+	rtn
+
+g24_retransmit:
+	fetch 1,mem_24g_abort_pac
+	nrtn blank
+	fetch 2,mem_24g_txfail_cnt
+	increase 1,pdata
+	store 2,mem_24g_txfail_cnt	
+	fetch 1,mem_24g_txfail_cnt+1
+	bbit1 4,g24_tx_attempt_fail
+	call g24_transmit_hop_process
+	branch g24_transmit_loop
+
+
+g24_ackpayload_parse:
+	call g24_read_len_pid_crc
+	fetch 1,mem_24g_rxdata_length	//ack payload length 
+	rtn blank
+	iforce loopcnt
+	arg mem_24g_rxbuf+2,contr
+	arg mem_24g_rxpayload,contw	//ack payload buffer 
+	branch memcpy
+
+
+g24_tx_attempt_fail:
+	setarg 0
+	store 2,mem_24g_txfail_cnt
+	jam 1,mem_24g_attempt_fail_flag
+g24_stop_24g_mode:	
+	jam BT_EVT_24G_ATTEMPT_FAIL,mem_fifo_temp
+	branch ui_ipc_send_event
+
+
+
+
+
+
+
+
+
+g24_transmit_hop_process:
+	bpatchx patch3d_3,mem_patch3d
+	fetcht 1,mem_24g_retry
+	fetch 1,mem_24g_fast_hop_count			// 125Hz=11  250Hz=5
+	isub temp,null
+	nbranch g24_tx_fast_hop,positive		// >= (6+6)or(3+3) hop fast    fail packet count >= 2
+	increase 1,temp
+	storet 1,mem_24g_retry
+	fetch 1,mem_24g_fast_hop_count
+	beq 5,g24_transmit_hop_process_4ms
+	fetch 1,mem_24g_retry
+	beq 6,g24_hop_ch_disable
+	beq 12,g24_hop_ch_disable
+	rtn	
+
+
+g24_transmit_hop_process_4ms:
+	fetch 1,mem_24g_retry
+	beq 3,g24_hop_ch_disable
+	beq 6,g24_hop_ch_disable
+	rtn	
+
+
+
+g24_hop_ch_enable:
+	//fetch 1,mem_24g_data_type
+	//set1 bit_hop,pdata
+	//store 1,mem_24g_data_type
+	//update txpayload
+g24_txpayload_type_update:	
+	bmark1 mark_ble_lr,g24_lr_type_update
+	store 1,mem_24g_txpayload+OFFSET_DATA_TYPE
+	rtn
+g24_lr_type_update:
+	store 1,mem_24g_txpayload+OFFSET_LR_DATA_TYPE
+	rtn
+
+g24_hop_enable_packet:
+	fetch 1,mem_24g_data_type
+	rtnbit0 bit_hop
+g24_hop_ch_disable:
+	fetch 1,mem_24g_data_type
+	set0 bit_hop,pdata
+	store 1,mem_24g_data_type
+	call g24_txpayload_type_update
+	call power_ctrl_pac_succ_decrs
+	branch g24_ch
+
+g24_tx_fast_hop:
+	call power_ctrl_txpower_incrs
+	call power_ctrl_pac_succ_decrs
+	branch g24_ch
+	
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+g24_search_receiver:
+	fetch 2,mem_cb_24g_search_receiver
+	branch callback_func
+
+g24_nodata_transmit:
+	fetch 1,mem_24g_abort_pac
+	call g24_send_abort_packet,blank
+	fetch 1,mem_24g_transmit_by_interrupt
+	rtneq G24_TX_TIMER_INT_ENABLE
+	call g24_search_receiver
+	branch g24_long_sleep
+
+g24_send_abort_packet:
+	jam TYPE_MS,mem_24g_data_type
+	jam 1,mem_24g_abort_pac
+	call g24_transmit_rf_ctrl_clear
+	store 1,mem_24g_txbuf
+	setarg 0
+	store 7,mem_24g_txbuf+1
+	fetch 4,mem_24g_device_addr
+	store 4,mem_24g_txbuf+8
+	jam 12,mem_24g_datalen
+	fetch 1,mem_24g_data_type
+	set1 bit_abort,pdata
+	store 1,mem_24g_data_type
+	call g24_transmit_prep
+	branch g24_transmit_start
+	
+g24_long_sleep:
+	call g24_lpm_wait
+	nrtn user
+	fetch 8,mem_24g_enter_hibernate
+g24_long_seep2:
+	call clk2lpo
+	storet 4,mem_sleep_counter
+	branch lpm_sleep
+
+g24_lpm_wait:
+	bpatchx patch3d_4,mem_patch3d
+	enable user
+	call lpo_calibration
+	fetch 3,mem_clks_per_lpo
+	branch disable_user,blank
+	fetch 1,mem_lpm_mode
+	branch disable_user,blank
+	fetch 1,mem_24g_transmit_by_interrupt
+	beq G24_TX_TIMER_INT_ENABLE,disable_user
+g24_setgpio_lpm_before:
+	fetch 2,mem_cb_24g_lpm_before
+	branch callback_func
+
+
+
+
+
+
+
+
+
+
+
+
+g24_transmit_by_interrupt:
+	call g24_timer_check
+	nrtn user
+	call g24_interval_calibrate
+	fetch 2,mem_24g_transmit_by_interrupt_exit_count
+	increase 1,pdata
+	store 2,mem_24g_transmit_by_interrupt_exit_count
+	fetcht 2,mem_24g_transmit_by_interrupt_exit_count_init
+	isub temp,null
+	call g24_transmit_by_interrupt_exit,zero
+	branch g24_transmit_no_interrupt
+
+	
+g24_transmit_by_interrupt_exit:
+	jam G24_TX_TIMER_INT_DISABLE,mem_24g_transmit_by_interrupt
+	setarg 0
+	store 2,mem_24g_transmit_by_interrupt_exit_count
+	setarg 100
+	store 2,mem_24g_transmit_by_interrupt_exit_count_init
+g24_interval_min:
+	jam 0,mem_24g_pac_index
+	fetch 1,mem_24g_interval_min
+g24_interval_store:
+	store 1,mem_24g_interval
+	rtn
+g24_interval_max:
+	fetch 1,mem_24g_interval_max
+	branch g24_interval_store
+	
+g24_interval_calibrate:
+	fetch 1,mem_24g_pac_index
+	increase 1,pdata
+	store 1,mem_24g_pac_index
+	beq 4,g24_interval_max
+	beq 5,g24_interval_min
+	rtn
+
+g24_transmit_by_interrupt_enable:
+	jam G24_TX_TIMER_INT_ENABLE,mem_24g_transmit_by_interrupt
+	setarg 0
+	store 2,mem_24g_transmit_by_interrupt_exit_count
+	rtn
+
+
+
+
+
+
+
+
+
+g24_factory_check:
+	arg 2,loopcnt
+	arg mem_24g_addr,contr
+pdata_0xff_check:
+	call enable_user
+	setarg 0xffff
+pdata_0xff_check_loop:
+	ifetcht 2,contr
+	isub temp,null
+	ncall disable_user,zero
+	loop pdata_0xff_check_loop
+	rtn
+
+
+
+
+
+	
+
+
+
+power_ctrl_start:
+	bpatchx patch3d_5,mem_patch3d
+	fetch 2,mem_ui_state_map
+	rtnbit1 UI_STATE_BLE_ADV
+	rtnbit1 UI_STATE_BT_RECONNECT
+	rtnbit1 UI_STATE_BT_DISCOVERY
+	fetchr rega,2,mem_rssi_signal_buf_ptr
+	call rssi_average
+	storet 1,mem_rssi_avg_received
+	fetch 1,mem_rssi_dis_max_24g
+	bmark1 mark_24g,power_ctrl_start_next
+	fetch 1,mem_rssi_dis_max_ble
+power_ctrl_start_next:
+	isub temp,null
+	nbranch power_ctrl_txpower_incrs_force,positive
+	fetch 1,mem_power_ctrl_pac_succ_cnt
+	sub pdata,2,null
+	nbranch power_ctrl_txpower_decrs_check,positive
+	fetch 1,mem_power_ctrl_pac_succ_cnt
+	beq 0,power_ctrl_txpower_incrs
+	rtn
+
+power_ctrl_txpower_decrs_check:
+	fetch 1,mem_power_ctrl_pac_succ_cnt
+	fetcht 1,mem_power_ctrl_pac_succ_cnt_init
+	isub temp,null
+	nrtn zero
+	jam 0,mem_power_ctrl_pac_succ_cnt
+power_ctrl_txpower_decrs:
+	fetcht 1,mem_rssi_avg_received
+	fetch 1,mem_rssi_dis_min_24g
+	bmark1 mark_24g,power_ctrl_txpower_decrs_next
+	fetch 1,mem_rssi_dis_min_ble
+power_ctrl_txpower_decrs_next:	
+	isub temp,null
+	nrtn positive
+	fetch 1,mem_power_ctrl_level
+	beq 0,power_ctrl_decrs_level0
+	increase -1,pdata
+	store 1,mem_power_ctrl_level
+	beq 0,power_ctrl_decrs_level0
+power_ctrl_decrs_level1:
+power_ctrl_incrs_level1:	//0dBm
+	jam TX_POWER_0DB,mem_tx_power
+	rtn
+
+power_ctrl_txpower_incrs_force:
+	jam 0,mem_power_ctrl_pac_succ_cnt
+power_ctrl_txpower_incrs:
+	fetch 1,mem_power_ctrl_level
+	beq 2,power_ctrl_incrs_level2
+	increase 1,pdata
+	store 1,mem_power_ctrl_level
+	beq 1,power_ctrl_incrs_level1
+power_ctrl_incrs_level2:	//+6dBm
+	jam TX_POWER_6DB,mem_tx_power
+	rtn
+	
+power_ctrl_decrs_level0: //-5dBm
+	jam TX_POWER_f5DB,mem_tx_power
+	rtn
+
+power_ctrl_pac_succ_cnt_init:
+	jam 1,mem_power_ctrl_level
+	jam 0,mem_power_ctrl_pac_succ_cnt
+	rtn
+
+power_ctrl_pac_succ_incrs:
+	fetch 1,mem_power_ctrl_pac_succ_cnt
+	increase 1,pdata
+	store 1,mem_power_ctrl_pac_succ_cnt
+	rtn
+
+power_ctrl_pac_succ_decrs:
+	fetch 1,mem_power_ctrl_pac_succ_cnt
+	sub pdata,2,null
+	ncall power_ctrl_pac_succ_cnt_reinit,positive
+	fetch 1,mem_power_ctrl_pac_succ_cnt
+	rtneq 0
+	increase -1,pdata
+	store 1,mem_power_ctrl_pac_succ_cnt
+	rtn
+
+power_ctrl_pac_succ_cnt_reinit:
+	jam 3,mem_power_ctrl_pac_succ_cnt
+	rtn
+
+
+
+
+
+
+
+
+//input:alarm is upper transport access ptr
+ali_mesh_access_layer_resolve_message:
+	fetch 1,mem_ccm_data_len
+	store 1,mem_mesh_receive_model_message_payload_len
+	copy alarm,contr
+	call memcpy24
+	call logging_tx_info_receive_access_message
+	fetch 2,mem_mesh_cb_receive_access_message
+	branch callback_func
+
+ali_mesh_access_layer_check_access_message_opcode:
+	fetch 1,mem_mesh_receive_model_message_payload_opcode
+	beq MESH_MESSAGE_OPCODE_CONFIG_APPKEY_ADD,ali_mesh_access_layer_message_opcode_config_AppKey_Add
+	beq MESH_CONFIGURATION_AND_HEALTH_MESSAGE_OPCODE_HEADER,ali_mesh_access_layer_config_or_health_message_opcode
+	beq MESH_MODULE_MESSAGE_OPCODE_HEADER,ali_mesh_model_layer_check_model_message_opcode
+	beq VENDOR_MESSAGE_ATTR_SET,ali_mesh_ali_vendor_message_attribute_set
+	beq VENDOR_MESSAGE_ATTR_GET,ali_mesh_ali_vendor_message_opcode_attr_get
+	beq VENDOR_MESSAGE_ATTR_CONFIRMATION,ali_mesh_ali_vendor_message_opcode_attr_confrimation
+	rtn
+
+
+ali_mesh_access_layer_message_opcode_config_AppKey_Add:
+	arg mem_mesh_receive_application_key,contr
+	arg mem_mesh_application_key,contw
+	call memcpy16
+	jam PAIRED_STATUS,mem_mesh_provisioned_flag
+	call ali_mesh_encrypt_base_function_k3
+	call ali_mesh_encrypt_base_function_k4
+	call ali_mesh_access_layer_finish_pairing_init_subscription_list
+	call ali_mesh_accesss_layer_check_message_type
+	call ali_mesh_access_layer_send_config_AppKey_status
+	jam PAIRED_STATUS,mem_mesh_provisioned_flag
+	fetch 2,mem_mesh_cb_receive_config_appkey_add
+	branch callback_func
+
+ali_mesh_accesss_layer_check_message_type:
+	fetch 1,mem_mesh_network_packet_type
+	jam RECEIVED_CONFIG_APPKEY_ADD,mem_mesh_provisioned_flag		//中间状态 APP配网时，需要回复数量多
+	rtneq MESH_MESSAGE_APP
+	jam PAIRED_STATUS,mem_mesh_provisioned_flag					//tmall配网不需要重传多次
+	rtn
+
+ali_mesh_access_layer_send_config_AppKey_status:
+	setarg MESH_CONFIGURATION_AND_HEALTH_MESSAGE_OPCODE_HEADER
+	store 1,mem_mesh_access_layer_payload
+	setarg MESH_MESSAGE_OPCODE_CONFIG_CONFIG_MODEL_PUBLICATION_SET
+	istore 1,contw
+	setarg STATUS_CODE_SUCCESS
+	istore 1,contw
+	fetch 3,mem_mesh_NETKeyindex_and_APPKeyindex
+	istore 3,contw
+	jam 6,mem_mesh_access_layer_payload_len
+	branch ali_mesh_upper_transport_layer_send_access_message
+
+
+ali_mesh_access_layer_finish_pairing_init_subscription_list:
+	fetch 2,mem_mesh_core_feature
+	rtnbit1 MESH_FEATURE_DISABLE_SUBSCRIPTION
+	call mesh_get_element_info_config
+ali_mesh_access_layer_finish_pairing_init_subscription_list_loop:
+	add rega,ELEMENT_DEVICE_SUBSCRIPTION_LABEL,regc
+	setarg -1
+	istore SUBSCRIPTION_MAX_COUNT,regc
+	istore SUBSCRIPTION_MAX_COUNT,contw
+	ifetch 2,rega		//read group address
+	istore 2,regc
+	copy regb,pdata
+	iadd rega,rega
+	loop ali_mesh_access_layer_finish_pairing_init_subscription_list_loop
+	fetch 2,mem_mesh_cb_subscriptuion_list_changed
+	branch callback_func
+
+
+ali_mesh_access_layer_send_generic_onoff_status:
+	setarg MESH_MODULE_MESSAGE_OPCODE_HEADER
+	store 1,mem_mesh_access_layer_payload
+	setarg MESH_MODULE_MESSAGE_OPCODE_GENERIC_ONOFF_STATUS_NO_HEAD
+	istore 1,contw
+	fetch 1,mem_mesh_generic_onoff_set_payload_OnOff
+	istore 1,contw
+	jam 3,mem_mesh_access_layer_payload_len
+	branch ali_mesh_upper_transport_layer_send_access_message
+
+
+ali_mesh_access_layer_send_light_lightness_status:
+	setarg MESH_MODULE_MESSAGE_OPCODE_HEADER
+	store 1,mem_mesh_access_layer_payload
+	setarg MESH_MODULE_MESSAGE_OPCODE_LIGHT_LIGHTNESS_STATUS_NO_HEAD
+	istore 1,contw
+	fetch 2,mem_mesh_light_lightness_set_payload_lightness
+	istore 2,contw
+	jam 4,mem_mesh_access_layer_payload_len
+	branch ali_mesh_upper_transport_layer_send_access_message
+
+
+ali_mesh_access_layer_send_light_ctl_stauts:
+	setarg MESH_MODULE_MESSAGE_OPCODE_HEADER
+	store 1,mem_mesh_access_layer_payload
+	setarg MESH_MODULE_MESSAGE_OPCODE_LIGHT_CTL_STATUS_NO_HEAD
+	istore 1,contw
+	fetch 4,mem_mesh_CTL_Lightness
+	istore 4,contw
+	jam 6,mem_mesh_access_layer_payload_len
+	branch ali_mesh_upper_transport_layer_send_access_message
+
+
+
+ali_mesh_access_layer_send_scene_status:
+	setarg MESH_MODULE_MESSAGE_OPCODE_SCENE_STATUS
+	store 1,mem_mesh_access_layer_payload
+	setarg MESH_SUCCESS
+	istore 1,contw
+	fetch 2,mem_mesh_scene_recall_payload_scene_number
+	istore 2,contw
+	jam 4,mem_mesh_access_layer_payload_len
+	branch ali_mesh_upper_transport_layer_send_access_message
+
+
+
+logging_tx_info_receive_access_message:
+	fetchr loopcnt,1,mem_ccm_data_len
+	copy alarm,rega
+	arg MESH_ACCESS_RECEIVE_MESSAGE,regb
+	branch logging_tx_info
+
+
+
+
+ali_mesh_ali_vendor_message_attribute_set:
+	call ali_mesh_ali_vendor_message_attrbute_check_company_id_and_tid
+	nrtn user
+	fetch 2,mem_mesh_vendor_message_attr_type
+	arg VENDOR_MESSAGE_ATTR_TYPE_TIME,temp
+	isub temp,null	//设置设备的时间
+	branch ali_mesh_ali_vendor_message_opcode_timer_set_curr_time,zero
+	arg VENDOR_MESSAGE_ATTR_TYPE_TIMING,temp
+	isub temp,null
+	branch ali_mesh_ali_vendor_message_opcode_timer_set_timing,zero
+	arg VENDOR_MESSAGE_ATTR_TYPE_CYCLE_TIMING, temp
+	isub temp, null
+	branch ali_mesh_ali_vendor_message_opcode_timer_set_timing_cyclically, zero
+	arg VENDOR_MESSAGE_ATTR_TYPE_DELETE_TIMING,temp
+	isub temp,null
+	branch ali_mesh_ali_vendor_message_opcode_timer_delete_timing,zero
+	arg VENDOR_MESSAGE_ATTR_TYPE_MAIN_LIGHT,temp
+	isub temp,null	//主灯控制
+	branch ali_mesh_ali_vendor_message_attribute_set_main_light,zero
+	arg VENDOR_MESSAGE_ATTR_TYPE_BACKGROUND_LIGHT,temp
+	isub temp,null	//背光灯控制
+	branch ali_mesh_ali_vendor_message_attribute_set_background_light,zero
+	arg VENDOR_MESSAGE_ATTR_TYPE_COLOR,temp
+	isub temp,null	//颜色控制
+	branch ali_mesh_ali_vendor_message_attribute_set_color,zero
+	fetch 2,mem_mesh_cb_recv_vendor
+	branch callback_func
+
+ali_mesh_ali_vendor_message_opcode_attr_get:
+ali_mesh_ali_vendor_message_opcode_attr_confrimation:
+	rtn
+
+ali_mesh_ali_vendor_message_attrbute_check_company_id_and_tid:
+	call disable_user
+	fetch 2,mem_mesh_vendor_message_cid
+	arg VENDOR_MESSAGE_OPCODE_COMPANY_ID,temp
+	isub temp,null
+	nrtn zero
+	fetcht 1,mem_mesh_vendor_mesh_receive_tid
+	fetch 1,mem_mesh_vendor_message_tid
+	isub temp,null
+	rtn zero
+	store 1,mem_mesh_vendor_mesh_receive_tid
+	branch enable_user
+
+ali_mesh_ali_vendor_message_attribute_set_main_light:
+	call ali_mesh_ali_vendor_message_ack_attr_status_uint8
+	fetch 2,mem_mesh_cb_main_light_onoff_set
+	branch callback_func
+
+
+ali_mesh_ali_vendor_message_attribute_set_background_light:
+	call ali_mesh_ali_vendor_message_ack_attr_status_uint8
+	fetch 2,mem_mesh_cb_background_onoff_set
+	branch callback_func
+
+ali_mesh_ali_vendor_message_attribute_set_color:
+	call ali_mesh_ali_vendor_message_ack_attr_status_uint48
+	fetch 2,mem_mesh_cb_color_set
+	branch callback_func
+
+
+ali_mesh_ali_vendor_message_opcode_timer_set_curr_time:
+	call ali_mesh_ali_vendor_message_ack_attr_status_uint32
+
+	fetch 4,mem_mesh_vendor_message_current_time
+	store 4,mem_mesh_vendor_timer_current_time
+	branch ali_mesh_time_init_system_time
+
+
+ali_mesh_ali_vendor_message_opcode_timer_set_timing:
+	call ali_mesh_ali_vendor_message_ack_attr_status_uint64
+	call ali_mesh_ali_vendor_message_calc_timing_address
+	rtn blank
+	fetch 1,mem_mesh_vendor_timer_timing_index
+	call ali_mesh_vendor_timer_buffer_offset_cal
+	fetcht 8,mem_mesh_vendor_timer_timing_index
+	istoret 8,contw
+ali_mesh_ali_vendor_message_cb_timing_changed:
+	fetch 2,mem_mesh_cb_vendor_timing_changed
+	branch callback_func
+
+ali_mesh_ali_vendor_message_opcode_timer_set_timing_cyclically:
+	call ali_mesh_ali_vendor_message_ack_attr_status_uint56
+	call ali_mesh_ali_vendor_message_calc_timing_address
+	rtn blank
+	jam TIMER_CYCLICAL_FALG,mem_mesh_vendor_timer_timing_cyclic_flag
+	fetch 1,mem_mesh_vendor_timer_timing_index_cyclic
+	call ali_mesh_vendor_timer_buffer_offset_cal
+	fetch 8,mem_mesh_vendor_timer_timing_index_cyclic    //取8个Bytes，包括标识周期定时的flag
+	istore 8,contw
+	branch ali_mesh_ali_vendor_message_cb_timing_changed
+
+
+ali_mesh_ali_vendor_message_opcode_timer_delete_timing:
+	call ali_mesh_ali_vendor_message_opcode_timer_delete_timing_ack
+	call ali_mesh_ali_vendor_message_calc_timing_address
+	rtn blank
+	fetch 1,mem_mesh_vendor_timer_timing_index
+	rtn blank
+	call ali_mesh_vendor_timer_buffer_offset_cal
+	arg 0, temp
+	istoret 1, contw
+	fetch 1,mem_mesh_receive_model_message_payload_len
+	sub pdata,8,null
+	call ali_mesh_ali_vendor_message_opcode_timer_delete_timing_delete_second,zero
+	branch ali_mesh_ali_vendor_message_cb_timing_changed
+
+ali_mesh_ali_vendor_message_opcode_timer_delete_timing_delete_second:
+	call ali_mesh_ali_vendor_message_calc_timing_address
+	fetch 1,mem_mesh_vendor_timer_timing_index1
+	call ali_mesh_vendor_timer_buffer_offset_cal
+	arg 0, temp
+	istoret 1, contw
+	rtn
+
+
+ali_mesh_ali_vendor_message_opcode_timer_delete_timing_ack:
+	fetch 1,mem_mesh_receive_model_message_payload_len
+	beq 7,ali_mesh_ali_vendor_message_ack_attr_status_uint8
+	branch ali_mesh_ali_vendor_message_ack_attr_status_uint16
+
+ali_mesh_vendor_timer_buffer_offset_cal:
+	pincrease -1
+	lshift3 pdata,pdata
+	iadd contw,contw
+	rtn
+
+
+ali_mesh_ali_vendor_message_calc_timing_address:
+	call mesh_get_element_info_config
+	add rega,ELEMENT_DEVICE_VENDOR_TIME_PTR,rega
+	fetch 1,mem_mesh_receive_element_number
+	imul32 regb,pdata
+	iadd rega,rega
+	ifetch 2,rega
+	copy pdata,contw
+	rtn
+
+
+
+
+ali_mesh_ali_vendor_message_status_add_head:
+	setarg VENDOR_MESSAGE_ATTR_STATUS
+	store 1,mem_mesh_access_layer_payload
+	setarg VENDOR_MESSAGE_OPCODE_COMPANY_ID
+	istore 2,contw
+	fetch 1,mem_mesh_vendor_mesh_receive_tid
+	istore 1,contw
+	istoret 2,contw
+	rtn
+
+
+//开关上电
+ali_mesh_ali_vendor_message_opcode_device_power_on:
+	arg 0,queue
+	arg VENDOR_MESSAGE_EVENT_DEVICE_POWER_ON,temp
+	arg VENDOR_ATTR_TYPE_EVENT_TRIGGER,rega
+	branch ali_mesh_ali_vendor_message_opcode_para_uint8
+
+
+//上报开关状态
+//input:temp is generic onoff status
+//0 GENERIC_ONOFF_CMD_OFF
+//1 GENERIC_ONOFF_CMD_ON
+//input:queue is element number
+//e.g 灯queue0
+//风扇灯中灯0，风扇1
+//风扇:0
+ali_mesh_ali_vendor_message_opcode_generic_OnOff:
+	arg VENDOR_ATTR_GENERIC_ONOFF_SERVER,rega
+	branch ali_mesh_ali_vendor_message_opcode_para_uint8
+
+//上报模式给天猫精灵
+//input: temp is scene server mode
+ali_mesh_ali_vendor_message_opcode_scene_server_first_element:
+	arg 0,queue
+//上报模式给天猫精灵
+//input: temp is scene server mode
+//queue is element_number
+ali_mesh_ali_vendor_message_opcode_scene_server:
+	arg VENDOR_ATTR_SCENE_SERVER,rega
+	branch ali_mesh_ali_vendor_message_opcode_para_uint16
+
+
+ali_mesh_ali_vendor_message_opcode_main_light_OnOff_first_element:
+	arg 0,queue
+//上报主灯开关状态
+//input:temp is generic onoff status
+//0 GENERIC_ONOFF_CMD_OFF
+//1 GENERIC_ONOFF_CMD_ON
+//input:queue is element number
+ali_mesh_ali_vendor_message_opcode_main_light_OnOff:
+	arg VENDOR_ATTR_MAIN_LIGHT_SERVER,rega
+	branch ali_mesh_ali_vendor_message_opcode_para_uint8
+
+ali_mesh_ali_vendor_message_opcode_background_light_OnOff_first_element:
+	arg 0,queue
+//上报背光灯开关状态
+//input:temp is generic onoff status
+//0 GENERIC_ONOFF_CMD_OFF
+//1 GENERIC_ONOFF_CMD_ON
+//input:queue is element number
+ali_mesh_ali_vendor_message_opcode_background_light_OnOff:
+	arg VENDOR_ATTR_BACKGROUND_LIGHT_ONOFF_SERVER,rega
+	branch ali_mesh_ali_vendor_message_opcode_para_uint8
+
+ali_mesh_ali_vendor_message_opcode_brightness_first_element:
+	arg 0,queue
+//上报灯的亮度
+//input:temp is bright ness 0-100
+ali_mesh_ali_vendor_message_opcode_brightness:
+	call ali_mesh_model_layer_message_calc_actual_lightness
+	arg VENDOR_ATTR_LIGHTNESS_LEVEL_SERVER,rega
+	branch ali_mesh_ali_vendor_message_opcode_para_uint16
+
+ali_mesh_ali_vendor_message_opcode_color_temperature_first_element:
+	arg 0,queue
+//上报灯的亮度
+//input:temp is bright ness 0-100
+ali_mesh_ali_vendor_message_opcode_color_temperature:
+	call ali_mesh_model_layer_message_calc_actual_temperature
+	arg VENDOR_ATTR_COLOR_TEMPERATURE_SERVER,rega
+	branch ali_mesh_ali_vendor_message_opcode_para_uint16
+
+
+//input:temp is timing index number
+ali_mesh_ali_vendor_message_opcode_timing_finish:
+	lshift temp,temp
+	or temp,VENDOR_MESSAGE_EVENT_FINISH_TIMING,temp
+	arg VENDOR_ATTR_TYPE_EVENT_TRIGGER,rega
+	branch ali_mesh_ali_vendor_message_opcode_para_uint16
+
+
+ali_mesh_ali_vendor_message_indication_info_add_head_event_trigger:
+	call ali_mesh_ali_vendor_message_indication_info_add_head
+	setarg VENDOR_ATTR_TYPE_EVENT_TRIGGER
+	istore 2,contw
+	rtn
+
+ali_mesh_ali_vendor_message_ack_attr_status_uint64:
+	arg 8,loopcnt
+	branch ali_mesh_ali_vendor_message_ack_attr_status
+
+ali_mesh_ali_vendor_message_ack_attr_status_uint56:
+	arg 8,loopcnt
+	branch ali_mesh_ali_vendor_message_ack_attr_status
+
+ali_mesh_ali_vendor_message_ack_attr_status_uint48:
+	arg 6,loopcnt
+	branch ali_mesh_ali_vendor_message_ack_attr_status
+
+ali_mesh_ali_vendor_message_ack_attr_status_uint32:
+	arg 4,loopcnt
+	branch ali_mesh_ali_vendor_message_ack_attr_status
+
+ali_mesh_ali_vendor_message_ack_attr_status_uint16:
+	arg 2,loopcnt
+	branch ali_mesh_ali_vendor_message_ack_attr_status
+
+ali_mesh_ali_vendor_message_ack_attr_status_uint8:
+	arg 1,loopcnt
+	branch ali_mesh_ali_vendor_message_ack_attr_status
+
+//input:loopcnt is attr length
+ali_mesh_ali_vendor_message_ack_attr_status:
+	add loopcnt,6,pdata
+	store 1,mem_mesh_access_layer_payload_len
+	call ali_mesh_ali_vendor_message_status_add_head
+	arg mem_mesh_vendor_attr_parameter,contr
+	call memcpy
+	branch ali_mesh_upper_transport_layer_send_access_message
+	
+
+
+//input:queue is element number
+//rega is vendor model attr
+//temp is vendor model attr parameter 
+ali_mesh_ali_vendor_message_opcode_para_uint8:
+	call ali_mesh_ali_vendor_message_indication_info_add_head
+	istorer rega,2,contw
+	istoret 1,contw
+	jam 7,mem_mesh_access_layer_payload_len
+	branch ali_mesh_ali_vendor_message_send_message
+
+
+//input:queue is element number
+//rega is vendor model attr
+//temp is vendor model attr parameter 
+ali_mesh_ali_vendor_message_opcode_para_uint16:
+	call ali_mesh_ali_vendor_message_indication_info_add_head
+	istorer rega,2,contw
+	istoret 2,contw
+	jam 8,mem_mesh_access_layer_payload_len
+	branch ali_mesh_ali_vendor_message_send_message
+
+
+//input:queue is element number
+ali_mesh_ali_vendor_message_send_message:
+	call ali_mesh_more_element_calc_queue_address
+	branch ali_mesh_upper_transport_layer_send_access_message_without_cleat_tx_buffer
+
+
+ali_mesh_ali_vendor_message_indication_info_add_head:
+	fetch 1,mem_mesh_transport_AID
+	store 1,mem_mesh_message_Transport_Head
+	setarg VENDOR_MESSAGE_TMALL_DST
+	store 2,mem_mesh_send_message_DST
+	fetch 1,mem_mesh_vendor_mesh_send_tid
+	pincrease 1
+	store 1,mem_mesh_vendor_mesh_send_tid
+	beq VENDOR_MESSAGE_SEND_TID_MAX,ali_mesh_ali_vendor_message_indication_info_reset_tid
+	setarg VENDOR_MESSAGE_ATTR_INDICATION
+	store 1,mem_mesh_access_layer_payload
+	setarg VENDOR_MESSAGE_OPCODE_COMPANY_ID
+	istore 2,contw
+	fetch 1,mem_mesh_vendor_mesh_send_tid
+	istore 1,contw
+	rtn
+
+ali_mesh_ali_vendor_message_indication_info_reset_tid:
+	jam VENDOR_MESSAGE_SEND_TID_MIN,mem_mesh_vendor_mesh_send_tid
+	rtn
+
+ali_mesh_time_function:
+	copy clkn_bt,temp
+	fetch 4,mem_system_time
+	isub temp,null
+	call ali_mesh_timer_timeout,positive
+	call ali_mesh_clkn_bt_add_1s
+	isub temp,null	
+	rtn positive
+	call ali_mesh_time_init_system_time_without_clk
+	fetch 4,mem_mesh_vendor_timer_current_time
+	pincrease 1
+	store 4,mem_mesh_vendor_timer_current_time
+	branch ali_mesh_ali_vendor_check_time
+
+
+ali_mesh_time_init_system_time:
+	copy clkn_bt,pdata
+ali_mesh_time_init_system_time_without_clk:
+	store 4,mem_system_time
+	fetch 1,mem_system_time+3
+	and_into 0x0f,pdata
+	store 1,mem_system_time+3
+	rtn
+
+ali_mesh_timer_timeout:
+	rtn zero
+	copy pdata,regb
+	setarg 0x100000
+	lshift8 pdata,pdata
+	iadd temp,temp
+	copy regb,pdata
+	rtn
+
+ali_mesh_clkn_bt_add_1s:
+	arg 20,loopcnt
+ali_mesh_time_loop:	
+	pincrease 160
+	loop ali_mesh_time_loop	
+	rtn
+
+ali_mesh_ali_vendor_check_time:
+	call mesh_get_element_info_config
+	add rega,ELEMENT_DEVICE_VENDOR_TIME_PTR,rega
+	jam 0,mem_mesh_receive_element_number
+
+ali_mesh_ali_vendor_check_time_loop:
+	call ali_mesh_more_element_push_stack
+	ifetch 2,rega
+	branch ali_mesh_ali_vendor_check_time_next_element,blank
+	copy pdata,alarm
+	call ali_mesh_ali_vendor_check_time_one_element
+ali_mesh_ali_vendor_check_time_next_element:
+	call ali_mesh_more_element_pop_stack
+	fetch 1,mem_mesh_receive_element_number
+	pincrease 1
+	store 1,mem_mesh_receive_element_number
+	fetcht 1,mem_mesh_element_number
+	isub temp,pdata
+	rtn zero	//check all
+	copy regb,pdata
+	iadd rega,rega
+	branch ali_mesh_ali_vendor_check_time_loop
+
+ali_mesh_ali_vendor_check_time_one_element:
+	arg 40,loopcnt
+//timer loop:input loopcnt timer count
+//alarm timer address
+//mem_mesh_receive_element_number:element number
+ali_mesh_ali_vendor_check_time_one_element_loop:
+	copy loopcnt,pdata
+	store 1,mem_mesh_loopcnt_tmep
+	ifetch 1,alarm
+	ncall ali_mesh_ali_vendor_had_timing,blank 
+	increase 8,alarm
+	fetch 1,mem_mesh_loopcnt_tmep
+	copy pdata,loopcnt
+	loop ali_mesh_ali_vendor_check_time_one_element_loop
+	rtn
+
+ali_mesh_ali_vendor_had_timing:
+	ifetcht 8, alarm
+	storet 8, mem_mesh_vendor_timer_timing_index_cyclic    //作为每次检测的临时存储
+	fetch 1,mem_mesh_vendor_timer_timing_attr_para
+	beq TIMER_CYCLICAL_FALG, ali_mesh_ali_vendor_had_timing_cyclically
+	fetcht 4,mem_mesh_vendor_timer_current_time
+	fetch 4, mem_mesh_vendor_timer_timing_time
+	isub temp,null
+	fetch 1, mem_mesh_vendor_timer_timing_attr_para
+	branch ali_mesh_ali_vendor_time_timeout,zero
+	rtn
+
+ali_mesh_ali_vendor_time_timeout:
+	store 1,mem_mesh_generic_onoff_set_payload_OnOff
+	
+	fetch 2,mem_mesh_cb_generic_onoff_set
+	call callback_func
+
+	copy alarm,pdata
+	store 2,mem_mesh_alarm_temp
+
+	fetchr queue,1,mem_mesh_receive_element_number
+	ifetcht 1,alarm
+	call ali_mesh_ali_vendor_message_opcode_timing_finish
+
+	fetcht 1,mem_mesh_generic_onoff_set_payload_OnOff
+	fetchr queue,1,mem_mesh_receive_element_number
+	call ali_mesh_ali_vendor_message_opcode_generic_OnOff
+
+	fetch 2,mem_mesh_alarm_temp
+	copy pdata,alarm
+	setarg 0
+	istore 1,alarm
+	branch ali_mesh_ali_vendor_message_cb_timing_changed
+
+
+ali_mesh_ali_vendor_had_timing_cyclically:
+	fetch 4, mem_mesh_vendor_timer_current_time
+	arg SECONDS_OF_MIN, temp
+	idiv temp
+	call wait_div_end
+	remainder pdata
+	nrtn blank
+
+	fetch 4, mem_mesh_vendor_timer_current_time
+	arg SECONDS_OF_FOUR_DAYS, temp
+	isub temp, pdata      //格林威治时间1970年01月01日为周四,  这里减去四天，为了与周一对齐
+
+	arg SECONDS_OF_WEEK, temp
+	idiv temp
+	call wait_div_end
+	remainder pdata     //pdata:本周走过的秒数
+	arg SECONDS_OF_DAY, temp
+	idiv temp
+	call wait_div_end
+	remainder rega     //rega:当天走过的秒数
+	quotient queue    //queue:当前是周几；0:周一；1:周二；... ...6:周日
+	
+	setarg 0    //clear pdata
+	qset1 pdata
+	fetcht 1, mem_mesh_vendor_timer_timing_weekdays_cyclic
+	iand temp, pdata
+	rtn blank
+	deposit rega
+	arg SECONDS_OF_MIN, temp
+	idiv temp
+	call wait_div_end
+	quotient temp
+	setarg EIGHT_HOURS_TIME_ZONE_OFFSET
+	iadd temp, temp
+	fetch 2, mem_mesh_vendor_timer_timing_time_cyclic
+	isub temp, null
+	nrtn zero
+	fetch 1, mem_mesh_vendor_timer_timing_attr_para_cyclic
+	branch ali_mesh_ali_vendor_time_timeout
+
+
+
+
+ali_mesh_bearer_layer_send_packet_by_network_layer:
+	bpatchx patch3d_6,mem_patch3d
+	jam ADV_PAIRING_MESH_MESSAGE_DURATION,mem_mesh_queue_ele_duration
+	fetch 1,mem_mesh_gatt_package_send_msg_id
+	store 1,mem_mesh_queue_ele_gatt_msg_id
+
+	fetch 1,mem_mesh_lower_transport_layer_payload_len
+	pincrease 11
+	add pdata,-2,loopcnt
+	//长度+11的原因
+	//uint8_t AD length
+	//uint8_t AD type:GAP_ADTYPE_MESH_MESSAGE
+	//uint8_t IVI & NID
+	//uint8_t CTL & TTL
+	//uint24_t SEQ
+	//uint16_t SRC
+	//uint16_t DST
+	store 1,mem_mesh_queue_ele_len
+	pincrease -1
+	//-1的原因
+	//uint8_t AD length
+	istore 1,contw
+	setarg GAP_ADTYPE_MESH_MESSAGE
+	istore 1,contw
+	arg mem_mesh_send_upper_layer_IVI_and_NID,contr
+	call memcpy_fast
+	fetch 2,mem_ui_state_map
+	isolate1 UI_STATE_BLE_CONNECTED,pdata
+	call ali_mesh_send_ble_data,true
+	fetchr rega,2,mem_mesh_rega_temp
+	call ali_mesh_advertising_bearer_layer_init_queue_param
+	branch queue_push
+
+ali_mesh_advertising_bearer_layer_init_queue_param:
+	add rega,ELEMENT_DEVICE_QUEUE_BUFFER_PTR,contr
+	ifetch 2,contr
+	store 2,mem_queue_ptr
+	arg mem_mesh_queue_ele_temp,rega
+	rtn
+
+ali_mesh_advertising_bearer_layer_load_packet_from_advertising_queue:
+	arg ali_mesh_advertising_bearer_layer_load_packet_from_advertising_queue_deal,regc
+	branch ali_mesh_check_all_element_info
+
+ali_mesh_advertising_bearer_layer_load_packet_from_advertising_queue_deal:
+	add rega,ELEMENT_DEVICE_UPPER_ADV_FLAG,contr
+	ifetch 1,contr
+	rtnne PACKET_IN_BEARER
+	setarg PACKET_IN_ADVERTING
+	add rega,ELEMENT_DEVICE_UPPER_ADV_FLAG,contw
+	istore 1,contw
+	branch ali_mesh_control_ble_advertising_on_advertising
+
+
+ali_mesh_advertising_bearer_layer_send_packet_by_app_bearer:
+	call ali_mesh_advertising_bearer_layer_generate_header
+	add temp,13,pdata
+	store 1,mem_mesh_adv_data_len
+	call ali_mesh_advertising_add_adtype_flags
+	add temp,9,pdata
+	istore 1,contw
+	setarg GAP_ADTYPE_MANUFACTURER_SPECIFIC
+	istore 1,contw
+	fetch 8,mem_mesh_receive_service_uuid_ios_data_company_id
+	istore 8,contw
+	copy rega,contr
+	copy temp,loopcnt
+	call memcpy
+	branch mesh_le_send_adv
+
+ali_mesh_advertising_bearer_layer_generate_header:
+	setarg COMPANY_ID_ALIBABA_AND_VID_GATT
+	store 3,mem_mesh_receive_service_uuid_ios_data_company_id
+	setarg PROVISIONING_SEND_IOS_DATA
+	store 1,mem_mesh_receive_service_uuid_ios_data_provisioning_type
+	fetch 1,mem_k2_NID
+	store 1,mem_mesh_receive_service_uuid_ios_data_NID
+	fetch 1,mem_mesh_queue_ele_gatt_msg_id
+	store 1,mem_mesh_receive_service_uuid_ios_data_msg_id
+	
+	fetch 1,mem_mesh_queue_ele_duration
+	isolate1 BIT_OF_APP_PACKAGE_NUM,pdata
+	call ali_mesh_advertising_bearer_layer_send_packet_by_app_bearer_calc_param
+	store 1,mem_mesh_receive_service_uuid_ios_data_package_num
+	storet 1,mem_mesh_receive_service_uuid_ios_data_length
+	rtn
+
+
+ali_mesh_advertising_bearer_layer_send_packet_by_app_bearer_calc_param:
+	arg mem_mesh_queue_ele_payload+2,rega
+	arg MAX_APP_MSSAGE_PAYLOAD_LENGTH,temp
+	setarg 0x21		//
+	nrtn true
+	arg mem_mesh_queue_ele_payload+20,rega		//MAX_APP_MSSAGE_PAYLOAD_LENGTH+2
+	fetcht 1,mem_mesh_queue_ele_len
+	increase -18,temp		//MAX_APP_MSSAGE_PAYLOAD_LENGTH
+	setarg 0x22
+	rtn
+
+
+
+
+
+//0x01 GAP_ADTYPE_FLAGS
+//input:no default write mem_mesh_adv_data
+ali_mesh_advertising_add_adtype_flags:
+	arg mem_mesh_adv_data,contw
+	setarg 0x02
+	istore 1,contw
+	setarg GAP_ADTYPE_FLAGS
+	istore 1,contw
+	setarg 0x02
+	istore 1,contw
+	rtn
+
+//0x01 GAP_ADTYPE_FLAGS
+//input:no default write mem_mesh_adv_data
+ali_mesh_advertising_add_adtype_16bit_complete:
+	arg MESH_PROVISIONING_UUID,temp
+	setarg 0x03
+	istore 1,contw
+	setarg GAP_ADTYPE_16BIT_COMPLETE
+	istore 1,contw
+	istoret 2,contw
+	rtn
+
+mesh_receive_advertising:
+	branch mesh_le_scan_adv
+
+mesh_le_scan_adv:
+	call le_enable
+	call le_init_adv
+	call mesh_le_wait_adv
+	nrtn match
+	fetch 1,mem_le_adv_rcv
+	pincrease 1
+	store 1,mem_le_adv_rcv
+	fetch 2,mem_mesh_cb_receive_advertising
+	call callback_func
+	branch le_disable
+
+mesh_le_wait_adv:
+	fetch 2,mem_mesh_scan_selete_next_ch
+	branch callback_func
+
+mesh_le_wait_adv_cb:
+	call mesh_le_calc_next_scan_channel
+	branch le_receive_adv
+
+mesh_le_calc_next_scan_channel:
+	fetch 1,mem_mesh_adv_scan_channel
+	pincrease 1
+	store 1,mem_mesh_adv_scan_channel
+	store 1,mem_le_ch_mapped
+	rtnne 40
+	jam 37,mem_mesh_adv_scan_channel
+	jam 37,mem_le_ch_mapped
+	rtn
+
+
+mesh_check_ble_rx_packet:
+	fetch 1,mem_le_rxbuf
+	and pdata,0x0f,pdata
+	beq ADV_IND,ali_mesh_match_advertising_packet
+	beq ADV_NONCONN_IND,ali_mesh_match_advertising_packet
+	rtn
+
+ali_mesh_match_advertising_packet:
+	ifetcht 1,contr	//length
+	sub temp,ADV_PACKET_MIN_LENGTH,null
+	rtn positive	//过滤短包，包长度太短导致解析错误
+	sub temp,ADV_PACKET_MAX_LENGTH,null
+	nrtn positive	//过滤长包，包长度太长导致内存覆盖
+	add temp,-6,rega	//rega:减去address length
+	add contr,6,regb	//regb:指针偏移到regb
+
+ali_mesh_find_adv_ind_packet:
+	ifetcht 1,regb //length
+	sub temp,AD_TYPE_MIN_LENGTH,null
+	rtn positive	//过滤短包，包长度太短导致解析错误
+	sub temp,AD_TYPE_MAX_LENGTH,null
+	nrtn positive	//过滤长包，包长度太长导致内存覆盖
+	copy temp,pdata
+	rtn blank
+	bpatchx patch3d_7,mem_patch3d
+	ifetch 1,contr
+	beq GAP_ADTYPE_MANUFACTURER_SPECIFIC,ali_mesh_receive_adtype_manufacturer_specific
+	beq GAP_ADTYPE_MESH_MESSAGE,ali_mesh_receive_adtype_mesh_message
+	beq GAP_ADTYPE_128BIT_COMPLETE,ali_mesh_receive_adtype_128bit_uuid_complete
+//按照广播格式查询所有扫描到的广播数据
+	add temp,1,pdata
+	isub rega,null
+	rtn positive
+	iadd regb,regb
+	sub temp,-1,pdata
+	iadd rega,rega
+	copy rega,pdata
+	rtn blank
+	branch ali_mesh_find_adv_ind_packet
+
+
+mesh_le_send_adv:
+	fetch 1,mem_le_adv_transmit
+	pincrease 1
+	store 1,mem_le_adv_transmit
+	bpatchx patch3e_0,mem_patch3e
+	call le_enable
+	arg 39,loopcnt
+	arg mem_le_txheader,contr
+	arg mem_le_txheader_mesh_temp,contw
+	call memcpy_fast
+	jam 37,mem_le_ch_mapped
+	arg 1800,stop_watch
+	disable match
+
+mesh_le_send_adv_loop:
+	call le_init_adv
+	call mesh_le_send_adv_nonconn_ind
+	random pdata 
+	arg 0x1ff,temp
+	iand temp,pdata
+	add pdata,100,pdata
+	call delay
+	fetch 1,mem_le_ch_mapped
+	pincrease 1
+	store 1,mem_le_ch_mapped
+	bne 40,mesh_le_send_adv_loop
+	
+	arg 39,loopcnt
+	arg mem_le_txheader,contw
+	arg mem_le_txheader_mesh_temp,contr
+	call memcpy_fast
+	branch le_disable
+
+mesh_le_send_adv_nonconn_ind:
+	arg ADV_NONCONN_IND,temp
+	storet 1,mem_le_txheader
+	fetcht 1,mem_mesh_adv_data_len
+	add temp,6,pdata
+	store 1,mem_le_txlen
+	fetch 6,mem_le_lap
+	store 6,mem_le_txpayload
+	copy temp,loopcnt
+	arg mem_mesh_adv_data,contr
+	call memcpy_fast
+	branch le_transmit_norx
+
+
+
+//input:mem_mesh_mic_cache_ptr is cache buffer ptr
+//data ptr is store mem_ccm_data_ptr
+//data length is store mem_ccm_data_len
+//cache space size is TRANSPORT_MIC_CACHE_SPACE_SIZE
+//cache space num is TRANSPORT_MIC_CACHE_SPACE_NUM
+//output:user is enable ,mean new packet
+ali_mesh_base_adt_cache:
+	bpatchx patch3e_1,mem_patch3e
+	fetcht 2,mem_ccm_data_ptr
+	fetch 1,mem_ccm_data_len
+	copy temp,contr
+	arg mem_k4_SALT,rega
+	arg mem_k4_T,alarm
+	call ali_mesh_encrypt_base_function_AES_CMAC
+	call disable_user
+	copy regc,pdata
+	iadd alarm,contr
+	fetcht 4,mem_k4_T
+	fetch 2,mem_mesh_mic_cache_ptr
+	copy pdata,rega
+//	arg mem_mesh_access_message_mic_cache,rega
+	arg TRANSPORT_MIC_CACHE_SPACE_NUM,loopcnt
+ali_mesh_base_adt_cache_loop:
+	ifetch 4,rega
+	branch ali_mesh_base_adt_cache_empty_space,blank
+	isub temp,null
+	rtn zero
+	increase TRANSPORT_MIC_CACHE_SPACE_SIZE,rega
+	loop ali_mesh_base_adt_cache_loop
+	fetch 2,mem_mesh_mic_cache_ptr
+	copy pdata,contw
+	add pdata,TRANSPORT_MIC_CACHE_SPACE_SIZE,contr
+//	arg mem_mesh_access_message_mic_cache,contw
+//	arg mem_mesh_access_message_mic_cache+TRANSPORT_MIC_CACHE_SPACE_SIZE,contr
+	arg TRANSPORT_MIC_CACHE_TOTAL_SIZE,loopcnt
+	call memcpy_fast
+	istoret 4,contw
+	branch enable_user
+ali_mesh_base_adt_cache_empty_space:
+	istoret 4,rega
+	branch enable_user
+
+ali_mesh_chip_peripherals_load_data_from_eep:
+	call ali_mesh_chip_peripherals_load_three_tuple_from_eep
+	call ali_mesh_chip_peripherals_load_network_key_from_eep
+	call ali_mesh_chip_peripherals_load_application_key_from_eep
+	call ali_mesh_chip_peripherals_load_device_key_from_eep
+	call ali_mesh_chip_peripherals_load_reset_count_from_eep
+	call ali_mesh_chip_peripherals_load_seq_from_eep
+	branch ali_mesh_chip_peripherals_load_subscription_from_eep
+
+ali_mesh_chip_peripherals_load_three_tuple_from_eep:
+	arg MESH_EEP_THREE_TUPLE_LENGTH,temp
+	arg mem_mesh_three_tuple_ProductID,rega
+	arg MESH_EEP_THREE_TUPLE_OFFSET,regb
+	branch iicd_read_eep_data
+
+ali_mesh_chip_peripherals_load_network_key_from_eep:
+	arg MESH_EEP_NETWORK_KEY_LENGTH,temp
+	arg mem_mesh_Network_Key,rega
+	arg MESH_EEP_NETWORK_KEY_OFFSET,regb
+	call iicd_read_eep_data
+	fetch 1,mem_mesh_last_IV_Index_byte
+	store 1,mem_mesh_IV_Index+3
+	rtn
+
+ali_mesh_chip_peripherals_load_application_key_from_eep:
+	arg MESH_EEP_APPLICATION_KEY_LENGTH,temp
+	arg mem_mesh_application_key,rega
+	arg MESH_EEP_APPLICATION_KEY_OFFSET,regb
+	branch iicd_read_eep_data
+
+ali_mesh_chip_peripherals_load_device_key_from_eep:
+	arg MESH_EEP_DEVICE_KEY_LENGTH,temp
+	arg mem_mesh_Device_Key,rega
+	arg MESH_EEP_DEVICE_KEY_OFFSET,regb
+	branch iicd_read_eep_data
+
+ali_mesh_chip_peripherals_load_reset_count_from_eep:
+	rtn
+
+ali_mesh_chip_peripherals_load_seq_from_eep:
+	arg MESH_EEP_SEQ_LENGTH,temp
+	arg mem_mesh_send_message_SEQ,rega
+	arg MESH_EEP_SEQ_OFFSET,regb
+	branch iicd_read_eep_data
+
+ali_mesh_chip_peripherals_load_subscription_from_eep:
+	fetch 2,mem_mesh_core_feature
+	rtnbit1 MESH_FEATURE_DISABLE_SUBSCRIPTION
+	arg MESH_EEP_SUBSCRIPTION_TOTAL_LENGTH,temp
+	arg mem_mesh_subscription_eep_temp,rega
+	arg MESH_EEP_SUBSCRIPTION_OFFSET,regb
+	call iicd_read_eep_data
+	call mesh_get_element_info_config
+	arg mem_mesh_subscription_eep_temp,contr
+	add rega,ELEMENT_DEVICE_SUBSCRIPTION_LABEL,rega
+ali_mesh_chip_peripherals_load_subscription_from_eep_loop:
+	copy rega,contw
+	call memcpy16
+	copy regb,pdata
+	iadd rega,rega
+	loop ali_mesh_chip_peripherals_load_subscription_from_eep_loop
+	rtn
+
+mesh_receive_config_appkey_add_cb:
+	call ali_mesh_chip_peripherals_save_network_key_from_eep
+	call ali_mesh_chip_peripherals_save_application_key_from_eep
+	branch ali_mesh_chip_peripherals_save_device_key_from_eep
+
+ali_mesh_chip_peripherals_save_network_key_from_eep:
+	arg MESH_EEP_NETWORK_KEY_LENGTH,temp
+	arg mem_mesh_Network_Key,rega
+	arg MESH_EEP_NETWORK_KEY_OFFSET,regb
+	branch iicd_write_protect_eep_data
+
+ali_mesh_chip_peripherals_save_application_key_from_eep:
+	arg MESH_EEP_APPLICATION_KEY_LENGTH,temp
+	arg mem_mesh_application_key,rega
+	arg MESH_EEP_APPLICATION_KEY_OFFSET,regb
+	branch iicd_write_protect_eep_data
+
+ali_mesh_chip_peripherals_save_device_key_from_eep:
+	arg MESH_EEP_DEVICE_KEY_LENGTH,temp
+	arg mem_mesh_Device_Key,rega
+	arg MESH_EEP_DEVICE_KEY_OFFSET,regb
+	branch iicd_write_protect_eep_data
+
+mesh_store_new_seq_data:
+ali_mesh_chip_peripherals_save_seq_from_eep:
+	arg MESH_EEP_SEQ_LENGTH,temp
+	arg mem_mesh_send_message_SEQ,rega
+	arg MESH_EEP_SEQ_OFFSET,regb
+	branch iicd_write_protect_eep_data
+
+mesh_store_new_subscriptuion_list_data:
+	call ali_mesh_chip_peripherals_save_subscriptuion_list_from_eep
+	arg MESH_EEP_SUBSCRIPTION_TOTAL_LENGTH,temp
+	arg mem_mesh_subscription_eep_temp,rega
+	arg MESH_EEP_SUBSCRIPTION_OFFSET,regb
+	branch iicd_write_protect_eep_data
+
+ali_mesh_chip_peripherals_save_subscriptuion_list_from_eep:
+	call mesh_get_element_info_config
+	arg mem_mesh_subscription_eep_temp,contw
+	add rega,ELEMENT_DEVICE_SUBSCRIPTION_LABEL,rega
+ali_mesh_chip_peripherals_save_subscriptuion_list_from_eep_loop:
+	copy rega,contr
+	call memcpy16
+	copy regb,pdata
+	iadd rega,rega
+	loop ali_mesh_chip_peripherals_save_subscriptuion_list_from_eep_loop
+	rtn
+
+//input:rega is tx data ptr
+//loopcnt is tx data length
+//regb is logging type
+logging_tx_debug:
+	arg LOGGING_DEBUG,temp
+	branch logging_tx_common
+
+
+//input:rega is tx data ptr
+//loopcnt is tx data length
+//regb is logging type
+logging_tx_info:
+	arg LOGGING_INFO,temp
+	branch logging_tx_common
+
+
+//input:rega is tx data ptr
+//loopcnt is tx data length
+//regb is logging type
+logging_tx_warning:
+	arg LOGGING_WARNING,temp
+	branch logging_tx_common
+
+
+//input:rega is tx data ptr
+//loopcnt is tx data length
+//regb is logging type
+logging_tx_error:
+	arg LOGGING_ERROR,temp
+	branch logging_tx_common
+
+
+//input:rega is tx data ptr
+//loopcnt is tx data length
+//regb is logging type
+logging_tx_critical:
+	arg LOGGING_CRITICAL,temp
+	branch logging_tx_common
+
+
+//input:rega is tx data ptr
+//loopcnt is tx data length
+//regb is logging type
+//temp is logging level
+logging_tx_common:
+	bpatchx patch3e_2,mem_patch3e
+	call push_stack
+	fetch 1,mem_mesh_core_feature
+	bbit1 MESH_FEATURE_DISABLE_LOG,pop_stack
+	call uartb_prepare_tx_register_push
+	setarg LUA_LOG_PACKET_HEADER
+	istore 1,contwu
+	setarg LUA_LOG_PAKCET_TYPE
+	istore 1,contwu
+	add loopcnt,4,pdata
+	istore 1,contwu
+	istorer temp,2,contwu
+	istorer regb,2,contwu
+	copy rega,contr
+	call uart_copy_tx_bytes_fast
+	setarg LUA_LOG_PACKET_TRAIL
+	istore 1,contwu
+	call uartb_send_register_pop
+	branch pop_stack
+
+mesh_uart_init:
+	fetch 1,mem_mesh_core_feature
+	rtnbit1 MESH_FEATURE_DISABLE_LOG
+	jam gpcfg_uartb_txd,core_gpio_conf+11
+	jam gpcfg_uartb_rxd|gpcfg_pullup,core_gpio_conf+12
+	call mesh_uart_init_buffer
+	arg 921600,temp
+	call uartb_calc_baud_rate_config
+	call uart_clock_select_main_freq_crystal
+	arg FUN_UART_CONTROL_ENABLE|FUN_UART_CONTROL_SETTING_RATE_BAUD,temp
+	storet 1,core_uartb_ctrl
+	rtn
+
+mesh_uart_init_buffer:
+	setarg mem_mesh_uart_log_rx_buff
+	store 2,mem_pdatatemp
+	setarg mem_mesh_uart_log_rx_buff_end
+	istore 2,contw
+	setarg mem_mesh_uart_log_tx_buff
+	istore 2,contw
+	setarg mem_mesh_uart_log_tx_buff_end
+	istore 2,contw
+	fetch 8,mem_pdatatemp
+	branch uartb_init_dma_mem
+
+
+
+
+//
+//mesh控制ble advertising广播逻辑的主流程
+ali_mesh_control_ble_adv_process:
+	call ali_mesh_control_ble_adv_tmall_packet
+	branch ali_mesh_control_ble_adv_app_packet
+
+//mesh 控制ble advertising 广播timer流程
+ali_mesh_control_ble_adv_timer_process:
+	call ali_mesh_advertising_unprovisioned_timer_interval_timer
+	branch ali_mesh_advertising_unprovisioned_timer
+
+//mesh打开ble advertising
+ali_mesh_control_ble_advertising_on_advertising:
+	jam DEVICE_BEACON_ON,mem_mesh_advertising_unprovisioned_device_beacon_switch
+	rtn
+
+//mesh关闭ble advertising
+ali_mesh_control_ble_advertising_off_advertising:
+	jam DEVICE_BEACON_OFF,mem_mesh_advertising_unprovisioned_device_beacon_switch
+	rtn
+
+
+//下面为static function
+
+ali_mesh_control_ble_adv_app_packet:
+	arg ali_mesh_control_ble_adv_app_packet_paired,regb
+	arg MESH_ADV_APP_MESSAGE_INTERVAL,rega
+	arg mesh_ble_adv_app,queue
+	branch ali_mesh_chip_timer_check_with_random_timer
+
+ali_mesh_control_ble_adv_app_packet_paired:
+	fetch 1,mem_mesh_provisioned_flag
+	rtnne PAIRED_STATUS					//非配网状态，不需要发送
+	arg ali_mesh_control_ble_adv_app_packet_paired_deal,regc
+	branch ali_mesh_check_all_element_info
+
+
+ali_mesh_control_ble_adv_tmall_packet:
+	arg ali_mesh_control_ble_adv_tmall_packet_send_package,regb
+	arg MESH_ADV_TMALL_MESSAGE_INTERVAL,rega
+	arg mesh_ble_adv_tmall,queue
+	branch ali_mesh_chip_timer_check_with_random_timer
+
+//app 回复包的格式
+ali_mesh_control_ble_adv_app_packet_paired_deal:
+	add rega,ELEMENT_DEVICE_TRAN_PACKAGE_TYPE,contr
+	ifetch 1,contr
+	rtnbit0 BIT_UPPER_TRAN_APP_MESSAGE
+	call ali_mesh_advertising_bearer_layer_init_queue_param
+	call queue_get_new_ele
+	nrtn user
+	fetch 1,mem_mesh_queue_ele_len
+	pincrease -2	//uint8_t AD length & uint8_t AD type:GAP_ADTYPE_MESH_MESSAGE
+	store 1,mem_mesh_queue_ele_len	
+	//不会小于一包数据
+	fetch 1,mem_mesh_queue_ele_duration
+	//生命周期不减少
+	setflip BIT_OF_APP_PACKAGE_NUM,pdata
+	istore 1,regb
+	branch ali_mesh_advertising_bearer_layer_send_packet_by_app_bearer
+
+
+//控制不同状态发包情况
+ali_mesh_control_ble_adv_tmall_packet_send_package:
+	fetch 1,mem_mesh_provisioned_flag
+	beq PAIRED_STATUS,ali_mesh_control_ble_advertising_send_paired_packet
+	beq PAIRING_STATUS,ali_mesh_control_ble_advertising_send_pairing_packet
+	branch ali_mesh_control_ble_advertising_send_device_beacon_packet
+
+
+ali_mesh_control_ble_advertising_send_paired_packet:
+	arg ali_mesh_control_ble_advertising_send_paired_packet_deal,regc
+	branch ali_mesh_check_all_element_info
+
+ali_mesh_control_ble_advertising_send_paired_packet_deal:
+	call ali_mesh_advertising_bearer_layer_init_queue_param
+	call queue_get_new_ele
+	nrtn user
+	fetch 1,mem_mesh_queue_ele_duration
+	pincrease -1
+	istore 1,regb
+	bbit1 BIT_OF_ADV_IN_OFF,ali_mesh_control_ble_advertising_send_paired_packet_adv_in_off
+	and pdata,0x3f,pdata	//不判断最高位
+	call ali_mesh_control_ble_advertising_send_paired_packet_end_duration,blank	//周期到丢弃
+	fetchr rega,2,mem_mesh_rega_temp
+	add rega,ELEMENT_DEVICE_TRAN_PACKAGE_TYPE,contr
+	ifetch 1,contr
+	bbit1 BIT_UUPER_TRAN_PROXY_MESSAGE,ali_mesh_control_ble_advertising_send_paired_packet_end_duration_proxy
+	rtnbit0 BIT_UPPER_TRAN_TMALL_MESSAGE
+	arg mem_mesh_adv_data_len,contw
+	arg mem_mesh_queue_ele_len,contr
+	call memcpy32
+	branch mesh_le_send_adv
+
+ali_mesh_control_ble_advertising_send_paired_packet_end_duration_proxy:
+	arg mem_mesh_queue_ele_duration,rega
+	call queue_pop
+	call queue_empty
+	nrtn blank
+	fetchr rega,2,mem_mesh_rega_temp
+	add rega,ELEMENT_DEVICE_UPPER_ADV_FLAG,contw
+	setarg NULL_PACKET_ADVERTISING
+	istore 1,contw
+	branch ali_mesh_control_ble_advertising_off_advertising
+
+
+ali_mesh_control_ble_advertising_send_paired_packet_adv_in_off:
+	and pdata,0x3f,pdata	//不判断最高位
+	nrtn blank
+	fetchr rega,2,mem_mesh_rega_temp
+	add rega,ELEMENT_DEVICE_UPPER_ADV_FLAG,contw
+	setarg NULL_PACKET_ADVERTISING
+	istore 1,contw
+	branch queue_init
+	
+
+ali_mesh_control_ble_advertising_send_paired_packet_end_duration:
+	arg mem_mesh_queue_ele_duration,rega
+	call queue_pop
+	call queue_empty
+	nrtn blank
+	//传入不广播数据
+	jam ADV_PAIRING_MESH_MESSAGE_INTERVAL,mem_mesh_queue_ele_duration
+	branch queue_push
+
+
+ali_mesh_control_ble_advertising_send_device_beacon_packet:
+	call ali_mesh_config_device_uuid_by_three_tuple
+	call ali_mesh_send_Unprovisioned_Beacons_tmall
+	call ali_mesh_advertising_send_Unprovisioned_Beacons_Gatt
+	call ali_mesh_control_ble_advertising_device_beacon_check_duration
+	nrtn zero			//in advertising beacon duration
+	fetch 1,mem_mesh_provisioned_flag
+	beq SILENCE_BEACON_STATUS,ali_mesh_end_advertising_silence_device_beacon_packet
+	beq UNPROVISIONED_BEACON_STATUS,ali_mesh_end_advertising_unprovisioned_device_beacon_packet
+	rtn
+
+//广播一次生存周期减1
+//output:zero is end of duration
+ali_mesh_control_ble_advertising_device_beacon_check_duration:
+	fetch 1,mem_mesh_advertising_unprovisioned_device_beacon_duration
+	add pdata,-1,pdata
+	store 1,mem_mesh_advertising_unprovisioned_device_beacon_duration
+	rtn
+
+//静默广播生存周期完成关闭广播
+ali_mesh_end_advertising_silence_device_beacon_packet:
+	jam ADV_SILENCE_DEVICE_BEACON_INTERVAL,mem_mesh_advertising_unprovisioned_device_beacon_interval
+	branch ali_mesh_control_ble_advertising_off_advertising
+	
+//未配网广播生存周期完成关闭广播
+ali_mesh_end_advertising_unprovisioned_device_beacon_packet:
+	jam ADV_UNPROVISIONED_DEVICE_BEACON_DURATION,mem_mesh_advertising_unprovisioned_device_beacon_interval
+	branch ali_mesh_control_ble_advertising_off_advertising
+
+
+ali_mesh_control_ble_advertising_send_pairing_packet:
+	call ali_mesh_advertising_timer
+	branch mesh_le_send_adv
+
+
+ali_mesh_chip_timer_check_with_random_timer:
+	random pdata
+	and pdata,0x07,pdata
+	iadd rega,rega
+//input:queue is timer id
+//rega is timer count
+//regb is cb ptr
+ali_mesh_chip_timer_check:
+	fetch 1,mem_mesh_advertising_unprovisioned_device_beacon_switch
+	rtnne DEVICE_BEACON_ON
+	call timer_check
+	nrtn blank
+	copy rega,pdata
+	call timer_init
+	copy regb,pdata
+	branch callback_func
+
+
+//静默广播定时器10min后进入静默广播状态
+ali_mesh_advertising_unprovisioned_timer:
+	arg mem_mesh_advertising_unprovisioned_device_beacon_timer,regc
+	arg ali_mesh_advertising_unprovisioned_timeout, regb
+	branch timer_single_step_2B
+
+//定时器超时如果当前处于未配网广播状态，进入静默广播
+ali_mesh_advertising_unprovisioned_timeout:
+	fetch 1,mem_mesh_provisioned_flag
+	rtnne UNPROVISIONED_BEACON_STATUS
+	fetch 1,mem_mesh_UUID_FeatureFlag
+	set1 BIT_SILENCE_ADV_FLAG,pdata
+	store 1,mem_mesh_UUID_FeatureFlag
+	jam SILENCE_BEACON_STATUS,mem_mesh_provisioned_flag
+	branch ali_mesh_send_silence_device_beacon_init_advertising
+
+
+//控制广播发送间隙的timer
+//不同状态广播间隔不一样
+ali_mesh_advertising_unprovisioned_timer_interval_timer:
+	arg mem_mesh_advertising_unprovisioned_device_beacon_interval,regc
+	arg ali_mesh_advertising_unprovisioned_timer_interval_timeout,regb
+	branch timer_single_step
+
+//控制广播发送超时
+//处于未配网广播或者静默广播状态，进入下一次广播
+//处于配网状态，清除配网状态
+ali_mesh_advertising_unprovisioned_timer_interval_timeout:
+	fetch 1,mem_mesh_provisioned_flag
+	beq SILENCE_BEACON_STATUS,ali_mesh_send_silence_device_beacon_init_advertising
+	beq UNPROVISIONED_BEACON_STATUS,ali_mesh_send_unprovisioned_device_beacon_init_advertising
+//	beq PAIRED_STATUS,ali_mesh_send_paired_packet_init_advertising
+	rtn
+
+//ali_mesh_send_paired_packet_init_advertising:
+//	jam NULL_PACKET_ADVERTISING,mem_mesh_upper_tran_layer_packet_advertising
+//	rtn
+
+//进入下一次未配网广播广播周期
+ali_mesh_send_unprovisioned_device_beacon_init_advertising:
+	jam ADV_UNPROVISIONED_DEVICE_BEACON_DURATION,mem_mesh_advertising_unprovisioned_device_beacon_duration
+	branch ali_mesh_control_ble_advertising_on_advertising
+
+//进入下一次静默广播广播周期
+ali_mesh_send_silence_device_beacon_init_advertising:
+	jam ADV_SILENCE_DEVICE_BEACON_DURATION,mem_mesh_advertising_unprovisioned_device_beacon_duration
+	branch ali_mesh_control_ble_advertising_on_advertising
+
+
+
+
+
+
+ali_mesh_encrypt_calc_random_data:
+	call ali_mesh_encrypt_calc_random_data_calc_ConfirmationKey
+	call ali_mesh_encrypt_calc_random_data_calc_AuthValueProv
+	call ali_mesh_encrypt_calc_random_data_calc_AuthValueDevice
+	call ali_mesh_encrypt_calc_random_data_calc_ConfirmationCloud
+	call ali_mesh_encrypt_calc_random_data_calc_ConfirmationDevice
+	branch ali_mesh_encrypt_calc_random_data_calc_DeviceKey
+
+//calc confirmation key
+//ConfirmationKey=SHA256(Random A||RandomB||"ConfirmationKey")[0:15]
+ali_mesh_encrypt_calc_random_data_calc_ConfirmationKey:
+	call ali_mesh_encrypt_load_randomAB_to_sha256
+	arg mem_mesh_sha256_ConfirmationKey_ascii,contr
+	arg 0xf,loopcnt
+	call ali_mesh_encrypt_base_function_sha256_load_data_without_hex2ascii
+	call ali_mesh_encrypt_base_function_sha256_calc
+	arg memresult,contr
+	arg mem_mesh_Confirmationkey,contw
+	branch memcpy16
+
+
+//calc Auth value prov
+//AuthValueProv = SHA256(PID,MAC,Secret,random B||random A)[0:15]
+ali_mesh_encrypt_calc_random_data_calc_AuthValueProv:
+	call ali_mesh_encrypt_load_three_tuple_to_sha256
+	call ali_mesh_encrypt_base_function_sha256_calc
+	arg memresult,contr
+	arg mem_mesh_AuthValueProv,contw
+	branch memcpy16
+
+//calc Auth Value Device
+//AuthValueDevice= SHA256(PID,MAC,Secret,random B||random A)[0:15]
+ali_mesh_encrypt_calc_random_data_calc_AuthValueDevice:
+	call ali_mesh_encrypt_load_three_tuple_to_sha256
+	call ali_mesh_encrypt_base_function_sha256_calc
+	arg memresult,contr
+	arg mem_mesh_AuthValueDevice,contw
+	branch memcpy16
+
+// calc Confirmation Cloud
+//Confirmation Cloud=AES-CMAC(Random B || Random A || AuthValueProv)
+//k=ConfirmationKey
+ali_mesh_encrypt_calc_random_data_calc_ConfirmationCloud:
+	fetch 8,mem_mesh_provisioning_random_A
+	store 8,mem_mesh_ConfirmationCloud_RandomA
+	fetch 8,mem_mesh_provisioning_random_B
+	store 8,mem_mesh_ConfirmationCloud_RandomB
+	
+	arg mem_mesh_calc_ConfirmationCloud_data,contr
+	arg mem_mesh_Confirmationkey,rega
+	arg mem_mesh_ConfirmationCloud,alarm
+	branch ali_mesh_encrypt_base_function_AES_CMAC_32Byte
+
+
+// calc confirmation Device
+//Confirmation Device=AES-CMAC(Random A || Random B || AuthValueDevice)
+//k=ConfirmationKey
+ali_mesh_encrypt_calc_random_data_calc_ConfirmationDevice:
+	arg mem_mesh_calc_ConfirmationDevice_data,contr
+	arg mem_mesh_Confirmationkey,rega
+	arg mem_mesh_ConfirmationDevice,alarm
+	branch ali_mesh_encrypt_base_function_AES_CMAC_32Byte
+
+
+//calc Device Key
+//DeviceKey = SHA256(ConfirmationCloud||"DeviceKey")[0:15]
+ali_mesh_encrypt_calc_random_data_calc_DeviceKey:
+	arg mem_mesh_ConfirmationCloud,contr
+	arg 0x10,loopcnt
+	call ali_mesh_encrypt_base_function_sha256_load_data_with_hex2ascii
+	arg mem_mesh_sha256_DeviceKey_ascii,contr
+	arg 9,loopcnt
+	call ali_mesh_encrypt_base_function_sha256_load_data_without_hex2ascii
+	call ali_mesh_encrypt_base_function_sha256_calc
+	arg memresult,contr
+	arg mem_mesh_Device_Key,contw
+	branch memcpy16
+
+
+ali_mesh_encrypt_load_randomBA_to_sha256:
+	call ali_mesh_encrypt_load_randomB_to_sha256
+ali_mesh_encrypt_load_randomA_to_sha256:
+	arg mem_mesh_provisioning_random_A,contr
+	branch ali_mesh_encrypt_base_function_sha256_load_data_64bit
+
+ali_mesh_encrypt_load_randomAB_to_sha256:
+	call ali_mesh_encrypt_load_randomA_to_sha256
+ali_mesh_encrypt_load_randomB_to_sha256:
+	arg mem_mesh_provisioning_random_B,contr
+	branch ali_mesh_encrypt_base_function_sha256_load_data_64bit
+
+
+ali_mesh_encrypt_load_three_tuple_to_sha256:
+	arg mem_mesh_three_tuple_ProductID,contr
+	arg 4,loopcnt
+	call ali_mesh_encrypt_base_function_sha256_load_data_with_hex2ascii_add_comma
+	arg mem_mesh_three_tuple_MAC,contr
+	arg 6,loopcnt
+	call ali_mesh_encrypt_base_function_sha256_load_data_with_hex2ascii_add_comma
+	arg mem_mesh_three_tuple_secret,contr
+	arg 0x10,loopcnt
+	branch ali_mesh_encrypt_base_function_sha256_load_data_with_hex2ascii
+
+
+//calc provisioning data
+//Encrupted provisioning data = prov_data XOR SessionKey
+ali_mesh_encrypt_calc_provisioning_data:
+	call ali_mesh_encrypt_calc_provisioning_data_calc_SessionKey
+//	branch ali_mesh_encrypt_calc_provisioning_data_xor_prov_data
+ali_mesh_encrypt_calc_provisioning_data_xor_prov_data:
+	arg mem_mesh_Encrypt_Provisioning_Data,rega
+	arg memresult,regb
+	arg 0xb,loopcnt
+ali_mesh_encrypt_calc_provisioning_data_xor_prov_data_loop:
+	ifetch 2,rega
+	ifetcht 2,regb
+	ixor temp,pdata
+	istore 2,rega
+	increase 2,rega
+	increase 2,regb
+	loop ali_mesh_encrypt_calc_provisioning_data_xor_prov_data_loop
+	rtn
+
+
+//calc SessionKey
+//SessionKey = SHA256(ConfirmationCloud||"SessionKey")[0:15]
+//output:sessionKey in memresult
+ali_mesh_encrypt_calc_provisioning_data_calc_SessionKey:
+	arg mem_mesh_ConfirmationCloud,contr
+	arg 0x10,loopcnt
+	call ali_mesh_encrypt_base_function_sha256_load_data_with_hex2ascii
+	arg mem_mesh_sha256_SessionKey_ascii,contr
+	arg 0xa,loopcnt
+	call ali_mesh_encrypt_base_function_sha256_load_data_without_hex2ascii
+	branch ali_mesh_encrypt_base_function_sha256_calc
+
+
+
+ali_mesh_encrypt_calc_network_key_by_k2:
+	arg mem_mesh_Network_Key,contr
+	arg mem_k2_N,contw
+	call memcpy16
+
+
+//input:mem_k2_N N data
+ali_mesh_encrypt_base_function_k2:
+
+	arg mem_k2_N,contr
+	arg mem_k2_SALT,rega
+	arg mem_k2_T,alarm
+	call ali_mesh_encrypt_base_function_AES_CMAC_16Byte
+
+	arg mem_k2_T1,alarm
+	arg 0x01,regb
+	setarg 0
+	call ali_mesh_encrypt_base_function_k2_AES_CMAC_T
+	fetch 1,mem_k2_T1+15
+	and pdata,0x7f,pdata
+	store 1,mem_k2_NID
+
+	arg mem_k2_T2,alarm
+	arg 0x02,regb
+	setarg 0x10
+	arg mem_k2_T1,rega
+	call ali_mesh_encrypt_base_function_k2_AES_CMAC_T
+
+	arg mem_k2_T3,alarm
+	arg 0x03,regb
+	setarg 0x10
+	arg mem_k2_T2,rega
+	branch ali_mesh_encrypt_base_function_k2_AES_CMAC_T
+
+ali_mesh_encrypt_base_function_k4:
+
+	arg mem_mesh_application_key,contr
+	arg mem_k4_SALT,rega
+	arg mem_k4_T,alarm
+	call ali_mesh_encrypt_base_function_AES_CMAC_16Byte
+	arg mem_k4_id6_01,contr
+	arg mem_k4_T,rega
+	arg mem_k4_k4N,alarm
+	setarg 4
+	call ali_mesh_encrypt_base_function_AES_CMAC
+	fetch 1,mem_k4_k4N+15
+	and pdata,0x3f,pdata
+	set1 TRANSPORT_HEAD_BIT_AKF,pdata
+	store 1,mem_mesh_transport_AID
+	rtn
+
+ali_mesh_encrypt_base_function_k3:
+
+	arg mem_mesh_Network_Key,contr
+	arg mem_k3_SALT,rega
+	arg mem_k3_T,alarm
+	call ali_mesh_encrypt_base_function_AES_CMAC_16Byte
+	arg mem_k3_id64_01,contr
+	arg mem_k3_T,rega
+	arg mem_k3_k4N,alarm
+	setarg 5
+	call ali_mesh_encrypt_base_function_AES_CMAC
+
+	call ali_mesh_proxy_init_adv
+	
+	fetch 2,mem_ui_state_map
+	rtnbit1 UI_STATE_BLE_CONNECTED
+	jam 1,mem_le_adv_enable
+	rtn
+
+
+//
+ali_mesh_encrypt_obfuscation_deceypt_send_message:
+	arg mem_mesh_send_upper_layer_CTL_and_TTL,rega
+	fetch 7,mem_mesh_send_upper_layer_DST	
+	branch ali_mesh_encrypt_obfuscation_deceypt
+ali_mesh_encrypt_obfuscation_deceypt_recevie_message:
+	arg mem_mesh_message_TTL,rega
+	fetch 7,mem_mesh_message_DST
+ali_mesh_encrypt_obfuscation_deceypt:
+	store 7,mem_mesh_Privacy_Plaintext_Privacy_Random
+	setarg 0
+	store 5,mem_mesh_Privacy_Plaintext_Zero_String
+	call ali_mesh_encrypt_generate_PECB
+	fetch 6,mem_mesh_PECB
+	ifetcht 6,rega
+	ixor temp,pdata
+	istore 6,rega
+	rtn
+
+ali_mesh_encrypt_generate_PECB:
+ali_mesh_encrypt_generate_privacy_random:
+	fetch 4,mem_mesh_IV_Index
+	store 4,mem_mesh_Privacy_Plaintext_IV_Index
+// generate PECB with AES-128/ function e
+ali_mesh_encrypt_base_function_generate_PECB:
+	arg mem_k2_PrivacyKey,contr
+	call load_key
+	arg mem_mesh_Privacy_Plaintext,contr
+	call load_data128
+	call do_aes_ocb
+	arg mem_mesh_PECB,contw
+	branch store_aes_result
+
+
+
+//input  : (big endian)
+// data addr : contr
+// point : call clear_sha256_chunk
+ali_mesh_encrypt_base_function_sha256_load_data_64bit:
+	arg 8,loopcnt
+//input  : (big endian)
+// data addr : contr
+// data len : loopcnt
+// point : call clear_sha256_chunk
+ali_mesh_encrypt_base_function_sha256_load_data_with_hex2ascii:
+	call ali_mesh_encrypt_base_function_sha256_check_first_load_data
+	call ali_mesh_encrypt_base_function_hex2ascii
+	branch ali_mesh_encrypt_base_function_sha256_store_dataptr
+ali_mesh_encrypt_base_function_sha256_load_data_without_hex2ascii:
+	call ali_mesh_encrypt_base_function_sha256_check_first_load_data
+	call memcpy
+	branch ali_mesh_encrypt_base_function_sha256_store_dataptr
+ali_mesh_encrypt_base_function_sha256_load_data_with_hex2ascii_add_comma:
+	call ali_mesh_encrypt_base_function_sha256_check_first_load_data
+	call ali_mesh_encrypt_base_function_hex2ascii
+	setarg COMMA
+	istore 1,contw
+ali_mesh_encrypt_base_function_sha256_store_dataptr:
+	copy contw,pdata
+	store 2,mem_mesh_sha256_data_end_addr
+	rtn
+ali_mesh_encrypt_base_function_sha256_check_first_load_data:
+	copy contr,temp
+	copy loopcnt,rega
+	fetch 2,mem_mesh_sha256_data_end_addr
+	copy pdata,contw
+	fetch 1,mem_mesh_sha256_load_first_data_flag
+	call ali_mesh_encrypt_base_function_sha256_first_load_data,blank
+	copy temp,contr
+	copy rega,loopcnt
+	rtn
+ali_mesh_encrypt_base_function_sha256_first_load_data:
+	jam 1,mem_mesh_sha256_load_first_data_flag
+	call ali_mesh_encrypt_base_function_sha256_clear_data_chunk				//初始化sha256
+	arg mem_mesh_sha256_chunk_start,contw
+	rtn
+
+ali_mesh_encrypt_base_function_sha256_clear_data_chunk:
+	arg 0x20,loopcnt
+	arg mem_mesh_sha256_chunk_start,contw
+	branch memset0
+
+ // output :
+ // sha256 result : memresult(big endian)
+ali_mesh_encrypt_base_function_sha256_calc:
+ 	call ali_mesh_encrypt_base_function_sha256_load_data_end
+ 	arg MESH_ENCRYPT_SHA256_FUNCTION_INPUT,regb
+	arg mem_mesh_sha256_chunk_start,rega
+	fetchr loopcnt,8,mem_mesh_sha256_data_len_byte
+	call logging_tx_debug
+	call ali_mesh_encrypt_base_function_sha256_input_data_init_inverse
+
+	setarg mem_mesh_sha256_chunk_start
+	store 2,mem_mesh_sha256_chunk_ptr
+	call sha_init
+ali_mesh_encrypt_base_function_sha256_calc_loop:
+	fetch 2,mem_mesh_sha256_chunk_ptr
+	copy pdata,contr
+	arg memdat,contw
+	call memcpy64
+	call sha
+	fetch 2,mem_mesh_sha256_chunk_ptr
+	pincrease 64
+	store 2,mem_mesh_sha256_chunk_ptr
+	fetch 1,mem_mesh_sha256_chunk_count
+	pincrease -1
+	store 1,mem_mesh_sha256_chunk_count
+	nbranch ali_mesh_encrypt_base_function_sha256_calc_loop,blank
+	call sha_result
+	arg memresult,rega
+	arg 0x20,loopcnt
+	call inverse_data
+ 	arg MESH_ENCRYPT_SHA256_FUNCTION_RESULT,regb
+	arg memresult,rega
+	arg 0x20,loopcnt
+	branch logging_tx_debug
+
+
+ali_mesh_encrypt_base_function_sha256_load_data_end:
+	jam 0,mem_mesh_sha256_load_first_data_flag
+	fetch 2,mem_mesh_sha256_data_end_addr
+	copy pdata,contw
+	arg 0x80,temp	//第一个bit补1，后面补0
+	istoret 1,contw
+	arg mem_mesh_sha256_chunk_start,temp
+	isub temp,pdata
+	store 8,mem_mesh_sha256_data_len_byte
+	//计算bit数
+	lshift3 pdata,temp
+	storet 8,mem_mesh_sha256_data_len_bit
+	rshift4 pdata,regc
+	rshift2 regc,regc
+	and pdata,0x3f,pdata
+	sub pdata,55,null
+//55-(len mod 63)<0,内存填充448以后的，需要填充到第二块
+	ncall ali_mesh_encrypt_base_function_sha256_add_chunk,positive
+	add regc,1,pdata
+	store 1,mem_mesh_sha256_chunk_count
+	mul32 pdata,64,rega		//计算块的数量地址
+	lshift4 pdata,regc			//计算4byte包的数量
+	increase -1,regc			//最好一个包长度不交换
+	setarg mem_mesh_sha256_chunk_start + DECREASED_FOUR
+	iadd rega,rega
+	fetch 4,mem_mesh_sha256_data_len_bit
+	istore 4,rega
+	rtn
+
+
+//增加块数量
+ali_mesh_encrypt_base_function_sha256_add_chunk:
+	increase 1,regc
+	rtn
+	
+ali_mesh_encrypt_base_function_sha256_input_data_init_inverse:
+	arg mem_mesh_sha256_chunk_start,rega
+
+//每4个字节，需要高低位交换一下
+//input :
+// data addr : rega
+ali_mesh_encrypt_base_function_sha256_data_inverse_4Byte:
+	arg 4,loopcnt
+	call inverse_data
+	increase 2,rega	//下一块
+	add regc,-1,regc
+	nbranch ali_mesh_encrypt_base_function_sha256_data_inverse_4Byte,zero
+	rtn
+
+
+// input : 
+// data ptr : contr
+// data save ptr : contw 
+// data len : loopcnt
+ali_mesh_encrypt_base_function_hex2ascii:
+	ifetch 1,contr
+	rshift4 pdata,temp
+	call ali_mesh_encrypt_base_function_dialog2uchar
+	istoret 1,contw
+	and pdata,0x0f,temp
+	call ali_mesh_encrypt_base_function_dialog2uchar
+	istoret 1,contw
+	loop ali_mesh_encrypt_base_function_hex2ascii
+	rtn
+ali_mesh_encrypt_base_function_dialog2uchar:
+	sub temp,9,null
+	branch ali_mesh_encrypt_base_function_dialog2uchar_num,positive
+	add temp,87,temp
+	rtn
+ali_mesh_encrypt_base_function_dialog2uchar_num:	
+	add temp,48,temp
+	rtn
+
+
+ali_mesh_encrypt_base_function_AES_CMAC_32Byte:
+	setarg 0x20 
+	branch ali_mesh_encrypt_base_function_AES_CMAC
+
+ali_mesh_encrypt_base_function_AES_CMAC_16Byte:
+	setarg 0x10
+	branch ali_mesh_encrypt_base_function_AES_CMAC
+
+
+//pdata:data length
+//regb:last data
+ali_mesh_encrypt_base_function_k2_AES_CMAC_T:
+	fetcht 1,mem_k2_P_len
+	increase 1,temp
+	iadd temp,temp
+	storet 1,mem_AES_CMAC_data_length
+	copy rega,contr
+	copy pdata,loopcnt
+	call memcpy_fast
+	fetcht 1,mem_k2_P_len
+	copy temp,loopcnt
+	call memcpy
+	copy regb,pdata
+	istore 1,contw
+	arg mem_k2_T,rega
+	branch ali_mesh_encrypt_base_function_AES_CMAC + 3
+
+
+//input:
+//pdata:data length
+//contr:data prt
+//rega:key ptr
+//output:
+//alarm:output prt
+ali_mesh_encrypt_base_function_AES_CMAC:
+	store 1,mem_AES_CMAC_data_length
+	copy pdata,loopcnt
+	call memcpy_fast
+	copy rega,contr
+	arg mem_AES_CMAC_k,contw
+	call memcpy16
+ 	arg MESH_ENCRYPT_AES_CMAC_FUNCTION_INPUT_M,regb
+	arg memdat,rega
+	fetchr loopcnt,1,mem_AES_CMAC_data_length
+	call logging_tx_debug
+ 	arg MESH_ENCRYPT_AES_CMAC_FUNCTION_INPUT_K,regb
+	arg mem_AES_CMAC_k,rega
+	arg 16,loopcnt
+	call logging_tx_debug
+	call function_AES_CMAC
+	copy alarm,contw
+	call store_aes_result
+ 	arg MESH_ENCRYPT_AES_CMAC_FUNCTION_RESULT,regb
+	copy alarm,rega
+	arg 16,loopcnt
+	branch logging_tx_debug
+
+
+////////////
+ali_B0_block_generate:
+ 	fetcht 1,mem_ccm_type
+ 	branch  ali_block_generate
+ali_A_block_generate:
+	force 0x01,temp
+ali_block_generate:
+	force regidx_data,regext_index
+	fetch 2,mem_nonce_ptr
+	copy pdata,contr
+	ifetch 3,contr
+	lshift8 pdata,pdata
+	ior temp, regext
+	increase 1,regext_index
+	ifetch 4,contr
+	copy pdata,regext
+	increase 1,regext_index
+	ifetch 4,contr
+	copy pdata,regext
+	increase 1,regext_index
+	byteswap rega,regext
+	lshift16 regext,regext
+	ifetch 2,contr
+	ior regext,regext
+	rtn
+ali_generate_mic:
+	fetch 1,mem_ccm_data_len
+	copy pdata,rega
+	call ali_B0_block_generate
+	call do_aes_ocb
+	force regidx_result,regext_index
+	deposit regext
+	copy rega,loopcnt
+	fetcht 2,mem_ccm_data_ptr
+	copy temp,contr
+	call padding_data
+	branch generate_mic_loop
+ali_CCM_encrypt_64Bit:
+	jam MIC_SIZE_64BIT,mem_ccm_type
+	branch ali_CCM_encrypt_function
+ali_CCM_encrypt:
+	jam MIC_SIZE_32BIT,mem_ccm_type
+	branch ali_CCM_encrypt_function
+ali_CCM_encrypt_function:
+	store 1,mem_ccm_data_len
+	storet 2,mem_ccm_data_ptr
+	bpatchx patch3e_3,mem_patch3e
+	call ali_generate_mic
+	force regidx_xor,regext_index
+	iforce regext
+	force regidx_result+1,regext_index
+	copy regext,pdata
+	force regidx_xor+1,regext_index
+	iforce regext
+	force 0,rega
+	copy temp,regc
+	call ali_A_block_generate
+	call do_aes_ctr
+	call ali_fetcht_ccm_mic
+	storet 8,mem_ccm_mic
+	fetch 1,mem_ccm_data_len
+	copy pdata,regb
+	call ali_aes_crypt_data
+	fetcht 1,mem_ccm_data_len
+	fetch 2,mem_ccm_data_ptr
+	iadd temp,rega
+	fetcht 8,mem_ccm_mic
+	istoret 4,rega
+	fetch 1,mem_ccm_type
+	sub pdata,MIC_SIZE_32BIT,pdata
+	rtn blank
+	istoret 8,rega
+	rtn
+ali_CCM_decrypt_64Bit:
+	jam MIC_SIZE_64BIT,mem_ccm_type
+	branch ali_CCM_decrypt_function
+ali_CCM_decrypt:
+	jam MIC_SIZE_32BIT,mem_ccm_type
+	branch ali_CCM_decrypt_function
+ali_CCM_decrypt_function:
+	store 1,mem_ccm_data_len
+	storet 2,mem_ccm_data_ptr
+	copy temp,regc
+	copy pdata,regb
+	iadd regc,contr
+	bpatchx patch3e_4,mem_patch3e
+	ifetch 8,contr
+	force regidx_xor,regext_index
+	iforce regext
+	force regidx_xor+1,regext_index
+	rshift32 pdata,pdata
+	iforce regext
+	force 0,rega
+	call ali_A_block_generate
+	call do_aes_ctr
+	call ali_fetcht_ccm_mic
+	storet 8,mem_ccm_mic
+	call ali_aes_crypt_data
+	call ali_generate_mic
+	call ali_fetcht_ccm_mic
+	fetch 1,mem_ccm_type
+	beq MIC_SIZE_64BIT,ali_CCM_decrypt_function_check_mic64
+	storet 4,mem_ccm_mic+4
+	fetch 4,mem_ccm_mic
+	fetcht 4,mem_ccm_mic+4
+	isub temp,pdata
+	rtn
+
+ali_CCM_decrypt_function_check_mic64:
+	fetch 8,mem_ccm_mic
+	isub temp,pdata
+	rtn
+
+ali_fetcht_ccm_mic:
+	force regidx_result,regext_index
+	deposit regext
+	force regidx_result+1,regext_index
+	copy regext,temp
+	lshift16 temp,temp
+	lshift16 temp,temp
+	ior temp,temp
+   	rtn
+ali_aes_crypt_data: 
+	increase 1,rega
+	call ali_A_block_generate
+	copy regc,contr
+	call aes_load_xor
+	call do_aes_ctr
+	call store_enc_data
+	increase 16,regc
+	increase -16,regb
+	branch ali_aes_crypt_data,positive
+	rtn
+////////////
+
+
+
+
+
+
+
+
+mesh_send_Unprovisioned_Beacons:
+	jam UNPROVISIONED_BEACON_STATUS,mem_mesh_provisioned_flag
+	jam 0x00,mem_mesh_Provisioning_State_Flag
+	jam 1,mem_mesh_advertising_unprovisioned_device_beacon_switch
+	setarg ADV_UNPROVISIONED_DEVICE_BEACON_TIMEOUT
+	store 2, mem_mesh_advertising_unprovisioned_device_beacon_timer
+	rtn
+
+//初始化UUID 三元组参数和feature Flag
+ali_mesh_config_device_uuid_by_three_tuple:
+	setarg COMPANY_IDENTIFIERS_ALIBABA
+	store 2,mem_mesh_Device_UUID
+	fetch 1,mem_mesh_Device_PID
+	istore 1,contw
+	fetch 4,mem_mesh_three_tuple_ProductID
+	call inverse_data_4Byte
+	istore 4,contw
+	fetch 6,mem_le_lap
+	istore 6,contw
+	fetch 3,mem_mesh_UUID_FeatureFlag
+	istore 3,contw
+	rtn
+
+ali_mesh_send_Unprovisioned_Beacons_tmall:
+	call ali_mesh_init_adv_data_tmall_Unprovisioned_beacons_package
+	branch mesh_le_send_adv
+
+ali_mesh_init_adv_data_tmall_Unprovisioned_beacons_package:
+//mem Beacon Tmall Length
+	jam 0x15,mem_mesh_adv_data_len
+	setarg 0x14
+	store 1,mem_mesh_adv_data
+	setarg GAP_ADTYPE_MESH_BEACON
+	istore 1,contw
+	setarg UNPROVISIONED_DEVICE_BEACON
+	istore 1,contw
+ali_mesh_advertising_send_Unprovisioned_Beacons_store_device_uuid:
+	arg mem_mesh_Device_UUID,contr
+	call memcpy16
+	fetch 2,mem_mesh_OOB_information
+	istore 2,contw
+	rtn
+
+
+ali_mesh_advertising_send_Unprovisioned_Beacons_Gatt:
+	fetch 1,mem_mesh_core_feature
+	rtnbit1 MESH_FEATURE_DISABLE_APP_PAIRING
+	call ali_mesh_init_adv_data_gatt_Unprovisioned_beacons_package
+	branch mesh_le_send_adv
+
+ali_mesh_init_adv_data_gatt_Unprovisioned_beacons_package:
+	jam 0x1d,mem_mesh_adv_data_len
+	call ali_mesh_advertising_add_adtype_flags
+	call ali_mesh_advertising_add_adtype_16bit_complete
+	call ali_mesh_advertising_add_adtype_service_data
+	branch ali_mesh_advertising_send_Unprovisioned_Beacons_store_device_uuid
+
+//input:temp is uuid MESH_PROVISIONING_UUID
+ali_mesh_advertising_add_adtype_service_data:
+	setarg 0x15
+	istore 1,contw
+	setarg GAP_ADTYPE_SERVICE_DATA
+	istore 1,contw
+	istoret 2,contw
+	rtn
+
+
+ali_mesh_receive_adtype_manufacturer_specific:
+	add temp,-1,loopcnt
+	call ali_mesh_receive_provisioning_package_check_header
+	nrtn user
+	ifetch 1,contr	//provisioning type
+	beq PROVISIONING_RANDOM,ali_mesh_advertising_receive_Privisioning_Random
+	beq PROVISIONING_DATA,ali_mesh_advertising_receive_Privisioning_Data
+	beq PROVISIONING_IOS_DATA,ali_mesh_advertising_receive_Privisioning_ios_Data
+	rtn
+
+
+//receive provisioning random
+ali_mesh_advertising_receive_Privisioning_Random:
+	call ali_mesh_advertising_receive_Privisioning_Random_check_states
+	nrtn user
+ali_mesh_advertising_calc_encrypt_random_data:
+	call ali_mesh_encrypt_calc_random_data
+//	call mesh_reset_adv_timer
+	call ali_mesh_advertising_send_Provisioning_Confirmation
+	branch loggint_tx_info_send_confirmation_packet
+//send provisioning confirmation
+ali_mesh_advertising_send_Provisioning_Confirmation:
+	arg PROVISIONING_PACKET_CONFIRMATION_MAC+PROVISIONING_PACKET_CONFIRMATION_DEVICE,temp
+	call ali_mesh_advertising_send_packet_common
+	setarg PROVISIONING_CONFIRMATION
+	istore 1,contw
+	fetch 2,mem_mesh_three_tuple_MAC+4
+	istore 2,contw
+	arg mem_mesh_ConfirmationDevice,contr
+	branch memcpy16
+
+//output:disable user mean is cannot true package
+ali_mesh_advertising_receive_Privisioning_Random_check_states:
+	call disable_user
+	ifetcht 2,contr
+	arg mem_mesh_provisioning_random_A,contw
+	call memcpy16
+	fetch 2,mem_mesh_three_tuple_MAC+4
+	isub temp,null
+	nrtn zero									//MAC地址不对
+
+	//ios APP 配网会先发送config
+//	fetch 1,mem_mesh_provisioned_flag
+//	rtnne UNPROVISIONED_BEACON_STATUS	//不处于静默广播状态
+		
+	fetch 1,mem_mesh_Provisioning_State_Flag
+	rtnbit1 RECEIVE_PROVISIONING_RANDOM
+	set1 RECEIVE_PROVISIONING_RANDOM,pdata			// FLAG bit1:Provisioning Confirmation
+	store 1,mem_mesh_Provisioning_State_Flag
+
+	jam PAIRING_STATUS,mem_mesh_provisioned_flag		//
+
+	call loggint_tx_info_receive_random_packet
+	branch enable_user
+
+//receive provisioning data
+ali_mesh_advertising_receive_Privisioning_Data:
+	copy contr,rega
+	fetch 1,mem_mesh_provisioned_flag
+	rtneq PAIRED_STATUS	//不处于已配网状态
+	fetch 1,mem_mesh_Provisioning_State_Flag
+	rtnbit0 RECEIVE_PROVISIONING_RANDOM
+	rtnbit1 RECEIVE_PROVISIONING_DATA
+	copy rega,contr
+	arg 0x16,loopcnt
+	arg mem_mesh_Encrypt_Provisioning_Data,contw
+	call memcpy
+	//没有收到random，重复收到data
+	call ali_mesh_encrypt_calc_provisioning_data
+	
+	fetcht 2,mem_mesh_provisioning_data_Mac_addr
+	fetch 2,mem_mesh_three_tuple_MAC+4
+	isub temp,null
+	nrtn zero
+ali_mesh_resolve_Privisioning_Data_package:
+	call loggint_tx_info_receive_data_packet
+	fetch 1,mem_mesh_Provisioning_State_Flag
+	set1 RECEIVE_PROVISIONING_DATA,pdata
+	store 1,mem_mesh_Provisioning_State_Flag
+
+	call ali_mesh_encrypt_calc_network_key_by_k2
+
+	fetch 1,mem_mesh_last_IV_Index_byte
+	store 1,mem_mesh_IV_Index+3
+	call ali_mesh_advertising_send_Provisioning_Complete
+	branch loggint_tx_info_send_complete_packet
+
+
+//send provisioning complete
+ali_mesh_advertising_send_Provisioning_Complete:
+	arg PROVISIONING_PACKET_COMPLETE_MAC,temp
+	call ali_mesh_advertising_send_packet_common
+	setarg PROVISIONING_COMPLETE
+	istore 1, contw
+	fetch 6,mem_mesh_three_tuple_MAC
+	istore 6,contw
+	rtn
+
+ali_mesh_advertising_receive_Privisioning_ios_Data:
+	arg MAX_LENGTH_PRIVISIONING_CONTROL_MSG_ANDROID,regb
+	branch ali_mesh_resolve_app_control_msg_package
+
+//tmall send provisioning packet head
+//input:temp is data lenth,不包括type字节
+ali_mesh_advertising_send_packet_common:
+	bpatchx patch3e_5,mem_patch3e
+	call ali_mesh_advertising_reset_adv_timer
+	setarg 0x8fff		//about 11s
+	store 2,mem_mesh_send_packet_timeout
+	call ali_mesh_control_ble_advertising_on_advertising
+	add temp,PROVISIONING_PACKET_LENGTH_AD_TYPE_COMPANY_ID_VID_PROVISIONING_TYPE+PROVISIONING_PACKET_LENGTH_FLAGS,pdata
+	store 1,mem_mesh_adv_data_len
+	call ali_mesh_advertising_add_adtype_flags
+	add temp,PROVISIONING_PACKET_AD_TYPE_COMPANY_ID_VID_PROVISIONING_TYPE,pdata
+	istore 1,contw
+	setarg GAP_ADTYPE_MANUFACTURER_SPECIFIC
+	istore 1,contw
+	setarg COMPANY_IDENTIFIERS_ALIBABA
+	byteswap pdata,pdata
+	istore 2,contw
+	fetch 1,mem_mesh_receive_VID
+	istore 1,contw
+	rtn
+
+
+//压力测试时，成功率比较高的时间
+//mesh广播超时11s左右，一个包最多发送11s
+ali_mesh_advertising_timer:
+//未配网设备，不开启定时器
+	fetch 4,mem_mesh_adv_last_time
+	nbranch ali_mesh_advertising_check_adv_timer,blank
+	branch ali_mesh_advertising_reset_adv_timer
+
+ali_mesh_advertising_check_adv_timer:
+	deposit clkn_bt
+	fetcht 4,mem_mesh_adv_last_time
+	isub temp,temp
+	fetch 2,mem_mesh_send_packet_timeout
+	isub temp,null
+	rtn positive
+ali_mesh_advertising_adv_timer_timeout:
+	call ali_mesh_control_ble_advertising_off_advertising
+	fetch 2,mem_mesh_cb_pairing_fail
+	branch callback_func
+ali_mesh_advertising_reset_adv_timer:
+	deposit  clkn_bt
+	store 4,mem_mesh_adv_last_time
+	rtn
+
+
+logging_tx_debug_receive_provisioning_packet:
+	add contr,-3,rega
+	arg MESH_RECEIVE_PROVISIONING_PACKET,regb
+	branch logging_tx_debug
+
+loggint_tx_info_receive_random_packet:
+	arg 1,loopcnt
+	arg MESH_RECEIVE_PROVISIONING_RANDOM_PACKET,regb
+	arg mem_mesh_Provisioning_State_Flag,rega
+	branch logging_tx_info
+
+loggint_tx_info_send_confirmation_packet:
+	fetchr loopcnt,1,mem_mesh_adv_data_len
+	arg MESH_SEND_PROVISIONING_CONFIRMATION_PACKET,regb
+	arg mem_mesh_adv_data,rega
+	branch logging_tx_info
+
+loggint_tx_info_receive_data_packet:
+	arg 1,loopcnt
+	arg MESH_RECEIVE_PROVISIONING_DATA_PACKET,regb
+	arg mem_mesh_Provisioning_State_Flag,rega
+	branch logging_tx_info
+
+
+loggint_tx_info_send_complete_packet:
+	fetchr loopcnt,1,mem_mesh_adv_data_len
+	arg MESH_SEND_PROVISIONING_COMPLETE_PACKET,regb
+	arg mem_mesh_adv_data,rega
+	branch logging_tx_info
+
+
+
+ali_mesh_receive_adtype_128bit_uuid_complete:
+	call ali_mesh_receive_adtype_128bit_uuid_complete_store_uuid
+	nrtn user		//check compand ID & VID
+	fetch 1,mem_mesh_receive_service_uuid_ios_data_provisioning_type
+	beq PROVISIONING_IOS_DATA,ali_mesh_ios_gatt_packet_parse_provisioning_app_control
+ali_mesh_ios_gatt_packet_pairing_type:
+	fetch 1,mem_mesh_provisioned_flag
+	rtneq PAIRED_STATUS		//pairing status
+	rtneq SILENCE_BEACON_STATUS	//silence beacon status
+	fetch 2,mem_mesh_receive_service_uuid_mac
+	fetcht 2,mem_mesh_three_tuple_MAC+4
+	isub temp,null
+	nrtn zero						//check Mac legel
+	arg mem_mesh_receive_service_uuid_msg_id,rega
+	arg MAX_LENGTH_PRIVISIONING_PAIRING_MSG_IOS,regb
+	call ali_mesh_app_control_package_check_integrity
+	rtn user
+	bpatchx patch3e_6,mem_patch3e
+	fetch 1,mem_mesh_receive_service_uuid_provisioning_type
+	beq PROVISIONING_RANDOM,ali_mesh_ios_gatt_packet_parse_provisioning_random
+	beq PROVISIONING_DATA,ali_mesh_ios_gatt_packet_parse_provisioning_data
+	beq PROVISIONING_CONFIG,ali_mesh_ios_gatt_packet_parse_provisioning_config
+	rtn
+
+
+ali_mesh_ios_gatt_packet_parse_provisioning_random:
+	fetch 2,mem_mesh_three_tuple_MAC+4
+	store 2,mem_mesh_gatt_package_receive_MAC
+	arg mem_mesh_gatt_package_receive_MAC,contr
+	branch ali_mesh_advertising_receive_Privisioning_Random
+
+
+ali_mesh_ios_gatt_packet_parse_provisioning_data:
+//后期看能不能复用优化代码
+	fetch 1,mem_mesh_provisioned_flag
+	rtneq PAIRED_STATUS	//不处于已配网状态	
+	fetch 1,mem_mesh_Provisioning_State_Flag
+	rtnbit0 RECEIVE_PROVISIONING_RANDOM
+	rtnbit1 RECEIVE_PROVISIONING_DATA
+	arg mem_mesh_gatt_package_receive_msg_payload,contr
+	arg 0x14,loopcnt
+	arg mem_mesh_KeyFresh_and_Update_flag,contw
+	call memcpy
+	call ali_mesh_encrypt_calc_provisioning_data_calc_SessionKey
+	arg mem_mesh_KeyFresh_and_Update_flag,rega
+	arg memresult,regb
+	arg 0x0a,loopcnt
+	call ali_mesh_encrypt_calc_provisioning_data_xor_prov_data_loop
+	branch ali_mesh_resolve_Privisioning_Data_package
+
+
+ali_mesh_ios_gatt_packet_parse_provisioning_config:
+	fetch 1,mem_mesh_provisioned_flag
+	rtnne UNPROVISIONED_BEACON_STATUS
+	jam PAIRING_STATUS,mem_mesh_provisioned_flag
+
+ali_mesh_ios_gatt_packet_send_provisioning_config_ack:
+	arg PROVISIONING_CONFIG_ACK_MAC+PROVISIONING_CONFIG_ACK_FIELD,temp
+	call ali_mesh_advertising_send_packet_common
+	setarg PROVISIONING_CONFIG_ACK
+	istore 1,contw
+	fetch 2,mem_mesh_three_tuple_MAC+4
+	istore 2,contw
+	setarg PROVISIONING_CONFIG_ACK_NOTE
+	istore 1,contw
+	rtn
+
+ali_mesh_ios_gatt_packet_parse_provisioning_app_control:
+//	fetch 1,mem_mesh_provisioned_flag
+//	rtnne PAIRED_STATUS		//not pairing status
+	arg mem_mesh_receive_service_uuid_ios_data_NID,contr
+	arg MAX_LENGTH_PRIVISIONING_CONTROL_MSG_IOS,regb
+ali_mesh_resolve_app_control_msg_package:
+	bpatchx patch3e_7,mem_patch3e
+	ifetch 1,contr
+	copy contr,rega
+	fetcht 1,mem_k2_NID
+	isub temp,null
+	nrtn zero
+	call ali_mesh_advertising_reset_adv_timer				//接收到正确的APP包，reset timer
+	call ali_mesh_app_control_package_check_integrity
+	rtn user
+	jam MESH_MESSAGE_APP,mem_mesh_network_packet_type
+	fetcht 1,mem_mesh_gatt_package_receive_msg_total_length
+	increase 1,temp
+	arg mem_mesh_gatt_package_receive_msg_payload,contr
+	branch ali_mesh_network_layer_recevice_network_pdu
+
+
+ali_mesh_receive_adtype_128bit_uuid_complete_store_uuid:
+	arg mem_mesh_receive_service_uuid_company_id,contw
+	call memcpy16
+	arg mem_mesh_receive_service_uuid_company_id,rega
+	arg 16,loopcnt
+	call inverse_data
+	arg 16,loopcnt
+	arg mem_mesh_receive_service_uuid_company_id,contr
+	branch ali_mesh_receive_provisioning_package_check_header
+
+ali_mesh_receive_provisioning_package_check_header:
+	call disable_user
+	ifetcht 2,contr
+	setarg COMPANY_IDENTIFIERS_ALIBABA
+	byteswap pdata,pdata
+	isub temp,null
+	nrtn zero	//判断company id和VID是否正确
+	ifetch 1,contr
+	store 1,mem_mesh_receive_VID
+	call enable_user
+	branch logging_tx_debug_receive_provisioning_packet
+
+
+ali_mesh_app_control_package_check_integrity:
+	bpatchx patch3f_0,mem_patch3f
+	call ali_mesh_app_control_package_check_MsgId_legal
+	branch ali_mesh_app_control_package_check_rev_complete
+
+
+ali_mesh_app_control_package_check_rev_complete:
+	add rega,GATT_PACKAGE_PACKAGE_NUM,contr
+	ifetcht 1,contr
+	rshift4 temp,pdata
+	beq 1,ali_mesh_gatt_package_check_integrity_unsegment
+ali_mesh_gatt_package_check_integrity_segment:
+	sub pdata,MAX_GATT_PACKAGE_NUM,null
+	nbranch enable_user,positive	//分段过多,包接收错误，不解析
+	copy pdata,loopcnt
+	call ali_mesh_gatt_package_check_integrity_segment_expect_package_num
+	and temp,0x0f,queue
+	isub queue,null		//是否为最后一包
+	call ali_mesh_gatt_package_check_integrity_segment_calc_total_length,zero
+	increase -1,queue
+	fetch 1,mem_mesh_gatt_package_receive_msg_num
+	qisolate1 pdata
+	branch enable_user,true		//小包重传
+	qset1 pdata
+	store 1,mem_mesh_gatt_package_receive_msg_num
+	add rega,GATT_PACKAGE_LENGTH,contr
+	ifetch 1,contr
+	copy pdata,loopcnt
+	copy regb,pdata
+	imul32 queue,pdata
+	arg mem_mesh_gatt_package_receive_msg_payload,contw
+	iadd contw,contw
+	call memcpy_fast
+	fetch 1,mem_mesh_gatt_package_receive_msg_num
+	isub regc,null
+	ncall enable_user,zero
+	nbranch ali_mesh_gatt_package_store_receive_msg_buffer,zero		//没有接收完整
+ali_mesh_gatt_package_check_integrity_segment_complete:
+	call ali_mesh_gatt_package_clear_receive_msg_buffer				//complete packet 
+	branch disable_user
+
+//计算包长度regb*(总包数-1)+最后一包长度
+ali_mesh_gatt_package_check_integrity_segment_calc_total_length:
+	pincrease -1
+	imul32 regb,pdata
+	add rega,GATT_PACKAGE_LENGTH,contr
+	ifetcht 1,contr
+	iadd temp,pdata
+	store 1,mem_mesh_gatt_package_receive_msg_total_length
+	rtn
+
+ali_mesh_gatt_package_check_integrity_segment_expect_package_num:
+	arg 0,regc
+ali_mesh_gatt_package_check_integrity_segment_expect_package_num_loop:
+	add loopcnt,-1,queue
+	qset1 regc
+	loop ali_mesh_gatt_package_check_integrity_segment_expect_package_num_loop
+	rtn
+
+
+ali_mesh_gatt_package_store_receive_msg_buffer:
+	fetch 2,mem_mesh_gatt_package_receive_msg_buffer_ptr
+	copy pdata,contw
+	arg mem_mesh_gatt_package_receive_msg_buffer_temp,contr
+	arg 33,loopcnt
+	branch memcpy_fast
+
+//单包不保存，每次上报接收到数据
+ali_mesh_gatt_package_check_integrity_unsegment:
+	ifetch 1,contr
+	copy pdata,loopcnt
+	store 1,mem_mesh_gatt_package_receive_msg_total_length
+	arg mem_mesh_gatt_package_receive_msg_payload,contw
+	call memcpy
+	branch disable_user
+
+
+//检测MSG ID是否合法
+ali_mesh_app_control_package_check_MsgId_legal:
+	jam GATT_RECEIVE_TIMEOUT,mem_mesh_gatt_receive_msg_timer
+	call ali_mesh_gatt_package_get_MsgId
+	//检查第一块buffer的id
+	fetcht 2,mem_mesh_gatt_packet_receive_msg_buffer1
+	isub temp,null
+	//与接收到的id相等
+	branch ali_mesh_gatt_package_load_receive_msg_buffer1,zero
+	sub temp,0,null
+	//id=0 意味为空
+	branch ali_mesh_gatt_package_load_receive_msg_buffer1,zero
+	//检查第二块buffer的id
+	fetcht 2,mem_mesh_gatt_packet_receive_msg_buffer2
+	isub temp,null
+	//与接收到的id相等
+	branch ali_mesh_gatt_package_load_receive_msg_buffer2,zero
+	sub temp,0,null
+	//id=0 意味为空
+	branch ali_mesh_gatt_package_load_receive_msg_buffer2,zero
+	//last package not receive complete, new package receive ,discard last package
+	call ali_mesh_gatt_package_clear_receive_msg_buffer
+	call ali_mesh_gatt_package_get_MsgId
+	branch ali_mesh_gatt_package_load_receive_msg_buffer1
+
+//if MsgId=0,set MsgId=0x100
+ali_mesh_gatt_package_get_MsgId:
+	ifetch 1,rega
+	rtn blank
+	set1 8,pdata
+	rtn
+
+ali_mesh_gatt_package_load_receive_msg_buffer1:
+	store 2,mem_mesh_gatt_packet_receive_msg_buffer1
+	setarg mem_mesh_gatt_packet_receive_msg_buffer1
+	branch ali_mesh_gatt_package_load_receive_msg_buffer
+ali_mesh_gatt_package_load_receive_msg_buffer2:
+	store 2,mem_mesh_gatt_packet_receive_msg_buffer2
+	setarg mem_mesh_gatt_packet_receive_msg_buffer2
+	branch ali_mesh_gatt_package_load_receive_msg_buffer
+ali_mesh_gatt_package_load_receive_msg_buffer:
+	store 2,mem_mesh_gatt_package_receive_msg_buffer_ptr
+	copy pdata,contr
+	arg mem_mesh_gatt_package_receive_msg_buffer_temp,contw
+	arg GATT_RECEIVE_MSG_BUFFER_SIZE,loopcnt
+	branch memcpy_fast
+
+
+ali_mesh_gatt_package_receive_timer:
+	arg mem_mesh_gatt_receive_msg_timer,regc
+	arg ali_mesh_gatt_package_clear_receive_msg_buffer, regb
+	branch timer_single_step
+
+ali_mesh_gatt_package_clear_receive_msg_buffer:
+	arg mem_mesh_gatt_packet_receive_msg_buffer1,contw
+	arg GATT_RECEIVE_MSG_BUFFER_SIZE+GATT_RECEIVE_MSG_BUFFER_SIZE,loopcnt
+	branch clear_mem
+
+
+
+
+
+ali_mesh_access_layer_config_or_health_message_opcode:
+	fetch 1,mem_mesh_configuration_health_message_opcode
+	beq MESH_MESSAGE_OPCODE_CONFIG_NODE_RESET_NO_HEAD,ali_mesh_access_layer_config_or_health_message_opcode_node_reset
+	beq MESH_MESSAGE_OPCODE_CONFIG_MODEL_SUBSCRIPTION_ADD_NO_HEAD,ali_mesh_message_config_modle_subscription_add
+	beq MESH_MESSAGE_OPCODE_CONFIG_MODEL_SUBSCRIPTION_DELETE_NO_HEAD,ali_mesh_message_config_modle_subscription_delete
+	rtn
+
+
+ali_mesh_access_layer_config_or_health_message_opcode_node_reset:
+	call ali_mesh_access_layer_send_config_node_reset_status
+	fetch 2,mem_mesh_cb_receive_node_reset
+	branch callback_func
+ali_mesh_access_layer_send_config_node_reset_status:
+	setarg MESH_CONFIGURATION_AND_HEALTH_MESSAGE_OPCODE_HEADER
+	store 1,mem_mesh_access_layer_payload
+	setarg MESH_MESSAGE_OPCODE_CONFIG_NODE_RESET_STATUS_NO_HEAD
+	istore 1,contw
+	jam 2,mem_mesh_access_layer_payload_len
+	branch ali_mesh_upper_transport_layer_send_access_message
+
+
+ali_mesh_message_config_modle_subscription_add:
+	call ali_mesh_message_config_modle_subscription_status
+	fetch 2,mem_mesh_core_feature
+	rtnbit1 MESH_FEATURE_DISABLE_SUBSCRIPTION
+	call ali_mesh_message_config_modle_subscription_check_element
+	call ali_mesh_message_config_modle_subscription_add_value_address
+	fetch 2,mem_mesh_cb_subscriptuion_list_changed
+	branch callback_func
+
+	
+ali_mesh_message_config_modle_subscription_delete:
+	call ali_mesh_message_config_modle_subscription_status
+	fetch 2,mem_mesh_core_feature
+	rtnbit1 MESH_FEATURE_DISABLE_SUBSCRIPTION
+	call ali_mesh_message_config_modle_subscription_check_element
+	fetcht 2,mem_mesh_subscription_value_address
+	rshift8 temp,pdata
+	rshift4 pdata,pdata
+	beq 0x0c,ali_mesh_message_config_modle_subscription_delete_group_addr
+	call ali_mesh_message_config_modle_subscription_check_value_address
+	nrtn user
+	setarg 0
+	istore 2,rega
+	fetch 2,mem_mesh_cb_subscriptuion_list_changed
+	branch callback_func
+
+ali_mesh_message_config_modle_subscription_delete_group_addr:
+	setarg -1
+	istore SUBSCRIPTION_MAX_COUNT,rega
+	istore SUBSCRIPTION_MAX_COUNT,contw
+	fetch 2,mem_mesh_cb_subscriptuion_list_changed
+	branch callback_func
+
+ali_mesh_message_config_modle_subscription_check_value_address:
+	arg SUBSCRIPTION_MAX_COUNT,loopcnt
+ali_mesh_message_config_modle_subscription_check_value_address_loop:
+	ifetch 2,rega
+	arg 0xffff,regb
+	isub regb,null
+	branch enable_user,zero
+	isub temp,null
+	branch enable_user,zero
+ali_mesh_message_config_modle_subscription_check_value_address_loop_empty:
+	increase 2,rega
+	loop ali_mesh_message_config_modle_subscription_check_value_address_loop
+	call disable_user
+	rtn
+
+
+ali_mesh_message_config_modle_subscription_status:
+	setarg MESH_CONFIGURATION_AND_HEALTH_MESSAGE_OPCODE_HEADER
+	store 1,mem_mesh_access_layer_payload
+	setarg MESH_MESSAGE_OPCODE_CONFIG_MODEL_SUBSCRIPTION_STATUS_NO_HEAD
+	istore 1,contw
+	setarg MESH_SUCCESS
+	istore 1,contw
+	fetch 6,mem_mesh_subscription_element_address
+	istore 6,contw
+	jam 9,mem_mesh_access_layer_payload_len
+	branch ali_mesh_upper_transport_layer_send_access_message_without_cleat_tx_buffer
+
+ali_mesh_message_config_modle_subscription_check_element:
+	call mesh_get_element_info_config
+	add rega,ELEMENT_DEVICE_SUBSCRIPTION_LABEL,rega
+	fetch 2,mem_mesh_subscription_element_address
+	fetcht 2,mem_mesh_Unicast_Address
+	byteswap temp,temp
+	isub temp,pdata
+	imul32 regb,pdata
+	iadd rega,rega
+	rtn
+
+ali_mesh_message_config_modle_subscription_add_value_address:
+	fetcht 2,mem_mesh_subscription_value_address
+	arg SUBSCRIPTION_MAX_COUNT,loopcnt
+ali_mesh_message_config_modle_subscription_add_value_address_loop:
+	ifetch 2,rega
+	branch ali_mesh_message_config_modle_subscription_add_value_address_in,blank
+	arg 0xffff,regb
+	isub regb,null
+	branch ali_mesh_message_config_modle_subscription_add_value_address_in,zero
+	increase 2,rega
+	loop ali_mesh_message_config_modle_subscription_add_value_address_loop
+	rtn
+
+ali_mesh_message_config_modle_subscription_add_value_address_in:
+	byteswap temp,temp	//地址高低位交换后存入eeprom
+	istoret 2,rega
+	rtn
+
+
+
+
+ali_mesh_init:
+	call init_memp
+
+	setarg mesh_check_ble_rx_packet
+	store 2,mem_mesh_cb_receive_advertising
+
+	setarg mesh_idle_process
+	store 2,mem_cb_idle_process
+
+	setarg ali_mesh_network_layer_relay_access_message
+	store 2,mem_mesh_cb_network_relay
+
+	setarg mesh_receive_config_appkey_add_cb
+	store 2,mem_mesh_cb_receive_config_appkey_add
+
+	setarg mesh_store_new_subscriptuion_list_data
+	store 2,mem_mesh_cb_subscriptuion_list_changed
+
+	setarg mesh_store_new_seq_data
+	store 2,mem_mesh_cb_seq_changed
+
+	setarg mesh_cb_event_timer
+	store 2,mem_cb_event_timer
+
+	setarg ali_mesh_access_layer_check_access_message_opcode
+	store 2,mem_mesh_cb_receive_access_message
+
+	setarg mesh_le_wait_adv_cb
+	store 2,mem_mesh_scan_selete_next_ch
+
+	setarg mesh_le_receive_data
+	store 2,mem_cb_att_write
+
+	setarg ali_mesh_proxy_process_bb_event
+	store 2,mem_cb_bb_event_process
+
+	jam 36,mem_mesh_adv_scan_channel
+	call ali_mesh_ali_vendor_message_indication_info_reset_tid
+
+	bpatchx patch3f_1,mem_patch3f
+	call mesh_uart_init
+	call mesh_iic_init
+	arg mem_mesh_Network_Key,rega
+	arg MESH_CODE_INIT,regb
+	arg 1,loopcnt
+	call logging_tx_info
+
+	call ali_mesh_chip_peripherals_load_data_from_eep
+	call mesh_inverse_three_tuple_MAC
+	fetch 1,mem_mesh_Network_Key
+	beq 0xff,mesh_send_Unprovisioned_Beacons
+
+	call ali_mesh_encrypt_base_function_k3
+	call ali_mesh_encrypt_base_function_k4
+	call ali_mesh_encrypt_calc_network_key_by_k2
+	branch ali_mesh_ali_vendor_message_opcode_device_power_on
+
+
+mesh_inverse_three_tuple_MAC:
+	fetch 6,mem_mesh_three_tuple_MAC
+	call inverse_data_6Byte
+	store 6,mem_le_lap
+	rtn
+
+mesh_get_element_info_config:
+	fetchr loopcnt,1,mem_mesh_element_number
+	fetchr rega,2,mem_mesh_element_device_ptr
+	fetchr regb,2,mem_mesh_element_device_length
+	rtn
+
+
+mesh_idle_process:
+	call ali_mesh_time_function
+	call ali_mesh_control_ble_adv_process
+	call ali_mesh_upper_transport_layer_control_packet
+	call ali_mesh_advertising_bearer_layer_load_packet_from_advertising_queue
+	branch mesh_receive_advertising
+
+
+mesh_cb_event_timer:
+	call ali_mesh_control_ble_adv_timer_process
+	branch ali_mesh_gatt_package_receive_timer
+
+
+ali_mesh_check_all_element_info:
+	call mesh_get_element_info_config
+ali_mesh_check_all_element_info_loop:
+	call ali_mesh_more_element_push_stack
+	copy regc,pdata
+	call callback_func
+	call ali_mesh_more_element_pop_stack
+	copy regb,pdata
+	iadd rega,rega
+	loop ali_mesh_check_all_element_info_loop
+	rtn
+
+
+mesh_iic_init:
+//	jam 0,0x8081
+	jam gpcfg_output_high,core_gpio_conf+2
+	jam gpcfg_iic_scl|gpcfg_pullup,core_gpio_conf+1
+	jam gpcfg_iic_sda|gpcfg_pullup,core_gpio_conf+0
+	branch clear_eeprom_size_2k
+
+
+ali_mesh_lower_transport_layer_receive_lower_transport_PDU:
+	bpatchx patch3f_2,mem_patch3f
+	fetch 1,mem_mesh_message_Transport_Head
+	bbit1 TRANSPORT_HEAD_BIT_SEG,ali_mesh_lower_transport_layer_receive_lower_transport_PDU_segmented_message
+	jam 0,mem_mesh_ASZMIC
+	branch ali_mesh_upper_transport_layer_receive_unsegmented_access_message
+
+//segmented message reassembly
+ali_mesh_lower_transport_layer_receive_lower_transport_PDU_segmented_message:
+	call ali_mesh_lower_transport_layer_receive_SegAccMess_resolve_SZMIC_SeqZero_SegON
+	rtn user
+	call ali_mesh_lower_transport_layer_receive_segmented_access_message_check_blockAck
+	rtn user
+	call ali_mesh_lower_transport_layer_receive_segmented_access_message_store_segment
+	branch ali_mesh_lower_transport_layer_receive_segmented_access_message_decrypt_segment
+
+//提取SZMIC/SeqZero/SegO/SegN
+//分别存储到SZMIC、SegO、SegN、SeqZero
+ali_mesh_lower_transport_layer_receive_SegAccMess_resolve_SZMIC_SeqZero_SegON:
+	call disable_user
+	arg 3,loopcnt
+	arg mem_mesh_message_segment_access_SZMIC_SeqZero_SegO_SegN,rega
+	call inverse_data
+	fetchr rega, 3,mem_mesh_message_segment_access_SZMIC_SeqZero_SegO_SegN
+	and rega,0x1f,temp
+	storet 1,mem_mesh_segmented_access_message_SegN
+	fetch 1, mem_mesh_segmented_access_message_SegN_upper_limit
+	isub temp, null
+	nbranch enable_user, positive
+	
+	rshift4 rega,pdata
+	rshift pdata,pdata
+	and pdata,0x1f,temp
+	storet 1,mem_mesh_segmented_access_message_SegO
+	rshift4 pdata,pdata
+	rshift pdata,pdata
+	arg 0x1fff,rega
+	iand rega,temp
+	copy pdata,regb
+	fetch 2,mem_mesh_segmented_access_message_SeqZero
+	isub temp,null
+	ncall ali_mesh_lower_transport_layer_receive_segmented_access_message_recover_SeqZero,zero
+	storet 2,mem_mesh_segmented_access_message_SeqZero
+	rshift8 regb,pdata
+	rshift4 pdata,pdata
+	rshift pdata,pdata
+	store 1,mem_mesh_segmented_access_message_SZMIC
+	store 1,mem_mesh_ASZMIC
+	rtn
+
+ali_mesh_lower_transport_layer_receive_segmented_access_message_recover_SeqZero:
+	setarg 0
+	store 4,mem_mesh_segmented_access_message_BlockAck
+	jam 0,mem_mesh_segmented_access_message_current_length
+	rtn
+
+
+//检查blockAck标志,返回值mem_mesh_segmented_access_message_receive_finish
+//1表示收到成功
+ali_mesh_lower_transport_layer_receive_segmented_access_message_check_blockAck:
+	call disable_user
+	fetch 1,mem_mesh_segmented_access_message_SegO
+	copy pdata,queue
+	fetch 4,mem_mesh_segmented_access_message_BlockAck
+	qisolate1 pdata
+	branch enable_user,true
+	qset1 pdata
+	store 4,mem_mesh_segmented_access_message_BlockAck
+	fetcht 1,mem_mesh_segmented_access_message_SegN
+	add temp,1,loopcnt
+ali_mesh_lower_transport_layer_receive_segmented_access_message_check_blockAck_loop:
+	add loopcnt,-1,queue
+	qisolate1 pdata
+	nrtn true
+	loop ali_mesh_lower_transport_layer_receive_segmented_access_message_check_blockAck_loop
+	jam 1,mem_mesh_segmented_access_message_receive_finish
+	rtn
+
+
+//存储segment m内容，放到mem_mesh_segmented_access_message_SegO
+ali_mesh_lower_transport_layer_receive_segmented_access_message_store_segment:
+	fetch 1,mem_mesh_message_Transport_NetMIC_length
+	pincrease -6	//DST(2) Head(1) SZMIC_SeqZero_SegO_SegN(3)
+	copy pdata,loopcnt 
+	fetcht 1,mem_mesh_segmented_access_message_current_length
+	iadd temp,temp
+	storet 1,mem_mesh_segmented_access_message_current_length
+	fetch 2, mem_mesh_segmented_access_message_Segment_ptr
+	iforce contw
+	fetch 1,mem_mesh_segmented_access_message_SegO
+	mul32 pdata,12,pdata
+	iadd contw,contw
+	arg mem_mesh_message_Transport_segmented_access_messagePDU_Segment,contr
+	branch memcpy
+
+//判断是否收完包，收完包，clear中间标志
+ali_mesh_lower_transport_layer_receive_segmented_access_message_decrypt_segment:
+	fetch 1,mem_mesh_segmented_access_message_receive_finish
+	rtneq 0
+	setarg 0
+	store 5,mem_mesh_segmented_access_message_BlockAck
+	fetcht 2,mem_mesh_message_SEQ+1
+	byteswap temp,temp
+	setarg 0xe000
+	iand temp,temp
+	fetch 2,mem_mesh_segmented_access_message_SeqZero
+	ior temp,pdata
+	byteswap pdata,pdata
+	store 2,mem_mesh_message_SEQ+1	//计算Application Nonce需要使用到初始的SEQ
+	branch ali_mesh_upper_transport_layer_receive_segmented_access_message
+
+
+//Unsegmented access message写入SEG、AKF、AID
+ali_mesh_lower_transport_layer_send_unsegmented_access_message:
+	fetch 1,mem_mesh_upper_transport_layer_payload_len
+	add pdata,1,temp
+	copy pdata,loopcnt
+	storet 1,mem_mesh_lower_transport_layer_payload_len
+	fetch 1,mem_mesh_message_Transport_Head
+	set0 TRANSPORT_HEAD_BIT_SEG,pdata
+	store 1,mem_mesh_unsegmented_access_lower_transport_layer_head
+	arg mem_mesh_access_layer_payload,contr
+	call memcpy_fast
+	branch ali_mesh_network_layer_send_access_message
+
+//segmented access message写入SEG、AKF、AID
+//input:rega is current segment payload length
+//contr is current segment payload ptr
+ali_mesh_lower_transport_layer_send_segmented_access_message:
+	add rega,4,temp
+	copy rega,loopcnt
+	storet 1,mem_mesh_lower_transport_layer_payload_len
+	arg mem_mesh_segmented_access_lower_transport_layer_parameters,contw
+	call memcpy_fast
+	fetch 1,mem_mesh_message_Transport_Head
+	set1 TRANSPORT_HEAD_BIT_SEG,pdata
+	store 1,mem_mesh_segmented_access_lower_transport_layer_head
+	branch ali_mesh_network_layer_send_access_message
+
+
+
+
+ali_mesh_model_layer_check_model_message_opcode:
+	fetch 1,mem_mesh_module_message_opcode
+ali_mesh_model_layer_check_generic_OnOff_message_opcde:
+	beq MESH_MODULE_MESSAGE_OPCODE_GENERIC_ONOFF_GET_NO_HEAD,ali_mesh_model_layer_message_opcode_generic_onoff_get
+	beq MESH_MODULE_MESSAGE_OPCODE_GENERIC_ONOFF_SET_NO_HEAD,ali_mesh_model_layer_message_opcde_generic_onoff_set
+	beq MESH_MODULE_MESSAGE_OPCODE_SCENE_RECALL_NO_HEAD,ali_mesh_model_layer_message_opcde_scene_recall
+	beq MESH_MODULE_MESSAGE_OPCODE_LIGHT_LIGHTNESS_SET_NO_HEAD,ali_mesh_model_layer_message_opcde_light_lightness_set
+	beq MESH_MODULE_MESSAGE_OPCODE_LIGHT_CTL_SET_NO_HEAD,ali_mesh_model_layer_message_opcde_light_ctl_set
+	rtn
+
+
+ali_mesh_model_layer_message_opcode_generic_onoff_get:
+	arg ali_mesh_model_layer_message_opcode_generic_onoff_get_cb,regc
+	branch ali_mesh_more_element_check_element_address
+ali_mesh_model_layer_message_opcode_generic_onoff_get_cb:
+	//input queue is element number
+	//output pdata is element generic OnOff status
+	fetch 2,mem_mesh_cb_generic_onoff_get
+	call callback_func
+	store 1,mem_mesh_generic_onoff_set_payload_OnOff
+	branch ali_mesh_access_layer_send_generic_onoff_status
+
+
+ali_mesh_model_layer_message_opcde_generic_onoff_set:
+	arg ali_mesh_model_layer_message_opcde_generic_onoff_set_cb,regc
+	branch ali_mesh_more_element_check_element_address
+ali_mesh_model_layer_message_opcde_generic_onoff_set_cb:
+	call ali_mesh_access_layer_send_generic_onoff_status
+	fetch 2,mem_mesh_cb_generic_onoff_set
+	branch callback_func
+
+
+//模式设置
+ali_mesh_model_layer_message_opcde_scene_recall:
+	call ali_mesh_access_layer_send_scene_status
+	fetch 2,mem_mesh_cb_scene_recall
+	branch callback_func
+
+
+ali_mesh_model_layer_message_opcde_light_lightness_set:
+	fetch 2,mem_mesh_light_lightness_set_payload_lightness
+	call ali_mesh_model_layer_message_calc_lightness
+	store 1,mem_mesh_light_lightness_calc_lightness
+	call ali_mesh_access_layer_send_light_lightness_status
+	fetch 2,mem_mesh_cb_light_lightness_set
+	branch callback_func
+
+
+ali_mesh_model_layer_message_opcde_light_ctl_set:
+	fetch 2,mem_mesh_last_CTL_Temperature
+	fetcht 2,mem_mesh_CTL_Temperature
+	isub temp,null
+	rtn zero
+
+	fetch 2,mem_mesh_CTL_Temperature
+	call ali_mesh_model_layer_message_calc_temperature
+	store 1,mem_mesh_CTL_calc_temperature
+
+	fetch 2,mem_mesh_CTL_Temperature
+	store 2,mem_mesh_last_CTL_Temperature
+	fetch 2,mem_mesh_cb_light_lightness_get
+	call callback_func
+	storet 2,mem_mesh_CTL_Lightness
+	call ali_mesh_access_layer_send_light_ctl_stauts
+	fetch 2,mem_mesh_cb_light_ctl_set
+	branch callback_func
+
+
+//input: pdata is lightness set by ali
+//output: pdata is lightness 0-100
+ali_mesh_model_layer_message_calc_lightness:
+	rtn blank
+	mul32 pdata,ALI_MESH_LIGHTNESS_LEVEL,pdata
+	arg ALI_MESH_LIGHTNESS_MAX,temp
+	idiv temp
+	call wait_div_end
+	remainder temp
+	rshift8 temp,temp
+	quotient pdata
+	sub temp,0xff,null
+	nrtn zero
+	pincrease 1
+	rtn
+
+
+//input: temp is lightness 0-100
+//output: temp is lightness set by ali
+ali_mesh_model_layer_message_calc_actual_lightness:
+	arg ALI_MESH_LIGHTNESS_MAX,pdata
+	imul32 temp,pdata
+	div pdata,ALI_MESH_LIGHTNESS_LEVEL
+	call wait_div_end
+	quotient temp
+	rtn
+
+//input: pdata is temperature set by ali
+//output: pdata is temperature 0-100
+ali_mesh_model_layer_message_calc_temperature:
+	arg ALI_MESH_TEMPERATURE_MIN,temp
+	isub temp,rega
+	call ali_mesh_model_layer_message_calc_temperature_k
+	copy rega,pdata
+	idiv temp
+	call wait_div_end
+	quotient pdata
+	rtn
+
+
+//input: temp is temperature 0-100
+//output: temp is temperature set by ali
+ali_mesh_model_layer_message_calc_actual_temperature:
+	copy temp,rega
+	call ali_mesh_model_layer_message_calc_temperature_k
+	copy rega,pdata
+	imul32 temp,pdata
+	arg ALI_MESH_TEMPERATURE_MIN,temp
+	iadd temp,temp
+	rtn
+
+ali_mesh_model_layer_message_calc_temperature_k:
+	setarg ALI_MESH_TEMPERATURE_MAX
+	arg ALI_MESH_TEMPERATURE_MIN,temp
+	isub temp,pdata
+	div pdata,ALI_MESH_TEMPERATURE_LEVEL
+	call wait_div_end
+	quotient temp
+	rtn
+
+
+
+
+ali_mesh_more_element_check_unicast_address:
+	arg 0,queue
+	fetchr loopcnt,1,mem_mesh_element_number
+	call disable_user
+	fetch 2,mem_mesh_Unicast_Address
+ali_mesh_more_element_check_unicast_address_loop:
+	isub temp,null
+	branch ali_mesh_more_element_found_unicast_address_element,zero
+	byteswap pdata,pdata
+	pincrease 1
+	byteswap pdata,pdata
+	increase 1,queue
+	loop ali_mesh_more_element_check_unicast_address_loop
+	rtn
+
+ali_mesh_more_element_found_unicast_address_element:
+	jam 0,mem_mesh_receive_group_address
+	storer queue,1,mem_mesh_receive_element_number
+	call ali_mesh_more_element_calc_queue_address
+	branch enable_user
+
+
+ali_mesh_more_element_check_group_address:
+	arg 0,queue
+	arg 0,regc
+	call mesh_get_element_info_config
+	call disable_user
+ali_mesh_more_element_check_group_address_loop:
+	fetch 2,mem_mesh_core_feature
+	bbit0 MESH_FEATURE_DISABLE_SUBSCRIPTION,ali_mesh_more_element_check_subscription_address
+	ifetch 2,rega
+	isub temp,null
+	call ali_mesh_more_element_found_group_address_element,zero
+ali_mesh_more_element_check_address_common:
+	copy regb,pdata
+	iadd rega,rega
+	increase 1,queue
+	loop ali_mesh_more_element_check_group_address_loop
+	copy regc,pdata
+	rtn blank
+	store 1,mem_mesh_receive_group_address
+	branch enable_user
+
+ali_mesh_more_element_found_group_address_element:
+	qset1 regc
+	rtn
+
+ali_mesh_more_element_check_subscription_address:
+	add rega,ELEMENT_DEVICE_SUBSCRIPTION_LABEL,contr
+	arg SUBSCRIPTION_MAX_COUNT,alarm
+ali_mesh_more_element_check_subscription_address_loop:
+	ifetch 2,contr
+	isub temp,null
+	branch ali_mesh_more_element_found_subscription_address_element,zero
+	increase -1,alarm
+	branch ali_mesh_more_element_check_address_common,zero
+	branch ali_mesh_more_element_check_subscription_address_loop
+
+ali_mesh_more_element_found_subscription_address_element:
+	call ali_mesh_more_element_found_group_address_element
+	branch ali_mesh_more_element_check_address_common
+
+ali_mesh_more_element_check_element_address:
+	arg 0,queue
+	fetch 1,mem_mesh_receive_group_address
+	branch ali_mesh_more_element_check_element_address_no_group_address,blank
+	copy pdata,regb
+	fetchr loopcnt,1,mem_mesh_element_number
+ali_mesh_more_element_check_element_address_loop:
+	storer queue,1,mem_mesh_receive_element_number
+
+	qisolate1 regb
+	call ali_mesh_more_element_check_element_address_no_group_address,true
+	fetchr queue,1,mem_mesh_receive_element_number
+	increase 1,queue
+	loop ali_mesh_more_element_check_element_address_loop
+	rtn
+
+ali_mesh_more_element_check_element_address_no_group_address:
+	call ali_mesh_more_element_push_stack
+	call ali_mesh_more_element_calc_queue_address
+	copy regc,pdata
+	call callback_func
+	branch ali_mesh_more_element_pop_stack
+
+ali_mesh_more_element_push_stack:
+	storer loopcnt,2,mem_mesh_loopcnt_tmep
+	storer rega,2,mem_mesh_rega_temp
+	storer regb,2,mem_mesh_regb_temp
+	storer regc,2,mem_mesh_regc_temp
+	rtn
+
+ali_mesh_more_element_pop_stack:
+	fetchr loopcnt,2,mem_mesh_loopcnt_tmep
+	fetchr rega,2,mem_mesh_rega_temp
+	fetchr regb,2,mem_mesh_regb_temp
+	fetchr regc,2,mem_mesh_regc_temp
+	rtn
+
+
+ali_mesh_more_element_calc_queue_address:
+	bpatchx patch3f_3,mem_patch3f
+	fetch 2,mem_mesh_Unicast_Address
+	byteswap pdata,pdata
+	iadd queue,pdata
+	byteswap pdata,pdata
+	store 2,mem_mesh_send_message_SRC
+	call mesh_get_element_info_config
+	copy queue,pdata
+	imul32 regb,pdata
+	iadd rega,rega
+	add rega,ELEMENT_DEVICE_UPPER_QUEUE_PTR,contr
+	ifetch 2,contr
+	store,2,mem_queue_ptr
+	rtn
+
+
+
+
+ali_mesh_receive_adtype_mesh_message:
+	jam MESH_MESSAGE_TMALL,mem_mesh_network_packet_type
+
+//contr is read ptr
+//input:temp is len
+ali_mesh_network_layer_recevice_network_pdu:
+	sub temp,MESH_NETWORK_PACKET_MIN_LENGTH,null
+	rtn positive	//过滤短包，包长度太短导致解析错误
+	sub temp,MESH_NETWORK_PACKET_MAX_LENGTH,null
+	nrtn positive	//过滤长包，包长度太长导致内存覆盖
+	bpatchx patch3f_4,mem_patch3f
+	call ali_mesh_network_store_in_mem
+ali_mesh_network_layer_recevice_network_pdu_check_NID:
+	call ali_mesh_network_layer_check_NID_IVI
+	nrtn user
+ali_mesh_network_layer_recevice_network_pdu_deceypt_obfuscation:
+	call ali_mesh_encrypt_obfuscation_deceypt_recevie_message
+	//fetch 1,mem_mesh_message_TTL
+	//rtnbit1 BIT_CTL
+//	fetch 1,mem_mesh_message_TTL
+//	nrtn blank
+ali_mesh_network_layer_recevice_network_pdu_decrypt_NetMIC32:
+	call ali_mesh_network_load_network_nonce_and_EncryptionKey
+	fetch 1,mem_mesh_message_Transport_NetMIC_length
+	arg mem_mesh_message_DST,temp
+	call ali_CCM_decrypt
+	nrtn zero	//NetMIC error
+
+
+ali_mesh_network_layer_recevice_network_pdu_check_DST:
+	bpatchx patch3f_5,mem_patch3f
+	fetcht 2,mem_mesh_message_DST
+	call ali_mesh_more_element_check_unicast_address	//检查所有子元素的单播地址
+	branch ali_mesh_network_layer_recevice_network_pdu_check_SRC_and_SEQ,user
+	arg 29,loopcnt
+	arg mem_mesh_message_NID_temp,contw
+	arg mem_mesh_message_NID,contr
+	call memcpy
+	call ali_mesh_network_layer_recevice_network_pdu_check_DST_group_address
+	arg 29,loopcnt
+	arg mem_mesh_message_NID_temp,contr
+	arg mem_mesh_message_NID,contw
+	call memcpy
+	fetch 2,mem_mesh_cb_network_relay
+	branch callback_func
+
+ali_mesh_network_layer_recevice_network_pdu_check_DST_group_address:
+	call ali_mesh_more_element_check_group_address	//检查所有子元素的组播地址
+	branch ali_mesh_network_layer_recevice_network_pdu_check_SRC_and_SEQ,user
+	jam 0xff,mem_mesh_receive_group_address
+	setarg GROUP_ADDRESS_0XCFFF_little_endian
+	isub temp,null	//DST==0xCFFF Tmall规定的灯model的组播地址2
+	branch ali_mesh_network_layer_recevice_network_pdu_check_SRC_and_SEQ,zero
+	setarg GROUP_ADDRESS_0XFFFF_little_endian
+	isub temp,null	//DST==0xCFFF Tmall规定的82 01指令的组播地址，在线检测
+	branch ali_mesh_network_layer_recevice_network_pdu_check_SRC_and_SEQ,zero
+	rtn
+
+
+ali_mesh_network_layer_check_NID_IVI:
+	call disable_user
+	fetcht 1,mem_mesh_message_NID
+	rshift4 temp,pdata
+	rshift3 pdata,pdata
+	fetchr rega,1,mem_mesh_IV_Index+3
+	and rega,0x01,rega
+	isub rega,null
+	nrtn zero
+	and temp,0x7f,temp
+	fetch 1,mem_k2_NID
+	isub temp,null
+	nrtn zero	//判断NID是否相等;相等说明是同一个网络的包
+	branch enable_user
+
+//检查SRC和SEQ存储cache，是否有当前SRC设备信息
+ali_mesh_network_layer_recevice_network_pdu_check_SRC_and_SEQ:
+	arg mem_mesh_TMALL_cache_start,rega
+	arg CACHE_SPACE_NUM,loopcnt
+ali_mesh_network_layer_raverse_SRC_SEQ_cache:
+	fetcht 2,mem_mesh_message_SRC
+	ifetch 2,rega
+//cache存在空的空间,将SRC、SEQ存储到这个空间
+	branch ali_mesh_network_layer_find_empty_space,blank
+	
+	isub temp,null
+//cache已经存有该SRC的信息，导出SEQ信息
+	branch ali_mesh_network_layer_find_SRC_space,zero
+	increase CACHE_SPACE_SIZE,rega
+	loop ali_mesh_network_layer_raverse_SRC_SEQ_cache
+	arg mem_mesh_TMALL_cache_start,rega
+
+ali_mesh_network_layer_find_empty_space:
+	istoret 2,rega
+ali_mesh_network_layer_find_SRC_space:
+	storet 2,mem_mesh_send_message_DST
+	//接收时的SRC是发送时候的DST
+	add rega,2,regc
+	ifetch 3,regc
+	store 3,mem_mesh_last_message_SEQ
+	branch ali_mesh_network_layer_recevice_network_pdu_check_SEQ_legal
+
+
+//检查SEQ的合法性，过滤重复包
+ali_mesh_network_layer_recevice_network_pdu_check_SEQ_legal:
+//check SEQ
+	call ali_mesh_inverse_SEQ
+	//高低位交换
+	fetch 3,mem_mesh_last_message_SEQ
+	fetcht 3,mem_mesh_message_SEQ
+	isub temp,null
+	rtn positive	//lastMessageSEQ-currMessageSEQ>=0,返回
+	istoret 3,regc	
+	call ali_mesh_inverse_SEQ	//application nonce和Device nonce都需要用到SEQ
+	call logging_tx_debug_network_receive_packet
+	branch ali_mesh_lower_transport_layer_receive_lower_transport_PDU
+
+ali_mesh_inverse_SEQ:
+	arg mem_mesh_message_SEQ,rega
+	arg 3,loopcnt
+	branch inverse_data
+
+
+
+ali_mesh_network_load_network_nonce_and_EncryptionKey:
+	call ali_mesh_network_layer_load_network_nonce
+ali_mesh_upper_transport_layer_load_EncryptionKey:
+	arg mem_k2_EncryptionKey,contr
+	branch load_key
+ali_mesh_network_layer_load_network_nonce:
+	arg mem_mesh_Network_Nonce,contw
+	setarg NETWORK_NONCE
+	istore 1,contw
+	fetch 6,mem_mesh_message_TTL
+	istore 8,contw
+	branch mesh_generate_nonce
+
+
+ali_mesh_network_store_in_mem:
+	add temp,-12,pdata
+	//长度-12的原因
+	//uint8_t AD type:GAP_ADTYPE_MESH_MESSAGE
+	//uint8_t IVI & NID
+	//uint8_t CTL & TTL
+	//uint24_t SEQ
+	//uint16_t SRC
+	//uint32_t MIC
+	//AD_len减去上面内容，是实际DST & Transport PDU的长度
+	//问题:没有考虑MIC长度是64bit 的情况，目前不支持，后期支持需要修改
+	store 1,mem_mesh_message_Transport_NetMIC_length
+	arg 29,loopcnt
+	arg mem_mesh_message_NID,contw
+	call clear_mem
+	add temp,-1,loopcnt
+	arg mem_mesh_message_NID,contw
+	branch memcpy_fast
+	//统一copy到mem_mesh_message_NID
+
+ali_mesh_network_layer_relay_access_message:
+	call ali_mesh_network_layer_check_relay_states
+	nrtn user
+	call ali_mesh_network_layer_encrypt_relay_package
+	jam ADV_RELAY_MESH_MESSAGE_DURATION,mem_mesh_queue_ele_duration
+	fetch 1,mem_mesh_message_Transport_NetMIC_length
+	add pdata,13,temp
+	storet 1,mem_mesh_queue_ele_len
+	increase -1,temp
+	istoret 1,contw
+	setarg GAP_ADTYPE_MESH_MESSAGE
+	istore 1,contw
+	add temp,-1,loopcnt
+	fetch 7,mem_mesh_message_NID
+	arg mem_mesh_message_NID,contr
+	call memcpy
+	fetch 2,mem_ui_state_map
+	isolate1 UI_STATE_BLE_CONNECTED,pdata
+	call ali_mesh_send_ble_data_relay_package,true
+	arg mem_mesh_queue_ele_temp,rega
+	branch queue_push
+
+ali_mesh_send_ble_data_relay_package:
+	fetch 1,mem_mesh_network_packet_type
+	rtneq MESH_MESSAGE_PROXY
+	branch ali_mesh_send_ble_data
+
+//output:enable user is mean can relay packet
+ali_mesh_network_layer_check_relay_states:
+	call disable_user
+	fetch 1,mem_mesh_network_packet_type
+	rtneq MESH_MESSAGE_APP	//不relay APP的控制包
+	fetch 2,mem_mesh_core_feature
+	rtnbit1 MESH_FEATURE_DISABLE_RELAY
+	fetch 1,mem_mesh_provisioned_flag
+	rtnne PAIRED_STATUS	//无配网状态，不relay 接收到random就能解析数据
+	fetcht 2,mem_mesh_message_SRC
+	call ali_mesh_more_element_check_unicast_address
+	nrtn user					//不relay 元素的包的数据包
+	call ali_mesh_network_layer_check_network_mic_cache
+	nrtn user
+	call ali_mesh_network_layer_logging_tx_relay_info
+	fetch 1,mem_mesh_message_TTL
+	rtn blank
+	pincrease -1
+	rtn blank
+	store 1,mem_mesh_message_TTL
+	setarg mem_mesh_network_relay_queue
+	store 2,mem_queue_ptr
+	branch enable_user
+
+ali_mesh_network_layer_encrypt_relay_package:
+ 	call ali_mesh_network_load_network_nonce_and_EncryptionKey
+	fetch 1,mem_mesh_message_Transport_NetMIC_length
+	arg mem_mesh_message_DST,temp
+	call ali_CCM_encrypt
+	branch ali_mesh_encrypt_obfuscation_deceypt_recevie_message
+
+
+//user is enable ,mean new packet
+ali_mesh_network_layer_check_network_mic_cache:
+	setarg mem_mesh_transport_message_mic_cache
+	store 2,mem_mesh_mic_cache_ptr
+	branch ali_mesh_base_adt_cache
+
+
+ali_mesh_network_layer_logging_tx_relay_info:
+	arg 2,loopcnt
+	arg mem_mesh_message_DST,rega
+	arg MESH_NETWORK_RELAY_PACKET,regb
+	call logging_tx_info
+	fetchr loopcnt,1,mem_ccm_data_len
+	fetchr rega,2,mem_ccm_data_ptr
+	arg MESH_NETWORK_RELAY_PACKET,regb
+	branch logging_tx_debug
+
+
+
+ali_mesh_network_layer_send_access_message:
+	bpatchx patch3f_6,mem_patch3f
+	call ali_mesh_network_layer_send_access_message_encrypt_NetMIC
+	call ali_mesh_network_layer_send_access_message_encrypt_obfuscation
+	branch ali_mesh_bearer_layer_send_packet_by_network_layer
+
+
+//DST在接收包时，已经写入mem_mesh_unsegmented_lower_transport_layer_DST
+//计算Netwrork MIC的值
+ali_mesh_network_layer_send_access_message_encrypt_NetMIC:
+	fetch 1,mem_mesh_lower_transport_layer_payload_len
+	add pdata,2,rega	//DST size
+	pincrease 4
+	store 1,mem_mesh_lower_transport_layer_payload_len
+	arg mem_mesh_send_upper_layer_DST,temp
+	branch ali_mesh_network_layer_encrypt_by_network_nonce
+
+//
+//input:temp is encrypt ptr
+//rega is encrypt length
+ali_mesh_network_layer_encrypt_by_network_nonce:
+	call ali_mesh_network_load_network_nonce_and_EncryptionKey
+	copy rega,pdata
+	branch ali_CCM_encrypt
+
+
+ali_mesh_network_layer_send_access_message_encrypt_obfuscation:
+	branch ali_mesh_encrypt_obfuscation_deceypt_send_message
+
+
+
+mesh_generate_nonce:
+	fetch 4,mem_mesh_IV_Index
+	istore 4,contw
+	add contw,-13,pdata
+	store 2,mem_nonce_ptr
+	rtn
+
+logging_tx_debug_network_receive_packet:
+	fetch 1,mem_mesh_message_Transport_NetMIC_length
+	add pdata,11,loopcnt
+	arg mem_mesh_message_NID,rega
+	arg MESH_NETWORK_RECEIVE_PACKET,regb
+	branch logging_tx_debug
+
+
+
+ali_mesh_proxy_init_adv:
+	jam 0x14,mem_le_adv_data_len
+	setarg 0x02
+	store 1,mem_le_adv_data
+	setarg GAP_ADTYPE_FLAGS
+	istore 1,contw
+	setarg 0x06
+	istore 1,contw
+	setarg 0x03
+	istore 1,contw
+	setarg GAP_ADTYPE_16BIT_COMPLETE
+	istore 1,contw
+	setarg MESH_PROXY_SERVICE
+	istore 2,contw
+	setarg 0x0c
+	istore 1,contw
+	setarg GAP_ADTYPE_SERVICE_DATA
+	istore 1,contw
+	setarg MESH_PROXY_SERVICE
+	istore 2,contw
+	setarg MESH_PROXY_SERVICE_DATA_ID_TYPE_NETWORK_ID
+	istore 1,contw
+	fetch 8,mem_mesh_network_id
+	istore 8,contw
+	rtn
+
+//rega is le rx data address
+//regb is le rx data length
+//mem_le_att_handle is write handle
+mesh_le_receive_data:
+	fetch 2,mem_le_att_handle
+	beq MESH_PROXY_DATA_IN_HANDLE,ali_mesh_receive_ble_data_proxy_data_in
+	rtn
+
+ali_mesh_receive_ble_data_proxy_data_in:
+	copy regb,temp
+	ifetch 1,rega
+	beq MESH_PROXY_MESSAGE_TYPE_NETWORK_PDU,ali_mesh_network_layer_recevice_network_pdu_proxy_control
+	rtn
+
+ali_mesh_network_layer_recevice_network_pdu_proxy_control:
+	jam MESH_MESSAGE_PROXY,mem_mesh_network_packet_type_temp
+	branch ali_mesh_network_layer_recevice_network_pdu
+
+
+ali_mesh_proxy_process_bb_event:
+	copy regc,pdata
+	beq BT_EVT_LE_DISCONNECTED,app_ble_start_adv
+	rtn
+
+
+ali_mesh_send_ble_data:
+	call le_fifo_check_nearly_full
+	nrtn blank
+	fetch 1,mem_mesh_queue_ele_len
+	add pdata,-1,rega
+	arg MESH_PROXY_DATA_OUT_HANDLE,temp
+	call le_att_malloc_tx_notify
+	setarg MESH_PROXY_MESSAGE_TYPE_NETWORK_PDU
+	istore 1,contw
+	arg mem_mesh_queue_ele_payload+2,contr
+	branch memcpy32
+
+
+
+
+
+ali_mesh_upper_transport_layer_receive_unsegmented_access_message:
+	bbit0 TRANSPORT_HEAD_BIT_AKF,ali_mesh_uuper_transport_layer_decrypt_unsegment_access_by_device_key
+//application key和application nonce解密Unsegmented access message
+ali_mesh_uuper_transport_layer_decrypt_unsegment_access_by_application_key:
+	call ali_mesh_upper_transport_layer_load_application_nonce_and_application_key
+	branch ali_mesh_upper_transport_layer_decrypt_unsegmented_message
+//device key和device nonce解密Unsegmented access message
+ali_mesh_uuper_transport_layer_decrypt_unsegment_access_by_device_key:
+	call ali_mesh_upper_transport_layer_load_device_nonce_and_device_key
+	branch ali_mesh_upper_transport_layer_decrypt_unsegmented_message
+
+
+ali_mesh_upper_transport_layer_decrypt_unsegmented_message:
+	fetch 1,mem_mesh_message_Transport_NetMIC_length
+	pincrease -7	
+	//DST 16bit
+	//Head8bit (SEG 1bit /AKF 1bit/AID 6bit)
+	//Transport MIC 32bit
+	arg mem_mesh_message_Transport_unsegmented_access_messagePDU,alarm
+	call disable_user
+	branch ali_mesh_upper_transport_layer_decrypt_message
+
+
+ali_mesh_upper_transport_layer_receive_segmented_access_message:
+	fetch 1,mem_mesh_message_Transport_Head
+	bbit0 TRANSPORT_HEAD_BIT_AKF,ali_mesh_uuper_transport_layer_decrypt_segment_access_by_device_key
+ali_mesh_uuper_transport_layer_decrypt_segment_access_by_application_key:
+	call ali_mesh_upper_transport_layer_load_application_nonce_and_application_key
+	branch ali_mesh_upper_transport_layer_decrypt_segmented_message
+ali_mesh_uuper_transport_layer_decrypt_segment_access_by_device_key:
+	call ali_mesh_upper_transport_layer_load_device_nonce_and_device_key
+	branch ali_mesh_upper_transport_layer_decrypt_segmented_message
+
+
+ali_mesh_upper_transport_layer_decrypt_segmented_message:
+	fetch 1,mem_mesh_ASZMIC
+	ncall enable_user,blank
+	call disable_user,blank
+	fetch 1,mem_mesh_segmented_access_message_current_length
+	pincrease -4	//Transport MIC
+	jam 0,mem_mesh_segmented_access_message_current_length
+	arg mem_mesh_segmented_access_message_Segment,alarm
+
+//input:alarm:decrypt message ptr
+//pdata:decrypt message length
+ali_mesh_upper_transport_layer_decrypt_message:
+	copy alarm,temp
+	call ali_mesh_upper_transport_layer_decrypt_message_decrypt_transMIC
+	nrtn zero
+	arg 1,loopcnt
+	arg mem_ccm_data_len,rega
+	arg MESH_UPPER_RECEIVE_PACKET,regb
+	call logging_tx_info
+	call ali_mesh_upper_transport_layer_check_transport_mic_cache
+	nrtn user
+	fetch 2,mem_ccm_data_ptr
+	copy pdata,alarm
+	branch ali_mesh_access_layer_resolve_message
+
+ali_mesh_upper_transport_layer_decrypt_message_decrypt_transMIC:
+	nbranch ali_CCM_decrypt,user
+	pincrease -4
+	branch ali_CCM_decrypt_64Bit
+
+//user is enable ,mean new packet
+ali_mesh_upper_transport_layer_check_transport_mic_cache:
+	setarg mem_mesh_access_message_mic_cache
+	store 2,mem_mesh_mic_cache_ptr
+	branch ali_mesh_base_adt_cache
+
+
+//
+ali_mesh_upper_transport_layer_load_application_nonce_and_application_key:
+	call ali_mesh_upper_transport_layer_load_application_nonce
+ali_mesh_upper_transport_layer_load_application_key:
+	arg mem_mesh_application_key,contr
+	branch load_key
+ali_mesh_upper_transport_layer_load_application_nonce:
+	arg mem_mesh_Application_Nonce,contw
+	setarg APPLICATION_NONCE
+	istore 1,contw
+	fetch 1,mem_mesh_ASZMIC
+	arg 0,temp
+	nsetflag blank,7,temp
+	istoret 1,contw
+	fetch 7,mem_mesh_message_SEQ
+	istore 7,contw
+	branch mesh_generate_nonce
+
+
+//
+ali_mesh_upper_transport_layer_load_device_nonce_and_device_key:
+	call ali_mesh_upper_transport_layer_load_device_nonce
+ali_mesh_upper_transport_layer_load_device_key:
+	arg mem_mesh_Device_Key,contr
+	branch load_key
+ali_mesh_upper_transport_layer_load_device_nonce:
+	arg mem_mesh_Device_Nonce,contw
+	setarg DEVICE_NONCE
+	branch ali_mesh_upper_transport_layer_load_application_nonce + 2
+
+
+// write data to // mem_mesh_access_layer_payload //
+// write data len to //mem_mesh_access_layer_payload_len //
+//upper层发送access mess，主要是计算transport MIC
+ali_mesh_upper_transport_layer_send_access_message:
+ali_mesh_upper_transport_layer_send_access_message_without_cleat_tx_buffer:
+	bpatchx patch3f_7,mem_patch3f
+	call ali_mesh_upper_transport_layer_clear_tx_buffer
+	call ali_mesh_loggint_tx_info_upper_send_packet
+	call ali_mesh_upper_transport_layer_send_access_message_add_NID_SRC_TTL_SEQ_DST
+
+	//queue control
+	call ali_mesh_upper_transport_layer_store_packet_header
+	rtn user
+	call ali_mesh_upper_transport_layer_store_unsegment_msg_original_access_pdu
+
+	arg mem_mesh_upper_tran_layer_queue_temp,rega
+	branch queue_push
+
+
+//output:user is enable mean send Attr Indication packet,but no in paired status
+ali_mesh_upper_transport_layer_store_packet_header:
+	call disable_user
+	arg UPPER_RETRY_COUNT_STATUS,temp
+	fetch 1,mem_mesh_provisioned_flag
+	iadd temp,temp		//APP 配网包，增加重传次数保证成功率
+	fetch 1,mem_mesh_network_packet_type
+	sub pdata,MESH_MESSAGE_PROXY,null
+	setflag zero,BIT_UPPER_FLAG_PROXY_CONTROL,temp
+	fetch 1,mem_mesh_network_packet_type
+	sub pdata,MESH_MESSAGE_APP,null
+	setflag zero,BIT_UPPER_FLAG_APP_CONTROL,temp
+	storet 1,mem_mesh_upper_tran_layer_temp_packet_flag
+	fetch 9,mem_mesh_send_upper_layer_IVI_and_NID
+	store 9,mem_mesh_upper_tran_layer_temp_packet_header_IVI_NID
+	fetch 1,mem_mesh_access_layer_payload_vendor_command
+	rtnne VENDOR_MESSAGE_ATTR_INDICATION
+	fetch 1,mem_mesh_provisioned_flag
+	bne PAIRED_STATUS,enable_user
+	fetch 1,mem_mesh_access_layer_payload_vendor_tid
+	store 1,mem_mesh_upper_tran_layer_temp_packet_TID
+	fetch 1,mem_mesh_upper_tran_layer_temp_packet_flag
+	pincrease UPPER_RETRY_COUNT_INDICATION
+	set1 BIT_UPPER_FLAG_VENDOR_INDICATION,pdata
+	store 1,mem_mesh_upper_tran_layer_temp_packet_flag
+	rtn
+
+
+ali_mesh_upper_transport_layer_store_unsegment_msg_original_access_pdu:
+	fetch 1,mem_mesh_access_layer_payload_len
+	copy pdata,loopcnt
+	store 1,mem_mesh_upper_tran_layer_temp_packet_length
+	fetch 1,mem_mesh_message_Transport_Head
+	store 1,mem_mesh_upper_tran_layer_temp_pakcet_AKF_AID
+	arg mem_mesh_upper_tran_layer_temp_pakcet_upper_tran_access_pdu,contw
+	arg mem_mesh_access_layer_payload,contr
+	branch memcpy
+
+
+ali_mesh_upper_transport_layer_control_packet:
+	arg ali_mesh_upper_transport_layer_control_packet_deal,regc
+	branch ali_mesh_check_all_element_info
+
+
+ali_mesh_upper_transport_layer_control_packet_deal:
+	add rega,ELEMENT_DEVICE_UPPER_ADV_FLAG,contr
+	ifetch 1,contr
+	nrtn blank
+	ifetch 2,contr
+	store 2,mem_queue_ptr
+	arg mem_mesh_upper_tran_layer_queue_temp,rega
+	call queue_get_new_ele
+	nrtn user													//查看发送队列有无数据
+	fetchr rega,2,mem_mesh_rega_temp
+
+	fetcht 1,mem_mesh_upper_tran_layer_temp_packet_flag
+	and temp,DATA_UPPER_FLAG_MAX_RETRY_COUNT,pdata
+	branch ali_mesh_upper_transport_layer_queue_pop,blank		//重传超时丢弃该包
+	add rega,ELEMENT_DEVICE_UPPER_ADV_FLAG,contw
+	setarg PACKET_IN_BEARER
+	istore 1,contw		//状态未丢弃
+
+	call ali_mesh_upper_transport_layer_control_packet_load_header	//加载packet header，message header
+
+	fetcht 1,mem_mesh_upper_tran_layer_temp_packet_flag
+	call ali_mesh_upper_transport_layer_control_packet_load_app_control	//APP控制还是tmall控制
+	add rega,ELEMENT_DEVICE_TRAN_PACKAGE_TID,contw
+	istore 1,contw
+
+	add rega,ELEMENT_DEVICE_TRAN_PACKAGE_TYPE,contr
+	ifetch 1,contr
+	isolate1 BIT_UPPER_FLAG_PROXY_CONTROL,temp
+	setflag true,BIT_UUPER_TRAN_PROXY_MESSAGE,pdata
+	add rega,ELEMENT_DEVICE_TRAN_PACKAGE_TYPE,contw
+	istore 1,contw
+
+	set1 BIT_UPPER_FLAG_RETRANSMIT,temp						//重传标志
+
+	increase -1,temp		//重传次数-1
+	istoret 1,regb			//存入队列位置
+	
+	fetcht 1,mem_mesh_upper_tran_layer_temp_packet_flag
+	isolate1 BIT_UPPER_FLAG_RETRANSMIT,temp
+	nbranch ali_mesh_upper_transport_layer_control_packet_encrypt_access,true
+	fetcht 1,mem_mesh_upper_tran_layer_temp_packet_length
+	storet 1,mem_mesh_upper_transport_layer_payload_len
+	copy temp,loopcnt
+	arg mem_mesh_access_layer_payload,contw
+	arg mem_mesh_upper_tran_layer_temp_pakcet_upper_tran_access_pdu,contr
+	call memcpy
+	sub temp,UNSEGMENTED_ACCESS_MESSAGE_MAX_UPPER_TRANSPORT_ACCESS_PDU_LEN,null
+	nbranch ali_mesh_upper_transport_layer_control_packet_segment_msg,positive
+ali_mesh_upper_transport_layer_control_packet_unsegment_msg:
+	branch ali_mesh_lower_transport_layer_send_unsegmented_access_message
+
+
+ali_mesh_upper_transport_layer_control_packet_segment_msg:
+	fetch 4,mem_mesh_upper_tran_layer_temp_segmented_pakcet_SeqZero
+	store 4,mem_mesh_segmented_lower_transport_layer_SegZero
+	branch ali_mesh_upper_transport_layer_split_segmented_msg_to_lower_tran_layer
+
+
+ali_mesh_upper_transport_layer_control_packet_load_header:
+	fetch 1,mem_mesh_upper_tran_layer_temp_pakcet_AKF_AID
+	store 1,mem_mesh_message_Transport_Head
+
+	fetch 9,mem_mesh_upper_tran_layer_temp_packet_header_IVI_NID
+	store 9,mem_mesh_send_upper_layer_IVI_and_NID
+	store 9,mem_mesh_message_NID
+	rtn
+
+
+ali_mesh_upper_transport_layer_control_packet_load_app_control:
+	setarg UPPER_TRAN_TMALL_AND_APP
+	call ali_mesh_store_tran_package_type
+	fetch 1,mem_mesh_upper_tran_layer_temp_packet_TID
+	isolate1 BIT_UPPER_FLAG_VENDOR_INDICATION,temp
+	rtn true		//indication packet send app & tmall
+	setarg UPPER_TRAN_TMALL_MESSAGE
+	call ali_mesh_store_tran_package_type
+	setarg 0
+	isolate1 BIT_UPPER_FLAG_APP_CONTROL,temp
+	nrtn true
+	setarg UPPER_TRAN_APP_MESSAGE
+	call ali_mesh_store_tran_package_type
+	branch enable_blank
+
+ali_mesh_store_tran_package_type:
+	add rega,ELEMENT_DEVICE_TRAN_PACKAGE_TYPE,contw
+	istore 1,contw
+	rtn
+
+
+ali_mesh_upper_transport_layer_queue_pop:
+	setarg 0
+	add rega,ELEMENT_DEVICE_TRAN_PACKAGE_TID,contw
+	istore 1,contw
+	arg mem_mesh_upper_tran_layer_queue_temp,rega
+	branch queue_pop
+
+ali_mesh_upper_transport_layer_control_packet_encrypt_access:
+	call ali_mesh_upper_transport_layer_send_access_message_calc_SEQ
+	call ali_mesh_upper_transport_layer_send_access_message_add_SEQ
+	fetch 9,mem_mesh_send_upper_layer_IVI_and_NID
+	store 9,mem_mesh_upper_tran_layer_temp_packet_header_IVI_NID
+	call ali_mesh_upper_transport_layer_control_packet_encrypt_access_load_payload
+	setarg 0
+	store 1,mem_mesh_ASZMIC
+	call ali_mesh_upper_transport_layer_calc_transport_mic
+
+	fetcht 1,mem_mesh_upper_transport_layer_payload_len
+	storet 1,mem_mesh_upper_tran_layer_temp_packet_length
+	copy temp,loopcnt
+	arg mem_mesh_access_layer_payload,contr
+	arg mem_mesh_upper_tran_layer_temp_pakcet_upper_tran_access_pdu,contw
+	call memcpy
+	
+	sub temp,UNSEGMENTED_ACCESS_MESSAGE_MAX_UPPER_TRANSPORT_ACCESS_PDU_LEN,null
+	nbranch ali_mesh_upper_transport_layer_control_packet_encrypt_access_segment_msg,positive
+ali_mesh_upper_transport_layer_control_packet_encrypt_access_unsegment_msg:
+//upper层发送unsegmented access mess，主要是计算transport MIC
+	arg mem_mesh_upper_tran_layer_temp_packet_transmit_delay,rega
+	call queue_store_new_ele
+	branch ali_mesh_lower_transport_layer_send_unsegmented_access_message
+
+ali_mesh_upper_transport_layer_control_packet_encrypt_access_segment_msg:
+	call ali_mesh_upper_transport_layer_send_segmented_access_message_get_SeqZero_SegON
+	fetch 4,mem_mesh_segmented_lower_transport_layer_SegZero
+	store 4,mem_mesh_upper_tran_layer_temp_segmented_pakcet_SeqZero
+	arg mem_mesh_upper_tran_layer_temp_packet_transmit_delay,rega
+	call queue_store_new_ele
+	branch ali_mesh_upper_transport_layer_split_segmented_msg_to_lower_tran_layer
+
+ali_mesh_upper_transport_layer_control_packet_encrypt_access_load_payload:
+	fetch 1,mem_mesh_upper_tran_layer_temp_packet_length
+	copy pdata,loopcnt
+	store 1,mem_mesh_access_layer_payload_len
+	fetch 1,mem_mesh_upper_tran_layer_temp_pakcet_AKF_AID
+	store 1,mem_mesh_message_Transport_Head
+	arg mem_mesh_upper_tran_layer_temp_pakcet_upper_tran_access_pdu,contr
+	arg mem_mesh_access_layer_payload,contw
+	branch memcpy
+
+ali_mesh_upper_transport_layer_split_segmented_msg_to_lower_tran_layer:
+	call ali_mesh_upper_transport_layer_send_segmented_access_message_calc_header
+	setarg mem_mesh_access_payload
+	store 2,mem_mesh_upper_transport_layer_payload_ptr
+ali_mesh_upper_transport_layer_send_segmented_access_message_loop:
+	call ali_mesh_upper_transport_layer_control_packet_load_header
+	call ali_mesh_upper_transport_layer_send_access_message_calc_SEQ
+	call ali_mesh_upper_transport_layer_send_access_message_add_SEQ
+
+	fetcht 1,mem_mesh_access_layer_payload_len
+	setarg SEGMENTED_ACCESS_MESSAGE_UNINT_PDU_LEN
+	call not_greater_than
+	copy pdata,rega
+	copy temp,pdata
+	isub rega,pdata
+	store 1,mem_mesh_access_layer_payload_len
+	fetch 2,mem_mesh_upper_transport_layer_payload_ptr
+	copy pdata,contr
+	iadd rega,temp
+	storet 2,mem_mesh_upper_transport_layer_payload_ptr
+	call ali_mesh_lower_transport_layer_send_segmented_access_message
+	fetch 1,mem_mesh_access_layer_payload_len
+	rtn blank
+	fetch 1,mem_mesh_segmented_lower_transport_layer_SegO
+	pincrease 1
+	store 1,mem_mesh_segmented_lower_transport_layer_SegO
+	call ali_mesh_upper_transport_layer_send_segmented_access_message_calc_header
+	branch ali_mesh_upper_transport_layer_send_segmented_access_message_loop
+
+
+
+//upper层计算transport mic值
+ali_mesh_upper_transport_layer_calc_transport_mic:
+	fetch 1,mem_mesh_message_Transport_Head
+	bbit0 TRANSPORT_HEAD_BIT_AKF,ali_mesh_upper_transport_layer_calc_transport_mic_by_DeviceKey
+ali_mesh_upper_transport_layer_calc_transport_mic_by_AppKey:
+	call ali_mesh_upper_transport_layer_load_application_nonce_and_application_key
+	branch ali_mesh_upper_transport_layer_calc_transport_mic_encrypt_AESCCM
+ali_mesh_upper_transport_layer_calc_transport_mic_by_DeviceKey:
+	call ali_mesh_upper_transport_layer_load_device_nonce_and_device_key
+ali_mesh_upper_transport_layer_calc_transport_mic_encrypt_AESCCM:
+	fetch 1,mem_mesh_access_layer_payload_len
+	add pdata,4,temp
+	storet 1,mem_mesh_upper_transport_layer_payload_len
+	arg mem_mesh_access_layer_payload,temp
+	branch ali_CCM_encrypt
+
+
+
+//累加SEQ的值
+ali_mesh_upper_transport_layer_send_access_message_calc_SEQ:
+	fetch 3,mem_mesh_send_message_SEQ
+	pincrease 1
+	store 3,mem_mesh_send_message_SEQ
+	fetch 1,mem_mesh_gatt_package_send_msg_id
+	pincrease 1
+	store 1,mem_mesh_gatt_package_send_msg_id
+	fetch 2,mem_mesh_cb_seq_changed
+	branch callback_func
+
+
+//存NID,TTL,SEQ,SRC,其中SEQ需要高低位交换
+ali_mesh_upper_transport_layer_send_access_message_add_NID_SRC_TTL_SEQ_DST:
+	fetch 1,mem_mesh_IV_Index+3
+	lshift4 pdata,pdata
+	lshift3 pdata,pdata
+	fetcht 1,mem_k2_NID
+	ior temp,pdata
+	store 1,mem_mesh_send_upper_layer_IVI_and_NID
+	fetch 1,mem_mesh_send_message_TTL
+	store 1,mem_mesh_send_upper_layer_CTL_and_TTL
+	fetch 2,mem_mesh_send_message_SRC
+	store 2,mem_mesh_send_upper_layer_SRC
+	fetch 2,mem_mesh_send_message_DST
+	store 2,mem_mesh_send_upper_layer_DST
+
+ali_mesh_upper_transport_layer_send_access_message_add_SEQ:
+	fetch 3,mem_mesh_send_message_SEQ
+	store 3,mem_mesh_send_upper_layer_SEQ
+	arg mem_mesh_send_upper_layer_SEQ,rega
+	arg 3,loopcnt
+	call inverse_data
+	fetch 8,mem_mesh_send_upper_layer_CTL_and_TTL
+	store 8,mem_mesh_message_TTL
+	rtn
+
+ali_mesh_upper_transport_layer_send_segmented_access_message_get_SeqZero_SegON:
+	fetch 1,mem_mesh_upper_transport_layer_payload_len
+	div pdata,SEGMENTED_ACCESS_MESSAGE_UNINT_PDU_LEN
+	call wait_div_end
+	quotient temp
+	remainder pdata
+	call ali_mesh_upper_transport_layer_send_segmented_access_message_sub_SegN_one,blank
+	storet 1,mem_mesh_segmented_lower_transport_layer_SegN
+	jam 0,mem_mesh_segmented_lower_transport_layer_SegO
+	fetch 3,mem_mesh_send_message_SEQ
+	arg 0x1fff,temp
+	iand temp,pdata
+	store 2,mem_mesh_segmented_lower_transport_layer_SegZero
+	rtn
+
+ali_mesh_upper_transport_layer_send_segmented_access_message_calc_header:
+	fetch 2,mem_mesh_segmented_lower_transport_layer_SegZero
+	lshift4 pdata,pdata
+	lshift pdata,pdata
+	fetcht 1,mem_mesh_segmented_lower_transport_layer_SegO
+	ior temp,pdata
+	lshift4 pdata,pdata
+	lshift pdata,pdata
+	fetcht 1,mem_mesh_segmented_lower_transport_layer_SegN
+	ior temp,pdata
+	store 3,mem_mesh_segmented_access_lower_transport_layer_SZMIC_SeqZero_SegO_SegN
+	arg 3,loopcnt
+	arg mem_mesh_segmented_access_lower_transport_layer_SZMIC_SeqZero_SegO_SegN,rega
+	branch inverse_data
+
+
+ali_mesh_upper_transport_layer_send_segmented_access_message_sub_SegN_one:
+	increase -1,temp
+	rtn
+
+ali_mesh_upper_transport_layer_clear_tx_buffer:
+	rtn
+
+
+ali_mesh_loggint_tx_info_upper_send_packet:
+	arg mem_mesh_access_layer_payload,rega
+	fetchr loopcnt,1,mem_mesh_access_layer_payload_len
+	arg MESH_UPPER_SEND_PACKET,regb
+	branch logging_tx_info
+
+app_init:
+	bpatch patch15_5,mem_patch15
+	fetch 1,mem_device_option
+	branch app_init,blank				
+	beq dvc_op_dongle,dongle_init
+	beq dvc_op_antilost,antilost_init
+	beq dvc_op_shutter,shutter_init
+	beq dvc_op_module,module_init
+	beq dvc_op_car,car_init
+	beq dvc_op_remote_car,remote_car_init
+	beq dvc_op_hci_boot,hci_init
+	beq dvc_op_ali_mesh,ali_mesh_init
+	beq dvc_op_mouse,mouse_init
+	rtn
+	
+app_lpm_init:
+	jam 0,mem_tester_emulate
+	jam 0,mem_debug_config
+	jam 0, mem_lch_code
+	setarg 0
+	store 5,mem_sp_state_start
+	fetch 1,mem_device_option
+	branch app_lpm_init,blank				
+	beq dvc_op_module,module_lpm_init
+app_lpm_init0:
+	rtn
+
+app_param_init:
+	rtn wake
+	call app_read_efuse_sys_config
+	call app_read_efuse_dig_aon_vsel
+	call app_read_efuse_syn_afc_cfg1
+	call app_read_efuse_rf_ldo_cfg1
+	call app_read_efuse_rc_cal
+	call app_read_efuse_agc
+	call adc_init_data
+	fetch 1,mem_device_option
+	beq dvc_op_shutter,shutter_default_init
+	beq dvc_op_dongle,dongle_default_init
+	beq dvc_op_mouse,mouse_default_init
+	beq dvc_op_remote_car,remote_car_default_init
+	rtn
+
+app_sys_param_init:	
+	jam 0xff,mem_rf_init_data
+	setarg mem_rf_init_data
+	store 2,mem_rf_init_ptr
+	//sys init
+	jam 0xff,mem_ui_button_gpio
+	jam 0x88,mem_lpm_xtal_ib
+	jam 0xce,mem_lpm_padding
+	rtn
+
+
+	
+app_process_idle:
+	call ui_dispatch
+	call check_51cmd
+	call app_process_bb_event
+	fetch 2,mem_cb_idle_process
+	branch callback_func
+	
+app_process_bt:
+	fetch 2,mem_cb_bt_process
+	branch callback_func
+	
+app_process_ble:
+	fetch 2,mem_cb_le_process
+	branch callback_func
+
+app_process_bb_event:
+	bpatch patch15_6,mem_patch15
+	//return if c51 need to process bb event
+	arg mem_ipc_fifo_bt2c51,rega
+	call fifo_out
+	rtn blank
+	//reaching here mains c51 cannot get bb event.
+	copy pdata,regc
+	call app_event_normal_process
+	branch app_process_bb_event_priority
+	
+app_discard_event:
+	arg 0,regc
+	rtn
+
+//
+//
+//
+app_event_normal_process:
+	beq BT_EVT_BB_CONNECTED,app_evt_bt_conn
+	beq BT_EVT_BUTTON_LONG_PRESSED,app_evt_button_long_pressed
+	beq BT_EVT_SETUP_COMPLETE,app_evt_setup_complete
+	beq BT_EVT_HID_HANDSHAKE,app_evt_hid_handshake
+	beq BT_EVT_HID_CONNECTED,app_bb_event_hid_connected
+	beq BT_EVT_RECONN_FAILED,app_bb_event_reconn_failed
+	beq BT_EVT_BB_DISCONNECTED,app_bb_event_bb_disconn
+	beq BT_EVT_RECONN_PAGE_TIMEOUT,app_bb_event_reconn_failed	
+	beq BT_EVT_LE_CONNECTED,app_le_event_bb_connected
+	beq BT_EVT_LE_DISCONNECTED,app_le_event_bb_disconn
+	beq BT_EVT_RECONN_STARTED,app_event_reconn_start
+	beq BT_EVT_ENTER_SNIFF,app_event_enter_sniff
+	beq BT_EVT_EXIT_SNIFF,app_event_exit_sniff
+	
+	beq BT_EVT_ML2CAP_CONN_REFUSED,app_event_ml2cap_conn_refused
+	beq BT_EVT_LINKKEY_GENERATE,app_event_linkkey_generate
+	beq BT_EVT_SWITCH_FAIL_MASTER,app_event_switch_fail_master
+	beq BT_EVT_SWITCH_SUCCESS_MASTER,app_event_switch_success
+	rtn
+
+
+app_evt_bt_conn:
+	fetch 2,mem_ui_state_map
+	set1 UI_STATE_BT_CONNECTED,pdata
+	store 2,mem_ui_state_map
+	fetch APP_DISC_RSN_SIZE,mem_app_disconn_reason_flag
+	set0 APP_DISC_BY_BUTTON ,pdata
+	store APP_DISC_RSN_SIZE,mem_app_disconn_reason_flag
+	branch check_51cmd_stop_discovery
+
+app_event_switch_success:
+	jam 0,mem_switch_fail_master_count
+	rtn	
+
+app_event_switch_fail_master:
+	fetch 1,mem_switch_fail_master_count
+	increase 1,pdata
+	store 1,mem_switch_fail_master_count
+	sub pdata,1,null
+	branch app_bt_role_switch,positive
+	jam 0,mem_switch_fail_master_count
+	fetch APP_DISC_RSN_SIZE,mem_app_disconn_reason_flag
+	set1 APP_DISC_SWITCH_FAIL,pdata
+	store APP_DISC_RSN_SIZE,mem_app_disconn_reason_flag
+	branch app_bt_disconnect
+	
+app_process_bb_event_priority:
+	fetch 2,mem_cb_bb_event_process
+	branch callback_func
+
+app_check_wake_lock:
+	fetch 2,mem_cb_check_wakelock
+	branch callback_func
+	
+app_will_enter_lpm:
+	fetch 2,mem_cb_before_lpm
+	branch callback_func
+
+app_event_linkkey_generate:
+	fetch APP_DISC_RSN_SIZE,mem_app_disconn_reason_flag
+	set1 APP_DISC_AFTER_PAIRING ,pdata
+	store APP_DISC_RSN_SIZE,mem_app_disconn_reason_flag
+	branch app_bt_store_reconn_info
+	
+app_event_reconn_start:
+	fetch 2,mem_ui_state_map
+	set1 UI_STATE_BT_RECONNECT,pdata
+	store 2,mem_ui_state_map
+	fetch APP_DISC_RSN_SIZE,mem_app_disconn_reason_flag
+	set1 APP_DISC_AFTER_RECONN,pdata
+	store APP_DISC_RSN_SIZE,mem_app_disconn_reason_flag
+	rtn
+
+app_evt_setup_complete:
+	fetch 2,mem_ui_state_map
+	set1 UI_STATE_BT_SETUP_COMPLETE,pdata
+	store 2,mem_ui_state_map
+	fetch APP_DISC_RSN_SIZE,mem_app_disconn_reason_flag
+	set1 APP_DISC_AFTER_SETUP_DONE,pdata
+	store APP_DISC_RSN_SIZE,mem_app_disconn_reason_flag
+	rtn
+
+app_evt_hid_handshake:
+	fetch 2,mem_ui_state_map
+	set1 UI_STATE_BT_HID_HANDSHAKE,pdata
+	store 2,mem_ui_state_map
+	rtn
+	
+app_event_enter_sniff:
+	fetch 2,mem_ui_state_map
+	set1 UI_STATE_BT_SNIFF,pdata
+	store 2,mem_ui_state_map
+	fetch APP_DISC_RSN_SIZE,mem_app_disconn_reason_flag
+	set1 APP_DISC_AFTER_SNIFF,pdata
+	store APP_DISC_RSN_SIZE,mem_app_disconn_reason_flag
+	rtn
+	
+app_event_exit_sniff:
+	fetch 2,mem_ui_state_map
+	set0 UI_STATE_BT_SNIFF,pdata
+	store 2,mem_ui_state_map
+	rtn
+
+app_le_event_bb_connected:
+	fetch 2,mem_ui_state_map
+	set1 UI_STATE_BLE_CONNECTED,pdata
+	store 2,mem_ui_state_map
+	rtn
+	
+app_le_event_bb_disconn:
+	jam 0,mem_le_l2cap_att_states
+	fetch 2,mem_ui_state_map
+	set0 UI_STATE_BLE_CONNECTED,pdata
+	store 2,mem_ui_state_map
+	branch app_lpm_mult_disable
+	
+app_bb_event_hid_connected:
+	fetch 2,mem_ui_state_map
+	set1 UI_STATE_BT_HID_CONN,pdata
+	store 2,mem_ui_state_map
+	rtn
+
+app_evt_button_long_pressed:
+	fetch APP_DISC_RSN_SIZE,mem_app_disconn_reason_flag
+	set1 APP_DISC_BY_BUTTON,pdata
+	store APP_DISC_RSN_SIZE,mem_app_disconn_reason_flag
+	rtn
+	
+app_event_ml2cap_conn_refused:
+	fetch APP_DISC_RSN_SIZE,mem_app_disconn_reason_flag
+	set1 APP_DISC_L2CAP_REFUSED,pdata
+	store APP_DISC_RSN_SIZE,mem_app_disconn_reason_flag
+	branch  app_bt_disconnect
+
+
+app_evt_timer:
+	store 1,mem_app_evt_timer_count
+app_evt_100ms_loop:
+	bpatch patch15_7,mem_patch15
+	fetch 1,mem_app_evt_timer_count
+	rtn blank
+	increase -1,pdata
+	store 1,mem_app_evt_timer_count
+	call ui_button_polling
+	call app_lpm_wake_auto_lock_timer
+	call app_unsniff_delay_timer
+	call app_discovery_timer
+	call flash_write_spi_sm_timer
+	fetch 2,mem_cb_event_timer
+	call callback_func
+	branch app_evt_100ms_loop
+
+
+//regc:timer addr
+//regb:timer up call back fuction
+timer_single_step:
+	ifetch 1,regc
+	rtn blank
+	pincrease -1
+	istore 1,regc
+	nrtn blank
+	copy regb,pdata
+	branch callback_func
+
+//regc:timer addr
+//regb:timer up call back fuction
+timer_single_step_2B:
+	ifetch 2,regc
+	rtn blank
+	pincrease -1
+	istore 2,regc
+	nrtn blank
+	copy regb,pdata
+	branch callback_func
+	
+app_power_timer:
+	fetcht 2,mem_power_param_ptr
+	add temp,power_timer_offset,regc
+	arg app_power_timer_timeout,regb
+	branch timer_single_step
+	
+app_power_timer_timeout:
+	call app_got_power_state_common
+	beq POWER_STARTING,app_enter_power_stanby_state
+app_enter_power_off_state:
+	branch app_enter_hibernate
+app_enter_power_stanby_state:
+	setarg POWER_STANDBY
+	istore 1,regc
+	add temp,power_standby_cb_offset,regb
+app_power_cb_common:
+	ifetch 2,regb
+	branch callback_func
+
+app_unsniff_delay_timer:
+	arg mem_unsniff2sniff_timer_count,regc
+	arg app_unsniff_delay_timeout,regb
+	branch timer_single_step
+	
+app_unsniff_delay_timeout:
+	call context_check_idle
+	branch app_bt_enter_sniff,zero
+	rtn
+
+
+app_discovery_timer:
+	arg mem_discovery_timeout_timer_count,regc
+	arg app_discovery_timeout,regb
+	branch timer_single_step_2B
+	
+app_discovery_timeout:
+	call app_bt_stop_discovery
+	call app_led_off
+	fetch 2,mem_cb_discovry_timeout
+	branch callback_func
+
+	
+app_bb_event_reconn_failed:
+	call app_disconn_reason_flag_clear
+app_clear_reconnect_flag:
+	fetch 2,mem_ui_state_map
+	set0 UI_STATE_BT_RECONNECT,pdata
+	store 2,mem_ui_state_map
+	rtn
+
+app_bb_event_bb_disconn:
+	jam 0,mem_unsniff2sniff_timer_count
+	fetch 2,mem_ui_state_map
+	bbit1 UI_STATE_BT_RECONNECT,app_bb_event_bb_reconn_disconn
+	isolate0 UI_STATE_BT_SETUP_COMPLETE,pdata
+ 	call app_discard_event,true
+app_bb_event_bb_reconn_disconn:
+	bpatch patch16_0,mem_patch16
+	fetch 2,mem_ui_state_map
+	set0 UI_STATE_BT_CONNECTED,pdata
+	set0 UI_STATE_BT_SETUP_COMPLETE,pdata
+	set0 UI_STATE_BT_HID_CONN,pdata
+	set0 UI_STATE_BT_HID_HANDSHAKE,pdata
+	set0 UI_STATE_BT_RECONNECT,pdata
+	store 2,mem_ui_state_map
+	branch app_lpm_mult_disable
+	
+app_bb_hibernate:
+	call app_disconn_reason_clear
+	branch app_enter_hibernate
+
+	
+app_disconn_reason_clear:
+	setarg 0
+	store APP_DISC_RSN_SIZE,mem_app_disconn_reason
+	rtn
+app_disconn_reason_flag_clear:
+	setarg 0
+	store APP_DISC_RSN_SIZE,mem_app_disconn_reason_flag
+	rtn
+
+app_disconn_reason_collect_bt:
+	fetch APP_DISC_RSN_SIZE,mem_app_disconn_reason_flag
+	store APP_DISC_RSN_SIZE,mem_app_disconn_reason
+	setarg 0
+	store APP_DISC_RSN_SIZE,mem_app_disconn_reason_flag
+	rtn
+	
+app_disconn_reason_collect_ble:
+	fetch APP_DISC_RSN_SIZE,mem_app_disconn_reason_flag
+	set1 APP_DISC_BLE,pdata
+	store APP_DISC_RSN_SIZE,mem_app_disconn_reason
+	setarg 0
+	store APP_DISC_RSN_SIZE,mem_app_disconn_reason_flag
+	rtn
+
+	
+//
+//
+//
+
+
+app_check_sniff:
+	fetch 1,mem_ui_state_map
+	isolate1 UI_STATE_BT_SNIFF,pdata
+	rtn
+
+//
+//
+//
+app_start_auto_sniff:
+	fetch 1,mem_unsniff2sniff_timer
+	store 1,mem_unsniff2sniff_timer_count
+	rtn
+	
+app_get_lpm_wake_lock:
+	arg wake_lock_app,queue
+	branch lpm_get_wake_lock
+
+app_put_lpm_wake_lock:
+	arg wake_lock_app,queue
+	branch lpm_put_wake_lock
+	
+app_lpm_wake_auto_lock:
+	jam  LPM_WAKE_UP_DELAY_TIMER,mem_wake_up_delay_timer
+	branch app_get_lpm_wake_lock
+	
+app_lpm_wake_auto_lock_timer:
+	arg mem_wake_up_delay_timer,regc
+	arg app_put_lpm_wake_lock,regb
+	branch timer_single_step
+
+app_l2cap_flow_control_enable:
+	jam L2CAP_FLOW_CTRL_ENABLE,mem_l2cap_flow_ctrl_flag
+	rtn
+
+app_l2cap_flow_control_disable:
+	jam L2CAP_FLOW_CTRL_DISABLE,mem_l2cap_flow_ctrl_flag
+	rtn
+	
+app_bt_set_pincode:
+	jam BT_CMD_SET_PIN_CODE,mem_fifo_temp
+	branch ui_ipc_send_cmd
+
+app_bt_role_switch:
+	jam BT_CMD_ROLE_SWITCH,mem_fifo_temp
+	branch ui_ipc_send_cmd
+	
+app_bt_start_reconnect:
+	bpatch patch16_1,mem_patch16
+	fetch 1,mem_app_connection_options
+	store 1,mem_connection_options
+	jam APP_FLAG_RECONNECT,mem_reconnect_flag
+	jam BT_CMD_RECONNECT,mem_fifo_temp
+	branch ui_ipc_send_cmd	
+	
+app_bt_reconnect_cancel:
+	jam BT_CMD_BB_RECONN_CANCEL,mem_fifo_temp
+	branch ui_ipc_send_cmd
+	
+app_bt_disconnect:
+	jam BT_CMD_DISCONNECT,mem_fifo_temp
+	branch ui_ipc_send_cmd	
+
+app_bt_start_discovery_short:
+	fetch 2,mem_discovery_timeout
+	store 2,mem_discovery_timeout_timer_count
+app_bt_start_discovery_led_blink:
+	call app_led_start_blink
+app_bt_start_discovery:
+	jam BT_CMD_START_DISCOVERY,mem_fifo_temp
+	branch ui_ipc_send_cmd
+
+app_bt_stop_discovery:
+	setarg 0
+	store 2,mem_discovery_timeout_timer_count
+	jam BT_CMD_STOP_DISCOVERY,mem_fifo_temp
+	branch ui_ipc_send_cmd
+	
+app_ble_start_direct_adv:
+	jam BT_CMD_START_DIRECT_ADV,mem_fifo_temp
+	branch ui_ipc_send_cmd
+
+app_ble_stop_direct_adv:
+	jam BT_CMD_STOP_DIRECT_ADV,mem_fifo_temp
+	branch ui_ipc_send_cmd
+	
+app_ble_stop_adv:
+	jam BT_CMD_STOP_ADV,mem_fifo_temp
+	branch ui_ipc_send_cmd
+	
+app_ble_start_adv:	
+	jam BT_CMD_START_ADV,mem_fifo_temp
+	branch ui_ipc_send_cmd
+	
+app_ble_start_scan:
+	jam BT_CMD_LE_START_SCAN,mem_fifo_temp
+	branch ui_ipc_send_cmd
+	
+app_ble_stop_scan:
+	jam BT_CMD_LE_STOP_SCAN,mem_fifo_temp
+	branch ui_ipc_send_cmd
+	
+app_ble_start_conn:
+	jam BT_CMD_LE_START_CONN,mem_fifo_temp
+	branch ui_ipc_send_cmd
+	
+app_ble_disconnect:
+	jam BT_CMD_LE_DISCONNECT,mem_fifo_temp
+	branch ui_ipc_send_cmd
+	
+app_led_start_blink:	
+	jam BT_CMD_LED_BLINK,mem_fifo_temp
+	branch ui_ipc_send_cmd
+
+app_led_on:
+	jam BT_CMD_LED_ON,mem_fifo_temp
+	branch ui_ipc_send_cmd
+	
+app_led_stop_blink:
+app_led_off:
+	jam BT_CMD_LED_OFF,mem_fifo_temp
+	branch ui_ipc_send_cmd
+	
+app_enter_hibernate:
+	jam BT_CMD_ENTER_HIBERNATE,mem_fifo_temp 
+	branch ui_ipc_send_cmd
+	
+app_bt_sniff_exit:
+	jam BT_CMD_EXIT_SNIFF,mem_fifo_temp
+	branch  ui_ipc_send_cmd
+	
+app_bt_enter_sniff:
+	jam BT_CMD_ENTER_SNIFF,mem_fifo_temp
+	branch ui_ipc_send_cmd
+
+app_ble_store_reconn_info:
+	jam BT_CMD_STORE_RECONN_INFO_LE,mem_fifo_temp
+	branch ui_ipc_send_cmd
+
+app_bt_store_reconn_info:
+	jam BT_CMD_STORE_RECONN_INFO_BT,mem_fifo_temp
+	branch ui_ipc_send_cmd
+
+app_store_reconn_info:
+	jam BT_CMD_STORE_RECONN_INFO,mem_fifo_temp
+	branch ui_ipc_send_cmd
+
+app_lpm_mult_enable:
+	set1 mark_lpm_mult_enable,mark
+	rtn
+
+app_lpm_mult_disable:
+	set0 mark_lpm_mult_enable,mark
+	rtn
+
+
+app_button_long_pressed:
+	call app_got_power_state_common
+	beq POWER_STANDBY,app_power_shutting_down
+app_power_starting:
+	setarg POWER_STARTING
+	istore 1,regc
+	add temp,power_starting_timeout_offset,rega
+	add temp,power_starting_cb_offset,regb
+app_power_common:
+	ifetcht 1,rega
+	increase 1,regc
+	istoret 1,regc
+	branch app_power_cb_common
+	
+app_power_shutting_down:
+	setarg POWER_OFF
+	istore 1,regc
+	fetch 2,mem_ui_state_map
+	bbit0 UI_STATE_BLE_CONNECTED,app_power_off_end
+	call le_send_terminate_ind_user_terminated
+	call app_ble_disconnect
+app_power_off_end:
+	fetcht 2,mem_power_param_ptr
+	add temp,power_off_timeout_offset,rega
+	add temp,power_off_cb_offset,regb
+	branch app_power_common
+	
+app_got_power_state_common:
+	fetcht 2,mem_power_param_ptr
+	add temp,power_state_offset,regc
+	ifetch 1,regc
+	rtn
+
+app_event_button_up:
+	call app_got_power_state_common
+	bne POWER_OFF,app_power_release
+	branch app_enter_hibernate
+app_power_release:
+	add temp,ui_butten_up_cb_offset,regb
+	branch app_power_cb_common
+
+
+app_hid_connected:
+	setarg HID_HANDSHAKE_TIMEOUT
+	store 1,mem_hid_handshake_timer_count
+	rtn
+
+
+antilost_init:
+	rtn wake	
+	setarg antilost_le_before_hibernate
+	store 2,mem_cb_before_hibernate
+	setarg keyscan_process_lpm_before
+	store 2,mem_cb_before_lpm
+	setarg antilost_idle_process	//
+	store 2,mem_cb_idle_process
+	setarg antilost_le_conn_process	//
+	store 2,mem_cb_le_process
+	setarg antilost_bb_event_process 
+	store 2,mem_cb_bb_event_process
+	setarg antilost_le_bb_event_timer
+	store 2,mem_cb_event_timer
+	setarg antilost_le_notification
+	store 2,mem_cb_ble_transmit
+	setarg antilost_lpm_lock_process
+	store 2,mem_cb_check_wakelock
+	setarg antilost_le_receive_data_process
+	store 2,mem_cb_att_write
+	bpatch patch16_2,mem_patch16
+	
+	call antilost_buzzer_pwm_init
+	call antilost_set_ble_version
+	call keyscan_key_init
+	call antilost_adc_init
+	call ui_led_init_global
+	call ui_button_init
+	setarg antilost_key_up_down
+	store 2,mem_cb_antl_key
+	setarg antilost_power_off_cb
+	store 2,mem_antl_power_off_cb
+	setarg antilost_power_starting_cb
+	store 2,mem_antl_power_starting_cb
+	setarg antilost_power_standby_cb
+	store 2,mem_antl_power_standby_cb
+	setarg antilost_led_on_cb
+	store 2,mem_antl_led_cb_on
+	setarg antilost_led_off_cb
+	store 2,mem_antl_led_cb_off
+	setarg antilost_buzzer_on
+	store 2,mem_antl_buzzer_cb_on
+	setarg antilost_buzzer_off
+	store 2,mem_antl_buzzer_cb_off
+	fetch 2,mem_ui_state_map
+	rtnbit1 UI_STATE_BTN_DOWN
+	branch app_enter_hibernate
+
+antilost_set_ble_version:
+	//set ble version  4.1 
+	jam 7,mem_lmp_version
+	rtn
+
+
+antilost_le_before_hibernate:
+	call antilost_led_buzzer_stop_blink
+	branch  app_enter_hibernate
+
+antilost_le_notification:
+	call le_fifo_check_nearly_full
+	nrtn blank
+	arg mem_temp_block5,rega
+	call queue_pop
+	nrtn user
+	arg mem_temp_block5,contr
+	branch le_send_notify_from_list
+
+antilost_power_standby_cb:
+	fetch 2,mem_antl_le_sleep_timeout
+	store 2,mem_antl_le_sleep_timer
+	jam 1,mem_antl_key_scan_enable
+	branch antilost_fast_adv_start
+	
+antilost_lpm_lock_process:
+	fetch 1,mem_antl_key_state
+	beq 1,antilost_lpm_ctrl_for_led_buzzer
+	fetch 2,mem_ui_state_map
+	bbit0 UI_STATE_BLE_CONNECTED,antilost_lpm_ctrl_for_led_buzzer
+	fetch 1,mem_antl_lost_mode
+	beq 1,app_get_lpm_wake_lock
+	fetch 1, mem_antl_queue_curr_num
+	nbranch app_get_lpm_wake_lock,blank 
+	branch app_put_lpm_wake_lock
+	
+antilost_lpm_ctrl_for_led_buzzer:
+	fetch 1,mem_antl_led_state
+	fetcht 1,mem_antl_buzzer_state
+	ior temp,pdata
+	beq 1,app_get_lpm_wake_lock
+	branch app_put_lpm_wake_lock
+
+antilost_bb_event_process:
+	copy regc,pdata
+	beq BT_EVT_BUTTON_UP,app_event_button_up
+	beq BT_EVT_BUTTON_LONG_PRESSED,app_button_long_pressed
+	beq BT_EVT_LE_CONNECTED,antilost_le_process_conn
+	beq BT_EVT_LE_DISCONNECTED,antilost_le_process_discon
+	beq BT_EVT_LE_PARSE_CONN_PAPA_UPDATE_RSP,antilost_le_conn_param_update_rsp_recieved
+	beq BT_EVT_LE_PARSE_CONN_PARAM_ACCEPTED,antilost_le_conn_param_accepted
+	rtn
+antilost_le_conn_param_update_rsp_recieved:
+	call antilost_le_conn_param_updata_judge
+	fetch 2,mem_le_l2cap_signaling_conn_param_update_rsp_result
+	beq BLE_SIGNALING_CONNECT_PARAMETER_UPDATE_REJECTED,antilost_le_conn_param_rejected
+antilost_le_conn_param_updata_procedure_sucsess:
+	jam CONN_PARAM_UPDATA_PROCEDURE_COMPLETE,mem_antl_conn_updata_procedure_state
+	jam 60,mem_antl_conn_update_timer
+	rtn
+antilost_le_conn_param_updata_judge:
+	fetch 1,mem_le_state
+	rtnbit1 lestate_update_param
+	jam 1,mem_lestate_update_param_flag
+	rtn
+
+	
+antilost_le_conn_param_accepted:
+	fetch 1,mem_lestate_update_param_flag
+	rtn blank
+	jam 0,mem_lestate_update_param_flag
+	fetch 2,mem_le_new_connslavelatency
+	branch antilost_master_nonsupport_latency,blank
+	rtn
+
+antilost_le_conn_param_rejected:
+	fetch 2,mem_le_latency
+	branch antilost_conn_param_updata_procedure_faild,blank
+antilost_conn_param_retransimiting:
+	jam CONN_PARAM_UPDATA_PROCEDURE_STARTING,mem_antl_conn_updata_procedure_state
+	fetcht 2,mem_interval_increment
+	fetch 2,mem_le_interval_min
+	iadd temp,pdata
+	store 2,mem_le_interval_min
+	copy pdata,rega
+	fetch 2,mem_le_interval_max
+	iadd temp,pdata
+	store 2,mem_le_interval_max
+	iadd rega,pdata
+	rshift pdata,temp
+	fetch 2,mem_antl_le_unnormal_interval_max
+	idiv temp
+	call get_div_result
+	store 2,mem_le_latency
+	jam 1,mem_antl_send_updata_le_param_timer
+	rtn
+antilost_conn_param_updata_procedure_faild:
+	jam CONN_PARAM_UPDATA_PROCEDURE_FAILD,mem_antl_conn_updata_procedure_state
+	rtn
+
+antilost_master_nonsupport_latency:
+	jam 0,mem_lpm_mult
+	jam 0,mem_antl_send_updata_le_param_timer
+	fetch 2,mem_le_new_conninterval	//interval from master
+	fetcht 2,mem_antl_le_unnormal_interval_min
+	isub temp,null
+	setflag positive,0,rega 
+	fetch 2,mem_antl_le_unnormal_interval_max //local intervalmax
+	fetcht 2,mem_le_new_conninterval//interval form master
+	isub temp,pdata
+	setflag positive,1,rega
+	compare	0x03,rega,0x03
+	rtn true //return if the new conn_interval in range through conn_interval_min to conn_interval_max already
+	fetch 8,mem_antl_le_unnormal_interval_min
+	store 8,mem_le_interval_min
+	jam 1,mem_antl_send_updata_le_param_timer
+	rtn                               
+
+
+antilost_le_bb_event_timer:
+	call app_power_timer
+	call antilost_double_click_timer
+	call antilost_le_fast_adv_timer
+	call antilost_le_sleep_timer
+	call antilost_app_updata_le_param_timer
+	call antilost_conn_update_timer
+	call antilost_conn_battery_send_timer
+	call antilost_disconn_buzzer_on_timer
+	branch antilost_adc_check_timer
+
+antilost_disconn_buzzer_on_timer:
+	arg mem_antl_disconn_buzzer_on_timer,regc
+	arg antilost_disconn_buzzer_off,regb
+	branch timer_single_step_2B
+
+antilost_disconn_buzzer_off:
+	arg 1,rega
+	call ui_led_blink_stop_global
+	fetch 2,mem_buzzer_pwm_conf
+	branch pwm_disable
+
+
+antilost_conn_battery_send_timer:
+	arg mem_antilost_conn_battery_send_timer,regc
+	arg antilost_conn_battery_send,regb
+	branch timer_single_step
+antilost_conn_battery_send:
+	call antilost_battery_process
+	call antilost_battery_process
+	call antilost_battery_process
+	branch antilost_battery_calculate_end //send twice to combat the failure of reception first time
+
+	
+antilost_double_click_timer:
+	arg mem_double_click_timer,regc
+	arg antilost_double_click_timeout,regb
+	branch timer_single_step
+antilost_double_click_timeout:
+	jam 0,mem_butten_click_cnt
+	rtn
+antilost_le_fast_adv_timer:
+	arg mem_antl_fast_adv_timer,regc
+	arg antilost_le_fast_adv_timeout,regb
+	branch timer_single_step_2B
+antilost_le_fast_adv_timeout:
+	arg mem_antl_slow_adv_led_style,regc
+	arg mem_antl_slow_adv_lpm_interval,regb
+	branch antilost_adv_start_common
+	
+
+antilost_conn_update_timer:
+	arg mem_antl_conn_update_timer,regc
+	arg antilost_conn_update_timer_time_out,regb
+	branch timer_single_step
+	
+antilost_conn_update_timer_time_out:
+	fetch 2,mem_le_latency
+	store 1,mem_lpm_mult
+	rtn
+antilost_app_updata_le_param_timer:
+	arg mem_antl_send_updata_le_param_timer,regc
+	arg antilost_app_updata_le_param_timeout,regb
+	branch timer_single_step
+antilost_app_updata_le_param_timeout:
+	fetch 1,mem_le_state
+	compare 0,pdata,0x60
+	nbranch antilost_wait_for_updata_param_instant_expire,true
+	jam CONN_PARAM_UPDATA_PROCEDURE_STARTING,mem_antl_conn_updata_procedure_state
+	call  app_lpm_mult_enable
+	branch le_l2cap_tx_update_req	
+antilost_wait_for_updata_param_instant_expire:
+	jam 1,mem_antl_send_updata_le_param_timer
+	rtn
+	
+antilost_le_sleep_timer:
+	arg mem_antl_le_sleep_timer,regc
+	arg antilost_le_sleep_timer_timeout,regb
+	branch timer_single_step_2B
+
+
+antilost_le_sleep_timer_timeout:
+	branch app_button_long_pressed
+
+antilost_adc_check_timer:
+	arg mem_adc_timer,regc
+	arg antilost_adc_check_timer_timeout,regb
+	branch timer_single_step_2B
+antilost_adc_check_timer_timeout:
+	fetch 2,mem_adc_timeout
+	store 2,mem_adc_timer
+	branch antilost_battery_process
+
+
+antilost_le_process_conn:
+	fetch 2,mem_adc_timeout
+	store 2,mem_adc_timer
+	setarg 0
+	store 2,mem_antl_fast_adv_timer
+	store 2,mem_antl_le_sleep_timer
+	call antilost_alert_off
+	call antilost_led_buzzer_stop_blink
+	jam 0,mem_lpm_mult
+	branch app_ble_stop_adv
+	                                                      
+
+antilost_le_process_discon:
+	setarg 0
+	store 4,mem_adc_timer
+	store 3,mem_antl_conn_updata_procedure_state
+	store 2,mem_le_l2cap_signaling_conn_param_update_rsp_result
+	
+	jam 1,mem_alarm_config_notfy_cnt
+	fetch 2,mem_antl_le_sleep_timeout
+	store 2,mem_antl_le_sleep_timer
+
+	fetch 2,mem_antl_disconn_buzzer_on_timeout
+	store 2,mem_antl_disconn_buzzer_on_timer
+	
+	call queue_init
+	fetch 1,mem_antl_power_state
+	rtneq POWER_OFF
+	call antilost_fast_adv_start
+	branch antilost_on_off_alarm_after_disconn
+
+
+antilost_le_conn_process:
+//bpatch
+	branch antilost_key_process
+
+antilost_idle_process:
+
+	fetch 1,mem_antl_power_state
+	rtnne POWER_STANDBY
+	branch antilost_key_process
+
+
+//////////////////////////////////////////////////////////////////////////////////////////
+/////SOFT WTICH////////
+antilost_power_starting_cb:
+	arg mem_antl_power_starting_buzzer_style,regc
+	call antilost_buzzer_configuration
+	arg mem_antl_power_starting_led_style,regc
+antilost_power_common:
+	branch antilost_led_configuration
+
+antilost_power_off_cb:
+	jam OFF,mem_le_adv_enable
+	arg mem_antl_power_off_buzzer_style,regc
+	call antilost_buzzer_configuration
+	arg mem_antl_power_off_led_style,regc
+	branch antilost_power_common
+	
+antilost_le_receive_data_process:
+	fetch 1,mem_le_att_opcode
+	beq ATTOP_WRITE_REQUEST,antilost_le_parse_att_write_request
+	rtn
+antilost_le_parse_att_write_request:
+	fetch 2,mem_le_att_handle
+//	beq  ATT_WRITE_REQUEST_HANDLE,antilost_key_data_send
+	beq NEW_SPEC_WRITE_HANDLE,antilost_cmd_parse_for_application
+	beq NEW_SPEC_NOTIFICATION_ENABLE_HANDLE,antilost_notify_alarm_config_first_time
+	rtn
+/////////////////////////////////////////////////////////
+
+
+/////////key scan
+antilost_key_process:
+	fetch 1,mem_antl_key_scan_enable
+	rtn blank
+	branch keyscan_key_process
+
+	//queue = key index
+	//rega =1 press, =0 release
+antilost_key_up_down:
+	copy rega,pdata
+	branch antilost_key_is_up,blank
+antilost_key_is_down:
+	copy queue,pdata
+	beq 0,antilost_key0_down
+	rtn
+antilost_key_is_up:
+	copy queue,pdata
+	beq 0,antilost_key0_up
+	rtn
+
+antilost_key0_down:
+	jam 1,mem_antl_key_state
+	arg mem_antl_key_buzzer_style,regc
+	call antilost_buzzer_configuration
+	arg mem_antl_key_led_style,regc
+	call antilost_led_configuration
+	fetch 2,mem_ui_state_map
+	bbit0 UI_STATE_BLE_CONNECTED,antilost_butten_down_while_disconn
+	branch antilost_butten_down_after_conn
+	
+antilost_key0_up:
+	jam 0,mem_antl_key_state
+	branch antilost_double_click_timer_init
+
+//////////////process for double-click
+
+antilost_double_click_timer_init:
+	fetch 1,mem_butten_click_cnt
+	rtnne 1
+	jam 5,mem_double_click_timer
+	rtn
+
+antilost_butten_down_after_conn:
+	fetch 1,mem_butten_click_cnt
+	pincrease 1
+	store 1,mem_butten_click_cnt
+	beq 1,antilost_click_once
+	beq 2,antilost_click_twice
+	rtn
+antilost_click_once:
+	call antilost_alert_off
+	jam OPCODE1_BUTTEN_CLICK_ONCE,mem_antl_key0_press+5//5 represent opcode offset
+	arg mem_antl_key0_press,regc
+	branch antilost_prepare_data_and_send
+antilost_click_twice:
+	jam 0,mem_butten_click_cnt
+	jam OPCODE2_BUTTEN_DOUBLE_CLICK,mem_antl_key0_press+5
+	arg mem_antl_key0_press,regc
+	call antilost_prepare_data_and_send
+	fetch 1,mem_antl_lost_mode
+	beq 1,antilost_alert_on
+	rtn   //rtn should be retaind
+	
+antilost_butten_down_while_disconn:
+	fetch 2,mem_antl_le_sleep_timeout
+	store 2,mem_antl_le_sleep_timer
+	call antilost_alert_off
+	branch antilost_fast_adv_start
+	
+///////////////////////NEW App Spcecific///////
+antilost_cmd_parse_for_application:
+	bpatch patch16_3,mem_patch16
+	call le_app_receive_data
+	ifetch 1,rega
+	beq OPCODE3_ANTL_START_ALRAM,antilost_on_of_alram
+	beq OPCODE7_ANTL_CONFIG_ALRAM,antilost_configuration_for_alram
+	rtn
+
+antilost_on_of_alram:
+	fetch 1,mem_antl_lost_mode
+	beq ANTI_LE_ALARM_OFF,antilost_alert_on
+	beq ANTI_LE_ALARM_ON,antilost_alert_off
+	rtn
+
+antilost_configuration_for_alram:
+	ifetch 1,regb
+	beq 1,antilost_set_start_alarm_after_disconn
+	beq 0,antilost_set_no_alarm_after_disconn
+	rtn
+/////////////////check////////////////////////
+
+//mem_temp_block5
+antilost_prepare_data_and_send:
+	bpatch patch16_4,mem_patch16
+	fetch 1,mem_client_characteristic_configuration_descriptor
+	isolate1 NOTIFICATION_ENABLE_BIT,pdata
+	nrtn true
+	add regc,6,contr
+	ifetch 2,contr
+	byteswap pdata,pdata
+	add pdata,5,loopcnt
+	add regc,3,contr
+	call calc_check_sum_start
+	istore 1,contr
+	copy regc,rega
+	branch queue_push
+
+/////////////////NEW APP SPECIFIC check end////////////////////
+
+
+/////////alarm//////////////////////////////
+antilost_alert_on:
+	fetch 1,mem_antl_power_state
+	rtn blank
+	jam 1,mem_antl_lost_mode
+	arg mem_antl_alert_buzzer_stlye,regc
+	call antilost_buzzer_configuration
+	arg mem_antl_alert_led_stlye,regc
+	call antilost_led_configuration
+	jam OPCODE4_CURRENT_ALARM_STATE,mem_antl_key0_release+5//5 represent opcode offset
+	jam 1,mem_antl_key0_release+8 //8 represent data offset,digit 1 represent alarm is on at present
+	arg mem_antl_key0_release,regc
+	branch antilost_prepare_data_and_send
+antilost_alert_off:
+	fetch 1,mem_antl_lost_mode
+	rtn blank
+	jam 0,mem_antl_lost_mode
+	call antilost_led_buzzer_stop_blink
+	jam OPCODE4_CURRENT_ALARM_STATE,mem_antl_key0_release+5//5 represent opcode offset
+	jam 0,mem_antl_key0_release+8 //8 represent data offset,digit 0 represent alarm is off at present
+	arg mem_antl_key0_release,regc
+	branch antilost_prepare_data_and_send
+
+antilost_set_start_alarm_after_disconn:
+	jam 1,mem_alarm_config
+	jam OPCODE7_ANTL_CONFIG_ALRAM,mem_antl_key0_release+5
+	jam 1,mem_antl_key0_release+8
+	arg mem_antl_key0_release,regc
+	branch antilost_prepare_data_and_send
+antilost_set_no_alarm_after_disconn:
+	jam 0,mem_alarm_config
+	jam OPCODE7_ANTL_CONFIG_ALRAM,mem_antl_key0_release+5
+	jam 0,mem_antl_key0_release+8
+	arg mem_antl_key0_release,regc
+	branch antilost_prepare_data_and_send
+antilost_on_off_alarm_after_disconn:
+	fetch 1,mem_alarm_config
+	rtn blank
+	branch antilost_alert_on
+	
+antilost_notify_alarm_config_first_time:
+	ifetch 2,rega
+	store 2,mem_client_characteristic_configuration_descriptor
+	isolate1 NOTIFICATION_ENABLE_BIT,pdata
+	nrtn true
+	fetch 1,mem_alarm_config_notfy_cnt
+	rtn blank
+	jam 0,mem_alarm_config_notfy_cnt
+	fetch 8,mem_antl_le_interval_min
+	store 8,mem_le_interval_min
+	jam 3,mem_antilost_conn_battery_send_timer
+	jam OPCODE7_ANTL_CONFIG_ALRAM,mem_antl_key0_release+5
+	jam 30,mem_antl_send_updata_le_param_timer
+	fetch 1,mem_alarm_config
+	store 1,mem_antl_key0_release+8
+	arg mem_antl_key0_release,regc
+	branch antilost_prepare_data_and_send
+
+//////////////alarm end//////////////////////////
+//sytle address in regc
+antilost_buzzer_configuration:
+	arg 1,rega
+	branch antilost_configuration_common
+antilost_led_configuration:
+	arg 0,rega
+antilost_configuration_common:
+	branch antilost_led_buzzer_style_configuration
+	
+antilost_led_buzzer_stop_blink:
+	arg 0,rega
+	call ui_led_blink_stop_global
+	arg 1,rega
+	call ui_led_blink_stop_global
+	fetch 2,mem_buzzer_pwm_conf
+	branch pwm_disable
+	
+antilost_led_buzzer_style_configuration:
+	call calc_curr_struct_prt
+	arg 7,loopcnt
+	branch ui_led_set_style_global+2
+
+
+
+antilost_fast_adv_start:
+	arg mem_antl_fast_adv_led_style,regc
+	arg mem_antl_lpm_interval,regb
+antilost_adv_start_common:
+	call antilost_adv_interval_lpm_interval_set
+	call antilost_led_configuration
+	fetch 2,mem_antl_fast_adv_timeout
+	store 2,mem_antl_fast_adv_timer
+	branch app_ble_start_adv
+	
+antilost_adv_interval_lpm_interval_set:
+	ifetch 2,regb
+	store 2,mem_lpm_interval
+	ifetch 2,contr
+	store 2,mem_le_adv_interval
+	rtn
+///////////////beep////////////
+antilost_buzzer_pwm_init:
+	arg 0,rega //sys clk 12mhz
+	call pwm_init
+	fetch 6,mem_buzzer_pwm_conf
+	store 6,mem_pdatatemp
+	call pwm_out_set
+	fetch 2,mem_buzzer_pwm_conf
+	branch pwm_disable
+	
+antilost_led_on_cb:
+	jam 1,mem_antl_led_state
+	rtn	
+antilost_led_off_cb:
+	jam 0,mem_antl_led_state
+	rtn
+
+
+
+antilost_buzzer_off:
+	jam 0,mem_antl_buzzer_state
+	fetch 2,mem_buzzer_pwm_conf
+	branch pwm_disable
+	
+antilost_buzzer_on:
+	jam 1,mem_antl_buzzer_state
+	fetch 6,mem_buzzer_pwm_conf
+	store 6,mem_pdatatemp
+	branch pwm_out_set
+
+////////////////beep end///////////////////////////
+/////////////adc start////////////////////////
+antilost_adc_init:
+	jam 0,mem_adc_config_flag
+	rtn
+	
+antilost_battery_process:
+	call vdd_calculate_by_mode
+	store 2,mem_battery_current_voltage
+	arg mem_battery_calculate_set,rega
+	call adc_bat_percent_lowpower_out
+	store 1,mem_voltage_remain_percent //for debug
+	setarg 0x65
+	beq 0,antilost_low_battery
+	sub pdata,0x64,null
+	nbranch antilost_full_battery,positive
+	store 1,mem_antl_key0_release+8
+antilost_battery_calculate_end:
+	jam OPCODE5_BATTER_INFORMATION,mem_antl_key0_release+5
+	arg mem_antl_key0_release,regc
+	branch antilost_prepare_data_and_send
+antilost_full_battery:
+	jam 100,mem_antl_key0_release+8
+	branch antilost_battery_calculate_end
+
+antilost_low_battery:
+	branch app_button_long_pressed
+
+
+
+car_init:
+	call enable_authrom
+	rtn wake
+	setarg car_g24_receive_process
+	store 2,mem_cb_24g_receive_process
+	
+	setarg g24_bind_ackpayload_prep
+	store 2,mem_cb_24g_ackpayload
+	
+	setarg car_g24_cb_data_device1
+	store 2,mem_cb_24g_data_device1
+
+	setarg car_le_before_hibernate
+	store 2,mem_cb_before_hibernate
+	
+	setarg car_le_process_lpm_before
+	store 2,mem_cb_before_lpm	
+	
+	setarg app_enter_hibernate
+	store 2,mem_cb_discovry_timeout
+	
+	setarg car_scale_process_idle	
+	store 2,mem_cb_idle_process	
+	
+	setarg car_scale_process_bb_event 
+	store 2,mem_cb_bb_event_process	
+	
+	setarg app_get_lpm_wake_lock
+	store 2,mem_cb_check_wakelock
+	
+	setarg car_le_receive_data
+	store 2,mem_cb_att_write
+	
+	setarg car_le_bb_event_timer
+	store 2,mem_cb_event_timer
+	
+	bpatch patch16_5,mem_patch16
+	call car_init_environment
+	call car_lpm_timer_enable
+	call queue_init
+	jam 2,mem_lpm_mult
+	jam POWER_ON,mem_car_24g_received_pac
+	fetch 1,mem_car_config_soft_switch_enable
+	store 1,mem_car_hard_soft_switch
+	beq HARD_SWITCH, car_hard_switch_power_on_signal
+	fetch 1,mem_car_config_soft_switch_gpio
+	store 1,mem_ui_button_gpio
+	jam OFF,mem_le_adv_enable
+car_soft_switch_power_on_init:
+	call ui_button_init
+	call ui_button_polling
+	jam POWER_STARTING,mem_car_power_state
+	fetch 2,mem_ui_state_map
+	rtnbit1 UI_STATE_BTN_DOWN
+ 	branch app_enter_hibernate
+
+car_power_off_signal:	
+	branch car_ui_led_init
+	
+car_hard_switch_power_on_signal:
+	jam POWER_STANDBY,mem_car_power_state
+car_soft_switch_power_on_signal:
+	jam ON,mem_le_adv_enable
+	setarg FAST_ADV_INTERVAL_VALUE_CAR
+	call shutter_ble_adv_interval_set
+car_le_modified_name_adv:
+	arg mem_le_name+7,contw
+	fetch 1,mem_le_lap
+car_name_loop:
+	and pdata,0xF0,temp
+	rshift4 temp,temp
+	call car_hex_to_ascii
+	istoret 1, contw
+	and pdata,0x0F,temp
+	call car_hex_to_ascii
+	istoret 1, contw
+	call le_modified_name_att_list
+	fetcht 1,mem_le_name_len
+	copy temp,loopcnt
+	arg mem_le_adv_data+2,contw
+	arg mem_le_name,contr
+	call memcpy
+car_le_modified_name_scan:
+	fetcht 1,mem_le_name_len
+	copy temp,loopcnt
+	arg mem_le_scan_data+2,contw
+	arg mem_le_name,contr
+	branch memcpy
+car_hex_to_ascii:
+	sub temp,9,null
+	branch car_hex_num,positive
+	add temp,55,temp
+	rtn
+car_hex_num:	
+	add temp,48,temp
+	rtn
+
+car_ui_led_init:
+	fetch 1,mem_car_config_blood_led1_gpio
+	bne INVALID_PIN_NUM,car_blood_led_gpio_set
+car_ui_led_init_1:
+	fetch 1,mem_car_config_pairing_led_gpio
+	bne INVALID_PIN_NUM,car_pairing_led_gpio_set
+car_ui_led_init_2:
+	fetch 1,mem_car_config_low_voltage_led_gpio
+	bne INVALID_PIN_NUM,car_low_voltage_led_gpio_set
+car_ui_led_init_3:
+	fetch 1, mem_car_led_num
+	copy pdata,loopcnt
+	setarg mem_car_led_map
+	copy pdata,rega
+car_in_lp1:
+	copy rega,contr
+	ifetch 1,contr
+	copy contr,rega
+	beq INVALID_PIN_NUM,car_in_lp1_end
+	copy pdata,temp
+	call gpio_config_output
+car_in_lp1_end:
+	loop car_in_lp1
+car_ui_led_init_end:
+	rtn
+car_blood_led_gpio_set:
+	fetch 8,mem_car_config_blood_led1_gpio
+	store 8,mem_car_led_map+2
+	branch car_ui_led_init_1
+car_pairing_led_gpio_set:
+	store 1,mem_car_led_map
+	branch car_ui_led_init_2
+car_low_voltage_led_gpio_set:
+	store 1,mem_car_led_map+1
+	branch car_ui_led_init_3
+
+car_init_environment:
+	
+	call car_g24_init
+	arg 0,rega
+	call pwm_init
+	call car_ui_led_init
+	call car_start_blink
+	call car_init_adc_hvin
+	branch car_motor_init
+
+car_motor_init:
+	fetch 1, mem_car_motor_gpio_num
+	copy pdata,loopcnt
+	setarg mem_car_motor_gpio_map
+	copy pdata,rega
+p_in_lp1:
+	copy rega,contr
+	ifetch 1,contr
+	copy contr,rega
+	beq INVALID_PIN_NUM,p_in_lp1_end
+	copy pdata,temp
+	store 1, mem_car_gpio
+	call car_ui_gpio_init
+p_in_lp1_end:
+	loop p_in_lp1
+p_car_ui_led_init_end:
+	rtn
+
+car_ui_gpio_init:
+	fetch 1,mem_car_gpio
+	rtneq UI_BUTTON_GPIO_DISABLE
+	iforce temp
+	branch gpio_config_output
+
+	
+car_init_adc_hvin:
+	jam 100,mem_car_notify_vdd_value_last
+	rtn
+	
+car_le_before_hibernate:
+car_le_process_lpm_before:
+	branch keyscan_process_lpm_before
+
+car_key_scan_process:
+	branch keyscan_key_process
+
+car_scale_process_idle:
+	call car_le_send_packet
+	call car_g24_status_process
+	branch car_key_scan_process
+
+car_g24_status_process:
+	fetch 2,mem_ui_state_map
+	rtnbit1 UI_STATE_BLE_CONNECTED
+	fetch 1,mem_car_24g_received_pac
+	beq WORK_PAIRED,car_g24_connected_event
+	rtn
+car_g24_connected_event:
+	fetch 1,mem_car_24g_status
+	rtneq WORK_PAIRED
+	jam WORK_PAIRED,mem_car_24g_status
+	call car_lpm_timer_disable
+	call car_stop_blink
+	branch car_g24_connected
+
+car_lpm_timer_enable:
+	fetch 2,mem_car_enter_lpm_timer_count	
+	store 2,mem_car_enter_lpm_timer
+	jam 0,mem_car_enter_lpm_flag
+	rtn
+
+	
+car_lpm_timer_disable:
+	setarg 0
+	branch car_lpm_timer_enable+1
+
+
+car_stop_blink:
+	arg 0,rega
+	branch ui_led_blink_stop_global
+	
+	
+car_start_blink:
+	arg 0,rega
+	branch ui_led_blink_start_global
+	
+
+
+
+
+car_le_send_packet:
+	fetch 2,mem_ui_state_map
+	rtnbit0 UI_STATE_BLE_CONNECTED
+	call le_fifo_check_nearly_full
+	nrtn blank
+	arg mem_car_pop_queue_buff,rega
+	call queue_pop
+	nrtn user
+	arg mem_car_pop_queue_buff,contr
+	branch le_send_notify_from_list
+ 
+car_scale_process_bb_event:
+	copy regc,pdata
+	beq BT_EVT_BUTTON_UP,app_event_button_up
+	beq BT_EVT_BUTTON_LONG_PRESSED,app_button_long_pressed
+	beq BT_EVT_LE_CONNECTED,car_scale_event_le_conn
+	beq BT_EVT_LE_DISCONNECTED,car_scale_event_le_discon
+	rtn
+
+car_scale_event_le_conn:
+	call car_lpm_timer_disable
+	call car_stop_blink
+	set0 mark_24g_rxmode,mark
+	branch car_scale_process_conn
+car_g24_connected:
+	fetch 2,mem_car_24g_no_data_timeout_count
+	store 2,mem_car_24g_no_data_timeout_timer
+car_scale_process_conn:
+	jam 0x14,mem_car_notify_vdd_timer
+	jam 0,mem_lpm_mode
+	call app_ble_stop_adv
+	branch app_lpm_mult_enable
+
+
+car_scale_event_le_discon:
+	set1 mark_24g_rxmode,mark
+	call car_lpm_timer_enable
+	call car_fb_motor_stop
+	call car_lr_motor_stop
+car_g24_disconnect:
+	setarg 0
+	store 5,mem_car_led_control
+	setarg 4
+	call pwm_disable
+	setarg 5
+	call pwm_disable
+	setarg 20
+	call pwm_disable
+	setarg 21
+	call pwm_disable
+	setarg 22
+	call pwm_disable
+	setarg 7
+	call pwm_disable
+	call queue_init
+	jam 10,mem_motor1_speed
+	jam 10,mem_motor2_speed
+	jam 10,mem_motor3_speed
+//	jam 1,mem_lpm_mode
+	jam 2,mem_lpm_mult
+	setarg FAST_ADV_INTERVAL_VALUE_CAR
+	call shutter_ble_adv_interval_set
+	branch app_ble_start_adv
+
+car_le_bb_event_timer:
+	call car_moto1_blank_data_timer
+	call car_moto2_blank_data_timer
+	call car_moto3_blank_data_timer
+	call app_power_timer
+	call car_notify_vdd_timer
+	call car_24g_no_data_timeout_timer
+	call car_24g_bind_enable_timer
+	branch car_enter_lpm_timer
+
+car_24g_bind_enable_timer:
+	arg mem_car_24g_bind_enable_delay_count,regc
+	arg 0,regb
+	branch timer_single_step
+
+car_enter_lpm_timer:
+	arg mem_car_enter_lpm_timer,regc
+	arg car_enter_lpm_enable,regb
+	branch timer_single_step_2B
+car_enter_lpm_enable:
+	jam 1,mem_car_enter_lpm_flag
+	rtn
+	
+car_24g_no_data_timeout_timer:
+	arg mem_car_24g_no_data_timeout_timer,regc
+	arg car_24g_no_data_timer_timeout,regb
+	branch timer_single_step_2B
+car_24g_no_data_timer_timeout:
+	jam WORK_SEARCH,mem_car_24g_status
+	jam POWER_ON,mem_car_24g_received_pac
+	branch car_g24_disconnect
+
+car_notify_vdd_timer:
+	fetch 1,mem_car_config_bat_notify_enable
+	rtn blank
+	arg mem_car_notify_vdd_timer,regc
+	arg car_notify_vdd,regb
+	branch timer_single_step
+car_notify_vdd:
+	fetch 1,mem_car_notify_vdd_count
+	store 1,mem_car_notify_vdd_timer
+ 	fetch 1,mem_car_working_flag
+ 	nrtn blank
+car_read_hvin:
+	call vdd_calculate_by_mode
+	store 2,mem_vdd_now_vol
+	arg mem_vdd_calculate_set,rega
+	call adc_bat_percent_lowpower_out
+	fetcht 1,mem_car_notify_vdd_value_last
+	isub temp,null
+	branch car_notify_vdd_next2,positive
+	store 1,mem_car_notify_vdd_value_last
+	copy pdata,temp
+car_notify_vdd_next2:
+	storet 1,mem_car_notify_vdd_percent
+	fetch 1,mem_car_config_low_voltage_percent
+	isub temp,null
+	call car_enter_low_bat,positive
+	storet 1,mem_notify_bat_payload 
+	arg 6,loopcnt
+	arg mem_notify_bat_head,contr
+	call calc_check_sum_start
+	store 1,mem_notify_bat_check_sum
+	arg mem_notify_bat_packet,rega
+	branch queue_push
+car_enter_low_bat:
+	fetch 1,mem_low_bat_flag
+	nrtn blank
+	jam 1,mem_low_bat_flag
+	arg 1,rega
+	branch ui_led_blink_start_global
+car_low_bat_led_off:
+	arg 1,rega
+	branch ui_led_blink_stop_global
+
+////////////////////////check sum////////////////////////
+//loopcnt = sum number,contr = ptr
+calc_check_sum_start:
+	arg 0,rega
+calc_check_sum_loop:
+	ifetch 1,contr
+	iadd rega,rega
+	loop calc_check_sum_loop
+calc_check_sum_and:
+	and rega,0xff,pdata
+	rtn
+
+car_le_receive_data:	
+	fetch 1,mem_le_att_opcode
+	beq ATTOP_WRITE_REQUEST,car_le_parse_att_write_request
+	rtn
+car_le_parse_att_write_request:
+	fetch 2,mem_le_att_handle
+	beq ATT_CAR_CONTROL_HANDLE,car_control_le_receive
+	rtn
+
+le_app_receive_data:
+	bpatch patch16_6,mem_patch16
+	ifetch 5,rega
+	store 5,mem_app_receive_temp
+	fetch 2,mem_app_receive_temp
+	arg LE_RECEIVE_PACKET_HEAD,temp
+	isub temp,null
+	nrtn zero
+	fetch 2,mem_app_receive_temp+3
+	byteswap pdata,pdata
+	store 2,mem_app_receive_temp+3
+	copy pdata,loopcnt
+	increase 5,rega
+	copy rega,contr
+	arg mem_app_receive_temp+5,contw
+	call memcpy
+	ifetch 1,contr
+	store 1,mem_app_receive_temp+15
+	arg mem_app_receive_temp+2,rega
+	arg mem_app_receive_temp+5,regb
+	rtn
+
+car_control_le_receive:
+	setarg 0
+	store 5,mem_le_receive_payload
+	store 5,mem_le_receive_payload+5
+	call le_app_receive_data
+	copy regb,contr
+	arg mem_le_receive_payload,contw
+	arg 10,loopcnt
+	call memcpy
+car_receive_cmd_select:
+	bpatch patch16_7,mem_patch16
+	ifetch 1,rega
+	beq CAR_CMD_OLD_CAR_CONTROL,car_drive_old
+	beq CAR_CMD_OLD_SPEED_CONTROL,car_speed_set_old
+	beq CAR_CMD_L_R_MOTOR_CONTROL,car_motor_control
+	beq CAR_CMD_F_B_MOTOR_CONTROL,car_motor_control
+	beq CAR_CMD_IR_CONTROL,car_ir_data_rx_from_app
+	beq CAR_CMD_LED_CONTROL,car_led_control_receive
+	beq CAR_CMD_DEVICE_INFO,car_info_request
+	rtn
+
+car_24g_receive_data:
+	call car_control_le_receive
+	fetch 1,mem_app_receive_temp+2	//cmd
+	beq CAR_CMD_L_R_MOTOR_CONTROL,car_24g_receive_data_next
+	beq CAR_CMD_F_B_MOTOR_CONTROL,car_24g_receive_data_next
+	rtn
+car_24g_receive_data_next:
+	fetch 1,mem_le_receive_payload	//moto1
+	ncall car_moto1_enable_blank_data_timer,blank
+	fetch 1,mem_le_receive_payload+2	//moto2
+	ncall car_moto2_enable_blank_data_timer,blank
+	fetch 1,mem_le_receive_payload+4	//moto3
+	ncall car_moto3_enable_blank_data_timer,blank
+	rtn
+
+car_moto1_enable_blank_data_timer:
+	jam 5,mem_car_moto1_blank_timer
+	rtn
+car_moto2_enable_blank_data_timer:
+	jam 5,mem_car_moto2_blank_timer
+	rtn
+car_moto3_enable_blank_data_timer:
+	jam 5,mem_car_moto3_blank_timer
+	rtn
+
+car_moto1_blank_data_timer:
+	arg mem_car_moto1_blank_timer,regc
+	arg car_moto1_blank_data,regb
+	branch timer_single_step
+car_moto2_blank_data_timer:	
+	arg mem_car_moto2_blank_timer,regc
+	arg car_moto2_blank_data,regb
+	branch timer_single_step
+car_moto3_blank_data_timer:		
+	arg mem_car_moto3_blank_timer,regc
+	arg car_moto3_blank_data,regb
+	branch timer_single_step
+
+car_moto1_blank_data:
+	jam 0,mem_le_receive_payload
+	branch car_motor_control
+car_moto2_blank_data:
+	jam 0,mem_le_receive_payload+2
+	branch car_motor_control
+car_moto3_blank_data:
+	jam 0,mem_le_receive_payload+4
+	branch car_motor_control
+	
+	
+///////////////////////Motor//////////////////////////////////////////
+
+car_drive_old:	
+	fetch 1,mem_le_receive_payload
+	store 1,mem_motor1_status
+	fetch 1,mem_le_receive_payload+1
+	store 1,mem_motor2_status
+	branch car_motor_control_common
+
+
+	
+car_left_right_control_old:
+	fetch 1,mem_le_receive_payload
+	store 1,mem_motor2_status
+	branch car_motor2_control
+car_front_back_control_old:
+	fetch 1,mem_motor1_speed
+	call car_reset_old_speed
+	fetch 1,mem_le_receive_payload+1
+	store 1,mem_motor1_status
+	branch car_motor1_control
+car_reset_old_speed:
+	beq SPEED_LEVEL_2,car_reset_old_speed2
+	beq SPEED_LEVEL_3,car_reset_old_speed3
+	store 1,mem_motor1_speed
+	rtn
+car_reset_old_speed2:
+	jam SPEED_LEVEL_5,mem_motor1_speed
+	rtn
+car_reset_old_speed3:
+	jam SPEED_LEVEL_10,mem_motor1_speed
+	rtn
+car_speed_set_old:
+	fetch 1,mem_le_receive_payload
+	call car_reset_old_speed
+	fetch 1,mem_motor1_speed
+	call car_motor_speed_duty_setting
+	call car_motor_speed_duty_transform
+	jam 0x00,mem_pdatatemp+1	//pwm channel0
+	branch pwm_duty_cycle_set
+
+car_motor_control:
+	fetch 1,mem_car_24g_go_die_flag
+	nrtn blank
+	fetch 6,mem_le_receive_payload
+	store 6,mem_motor1_status
+	fetch 1,mem_motor1_speed
+	fetcht 1,mem_motor2_speed
+	iand temp,pdata
+	fetcht 1,mem_motor3_speed
+	iand temp,pdata
+	call car_motor_working_flag,blank	
+car_motor_control_common:
+	bpatch patch17_0,mem_patch17
+	fetch 2,mem_ui_state_map
+	isolate1 UI_STATE_BLE_CONNECTED,pdata
+	ncall car_lpm_timer_enable,true
+	call car_motor1_control
+	call car_motor2_control
+	branch car_conn_led_state
+
+car_conn_led_state:
+	fetch 1,mem_motor1_status
+	fetcht 1,mem_motor2_status
+	iadd temp,pdata
+	nbranch check_51cmd_led_on,blank
+	branch check_51cmd_led_off	
+
+car_motor1_control:
+	arg mem_motor1_status,contr
+	branch car_motor1_status_select
+car_motor2_control:
+	arg mem_motor2_status,contr
+	branch car_motor2_status_select
+car_motor3_control:
+	arg mem_motor3_status,contr
+	branch car_motor_status_select
+car_motor_working_flag:
+	jam 0,mem_car_working_flag
+	rtn
+
+car_motor1_status_select:
+	ifetch 1,contr
+	beq TURN_FRONT,car_lr_motor_stop
+	beq TURN_LEFT,car_lr_motor_left
+	beq TURN_RIGHT,car_lr_motor_right
+	rtn
+car_motor2_status_select:
+	ifetch 1,contr
+	beq MOTOR_STOP,car_fb_motor_stop
+	beq GO_BACK,car_fb_motor_front
+	beq GO_FRONT,car_fb_motor_back
+	rtn
+
+car_lr_motor_stop:
+	fetcht 1,mem_car_motor_left_gpio
+	call gpio_out_inactive
+	fetcht 1,mem_car_motor_right_gpio
+	branch gpio_out_inactive
+car_lr_motor_left:
+	fetcht 1,mem_car_motor_left_gpio
+	call gpio_out_active
+	fetcht 1,mem_car_motor_right_gpio
+	branch gpio_out_inactive
+car_lr_motor_right:
+	fetcht 1,mem_car_motor_left_gpio
+	call gpio_out_inactive
+	fetcht 1,mem_car_motor_right_gpio
+	branch gpio_out_active
+car_fb_motor_stop:
+	fetcht 1,mem_car_motor_front_gpio
+	call gpio_out_inactive
+	fetcht 1,mem_car_motor_back_gpio
+	branch gpio_out_inactive
+car_fb_motor_front:
+	fetcht 1,mem_car_motor_front_gpio
+	call gpio_out_active
+	fetcht 1,mem_car_motor_back_gpio
+	branch gpio_out_inactive
+car_fb_motor_back:
+	fetcht 1,mem_car_motor_front_gpio
+	call gpio_out_inactive
+	fetcht 1,mem_car_motor_back_gpio
+	branch gpio_out_active
+
+	
+
+
+car_motor_status_select:
+	bpatch patch17_1,mem_patch17
+	ifetch 1,contr
+	beq MOTOR_STOP,car_motor_stop
+	beq GO_FRONT,car_motor_positive
+	beq GO_BACK,car_motor_negative
+	rtn
+car_motor_positive:
+	jam 0,mem_motor_select_p_n
+	branch car_motor_negative+1
+car_motor_negative:
+	jam 1,mem_motor_select_p_n
+	ifetch 1,contr
+	store 1,mem_car_motor_speed
+	ifetch 8,regb
+	branch car_motor_work
+
+car_motor_stop:
+	ifetch 1,regb
+	call pwm_disable
+	increase 1,regb
+	ifetch 1,regb
+	branch pwm_disable
+car_motor_work:
+	store 8,mem_motor_pwm_pin1_set
+	jam 1,mem_car_working_flag
+	fetch 1,mem_motor_select_p_n
+	beq 0,car_motor_select_positive
+car_motor_select_negative:
+	fetch 1,mem_motor_pwm_pin2_set
+	store 1,mem_motor_pwm_pin_set
+	fetch 1,mem_motor_pwm_pin1_set
+car_motor_work_next:
+	call pwm_disable
+	fetch 1,mem_car_motor_speed
+	call car_motor_speed_duty_setting
+	store 1,mem_motor_pwm_dute_set
+	fetch 6,mem_motor_pwm_pin_set
+	store 6,mem_pdatatemp
+	branch pwm_out_set
+car_motor_select_positive:
+	fetch 1,mem_motor_pwm_pin1_set
+	store 1,mem_motor_pwm_pin_set
+	fetch 1,mem_motor_pwm_pin2_set
+	branch car_motor_work_next
+
+car_motor_speed_duty_setting:
+	mul32 pdata,5,pdata
+	add pdata,50,pdata
+	rtn
+car_motor_speed_duty_transform:
+	arg 12000,temp
+	imul32 temp,pdata
+	div pdata,100
+	call wait_div_end
+	quotient temp
+	copy temp,rega
+	setarg 12000
+	isub temp,regb
+	rtn
+
+car_ir_data_rx_from_app:
+	rtn
+
+car_led_control_receive:
+	fetch 8,mem_le_receive_payload
+	store 8,mem_car_led_control
+	rtn
+
+car_info_request:
+	fetch 1,mem_car_config_device_select
+	store 1,mem_car_info_request_payload
+	fetch 1,mem_car_config_motor_layout
+	store 1,mem_car_info_request_payload+1
+	fetch 1,mem_car_config_ir_enable
+	store 1,mem_car_info_request_payload+2
+	arg 13,loopcnt
+	arg mem_car_info_request_head,contr
+	call calc_check_sum_start
+	store 1,mem_car_info_request_checksum
+	arg mem_car_info_request,rega
+	branch queue_push
+
+
+
+car_g24_init:
+	setarg 0
+	store 8,mem_24g_bind_payload
+	call g24_receive_init
+	branch g24_mode_switch_init
+
+car_g24_receive_process:
+	call car_g24_mode_switch
+	call car_g24_work_mode
+	call car_g24_bind_mode
+	branch car_g24_lpm_dipatch
+
+car_g24_mode_switch:
+	call g24_mode_switch_bind_work
+car_g24_bind_mode_enable:
+	fetch 1,mem_24g_work_mode
+	rtnne DONGLE_BIND
+	fetch 1,mem_car_24g_bind_enable_delay_count	//after power on 10s,enable bind
+	nbranch g24_switch_work_mode,blank
+	fetch 1,mem_car_24g_status	//after paired,disable bind mode
+	beq WORK_SEARCH,g24_switch_work_mode
+	rtn
+
+car_g24_work_mode:
+	fetch 1,mem_24g_work_mode
+	rtnne DONGLE_WORK
+	call g24_work_mode_start
+	branch car_g24_ch_polling_clear,user3
+car_g24_receive_ch_polling:
+	fetch 1,mem_car_enter_lpm_flag
+	rtn blank
+	fetch 1,mem_car_24g_ch_polling
+	increase 1,pdata
+	store 1,mem_car_24g_ch_polling
+	beq 4,car_g24_ch_polling_clear
+	call g24_ch
+	call g24_receive_packet_start
+	nbranch car_g24_receive_ch_polling,user3
+car_g24_ch_polling_clear:
+	jam 0,mem_car_24g_ch_polling
+	rtn
+
+car_g24_bind_mode:
+	fetch 1,mem_24g_work_mode
+	rtnne DONGLE_BIND
+	call g24_bind_init
+	call car_g24_bind_device_addr
+	call g24_bind_data_process
+	fetch 1,mem_24g_bind_device_status
+	nbranch car_g24_bind_mode_exit,blank
+	call g24_nodata_process
+	fetch 1,mem_24g_nodata_timer_enable
+	rtn blank
+	setarg 0
+	store 4,mem_24g_device1_addr
+	rtn
+
+car_g24_bind_mode_exit:
+	jam 0,mem_24g_mode_switch
+	arg 0,rega
+	call ui_led_off_global
+	call g24_switch_work_mode
+	call g24_timer_init
+	fetch 4,mem_lap
+	branch g24_update_addr_and_synccrc8
+	
+car_g24_bind_device_addr:
+	fetch 4,mem_24g_device1_addr
+	rtn blank
+	branch g24_update_addr_and_synccrc8
+
+car_g24_cb_data_device1:
+	fetch 2,mem_ui_state_map
+	rtnbit1 UI_STATE_BLE_CONNECTED
+	fetch 2,mem_car_24g_no_data_timeout_count
+	store 2,mem_car_24g_no_data_timeout_timer
+	jam WORK_PAIRED,mem_car_24g_received_pac
+	arg mem_24g_rxdata_temp+3,rega
+	branch car_24g_receive_data
+
+car_g24_lpm_dipatch:
+	fetch 1,mem_car_enter_lpm_flag
+	rtn blank
+	call car_g24_lpm_wait
+	nrtn user
+	fetch 3,mem_24g_enter_hibernate	//about 1000ms
+	call clk2lpo
+	storet 4,mem_sleep_counter
+  	branch lpm_sleep
+car_g24_lpm_wait:
+	enable user
+	call lpo_calibration
+	fetch 3,mem_clks_per_lpo
+	branch disable_user,blank
+	branch car_le_process_lpm_before
+
+
+
+
+
+dongle_init:
+	setarg dongle_dispatch
+	store 2,mem_cb_24g_receive_process
+	setarg dongle_g24_mouse
+	store 2,mem_cb_24g_data_device1
+	setarg dongle_g24_kb
+	store 2,mem_cb_24g_data_device2
+	setarg dongle_ackpayload_prep
+	store 2,mem_cb_24g_ackpayload
+	setarg dongle_usb_config
+	store 2,mem_cb_usb_config
+	branch usb_init
+
+
+dongle_default_init:
+	//sys init
+	fetch 1,mem_tmp_buffer+DONGLE_KB_BIND_EFUSE_OFFECT
+	store 1,mem_dg_kb_bind_flag
+	call dongle_xtal_select
+	fetch 1,mem_dg_sys_config
+	isolate1 DG_ENABLE_EEPROM,pdata
+	branch dongle_default_no_eeprom,true
+	fetch 1,mem_dg_sys_config
+	isolate1 DG_ENABLE_NEW_CHMAP,pdata
+	call g24_chamap_param_update,true
+dongle_default_no_eeprom:	
+	fetch 1,mem_dg_sys_config
+	and_into 0x0f,pdata	//bit4-0
+	store 1,mem_tx_power
+	call app_sys_param_init
+	//24g init
+	jam 0xff,mem_rssi_buff_index
+	setarg mem_dg_rssi_noise_buffer
+	store 2,mem_rssi_noise_buffer_ptr
+	setarg mem_dg_rssi_noise_dg_buffer
+	store 2,mem_rssi_noise_self_buffer_ptr
+	setarg mem_dg_rssi_noise_ms_buffer
+	store 2,mem_rssi_noise_device1_buffer_ptr
+	setarg mem_dg_rssi_noise_kb_buffer
+	store 2,mem_rssi_noise_device2_buffer_ptr
+	jam TX_POWER_F5DB,mem_24g_pair_tx_power
+	jam 0,mem_dg_kb_bind_success
+	jam 0,mem_24g_bind_device_living
+	call g24_enable_1M
+	call g24_receive_init
+	call g24_pair_param_init
+	call g24_chmap_param_init
+	//usb init
+	fetch 1,mem_dg_usb_tx_interval
+	store 1,mem_usb_tx_interval
+	fetch 9,mem_dg_usb_vid_pid
+	store 9,mem_usb_vid_pid
+	rtn
+	
+dongle_xtal_select:
+	jam XTAL_24M,mem_fcomp_div
+	fetch 1,mem_dg_sys_config
+	rtnbit0 DG_ENABLE_XTAL_24M
+	jam XTAL_16M,mem_fcomp_div
+	rtn
+
+dongle_dispatch:
+	fetch 1,mem_24g_pair_mode
+	beq 0x00,dongle_auto_bind
+	beq 0x01,dongle_pc_bind
+//	beq 0x0f,dongle_all_powerful
+	rtn
+
+
+dongle_read_kb_bind_status:
+	arg 1,temp
+	arg mem_dg_kb_bind_flag,rega
+	setarg DONGLE_KB_BIND_EFUSE_OFFECT
+	branch efuse_read_data
+
+dongle_write_kb_bind_status:
+	arg 1,loopcnt
+	arg mem_dg_kb_bind_flag,rega
+	arg DONGLE_KB_BIND_EFUSE_OFFECT,temp
+	branch efuse_program
+
+dongle_usb_config:
+	fetch 1,mem_dg_sys_config
+	bbit1 DG_ENABLE_KB_ICON,dongle_usb_config_kb
+	fetch 1,mem_dg_kb_bind_flag
+	bne DONGLE_KB_BIND_SUCCESS,dongle_usb_config_param
+dongle_usb_config_kb:
+	jam DONGLE_KB_BIND_SUCCESS,mem_dg_kb_bind_flag
+	fetch 4,USB_DEVICEDATA_ADDR+9
+	set1 29,pdata
+	store 4,mem_devicedesc+9
+dongle_usb_config_param:
+	call dongle_usb_device_name
+	call usb_tx_interval_config
+	call dongle_usb_vid_pid_config
+	branch dongle_usb_hid_icon_config
+
+dongle_usb_vid_pid_config:
+	fetch 1,mem_usb_vid_pid
+	rtn blank
+	fetch 1,mem_dg_kb_bind_flag
+	beq DONGLE_KB_BIND_SUCCESS,dongle_usb_vid_pid_for_suit
+dongle_usb_vid_pid_for_mouse_only_auto_pair:	
+	fetch 4,mem_usb_vid_pid+1
+dongle_usb_vid_pid_store:	
+	store 4,mem_devicedesc+9
+	rtn
+dongle_usb_vid_pid_for_suit:
+	fetch 4,mem_usb_vid_pid+5
+	branch dongle_usb_vid_pid_store
+
+dongle_usb_hid_icon_config:
+	fetch 1,mem_dg_kb_bind_flag
+	beq DONGLE_KB_BIND_SUCCESS,dongle_usb_kb_hidreportdesc
+	setarg USB_KBDATA_VENDOR_DEFINE_ADDR
+	store 2,mem_hidreportdesc_kb
+	jam 0x1a,mem_confdesc+26//hid_descriptor--keyboard length
+	rtn
+dongle_usb_kb_hidreportdesc:
+	setarg USB_KBDATA_ADDR
+	store 2,mem_hidreportdesc_kb
+	jam 0x3f,mem_confdesc+26//hid_descriptor--keyboard length	
+	rtn
+
+dongle_usb_device_name:
+	fetch 1,mem_dg_usb_device_name
+	rtn blank
+	arg mem_dg_usb_device_name,contr
+	arg mem_string2,contw
+	arg 30,loopcnt
+	branch memcpy
+
+
+//dongle_all_powerful:
+//	call g24_switch_work_mode
+//dongle_all_powerful_loop:
+//	call dongle_work_mode_auto
+//	call dongle_usb_dispatch
+//	branch dongle_all_powerful_loop
+
+dongle_pc_bind:
+	call g24_switch_work_mode
+dongle_pc_bind_loop:	
+	call dongle_work_mode_auto
+	call g24_bind_mode_auto
+	call dongle_usb_dispatch
+	branch dongle_pc_bind_loop
+
+dongle_g24_blank_data_process:
+	call dongle_g24_ms_blank_data
+	call dongle_g24_kb_blank_data
+	branch dongle_g24_kb_mul_blank_data
+
+dongle_g24_ms_blank_data:
+	fetch 1,mem_dg_ms_blank_data_enable
+	rtn blank
+	arg TIMER_MS_BLANK,queue
+	call timer_check
+	nrtn blank
+	jam 0,mem_dg_ms_blank_data_enable
+	setarg MS_REPORT_ID
+	store 1,mem_usb_mouse_data
+	setarg 0
+	istore 7,contw
+dongle_usb_tx_ms_data:
+	jam USB_EP2_MS,mem_usb_ep2_data
+dongle_usb_tx_enable_ep2:
+	fetch 1,mem_usb_tx_enable
+	set1 2,pdata
+	store 1,mem_usb_tx_enable
+	rtn
+
+dongle_g24_kb_blank_data:
+	fetch 1,mem_dg_kb_blank_data_enable
+	rtn blank
+	arg TIMER_KB_BLANK,queue
+	call timer_check
+	nrtn blank
+	jam 0,mem_dg_kb_blank_data_enable
+	arg mem_usb_kb_data,contw
+	arg 2,loopcnt
+	call memset0
+dongle_usb_tx_kb_data:	
+	jam KB_NORMAL_REPORT_ID,mem_usb_kb_data
+dongle_usb_tx_enable_ep1:
+	jam USB_EP1_KB,mem_usb_ep1_data
+	fetch 1,mem_usb_tx_enable
+	set1 1,pdata
+	store 1,mem_usb_tx_enable
+	rtn
+
+dongle_g24_kb_mul_blank_data:
+	fetch 1,mem_dg_kb_mul_blank_data_enable
+	rtn blank
+	arg TIMER_KB_MUL_BLANK,queue
+	call timer_check
+	nrtn blank
+	jam 0,mem_dg_kb_mul_blank_data_enable
+	arg mem_usb_kb_multikey,contw
+	arg 2,loopcnt
+	call memset0
+	jam KB_MULTIKEY_REPORT_ID,mem_usb_kb_multikey
+dongle_usb_tx_multikey_data:
+	jam USB_EP2_MULTIKEY,mem_usb_ep2_data
+	branch dongle_usb_tx_enable_ep2
+
+dongle_usb_dispatch:
+	bpatch patch17_2,mem_patch17
+	fetch 1,mem_usb_remote_wakeup
+	call dongle_clear_pc_sleep_flag,blank
+	call usb_isr
+	fetch 1,mem_usb0_get_set_report
+	rtn blank
+	jam 0,mem_usb0_get_set_report
+	fetch 2,mem_usb_setup_bValue_temp
+	arg PC_SET_REPORT,temp
+	isub temp,null
+	nrtn zero
+	//get usb host command
+	fetch 1,mem_usb0_set_report_data
+	rtnne PC_REPORT_ID
+	fetch 1,mem_usb0_set_report_data+1
+	beq COMMAND_MODE,dongle_dispose_cmd_mode
+	beq COMMAND_BIND,dongle_dispose_cmd_bind
+	beq COMMAND_CURRENT_PROJECT,dongle_dispose_cmd_current_project
+	beq COMMAND_CURRENT_MODE,dongle_dispose_cmd_current_mode
+	beq COMMAND_CURRENT_FW_VERSION,dongle_dispose_cmd_current_fw_version
+//	beq COMMAND_USER_DEFINED,dongle_dispose_cmd_user_defined
+dongle_usb0_data_ready_report_set0:
+	jam 0,mem_usb0_data_ready_report
+	rtn
+
+dongle_dispose_cmd_mode:
+	fetch 1,mem_usb0_set_report_data+2
+	beq COM_MODE_BIND,dongle_enter_bind_mode
+	branch dongle_usb0_data_ready_report_set0
+dongle_enter_bind_mode:
+	call g24_bind_mode_enable
+dongle_usb0_data_ready_report_set1:
+	jam 1,mem_usb0_data_ready_report
+	rtn
+
+dongle_dispose_cmd_bind:
+	fetch 1,mem_usb0_set_report_data+2
+	beq COM_BIND_GET,dongle_dispose_cmd_get_bind
+	beq COM_BIND_EXIT,dongle_dispose_cmd_exit_bind
+	beq COM_READ_MODE,dongle_dispose_cmd_read_mode
+	branch dongle_usb0_data_ready_report_set0
+dongle_dispose_cmd_get_bind:
+	fetch 1,mem_24g_bind_device_status
+	store 1,mem_usb0_get_report_data+1
+	branch dongle_usb0_data_ready_report_set1
+dongle_dispose_cmd_exit_bind:
+	call g24_work_mode_enable
+	branch dongle_dispose_cmd_get_bind
+dongle_dispose_cmd_read_mode:
+dongle_dispose_in_bind_mode:
+	jam COMMAND_BIND,mem_usb0_get_report_data+1
+	branch dongle_usb0_data_ready_report_set1	
+
+dongle_dispose_cmd_current_project:
+	jam PRODUCT_ID,mem_usb0_get_report_data+1
+	branch dongle_usb0_data_ready_report_set1
+
+dongle_dispose_cmd_current_mode:
+	fetch 1,mem_24g_work_mode
+	beq DONGLE_WORK,dongle_dispose_in_work_mode
+	beq DONGLE_BIND,dongle_dispose_in_bind_mode
+	rtn
+dongle_dispose_in_work_mode:
+	jam COMMAND_MODE,mem_usb0_get_report_data+1
+	branch dongle_usb0_data_ready_report_set1
+	
+dongle_dispose_cmd_current_fw_version:
+	jam FW_VERSION0,mem_usb0_get_report_data+1
+	jam FW_VERSION1,mem_usb0_get_report_data+2
+	jam FW_VERSION2,mem_usb0_get_report_data+3
+	jam FW_VERSION3,mem_usb0_get_report_data+4
+	branch dongle_usb0_data_ready_report_set1
+
+//dongle_dispose_cmd_user_defined:
+//	call g24_ackpayload_disable
+//	fetch 1,mem_usb0_set_report_data+2
+//	beq 0xff,soft_reset_chip
+//	rtn
+
+dongle_auto_bind:
+	call g24_mode_switch_init
+dongle_auto_bind_loop:
+	call g24_mode_switch_bind_work
+	call g24_mode_switch_bind_search
+	call dongle_work_mode_auto
+	call g24_bind_mode_auto
+	call g24_search_mode_auto
+	call dongle_usb_dispatch
+	branch dongle_auto_bind_loop
+
+dongle_work_mode_auto:
+	bpatch patch17_3,mem_patch17
+	fetch 1,mem_24g_work_mode
+	rtnne DONGLE_WORK
+	call g24_work_mode_start
+	call dongle_g24_blank_data_process
+	fetch 1,mem_24g_pair_mode
+	nrtn blank
+	branch g24_nodata_process
+
+dongle_ackpayload_prep:
+	fetch 1,mem_24g_data_type
+	beq DATATYPE_DEVICE1,dongle_ackpayload_prep_mouse
+	beq DATATYPE_DEVICE2,dongle_ackpayload_prep_keyboard
+dongle_ackpayload_prep_mouse:
+	fetch 1,mem_dg_pc_sleep_flag
+	bbit1 0,dongle_pc_sleep_ackpayload_prep_mouse
+	branch dongle_ackpayload_prep_end
+
+dongle_set_pc_sleep_flag:
+	fetch 1,mem_device_option
+	rtnne dvc_op_dongle
+	jam 3,mem_dg_pc_sleep_flag
+	rtn
+dongle_clear_pc_sleep_flag:
+	jam 0,mem_dg_pc_sleep_flag
+	rtn
+
+dongle_ackpayload_prep_keyboard:
+	fetch 1,mem_dg_pc_sleep_flag
+	bbit1 1,dongle_pc_sleep_ackpayload_prep_keyboard
+dongle_ackpayload_prep_end:
+	fetch 1,mem_24g_ackpayload_enable
+	beq BIND_ACKPAYLOAD,dongle_g24_bind_ackpayload_prep
+	beq KB_LED_ACKPAYLOAD,dongle_g24_kb_led_ackpayload_prep
+	rtn
+
+dongle_pc_sleep_ackpayload_prep_mouse:
+	fetch 1,mem_dg_pc_sleep_flag
+	set0 0,pdata
+	store 1,mem_dg_pc_sleep_flag
+	branch dongle_pc_sleep_ackpayload_prep
+
+dongle_pc_sleep_ackpayload_prep_keyboard:
+	fetch 1,mem_dg_pc_sleep_flag
+	set0 1,pdata
+	store 1,mem_dg_pc_sleep_flag
+dongle_pc_sleep_ackpayload_prep:
+	jam 0x01,mem_24g_datalen
+	setarg 0xff
+	store 1,mem_24g_txbuf
+	rtn
+
+
+dongle_g24_bind_ackpayload_prep:
+	jam 1,mem_24g_ackpayload_enable
+	call g24_binding_device_check	//works on auto pair only
+	nrtn user3
+	branch g24_bind_ackpayload_prep
+
+dongle_g24_kb_led_ackpayload_prep:
+	fetch 1,mem_24g_rxbuf+2
+	beq DATATYPE_DEVICE1,dongle_g24_bind_ackpayload_prep
+	beq DATATYPE_ATTEMP,dongle_g24_bind_ackpayload_prep
+	jam 0,mem_usb_tx_win_enable
+	jam 0x01,mem_24g_datalen
+	fetch 1,mem_24g_led_status
+	store 1,mem_24g_txbuf
+	rtn
+
+dongle_g24_mouse:
+	setarg MS_REPORT_ID
+	store 1,mem_usb_mouse_data	//report id
+	fetch 7,mem_24g_rxdata_temp+3	//key
+	istore 7,contw
+	fetch 1,mem_24g_rxdata_temp+3	//key
+	ncall dongle_g24_ms_enable_blank_data_forcibly,blank//get kb data
+	fetch 1,mem_24g_rxdata_temp+3	//key
+	call dongle_g24_ms_disable_blank_data_forcibly,blank
+	branch dongle_usb_tx_ms_data
+
+dongle_g24_ms_enable_blank_data_forcibly:
+	jam 1,mem_dg_ms_blank_data_enable
+	setarg TIMER_MS_BLANK_DELAY
+	arg TIMER_MS_BLANK,queue
+	branch timer_init
+
+dongle_g24_ms_disable_blank_data_forcibly:
+	jam 0,mem_dg_ms_blank_data_enable
+	setarg 0
+	arg TIMER_MS_BLANK,queue
+	branch timer_init
+
+dongle_g24_kb:
+	fetch 1,mem_24g_rxdata_temp+3
+	beq 0,dongle_g24_kb_type0	//normal key
+	beq 2,dongle_g24_kb_type2	//system key
+	beq 3,dongle_g24_kb_type3	//multikey
+	branch g24_rx_interrupt_clear
+
+dongle_g24_kb_type0:
+	fetch 1,mem_24g_rxdata_temp+5
+	store 1,mem_24g_ackpayload_enable
+	jam 0,mem_24g_rxdata_temp+5
+	arg mem_usb_kb_data,contw
+	arg mem_24g_rxdata_temp+4,contr
+	arg 8,loopcnt
+	call memcpy
+	fetch 8,mem_usb_kb_data
+	ncall dongle_g24_kb_enable_blank_data_forcibly,blank//get kb data
+	fetch 8,mem_usb_kb_data	
+	call dongle_g24_kb_disable_blank_data_forcibly,blank
+	fetch 8,mem_usb_kb_data
+	store 8,mem_dg_kb_data_sta_data
+	fetcht 8,mem_dg_kb_data_last_data
+	isub temp,null
+	ncall dongle_usb_tx_enable_ep1,zero
+	fetch 8,mem_dg_kb_data_sta_data
+	store 8,mem_dg_kb_data_last_data
+	branch g24_rx_interrupt_clear
+
+dongle_g24_kb_enable_blank_data_forcibly:
+	jam 1,mem_dg_kb_blank_data_enable
+	setarg TIMER_KB_BLANK_DELAY
+	arg TIMER_KB_BLANK,queue
+	branch timer_init
+
+dongle_g24_kb_disable_blank_data_forcibly:
+	jam 0,mem_dg_kb_blank_data_enable
+	setarg 0
+	arg TIMER_KB_BLANK,queue
+	branch timer_init
+
+dongle_g24_kb_type3:
+	arg mem_usb_kb_multikey,contw
+	arg mem_24g_rxdata_temp+3,contr
+	arg 3,loopcnt
+	call memcpy
+	fetch 2,mem_usb_kb_multikey+1
+	ncall dongle_g24_kb_mul_enable_blank_data_forcibly,blank//get multikey data
+	fetch 2,mem_usb_kb_multikey+1
+	call dongle_g24_kb_mul_disable_blank_data_forcibly,blank
+	fetch 3,mem_usb_kb_multikey
+	store 3,mem_dg_kb_multikey_sta_data
+	fetcht 3,mem_dg_kb_multikey_last_data
+	isub temp,null
+	ncall dongle_usb_tx_multikey_data,zero
+	fetch 3,mem_dg_kb_multikey_sta_data
+	store 3,mem_dg_kb_multikey_last_data
+	branch g24_rx_interrupt_clear
+
+dongle_g24_kb_mul_enable_blank_data_forcibly:
+	jam 1,mem_dg_kb_mul_blank_data_enable
+	setarg TIMER_KB_MUL_BLANK_DELAY
+	arg TIMER_KB_MUL_BLANK,queue
+	branch timer_init
+	
+dongle_g24_kb_mul_disable_blank_data_forcibly:
+	jam 0,mem_dg_kb_mul_blank_data_enable
+	setarg 0
+	arg TIMER_KB_MUL_BLANK,queue
+	branch timer_init
+
+dongle_g24_kb_type2:
+	arg mem_usb_kb_system,contw
+	arg mem_24g_rxdata_temp+3,contr
+	arg 2,loopcnt
+	call memcpy
+	fetch 2,mem_usb_kb_system
+	ncall dongle_g24_kb_sys_enable_blank_data_forcibly,blank
+	fetch 2,mem_usb_kb_system
+	call dongle_g24_kb_sys_disable_blank_data_forcibly,blank
+	fetch 2,mem_usb_kb_system
+	store 2,mem_dg_kb_system_sta_data
+	fetcht 2,mem_dg_kb_system_last_data
+	isub temp,null
+	ncall dongle_usb_tx_sys_data,zero
+	fetch 2,mem_dg_kb_system_sta_data
+	store 2,mem_dg_kb_system_last_data
+	branch g24_rx_interrupt_clear
+
+dongle_g24_kb_sys_enable_blank_data_forcibly:
+	jam 1,mem_dg_kb_mul_blank_data_enable
+	setarg TIMER_KB_MUL_BLANK_DELAY
+	arg TIMER_KB_MUL_BLANK,queue
+	branch timer_init
+dongle_g24_kb_sys_disable_blank_data_forcibly:
+	jam 0,mem_dg_kb_mul_blank_data_enable
+	setarg 0
+	arg TIMER_KB_MUL_BLANK,queue
+	branch timer_init
+
+dongle_usb_tx_sys_data:
+	jam USB_EP2_SYSTEMKEY,mem_usb_ep2_data
+	branch dongle_usb_tx_enable_ep2
+
+
+dongle_g24_store_dvc2_bind_flag:
+	fetch 1,mem_device_option
+	rtnne dvc_op_dongle
+	fetch 1,mem_dg_kb_bind_flag
+	rtneq DONGLE_KB_BIND_SUCCESS
+dongle_prep_soft_reset:
+	jam 1,mem_dg_kb_bind_success
+	rtn
+
+
+dongle_kb_bind_soft_reset:
+	fetch 1,mem_device_option
+	rtnne dvc_op_dongle
+	fetch 1,mem_dg_kb_bind_success
+	rtn blank
+	jam 0,mem_temp
+dongle_wirte_efuse_bind_status:	
+	jam DONGLE_KB_BIND_SUCCESS,mem_dg_kb_bind_flag
+	call dongle_write_kb_bind_status
+	call dongle_read_kb_bind_status
+	fetch 1,mem_temp
+	increase 1,pdata
+	store 1,mem_temp
+	beq 0xff,soft_reset_chip
+	fetch 1,mem_dg_kb_bind_flag
+	bne DONGLE_KB_BIND_SUCCESS,dongle_wirte_efuse_bind_status
+	branch soft_reset_chip
+
+
+
+
+
+
+
+
+module_init:	
+	rtn wake
+	call le_modified_name
+	setarg module_process_idle
+	store 2,mem_cb_idle_process
+	setarg module_bt_conn_process
+	store 2,mem_cb_bt_process
+	setarg module_process_bb_event
+	store 2,mem_cb_bb_event_process
+	setarg module_lpm_lock
+	store 2,mem_cb_check_wakelock
+	setarg module_hci_cmd_transmit_le_notify
+	store 2,mem_cb_ble_transmit
+	setarg module_hci_event_receive_spp_data
+	store 2,mem_cb_receive_spp_data
+	setarg module_le_receive_data
+	store 2,mem_cb_att_write
+	setarg module_bb_event_timer
+	store 2,mem_cb_event_timer
+
+	call module_spp_clear_last_transmite_clock
+	bpatch patch17_4,mem_patch17
+	call module_lpm_uart_init
+	call module_gpio_init
+	branch module_hci_event_enter_standby_mode
+
+module_lpm_uart_init:
+	fetch 1,core_uart_ctrl
+	set0 BIT_UART_CONTROL_ENABLE,pdata
+	store 1,core_uart_ctrl
+	fetch 8,mem_module_uart_rx_buffer
+	call uarta_init_dma_mem
+	fetch uart_baud_len,mem_module_uarta_baud_rate
+	call uarta_init_baud_rate
+	call uart_clock_select_main_freq_crystal
+	jam gpcfg_uart_txd,core_gpio_conf+HCI_UART_TX_GPIO_NUM
+	jam gpcfg_uart_rxd|gpcfg_pullup,core_gpio_conf+HCI_UART_RX_GPIO_NUM
+	jam gpcfg_uart_rts,core_gpio_conf+HCI_UART_RTS_GPIO_NUM
+	jam gpcfg_uart_cts,core_gpio_conf+HCI_UART_CTS_GPIO_NUM
+
+	arg FUN_UART_CONTROL_ENABLE|FUN_UART_CONTROL_SETTING_RATE_BAUD,temp
+	fetch 2,mem_module_flag
+	isolate1 MODULE_FLAG_UART_FLOW_CONTROL,pdata
+	setflag true,BIT_UART_CONTROL_FLOW_CONTROL,temp
+	storet 1,core_uart_ctrl
+	rtn
+
+module_lpm_init:
+	call module_spp_clear_last_transmite_clock
+	branch module_lpm_uart_init
+
+
+
+module_gpio_init:
+	fetcht 1,mem_module_connect_state_gpio
+	call gpio_config_output
+	call module_set_conn_pin_low
+	fetcht 1,mem_module_wake_up_gpio
+	branch gpio_config_input
+
+module_lpm_lock:
+	fetcht 1,mem_module_wake_up_gpio
+	call gpio_get_bit
+	nbranch app_put_lpm_wake_lock,true
+	branch app_get_lpm_wake_lock
+
+
+module_bt_conn_process:
+	call module_spp_enter_sniff
+	branch module_control_air_flow
+
+module_spp_enter_sniff:
+	fetch 1,mem_ui_state_map
+	bbit0 UI_STATE_BT_SPP_CONN,module_spp_clear_last_transmite_clock
+	setarg 0x3eff
+	fetcht 4,mem_last_transmite_clock
+	iadd temp,temp
+	copy clkn_bt,pdata
+	isub temp,null
+	nrtn positive
+	fetch 2,mem_ui_state_map
+	bbit1 UI_STATE_BT_SNIFF,module_spp_clear_last_transmite_clock
+	fetch 2,mem_module_flag
+	rtnbit1 MOUDLE_TASK_SNIFF
+	call module_set_sniff_task_flag
+	call app_bt_enter_sniff
+module_spp_clear_last_transmite_clock:
+	copy clkn_bt,pdata
+	store 4,mem_last_transmite_clock
+	rtn
+
+module_process_idle:
+	call module_control_air_flow
+	call l2cap_malloc_is_fifo_full
+	nrtn blank
+	branch module_process_check_hci_command_complete
+
+	
+module_process_bb_event:
+	copy regc,pdata
+	beq BT_EVT_BB_CONNECTED,module_process_bb_conn
+	beq BT_EVT_BB_DISCONNECTED,module_process_bb_event_disconned
+	beq BT_EVT_RECONN_FAILED,module_process_reconn_fail
+	beq BT_EVT_SETUP_COMPLETE,module_process_setup_complete
+	beq BT_EVT_SPP_CONNECTED,module_process_spp_connected
+	beq BT_EVT_SPP_DISCONNECTED,module_process_spp_disconnected
+	beq BT_EVT_PINCODE_REQ,module_process_evt_pincode_req
+	beq BT_EVT_ENTER_SNIFF,module_process_enter_sniff
+	beq BT_EVT_EXIT_SNIFF,module_process_exit_sniff
+	beq BT_EVT_RECONN_PAGE_TIMEOUT,module_process_page_time_out
+	beq BT_EVT_LE_CONNECTED,module_process_le_conn
+	beq BT_EVT_LE_DISCONNECTED,module_process_bb_even_le_disconn
+	beq BT_EVT_SNIFF_NOT_ACCEPT,module_process_sniff_not_accept
+	beq BT_EVT_UNSNIFF_ACCEPT,module_process_unsniff_accept
+	beq BT_EVT_UNSNIFF_NOT_ACCEPT,module_process_unsniff_not_accept
+	beq BT_EVT_LE_PAIRING_FAIL,module_hci_event_le_pairing_fail
+	beq BT_EVT_LE_PAIRING_SUCCESS,module_hci_event_le_pairing_success
+	beq BT_EVT_LE_START_ENC,module_hci_event_start_enc
+	beq BT_EVT_LE_PAUSE_ENC,module_hci_event_pause_enc
+	beq BT_EVT_LE_TK_GENERATE,module_hci_event_le_tk
+	beq BT_EVT_BT_GKEY_GENERATE,module_hci_event_gkey_generate
+	beq BT_EVT_BT_GET_PASSKEY,module_hci_event_passkey_entry_mode
+	beq BT_EVT_BT_PAIRING_FAIL,module_hci_event_bt_pairing_fail	
+	beq BT_EVT_BT_PAIRING_SUCCESS,module_hci_event_bt_pairing_success
+	beq BT_EVT_LE_GKEY_GENERATE,module_hci_event_gkey_generate
+	beq BT_EVT_STORE_NVRAM,module_hci_event_store_device
+	beq BT_EVT_LE_LTK_LOST,module_process_ble_ltk_lost
+	beq BT_EVT_LE_UPDATE_PHY,module_process_ble_update_phy
+	beq BT_EVT_LE_GET_PASSKEY,module_hci_event_passkey_entry_mode
+	rtn
+
+	
+module_process_bb_event_disconned:
+	call module_spp_clear_last_transmite_clock
+	fetch 1,mem_flag_pairing_state
+	ncall module_hci_event_bt_pairing_fail,blank
+	call module_disconn_start
+	fetch 2,mem_ui_state_map
+	rtnbit0 UI_STATE_BT_SPP_CONN
+	branch  module_spp_disconnected
+
+module_process_spp_connected:
+	fetch 2,mem_ui_state_map
+	set1 UI_STATE_BT_SPP_CONN,pdata
+	store 2,mem_ui_state_map
+	fetch 1,mem_module_spp_lpm_mult
+	store 1,mem_lpm_mult
+	call module_set_conn_pin_low
+	branch module_hci_event_spp_connect
+
+module_process_spp_disconnected:
+//	branch module_spp_disconnected
+module_spp_disconnected:
+	fetch 2,mem_ui_state_map
+	rtnbit0 UI_STATE_BT_SPP_CONN
+	set0 UI_STATE_BT_SPP_CONN ,pdata
+	store 2,mem_ui_state_map
+	branch module_hci_event_spp_disconnect
+
+
+module_process_enter_sniff:
+
+module_sniff_param_check:
+	call module_spp_clear_last_transmite_clock
+	//fetch 1,mem_context
+	//rtnbit0 state_insniff
+	fetch 2,mem_context+coffset_tsniff
+	rshift pdata,pdata
+	fetcht 2,mem_sniff_param_interval
+	isub temp,null
+	nbranch module_sniff_param_check_unsniff,zero
+	branch app_lpm_mult_enable
+module_sniff_param_check_unsniff:
+	fetch 2,mem_module_flag
+	rtnbit1 MOUDLE_TASK_UNSNIFF
+	fetch 2,core_uart_rxitems    //*
+	ncall module_set_unsniff_task_flag,blank    //*加这两句话
+	branch app_bt_sniff_exit
+
+module_process_exit_sniff:
+	call module_clear_sniff_task_flag
+	branch app_lpm_mult_disable
+ 	
+module_process_setup_complete:
+	call module_spp_clear_last_transmite_clock
+	branch module_conn_start
+	
+module_process_bb_even_le_disconn:
+	call le_clr_config_more_data
+	jam 0,mem_module_hci_notify_len
+	call module_disconn_start
+	branch module_hci_event_le_disconnect
+
+module_process_evt_pincode_req:
+	branch  app_bt_set_pincode
+	
+
+module_process_sniff_not_accept:
+	branch module_clear_sniff_task_flag
+
+
+module_process_unsniff_accept:
+	fetch 2,mem_module_flag
+	bbit0 MOUDLE_TASK_UNSNIFF,app_bt_enter_sniff
+	branch module_clear_unsniff_task_flag
+
+	
+module_process_unsniff_not_accept:
+	branch module_clear_unsniff_task_flag
+
+	
+module_process_le_conn:
+//	call le_send_att_exchange_mtu_requset
+	call module_conn_start
+	fetch 1,mem_module_le_lpm_mult
+	store 1,mem_lpm_mult
+	branch module_hci_event_le_connect
+
+
+module_process_bb_conn:
+	jam 0,mem_flag_mode_ssp_pin
+	call module_clear_sniff_task_flag
+	branch module_clear_unsniff_task_flag
+
+module_process_page_time_out:
+module_process_reconn_fail:
+module_disconn_start:
+	call module_start_adv_discovery_by_command
+	branch module_set_conn_pin_high
+
+
+module_process_ble_ltk_lost:
+	call le_send_reject_ind
+	branch le_send_smp_security_request
+
+module_process_ble_update_phy:
+	branch module_hci_event_le_update_phy
+
+
+module_set_conn_pin_high:
+	fetcht 1,mem_module_connect_state_gpio
+	branch gpio_out_active
+
+module_conn_start:
+	call module_stop_adv_discovery
+	branch module_set_conn_pin_low
+	
+module_stop_adv_discovery:
+	fetch 1,mem_module_state
+	isolate1 MOUDLE_STATE_BT_BIT,pdata
+	call app_bt_stop_discovery,true
+	fetch 1,mem_module_state
+	isolate1 MOUDLE_STATE_BLE_BIT,pdata
+	call app_ble_stop_adv,true
+	rtn
+module_set_conn_pin_low:
+	fetcht 1,mem_module_connect_state_gpio
+	branch gpio_out_inactive
+
+module_process_with_credit:
+	fetch 1,mem_rfcomm_credit_flag
+	rtneq CREDIT_DISABLE
+	branch rfcomm_send_uih_without_payload
+
+module_process_check_hci_command_complete:
+	fetch 1,core_uart_status
+	bbit1 UART_STATUS_RX_FIFO_EMPTY,module_process_with_credit  //rx no data
+	call uarta_prepare_rx
+	ifetch 1,contru
+	bne 0x01,module_hci_in_excp	//HciType != 0x01
+	fetch 2,core_uart_rxitems
+	sub pdata,2,null
+	rtn positive
+	ifetch 1,contru
+	store 1,mem_module_uart_opcode
+	ifetcht 1,contru
+	copy contru,rega
+	storet 1,mem_module_uart_len
+	add temp,3,temp
+	fetch 2,core_uart_rxitems
+	isub temp,temp
+	nrtn positive
+	jam HCI_DISCARD_PACKET,mem_module_temp_nl_discard_packet
+	call module_hci_cmd_control
+	fetch 1,mem_module_temp_nl_discard_packet
+	rtneq HCI_NOT_DISCARD_PACKET
+	branch module_hci_dicard_packet //discard this packet
+
+module_hci_in_excp:
+	call delay_10ms
+	call module_hci_event_invalid_packet
+	branch module_hci_release_except
+
+
+module_hci_release_except:
+	bpatch patch17_5,mem_patch17
+	call uarta_prepare_rx
+	fetch 2,core_uart_rxitems
+	rtn blank
+	iadd contru,contru
+	branch module_hci_dicard_bytes
+
+module_hci_dicard_packet:
+	call uarta_prepare_rx
+	increase 2,contu
+	ifetch 1,contu
+	iadd contu,contu
+module_hci_dicard_bytes:
+	branch uarta_rxdone
+	
+
+module_hci_cmd_control:
+	bpatch patch17_6,mem_patch17
+	fetch 1,mem_module_uart_opcode
+	beq HCI_CMD_SET_BT_ADDR_REQ,module_hci_cmd_set_bt_addr
+	beq HCI_CMD_SET_LE_ADDR_REQ,module_hci_cmd_set_le_addr
+	beq HCI_CMD_SET_VISIBILITY_REQ,module_hci_cmd_set_visibility	
+	beq HCI_CMD_SET_BT_NAME_REQ,module_hci_cmd_set_bt_name
+	beq HCI_CMD_SET_LE_NAME_REQ,module_hci_cmd_set_le_name
+	beq HCI_CMD_SPP_DATA_REQ,module_hci_cmd_receive_spp_data
+	beq HCI_CMD_LE_DATA_REQ,module_hci_cmd_receive_le_data
+	beq HCI_CMD_STATUS_IRQ,module_hci_cmd_inquire_status
+	beq HCI_CMD_SET_PAIRING_REQ,module_hci_cmd_set_pairing_mode
+	beq HCI_CMD_SET_PINCODE_REQ,module_hci_cmd_set_pincode	
+	beq HCI_CMD_SET_UARTCONTROL_REQ,module_hci_cmd_set_uart_control_mode
+	beq HCI_CMD_SET_UART_BAUD_REQ,module_hci_cmd_set_uart_baud
+	beq HCI_CMD_VERSION_REQ,module_hci_cmd_version_request
+	beq HCI_CMD_BT_DISCONNECT,module_hci_cmd_bt_disconnect
+	beq HCI_CMD_BLE_DISCONNECT,module_hci_cmd_ble_disconnect
+	beq HCI_CMD_SET_COD,module_hci_cmd_set_cod
+	beq HCI_CMD_SET_NVRAM_REQ,module_hci_cmd_set_nvram
+	beq HCI_CMD_CONFIRM_GKEY,module_hci_cmd_confirm_gkey
+	beq HCI_CMD_SET_CREDIT_GIVEN,module_hci_cmd_set_credit_given
+	beq HCI_CMD_AUTO_ADV_SCAN,module_hci_cmd_auto_adv
+	beq HCI_CMD_POWER_REQ,module_hci_cmd_power_request
+	beq HCI_CMD_POWER_SET,module_hci_cmd_power_set
+	beq HCI_CMD_PASSKEY_ENTRY,module_hci_cmd_passkey_entry
+	beq HCI_CMD_SET_GPIO,module_hci_cmd_set_gpio
+	beq HCI_CMD_READ_GPIO,module_hci_cmd_read_gpio
+	beq HCI_CMD_LE_SET_PAIRING,module_hci_cmd_le_set_pairing_mode
+	beq HCI_CMD_LE_SET_ADV_DATA,module_hci_cmd_le_set_adv_data
+	beq HCI_CMD_LE_SET_SCAN_DATA,module_hci_cmd_le_set_scan_data
+	beq HCI_CMD_LE_SEND_CONN_UPDATE_REQ,module_hci_cmd_le_send_conn_update_req
+	beq HCI_CMD_LE_SET_ADV_PARM,module_hci_cmd_set_le_adv_parameter
+	beq HCI_CMD_LE_START_PAIRING,module_hci_cmd_le_start_pairing
+	beq HCI_CMD_SET_WAKE_GPIO,module_hci_cmd_set_wake_gpio
+	beq HCI_CMD_SET_TX_POWER,module_hci_cmd_set_tx_power
+	beq HCI_CMD_LE_CONFIRM_GKEY,module_hci_cmd_le_confirm_gkey
+	beq HCI_CMD_REJECT_JUSTWORK,module_hci_cmd_set_reject_justwork_flag
+	beq HCI_CMD_RESET_CHIP_REQ,module_hci_cmd_reset_chip
+	beq HCI_CMD_LE_SET_FIXED_PASSKEY,module_hci_cmd_le_set_fixed_passkey
+	beq HCI_CMD_DELETE_CUSTOMIZE_SERVICE,module_hci_cmd_delete_customize_service
+	beq HCI_CMD_ADD_SERVICE_UUID,module_hci_cmd_add_service_uuid
+	beq HCI_CMD_ADD_CHARACTERISTIC_UUID,module_hci_cmd_add_characteristic_uuid
+	beq HCI_CMD_PASSKEY_ENTRY_INPUT,module_hci_cmd_le_passkey_entry_input
+	beq HCI_CMD_BLE_SET_PHY,module_hci_cmd_ble_set_phy
+	beq HCI_CMD_BLE_READ_CURRENT_PHY,module_hci_cmd_ble_read_current_phy
+	beq HCI_CMD_BLE_SET_DLE,module_hci_cmd_ble_set_dle
+	beq HCI_CMD_READ_CHIP_DATA,module_hci_cmd_read_chip_data
+	beq HCI_CMD_WRITE_CHIP_DATA,module_hci_cmd_write_chip_data
+	beq HCI_CMD_CLOSE_LPM,module_hci_cmd_close_lpm
+	branch  module_hci_event_receive_invalid_cmd
+
+
+
+//command opcode 0x00
+module_hci_cmd_set_bt_addr:
+	fetch 1,mem_module_uart_len
+	bne 6,module_hci_event_receive_invalid_cmd
+	ifetch 6,contru
+	store 6,mem_lap
+	branch module_hci_event_receive_valid_cmd
+
+//command opcode 0x01
+module_hci_cmd_set_le_addr:
+	fetch 1,mem_module_uart_len
+	bne 6,module_hci_event_receive_invalid_cmd
+	ifetch 6,contru
+	store 6,mem_le_lap
+	branch module_hci_event_receive_valid_cmd
+
+
+//command opcode 0x02
+module_hci_cmd_set_visibility:
+	fetch 1,mem_module_uart_len
+	bne 1,module_hci_event_receive_invalid_cmd
+	ifetcht 1,contru
+	storet 1,mem_module_bluetooth_stauts_by_command
+	call module_hci_event_receive_valid_cmd
+	fetch 2,mem_ui_state_map
+	rtnbit1 UI_STATE_BLE_CONNECTED
+	rtnbit1 UI_STATE_BT_CONNECTED
+module_start_adv_discovery_by_command:
+	fetch 1,mem_module_state
+	isolate1 MOUDLE_STATE_BT_BIT,pdata
+	nbranch moudle_start_adv_by_command,true
+	fetcht 1,mem_module_bluetooth_stauts_by_command
+	and temp,0x03,pdata
+	store 1,mem_scan_mode
+moudle_start_adv_by_command:
+	fetch 1,mem_module_state
+	isolate1 MOUDLE_STATE_BLE_BIT,pdata
+	nrtn true
+	fetcht 1,mem_module_bluetooth_stauts_by_command
+	isolate1 2,temp
+	branch app_ble_start_adv,true
+	branch app_ble_stop_adv
+
+
+//command opcode 0x03
+module_hci_cmd_set_bt_name:
+	fetch 1,mem_module_uart_len
+	sub pdata,67,null
+	nbranch module_hci_event_receive_invalid_cmd,positive
+	store 1,mem_local_name_length
+	arg 8,loopcnt
+	call memset0
+	fetchr loopcnt,1,mem_module_uart_len
+	arg mem_local_name,contw
+	call uart_copy_rx_bytes_fast
+	branch module_hci_event_receive_valid_cmd
+
+
+//command opcode 0x04
+module_hci_cmd_set_le_name:
+	arg 29,pdata
+	arg mem_le_name_len,contw
+	call module_hci_cmd_receive_store_mem
+	branch le_modified_name
+
+
+//command opcode 0x05
+module_hci_cmd_receive_spp_data:
+	fetch 1,mem_ui_state_map
+	bbit0 UI_STATE_BT_SPP_CONN,module_hci_event_receive_invalid_cmd
+	call app_check_sniff
+	branch module_hci_cmd_spp_exit_sniff,true
+	jam HCI_NOT_DISCARD_PACKET,mem_module_temp_nl_discard_packet
+	call module_spp_clear_last_transmite_clock
+	fetch 1,mem_remote_credits
+	rtn blank
+	fetch 2,mem_nl_rx_len_all
+	nbranch module_hci_cmd_pass_init_ng_rx_len_all,blank
+	fetch 1,mem_module_uart_len
+	store 2,mem_nl_rx_len_all
+
+	store 2,mem_nl_rx_data_src
+	storer contru,2,mem_nl_rx_data_src
+module_hci_cmd_pass_init_ng_rx_len_all:
+	call module_hci_cmd_get_current_packet_len_and_remain_len
+	branch spp_tx_rfcomm_packet
+	
+module_hci_cmd_spp_exit_sniff:
+	jam HCI_NOT_DISCARD_PACKET,mem_module_temp_nl_discard_packet
+	branch module_exit_sniff
+
+module_hci_cmd_get_current_packet_len_and_remain_len:
+	call module_hci_cmd_get_current_patcket_len
+	fetch 2,mem_nl_rx_len_all
+	fetcht 2,mem_current_packet_length
+	isub temp,pdata
+	store 2,mem_nl_rx_len_all
+	rtn
+
+module_hci_cmd_get_current_patcket_len:
+	fetch 2,mem_nl_rx_len_all
+	fetcht 2,mem_rfcomm_max_frame_size	//接收最大能力?
+	call not_greater_than
+	fetcht 2,mem_pn_max_frame_size		//发送最大能力?
+	call not_greater_than
+	store 2,mem_current_packet_length
+	rtn
+
+module_hci_command_tx_spp_tx_complete:
+	jam HCI_DISCARD_PACKET,mem_module_temp_nl_discard_packet
+	jam HCI_CMD_SPP_DATA_REQ,mem_module_uart_opcode
+	branch module_hci_event_receive_valid_cmd
+
+
+//command opcode 0x09
+module_hci_cmd_receive_le_data:
+	fetch 2,mem_ui_state_map
+	bbit0 UI_STATE_BLE_CONNECTED,module_hci_event_receive_invalid_cmd
+	call module_check_ble_encrypt_state
+	branch module_hci_event_receive_invalid_cmd,user
+	jam HCI_NOT_DISCARD_PACKET,mem_module_temp_nl_discard_packet 
+	fetch 2,mem_module_flag
+	bbit1 MODULE_FLAG_BLE_DATA_FINISH,module_hci_cmd_receive_le_data_finish
+	fetch 1,mem_module_hci_notify_len
+	nrtn blank
+	jam HCI_DISCARD_PACKET,mem_module_temp_nl_discard_packet 
+	ifetch 2,contru		//handle
+	store 2,mem_module_hci_notify_handle
+	storer contru,2,mem_module_hci_nofiy_addr
+	fetch 1,mem_module_uart_len
+	pincrease -2
+	nbranch module_hci_event_receive_invalid_cmd,positive
+	branch module_hci_event_receive_invalid_cmd,zero
+	store 1,mem_module_hci_notify_len
+	fetcht 2,mem_module_hci_notify_handle
+	increase -1,temp
+	call le_att_get_handle_ptr2
+	branch module_hci_cmd_transmit_handle_error,blank
+	ifetcht 4,contr		//flag
+	setarg 0x01280302
+	isub temp,null
+	nbranch module_hci_cmd_transmit_handle_error,zero
+	ifetch 1,contr
+	store 1,mem_module_hci_notify_type
+	and_into 0x30,pdata
+	branch module_hci_cmd_transmit_handle_error,blank
+	jam HCI_NOT_DISCARD_PACKET,mem_module_temp_nl_discard_packet
+	call le_set_config_more_data
+	call module_hci_cmd_transmit_le_notify
+	call module_hci_cmd_transmit_le_notify
+	call module_hci_cmd_transmit_le_notify
+	fetch 2,mem_module_flag
+	rtnbit0 MODULE_FLAG_BLE_DATA_FINISH
+module_hci_cmd_receive_le_data_finish:
+	jam HCI_DISCARD_PACKET,mem_module_temp_nl_discard_packet 
+	call module_clear_le_tx_data_flag
+	branch module_hci_event_receive_valid_cmd
+
+module_hci_cmd_transmit_handle_error:
+	jam 0,mem_module_hci_notify_len
+	jam HCI_DISCARD_PACKET,mem_module_temp_nl_discard_packet 
+	call module_clear_le_tx_data_flag
+	branch module_hci_event_receive_invalid_cmd
+
+module_hci_cmd_transmit_le_notify:
+	fetch 1,mem_module_hci_notify_len
+	rtn blank
+	call le_fifo_check_nearly_full
+	nrtn blank				//no fifo
+	call module_get_le_remote_mtu
+	bpatch patch17_7,mem_patch17
+	fetch 2,mem_le_local_mtu
+	call not_greater_than
+	copy pdata,temp
+	fetch 1,mem_le_l2cap_att_states
+	rtnbit1 BLE_L2CAP_RECV_CONFIRMATION_PACKET
+	add temp,-3,pdata		//sub handle and opcode
+	arg 251,temp
+	call not_greater_than
+	fetcht 1,mem_module_hci_notify_len
+	call not_greater_than
+	copy pdata,rega
+	copy temp,pdata
+	isub rega,pdata
+	store 1,mem_module_hci_notify_len
+	call module_hci_cmd_transmit_le_notify_malloc_l2cap
+	fetch 2,mem_module_hci_nofiy_addr
+	copy pdata,contru
+	copy rega,loopcnt
+	call uart_copy_rx_bytes_fast
+	copy contru,pdata
+	store 2,mem_module_hci_nofiy_addr
+	fetch 1,mem_module_hci_notify_len
+	nrtn blank
+	branch module_set_le_tx_data_flag
+
+module_hci_cmd_transmit_le_notify_malloc_l2cap:
+	fetcht 2,mem_module_hci_notify_handle
+	fetch 1,mem_module_hci_notify_type
+	bbit1 BIT_CHARACTERISTIC_INDICATE,le_att_malloc_tx_indication
+	bbit1 BIT_CHARACTERISTIC_NOTIFY,le_att_malloc_tx_notify
+	rtn
+
+
+//output: temp is master mtu
+module_get_le_remote_mtu:
+	arg 0x17,temp
+	fetch 2,mem_module_flag
+	rtnbit1 MODULE_FLAG_BLE_SEND_MTU23
+	fetcht 2,mem_le_remote_mtu
+	rtn
+
+module_check_ble_encrypt_state:
+	fetch 2,mem_module_flag
+	bbit1 MODULE_FLAG_BLE_DATA_ENCRYPT,le_check_encrypt_state
+	branch disable_user
+	
+
+//command opcode 0x0b
+module_hci_cmd_inquire_status:
+	branch module_hci_event_status_res
+
+
+//command opcode 0x0c
+module_hci_cmd_set_pairing_mode:
+	ifetch 1,contru
+	beq BR_PAIRING_MODE_SECURE_CONNECT_JUSTWORK,module_hci_pairing_just_work_sc
+	beq BR_PAIRING_MODE_SECURE_CONNECT_PASSKEY,module_hci_pairing_passkey_sc
+	beq BR_PAIRING_MODE_SECURE_CONNECT_NUMERIC,module_hci_pairing_numeric_comparison_sc
+
+	copy pdata,rega
+	call sp_br_secure_connection_disable
+	call sc_reset
+	copy rega,pdata
+	beq BR_PAIRING_MODE_PINCODE,module_hci_pairing_pincode_mode
+	beq BR_PAIRING_MODE_JUSTWORK,module_hci_pairing_just_work_mode
+	beq BR_PAIRING_MODE_PASSKEY,module_hci_pairing_passkey
+	beq BR_PAIRING_MODE_NUMERIC,module_hci_pairing_numeric_comparison
+	branch module_hci_event_receive_invalid_cmd
+
+module_hci_pairing_just_work_sc:
+	call sp_br_secure_connection_enable
+	branch module_hci_pairing_just_work_mode
+	
+module_hci_pairing_passkey_sc:
+	call sp_br_secure_connection_enable
+	branch module_hci_pairing_passkey
+
+module_hci_pairing_numeric_comparison_sc:
+	call sp_br_secure_connection_enable
+	branch module_hci_pairing_numeric_comparison
+	
+module_hci_pairing_pincode_mode:
+	call sp_reset
+	jam 0,mem_ssp_enable
+	branch module_hci_event_receive_valid_cmd
+	
+module_hci_pairing_just_work_mode:
+	setarg IO_CAPABILITY_NO_INPUT_NO_OUTPUT
+module_hci_sspairing_mode:
+	store 1,mem_ssp_mode_flag
+	store 1,mem_lmp_io_cap_payload_iocap
+	setarg OOB_DATA_PRESENT_NOT_PRESENT
+	store 1,mem_lmp_io_cap_payload_oob_auth_data
+	setarg AUTH_REQ_MITM_PROTECTION_NOT_REQUIRED_GENERAL_BONDING
+	store 1,mem_lmp_io_cap_payload_auth_req
+	call ssp_enable
+	jam 1,mem_ssp_enable
+	branch module_hci_event_receive_valid_cmd
+module_hci_pairing_passkey:
+	setarg IO_CAPABILITY_KEYBOARD_ONLY
+	branch module_hci_sspairing_mode
+
+module_hci_pairing_numeric_comparison:
+	setarg IO_CAPABILITY_DISPLAY_YESNO
+	branch module_hci_sspairing_mode
+
+
+//command opcode 0x0d
+module_hci_cmd_set_pincode:
+	arg 16,pdata
+	arg mem_pin_length,contw
+	branch module_hci_cmd_receive_store_mem
+
+
+//command opcode 0x0e
+module_hci_cmd_set_uart_control_mode:
+	ifetch 1,contru
+	fetcht 1,mem_module_flag
+	nsetflag blank,MODULE_FLAG_UART_FLOW_CONTROL,temp
+	storet 1,mem_module_flag
+	fetcht 1,core_uart_ctrl
+	nsetflag blank,BIT_UART_CONTROL_FLOW_CONTROL,temp
+	storet 1,core_uart_ctrl
+ 	branch module_hci_event_receive_valid_cmd
+
+ 	
+//command opcode 0x0f
+module_hci_cmd_set_uart_baud:
+	fetchr loopcnt,1,mem_module_uart_len
+	call string2dec_from_uart
+	call uart_calc_baud_rate_config
+	store uart_baud_len,mem_module_uarta_baud_rate
+	call module_hci_event_receive_valid_cmd
+	call wait_uarttx
+	fetch uart_baud_len,mem_module_uarta_baud_rate
+	branch uarta_init_baud_rate
+
+
+//command opcode 0x10
+module_hci_cmd_version_request:
+	arg 2,rega
+	arg mem_soft_version_num,regb
+	arg 0,temp
+	branch module_hci_event_set_cmd
+
+
+//command opcode 0x11
+module_hci_cmd_bt_disconnect:
+	fetch 2,mem_ui_state_map
+	bbit0 UI_STATE_BT_CONNECTED,module_hci_event_receive_invalid_cmd
+module_hci_cmd_bt_disconnect_doing:
+	call module_hci_event_receive_valid_cmd
+	branch app_bt_disconnect
+
+	
+//command opcode 0x12
+module_hci_cmd_ble_disconnect:
+	fetch 2,mem_ui_state_map
+	bbit0 UI_STATE_BLE_CONNECTED,module_hci_event_receive_invalid_cmd
+module_hci_cmd_ble_disconnect_doing:
+	call module_hci_event_receive_valid_cmd
+	branch app_ble_disconnect
+
+
+//command opcode 0x15
+module_hci_cmd_set_cod:
+	fetch 1,mem_module_uart_len
+	bne 3,module_hci_event_receive_invalid_cmd
+	ifetch 3,contru
+	store 3,mem_class
+	branch module_hci_event_receive_valid_cmd
+	
+
+//command opcode 0x26
+module_hci_cmd_set_nvram:
+	fetchr loopcnt,1,mem_module_uart_len
+	fetch 2,mem_nv_data_ptr
+	icopy contw
+	call uart_copy_rx_bytes_fast
+	branch module_hci_event_receive_valid_cmd
+
+
+//command opcode 0x28
+module_hci_cmd_confirm_gkey:
+	fetch 2,mem_ui_state_map
+	bbit1 UI_STATE_BLE_CONNECTED,module_hci_cmd_le_confirm_gkey
+	bbit0 UI_STATE_BT_CONNECTED,module_hci_event_receive_invalid_cmd	
+	ifetch 1,contru
+	fetcht 1,mem_flag_mode_ssp_pin
+	setflag blank,FLAG_MODE_SSP_PIN_COMPARISON_RESULT_BIT,temp
+	set1 FLAG_MODE_SSP_PIN_REVICEVE_COMPARISON_BIT ,temp
+	storet 1,mem_flag_mode_ssp_pin
+
+	call module_hci_event_receive_valid_cmd
+
+	fetch 1,mem_flag_mode_ssp_pin
+	bbit1 FLAG_MODE_SSP_PIN_RECIEVE_DHKEY_BIT,module_hci_cmd_spp_number_comparison_result_is1
+	rtn
+
+module_hci_cmd_spp_number_comparison_result_is1:
+	bbit1 FLAG_MODE_SSP_PIN_COMPARISON_RESULT_BIT,number_comparison_successed
+	jam 0,mem_flag_mode_ssp_pin
+	jam BT_CMD_DHKEY_NOT_ACCEPT,mem_fifo_temp
+	branch ui_ipc_send_cmd
+
+
+//command opcode 0x29
+module_hci_cmd_set_credit_given:
+	fetch 1,mem_ui_state_map
+	rtnbit0 UI_STATE_BT_SPP_CONN
+	fetch 1,mem_rfcomm_credit_flag
+	rtneq CREDIT_DISABLE
+	ifetch 1,contru
+	fetcht 1,mem_credit_given
+	iadd temp,temp
+	storet 1,mem_credit_given
+	rtn
+
+
+//command opcode 0x2a
+module_hci_cmd_auto_adv:
+	arg 0x40,loopcnt
+	arg mem_le_adv_data_len,contw
+	call clear_mem
+	setarg 0
+	store 1,mem_regb
+	copy rega,contru
+module_hci_cmd_auto_adv_loop:
+	copy contru,pdata
+	store 2,mem_regc
+	call module_hci_cmd_auto_adv_adv_analys
+
+	fetch 1,mem_regb
+	fetcht 1,mem_temp
+	increase 1,temp
+	iadd temp,pdata
+	store 1,mem_regb
+
+	sub pdata,31,null
+	nbranch module_hci_cmd_auto_adv_store_scan,positive
+module_hci_cmd_auto_adv_store_adv:
+	fetcht 1,mem_le_adv_data_len
+	setarg mem_le_adv_data
+	iadd temp,pdata
+	store 2,mem_contw
+	fetcht 1,mem_temp
+	increase 1,temp
+	fetch 1,mem_le_adv_data_len
+	iadd temp,pdata
+	store 1,mem_le_adv_data_len
+	branch module_hci_cmd_auto_adv_store_common
+module_hci_cmd_auto_adv_store_scan:
+	fetcht 1,mem_le_scan_data_len
+	setarg mem_le_scan_data
+	iadd temp,pdata
+	store 2,mem_contw
+	fetcht 1,mem_temp
+	increase 1,temp
+	fetch 1,mem_le_scan_data_len
+	iadd temp,pdata
+	store 1,mem_le_scan_data_len
+module_hci_cmd_auto_adv_store_common:
+	fetch 2,mem_contw
+	copy pdata,contw
+	fetch 2,mem_regc
+	copy pdata,contru
+
+	copy temp,loopcnt
+	call uart_copy_rx_bytes_fast
+
+	fetch 1,mem_module_uart_len
+	fetcht 1,mem_regb
+	isub temp,null
+	nbranch  module_hci_cmd_auto_adv_loop,zero
+	branch module_hci_event_receive_valid_cmd
+
+//block of adv len in mem_temp
+module_hci_cmd_auto_adv_adv_analys:
+	ifetch 1,contru
+	store 1,mem_temp
+	ifetch 1,contru
+	store 1,mem_rega
+	rtn
+
+
+//command opcode 0x2b
+module_hci_cmd_power_request:
+	arg 0,temp
+	arg 2,rega
+	fetch 2,mem_module_vdd_quotient
+	store 2,mem_event_cmd_response_content
+	arg mem_event_cmd_response_content,regb
+	branch module_hci_event_set_cmd
+
+
+//command opcode 0x2c
+module_hci_cmd_power_set:
+	fetch 1,mem_module_uart_len
+	bne 1,module_hci_event_receive_invalid_cmd
+	ifetch 1,contru
+	store 1,mem_module_read_vdd_flag
+	setarg 0x00
+	store 2,mem_module_vdd_quotient
+	branch module_hci_event_receive_valid_cmd
+
+
+//command opcode 0x30
+module_hci_cmd_passkey_entry:
+	fetch 1,mem_module_uart_len
+	bne 4,module_hci_event_receive_invalid_cmd
+	fetch 2,mem_ui_state_map
+	bbit1 UI_STATE_BLE_CONNECTED,module_hci_cmd_le_passkey_entry_input
+	ifetch 4,contru
+	store 4,mem_pin
+	jam 4,mem_pin_length
+	jam 0,mem_authentication_passkey_times
+	call module_hci_event_receive_valid_cmd
+	branch authentication_passkey
+
+
+//command opcode 0x31
+module_hci_cmd_set_gpio:
+	fetch 1,mem_module_uart_len
+	bne 3,module_hci_event_receive_invalid_cmd
+	ifetch 1,contru
+	beq HCI_CMD_CONFIG_GPIO_INPUT,module_set_gpio_input
+	beq HCI_CMD_CONFIG_GPIO_OUTPUT,module_set_gpio_output
+	branch module_hci_event_receive_invalid_cmd
+
+module_set_gpio_input:
+	call module_hci_event_receive_valid_cmd
+	ifetcht 1,contru
+	ifetch 1,contru
+	beq GPIO_INPUT_HIGH_IMPEDANCE,gpio_set_high_impedance
+	nsetflag blank,7,temp
+	branch gpio_config_input
+
+module_set_gpio_output:
+	call module_hci_event_receive_valid_cmd
+	ifetcht 1,contru
+	ifetch 1,contru	
+	branch gpio_out_active,blank
+	branch gpio_out_inactive
+
+
+//command opcode 0x32
+module_hci_cmd_read_gpio:
+	fetch 1,mem_module_uart_len
+	bne 1,module_hci_event_receive_invalid_cmd
+	ifetcht 1,contru
+	call gpio_get_bit
+	setarg 0x0
+	nsetflag true,0,pdata
+	arg 1,rega
+	store 2,mem_event_cmd_response_content
+	arg mem_event_cmd_response_content,regb
+	arg 0,temp
+	branch module_hci_event_set_cmd
+
+
+//command opcode 0x33
+module_hci_cmd_le_set_pairing_mode:
+	ifetch 1,contru
+	copy pdata,temp
+	beq LE_PAIRING_MODE_SECURE_CONNECT_JUSTWORK,module_le_set_pairing_mode_secure_justwork
+	beq LE_PAIRING_MODE_SECURE_CONNECT_NUMERIC,module_le_set_pairing_mode_secure_numeric
+	beq LE_PAIRING_MODE_SECURE_CONNECT_PASSKEY,module_le_set_pairing_mode_secure_passkey
+	beq LE_PAIRING_MODE_SECURE_CONNECT_PASSKEY_RES_INPUT,module_le_set_pairing_mode_secure_passkey_res_input
+	store 1,mem_le_pairing_mode
+	call sc_reset
+	call le_secure_connection_disable
+	fetch 1,mem_le_pairing_mode
+	beq LE_PAIRING_MODE_NONE, module_le_set_no_pairing
+	beq LE_PAIRING_MODE_LAGACY_JUSTWORK,module_le_set_pairing_mode_lagacy_just_work
+	beq LE_PAIRING_MODE_LAGACY_PASSKEY,module_le_set_pairing_mode_lagacy_passkey
+	beq LE_PAIRING_MODE_LAGACY_PASSKEY_RES_INPUT,module_le_set_pairing_mode_lagacy_passkey_res_input
+	branch module_hci_event_receive_invalid_cmd
+		
+module_le_set_pairing_mode_secure_justwork:
+	storet 1,mem_le_pairing_mode
+	call le_secure_connection_enable
+	jam FLAG_LE_BONDING_MITM_SECURE,mem_le_pres_auth
+	branch module_le_set_noinputnooutput
+module_le_set_pairing_mode_secure_numeric:
+	storet 1,mem_le_pairing_mode
+	call le_secure_connection_enable
+	jam FLAG_LE_BONDING_MITM_SECURE,mem_le_pres_auth
+	jam FLAG_IOCAP_DISPLAYYESNO,mem_le_pres_iocap
+	branch module_hci_event_receive_valid_cmd	
+module_le_set_pairing_mode_secure_passkey:	
+	storet 1,mem_le_pairing_mode
+	call le_secure_connection_enable
+	jam FLAG_LE_BONDING_MITM_SECURE,mem_le_pres_auth
+	branch module_le_set_displayonly
+module_le_set_pairing_mode_secure_passkey_res_input:
+	storet 1,mem_le_pairing_mode
+	call le_secure_connection_enable
+	jam FLAG_LE_BONDING_MITM_SECURE,mem_le_pres_auth
+	branch module_le_set_keboadonly
+
+
+module_le_set_no_pairing:
+	jam FLAG_LE_NO_BONDING_NO_MITM,mem_le_pres_auth
+module_le_set_noinputnooutput:	
+	jam FLAG_IOCAP_NOINPUTNOOUTPUT,mem_le_pres_iocap
+	branch module_hci_event_receive_valid_cmd	
+module_le_set_pairing_mode_lagacy_just_work:
+	jam FLAG_LE_BONDING_NO_MITM,mem_le_pres_auth
+	branch module_le_set_noinputnooutput
+module_le_set_pairing_mode_lagacy_passkey:
+	jam FLAG_LE_BONDING_MITM,mem_le_pres_auth
+	branch module_le_set_displayonly
+module_le_set_pairing_mode_lagacy_passkey_res_input:
+	jam FLAG_LE_BONDING_MITM,mem_le_pres_auth
+	branch module_le_set_keboadonly
+module_le_set_keboadonly:	
+	jam FLAG_IOCAP_KEYBOARDONLY,mem_le_pres_iocap
+	branch module_hci_event_receive_valid_cmd	
+module_le_set_displayonly:	
+	jam FLAG_IOCAP_DISPLAYONLY,mem_le_pres_iocap
+	branch module_hci_event_receive_valid_cmd	
+
+
+//command opcode 0x34
+module_hci_cmd_le_set_adv_data:
+	arg 31,pdata
+	arg mem_le_adv_data_len,contw
+	branch module_hci_cmd_receive_store_mem
+
+
+//command opcode 0x35
+module_hci_cmd_le_set_scan_data:
+	arg 31,pdata
+	arg mem_le_scan_data_len,contw
+	branch module_hci_cmd_receive_store_mem
+
+module_hci_cmd_receive_store_mem:
+	fetchr loopcnt,1,mem_module_uart_len
+	isub loopcnt,null
+	nbranch module_hci_event_receive_invalid_cmd,positive
+	istorer loopcnt,1,contw
+	call uart_copy_rx_bytes_fast
+	branch module_hci_event_receive_valid_cmd	
+
+	
+//command opcode 0x36
+module_hci_cmd_le_send_conn_update_req:
+	fetch 2,mem_ui_state_map
+	bbit0 UI_STATE_BLE_CONNECTED,module_hci_event_receive_invalid_cmd
+	fetch 1,mem_module_uart_len
+	bne 0x08,module_hci_event_receive_invalid_cmd
+	ifetch 8,contru
+	store 8,mem_le_interval_min
+	jam BT_CMD_LE_UPDATE_CONN,mem_fifo_temp
+	call  ui_ipc_send_cmd
+	branch module_hci_event_receive_valid_cmd
+
+
+//command opcode 0x37
+module_hci_cmd_set_le_adv_parameter:
+	ifetch 2,contru
+	store 2,mem_le_adv_interval
+	branch module_hci_event_receive_valid_cmd
+	
+	
+//command opcode 0x38
+module_hci_cmd_le_start_pairing:
+	fetch 1,mem_le_pairing_mode
+	branch module_hci_event_receive_invalid_cmd,blank
+	fetch 1,mem_le_pairing_state
+	bne FLAG_LE_PAIRING_NULL,module_hci_event_receive_invalid_cmd
+	fetch 1,mem_le_enc_state
+	bne FLAG_LE_ENC_NULL,module_hci_event_receive_invalid_cmd
+	call check_51cmd_le_smp_sec_req
+	branch module_hci_event_receive_valid_cmd	
+
+
+//command opcode 0x40
+module_hci_cmd_set_wake_gpio:
+	fetch 1,mem_module_uart_len
+	bne 5,module_hci_event_receive_invalid_cmd
+	ifetch 1,contru
+	store 1,mem_module_mcu_wake_pin
+	ifetch 4,contru
+	store 4, mem_module_mcu_wake_delay_us
+	fetcht 1,mem_module_mcu_wake_pin
+	call gpio_config_output
+	call module_set_mcu_wake_pin_low
+	branch module_hci_event_receive_valid_cmd
+	
+
+//command opcode 0x42
+module_hci_cmd_set_tx_power:
+	fetch 1,mem_module_uart_len
+	bne 0x01,module_hci_event_receive_invalid_cmd
+	ifetch 1,contru
+	store 1,mem_tx_power
+	branch module_hci_event_receive_valid_cmd
+
+
+//command opcode 0x48
+module_hci_cmd_le_confirm_gkey:
+	ifetch 1,contru
+	beq 0x01,module_hci_cmd_le_confirm_gkey_fail
+	fetch 1,mem_le_secure_connect_state
+	beq LE_SC_STAT_SEND_PUBLIC_KEY,module_hci_cmd_le_confirm_gkey_ok
+	beq LE_SC_STAT_RECEIVE_DHKEY,module_hci_cmd_le_confirm_gkey_ok
+	beq LE_SC_STAT_WAIT_CONFIRM_GKEY,module_hci_cmd_le_confirm_gkey_ok
+	branch module_hci_event_receive_invalid_cmd		
+module_hci_cmd_le_confirm_gkey_ok:
+	jam FLAG_LE_SC_CONFRIM_GKEY_OK,mem_le_sc_confirm_gkey_flag
+	branch module_hci_event_receive_valid_cmd	
+	
+module_hci_cmd_le_confirm_gkey_fail:
+	call le_send_pairing_confirm_value_failed
+	branch module_hci_event_receive_valid_cmd
+
+
+//command opcode 0x49
+module_hci_cmd_set_reject_justwork_flag:
+	fetch 1,mem_module_uart_len
+	bne 0x01,module_hci_event_receive_invalid_cmd
+	call module_hci_event_receive_valid_cmd
+	ifetch 1,contru
+	branch classic_bt_clr_reject_justwork_flag,blank
+	branch classic_bt_set_reject_justwork_flag
+
+
+//command opcode 0x51
+module_hci_cmd_reset_chip:
+	call module_hci_event_receive_valid_cmd
+	call wait_uarttx
+	jam 0x01,core_reset // rest YC1021
+	branch loop
+
+
+//command opcode 0x61
+module_hci_cmd_le_set_fixed_passkey:
+	fetch 1,mem_module_uart_len
+	beq 0,module_hci_event_receive_invalid_cmd
+	ifetch 1,contru
+	branch module_hci_cmd_le_set_random_passkey,blank
+	fetch 1,mem_module_uart_len
+	bne 5,module_hci_event_receive_invalid_cmd
+	ifetch 4,contru
+	arg 1000000,temp
+	isub temp,null
+	branch module_hci_event_receive_invalid_cmd,positive
+	store 4,mem_le_tk
+	call le_set_config_fixed_tk
+	branch module_hci_event_receive_valid_cmd
+
+module_hci_cmd_le_set_random_passkey:
+	call le_clr_config_fixed_tk
+	branch module_hci_event_receive_valid_cmd
+
+
+//command opcode 0x76
+module_hci_cmd_delete_customize_service:
+	ifetcht 2,contru
+	call le_att_get_handle_ptr2
+	add contr,-2,contw
+	setarg 0x0000
+	istore 2,contw
+	branch module_hci_event_receive_valid_cmd
+
+
+//command opcode 0x77
+module_hci_cmd_add_service_uuid:
+	call module_hci_cmd_add_service_uuid_set_uuid
+	call uart_copy_rx_bytes_len_data
+	setarg 0x0000
+	istore 2,contw
+	branch module_hci_event_uuid_handle
+
+
+
+//command opcode 0x78
+module_hci_cmd_add_characteristic_uuid:
+	ifetch 1,contru	//Characteristic
+	call module_hci_cmd_add_characteristic_uuid_set_handle
+	call module_hci_cmd_add_characteristic_uuid_set_uuid
+	branch module_hci_event_uuid_handle
+
+
+module_hci_cmd_add_service_uuid_set_uuid:
+	call le_att_creat_new_handle
+	setarg 0x280002
+	istore 3,contw
+	rtn
+
+
+module_hci_cmd_add_characteristic_uuid_set_handle:
+	store 1,mem_pdatatemp
+	call le_att_creat_new_handle
+	setarg 0x01280302
+	istore 4,contw
+	fetch 1,mem_pdatatemp
+	istore 3,contw
+	rtn
+
+
+module_hci_cmd_add_characteristic_uuid_set_uuid:
+	call le_att_get_last_handle
+	ifetch 1,contru
+	and pdata,0x1f,loopcnt
+	copy pdata,rega
+	isolate1 BIT_OF_WRITE_AUTHENTICATED,rega
+	setflag true,BIT_OF_ATT_HANDLE_WRITE_AUTHENTICATED,temp
+	isolate1 BIT_OF_READ_AUTHENTICATED,rega
+	setflag true,BIT_OF_ATT_HANDLE_READ_AUTHENTICATED,temp
+	istoret 2,contw
+	copy loopcnt,pdata
+	istore 1,contw
+	call uart_copy_rx_bytes
+	call uart_copy_rx_bytes_len_data		//data
+	setarg 0
+	istore 2,contw
+	and temp,0xff,temp
+	increase -1,temp
+	call le_att_get_handle_ptr2
+	add contr,4,contr
+	ifetch 1,contr		//characteristic data
+	bbit1 BIT_CHARACTERISTIC_NOTIFY,module_hci_cmd_add_characteristic_uuid_set_ccc_uuid
+	bbit1 BIT_CHARACTERISTIC_INDICATE,module_hci_cmd_add_characteristic_uuid_set_ccc_uuid
+	increase 1,temp
+	rtn
+
+
+module_hci_cmd_add_characteristic_uuid_set_ccc_uuid:
+	call le_att_get_last_handle
+	isolate1 BIT_OF_NOTIFY_AUTHENTICATED,rega
+	setflag true,BIT_OF_ATT_HANDLE_WRITE_AUTHENTICATED,temp
+	istoret 2,contw
+	setarg 0x02290202
+	istore 8,contw
+	increase -1,temp
+	rtn
+
+
+le_att_creat_new_handle:
+	call le_att_get_last_handle
+	istoret 2,contw
+	rtn
+
+
+uart_copy_rx_bytes_len_data:
+	ifetch 1,contru
+	copy pdata,loopcnt
+	istore 1,contw
+	branch uart_copy_rx_bytes
+
+
+//command opcode 0x7a
+module_hci_cmd_le_passkey_entry_input:
+	fetch 1,mem_le_pairing_state
+	bne FLAG_LE_PAIRING_RECEIVE_PAIRING_CONFIRM,module_hci_event_receive_invalid_cmd
+	fetch 1,mem_le_pairing_mode
+	beq LE_PAIRING_MODE_LAGACY_PASSKEY_RES_INPUT,module_hci_cmd_passkey_entry_res_input
+	beq LE_PAIRING_MODE_SECURE_CONNECT_PASSKEY_RES_INPUT,module_hci_cmd_passkey_entry_sc_res_input
+	branch module_hci_event_receive_invalid_cmd
+
+module_hci_cmd_passkey_entry_sc_res_input:
+	jam LE_SP_FLAG_COMMIT_256,mem_le_secure_connect_flag
+	jam LE_SC_STAT_PASSKEY_WAIT_CONFIRM,mem_le_secure_connect_state	
+	branch module_hci_cmd_receive_ble_passkey
+
+module_hci_cmd_receive_ble_passkey:
+	ifetch 4,contru
+	store 4,mem_le_tk
+	branch module_hci_event_receive_valid_cmd
+	
+module_hci_cmd_passkey_entry_res_input:
+	call module_hci_cmd_receive_ble_passkey
+	branch le_send_smp_pairing_confirm
+
+
+
+//command opcode 0x90
+module_hci_cmd_ble_set_phy:
+	fetch 1,mem_module_uart_len
+	bne 2,module_hci_event_receive_invalid_cmd
+	ifetcht 2,contru
+	call le_set_phys
+	branch module_hci_event_receive_valid_cmd
+
+
+//command opcode 0x91
+module_hci_cmd_ble_read_current_phy:
+	arg 0,temp
+	arg 2,rega
+	arg mem_context+coffset_le_rx_phy,regb
+	branch module_hci_event_set_cmd
+
+
+//command opcode 0x92
+module_hci_cmd_ble_set_dle:
+	fetch 1,mem_module_uart_len
+	bne 8,module_hci_event_receive_invalid_cmd
+	ifetch 8,contru
+	call le_set_dle
+	branch module_hci_event_receive_valid_cmd
+
+
+//command opcode 0x93
+module_hci_cmd_read_chip_data:
+	ifetchr rega,1,contru
+	ifetchr regb,2,contru
+	arg 0,temp
+	branch module_hci_event_set_cmd
+
+
+//command opcode 0x94
+module_hci_cmd_write_chip_data:
+	fetchr loopcnt,1,mem_module_uart_len
+	increase -2,loopcnt
+	ifetch 2,contru
+	copy pdata,contw
+	call uart_copy_rx_bytes_fast
+	branch module_hci_event_receive_valid_cmd
+
+
+
+//command opcode 0xff
+module_hci_cmd_close_lpm:
+	jam 0,mem_lpm_mode
+	branch module_hci_event_receive_valid_cmd
+	
+
+
+
+module_hci_event_receive_invalid_cmd:
+	arg 1,temp
+	arg 0,rega
+	branch module_hci_event_set_cmd
+
+
+module_hci_event_receive_valid_cmd:
+	arg 0,temp
+	arg 0,rega
+	branch module_hci_event_set_cmd
+
+
+//event opcode 0x00
+module_hci_event_spp_connect:
+	jam  HCI_EVENT_SPP_CONN_REP,mem_module_uart_opcode
+	branch module_hci_event_enter_standby_mode_len0
+
+
+//event opcode 0x02
+module_hci_event_le_connect:
+	jam  HCI_EVENT_LE_CONN_REP,mem_module_uart_opcode
+	branch module_hci_event_enter_standby_mode_len0
+
+
+//event opcode 0x03
+module_hci_event_spp_disconnect:
+	jam  HCI_EVENT_SPP_DIS_REP,mem_module_uart_opcode
+	branch module_hci_event_enter_standby_mode_len0
+
+
+//event opcode 0x05
+module_hci_event_le_disconnect:
+	jam  HCI_EVENT_LE_DIS_REP,mem_module_uart_opcode
+	branch module_hci_event_enter_standby_mode_len0
+
+
+//event opcode 0x06
+//input:
+//	temp: success 0; fail 1
+//	rega:Response Content length
+//	regb:Response Content address
+module_hci_event_set_cmd:
+	fetch 1,mem_module_uart_opcode
+	copy pdata,regc
+	jam  HCI_EVENT_CMD_RES,mem_module_uart_opcode
+	setarg 2
+	iadd rega,pdata
+	call module_hci_prepare_tx
+	copy regc,pdata
+	istore 1,contwu
+	istoret 1,contwu
+	copy rega,loopcnt
+	copy regb,contr
+	call uart_copy_tx_bytes
+	branch module_hci_transmit_tx
+
+
+//event opcode 0x07
+module_hci_event_receive_spp_data:
+//	call p_nl_clear_last_transmite_clock
+	call module_spp_clear_last_transmite_clock
+	jam HCI_EVENT_SPP_DATA_REP,mem_module_uart_opcode
+	fetch 1,mem_current_length
+	rtn blank
+	call module_hci_prepare_tx
+	fetch 1,mem_current_length
+	copy pdata,loopcnt
+	fetch 2,mem_rfcomm_uih_payload_ptr
+	copy pdata,contr
+	call uart_copy_tx_bytes_fast
+	branch module_hci_transmit_tx
+
+
+//event opcode 0x08
+//loopcnt pdata is data length
+module_hci_event_receive_le_data:
+	jam HCI_EVENT_LE_DATA_REP,mem_module_uart_opcode
+	add loopcnt,2,pdata
+	call module_hci_prepare_tx
+	fetch 2,mem_module_le_rx_data_handle // Attribute handle
+	istore 2,contwu
+	fetch 2,mem_module_le_rx_data_address
+	icopy contr
+	call uart_copy_tx_bytes_fast
+	copy contr,pdata
+	store 2,mem_module_le_rx_data_address
+	branch module_hci_transmit_tx
+
+
+//event opcode 0x09
+module_hci_event_enter_standby_mode:
+	jam HCI_EVENT_STANDBY_REP,mem_module_uart_opcode
+module_hci_event_enter_standby_mode_len0:
+	setarg 0
+	call module_hci_prepare_tx
+	branch module_hci_transmit_tx
+
+
+//event opcode 0x0a
+module_hci_event_status_res:
+	jam HCI_EVENT_STATUS_RES,mem_module_uart_opcode
+	setarg 1
+	call module_hci_prepare_tx
+	
+	call module_hci_read_bt_status
+	
+	fetch 2,mem_ui_state_map	
+	arg UI_STATE_BT_HID_CONN,queue
+	qisolate1 pdata
+	setflag true,3,temp
+
+	arg UI_STATE_BLE_CONNECTED,queue
+	qisolate1 pdata
+	setflag true,5,temp	
+	
+	fetch 1,mem_ui_state_map
+	arg UI_STATE_BT_SPP_CONN,queue
+	qisolate1 pdata
+	setflag true,4,temp	
+	
+	istoret 1,contwu
+	branch module_hci_transmit_tx
+
+//	temp: bit0 3.0 inquiry;bit1 3.0 scan;bit2 ble adv;
+
+module_hci_read_bt_status:
+	arg 0,temp
+	fetch 1,mem_scan_mode
+	arg inq_scan_mode,queue
+	qisolate1 pdata
+	setflag true,0,temp
+	arg page_scan_mode,queue
+	qisolate1 pdata
+	setflag true,1,temp	
+
+	fetch 1,mem_le_adv_enable
+	arg 0,queue
+	qisolate1 pdata
+	setflag true,2,temp	
+	rtn
+
+
+//event opcode 0x0d
+module_hci_event_store_device:
+	jam HCI_EVENT_NVRAM_REP,mem_module_uart_opcode
+	fetch 1,mem_nv_data_number
+	mul32 pdata,34,pdata
+	icopy loopcnt
+	call module_hci_prepare_tx
+	fetch 2,mem_nv_data_ptr
+	icopy contr
+	call uart_copy_tx_bytes_fast
+	branch module_hci_transmit_tx
+
+
+//event opcode 0x0e
+module_hci_event_gkey_generate:
+	jam HCI_EVENT_GKEY,mem_module_uart_opcode
+	setarg 4
+	call module_hci_prepare_tx
+	fetch 4,mem_gkey
+	istore 4,contwu
+	branch module_hci_transmit_tx
+
+
+//event opcode 0x0f
+module_hci_event_invalid_packet:
+	jam HCI_EVENT_INVALID_PACKET,mem_module_uart_opcode
+	fetch 2,core_uart_rxitems
+	arg 0x40,temp
+	call not_greater_than
+	copy pdata,rega
+	copy pdata,loopcnt
+	call uarta_prepare_rx
+	arg mem_module_rx_error_data_buffer,contw
+	call uart_copy_rx_bytes_fast
+	copy rega,pdata
+	copy rega,loopcnt
+	call module_hci_prepare_tx
+	arg mem_module_rx_error_data_buffer,contr
+	call uart_copy_tx_bytes_fast
+	branch module_hci_transmit_tx
+
+
+//event opcode 0x10
+module_hci_event_passkey_entry_mode:
+	jam  HCI_EVENT_GET_PASSKEY,mem_module_uart_opcode
+	branch module_hci_event_enter_standby_mode_len0
+
+
+//event opcode 0x11
+module_hci_event_le_tk:
+	jam HCI_EVENT_LE_TK,mem_module_uart_opcode
+	setarg 4
+	call module_hci_prepare_tx
+	fetch 4,mem_le_tk
+	istore 4,contwu
+	branch module_hci_transmit_tx
+
+
+//event opcode 0x14
+module_hci_event_le_pairing_fail:
+	arg FLAG_BLE_PAIRING_FAIL,rega
+	branch module_hci_event_pairing_completed
+
+module_hci_event_le_pairing_success:
+	arg FLAG_BLE_PAIRING_SUCCESS,rega
+	branch module_hci_event_pairing_completed
+
+module_hci_event_bt_pairing_fail:
+	arg FLAG_BT_PAIRING_FAIL,rega
+	branch module_hci_event_pairing_completed
+
+module_hci_event_bt_pairing_success:
+	arg FLAG_BT_PAIRING_SUCCESS,rega
+
+module_hci_event_pairing_completed:
+	jam 0,mem_flag_mode_ssp_pin
+	jam HCI_EVENT_LE_PAIRING_STATE,mem_module_uart_opcode
+	setarg 2
+	call module_hci_prepare_tx
+	copy rega,pdata
+	istore 2,contwu
+	branch module_hci_transmit_tx
+
+
+//event opcode 0x15
+module_hci_event_pause_enc:
+	arg FLAG_EVENT_PAUSE_ENC,regc
+	branch module_hci_event_enc
+
+module_hci_event_start_enc:
+	arg FLAG_EVENT_START_ENC,regc
+
+module_hci_event_enc:
+	jam HCI_EVENT_LE_ENCRYPTION_STATE,mem_module_uart_opcode
+	setarg 1
+	call module_hci_prepare_tx
+	copy regc,pdata
+	istore 1,contwu
+	branch module_hci_transmit_tx
+
+
+//event opcode 0x1d
+module_hci_event_le_gkey:
+	jam HCI_EVENT_LE_GKEY,mem_module_uart_opcode
+	setarg 4
+	call module_hci_prepare_tx
+	fetch 4,mem_gkey
+	istore 4,contwu
+	branch module_hci_transmit_tx
+
+
+//event opcode 0x29
+//input:temp uuid number
+module_hci_event_uuid_handle:
+	storet 2,mem_temp
+	jam HCI_EVENT_UUID_HANDLE,mem_module_uart_opcode
+	setarg 2
+	call module_hci_prepare_tx
+	fetcht 2,mem_temp
+	istoret 2,contwu
+	branch module_hci_transmit_tx
+
+
+//event opcode 0x2B
+module_hci_event_le_input_passkey:
+	jam HCI_EVENT_LE_INPUT_GKEY,mem_module_uart_opcode
+	branch module_hci_event_enter_standby_mode_len0
+
+
+//event opcode 0x40
+module_hci_event_le_update_phy:
+	jam HCI_BLE_UPDATE_PHY_EVENT,mem_module_uart_opcode
+	setarg 2
+	call module_hci_prepare_tx
+	fetch 2,mem_context+coffset_le_rx_phy
+	istore 2,contwu
+	branch module_hci_transmit_tx
+
+	
+
+//
+	//module_hci_prepare_tx
+	//function:write hci packet header
+	//input: pdata-----packet length  (1byte)
+	//input: mem_uart_opcode------opcode (1byte)
+	//output:contwu --- pointer to packet payload
+	//use reg: contwu,pdata
+//	
+module_hci_prepare_tx:
+	jam 0x02,mem_module_uart_cmd
+	store 1,mem_module_uart_len
+	storet 8,mem_temp
+	bpatch patch18_0,mem_patch18
+	call module_set_mcu_wake_pin_high_delay
+	fetcht 8,mem_temp
+	call uarta_prepare_tx_register_push
+	fetch 3,mem_module_uart_cmd
+	istore 3,contwu
+	rtn
+
+module_hci_transmit_tx:
+	bpatch patch18_1,mem_patch18
+	branch uarta_send_register_pop
+
+module_set_mcu_wake_pin_high_delay:
+	call module_check_mcu_wake_pin_high
+	rtn true
+module_set_mcu_wake_pin_h_delay:
+	call module_set_mcu_wake_pin_high
+	fetch 4,mem_module_mcu_wake_delay_us
+	rshift2 pdata,pdata
+	rtn blank
+	branch delay
+
+module_set_mcu_wake_pin_high:
+	fetcht 1,mem_module_mcu_wake_pin
+	branch gpio_out_active
+
+module_check_mcu_wake_pin_high:
+	fetcht 1,mem_module_mcu_wake_pin
+	branch gpio_check_active
+
+module_set_mcu_wake_pin_low:
+	fetcht 1,mem_module_mcu_wake_pin
+	branch gpio_out_inactive
+
+
+
+
+
+
+
+//rega is le rx data address
+//regb is le rx data length
+//mem_le_att_handle is write handle
+module_le_receive_data:
+	storer rega,2,mem_module_le_rx_data_address
+	storer regb,2,mem_module_le_rx_data_len
+	fetch 2,mem_le_att_handle
+	store 2,mem_module_le_rx_data_handle
+	call module_check_ble_encrypt_state
+	rtn user
+	
+module_le_receive_data_ok:	
+	fetcht 2,mem_module_le_rx_data_len
+	fetch 1,mem_module_ble_data_uart_max_length
+	call not_greater_than
+	copy pdata,loopcnt
+	copy temp,pdata
+	isub loopcnt,pdata
+	store 2,mem_module_le_rx_data_len
+	call module_hci_event_receive_le_data
+	fetch 2,mem_module_le_rx_data_len
+	rtn blank
+	branch module_le_receive_data_ok
+
+
+
+module_exit_sniff:
+	fetch 2,mem_module_flag
+	rtnbit1 MOUDLE_TASK_UNSNIFF
+	call module_set_unsniff_task_flag	
+	branch app_bt_sniff_exit
+
+
+module_set_lpm_mult_2:
+	jam 2,mem_lpm_mult
+	rtn
+
+
+
+module_bb_event_timer:
+//	branch module_read_vdd_timer
+
+module_read_vdd_timer:
+	fetch 1,mem_module_read_vdd_flag
+	rtn blank
+	fetch 1,mem_module_read_vdd_count
+	rtn blank
+	increase -1,pdata
+	store 1,mem_module_read_vdd_count
+	nrtn blank
+	jam FLAG_MODULE_READ_VDD_COUNT,mem_module_read_vdd_count
+	call enable_adc
+	call vdd_calculate_by_mode
+	div pdata,0x64
+	call get_div_result
+	remainder temp
+	store 1,mem_module_vdd_quotient
+	storet 1,mem_module_vdd_remainder
+	rtn	
+	
+
+module_control_air_flow:
+	call check_uart_tx_buff
+	branch app_l2cap_flow_control_enable,positive
+	branch app_l2cap_flow_control_disable
+
+
+
+module_set_sniff_task_flag:
+	arg MOUDLE_TASK_SNIFF,queue
+	branch module_set_state
+
+module_clear_sniff_task_flag:
+	arg MOUDLE_TASK_SNIFF,queue
+	branch module_clr_state
+
+module_set_unsniff_task_flag:
+	arg MOUDLE_TASK_UNSNIFF,queue
+	branch module_set_state
+
+module_clear_unsniff_task_flag:
+	arg MOUDLE_TASK_UNSNIFF,queue
+	branch module_clr_state
+
+module_set_le_tx_data_flag:
+	arg MODULE_FLAG_BLE_DATA_FINISH,queue
+	branch module_set_state
+	
+module_clear_le_tx_data_flag:
+	arg MODULE_FLAG_BLE_DATA_FINISH,queue
+	branch module_clr_state
+
+module_clr_state:
+	fetch 2,mem_module_flag
+	qset0 pdata
+	store 2,mem_module_flag
+	rtn
+
+module_set_state:
+	fetch 2,mem_module_flag
+	qset1 pdata
+	store 2,mem_module_flag
+	rtn
+	
+
+
+
+mouse_init:
+	call enable_authrom
+	call mouse_setting_config
+	call mouse_init_sunt
+	call mouse_dpi_config
+	rtn wake
+	call mouse_drawing_optima_init
+	call mouse_cb_fuction
+	call mouse_sensor_powerdown
+	fetch 1,mem_usb_addr
+	rtnbit1 7
+mouse_init_wireless:	
+	fetch 2,mem_ui_state_map
+	bbit1 UI_STATE_BTN_DOWN,mouse_start_discovery
+	call mouse_check_select_device_by_switch
+	branch mouse_start_work
+
+
+mouse_cb_fuction:
+	setarg mouse_24g_before_lpm_sleep
+	store 2,mem_cb_before_lpm_sleep
+	setarg mouse_24g_package_data
+	store 2,mem_cb_24g_transmit_data
+	setarg mouse_24g_search_dongle
+	store 2,mem_cb_24g_search_receiver
+	setarg mouse_lpm_before_common
+	store 2,mem_cb_24g_lpm_before
+	setarg mouse_le
+	store 2,mem_cb_le_process
+	setarg mouse_bt
+	store 2,mem_cb_bt_process
+	setarg mouse_process_lpm_before
+	store 2,mem_cb_before_lpm
+	setarg mouse_priority_bb_event
+	store 2,mem_cb_bb_event_process
+	setarg mouse_idle
+	store 2,mem_cb_idle_process
+	setarg mouse_before_hibernate
+	store 2,mem_cb_before_hibernate
+	setarg mouse_le_bb_event_connect_complete
+	store 2,mem_cb_att_write	
+	setarg mouse_bb_event_timer
+	store 2,mem_cb_event_timer
+	setarg mouse_spi_write_flash_cb
+	store 2,mem_cb_spi_flash_write_complate
+	setarg mouse_lpm_check_wake_lock
+	store 2,mem_cb_check_wakelock
+	setarg mouse_le_transmit
+	store 2,mem_cb_ble_transmit
+	setarg mouse_bt_slave_match
+	store 2,mem_cb_bt_slave_match
+	setarg mouse_set_lpm_mult
+	store 2,mem_cb_bt_set_mult
+	rtn
+
+
+mouse_setting_config:
+	rtn wake
+	call g24_transmit_init
+	call g24_chmap_param_init
+	call mouse_gpio_init
+	call mouse_param_init
+	call le_set_config_fixed_ltk
+	call le_set_justwork
+	call le_set_fixed_ltk
+	call le_set_config_read_authentication
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit1 MOUSE_ENABLE_EEPROM,mouse_load_eeprom_info_check
+	bbit1 MOUSE_ENABLE_FLASH,mouse_load_flash_info_check
+	rtn
+	
+mouse_xtal_init:
+	jam 0x08,mem_fcomp_div		// 0x08--16M 
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit1 MOUSE_ENABLE_16M
+	jam 0x18,mem_fcomp_div		// 0x18--24M
+	rtn
+
+mouse_default_init:
+	jam 0xff,mem_usb_offline_check_gpio
+	jam 0xff,mem_ui_button_gpio
+	jam 0x1e,mem_ui_button_timeout
+	jam 5,mem_store_information_delay_timer_init
+
+	setarg mem_mouse_led_type
+	store 2,mem_ui_led_struct_ptr
+	jam 1,mem_ui_led_struct_num
+
+	setarg mem_mouse_rssi_signal_buf
+	store 2,mem_rssi_signal_buf_ptr
+
+	jam 1,mem_24g_data_type
+	
+	fetch 2,mem_mouse_discovery_timeout
+	store 2,mem_discovery_timeout
+
+	fetch 2,mem_mouse_24g_pair_timeout_init
+	store 2,mem_24g_pair_timeout_init
+
+	fetch 1,mem_mouse_24g_reconn_timeout_init
+	store 2,mem_24g_reconn_timeout_init
+
+	fetch 5,mem_rssi_dis_min_24g_init
+	store 5,mem_rssi_dis_min_24g
+
+	fetch 1,mem_mouse_24g_pair_tx_power
+	store 1,mem_24g_pair_tx_power
+
+
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	nrtn blank
+
+	
+// mouse.dat no configuration parameters
+	setarg 0x020800					//enable poweron direct  & 24g
+	store 3,mem_mouse_flag			
+	setarg 0x800700					// adc led use mode led
+	istore 3,contw
+	setarg 0x0300
+	istore 2,contw
+ 
+	jam 1,mem_lpm_mode
+	fetch 1,mem_mouse_enable_flag
+	isolate1 MOUSE_ADC_ENABLE,pdata
+	call mouse_adc_read_enable,true
+
+	fetch 1,mem_mouse_enable_flag
+	isolate1 MOUSE_24G_250HZ_ENABLE,pdata
+	call mouse_24g_set_250Hz,true
+	fetch 1,mem_mouse_enable_flag
+	isolate1 MOUSE_SEARCH_DONGLE_ENABLE,pdata
+	call mouse_24g_search_dongle_enable,true
+	fetch 1,mem_mouse_enable_flag
+	isolate1 MOUSE_CLK_16M_ENABLE,pdata
+	call mouse_16M_enable,true
+	fetch 1,mem_mouse_enable_flag
+	isolate1 MOUSE_DPI_4_LEVEL_ENABLE,pdata
+	call mouse_dpi_4level_enable,true
+	fetch 1,mem_mouse_enable_flag
+	isolate1 MOUSE_KEYBOARD_ENABLE,pdata
+	call mouse_customer_key_enable,true
+	
+	fetch 1,mem_24g_ch_map_update
+	ncall g24_chamap_param_update,blank
+
+	call mouse_xtal_init
+
+	fetch 1,mem_mouse_global_setup
+	and pdata,0x07,temp
+	storet 1,mem_adc_channel
+	rshift3 pdata,pdata
+	and pdata,0x01,temp
+	storet 1,mem_24g_ch_map_update
+	rshift pdata,pdata
+	and pdata,0x03,temp
+	storet 1,mem_adc_config_flag_init
+	rshift2 pdata,pdata
+	and pdata,0x03,pdata
+	call mouse_24g_long_sleep_set
+
+	fetch 1,mem_mouse_global_setup1
+	and pdata,0x03,temp
+	storet 1,mem_sensor_angle_default
+	rshift2 pdata,pdata
+	and pdata,0x03,temp
+	storet 1,mem_sensor_angle_switch
+	rshift2 pdata,pdata
+	and pdata,0x01,temp
+	storet 1,mem_config_sensor_dpi
+	storet 1,mem_mouse_dpi
+	rshift pdata,pdata
+	and pdata,0x01,temp
+	storet 1,mem_24g_disable_fec1
+	rshift pdata,pdata
+	and pdata,0x03,pdata
+	store 1,mem_device_number
+
+	bpatch patch18_2,mem_patch18
+	setarg 0x0b0c0a
+	store 3,mem_lbutton_gpio
+	setarg 0xffffff
+	istore 3,contw
+	setarg 0x0607ff			// clk-07  sdio--06
+	istore 3,contw
+	setarg 0xffffff
+	istore 3,contw
+
+	
+
+	jam 0x0a,mem_adc_read_time_init
+	setarg 0x0064
+	store 2,mem_adc_low_volatage_led_blink_timer
+	call mouse_adc_vol_init	
+
+	setarg 0x1770
+	store 2,mem_mouse_no_data_timeout				// 10min
+	jam 0x14,mem_mouse_device_poweron_timer_count_init	// 2s
+	setarg 0x0190
+	store 2,mem_mouse_low_v_led_blink_time			// 200ms on,200ms off
+	store 2,mem_mouse_dpi_led_blink_time
+	setarg 0x03e8
+	store 2,mem_mouse_disconvey_led_blink_time
+	jam 0x07,mem_rssi_buff_index
+	jam 125,mem_power_ctrl_pac_succ_cnt_init
+	jam TX_POWER_0DB,mem_tx_power
+
+	jam 0x01,mem_24g_fast_conn_enable
+	setarg 0x0f0f
+	store 2,mem_24g_fast_conn_addr
+	store 2,mem_24g_fast_conn_addr+2
+	
+//ble
+	fetch 2,mem_lap
+	store 2,mem_lap+4
+
+	arg mem_le_lap,contw
+	arg mem_lap,contr
+	arg 0x06,loopcnt
+	call reverse_byte
+	
+	jam 0x20,mem_lpm_mult_init
+	jam 0x34,mem_device1_type
+	fetch 6,mem_le_lap
+	store 6,mem_device1_locall_addr
+	jam 0x02,mem_mouse_bluetooth_type
+
+	jam 0x1f,mem_le_adv_data_len
+	
+	setarg 0x050102
+	store 3,mem_le_adv_data
+	setarg 0x120303
+	istore 3,contw
+	setarg 0x190318
+	istore 3,contw
+	setarg 0x03c2
+	istore 2,contw
+
+	setarg 0x06ff06
+	store 3,mem_le_adv_swift_pair
+	setarg 0x000300
+	istore 3,contw
+	setarg 0x090c80
+	istore 3,contw
+
+	setarg 0x355442		// BT5.2 Mouse
+	istore 3,contw
+	setarg 0x20322e
+	istore 3,contw
+	setarg 0x756f4d
+	istore 3,contw
+	setarg 0x6573
+	istore 2,contw
+
+	jam 0x1f,mem_le_scan_data_len
+	arg mem_le_adv_swift_pair+7,contr
+	arg mem_le_scan_data,contw
+	arg 13,loopcnt
+	call memcpy
+
+	fetch 1,mem_le_scan_data
+	increase -1,pdata
+	store 1,mem_le_name_len
+
+	arg mem_le_scan_data+2,contr
+	arg mem_le_name_len+1,contw
+	arg 11,loopcnt
+	call memcpy
+
+	setarg 0x070007
+	store 3,mem_le_interval_min
+	setarg 0x002000
+	istore 3,contw
+	setarg 0x012c
+	istore 2,contw
+
+	setarg 0x181203
+	store 3,mem_le_adv_ind
+
+	setarg 0x0000ff
+	store 3,mem_le_adv_direct_ind
+
+	setsect 0,0xfb
+	setsect 1,0x2c212
+	setsect 2,0x800f
+	setsect 3,0x21
+	store 8,mem_local_rx_max_octets
+
+	jam 0x07,mem_le_adv_channel_map
+
+	setarg 0x0015
+	store 2,mem_le_keyboard_handle
+	setarg 0x0019
+	store 2,mem_le_notify_handle
+	setarg 0x001d
+	store 2,mem_le_multimedia_handle
+	setarg 0x0021
+	store 2,mem_le_systemctrl_handle
+	setarg 0x0030
+	store 2,mem_le_battery_level_handle
+	setarg 0x0022
+	store 2,mem_le_pairing_handle
+
+	jam 0x96,mem_le_battery_level_updata_timer_init
+
+// 24g
+	jam MODE_24G_DEVICE,mem_device_flag
+	call g24_enable_1M
+	call g24_pair_param_init
+	
+	setarg 0x604800
+	store 3,mem_24g_enter_hibernate
+	setarg 0x012c
+	store 2,mem_24g_long_sleep_param_update_timer_init
+	setarg 0x0050
+	store 2,mem_24g_transmit_by_interrupt_exit_count_init
+	setarg 0x05
+	store 2,mem_mouse_24g_power_on_fast_conn_timer	// 200ms
+	setarg 0x0708									//search dongle 3min
+	store 2,mem_mouse_24g_search_dongle_time_init
+
+	
+// sensor
+	setarg 0x010403
+	store 3,mem_mouse_dpi_seting
+	setarg 0x2a2002
+	istore 3,contw
+	setarg 0x22153f
+	istore 3,contw
+	setarg 0x114433
+	istore 3,contw
+
+	setarg 0x265a09
+	store 3,mem_sensor_3212_init
+	setarg 0x041934
+	istore 3,contw
+	setarg 0x0009
+	istore 2,contw
+	setarg 0xffff
+	istore 2,contw
+
+	setarg 0x0d5a09
+	store 3,mem_sensor_3205_init
+	setarg 0xed1d10
+	istore 3,contw
+	setarg 0x807d
+	istore 2,contw
+	setarg 0xffff
+	istore 2,contw
+
+	setarg 0xff5a09
+	store 3,mem_sensor_8650_init
+	setarg 0x40ab27
+	istore 3,contw
+	setarg 0x9b56b3
+	istore 3,contw
+	setarg 0x12a8e6
+	istore 3,contw
+	setarg 0xbec0a9
+	istore 3,contw
+	setarg 0xafa5e6
+	istore 3,contw
+	setarg 0xa121a0
+	istore 3,contw
+	setarg 0x10b802
+	istore 3,contw
+	setarg 0xa70bb9
+	istore 3,contw
+	setarg 0xd0b5ff
+	istore 3,contw
+	setarg 0xff00b6
+	istore 3,contw
+	setarg 0x000900
+	istore 3,contw
+	setarg 0xffff
+	istore 2,contw
+
+	setarg 0x0d5a09
+	store 3,mem_sensor_ka8ul_init
+	setarg 0xc50e10
+	istore 3,contw
+	setarg 0x109a5b
+	istore 3,contw
+	setarg 0x421138
+	istore 3,contw
+	setarg 0x412828
+	istore 3,contw
+	setarg 0x394923
+	istore 3,contw
+	setarg 0x4bb04a
+	istore 3,contw
+	setarg 0x904ca0
+	istore 3,contw
+	setarg 0x09704d
+	istore 3,contw
+	setarg 0xffff00
+	istore 3,contw
+
+	setarg 0x46a509
+	store 3,mem_sensor_ka8g2_init
+	setarg 0x101934
+	istore 3,contw
+	setarg 0x690760
+	istore 3,contw
+	setarg 0x207d04
+	istore 3,contw
+	setarg 0x09007e
+	istore 3,contw
+	setarg 0x220d00
+	istore 3,contw
+	setarg 0xff220e
+	istore 3,contw
+	jam 0xff,mem_sensor_ka8g2_init+21
+		
+	setarg 0x0b5a09
+	store 3,mem_sensor_poweron_init
+	setarg 0x0009f3
+	istore 3,contw
+	setarg 0xffff
+	istore 2,contw
+
+	//sys init
+	branch app_sys_param_init
+	
+
+mouse_param_init:
+	setarg MOUSE_BT_SDP_ADDR				//bt sdp start address
+	store 2,mem_ui_uuid_table
+	setarg MOUSE_BLE_ATT_LIST_ADDR				//ble attlist start address
+	store 2,mem_ui_le_uuid_table
+	setarg 0x2580
+	store 3,mem_class
+	jam 3,mem_lpm_mult_timeout
+	jam 8,mem_lpm_overhead
+	jam DPI_BUTTON_STATE_UP,mem_select_device_button_statue
+	jam PB_BUTTON_STATE_UP,mem_select_device_button_statue
+	jam COMMBINATION_KEY_STATE_UP,mem_commbination_key_statue	
+	setarg 0x0200
+	store 2,mem_lpm_interval
+	jam 0x17,mem_le_local_mtu
+	jam 0x17,mem_le_remote_mtu
+//===========init spi param==============================
+	setarg 0x0a77
+	store 2,mem_spi_init_clk
+//===========all 16bit uuid==================================
+	setsect 0,0x306
+	setsect 1,0x4440
+	setsect 2,0x10000
+	setsect 3,0x4408
+	store 9,mem_all_uuid_16bits
+	setsect 0,0x1224
+	setsect 1,0x4000
+	setsect 2,0x0
+	istore 5,contw
+//===========features=====================================
+	setsect 0,0x3ffff
+	setsect 1,0x2fe23
+	setsect 2,0x199d9
+	setsect 3,0x20d
+	store 8,mem_features
+//======================================================	
+	setarg mem_le_tx_buffer0_omemalloc
+	store 2,mem_ble_l2cap_tx_buff0_ptr
+	setarg MOUSE_BLE_L2CAP_TXBUFF_SIZE
+	store 2,mem_ble_l2cap_tx_buff_size_ptr
+	
+	call mouse_device_led_all_off
+	call mouse_device_poweron_timer_init
+	call mouse_adc_gpio_mux_init
+
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit0 MOUSE_ENABLE_BT_125Hz,mouse_param_init_intervl_end
+	jam CLASSIC_INTERVAL_7_5MS,mem_sniff_param_interval
+	setarg LE_INTERVAL_7_5MS
+	store 2,mem_le_interval_min
+	store 2,mem_le_interval_min+2
+mouse_param_init_intervl_end:
+	call g24_interval_param_8ms
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit0 MOUSE_ENABLE_24G_250Hz,mouse_24g_short_sleep_set_end
+	call g24_interval_param_4ms
+mouse_24g_short_sleep_set_end:
+	fetch 1,mem_device_flag
+	store 1,mem_device_flag_temp
+	fetch 3,mem_le_lap+3
+	store 3,mem_mouse_le_lap_temp
+	fetch 1,mem_adc_config_flag_init
+	and pdata,0xfe,pdata		// hvin = vinlpm
+	store 1,mem_adc_config_flag_init
+	store 1,mem_adc_config_flag
+	setarg 0
+	store 7,mem_mouse_key
+	fetch 1,mem_ui_button_timeout
+	store 1,mem_bt_discovery_count
+	store 1,mem_select_device_count
+	call le_modified_name
+	branch mouse_sensor_set_angle
+
+
+mouse_start_work:
+	bpatch patch18_3,mem_patch18
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit1 MOUSE_ENABLE_24G_FIRST_AUTO_PAIRING, mouse_24g_first_start_auto_pair_mode
+	fetch 1,mem_device_flag
+	beq MODE_24G_DEVICE,mouse_24g_start_mode
+	call mouse_wakeup_from_power_check	// wake from hibernate :enble user
+	nbranch mouse_buletooth_fast_conn_init,user
+mouse_start_reconnect_device:
+	bpatch patch18_4,mem_patch18
+	arg mem_device1_type,rega
+	fetch 1,mem_device_flag
+	increase -1,pdata
+	mul32 pdata,29,pdata
+	iadd rega,rega
+	ifetch 1,rega
+	store 1,mem_xrecord_mode
+mouse_start_reconnect:	
+	fetch 1,mem_xrecord_mode
+	beq REC_3_MODE,mouse3_0_check_reconn_target
+	beq REC_4_MODE,mouse4_0_check_reconn_target
+	branch mouse_start_discovery
+
+
+mouse_wakeup_from_power_check:
+	bpatch patch18_5,mem_patch18
+	disable user
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit0 MOUSE_ENABLE_WAKEUP_FROM_POWER,mouse_wakeup_from_power
+	fetch 1,mem_wakup_from_power_flag
+	bbit0 BIT_POWER_ON,mouse_wakeup_from_power
+	enable user		// mouse power on
+mouse_wakeup_from_power:
+	fetch 1,mem_reconn_times_init
+	store 1,mem_reconn_times
+	rtn
+
+
+mouse3_0_check_reconn_target:
+	fetcht 2,mem_mouse_fast_page_to
+	fetch 1,mem_mouse_bluetooth_fast_conn_flag
+	beq 0xff,mouse3_0_check_reconn_target_next
+	fetcht 2,mem_mouse_page_to
+mouse3_0_check_reconn_target_next:	
+	storet 2,mem_page_to
+	fetch 6,mem_hci_plap
+	branch app_bt_start_discovery_short,blank
+	jam 0x17,mem_app_connection_options  //ssp
+	fetch 1,mem_ssp_enable
+	nbranch app_bt_start_reconnect,blank
+	jam 0x04,mem_app_connection_options  //no ssp
+	branch app_bt_start_reconnect
+	
+mouse4_0_check_reconn_target:
+	jam 1,mem_mouse_le_reconnect_flag
+	fetcht 1,mem_mouse_fast_direct_timeout
+	fetch 1,mem_mouse_bluetooth_fast_conn_flag
+	beq 0xff,mouse4_0_check_reconn_target_next
+	fetcht 1,mem_mouse_direct_timeout
+mouse4_0_check_reconn_target_next:	
+	storet 1,mem_mouse_direct_timer
+	call app_lpm_mult_disable
+	fetch 3,mem_le_adv_direct_ind
+	store 3,mem_le_adv_data+4
+	call mouse_le_check_adv_flag
+	setarg ADV_FLAG_BREDR_NOT_SUPPORTED
+	istore 1,contr
+	arg mem_le_scan_data,contr
+	call mouse_le_adv_data_update
+	branch check_51cmd_adv
+
+
+
+mouse_lpm_check_wake_lock:
+	bmark1 mark_24g,app_get_lpm_wake_lock
+	fetch 1,mem_mouse_clear_sensor_data_flag
+	branch app_get_lpm_wake_lock,blank
+	fetch 1,mem_mouse_le_conn_param_reject
+	beq LE_LPM_DISABLE,app_get_lpm_wake_lock
+	fetch 2,mem_sdp_remote_cid
+	nbranch app_get_lpm_wake_lock,blank
+	fetch 1,mem_mouse_wheel_trigger
+	nbranch app_get_lpm_wake_lock,blank
+	branch app_put_lpm_wake_lock
+
+mouse_delay_enter_hibernata:
+	fetch 1,mem_mouse_direct_timeout
+	store 1,mem_mouse_bluetooth_reconnect_timeout
+	rtn
+
+
+mouse_app_enter_hibernate:
+	bpatch patch18_6,mem_patch18
+	call mouse_sensor_reset
+	call mouse_sensor_powerdown
+	branch app_enter_hibernate
+
+	
+mouse_before_hibernate:
+	bpatch patch18_7,mem_patch18
+	fetch 4,core_lpm_ctrl
+	set1 26,pdata
+	store 4,core_lpm_reg
+	call lpm_write_ctrl
+	call disable_authrom
+	call mouse_device_led_all_off
+	call mouse_before_hibernate_wheel_gpio_set
+	call mouse_setgpio_hibernate
+	call mouse_flash_power_down
+	fetcht 1,mem_sensor_motion_gpio
+	branch gpio_clr_wake
+
+
+mouse_setgpio_hibernate:
+	bpatch patch19_0,mem_patch19
+	call mouse_set_sdio_high
+	call clear_wake
+	call mouse_lpm_before_common
+	call mouse_gpio_pu_idle
+	fetcht 1,mem_mouse_reuse_2ice_gpio
+	call mouse_gpio_config_input_pu
+	branch mouse_gpio_set_high_impedance
+
+//set all unused gpio to pull up mode to save power	
+mouse_gpio_pu_idle:
+	arg core_gpio_conf,contr
+	arg 19,loopcnt
+mouse_gpio_pu_idle_loop:
+	ifetch 1,contr
+	nbranch mouse_gpio_pu_idle_configured,blank
+	setarg 0x40
+	add contr,-1,contw
+	istore 1,contw
+mouse_gpio_pu_idle_configured:
+	loop mouse_gpio_pu_idle_loop
+	rtn
+	
+mouse_process_lpm_before:
+	rtnmark1 mark_24g
+	call mouse_lpm_before_common
+	fetch 1,mem_lpm_current_mult
+	nrtn blank					// 7.5ms, no gpio wakeup
+	branch gpio_clr_wake
+
+mouse_lpm_before_common:
+	bpatch patch19_1,mem_patch19
+	
+	call mouse_wheel_check
+	fetch 1,mem_mouse_sensor_sclk_gpio		//set sdio high
+ 	arg gpcfg_output_high,temp
+ 	call gpio_config_function_int
+	call twspi_disable
+	
+	fetcht 1,mem_lbutton_gpio
+	call gpio_set_wake
+	fetcht 1,mem_rbutton_gpio
+	call gpio_set_wake
+	fetcht 1,mem_mbutton_gpio
+	call gpio_set_wake
+
+	fetcht 1,mem_bk_button_gpio
+	call gpio_set_wake
+	fetcht 1,mem_fw_button_gpio
+	call gpio_set_wake
+	fetcht 1,mem_dpi_button_gpio
+	call gpio_set_wake
+	fetcht 1,mem_config_select_device_button_gpio
+	call gpio_set_wake
+
+	fetcht 1,mem_customer_key_gpio
+	call gpio_set_wake
+	
+	fetcht 1,mem_whee_a_data_gpio
+	call gpio_set_wake_by_current_state
+	fetcht 1,mem_whee_b_data_gpio
+	call gpio_set_wake_by_current_state
+	fetcht 1,mem_whee_ta_data_gpio
+	call gpio_set_wake_by_current_state
+	fetcht 1,mem_whee_tb_data_gpio
+	call gpio_set_wake_by_current_state
+	fetcht 1,mem_sensor_motion_gpio
+	branch gpio_set_wake
+
+
+//short mult: no key 
+mouse_set_mult:
+	fetch 2,mem_ui_state_map
+	bbit1 UI_STATE_BLE_CONNECTED,mouse_set_ble_mult
+	fetch 2,mem_ui_state_map
+	bbit1 UI_STATE_BT_CONNECTED,mouse_set_bt_mult
+	rtn
+mouse_set_ble_mult:
+	copy rega,pdata
+	nbranch le_set_config_short_mult,blank
+	branch le_clr_config_short_mult
+mouse_set_bt_mult:
+	copy rega,pdata
+	nbranch classic_bt_set_mult_short_flag,blank
+	branch classic_bt_clr_mult_short_flag
+
+
+	
+	
+	
+mouse_adc_gpio_set:
+	fetch 1,mem_adc_config_flag
+	rtnne ADC_CONFIG_GPIO
+mouse_adc_gpio_check_output:
+	bpatch patch19_2,mem_patch19
+	fetcht 1,mem_adc_channel
+	sub temp,3,null
+	branch mouse_adc_gpio_4_7_set,positive
+	increase 5,temp
+	storet 1,mem_adc_channel_gpio
+mouse_adc_gpio_set_next:
+	copy temp,rega
+	call gpio_get_config
+	beq gpcfg_output_high,mouse_set_24g_led_statue
+	call mouse_clear_24g_led_statue
+	copy rega,temp
+	branch gpio_set_high_impedance
+
+mouse_adc_gpio_4_7_set:
+	increase 4,temp
+	storet 1,mem_adc_channel_gpio
+	branch mouse_adc_gpio_set_next
+
+mouse_adc_vol_init:
+	fetch 1,mem_adc_config_flag_init
+	beq ADC_CONFIG_GPIO,mouse_adc_gpio_vol_init
+	beq ADC_CONFIG_VINLPM,mouse_adc_gpio_vinlpm_init
+	jam ADC_CONFIG_VINLPM,mem_adc_config_flag_init
+	setarg 0x2c0172		// 0x0172--3.7V  0x012c--3.0V  0x0140--3.2V  0x014a--3.3V
+	store 3,mem_mouse_vdd_full_vol
+	setarg 0x014001
+	istore 3,contw
+	rtn
+mouse_adc_gpio_vol_init:	
+	setarg 0x5d0099		// 0x0099--1.5V   0x005d--0.9V  0x0068--1.0V  0x0071--1.1V
+	store 3,mem_mouse_vdd_full_vol
+	setarg 0x007100
+	istore 3,contw
+	rtn
+mouse_adc_gpio_vinlpm_init:
+	setarg 0xc8012c		// 0x012c--3.0V  0x00c8--2.0V  0x00dc--2.2V
+	store 3,mem_mouse_vdd_full_vol
+	setarg 0x00dc00
+	istore 3,contw
+	rtn
+	
+
+
+mouse_adc_gpio_mux_init:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit0 MOUSE_ENABLE_ADC
+	jam MOUSE_ADC_CHECK_MULTIPLE,mem_adc_mux_status
+	rtnbit1 MOUSE_ENABLE_DPI_KEY_CONNECT_ADC
+	rtnbit1 MOUSE_ENABLE_SELECT_DEVICE_BY_SWITCH_ADC
+	jam MOUSE_ADC_CHECK_BATTERY_ONLY,mem_adc_mux_status
+	rtn
+
+mouse_adc_read_interval:	
+	fetch 1,mem_adc_read_timer
+	increase 1,pdata
+	store 1,mem_adc_read_timer
+	fetcht 1,mem_adc_read_time_init	//1s read adc
+	isub temp,null
+	rtn
+
+
+mouse_adc_read:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit0 MOUSE_ENABLE_ADC
+	call mouse_adc_gpio_set
+	fetch 1,mem_adc_mux_status
+	branch mouse_adc_read_battery,blank
+	fetch 1,mem_adc_config_flag
+	beq ADC_CONFIG_GPIO,mouse_adc_read_gpio_mux_start	// gpio + dpi/switch
+	jam MOUSE_ADC_CHECK_VINLPM_MULTIPLE,mem_adc_mux_status
+	call mouse_adc_read_interval					// vinlpm + dpi/switch
+	branch  mouse_adc_read_gpio, positive
+	call mouse_adc_read_vinlpm
+	branch mouse_adc_read_start
+
+mouse_adc_read_gpio_mux_start:
+	jam MOUSE_ADC_CHECK_GPIO_MULTIPLE,mem_adc_mux_status
+	branch mouse_adc_read_start
+
+mouse_adc_read_gpio:
+	call mouse_adc_gpio_check_output
+	jam ADC_CONFIG_GPIO,mem_adc_config_flag
+	fetch 1,mem_24g_device_led_status
+	ncall mouse_adc_read_vinlpm,blank
+	branch mouse_adc_read_start
+	
+mouse_adc_read_vinlpm:
+	jam 0,mem_adc_read_timer
+	fetch 1,mem_adc_config_flag_init
+	store 1,mem_adc_config_flag
+	rtn	
+	
+mouse_adc_read_battery:		// only get battery
+	fetch 1,mem_adc_config_flag
+	bne ADC_CONFIG_GPIO,mouse_adc_read_battery_start
+	fetch 1,mem_24g_device_led_status
+	nrtn blank
+mouse_adc_read_battery_start:
+	call mouse_adc_read_interval
+	nrtn positive
+mouse_adc_read_start:
+	bpatch patch19_3,mem_patch19
+	fetch 1,mem_24g_device_led_status
+	nrtn blank
+	jam 0,mem_adc_read_timer
+	call enable_adc
+	call vdd_calculate_by_mode
+	store 2,mem_mouse_vdd_now_vol
+	fetch 1,mem_adc_config_flag
+	bne ADC_CONFIG_GPIO, mouse_adc_data_process
+	fetcht 2,mem_mouse_vdd_now_vol	// BAT= 1.5V, R = 200k, a = a*1.8
+	mul32 temp,8,pdata
+	div pdata,10
+	call get_div_result
+	iadd temp,pdata
+	store 2,mem_mouse_vdd_now_vol
+mouse_adc_data_process:	
+	arg mem_mouse_vdd_calculate_set,rega
+	call mouse_adc_bat_percent_lowpower_out
+	fetch 1,mem_adc_power_flag
+	bbit1 2,mouse_adc_button_press
+	bbit1 1,mouse_power_down
+	bbit0 0,mouse_adc_no_low_voltage
+	jam 1,mem_mouse_adc_last_low_voltage_flag
+	branch mouse_adc_low_voltage
+	
+mouse_adc_low_voltage:
+	arg MOUSE_LOW_VOLTAGE_FLAG,queue
+	branch mouse_enable_function_flag
+mouse_adc_no_low_voltage:
+	arg MOUSE_LOW_VOLTAGE_FLAG,queue
+	call mouse_disable_function_flag
+	jam 12,mem_adc_low_volatage_led_timer_count
+	fetch 1,mem_mouse_adc_last_low_voltage_flag
+	rtn blank
+	jam 0,mem_mouse_adc_last_low_voltage_flag
+	fetcht 1,mem_config_low_voltage_alarm_gpio
+	branch mouse_led_off
+
+
+
+mouse_adc_bat_percent_lowpower_out:
+	bpatch patch19_4,mem_patch19
+	ifetch 8,rega
+	store 8,mem_pdatatemp
+	fetch 1,mem_adc_mux_status
+	beq MOUSE_ADC_CHECK_BATTERY_ONLY,mouse_adc_bat_percent_lowpower_out_battery
+	beq MOUSE_ADC_CHECK_GPIO_MULTIPLE,mouse_adc_bat_percent_lowpower_out_gpio_multiple
+	beq MOUSE_ADC_CHECK_VINLPM_MULTIPLE,mouse_adc_bat_percent_lowpower_out_vinlpm_multiple
+mouse_adc_bat_percent_lowpower_out_gpio_multiple:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit0 MOUSE_ENABLE_DPI_KEY_CONNECT_ADC,mouse_adc_bat_percent_lowpower_out_gpio_switch
+	fetch 2,mem_pdatatemp+6		               	//now voltage
+	fetcht 2,mem_mouse_vdd_button_press_vol	// button press check
+	isub temp,null
+	nbranch mouse_adc_set_button_press_flag,positive
+	
+mouse_adc_bat_percent_lowpower_out_gpio_switch:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit0 MOUSE_ENABLE_SELECT_DEVICE_BY_SWITCH_ADC,mouse_adc_bat_percent_lowpower_out_battery
+	jam 0,mem_mouse_adc_button_press_flag
+	fetch 2,mem_pdatatemp+6				    	        //now voltage	
+	fetcht 2,mem_mouse_vdd_switch_gnd_24g_vol	// switch mode check
+	isub temp,null
+	nbranch mouse_select_24gdevice,positive
+	call mouse_select_btdevice
+	branch mouse_adc_bat_percent_lowpower_out_battery
+
+mouse_select_24gdevice:
+	call mouse_check_select_24gdevice
+	branch mouse_adc_bat_percent_lowpower_out_battery
+
+
+mouse_adc_bat_percent_lowpower_out_battery:	
+	call mouse_adc_clear_button_press_flag
+	call adc_clear_no_power_flag
+	call adc_clear_low_power_flag
+	fetch 2,mem_pdatatemp+6
+	fetcht 2,mem_pdatatemp+2	        //shutdown voltage
+	isub temp,null
+	ncall adc_set_no_power_flag,positive
+
+	fetcht 2,mem_pdatatemp+4		//low voltage
+	isub temp,null
+	ncall adc_set_low_power_flag,positive
+
+mouse_adc_bat_level_set:
+	fetch 2,mem_pdatatemp+6		//now voltage	
+	fetcht 2,mem_pdatatemp		//full voltage
+	isub temp,null
+	branch mouse_adc_bat_level_100_percent,positive		// now >= full
+	fetcht 2,mem_pdatatemp+2	        //shutdown voltage
+	isub temp,pdata
+	nbranch mouse_adc_bat_level_0_percent,positive		// now < shutdown
+	branch mouse_adc_bat_level_0_percent,blank			// now = shutdown
+	mul32 pdata,100,rega								// (now - shutdown)*100 /(full - shutdown)
+	fetch 2,mem_pdatatemp
+	fetcht 2,mem_pdatatemp+2
+	isub temp,temp
+	copy rega,pdata
+	idiv temp
+	call get_div_result
+	store 1,mem_le_battery_level_percentage
+	rtn
+
+mouse_adc_bat_level_100_percent:
+	jam 100,mem_le_battery_level_percentage
+	rtn
+mouse_adc_bat_level_0_percent:	
+	jam 0,mem_le_battery_level_percentage
+	rtn
+
+	
+mouse_adc_bat_percent_lowpower_out_vinlpm_multiple:
+	fetch 1,mem_adc_config_flag
+	beq ADC_CONFIG_GPIO,mouse_adc_bat_percent_lowpower_out_gpio_multiple
+	branch mouse_adc_bat_percent_lowpower_out_battery
+	
+
+mouse_adc_set_button_press_flag:
+	fetcht 1,mem_adc_power_flag
+	set1 2,temp
+	storet 1,mem_adc_power_flag
+	rtn	
+
+mouse_adc_clear_button_press_flag:
+	fetcht 1,mem_adc_power_flag
+	set0 2,temp
+	storet 1,mem_adc_power_flag
+	rtn		
+
+mouse_adc_button_press:
+	jam 1,mem_mouse_adc_button_press_flag
+	rtn
+
+mouse_power_down:
+	call mouse_device_led_all_off
+	branch mouse_app_enter_hibernate
+	
+	
+
+
+mouse_gpio_init:
+	fetcht 1,mem_eeprom_wp_gpio
+	call gpio_config_output
+	call usb_offline_check_init
+	fetcht 1,mem_lbutton_gpio
+	call mouse_gpio_config_input_pu
+	fetcht 1,mem_rbutton_gpio
+	call mouse_gpio_config_input_pu
+	fetcht 1,mem_mbutton_gpio
+	call mouse_gpio_config_input_pu
+	fetcht 1,mem_bk_button_gpio
+	call mouse_gpio_config_input_pu
+	fetcht 1,mem_fw_button_gpio
+	call mouse_gpio_config_input_pu
+	fetcht 1,mem_dpi_button_gpio
+	call mouse_gpio_config_input_pu
+
+	fetcht 1,mem_matrix_public_gpio
+	call mouse_gpio_config_input_pu
+
+	fetcht 1,mem_config_select_device_button_gpio
+	call mouse_gpio_config_input_pu
+
+	fetcht 1,mem_customer_key_gpio
+	call mouse_gpio_config_input_pu
+
+	fetcht 1,mem_whee_a_data_gpio
+	call mouse_gpio_config_input_pu
+
+	fetcht 1,mem_whee_b_data_gpio
+	call mouse_gpio_config_input_pu
+
+	fetcht 1,mem_whee_ta_data_gpio
+	call mouse_gpio_config_input_pu
+	fetcht 1,mem_whee_tb_data_gpio
+	call mouse_gpio_config_input_pu
+
+	fetcht 1,mem_sensor_motion_gpio
+	call mouse_gpio_config_input_pu
+
+	fetcht 1,mem_device_switch_gpio
+	call mouse_gpio_config_input_pu
+	
+	fetcht 1,mem_config_low_voltage_alarm_gpio
+	call gpio_config_output
+
+	fetcht 1,mem_config_device_24g_led_gpio
+	call gpio_config_output
+
+	fetcht 1,mem_config_device_bt1_led_gpio
+	call gpio_config_output
+	
+	fetcht 1,mem_config_device_bt2_led_gpio
+	call gpio_config_output
+
+	fetcht 1,mem_dpi_led_gpio
+	call gpio_config_output
+
+	fetcht 1,mem_select_sensor_angle_gpio
+	branch mouse_gpio_config_input_pu
+
+
+mouse_gpio_set_pupd_by_input:
+	sub temp,UI_BUTTON_GPIO_DISABLE,null
+	rtn zero
+	and temp,0x7f,queue
+	fetch 4,core_gpio_in
+	qisolate1 pdata
+	branch mouse_gpio_config_input_pu,true
+	branch mouse_gpio_config_input_pd
+
+	
+mouse_gpio_config_input_pd:
+	set1 gpio_active_bit,temp
+	branch gpio_config_input
+
+mouse_gpio_config_input_pu:
+	set0 gpio_active_bit,temp
+	branch gpio_config_input
+
+mouse_gpio_set_high_impedance:
+	fetch 3,mem_mouse_set_high_impedance_bit_set
+	store 3,mem_pdatatemp
+	arg 20,loopcnt
+	arg 0,temp
+mouse_gpio_set_high_impedance_bit_loop:	
+	fetch 3,mem_pdatatemp
+	isolate1 0,pdata
+	call gpio_set_high_impedance,true
+	fetch 3,mem_pdatatemp
+	lshift pdata,pdata
+	store 3,mem_pdatatemp
+	increase 1,temp
+	loop mouse_gpio_set_high_impedance_bit_loop
+	rtn
+
+
+
+
+
+
+mouse_sensor_spi_init:
+	call mouse_spid_init_pin
+	jam 0x73,mem_spi_init_clk
+//	jam 0x1e,mem_spi_init_delay_time
+	call mouse_spi_init
+	branch twspi_enable
+	
+mouse_spi_write_flash_cb:
+mouse_spi_init:
+	branch spid_init
+	
+mouse_spid_init_pin:
+	fetch 1,mem_mouse_sensor_sclk_gpio
+ 	arg gpcfg_spid_sck,temp
+ 	call gpio_config_function_int
+ 	fetch 1,mem_mouse_sensor_sdio_gpio
+ 	arg gpcfg_spid_sdio,temp
+ 	branch gpio_config_function_int
+
+
+
+
+
+
+
+mouse_motion:
+	bpatch patch19_5,mem_patch19
+	disable user
+	setarg 0
+	store 6,mem_mouse_x
+	call mouse_check_sensor_data
+	call mouse_zwheel
+	call mouse_t_zwheel
+	call mouse_key
+	fetch 1,mem_mouse_key
+	and_into 0x1f,pdata
+	store 1,mem_mouse_key
+	nbranch mouse_drawing_optima_init,user
+	call mouse_drawing_optima
+	branch mouse_no_data_timer_init
+
+	
+
+
+mouse_zwheel:
+	fetch 1,mem_mouse_z_data
+	rtn blank	
+	store 1,mem_mouse_z
+	jam 0,mem_mouse_z_data
+	branch enable_user
+	
+mouse_t_zwheel:
+	fetch 1,mem_mouse_tz_data
+	rtn blank	
+	store 1,mem_mouse_tz
+	jam 0,mem_mouse_tz_data
+	branch enable_user
+
+mouse_wheel_check:
+	call mouse_t_wheel_scan
+	call mouse_wheel_scan
+	fetch 1,mem_wheel_tb_new_pinlevel
+	fetcht 1,mem_wheel_tb_old_pinlevel
+	store 1,mem_wheel_tb_old_pinlevel
+	isub temp,null
+	nbranch app_lpm_wake_auto_lock,zero
+	fetch 1,mem_mwheel_b_new_pinlevel
+	fetcht 1,mem_mwheel_b_old_pinlevel
+	store 1,mem_mwheel_b_old_pinlevel
+	isub temp,null
+	nbranch app_lpm_wake_auto_lock,zero
+	rtn
+mouse_t_wheel_scan:
+	fetch 1,mem_whee_ta_data_gpio
+	rtneq GPIO_DISABLE
+	arg 0,rega
+	fetcht 1,mem_whee_ta_data_gpio
+	call gpio_get_bit
+	setflag true,0,rega
+	fetcht 1,mem_whee_tb_data_gpio
+	call gpio_get_bit
+	setflag true,1,rega
+	copy rega,pdata
+	store 1,mem_wheel_tb_new_pinlevel
+	beq 0x01,mouse_t_wheel_scan_judge1
+	beq 0x02,mouse_t_wheel_scan_judge2
+	fetch 1,mem_wheel_tog
+	bbit1 7,mouse_t_wheel_scan_judge3
+	rtn
+
+mouse_t_wheel_scan_judge1:
+	fetch 1,mem_wheel_tb_old_pinlevel
+	beq 0,mouse_t_wheel_scan_judge11
+	beq 3,mouse_t_wheel_scan_judge12
+	rtn
+mouse_t_wheel_scan_judge2:
+	fetch 1,mem_wheel_tb_old_pinlevel
+	beq 0,mouse_t_wheel_scan_judge21
+	beq 3,mouse_t_wheel_scan_judge22
+	rtn
+mouse_t_wheel_scan_judge11:
+	jam 0x82,mem_wheel_tog
+	rtn
+mouse_t_wheel_scan_judge12:
+	jam 0x81,mem_wheel_tog
+	rtn
+mouse_t_wheel_scan_judge21:
+	jam 0x80,mem_wheel_tog
+	rtn
+mouse_t_wheel_scan_judge22:
+	jam 0x83,mem_wheel_tog
+	rtn
+mouse_t_wheel_scan_judge3:
+	fetch 1,mem_wheel_tog
+	set0 7,pdata
+	store 1,mem_wheel_tog
+	beq 0,mouse_t_wheel_scan_judge30
+	beq 1,mouse_t_wheel_scan_judge31
+	beq 2,mouse_t_wheel_scan_judge32
+	beq 3,mouse_t_wheel_scan_judge33
+	rtn
+mouse_t_wheel_scan_judge30:
+	fetch 1,mem_wheel_tb_new_pinlevel
+	beq 3,mouse_wheel_t_forward
+	rtn
+mouse_t_wheel_scan_judge31:
+	fetch 1,mem_wheel_tb_new_pinlevel
+	beq 0,mouse_wheel_t_forward
+	rtn
+mouse_t_wheel_scan_judge32:
+	fetch 1,mem_wheel_tb_new_pinlevel
+	beq 3,mouse_wheel_t_back
+	rtn
+mouse_t_wheel_scan_judge33:
+	fetch 1,mem_wheel_tb_new_pinlevel
+	beq 0,mouse_wheel_t_back
+	rtn
+mouse_wheel_t_forward:
+	fetch 1,mem_mouse_tz_data
+	increase 1,pdata
+	store 1,mem_mouse_tz_data
+	rtn
+mouse_wheel_t_back:
+	fetch 1,mem_mouse_tz_data
+	increase -1,pdata
+	store 1,mem_mouse_tz_data
+	rtn
+
+
+mouse_wheel_scan:
+	fetch 1,mem_whee_a_data_gpio
+	rtneq GPIO_DISABLE
+	arg 0,rega
+	fetcht 1,mem_whee_a_data_gpio
+	call gpio_get_bit
+	setflag true,0,rega
+	fetcht 1,mem_whee_b_data_gpio
+	call gpio_get_bit
+	setflag true,1,rega
+	copy rega,pdata
+	store 1,mem_mwheel_b_new_pinlevel
+	beq 0x01,mouse_wheel_scan_judge1
+	beq 0x02,mouse_wheel_scan_judge2
+	fetch 1,mem_mwheel_tog
+	bbit1 7,mouse_wheel_scan_judge3
+	rtn
+
+mouse_wheel_scan_judge1:
+	fetch 1,mem_mwheel_b_old_pinlevel
+	beq 0,mouse_wheel_scan_judge11
+	beq 3,mouse_wheel_scan_judge12
+	rtn
+mouse_wheel_scan_judge2:
+	fetch 1,mem_mwheel_b_old_pinlevel
+	beq 0,mouse_wheel_scan_judge21
+	beq 3,mouse_wheel_scan_judge22
+	rtn
+mouse_wheel_scan_judge11:
+	jam 0x82,mem_mwheel_tog
+	rtn
+mouse_wheel_scan_judge12:
+	jam 0x81,mem_mwheel_tog
+	rtn
+mouse_wheel_scan_judge21:
+	jam 0x80,mem_mwheel_tog
+	rtn
+mouse_wheel_scan_judge22:
+	jam 0x83,mem_mwheel_tog
+	rtn
+mouse_wheel_scan_judge3:
+	fetch 1,mem_mwheel_tog
+	set0 7,pdata
+	store 1,mem_mwheel_tog
+	beq 0,mouse_wheel_scan_judge30
+	beq 1,mouse_wheel_scan_judge31
+	beq 2,mouse_wheel_scan_judge32
+	beq 3,mouse_wheel_scan_judge33
+	rtn
+mouse_wheel_scan_judge30:
+	fetch 1,mem_mwheel_b_new_pinlevel
+	beq 3,mouse_wheel_forward
+	rtn
+mouse_wheel_scan_judge31:
+	fetch 1,mem_mwheel_b_new_pinlevel
+	beq 0,mouse_wheel_forward
+	rtn
+mouse_wheel_scan_judge32:
+	fetch 1,mem_mwheel_b_new_pinlevel
+	beq 3,mouse_wheel_back
+	rtn
+mouse_wheel_scan_judge33:
+	fetch 1,mem_mwheel_b_new_pinlevel
+	beq 0,mouse_wheel_back
+	rtn
+mouse_wheel_forward:
+	fetch 1,mem_mouse_z_data
+	increase 1,pdata
+	store 1,mem_mouse_z_data
+	rtn
+mouse_wheel_back:
+	fetch 1,mem_mouse_z_data
+	increase -1,pdata
+	store 1,mem_mouse_z_data
+	rtn
+
+
+mouse_wheel_gpio_set_wake:
+	fetcht 1,mem_whee_a_data_gpio
+	call gpio_set_wake_by_current_state
+	fetcht 1,mem_whee_b_data_gpio
+	call gpio_set_wake_by_current_state
+	fetcht 1,mem_whee_ta_data_gpio
+	call gpio_set_wake_by_current_state
+	fetcht 1,mem_whee_tb_data_gpio
+	branch gpio_set_wake_by_current_state
+	
+mouse_before_hibernate_wheel_gpio_set:
+	fetcht 1,mem_whee_a_data_gpio
+	call mouse_gpio_set_pupd_by_input
+	fetcht 1,mem_whee_b_data_gpio
+	call mouse_gpio_set_pupd_by_input
+	fetcht 1,mem_whee_ta_data_gpio
+	call mouse_gpio_set_pupd_by_input
+	fetcht 1,mem_whee_tb_data_gpio
+	branch mouse_gpio_set_pupd_by_input
+
+mouse_wheel_trigger:
+	fetch 2,mem_mouse_z
+	rtn blank
+	jam 1,mem_mouse_wheel_trigger
+	jam 10,mem_mouse_wheel_trigger_timer
+	rtn
+
+mouse_wheel_trigger_timer:
+	arg mem_mouse_wheel_trigger_timer,regc
+	arg mouse_wheel_trigger_disable,regb
+	branch timer_single_step
+mouse_wheel_trigger_disable:
+	jam 0,mem_mouse_wheel_trigger
+	rtn
+
+
+	
+
+
+
+
+
+mouse_dpi_check:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit1 MOUSE_ENABLE_DPI_KEY_CONNECT_ADC,mouse_dpi_check_connect_adc
+	fetch 1,mem_dpi_button_gpio
+	rtneq GPIO_DISABLE
+	arg 0,rega
+	jam MOUSE_DPI_KEY,mem_mouse_key_temp
+	fetcht 1,mem_dpi_button_gpio
+	call mouse_dpi_key_check
+	store 1,mem_mouse_dpikey_press_status
+	fetch 1,mem_matrix_public_gpio
+	beq GPIO_DISABLE,mouse_3io6key_dpi_check_end
+	call mouse_matrix_public_gpio_reset
+mouse_dpi_check_exit:	
+	copy rega,pdata
+	bbit1 MOUSE_DPI_KEY,mouse_dpi_down
+	branch mouse_dpi_up
+
+mouse_dpi_check_connect_adc:
+	fetch 1,mem_mouse_adc_button_press_flag
+	branch mouse_dpi_up,blank
+	branch mouse_dpi_down
+	
+mouse_dpi_key_check:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit1 MOUSE_ENABLE_DPI_KEY_CONNECT_GND,mouse_dpi_key_connect_gnd
+	fetch 1,mem_mouse_dpikey_press_status
+	copy pdata,regc
+	fetch 1,mem_matrix_public_gpio
+	beq GPIO_DISABLE,mouse_3io6key_check
+	fetch 1,mem_mouse_ghost_flag
+	nbranch mouse_dpi_check_end,blank
+	branch mouse_dpi_key_connect_matrix	
+
+mouse_3io6key_dpi_check_end:
+	fetcht 1,mem_dpi_button_gpio
+	call mouse_gpio_config_input_pu
+	branch mouse_dpi_check_exit
+
+mouse_dpi_check_end:
+	jam DPI_BUTTON_STATE_UP,mem_mouse_dpi_button_state
+	jam 0,mem_mouse_dpikey_press_status
+	rtn
+
+mouse_dpi_key_connect_gnd:
+	fetch 1,mem_mouse_dpikey_press_status
+	branch mouse_check_key_connect_gnd
+
+mouse_dpi_key_connect_matrix:
+	call gpio_get_bit
+	fetcht 1,mem_matrix_public_gpio
+	branch mouse_dpi_key_connect_gnd,true
+	fetcht 1,mem_matrix_public_gpio
+	call gpio_out_active
+	fetcht 1,mem_dpi_button_gpio
+	fetch 1,mem_mouse_dpikey_press_status
+	branch mouse_check_key_connect_gnd
+
+
+mouse_dpi_down:
+	fetch 1,mem_mouse_dpi_button_state
+	rtneq DPI_BUTTON_STATE_DOWN
+	jam DPI_BUTTON_STATE_DOWN,mem_mouse_dpi_button_state
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit1 MOUSE_ENABLE_SELECT_DEVICE_BY_DPI_BUTTON
+	rtnbit1 MOUSE_ENABLE_DPI_KEY_LONG_PRESS_DISCONVERY
+	branch mouse_dpi_process
+
+mouse_dpi_up:
+	fetch 1,mem_mouse_dpi_button_state
+	rtneq DPI_BUTTON_STATE_UP
+	jam DPI_BUTTON_STATE_UP,mem_mouse_dpi_button_state
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit1 MOUSE_ENABLE_SELECT_DEVICE_BY_DPI_BUTTON,mouse_dpi_up_next
+	bbit1 MOUSE_ENABLE_DPI_KEY_LONG_PRESS_DISCONVERY,mouse_dpi_up_next
+	rtn
+mouse_dpi_up_next:	
+	fetch 1,mem_mouse_dpi_long_press_flag
+	nbranch mouse_dpi_up_after_long_press,blank
+	fetch 1,mem_select_device_count
+	ncall mouse_dpi_process,blank
+mouse_dpi_up_after_long_press:	
+	jam 0,mem_mouse_dpi_long_press_flag
+	fetch 1,mem_ui_button_timeout
+	store 1,mem_select_device_count	
+	store 1,mem_bt_discovery_count	
+	rtn
+	
+mouse_dpi_process:	
+	bpatch patch19_6,mem_patch19
+	call mouse_dpi_ghost_check
+	rtn user
+	fetch 1,mem_mouse_dpi
+	increase 1,pdata
+	and pdata,0x03,pdata
+	store 1,mem_mouse_dpi
+	call mouse_seting_dpi
+	branch mouse_store_device_info_delay
+
+mouse_dpi_ghost_check:
+	disable user
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit1 MOUSE_ENABLE_DPI_KEY_CONNECT_GND
+	rtnbit1 MOUSE_ENABLE_DPI_KEY_CONNECT_ADC
+	fetch 1,mem_mouse_lkey_press_status
+	rtn blank
+	fetch 1,mem_mouse_rkey_press_status
+	rtn blank
+	enable user
+	rtn
+	
+
+mouse_dpi_key_check_long_press:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit1 MOUSE_ENABLE_SELECT_DEVICE_BY_DPI_BUTTON,mouse_select_device_by_dpi_button
+	bbit1 MOUSE_ENABLE_DPI_KEY_LONG_PRESS_DISCONVERY,mouse_discovery_by_dpi_button
+	rtn
+
+
+mouse_select_device_by_dpi_button:
+	fetch 1,mem_mouse_dpi_button_state
+	rtnne DPI_BUTTON_STATE_DOWN	
+	arg mem_select_device_count,regc
+	arg mouse_ready_reconnection_by_dpi_button,regb
+	branch timer_single_step
+
+mouse_ready_reconnection_by_dpi_button:
+	jam 1,mem_mouse_dpi_long_press_flag
+	branch mouse_ready_reconnection_by_button
+
+mouse_discovery_by_dpi_button:
+	fetch 1,mem_mouse_dpi_button_state
+	rtnne DPI_BUTTON_STATE_DOWN	
+	arg mem_bt_discovery_count,regc
+	arg mouse_long_dpi_button_bt_discovery,regb
+	branch timer_single_step
+
+mouse_long_dpi_button_bt_discovery:
+	jam 1,mem_mouse_dpi_long_press_flag
+	branch mouse_long_button_bt_discovery
+
+
+
+mouse_dpi_config:
+	branch mouse_seting_sensor_type
+
+
+mouse_setting_dpi_4_level:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit1 MOUSE_ENABLE_DPI_LEVEL_4
+	fetch 1,mem_mouse_dpi
+	rtnne MOUSE_DPI_LEVEL4
+	jam MOUSE_DPI_LEVEL1,mem_mouse_dpi
+	rtn
+	
+
+mouse_seting_dpi:
+	bpatch patch19_7,mem_patch19
+	call mouse_setting_dpi_4_level
+	call mouse_dpi_led_blink_delay
+mouse_seting_sensor_type:
+	fetch 1,mem_config_sensor_type
+	beq P3212,mouse_seting_3212_dpi
+	beq KA8G2,mouse_seting_ka8g2_dpi
+	fetch 1,mem_mouse_dpi
+	beq MOUSE_DPI_LEVEL1,mouse_set_cpi0		//1200
+	beq MOUSE_DPI_LEVEL2,mouse_set_cpi1		//1600
+	beq MOUSE_DPI_LEVEL3,mouse_set_cpi2		//800
+	beq MOUSE_DPI_LEVEL4,mouse_set_cpi3		//1000
+mouse_set_cpi1:	//320x+8009
+	fetcht 1,mem_320x_dpi_1
+	branch mouse_dpi_store
+mouse_set_cpi0:
+	fetcht 1,mem_320x_dpi_0
+	branch mouse_dpi_store
+mouse_set_cpi2:
+	fetcht 1,mem_320x_dpi_2
+	branch mouse_dpi_store
+mouse_set_cpi3:
+	fetcht 1,mem_320x_dpi_3
+	branch mouse_dpi_store
+
+mouse_dpi_store:
+	fetch 1,mem_config_sensor_type
+	beq P3065_XY,mouse_3065xy_set_dpi
+	beq MX8650,mouse_3065xy_set_dpi
+	beq KA8,mouse_ka8_set_dpi
+	beq P6520,mouse_ka8_set_dpi
+	beq P8009,mouse_3065xy_set_dpi
+mouse_dpi_write:		// 3205  1  2  3  4
+	storet 1,mem_mouse_cpi_count
+	setarg MOUSE_DPI_ADDRESS
+	call twspi_read
+	and pdata,0xf8,temp
+	fetch 1,mem_mouse_cpi_count
+	iadd temp,pdata
+	lshift8 pdata,pdata
+	add pdata,MOUSE_DPI_ADDRESS,pdata
+	branch twspi_write
+
+mouse_3065xy_set_dpi:	// 0 1 2 3
+	increase -1,temp
+	branch mouse_dpi_write
+
+mouse_ka8_set_dpi:	// 3 4 5 6
+	increase 2,temp
+	branch mouse_dpi_write
+
+mouse_seting_3212_dpi:
+	fetch 1,mem_mouse_dpi
+	beq MOUSE_DPI_LEVEL1,mouse_set_p3212_cpi0	//1200
+	beq MOUSE_DPI_LEVEL2,mouse_set_p3212_cpi1	//1600
+	beq MOUSE_DPI_LEVEL3,mouse_set_p3212_cpi2	//2400
+	beq MOUSE_DPI_LEVEL4,mouse_set_p3212_cpi3	//800
+mouse_set_p3212_cpi1:
+	fetch 1,mem_3212_dpi_1
+	branch mouse_p3212_dpi
+mouse_set_p3212_cpi0:
+	fetch 1,mem_3212_dpi_0
+	branch mouse_p3212_dpi
+mouse_set_p3212_cpi2:
+	fetch 1,mem_3212_dpi_2
+	branch mouse_p3212_dpi
+mouse_set_p3212_cpi3:
+	fetch 1,mem_3212_dpi_3
+mouse_p3212_dpi:
+	store 1,mem_mouse_cpi_count
+	lshift8 pdata,pdata
+	copy pdata,rega
+	add pdata,MOUSE_P3212_DPI_XADDRESS,pdata
+  	call twspi_write
+ 	copy rega,pdata
+  	add pdata,MOUSE_P3212_DPI_YADDRESS,pdata
+	branch twspi_write
+
+mouse_seting_ka8g2_dpi:
+	fetch 1,mem_mouse_dpi
+	beq MOUSE_DPI_LEVEL1,mouse_set_pka8g2_cpi0		//1600
+	beq MOUSE_DPI_LEVEL2,mouse_set_pka8g2_cpi1		//2400
+	beq MOUSE_DPI_LEVEL3,mouse_set_pka8g2_cpi2		//3200
+	beq MOUSE_DPI_LEVEL4,mouse_set_pka8g2_cpi3		//800
+mouse_set_pka8g2_cpi1:
+	fetch 1,mem_ka8g2_dpi_1
+	branch mouse_p3212_dpi
+
+mouse_set_pka8g2_cpi0:
+	fetch 1,mem_ka8g2_dpi_0
+	branch mouse_p3212_dpi
+	
+mouse_set_pka8g2_cpi2:
+	fetch 1,mem_ka8g2_dpi_2
+	branch mouse_p3212_dpi
+
+mouse_set_pka8g2_cpi3:
+	fetch 1,mem_ka8g2_dpi_3
+	branch mouse_p3212_dpi
+
+		
+		
+
+
+
+
+mouse_key:
+	call mouse_check_key_gpio
+	call mouse_ghost_key_check
+	call mouse_set_mult
+	call mouse_24g_key
+	copy rega,pdata
+	fetcht 1,mem_mouse_key_last
+	store 1,mem_mouse_key_last
+	store 1,mem_mouse_key
+	ixor temp,pdata
+	sub pdata,0,null
+	rtn zero
+	branch enable_user
+
+mouse_24g_key:
+	rtnmark0 mark_24g
+	copy rega,pdata
+	rtn blank
+	store 1,mem_mouse_key
+	branch enable_user
+
+mouse_ghost_key_check:
+	jam 0,mem_mouse_matrix_key_cow_count
+	jam 0,mem_mouse_matrix_key_row_count
+	jam 0,mem_mouse_ghost_flag
+	copy pdata,temp
+	call mouse_ghost_key_check_L_BK
+	call mouse_ghost_key_check_M_FW
+	call mouse_ghost_key_check_BK_FW
+	call mouse_ghost_key_check_LMR
+	fetch 1,mem_mouse_matrix_key_row_count
+	rtn blank
+	fetch 1,mem_mouse_matrix_key_cow_count
+	rtn blank
+	jam 1,mem_mouse_ghost_flag
+	fetch 1,mem_mouse_key_last		// matrix have ghost key
+	copy pdata,rega
+	rtn
+
+mouse_ghost_key_check_L_BK:
+	and temp,MOUSE_L_BK_BUTTON,pdata
+	beq MOUSE_L_BK_BUTTON,mouse_matrix_cow_more_than_one_key
+	rtn
+mouse_ghost_key_check_M_FW:
+	and temp,MOUSE_M_FW_BUTTON,pdata
+	beq MOUSE_M_FW_BUTTON,mouse_matrix_cow_more_than_one_key
+	rtn
+mouse_ghost_key_check_BK_FW:
+	and temp,MOUSE_BK_FW_BUTTON,pdata
+	beq MOUSE_BK_FW_BUTTON,mouse_matrix_row_more_than_one_key
+	rtn	
+
+mouse_ghost_key_check_LMR:
+	and temp,MOUSE_LMR_BUTTON,pdata	// key LMR press
+	beq MOUSE_LR_BUTTON,mouse_matrix_row_more_than_one_key
+	beq MOUSE_LM_BUTTON,mouse_matrix_row_more_than_one_key
+	beq MOUSE_RM_BUTTON,mouse_matrix_row_more_than_one_key
+	beq MOUSE_LMR_BUTTON,mouse_matrix_row_more_than_one_key
+	rtn
+
+
+mouse_matrix_row_more_than_one_key:
+	jam 1,mem_mouse_matrix_key_row_count
+	rtn
+
+mouse_matrix_cow_more_than_one_key:
+	jam 1,mem_mouse_matrix_key_cow_count
+	rtn
+
+mouse_key_check_once:
+	call mouse_check_key_gpio_once
+	call mouse_check_key_gpio
+	setarg 0x00
+	store 3,mem_mouse_lkey_press_status
+	rtn
+	
+mouse_check_key_gpio:
+	bpatch patch1a_0,mem_patch1a
+	fetch 1,mem_sensor_shutdown_flag
+	ncall mouse_check_key_gpio_once,blank
+	arg 0,rega
+	call mouse_check_lkey_gpio
+	call mouse_check_rkey_gpio
+	call mouse_check_mkey_gpio
+	call mouse_check_bkkey_gpio
+	call mouse_check_fwkey_gpio
+	call mouse_check_customerkey_gpio
+	copy rega,pdata
+	rtn
+
+mouse_check_key_gpio_once:
+	setarg 0x030303
+	store 3,mem_mouse_lkey_press_status
+	rtn
+
+mouse_check_lkey_gpio:
+	jam MOUSE_L_KEY,mem_mouse_key_temp
+	fetcht 1,mem_lbutton_gpio
+	fetch 1,mem_mouse_lkey_press_status
+	call mouse_check_key_connect_gnd
+	store 1,mem_mouse_lkey_press_status
+	rtn
+
+mouse_check_rkey_gpio:
+	jam MOUSE_R_KEY,mem_mouse_key_temp
+	fetcht 1,mem_rbutton_gpio
+	fetch 1,mem_mouse_rkey_press_status
+	call mouse_check_key_connect_gnd
+	store 1,mem_mouse_rkey_press_status
+	rtn
+	
+mouse_check_mkey_gpio:
+	jam MOUSE_M_KEY,mem_mouse_key_temp
+	fetcht 1,mem_mbutton_gpio
+	fetch 1,mem_mouse_mkey_press_status
+	call mouse_check_key_connect_gnd
+	store 1,mem_mouse_mkey_press_status
+	rtn
+
+mouse_check_bkkey_gpio:
+	fetch 1,mem_bk_button_gpio
+	rtneq GPIO_DISABLE
+	jam MOUSE_BK_KEY,mem_mouse_key_temp
+	fetch 1,mem_mouse_bkkey_press_status
+	copy pdata,regc
+	fetcht 1,mem_bk_button_gpio
+	fetch 1,mem_matrix_public_gpio
+	beq GPIO_DISABLE,mouse_3io6key_bk_check
+	call gpio_get_bit
+	branch mouse_check_bk_button_connect_gnd,true
+	fetcht 1,mem_matrix_public_gpio
+	call gpio_out_active
+	fetcht 1,mem_bk_button_gpio
+	fetch 1,mem_mouse_bkkey_press_status
+	call mouse_check_key_connect_gnd
+mouse_check_bkkey_gpio_end:	
+	store 1,mem_mouse_bkkey_press_status
+	branch mouse_matrix_public_gpio_reset
+
+mouse_check_bk_button_connect_gnd:
+	fetcht 1,mem_matrix_public_gpio
+	fetch 1,mem_mouse_bkkey_press_status
+	call mouse_check_key_connect_gnd
+	branch mouse_check_bkkey_gpio_end
+
+mouse_3io6key_bk_check:
+	call mouse_3io6key_check
+	store 1,mem_mouse_bkkey_press_status
+	fetcht 1,mem_bk_button_gpio
+	branch mouse_gpio_config_input_pu
+
+
+mouse_check_fwkey_gpio:
+	fetch 1,mem_fw_button_gpio
+	rtneq GPIO_DISABLE
+	jam MOUSE_FW_KEY,mem_mouse_key_temp
+	fetch 1,mem_mouse_fwkey_press_status
+	copy pdata,regc
+	fetcht 1,mem_fw_button_gpio
+	fetch 1,mem_matrix_public_gpio
+	beq GPIO_DISABLE,mouse_3io6key_fw_check
+	call gpio_get_bit
+	branch mouse_check_fw_button_connect_gnd,true
+	fetcht 1,mem_matrix_public_gpio
+	call gpio_out_active
+	fetcht 1,mem_fw_button_gpio
+	fetch 1,mem_mouse_fwkey_press_status
+	call mouse_check_key_connect_gnd
+mouse_check_fwkey_gpio_end:	
+	store 1,mem_mouse_fwkey_press_status
+	branch mouse_matrix_public_gpio_reset
+
+mouse_check_fw_button_connect_gnd:
+	fetcht 1,mem_matrix_public_gpio
+	fetch 1,mem_mouse_fwkey_press_status
+	call mouse_check_key_connect_gnd
+	branch mouse_check_fwkey_gpio_end	
+
+mouse_3io6key_fw_check:
+	call mouse_3io6key_check
+	store 1,mem_mouse_fwkey_press_status
+	fetcht 1,mem_fw_button_gpio
+	branch mouse_gpio_config_input_pu
+
+
+mouse_matrix_public_gpio_reset:	
+	fetcht 1,mem_matrix_public_gpio
+	branch mouse_gpio_config_input_pu
+
+mouse_check_customerkey_gpio:
+	jam 0,mem_customer_key
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit0 MOUSE_ENABLE_KEYBOARD
+	fetch 1,mem_customer_key_gpio
+	rtneq GPIO_DISABLE
+	jam MOUSE_CUSTOMER_KEY,mem_mouse_key_temp
+	fetcht 1,mem_customer_key_gpio
+	fetch 1,mem_mouse_customerkey_press_status
+	call mouse_check_key_connect_gnd
+	store 1,mem_mouse_customerkey_press_status
+	copy rega,pdata
+	bbit1 MOUSE_CUSTOMER_KEY,mouse_customerkey_press
+	call mouse_customerkey_release
+mouse_check_customerkey_gpio_exit:
+	fetch 1,mem_customer_data_trigger
+	store 1,mem_customer_data_trigger_last
+	rtn
+
+
+mouse_customerkey_press:
+	jam 1,mem_customer_data_trigger
+	call mouse_customer_key_need_send
+	branch mouse_check_customerkey_gpio_exit
+
+mouse_customerkey_release:
+	jam 0,mem_customer_data_trigger
+	fetch 1,mem_customer_data_trigger_last
+	rtn blank
+mouse_customer_key_need_send:	
+	jam 1,mem_customer_key
+	rtn	
+
+
+mouse_check_matrix_button_connect_gnd:	
+	call gpio_get_bit
+	fetcht 1,mem_mouse_key_temp
+	copy temp,queue	
+	branch  mouse_key_press,true
+	branch mouse_key_release
+
+mouse_check_key_connect_gnd:	
+	lshift pdata,pdata
+	copy pdata,regb
+	call gpio_get_bit
+	setflag true,0,regb
+	and regb,0x07,pdata
+	fetcht 1,mem_mouse_key_temp
+	copy temp,queue
+	beq 0x07,mouse_key_press		//  about 17~22ms three times
+	beq 0x00,mouse_key_release
+	rtn
+
+mouse_key_release:
+	qset0 rega
+	rtn		
+
+mouse_key_press:
+	qset1 rega
+	rtn
+
+mouse_3io6key_check:
+	bpatch patch1a_1,mem_patch1a
+	copy regc,pdata
+	store 1,mem_mouse_key_status
+	lshift pdata,pdata
+	copy pdata,regb
+	copy temp,regc
+	call mouse_gpio_config_input_pd
+	copy regc,temp
+	call gpio_get_bit
+	nsetflag true,0,regb
+	call mouse_check_press
+	branch mouse_check_key_connect_gnd+4
+
+mouse_check_press:
+	fetcht 1,mem_mouse_key_status
+	and_into 0x01,temp
+	and regb,0x01,pdata
+	isub temp,null
+	nbranch mouse_current_mult_update,zero
+	rtn
+	
+
+
+	
+mouse_init_sunt:
+	bpatch patch1a_2,mem_patch1a
+	call mouse_sensor_spi_init
+	rtn wake
+mouse_init_sensor_wakeup:	
+	call mouse_sensor_poweron
+mouse_init_sensor:
+	call mouse_read_sensor_id
+	beq P32XX_ID1,mouse_init_p32xx_id2_judge
+	beq P3065_ID1,mouse_init_p3065
+	beq PKA8G2_ID1,mouse_ka8g2_id2_judge
+	call mouse_twspi_reset
+	nop 6900
+	branch mouse_init_sensor
+mouse_twspi_reset:
+	fetch 1,mem_mouse_sensor_sclk_gpio
+	call twspi_reset 
+	branch mouse_spid_init_pin
+
+mouse_read_sensor_id:
+	setarg PAN_REG_PID_H
+	call twspi_read
+	store 1,mem_sensor_id2
+	setarg PAN_REG_PID_L
+	call twspi_read
+	store 1,mem_sensor_id1
+	rtn
+
+	
+
+mouse_init_p32xx_id2_judge:
+	fetch 1,mem_sensor_id2
+	beq P_MX8650,mouse_mx8650_init_param
+	beq P8009_ID2,mouse_8009_init_param
+	beq P3205_TJ3T_ID2,mouse_3205_3t_init_param
+	beq P3204_TJ3L_ID2,mouse_3204_3l_init_param
+	beq P3212_ID2,mouse_3212_init_param
+	beq PKA8_ID2,mouse_ka8_init_param_check
+	beq P6520A_ID2,mouse_p6520_init_param
+	branch mouse_init_sensor
+	
+mouse_mx8650_init_param:
+	jam MX8650,mem_config_sensor_type
+	call mouse_sensor_reset
+	call delay_10ms
+	arg mem_sensor_8650_init,regc
+	call mouse_sensor_wr_seq
+	branch mouse_dpi_config
+
+mouse_8009_init_param:
+	setarg 0x16
+	call twspi_read
+	sub pdata,0xbd,null 
+	nbranch mouse_init_sunt,zero
+	setarg 0x19
+	call twspi_read
+	sub pdata,0x55,null 
+	nbranch mouse_init_sunt,zero
+	setarg 0x1b
+	call twspi_read
+	sub pdata,0x1d,null 
+	nbranch mouse_init_sunt,zero
+	jam P8009,mem_config_sensor_type
+	arg mem_sensor_8009_init,regc
+	branch mouse_sensor_wr_seq
+
+mouse_3205_3t_init_param:
+	jam P3205,mem_config_sensor_type
+	arg mem_sensor_3205_init,regc
+	call mouse_sensor_wr_seq
+	arg mem_sensor_32xx_init,regc
+	call mouse_sensor_wr_seq
+	setarg 0x0943
+	call twspi_write
+	arg mem_sensor_32xx_init_1,regc
+	branch mouse_sensor_wr_seq	
+
+mouse_3204_3l_init_param:
+	jam P3204,mem_config_sensor_type
+	arg mem_sensor_3204_init,regc
+	call mouse_sensor_wr_seq
+	arg mem_sensor_32xx_init,regc
+	call mouse_sensor_wr_seq
+	arg mem_sensor_32xx_init_1,regc
+	branch mouse_sensor_wr_seq	
+
+mouse_3212_init_param:
+	jam P3212,mem_config_sensor_type
+	arg mem_sensor_3212_init,regc
+	branch mouse_sensor_wr_seq
+
+mouse_ka8_init_param_check:	
+	call mouse_sensor_disable_wp
+	setarg 0x9a5b
+	call twspi_write
+	setarg 0x0d
+	call twspi_read
+	sub pdata,0x12,null
+	branch mouse_ka8ul_init_param,zero
+	sub pdata,0x0a,null
+	nbranch mouse_ka8hd_sensor_judge,zero
+	setarg 0x0e
+	call twspi_read
+	sub pdata,0xe5,null
+	nbranch mouse_init_sensor,zero
+	setarg 0x10
+	call twspi_read
+	sub pdata,0xa5,null
+	branch mouse_ka8ul_init_param,zero
+	call mouse_enable_ka8_sensor_wp
+mouse_ka8_init_param:
+	jam KA8,mem_config_sensor_type	
+	rtn
+mouse_ka8ul_init_param:
+	jam KA8_UL,mem_config_sensor_type	
+	arg mem_sensor_ka8ul_init,regc
+	branch mouse_sensor_wr_seq
+mouse_ka8hd_sensor_judge:
+	sub pdata,0x10,null
+	nbranch mouse_init_sensor,zero
+	setarg 0x0e
+	call twspi_read
+	sub pdata,0xc5,null
+	nbranch mouse_init_sensor,zero
+	setarg 0x10
+	call twspi_read
+	sub pdata,0x38,null
+	nbranch mouse_init_sensor,zero
+mouse_ka8hd_init_param:
+	call mouse_enable_ka8_sensor_wp
+	jam KA8_HD,mem_config_sensor_type
+	rtn
+mouse_enable_ka8_sensor_wp:
+	setarg 0x005b
+	call twspi_write
+	branch mouse_sensor_enable_wp
+	
+mouse_p6520_init_param:
+	jam P6520,mem_config_sensor_type
+	arg mem_sensor_p6520_init,regc
+	branch mouse_sensor_wr_seq
+	
+mouse_init_p3065:
+	call mouse_sensor_poweron
+	fetch 1,mem_sensor_id2
+	beq P3065_XY_ID2,mouse_p3065xy_init_param
+	beq P3065_ID2,mouse_p3065_init_param
+	branch mouse_init_sensor
+	
+mouse_p3065_init_param:	
+	jam P3065,mem_config_sensor_type
+	rtn
+
+mouse_p3065xy_init_param:
+	jam P3065_XY,mem_config_sensor_type
+	rtn
+	
+mouse_ka8g2_id2_judge:
+	call mouse_sensor_poweron
+	fetch 1,mem_sensor_id2
+	beq PKA8G2_ID2,mouse_ka8g2_init_param
+	branch mouse_init_p32xx_id2_judge
+mouse_ka8g2_init_param:
+	jam KA8G2,mem_config_sensor_type
+	arg mem_sensor_ka8g2_init,regc
+	branch mouse_sensor_wr_seq
+	
+mouse_sensor_enable_wp:
+	setarg 0x0009
+	branch twspi_write
+mouse_sensor_disable_wp:
+	setarg 0x5a09
+	branch twspi_write
+
+mouse_sensor_wr_seq:
+	ifetch 2,regc
+	arg 0xffff,temp
+	isub temp,null
+	rtn zero
+	call twspi_write
+	increase 2,regc
+	branch mouse_sensor_wr_seq
+
+mouse_sensor_reset:
+	setarg 0x8006		// reset to factory settings
+	call twspi_write
+	nop 12000
+	rtn
+	
+mouse_sensor_poweron:
+	bpatch patch1a_3,mem_patch1a
+	call mouse_sensor_spi_init
+	call mouse_sensor_reset
+	arg mem_sensor_poweron_init,regc
+	call mouse_sensor_wr_seq
+	branch mouse_dpi_config
+
+mouse_sensor_powerdown:
+	call mouse_init_sunt
+	call mouse_sensor_spi_init
+	setarg 0x0806
+	branch twspi_write
+	
+
+
+
+
+mouse_check_sensor_data:
+	fetch 1,mem_spi_write_flash_sm
+	rtnne FLASH_SM_NO_BUYS
+	fetch 1,mem_config_sensor_type
+	beq P3205,mouse_p32xx_sensor_motion
+	beq P3065,mouse_p32xx_sensor_motion
+	beq KA8,mouse_p32xx_sensor_motion
+	beq P3204,mouse_p32xx_sensor_motion
+	beq P3212,mouse_p3212_sensor_motion
+	beq P3065_xy,mouse_p32xx_sensor_motion
+	beq P8009,mouse_p8009_sensor_motion	
+	beq KA8G2,mouse_pka8g2_sensor_motion
+	branch mouse_p32xx_sensor_motion
+
+
+mouse_p32xx_sensor_motion:
+	call mouse_clear_sensor_data
+	disable user
+	fetch 1,mem_sensor_motion_gpio
+	beq GPIO_DISABLE,mouse_p32xx_sensor_motion_2
+	fetcht 1,mem_sensor_motion_gpio
+	call gpio_get_bit
+	nrtn true
+mouse_p32xx_sensor_motion_2:
+	setarg PAN_REG_PID_L
+	call twspi_read
+	bne P32XX_ID1,mouse_p3065_judge   
+mouse_p32xx_sensor_motion_1:
+	setarg PAN_REG_MOTION_STAUS
+	call twspi_read
+	rtnbit0 7
+	call mouse_read_sensor_common
+	fetch 1,mem_mouse_x
+	call mouse_data_extsign
+	store 2,mem_mouse_x
+	fetch 1,mem_mouse_y
+	call mouse_data_extsign
+	store 2,mem_mouse_y
+	fetch 1,mem_config_sensor_angle
+	beq MOUSE_6CLK_ANGLE,mouse_motion32xx_6clk_direction_selection
+	beq MOUSE_9CLK_ANGLE,mouse_motion32xx_9clk_direction_selection
+	beq MOUSE_12CLK_ANGLE,mouse_motion32xx_12clk_direction_selection
+	beq MOUSE_3CLK_ANGLE,mouse_motion32xx_3clk_direction_selection
+	rtn
+
+mouse_p3065_judge:
+	beq P3065_ID1,mouse_p32xx_sensor_motion_1
+	branch mouse_twspi_reset
+	
+mouse_motion32xx_6clk_direction_selection:
+	call mouse_motion_6clk_direction_dispose
+	branch mouse_sensor_sdio_low
+mouse_motion32xx_9clk_direction_selection:
+	call mouse_motion_9clk_direction_dispose
+	branch mouse_sensor_sdio_low
+mouse_motion32xx_12clk_direction_selection:
+	call mouse_motion_12clk_direction_dispose
+	branch mouse_sensor_sdio_low
+mouse_motion32xx_3clk_direction_selection:
+	call mouse_motion_3clk_direction_dispose
+	branch mouse_sensor_sdio_low
+
+
+	
+mouse_p3212_sensor_motion:
+	call mouse_clear_sensor_data
+	fetch 1,mem_sensor_motion_gpio
+	beq GPIO_DISABLE,mouse_p3212_sensor_motion_1
+	fetcht 1,mem_sensor_motion_gpio
+	call gpio_get_bit
+	nrtn true
+mouse_p3212_sensor_motion_1:	
+	setarg PAN_REG_PID_L
+	call twspi_read
+	bne P32XX_ID1,mouse_twspi_reset
+mouse_p3212_sensor_motion_2:
+	setarg PAN_REG_MOTION_STAUS
+	call twspi_read
+	rtnbit0 7
+	call mouse_read_sensor_common
+	call mouse_read_3212sensor_xy_high
+	store 1,mem_mouse_xy_h
+	rshift4 pdata,pdata
+	call mouse_data_extsign_bit3
+	store 1,mem_mouse_x+1
+	fetch 1,mem_mouse_xy_h
+	and pdata,0x0f,pdata
+	call mouse_data_extsign_bit3
+	store 1,mem_mouse_y+1
+	fetch 1,mem_config_sensor_angle
+	beq MOUSE_6CLK_ANGLE,mouse_motion_6clk_direction_dispose
+	beq MOUSE_9CLK_ANGLE,mouse_motion_9clk_direction_dispose
+	beq MOUSE_12CLK_ANGLE,mouse_motion_12clk_direction_dispose
+	beq MOUSE_3CLK_ANGLE,mouse_motion_3clk_direction_dispose
+	rtn
+
+mouse_read_3212sensor_xy_high:
+	setarg 0x12
+	branch twspi_read
+
+mouse_pka8g2_sensor_motion:
+	call mouse_clear_sensor_data
+	fetch 1,mem_sensor_motion_gpio
+	beq GPIO_DISABLE,mouse_pka8g2_sensor_motion_1
+	fetcht 1,mem_sensor_motion_gpio
+	call gpio_get_bit
+	nrtn true
+mouse_pka8g2_sensor_motion_1:
+	branch mouse_p3212_sensor_motion_2
+
+
+mouse_p8009_sensor_motion:
+	call mouse_clear_sensor_data
+	disable user
+	setarg PAN_REG_MOTION_STAUS
+	call twspi_read
+	rtnbit0 7
+	setarg PAN_REG_OPRATION_STATE
+	call twspi_read
+	branch mouse_p32xx_sensor_motion_1+3,blank
+	setarg 0
+	store 6,mem_mouse_x
+	rtn
+
+
+
+mouse_sensor_set_angle:
+	fetch 1,mem_sensor_angle_default
+	store 1,mem_config_sensor_angle
+	fetch 1,mem_select_sensor_angle_gpio
+	rtneq GPIO_DISABLE
+	fetcht 1,mem_select_sensor_angle_gpio
+	call mouse_gpio_config_input_pu
+	fetcht 1,mem_select_sensor_angle_gpio
+	call gpio_get_bit
+	call mouse_sensor_switch_angle,true
+	branch mouse_gpio_config_input_pd
+mouse_sensor_switch_angle:
+	fetch 1,mem_sensor_angle_switch
+	store 1,mem_config_sensor_angle
+	rtn
+	
+mouse_motion_6clk_direction_dispose:
+	fetch 2,mem_mouse_x
+	sub pdata,0,pdata
+	store 2,mem_mouse_x
+	branch enable_user
+mouse_motion_12clk_direction_dispose:
+	fetch 2,mem_mouse_y
+	sub pdata,0,pdata
+	store 2,mem_mouse_y
+	branch enable_user
+mouse_motion_9clk_direction_dispose:
+	fetch 2,mem_mouse_y
+	sub pdata,0,pdata
+	store 2,mem_mouse_y
+	fetch 2,mem_mouse_x
+	sub pdata,0,pdata
+	store 2,mem_mouse_x
+	call mouse_sensor_data_swap_places
+	branch enable_user
+mouse_motion_3clk_direction_dispose:
+	call mouse_sensor_data_swap_places
+	branch enable_user
+
+mouse_sensor_data_swap_places:
+	fetch 2, mem_mouse_y
+	fetcht 2,mem_mouse_x
+	store 2,mem_mouse_x
+	storet 2,mem_mouse_y
+	rtn
+
+	
+mouse_clear_sensor_data:
+	fetch 1,mem_mouse_move_flag
+	call mouse_read_sensor_common,blank
+	jam 1,mem_mouse_move_flag
+	rtn
+
+mouse_clear_sensor_data_by_reset:
+	jam 1,mem_mouse_clear_sensor_data_flag
+	call le_set_config_more_data
+mouse_init_sensor_reset:
+	branch mouse_init_sunt
+
+mouse_data_xy_release:
+	fetch 1,mem_sensor_motion_gpio
+	rtnne GPIO_DISABLE
+	fetch 1,mem_mouse_long_mult_flag
+	rtnne 1
+	setarg 0
+	store 1,mem_mouse_long_mult_flag
+	store 4,mem_mouse_x
+	branch mouse_init_sensor_reset
+
+mouse_data_extsign:
+	rtnbit0 7
+	arg 0xff00,temp
+	ior temp,pdata
+	rtn
+
+mouse_data_extsign_bit3:
+	rtnbit0 3
+	arg 0xf0,temp
+	ior temp,pdata
+	rtn
+
+mouse_read_sensor_common:
+	arg PAN_REG_DELTA_X,pdata
+	call twspi_read
+	store 2,mem_mouse_x
+	arg PAN_REG_DELTA_Y,pdata
+	call twspi_read
+	store 2,mem_mouse_y
+	rtn
+
+	
+mouse_sensor_sdio_low:
+	fetcht 1,mem_mouse_sensor_sdio_gpio
+	call gpio_get_bit
+	rtn true
+	setarg 0x0a
+	call twspi_read
+	nop 1000
+	branch mouse_sensor_sdio_low
+
+mouse_set_sdio_high:		// make sdio high to make 100uA less
+	setarg 0x8100
+	branch twspi_write
+	
+
+
+
+mouse_buletooth_fast_conn_init:
+	jam 0xff,mem_mouse_bluetooth_fast_conn_flag
+	fetch 1,mem_mouse_bluetooth_type
+	bbit1 MODE_4_MOUSE,mouse_ble_fast_conn_init
+	bbit1 MODE_3_MOUSE,mouse_bt_fast_conn_init
+mouse_ble_fast_conn_init:	
+	jam 0x34,mem_xrecord_mode
+	setarg 0x0f0f0f
+	store 3,mem_le_lap
+	store 3,mem_le_lap+3
+	branch mouse_start_reconnect
+
+mouse_bt_fast_conn_init:
+	jam 0x33,mem_xrecord_mode
+	arg mem_mouse_compare_addr_ff,contr
+	call mouse_load_bt_device
+	branch mouse_start_reconnect
+
+mouse_buletooth_fast_conn_end:
+	bpatch patch1a_4,mem_patch1a
+	call mouse_select_reconn_device
+	call mouse_bluetooth_fast_conn_disable
+	fetch 1,mem_device_flag
+	beq MODE_BT_DEVICE1,mouse_device1_check_auto_discover
+	beq MODE_BT_DEVICE2,mouse_device2_check_auto_discover
+	rtn
+mouse_device1_check_auto_discover:
+	fetch 6,mem_device1_addr
+	branch mouse_device_check_auto_discover
+mouse_device2_check_auto_discover:
+	fetch 6,mem_device2_addr
+mouse_device_check_auto_discover:	
+	fetcht 6,mem_mouse_compare_addr_ff
+	isub temp,null
+	branch mouse_start_discovery ,zero
+	branch mouse_start_reconnect_device
+
+mouse_bt_fast_conn_send_device_name:
+	call mouse_bluetooth_fast_conn_disable
+	fetch 1,mem_local_name_length
+	increase 3,pdata
+	copy pdata,rega
+	call hid_malloc_tx_buff
+	fetch 2,mem_hid_int_remote_cid
+	istore 2,contw
+	setarg 0x04a1		// report id = 4
+	istore 2,contw
+	fetch 1,mem_local_name_length
+	increase 1,pdata
+	copy pdata,loopcnt
+	arg mem_local_name_length,contr
+	branch memcpy
+
+mouse_bluetooth_fast_conn_disable:
+	jam 0x5a,mem_mouse_bluetooth_fast_conn_flag
+	rtn	
+
+
+mouse_stop_bluetooth_mode:
+	fetch 2,mem_ui_state_map
+	bbit1 UI_STATE_BT_RECONNECT,mouse_cancel_reconnect
+	bbit1 UI_STATE_BLE_CONNECTED,app_ble_disconnect
+	bbit1 UI_STATE_BT_CONNECTED,app_bt_disconnect
+	branch mouse_stop_discovery
+
+mouse_disconnect:
+	setarg 0
+	store 2,mem_mouse_no_data_timer
+	fetch 2,mem_ui_state_map
+	bbit1 UI_STATE_BLE_CONNECTED,app_ble_disconnect
+	fetch 2,mem_ui_state_map
+	bbit1 UI_STATE_BT_CONNECTED,app_bt_disconnect
+	rtn
+	
+mouse_cancel_reconnect:
+	call mouse_bt_cannel_reconn_enable
+	branch check_51cmd_bb_reconn_cancel
+
+mouse_check_125Hz:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit0 MOUSE_ENABLE_BT_125Hz
+mouse_bluetooth_125Hz:
+	nbranch mouse_bluetooth_125hz_clear,user
+	fetch 1,mem_bluetooth_125hz_cnt
+	increase 1,pdata
+	and_into 0x0f,pdata
+	store 1,mem_bluetooth_125hz_cnt
+	nrtn blank
+mouse_bluetooth_125hz_clear:
+	jam 0,mem_bluetooth_125hz_cnt
+	disable user
+	rtn
+
+
+mouse_current_mult_update:
+	fetch 1,mem_sensor_motion_gpio
+	rtnne GPIO_DISABLE
+	jam 0,mem_lpm_mult
+	jam 30,mem_mouse_current_mult_timer
+	rtn
+
+
+mouse_priority_bb_event:	
+	bpatch patch1a_5,mem_patch1a
+	copy regc,pdata
+	beq BT_EVT_LE_CONNECTED,mouse_le_bb_event_connected
+	beq BT_EVT_BB_CONNECTED,mouse_bb_event_connected
+	beq BT_EVT_LE_DISCONNECTED,mouse_le_bb_disconnected
+	beq BT_EVT_BB_DISCONNECTED,mouse_bb_disconnected
+	beq BT_EVT_SETUP_COMPLETE,mouse_bt_event_setup_complete
+	beq BT_EVT_BUTTON_LONG_PRESSED,mouse_bb_event_discovery_btn
+	beq BT_EVT_HID_HANDSHAKE,mouse_bt_hid_handshake
+	beq BT_EVT_HID_CONNECTED,app_hid_connected
+	beq BT_EVT_RECONN_FAILED,mouse_bb_event_reconn_failed
+	beq BT_EVT_RECONN_PAGE_TIMEOUT,mouse_bb_event_reconn_timeout
+	beq BT_EVT_SWITCH_NOT_ACCEPT,app_bt_role_switch	
+	beq BT_EVT_SWITCH_SUCCESS_MASTER,mouse_enter_sniff_check
+	beq BT_EVT_SNIFF_NOT_ACCEPT,mouse_sniff_not_accept
+	beq BT_EVT_PINCODE_REQ,mouse_bb_event_pincode
+	beq BT_EVT_REMOTE_UNSNIFF,app_start_auto_sniff
+	beq BT_EVT_LE_PAIRING_SUCCESS,mouse_le_pairing_success
+	beq BT_EVT_LE_ENC_INFO,mouse_le_enc_info
+	beq BT_EVT_LE_START_ENC,mouse_le_ll_start_encryt
+	beq BT_EVT_LE_PAIRING_COMPLETE,mouse_le_pairing_complete
+	beq BT_EVT_LE_PARSE_CONN_PAPA_UPDATE_RSP,mouse_le_conn_param_update_rsp_recieved
+	beq BT_EVT_VIRTUAL_CABLE_UNPLUG,mouse_irtual_cable_unplug
+	beq BT_EVT_24G_PAIRING_COMPLETE,mouse_24g_pairing_complete
+	beq BT_EVT_24G_ATTEMPT_FAIL,mouse_24g_attempt_fail
+	beq BT_EVT_24G_ATTEMPT_SUCCESS,mouse_24g_attempt_success
+	beq BT_EVT_LE_PARSE_CONN_PARAM_ACCEPTED,mouse_le_parse_conn_param_accepted
+	rtn
+
+
+mouse_le_bb_event_connected:
+	jam 0,mem_mouse_long_mult_flag
+	call mouse_init_sensor_reset
+	jam 1,mem_mouse_le_bb_connected_flag
+	call mouse_24g_first_store_reconn_info
+	fetch 1,mem_mouse_le_reconnect_flag
+	nbranch mouse_le_bb_event_connected_next,blank
+	jam 0x14,mem_mouse_send_secutiry_request_timer
+mouse_le_bb_event_connected_next:
+	fetch APP_DISC_RSN_SIZE,mem_app_disconn_reason_flag
+	set0 APP_DISC_BY_BUTTON ,pdata
+	store APP_DISC_RSN_SIZE,mem_app_disconn_reason_flag
+	jam 0,mem_mouse_direct_timer
+	fetch 2,mem_le_battery_level_updata_timer_init
+	store 2,mem_le_battery_level_updata_timer
+	call mouse_no_data_timer_init
+	branch mouse_stop_discovery
+
+mouse_le_bb_disconnected:
+	jam 0,mem_mouse_le_bb_connected_flag
+	setarg LE_INTERVAL_7_5MS
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit1 MOUSE_ENABLE_BT_125Hz,mouse_le_bb_disconnected_next
+	setarg LE_INTERVAL_8_75MS
+mouse_le_bb_disconnected_next:	
+	store 2,mem_le_interval_min
+	store 2,mem_le_interval_min+2
+	jam LE_LPM_ENABLE,mem_mouse_le_conn_param_reject
+	jam 0,mem_mouse_clear_sensor_data_flag
+	call le_clr_config_more_data
+	branch mouse_bb_disconnected
+
+mouse_le_pairing_success:
+	arg LL_PAIRING_SUCCESS_FLAG,queue
+	branch mouse_le_enable_connect_flag
+
+mouse_le_enc_info:
+mouse_updata_le_param:
+	jam BT_CMD_LE_UPDATE_CONN,mem_fifo_temp
+	branch ui_ipc_send_cmd
+	
+mouse_le_ll_start_encryt:
+	fetch 1,mem_mouse_le_reconnect_flag
+	beq 1,mouse_le_ll_reconn_start_encryt
+	branch mouse_le_ll_enable_start_enc_flag
+mouse_le_ll_reconn_start_encryt:
+	call mouse_updata_le_param
+	jam 20,mem_le_start_encrypt_timer
+mouse_le_ll_enable_start_enc_flag:
+	arg LL_START_ENC_FLAG,queue
+	branch mouse_le_enable_connect_flag
+
+mouse_le_enable_connect_flag:
+	fetch 1,mem_le_connect_status_flag
+	qset1 pdata
+	store 1,mem_le_connect_status_flag
+	rtn
+
+mouse_le_pairing_complete:
+	branch app_ble_store_reconn_info
+
+mouse_le_conn_param_update_rsp_recieved:
+	fetch 2,mem_le_l2cap_signaling_conn_param_update_rsp_result
+	rtneq BLE_SIGNALING_CONNECT_PARAMETER_UPDATE_ACCEPTED
+	fetch 1,mem_le_tsniff
+	rshift2 pdata,pdata
+	sub pdata,LE_INTERVAL_15MS,null
+	rtn positive
+	setarg LE_INTERVAL_11_25MS
+	store 2,mem_le_interval_min
+	store 2,mem_le_interval_min+2
+	call mouse_updata_le_param
+mouse_le_conn_param_lpm_disable:
+	jam LE_LPM_DISABLE,mem_mouse_le_conn_param_reject
+	rtn
+
+mouse_le_conn_param_lpm_enable:
+	jam LE_LPM_ENABLE,mem_mouse_le_conn_param_reject
+	rtn
+
+mouse_le_bb_event_connect_complete:
+	fetch 1,mem_mouse_le_reconnect_flag
+	nrtn blank
+	fetch 1,mem_le_att_handle
+	sub pdata,34,pdata
+	nrtn zero
+	jam 0,mem_le_start_encrypt_timer
+mouse_le_write_enable:	
+	arg WRITE_REQ_ENABLE_FLAG,queue
+	branch mouse_le_enable_connect_flag
+
+mouse_le_parse_conn_param_accepted:
+	fetch 1,mem_le_new_conninterval
+	sub pdata,LE_INTERVAL_15MS,null
+	nbranch mouse_le_conn_param_lpm_disable,positive
+	fetch 1,mem_le_new_connslavelatency
+	fetcht 1,mem_lpm_mult_init
+	isub temp,null
+	branch mouse_le_lpm_mult_reinit,positive
+	fetch 1,mem_le_new_connslavelatency
+	store 1,mem_lpm_mult
+	branch mouse_le_conn_param_lpm_enable
+mouse_le_lpm_mult_reinit:
+	fetch 1,mem_lpm_mult_init
+	store 1,mem_lpm_mult
+	branch mouse_le_conn_param_lpm_enable
+	
+mouse_le_clean_connect_flag:
+	jam 0,mem_le_connect_status_flag
+	rtn
+
+mouse_le:
+	bpatch patch1a_6,mem_patch1a
+	call le_fifo_check_nearly_full
+	nrtn blank
+	fetch 1,mem_mouse_bluetooth_fast_conn_flag
+	beq 0xff,mouse_le_next
+	fetch 1,mem_le_connect_status_flag
+	and pdata,0x03,pdata
+	rtnne 0x03
+mouse_le_next:	
+	fetch 1,mem_mouse_clear_sensor_data_flag
+	call mouse_clear_sensor_data_by_reset,blank
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit1 MOUSE_24G_PAIRING_FLAG,mouse_le_send_empty_packet
+	bbit1 MOUSE_SELECT_DEVICE_FLAG,mouse_le_send_empty_packet
+	bbit1 MOUSE_BT_DISCOVERY_BUTTON_DOWN_FLAG,mouse_le_send_empty_packet
+	bbit1 MOUSE_BT_DISCOVERY_BUTTON_LONG_DOWN_FLAG,mouse_le_send_empty_packet
+	call mouse_motion
+	call mouse_check_125Hz
+	nrtn user
+	call mouse_current_mult_update
+	call mouse_data_xy_release
+	call mouse_wheel_trigger
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit0 MOUSE_ENABLE_KEYBOARD,mouse_le_send_mouse_data
+	fetch 1,mem_customer_key
+	beq 1,mouse_le_send_keyboard_package_data		
+mouse_le_send_mouse_data:
+	branch mouse_fill_mouse_data_le
+
+
+mouse_le_send_keyboard_package_data:
+	fetch 1,mem_customer_data_trigger
+	branch mouse_le_release_keyboard_data,blank
+	fetch 8,mem_customer_key_press+1
+mouse_fill_keyboard_package_data_le:
+	store 8,mem_pdatatemp
+	fetch 1,mem_customer_key_press
+	beq KB_MULTIKEY_REPORT_ID,mouse_fill_multimedia_key_data_le
+	beq KB_SYSTEM_CONCTRL_REPORT_ID,mouse_fill_systemctrl_key_data_le
+	jam 8,mem_le_data_len
+	fetcht 2,mem_le_keyboard_handle
+	branch mouse_fill_data_le
+	
+
+mouse_le_release_keyboard_data:
+	fetch 8,mem_customer_key_release+1
+	branch mouse_fill_keyboard_package_data_le
+
+mouse_fill_multimedia_key_data_le:
+	jam 3,mem_le_data_len
+	fetcht 2,mem_le_multimedia_handle
+	branch mouse_fill_data_le
+
+mouse_fill_systemctrl_key_data_le:
+	jam 2,mem_le_data_len
+	fetcht 2,mem_le_systemctrl_handle
+	branch mouse_fill_data_le
+
+mouse_fill_battery_level_le:
+	arg 1,rega
+	fetcht 2,mem_le_battery_level_handle
+	call le_att_malloc_tx_notify
+	fetch 1,mem_le_battery_level_percentage
+	istore 1,contw
+	rtn
+
+
+mouse_le_send_empty_packet:
+	setarg 0
+	store 7,mem_mouse_key
+mouse_fill_mouse_data_le:
+	jam 7,mem_le_data_len
+	fetch 7,mem_mouse_key
+	store 7,mem_pdatatemp
+	fetcht 2,mem_le_notify_handle
+	branch mouse_fill_data_le
+
+mouse_fill_data_le:
+	fetch 1,mem_le_data_len
+	copy pdata,rega
+	call le_att_malloc_tx_notify
+	fetcht 1,mem_le_data_len
+	copy temp,loopcnt
+	arg mem_pdatatemp,contr
+	branch memcpy	
+
+mouse_check_51cmd_adv:
+	jam 0,mem_mouse_le_reconnect_flag
+	fetch 3,mem_le_adv_ind
+	store 3,mem_le_adv_data+4
+	call mouse_le_check_adv_flag
+	setarg ADV_FLAG_BREDR_NOT_SUPPORTED |ADV_FLAG_LIMITED_DISCOVERABLE
+	istore 1,contr
+	arg mem_le_adv_swift_pair,contr
+	call mouse_le_adv_data_update
+	branch check_51cmd_adv
+
+mouse_le_check_adv_flag:
+	arg mem_le_adv_data,rega
+mouse_le_check_adv_flag_loop:
+	ifetch 1,rega	//length
+	rtn blank
+	iadd contr,rega
+	ifetch 1,contr	//type
+	rtneq 0x01
+	branch mouse_le_check_adv_flag_loop
+	
+mouse_le_adv_data_update:
+	arg mem_le_adv_data+11,contw
+	arg 19,loopcnt
+	call memcpy
+	branch le_modified_name_adv
+	
+
+
+
+	
+mouse_bt_sniff_param_interval_setup:
+	setarg CLASSIC_INTERVAL_7_5MS
+	store 2,mem_sniff_param_interval
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit1 MOUSE_ENABLE_BT_125Hz
+	setarg CLASSIC_INTERVAL_8_75MS
+	store 2,mem_sniff_param_interval
+	rtn
+
+mouse_bb_event_connected:
+	jam 0,mem_mouse_long_mult_flag
+	call mouse_init_sensor_reset
+	call mouse_24g_first_store_reconn_info
+	branch mouse_stop_discovery
+
+mouse_bb_disconnected:
+	jam 0,mem_mouse_enter_sniff_count
+	jam 0,mem_mouse_bt_send_first_package_flag
+	call mouse_bt_sniff_param_interval_setup
+	call mouse_bb_discon_clear_stack
+	fetch APP_DISC_RSN_SIZE,mem_app_disconn_reason
+	bbit1 APP_DISC_BLE,mouse4_0_event_bb_disconn
+	bbit1 APP_DISC_BY_BUTTON,app_disconn_reason_clear
+	bbit1 APP_DISC_AFTER_PAIRING,mouse_event_light_state_pairing
+	bbit1 APP_DISC_AFTER_RECONN,mouse_event_light_state_hibernate
+	bbit1 APP_DISC_AFTER_SNIFF,mouse_event_light_state_hibernate
+	branch mouse_start_discovery
+mouse_bb_discon_clear_stack:
+	setarg 0
+	store 8,mem_wheel_tb_old_pinlevel
+	istore 4,contw             //clean wheel statue
+	jam 0,mem_mouse_move_flag
+	jam APP_HANDSHAKE_NULL,mem_app_handshake_flag
+	jam 0,mem_ltk_exists
+	rtn
+
+mouse4_0_event_bb_disconn:
+	call mouse_le_clean_connect_flag
+	fetch APP_DISC_RSN_SIZE,mem_app_disconn_reason
+	bbit1 APP_DISC_BY_BUTTON,app_disconn_reason_clear
+	branch mouse_app_enter_hibernate
+
+
+mouse_event_light_state_pairing:
+	bbit1 APP_DISC_AFTER_HANDSHAKE,mouse_event_light_state_hibernate
+	bbit1 APP_DISC_AFTER_SNIFF,mouse_event_light_state_hibernate
+	branch mouse_start_discovery
+mouse_event_light_state_hibernate:
+	fetch 2,mem_ui_state_map
+	bbit1 UI_STATE_BTN_DOWN,mouse_start_discovery
+	call app_disconn_reason_clear
+
+	call mouse_key_check_once	//mult_key pair
+	call mouse_commbination_key_process
+	fetch 1,mem_commbination_key_statue
+	beq COMMBINATION_KEY_STATE_DOWN,mouse_delay_enter_hibernata
+	
+	fetch 1,mem_mouse_bluetooth_reconnect_timeout
+	nrtn blank
+	branch mouse_app_enter_hibernate
+
+
+mouse_bt_event_setup_complete:
+	rtn
+
+mouse_bt_send_first_package_timer_init:
+	jam 4,mem_mouse_bt_send_first_package_timer
+	rtn
+
+mouse_bt_hid_handshake:
+	jam APP_HANDSHAKE_DONE,mem_app_handshake_flag
+	call app_lpm_mult_enable
+	call app_bt_store_reconn_info
+	setarg 0
+	store 2,mem_discovery_timeout_timer_count
+	store 1,mem_hid_handshake_timer_count
+	call mouse_bt_send_first_package_timer_init
+	branch app_bt_enter_sniff
+
+mouse_bt_hid_handshake_boot_check:	
+	jam 0,mem_mouse_bt_boot_mode
+	fetch 1,mem_l2cap_rcv_hidtype
+	isolate1 0,pdata
+	rtn true
+	jam 1,mem_mouse_bt_boot_mode	//boot mode
+	rtn
+
+	
+mouse_bb_event_reconn_timeout:
+mouse_bb_event_reconn_failed:
+	fetch 1,mem_mouse_bluetooth_fast_conn_flag
+	beq 0xff,mouse_buletooth_fast_conn_end
+	fetch 2,mem_ui_state_map
+	rtnbit1 UI_STATE_BTN_DOWN
+	rtnbit1 UI_STATE_BT_DISCOVERY
+	rtnbit1 UI_STATE_BLE_ADV
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit1 MOUSE_BT_DISCOVERY_BUTTON_DOWN_FLAG
+	bbit1 MOUSE_ENABLE_BT_RECONNECT_TIMEOUT_ENTER_DISCOVERY,mouse_start_discovery
+	bbit1 MOUSE_ENABLE_24G_FIRST_AUTO_PAIRING,mouse_24g_first_bb_event_reconn_timeout
+	branch mouse_app_enter_hibernate
+
+mouse_enter_sniff_check:
+	fetch 1,mem_mouse_enter_sniff_count
+	rtnne 2
+	jam 0,mem_mouse_enter_sniff_count
+	call mouse_bt_sniff_param_interval_setup
+	call mouse_bt_send_first_package_timer_init
+	branch app_bt_enter_sniff
+
+mouse_sniff_not_accept:
+	fetch 1,mem_mouse_enter_sniff_count
+	rtneq 2
+	increase 1,pdata
+	store 1,mem_mouse_enter_sniff_count
+	jam 0x12,mem_sniff_param_interval	//89Hz
+	call mouse_bt_send_first_package_timer_init
+	branch app_bt_enter_sniff
+
+mouse_bb_event_pincode:
+	call pincode_reinit
+	branch app_bt_set_pincode
+
+mouse_irtual_cable_unplug:
+	setarg 0x01
+	store 6,mem_plap
+	jam REC_3_MODE,mem_record_bt_mode
+	branch mouse_unplug_clean_bdaddr
+
+mouse_irtual_cable_unplug1:
+	setarg -1
+	store 6,mem_plap
+	jam REC_3_MODE,mem_record_bt_mode
+	jam 0xff,mem_mouse_bluetooth_fast_conn_flag
+	call mouse_before_store_reconn_info
+	jam 0xff,mem_device1_type
+	branch mouse_store_device_info_delay
+
+mouse_bt:
+	bpatch patch1a_7,mem_patch1a
+	rtn attempt
+	fetch 1,mem_app_handshake_flag
+	rtn blank
+	call l2cap_malloc_is_fifo_nearly_full
+	nrtn blank
+	fetch 1,mem_mouse_bluetooth_fast_conn_flag
+	beq 0xff,mouse_bt_fast_conn_send_device_name	
+	fetch 1,mem_mouse_clear_sensor_data_flag
+	call mouse_clear_sensor_data_by_reset,blank
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit1 MOUSE_24G_PAIRING_FLAG,mouse_send_empty_data
+	bbit1 MOUSE_SELECT_DEVICE_FLAG,mouse_send_empty_data
+	bbit1 MOUSE_BT_DISCOVERY_BUTTON_DOWN_FLAG,mouse_send_empty_data
+	bbit1 MOUSE_BT_DISCOVERY_BUTTON_LONG_DOWN_FLAG,mouse_send_empty_data
+	call mouse_motion
+	call mouse_check_125Hz
+	nrtn user
+	call mouse_current_mult_update
+	call mouse_data_xy_release
+	call mouse_wheel_trigger
+	fetch 1,mem_mouse_bt_boot_mode
+	beq 1,mouse_send_data_boot_mode	//boot
+	fetch 1,mem_mouse_bt_send_first_package_flag
+	rtn blank
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit0 MOUSE_ENABLE_KEYBOARD,mouse_send_data
+	fetch 1,mem_customer_key
+	beq 1,mouse_bt_send_keyboard_packet
+mouse_send_data:
+	arg 9,rega
+	call hid_malloc_tx_buff
+	fetch 2,mem_hid_int_remote_cid
+	istore 2,contw
+	setarg 0x02a1
+	istore 2,contw
+	fetch 7,mem_mouse_key
+	istore 7,contw
+	rtn
+
+mouse_send_data_boot_mode:
+	fetch 1,mem_mouse_key
+	store 1,mem_mouse_bt_boot_data
+	fetch 1,mem_mouse_x
+	istore 1,contw
+	fetch 1,mem_mouse_y
+	istore 1,contw
+	fetch 2,mem_mouse_z
+	istore 2,contw
+	arg 7,rega
+	call hid_malloc_tx_buff
+	fetch 2,mem_hid_int_remote_cid
+	istore 2,contw
+	setarg 0x02a1		// pid:02  mouse
+	istore 2,contw
+	fetch 5,mem_mouse_bt_boot_data
+	istore 5,contw
+	rtn
+
+mouse_send_empty_data:
+	setarg 0
+	store 7,mem_mouse_key
+	branch mouse_send_data
+
+
+mouse_bt_send_keyboard_packet:
+	fetch 1,mem_customer_data_trigger
+	branch mouse_bt_release_keyboard_data,blank
+	fetch 8,mem_customer_key_press+1
+mouse_bt_send_keyboard_data:
+	store 8,mem_pdatatemp
+	fetch 1,mem_customer_key_press
+	beq KB_MULTIKEY_REPORT_ID,mouse_bt_send_multimedia_key_data
+	beq KB_SYSTEM_CONCTRL_REPORT_ID,mouse_bt_send_systemctrl_key_data
+	arg 10,rega
+	call hid_malloc_tx_buff
+	fetch 2,mem_hid_int_remote_cid
+	istore 2,contw
+	setarg 0x01a1		// pid:01  standard key
+	istore 2,contw
+	fetch 8,mem_pdatatemp
+	istore 8,contw
+	rtn
+
+mouse_bt_send_multimedia_key_data:
+	arg 4,rega
+	call hid_malloc_tx_buff
+	fetch 2,mem_hid_int_remote_cid
+	istore 2,contw
+	setarg 0x03a1		// pid:03  multimedia key
+	istore 2,contw
+	fetch 2,mem_pdatatemp
+	istore 2,contw
+	rtn	
+
+mouse_bt_send_systemctrl_key_data:
+	arg 3,rega
+	call hid_malloc_tx_buff
+	fetch 2,mem_hid_int_remote_cid
+	istore 2,contw
+	setarg 0x04a1		// pid:04  systemctrl key	
+	istore 2,contw
+	fetch 1,mem_pdatatemp
+	istore 1,contw
+	rtn		
+
+mouse_bt_release_keyboard_data:
+	fetch 8,mem_customer_key_release+1
+	branch mouse_bt_send_keyboard_data	
+
+
+
+
+
+mouse_bb_event_timer:
+	bpatch patch1b_0,mem_patch1b
+	call mouse_adc_read
+	call mouse_low_voltage_led_timer
+	//24g
+	call g24_pair_timeout_timer
+	call g24_reconn_timeout_timer
+	call mouse_24g_long_sleep_param_update_timer
+	//led
+	call mouse_device_poweron_timer
+	call mouse_dpi_led_blink_delay_timer
+	//poll
+	call mouse_dpi_key_check_long_press
+	call mouse_bt_discovery_check
+	call mouse_commbination_key_process
+	call mouse_check_discovery_timeout_timer
+	//ble
+	call mouse_check_direct_timeout_timer
+	call mouse_le_enable_att_list_timer
+	call mouse_le_battery_updata_timer
+	call mouse_le_send_smp_security_request_timer
+	//bt
+	call mouse_check_hid_handshake_timer
+	call mouse_bt_check_sniff_req_timeout_timer
+	call mouse_check_reconnect_delay_long_sleep		//delete 3.0,reconnect fail
+	call mouse_current_mult_update_timer
+	call mouse_wheel_trigger_timer
+	call mouse_store_information_delay_timer
+	branch mouse_check_no_data_timeout_timer
+
+
+
+
+mouse_bt_discovery_check:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit1 MOUSE_ENABLE_PB_BUTTON_LONG_PRESS_DISCONVERY,mouse_bt_discovery_by_pb_button
+	rtn
+
+mouse_bt_discovery_by_pb_button:
+	fetch 1,mem_select_device_button_statue
+	rtnne PB_BUTTON_STATE_DOWN
+	arg mem_bt_discovery_count,regc
+	arg mouse_long_button_bt_discovery,regb
+	branch timer_single_step
+		
+mouse_long_button_bt_discovery:
+	fetch 1,mem_device_flag
+	rtneq MODE_24G_DEVICE
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit1 MOUSE_BT_DISCOVERY_BUTTON_LONG_DOWN_FLAG
+	arg MOUSE_BT_DISCOVERY_BUTTON_LONG_DOWN_FLAG,queue
+	call mouse_enable_function_flag
+	call app_evt_button_long_pressed
+	branch mouse_bb_event_discovery_btn
+
+		
+mouse_commbination_key_process:
+	fetch 1,mem_device_flag
+	beq MODE_24G_DEVICE,mouse_24g_commbination_key_process
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit0 MOUSE_ENABLE_COMMBINATION_KEY_BY_BT_DISCOVERY
+	fetcht 1,mem_mouse_commbination_key_bt
+	branch mouse_commbination_key_start
+
+mouse_24g_commbination_key_process:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit0 MOUSE_ENABLE_COMMBINATION_KEY_BY_24G_PAIRING
+	fetcht 1,mem_mouse_commbination_key_24g
+mouse_commbination_key_start:
+	storet 1,mem_mouse_commbination_key
+	call mouse_check_key_gpio
+	and pdata,0x07,pdata
+	fetcht 1,mem_mouse_commbination_key
+	isub temp,null
+	branch mouse_commbination_key_down,zero
+mouse_commbination_key_up:
+	fetch 1,mem_ui_button_timeout
+	store 1,mem_combination_ui_button_count	//combination key timer init 
+	fetch 1,mem_commbination_key_statue
+	rtneq COMMBINATION_KEY_STATE_UP
+	jam COMMBINATION_KEY_STATE_UP,mem_commbination_key_statue	
+	rtn
+		
+mouse_commbination_key_down:
+	call mouse_combination_ui_timer
+	fetch 1,mem_commbination_key_statue
+	rtneq COMMBINATION_KEY_STATE_DOWN
+	jam COMMBINATION_KEY_STATE_DOWN,mem_commbination_key_statue
+	branch check_51cmd_bb_reconn_cancel
+
+
+mouse_combination_ui_timer:
+	arg mouse_24g_start_pair_mode,regb
+	arg mem_combination_ui_button_count,regc
+	fetch 1,mem_device_flag
+	beq MODE_24G_DEVICE,timer_single_step
+	arg mouse_long_button_bt_discovery,regb
+	call timer_single_step
+	fetch 1,mem_combination_ui_button_count
+	beq 1,mouse_bt_discovery_button_down_enable	// ble release key press
+	rtn
+
+
+
+mouse_check_discovery_timeout_timer:	
+	arg mem_mouse_discovery_timer,regc
+	arg mouse_check_discovery_timeout,regb
+	branch timer_single_step_2B
+
+mouse_check_discovery_timeout:
+	call mouse_stop_discovery
+	branch mouse_app_enter_hibernate
+
+
+mouse_check_direct_timeout_timer:	
+	arg mem_mouse_direct_timer,regc
+	arg mouse_check_direct_timeout,regb
+	call timer_single_step_2B
+	fetch 1,mem_mouse_direct_timer
+	beq 1,app_ble_stop_direct_adv
+	rtn
+
+mouse_check_direct_timeout:
+	fetch 1,mem_mouse_bluetooth_fast_conn_flag
+	beq 0xff,mouse_buletooth_fast_conn_end
+	fetch 1,mem_reconn_times
+	nbranch mouse_polling_device,blank
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit1 MOUSE_ENABLE_BT_RECONNECT_TIMEOUT_ENTER_DISCOVERY,mouse_start_discovery
+	bbit1 MOUSE_ENABLE_24G_FIRST_AUTO_PAIRING,mouse_24g_first_bb_event_reconn_timeout
+	branch mouse_app_enter_hibernate
+	
+mouse_le_enable_att_list_timer:
+	arg mem_le_start_encrypt_timer,regc
+	arg mouse_le_write_enable,regb
+	branch timer_single_step
+
+mouse_le_send_smp_security_request_timer:
+	fetch 1,mem_mouse_le_bb_connected_flag
+	rtn blank
+	arg mem_mouse_send_secutiry_request_timer,regc
+	arg mouse_le_pairing_sm_start_check,regb
+	branch timer_single_step
+mouse_le_pairing_sm_start_check:
+	fetch 1,mem_mouse_le_reconnect_flag
+	nrtn blank
+	fetch 1,mem_le_pairing_state
+	rtnne FLAG_LE_PAIRING_NULL
+	branch le_pairing_sm_start
+
+mouse_le_battery_updata_timer:
+	arg mem_le_battery_level_updata_timer,regc
+	arg mouse_le_battery_level_updata,regb
+	branch timer_single_step
+
+mouse_le_battery_level_updata:
+	fetch 2,mem_le_battery_level_updata_timer_init
+	store 2,mem_le_battery_level_updata_timer
+	branch mouse_fill_battery_level_le
+	
+mouse_le_enable_att_list:	
+	fetch 1,mem_le_connect_status_flag
+	rtnbit1 LL_PAIRING_SUCCESS_FLAG
+	call mouse_updata_le_param
+	arg WRITE_REQ_ENABLE_FLAG,queue
+	branch mouse_le_enable_connect_flag
+
+mouse_check_hid_handshake_timer:
+	arg mem_hid_handshake_timer_count,regc
+	arg mouse_bt_hid_handshake,regb
+	branch timer_single_step
+	
+mouse_bt_check_sniff_req_timeout_timer:
+	arg mem_mouse_bt_send_first_package_timer,regc
+	arg mouse_bt_send_first_package,regb
+	branch timer_single_step
+mouse_bt_send_first_package:
+	jam 1,mem_mouse_bt_send_first_package_flag
+	rtn
+
+mouse_check_reconnect_delay_long_sleep:
+	arg mem_mouse_bluetooth_reconnect_timeout,regc
+	arg mouse_app_enter_hibernate,regb
+	branch timer_single_step
+
+
+mouse_current_mult_update_timer:
+	arg mem_mouse_current_mult_timer,regc
+	arg mouse_current_mult_reinit,regb
+	branch timer_single_step
+mouse_current_mult_reinit:
+	fetch 1,mem_lpm_mult_init
+	store 1,mem_lpm_mult
+	jam 1,mem_mouse_long_mult_flag
+	rtn
+
+
+mouse_check_no_data_timeout_timer:	
+	fetch 1,mem_usb_addr
+	rtnbit1 7
+	arg mem_mouse_no_data_timer,regc
+	arg mouse_check_no_data_timeout,regb
+	branch timer_single_step_2B
+
+mouse_check_no_data_timeout:
+	fetch 1,mem_device_flag
+	beq MODE_24G_DEVICE,mouse_24g_hibernate_set
+	branch mouse_disconnect
+	
+mouse_no_data_timer_init:
+	fetch 2,mem_mouse_no_data_timeout
+	store 2,mem_mouse_no_data_timer
+	rtn
+
+mouse_store_information_delay_timer:
+	arg mem_store_information_delay_timer,regc
+	arg mouse_store_device_info_check,regb
+	branch timer_single_step
+
+mouse_store_device_info_check:
+	call mouse_store_device_info
+	fetch 1,mem_mouse_need_soft_reset
+	nbranch mouse_soft_reset,blank
+	rtn
+
+mouse_bb_event_discovery_btn:
+	isolate1 mark_24g,mark
+	call mouse_24g_stop,true
+	call mouse_disconnect
+	call mouse_le_clean_connect_flag
+	branch mouse_start_discovery
+	
+mouse_start_discovery:
+	bpatch patch1b_1,mem_patch1b
+	call mouse_bluetooth_fast_conn_disable
+	fetch 2,mem_ui_state_map
+	bbit1 UI_STATE_BLE_ADV,mouse_start_discovery_norandom
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit0 MOUSE_ENABLE_BLE_RANDOM_ADDRE,mouse_start_discovery_norandom
+	fetcht 2,mem_random_addr_increase_count
+	increase 1,temp
+	storet 2,mem_random_addr_increase_count
+	storet 2,mem_le_lap+1
+	random pdata					//random ble addr
+	store 1,mem_le_lap
+mouse_start_discovery_norandom:
+	fetch 3,mem_mouse_le_lap_temp
+	store 3,mem_le_lap+3
+	call app_lpm_mult_disable
+	fetch 2,mem_discovery_timeout
+	store 2,mem_mouse_discovery_timer
+	jam 6,mem_connection_options
+	setarg 0
+	store 2,mem_mouse_no_data_timer
+	store 1,mem_mouse_direct_timer
+	store 1,mem_mouse_bluetooth_reconnect_timeout
+	store 1,mem_mouse_device_poweron_timer_count
+	store 1,mem_mouse_clear_sensor_data_flag
+	arg MOUSE_STORE_EEPROM_FLAG,queue
+	call mouse_enable_function_flag
+	call mouse_bt_discovery_button_down_disable
+	fetch 1,mem_mouse_bluetooth_type
+	isolate1 MODE_4_MOUSE,pdata
+	call mouse_check_51cmd_adv,true
+	fetch 1,mem_mouse_bluetooth_type
+	isolate1 MODE_3_MOUSE,pdata
+	call check_51cmd_start_discovery,true
+	call mouse_low_voltage_led_blink_disable
+	branch mouse_discover_setting_led_gpio
+
+
+mouse_stop_discovery:
+	bpatch patch1b_2,mem_patch1b
+	arg MOUSE_BT_DISCOVERY_BUTTON_LONG_DOWN_FLAG,queue
+	call mouse_disable_function_flag
+	jam 0,mem_mouse_bluetooth_reconnect_timeout
+	fetch 1,mem_mouse_bluetooth_type
+	isolate1 MODE_4_MOUSE,pdata
+	call mouse_stop_le_adv,true
+	fetch 1,mem_mouse_bluetooth_type
+	isolate1 MODE_3_MOUSE,pdata
+	call mouse_stop_bt3_discovery,true
+	branch mouse_device_led_off
+mouse_stop_le_adv:
+	jam 0,mem_mouse_direct_timer
+	branch check_51cmd_stop_adv
+mouse_stop_bt3_discovery:
+	setarg 0
+	store 2,mem_mouse_discovery_timer
+	branch check_51cmd_stop_discovery
+
+mouse_store_remote_bdaddr:
+	bpatch patch1b_3,mem_patch1b
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit0 MOUSE_STORE_EEPROM_FLAG
+	call mouse_device_poweron_timer_init
+	arg MOUSE_STORE_EEPROM_FLAG,queue
+	call mouse_disable_function_flag
+	call mouse_check_device_addr
+mouse_unplug_clean_bdaddr:
+	call mouse_before_store_reconn_info
+	branch mouse_store_device_info_delay
+
+	
+mouse_check_device_addr:
+	fetch 1,mem_record_bt_mode
+	beq REC_4_MODE,mouse_check_le_device_addr
+	beq REC_3_MODE,mouse_check_bt_device_addr
+	rtn
+mouse_check_le_device_addr:
+	store 1,mem_device_addr_temp
+	fetch 6,mem_le_plap
+	branch mouse_check_bt_device_addr_common
+mouse_check_bt_device_addr:
+	store 1,mem_device_addr_temp
+	fetch 6,mem_plap
+mouse_check_bt_device_addr_common:
+	store 6,mem_device_addr_temp+1
+	fetch 7,mem_device_addr_temp
+	arg mem_device1_type,contr
+	arg 3,loopcnt
+mouse_check_device_addr_end:
+	ifetcht 7,contr
+	isub temp,null
+	branch mouse_clean_addr,zero
+	increase 22,contr
+	loop mouse_check_device_addr_end
+	rtn
+mouse_before_store_reconn_info:
+	arg mem_device1_type,rega
+	fetch 1,mem_device_flag
+	increase -1,pdata
+	mul32 pdata,29,pdata
+	iadd rega,rega
+	fetch 1,mem_record_bt_mode
+	istore 1,rega
+	beq REC_4_MODE,mouse_store_le_device
+	beq REC_3_MODE,mouse_store_bt_device
+	rtn
+	
+mouse_store_le_device:
+	fetch 6,mem_le_plap
+	istore 6,contw
+	arg mem_le_ltk,contr
+	call memcpy16
+	fetch 6,mem_le_lap
+	istore 6,contw
+	rtn
+mouse_store_bt_device:
+	fetch 6,mem_plap
+	istore 6,contw
+	arg mem_link_key,contr
+	branch memcpy16
+
+mouse_clean_addr:
+	increase -6,contr
+	copy contr,contw
+	fetcht 6,mem_device_addr_temp+1
+	increase 3,temp
+	istoret 6,contw
+	rtn
+	
+mouse_select_reconn_device:
+	arg mem_device1_type,rega
+	fetch 1,mem_device_flag
+	rtneq MODE_24G_DEVICE
+	increase -1,pdata
+	mul32 pdata,29,pdata
+	iadd rega,rega
+	ifetch 1,rega
+	store 1,mem_xrecord_mode
+	beq REC_3_MODE,mouse_load_bt_device
+	beq REC_4_MODE,mouse_load_le_device
+	rtn
+
+mouse_load_bt_device:
+	ifetch 6,contr
+mouse_load_bt_device_end:
+	store 6,mem_hci_plap
+	arg mem_link_key,contw
+	call memcpy16
+	branch check_link_key_load
+
+mouse_load_le_device:
+	ifetch 6,contr
+mouse_load_le_device_end:
+	store 6,mem_hci_plap
+	arg mem_le_ltk,contw
+	call memcpy16
+	ifetch 6,contr
+	store 6,mem_le_lap
+	rtn
+
+
+
+mouse_app_initflag_check:
+	fetch 2,mem_store_flag
+	arg EEPROM_INIT_FLAG,temp
+	isub temp,null
+	branch mouse_load_device_info,zero
+	storet 2,mem_store_flag
+	call mouse_ble_init_address
+	fetch 1,mem_device_flag_temp
+	store 1,mem_device_flag
+	fetch 1,mem_config_sensor_dpi
+	store 1,mem_mouse_dpi
+	fetch 4,mem_24g_fast_conn_addr
+	store 4,mem_24g_receiver_addr
+	store 4,mem_24g_addr	
+	rtn
+
+mouse_load_device_info:
+	call mouse_select_reconn_device
+	fetch 4,mem_mouse_24g_addr
+	store 4,mem_24g_receiver_addr
+	store 4,mem_24g_addr
+	rtn
+	
+mouse_ble_init_address:
+	fetch 6,mem_le_lap
+	store 6,mem_device1_locall_addr
+	add pdata,0x0100,pdata
+	store 6,mem_device2_locall_addr
+	add pdata,0x0100,pdata
+	store 6,mem_device3_locall_addr
+	rtn
+	
+
+mouse_store_device_info_delay:	
+	fetch 1,mem_store_information_delay_timer_init
+	store 1,mem_store_information_delay_timer
+	rtn
+
+mouse_store_device_info:
+	bpatch patch1b_4,mem_patch1b
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit1 MOUSE_ENABLE_EEPROM,mouse_store_eeprom_device_info
+	bbit1 MOUSE_ENABLE_FLASH,mouse_store_flash_device_info
+	rtn
+
+mouse_load_flash_info_check:
+	call spid_init_flash
+	call mouse_spid_flash_release_form_powerdown
+	call mouse_information_flash_parameters
+	call spid_read_flash
+	call mouse_spid_flash_powerdown
+	call mouse_app_initflag_check
+	branch mouse_sensor_spi_init
+
+
+mouse_information_flash_parameters:
+	setarg mem_mouse_information_end
+	arg mem_mouse_information_start,temp
+	isub temp,temp
+	fetch 3,mem_flash_base
+	arg mem_mouse_information_start,rega
+	rtn
+	
+mouse_store_flash_device_info:
+	call spid_init_flash
+	call mouse_spid_flash_release_form_powerdown
+	call mouse_flash_erase_sector
+
+	call mouse_information_flash_parameters
+	call mouse_spid_write_flash
+	call mouse_spid_flash_powerdown
+	branch mouse_sensor_spi_init
+
+mouse_spid_flash_release_form_powerdown:
+	jam FLASH_COMMAND_RELEASE_FROM_POWERDOWN,mem_temp
+mouse_spid_write_flash_cmd:
+	call delay_nop100
+	call spid_unlock_flash
+	arg mem_write_flash_head_temp,rega
+	fetcht 1,mem_temp
+	call mouse_spid_write_flash_cmd_common
+	branch delay_nop100
+
+mouse_spid_flash_powerdown:
+	jam FLASH_COMMAND_POWERDOWN,mem_temp
+	branch mouse_spid_write_flash_cmd
+
+mouse_spid_write_flash_cmd_common:
+	istoret 1,rega
+	rshift16 pdata,temp
+	istoret 1,contw
+	rshift8 pdata,temp
+	istoret 1,contw
+	istore 1,contw
+	deposit rega
+	store 2,core_spid_txaddr
+	setarg 0
+	store 2,core_spid_rxlen
+	jam spid_start,core_misc_ctrl
+	branch wait_spid_done
+		
+mouse_flash_erase_sector:
+	fetch 3,mem_flash_base
+	store 3,mem_spi_write_addr
+	branch spid_flash_erase_sector+2
+
+mouse_spid_write_flash:
+	copy pdata,regc
+	copy rega,pdata
+	increase -4,pdata
+	copy pdata,regb
+	ifetch 4,regb
+	store 4,mem_write_flash_head_temp
+	copy regc,pdata
+	call spid_write_flash
+	fetch 4,mem_write_flash_head_temp
+	istore 4,regb
+	rtn
+
+mouse_flash_power_down:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit0 MOUSE_ENABLE_FLASH
+	call mouse_spid_flash_powerdown
+	call twspi_enable	// 2 wire mode
+	fetcht 1,mem_spi_cs_gpio		//disable flash
+	call gpio_out_inactive
+	fetcht 1,mem_spi_hold_gpio
+	branch mouse_gpio_config_input_pd
+
+mouse_load_eeprom_info_check:
+	call iicd_read_init_pin
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	isolate1 MOUSE_ENABLE_2K_EEPROM,pdata
+	ncall clear_eeprom_size_2k,true
+	call mouse_eeprom_load_recon_info
+	branch mouse_app_initflag_check
+
+mouse_eeprom_load_recon_info:
+	arg 128,temp
+	arg mem_device_flag,rega
+	arg MOUSE_INFO_EEPROM_OFFECT,regb
+	branch iicd_read_eep_data
+
+mouse_store_eeprom_device_info:
+	arg 128,temp
+	arg mem_device_flag,rega
+	arg MOUSE_INFO_EEPROM_OFFECT,regb
+	branch iicd_write_protect_eep_data
+
+
+mouse_store_eerpom_dpi:
+	arg 1,temp
+	arg mem_mouse_dpi,rega
+	arg MOUSE_DPI_EEPROM_OFFECT,regb
+	branch iicd_write_protect_eep_data
+
+mouse_load_eeprom_dpi:
+	arg 1,temp
+	arg mem_mouse_dpi,rega
+	arg MOUSE_DPI_EEPROM_OFFECT,regb
+	branch iicd_read_eep_data
+
+
+
+mouse_idle:
+	bpatch patch1b_5,mem_patch1b
+	call mouse_low_voltage_led_no_enter_lpm
+	call ui_check_paring_button
+	call mouse_dpi_check
+	call mouse_select_device_check
+	call mouse_check_select_device_by_switch
+	call mouse_bt_button_check
+	branch mouse_wheel_check
+	
+mouse_select_device_check:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit1 MOUSE_ENABLE_SELECT_DEVICE_BY_PB_BUTTON,mouse_select_device_by_pb_button
+	bbit1 MOUSE_ENABLE_PB_BUTTON_LONG_PRESS_DISCONVERY,mouse_select_device_by_pb_button
+	rtn
+
+mouse_select_device_by_pb_button_check_once:
+	jam 0x03,mem_mouse_pbkey_press_status
+mouse_select_device_by_pb_button:	
+	fetch 1,mem_config_select_device_button_gpio
+	rtneq GPIO_DISABLE
+	arg 0,rega
+	jam MOUSE_PB_KEY,mem_mouse_key_temp
+	fetcht 1,mem_config_select_device_button_gpio
+	call mouse_pb_button_check
+	store 1,mem_mouse_pbkey_press_status
+	fetch 1,mem_matrix_public_gpio
+	beq GPIO_DISABLE,mouse_3io6key_pb_button_check_end	
+	call mouse_matrix_public_gpio_reset
+mouse_select_device_by_pb_button_exit:	
+	copy rega,pdata
+	bbit1 MOUSE_PB_KEY,mouse_select_device_button_down
+	branch mouse_select_device_button_up
+
+mouse_3io6key_pb_button_check_end:
+	fetcht 1,mem_config_select_device_button_gpio
+	call mouse_gpio_config_input_pu
+	branch mouse_select_device_by_pb_button_exit
+
+
+mouse_pb_button_check:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit1 MOUSE_ENABLE_PB_BUTTON_CONNECT_GND,mouse_pb_button_connect_gnd
+	fetch 1,mem_mouse_pbkey_press_status
+	copy pdata,regc
+	fetch 1,mem_matrix_public_gpio
+	beq GPIO_DISABLE,mouse_3io6key_check
+	fetch 1,mem_mouse_ghost_flag
+	nbranch mouse_select_device_by_pb_button_end,blank
+	branch mouse_pb_button_connect_matrix
+
+mouse_select_device_by_pb_button_end:
+	jam PB_BUTTON_STATE_UP,mem_select_device_button_statue
+	jam 0,mem_mouse_pbkey_press_status
+	rtn
+
+mouse_pb_button_connect_gnd:
+	fetch 1,mem_mouse_pbkey_press_status
+	branch mouse_check_key_connect_gnd
+
+mouse_pb_button_connect_matrix:
+	call gpio_get_bit
+	fetcht 1,mem_matrix_public_gpio
+	branch mouse_pb_button_connect_gnd,true
+	fetcht 1,mem_matrix_public_gpio
+	call gpio_out_active
+	fetcht 1,mem_config_select_device_button_gpio
+	fetch 1,mem_mouse_pbkey_press_status
+	branch mouse_check_key_connect_gnd
+	
+mouse_select_device_button_up:
+	fetch 1,mem_select_device_button_statue
+	rtneq PB_BUTTON_STATE_UP
+	jam PB_BUTTON_STATE_UP,mem_select_device_button_statue	
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit1 MOUSE_ENABLE_PB_BUTTON_SHORT_PRESS_ENTER_DISCOVERY
+	fetch 1,mem_bt_discovery_count
+	sub pdata,20,null
+	ncall mouse_ready_reconnection_by_button,positive		// press button less than 30-20=1000ms
+	fetch 1,mem_ui_button_timeout
+	store 1,mem_bt_discovery_count
+	rtn
+
+mouse_select_device_button_down:
+	call mouse_select_device_ghost_check
+	rtn user
+	fetch 1,mem_select_device_button_statue
+	rtneq PB_BUTTON_STATE_DOWN
+	jam PB_BUTTON_STATE_DOWN,mem_select_device_button_statue
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit1 MOUSE_ENABLE_PB_BUTTON_SHORT_PRESS_ENTER_DISCOVERY,mouse_long_button_bt_discovery
+	fetch 1,mem_mouse_direct_timer
+	rtn blank
+	fetch 1,mem_mouse_direct_timeout
+	store 1,mem_mouse_direct_timer
+	rtn
+
+mouse_select_device_ghost_check:
+	disable user
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit1 MOUSE_ENABLE_PB_BUTTON_CONNECT_GND
+	fetch 1,mem_mouse_lkey_press_status
+	rtn blank
+	fetch 1,mem_mouse_rkey_press_status
+	rtn blank
+	enable user
+	rtn
+	
+
+
+mouse_check_select_device_by_switch:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit1 MOUSE_ENABLE_SELECT_DEVICE_BY_SWITCH_GPIO,mouse_check_select_device_by_switch_gpio
+	bbit1 MOUSE_ENABLE_SELECT_DEVICE_BY_SWITCH_ADC,mouse_adc_read
+	rtn
+mouse_check_select_device_by_switch_gpio:	
+	fetcht 1,mem_device_switch_gpio
+	call mouse_gpio_config_input_pu
+	fetcht 1,mem_device_switch_gpio
+	call gpio_get_bit
+	branch mouse_check_select_24gdevice,true
+mouse_select_btdevice:
+	fetch 1,mem_device_flag
+	rtneq MODE_BT_DEVICE1
+	jam MODE_BT_DEVICE1,mem_device_flag
+	branch mouse_stop_bluetooth_mode
+	
+	
+mouse_check_select_24gdevice:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit0 MOUSE_ENABLE_SELECT_DEVICE_BY_SWITCH_ADC,mouse_check_select_24g_device
+	fetch 6,mem_mouse_vdd_switch_gnd_full_vol
+	store 6,mem_mouse_vdd_calculate_set
+mouse_check_select_24g_device:	
+	fetch 1,mem_device_flag
+	rtneq MODE_24G_DEVICE
+	jam MODE_24G_DEVICE,mem_device_flag
+	branch mouse_24g_stop
+
+	
+
+mouse_ready_reconnection_by_button:
+	bpatch patch1b_6,mem_patch1b
+	fetch 1,mem_device_number
+	rtneq 1		// 1channel
+	call mouse_select_device_number
+	storet 1,mem_device_flag
+mouse_store_device_number_before_reset:	
+	jam 0,mem_link_key_exists
+	call mouse_select_device_enable
+	call mouse_stop_bluetooth_mode
+	call mouse_select_device_disable
+	jam 1,mem_mouse_need_soft_reset
+	branch mouse_store_device_info_delay
+
+
+mouse_soft_reset:
+	call mouse_select_device_enable
+	branch soft_reset_chip
+
+mouse_select_device_number:
+	fetcht 1,mem_device_flag
+	increase 1,temp
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit1 MOUSE_ENABLE_24G,mouse_select_device_number_24g
+	sub temp,2,null
+	ncall mouse_select_device_count_clean_bt,positive
+	rtn
+	
+mouse_select_device_number_24g:	
+	fetch 1,mem_device_number
+	increase -1,pdata
+	isub temp,null
+	ncall mouse_select_device_count_clean_24g,positive
+	rtn
+
+mouse_select_device_count_clean_24g:
+	arg 0,temp
+	rtn
+mouse_select_device_count_clean_bt:
+	arg 1,temp
+	rtn
+
+
+mouse_store_device_number2eeprom:
+	arg 1,temp
+	arg mem_device_flag,rega
+	arg 0,regb
+	branch iicd_write_protect_eep_data
+		
+
+mouse_bt_button_check:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit0 MOUSE_ENABLE_PB_BUTTON_SHORT_PRESS_ENTER_DISCOVERY
+	call mouse_select_device_by_pb_button
+	rtn
+
+
+
+
+mouse_select_device_enable:
+	arg MOUSE_SELECT_DEVICE_FLAG,queue
+	branch mouse_enable_function_flag
+mouse_select_device_disable:
+	arg MOUSE_SELECT_DEVICE_FLAG,queue
+	branch mouse_disable_function_flag
+mouse_bt_cannel_reconn_enable:
+	arg MOUSE_BT_CANNEL_RECONN_FLAG,queue
+	branch mouse_enable_function_flag
+mouse_bt_cannel_reconn_disable:
+	arg MOUSE_BT_CANNEL_RECONN_FLAG,queue
+	branch mouse_disable_function_flag
+mouse_bt_discovery_button_down_enable:
+	arg MOUSE_BT_DISCOVERY_BUTTON_DOWN_FLAG,queue
+	branch mouse_enable_function_flag
+mouse_bt_discovery_button_down_disable:
+	arg MOUSE_BT_DISCOVERY_BUTTON_DOWN_FLAG,queue
+	branch mouse_disable_function_flag
+
+mouse_adc_read_enable:
+	arg MOUSE_ENABLE_ADC,queue
+	branch mouse_enable_function_flag
+
+mouse_24g_set_250Hz:
+	arg MOUSE_ENABLE_24G_250Hz,queue
+	branch mouse_enable_function_flag
+
+mouse_24g_search_dongle_enable:
+	arg MOUSE_ENABLE_24G_SEARCH_DONGLE,queue
+	branch mouse_enable_function_flag
+	
+mouse_16M_enable:
+	arg MOUSE_ENABLE_16M,queue
+	branch mouse_enable_function_flag
+	
+mouse_dpi_4level_enable:
+	arg MOUSE_ENABLE_DPI_LEVEL_4,queue
+	branch mouse_enable_function_flag
+
+
+mouse_enable_function_flag:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	qset1 pdata
+	store MOUSE_FLAG_LEN,mem_mouse_flag
+	rtn
+
+mouse_disable_function_flag:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	qset0 pdata
+	store MOUSE_FLAG_LEN,mem_mouse_flag
+	rtn
+
+mouse_customer_key_enable:
+	arg MOUSE_ENABLE_KEYBOARD,queue
+	call mouse_enable_function_flag
+	setarg 0
+	store 8,mem_customer_key_press
+	store 8,mem_customer_key_release
+	fetch 1,mem_mouse_enable_flag	// 00--win+d     01--ctrl+alt+a    02--AC home    03--play
+	and pdata,0xc0,pdata
+	beq 0x40,mouse_customer_key_ctrl_alt_a
+	beq 0x80,mouse_customer_AC_home
+	beq 0xc0,mouse_customer_key_play
+	setarg 0x070008
+mouse_customer_standrad_key_set:	
+	store 8,mem_customer_key_press+1		// win + d
+	rtn
+
+mouse_customer_key_ctrl_alt_a:
+	setarg 0x040005
+	branch mouse_customer_standrad_key_set
+
+	
+mouse_customer_AC_home:
+	setarg 0x022303
+mouse_customer_media_key_set:	
+	store 8,mem_customer_key_press
+	setarg 0x03
+	store 8,mem_customer_key_release
+	rtn
+	
+mouse_customer_key_play:
+	setarg 0x00cd03
+	branch mouse_customer_media_key_set
+
+	
+
+
+
+	
+mouse_polling_device:
+	bpatch patch1b_7,mem_patch1b
+	fetch 1,mem_reconn_times
+	increase -1,pdata
+	store 1,mem_reconn_times
+	fetcht 1,mem_device_flag
+	sub temp,1,null
+	ncall mouse_select_device_number,zero
+	storet 1,mem_device_flag
+	jam 0,mem_link_key_exists
+	call mouse_store_device_number2eeprom
+	call mouse_before_store_reconn_info
+	branch mouse_start_reconnect_device
+	
+
+
+//notice: need to call p_mouse_drawing_optima_init when waked from mult
+mouse_drawing_optima:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit0 MOUSE_ENABLE_SMOOTHER
+	fetch 4,mem_mouse_x
+	rtn blank
+	call mouse_data_abs_check
+	setarg 0x03	//asm_flag enable condition
+	call mouse_pdata_greater_than_check
+	call mouse_disable_asm,blank
+	ncall mouse_enable_asm,blank
+	setarg 0x02	//asm_flag disable condition
+	call mouse_data_less_than_check
+	call mouse_disable_asm,blank
+	fetch 1,mem_mouse_asm_flag
+	beq 1,mouse_drawing_optima_modify
+mouse_drawing_optima_init:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit0 MOUSE_ENABLE_SMOOTHER
+	arg 5,loopcnt
+	arg mem_mouse_asm_flag,contw
+	branch clear_mem
+
+mouse_drawing_optima_modify:
+	call mouse_drawing_optima_xy_offset_modify
+	fetch 2,mem_mouse_x_pre
+	store 2,mem_data_pre
+	fetch 2,mem_mouse_x
+	store 2,mem_data_current
+	call mouse_drawing_optima_data_x
+	fetch 2,mem_data_pre
+	store 2,mem_mouse_x_pre
+	fetch 2,mem_data_current
+	store 2,mem_mouse_x
+
+	fetch 2,mem_mouse_y_pre
+	store 2,mem_data_pre
+	fetch 2,mem_mouse_y
+	store 2,mem_data_current
+	call mouse_drawing_optima_data_y
+	fetch 2,mem_data_pre
+	store 2,mem_mouse_y_pre
+	fetch 2,mem_data_current
+	store 2,mem_mouse_y
+	rtn
+
+mouse_drawing_optima_xy_offset_modify:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit0 MOUSE_ENABLE_XY_OFFSET
+	fetch 2,mem_mouse_x_pre
+	store 2,mem_data_value
+	call mouse_pre_xy_data_judge
+	store 2,mem_mouse_x_pre
+	fetch 2,mem_mouse_x
+	store 2,mem_data_value
+	call mouse_current_xy_data_judge
+	store 2,mem_mouse_x
+	fetch 2,mem_mouse_y_pre
+	store 2,mem_data_value
+	call mouse_pre_xy_data_judge
+	store 2,mem_mouse_y_pre
+	fetch 2,mem_mouse_y
+	store 2,mem_data_value
+	call mouse_current_xy_data_judge
+	store 2,mem_mouse_y
+	rtn
+
+mouse_pre_xy_data_judge:	
+	fetch 1,mem_data_value+1
+	branch mouse_pre_xy_pdata_offset,blank
+	branch mouse_pre_xy_ndata_offset
+
+mouse_pre_xy_pdata_offset:
+	fetch 1,mem_data_value
+	call mouse_pre_xy_get_0_4_times
+	store 1,mem_data_value
+mouse_xy_data_offset_new:
+	fetch 2,mem_data_value
+	rtn
+mouse_pre_xy_ndata_offset:
+	fetch 1,mem_data_value
+	call mouse_pdata_invert
+	call mouse_pre_xy_get_0_4_times
+	call disable_blank,blank
+	call mouse_pdata_get_new_value
+	branch mouse_xy_data_offset_new
+	
+mouse_current_xy_data_judge:
+	fetch 1,mem_data_value+1
+	branch mouse_current_xy_pdata_offset,blank
+	branch mouse_current_xy_ndata_offset
+mouse_current_xy_pdata_offset:
+	fetch 1,mem_data_value
+	call mouse_current_xy_get_0_6_times
+	store 1,mem_data_value
+	branch mouse_xy_data_offset_new
+mouse_current_xy_ndata_offset:	
+	fetch 1,mem_data_value
+	call mouse_pdata_invert
+	call mouse_current_xy_get_0_6_times
+	call disable_blank,blank
+	call mouse_pdata_get_new_value
+	branch mouse_xy_data_offset_new
+	
+mouse_pre_xy_get_0_4_times:
+	mul32 pdata,4,pdata
+	div pdata,5
+	call wait_div_end
+	quotient pdata
+	rtn
+mouse_current_xy_get_0_6_times:	//0.6 times
+	mul32 pdata,12,pdata
+	div pdata,10
+	call wait_div_end
+	quotient pdata
+	rtn	
+	
+mouse_drawing_optima_data_x:
+	fetch 2,mem_data_pre
+	fetcht 2,mem_data_current
+	iadd temp,pdata
+	fetcht 1,mem_mouse_data_xtemp
+	iadd temp,pdata
+	and pdata,0x01,temp
+	storet 1,mem_mouse_data_xtemp
+	branch mouse_drawing_optima_data
+
+mouse_drawing_optima_data_y:
+	fetch 2,mem_data_pre
+	fetcht 2,mem_data_current
+	iadd temp,pdata
+	fetcht 1,mem_mouse_data_ytemp
+	iadd temp,pdata
+	and pdata,0x01,temp
+	storet 1,mem_mouse_data_ytemp
+	branch mouse_drawing_optima_data
+
+mouse_drawing_optima_data:
+	store 3,mem_data_sum
+	isolate1 16,pdata
+	branch mouse_data_sum_overflow,true
+	fetch 1,mem_data_sum+1
+	beq 0xff,mouse_data_sum_n
+	fetch 1,mem_data_sum
+mouse_data_store_pre:
+	rshift pdata,pdata
+	store 2,mem_data_pre
+	store 2,mem_data_current
+	rtn
+mouse_data_sum_overflow:
+	fetch 1,mem_data_sum+1	//sum positive
+	beq 0,mouse_data_sum_overflow_p
+	fetch 3,mem_data_sum	
+	branch mouse_data_store_pre
+mouse_data_sum_overflow_p:
+	jam 0,mem_data_sum+2
+	fetch 1,mem_data_sum
+	branch mouse_data_store_pre
+
+mouse_data_sum_n:
+	fetch 1,mem_data_sum	//sum negetive
+	call mouse_pdata_get_half
+	store 1,mem_data_pre
+	store 1,mem_data_current
+	branch mouse_data_zero,blank
+	setarg 0xff
+mouse_data_set_direction:	
+	store 1,mem_data_pre+1
+	store 1,mem_data_current+1
+	rtn
+mouse_data_zero:
+	setarg 0
+	branch mouse_data_set_direction
+
+mouse_pdata_get_half:
+	call mouse_pdata_invert
+	rshift pdata,pdata
+mouse_pdata_get_new_value:	
+	call mouse_rega_in_out
+	sub pdata,0,pdata
+	store 1,mem_data_value	
+	rtn
+
+mouse_pdata_invert:
+	sub pdata,0,pdata
+mouse_rega_in_out:	
+	store 1,mem_rega
+	fetch 1,mem_rega
+	rtn
+
+mouse_disable_asm:
+	jam 0,mem_mouse_asm_flag
+	rtn
+mouse_enable_asm:
+	jam 1,mem_mouse_asm_flag
+	rtn
+
+//rega mouse_x, regb mouse_y, pdata refer
+mouse_pdata_greater_than_check:
+	isub rega,null
+	nbranch disable_blank,positive
+	isub regb,null
+	nbranch disable_blank,positive
+	branch enable_blank
+mouse_data_less_than_check:
+	isub rega,null
+	nrtn positive
+	isub regb,null
+	nrtn positive
+	branch enable_blank
+
+mouse_data_abs_check:
+	fetch 2,mem_mouse_x
+	call mouse_data_abs
+	copy pdata,rega
+	fetch 2,mem_mouse_y
+	call mouse_data_abs
+	copy pdata,regb
+	rtn
+
+mouse_data_abs:
+	store 2,mem_data_current
+	fetch 1,mem_data_current+1
+	beq 0xff,mouse_data_reversal
+	fetch 1,mem_data_current
+mouse_data_abs_store:
+	and_into 0xff,pdata
+	//output:pdata
+	rtn
+mouse_data_reversal:
+	fetch 2,mem_data_current
+	sub pdata,0,pdata
+	branch mouse_data_abs_store
+
+mouse_24g_long_sleep_param_update_timer:
+	arg mem_24g_long_sleep_param_update_timer,regc
+	arg mouse_24g_long_sleep_normal_param,regb
+	branch timer_single_step
+mouse_24g_long_sleep_normal_param:
+	fetch 4,mem_24g_long_sleep_set1
+	store 4,mem_24g_enter_hibernate
+	jam 1,mem_mouse_long_mult_flag
+	rtn
+
+
+mouse_24g_long_sleep_set:
+	fetch 1,mem_24g_long_sleep_set_level
+	beq 0x00,mouse_24g_long_sleep_set_30ms
+	beq 0x01,mouse_24g_long_sleep_set_50ms
+	beq 0x02,mouse_24g_long_sleep_set_80ms
+	beq 0x03,mouse_24g_long_sleep_set_100ms
+mouse_24g_long_sleep_set_80ms:
+	setarg 0x0ea600
+mouse_24g_long_sleep_set_end:	
+	store 4,mem_24g_long_sleep_set1
+	rtn
+mouse_24g_long_sleep_set_30ms:
+	setarg 0x05e740
+	branch mouse_24g_long_sleep_set_end
+mouse_24g_long_sleep_set_50ms:
+	setarg 0x0927c0
+	branch mouse_24g_long_sleep_set_end
+mouse_24g_long_sleep_set_100ms:
+	setarg 0x124f80
+	branch mouse_24g_long_sleep_set_end
+
+	
+
+mouse_24g_hibernate_set:
+	jam 0,mem_24g_attempt_fail_flag
+	call g24_transmit_next_packet
+	setarg -1
+	store 4,mem_24g_enter_hibernate
+	setarg 0
+	store 7,mem_mouse_key
+	jam 1,mem_sensor_shutdown_flag
+	call mouse_sensor_powerdown
+	call mouse_setgpio_hibernate
+	branch g24_long_sleep
+
+mouse_wakeup_24g:
+	fetch 1,mem_sensor_shutdown_flag
+	ncall mouse_init_sensor_wakeup,blank
+	jam 0,mem_sensor_shutdown_flag
+	branch g24_transmit_no_ack
+
+mouse_24g_transmit_start:
+	fetch 1,mem_sensor_shutdown_flag
+	nbranch g24_short_sleep,blank
+	branch g24_transmit_start_next
+
+
+mouse_24g_stop:
+	set0 mark_24g,mark
+	jam STATE_24G_STOP,mem_24g_conn_sm
+	arg MOUSE_24G_PAIRING_FLAG,queue
+	branch mouse_disable_function_flag
+
+
+mouse_24g_start_mode:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit0 MOUSE_ENABLE_24G,mouse_24g_mode_setup_error
+	call mouse_wakeup_from_power_check	// wake from hibernate :enble user
+	branch mouse_24g_reconn_dongle_start,user
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit1 MOUSE_ENABLE_AUTO_24G_PARING,mouse_24g_reconn_general_dongle
+	bbit0 MOUSE_ENABLE_24G_POWER_ON_PAIRING,mouse_24g_reconn_general_dongle
+	call mouse_key_check_once
+	and pdata,0x07,pdata
+	fetcht 1,mem_mouse_commbination_key_24g
+	isub temp,null
+	branch mouse_24g_start_pair_mode,zero
+	branch mouse_24g_reconn_general_dongle
+
+mouse_24g_mode_setup_error:
+	fetch 1,mem_reconn_times
+	nbranch mouse_polling_device,blank
+	rtn
+
+mouse_24g_reconn_dongle_start:
+	fetch 2,mem_24g_reconn_timeout_init
+	store 2,mem_24g_reconn_timeout
+	jam RECEIVER_AND_3_0_ADDR,mem_24g_reconn_type
+	branch g24_reconn_start
+
+
+mouse_24g_first_start_auto_pair_mode:
+	call mouse_wakeup_from_power_check
+	branch mouse_24g_first_start_reconn,user  	// wake from hibernate :enble user
+mouse_24g_reconn_general_dongle:	
+	jam MODE_24G_DEVICE,mem_device_flag
+	fetch 2,mem_mouse_24g_power_on_fast_conn_timer
+	store 2,mem_24g_reconn_timeout
+	jam FAST_CONN_AND_3_0_ADDR,mem_24g_reconn_type
+	branch g24_reconn_start
+
+mouse_24g_start_auto_pair:
+	call mouse_discover_setting_led_gpio
+	fetch 2,mem_24g_pair_timeout_init
+	store 2,mem_24g_reconn_timeout
+	jam PAIR_AND_3_0_ADDR,mem_24g_reconn_type
+	branch g24_reconn_start
+
+
+mouse_24g_first_start_reconn:
+	fetch 1,mem_device_flag
+	beq MODE_24G_DEVICE,mouse_24g_reconn_dongle_start
+	call mouse_bluetooth_fast_conn_disable
+	branch mouse_24g_first_bluetooth_reconnect
+	
+mouse_24g_first_bluetooth_reconnect:
+	call mouse_24g_stop
+	call mouse_device_led_all_off
+	jam MODE_BT_DEVICE1,mem_device_flag
+	call mouse_select_reconn_device
+	branch mouse_start_reconnect_device
+
+mouse_24g_first_bb_event_reconn_timeout:
+	call mouse_wakeup_from_power_check
+	branch mouse_app_enter_hibernate,user
+	branch mouse_start_discovery
+
+
+mouse_24g_first_store_reconn_info:
+	call mouse_wakeup_from_power_check
+	rtn user
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit1 MOUSE_ENABLE_24G_FIRST_AUTO_PAIRING,mouse_store_device_info_delay
+	rtn
+
+mouse_24g_start_pair_mode:
+	arg MOUSE_24G_PAIRING_FLAG,queue
+	call mouse_enable_function_flag
+	setarg 0
+	store 2,mem_24g_reconn_timeout	
+	call mouse_stop_discovery
+	call mouse_low_voltage_led_blink_disable
+	call mouse_discover_setting_led_gpio
+	jam TYPE_MS,mem_24g_data_type
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit0 MOUSE_ENABLE_KEYBOARD,g24_pair_start
+	jam TYPE_KB,mem_24g_data_type
+	branch g24_pair_start
+
+	
+mouse_24g_attempt_fail:
+	fetch 1,mem_24g_attempt_fail_flag
+	nbranch mouse_24g_hibernate_set,blank
+	fetch 1,mem_24g_reconn_type
+	beq FAST_CONN_AND_3_0_ADDR,mouse_24g_fast_conn_attempt_fail
+	beq PAIR_AND_3_0_ADDR,mouse_24g_auto_pair_attempt_fail
+	beq RECEIVER_AND_3_0_ADDR,mouse_reconn_dongle_attempt_fail
+mouse_24g_attempt_fail_enter_hibernate:
+	call mouse_device_led_off
+	call mouse_24g_stop
+	fetch 1,mem_reconn_times
+	nbranch mouse_polling_device,blank
+	fetch 1,mem_device_flag
+	beq MODE_24G_DEVICE,mouse_app_enter_hibernate
+	rtn
+
+mouse_24g_fast_conn_attempt_fail:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag 
+	bbit1 MOUSE_ENABLE_24G_FIRST_AUTO_PAIRING,mouse_24g_start_auto_pair
+	bbit1 MOUSE_ENABLE_AUTO_24G_PARING,mouse_24g_start_auto_pair
+	branch mouse_24g_reconn_dongle_start
+
+
+mouse_24g_auto_pair_attempt_fail:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag 
+	bbit0 MOUSE_ENABLE_24G_FIRST_AUTO_PAIRING,mouse_24g_attempt_fail_enter_hibernate
+	fetch 1,mem_device_number
+	beq 1,mouse_24g_attempt_fail_enter_hibernate		//24g first mode and only 2.4g device
+	branch mouse_24g_first_bluetooth_reconnect
+
+mouse_reconn_dongle_attempt_fail:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit0 MOUSE_ENABLE_24G_FIRST_AUTO_PAIRING,mouse_24g_attempt_fail_enter_hibernate
+	bbit1 MOUSE_ENABLE_EEPROM,mouse_24g_attempt_fail_enter_hibernate
+	bbit1 MOUSE_ENABLE_FLASH,mouse_24g_attempt_fail_enter_hibernate
+	branch mouse_24g_start_auto_pair+1
+
+		
+mouse_24g_attempt_success:
+	call mouse_init_sensor_reset
+	jam 0,mem_mouse_long_mult_flag
+	jam 0,mem_24g_conn_sm
+	jam 0,mem_24g_reconn_type
+	fetch 4,mem_24g_receiver_addr
+	fetch 4,mem_24g_fast_conn_addr
+	isub temp,null
+	rtn zero
+	branch mouse_24g_first_store_reconn_info
+	
+mouse_24g_pairing_complete:
+	arg MOUSE_24G_PAIRING_FLAG,queue
+	call mouse_disable_function_flag
+	call mouse_device_poweron_timer_init
+	setarg 0
+	store 2,mem_24g_pair_timeout
+	store 2,mem_24g_reconn_timeout
+	store 1,mem_24g_conn_sm
+	store 1,mem_mouse_move_flag
+	store 1,mem_24g_reconn_type
+
+	call mouse_init_sensor_reset
+	call mouse_read_sensor_common
+	fetch 4,mem_24g_addr
+	store 4,mem_24g_receiver_addr
+	store 4,mem_mouse_24g_addr
+	branch mouse_store_device_info_delay
+
+mouse_24g_package_data:
+	rtnmark0 mark_24g
+	call mouse_motion
+	nrtn user
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit0 MOUSE_ENABLE_KEYBOARD,mouse_24g_mouse_package_data
+	fetch 1,mem_customer_key
+	nbranch mouse_24g_keyboard_package_data,blank
+mouse_24g_mouse_package_data:
+	call mouse_data_xy_release
+	fetch 1,mem_24g_data_type
+	bbit1 1,mouse_24g_mouse_package_data_now	// last package is keyboard data
+	fetcht 1,mem_24g_txbuf+1
+	fetch 1,mem_mouse_key
+	ior temp,pdata
+	store 1,mem_mouse_key
+	fetcht 1,mem_24g_txbuf+6
+	fetch 1,mem_mouse_z
+	iadd temp,pdata
+	store 1,mem_mouse_z
+	fetcht 1,mem_24g_txbuf+7
+	fetch 1,mem_mouse_tz
+	iadd temp,pdata
+	store 1,mem_mouse_tz	
+mouse_24g_mouse_package_data_now:	
+	jam TYPE_MS,mem_24g_data_type
+	arg 7,rega	//length
+	arg mem_mouse_key,regb //tx buff
+	fetch 2,mem_mouse_z
+	rtn blank
+	branch g24_transmit_by_interrupt_enable
+
+mouse_24g_keyboard_package_data:
+	jam TYPE_KB,mem_24g_data_type
+	arg 9,rega	//length
+	fetch 1,mem_customer_data_trigger
+	nbranch mouse_customer_key_press,blank
+	arg mem_customer_key_release,regb	//tx buff
+	rtn
+mouse_customer_key_press:
+	arg mem_customer_key_press,regb
+	rtn
+
+
+
+
+
+mouse_24g_search_dongle_init:
+	setarg 0
+	store 3,mem_mouse_search_dongle_action
+	rtn
+
+mouse_24g_search_dongle:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit0 MOUSE_ENABLE_24G_SEARCH_DONGLE
+	fetch 1,mem_mouse_long_mult_flag
+	rtn blank
+	fetch 1,mem_24g_abort_pac
+	rtn blank
+	fetch 1,mem_mouse_search_dongle_interval
+	increase 1,pdata
+	and_into 3,pdata
+	store 1,mem_mouse_search_dongle_interval
+	nrtn blank	//400ms
+	jam 0,mem_mouse_search_dongle_ch
+mouse_24g_search_dongle_loop:
+	fetch 1,mem_mouse_search_dongle_ch
+	increase 1,pdata
+	store 1,mem_mouse_search_dongle_ch
+	sub pdata,G24_CH_NUMBER,null
+	nbranch mouse_24g_search_dongle_loop_end,positive
+	call g24_reconn_data_prep
+	call g24_transmit_receive_ack
+	nbranch mouse_24g_search_dongle_loop_retry,sync
+	nbranch mouse_24g_search_dongle_loop_retry,user3
+	call mouse_g24_ackpayload_parse
+	call mouse_24g_search_dongle_success
+mouse_24g_search_dongle_loop_end:
+	call g24_txbuf_clear
+	fetch 1,mem_mouse_search_dongle_count
+	increase 1,pdata
+	store 1,mem_mouse_search_dongle_count
+	beq G24_CH_POLL_COUNT,mouse_24g_search_dongle_check
+	rtn
+
+mouse_24g_search_dongle_loop_retry:
+	call g24_ch
+	branch mouse_24g_search_dongle_loop
+
+mouse_24g_search_dongle_check:
+	jam 0,mem_mouse_search_dongle_count
+	fetch 1,mem_mouse_search_dongle_action
+	rtnbit1 G24_DISCONN_STATE
+	set1 G24_DISCONN_STATE,pdata
+	store 1,mem_mouse_search_dongle_action
+	fetch 2,mem_mouse_24g_search_dongle_time_init		//3min
+//	store 2,mem_mouse_no_data_timer
+//	branch mouse_sensor_powerdown
+	branch mouse_24g_hibernate_set
+
+
+mouse_24g_search_dongle_success:
+	fetch 1,mem_24g_abort_pac
+	branch mouse_24g_search_dongle_init,blank
+	jam 0,mem_mouse_search_dongle_count
+	fetch 1,mem_mouse_search_dongle_action
+	rtnbit0 G24_DISCONN_STATE
+	set0 G24_DISCONN_STATE,pdata
+	store 1,mem_mouse_search_dongle_action
+	call mouse_no_data_timer_init
+	branch mouse_init_sensor_wakeup
+
+mouse_g24_ackpayload_parse:
+	call g24_ackpayload_parse
+	fetch 1,mem_24g_rxbuf+1
+	compare 0x08,pdata,0xf8
+	nrtn true
+	fetch 1,mem_24g_rxbuf+2		// pc sleep mouse ackpayload: 01 08 ff
+	beq 0xff,mouse_24g_hibernate_set
+	rtn
+
+
+
+
+
+mouse_24g_before_lpm_sleep:
+	fetch 1,mem_device_flag
+	bne MODE_24G_DEVICE,lpm_sleep_skip_cb_function
+	fetch 1,mem_24g_disable_fec1
+	rtn blank
+mouse_peripheral_clock_off:
+	jam 2,core_clksel			//use rc clock
+	fetch 1,core_lpm_ctrl		//close xtal en reg
+	and pdata,0xfc,pdata
+	store 1,core_lpm_reg
+	branch lpm_write_ctrl
+
+
+
+
+
+mouse_device_poweron_timer:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit0 MOUSE_ENABLE_POWER_ON_LED
+	fetch 1,mem_mouse_device_poweron_timer_count
+	rtn blank
+	increase -1,pdata
+	store 1,mem_mouse_device_poweron_timer_count
+	branch mouse_device_led_off,blank
+	branch mouse_device_led_on
+	
+mouse_device_poweron_timer_init:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit0 MOUSE_ENABLE_POWER_ON_LED
+	call mouse_low_voltage_led_blink_disable
+	fetch 1,mem_mouse_device_poweron_timer_count_init
+	store 1,mem_mouse_device_poweron_timer_count
+	rtn	
+
+	
+mouse_discover_setting_led_gpio:
+	jam 0,mem_mouse_device_poweron_timer_count
+	fetch 2,mem_mouse_disconvey_led_blink_time
+	store 2,mem_mouse_on_time
+	store 2,mem_mouse_off_time	
+mouse_setting_led_gpio_comman:
+	fetch 1,mem_device_flag
+	beq MODE_24G_DEVICE,mouse_device_led_24g
+	beq MODE_BT_DEVICE1,mouse_device_led_bt1
+	beq MODE_BT_DEVICE2,mouse_device_led_bt2
+	rtn
+mouse_device_led_24g:
+	fetch 1,mem_config_device_24g_led_gpio
+	branch mouse_led_blink
+mouse_device_led_bt1:
+	fetch 1,mem_config_device_bt1_led_gpio
+	branch mouse_led_blink
+mouse_device_led_bt2:
+	fetch 1,mem_config_device_bt2_led_gpio
+mouse_led_blink:
+	store 1,mem_temp
+	call mouse_device_led_off
+	fetch 1,mem_temp
+	store 1,mem_mouse_struct_led_gpio
+	arg 0,rega
+	jam UI_LED_STATE_BLINK_START,mem_mouse_led_type
+	branch ui_led_blink_start_global
+
+
+mouse_dpi_led_blink_delay:
+	fetch 1,mem_dpi_led_gpio
+	rtneq GPIO_DISABLE
+	fetch 2,mem_mouse_discovery_timer
+	nrtn blank
+	fetch 2,mem_24g_pair_timeout
+	nrtn blank
+	fetch 2,mem_24g_reconn_timeout
+	nrtn blank
+	fetch 1,mem_mouse_device_poweron_timer_count
+	nrtn blank
+	fetch 1,mem_mouse_dpi_led_delay_count_init
+	branch mouse_dpi_led_blink_init,blank
+	store 1,mem_mouse_dpi_led_delay_count  //delay 1s led blink
+	rtn
+
+
+mouse_dpi_led_blink_delay_timer:
+	arg mem_mouse_dpi_led_delay_count,regc
+	arg mouse_dpi_led_blink_init,regb
+	branch timer_single_step	
+	
+mouse_dpi_led_blink_init:
+	fetch 1,mem_dpi_led_gpio
+	store 1,mem_mouse_struct_led_gpio
+	fetch 2,mem_mouse_dpi_led_blink_time
+	store 2,mem_mouse_on_time
+	store 2,mem_mouse_off_time
+	arg 0,rega
+	fetcht 1,mem_mouse_dpi
+	increase 1,temp
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit0 MOUSE_ENABLE_DPI_LEVEL_4,mouse_dpi_led_blink_init_end
+	increase 1,temp
+	sub temp,4,null
+	ncall mouse_dpi_led_blink_count_clean,positive		// blink count:2 3 4 1
+mouse_dpi_led_blink_init_end:	
+	storet 1,mem_mouse_blink_count
+	jam UI_LED_STATE_BLINK_START,mem_mouse_led_type
+	rtn
+
+mouse_dpi_led_blink_count_clean:
+	arg 1,temp
+	rtn
+
+mouse_check_dpi_blink:
+	disable user
+	fetch 1,mem_dpi_led_gpio
+	fetcht 1,mem_mouse_struct_led_gpio
+	isub temp,null
+	nrtn zero
+	fetch 1,mem_mouse_blink_count
+	rtn blank
+	jam 0,mem_adc_low_volatage_led_blink_enable
+	enable user
+	rtn
+
+mouse_device_led_all_off:
+	call mouse_dpi_led_off
+	call mouse_device_24g_led_off
+	call mouse_device_bt1_led_off
+	branch mouse_device_bt2_led_off
+
+mouse_device_led_off:
+	fetch 1,mem_device_flag
+	beq MODE_24G_DEVICE,mouse_device_24g_led_off
+	beq MODE_BT_DEVICE1,mouse_device_bt1_led_off
+	beq MODE_BT_DEVICE2,mouse_device_bt2_led_off
+	rtn
+
+mouse_device_24g_led_off:
+	jam 0,mem_24g_device_led_status
+	fetcht 1,mem_config_device_24g_led_gpio
+	branch mouse_led_off
+
+mouse_device_bt1_led_off:
+	fetcht 1,mem_config_device_bt1_led_gpio
+	branch mouse_led_off
+	
+mouse_device_bt2_led_off:
+	fetcht 1,mem_config_device_bt2_led_gpio
+	branch mouse_led_off
+
+mouse_dpi_led_off:
+	fetcht 1,mem_dpi_led_gpio
+	branch mouse_led_off
+
+mouse_device_led_on:
+	fetch 1,mem_device_flag
+	beq MODE_24G_DEVICE,mouse_device_24g_led_on
+	beq MODE_BT_DEVICE1,mouse_device_bt1_led_on
+	beq MODE_BT_DEVICE2,mouse_device_bt2_led_on
+	rtn
+
+mouse_device_24g_led_on:
+	fetcht 1,mem_config_device_24g_led_gpio
+	branch mouse_led_on
+mouse_device_bt1_led_on:
+	fetcht 1,mem_config_device_bt1_led_gpio
+	branch mouse_led_on
+mouse_device_bt2_led_on:
+	fetcht 1,mem_config_device_bt2_led_gpio
+	branch mouse_led_on
+
+mouse_led_off:
+	bpatch patch1c_0,mem_patch1c
+	storet 1,mem_mouse_struct_led_gpio
+	arg 0,rega
+	branch ui_led_off_global
+mouse_led_on:
+	bpatch patch1c_1,mem_patch1c
+	storet 1,mem_mouse_struct_led_gpio
+	arg 0,rega
+	branch ui_led_on_global
+
+mouse_ui_led_off_static:
+	fetch 1,mem_config_device_24g_led_gpio
+	isub temp,null
+	call mouse_clear_24g_led_statue,zero
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit0 MOUSE_ENABLE_4_LED,gpio_out_inactive
+	call mouse_check_bt2_led_off
+	call mouse_check_dpi_led_off
+	call mouse_check_low_v_led_off
+	fetch 1,mem_mouse_led_off_4_led
+	branch gpio_out_inactive,blank
+	jam 0,mem_mouse_led_off_4_led
+	branch gpio_set_high_impedance
+
+mouse_ui_led_on_static:
+	fetch 1,mem_config_device_24g_led_gpio
+	isub temp,null
+	call mouse_set_24g_led_statue,zero
+	branch gpio_out_active 
+
+
+mouse_check_bt2_led_off:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit0 MOUSE_ENABLE_BT2_FOR_4_LED
+	fetch 1,mem_config_device_bt2_led_gpio
+	branch mouse_check_1gpio_2led_off
+mouse_check_dpi_led_off:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit0 MOUSE_ENABLE_DPI_FOR_4_LED
+	fetch 1,mem_dpi_led_gpio
+	branch mouse_check_1gpio_2led_off
+mouse_check_low_v_led_off:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit0 MOUSE_ENABLE_LOW_V_FOR_4_LED
+	fetch 1,mem_config_low_voltage_alarm_gpio
+mouse_check_1gpio_2led_off:
+	isub temp,null
+	nrtn zero
+	jam 1,mem_mouse_led_off_4_led
+	rtn
+
+mouse_clear_24g_led_statue:
+	jam 0,mem_24g_device_led_status
+	rtn
+
+mouse_set_24g_led_statue:
+	jam 1,mem_24g_device_led_status
+	rtn
+
+mouse_low_voltage_led_timer:
+	fetch 2,mem_mouse_discovery_timer
+	nrtn blank
+	fetch 2,mem_24g_pair_timeout
+	nrtn blank
+	fetch 2,mem_24g_reconn_timeout
+	nrtn blank
+	fetch 1,mem_mouse_device_poweron_timer_count
+	nrtn blank
+	call mouse_check_dpi_blink
+	rtn user
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit0 MOUSE_ENABLE_LOW_VOLTAGE_LED
+	rtnbit0 MOUSE_LOW_VOLTAGE_FLAG
+	bbit1 MOUSE_ENABLE_LOW_VOLTAGE_LED_BLINK_N_SECOND,mouse_low_voltage_led_blink_new_data
+	fetch 1,mem_adc_low_volatage_led_timer_count
+	increase 1,pdata
+	store 1,mem_adc_low_volatage_led_timer_count
+	sub pdata,20,null
+	ncall mouse_adc_low_volatage_led_timer_count_clean,positive
+	beq 2,mouse_low_voltage_led_on
+	beq 4,mouse_low_voltage_led_off
+	beq 6,mouse_low_voltage_led_on
+	beq 8,mouse_low_voltage_led_off
+	rtn
+mouse_adc_low_volatage_led_timer_count_clean:
+	jam 1,mem_adc_low_volatage_led_timer_count
+	branch mouse_low_voltage_led_off
+mouse_low_voltage_led_on:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit1 MOUSE_ENABLE_LOW_VOLTAGE_USE_MODE_LED,mouse_device_led_on
+	fetch 1,mem_config_low_voltage_alarm_gpio
+	rtneq GPIO_DISABLE
+	fetcht 1,mem_config_low_voltage_alarm_gpio
+	branch mouse_led_on
+mouse_low_voltage_led_off:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit1 MOUSE_ENABLE_LOW_VOLTAGE_USE_MODE_LED,mouse_device_led_off
+	fetch 1,mem_config_low_voltage_alarm_gpio
+	rtneq GPIO_DISABLE
+	fetcht 1,mem_config_low_voltage_alarm_gpio
+	branch mouse_led_off
+
+mouse_low_voltage_led_blink_new_data:
+	fetch 2,mem_mouse_no_data_timeout
+	fetcht 2,mem_mouse_no_data_timer
+	isub temp,temp
+	fetch 2,mem_adc_low_volatage_led_blink_timer
+	isub temp,null
+	nbranch mouse_low_voltage_led_blink_disable,positive
+	fetch 1,mem_adc_low_volatage_led_blink_enable
+	nrtn blank
+	jam 1,mem_adc_low_volatage_led_blink_enable
+	branch mouse_low_voltage_led_blink_init
+	
+mouse_low_voltage_led_blink_init:
+	fetch 2,mem_mouse_low_v_led_blink_time
+	store 2,mem_mouse_on_time
+	store 2,mem_mouse_off_time
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit1 MOUSE_ENABLE_LOW_VOLTAGE_USE_MODE_LED,mouse_setting_led_gpio_comman
+	fetch 1,mem_config_low_voltage_alarm_gpio
+	rtneq GPIO_DISABLE
+	branch mouse_led_blink
+
+mouse_low_voltage_led_blink_disable:
+	jam 0,mem_adc_low_volatage_led_blink_enable
+	branch mouse_low_voltage_led_off
+
+
+mouse_low_voltage_led_no_enter_lpm:	
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit0 MOUSE_ENABLE_LOW_VOLTAGE_LED
+	rtnbit0 MOUSE_LOW_VOLTAGE_FLAG
+	bbit1 MOUSE_ENABLE_LOW_VOLTAGE_LED_BLINK_N_SECOND,mouse_low_voltage_led_no_enter_lpm_blink
+	fetch 1,mem_adc_low_volatage_led_timer_count
+	sub pdata,10,null
+	branch mouse_lpm_mode_clear,positive
+mouse_low_voltage_led_no_enter_lpm_next:	
+	fetch 1,mem_device_flag
+	beq MODE_24G_DEVICE,g24_transmit_by_interrupt_exit_check
+	jam 1,mem_lpm_mode
+	rtn
+
+g24_transmit_by_interrupt_exit_check:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag	
+	rtnbit1 MOUSE_ENABLE_24G_250Hz	
+	branch g24_transmit_by_interrupt_exit
+
+mouse_lpm_mode_clear:
+	fetch 1,mem_device_flag
+	beq MODE_24G_DEVICE,g24_transmit_by_interrupt_enable
+	jam 0,mem_lpm_mode
+	rtn
+
+mouse_low_voltage_led_no_enter_lpm_blink:
+	fetch 1,mem_adc_low_volatage_led_blink_enable
+	nbranch mouse_lpm_mode_clear,blank
+	branch mouse_low_voltage_led_no_enter_lpm_next
+	
+	
+	
+mouse_store_signal_rssi:
+	call rssi_hex2dec
+	fetch 1,mem_rssi
+	branch rssi_signal
+
+mouse_le_transmit:
+	call mouse_store_signal_rssi
+	branch power_ctrl_start
+
+mouse_bt_slave_match:
+	call mouse_store_signal_rssi
+	fetch 1,mem_state
+	isolate1 state_inconn,pdata
+	nrtn true
+	fetch 1,mem_arq
+	isolate1 wack,pdata
+	call power_ctrl_pac_succ_decrs,true
+	ncall power_ctrl_pac_succ_incrs,true
+	branch power_ctrl_start
+
+mouse_le_set_lpm_mult:
+	fetch 1,mem_le_connect_status_flag
+	compare 3,pdata,3
+	nbranch disable_blank,true
+	call app_lpm_mult_enable
+	branch enable_blank
+
+mouse_bt_set_lpm_mult:
+	call l2cap_malloc_is_fifo_empty
+	nrtn blank
+	jam 1,mem_current_sniff_attempt
+	jam 0,mem_current_sniff_timeout
+	branch enable_blank
+
+mouse_set_lpm_mult:
+	fetch 2,mem_ui_state_map
+	bbit1 UI_STATE_BLE_CONNECTED,mouse_le_set_lpm_mult
+	branch mouse_bt_set_lpm_mult
+
+
+
+
+
+remote_car_init:
+	rtn wake	
+	call keyscan_key_init
+	setarg remote_car_g24_package_data
+	store 2,mem_cb_24g_transmit_data
+
+	setarg remote_car_process_lpm_before
+	store 2,mem_cb_24g_lpm_before
+	
+	setarg remote_car_le_before_hibernate
+	store 2,mem_cb_before_hibernate
+	
+	setarg remote_car_scale_process_idle
+	store 2,mem_cb_idle_process	
+	
+	setarg remote_car_scale_process_bb_event
+	store 2,mem_cb_bb_event_process
+
+	setarg remote_car_event_timer
+	store 2,mem_cb_event_timer
+	
+	setarg remote_car_power_off_signal
+	store 2,mem_remote_car_power_off_cb
+	
+	setarg remote_car_soft_switch_power_on_signal
+	store 2,mem_remote_car_power_standby_cb
+	
+	
+	bpatch patch1c_2,mem_patch1c
+	call set_eeprom_size_2k
+	call remote_car_init_environment
+
+	call queue_init
+	fetch 1,mem_remote_car_config_soft_switch_enable
+	store 1,mem_remote_car_hard_soft_switch
+	beq HARD_SWITCH, remote_car_hard_switch_power_on_signal
+	fetch 1,mem_remote_car_config_soft_switch_gpio
+	store 1,mem_ui_button_gpio
+remote_car_soft_switch_power_on_init:
+	call remote_car_ui_led_init
+	call ui_button_init
+	call ui_button_polling
+	jam POWER_STARTING,mem_remote_car_power_state
+	fetch 2,mem_ui_state_map
+	rtnbit1 UI_STATE_BTN_DOWN
+	branch app_enter_hibernate
+
+
+
+remote_car_hard_switch_power_on_signal:
+	jam POWER_STANDBY,mem_remote_car_power_state
+remote_car_soft_switch_power_on_signal:
+	call remote_car_ui_led_init
+	arg 0,rega
+	call ui_led_blink_start_global
+	call remote_car_set_24g_addr_eeprom
+	call iicd_read_eep_data
+	call g24_factory_check
+	branch g24_pair_start,user
+	fetch 4,mem_24g_addr
+	store 4,mem_24g_receiver_addr
+	fetch 2,mem_24g_reconn_timeout_init
+	store 2,mem_24g_reconn_timeout
+	branch g24_reconn_start
+
+remote_car_set_24g_addr_eeprom:
+	arg 4,temp
+	arg mem_24g_addr,rega
+	arg REMOTE_INFO_EEPROM_OFFECT,regb
+	rtn
+
+
+remote_car_power_off_signal:	
+remote_car_ui_led_init:
+	bpatch patch1c_3,mem_patch1c
+	fetch 1,mem_remote_car_config_connect_led_gpio
+	bne INVALID_PIN_NUM,remote_car_pairing_led_gpio_set
+remote_car_ui_led_init_1:
+	fetcht 1, mem_remote_car_led_map
+	branch gpio_config_output
+remote_car_pairing_led_gpio_set:
+	store 1,mem_remote_car_led_map
+	branch remote_car_ui_led_init_1
+
+
+remote_car_init_environment:
+	call g24_transmit_init
+remote_no_data_timer_init:
+	fetch 2,mem_remote_car_no_data_timeout
+	store 2,mem_remote_car_no_data_timer
+	rtn
+
+remote_car_le_before_hibernate:
+	call remote_car_process_lpm_before
+remote_gpio_set_before_hibernate:
+	fetch 1,mem_remote_style_struct_led_gpio
+	set1 7,pdata
+	arg gpcfg_output_high,temp
+	branch gpio_config_function
+
+remote_car_process_lpm_before:
+	call gpio_set_before_lpm
+	branch keyscan_process_lpm_before
+
+remote_car_key_scan_process:
+	call keyscan_key_process
+	call get_remote_key_state
+	call remote_conn_led_state
+	branch send_data
+
+remote_conn_led_state:
+	fetch 1,mem_remote_car_24g_status
+	rtnne WORK_PAIRED
+	fetch 4,mem_remote_car_motor1_key0_press_state
+	branch remote_car_stop_state,blank
+	jam 0,mem_remote_car_no_data_check
+	enable user
+	branch check_51cmd_led_on
+remote_car_stop_state:
+	fetch 1,mem_remote_car_no_data_check
+	rtneq 0xff
+	pincrease 1
+	store 1,mem_remote_car_no_data_check
+	disable user
+	branch check_51cmd_led_off
+
+	
+get_remote_key_state:
+	fetcht 2,mem_key_value_retention
+	and temp,0x01,pdata
+	rshift temp,temp
+	store 1,mem_remote_car_motor1_key0_press_state
+	and temp,0x01,pdata
+	rshift temp,temp
+	store 1,mem_remote_car_motor1_key1_press_state
+	and temp,0x01,pdata
+	rshift temp,temp
+	store 1,mem_remote_car_motor2_key2_press_state
+	and temp,0x01,pdata
+	rshift temp,temp
+	store 1,mem_remote_car_motor2_key3_press_state
+	rtn
+send_data:
+	bpatch patch1c_4,mem_patch1c
+	call remote_car_fb_check
+	call remote_car_lr_check
+	call remote_car_no_data_timeout_check
+	nrtn user
+	branch remote_car_send_key 
+
+
+remote_car_no_data_timeout_check:
+	fetch 1,mem_remote_car_24g_status
+	rtnne WORK_PAIRED
+	fetch 1,mem_remote_car_no_data_check
+	rtn blank
+	sub pdata,1,null
+	nrtn positive
+	fetch 2,mem_24g_reconn_timeout_init
+	store 2,mem_24g_reconn_timeout
+	enable user
+	rtn
+
+
+	
+remote_car_fb_check:
+	fetch 1,mem_remote_car_motor1_key0_press_state
+	nbranch remote_car_send_motor1_key0_press,blank
+	fetch 1,mem_remote_car_motor1_key1_press_state
+	nbranch remote_car_send_motor1_key1_press,blank
+	branch remote_car_send_motor1_key0_rel
+	
+remote_car_lr_check:
+	fetch 1,mem_remote_car_motor2_key2_press_state
+	nbranch remote_car_send_motor2_key2_press,blank
+	fetch 1,mem_remote_car_motor2_key3_press_state
+	nbranch remote_car_send_motor2_key3_press,blank
+	branch remote_car_send_motor2_key2_rel
+
+
+remote_car_scale_process_idle:
+	call remote_car_24g_status_process
+	branch remote_car_key_scan_process
+
+remote_car_scale_process_bb_event:
+	copy regc,pdata
+	beq BT_EVT_BUTTON_UP,app_event_button_up
+	beq BT_EVT_BUTTON_LONG_PRESSED,app_button_long_pressed
+	beq BT_EVT_24G_PAIRING_COMPLETE,remote_car_24g_pairing_complete
+	beq BT_EVT_24G_ATTEMPT_SUCCESS,remote_car_24g_attempt_success
+	beq BT_EVT_24G_ATTEMPT_FAIL,remote_car_24g_attempt_fail
+	rtn
+
+remote_car_24g_attempt_fail:
+	branch g24_txbuf_clear
+
+remote_car_24g_pairing_complete:
+	call remote_car_set_24g_addr_eeprom
+	call iicd_write_protect_eep_data
+remote_car_24g_attempt_success:
+	jam 0,mem_24g_conn_sm
+	jam WORK_PAIRED,mem_remote_car_24g_auto_work_step
+	jam WORK_PAIRED,mem_remote_car_24g_pair_success_flag
+	rtn
+
+remote_car_24g_status_process:
+	fetch 1,mem_remote_car_24g_auto_work_step
+	rtneq POWER_ON
+	fetch 1,mem_remote_car_24g_status
+	rtneq WORK_PAIRED
+	jam WORK_PAIRED,mem_remote_car_24g_status
+remote_car_scale_process_paired:
+	arg 0,rega
+	branch ui_led_off_global
+remote_car_scale_process_shutdown:
+	arg 0,rega
+	call ui_led_off_global
+	call remote_car_ui_led_init
+	branch app_enter_hibernate
+	
+remote_car_event_timer:
+	call app_power_timer
+	call g24_pair_timeout_timer
+	call g24_reconn_timeout_timer	
+	branch remote_car_no_data_timer
+
+remote_car_no_data_timer:
+	fetch 1,mem_remote_car_config_timeout_shutdown_enable
+	rtn blank
+	fetch 1,mem_key_value_retention
+	nbranch remote_no_data_timer_init,blank
+	arg mem_remote_car_no_data_timer,regc
+	arg remote_car_scale_process_shutdown,regb
+	branch timer_single_step_2B
+
+
+//cross key,control front-back motor layout
+remote_car_send_motor1_key0_press:	//front
+	jam MOTOR_POSITIVE,mem_remote_car_24g_motor1_payload
+	rtn
+remote_car_send_motor1_key1_press:	//back
+	jam MOTOR_NEGATIVE,mem_remote_car_24g_motor1_payload
+	rtn
+remote_car_send_motor2_key2_press:	//left
+	jam MOTOR_POSITIVE,mem_remote_car_24g_motor2_payload
+	rtn
+remote_car_send_motor2_key3_press:	//right
+	jam MOTOR_NEGATIVE,mem_remote_car_24g_motor2_payload
+	rtn
+
+
+remote_car_send_motor1_key0_rel:
+remote_car_send_motor1_key1_rel:
+	jam MOTOR_STOP,mem_remote_car_24g_motor1_payload
+	rtn
+remote_car_send_motor2_key2_rel:
+remote_car_send_motor2_key3_rel:
+	jam MOTOR_STOP,mem_remote_car_24g_motor2_payload
+	rtn
+	
+remote_car_send_key:
+	arg mem_remote_car_24g_motor_packet,rega
+	branch queue_push
+remote_car_send_attack:
+	arg mem_remote_car_24g_fire_packet,rega
+	branch queue_push
+
+remote_car_g24_package_data:
+	fetch 1,mem_remote_car_24g_pair_success_flag
+	beq WORK_PAIRED,remote_car_g24_send_empty
+	arg mem_remote_car_24g_tx_temp,rega
+	call queue_pop
+	nbranch remote_car_moto_data,user
+remote_car_g24_package_data_continue:
+	arg mem_remote_car_24g_tx_temp,contr
+	ifetch 1,contr
+	copy pdata,rega
+	arg mem_remote_car_24g_tx_temp+1,regb
+	//rega: length
+	//regb: tx buffer
+	rtn
+	
+remote_car_g24_send_empty:
+	jam 0,mem_remote_car_24g_pair_success_flag
+	enable user
+	arg 1,rega
+	arg mem_remote_car_empty_packet,regb
+	rtn
+	
+remote_car_moto_data:
+	fetch 1,mem_remote_car_24g_tx_temp+3	//cmd
+	beq CAR_CMD_L_R_MOTOR_CONTROL,remote_car_moto_data_next
+	beq CAR_CMD_F_B_MOTOR_CONTROL,remote_car_moto_data_next
+	rtn
+remote_car_moto_data_next:
+	fetch 1,mem_remote_car_24g_tx_temp+6	//data moto1
+	nbranch remote_car_moto_data_enable_user,blank
+	fetch 1,mem_remote_car_24g_tx_temp+8	//data moto2
+	nbranch remote_car_moto_data_enable_user,blank
+	fetch 1,mem_remote_car_24g_tx_temp+10	//data moto3
+	nbranch remote_car_moto_data_enable_user,blank
+	rtn
+remote_car_moto_data_enable_user:
+	enable user
+	branch remote_car_g24_package_data_continue
+
+
+
+
+remote_car_default_init:
+	jam 0x14,mem_ui_button_timeout
+	jam 0x01,mem_ui_button_last_state
+	setarg 0x060f
+	store 2,mem_remote_car_queue_each_size
+	setarg mem_remote_car_queue_each_size
+	store 2,mem_queue_ptr
+	jam 0x01,mem_lpm_mode
+	jam 0x06,mem_lpm_overhead
+	jam 0x02,mem_lpm_mult_timeout
+	jam 0x00,mem_remote_car_hard_soft_switch
+	setarg mem_remote_style_led_type
+	store 2,mem_ui_led_struct_ptr
+	jam 0x01,mem_ui_led_struct_num
+	jam 0xff,mem_remote_style_blink_count
+	setarg 0x0296
+	store 2,mem_remote_style_on_time
+	setarg 0x073a
+	store 2,mem_remote_style_off_time
+	setarg mem_remote_car_soft_power
+	store 2,mem_power_param_ptr
+	setarg 0x0c0c
+	store 2,mem_remote_car_power_off_timeout
+	setarg mem_remote_car_keyscan
+	store 2,mem_keyscan_ptr
+	jam 0x00,mem_remote_car_config_soft_switch_enable
+	jam 0xff,mem_remote_car_config_connect_led_gpio
+	jam 0xff,mem_remote_car_config_soft_switch_gpio
+	jam 0x00,mem_remote_car_config_key_map
+	jam 0x00,mem_remote_car_config_layout
+	jam 0x00,mem_remote_car_config_check_way
+	jam 0x01,mem_remote_car_config_timeout_shutdown_enable
+	setarg 0x4e55
+	store 2,mem_current_vdd_value_default_mid_x
+	store 2,mem_current_vdd_value_default_mid_y
+	setarg 0x0007
+	store 2,mem_current_vdd_default_range
+	jam 0x02,mem_adc_config_flag
+	setsect 0,0x35a0c
+	setsect 1,0x11a
+	setsect 2,0x60
+	setsect 3,0x28
+	store 9,mem_remote_car_24g_motor_packet
+	setsect 0,0x2000a
+	setsect 1,0x02
+	istore 4,contw
+	setsect 0,0x35a08
+	setsect 1,0x19a
+	setsect 2,0x00
+	setsect 3,0x00
+	store 9,mem_remote_car_24g_fire_packet
+	setarg 0x0064
+	store 2,mem_remote_car_no_data_timeout
+	jam TX_POWER_0DB,mem_tx_power
+	jam 0x01,mem_24g_data_type		//24g init
+	jam 0x06,mem_24g_max_retry
+	jam 0x01,mem_24g_pair_switch
+	jam 0x00,mem_24g_fast_conn_enable
+	call g24_rx_window_init
+	call g24_interval_param_8ms
+	call g24_chmap_param_init
+	call g24_pair_param_init
+	setarg 0x0708
+	store 2,mem_24g_pair_timeout_init
+	setarg 0x0050
+	store 2,mem_24g_reconn_timeout_init
+	setarg 0x0a7700
+	store 3,mem_24g_long_sleep_set
+	setarg 0x604800
+	store 3,mem_24g_enter_hibernate
+	branch app_sys_param_init
+
+
+
+
+
+
+
+
+
+//define CLASSIC_SHUTTER_FUCTION
+
+shutter_init:
+	call enable_authrom
+	rtn wake
+	setarg shutter_le_before_hibernate
+	store 2,mem_cb_before_hibernate
+
+	setarg shutter_process_lpm_before
+	store 2,mem_cb_before_lpm
+	
+	setarg app_enter_hibernate
+	store 2,mem_cb_discovry_timeout
+	
+	setarg shutter_process_idle
+	store 2,mem_cb_idle_process
+		
+	setarg shutter_process_bb_event 
+	store 2,mem_cb_bb_event_process
+
+	setarg shutter_le_scale_lpm_lock
+	store 2,mem_cb_check_wakelock
+	
+	setarg ble_shutter_receive_data
+	store 2,mem_cb_att_write
+
+	setarg shutter_le_bb_event_timer
+	store 2,mem_cb_event_timer
+
+	setarg shutter_key_change
+	store 2,mem_cb_shutter_keycan
+
+	setarg shutter_soft_swtich_power_on
+	store 2,mem_shutter_soft_switch_poweron_callback_function
+	setarg shutter_soft_swtich_power_off
+	store 2,mem_shutter_soft_switch_poweroff_callback_function
+
+	call shutter_set_ble_version
+	call le_modified_name
+	call shutter_init_param	
+	call keyscan_key_init
+	call queue_init
+	call ui_led_init_global
+	
+	bpatch patch1c_5,mem_patch1c
+	call shutter_load_buffer_config_form_DataRom
+	fetch 1, mem_shutter_hard_soft_switch_case
+	beq HARD_SWITCH, shutter_hart_swtich_power_on
+	fetch 1,mem_shutter_soft_switch_button_gpio
+	store 1,mem_ui_button_gpio
+	branch ui_soft_swtich_init
+
+shutter_set_ble_version:
+	//set ble version  4.1 
+	jam 7,mem_lmp_version
+	rtn
+
+
+shutter_hart_swtich_power_on:
+	jam UI_BUTTON_GPIO_DISABLE,mem_ui_button_gpio
+	jam SS_STATE_POWER_ON,mem_shutter_soft_switch_power_state
+	branch shutter_start_reconnect
+
+
+
+shutter_le_scale_lpm_lock:
+	fetch 1,mem_shutter_soft_switch_power_state
+	beq SS_STATE_POWER_OFF,app_get_lpm_wake_lock
+	call l2cap_malloc_get_full_map
+	fetch 1,mem_used_map
+	nbranch app_get_lpm_wake_lock,blank
+	branch app_put_lpm_wake_lock
+
+
+
+shutter_process_bb_event:
+	copy regc,pdata
+	
+
+	beq BT_EVT_LE_CONNECTED,ble_shutter_process_baseband_connect
+	beq BT_EVT_LE_DISCONNECTED,ble_shutter_process_baseband_disconnect
+	beq BT_EVT_LE_RECONNECT_COMPLETE,ble_shutter_process_reconnect_complete
+	beq BT_EVT_LE_PARSE_CONN_PAPA_UPDATE_RSP,ble_shutter_process_parse_connect_parameter_update_response
+
+	beq BT_EVT_BUTTON_LONG_PRESSED,shutter_process_soft_swtich_button_long_press
+	beq BT_EVT_BUTTON_DOWN,shutter_process_soft_swtich_button_down
+	beq BT_EVT_BUTTON_UP,shutter_process_soft_swtich_button_up
+	rtn
+
+
+
+ble_shutter_process_baseband_connect:
+	call shutter_stop_bluetooth_discovery
+	setarg 0
+	store 2,mem_ble_shutter_reconn_timer
+	branch app_led_off
+
+
+ble_shutter_process_baseband_disconnect:
+	call queue_init
+	jam 0,mem_ble_shutter_enable_notify
+	branch shutter_start_reconnect
+
+
+ble_shutter_process_reconnect_complete:
+	call queue_init
+	jam 1,mem_ble_shutter_enable_notify
+	fetch 8,mem_ble_shutter_interval_min
+	store 8,mem_le_interval_min
+	call app_lpm_mult_enable
+	branch le_l2cap_tx_update_req
+
+
+ble_shutter_process_parse_connect_parameter_update_response:
+	fetch 2,mem_le_l2cap_signaling_conn_param_update_rsp_result
+	rtneq BLE_SIGNALING_CONNECT_PARAMETER_UPDATE_ACCEPTED
+	fetch 8,mem_ble_shutter_interval_min_new
+	rtn blank
+	store 8,mem_le_interval_min
+	branch le_l2cap_tx_update_req
+
+
+
+shutter_process_soft_swtich_button_long_press:
+	branch ui_soft_switch_botton_long_press
+
+shutter_process_soft_swtich_button_down:
+	fetch 1,mem_shutter_hard_soft_switch_case
+	rtneq HARD_SWITCH
+	fetch 1,mem_shutter_soft_switch_power_state
+	rtnne SS_STATE_POWER_ON
+	call shutter_store_currenct_led_state
+	branch app_led_on
+	
+shutter_store_currenct_led_state:
+	jam 1,mem_shutter_soft_swtich_botton_down
+	arg 11,loopcnt
+	arg mem_shutter_soft_swtich_led_struct_temp,contw
+	arg mem_shutter_led_struct_app_led,contr
+	branch memcpy
+	
+shutter_process_soft_swtich_button_up:
+	fetch 1,mem_shutter_hard_soft_switch_case
+	rtneq HARD_SWITCH
+	fetch 1,mem_shutter_soft_switch_power_state
+	beq SS_STATE_POWER_ON,shutter_load_currenct_led_state
+	branch ui_soft_switch_botton_up
+
+shutter_load_currenct_led_state:
+	fetch 1,mem_shutter_soft_swtich_botton_down
+	rtnne 1
+	jam 0,mem_shutter_soft_swtich_botton_down
+	fetch 2,mem_ui_state_map
+	bbit1 UI_STATE_BT_CONNECTED,app_led_off
+	bbit1 UI_STATE_BLE_CONNECTED,app_led_off
+	arg 11,loopcnt
+	arg mem_shutter_soft_swtich_led_struct_temp,contr
+	arg mem_shutter_led_struct_app_led,contw
+	branch memcpy
+	
+
+
+
+shutter_le_bb_event_timer:
+
+	call shutter_check_sleep_timer
+
+
+	call shutter_check_power_off_timer
+
+
+
+	branch ble_shutter_reconn_timer
+
+
+
+shutter_check_sleep_timer:
+	arg mem_shutter_sleep_timer,regc
+	arg shutter_sleep_timeout,regb
+	branch timer_single_step_2B
+shutter_sleep_timeout:
+	jam SS_STATE_POWER_OFF,mem_shutter_soft_switch_power_state
+	call app_led_off
+	call shutter_disconnect_current_connection
+	branch shutter_wait_power_off
+
+
+shutter_check_power_off_timer:
+	arg mem_shutter_power_off_timer,regc
+	arg shutter_check_power_off_timeout,regb
+	branch timer_single_step
+
+shutter_check_power_off_timeout:
+	fetch 2,mem_ui_state_map
+	bbit1 UI_STATE_BLE_CONNECTED,shutter_wait_power_off
+	bbit1 UI_STATE_BT_CONNECTED,shutter_wait_power_off
+	fetch 1,mem_shutter_led_struct_app_led_type
+	beq UI_LED_STATE_BLINK_START,shutter_wait_power_off
+	beq UI_LED_STATE_BLINK_LIGHTING,shutter_wait_power_off
+	beq UI_LED_STATE_BLINK_DARKING,shutter_wait_power_off
+	branch app_enter_hibernate
+
+
+ble_shutter_reconn_timer:
+	fetch 1,mem_shutter_soft_switch_power_state
+	rtnne SS_STATE_POWER_ON
+	arg mem_ble_shutter_reconn_timer,regc
+	arg shutter_start_bluetooth_discovery,regb
+	branch timer_single_step_2B
+
+
+shutter_process_idle:
+	call shutter_send_data_to_master
+	branch keyscan_key_process
+
+
+shutter_process_lpm_before:
+	call gpio_set_before_lpm
+	branch keyscan_process_lpm_before
+
+shutter_le_before_hibernate:
+	call gpio_set_before_lpm
+	branch disable_authrom
+
+//////////////////////////////////////////////////////////////////////////////////////////
+
+
+
+shutter_stop_bluetooth_discovery:
+	fetch 1,mem_shutter_bluetooth_type
+	bbit1 BLE_SHUTTER,ble_shutter_stop_bluetooth_discovery
+	rtn
+
+ble_shutter_stop_bluetooth_discovery:
+	fetch 2,mem_ble_shutter_connect_timeout
+	store 2,mem_shutter_sleep_timeout
+	store 2,mem_shutter_sleep_timer
+	branch app_ble_stop_adv
+	
+
+shutter_start_bluetooth_discovery:
+	fetch 1,mem_shutter_soft_switch_power_state
+	rtnne SS_STATE_POWER_ON
+	fetch 1,mem_shutter_bluetooth_type
+	bbit1 BLE_SHUTTER,ble_shutter_start_discovery
+	rtn
+ble_shutter_start_discovery:
+	fetch 2,mem_ui_state_map
+	rtnbit1 UI_STATE_BLE_CONNECTED
+	fetch 2,mem_ble_shutter_discovery_timeout
+	store 2,mem_shutter_sleep_timeout
+	store 2,mem_shutter_sleep_timer
+	fetch 2,mem_ble_shutter_discovery_adv_interval
+	call shutter_ble_adv_interval_set
+	call app_led_start_blink
+	fetch 4,mem_ble_shutter_discovery_blink_on_time
+	store 4,mem_shutter_led_struct_app_led_on_time
+	fetch 2,mem_ui_state_map
+	rtnbit1 UI_STATE_BLE_ADV
+	branch app_ble_start_adv
+
+
+shutter_start_reconnect:
+	fetch 1,mem_shutter_soft_switch_power_state
+	rtnne SS_STATE_POWER_ON
+	fetch 1,mem_shutter_bluetooth_type
+	bbit1 BLE_SHUTTER,ble_shutter_start_reconnect
+	rtn
+ble_shutter_start_reconnect:
+	fetch 2,mem_ble_shutter_reconn_timer
+	fetcht 2,mem_ble_shutter_reconn_timeout
+	storet 2,mem_ble_shutter_reconn_timer
+	nrtn blank
+	fetch 2,mem_ble_shutter_reconn_adv_interval
+	call shutter_ble_adv_interval_set
+	call app_led_start_blink
+	fetch 4,mem_ble_shutter_reconn_blink_on_time
+	store 4,mem_shutter_led_struct_app_led_on_time
+	fetch 2,mem_ui_state_map
+	rtnbit1 UI_STATE_BLE_ADV
+	branch app_ble_start_adv
+
+shutter_disconnect_current_connection:
+	fetch 2,mem_ui_state_map
+	bbit1 UI_STATE_BLE_CONNECTED,app_ble_disconnect
+	branch shutter_stop_bluetooth_discovery
+
+/////////////////////////////////////////////////////////////////////////
+//output:if user is enable,mean,can send data
+shutter_check_data_enable:
+	call disable_user
+	fetch 2,mem_ui_state_map
+	bbit1 UI_STATE_BLE_CONNECTED,shutter_check_ble_data_enable
+	rtn
+
+
+shutter_check_ble_data_enable:
+	fetch 1,mem_ble_shutter_enable_notify
+	rtn blank
+	branch enable_user
+/////////////////////////////////////////////////////////////////////////
+
+/////////////////////////////////////////////////////////////////////////
+//output:if user is enable,mean,bluetooth disconnect
+shutter_check_bluetooth_conn:
+	call disable_user
+	fetch 2,mem_ui_state_map
+	rtnbit1 UI_STATE_BT_CONNECTED
+	rtnbit1 UI_STATE_BLE_CONNECTED
+	branch enable_user
+/////////////////////////////////////////////////////////////////////////
+
+/////////////////////////////////////////////////////////////////////////
+shutter_change_bluetooth_status_bt_disconn:
+	fetch 1,mem_shutter_bluetooth_type
+	bbit1 BLE_SHUTTER,ble_shutter_change_bluetooth_status_bt_disconn
+	rtn
+ble_shutter_change_bluetooth_status_bt_disconn:
+	branch shutter_start_reconnect
+
+/////////////////////////////////////////////////////////////////////////
+
+shutter_check_send_data:
+	disable user2
+	fetch 2,mem_shutter_sleep_timeout
+	store 2,mem_shutter_sleep_timer
+
+	call shutter_check_bluetooth_conn
+	branch shutter_change_bluetooth_status_bt_disconn,user
+	
+	call shutter_check_data_enable
+	nrtn user
+	enable user2
+	rtn
+
+//queue = key index
+//rega =1 press, =0 release
+shutter_key_change:
+	call shutter_check_send_data
+	nrtn user2
+	deposit rega
+	branch shutter_key_release,blank
+shutter_key_press:
+	call app_led_on
+	arg mem_key0_press,regc
+	branch push_queue_press_or_release
+
+shutter_key_release:
+	call app_led_off
+	arg mem_key0_release,regc
+
+push_queue_press_or_release:
+	arg MAX_QUEUE_NUM,pdata
+	imul32 queue,pdata
+	iadd regc,regc
+	
+//input:regc the address that want push to queue buffer
+push_buffer_in_queue:
+	ifetch 1,regc
+	rtn blank
+	call queue_push_one_byte
+	increase 1,regc
+	branch push_buffer_in_queue
+
+
+shutter_send_data_to_master:
+	fetch 2,mem_ui_state_map
+	bbit1 UI_STATE_BLE_CONNECTED,pop_queue_to_ble_data
+	rtn
+
+pop_queue_to_ble_data:
+	call le_fifo_check_nearly_full
+	nrtn blank
+	call queue_pop_one_byte
+	nrtn user
+	pincrease -1
+	mul32 pdata,SHUTTER_BLE_DATA_BUFFER,pdata
+	arg mem_ble_data_buffer1,temp
+	iadd temp,contr
+	branch le_send_notify_from_list
+
+///////////queue function////////////
+//input:pdata is data that want push
+queue_push_one_byte:
+	store 1,mem_pdatatemp
+	arg mem_pdatatemp,rega
+	branch queue_push
+
+queue_pop_one_byte:
+	arg mem_pdatatemp,rega
+	call queue_pop
+	nrtn user
+	fetch 1,mem_pdatatemp
+	rtn
+
+///////////queue function ending////////////
+ble_shutter_receive_data:
+	fetch 2,mem_le_att_handle
+	beq GATT_KEYBOARD_WRITE_HANDLE,ble_shutter_process_reconnect_complete
+	rtn
+
+shutter_init_param:
+	setarg 0x02
+	store 1,mem_shutter_power_off_timeout
+/////////////ble connect interval//////////////
+	setarg 0x00200008
+	store 4,mem_ble_shutter_interval_min		//set min interval is 10ms,set max interval is 40ms
+	setarg 0x012c0005
+	istore 4,contw
+///////////////////////////////////////
+//////////////////MTU/////////////
+	jam 0x17,mem_le_local_mtu
+///////////////////////////////////////
+////////////////justwork/////////
+	setarg 0x1b
+ 	store 2,mem_le_pairing_handle
+ 	call le_set_config_fixed_ltk
+	call le_set_fixed_ltk
+	call le_set_justwork
+	branch le_set_config_read_authentication
+///////////////////////////////////////
+
+shutter_load_buffer_config_form_DataRom:
+///////load data Rom/////////
+	arg BLE_KEY_VALUE_LIST_SIZE,loopcnt
+	arg mem_ble_data_buffer1,contw
+	arg BLE_SHUTTER_KEY_VALUE_LIST,contr
+	branch memcpy_fast
+
+shutter_load_ble_gatt_form_DataRom:
+	arg BLE_GATT_LIST_SIZE,loopcnt
+	arg BLE_SHUTTER_GATT_LIST,contr
+	branch memcpy_fast
+
+	
+/////////////////////////////////////////////////////////////////
+shutter_soft_swtich_power_on:
+	branch shutter_start_reconnect
+
+
+shutter_soft_swtich_power_off:
+	arg 0,rega
+	arg mem_shutter_power_off_led_style,regc
+	call ui_led_set_style_global
+	call shutter_disconnect_current_connection
+shutter_wait_power_off:
+	fetch 1,mem_shutter_power_off_timeout
+	store 1,mem_shutter_power_off_timer
+	rtn
+	
+
+
+ui_soft_swtich_init:
+	setarg SS_STATE_POWER_UP
+	call ui_soft_swtich_init_power_on_time
+	jam UI_BUTTON_STATE_UP,mem_ui_button_last_state
+	call ui_button_init
+	call ui_button_polling
+	fetch 2,mem_ui_state_map
+	rtnbit1 UI_STATE_BTN_DOWN
+	branch app_enter_hibernate
+
+ui_soft_swtich_init_power_on_time:
+	fetcht 2,mem_power_param_ptr
+	istore 1,temp		//init power state 
+	ifetch 1,contw		//power on time
+	store 1,mem_ui_button_timeout
+	rtn
+
+
+ui_soft_switch_botton_up:
+	fetch 2,mem_power_param_ptr
+	ifetch 1,pdata
+	rtnne SS_STATE_POWER_UP
+	branch app_enter_hibernate
+
+
+ui_soft_switch_botton_long_press:
+	fetcht 2,mem_power_param_ptr
+	ifetch 1,temp
+	beq SS_STATE_POWER_ON,ui_soft_switch_power_off
+ui_soft_switch_power_on:
+	setarg SS_STATE_POWER_ON
+	fetcht 2,mem_power_param_ptr
+	istore 1,temp		//init power state 
+	add temp,SS_POWER_OFF_TIME,contr
+	ifetch 1,contr
+	istore 1,mem_ui_button_timeout
+	ifetch 2,contr
+	branch callback_func
+
+ui_soft_switch_power_off:
+	setarg SS_STATE_POWER_OFF
+	call ui_soft_swtich_init_power_on_time
+	add temp,SS_POWER_OFF_CB,contr
+	ifetch 2,contr
+	branch app_enter_hibernate,blank		//no call back function , just enter hibernate
+	branch callback_func
+	
+
+
+//pdata:adv interval value
+shutter_ble_adv_interval_set:
+	store 2,mem_lpm_interval
+	increase -4,pdata
+	store 2,mem_le_adv_interval
+	rtn
+
+le_send_notify_from_list:
+	ifetch 1,contr	//length 
+	copy pdata,rega
+	ifetcht 2,contr	//handle
+	call store_contr
+	call le_att_malloc_tx_notify
+	copy rega,loopcnt
+	call get_contr
+	branch memcpy
+
+
+shutter_default_init:
+	fetch 2,mem_shutter_key_conf0_temp
+	store 2,mem_shutter_key_conf0
+	fetch 1,mem_shutter_led_struct_app_led_gpio_temp
+	store 1,mem_shutter_led_struct_app_led_gpio
+	store 1,mem_shutter_power_off_led_style_gpio
+	fetch 1,mem_shutter_hard_soft_switch_case_temp
+	store 1,mem_shutter_hard_soft_switch_case
+	fetch 1,mem_shutter_soft_switch_button_gpio_temp
+	store 1,mem_shutter_soft_switch_button_gpio
+	jam 0x01,mem_shutter_bluetooth_type
+	setarg 0x0030
+	store 2,mem_classic_shutter_random_mac_offset_addr
+	setarg 0x0000
+	store 2,mem_shutter_config_eeprom_offset_addr
+	setarg 0x0001
+	store 2,mem_key0_press
+	store 2,mem_key1_press
+	setarg 0x0006
+	store 2,mem_key0_release
+	store 2,mem_key1_release
+	setarg 0x0007
+	store 2,mem_key2_press
+	setarg 0x0008
+	store 2,mem_key2_release
+	setarg mem_shutter_soft_switch_power_state
+	store 2,mem_power_param_ptr
+	setarg 0x201400
+	store 3,mem_shutter_soft_switch_power_state
+	jam 0x01,mem_lpm_mode
+	setarg 0x0100
+	store 2,mem_lpm_interval
+	jam 0x08,mem_lpm_overhead
+	jam 0x05,mem_lpm_mult
+	jam 0x02,mem_lpm_mult_timeout
+	setarg 0x0030
+	store 2,mem_sniff_param_interval
+	setarg 0x0001
+	istore 2,contw
+	jam 0x0a,mem_unsniff2sniff_timer
+	setarg 0x0096
+	store 2,mem_ble_shutter_reconn_blink_on_time
+	istore 2,contw
+	setarg 0x0296
+	store 2,mem_ble_shutter_discovery_blink_on_time
+	istore 2,contw
+	setsect 0,0x10
+	setsect 1,0x8008
+	setsect 2,0x2c000
+	setsect 3,0x04
+	store 8,mem_ble_shutter_interval_min_new
+	jam 0x01,mem_ui_led_struct_num
+	setarg mem_shutter_led_struct_app_led
+	store 2,mem_ui_led_struct_ptr
+	setarg 0x0000
+	store 2,mem_shutter_led_struct_app_led
+	setsect 0,0x1a0
+	setsect 1,0x68
+	setsect 2,0x00
+	setsect 3,0x00
+	store 8,mem_shutter_led_struct_app_led_on_time
+	setarg 0x0301
+	store 2,mem_shutter_power_off_led_style
+	setsect 0,0x1a0
+	setsect 1,0xe8
+	setsect 2,0x00
+	setsect 3,0x00
+	store 8,mem_shutter_power_off_led_style_on_time
+	setarg 0x000e
+	store 2,mem_ble_shutter_reconn_adv_interval
+	setarg 0x0140
+	store 2,mem_ble_shutter_discovery_adv_interval
+	store 2,mem_le_adv_interval
+	setarg 0x0050
+	store 2,mem_ble_shutter_reconn_timeout
+	jam 0x07,mem_le_adv_channel_map
+	jam 0x00,mem_le_adv_enable
+	setsect 0,0xfb
+	setsect 1,0x2c212
+	setsect 2,0x800f
+	setsect 3,0x21
+	store 8,mem_local_rx_max_octets
+	setsect 0,0x0bb8
+	setsect 1,0x02ee
+	store 4,mem_ble_shutter_discovery_timeout
+	setarg mem_queue_each_size
+	store 2,mem_queue_ptr
+	setarg 0x2001
+	store 2,mem_queue_each_size
+	jam 0x1f,mem_le_adv_data_len
+	setsect 0,0x10102
+	setsect 1,0x80c1
+	setsect 2,0x18120
+	setsect 3,0x640c
+	store 9,mem_le_adv_data
+	setsect 0,0x3c1
+	istore 2,contw
+	jam 0x1f,mem_le_scan_data_len
+	setsect 0,0x2090d
+	setsect 1,0x34c15
+	setsect 2,0x28532
+	setsect 3,0x1d1d5
+	store 9,mem_le_scan_data
+	setsect 0,0x26574
+	setsect 1,0x1c
+	istore 3,contw
+	setarg mem_shutter_keyscan
+	store 2,mem_keyscan_ptr
+	jam 0x02,mem_shutter_key_num
+	jam 0x17,mem_app_connection_options		//NVRAM CONFIG
+	setarg mem_shutter_nv_data
+	store 2,mem_nv_data_ptr
+	jam 0x05,mem_nv_data_number
+	setarg 0x2540
+	store 2,mem_class
+	setarg 0x040003
+	store 3,mem_lmp_io_cap_payload_iocap
+	jam 0x03,mem_ssp_mode_flag
+	jam 0x01,mem_ssp_enable
+	jam 0x01,mem_ui_profile_supported
+	jam 0x00,mem_ptt
+	setsect 0,0x3ffff
+	setsect 1,0x2fe23
+	setsect 2,0x199d9
+	setsect 3,0x20d
+	store 8,mem_features		//NVRAM CONFIG END
+	setarg 0x9af2	//BLE ATT LIST 
+	store 2,mem_ui_le_uuid_table	//BLE ATT LIST END
+	jam 0x01,mem_eir_enable	//BT SDP LIST
+	setsect 0,0x10306
+	setsect 1,0x4
+	setsect 2,0x2010
+	setsect 3,0x9040
+	store 9,mem_all_uuid_16bits
+	setsect 0,0x20011
+	setsect 1,0x44
+	istore 5,contw
+	jam 0x00,mem_all_uuid_128bits
+	setarg 0x9c70
+	store 2,mem_ui_uuid_table	//BT SDP LIST END
+	jam 0x18,mem_fcomp_div		//24M XTAL
+	call app_sys_param_init
+
+	//default name:AB Shutter3
+	arg 30,loopcnt
+	arg mem_le_name,contw
+	call clear_mem
+	jam 0x0b,mem_le_name_len
+	setarg 0x204241
+	store 3,mem_le_name
+	setarg 0x756853
+	istore 3,contw
+	setarg 0x657474
+	istore 3,contw
+	setarg 0x3372
+	istore 2,contw
+	fetch 1,mem_shutter_le_name_len
+	rtn blank
+	store 1,mem_le_name_len
+	copy pdata,loopcnt
+	arg mem_shutter_le_name,contr
+	arg mem_le_name,contw
+	branch memcpy
+	
+
+
+
+
+
+
+
+
+// Rf debug
+
+
+rf_debug_rx_gpio_low:
+	fetch 1,mem_rf_debug_rx_gpio
+rf_debug_gpio_low:
+	arg gpcfg_output_low,temp
+	branch gpio_config_function
+
+rf_debug_rx_on_line:
+rf_debug_rx_gpio_high:
+	fetch 1,mem_rf_debug_rx_gpio
+rf_debug_gpio_high:
+	arg gpcfg_output_high,temp
+	branch gpio_config_function
+
+rf_debug_rx_gpio_h_l_h:
+	call rf_debug_rx_gpio_high
+rf_debug_rx_gpio_l_h:
+	call rf_debug_rx_gpio_low
+	branch rf_debug_rx_gpio_high
+
+rf_debug_rx_gpio_l_h_l:
+rf_debug_shutdown_radio_line:
+	call rf_debug_rx_gpio_l_h
+rf_debug_rx_crc_line:
+	branch rf_debug_rx_gpio_low
+
+rf_debug_rx_sync_line:
+	branch rf_debug_rx_gpio_l_h
+
+rf_debug_rx_crc_fail_line:
+	call rf_debug_rx_gpio_l_h
+	branch rf_debug_rx_gpio_l_h_l
+
+rf_debug_rx_match_line:
+rf_debug_rx_crc_error_line:
+rf_debug_rx_sync_timeout_line:
+	branch rf_debug_rx_gpio_low
+
+
+rf_debug_tx_off_line:
+rf_debug_tx_gpio_low:
+	fetch 1,mem_rf_debug_tx_gpio
+	branch rf_debug_gpio_low
+
+rf_debug_tx_on_line:
+rf_debug_tx_gpio_high:
+	fetch 1,mem_rf_debug_tx_gpio
+	branch rf_debug_gpio_high
+
+rf_debug_tx_gpio_l_h_l:
+	call rf_debug_tx_gpio_low
+	call rf_debug_tx_gpio_high
+	branch rf_debug_tx_gpio_low
+
+	
+
+
+
+
+hci_init:
+	clear_stack		//清空堆栈
+	call hci_init_clksel
+	call hci_init_uart_default_config
+	call hci_init_uart_config
+	call hci_init_pwm_default_config
+	call hci_init_pwm
+
+	jam 1,mem_hci_command_complete_num_hci_command_packet
+	jam HCI_H4_TYPE_EVENT,mem_hci_event_head_type
+
+hci_process_loop:
+	call hci_process_check_uart_rx
+	branch hci_process_loop
+
+
+hci_init_clksel:
+	fetch 1,mem_tmp_buffer+EFUSE_OFFSET_HCI_BOOT_CLKSEL
+	bbit1 7,hci_init_clksel_xtal
+hci_init_clksel_dpll:
+	jam 0xff,core_clkpll_ctrl1
+	nop 100
+	jam 0x0e,core_clkpll_ctrl2
+	jam 0x03,core_clkpll_ctrl0
+	jam clksel_dpll,core_clksel
+	rtn
+	
+hci_init_clksel_xtal:
+	jam clksel_xtal,core_clksel
+	rtn
+
+hci_init_uart_default_config:
+	call hci_init_uart_default_config_tx
+	call hci_init_uart_default_config_rx
+	call hci_init_uart_default_config_rts
+	branch hci_init_uart_default_config_cts
+
+hci_init_uart_default_config_tx:
+	fetch 1,mem_hci_uart_tx_gpio
+	nrtn blank
+	jam HCI_UART_TX_GPIO_NUM,mem_hci_uart_tx_gpio
+	rtn	
+
+hci_init_uart_default_config_rx:
+	fetch 1,mem_hci_uart_rx_gpio
+	nrtn blank
+	jam HCI_UART_RX_GPIO_NUM,mem_hci_uart_rx_gpio
+	rtn	
+hci_init_uart_default_config_rts:
+	fetch 1,mem_hci_uart_rts_gpio
+	nrtn blank
+	jam HCI_UART_RTS_GPIO_NUM,mem_hci_uart_rts_gpio
+	rtn	
+hci_init_uart_default_config_cts:
+	fetch 1,mem_hci_uart_cts_gpio
+	nrtn blank
+	jam HCI_UART_CTS_GPIO_NUM,mem_hci_uart_cts_gpio
+	rtn	
+
+
+hci_init_uart_config:
+	setarg mem_h5rx_buf
+	store 2,mem_pdatatemp
+	setarg mem_h5rx_buf_end
+	istore 2,contw
+	setarg mem_h5tx_buf
+	istore 2,contw
+	setarg mem_h5tx_buf_end
+	istore 2,contw	
+	fetch 8,mem_pdatatemp
+	call uarta_init_dma_mem
+	fetch 1,mem_tmp_buffer+EFUSE_OFFSET_HCI_BOOT_CLKSEL
+	isolate1 7,pdata
+	call uart_clock_select_main_freq_crystal,true
+	ncall uart_clock_select_main_freq_dpll,true
+	arg 115200,temp
+	call uarta_calc_baud_rate_config
+	fetch 1,mem_hci_uart_tx_gpio
+	arg gpcfg_uart_txd,temp
+	call gpio_config_function_int
+	fetch 1,mem_hci_uart_rx_gpio
+	arg gpcfg_uart_rxd|gpcfg_pullup,temp
+	call gpio_config_function_int
+	fetch 1,mem_hci_uart_rts_gpio
+	arg gpcfg_uart_rts,temp
+	call gpio_config_function_int
+	fetch 1,mem_hci_uart_cts_gpio
+	arg gpcfg_uart_cts,temp
+	call gpio_config_function_int
+
+	arg FUN_UART_CONTROL_ENABLE|FUN_UART_CONTROL_SETTING_RATE_BAUD,temp
+	storet 1,core_uart_ctrl
+	branch clean_mem
+
+hci_init_pwm_default_config:
+	fetch 1,mem_hci_pwm_12mhz_gpio
+	nrtn blank
+	jam HCI_PMW_12MHZ_GPIO_NUM,mem_hci_pwm_12mhz_gpio
+	rtn	
+
+hci_init_pwm:
+	fetch 1,mem_hci_pwm_12mhz_gpio
+	arg gpcfg_pwm_out0,temp
+	call gpio_config_function_int
+	arg 0x40,rega
+	call pwm_init
+	arg 0,rega
+	arg 0,regb
+	setarg 0
+	call pwm_duty_cycle_set
+	arg 0,queue
+	branch pwm_set_select
+
+
+hci_process_check_uart_rx:
+	fetch 2,core_uart_rxitems
+	add pdata,-4,rega
+	nrtn positive
+	call uarta_prepare_rx
+	ifetch 1,contru
+	beq HCI_H4_TYPE_CMD,hci_parse_packet_cmd
+//	beq HCI_H4_TYPE_ACL,hci_parse_packet_acl
+	call delay_10ms
+	branch uarta_clear_current_rx
+
+//hci_parse_packet_acl:
+//	rtn
+hci_parse_packet_cmd:
+	ifetch 2,contru	// Opcode
+	store 2,mem_hci_opcode
+	arg 0x3ff,temp
+	iand temp,temp	//low 10bit
+	storet 2,mem_hci_opcode_ocf
+	rshift2 pdata,pdata
+	rshift8 pdata,pdata	//high 6bit
+	store 1,mem_hci_opcode_ogf
+	ifetch 1,contru	// parameter total length
+	pincrease -1		//大于等于
+	isub rega,null
+	rtn positive
+	call hci_parse_complete_packet
+	branch hci_drop_current_packet
+
+hci_parse_complete_packet:
+	fetch 1,mem_hci_opcode_ogf
+//	beq HCI_OGF_LINK_CONTROL,hci_parse_packet_cmd_ogf_link_control
+//	beq HCI_OGF_LINK_POLICY,hci_parse_packet_cmd_ogf_link_policy
+//	beq HCI_OGF_CONTROLLER_AND_BASEBAND,hci_parse_packet_cmd_ogf_controller_and_baseband
+//	beq HCI_OGF_INFOMATIONAL_PARAM,hci_parse_packet_cmd_ogf_infomational_parameters
+//	beq HCI_OGF_STATUS_PARAM,hci_parse_packet_cmd_ogf_status_parameters
+//	beq HCI_OGF_TEST,hci_parse_packet_cmd_ogf_testing
+//	beq HCI_OGF_LE_CONTROLLER,hci_parse_packet_cmd_ogf_le_controller
+	beq HCI_OGF_VENDOR_SPECIFIC_DEBUG,hci_parse_packet_cmd_ogf_vendorspecific_debug
+	branch hci_send_event_command_complete_error_command_nuknown
+
+//hci_parse_packet_cmd_ogf_link_control:
+//hci_parse_packet_cmd_ogf_link_policy:
+//hci_parse_packet_cmd_ogf_controller_and_baseband:
+//hci_parse_packet_cmd_ogf_infomational_parameters:
+//hci_parse_packet_cmd_ogf_status_parameters:
+//hci_parse_packet_cmd_ogf_testing:
+//hci_parse_packet_cmd_ogf_le_controller:
+
+hci_parse_packet_cmd_ogf_vendorspecific_debug:
+	bpatch patch1c_6,mem_patch1c
+	fetch 1,mem_hci_opcode_ocf
+	beq HCI_VENDOR_CMD_RESET,hci_normal_reply
+	beq HCI_VENDOR_CMD_CHIPID,phci_grp_vendor_chipid
+	beq HCI_VENDOR_CMD_BAUD,phci_grp_vendor_baud
+	beq HCI_VENDOR_CMD_PATCH,phci_grp_vendor_patch
+	beq HCI_VENDOR_CMD_PATCH_DONE,phci_grp_vendor_done
+	beq HCI_VENDOR_CMD_ECHO,hci_normal_reply
+	beq HCI_VENDOR_CMD_MEM,phci_grp_vendor_mem
+	beq HCI_VENDOR_CMD_SET_FLOW_CONTROL,phci_grp_vendor_flow_control
+	branch hci_normal_reply
+
+	
+phci_grp_vendor_chipid:
+	jam COMMAND_SUCCEEDED,mem_hci_command_complete_return_parameter
+	fetch 2,core_chipid
+	store 2,mem_hci_command_complete_return_parameter_chip_id
+	arg 3,loopcnt
+	branch hci_send_event_command_complete
+	
+phci_grp_vendor_baud:
+	ifetch 2,contu
+	store 2,core_uart_baud
+	rtn
+
+
+phci_grp_vendor_patch_common:
+	ifetch 1,contu
+	copy pdata,temp //check sum via temp
+	store 1,core_ucode_low
+	ifetch 1,contu
+	iadd temp,temp
+	set1 7,pdata
+	store 1,core_ucode_ctrl
+	ifetch 1,contu
+	iadd temp,temp
+	copy pdata,loopcnt
+	rtn
+	
+phci_grp_vendor_patch:
+	call phci_grp_vendor_patch_common
+phci_grp_vendor_patch_loop:
+	ifetch 1,contu
+	store 1,core_ucode_data
+	iadd temp,temp
+	loop phci_grp_vendor_patch_loop
+phci_grp_vendor_patch_check_sum:	
+	and temp,0xff,temp
+	ifetch 1,contu
+	isub temp,null
+	nbranch phci_grp_vendor_patch_bad,zero
+	branch hci_normal_reply
+
+phci_grp_vendor_done:
+	arg 0x20,loopcnt    //patch switch length
+	arg mem_patch00,contw
+	arg 0,temp //checksum
+phci_grp_vendor_done_loop:
+	ifetch 1,contu
+	istore 1,contw
+	iadd temp,temp
+	loop phci_grp_vendor_done_loop
+	and temp,0xff,temp
+	ifetch 1,contu
+	isub temp,null
+	nbranch phci_grp_vendor_patch_bad,zero
+	jam 0,core_ucode_ctrl
+	call hci_normal_reply
+	call wait_uarttx
+	branch soft_reset
+
+phci_grp_vendor_patch_bad:
+	jam 0,core_ucode_ctrl
+	branch hci_send_event_command_complete_error_command_nuknown
+	
+
+phci_grp_vendor_mem:
+	ifetch 1,contu
+	copy pdata,loopcnt
+	ifetch 2,contu
+	copy pdata,contw
+	call uart_copy_rx_bytes
+	branch hci_normal_reply
+
+phci_grp_vendor_flow_control:
+	fetch 1,core_uart_ctrl
+	set1 BIT_UART_CONTROL_FLOW_CONTROL,pdata
+	store 1,core_uart_ctrl
+	branch hci_normal_reply
+
+	
+hci_normal_reply:
+	branch hci_send_event_command_complete_without_payload
+
+hci_send_event_command_complete_error_command_nuknown:
+	jam COMMAND_UNKNOWN,mem_hci_command_complete_return_parameter
+	branch hci_send_event_command_complete_without_payload+1
+hci_send_event_command_complete_error_command_disallowed:
+	jam COMMAND_DISALLOWED,mem_hci_command_complete_return_parameter
+	branch hci_send_event_command_complete_without_payload+1
+hci_send_event_command_complete_without_payload:
+	jam COMMAND_SUCCEEDED,mem_hci_command_complete_return_parameter
+	arg 1,loopcnt
+	branch hci_send_event_command_complete
+
+hci_send_event_command_complete:
+	jam HCI_EVENT_COMMAND_COMPLETE,mem_hci_event_head_event_code
+	add loopcnt,3,pdata
+	store 1,mem_hci_event_para_total_length
+	call hci_prepare_send_event
+	fetch 3,mem_hci_command_complete_num_hci_command_packet
+	istore 3,contwu
+//	copy rega,contr
+	arg mem_hci_command_complete_return_parameter,contr
+	call uart_copy_tx_bytes
+	branch uarta_send_register_pop
+
+//mem_mesh_event_head_event_code:event code
+//mem_mesh_event_para_total_length:parameter total length
+hci_prepare_send_event:
+	call uarta_prepare_tx_register_push
+	fetch 3,mem_hci_event_head_type
+	istore 3,contwu
+	rtn
+
+hci_drop_current_packet:
+	call uarta_prepare_rx
+	increase 3,contru
+	ifetch 1,contru
+	iadd contru,contru
+	branch uarta_rxdone
+
+cmd_exit:
+	jam 0,mem_hci_cmd
+	rtn
+
+cmd_check_plap:
+	fetch 6,mem_hci_plap
+	fetcht 6,mem_plap
+	isub temp,null
+	rtn
+
+
+//handle the hid data
+
+hid_rx_process:
+	bpatch patch1c_7,mem_patch1c
+	fetch 2,mem_l2cap_payload_ptr
+	copy pdata,contr
+	ifetch 1,contr
+	store 1,mem_l2cap_rcv_hidtype
+	and pdata,0x0f,temp
+	rshift4 pdata,pdata //hidtype
+	beq hid_type_set_idle,hid_rx_process_handshake
+	beq hid_type_set_protocol,hid_rx_process_handshake
+	beq hid_type_data,hid_rx_process_data
+	beq HID_TYPE_SET_REPORT,hid_rx_process_set_report
+	beq HID_TYPE_CONTROL,hid_rx_process_hid_control
+	rtn
+
+hid_rx_process_hid_control:
+	copy temp,pdata
+	beq HID_CONTROL_P_VIRTUALCABLEUNPLUG,hid_rx_process_virtual_cable_unplug
+	beq HID_CONTROL_P_SUSPEND,hid_rx_process_suspend
+	rtn
+	
+hid_rx_process_virtual_cable_unplug:
+	jam BT_EVT_VIRTUAL_CABLE_UNPLUG,mem_fifo_temp
+	call ui_ipc_send_event
+	fetch 1,mem_device_option
+	rtnne dvc_op_mouse
+	copy temp,pdata
+	beq HID_CONTROL_P_VIRTUALCABLEUNPLUG,mouse_irtual_cable_unplug
+	rtn
+hid_rx_process_suspend:
+	rtn
+
+hid_rx_process_set_report:
+	call hid_rx_process_data
+	arg 0x01,rega
+	call hid_malloc_tx_buff
+	fetch 2,mem_hid_ctrl_remote_cid
+	istore 2,contw
+	setarg 0x00
+	istore 1,contw
+	rtn
+
+hid_rx_process_handshake:
+	arg 1,rega//payload length
+	call hid_malloc_tx_buff
+	fetch 2,mem_hid_ctrl_remote_cid
+	istore 2,contw
+	setarg 0
+	istore 1,contw
+	jam 1,mem_ui_data_txbuff_length
+	fetch 1,mem_hid_control_state
+	set1 l2cap_channel_hid_handshake_done,pdata
+	store 1,mem_hid_control_state
+	jam BT_EVT_HID_HANDSHAKE,mem_fifo_temp
+	call ui_ipc_send_event
+	fetch 1,mem_device_option
+	rtnne dvc_op_mouse
+	branch mouse_bt_hid_handshake_boot_check
+	
+
+hid_rx_process_data:
+	ifetch 1,contr
+	beq HID_REPORT_ID_KB,hid_rx_process_data_hid_kb
+	rtn
+
+hid_rx_process_data_hid_kb:
+	rtn
+
+	
+hid_malloc_tx_buff:
+	call l2cap_malloc
+	copy rega,temp
+	storet 1,mem_ui_data_txbuff_length
+	copy pdata,contw
+	copy rega,pdata
+	istore 2,contw //hid payload length
+	rtn
+
+
+
+
+	
+	
+
+
+
+	
+    
+	
+
+
+
+
+l2cap_init:
+	branch l2cap_init_wake,wake
+l2cap_init_work:
+	setarg mem_l2cap_xmem_end
+	arg mem_l2cap_xmem_start,contw
+	isub contw,loopcnt
+	call clear_mem
+l2cap_init_wake:	
+	bpatch patch1d_0,mem_patch1d
+	setarg mem_sdp_mem_end
+	arg mem_sdp_mem_start,contw
+	isub contw,loopcnt
+	call clear_mem
+	setarg mem_l2cap_mem_end
+	arg mem_l2cap_mem_start,contw
+	isub contw,loopcnt
+	call clear_mem
+	branch l2cap_lpm_load_txbuf
+	
+process_rx_l2cap_pkt:
+	bpatch patch1d_1,mem_patch1d
+	copy contr,temp
+	//call l2cap_malloc_is_fifo_full
+	//nrtn blank
+	copy temp,contr
+	ifetch 2,contr
+	store 2,mem_l2cap_rx_pkt_length
+	ifetch 2,contr
+	store 2,mem_l2cap_rx_cid
+	deposit contr
+	store 2,mem_l2cap_payload_ptr
+	fetch 1,memui_reconnect_mode
+	beq NO_RECONNECTION,l2cap_rx_multiplexing
+	branch ml2cap_rx_multiplexing
+
+l2cap_rx_multiplexing:
+	fetch 2, mem_l2cap_rx_pkt_length
+	branch l2cap_rx_reset_state,blank
+	bpatch patch1d_2,mem_patch1d
+	fetch 1,mem_l2cap_rx_cid
+	beq L2CAP_signal_channel,l2cap_call_proc_signal
+l2cap_rx_multiplexing0:
+	beq L2CAP_SDP_channel,l2cap_call_proc_sdp
+	beq L2CAP_RFCOMM_channel,l2cap_call_proc_rfcomm
+	beq L2CAP_HID_Control_channel,l2cap_call_proc_hid
+	beq L2CAP_HID_Interrupt_channel,l2cap_call_proc_hid
+	branch l2cap_rx_reset_state
+
+l2cap_check_map:
+//	call l2cap_malloc_is_fifo_full
+//	nrtn blank
+	bpatch patch1d_3,mem_patch1d
+	call l2cap_malloc_get_full_map
+	fetch 1,mem_used_map
+	beq 0,set_pdata_0
+	beq 1,set_pdata_0
+	beq 2,set_pdata_0
+	beq 3,set_pdata_0
+	beq 0x81,set_pdata_0
+	beq 0xc0,set_pdata_0
+	beq 0x80,set_pdata_0
+	beq 0x40,set_pdata_0
+	rtn
+
+l2cap_call_proc_signal:
+	call l2cap_check_map
+	nrtn blank
+l2cap_call_proc_signal0:
+	call l2cap_malloc_signal_channel
+	call l2cap_process_signal_pkt
+	fetcht 2,mem_l2cap_signal_tx_length
+	branch l2cap_call_proc_no_reply,blank
+	call l2cap_get_signal_tx_buff
+	fetch 2,mem_l2cap_signal_tx_length
+	istore 2,contw
+	force L2CAP_signal_channel,pdata
+	istore 2,contw
+	branch l2cap_rx_reset_state
+	
+l2cap_call_proc_sigal_pending:
+	fetch 1,mem_l2cap_pending_item
+	rtn blank
+	copy pdata,rega
+	bpatch patch1d_4,mem_patch1d
+	fetch 4,mem_l2cap_sdpres_delay_time
+	arg 0x100,temp
+	iadd temp,temp
+	copy clkn_bt,pdata
+	isub temp,null
+	nrtn positive
+	jam 0,mem_l2cap_pending_item
+	copy rega,pdata
+	beq L2CAP_SDP_channel,l2cap_sdp_conn_succ
+	branch assert
+l2cap_sdp_conn_succ:
+	arg 0,debug
+	call l2cap_malloc_signal_channel
+	call restore_l2cap_req_param
+	call l2cap_get_signal_tx_payload
+	call save_cont_pointers
+	call send_connection_sdp_res
+	call l2cap_get_signal_tx_buff
+	//fetch 2,mem_l2cap_signal_tx_length
+	setarg 0x000c
+	istore 2,contw
+	force L2CAP_signal_channel,pdata
+	istore 2,contw
+	branch l2cap_rx_reset_state
+
+
+
+l2cap_reset_sdp_map:
+	bpatch patch1d_5,mem_patch1d
+	fetch 2,mem_sdp_tx_pkt_length
+	increase 4,pdata
+	call rshift7
+	add pdata,1,temp ///temp: how many128
+	arg mem_tx_fifo3,contr
+	ifetch 3,contr
+	rtn blank
+	store 3,mem_tx_fifo_map_temp
+	fetch 1,mem_tx_fifo_map_temp
+	copy pdata,rega
+	call check_l2cap_map
+	copy regb,pdata
+	store 1,mem_tx_fifo3
+	rtn
+
+check_l2cap_map:
+	arg 0,queue
+	arg 0,regb
+
+check_l2cap_map_loop:
+	sub queue,7,null
+	nrtn positive
+	qisolate1 rega
+	branch check_l2cap_map_used,true
+	branch check_l2cap_map_used2
+
+check_l2cap_map_used:
+	copy temp,pdata
+	branch check_l2cap_map_used2,blank
+	qset1 regb
+	increase -1,temp
+
+check_l2cap_map_used2:
+	increase 1,queue
+	branch check_l2cap_map_loop
+
+l2cap_call_proc_sdp:
+	call l2cap_malloc_is_fifo_empty
+	nrtn blank// not process this packet until fifo empty
+	call l2cap_check_map
+	nrtn blank
+	call l2cap_malloc_sdp_channel
+	call enable_authrom
+	call sdp_process
+	call disable_authrom
+	call l2cap_reset_sdp_map
+	branch l2cap_call_proc_sdp_common
+
+	
+ml2cap_call_proc_sdp:
+	call l2cap_malloc_is_fifo_empty
+	nrtn blank// not process this packet until fifo empty
+	call l2cap_malloc_sdp_channel
+	call enable_authrom
+	call sdp_process
+	call disable_authrom
+l2cap_call_proc_sdp_common:
+	call l2cap_get_sdp_tx_buff
+	fetch 2,mem_sdp_tx_pkt_length
+	branch l2cap_call_proc_no_reply,blank
+	istore 2,contw
+	fetch 2,mem_sdp_remote_cid
+	istore 2,contw
+	branch l2cap_rx_reset_state
+
+l2cap_call_proc_hid:
+	call hid_rx_process
+	branch l2cap_rx_reset_state
+
+l2cap_call_proc_rfcomm:
+	bpatch patch1d_6,mem_patch1d
+	jam RFCOMM_MALLOC_SUCCEED,mem_rfcomm_malloc_fail_flag
+	call rfcomm_rx_process
+	fetch 1,mem_rfcomm_malloc_fail_flag
+	rtneq RFCOMM_MALLOC_FAIL
+	branch l2cap_rx_reset_state
+l2cap_call_proc_no_reply:
+	call l2cap_malloc_discard
+	//fall through
+l2cap_rx_reset_state:
+	setarg 0
+	store 2,mem_l2cap_rx_pkt_length
+	store 2,mem_l2cap_rx_cid
+	jam L2CAP_RX_DONE,mem_l2cap_rx_done
+	rtn
+
+l2cap_process_signal_pkt:
+	bpatch patch1d_7,mem_patch1d
+	call l2cap_get_signal_tx_payload
+	force 0,regb
+	fetch 2,mem_l2cap_rx_pkt_length
+	copy pdata,regc
+	fetch 2,mem_l2cap_payload_ptr
+	iforce contr
+l2cap_process_signal_pkt_loop:
+	call l2cap_process_one_signal
+	deposit regc
+	increase -4,regc
+	increase -4,pdata
+	nbranch l2cap_process_signal_pkt_loop,blank
+	copy regb,pdata
+	store 2,mem_l2cap_signal_tx_length
+	rtn
+
+l2cap_process_one_signal:
+	bpatch patch1e_0,mem_patch1e
+	ifetch 1,contr
+	beq signal_cmd_reject,l2cap_proc_signal_cmd_reject
+	beq signal_connect_req,l2cap_proc_signal_connect_req
+	beq signal_connect_rsp,l2cap_proc_signal_connect_rsp
+	beq signal_config_req,l2cap_proc_signal_config_req
+	beq signal_config_rsp,l2cap_proc_signal_config_rsp
+	beq signal_disconnect_req,l2cap_proc_signal_disconnect_req
+	beq signal_disconnect_rsp,l2cap_proc_signal_disconnect_rsp
+	beq signal_echo_req,l2cap_proc_signal_echo_req
+	beq signal_echo_rsp,l2cap_proc_signal_echo_rsp
+	beq signal_info_req,l2cap_proc_signal_info_req
+	beq signal_info_rsp,l2cap_proc_signal_info_rsp
+	call l2cap_reject_command
+l2cap_process_one_signal_rtn:
+	rtn
+
+l2cap_proc_signal_info_req:
+	ifetch 1,contr //IDs
+	copy pdata,queue
+	ifetch 2,contr //length
+	copy pdata,rega
+	copy regc,pdata
+	isub rega,regc
+	setarg signal_info_rsp
+	istore 1,contw
+	copy queue,pdata
+	istore 1, contw
+	ifetch 2,contr 
+l2cap_proc_signal_info_req_reply:
+	beq L2CAP_SIG_EXT_FEATRUE,l2cap_proc_signal_info_req_ext
+	beq L2CAP_SIG_FIX_FEATRUE,l2cap_proc_signal_info_req_fix
+	rtn
+l2cap_proc_signal_info_req_ext:
+	setarg 0x020008
+	istore 6, contw
+	setarg 0x0280
+	istore 4, contw
+	force 12,pdata
+	branch l2cap_proc_signal_info_req_common
+l2cap_proc_signal_info_req_fix:
+	setarg 0x3000c
+	istore 6, contw
+	setarg 0x0006
+	istore 8, contw
+	force 16,pdata
+l2cap_proc_signal_info_req_common:
+	iadd regb,regb
+	branch l2cap_process_one_signal_rtn
+	
+ml2cap_proc_signal_info_req:
+	ifetch 1,contr //IDs
+	copy pdata,queue
+	ifetch 2,contr //length
+	copy pdata,rega
+	ifetch 2,contr
+	store 2,mem_temp
+	copy regc,pdata
+	isub rega,regc 
+	call l2cap_get_signal_tx_payload
+	setarg signal_info_rsp
+	istore 1,contw
+	copy queue,pdata
+	istore 1,contw 
+	fetch 2,mem_temp
+	branch l2cap_proc_signal_info_req_reply
+
+
+
+l2cap_proc_signal_cmd_reject:
+	ifetch 1,contr
+	copy pdata,queue
+	ifetch 2,contr
+	copy pdata,rega
+	iadd contr,contr
+	copy regc,pdata
+	isub rega,regc
+l2cap_proc_signal_cmd_reject_rtn:
+	branch l2cap_process_one_signal_rtn
+
+l2cap_proc_signal_connect_req:
+	call save_cont_pointers
+	//fetch 6,mem_inquiry_bd_addr
+  	//store 6,mem_master_paged_bd_addr
+  	call load_cont_pointers
+	arg 0,debug
+	ifetch 1,contr
+	copy pdata,queue
+	ifetch 2,contr
+	copy pdata,rega
+	ifetch 2,contr
+	copy pdata,temp //PSM
+	ifetch 2,contr
+	copy pdata,timeup
+	bpatch patch1e_1,mem_patch1e
+	copy temp,pdata
+	beq PSM_SDP,l2cap_proc_signal_connect_req_sdp
+	beq PSM_RFCOMM,l2cap_proc_signal_connect_req_rfcomm
+	beq PSM_HID_control,l2cap_proc_signal_connect_req_hid_ctrl
+	beq PSM_HID_interrupt,l2cap_proc_signal_connect_req_hid_int
+	call l2cap_reject_command
+	branch l2cap_proc_signal_connect_req_rtn
+
+l2cap_proc_signal_connect_req_sdp:
+	call save_cont_pointers
+	arg L2CAP_SDP_channel,temp
+	fetch 2,mem_sdp_remote_cid
+	nbranch already_connected,blank
+	copy timeup,pdata
+	store 2,mem_sdp_remote_cid
+	copy clkn_bt,pdata
+	store 4,mem_l2cap_sdpres_delay_time
+	call store_l2cap_req_param
+	branch  send_connection_pending
+
+store_l2cap_req_param:
+	storet 2,mem_psm
+	deposit timeup
+	store 2,mem_scid
+	deposit rega
+	store 2,mem_cmd_length
+	deposit regb
+	store 2,mem_tt2
+	deposit regc
+	store 2,mem_tt3
+	deposit queue
+	store 2,mem_id
+	rtn
+
+restore_l2cap_req_param:
+	fetcht 2,mem_psm
+	fetch 2,mem_scid
+	copy pdata,timeup
+	fetch 2,mem_cmd_length
+	copy pdata,rega
+	fetch 2,mem_tt2
+	copy pdata,regb
+	fetch 2,mem_tt3
+	copy pdata,regc
+	fetch 2,mem_id
+	copy pdata,queue
+	rtn
+
+l2cap_proc_signal_connect_req_rfcomm:
+	call save_cont_pointers
+	setarg L2CAP_RFCOMM_channel
+	arg L2CAP_RFCOMM_channel,temp
+	fetch 2,mem_RFCOMM_remote_CID
+	nbranch already_connected,blank
+	copy timeup,pdata
+	store 2,mem_RFCOMM_remote_CID
+	fetch 1,mem_rfcomm_state
+	set1 L2CAP_CHANNEL_STATE_CONN_REQ,pdata
+	set1 L2CAP_CHANNEL_STATE_CONN_RES,pdata
+	store 1,mem_rfcomm_state
+	branch send_connection_res
+l2cap_proc_signal_connect_req_hid_ctrl:
+	call save_cont_pointers
+	arg L2CAP_HID_Control_channel,temp
+	fetch 2,mem_hid_ctrl_remote_cid
+	nbranch already_connected,blank
+	copy timeup,pdata
+	store 2,mem_hid_ctrl_remote_cid
+	fetch 1,mem_hid_control_state
+	set1 L2CAP_CHANNEL_STATE_CONN_REQ,pdata
+	set1 L2CAP_CHANNEL_STATE_CONN_RES,pdata
+	store 1,mem_hid_control_state
+	branch send_connection_res
+l2cap_proc_signal_connect_req_hid_int:
+	call save_cont_pointers
+	deposit clke
+	arg L2CAP_HID_Interrupt_channel,temp
+	fetch 2,mem_hid_int_remote_cid
+	nbranch already_connected,blank
+	copy timeup,pdata
+	store 2,mem_hid_int_remote_cid
+	fetch 1,mem_hid_interrupt_state
+	set1 L2CAP_CHANNEL_STATE_CONN_REQ,pdata
+	set1 L2CAP_CHANNEL_STATE_CONN_RES,pdata
+	store 1,mem_hid_interrupt_state
+	branch send_connection_res
+
+send_connection_pending:
+	setarg L2CAP_connect_pending
+	store 2,memL2CAP_T1
+	jam L2CAP_SDP_channel,mem_l2cap_pending_item
+	branch send_connection_res0
+send_connection_sdp_res:
+	fetch 1,mem_sdp_state
+	set1 L2CAP_CHANNEL_STATE_CONN_REQ,pdata
+	set1 L2CAP_CHANNEL_STATE_CONN_RES,pdata
+	store 1,mem_sdp_state
+send_connection_res:
+	setarg L2CAP_connect_successful
+	store 2,memL2CAP_T1
+send_connection_res0:
+	bpatch patch1e_2,mem_patch1e
+	call load_cont_pointers
+	setarg signal_connect_rsp
+	istore 1,contw
+	copy queue,pdata
+	istore 1,contw
+	setarg 0x0008
+	istore 2,contw
+	copy temp,pdata
+	istore 2,contw
+	copy timeup,pdata
+	istore 2,contw
+	fetch 2,memL2CAP_T1
+	beq L2CAP_connect_pending,connect_pending
+	isolate0 0,debug
+	branch connect_suc,true
+	setarg L2CAP_connect_refused_no_resources
+connect_suc:
+	istore 2,contw
+	force 0x0000,pdata
+	istore 2,contw
+	setarg 12
+	branch connect_req_update_byte_counts
+connect_pending:
+	istore 2,contw
+	force 0x0002,pdata
+	istore 2,contw
+	setarg 12
+	branch connect_req_update_byte_counts
+	
+already_connected:
+	set1 0,debug
+	branch send_connection_res
+connect_req_update_byte_counts:
+	iadd regb,regb
+	copy regc,pdata
+	isub rega,regc
+	branch l2cap_proc_signal_connect_req_rtn
+l2cap_proc_signal_connect_req_rtn:
+	branch l2cap_process_one_signal_rtn
+
+l2cap_proc_signal_connect_rsp:
+	ifetch 1,contr //identifier
+	copy pdata,queue
+	ifetch 2,contr //length
+	copy pdata,rega
+	copy regc,pdata
+	isub rega,regc
+	ifetch 2,contr //remote cid
+	copy pdata,timeup
+	ifetch 2,contr //local cid
+	copy pdata,temp
+	bpatch patch1e_3,mem_patch1e
+	setarg L2CAP_SDP_channel
+	isub temp,null
+	branch l2cap_proc_signal_connect_rsp_sdp,zero
+	setarg L2CAP_RFCOMM_channel
+	isub temp,null
+	branch l2cap_proc_signal_connect_rsp_rfcomm,zero
+	setarg L2CAP_HID_Control_channel
+	isub temp,null
+	branch l2cap_proc_signal_connect_rsp_hid_ctrl,zero
+	setarg L2CAP_HID_Interrupt_channel
+	isub temp,null
+	branch l2cap_proc_signal_connect_rsp_hid_int,zero
+	rtn
+
+l2cap_proc_signal_connect_rsp_sdp:
+	copy timeup,pdata
+	store 2,mem_sdp_remote_cid
+	fetch 1,mem_sdp_state
+	set1 L2CAP_CHANNEL_STATE_CONN_RES,pdata
+	store 1,mem_sdp_state
+	branch l2cap_process_one_signal_rtn
+l2cap_proc_signal_connect_rsp_rfcomm:
+	copy timeup,pdata
+	store 2,mem_rfcomm_remote_CID
+	fetch 1,mem_rfcomm_state
+	set1 L2CAP_CHANNEL_STATE_CONN_RES,pdata
+	store 1,mem_rfcomm_state
+	rtn
+l2cap_proc_signal_connect_rsp_hid_int:
+	copy timeup,pdata
+	store 2,mem_hid_ctrl_remote_cid
+	fetch 1,mem_hid_interrupt_state
+	set1 L2CAP_CHANNEL_STATE_CONN_RES,pdata
+	store 1,mem_hid_interrupt_state
+	rtn
+l2cap_proc_signal_connect_rsp_hid_ctrl:
+	copy timeup,pdata
+	store 2,mem_hid_int_remote_cid
+	fetch 1,mem_hid_control_state
+	set1 L2CAP_CHANNEL_STATE_CONN_RES,pdata
+	store 1,mem_hid_control_state
+	rtn
+
+l2cap_proc_signal_config_req:
+	ifetch 1,contr//identifier
+	copy pdata,queue
+	ifetch 2,contr//length
+	copy pdata,rega
+	copy regc,pdata
+	isub rega,regc
+	ifetch 2,contr//dest cid
+	copy pdata,temp
+	copy temp,rega
+	bpatch patch1e_4,mem_patch1e
+	setarg L2CAP_SDP_channel
+	isub temp,null
+	branch l2cap_proc_signal_config_req_sdp,zero
+	setarg L2CAP_RFCOMM_channel
+	isub temp,null
+	branch l2cap_proc_signal_config_req_rfcomm,zero
+	setarg L2CAP_HID_Control_channel
+	isub temp,null
+	branch l2cap_proc_signal_config_req_hid_ctrl,zero
+	setarg L2CAP_HID_Interrupt_channel
+	isub temp,null
+	branch l2cap_proc_signal_config_req_hid_int,zero
+	branch l2cap_reject_command
+	//branch L2CAP_proc_signal_config_req_rtn
+l2cap_proc_signal_config_req_sdp:
+	copy contw, timeup
+	fetch 1,mem_sdp_state
+	set1 L2CAP_CHANNEL_STATE_RCV_CFG_REQ,pdata
+	set1 L2CAP_CHANNEL_STATE_SND_CFG_RES,pdata
+	//set1 L2CAP_CHANNEL_STATE_SND_CFG_REQ,pdata
+	store 1,mem_sdp_state
+	copy timeup,contw
+	arg L2CAP_SDP_channel,timeup
+	fetch 2,mem_sdp_remote_cid
+	copy pdata,temp
+	branch l2cap_send_config_rsp
+l2cap_proc_signal_config_req_hid_ctrl:
+	copy contw, timeup
+	fetch 1,mem_hid_control_state
+	set1 L2CAP_CHANNEL_STATE_RCV_CFG_REQ,pdata
+	set1 L2CAP_CHANNEL_STATE_SND_CFG_RES,pdata
+	//set1 L2CAP_CHANNEL_STATE_SND_CFG_REQ,pdata
+	store 1,mem_hid_control_state
+	copy timeup,contw
+	arg L2CAP_HID_Control_channel,timeup
+	fetch 2,mem_hid_ctrl_remote_cid
+	copy pdata,temp
+	branch l2cap_send_config_rsp
+l2cap_proc_signal_config_req_hid_int:
+	copy contw, timeup
+	fetch 1,mem_hid_interrupt_state
+	set1 L2CAP_CHANNEL_STATE_RCV_CFG_REQ,pdata
+	set1 L2CAP_CHANNEL_STATE_SND_CFG_RES,pdata
+	//set1 L2CAP_CHANNEL_STATE_SND_CFG_REQ,pdata
+	store 1,mem_hid_interrupt_state
+	copy timeup,contw
+	arg L2CAP_HID_Interrupt_channel,timeup
+	fetch 2,mem_hid_int_remote_cid
+	copy pdata,temp
+	branch l2cap_send_config_rsp
+l2cap_proc_signal_config_req_rfcomm:
+	copy contw, timeup
+	fetch 1,mem_rfcomm_state
+	set1 L2CAP_CHANNEL_STATE_RCV_CFG_REQ,pdata
+	set1 L2CAP_CHANNEL_STATE_SND_CFG_RES,pdata
+	//set1 L2CAP_CHANNEL_STATE_SND_CFG_REQ,pdata
+	store 1,mem_rfcomm_state
+//	jam UPPERSM_RP_SDP_CONN,mem_upper_sm_remote_page
+	copy timeup,contw
+	arg L2CAP_RFCOMM_channel,timeup
+	fetch 2,mem_RFCOMM_remote_CID
+	copy pdata,temp
+l2cap_send_config_rsp:
+	bpatch patch1e_5,mem_patch1e
+	setarg  signal_config_rsp
+	istore 1,contw
+	copy queue,pdata
+	istore 1,contw
+	setarg 0x0006
+	istore 2,contw
+	copy temp,pdata
+	istore 2,contw
+	force 0x00,pdata
+	istore 2,contw
+	force L2CAP_config_success,pdata
+	istore 2,contw
+	force 10,pdata
+	iadd regb,regb
+	//copy temp,pdata
+	storet 2,mem_config_req_dest_CID
+	copy queue,pdata
+	store 1,mem_config_identifier
+	force L2CAP_SDP_channel,pdata
+	icompare 0xff,timeup
+	branch l2cap_send_config_rsp_is_sdp,true
+	increase 1,pdata
+l2cap_send_config_rsp_is_sdp:
+	//store 1,mem_send_config_req
+	rtn
+l2cap_check_channel_state:
+	disable user
+	rtnbit1 L2CAP_CHANNEL_STATE_SND_CFG_REQ,pdata
+	rtnbit0 L2CAP_CHANNEL_STATE_CONN_REQ,pdata
+	rtnbit0 L2CAP_CHANNEL_STATE_CONN_RES,pdata
+	set1 L2CAP_CHANNEL_STATE_SND_CFG_REQ,pdata
+	copy contr,contw
+	increase -1,contw
+	istore 1,contw
+	enable user
+	rtn
+l2cap_send_config_req:
+l2cap_send_config_req_sdp:
+	fetch 1,mem_sdp_state
+	call l2cap_check_channel_state
+	nbranch l2cap_send_config_req_rfcomm,user
+	jam L2CAP_SDP_channel,mem_send_config_req
+	fetch 2,mem_sdp_remote_cid
+	store 2,mem_config_req_dest_CID
+	branch l2cap_generate_config_req
+l2cap_send_config_req_rfcomm:
+	fetch 1,mem_rfcomm_state
+	call l2cap_check_channel_state
+	nbranch l2cap_send_config_req_hid_ctrl,user
+	jam L2CAP_RFCOMM_channel,mem_send_config_req
+	fetch 2,mem_RFCOMM_remote_CID
+	store 2,mem_config_req_dest_CID
+	branch l2cap_generate_config_req
+l2cap_send_config_req_hid_ctrl:
+	fetch 1,mem_hid_control_state
+	call l2cap_check_channel_state
+	nbranch l2cap_send_config_req_hid_int,user
+	jam L2CAP_HID_Control_channel,mem_send_config_req
+	fetch 2,mem_hid_ctrl_remote_cid
+	store 2,mem_config_req_dest_CID
+	branch l2cap_generate_config_req
+l2cap_send_config_req_hid_int:
+	fetch 1,mem_hid_interrupt_state
+	call l2cap_check_channel_state
+	nrtn user//End of sending config req
+	jam L2CAP_HID_Interrupt_channel,mem_send_config_req
+	fetch 2,mem_hid_int_remote_cid
+	store 2,mem_config_req_dest_CID
+	//branch L2CAP_generate_config_req
+
+l2cap_generate_config_req:
+	bpatch patch1e_6,mem_patch1e
+	call l2cap_get_req_id
+	call l2cap_malloc_signal_channel
+	force 0,regb
+	call l2cap_get_signal_tx_payload
+	force signal_config_req,pdata
+	istore 1,contw
+	fetch 1,mem_ML2CAP_comm_id
+	istore 1,contw
+	setarg 0x0008
+	istore 2,contw
+	fetch 2,mem_config_req_dest_CID
+	istore 2,contw
+	setarg 0x0000
+	istore 2,contw
+	force 1,pdata
+	istore 1,contw
+	force 2,pdata
+	istore 1,contw
+	fetch 1,mem_send_config_req
+	beq L2CAP_RFCOMM_channel,l2cap_generate_config_req_rfcomm
+	setarg L2CAP_config_MTU_SDP
+	istore 2,contw
+	branch l2cap_generate_config_req_done
+l2cap_generate_config_req_rfcomm:
+	setarg L2CAP_config_MTU_RFCOMM
+	istore 2,contw
+l2cap_generate_config_req_done:
+	arg 0x0c,temp
+	storet 2,mem_l2cap_signal_tx_length
+	call l2cap_get_signal_tx_buff
+	fetch 2,mem_l2cap_signal_tx_length
+	istore 2,contw
+	force L2CAP_signal_channel,pdata
+	istore 2,contw
+	jam 0,mem_send_config_req
+l2cap_proc_signal_config_req_rtn:
+	branch l2cap_process_one_signal_rtn
+
+l2cap_proc_signal_config_rsp:
+	increase 1,contr
+	ifetch 2,contr
+	copy pdata,rega
+	copy regc,pdata
+	isub rega,regc
+	ifetch 2,contr //source cid
+	copy pdata,rega
+	bpatch patch1e_7,mem_patch1e
+	setarg L2CAP_SDP_channel
+	isub rega,null
+	branch l2cap_proc_signal_config_rsp_sdp,zero
+	setarg L2CAP_RFCOMM_channel
+	isub rega,null
+	branch l2cap_proc_signal_config_rsp_rfcomm,zero
+	setarg L2CAP_HID_Control_channel
+	isub rega,null
+	branch l2cap_proc_signal_config_rsp_hid_ctrl,zero
+	setarg L2CAP_HID_Interrupt_channel
+	isub rega,null
+	branch l2cap_proc_signal_config_rsp_hid_int,zero
+	increase 2,contr
+	ifetch 2,contr
+	iforce null
+	branch l2cap_process_one_signal_rtn
+l2cap_proc_signal_config_rsp_sdp:
+	fetch 1,mem_sdp_state
+	set1 L2CAP_CHANNEL_STATE_RCV_CFG_RES,pdata
+	store 1,mem_sdp_state
+	branch l2cap_process_one_signal_rtn
+l2cap_proc_signal_config_rsp_rfcomm:
+	fetch 1,mem_rfcomm_state
+	set1 L2CAP_CHANNEL_STATE_RCV_CFG_RES,pdata
+	store 1,mem_rfcomm_state
+	branch l2cap_process_one_signal_rtn
+l2cap_proc_signal_config_rsp_hid_ctrl:
+	fetch 1,mem_hid_control_state
+	set1 L2CAP_CHANNEL_STATE_RCV_CFG_RES,pdata
+	store 1,mem_hid_control_state
+	branch l2cap_process_one_signal_rtn
+l2cap_proc_signal_config_rsp_hid_int:
+	fetch 1,mem_hid_interrupt_state
+	set1 L2CAP_CHANNEL_STATE_RCV_CFG_RES,pdata
+	store 1,mem_hid_interrupt_state
+	jam BT_EVT_HID_CONNECTED,mem_fifo_temp
+	branch ui_ipc_send_event
+	
+
+
+l2cap_proc_signal_disconnect_req:
+	ifetch 1,contr
+	copy pdata,queue
+	ifetch 2,contr
+	copy pdata,rega
+	copy regc,pdata
+	isub rega,regc
+	ifetch 2,contr
+	copy pdata,rega
+	ifetch 2,contr
+	copy pdata,timeup
+	copy rega,temp
+	call save_cont_pointers
+	bpatch patch1f_0,mem_patch1f
+	setarg L2CAP_SDP_channel
+	isub temp,null
+	branch l2cap_proc_signal_disconnect_req_sdp,zero
+	setarg L2CAP_RFCOMM_channel
+	isub temp,null
+	branch l2cap_proc_signal_disconnect_req_rfcomm,zero
+	setarg L2CAP_HID_Control_channel
+	isub temp,null
+	branch l2cap_proc_signal_disconnect_req_hid_ctrl,zero
+	setarg L2CAP_HID_Interrupt_channel
+	isub temp,null
+	branch l2cap_proc_signal_disconnect_req_hid_int,zero
+	call l2cap_reject_command
+	branch l2cap_proc_signal_disconnect_req_err_rtn
+l2cap_proc_signal_disconnect_req_hid_ctrl:
+	copy timeup,temp
+	fetch 2,mem_hid_ctrl_remote_cid
+	isub temp,null
+	branch l2cap_disconnect_hid_control_now,zero
+	call l2cap_reject_command
+	branch l2cap_proc_signal_disconnect_req_err_rtn
+l2cap_proc_signal_disconnect_req_hid_int:
+	copy timeup,temp
+	fetch 2,mem_hid_int_remote_cid
+	isub temp,null
+	branch l2cap_disconnect_hid_interrupt_now,zero
+	call l2cap_reject_command
+	branch l2cap_proc_signal_disconnect_req_err_rtn
+
+l2cap_proc_signal_disconnect_req_sdp:
+	copy timeup,temp
+	fetch 2,mem_sdp_remote_cid
+	isub temp,null
+	branch l2cap_disconnect_sdp_now,zero
+	call l2cap_reject_command
+	branch l2cap_proc_signal_disconnect_req_err_rtn
+l2cap_disconnect_hid_control_now:
+	call l2cap_reset_hid_ctrl_state
+	branch l2cap_send_disconnect_rsp_pkt
+l2cap_disconnect_hid_interrupt_now:
+	call l2cap_reset_hid_int_state
+	fetch 2, mem_hid_ctrl_remote_cid
+	branch l2cap_send_disconnect_rsp_pkt, blank
+	//set the flag,hid channel close
+	//should we set here?
+	//call HID_mem_lock
+	//fetch 1, mem_hid_cb1
+	//set1 HID_CB_APP_HID_DISCONNECTED,pdata
+	//store 1, mem_hid_cb1
+	//call HID_mem_unlock
+	branch l2cap_send_disconnect_rsp_pkt
+
+l2cap_disconnect_sdp_now:
+	call l2cap_reset_sdp_channel_state
+	fetch 1,mem_upper_sm_ss
+	nbranch l2cap_send_disconnect_rsp_pkt,blank
+	//jam LMP_ENCRYPTION_MODE_REQ,mem_lmo_opcode2
+	//jam UPPERSM_RP_SDP_CONN,mem_upper_sm_remote_page
+	branch l2cap_send_disconnect_rsp_pkt
+l2cap_proc_signal_disconnect_req_rfcomm:
+	copy timeup,temp
+	fetch 2, mem_RFCOMM_remote_CID
+	isub temp,null
+	branch l2cap_disconnect_rfcomm_now,zero
+	call l2cap_reject_command
+	branch l2cap_proc_signal_disconnect_req_err_rtn
+l2cap_disconnect_rfcomm_now:
+	call l2cap_reset_rfcomm_channel_state
+	branch l2cap_send_disconnect_rsp_pkt
+l2cap_send_disconnect_rsp_pkt:
+	call load_cont_pointers
+	setarg signal_disconnect_rsp
+	istore 1,contw
+	copy queue,pdata
+	istore 1,contw
+	setarg 0x0004
+	istore 2,contw
+	copy rega,pdata
+	istore 2,contw
+	copy timeup,pdata
+	istore 2,contw
+	force 8,pdata
+	branch l2cap_proc_signal_disconnect_req_rtn
+l2cap_proc_signal_disconnect_req_err_rtn:
+	call load_cont_pointers
+	branch l2cap_proc_signal_disconnect_req_rtn
+l2cap_proc_signal_disconnect_req_rtn:
+	iadd regb,regb
+	branch l2cap_process_one_signal_rtn
+l2cap_proc_signal_disconnect_rsp:
+	ifetch 1,contr
+	copy pdata,queue
+	ifetch 2,contr
+	copy pdata,rega
+	copy regc,pdata
+	isub rega,regc
+	ifetch 2,contr
+	copy pdata,timeup
+	ifetch 2,contr
+	copy pdata,temp
+	call save_cont_pointers
+	bpatch patch1f_1,mem_patch1f
+	setarg L2CAP_SDP_channel
+	isub temp,null
+	branch l2cap_proc_signal_disconnect_rsp_sdp,zero
+	setarg L2CAP_RFCOMM_channel
+	isub temp,null
+	branch l2cap_proc_signal_disconnect_rsp_rfcomm,zero
+	setarg L2CAP_HID_Control_channel
+	isub temp,null
+	branch l2cap_proc_signal_disconnect_rsp_hid_ctrl,zero
+	setarg L2CAP_HID_Interrupt_channel
+	isub temp,null
+	branch l2cap_proc_signal_disconnect_rsp_hid_int,zero
+	call l2cap_reject_command
+	branch l2cap_proc_signal_disconnect_rsp_err_rtn
+l2cap_proc_signal_disconnect_rsp_sdp:
+	copy temp,rega
+	copy timeup,temp
+	fetch 2,mem_sdp_remote_cid
+	isub temp,null
+	call l2cap_reset_sdp_channel_state,zero
+	branch l2cap_proc_signal_disconnect_rsp_rtn
+l2cap_proc_signal_disconnect_rsp_rfcomm:
+	copy temp,rega
+	copy timeup,temp
+	fetch 2,mem_rfcomm_remote_CID
+	isub temp,null
+	call l2cap_reset_rfcomm_channel_state,zero
+	branch l2cap_proc_signal_disconnect_rsp_rtn
+l2cap_proc_signal_disconnect_rsp_hid_ctrl:
+	copy temp,rega
+	copy timeup,temp
+	fetch 2,mem_hid_ctrl_remote_cid
+	isub temp,null
+	call  l2cap_reset_hid_ctrl_state,zero
+	branch l2cap_proc_signal_disconnect_rsp_rtn
+l2cap_proc_signal_disconnect_rsp_hid_int:
+	copy temp,rega
+	copy timeup,temp
+	fetch 2,mem_hid_int_remote_cid
+	isub temp,null
+	call l2cap_reset_hid_int_state,zero
+	branch l2cap_proc_signal_disconnect_rsp_rtn
+l2cap_proc_signal_disconnect_rsp_rtn:
+	call load_cont_pointers
+	branch l2cap_process_one_signal_rtn
+l2cap_proc_signal_disconnect_rsp_err_rtn:
+	branch l2cap_process_one_signal_rtn
+
+
+l2cap_proc_signal_echo_req:
+	ifetch 1,contr
+	copy pdata,queue
+	ifetch 2,contr
+	copy pdata,rega
+	iadd contr,contr
+	setarg 9
+	istore 1,contw
+	copy queue,pdata
+	istore 1,contw
+	force 0x0000,pdata
+	istore 2,contw
+	force 4,pdata
+	iadd regb,regb
+	copy regc,pdata
+	isub rega,regc
+	branch l2cap_process_one_signal_rtn
+l2cap_proc_signal_echo_rsp:
+	branch l2cap_process_one_signal_rtn
+
+l2cap_proc_signal_info_rsp:
+	branch l2cap_process_one_signal_rtn
+l2cap_reject_command:
+	force 0,regb
+	call l2cap_get_signal_tx_payload
+	setarg signal_cmd_reject
+	istore 1,contw
+	copy queue,pdata
+	istore 1,contw
+	setarg 2
+	istore 2,contw
+	setarg cmd_not_understood
+	istore 2,contw
+	increase 6,regb
+	arg 4,regc
+	branch l2cap_process_one_signal_rtn
+
+
+
+l2cap_reset_rfcomm_channel_state:
+	setarg 0
+	store 2,mem_RFCOMM_Tx_pkt_length
+	store 2,mem_RFCOMM_remote_CID
+	jam 0,mem_rfcomm_state
+	rtn
+l2cap_reset_sdp_channel_state:
+	setarg 0
+	store 2,mem_sdp_tx_pkt_length
+	store 2,mem_sdp_remote_cid
+	jam 0,mem_sdp_state
+	rtn
+l2cap_reset_hid_ctrl_state:
+	setarg 0
+	store 2,mem_hid_ctrl_remote_cid
+	jam 0,mem_hid_control_state
+	fetch 1,mem_hid_interrupt_state
+	beq 0,l2cap_reset_hid_disconnected
+	rtn
+
+l2cap_reset_hid_int_state:
+	setarg 0
+	store 2,mem_hid_int_remote_cid
+	jam 0,mem_hid_interrupt_state
+	fetch 1,mem_hid_control_state
+	beq 0,l2cap_reset_hid_disconnected
+	rtn
+	
+l2cap_reset_hid_disconnected:
+	jam BT_EVT_HID_DISCONNECTED,mem_fifo_temp
+	branch ui_ipc_send_event	
+
+l2cap_disconnect_interrupt_req:
+	fetch 1,mem_CONTROL_tasks
+	set0  L2CAP_DISCONNECT_INTERRUPT, pdata
+	store 1,mem_CONTROL_tasks
+	fetch 2, mem_hid_int_remote_cid
+	rtn blank
+	call l2cap_malloc_signal_channel
+	fetch 2, mem_hid_int_remote_cid
+	copy pdata,rega
+	force L2CAP_HID_Interrupt_channel,regb
+	branch l2cap_generate_disconnect_req
+l2cap_disconnect_control_req:
+	fetch 1,mem_CONTROL_tasks
+	set0  L2CAP_DISCONNECT_CONTROL, pdata
+	store 1,mem_CONTROL_tasks
+	fetch 2, mem_hid_ctrl_remote_cid
+	rtn blank
+	call l2cap_malloc_signal_channel
+	fetch 2, mem_hid_ctrl_remote_cid
+	copy pdata,rega
+	force L2CAP_HID_Control_channel,regb
+l2cap_generate_disconnect_req:
+	call l2cap_get_req_id
+	call l2cap_get_signal_tx_payload
+	force signal_disconnect_req,pdata
+	istore 1,contw
+	fetch  1,mem_ML2CAP_comm_id
+	istore 1,contw
+	setarg 0x0004
+	istore 2,contw
+	copy rega,pdata
+	istore 2,contw
+	copy regb,pdata
+	istore 2,contw
+	force 0x08,temp //signal tx length in temp
+	branch ml2cap_send_signal
+
+ml2cap_send_signal_connect_req:
+	bpatch patch1f_2,mem_patch1f
+	call l2cap_get_req_id
+	call l2cap_get_signal_tx_payload
+	setarg signal_connect_req
+	istore 1,contw
+	fetch 1,mem_ML2CAP_comm_id
+	istore 1,contw
+	setarg 0x0004
+	istore 2,contw
+	copy temp,pdata	 //PSM
+	istore 2,contw
+	copy timeup,pdata
+	istore 2,contw
+	arg 8,temp
+	branch ml2cap_send_signal
+ml2cap_send_signal_config_req:
+	bpatch patch1f_3,mem_patch1f
+	call l2cap_get_req_id
+	call l2cap_get_signal_tx_payload
+	setarg signal_config_req
+	istore 1,contw
+	fetch 1,mem_ML2CAP_comm_id
+	istore 1,contw
+	setarg 0x0008
+	istore 2,contw
+	
+	copy temp,pdata
+	
+	istore 2,contw
+	setarg 0x0000
+	istore 2,contw
+	setarg 0x01
+	istore 1,contw
+	setarg 0x02
+	istore 1,contw
+	setarg L2CAP_config_MTU_RFCOMM
+	istore 2,contw
+	arg 0xc,temp
+	branch ml2cap_send_signal
+ml2cap_send_signal_disconn_req:
+	bpatch patch1f_4,mem_patch1f
+	call l2cap_get_req_id
+	call l2cap_get_signal_tx_payload
+	setarg signal_disconnect_req
+	istore 1,contw
+	fetch 1,mem_ML2CAP_comm_id
+	increase 1,pdata
+	copy contw,rega
+	store 1,mem_ML2CAP_comm_id
+	copy rega,contw
+	istore 1,contw
+	setarg 0x0004
+	istore 2,contw
+	copy temp,pdata
+	istore 2,contw
+	copy timeup,pdata
+	istore 2,contw
+	arg 0x8,temp
+	//branch ml2cap_send_signal
+	//Fall through
+ml2cap_send_signal:
+	storet 2,mem_l2cap_signal_tx_length
+	copy temp,pdata
+	branch l2cap_malloc_discard,blank
+	call l2cap_get_signal_tx_buff
+	fetch 2,mem_l2cap_signal_tx_length
+	istore 2,contw //make sure that length is still in temp!
+	force L2CAP_signal_channel,pdata
+	istore 2,contw
+	rtn
+
+msdp_send_req_done:
+	fetch 2,mem_sdp_tx_pkt_length
+	branch assert,blank
+	call l2cap_get_sdp_tx_buff
+	fetch 2,mem_sdp_tx_pkt_length
+	istore 2,contw
+	fetch 2,mem_sdp_remote_cid
+	istore 2,contw
+	rtn
+ml2cap_rx_multiplexing:
+	fetch 2, mem_l2cap_rx_pkt_length
+	branch l2cap_rx_reset_state,blank
+	bpatch patch1f_5,mem_patch1f
+	fetch 1,mem_l2cap_rx_cid
+	beq L2CAP_signal_channel,ml2cap_call_proc_signal
+	beq L2CAP_SDP_channel,ml2cap_call_proc_sdp
+	beq L2CAP_RFCOMM_channel,l2cap_call_proc_rfcomm
+	beq L2CAP_HID_Control_channel,l2cap_call_proc_hid
+	beq L2CAP_HID_Interrupt_channel,l2cap_call_proc_hid
+	branch l2cap_rx_reset_state
+
+ml2cap_call_proc_signal:
+	call l2cap_malloc_signal_channel
+	force 0,regb
+	call l2cap_get_signal_tx_payload
+	copy pdata,contw
+	fetch 2,mem_l2cap_rx_pkt_length
+	copy pdata,regc
+	fetch 2,mem_l2cap_payload_ptr
+	iforce contr
+ml2cap_proc_one_comm_loop:
+	call ml2cap_proc_one_comm
+	increase -4,regc
+	nbranch ml2cap_proc_one_comm_loop,zero
+	copy regb,temp
+	call ml2cap_send_signal
+	branch l2cap_rx_reset_state
+	
+ml2cap_proc_one_comm:
+	ifetch 1,contr
+	beq signal_connect_req,ml2cap_proc_signal_connect_req
+	beq signal_cmd_reject,ml2cap_proc_signal_cmd_reject
+	beq signal_connect_rsp,ml2cap_proc_signal_connect_rsp
+	beq signal_config_rsp,ml2cap_proc_signal_config_rsp
+	beq signal_config_req,ml2cap_proc_signal_config_req
+	beq signal_disconnect_rsp,ml2cap_proc_signal_disconn_rsp
+	beq signal_disconnect_req,ml2cap_proc_signal_disconn_req
+	beq signal_echo_req,l2cap_proc_signal_echo_req
+	beq signal_info_req,ml2cap_proc_signal_info_req
+	branch ml2cap_proc_send_reject
+
+ml2cap_proc_signal_connect_req:
+	call save_cont_pointers
+	//jam NO_RECONNECTION,memui_reconnect_mode
+	call load_cont_pointers
+	branch l2cap_proc_signal_connect_req
+ml2cap_proc_signal_cmd_reject:
+	ifetch 1,contr
+	copy pdata,queue
+	ifetch 2,contr
+	copy pdata,rega
+	copy regc,pdata
+	isub rega,regc
+mvptr:
+	ifetch 1,contr
+	increase -1,rega
+	nbranch mvptr,zero
+	rtn
+ml2cap_proc_signal_connect_rsp:
+	ifetch 1,contr //id
+	copy pdata,queue
+	ifetch 2,contr
+	copy pdata,rega	//length
+	ifetch 2,contr
+	copy pdata,timeup	//destination	cid
+	ifetch 2,contr
+	copy pdata,temp	//source	cid
+	ifetch 2,contr 		// result
+	sub pdata,0,null
+	branch ml2cap_proc_signal_connect_rsp_sucessful,zero
+	beq L2CAP_connect_refused_PSM_unsupported,ml2cap_proc_signal_connect_refused_result
+	beq L2CAP_connect_refused_no_resources,ml2cap_proc_signal_connect_refused_result
+	branch ml2cap_proc_signal_connect_rsp_mnosucc
+ml2cap_proc_signal_connect_refused_result:
+	jam BT_EVT_ML2CAP_CONN_REFUSED,mem_fifo_temp
+	call ui_ipc_send_event
+ml2cap_proc_signal_connect_rsp_mnosucc:
+	ifetch 2,contr //reason
+	branch mnosucc
+ml2cap_proc_signal_connect_rsp_sucessful:
+	call save_cont_pointers
+	//fetch 1,mem_ML2CAP_comm_id
+	//icompare 0xff,queue
+	//nbranch mnosucc1,true
+	bpatch patch1f_6,mem_patch1f
+	setarg L2CAP_SDP_channel
+	isub temp,null
+	branch ml2cap_proc_signal_connect_rsp_sdp,zero
+	setarg L2CAP_RFCOMM_channel
+	isub temp,null
+	branch ml2cap_proc_signal_connect_rsp_rfcomm,zero
+	setarg L2CAP_HID_Interrupt_channel
+	isub temp,null
+	branch ml2cap_proc_signal_connect_rsp_hid_int,zero
+	setarg L2CAP_HID_Control_channel
+	isub temp,null
+	branch ml2cap_proc_signal_connect_rsp_hid_ctrl,zero
+	branch mnosucc
+ml2cap_proc_signal_connect_rsp_sdp:
+	copy timeup,pdata
+	store 2,mem_sdp_remote_cid
+	fetch 1,mem_sdp_state
+	set1 L2CAP_CHANNEL_STATE_CONN_RES,pdata
+	store 1,mem_sdp_state
+	branch mnosucc1
+ml2cap_proc_signal_connect_rsp_rfcomm:
+	copy timeup,pdata
+	store 2,mem_RFCOMM_remote_CID
+	fetch 1,mem_rfcomm_state
+	set1 L2CAP_CHANNEL_STATE_CONN_RES,pdata
+	store 1,mem_rfcomm_state
+	branch mnosucc1
+ml2cap_proc_signal_connect_rsp_hid_ctrl:
+	copy timeup,pdata
+	store 2,mem_hid_ctrl_remote_cid
+	fetch 1,mem_hid_control_state
+	set1 L2CAP_CHANNEL_STATE_CONN_RES,pdata
+	store 1,mem_hid_control_state
+	branch mnosucc1
+ml2cap_proc_signal_connect_rsp_hid_int:
+	copy timeup,pdata
+	store 2,mem_hid_int_remote_cid
+	fetch 1,mem_hid_interrupt_state
+	set1 L2CAP_CHANNEL_STATE_CONN_RES,pdata
+	store 1,mem_hid_interrupt_state
+	//branch mnosucc1
+
+mnosucc1:
+	call load_cont_pointers
+mnosucc:
+	copy regc,pdata
+	isub rega,regc
+	rtn
+
+ml2cap_proc_signal_config_rsp:
+	ifetch 1,contr		//	Ident
+	copy pdata,queue
+	ifetch 2,contr		//	SigLen
+	copy pdata,rega
+	copy regc,pdata
+	isub rega,regc
+	ifetch 2,contr		//	DestnCID
+	copy pdata,timeup
+	ifetch 2,contr
+	ifetch 2,contr		//	Get the result value, check success
+	nbranch mcrsdone1,blank
+	call save_cont_pointers
+	//fetch 1,mem_ML2CAP_comm_id
+	//icompare 0xff,queue
+	//nbranch mcfrsdone,true
+	copy timeup,temp
+	bpatch patch1f_7,mem_patch1f
+	setarg L2CAP_SDP_channel
+	isub temp,null
+	branch ml2cap_proc_signal_config_rsp_sdp,zero
+	setarg L2CAP_RFCOMM_channel
+	isub temp,null
+	branch ml2cap_proc_signal_config_rsp_rfcomm,zero
+	setarg L2CAP_HID_Control_channel
+	isub temp,null
+	branch ml2cap_proc_signal_config_rsp_hid_ctrl,zero
+	setarg L2CAP_HID_Interrupt_channel
+	isub temp,null
+	branch ml2cap_proc_signal_config_rsp_hid_int,zero
+ml2cap_proc_signal_config_rsp_sdp:
+	fetch 1,mem_sdp_state
+	set1 L2CAP_CHANNEL_STATE_RCV_CFG_RES,pdata
+	store 1,mem_sdp_state
+	rtn
+ml2cap_proc_signal_config_rsp_rfcomm:
+	fetch 1,mem_rfcomm_state
+	set1 L2CAP_CHANNEL_STATE_RCV_CFG_RES,pdata
+	store 1,mem_rfcomm_state
+	rtn
+ml2cap_proc_signal_config_rsp_hid_ctrl:
+	fetch 1,mem_hid_control_state
+	set1 L2CAP_CHANNEL_STATE_RCV_CFG_RES,pdata
+	store 1,mem_hid_control_state
+	rtn
+ml2cap_proc_signal_config_rsp_hid_int:
+	fetch 1,mem_hid_interrupt_state
+	set1 L2CAP_CHANNEL_STATE_RCV_CFG_RES,pdata
+	store 1,mem_hid_interrupt_state
+	jam BT_EVT_HID_CONNECTED,mem_fifo_temp
+	branch ui_ipc_send_event
+
+
+mcfrsdone:
+	call load_cont_pointers
+mcrsdone1:
+	increase -6,rega
+mloop2:
+	branch mcrsdone,zero
+	increase 1,contr
+	increase -1,rega
+	branch mloop2
+mcrsdone:
+	rtn
+ml2cap_proc_signal_config_req:
+	ifetch 1,contr		//	Ident
+	copy pdata,queue
+	ifetch 2,contr		//	SigLen
+	copy pdata,rega
+	copy regc,pdata
+	isub rega,regc
+	ifetch 2,contr		//	DestnCID
+	increase 2,contr
+	copy pdata,temp
+	setarg  signal_config_rsp
+	istore 1,contw
+	copy queue,pdata
+	istore 1,contw
+	increase 2,rega
+	copy rega,pdata
+	istore 2,contw
+	call save_cont_pointers
+	bpatchx patch20_0,mem_patch20
+	setarg L2CAP_SDP_channel
+	isub temp,null
+	branch ml2cap_proc_signal_config_req_sdp,zero
+	setarg L2CAP_RFCOMM_channel
+	isub temp,null
+	branch ml2cap_proc_signal_config_req_rfcomm,zero
+	setarg L2CAP_HID_Control_channel
+	isub temp,null
+	branch ml2cap_proc_signal_config_req_hid_ctrl,zero
+	setarg L2CAP_HID_Interrupt_channel
+	isub temp,null
+	branch ml2cap_proc_signal_config_req_hid_int,zero
+	branch mcfgrq_done
+ml2cap_proc_signal_config_req_sdp:
+	fetch 1,mem_sdp_state
+	set1 L2CAP_CHANNEL_STATE_RCV_CFG_REQ,pdata
+	set1 L2CAP_CHANNEL_STATE_SND_CFG_RES,pdata
+	store 1,mem_sdp_state
+	bbit1 L2CAP_CHANNEL_STATE_SND_CFG_REQ,ml2cap_proc_signal_config_req_sdp_nsndreq
+	fetcht 1,mem_CONTROL_tasks
+	set1 L2CAP_init_Config_Req,temp
+	storet 1,mem_CONTROL_tasks
+	copy queue,pdata
+	increase 1,pdata
+	store 1,mem_config_identifier
+	fetch 1,mem_sdp_state
+	set1 L2CAP_CHANNEL_STATE_SND_CFG_REQ,pdata
+	store 1,mem_sdp_state
+ml2cap_proc_signal_config_req_sdp_nsndreq:
+	fetch 2,mem_sdp_remote_cid
+	store 2,mem_config_req_dest_CID
+	branch mcfgrq_done
+ml2cap_proc_signal_config_req_rfcomm:
+	fetch 1,mem_rfcomm_state
+	set1 L2CAP_CHANNEL_STATE_RCV_CFG_REQ,pdata
+	set1 L2CAP_CHANNEL_STATE_SND_CFG_RES,pdata
+	store 1,mem_rfcomm_state
+	fetch 2,mem_RFCOMM_remote_CID
+	branch mcfgrq_done
+ml2cap_proc_signal_config_req_hid_ctrl:
+	fetch 1,mem_hid_control_state
+	set1 L2CAP_CHANNEL_STATE_RCV_CFG_REQ,pdata
+	set1 L2CAP_CHANNEL_STATE_SND_CFG_RES,pdata
+	store 1,mem_hid_control_state
+	fetch 2,mem_hid_ctrl_remote_cid
+	branch mcfgrq_done
+ml2cap_proc_signal_config_req_hid_int:
+	fetch 1,mem_hid_interrupt_state
+	set1 L2CAP_CHANNEL_STATE_RCV_CFG_REQ,pdata
+	set1 L2CAP_CHANNEL_STATE_SND_CFG_RES,pdata
+	store 1,mem_hid_interrupt_state
+	fetch 2,mem_hid_int_remote_cid
+	//branch mcfgrq_done
+
+mcfgrq_done:
+	copy pdata,timeup
+	call load_cont_pointers
+
+	copy timeup,pdata
+	
+	istore 2,contw
+	force 0x0000,pdata
+	istore 2,contw
+	force 0x0000,pdata
+	istore 2,contw
+	force 10,pdata
+	iadd regb,regb
+	increase -6,rega
+mloop1:
+	branch mcrqdone,zero
+	ifetch 1,contr
+	istore 1,contw
+	increase 1,regb
+	increase -1,rega
+	branch mloop1
+mcrqdone:
+	rtn
+ml2cap_proc_signal_disconn_req:
+	ifetch 1,contr
+	copy pdata,queue
+	ifetch 2,contr
+	copy pdata,rega
+	copy regc,pdata
+	isub rega,regc
+
+	ifetch 2,contr
+	copy pdata,rega
+	ifetch 2,contr
+	copy pdata,timeup
+	call save_cont_pointers
+	bpatchx patch20_1,mem_patch20
+	setarg L2CAP_SDP_channel
+	copy rega,temp
+	isub temp,null
+	branch ml2cap_proc_signal_disconn_sdp,zero
+	setarg L2CAP_HID_Control_channel
+	copy rega,temp
+	isub temp,null
+	branch ml2cap_proc_signal_disconn_hid_ctrl,zero
+	setarg L2CAP_HID_Interrupt_channel
+	copy rega,temp
+	isub temp,null
+	branch ml2cap_proc_signal_disconn_hid_int,zero
+	branch mclsrfc
+ml2cap_proc_signal_disconn_sdp:
+	setarg 0x0000
+	store 2,mem_sdp_tx_pkt_length
+	store 2,mem_sdp_remote_cid
+	store 1,mem_sdp_state
+	branch mclssdp
+ml2cap_proc_signal_disconn_hid_ctrl:
+	call l2cap_reset_hid_ctrl_state
+	branch mclssdp
+ml2cap_proc_signal_disconn_hid_int:
+	call l2cap_reset_hid_int_state
+	//call HID_mem_lock
+	//fetch 1, mem_hid_cb1
+	//set1 HID_CB_APP_HID_DISCONNECTED,pdata
+	//store 1, mem_hid_cb1
+	//call HID_mem_unlock
+	branch mclssdp
+mclsrfc:
+	setarg 0x0000
+	store 2,mem_RFCOMM_Tx_pkt_length
+mclssdp:
+	call load_cont_pointers
+	setarg signal_disconnect_rsp
+	istore 1,contw
+	copy queue,pdata
+	istore 1,contw
+	setarg 0x0004
+	istore 2,contw
+	copy rega,pdata
+	istore 2,contw
+	copy timeup,pdata
+	istore 2,contw
+	force 8,pdata
+	iadd regb,regb
+	rtn
+
+ml2cap_proc_signal_disconn_rsp:
+	ifetch 1,contr
+	copy pdata,queue
+	ifetch 2,contr
+	copy pdata,rega
+	ifetch 2,contr
+	copy pdata,timeup
+	ifetch 2,contr
+	copy pdata,temp
+	call save_cont_pointers
+	bpatchx patch20_2,mem_patch20
+	fetch 1,mem_ML2CAP_comm_id
+	icompare 0xff,queue
+	nbranch mdisdone,true
+	setarg L2CAP_SDP_channel
+	isub temp,null
+	branch ml2cap_proc_signal_disconn_rsp_sdp,zero
+	setarg L2CAP_RFCOMM_channel
+	isub temp,null
+	branch ml2cap_proc_signal_disconn_rsp_rfcomm,zero
+	branch mdisdone
+ml2cap_proc_signal_disconn_rsp_sdp:
+	jam 0,mem_sdp_remote_cid
+	jam 0,mem_sdp_state
+	branch mdisdone
+ml2cap_proc_signal_disconn_rsp_rfcomm:
+	//
+	//
+mdisdone:
+	call load_cont_pointers
+	copy regc,pdata
+	isub rega,regc
+	rtn
+
+ml2cap_proc_send_reject:
+	setarg signal_cmd_reject
+	istore 1,contw
+	ifetch 1,contr
+	istore 1,contw
+	setarg 0x0002
+	istore 2,contw
+	setarg 0x0000
+	istore 2,contw
+	setarg 0x0006
+	iadd regb,regb
+	force 4,regc
+	rtn
+	
+//l2cap command id, 0 is not allowed
+l2cap_get_req_id:
+	fetch 1,mem_ML2CAP_comm_id
+	increase 1,pdata
+	bne 0,l2cap_get_req_id_ok
+	increase 1,pdata
+l2cap_get_req_id_ok:
+	store 1,mem_ML2CAP_comm_id
+	rtn
+
+
+
+//char* malloc(short len)
+//input: rega -> len
+//rtn: regb -> pbuff;return from pdata
+//val: queue -> i
+//val: timeup -> buff_cnt
+
+l2cap_malloc:
+bt_l2cap_malloc:
+	arg mem_tx_buff0,regd
+	arg mem_bt_l2cap_tx_buff_size,rege
+	call enable_user
+	branch host_l2cap_malloc
+
+ble_l2cap_malloc:
+	fetchr regd,2,mem_ble_l2cap_tx_buff0_ptr
+	fetchr rege,2,mem_ble_l2cap_tx_buff_size_ptr
+	call disable_user
+	branch host_l2cap_malloc
+
+host_l2cap_malloc:
+	bpatchx patch20_3,mem_patch20
+	call l2cap_malloc_is_fifo_full
+	nbranch assert,blank//assert when fifo full
+	call l2cap_malloc_get_full_map
+	arg 8,loopcnt
+host_l2cap_malloc_loop:
+	fetcht 1,mem_used_map
+	sub loopcnt,8,queue
+	qisolate1 temp
+	branch host_l2cap_malloc_next_buffer,true//if(1 == (used_map & (1 << i)))goto next;
+	call host_l2cap_malloc_check_buffer_enough
+	nbranch host_l2cap_malloc_next_buffer,positive//if(buff_cnt <= 0)goto next;
+	call host_l2cap_malloc_into_fifo
+	branch host_l2cap_malloc_succ//return (pbuff);
+host_l2cap_malloc_next_buffer:
+	copy rege,pdata
+	iadd regd,regd		//pbuff += BUFF_SIZE;//point to next buff
+	loop host_l2cap_malloc_loop
+	branch assert	//return NULL
+host_l2cap_malloc_succ:
+	copy regd,pdata
+	copy regd,contw
+	rtn//return pointer via pdata
+
+
+//char is_size_enough(char buff_index, short len)
+//input: rega -> len
+//input: loopcnt -> 8-buff_index
+//rtn: positive is diable mean no buffer
+//positive is enable mean get buffer
+
+host_l2cap_malloc_check_buffer_enough:
+	bpatchx patch20_4,mem_patch20
+	sub loopcnt,8,queue
+	arg 0,temp
+	arg 0,timeup
+host_l2cap_malloc_check_buffer_enough_loop:
+	copy queue,pdata
+	beq 8,host_l2cap_malloc_check_buffer_enough_end
+	fetch 1,mem_used_map
+	qisolate1 pdata		//the buffer is used
+	branch host_l2cap_malloc_check_buffer_enough_end,true
+	qset1 timeup
+	copy rege,pdata
+	iadd temp,temp
+	increase 1,queue
+	copy rega,pdata
+	isub temp,null
+	branch host_l2cap_malloc_check_buffer_enough_end,zero//(max_size_fom_buff_index ==  len)
+	branch host_l2cap_malloc_check_buffer_enough_loop,positive//(max_size_fom_buff_index <  len)
+host_l2cap_malloc_check_buffer_enough_end:
+	copy temp,pdata
+	isub rega,null
+	nrtn zero
+	qset1 timeup
+	rtn
+
+
+//void buff_into_fifo(char buff_index, char buff_cnt, short len)
+//input: rega -> len
+//input: regc -> buff_index
+//input: timeup -> buff_cnt
+//val:temp ->   (fifo->map)
+
+host_l2cap_malloc_into_fifo:
+	bpatchx patch20_5,mem_patch20
+	call l2cap_malloc_is_fifo_full
+	nbranch assert,blank //fifo full
+	call l2cap_malloc_is_fifo_empty
+	branch host_l2cap_malloc_into_fifo_no_push,blank//fifo empty, no need to push
+	fetch 9,mem_tx_fifo1
+	store 9,mem_tx_fifo0
+	setarg 0
+	istore 3,contw//mem_tx_fifo3
+host_l2cap_malloc_into_fifo_no_push:
+	storer timeup,1,mem_tx_fifo3_map
+	storer regd,2,mem_tx_fifo3_ptr
+	rtn
+
+
+
+//void* l2cap_malloc_fifo_out(void)
+//output:len -> temp
+//output:ptr ->pdata
+//only get ptr,not free
+
+l2cap_malloc_fifo_out:
+	bpatchx patch20_6,mem_patch20
+	call l2cap_malloc_fifo_get_first_ptr
+	increase 1,contr
+	ifetch 2,contr //ptr ->pdata
+	rtn
+
+
+
+//void free_first_buff_in_fifo(void)
+//only free the first one
+
+l2cap_malloc_free:
+	bpatchx patch20_7,mem_patch20
+	call l2cap_malloc_fifo_get_first_ptr
+	copy contr,contw
+	copy contr,temp
+	setarg 0
+	istore 3,contw
+	rtn
+
+
+
+//void l2cap_malloc_discard(void)
+//discard the latest malloc
+
+l2cap_malloc_discard:
+	bpatchx patch21_0,mem_patch21
+	call l2cap_malloc_is_fifo_empty
+	branch assert,blank
+	fetch 3,mem_tx_fifo2
+	store 3,mem_tx_fifo3
+	fetch 3,mem_tx_fifo1
+	store 3,mem_tx_fifo2
+	fetch 3,mem_tx_fifo0
+	store 3,mem_tx_fifo1
+	rtn
+
+
+
+//bool fifo_is_full(void)
+//blank == 1: not full
+//blank == 0: full
+
+l2cap_malloc_is_fifo_full:
+	bpatchx patch21_1,mem_patch21
+	fetch 3,mem_tx_fifo0
+	rtn
+
+
+
+//bool fifo_nearly_full(void)
+//blank == 1: nearly full
+//blank == 0: not nearly full
+
+l2cap_malloc_is_fifo_nearly_full:
+	bpatchx patch21_2,mem_patch21
+	fetch 3,mem_tx_fifo1
+	rtn
+
+
+
+//bool fifo_is_empty(void)
+//blank == 1: empty
+//blank == 0: not empty
+
+l2cap_malloc_is_fifo_empty:
+	bpatchx patch21_3,mem_patch21
+	fetch 3,mem_tx_fifo3
+	rtn
+
+
+
+//char* l2cap_malloc_fifo_get_first_ptr(void)
+//output:contr  -->ptr
+	
+l2cap_malloc_fifo_get_first_ptr:
+	call l2cap_malloc_is_fifo_empty
+	branch l2cap_malloc_fifo_get_first_ptr_empty,blank // fifo is empty
+	arg mem_tx_fifo0,contr
+l2cap_malloc_free_loop:
+	ifetch 3,contr
+	branch l2cap_malloc_free_loop,blank
+l2cap_malloc_fifo_get_first_ptr_empty:
+	increase -3,contr
+	rtn
+
+
+
+//char* l2cap_malloc_get_full_map(void)
+//output:mem_used_map  -->full_map
+//add all maps into one
+	
+l2cap_malloc_get_full_map:
+	bpatchx patch21_4,mem_patch21
+	arg 4,loopcnt
+	arg mem_tx_fifo0_map,contr
+	arg 0,temp
+l2cap_malloc_get_full_map_loop:	
+	ifetch 3,contr
+	and pdata,0xff,pdata
+	ior temp,temp
+	loop l2cap_malloc_get_full_map_loop
+	storet 1,mem_used_map
+	rtn
+
+
+l2cap_malloc_signal_channel:
+	bpatchx patch21_5,mem_patch21
+	arg L2CAP_SIGNAL_MALLOC_SIZE,rega
+	call l2cap_malloc
+	store 2,mem_l2cap_signal_tx_buff_ptr
+	increase 4,pdata
+	store 2,mem_l2cap_signal_tx_payload_ptr
+	setarg 0
+	store 2,mem_l2cap_signal_tx_length
+	rtn
+
+l2cap_get_signal_tx_buff:
+	fetch 2,mem_l2cap_signal_tx_buff_ptr
+	branch l2cap_util_pdata_to_contw
+
+l2cap_get_signal_tx_payload:
+	fetch 2,mem_l2cap_signal_tx_payload_ptr
+	branch l2cap_util_pdata_to_contw
+
+
+l2cap_malloc_sdp_channel:
+	bpatchx patch21_6,mem_patch21
+	arg SDP_MALLOC_SIZE,rega
+	call l2cap_malloc
+	store 2,mem_sdp_tx_buff_ptr
+	increase 4,pdata
+	store 2,mem_sdp_tx_payload_ptr
+	setarg 0
+	store 2,mem_sdp_tx_pkt_length
+	rtn
+
+l2cap_get_sdp_tx_buff:
+	fetch 2,mem_sdp_tx_buff_ptr
+	branch l2cap_util_pdata_to_contw
+
+l2cap_get_sdp_tx_payload:
+	fetch 2,mem_sdp_tx_payload_ptr
+	branch l2cap_util_pdata_to_contw
+
+
+l2cap_malloc_rfcomm_channel:
+	bpatchx patch21_7,mem_patch21
+	call push_stack
+	jam RFCOMM_MALLOC_FAIL,mem_rfcomm_malloc_fail_flag
+	call l2cap_malloc_is_fifo_full
+	nrtn blank
+	arg RFCOMM_MALLOC_SIZE,rega
+	call l2cap_malloc
+	store 2,mem_rfcomm_tx_buff_ptr
+	increase 4,pdata
+	store 2,mem_rfcomm_tx_payload_ptr
+	setarg 0
+	store 2,mem_rfcomm_tx_pkt_length
+	jam RFCOMM_MALLOC_SUCCEED,mem_rfcomm_malloc_fail_flag
+	branch pop_stack
+
+l2cap_get_rfcomm_tx_buff:
+	fetch 2,mem_rfcomm_tx_buff_ptr
+	branch l2cap_util_pdata_to_contw
+	
+l2cap_util_pdata_to_contw:
+	branch assert,blank
+	copy pdata,contw
+	rtn
+	
+
+l2cap_lpm_save_calc_len:
+	bpatchx patch22_0,mem_patch22
+	arg 0,regb
+	arg mem_tx_fifo0_map,rega
+	increase -2,rega
+l2cap_lpm_save_calc_len_loop:
+	increase 2,rega
+	setarg mem_tx_fifo_end
+	isub rega,null
+	branch l2cap_lpm_save_calc_len_end,zero //end of 2lcap tx fifo
+	ifetch 1,rega
+	increase 1,rega
+	branch l2cap_lpm_save_calc_len_loop,blank
+	ifetcht 2,rega
+	ifetch 2,temp
+	iadd regb,regb
+	increase 4,regb //l2cap header len
+	branch l2cap_lpm_save_calc_len_loop
+l2cap_lpm_save_calc_len_end:
+	copy regb,pdata
+	rtn
+
+
+l2cap_lpm_get_wake_lock:
+	arg wake_lock_l2cap_tx,queue
+	branch lpm_get_wake_lock
+
+l2cap_lpm_put_wake_lock:
+	arg wake_lock_l2cap_tx,queue
+	branch lpm_put_wake_lock
+	
+l2cap_lpm_save_txbuf:
+	bpatchx patch22_1,mem_patch22
+	call l2cap_malloc_get_full_map
+	fetch 1,mem_used_map
+	rtn blank
+	call l2cap_lpm_save_calc_len
+	arg l2cap_lpm_txbuf_len,temp
+	isub temp,null
+	branch l2cap_lpm_get_wake_lock,positive //no enougth space to save l2cap tx data
+	call l2cap_lpm_put_wake_lock
+	arg mem_l2cap_lpm_txbuf,contw
+	arg mem_tx_fifo0,rega
+l2cap_lpm_save_txbuf_loop:
+	setarg mem_tx_fifo_end
+	isub rega,null
+	rtn zero //end of 2lcap tx fifo
+	ifetch 1,rega  //mem_tx_fifoX_map
+	increase 1,rega
+	nbranch l2cap_lpm_save_txbuf_nempty,blank
+	istore 2,contw // length = 0
+	increase 2,rega
+	branch l2cap_lpm_save_txbuf_loop
+l2cap_lpm_save_txbuf_nempty:
+	ifetch 2,rega //ptr
+	increase 2,rega
+	copy pdata,contr
+	ifetch 2,contr  //l2cap len
+	istore 2,contw
+	copy pdata,loopcnt
+	increase 2,loopcnt //add CID len
+	call memcpy
+	branch l2cap_lpm_save_txbuf_loop
+	
+l2cap_lpm_load_txbuf:
+	bpatchx patch22_2,mem_patch22
+	call l2cap_malloc_get_full_map
+	fetch 1,mem_used_map
+	rtn blank
+	arg mem_tx_fifo0_ptr,rega
+	increase -3,rega //mem_tx_fifo0_ptr -3
+	arg mem_l2cap_lpm_txbuf,contr
+l2cap_lpm_load_txbuf_loop:
+	increase 3,rega //mem_tx_fifoX_ptr
+	setarg mem_tx_fifo_end+1
+	isub rega,null
+	rtn zero //end of 2lcap tx fifo
+	ifetch 2,contr
+	branch l2cap_lpm_load_txbuf_loop,blank
+	increase 4,pdata //l2cap header len
+	copy pdata,loopcnt
+	copy contr,regb
+	ifetch 2,rega //ptr
+	copy pdata,contw
+	copy regb,contr
+	increase -2,contr
+	call memcpy
+	branch l2cap_lpm_load_txbuf_loop
+	
+
+
+	
+	
+
+
+
+init_lmp:
+	rtn wake
+init_lmp_work:
+	bpatchx patch22_3,mem_patch22
+	setarg 0
+	store 1,mem_lmp_to_send
+	store 1,mem_conn_sm
+	store 1,mem_lmo_opcode1
+	store 1,mem_lmo_opcode2
+	store 1,mem_esco_addr
+	store 1,mem_connection_options
+	store 1,mem_pairing_auth
+	store 3,mem_encapsulated_major_type
+	store 1,mem_remote_br_sc_support
+	jam SWITCH_FLAG_INIT,mem_switch_flag
+	jam 0,mem_switch_fail_master_count
+	jam NULL_ENCRYP,mem_wait_encryption
+init_lmp_reinit:	
+	jam 0,mem_pairing_auth
+	jam 0,mem_sp_localsm
+	jam 0,mem_lmp_conn_state
+	//fall through
+parse_rx_done:
+	rtn
+
+parse_lmp:
+	bpatchx patch22_4,mem_patch22
+	call setlocalsm_master,master	//use this flag in hci
+	ncall setlocalsm_slave,master
+	call lmo_fifo_check
+	nrtn blank
+	fetch 1,mem_state_map
+	rtnbit0 smap_rxlmp
+	set0 smap_rxlmp,pdata
+	set0 mark_rxbuf_inuse,mark
+	store 1,mem_state_map
+	fetch 1,mem_rxbuf
+	fetcht 1,mem_state_map
+	isolate1 smap_lmptidinit,pdata
+	setflag true,smap_lmptid,temp
+	storet 1,mem_state_map
+	and_into 0x2,temp //smap_lmptid only
+	storet 1,mem_lmo_tid2
+	fetcht 1,mem_state_map
+	rshift pdata,pdata			
+  	store 1,mem_lmi_opcode2
+	bpatchx patch22_5,mem_patch22
+  	fetch 1,mem_lmi_opcode2
+  	beq LMP_ESCAPE,parse_lmp_escape//multi
+  	beq LMP_ACCEPTED,parse_lmp_accepted//multi
+	beq LMP_NOT_ACCEPTED,parse_lmp_not_accepted//multi
+  	beq LMP_SET_AFH, parse_lmp_set_afh
+  	beq LMP_CLKOFFSET_REQ, parse_lmp_clkoffset_req
+ 	beq LMP_ENCRYPTION_MODE_REQ, parse_lmp_encryption_mode_req
+ 	beq LMP_ENCRYPTION_KEY_SIZE_REQ,parse_lmp_crypt_key
+	beq LMP_AUTO_RATE,parse_lmp_auto_rate
+	beq LMP_TEST_CONTROL,parse_lmp_test_control//multi
+	beq LMP_TEST_ACTIVATE,parse_lmp_test_activate
+	beq LMP_SETUP_COMPLETE,parse_lmp_setup_complete
+	beq LMP_SUPERVISION_TIMEOUT,parse_lmp_supervision_timeout
+	beq LMP_FEATURES_REQ,parse_lmp_features_req
+	beq LMP_HOST_CONNECTION_REQ,parse_lmp_conn_req
+	beq LMP_VERSION_REQ,parse_lmp_version_req
+	beq LMP_VERSION_RES,parse_lmp_version_res
+	beq LMP_DETACH,parse_lmp_detach
+	beq LMP_MAX_SLOT,parse_lmp_max_slot
+	beq LMP_MAX_SLOT_REQ,parse_lmp_max_slot_req
+	beq LMP_NAME_REQ,parse_lmp_name_req
+	beq LMP_NAME_RES,parse_lmp_name_res
+	beq LMP_FEATURES_RES,parse_lmp_features_res
+	beq LMP_COMB_KEY,parse_lmp_comb_key
+	beq LMP_AU_RAND, parse_lmp_au_rand
+	beq LMP_IN_RAND,parse_lmp_in_rand
+	beq LMP_SRES,parse_lmp_sres
+	beq LMP_INCR_POWER_REQ,parse_lmp_incr_power
+	beq LMP_DECR_POWER_REQ,parse_lmp_decr_power
+	beq LMP_MAX_POWER, parse_lmp_max_power
+	beq LMP_MIN_POWER, parse_lmp_min_power
+	beq LMP_PAGE_MODE_REQ, parse_lmp_page_mode_req
+	beq LMP_PAGE_SCAN_MODE_REQ, parse_lmp_page_scan_mode_req
+	beq LMP_PREFERRED_RATE, parse_lmp_preferred_rate
+	beq LMP_SLOT_OFFSET, parse_lmp_slot_offset
+	beq LMP_SNIFF_REQ, parse_lmp_sniff_req
+	beq LMP_START_ENCRYPTION_REQ, parse_lmp_start_encryption_req
+	beq LMP_STOP_ENCRYPTION_REQ, parse_lmp_stop_encryption_req
+	beq LMP_SWITCH_REQ, parse_lmp_switch_req
+	beq LMP_TEMP_RAND, parse_lmp_temp_rand
+	beq LMP_TEMP_KEY, parse_lmp_temp_key
+	beq LMP_TIMING_ACCURACY_REQ, parse_lmp_timing_accuracy_req
+	beq LMP_TIMING_ACCURACY_RES, parse_lmp_timing_accuracy_res
+	beq LMP_UNIT_KEY, parse_lmp_unit_key
+	beq LMP_UNSNIFF_REQ, parse_lmp_unsniff_req
+	beq LMP_USE_SEMI_PERMANENT_KEY, parse_lmp_use_semi_permanend_key
+	beq LMP_ENCAPSULATED_HEADER,parse_lmp_encapsulated_header
+	beq LMP_ENCAPSULATED_PAYLOAD,parse_lmp_encapsulated_payload
+	beq LMP_SIMPLE_PAIRING_CONFIRM,parse_simple_pairing_confirm
+	beq LMP_SIMPLE_PAIRING_NUMBER,parse_lmp_simple_pairing_number
+	beq LMP_DHKEY_CHECK,parse_dhkey_check
+	beq LMP_CLKOFFSET_RES, parse_lmp_clkoffset_res
+	beq LMP_ENC_KEY_SIZE_MASK_REQ,parse_enc_key_size_mask_req
+	beq LMP_QUALITY_OF_SERVICE_REQ,parse_quality_of_server_req
+	beq LMP_QUALITY_OF_SERVICE,parse_quality_of_server
+ 
+
+reject_unknown_packet:
+	jam UNKNOWN_LMP_PDU,mem_lmo_reason2
+reject_lmp_packet:
+	jam LMP_NOT_ACCEPTED,mem_lmo_opcode2
+	rtn
+
+parse_quality_of_server_req:
+	branch accept_lmp_msg
+
+parse_quality_of_server:
+	rtn
+
+parse_lmp_clkoffset_req:
+	jam LMP_CLKOFFSET_RES,mem_lmo_opcode2
+	rtn	
+
+parse_enc_key_size_mask_req:
+	jam LMP_ENC_KEY_SIZE_MASK_RES,mem_lmo_opcode2
+	rtn
+	
+parse_lmp_set_afh:
+	fetch 4,mem_rxbuf+1
+	lshift pdata,pdata
+	store 4,mem_afh_instant
+	fetch 1,mem_rxbuf+5
+	store 1,mem_afh_new_mod
+	fetch 5,mem_rxbuf+6
+	store 5,mem_afh_map_new
+	fetch 5,mem_rxbuf+11
+	istore 5,contw
+	fetch 1,mem_mode
+	set1 afh_change,pdata
+	store 1,mem_mode
+	rtn
+parse_lmp_escape:
+	bpatchx patch22_6,mem_patch22
+	fetch 1,mem_rxbuf+1
+	set1 7,pdata
+	store 1,mem_lmi_opcode2
+	beq LMP_EXT_ACCEPTED,parse_lmpext_accepted
+	beq LMP_NOT_ACCEPTED_EXT,parse_lmpext_not_accepted
+	beq LMP_SNIFF_SUBRATING_REQ, parse_lmp_sniff_subrating_req
+	beq LMP_SNIFF_SUBRATING_RES, parse_lmp_sniff_subrating_res
+	beq LMP_PACKET_TYPE_TABLE_REQ,parse_lmpext_packet_type_table_req
+	beq LMP_EXT_FEATURES_REQ,parse_lmpext_features_req
+	beq LMP_EXT_FEATURES_RES,parse_lmpext_features_res
+	beq LMP_EXT_CHN_CLASSIFICATION_REQ,parse_lmpext_chn_classification_req
+	beq LMP_PAUSE_ENCRYPTION_REQ,parse_lmpext_pause_encrypt
+	beq LMP_RESUME_ENCRYPTION_REQ,parse_lmpext_resume_encrypt
+	beq LMP_IO_CAP_REQ,parse_lmpext_iocap_req
+	beq LMP_IO_CAP_RES,parse_lmpext_iocap_res
+	beq LMP_PING_REQ,parse_lmpext_ping_req
+	rtneq LMP_EXT_FEATURES_RES
+
+reject_unknown_ext_packet:
+	jam LMP_NOT_ACCEPTED_EXT,mem_lmo_opcode2
+	jam UNKNOWN_LMP_PDU,mem_lmo_reason2
+	rtn
+
+parse_lmpext_ping_req:
+	jam LMP_PING_RES,mem_lmo_opcode2
+	rtn
+	
+parse_lmpext_chn_classification_req:
+	jam LMP_NOT_ACCEPTED_EXT,mem_lmo_opcode2
+	jam NOT_SUPPORT_CHN_CLASSIFICATION,mem_lmo_reason2
+	rtn
+	
+parse_lmpext_iocap_req:
+	call iocap_lmpext_load
+	jam LMP_IO_CAP_RES,mem_lmo_opcode2
+	rtn
+
+parse_lmpext_iocap_res:
+	call iocap_lmpext_load
+	branch iocap_lmpext_common
+	
+iocap_lmpext_load:
+	arg      mem_sp_iocap_remote,contw
+	fetch 3, mem_rxbuf+2
+	istore    3,contw
+	rtn
+	
+iocap_lmpext_common:
+	branch master_set_mem_master_sp_flag,true//is un very ok to use master flag,but we have to add many codes if wo don't
+	rtn
+parse_lmpext_accepted:
+	fetch 1,mem_rxbuf+3
+	set1 7,pdata
+	store 1,mem_lmi_accepted_opcode
+	beq LMP_PACKET_TYPE_TABLE_REQ,parse_lmpext_accepted_ptt
+	rtn
+
+	
+parse_lmpext_not_accepted:
+	fetch 1,mem_rxbuf+3
+	set1 7,pdata
+	store 1,mem_lmi_accepted_opcode
+	beq LMP_PACKET_TYPE_TABLE_REQ,parse_lmpext_not_accepted_ptt
+	rtn
+
+parse_lmpext_accepted_ptt:
+	fetch 1,mem_ptt
+	fetcht 1,mem_state_map
+	nsetflag blank,smap_edr,temp
+	storet 1,mem_state_map
+parse_lmpext_not_accepted_ptt:
+	fetch 1,mem_state
+	rtnbit0 state_init_seq
+	set0 state_init_seq,pdata
+	store 1,mem_state
+	jam LMP_SETUP_COMPLETE,mem_lmo_opcode2
+	rtn
+
+parse_lmpext_pause_encrypt:
+	nbranch parse_lmpext_pause_encrypt_slave, master
+	jam LMP_STOP_ENCRYPTION_REQ,mem_lmo_opcode2
+	branch tid_reply
+
+parse_lmpext_pause_encrypt_slave:	
+	jam LMP_PAUSE_ENCRYPTION_REQ, mem_lmo_opcode2
+	rtn
+
+parse_lmpext_resume_encrypt:
+//trans file to pc may cause pause/resume encrypt
+//if ms is conn_sm_wait_end the controllor won't send ack after recieved start_encypt_accept
+	call tid_reply
+	branch lmp_start_encryption
+
+parse_lmpext_features_req:
+	ifetch 1,contr
+	store 1,mem_ext_features_page
+	beq 1,parse_lmpext_features_req_page1
+	beq 2,parse_lmpext_features_req_page2	
+	rtn
+	
+parse_lmpext_features_req_page1:
+	jam LMP_EXT_FEATURES_RES,mem_lmo_opcode2
+	increase 1,contr
+	ifetch 1,contr
+	bbit1 LMP_FEATURES_EXT_PAGE1_SC_HOST_BIT,remote_support_br_sc_host
+	branch remote_not_support_br_sc_host
+	
+parse_lmpext_features_req_page2:
+	jam LMP_EXT_FEATURES_RES,mem_lmo_opcode2
+	increase 1,contr
+	ifetch 2,contr
+	bbit1 LMP_FEATURES_EXT_PAGE2_SC_CONTROLLER_BIT,remote_support_br_sc_controller
+	branch remote_not_support_br_sc_controller
+	
+remote_support_br_sc_controller:
+	fetch 1,mem_remote_br_sc_support
+	set1 REMOTE_BR_SC_CONTROLLER_BIT,pdata
+	call set_remote_br_sc_support
+	
+	fetch 1,mem_remote_br_sc_support
+	rtnne 3
+	fetch 1,mem_secure_connections_enable
+	rtnbit0 SECURE_CONNECTIONS_BR_BIT
+ 	jam ENCAPSULATED_MINOR_TYPE_P256,mem_encapsulated_minor_type
+ 	rtn
+ 	
+remote_not_support_br_sc_controller:
+	fetch 1,mem_remote_br_sc_support
+	set0 REMOTE_BR_SC_CONTROLLER_BIT,pdata
+set_remote_br_sc_support:	
+	store  1,mem_remote_br_sc_support
+	rtn
+	 
+remote_support_br_sc_host:
+	fetch 1,mem_remote_br_sc_support
+	set1 REMOTE_BR_SC_HOST_BIT,pdata
+	branch set_remote_br_sc_support	
+	
+remote_not_support_br_sc_host:
+	fetch 1,mem_remote_br_sc_support
+	set0 REMOTE_BR_SC_HOST_BIT,pdata
+	branch set_remote_br_sc_support	
+	
+parse_lmpext_features_res:
+	fetcht 1,mem_rxbuf+4
+	and temp,0x1,temp
+	storet 1,mem_remote_sppcap
+	fetch 1,mem_hci_cmd
+	bne hci_cmd_wait_remote_ext_feature,parse_lmpext_features_res_not_hci
+	jam 0,mem_hci_cmd
+parse_lmpext_features_res_not_hci:
+	fetch 1,mem_conn_sm
+	rtnne CONN_SM_WAIT_FEATURES_EXT
+	jam CONN_SM_SEND_CONN_REQ,mem_conn_sm
+	branch process_conn_sm
+
+parse_lmp_accepted:
+	bpatchx patch22_7,mem_patch22
+	fetch 1,mem_rxbuf+1
+	store 1,mem_lmi_accepted_opcode
+	beq LMP_HOST_CONNECTION_REQ,parse_lmp_accepted_hostconn//ok
+	beq LMP_IN_RAND,parse_lmp_accepted_inrand//ok
+	beq LMP_ENCRYPTION_MODE_REQ,parse_lmp_accepted_enc_mode//ok
+	beq LMP_ENCRYPTION_KEY_SIZE_REQ,parse_lmp_accepted_enc_keysize//ok
+	beq LMP_START_ENCRYPTION_REQ,parse_lmp_accepted_start_enc//ok
+	beq LMP_STOP_ENCRYPTION_REQ,parse_lmp_accepted_stop_enc//ok
+	beq LMP_UNSNIFF_REQ,parse_lmp_accepted_unsniff_req//ok
+	beq LMP_SNIFF_REQ,parse_lmp_accepted_sniff_req//ok
+	beq LMP_SWITCH_REQ,parse_lmp_accepted_switch
+	// simple pairing 
+	beq LMP_ENCAPSULATED_HEADER,parse_lmp_accepted_encapsulated_header//ok
+	beq LMP_ENCAPSULATED_PAYLOAD,parse_lmp_accepted_encapsulated_payload//ok
+	beq LMP_SIMPLE_PAIRING_NUMBER,parse_lmp_accepted_simple_pairing_number//ok
+	beq LMP_DHKEY_CHECK,parse_lmp_accepted_dhkey_check//ok
+	rtn
+	
+parse_lmp_not_accepted:
+	bpatchx patch23_0,mem_patch23
+	fetch 1,mem_rxbuf+1
+	store 1,mem_lmi_accepted_opcode
+	beq LMP_NAME_REQ,parse_lmp_not_accepted_name_req//ok
+	beq LMP_HOST_CONNECTION_REQ,parse_lmp_not_accepted_hostconn//ok
+	beq LMP_AU_RAND,parse_lmp_not_accepted_aurand//ok
+	beq LMP_IN_RAND,parse_lmp_not_accepted_inrand//ok
+	beq LMP_SWITCH_REQ,parse_lmp_not_accepted_switch//ok
+	
+	beq  LMP_SIMPLE_PAIRING_NUMBER,parse_lmp_not_accepted_simple_pairing_number//ok
+	beq  LMP_DHKEY_CHECK,parse_lmp_not_accepted_dhkey_check//ok
+	beq LMP_UNSNIFF_REQ,parse_lmp_not_accepted_unsniff_req
+	beq LMP_SNIFF_REQ,parse_lmp_not_acdcept_sniff_req
+	rtn
+
+parse_lmp_accepted_switch:
+	jam BT_EVT_SWITCH_ACCEPT,mem_fifo_temp
+	call ui_ipc_send_event
+	branch role_switch_prepare0
+	
+parse_lmp_not_accepted_switch:
+	jam BT_EVT_SWITCH_NOT_ACCEPT,mem_fifo_temp
+	call ui_ipc_send_event
+	jam SWITCH_FLAG_NOT_ACCEPT,mem_switch_flag
+	setarg TIMER_SWITCH_WAITE
+	arg switch_wait_timer,queue
+	branch timer_init
+
+
+parse_lmp_accepted_hostconn:
+	//fetch 1,mem_state
+	//rtnbit0 state_init_seq
+	fetch 1,mem_lmp_conn_state
+	set1 RECEIVED_CONN_REQ,pdata
+	store 1,mem_lmp_conn_state
+	jam BT_EVT_BB_CONNECTED,mem_fifo_temp
+	call ui_ipc_send_event
+	jam LMP_PACKET_TYPE_TABLE_REQ,mem_lmo_opcode2
+	//nbranch parse_lmp_accepted_hostconn_ctn,master
+parse_lmp_accepted_hostconn_ctn:
+	
+	fetch 1,mem_conn_sm
+	bne CONN_SM_WAIT_CONN_ACCEPT, parse_rx_done
+	//branch parse_lmp_accepted_hostconn_master,master
+	
+	jam CONN_SM_AUTH_PAIR,mem_conn_sm
+	rtn
+	//branch host_create_conn_auth_pair
+
+	
+//parse_lmp_accepted_hostconn_master:
+	//jam CONN_SM_AUTH_PAIR ,mem_conn_sm
+//	rtn
+
+parse_lmp_not_accepted_hostconn:
+	jam ACL_CONNECTION_ALREADY_EXISTS,mem_disconn_reason_send
+	jam LMP_DETACH,mem_lmo_opcode2
+	
+	jam CONN_SM_STANDBY,mem_conn_sm
+	
+	branch parse_rx_done,true
+	rtn
+
+parse_lmp_accepted_inrand:
+	fetch 1,mem_link_key_exists
+	nrtn blank
+	call clear_linkkey
+	call  lmp_generate_key
+	rtn master
+	set1 mark_slave_in_rand_accepted,mark
+	rtn
+
+parse_lmp_accepted_enc_mode:
+	nrtn master
+	jam LMP_ENCRYPTION_KEY_SIZE_REQ,mem_lmo_opcode2
+	fetch 1,mem_state_map
+	rtnbit0 smap_encryption
+	jam LMP_STOP_ENCRYPTION_REQ,mem_lmo_opcode2
+	rtn
+
+parse_lmp_accepted_enc_keysize:
+	branch lmp_start_encryption
+	
+parse_lmp_accepted_start_enc:
+	call send_create_conn_start_l2cap_timer_sm
+	fetch 1,mem_state
+	rtnbit1 state_conn_comp
+	jam LMP_SETUP_COMPLETE,mem_lmo_opcode2
+	fetch 1,mem_conn_sm
+	rtnne CONN_SM_ENCRYPT_WAIT
+	jam CONN_SM_ENCRYPT_WAIT_CLEAR,mem_conn_sm
+	rtn
+	
+parse_lmp_accepted_stop_enc:
+	
+	//jam HOST_STOP_ENCRYPTION,message_queue_B0
+	//jam 1,message_queue_B1
+	//jam HOST_RETURN_SUCCESS,message_queue_B2
+	//fetch 1,mem_lmp_state2
+	//set1 MESSAGE_QUEUE,pdata
+	//store 1,mem_lmp_state2
+	rtn
+
+parse_lmp_not_accepted_aurand:	
+parse_lmp_not_accepted_aurand_send_detach:	
+	fetch 1,mem_device_option
+	sub pdata,dvc_op_mouse,null
+	call mouse_delay_enter_hibernata,zero
+	jam LMP_DETACH,mem_lmo_opcode2
+	jam OTHER_END_TERMINATED,mem_disconn_reason_send
+	rtn
+
+parse_lmp_not_accepted_inrand:
+	fetch 1,mem_rxbuf+2
+	beq KEY_MISSING,parse_lmp_inrand_key_missing
+	rtnne PAIRING_NOT_ALLOWED
+	jam PAIRING_NOT_ALLOWED,mem_disconn_reason_send
+	jam LMP_DETACH,mem_lmo_opcode2
+	rtn	
+parse_lmp_inrand_key_missing:
+	jam KEY_MISSING,mem_disconn_reason_send
+	jam LMP_DETACH,mem_lmo_opcode2
+	rtn
+	
+parse_lmp_not_accepted_name_req:
+	rtn
+	
+parse_lmp_not_accepted_simple_pairing_number:
+	jam SP_STAT_NULL,mem_sp_state
+	jam LMP_DETACH,mem_lmo_opcode2
+	branch parse_rx_done
+	
+parse_lmp_not_accepted_dhkey_check:
+	jam SP_STAT_NULL,mem_sp_state
+	jam LMP_DETACH,mem_lmo_opcode2
+	branch parse_rx_done
+parse_lmp_not_accepted_unsniff_req:
+	jam BT_EVT_UNSNIFF_NOT_ACCEPT,mem_fifo_temp
+	branch ui_ipc_send_event
+	
+parse_lmp_accepted_unsniff_req:
+	jam BT_EVT_UNSNIFF_ACCEPT,mem_fifo_temp
+	call ui_ipc_send_event
+	branch sniff_exit
+	
+parse_lmp_accepted_sniff_req:
+	jam BT_EVT_SNIFF_ACCEPT,mem_fifo_temp
+	call ui_ipc_send_event
+	setarg 0
+	store 2,mem_dsniff
+	fetch 2,mem_sniff_param_interval
+	lshift pdata,pdata
+	store 2,mem_tsniff
+	fetch 1,mem_sniff_param_attempt
+	store 1,mem_sniff_attempt
+	fetch 1,mem_sniff_param_timeout
+	store 1,mem_sniff_timeout
+	branch sniff_init
+	
+parse_lmp_not_acdcept_sniff_req:
+	jam BT_EVT_SNIFF_NOT_ACCEPT,mem_fifo_temp
+	branch ui_ipc_send_event
+	
+parse_lmp_crypt_key:
+	fetcht 1,mem_rxbuf+1
+	sub temp,6,null
+	branch lmp_reject_pdu_not_allowed,positive
+	storet 1,mem_key_size
+	branch accept_lmp_msg
+	
+parse_lmp_setup_complete:
+	fetch 1,mem_lmp_conn_state
+	set1 RECEIVED_SETUP_COMPLETE,pdata
+	store 1,mem_lmp_conn_state
+	rtnbit1 SENT_SETUP_COMPLETE
+	jam LMP_SETUP_COMPLETE,mem_lmo_opcode2
+	branch parse_rx_done
+	
+parse_lmp_max_slot:
+	//jam LMP_MAX_SLOT,mem_lmi_opcode2
+	//branch accept_lmp_msg
+	rtn
+	
+parse_lmp_max_slot_req:
+	fetch 1,mem_max_slot
+	fetcht 1,mem_rxbuf+1
+	isub temp,null
+	//jam LMP_MAX_SLOT_REQ,mem_lmi_opcode2
+	branch accept_lmp_msg,positive
+	jam LMP_NOT_ACCEPTED,mem_lmo_opcode2
+	jam UNSPECIFIED_ERROR,mem_lmo_reason2
+	jam LMP_MAX_SLOT_REQ,mem_lmi_opcode2
+	rtn
+	
+parse_lmp_detach:
+	branch prepare_disconnect
+	
+accept_lmp_msg:
+	jam LMP_ACCEPTED,mem_lmo_opcode2
+	rtn
+
+parse_lmp_incr_power:
+	jam LMP_MAX_POWER,mem_lmo_opcode2
+	rtn
+
+parse_lmp_decr_power:
+	jam LMP_MIN_POWER,mem_lmo_opcode2
+	rtn
+	
+parse_lmp_version_res:
+	fetch 1,mem_conn_sm
+	rtneq CONN_SM_WAIT_VERSION
+	
+	jam CONN_SM_SEND_FEATURES ,mem_conn_sm
+	
+	rtn
+
+
+parse_lmp_auto_rate:
+	rtn	
+
+parse_lmp_in_rand:
+	fetch 1,mem_sc_only_mode
+	nbranch parse_lmp_in_rand_not_accept,blank
+	
+	call lmp_copy_rand
+	jam pincode_state_wait_pincode,mem_pincode_state
+	jam BT_EVT_PINCODE_REQ,mem_fifo_temp
+	call ui_ipc_send_event
+
+	call tid_check
+	nbranch lmp_accept_inrand,true
+	nbranch parse_lmp_inrand_res,master // ignore this because of not ssp temporary
+parse_lmp_in_rand_not_accept:
+	jam LMP_NOT_ACCEPTED,mem_lmo_opcode2
+	jam LMP_IN_RAND,mem_lmi_opcode2
+	jam TRANSACTION_COLLISION,mem_lmo_reason2
+	rtn
+	
+parse_lmp_inrand_res:
+	fetch 1,mem_op
+	set1 op_inrand_req,pdata
+	store 1,mem_op
+	rtn
+
+//store current tid
+pop_tid_follow:
+	fetcht 1,mem_state_map
+	nsetflag blank,smap_lmptid,temp
+	storet 1,mem_state_map
+	rtn
+	
+//restore current tid
+push_tid_follow:
+	fetch 1,mem_lmo_tid2
+	rshift pdata,pdata
+	and_into 1,pdata
+	rtn
+
+parse_lmp_au_rand_moudle:
+	fetch 1,mem_nv_data_number
+	rtn blank
+	fetch 1,mem_pairing_auth
+	call load_device_list,blank
+	rtn	
+
+parse_lmp_au_rand:
+	call parse_lmp_au_rand_moudle
+	call push_tid_follow
+	store 1,mem_sres_tid
+	fetch 1,mem_encapsulated_minor_type
+	beq ENCAPSULATED_MINOR_TYPE_P256,parse_lmp_au_rand_256
+	call lmp_copy_rand
+	jam LMP_SRES,mem_lmo_opcode2
+parse_lmp_au_rand_common:	
+	fetch 1,mem_link_key_exists
+	nrtn blank
+	fetch 1,mem_state
+	rtnbit1 state_combkey		
+	jam KEY_MISSING,mem_lmo_reason2
+	branch reject_lmp_packet
+	
+parse_lmp_au_rand_256:
+	jam LMP_AU_RAND,mem_lmo_opcode2
+	arg mem_sp_random_remote,contw
+	arg mem_rxbuf+1,contr
+	call memcpy16	
+	branch parse_lmp_au_rand_common
+
+	
+parse_lmp_sres:	
+	fetch 1,mem_encapsulated_minor_type
+	beq ENCAPSULATED_MINOR_TYPE_P256,parse_lmp_sres_256
+
+	arg mem_plap,rega
+	call function_e1
+	fetcht 4,mem_input_store
+	fetch 4,mem_rxbuf+1
+	isub temp,null
+	branch authentication_ok,zero
+authentication_fail:	
+	jam LMP_DETACH,mem_lmo_opcode2
+	jam AUTHENTICATION_FAILURE_ERROR,mem_disconn_reason_send	
+	rtn
+	
+authentication_ok:
+	call copy_aco
+	call authentication_ok_common
+	fetch 1,mem_ssp_enable
+	branch  pairing_success,blank
+	rtn
+
+parse_lmp_sres_256:
+	fetch 4,mem_rxbuf+1
+	fetcht 4,mema
+	isub temp,null
+	branch authentication_ok_256,zero
+	branch authentication_fail
+	
+authentication_ok_256:
+	call authentication_ok_common
+	fetch 1,mem_secure_connections_enable
+	bbit1  SECURE_CONNECTIONS_BR_BIT,pairing_success
+	rtn
+	
+	
+authentication_ok_common:
+	call linkkey_ready///save link key
+	fetch 1,mem_op
+	isolate1 op_auth_req,pdata
+	set0 op_auth_req,pdata
+	store 1,mem_op
+	fetch 1,mem_conn_sm
+	beq CONN_SM_AUTH_WAIT,authentication_ok_conn_sm
+	beq CONN_SM_PAIRING_WAIT,authentication_ok_conn_sm
+	rtn
+authentication_ok_conn_sm:
+	fetch 1,mem_pairing_auth
+	rtnne DEFALT_PAIRING_AUTH
+	fetch 1,mem_state_map
+	rtnbit1 smap_encryption
+	branch host_create_conn_encrypt
+
+parse_lmp_comb_key:
+	arg mem_rxbuf+1,rega
+	arg mem_kinit,regb
+	arg mem_random_number,contw
+	call xor16
+	arg mem_plap,rega
+	call generate_linkkey
+	jam LMP_AU_RAND,mem_lmo_opcode2
+	fetch 1,mem_state
+	bbit0 state_combkey,lmp_generate_key
+	rtn
+	
+parse_lmp_name_res:
+	fetch 2,mem_len
+	add pdata,-3,loopcnt	//for remote name length error
+	fetcht 1,mem_rxbuf+1
+	setarg mem_tmp_buffer
+	iadd temp,contw
+	arg mem_rxbuf+3,contr
+	call memcpy
+	fetcht 1,mem_name_offset
+	fetch 1,mem_rxbuf+2
+	isub temp,pdata
+	sub pdata,14,null
+	branch parse_lmp_name_res_end,positive
+	add temp,14,pdata
+	store 1,mem_name_offset
+	jam LMP_NAME_REQ,mem_lmo_opcode2
+	rtn
+parse_lmp_name_res_end:
+	fetch 1,mem_state_map
+	set1 smap_name_res,pdata
+	store 1,mem_state_map
+	bbit1 smap_name_req,lmp_disconnect
+	rtn
+parse_lmp_name_req:
+	fetch 1,mem_rxbuf+1
+	store 1,mem_lmi_opcode2 //offset 
+	jam LMP_NAME_RES,mem_lmo_opcode2
+	rtn
+
+parse_lmp_conn_req:
+	branch accept_lmp_msg
+
+parse_lmp_timing_accuracy_req:
+	jam LMP_TIMING_ACCURACY_RES,mem_lmo_opcode2
+	rtn
+
+parse_lmp_features_req:
+	jam LMP_FEATURES_RES,mem_lmo_opcode2
+	rtn
+
+parse_lmp_version_req:
+	jam LMP_VERSION_RES,mem_lmo_opcode2
+	rtn
+
+parse_lmp_supervision_timeout:
+//	fetch 2,mem_rxbuf+1
+//	store 2,mem_supervision_to
+	rtn
+	
+
+
+parse_lmp_sniff_subrating_req:
+	fetch 2,mem_tsniff
+	iforce temp
+	fetch 1,mem_rxbuf+2
+	store 1,mem_subsniff_rate
+	imul32 temp,temp
+	fetch 2,mem_rxbuf+3
+	lshift pdata,pdata
+	store 2,mem_subsniff_tcmax
+	fetch 4,mem_rxbuf+5
+	lshift pdata,pdata
+ 	store 4,mem_subsniff_instant
+	//product pdata
+	deposit temp
+	store 2,mem_subsniff_tsniff
+	rtn
+parse_lmpext_packet_type_table_req:
+	fetcht 1,mem_ptt
+	fetch 1,mem_rxbuf+2
+	ixor temp,null
+	nbranch reject_unknown_ext_packet,zero
+	isolate1 0,pdata
+	fetch 1,mem_state_map
+	setflag true,smap_edr,pdata
+	store 1,mem_state_map
+	jam LMP_EXT_ACCEPTED,mem_lmo_opcode2
+	jam LMP_PACKET_TYPE_TABLE_REQ,mem_lmi_opcode2
+	rtn
+
+	
+parse_lmp_sniff_subrating_res:
+parse_lmp_preferred_rate:
+parse_lmp_max_power:
+parse_lmp_min_power:
+	rtn
+parse_lmp_page_mode_req:
+	//jam LMP_PAGE_MODE_REQ,mem_lmi_opcode2
+	branch accept_lmp_msg
+parse_lmp_page_scan_mode_req:
+	//this can influence connection. need accepted
+	//jam LMP_PAGE_SCAN_MODE_REQ,mem_lmi_opcode2
+	branch accept_lmp_msg
+
+
+	
+parse_lmp_slot_offset:
+	fetch 2,mem_rxbuf+1
+	store 2,mem_slot_offset
+	rtn
+
+parse_lmp_sniff_req_check_sniff_para:
+	fetch 2,mem_rxbuf+4 
+	fetcht 1,mem_lpm_mult
+	imul32 temp,pdata
+	arg 0x640,temp
+	isub temp,null
+//	branch lmp_reject_pdu_not_allowed,positive
+	rtn
+	
+parse_lmp_sniff_req:
+	fetch 2,mem_rxbuf+6
+	branch lmp_reject_pdu_not_allowed,blank
+	call parse_lmp_sniff_req_check_sniff_para
+	branch lmp_reject_pdu_not_allowed,positive
+	fetch 1,mem_device_option
+	sub pdata,dvc_op_module,null
+	call module_set_lpm_mult_2,zero
+	fetch 1,mem_state
+	bbit1 state_insniff,lmp_reject_pdu_not_allowed
+	fetch 2,mem_rxbuf+2 
+	lshift pdata,pdata
+	store 2,mem_dsniff	
+	fetch 2,mem_rxbuf+4 
+	lshift pdata,pdata
+	store 2,mem_tsniff
+	fetch 2,mem_rxbuf+6 
+	store 1,mem_sniff_attempt
+	iforce temp
+	fetch 2,mem_rxbuf+8 
+	store 1,mem_sniff_timeout
+	isub temp,null
+	nbranch set_big_value_to_attempt,positive
+	store 1,mem_sniff_attempt
+set_big_value_to_attempt:	
+	//call sniff_init
+	jam LMP_ACCEPTED,mem_lmo_opcode2
+	jam LMP_SNIFF_REQ,mem_lmi_opcode2
+	rtn
+
+parse_lmp_start_encryption_req:
+	fetch 1,mem_encapsulated_minor_type
+	beq ENCAPSULATED_MINOR_TYPE_P256,parse_lmp_start_encryption_req_256
+	call accept_lmp_msg
+	call lmp_copy_rand
+	call function_e3
+	branch start_encryption
+
+parse_lmp_start_encryption_req_256:
+	call accept_lmp_msg
+//	call lmp_copy_rand
+	call start_encryption
+calc_kc:	
+	call function_h3
+	arg mem_kc,contw
+	arg mem_sp_calc_result_high,contr
+	arg 0x10,loopcnt
+	branch reverse_byte
+	
+parse_lmp_stop_encryption_req:
+	call accept_lmp_msg
+	branch stop_encryption
+	
+
+parse_lmp_switch_req:
+	fetch 4,mem_rxbuf+1
+	lshift pdata,pdata
+	//branch parse_lmp_switch_req_not_accept
+	branch parse_lmp_switch_accept,master
+	fetcht 1,mem_link_key_exists
+	nbranch parse_lmp_switch_req_clear_mark,blank
+parse_lmp_switch_req_not_accept:
+	jam LMP_SWITCH_REQ,mem_lmi_opcode2
+	branch lmp_reject_pdu_not_allowed
+	
+parse_lmp_switch_req_clear_mark:
+	jam LMP_SLOT_OFFSET,mem_lmo_opcode2
+	jam 0,mem_conn_sm
+	branch role_switch_prepare
+
+parse_lmp_switch_accept:
+	call role_switch_prepare
+	set1 mark_reconn_recieve_switch,mark
+	fetch 1,mem_connection_options
+	set0 CONNECTION_SWITCH,pdata
+	store 1,mem_connection_options
+	branch accept_lmp_msg
+
+	
+
+parse_lmp_temp_rand:
+parse_lmp_temp_key:
+parse_lmp_timing_accuracy_res:	
+parse_lmp_unit_key:	
+parse_lmp_use_semi_permanend_key:
+	rtn
+
+	
+parse_lmp_unsniff_req:
+	jam LMP_ACCEPTED,mem_lmo_opcode2
+	jam LMP_UNSNIFF_REQ,mem_lmi_opcode2
+	jam BT_EVT_REMOTE_UNSNIFF,mem_fifo_temp
+	call ui_ipc_send_event
+	branch sniff_exit
+	
+parse_lmp_encapsulated_header:
+	jam 0,mem_sp_remote_key_recv_count
+	fetch 1,mem_rxbuf+1
+	store 1,mem_encapsulated_major_type
+	bne ENCAPSULATED_MAJOR_TYPE,lmp_reject_pdu_not_allowed
+	fetcht 1,mem_rxbuf+2
+	storet 1,mem_encapsulated_minor_type
+	
+	fetch 1,mem_sc_only_mode
+	branch parse_lmp_encapsulated_header2,blank
+	sub temp,ENCAPSULATED_MINOR_TYPE_P256,null
+	nbranch authentication_fail,zero
+parse_lmp_encapsulated_header2:
+	fetch 1,mem_rxbuf+3
+	beq ENCAPSULATED_LEN_P256,parse_lmp_encapsulated_header3
+	beq ENCAPSULATED_LEN_P192,parse_lmp_encapsulated_header3
+	branch lmp_reject_pdu_not_allowed
+
+parse_lmp_encapsulated_header3:
+	store 1,mem_encapsulated_len	
+	call check_localsm
+	branch parse_lmp_encapsulated_header_master,true
+	jam SP_STAT_KEY_RECV,mem_sp_state
+parse_lmp_encapsulated_header_master:
+	jam LMP_ACCEPTED,mem_lmo_opcode2
+	jam LMP_ENCAPSULATED_HEADER,mem_lmi_opcode2
+	branch parse_rx_done
+	
+	
+parse_lmp_accepted_encapsulated_header:
+	//jam LMP_ENCAPSULATED_PAYLOAD,mem_lmi_opcode2
+	//branch   accept_lmp_msg  	
+	jam LMP_ENCAPSULATED_PAYLOAD,mem_lmo_opcode2
+      //   branch   accept_lmp_msg  	
+         rtn
+parse_lmp_accepted_simple_pairing_number:
+	fetch 1,mem_ssp_mode_flag
+	beq SSP_MODE_SSP_PIN_FLAG,parse_lmp_accepted_simple_pairing_number_ssp_pin
+	beq SSP_MODE_PASSKEY_ENTRY_FLAG,parse_lmp_accepted_simple_pairing_number_passkey
+parse_lmp_accepted_simple_pairing_number_common:
+	call check_localsm
+	rtn true
+	jam SP_STAT_CONFIRM_RECV,mem_sp_state
+	rtn
+
+parse_lmp_accepted_simple_pairing_number_ssp_pin:
+	call g_noninit_number_confirm
+	jam BT_EVT_BT_GKEY_GENERATE,mem_fifo_temp
+	call ui_ipc_send_event
+	branch parse_lmp_accepted_simple_pairing_number_common
+
+
+parse_lmp_accepted_simple_pairing_number_passkey:
+	call check_localsm
+	rtn true
+	fetch 1,mem_authentication_passkey_times
+	beq 19,authentication_passkey_end
+	increase 1,pdata
+	store 1,mem_authentication_passkey_times
+//	branch p_authentication_passkey
+
+authentication_passkey:
+	jam SP_FLAG_COMMIT,mem_sp_flag
+	jam SP_STAT_COMMIT_CALC,mem_sp_state 
+	fetch 1,mem_authentication_passkey_times
+	copy pdata,queue
+	fetch 6,mem_pin
+	qisolate1 pdata
+	setarg 0x80
+	setflag true,0,pdata
+	store 1,mem_passkey_1bit
+	rtn
+
+authentication_passkey_end:	
+	jam SP_STAT_CONFIRM_RECV,mem_sp_state
+	rtn
+
+parse_lmp_accepted_dhkey_check:
+	call parse_lmp_accepted_dhkey_check_common
+pairing_success:
+	fetch 1,mem_flag_pairing_state
+	rtn blank
+	jam FLAG_PAIRING_STATE_NOT_PAIRING,mem_flag_pairing_state
+	jam BT_EVT_BT_PAIRING_SUCCESS,mem_fifo_temp
+	branch ui_ipc_send_event
+
+
+parse_lmp_accepted_dhkey_check_common:
+	call check_localsm
+	ncall g_noninit_192,true	//when be master  call g_init
+	call g_init_192,true
+	call check_localsm
+	rtn true
+	jam SP_STAT_LINK_KEY_CALC,mem_sp_state
+	jam SP_FLAG_COMMIT,mem_sp_flag
+	rtn
+
+parse_simple_pairing_confirm:
+	arg mem_sp_confirm_remote,contw
+	arg mem_rxbuf+1,contr
+	call memcpy16
+	fetch 1,mem_ssp_mode_flag
+	rtneq  SSP_MODE_PASSKEY_ENTRY_FLAG
+	branch master_set_mem_master_sp_flag
+	rtn
+	
+parse_lmp_encapsulated_payload:
+	fetch 1,mem_encapsulated_minor_type
+	beq ENCAPSULATED_MINOR_TYPE_P192,parse_lmp_encapsulated_payload_192
+	beq ENCAPSULATED_MINOR_TYPE_P256,parse_lmp_encapsulated_payload_256
+	branch lmp_reject_pdu_not_allowed
+
+parse_lmp_encapsulated_payload_256:
+	fetch 1,mem_master_sp_state
+	beq SP_STAT_RANDOM_SEND,parse_encapsulated_payload_256_master
+	fetch    1,mem_sp_state
+	bne SP_STAT_KEY_RECV,lmp_reject_pdu_not_allowed
+parse_encapsulated_payload_256_master:
+	fetch    1,mem_sp_remote_key_recv_count
+	sub      pdata,0x30,contw
+	nbranch  lmp_reject_pdu_not_allowed,positive
+	arg      mem_le_pubkey_remote_x_256,contw
+	iadd     contw,contw
+	fetch 8,mem_rxbuf+1
+	istore   8,contw
+	fetch 8,mem_rxbuf+9
+	istore   8,contw
+	fetch    1,mem_sp_remote_key_recv_count
+	increase 16,pdata
+	store    1,mem_sp_remote_key_recv_count
+	bne ENCAPSULATED_LEN_P256,accept_lmp_msg
+	branch parse_lmp_encapsulated_payload_completed
+
+parse_lmp_encapsulated_payload_192:
+	fetch 1,mem_master_sp_state
+	beq SP_STAT_RANDOM_SEND,parse_encapsulated_payload_192_master
+	fetch    1,mem_sp_state
+	bne SP_STAT_KEY_RECV,lmp_reject_pdu_not_allowed
+parse_encapsulated_payload_192_master:
+	fetch    1,mem_sp_remote_key_recv_count
+	sub      pdata,0x20,contw
+	nbranch  lmp_reject_pdu_not_allowed,positive
+	arg      mem_sp_pubkey_remote,contw
+	iadd     contw,contw
+	fetch 8,mem_rxbuf+1
+	istore   8,contw
+	fetch 8,mem_rxbuf+9
+	istore   8,contw
+	fetch    1,mem_sp_remote_key_recv_count
+	increase 16,pdata
+	store    1,mem_sp_remote_key_recv_count
+	bne ENCAPSULATED_LEN_P192,accept_lmp_msg
+parse_lmp_encapsulated_payload_completed:
+	call check_localsm
+	branch accept_lmp_msg,true
+	jam      SP_KEY_VALID,mem_sp_remote_key_invalid
+	jam      SP_STAT_KEY_GENERATE,mem_sp_state
+	jam      SP_FLAG_COMMIT,mem_sp_flag  
+	branch   accept_lmp_msg
+	
+	
+parse_lmp_accepted_encapsulated_payload: 
+	fetch 1,mem_encapsulated_minor_type
+	beq ENCAPSULATED_MINOR_TYPE_P192,parse_lmp_accepted_encapsulated_payload_192
+	beq ENCAPSULATED_MINOR_TYPE_P256,parse_lmp_accepted_encapsulated_payload_256
+	rtn
+	
+parse_lmp_accepted_encapsulated_payload_192:
+	fetch 1,mem_sp_local_key_send_count
+	beq	ENCAPSULATED_LEN_P192,parse_lmp_encapsulated_payload_all_accepted
+	jam LMP_ENCAPSULATED_PAYLOAD,mem_lmo_opcode2
+	rtn    
+	
+parse_lmp_accepted_encapsulated_payload_256:
+	fetch 1,mem_sp_local_key_send_count
+	beq	ENCAPSULATED_LEN_P256,parse_lmp_encapsulated_payload_all_accepted
+	jam LMP_ENCAPSULATED_PAYLOAD,mem_lmo_opcode2
+	rtn    
+	
+parse_lmp_encapsulated_payload_all_accepted:   
+	call check_localsm
+	branch parse_lmp_encapsulated_payload_all_accepted_master,true
+	fetch 1,mem_ssp_mode_flag
+	beq SSP_MODE_PASSKEY_ENTRY_FLAG,parse_lmp_encapsulated_payload_all_accepted_get_passkey
+	jam      SP_FLAG_COMMIT,mem_sp_flag
+	jam      SP_STAT_COMMIT_CALC,mem_sp_state 
+	branch   parse_rx_done
+
+parse_lmp_encapsulated_payload_all_accepted_get_passkey:
+	jam BT_EVT_BT_GET_PASSKEY,mem_fifo_temp
+	branch ui_ipc_send_event
+
+
+parse_lmp_encapsulated_payload_all_accepted_master:
+	//call sp_master_generate_local_key
+	branch   parse_rx_done   
+
+parse_lmp_simple_pairing_number:
+	fetch 1,mem_master_sp_state
+	beq SP_STAT_RANDOM_SEND,parse_lmp_simple_pairing_number_master
+	fetch    1,mem_sp_state
+	bne SP_STAT_RANDOM_RECV,lmp_reject_pdu_not_allowed
+parse_lmp_simple_pairing_number_master:
+	arg      mem_sp_random_remote,contw
+	fetch 8,mem_rxbuf+1
+	istore   8,contw
+	fetch 8,mem_rxbuf+9
+	istore   8,contw
+	call check_localsm
+	branch parse_lmp_simple_pairing_number_master0,true
+	jam      SP_STAT_RANDOM_SEND,mem_sp_state
+	jam      SP_FLAG_COMMIT,mem_sp_flag
+	branch accept_lmp_msg  
+parse_lmp_simple_pairing_number_master0:
+	jam SP_STAT_COMMIT_CALC,mem_master_sp_state
+	branch master_set_mem_master_sp_flag
+	branch lmp_reject_pdu_not_allowed	
+	
+parse_dhkey_check:
+	fetch    1,mem_master_sp_state
+	beq SP_STAT_CONFIRM_SEND,parse_dhkey_check_master
+	fetch    1,mem_sp_state
+	bne SP_STAT_CONFIRM_RECV,lmp_reject_pdu_not_allowed
+parse_dhkey_check_master:
+	arg mem_sp_check_result,contw
+	arg mem_rxbuf+1,contr
+	call memcpy16
+	call check_localsm
+	branch parse_dhkey_check_master0,true
+	fetch 1,mem_ssp_mode_flag
+	beq SSP_MODE_SSP_PIN_FLAG,number_comparison_mode
+number_comparison_successed:
+	jam 0,mem_flag_mode_ssp_pin
+	jam SP_STAT_CONFIRM_CHECK,mem_sp_state
+	jam SP_FLAG_COMMIT,mem_sp_flag
+	jam LMP_DHKey_Check,mem_lmi_opcode2
+	branch   parse_rx_done
+	
+parse_dhkey_check_master0:
+	jam      SP_STAT_CONFIRM_CHECK,mem_master_sp_state
+	jam      SP_FLAG_COMMIT,mem_master_sp_flag
+	branch   parse_rx_done
+	
+lmp_reject_pdu_not_allowed:
+	jam PDU_NOT_ALLOWED,mem_lmo_reason2
+	branch reject_lmp_packet
+
+number_comparison_mode:
+	fetch 1,mem_flag_mode_ssp_pin
+	bbit1 FLAG_MODE_SSP_PIN_REVICEVE_COMPARISON_BIT ,comparison_result
+	set1 FLAG_MODE_SSP_PIN_RECIEVE_DHKEY_BIT,pdata
+	store 1,mem_flag_mode_ssp_pin
+	rtn
+	
+comparison_result:
+	bbit1 FLAG_MODE_SSP_PIN_COMPARISON_RESULT_BIT,number_comparison_successed
+	jam 0,mem_flag_mode_ssp_pin
+	branch lmp_reject_pdu_not_allowed
+
+	
+parse_lmp_clkoffset_res:
+	branch parse_rx_done
+		
+parse_lmp_encryption_mode_req:
+	fetch 1,mem_connection_options
+	set0 CONNECTION_ENCRYPT,pdata
+	store 1,mem_connection_options
+	call accept_lmp_msg
+	nrtn master					
+	fetch 1,mem_rxbuf+1
+	fetcht 1,mem_op
+	setflag blank,op_stop_enc,temp
+	nsetflag blank,op_start_enc,temp
+	storet 1,mem_op
+	rtn 
+	
+parse_lmp_features_res:
+	fetcht 8,mem_rxbuf+1		
+parse_lmp_features_res_not_hci:	
+	fetch 1,mem_conn_sm
+	rtnne CONN_SM_WAIT_FEATURES_RES
+
+	fetch 1,mem_connection_options
+	bbit0 CONNECTION_FEATURE_EXT,parse_lmp_send_conn
+
+	jam CONN_SM_SEND_FEATURES_EXT,mem_conn_sm
+	rtn
+parse_lmp_send_conn:
+	jam CONN_SM_SEND_CONN_REQ,mem_conn_sm
+	rtn
+parse_lmp_test_activate:
+	fetch 1,mem_debug_config
+	store 1,mem_test_mode_old_debug_config
+	jam LMP_ACCEPTED,mem_lmo_opcode2
+	jam LMP_TEST_ACTIVATE,mem_lmi_opcode2
+	rtn
+parse_lmp_test_control:
+	
+	
+	jam LMP_ACCEPTED,mem_lmo_opcode2
+	jam LMP_TEST_CONTROL,mem_lmi_opcode2
+	force 9,loopcnt
+	arg mem_rxbuf+1,contr
+	arg mem_temp_payload,contw
+parse_lmp_test_xor:
+	ifetch 1,contr
+	xor_into 0x55,pdata
+	istore 1,contw
+	loop parse_lmp_test_xor
+	fetch 1,test_mode_scenario
+	fetcht 1,mem_tester_emulate
+	set0 tester_no_whitening,temp
+	set0 tester_pattern_test,temp
+	beq EXIT_TEST_MODE,	 parse_lmp_test_control_exit
+	beq PAUSE_TEST_MODE,	 parse_lmp_test_control_pause
+	beq CLOSED_LOOP_BACK_ACL,	 parse_lmp_test_control_loopback
+	beq ACL_WITHOUT_WHITENING,	 parse_lmp_test_control_loopback_nowhite
+	beq CLOSED_LOOP_BACK_SCO,	 parse_lmp_test_control_loopback
+	beq SCO_WITHOUT_WHITENING,	 parse_lmp_test_control_loopback_nowhite
+	beq ZERO_PATTERN,	 parse_lmp_test_control_pattern
+	beq ONE_PATTERN,	 parse_lmp_test_control_pattern
+	beq ALT_PATTERN,	 parse_lmp_test_control_pattern
+	beq ALT2_PATTERN,	 parse_lmp_test_control_pattern
+	beq PSEUDORANDOM,	 parse_lmp_test_control_pattern
+	rtn
+parse_lmp_test_control_exit:
+	
+	fetch 1,mem_tester_emulate
+	set1 tester_exit,pdata
+	set1 tester_change,pdata
+	store 1,mem_tester_emulate
+	rtn
+parse_lmp_test_control_pattern:
+	set1 tester_pattern_test,temp
+	jam 5,mem_lch_code
+	fetch 2,test_mode_data_length
+	iforce loopcnt
+	store 2,mem_len
+	arg mem_rxbuf,contw
+	call pn9
+parse_lmp_test_control_loopback_nowhite:
+	set1 tester_no_whitening,temp
+parse_lmp_test_control_loopback:
+	set1 tester_change,temp
+	force 0,pdata
+	store 1,mem_slave_rcvcnt
+	store 2,mem_tst_pktcnt_crc
+	store 2,mem_tst_pktcnt_dmh
+	store 2,mem_tst_pktcnt_hec
+	store 2,mem_tst_pktcnt_sync
+	fetch 1,test_mode_hopping_mode
+	compare FIXED_FREQ,pdata,0xff
+	setflag true,tester_fixed_freq,temp
+	storet 1,mem_tester_emulate
+	rtn
+
+parse_lmp_test_control_pause:
+	set0 mark_testmode,mark
+	jam 0,mem_tester_emulate
+	fetch 1,mem_debug_config
+	set0 debug_tx_pattern,pdata
+	store 1,mem_debug_config
+	rtn
+
+
+	
+	
+
+lmp_copy_rand:	
+	arg mem_rxbuf+1,contr
+	arg mem_random_number,contw
+	branch memcpy16
+
+lmp_generate_key:
+	jam LMP_COMB_KEY,mem_lmo_opcode2
+	rtn
+
+lmp_start_encryption:
+	nrtn master
+	jam LMP_START_ENCRYPTION_REQ,mem_lmo_opcode2
+	rtn
+	
+lmp_accept_inrand:
+	arg mem_lap,rega
+	call generate_kinit
+	jam LMP_ACCEPTED,mem_lmo_opcode2
+	jam LMP_IN_RAND,mem_lmi_opcode2
+	rtn
+
+lmp_disconnect:
+	jam 10,mem_conn_timer
+	jam LMP_DETACH,mem_lmo_opcode2
+	jam LOCAL_HOST,mem_disconn_reason_send	
+	rtn
+
+
+
+
+	
+send_lmp:
+	bpatchx patch23_1,mem_patch23
+	disable user
+	call lmo_fifo_process
+	fetch 1,mem_lmp_to_send
+	rtn blank
+
+
+
+
+	bbit1 7,send_lmp_escape
+send_lmp0:
+	beq LMP_NAME_REQ,	 send_lmp_name_req
+	beq LMP_NAME_RES,	 send_lmp_name_res
+	beq LMP_ACCEPTED,	 send_lmp_accepted
+	beq LMP_NOT_ACCEPTED,	 send_lmp_not_accepted
+	beq LMP_FEATURES_REQ,	 send_lmp_features_req
+	beq LMP_FEATURES_RES,	 send_lmp_features_res
+	beq LMP_TIMING_ACCURACY_RES,	 send_lmp_timing_accuracy_res
+	beq LMP_VERSION_REQ,	 send_lmp_version_req
+	beq LMP_VERSION_RES,	 send_lmp_version_res
+	beq LMP_SETUP_COMPLETE,	 send_lmp_setup_complete
+	beq LMP_SUPERVISION_TIMEOUT,	 send_lmp_superto
+	beq LMP_HOST_CONNECTION_REQ,send_lmp_no_payload
+	beq LMP_IN_RAND,send_lmp_inrand
+	beq LMP_COMB_KEY,send_lmp_comb_key
+	beq LMP_AU_RAND,send_lmp_aurand
+	beq LMP_SRES,send_lmp_sres
+	beq LMP_ENCRYPTION_MODE_REQ,send_lmp_encryption_mode_req
+	beq LMP_ENCRYPTION_KEY_SIZE_REQ,send_lmp_encryption_key_size_req
+	beq LMP_START_ENCRYPTION_REQ,send_lmp_start_encryption
+	beq LMP_DETACH,send_lmp_detach
+	beq LMP_QUALITY_OF_SERVICE_REQ, send_lmp_quality_of_service_req
+	beq LMP_UNIT_KEY,send_lmp_unit_key
+	//Optional (O)
+	beq LMP_INCR_POWER_REQ,send_lmp_inc_power	
+	beq LMP_CLKOFFSET_RES, send_lmp_clkoffset_res	
+	beq LMP_MAX_POWER,send_lmp_nopayload_reply
+	beq LMP_MAX_SLOT, send_lmp_max_slot
+	beq LMP_MAX_SLOT_REQ, send_lmp_max_slot_req
+	beq LMP_MIN_POWER,send_lmp_nopayload_reply
+	beq LMP_SLOT_OFFSET, send_lmp_slot_offset
+	beq LMP_SWITCH_REQ, send_lmp_switch_req
+	beq LMP_SNIFF_REQ, send_lmp_sniff_req
+	beq LMP_STOP_ENCRYPTION_REQ, send_lmp_stop_encryption_req	
+	beq LMP_TIMING_ACCURACY_REQ, send_lmp_timing_accuracy_req
+	beq LMP_UNSNIFF_REQ, send_lmp_unsniff_req
+	beq LMP_ENCAPSULATED_HEADER,send_lmp_encapsulated_header
+	beq LMP_ENCAPSULATED_PAYLOAD,send_lmp_encapsulated_payload
+	beq LMP_SIMPLE_PAIRING_CONFIRM,send_lmp_simple_pairing_comfirm
+	beq LMP_SIMPLE_PAIRING_NUMBER,send_lmp_simple_pairing_number
+	beq LMP_DHKEY_CHECK,send_lmp_dhkey_check
+	beq LMP_AUTO_RATE,send_lmp_auto_rate
+	beq LMP_ENC_KEY_SIZE_MASK_RES,send_lmp_enc_key_size_mask_res
+	//master only must(M)
+	beq LMP_CLKOFFSET_REQ, send_lmp_clkoffset_req
+	beq LMP_QUALITY_OF_SERVICE, send_lmp_quality_of_service
+	beq LMP_TEST_ACTIVATE, send_lmp_test_activate
+	beq LMP_TEST_CONTROL, send_lmp_test_control
+send_lmp_error:
+	branch assert
+	rtn
+send_lmp_escape:
+	beq LMP_EXT_ACCEPTED,send_lmpext_accepted
+	beq LMP_EXT_FEATURES_REQ,send_lmpext_features_req
+	beq LMP_EXT_FEATURES_RES,send_lmpext_features_res
+	beq LMP_NOT_ACCEPTED_EXT,send_lmpext_not_accepted
+	beq LMP_PACKET_TYPE_TABLE_REQ,send_lmpext_packet_type_table_req
+	beq LMP_PAUSE_ENCRYPTION_REQ,send_lmpext_pause_encryption_req
+	beq LMP_IO_CAP_REQ,send_lmp_io_cap_req
+	beq LMP_IO_CAP_RES,send_lmpext_io_cap_res
+	beq LMP_SNIFF_SUBRATING_REQ,send_lmpext_sniff_subrating_req
+	beq LMP_SNIFF_SUBRATING_RES,send_lmpext_sniff_subrating_res
+	beq LMP_PING_RES,send_lmpext_ping_res
+	branch assert
+
+
+
+
+
+send_lmp_accepted:
+	force 2,pdata
+	call msg_send_lmp
+	fetch 1,mem_lmi_opcode
+	istore 1,contw
+	call send_lmp_follow
+	bpatchx patch23_2,mem_patch23
+	fetch 1,mem_lmi_opcode
+	beq LMP_IN_RAND,send_lmp_accepted_inrand
+	beq LMP_ENCRYPTION_MODE_REQ,send_lmp_accepted_enc_mode
+	beq LMP_ENCRYPTION_KEY_SIZE_REQ,send_lmp_accepted_enc_key
+	beq LMP_SNIFF_REQ,send_lmp_accept_sniff_req
+	beq LMP_HOST_CONNECTION_REQ,send_lmp_accepted_connection
+	beq LMP_DHKEY_CHECK,send_lmp_accept_dhkey_check
+	beq LMP_START_ENCRYPTION_REQ,send_create_conn_start_l2cap_timer_sm  
+	rtn	
+		
+send_create_conn_start_l2cap_timer_sm:
+	fetch 1,mem_conn_sm
+	rtn blank
+	jam CONN_SM_WAIT_DONE,mem_conn_sm
+	setarg TIMER_ENPT_WAITE
+	arg enpt_delay_timer,queue
+	branch timer_init
+	
+send_lmp_accept_sniff_req:
+	branch sniff_init
+send_lmp_not_accepted:
+	force 3,pdata
+	call msg_send_lmp
+	fetch 1,mem_lmi_opcode
+	beq LMP_AU_RAND,send_not_accept_aurand
+	istore 1,contw
+	fetch 1,mem_lmo_reason
+	istore 1,contw
+	branch send_lmp_follow
+
+send_not_accept_aurand:
+	istore 1,contw
+	fetch 1,mem_lmo_reason
+	istore 1,contw
+	arg mem_sres_tid,temp
+	branch special_tid_store
+
+send_lmpext_accepted:	
+	force 4,queue
+	call send_lmpext
+	setarg LMP_ESCAPE
+	istore 1,contw
+	fetch 1,mem_lmi_opcode
+	set0 7,pdata
+	istore 1,contw
+	fetch 1,mem_lmi_opcode
+	branch send_lmp_follow
+
+send_lmpext_not_accepted:
+	force 5,queue
+	call send_lmpext
+	setarg LMP_ESCAPE
+	istore 1,contw
+	fetch 1,mem_lmi_opcode
+	set0 7,pdata
+	istore 1,contw
+	fetch 1,mem_lmo_reason
+	istore 1,contw
+	branch send_lmp_follow
+	
+
+send_lmp_accepted_inrand:
+	call clear_linkkey
+	call tid_check	
+	rtn true
+	branch lmp_generate_key
+
+send_lmp_accepted_enc_mode:
+	fetch 1,mem_op
+	bbit1 op_start_enc,send_lmp_accepted_enc_start
+	rtnbit0 op_stop_enc
+	jam LMP_STOP_ENCRYPTION_REQ,mem_lmo_opcode2
+	set0 op_stop_enc,pdata
+	call tid_reply
+	branch send_lmp_accepted_enc_exit
+send_lmp_accepted_enc_start:
+	jam LMP_ENCRYPTION_KEY_SIZE_REQ,mem_lmo_opcode2
+	set0 op_start_enc,pdata
+send_lmp_accepted_enc_exit:
+	store 1,mem_op
+	rtn
+
+send_lmp_accepted_enc_key:
+	call check_localsm
+	branch lmp_start_encryption,true
+	rtn
+
+send_lmp_accepted_connection:
+	jam LMP_PACKET_TYPE_TABLE_REQ,mem_lmo_opcode2
+	//jam LMP_SETUP_COMPLETE,mem_lmo_opcode2
+	fetch 1,mem_lmp_conn_state
+	set1 RECEIVED_CONN_REQ,pdata
+	store 1,mem_lmp_conn_state
+	jam BT_EVT_BB_CONNECTED,mem_fifo_temp
+	branch ui_ipc_send_event
+
+
+send_lmp_accept_dhkey_check:
+	rtn
+
+
+
+
+send_lmpext_ping_res:
+	force 2,queue
+	call send_lmpext
+	branch send_lmp_reply	
+
+send_lmpext_features_res:
+	copy pdata,rega
+	call check_ssp_enable
+	fetch 1,mem_ext_features_page
+	beq 1,send_lmpext_features_res1
+	beq 2,send_lmpext_features_res2
+	rtn
+	
+send_lmpext_features_res1:	
+	copy rega,pdata
+	force 12,queue
+	call send_lmpext
+	setarg 0x01
+	istore 1,contw
+	fetch 2,mem_lmpext_ssp_enable
+	istore 9,contw
+	branch send_lmp_reply
+
+send_lmpext_features_res2:
+	copy rega,pdata
+	force 12,queue
+	call send_lmpext
+	setarg 0x02
+	istore 1,contw
+	setarg 0x010002
+	istore 9,contw
+	branch send_lmp_reply
+
+check_ssp_enable:
+	fetch 1,mem_ssp_enable 
+	branch ssp_disable, blank
+	call  ssp_enable
+	branch check_br_sc_enable
+
+ssp_disable:
+	fetch 1,mem_features+6
+	set0 param_featrue_ssp,pdata
+	store 1,mem_features+6
+	setarg 0x1
+	store 2,mem_lmpext_ssp_enable
+	branch sp_clear_flags
+	
+//default:featrue is enable,extfeature is disable
+ssp_enable:
+	bpatchx patch23_3,mem_patch23
+	fetch 1,mem_features+6
+	set1 param_featrue_ssp,pdata
+	store 1,mem_features+6
+	setarg param_lmpext_ssp_enable
+	store 2,mem_lmpext_ssp_enable
+	rtn
+	
+check_br_sc_enable:
+	fetch 1,mem_secure_connections_enable
+	bbit1  SECURE_CONNECTIONS_BR_BIT,br_sc_enable
+	rtn
+	
+br_sc_enable:
+	setarg 0x0902 //0x0902
+	store 2,mem_lmpext_ssp_enable
+	rtn
+
+send_lmpext_io_cap_res:     
+	force 5,queue
+         call send_lmpext
+       	fetch 3,mem_lmp_io_cap_payload_iocap
+         istore 3,contw
+	call send_lmp_reply
+	jam FLAG_PAIRING_STATE_PAIRING,mem_flag_pairing_state
+	fetch 1,mem_lmp_io_cap_payload_iocap
+	beq IO_CAPABILITY_DISPLAY_YESNO,responder_iocap_display_yesno
+	beq IO_CAPABILITY_KEYBOARD_ONLY,responder_iocap_keyboard_only
+	beq IO_CAPABILITY_NO_INPUT_NO_OUTPUT,responder_iocap_no_input_no_output
+	rtn
+
+responder_iocap_keyboard_only:
+	fetch 1,mem_sp_iocap_remote
+	beq IO_CAPABILITY_DISPLAY_ONLY,responder_iocap_keyboard_only_initiator_iocap_display_only
+	beq IO_CAPABILITY_DISPLAY_YESNO,responder_iocap_keyboard_only_initiator_iocap_display_yesno
+	beq IO_CAPABILITY_KEYBOARD_ONLY,responder_iocap_keyboard_only_initiator_iocap_keyboard_only
+	beq IO_CAPABILITY_NO_INPUT_NO_OUTPUT,responder_iocap_keyboard_only_initiator_iocap_no_input_no_output
+	rtn
+
+
+responder_iocap_display_yesno:
+	fetch 1,mem_sp_iocap_remote
+	beq IO_CAPABILITY_DISPLAY_ONLY,responder_iocap_display_yesno_initiator_iocap_display_only
+	beq IO_CAPABILITY_DISPLAY_YESNO,responder_iocap_display_yesno_initiator_iocap_display_yesno
+	beq IO_CAPABILITY_KEYBOARD_ONLY,responder_iocap_display_yesno_initiator_iocap_keyboard_only
+	beq IO_CAPABILITY_NO_INPUT_NO_OUTPUT,responder_iocap_display_yesno_initiator_iocap_no_input_no_output
+	rtn
+
+	
+responder_iocap_no_input_no_output:
+	fetch 1,mem_sp_iocap_remote
+	beq IO_CAPABILITY_DISPLAY_ONLY,responder_iocap_no_input_no_output_initiator_iocap_display_only
+	beq IO_CAPABILITY_DISPLAY_YESNO,responder_iocap_no_input_no_output_initiator_iocap_display_yesno
+	beq IO_CAPABILITY_KEYBOARD_ONLY,responder_iocap_no_input_no_output_initiator_iocap_keyboard_only
+	beq IO_CAPABILITY_NO_INPUT_NO_OUTPUT,responder_iocap_no_input_no_output_initiator_iocap_no_input_no_output
+	rtn
+
+responder_iocap_keyboard_only_initiator_iocap_no_input_no_output:
+responder_iocap_display_yesno_initiator_iocap_no_input_no_output:
+responder_iocap_display_yesno_initiator_iocap_display_only:
+responder_iocap_no_input_no_output_initiator_iocap_display_only:
+responder_iocap_no_input_no_output_initiator_iocap_display_yesno:
+responder_iocap_no_input_no_output_initiator_iocap_keyboard_only:
+responder_iocap_no_input_no_output_initiator_iocap_no_input_no_output:
+set_ssp_mode_justwork: 
+	jam SSP_MODE_JUST_WORK_FLAG,mem_ssp_mode_flag
+	fetch 1,mem_classic_bt_flag
+	bbit1 FLAG_SSP_REJECT_JUSTWORK,app_bt_disconnect
+	rtn
+
+responder_iocap_display_yesno_initiator_iocap_display_yesno:
+set_ssp_mode_numeric_comparison: 
+	jam SSP_MODE_SSP_PIN_FLAG,mem_ssp_mode_flag
+	rtn
+
+responder_iocap_keyboard_only_initiator_iocap_display_yesno:
+responder_iocap_keyboard_only_initiator_iocap_keyboard_only:	
+responder_iocap_keyboard_only_initiator_iocap_display_only:	
+responder_iocap_display_yesno_initiator_iocap_keyboard_only:
+set_ssp_mode_passkey: 
+	jam SSP_MODE_PASSKEY_ENTRY_FLAG,mem_ssp_mode_flag
+	rtn
+
+
+classic_bt_set_reject_justwork_flag:
+	arg FLAG_SSP_REJECT_JUSTWORK,queue
+	branch classic_bluetooth_set_flag
+
+classic_bt_clr_reject_justwork_flag:
+	arg FLAG_SSP_REJECT_JUSTWORK,queue
+	branch classic_bluetooth_clr_flag
+
+classic_bluetooth_set_flag:
+	fetch 1,mem_classic_bt_flag
+	qset1 pdata
+	store 1,mem_classic_bt_flag
+	rtn
+
+classic_bluetooth_clr_flag:
+	fetch 1,mem_classic_bt_flag
+	qset0 pdata
+	store 1,mem_classic_bt_flag
+	rtn
+
+         
+send_lmp_io_cap_req:
+	force 5,queue
+	call send_lmpext
+	fetch 3,mem_lmp_io_cap_payload_iocap
+	istore 3,contw
+	branch send_lmp_request
+	
+
+send_lmpext_sniff_subrating_req: 
+
+	rtn
+send_lmpext_sniff_subrating_res: 
+         force 9,queue
+         call send_lmpext
+         fetch 1,mem_subsniff_rate
+         istore 1,contw
+         fetch 2,mem_subsniff_tcmax
+         istore 2,contw
+         fetch 4,mem_subsniff_instant
+         istore 4,contw
+	branch send_lmp_reply
+
+send_lmp_name_res:
+	force 17,pdata
+	call msg_send_lmp
+	fetch 1,mem_lmi_opcode  
+	copy pdata,temp
+	beq 0x00,send_lmp_name_res_offset_ok
+	beq 0x0e,send_lmp_name_res_offset_ok
+	beq 0x1c,send_lmp_name_res_offset_ok
+	rtn
+send_lmp_name_res_offset_ok:
+	istore 1,contw	
+	fetch 1,mem_local_name_length
+	istore 1,contw	
+	arg 14,loopcnt
+	setarg mem_local_name
+	iadd temp,contr	
+	call memcpy
+	branch send_lmp_reply
+
+
+send_lmp_timing_accuracy_res:
+	force 3,pdata
+	call msg_send_lmp
+	setarg 0x0114
+	istore 2,contw
+	branch send_lmp_reply
+
+send_lmp_clkoffset_res:
+	// dopod s505 must wait for this res
+	force 3,pdata
+	call msg_send_lmp
+	fetch 4,mem_clke_bt
+	isub clkn_bt,pdata
+	branch send_lmp_clkoffset_res_master,master
+	sub pdata,0,pdata		
+send_lmp_clkoffset_res_master:	
+	// bit 16-2 of clkslave-clkmaster
+	rshift2 pdata,pdata
+	set0 15,pdata
+	istore 2,contw
+	branch send_lmp_reply
+
+send_lmp_version_res:
+	force 6,pdata
+	call msg_send_lmp
+	fetch 5,mem_lmp_version
+	istore 5,contw
+	branch send_lmp_reply
+
+send_lmp_features_res:
+	force 9,pdata
+	call msg_send_lmp
+	fetch 8,mem_features
+	istore 8,contw
+	branch send_lmp_reply  
+
+
+
+
+	
+
+send_lmpext_features_req:
+	call check_ssp_enable
+	fetch 1,mem_lmp_to_send
+	force 12,queue
+	call send_lmpext
+	setarg 0x01
+	istore 1,contw
+	fetch 2,mem_lmpext_ssp_enable
+	istore 2,contw
+	setarg 0
+	istore 3,contw
+	setarg 0x00
+	istore 4,contw
+	branch send_lmp_request
+
+send_lmpext_packet_type_table_req:
+	force 3,queue
+	call send_lmpext
+	fetch 1,mem_ptt
+	istore 1,contw
+	disable user
+	call send_lmp_request
+	nrtn user
+	nrtn master
+	fetch 1,mem_afh_cfg
+	rtnbit0 AFH_CFG_ON
+	call afh_init
+	branch afh_open_all_channels
+	
+
+afh_init:
+	jam 0x3,mem_afh_cfg
+	setarg 0
+	store 4,mem_afh_timer
+	arg mem_afh_map_lo,contw
+	call afh_reset_map
+	arg mem_afh_map_new,contw
+	call afh_reset_map
+	arg mem_afh_classify_channel_map,contw
+	call afh_reset_map
+	branch afh_clear_error_counter
+afh_open_all_channels:
+	arg mem_afh_map_new,contw
+	call afh_reset_map
+	call afh_clear_error_counter
+	branch afh_set_send_flag
+
+
+afh_reset_map:
+	setarg 0xffffff
+	istore 3,contw
+	istore 3,contw
+	istore 3,contw
+	setarg 0x7f
+	istore 1,contw
+	rtn
+afh_clear_error_counter:
+	setarg 0
+	store 2,mem_afh_error_total
+	rtn
+afh_set_send_flag:
+	fetch 1,mem_afh_cfg
+	set1 send_lmp_set_afh,pdata
+	store 1,mem_afh_cfg
+	rtn
+
+
+send_lmpext_pause_encryption_req:
+	force 2,queue
+	call send_lmpext
+	nbranch send_lmp_reply,master
+	// assume slave will not send pause req firstly???
+	branch send_lmp_request
+
+
+	
+send_lmp_detach:
+	force 2,pdata
+	call msg_send_lmp
+	fetch 1,mem_disconn_reason_send
+	istore 1,contw
+	call send_lmp_request
+prepare_disconnect:
+	fetch 1,mem_op
+	set1 op_disconn,pdata
+	store 1,mem_op
+	jam 50,mem_conn_timer
+	rtn
+	
+
+send_lmp_no_payload:
+	force 1,pdata
+	call msg_send_lmp
+	branch send_lmp_request
+send_lmp_nopayload_reply:
+	force 1,pdata
+	call msg_send_lmp
+	branch send_lmp_reply
+	
+	
+send_lmp_encryption_mode_req:
+	force 2,pdata
+	call msg_send_lmp
+	fetch 1,mem_state_map
+	isolate0 smap_encryption,pdata
+	setflag true,0,pdata
+	and_into 1,pdata
+	istore 1,contw
+	branch send_lmp_request
+
+
+send_lmp_superto:
+	force 3,pdata
+	call msg_send_lmp
+	fetch 2,mem_supervision_to
+	istore 2,contw
+	branch send_lmp_request
+
+send_lmp_name_req:
+	jam 250,mem_conn_timer
+	force 2,pdata
+	call msg_send_lmp
+	fetch 1,mem_name_offset
+	istore 1,contw
+	branch send_lmp_request
+
+send_lmp_test_control:
+	force 10,pdata
+	call msg_send_lmp
+	arg mem_temp_payload,contr
+	force 9,loopcnt
+send_lmp_test_control_loop:	
+	ifetch 1,contr
+	xor_into 0x55,pdata
+	istore 1,contw
+	loop send_lmp_test_control_loop
+	branch send_lmp_request  
+
+send_lmp_quality_of_service_req:
+	branch send_lmp_request
+send_lmp_unit_key:
+	branch send_lmp_request
+
+send_lmp_slot_offset:
+	rtn master
+	call calc_slot_offset
+	force 9,pdata
+	call msg_send_lmp
+	fetch 2,mem_slot_offset
+	istore 2,contw
+	fetch 3,mem_lap
+	istore 3,contw
+	fetch 1,mem_uap
+	istore 1,contw
+	fetch 2,mem_nap
+	istore 2,contw
+	bmark0 mark_switch_initiated,send_lmp_slot_offset_reply
+	set0 mark_switch_initiated,mark
+	call send_lmp_request
+	jam LMP_SWITCH_REQ,mem_lmo_opcode2
+	rtn
+send_lmp_slot_offset_reply:
+	call send_lmp_reply
+	jam LMP_ACCEPTED,mem_lmo_opcode2
+	jam LMP_SWITCH_REQ,mem_lmi_opcode2
+	rtn
+	
+send_lmp_switch_req:
+	arg 0x200,temp
+	branch switch_on_native,master
+	deposit clke_bt
+	branch switch_slack
+switch_on_native:
+	deposit clkn_bt
+switch_slack:
+	deposit bt_clk
+	iadd temp,pdata
+	and_into 0x1fc,pdata
+	store 4,mem_sniff_anchor
+	force 5,pdata
+	call msg_send_lmp
+	fetch 4,mem_sniff_anchor		
+	rshift pdata,pdata
+	istore 4,contw
+	branch send_lmp_request
+
+send_lmp_sniff_req:
+	force 10,pdata
+	call msg_send_lmp
+	arg mem_sniff_payload,contr
+	ifetch 9,contr
+	istore 9,contw
+	branch send_lmp_request
+
+	
+send_lmp_timing_accuracy_req:
+
+	force 3,pdata
+	call msg_send_lmp
+	setarg 0x0114
+	istore 2,contw
+	branch send_lmp_request
+	
+send_lmp_unsniff_req:
+//--------------------need to completa
+	force 1,pdata
+	call msg_send_lmp
+	//fetch 1,mem_unsniff_pending
+	//nbranch send_msg_done,blank
+	//jam 1,mem_unsniff_pending
+	//fetch 2,mem_sniff_attempt
+	//fetch 2,mem_nsniff_attempt
+	//lshift3 pdata,pdata
+	//lshift pdata,pdata
+	//store 1,mem_unsniff_cnt
+	branch send_lmp_request
+
+	
+send_lmp_max_slot:
+	force 2,pdata
+	call msg_send_lmp
+	fetch 1,mem_max_slot
+	istore 1,contw
+	branch send_lmp_request
+	
+	
+send_lmp_max_slot_req:
+	force 2,pdata
+	call msg_send_lmp
+	setarg 0x05		
+	istore 1,contw
+	branch send_lmp_request
+
+
+send_lmp_inc_power:
+	force 2,pdata
+	call msg_send_lmp
+	setarg 0x00		
+	istore 1,contw
+	branch send_lmp_request
+
+
+send_lmp_setup_complete_by_module:
+	jam LMP_MAX_SLOT_REQ,mem_lmo_opcode2
+	rtn
+send_lmp_setup_complete:
+	fetch 1,mem_device_option
+	sub pdata,dvc_op_module,null
+	call send_lmp_setup_complete_by_module,zero
+	fetch 1,mem_state
+	set1 state_conn_comp,pdata
+	store 1,mem_state
+	copy clkn_bt,pdata
+	store 4,mem_aurand_send_delay_time
+	fetch 1,mem_lmp_conn_state
+	bbit1 SENT_SETUP_COMPLETE,send_lmp_setup_complete_has_sent
+	set1 SENT_SETUP_COMPLETE,pdata
+	store 1,mem_lmp_conn_state
+	jam BT_EVT_SETUP_COMPLETE,mem_fifo_temp
+	call ui_ipc_send_event
+	force 1,pdata
+	call msg_send_lmp
+	branch send_lmp_request
+send_lmp_setup_complete_has_sent:
+	jam 0,mem_lmp_to_send
+	rtn
+	
+send_lmp_version_req:
+	force 6,pdata
+	call msg_send_lmp
+	fetch 5,mem_lmp_version
+	istore 5,contw
+	branch send_lmp_request
+
+send_lmp_features_req:
+	force 9,pdata
+	call msg_send_lmp
+	fetch 8,mem_features
+	istore 8,contw
+	branch send_lmp_request  
+
+sp_master_send_io_cap_get:
+	jam SP_FLAG_COMMIT,mem_master_sp_flag
+	fetch 1,mem_sp_local_key_invalid
+	rtnne SP_KEY_VALID
+	jam SP_MASTER_STAT_START_DONE,mem_master_sp_state
+	rtn
+
+sp_master_send_io_cap_send:
+	call tid_initiate
+	jam LMP_IO_CAP_REQ,mem_lmo_opcode2
+	jam SP_STAT_KEY_SEND,mem_master_sp_state
+	rtn
+	
+	
+sp_master_send_LMP_ENCAPSULATED_HEADER:
+	call tid_initiate
+	jam      LMP_ENCAPSULATED_HEADER,mem_lmo_opcode2
+	jam SP_STAT_RANDOM_SEND,mem_master_sp_state
+	rtn
+	
+sp_master_commitment_compare:
+	arg mem_sp_calc_result_high,rega
+	arg mem_sp_confirm_remote,regb
+	arg 16,loopcnt
+	call string_compare
+	branch sp_master_commitment_compare_success,zero
+	jam SP_STAT_NULL,mem_master_sp_state
+	call master_clear_mem_master_sp_flag
+	jam LMP_SIMPLE_PAIRING_NUMBER,mem_lmi_opcode2 
+	branch lmp_reject_pdu_not_allowed
+	
+sp_master_commitment_compare_success:
+	jam SP_STAT_CONFIRM_CALC,mem_master_sp_state
+	call master_set_mem_master_sp_flag
+	jam LMP_SIMPLE_PAIRING_NUMBER,mem_lmi_opcode2
+	branch accept_lmp_msg  
+	
+
+	
+sp_master_send_lmp_simple_pairing_number:
+	jam LMP_SIMPLE_PAIRING_NUMBER,mem_lmo_opcode2
+	rtn
+	
+
+
+sp_send_lmp_encapsulated_header:
+	// calculate the private & public key here
+	//jam      LMP_ENCAPSULATED_HEADER,mem_lmp_to_send
+	jam      LMP_ENCAPSULATED_HEADER,mem_lmo_opcode2
+	//jam      TID_PAIRING,mem_lmp_tid
+	rtn
+	//fetch 1,mem_tid_table
+	//set1 TID_PAIRING,pdata
+	//store 1,mem_tid_table
+     
+    
+send_lmp_encapsulated_header: 
+	jam 0,mem_sp_local_key_send_count
+	force 4,pdata
+	call msg_send_lmp
+	fetch 3,mem_encapsulated_major_type
+	istore 3,contw 
+	call check_localsm
+	branch send_lmp_request,true
+	branch send_lmp_reply
+
+
+send_lmp_encapsulated_payload:
+	fetch 1,mem_encapsulated_minor_type
+	beq ENCAPSULATED_MINOR_TYPE_P256,send_lmp_encapsulated_payload_256
+	beq ENCAPSULATED_MINOR_TYPE_P192,send_lmp_encapsulated_payload_192
+	rtn
+	
+send_lmp_encapsulated_payload_256:
+	 force 17,pdata
+	call msg_send_lmp
+	fetch 1,mem_sp_local_key_send_count
+	arg mem_sc_pubkey_local_x_256,contr
+	branch send_lmp_encapsulated_payload_common
+
+send_lmp_encapsulated_payload_192:
+	 force 17,pdata
+	call msg_send_lmp
+	fetch 1,mem_sp_local_key_send_count
+	arg mem_sp_pubkey_local,contr
+send_lmp_encapsulated_payload_common:
+	iadd contr,contr    
+	ifetch   8,contr
+	istore   8,contw
+	ifetch   8,contr
+	istore   8,contw
+	fetch    1,mem_sp_local_key_send_count
+	increase 16,pdata
+	store    1,mem_sp_local_key_send_count
+	call check_localsm
+	branch send_lmp_request,true
+	branch send_lmp_reply
+	//branch send_lmp_request
+	
+sp_send_lmp_simple_pairing_comfirm:
+        jam      SP_STAT_RANDOM_RECV,mem_sp_state
+        jam      LMP_SIMPLE_PAIRING_CONFIRM,mem_lmo_opcode2
+        rtn
+send_lmp_simple_pairing_comfirm:
+        //jam      SP_STAT_RANDOM_RECV,mem_sp_state
+        //jam      TID_PAIRING,mem_lmp_tid
+        force    17,pdata
+        call msg_send_lmp   
+        arg      mem_sp_calc_result_high,contr
+        ifetch   8,contr
+        istore   8,contw
+        ifetch   8,contr
+        istore   8,contw 
+        branch send_lmp_reply
+
+sp_send_lmp_simple_pairing_number:
+	jam      LMP_SIMPLE_PAIRING_NUMBER,mem_lmo_opcode2
+	rtn
+
+send_lmp_simple_pairing_number:
+	//jam      TID_PAIRING,mem_lmp_tid
+	call check_localsm
+	call sp_local_random_key_generator,true
+	force    17,pdata
+	call msg_send_lmp
+	arg      mem_sp_random_local,contr
+	ifetch   8,contr
+	istore   8,contw
+	ifetch   8,contr
+	istore   8,contw
+	call check_localsm
+	nbranch send_lmp_reply,true
+	branch send_lmp_request,true
+
+master_sp_sm_end:
+	//jam DEFAULT_STATEMACHINE,mem_sp_localsm
+	jam SP_STAT_DONE,mem_master_sp_state
+sp_aurand_send:
+	call tid_initiate
+	jam LMP_AU_RAND,mem_lmo_opcode2
+	call check_localsm_master
+	branch sp_master_key_prarm_push,true
+	branch sp_link_key_prarm_push
+master_sp_send_lmp_dhkey_check:
+	call tid_reply
+sp_send_lmp_dhkey_check: 
+	jam      LMP_DHKEY_CHECK,mem_lmo_opcode2
+	rtn
+send_lmp_dhkey_check: 
+	//jam      TID_PAIRING,mem_lmp_tid
+	force    17,pdata
+	call     msg_send_lmp
+	arg      mem_sp_calc_result_high,contr
+	ifetch   8,contr
+	istore   8,contw
+	ifetch   8,contr
+	istore   8,contw 
+	call check_localsm
+	nbranch send_lmp_reply,true
+	branch send_lmp_request,true
+
+send_lmp_enc_key_size_mask_res:
+	force 3,pdata
+	call msg_send_lmp   
+	setarg 0xfffe //enc key size mask
+	istore 2,contw
+	branch send_lmp_reply
+
+send_lmp_auto_rate:
+	branch send_lmp_request
+send_lmp_clkoffset_req:
+	branch send_lmp_request
+send_lmp_quality_of_service:
+	branch send_lmp_request
+send_lmp_test_activate:
+	branch send_lmp_request
+
+
+
+
+send_lmp_comb_key:
+	call generate_random_number
+	arg mem_lap,rega
+	call generate_linkkey
+	force 17,pdata
+	call msg_send_lmp
+	arg mem_kinit,rega
+	arg mem_random_number,regb
+	call xor16
+	nbranch send_lmp_follow,master
+	branch send_lmp_tid
+
+send_lmp_inrand:
+	call generate_random_number
+	arg mem_plap,rega
+	call generate_kinit
+send_lmp_rand:	
+	force 17,pdata
+	call msg_send_lmp
+	arg mem_random_number,contr
+	call memcpy16
+	fetch 1,mem_conn_sm 
+	beq CONN_SM_AUTH_WAIT,send_lmp_request
+	beq CONN_SM_PAIRING_WAIT,send_lmp_request
+	branch send_lmp_tid
+
+send_lmp_aurand:
+	fetch 1,mem_encapsulated_minor_type
+	beq ENCAPSULATED_MINOR_TYPE_P256,send_lmp_aurand_256
+
+	fetch 1,mem_pairing_auth
+	branch send_lmp_aurand_notpairing,blank
+send_lmp_aurand2:
+	call check_localsm
+	call tid_initiate,true
+	ncall tid_reply,true
+	branch send_lmp_aurand_common
+send_lmp_aurand_notpairing:
+	call tid_initiate
+send_lmp_aurand_common:
+	call generate_random_number
+	branch send_lmp_rand
+
+send_lmp_aurand_256:
+	jam LMP_SRES,mem_lmo_opcode2
+	branch send_lmp_aurand2
+
+send_lmp_sres:
+	fetch 1,mem_encapsulated_minor_type
+	beq ENCAPSULATED_MINOR_TYPE_P256,send_lmp_sres_256
+
+	arg mem_lap,rega
+	call function_e1
+	force 5,pdata
+	call msg_send_lmp
+	fetch 4,mem_input_store
+	istore 4,contw
+	arg mem_sres_tid,temp
+	call special_tid_store
+	call copy_aco
+	call check_localsm
+	branch send_lmp_sres_master,true
+	jam DONE_ENCRYP,mem_wait_encryption
+	fetch 1,mem_pairing_auth
+	rtn blank
+	jam LMP_AU_RAND,mem_lmo_opcode2
+send_lmp_sres_master:
+	fetch 1,mem_link_key_exists
+	rtn blank
+send_lmp_sres_startenc:
+	call check_localsm
+	nbranch send_lmp_sres_startenc_slave,true
+	rtn
+	
+send_lmp_sres_startenc_slave:
+	rtnmark0 mark_slave_in_rand_accepted
+	set0 mark_slave_in_rand_accepted,mark
+	jam LMP_ENCRYPTION_MODE_REQ, mem_lmo_opcode2
+	rtn
+	
+send_lmp_sres_256:
+	call function_h4
+	call function_h5
+	force 5,pdata
+	call msg_send_lmp
+	fetch 4,memb
+	istore 4,contw
+	arg mem_sres_tid,temp
+	call special_tid_store
+	call copy_aco_256
+	call check_localsm
+	branch send_lmp_sres_master,true
+	jam DONE_ENCRYP,mem_wait_encryption
+	fetch 1,mem_pairing_auth
+	rtn blank
+	branch send_lmp_sres_master
+	
+copy_aco_256:
+	fetch 8,mem_sp_calc_result_high
+	store 8,mem_ccm_iv
+	rtn
+	
+send_lmp_start_encryption:
+	call generate_random_number
+	call function_e3
+	force 17,pdata
+	call msg_send_lmp
+	arg mem_random_number,contr
+	call memcpy16
+	branch send_lmp_tid
+
+send_lmp_stop_encryption_req:
+	force 1,pdata
+	call msg_send_lmp
+	branch send_lmp_tid
+
+send_lmp_encryption_key_size_req:
+	force 2,pdata
+	call msg_send_lmp
+	force 16,pdata
+	istore 1,contw
+	store 1,mem_key_size
+	branch send_lmp_tid
+
+msg_send_lmp:
+
+	lshift3 pdata,pdata
+	or_into 0x07,pdata
+	store 1,mem_lmo_header_length
+	arg 17,loopcnt
+	arg mem_lmo_payload,contw
+	call clear_mem
+	arg mem_lmo_payload,contw
+	rtn
+
+send_lmpext:
+	and pdata,0x7f,rega
+	jam LMP_ESCAPE,mem_lmp_to_send
+	deposit queue
+	call msg_send_lmp
+	deposit rega
+	istore 1,contw
+	rtn
+
+send_lmp_follow:
+	fetch 1,mem_lmp_to_send
+	lshift pdata,pdata
+	fetcht 1,mem_state_map
+	isolate1 smap_lmptid,temp
+	setflag true,0,pdata
+	branch send_lmp_exit
+
+
+send_lmp_tid:
+	fetcht 1,mem_state_map
+	and_into 1,temp
+	branch send_lmp_end
+
+send_lmp_reply:
+	force 0,temp
+	branch send_lmp_end
+	
+send_lmp_request:
+	force 1,temp
+send_lmp_end:
+	fetch 1,mem_lmp_to_send
+	lshift pdata,pdata
+	setflag master,0,pdata
+	ixor temp,pdata
+send_lmp_exit:
+	store 1,mem_lmo_header_opcode
+	store 1,mem_lmo_header_opcode_x
+	jam 0,mem_lmp_to_send
+	call lmo_fifo_process_lmo0empty
+	enable user
+	rtn
+
+//blank : not full 
+lmo_fifo_check:
+	fetch 1,mem_lmo_opcode2
+	rtn blank
+	call lmo_fifo_process
+	fetch 1,mem_lmo_opcode2
+	rtn
+
+lmo_fifo_process:
+	bpatchx patch23_4,mem_patch23
+	fetch 1,mem_lmp_to_send
+	branch lmo_fifo_process_lmo0empty,blank
+	fetch 1,mem_lmo_opcode1
+	nrtn blank
+	branch lmo_fifo_process_lmo2to1
+lmo_fifo_process_lmo0empty:
+	fetch 1,mem_lmo_opcode1
+	branch lmo_fifo_process_lmo1_empty,blank
+	fetch 3,mem_lmo_opcode1
+	store 3,mem_lmp_to_send//1=>0
+	fetcht 1,mem_lmo_tid1
+	fetch 1,mem_state_map
+	set0 smap_lmptid,pdata
+	ior temp,pdata
+	store 1,mem_state_map
+	jam 0,mem_lmo_opcode1
+lmo_fifo_process_lmo2to1:
+	fetch 1,mem_lmo_opcode2
+	rtn blank
+	fetch 4,mem_lmo_opcode2
+	store 4,mem_lmo_opcode1//2=>1
+	jam 0,mem_lmo_opcode2
+	rtn
+lmo_fifo_process_lmo1_empty:
+	fetch 1,mem_lmo_opcode2
+	rtn blank
+	fetch 3,mem_lmo_opcode2
+	store 3,mem_lmp_to_send//2=>0	
+	fetcht 1,mem_lmo_tid2
+	fetch 1,mem_state_map
+	set0 smap_lmptid,pdata
+	ior temp,pdata
+	store 1,mem_state_map
+	jam 0,mem_lmo_opcode2
+	rtn
+	
+//input:temp
+special_tid_store:
+	bpatchx patch23_5,mem_patch23
+	fetch 1,mem_state_map
+	copy pdata,regc
+	ifetch 1,temp
+	call pop_tid_follow
+	call send_lmp_follow
+	copy regc,pdata
+	store 1,mem_state_map
+	rtn
+	
+tid_reply:
+	fetcht 1,mem_state_map
+	set0 smap_lmptidinit,temp
+	storet 1,mem_state_map
+	rtn
+	
+tid_initiate:
+	fetcht 1,mem_state_map
+	set1 smap_lmptidinit,temp
+	storet 1,mem_state_map
+	rtn
+	
+	
+tid_check:
+	nsetflag master,smap_lmptid,pdata //it is ok
+	fetcht 1,mem_state_map
+	ixor temp,pdata
+	isolate1 smap_lmptid,pdata
+	rtn	
+
+	
+tid_set_reply:
+	fetch 1,mem_state_map
+	setflag master,smap_lmptid,pdata //it is ok
+	store 1,mem_state_map
+	rtn
+
+	
+check_localsm:
+	fetch 1,mem_sp_localsm
+	compare 	LOCAL_STATEMACHINE,pdata,0x7f
+	rtn
+setlocalsm_master:
+	fetch 1,mem_sp_localsm
+	set1 7,pdata
+	store 1,mem_sp_localsm
+	rtn
+setlocalsm_slave:
+	fetch 1,mem_sp_localsm
+	set0 7,pdata
+	store 1,mem_sp_localsm
+	rtn
+check_localsm_master:
+	fetch 1,mem_sp_localsm
+	isolate1 7,pdata
+	store 1,mem_sp_localsm
+	rtn
+	
+generate_random_number:
+	
+	arg mem_random_number,contw
+generate_random:
+	force 16,loopcnt
+generate_random_another:
+generate_random_loop:
+	random pdata
+	istore 1,contw
+	loop generate_random_another
+	rtn
+
+generate_linkkey:
+	call function_e21
+	arg mem_link_key,rega
+	arg mem_input_store,regb
+	ifetch 8,rega					
+	fetcht 1,mem_state
+	nsetflag blank,state_combkey,temp
+	storet 1,mem_state
+	copy rega,contw
+	call  xor16
+	branch generate_linkkey_continue
+
+
+
+
+
+process_conn_sm:
+	//nrtn master
+	bpatchx patch23_6,mem_patch23
+
+	call lmo_fifo_check
+	nrtn blank
+process_conn_sm_continue:
+	fetch 1,mem_conn_sm
+	rtn blank
+	
+	//beq CONN_SM_STANDBY, host_create_conn_begin
+	//beq CONN_SM_WAIT_PAGE, host_create_conn_wait_page
+	beq CONN_SM_SEND_CONN_REQ, host_create_conn_send_conn_req
+	beq CONN_SM_WAIT_CONN_ACCEPT, host_create_conn_wait_accept
+	beq CONN_SM_SEND_FEATURES, host_create_conn_send_features
+	beq CONN_SM_WAIT_FEATURES_RES, host_create_conn_waiting
+	beq CONN_SM_SEND_SWITCH,host_create_conn_send_switch
+	beq CONN_SM_AUTH_PAIR, host_create_conn_auth_pair
+	beq CONN_SM_AUTH_PAIR_WAIT, host_create_conn_auth_pair_wait
+	beq CONN_SM_ENCRYPT, host_create_conn_encrypt
+	beq CONN_SM_ENCRYPT_WAIT, host_create_conn_encrypt_wait
+	beq CONN_SM_ENCRYPT_WAIT_CLEAR, host_create_conn_encrypt_wait_clear
+	beq CONN_SM_SEND_SETUP_COMPLETE, host_create_conn_send_setup_complete
+	beq CONN_SM_WAIT_SETUP_COMPLETE, host_create_conn_wait_setup_complete
+	beq CONN_SM_DETACH_DELAY,host_create_conn_master_detach
+	beq CONN_SM_SEND_VERSION, host_create_conn_send_version
+	beq CONN_SM_WAIT_VERSION, host_create_conn_waiting
+	beq CONN_SM_WAIT_SWITCH_AFTER_HOST_CONNECTION, host_creat_conn_wait_switch
+	beq CONN_SM_SEND_FEATURES_EXT,host_creat_conn_send_feat_ext
+	beq CONN_SM_WAIT_FEATURES_EXT,host_create_conn_waiting
+	beq CONN_SM_PAIRING,host_create_conn_pairing
+	beq CONN_SM_PAIRING_WAIT,host_create_conn_pairing_wait
+	beq CONN_SM_AUTH,host_create_conn_auth
+	beq CONN_SM_AUTH_WAIT,host_create_conn_auth_wait
+	beq CONN_SM_DONE,host_create_conn_done
+	beq CONN_SM_WAIT_DONE,host_create_conn_done_wait
+	jam CONN_SM_STANDBY,mem_conn_sm
+	
+	rtn
+host_create_conn_done:
+	fetch 1,mem_lmp_conn_state		
+	rtnbit0 RECEIVED_SETUP_COMPLETE
+	rtnbit0 SENT_SETUP_COMPLETE
+	jam CONN_SM_STANDBY,mem_conn_sm
+	call host_conn_judge_encrypt
+	branch scheduler_start_upper_sm
+	
+host_conn_judge_encrypt:
+	fetch 1,mem_connection_options
+	rtnbit0 CONNECTION_ENCRYPT
+	jam CONN_SM_ENCRYPT_WAIT,mem_conn_sm
+	rtn
+
+host_create_conn_done_wait:
+	arg enpt_delay_timer,queue
+	call timer_check
+	nrtn blank
+	jam CONN_SM_DONE,mem_conn_sm
+	rtn
+	
+host_create_conn_auth:
+	fetch 1,mem_connection_options
+	set0 CONNECTION_AUTH,pdata
+	store 1,mem_connection_options
+	jam CONN_SM_AUTH_WAIT,mem_conn_sm
+	jam LMP_AU_RAND,mem_lmo_opcode2
+	rtn 
+host_create_conn_auth_wait:
+	rtn
+host_create_conn_pairing:
+	fetch 1,mem_pincode_state
+	rtnne pincode_state_pincode_ready //wait for pincode
+	call host_auth
+	jam CONN_SM_PAIRING_WAIT,mem_conn_sm
+	rtn
+
+host_create_conn_pairing_wait:
+	rtn
+host_creat_conn_send_feat_ext:
+	jam CONN_SM_WAIT_FEATURES_EXT,mem_conn_sm
+	jam LMP_EXT_FEATURES_REQ,mem_lmo_opcode2
+	rtn
+host_create_conn_send_version:
+	jam CONN_SM_WAIT_VERSION,mem_conn_sm
+	jam LMP_VERSION_REQ,mem_lmo_opcode2
+	rtn 
+	
+host_creat_conn_wait_switch:
+	fetch 1,mem_switch_flag
+	rtneq SWITCH_FLAG_INIT
+	beq SWITCH_FLAG_ACCEPT,host_create_conn_switch_accept
+	arg switch_wait_timer,queue
+	call timer_check
+	nrtn blank
+	jam SWITCH_FLAG_INIT,mem_switch_flag
+	branch host_create_conn_switch
+host_create_conn_switch_accept:
+	rtn master
+	branch host_create_conn_auth_pair
+
+host_create_conn_send_features:
+	jam CONN_SM_WAIT_FEATURES_RES,mem_conn_sm
+	jam LMP_FEATURES_REQ,mem_lmo_opcode2
+	rtn 
+host_create_conn_send_switch:
+	jam LMP_SWITCH_REQ,mem_lmo_opcode2
+	set1 mark_switch_initiated,mark
+	jam CONN_SM_WAIT_CONN_ACCEPT,mem_conn_sm
+	setarg 0x1ff
+	store 2, mem_soft_timer
+	rtn
+
+host_create_conn_send_conn_req:
+	jam CONN_SM_WAIT_CONN_ACCEPT,mem_conn_sm
+	setarg 0xff
+	store 2,mem_soft_timer
+	set0 mark_reconn_recieve_switch,mark
+	jam LMP_HOST_CONNECTION_REQ,mem_lmo_opcode2
+	branch init_lmp_reinit
+host_create_conn_wait_accept:
+	rtnmark1 mark_reconn_recieve_switch
+	fetch 2,mem_soft_timer
+	increase -1,pdata
+	branch host_create_conn_resend,zero
+	store 2, mem_soft_timer
+	rtn
+host_create_conn_resend:
+	jam CONN_SM_SEND_SWITCH,mem_conn_sm
+	rtn
+host_create_conn_waiting:
+	
+	rtn 
+
+host_create_conn_switch:
+	fetch 1,mem_lmp_conn_state
+	rtnbit0 SENT_SETUP_COMPLETE
+	rtnbit0 RECEIVED_SETUP_COMPLETE
+	fetch 1,mem_connection_options
+	set0 CONNECTION_SWITCH,pdata
+	store 1,mem_connection_options
+	jam LMP_SWITCH_REQ,mem_lmo_opcode2
+	jam CONN_SM_WAIT_SWITCH_AFTER_HOST_CONNECTION,mem_conn_sm
+	rtn 
+
+host_create_conn_send_setup_complete:
+	jam CONN_SM_WAIT_SETUP_COMPLETE,mem_conn_sm	
+	jam LMP_SETUP_COMPLETE,mem_lmo_opcode2
+	rtn 
+
+host_create_conn_wait_setup_complete:
+	fetch 1,mem_lmp_conn_state
+	rtnbit0 RECEIVED_SETUP_COMPLETE
+	jam CONN_SM_STANDBY,mem_conn_sm	
+
+	rtn
+host_create_conn_wait_setup_complete_rtn:	
+	jam CONN_SM_AUTH_PAIR ,mem_conn_sm
+	rtn
+
+host_create_conn_master_detach:
+	fetch 2, mem_soft_timer
+	increase -1,pdata
+	branch host_create_conn_send_detach,blank//detach
+	store 2, mem_soft_timer
+	rtn 
+host_create_conn_send_detach:
+	jam LMP_DETACH,mem_lmo_opcode2
+	jam LOCAL_HOST,mem_disconn_reason_send
+	jam 0,mem_conn_sm
+	rtn
+host_create_conn_auth_pair:
+	
+	fetch 1,mem_connection_options
+	bbit1 CONNECTION_SWITCH,host_create_conn_switch
+	bbit1 CONNECTION_AUTH,host_create_conn_auth_pair_true
+host_create_conn_sm_done:
+	jam CONN_SM_DONE,mem_conn_sm
+	rtn
+host_create_conn_auth_pair_true:
+	fetch 1,mem_link_key_exists
+	branch host_create_conn_auth_pair_nokey,blank
+	fetch 1,mem_lmp_conn_state
+	rtnbit0 SENT_SETUP_COMPLETE
+	rtnbit0 RECEIVED_SETUP_COMPLETE
+	fetch 4,mem_aurand_send_delay_time
+	arg 100,temp
+	iadd temp,temp
+	copy clkn_bt,pdata
+	isub temp,null
+	nrtn positive
+	branch host_create_conn_auth
+
+host_create_conn_auth_pair_nokey:
+	jam CONN_SM_PAIRING,mem_conn_sm
+	jam 4,mem_pin_length
+	setarg 0x3030
+	store 2,mem_pin
+	istore 2,contw
+	jam pincode_state_pincode_ready,mem_pincode_state
+	branch host_create_conn_pairing
+
+host_create_conn_auth_pair_wait:
+	rtn
+host_create_conn_encrypt:
+	fetch 1,mem_connection_options
+	bbit1 CONNECTION_ENCRYPT,host_create_conn_encrypt_start
+	jam CONN_SM_DONE,mem_conn_sm
+	rtn 
+
+host_create_conn_encrypt_start:
+	fetch 1,mem_connection_options
+	set0 CONNECTION_ENCRYPT,pdata
+	store 1,mem_connection_options
+	jam LMP_ENCRYPTION_MODE_REQ,mem_lmo_opcode2  
+	rtn
+
+host_create_conn_encrypt_wait:
+	fetch 1, mem_wait_encryption
+	rtn blank
+	jam CONN_SM_STANDBY,mem_conn_sm
+	branch host_create_conn_encrypt_start 
+
+host_create_conn_encrypt_wait_clear:
+	jam CONN_SM_SEND_SETUP_COMPLETE,mem_conn_sm
+	rtn 
+
+host_auth:
+	fetch 1,mem_op
+	bbit1 op_inrand_req,remote_auth
+	call tid_initiate
+	jam LMP_IN_RAND,mem_lmo_opcode2
+	branch cmd_exit
+remote_auth:
+	fetch 1,mem_op
+	set0 op_inrand_req,pdata
+	store 1,mem_op
+	call lmp_accept_inrand
+	call tid_set_reply
+	branch cmd_exit
+
+pincode_reinit:
+	setarg 4
+	store 1,mem_pin_length
+	setarg 0x3030
+	istore 2,contw
+	istore 2,contw
+	rtn
+	
+
+
+
+
+//pdata:gpio number
+twspi_reset:
+	bpatchx patch23_7,mem_patch23
+	and_into 0xff,pdata
+	arg core_gpio_conf,contw
+	iadd contw,contw
+	copy contw,rega
+	arg gpcfg_output_low,temp
+	istoret 1,contw
+	call twspi_disable
+	nop 30
+	copy rega,contw
+	arg gpcfg_output_high,temp
+	istoret 1,contw
+	branch twspi_enable
+
+twspi_disable:
+	fetch 1,core_aes_en
+	and_into 0xfb,pdata
+	store 1,core_aes_en
+	rtn
+
+twspi_enable:
+	fetch 1,core_aes_en
+	or_into 0x04,pdata
+	store 1,core_aes_en
+	rtn
+
+
+
+aes_disable:
+	fetch 1,core_aes_en
+	and_into 0xfd,pdata   	// disable aes
+	store 1,core_aes_en
+	rtn
+
+read_function_aes:
+	nbranch read_function,user
+	fetch 1,core_aes_en
+	or_into 0x2,pdata   	// enable aes 
+	store 1,core_aes_en
+read_function:
+	copy temp,null
+	branch read_fuction_zero,zero
+	copy regc,pc
+read_fuction_zero:
+	isolate0 0,null
+	branch set_ucode_status
+	
+
+get_block_header:
+	force 4,temp
+get_block_header0:
+	arg mem_ucode_buf,rega
+	call aes_disable	// disable aes for header
+	call read_function
+	arg 0x55aa,rega
+	fetch 2,mem_ucode_buf
+	ifetcht 2,contr
+	isub rega,null
+	rtn	
+
+
+read_first_block:
+	arg 2,temp
+	arg mem_ucode_ptr,rega
+	call read_function
+	fetch 2,mem_ucode_ptr
+	store 2,mem_addr_mi
+	call get_iv,user
+	rtn
+	
+get_iv:
+	arg 16,temp
+	arg mem_ucode_keybuf,rega
+	call aes_disable	// disable aes for iv
+	call read_function
+set_iv:
+	arg mem_ucode_keybuf,contr
+	arg 16,loopcnt
+	call aes_load_data
+	call aes_init
+	call aes_clear_data
+	branch do_aes_cbc					
+
+load_storage:
+	setarg 0
+	store 2,mem_queue	//data checksum
+	disable match
+	call get_block_header
+	nrtn zero
+	jam 0x80, core_ucode_ctrl
+	jam 0,core_ucode_hi
+	jam 0,core_ucode_low
+	arg core_ucode_data,rega
+	call read_function_aes
+	jam 0x0, core_ucode_ctrl
+load_storage_loop:
+	arg 6,temp
+	call get_block_header0
+	nbranch load_data_checksum_compare,zero
+	ifetch 2,contr
+	iforce rega
+	call read_function
+	call load_data_checksum_calc
+	branch load_storage_loop
+
+load_data_checksum:
+	arg 0xaa55,rega
+	fetch 2,mem_ucode_buf
+	isub rega,null
+	nrtn zero
+	arg 0x55aa,rega
+	fetch 2,mem_ucode_len
+	isub rega,null
+	nrtn zero
+	fetch 2,mem_sched_addr
+	store 2,mem_rega	//data crc
+	rtn
+
+
+load_data_checksum_calc:
+	fetch 2,mem_queue
+	arg 6,loopcnt
+	arg mem_ucode_buf,contr
+	call cal_sum
+	fetchr loopcnt,2,mem_ucode_len
+	copy rega,contr
+	call cal_sum
+	store 2,mem_queue
+	rtn
+
+load_data_checksum_compare:
+	call load_data_checksum
+	branch load_storage_loop,zero
+	fetch 2,mem_rega	//receive crc
+	fetcht 2,mem_queue	//calc crc
+	isub temp,null
+	nrtn zero
+	enable match
+	rtn
+
+
+load_storage_efuse:
+	fetch 1,mem_tmp_buffer+EFUSE_OFFSET_OFFSET
+	arg mem_tmp_buffer,contr
+	iadd contr,contr	//code addr
+	jam 0x80,core_ucode_ctrl
+	jam 0,core_ucode_hi
+	jam 0,core_ucode_low
+	arg core_ucode_data,rega
+	ifetchr loopcnt,1,contr
+	sub loopcnt,0,null
+	ncall load_efuse_read_code,zero
+	jam 0x0,core_ucode_ctrl
+load_storage_efuse_loop:
+	ifetch 1,contr
+	rtn blank
+	copy pdata,loopcnt
+	ifetchr regb,2,contr
+	copy regb,contw
+	call memcpy_loop
+	branch load_storage_efuse_loop
+
+load_efuse_read_code_loop:
+	ifetch 1,contr
+	istore 1,rega
+	loop load_efuse_read_code_loop
+	rtn
+
+
+load_efuse_read_code:
+	call enable_user2
+	copy loopcnt,temp
+	nbranch load_efuse_read_code_loop,user
+load_efuse_read_code_loop_enc:
+	sub temp,0,null
+	rtn zero
+	call load_efuse_store_code
+	call do_aes_cbc
+	add temp,-16,temp
+	branch load_efuse_read_code_loop_enc,positive
+	rtn
+
+
+load_efuse_store_code:
+	force regidx_result,regext_index
+	copy temp,loopcnt
+load_efuse_store_code_loop:
+	ifetch 4,contr
+	ixor regext,pdata
+	copy pdata,regext
+	istore 1,rega
+	rshift8 pdata,pdata
+	istore 1,rega
+	rshift8 pdata,pdata
+	istore 1,rega
+	rshift8 pdata,pdata
+	istore 1,rega	
+	increase 1,regext_index
+	compare 0,regext_index,0x3
+	rtn true
+	add loopcnt,-4,loopcnt
+	rtn zero
+	branch load_efuse_store_code_loop,positive
+	rtn
+	
+
+	
+//reload_eeprom:
+//	call clean_mem
+//	setarg 0x1000
+//	store 2,mem_addr_mi
+//	arg iicd_read_eep,regc
+//	arg 2,loopcnt
+//reload_eeprom_loop:
+//	call get_block_header
+//	nrtn zero
+//	fetch 2,mem_addr_mi
+//	byteswap pdata,pdata
+//	iadd temp,pdata
+//	byteswap pdata,pdata
+//	store 2,mem_addr_mi
+//	loop reload_eeprom_loop
+//	branch load_storage_loop
+
+run_efuse_code:
+	arg 0,pc
+	rtn
+
+
+loadcode:
+	call clean_mem
+	jam 0x25,core_clkoff			// disable debug uart
+
+	enable user
+	jam 0,mem_loadcode_times
+load_efuse:
+	call loadcode_timeout
+	nbranch loadcode_error,positive
+	setarg 0
+	arg mem_tmp_buffer,rega
+	arg 64,temp
+	call efuse_read_data
+	call loadcode_efuse_check
+	nbranch load_efuse,user
+	call app_read_efuse_app_vsel
+	
+	disable user
+	fetch 1,mem_tmp_buffer+EFUSE_OFFSET_UCODE
+	bbit0 UCODE_FLAG_ENC,loadcode_efuse
+	call regext_clear
+	jam lock_otp,core_misc_ctrl	// disable further read/write of key
+	set1 mark_otp_encrypt,mark	
+	force regidx_key,regext_index
+	call aes_clear
+	force regidx_key,regext_index
+	fetchr regext,4,mem_tmp_buffer+EFUSE_OFFSET_KEY_ADDR
+	setarg 0xf1ab8f //defualt iv
+	store 4,mem_ucode_keybuf
+	lshift2 pdata,pdata
+	istore 4,contw
+	lshift pdata,pdata
+	istore 4,contw
+	lshift2 pdata,pdata
+	istore 4,contw
+	call aes_disable	// disable aes for iv
+	call set_iv
+	enable user					// set user for aes
+loadcode_efuse:
+	fetch 4,mem_tmp_buffer
+	branch loadcode_iic,blank
+	store 3,mem_efuse_header
+	call disable_user2
+	call app_lpm_peripheral_lock_check
+	call load_storage_efuse
+	call run_efuse_code,user2
+loadcode_iic:
+	jam 0,mem_loadcode_times
+loadcode_iic_loop:
+	fetch 1,mem_tmp_buffer+EFUSE_OFFSET_UCODE
+	bbit1 UCODE_FLAG_SKIP_EEP,loadcode_spi
+	call loadcode_timeout
+	nbranch loadcode_iic_eeprom_2k,positive
+	call iicd_load_gpio_init
+	call clear_eeprom_size_2k
+	call loadcode_iic_by_eeprom
+	nbranch loadcode_iic_loop,match
+	fetch 1,mem_ucode_status
+	bbit0 0,loadcode_iic_loop			// crc error, try again
+	branch loadcode_hci
+
+loadcode_iic_eeprom_2k:
+	jam 0,mem_loadcode_times
+loadcode_iic_eeprom_2k_loop:
+	fetch 1,mem_tmp_buffer+EFUSE_OFFSET_UCODE
+	bbit1 UCODE_FLAG_SKIP_EEP,loadcode_spi
+	call loadcode_timeout
+	nbranch loadcode_spi,positive
+	call iicd_load_gpio_init
+	call set_eeprom_size_2k
+	call loadcode_iic_by_eeprom
+	nbranch loadcode_iic_eeprom_2k_loop,match
+	fetch 1,mem_ucode_status
+	bbit0 0,loadcode_iic_eeprom_2k_loop			// crc error, try again
+	branch loadcode_hci
+
+iicd_load_gpio_init:
+	fetch 1,mem_eeprom_sda_gpio
+	fetcht 1,mem_eeprom_scl_gpio
+	isub temp,null
+	nbranch iicd_read_init_pin,zero
+iicd_load_default_gpio:
+	setarg 0x000102
+	store 3,mem_eeprom_wp_gpio
+	branch iicd_read_init_pin
+	
+loadcode_spi:
+	jam 0,mem_loadcode_times
+loadcode_spi_loop:
+	fetch 1,mem_tmp_buffer+EFUSE_OFFSET_UCODE
+	bbit1 UCODE_FLAG_SKIP_FLASH, loadcode_hci
+	call loadcode_timeout
+	nbranch loadcode_hci,positive
+	call spid_init_flash
+	nop 200						// some flash will fail if no delay here
+	call spid_flash_release_form_powerdown
+	nop 100
+	arg spid_load_flash,regc
+	call read_first_block
+	call load_storage
+	nbranch loadcode_spi_loop,match
+	fetch 1,mem_ucode_status
+	bbit0 0,loadcode_spi_loop			// crc error, try again
+
+loadcode_hci:
+	fetch 1,mem_tmp_buffer+EFUSE_OFFSET_UCODE
+	bbit0 UCODE_FLAG_HCI,clear_key_buf
+	call clear_key_buf
+	branch hci_init
+	
+clear_key_buf:
+	setarg 0
+	store 4,mem_tmp_buffer+EFUSE_OFFSET_KEY_ADDR
+	store 8,mem_ucode_keybuf
+	istore 8,contw
+	force regidx_key,regext_index
+	call aes_clear
+	jam 0x21,core_clkoff		// enable debug uart
+	rtn
+
+
+//output: positive
+//1:continue load
+//0:load timeout
+loadcode_timeout:
+	call loadcode_error_delay
+	fetch 1,mem_loadcode_times
+	increase 1,pdata
+	sub pdata,3,null
+	store 1,mem_loadcode_times	
+	rtn
+
+loadcode_error_delay:
+	fetch 1,mem_loadcode_times
+	rtn blank
+	fetch 1,mem_tmp_buffer+EFUSE_OFFSET_LOADCODE_DELAY
+	and_into 0x40,pdata
+	rtn blank
+	branch delay_50ms
+
+
+//input pdata
+//output pdata
+loadcode_efuse_check_xor:
+	rshift4 pdata,temp
+	and pdata,0x0f,pdata
+	ixor temp,pdata
+	rtn
+
+loadcode_efuse_check:
+	fetch 4,mem_tmp_buffer
+	rtn blank
+ 	fetch 1,mem_tmp_buffer+EFUSE_OFFSET_UCODE
+	call loadcode_efuse_check_xor
+	bne 0x0f, disable_user
+	fetch 1,mem_tmp_buffer+EFUSE_OFFSET_DEVICE_LOCK
+	call loadcode_efuse_check_xor
+	bne 0x0f, disable_user
+
+loadcode_efuse_check_sum:
+	fetch 1,mem_tmp_buffer
+	ifetcht 1,contr
+	iadd temp,pdata
+	ifetcht 1,contr
+	iadd temp,pdata
+	ifetcht 1,contr
+	iadd temp,rega
+	arg mem_tmp_buffer,pdata
+	iadd temp,contr
+	copy rega,pdata
+	ifetchr loopcnt,1,contr
+	iadd loopcnt,pdata
+	call cal_sum
+	call loadcode_efuse_check_sum_loop
+	ifetcht 1,contr
+	and pdata,0xff,pdata
+	isub temp,null
+	nbranch disable_user,zero
+	rtn	
+	
+loadcode_efuse_check_sum_loop:	
+	ifetchr loopcnt,1,contr
+	sub loopcnt,0,null
+	rtn zero
+	iadd loopcnt,pdata
+	increase 2,loopcnt
+	call cal_sum
+	branch loadcode_efuse_check_sum_loop
+
+loadcode_iic_by_eeprom:
+	setarg 0x0
+	store 2,mem_addr_mi
+	arg iicd_read_eep,regc
+	call iic_init_600khz
+	call read_first_block
+	branch load_storage
+
+
+//loadcode_check_times:
+//	fetch 1,mem_loadcode_times
+//	increase 1,pdata
+//	sub pdata,3,null
+//	nbranch loadcode_error,positive
+//	store 1,mem_loadcode_times
+//	rtn
+
+loadcode_error:
+	call clear_key_buf
+	branch app_lpm_mpu_lock_br_ble
+
+
+
+set_ucode_status:
+	fetch 1,mem_ucode_status
+	lshift pdata,pdata
+	setflag true,0,pdata
+	isolate0 15,rega
+	rtn true
+	store 1,mem_ucode_status
+	rtn
+
+	
+decrypt_code:
+	fetch 1,core_aes_en
+	rtnbit0 1
+	branch decrypt_code_skip	
+decrypt_code_loop:
+	fetch 1,core_dma_status
+	qisolate1 pdata
+	rtn true
+decrypt_code_skip:
+	fetch 1,core_misc_status
+	bbit0 1,decrypt_code_loop
+	call do_aes_cbc
+	branch decrypt_code_loop
+
+	
+//save_ucode:
+//	copy loopcnt,temp
+//	storet 2,mem_patch_len
+//	jam 0x80, core_ucode_ctrl
+//	jam 0,core_ucode_hi
+//	jam 0,core_ucode_low
+//	store 2,mem_patch_ptr
+//	iforce contw
+//	lshift2 loopcnt,loopcnt
+//save_ucode_loop:
+//	fetch 1,core_ucode_data
+//	istore 1,contw
+//	loop save_ucode_loop
+//	jam 0x0, core_ucode_ctrl
+//	rtn
+
+
+load_ucode:
+	fetch 2,mem_patch_ptr
+	rtn blank
+	jam 0x80, core_ucode_ctrl
+	jam 0,core_ucode_hi
+	jam 0,core_ucode_low
+	fetcht 2,mem_patch_len
+	lshift2 temp,loopcnt
+	iforce contr
+load_ucode_loop:
+	ifetch 1,contr
+	store 1,core_ucode_data
+	loop load_ucode_loop
+	jam 0x0, core_ucode_ctrl
+	rtn
+
+
+
+
+app_read_efuse_app_vsel:
+	fetch 1,mem_tmp_buffer+EFUSE_OFFSET_APP_VSEL
+	and_into 0x0f,pdata
+	isolate1 3,pdata
+	setflag true,4,pdata
+	lshift pdata,pdata
+	store 1,mem_lpm_ctrl3
+	branch lpm_write_sel_vdd
+
+app_read_efuse_sys_config:
+	fetch 1,mem_tmp_buffer+EFUSE_OFFSET_DEVICE_OPTION
+	and_into 0x0f,pdata	//bit3-0
+	rtn blank
+	store 1,mem_device_option
+	fetch 1,mem_tmp_buffer+EFUSE_OFFSET_XTAL_OFFSET
+	store 1,mem_lpm_ctrim
+	fetch 1,mem_tmp_buffer+EFUSE_OFFSET_XTAL_CNT
+	store 1,mem_lpm_xtalcnt
+	rtn
+
+app_read_efuse_dig_aon_vsel:
+	fetch 1,mem_tmp_buffer+EFUSE_OFFSET_DIG_AON_VSEL
+	and_into 0x30,pdata	//bit5-4
+	rshift4 pdata,pdata
+	rtn blank
+	store 1,mem_dig_aon_vsel
+	rtn
+
+app_read_efuse_syn_afc_cfg1:
+	fetch 1,mem_tmp_buffer+EFUSE_OFFSET_TX_VCO_CURRENT
+	and_into 0x0f,pdata	//bit3-0
+	rtn blank
+	store 1,mem_syn_afc_cfg1
+	rtn
+
+app_read_efuse_rf_ldo_cfg1:
+	fetch 1,mem_tmp_buffer+EFUSE_OFFSET_LDO_CFG1
+	and_into 0x30,pdata	//bit5-4
+	rshift4 pdata,pdata
+	rtn blank
+	store 1,mem_rf_ldo_cfg1
+	rtn
+
+app_read_efuse_rc_cal:
+	fetch 1,mem_tmp_buffer+EFUSE_OFFSET_RC_CAL
+	rtn blank
+	store 1,mem_rc_cal
+	rtn
+
+app_read_efuse_agc:
+	fetch 1,mem_tmp_buffer+EFUSE_OFFSET_AGC_SEL
+	bbit1 7,app_disable_soft_agc	//bit7
+	jam 0x88,mem_gain_table
+	jam 0x66,mem_gain_table+1
+	jam 0x44,mem_gain_table+2
+	fetch 2,mem_tmp_buffer+EFUSE_OFFSET_AGC_TABLE
+	rtn blank
+	store 2,mem_gain_table+1
+	rtn
+
+app_disable_soft_agc:
+	jam 0xff,mem_gain_fix
+	fetch 1,mem_tmp_buffer+EFUSE_OFFSET_AGC_SEC_EN
+	and_into 0x40,pdata	//bit6
+	rshift3 pdata,pdata
+	store 1,mem_gain_second_agc_en	//0x00 or 0x08
+	rtn 
+
+
+app_lpm_efuse_lock_prep:
+	jam 0x73,0x8002
+	until null,lpo_edge
+	until null,lpo_edge
+	fetch 2,core_ucode_flag
+	set0 13,pdata
+	store 2,core_lpm_reg
+	branch lpm_write2_ctrl_option
+
+
+
+app_lpm_peripheral_lock_check:
+	fetch 1,mem_tmp_buffer+EFUSE_OFFSET_DEVICE_LOCK
+	and pdata,0x0f,pdata
+	beq dvc_op_module,app_lpm_peripheral_lock_module
+	beq dvc_op_hci,app_lpm_peripheral_lock_hci
+	beq dvc_op_dongle,app_lpm_peripheral_lock_dongle
+	beq dvc_op_mouse,app_lpm_peripheral_lock_mouse
+	beq dvc_op_shutter,app_lpm_peripheral_lock_shutter
+	beq dvc_op_ali_mesh,app_lpm_peripheral_lock_mesh
+	beq dvc_op_hci_boot,app_lpm_peripheral_lock_hciboot
+	beq dvc_op_remote_car,app_lpm_peripheral_lock_remote_car
+	beq dvc_op_car,app_lpm_peripheral_lock_car
+	beq dvc_op_antilost,app_lpm_peripheral_lock_antilost
+	rtn
+	
+app_lpm_peripheral_lock_module:
+app_lpm_peripheral_lock_hci:
+app_lpm_peripheral_lock_hciboot:
+	call app_lpm_efuse_lock_prep
+	call app_lpm_mpu_lock_mesh
+	branch lpm_write_lock
+	
+app_lpm_peripheral_lock_dongle:
+	call app_lpm_efuse_lock_prep
+	arg module_init,pdata //module
+	arg ui_soft_switch_power_off,temp  //shutter
+	call app_mpu_s0_lock
+	branch lpm_write_lock
+
+
+app_lpm_peripheral_lock_mouse:
+	call app_lpm_efuse_lock_prep
+	arg antilost_init,pdata //antilost
+	arg module_set_state,temp  //module
+	call app_mpu_s0_lock
+	branch lpm_write_lock
+	
+app_lpm_peripheral_lock_shutter:
+	call app_lpm_efuse_lock_prep
+	arg antilost_init,pdata  //antilost
+	arg remote_car_moto_data_enable_user,temp //car remote
+	call app_mpu_s0_lock
+	branch lpm_write_lock
+	
+app_lpm_peripheral_lock_mesh:
+	call app_lpm_efuse_lock_prep
+	call app_lpm_mpu_lock_app
+	branch lpm_write_lock
+	
+app_lpm_peripheral_lock_remote_car:
+	call app_lpm_efuse_lock_prep
+	arg antilost_init,pdata  //antilost
+	arg mouse_low_voltage_led_no_enter_lpm_blink,temp //mouse
+	call app_mpu_s0_lock
+	branch lpm_write_lock
+
+app_lpm_peripheral_lock_car:
+	call app_lpm_efuse_lock_prep
+	arg dongle_init,pdata  //dongle
+	arg ui_soft_switch_power_off,temp //shutter
+	call app_mpu_s0_lock
+	branch lpm_write_lock
+	
+app_lpm_peripheral_lock_antilost:
+	call app_lpm_efuse_lock_prep
+	arg car_init,pdata  //dongle
+	arg ui_soft_switch_power_off,temp //shutter
+	call app_mpu_s0_lock
+	branch lpm_write_lock
+
+app_lpm_mpu_lock_mesh:	
+	arg ali_mesh_access_layer_resolve_message,pdata
+	arg ali_mesh_upper_transport_layer_clear_tx_buffer,temp
+	branch app_mpu_s0_lock
+
+
+
+app_lpm_mpu_lock_module:
+	call app_lpm_efuse_lock_prep
+	arg module_init,pdata
+	arg module_set_state,temp
+app_mpu_s0_lock:
+	store 2,core_mpu_s0_saddr
+	storet 2,core_mpu_s0_eaddr
+	rtn
+	
+app_lpm_mpu_lock_app:	
+	arg antilost_init,pdata  //antilost
+	arg ui_soft_switch_power_off,temp //shutter
+	branch app_mpu_s0_lock
+
+app_lpm_mpu_lock_br:	
+	arg parse_lmp,pdata
+	arg remote_auth,temp
+	branch app_mpu_s1_lock
+
+app_lpm_mpu_lock_ble:	
+	arg le_parse_att,pdata
+	arg le_send_ll_one_lenth,temp
+app_mpu_s1_lock:
+	store 2,core_mpu_s1_saddr
+	storet 2,core_mpu_s1_eaddr
+	rtn
+	
+app_lpm_mpu_lock_24g:	
+	arg g24_prep,pdata
+	arg power_ctrl_pac_succ_cnt_reinit,temp
+	branch app_mpu_s1_lock
+	
+app_lpm_mpu_lock_br_ble:
+	call app_lpm_mpu_lock_br
+	arg le_parse_att,pdata
+	arg le_send_ll_one_lenth,temp
+	branch app_mpu_s0_lock
+
+app_lpm_mpu_mode_lock:
+	fetch 1,mem_tmp_buffer+EFUSE_OFFSET_PERIPHERALS_LOCK
+	and pdata,0xc0,pdata
+	beq 0xc0,app_lpm_mpu_lock_br_ble
+	bbit1 EFUSE_LE_LOCK_BIT,app_lpm_mpu_lock_ble
+	bbit1 EFUSE_BR_LOCK_BIT,app_lpm_mpu_lock_br
+	rtn
+
+
+lpm_write_lock:
+	call app_lpm_mpu_mode_lock
+	fetch 1,mem_tmp_buffer+EFUSE_OFFSET_PERIPHERALS_LOCK
+	and pdata,0x1f,rega
+	fetch 1,mem_tmp_buffer+EFUSE_OFFSET_UCODE
+	and pdata,0x0f,pdata
+	fetcht 1,mem_tmp_buffer+EFUSE_OFFSET_DEVICE_LOCK
+	and temp,0x0f,temp
+	lshift4 temp,temp
+	ior temp,pdata
+	lshift8 rega,rega
+	ior rega,pdata
+	set1 lpmreg_rom_lock_bit,pdata
+	set1 lpmreg_ice_mode_bit,pdata
+	store 4,core_lpm_reg
+	call lpm_write2_ctrl_option
+	jam 8,core_encrypt
+	rtn
+
+//lpm_rom_lock:
+//	fetch 2,core_ucode_flag
+//	set1 lpmreg_rom_lock_bit,pdata
+//	store 4,core_lpm_reg
+lpm_write2_ctrl_option:
+	setarg lpmreg_sel_option
+lpm_write2:
+	until null,lpo_edge
+	store 1,core_lpm_wr2
+	until null,lpo_edge
+	until null,lpo_edge
+	rtn
+
+//lpm_write_ice_disable:
+//	fetch 2,core_ucode_flag
+//	set0 lpmreg_ice_mode_bit,pdata
+//	store 4,core_lpm_reg
+//	branch lpm_write2_ctrl_option
+	
+
+
+
+spid_init:
+	bpatchx patch24_0,mem_patch24
+spid_init_common:
+	fetch 1,mem_spi_init_clk
+	store 1,core_spid_ctrl	// A7530 should at least 34, or write fail
+	fetch 1,mem_spi_init_delay_time
+	store 1,core_spid_delay	// 4us delay
+	setarg mem_spid_tbuf
+	store 2,core_spid_txaddr
+	setarg mem_spid_rbuf
+	store 2,core_spid_rxaddr
+	branch twspi_disable
+	
+
+twspi_write:
+
+spid_write_reg:
+	set1 7,pdata
+	store 2,mem_spid_tbuf
+	bpatchx patch24_1,mem_patch24
+	jam 2,core_spid_txlen
+	jam 0,core_spid_rxlen
+	jam spid_start,core_misc_ctrl
+	branch wait_spid_done
+
+
+twspi_read:
+
+spid_read_reg:
+	force 1,temp
+spid_read_regs:	
+	store 1,mem_spid_tbuf
+	bpatchx patch24_2,mem_patch24
+	jam 1,core_spid_txlen
+	storet 2,core_spid_rxlen
+	jam spid_start,core_misc_ctrl
+	call wait_spid_done
+	fetch 1,mem_spid_rbuf
+	rtn
+
+
+wait_spid_done:
+	fetch 2,mem_afh_error_total
+	increase 1,pdata
+	store 2,mem_afh_error_total
+	fetch 1,core_dma_status
+	bbit0 spid_done,wait_spid_done
+	rtn
+
+	
+
+
+
+
+
+flash_write:
+	disable user
+	copy pdata,regb
+	fetch 1,mem_spi_write_flash_sm
+	rtnne FLASH_SM_NO_BUYS
+	enable user
+	copy regb,pdata
+	branch spid_flash_write_start
+
+
+flash_write_spi_sm_timer:
+	fetch 1,mem_spi_write_flash_sm 	
+	beq FLASH_SM_START,spid_flash_write_start
+	beq FLASH_SM_ERASE_SECTOR,spid_flash_erase_sector
+	beq FLASH_SM_WAIT_ERASE_SECTOR,spid_flash_wait_erase_sector
+	beq FLASH_SM_WRITE_DATA,spid_flash_write_data
+	beq FLASH_SM_WAIT_WRITE_DATA,spid_flash_wait_write_data
+	rtn
+
+spid_flash_write_start:
+	store 3,mem_spi_write_addr
+	copy rega,pdata
+	store 2,mem_spi_write_ptr
+	storet 2,mem_spi_write_len
+	jam FLASH_SM_ERASE_SECTOR,mem_spi_write_flash_sm
+	branch spid_init_flash
+spid_flash_erase_sector:
+	call spid_init_flash
+	jam FLASH_SM_WAIT_ERASE_SECTOR,mem_spi_write_flash_sm
+	call spid_unlock_flash
+	arg mem_spid_tbuf,rega
+	jam 4,core_spid_txlen
+	fetch 3,mem_spi_write_addr
+	arg FLASH_COMMAND_SECTOR_ERASE,temp
+	branch spid_write_flash_common
+	
+spid_flash_wait_erase_sector:
+	call spid_init_flash
+	call wait_spid_flash_done
+	jam FLASH_SM_WRITE_DATA,mem_spi_write_flash_sm
+	rtn
+
+
+spid_flash_write_data:
+	call spid_init_flash
+	jam FLASH_SM_WAIT_WRITE_DATA,mem_spi_write_flash_sm
+	call spid_unlock_flash
+	call spid_flash_data_preserve
+	call spid_write_flash
+	branch spid_flash_data_recover
+spid_flash_wait_write_data:
+	call spid_init_flash
+	call spid_unlock_flash
+	setarg FLASH_READ_SATUS
+	call spid_read_reg
+	rtnbit1 FLASH_STATUS_WIP
+	jam FLASH_SM_NO_BUYS,mem_spi_write_flash_sm
+	fetch 2,mem_cb_spi_flash_write_complate
+	branch callback_func
+spid_flash_data_recover:
+	fetch 4,mem_temp
+	fetcht 2,mem_spi_write_ptr
+spid_flash_data_recover_comm:
+	increase -4,temp
+	istore 4,temp
+	rtn
+spid_flash_data_preserve:
+	fetcht 2,mem_spi_write_ptr
+	copy temp,rega
+	increase -4,temp
+	ifetch 4,temp
+	store 4,mem_temp
+	fetcht 2,mem_spi_write_len
+	fetch 3,mem_spi_write_addr
+	rtn
+
+spid_init_flash:
+	call spi_gpio_init
+	call twspi_disable
+	setarg 0
+	store 4,mem_spid_tbuf
+	rtn
+
+spid_unlock_flash:
+	jam FLASH_COMMAND_WRITE_ENABLE,mem_spid_tbuf
+spid_sendcmd_common:	
+	setarg 0
+	store 2,core_spid_rxlen
+	setarg 1
+	store 2,core_spid_txlen
+	setarg mem_spid_tbuf
+	store 2,core_spid_txaddr
+	jam spid_start,core_misc_ctrl
+	branch wait_spid_done
+	
+spid_flash_release_form_powerdown:
+	jam FLASH_COMMAND_RELEASE_FROM_POWERDOWN,mem_spid_tbuf
+	branch spid_sendcmd_common
+	
+spid_flash_powerdown:
+	jam FLASH_COMMAND_POWERDOWN,mem_spid_tbuf
+	branch spid_sendcmd_common
+	
+
+spid_write_flash:
+	increase 4,temp
+	storet 2,core_spid_txlen
+	arg FLASH_COMMAND_WRITE_DATA,temp
+	increase -4,rega
+
+spid_write_flash_common:
+	istoret 1,rega
+	rshift16 pdata,temp
+	istoret 1,contw
+	rshift8 pdata,temp
+	istoret 1,contw
+	istore 1,contw
+	deposit rega
+	store 2,core_spid_txaddr
+	setarg 0
+	store 2,core_spid_rxlen
+	jam spid_start,core_misc_ctrl
+	call wait_spid_done
+	branch wait_spid_flash_done
+
+
+
+spid_read_flash:
+	storet 2,core_spid_rxlen
+	rshift16 pdata,temp
+	storet 1,mem_addr_hi
+	rshift8 pdata,temp
+	storet 1,mem_addr_mi
+	store 1,mem_addr_lo
+	setarg 4
+	store 2,core_spid_txlen
+	jam FLASH_COMMAND_READ_DATA,mem_spid_tbuf
+	setarg mem_spid_tbuf
+	store 2,core_spid_txaddr
+	deposit rega
+	store 2,core_spid_rxaddr
+	fetch 1,core_spid_ctrl
+	isolate0 15,rega
+	setflag true,6,pdata
+	store 1,core_spid_ctrl
+	jam spid_start,core_misc_ctrl
+spid_read_flash_wait:
+	fetch 1,core_dma_status
+	bbit1 7,spid_read_flash_wait			// waiting for spid write
+	arg spid_done,queue
+	branch wait_spid_done
+
+wait_spid_flash_done:
+	setarg 2000
+	call sleep
+	call spid_unlock_flash
+	setarg mem_spid_rbuf
+	store 2,core_spid_rxaddr
+	setarg FLASH_READ_SATUS
+	call spid_read_reg
+	bbit1 FLASH_STATUS_WIP,wait_spid_flash_done
+	rtn
+
+
+
+spid_load_flash:
+	storet 2,core_spid_rxlen
+	setarg 4
+	store 2,core_spid_txlen
+	jam 3,mem_spid_tbuf
+	setarg mem_spid_tbuf
+	store 2,core_spid_txaddr
+	deposit rega
+	store 2,core_spid_rxaddr
+	fetch 1,core_spid_ctrl
+	isolate0 15,rega
+	setflag true,6,pdata
+	store 1,core_spid_ctrl
+	jam spid_start,core_misc_ctrl
+spi_load_flash_wait:
+	fetch 1,core_dma_status
+	bbit1 7,spi_load_flash_wait			// waiting for spid write
+	arg spid_done,queue
+	call decrypt_code
+	call wait_spid_done
+	isolate1 spid_crcok,pdata
+	call set_ucode_status
+	fetch 1,mem_addr_hi
+	lshift16 pdata,regb
+	fetch 1,mem_addr_mi
+	lshift8 pdata,pdata
+	ior regb,regb
+	fetch 1,mem_addr_lo
+	ior regb,pdata
+	iadd temp,pdata
+	store 1,mem_addr_lo
+	rshift8 pdata,pdata
+	store 1,mem_addr_mi
+	rshift8 pdata,pdata
+	store 1,mem_addr_hi
+	rtn
+	
+spi_gpio_init:
+	fetch 1,mem_spi_cs_gpio
+	fetcht 1,mem_spi_so_gpio
+	isub temp,null
+	nbranch spi_pin_set,zero
+	call spi_gpio_default_init
+	
+spi_pin_set:
+	fetch 1,mem_spi_cs_gpio
+	arg gpcfg_spid_ncs,temp
+	call gpio_config_function_int
+	fetch 1,mem_spi_sclk_gpio
+	arg gpcfg_spid_sck,temp
+	call gpio_config_function_int
+	fetch 1,mem_spi_si_gpio
+	arg gpcfg_spid_mosi,temp
+	call gpio_config_function_int
+	fetch 1,mem_spi_so_gpio
+	arg gpcfg_spid_miso,temp
+	branch gpio_config_function_int
+
+spi_gpio_default_init:
+	setarg 0x100d0e
+	store 3,mem_spi_cs_gpio
+	setarg 0x12110f
+	istore 3,contw
+	rtn
+
+
+
+
+soft_reset_chip:
+	jam 1,core_reset
+	rtn
+
+
+
+
+
+iic_init_600khz:
+	jam 5,core_iicd_scl_low
+ 	jam 7,core_iicd_scl_high
+	jam 7,core_iicd_start_setup
+	jam 7,core_iicd_start_hold
+	jam 7,core_iicd_stop_setup
+	jam 5,core_iicd_data_setup
+	jam 0,core_iicd_data_hold
+	rtn
+	
+iic_init_360khz:	//360khz
+	jam 12,core_iicd_scl_low
+	jam 13,core_iicd_scl_high
+	jam 13,core_iicd_start_setup
+	jam 13,core_iicd_start_hold
+	jam 13,core_iicd_stop_setup
+	jam 12,core_iicd_data_setup
+	jam 0,core_iicd_data_hold	
+  	rtn
+
+iicd_init_pin:
+	call iicd_eeprom_write_enable
+iicd_init_pin_scl_sda:
+	fetch 1,mem_eeprom_scl_gpio
+	arg gpcfg_iic_scl|gpcfg_pullup,temp
+	call gpio_config_function_int
+	fetch 1,mem_eeprom_sda_gpio
+	arg gpcfg_iic_sda|gpcfg_pullup,temp
+	branch gpio_config_function_int
+
+iicd_read_init_pin:
+	call iicd_eeprom_write_disable
+	branch iicd_init_pin_scl_sda
+
+wait_iicd_done:
+	fetch 1,core_dma_status
+	bbit0 iicd_done,wait_iicd_done
+	rtn
+
+	
+iicd_read_data:
+	store 1,mem_iicd_addr
+	setarg mem_iicd_addr
+	store 2,core_iicd_txaddr
+	setarg 1
+	store 2,core_iicd_txlen
+	storet 2,core_iicd_rxlen
+	storer rega,2,core_iicd_rxaddr
+	jam 1,core_iicd_ctrl
+	jam iicd_start,core_misc_ctrl
+	branch wait_iicd_done
+
+	
+iic_write_data:
+	setarg 0
+	store 2,core_iicd_rxlen
+	store 2,core_iicd_rxaddr
+	storet 2,core_iicd_txlen
+	storer rega,2,core_iicd_txaddr
+	jam 1,core_iicd_ctrl
+	jam iicd_start,core_misc_ctrl
+	branch wait_iicd_done
+
+set_eeprom_size_2k:
+	set1 mark_eeprom_size,mark
+	jam 0x08,mem_eeprom_block_size
+	rtn
+
+clear_eeprom_size_2k:
+	set0 mark_eeprom_size,mark
+	jam 0x20,mem_eeprom_block_size
+	rtn
+
+
+iicd_read_eep_data_size_2k:
+ 	fetch 1,mem_eeprom_base
+	iadd regb,pdata
+	store 1,mem_addr_mi
+	branch iicd_read_eep_size_2k
+
+iicd_read_eep_size_2k_lcadcode:
+	fetch 2,mem_addr_mi
+	byteswap pdata,pdata
+	store 1,mem_addr_mi
+	
+//length:temp 
+//mem ptr:rega
+//eeprom addr:pdata
+iicd_read_eep_size_2k:
+ 	setarg 3
+	store 2,core_iicd_txlen
+	jam 0xa0,mem_iicd_tbuf
+	jam 0xa1,mem_iicd_tbuf+2
+	branch iicd_read_eep_common
+
+
+//length:temp 
+//mem ptr:rega
+//eeprom addr:regb
+iicd_write_protect_eep_data:
+	storet 2,mem_temp
+	call iicd_eeprom_write_enable
+	fetcht 2,mem_temp
+	call iicd_write_eep_data
+	branch iicd_eeprom_write_disable
+	
+iicd_eeprom_write_enable:
+	fetch 1,mem_eeprom_wp_gpio
+	rtneq GPIO_DISABLE
+	bbit0 6,iicd_wp_gpio_output_low
+	setarg 150000
+	call sleep
+iicd_wp_gpio_output_low:
+	fetcht 1,mem_eeprom_wp_gpio
+	branch gpio_out_active
+	
+iicd_eeprom_write_disable:
+	fetcht 1,mem_eeprom_wp_gpio
+	branch gpio_out_inactive
+	
+//length:temp 
+//mem ptr:rega
+//eeprom addr offset:regb
+iicd_read_eep_data:
+	bpatchx patch24_3,mem_patch24
+	bmark1 mark_eeprom_size,iicd_read_eep_data_size_2k
+	fetch 2,mem_eeprom_base
+	iadd regb,pdata
+	byteswap pdata,pdata
+	store 2,mem_addr_mi
+
+
+iicd_read_eep:
+	bpatchx patch24_4,mem_patch24
+	bmark1 mark_eeprom_size,iicd_read_eep_size_2k_lcadcode
+	setarg 4
+	store 2,core_iicd_txlen
+	jam 0xa0,mem_iicd_tbuf
+	jam 0xa1,mem_iicd_tbuf+3
+iicd_read_eep_common:	
+	setarg mem_iicd_tbuf
+	store 2,core_iicd_txaddr
+	storet 2,core_iicd_rxlen
+	storer rega,2,core_iicd_rxaddr
+	setarg 2
+	isolate0 15,rega
+	setflag true,0,pdata
+	store 1,core_iicd_ctrl
+	jam iicd_start,core_misc_ctrl
+	arg iicd_done,queue
+	call decrypt_code
+	call wait_iicd_done
+	isolate1 iicd_crcok,pdata
+	call set_ucode_status
+	bmark1 mark_eeprom_size,iicd_read_eep_load_code_size_2k
+	fetch 2,mem_addr_mi
+	byteswap pdata,pdata
+	iadd temp,pdata
+	byteswap pdata,pdata
+	store 2,mem_addr_mi
+	rtn
+
+iicd_read_eep_load_code_size_2k:
+	fetch 1,mem_addr_mi
+	iadd temp,pdata
+	byteswap pdata,pdata
+	store 2,mem_addr_mi
+	rtn
+	
+
+//length:temp 
+//mem ptr:rega
+//eeprom addr offset:regb
+iicd_write_eep_data:
+	fetch 2,mem_eeprom_base
+	iadd regb,pdata
+
+//cuur ptr:pdata length:temp buf:rega
+iicd_write_ota_data:
+	store 2,mem_pdatatemp //curr ptr
+	bpatchx patch24_5,mem_patch24
+	storet 2,mem_temp	//len
+	storer rega,2,mem_contr
+iicd_write_eep_loop:
+	call iicd_eep_transparency
+
+	fetcht 2,mem_regb
+	fetchr rega,2,mem_contr
+	fetch 2,mem_pdatatemp
+	
+	call iicd_write_eep
+	
+	fetch 2,mem_regb
+	fetcht 2,mem_contr
+	iadd temp,temp
+	storet 2,mem_contr
+	fetcht 2,mem_pdatatemp
+	iadd temp,temp
+	storet 2,mem_pdatatemp
+	fetch 2,mem_temp
+	nbranch iicd_write_eep_loop,blank
+	rtn
+	
+//in:
+//1.size 2.len 3.src 4.des
+//mem_regc page's area
+//mem_pdatatemp curr ptr
+//mem_temp all len      
+//mem_regb curr len
+iicd_eep_transparency:
+	bpatchx patch24_6,mem_patch24
+	fetch 1,mem_eeprom_block_size
+	increase -1,pdata
+	fetcht 2,mem_pdatatemp
+	ior temp,pdata
+	increase 1,pdata
+	store 3,mem_regc
+
+	fetch 2,mem_temp
+	iadd temp,pdata
+
+	fetcht 3,mem_regc
+	isub temp,pdata
+	nbranch iicd_eep_deal_short_packet,positive
+	store 2,mem_temp
+	fetch 3,mem_regc
+	fetcht 2,mem_pdatatemp
+	isub temp,pdata
+	store 2,mem_regb
+	rtn
+iicd_eep_deal_short_packet:
+	fetch 2,mem_temp
+	store 2,mem_regb
+	setarg 0
+	store 2,mem_temp
+	rtn
+
+iicd_write_eep_size_2k:
+	copy regb,pdata
+	increase 2,temp
+	storet 2,core_iicd_txlen
+	increase -2,rega
+	ifetcht 3,rega
+	copy temp,regb
+	arg 0xa0,temp
+	istoret 1,rega
+	istore 1,contw
+	branch iicd_write_eep_common
+
+	
+iicd_write_eep:
+	copy pdata,regb
+	bpatchx patch24_7,mem_patch24
+	bmark1 mark_eeprom_size,iicd_write_eep_size_2k
+	copy regb,pdata
+	increase 3,temp
+	storet 2,core_iicd_txlen
+	increase -3,rega
+	ifetcht 3,rega
+	copy temp,regb
+	arg 0xa0,temp
+	istoret 1,rega
+	byteswap pdata,pdata
+	istore 2,contw
+iicd_write_eep_common:	
+	storer rega,2,core_iicd_txaddr
+	setarg 0
+	store 2,core_iicd_rxlen
+	jam 1,core_iicd_ctrl
+	jam iicd_start,core_misc_ctrl
+	call wait_iicd_done
+	istorer regb,3,rega
+iic_check_eeprom_standby:
+	bpatchx patch25_0,mem_patch25
+	jam 0,mem_iicd_tbuf+3
+iic_check_eeprom_standby_wait:
+	setarg 1
+	store 2,core_iicd_txlen
+	jam 0xa0,mem_iicd_tbuf
+	setarg mem_iicd_tbuf
+	store 2,core_iicd_txaddr
+	setarg 0
+	store 2,core_iicd_rxlen
+	store 2,core_iicd_rxaddr
+	setarg 3
+	store 1,core_iicd_ctrl
+	jam iicd_start,core_misc_ctrl
+	call wait_iicd_done
+	fetch 1,core_dma_status
+	rtnbit0 iicd_ack
+	nop 1500
+	fetch 1,mem_iicd_tbuf+3
+	increase 1,pdata
+	store 1,mem_iicd_tbuf+3
+	sub pdata,40,null
+	nrtn positive//polling timeout 6ms
+	branch iic_check_eeprom_standby_wait
+
+
+//pdata: efuse address, rega :points to data, temp : count 
+efuse_read_data:
+	copy temp,loopcnt
+	copy pdata,temp
+	bpatchx patch25_1,mem_patch25
+	lshift3 temp,temp
+	call efuse_vdd_on
+	jam 0x80,core_efuse_ctrl
+efuse_read_loop:
+	jam 0x86,core_efuse_ctrl
+	storet 2,core_efuse_addr
+	increase 8,temp
+	jam 0x87,core_efuse_ctrl
+	fetch 1,core_efuse_rdata
+	istore 1,rega
+	increase 1,rega
+	loop efuse_read_loop
+	jam 0x86,core_efuse_ctrl
+	jam 0x80,core_efuse_ctrl
+	jam 0x0,core_efuse_ctrl
+	branch efuse_vdd_off
+
+//temp = efuse address, rega pointers data, loopcnt is count 
+efuse_program:
+	call efuse_vdd_fsource_on
+	jam 0x80,core_efuse_ctrl
+	lshift3 temp,temp
+	copy rega,contr
+efuse_program_loop:
+	ifetch 1,contr
+	arg 8,regb
+efuse_program_bit_loop:
+	and pdata,1,null
+	ncall efuse_program_bit,zero
+	rshift pdata,pdata
+	increase 1,temp
+	increase -1,regb
+	nbranch efuse_program_bit_loop,zero
+	loop efuse_program_loop
+	jam 0x80,core_efuse_ctrl
+	jam 0x0,core_efuse_ctrl
+	branch efuse_vdd_off
+    
+
+efuse_pa_vdd_set:
+	fetch 2,core_rf_ldo_cfg8
+	store 2,mem_pdatatemp
+	jam 0x6a,core_rf_ldo_cfg8
+	jam 0x0b,core_rf_ldo_cfg9
+	rtn
+
+efuse_pa_vdd_recover:
+	fetch 2,mem_pdatatemp
+	store 2,core_rf_ldo_cfg8
+	rtn
+
+efuse_lna_pa_ldo_on:
+	call efuse_pa_vdd_set
+	fetch 1,core_rf_ldo_en0
+	set1 1,pdata
+	store 1,core_rf_ldo_en0
+	nop 200
+	fetch 1,core_rf_ldo_en1
+	set1 0,pdata
+	store 1,core_rf_ldo_en1
+	nop 2000
+	rtn
+
+efuse_vdd_fsource_on:
+	call efuse_lna_pa_ldo_on
+	fetch 1,core_rf_ldo_en1
+	set0 5,pdata
+	set1 4,pdata
+	set1 3,pdata
+	store 1,core_rf_ldo_en1
+	nop 500
+	rtn
+	
+efuse_vdd_on:
+	call efuse_lna_pa_ldo_on
+	fetch 1,core_rf_ldo_en1
+	set1 5,pdata
+	set1 4,pdata
+	set0 3,pdata
+	store 1,core_rf_ldo_en1
+	nop 500
+	rtn
+	
+efuse_vdd_off:
+	bpatchx patch25_2,mem_patch25
+	fetch 1,core_rf_ldo_en1
+	set0 5,pdata
+	set0 4,pdata
+	set0 3,pdata
+	set0 0,pdata	
+	store 1,core_rf_ldo_en1
+	nop 200
+	fetch 1,core_rf_ldo_en0
+	set0 1,pdata
+	store 1,core_rf_ldo_en0
+	branch efuse_pa_vdd_recover
+
+efuse_program_bit:
+	jam 0x80,core_efuse_ctrl
+	nop 10
+	storet 2,core_efuse_addr
+	jam 0x81,core_efuse_ctrl
+	nop 110
+	rtn
+
+
+uarta_init_dma_mem:
+	call enable_user
+	branch uart_init_dma_mem
+uartb_init_dma_mem:
+	call disable_user
+	branch uart_init_dma_mem
+uart_init_dma_mem:
+	rshift16 pdata,temp
+	call uarta_init_rx,user
+	ncall uartb_init_rx,user
+	rshift32 pdata,pdata
+	rshift16 pdata,temp
+	call uarta_init_tx,user
+	ncall uartb_init_tx,user
+	nbranch uartb_init_dma_turn_on_clk,user
+	fetch 2,core_clkoff
+	set0 CLOCK_OFF_UART,pdata
+	store 2,core_clkoff
+	rtn
+uartb_init_dma_turn_on_clk:
+	fetch 2,core_clkoff
+	set0 CLOCK_OFF_UARTB,pdata
+	store 2,core_clkoff
+	rtn
+
+
+uarta_init_baud_rate:
+	store uart_baud_len,core_uart_baud
+	rtn
+
+
+uartb_init_baud_rate:
+	store uart_baud_len,core_uartb_baud
+	rtn
+
+uarta_calc_baud_rate_config:
+	call uart_calc_baud_rate_config
+	branch uarta_init_baud_rate
+
+uartb_calc_baud_rate_config:
+	call uart_calc_baud_rate_config
+	branch uartb_init_baud_rate
+
+uart_calc_baud_rate_config:
+	call uart_calc_baud_rate_config_choice_uart_clock
+	idiv temp
+	call wait_div_end
+	quotient pdata
+	rtn
+
+uart_calc_baud_rate_config_choice_uart_clock:
+	fetch 1,core_uart_clksel
+	bbit0 UART_CLOCK_SELECT_BIT,uart_calc_baud_rate_config_choice_uart_clock_crystal
+	setarg uart_clock_freq_48M
+	rtn
+uart_calc_baud_rate_config_choice_uart_clock_crystal:
+	setarg uart_clock_freq_24M
+	rtn
+
+uart_clock_select_main_freq_crystal:
+	fetch 1,core_uart_clksel
+	and pdata,UART_CLOCK_SELECT_CRYSTAL,pdata
+	store 1,core_uart_clksel
+	rtn
+
+uart_clock_select_main_freq_dpll:
+	fetch 1,core_uart_clksel
+	or pdata,UART_CLOCK_SELECT_DPLL,pdata
+	store 1,core_uart_clksel
+	rtn
+
+
+	// pdata: tx buffer start, temp: tx buffer end
+uarta_init_tx:
+	store 2,core_uart_tsaddr
+	store 2,core_uart_twptr
+	storet 2,core_uart_teaddr
+	rtn
+
+	// pdata: tx buffer start, temp: tx buffer end
+uartb_init_tx:
+	store 2,core_uartb_tsaddr
+	store 2,core_uartb_twptr
+	storet 2,core_uartb_teaddr
+	rtn
+
+	// pdata: rx buffer start, temp: rx buffer end
+uarta_init_rx:
+	store 2,core_uart_rsaddr
+	store 2,core_uart_rrptr
+	storet 2,core_uart_readdr
+	rtn
+
+	// pdata: rx buffer start, temp: rx buffer end
+uartb_init_rx:
+	store 2,core_uartb_rsaddr
+	store 2,core_uartb_rrptr
+	storet 2,core_uartb_readdr
+	rtn
+
+
+uarta_prepare_tx:
+	fetchr contus,2,core_uart_tsaddr
+	fetchr contue,2,core_uart_teaddr
+	fetchr contu,2,core_uart_twptr
+	rtn
+
+uartb_prepare_tx:
+	fetchr contus,2,core_uartb_tsaddr
+	fetchr contue,2,core_uartb_teaddr
+	fetchr contu,2,core_uartb_twptr
+	rtn
+
+uarta_prepare_rx:
+	fetchr contus,2,core_uart_rsaddr
+	fetchr contue,2,core_uart_readdr
+	fetchr contu,2,core_uart_rrptr
+	rtn
+
+uartb_prepare_rx:
+	fetchr contus,2,core_uartb_rsaddr
+	fetchr contue,2,core_uartb_readdr
+	fetchr contu,2,core_uartb_rrptr
+	rtn
+
+uarta_send:
+	storer contu,2,core_uart_twptr
+	rtn
+
+uartb_send:
+	storer contu,2,core_uartb_twptr
+	rtn
+
+uarta_rxdone:
+	storer contu,2,core_uart_rrptr
+	rtn
+
+uartb_rxdone:
+	storer contu,2,core_uartb_rrptr
+	rtn
+
+uarta_clear_current_rx:
+	call uarta_prepare_rx
+	fetch 2,core_uart_rxitems
+	iadd contu,contu
+	branch uarta_rxdone
+
+uartb_clear_current_rx:
+	call uartb_prepare_rx
+	fetch 2,core_uartb_rxitems
+	iadd contu,contu
+	branch uartb_rxdone
+
+uarta_prepare_tx_register_push:
+	call uart_register_push
+	branch uarta_prepare_tx
+
+uartb_prepare_tx_register_push:
+	call uart_register_push
+	branch uartb_prepare_tx
+
+uarta_send_register_pop:
+	call uarta_send
+	branch uart_register_pop
+
+uartb_send_register_pop:
+	call uartb_send
+	branch uart_register_pop
+
+
+uart_register_push:
+	storer contu,2,mem_contu
+	storer contus,2,mem_contue
+	storer contue,2,mem_contus
+	rtn
+
+uart_register_pop:
+	fetchr contu,2,mem_contu
+	fetchr contus,2,mem_contue
+	fetchr contue,2,mem_contus
+	rtn
+
+
+uart_copy_tx_bytes_fast:
+	deposit loopcnt
+	rtn blank
+uart_copy_tx_bytes_fast_loop:
+	increase -8,loopcnt
+	call uart_tx_8_bytes,positive
+	rtn zero
+	branch uart_copy_tx_bytes_fast_loop,positive
+	increase 8,loopcnt
+uart_copy_tx_bytes_fast_loop_four:
+	increase -4,loopcnt
+	call uart_tx_4_bytes,positive
+	rtn zero
+	branch uart_copy_tx_bytes_fast_loop_four,positive
+	increase 4,loopcnt
+	branch uart_copy_tx_bytes
+
+uart_tx_16_bytes:
+	call uart_tx_8_bytes
+uart_tx_8_bytes:
+	ifetch 8,contr
+	istore 8,contu
+	rtn
+
+uart_tx_4_bytes:
+	ifetch 4,contr
+	istore 4,contu
+	rtn
+
+uart_copy_tx_bytes:
+	deposit loopcnt
+	rtn blank
+uart_copy_tx_bytes_loop:
+	ifetch 1,contr
+	istore 1,contu
+	loop uart_copy_tx_bytes_loop
+	rtn
+
+uart_copy_rx_bytes_fast:
+	deposit loopcnt
+	rtn blank
+uart_copy_rx_bytes_fast_loop:
+	increase -8,loopcnt
+	call uart_rx_8_bytes,positive
+	rtn zero
+	branch uart_copy_rx_bytes_fast_loop,positive
+	increase 8,loopcnt
+uart_copy_rx_bytes_fast_loop_four:
+	increase -4,loopcnt
+	call uart_rx_4_bytes,positive
+	rtn zero
+	branch uart_copy_rx_bytes_fast_loop_four,positive
+	increase 4,loopcnt
+	branch uart_copy_rx_bytes
+
+uart_rx_16_bytes:
+	call uart_rx_8_bytes
+uart_rx_8_bytes:
+	ifetch 8,contu
+	istore 8,contw
+	rtn
+
+uart_rx_4_bytes:
+	ifetch 4,contu
+	istore 4,contw
+	rtn
+
+
+uart_copy_rx_bytes:
+	deposit loopcnt
+	rtn blank
+uart_copy_rx_bytes_loop:
+	ifetch 1,contu
+	istore 1,contw
+	loop uart_copy_rx_bytes_loop
+	rtn
+
+
+
+
+app_store_nvram_event:
+	jam BT_EVT_STORE_NVRAM,mem_fifo_temp
+	branch ui_ipc_send_event
+
+check_51cmd_store_reconn_info:
+check_51cmd_update_device_record:
+	bpatchx patch25_3,mem_patch25
+	fetch 1,mem_nv_data_number
+	rtn blank		// not nv data
+	call check_nvram
+	call init_device_list,zero
+	call disable_user2
+	call nvram_find_addr_from_bd_list
+write_device_record:
+	fetch 1,mem_nv_data_number
+	icopy regc
+	fetcht 2,mem_nv_data_ptr
+	storet 2,mem_list_item_ptr
+write_device_loop_find:
+	copy regc,pdata
+	branch app_store_nvram_event,blank  //EEPROM
+	increase -1,regc
+	copy temp,rega
+	ifetch 1,rega
+	fetcht 1,mem_select_list_item
+	isub temp,null
+	call set_index_finded_device,zero
+	branch write_device_loop_find0,positive
+	ifetch 1,rega
+	increase 1,pdata
+	istore 1,rega
+write_device_loop_find0:
+	fetcht 2,mem_list_item_ptr
+	increase NV_DATA_LEN,temp
+	storet 2,mem_list_item_ptr
+	branch write_device_loop_find
+
+set_index_finded_device:
+	setarg 0
+	istore 1,rega
+	fetch 1,mem_temp_reconn_record
+	istore 1,contw	
+	bne REC_3_MODE,set_index_finded_device_ble_mode
+	arg mem_link_key,regb
+set_index_find_device_MASTER_ADDR:
+	ifetch 6,contr
+	istore 8,contw
+	setarg 0
+	istore 8,contw
+	copy regb,contr
+store_rec_data_common:
+	call memcpy16
+	force 1,null
+	rtn
+
+set_index_finded_device_ble_mode:
+	beq REC_4_MODE_RANDOM_RESOLVABLE_PRIVATE_ADDRESS,set_index_finded_device_IRK
+	beq REC_4_MODE_RANDOM_NON_RESOLVABLE_PRIVATE_ADDRESS,set_index_finded_device_EDIV
+	arg mem_le_ltk,regb
+	branch set_index_find_device_MASTER_ADDR
+
+set_index_finded_device_IRK:
+	arg mem_le_irk,contr
+	call memcpy16
+store_ble_rec_data_common:
+	arg mem_le_ltk,contr
+	branch store_rec_data_common
+
+set_index_finded_device_EDIV:
+	arg mem_le_rand,contr
+	call memcpy16
+	branch store_ble_rec_data_common
+
+
+//enable user2 reconnect
+//disable user2 pairing
+nvram_find_addr_from_bd_list:
+	call disable_user
+	fetch 1,mem_nv_data_number
+	rtn blank		// not nv data
+	bpatchx patch25_4,mem_patch25
+	fetch 2,mem_ui_state_map
+	bbit1 UI_STATE_BT_CONNECTED,find_addr_from_bd_list_SPP_mode
+	rtnbit0 UI_STATE_BLE_CONNECTED
+find_addr_from_bd_list_ble_mode:
+	fetch 1,mem_le_conn_peer_addr_type
+	beq MASTER_PUBLIC_ADDR,find_addr_from_bd_list_public_device_addr
+	fetch 1,mem_le_plap+5
+	compare 0xc0,pdata,0xc0
+	branch find_addr_from_bd_list_static_addr,true
+	compare 0x40,pdata,0xc0
+	branch find_addr_from_bd_list_random_addr,true
+	branch find_addr_from_bd_list_random_non_resolvable_private_address_sc_or_legacy
+
+find_addr_from_bd_list_static_addr:
+	branch find_addr_from_bd_list_static_addr_reconnect,user2
+	fetch 1,mem_le_preq_init_key_distribution
+	bbit0 LE_INITATOR_IRK_BIT,find_addr_from_bd_list_public_device_addr
+	branch find_addr_from_bd_list_static_addr_sc_or_legacy
+
+find_addr_from_bd_list_static_addr_reconnect:
+	call find_addr_from_bd_list_public_device_addr
+	rtn user
+	branch find_addr_from_bd_list_static_addr_sc_or_legacy
+
+
+find_addr_from_bd_list_static_addr_sc_or_legacy:
+find_addr_from_bd_list_random_non_resolvable_private_address_sc_or_legacy:
+	fetch 1,mem_le_pairing_mode
+	bbit1 LE_PAIRING_MODE_SECURE_CONNECT_BIT,find_addr_from_bd_list_random_non_resolvable_private_address_sc
+	branch find_addr_from_bd_list_random_non_resolvable_private_address
+
+find_addr_from_bd_list_static_addr_sc:
+find_addr_from_bd_list_random_non_resolvable_private_address_sc:
+	fetch 6,mem_le_plap
+	store 8,mem_le_rand
+	branch find_addr_from_bd_list_random_non_resolvable_private_address
+
+
+find_addr_from_bd_list_public_device_addr:
+	jam REC_4_MODE_STATIC_ADDRESS,mem_temp_reconn_record
+	fetch 6,mem_le_plap
+	branch find_addr_from_bd_list_common
+	
+find_addr_from_bd_list_random_non_resolvable_private_address:	
+	jam REC_4_MODE_RANDOM_NON_RESOLVABLE_PRIVATE_ADDRESS,mem_temp_reconn_record
+	branch find_addr_from_bd_list_common
+
+//input :pdata EDIV and rands
+find_addr_from_bd_list_random_addr:
+	jam REC_4_MODE_RANDOM_RESOLVABLE_PRIVATE_ADDRESS,mem_temp_reconn_record
+	branch find_addr_from_bd_list_common
+	
+//input :pdata EDIV and rands
+find_addr_from_bd_list_SPP_mode:
+	jam REC_3_MODE,mem_temp_reconn_record
+	fetch 6,mem_plap
+find_addr_from_bd_list_common:
+	store 6,mem_temp_lap
+	fetch 2,mem_nv_data_ptr
+	ifetcht 1,pdata
+	pincrease 1
+	store 2,mem_list_item_ptr
+	storet 1,mem_select_list_item
+	fetch 1,mem_nv_data_number
+	icopy regc
+nvram_find_addr_from_list:
+	fetch 2,mem_list_item_ptr
+	copy pdata,rega
+	call nvram_find_addr_from_list_compare
+	rtn user
+	fetcht 2,mem_list_item_ptr
+	increase NV_DATA_LEN,temp
+	storet 2,mem_list_item_ptr
+	increase -1,temp
+	ifetch 1,temp
+	store 1,mem_select_list_item
+	increase -1,regc
+	nbranch nvram_find_addr_from_list,zero
+	fetch 1,mem_nv_data_number
+	pincrease DECREASED_ONE
+	store 1,mem_select_list_item
+	rtn
+nvram_find_addr_from_list_compare:
+	fetch 1,mem_temp_reconn_record
+	bne REC_3_MODE,find_addr_from_list_compare_ble_mode
+find_master_addr_from_list_compare:
+	arg mem_temp_reconn_record,regb
+	arg 7,loopcnt
+	call string_compare
+	branch enable_user,zero
+	rtn
+
+find_addr_from_list_compare_ble_mode:
+	beq REC_4_MODE_RANDOM_RESOLVABLE_PRIVATE_ADDRESS,find_irk_form_list_compare
+	beq REC_4_MODE_RANDOM_NON_RESOLVABLE_PRIVATE_ADDRESS,find_ediv_form_list_compare
+	branch find_master_addr_from_list_compare
+
+find_irk_form_list_compare:
+	ifetcht 1,rega
+	isub temp,null
+	nrtn zero
+	arg mem_le_prand,contw
+	arg 16,loopcnt
+	call clear_mem
+	fetch 3,mem_le_plap+3
+	store 3,mem_le_prand
+	call genernate_master_MacAddress
+	fetch 2,mem_le_aes_128+13
+	byteswap pdata,pdata
+	lshift8 pdata,temp
+	ifetch 1,contr
+	iadd temp,pdata
+	fetcht 3,mem_le_plap
+	isub temp,null
+	branch enable_user,zero
+	rtn
+
+
+genernate_master_MacAddress:
+	arg mem_le_prand ,contr
+	call load_data128
+//	arg mem_le_irk,contr
+	ifetch 1,rega
+	call load_regext
+	force 0x38,aes_ctrl
+	force 0x0,aes_ctrl
+	call wait_aes
+	arg mem_le_aes_128,contw
+	branch store_aes_result
+
+find_ediv_form_list_compare:
+	ifetcht 1,rega
+	isub temp,null
+	nrtn zero
+	copy contr,rega
+	add contr,8,regc
+	arg mem_le_rand,regb
+	arg 8,loopcnt
+	call string_compare
+	branch enable_user,zero
+	copy regc,rega
+	arg mem_le_irk,regb
+	arg 8,loopcnt
+	call string_compare
+	branch enable_user,zero
+	rtn
+
+check_nvram:
+	fetch 2,mem_nv_data_ptr
+	ifetcht 1,pdata
+	pincrease NV_DATA_LEN
+	ifetch 1,pdata
+	isub temp,null
+	rtn
+
+init_device_list:
+	fetch 1,mem_nv_data_number
+	icopy loopcnt
+	fetcht 2,mem_nv_data_ptr
+	setarg 0
+init_device_list_loop:
+	istore 1,temp
+	increase NV_DATA_LEN,temp
+	pincrease 1
+	loop init_device_list_loop
+	rtn
+
+load_device_list:
+	bpatchx patch25_5,mem_patch25
+	call enable_user2
+	call nvram_find_addr_from_bd_list
+	fetch 1,mem_state
+	setflag user,state_combkey,pdata	
+	store 1,mem_state
+	nbranch clear_key_exists,user
+	add rega,10,contr
+	arg mem_link_key,contw
+	call  memcpy16
+	branch check_link_key_load
+clear_key_exists:
+	jam 0,mem_link_key_exists
+	rtn
+
+load_device_list_mode_4:
+//	fetch 9,mem_le_ediv
+//	branch clear_ltk_exists,blank
+	call enable_user2
+	call nvram_find_addr_from_bd_list
+	nbranch clear_ltk_exists,user
+	fetch 2,mem_list_item_ptr
+	add pdata,1,contr
+	arg mem_le_irk,contw
+	call  memcpy16
+	arg mem_le_ltk,contw
+	call  memcpy16
+	jam 1,mem_ltk_exists
+	rtn
+
+clear_ltk_exists:
+	jam 0,mem_ltk_exists
+	rtn
+
+
+eeprom_store_le_reconn_info:
+	jam REC_4_MODE,mem_record_bt_mode
+	branch eeprom_store_reconn_info
+eeprom_store_bd_reconn_info:
+	jam REC_3_MODE,mem_record_bt_mode
+eeprom_store_reconn_info:
+	fetch 1,mem_device_option
+	beq dvc_op_module,check_51cmd_update_device_record
+	beq dvc_op_mouse,mouse_store_remote_bdaddr
+	rtn
+	
+
+check_link_key_load:
+	fetch 8,mem_link_key
+	fetcht 8,mem_link_key+8
+	ior temp,pdata
+	rtn blank
+	jam 1,mem_link_key_exists
+	rtn
+	
+
+
+
+
+//temp [4:0]=GPIO number, 0-31, 
+gpio_set_wake_by_current_state:
+	bpatchx patch25_6,mem_patch25
+	set1 gpio_active_bit,temp
+	call gpio_get_bit
+	nsetflag true,gpio_active_bit,temp
+
+//temp [4:0]=GPIO number, 0-31, [7]=0, low active
+gpio_set_wake:
+	bpatchx patch25_7,mem_patch25
+	sub temp,UI_BUTTON_GPIO_DISABLE,null
+	rtn zero
+	isolate0 gpio_active_bit,temp
+	and temp,0x1f,queue
+	fetch 4,mem_gpio_wakeup_low
+	qsetflag true,pdata
+	store 4,mem_gpio_wakeup_low
+	fetch 4,mem_gpio_wakeup_high
+	nqsetflag true,pdata
+	store 4,mem_gpio_wakeup_high
+	rtn
+	
+//temp [4:0]=GPIO number, 0-31, [7]=0, low active
+gpio_clr_wake:
+	bpatchx patch26_0,mem_patch26
+	sub temp,UI_BUTTON_GPIO_DISABLE,null
+	rtn zero
+	isolate0 gpio_active_bit,temp
+	and temp,0x1f,queue
+	fetch 4,mem_gpio_wakeup_low
+	qset0 pdata
+	store 4,mem_gpio_wakeup_low
+	fetch 4,mem_gpio_wakeup_high
+	qset0 pdata
+	store 4,mem_gpio_wakeup_high
+	rtn
+
+gpio_config_input_nowake:
+	call gpio_clr_wake
+	branch gpio_config_input_without_wake
+
+//temp [4:0]=GPIO number, 0-31, [7]=0, low active
+gpio_config_input:
+	sub temp,UI_BUTTON_GPIO_DISABLE,null
+	rtn zero
+	ncall gpio_set_wake,wake
+gpio_config_input_without_wake:
+	call gpio_addr
+	setarg 0
+	isolate1 gpio_active_bit,temp
+	nsetflag true,6,pdata
+	setflag true,7,pdata
+	branch gpio_write
+
+//temp is gpio number, return true if gpio active
+gpio_get_bit:
+	arg core_gpio_in,contw
+	and temp,0x07,queue
+	rshift3 temp,pdata
+	and_into 3,pdata
+	iadd contw,contw
+	ifetch 1,contw
+	isolate1 gpio_active_bit,temp
+	branch gpio_get_bit_reverse,true
+	qisolate0 pdata
+	rtn
+gpio_get_bit_reverse:
+	qisolate1 pdata
+	rtn
+
+//temp [5:0]=GPIO number, 0-39, [7]=0, low active. set gpio to inactive state
+gpio_out_inactive:
+	sub temp,UI_BUTTON_GPIO_DISABLE,null
+	rtn zero
+	isolate1 gpio_active_bit,null
+	branch gpio_out_flag
+
+gpio_config_output:
+gpio_out_active:
+	sub temp,UI_BUTTON_GPIO_DISABLE,null
+	rtn zero
+	isolate0 gpio_active_bit,null
+
+//temp is gpio number,  [7]=1,set out equa true flag if gpio active
+gpio_out_flag:
+	setarg 0
+	nsetflag true,gpio_active_bit,pdata
+	ixor temp,temp
+
+//temp is gpio number,0-31, [7]=out bit value
+gpio_out:
+	call gpio_addr
+	setarg gpcfg_output_high
+	isolate1 gpio_active_bit,temp
+	setflag true,0,pdata
+	branch gpio_write
+
+//check output status
+gpio_check_active:
+	call gpio_addr
+	ifetch 1,contw
+	bbit1 0,gpio_check_active_high
+	isolate0 gpio_active_bit,temp
+	rtn
+gpio_check_active_high:
+	isolate1 gpio_active_bit,temp
+	rtn
+
+//gpio_set_analog:
+//	call gpio_addr
+//	setarg gpcfg_no_ie
+gpio_write:
+	istore 1,contw
+	rtn
+
+gpio_set_high_impedance:
+	call gpio_addr
+	setarg gpcfg_high_impedance
+	branch gpio_write
+
+gpio_addr:
+	and temp,0x3f,pdata
+	arg core_gpio_conf,contw
+	iadd contw,contw
+	rtn
+
+gpio_config_param:
+	and pdata,0xff,temp
+	rshift8 pdata,pdata
+	branch gpio_config_function_int
+
+//pdata: gpio number bit7=1, temp: function type
+gpio_config_function:
+	rtnbit0 gpio_active_bit
+gpio_config_function_int:
+	and_into 0x3f,pdata
+	arg core_gpio_conf,contw
+	iadd contw,contw
+	istoret 1,contw
+	rtn
+
+//temp:gpio num
+gpio_get_config:
+	and_into 0x3f,temp
+	setarg core_gpio_conf
+	iadd temp,contr
+	ifetch 1,contr
+	rtn
+
+
+//The default as shutter and remote
+gpio_set_before_lpm:
+	arg 20,loopcnt
+	arg core_gpio_conf,contr
+setgpio_loop:
+	copy contr,contw
+	ifetch 1,contr
+	beq gpcfg_qspi_ncs,setgpio_pullup
+	beq gpcfg_qspi_sck,setgpio_pullup
+	beq gpcfg_qspi_io0,setgpio_pullup
+	beq gpcfg_qspi_io1,setgpio_pullup
+	beq gpcfg_qspi_io2,setgpio_pullup
+	beq gpcfg_qspi_io3,setgpio_pullup
+	beq gpcfg_spid_miso,setgpio_pullup
+	beq gpcfg_spid_ncs,setgpio_pullup
+	beq gpcfg_spid_sck,setgpio_pullup
+	beq gpcfg_spid_mosi,setgpio_pullup
+	beq gpcfg_spid_sdio,setgpio_pullup
+	beq gpcfg_iic_scl,setgpio_pullup
+	beq gpcfg_iic_sda,setgpio_pullup
+	beq gpcfg_input,setgpio_pullup
+setgpio_loop_end:
+	loop setgpio_loop
+	rtn
+setgpio_pullup:
+	setarg gpcfg_pullup
+	istore 1,contw
+	branch setgpio_loop_end
+setgpio_pulldown:
+	setarg gpcfg_pulldown
+	istore 1,contw	
+	branch setgpio_loop_end
+
+
+
+
+//mem_adc_config_flag 0:vinlpm 1:Hvin 2: GPIO
+adc_init_data:
+	bpatchx patch26_1,mem_patch26
+adc_init_cal_data:
+	fetch 8,mem_tmp_buffer+EFUSE_OFFSET_ADC
+	branch adc_init_cal_data_default,blank
+	arg mem_tmp_buffer+EFUSE_OFFSET_ADC,contr
+	arg mem_3v_adc_io_data,contw
+	arg 3,loopcnt
+adc_init_cal_data_loop:	
+	ifetch 3,contr	
+	lshift4 pdata,temp
+	istoret 2,contw
+	rshift8 pdata,temp
+	istoret 2,contw
+	loop adc_init_cal_data_loop
+	rtn 
+	
+adc_init_cal_data_default:
+	setarg 0x469a
+	store 2,mem_3v_adc_io_data
+	setarg 0xab77
+	store 2,mem_1v_adc_io_data
+	setarg 0x73d0
+	store 2,mem_3v_adc_vinlpm_data
+	setarg 0x9658
+	store 2,mem_2v_adc_vinlpm_data
+	rtn	
+	
+enable_adc:
+	bpatchx patch26_2,mem_patch26
+	fetchr regb,1,core_rf_ldo_cfg6
+	jam 0x3d,core_rf_ldo_cfg6
+	jam 0xaa,core_rf_ldo_cfg5
+	jam 0x0c,core_rf_ldo_en0
+	fetch 1,core_clkpll_cfg6
+	set1 7,pdata
+	store 1,core_clkpll_cfg6
+	jam 0x04,core_rf_ldo_en1
+	nop 60
+	jam 0,core_syn_en
+	jam 6,core_rx_en0
+	call read_adc_mode
+	store 1,core_gpadc_ctrl
+	jam 0x03,core_sum_ctrl
+	nop 60
+	fetch 1,core_sum_en
+	set1 7,pdata
+	store 1,core_sum_en
+	nop 1000  // 1/24ms
+	fetch 2,core_adc_sum
+	store 2,mem_adc_current_value
+	fetch 1,core_sum_en
+	set0 7,pdata
+	store 1,core_sum_en
+	jam 0,core_gpadc_ctrl
+	storer regb,1,core_rf_ldo_cfg6
+	rtn
+
+	
+read_adc_mode:	
+	fetch 1,mem_adc_config_flag
+	beq ADC_CONFIG_VINLPM,adc_mode_vdcdc
+	beq ADC_CONFIG_HVIN,adc_adc_mode_vbat
+//	beq ADC_CONFIG_GPIO,adc_check_gpio
+adc_check_gpio:
+	fetch 1,mem_adc_channel
+	lshift3 pdata,pdata
+	or pdata,7,pdata
+	rtn
+
+adc_mode_vdcdc:
+	setarg 0x57
+	rtn
+	
+adc_adc_mode_vbat:
+	setarg 0x4f
+	rtn
+
+vdd_calculate_by_mode:
+	bpatchx patch26_3,mem_patch26
+	fetch 1,mem_adc_config_flag
+	beq ADC_CONFIG_VINLPM,vdd_calculate_vinlpm
+	beq ADC_CONFIG_HVIN,vdd_calculate_hvin
+	beq ADC_CONFIG_GPIO,vdd_calculate_io
+	rtn
+
+vdd_calculate_vinlpm:
+	setarg 100
+	store 2,mem_reference_voltage //diff
+	fetcht 2,mem_3v_adc_vinlpm_data
+	fetch 2,mem_2v_adc_vinlpm_data
+	arg 300,regc
+	branch vdd_calculate
+
+vdd_calculate_hvin:
+	setarg 100
+	store 2,mem_reference_voltage //diff
+	fetcht 2,mem_3v_adc_hvin_data
+	fetch 2,mem_2v_adc_hvin_data
+	arg 300,regc
+	branch vdd_calculate
+
+vdd_calculate_io:
+	setarg 200
+	store 2,mem_reference_voltage //diff
+	fetcht 2,mem_3v_adc_io_data
+	fetch 2,mem_1v_adc_io_data
+	arg 300,regc //max vol
+	
+vdd_calculate:
+	isub temp,rega
+	fetch 2,mem_adc_current_value
+	isub temp,pdata
+	nbranch vdd_calculate1,positive
+	fetcht 2,mem_reference_voltage
+	imul32 temp,regb
+	copy regc,pdata
+	imul32 rega,pdata
+	isub regb,pdata
+vdd_calculate2:
+	idiv rega
+	call wait_div_end
+	quotient pdata	
+	rtn
+
+vdd_calculate1:
+	copy temp,pdata
+	fetcht 2,mem_adc_current_value
+	isub temp,pdata
+	fetcht 2,mem_reference_voltage
+	imul32 temp,regb
+	copy regc,pdata
+	imul32 rega,pdata
+	iadd regb,pdata
+	branch vdd_calculate2
+
+
+//out:	pdata->bat percent
+adc_bat_percent_lowpower_out:
+	ifetch 8,rega
+	store 8,mem_pdatatemp
+	fetch 2,mem_pdatatemp
+	fetcht 2,mem_pdatatemp+2
+	isub temp,rega
+	fetch 2,mem_pdatatemp+6
+	isub temp,regb
+	fetcht 2,mem_pdatatemp+4
+	isub temp,null
+	ncall adc_set_low_power_flag,positive
+	mul32 regb,100,pdata
+	idiv rega
+	call wait_div_end
+	quotient pdata
+	call adc_set_no_power_flag,blank
+	rtn
+adc_set_low_power_flag:
+	fetch 1,mem_adc_power_flag
+	set1 0,pdata
+	store 1,mem_adc_power_flag
+	rtn
+
+adc_clear_low_power_flag:
+	fetch 1,mem_adc_power_flag
+	set0 0,pdata
+	store 1,mem_adc_power_flag
+	rtn	
+	
+adc_set_no_power_flag:
+	fetcht 1,mem_adc_power_flag
+	set1 1,temp
+	storet 1,mem_adc_power_flag
+	rtn
+
+adc_clear_no_power_flag:
+	fetcht 1,mem_adc_power_flag
+	set0 1,temp
+	storet 1,mem_adc_power_flag
+	rtn	
+
+
+
+
+keyscan_key_init:
+	fetch 2,mem_key_num_ptr
+	ifetch 1,pdata
+keyscan_key_init_next:
+	rtn blank
+	copy pdata,loopcnt
+//	copy contr,rega
+	fetch 2,mem_keyscan_ptr
+	increase 3,pdata	//mem_key_conf0_pin
+	copy pdata,rega
+keyscan_key_init_lp1:
+	ifetcht 1, rega
+	call gpio_config_input
+	increase KEY_CONF_STRUCT_LEN,rega
+	loop keyscan_key_init_lp1
+keyscan_key_init_end:
+	rtn
+	
+keyscan_scan_key:
+	fetch 2,mem_keyscan_ptr
+	increase 3,pdata	//mem_key_conf0_pin
+	copy pdata,rega
+//	arg mem_key_conf0_pin,rega
+	force 0,regb
+	setarg 0
+	store 2,mem_key_value_temp
+keyscan_scan_key_lp1:
+	ifetcht 1, rega
+	call gpio_get_bit
+	bpatchx patch26_4,mem_patch26
+	fetch 2,mem_key_value_temp
+	copy regb,queue
+	qsetflag true,pdata
+	store 2, mem_key_value_temp
+	increase KEY_CONF_STRUCT_LEN,rega
+	increase 1,regb
+	fetch 2,mem_key_num_ptr
+	ifetch 1,pdata
+keyscan_scan_key_lp1_next:
+	ixor regb,null
+	nbranch keyscan_scan_key_lp1,zero
+	fetch 2,mem_key_value_temp
+	fetcht 2,mem_key_value_retention
+	ixor temp,null
+	rtn zero
+	enable user
+	rtn
+
+keyscan_process_lpm_before:
+	fetch 2,mem_key_num_ptr
+	ifetch 1,pdata
+keyscan_process_lpm_before_next:
+	rtn blank
+	copy pdata,loopcnt
+	fetch 2,mem_keyscan_ptr 
+	increase 3,pdata	//mem_key_conf0_pin
+	copy pdata,rega
+keyscan_process_lpm_before_lp1:
+	ifetcht 1, rega
+	call gpio_set_wake_by_current_state
+	increase KEY_CONF_STRUCT_LEN,rega
+	loop keyscan_process_lpm_before_lp1
+keyscan_process_lpm_before_end:
+	rtn
+
+keyscan_key_process:
+	arg key_scan_timer,queue
+	call timer_check
+	nrtn blank
+	setarg 0x20
+	arg key_scan_timer,queue
+	call timer_init
+	disable user
+	call keyscan_process_lpm_before
+	bpatchx patch26_5,mem_patch26
+	fetch 2,mem_key_num_ptr
+	ifetch 1,pdata
+keyscan_key_process_next:
+	rtn blank
+	call keyscan_scan_key
+	nbranch lpm_button_clean_wake_lock,user
+	call lpm_button_get_wake_lock
+	disable user
+	fetch 2,mem_key_value_temp
+	store 2,mem_key_value_temp4
+	jam 0,mem_key_value_temp6
+	force 0,queue
+keyscan_key_lp1:
+	fetch 2, mem_key_value_retention
+	rshift pdata,temp
+	storet 2,mem_key_value_retention
+	and pdata,0x01,pdata
+	fetcht 2, mem_key_value_temp4
+	and temp,0x01,rega
+	rshift temp,temp
+	storet 2,mem_key_value_temp4
+	ixor rega,null
+	ncall keyscan_send_key_data,zero
+	fetch 2,mem_key_num_ptr
+	ifetch 1,pdata
+keyscan_key_lp1_next:
+	fetcht 1, mem_key_value_temp6
+	increase 1,temp
+	storet 1, mem_key_value_temp6
+	copy temp,queue
+	ixor queue,null
+	nbranch keyscan_key_lp1,zero
+	fetch 2,mem_key_value_temp
+	store 2,mem_key_value_retention
+	rtn
+keyscan_send_key_data:
+	bpatchx patch26_6,mem_patch26
+	fetch 2,mem_keyscan_ptr
+	increase 1,pdata
+	ifetch 2,pdata
+	branch callback_func
+
+
+
+
+//rega:clk select(0:system clk; 1:system clk undivied; 2:lpo)
+pwm_init:
+	fetch 1,core_clksel
+	ior rega,pdata
+	store 1,core_clksel
+	fetch 2,core_clkoff
+	set0 CLOCK_OFF_PWM,pdata
+	store 2,core_clkoff
+delay_nop100:
+	nop 100
+	rtn
+
+pwm_clk_set:
+	fetch 1,core_clksel
+	bbit1 6,pwm_24m_clk_set
+	bbit1 7,pwm_33k_clk_set
+pwm_12m_clk_set:
+	setarg PWM_12MHZ
+	rtn
+pwm_24m_clk_set:
+	setarg PWM_24MHZ
+	rtn
+pwm_33k_clk_set:
+	setarg PWM_33KHZ
+	rtn
+pwm_cont_set:
+	fetch 1,mem_pdatatemp+1
+	bbit1 4,pwm_cont_set1
+	bbit0 4,pwm_cont_set0
+	rtn
+pwm_cont_set1:
+	enable user
+	and pdata,0x0f,queue
+	call pwm_set_value
+	quotient regb
+	copy temp,pdata
+	isub regb,rega
+	rtn
+
+pwm_cont_set0:
+	disable user
+	and pdata,0x0f,queue
+	call pwm_set_value
+	quotient rega
+	copy temp,pdata
+	isub rega,regb
+	rtn
+
+pwm_set_value:
+	fetch 1,core_pwm_init
+   	qsetflag user,pdata
+	store 1,core_pwm_init
+	rtn
+
+pwm_out_set:
+	fetcht 3,mem_pdatatemp+2
+	call pwm_clk_set
+	idiv temp
+	call wait_div_end
+	quotient temp
+	fetch 1,mem_pdatatemp+5
+	imul32 temp,pdata
+	div pdata,100
+	call wait_div_end
+	call pwm_cont_set
+	fetch 1,mem_pdatatemp+1
+	call pwm_duty_cycle_set
+	fetch 1,mem_pdatatemp
+	fetcht 1,mem_pdatatemp+1
+	and_into 0x0f,temp
+	lshift8 temp,temp
+	ior temp,pdata
+	branch pwm_enable
+
+//rega:pcnt ;regb:ncnt ;pdata:pwm channel select
+pwm_duty_cycle_set:
+	and_into 0x0f,pdata
+	arg core_pwm_pcnt0,contw
+	mul32 pdata,4,pdata
+	iadd contw,contw
+	copy rega,pdata
+	istore 2,contw
+	copy regb,pdata
+	istore 2,contw
+	rtn
+
+
+//pdata:gpio select & pwm channel select
+pwm_enable:
+	enable user
+	call pwm_srst_set
+	branch pwm_gpio_set
+pwm_disable:
+	disable user
+	call pwm_select_channel
+pwm_gpio_set:
+	copy temp,pdata
+	lshift8 pdata,pdata
+	add queue,gpcfg_pwm_out0,temp
+	ior temp,pdata
+	call gpio_config_param
+pwm_set_select:
+	fetch 1,core_pwm_en
+	jam 0x00,core_pwm_en
+	nop 1200
+   	qsetflag user,pdata
+   	store 1,core_pwm_en
+	rtn
+pwm_select_channel:
+	copy pdata,temp
+	rshift8 pdata,pdata
+	copy pdata,queue
+	rtn
+	
+//pwm immediately stop set
+pwm_srst_powerdown:
+	disable user
+pwm_srst_set:
+	call pwm_select_channel
+	fetch 1,core_pwm_srst
+   	nqsetflag user,pdata
+   	store 1,core_pwm_srst
+	branch pwm_gpio_set
+
+
+
+
+wdt_init_config:
+	arg 0x2710,temp
+	imul32 temp,pdata
+	arg 0x1312d,temp
+	idiv temp
+	call wait_div_end
+	quotient temp
+	setarg 2048
+	isub temp,pdata
+	copy pdata,temp
+	and_into 0x0f,temp
+	storet 1,core_write_wdt2
+	copy pdata,temp
+	rshift4 temp,temp
+	storet 1,core_write_wdt
+	rtn
+
+wdt_set_enable:
+	enable user2
+	branch wdt_init_set
+wdt_set_disable:
+	disable user2
+wdt_init_set:
+	fetch 1,core_config
+   	setflag user2,3,pdata
+	store 1,core_config
+	rtn
+
+
+
+nec61212_init:
+	arg FUN_NEC_ENABLE|FUN_NEC_CLK_DIVIDE_24,temp
+	
+
+nec_init_config:
+	store 4,core_nec_start_addr
+	store 2,core_nec_rptr
+	storet 1,core_nec_control
+	rtn
+
+//return:pdata is buffer size
+nec_check_rxbuff_size:
+	fetch 2,core_nec_rxitem
+	rtn
+
+nec_prepare_read:
+	fetchr contu,2,core_nec_rptr
+	fetchr contus,2,core_nec_start_addr
+	fetchr contue,2,core_nec_end_addr
+	rtn
+
+nec_read_done:
+	storer contu,2,core_nec_rptr
+	rtn
+
+//regc is callback function
+//output
+//user is disable mean data stop
+//rege is 0 mean repeat
+//rege is no zero mean data
+nec_parse_nec61212:
+	call enable_user
+	arg 0,rege
+	call nec_check_rxbuff_size
+	beq 2,nec_parse_nec61212_check_timeout
+	sub pdata,4,null
+	rtn positive
+	call nec_prepare_read
+	ifetcht 2,contu
+	setarg NEC61212_DATA2REPEAT_TIME
+	call nec_check_pulse_range_legal_default_deviation
+	nbranch nec_parse_nec61212_check_repeat_data,positive
+	copy regd,temp
+	setarg NEC61212_REPEAT2REPEAT_TIME
+	call nec_check_pulse_range_legal_default_deviation
+	nbranch nec_parse_nec61212_check_repeat_data,positive
+	
+	copy regd,temp
+	setarg NEC61212_BOOT_CODE_START_TIME
+	call nec_check_pulse_range_legal_default_deviation
+	branch nec_parse_nec61212_error_data,positive
+	ifetcht 2,contu
+	setarg NEC61212_BOOT_CODE_END_TIME
+	call nec_check_pulse_range_legal_default_deviation
+	branch nec_parse_nec61212_error_data,positive
+	call nec_check_rxbuff_size
+	sub pdata,133,null
+	rtn positive
+	arg 32,loopcnt
+nec_parse_nec61212_data:
+	ifetcht 2,contu
+	setarg NEC61212_DATA_BIT_1_START_TIME
+	call nec_check_pulse_range_legal_default_deviation
+	branch nec_parse_nec61212_error_data,positive
+	ifetcht 2,contu
+	setarg NEC61212_DATA_BIT_1_END_TIME
+	call nec_check_pulse_range_legal_default_deviation
+	nbranch nec_parse_nec61212_add_bit1,positive
+	copy regd,temp
+	setarg NEC61212_DATA_BIT_0_END_TIME
+	call nec_check_pulse_range_legal_default_deviation
+	nbranch nec_parse_nec61212_add_bit0,positive
+
+
+nec_parse_nec61212_error_data:
+	copy regd,temp
+	setarg NEC61212_TIMEOUT_TIME
+	isub temp,null
+	branch nec_parse_nec61212_check_timeout_cb,zero
+	branch nec_read_done
+
+nec_parse_nec61212_add_bit1:
+	set1 32,rege
+nec_parse_nec61212_add_bit0:
+	rshift rege,rege
+	loop nec_parse_nec61212_data
+	branch nec_parse_nec61212_check_stop_bit
+
+nec_parse_nec61212_check_repeat_data:
+	call nec_check_rxbuff_size
+	sub pdata,7,null
+	rtn positive
+	ifetcht 2,contu
+	setarg NEC61212_REPEAT_START_TIME
+	call nec_check_pulse_range_legal_default_deviation
+	branch nec_parse_nec61212_error_data,positive
+	ifetcht 2,contu
+	setarg NEC61212_REPEAT_END_TIME
+	call nec_check_pulse_range_legal_default_deviation
+	branch nec_parse_nec61212_error_data,positive
+nec_parse_nec61212_check_stop_bit:
+	ifetcht 2,contu
+	setarg NEC61212_STOP_TIME
+	call nec_check_pulse_range_legal_default_deviation
+	branch nec_parse_nec61212_error_data,positive
+	call nec_read_done
+	copy regc,pdata
+	branch callback_func
+
+nec_parse_nec61212_check_timeout:
+	call nec_prepare_read
+	ifetcht 2,contu
+	setarg NEC61212_TIMEOUT_TIME
+	isub temp,null
+	nrtn zero
+nec_parse_nec61212_check_timeout_cb:
+	call nec_read_done
+	call disable_user
+	copy regc,pdata
+	branch callback_func
+
+
+
+//检查数据是否合法，宽度范围
+//输入:temp 当前实际检查到的时间 2us为单位
+//pdata 理论时间，us为单位
+nec_check_pulse_range_legal_default_deviation:
+	fetchr regb,1,mem_nec_decode_error_value
+
+//检查数据是否合法，宽度范围
+//输入:temp 当前实际检查到的时间 2us为单位
+//pdata 理论时间，us为单位
+//regb允许偏差值，百分比
+// |temp-pdata| / pdata < regb
+//输出:positive is 1 mean error
+//0 mean true
+nec_check_pulse_range_legal:
+	copy temp,regd
+	imul32 regb,regb		//换算成实际偏差
+	lshift temp,temp		//时间单位换算成us
+	isub temp,rega
+	ncall nec_check_pulse_range_legal_data_negative,positive
+	mul32 rega,100,pdata
+	isub regb,null
+	rtn
+
+nec_check_pulse_range_legal_data_negative:
+	sub rega,0,rega
+	rtn
+
+
+
+select_system_clk_24M:
+	jam SYSTEM_CLK_24M,mem_system_clk
+	jam clksel_dpll_24M,core_clksel
+	setarg 7499
+	store 2,core_halfslot
+calc_new_param:
+	arg 11,loopcnt
+	arg mem_param_tx_setup,rega
+calc_new_param_loop:
+	ifetch 2,rega
+	lshift pdata,pdata
+	istore 2,rega
+	increase 2,rega
+	loop calc_new_param_loop
+	rtn
+
+calc_new_le_time:
+	lshift stop_watch,stop_watch
+	rtn
+
+select_system_clk_12M_xtal:
+	jam clksel_xtal,core_clksel
+select_system_clk_12M_common:
+	jam SYSTEM_CLK_12M,mem_system_clk
+	setarg 3749
+	store 2,core_halfslot
+	rtn
+
+select_system_clk_12M_dpll:
+	jam clksel_dpll,core_clksel
+	branch select_system_clk_12M_common
+	
+
+
+	
+
+
+
+
+rfcomm_init:
+	rtn wake
+	jam 0,mem_rfcomm_send_more_pkt
+	jam BITS9600,memRemoteRPNBitRate        
+	jam DATABITS8,memRemotePRNDataBits      
+	jam 0x11,memRemotePRNXon
+	jam 0x13,memRemotePRNXoff
+	setarg 0
+	store 3,memRemotePRNStopBit
+	store 1,mem_spp_state                  
+	jam 0,memui_reconnect_mode
+	//branch rfcomm_init_spp
+rfcomm_init_spp:
+	setarg 0
+	store 1,mem_spp_state
+	store 1,mem_remote_spp_channel
+	store 1,mem_pn_dlci
+	fetch 1,mem_rfcomm_credit_flag
+	beq CREDIT_ENABLE,rfcomm_init_spp_with_credit
+	jam 0x50,mem_credit_given
+	rtn
+
+rfcomm_init_spp_with_credit:
+	jam 0x00,mem_credit_given
+	rtn
+
+set_CR_bit:
+	or_into 0x02,temp
+	rtn
+
+
+
+
+
+
+
+
+	
+	
+	
+rfcomm_calculate_FCS_sabm:
+	copy temp,pdata
+	reverse pdata,pdata //address
+	store 1,memFCStemp3
+	force INI_TX_SABM,pdata
+	reverse pdata,pdata
+	store 1,memFCStemp2
+	force 0x01,pdata                        
+	reverse pdata,pdata
+	store 1,memFCStemp1
+	call caculate_fcs
+	copy temp,pdata                        
+	rtn
+rfcomm_calculate_FCS_ua:
+	reverse pdata,pdata //address
+	store 1,memFCStemp3
+	force   RSP_TX_UA, pdata
+	reverse pdata, pdata
+	store   1, memFCStemp2
+	force   0x01, pdata
+	reverse pdata, pdata
+	store   1, memFCStemp1
+	branch caculate_fcs
+	
+rfcomm_calculate_FCS_dlci0:
+	fetch 1,mem_rfcomm_initiator
+	branch rfcomm_calculate_FCS_dlci0_res,blank
+	setarg 0x70 //FCS of initiator
+	rtn
+rfcomm_calculate_FCS_dlci0_res:
+	setarg 0xaa//FCS of responder
+	rtn
+	
+rfcomm_save_FCS_uih:
+	reverse pdata, pdata //address 
+	store 1,memFCStemp3                     
+	force RSP_RX_UIH,pdata 
+	call caculate_UIHdata_fcs
+	fetcht 2,mem_contw_temp
+	copy temp,contw
+	istore 1,contw                      
+	copy contw,temp
+	storet 2,mem_contw_temp
+	force RSP_RX_UIH_WDATA,pdata             
+	call caculate_UIHdata_fcs
+	fetcht 2,mem_contw_temp
+	copy temp,contw
+	istore 1,contw             
+	rtn	
+
+
+
+
+
+
+
+  
+caculate_UIHdata_fcs:
+	reverse pdata,pdata
+	store   1,memFCStemp2
+	fetch   2, memFCStemp2                     
+	lshift8 pdata,pdata
+	store 3,mem_mod2div_temp
+	arg     0x107,rega
+	arg 0xf,regb
+	call mod2div
+	xor_into     0xd7, pdata
+	invert  pdata,pdata
+	reverse pdata,pdata
+	rtn
+	
+
+
+
+  
+
+
+
+     
+caculate_fcs:
+	fetch 3, memFCStemp1                    
+	store 3,mem_mod2div_temp
+	arg 0x107,rega
+	arg 0xf,regb  //24bit(memFCStemp1+..+memFCStemp3) - 9bit(rega) = 15bit
+	call mod2div
+	lshift8 pdata,pdata 
+	arg 0x7, regb  //16bit(lshift8 pdata,pdata ) - 9bit(rega) = 7bit
+	call mod2div
+	xor_into     0x2b, pdata		//0x3d
+	invert  pdata, pdata                        
+	reverse pdata, pdata                      
+	copy    pdata, temp
+	rtn
+
+mod2div:
+	arg 0,regc
+	copy regb,loopcnt
+	call right_shift_n // right shift pdata (regB)bit
+	icopy temp
+mod2div_loop:
+	//jam 1,0x1fff
+//mod2div_loop1:
+	//fetch 1,0x1fff
+	//nbranch mod2div_loop1,blank
+	copy temp,pdata
+	lshift regc,regc//quotient
+	bbit0 8, mod2div_not_enough_reduction//the high bit of 0x107
+	ixor rega,temp// temp----remainer
+	increase 1,regc// quotient
+mod2div_not_enough_reduction: //Minuend smaller than Subtrahend
+	lshift temp,temp
+	fetch 3,mem_mod2div_temp
+	increase -1,regb
+	compare 0xff,regb,0xff
+	branch mod2div_end,true
+	copy regb,loopcnt
+	call right_shift_n // right shift pdata (regb)bit
+	isolate1 0,pdata
+	setflag true,0,temp //move a new bit from Dividend(queue) into Minuend(pdata)
+	branch mod2div_loop
+mod2div_end:
+	//output:remainer in pdata
+	rshift  temp,pdata
+	rtn
+
+get_rfcomm_snd_adss:
+	fetcht 1,mem_pn_dlci
+dlci_to_address_cmd:
+	//input DLCI from temp
+	lshift2 temp,temp
+	set1 RFCOMM_ADDRESS_EXT_LEN,temp
+	fetch 1,mem_rfcomm_initiator
+	ncall set_CR_bit,blank
+	storet 1,mem_rfcomm_send_adss
+	rtn
+
+channel_to_dlci:
+	//input channel from temp
+	lshift temp,temp
+	fetch 1,mem_rfcomm_initiator
+	setflag blank,0,temp //direction in dlci
+	//output dlci to temp
+	rtn
+rfcomm_rx_process_DLCI0_sabm:
+	fetcht 1,mem_current_channel //address
+	jam 0xd7,mem_current_fcs //FCS
+	call rfcomm_send_ua
+	fetch 1,mem_rfcomm_state
+	set1 L2CAP_CHANNEL_RFCOMM_ONLY_SABM,pdata
+	set1 L2CAP_CHANNEL_RFCOMM_ONLY_UA,pdata
+	store 1,mem_rfcomm_state
+	jam 0,mem_rfcomm_initiator
+	branch rfcomm_rx_process_end
+rfcomm_rx_process_DLCI0_ua:
+	fetch 1,mem_rfcomm_state
+	set1 L2CAP_CHANNEL_RFCOMM_ONLY_UA,pdata
+	store 1,mem_rfcomm_state
+	branch rfcomm_rx_process_end
+
+	
+rfcomm_rx_process:
+	bpatchx patch26_7,mem_patch26
+	fetch 1,memui_reconnect_mode
+	beq NO_RECONNECTION,rfcomm_rx_process_remote_page
+	branch rfcomm_rx_process_reconn
+
+rfcomm_rx_process_remote_page:
+	fetch 2,mem_l2cap_payload_ptr
+	copy pdata,contr
+	call get_rfcomm_head_struct
+	fetch 1,mem_current_channel
+	beq 0,parse_dlci0_rp
+	branch parse_uih_rp
+parse_dlci0_rp:
+	bpatchx patch27_0,mem_patch27
+	fetch 1,mem_current_frame_type
+	beq RFCOMM_FRAME_TYPE_SABM,rfcomm_rx_process_DLCI0_sabm
+	beq RFCOMM_FRAME_TYPE_UA,rfcomm_rx_process_DLCI0_ua
+	beq RFCOMM_FRAME_TYPE_UIH,parse_DLCI0_rp_uih
+	beq RFCOMM_FRAME_TYPE_DISCONN,parse_uih_rp_spp_disconn_send_event
+	rtn
+
+
+parse_DLCI0_rp_uih:
+	fetch 2,mem_rfcomm_uih_payload_ptr
+	copy pdata,contr
+	call get_rfcomm_uih_head_struct
+	fetch 1,mem_uih_cmd_type
+	beq UIH_PARAM_NEG_CMD,parse_DLCI0_rp_uih_pn_cmd
+	beq UIH_PARAM_NEG_RES,parse_DLCI0_rp_uih_pn_res
+	beq UIH_MODEM_STATUS_CMD,parse_DLCI0_rp_uih_ms_cmd
+	beq UIH_MODEM_STATUS_RES,parse_DLCI0_rp_uih_ms_res
+	beq UIH_PARAM_CMD_REMOVE_PORT,parse_DLCI0_rp_uih_cmd_port	
+	branch rfcomm_rx_process_end
+	
+parse_DLCI0_rp_uih_pn_cmd:
+	call parse_DLCI0_rp_uih_pn_res_common
+
+	branch parse_DLCI0_rp_uih_pn_cmd_spp
+
+parse_DLCI0_rp_uih_pn_cmd_spp:
+	fetch 1,mem_spp_state
+	set1 RFCOMM_CHANNEL_STATE_PN_CMD,pdata
+	set1 RFCOMM_CHANNEL_STATE_PN_RES,pdata
+	store 1,mem_spp_state
+	call rfcomm_send_param_neg_res
+	branch rfcomm_rx_process_end
+	
+parse_DLCI0_rp_uih_pn_res:
+	call parse_DLCI0_rp_uih_pn_res_common
+	branch rfcomm_rx_process_end
+
+parse_DLCI0_rp_uih_pn_res_common:
+	call get_param_payload_ptr
+	branch  get_rfcomm_prarmer_negotiation
+
+get_rfcomm_param_modem_status:
+	call get_param_payload_ptr
+	ifetch 1,contr
+	rshift3 pdata,pdata
+	store 1,mem_ms_channel
+	ifetch 1,contr
+	store 1,mem_ms_param
+	rtn
+
+
+get_rfcomm_head_struct:
+	ifetch 1,contr
+	store 1,mem_current_adss
+	rshift3 pdata,pdata
+	store 1,mem_current_channel
+	ifetch 1,contr
+	store 1,mem_current_frame_type
+get_rfcomm_current_length:
+	call get_rfcomm_length_common
+	storet 2,mem_current_length
+	copy contr,pdata
+	store 2,mem_rfcomm_uih_payload_ptr
+	rtn
+
+get_rfcomm_uih_head_struct:
+	ifetch 1,contr
+	rshift pdata,pdata
+	store 1,mem_uih_cmd_type
+	call get_rfcomm_length_common
+	storet 2,mem_uih_length
+	copy contr,pdata
+	store 2,mem_param_payload_ptr
+	rtn
+
+
+get_param_payload_ptr:
+	fetch 2,mem_param_payload_ptr
+	copy pdata,contr
+	rtn
+
+get_rfcomm_length_common:
+	ifetch 1,contr
+	copy pdata,temp
+	rshift temp,temp
+	rtnbit1 0
+	ifetch 1,contr
+	lshift3 pdata,pdata
+	lshift4 pdata,pdata
+	iadd temp,temp
+	rtn
+
+get_rfcomm_prarmer_negotiation:
+	ifetch 1,contr
+	store 1,mem_pn_dlci
+	ifetch 1,contr
+	store 1,mem_pn_credit_flow_type_info
+	ifetch 1,contr
+	store 1,mem_pn_priority
+	ifetch 1,contr
+	store 1,mem_pn_acknowledg_timer
+	ifetch 2,contr
+	store 2,mem_pn_max_frame_size
+	ifetch 1,contr
+	store 1,mem_pn_max_retrans
+	ifetch 1,contr
+	store 1,mem_remote_credits
+	rtn
+
+
+parse_DLCI0_rp_uih_ms_cmd:
+	call get_rfcomm_param_modem_status
+
+	branch parse_DLCI0_rp_uih_ms_cmd_spp
+
+parse_DLCI0_rp_uih_ms_cmd_spp:
+	fetch 1,mem_spp_state
+	set1 RFCOMM_CHANNEL_STATE_RCV_MS_CMD,pdata
+	set1 RFCOMM_CHANNEL_STATE_SND_MS_RES,pdata
+	store 1,mem_spp_state
+	fetcht 1,mem_pn_dlci
+	lshift2 temp,temp
+	or_into 3,temp
+	call rfcomm_send_modem_status_res
+	jam MORE_PKT_MSC_CMD_SPP,mem_rfcomm_send_more_pkt
+	branch rfcomm_rx_process_end
+	
+parse_DLCI0_rp_uih_ms_res:
+	jam BT_EVT_SPP_CONNECTED,mem_fifo_temp
+	call ui_ipc_send_event
+	call get_rfcomm_param_modem_status
+	fetch 1,mem_ms_channel
+	sub pdata,1,null
+	branch parse_DLCI0_rp_uih_MS_RES_spp,zero
+	branch assert
+parse_DLCI0_rp_uih_ms_res_spp:
+	fetch 1,mem_spp_state
+	set1 RFCOMM_CHANNEL_STATE_RCV_MS_RES,pdata
+	store 1,mem_spp_state
+	branch rfcomm_rx_process_end
+
+parse_DLCI0_rp_uih_cmd_port:
+	call get_param_payload_ptr
+	ifetch 1,contr
+	store 1,mem_rpn_dlci
+	call l2cap_malloc_rfcomm_channel
+	call l2cap_get_rfcomm_tx_buff
+	setarg 0x000e
+	istore 2,contw //l2cap len
+	fetch 2,mem_rfcomm_remote_cid
+	istore 2,contw//cid
+	fetch 1,mem_rfcomm_initiator
+	//setarg 5
+	lshift pdata,pdata
+	set1 0,pdata //ext len
+	istore 1,contw //DLCI0 address
+	bpatchx patch27_1,mem_patch27
+	setarg 0x15ef
+	istore 2,contw
+	setarg 0x1191
+	istore 2,contw
+	//fetch 1,mem_pn_dlci
+	//setarg 0x0b
+	fetch 1,mem_rpn_dlci
+	istore 1,contw //DLCI
+	setarg 0x000007
+	istore 5,contw
+//	setarg 0 //max frame size
+//	istore 2,contw 
+	setarg 0x01 //max retrans
+	istore 2,contw
+//	setarg 0x00
+//	istore 1,contw // init credits
+	call rfcomm_calculate_FCS_dlci0
+	istore 1,contw
+	rtn
+
+
+
+parse_uih_rp:
+	branch parse_uih_rp_spp
+
+parse_uih_rp_spp:
+	bpatchx patch27_2,mem_patch27
+	fetch 1,mem_current_frame_type
+	beq RFCOMM_FRAME_TYPE_UA,parse_uih_rp_spp_ua
+	beq RFCOMM_FRAME_TYPE_SABM,parse_uih_rp_spp_sabm
+	beq RFCOMM_FRAME_TYPE_UIH,parse_uih_spp_uih
+	beq RFCOMM_FRAME_TYPE_UIH_CREDITS,parse_uih_spp_uih_credits
+	beq RFCOMM_FRAME_TYPE_DISCONN,parse_uih_rp_spp_disconn
+	rtn
+parse_uih_rp_spp_ua:
+	fetch 1,mem_spp_state
+	set1 RFCOMM_CHANNEL_STATE_UA,pdata
+	store 1,mem_spp_state
+	branch rfcomm_rx_process_end
+parse_uih_rp_spp_sabm:
+	fetch 1,mem_spp_state
+	set1 RFCOMM_CHANNEL_STATE_UA,pdata
+	set1 RFCOMM_CHANNEL_STATE_SABM,pdata
+	store 1,mem_spp_state
+	fetch 1,mem_current_adss
+	call rfcomm_calculate_FCS_ua
+	store 1,mem_current_fcs
+	call rfcomm_send_ua
+	fetch 1,mem_current_adss
+	rshift2 pdata,pdata
+	store 1,mem_pn_dlci
+	lshift2 pdata,pdata
+	set0 RFCOMM_ADDRESS_CR,pdata
+	set1 RFCOMM_ADDRESS_EXT_LEN,pdata 
+	arg mem_HIUfcs_spp,temp // mem_HIUfcs_HF_WCredits in regb++
+	storet 2,mem_contw_temp
+	call rfcomm_save_FCS_uih
+	branch rfcomm_rx_process_end
+	
+parse_uih_spp_uih_credits:
+	fetch 2,mem_rfcomm_uih_payload_ptr
+	copy pdata,contr
+	increase 1,pdata
+	store 2,mem_rfcomm_uih_payload_ptr
+	ifetch 1,contr //remote credits
+	fetcht 1,mem_remote_credits
+	iadd temp,pdata
+	store 1,mem_remote_credits
+parse_uih_spp_uih:
+	call rfcomm_increase_credit_given
+parse_uih_spp_uih_cont:
+	call get_rfcomm_snd_adss
+	call rfcomm_send_uih_without_payload
+	call spp_process_rx_data
+	branch rfcomm_rx_process_end
+
+parse_uih_rp_spp_disconn_send_event:
+	jam BT_EVT_SPP_DISCONNECTED,mem_fifo_temp
+	call ui_ipc_send_event	
+parse_uih_rp_spp_disconn:
+	call rfcomm_init_spp
+	fetch 1,mem_current_adss
+	call rfcomm_calculate_FCS_ua
+	store 1,mem_current_fcs
+	call rfcomm_send_ua
+	branch rfcomm_rx_process_end
+	
+///////////////////////////////////////////
+///////////////////////////////////////////
+///////////////////////////////////////////
+rfcomm_rx_process_reconn:
+	fetch 2,mem_l2cap_payload_ptr
+	copy pdata,contr
+	call get_rfcomm_head_struct
+	fetch 1,mem_current_channel
+	beq 0,parse_DLCI0_reconn
+	branch parse_uih_reconn
+		
+parse_DLCI0_reconn:
+	bpatchx patch27_3,mem_patch27
+	fetch 1,mem_current_frame_type
+	beq RFCOMM_FRAME_TYPE_SABM,rfcomm_rx_process_DLCI0_sabm
+	beq RFCOMM_FRAME_TYPE_UA,rfcomm_rx_process_DLCI0_ua
+	beq RFCOMM_FRAME_TYPE_UIH,parse_DLCI0_reconn_uih
+	branch rfcomm_rx_process_end
+parse_DLCI0_reconn_uih:
+	fetch 2,mem_rfcomm_uih_payload_ptr
+	copy pdata,contr
+	call get_rfcomm_uih_head_struct
+	fetch 1,mem_uih_cmd_type
+	beq UIH_PARAM_NEG_CMD,parse_DLCI0_reconn_uih_pn_cmd
+	beq UIH_PARAM_NEG_RES,parse_DLCI0_reconn_uih_pn_cmd
+	beq UIH_MODEM_STATUS_CMD,parse_DLCI0_reconn_uih_ms_cmd
+	beq UIH_MODEM_STATUS_RES,parse_DLCI0_reconn_uih_ms_res
+	branch rfcomm_rx_process_end
+
+parse_DLCI0_reconn_uih_pn_cmd:
+	call parse_DLCI0_rp_uih_pn_res_common
+	fetch 1,mem_pn_dlci
+	rshift pdata,pdata
+	fetcht 1,mem_remote_spp_channel
+	isub temp,null
+	branch parse_DLCI0_reconn_uih_pn_cmd_spp,zero
+	branch assert
+parse_DLCI0_reconn_uih_pn_cmd_spp:
+	fetch 1,mem_spp_state
+	set1 RFCOMM_CHANNEL_STATE_PN_RES,pdata
+	store 1,mem_spp_state
+	branch rfcomm_rx_process_end
+
+parse_DLCI0_reconn_uih_ms_cmd:
+	call get_rfcomm_param_modem_status
+	fetch 1,mem_ms_channel
+	fetcht 1,mem_remote_spp_channel
+	isub temp,null
+	branch parse_DLCI0_reconn_uih_ms_cmd_spp,zero
+	branch assert
+	branch rfcomm_rx_process_end
+parse_DLCI0_reconn_uih_ms_cmd_spp:
+	fetch 1,mem_spp_state
+	set1 RFCOMM_CHANNEL_STATE_RCV_MS_CMD,pdata
+	set1 RFCOMM_CHANNEL_STATE_SND_MS_RES,pdata
+	store 1,mem_spp_state
+	fetcht 1,mem_pn_dlci
+	lshift2 temp,temp
+	or_into 3,temp
+	call rfcomm_send_modem_status_res
+	branch rfcomm_rx_process_end
+	
+parse_DLCI0_reconn_uih_ms_res:
+	call get_rfcomm_param_modem_status
+	fetch 1,mem_ms_channel
+	fetcht 1,mem_remote_spp_channel
+	isub temp,null
+	branch parse_DLCI0_reconn_uih_ms_res_spp,zero
+	branch assert
+parse_DLCI0_reconn_uih_ms_res_spp:
+	fetch 1,mem_spp_state
+	set1 RFCOMM_CHANNEL_STATE_RCV_MS_RES,pdata
+	store 1,mem_spp_state
+	branch rfcomm_rx_process_end
+
+parse_uih_reconn:
+	fetch 1,mem_current_channel
+	fetcht 1,mem_remote_spp_channel
+	isub temp,null
+	branch parse_uih_reconn_spp,zero
+	branch assert
+	branch rfcomm_rx_process_end
+
+parse_uih_reconn_spp:
+	fetch 1,mem_current_frame_type
+	beq RFCOMM_FRAME_TYPE_UA,parse_uih_reconn_spp_ua
+	beq RFCOMM_FRAME_TYPE_UIH,parse_uih_spp_uih
+	beq RFCOMM_FRAME_TYPE_UIH_CREDITS,parse_uih_spp_uih_credits
+	beq RFCOMM_FRAME_TYPE_DISCONN,parse_uih_reconn_spp_disconn
+parse_uih_reconn_spp_ua:
+	fetch 1,mem_spp_state
+	set1 RFCOMM_CHANNEL_STATE_UA,pdata
+	store 1,mem_spp_state
+	branch rfcomm_rx_process_end
+parse_uih_reconn_spp_sabm:
+	branch parse_uih_reconn_spp_sabm//loop
+parse_uih_reconn_spp_disconn:
+	branch parse_uih_rp_spp_disconn
+rfcomm_rx_process_end:
+	rtn
+	
+rfcomm_send_more_pkt:
+	fetch 1,mem_rfcomm_send_more_pkt
+	rtn blank
+	beq MORE_PKT_MSC_CMD_SPP,rfcomm_send_more_pkt_msc_cmd_spp
+	branch assert
+	
+rfcomm_send_more_pkt_msc_cmd_spp:
+	jam 0,mem_rfcomm_send_more_pkt
+	call l2cap_malloc_rfcomm_channel
+	arg SPP_SLAVE_CHANNEL,temp
+	fetcht 1,mem_pn_dlci
+	lshift2 temp,temp
+rfcomm_send_more_pkt_msc_cmd_spp0:
+	or_into 0x03,temp
+	arg 0xaa,rega
+	call rfcomm_send_modem_status_cmd
+	call l2cap_get_rfcomm_tx_buff
+	copy contw,contr
+	ifetch 2, contr
+	branch assert,blank
+	rtn
+
+rfcomm_send_sabm:
+	call l2cap_get_rfcomm_tx_buff
+	setarg 0x0004
+	istore 2,contw //l2cap len
+	fetch 2,mem_rfcomm_remote_cid
+	istore 2,contw//cid
+	fetch 1,mem_current_adss
+	istore 1,contw //address
+	bpatchx patch27_4,mem_patch27
+	setarg 0x013f
+	istore 2,contw
+	fetch 1,mem_current_fcs
+	istore 1,contw
+	rtn
+rfcomm_send_ua:
+	call l2cap_malloc_rfcomm_channel
+	call l2cap_get_rfcomm_tx_buff
+	setarg 0x0004
+	istore 2,contw //l2cap len
+	fetch 2,mem_rfcomm_remote_cid
+	istore 2,contw//cid
+	fetch 1,mem_current_adss
+	istore 1,contw //address
+	bpatchx patch27_5,mem_patch27
+	setarg 0x0173
+	istore 2,contw
+	fetch 1,mem_current_fcs
+	istore 1,contw
+	rtn
+rfcomm_send_param_neg_cmd:
+	call l2cap_get_rfcomm_tx_buff
+	setarg 0x000e
+	istore 2,contw //l2cap len
+	fetch 2,mem_rfcomm_remote_cid
+	istore 2,contw//cid
+	fetch 1,mem_rfcomm_initiator
+	lshift pdata,pdata
+	set1 0,pdata //ext len
+	istore 1,contw //DLCI0 address
+	bpatchx patch27_6,mem_patch27
+	setarg 0x15ef
+	istore 2,contw
+	setarg 0x1183
+	istore 2,contw
+	copy temp,pdata //DLCI in temp
+	istore 1,contw
+	setarg 0x0000f0
+	istore 3,contw
+	setarg RFCOMM_MAX_FRAME_SIZE
+	istore 2,contw
+	setarg 0
+	istore 1,contw
+	setarg 0x01		//change here later
+	istore 1,contw
+	call rfcomm_calculate_FCS_dlci0
+	istore 1,contw
+	jam 0x10,mem_credit_given
+	rtn
+rfcomm_send_param_neg_res:
+	call l2cap_malloc_rfcomm_channel
+	call l2cap_get_rfcomm_tx_buff
+	setarg 0x000e
+	istore 2,contw //l2cap len
+	fetch 2,mem_rfcomm_remote_cid
+	istore 2,contw//cid
+	fetch 1,mem_rfcomm_initiator
+	lshift pdata,pdata
+	set1 0,pdata //ext len
+	istore 1,contw //DLCI0 address
+	bpatchx patch27_7,mem_patch27
+	setarg 0x15ef
+	istore 2,contw
+	setarg 0x1181
+	istore 2,contw
+	fetch 1,mem_pn_dlci
+	istore 1,contw //DLCI
+	setarg 0x0000e0
+	istore 3,contw
+	fetch 2,mem_rfcomm_max_frame_size
+	istore 2,contw 
+	setarg 0x00 //max retrans
+	istore 1,contw
+	fetch 1,mem_rfcomm_credit_init_data
+	istore 1,contw // init credits
+	call rfcomm_calculate_FCS_dlci0
+	istore 1,contw
+	rtn
+rfcomm_send_modem_status_cmd:
+	call l2cap_get_rfcomm_tx_buff
+	setarg 0x0008
+	istore 2,contw //l2cap len
+	fetch 2,mem_rfcomm_remote_cid
+	istore 2,contw//cid
+	fetch 1,mem_rfcomm_initiator
+	lshift pdata,pdata
+	set1 0,pdata //ext len
+	istore 1,contw //DLCI0 address
+	bpatchx patch28_0,mem_patch28
+	setarg 0x09ef
+	istore 2,contw
+	setarg 0x05e3
+	istore 2,contw
+	copy temp,pdata //DLCI adress
+	istore 1,contw
+	setarg 0x8d
+	istore 1,contw
+	call rfcomm_calculate_FCS_dlci0
+	istore 1,contw
+	rtn
+
+rfcomm_send_modem_status_res:
+	call l2cap_malloc_rfcomm_channel
+	call l2cap_get_rfcomm_tx_buff
+	setarg 0x0008
+	istore 2,contw //l2cap len
+	fetch 2,mem_rfcomm_remote_cid
+	istore 2,contw//cid
+	copy temp,timeup
+	fetch 1,mem_rfcomm_initiator
+	lshift pdata,pdata
+	set1 0,pdata //ext len
+	istore 1,contw //DLCI0 address
+	bpatchx patch28_1,mem_patch28
+	setarg 0x09ef
+	istore 2,contw
+	setarg 0x05e1
+	istore 2,contw
+	copy timeup,pdata //DLCI address in temp
+	istore 1,contw
+	setarg 0x8d
+	istore 1,contw
+	call rfcomm_calculate_FCS_dlci0
+	istore 1,contw
+	rtn
+
+rfcomm_send_uih_without_payload:
+	bpatchx patch28_2,mem_patch28
+	fetch 1,mem_credit_given
+	rtn blank
+	fetch 2,core_uart_rxitems
+	nrtn blank
+	copy rega,pdata
+	store 1,mem_pdatatemp+1
+	storet 1,mem_pdatatemp
+	call l2cap_malloc_is_fifo_full
+	nrtn blank
+	call l2cap_malloc_rfcomm_channel
+	call l2cap_get_rfcomm_tx_buff
+	setarg 0x05
+	istore 2,contw
+	fetch 2,mem_RFCOMM_remote_CID
+	istore 2,contw
+	fetch 1,mem_rfcomm_send_adss
+	istore 1,contw
+	setarg 0x01ff
+	istore 2,contw
+	fetch 1,mem_credit_given
+	istore 1,contw
+	fetch 1,mem_HIUfcs_SPP_WCredits
+	istore 1,contw
+	jam 0,mem_credit_given
+	rtn
+	
+rfcomm_increase_credit_given:
+	bpatchx patch28_3,mem_patch28
+	fetch 1,mem_rfcomm_credit_flag
+	rtneq CREDIT_ENABLE
+	fetch 2,mem_current_length
+	rtn blank
+	fetch 1,mem_credit_given
+	increase 1,pdata
+	store 1,mem_credit_given
+	rtn
+
+spp_process_rx_data:
+	fetch 2,mem_cb_receive_spp_data
+	branch callback_func
+
+spp_tx_rfcomm_packet:
+	bpatchx patch28_4,mem_patch28
+	//credit
+	fetch 1,mem_remote_credits
+	rtn blank
+	increase -1,pdata
+	store 1,mem_remote_credits
+	fetch 2,mem_pn_max_frame_size
+	fetcht 2,mem_current_packet_length
+	isub temp,null
+	branch ssp_tx_rfcomm_from_uart,positive
+	store 2,mem_current_packet_length
+ssp_tx_rfcomm_from_uart:
+	fetch 1,mem_credit_given
+	branch ssp_tx_rfcomm_from_uart_without_credit,blank
+	jam 1,mem_rfcomm_send_offset
+	fetch 1,mem_HIUfcs_SPP_WCredits
+	store 1,mem_rfcomm_send_fcs
+	setarg RSP_RX_UIH_WDATA
+	store 1,mem_rfcomm_send_frame_type
+	branch ssp_tx_rfcomm_from_uart_common
+ssp_tx_rfcomm_from_uart_without_credit:
+	jam 0,mem_rfcomm_send_offset
+	fetch 1,mem_HIUfcs_SPP
+	store 1,mem_rfcomm_send_fcs
+	setarg RSP_TX_UIH
+	store 1,mem_rfcomm_send_frame_type
+ssp_tx_rfcomm_from_uart_common:
+	bpatchx patch28_5,mem_patch28
+	fetch 2,mem_current_packet_length
+	sub pdata,127,null
+	branch ssp_tx_rfcomm_from_uart_common0,positive
+	fetch 1,mem_rfcomm_send_offset
+	increase 1,pdata
+	store 1,mem_rfcomm_send_offset
+ssp_tx_rfcomm_from_uart_common0:
+	call get_rfcomm_snd_adss
+	fetch 2,mem_current_packet_length
+	increase 8,pdata	//fcs + rfcommhead + l2caphead == 8
+	fetcht 1,mem_rfcomm_send_offset
+	iadd temp,rega
+	//rfcomm payload
+	call l2cap_malloc
+	store 2,mem_rfcomm_tx_buff_ptr
+	increase 4,pdata
+	store 2,mem_rfcomm_tx_payload_ptr
+	copy pdata,contw
+	fetch 1,mem_rfcomm_send_adss
+	istore 1,contw
+	fetch 1,mem_rfcomm_send_frame_type
+	istore 1,contw
+	call ssp_tx_write_length
+	call ssp_tx_write_given_credit
+	bpatchx patch28_6,mem_patch28
+	fetch 2,mem_nl_rx_data_src		//src
+	copy pdata,contu
+	fetch 2,mem_current_packet_length
+	copy pdata,loopcnt
+	call uart_copy_rx_bytes_fast
+	copy contw,temp
+	copy contu,pdata
+	store 2,mem_nl_rx_data_src
+	copy temp,contw	
+	fetch 1,mem_rfcomm_send_fcs
+	istore 1,contw
+	fetch 2,mem_rfcomm_tx_buff_ptr
+	copy pdata,contw
+	fetch 2,mem_current_packet_length
+	fetcht 1,mem_rfcomm_send_offset
+	iadd temp,pdata
+	increase 4,pdata
+	istore 2,contw
+	fetch 2,mem_rfcomm_remote_cid
+	istore 2,contw
+	jam 0,mem_credit_given	//whatever mem_credit_given is set to 0
+	fetch 2,mem_nl_rx_len_all
+	beq 0,module_hci_command_tx_spp_tx_complete
+	jam HCI_NOT_DISCARD_PACKET,mem_module_temp_nl_discard_packet
+	rtn
+
+ssp_tx_write_length:
+	bpatchx patch28_7,mem_patch28
+	fetch 2,mem_current_packet_length
+	sub pdata,0x7f,null
+	nbranch ssp_tx_write_long_packet,positive
+	lshift pdata,pdata
+	set1 0,pdata
+	istore 1,contw
+	rtn
+ssp_tx_write_long_packet:
+	fetch 2,mem_current_packet_length
+	rshift3 pdata,pdata
+	rshift4 pdata,temp
+	and_into 0x7f,pdata
+	lshift pdata,pdata
+	set0 0,pdata
+	istore 1,contw
+	istoret 1,contw
+	rtn
+ssp_tx_write_given_credit:
+	fetch 1,mem_credit_given
+	rtn blank
+	istore 1,contw
+	rtn
+
+	
+
+
+scheduler_process:
+	bpatchx patch29_0,mem_patch29
+	call check_51cmd
+	call app_process_bb_event
+	call process_conn_sm
+
+	bpatchx patch29_1,mem_patch29
+	call sp_calc_sequence
+	call simple_pairing_sequence
+	call master_simple_paring_sequence
+//return if it is hci mode. 'cause the following is host part.
+//notify BB to tx a l2cap packet
+	call l2cap_malloc_is_fifo_full
+	nrtn blank
+	//for conn to MTK 
+	call l2cap_call_proc_sigal_pending
+	call l2cap_malloc_is_fifo_full
+	nrtn blank
+	bpatchx patch29_2,mem_patch29
+//to generat a new l2cap packet
+	call process_upper_sm
+	call l2cap_send_config_req
+	call rfcomm_send_more_pkt//use this function to send msc_cmd after msc_rep sent
+scheduler_process0:
+	call scheduler_tx_disconnect_hid //may not used
+	bpatchx patch29_3,mem_patch29
+//	call l2cap_malloc_is_fifo_full
+//	nrtn blank
+	branch app_process_bt
+	
+scheduler_tx_disconnect_hid:
+	fetch 1,mem_CONTROL_tasks		
+	bbit1 L2CAP_DISCONNECT_INTERRUPT,L2CAP_disconnect_interrupt_req
+	bbit1 L2CAP_DISCONNECT_CONTROL,L2CAP_disconnect_control_req
+	rtn
+	
+scheduler_tx_l2cap_pkt:
+	bpatchx patch29_4,mem_patch29
+	call l2cap_malloc_is_fifo_empty
+	rtn blank //empty
+	fetch 1,mem_op
+	rtnbit1 op_txl2cap
+	call l2cap_malloc_fifo_out
+	store 2,mem_txptr
+	copy pdata,contr
+	ifetch 2,contr
+	increase 4,pdata
+	store 2,mem_tx_len
+	jam 6,mem_tx_lch//start pkt
+	bpatchx patch29_5,mem_patch29
+	fetch 2,mem_l2cap_tx_multi_offset
+	branch scheduler_tx_l2cap_start_pkt,blank
+	fetch 1,mem_op
+	rtnbit0 op_pkt_comp
+	set0 op_pkt_comp,pdata
+	store 1,mem_op
+	jam 5,mem_tx_lch//continue pkt
+	fetcht 2,mem_l2cap_tx_multi_offset
+	fetch 2,mem_txptr
+	iadd temp,pdata
+	store 2,mem_txptr
+	fetch 2,mem_tx_len
+	isub temp,pdata
+	store 2,mem_tx_len
+scheduler_tx_l2cap_start_pkt:
+	fetch 2,mem_tx_len
+	branch assert,blank
+	arg l2cap_max_pkt_len,temp //max len of dh3 pkt
+	isub temp,pdata
+	branch scheduler_Tx_l2cap_last_pkt,zero
+	nbranch scheduler_Tx_l2cap_last_pkt,positive
+	storet 2,mem_tx_len //l2cap_max_pkt_len
+	fetch 2,mem_l2cap_tx_multi_offset
+	iadd temp,pdata
+	store 2,mem_l2cap_tx_multi_offset
+	branch scheduler_Tx_l2cap_pkt_end
+scheduler_Tx_l2cap_last_pkt:
+	setarg 0
+	store 2,mem_l2cap_tx_multi_offset
+scheduler_Tx_l2cap_pkt_end:
+	fetch 1,mem_op
+	set1 op_txl2cap,pdata
+	store 1,mem_op
+	rtn
+
+scheduler_start_upper_sm:
+	fetch 1,mem_UI_profile_supported
+	bbit1 support_HID,scheduler_start_upper_sm_hid
+	jam UPPERSM_RECONN_SDP_CONN,mem_upper_sm_reconn
+	rtn
+scheduler_start_upper_sm_hid:
+	jam UPPERSM_RECONN_HID_CTRL_CONN,mem_upper_sm_reconn
+	rtn
+	
+process_upper_sm:
+	fetch 1,memui_reconnect_mode
+	nbranch process_upper_sm_reconn,blank
+process_upper_sm_remote_page:
+	fetch 1,mem_upper_sm_remote_page
+	//beq UPPERSM_RP_IDLE,process_upper_sm_rp_idle
+	rtn blank
+	//nothing to do when remote page to create a connection.
+	jam 0,mem_upper_sm_remote_page
+process_upper_sm_rp_wait:
+	rtn
+
+
+process_upper_sm_reconn:
+	bpatchx patch29_6,mem_patch29
+	fetch 1,mem_upper_sm_reconn
+	rtn blank
+	beq UPPERSM_RECONN_SDP_CONN,process_upper_sm_reconn_sdp_conn
+	beq UPPERSM_RECONN_SDP_CONN_WAIT,process_upper_sm_reconn_sdp_conn_wait
+	beq UPPERSM_RECONN_SDP_CFG,process_upper_sm_reconn_sdp_cfg
+	beq UPPERSM_RECONN_SDP_CFG_WAIT,process_upper_sm_reconn_sdp_cfg_wait
+	beq UPPERSM_RECONN_SS_SPP,process_upper_sm_reconn_ss_spp
+	beq UPPERSM_RECONN_SS_SPP_WAIT,process_upper_sm_reconn_ss_spp_wait
+	beq UPPERSM_RECONN_SDP_DISCONN,process_upper_sm_reconn_sdp_disconn
+	beq UPPERSM_RECONN_SDP_DISCONN_WAIT,process_upper_sm_reconn_sdp_disconn_wait
+	beq UPPERSM_RECONN_HID_CTRL_CONN,process_upper_sm_reconn_hid_ctrl_conn
+	beq UPPERSM_RECONN_HID_CTRL_CONN_WAIT,process_upper_sm_reconn_hid_ctrl_conn_wait
+	beq UPPERSM_RECONN_HID_CTRL_CFG,process_upper_sm_reconn_hid_ctrl_cfg
+	beq UPPERSM_RECONN_HID_CTRL_CFG_WAIT,process_upper_sm_reconn_hid_ctrl_cfg_wait
+	beq UPPERSM_RECONN_HID_INT_CONN,process_upper_sm_reconn_hid_int_conn
+	beq UPPERSM_RECONN_HID_INT_CONN_WAIT,process_upper_sm_reconn_hid_int_conn_wait
+	beq UPPERSM_RECONN_HID_INT_CFG,process_upper_sm_reconn_hid_int_cfg
+	beq UPPERSM_RECONN_HID_INT_CFG_WAIT,process_upper_sm_reconn_hid_int_cfg_wait
+	beq UPPERSM_RECONN_RFCOMM_CONN,process_upper_sm_reconn_rfcomm_conn
+	beq UPPERSM_RECONN_RFCOMM_CONN_WAIT,process_upper_sm_reconn_rfcomm_conn_wait
+	beq UPPERSM_RECONN_RFCOMM_CFG,process_upper_sm_reconn_rfcomm_cfg
+	beq UPPERSM_RECONN_RFCOMM_CFG_WAIT,process_upper_sm_reconn_rfcomm_cfg_wait
+	beq UPPERSM_RECONN_RFCOMM_SABM,process_upper_sm_reconn_rfcomm_sabm
+	beq UPPERSM_RECONN_RFCOMM_SABM_WAIT,process_upper_sm_reconn_rfcomm_sabm_wait
+	beq UPPERSM_RECONN_SPP_CMD_PN,process_upper_sm_reconn_spp_cmd_pn
+	beq UPPERSM_RECONN_SPP_CMD_PN_WAIT,process_upper_sm_reconn_spp_cmd_pn_wait
+	beq UPPERSM_RECONN_SPP_SABM,process_upper_sm_reconn_spp_sabm
+	beq UPPERSM_RECONN_SPP_SABM_WAIT,process_upper_sm_reconn_spp_sabm_wait
+	beq UPPERSM_RECONN_SPP_CMD_MS,process_upper_sm_reconn_spp_cmd_ms
+	beq UPPERSM_RECONN_SPP_CMD_MS_WAIT,process_upper_sm_reconn_spp_cmd_ms_wait
+process_upper_sm_reconn_wait:
+	rtn
+process_upper_sm_reconn_sdp_conn:
+	call upper_sm_send_sdp_conn //return n-user if sending failed
+	jam UPPERSM_RECONN_SDP_CONN_WAIT,mem_upper_sm_reconn
+	fetch 1,mem_sdp_state
+	set1 L2CAP_CHANNEL_STATE_CONN_REQ,pdata
+	store 1,mem_sdp_state
+	rtn
+process_upper_sm_reconn_sdp_cfg:
+	jam UPPERSM_RECONN_SDP_CFG_WAIT,mem_upper_sm_reconn
+	fetch 1,mem_sdp_state
+	rtnbit1 L2CAP_CHANNEL_STATE_SND_CFG_REQ
+	jam UPPERSM_RECONN_SDP_CFG,mem_upper_sm_reconn
+	call upper_sm_send_sdp_cfg //return n-user if sending failed
+	jam UPPERSM_RECONN_SDP_CFG_WAIT,mem_upper_sm_reconn
+	fetch 1,mem_sdp_state
+	set1 L2CAP_CHANNEL_STATE_SND_CFG_REQ,pdata
+	store 1,mem_sdp_state
+	rtn
+process_upper_sm_reconn_ss_spp:
+	call l2cap_malloc_is_fifo_empty
+	nrtn blank
+	call upper_sm_send_ss_spp
+	jam UPPERSM_RECONN_SS_SPP_WAIT,mem_upper_sm_reconn
+	rtn
+process_upper_sm_reconn_sdp_disconn:
+	call upper_sm_send_sdp_disconn
+	jam UPPERSM_RECONN_SDP_DISCONN_WAIT,mem_upper_sm_reconn
+	rtn
+process_upper_sm_reconn_hid_ctrl_conn:
+	call upper_sm_send_hid_ctrl_conn
+	jam UPPERSM_RECONN_HID_CTRL_CONN_WAIT,mem_upper_sm_reconn
+	fetch 1,mem_hid_control_state
+	set1 L2CAP_CHANNEL_STATE_CONN_REQ,pdata
+	store 1,mem_hid_control_state
+	rtn
+process_upper_sm_reconn_hid_ctrl_cfg:    
+	call upper_sm_send_hid_ctrl_cfg
+	jam UPPERSM_RECONN_HID_CTRL_CFG_WAIT,mem_upper_sm_reconn
+	fetch 1,mem_hid_control_state
+	set1 L2CAP_CHANNEL_STATE_SND_CFG_REQ,pdata
+	store 1,mem_hid_control_state
+	rtn
+process_upper_sm_reconn_hid_int_conn:
+	call upper_sm_send_hid_int_conn
+	jam UPPERSM_RECONN_HID_INT_CONN_WAIT,mem_upper_sm_reconn
+	fetch 1,mem_hid_interrupt_state
+	set1 L2CAP_CHANNEL_STATE_CONN_REQ,pdata
+	store 1,mem_hid_interrupt_state
+	rtn
+process_upper_sm_reconn_hid_int_cfg:    
+	call upper_sm_send_hid_int_cfg
+	jam UPPERSM_RECONN_HID_INT_CFG_WAIT,mem_upper_sm_reconn
+	fetch 1,mem_hid_interrupt_state
+	set1 L2CAP_CHANNEL_STATE_SND_CFG_REQ,pdata
+	store 1,mem_hid_interrupt_state
+	rtn
+process_upper_sm_reconn_rfcomm_conn:
+	call upper_sm_send_rfcomm_conn
+	jam UPPERSM_RECONN_RFCOMM_CONN_WAIT,mem_upper_sm_reconn
+	fetch 1,mem_rfcomm_state
+	set1 L2CAP_CHANNEL_STATE_CONN_REQ,pdata
+	store 1,mem_rfcomm_state
+	rtn
+process_upper_sm_reconn_rfcomm_cfg: 
+	call upper_sm_send_rfcomm_cfg
+	jam UPPERSM_RECONN_RFCOMM_CFG_WAIT,mem_upper_sm_reconn
+	fetch 1,mem_rfcomm_state
+	set1 L2CAP_CHANNEL_STATE_SND_CFG_REQ,pdata
+	store 1,mem_rfcomm_state
+	rtn
+process_upper_sm_reconn_rfcomm_sabm:
+	call upper_sm_send_rfcomm_sabm
+	jam UPPERSM_RECONN_RFCOMM_SABM_WAIT,mem_upper_sm_reconn
+	fetch 1,mem_rfcomm_state
+	set1 L2CAP_CHANNEL_RFCOMM_ONLY_SABM,pdata
+	store 1,mem_rfcomm_state
+	rtn
+process_upper_sm_reconn_spp_cmd_pn: 
+	call upper_sm_send_spp_cmd_pn
+	fetch 1,mem_spp_state
+	set1 RFCOMM_CHANNEL_STATE_PN_CMD,pdata
+	store 1,mem_spp_state
+	jam UPPERSM_RECONN_SPP_CMD_PN_WAIT,mem_upper_sm_reconn
+	rtn
+process_upper_sm_reconn_spp_sabm:   
+	call upper_sm_send_spp_sabm
+	fetch 1,mem_spp_state
+	set1 RFCOMM_CHANNEL_STATE_SABM,pdata
+	store 1,mem_spp_state
+	jam UPPERSM_RECONN_SPP_SABM_WAIT,mem_upper_sm_reconn
+	fetch 1,mem_remote_spp_channel //address in pdata
+	lshift3 pdata,pdata
+	or_into 3,pdata
+	arg mem_HIUfcs_SPP,temp // mem_HIUfcs_spp_WCredits in regb++
+	storet 2,mem_contw_temp
+	branch rfcomm_save_FCS_uih
+process_upper_sm_reconn_spp_cmd_ms: 
+	call upper_sm_send_spp_cmd_ms
+	fetch 1,mem_spp_state
+	set1 RFCOMM_CHANNEL_STATE_SND_MS_CMD,pdata
+	store 1,mem_spp_state
+	jam UPPERSM_RECONN_SPP_CMD_MS_WAIT,mem_upper_sm_reconn
+	rtn
+
+process_upper_sm_reconn_sdp_conn_wait:
+	fetch 1,mem_sdp_state
+	rtnbit0 L2CAP_CHANNEL_STATE_CONN_RES
+	jam UPPERSM_RECONN_SDP_CFG,mem_upper_sm_reconn
+	branch process_upper_sm_reconn
+process_upper_sm_reconn_sdp_cfg_wait:
+	fetch 1,mem_sdp_state
+	rtnne L2CAP_CHANNEL_SETUP_COMPLETE
+	jam UPPERSM_RECONN_SS_SPP ,mem_upper_sm_reconn
+process_upper_sm_reconn_ss_spp_wait:
+	fetch 1,mem_message_to_uppersm
+	rtnne RECIEVE_SS_REASULT_HF
+	jam 0,mem_message_to_uppersm
+	jam UPPERSM_RECONN_SDP_DISCONN,mem_upper_sm_reconn
+	branch process_upper_sm_reconn
+process_upper_sm_reconn_sdp_disconn_wait:
+	fetch 1,mem_sdp_state
+	nrtn blank
+	fetch 1,mem_UI_profile_supported
+	bbit1 support_HID,process_upper_sm_reconn_setup_hid
+	bbit1 support_SPP,process_upper_sm_reconn_setup_rfcomm
+	branch process_upper_sm_reconn_termination
+process_upper_sm_reconn_hid_ctrl_conn_wait:
+	fetch 1,mem_hid_control_state
+	rtnbit0 L2CAP_CHANNEL_STATE_CONN_RES
+	jam UPPERSM_RECONN_HID_CTRL_CFG,mem_upper_sm_reconn
+	branch process_upper_sm_reconn
+process_upper_sm_reconn_hid_ctrl_cfg_wait:
+	fetch 1,mem_hid_control_state
+	rtnne L2CAP_CHANNEL_SETUP_COMPLETE
+	jam UPPERSM_RECONN_HID_INT_CONN,mem_upper_sm_reconn
+	branch process_upper_sm_reconn
+process_upper_sm_reconn_hid_int_conn_wait:  
+	fetch 1,mem_hid_interrupt_state
+	rtnbit0 L2CAP_CHANNEL_STATE_CONN_RES
+	jam UPPERSM_RECONN_HID_INT_CFG,mem_upper_sm_reconn
+	branch process_upper_sm_reconn
+process_upper_sm_reconn_hid_int_cfg_wait:  
+	fetch 1,mem_hid_interrupt_state
+	rtnne L2CAP_CHANNEL_SETUP_COMPLETE
+	fetch 1,mem_UI_profile_supported
+	bbit1 support_SPP,process_upper_sm_reconn_setup_rfcomm
+	branch process_upper_sm_reconn_termination
+process_upper_sm_reconn_rfcomm_conn_wait: 
+	fetch 1,mem_rfcomm_state
+	rtnbit0 L2CAP_CHANNEL_STATE_CONN_RES
+	jam UPPERSM_RECONN_RFCOMM_CFG,mem_upper_sm_reconn
+	branch process_upper_sm_reconn
+process_upper_sm_reconn_rfcomm_cfg_wait:
+	fetch 1,mem_rfcomm_state
+	rtnne L2CAP_CHANNEL_SETUP_COMPLETE
+	jam UPPERSM_RECONN_RFCOMM_SABM,mem_upper_sm_reconn
+	branch process_upper_sm_reconn
+process_upper_sm_reconn_rfcomm_sabm_wait:  
+	fetch 1,mem_rfcomm_state
+	rtnne L2CAP_CHANNEL_RFCOMM_DLCI0_OPENED
+	fetch 1,mem_UI_profile_supported
+	bbit1 support_SPP,process_upper_sm_reconn_setup_spp
+	branch process_upper_sm_reconn_termination
+process_upper_sm_reconn_spp_cmd_pn_wait:
+	fetch 1,mem_spp_state
+	rtnbit0 RFCOMM_CHANNEL_STATE_PN_RES
+	jam UPPERSM_RECONN_SPP_SABM,mem_upper_sm_reconn
+	branch process_upper_sm_reconn
+process_upper_sm_reconn_spp_sabm_wait:
+	fetch 1,mem_spp_state
+	rtnbit0 RFCOMM_CHANNEL_STATE_UA
+	jam UPPERSM_RECONN_SPP_CMD_MS ,mem_upper_sm_reconn
+	branch process_upper_sm_reconn
+process_upper_sm_reconn_spp_cmd_ms_wait: 
+	fetch 1,mem_spp_state
+	rtnne RFCOMM_CHANNEL_SETUP_COMPLETE
+	branch process_upper_sm_reconn_termination
+
+process_upper_sm_reconn_setup_hid:
+	jam UPPERSM_RECONN_HID_CTRL_CONN,mem_upper_sm_reconn
+	branch process_upper_sm_reconn
+
+process_upper_sm_reconn_setup_rfcomm:
+	jam UPPERSM_RECONN_RFCOMM_CONN,mem_upper_sm_reconn
+	branch process_upper_sm_reconn
+process_upper_sm_reconn_setup_spp:
+	jam UPPERSM_RECONN_SPP_CMD_PN,mem_upper_sm_reconn
+	branch process_upper_sm_reconn
+
+
+
+process_upper_sm_reconn_termination:
+	jam 0,mem_upper_sm_reconn
+	rtn
+upper_sm_send_sdp_conn:
+	bpatchx patch29_7,mem_patch29
+	call l2cap_malloc_signal_channel
+	setarg PSM_SDP
+	copy pdata,temp
+	setarg L2CAP_SDP_channel
+	copy pdata,timeup
+	branch ML2CAP_send_signal_connect_req
+	
+upper_sm_send_sdp_cfg:
+	bpatchx patch2a_0,mem_patch2a
+	call l2cap_malloc_signal_channel
+	fetch 2,mem_SDP_remote_CID
+	copy pdata,temp
+	branch ML2CAP_send_signal_config_req
+	
+upper_sm_send_sdp_disconn:
+	bpatchx patch2a_1,mem_patch2a
+	call l2cap_malloc_signal_channel
+	fetch 2,mem_SDP_remote_CID
+	copy pdata,temp
+	arg L2CAP_SDP_channel,timeup
+	call ML2CAP_send_signal_disconn_req
+	fetch 1,mem_sdp_state
+	set0 L2CAP_CHANNEL_STATE_RCV_CFG_RES ,pdata
+	store 1,mem_sdp_state
+	rtn
+//service search
+upper_sm_send_ss_spp:
+	bpatchx patch2a_2,mem_patch2a
+	call l2cap_malloc_sdp_channel
+	call sdp_send_spp_request
+	branch MSDP_send_req_done
+
+upper_sm_send_rfcomm_conn:
+	bpatchx patch2a_3,mem_patch2a
+	call l2cap_malloc_signal_channel
+	setarg PSM_RFCOMM
+	copy pdata,temp
+	setarg L2CAP_RFCOMM_channel
+	copy pdata,timeup
+	branch ML2CAP_send_signal_connect_req
+
+upper_sm_send_rfcomm_cfg:
+	bpatchx patch2a_4,mem_patch2a
+	call l2cap_malloc_signal_channel
+	fetch 2,mem_rfcomm_remote_cid
+	copy pdata,temp
+	branch ML2CAP_send_signal_config_req
+
+upper_sm_send_hid_ctrl_conn:
+	bpatchx patch2a_5,mem_patch2a
+	call l2cap_malloc_signal_channel
+	setarg PSM_HID_control
+	copy pdata,temp
+	setarg L2CAP_HID_Control_channel
+	copy pdata,timeup
+	branch ML2CAP_send_signal_connect_req
+
+upper_sm_send_hid_ctrl_cfg:
+	bpatchx patch2a_6,mem_patch2a
+	call l2cap_malloc_signal_channel
+	fetch 2,mem_hid_ctrl_remote_cid
+	copy pdata,temp
+	branch ML2CAP_send_signal_config_req
+
+upper_sm_send_hid_int_conn:
+	bpatchx patch2a_7,mem_patch2a
+	call l2cap_malloc_signal_channel
+	setarg PSM_HID_interrupt
+	copy pdata,temp
+	setarg L2CAP_HID_interrupt_channel
+	copy pdata,timeup
+	branch ML2CAP_send_signal_connect_req
+	
+upper_sm_send_hid_int_cfg:
+	bpatchx patch2b_0,mem_patch2b
+	call l2cap_malloc_signal_channel
+	fetch 2,mem_hid_int_remote_cid
+	copy pdata,temp
+	branch ML2CAP_send_signal_config_req
+
+upper_sm_send_rfcomm_sabm:
+	bpatchx patch2b_1,mem_patch2b
+	call l2cap_malloc_rfcomm_channel
+	//force 3,temp //address
+	jam 3,mem_current_adss
+	jam 0x1c,mem_current_fcs
+	call rfcomm_send_sabm
+	jam 1,mem_rfcomm_initiator
+	rtn
+
+upper_sm_send_spp_cmd_pn:
+	bpatchx patch2b_2,mem_patch2b
+	call l2cap_malloc_rfcomm_channel
+	fetcht 1,mem_remote_spp_channel
+	call channel_to_dlci
+	storet 1,mem_pn_dlci
+	branch rfcomm_send_param_neg_cmd
+
+upper_sm_send_spp_sabm:
+	bpatchx patch2b_3,mem_patch2b
+	call l2cap_malloc_rfcomm_channel
+	fetcht 1,mem_pn_dlci
+	call dlci_to_address_cmd
+	call rfcomm_calculate_FCS_sabm //sabm fcs use once only,not need to save
+	store 1,mem_current_fcs
+	fetcht 1,mem_pn_dlci
+	call dlci_to_address_cmd
+	storet 1,mem_current_adss
+	branch rfcomm_send_sabm
+
+upper_sm_send_spp_cmd_ms:
+	bpatchx patch2b_4,mem_patch2b
+	call l2cap_malloc_rfcomm_channel
+	fetcht 1,mem_pn_dlci
+	call dlci_to_address_cmd //address in temp
+	branch rfcomm_send_modem_status_cmd
+
+
+
+
+
+
+
+  
+
+
+
+     
+sdp_process:
+	bpatchx patch2b_5,mem_patch2b
+	fetch 2,mem_l2cap_payload_ptr
+	iforce contr
+//	ifetchr regb,1,contr				
+//	storer regb,1,mem_sdp_pduid
+	ifetch 1,contr
+	copy pdata,regb
+	store 1,mem_sdp_pduid
+	ifetch 2,contr
+	store 2,mem_sdp_transactionid			
+	ifetch 1,contr				
+	lshift8 pdata,timeup				
+	ifetch 1,contr				
+	iadd timeup,timeup				
+	bpatchx patch2b_6,mem_patch2b
+	copy contr,temp
+	arg 4,loopcnt
+	arg mem_sdp_handle_list,contw
+	call memset0
+	copy temp,contr 
+	deposit regb						
+	beq SDP_ERROR_RES,sdp_process_error_res
+	beq SDP_SEARCH_REQ,sdp_process_ss_req
+	beq SDP_SEARCH_RES,sdp_process_ss_res
+	beq SDP_ATTRIBUTE_REQ,sdp_process_sa_req
+	beq SDP_ATTRIBUTE_RES,sdp_process_sa_res
+	beq SDP_SEARCHATTRIB_REQ,sdp_process_ssa_req
+	beq SDP_SEARCHATTRIB_RES,sdp_process_ssa_res
+	branch sdp_insufficient_resource
+
+
+
+
+
+  
+
+
+
+     
+sdp_process_ss_req:
+	bpatchx patch2b_7,mem_patch2b
+	call ask_serviceclassid
+	compare 1,temp,0xff
+	branch ss_empty_rsp,true
+	compare 0xff,temp,0xff
+	branch sdp_invalid_request_syntax,true
+
+	ifetch 2,contr				
+	store 2,mem_sdp_record_maxcnt
+	increase -2,timeup
+
+	increase -1,timeup				
+	nbranch sdp_invalid_pdu_size,zero		
+	arg mem_sdp_uuid_search_ptr,timeup
+	ifetch 2,timeup
+	rtn blank
+	call search_all_uuid
+	call l2cap_get_sdp_tx_payload			
+	force 3,pdata						
+	istore 1,contw
+	fetch 2,mem_sdp_transactionid			
+	istore 2,contw
+	lshift2 queue,pdata
+	add pdata,5,pdata
+	add pdata,5,regc
+	byteswap pdata,pdata
+	istore 2,contw							
+	deposit queue
+	byteswap pdata,pdata
+	istore 2,contw							
+	istore 2,contw							
+	arg mem_sdp_handle_list,contr
+	copy queue,loopcnt
+	branch ss_req_blank,zero
+ss_req_loop:	
+	ifetch 4,contr
+	istore 4,contw
+	loop ss_req_loop
+ss_req_blank:	
+	force 0,pdata
+	istore 1,contw							
+	deposit regc
+	store 2,mem_sdp_tx_pkt_length
+//	branch assert,blank
+	rtn
+
+
+
+
+
+  
+
+
+
+     
+sdp_process_sa_req:
+	bpatchx patch2c_0,mem_patch2c
+	ifetch 4,contr				
+	store 4,mem_sdp_record_handle	 
+	increase -4,timeup
+	call sdp_store_maxbyte
+	store 2,mem_sdp_attribute_maxbyte
+	increase -2,timeup
+	call dataelementtype6		
+	branch sdp_invalid_request_syntax,zero
+	compare 5,rega,0xff  // length
+	//branch sa_req_all,true
+	branch sa_judge_wholerange,true
+sa_isnot_wholerange:
+	arg mem_sdp_attrib_list,contw
+	force 0,queue
+	branch sa_req_loop
+sa_judge_wholerange:
+	ifetch 1,contr
+	bne SDP_ATTRIBUTE_RANGE,sdp_invalid_request_syntax
+	ifetch 2,contr
+	nbranch sa_judge_wholerange_false1,blank
+	ifetch 1,contr
+	bne 0xff,sa_judge_wholerange_false2
+	ifetch 1,contr
+	bne 0xff,sa_judge_wholerange_false3		//also exist potential bug because mem_sdp_attrib_list length is only 7f
+	branch sa_req_all
+sa_judge_wholerange_false3:
+	increase -5,contr
+	branch sa_isnot_wholerange
+sa_judge_wholerange_false2:
+	increase -4,contr
+	branch sa_isnot_wholerange
+sa_judge_wholerange_false1:
+	increase -3,contr
+	branch sa_isnot_wholerange
+sa_req_loop:	
+	ifetch 1,contr
+	beq SDP_ATTRIBUTE_ID, sa_req_one_id
+	beq SDP_ATTRIBUTE_RANGE, sa_req_range
+sa_req_range:
+	ifetch 2, contr
+	istore 2, contw
+	increase 1,queue
+	byteswap pdata,regb
+	ifetch 2, contr
+	byteswap pdata,pdata
+sa_req_range_id_increase:	
+	increase 1, regb
+	isub regb, null
+	nbranch sa_req_range_id_finish,positive
+	copy pdata, regc
+	byteswap regb,pdata
+	istore 2, contw
+	increase 1,queue
+	copy regc, pdata
+	branch sa_req_range_id_increase
+sa_req_range_id_finish:
+	increase -5,timeup
+	increase -5,rega
+	branch sa_req_check_next_id
+sa_req_one_id:
+	ifetch 2,contr
+	istore 2,contw //save the attribute id in mem_sdp_attrib_list
+	increase 1,queue
+	increase -3,timeup
+	increase -3,rega
+sa_req_check_next_id:	
+	nbranch sdp_invalid_request_syntax,positive
+	nbranch sa_req_loop,zero //another attribute 
+	increase -1,timeup
+	nbranch sdp_invalid_request_syntax,zero
+	
+	call l2cap_get_sdp_tx_payload
+	increase 10,contw
+	arg mem_sdp_attrib_list,rega
+sa_req_handle_attributelist_next:
+	copy queue,pdata
+	branch sa_req_handle_attributelist_end,blank
+	ifetch 2,rega
+	branch sa_req_handle_attributelist_end,blank
+	iforce regb 
+	fetch 4,mem_sdp_record_handle	
+	iforce temp
+	call search_handle_attrib
+	copy contr,pdata
+	branch sa_req_handle_attributelist_notfound,blank
+	increase -3,contr
+	ifetch 3,contr
+	istore 3,contw
+	call sdp_data_len
+	iforce loopcnt	
+	call memcpy
+sa_req_handle_attributelist_notfound:
+	increase 2,rega
+	increase -1, queue
+	branch sa_req_handle_attributelist_next
+
+sa_req_handle_attributelist_end:	
+	arg SDP_ATTRIBUTE_RES,rega
+	call ssa_req_range_lastfreg_common
+	fetch 2,mem_sdp_tx_pkt_length	
+	beq 11,sa_empty_rsp
+	branch  ssa_req_range_attrbutes_length_no_continue
+
+
+sdp_store_continue_common:
+	ifetch 1, contr
+	beq 0, sdp_store_continue_0byte
+	beq 1,sdp_store_continue_1byte
+	beq 2, sdp_store_continue_2byte
+sdp_store_continue_0byte:	
+	increase -1,timeup				
+	branch sdp_store_continue_end
+sdp_store_continue_1byte:
+	ifetch 1, contr
+	increase -2,timeup				
+	branch sdp_store_continue_end
+sdp_store_continue_2byte:
+	ifetch 2, contr
+	byteswap pdata,pdata
+	increase -3,timeup				
+sdp_store_continue_end:
+	store 2, mem_sdp_continue_byte	
+	rtn
+	
+sa_req_all:	
+	increase -5,timeup
+	call sdp_store_continue_common
+	nbranch sdp_invalid_pdu_size,zero
+	fetcht 4,mem_sdp_record_handle		
+	call search_handle
+	nbranch sdp_invalid_service_record_handle,zero
+	copy contr,rega
+	call l2cap_get_sdp_tx_payload
+	copy rega,contr
+	increase 3,contw//arg mem_SDP_Tx_payload+3,contw
+	copy contr,timeup //sdp start pointer
+	call sdp_get_data
+	copy pdata, rega //sdp total length
+//	fetchr regb,2,mem_sdp_continue_byte
+	fetch 2,mem_sdp_continue_byte
+	copy pdata,regb
+	copy rega,pdata
+	isub regb,regb //total_length - continue_byte in regb
+	fetch 2, mem_sdp_attribute_maxbyte
+	isub regb, null
+	nbranch sa_req_all_fragment_sdp, positive
+	// the last fragment
+	disable user
+	fetch 2, mem_sdp_continue_byte
+	branch sa_req_all_fisrt_fragment,blank
+	iadd timeup, contr //set the read pointer
+	increase 3,regb //include the total length field, 3 bytes
+	copy regb, loopcnt
+	copy loopcnt, pdata
+	increase 3, pdata
+	byteswap pdata,pdata
+	istore 2, contw
+	copy loopcnt, pdata
+	byteswap pdata,pdata
+	istore 2, contw
+	branch sa_req_all_answer_attributelist_full_loop
+sa_req_all_fisrt_fragment:
+	add rega,6,loopcnt
+	branch sa_req_all_parlength_continue_byte, user
+	byteswap loopcnt,pdata
+	branch sa_req_all_parlength_continue_byte_end
+sa_req_all_parlength_continue_byte:
+	copy loopcnt, pdata
+	increase 2, pdata
+	byteswap pdata,pdata
+sa_req_all_parlength_continue_byte_end:
+	istore 2,contw				
+	increase -3,loopcnt
+	byteswap loopcnt,pdata			
+	istore 2,contw				
+	copy timeup,contr
+	branch sa_req_all_answer_attributelist_full_loop
+sa_req_all_fragment_sdp:
+	enable user
+//	fetchr rega,2,mem_sdp_attribute_maxbyte
+	fetch 2,mem_sdp_attribute_maxbyte
+	copy pdata,rega
+	copy rega,loopcnt
+	fetch 2, mem_sdp_continue_byte
+	branch sa_req_all_fisrt_fragment,blank
+	iadd timeup, contr
+	copy rega,pdata
+	increase 5,pdata
+	byteswap pdata,pdata	
+	istore 2, contw
+	copy rega,pdata
+	byteswap pdata,pdata
+	istore 2, contw
+sa_req_all_answer_attributelist_full_loop:
+	call memcpy
+	nbranch sa_req_all_last_frag_continue, user
+	force 2,pdata
+	istore 1,contw
+	copy contr, pdata
+	isub timeup, pdata
+	byteswap pdata,pdata
+	istore 2, contw   // continuation length
+	branch sa_req_all_frag_end
+sa_req_all_last_frag_continue:
+	force 0,pdata
+	istore 1,contw
+sa_req_all_frag_end:	
+	arg SDP_ATTRIBUTE_RES,rega
+	branch ssa_req_range_common	
+	
+
+
+
+
+  
+
+
+
+     
+sdp_process_ssa_req:
+	bpatchx patch2c_1,mem_patch2c
+	call ask_serviceclassid
+	compare 0xff,temp,0xff
+	branch sdp_invalid_request_syntax,true
+	call sdp_store_maxbyte
+	store 2,mem_sdp_attribute_maxbyte
+	increase -2,timeup
+	call dataelementtype6
+	arg mem_sdp_attrib_list,contw
+	force 0,queue
+ssa_req_loop:	
+	ifetch 1,contr 
+	beq SDP_ATTRIBUTE_RANGE,ssa_req_range
+	ifetch 2,contr 
+	istore 2,contw //save the attribute id in mem_sdp_attrib_list
+	increase 1,queue
+	increase -3,timeup
+	increase -3,rega
+	nbranch sdp_invalid_request_syntax,positive
+	nbranch ssa_req_loop,zero
+	increase -1,timeup
+	nbranch sdp_invalid_request_syntax,zero
+	call l2cap_get_sdp_tx_payload
+	increase 13,contw//arg mem_SDP_Tx_payload+13,contw
+	fetch 2,mem_sdp_uuid_search_ptr
+	iforce regc
+	arg mem_sdp_attrib_list,rega
+ssa_req_attributelist_next:	
+	ifetch 2,rega
+	branch ssa_req_attributelist_end,blank
+	iforce regb						
+	call search_attrib
+	branch ssa_req_attributelist_notfound,blank
+	increase -3,contr
+	ifetch 3,contr
+	istore 3,contw
+	call sdp_data_len
+	iforce loopcnt	
+  	call memcpy
+ssa_req_attributelist_notfound:
+	increase 2,rega
+	branch ssa_req_attributelist_next
+
+ssa_req_attributelist_end:
+	call ssa_req_range_lastfreg
+	fetch 2,mem_sdp_tx_pkt_length	
+	beq 14,ssa_empty_rsp
+	call ssa_req_range_attrbutes_length_no_continue
+	branch ssa_req_range_attrbutes_length_no_continue
+
+
+sdp_store_maxbyte:	
+	ifetch 2,contr				 
+	byteswap pdata,pdata
+	increase -3,pdata	
+	arg 200,temp
+	isub temp,null
+	nrtn positive
+	setarg 200
+	rtn
+	
+
+ssa_req_range:
+	increase 4,contr
+	increase -5,timeup
+	increase -5,rega
+	nbranch sdp_invalid_request_syntax,zero
+	call 	sdp_store_continue_common
+	nbranch sdp_invalid_pdu_size,zero
+	arg mem_sdp_uuid_search_ptr,timeup
+	call search_all_uuid  
+	deposit queue
+	branch ssa_empty_rsp,blank
+	store 1,mem_handle_humber
+//	storer regb,2,mem_sdp_all_length
+	copy regb,pdata
+	store 2,mem_sdp_all_length
+	arg 0,queue
+	arg 0,rega
+	call l2cap_get_sdp_tx_payload
+	increase 10,contw 
+ssa_req_range_find_handle:
+	call ssa_req_range_get_length	
+	nbranch assert,user
+	copy contr,timeup
+	copy pdata,regc
+	iadd rega,rega
+//	copy pdata,rega 
+//	fetch 2,mem_sdp_all_length
+	fetch 2,mem_sdp_continue_byte
+	copy pdata,regb
+	branch ssa_req_range_first_freg,blank
+ssa_req_range_later_freg_with_continue:
+	copy rega,pdata
+	isub regb,regb //total_length - continue_byte in rega
+	branch ssa_req_range_next_handle,zero
+	nbranch ssa_req_range_next_handle,positive
+	fetch 2, mem_sdp_attribute_maxbyte
+	isub regb, null
+	branch ssa_req_range_maxbyte_with_continue,zero
+	nbranch ssa_req_range_maxbyte_with_continue, positive  
+	
+ // data length < =maxbyte 
+ssa_req_range_send_not_maxbyte:
+ 	copy regb,loopcnt
+	call ssa_req_range_maxbyte_with_continue_cpy
+ 	fetch 1,mem_handle_humber
+	increase 1,queue
+	isub queue,null
+	branch ssa_req_range_lastfreg,zero
+	branch ssa_req_range_freg_with_continue
+	
+ssa_req_range_maxbyte_with_continue:
+ 	copy pdata,loopcnt
+ 	call ssa_req_range_maxbyte_with_continue_cpy
+ 	branch ssa_req_range_freg_with_continue
+ 	
+ssa_req_range_maxbyte_with_continue_cpy:
+	increase -3,contw   
+	copy loopcnt,temp
+ 	copy regc,pdata
+	isub regb,pdata
+	iadd timeup,contr
+ 	branch memcpy
+
+ssa_req_range_next_handle:
+	fetch 1,mem_handle_humber
+	increase 1,queue
+	isub queue,null
+	rtn zero //
+	branch ssa_req_range_find_handle
+
+ssa_req_range_get_length:	
+	call disable_user
+	arg mem_sdp_handle_list,contr
+	lshift2 queue,pdata
+	iadd contr,contr
+	ifetcht 4, contr
+	call search_handle
+	nrtn zero
+	call sdp_data_len
+	branch enable_user
+
+ssa_req_range_first_freg:
+	fetch 2, mem_sdp_attribute_maxbyte
+	isub rega, null
+	nbranch ssa_req_range_firstfreg_maxbyte_with_continue,positive
+	copy rega,loopcnt
+	copy loopcnt,temp
+	copy timeup,contr
+	call memcpy
+	fetch 2,mem_sdp_all_length
+	isub rega,null
+	branch ssa_req_range_freg_no_continue,zero
+ssa_req_range_firstfreg_not_maxbyte_with_continue:
+	call ssa_req_range_freg_with_continue
+	branch ssa_req_range_attrbutes_length
+	
+ssa_req_range_freg_no_continue:
+	call ssa_req_range_lastfreg
+	branch ssa_req_range_attrbutes_length
+	
+ssa_req_range_lastfreg:
+	arg SDP_SEARCHATTRIB_RES,rega  //PUD ID
+ssa_req_range_lastfreg_common:
+	force 0,pdata
+	istore 1,contw
+	call ssa_req_range_common
+	fetcht 2,mem_sdp_tx_pkt_length
+	increase -5,temp
+	byteswap temp,pdata
+	istore 2, contw
+	increase -3,temp
+	byteswap temp,pdata
+	istore 2, contw  //attribute length
+	rtn
+
+ssa_req_range_firstfreg_maxbyte_with_continue:
+	copy pdata,loopcnt
+	copy loopcnt,temp
+	copy timeup,contr
+	call memcpy
+	call ssa_req_range_freg_with_continue
+ssa_req_range_attrbutes_length:	
+	setarg 0x36
+	istore 1,contw
+	fetch 2,mem_sdp_all_length
+	byteswap pdata,pdata
+	istore 2, contw 
+	rtn	
+
+ssa_req_range_attrbutes_length_no_continue:	
+	setarg 0x36
+	istore 1,contw
+	increase -3,temp
+	byteswap temp,pdata
+	istore 2, contw 
+	rtn	
+
+ssa_req_range_freg_with_continue:
+	arg SDP_SEARCHATTRIB_RES,rega  //PUD ID
+	setarg 2
+	istore 1,contw	
+	fetch 2,mem_sdp_continue_byte
+	iadd temp,temp
+	byteswap temp,pdata
+	istore 2,contw
+	call ssa_req_range_common
+	fetcht 2,mem_sdp_tx_pkt_length
+	increase -5,temp
+	byteswap temp,pdata
+	istore 2, contw
+	increase -5,temp
+	byteswap temp,pdata
+	istore 2, contw 
+	rtn	
+
+ssa_req_range_common:
+	fetch 2,mem_sdp_tx_payload_ptr
+	isub contw,pdata
+	sub pdata,0,pdata
+	store 2,mem_sdp_tx_pkt_length
+	call l2cap_get_sdp_tx_payload 
+	copy rega,pdata  //PUD ID
+	istore 1,contw
+	fetch 2,mem_sdp_transactionid
+	istore 2,contw
+	rtn
+
+
+
+
+
+
+
+
+
+
+
+     
+sdp_process_ssa_res:
+sdp_process_ss_res:
+sdp_process_sa_res:
+sdp_process_error_res:
+	rtn
+
+				    
+
+sdp_invalid_service_record_handle:		
+	setarg 0x0200
+	store 2,mem_sdp_error_code
+	branch sdp_error_response
+sdp_invalid_pdu_size:				
+	setarg 0x0400
+	store 2,mem_sdp_error_code
+	branch sdp_error_response
+sdp_insufficient_resource:			
+	setarg 0x0600
+	store 2,mem_sdp_error_code
+	branch sdp_error_response
+sdp_invalid_request_syntax:			
+	setarg 0x0300
+	store 2,mem_sdp_error_code
+sdp_error_response:	
+	call l2cap_get_sdp_tx_payload
+	istore 1,contw
+	fetch 2,mem_sdp_transactionid			
+	istore 2,contw
+	setarg 0x0200					
+	istore 2,contw
+	fetch 2,mem_sdp_error_code			
+	istore 2,contw
+	jam  7,mem_sdp_tx_pkt_length
+	rtn
+
+
+//store uuid in mem_sdp_uuid_search_ptr,
+//return temp 0xff if wrong 
+ask_serviceclassid:  
+	arg 0,regb
+	force 0,temp					
+	arg mem_sdp_uuid_search_ptr,contw
+	call dataelementtype6
+	branch asksrv_error,zero
+classidloop:
+	increase 1,regb
+	ifetch 1,contr
+	increase -1,rega
+	increase -1,timeup
+	compare 0x18,pdata,0xf8			
+	nbranch asksrv_error,true
+	compare 0x04,pdata,0x07			
+	nbranch cmp032,true
+	force 1,temp					
+skip2bytes:
+	ifetch 1,contr
+	increase -1,rega	
+	increase -1,timeup
+	bne 0x00, frstbwrong
+	ifetch 1,contr
+	increase -1,rega	
+	increase -1,timeup
+	beq 0x00, cmpuuid
+	branch scndbwrong
+frstbwrong:  
+	increase 1,contr
+	increase -1,rega	
+	increase -1,timeup
+scndbwrong:  
+	increase 2,contr				
+	increase -2,rega	
+	increase -2,timeup
+	compare 0x00,temp,0xff                        
+	branch loopornot,true
+	increase 12,contr				
+	increase -12,rega	
+	increase -12,timeup
+	branch loopornot
+cmp032:
+	compare 0x02,pdata,0x07			
+	nbranch cmp016,true
+	branch skip2bytes			
+cmp016:
+	compare 0x01,pdata,0x07			
+	nbranch asksrv_error,true
+cmpuuid:
+	increase -2,rega
+	increase -2,timeup
+	ifetch 2,contr				
+	sub regb,4,null
+	branch uuidsize,zero //max store uuids =3 
+	istore 2,contw
+uuidsize:
+	compare 0x00,temp,0xff			
+	branch loopornot,true
+	copy contr,temp
+	ifetch 1,contr
+	bne 0x00, wrong12b
+	ifetch 1,contr
+	bne 0x00, wrong12b
+	ifetch 1,contr
+	bne 0x10, wrong12b
+	ifetch 1,contr
+	bne 0x00, wrong12b
+	ifetch 1,contr
+	bne 0x80, wrong12b
+	ifetch 1,contr
+	bne 0x00, wrong12b
+	ifetch 1,contr
+	bne 0x00, wrong12b
+	ifetch 1,contr
+	bne 0x80, wrong12b
+	ifetch 1,contr
+	bne 0x5f, wrong12b
+	ifetch 1,contr
+	bne 0x9b, wrong12b
+	ifetch 1,contr
+	bne 0x34, wrong12b
+	ifetch 1,contr
+	beq 0xfb, chck12dn
+wrong12b:
+	copy temp,contr  
+wrong12b1:
+	increase 12,contr				
+	force 0x00,queue
+	force 0x00,temp
+	branch chck12dn
+
+chck12dn:
+	increase -12,timeup
+	increase -12,rega
+loopornot:
+	force 0x00,temp
+	compare 0x00,rega,0xff
+	nbranch classidloop,true
+	force 0,pdata
+	istore 2,contw			
+	rtn
+asksrv_error:
+	arg 0xff,temp
+	rtn
+
+
+
+
+
+
+
+
+     
+dataelementtype6:
+	bpatchx patch2c_4,mem_patch2c
+	ifetch 1,contr
+	increase -1,timeup
+	compare 0x30,pdata,0xf8			
+	nbranch dsize_error,true
+	compare 0x07,pdata,0x07			
+	branch dsize32,true
+	compare 0x06,pdata,0x07			
+	branch dsize16,true
+	compare 0x05,pdata,0x07			
+	nbranch dsize_error,true
+//	ifetchr rega,1,contr				
+	ifetch 1,contr
+	copy pdata,rega
+	increase -1,timeup
+	branch dsize
+dsize32:
+	increase 2,contr				 
+	increase -2,timeup
+dsize16:
+	ifetch 2,contr
+	byteswap pdata,rega
+	increase -2,timeup
+dsize:
+	force 0x01,pdata
+	rtn
+dsize_error:
+	force 0x00,pdata
+	rtn
+
+
+
+
+
+
+
+
+     
+ss_empty_rsp:
+	setarg SDP_SEARCH_RES
+	store 1, mem_sdp_pduid
+	branch empty_response
+sa_empty_rsp:
+	setarg SDP_ATTRIBUTE_RES
+	store 1, mem_sdp_pduid
+	branch empty_response
+ssa_empty_rsp:
+	setarg SDP_SEARCHATTRIB_RES
+	store 1, mem_sdp_pduid
+empty_response:
+	call l2cap_get_sdp_tx_payload			
+//	fetchr regb,1,mem_sdp_pduid				
+//	istorer regb,1,contw
+	fetch 1,mem_sdp_pduid
+	copy pdata,regb
+	istore 1,contw 
+	fetch 2,mem_sdp_transactionid			
+	istore 2,contw
+	setarg 0x0500
+	istore 2, contw
+	compare SDP_ATTRIBUTE_RES,regb,0xff			 
+	branch fullsearch,true
+	compare SDP_SEARCHATTRIB_RES,regb,0xff			 
+	branch fullsearch,true
+	setarg 0x000000
+	istore 5,contw
+	branch outempty
+
+fullsearch:					
+	setarg 0x350200
+	istore 5,contw
+outempty:
+	jam 10,mem_sdp_tx_pkt_length
+	rtn
+
+//return length in pdata(whole element ,include header and data ), contr not change
+sdp_data_len:
+	call store_contw
+	call store_contr
+	call sdp_get_data
+	call get_contw
+	call get_contr
+	copy temp,pdata
+	rtn
+
+//return data length in pdata, contr is data pionter,return length in temp(whole element ,include header and data )
+sdp_get_data:
+	ifetch 1,contr
+	and pdata,0x7,loopcnt
+	rshift3 pdata,pdata
+	bne 0,sdp_get_data_type_not0
+sdp_get_data_type0:	
+	force 1,pdata
+	force 1,temp
+	rtn
+	
+sdp_get_data_type_not0_sizeindex01234:
+	call left_shift_n
+	add pdata,1,temp  //add header length
+	rtn
+sdp_get_data_type_not0:
+	deposit loopcnt
+	sub pdata,4,null
+	branch sdp_get_data_type_not0_sizeindex01234,positive
+	beq 5,sdp_get_data_type_not0_sizeindex5
+	beq 6,sdp_get_data_type_not0_sizeindex6
+	beq 7,sdp_get_data_type_not0_sizeindex7
+	rtn
+	
+sdp_get_data_type_not0_sizeindex5:
+	ifetch 1,contr
+	add pdata,2,temp  //add header length
+	rtn
+sdp_get_data_type_not0_sizeindex6:
+	ifetch 2,contr
+	byteswap pdata,pdata
+	add pdata,3,temp  //add header length
+	rtn
+sdp_get_data_type_not0_sizeindex7:
+	ifetch 2,contr	
+	byteswap pdata,pdata
+	ifetcht 2,contr	
+	byteswap temp,temp
+	lshift16 temp,temp
+	iadd temp,pdata
+	add pdata,5,temp  //add header length
+	rtn
+
+search_all_uuid:
+	bpatchx patch2c_5,mem_patch2c
+	force 0,queue
+	arg 0,regb
+	arg mem_sdp_handle_list,contw
+search_all_uuid_llop:
+	ifetch 2,timeup
+ 	rtn blank
+	call search_uuid
+	copy queue,pdata
+	rtneq SDP_MAX_HANDLE_NUMBER 
+	increase 2,timeup
+ 	branch search_all_uuid_llop
+	
+search_uuid:
+//	arg 0,regb
+	iforce regc
+//	force 0,queue
+	fetch 2, mem_ui_uuid_table
+	iforce contr
+search_uuid_next:
+	copy queue,pdata
+	rtneq SDP_MAX_HANDLE_NUMBER   
+	disable user
+	ifetch 1,contr
+	rtn blank
+	iforce loopcnt
+search_uuid_loop:	
+	ifetch 2,contr
+	isub regc,null
+	nbranch search_uuid_not_found,zero
+	enable user					// uuid match
+search_uuid_not_found:
+	loop search_uuid_loop
+	ifetcht 4,contr					// get handle 
+	copy contr,rega
+	nbranch search_uuid_nomatch,user
+	arg mem_sdp_handle_list,contr
+	arg SDP_MAX_HANDLE_NUMBER,loopcnt 
+search_uuid_check_same_handle:
+	ifetch 4,contr
+	branch search_uuid_store_handle,blank
+	isub temp,null
+	branch search_uuid_nomatch,zero
+	loop search_uuid_check_same_handle
+	rtn 
+search_uuid_store_handle:
+	istoret 4,contw
+	increase 1,queue
+	copy rega,contr
+	call sdp_data_len
+	iadd regb,regb
+	iadd contr,contr		 
+	branch search_uuid_next
+search_uuid_nomatch:	
+	copy rega,contr
+	call sdp_get_data
+	iadd contr,contr			// next paragraph 
+	branch search_uuid_next
+
+search_handle:
+	bpatchx patch2c_6,mem_patch2c
+	fetch 2,mem_ui_uuid_table
+	iforce contr
+search_handle_loop:	
+	ifetch 1,contr
+	branch disable_zero,blank
+	lshift pdata,pdata
+	iadd contr,contr
+	ifetch 4,contr
+	isub temp,null
+	rtn zero
+	deposit contw
+	store 2,mem_contw
+	storet 8,mem_temp
+	call sdp_get_data
+	iadd contr,contr
+	copy contr,pdata
+	fetcht 2,mem_contw
+	copy temp,contw
+	fetcht 8,mem_temp
+	copy pdata,contr
+	branch search_handle_loop
+
+search_attrib:
+	bpatchx patch2c_7,mem_patch2c
+	fetch 2,mem_ui_uuid_table
+	iforce contr
+search_attrib_next:
+	ifetch 1,contr
+	branch search_attrib_end, blank
+	iforce loopcnt
+search_attrib_loop:	
+	ifetch 2,contr
+	isub regc,null						
+	branch search_attrib_found_uuid,zero
+	loop search_attrib_loop
+	increase 4,contr
+	call sdp_get_data
+	iadd contr,contr			
+	branch search_attrib_next	
+search_attrib_found_uuid:
+	increase -1,loopcnt
+	lshift loopcnt,pdata
+	iadd contr,contr
+	increase 4,contr
+	call sdp_get_data
+	iadd contr,timeup					
+search_attrib_loop_attribs:	
+	increase 1,contr
+	ifetch 2,contr
+	isub regb,null
+	//force 0x1,pdata,zero
+//	setflag zero, 0,pdata
+//	copy timeup, timeup
+	branch disable_blank,zero			
+	call sdp_data_len
+	iadd contr,contr
+	deposit timeup
+	isub contr,null
+	branch search_attrib_end, zero 
+	branch search_attrib_loop_attribs	
+search_attrib_end:
+	force 0,contr
+	force 0,pdata
+	rtn
+	
+
+//search the attribute according the record handle
+//record handle in temp, attribute in regb
+//set the contr to zero if not found
+search_handle_attrib:	
+	bpatchx patch2d_0,mem_patch2d
+	fetch 2,mem_ui_uuid_table
+	iforce contr
+search_handle_attrib_next:
+	ifetch 1,contr
+	branch search_handle_attrib_end, blank
+	lshift pdata,pdata
+	iadd contr, contr
+	ifetch 4,contr
+	isub temp,null						
+	branch search_handl_attrib_found_handle,zero
+	call sdp_get_data
+	iadd contr,contr			
+	branch search_handle_attrib_next	
+search_handl_attrib_found_handle:
+	call sdp_get_data
+	iadd contr,timeup					
+search_handle_attrib_loop_attribs:	
+	increase 1,contr
+	ifetch 2,contr
+	isub regb,null
+	rtn zero							
+	call sdp_data_len
+	iadd contr,contr
+	deposit timeup
+	isub contr,null
+	branch search_handle_attrib_end, zero 
+	branch search_handle_attrib_loop_attribs
+search_handle_attrib_end:
+	force 0,contr
+	rtn	
+
+
+//enable user if find rfcomm channel number, pdata is channel number
+search_rfcomm_cn:
+	arg 0x0400,regb  // attribute protocol edscriptor list
+	call search_handl_attrib_found_handle
+	arg 0x0300,regb  // uuid rfcomm
+	call search_uuid_in_data
+	nrtn user
+	sub rega,3,null
+	branch disable_user,positive
+	ifetch 1,contr
+	bne 0x08,disable_user
+	ifetch 1,contr
+	rtn
+	
+ //input timeup is lenth
+ //input contr is data ptr
+ //return contr is end of uuid; enable user if found uuid
+search_uuid_in_data:
+	bpatchx patch2d_1,mem_patch2d
+	call sdp_get_data
+	copy pdata,rega
+search_uuid_in_data_loop:	
+	ifetch 1,contr
+	and pdata,0x7,loopcnt
+	rshift3 pdata,pdata
+	sub pdata,3,null
+	branch search_uuid_in_data_found_uuid,zero
+	copy loopcnt,pdata
+	beq 5,search_uuid_in_data_found_element_index5
+	beq 6,search_uuid_in_data_found_element_index6
+	beq 7,search_uuid_in_data_found_element_index7
+	increase -1,contr
+	call sdp_get_data
+	iadd contr,contr
+	copy rega,pdata
+	isub temp,rega
+	branch disable_user,zero
+	branch search_uuid_in_data_loop
+	
+search_uuid_in_data_found_element_index5:
+	increase -2,rega
+	increase 1,contr
+	branch search_uuid_in_data_loop
+search_uuid_in_data_found_element_index6:
+	increase -3,rega
+	increase 2,contr
+	branch search_uuid_in_data_loop
+search_uuid_in_data_found_element_index7:
+	increase -5,rega
+	increase 4,contr
+	branch search_uuid_in_data_loop		
+	
+search_uuid_in_data_found_uuid:
+	increase -1,rega
+	copy loopcnt,pdata
+	beq 1,search_uuid_in_data_type_uuid_16
+	beq 2,search_uuid_in_data_type_uuid_32
+	beq 4,search_uuid_in_data_type_uuid_128
+	branch disable_user 
+search_uuid_in_data_type_uuid_128:
+	increase -12,rega
+search_uuid_in_data_type_uuid_32:
+	ifetch 2,contr
+	increase -2,rega
+search_uuid_in_data_type_uuid_16:
+	ifetch 2,contr
+	isub regb,null
+	branch enable_user,zero
+	increase -2,rega
+	branch disable_user,zero
+	branch search_uuid_in_data_loop
+
+	
+
+sdp_send_spp_request:
+	call l2cap_get_sdp_tx_payload
+	copy pdata,contw
+	setarg 6//Search Attr Req
+	istore 1,contw
+	setarg sdp_tid_spp					
+	istore 2,contw
+	setarg 0x0f00 //length15
+	istore 2,contw
+	setarg 0x1a0535
+	istore 3,contw
+	setarg 0x0111
+	lshift16 pdata,pdata //UUID
+	istore 4,contw
+	setarg 0x2600 //max return len
+	istore 2,contw
+	setarg 0x0335
+	istore 2,contw
+	setarg 0x0009
+	istore 2,contw
+	setarg 0x0004
+	istore 2,contw
+	jam 0x14,mem_sdp_tx_pkt_length
+	rtn
+
+
+	
+function_g2:
+	bpatchx patch2d_2,mem_patch2d
+	jam 80,mem_AES_CMAC_data_length
+	arg memdat,contw
+	arg mem_le_srand,contr
+	call memcpy16
+	arg mem_sc_pubkey_local_x_256,contr
+	call memcpy32
+	arg mem_le_pubkey_remote_x_256,contr
+	call memcpy32
+	call inverse_memdat	
+	arg mem_le_mrand,contr
+	call store_inverse_k	
+	call function_AES_CMAC	
+
+	arg mem_AES_CMAC_temp,contw
+	call load_inverse_result
+	setarg 1000000
+	copy pdata,rega
+	fetch 4,mem_AES_CMAC_temp
+	idiv rega
+	call wait_div_end
+	remainder pdata
+	store 4,mem_gkey
+//call ice_break
+	rtn
+
+function_f6_eb:
+	jam 65,mem_AES_CMAC_data_length
+	arg memdat,contw
+	call store_addr_common_a
+	call store_addr_common_b
+	fetch 3,mem_le_pres+1
+	istore 3,contw
+//	arg mem_le_r,contr
+//	call memcpy16	
+	call get_r
+	
+	arg mem_le_mrand,contr
+	call memcpy16
+	arg mem_le_srand,contr
+	call memcpy16
+	call inverse_memdat
+	arg mem_le_mackey ,contr
+	arg mem_AES_CMAC_k,contw
+	call memcpy16
+//	call p_store_inverse_k	
+	branch function_AES_CMAC
+//	arg mem_AES_CMAC_temp,contw
+//	branch p_load_inverse_result
+
+get_r:
+	fetch 4,mem_le_tk
+	istore 4,contw
+	call memset0_4
+	branch memset0_8
+
+function_f6_ea:
+	bpatchx patch2d_3,mem_patch2d
+	jam 65,mem_AES_CMAC_data_length
+	arg memdat,contw
+	call store_addr_common_b
+	call store_addr_common_a
+	fetch 3,mem_le_preq+1
+	istore 3,contw
+//	arg mem_le_r,contr
+//	call memcpy16	
+	call get_r
+	arg mem_le_srand,contr
+	call memcpy16
+	arg mem_le_mrand,contr
+	call memcpy16
+	call inverse_memdat
+	arg mem_le_mackey ,contr
+	arg mem_AES_CMAC_k,contw
+	call memcpy16
+//	call p_store_inverse_k	
+	call function_AES_CMAC
+	arg mem_AES_CMAC_temp,contw
+	branch load_inverse_result
+
+function_f5:
+	jam 32,mem_AES_CMAC_data_length
+	arg mem_le_dhkey_256 ,contr
+	arg memdat,contw
+	call memcpy32
+	call inverse_memdat
+	arg mem_le_slat,contr
+	call store_inverse_k	
+	call function_AES_CMAC
+	arg mem_AES_CMAC_k,contw
+	call store_aes_result
+	arg 1,temp
+	call function_f5_common
+	arg mem_le_ltk,contw
+	call load_inverse_result
+	arg 0,temp
+	call function_f5_common
+	arg mem_le_mackey,contw
+//	branch p_load_inverse_result
+	branch store_aes_result
+
+
+function_f5_common:
+	bpatchx patch2d_4,mem_patch2d
+	jam 53,mem_AES_CMAC_data_length
+	setarg 0x100
+	store 2,memdat
+	call store_addr_common_b
+	call store_addr_common_a
+	arg mem_le_srand,contr
+	call memcpy16
+	arg mem_le_mrand,contr
+	call memcpy16
+//	fetch 4,mem_le_keyid 0x62746c65
+	setarg 0x6c65
+	istore 2,contw
+	setarg 0x6274
+	istore 2,contw
+	istoret 1,contw   //counter
+	call inverse_memdat	
+	branch function_AES_CMAC
+
+store_addr_common_b:
+	fetch 6,mem_le_lap
+	istore 6,contw
+	fetch 1,mem_le_conn_own_addr_type
+	istore 1,contw
+	rtn
+
+store_addr_common_a:
+	fetch 6,mem_le_plap
+	istore 6,contw
+//	setarg 0x2dcfc1
+//	istore 3,contw
+//	setarg 0xa71370
+//	istore 3,contw
+	fetch 1,mem_le_conn_peer_addr_type
+	istore 1,contw
+	rtn
+
+function_f4_ca:
+	jam 65,mem_AES_CMAC_data_length
+	fetch 1,mem_passkey_1bit
+	store 1,memdat
+	arg mem_sc_pubkey_local_x_256,contr
+	call memcpy32
+	arg mem_le_pubkey_remote_x_256,contr
+	call memcpy32
+	call inverse_memdat
+	arg mem_le_mrand,contr
+	call store_inverse_k	
+	branch function_AES_CMAC
+	
+
+function_f4_cb:
+	jam 65,mem_AES_CMAC_data_length
+	fetch 1,mem_passkey_1bit
+	store 1,memdat
+	arg mem_le_pubkey_remote_x_256,contr
+	call memcpy32
+	arg mem_sc_pubkey_local_x_256,contr
+	call memcpy32
+	call inverse_memdat
+	arg mem_le_srand,contr
+	call store_inverse_k	
+	branch function_AES_CMAC
+
+function_AES_CMAC:
+	bpatchx patch2d_5,mem_patch2d
+	call function_AES_CMAC_Generate_Subkey
+//call ice_break
+//	jam 65,mem_AES_CMAC_data_length
+//call ice_break
+	fetch 1,mem_AES_CMAC_data_length
+	copy pdata,temp
+function_ceil16:
+	increase 15,pdata
+	rshift4 pdata,pdata
+	copy pdata,regb
+	branch function_AES_CMAC_set_flag_0_balnk,blank
+	and temp,0x0f,pdata
+	nbranch function_AES_CMAC_set_flag_0,blank
+//	flag =1;
+	arg mem_AES_CMAC_k1,regc
+	arg memdat,pdata
+	increase -16,pdata
+//	iadd temp,pdata
+//	isub rega,rega
+	iadd temp,rega	
+	arg mem_AES_CMAC_M_last,contw
+	arg 4,loopcnt	
+	call xor_loop
+//call ice_break
+//	arg mem_f4_k1,contr
+//	call load_key
+	branch function_AES_CMAC_aes
+
+function_AES_CMAC_set_flag_0_balnk:
+	arg 1,regb
+	arg 0,rega
+//	arg mem_f4_test_data,pdata
+	branch function_AES_CMAC_set_flag_0_common
+//call ice_break
+
+function_AES_CMAC_set_flag_0:
+//	flag = 0;
+	and temp,0x0f,rega
+function_AES_CMAC_set_flag_0_common:
+	arg memdat,pdata
+	iadd temp,pdata
+	isub rega,contr
+//call ice_break
+	arg mem_AES_CMAC_temp,contw
+	call function_AES_CMAC_padding
+//call ice_break
+	arg mem_AES_CMAC_k2,regc
+	arg mem_AES_CMAC_temp,rega
+	arg mem_AES_CMAC_M_last,contw
+	arg 4,loopcnt	
+	call xor_loop	
+//call ice_break
+
+//	arg mem_f4_k2,contr
+//	call load_key
+
+//	branch p_function_f4_aes
+function_AES_CMAC_aes:
+//	arg mem_f4_k,contr
+//	call load_key
+//	arg mem_AES_CMAC_xor,contr
+//	call load_data128
+	call aes_clear_data
+	call aes_init	
+//	arg mem_f4_k,contr
+//	call load_key
+	arg memdat,contr
+function_AES_CMAC_aes_loop:
+//generate_mic_loop:
+	increase -1,regb
+	deposit regb
+	branch function_AES_CMAC_aes_loop_end,blank
+	call load_data128
+	call do_aes_cbc
+	branch function_AES_CMAC_aes_loop
+//generate_mic_end:
+function_AES_CMAC_aes_loop_end:	
+	arg mem_AES_CMAC_temp,contw
+	call store_aes_result
+	arg mem_AES_CMAC_M_last,contr
+	call load_data128
+	call aes_init	
+	arg mem_AES_CMAC_temp,contr
+	call load_data128	
+	branch do_aes_cbc
+
+
+
+load_inverse_result:
+//	arg mem_AES_CMAC_temp,contw
+	copy contw,rega
+	call store_aes_result
+//	arg mem_AES_CMAC_temp,rega
+	arg 16,loopcnt
+	branch inverse_data
+	
+store_inverse_k:
+	arg mem_AES_CMAC_k,contw
+	call memcpy16
+inverse_k:	
+	arg 16,loopcnt
+	arg mem_AES_CMAC_k,rega	
+	branch inverse_data
+	
+inverse_memdat:
+	fetch 1,mem_AES_CMAC_data_length
+	copy pdata,loopcnt
+	arg memdat,rega
+	branch inverse_data
+
+bn_lshift_0_inverse:
+	ifetch 1,rega
+	lshift pdata,pdata
+	isolate1 0,regc
+	setflag true,0,pdata	
+	isolate1 8,pdata
+	setflag true,0,regc	
+	istore 1,rega
+         increase -1,rega
+	loop bn_lshift_0_inverse
+	rtn	
+
+function_AES_CMAC_k1_inverse:
+	arg mem_AES_CMAC_k1,rega
+function_AES_CMAC_inverse_common:
+	increase 15,rega
+	force 16,loopcnt
+	force 0,regc
+	branch  bn_lshift_0_inverse	
+
+function_AES_CMAC_k2_inverse:
+	arg mem_AES_CMAC_k2,rega
+	branch function_AES_CMAC_inverse_common
+	
+
+function_AES_CMAC_Generate_Subkey:
+	arg mem_AES_CMAC_k,contr
+	call load_key
+//	arg mem_AES_CMAC_xor,contr
+//	call aes_load_xor
+	force regidx_xor,regext_index
+	call aes_clear
+	call aes_clear_data
+	call do_aes_ocb
+	
+//	force 0x38,aes_ctrl
+//	force 0x0,aes_ctrl
+//	call wait_aes
+	arg mem_AES_CMAC_k1,contw
+	call store_aes_result
+function_AES_CMAC_k1:
+	bpatchx patch2d_6,mem_patch2d
+	fetch 1,mem_AES_CMAC_k1
+	isolate1 7,pdata
+	nbranch function_AES_CMAC_k1_0,true	
+	call function_AES_CMAC_k1_inverse
+	
+//p_function_f4_k1_xor:
+	arg mem_AES_CMAC_k1,regc
+//	arg mem_AES_CMAC_rb,rega
+	arg mem_AES_CMAC_k1,contw
+//	arg 3,loopcnt
+//	call xor_loop
+	call function_AES_CMAC_xor_rb
+	branch function_AES_CMAC_k2
+function_AES_CMAC_k1_0:	
+	call function_AES_CMAC_k1_inverse
+function_AES_CMAC_k2:
+//call ice_break
+	arg mem_AES_CMAC_k1,contr
+	arg mem_AES_CMAC_k2,contw
+	call memcpy16
+	fetch 1,mem_AES_CMAC_k2
+	isolate1 7,pdata
+	nbranch function_AES_CMAC_k2_inverse,true		
+	call function_AES_CMAC_k2_inverse
+//p_function_f4_k2_xor:
+	arg mem_AES_CMAC_k2,regc
+//	arg mem_AES_CMAC_rb,rega
+	arg mem_AES_CMAC_k2,contw
+//	arg 3,loopcnt
+//	branch xor_loop	
+
+
+//rb:00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 87 
+function_AES_CMAC_xor_rb:
+	arg 3,loopcnt
+function_AES_CMAC_xor_rb_loop:	
+	arg 0,temp
+	call function_AES_CMAC_xor_loop_common	
+	increase 4,regc
+	loop  function_AES_CMAC_xor_rb_loop
+	arg 0x8700,temp
+	lshift16 temp,temp
+function_AES_CMAC_xor_loop_common:	
+	ifetch   4,regc
+	ixor  temp,pdata
+	istore   4,contw	
+	rtn
+		
+
+
+
+//input rega :length <16	contr,contw
+function_AES_CMAC_padding:
+	bpatchx patch2d_7,mem_patch2d
+	arg 16,loopcnt
+	arg 0,pdata
+function_AES_CMAC_padding_loop:
+	isub rega,null
+	branch function_AES_CMAC_padding_beq_length,zero
+	branch function_AES_CMAC_padding_big_length,positive
+	ifetcht 1,contr
+	istoret 1,contw
+function_AES_CMAC_padding_loop2:	
+	increase 1,pdata
+	loop function_AES_CMAC_padding_loop
+	rtn
+function_AES_CMAC_padding_beq_length:	
+	arg 0x80,temp
+function_AES_CMAC_padding_common:
+	istoret 1,contw
+	branch  function_AES_CMAC_padding_loop2
+
+function_AES_CMAC_padding_big_length:
+	arg 0,temp
+	branch function_AES_CMAC_padding_common
+
+	
+generate_kinit:
+	call function_e22
+	arg mem_input_store,contr
+	arg mem_kinit,contw		
+	branch memcpy16
+
+
+function_e21:	
+	disable user
+	call function_expand
+	arg mem_random_number,contr
+	arg mem_x,contw
+	force 15,loopcnt
+	call memcpy			
+	ifetch 1,contr
+	xor_into 6,pdata
+	istore 1,contw
+	setarg mem_y
+	store 2,memp_ar_input
+	setarg mem_x
+	store 2,memp_ar_key
+	set1 mark_ar2,mark
+	branch function_ar
+
+
+	
+function_e22:		
+	fetcht 1,mem_pin_length
+	force 16,regb			
+	add temp,6,regc		
+	sub regc,16,null		
+	branch function_e22_pin_init,positive 
+	force 16,regc
+function_e22_pin_init:			
+	arg mem_x,contw
+function_e22_genx_pin:
+	arg mem_pin,contr
+	copy temp,loopcnt
+	disable user
+function_e22_genx_loop:
+	ifetch 1,contr
+	istore 1,contw
+	increase -1,regb
+	branch function_e22_genx_end,zero
+	loop function_e22_genx_loop
+	branch function_e22_genx_pin,user
+	enable user
+	force 6,loopcnt
+	copy rega,contr
+	branch function_e22_genx_loop
+function_e22_genx_end:
+	arg mem_random_number,contr
+	arg mem_y,contw
+	call memcpy16
+	fetch 1,mem_y15
+	ixor regc,pdata
+	store 1,mem_y15	
+	setarg mem_y
+	store 2,memp_ar_input
+	setarg mem_x
+	store 2,memp_ar_key
+	set1 mark_ar2,mark
+	branch function_ar
+
+
+
+
+function_e1:	
+	disable user
+	call function_expand
+	branch function_hash
+
+function_e3:
+	arg mem_aco,rega
+	enable user
+	call function_expand
+	call function_hash
+	arg mem_input_store,contr
+	arg mem_kc,contw
+	branch memcpy16
+
+	
+function_hash:
+	setarg mem_random_number
+	store 2,memp_ar_input
+	setarg mem_link_key
+	store 2,memp_ar_key
+	set0 mark_ar2,mark
+	call function_ar
+	arg mem_input_store,rega
+	arg mem_random_number,regb
+	arg mem_x,contw
+	call xor16
+	arg mem_x,rega
+	arg mem_y,regb
+	copy regb,contw
+	enable user
+	call add16
+	call key_offset
+	setarg mem_y
+	store 2,memp_ar_input
+	setarg mem_x
+	store 2,memp_ar_key
+	set1 mark_ar2,mark
+	branch function_ar
+	
+
+	
+function_ar:
+	jam 0,mem_ar_hround
+	fetch 2,memp_ar_key
+	iforce contr
+	arg mem_key_store,contw
+	call memcpy16
+	fetch 2,memp_ar_input
+	iforce contr
+	arg mem_input_store,contw
+	call memcpy16
+	
+function_ar_loop:
+	call key_scheduling
+	disable user
+	bmark0 mark_ar2,function_ar_original
+	fetch 1,mem_ar_hround
+	bne 4,function_ar_original
+	fetch 2,memp_ar_input
+	iforce regb
+	call xor_mod32_ar2
+function_ar_original:
+	call xor_mod32
+	call el_boxes
+	fetch 1,mem_ar_hround
+	increase 1,pdata
+	store 1,mem_ar_hround
+
+	call key_scheduling
+	enable user
+	call xor_mod32
+	call pht
+	call permute
+	call pht
+	call permute
+	call pht
+	call permute
+	call pht
+	fetch 1,mem_ar_hround
+	increase 1,pdata
+	store 1,mem_ar_hround
+	bne 16,function_ar_loop
+	call key_scheduling
+	disable user
+	branch xor_mod32
+	
+
+
+key_scheduling:
+	fetch 1,mem_ar_hround
+	arg mem_key_store,contr
+	branch key_sched_zero,blank
+	iforce regb      			
+	force 17,loopcnt
+	copy contr,contw
+key_rotateloop:
+	ifetch 1,contr
+	lshift3 pdata,temp
+	rshift2 pdata,pdata
+	rshift3 pdata,pdata
+	ior temp,pdata
+	istore 1,contw
+	loop key_rotateloop
+	setarg mem_key_store
+	iadd regb,contr
+	force 16,loopcnt    
+	arg mem_round_key,contw
+key_select_octet_loop:
+	ifetch 1,contr
+	istore 1,contw
+	compare mem_key_store_end,contr,0xff
+	nbranch key_select_octet_nwrap,true
+	increase -17,contr
+key_select_octet_nwrap:
+	loop key_select_octet_loop
+	force 0,rega         
+	add regb,-1,regc    
+	lshift2 regc,regc
+	lshift2 regc,regc
+	call enable_authrom
+	setarg mem_b_box
+	iadd regc,regc       
+	arg mem_round_key,contw
+	force 16,loopcnt
+bias_round_key_loop:
+	ifetcht 1,regc
+	ifetch 1,contw
+	iadd temp,pdata
+	istore 1,contw
+	increase 1,regc
+	loop bias_round_key_loop
+	branch disable_authrom
+
+key_sched_zero:    
+	force 16,loopcnt
+	force 0,temp
+create_byte_16_loop:
+	ifetch 1,contr
+	ixor temp,temp
+	loop create_byte_16_loop
+	deposit temp
+	istore 1,contr    	
+	arg mem_key_store,contr
+	arg mem_round_key,contw
+	branch memcpy16
+
+xor_mod32:     
+	arg mem_round_key,regb
+xor_mod32_ar2:
+	force 16,loopcnt
+	arg mem_input_store,rega
+	copy rega,contw
+xor_mod32_loop:	
+	ifetcht 1,rega
+	ifetch 1,regb
+	ixor temp,alarm
+	and loopcnt,3,regc
+	nbranch xor_mod32_invert,user
+	xor_into 3,regc
+xor_mod32_invert:
+	sub regc,1,regc
+	branch xor_even,positive
+	iadd temp,alarm
+xor_even:
+	deposit alarm
+	istore 1,contw
+	increase 1,rega
+	increase 1,regb
+	loop xor_mod32_loop
+	rtn
+
+el_boxes:
+	call enable_authrom
+	force 16,loopcnt
+	arg mem_input_store,rega
+el_box_loop:	
+	ifetch 1,rega
+	arg mem_e_box,contr
+	and loopcnt,3,regc
+	sub regc,1,null
+	branch e_boxes,positive
+	arg mem_l_box,contr
+e_boxes:
+	iadd contr,contr
+	ifetch 1,contr
+	istore 1,rega
+	increase 1,rega
+	loop el_box_loop
+	branch disable_authrom
+
+pht:				
+	force 8,loopcnt
+	arg mem_input_store,contr
+	copy contr,contw
+pht_loop:
+	ifetch 1,contr
+	iforce rega
+	ifetch 1,contr
+	iforce regb
+	lshift rega,pdata
+	iadd regb,pdata
+	istore 1,contw
+	deposit rega
+	iadd regb,pdata
+	istore 1,contw
+	loop pht_loop
+	rtn
+
+
+permute:			
+	setarg 0x8ae42c
+	iforce temp
+	force 7,loopcnt
+	call permute_exchange
+	setarg 0xd751b
+	iforce temp
+	force 5,loopcnt
+	call permute_exchange
+	fetch 1,mem_input_store+15
+	iforce rega
+	fetch 1,mem_input_store+3
+	store 1,mem_input_store+15
+	deposit rega
+	store 1,mem_input_store+3
+	rtn
+
+permute_exchange:
+	and temp,0xf,regb
+permute_loop:
+	and temp,0xf,pdata
+	arg mem_input_store,contw
+	iadd contw,contw
+	ifetch 1,contw
+	iforce regc
+	deposit rega
+	istore 1,contw
+	copy regc,rega
+	rshift4 temp,temp
+	loop permute_loop	
+	setarg mem_input_store
+	iadd regb,contw
+	deposit rega
+	istore 1,contw
+	rtn
+
+add16:
+	enable user
+	branch xor_add16
+
+xor16:
+	disable user
+xor_add16:	
+	force 16,loopcnt	
+xoradd_loop:
+	ifetcht 1,rega
+	ifetch 1,regb
+	branch xoradd_add,user
+	ixor temp,pdata
+	branch xoradd_store
+xoradd_add:	
+	iadd temp,pdata
+xoradd_store:	
+	istore 1,contw
+	increase 1,rega
+	increase 1,regb
+	loop xoradd_loop
+	rtn
+
+	
+function_expand:		
+	arg mem_y,contw
+	ifetch 6,rega
+	istore 6,contw
+	branch expand_12,user
+	ifetch 6,rega
+	branch expand_cont
+expand_12:
+	ifetch 6,contr
+expand_cont:
+	istore 6,contw
+	ifetch 4,rega
+	istore 4,contw
+	rtn
+
+key_offset:
+	arg mem_link_key,contr
+	arg mem_x,contw
+	arg 0,temp
+	setarg 0x8395a7
+	call concatenate_temp24
+	setarg 0xb3c1df
+	call concatenate_temp24
+	setarg 0xe5e9
+	call concatenate_temp16
+	copy temp,regab
+	disable user
+	call key_addxor
+	copy regab,temp
+	enable user
+	branch key_addxor
+
+key_addxor:
+	force 8,loopcnt
+key_addxor_loop:	
+	ifetch 1,contr
+	compare 1,loopcnt,1
+	branch key_high,user
+	branch key_xor,true
+key_add:	
+	iadd temp,pdata
+	branch key_store
+key_high:
+	branch key_add,true
+key_xor:
+	ixor temp,pdata
+key_store:
+	istore 1,contw
+	rshift8 temp,temp
+	loop key_addxor_loop
+	rtn
+
+copy_aco:
+	fetch 6,mem_input_store+4
+	store 6,mem_aco
+	ifetch 6,contr
+	istore 6,contw
+	rtn
+	
+concatenate_temp24:
+	lshift8 temp,temp
+concatenate_temp16:
+	lshift16 temp,temp
+	ior temp,temp
+	rtn
+
+
+
+loop1:	
+	branch loop1
+
+
+
+generate_stk:
+	bpatchx patch2e_0,mem_patch2e
+	call function_s1
+	arg mem_le_ltk,contw
+	branch store_aes_result
+
+	
+authenticate_rconfirm:
+	arg mem_le_srand,contw
+	branch authenticate_mconfirm,master
+	arg mem_le_mrand,contw
+authenticate_mconfirm:
+	copy contr,rega
+	call memcpy16
+	call function_c1
+	arg mem_le_rconfirm,contr
+	branch compare_res
+
+generate_confirm:
+	arg mem_le_mrand,rega
+	branch generate_mrand,master
+	arg mem_le_srand,rega
+generate_mrand:
+	copy rega,contw
+	call generate_random
+	branch function_c1
+
+generate_sk:
+	arg mem_le_skdm,contr
+	call load_data128
+	arg mem_le_ltk,contr
+	call load_regext
+	force 0x38,aes_ctrl
+	force 0x0,aes_ctrl
+	call wait_aes
+	arg mem_le_sk,contw
+	branch store_aes_result
+
+
+//input temp:counter; rega:len	
+ccm_b0:
+	force regidx_xor,regext_index				
+	force 0x49,pdata
+	branch iv_common
+	
+	
+first_block_counter:
+	force 0x49,pdata
+	branch first_block
+first_block_data:
+	force 1,pdata
+first_block:
+	force regidx_data,regext_index			
+iv_common:
+	lshift8 temp,regext
+	ior regext,regext
+	increase 1,regext_index
+	rshift8 temp,regext
+	rshift16 regext,regext
+	fetch 2,mem_ccm_iv
+	lshift16 pdata,pdata
+	ior regext,regext				
+	increase 1,regext_index
+	ifetchr regext, 4,contr					
+	increase 1,regext_index
+	ifetch 2,contr					
+	byteswap rega,regext
+	lshift16 regext,regext
+	ior regext,regext
+	increase 1,regext_index
+	rtn
+
+
+		
+generate_mic:
+	add regc,1,contr
+	ifetch 1,contr
+	iforce rega
+	call first_block_counter		//B0
+	call do_aes_ocb
+
+	force regidx_data,regext_index			
+	ifetch 1,regc
+	and_into 0x3,pdata
+	lshift16 pdata,regext
+	set1 8,regext
+	call clear_hidata	//B1
+	call do_aes_cbc
+
+	copy rega,loopcnt
+	add regc,2,contr
+	call padding_data	//数据填充
+generate_mic_loop:
+	call aes_load_data
+	call do_aes_cbc
+	deposit loopcnt
+	branch generate_mic_end,blank
+	branch generate_mic_loop
+generate_mic_end:
+	force regidx_result,regext_index
+	deposit regext
+	store 4,mem_le_mic
+	rtn
+
+aes_crypt_data:
+	increase 1,rega
+	call first_block_data
+	copy regc,contr
+	call aes_load_xor
+	call do_aes_ctr
+	call store_enc_data
+	increase 16,regc
+	increase -16,regb
+	branch aes_crypt_data,positive
+	rtn
+
+
+
+
+//input regc input playload addr; 
+ccm_br_enc_new:
+	call ccm_init_common
+	bpatchx patch2e_1,mem_patch2e
+	arg mem_kc,contr   
+	call load_key
+	
+	jam 0,core_ccm_aad0 
+	and type,0x0f,pdata
+	lshift3 pdata,pdata
+	ior am_addr,pdata  
+	store 1,core_ccm_aad1
+	fetch 1,mem_llid
+	store 1,core_ccm_aad2
+
+	storer regc,2,core_ccm_input_playload_addr
+	storer regc,2,core_ccm_output_playload_addr
+	
+	fetchr rega,2,mem_ccm_len
+	fetcht 5,mem_ccm_pcnt_tx			
+	call ccm_br_check_0_length_continuation
+	call ccm_b0
+	jam 2,core_ccm_ctrl
+	jam 3,core_ccm_ctrl
+
+	fetch 2,mem_ccm_len
+	store 2,core_ccm_inptr
+	increase 4,pdata
+	store 2,mem_ccm_len
+	copy regc,pdata
+	iadd rega,rega
+	call wait_ccm_done
+	arg regidx_result,regext_index
+	istorer regext, 4 ,rega
+	storer regext, 4,mem_le_mic
+	rtn
+
+ccm_br_pcnt_tx_add:
+	fetch 5,mem_ccm_pcnt_tx
+	increase 1,pdata
+	store 5,mem_ccm_pcnt_tx
+	branch ccm_br_pcnt_tx_set
+
+
+ccm_br_check_0_length_continuation:
+	fetch 1,mem_llid
+	rtnne LLID_L2CAP_CONT
+	fetch 2,mem_ccm_len
+	nrtn blank
+	set1 BR_CCM_0_LENGTH_CONTINUATION,temp
+	rtn
+
+
+ccm_br_pcnt_tx_set:
+	fetch 1,mem_ccm_pcnt_tx+4
+ 	and pdata,0x0f,pdata
+ 	or pdata,0x20,pdata
+ 	store 1,mem_ccm_pcnt_tx+4
+ 	rtn
+ 	
+ccm_br_pcnt_rx_set:
+	fetch 1,mem_ccm_pcnt_rx+4
+ 	and pdata,0x0f,pdata
+ 	store 1,mem_ccm_pcnt_rx+4
+ 	rtn
+ 	
+ccm_br_decrypt_new:
+	copy contw,pdata
+	fetcht 2,mem_len
+	increase 4,temp
+	isub temp,pdata
+	store 2,mem_ccm_rx_ptr
+	store 2,core_ccm_input_playload_addr
+	store 2,core_ccm_output_playload_addr
+
+	call disable_user2
+	call ccm_init_common
+	arg mem_kc,contr 
+	call load_key
+	
+	jam 0,core_ccm_aad0 
+	fetch 1,mem_rx_type
+	and pdata,0x0f,pdata
+	lshift3 pdata,pdata
+	ior am_addr,pdata  
+	store 1,core_ccm_aad1
+	fetch 1,mem_lch_code
+	and pdata,0x3,pdata
+	store 1,mem_llid
+	store 1,core_ccm_aad2
+	
+	fetchr rega, 2,mem_len
+	storer rega,2,mem_ccm_len
+	fetch 2,mem_ccm_rx_ptr
+	iadd rega,contr
+	force regidx_data,regext_index
+	ifetchr regext, 4,contr
+	storer  regext,4,mem_le_peer_mic
+	fetcht 5,mem_ccm_pcnt_rx		
+	call ccm_br_check_0_length_continuation
+	call ccm_b0
+	jam 6,core_ccm_ctrl
+	jam 7,core_ccm_ctrl
+
+	fetch 2,mem_len
+	store 2,core_ccm_inptr
+	call wait_ccm_done
+	fetch 1,core_misc_status
+	rtnbit0 7
+	branch enable_user2
+
+
+ccm_br_pcnt_rx_add:	
+	rtnmark1 mark_old_packet
+	fetcht 4,mem_le_peer_mic
+//	fetch 4,mem_ccm_last_mic			
+//	isub temp,pdata
+///	rtn blank
+	storet 4,mem_ccm_last_mic
+	fetch 5,mem_ccm_pcnt_rx
+	increase 1,pdata
+	store 5,mem_ccm_pcnt_rx
+	branch ccm_br_pcnt_rx_set
+
+
+ 	
+le_decrypt_new:
+ 	call ccm_init_common
+	jam 0,core_ccm_aad0 
+	jam 1,core_ccm_aad1
+	fetch 1,mem_le_rxbuf_data_header
+	and_into 0x3,pdata
+	store 1,core_ccm_aad2
+	
+	setarg mem_le_rxbuf_data_payload
+	store 2,core_ccm_input_playload_addr
+	store 2,core_ccm_output_playload_addr
+
+	fetchr rega, 1,mem_le_rxbuf_data_length
+	increase -4,rega
+	nbranch disable_blank,positive
+	storer rega, 1,mem_le_rxbuf_data_length
+	setarg mem_le_rxbuf_data_payload
+	iadd rega,contr
+	force regidx_data,regext_index
+	ifetchr regext, 4,contr
+	storer  regext,4,mem_le_peer_mic
+	fetcht 5,mem_ccm_pcnt_rx				
+	call ccm_b0
+	jam 6,core_ccm_ctrl
+	jam 7,core_ccm_ctrl
+	fetch 1,mem_le_rxbuf_data_length
+	store 2,core_ccm_inptr
+	call wait_ccm_done
+	fetch 1,core_misc_status
+	bbit0 7, disable_blank
+	fetcht 4,mem_le_peer_mic
+	fetch 4,mem_ccm_last_mic			
+	isub temp,pdata
+	rtn blank
+	storet 4,mem_ccm_last_mic
+	fetch 5,mem_ccm_pcnt_rx
+	increase 1,pdata
+	set1 LE_CCM_DIRECTIONBIT,pdata
+	store 5,mem_ccm_pcnt_rx
+	force 0,pdata
+	rtn
+
+
+le_encrypt_new:
+	call le_encrypt_new_start
+	setarg mem_le_txpayload
+	iadd rega,rega
+	call wait_ccm_done
+	arg regidx_result,regext_index
+	istorer regext, 4 ,rega
+	rtn
+
+
+le_encrypt_new_start:
+	call ccm_init_common
+	bpatchx patch2e_2,mem_patch2e
+	jam 0,core_ccm_aad0 
+	jam 1,core_ccm_aad1
+	fetch 1,mem_le_txheader
+	and_into 0x3,pdata
+	store 1,core_ccm_aad2
+	fetch 2,mem_contr
+	store 2,core_ccm_input_playload_addr
+	setarg mem_le_txpayload
+	store 2,core_ccm_output_playload_addr
+	
+	fetchr rega,1,mem_le_txlen
+	fetcht 5,mem_ccm_pcnt_tx				
+	call ccm_b0
+	jam 2,core_ccm_ctrl
+	jam 3,core_ccm_ctrl
+	
+	fetch 1,mem_le_txlen
+	store 2,core_ccm_inptr
+	increase 4,pdata
+	store 1,mem_le_txlen
+	fetch 5,mem_ccm_pcnt_tx
+	increase 1,pdata
+ 	set0 LE_CCM_DIRECTIONBIT,pdata
+	store 5,mem_ccm_pcnt_tx
+	rtn
+
+
+ccm_wait_enc:
+	fetch 2,core_ccm_outptr
+	isub temp,null
+	rtn zero 
+	nrtn blank
+//	call assert
+	branch ccm_wait_enc
+
+ccm_check_enc_done:
+	fetch 1,core_misc_status
+	bbit0 6,assert
+ccm_enc_done:
+	setarg mem_le_txpayload
+	iadd temp,contw	
+	arg regidx_result,regext_index
+	istorer regext, 4 ,contw	
+	branch ccm_ctrl_clr
+	
+ccm_init_common:
+	bpatchx patch2e_3,mem_patch2e
+	force regidx_result,regext_index
+	call aes_clear
+	call aes_clear_data
+ 	setarg 0
+	store 2,core_ccm_inptr
+	rtn
+	
+wait_ccm_done:
+	fetch 1,core_misc_status
+	bbit0 6,wait_ccm_done
+ccm_ctrl_clr:
+	jam 0,core_ccm_ctrl
+	rtn
+
+
+wait_aes:
+	nbranch wait_aes,aes_ready
+	rtn
+
+do_aes_ocb:
+	force 0x30,aes_ctrl
+	force 0x0,aes_ctrl
+	branch wait_aes
+
+do_aes_cbc:
+	force 0x32,aes_ctrl
+	force 0x2,aes_ctrl
+	branch wait_aes
+
+do_aes_ctr:
+	force 0x34,aes_ctrl
+	force 0x4,aes_ctrl
+	branch wait_aes
+
+	
+aes_init:
+	force 1,aes_ctrl
+	force 0,aes_ctrl
+	rtn
+function_s1:
+	force regidx_data,regext_index
+	fetch 4,mem_le_mrand
+	iforce regext
+	increase 1,regext_index
+	ifetch 4,contr
+	iforce regext
+	increase 1,regext_index
+	fetch 4,mem_le_srand
+	iforce regext
+	increase 1,regext_index
+	ifetch 4,contr
+	iforce regext
+	increase 1,regext_index
+	call aes_clear
+	increase -4,regext_index
+	fetch 4,mem_le_tk
+	copy pdata,regext
+	increase 4,regext_index
+	force 0x38,aes_ctrl
+	force 0x8,aes_ctrl
+	branch wait_aes
+
+	
+function_c1:
+	bpatchx patch2e_4,mem_patch2e
+	fetch 6,mem_le_lap
+	fetcht 6,mem_le_plap
+	branch function_c1_master,master
+	fetch 6,mem_le_plap
+	fetcht 6,mem_le_lap
+function_c1_master:
+	force regidx_xor,regext_index
+	copy temp,regext
+	increase 1,regext_index
+	rshift32 temp,regext
+	lshift16 pdata,pdata
+	ior regext,regext
+	increase 1,regext_index
+	rshift32 pdata,regext
+	increase 1,regext_index
+	force 0,regext					
+	force 0,pdata
+	fetch 1,mem_le_conn_peer_addr_type
+	fetcht 1,mem_le_adv_own_addr_type
+	nbranch function_c1_irat,master
+	//conn as master
+	fetch 1,mem_le_conn_own_addr_type
+	fetcht 1,mem_le_conn_peer_addr_type
+function_c1_irat:
+	store 1,mem_le_iat
+	storet 1,mem_le_rat
+	force regidx_data,regext_index
+	arg mem_le_iat,regb
+	force 4,loopcnt
+function_c1_loop1:
+	ifetch 4,rega		
+	ifetcht 4,regb
+	ixor temp,regext
+	increase 1,regext_index
+	increase 4,rega
+	increase 4,regb
+	loop function_c1_loop1		
+	call aes_clear				
+	increase -4,regext_index
+	fetch 4,mem_le_tk
+	copy pdata,regext
+	increase 4,regext_index
+	force 0x38,aes_ctrl
+	force 0xc,aes_ctrl
+	call wait_aes
+
+	call aes_clear_data
+	force 0x3a,aes_ctrl
+	force 0x8,aes_ctrl
+	branch wait_aes
+
+padding_data:
+	compare 0,loopcnt,3
+	rtn true
+	deposit contr
+	iadd loopcnt,contw
+	force 0,pdata
+padding_loop:
+	istore 1,contw
+	increase 1,loopcnt
+	compare 0,loopcnt,3
+	rtn true
+	branch padding_loop
+
+aes_load_data:
+	force regidx_data,regext_index
+load_data_loop:
+	deposit loopcnt
+	branch load_data_padding,blank
+	ifetch 4,contr
+	increase -4,loopcnt
+load_data_padding:
+	iforce regext
+	increase 1,regext_index
+	compare regidx_key,regext_index,0xf
+	rtn true
+	branch load_data_loop
+
+aes_load_xor:
+	force regidx_xor,regext_index
+	branch load_regext
+load_key:
+	force regidx_key,regext_index
+	branch load_regext
+load_data128:
+	force regidx_data,regext_index
+load_regext:
+	force 4,loopcnt
+load_regext_loop:
+	ifetch 4,contr
+	iforce regext
+	increase 1,regext_index
+	loop load_regext_loop
+	rtn
+
+load_sk:
+	arg mem_le_sk,contr
+	branch load_key
+
+clear_hidata:
+	force 4,loopcnt
+	branch clear_data_rest
+
+regext_clear:
+	force 0,regext_index
+	force 16,loopcnt
+	branch clear_loop
+
+aes_clear_data:
+	force regidx_data,regext_index
+aes_clear:
+	force 4,loopcnt
+clear_loop:
+	force 0,regext
+clear_data_rest:
+	increase 1,regext_index
+	loop clear_loop
+	rtn
+
+store_aes_result:
+	force regidx_result,regext_index
+	force 4,loopcnt
+send_aes_result_loop:
+	deposit regext
+	istore 4,contw
+	increase 1,regext_index
+	loop send_aes_result_loop
+	rtn
+
+store_enc_data:
+	force regidx_result,regext_index
+	copy regc,contw
+	add regb,1,loopcnt
+	sub loopcnt,15,null
+	branch store_enc_loop,positive
+	force 16,loopcnt
+store_enc_loop:
+	deposit regext
+	sub loopcnt,3,null
+	branch store_enc_byte,positive
+	istore 4,contw
+	increase -4,loopcnt
+	rtn zero
+	increase 1,regext_index
+	branch store_enc_loop
+store_enc_byte:
+	istore 1,contw
+	rshift8 pdata,pdata
+	loop store_enc_byte
+	rtn
+	
+	
+compare_res:
+	force regidx_result,regext_index
+	force 4,loopcnt
+compare_res_loop:
+	ifetch 4,contr
+	isub regext,null
+	nrtn zero
+	increase 1,regext_index
+	loop compare_res_loop
+	force 0,null
+	rtn
+
+enable_authrom:
+	fetch 1,core_clkoff
+	set0 CLOCK_OFF_AUTH_ROM,pdata
+	store 1,core_clkoff
+	rtn
+
+disable_authrom:
+	fetch 1,core_clkoff
+	set1 CLOCK_OFF_AUTH_ROM,pdata
+	store 1,core_clkoff
+	rtn
+
+//24 mem_p :ff ff ff ff ff ff ff ff fe ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
+//24 mem_a: fc ff ff ff ff ff ff ff fe ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
+//24 mem_b: b1 b9 46 c1 ec de b8 fe 49 30 24 72 ab e9 a7 0f e7 80 9c e5 19 05 21 64
+//24 mem_gx :12 10 ff 82 fd 0a ff f4 00 88 a1 43 eb 20 bf 7c f6 90 30 b0 0e a8 8d 18
+//24 mem_gy :11 48 79 1e a1 77 f9 73 d5 cd 24 6b ed 11 10 63 78 da c8 ff 95 2b 19 07
+//32 memh0   :19 cd e0 5b ab d9 83 1f 8c 68 05 9b 7f 52 0e 51 3a f5 4f a5 72 f3 6e 3c 85 ae 67 bb 67 e6 09 6a //use for sha
+init_memp:
+	arg mem_p,contw
+	setsect 0,0x3ffff
+	setsect 1,0x3ffff
+	setsect 2,0x3ffff
+	setsect 3,0x3fbff
+	istore 9,contw
+	setsect 0,0x3ffff
+	setsect 1,0x3ffff
+	setsect 2,0x3ffff
+	setsect 3,0x3ffff
+	istore 9,contw
+	setsect 0,0x3ffff
+	setsect 1,0x3ffff
+	setsect 2,0x3cfff
+	setsect 3,0x3ffff
+	istore 9,contw
+	setsect 0,0x3ffff
+	setsect 1,0x3ffff
+	setsect 2,0x3ffef
+	setsect 3,0x3ffff
+	istore 9,contw
+	setsect 0,0x3ffff
+	setsect 1,0x3ffff
+	setsect 2,0x3ffff
+	setsect 3,0x3ffff
+	istore 9,contw
+	setsect 0,0x3ffff
+	setsect 1,0x26c7f
+	setsect 2,0x146b
+	setsect 3,0x37bb3
+	istore 9,contw
+	setsect 0,0x1feb8
+	setsect 1,0x10c12
+	setsect 2,0x2b722
+	setsect 3,0x29fa6
+	istore 9,contw
+	setsect 0,0xe70f
+	setsect 1,0x16720
+	setsect 2,0x519e
+	setsect 3,0x19084
+	istore 9,contw
+	setsect 0,0x31012
+	setsect 1,0x360bf
+	setsect 2,0x3f0af
+	setsect 3,0x3d3
+	istore 9,contw
+	setsect 0,0x3a188
+	setsect 1,0x3ad0
+	setsect 2,0x3cbf2
+	setsect 3,0x243d9
+	istore 9,contw
+	setsect 0,0x2b030
+	setsect 1,0x36a03
+	setsect 2,0x11188
+	setsect 3,0x1e520
+	istore 9,contw
+	setsect 0,0x3a11e
+	setsect 1,0xfe5d
+	setsect 2,0xdd57
+	setsect 3,0x1ac93
+	istore 9,contw
+	setsect 0,0x11ed
+	setsect 1,0x218c4
+	setsect 2,0x8da7
+	setsect 3,0x257ff
+	istore 9,contw
+	setsect 0,0x3192b
+	setsect 1,0x34641
+	setsect 2,0x1be0c
+	setsect 3,0x366ad
+	istore 9,contw
+	setsect 0,0x1f83
+	setsect 1,0x15a23
+	setsect 2,0x3f9b0
+	setsect 3,0x3949
+	istore 9,contw
+	setsect 0,0x13a51
+	setsect 1,0x153fd
+	setsect 2,0x3372a
+	setsect 3,0xf1bb
+	istore 9,contw
+	setsect 0,0x3ae85
+	setsect 1,0x1eed9
+	setsect 2,0x9e66
+	setsect 3,0x1a8
+	istore 8,contw
+	rtn
+	
+
+// mem_p_256:ff ff ff ff ff ff ff ff ff ff ff ff 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 ff ff ff ff
+// mem_a_256: fc ff ff ff ff ff ff ff fe ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff b1 b9 46 c1 ec de b8 fe
+// mem_gx_256: 96 c2 98 d8 45 39 a1 f4 a0 33 eb 2d 81 7d 03 77 f2 40 a4 63 e5 e6 bc f8 47 42 2c e1 f2 d1 17 6b
+// mem_gy_256: f5 51 bf 37 68 40 b6 cb ce 5e 31 6b 57 33 ce 2b 16 9e 0f 7c 4a eb e7 8e 9b 7f 1a fe e2 42 e3 4f
+// mem_le_slat :be 83 60 5a db 0b 37 60 38 a5 f5 aa 91 83 88 6c
+init_memp_256:
+ 	arg mem_p_256,contw
+        setsect 0,0x3ffff
+        setsect 1,0x3ffff
+        setsect 2,0x3ffff
+        setsect 3,0x3ffff
+        istore 9,contw
+        setsect 0,0x3ffff
+        setsect 1,0x3f
+        setsect 2,0x0
+        setsect 3,0x0
+        istore 9,contw
+        setsect 0,0x0
+        setsect 1,0x0
+        setsect 2,0x1000
+        setsect 3,0x0
+        istore 9,contw
+        setsect 0,0x3ff00
+        setsect 1,0x3ffff
+        setsect 2,0x3ffcf
+        setsect 3,0x3ffff
+        istore 9,contw
+        setsect 0,0x3ffff
+        setsect 1,0x3ffff
+        setsect 2,0x3ffff
+        setsect 3,0x3ff
+        istore 9,contw
+        setsect 0,0x0
+        setsect 1,0x0
+        setsect 2,0x0
+        setsect 3,0x0
+        istore 9,contw
+        setsect 0,0x10000
+        setsect 1,0x0
+        setsect 2,0x3f000
+        setsect 3,0x3ffff
+        istore 9,contw
+        setsect 0,0x296ff
+        setsect 1,0x22630
+        setsect 2,0x3945d
+        setsect 3,0x3d284
+        istore 9,contw
+        setsect 0,0x333a0
+        setsect 1,0x4b7a
+        setsect 2,0x37d8
+        setsect 3,0x3c9dc
+        istore 9,contw
+        setsect 0,0x3a440
+        setsect 1,0x1b958
+        setsect 2,0x38bce
+        setsect 3,0x1091f
+        istore 9,contw
+        setsect 0,0x2e12c
+        setsect 1,0x1f47c
+        setsect 2,0x356b1
+        setsect 3,0x2fd47
+        istore 9,contw
+        setsect 0,0x6837
+        setsect 1,0x2ed90
+        setsect 2,0x1ecec
+        setsect 3,0x1acc5
+        istore 9,contw
+        setsect 0,0x23357
+        setsect 1,0x18af3
+        setsect 2,0xf9e1
+        setsect 3,0x129f0
+        istore 9,contw
+        setsect 0,0x2e7eb
+        setsect 1,0x3e6e3
+        setsect 2,0x3e1a7
+        setsect 3,0x10b8b
+        istore 9,contw
+        setsect 0,0x24fe3
+        setsect 1,0x20ef
+        setsect 2,0x1b5a6
+        setsect 3,0xdc2f
+        istore 9,contw
+        setsect 0,0x13860
+        setsect 1,0x2bd69
+        setsect 2,0x391a
+        setsect 3,0x1b222
+        istore 9,contw
+        rtn
+
+
+publickey_init:
+	fetch 1,mem_ssp_enable
+	nbranch sp_initialize,blank
+	branch sp_initialize_256
+
+sp_calc_sequence_256_check:
+	bpatchx patch2e_5,mem_patch2e
+	fetch 1,mem_ssp_enable
+	rtn blank
+	fetch 1,mem_sp_local_key_invalid
+	rtnne SP_KEY_VALID
+	fetch 1,mem_secure_connections_enable
+	rtn blank
+	fetch 1,mem_sc_local_key_invalid
+	rtneq SP_KEY_VALID_256
+	fetch 2,mem_ui_state_map
+	bbit1 UI_STATE_BT_CONNECTED,stop_publickey_calc_256
+	fetch 1,mem_sc_calc
+	beq SP_CALC_STANDBY,sp_initialize_256
+	rtn
+stop_publickey_calc_256:
+	jam SP_CALC_STANDBY,mem_sc_calc	
+	rtn
+
+
+sp_br_secure_connection_enable:
+	fetch 1,mem_secure_connections_enable
+	set1 SECURE_CONNECTIONS_BR_BIT,pdata
+	store 1,mem_secure_connections_enable
+	rtn
+	
+sp_br_secure_connection_disable:
+	fetch 1,mem_secure_connections_enable
+	set0 SECURE_CONNECTIONS_BR_BIT,pdata
+	store 1,mem_secure_connections_enable
+	rtn
+	
+
+sp_initialize:
+	bpatchx patch2e_6,mem_patch2e
+	fetch 1,mem_ssp_enable 
+	nbranch sp_pubkey_calc, blank
+sp_reset:
+	call sp_clear_flags
+	jam SP_KEY_INVALID,mem_sp_local_key_invalid
+	jam SP_CALC_STANDBY,mem_sp_calc
+	rtn
+	
+sp_wait_pubkey_calc_done:
+	fetch 1,mem_ssp_enable
+	rtn blank
+	fetch 1,mem_sp_local_key_invalid
+	rtneq SP_KEY_VALID
+	call sp_calc_sequence
+	branch sp_wait_pubkey_calc_done
+	
+sp_clear_flags:
+	bpatchx patch2e_7,mem_patch2e
+	setarg mem_sp_state_end
+	arg mem_sp_state_start,contw
+	isub contw,loopcnt
+	call clear_mem
+	setarg mem_sp_state_xmem_end
+	arg mem_sp_state_xmem,contw
+	isub contw,loopcnt
+	branch clear_mem
+
+sp_generate_local_key:
+	jam SP_FLAG_COMMIT,mem_sp_flag  
+	fetch 1,mem_encapsulated_minor_type
+	beq ENCAPSULATED_MINOR_TYPE_P256,sp_generate_local_key0_256
+	beq ENCAPSULATED_MINOR_TYPE_P192,sp_generate_local_key0_192
+	rtn	
+	
+sp_generate_local_key0_256:
+	fetch 1,mem_sc_local_key_invalid
+	beq SP_KEY_VALID_256,sp_start_send_pubkey_256
+	branch sp_pubkey_calc_256
+sp_start_send_pubkey_256:
+	call sp_dhkey_calc_256
+	fetch 1,mem_master_sp_state
+	nrtn blank
+	jam SP_STAT_KEY_SEND,mem_sp_state
+	rtn
+	
+sp_master_generate_local_key:
+	fetch 1,mem_sp_local_key_invalid
+	beq SP_KEY_VALID,sp_dhkey_calc
+	branch assert
+	
+sp_generate_local_key0_192:
+	fetch 1,mem_sp_local_key_invalid
+	beq SP_KEY_VALID,sp_start_send_pubkey
+	branch sp_pubkey_calc
+    
+sp_start_send_pubkey:
+	call sp_dhkey_calc
+	fetch 1,mem_master_sp_state
+	nrtn blank
+	jam SP_STAT_KEY_SEND,mem_sp_state
+	rtn
+
+
+sp_calc_check_publickey_256:
+	call sp_calc_b256
+	arg mem_le_pubkey_remote_y_256,rega
+	arg mem_t7_256,contw
+	call bn_sqrmod_256   
+	arg mem_le_pubkey_remote_x_256,rega
+	arg mem_t2_256,contw
+	call bn_sqrmod_256   
+  	arg mem_t2_256,rega
+	arg mem_le_pubkey_remote_x_256,regb
+	arg mem_t2_256,contw
+	call bn_mulmod_256	
+  	arg mem_a_256,rega
+	arg mem_le_pubkey_remote_x_256,regb
+	arg mem_t3_256,contw
+	call bn_mulmod_256	
+  	arg mem_t3_256,rega
+	arg mem_t2_256,regb
+	arg mem_t2_256,contw
+	call bn_addmod_256	 
+  	arg mem_t0_256,rega
+	arg mem_t2_256,regb
+	arg mem_t0_256,contw
+	call bn_addmod_256	 
+	arg 32,loopcnt
+  	arg mem_t7_256,rega
+	arg mem_t0_256,regb
+	branch  string_compare
+	
+sp_calc_b256:
+	arg mem_gy_256,rega
+	arg mem_t0_256,contw
+	call bn_sqrmod_256   
+	arg mem_gx_256,rega
+	arg mem_t2_256,contw
+	call bn_sqrmod_256    
+  	arg mem_t2_256,rega
+	arg mem_gx_256,regb
+	arg mem_t2_256,contw
+	call bn_mulmod_256	
+  	arg mem_a_256,rega
+	arg mem_gx_256,regb
+	arg mem_t3_256,contw
+	call bn_mulmod_256	 
+  	arg mem_t3_256,rega
+	arg mem_t2_256,regb
+	arg mem_t2_256,contw
+	call bn_addmod_256	 
+  	arg mem_t0_256,rega
+	arg mem_t2_256,regb
+	arg mem_t0_256,contw
+	branch  bn_submod_256	
+	
+sp_calc_check_publickey:
+	call sp_calc_b
+	arg mem_sp_pubkey_remote_y,rega
+	arg mem_t7_256,contw
+	call bn_sqrmod 
+	arg mem_sp_pubkey_remote_x,rega
+	arg mem_t2_256,contw
+	call bn_sqrmod
+  	arg mem_t2_256,rega
+	arg mem_sp_pubkey_remote_x,regb
+	arg mem_t2_256,contw
+	call bn_mulmod	
+  	arg mem_a,rega
+	arg mem_sp_pubkey_remote_x,regb
+	arg mem_t3_256,contw
+	call bn_mulmod	
+  	arg mem_t3_256,rega
+	arg mem_t2_256,regb
+	arg mem_t2_256,contw
+	call bn_addmod	 
+  	arg mem_t0_256,rega
+	arg mem_t2_256,regb
+	arg mem_t0_256,contw
+	call bn_addmod	 
+ 	arg 24,loopcnt
+ 	arg mem_t7_256,rega
+	arg mem_t0_256,regb
+	branch  string_compare
+	
+sp_calc_b:
+	arg mem_gy,rega
+	arg mem_t0_256,contw
+	call bn_sqrmod   
+	arg mem_gx,rega
+	arg mem_t2_256,contw
+  	call bn_sqrmod
+  	arg mem_t2_256,rega
+	arg mem_gx,regb
+	arg mem_t2_256,contw
+	call bn_mulmod	
+	arg mem_a,rega
+	arg mem_gx,regb
+	arg mem_t3_256,contw
+	call bn_mulmod	 
+  	arg mem_t3_256,rega
+	arg mem_t2_256,regb
+	arg mem_t2_256,contw
+	call bn_addmod	 
+  	arg mem_t0_256,rega
+	arg mem_t2_256,regb
+	arg mem_t0_256,contw
+	branch  bn_submod	
+
+   
+sp_calculate_commitment:
+	fetch 1,mem_encapsulated_minor_type
+	beq ENCAPSULATED_MINOR_TYPE_P256,sp_calculate_commitment_256
+	beq ENCAPSULATED_MINOR_TYPE_P192,sp_calculate_commitment_192
+	rtn
+
+sp_calculate_commitment_256:
+	fetch 1,mem_sc_calc
+	bne SP_CALC_STANDBY,sp_calculate_commitment_wait_dhkey_calc
+	call sp_local_random_key_generator
+	arg mem_sp_prarm_stack,contw
+	setarg mem_sp_random_local_end
+	istore 2,contw
+	setarg mem_sc_pubkey_local_x_256+32
+	istore 2,contw
+	setarg mem_le_pubkey_remote_x_256+32
+	istore 2,contw
+//	branch sp_calculate_commitment0
+sp_calculate_commitment0_256:
+	call function_f1_256
+	fetch 1,mem_master_sp_state
+	beq SP_STAT_COMMIT_CALC,master_sp_calculate_commitment0
+	jam SP_FLAG_COMMIT,mem_sp_flag
+	jam SP_STAT_COMMIT_SEND,mem_sp_state
+	rtn
+	
+sp_calculate_commitment_192:	
+	fetch 1,mem_sp_calc
+	bne SP_CALC_STANDBY,sp_calculate_commitment_wait_dhkey_calc
+	call sp_local_random_key_generator
+	arg mem_sp_prarm_stack,contw
+	setarg mem_sp_random_local_end
+	istore 2,contw
+	setarg mem_sp_pubkey_local_x_end
+	istore 2,contw
+	setarg mem_sp_pubkey_remote_x_end
+	istore 2,contw
+	branch sp_calculate_commitment0
+master_sp_calculate_commitment:
+	arg mem_sp_prarm_stack,contw
+	setarg mem_sp_random_remote_end
+	istore 2,contw
+	setarg mem_sp_pubkey_remote_x_end
+	istore 2,contw
+	setarg mem_sp_pubkey_local_x_end
+	istore 2,contw
+sp_calculate_commitment0:
+	call function_f1_192
+	fetch 1,mem_master_sp_state
+	beq SP_STAT_COMMIT_CALC,master_sp_calculate_commitment0
+	jam SP_FLAG_COMMIT,mem_sp_flag
+	jam SP_STAT_COMMIT_SEND,mem_sp_state
+	rtn
+master_sp_calculate_commitment0:
+	jam SP_STAT_COMMITMENT_COMPARE,mem_master_sp_state
+	call sp_master_generate_local_key
+	branch master_set_mem_master_sp_flag 
+
+sp_local_random_key_generator:
+	arg mem_sp_random_local,contw
+	force 8,queue
+	branch random_generator
+  
+sp_calculate_commitment_wait_dhkey_calc:
+	jam      SP_FLAG_COMMIT,mem_sp_flag
+	rtn
+    
+sp_confirm_check:
+	fetch 1,mem_encapsulated_minor_type
+	beq ENCAPSULATED_MINOR_TYPE_P256,sp_confirm_check_256
+	beq ENCAPSULATED_MINOR_TYPE_P192,sp_confirm_check_192
+sp_confirm_check_wait:
+	jam SP_STAT_CONFIRM_CHECK,mem_sp_state
+	jam SP_FLAG_COMMIT,mem_sp_flag  
+	rtn
+
+sp_confirm_check_256:	
+	fetch 1,mem_sp_dhkey_invalid
+	bne SP_KEY_VALID_256,sp_confirm_check_wait
+	branch sp_confirm_check_common
+	
+sp_confirm_check_192:	
+	fetch 1,mem_sp_dhkey_invalid
+	bne SP_KEY_VALID,sp_confirm_check_wait
+sp_confirm_check_common:	
+	arg      mem_addr_value,contw
+	fetch    6,mem_lap
+	istore   6,contw
+	fetch    6,mem_plap
+	istore   6,contw
+	fetch    3,mem_sp_iocap_remote
+	istore   3,contw 
+
+	call     function_f3a
+
+	arg      mem_sp_calc_result_high,rega
+	arg      mem_sp_check_result,regb    
+	force    4,queue 
+	call     compare4
+	nbranch  sp_confirm_check_failed,true  
+
+	call sp_confirm_check_success
+	jam LMP_DHKey_Check,mem_lmi_opcode2
+	branch tid_set_reply
+    
+sp_confirm_check_success:
+	fetch 1,mem_master_sp_state
+	beq SP_STAT_CONFIRM_CHECK,sp_confirm_check_success_master
+	jam SP_STAT_CONFIRM_CALC,mem_sp_state
+	jam SP_FLAG_COMMIT,mem_sp_flag  
+	jam LMP_ACCEPTED,mem_lmo_opcode2
+	rtn
+sp_confirm_check_success_master:
+	jam LMP_ACCEPTED,mem_lmo_opcode2
+	jam SP_STATE_END,mem_master_sp_state
+	branch master_set_mem_master_sp_flag
+	//accept opcode?
+	
+sp_confirm_check_failed:
+	fetch 1,mem_master_sp_state
+	beq SP_STAT_CONFIRM_CHECK,sp_confirm_check_failed_master
+	jam SP_STAT_NULL,mem_sp_state
+	jam LMP_NOT_ACCEPTED,mem_lmo_opcode2
+	//accept opcode?
+	jam      AUTHENTICATION_FAILURE_ERROR,mem_lmo_reason2 
+	rtn
+sp_confirm_check_failed_master:
+	jam LMP_NOT_ACCEPTED,mem_lmo_opcode2
+	jam SP_STAT_NULL,mem_master_sp_state
+	rtn
+    
+sp_confirm_calc:
+	fetch 1,mem_encapsulated_minor_type
+	beq ENCAPSULATED_MINOR_TYPE_P256,sp_confirm_calc_256
+	beq ENCAPSULATED_MINOR_TYPE_P192,sp_confirm_calc_192
+	rtn
+	
+sp_confirm_calc_256:	
+	fetch 1,mem_sp_dhkey_invalid
+	beq SP_KEY_VALID_256,sp_confirm_calc_ready
+	jam 	SP_STAT_CONFIRM_CALC,mem_master_sp_state
+	branch master_set_mem_master_sp_flag
+	
+sp_confirm_calc_192:
+	fetch 1,mem_sp_dh_ready
+	beq SP_FLAG_COMMIT, sp_confirm_calc_ready
+	jam 	SP_STAT_CONFIRM_CALC,mem_master_sp_state
+	branch master_set_mem_master_sp_flag
+	
+sp_confirm_calc_ready:
+	arg      mem_addr_value,contw
+	fetch    6,mem_plap
+	istore   6,contw
+	fetch    6,mem_lap
+	istore   6,contw
+	fetch    3,mem_lmp_io_cap_payload_iocap
+	istore   3,contw 
+
+	call     function_f3b
+	fetch 1,mem_master_sp_state
+	beq SP_STAT_CONFIRM_CALC,sp_confirm_calc_master
+	jam      SP_STAT_CONFIRM_SEND,mem_sp_state
+	jam      SP_FLAG_COMMIT,mem_sp_flag
+	rtn
+sp_confirm_calc_master:
+	jam      SP_STAT_CONFIRM_SEND,mem_master_sp_state
+	jam      SP_FLAG_COMMIT,mem_master_sp_flag
+	rtn   
+
+sp_master_key_prarm_push:
+	arg mem_sp_prarm_stack,contw
+	fetch    6,mem_plap
+	istore   6,contw
+	fetch    6,mem_lap
+	istore   6,contw
+	setarg mem_sp_random_local_end
+	istore 2,contw
+	setarg mem_sp_random_remote_end
+	istore 2,contw
+	branch sp_link_key_calc
+sp_link_key_prarm_push:
+	jam      SP_STAT_DONE,mem_sp_state    
+	arg mem_sp_prarm_stack,contw
+	fetch    6,mem_lap
+	istore   6,contw
+	fetch    6,mem_plap
+	istore   6,contw
+	setarg mem_sp_random_remote_end
+	istore 2,contw
+	setarg mem_sp_random_local_end
+	istore 2,contw
+sp_link_key_calc:
+    
+	arg      mem_addr_value,contw
+	fetch    6,mem_sp_prarm_stack
+	istore   6,contw
+	fetch    6,mem_sp_prarm_stack+6
+	istore   6,contw
+	
+	call     function_f2    
+
+	
+	jam 1,mem_link_key_exists
+	arg mem_link_key,contw
+	arg mem_sp_calc_result_high,contr
+	call memcpy16
+	branch  generate_linkkey_continue
+
+//FF18A5F4EFD25E622B140CCFD6F15D0027DC8D91865F9107
+sp_debug_private:
+  	arg mem_sp_private_key,contw
+        setsect 0,0x118ff
+        setsect 1,0x3fd29
+        setsect 2,0x1ed2e
+        setsect 3,0xad89
+        istore 9,contw
+        setsect 0,0x30c14
+        setsect 1,0x75b3
+        setsect 2,0x5df
+        setsect 3,0x3709c
+        istore 9,contw
+        setsect 0,0x2918d
+        setsect 1,0x57e1
+        setsect 2,0x79
+        istore 6,contw
+        rtn
+	
+    
+sp_pubkey_calc:
+	bpatchx patch2f_0,mem_patch2f
+	fetch    1,mem_sp_local_key_invalid
+	rtnne SP_KEY_INVALID
+	fetch    1,mem_sp_calc
+	rtnne  SP_CALC_STANDBY
+//	call init_memp
+	arg      mem_sp_private_key,contw 
+	force    11,queue
+	call     random_generator
+	random   pdata
+	rshift   pdata,pdata
+	istore   2,contw 
+
+	fetch 1,mem_sp_debug_mode
+	ncall sp_debug_private,blank
+	 
+	arg      mem_k,contw
+	arg      mem_sp_private_key,contr	
+	call     memcpy24 //mem_sp_private_key=>mem_k 24BYTES
+
+	arg      mem_ax,contw
+	arg      mem_gx,contr
+	call     memcpy48 //mem_gx=>mem_ax 48bytes
+
+	arg      mem_az,contw
+	call     bn_zero
+	jam      1,mem_az //0=>mem_az 24bytes
+
+	call     eckp_calc_init
+	jam SP_CALC_PUBKEY,mem_sp_calc
+	rtn    
+	
+sp_pubkey_generated:
+	arg      mem_sp_pubkey_local,contw
+	arg      mem_bx,contr
+	call     memcpy48   
+	jam      SP_KEY_VALID,mem_sp_local_key_invalid
+	jam      SP_CALC_STANDBY,mem_sp_calc
+	rtn
+
+sp_dhkey_calc:
+	bpatchx patch2f_1,mem_patch2f
+	fetch    1,mem_sp_dhkey_invalid
+	rtnne  SP_KEY_INVALID
+	fetch    1,mem_sp_calc
+	rtnne  SP_CALC_STANDBY
+
+	arg      mem_k,contw
+	arg      mem_sp_private_key,contr	
+	call     memcpy24
+
+	arg      mem_ax,contw
+	arg      mem_sp_pubkey_remote,contr
+	call     memcpy48
+
+	arg      mem_az,contw
+	call     bn_zero
+	jam      1,mem_az
+
+	call     eckp_calc_init
+	jam      SP_CALC_DHKEY,mem_sp_calc
+	rtn 	
+	
+sp_dhkey_generated:
+	jam SP_FLAG_COMMIT,mem_sp_dh_ready
+	arg mem_sp_dhkey,contw
+	arg mem_bx,contr
+	call memcpy24
+	jam SP_KEY_VALID,mem_sp_dhkey_invalid
+	jam SP_CALC_STANDBY,mem_sp_calc
+	rtn
+
+random_generator:
+	increase -1,queue
+	nrtn     positive
+	random   pdata
+	istore   2,contw  
+	branch   random_generator
+compare4:
+	increase -1,queue
+	nbranch  compare4_success,positive
+	ifetch   4,rega
+	copy     pdata,temp
+	ifetch   4,regb
+	iflip    temp,pdata
+	nbranch  compare4_failed,zero
+	increase 4,rega
+	increase 4,regb
+	branch   compare4
+compare4_failed:
+	disable  true
+	rtn
+compare4_success:
+	enable   true
+	rtn
+
+
+
+
+// simple pairing support 
+
+simple_pairing_sequence:
+	bpatchx patch2f_2,mem_patch2f
+         fetch 1,mem_sp_flag
+         rtn blank
+	call lmo_fifo_check
+	nrtn blank
+	jam      SP_FLAG_STANDBY,mem_sp_flag
+	fetch    1,mem_sp_state
+	beq  SP_STAT_KEY_SEND,sp_send_LMP_ENCAPSULATED_HEADER
+	beq  SP_STAT_COMMIT_SEND,sp_send_LMP_SIMPLE_PAIRING_COMFIRM
+	beq  SP_STAT_RANDOM_SEND,sp_send_LMP_SIMPLE_PAIRING_NUMBER
+	beq  SP_STAT_CONFIRM_SEND,sp_send_LMP_DHKEY_CHECK
+	beq  SP_STAT_KEY_GENERATE,sp_generate_local_key
+	beq  SP_STAT_COMMIT_CALC,sp_calculate_commitment
+	beq  SP_STAT_CONFIRM_CHECK,sp_confirm_check
+	beq  SP_STAT_CONFIRM_CALC,sp_confirm_calc
+	beq  SP_STAT_LINK_KEY_CALC,sp_link_key_prarm_push
+	//beq  SP_STAT_FEATURE_EXT_SEND,send_LMP_FEATURES_REQ_EXT
+	rtn  
+
+master_simple_paring_sequence:
+	bpatchx patch2f_3,mem_patch2f
+	fetch 1,mem_master_sp_flag
+	rtn blank
+	call lmo_fifo_check
+	nrtn blank
+	jam SP_FLAG_STANDBY,mem_master_sp_flag
+	fetch 1,mem_master_sp_state
+	beq SP_MASTER_STAT_START_SKIP,sp_master_send_io_cap_get
+	beq SP_MASTER_STAT_START_DONE,sp_master_send_io_cap_send
+	beq SP_STAT_KEY_SEND,sp_master_send_LMP_ENCAPSULATED_HEADER
+	beq SP_STAT_COMMIT_CALC,master_sp_calculate_commitment
+	beq SP_STAT_COMMITMENT_COMPARE,sp_master_commitment_compare
+	beq SP_STAT_RANDOM_SEND,sp_master_send_LMP_SIMPLE_PAIRING_NUMBER
+	beq SP_STAT_CONFIRM_CALC,sp_confirm_calc
+	beq SP_STAT_CONFIRM_SEND,master_sp_send_lmp_dhkey_check
+	beq SP_STAT_CONFIRM_CHECK,sp_confirm_check
+	beq SP_STATE_END,master_sp_sm_end
+	rtn
+
+master_set_mem_master_sp_flag:
+	jam SP_FLAG_COMMIT,mem_master_sp_flag
+	rtn
+	
+master_clear_mem_master_sp_flag:
+	jam SP_FLAG_STANDBY,mem_master_sp_flag
+	rtn
+sp_calc_sequence:
+	bpatchx patch2f_4,mem_patch2f
+	fetch 1,mem_ssp_enable
+	rtn blank
+	fetch 1,mem_sp_calc
+	rtn blank
+	increase 0x80,pdata
+	store    1,mem_sp_calc
+	rtnbit1 7
+	fetch    1,mem_ec_loopc
+	branch   sp_calc_sequence_done,blank
+	branch   eckp_calc
+
+sp_calc_sequence_done:    
+	call ecunmapz
+	fetch 1,mem_sp_calc
+	beq  SP_CALC_PUBKEY,sp_pubkey_generated
+	beq  SP_CALC_DHKEY,sp_dhkey_generated
+	rtn
+
+
+bn_testbit:
+	and pdata,7,queue
+	rshift3 pdata,pdata
+	iadd contr,contr
+	ifetch 1,contr
+	qisolate0 pdata
+	rtn
+
+
+ec_copy:
+	call memcpy24
+	call memcpy24
+	branch memcpy24
+	
+	
+bn_eq_zero:
+	ifetch 8,contr
+	nrtn blank
+	ifetch 8,contr
+	nrtn blank
+	ifetch 8,contr
+	rtn
+	
+	
+	
+
+bn_eq_0:	
+	ifetch 4,rega
+	iforce temp
+	ifetch 4,regb
+	isub temp,null
+	nrtn zero
+	increase 4,rega
+	increase 4,regb
+	loop bn_eq_0
+	rtn
+
+	
+bn_bigeq:
+	force 6,loopcnt
+	increase 20,rega
+	increase 20,regb
+bn_bigeq_0:	
+	ifetch 4,regb
+	iforce temp
+	ifetch 4,rega
+	isub temp,pdata
+	nrtn positive
+	nrtn blank
+	increase -4,rega
+	increase -4,regb
+	loop bn_bigeq_0
+	rtn
+
+bn_add:
+	force 6,loopcnt
+	force 0,regc
+bn_add_0:	
+	ifetch 4,rega
+	iforce temp
+	ifetch 4,regb
+	iadd temp,pdata
+	iadd regc,pdata
+	istore 4,contw
+	isolate1 32,pdata
+	setflag true,0,regc
+	increase 4,rega
+	increase 4,regb
+	loop bn_add_0
+	rtn
+
+bn_sub:
+	force 6,loopcnt
+	force 0,regc
+bn_sub_0:	
+	ifetch 4,regb
+	iforce temp
+	ifetch 4,rega
+	isub temp,pdata
+	isub regc,pdata
+	istore 4,contw
+	isolate1 32,pdata
+	setflag true,0,regc
+	increase 4,rega
+	increase 4,regb
+	loop bn_sub_0
+	rtn
+
+bn_rshift6:
+	force 6,loopcnt
+	increase 20,rega
+bn_rshift:
+	force 0,regc
+bn_rshift_0:	
+	ifetch 4,rega
+	isolate1 0,pdata
+	setflag true,1,regc
+	rshift pdata,pdata
+	isolate1 0,regc
+	setflag true,31,pdata
+	istore 4,rega
+	increase -4,rega
+	rshift regc,regc
+	loop bn_rshift_0
+	rtn
+
+bn_lshift:
+	force 6,loopcnt
+	force 0,regc
+bn_lshift_0:	
+	ifetch 4,rega
+	isolate1 31,pdata
+	setflag true,1,regc
+	lshift pdata,pdata
+	isolate1 0,regc
+	setflag true,0,pdata
+	istore 4,rega
+	increase 4,rega
+	rshift regc,regc
+	loop bn_lshift_0
+	rtn
+	
+bn_lshiftmod:
+	call bn_lshift
+bn_lshiftmod_ismod:	
+	isolate1 0,regc
+	branch bn_lshiftmod_0,true
+	arg mem_p,regb
+	copy rega,regc
+	increase -24,rega
+	call bn_bigeq
+	nrtn positive
+	copy regc,rega
+bn_lshiftmod_0:
+	increase -24,rega
+	arg mem_p,regb
+	copy rega,contw
+	branch bn_sub
+	
+
+bn_addmod:
+	call bn_add
+	copy contw,rega
+	branch bn_lshiftmod_ismod
+	
+bn_submod:
+	call bn_sub
+	isolate0 0,regc
+	rtn true
+	arg mem_p,regb
+	add contw,-24,rega
+	copy rega,contw
+	branch bn_add
+	
+
+bn_p192mod:
+	copy contw,timeup				
+	copy rega,alarm				
+	arg mem_tmp2,regb
+	copy regb,contw
+	add rega,24,contr
+	ifetch 8,contr
+	istore 8,contw
+	istore 8,contw
+	force 0,pdata
+	istore 8,contw
+	copy timeup,contw
+	call bn_addmod
+	arg mem_tmp2,regb
+	copy regb,contw
+	force 0,pdata
+	istore 8,contw
+	add alarm,32,contr
+	ifetch 8,contr
+	istore 8,contw
+	istore 8,contw
+	copy timeup,rega
+	copy rega,contw
+	call bn_addmod
+	arg mem_tmp2,regb
+	copy regb,contw
+	add alarm,40,contr
+	ifetch 8,contr
+	istore 8,contw
+	istore 8,contw
+	istore 8,contw
+	copy timeup,rega
+	copy rega,contw
+	branch bn_addmod
+		
+
+bn_load:
+	force 6,loopcnt
+bn_load_0:	
+	ifetch 4,contr
+	iforce regext
+	increase 1,regext_index
+	loop bn_load_0
+	rtn
+
+
+		
+bn_mulmod:
+	copy contw,timeup					
+	arg mem_tmp1,contw
+	call bn_zero
+	arg mem_tmp1,contw
+	copy rega,contr
+	force 0,regext_index
+	call bn_load
+	copy regb,contr
+	call bn_load
+	force 0,regb
+bn_mulmod_1:	
+	force 0,temp
+	force 6,regc
+bn_mulmod_0:
+	ifetch 4,contw					
+	iforce rega
+	copy regb,regext_index
+	deposit regext
+	copy regc,regext_index
+	imul32 regext,pdata
+	iadd rega,pdata					
+	iadd temp,pdata					
+	istore 4,contw					
+	rshift32 pdata,temp				
+	increase 1,regc
+	compare 12,regc,0xff
+	nbranch bn_mulmod_0,true
+	deposit temp
+	istore 4,contw					
+	increase -24,contw
+	increase 1,regb
+	compare 6,regb,0xff
+	nbranch bn_mulmod_1,true
+	arg mem_tmp1,rega
+	copy timeup,contw
+	branch bn_p192mod
+
+	
+bn_sqrmod:
+	copy rega,regb
+	branch bn_mulmod
+
+bn_rshifteven:
+	copy rega,alarm
+bn_rshifteven_1:
+	copy alarm,rega
+	ifetch 1,rega
+	isolate1 0,pdata
+	rtn true
+	call bn_rshift6
+	ifetch 1,regb
+	isolate0 0,pdata
+	branch bn_rshifteven_0,true
+	arg mem_p,rega
+	copy regb,contw
+	call bn_add
+	ifetch 1,regb
+	iadd regc,pdata
+	istore 1,regb						
+	increase -24,regb
+bn_rshifteven_0:
+	add regb,24,rega
+	force 7,loopcnt
+	call bn_rshift
+	branch bn_rshifteven_1
+
+	
+bn_invmod:
+	copy contw,timeup					
+	arg mem_tmp0,contw				
+	call bn_zero
+	force 0,pdata
+	store 4,mem_tmp5
+	store 4,mem_t2
+	jam 1,mem_tmp0
+	arg mem_tmp1,contw				
+	call bn_zero
+	arg mem_p,contr
+	arg mem_tmp2,contw				
+	call memcpy24
+	copy rega,contr
+	arg mem_tmp3,contw				
+	call memcpy24
+bn_invmod_2:	
+	arg mem_tmp3,contr
+	call bn_eq_zero
+	branch bn_invmod_0,blank
+	arg mem_tmp3,rega
+	arg mem_tmp0,regb
+	call bn_rshifteven
+
+	arg mem_tmp2,rega
+	arg mem_tmp1,regb
+	call bn_rshifteven
+	arg mem_tmp3,rega
+	arg mem_tmp2,regb
+	call bn_bigeq
+	branch bn_invmod_1,positive
+	arg mem_tmp2,rega
+	arg mem_tmp3,regb
+	copy rega,contw
+	call bn_sub
+	arg mem_tmp0,rega
+	arg mem_tmp1,regb
+	copy regb,contw
+	call bn_add
+	ifetch 1,rega
+	iadd regc,regc
+	ifetch 1,regb
+	iadd regc,pdata
+	istore 1,regb
+	branch bn_invmod_2
+bn_invmod_1:
+	arg mem_tmp3,rega
+	arg mem_tmp2,regb
+	copy rega,contw
+	call bn_sub
+	arg mem_tmp1,rega
+	arg mem_tmp0,regb
+	copy regb,contw
+	call bn_add
+	ifetch 1,rega
+	iadd regc,regc
+	ifetch 1,regb
+	iadd regc,pdata
+	istore 1,regb
+	branch bn_invmod_2
+bn_invmod_0:
+	arg mem_tmp0,contw
+	call bn_zero
+	fetch 1,mem_tmp5
+	store 1,mem_tmp0
+	store 1,mem_tmp0a
+	arg mem_tmp0,rega
+	arg mem_tmp1,regb
+	copy regb,contw
+	call bn_addmod
+	arg mem_p,rega
+	arg mem_tmp1,regb
+	copy timeup,contw
+	branch bn_submod
+	
+
+
+	
+ecdbl:
+	arg mem_cz,rega
+	arg mem_t2,contw
+	call bn_sqrmod
+	arg mem_t2,rega
+	arg mem_t3,contw
+	call bn_sqrmod
+	arg mem_a,rega
+	arg mem_t3,regb
+	arg mem_t3,contw
+	call bn_mulmod		
+	arg mem_cx,rega
+	arg mem_t2,contw
+	call bn_sqrmod
+	arg mem_t2,contr
+	arg mem_t1,contw
+	call memcpy24
+	arg mem_t1,rega
+	call bn_lshiftmod
+	arg mem_t2,rega
+	arg mem_t1,regb
+	arg mem_t2,contw
+	call bn_addmod
+	arg mem_t2,rega
+	arg mem_t3,regb
+	arg mem_t2,contw
+	call bn_addmod		
+	arg mem_cx,contr
+	arg mem_t1,contw
+	call memcpy24
+	arg mem_cy,rega
+	arg mem_t3,contw
+	call bn_sqrmod
+	arg mem_t1,rega
+	call bn_lshiftmod
+	arg mem_t1,rega
+	call bn_lshiftmod
+	arg mem_t1,rega		
+	arg mem_t3,regb
+	arg mem_t1,contw
+	call bn_mulmod		
+	arg mem_t3,rega
+	arg mem_t0,contw
+	call bn_sqrmod
+	arg mem_t0,rega
+	call bn_lshiftmod
+	arg mem_t0,rega
+	call bn_lshiftmod		
+	arg mem_t0,rega		
+	call bn_lshiftmod		
+	arg mem_cy,contr
+	arg mem_t3,contw
+	call memcpy24
+	arg mem_t3,rega
+	call bn_lshiftmod
+	arg mem_t3,rega
+	arg mem_cz,regb
+	arg mem_cz,contw
+	call bn_mulmod		
+	arg mem_t2,rega
+	arg mem_t3,contw
+	call bn_sqrmod
+	arg mem_t3,rega
+	arg mem_t1,regb
+	arg mem_t3,contw
+	call bn_submod
+	arg mem_t3,rega
+	arg mem_t1,regb
+	arg mem_cx,contw
+	call bn_submod
+	arg mem_t1,rega
+	arg mem_cx,regb
+	arg mem_t3,contw
+	call bn_submod
+	arg mem_t3,rega
+	arg mem_t2,regb
+	arg mem_t3,contw
+	call bn_mulmod		
+	arg mem_t3,rega
+	arg mem_t0,regb
+	arg mem_cy,contw
+	branch bn_submod
+	
+
+	
+ecadd:
+	arg mem_az,rega
+	arg mem_t7,contw
+	call bn_sqrmod
+	arg mem_cx,rega
+	arg mem_t7,regb
+	arg mem_t0,contw
+	call bn_mulmod		
+	arg mem_az,rega
+	arg mem_t7,regb
+	arg mem_t7,contw
+	call bn_mulmod	
+	arg mem_cy,rega
+	arg mem_t7,regb
+	arg mem_t1,contw
+	call bn_mulmod		
+	arg mem_cz,rega
+	arg mem_t7,contw
+	call bn_sqrmod
+	arg mem_ax,rega
+	arg mem_t7,regb
+	arg mem_t2,contw
+	call bn_mulmod		
+	arg mem_cz,rega
+	arg mem_t7,regb
+	arg mem_t7,contw
+	call bn_mulmod	
+	arg mem_ay,rega
+	arg mem_t7,regb
+	arg mem_t3,contw
+	call bn_mulmod		
+	arg mem_t0,rega
+	arg mem_t2,regb
+	arg mem_t7,contw
+	call bn_submod		
+	arg mem_t0,rega
+	arg mem_t2,regb
+	arg mem_t0,contw
+	call bn_addmod		
+	arg mem_t1,rega
+	arg mem_t3,regb
+	arg mem_t2,contw
+	call bn_submod		
+	arg mem_t1,rega
+	arg mem_t3,regb
+	arg mem_t1,contw
+	call bn_addmod		
+	arg mem_t1,rega
+	arg mem_t7,regb
+	arg mem_t1,contw
+	call bn_mulmod		
+	arg mem_cz,rega
+	arg mem_az,regb
+	arg mem_t3,contw
+	call bn_mulmod	
+	arg mem_t3,rega
+	arg mem_t7,regb
+	arg mem_cz,contw
+	call bn_mulmod		
+	arg mem_t7,rega
+	arg mem_t7,contw
+	call bn_sqrmod		
+	arg mem_t7,rega
+	arg mem_t0,regb
+	arg mem_t3,contw
+	call bn_mulmod		
+	arg mem_t7,rega
+	arg mem_t1,regb
+	arg mem_t1,contw
+	call bn_mulmod		
+	arg mem_t2,rega
+	arg mem_cx,contw
+	call bn_sqrmod		
+	arg mem_cx,rega
+	arg mem_t3,regb
+	arg mem_cx,contw
+	call bn_submod		
+	arg mem_cx,contr
+	arg mem_t7,contw
+	call memcpy24
+	arg mem_t7,rega
+	call bn_lshiftmod		
+	arg mem_t3,rega
+	arg mem_t7,regb
+	arg mem_t3,contw
+	call bn_submod		
+	arg mem_t3,rega
+	arg mem_t2,regb
+	arg mem_t2,contw
+	call bn_mulmod		
+	arg mem_t2,rega
+	arg mem_t1,regb
+	arg mem_cy,contw
+	call bn_submod	
+	arg mem_cy,rega
+	arg mem_p,regb
+	arg mem_cy,contw
+	force 0,regc
+	fetch 1,mem_cy
+	isolate1 0,pdata
+	call bn_add,true
+	copy regc,alarm
+	arg mem_cy,rega
+	call bn_rshift6
+	fetch 1,mem_cy5
+	isolate1 0,alarm
+	setflag true,7,pdata
+	store 1,mem_cy5
+	rtn
+
+	
+
+eckp_0:	
+	fetch 1,mem_ec_loopc
+	increase -1,pdata
+	nrtn positive
+	store 1,mem_ec_loopc
+	fetch 1,mem_ec_infinite
+	call ecdbl,blank
+	fetch 1,mem_ec_loopc
+	arg mem_k,contr
+	call bn_testbit
+	branch eckp_0,true
+	fetch 1,mem_ec_infinite
+	nbranch eckp_1,blank
+	call ecadd
+	branch eckp_0
+eckp_1:
+	jam 0,mem_ec_infinite
+	arg mem_ax,contr
+	arg mem_cx,contw
+	call ec_copy
+	branch eckp_0
+
+	
+ecunmapz:
+	arg mem_cz,rega
+	arg mem_t3,contw
+	call bn_invmod			
+	arg mem_t3,rega
+	arg mem_t1,contw		
+	call bn_sqrmod			
+	arg mem_cx,rega
+	arg mem_t1,regb
+	arg mem_bx,contw
+	call bn_mulmod
+	arg mem_t3,rega
+	arg mem_t1,regb
+	arg mem_t2,contw			
+	call bn_mulmod			
+	arg mem_cy,rega
+	arg mem_t2,regb
+	arg mem_by,contw
+	branch bn_mulmod		
+	
+	
+
+sha_endian_swap2:	
+	ifetch 4,contr
+	force 4,rega
+	increase 3,contw
+sha_endian_loop:	
+	istore 1,contw
+	rshift8 pdata,pdata
+	increase -2,contw
+	increase -1,rega
+	nbranch sha_endian_loop,zero
+	increase 5,contw
+	loop sha_endian_swap2
+	rtn	
+
+
+sha_getw:
+	lshift2 queue,pdata
+	iadd timeup,contr
+	ifetch 4,contr
+	rtn
+	
+sha_r:
+	force 16,alarm
+	arg memdat,timeup
+sha_r_loop:	
+	add alarm,-7,queue
+	call sha_getw
+	iforce temp						
+	add alarm,-16,queue
+	call sha_getw
+	iadd temp,temp					
+	add alarm,-2,queue
+	call sha_getw
+	shasx pdata,1,pdata
+	iadd temp,temp					
+	add alarm,-15,queue
+	call sha_getw
+	shasx pdata,0,pdata
+	iadd temp,temp					
+	lshift2 alarm,pdata
+	iadd timeup,contw
+	istoret 4,contw
+	increase 1,alarm
+	compare 64,alarm,0xff
+	nbranch sha_r_loop,true
+	rtn
+	
+
+sha_init:
+	arg memh0,contr
+	force 7,regext_index
+sha_init_0:	
+	ifetch 4,contr
+	iforce regext
+	increase -1,regext_index
+	branch sha_init_0,positive
+	rtn
+
+sha:
+	bpatchx patch2f_5,mem_patch2f
+	call sha_r		
+	arg memahbak,contw
+	force 0,regext_index
+sha_0:	
+	deposit regext
+	istore 4,contw
+	increase 1,regext_index
+	compare 8,regext_index,0xff
+	nbranch sha_0,true
+	call enable_authrom
+	arg memk,timeup
+	arg memdat,alarm
+	force 64,loopcnt
+sha_loop:	
+	ifetcht 4,alarm
+	ifetch 4,timeup
+	increase 4,timeup
+	increase 4,alarm
+	iadd temp,pdata			
+	force 7,regext_index
+	iadd regext,temp			
+	force 4,regext_index
+	shasx regext,3,pdata
+	iadd temp,temp			
+	force 5,regext_index
+	deposit regext
+	force 6,regext_index
+	ixor regext,pdata
+	force 4,regext_index
+	iand regext,pdata			
+	force 6,regext_index
+	ixor regext,pdata			
+	iadd temp,temp			
+	force 7,regext_index
+	copy temp,regext			
+	force 3,regext_index
+	deposit regext
+	iadd temp,regext			
+	force 0,regext_index
+	deposit regext
+	force 1,regext_index
+	iand regext,temp			
+	ior regext,pdata						
+	force 2,regext_index
+	iand regext,pdata			
+	ior temp,temp				
+	force 0,regext_index
+	shasx regext,2,pdata
+	iadd temp,pdata			
+	force 7,regext_index
+	iadd regext,regext			
+	regexrot					
+	loop sha_loop
+	arg memahbak,contr
+	force 0,regext_index
+sha_1:	
+	ifetch 4,contr
+	iadd regext,regext
+	increase 1,regext_index
+	compare 8,regext_index,0xff
+	nbranch sha_1,true
+	branch disable_authrom
+
+	
+sha_result:
+	arg   memresult,contw
+	force 7,regext_index
+sha_regext_save:
+	deposit regext
+	istore  4,contw 
+	increase -1,regext_index
+	branch   sha_regext_save,positive
+	rtn	
+
+pad_xor:
+//	arg memx_end,contr
+	arg      memdat,contw
+	increase -4,contr
+	sub      loopcnt,16,rega
+pad_xor_0:	    
+	ifetch   4,contr
+	ixor     temp,pdata
+	istore   4,contw	
+	increase -8,contr	
+	loop  pad_xor_0
+	copy     rega,loopcnt
+	deposit  temp
+pad_xor_1:	
+	istore 4,contw
+	loop pad_xor_1
+	rtn
+
+g_noninit_number_confirm:
+	fetch 1,mem_encapsulated_minor_type
+	beq ENCAPSULATED_MINOR_TYPE_P256,g_noninit_number_confirm_256
+	beq ENCAPSULATED_MINOR_TYPE_P192,g_noninit_number_confirm_192
+	rtn
+
+g_noninit_number_confirm_192:	
+	call g_noninit0_192
+	call sha_result
+	branch g_common0
+
+g_noninit_number_confirm_256:	
+	call g_noninit0_256
+	call sha_result
+	branch g_common0
+
+g_noninit_192:
+	call g_noninit0_192
+	branch g_common0
+	
+g_noninit0_192:
+ 	arg      mem_sp_pubkey_remote_x_end,contr
+	arg      memdat,contw
+	force    6,loopcnt
+	call     memcpy_dword_swap
+	arg      mem_sp_pubkey_local_x_end,contr
+	force    6,loopcnt
+	call     memcpy_dword_swap
+	arg      mem_sp_random_remote_end,contr
+	call     memcpy_dword_swap4
+	call     sha_init
+	call     sha	
+ 	arg      mem_sp_random_local_end,contr
+	arg      memdat,contw
+	branch g_common_192
+	
+g_init_192:
+ 	arg      mem_sp_pubkey_local_x_end,contr
+	arg      memdat,contw
+	force    6,loopcnt
+	call     memcpy_dword_swap
+	arg      mem_sp_pubkey_remote_x_end,contr
+	force    6,loopcnt
+	call     memcpy_dword_swap
+	arg      mem_sp_random_local_end,contr
+	call     memcpy_dword_swap4
+	call     sha_init
+	call     sha	
+ 	arg      mem_sp_random_remote_end,contr
+	arg      memdat,contw
+	call g_common_192
+	branch g_common0
+	
+g_common_192:	
+	call     memcpy_dword_swap4
+	setarg   0x800000
+	lshift8  pdata,pdata 
+	istore   4,contw
+	force    5,loopcnt
+	call memset0
+	setarg 640
+	istore 4,contw
+	branch sha
+g_common0:
+	fetch 4,memresult
+//	store 4,mem_gkey
+	arg 1000,rega
+	idiv rega
+	call wait_div_end
+	remainder pdata
+	store 4,mem_gkey
+	quotient pdata
+	arg 1000,rega
+	idiv rega
+	call wait_div_end
+	remainder pdata
+	arg 1000,rega
+	imul32 rega,pdata
+	fetcht 4,mem_gkey
+	iadd temp,pdata
+	store 4,mem_gkey
+	rtn
+	
+noninit_number_confirm:
+	call g_noninit0_256
+	call sha_result
+	branch g_common0
+
+	
+g_noninit0_256:
+ 	arg      mem_le_pubkey_remote_x_256+32,contr
+	arg      memdat,contw
+	force    8,loopcnt
+	call     memcpy_dword_swap
+	arg      mem_sc_pubkey_local_x_256+32,contr
+	force    8,loopcnt
+	call     memcpy_dword_swap
+//	arg      mem_sp_random_remote_end,contr
+//	call     memcpy_dword_swap4
+	call     sha_init
+	call     sha	
+ 	arg      mem_sp_random_remote_end,contr
+	arg      memdat,contw
+	call     memcpy_dword_swap4
+	arg      mem_sp_random_local_end,contr
+	branch g_common_256
+	
+g_common_256:	
+	call     memcpy_dword_swap4
+	setarg   0x800000
+	lshift8  pdata,pdata 
+	istore   4,contw
+	force    3,loopcnt
+	call memset0
+	setarg 768
+	istore 4,contw
+	branch sha
+
+function_f1_192_no_key:
+	jam 0,mem_passkey_1bit
+	branch function_f1_192_common
+	
+function_f1_192:
+	fetch 1,mem_ssp_mode_flag
+	bne  SSP_MODE_PASSKEY_ENTRY_FLAG,function_f1_192_no_key
+function_f1_192_common:
+	bpatchx patch2f_6,mem_patch2f
+	setarg   0x363636
+	lshift8  pdata,temp
+	or_into       0x36,temp
+	fetch 2,mem_sp_prarm_stack
+	copy pdata,contr
+	force    4,loopcnt
+	call     pad_xor
+	call     sha_init
+	call     sha
+	fetch 2,mem_sp_prarm_stack+2
+	copy pdata,contr
+	arg      memdat,contw
+	force    6,loopcnt
+	call     memcpy_dword_swap
+	fetch 2,mem_sp_prarm_stack+4
+	copy pdata,contr
+	force    6,loopcnt
+	call     memcpy_dword_swap
+	setarg   0x800000
+	istore   3,contw
+	
+	fetch 1,mem_passkey_1bit
+	
+	istore   1,contw
+	force    0,pdata
+	istore   8,contw
+	setarg   0x0388
+	istore   4,contw
+function_f1_common2:	
+	call     sha
+	call     sha_result
+	arg      memresult,contr
+	arg      memahsave,contw 
+	call     memcpy32
+    
+	setarg   0x5c5c5c
+	lshift8  pdata,temp
+	or_into       0x5c,temp
+	fetch 2,mem_sp_prarm_stack
+	copy pdata,contr
+	force    4,loopcnt
+	call     pad_xor
+	call     sha_init
+	call     sha
+	arg      memahsave_end,contr
+	arg      memdat,contw
+	force    8,loopcnt
+	call     memcpy_dword_swap
+	setarg   0x800000
+	lshift8  pdata,pdata 
+	istore   4,contw
+	call		bn_zero
+	setarg   0x0300
+	istore   4,contw
+	call     sha
+	branch     sha_result
+	
+	
+function_f2_192:
+	setarg   0x363636
+	lshift8  pdata,temp
+	or_into       0x36,temp
+	arg      mem_sp_dhkey_end,contr
+	force    6,loopcnt
+	call     pad_xor
+	call     sha_init
+	call     sha
+	fetch 2,mem_sp_prarm_stack+12
+	copy pdata,contr
+	arg      memdat,contw
+	call     memcpy_dword_swap4
+	fetch 2,mem_sp_prarm_stack+14
+	copy pdata,contr
+	call     memcpy_dword_swap4
+
+	setarg   0x62746c
+	lshift8  pdata,pdata
+	or_into       0x6b,pdata       
+	istore   4,contw
+	arg      mem_addr_value_end,contr
+	force    3,loopcnt
+	call     memcpy_dword_swap
+	
+	setarg   0x800000
+	lshift8  pdata,pdata 
+	istore   4,contw
+	force    0,pdata
+	istore   8,contw
+	setarg   0x0380
+	istore   4,contw
+	call     sha
+
+	call     sha_result
+	arg      memresult,contr
+	arg      memahsave,contw 
+	call     memcpy32
+    
+	setarg   0x5c5c5c
+	lshift8  pdata,temp
+	or_into       0x5c,temp
+	arg      mem_sp_dhkey_end,contr 
+	force    6,loopcnt
+	call     pad_xor
+	call     sha_init
+	call     sha
+	arg      memahsave_end,contr
+	arg      memdat,contw
+	force    8,loopcnt
+	call     memcpy_dword_swap
+	setarg   0x800000
+	lshift8  pdata,pdata 
+	istore   4,contw
+	call bn_zero
+	setarg   0x0300
+	istore   4,contw
+	call     sha
+	branch     sha_result
+	
+
+function_f3a_192:
+	fetch 1,mem_ssp_mode_flag
+	bne  SSP_MODE_PASSKEY_ENTRY_FLAG,function_f3a_no_pin
+function_f3a_common:
+	bpatchx patch2f_7,mem_patch2f
+	setarg   0x363636
+	lshift8  pdata,temp
+	or_into       0x36,temp
+	arg      mem_sp_dhkey_end,contr
+	force    6,loopcnt
+	call     pad_xor
+	call     sha_init
+	call     sha
+	arg      mem_sp_random_remote_end,contr
+	arg      memdat,contw
+	call     memcpy_dword_swap4
+	arg      mem_sp_random_local_end,contr
+	call     memcpy_dword_swap4
+	branch function_f3_common
+
+function_f3a_no_pin:
+	setarg 0
+	store 4,mem_pin
+	branch function_f3a_common
+
+function_f3b_no_pin:
+	setarg 0
+	store 4,mem_pin
+	branch function_f3b_common
+
+
+function_f3b_192:
+	fetch 1,mem_ssp_mode_flag
+	bne  SSP_MODE_PASSKEY_ENTRY_FLAG,function_f3b_no_pin
+function_f3b_common:
+	setarg   0x363636
+	lshift8  pdata,temp
+	or_into       0x36,temp
+	arg      mem_sp_dhkey_end,contr
+	force    6,loopcnt
+	call     pad_xor
+	call     sha_init
+	call     sha
+
+	arg      mem_sp_random_local_end,contr
+	arg      memdat,contw
+	call     memcpy_dword_swap4
+	arg      mem_sp_random_remote_end,contr
+	call     memcpy_dword_swap4
+function_f3_common:    
+	setarg   0x0    
+	istore   8,contw
+	istore   4,contw
+	fetch 4,mem_pin
+	istore   4,contw
+	
+	copy     contw,temp
+	jam      0x80,mem_addr_padding
+	copy     temp,contw
+	arg      mem_addr_iocap_end,contr
+	call     memcpy_dword_swap4
+
+	call     sha
+    
+	arg      memdat,contw
+	force 7,loopcnt
+	call memset0
+	istore   4,contw
+	setarg   0x03F8
+	istore   4,contw
+	call     sha
+	call     sha_result
+	
+	arg      memresult,contr
+	arg      memahsave,contw 
+	call     memcpy32
+    
+	setarg   0x5c5c5c
+	lshift8  pdata,temp
+	or_into       0x5c,temp
+	arg      mem_sp_dhkey_end,contr 
+	force    6,loopcnt
+	call     pad_xor
+	call     sha_init
+	call     sha
+	arg      memahsave_end,contr
+	arg      memdat,contw
+	force    8,loopcnt
+	call     memcpy_dword_swap
+	setarg   0x800000
+	lshift8  pdata,pdata 
+	istore   4,contw
+	call bn_zero
+	setarg   0x0300
+	istore   4,contw
+	call     sha	
+	branch     sha_result
+		
+eckp_calc_init:
+	jam      192,mem_ec_loopc
+eckp_calc_init_1:    
+	fetch    1,mem_ec_loopc
+	rtn      blank
+	increase -1,pdata
+	store    1,mem_ec_loopc 	
+	arg      mem_k,contr
+	call     bn_testbit
+	branch eckp_calc_init_1,true
+	arg      mem_ax,contr
+	arg      mem_cx,contw
+	branch     ec_copy	
+	
+eckp_calc:
+	call     ecdbl  
+	fetch    1,mem_ec_loopc
+	increase -1,pdata
+	store    1,mem_ec_loopc
+	arg      mem_k,contr
+	call     bn_testbit
+	rtn	true
+	branch     ecadd                
+	             
+memcpy_dword_swap4:
+	force 4,loopcnt
+memcpy_dword_swap:
+	increase -4,contr
+memcpy_dword_swap_loop:
+	ifetch   4,contr
+	istore   4,contw
+	increase -8,contr
+	loop   memcpy_dword_swap_loop 
+    	rtn
+
+
+function_f1_no_key_256:
+	jam 0,mem_passkey_1bit
+	branch function_f1_common_256
+
+function_f1_256:
+	fetch 1,mem_ssp_mode_flag
+	bne  SSP_MODE_PASSKEY_ENTRY_FLAG,function_f1_no_key_256
+function_f1_common_256:
+	setarg   0x363636
+	lshift8  pdata,temp
+	or_into       0x36,temp
+	fetch 2,mem_sp_prarm_stack
+	copy pdata,contr
+	force    4,loopcnt
+	call     pad_xor
+	call     sha_init
+	call     sha
+	fetch 2,mem_sp_prarm_stack+2
+	copy pdata,contr
+	arg      memdat,contw
+	force    8,loopcnt
+	call     memcpy_dword_swap
+	fetch 2,mem_sp_prarm_stack+4
+	copy pdata,contr
+	force    8,loopcnt
+	call     memcpy_dword_swap
+	call     sha
+	arg      memdat,contw	
+	setarg   0x800000
+	istore   3,contw
+	fetch 1,mem_passkey_1bit
+	istore   1,contw
+	arg 7,loopcnt
+	call	memset0
+	
+	setarg   0x0408  //len bit
+	istore   4,contw
+	branch function_f1_common2
+
+function_f3a:
+	fetch 1,mem_encapsulated_minor_type
+	beq ENCAPSULATED_MINOR_TYPE_P256,function_f3a_256
+	beq ENCAPSULATED_MINOR_TYPE_P192,function_f3a_192
+	rtn
+	
+function_f3a_256:
+	fetch 1,mem_ssp_mode_flag
+	bne  SSP_MODE_PASSKEY_ENTRY_FLAG,function_f3a_no_pin_256
+function_f3a_common_256:
+	setarg   0x363636
+	lshift8  pdata,temp
+	or_into       0x36,temp
+	arg      mem_sp_dhkey_end,contr
+	force    8,loopcnt
+	call     pad_xor
+	call     sha_init
+	call     sha
+	arg      mem_sp_random_remote_end,contr
+	arg      memdat,contw
+	call     memcpy_dword_swap4
+	arg      mem_sp_random_local_end,contr
+	call     memcpy_dword_swap4
+//	branch function_f3_common
+function_f3_common_256:    
+	setarg   0x0    
+	istore   8,contw
+	istore   4,contw
+	fetch 4,mem_pin
+	istore   4,contw
+	
+	copy     contw,temp
+	jam      0x80,mem_addr_padding
+	copy     temp,contw
+	arg      mem_addr_iocap_end,contr
+	call     memcpy_dword_swap4
+
+	call     sha
+    
+	arg      memdat,contw
+	force 7,loopcnt
+	call memset0
+	istore   4,contw
+	setarg   0x03F8
+	istore   4,contw
+	call     sha
+	call     sha_result
+	
+	arg      memresult,contr
+	arg      memahsave,contw 
+	call     memcpy32
+    
+	setarg   0x5c5c5c
+	lshift8  pdata,temp
+	or_into       0x5c,temp
+	arg      mem_sp_dhkey_end,contr 
+	force    8,loopcnt
+sha_end_common:
+	call     pad_xor
+	call     sha_init
+	call     sha
+	arg      memahsave_end,contr
+	arg      memdat,contw
+	force    8,loopcnt
+	call     memcpy_dword_swap
+	setarg   0x800000
+	lshift8  pdata,pdata 
+	istore   4,contw
+	call bn_zero
+	setarg   0x0300
+	istore   4,contw
+	call     sha	
+	branch     sha_result
+	
+
+function_f3a_no_pin_256:
+	setarg 0
+	store 4,mem_pin
+	branch function_f3a_common_256
+
+function_f3b_no_pin_256:
+	setarg 0
+	store 4,mem_pin
+	branch function_f3b_common_256
+
+function_f3b:
+	fetch 1,mem_encapsulated_minor_type
+	beq ENCAPSULATED_MINOR_TYPE_P256,function_f3b_256
+	beq ENCAPSULATED_MINOR_TYPE_P192,function_f3b_192
+	rtn
+
+function_f3b_256:
+	fetch 1,mem_ssp_mode_flag
+	bne  SSP_MODE_PASSKEY_ENTRY_FLAG,function_f3b_no_pin_256
+function_f3b_common_256:
+	setarg   0x363636
+	lshift8  pdata,temp
+	or_into       0x36,temp
+	arg      mem_sp_dhkey_end,contr
+	force    8,loopcnt
+	call     pad_xor
+	call     sha_init
+	call     sha
+
+	arg      mem_sp_random_local_end,contr
+	arg      memdat,contw
+	call     memcpy_dword_swap4
+	arg      mem_sp_random_remote_end,contr
+	call     memcpy_dword_swap4
+	branch function_f3_common_256
+
+
+function_f2:
+	fetch 1,mem_encapsulated_minor_type
+	beq ENCAPSULATED_MINOR_TYPE_P256,function_f2_256
+	beq ENCAPSULATED_MINOR_TYPE_P192,function_f2_192
+	rtn
+	
+function_f2_256:
+	setarg   0x363636
+	lshift8  pdata,temp
+	or_into       0x36,temp
+	arg      mem_sp_dhkey_end,contr
+	force    8,loopcnt
+	call     pad_xor
+	call     sha_init
+	call     sha
+	fetch 2,mem_sp_prarm_stack+12
+	copy pdata,contr
+	arg      memdat,contw
+	call     memcpy_dword_swap4
+	fetch 2,mem_sp_prarm_stack+14
+	copy pdata,contr
+	call     memcpy_dword_swap4
+
+	setarg   0x62746c
+	lshift8  pdata,pdata
+	or_into       0x6b,pdata       
+	istore   4,contw
+	arg      mem_addr_value_end,contr
+	force    3,loopcnt
+	call     memcpy_dword_swap
+	
+	setarg   0x800000
+	lshift8  pdata,pdata 
+	istore   4,contw
+	force    0,pdata
+	istore   8,contw
+	setarg   0x0380
+	istore   4,contw
+	call     sha
+
+	call     sha_result
+	arg      memresult,contr
+	arg      memahsave,contw 
+	call     memcpy32
+    
+	setarg   0x5c5c5c
+	lshift8  pdata,temp
+	or_into       0x5c,temp
+	arg      mem_sp_dhkey_end,contr 
+	force    8,loopcnt
+	branch sha_end_common
+
+
+function_h3:
+	fetch    6,mem_lap
+	store   6,mem_addr_value
+	fetch    6,mem_plap
+	istore   6,contw
+	
+	setarg   0x363636
+	lshift8  pdata,temp
+	or_into       0x36,temp
+	arg      mem_link_key+16 ,contr
+	force    4,loopcnt
+	call     pad_xor
+	call     sha_init
+	call     sha
+	setarg   0x627461
+	lshift8  pdata,pdata
+	or_into       0x6b,pdata       
+	store   4,memdat
+	
+	arg      mem_addr_value+12,contr
+	force    3,loopcnt
+	call     memcpy_dword_swap
+	
+	arg mem_ccm_iv+8,contr
+	arg 2,loopcnt
+	call     memcpy_dword_swap
+	
+	setarg   0x800000
+	lshift8  pdata,pdata 
+	istore   4,contw
+	arg 4,loopcnt
+	call memset0
+
+	setarg   704
+	istore   4,contw
+	call     sha
+
+	call     sha_result
+	arg      memresult,contr
+	arg      memahsave,contw 
+	call     memcpy32
+    
+	setarg   0x5c5c5c
+	lshift8  pdata,temp
+	or_into       0x5c,temp
+	arg      mem_link_key+16,contr 
+	force    4,loopcnt
+	branch sha_end_common
+
+
+function_h4:
+	fetch    6,mem_lap
+	store   6,mem_addr_value
+	fetch    6,mem_plap
+	istore   6,contw
+	
+	setarg   0x363636
+	lshift8  pdata,temp
+	or_into       0x36,temp
+	arg      mem_link_key+16 ,contr
+	force    4,loopcnt
+	call     pad_xor
+	call     sha_init
+	call     sha
+	setarg   0x627464
+	lshift8  pdata,pdata
+	or_into       0x6b,pdata       
+	store   4,memdat
+	
+	arg      mem_addr_value+12,contr
+	force    3,loopcnt
+	call     memcpy_dword_swap
+	
+	setarg   0x800000
+	lshift8  pdata,pdata 
+	istore   4,contw
+	arg 5,loopcnt
+	call memset0
+
+	setarg   640
+	istore   4,contw
+	call     sha
+
+	call     sha_result
+	arg      memresult,contr
+	arg      memahsave,contw 
+	call     memcpy32
+    
+	setarg   0x5c5c5c
+	lshift8  pdata,temp
+	or_into       0x5c,temp
+	arg      mem_link_key+16,contr 
+	force    4,loopcnt
+	branch sha_end_common
+
+
+function_h5:
+	arg mem_sp_calc_result_high,contr
+	arg mem_input_store,contw
+	call memcpy16
+	setarg mem_sp_random_remote+16
+	store 2,mem_sp_prarm_stack
+	setarg mem_random_number+16
+	istore 2,contw
+	
+	setarg   0x363636
+	lshift8  pdata,temp
+	or_into       0x36,temp
+	arg      mem_input_store+16 ,contr
+	force    4,loopcnt
+	call     pad_xor
+	call     sha_init
+	call     sha
+
+	arg memdat,contw
+	fetch 2, mem_sp_prarm_stack
+	copy pdata,contr
+	call     memcpy_dword_swap4
+	fetch 2,     mem_sp_prarm_stack+2
+	copy pdata,contr
+	call     memcpy_dword_swap4
+	
+	setarg   0x800000
+	lshift8  pdata,pdata 
+	istore   4,contw
+	
+	arg 3,loopcnt
+	call memset0
+
+	setarg   768
+	istore   4,contw
+	call     sha
+
+	call     sha_result
+	arg      memresult,contr
+	arg      memahsave,contw 
+	call     memcpy32
+    
+	setarg   0x5c5c5c
+	lshift8  pdata,temp
+	or_into       0x5c,temp
+	arg      mem_input_store+16,contr 
+	force    4,loopcnt
+	branch sha_end_common
+
+
+
+
+	
+
+
+sp_initialize_256:	
+	bpatchx patch30_0,mem_patch30
+	fetch 1,mem_secure_connections_enable
+	nbranch sp_pubkey_calc_256,blank
+//	call sp_clear_flags
+sc_reset:
+	jam SP_CALC_STANDBY,mem_sc_calc
+	jam SP_KEY_INVALID,mem_sc_local_key_invalid
+	rtn
+	
+	
+    	
+sp_wait_pubkey_calc_256_done:
+	fetch 1,mem_secure_connections_enable
+	rtn blank
+	fetch 1,mem_sc_local_key_invalid
+	rtneq SP_KEY_VALID_256
+	call sp_calc_sequence_256
+	branch sp_wait_pubkey_calc_256_done
+
+
+//BD1A3CCD:A6B89958:99B740EB:7B60FF4A:503F10D2:E3B3C974:385FC5A3:D4F6493F
+sp_debug_private_256:
+	arg mem_sc_private_key_256,contw
+        setsect 0,0x1abd
+        setsect 1,0x1b34f
+        setsect 2,0x19b8a
+        setsect 3,0x26562
+        istore 9,contw
+        setsect 0,0x340b7
+        setsect 1,0x1efa
+        setsect 2,0xaff6
+        setsect 3,0xfd41
+        istore 9,contw
+        setsect 0,0x3d210
+        setsect 1,0x26cf8
+        setsect 2,0x3874c
+        setsect 3,0x3157c
+        istore 9,contw
+        setsect 0,0x2d4a3
+        setsect 1,0x3d27d
+        setsect 2,0x3
+        istore 5,contw
+        rtn
+	
+
+sp_pubkey_calc_256:
+	fetch    1,mem_sc_local_key_invalid
+	rtnne SP_KEY_INVALID
+	fetch    1,mem_sc_calc
+	rtnne  SP_CALC_STANDBY
+	call init_memp_256
+	arg      mem_sc_private_key_256,contw 
+	force    15,queue
+	call     random_generator
+	random   pdata
+	rshift   pdata,pdata
+	istore   2,contw 
+	
+	fetch 1,mem_sp_debug_mode
+	ncall sp_debug_private_256,blank
+	
+	arg      mem_k_256,contw
+	arg      mem_sc_private_key_256,contr	
+	call     memcpy32 //mem_sp_private_key=>mem_k 
+
+	arg      mem_ax_256,contw
+	arg      mem_gx_256,contr
+	call     memcpy64 //mem_gx=>mem_ax 
+	
+	arg      mem_az_256,contw
+	call      clear_mem_256
+	jam      1,mem_az_256 //0=>mem_az 
+
+	call     eckp_calc_init_256
+	jam SP_CALC_PUBKEY_256,mem_sc_calc
+	rtn    
+
+sp_pubkey_generated_256:
+
+	arg      mem_sc_pubkey_local_x_256,contw
+	arg      mem_bx_256,contr
+	call     memcpy64   
+	jam      SP_KEY_VALID_256,mem_sc_local_key_invalid
+	jam      SP_CALC_STANDBY,mem_sc_calc
+	rtn
+	
+
+
+sp_dhkey_calc_256:
+	fetch    1,mem_sp_dhkey_invalid
+	rtnne  SP_KEY_INVALID
+	fetch    1,mem_sc_calc
+	rtnne  SP_CALC_STANDBY
+
+	arg      mem_k_256,contw
+	arg      mem_sc_private_key_256,contr	
+	call     memcpy32
+
+	arg      mem_ax_256,contw
+	arg      mem_le_pubkey_remote_x_256,contr
+	call     memcpy64
+
+	arg      mem_az_256,contw
+	call     clear_mem_256
+	jam      1,mem_az_256 //0=>mem_az 
+
+	call     eckp_calc_init_256
+	jam     SP_CALC_DHKEY_256,mem_sc_calc
+	rtn 
+
+
+sp_dhkey_generated_256:
+//	jam SP_FLAG_COMMIT,mem_sp_dh_ready
+	arg mem_le_dhkey_256,contw
+	arg mem_bx_256,contr
+	call memcpy32
+	jam SP_KEY_VALID_256,mem_sp_dhkey_invalid
+	jam SP_CALC_STANDBY,mem_sc_calc
+	rtn
+
+
+
+sp_calc_sequence_256:
+	fetch 1,mem_secure_connections_enable
+	rtn blank
+	fetch 1,mem_sc_calc
+	rtn blank
+	increase 0x80,pdata
+	store    1,mem_sc_calc
+	rtnbit1 7
+	fetch    2,mem_ec_loopc
+	branch   sp_calc_sequence_done_256,blank
+	branch   eckp_calc_256
+
+sp_calc_sequence_done_256:    
+	bpatchx patch30_1,mem_patch30
+	call ecunmapz_256
+	fetch 1,mem_sc_calc
+	beq  SP_CALC_PUBKEY_256,sp_pubkey_generated_256
+	beq  SP_CALC_DHKEY_256,sp_dhkey_generated_256
+	rtn
+
+
+eckp_calc_256:
+	call     ecdbl_256  
+	fetch    2,mem_ec_loopc
+	increase -1,pdata
+	store    2,mem_ec_loopc
+	arg      mem_k_256,contr
+	call     bn_testbit
+	rtn	true
+	branch     ecadd_256   
+
+eckp_calc_init_256:
+	bpatchx patch30_2,mem_patch30
+	setarg 256
+	store 2,mem_ec_loopc
+eckp_calc_init_256_1:    
+	fetch    2,mem_ec_loopc
+	rtn      blank
+	increase -1,pdata
+	store    2,mem_ec_loopc
+	arg      mem_k_256,contr
+	call     bn_testbit
+	branch eckp_calc_init_256_1,true
+	arg      mem_ax_256,contr
+	arg      mem_cx_256,contw
+	branch     memcpy96	
+
+
+ecunmapz_256:
+	arg mem_cz_256,rega
+	arg mem_t3_256,contw
+	call bn_invmod_256			
+	arg mem_t3_256,rega
+	arg mem_t1_256,contw		
+	call bn_sqrmod_256			
+	arg mem_cx_256,rega
+	arg mem_t1_256,regb
+	arg mem_bx_256,contw
+	call bn_mulmod_256
+	arg mem_t3_256,rega
+	arg mem_t1_256,regb
+	arg mem_t2_256,contw			
+	call bn_mulmod_256			
+	arg mem_cy_256,rega
+	arg mem_t2_256,regb
+	arg mem_by_256,contw
+	branch bn_mulmod_256	
+	
+ecdbl_256:
+	arg mem_cz_256,rega
+	arg mem_t2_256,contw
+	call bn_sqrmod_256
+	arg mem_t2_256,rega
+	arg mem_t3_256,contw
+	call bn_sqrmod_256
+//call ice_break
+	arg mem_a_256,rega
+	arg mem_t3_256,regb
+	arg mem_t3_256,contw
+	call bn_mulmod_256		
+	arg mem_cx_256,rega
+	arg mem_t2_256,contw
+	call bn_sqrmod_256
+//call ice_break
+	arg mem_t2_256,contr
+	arg mem_t1_256,contw
+	call memcpy32
+	arg mem_t1_256,rega
+	call bn_lshiftmod_256
+	arg mem_t2_256,rega
+	arg mem_t1_256,regb
+	arg mem_t2_256,contw
+	call bn_addmod_256
+//call ice_break
+	arg mem_t2_256,rega
+	arg mem_t3_256,regb
+	arg mem_t2_256,contw
+	call bn_addmod_256		
+//call ice_break
+	arg mem_cx_256,contr
+	arg mem_t1_256,contw
+	call memcpy32
+	arg mem_cy_256,rega
+	arg mem_t3_256,contw
+	call bn_sqrmod_256
+	arg mem_t1_256,rega
+	call bn_lshiftmod_256
+	arg mem_t1_256,rega
+	call bn_lshiftmod_256
+	arg mem_t1_256,rega		
+	arg mem_t3_256,regb
+	arg mem_t1_256,contw
+	call bn_mulmod_256		//S = 4X1Y1^2
+	arg mem_t3_256,rega
+	arg mem_t0_256,contw
+	call bn_sqrmod_256
+	arg mem_t0_256,rega
+	call bn_lshiftmod_256
+	arg mem_t0_256,rega
+	call bn_lshiftmod_256		
+	arg mem_t0_256,rega		
+	call bn_lshiftmod_256	//T = 8Y1^4	
+	arg mem_cy_256,contr
+	arg mem_t3_256,contw
+	call memcpy32
+	arg mem_t3_256,rega
+	call bn_lshiftmod_256
+	arg mem_t3_256,rega
+	arg mem_cz_256,regb
+	arg mem_cz_256,contw
+	call bn_mulmod_256		//z = 2Y1Z1
+
+
+	arg mem_t2_256,rega
+	arg mem_t3_256,contw
+	call bn_sqrmod_256   // M ^2
+//call ice_break
+	arg mem_t3_256,rega
+	arg mem_t1_256,regb
+	arg mem_t3_256,contw
+	call bn_submod_256  // t2^2 - 4*cx *cy^2 
+	arg mem_t3_256,rega
+	arg mem_t1_256,regb
+	arg mem_cx_256,contw
+	call bn_submod_256   //X2
+	arg mem_t1_256,rega
+	arg mem_cx_256,regb
+	arg mem_t3_256,contw
+	call bn_submod_256   //S-X2
+	arg mem_t3_256,rega
+	arg mem_t2_256,regb
+	arg mem_t3_256,contw
+	call bn_mulmod_256	//M(S-X2)	
+	arg mem_t3_256,rega
+	arg mem_t0_256,regb
+	arg mem_cy_256,contw
+	branch bn_submod_256  //M(S-X2)-T Y2	
+
+ecadd_256:
+
+	arg mem_az_256,rega
+	arg mem_t7_256,contw
+	call bn_sqrmod_256
+	arg mem_cx_256,rega
+	arg mem_t7_256,regb
+	arg mem_t0_256,contw
+	call bn_mulmod_256		
+
+
+	arg mem_az_256,rega
+	arg mem_t7_256,regb
+	arg mem_t7_256,contw
+	call bn_mulmod_256	
+	arg mem_cy_256,rega
+	arg mem_t7_256,regb
+	arg mem_t1_256,contw
+	call bn_mulmod_256		
+
+
+	arg mem_cz_256,rega
+	arg mem_t7_256,contw
+	call bn_sqrmod_256
+	arg mem_ax_256,rega
+	arg mem_t7_256,regb
+	arg mem_t2_256,contw
+	call bn_mulmod_256		
+
+	arg mem_cz_256,rega
+	arg mem_t7_256,regb
+	arg mem_t7_256,contw
+	call bn_mulmod_256	
+	arg mem_ay_256,rega
+	arg mem_t7_256,regb
+	arg mem_t3_256,contw
+	call bn_mulmod_256		
+
+
+//	arg mem_t0_256,rega
+//	arg mem_t2_256,regb
+	arg mem_t0_256,regb
+	arg mem_t2_256,rega
+	arg mem_t7_256,contw
+	call bn_submod_256		
+	arg mem_t0_256,rega
+	arg mem_t2_256,regb
+	arg mem_t0_256,contw
+	call bn_addmod_256		
+//	arg mem_t1_256,rega
+//	arg mem_t3_256,regb
+	arg mem_t1_256,regb
+	arg mem_t3_256,rega
+	arg mem_t2_256,contw
+	call bn_submod_256		
+	arg mem_t1_256,rega
+	arg mem_t3_256,regb
+	arg mem_t1_256,contw
+	call bn_addmod_256		
+	arg mem_t1_256,rega
+	arg mem_t7_256,regb
+	arg mem_t1_256,contw
+	call bn_mulmod_256		
+	arg mem_cz_256,rega
+	arg mem_az_256,regb
+	arg mem_t3_256,contw
+	call bn_mulmod_256	      //Z0Z1
+	arg mem_t3_256,rega
+	arg mem_t7_256,regb
+	arg mem_cz_256,contw
+	call bn_mulmod_256		
+
+	arg mem_t7_256,rega
+	arg mem_t7_256,contw
+	call bn_sqrmod_256		
+	arg mem_t7_256,rega
+	arg mem_t0_256,regb
+	arg mem_t3_256,contw
+	call bn_mulmod_256		
+	arg mem_t7_256,rega
+	arg mem_t1_256,regb
+	arg mem_t1_256,contw
+	call bn_mulmod_256		
+	arg mem_t2_256,rega
+	arg mem_cx_256,contw
+	call bn_sqrmod_256		
+	arg mem_cx_256,rega
+	arg mem_t3_256,regb
+	arg mem_cx_256,contw
+	call bn_submod_256		
+	arg mem_cx_256,contr
+	arg mem_t7_256,contw
+	call memcpy32
+	arg mem_t7_256,rega
+	call bn_lshiftmod_256		
+	arg mem_t3_256,rega
+	arg mem_t7_256,regb
+	arg mem_t3_256,contw
+	call bn_submod_256		
+	arg mem_t3_256,rega
+	arg mem_t2_256,regb
+	arg mem_t2_256,contw
+	call bn_mulmod_256		
+	arg mem_t2_256,rega
+	arg mem_t1_256,regb
+	arg mem_cy_256,contw
+	call bn_submod_256	
+	arg mem_cy_256,rega
+	arg mem_p_256,regb
+	arg mem_cy_256,contw
+	force 0,regc
+	fetch 1,mem_cy_256
+	isolate1 0,pdata
+	call bn_add_256,true
+	copy regc,alarm
+	arg mem_cy_256,rega
+	call bn_rshift_256
+	fetch 1,mem_cy5_256
+	isolate1 0,alarm
+	setflag true,7,pdata
+	store 1,mem_cy5_256
+	rtn	
+
+bn_invmod_256:
+	copy contw,timeup					 
+	arg mem_tmp0_256,contw			 
+	call clear_mem_256
+	force 0,pdata
+//	store 4,mem_tmp52
+	store 4,mem_t2_256
+	jam 1,mem_tmp0_256      //y1
+	arg mem_tmp1_256,contw	//y2			 
+	call clear_mem_512      
+	arg mem_p_256,contr
+	arg mem_tmp2_256,contw		//j		 
+	call memcpy32
+	copy rega,contr
+	arg mem_tmp3_256,contw		//i		 
+	call memcpy32
+	
+//	arg mem_tmp22,rega
+//	arg mem_tmp32,regb
+//	call p_bn_bigeq_256
+//	branch assert,positive
+bn_invmod_256_2:	
+	arg mem_tmp3_256,contr
+	call bn_eq_zero_256
+	branch bn_invmod_256_0,blank
+//call ice_break    	
+//fetch 1,0x4ffe
+//increase 1,pdata
+//store 1,0x4ffe
+	arg mem_tmp3_256,rega
+	arg mem_tmp0_256,regb
+	call bn_rshifteven_256
+	arg mem_tmp2_256,rega
+	arg mem_tmp1_256,regb
+	call bn_rshifteven_256
+	
+	arg mem_tmp3_256,rega
+	arg mem_tmp2_256,regb
+	call bn_bigeq_256
+	branch bn_invmod_256_1,positive
+	arg mem_tmp2_256,rega
+	arg mem_tmp3_256,regb
+	copy rega,contw
+	call bn_sub_256
+	arg mem_tmp0_256,rega
+	arg mem_tmp1_256,regb
+	copy regb,contw
+	call bn_add_256
+	ifetch 1,rega
+	iadd regc,regc
+	ifetch 1,regb
+	iadd regc,pdata
+	istore 1,regb
+	branch bn_invmod_256_2
+bn_invmod_256_1:
+	arg mem_tmp3_256,rega
+	arg mem_tmp2_256,regb
+	copy rega,contw
+	call bn_sub_256
+	arg mem_tmp1_256,rega
+	arg mem_tmp0_256,regb
+	copy regb,contw
+	call bn_add_256
+	ifetch 1,rega
+	iadd regc,regc
+	ifetch 1,regb
+	iadd regc,pdata
+	istore 1,regb
+	branch bn_invmod_256_2
+bn_invmod_256_0:
+//call ice_break
+	arg mem_tmp1_256,rega
+	copy timeup,contw
+	call  bn_p256mod
+//call ice_break
+	arg mem_p_256,rega
+	copy timeup,regb
+	copy timeup,contw
+	branch bn_submod_256
+
+
+bn_mulmod_256:
+	copy contw,timeup					
+	
+	force 0,regext_index
+	
+	arg mem_tmp1_256,contw
+	call clear_mem_512
+	arg mem_regext,contw
+	call clear_mem_512
+//	jam 0,mem_regext_index
+
+//	arg mem_tmp12,contw
+	copy rega,contr
+//	force 0,regext_index
+	jam 0,mem_regext
+	setarg 0
+	call bn_load_mem
+	copy regb,contr
+	call bn_load_256
+//	force 0,regb
+//	jam 0,mem_regb
+	force 0,queue
+	arg mem_tmp1_256,contw	
+bn_mulmod_256_1:	
+//	copy regb,pdata
+//	store 1,
+	arg mem_regext,temp
+	copy queue,regb
+	lshift2 regb,pdata
+//	lshift4 pdata,pdata
+	iadd temp,regb	
+	force 0,temp
+	force 0,regc
+bn_mulmod_256_0:
+//	copy contw,pdata
+//	store 2,mem_contw
+//call ice_break
+//	copy pdata,contw
+	ifetch 4,contw					
+	iforce rega
+//	copy regb,regext_index
+//	deposit regext
+	ifetch 4,regb
+	copy regc,regext_index
+	imul32 regext,pdata
+	iadd rega,pdata					
+	iadd temp,pdata					
+	istore 4,contw					
+	rshift32 pdata,temp				
+	increase 1,regc
+	compare 8,regc,0xff
+	nbranch bn_mulmod_256_0,true
+//call ice_break
+	deposit temp
+	istore 4,contw					
+	increase -32,contw
+//	fetch 1,mem_regb
+//	copy pdata,regb
+	increase 1,queue
+	compare 8,queue,0xff
+	nbranch bn_mulmod_256_1,true
+	arg mem_tmp1_256,rega
+	copy timeup,contw
+	branch bn_p256mod
+
+bn_p256mod:
+	bpatchx patch30_3,mem_patch30
+	copy contw,timeup				
+	copy rega,alarm				
+	arg mem_tmp2_256,regb
+	copy regb,contw
+	call memset0_4	
+	istore 8,contw
+	add rega,44,contr
+	call memcpy8
+	call memcpy12
+	copy regb,rega
+	call  bn_lshiftmod_256 //2S1
+	arg mem_tmp2_256,regb
+	copy alarm,rega   
+	copy timeup,contw
+	call bn_addmod_256 //T+2S1
+//call ice_break	
+	arg mem_tmp2_256,regb
+	copy regb,contw
+	call memset0_4	
+	istore 8,contw
+	add alarm,48,contr
+	call memcpy16
+	call memset0_4	
+	copy regb,rega
+	call  bn_lshiftmod_256 //2S2
+//call ice_break	
+//	arg 0,regb
+
+	arg mem_tmp2_256,regb
+	copy timeup,rega   
+	copy rega,contw	
+	call bn_addmod_256  //+2S2
+//call ice_break	
+//	arg 0,regb
+		
+	arg mem_tmp2_256,regb
+	copy regb,contw
+	add alarm,32,contr
+	call memcpy12
+	call memset0_4	
+	istore 8,contw
+	add alarm,56,contr
+	call memcpy8
+	copy timeup,rega
+	copy rega,contw
+	call bn_addmod_256 //+S3
+//call ice_break	
+//	arg 0,regb
+
+	arg mem_tmp2_256,regb
+	copy regb,contw
+	add alarm,36,contr
+	call memcpy12
+	add alarm,52,contr	
+	call memcpy12
+	add alarm,52,contr
+	call memcpy4
+	add alarm,32,contr
+	call memcpy4
+	copy timeup,rega
+	copy rega,contw
+	call bn_addmod_256 //+S4	
+//call ice_break	
+//	arg 1,regb
+	arg mem_tmp2_256,regb
+	copy regb,contw
+	add alarm,44,contr
+	call memcpy12
+	call memset0_4	
+	istore 8,contw
+	add alarm,32,contr
+	call memcpy4
+	add alarm,40,contr
+	call memcpy4
+	copy timeup,rega
+	copy rega,contw
+	call bn_submod_256 //-D1	
+//call ice_break	
+//	arg 2,regb
+	arg mem_tmp2_256,regb
+	copy regb,contw
+	add alarm,48,contr
+	call memcpy8
+	call memcpy8
+	force 0,pdata
+	istore 8,contw
+	add alarm,36,contr
+	call memcpy4
+	add alarm,44,contr
+	call memcpy4
+	copy timeup,rega
+	copy rega,contw
+	call bn_submod_256 //-D2	
+//call ice_break	
+//	arg 3,regb
+	arg mem_tmp2_256,regb
+	copy regb,contw
+	add alarm,52,contr
+	call memcpy12
+	add alarm,32,contr
+	call memcpy12
+	call memset0_4	
+	add alarm,48,contr
+	call memcpy4
+	copy timeup,rega
+	copy rega,contw
+	call bn_submod_256 //-D3
+//call ice_break	
+//	arg 4,regb
+	arg mem_tmp2_256,regb
+	copy regb,contw
+	add alarm,56,contr
+	call memcpy8
+	call memset0_4	
+	add alarm,36,contr
+	call memcpy12
+	call memset0_4	
+	add alarm,52,contr
+	call memcpy4
+	copy timeup,rega
+	copy rega,contw
+	branch  bn_submod_256 //-D4	
+
+
+bn_load_mem:
+	force 32,loopcnt
+	arg mem_regext,contw
+	iadd contw,contw
+	branch memcpy
+
+bn_load_256:
+	force 8,loopcnt
+	branch bn_load_0
+
+bn_sqrmod_256:
+	copy rega,regb
+	branch bn_mulmod_256
+
+bn_add_256:
+	force 8,loopcnt
+ 	branch bn_add+1
+
+bn_addmod_256:
+	call bn_add_256
+	copy contw,rega
+	branch bn_lshiftmod_ismod_256
+
+bn_lshiftmod_256:
+	call bn_lshift_256
+bn_lshiftmod_ismod_256:	
+	isolate1 0,regc
+	branch bn_lshiftmod_p_256,true
+	arg mem_p_256,regb
+	copy rega,regc
+	increase -32,rega
+	call bn_bigeq_256
+	nrtn positive
+	copy regc,rega
+	branch sub_p2_256
+	
+bn_lshiftmod_p_256:
+	call sub_p2_256
+//	nrtn true
+	copy rega,regc
+	increase -32,rega
+	arg mem_p_256,regb
+	call bn_bigeq_256
+	nrtn positive
+	copy regc,rega
+	branch sub_p2_256
+		
+	
+sub_p2_256:
+	increase -32,rega
+	arg mem_p_256,regb
+	copy rega,contw
+	branch bn_sub_256
+	
+
+
+	
+bn_submod_256:
+	call bn_sub_256
+//	isolate1 0,regc
+	branch  bn_submod_256_np,true
+//	copy rega,regc
+//	increase -32,rega
+	add contw,-32,rega
+	arg mem_p_256,regb
+	call bn_bigeq_256
+	nrtn positive
+	arg mem_p_256,regb
+	add contw,-32,rega
+//	copy regc,rega
+	copy rega,contw
+	branch  bn_sub_256
+bn_submod_256_np:	
+	add contw,-32,rega
+	arg mem_p_256,regb
+	copy rega,contw
+	call bn_add_256
+//	isolate1 0,regc
+	rtn true
+	add contw,-32,rega
+	arg mem_p_256,regb
+	copy rega,contw
+	branch bn_add_256	
+
+
+ 
+bn_sub_256:
+	force 8,loopcnt
+	branch bn_sub+1
+
+bn_rshift_256:
+	force 8,loopcnt
+	increase 28,rega
+	branch bn_rshift
+
+bn_lshift_256:
+	force 8,loopcnt
+	force 0,regc
+	branch bn_lshift_0
+
+bn_bigeq_256:
+	force 8,loopcnt
+	increase 28,rega
+	increase 28,regb
+	branch bn_bigeq_0
+
+
+bn_eq_zero_256:
+	ifetch 8,contr
+	nrtn blank
+	branch bn_eq_zero
+
+
+
+	
+bn_rshifteven_256:
+	copy rega,alarm
+bn_rshifteven_256_1:
+	copy alarm,rega
+	ifetch 1,rega
+	isolate1 0,pdata
+	rtn true
+	call bn_rshift_256
+	ifetch 1,regb
+	isolate0 0,pdata
+	branch bn_rshifteven_256_0,true
+	arg mem_p_256,rega
+	copy regb,contw
+	call bn_add_256
+	ifetch 1,regb
+	iadd regc,pdata
+	istore 1,regb						 
+	increase -32,regb
+bn_rshifteven_256_0:
+	add regb,32,rega
+	force 9,loopcnt
+	call bn_rshift
+	branch bn_rshifteven_256_1		
+
+
+
+ui_init:
+	call lpm_disable_exen_output
+	rtn wake
+	call ui_button_init
+	call ui_timer_init
+	branch ui_led_init_global
+
+ui_dispatch:
+	call ui_led_dispatch
+	branch ui_timer_check
+	
+ui_button_init:
+	fetch 1,mem_ui_button_gpio
+	rtneq UI_BUTTON_GPIO_DISABLE
+	iforce temp
+	call gpio_config_output
+	fetcht 1,mem_ui_button_gpio
+	call gpio_out_inactive
+	nop 100
+	fetcht 1,mem_ui_button_gpio
+	call gpio_config_input
+	branch ui_button_polling
+
+
+	
+ui_button_polling:
+	bpatchx patch30_4,mem_patch30
+	fetch 1,mem_ui_button_gpio
+	rtneq UI_BUTTON_GPIO_DISABLE
+	copy pdata,temp
+	call gpio_get_bit
+	nbranch ui_button_up,true
+	//fall through
+ui_button_down:
+	call ui_button_check_long_press
+	fetch 2,mem_ui_state_map
+	set1 UI_STATE_BTN_DOWN,pdata
+	store 2,mem_ui_state_map
+	fetch 1,mem_ui_button_last_state
+	rtneq UI_BUTTON_STATE_DOWN
+	jam UI_BUTTON_STATE_DOWN,mem_ui_button_last_state
+	//Down Edge
+	fetch 1,mem_ui_button_timeout
+	store 1,mem_ui_button_timer //start long press timer
+	call lpm_button_get_wake_lock
+	jam BT_EVT_BUTTON_DOWN,mem_fifo_temp
+	branch ui_ipc_send_event
+ui_button_up:
+	fetch 2,mem_ui_state_map
+	set0 UI_STATE_BTN_DOWN,pdata
+	store 2,mem_ui_state_map
+	fetch 1,mem_ui_button_last_state
+	rtneq UI_BUTTON_STATE_UP
+	jam UI_BUTTON_STATE_UP,mem_ui_button_last_state
+	//Up Edge
+	jam 0,mem_ui_button_timer//stop long press timer
+	call lpm_button_clean_wake_lock
+	jam BT_EVT_BUTTON_UP,mem_fifo_temp
+	branch ui_ipc_send_event
+
+ui_button_check_long_press:
+	fetch 1,mem_ui_button_timer
+	rtn blank
+	increase -1,pdata
+	store 1,mem_ui_button_timer
+	nrtn blank
+	//Long Press
+	jam BT_EVT_BUTTON_LONG_PRESSED,mem_fifo_temp
+	branch ui_ipc_send_event
+
+lpm_button_get_wake_lock:
+	arg wake_lock_button,queue
+	branch lpm_get_wake_lock
+	
+lpm_button_clean_wake_lock:
+	arg wake_lock_button,queue
+	branch lpm_put_wake_lock
+
+
+
+
+//input:rega :struct number
+//output:regb :current strutct starting pointer
+calc_curr_struct_prt:
+	fetch 2,mem_ui_led_struct_ptr
+	mul32 rega,LED_OFFSET_LENGTH,regb
+	iadd regb,regb
+	rtn
+
+
+ui_led_init_global:
+	fetch 1,mem_ui_led_struct_num
+	rtn blank
+	copy pdata,loopcnt
+	fetch 2,mem_ui_led_struct_ptr
+	copy pdata,regb
+ui_led_init_loop:
+	add regb,LED_OFFSET_LED_GPIO,regc
+	ifetcht 1,regc
+	call gpio_config_output
+	call ui_led_off_static
+	increase LED_OFFSET_LENGTH,regb
+	loop ui_led_init_loop
+	rtn
+
+	
+//input:rega :struct number
+ui_led_on_global:
+	call calc_curr_struct_prt
+	setarg UI_LED_STATE_LIGHTING
+	istore 1,regb
+	call ui_led_stop_timer
+	branch ui_led_on_static
+
+	
+//input:rega :struct number
+ui_led_blink_stop_global:
+ui_led_off_global:
+	call calc_curr_struct_prt
+	setarg UI_LED_STATE_DARKING
+	istore 1,regb
+	call ui_led_stop_timer
+	branch ui_led_off_static
+
+
+//input:rega :struct number
+ui_led_blink_start_global:
+	call calc_curr_struct_prt
+	setarg UI_LED_STATE_BLINK_START
+	istore 1,regb
+	setarg LED_INFINITE_FLASH_NUM
+	istore 1,contw
+	branch ui_led_off_static
+
+
+//input:rega :struct number
+//REGC: the point that want to set led style address
+ui_led_set_style_global:
+	call calc_curr_struct_prt
+	arg LED_OFFSET_LENGTH,loopcnt
+	copy regc,contr
+	copy regb,contw
+	branch memcpy_fast
+
+
+
+ui_led_dispatch:
+	fetch 1,mem_ui_led_struct_num
+	rtn blank
+	arg 0,rega
+ui_led_blink_polling:
+	call ui_led_change_style_by_type
+	increase 1,rega
+	fetch 1,mem_ui_led_struct_num
+	isub rega,null
+	rtn zero
+	branch ui_led_blink_polling
+
+
+ui_led_off_static:
+	add regb,LED_OFFSET_LED_GPIO,regc
+	ifetcht 1,regc
+	fetch 1,mem_device_option
+	beq dvc_op_mouse,mouse_ui_led_off_static
+	branch gpio_out_inactive
+
+
+ui_led_on_static:
+	add regb,LED_OFFSET_LED_GPIO,regc
+	ifetcht 1,regc
+	fetch 1,mem_device_option
+	beq dvc_op_mouse,mouse_ui_led_on_static
+	branch gpio_out_active
+
+
+//input:rega :struct number
+ui_led_change_style_by_type:
+	add rega,ui_led_blink,queue
+	call timer_check
+	nrtn blank			//timer out
+	
+	call calc_curr_struct_prt
+
+	ifetch 1,regb			//led type
+
+	beq UI_LED_STATE_LIGHTING,ui_led_on_static
+	beq UI_LED_STATE_DARKING,ui_led_off_static
+	beq UI_LED_STATE_BLINK_STOP,ui_led_off_static
+	beq UI_LED_STATE_BLINK_DARKING,ui_led_blink_state_darking
+ui_led_blink_state_lighting:
+	call ui_led_on_static
+	add regb,LED_OFFSET_CB_LEDON,regc
+	call push_stack
+	ifetch 2,regc
+	call callback_func
+	call pop_stack
+	setarg UI_LED_STATE_BLINK_DARKING
+	istore 1,regb
+	add regb,LED_OFFSET_ON_TIME,regc
+	ifetch 2,regc
+	branch ui_led_blink_timer_start
+	
+
+ui_led_blink_state_darking:
+	call ui_led_off_static
+	add regb,LED_OFFSET_CB_LEDOFF,regc
+	call push_stack
+	ifetch 2,regc
+	call callback_func
+	call pop_stack
+	
+	add regb,LED_OFFSET_BLINK_COUNT,regc
+	ifetch 1,regc
+	beq LED_INFINITE_FLASH_NUM,ui_led_blink_infinite
+	increase -1,pdata
+	istore 1,regc
+	branch ui_led_blink_stop_global,blank		//End of flicker
+ui_led_blink_infinite:
+	setarg UI_LED_STATE_BLINK_LIGHTING
+	istore 1,regb
+	add regb,LED_OFFSET_OFF_TIME,regc
+	ifetch 2,regc
+ui_led_blink_timer_start:
+	add rega,ui_led_blink,queue
+	branch timer_init
+
+ui_led_stop_timer:
+	setarg 0
+	branch ui_led_blink_timer_start
+
+
+
+
+
+ui_timer_timeout:
+	setarg 0x1000
+	lshift16 pdata,pdata
+	iadd regb,regb
+	rtn
+	
+ui_timer_check:
+	bpatchx patch30_5,mem_patch30
+	arg 0,rega
+	fetcht 4,mem_ui_timer_last_btclk
+	copy clkn_bt,regb
+	copy regb,pdata
+	isub temp,null
+	ncall ui_timer_timeout,positive
+ui_timer_check_loop:
+	copy regb,pdata
+	increase 160,temp    //320btclk = 100ms
+	increase 160,temp
+	isub temp,null
+	nbranch ui_timer_check_end,positive
+	increase 1,rega   //increase 1 every 100ms count
+	and rega,0x0f,pdata
+	nbranch ui_timer_check_loop,blank
+	arg 0,rega  //reset timer if it's longer than 1.5s between 2 checks
+	call ui_timer_check_send_evt
+ui_timer_init:
+	copy clkn_bt,pdata
+	store 4,mem_ui_timer_last_btclk
+	rtn
+ui_timer_check_end:
+	copy rega,pdata
+	rtn blank
+	increase -160,temp    //320btclk = 100ms
+	increase -160,temp
+	set0 28,temp
+	storet 4,mem_ui_timer_last_btclk
+ui_timer_check_send_evt:
+	branch app_evt_timer
+
+	
+
+//
+//
+//
+ui_ipc_get_lock:
+	jam 1,mem_ipc_lock_bt
+ui_ipc_get_lock_wait:
+	fetch 1,mem_ipc_lock_c51
+	nbranch ui_ipc_get_lock_wait,blank
+	rtn
+	
+ui_ipc_put_lock:
+	jam 0,mem_ipc_lock_bt
+	rtn
+	
+
+	
+ui_ipc_send_event:
+	bpatchx patch30_6,mem_patch30
+	call ui_ipc_get_lock
+	copy rega,pdata
+	store 4,mem_ipc_rega_temp
+	arg mem_ipc_fifo_bt2c51,rega
+	call fifo_in
+	fetch 4,mem_ipc_rega_temp
+	copy pdata,rega
+	branch ui_ipc_put_lock
+
+ui_ipc_send_cmd:
+	bpatchx patch30_7,mem_patch30
+	call ui_ipc_get_lock
+	copy rega,pdata
+	store 4,mem_ipc_rega_temp	
+	arg mem_ipc_fifo_c512bt,rega
+	call fifo_in
+	fetch 4,mem_ipc_rega_temp
+	copy pdata,rega	
+	branch ui_ipc_put_lock
+
+ui_ipc_clean_all_fifo:
+	setarg 0
+	store UTIL_FIFO_LEN,mem_ipc_fifo_c512bt
+	store UTIL_FIFO_LEN,mem_ipc_fifo_bt2c51
+	rtn
+	
+check_51cmd:
+	bpatchx patch31_0,mem_patch31
+	fetch 1,mem_hci_cmd
+	nrtn blank
+	arg mem_ipc_fifo_c512bt,rega
+	call fifo_is_empty
+	rtn blank
+	jam IPC_CONTINUE_PROCESS,mem_ipc_skip_continue_proc
+	call check_51cmd_once
+	fetch 1,mem_ipc_skip_continue_proc
+	branch check_51cmd,blank
+	rtn
+
+check_51cmd_once:
+	call ui_ipc_get_lock
+	arg mem_ipc_fifo_c512bt,rega
+	call fifo_out
+	copy pdata,temp
+	call ui_ipc_put_lock
+	bpatchx patch31_1,mem_patch31
+	copy temp,pdata
+	rtn blank
+ 	beq BT_CMD_START_DISCOVERY,check_51cmd_start_discovery
+  	beq BT_CMD_STOP_DISCOVERY,check_51cmd_stop_discovery
+  	beq BT_CMD_RECONNECT,check_51cmd_reconnect
+	beq BT_CMD_START_ADV,check_51cmd_adv
+	beq BT_CMD_STOP_ADV,check_51cmd_stop_adv
+	beq BT_CMD_START_DIRECT_ADV,check_51cmd_direct_adv
+	beq BT_CMD_STOP_DIRECT_ADV,check_51cmd_stop_direct_adv
+	beq BT_CMD_LED_OFF,check_51cmd_led_off
+	beq BT_CMD_LED_ON,check_51cmd_led_on
+	beq BT_CMD_LED_BLINK,check_51cmd_led_start_blink
+	beq BT_CMD_LE_START_CONN,check_51cmd_le_start_con
+	beq BT_CMD_LE_START_SCAN,check_51cmd_start_scan
+	beq BT_CMD_LE_STOP_SCAN,check_51cmd_stop_scan
+	beq BT_CMD_ENTER_HIBERNATE,check_51cmd_hibernate
+	beq BT_CMD_BB_RECONN_CANCEL,check_51cmd_bb_reconn_cancel
+	//context related, process in context
+	store 1,mem_fifo_temp
+	call lmo_fifo_check
+	nbranch check_51cmd_restore,blank  //process this cmd next time while lmo fifo is full
+check_51cmd_once_continue:
+	fetch 1,mem_fifo_temp
+	bmark0 mark_context,check_51cmd_check_idle
+	bpatchx patch31_2,mem_patch31
+	fetch 1,mem_fifo_temp
+	beq BT_CMD_DISCONNECT,check_51cmd_disconnect
+  	beq BT_CMD_ENTER_SNIFF,check_51cmd_enter_sniff
+  	beq BT_CMD_EXIT_SNIFF,check_51cmd_exit_sniff
+  	beq BT_CMD_SET_PIN_CODE,check_51cmd_pincode
+	beq BT_CMD_LE_DISCONNECT,check_51cmd_le_disconnect
+	beq BT_CMD_LE_SMP_SECURITY_REQUEST,check_51cmd_le_smp_sec_req
+	beq BT_CMD_LE_UPDATE_CONN,check_51cmd_ble_update_connect_param
+	beq BT_CMD_ROLE_SWITCH,check_51cmd_role_switch
+	beq BT_CMD_STORE_RECONN_INFO_LE,eeprom_store_le_reconn_info
+	beq BT_CMD_STORE_RECONN_INFO_BT,eeprom_store_bd_reconn_info
+	beq BT_CMD_DHKEY_NOT_ACCEPT,check_51cmd_dhkey_not_accept
+	beq BT_CMD_STORE_RECONN_INFO,check_51cmd_store_reconn_info
+	rtn
+
+check_51cmd_check_idle:
+	store 1,mem_fifo_temp
+  	call context_check_idle
+	branch check_51cmd_restore,zero
+	call context_search_plap
+	nrtn zero
+check_51cmd_restore:
+	jam IPC_SKIP_CONTINUE_PROCESS,mem_ipc_skip_continue_proc
+	branch ui_ipc_send_cmd
+
+  
+ 
+//command opcode 0x01	
+check_51cmd_start_discovery:
+	fetch 2,mem_ui_state_map
+	set1 UI_STATE_BT_DISCOVERY,pdata
+	store 2,mem_ui_state_map
+	jam 3,mem_scan_mode
+	rtn
+
+
+//command opcode 0x02	
+check_51cmd_stop_discovery:
+	jam 0,mem_hid_handshake_timer_count
+	jam 0,mem_scan_mode
+	fetch 2,mem_ui_state_map
+	set0 UI_STATE_BT_DISCOVERY,pdata
+	store 2,mem_ui_state_map
+	rtn	
+
+
+//command opcode 0x03	
+check_51cmd_reconnect:	
+	jam hci_cmd_create_conn,mem_hci_cmd
+	rtn	
+
+
+//command opcode 0x04
+check_51cmd_disconnect:
+	jam LMP_DETACH,mem_lmo_opcode2
+	jam OTHER_END_TERMINATED,mem_disconn_reason_send
+	rtn
+
+
+//command opcode 0x05
+check_51cmd_enter_sniff:
+	jam LMP_SNIFF_REQ,mem_lmo_opcode2
+	arg mem_sniff_payload,contw
+	setarg 0
+	isolate1 27,clke_bt
+	setflag true,1,pdata		
+	istore 1,contw	
+	setarg 0	
+	istore 2,contw
+	fetch 6,mem_sniff_param_interval
+	istore 6,contw
+	rtn	
+
+
+//command opcode 0x06
+check_51cmd_exit_sniff:
+	jam LMP_UNSNIFF_REQ,mem_lmo_opcode2
+	rtn
+
+
+//command opcode 0x10
+check_51cmd_pincode:
+	jam pincode_state_pincode_ready,mem_pincode_state
+//enable ssp master sm
+	fetch 1,mem_op
+	bbit1 op_inrand_req,check_51cmd_pincode_pair_passive
+	call tid_initiate
+	jam LMP_IN_RAND,mem_lmo_opcode2
+	rtn
+check_51cmd_pincode_pair_passive:
+	set0 op_inrand_req,pdata
+	store 1,mem_op
+	call lmp_accept_inrand
+	setarg 0
+	setflag master,smap_lmptid,pdata		
+	store 1,mem_lmo_tid2
+	rtn
+
+
+//command opcode 0x13
+check_51cmd_adv:
+	jam ON,mem_le_adv_enable
+	jam ADV_IND,mem_le_adv_type
+	fetch 2,mem_ui_state_map
+	set1 UI_STATE_BLE_ADV,pdata
+	store 2,mem_ui_state_map
+	rtn
+
+
+//command opcode 0x14
+check_51cmd_stop_adv:
+	fetch 2,mem_ui_state_map
+	set0 UI_STATE_BLE_ADV,pdata
+	store 2,mem_ui_state_map
+	jam OFF,mem_le_adv_enable
+	rtn
+
+
+//command opcode 0x15
+check_51cmd_direct_adv:
+	jam ON,mem_le_adv_enable
+	jam ADV_DIRECT_IND,mem_le_adv_type
+	fetch 2,mem_ui_state_map
+	set1 UI_STATE_BLE_ADV,pdata
+	store 2,mem_ui_state_map
+	rtn
+
+
+//command opcode 0x16
+check_51cmd_stop_direct_adv:
+	fetch 2,mem_ui_state_map
+	set0 UI_STATE_BLE_ADV,pdata
+	store 2,mem_ui_state_map
+	jam OFF,mem_le_adv_enable
+	rtn
+
+
+//command opcode 0x17
+check_51cmd_le_disconnect:
+	setarg 20 // 100ms
+	store 2,mem_le_superto
+	store 2,mem_le_init_superto
+	branch le_send_terminate_ind_user_terminated
+
+
+//command opcode 0x18
+check_51cmd_ble_update_connect_param:
+	branch le_l2cap_tx_update_req
+
+
+//command opcode 19
+check_51cmd_led_off:
+	arg 0,rega
+	branch ui_led_off_global
+
+
+//command opcode 20
+check_51cmd_led_on:
+	arg 0,rega
+	branch ui_led_on_global
+
+
+//command opcode 21
+check_51cmd_led_start_blink:
+	arg 0,rega
+	call calc_curr_struct_prt
+	ifetch 1,regb
+	beq UI_LED_STATE_BLINK_START,check_51cmd_led_start_blink_in_blink
+	beq UI_LED_STATE_BLINK_LIGHTING,check_51cmd_led_start_blink_in_blink
+	beq UI_LED_STATE_BLINK_DARKING,check_51cmd_led_start_blink_in_blink
+	branch ui_led_blink_start_global
+
+check_51cmd_led_start_blink_in_blink:
+	ifetch 1,contr
+	rtneq LED_INFINITE_FLASH_NUM
+	branch ui_led_blink_start_global
+
+
+//command opcode 0x22
+check_51cmd_le_start_con:
+	jam ON,mem_le_scan_enable
+	jam hci_cmd_le_create_conn,mem_hci_cmd
+//	fetch 6,mem_app_peer_addr
+//	store 6,mem_le_conn_peer_addr
+	rtn
+
+
+//command opcode 0x23
+check_51cmd_start_scan:
+	jam ON,mem_le_scan_enable
+	rtn
+
+
+//command opcode 0x24
+check_51cmd_stop_scan:
+	jam OFF,mem_le_scan_enable
+	jam 0,mem_hci_cmd
+	rtn
+
+
+//command opcode 0x25
+check_51cmd_hibernate:
+	fetch 2,mem_cb_before_hibernate
+	call callback_func
+	fetch 1,mem_ui_button_gpio
+	beq UI_BUTTON_GPIO_DISABLE,check_51cmd_hibernate_btn_disabled
+	copy pdata,temp
+	call gpio_config_input
+check_51cmd_hibernate_btn_disabled:
+	call ui_ipc_clean_all_fifo
+	branch lpm_hibernate	
+
+
+//command opcode 0x27
+check_51cmd_le_smp_sec_req:
+	branch le_send_smp_security_request
+
+
+//command opcode 0x29
+check_51cmd_role_switch:
+  	jam LMP_SLOT_OFFSET,mem_lmo_opcode2
+	set1 mark_switch_initiated,mark
+	nrtn master
+	jam SWITCH_FLAG_INIT,mem_switch_flag
+	jam LMP_SWITCH_REQ ,mem_lmo_opcode2
+	fetch 1,mem_connection_options
+	set0 CONNECTION_SWITCH,pdata
+	store 1,mem_connection_options
+	rtn
+
+
+//command opcode 0x30
+check_51cmd_bb_reconn_cancel:
+	force page_length_timer,queue
+	branch timer_stop
+
+
+//command opcode 0x33
+check_51cmd_dhkey_not_accept:
+	call tid_set_reply
+	jam LMP_DHKey_Check,mem_lmi_opcode2
+	branch lmp_reject_pdu_not_allowed	
+
+
+ui_check_paring_button:
+	fetch 1,mem_ui_state_map
+	rtnbit0 UI_STATE_BTN_DOWN
+	rtnbit0 UI_STATE_BT_RECONNECT
+	branch check_51cmd_bb_reconn_cancel
+
+
+
+///////////queue function////////////
+queue_init:
+	fetch 2,mem_queue_ptr
+	add pdata,QUEUE_OFFSET_CURR_NUM,contw
+	setarg 0
+	istore 3,contw
+	rtn
+	
+//input:rega:the address of the data to which you want to input queue
+//output:if user is disable,mean queue no have space
+queue_push:
+	call disable_user
+	call queue_full
+	rtn blank
+	fetch 2,mem_queue_ptr
+	add pdata,QUEUE_OFFSET_CURR_NUM,regb
+	ifetcht 1,regb
+	increase 1,temp
+	istoret 1,regb	//number add 
+	
+	ifetcht 1,pdata	//temp:each length
+	copy temp,loopcnt
+	add pdata,QUEUE_OFFSET_WRITE_PTR,regb
+	ifetch 1,regb
+	imul32 temp,pdata	//offset
+	iadd contr,contw
+	copy rega,contr
+calc_queue_next_ptr:
+	call memcpy
+	call queue_get_size
+	pincrease -1
+	ifetcht 1,regb
+	increase 1,temp
+	iand temp,temp
+	istoret 1,regb
+	branch enable_user
+
+
+//input:rega:the address of the data to which you want to output queue
+//output:if user is disable,mean queue no have data
+queue_pop:
+	call disable_user
+	call queue_empty
+	rtn blank
+	fetch 2,mem_queue_ptr
+	add pdata,QUEUE_OFFSET_CURR_NUM,regb
+	ifetcht 1,regb
+	increase -1,temp
+	istoret 1,regb
+	ifetcht 1,pdata		//each size
+	copy temp,loopcnt
+	add pdata,QUEUE_OFFSET_READ_PTR,regb
+	ifetch 1,regb
+	imul32 temp,pdata	//offset
+	iadd contr,contr
+	increase 1,contr
+	copy rega,contw
+	branch calc_queue_next_ptr
+
+
+//function:no pop element,only copy element in rega
+//input:rega:the address of the data to which you want to output queue
+//output:if user is disable,mean queue no have data
+//regb is new ptr
+queue_get_new_ele:
+	call disable_user
+	call queue_empty
+	rtn blank
+	fetch 2,mem_queue_ptr
+	ifetcht 1,pdata		//each size
+	copy temp,loopcnt
+	add pdata,QUEUE_OFFSET_READ_PTR,regb
+	ifetch 1,regb
+	imul32 temp,pdata	//offset
+	iadd contr,contr
+	increase 1,contr
+	copy contr,regb
+	copy rega,contw
+	call memcpy
+	branch enable_user
+
+queue_store_new_ele:
+	call disable_user
+	call queue_empty
+	rtn blank
+	fetch 2,mem_queue_ptr
+	ifetcht 1,pdata		//each size
+	copy temp,loopcnt
+	add pdata,QUEUE_OFFSET_READ_PTR,regb
+	ifetch 1,regb
+	imul32 temp,pdata	//offset
+	iadd contr,contr
+	add contr,2,contw
+	copy rega,contr
+	increase -1,loopcnt
+	call memcpy
+	branch enable_user
+
+//output:if blank is 1,mean queue is empty
+queue_empty:
+	fetch 2,mem_queue_ptr
+	add pdata,QUEUE_OFFSET_CURR_NUM,contr
+	ifetch 1,contr
+	rtn
+
+//output:if blank is 1,mean queue is full
+queue_full:
+	call queue_get_size
+	ifetcht 1,contr
+	isub temp,pdata
+	rtn
+
+//output:pdata is queue size
+queue_get_size:
+	fetch 2,mem_queue_ptr
+	add pdata,QUEUE_OFFSET_LENGTH,contr
+	ifetch 1,contr
+	rtn
+
+///////////queue function end////////////
+
+
+
+
+
+usb_isr:
+	bpatchx patch31_3,mem_patch31
+	fetch 1,core_usb_status
+	isolate1 USB_STATUS_RESET,pdata
+	call usb_init,true
+	fetch 1,core_usb_status
+	store 1,core_usb_status
+	store 1,mem_usb_status
+	call usb_nak_state_judge
+	call usb_rx
+	call usb0_tx
+	call usb_tx
+	branch usb_nak_state
+
+usb_init:
+	bpatchx patch31_4,mem_patch31
+	call enable_authrom
+	call usb_init_param
+	jam 0x00,core_usb_config
+	nop 10000
+	jam 0xc0,core_usb_trig
+	fetch 2,core_clkoff
+	set0 CLOCK_OFF_USB,pdata
+	store 2,core_clkoff
+	jam 0x0,core_usb_hmode
+	jam 0x3c,core_usb_config
+	setarg mem_usb_rxbuf
+	store 2,core_usb_rx_saddr
+	store 2,core_usb_rxptr
+	setarg mem_usb_rxbuf_end
+	store 2,core_usb_rx_eaddr
+	jam 0x4,core_usb_hmode
+	jam 0,core_usb_addr
+	jam 0xff,core_usb_status
+	setarg mem_usb_clear_mem_end
+	arg mem_usb_clear_mem_start,contw
+	isub contw,loopcnt
+	branch clear_mem
+	
+usb_offline_check_init:
+	fetcht 1,mem_usb_offline_check_gpio
+	branch gpio_config_input
+usb_offline_state:
+	fetch 1,mem_usb_device_enumeration_endflag
+	rtn blank
+	fetcht 1,mem_usb_offline_check_gpio
+	call gpio_get_bit
+	branch usb_init,true
+	rtn
+
+usb_init_param:
+	jam DEV_DEFAULT,mem_usb0_state
+	setarg 0x0
+	store 1,mem_remain
+	store 2,mem_usb_zero_packet
+	pincrease 1
+	store 2,mem_usb_ones_packet
+	pincrease 1
+	store 2,mem_usb_two_packet
+	arg mem_string0,contw
+	setarg 0x030404
+	istore 3,contw
+	setarg 0x0409
+	istore 2,contw
+	arg mem_string1,contw
+	setsect 0,0x15906
+	setsect 1,0x210d2
+	setsect 2,0x10494
+	setsect 3,0x1
+	istore 9,contw
+	arg mem_string2,contw
+	setsect 0,0x1570f
+	setsect 1,0x15c9a
+	setsect 2,0x256c6
+	setsect 3,0x1cdcd
+	istore 9,contw
+	setsect 0,0x14420
+	setsect 1,0x25d99
+	setsect 2,0x25636
+	setsect 3,0x1
+	istore 7,contw
+	arg mem_string3,contw
+	setsect 0,0x1620a
+	setsect 1,0xc8c
+	setsect 2,0x30333
+	setsect 3,0xc0c0
+	istore 9,contw
+	setsect 0,0x3130
+	istore 2,contw
+	setarg USB_KBDATA_VENDOR_DEFINE_ADDR
+	store 2,mem_hidreportdesc_kb
+	setarg USB_MSDATA_ADDR
+	store 2,mem_hidreportdesc_m
+	arg USB_DEVICEDATA_ADDR,contr
+	arg mem_devicedesc,contw
+	arg 19,loopcnt
+	call memcpy	
+	arg USB_CONFDATA_ADDR,contr
+	arg mem_confdesc,contw
+	arg 60,loopcnt
+	call memcpy
+usb_config_cb:
+	fetch 2,mem_cb_usb_config
+	branch callback_func
+
+usb_tx_interval_config:
+	fetch 1,mem_usb_tx_interval
+	rtn blank
+	store 1,mem_confdesc+34
+	store 1,mem_confdesc+59
+	rtn
+
+usb_nak_state:
+	arg TIMER_NAK,queue
+	call timer_check
+	nrtn blank
+	fetch 1 ,mem_usb_wakestate_onetime_flag
+	nrtn blank
+	fetch 1,mem_usb_device_enumeration_endflag
+	ncall usb_mac_wakeup_judge,blank
+	rtn
+
+usb_nak_state_judge:
+	fetch 1,mem_usb_status
+	bbit1 USB_STATUS_NAK,usb_nak_state_timer_init
+	rtn
+	
+usb_nak_state_timer_init:
+	call usb0_attached_state_judge
+	call timer_reinit
+	setarg TIMER_NAK_DELAY
+	arg TIMER_NAK,queue
+	branch timer_init
+	
+usb0_attached_state_judge:
+	fetch 1,mem_usb_state
+	bne USB_CONNECTED,usb_clear_halt_dispose
+	jam 0,mem_usb_wakestate_onetime_flag
+	jam 0,mem_usb_mac_wakeup_trig
+	rtn
+
+usb_clear_halt_dispose:
+	fetch 1,mem_usb_clear_halt
+	rtn blank
+	jam 0,mem_usb_clear_halt
+	jam USB_CONNECTED,mem_usb_state
+	jam 1,mem_usb_device_enumeration_endflag
+	rtn
+
+usb_rx_no_data:
+	fetch 1,mem_usb_status
+	bbit1 USB_STATUS_SETUP,usb_class_type
+	rtn
+
+usb_rx_data:
+	fetch 1,core_usb_txbusy
+	rtnbit1 USB_STATUS_RXEMPTY
+	fetchr contus,2,core_usb_rx_saddr
+	fetchr contue,2,core_usb_rx_eaddr
+	fetchr contu,2,core_usb_rxptr
+	ifetch 2,contu
+	rshift8 pdata,temp
+	rshift4 temp,temp					// temp is endpoint
+	arg 0xfff,contr
+	iand contr,loopcnt
+	copy loopcnt,rega
+usb_rx_read:
+	ifetch 1,contu
+	istore 1,contw
+	loop usb_rx_read
+	storer contu,2,core_usb_rxptr
+	storer rega,2,mem_usb_read_len
+	rtn
+usb_data_rx:
+	rtn 
+
+usb_rx:
+	bpatchx patch31_5,mem_patch31
+	fetch 1,mem_usb_status
+	rtnbit0 USB_STATUS_RXREADY
+	arg mem_usb_setup,contw
+	call usb_rx_data
+	copy temp,pdata
+	beq 0,usb0_rx
+	branch usb_data_rx
+usb0_rx:
+	fetch 1,mem_usb_read_len
+	beq 0x00,usb_rx_no_data
+	beq 0x01,usb_out_one_byte	// HUAWEI pad led status	
+	sub pdata,7,null
+	rtn positive
+usb_class_type:
+	bpatchx patch31_6,mem_patch31
+	set0 mark_isstr,mark
+	fetch 1,mem_usb_setup_bmRequestType
+	and_into 0x80,pdata
+	beq IN_DEVICE,usb_in_device
+	beq OUT_DEVICE,usb_out_device
+	branch assert
+
+usb_out_one_byte:
+	fetch 1,mem_usb_setup
+	rtnbit1 7	// OUT_DEVICE
+	call usb_get_led_status
+	branch usb0_reply_zerolen
+
+
+usb_in_device:
+	fetch 1,mem_usb_setup_bmRequestType
+	rshift4 pdata,pdata
+	rshift pdata,pdata
+	and_into 0x03,pdata
+	beq STANDARD_REQ,usb_in_standard_req
+	beq CLASS_REQ,usb_in_class_req
+	beq MANUFACTURER_REQ,usb_in_manufacturer_req
+	branch assert
+
+usb_out_device:
+	fetch 1,mem_usb_setup_bmRequestType
+	rshift4 pdata,pdata
+	rshift pdata,pdata
+	and_into 0x03,pdata
+	beq STANDARD_REQ,usb_out_standard_req
+	beq CLASS_REQ,usb_out_class_req	
+	beq MANUFACTURER_REQ,usb_out_manufacturer_req
+	branch assert
+
+usb_in_standard_req:
+	fetch 1,mem_usb_setup_bRequest
+	beq GET_CONFIGURATION,usb0_request_get_configuration
+	beq GET_DESCRIPTOR,usb0_request_get_descriptor
+	beq GET_INTERFACE,usb0_request_get_interface
+	beq GET_STATUS,usb0_request_get_status
+	branch usb0_force_stall
+
+usb_in_class_req:
+	fetch 1,mem_usb_setup_bRequest
+	beq GET_IDLE,usb_get_idle
+	beq GET_REPORT,usb_get_report
+	beq GET_PROTOCOL,usb_get_protocol_req
+	branch usb0_force_stall
+
+usb_in_manufacturer_req:
+	branch usb0_force_stall
+
+usb_out_standard_req:
+	fetch 1,mem_usb_setup_bRequest
+	beq CLEAR_FEATURE,usb0_request_clear_feature
+	beq SET_FEATURE,usb0_request_set_feature
+	beq SET_ADDRESS,usb0_request_set_address
+	beq SET_CONFIGURATION,usb0_request_set_configuration
+	beq SET_INTERFACE,usb0_request_set_interface
+	beq SET_DESCRIPTOR,usb0_force_stall
+	branch usb0_force_stall
+
+usb_out_class_req:
+	fetch 1,mem_usb_setup_bRequest
+	beq SET_IDLE,usb_set_idle
+	beq SET_REPORT,usb_set_report
+	beq SET_PROTOCOL,usb_set_protocol_req
+	branch usb0_force_stall
+
+usb_out_manufacturer_req:
+	branch usb0_force_stall
+
+usb0_force_stall:
+	fetch 1,core_usb_stall
+	set1 0,pdata
+	store 1,core_usb_stall
+	branch usb0_reply_zerolen
+	
+usb0_reply_zerolen:
+	jam 0x10,core_usb_trig
+	rtn
+
+usb0_request_get_configuration:
+	fetch 1,mem_usb_setup_bmRequestType
+	bne IN_DEVICE,usb0_force_stall
+	fetch 1,mem_usb_setup_wIndex
+	bne 0,usb0_force_stall
+	fetch 1,mem_usb_setup_wIndex+1
+	bne 0,usb0_force_stall
+	fetch 1,mem_usb_setup_bLength
+	bne 1,usb0_force_stall
+	fetch 1,mem_usb_setup_bLengthH
+	bne 0,usb0_force_stall
+	fetch 1,mem_usb_setup_bValue
+	bne 0,usb0_force_stall
+	fetch 1,mem_usb_setup_bValue+1
+	bne 0,usb0_force_stall
+	fetch 1,mem_usb0_state
+	beq DEV_CONFIGURED,usb0_request_get_cfg_dev_cfg
+	beq DEV_ADDRESS,usb0_request_get_cfg_dev_addr
+	branch usb0_force_stall
+//Return current config : 1
+usb0_request_get_cfg_dev_cfg:
+	arg 1,regb
+	branch usb_send_ones_packet
+//Config do not work, return default config : 0
+usb0_request_get_cfg_dev_addr:
+	arg 1,regb
+	branch usb_send_zero_packet
+
+usb0_request_get_descriptor:
+	bpatchx patch31_7,mem_patch31
+//	set0 mark_isstr,mark
+	fetch 1,mem_usb_setup_bValueH
+	beq DSC_DEVICE,dsc_device_info
+	beq DSC_CONFIG,dsc_config_info	
+	beq DSC_STRING,dsc_string_info
+	beq DSC_HID,dsc_hid_info
+	beq DSC_HID_REPORT,dsc_hid_report_info
+	branch usb0_force_stall
+
+dsc_hid_info:
+	jam 0,mem_usb_get_protocol_flag
+	fetch 1,mem_usb_setup_wIndex
+	beq 0,dsc_hid_info_interface0
+	beq 1,dsc_hid_info_interface1
+	branch usb0_force_stall
+//class_descriptor hid_descriptor--keyboard 
+dsc_hid_info_interface0:
+	fetchr regb,1,mem_confdesc+19
+	arg mem_confdesc+19,rega
+	branch usb0_respond
+//class_descriptor hid_descriptor--mouse 
+dsc_hid_info_interface1:
+	fetchr regb,1,mem_confdesc+44
+	arg mem_confdesc+44,rega
+	branch usb0_respond
+
+dsc_device_info:
+//input : pdata : data poniter 
+//input : temp: data len
+//sets the data pointer and len to correct descriptor
+	fetch 1,mem_usb_set_high_addr_flag
+	ncall usb_set_high_addr,blank
+	setarg mem_devicedesc
+	fetcht 1,mem_devicedesc
+dsc_info_set_data_len:
+	store 2,mem_dsc_info_data_pointer
+	storet 1,mem_dsc_info_len
+	fetch 1,mem_usb_setup_bLength
+	isub temp,null
+	nbranch dsc_info_set_current_data_len,positive
+dsc_info_set_initial_data_len:
+	fetch 1,mem_dsc_info_len
+dsc_info_set_data_size_completed:	
+	iforce regb
+	fetch 2,mem_dsc_info_data_pointer
+	add pdata,1,pdata
+	iforce rega
+	branch usb0_respond
+dsc_info_set_current_data_len:
+	fetch 1,mem_usb_setup_bLength
+	branch dsc_info_set_data_size_completed
+
+usb_set_high_addr:
+	fetch 1,core_usb_addr
+	ncall usb0_set_addr,blank
+	jam 0,mem_usb_set_high_addr_flag
+	rtn
+usb0_set_addr:
+	fetch 1,core_usb_addr
+   	set1 7,pdata
+    	store 1,core_usb_addr
+    	rtn
+
+dsc_config_info:
+	setarg mem_confdesc
+	fetcht 1,mem_confdesc
+	branch dsc_info_set_data_len
+
+dsc_string_info:
+	fetch 1,mem_usb_setup_bValue
+	sub pdata,3,null
+	nbranch usb0_force_stall,positive
+	fetch 1,mem_usb_setup_bValue
+	arg mem_string0,rega
+	beq 0,usb0_respond_length	
+	set1 mark_isstr,mark
+	arg mem_string1,rega
+	beq 1,usb0_respond_length
+	arg mem_string2,rega
+	beq 2,usb0_respond_length
+	arg mem_string3,rega
+	beq 3,usb0_respond_length
+	rtn
+
+dsc_hid_report_info:
+	fetch 2,mem_usb_setup_wIndex
+	beq 1,dsc_hid_report_info0
+	fetchr rega,2,mem_hidreportdesc_kb
+	branch usb0_respond_length
+dsc_hid_report_info0:
+	jam 1,mem_usb_device_enumeration_endflag
+	jam USB_GOT_REPORT_REQ,mem_usb_state
+	fetchr rega,2,mem_hidreportdesc_m
+	branch usb0_respond_length
+
+
+usb0_request_get_interface:
+	fetch 1,mem_usb0_state
+	bne DEV_CONFIGURED,usb0_force_stall		
+	fetch 1,mem_usb_setup_bmRequestType
+	bne IN_INTERFACE,usb0_force_stall
+	fetch 1,mem_usb_setup_bValue
+	bne 0,usb0_force_stall
+	fetch 1,mem_usb_setup_bValueH
+	bne 0,usb0_force_stall
+	fetch 1,mem_usb_setup_bLength
+	bne 1,usb0_force_stall
+	fetch 1,mem_usb_setup_bLengthH
+	bne 0,usb0_force_stall
+	fetch 1,mem_usb_setup_wIndex
+	bne 0,usb0_force_stall
+	fetch 1,mem_usb_setup_wIndex+1
+	bne 0,usb0_force_stall
+	arg 1,regb
+	branch usb_send_zero_packet
+
+
+usb0_request_get_status:
+	fetch 1,mem_usb0_state
+	beq DEV_DEFAULT,usb0_force_stall
+	fetch 1,mem_usb_setup_bValue
+	bne 0,usb0_force_stall
+	fetch 1,mem_usb_setup_bValueH
+	bne 0,usb0_force_stall
+	fetch 1,mem_usb_setup_bLength
+	bne 2,usb0_force_stall
+	fetch 1,mem_usb_setup_bLengthH
+	bne 0,usb0_force_stall
+	fetch 1,mem_usb_setup_wIndex+1
+	bne 0,usb0_force_stall
+	fetch 1,mem_usb_setup_bmRequestType
+	beq IN_DEVICE,usb0_get_status_in_device
+	beq IN_INTERFACE,usb0_get_status_in_interface
+	beq IN_ENDPOINT,usb0_get_status_in_endpoint
+	branch usb0_force_stall
+
+
+Usb0_SDsystem_dispose:
+	jam 1,mem_sdsystem_wakeup_flag
+	branch usb_send_two_packet
+
+usb0_get_status_in_device:
+	fetch 1,mem_usb_setup_wIndex
+	bne 0,usb0_force_stall
+	arg 2,regb
+	fetch 1,mem_usb_remote_wakeup
+	beq 0x01,Usb0_SDsystem_dispose
+//regb:length
+usb_send_zero_packet:
+	arg mem_usb_zero_packet,rega
+	branch usb0_respond
+usb_send_ones_packet:
+	arg mem_usb_ones_packet,rega
+	branch usb0_respond
+usb_send_two_packet:
+	arg mem_usb_two_packet,rega
+	branch usb0_respond
+
+usb0_get_status_in_interface:
+	fetch 1,mem_usb0_state
+	bne DEV_CONFIGURED,usb0_force_stall
+	arg 2,regb
+	branch usb_send_zero_packet
+
+usb0_get_status_in_endpoint:
+	fetch 1,mem_usb0_state
+	bne DEV_CONFIGURED,usb0_force_stall
+	fetch 1,mem_usb_setup_wIndex
+	beq IN_EP1,usb0_get_status_in_ep_in_ep1
+	beq IN_EP2,usb0_get_status_in_ep_in_ep2
+	beq IN_EP3,usb0_get_status_in_ep_in_ep3
+	and_into 0x7f,pdata
+	beq 0x00,usb0_get_status_in_ep_in_ep0
+	branch usb0_force_stall
+	
+usb0_get_status_in_ep_in_ep0:
+	fetch 1,mem_usb_ep0_stall_status
+usb0_get_status_in_ep_in_ack:
+	arg 2,regb
+	beq 1,usb_send_ones_packet
+	branch usb_send_zero_packet
+usb0_get_status_in_ep_in_ep1:
+	fetch 1,mem_usb_ep1_stall_status
+	branch usb0_get_status_in_ep_in_ack
+usb0_get_status_in_ep_in_ep2:
+	fetch 1,mem_usb_ep2_stall_status
+	branch usb0_get_status_in_ep_in_ack
+usb0_get_status_in_ep_in_ep3:
+	fetch 1,mem_usb_ep3_stall_status
+	branch usb0_get_status_in_ep_in_ack
+
+usb_get_idle:
+	jam 1,mem_usb_idle_flag
+	arg mem_usb_idle_rate,rega
+	arg 1,regb
+	branch usb0_respond
+
+usb_get_report:
+	fetch 2,mem_usb_setup_bValue
+	arg PC_GET_REPORT,temp
+	isub temp,null
+	nbranch usb0_force_stall,zero
+//	set0 mark_isstr,mark
+usb_get_report_dispose:	
+	fetch 1,mem_usb0_data_ready_report
+	nbranch usb_get_report_data_success,blank
+	jam PC_GET_NONDATA,mem_usb0_get_report_data
+usb_get_report_send_data:
+	fetch 1,mem_usb_setup_bLength
+	iforce regb
+	arg mem_usb0_get_report_data,rega
+	call usb0_respond
+usb_get_report_data_release:	
+	arg mem_usb0_get_report_data,contw
+	arg 8,loopcnt
+	branch memset0
+usb_get_report_data_success:
+	jam 0,mem_usb0_data_ready_report
+	jam PC_GET_DATA,mem_usb0_get_report_data
+	branch usb_get_report_send_data
+
+usb_get_protocol_req:
+	fetch 1,mem_usb_setup_bLength
+	bne 1,usb0_force_stall
+	jam 1,mem_usb_get_protocol_flag
+	arg 1,regb //length
+	fetch 1,mem_usb_set_protocol_value
+	beq 0,usb_get_report_protocol
+	beq 1,usb_get_boot_protocol
+	branch usb_send_zero_packet
+usb_get_report_protocol:
+	branch usb_send_ones_packet
+usb_get_boot_protocol:
+	branch usb_send_zero_packet
+
+
+
+//in device
+usb0_request_clear_feature:
+	fetch 1,mem_usb0_state
+	bne DEV_CONFIGURED,usb0_force_stall
+	fetch 1,mem_usb_setup_bLength
+	bne 0,usb0_force_stall
+	fetch 1,mem_usb_setup_bLengthH
+	bne 0,usb0_force_stall
+	fetch 1,mem_usb_setup_bValueH
+	bne 0,usb0_force_stall
+	fetch 1,mem_usb_setup_wIndex+1
+	bne 0,usb0_force_stall
+	fetch 1,mem_usb_setup_bmRequestType
+	beq OUT_DEVICE,usb0_request_clear_feature_out_device
+	beq OUT_INTERFACE,usb0_request_clear_feature_out_interface
+	beq OUT_ENDPOINT,usb0_request_clear_feature_out_endpoint
+	branch usb0_force_stall
+
+usb0_request_clear_feature_out_device:
+	fetch 1,mem_usb_setup_bValue
+	bne DEVICE_REMOTE_WAKEUP,usb0_force_stall
+	fetch 1,core_usb_config
+	set0 7,pdata
+	store 1,core_usb_config
+	jam 0,mem_usb_remote_wakeup
+	jam 1,mem_usb_clear_remote_wakeup
+	fetch 1,mem_sdsystem_wakeup_flag
+	branch usb0_reply_zerolen,blank
+	jam 0,mem_sdsystem_wakeup_flag
+	jam 0,mem_usb_clear_remote_wakeup
+	jam USB_CONNECTED,mem_usb_state
+	branch usb0_reply_zerolen
+
+usb0_request_clear_feature_out_interface:
+	branch usb0_force_stall
+
+usb0_request_clear_feature_out_endpoint:
+	fetch 1,mem_usb_setup_bValue
+	bne ENDPOINT_HALT,usb0_force_stall
+	fetch 1,mem_usb_setup_wIndex
+	beq IN_EP1,usb0_force_stall_ep1_in_off
+	beq IN_EP2,usb0_force_stall_ep2_in_off
+	beq IN_EP3,usb0_force_stall_ep3_in_off
+	and_into 0x7f,pdata
+	beq 0x00,usb0_force_stall_ep0_in_off
+	branch usb0_force_stall
+
+usb0_force_stall_ep0_in_off:
+	jam 0,mem_usb_ep0_stall_status
+	branch usb0_reply_zerolen
+usb0_force_stall_ep1_in_off:
+	jam 0,mem_usb_ep1_stall_status
+usb0_force_stall_ep1_in_off_reply:	
+	jam 1,mem_usb_clear_halt
+	branch usb0_reply_zerolen
+usb0_force_stall_ep2_in_off:
+	jam 0,mem_usb_ep2_stall_status
+	branch usb0_force_stall_ep1_in_off_reply
+usb0_force_stall_ep3_in_off:
+	jam 0,mem_usb_ep3_stall_status
+	branch usb0_force_stall_ep1_in_off_reply
+
+
+usb0_request_set_feature:
+	fetch 1,mem_usb_setup_bLength
+	bne 0,usb0_force_stall
+	fetch 1,mem_usb_setup_bLengthH
+	bne 0,usb0_force_stall
+	fetch 1,mem_usb_setup_bmRequestType
+	beq OUT_DEVICE,usb0_request_set_feature_out_device
+	beq OUT_INTERFACE,usb0_request_set_feature_out_interface
+	beq OUT_ENDPOINT,usb0_request_set_feature_out_endpoint
+	branch usb0_force_stall
+
+usb0_request_set_feature_out_device:
+	fetch 1,mem_usb_setup_bValue
+	bne DEVICE_REMOTE_WAKEUP,usb0_force_stall
+	call dongle_set_pc_sleep_flag
+	fetch 1,core_usb_config
+	set1 7,pdata
+	store 1,core_usb_config
+	jam 1,mem_usb_remote_wakeup
+	jam USB_SLEEP,mem_usb_state
+	jam 0,mem_usb_tx_win_enable
+	call usb0_reply_zerolen
+usb_wakeup_timer_reinit:
+	call timer_reinit
+	setarg TIMER_WAKEUP_DELAY
+	arg TIMER_WAKEUP,queue
+	branch timer_init
+	
+usb0_request_set_feature_out_interface:
+	branch usb0_force_stall
+
+usb0_request_set_feature_out_endpoint:
+	fetch 1,mem_usb_setup_bValue
+	bne ENDPOINT_HALT,usb0_force_stall
+	fetch 1,mem_usb_setup_bValueH
+	bne 0,usb0_force_stall
+	fetch 1,mem_usb_setup_wIndex
+	beq IN_EP1,usb0_force_stall_ep1_in_on
+	beq IN_EP2,usb0_force_stall_ep2_in_on
+	beq IN_EP3,usb0_force_stall_ep3_in_on
+	and_into 0x7f,pdata
+	beq 0x00,usb0_force_stall_ep0_in_on
+	branch usb0_force_stall
+
+usb0_force_stall_ep0_in_on:
+	jam 1,mem_usb_ep0_stall_status
+	branch usb0_reply_zerolen
+usb0_force_stall_ep1_in_on:
+	jam 1,mem_usb_ep1_stall_status
+	branch usb0_reply_zerolen
+usb0_force_stall_ep2_in_on:
+	jam 1,mem_usb_ep2_stall_status
+	branch usb0_reply_zerolen
+usb0_force_stall_ep3_in_on:
+	jam 1,mem_usb_ep3_stall_status
+	branch usb0_reply_zerolen
+
+
+usb0_request_set_address:
+	fetch 1,mem_usb_setup_bmRequestType
+	bne OUT_DEVICE,usb0_force_stall
+	fetch 1,mem_usb_setup_wIndex
+	bne 0,usb0_force_stall
+	fetch 1,mem_usb_setup_wIndex+1
+	bne 0,usb0_force_stall
+	fetch 1,mem_usb_setup_bLength
+	bne 0,usb0_force_stall
+	fetch 1,mem_usb_setup_bLengthH
+	bne 0,usb0_force_stall
+	fetch 1,mem_usb_setup_bValueH
+	bne 0,usb0_force_stall
+	fetch 1,mem_usb_setup_bValue
+	and_into 0x80,pdata
+	bne 0,usb0_force_stall
+	fetch 1,mem_usb_setup_bValue
+	bne 0,usb_usb0_state_set_dev_addr
+usb_usb0_state_set_dev_default:	
+	jam DEV_DEFAULT,mem_usb0_state
+usb0_request_set_wait_address:
+	fetch 1,mem_usb_setup_bValue
+	store 1,core_usb_addr
+	call usb0_reply_zerolen
+	jam 1,mem_usb_set_high_addr_flag
+	rtn
+usb_usb0_state_set_dev_addr:
+	jam DEV_ADDRESS,mem_usb0_state
+	branch usb0_request_set_wait_address
+
+
+usb0_request_set_configuration:
+	fetch 1,mem_usb0_state
+	beq DEV_DEFAULT,usb0_force_stall
+	fetch 1,mem_usb_setup_bmRequestType
+	bne OUT_DEVICE,usb0_force_stall
+	fetch 1,mem_usb_setup_wIndex
+	bne 0,usb0_force_stall
+	fetch 1,mem_usb_setup_wIndex+1
+	bne 0,usb0_force_stall
+	fetch 1,mem_usb_setup_bLength
+	bne 0,usb0_force_stall
+	fetch 1,mem_usb_setup_bLengthH
+	bne 0,usb0_force_stall
+	fetch 1,mem_usb_setup_bValue+1
+	bne 0,usb0_force_stall
+	fetch 1,mem_usb_setup_bValue
+	sub pdata,USB_MAX_NUM_CFG,null
+	nbranch usb0_force_stall,positive
+	fetch 1,mem_usb0_state
+	beq DEV_ADDRESS,usb0_request_set_cfg_addr_state
+	beq DEV_CONFIGURED,usb0_request_set_cfg_cfg_state
+	branch usb0_force_stall
+ // This software only supports config = 0,1
+usb0_request_set_cfg_addr_state:
+usb0_request_set_cfg_cfg_state:
+	fetch 1,mem_usb_setup_bValue	//1:Configured state   0:Address state
+	beq 0,usb0_request_set_cfg_stay_addr_state
+	jam DEV_CONFIGURED,mem_usb0_state
+	branch usb0_reply_zerolen
+usb0_request_set_cfg_stay_addr_state:
+	jam DEV_ADDRESS,mem_usb0_state
+	branch usb0_reply_zerolen
+
+
+usb0_request_set_interface:
+	fetch 1,mem_usb0_state
+	bne DEV_CONFIGURED,usb0_force_stall		
+	fetch 1,mem_usb_setup_bmRequestType
+	bne OUT_INTERFACE,usb0_force_stall
+	fetch 1,mem_usb_setup_bValue
+	bne 0,usb0_force_stall
+	fetch 1,mem_usb_setup_bValueH
+	bne 0,usb0_force_stall
+	fetch 1,mem_usb_setup_bLength
+	bne 0,usb0_force_stall
+	fetch 1,mem_usb_setup_bLengthH
+	bne 0,usb0_force_stall
+	fetch 1,mem_usb_setup_wIndex
+	bne 0,usb0_force_stall
+	fetch 1,mem_usb_setup_wIndex+1
+	bne 0,usb0_force_stall
+	branch usb0_reply_zerolen
+
+
+usb_set_idle:
+	bpatchx patch32_0,mem_patch32
+	jam 1,mem_usb_idle_flag
+	fetch 1,mem_usb_setup_bValueH
+	store 1,mem_usb_idle_rate
+	fetch 1,mem_usb_setup_wIndex
+	sub pdata,1,null
+	call usb_clear_remote_wakeup_set0,zero
+	fetch 1,mem_usb_state
+	bne USB_RESUME,usb0_reply_zerolen
+	jam USB_CONNECTED,mem_usb_state
+	call usb0_reply_zerolen
+	nop 30000
+	nop 30000
+	rtn
+usb_clear_remote_wakeup_set0:
+	jam 1,mem_usb_device_enumeration_endflag
+	jam 0,mem_usb_clear_remote_wakeup
+	jam USB_RESUME,mem_usb_state
+	rtn
+
+
+usb_set_report:
+	arg mem_usb0_set_report_data,contw
+	call usb_rx_data
+	jam 1,mem_usb0_get_set_report
+	call usb_set_report_resume_judge
+	fetch 2,mem_usb_setup_bValue
+	store 2,mem_usb_setup_bValue_temp
+	call usb0_reply_zerolen
+	fetch 1,mem_device_option
+	rtnne dvc_op_dongle
+	fetch 1,mem_usb_tx_win_enable
+	rtn blank
+	fetch 1,mem_usb0_set_report_data
+usb_get_led_status:	
+	store 1,mem_24g_led_status
+	jam 0,mem_usb_tx_win_enable
+	jam KB_LED_ACKPAYLOAD,mem_24g_ackpayload_enable
+	rtn
+
+	
+usb_set_report_resume_judge:
+	fetch 2,mem_usb_setup_bValue
+	arg PC_SET_REPORT_bValue,temp
+	isub temp,null
+	nrtn zero
+	fetch 2,mem_usb_setup_wIndex
+	arg PC_SET_REPORT_wIndex,temp
+	isub temp,null
+	nrtn zero
+	fetch 2,mem_usb_setup_bLength
+	arg PC_SET_REPORT_bLength,temp
+	isub temp,null
+	nrtn zero
+	jam 1,mem_usb_tx_win_enable
+	rtn
+
+
+usb_set_protocol_req:
+	fetch 1,mem_usb_setup_bLength
+	bne 0,usb0_force_stall
+	fetch 1,mem_usb_setup_bValue
+	beq BOOT_PROTOCOL,usb_set_boot_protocol
+	beq REPORT_PROTOCOL,usb_set_report_protocol
+	branch usb0_force_stall
+usb_set_boot_protocol:
+	jam 0,mem_usb_set_protocol_status
+	jam 1,mem_usb_set_protocol_value
+	branch usb0_reply_zerolen
+usb_set_report_protocol:
+	jam 1,mem_usb_tx_mac_enable
+	jam 1,mem_usb_set_protocol_status
+	jam 0,mem_usb_set_protocol_value
+	branch usb0_reply_zerolen
+
+
+usb0_respond_length:
+	ifetchr regb,1,rega
+	increase 1,rega
+//rega=*buff,regb=size
+usb0_respond:
+	bpatchx patch32_1,mem_patch32
+	set1 mark_usb_first_resp,mark
+	bmark0 mark_isstr,usb0_respond_nostr
+	increase 1,regb
+	lshift regb,regb
+usb0_respond_nostr:
+	storer rega,2,mem_bufptr
+	storer regb,1,mem_remain
+	branch usb0_tx
+
+usb_no_respond_data:
+	arg 0,queue
+	branch usb_trig
+
+
+
+//mem_bufptr=*buff,mem_remain=size,loopcnt=i,rega=len
+usb0_tx:
+	bpatchx patch32_2,mem_patch32
+	fetch 1,core_usb_txbusy
+	rtnbit1 0
+	fetch 1,mem_remain
+	rtn blank
+	copy pdata,loopcnt
+	iforce temp
+	fetch 2,mem_usb_setup_bLength
+	sub pdata,EP0_PACKET_SIZE,null
+	branch usb0_tx_short,positive
+	sub loopcnt,EP0_PACKET_SIZE,null
+	branch usb0_tx_info,positive
+	force EP0_PACKET_SIZE,loopcnt
+	branch usb0_tx_info
+usb0_tx_short:
+	isub loopcnt,null
+	branch usb0_tx_info,positive
+	iforce loopcnt
+	store 1,mem_remain
+usb0_tx_info:
+	fetch 1,mem_remain
+	isub loopcnt,pdata
+	store 1,mem_remain
+	add loopcnt,-1,pdata
+	store 1,mem_usb_txbuf
+	bmark0 mark_isstr,usb0_tx_nostr
+	rshift pdata,pdata
+	add loopcnt,-1,pdata
+	store 1,mem_usb_txbuf
+	bmark0 mark_usb_first_resp,usb0_tx_nostr
+	set0 mark_usb_first_resp,mark
+	istoret 1,contw
+	setarg 3
+	istore 1,contw
+	increase -1,loopcnt
+	copy loopcnt,pdata
+	nbranch usb0_tx_nostr,zero
+	increase 1,loopcnt
+usb0_tx_nostr:
+	fetch 2,mem_bufptr
+	copy pdata,contr
+usb0_tx0:
+	ifetch 1,contr
+	istore 1,contw
+	bmark0 mark_isstr,usb0_tx1
+	setarg 0
+	istore 1,contw
+usb0_tx1:
+	loop usb0_tx0
+	copy contr,pdata
+	store 2,mem_bufptr				//mem_bufptr += len
+	setarg mem_usb_txbuf
+	store 2,core_usb_tx_saddr0
+	arg 0,queue
+	call usb_trig
+	fetch 1,mem_remain
+	nrtn blank
+	fetch 1,mem_usb_state
+	rtnne USB_GOT_REPORT_REQ
+	jam USB_CONNECTED,mem_usb_state
+	rtn
+
+
+
+usb_tx_ep1:
+	arg 1,queue
+	arg mem_usb_txbuf1,rega
+	storer rega,2,core_usb_tx_saddr1
+usb_tx_buf:
+	add loopcnt,-1,pdata
+	istore 1,rega
+usb_tx_loop:
+	ifetch 1,contr
+	istore 1,contw
+	loop usb_tx_loop
+usb_trig:
+	setarg 0
+	qset1 pdata
+	store 1,core_usb_trig
+	rtn
+
+usb_tx_ep2:
+	arg 2,queue
+	arg mem_usb_txbuf2,rega
+	storer rega,2,core_usb_tx_saddr2
+	branch usb_tx_buf
+
+usb_tx:
+	bpatchx patch32_3,mem_patch32
+	fetch 1,mem_usb_tx_enable
+	rtn blank
+	fetch 1,mem_usb_device_enumeration_endflag
+	branch usb_tx_fifo_release,blank
+	fetch 1,mem_usb_state
+	beq USB_SLEEP,usb_windows_wakeup
+	bne USB_CONNECTED,usb_tx_fifo_release
+	fetch 1,mem_usb_clear_remote_wakeup
+	nbranch usb_tx_fifo_release,blank
+	call usb_tx_data_ep1
+	branch usb_tx_data_ep2
+
+usb_tx_data_ep1:
+	fetch 1,core_usb_txbusy
+	rtnbit1 1
+	fetch 1,mem_usb_tx_enable
+	rtnbit0 1
+	fetch 1,mem_usb_tx_enable
+	set0 1,pdata
+	store 1,mem_usb_tx_enable
+	fetch 1,mem_usb_ep1_data
+	rtn blank
+	beq USB_EP1_KB,usb_tx_kb_normal_data
+	branch assert
+
+usb_tx_data_ep2:
+	fetch 1,core_usb_txbusy
+	rtnbit1 2
+	fetch 1,mem_usb_tx_enable
+	rtnbit0 2
+	fetch 1,mem_usb_tx_enable
+	set0 2,pdata
+	store 1,mem_usb_tx_enable
+	fetch 1,mem_usb_ep2_data
+	rtn blank
+	beq USB_EP2_MS,usb_tx_ms_data
+	beq USB_EP2_MULTIKEY,usb_tx_kb_multikey_data
+	beq USB_EP2_SYSTEMKEY,usb_tx_kb_systemkey_data
+	branch assert
+
+usb_tx_fifo_release:
+	//clear mem_usb_mouse_data/mem_usb_kb_data/mem_usb_kb_multikey/mem_usb_kb_system
+	arg mem_usb_mouse_data,contw
+	arg 8,loopcnt
+	branch memset0
+	
+usb_tx_ms_data:
+	fetch 1,mem_usb_idle_flag
+	fetcht 1,mem_usb_get_protocol_flag
+	iand temp,pdata
+	branch usb_tx_ms_data_normal_mode,blank
+	fetcht 1,mem_usb_set_protocol_status
+	iadd temp,pdata
+	beq MAC_BOOT_MODE,usb_tx_ms_data_mac_boot_mode
+	branch usb_tx_ms_data_normal_mode
+
+usb_tx_ms_data_mac_boot_mode:
+	jam 0,mem_usb_ep2_data
+usb_tx_ms_data_mac_boot_regroup:
+	fetch 1,mem_usb_mouse_data+1	//key
+	beq R_KEY,usb_tx_mac_boot_ms_regroup_r_or_lrkey
+	beq LR_KEY,usb_tx_mac_boot_ms_regroup_r_or_lrkey
+	fetch 1,mem_usb_mouse_data+1	//key
+	store 1,mem_usb_mouse_data
+	fetch 1,mem_usb_mouse_data+2	//x low
+	istore 1,contw
+	fetch 1,mem_usb_mouse_data+4	//y low
+	istore 1,contw
+	fetch 1,mem_usb_mouse_data+6	//wheel
+	istore 1,contw
+	arg 4,loopcnt
+	arg mem_usb_mouse_data,contr
+	branch usb_tx_ep2
+	
+usb_tx_ms_data_normal_mode:
+	jam 0,mem_usb_ep2_data
+usb_tx_mac_boot_ms_regroup_r_or_lrkey:	
+	arg 8,loopcnt		
+	arg mem_usb_mouse_data,contr
+	branch usb_tx_ep2
+
+usb_tx_kb_multikey_data:
+	jam 0,mem_usb_ep2_data
+	arg 3,loopcnt
+	arg mem_usb_kb_multikey,contr
+	branch usb_tx_ep2
+
+usb_tx_kb_normal_data:
+	jam 0,mem_usb_ep1_data
+	arg 8,loopcnt
+	arg mem_usb_kb_data,contr
+	branch usb_tx_ep1
+
+usb_tx_kb_systemkey_data:
+	jam 0,mem_usb_ep2_data
+	arg 2,loopcnt
+	arg mem_usb_kb_system,contr
+	branch usb_tx_ep2
+
+usb_inwake_state_tx_dispose:
+	fetch 1,mem_usb_state
+	beq USB_CONNECTED,usb_mac_wakeup_trig
+	rtn
+usb_mac_wakeup_trig:
+	fetch 1,core_usb_config
+	set1 7,pdata
+	store 1,core_usb_config
+	jam 1,mem_usb_mac_wakeup_trig
+	rtn
+
+usb_mac_wakeup_judge:
+	fetch 1,mem_usb_state
+	rtneq USB_SLEEP
+	beq USB_CONNECTED,usb_mac_wakeup
+	rtn
+usb_mac_wakeup:
+	fetch 1,mem_usb_mac_wakeup_trig
+	rtn blank
+	jam 1,mem_usb_wakestate_onetime_flag
+	branch usb_wakeup
+
+usb_windows_wakeup:
+	arg TIMER_WAKEUP,queue
+	call timer_check
+	nrtn blank
+usb_wakeup:
+	fetch 1,core_usb_config
+	rtnbit0 7	//endpoint wakeup enable
+	jam 0xfc,core_usb_config
+	nop 30000
+	jam 0x3c,core_usb_config
+	rtn
+
+
+
+
+right_shift_n: //rshiftN pdata,pdata
+	sub loopcnt,0,null
+	rtn zero
+right_shift_n_loop: 
+	rshift pdata,pdata
+	loop right_shift_n_loop
+	rtn
+
+
+left_shift_n:
+	force 1,pdata
+	sub loopcnt,0,null
+	rtn zero
+left_shift_n_loop:
+	lshift pdata,pdata
+	loop left_shift_n_loop
+	rtn
+push_stack:
+	storer contw,2, mem_contw
+	storet 8,mem_temp
+	storer timeup,4,mem_timeup
+	call push_stack_rega_b_c
+	storer contr,2, mem_contr
+	storer loopcnt,2, mem_loopcnt
+	storer queue,2,mem_queue
+	rtn
+
+push_stack_rega_b_c:
+	storer rega,4, mem_rega
+	storer regb,4, mem_regb
+	storer regc,3, mem_regc
+	rtn
+
+pop_stack:
+	fetch 2, mem_contw
+	iforce contw
+	fetcht 8,mem_temp
+	fetchr timeup,4,mem_timeup
+	call pop_stack_rega_b_c
+	fetchr loopcnt,2,mem_loopcnt
+	fetchr queue,2,mem_queue
+	fetch 2,mem_contr
+	iforce contr
+	rtn
+
+pop_stack_rega_b_c:
+	fetchr rega,4, mem_rega
+	fetchr regb,4, mem_regb
+	fetchr regc,3,mem_regc
+	rtn
+
+get_contw:
+	fetch 2,mem_contw
+	copy pdata,contw
+	rtn
+get_contr:
+	fetch 2,mem_contr
+	copy pdata,contr
+	rtn
+store_contw:
+	copy contw,pdata
+	store 2,mem_contw
+	rtn
+store_contr:
+	copy contr,pdata
+	store 2,mem_contr
+	rtn	
+	
+
+//
+save_cont_pointers:
+	copy contw,pdata
+	store 2,mem_hold_contw
+	copy contr,pdata
+	store 2,mem_hold_contr
+	rtn
+load_cont_pointers:
+	fetch 2,mem_hold_contw
+	copy pdata,contw
+	fetch 2,mem_hold_contr
+	copy pdata,contr
+	rtn
+
+
+//input pdata,temp 1byte
+//output rega:diff
+get_diff:
+	isub temp,rega
+	rtn positive
+	arg 0x100,rega
+	iadd rega,pdata
+	isub temp,rega
+	rtn	
+
+memcpy96:
+	call memcpy32
+memcpy64:
+	call memcpy32
+	branch memcpy32
+memcpy20:
+	call memcpy8
+memcpy12:
+	call memcpy8
+memcpy4:
+	ifetch 4,contr
+	istore 4,contw
+	rtn	
+memcpy8:
+	ifetch 8,contr
+	istore 8,contw
+	rtn	
+
+memcpy48:
+	call memcpy16
+memcpy32:
+	call memcpy8
+memcpy24:
+	call memcpy8
+memcpy16:
+	call memcpy8
+	branch memcpy8
+
+delay:
+	increase -1,pdata
+	nop 38
+	nbranch delay,blank
+	rtn
+
+
+delay_10ms:
+	arg 10,loopcnt
+delay_ms_wait:
+	nop 12000
+	loop delay_ms_wait
+	rtn
+
+delay_50ms:
+	arg 50,loopcnt
+	branch delay_ms_wait
+
+bn_zero:
+	force 3,loopcnt
+memset0:
+	force 0,pdata
+memset8:
+	istore 8,contw
+	loop memset8
+	rtn
+
+
+memset0_16:
+	call memset0_8
+memset0_8:
+	force 0,pdata
+	istore 8,contw
+	rtn
+memset0_4:
+	force 0,pdata
+	istore 4,contw
+	rtn	
+	
+clear_mem_256:
+	force 4,loopcnt
+	branch memset0 
+clear_mem_512:
+	force 8,loopcnt
+	branch memset0 
+
+clear_mem:
+	deposit loopcnt
+	rtn blank
+	setarg 0
+clear_mem_loop:
+	istore 1,contw
+	loop clear_mem_loop
+	rtn
+	
+
+clear_temp_block:
+	arg 32,loopcnt
+	arg mem_temp_block0,contw
+	branch clear_mem
+	
+xor_loop:
+	ifetch   4,regc
+	ifetcht 4,rega
+	ixor     temp,pdata
+	istore   4,contw	
+	increase 4,rega
+	increase 4,regc
+	loop  xor_loop
+	rtn
+	
+// 11 22 -> 22 11; 11 22 33 -> 33 22 11 
+// rega:data addr ;loopnct:length
+inverse_data:
+	bpatchx patch32_4,mem_patch32
+	copy loopcnt,pdata
+	sub pdata,1,null
+	rtn positive
+	iadd rega,regb	
+	increase -1,regb
+	rshift loopcnt,loopcnt
+inverse_loop:
+	ifetcht 1,rega
+	ifetch 1,regb
+	istore 1,rega
+	istoret 1,regb
+	increase -1,regb
+	increase 1,rega
+	loop inverse_loop
+	rtn
+
+le2be_6Byte:
+inverse_data_6Byte:
+	rshift32 pdata,temp
+	call inverse_data_4Byte
+	byteswap temp,temp
+	lshift16 pdata,pdata
+	ior temp,pdata
+	rtn
+
+
+le2be_4Byte:
+inverse_data_4Byte:
+	rshift16 pdata,contr
+	byteswap contr,contr
+	byteswap pdata,pdata
+	lshift16 pdata,pdata
+	ior contr,pdata
+	rtn
+
+
+memcpy_fast:
+	deposit loopcnt
+	rtn blank
+memcpy_fast_loop:
+	increase -8,loopcnt
+	call memcpy8,positive
+	rtn zero
+	branch memcpy_fast_loop,positive
+	increase 8,loopcnt
+memcpy_fast_loop_four:
+	increase -4,loopcnt
+	call memcpy4,positive
+	rtn zero
+	branch memcpy_fast_loop_four,positive
+	increase 4,loopcnt
+	branch memcpy
+ 
+memcpy:
+	deposit loopcnt
+	rtn blank
+memcpy_loop:
+	ifetch 1,contr
+	istore 1,contw
+	loop memcpy_loop
+	rtn
+
+timer_stop:
+	setarg 0
+timer_init:
+	rshift clkn_bt,temp
+	storet 4,mem_last_clkn
+	arg mem_timers,contw
+	iforce temp
+	lshift queue,pdata
+	iadd contw,contw
+	istoret 2,contw
+	bpatchx patch32_5,mem_patch32
+	rtn
+
+timer_check_timeout:
+	arg 0x800,timeup
+	lshift16 timeup,timeup
+	iadd timeup,pdata
+	rtn
+
+
+timer_reinit:
+	arg 0,queue
+timer_check:
+	bpatchx patch32_6,mem_patch32
+	fetcht 4,mem_last_clkn
+	rshift clkn_bt,pdata
+	store 4,mem_last_clkn	
+	isub temp,null
+	ncall timer_check_timeout,positive	
+	isub temp,timeup
+	copy timeup,temp
+	arg mem_timers,contr
+	copy contr,contw
+	arg 16,loopcnt
+timer_loop:
+	ifetch 2,contr
+	isub temp,pdata
+	branch timer_counting,positive
+	force 0,pdata
+timer_counting:
+	istore 2,contw
+	loop timer_loop	
+	arg mem_timers,contr
+	lshift queue,pdata
+	iadd contr,contr
+	ifetch 2,contr
+	rtn
+
+
+
+	
+clk_add:
+	iadd temp,temp
+	copy temp, loopcnt
+	fetch 2,mem_param_rt_rthalfslot
+	isub loopcnt,pdata
+	rtn positive
+	sub pdata,0,pdata
+	rshift16 temp,temp
+	increase 1,temp
+	lshift16 temp,temp
+	ior temp,temp
+	rtn
+
+clk_diff_rt:
+	call clk_diff
+	branch clk2rt
+
+
+clk_diff:
+	disable user
+	isub temp,pdata
+	branch clk_diff_pos,positive
+	enable user
+	sub pdata,0,pdata
+clk_diff_pos:
+	rtnbit0 15
+	copy pdata,regab
+	arg 0x10000,temp
+	fetch 2,mem_param_rt_rthalfslot
+	isub temp,pdata
+	iadd regab,pdata
+	set0 64,pdata
+	rtn
+
+	
+
+clk2rt:
+	fetcht 2,mem_param_rt_rthalfslot
+	iforce contr
+	rshift16 pdata,pdata
+	imul32 temp,pdata
+	iadd contr,pdata
+	rtn
+
+	
+clk2lpo:
+	lshift8 pdata,pdata
+	lshift4 pdata,pdata
+	fetcht 3,mem_clks_per_lpo
+	idiv temp
+	call wait_div_end
+	quotient temp
+	rtn
+
+	
+clk2bt:
+	fetcht 2,mem_param_rt_rthalfslot
+	idiv temp
+	call get_div_result
+	lshift16 pdata,pdata
+	remainder temp
+	ior temp,temp
+	rtn
+
+
+
+//input:contu 
+//output:temp
+//used register: temp regab
+string2dec_from_uart:
+	arg 0,temp
+string2dec_from_uart_done:
+	copy temp,regab
+	ifetch 1,contu
+	call uchar2dialog	
+	copy regab,temp
+	call swap
+	arg 10,regb
+	imul32 regb,pdata
+	iadd temp,pdata
+	copy pdata,temp
+	loop string2dec_from_uart_done
+	rtn
+	
+
+
+uchar2dialog:
+	arg 0x3a,temp
+	isub temp,null
+	nbranch uchar2dialog_number,positive
+	arg 0x61,temp
+	isub temp,null
+	branch uchar2dialog_a2f,positive
+	arg 0x37,temp
+	isub temp,pdata
+	rtn
+uchar2dialog_number:
+	arg 0x30,temp
+	isub temp,pdata
+	rtn
+uchar2dialog_a2f:
+	arg 0x57,temp
+	isub temp,pdata
+	rtn
+
+pn9:
+	copy temp,alarm
+	setarg 0x1ff
+	force 0,regb
+pn9_loop:	
+	rshift3 pdata,rega
+	rshift rega,rega
+	ixor rega,rega
+	isolate1 0,rega
+	setflag true,9,pdata
+	rshift temp,temp
+	isolate1 0,pdata
+	setflag true,7,temp
+	rshift pdata,pdata
+	increase 1,regb
+	compare 0,regb,0x7
+	nbranch pn9_loop,true
+	istoret 1,contw
+	loop pn9_loop
+	copy alarm,temp
+	rtn
+
+	// contr: rxdata, loopcnt is count. result in quotient
+calc_average:
+	setarg 0
+	copy loopcnt,rega
+calc_average_loop:
+	ifetcht 2,contr
+	iadd temp,pdata
+	loop calc_average_loop
+	idiv rega
+
+get_div_result:
+	call wait_div_end
+	quotient pdata
+	rtn
+
+wait_div_end:	
+	rtn modone
+	branch wait_div_end
+
+
+
+//input:
+//	count:loopcnt str1:rega str2:regb
+//output:
+//	same:set flag zero ,diff not set flag zero
+// using:
+//	reg:temp null flag:zero
+compare_loop:
+string_compare:
+	ifetch 1,rega
+	ifetcht 1,regb
+	isub temp,null
+	nrtn zero
+	increase 1,rega
+	increase 1,regb
+	loop string_compare
+	force 0,null
+	rtn
+
+	
+ceiling:
+	isub temp,null
+	nrtn positive
+	deposit temp
+	rtn
+	
+swap:
+	iadd temp,pdata
+	isub temp,temp
+	isub temp,pdata
+	rtn
+
+clean_mem:
+	arg 0x200,loopcnt
+	arg 0x4000,contw
+	branch memset0				// clear xram at boot
+
+	//cb function ptr in pdata
+callback_func:
+	rtn blank
+	copy pdata,pc	//rtn through cb functon.
+	//branch assert
+
+wait_uarttx:
+	fetch 2,core_uart_txitems
+	nbranch wait_uarttx,blank
+	rtn
+
+ice_break:
+	jam 0x1,core_ice_ctrl
+	rtn
+
+ice_setbp:
+	store 2,core_ice_break0
+	fetch 1,core_ice_ctrl
+	set1 4,pdata
+	store 1,core_ice_ctrl
+	rtn
+ice_setbp2:
+	store 2,core_ice_break1
+	fetch 1,core_ice_ctrl
+	set1 6,pdata
+	store 1,core_ice_ctrl
+	rtn
+	
+ice_set_write_bp:
+	store 2,core_ice_break0
+	jam 0x30,core_ice_ctrl
+	rtn
+
+
+test_enable_white:
+	fetch 1,core_config
+	set0 whiteoff_bit,pdata
+	store 1,core_config			
+	rtn
+
+check_uart_tx_buff:
+	fetch 2,core_uart_txitems
+	arg UART_AIR_CONTROL_THRESHOLD,temp
+pdata_sub_temp:
+	isub temp,null
+	rtn
+
+	//fuction fifo_in
+	//rega pointer to fifo memory , *(rega+len) is the end of fifo
+	//mem_fifo_temp data into fifo
+	//assert if fifo was full
+fifo_in:
+	bpatchx patch32_7,mem_patch32
+	ifetcht UTIL_FIFO_LEN,rega
+	and temp,0xff,pdata
+	nbranch fifo_in_push,blank
+	rshift8 temp,pdata
+	istore UTIL_FIFO_LEN,rega
+fifo_in_push:
+	increase UTIL_FIFO_LEN+UTIL_FIFO_OFFSET,rega
+	ifetch 1,rega
+	nbranch assert,blank //fifo full
+	fetch 1,mem_fifo_temp
+	istore 1,rega
+	rtn
+	
+	//fuction fifo_out
+	//rega pointer to fifo memory
+	//pdata  data from fifo, blank mains fifo empty
+fifo_out:
+	bpatchx patch33_0,mem_patch33
+	arg UTIL_FIFO_LEN,loopcnt
+	ifetch UTIL_FIFO_LEN,rega
+	rtn blank
+fifo_out_loop:
+	ifetch 1,rega
+	nbranch fifo_out_end,blank
+	increase 1,rega
+	loop fifo_out_loop
+	branch assert
+fifo_out_end:
+	arg 0,temp
+	istoret 1,rega
+	rtn
+
+	//fuction fifo_is_empty
+	//rega pointer to fifo memory
+	//blank--- fifo is empty
+fifo_is_empty:
+	ifetch UTIL_FIFO_LEN,rega
+	rtn
+
+	//fuction fifo_is_full
+	//rega pointer to fifo memory
+	//blank--- fifo is NOT full
+fifo_is_full:
+	ifetch 1,rega
+	rtn
+	//rega pointer to fifo memory
+	//blank--- fifo is NOT near full
+fifo_is_near_full:
+	ifetch 2,rega
+	rtn
+
+	//rega pointer to fifo memory
+	//count output via pdata
+fifo_content_count:
+	arg 0,temp
+fifo_content_count_loop:
+	fetch 1,contr
+	loop fifo_content_count_loop,blank
+	increase 1,temp
+	loop fifo_content_count_loop
+	copy temp,pdata
+	rtn
+
+//input pdata, temp, return small in pdata	
+not_greater_than:
+	isub temp,null
+	nrtn positive
+copy_temp2pdata:
+	copy temp,pdata
+	rtn
+
+
+disable_positive:
+	force -1,null
+	rtn
+enable_positive:
+disable_zero:
+	force 1,null
+	rtn
+enable_zero:
+	force 0,null
+	rtn
+
+enable_user:
+	enable user
+	rtn
+	
+disable_user:
+	disable user
+	rtn
+	
+enable_user2:
+	enable user2
+	rtn
+	
+disable_user2:
+	disable user2
+	rtn
+
+enable_user7:
+	enable user7
+	rtn
+
+disable_blank:
+	setarg 1
+	rtn
+
+enable_blank:
+set_pdata_0:
+	setarg 0
+	rtn
+
+//input pdata :sum
+//output pdata :sum
+cal_sum:
+	sub loopcnt,0,null
+	rtn zero
+cal_sum_loop:
+	ifetcht 1,contr
+	iadd temp,pdata
+	loop cal_sum_loop
+	rtn
+
+	
+reverse_byte:
+	copy loopcnt,pdata
+	rtn blank
+	copy contr,pdata
+	iadd loopcnt,pdata
+	increase -1,pdata
+	copy pdata,contr	
+reverse_loop:
+	ifetch 1,contr
+	increase -2,contr
+	istore 1,contw
+	loop reverse_loop
+	rtn
+
+calc_k12:
+	copy timeup,regb
+
+	// regb:rxdata1, enable user for K1, result stored in contw 8 bytes
+calc_k:
+	arg mem_local_sig,regc
+	force 36,loopcnt
+	force 0,rege
+	force 0,regf
+rxcal_k1_loop:
+	call complex_mult16to8
+	preload rega
+	iadd rege,rege
+	preload temp
+	iadd regf,regf
+	increase 4,regb
+	increase 2,regc
+	loop rxcal_k1_loop
+	preload rege
+	arg 36,temp
+	call signed_div
+	istore 4,contw
+	preload regf
+	call signed_div
+	istore 4,contw
+	rtn
+
+	// regb points to 32bit complex, regc points to 16bit complex, result in rega+temp
+complex_mult16to8:
+	ifetchr nap,2,regb
+	ifetchr fhs_misc,1,regc
+	call signed_ext16by8
+	imults temp,rega
+	ifetchr fhs_misc,1,contr
+	branch complex_not_conj,user
+	sub fhs_misc,0,fhs_misc
+complex_not_conj:
+	add regb,2,contr
+	ifetchr nap,2,contr
+	call signed_ext16by8
+	imults temp,regd
+	preload rega
+	isub regd,rega			// ac-bd
+	ifetchr nap,2,regb
+	preload nap
+	imults temp,regd
+	ifetchr nap,2,contr
+	ifetchr fhs_misc,1,regc
+	call signed_ext16by8
+	imults temp,temp
+	preload regd
+	iadd temp,temp
+	rtn
+
+	// regb points to 64bit complex, regc points to 64bit complex, result in rege+regf
+complex_mult32to32:
+	ifetch 4,regb
+	ifetchr rega,4,regc
+	imults rega,rege			// ac
+	ifetchr rega,4,contr
+	aligned rega,regf			// d
+	add regb,4,contr
+	ifetch 4,contr
+	imults rega,temp			// bd
+	preload rege
+	isub temp,rege			// ac-bd
+	ifetch 4,regb
+	imults regf,regf			// ad
+	ifetch 4,contr
+	ifetchr rega,4,regc
+	imults rega,pdata
+	iadd regf,regf				// ad+bc
+	rtn
+
+
+lshift14:
+	lshift16 pdata,pdata
+rshift2:
+	rshift2 pdata,pdata
+	rtn
+
+lshift6:
+	lshift8 pdata,pdata
+	branch rshift2
+
+calc_vok:
+	imul32 pdata,pdata
+rshift7:
+	rshift4 pdata,pdata
+	rshift3 pdata,pdata
+	rtn		
+
+
+	// nap:16bit signed, fhs_misc:8bit signed, output to pdata/temp
+signed_ext16by8:
+	preload nap
+	aligned fhs_misc,temp
+	rtn	
+
+
+abs32:
+	rtnbit0 31
+	force 0,temp
+	set1 32,temp
+	increase -1,temp
+	ixor temp,pdata
+	pincrease 1
+	rtn	
+
+	// pdata 32bit is input, result in regb
+sqrt:
+	iforce rega
+	arg 0,regd
+	set1 30,regd
+	arg 0,regb
+	arg 16,loopcnt
+sqrt_loop:
+	deposit regd
+	iadd regb,pdata
+	rshift regb,regb
+	isub rega,pdata
+	branch sqrt_less,zero
+	branch sqrt_greater,positive
+sqrt_less:
+	sub pdata,0,rega
+	deposit regd
+	ior regb,regb
+sqrt_greater:
+	rshift2 regd,regd
+	loop sqrt_loop
+	rtn	
+	
+	// pdata:dividend, temp:divisor
+signed_div:
+	set0 mark_temp,mark
+	bbit0 63,signed_div_unsigna
+	set1 mark_temp,mark
+	sub pdata,0,pdata
+signed_div_unsigna:
+	isolate0 63,temp
+	branch signed_div_unsignb,true
+	setflip mark_temp,mark
+	sub temp,0,temp
+signed_div_unsignb:
+	idiv temp
+	call get_div_result
+	rtnmark0 mark_temp
+	sub pdata,0,pdata
+	rtn
+
+
+
+clear_wake:
+	setarg 0
+	set1 19,pdata	//enable ice low wakeup
+	store 8,mem_gpio_wakeup_low
+	rtn
+
+
+
+
Index: output/bt_program23.rom
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/output/bt_program23.rom	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/output/bt_program23.rom	(working copy)
@@ -0,0 +1,32598 @@
+11000000000000000000000000000100
+11000000010001011000000000100011
+11000000011100110000000000010110
+00100000001000000001001101111110
+00100000100000000000000000000000
+00100000010000000000000000000111
+00100000001000000000100000000100
+00100000010000000011000101100110
+01101111111000001100000010011010
+11000000000001001000000000001011
+00100000011000000000000000000000
+01011000000000000000011001000000
+01100111111000010100011110110101
+01011000000000000000011001000000
+01100111111000010100011110110111
+00100000011101011000000000000000
+01011000000000000000000000000010
+01100111111000010100011111110101
+01100111111000010100011111111010
+01011000000000010000001000010000
+01100111111000011100001101010100
+00100000011000000000000000000000
+00100000010000000100110000100101
+01101111111000001100011111100001
+11000000000000000100101101001010
+01101111111000001100011111100010
+01100111111000001100011110010011
+01011000000000000000000000000000
+00100000010000000100110000111100
+01110000010001111000011000000001
+00100000010000000111100000100110
+00100000010000000111100000110000
+01101111111000001000100110001001
+11000011000000010100110001001000
+00100000001000000100110000111001
+00100000010000000110111001011110
+01110000010001111101101000000100
+01110000010001111101110000001011
+01110000100010100000111000001011
+01110000100010100000111100000101
+01110000100010101000001110010000
+00100000001000000001001001010010
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+00100000010000000001001111100001
+01000100100000000100000000000000
+00100000100000000000000000000000
+00100000010000000011000101100110
+00100000010000000001001001000110
+00100000010000000101111000110011
+00100000010000000001001110000110
+00100000010000000100111000100101
+01000100100000001100000000000000
+00100000010000000110001100100011
+00100000010000000101001111011111
+00100000010000000111100000011111
+00100000010000000011000101010000
+01000100100000010100000000000000
+00100000010101011011000101011101
+00100000010000000110111100001111
+00100000010000000110111100110001
+00100000010101011001010010000100
+01000100100000011100000000000000
+00100000010000000111000011010111
+00100000010000000111011000000010
+00100000010000000110111100010010
+00100000010000000001101100111111
+00100000010000000000100000111000
+00100000010000000011000101111011
+01000100100000100100000000000000
+00100000010000000000100010010000
+00100000010000000000101100000101
+00100000010000000000101101110111
+00100000010000000000100000100001
+00100000010000000010000101111110
+00100000010000000001010010101100
+00100000001000000000100000010010
+00100000010000000000100000100110
+11000110100001001000000000000000
+01111001001111111000000000001001
+00100000010000000000101000110000
+00100000001000000001011001011110
+01000100100000101100000000000000
+00100000010000000000101001101011
+00100100001000101000100000101111
+00100000010000000000101000010111
+00011010001000001000110000000001
+11101111111000001000000000000110
+11000010100000000001010111001011
+11000010100000001000100101101001
+00100000001000000000101111011100
+00100000010000000000101000111000
+00011111001000100111110000000000
+00100000011000101000000000000000
+00100000010000000000101000010111
+01101111111000001000000000110000
+11000010100000011000100011010011
+01101111111000001000000000110001
+11000010100000001000100101101001
+00100000001000000000101111011100
+01101111111000001100000111011011
+00100000011110100000000000000000
+11000000000000001000100001001000
+11000000000000010000100001001101
+11000000000000011000100001010000
+11000000000000101000100001010101
+11000000000011011000100001000101
+00100000010000000000101001100100
+00100000011000101000000000000000
+00100000010000000000101001100111
+00100000011000101000000000000000
+01110000010000011101101100000000
+00100000011000000000000000000000
+01110000000000101110000000011011
+01110000010000011101101100000000
+00100000011000000000000000000000
+01111001001000000000000000011100
+01111001001111111000000000011110
+01110000000000001000110011111111
+01110000000000001000101000011111
+00100000001000000000100001000011
+01111001001111111000000000011100
+00011000000000000011011000000000
+00100000001000000000100001000011
+00100000010000000000101001100111
+00100000011000101000000000000000
+00011000000000000000010000000001
+01110000000000001011110100000101
+00100000001000000000100001011100
+01000100100000110100000000000000
+01101111111000110100000111011101
+00100000000000000000000000000001
+01110000010001111000111000000001
+01110000000000000101010100000011
+00100000001000000000100001011011
+00011000000000000000010000100101
+01000100100000111100000000000000
+01101111111000001000000010100111
+00100000001110100000100001100010
+00011111111010011111111000000000
+00011111111100100111111000000000
+00011111111000001111111111111111
+01100111111000001100000010101110
+01100111111000001000000010100110
+01110000000000001000101100011111
+01111001001111111000000000001100
+00100000010000000000101001001000
+00100100001000101000100010000100
+00100000010000000001001101011111
+01100111111000001000000001110111
+01100000010010001000000001111100
+01101111111000110100000111011101
+01100111111000110000000001000000
+01000100100001000100000000000001
+00100000010000000111110111101000
+01101000010010001000000001111100
+00011000000000000111111000000000
+00101000010000011111111000000001
+01111101001000001111111000000101
+01111001001000000111111000000011
+01100111111000001000000000110000
+01110000000010010101101100000011
+00100000010000000111100011011100
+00011000000000000111111000000000
+01111001001000001111111000000100
+01100111111000001000000001001100
+01011000000000000000000000000000
+01111001001000000111111000000001
+01100111111000001000000000110001
+01111000001101001111110000000000
+00100000010000000000101000110000
+01111000010101001111110000000000
+00011000000000000000111000000011
+01101111111000010100000011000001
+00100000010000000111110111011011
+00100000001000000000100001000011
+01000100100001001100000000000001
+01101111111000110100000111011101
+01100111111000110000000001000000
+00101000010000011111111000000001
+00100000001000001000100010001010
+00100000001000000000100001000011
+11011000101000000000101000000001
+11011111001000000000000000001000
+00100000010000000111110110001100
+01110000000010010101101100000100
+00100000010000000111100011011100
+00100000001000000000100001000011
+11000110100011100000000000000000
+00011000000000000000111000000001
+00100000010000000111110111101001
+01111101001110100000000000011100
+00100100001110100000100010010110
+00100000011000000000000000000000
+01000100100001010100000000000001
+01101000010010010100000011000011
+00011000000000000000111000000100
+00100000010000000000111101000000
+00100000011101000000000000000000
+00100000010000000001000011110110
+00011000000000000100100000000000
+00100000011000011000000000000000
+01111001001111111000000000001011
+01111001001111111000000000000000
+00011100010000001100001000000001
+00101000000011111111111000011110
+01111001001000001100100000000010
+00101100001000000000010000000000
+00100100001000001000100010111111
+01000100100001011100000000000001
+01101111111000001000000000010010
+00011111111000001111111000000001
+01100111111000001000000000010010
+00100000010000000001000100101010
+00100000010000000001000100100100
+00100000010000000001000101000100
+00100000010000000001001101000000
+00100000010000000001001101000101
+00100000010000000001001101010011
+00100000010000000000111001111100
+00100000010000000000100010110010
+00100000001000000000100010011101
+01000100100001100100000000000001
+01101111111000001000000010001010
+00011111111000001111111111111111
+01100111111000001000000010001010
+00100000011000010000000000000000
+01110000000000001000101000011111
+01101111111000001000000010001100
+00011111111000001111111111111111
+01100111111000001000000010001100
+00100000011000010000000000000000
+01111001010000000000000000011110
+01110000000000001000110011111111
+00100000011000000000000000000000
+01000100100001101100000000000001
+00100000010000000001000100101010
+00100000010000000001000100011110
+00100000010000000001000101000100
+00100000010000000001001101001010
+00100000010000000001001011010101
+00100000010000000001001011111011
+00100000001011000000100011001001
+00100000010000000000100010110010
+00100000001000000000100010100000
+01000100100001110100000000000001
+00100000010000000001001001111111
+00100000010000000001001101011011
+00100000010000000000110101000011
+01111001001111111000000000000001
+11000110100001011000000000000000
+01101111111000001000000000010011
+00011111111000001111111000000001
+01100111111000001000000000010011
+00100000011000000000000000000000
+01000100100001111100000000000001
+01111000001101001111110000000000
+01111000001110000111110000000000
+01101111111000010100000010111101
+00100000001110100000100011011011
+00011000000000000000111000001000
+00100000010000000111110111101001
+00100100011110100000000000000000
+01000100100010000100000000000010
+01101000010010010100000010111111
+00011000000000000000111000101000
+00100000010000000000111101000000
+00100000001101000000100100010100
+00011000000000000000111000000011
+00100000010000000111110111101001
+00100100001110100000100011110000
+01101111111000001000000001001100
+11000010100000100000100011100110
+00100000001000000000100011101001
+11011000101000000000101000000001
+11011111001000000000000000001000
+00100000010000000111110110001100
+01000100100010001100000000000010
+01110000000000000011000000000000
+00100000010000000101001111100000
+01110000010001111000111000000000
+01110000000010010101101100010011
+00100000010000000111100011011100
+00100000001000000000100100010100
+01000100100010010100000000000010
+00011000000000000001011000000000
+00110100011100110000001000000000
+01101111111000001000000010101000
+00011111111000001111111111111111
+10011100010000101111111000000000
+00101111111000000000011000000000
+00100100001000001000100011110000
+00011000100000100111111000000000
+01100111111000001000000011100101
+00011000000000000100110000000000
+00011000000000000100100000000000
+01000100100010011100000000000010
+00100000001000011000100100010100
+00100000010000000001000100101110
+01101001011000010000000101010111
+00110100011100110000001000000000
+01000100100010100100000000000010
+01101111111000100000000010101000
+10011000000000000100001000000000
+00011111111000001111111000000001
+01100111111000100000000010101000
+00101000000011111111111000001100
+01111001001000001100100000000010
+00101100001000000000010000000000
+00100100001000001000100100101000
+01101111111000001000000000001100
+00011111111000001111111000000001
+01100111111000001000000000001100
+00100000010000000001000100100100
+00100000010000000001001101000000
+00100000010000000001001101000101
+00100000010000000001001101010011
+00100000010000000000111001111100
+00100000010000000000100100011010
+00100000001000000000100011111100
+01000100100010101100000000000010
+01111000010101001111110000000000
+01101111111000010100000010111101
+00100000011110100000000000000000
+00011000000000000000111000001000
+00100000001000000111110111011011
+01000100100010110100000000000010
+01101111111000001000000010001011
+00011111111000001111111111111111
+01100111111000001000000010001011
+00100000011000010000000000000000
+01110000000000001000101100011111
+01101111111000001000000010100110
+00011111111000001111111111111111
+01100111111000001000000010100110
+00100000011000010000000000000000
+01111001010000000000000000001100
+01101111111000001100000010101110
+01100111111000001000000010100110
+00100000011000000000000000000000
+01000100100010111100000000000010
+00100000010000000001000100011110
+00100000010000000001001101001010
+00100000010000000001001011010101
+00100000010000000001001011111011
+00100000001011000000100100110000
+00100000010000000000100100011010
+00100000001000000000100100000001
+00100000010000000000111001111100
+01101111111000001000000000001101
+00011111111000001111111000000001
+01100111111000001000000000001101
+00011000000000000011011000000000
+01101111111000100000000010101000
+01000100100011000100000000000011
+00100000010000000001001100111110
+00100000010000000001000100101110
+00011100110000001100110000000001
+00011100001000010100001111111101
+00011100100000010100100111111100
+00100000010000000001000100100100
+00100000010000000001001101000000
+00100000010000000001001101000101
+00100000010000000001001101010011
+00011100010000100111111000000000
+01100111111000100000000010110000
+00011000000000000000100000000000
+00011000000000000000001000000010
+00100000010000000001001101011011
+00100000010000000000111110001010
+01000100100011001100000000000011
+00100000010000000001001100111100
+00011100001000011100001000000010
+00011100100000010100100111111100
+00100000010000000001000100011110
+00100000010000000001001101001010
+00100000010000000001001011010101
+00100000010000000001001011111011
+00100000010011000000111001111100
+00100000001011000000100101010101
+01101111111000001000000000010000
+00100000001110100000100011111100
+00011111111000001111111111111111
+01100111111000001000000000010000
+00100000001000000000100100110110
+01000100100011010100000000000011
+01101111111000001000000000001110
+00011111111000001111111000000001
+01100111111000001000000000001110
+00100000010000000000110001000010
+01111001001000000000000000110011
+00100000010000000000101011111111
+00100000001011000000100101100001
+01111001001111111000000000110011
+00100000010000000000110001100010
+00100100001110100000100101011010
+00100000001000000000100011111100
+01000100100011011100000000000011
+01111001001111111000000000110011
+01101111111000001000000000110000
+01111001001111111111111000000011
+01100111111000001000000000110000
+00100000010000000000110001001101
+01111000010101001111110000000000
+00100000011000000000000000000000
+01000100100011100100000000000011
+01111000001101001111110000000000
+01111000001110000111110000000000
+00100000010000000000100111100011
+00100000011101000000000000000000
+00100000010000000001001100111110
+00011100010000001100001000000001
+00100000010000000001000100110100
+00011000000000000100100000000011
+00100000010000000110010111100001
+00100000010000000000110010010110
+00100000010000000001000100100100
+00100000010000000001001101000000
+00100000010000000001001101000101
+00100000010000000001001101010011
+00100000010000000000111110000110
+01000100100011101100000000000011
+00100000010000000101001111110010
+00100000010000000000101011110001
+00100100001101101000100110000010
+00100000010000000001001101111000
+00100000010000000000111101001100
+01101111111000001000000000001111
+00011111111000001111111000000001
+01100111111000001000000000001111
+01000100100011110100000000000011
+00100000010000000110010111001001
+00100000010000000000100110001101
+00100100011101001000000000000000
+00100000010000000000111100011100
+00100100001110100000100110001010
+01111000010101001111110000000000
+00100000011000000000000000000000
+00100000010000000000110010010110
+00100000010000000000101011100111
+00100000001000000000100101111001
+00100000001101101000100110010000
+00100000010000000001001101101111
+00100000001000010000100110011110
+00100000010000000000100110101001
+00100100001101000000100110011110
+01101111111000001000000001001100
+11000100000000100000000000000000
+11000011100000011000000000000000
+01101111111000001000000001001011
+11000011100000011000000000000000
+00100000010000000000100110110000
+00100100011110100000000000000000
+01101111111000001000000010111101
+00011111111000001111111111111111
+01100111111000001000000010111101
+00100100011110100000000000000000
+00100000001000000101011101010101
+01000100100011111100000000000011
+00100000010000000000110001101010
+01111000010101001111110000000000
+01101111111000001000000001001100
+11000010100000100000100110100100
+00100000011000000000000000000000
+01101111111000001000000001001100
+11000011100000011000000000000000
+11011000101000000000101000000001
+11011111001000000000000000001000
+00100000001000000111110110001100
+01000100100100000100000000000100
+01111000001101000111110000000000
+01101111111000001000000001001011
+11000100000000011000000000000000
+00100000010000000000100110110000
+00100100011110100000000000000000
+00100000001000000111111011000111
+01101111111000001000000001110010
+00011111111000001111111111111111
+01100111111000001000000001110010
+00100000011000000000000000000000
+01000100100100001100000000000100
+01101111111000001000000000110000
+11000010100000111000100110111101
+01101111111000001000100001110111
+00100000001110100000100110111101
+01110000000010000111011100000000
+01110000000010010101101100011000
+00100000010000000111100011011100
+00100000001000000000100110111101
+01000100100100010100000000000100
+00100000010000000000101001100001
+01101111111000001000000000110000
+01111001001000000111111000000111
+01100111111000001000000000110000
+01110000010000011100101000000001
+01101111111000001000000001010101
+11000000100010110000100111000101
+00100000011000000000000000000000
+01110000000010000111011100000001
+01101111111000001000000000110000
+01111001001111111111111000000111
+01100111111000001000000000110000
+00100000011000000000000000000000
+01000100100100011100000000000100
+01111000010101000111110000000000
+01101111111000010000000000110010
+11011000010000001111111111111111
+10011000010001100111110000000000
+00100100011000101000000000000000
+01101111111000100000000000110100
+00100000001110000000100111010101
+10011101000001100111111000000000
+00100000001000000000100111010110
+10011100010001100111111000000000
+00011111111001100111110000000100
+00100100011000010000000000000000
+00011000000000000111111000000000
+01100111111000010000000000110010
+00100000001000000111111011000101
+00011111111000100000010000000000
+01100000010010100000000000110100
+01000100100100100100000000000100
+01110000010001100100010100000001
+01011000000000001111111111111111
+01100111111000010000000000110010
+01110000000000000111001100000001
+00100000011000000000000000000000
+01000100100100101100000000000100
+00100000010000000000100111001011
+00100100011101000000000000000000
+01111000010101000111110000000000
+01110000000000000001000100100000
+01111001001111111000000000001011
+01111001001111111000000000110001
+00100000010000000001001100111110
+00100000010000000000101011110011
+11000101000001011000100111111000
+00100000010000000000110001100010
+00100100001110100000100111101010
+11000101000110001000101000000010
+01000100100100110100000000000100
+01111000010101000111110000000000
+00011100010000100111111000000000
+01100111111000100100000011010001
+01111000001110000111110000000000
+01111000001101001111110000000000
+01110000000010010101101100101010
+00100000001000000111100011011100
+01000100100100111100000000000100
+00100000010000000001001100111100
+11011000001000000000000000010000
+00100000010000000000101011101001
+01111001001000000000000000110001
+01111001001111111000000000001011
+01101111111000001000000001110111
+10011000000000000000100000000000
+01110000000000000001000100000010
+00100000001000000000100111101010
+01101111111000100000000010110100
+00011111111000001111111000001000
+01100111111000100000000010110100
+01111000010110000111110000000000
+01111000010101001111110000000000
+00100000010000000001000000110101
+00100000010000000000110001000010
+01000100100101000100000000000101
+00100000010000000000110010001001
+00100000001101101000101000001111
+00100000010000000000110001100010
+00100100001110100000101000001001
+00100000001000000000100111110000
+01101111111000001000000000110001
+01111001001111111111111000000001
+01100111111000001000000000110001
+00100000010000000001001101111000
+00100000010000000001000001011101
+01111000001101000111110000000000
+01110000000010010101101100101011
+00100000001000000111100011011100
+01000100100101001100000000000101
+01111001001000000000000000001001
+00011010001000100111111000000000
+01100111111000010000000000011110
+00011000000000000111001001011000
+11011000101000000000001010000111
+00011010001000001000110000000001
+11101111111000001000000000000110
+00011010001000100000110000000000
+11000010100000000111110111010100
+11011000101000000000000000110000
+00100000010000000111110111010100
+01111000010101110111110000000000
+01101111111000001000000001110111
+10011000000000000000100000000000
+01110000000000001000100000000001
+00100000001101001000101000101001
+01110000000000001000100000000001
+01101111111000001000000000110000
+11000100000000001000000000000000
+01101111111000001000000001110011
+01100111111000001000000010001000
+01101111111000001000000001110100
+01100111111000001000000010001001
+00100000011000000000000000000000
+01000100100101010100000000000101
+01101111111000010000000000011110
+10011000000000000000101000000000
+00011000000000000111001001011000
+11011000110000000000001010000111
+00100000001110110111110111010100
+11011000110000000000000000110000
+00100000001000000111110111010100
+11011111001000000000000000000001
+01101000010010001000000000010101
+00011000010000001000010000000001
+00101000010000011111111000000001
+00100100001000001000101000111110
+11011000010000000000000000000000
+01100000010010001000000000010101
+00011000010011111111111001011000
+11011010001000000100000001000000
+10011010001000001010001000000000
+11101111111000001000000000010001
+11000010100000001000101001000110
+11000011100000000000000000000000
+11000011100000011000000000000000
+11000010000000000000101000111010
+00100000011000000000000000000000
+01000100100101011100000000000101
+11011010011000000000101001110111
+00100000010000000000101001101110
+00100100011000101000000000000000
+00011010001000100111111000000000
+01100111111000010000000000011110
+00011000000000000111110000000000
+00100000011000000000000000000000
+00100000010000000000111101001001
+00100000001000001000101001011000
+01101111111000010000000000011110
+00011111111000001000101000010111
+01101111111000001000000001000111
+11100111111000001000000000000101
+11011010011000000000101010110111
+00100000001000000000101001101110
+01101111111000001000000001000111
+00101111111011111111111000000011
+00100000001000001000101001011101
+00011000000000000111110000000001
+00100000011000000000000000000000
+00011000000000000111110000000000
+00100000011000000000000000000000
+11011010011000000000101010110100
+00100000001000000000101001101110
+01101000010010010000000000011110
+11011010011000000000101011011100
+00100000001000000000101001101110
+01101000010010001100000111011100
+11011010011000000000101010000010
+00100000001000000000101001101110
+01000100100101100100000000000101
+01101000010010110100000111011101
+11011010011000000000101001111011
+00100000001000000000101001101110
+11011010011000000000101010001000
+00100000001000000000101001101110
+11011010011000000000101011010011
+01000100100101101100000000000101
+11011010001000000100000001000000
+11011111001000000000000000000001
+11101111111000001000000000010001
+00011010011000100111101000000000
+00011010001000001010001001011000
+11000010000000000000101001110001
+00011000000000000111110000000001
+00100000011000000000000000000000
+11000010100000000000101001110011
+11000010100000011000101001110011
+00011000000000000111110000000000
+00100000011000000000000000000000
+11000010100000011000101001111101
+11000011000000000000101001110011
+00011010001000001000110000010000
+11101111111000110000000000000110
+10011000010001100111110000000000
+00100000011000101000000000000000
+00100000001000000000101001110011
+11000011000000000000101001110011
+00011010001000001000110000010110
+11101111111000001000000000000110
+10011000010001100111110000000000
+00100000011000101000000000000000
+00100000001000000000101001110011
+11000011000000001000101001110011
+00100000010000000000101011000000
+00100000010000000000101010100100
+10011000010001100111111000000000
+00011111111000001111111000000001
+00100000001000010000101010011110
+00011000110000100010010000000000
+01100111111001001000100101100100
+01101111111000001100011010111101
+00100100001110100000101010010110
+01101111111001001000100101100100
+00011010010000100000110000000000
+00011111111000001111111000000101
+00100000001000000000101010011001
+01101111111001001000100101100100
+00011010010000100000110000000000
+00011111111000001111111000010100
+00100100001000010000101001110011
+00011000010000100100001000000000
+00100000010000000000101011001100
+00011000000000000111110000000000
+00100000011000000000000000000000
+10011000000000000010010000000000
+00011010001000001000110000000010
+11101111111000010000000000000110
+00100000001110100000101010011010
+00100000010000000000101011001100
+00100000001000000000101010001001
+00011111111100010001011000000000
+00011001011011001001011000000000
+00100000001000101000101010101110
+00101001011000000001111000001111
+00100100011000001000000000000000
+00011000010100010001011000000000
+00011001011011001001011000000000
+00100100011000101000000000000000
+01111001001000000000010000011100
+00100000011000000000000000000000
+00011000010100010001011000000000
+00011001011011001001011000000000
+00101001011000000001111000001111
+00100100011000001000000000000000
+01111001001000000111111000011100
+00100000011000000000000000000000
+11000011000000000000101001110011
+00011000000000000111110000000000
+00100000011000000000000000000000
+11000011000000000000101001110011
+00011010001000001000110000000001
+11101111111000001000000000000110
+11000010100000000000101001110011
+00011010001000001000110000010111
+11101111111000001000000000000110
+11000011000000011000101001110011
+00011000000000000111110000000000
+00100000011000000000000000000000
+00011010001000001000110000000001
+11101000010000001000000000000110
+00011100010000100111111000000000
+00101000010011111111111000000001
+00011010001000001000110000000100
+11101000010000100000000000000110
+00100000011000001000000000000000
+00011010001000001000110000001000
+11101111111000110000000000000110
+00100000010000000001000001110011
+00011101000000100111111000000000
+00100000011000000000000000000000
+00011010001000001000110000000010
+00011010001000001000101000000100
+11101111111000010000000000000110
+10011000010000001001011000000000
+00011001011000100111111000000000
+11100111111000100000000000000101
+00100000001000000001011010110001
+11000011000000001000101001110011
+00100000010000000000101011000000
+10011011011000001111111000000000
+10011011011000001111111000000000
+10011000111000001111111000000000
+10011000010001100111110000000000
+00100100001000010000101001110011
+00011000000000000111110000000000
+00100000011000000000000000000000
+11000011000000000000101001110011
+00011000010000100111111000000000
+10011010001001100111110000000000
+00100000001111110000101001110011
+00011010001000001000110000000001
+11101111111000001000000000000110
+11000010100000000000101001110011
+11101111111000001000000000010001
+01111001001111111111111000000111
+11100111111000001000000000010001
+00100000001000000000101001110011
+01000100100101110100000000000101
+00100000010000000001001100111110
+00011100010000001100001000000001
+00100000010000000001000100110100
+00011000000000000100100000000011
+00100000010000000001000100100100
+00100000010000000001001101000000
+00100000010000000001001101000101
+00100000010000000001001101010011
+00100000001000000000111110000110
+01000100100101111100000000000101
+00100000010000000001001100111100
+00011100010000001100001000000001
+00100000010000000001000100110100
+00011000000000000100100000000011
+00100000010000000001000100011110
+00100000010000000000110000110111
+00100000010000000001001011011010
+00100000010000000001001101001010
+00100000010000000001001011010101
+00100000010000000001001011111011
+00100100011011000000000000000000
+00100000010000000001001001111111
+00100000001000000000110101000000
+01000100100110000100000000000110
+01101111111000001000000011100101
+10011000000000000000100000000000
+00011000000000000000001000000001
+00100000010000000000101011100111
+00100000001000000000101011110001
+01101111111000001100000010011011
+11000100000000000000000000000000
+00011000000000000000111000000100
+00100000010000000111110111101001
+00100100011110100000000000000000
+01101000010010010100000010110101
+00011000000000000000111000000100
+00100000010000000000111101000000
+00100000011101000000000000000000
+00100000010000000000101100010101
+00011000000000000000111000000100
+01101111111000010100000010110111
+00100100001011000111110111011011
+00011000000010100111111000000000
+10011110101000010111111000000000
+00100000001000000111110111011011
+01000100100110001100000000000110
+01110000000000001110010100000000
+01111000010110000111110000000000
+01111000010101110111110000000000
+00100000010000000001000011110110
+00011100010000010100001111111100
+00011000000000000100100000000001
+00100000010000000001000100101010
+00100000010000000001000100011110
+01111001010000000000000000011101
+01101111111000001000000000000110
+00011111111000001111111000000001
+01100111111000001000000000000110
+00100000010000000001000101000100
+00100000010000000001001011010101
+00100000010000000001001100000010
+00100100011011000000000000000000
+01000100100110010100000000000110
+00011000000000000011011000000000
+00100000010000000001000101001011
+01101111111000001000000000000111
+00011111111000001111111000000001
+01100111111000001000000000000111
+00100000010000000001000100101010
+00100000010000000001001100111100
+00011100001000011100001000000010
+00011000000000000100100000000001
+00100000010000000001000100100100
+00100000010000000001000101000100
+00100000010000000001001101000000
+00100000010000000001001101001110
+00011100010000100111111000000000
+01100111111000100000000010110000
+00100000010000000001001101010011
+00011000000000000000001000000010
+00011000000000000000100000000000
+00100000010000000001001101011011
+00100000010000000000111110001010
+00100000010000000000101100111111
+00011100001000010100001111111101
+00011100110000001100110000000001
+00100000011000000000000000000000
+01000100100110011100000000000110
+01101111111000001100000011011000
+00100000011110100000000000000000
+11011000101000000000000011110000
+01101111111000001100010111111111
+00011111111000100111001000000000
+00011111111000001111111000000001
+11100111111000001000000000000101
+00011000101000100000010000000000
+00011111111000001111111000000001
+01100111111000010100000111100110
+00011000010000100000101000000000
+01011000000000000000000000001001
+11100111111000001000000000000101
+11011000110000000100011000000000
+00100000010000000111110111010100
+11011010011000000100011001111011
+11011111001000000000000000000100
+00100000010000000000101101100001
+11011010011000000100011001100101
+11011111001000000000000000000001
+00100000010000000000101101100001
+00011000000000000000001000001010
+01110000010000011110010100000010
+01011000000000000000000011110000
+01100111111000010000000010111110
+00100000010000000001001100111100
+00100000010000000001000100100100
+00100000010000000001001101000000
+00100000010000000001001101001110
+00100000010000000001001101010011
+00100000010000000001001101011011
+00100000010000000000111110001010
+00100000011000000000000000000000
+00011000101000100000010000000000
+00011010011000100000110000000000
+11101111111000001000000000000110
+00100000011110100000000000000000
+00011111111000111111111000000000
+11000010000000000000101101100101
+00011111111000100010001000000000
+00011111111000001111111000000010
+00011111111000100000111000000000
+01101111111000010100000111100110
+10011000111000001111111000000000
+01100111111000010100000111100110
+00011000010000100000101000000000
+00011010001000100111111000000000
+00011111111000001111111000000001
+11100111111000001000000000000101
+00011010011000100000110000000000
+11101111111000001000000000000110
+11101111111000001000000000000110
+11100111111000001000000000000101
+00011010001000100111001000000000
+00100000001000000111110111010100
+01101111111000001100000010011011
+11000100000000001000000000000000
+00011000000000000000111000000101
+00100000010000000111110111101001
+00100100011110100000000000000000
+01101000010010010100000010111001
+00011000000000000000111000101000
+00100000010000000000111101000000
+00100000011101000000000000000000
+00011000000000000000100000000000
+01110000000000000001000000001000
+01111001001111111000000000001011
+00100000010000000000101110000111
+00011000000000000000111000000101
+01101111111000010100000010111011
+00100000001000000111110111011011
+01000100100110100100000000000110
+01111000010110000111110000000000
+00100000010000000001000011110110
+01101111111000001000000000001000
+00011111111000001111111000000001
+01100111111000001000000000001000
+00011000000000000100110000000000
+00100000010000000001000100110100
+00011100010000001100001000000001
+00011000000000000100100000000010
+01000100100110101100000000000110
+00100000010000000001000100011110
+00100000010000000001001011010101
+00100000010000000001001100000010
+00100100011011000000000000000000
+00100000010000000001000101001011
+01101111111000001000000000001001
+00011111111000001111111000000001
+01100111111000001000000000001001
+00011000000000000011011000000000
+00100000010000000001001100111100
+00011100001000011100001000000010
+00011000000000000100100000000001
+00100000010000000001000100100100
+00100000010000000001001101000000
+00100000010000000001001101001110
+00100000010000000001001101010011
+00100000010000000000111001111100
+00011000000000000000100000000000
+01101001011000010000000101010111
+00110101001100110000001000000000
+00011101000000011101000000000011
+00011100001000010100001111111101
+01000100100110110100000000000110
+00011100110000001100110000000001
+00100000010000000001000100011110
+00100000010000000001001011010101
+00100000010000000001001011110101
+00100100001011000000101110110001
+00100000010000000001001101011011
+00100000010000000000110101000011
+11000101000001011000101110111000
+01000100100110111100000000000110
+01101111111000001000000000010000
+00100000011110100000000000000000
+00011111111000001111111111111111
+01100111111000001000000000010000
+00100000010000000001001100111110
+00100000001000000000101110101000
+01000100100111000100000000000111
+01111001001111111101000000000001
+01111001001000000101000000000000
+01101111111000001000000000001010
+00011111111000001111111000000001
+01100111111000001000000000001010
+00100000010000000001001100111100
+00011100001000011100001000000010
+00100000010000000001000100100100
+00100000010000000001001101000000
+00100000010000000001001101001110
+00100000010000000001001101010011
+00100000010000000000111001111100
+00101101000000000000011000000011
+00100000001000001000101111001001
+00110111110010111000001000000000
+00100000001000000000101111000101
+01101111111000100000000010110100
+00011111111000011111111000000011
+00011111111000100101000000000000
+01000100100111001100000000000111
+01101111111000110000000011000111
+01100111111000110000000001000000
+00100000010000000000110001000010
+00100000010000000000110010001001
+00100000001101101000101111010101
+00100000010000000000110001100010
+00100100001110100000101111010000
+00100000011000000000000000000000
+01000100100111010100000000000111
+00100000010000000000110001001101
+00100000010000000000101001001000
+00100100011000101000000000000000
+01110000000000000011000100000000
+00100000010000000001000001011101
+00100000001000000000101000110000
+01000100100111011100000000000111
+00100000010000000001000001101111
+00100000010000000000110000000001
+00100000011101000000000000000000
+01000100100111100100000000000111
+00100000010000000110010111001001
+00100000010000000000110100111000
+00100100001101101000101111110000
+01101111111000010100010001110111
+00100000010000000111111001111010
+00100000010000000001001101111000
+00100000010000000110010111100001
+00100000010000000000110010010110
+00100000010000000000111101111011
+00100000010000000000111101001100
+00100000010000000101001111110010
+01101111111000001000000000001011
+00011111111000001111111000000001
+01100111111000001000000000001011
+00100000010000000001000001011101
+01000100100111101100000000000111
+00100000010000000001010011110101
+00100000010000000001001101101111
+00100000001000010000101111111001
+00100000010000000000100110101001
+00100100001101000000101111111001
+00100000010000000000111100011100
+00100100001110100000101111100000
+00100000011000000000000000000000
+01000100100111110100000000000111
+01110000000010100101000100000000
+01110000000000001110001100000000
+00100000010000000000110001101010
+01111001001111111000000000010001
+00100000010000000111111010001110
+01101111111000001000000000110000
+00100000011000000000000000000000
+00100000010000000000100111001011
+00100100011101000000000000000000
+00011000100000100000010000000000
+00100000010000000001001101011111
+01100111111000001000000011100101
+00011000010000100000100000000000
+01110000000000000001000100100000
+01000100100111111100000000000111
+00100000010000000001001100111110
+00011000000000000000001000000010
+00100000010000000000111101110011
+00011100010000100111111000000000
+01100111111000100000000010110000
+00100000010000000000111110000110
+00100000010000000001001100111100
+01111000001101111111110000000000
+00100000010000000000110100011001
+00100000001011000000110000011010
+00100000010000000001000101001011
+00100000010000000000110001100010
+00100100001110100000110000001000
+11000110100000100000000000000000
+01110000000000000111110000110100
+01111001001000000000000000000011
+00100000011000000000000000000000
+01111000001110000111110000000000
+00100000010000000000110001000010
+00100000010000000001000011110110
+01000100101000000100000000001000
+00100000010000000000101011111111
+00100000001011000000110000100110
+00100000010000000000110001100010
+00100100001110100000110000011101
+01111000010110000111110000000000
+00011101000000100111111000000000
+01100111111000100100000011010001
+00100000011000000000000000000000
+01111000001101001111110000000000
+11000101100000100000110000101100
+01111001001111111000000000000100
+01110000000000000111110000000011
+01110000000000000111110100110011
+00100000010000000101101001111011
+00011000100000100111111000000000
+01100111111000001000000001110111
+00011000000000000111111000000000
+01100111111000110000000000111000
+01101111111000001000000000110001
+01111001001000000111111000000001
+01100111111000001000000000110001
+00100000010000000001001101111000
+01111000010101001111110000000000
+01111000001101000111110000000000
+00100000011000000000000000000000
+01000100101000001100000000001000
+01111000010101101111110000000000
+01111001001111111000000000000101
+01111001001111111000000000001010
+01111001001111111000000000010000
+01111001001111111000000000001111
+01101111111000001000000001000111
+01111001001111111111111000000101
+01111001001000000111111000000100
+01100111111000001000000001000111
+00100000011000000000000000000000
+01000100101000010100000000001000
+01110000000000000001000100100000
+01110000000000000100011101010000
+01101111111000010100000011000110
+01100111111000010000000000111110
+00011100010000100111111000000000
+01100111111000100100000011010001
+00100000011110000000000000000000
+00011101000000100111111000000000
+01100111111000100100000011010001
+00100000011000000000000000000000
+01000100101000011100000000001000
+00100000010000000101001111101110
+00100000010000000000110001100110
+01100111111000001000000001000110
+01011000000000000000000000000000
+01100111111000010000001100001110
+01011000000000000001110010000000
+01100111111000010000000001010001
+01101111111000001000000000110000
+01111001001000000111111000000000
+01100111111000001000000000110000
+01110000000000000100101100000000
+01110000000000000100110000000000
+01110000000000001001110100000000
+00100000001000000001001101111000
+01000100101000100100000000001000
+00011000000000000111111000000000
+01100111111001000100000111001011
+11100111111001000000000000000101
+00100000010000000000100111000111
+00100000001000000000101001100001
+01101111111000001000000000010001
+00011111111000001111111111111111
+01100111111000001000000000010001
+00100000011000000000000000000000
+01101111111000001100000011010110
+00011111111000001111111000000001
+01100111111000001100000011010110
+00100000011000000000000000000000
+01000100101000101100000000001000
+01101111111000001100000111011011
+11000000000000011000110001101111
+01101111111000001000000001001000
+11000000100000001000110001110011
+00100000010000000100110111100110
+00100100001000101000110001110011
+00100000010000000000100110100110
+01110000010000011101101100000000
+01000100101000110100000000001000
+00100000010000000011001000111110
+00100000010000000000111100010010
+01110000000010010101101100000010
+00100000010000000111100011011100
+00100000010000000101001111100000
+00100000010000000100111000100110
+00100000010000000110111100110111
+01101111111000001000000000110000
+01111001001111111111111000000000
+01100111111000001000000000110000
+01110000010001111000111000000000
+01101111111000001000000001001100
+00101111111000011000000000000000
+00100000001000001000110010000011
+01111001001111111000000000000001
+01101111111000001000000001000111
+11000011000000011000110010000101
+01101111111000001000000001001011
+11000100000000110000000000000000
+01111001001111111000000000000010
+00100000011000000000000000000000
+01000100101000111100000000001000
+01101111111000001000000011000011
+00100000011110100000000000000000
+00011111111000100000100000000000
+00100000010000000000110100111000
+00100100011101101000000000000000
+00011000000000000000001000000000
+00100000010000000000111101111011
+00011000100000100111111000000000
+01100111111000001000000001110111
+00011000000000000111111000000000
+01100111111000001000000011000011
+00100000011000000000000000000000
+01000100101001000100000000001001
+01101111111000001000000000110000
+11000011000000010000110010100011
+00011000000000000000001000000111
+11000101100000111000110010100010
+00100000010000000000111101001001
+00100100001000001000110010100011
+00100000001101110000110010100011
+00100000010000000000110011100100
+01011000000000000000000000000010
+01100111111000010100000011001111
+00100000011000000000000000000000
+00100100011101110000000000000000
+01000100101001001100000000001001
+00100000010000000000101001010000
+00100100001000101000110010110100
+01101111111000001000000001000111
+11000011000000011000110010111101
+11000101000000101000110011000001
+01101111111000001000000011100011
+11000010100000110000110011000111
+01101111111000010100000011001111
+00011111111000001111111111111111
+01100111111000010100000011001111
+00100000001110100000110010110010
+01101111111000001100000011001100
+10011000000000000000001000000000
+00100000011000000000000000000000
+01000100101001010100000000001001
+00100000010000000000111010110111
+00100000010000000000111101001001
+00100000001000001000110010111101
+00100000010000000101011101011001
+00100000001101000000110011001011
+01101111111000001000000001001011
+11000010100000110000110011010111
+11000101000000101000110011000001
+01101111111000001000000011100011
+11000010100000110000110011000111
+00011000000000000000001000000001
+00100000011101001000000000000000
+00011000000000000000001000000000
+00100000011000000000000000000000
+01000100101001011100000000001001
+01101111111000001000000000011001
+10011000000000000000001000000000
+11000001100000001000000000000000
+00011000000000000000001000000000
+00100000011000000000000000000000
+01101111111000001000101001011000
+00011111111000010000001000001111
+01111001001000000000000000000101
+00100000011000000000000000000000
+00011000000000000000001000010011
+00100000010000000000110011100100
+00100000010000000000110111011101
+00100000011110100000000000000000
+01110000010000011110010000000011
+01101111111000001000001110001010
+00011111111000010111111111111000
+00011111111010010111111000000000
+01100111111000010100011010110101
+00011111111000100010001000000000
+11011010011000000000001110001011
+00100000001000000110110100000011
+00100000010000000000110011101101
+00100000010000000000110011100100
+00100000010000000000110111011101
+00100000011110100000000000000000
+01101111111000001100000111100101
+00011111111000010111111000000011
+01100111111000001100000111100100
+01101111111000010100000111100110
+00011111111000100010001000000000
+01100111111000010100011010110101
+01101111111000010000000010111110
+00011111111000100010011000000000
+00100000001000000110110100000011
+01000100101001100100000000001001
+01101000010010001000000001000111
+01111001001000000000010000000011
+01100000010010001000000001000111
+00011000001000100111111000000000
+01100111111000001100000011001100
+01011000000000001111111111111111
+01100111111000010100000011001111
+00100000011000000000000000000000
+01000100101001101100000000001001
+01101111111000001000000001001100
+00101111111011111111111000000101
+01101111111000010100000111100110
+00100000001000001000110100000011
+00011000000000000000001000000011
+00011111111001100111110000010001
+00100000011000010000000000000000
+00011000000000000000001000000100
+00011111111001100111110000011011
+00100000011000010000000000000000
+00011000000000000000001000001010
+00011111111001100111110001111001
+00100000011000010000000000000000
+00011000000000000000001000001011
+00011111111001100111110010110111
+00100000011000010000000000000000
+00011000000000000000001000001110
+00011111111001100111110011100000
+00100000011000010000000000000000
+00011000000000000000001000001111
+00100000011000000000000000000000
+00011000000000000000001000000011
+00011111111001100111110000010001
+00100000011000010000000000000000
+00011000000000000000001000000100
+00011111111001100111110000110110
+00100000011000010000000000000000
+00011000000000000000001000001010
+11011000010000000000000101101111
+10011000010001100111110000000000
+00100100011000010000000000000000
+00011000000000000000001000001110
+11011000010000000000001010100111
+10011000010001100111110000000000
+00100100011000010000000000000000
+00011000000000000000001000001111
+00100000011000000000000000000000
+01101111111000001000000000110000
+11000011000000001000110100011000
+01101111111000010000000000110010
+00100000001110100000110100011000
+00100100001101110000110100011010
+00100000010000000001001100111110
+00011101000000001100001000000001
+01111000001010000111110000000000
+01101111111000010000000000111110
+00011111111000110111111000000000
+01101000010010010000000101011101
+10011000010000001111111000000000
+00100000010000000001001100010011
+00100000010000000001000100111100
+00011000000000000100100000000011
+00100000010000000001000100011110
+00100000010000000000110000110111
+00100000010000000001001011011010
+01000100101001110100000000001001
+01101111111000010000000000111110
+00011111111000110111111000000000
+00100000010000000001001100010011
+00100000010000000001001011010101
+01111000001001101111110000000000
+01101111111000010000000000111110
+01101000010010010000000101011011
+10011000010000001011011000000000
+00110111110000011000010000000000
+00011011010000100000010000000000
+01100000010010110000000010010111
+01111000010001101111110000000000
+00100100011011000000000000000000
+01101111111000010000000101011011
+00011111111000100101001000000000
+00011100001000100101000000000000
+00100000001101011001010001000100
+00100000011000000000000000000000
+01000100101001111100000000001001
+00100000010000000000110100010011
+00100100001011000001000101001011
+00100000010000000001001001111111
+11000101100010001000110101000000
+01101111111000010000100111110110
+00011111111000001111111000000001
+01100111111000010000100111110110
+00100000010000000100110100001101
+00011100001000110000010000000000
+00011000010000011001110001000000
+01000100101010000100000000001010
+01111000001000111111110000000000
+01111000001001010111110000000000
+01111000001001011111110000000000
+00001001100000000000000000000011
+00011001100011001111111000000000
+01100111111000001000000010101100
+00001001100000000000000000000100
+00001000000000001000000000000111
+00011001100000100111111000000000
+01100111111000001000000000011001
+00001001100000000000000000000011
+00011001100011001111111000000000
+01100111111000001000000010101101
+01101111111000001000000000011001
+00011111111001100111110000000011
+00100000001000010000110101011000
+11000000000000111000110101011000
+01101111111000001000000001001100
+00101111111011111111111000000101
+01111001001000001010101000000001
+01000100101010001100000000001010
+00001001100000000000000000001000
+01111000010001011111110000000000
+01111000010001010111110000000000
+00100000001000110000111001011111
+11000101100010001000110101100001
+01101111111000010000100111111000
+00011111111000001111111000000001
+01100111111000010000100111111000
+01000100101010010100000000001010
+01101111111000001000000010101100
+00101111111000000000111000000000
+01111001001000001000000000001010
+00100000001000001000110101101111
+10101000100000000000111000000000
+00100000001000001000110101101101
+11000101100000111000111001111100
+01101111111000001000000001000111
+01111001001111111111111000000101
+01111001001000000111111000000100
+01100111111000001000000001000111
+00100000010000000100110100010000
+01111000001101101111110000000000
+01000100101010011100000000001010
+01101111111000001000000000011001
+00011111111000100000001000000000
+11000101000001010000110101111110
+01101000010010001000000010101101
+01101111111000001000000001000111
+01111001001111111111111000000000
+00101000010011111111111000000000
+01111001001000001111111000000000
+00101000010011111111111000000001
+01111001001000001111111000000001
+01100111111000001000000001000111
+00101000010011000000000000000001
+00100000001000001000110101111110
+00100000010000000000111010110111
+01000100101010100100000000001010
+11011000010000000000000000000000
+00100000010000000001001100001011
+00011000001000010111111000001111
+11000000000000001000110110011010
+11000000000000000000111001111100
+11000000000000010000111010001000
+01101000010010001000000010101101
+01101111111000001000000001000111
+10101000010000000000100000000000
+00100100001000001000110110001100
+11000101100001010000110110001011
+11000011000000111000110110001100
+01111001001000000000000000001111
+01000100101010101100000000001010
+00011000001000100111111000000000
+11000000000000011000110110011100
+11000000000000100000110110100000
+11000000000001000000110110011111
+11011000010000000000000000000100
+00100000010000000001001100001011
+11000000000001010000110110011011
+11000000000001011000110110011110
+11011000010000000000000000001000
+00100000010000000001001100001011
+11000000000001110000110110011011
+11000000000001111000110110011110
+00100000011000000000000000000000
+00100000001000000000111001111100
+01111001001000000000000000010000
+01111000001001100111110000000000
+00100000001000000000110110100001
+01111001001000000000000000010000
+01111001001000000010101000000010
+01111000001001101111110000000000
+01000100101010110100000000001010
+11000101000110011000111001111100
+11000101000000001000111001111100
+00101010101011000000000000000001
+00100000001000001000110110101110
+01111000010000111111110000000000
+01111000001001101111110000000000
+01111000010001100111110000000000
+00011100010000001001011000000010
+00110100010100110000010000000000
+00100100001011000000111001101011
+01111001001000000000000000010000
+01111000001000111111110000000000
+01000100101010111100000000001010
+01111000001001110111110000000000
+01111000001001001111110000000000
+00001001100000000000000000000011
+00011001100011001111111000000000
+01100111111000001000000011100100
+00001001100000000000000000000101
+11000101000010000000110110111001
+00011001100010010111001000000000
+00011111001010010111001000000000
+00100000001000000000110110111100
+00001001100000000000000000000101
+00011001100000110111001000000000
+00001001100000000000000000000011
+01000100101011000100000000001011
+00011111001000100111111000000000
+01100111111000010000000010101110
+00100000001110100000110111010100
+00100000010000000000110111011101
+00100000001110100000110111000100
+00011111001000001111001000000100
+00011111001000100111111000000000
+10011110101001100111110000000000
+00100000001000010000111001101011
+01000100101011001100000000001011
+01111001001111111000000000000000
+01101111111000001000000011100100
+00011111111000010111111000000011
+11011000101000000000000011001110
+11000000000000011000110111100010
+11000101000010001000110111010010
+01101111111000001000000011100100
+00011111111000010111111000000011
+11000000000000010000110111100111
+11000000000000001000110111111011
+00100000001000000000111001101011
+11011000101000000001000000000000
+00100000001000000000111000001100
+00100000010000000000110111011101
+00100000001110100000111000010000
+01011000000000000000000000000000
+01100111111000010100011010110101
+00001001100000000000000000100000
+00011111111011110111111000000000
+00011111111011001111111000000000
+01100111111000100000001001110011
+00100000001000000000111000010000
+01101111111000001000000001001100
+11000011000000010111111011010001
+01101111111000001100011001001000
+11000000100000010111111011010001
+00100000001000000111111011001111
+01101111111000010000000010101110
+00011111111001100111110000010001
+00100100001000010000111001101011
+11000101000001111000111001001100
+00100000001000000000111000001100
+01000100101011010100000000001011
+11000101000001111000111001001100
+01101111111000010000000010101110
+11011000010000000000001011100000
+10011000010001100111110000000000
+00100000001000010000111001101011
+01101111111000001000001100010100
+11000011000000000000110111110001
+11000011000000001000110111110110
+00100000001000000000111001111100
+01110000000000110001001000000001
+01101111111000010000001100001110
+11000000100000000000111001111100
+11011000101000000001000000000000
+00100000001000000000111000001100
+01110000000000110001001000000010
+01101111111000010000001100010000
+11000000100000000000111001111100
+11011000101000000001010000000000
+00100000001000000000111000001100
+01000100101011011100000000001011
+11000101000001111000111001001100
+01101111111000010000000010101110
+11011000010000000000001011100000
+10011000010001100111110000000000
+00100000001000010000111001101011
+01101111111000001000001100010010
+11000000000000001000111000000101
+11000000000000010000111000001001
+00100000001000000000111001111100
+11011000101000000001000000000000
+01101111111000010000001100001110
+10011000101000001000101000000000
+00100000001000000000111000001100
+11011000101000000001010000000000
+01101111111000010000001100010000
+10011000101000001000101000000000
+00001001100000000000000000001000
+00011001100010010111111000000000
+11100111111000001000000000000101
+11000010000000000000111000001100
+01000100101011100100000000001011
+00001001100000000000000000010000
+00100000001000110000111001100101
+00100000010000000000110111011101
+00100000010000000111111011001001
+00100100010110100110110100110100
+00100100001101100000111001101100
+00100000010000000100110100001100
+01101111111000001100010111110110
+11000000000000001000111001101100
+11000101000010001000111000111001
+11000101000001111000111001111001
+01101111111000001000000011100100
+00101111111000000000011000000011
+00100000001000001000111000111001
+01101111111000010000000010101110
+00100000001110100000111000111001
+01000100101011101100000000001011
+01101111111000001000001100010010
+11000000000000001000111000100110
+11000000000000010000111000110000
+00100000001000000001001101111100
+01101111111000010000001100001110
+01101000010010010000000010101110
+10011000010000001111111000000000
+01100111111000010000001100001110
+00100000011110100000000000000000
+01101000010010010001000000000000
+00011000010000001000010000000100
+10011000010001100111110000000000
+00100000010000101000111101101011
+00100000001000000000111000111001
+01101111111000010000001100010000
+01101000010010010000000010101110
+10011000010000001111111000000000
+01100111111000010000001100010000
+00100000011110100000000000000000
+01101000010010010001010000000000
+00011000010000001000010000000100
+10011000010001100111110000000000
+00100000010000101000111101101111
+01000100101011110100000000001011
+01101000010010001000000001001100
+01101111111000001000000011100100
+00101111111000000000011000000011
+01111001001000001000010000000110
+01111101001000001000010000000111
+01100000010010001000000001001100
+00100100001000001000111001000010
+01111001001000000000000000000001
+11000101100010001000111001001100
+00101000010011111111111000000110
+00100000001000001000111001001100
+01101111111000010000100111111010
+00011111111000001111111000000001
+01100111111000010000100111111010
+01111001001000000000000000000101
+01111001001111111000010000000111
+01111001001111111000000000000001
+01100000010010001000000001001100
+01000100101011111100000000001011
+00100000010000000000110111011101
+00100100010110100110110101011011
+01101000010010001000000010101101
+01101111111000001000000001000111
+01111001001000000111111000000101
+00101000010011111111111000000010
+01111001001000001111111000000010
+00101000000011111111111000001010
+01111001001000001111111000000111
+01100111111000001000000001000111
+01101111111000010000000010101110
+00100100001110100000111001111100
+01101111111000001000000001001100
+01111001001111111111111000000111
+01100111111000001000000001001100
+01101111111000001000000011100100
+00101111111000000000111000000001
+00100000001000000000111001111100
+01000100101100000100000000001100
+01111000010101101111110000000000
+01101111111000010000000000011010
+00011111111000001111111000000001
+01100111111000010000000000011010
+00100000001000000000111001111100
+01101111111000010000000000011100
+00011111111000001111111000000001
+01100111111000010000000000011100
+00100000010000000000111001101101
+11000101100010001000111001101011
+01111001001000000000000000000101
+00100000001000000000111001111100
+00100000001000000000111001100101
+01000100101100001100000000001100
+01101111111000001000000011100100
+00101111111000000000011000000011
+00100100001000001000111001110101
+01101000010010001000000001001100
+01111001001111111000010000000110
+01100000010010001000000001001100
+00100000011000000000000000000000
+01101000010010001000000001001100
+01111001001111111000010000000111
+01100000010010001000000001001100
+00100000011000000000000000000000
+01101111111000001000000001000111
+01111001001000000111111000000101
+01100111111000001000000001000111
+01000100101100010100000000001100
+01111000010011101111110000000000
+01111000010011100111110000000000
+01111000010001101111110000000000
+01111000010001100111110000000000
+01111000010001001111110000000000
+01111000010001110111110000000000
+01111000010000111111110000000000
+00100000001100001001000101001011
+00110111110100111000001000000000
+00100000000000000000000001100100
+00100000001000000001000101001011
+01000100101100011100000000001100
+01111000001001001111110000000000
+01111000001001100111110000000000
+00001001100000000000000001001000
+00101111111011111111111000111010
+01111001001000001000000000000000
+00011100000000100000010000000000
+01010111111000000100000000000000
+01010111111000000011110000000000
+01111000001010101111110000000000
+00111000000010111111111111111111
+00111000000011001111111111111111
+00100000000000000000000000100000
+00101001101010000000000000000000
+00011101100000100111111000000000
+01100111111000011000000011000111
+00011101101000100111111000000000
+01100111111000001000000011001010
+00011000010000100100000000000000
+00100000001000001000111010011101
+00100000001000000000111001101011
+01000100101100100100000000001100
+00001001100000000000000001001000
+01010111111000000011111000000000
+01010111111000000000100000000000
+01010111111000000101110000000000
+01010111111000000010010000000000
+00011000000000000111111000000000
+00001001100000000000000000010000
+00100000001000110000111001101011
+00100000010000000100110100001100
+01011111111111111111111111111100
+10011010010000010111111000000000
+01100111111000100000000010110100
+00011011101000100111111000000000
+01100111111000011000000011000100
+00011011100000100111111000000000
+01100111111000001000000011000010
+00011000100000100111111000000000
+01100111111000001000000011000011
+00011101110000100111111000000000
+01100111111000010000000011001011
+00011100001000100111111000000000
+00001000000000001000001000100000
+00101000001000000001111000000010
+01111001001000001000000000001011
+00100000001000000000111001111100
+01000100101100101100000000001100
+01101111111000001000000001000111
+11000100000000011000000000000000
+01111001001111111111111000000011
+01111001010000000111111000000110
+01100111111000001000000001000111
+00100000010000000000110111011101
+00100100010110100110110100100001
+01101111111000001100000011001100
+11000000000010011000111011001110
+11000001000000111000000000000000
+01101111111000001000000001001011
+11000100000000110000000000000000
+01111001001111111111111000000110
+01111001001000000111111000000111
+01100111111000001000000001001011
+01111001001111111000000000000010
+01101111111000010100010011011001
+00100100011110100000000000000000
+01101111111000001000000001001011
+01111001001111111111111000000111
+01100111111000001000000001001011
+00100000001000000101001100111110
+01000100101100110100000000001100
+01101111111000001100010111111001
+00011111111000110111111000000000
+11000000000010001000111011100001
+11000000000010010000111011101011
+11000000000011000000111100010010
+11000000001111111000111011011001
+11000001100000011000000000000000
+01101111111000001000001110001100
+11000000000010001000111011011100
+00100000011000000000000000000000
+01101111111000001000001110001100
+01111001001000000111111000000111
+00100000011000000000000000000000
+00100000011101001000000000000000
+01101111111000001000000000110000
+11000011100000100000000000000000
+01110000000000000111110000110001
+00100000011000000000000000000000
+01000100101100111100000000001100
+01101111111000001000000001001100
+01111001001000000111111000000010
+01100111111000001000000001001100
+01110000100000000001000100000001
+00011000000000000111111000000000
+01100111111000101100011010100100
+01111001001000000111111000100101
+01100111111000101100011010011111
+00100000011000000000000000000000
+01000100101101000100000000001101
+01101111111000001000000001001100
+01111001001111111111111000000010
+01100111111000001000000001001100
+01110000100000000001000100000000
+00100000011000000000000000000000
+01000100101101001100000000001101
+00011100010000001010001000000011
+00100000001101001000111011110101
+00011101000000001010001000000011
+01101000010010010000000000110010
+00011010001000100111111000000000
+01111001001111111111111000011011
+10011000010001101111110000000000
+01101111111000010000000001110101
+00100000010000000111111001100100
+00011000000001110010011000000000
+10011010011001100111111000000000
+00100000001000010000111011111111
+10011000010000001111111000000000
+10011010001000001111111000000000
+01100111111000100000000000110100
+01110000010001100100010100000000
+01101111111000001000000000110000
+01111001001000000111111000000001
+01100111111000001000000000110000
+01101111111000001000000001110011
+01100111111000001000000010001000
+01011000000000000000000000000000
+01100111111000011100000101101110
+01100111111000011100000101110001
+01100111111000001100000101011110
+01110000000010010101101100001011
+00100000010000000111100011011100
+01101111111000010100000011001000
+01100111111000010000000000111110
+00100100011101001000000000000000
+00011000100000001000111111111111
+00100000011000000000000000000000
+01000100101101010100000000001101
+01101111111000001000000000110000
+11000100000000001000000000000000
+01111001001111111111111000000001
+01100111111000001000000000110000
+01101111111000010100000011000110
+01100111111000010000000000111110
+01111000010101011111110000000000
+01110000000010010101101100001100
+00100000001000000111100011011100
+01000100101101011100000000001101
+01111000001101110111110000000000
+01101111111000001000000000110000
+11000010100000001000111100101001
+11000110000010001000000000000000
+01101111111000001000000001000111
+11000011100000011000000000000000
+01101111111000001000000001001000
+00100100011110100000000000000000
+01101111111000001000000001001011
+11000011100000110000000000000000
+00011000000000000111111000000000
+00100000011000000000000000000000
+11000011000000010000111100110011
+01101111111000001000000010001000
+11000000000000010000111100101111
+01101111111000001000000001000111
+11000010100000011000111100111100
+11000101100001000000111100111100
+00100100001101001000111100111100
+01101111111000001000000001001000
+00100100001110100000111100111100
+00100000001000000000111100100111
+01101111111000001000000010001000
+11000000100000001000111100111100
+01101111111000001000000010001001
+00100000001110100000111100111100
+00011111111000001111111111111111
+01100111111000001000000010001001
+01101111111000001000000001000111
+11000011100000011000000000000000
+00100100011101101000000000000000
+01101111111000001000000010001000
+00011111111000001111111111111111
+01100111111000001000000010001000
+00100000011000000000000000000000
+01000100101101100100000000001101
+01111000010010000111110000000000
+00011000010000100011011000000000
+00100000010000000000101001101101
+01111000010101000111110000000000
+00100100011000101000000000000000
+00011000000000000011011000000000
+01111000001101000111110000000000
+00100000011000000000000000000000
+01101111111000001100000101011101
+10101000100000011111111000000000
+00100000011000000000000000000000
+01000100101101101100000000001101
+01111001001111111000000000000001
+01110000000000110001101100000000
+01101111111000001000001100010100
+00100000011110100000000000000000
+00101111111011111111111000000000
+11011000110000000001000000000000
+00100000010000001100111000110100
+01000100101101110100000000001101
+01101111111000001000001100011011
+11000000000000001000111101011111
+01110000000000110001101100000000
+01101111111000001000001100010100
+11000100000000001000000000000000
+11011000110000000001010000000000
+00100000010000000100111000110100
+01101111111000001000001100011011
+11000000000000001000111101100101
+00100000011000000000000000000000
+01101111111000001000001100010100
+01111001001111111111111000000000
+01100111111000001000001100010100
+01011000000000000000000000000000
+01100111111000010000001100001110
+00100000011000000000000000000000
+01101111111000001000001100010100
+01111001001111111111111000000001
+01100111111000001000001100010100
+01011000000000000000000000000000
+01100111111000010000001100010000
+00100000011000000000000000000000
+01101111111000001000001100010100
+01111001001000000111111000000000
+01100111111000001000001100010100
+00100000011000000000000000000000
+01101111111000001000001100010100
+01111001001000000111111000000001
+01100111111000001000001100010100
+00100000011000000000000000000000
+01000100101101111100000000001101
+00011101000000001100001000000001
+00100000010000000001000100111100
+00011000000000000100100000000011
+00100000010000000001000100100100
+00100000010000000001001101000000
+00100000010000000001001101001110
+00100000001000000001001101010011
+01000100101110000100000000001110
+00100000010000000001001100111100
+00011101000000100111111000000000
+01101000010010100100000011010001
+10011000010001100111111000000000
+11000001100000001000000000000000
+00101000001000000011111000000000
+00100100001000001000111110000101
+01101111111000001000000000011001
+00100000011110100000000000000000
+00100000010000000000111101110011
+00101000001000000011111000010000
+00100000001000001000111001111100
+00011100001000110000010000000000
+00011000010000011001110001000000
+01000100101110001100000000001110
+01111000001000111111110000000000
+01111000001001010111110000000000
+01111000001011011111110000000000
+01111001001111111000000000010000
+00011000100000100111111000000000
+00001000000000001000011000000011
+00011000001000100111111000000000
+00001000000000001000011000000100
+01101111111000001000000001000111
+00001000000000001000000000000100
+00001000000000001000011000000011
+01111000001001000111110000000000
+00001000000000001000011000001000
+01111000010011011111110000000000
+01111000010001000111110000000000
+01111000010001010111110000000000
+01111001001111111010101000000010
+11011000010000000000000000000000
+00100000010000000001001100001011
+01000100101110010100000000001110
+00011000001000010111111000011111
+11000000000010011000111111001110
+11000000000000000000111001111100
+11000000000000001000111001111100
+11000000000000010000111110101111
+11000000000000011000111111011101
+11000000000000100000111111100011
+11000000000001000000111111100010
+11011000010000000000000000000100
+00100000010000000001001100001011
+11000000000001010000111111011111
+11000000000001011000111111100101
+11011000010000000000000000001000
+00100000010000000001001100001011
+11000000000001111000111111100101
+00100000001000000000111111011111
+01000100101110011100000000001110
+01101111111000001000000011100101
+00011111111000100000100000000000
+01101111111000001000000010001101
+00011111111000100011100000000000
+01101111111000011100000010110010
+00011111111000100011101000000000
+01101111111000010100000010101100
+00011111111000100101110000000000
+01111000001001001111110000000000
+01111000001011100111110000000000
+00011100000000100010001000000000
+00100000010000000001000100110100
+01111000001010101111110000000000
+00100000000000000000000000100000
+00011100001000100001011000000000
+01101111111000100000000010110000
+00011111111000100100001000000000
+01010011110000000111111000000000
+01111001001000000111111000111010
+00001000000000001000011001001000
+01010011111000000111111000000000
+00001000000000001000011001001000
+00011001011000100100001000000000
+00011010001000100100000000000000
+01111000001001000111110000000000
+00001000000000001000011000010000
+01111000010001000111110000000000
+00100000001000000000111001111100
+01111000010001110111110000000000
+00100000001000000000111111010010
+01000100101110100100000000001110
+00100000010000000000110111011101
+00100100001110100000111111001100
+01111000001001110111110000000000
+01111000001001001111110000000000
+01111000001011100111110000000000
+01101111111000001000001110001010
+00011111111000010000010111111000
+11011000110000000000001110001010
+00011000010000001000010000001000
+00011000010010010111001000000000
+11101111111000001000000000000110
+00001000000000001000011000001000
+11000010000000000000111111011001
+00100000001000000001000000001111
+01111000001011100111110000000000
+00100000001000000000111111101000
+01111000001011100111110000000000
+01111001001000000000000000010000
+00100000001000000000111111101000
+01111001001000000010101000000010
+01111000001011101111110000000000
+00100000001000000000111111101000
+01111001001000000010101000000010
+01111000001011101111110000000000
+01111001001000000000000000010000
+01000100101110101100000000001110
+01101111111000001000000001001100
+11000011000000101000111111111101
+00011000001001100111110000000011
+00100000001000010000111111111101
+01111000010001110111110000000000
+01111000010011100111110000000000
+01111000001011101111110000000000
+01111000010000111111110000000000
+01111001001000000010101000000001
+00101010101011111111111000000010
+00100000001000001000111111110111
+01011000000010101011111011101110
+00001000000000001000011000010100
+00100000001000000000111111111011
+01011000010111111010111010111010
+00001000000000001000011000011000
+01011000000000000000000000010010
+00001000000000001000011000000110
+01111000001000111111110000000000
+01111001001000000000000000010000
+01111000001001110111110000000000
+01111000001001001111110000000000
+11000101000000101001000000011101
+01101111111000001100000111100101
+00001000000000001000011000000011
+01101111111000010100000111100110
+10011000000000000111001000000000
+11000101000010000001000000000111
+00001000000000001000011000000101
+00100000001000000001000000001000
+00001000000000001000011000001101
+00011111001000100111111000000000
+00100000001110100001000000001111
+01101111111000010000000010111110
+10011000000000000000110000000000
+11101111111000001000000000000110
+00001000000000001000011000001000
+11000010000000000001000000001100
+01000100101110110100000000001110
+00100000010000000000110111011101
+00100000001110100001000000010100
+01101111111000100000001001101111
+00001000000000001000011000100000
+01111000001001000111110000000000
+00001000000000001000011000010000
+01111000010001000111110000000000
+00100000010000000000110011100100
+01101111111000001000000001001100
+11000011000000101000111001111100
+00011000000000000111111000000000
+00001000000000001000011000000110
+00100000001000000000111001111100
+01000100101110111100000000001110
+11000101000010000001000000100101
+01101111111000001000000011100100
+00001000000000001000011000000011
+01101111111000001000000010101110
+10011000000000000010011000000000
+00001000000000001000011000000101
+00100000001000000001000000101010
+01101111111000001000000011100100
+00001000000000001000011000000011
+01101111111000010000000010101110
+10011000000000000010011000000000
+00001000000000001000011000001101
+11011000110000000001000000000000
+00011010011000100111110000000000
+00100000001000101001000000110001
+11101111111000001000000000000110
+00001000000000001000011000001000
+00011010011000001010011111111111
+00100000001000000001000000101011
+01101111111000010000100111111100
+00011111111000001111111000000001
+01100111111000010000100111111100
+00100000001000000001000000001111
+01101111111000100000000010110100
+00011111111000001010001000000111
+01101111111000010000000011000000
+00100100001110100001000000111011
+00011010001000001010001111111101
+00100000001000000001000001000011
+00011111111011111111111000001100
+01101000010110010000000001000000
+00011000010000001000010000000001
+10011000010001100111111000000000
+00100100001000010001000001000010
+00011010001000001010001111111111
+00100000001000000001000000111110
+00011111111001100111111000000000
+00110111110100011000001000000000
+00101100010000000000011000000000
+00100100001000001001000001000011
+10011000000000000101001000000000
+00011010001000100101000000000000
+10011000000000000101001000000000
+00100000011000000000000000000000
+01000100101111000100000000001111
+00110111110100010000001000000000
+00011011010000100111111000000000
+10011000000000000000110000000000
+00011111111100010111111000000000
+10011100010001100111001000000000
+00011111001000010111001000000011
+00100100001000101001000001010100
+00011000000000000111111000000000
+00100000001000000001000001011000
+01101000010010010000000101100011
+00011000000000000111111000000000
+10011000010000001111111000000000
+11000010000000000001000001010110
+10011000110000001111111000000000
+00011111111001101111110000001100
+00100000010000000111111001100001
+01100111111000010000000011000000
+00100000011000000000000000000000
+01000100101111001100000000001111
+00011011010000100111111000000000
+00011011001000100000010000000000
+10011000010001100111110000000000
+01111101001000010111111000101100
+10011000010001100000010000000000
+01101111111000010000000101100011
+00101000010011000000000000001111
+00100000001000001001000001101011
+00011000010000100110000000000000
+11011000010000010000000000000000
+01101111111000010000000101100011
+10011000010001100111111000000000
+10011110000000001000010000000000
+01100000010010110000001010001111
+00100000011110110000000000000000
+01100000010010110000000000111000
+00100000011000000000000000000000
+01111000010110000111110000000000
+01101111111000110000001010001111
+00100000001110110001000001110011
+01101111111000110000000000111000
+10011011001000001110000000000000
+00011110000000001110000000001010
+01101111111000010000000101100011
+10011110000001100111111000000000
+00101111111011000000000000001111
+00100000001000001001000001111111
+01011000000000010000000000000000
+01101011000000010000000101100011
+10011011000001100111111000000000
+10011110000000001110000000000000
+00011110000000100011010000000000
+00100000011000000000000000000000
+00011000000000000111110000000000
+00100000001000000001000001111101
+00100000001110110001000010101001
+01011000010000000010110000010111
+01100111111000011000100111101110
+00011001001100010111111000000000
+00011111111010010000010000000000
+11011111001000000000000000110000
+01011000000000000000000000000000
+01100111111000011000100111110001
+00011000010000110111111000000000
+10011000010000101111111000000000
+00011111111000010111111000000011
+11000011000000001001000010001110
+00011111111000001111111111111111
+11011000101000000000100111110001
+10011000101000001000101000000000
+11101111111000001000000000000101
+00011111111000001111111000000001
+11100111111000001000000000000101
+00011000010000110000010000000000
+11000010000000000001000010001001
+11011010001000000000100111110011
+11011010010000000000100111101110
+11011010011000000000000000000000
+11011111001000000000000000000011
+11101111111000001000000000010001
+11101000010000001000000000010010
+10011000010011111111111000000000
+10011010011000001010011000000000
+00011010001000001010001111111111
+00011010010000001010010000000001
+11000010000000000001000010011001
+01101111111000001000100111101111
+00011111111011010111111000000000
+00011111111100100111111000000000
+10011010011001101111110000000000
+00100000010000000111111001100100
+00011000000001111111111000000000
+01100111111100010000100100111000
+01100111111000010000100111110100
+00100000011000000000000000000000
+01101111111000010000100111110100
+01100111111100010000100100111000
+00100000011000000000000000000000
+01011000010000000010110100011001
+01100111111000011000100111101110
+00011001001011110111111000000000
+00011111111010010000010000000000
+11011111001000000000000000100000
+00100000001000000001000010000111
+01000100101111010100000000001111
+00100000010000000001000101011101
+00011100001000100111111000000000
+00011111111000010111111110000000
+00101100100000000000111000000011
+00100100001000001001000010111011
+00011111111010010111111000000000
+10011010111000001111111000000000
+00100000001000000001000010111100
+00011010111000100111111000000000
+00011111111001101111110001001111
+01111000001010101111110000000000
+00100000010000000111111001100100
+00011000000001110010001000000000
+00011010001000001000010111011000
+00100000001000010001000011000100
+00011010001000111000010000000000
+00100000001000000001000011000110
+00011000010000111000010000000000
+00011000010000001000010000000001
+01000100101111011100000000001111
+01101111111000001000000000110001
+11000011000000011001000011010111
+01101111111000100100000011011001
+10011100001001100111110000000000
+00100000001000010001000011010111
+00100000010000000001000011110110
+01101111111000001100000011100000
+00100000011110100000000000000000
+01101111111000001000000000110001
+01111001001000000111111000000010
+01100111111000001000000000110001
+01101111111000101100000011101110
+01100111111000101100000011100001
+11101111111000101000000000000110
+01100111111000101100000011100110
+00100000010000000001000011111011
+01101111111000001000000000110001
+11000100000000010000000000000000
+00101100001011111111111000000001
+00100000001000001001000011110011
+00011000010010010010001000000000
+00011000010000010000111000000111
+01011000000000000100000011100001
+10011010001000001010001000000000
+11101111111000001000000000010001
+10101111111011000000000000000000
+00100000001000001001000011100100
+00011000010000100111111000000000
+00100000001000000001000011110000
+01101111111000001100000011101011
+10011000000000000010010000000000
+00011100001000100111111000000000
+00011111111000010111111110000000
+00011111111010010111111000000000
+10011010111000001111111000000000
+10011010010001101111110000000000
+01011000000000000100000011111001
+00100000010000000111111001100100
+00011000000001110010001000000000
+10011010001000001000110000000000
+11101111111000001000000000000110
+01100111111000001100000011101100
+10011000000000000000010000000000
+00100000011000000000000000000000
+01101111111000001100000011101100
+10011000000000000000010000000000
+00100000011000000000000000000000
+01101111111000001000000000110001
+01111001001111111111111000000010
+01111001001111111111111000000011
+01100111111000001000000000110001
+00100000011000000000000000000000
+01000100101111100100000000001111
+11011000101000000100000011111001
+00011000000000000111001000001010
+00100000010000000111110110001100
+11011000101000000100000011111001
+00011000000000000010011000000000
+00011000000000000000111000000010
+01101111111000101100000011100001
+10011000000000000000010000000000
+00101000111000011111111000000010
+00100000001000001001000100000111
+00011000010000110000010000000000
+00101000010011000000000000000000
+00100000001000001001000100001011
+00011010011000100111111000000000
+11100111111000001000000000000101
+00011000010010110000010000000000
+00011010011000001010011000000010
+00101010011000011111110000101000
+00100100001000001001000100010100
+01101111111000101100000011100110
+10011000000000000000010000000000
+00101000111000011111111000000010
+00100000001000001001000100010100
+00011000010000110000010000000000
+00011010011001100111110001001110
+00100000001000010001000100000111
+00011000000000000010011000000001
+00011000111000001000111111111111
+00100100001000101001000100000010
+11011010001000000100000011111001
+00011000101000100111111000000000
+10011010001001100111111000000000
+01100111111000001100000011101011
+00100000011000000000000000000000
+01000100101111101100000000001111
+00100000010000000001000010110010
+01101111111000001000000011100011
+11000011000000101001000100100011
+01101000010010001000001110100000
+00100000001000000001000110001011
+01000100101111110100000000001111
+00100000010000000001000010110010
+01101111111000001000000011100011
+11000011000000100001000100101001
+01101000010010001000001110011111
+00100000001000000001001000000001
+00011000000000000101101000000000
+01101111111000011100000010101111
+10011000000000000101100000000000
+00100000011000000000000000000000
+01000100101111111100000000001111
+01101111111000001100000111100000
+00011111111000100101101000000000
+01101111111000011100000111011101
+00011111111000100101100000000000
+00100000011000000000000000000000
+01000100110000000100000000010000
+01101111111000010100000010101100
+00011111111000100101110000000000
+01101111111000001100000010101011
+00011111111000100101101000000000
+01101111111000011100000010101000
+00011111111000100101100000000000
+00100000011000000000000000000000
+01000100110000001100000000010000
+01101111111000010000000001000100
+00011111111000100101110000000000
+01101111111000001000000001000011
+00011111111000100101101000000000
+01101111111000011000000001000000
+00011111111000100101100000000000
+00100000011000000000000000000000
+11000101000100000001000101000111
+11000110100011101000000000000000
+11000110100011111000000000000000
+00011101100000010101100100000000
+01111000001010101111110000000000
+00100000000000000000000000100000
+00100000011000000000000000000000
+01000100110000010100000000010000
+00100000010000000100110100001011
+00011000000000000010101000001000
+00011000000000000010101000000000
+01111000010100001111110000000000
+01111000010100000111110000000000
+01111000001011110111110000000000
+01110000100010010000000000000101
+00100000000000000000000000000010
+01110000100010010000000000000000
+00100000010000000001000101011101
+01110000100010100001011000000000
+01110000100010100000101000010000
+01101111111100001000101000001001
+01111001001111111111111000000111
+01100111111100001000101000001001
+01110000100010100000101100000000
+00100000001000000001001010011110
+01000100110000011100000000010000
+01110000100010010000000000000101
+00100000000000000000000000000010
+01110000100010010000000000000000
+01101111111000001100000011000101
+11000000000011000001000101100100
+11000000000001000001000101111001
+01110000100010100001000010101010
+01110000100010100001000110101010
+01110000100010100001001000010101
+01110000100010100000101001111000
+01101111111100001000101000001001
+01111001001000000111111000000111
+01100111111100001000101000001001
+01110000100010100000101100000100
+00100000000000000000000000111100
+01110000100010100001011001111010
+01110000100010100001011100000000
+01110000100010100001100000000000
+01110000100010100001100100000000
+01110000100010100001101000000000
+01110000100010100001000100101010
+01110000100010100000101001111000
+01101111111100001000101000001001
+01111001001111111111111000000111
+01100111111100001000101000001001
+01110000100010100100001100000000
+00100000011000000000000000000000
+01110000100010101000101111100110
+01110000100010100001000010101010
+01110000100010100001000110101010
+01110000100010100001001000010101
+01110000100010100000101001111000
+01101111111100001000101000001001
+01111001001000000111111000000111
+01100111111100001000101000001001
+01110000100010100000101100000100
+00100000000000000000000000111100
+01110000100010100001011000111010
+01110000100010100001011100000000
+01110000100010100001100000000000
+01110000100010100001100100000000
+01110000100010100001101000000000
+01110000100010100001000100101010
+01110000100010100000101000111000
+00100000001000000001000101110100
+01000100110000100100000000010000
+01101111111000001100000011000101
+00011111111001100111110000011000
+00100000010000101001000110010110
+00100100010000101001000110011100
+01100000010010001000000000010111
+00011000010000001111111000000000
+11000101000101101001000110010100
+00011000010000001111111000000001
+00100000010000000001000111000001
+00100000001000000001000010000001
+01110000100010100100001100000000
+01110000100010100011110100000100
+01110000100010100011111000000000
+01110000100010101000010000000011
+01110000100010101000100101000000
+00100000011000000000000000000000
+01110000100010100100001100110000
+01110000100010100011110100000110
+01110000100010100011111000000000
+01110000100010101000010000100000
+01110000100010101000100100010101
+00100000011000000000000000000000
+01000100110000101100000000010000
+00100000010000000100110100000101
+01101111111000001100000111101010
+11000000011111111001000110101011
+11011000110000000100000111101011
+10011000110000001000110000000000
+11101111111000001000000000000110
+01100111111100001000100101100001
+01110000100010010110000000100111
+01101000010010001100000111101110
+01101111111100001000100101100000
+10011000010000011111111000000000
+01100111111100001000100101100000
+01110000100010100001000010101010
+01110000100010100001000100101010
+01110000100010100001001000010011
+01110000100010100000101001111111
+01101111111100001000101000001001
+01111001001111111111111000000111
+01100111111100001000101000001001
+00100000000000000000000000111100
+01110000100010100001011100011111
+01110000100010100001100011111000
+01110000100010100001100100011000
+01110000100010100001000000000000
+01110000100010100001000100100000
+00100000000000000000000000001010
+01110000100010010000000000000100
+00100000000000000000000000000010
+01110000100010010000000000001100
+00100000011000000000000000000000
+01000100110000110100000000010000
+11011000110000000000100101100000
+10011000110000001111111000000000
+01101000010010001100000011000101
+00100000001000000001000111010000
+01000100110000111100000000010000
+01101111111000001100000011000101
+00011111111001100111110000011000
+00100000010000101001000111110011
+00100100010000101001000111111010
+01011000000000000000100101100000
+10011010001000001111111000000000
+00011111111000111111111000000000
+01101000010010001100000011000101
+00011000010011111000010000000011
+00011000010000111000010000000000
+10011000010001101111110000000000
+00100000010000000111111001100100
+00011000000001111111111000000000
+01100111111100001000101000111111
+00011000000001110111111000000000
+00011111111100000111111000000000
+00011111111011010111111000000000
+10011000010001101111110000000000
+00100000010000000111111001100100
+00011000000001111111111000000000
+01100111111100001000101001000010
+00011111111011001111111000000000
+01100111111100001000101001000001
+00011111111011001111111000000000
+01100111111100001000101001000000
+01101000010110001000101001000011
+00011000010000010000010011110000
+01100000010110001000101001000011
+00100000000000000000000000001100
+01101111111000001100000011000101
+11000000000011000001000111100111
+11000000000001000001000111101101
+00011000010000011000010000001100
+01100000010110001000101001000011
+00100000000000000000000000001100
+00011000010000011000010000000011
+01100000010110001000101001000011
+00100000011000000000000000000000
+00011000010000011000010000111100
+01100000010110001000101001000011
+00100000000000000000000000001100
+00011000010000011000010000110011
+01100000010110001000101001000011
+00100000011000000000000000000000
+01110000100010100100001100000000
+01110000100010100011110100010010
+01110000100010100011111000000000
+01110000100010101000010000000011
+01110000100010101000101110100110
+01110000100010101000100101000000
+00100000011000000000000000000000
+01110000100010100100001100110000
+01110000100010100011110100010101
+01110000100010100011111000000000
+01110000100010101000010000100000
+01110000100010101000101110100110
+01110000100010101000100100010101
+00100000011000000000000000000000
+01000100110001000100000000010001
+01110000100010100011110100010010
+01100000010010001000000000010111
+00011000010000001010001000000010
+00100000010000000001000111000110
+00100000000000000000001111000000
+01000100110001001100000000010001
+01110000100010100001000010101010
+01110000100010100001000100101010
+01110000100010100001001000010000
+01110000100010100000101001111111
+01101111111100001000101000001001
+01111001001111111111111000000111
+01100111111100001000101000001001
+01110000100010100000101100000111
+00100000000000000000000000111100
+01110000100010100001100100001101
+01110000100010100001101011111001
+01110000100010100001000000000000
+01110000100010100001000100100000
+00100000000000000000000000001010
+01110000100010010000000000000001
+00100000000000000000000000000010
+01110000100010010000000000000011
+01000100110001010100000000010001
+01101111111000001100000111101000
+11000000000000011001001000101001
+11000000000000101001001000101110
+11000000000000110001001000110001
+11000000000000111001001000110100
+11000000000001010001001000110111
+11000000010000011001001000111010
+11000000010000101001001000111101
+11000000010010100001001001000000
+11000000010011110001001001000011
+01110000100010100011100101101010
+01110000100010100011101000000111
+01110000100010100001010010100011
+01110000100010100001010100000111
+00100000011000000000000000000000
+01110000100010100011100101100110
+01110000100010100011101000001011
+01110000100010100001010010101010
+01110000100010100001010100001010
+00100000011000000000000000000000
+01110000100010100011100101101100
+01110000100010100011101000001101
+00100000001000000001001000101011
+01110000100010100011100101101011
+01110000100010100011101000001111
+00100000001000000001001000101011
+01110000100010100011100110100111
+01110000100010100011101000001111
+00100000001000000001001000101011
+01110000100010100011100110110110
+01110000100010100011101000001111
+00100000001000000001001000101011
+01110000100010100011100101101000
+01110000100010100011101000000101
+00100000001000000001001000100110
+01110000100010100011100101100000
+01110000100010100011101000000101
+00100000001000000001001000100110
+01110000100010100011100101010011
+01110000100010100011101000000001
+00100000001000000001001000100110
+01110000100010100011100101001100
+01110000100010100011101000000000
+00100000001000000001001000100110
+01110000100000000100001000000110
+01101111111000010100000011001010
+11000011000001110001001001000111
+10011000000000000000110000000000
+11011000010000001000101000000000
+11101111111000001000000000000110
+11000000011111111001001001010001
+10011000010000011000101000000000
+11101111111000001000000000000110
+11100111111000001000000000000101
+00100000001000000001001001001011
+01000100110001011100000000010001
+01110000100010100000001100000101
+01110000100010100111101010010100
+00100000010000000001001001111001
+00100000010000000001001001110011
+00100000010000000001001001101100
+01110000100010101000101111100110
+01110000100010101000001110010000
+01110000100010100000111000001011
+01110000100010100000111100000101
+01110000100010010110100001110110
+01110000100010010110100101110110
+01101111111000001100000011000101
+11000000100001000001001001100000
+01110000100010100000100000110100
+01110000100010100000000111111111
+00100000000000000000000001100100
+01110000100010100000001000001110
+01110000100010100000000000000011
+00100000010000000001001000100100
+01110000100010101001101000101011
+01110000100010101001101100010011
+00100000010000000001001011010011
+00100000000000000000000000001010
+01110000100000000100001000000101
+01110000010000011111000000001100
+00100000001000000001011001011110
+01101111111000001100010011010011
+00100000001110100001001001110001
+00011111111000011111111000100000
+01100111111100001000101010000111
+00100000011000000000000000000000
+01110000100010101000011100101001
+00100000011000000000000000000000
+01101111111000001100010011010100
+00100000001110100001001001110111
+01100111111100001000101000001101
+00100000011000000000000000000000
+01110000100010100000110100000000
+00100000011000000000000000000000
+01101111111000001100010011010101
+00100000001110100001001001111101
+01100111111100001000101001101100
+00100000011000000000000000000000
+01110000100010100110110011010011
+00100000011000000000000000000000
+01000100110001100100000000010001
+01110000000000010101010000100000
+01101111111100001000100110100000
+01100111111000001100000111101001
+00011111111001100111110011111100
+00100100011000010000000000000000
+00011111111001100111110001111111
+00100000011000010000000000000000
+01101111111100001000100110100011
+00011111111000010000010000001111
+00011000010000111000010000000000
+00011111111100011111111000000000
+10011000010000001000010000000000
+00011000010011111000010000000011
+01101111111000001100000111101001
+00011111111001100111111011111111
+10011000010000001111111000000000
+00011111111000001111111111111011
+01100111111000001000000101010100
+00100000011000000000000000000000
+01101111111000001000000101010100
+00100000010000000001001010010111
+01100111111000001000000000011000
+00100000011000000000000000000000
+00011111111000010111111011111111
+00011111111001101111110000001010
+00100000010000000111111001100001
+00011111111100100111111000000000
+00011000000001110000010000000000
+10011000010000011111111000000000
+00100000011000000000000000000000
+01101111111000001100000111101010
+11000001011111111000000000000000
+00100100001011000001001011000100
+01101111111000001100000111101001
+00011111111001100111110011110000
+00100100001000010001001011001000
+00011111111001100111110001111111
+00100000001000010001001011001000
+01101010001100001000100101100001
+01101111111000001100000111101010
+11000001000000000000000000000000
+11011000110000000100000111101011
+10011000110000001000110000000000
+11101111111000001000000000000110
+10011010001001100111110000000000
+00100100011000101000000000000000
+00011000110000001000110111111110
+11101000010000001000000000000110
+00011000010100011111111000000000
+00011010001100011010010000000000
+10011010010001100010010000000000
+00011000010000010111111000001111
+00011010001000010010001000001111
+10011010001001100010001000000000
+00011010001000111111111000000000
+10011010010000001010010000000000
+00011010010011111010010000000011
+01101000010010001100000111101001
+00011000010000010111111010000000
+00100000011110100000000000000000
+01011000000000000000000100000000
+10011000010001100000010000000000
+00011010010000100111111000000000
+10011000010001100111111000000000
+00100000011000010000000000000000
+00011111111000010111111011111111
+11000001011111111000000000000000
+11000001011111110000000000000000
+01101111111000001100000111101010
+11000000000000001001001011001101
+11000000000000010001001011001111
+00100000001000000001001011001101
+01101111111000001100000111101010
+11000000000000000001001011001111
+11000000000000001001001011001011
+01110000010000011110101000000010
+00100000011000000000000000000000
+01110000010000011110101000000000
+00100000011000000000000000000000
+01110000010000011110101000000001
+00100000011000000000000000000000
+01011000000000000000111100001111
+00100000001000000001010101000011
+01011000000000000000100000001111
+00100000001000000001010101000011
+01000100110001101100000000010001
+01111000010100000111110000000000
+01111000001100001111110000000000
+01111000001010110111110000000000
+00100000001000000001000110100010
+01000100110001110100000000010001
+00100000010000000000110111011101
+00100100001110100001001011101010
+01101111111000001000000001001100
+00101111111011111111111000000010
+01111001001000001111111000000000
+01100111111100001000000000010001
+11011000110000000000000001100010
+11101111111001001000000000000110
+10011000000000000110010000000000
+11101111111000111000000000000110
+10011000000000000110011000000000
+01101111111000001000000001010100
+00011111111000001110100111111111
+01111000001011010111110000000000
+00100000011000000000000000000000
+01110000100000000001000100000000
+00100000011000000000000000000000
+00011011010000100111111000000000
+01100111111000110000000010010111
+01111000010001101111110000000000
+00100100001011000001000101001011
+01101111111000010000000101011011
+00011111111000100101001000000000
+00011101000000001101000000000001
+00011101000000010101000111111100
+00100000011000000000000000000000
+01111000001001101111110000000000
+00110111110010111000010000000000
+00100000001011000001001011101100
+00101101000000000000010000000010
+00100100001000001001001011110110
+00100000001000000001001011101100
+01000100110001111100000000010001
+01101001011000010000000101011001
+01111000001001101111110000000000
+00110100011100110000010000000000
+01111000010001101111110000000000
+00100100001011000001000101001011
+00100000011000000000000000000000
+01000100110010000100000000010010
+01111000001001101111110000000000
+00110111110000011000010000000000
+01111000010001101111110000000000
+00100100001011000001000101001011
+01101111111000010000000101011011
+00011111111000100101001000000000
+00011101000000010101000111111100
+00100000011000000000000000000000
+01000100110010001100000000010010
+10011000000000000010001000000000
+00011100001000100111111000000000
+10011000010000001001011000000000
+00011001011000100111111000000000
+01100111111000100100000011010001
+00011010001000100111111000000000
+00100000011000000000000000000000
+00011111111000100000010000000000
+01000100110010010100000000010010
+00011000010000100111111000000000
+00100000010000000111111000100110
+00011100001100000111111000000000
+01111001001000000111111000101100
+00100000010000000111111000001100
+01111001001111111111111000101100
+00100000010000000001001101100111
+00100000010000000111111000001100
+00100000011101000000000000000000
+00100000010000000111111000011001
+10011000000000000011011000000000
+00110111110000011000001000000000
+00100000011000000000000000000000
+01000100110010011100000000010010
+00100000001110000001001100100111
+00110101001100110000001000000000
+00011101000000100000010000000000
+00100000001000000001001100101010
+00100000001101110001001100101001
+00110100011100110000001000000000
+00011100010000100000010000000000
+00100000001101000001001100110110
+00101000010000000000011000000001
+00100100001000001001001100100010
+01000100110010100100000000010010
+01101111111000001000000000110000
+11000100000000000000000000000000
+01101111111000100100000011010001
+10011000010001100111111000000000
+00100100011000010000000000000000
+00011111111001100111110011111111
+00100000001000010001001100100010
+00100000011000000000000000000000
+00101000010000000000011000000011
+00100100001000001001001100100010
+00100000001000000001001100101101
+01000100110010101100000000010010
+01101001011000010000000101010111
+00100000001000000001001100100010
+01111000010101000111110000000000
+00100000001000000001001100111001
+01111000001101000111110000000000
+00100000001000000001001100111001
+01000100110010110100000000010010
+00100000010000000001001011011010
+01111000010100001111110000000000
+01111000001100000111110000000000
+00100000011000000000000000000000
+01000100110010111100000000010010
+01101001011000010000000101010101
+00110100011100110000001000000000
+01111000001010110111110000000000
+00100000011000000000000000000000
+01000100110011000100000000010011
+01101001011000010000000101011111
+00110100011100110000001000000000
+00100000011000000000000000000000
+01000100110011001100000000010011
+01101001011000010000000101010101
+00110101001100110000001000000000
+01111000001010110111110000000000
+00100000011000000000000000000000
+01000100110011010100000000010011
+00100000010000000100110100010011
+01010001001000000111111000000000
+01111000001011101111110000000000
+01111001001000000010101000000000
+00001000000000001000011001001000
+01111000010011101111110000000000
+00100000011000000000000000000000
+00011100101000100000010000000000
+00011000010000011000010001100000
+00011000010000100001110000000000
+00100000011000000000000000000000
+01000100110011011100000000010011
+01101111111000001100000010011000
+00011111111000001111111000000001
+11000000100000111001001101100100
+00011000000000000111111000000001
+01100111111000001100000010011000
+10011000000000000000100000000000
+00100000011000000000000000000000
+00011011001000100000010000000000
+00100000011101001000000000000000
+00011011010000100000010000000000
+00100000011000000000000000000000
+00011100010000100111111000000000
+00100000011101001000000000000000
+00011101000000100111111000000000
+00100000011000000000000000000000
+01000100110011100100000000010011
+01101000010010100000000001001101
+00100000010000000001001101101011
+10011000010001100001011000000000
+00011001011000100111111000000000
+01101000010010010000000001010001
+00011000010000111000010000000000
+10011000010001100111111000000000
+00100000011000000000000000000000
+01000100110011101100000000010011
+00100000010000000001001101101011
+01100111111000100000000001001101
+00100000011000000000000000000000
+01000100110011110100000000010011
+00100000001000000001001101111100
+00100000001000000001001101111110
+00100000011110100000000000000000
+00011111111000110111111000000000
+00011111111000001111111111111101
+00011111111000001111111111111111
+00100100001000101001001110000010
+00011000000000000111111000000000
+00100000011000000000000000000000
+11011111001000000000000000010000
+11011000101000000000000000000000
+00100000010000000111110110001100
+11011000101000000000001010000111
+11011111001000000000000000001010
+00100000010000000111110110001100
+01110000000010000111010000000000
+01110000000010010101101100000000
+01110000000000101101111100000000
+01110000000000001110001100000000
+01110000000000111010010100000000
+01110000000000001011110000000000
+01110000000010100101000100000000
+01110000000010100101110000000000
+01011000100111101000101100110011
+01100111111000011100000010101111
+01110000000000001000110101100000
+01110000010000001101011100000101
+01110000000000000001010000000010
+01011000000000000000111001000011
+01100111111000010000000101010101
+01011000000000000000011000000000
+01100111111000010000000101010111
+01011000000000000000011000000000
+01100111111000010000000101011001
+01011000000000000000110100000000
+01100111111000010000000101011111
+01011000000000000000001110111011
+01100111111000010000000101011011
+01011000000000000000010100000000
+01100111111000010000000101011101
+01011000000000000000011111010000
+01100111111000010000000101100001
+01011000000000000000111010100110
+01100111111000010000000101100011
+01011000000000000000000111100000
+01100111111000010000000101100101
+01011000000000000000000100100000
+01100111111000010000000101100111
+01011000000000000000000100011010
+01100111111000010000000101101001
+01011000000000000001010000000000
+01100111111000010100001111011110
+01011000000000000000000100000000
+01100111111000010100001111100000
+00100000010000000110111001100110
+01011000000000000000100010000000
+11011000101000000000100001110000
+10011000101001100111001000000000
+00100000010000000111110110011011
+01000100110011111100000000010011
+00100000011101011000000000000000
+01110000010001011111101000001001
+01011000000000000000010100001110
+01100111111000010100010111111011
+01011000000000000000000000001000
+01100111111000010100010111111101
+01110000010001001101000101111111
+01011000000000000000000000100100
+01100111111000010100000010110101
+01100111111000010100000010111001
+01011000000000000000001000000000
+01100111111000010100000010110111
+01100111111000010100000010111011
+01011000000000000000000000100000
+01100111111000010100000011000011
+01100111111000010100000010111111
+01011000000000000010000000000000
+01100111111000010100000011000001
+01011000000000000000010010000000
+01100111111000010100000011000110
+01011000000000000000110000000000
+01100111111000010100000011001000
+01011000000000000000110000111111
+01100111111000010100000101111110
+01011000000000000000001100110011
+11100111111000010000000000000101
+01011000001001000001000010011101
+01100111111000011100000110000011
+00100000010000000111111101010010
+01011000000000000000000000000000
+01100111111000010100000111100110
+00011100010000110111111000000000
+01100111111000100100000010011100
+00100000011000000000000000000000
+01110000100000000100001000000110
+01110000100000000100001000000001
+00100000000000000000000000001010
+01011000000000000001110101001010
+01100111111100010000000001000000
+00100000011000000000000000000000
+01011000000000001110111000100001
+01100111111100010000000001010000
+01101111111100100000000100011100
+01100111111000100000100110001010
+01101111111100001000000100111011
+01100111111000001000100110001001
+01101111111100001000000100111110
+11000011000000011101101111110101
+01111000001101011111110000000000
+11000011000000111001001111110010
+01111000010101011111110000000000
+00011100111000100111111000000000
+00100100001110100001001111110010
+01101111111100001000000100111011
+11000010100000010001001111110010
+11011000010111111111111111111111
+00100000001000000001010001111111
+01101111111100100000000100110100
+01100111111100100000000001001100
+01101111111100001000000100110101
+00011111111000010111111011100000
+01100111111100001000000001001101
+00100000010000000001010101011011
+01101111111100011000000100111100
+01100111111100011000000001001100
+11101111111000001000000000000110
+00011111111000011111111011101111
+11100111111000001000000000000101
+00100000010000000001010101001110
+01101111111100001000000001001111
+01111001001000000111111000000100
+01100111111100001000000001001111
+00100000010000000001010101001110
+00100000010101011001010000100100
+01101111111100001000000001001110
+01111001001111111111111000000011
+01100111111100001000000001001110
+00100000010000000001010101001110
+00100100001101011101101111110101
+00100000010000000001010000001100
+11000110100101011000000000000000
+01110000100000000000011000001000
+00100000011000000000000000000000
+01101111111000011100010011001110
+00100000011110100000000000000000
+01100111111000011000101000000001
+00100000001000000101110011101011
+01101111111000001100010011010010
+11000000000000001001010000011000
+11000000000000010001010000011100
+11000000000000011001010000100000
+01101111111000001100000110000011
+00011111111000010111111011100000
+01100111111000001100000110000011
+00100000011000000000000000000000
+01101111111000001100000110000011
+00011111111000010111111011100000
+00011111111000011111111000011101
+00100000001000000001010000010110
+01101111111000001100000110000011
+00011111111000010111111011100000
+00011111111000011111111000011011
+00100000001000000001010000010110
+01101111111000001100000110000011
+00011111111000010111111011100000
+00011111111000011111111000010111
+00100000001000000001010000010110
+01101111111000001100000110100101
+01100111111100001000000010000110
+11011000110000000100000110000110
+11011000101000001000000001110000
+00100000010000000111110101110100
+01101111111001000100000110011101
+10011000000000000000000000000000
+01101111111101000000000101000000
+01100111111001000000000010011110
+00100000001000000101110010100011
+00011000000000100111111000000000
+01100111111001000100000110011101
+11011000110000001000000001110000
+11011000101000000100000110000110
+00100000010000000111110101110100
+01101111111100001000000010000110
+01100111111000001100000110100101
+00100000001000000001010101011101
+01101111111100001000000010000101
+00011111111100011111111000000000
+00100100001110100001010000111111
+01101111111000011100000101110100
+00100100011110100000000000000000
+01101111111100001000000010000101
+00011111111000011111111011000000
+01100111111100001000000010000101
+01110000100000000000011010000000
+01101111111100001000000100101101
+11000100000000001000000000000000
+01101111111100011000000101001001
+01100111111000011100000101110100
+00100000011000000000000000000000
+01000100110100000100000000010100
+00011011010000100111111000000000
+00100000010000000111111000001010
+01101000010010100100000101100100
+00011000010001100111110011111111
+00100000011000010000000000000000
+00011111111011010111111000000000
+00011111111100100111111000000000
+10011000010001101111110000000000
+00100000010000000111111001100001
+11011000010000000000000011001000
+00100000010000000111111001101111
+01100111111000001000000010010110
+00100100001101000001010001010011
+00011111111001100111111000000000
+01101000010010011100000101110100
+10011000010000001111111000000000
+01100111111000011100000101110100
+01011000000000000000000000000000
+01100111111000100100000101100100
+00100000011000000000000000000000
+11011000010111111111111111111111
+01101111111000001100000101111011
+01111001001111111111111000000111
+01100111111000001100000101111011
+01000100110100001100000000010100
+00100000010000000001010101011101
+01101111111000001100000101011100
+01100111111000001100000110000001
+01101111111000001100000101111111
+01111001001000000111111000000111
+01100111111000001100000101111111
+01000100110100010100000000010100
+00100000010000000001001011010001
+01101111111000010100010001111001
+00100000010000000111111001111010
+01101111111000100100000101100100
+10011000010000001111111000000000
+01100111111000100100000101100100
+00100000010000000001010000101110
+00100000010000000001010000010000
+01101111111000100100000110000010
+00011111111000100010010000000000
+01101111111000101100000101111101
+01100111111100100000000001001100
+00011111111011110010001000000000
+00110111110110011000001000000000
+00011011001000100111111000000000
+01100111111000110100000101101000
+01110000100000000000010100000010
+00110111110110011000001000000000
+00110111110110011000001000000000
+00011010001000100111111000000000
+01100111111100001000000001001111
+01110000100000000000010100000010
+00110111110110011000001000000000
+00110111110110011000001000000000
+01100010010100100000000001001100
+01110000100000000000010100100000
+00110111110110011000001000000000
+00110111110110011000001000000000
+01100000010110100000000001001100
+01110000100000000000010100010000
+00110111110111111000001000000000
+01000100110100011100000000010100
+01011000000000000000000000000000
+00011100111000100111110000000000
+00100000001000101001010010001111
+01101111111100001000000100111100
+01101000010110001000000100111101
+10011000010001100111110000000000
+00100000001000010001010010001101
+00011000010000100111111000000000
+10011100111001100111111000000000
+00011111111000001111111000000001
+00011111111000001111111000001010
+00110111110110011000001000000000
+10011110001000001111111000000000
+01101000010010100100000101100000
+10011000010000001111111000000000
+01101000010010011100000101110100
+10011000010011111111111000000000
+00011111111011001111111000000000
+00011111111100011111111000000000
+00011111111000001111111001101110
+01101000010010010000000101100011
+10011000010001101111110000000000
+00100000010000000111111001100001
+00011111111100000111111000000000
+00011000000001110000010000000000
+10011000010000011111111000000000
+01101000010010110100000101101000
+00100000010000000111110111111111
+00011000010000100011001000000000
+01101111111000110100000001001000
+00100000010000000001000001110011
+00011011010000100111111000000000
+01100111111000110000100101011100
+00011100111000100111111000000000
+11100111111000001000000000000101
+01101111111100001000000100011101
+00011111111000011111111011110000
+11100111111000001000000000000101
+00100000011000000000000000000000
+01000100110100100100000000010100
+00100000010000000001010000110110
+01101111111000011100000101110100
+00100000011110100000000000000000
+01101111111000001100000010011001
+00100000011110100000000000000000
+01101111111000001100011101100111
+00100000001110100001010010110110
+01101111111000001100011010111100
+00100000011110100000000000000000
+01101111111000001100011010111101
+00100100011110100000000000000000
+11011010011000000000101010110111
+00100000010000000000101001101110
+00100000011000101000000000000000
+00100000010000000001010101101110
+00100100011110100000000000000000
+01101111111000001100000001000000
+00101111111000000000111000000011
+00100100001000001001010011100010
+01101111111000010100000001000010
+00100000011110100000000000000000
+00100000011101011000000000000000
+01000100110100101100000000010100
+01101000010010001000000010011101
+01101111111000010100000001000010
+10011000010011111111111000000000
+00011000010100011000010000000000
+00011000010010110000010000000000
+10011000010001100111111000000000
+01101000010010100100000001000100
+10011000010000001111111000000000
+01101000010010001100000101011011
+10011000010001100111111000000000
+00011111111100000110000000000000
+01000100110100110100000000010100
+01101111111000010100000001001110
+00011111111000110111111000000000
+00100000010000000111111000100110
+00011110000000100111111000000000
+00100000010000000111111000001100
+00011011010000100000010000000000
+00100000010000000111111000001010
+00100000011101000000000000000000
+00100000010000000111111000011111
+01000100110100111100000000010100
+01101111111000001100000101111101
+10011000010001100111110000000000
+00100000001000010001010001010110
+01100000010010100100000101100000
+00100000010000000011000110110110
+00100000010000000101001110101100
+01101000010010100100000101100000
+00100000001000000001010001100100
+01000100110101000100000000010101
+01101111111000001100000001000000
+11000011100000000000000000000000
+11000011100000011000000000000000
+01101111111000001100011101100111
+00100000001110100001010011101010
+01101111111000001100011010111100
+00100000011110100000000000000000
+01101111111000001100010000100111
+00100100001110100001010011101110
+01101111111000001100000010011011
+00100000011110100000000000000000
+01101111111000010100000101011001
+00100000011110100000000000000000
+01101000010010001100000101011011
+10011000010001100111111000000000
+11011000010000000001110101001100
+10011000010011111111111000000000
+00100000001000000001010011011000
+01000100110101001100000000010101
+01111000010101011111110000000000
+01101111111000001000000000110000
+11000100000000001000000000000000
+00100100001101101001010100010111
+00100000010000000001010100010010
+01101111111000010100000011001000
+01100111111000010000000000111110
+01101111111000001000000001000111
+11000010100000011001010100100101
+11000101100001101001010100100101
+00100000010000000101001101010101
+00100100001110100001010100100101
+01101111111000001100011001000110
+11000010100000001001010100100101
+01101111111000010100010001110001
+00100000010000000111111001111010
+00100100001110100001010100100101
+01110000000000001001110100000000
+11000101100001101001010100100101
+01101111111000001100000101111001
+00100000001110100001010100101001
+00011111111000001111111111111111
+01100111111000001100000101111001
+00100000011000000000000000000000
+11011000111000000000000000000001
+00100000001000000101100001000010
+11011000111000000000000000000001
+00100000001000000101100001000110
+01110000010000010101111000000000
+01101111111000011100000101101110
+00011111111000001111111000000001
+01100111111000011100000101101110
+00100000011000000000000000000000
+01000100110101010100000000010101
+01101000010010010100000011001000
+00011000010000110000010000000000
+01101111111000010000000000111110
+10011000010000001111111000000000
+01100111111000010000000000111110
+01110000000000001001110100000000
+01101111111000011100000101110001
+00011111111000001111111000000001
+01100111111000011100000101110001
+01101111111000001100000101011110
+00011111111000001111111000000001
+01100111111000001100000101011110
+00100000011000000000000000000000
+01110000000000001001110100000000
+01101111111000001100000101111000
+01100111111000001100000101111001
+00100000011000000000000000000000
+01101000010010001100000101110111
+01100000010010001000000010011101
+00100000011000000000000000000000
+01101111111000001100000101111101
+00100100011110100000000000000000
+01110000100000000100001000000110
+01011000000000000000111100001100
+00100000010000000001010101000011
+01011000000000110000110101000000
+00100000010000000001001101111111
+00110111110110011000001000000000
+00011110001000100110000000000000
+00100000010000000001001011010001
+01110000100000000100001000000100
+00100000000000000000000000001010
+00110111110110011000001000000000
+00011110001000100111111000000000
+10011110000001100111111000000000
+00011111111000001111111000110000
+11011000010000000000000011111111
+00100000010000000111111001101111
+01100111111000001100000101111101
+00100000000000000111010100110000
+00100000000000000111010100110000
+00100000000000000111010100110000
+00100000011000000000000000000000
+11011000101000000000111111111111
+10011000101000010000101000000000
+01101111111000001100000101111010
+00011111111000010111111011110000
+00011111111011010111111000000000
+10011000101000011111111000000000
+01100111111100010000000001001100
+11101111111000010000000000000110
+11100111111000010000000000000101
+01011000000000000000000000000001
+00100000001000000001010101001111
+01011000000000000000000000000010
+00110111110110011000001000000000
+01100111111100001000000000000101
+00110111110110011000001000000000
+00110111110110011000001000000000
+00100000011000000000000000000000
+01101111111100100000000100110100
+01100111111100100000000001001100
+01101111111100001000000100110100
+00011111111000010111111001000001
+01101000010010001100000110000010
+10011000010000011111111000000000
+01100111111100001000000001001100
+01011000000000000000000000100000
+00100000001000000001010101001111
+01000100110101011100000000010101
+01101111111000100000000010011110
+01100111111100100000000001001100
+01011000000000000000000000000100
+00100000010000000001010101001111
+01101111111000100000000010100010
+01100111111100100000000001001100
+01011000000000000000000000001000
+00100000001000000001010101001111
+01101111111000010100000101010111
+11111001001000000111111000000000
+01100111111000010100000101010111
+00100000011000000000000000000000
+01101111111000010100000101010111
+11111001001111111111111000000000
+01100111111000010100000101010111
+00100000011000000000000000000000
+01000100110101100100000000010101
+00100000010000000011000110110100
+01101111111000010100000101010111
+00011111111000100010001000000000
+01101111111000001000000001001100
+00101111111011111111111000000110
+01111001001000001010001000001011
+01101111111000001000000001111000
+01101000010010001000000001111100
+10011000010000001111111000000000
+01101000010010001000000001001000
+10011000010000001111111000000000
+01111101001110100010001000001010
+01101111111000011100010011110011
+01111101001110100010001000000001
+01101111111000010000001100001110
+01101000010010010000001100010000
+10011000010000001111111000000000
+01111101001110100010001000001101
+01101111111001000100011101110101
+01111101001110100010001000001111
+01101111111001000100011101111101
+01111101001110100010001000001110
+01101111111000001100000111011011
+01111101001110100010001000001000
+01101111111000001100000010011010
+00101111111000011111111000001010
+00100000010000001001010110001101
+00011010001000100111111000000000
+01100111111000010100000101010111
+00100000011000000000000000000000
+01101111111100010000000100010010
+01111101001110100010001000000110
+01101111111100010000000100001110
+01111101001110100010001000000101
+00100000011000000000000000000000
+01101111111100100000000100111000
+01111001001111111111111000011011
+01100111111100100000000001001100
+00100000010000000001010101001100
+00100000001000000001001101111100
+01101111111100100000000100111100
+01111001001111111111111000010100
+01100111111100100000000001001100
+00100000001000000001010101001110
+01000111010011001100000000110011
+01111000010101011111110000000000
+01110000000000101001110100000001
+01110000000000101000011100000011
+01110000000000101001111000000001
+01011111111111111111111111111111
+01100111111000010000001010100001
+00011000000000000111111000000000
+01100111111000001000001010011111
+01100111111000001000001010101010
+01100111111000011100000101101110
+01100111111000011100000101110001
+00100000010000000001100100000001
+01110000010000011111010100000001
+01110000010000011111011000000000
+01110000000000101011110000000001
+01110000000000101011110100000001
+01110000010001000011010100000000
+00100000001000000001100111011100
+01000111010011010100000000110011
+01111000001101001111110000000000
+01110000000000101000100000000011
+01110000010001000011011100000001
+01110000000010011001111000000001
+01011000000000001111111111111111
+01100111111000010000100110100000
+00011000000000000111111000000000
+01100111111000101100011010100100
+01111001001000000111111000100111
+01100111111000101100011010011111
+00100000001000000001010110011011
+01000111010011011100000000110011
+01111000010101001111110000000000
+01011000000000000000000000010111
+01100111111000010100001110000010
+00011111111000001111111000000100
+01100111111000010100010001000100
+01110000000000101000100000000001
+01110000010001000010011100000000
+01110000000000001001110100000000
+00100000010000000001011000100110
+01101111111000010000001010110101
+01100111111000010100001110010100
+01101111111000010000001010001001
+00011111111011111111111000000101
+00011111111100011111111000000000
+01100111111000010000001010110101
+00100000001000000001010110011011
+01000111010011100100000000110011
+00100000010000000001011001010001
+01101111111000001000001010000111
+00101111111011111111111000000100
+01111001001000001000000000110010
+00100000010000000011000110000010
+01101111111000001000001010001000
+11000010100000001001010111010100
+00100000001000000001010111100110
+01000111010011101100000000110011
+01111000001101001111110000000000
+00100000010000000001100111010011
+00100000001000010001010111100011
+00100000010000000001011010100010
+00100000010000000001100100010110
+01111000010101101111110000000000
+00100000010000000001011111010100
+00100100011101101000000000000000
+01101111111000001000000000000101
+00011111111000001111111000000001
+01100111111000001000000000000101
+00100000010000000001100011000111
+01111000010101001111110000000000
+00100000011000000000000000000000
+00100000010000000001011000011010
+01111000010101001111110000000000
+00100000011000000000000000000000
+01000111010011110100000000110011
+01110000010000111101110100000000
+01111001001111111000000000110000
+00100000010000000111011000000010
+00100000010000000010000001100100
+01111000010101110111110000000000
+00100000010000000001100111010011
+00100000001000010001011000011010
+01101111111000001000001010111100
+00100000010000000001011000110111
+00100000010000000001011010100010
+00100000010000000001011011111010
+00100100001011000001011000001100
+00100000010000000001011000101010
+00100000001101101001010111110111
+11000101000110000001010111110111
+00100000001000000001011000000110
+01000111010011111100000000110011
+01101111111000001100001111011101
+00011111111000001111111000000001
+01100111111000001100001111011101
+11000000000001100001011000000110
+00100000010000000001100011000111
+00100000010000000001100100010110
+01101111111000001000001010111101
+00100000010000000001011000110111
+00100000010000000001011111100010
+00100000010000000001100101111001
+01101111111000010100010001101101
+00100000010000000111111001111010
+00100000010000000001011000001111
+00100000001101000001011000010100
+01000111010100000100000000110100
+00100000010000000010000000101010
+00100000010000000010000000100001
+00100000010000000111100011110010
+01101111111000001000001010101010
+11000010100000011001011000011010
+01000111010100001100000000110100
+00100000010000000001101010100110
+00100000001000000001000001011101
+01111000010101000111110000000000
+11000101000101010111111011000101
+11000101000101001111111011000101
+11000101000110000111111011000101
+00100000011000000000000000000000
+01000111010100010100000000110100
+01111000001101110111110000000000
+00100000010000000001011111011000
+00100000001101101001010111110111
+11000101000110000001010111110111
+00100000001000000001011000000110
+01000111010100011100000000110100
+00100000010000000001011000100001
+00100000010000000011001001000011
+00100000010000000001011000100110
+00100000010000000010000001110010
+01110000000010010101101100010101
+00100000001000000111100011011100
+11011000101000000100010011101001
+00100000010000000111110110010000
+01110000000000101001110100000000
+01110000000000101000100000000000
+01110000000000101000011100000000
+01000111010100100100000000110100
+01110000010000111001110000000000
+01110000010000111001101100000000
+00100000001000000110111100110111
+01000111010100101100000000110100
+01101111111000001000000000000101
+00011111111000001111111000000001
+01100111111000001000000000000101
+01101111111000001000001010000111
+11000011100000011000000000000000
+01111001001000000111111000000011
+01100111111000001000001010000111
+01101111111000010100001110010100
+01100111111000010000001010110101
+01011000000000000000000000000000
+01100111111000100100001110111100
+00100000011000000000000000000000
+00011111111000100000010000000000
+01000111010100110100000000110100
+00011000010000100111111000000000
+11000010100000000001011001010001
+11000010100000001001011001000000
+11000011000000010001011001010001
+11000010100000111001011001001110
+11000010100000010001011001000110
+00100000001000000001011001010001
+00100000010000000001011001010001
+01111001001000000000000000101101
+01111001001111111000000000101111
+01110000100010010000000100000011
+01110000100010010010000010000100
+00100000011000000000000000000000
+00100000010000000001011001010001
+01111001001000000000000000101111
+01111001001111111000000000101110
+01110000100010010000000100000101
+01110000100010010010000010000000
+01110000100010010011000000100000
+01110000100010010011010000001010
+00100000011000000000000000000000
+00100000010000000001011001000110
+01111001001000000000000000101110
+00100000011000000000000000000000
+01000111010100111100000000110100
+01111000001110110111110000000000
+01111001001111111000000000101101
+01111001001111111000000000101111
+01110000100010010000000100000001
+01110000100010010010000010000000
+01110000100010010010010110100111
+01110000100010010011000000000011
+01110000100010010011001101011000
+01110000100010010011010000001010
+01110000100010010011011101000000
+01110000100010100110110100001001
+00100000011000000000000000000000
+01000111010101000100000000110101
+01111000010110110111110000000000
+01111001001111111000000000110010
+01110000100010010000000100000000
+01110000100010010010000010000000
+01110000100010010010010110100011
+01110000100010010011000000000011
+01110000100010010011001101101000
+01110000100010010011010000001001
+01110000100010010011011100101000
+01110000100010100110110100001001
+00100000011000000000000000000000
+01111000010001001111110000000000
+01111000010000111111110000000000
+01101111111000011000001010101111
+10011000000000000001111000000000
+01101111111000001000000000010110
+00011111111011011000010000000000
+01111001001000000000010000000001
+00011000010000110001110000000000
+00100000011000000000000000000000
+00100000010000000001011001111100
+00100000010000000001000110001011
+01101111111000010000000101011101
+00100000010000000001001101111111
+00100000001000000001000110100010
+00100000001101101001001000000111
+11000101000110000001001000000111
+00100000010000000001011001111100
+00100000001000000001001000000001
+01000111010101001100000000110101
+00100000010000000001000101011101
+01101111111000001000001011011111
+00100100001110100001011010001111
+01101111111000001000000000010110
+00011111111001100111110000100100
+00100000001000010001011010001001
+00011000000000000000010000000000
+11000001000100101000000000000000
+00011000000000000000010000011000
+11000001000100110000000000000000
+00011000000000000000010001001110
+00100000011000000000000000000000
+00011111111001100111110000001010
+00100000001000010001011010001100
+00011111111000001111111000000001
+00011111111000111111111000000000
+00011111111000001000010000000010
+00100000011000000000000000000000
+01101111111000001000000000010110
+00011111111000111000010000000000
+00100000011000000000000000000000
+11011000010000000000000111110100
+00100000011110100000000000000000
+11011000010000000000000011111010
+11000001000000001000000000000000
+11011000010000000000000010010110
+11000001000000010000000000000000
+11011000010000000000000001100100
+11000001000000011000000000000000
+11011000010000000000000001001011
+11000001000000100000000000000000
+11011000010000000000000000110010
+11000001000000101000000000000000
+11011000010000000000000000101000
+11000001000000110000000000000000
+11011000010000000000000000010100
+00100000011000000000000000000000
+01000111010101010100000000110101
+01111000001010000111110000000000
+01101111111000100000001010101011
+10011000000000000001001000000000
+00100000010000000001000010101100
+00100000010000000001011011011000
+01011000000000000000001000000000
+00100000001101001001011010101100
+01101111111000010000001010010101
+00011111111000110111111000000000
+01101000010010010000000101011101
+10011000010000001111111000000000
+00100000010000000001001100010011
+00011011010000100111111000000000
+00100000011000000000000000000000
+01000111010101011100000000110101
+00100000010000000111110101000011
+01100111001000010000100110000111
+00011010001000001000110000000001
+11101111111000001000000000000110
+11000100000000000000000000000000
+00011010001000001000101000011010
+11101111111000010000000000000101
+00011111111000001111111000000001
+11100111111000010000000000000101
+00100000010000000001100001000100
+00100000010000000001100001101001
+00100000010000000001100001110010
+00100000010000000001011011000010
+00100000010000000111110101010001
+01101111001000010000100110000111
+00100000011000000000000000000000
+00011010001000001000110000011001
+11101111111000001000000000000110
+00011010001000001000101000011000
+11101000010000001000000000000101
+10011000010000001111111000000000
+00011111111001100111110000100100
+00100000001000010001011011001010
+00011111111000001111111111011011
+11100111111000001000000000000101
+00100000011000000000000000000000
+00011010001000001000110000110000
+11101111111000101000000000000110
+00011000000000000000010000000000
+00011000000000000111001000100101
+11000011000000000001011011010010
+00011000010000001000010000000001
+00011111111000110111111000000000
+11000010000000000001011011010000
+00011000010000001111111111111111
+00011010001000001000101000100010
+11100111111000001000000000000101
+00100000011000000000000000000000
+01000111010101100100000000110101
+01101111111000001000001010011111
+10011000000000000000111000000000
+01101000010010101000001010110111
+10101000010011111111111111111111
+00100000001000001001011011101101
+01101111111000001000001010101001
+10011000111001100111111000000000
+00100000001000010001011011100011
+00011111111001100000111111111111
+00100000001000000001011011011110
+00011000111000100111001000000000
+00011000000000000000111000000000
+10101000010011111111111111111111
+00100000001000001001011011101000
+00011111001000001111001000000001
+00011111001000100111111000000000
+00100000001110100001011011101101
+00011000111000001000111000000001
+00011111001000001111001111111111
+00100000001000000001011011100101
+00011000111000100111111000000000
+01100111111000001000000000010110
+00100000011000000000000000000000
+00100000001101001001011011110011
+00110111110000011000001000000000
+00100000011000000000000000000000
+11011001011000000000111010100000
+00110100011100110000001000000000
+00100000011000000000000000000000
+01111000010010000111110000000000
+01101111111000010100001111100101
+00011111111000100001011000000000
+00100000001000000001011100000000
+01000111010101101100000000110101
+00100000010000000001011101100100
+01111000001010000111110000000000
+01101111111000010000001010010101
+01101000010010100100001110111100
+10011000010000001001011000000000
+00100000010000000001011001110011
+01000111010101110100000000110101
+00100000010000000001011001101010
+11000101100101111001011100001000
+01111000001111001111110000000000
+00100000000000000000000000011110
+00100000010000000001011001101010
+00011001011010011001011000000000
+01111000010101101111110000000000
+01111000001001101111110000000000
+01111000001100001111110000000000
+01111000010100000111110000000000
+00011001011000100011011000000000
+00110111110000011000010000000000
+00100000001101110001011100010001
+00011011010000100000010000000000
+01100000010010110000000010010111
+00100100001011000001011110011111
+01000111010101111100000000110101
+01111000001010000111110000000000
+11011000010000000100111010101001
+01101111111000001100000111110000
+10011000010011111011011000000000
+00100000010000000100110100001101
+00100000001101110001011100011110
+00100000010000000001011110100011
+01101111111000001000001010000111
+11000011000000011001011100011110
+01101000010010110000000010010111
+00100000010101011001010001000100
+00100000010000000001001001111111
+01111000001000111111110000000000
+01111000001001001111110000000000
+00001001100000000000000000001000
+00011001100010010111111000000000
+01100111111000001000000101101011
+00001001100000000000000000001000
+00011001100010010111111000000000
+01100111111000001000000101101100
+00011111111000100111001000000000
+00100000001000101001011101000011
+11000101000110010001011100101111
+00001001100000000000000000001000
+00011001100010010111111000000000
+11100111111000001000000000000101
+11000010000000000001011100101010
+00100000001000000001011101000011
+00011000101000100010010000000000
+00100000010000000001100011000000
+01101010001000001000000101101100
+00011010001000001010001111111100
+00100100001000010001011110010111
+00100000010000000001011101101001
+00011010010000100000101000000000
+11011000010000000000000000000000
+01101111001000001000000101101100
+00011111001000001111001111111100
+00100000001000101001011101000001
+00001001100000000000000000001000
+00011001100010010111111000000000
+11100111111000001000000000000101
+00011000010000001000010000000001
+00011000010000010111110000001111
+00100000010000101001011110000110
+11000010000000000001011100111010
+00100000010000000001011110001110
+00011010010000100000101000000000
+01000111010110000100000000110110
+00001001100000000000000000011000
+00011111111011110111111000000000
+00011111111100010111111000000000
+11100111111000011000000000000101
+01111000001010000111110000000000
+00100000010000000001011110110001
+00100000001000110001011110011011
+11000101100110010001011101010101
+01101111111000001000000101101100
+00100000001110100001011101010101
+00011111111000001111111111111100
+01100111111000001000000101101100
+00100000010000000110110110111011
+01101111111100001000000100001000
+11000011000000111001011110010111
+00011000000000000111000000001100
+01100101111000100000001001110011
+00100000010000000100110100001100
+01111000001101101111110000000000
+01111001001111111000000000110000
+00100000010000000110110110111101
+01101111111000001000001010111100
+01111101001111100111111000000111
+01100111111000001000001010111100
+01000111010110001100000000110110
+01101000010010001000000000010111
+00011000010000001010001000000010
+11000101000101101001011101100001
+00011000010000001010001000000010
+01111000010001101111110000000000
+00100000010000000001000101011101
+00100000001000000001000111000110
+11000110100110010000000000000000
+00100000010000000110111000101111
+00011000000000000111000000001100
+00100000010000000110111000110111
+00100000001000000110111000110110
+01110000100000001101010100000000
+01110000100000001101011000000001
+01101111111000001000000101101011
+00011111111000010111111000000011
+01100111111100001000000011010111
+01011000000000000000000101101101
+01100111111100010000000011010001
+01100111111100010000000011010011
+01101010001000001000000101101100
+00011010001000001010001111111100
+01101000010010101100011010100100
+00101000000011111111111000001111
+00100000010000001001011101111100
+00100000010000000110110011001001
+01011000000000000000000000000000
+01100111111100010000000011011010
+01110000100000000000101000000110
+01110000100000000000101000000111
+00100000011000000000000000000000
+00011000010001100111110000000000
+00100000001000101001011110000001
+00011000010000001000010111111111
+01111001001000000000010000100111
+00100000011000000000000000000000
+01011000111111111111111111111111
+00011111111100000111111000000000
+11011000010000001111111111111111
+10011000010000011000010000000000
+00100000011000000000000000000000
+00011000101000100010010000000000
+01101111111000001000000101101100
+00011111111000001111111111111100
+10011000010001100111110000000000
+00100000011000101000000000000000
+01100000010110010000000011011010
+00011010010000100000101000000000
+00100000011000000000000000000000
+00001001100000000000000000100000
+00011111111011110111111000000000
+00011111111011001111111000000000
+11100111111000100000000000000101
+00011000101000100010010000000000
+00011000000000000111000000000000
+00011111111000100101111000000000
+01100000010110010000000011011010
+00100000011000000000000000000000
+00100000001000000001011110100001
+00100000010000000001011110110001
+00100000010000000000111001111100
+00100000001000000001011101010101
+00100000010000000100110100001110
+11000101000110000001011110011111
+01111001001000000000000000110000
+00100000001000000001011101011000
+01111001001111111000000000110000
+00100000001000000001011110100001
+00100000010000000110110110111101
+00100000001000000000111001111100
+11000101000101111001011110101001
+11000101000101101001011110101101
+01101111111000010000000101100101
+00011111111000100101001000000000
+00011100001000100101000000000000
+00100000011000000000000000000000
+01101111111000010000000101101001
+00011111111000100101001000000000
+00011100001000001101000000000001
+00100000011000000000000000000000
+01101111111000010000000101100111
+00011111111000100101001000000000
+00011100001000100101000000000000
+00100000011000000000000000000000
+01101111111000001000000101101100
+00011111111000001000010000000101
+00011000010010011000010000000000
+01101111111000001000001010111100
+11000101000101111001011110111000
+11000010100000000001011110111010
+11000010100000001001011110111011
+00100000001111100001011110111101
+00100000001000000001011111000000
+00100000001000000001011111000101
+00011000010000110000010000000000
+00100000001000000001011111000101
+00011000010000001000010000000011
+00011000010000111000010000000000
+00100000001000000001011111000010
+00011000010000001000010000000011
+00011000010010011000010000000000
+01011000000000000000000000101000
+10011000010000001000010000000000
+00100000001000000001011111000101
+01101111111000001100000111110000
+10011000010011111000010000000000
+11011010001000000100111000100000
+10011010001011111111111000000000
+10011000010001100000010000000000
+00011011011000100111111000000000
+10011000010001100011011000000000
+00100000011000000000000000000000
+00100000010000000001011111100100
+01101000010010001000000000010111
+00100000010000000001000110001011
+00100000010000000001000110100010
+01111000001010000111110000000000
+11011001011000000001010101111100
+00100000001000000001011100000001
+01000111010110010100000000110110
+01101111111000001000001010111101
+00100000010000000001011000110111
+00100000010000000001011111100100
+01101111111000001000001010111100
+00100000010000000001011000110111
+01101000010010001000000000010111
+00100000010000000001000110001011
+00100000010000000001000110100010
+01111000001010000111110000000000
+11011001011000000001010101111100
+11000101100101111001011100000001
+11011001011000000010000100110100
+00100000001000000001011100000001
+00100000010000000001011111100100
+00100000001000000000111001111100
+01000111010110011100000000110110
+00100000010000000001011001101010
+00100000010000000001011001111000
+00100000010000000100110100010011
+01111001001000000010101000000000
+01111000001011101111110000000000
+01111000001100000111110000000000
+01111000010100001111110000000000
+00100000010000000001011011110000
+01111000010111010111110000000000
+11000101000101111001100000100110
+11000101000101101001100000111000
+00011001001100010111111000000000
+00011111111011001111111000000000
+00011111111100011111111000000000
+00001000000000001000011000101000
+01111000001000111111110000000000
+01111000001001001111110000000000
+01000111010110100100000000110110
+01101111111000001100000111110101
+00001000000000001000011000001000
+11101111111000001000000000000110
+00011111111000100111001000000000
+00001000000000001000011000001000
+00011111001001100111110000000000
+00100000001000101001100000000101
+01101111111100001000000000001010
+00100000001110100001100000000001
+11000101000110010001100000011011
+11011000110000000100000111110111
+11101111111000001000000000000110
+00001000000000001000011000001000
+11000010000000000001100000000010
+01111000001001000111110000000000
+00001000000000001000011000011000
+01111000010001000111110000000000
+11000101100101111001100000001100
+01111000010000111111110000000000
+01011000000000000000000000000000
+00001000000000001000011000000011
+00110111110100111000001000000000
+00100000000000000000000001100100
+01111000010011101111110000000000
+01111000010111000111110000000000
+00100000010000000001000101011101
+00100000010000000100110100010001
+01101111111000001100000111110101
+00011111111000010111111000000011
+11000001100000011000000000000000
+01101111111000001100001110011100
+11000000000000010001100100000001
+11000001100000101000000000000000
+01101111111000001100000111110111
+11000000000000101001100011111100
+00100000011000000000000000000000
+00011111001000001111001111111100
+00011111001000100000010000000000
+00100000010000000110110110101000
+11011000110000000100000111110111
+11101111111000001000000000000110
+00001000000000001000011000001000
+11000010000000000001100000011111
+00100000010000000110110110101101
+00011101111000100111111000000000
+00001000000000001000011000100000
+00100000001000000001100000000101
+11011111001000000000000000001010
+01011000000000000000000000111100
+00001000000000001000011000001000
+11000010000000000001100000100111
+01111000010011101111110000000000
+01111000001111000111110000000000
+00011001001100010111111000000000
+00011111111100010111111000000000
+00011111111100011111111000000000
+00001000000000001000011000100000
+11000101000101110001100000110101
+01011000000000000000000000000001
+00001000000000001000011000000101
+01111000001111010111110000000000
+00100000001000000001011111110100
+01011000000000000000000000000000
+00001000000000001000011000000101
+00100000001000000001011111110100
+01101111111000001100000111110000
+00011111111000110111001000000000
+00100000000000000000000000000010
+11000010000000000001100000111010
+00011001001100010111111000000000
+00011111111011001111111000000000
+00011111111100011000010000000000
+00011000010000100111111000000000
+00001000000000001000011000001000
+00011000010000100111111000000000
+00001000000000001000011000101000
+00100000001000000001011111110100
+11011010011000000001100001001000
+11011010010000000001100001011100
+11011000111000000000000000000101
+00100000001000000001100010100000
+00011010001000001000110000000100
+11101000010000100000000000000110
+00011010001000001000110000110111
+11101111111000001000000000000110
+00011010001000001000101000101011
+11100111111000001000000000000101
+11101111111000010000000000000110
+00011111111010111111111000000000
+10011000010000001001011000000000
+00011010001000001000101000000100
+00011001011000100111111000000000
+11100111111000100000000000000101
+11101111111000010000000000000110
+00011111111010111111111000000000
+00011010001000001000101000000010
+11100111111000010000000000000101
+11101111111000100000000000000110
+00011010001000001000101000101100
+11100111111000100000000000000101
+00100000001000000001100111011111
+11101111111000001000000000010001
+01111001001111111111111000000011
+11100111111000001000000000010001
+01101111111000010000001010110101
+01100111111000010100001110010100
+01100010001000010000100101110000
+01110000000010010101101101000100
+00100000010000000111100011011100
+01101010001000010000100101110000
+00011010001000001000110000101110
+11101111111000010000000000000110
+01100111111000010100001110010100
+00100000011000000000000000000000
+11011010011000000000000000000000
+11011010010000000001100001101101
+11011000111000000000000000000110
+00100000001000000001100010100000
+00011010001000001000110000110111
+11101111111000101000000000000110
+00011010001000001000101000110000
+11100111111000101000000000000101
+00100000001000000001011011001100
+11011010011000000000000000000000
+11011010010000000001100001110110
+11011000111000000000000000000111
+00100000001000000001100010100000
+00011010001000001000110000110111
+11101111111000001000000000000110
+00100000010000000001100010000011
+11100111111000001000000000000101
+00011010001000001000110000111000
+11101111111000001000000000000110
+00100000010000000001100010010001
+11100111111000001000000000000101
+01100010001000010000100101110000
+01110000000010010101101101000010
+00100000010000000111100011011100
+01101010001000010000100101110000
+00100000011000000000000000000000
+00100000010110100001100010001011
+00011010001000001000101000110101
+00100100011101001000000000000000
+01101000010010001100010001000010
+00101000010011111111111000000111
+01111001001000001111111000000111
+00011010001000001000101000110110
+00100000011000000000000000000000
+00011010001000001000110000110101
+11101111111000001000000000000110
+00100100011101001000000000000000
+00011010001000001000110000110110
+11101111111000001000000000000110
+00100000011000000000000000000000
+00100000010110100001100010011010
+01101000010010001100010001000010
+00101000010011111111111000000111
+01111001001000001111111000000111
+00011010001000001000101000110110
+00100100011101001000000000000000
+01111001001111111111111000000111
+00011010001000001000101000110101
+00100000011000000000000000000000
+00011010001000001000110000110110
+11101111111000001000000000000110
+00100100011101001000000000000000
+00011010001000001000110000110101
+11101111111000001000000000000110
+00100000011000000000000000000000
+11101111111000001000000000010001
+10101111111011000000000000000000
+00100000011000001000000000000000
+00011010001000001000110000011010
+11101000010000010000000000000110
+00011010001000001000110000100000
+11101111111000010000000000000110
+10011000010001100111111000000000
+00100000001000101001100010101111
+00100100001000010001100010110100
+00011111111001100111110000000001
+00100000001000101001100010101101
+00100000011000000000000000000000
+00011010011000100111111000000000
+00100000001000000111111001111010
+11101111111000001000000000010001
+11111001001111111111111000000000
+11100111111000001000000000010001
+00011010010000100111111000000000
+00100000001000000111111001111010
+00011010001000001000110000011010
+11101111111000010000000000000110
+00011010001000001000110000100000
+11101111111000010000000000000110
+10011000010001100111111000000000
+11011000010000001111111111111111
+10011000010001100111110000000000
+00100000001000101001100010101111
+11011000010000001111000000000000
+10011000010001100111110000000000
+00100100001000010001100010101111
+00100000011000000000000000000000
+01101000010010001000001010011110
+01101111111000001000000101101011
+00011111111000110111111000000000
+10011000010000101111111000000000
+00101111111011111111111000000010
+01111001001000001000000000001111
+00100000011000000000000000000000
+01000111010110101100000000110110
+00100000010000000001100111011100
+11000110000110000000000000000000
+00100000010000000001100011101110
+01101111111000001000000101101011
+00101111111011111111111000000100
+01111001001000001000000000101010
+00011111111000110111111000000000
+10011000010000101111111000000000
+00101111111011111111111000000010
+01111001001000001000000000001111
+11000110000001111000000000000000
+01101111111000001000000101101100
+00100000001110100001100011100000
+01101111111000001000001010000111
+11000011000000100001100011100000
+01101000010010100000001001110011
+01101111111000100100011010101001
+10011000010001100111110000000000
+00100000001000101001001101111100
+01100000010010100100011010101001
+01101111111000101100011010100100
+00011111111000001111111000000001
+01111001001000000111111000100111
+01100111111000101100011010100100
+01101000010010001000001010011110
+01111001010000000000010000000010
+01100000010010001000001010011110
+01101111111000001100001111000000
+11000100000000110000000000000000
+01000111010110110100000000110110
+01101111111000001000000101101100
+00100000011110100000000000000000
+01101111111000001000000101101011
+00101111111000000000011000000001
+00100000001000001001111011010111
+00101111111000000000011000000010
+00100000001000001001111011000101
+00100000011000000000000000000000
+01000111010110111100000000110110
+01101000010010001000001010011110
+00101000010011000000000000000101
+00100000011000001000000000000000
+01101111111000001000000101101011
+00011111111000111111111000000000
+10011000010000101111111000000000
+11000100000000011000000000000000
+01111001001111111000010000000101
+01111001010000000000010000000011
+01100000010010001000001010011110
+00101000010000000000011000000011
+00100100011000001000000000000000
+00100000011000000000000000000000
+01101111111000001000001010000111
+01111001001000000111111000000100
+01100111111000001000001010000111
+01111001001000000000000000110010
+00100000011000000000000000000000
+01000111010111000100000000110111
+01110000010000111001110000000000
+11011111111000000000000000000000
+01100111111000100100011010101001
+01100111111000101100011010011111
+01111001001000000111111000100111
+01100111111000101100011010100100
+01101111111000001000001010000111
+01111001001111111111111000000100
+01100111111000001000001010000111
+01111001001111111000000000110010
+00100000011000000000000000000000
+11011010001000000000000000000001
+01101111111000001000000101101011
+11000011100000110000000000000000
+11011010001000000000000000000000
+00100000011000000000000000000000
+00011000110000100000101000000000
+01101000010010010100010001000100
+00011000101000100000110000000000
+00100000011000000000000000000000
+01000111010111001100000000110111
+01101111111000001000001010011110
+11000011100000101000000000000000
+00100000010000000001100100110111
+00100000010000000001101100001101
+00100000001110100001100101011011
+11101111111000010000000000000110
+11101000010000010000000000000110
+00011000010000100010001000000000
+10011010001001100111111000000000
+00100000010000000001100100010010
+00100000010000000111111010111011
+00011111111000100000010000000000
+11101000001000001000000000000110
+00011010001000100111111000000000
+10011000110000001111111000000000
+01100111111000010000100101111011
+00100000010000000001100101001011
+00100000010000000001100101011101
+00100000010000000001101100001101
+11101111111000010000000000000110
+00011111111000100010001000000000
+00011000110000100010011000000000
+11101000010000010000000000000110
+00011000010000100010010000000000
+10011010010001100111111000000000
+00100000010000000001100100010010
+00100000010000000111111010111011
+10011010010000001111111000000000
+11100111111000010000000000010011
+10011010001001100111110000000000
+00100100011000101000000000000000
+00100000001000000001101100100110
+00100000010000000001100100111110
+11000110000101001000000000000000
+01101111111000001100001111000000
+11000011000000010001100101001001
+00100000010000000001101100010000
+00100000001110100001100101001001
+00100000001000000001100101000111
+00100000010000000001101100001101
+00100000001110100001100101001001
+11101111111000010000000000000110
+11101000010000010000000000000110
+10011000010001100010001000000000
+00100000010000000001100100010010
+00011000010000100111111000000000
+10011010001001100111110000000000
+00100000001000010001100101001001
+01111001001000000000000000101001
+00100000011000000000000000000000
+01111001001111111000000000101001
+00100000011000000000000000000000
+00011010001000100111111000000000
+00100000011110100000000000000000
+11011000001000000000000000000001
+00100000011000000000000000000000
+01000111010111010100000000110111
+00011000010000001000010000000001
+00100000010000000001101000001110
+00011000110000001000110111111110
+11101111111000010000000000000110
+11011000010000000010100100000010
+10011000010001100111110000000000
+00100100011000101000000000000000
+00011000110000001000110000000001
+00011000110000100010001000000000
+11101111111000001000000000000110
+00100000011000000000000000000000
+00011000000000000000010000000000
+00011000000000000000001000000001
+01000111010111011100000000110111
+01100000010010001100000111110110
+01101000010010001000001010011110
+01111001001000000000010000000101
+00011000010000010111111011111100
+10011000001000011111111000000000
+01100111111000001000001010011110
+00011111111000010111111000011111
+00101000000011111111111000101001
+01111001001000001111111000000100
+01100111111000001100000111110101
+01101111111000001100000111110101
+00101000001000000000011000000001
+00100100001000001001100101101101
+01101111111000001100000111110110
+00100000011110100000000000000000
+11000101000110010001100101110011
+01101111001000001100000111110110
+01101111111000010000100101111011
+00011111111000100000110000000000
+11011000101000000100000111110111
+00100000001000000111110111000111
+00100000010000000110111000101111
+00100000001000000110110110001111
+11011000111000000000000000000000
+00100000001000000001010101100110
+11011000111000000000000000000000
+00100000001000000001010101101010
+01000111010111100100000000110111
+11000110000001111000000000000000
+11000110000110000000000000000000
+01101111111000001000000101101011
+00011111111000010111111000000011
+01100111111000001100001111010011
+01101111111000001000000101101100
+00100000011110100000000000000000
+01011000000000000000000101101101
+01100111111000010100001111011000
+01000111010111101100000000110111
+01101111111000001100001111010011
+11000000000000011010000010111000
+00100000010000000001100110010011
+00100100001101000001100101110101
+00100000010000000001100101110111
+01011000000000000000000000000000
+01100111111000010100001111010110
+01101111111000010100001111011000
+00011111111000001000110000000010
+01000111010111110100000000110111
+11101111111000010000000000000110
+11000000000000100001110001111101
+11000000000000110001111100111001
+11000000000000101001111011111011
+00100000011000000000000000000000
+01101111111000001100001111010011
+11000000000000010001100110100010
+11000000000000001001100110111001
+00100000011000000000000000000000
+00100000010000000111111011000101
+11011000010000000000000000000100
+10011111111001100111110000000000
+00100000011000101000000000000000
+11011000010000000000000000000101
+10011111111001100111110000000000
+00100000011000101000000000000000
+11011000010000000000000000000110
+10011111111001100111110000000000
+00100000011000101000000000000000
+00100000001000000111111011000111
+01101111111000010100001111011000
+00011111111000100000110000000000
+11101111111000010000000000000110
+01100111111000010100001111010100
+11101111111000010000000000000110
+00100000010000000001100110010111
+00100100011101000000000000000000
+01101000010010001000000101101100
+01100000010010010100001111010110
+01101111111000010100001111010100
+00011111111000001111111000000100
+10011000010001100111110000000000
+00100000001000101111111011000101
+01101111001000001000000101101100
+11011000101000000001000000000000
+01101111111000010100001111011000
+00011111111000100000110000000000
+00100000010000000111110111000111
+00100000001000000111111011000111
+00100000010000000111111011000101
+01101111111000010100001111010110
+00100100011110100000000000000000
+00100000001000000111111011000111
+00100000010000000001100110110101
+00100100011101000000000000000000
+01101111111000010100001111010110
+11011000101000000001000000000000
+10011000101000001010001000000000
+01101000010010001000000101101100
+10011000010000001111111000000000
+01100111111000010100001111010110
+01101111001000001000000101101100
+00011010001000100000101000000000
+01101111111000010100001111011000
+00011111111000100000110000000000
+00100000010000000111110111000111
+01011000000000000001000000000000
+01100111111000010100001111011000
+01101111111000010100001111010100
+00011111111000001111111000000100
+01101000010010010100001111010110
+10011000010001100111110000000000
+00100000001000101111111011000101
+00100000001000000111111011000111
+00100000010000000111110101011110
+11011000101000000100001101011001
+00100000001000000001111010111111
+01101111111000010100010001101011
+00100000001000000111111001111010
+01101000010010100000001010100011
+00100000010000000001001101101011
+10011000010001100001011000000000
+00011001011000100111111000000000
+01101000010010010000001010110101
+00011000010100100000010000000000
+00011000010000111000010000000000
+10011000010001100111111000000000
+00100000011000000000000000000000
+00100000010000000001001101101011
+01100111111000100000001010100011
+00100000011000000000000000000000
+01000111010111111100000000110111
+00011010001000001000110001010000
+11101111111000001000000000000110
+00100000010000000001011010010010
+00011010001000001000110000000010
+11101111111000010000000000000110
+10011000010011111111111000000000
+01101000010010010000000101100011
+10011000010011111111111000000000
+11011000010011110100001001000000
+10011000010001101111110000000000
+11011000010000000000011010000010
+01101111111000001100000111110000
+10011000010011111000010000000000
+00011010001000001000110000101011
+11101111111000001000000000000110
+10011000010011111111111000000000
+10011000010000001111111000000000
+01100111111000100100001110111100
+01101111111000010100000011001000
+00100000010000000111111001100100
+00011000000001111000010000000000
+10011000010000001111111000000000
+00011010001000001000101000001110
+11100111111000010000000000000101
+00100000011000000000000000000000
+01000111011000000100000000111000
+01101111111000010000100110011110
+10011000000000000010010000000000
+01101111111000010000100110100000
+10011000000000000010011000000000
+01101111111000010100001110010110
+10011000000000000000110000000000
+01111000001101000111110000000000
+00100000011000000000000000000000
+11101111111000010000000000000110
+00011111111000010111111011111111
+00100000011110100000000000000000
+10011010010001100111110000000000
+00100100011000010000000000000000
+10011010011001100111110000000000
+00100000011000101000000000000000
+00100000001000010001101000001100
+00011000000000000111110000000001
+00100000011000000000000000000000
+00011000000000000111111000000000
+00100000011000000000000000000000
+00100000010000000001101000010001
+00100000001000101001101000011110
+00100000011000000000000000000000
+01000111011000001100000000111000
+01101111111000010100001110010110
+10011000000000000000110000000000
+11101111111000010000000000000110
+00011111111000010111111011111111
+00100000011110100000000000000000
+10011000010001100111110000000000
+00100000011000101000000000000000
+11101111111000001000000000000110
+10011000110000001000110000000000
+11101111111000001000000000000110
+10011000110000001000110000000000
+00100000001000000001101000010100
+11101111111000001000000000000110
+10011000110000001000110000000000
+00100000011000000000000000000000
+01000111011000010100000000111000
+01101111111000010100001110010110
+10011000000000000000110000000000
+11101111111000010000000000000110
+00011111111000010111111011111111
+00100000011110100000000000000000
+11101111111000001000000000000110
+10011000110000001000110000000000
+00011000110000001000110111111110
+11101111111000010000000000000110
+10011000010001100111110000000000
+00100000011000101000000000000000
+11101111111000001000000000000110
+10011000110000001000110000000000
+00100000001000000001101000100100
+01101111111000010100001110010110
+10011000000000000000110000000000
+11101111111000010000000000000110
+00011111111000010111111011111111
+00100000011110100000000000000000
+00011111111000001000010000000001
+11101111111000001000000000000110
+10011000110000001000110000000000
+11101111111000001000000000000110
+10011000110000001000110000000000
+00011000110000100000101000000000
+00100000001000000001101000110010
+01101111111000010000100110110100
+00100000001000000001101001000000
+01000111011000011100000000111000
+01101111111000010100001110010110
+10011000000000000000110000000000
+11101111111000010000000000000110
+00011111111000010111111011111111
+00100000001110100001101001001011
+10011000010001100111110000000000
+00100000001000101001101001001100
+11101111111000001000000000000110
+10011000110000001000110000000000
+11101111111000001000000000000110
+10011000110000001000110000000000
+00100000001000000001101001000001
+00100000001000000111111011001111
+11101111111000001000000000000110
+01100111111000001000100110111010
+00011111111000100111001000000000
+11011000101000000000100110111011
+00100000010000000111110111000111
+11101111111000001000000000000110
+01100111111000001000100110110011
+00100000010000000111110101011110
+00100000001000000111111011010001
+01000111011000100100000000111000
+00100000010000000001101001011000
+00100000001000000001101001101010
+11011000010000000010101000000000
+00100000010000000001101000100001
+00100000011110100000000000000000
+11101111111000001000000000000110
+00011000110000100000101000000000
+01101000010010001100001011110111
+00011000010000100111001000000000
+10011000010001100111110000000000
+00100100001000010001101001100111
+10011000010001100000010000000000
+11011000110000000100001011111000
+00100000010000000111110111000111
+00011000010000100111001000000000
+00100100010000101001101010100010
+00100000011000000000000000000000
+00011111111000100111001000000000
+11011000110000000100001011111000
+00100000001000000111110111000111
+11011010011000000100010000000111
+11011010001000000100001111101000
+00100000010000000001101001110111
+01011000000000000000000000000000
+01111001001101000111111000000000
+01100111111000001000100101011100
+11011010011000000100010000100111
+11011010001000000100010000001000
+00100000010000000001101001110111
+00100000011101000000000000000000
+01101111111000001000100101011100
+00100000001110100001001101111100
+00100000011000000000000000000000
+01000111011000101100000000111000
+00100000010000000111111011000101
+00100000010000000111110110100001
+11011010010000000000000000000000
+11011000101000000000100110001111
+00100000010000000001101010010001
+01101111111000001100001011110111
+00011111111000001000010000000001
+10011010010000001010001000000000
+00011010001000001010001000000010
+00011010001001100111110000011111
+00100100001000010001101010001111
+11100000010000001000000000000101
+11011000010000000000000000001001
+11100000010000001000000000000101
+10011000000000000111001000000000
+00100000010000000111110111000111
+00011010001000100010010000000000
+00011010010000100111111000000000
+01100111111000001000100110001110
+11011000110000000000100110001110
+01011111111111111111111111100000
+10011010011000001000101000000000
+00100000001000000111110101111101
+00100000010000000111111011000111
+00100000001000000001101010001001
+11101111111000001000000000010001
+00100000011110100000000000000000
+00011111111000001111111000000001
+11101000010000001000000000000110
+00011000010001100111110000001001
+00100000001000101001101010100000
+10011010010000001010010000000000
+00011010001000100000110000000000
+10011000000000000111001000000000
+00100000010000000111110111000111
+00011000110000100010001000000000
+00011010001000100111111000000000
+10011010011001100111110000000000
+00100000011000010000000000000000
+00100000001000000001101010010001
+10011010001000001010001000000000
+00100000001000000001101010011100
+01011000000000000000000000100000
+11100111111000001000000000000101
+11000010000000000001101010100010
+00100000011000000000000000000000
+01000111011000110100000000111000
+01111000010101011111110000000000
+00100000001101110001101010101010
+00100100001101101001101010111000
+00100000010000000001010100010010
+01101111111000010100000011001000
+01100111111000010000001010010101
+00100100001101101001010100100101
+11000101000001111001010100100101
+01101111111000001000000101101100
+00100100001110100001010100100101
+01101111111000001100000111110110
+00100100001110100001010100100101
+01101111111000001100001111000000
+11000010100000101001010100100101
+01101111111000001000001010000111
+11000010100000101001010100100101
+00100000001000000001010100000100
+01101000010010010100000011001000
+00011000010000110000010000000000
+01101111111000010000001010010101
+10011000010000001111111000000000
+01100111111000010000001010010101
+00100000001000000001010100011101
+11011000111000000000000000000000
+00100000001000000001101011010110
+11011000111000000000000000000000
+00100000001000000001101011011010
+11011000111000000000000000000001
+00100000001000000001101011010110
+11011000111000000000000000000001
+00100000001000000001101011011010
+11011000111000000000000000000010
+00100000001000000001101011010110
+11011000111000000000000000000010
+00100000001000000001101011011010
+11011000111000000000000000000011
+00100000001000000001101011010110
+11011000111000000000000000000011
+00100000001000000001101011011010
+11011000111000000000000000000100
+00100000001000000001101011010110
+11011000111000000000000000000100
+00100000001000000001101011011010
+11011000111000000000000000000101
+00100000001000000001101011010110
+11011000111000000000000000000101
+00100000001000000001101011011010
+01101111111000001100001111000000
+11111001001000000111111000000000
+01100111111000001100001111000000
+00100000011000000000000000000000
+01101111111000001100001111000000
+11111001001111111111111000000000
+01100111111000001100001111000000
+00100000011000000000000000000000
+01011000000100010010001000110011
+01100111111000011100001111000001
+01011000010001000101010101100110
+11100111111000011000000000000101
+01011000011101111000100010011001
+11100111111000011000000000000101
+01011000000000000001000100100010
+11100111111000011000000000000101
+01011000001100110100010001010101
+11100111111000011000000000000101
+01011000000000000000000001100110
+11100111111000001000000000000101
+00100000011000000000000000000000
+01011001000000000000001100000010
+01100111111000100100001101010000
+01011000000000010000000000010000
+01100111111000011100001101010100
+01110000010000111001110100000001
+00100000011000000000000000000000
+11011010001000000000000000000000
+11011000001000000000000000000001
+00100000001000000001101100000010
+11011000001000000000000000000011
+00100000010000000001101100000010
+00011010010000100111111000000000
+11100111111000001000000000000101
+00100000011000000000000000000000
+00011000000000000000001000000010
+00011010001000001010001000000100
+00100000010000000001101100000010
+00011010001000001010001111111100
+00011010001000100111111000000000
+11100111111000010000000000000101
+00011010010000100111111000000000
+11100111111000010000000000000101
+00100000011000000000000000000000
+01000111011000111100000000111000
+00011010001000001010001000000101
+00100000010000000101001011111111
+00011010001000001010001111111011
+00011010001000100111111000000000
+11100111111000010000000000000101
+01011000000000000000000000000000
+11100111111000010000000000000101
+00011000001000100111111000000000
+11100111111000001000000000000101
+00100000011000000000000000000000
+00100000010000000101001100111001
+00011111111000100000110000000000
+00100000011000000000000000000000
+01101111111000010100010011110001
+00100000011000000000000000000000
+00100000010000000001101100010101
+00011111111000100000110000000000
+00100000011000000000000000000000
+01101111111000010100010011110100
+00100000011000000000000000000000
+00100000010000000001101100001101
+00011000110000001000110000000101
+00100000011000000000000000000000
+00100000010000000001101100001101
+00011000110000001000110000001001
+00100000011000000000000000000000
+00100000010000000001101100010010
+00011000110000001000110000001001
+00100000011000000000000000000000
+00100000010000000001101100010010
+00011000110000001000110000000101
+00100000011000000000000000000000
+00100000001000000101001101001111
+00100000001000000101001101010010
+00100000001000000101001101010101
+00100000001000000101001100111110
+01100111111001000100010001001100
+00100000001000000001101100111001
+00011000010000010010001011111111
+00100000010000000001101100101101
+00011000010011001010001000000000
+00100000001000000001101100110011
+01100010001000001100010001000010
+00101010001011111111111000000001
+00100000010000001001101100110101
+00101010001011111111111000000010
+00100000010000001001101100110111
+00100000011000000000000000000000
+01100010001000001100010001000011
+00100000001000000001101100101110
+11011000111000000000000000001000
+00100000001000000001101100111011
+11011000111000000000000000001011
+00100000001000000001101100111011
+11011000111000000000000000000101
+00100000001000000001101100111011
+01101111111001000100010000111010
+11111001001000000111111000000000
+01100111111001000100010000111010
+00100000011000000000000000000000
+01110000000000101011110000000001
+01110000000000101011110100000001
+00100000010000000001011001010001
+00100000010000000001101101000101
+00100000010000000001101111000011
+00100000001000000001011001011110
+01000111011001000100000000111001
+01101111111000001100001111100010
+11000001100000001000000000000000
+11011000111000000000000000000010
+00100000010000000111110111101001
+00100100011110100000000000000000
+01101111111000010100001111100011
+01101000010010010100001111100101
+10011000010001100111111000000000
+11011000111000000000000000000010
+00100000010000000111110111011011
+01111000010101001111110000000000
+00100000010000000001101111100100
+00100000010000000001101101100100
+00100100011101101000000000000000
+01000111011001001100000000111001
+01101111111000110000000101101101
+01100111111000110000001010010111
+01101111111000001000000000000010
+00011111111000001111111000000001
+01100111111000001000000000000010
+00100000010000000001101101101011
+00100000011101001000000000000000
+00100000010000000001110000001011
+00100100011101101000000000000000
+01101111111000001000000000000100
+00011111111000001111111000000001
+01100111111000001000000000000100
+01101111111001001000000101110011
+01100111111001001000101000000001
+00100000011000000000000000000000
+01000111011001010100000000111001
+00100000010000000001110001010110
+00100000010000000001011011110110
+01101111111000001000000000000001
+00011111111000001111111000000001
+01100111111000001000000000000001
+00100000011000000000000000000000
+01000111011001011100000000111001
+01101111111000001000001011100000
+11000001100011011000000000000000
+01101111111000110000001010010111
+01101000010010110100001101101011
+10011000010001100111110000000000
+00100100011000101000000000000000
+00100000010000000000101001001000
+00100100011000101000000000000000
+00100000010000000001101101111011
+00100000010000000001010110101110
+01110000010000011101101100000000
+01110000000000101101011100000000
+01110000010000111110001000000000
+01110000000000101110000000000000
+00100000001000000000101000110000
+01000111011001100100000000111001
+00011000000000000111111111111111
+00111000000010000000000000000001
+01100111111000101000001010110111
+11011010001000000000001010000111
+00100000010000000001011011001100
+00011000000000000111001000000100
+11011000101000000000001010101011
+00100000010000000101101010010000
+01101111111000010100001101111000
+01100111111000010000001010110101
+00011000000010100111111000000000
+00011111111000010111111000001111
+00011111111001100111110000000100
+00100000001000010001101110000110
+01100111111000001000001010100000
+01100111111000001000010110101000
+01000111011001101100000000111001
+01101000010010010100000111110011
+01100000010010010000001010001001
+00011000010000100010011000000000
+00011100010000001111111000000111
+10011010011001101111110000000000
+00100000010000000111111001100100
+00011000000001110010001000000000
+10011010001001100111111000000000
+10011010011000001111111000000000
+01101000010010010100000111110001
+10011000010000001111111000000000
+01100111111000100000001010001011
+10011100010001100010001000000000
+00011010001000001010001111111010
+11011010010000000010001000000101
+01101111111000001100001101110001
+01111101001110100010010000000110
+01101111111000001100001101101010
+01111101001110100010010000000111
+00011010010000100111111000000000
+01100111111000010100000111110101
+01101111111000110100001101111010
+11100111111000110000000000000101
+01101111111000110000001010010111
+11100111111000110000000000000101
+01101111111000100000001010101011
+11100111111000100000000000000101
+00011000000010100111111000000000
+11100111111000010000000000000101
+00011000000010100111111000000000
+11100111111000001000000000000101
+00011000000000000111111000000010
+11100111111000001000000000000101
+00011010001010110111111000000000
+11100111111000010000000000000101
+00011010011010110111111000000000
+11100111111000010000000000000101
+01000111011001110100000000111001
+01011000000000000000000000000000
+11100111111000010000000000000101
+01101111111000010100001101111000
+11100111111000010000000000000101
+01101111111000101000001010110111
+11100111111000101000000000000101
+01101111111000001000001010100000
+11011000010000000000000010100000
+10011000010000011111111000000000
+11100111111000001000000000000101
+00100000010000000001011111100010
+01011000000000000100000111110101
+00011111111000001000110000010010
+11101111111000011000000000000110
+01100111111000011000001010101111
+00100000011000000000000000000000
+01110000000000000001011000100100
+01110000000010011000111000000000
+01101111111000001100010000100111
+00100000011110100000000000000000
+11011000111000000000000000000000
+00100000010000000111110111101001
+00100100011110100000000000000000
+01000111011001111100000000111001
+01111000001010000111110000000000
+00100000010000000001101111100100
+00100000010000000001110001010110
+00100000010000000001101111101101
+00100100001101101001101111010111
+01101111111000001000000000000011
+00011111111000001111111000000001
+01100111111000001000000000000011
+01101111111000001000000101101011
+00011111111000010111111000001111
+11000000000000011001110000011100
+11000000000000101001110000101110
+01000111011010000100000000111010
+01101111111000001000100110001110
+01101000010010001100010000110010
+10011000010001100111110000000000
+00100100001000101001101111000101
+00011000000010100111111000000000
+11011000010000000000000111111111
+10011000010000010111111000000000
+00011111111000001111111011111010
+00100000010000000111110110000001
+11011000111000000000000000000000
+01101111111000010100010000101000
+00100000001000000111110111011011
+01000111011010001100000000111010
+01111000010101001111110000000000
+01011000100011101000100110111110
+00011111111011010111111000000000
+00011111111000011111111011010110
+10011000000000000001001000000000
+01011000010101010101010101010101
+01100111111000011000001010101111
+00100000001000000001000010101100
+01000111011010010100000000111010
+01101111111000001100010000101010
+01101000010010001100010000101011
+00011000010100100000010000000000
+00011000010010111000010000000000
+10011000010000001000010000000000
+01100000010010001100000111110101
+11000000000000001001101111111110
+01101000010010001100001111100111
+00011000010000001111111000000110
+01100111111000001100000111110110
+01101111111000110100001101111010
+01100111111000110100000111110111
+00011000010000100111001000000000
+11011000110000000100001111101000
+00100000010000000111110111000111
+00100000001000000001110000000100
+01011000000000000000000000001100
+01100111111000001100000111110110
+01101111111000110100001101111010
+01100111111000110100000111110111
+01101111111000110100000111011101
+11100111111000110000000000000101
+01000111011010011100000000111010
+01101111111000001000000000000000
+00011111111000001111111000000001
+01100111111000001000000000000000
+11011011011000000000011100001000
+01111000010101101111110000000000
+00100000001000000001011111001101
+01000111011010100100000000111010
+01101111111000001100010000110011
+11000001100000001000000000000000
+01101111111000001000000000000000
+00011111111000001111111000000001
+01100111111000001000000000000000
+11011000010000000000110000000011
+01101111111000001100010000110100
+01111101001110100000010000000110
+00011010001000100111111000000000
+01111101001110100000010000000111
+01100000010010010100000111110101
+01101111111000110100001101111010
+11100111111000110000000000000101
+01101111111000110000001010010111
+11100111111000110000000000000101
+00100000001000000001011111001101
+01101111111000110000000101110011
+01101000010010110100001101111010
+10011000010001100111110000000000
+00100100011000101000000000000000
+11011000010000000000000000000100
+01101111111000001100010000101011
+01111101001110100000010000000110
+01100000010010001100000111110101
+01101000010010001100010000000111
+00011000010000001111111000000110
+01100111111000001100000111110110
+01101111111000110100001101111010
+01100111111000110100000111110111
+11011000110000000100010000001000
+00011000010000100111001000000000
+00100000010000000111110111000111
+00100000010000000001011111100010
+00100000001000000001101111010111
+01101111111000110000000101110011
+01101000010010110100001101111010
+10011000010001100111110000000000
+00100100011000101000000000000000
+00100000010000000001100100001101
+01100010001000001100001101101010
+01101111111000110000000101101101
+01100111111000110000001010010111
+01101111111001000000000101111001
+01100111111001000000001010101011
+01101000010010010000000110000001
+01000111011010101100000000111010
+00011000010010111000010000000000
+01101111111000010000000110000011
+00011111111010111111111000000000
+01100111111000010000001010001001
+01100111111000100000001010001011
+10011000010001100111111000000000
+00011111111000001101000111111110
+01101111111001001000000110000101
+01100111111001001000001010110011
+01101111111000001000000110001110
+00011111111000010000010000011111
+01100000010010001000001010100000
+00011111111100011000010000000000
+00011000010000110000010000000000
+01100000010010001000001011010111
+11011010001000000000001010000111
+00100000010000000001100111011111
+11011010001000000000001010000111
+00100000010000000001011011001100
+00100000010000000001010110111010
+00100000010000000000101001001000
+00100100011000101000000000000000
+01000111011010110100000000111010
+00100000010000000001000001011101
+00100000010000000001111100011000
+01110000000010010101101100010100
+00100000010000000111100011011100
+00100000001000000000101000110000
+01000111011010111100000000111010
+01101111111000001000000000010110
+11000000000100101001110001011100
+11000000000100110001110001100010
+11000000000100111001110001101000
+00100000001000000001110001101000
+01101000010010001100010000110010
+00101000010011111111111000000001
+00100000001000001001110001110011
+00101000010011111111111000000010
+00100000001000001001110001111000
+00100000001000000001110001101110
+01101000010010001100010000110010
+00101000010011111111111000000010
+00100000001000001001110001111000
+00101000010011111111111000000000
+00100000001000001001110001101110
+00100000001000000001110001110011
+01101000010010001100010000110010
+00101000010011111111111000000000
+00100000001000001001110001101110
+00101000010011111111111000000001
+00100000001000001001110001110011
+00100000001000000001110001111000
+01110000000000000001011000100101
+01101111111000001000100110001110
+01111001001000000111111000000000
+01100111111000001000100110001110
+00100000011000000000000000000000
+01110000000000000001011000100110
+01101111111000001000100110001110
+01111001001000000111111000000001
+01100111111000001000100110001110
+00100000011000000000000000000000
+01110000000000000001011000100111
+01101111111000001000100110001110
+01111001001000000111111000000010
+01100111111000001000100110001110
+00100000011000000000000000000000
+11101111111000011000000000000110
+01100111111000011100010000110110
+11000000000000010001110010010100
+11000000000000011001110010011100
+11000000000000100001110010011111
+11000000000000110001110011001000
+11000000000001000001110100010101
+11000000000001010001110110010011
+11000000000001100001110111000010
+11000000000010000001110111011000
+11000000000010010001111000011011
+11000000000010110001111000111111
+11000000000011000001111001010010
+11000000000011110001111001010111
+11000000001010010001111001011011
+00100000011000000000000000000000
+00011000000000000010001000000011
+00100000010000000001111010000000
+01011000000000000000000000000010
+11100111111000001000000000000101
+01101111111000010100001110000000
+11100111111000010000000000000101
+00100000011000000000000000000000
+00100000010000000001110010011100
+00011000000000000010001000000011
+00100000010000000001111010000000
+01011000000000000000000000000011
+11100111111000001000000000000101
+01101111111000010100001110000000
+11100111111000010000000000000101
+00100000011000000000000000000000
+00011111111011001111111000000000
+01100111111000010100001110000010
+00100000011000000000000000000000
+00100000010000000001111010110000
+00100000010000000111111011000101
+00100000001000000001110010100010
+11011001011000000000000000000011
+00100000010000000001100111111001
+00100000010000000001101000000010
+00100000001110100001110011000110
+00100100001000010001110011000011
+00011000110000001000110111111110
+00100000010000000111110101011110
+00100000010000000111110101010101
+00100100001101000001110010110110
+00100000010000000111110101000011
+00100000010000000111111011000111
+01100001011000100000100101101100
+00011000000000000010001000010100
+00100000010000000001111010000000
+01101001011000100000100101101100
+00100000010000000111110101010001
+01011000000000000000000000000101
+11100111111000001000000000000101
+01011000000000000000000000000001
+11100111111000001000000000000101
+00100000010000000111110101011000
+11101111111000010000000000000110
+00011111111000010111111011111111
+11100111111000010000000000000101
+11101111111000001000000000000110
+00011111111000100111001000000000
+00100000010000000111110111010100
+00100000010000000111110101011011
+00011001011000001001011111111111
+00100000001000101001110011000110
+11101111111000001000000000000110
+10011000110000001000110000000000
+00100000001000000001110010100100
+11101111111000001000000000000110
+10011000110000001000110000000000
+00100000001000000001110011000000
+00100000001101000001111001110100
+00100000001000000001111010100011
+00100000010000000001111010110000
+11101111111000010000000000000110
+01100111111000010100001101011010
+00100000010000000111110101011110
+11011000101000000000100110100010
+01101111111000010100001111010100
+00011111111000001111111111111001
+00100000010000000001111011000001
+00100000001000000001110011011011
+01111000010101000111110000000000
+01101000010010010000100110011110
+01101111111000010000100110100000
+10011000010001100111110000000000
+00100100001000010001110011011000
+00011000010000100111111000000000
+11000001100000000000000000000000
+01111000001101000111110000000000
+01110000000000101101100000000001
+00100000001000000001111001110101
+00100000010000000001110011010001
+00100000011101000000000000000000
+01101000010010010100001101011010
+01011000000000000010100000000000
+10011000010001100111110000000000
+00100000001000101001110011100010
+00100000001000000001111001110100
+01110000010001000011100100000000
+01101000010010010000100110011110
+01100000010010010000100101100100
+00100000010000000001101000111110
+00100100001110100001111001110100
+01101000010010010000100101100100
+00100000010000000001101000111110
+00100100001110100001110011111011
+00011000110000100010001000000000
+01101111111000001000100110110011
+00011111111000100111001000000000
+01101000010010001000100110100010
+10011000010001100111110000000000
+00100100001000101001110011110111
+11011010010000000000100110100011
+00100000010000000111111001100110
+00100000001000101001110011111110
+01101111111000010000100110111011
+01101000010010010100001101011010
+10011000010001100111110000000000
+00100000001000101001110100000110
+01101111111000010000100101100100
+00011111111000001111111000000001
+01100111111000010000100101100100
+00100000001000000001110011100111
+01101111111000001100010000111001
+11000000000000001001110100000110
+00100000001000000001111001110100
+01101111111000010000100110111011
+01101000010010010100001101011010
+10011000010001100111110000000000
+00100100001000101001110011110111
+01110000010001000011100100000001
+01101000010010010000100101100100
+01100000010010010000100110110110
+00100000001000000001110011110111
+01101111111000001100010000111001
+11000000000000000001110011110111
+01110000010001000011100100000010
+01101000010010010000100101100100
+00011000010000001000010111111111
+01100000010010010000100110111000
+11011010001000000000000000000101
+00100000010000000001111010000000
+01011000000000000000000000000111
+11100111111000001000000000000101
+01101111111000010000100110110110
+11100111111000010000000000000101
+01101111111000010000100110111000
+11100111111000010000000000000101
+00100000011000000000000000000000
+00100000010000000001111010110000
+00100000010000000001111010111101
+00100000001000000001110100011000
+01101000010010010000100110011110
+01100000010010010000100101100100
+00100000010000000001100111111001
+00100000010000000001101000010001
+00011000110000001000110111111110
+00011000110000100111111000000000
+01100111111000010000100110110100
+01101000010010010000100110100011
+01011000000000000010101000000000
+10011000010001100111110000000000
+00100000001000101001110101111111
+01011000000000000010100000000011
+10011000010001100111110000000000
+00100100001000101001110101101011
+11011001011000000000000000000010
+00100000010000000001111010000110
+00100100001000010001110101001000
+01101000010010010000100101100100
+00100000010000000001101000111100
+00100100001110100001110101001000
+00100000010000000001111010001010
+00100100001000101001110101000110
+00100100001101000001110101001010
+01111000010101000111110000000000
+11011010001000000000000000010100
+00100000010000000001111010000000
+01011000000000000000000000001001
+11100111111000001000000000000101
+00011000101000100110000000000000
+00011000101000001000101000000001
+00100000010000000001110101011000
+00100000010000000001111010000010
+00100000010000000001101000111100
+00100000010000000001110101011111
+01101111111000001000100110111010
+00011111111000001010001000000101
+11100010001000001000000000110000
+00011010001001100111110000000111
+00100100010000101111111011001001
+00100000010000101111111011001011
+00100000010000000001111010110101
+10011010001001101111110000000000
+00100000010000000111111001100100
+00011000000001111001011000000000
+00011001011000001001011111111111
+00100000001000101001110101001000
+00100000010000000001111010000010
+00100000001000000001110100100111
+00100000001101000001111001110100
+00100000001000000001111010100011
+00100000010000000001111010010101
+00100000010000000001111010000010
+00100000010000000001101000111100
+00100000010000000001111000001001
+00100100001110100001110101001000
+00100000010000000111110101010101
+01101111111000010000100101100100
+00011111111000001111111111111111
+11100111111000010000000000000101
+00100000010000000001111010011111
+00100000010000000001110101011111
+00011001011000001001011111111111
+00100000001000101001110101001000
+00100000001000000001110101000110
+01101111111000010000100101100100
+11100111111000010000000000000101
+01101111111000001000100110110011
+00011111111000100111001000000000
+00100000010000000111110101011000
+00100000010000000111110111000111
+00100000001000000111110101011011
+00100000010000000111110101010101
+01101111111000010000100101100100
+11100111111000010000000000000101
+00100000010000000111110101011011
+01101111111000001000100110111010
+00011111111000100111001000000000
+00100000010000000111110101010101
+00100000010000000111110101011000
+10011111001001100000110000000000
+00011000110000001000110111111111
+00100000010000000111110111000111
+00100000001000000111110101011011
+00100000010000000001101000100001
+00100000001110100001111001110100
+00011000110000100010011000000000
+00011000110000001000110111111011
+11101111111000010000000000000110
+01100111111000010000100101100100
+11011010001000000000000000010100
+00100000010000000001111010000000
+01011000000000000000000000001001
+11100111111000001000000000000101
+11101111111000001000000000010011
+00011111111000100111001000000000
+00011111111000001111111000000010
+11100111111000001000000000000101
+01101111111000010000100101100100
+11100111111000010000000000000101
+00011010011000001000110000000001
+00100000010000000111110111000111
+00100000010000000111110101011011
+00100000001000000001111010100011
+11011000010000000010101000000000
+00100000010000000001101000100001
+00100000011110100000000000000000
+00011000110000001000110111111011
+11101111111000010000000000000110
+01100111111000010000100101100100
+11011010001000000000000000010100
+00100000010000000001111010000000
+01011000000000000000000000001001
+11100111111000001000000000000101
+01101111111000001100001011110111
+00011111111000100111001000000000
+00011111111000001111111000000010
+11100111111000001000000000000101
+01101111111000010000100101100100
+11100111111000010000000000000101
+11011000110000000100001011111000
+00100000010000000111110111000111
+00100000010000000111110101011011
+00100000001000000001111010100011
+00100000010000000001111000111001
+01101000010010010100010000110111
+01101111111000001100001111000000
+11000010100000011001110110111000
+00100000010000000001101000010001
+00100100001000101001111001110100
+00100000010101000001110110111110
+00100000011101000000000000000000
+00100000010000000001101000011110
+00011000110000001000110111111110
+11101111111000010000000000000110
+11011000010000000010101000000000
+10011000010001100111110000000000
+00100000001000101001110110101110
+11101111111000001000000000000110
+00011111111001100111110000010110
+00100000001000010001110110100101
+00011000000000000111111000010110
+00011111111000100010011000000000
+00100000010000000111110101011110
+00011010011000001010001000000001
+00100000010000000001111010000000
+01011000000000000000000000001011
+11100111111000001000000000000101
+00011010011000100111001000000000
+00100000010000000111110101011000
+00100000001000000111110111010100
+00100000010000000111110101011110
+01101111111000001100001011110111
+00011111111000001010001000000001
+00100000010000000001111010000000
+01011000000000000000000000001011
+11100111111000001000000000000101
+01101111111000001100001011110111
+00011111111000100111001000000000
+11011000110000000100001011111000
+00100000001000000111110111010100
+01101111111000010100001111010001
+10011000010001100111110000000000
+00100100001000101001110110010111
+00100100001101000001110110010111
+01110000000000101101100000000101
+00100000001000000001111001110101
+00011000110000001000110111111110
+11101111111000010000000000000110
+11000010100001110001110110111100
+00100000001000000111111011000111
+11101111111000010000000000000110
+01100111111000010000100110100010
+11011010001000000000000000010100
+00100000010000000001111010000000
+01011000000000000000000000001101
+11100111111000001000000000000101
+01101111111000010000100110100010
+10011000000000000010001000000000
+01101000010010010100010000110111
+00100000010000000001101000001110
+00100000001110100001111001110100
+11101111111000001000000000000110
+10011010001001100111001000000000
+00100100001000010001111001110100
+00011111001001100111110000010110
+00100000001000010001110111010011
+00011000000000000111001000010110
+00011010001000100111111000000000
+10011000110000001000110000000000
+00100000010000000111110111000111
+00100000010000000111110101011011
+00100000001000000001111010100011
+00100000010000000001111010110000
+00100000010000000001111010111101
+00100000001000000001110111011011
+11011001011000000000000000000010
+01101000010010010000100110011110
+01100000010010010000100101100100
+00100000010000000001101000010001
+00011000110000001000110111111110
+00011000110000100111111000000000
+01100111111000010000100110110100
+00100000010000000001111010000110
+00100100001000010001111000010001
+01101000010010010000100101100100
+00100000010000000001101000111100
+00100100001110100001111000010100
+00100000010000000001111010001010
+00100100001000101001111000000111
+00011001011000100111111000000000
+11000000000000000001111000010100
+00100100001101000001110111111101
+01111000010101000111110000000000
+11011010001000000000000000010100
+00100000010000000001111010000000
+01011000000000000000000000010001
+11100111111000001000000000000101
+01101111111000001000100110110011
+00011111111000001010001000000100
+11100010001000001000000000000101
+00100000010000000111110101011011
+00011010001001100111110000000110
+00100100010000101111111011001001
+00100000010000101111111011001011
+00100000010000000001111010110101
+10011010001001101111110000000000
+00100000010000000111111001100100
+00011000000001111001011000000000
+00100000001000000001111000000011
+00100000010000000001111000001011
+00100100001110100001111000010100
+01101111111000010000100101100100
+00011111111000001111111111111111
+01100111111000010000100110111000
+00100000010000000001111010011010
+01101111111000010000100101100100
+01100111111000010000100110110110
+00100000010000000001111010010101
+00011001011000001001011111111111
+00100000010000000001111010000010
+00100000001000000001110111100010
+01101111111000001000100110111010
+00100000001000000001111000001100
+01101111111000001000100110110011
+00100000001101100001111000001111
+00011111111000001111111111111110
+00100000011000000000000000000000
+00011111111000001111111111110000
+00100000011000000000000000000000
+01101111111000010000100101100100
+01100111111000010000100110111000
+00100000001000000001111000011000
+01101111111000010000100101100100
+00011111111000001111111111111111
+01100111111000010000100110111000
+00100000001000000001111000011000
+00100000001101000001111001110100
+00100000010000000001111010011010
+00100000001000000001111010100011
+00011000110000100010001000000000
+01101111111000010100001111010100
+00011111111000001010010111111101
+00100000010000000001100111010001
+00100000010000000001111000111001
+01101000010010010100010000110111
+00100000010000000001101000010001
+00100100001000101001111000110111
+00100000010101000001111000110011
+00100000011101000000000000000000
+01101111111000001100001111000000
+11000011000000100001111000101110
+01101000010010010100010000110111
+01101111111000010100001111010001
+10011000010001100111110000000000
+00100100001000101001111000101110
+00100000010000000001111000111001
+00100100001101000001111000101110
+00100000001000000001110110111100
+00011000000000000010001000000001
+00100000010000000001111010000000
+01011000000000000000000000010011
+11100111111000001000000000000101
+00100000011000000000000000000000
+00011000110000001000110111111110
+11101111111000010000000000000110
+11000010100001111001110110111100
+00100000001000000111111011000111
+01110000000000101101100000000001
+00100000001000000001111001110101
+00100000010000000111111011000111
+01101111111000001100001110011101
+11000001000000000000000000000000
+01101111111000001100000001000000
+11000011100000100000000000000000
+00100000001000000111111011000101
+00011000110000001010001000000010
+01101111111000010100001111010100
+00011111111000001010010111111011
+00100000010000000001100111010001
+00100000001000000001111001000100
+01101111111000010100001111010100
+00011111111000100010001000000000
+00100000010000000001111010000000
+01011000000000000000000000010111
+11100111111000001000000000000101
+01101111111000010100010000110111
+11100111111000010000000000000101
+01101111111000010100001111010100
+00011111111000001111001111111011
+01101111111000010100001111011000
+00011111111000001000110000000111
+11101111111000010000000000000110
+11100111111000010000000000000101
+00100000001000000111110111000111
+00011000000000000010001000000001
+00100000010000000001111010000000
+01011000000000000000000000011001
+11100111111000001000000000000101
+00100000011000000000000000000000
+01101111111000001100010000110101
+01111001001111111111111000000000
+01100111111000001100010000110101
+00100000011000000000000000000000
+00011000110000100010001000000000
+01101111111000010100001111010100
+00011111111000001010010111111101
+00100000001000000001100111010001
+00011000010000100010011000000000
+00011010001000001010001000000011
+00100000010000000001111010000000
+00011010001000001010001111111101
+01011000000000000000000000011011
+11100111111000001000000000000101
+00011010011000100000010000000000
+11100000010000010000000000000101
+00100000011000000000000000000000
+01101111111000001100010000110101
+01111001001000000111111000000000
+01100111111000001100010000110101
+00011000010000100010011000000000
+00011010001000001010001000000011
+00100000010000000001111010000000
+00011010001000001010001111111101
+01011000000000000000000000011101
+11100111111000001000000000000101
+00011010011000100000010000000000
+11100000010000010000000000000101
+00100000011000000000000000000000
+01110000000000101101100000001010
+00011000000000000010001000000101
+00100000010000000001111010000000
+01011000000000000000000000000001
+11100111111000001000000000000101
+01101111111000001100010000110110
+11100111111000001000000000000101
+01101111111000010100010000110111
+11100111111000010000000000000101
+01101111111000001000001011011000
+11100111111000001000000000000101
+00100000011000000000000000000000
+00011000000000000010010000000100
+00100000001000000001101011111001
+01101000010010010000100101100100
+00011000010000001000010000000001
+01100000010010010000100101100100
+00100000011000000000000000000000
+01101000010010010000100101100100
+01101111111000010000100110100000
+10011000010001100111110000000000
+00100000011000000000000000000000
+01101000010010001000100110100010
+11011010001000000000100110100011
+01101111111000001000100110111010
+00011111111000100111001000000000
+10011000010001100111110000000000
+00100100011000101000000000000000
+11011010010000000000100110111011
+00100000001000000111111001100110
+01101000010010001100001101011001
+11011010001000000100001101011010
+00100000001000000001111010001100
+01101111111000001000100110110011
+01100111111000001000101000000001
+00011111111000100111001000000000
+00100000010000000111110101011000
+00100000001000000111110111000111
+00100000010000000111110101010101
+01101111111000010000100110110110
+11100111111000010000000000000101
+01101111111000010000100110111000
+11100111111000010000000000000101
+01101111111000001000101000000001
+00011111111000100111001000000000
+00100000010000000111110111000111
+00100000001000000111110101011011
+01000111011011000100000000111011
+00100000010000000111110101010101
+00100000010000000001101100011101
+00011000101000100111111000000000
+10011000110001100010001000000000
+00100000010000000001101100100000
+00011010001000100111111000000000
+11100111111000010000000000000110
+00011010001000001010001000000100
+00100000010000000001101100010010
+00011010001000100111111000000000
+11100111111000001000000000000110
+00100000011000000000000000000000
+00011111111011001111111000000000
+01100111111000010000100110011110
+11101111111000010000000000000110
+01100111111000010000100110100000
+00100000011000000000000000000000
+01101111111000010100001110000010
+00011111111000001111111111111110
+01101000010010010100001110000000
+00011000010000001000010111111110
+00100000010000000111111010111011
+11011000010000000000000011110000
+00100000010000000111111010111011
+00100000011000000000000000000000
+00100000010000000111110101011110
+11011000101000000000100110100010
+01101111111000010100001111010100
+00011111111000001111111111111011
+11100111111000001000000000000101
+00011111111000100111001000000000
+00100000010000000111110101011000
+00100000001000000111110111000111
+01101111111000010000000101101111
+11000001100000100000000000000000
+01101111111000001100010000110101
+01111001001000000111111000000001
+01100111111000001100010000110101
+01101111111000011000000101110001
+01100111111000011100010000110110
+01111001001000000000000000001111
+11000000000010010001111011100000
+11000000001010010001111011100101
+11000000000011000001111001010010
+11000000000000010001110010010100
+11000000000011110001111001010111
+01111001001111111000000000001111
+01101111111000001100010000110101
+01111001001111111111111000000001
+01100111111000001100010000110101
+00100000011000000000000000000000
+01101111111000001100010000110101
+11000100000000001000000000000000
+01111001001000000000000000001111
+00100000010000000001111011101111
+00100000010000000001111011110101
+00100000010101000001111011010011
+01101111111000001100010000110110
+11000000000010010001111000011111
+00100000011000000000000000000000
+00100000010000000001111011100101
+00100000001000000001111011100010
+00100000010000000001111011110101
+00100100011101000000000000000000
+00100000001000000001111000011111
+00100000010000000001111011101000
+11011010001000000000000101110100
+00100000001000000001100111010001
+01101111111000001000000101101100
+00011111111000001010010111111001
+00011111111000001111111111111100
+01100111111000010100001111010110
+01101000010010010000000101101101
+01100000010010010100001111010100
+00100000011000000000000000000000
+01101010010000001000000101101100
+01101111111000010100001111010110
+10011010010000001000010000000000
+01100000010010010100001111010110
+11011010001000000000000101101101
+00100000001000000001100111010001
+00100000010000000111111011000111
+01101111111000010100001111010110
+01101000010010010100001111010100
+10011000010001100111110000000000
+00100100011000101000000000000000
+00100000001000000111111011000101
+11101111111000001000000000000110
+11101000010000001000000000000110
+11101000010000010000000000000110
+11000000000010011001111100000000
+00100000011000000000000000000000
+11101111111000010000000000000110
+01100111111000010100001111011011
+01110000000010010101101101000000
+00100000001000000111100011011100
+11011010001000000000000000001100
+11011010011000000000000000010010
+00100000010000000001111100001100
+01011000000000000000000000001000
+11100111111000010000000000000101
+01101111111001000100001101110010
+11100111111001000000000000000101
+00100000011000000000000000000000
+00100000010000000001111100010100
+11011010010000000000000000000101
+00100000010000000001101011111001
+00011010011000100111111000000000
+11100111111000001000000000000101
+01101111111000001100001111011010
+11100111111000001000000000000101
+00100000011000000000000000000000
+01101111111000001100001111011010
+00011111111000001111111000000001
+01100111111000001100001111011010
+11000001100000000000000000000000
+01110000010000111101101000000001
+00100000011000000000000000000000
+01101111111000001100001110011101
+11000000000000000001111100101001
+11000000000000001001111100101100
+11000000000000010001111100101110
+11000000010000001001111100100010
+11000000010000010001111100100100
+11000000010000011001111100100111
+00100000011000000000000000000000
+01110000010000110101001100001101
+00100000001000000001111100101010
+01110000010000110101001100001101
+01110000010000110101000100000001
+00100000011000000000000000000000
+01110000010000110101001100001101
+00100000001000000001111100101111
+01110000010000110101001100000000
+01110000010000110101000100000011
+00100000011000000000000000000000
+01110000010000110101001100000101
+00100000001000000001111100101010
+01110000010000110101001100000101
+01110000010000110101000100000000
+00100000011000000000000000000000
+01101111111000001100011010111011
+01111001001000000111111000000000
+01100111111000001100011010111011
+00100000011000000000000000000000
+01101111111000001100011010111011
+01111001001111111111111000000000
+01100111111000001100011010111011
+00100000011000000000000000000000
+11101111111000001000000000000110
+11000000000000001001111101001101
+11000000000000011001111101110100
+11000000000000100001111110010101
+11000000000000101001111110100010
+11000000000000111010000000001010
+11000000000001000001111111110110
+11000000000001001010000000000110
+11000000000001010010000000001010
+11000000000001011010000000001010
+11000000000001100010000000001011
+11000000000001101010000000010000
+00100000011000000000000000000000
+00011000000000000010001000000010
+00100000010000000010000010110110
+01011000000000000000000000001011
+11100111111000001000000000000101
+01101111111000001100001101010011
+11100111111000001000000000000101
+00100000011000000000000000000000
+01100111111000001100001101001001
+11101111111000110000000000000110
+11100111111000110000000000000101
+01101111111000001100001110011101
+11000000000000000001111110100111
+00100000010000000001111101101111
+01101111111000001100011010111001
+00100000001110100001111101011001
+01101111111000001100001101001100
+11000011000000011011001010000001
+01101111111000001100001110011101
+11000011000000111011001010000001
+01110000010000111001101100000011
+01101111111000001100001101001010
+11000000000000000001111101100001
+11000000000000001001111101100001
+11000000000000011001111101100001
+01101111111000001100001110011101
+11000000000000010001111101100100
+11000001010000011000000000000000
+11011111111000000000000000000000
+01100111111000100100001110011110
+00100000011000000000000000000000
+01101111111000001100001111000000
+11000010100000000001111101101101
+11011010001000000100001110011110
+00011010001000100000101000000000
+11011111001000000000000000000011
+00100000010000000101101010010000
+01101111111000010100001110100000
+00011111111000010111111000000111
+01100111111000010100001110100000
+01110000000010010101101100110100
+00100000001000000111100011011100
+00011000000000000010001000000111
+00100000010000000010000010110110
+01101111111000111100001101010000
+11100111111000111000000000000101
+00100000011000000000000000000000
+01110000010000111001101100000101
+11011000101000000100001100100111
+00100000010000000111110101111111
+01101111111000001100001110011101
+11000000010000011001111101111100
+11000000000000100001111101111111
+11000000010000100001111110000001
+00100000001000000001111110000100
+01110000010000111001100000000010
+01110000010000111001100100001000
+00100000011000000000000000000000
+01110000000010010101101101000011
+00100000001000000111100011011100
+01101111111000100100001110011110
+00100000001110100001111101111111
+00100000001000000001111101111100
+01110000010000111001101100000110
+01101111111000001100001110011101
+11000010100000111001111110001101
+00100000010000000110110010111010
+00011000000000000010001000010001
+00100000010000000010000010110110
+01011000000000000000000000000011
+11100111111000001000000000000101
+00100000001000000110111000111100
+11011000101000000100001100110111
+00100000010000000101101010001111
+00100000010000000110101011100011
+00011000000000000010001000010001
+00100000010000000010000010110110
+01011000000000000000000000000011
+11100111111000001000000000000101
+00100000001000000110101100011111
+00011000110000100010001000000000
+01101111111000001100001110011101
+11000010100000111001111110101001
+00011010001000100000110000000000
+00100000010000000110110010110010
+00100000001000101001111110111110
+01110000000000101101100100000100
+00011000000000000010001000000010
+00100000010000000010000010110110
+01011000000000000000000000000101
+11100111111000001000000000000101
+01101111111000001000001011011001
+11100111111000001000000000000101
+00011000000000000000111000001010
+00100000010000000111110111011010
+01110000010000111001101100000000
+01110000000010010101101100110000
+00100000001000000111100011011100
+01110000000000101101100100000101
+00100000001000000001111110011100
+11011000101000000000001001110111
+00011010001000100000110000000000
+00100000010000000111110101111111
+01101111111000001100001110011101
+11000000010000011001111110110101
+11000000010000100001111110110101
+00100000010000000110101001101101
+00100000010000000001111111000011
+01101111111000001100001110011101
+11000001110000010000000000000000
+01110000000010010101101100111011
+00100000001000000111100011011100
+00100000010000000110101011011000
+11011000101000000000100110111110
+00100000010000000110101100011111
+11011010001000000000100110111110
+11011010010000000100001100100111
+11011111001000000000000000010000
+00100000010000000111111001100110
+00100100001000101001111110011011
+00100000001000000001111111000011
+00100000010000000110110010101110
+01110000000010010101101100110001
+00100000010000000111100011011100
+01110000010000110010011000000001
+01110000010000111001101100001001
+00011000000000000010001000010001
+00100000010000000010000010110110
+01011000000000000000000000000100
+11100111111000001000000000000101
+11011000110000000100001100110111
+00100000001000000111110101111111
+00011000000000000010001000010001
+00100000010000000010000010110110
+01011000000000000000000000000110
+11100111111000001000000000000101
+01101111111000001100001111000000
+11000010100000001001111111010001
+11011000110000000100001100010110
+00100000001000000111110101111111
+11011000110000000100001111000001
+00100000001000000111110101111111
+11011000101000000100001110100010
+00011000000000000111001000001010
+00100000010000000101101010010000
+00011000000000000010001000001011
+00100000010000000010000010110110
+01011000000000000000000000000111
+11100111111000001000000000000101
+01101111111000010100001110100010
+11100111111000010000000000000101
+01101111111001000100001110100100
+11100111111001000000000000000101
+00100000011000000000000000000000
+00011000000000000010001000010001
+00100000010000000010000010110110
+01011000000000000000000000001000
+11100111111000001000000000000101
+01011000000000000000000000000000
+11100111111001000000000000000101
+11100111111001000000000000000101
+00100000011000000000000000000000
+00011000000000000010001000001000
+00100000010000000010000010110110
+01011000000000000000000000001001
+11100111111000001000000000000101
+01101111111000001100001101110001
+11100111111000001000000000000101
+01101111111000110100001101111010
+11100111111000110000000000000101
+00100000011000000000000000000000
+01110000000000101101100100001000
+00100000001000000001111110011100
+01101111111000001100001101010101
+01101000010010001100001101010101
+10011000010000010111111000000000
+00100000011000000000000000000000
+11011000101000000100001110101100
+00100000010000000111110101111111
+00100000010000000001111111110010
+00101111111011000000000000000001
+00100000001000001001111111110000
+01101111111000001100000010011010
+11000001100001010000000000000000
+00100000010000000010000000000000
+00100100011101000000000000000000
+00100000001000000011001010001111
+00100000010000000111111011000111
+01101111111000001100001101101010
+11000001000000000000000000000000
+01101111111000001100001101001110
+11000100000000001000000000000000
+00100000001000000111111011000101
+00100000010000000001111111110010
+00101111111011000000000000000001
+00100000001000001001111111110000
+00100000011000000000000000000000
+00100000011000000000000000000000
+11011000101000000000100010000000
+00100000010000000111110101110010
+01110000010000111001100000000010
+01110000010000111001100100000001
+00100000011000000000000000000000
+11011000101000000000100100110000
+00100000010000000111110101111111
+01110000010000111001100100000110
+01110000010000111001100000000010
+00100000011000000000000000000000
+00011000000000000010001001000001
+00100000010000000010000010110110
+01011000000000000000000000001100
+11100111111000001000000000000101
+11011000110000000100011011011111
+00100000001000000111110101110010
+00100000010000000110101010000100
+00011000000000000010001000010001
+00100000010000000010000010110110
+01011000000000000000000000001101
+11100111111000001000000000000101
+00100000001000000110101100011111
+01101111111000001100001110011011
+11000001011111111000000000000000
+11011000010000000000000000000011
+10011000010001100111110000000000
+00100100011000010000000000000000
+11011000111000000000000000001010
+00100000010000000111110111101001
+00100100011110100000000000000000
+00100000001000000001111111110000
+01000111011011001100000000111011
+00100000010000000001101100100100
+00100100011110100000000000000000
+01101111111000001100001110011011
+11000000000000000010000000110111
+11000000000000001010000000111101
+11000000000000010010000000110111
+11000000000000011010000000111111
+11000000000001001010000001000011
+11000000000001011010000001010011
+11000000000001100010000001010101
+11000000000001101010000001011100
+00100000011000000000000000000000
+01101111111000001100001110011100
+11000001100000100000000000000000
+01110000010000111001110011111111
+01110000010000111001101111111111
+01110000000010010101101100111111
+00100000001000000111100011011100
+01110000010000111001101100000010
+00100000001000000001111101000110
+01110000010000111001101100000100
+01011000000000010111011100000000
+11011000111000000000000000001010
+00100000001000000111110111011011
+01101111111000001100001110011100
+11000000000000100010000001000110
+00100000011000000000000000000000
+01101111111000001100001110011101
+11000010100000111010000001010001
+01110000010000111001101100001011
+00100000010000000001111111001001
+01110000000010010101101100101001
+00100000010000000111100011011100
+01101111111000001100000010011010
+11000001100001010000000000000000
+00100000010000000010000000000000
+00100000011101000000000000000000
+00100000001000000011001010001111
+01110000010000111001101100001100
+00100000001000000010000001001010
+01110000010000111001101100001100
+00100000001000000001111111010011
+01101111111000001100001101001111
+01101000010010001100001101010110
+10011000010000010111111000000000
+00101111111011000000000000000001
+00100000001000001010000001011110
+01110000010000111001101100001101
+00100000001000000001111111011111
+00100000010000000001111111100111
+00100000001000000010000001011110
+00011000000000000000111000001010
+00100000010000000111110111011010
+01110000010000111001110011111111
+01110000010000111001101111111111
+01110000000010010101101100111110
+00100000001000000111100011011100
+01000111011011010100000000111011
+01101111111000001100001110011101
+11000100000000111000000000000000
+01101111111000001100001110011000
+11000001100000010000000000000000
+01110000010000111001100000000000
+01101111111000001100001110011001
+11000000000000001010000010101100
+11000000000000010010000010110011
+11000000000000011010000010100100
+11000000000000110010000010001001
+11000000000000111010000010000000
+11000000000001000010000001110110
+00100000011000000000000000000000
+01110000010000111001100000000000
+01110000010000111001100100000000
+01110000010000111001101000000000
+00100000011000000000000000000000
+01101111111000001100011101110000
+00011111111000100000111000000000
+00011111111000001111111000000001
+01100111111000001100011101110000
+01101111111000100100001110011110
+10101111111011111111111111111111
+01011000000000000000000010000000
+01111001001000001111111000000000
+01100111111000001100011101110001
+00100000001000000010000010101000
+01101111111000001100001110011010
+01110000010000111001101000000000
+11000000000000001010000010000101
+01110000010000111001100000000010
+00100000011000000000000000000000
+01110000000010010101101100110001
+00100000010000000111100011011100
+01110000010000111001101100001001
+00100000001000000010000000011011
+01101111111000001000100001111011
+11000000000000011010000010001101
+01110000010000111001100000000010
+00100000011000000000000000000000
+00100000010000000110101010101011
+01101111111000001100001110011101
+11000000010000011010000010010010
+11000000010000100010000010010010
+00100000010000000001111101100001
+00100000010000000110101010011000
+11011010001000000000100110111110
+11011010010000000000100100110000
+11011111001000000000000000010000
+00100000010000000111111001100110
+00100000001000101010000010011010
+01110000000000101101100100001011
+00100000001000000001111110011100
+00100000010000000110111101011000
+00100100001000101010000010011000
+01110000010000110010011000000001
+01101111111000001100001110011101
+11000000010000001010000010000101
+11000000010000011010000010000101
+11000000010000100010000010000101
+01110000010000111001100000000010
+01110000010000111001100100000111
+00100000011000000000000000000000
+01101111111000001100001110011101
+11000000010000011010000010101001
+11000000010000100010000010101001
+01110000010001110111000100000000
+00100000001000000001111110000100
+01110000010001110111000000000000
+11000001010000100000000000000000
+00100000001000000001111101100100
+01110000010000111001100000000010
+01101111111000001100011010111110
+11000000000000011010000010110000
+00100000011000000000000000000000
+01110000010000111001100100000010
+01110000000010000111101100000000
+00100000001000000111010111101100
+01110000010000111001100000000010
+01110000010000111001100100000011
+00100000001000000010000000010101
+00011000000000000010010000000110
+00100000001000000001101011111001
+01101111111000001000000101101101
+11000000000000000010000011001111
+11000000000000001010000011010111
+11000000000000010010000011011111
+11000000000000011010000011100011
+11000000000000100010000100000010
+11000000000000101010000100000111
+11000000000000110010000100001011
+11000000000000111010000100010000
+11000000000001000010000100010001
+11000000000001001010000100010010
+11000000000001010010000100010011
+11000000000001011010000100010111
+11000000000001100010000100011000
+11000000000001101010000100011010
+11000000000010010010000100011011
+11000000000010011010000100011100
+11000000000010100010000100011101
+11000000000010101010000100011111
+11000000000010110010000100101010
+11000000000011000010000100101011
+01101010011000001000000101101101
+00100000001000000010000101001110
+11101111111001001000000000000110
+01100111111001001000001010111110
+11101111111000010000000000000110
+01100111111000010000001010100111
+01101111111000001000001010000111
+01111001001000000111111000000101
+01100111111000001000001010000111
+00100000011000000000000000000000
+11101111111000101000000000000110
+01100111111000101000001010111110
+11101111111000010000000000000110
+01100111111000010000001010100111
+01101111111000001000001010000111
+01111001001000000111111000000110
+01100111111000001000001010000111
+00100000011000000000000000000000
+01011000000000000000000000010100
+01100111111000010000001010110101
+01100111111000010100001110010100
+00100000011000000000000000000000
+11101111111001000000000000000110
+01100111111001000100001110100100
+11101111111000010000000000000110
+01100111111000010100001110100010
+11101111111001000000000000000110
+01100111111001000100001110000100
+11101111111000100000000000000110
+01100111111000100100011010101101
+00100000010000000010000100111011
+01000111011011011100000000111011
+01101111111000001100001110011011
+11000000000001001010000011110101
+01101111111000001100001111000000
+11000010100000001010000011111000
+01101111111000001100010010001011
+00100100010110100110000010111100
+01101111111000001100001100100110
+11000000000000000010000011111101
+01110000010000111001110000000001
+00100000010000000010000101001001
+00100000001000000110110011000000
+01110000010000110010011000000001
+11011000110000000100001111000001
+11011000101000000100001100010110
+00100000010000000111110101111111
+00100000001000000010000011110101
+01000111011011100100000000111011
+01110000010000111001110000000000
+01110000010000111001101100000000
+01110000000010010101101101000001
+00100000001000000111100011011100
+11101111111001000000000000000110
+01100111111001000100001110001100
+11101111111000100000000000000110
+01100111111000100100011010110001
+00100000001000000110110011000000
+01101111111000001000001010000111
+01111001001000000111111000000100
+01100111111000001000001010000111
+00100000011000000000000000000000
+00100000011101001000000000000000
+01110000000010010101101100110010
+00100000010000000111100011011100
+01110000010000111001110000000100
+00100000001000000010000101001100
+00100000011000000000000000000000
+00100000001000000010000101010011
+00100000011000000000000000000000
+01110000010000111001110000000010
+00100000010000000010000101011010
+01110000000010010101101100110011
+00100000001000000111100011011100
+00100000011000000000000000000000
+00100000011101001000000000000000
+00100000001000000010000101011100
+00100000011000000000000000000000
+00100000001000000010000101101000
+00100000011000000000000000000000
+00100000010000000010000100011111
+00100000001000000010000101101100
+11101111111001000000000000000110
+01100111111001000100010001000100
+01101111111000010100010001000100
+01101000010010010100010001010000
+00100000010000000111111010111011
+01100111111000010100010001000100
+01101111111000010100010001001000
+01101000010010010100010001001100
+00100000010000000111111010111011
+01100111111000010100010001001000
+00100000011000000000000000000000
+00100000001000000010000101110010
+11101111111000010000000000000110
+01100111111000010000001010111110
+11101111111000010000000000000110
+01100111111000010000001010100111
+00100000011110100000000000000000
+01101111111000001000001010000111
+01111001001000000111111000000111
+01100111111000001000001010000111
+00100000011000000000000000000000
+11011010011000000000000000010011
+11011010001000000000000000000010
+11011010010000000000000000000010
+00100000010000000001101011110100
+00011010011000100111111000000000
+11100111111000001000000000000101
+00100000011000000000000000000000
+11011000101000000100001110001100
+00011000000000000111001000001000
+00100000010000000101101010010000
+11011000101000000100011010110001
+00011000000000000111001000000100
+00100000010000000101101010010000
+11011010001000000000000000001101
+11011010010000000000000000000100
+00100000010000000001101011110100
+01101111111001000100001110001100
+11100111111001000000000000000101
+01101111111000100100011010110001
+11100111111000100000000000000101
+00100000011000000000000000000000
+01110000010000111001110000000101
+11011010010000000000000000000101
+00100000001000000010000101111100
+11011010010000000000000000000110
+00100000001000000010000101111100
+11011010001000000000000000000010
+11011010010000000000000000000111
+00100000010000000001101011110100
+11100010011000001000000000000101
+00100000011000000000000000000000
+11011010001000000000000000001001
+11011010010000000000000000001001
+00100000010000000001101011110100
+01101111111001000100010000111010
+00011111111000011111111000000001
+11100111111001000000000000000101
+00100000011000000000000000000000
+11011010010000000000000000001011
+00100000001000000010000101111100
+11011010001000000000000000000110
+11011010010000000000000000001100
+00100000010000000001101011110100
+01101111111000101100010111111010
+11100111111000101000000000000101
+00100000011000000000000000000000
+11011010001000000000000000000010
+11011010010000000000000000001101
+00100000010000000001101011110100
+01011000000000000000000000000110
+11100111111000001000000000000101
+00100000011000000000000000000000
+11011010010000000000000000010011
+00100000001000000010000101111100
+11011010010000000000000000010100
+00100000001000000010000101101101
+11011010010000000000000000010101
+11011010001000000000000000001001
+00100000010000000001101011110100
+01101111111001000100010001001100
+11100111111001000000000000000101
+00100000011000000000000000000000
+11011010001000000000000000000011
+11011010010000000000000000010111
+00100000010000000001101011110100
+01101111111000001100010001000010
+00011111111000010111111000000111
+11100111111000001000000000000101
+01101111111000001100010001000011
+00011111111000010111111000000111
+11100111111000001000000000000101
+00100000011000000000000000000000
+11011010001000000000000000000001
+00100000001000000001101011110100
+01000111011011101100000000111011
+11000101000100111010001111100001
+00100000001000000010011000100010
+01111000010001001111110000000000
+01111000010000111111110000000000
+01011000010101010101010101010101
+10011000000000000001111000000000
+01101111111000001100100000111101
+00100000001000000001011001101111
+01000111011011110100000000111011
+01101111111000001100100001100111
+00100000010000000001011000110111
+01101111111000100100100000111111
+10011000000000000001001000000000
+00100000010000000001000010101100
+00100000010000000001000101011101
+01101000010010001100100000111101
+00100000010000000001011001110100
+00100000010000000010000110000001
+11000101100101111010000110010101
+01111000001111001111110000000000
+00100000000000000000000000011110
+00100000010000000010000110000001
+01111000010101111111110000000000
+01111000001001101111110000000000
+01111000001100001111110000000000
+01111000010100000111110000000000
+01111000001010000111110000000000
+01101111111000010100100000111011
+10011000000000000011011000000000
+00110111110000011000010000000000
+00100100001011000010000111101111
+00100000010000000100110100001101
+11000101000101111010000110100100
+01101111111000001100100001111010
+00100100001110100010000110100100
+01111000010001101111110000000000
+01111000001001011111110000000000
+01111000001000111111110000000000
+01111000001001001111110000000000
+00100000010000000010000111101100
+01100111111000001100100001011101
+01101000010010001100100001011100
+10011000010001100111110000000000
+00100100001000101010000111110001
+01000111011011111100000000111011
+01111000010110001111110000000000
+00101000000011111111111000101111
+00100000010000001010000111011110
+00100000001110001010000111110001
+00100000010000000010000111101100
+01100111111000001100011110100111
+11000101000100111010000110110111
+01101111111000001100011110100111
+01101000010010001100100000111001
+10101000010000000000111000000000
+00100100001000001010000111110001
+00100000010000000010000111101100
+00101000000011111111111000101111
+00100000010000001010000111100111
+11100111111000001000000000000101
+00011111111010010111111000000000
+00011111111001100111110000011111
+00100100001000010010000111110001
+00011111111000100111001000000000
+00100000001000101010000111000011
+00100000010000000010000111101100
+11100111111000001000000000000101
+11000010000000000010000111000000
+11000101000100111010000111001000
+00011000101000100010001000000000
+00100000010000000010000111101100
+01100111111000001100100010000010
+00011010001000100000101000000000
+00001001100000000000000000011000
+00011111111011110111111000000000
+00011111111100010111111000000000
+11100111111000011000000000000101
+01101111111000001100100001111010
+00100100001110100010000111011100
+01111000010001011111110000000000
+00101000000011111111111000100111
+00100000010000001010010111100101
+00100000001000110010000111110001
+00100000010000000100110100001100
+01111000001101111111110000000000
+00100000010000000001011101011100
+01000111011100000100000000111100
+11000110000100111000000000000000
+01101111111000001100100010000010
+01101000010010001100100011010001
+10011000010001100111110000000000
+00100000010000010111111010111101
+00100000001000000010010111101001
+01111000010001101111110000000000
+00100000001000000010000111001111
+00100000010000000010000111101100
+00011111111001100111110000000001
+00100000001000010111111011001101
+00011111111000001111111111111110
+11000101000100111010000111100101
+00100000001110100111111011001101
+00011111111000001111111111111111
+01100111111000001000100101100100
+00100000011000000000000000000000
+00011111111000010111111000000111
+01101000010010001000100101100100
+00011000010010011000010000000000
+10011000010000011111111000000000
+00100000011000000000000000000000
+00001001100000000000000000001000
+00011001100010010111111000000000
+00100000011000000000000000000000
+00101000000011111111111000100111
+00100000010000001010011000000001
+00100000010000000001011001011110
+01111000010011011111110000000000
+01111000010001011111110000000000
+00100000001000000000111001111100
+00100000010000000001000101011101
+01101000010010001100100000111101
+00100000001000000001001000000001
+01000111011100001100000000111100
+01101111111000001100100001101000
+00100000010000000001011000110111
+01101111111000100100100000111111
+10011000000000000001001000000000
+00100000010000000010000110000001
+00100000010000000010000111110101
+01111001001000000010101000000000
+01111000001011101111110000000000
+01111000001100000111110000000000
+01111000010100001111110000000000
+00100000010000000100110100010011
+01111000010111010111110000000000
+11000101000101111010001000101001
+11000101000101101010001000111011
+00011001001100010111111000000000
+00011111111011001111111000000000
+00011111111100011111111000000000
+00001000000000001000011000101000
+11000101000101111010001000010000
+01101111111000001100100001111010
+00100100001110100010001000010000
+01111000010011101111110000000000
+01111000001011011111110000000000
+01111000001000111111110000000000
+01111000001001001111110000000000
+01101111111000001100100000111010
+10011000000000000111001000000000
+11011000110000000100011111101001
+11101111111000001000000000000110
+00001000000000001000011000001000
+11000010000000000010001000010101
+01111000001001000111110000000000
+00001000000000001000011000011000
+01111000010001000111110000000000
+11000101100101111010001000011111
+01111000010000111111110000000000
+01011000000000000000000000000000
+00001000000000001000011000000011
+00110111110100111000001000000000
+00100000000000000000000001100100
+01111000010111010111110000000000
+01111000010011101111110000000000
+01101111111000001100100001111010
+00100100001110100010001000100110
+01111000010011011111110000000000
+01111000010111000111110000000000
+00100000010000000001000101011101
+00100000001000000100110100010001
+11011111001000000000000000001010
+01011000000000000000000000111100
+00001000000000001000011000001000
+11000010000000000010001000101010
+01111000010011101111110000000000
+01111000001111000111110000000000
+00011001001100010111111000000000
+00011111111100010111111000000000
+00011111111100011111111000000000
+00001000000000001000011000100000
+11000101000101110010001000111000
+01011000000000000000000000000001
+00001000000000001000011000000101
+01111000001111010111110000000000
+00100000001000000010001000001011
+01011000000000000000000000000000
+00001000000000001000011000000101
+00100000001000000010001000001011
+01101111111000001100000111110000
+00011111111000110111001000000000
+00100000000000000000000000000010
+11000010000000000010001000111101
+00011001001100010111111000000000
+00011111111011001111111000000000
+00011111111100011000010000000000
+00011000010000100111111000000000
+00001000000000001000011000001000
+00011000010000100111111000000000
+00001000000000001000011000101000
+00100000001000000010001000001011
+01101111111000001100100001101000
+11000010100000010010001001100110
+01101111111000001100100000111000
+00011111111000001111111000000011
+01100111111000001100100000111010
+01101111111000001100100001011100
+01100111111000001100011111101001
+01101111111000001100100000111001
+11100111111000001000000000000101
+01101111111000001100100000111000
+00011111111010011111111000000000
+01101000010010001100100000101110
+00011000010000010000010000000011
+00011000010000111000010000000000
+10011000010000011111111000000000
+01101000010010001100100000101111
+10011000010000001111111000000000
+11100111111000001000000000000101
+01101111111000001100100000111000
+10011000000000000111001000000000
+11011000110000000100011111001001
+00100000010000000111110111010100
+11000110100100111000000000000000
+01101111111000001000000101010100
+11100111111000001000000000000101
+01101111111000001100100001101000
+11000011100000010000000000000000
+01101111111000001100100000111010
+00011111111000001111111000000001
+01100111111000001100100000111010
+00100000011000000000000000000000
+01101111111000001100100000111000
+00011111111000001111111000000100
+11000101100100111010001001101010
+00011111111000001111111000000001
+01100111111000001100100000111010
+01101111111000001100100001011100
+01100111111000001100011111101001
+01101111111000001100100000111010
+00011111111000001111111111111110
+11100111111000001000000000000101
+01101111111000001100100000111001
+11100111111000001000000000000101
+01011000000000000000000000000000
+00100000001000000010001001010001
+01101111111000001100011110101000
+00011111111010010111111000000000
+01100111111000001100100000101101
+00011111111000001111111000000001
+11011000110000000100011110101000
+10011000110000001000110000000000
+11101111111000011000000000000110
+01100111111000011100100000110000
+01101111111000001100011110101000
+00011111111000110111111000000000
+00011111111000010111111000000011
+01100111111000001100100000110110
+00100000011000000000000000000000
+01101000010010001100100000111110
+00100000010000000010001010000101
+01100000010010001100100000111110
+00100000011000000000000000000000
+00100000010000000010001010001001
+00011000010000001000010000000001
+00011000010000010000010000000011
+00100000011000000000000000000000
+01101111111000001100100000111111
+00011111111000010111111000000011
+00011111111011111010001000000100
+01011000000000000100100001000011
+10011010001000001111111000000000
+10011000010000001000110000000000
+11101111111000001000000000000110
+01100111111000001100100000111101
+00100000011000000000000000000000
+01100111111000100100100000111111
+11011010001000000000000000000000
+11011111001000000000000000000100
+11011000110000000100100000111111
+11101111111000001000000000000110
+10011010001000001010001000000000
+11000010000000000010001010010110
+00011010001000100111111000000000
+01100111111000010100100001011010
+01101111111000001100100001011010
+01101000010010001100100001011011
+10011000010000001111111000000000
+01100111111000001100100001011100
+00100000011000000000000000000000
+00100000010000000111111011000111
+01101000010010100100100001010011
+00011100010000100111111000000000
+10011000010001100111110000000000
+00100100010000010010001010101111
+00011111111000100010010000000000
+01101111111000100100100001010011
+01101000010010001100100001010111
+10011000010000001000010000000000
+00011010010000100111111000000000
+10011000010001100111110000000000
+00100100011000010000000000000000
+01111001001111111111111000011100
+01100111111000100100100001010011
+00100000001000000111111011000101
+00100000011000101000000000000000
+01111001001000000111111000011100
+00100000011000000000000000000000
+01011000000000000000000000000000
+01100111111000100100100001010011
+00100000011000000000000000000000
+00111000000000000001001100000000
+00111000000001011001000010001011
+00111000000010110110000101010000
+00111000000011000011110100100000
+01100111111001001100100001000011
+00111000000000000011101000011010
+00111000000001001100010001010011
+00111000000010001101001100010010
+00111000000011000000000000000001
+11100111111000111000000000000101
+01101111111000001100100001101001
+00100000011110100000000000000000
+11011000110000000100100001101010
+11011000101000000100100001000011
+00100000001000000111110101111111
+01011000010011100000000000011110
+01100111111000011100100001101011
+01011000000000110010001100000011
+11100111111000011000000000000101
+01011000001001010000011001000010
+11100111111000011000000000000101
+01011000000010010100110000000110
+11100111111000011000000000000101
+01011000001111000000100100100111
+11100111111000011000000000000101
+01110000010010000110100100000001
+00100000011000000000000000000000
+11011000010000000110100101111000
+11000101000100111010001011010110
+11011000010000000001001011000000
+01101111111000001100100001100111
+11000011000000010010001011010110
+11011000010000000010111011100000
+01100000010010010100100000111011
+00100000011000000000000000000000
+01110000010010000110011100000001
+01110000010010000110100000000001
+00100000011000000000000000000000
+01110000010010000111111101001110
+01011000000100000001010100100000
+01100111111000011100100001111011
+01011000000000000000000000000101
+11100111111000001000000000000101
+00100000011000000000000000000000
+11011010011000000100100010000111
+11011010010000000010011010000011
+00100000001000000011001000000011
+01111001001000000000000000100110
+01101111111000001100100010100101
+01111001001111111111111000000010
+01111001001000000111111000000001
+01100111111000001100100010100101
+01011000000000000000000000000000
+01100111111000010100100010001011
+01101111111000010100100010000101
+01100111111000010100100010000111
+01110000010010001000010000000000
+00100000010000000010001100100010
+01110000010010000010111000000000
+01101111111000001100100001111111
+01100111111000001100100000111101
+01101111111000001100100010000000
+01100111111000001100000111101000
+01101111111000100100100001111011
+00100000001000000010001010010010
+01000111011100010100000000111100
+01101111111000001100100010000011
+11000000011111111010001101000100
+11000000000000001010001011111110
+11000000000000010010001100000000
+11000000000000011010001100000110
+11000000000000100010001100001100
+00100000011000000000000000000000
+01110000010001111100100111111111
+00100000001000000010001100001101
+01101111111000001100100001011110
+00100000001110100010001100000100
+01101111111000100100100010101101
+00100000010000000010001010010010
+01110000010001111100100110101010
+00100000001000000010001100001101
+01110000010001111100100101010101
+01101111111000001100100001011110
+00100000001110100010001100001101
+01101111111000100100100010010101
+01100111111000100100011111001011
+00100000001000000010001100001111
+01110000010001111100100100100010
+01101111111000100100100010101101
+01100111111000100100011111001011
+01101111111000001100100000111001
+00011111111000010111111000000111
+01100111111000001100011111001010
+01110000010001111100111100000000
+01110000010010000011100000000111
+00100000010000000010001001000111
+00100000010000000010011001100010
+00100100011011000000000000000000
+00100100011101111000000000000000
+00100000010000000010010110100000
+00100000010000000010011001111001
+01000111011100011100000000111100
+01101111111000001100100010000011
+11000001011111111000000000000000
+11000000000000001010001100100111
+11000000000000010010001100101001
+11000000000000011010001100101111
+11000000000000100010001100110111
+00100000011000000000000000000000
+01110000010010001000001100000010
+01101111111000001100100001011110
+00100000011110100000000000000000
+01110000010010001000001100000001
+00100000011000000000000000000000
+01110000010010001000001100000010
+00100000001000000010011001011110
+01101111111000001100100001011110
+00100000001110100010001100101101
+01101111111000100100100000001111
+01100111111000100100100010010101
+01110000010010001000001100000011
+00100000001000000010011001011110
+01101111111000001100100001011110
+00100000001110100010001100110101
+01101111111000100100100000001111
+01101000010010100100100010101101
+10011000010001100111110000000000
+00100100011000101000000000000000
+01110000010010001000001100000100
+00100000001000000010011001011110
+01101111111000001100100001011110
+00100000001110100010001100111101
+01101111111000100100100000001111
+01101000010010100100100010010101
+10011000010001100111110000000000
+00100100011000101000000000000000
+01110000010010001000001111111111
+01110000000010010101101100111001
+00100000010000000111100011011100
+01011000000000000000000000000000
+01100111111000010100100010000111
+01101111111000100100100000001111
+00100000010000000010001010010010
+01101111111000001100100010100101
+01111001001111111111111000000001
+01100111111000001100100010100101
+00100000001000000010011001011110
+01110000010010001100001100000001
+01110000010010001100001000000000
+00100000011000000000000000000000
+01101111111000001100100011000010
+11000011100000001000000000000000
+01111001001000000111111000000001
+01100111111000001100100011000010
+01011000000000000000000000000000
+01100111111000011100100010000010
+01100111111000100100100011011001
+01110000010010001011111000000001
+00100000001000000010001011101111
+01110000010010001011111000000001
+01110000010010000011100000001000
+11011000110000000100100010000101
+11011000101000000100011111001001
+00100000001000000111110101111001
+00100000010000000010001111111010
+00100000010000000010000110000111
+00100100001101111010001111111010
+00100000010000000010001101100111
+00100000010000000010010000101100
+00100000010000000010001111010110
+00100000010000000011100000000101
+01101111111000001100100001011110
+00100000011110100000000000000000
+01101111111000100100100011011001
+00100000011110100000000000000000
+00100000001000000010001010010010
+00100000010000000010001111111010
+00100000001000000010000111110001
+01110000010010001100111100000101
+11011000110000000100011110100111
+11011000101000000100100010010101
+00100000010000000111110101111001
+01000111011100100100000000111100
+01101111111000001100100010010111
+11000000010101010010001101110010
+11000000001010101010001101111111
+11000000000100010010001110011100
+11000000011111111010010110111110
+00100000011000000000000000000000
+01101111111000001100100010011000
+11000000000000001010001101110110
+11000000000000010010001101111100
+00100000011000000000000000000000
+01110000010010001000001000000001
+01110000010010001000010100000001
+01110000010010001000011010000000
+01101111111000110100000010101000
+01100111111000110100100010000111
+00100000011000000000000000000000
+01110000010010001000001100000001
+01110000010010001000010100000010
+00100000001000000010001101111000
+01101111111000001100100001011110
+00100000001110100010001110000101
+01101111111000100100100010011001
+01101000010010100100000010101000
+10011000010001100111110000000000
+00100100011000101000000000000000
+01101111111000001100100010011000
+11000000000000001010001110001001
+11000000000000010010001110010100
+00100000011000000000000000000000
+01101111111000001100100010000010
+11000000000000001010001110001100
+00100000011000000000000000000000
+01110000010010001000001000000010
+01101111111000001100100001011110
+00100000001110100010001101110111
+01110000010010001000010100000001
+01110000010010001000011010000000
+01101111111000100100100011011001
+01100111111000100100100010000111
+00100000001000000111111011000101
+01101111111000001100100010000011
+11000000000000001010001110010111
+00100000011000000000000000000000
+01110000010010001000001100000010
+01101111111000001100100001011110
+00100000001110100010001101111101
+01110000010010001000010100000010
+00100000001000000010001110010000
+01101111111000001100100001011110
+00100000001110100010001110100010
+01101111111000100100100010011001
+01101000010010100100100011011001
+10011000010001100111110000000000
+00100100011000101000000000000000
+01101111111000001100100010011000
+11000000000000001010001110100110
+11000000000000010010001110110001
+00100000011000000000000000000000
+01101111111000001100100010000010
+11000000000000010010001110101001
+00100000011000000000000000000000
+00100000010000000010001111001010
+00100000010000000010001101110111
+01101111111000001100100010000100
+00011111111000011111111000000001
+01100111111000001100100010000100
+01011000000000000000000000000000
+01100111111000010100100010000010
+00100000011000000000000000000000
+01101111111000001100100010000011
+11000000100000000010001110110100
+00100000011000000000000000000000
+00100000010000000010001111010000
+00100000010000000010001101111101
+01101111111000001100100010000100
+00011111111000011111111000000010
+01100111111000001100100010000100
+00100000010000000010001110101110
+00100000001000000011011111111111
+01101111111000001100100011000011
+11000001100000001000000000000000
+01101111111000001100100010111101
+00100100011110100000000000000000
+01101111111000001100011110101010
+11000000000000001010001111000011
+11000000000000010010001111000111
+00100000011000000000000000000000
+01101111111000001100100011011000
+11000100000000000000000000000000
+01111000010101111111110000000000
+00100000011000000000000000000000
+01101111111000001100100011011000
+11000100000000001000000000000000
+00100000001000000010001111000101
+01101111111000001100100010111101
+00100100011110100000000000000000
+01101111111000001100100011011000
+00011111111000011111111000000001
+01100111111000001100100011011000
+00100000011000000000000000000000
+01101111111000001100100010111101
+00100100011110100000000000000000
+01101111111000001100100011011000
+00011111111000011111111000000010
+01100111111000001100100011011000
+00100000011000000000000000000000
+01101111111000001100100010000100
+00100000011110100000000000000000
+01101111111000001100100010011000
+11000000000000001010001111001010
+11000000000000010010001111010000
+00100000011000000000000000000000
+01111001001000000000000000100111
+01101111111000001100000111101000
+01100111111000001100100011010000
+00100000010000000010001011010000
+00100000001000000010010111110100
+01101111111000010100100010001101
+00100000001000000111111001111010
+01110000010010000011100000000000
+01101111111000001100100010111110
+00100000011110100000000000000000
+01101111111000010100100010001111
+00100000001000000111111001111010
+00100000010000000010010000101001
+00100100001101111010001111111010
+00100000010000000010010000011011
+00100100001101000010001111111010
+01101111111000001100100000101101
+00100000001110100010001111111010
+00011111111000001111111000000010
+10011000000000000111001000000000
+11011000110000000100011110100111
+11011000101000000100100010010101
+00100000010000000111110111010100
+01110000010010001100000000000000
+01101111111000001100100010111101
+00100000010110100010010000110110
+01101111111000001100100010010111
+11000000000000001010001111111111
+11000000000000010010010000001110
+11000000011111111010001111111101
+11011000101000000100011110100111
+11011111001000000000000001000010
+00100000001000000111110110011011
+00100000010000000010001111011000
+00100000001000000010010110111110
+00100000010000000010001111001010
+00100000010000000010010101011100
+01101111111000001100100010110111
+01101000010010001100100010010101
+00101000010011111111111000000011
+01111001001000001111111000000000
+01100111111000001100100010110111
+11000000000000001010010000010100
+01101111111000001100100010111111
+01101000010010001100100010010101
+00101000010011111111111000000100
+01111001001000001111111000000000
+01100111111000001100100010111111
+01101111111000010100100010010001
+00100000001000000111111001111010
+00100000010000000010001111010000
+01101000010010001100100010010101
+00101000010011111111111000000011
+00100000001000001010010000011001
+01101111111000010100100010010011
+00100000001000000111111001111010
+01101111111000001100000010011010
+00011111111001100111110000001110
+00100000010000101011010011110000
+01101111111000100100100010011111
+00100000001000000010010111000100
+01101111111000100100100010011111
+00100000001000000010010111001000
+00100000010000000111111011000111
+01101111111000001100100000110110
+01101000010010001100100000110111
+10011000010001100111110000000000
+00100100010000101111111011000101
+01101111111000001100100000110110
+01100111111000001100100000110111
+01101111111000011100100000110000
+01101000010010011100100000110011
+10011000010001100111110000000000
+00100100010000101111111011000101
+01101111111000011100100000110000
+01100111111000011100100000110011
+00100000011000000000000000000000
+00100000010000000010001111111010
+00100000010000000010000110000111
+00100100011101111000000000000000
+01101111111000001100011110100111
+01100111111000001100100000111001
+00100000010000000010001001110100
+01101111111000001100011110101000
+00101111111011111111111000000000
+00100000001000001010010000110101
+00100000010000000010001111100011
+00100000010000000010001001000111
+00100000010000000010000111111000
+00100000001000000010000111110001
+01110000010010001100000100000001
+01011000000000000000001010000000
+11011000111000000000000000001000
+00100000001000000111110111011011
+01110000010010001100000000000001
+01110000010010001100010000000000
+01110000010010000101011111111111
+00100000001000000010001010110010
+01000111011100101100000000111100
+01101111111000001100100011000000
+00100000011110100000000000000000
+00100000010000000010001010100000
+00100100011101000000000000000000
+00100000010000000010010001001011
+01101111111000001100100011000100
+00011111111000001111111000000001
+00011111111000010111111000000001
+01100111111000001100100011000100
+11000000000000000010010001010000
+11000000000000001010010001010011
+00100000011000000000000000000000
+01101111111000001100100011001111
+00100000011110100000000000000000
+00011111111000001111111111111111
+01100111111000001100100011001111
+00100000011000000000000000000000
+01101111111000001100100011001111
+00100100011110100000000000000000
+00100000001000000010010010010011
+01101111111000001100100011001111
+00100100011110100000000000000000
+00100000001000000010001101001000
+01101111111000001100100011010111
+00100100011110100000000000000000
+01101111111000001100100011010101
+00100000010110100010010010000011
+01101111111000001100100011010010
+11000011100000000000000000000000
+01111001001000000111111000000000
+01100111111000001100100011010010
+01110000010010001101000100000001
+01110000010010001101011000000000
+01011000000000000000000000000000
+01100111111000010100100011010011
+01110000010010000101011101100000
+00100000001000000010001010110010
+01101111111000001100100011000011
+11000001000000000000000000000000
+01101111111000001100100011010111
+00100100011110100000000000000000
+01101111111000001100100011010101
+00100100011110100000000000000000
+01101111111000001100100011010001
+00100000011110100000000000000000
+00100000010000000010001010100000
+00100100011101000000000000000000
+01101111111000010100100011010011
+00011111111000001111111000000001
+01100111111000010100100011010011
+11011000010000000000011111010000
+10011000010001100111110000000000
+00100000001000010010010001111111
+00100000010000000010010001001011
+01101111111000001100100011010110
+00011111111000001111111000000001
+00011111111000010111111000000001
+01100111111000001100100011010110
+11000000000000000010010001111100
+11000000000000001010001101001000
+00100000011000000000000000000000
+01101111111000001100100011001111
+00100100001110100010001101001000
+00100000001000000010010101000100
+01110000010010001101010100000001
+00100000001000000010010101000100
+01110000010010001101000100000000
+00100000011000000000000000000000
+01110000010010001101000100000001
+00100000011000000000000000000000
+01101111111000001100100011000010
+11000011100000000000000000000000
+01111001001000000111111000000000
+01100111111000001100100011000010
+01101111111000001100100011010000
+01100111111000001100000111101000
+01110000010010001011111000000000
+01110000000010111111100100000000
+01110000010010001011011100000001
+01110000010010000010111000000000
+01101111111000100100000010101000
+00100000010000000010001010010010
+00100000010000000010001010000001
+00100000001000000010001111111010
+01110000010010001011111000000000
+01110000010010001100001100000000
+01110000010010001100001000000000
+00100000011000000000000000000000
+01101111111000001100100011000011
+11000001100000000000000000000000
+00100000010000000010010010000101
+00100000010000000010010101000111
+00100000001000000010001111101000
+01000111011100110100000000111100
+01101111111000001100100011000011
+11000001100000001000000000000000
+00100000010000000010001101001011
+00100000010000000010001101011001
+01101111111000001100100010111101
+00100100011110100000000000000000
+01101111111000001100100010000100
+00100000011110100000000000000000
+01110000010010001100000000000000
+00100000010000000010010010010011
+00100000010000000010010000110110
+00100000001000000010001010110010
+01101111111000001100100011000010
+11000011100000111000000000000000
+01111001001000000111111000000111
+01100111111000001100100011000010
+01110000010010001100010000000000
+01110000010010001011111000000001
+01011000000000000000000000000000
+01100111111000011100100011101010
+01100111111000111100100011000111
+00100000010000000010010100110110
+00100100011000101000000000000000
+01101111111000001100100000111110
+01100111111000001100100011000110
+01101111111000001100100000111101
+01100111111000001100100011000101
+00100000011000000000000000000000
+01000111011100111100000000111100
+01101111111000001100100011000011
+11000001100000111000000000000000
+00100000010000000010010010101001
+00100000010000000010010011011111
+00100000010000000010010000101001
+00100100001101111010001111111010
+00100000010000000010010100110110
+00100000010000101010001111101010
+01101111111000001100100010110111
+00100000010110100010010010000001
+01110000010010001100001100000000
+01101111111000001100100011000010
+01111001001000000111111000000000
+01100111111000001100100011000010
+01101111111000001100100010111110
+00011111111001100111110000000010
+00100100010000101010010100110100
+00100000010000000010001111111010
+00100000010000000010010000110110
+00100000010000000010010100110110
+00100000001000101010010011011000
+01101111111000100100100000111111
+01101000010010100100100011100001
+10011000010001100111110000000000
+00100000001000101010010011011011
+01101111111000100100100000111111
+01101000010010100100100011011101
+10011000010001100111110000000000
+00100000001000101010010011011101
+00100000011000000000000000000000
+01101111111000001100100011000110
+01100111111000001100100000111110
+00100000011000000000000000000000
+01101111111000001100100011001100
+00100000001000000010010011011001
+01101111111000001100100011001001
+00100000001000000010010011011001
+01101111111000001100100011000100
+00011111111000001111111000000001
+00011111111000010111111000000011
+01100111111000001100100011000100
+11000000000000000010010100000010
+11000000000000001010010100011100
+11000000000000010010010011101000
+11000000000000011010010100011100
+00100000011000000000000000000000
+00100000010000000010001101110111
+01101111111000100100100011011101
+00100000001110100010010011011111
+00100000010000000010001010010010
+01101111111000001100100011001010
+00100000010110100010010011111101
+01101111111000001100100011001000
+01100111111000001100100000111101
+01101000010010001100100011101011
+01101010001000010100100011110001
+00100000010000000010010111001010
+01100000010010001100100011101011
+00100000010000000010010111010010
+01100000010010001100100011101000
+00011000010001100111110001010000
+00100100011000010000000000000000
+01101000010010001100100011001001
+00100000010000000010001010000101
+01100000010010001100100011001001
+01100111111000001100100011001000
+00100000011000000000000000000000
+01110000010010001100101000000001
+11011000010000000000000000000000
+00100000010000000010001010001001
+01100111111000001100100011001000
+00100000011000000000000000000000
+00100000010000000010001101111101
+01101111111000100100100011100001
+00100000001110100010010011011111
+00100000010000000010001010010010
+01101111111000001100100011001101
+00100000010110100010010100010111
+01101111111000001100100011001011
+01100111111000001100100000111101
+01101000010010001100100011101100
+01101010001000010100100011110011
+00100000010000000010010111001010
+01100000010010001100100011101100
+00100000010000000010010111010010
+01100000010010001100100011101001
+00011000010001100111110001010000
+00100100011000010000000000000000
+01101000010010001100100011001100
+00100000010000000010001010000101
+01100000010010001100100011001100
+01100111111000001100100011001011
+00100000011000000000000000000000
+01110000010010001100110100000001
+11011000010000000000000000000000
+00100000010000000010001010001001
+01100111111000001100100011001011
+00100000011000000000000000000000
+00100000010000000010001101110111
+01101111111000100100000010101000
+00100000010000000010001010010010
+01101111111000001100100011000111
+00100000010110100010010100110000
+01101111111000001100100011000101
+01100111111000001100100000111101
+01101000010010001100100011101010
+01101010001000010100100011101111
+00100000010000000010010111001010
+01100000010010001100100011101010
+00100000010000000010010111010010
+01100000010010001100100011100111
+00011000010001100111110001010000
+00100100011000010000000000000000
+01101000010010001100100011000110
+00100000010000000010001010000101
+01100000010010001100100011000110
+01100111111000001100100011000101
+00100000011000000000000000000000
+01110000010010001100011100000001
+01101111111000001100100011000101
+01100111111000001100100000111101
+00100000011000000000000000000000
+01110000010010001011111000000000
+00100000011000000000000000000000
+01101111111000100100100000111111
+01101000010010100100000010101000
+10011000010001100111110000000000
+00100000011000000000000000000000
+01101111111000001100100010111110
+11000001000000010000000000000000
+01101111111000001100100011000001
+00100000011110100000000000000000
+11011000111000000000000000001000
+00100000010000000111110111101001
+00100100011110100000000000000000
+01110000010010001100000100000000
+01110000010010001100111100000000
+00100000010000000010010001010110
+01110000010010001100001100000111
+01110000010010001100001000000000
+00100000001000000010001111111010
+01101111111000001100100010110111
+11000000000000001010011000001000
+01101111111000001100100010111111
+11000000000000001010010101011010
+01101000010010100100100010111000
+00011100010000100111111000000000
+10011000010001100111110000000000
+00100100010000010010001010101111
+00011111111000100010010000000000
+01101111111000100100100010111000
+01101000010010001100100010111100
+10011000010000001000010000000000
+00011010010000100111111000000000
+10011000010001100111110000000000
+00100100011000010000000000000000
+01111001001111111111111000011100
+01100111111000100100100010111000
+01110000010010001011011100000001
+00100000001000000010001010000001
+01110000010010001011111100000000
+00100000001000000010001010000001
+00011100010000100111111000000000
+01100111111000100100100010111000
+00100000011000000000000000000000
+11011010011000000100100010001011
+11011010010000000010011010000011
+00100000001000000011001000000011
+01000111011101000100000000111101
+01111001001000000000000000100110
+01101111111000001100100010100101
+01111001001111111111111000000001
+01111001001000000111111000000010
+01100111111000001100100010100101
+01101111111000001100100010010000
+00100000001110100010010101110111
+01101111111000001100100010001111
+11000000000000001010010101101111
+11000000000000010010010101101111
+11000000000000011010010101111110
+11000000000000100010010101111110
+01101111111000001100100010000000
+01100111111000001100000111101000
+01101000010010001100100010011001
+01100000010010001100100000111110
+01101111111000100100100010010001
+00100000010000000010010110000111
+01100000010010001100100010011001
+00100000011000000000000000000000
+01110000010000011110100000000011
+01101000010010001100100010011010
+01100000010010001100100000111110
+01101111111000100100100010010101
+00100000010000000010010110000111
+01100000010010001100100010011010
+00100000011000000000000000000000
+01110000010000011110100000000011
+01101000010010001100100010011011
+01100000010010001100100000111110
+01101111111000100100100010101101
+00100000010000000010010110000111
+01100000010010001100100010011011
+00100000011000000000000000000000
+01101111111000100100100000001111
+01100111111000100100100010010101
+00100000010000000010001010010010
+00100000001000000010001010000001
+01000111011101001100000000111101
+00100000010000000010010110100011
+00100000010000000010011001100010
+00100100001011000010010110101010
+00100100001101111010010110101010
+00100000010000000010011001111001
+01101111111000001100100010100101
+01111001001111111111111000000010
+01100111111000001100100010100101
+01011000000000000000000000000000
+01100111111000010100100010000111
+01100111111000010100100010001101
+01100111111000010100100010001011
+01101111111000100100100001111011
+01101000010010100100100000111111
+10011000010001100111110000000000
+00100000001000101010001011100100
+01101111111000100100100010101101
+01101000010010100100100000111111
+10011000010001100111110000000000
+00100000010000101010010110000101
+01110000000010010101101100111100
+00100000010000000111100011011100
+11011111001000000000000000000100
+11011000101000000100011111001001
+00100000001000000111110110001100
+01110000010001111100100111111111
+01101111111000001100100000111001
+01100111111000001100011111001010
+01101111111000100100100010101101
+01100111111000100100011111001011
+01110000010010000011100000000110
+00100000001000000010001001000111
+01101111111000001100100010010000
+00100000001110100010001010000001
+01101111111000010100100010001101
+00011111111000001111111000000001
+01100111111000010100100010001101
+00101111111011111111111000000011
+01101111111000001100100010001111
+11000000000000001010010110110110
+11000000000000010010010110111000
+11000000000000011010010110111010
+11000000000000100010010110111100
+00100000001000000010010101110111
+00100000001000001010010101110111
+00100000001000000010010101101111
+00100000001000001010010101111110
+00100000001000000010010101101111
+00100000001000001010010101111110
+00100000001000000010010101110111
+00100000001000001010001011101111
+00100000001000000010010101111110
+01101111111000001100100010011000
+11000000000000001010010111000010
+11000000000000010010010111000110
+00100000011000000000000000000000
+01101111111000100100100010011001
+01100111111000100100100011011001
+01100111111000100100100011011101
+00100000011000000000000000000000
+01101111111000100100100010011001
+01100111111000100100100011011001
+01100111111000100100100011100001
+00100000011000000000000000000000
+00011010001000100111111000000000
+10011000010000001000101000000000
+01101111111000001000000000011000
+11100111111000001000000000000101
+00011000010000001000010000000001
+01101111111000001100100010000001
+10011000010000010000010000000000
+00100000011000000000000000000000
+01101111111000001100100010000001
+00011111111000001111111000000001
+01100111111000010000100110000111
+00011111111000100111001000000000
+00011010001000100000110000000000
+11011111111000000000000000000000
+11101000010000001000000000000110
+10011000010000001111111000000000
+11000010000000000010010111011000
+01101000010010010000100110000111
+10011000010001101111110000000000
+00100000010000000111111001100100
+00011000000001111000010000000000
+11000110000100111000000000000000
+00011000010000100111111000000000
+11000110100100110000000000000000
+00100000010000000001001010010111
+00011111111000100000010000000000
+00100000011000000000000000000000
+00100000010000000001001001111111
+00100000001000000001001010010011
+01101111111000010100100010011101
+00100000001000000010010111111011
+00011111111000100010001000000000
+01101000010010001100100010011100
+01101111111000010100100010011101
+10011000010000001000101000000000
+00011010001000100111111000000000
+11100111111000001000000000000101
+00011000010000001000010000000001
+01101111111000001100100010000001
+10011000010000010000010000000000
+01100000010010001100100010011100
+00100000011000000000000000000000
+01101111111000010100100011101101
+00100000010000000010010111111011
+01101111111000010100100011101111
+00100000010000000010010111111011
+01101111111000010100100011110001
+00100000010000000010010111111011
+01101111111000010100100011110011
+00100000011110100000000000000000
+00011111111000100000101000000000
+01101111111000001100100010000001
+00011111111000001111111000000001
+00011111111000100111001000000000
+00100000001000000111110110011011
+00100000010000000010010111100101
+00100000011110100000000000000000
+01101000010010001100100011100110
+01101010001000010100100011101101
+00100000010000000010010111001010
+01100000010010001100100011100110
+00100000011000000000000000000000
+01101010001000010100100011101101
+00100000010000000010010111010010
+01100000010010001100100011100101
+00011000010001100111110001010000
+00100100011000010000000000000000
+00100000001000000010001010000001
+01101111111000100100000010101000
+01100111111000100100100010101101
+00100000010000000010001011010000
+00100000001000000010010111100111
+01011000000000000010111110110010
+01100111111000011100100010110001
+01011000000100000000110000001100
+01100111111000011100100001010111
+01011000000000001011101110000000
+01100111111000011100100010110100
+01110000010010001100101000000101
+00100000011000000000000000000000
+01011000000000001111100000001100
+01100111111000011100100010110001
+01011000000111000001100100011001
+01100111111000011100100001010111
+01011000000000010111011100000000
+01100111111000011100100010110100
+01110000010010001100101000001011
+00100000011000000000000000000000
+11000110100100110000000000000000
+01101111111000001100100010100101
+11000010100000001010001011110110
+11000010100000010010010110001001
+01101111111000001100100011000001
+11000000000000001010011011001101
+01000111011101010100000000111101
+00100000010000000010011000111000
+00100100001101000010011010101000
+00100000010000000010011001001101
+00100000010000000010011011110101
+01101111111000001100000010011010
+11000000000001000100100000101110
+01101111111001000100100010110100
+01100111111001000100100001011111
+01101111111000010100100011000110
+01100111111000010100100011001000
+00100000010000000010011011000010
+00100100011101000000000000000000
+00100000010000000111111101010010
+01101111111000011100100010110001
+00100000001000000010011010111111
+00100000010000000010011000111011
+00100100011101000000000000000000
+00100000001000000010001001000111
+01101111111000010100100010011111
+00100000010000000111111001111010
+00100000001101000010011001000001
+01101111111000111100011111001010
+00100000011110100000000000000000
+00100000001000000111111011000101
+01110000010010001010101100000000
+00011010001000001111111000000001
+01100111111000001100100000111000
+00100000010000000010011001001001
+01100111111000001100011111001001
+00011010010000100000110000000000
+00011010001000100111001000000000
+00100000001000000111110111010100
+01101111111000001100100000111001
+00011111111000010111111000000111
+01100111111000001100100000111001
+00100000011000000000000000000000
+01110000010010001010101000000000
+01101001011000010000000101011111
+00110100011100110000001000000000
+00100000010000000010011001100010
+01101111111000001100100000101111
+11000000000000001010011001011000
+00100100001011000010011001110000
+00100100001101111010011001110000
+00100000010000000010011001111001
+01101111111000001100000010011010
+11000000000001000100100000101010
+00100000010000000010011100100111
+00100000010000000010010110100000
+01101111111000001100100000101110
+00011111111000001111111000000001
+01100111111000001100100000101110
+00100000010000000010011010011011
+01011000000000000000000000000000
+01100111111000001100100010100110
+01100111111000010100100010100111
+00100000011000000000000000000000
+01111000010101111111110000000000
+00100000010000000010000111111000
+01101111111000001100100000101111
+11000000000000001010000111110001
+00011000000000000010101000000000
+01101111111000100100100000111111
+10011000000000000001001000000000
+00100000010000000001000010101100
+01101000010010001000000000010111
+00100000010000000001000110001011
+00100000010000000001000110100010
+00100000010000000010000110010000
+00100000010101111010000111110001
+00100000011000000000000000000000
+01101111111000001100100010101011
+00100100011110100000000000000000
+01101111111000010100100010100111
+00011111111000001111111000000001
+01100111111000010100100010100111
+01101111111000001100100010101000
+11000010100000100010011010000000
+00100000010000000010011010000101
+00100000001000000010011001001110
+00100000010000000010001001110100
+01101111111000001100100000101101
+00100000011110100000000000000000
+10011000000000000111001000000000
+11011000110000000100011110101001
+11011000101000000100100000001101
+00100000001000000111110111010100
+01011000000000000000000000000000
+01100111111000010100100010100111
+01110000010010001010100100000001
+01110000000010010101101100111010
+00100000001000000111100011011100
+01000111011101011100000000111101
+01101000010010001100100010101010
+01101111111000001100100011001010
+10011000010001100111110000000000
+00100100001000010010011010100011
+00011000010000001000010000000001
+01100000010010001100100010101010
+01101111111000001100100011001010
+11000000000000101010011010010010
+01101111111000001100100010101010
+11000000000000110010011010011101
+11000000000001100010011010011101
+00100000011000000000000000000000
+01101111111000001100100010101010
+11000000000000011010011010011101
+11000000000000110010011010011101
+00100000011000000000000000000000
+11000101000101111010011010011001
+01100111111000001100011111101010
+00100000011000000000000000000000
+01100111111000001100011111101011
+00100000011000000000000000000000
+01101111111000001100100000111001
+11000100000000100000000000000000
+01101111111000001100100000111001
+01111001001111111111111000000100
+01100111111000001100100000111001
+00100000010000000010011010010110
+00100000010000000010011100101011
+00100000001000000010001010000001
+00100000010000000010011100011011
+00100000010000000010011100101011
+00100000001000000010001010000001
+01101111111000010100100010100001
+00100000001000000111111001111010
+01101111111000001100100010101011
+00100000010110100010011010101110
+01101111111000001100100011000001
+11000001000000001000000000000000
+00100000010000000010011010100110
+00100000001000000010011010111100
+01110000010010000011100100000001
+01110000010010001010101100000001
+00100000010000000010011001001001
+01100111111000001100011111001001
+01011000000000000000000000000000
+01100111111000111100011111001010
+01101111111000100100100010101101
+01100111111000100100011111010001
+01110000010010000011100000001100
+01101111111000001100100000111001
+01111001001000000111111000000011
+01100111111000001100100000111001
+00100000010000000010001001000111
+00100000001000000010011000101011
+00100000010000000010011011000010
+00100100011101000000000000000000
+01101111111001000100100001011111
+00100000010000000111111000011111
+01100000010010100100000101100000
+00100000001000000001010001100100
+01000111011101100100000000111101
+01111000001101000111110000000000
+00100000010000000001010000110110
+01101111111000011100000101110100
+00100000001110100111111011000111
+01101111111000001100000010011001
+00100000001110100111111011000111
+01101111111000001100100011000001
+11000000000000001111111011000111
+01101111111000010100100010100011
+00100000001000000111111001111010
+00100000010000000010001010100000
+00100100011101000000000000000000
+00100000010000000010011011100010
+01101111111000010100100011000010
+00011111111000001111111000000001
+01100111111000010100100011000010
+01101000010010010100100011000100
+10011000010001100111110000000000
+00100000010000101010011011010111
+00100000001000000010011000101000
+01110000010010001100000100000000
+01011000000000000000000000000000
+01100111111000010100100011000010
+01011000000000000000000001100100
+01100111111000010100100011000100
+01110000010010001100000000000000
+01101111111000001100100001011000
+01100111111000001100100001010111
+00100000011000000000000000000000
+01101111111000001100100001011001
+00100000001000000010011011011110
+01101111111000001100100011000000
+00011111111000001111111000000001
+01100111111000001100100011000000
+11000000000000100010011011100000
+11000000000000101010011011011100
+00100000011000000000000000000000
+01110000010010001100000100000001
+01011000000000000000000000000000
+01100111111000010100100011000010
+00100000011000000000000000000000
+11011111001000000000000000000010
+11011000110000000100100000111111
+00100000010000000111111011000101
+01011000000000001111111111111111
+11101000010000010000000000000110
+10011000010001100111110000000000
+00100100010000101111111011000111
+11000010000000000010011011110000
+00100000011000000000000000000000
+01000111011101101100000000111101
+01101111111000010100011110001111
+11000011100001011000000000000000
+11000011100000111000000000000000
+11000011100000110000000000000000
+01101010001000010100100010011101
+00100000010000000010010111010010
+01100000010010001100100011001011
+01101111111000001100100011010000
+11000101000100110010011100000000
+01101111111000001100100011010011
+10011000010001100111110000000000
+00100100001000010010011100011010
+01101111111000001100100011001101
+00011111111001100111110000000010
+00100100001000010010011100001000
+01101111111000001100100011001101
+11000000000000000010011100011011
+00100000011000000000000000000000
+01101111111000001100100011001101
+01101000010010001100100011001110
+10011000010001100111110000000000
+00100100011000101000000000000000
+01110000010010001100110100000000
+01101000010010001100100011001011
+01101111111000001100100011001111
+11000101000100110010011100010001
+01101111111000001100100011010010
+10011000010001100111110000000000
+00100100011000010000000000000000
+01101111111000001100100011001100
+11000000000000000010011100100010
+00011111111000001111111111111111
+01100111111000001100100011001100
+11000000000000000010011100100010
+01110000010000011110100000000000
+00100000011000000000000000000000
+01110000010010001100110100000000
+01101111111000001100100011001100
+11000000000000010010011100100000
+00011111111000001111111000000001
+01100111111000001100100011001100
+11000000000000001010011100011000
+01110000010000011110100000000110
+00100000011000000000000000000000
+01110000010000011110100010000101
+00100000011000000000000000000000
+01110000010010001100110000000001
+01110000010010001100110100000000
+00100000011000000000000000000000
+01101111111000001100100011001101
+00011111111000001111111000000001
+01100111111000001100100011001101
+00100000011000000000000000000000
+01101111111000001100100011001101
+00011111111001100111110000000010
+00100100010000010010011100110011
+01101111111000001100100011001101
+11000001000000000000000000000000
+00011111111000001111111111111111
+01100111111000001100100011001101
+00100000011000000000000000000000
+01110000010010001100110100000011
+00100000011000000000000000000000
+01101111111000001000101111100000
+01100111111000001000100111110110
+00011110000000100000110000000000
+00100000010000000111110101111110
+00100000010000000010011110001101
+01101111111000010100100111101111
+00100000001000000111111001111010
+01101111111000001000100111110111
+11000000000000000010011101000100
+11000000010000000010110110010101
+11000000010000010010111010010101
+11000000011010001010011110010001
+11000000011010000010011110101011
+11000000011010101010011110101011
+00100000011000000000000000000000
+11011000110000000000100111111011
+11011000101000000100101100011001
+00100000010000000111110101111111
+01110000010010010110101100000000
+00100000010000000010101100001110
+00100000010000000010101100000000
+00100000010000000010011101011111
+00100000010000000010011101010000
+00100000010000000010011101010101
+01110000010010010110101100000000
+01101111111000010100100111110001
+00100000001000000111111001111010
+01101111111000001000110000111010
+01110000010010010110101100000100
+11000001000000001000000000000000
+01110000010010010110101100000000
+00100000011000000000000000000000
+01011000000000000000000010000000
+01100111111000001000101000010000
+01011000000000000000000000000011
+11100111111000001000000000000101
+01011000000000000000000000000000
+11100111111000001000000000000101
+01101111111000011000100111111000
+11100111111000011000000000000101
+01110000000010100000111100000110
+00100000001000000011000001011101
+01101111111000010100101000010101
+11000011100000010000000000000000
+00100000010000000010111000010100
+00011010001000001010011000000110
+01011111111111111111111111111111
+11100111111001000000000000010011
+11100111111001000000000000000101
+11101111111000010000000000010001
+11100111111000010000000000010011
+00011010010000100111111000000000
+10011010001000001010001000000000
+11000010000000000010011101100010
+01101111111000010100101000010001
+00100000001000000111111001111010
+01011000000000000000000010000010
+01100111111000001000101000010000
+01011000000000000000000000000100
+11100111111000001000000000000101
+01101111111000001000100111111001
+11100111111000001000000000000101
+01110000000010100000111100000011
+00100000001000000011000001011101
+01011000000000000000000010000010
+01100111111000001000101000010000
+01011000000000000000000001001110
+11100111111000001000000000000101
+01101111111000010000100111111001
+11100111111000010000000000000101
+01110000000010100000111100000100
+00100000001000000011000001011101
+01011000000000000000000010000010
+01100111111000001000101000010000
+01011000000000000000000001100000
+11100111111000001000000000000101
+01101111111000100000100111111001
+11100111111000100000000000000101
+01110000000010100000111100000110
+00100000001000000011000001011101
+01011000000000000000000001011110
+01100111111000001000101000010000
+01011000000000000000000000000000
+11100111111000001000000000000101
+01101111111000010000100111111001
+11100111111000010000000000000101
+01110000000010100000111100000100
+00100000001000000011000001011101
+01101111001000001000101111100000
+00011110000000100010001000000000
+11011010010000000000000001010000
+00100000001000000010100111100110
+00100000010000000010011110101100
+00100100011101000000000000000000
+01101111111000010000100111111011
+11011000010000001111000000011111
+10011000010001100111110000000000
+00100000001000101010011111000000
+11011000010000001111000000010000
+10011000010001100111110000000000
+00100000001000101010011111000100
+11011000010000001111000000010001
+10011000010001100111110000000000
+00100000001000101010011111001101
+11011000010000001111000000010010
+10011000010001100111110000000000
+00100000001000101010011111010110
+11011000010000000000010100110100
+10011000010001100111110000000000
+00100000001000101010011110110111
+11011000010000000000010100110011
+10011000010001100111110000000000
+00100000001000101010011110111010
+11011000010000000000000100100011
+10011000010001100111110000000000
+00100000001000101010011110111101
+01101111111000010100100111110101
+00100000001000000111111001111010
+00100000011000000000000000000000
+00100000010000000111111011000111
+01101111111000010000100111111000
+11011000010000000000000110101000
+10011000010001100111110000000000
+00100100011000101000000000000000
+01101000010010001100011110100111
+01101111111000001000100111111010
+10011000010001100111110000000000
+00100000011000101000000000000000
+01100111111000001100011110100111
+00100000001000000111111011000101
+00100000010000000010100000101000
+01101111111000010100101000000101
+00100000001000000111111001111010
+00100000010000000010100000101000
+01101111111000010100101000000111
+00100000001000000111111001111010
+00100000010000000010100000100010
+01101111111000010100101000001001
+00100000001000000111111001111010
+00100000010000000010100000100100
+01101111111000100000100111111101
+01100111111000100100011110101001
+00100000001000000010100001011001
+00100000010000000010100000011110
+00100000010000000010011111101111
+00100000011110100000000000000000
+01101111111000001000100111111101
+00100000010000000010011111101011
+01101000010011000000100111111101
+11100000010001000000000000000101
+01101111111000010100101000010011
+00100000001000000111111001111010
+00100000010000000010100000100000
+00100000010000000010011111101111
+00100000011110100000000000000000
+01110000000010100000010001011001
+01101111111000001000100111111101
+00100000010000000010011111101011
+01101111111001000000100111111101
+11100111111001000000000000000101
+00100000001000000010011111001011
+00100000010000000010011111101000
+00100000010000000010011111101111
+00100000011110100000000000000000
+01101111111000001000100111111101
+00100000011110100000000000000000
+00100000010000000010011111101011
+11011000010000000000000000000000
+11100000010000001000000000000101
+01101111111000001000100111110110
+00011111111001100111110000001000
+00100000010000101010011111100010
+00100000001000000010011111001011
+00100000010000000010011111101111
+01101111111000001000100111111110
+00100000010000000010011111101011
+11011000010000000000000000000000
+11100000010000001000000000000101
+00100000011000000000000000000000
+01101111111000001000100111110110
+11000000000000111010100000101000
+00100000001000000010100000100110
+00011111111000001111111111111111
+00011111111010011111111000000000
+10011000101000001000101000000000
+00100000011000000000000000000000
+00100000010000000010111000010100
+00011010001000001010001000000100
+01101111111000001100101000101101
+10011010010011111111111000000000
+10011010001000001010001000000000
+11101111111000010000000000010001
+00011111111000100000101000000000
+00100000011000000000000000000000
+01011000000000000000000011010011
+01100111111000001000101000010000
+01011000000000000000000110101000
+11100111111000010000000000000101
+01101111111000001100011110100111
+11100111111000001000000000000101
+11100000010000010000000000000101
+00100000011000000000000000000000
+11011000111000000000000000000000
+11011000010000000000000000000011
+11011010001000001111000000001001
+00100000001000000010100000110000
+11011010001000000000000100000000
+00100000001000000010100000110000
+11011000111000000000000000000000
+11011010001000001111000000000100
+00100000001000000010100000110101
+11011000111000000000000000000000
+11011010001000000000010100110100
+00100000001000000010100000110000
+11011000111000000000000000000000
+11011010001000000000010100110011
+00100000001000000010100000110000
+11011000111000000000000000000000
+00100000010000000010111011001011
+11011010001000000000000100100001
+00100000001000000010100000110101
+11011000111000000000000000000000
+00100000010000000010111011011001
+11011010001000000000000100100010
+00100000001000000010100000110101
+00011000010000111000010000000000
+00011000010000011000010000010001
+11011010001000001111000000001001
+00100000001000000010100000110101
+00100000010000000010100000111100
+01011000000000001111000000001001
+11100111111000010000000000000101
+00100000011000000000000000000000
+11011111001000000000000000001000
+00100000001000000010100000101010
+11011111001000000000000000001000
+00100000001000000010100000101010
+11011111001000000000000000000110
+00100000001000000010100000101010
+11011111001000000000000000000100
+00100000001000000010100000101010
+11011111001000000000000000000010
+00100000001000000010100000101010
+11011111001000000000000000000001
+00100000001000000010100000101010
+00011111001000001111111000000110
+01100111111000001000101000001111
+00100000010000000010011111110111
+11011000110000000000100111111101
+00100000010000000111110111010100
+00100000001000000011000001011101
+00100000010000000010100000111100
+11100010001000010000000000000101
+11100000010000001000000000000101
+01110000000010100000111100000111
+00100000001000000010100000111010
+00100000010000000010100000111100
+11100010001000010000000000000101
+11100000010000010000000000000101
+01110000000010100000111100001000
+00100000001000000010100000111010
+00100000010000000010111100101111
+00100000001000000011000001011101
+01101111111000001100100100110101
+01100111111000001000110000010100
+01011000000000000000000011110000
+01100111111000010000110000110101
+01101111111000001100011110101000
+00011111111000001111111000000001
+01100111111000001100011110101000
+11000000011000000010100001001011
+01011000000000000000000011010100
+01100111111000001000101000010000
+01011000000000000000000110101000
+11100111111000010000000000000101
+01101111111000001100011110101000
+11100111111000001000000000000101
+00100000011000000000000000000000
+01110000010001111010100010000000
+00100000011000000000000000000000
+00011100010000100000010000000000
+01101111111000100100011110101101
+10011000010001100111110000000000
+00100000010000010010100001011111
+00100000010000000010100001100110
+10011000010001100111110000000000
+00100000011000010000000000000000
+00100000010000000010100001011010
+01101111111000100100011110101001
+00011111111000001111111000000001
+01100111111000100100011110101001
+00100000001000000010100001101010
+00011100010000100111111000000000
+01100111111000100100011110101101
+01101111111000001100011110110000
+00011111111000010111111000001111
+01100111111000001100011110110000
+00100000011000000000000000000000
+00100000011000101000000000000000
+00011111111000100010010000000000
+01011000000100000000000000000000
+00011111111011010111111000000000
+10011000010000001000010000000000
+00011010010000100111111000000000
+00100000011000000000000000000000
+11011111001000000000000000010100
+00011111111000001111111010100000
+11000010000000000010100001100111
+00100000011000000000000000000000
+00100000010000000010111000010100
+00011010001000001010001000000100
+01110000010010100010110100000000
+00100000010000000010111100100101
+11101111111000010000000000010001
+00100000001110100010100001110010
+00011111111000100110000000000000
+00100000010000000010100001111100
+00100000010000000010111100101010
+01101111111000001100101000101101
+00011111111000001111111000000001
+01100111111000001100101000101101
+01101000010010001100101000010111
+10011000010001100111111000000000
+00100000011000101000000000000000
+00011010010000100111111000000000
+10011010001000001010001000000000
+00100000001000000010100001101101
+11011111001000000000000000101000
+00011111001000100111111000000000
+01100111111000001000110000000000
+11101111111000001000000000110000
+00100100010110100010100010000110
+00011110000000001110000000001000
+01101111111000001000110000000000
+00011111111000100111001000000000
+11000010000000000010100001111101
+00100000011000000000000000000000
+11101000010001000000000000110000
+01100000010011000000100111111101
+01101111111000001000101000000100
+11000000001011001010100010100000
+01101000010010100100011110101001
+01101111111000100000100111111110
+10011000010001100111110000000000
+01101111111000001000101000000100
+00100000001000101010100010010000
+00100000011000000000000000000000
+01100111111000001000100111111001
+01101111111000010100100111111011
+00100000010000000111111001111010
+00011110000000100111111000000000
+01100111111000010000110000001000
+01101000111000001100101000101101
+11101000010000001000000000110000
+00100000010000000010100000010110
+01101000010010001000100111111001
+01101000111000001100101000101101
+00100000010000000010100000000011
+01101111111000010000110000001000
+00011111111000100110000000000000
+01011000000000000000000000000000
+11100111111000001000000000110000
+00100000001000000010011111001011
+01101111111000100100011110101001
+11011000010000000000000000111100
+10011000010001101111110000000000
+00100000010000000111111001100100
+00011000000001110111111000000000
+00100100011110100000000000000000
+01101111111000100100011110101001
+11011000010001010100011000000000
+10011000010001100111111000000000
+11011000010010010011101010000000
+10011000010001101111110000000000
+00100000010000000111111001100100
+00011000000001110111111000000000
+11011000010000010101000110000000
+10011000010001101111110000000000
+00100000010000000111111001100100
+00011000000001110010001000000000
+00011000000001111000111000000000
+01011000000000000000000000000000
+11111001001000000111111000000000
+01101000010010001000101000000000
+10011000010000010111111000000000
+00100000011110100000000000000000
+00011010001000100111111000000000
+11011000010000000000000000111100
+10011000010001101111110000000000
+00100000010000000111111001100100
+00011000000001111000010000000000
+01011000000000000000000111100000
+10011000010000001000010000000000
+01101111111000010000100111111110
+10011000010001100111110000000000
+00100100011000101000000000000000
+01101111111000001000101000000011
+00100000001000000010100010010000
+01000111011101110100000000111101
+01110000000010100111010000010100
+01101111111000001100100110001111
+01100111111000001000101001110101
+01101111111000001000101111111111
+00011111111000001111111000001011
+00011111111000001111001111111110
+01100111111000001000101001110110
+00011111111000001111111111111111
+11100111111000001000000000000101
+01011000000000000000000000101010
+11100111111000001000000000000101
+11011000110000000100101101011000
+00100000010000000111110111000111
+01101111111000010100011110001111
+00101111111011111111111000001001
+00100000010000001011000000010111
+01101010001000010000110000000010
+00100000010000000010100011010111
+00100000001000000111100110101010
+00011010001000001000110000000010
+11101111111000010000000000000110
+01100111111000010100010010001100
+11011010001000000000101001110100
+00100000011000000000000000000000
+11011010011000000010100011011110
+00100000001000000010111000011111
+00011010001000001000110000010110
+11101111111000001000000000000110
+11000001100000001000000000000000
+01011000000000000000000000000010
+00011010001000001000101000010110
+11100111111000001000000000000101
+00100000001000000010101000011010
+00100000010000000010100011110011
+00011000010000001111111000001101
+01100111111000001100011110110001
+00100000010000000010100100001010
+00011000010000001111111000001001
+11100111111000001000000000000101
+01011000000000000000000011111111
+11100111111000001000000000000101
+01101111111001000000101111101100
+11100111111001000000000000000101
+00011010001000100000110000000000
+00011000010000100111001000000000
+00100000010000000111110111010100
+00100000001000000010100101010001
+01011000000011101010100000000001
+01100111111000011000101111101100
+01011000000000000000000000000111
+01100111111000001000101111101111
+01101111111000001100100011010100
+01100111111000001000101111110000
+01101111111000001000101001110101
+01100111111000001000101111110001
+01101111111000001000101001110100
+00101111111011111111111000000111
+00100000010000000010100100000001
+01100111111000001000101111110010
+01100000010010001000101111110011
+00100000011000000000000000000000
+11011010001000000000101001111001
+11011000010000000000000000010010
+01011000000000000000000000100001
+00100100011000001000000000000000
+11011010001000000000101010001011
+01101000010010001000101001110110
+00011000010000001000010111101110
+01011000000000000000000000100010
+00100000011000000000000000000000
+11011000101000000100011110110010
+01011000000000000000000000000010
+11100111111000001000000000000101
+01011000000000000000000000000001
+11100111111000001000000000000101
+01011000000000000000000000000010
+11100111111000001000000000000101
+00100000011000000000000000000000
+11011000010000000001100000100111
+01011000000000000000000000000011
+11100111111000001000000000000101
+01011000000000000000000000000011
+11100111111000001000000000000101
+11100000010000010000000000000101
+00100000011000000000000000000000
+00100000001000000010100100011010
+00100000010000000001011001010001
+00100000010000000001101111100100
+00100000010000000010100100100100
+00100100011101101000000000000000
+01101111111000001000000000000010
+00011111111000001111111000000001
+01100111111000001000000000000010
+01101111111000010100100111101101
+00100000010000000111111001111010
+00100000001000000001011001011110
+01101111111000010100100111110111
+00100000001000000111111001111010
+00100000010000000010100100101000
+00100000001000000001011011110110
+01101111111000001100011111010001
+00011111111000001111111000000001
+01100111111000001100011111010001
+01100111111000001000000000010110
+11000001100101000000000000000000
+01110000010001111101000100100101
+01110000000000000001011000100101
+00100000011000000000000000000000
+01101111111000001000000101101011
+00011111111000010111111000001111
+11000000000000000010100100110101
+11000000000000010010100100110101
+00100000011000000000000000000000
+11101000010000001000000000000110
+00011000010001100111110000000110
+00100000011000010000000000000000
+00011000010001100111110000100101
+00100100011000010000000000000000
+00011000010000001010001111111010
+00011000110000001010010000000110
+11101000010000001000000000010010
+00011000010001100111110000000001
+00100000011000010000000000000000
+00011000010001100111110000011110
+00100100011000010000000000000000
+00011000010000100111111000000000
+00100000011110100000000000000000
+01000111011101111100000000111101
+11101111111000001000000000000110
+11000000011111111010110001101010
+11000000000101010010111100111101
+11000000000000111010110011100010
+00011000010000001111111000000001
+10011010001001100111110000000000
+00100000011000010000000000000000
+10011010010000001010010000000000
+00011000010001100111111111111111
+10011010001000001010001000000000
+00011010001000100111111000000000
+00100000011110100000000000000000
+00100000001000000010100100111100
+01101111111000001000000000000000
+00011111111000001111111000000001
+01100111111000001000000000000000
+01000111011110000100000000111110
+00100000010000000001011001010001
+11011111001000000000000000100111
+11011000110000000100000111110101
+11011000101000000000101010010111
+00100000010000000111110111000111
+01110000000000000001011000100101
+11011011011000000000011100001000
+01111000010101101111110000000000
+00100000010000000001101111100100
+00100000010000000010100101101101
+00011000000010100111111000000000
+11011000010000000000000111111111
+10011000010000010111111000000000
+00011111111000001111111001100100
+00100000010000000111110110000001
+01101111111000001000000000010110
+00011111111000001111111000000001
+01100111111000001000000000010110
+11000000100101000010100101011101
+11011111001000000000000000100111
+11011000101000000100000111110101
+11011000110000000000101010010111
+00100000010000000111110111000111
+00100000001000000001011001011110
+11011000010000000000000000000010
+01100000010010001100000111110101
+01101000010010001100011110110001
+00011000010000001111111000000110
+01100111111000001100000111110110
+01101111111000110100001101111010
+01100111111000110100000111110111
+00011000010000100111001000000000
+11011000110000000100011110110010
+00100000010000000111110111000111
+00100000001000000001011111100010
+01000111011110001100000000111110
+01101000010010010000101111100001
+01101111111000001000101111100000
+00011000010000100000110000000000
+11011010001000000100100011110101
+11011110000000000100100100000101
+00100000010000000010101110110001
+00100000010000000111111011000111
+00011010011000100111111000000000
+10011110000000001000110000000000
+01101000010010100100100100000101
+01101111111000010000101111111101
+00011111111000100010001000000000
+11011111001000000000000000001010
+11101111111000100000000000010001
+00100000001110100010100110010011
+10011000010001100111110000000000
+00100000011000101000000000000000
+00011010001000001010001000000100
+11000010000000000010100110000110
+01101111111000010000101111111101
+00011111111000100000101000000000
+00011111111000001000110000000100
+11011111001000000000000000100100
+00100000010000000111110111000111
+11100000010000100000000000000101
+00100000001000000111111011000101
+11100000010000100000000000010001
+00100000001000000111111011000101
+00100000010000000010100110011100
+00100000010000000010100110100000
+00100000010000000010100110100111
+00100000010000000010100110101011
+00100000010000000010100110101111
+00100000010000000010100110110000
+00100000001000000010100110110100
+11011000010000000000000000011010
+11011010001000000100100111010011
+11011010010000000000000000000000
+00100000001000000101111001111001
+11011000010000000000000000010011
+11011010001000000100100101110110
+11011010010000000000000000011010
+00100000010000000101111001111001
+01101111111000001100100110000110
+01100111111000001100101000110001
+00100000011000000000000000000000
+11011000010000000000000000010000
+11011010001000000100101100011001
+11011010010000000000000000101101
+00100000001000000101111001111001
+11011000010000000000000000010000
+11011010001000000100100000100111
+11011010010000000000000000111101
+00100000001000000101111001111001
+00100000011000000000000000000000
+11011000010000000000000000000011
+11011010001000000100101101010010
+11011010010000000000000001001110
+00100000001000000101111001111001
+01101111111000010100101000010101
+11000011100000010000000000000000
+11011000010000000000000001000000
+11011010001000000000100110001110
+11011010010000000000000001010001
+00100000010000000101111001111001
+00100000010000000010111000010100
+11011000110000000000100110001110
+00011010001000001010001000000110
+00011010001000100000101000000000
+00100000010000000111110101111111
+00011010010000100111111000000000
+10011010001000001010001000000000
+11000010000000000010100110111101
+00100000011000000000000000000000
+00100000010000000010100111000110
+00100000010000000010100111001010
+00100000001000000010100111001110
+11011000010000000000000000010011
+11011010001000000100100101110110
+11011010010000000000000000011010
+00100000001000000101111001101011
+11011000010000000000000000010000
+11011010001000000100101100011001
+11011010010000000000000000101101
+00100000001000000101111001101011
+11011000010000000000000000010000
+11011010001000000100100000100111
+11011010010000000000000000111101
+00100000001000000101111001101011
+11011000010000000000000000000011
+11011010001000000100101101010010
+11011010010000000000000001001110
+00100000001000000101111001101011
+00100000010000000010100111011011
+11011000010000000000000001000000
+11011010001000000000100110001110
+11011010010000000000000001010001
+00100000001000000101111001101011
+00100000010000000010111000010100
+11011000101000000000100110001110
+00011010001000001010001000000110
+00011010001000100000110000000000
+00100000010000000111110101111111
+00011010010000100111111000000000
+10011010001000001010001000000000
+11000010000000000010100111011110
+00100000011000000000000000000000
+11011000010000000000000000000000
+00100000001000000010100111101110
+11011000010000000000000000000001
+00100000001000000010100111101110
+11011000010000000000000000000010
+00100000001000000010100111101110
+11011000010000000000000000000011
+00100000001000000010100111101110
+11011000010000000000000000000100
+00100000001000000010100111101110
+01000111011110010100000000111110
+00100000010000000111110100111011
+01101111111000001100101000010101
+11000010100000000111110101000111
+00100000010000000101111110110111
+01011000000000000000000010101010
+11100111111000001000000000000011
+01011000000000000000000000000011
+11100111111000001000000000000011
+00011111001000001111111000000100
+11100111111000001000000000000011
+11100000010000010000000000000011
+11100010010000010000000000000011
+00011010001000100000110000000000
+00100000010000000101111111000101
+01011000000000000000000010111011
+11100111111000001000000000000011
+00100000010000000101111110111011
+00100000001000000111110101000111
+01101111111000001100101000010101
+11000011100000000000000000000000
+01110000100000000111101100001100
+01110000100000000111110001001101
+00100000010000000010101000001100
+11011000010011100001000000000000
+00100000010000000101111101110000
+00100000010000000101111101111101
+11011000010000000000000010000001
+01100000010110001000000001100001
+00100000011000000000000000000000
+01011000000000000001110000000000
+01100111111000010000100101011100
+01011000000000000001110000000001
+11100111111000010000000000000101
+01011000000000000001110000000010
+11100111111000010000000000000101
+01011000000000000001111111111111
+11100111111000010000000000000101
+01101111111001000000100101011100
+00100000001000000101111101011000
+00100000010000000010101000100110
+00100000001000000010101000011110
+00100000010000000010101010001101
+00100000001000000010101010000011
+01110000010001111101001000000001
+00100000011000000000000000000000
+01110000010001111101001000000000
+00100000011000000000000000000000
+11011010010000000010101000100010
+11011010001000000000000000010101
+11011000111000000000000000001101
+00100000001000000010101001111000
+01101111111000001100100101101011
+11000001100000000000000000000000
+11011010011000000010101000101010
+00100000001000000010111000011111
+11011010010000000010101000110111
+11011010001000000000000000011101
+11011000111000000000000000001110
+00100000001000000010101001111000
+00011010001000001000110000011010
+11101111111000001000000000000110
+11000100000000001000000000000000
+00100000010000000010100011010111
+00100000010000000111100111010010
+00100100011101000000000000000000
+01101111111000001000101001110110
+00011111111000001111111111111110
+01100111111000001000101001110110
+01101111111000001000101001110100
+01111001010000000111111000000111
+11100111111000001000000000010010
+00100000001000000010100011100101
+01101111111000001100100101101011
+11000000000000000010101000111011
+11000000000000010010101001110110
+00100000001000000010101001100101
+11011010011000000010101000111101
+00100000001000000010111000011111
+00100000010000000010100011010111
+00100000010000000111100111010010
+00100100011101000000000000000000
+01101111111000001000101001110100
+00011111111000001111111111111111
+11100111111000001000000000010010
+11000010100000110010101001011000
+00011111111000010111111000111111
+00100000010110100010101001011111
+01101010001000010000110000000010
+00011010001000001000110000011010
+11101111111000001000000000000110
+11000010100000010010101001001111
+11000100000000000000000000000000
+11011000101000000100011110110001
+11011000110000000000101001110110
+00100000010000000111110101111101
+00100000001000000010100101010001
+11011010001000000000101001110100
+00100000010000000111100111000001
+00100000010000000111100111110000
+00100100011110100000000000000000
+01101010001000010000110000000010
+00011010001000001000101000010110
+01011000000000000000000000000000
+11100111111000001000000000000101
+00100000001000000010101000011100
+00011111111000010111111000111111
+00100100011110100000000000000000
+01101010001000010000110000000010
+00011010001000001000101000010110
+01011000000000000000000000000000
+11100111111000001000000000000101
+00100000001000000111100110100101
+11011010001000000000101001110100
+00100000010000000111100111000001
+00100000010000000111100111110000
+00100100011110100000000000000000
+01110000000010100111010001010100
+00100000001000000111100110101010
+00100000010000000010110001000001
+00100000010000000010110001001101
+00100000010000000010110001011011
+00100000010000000010101001101110
+00100100011000101000000000000000
+01101111111000001100100101101011
+11000000000000011010101001110010
+11000000000000001010101001110100
+00100000011000000000000000000000
+01101111111000001100011111010101
+00011111111000001111111111111111
+01100111111000001100011111010101
+00100000011000000000000000000000
+01110000010001111101011001011000
+00100000001000000010101000011100
+01110000010001111101011000000110
+00100000001000000010101000011100
+00100000010000000010110011000000
+00100000001000000010100101010001
+00011000000010100111111000000000
+00011111111000010111111000000111
+10011010001000001010001000000000
+01101111111000001100011111010010
+11000001100000001000000000000000
+00100000010000000111110111101001
+00100100011110100000000000000000
+00011010001000100111111000000000
+00100000010000000111110111011011
+00011010010000100111111000000000
+00100000001000000111111001111010
+11011010011000000100011111010011
+11011010010000000010101010000110
+00100000001000000011001000000011
+01101111111000001100100101101011
+11000001100000001000000000000000
+01101111111000001100100101101110
+01111001001000000111111000000000
+01100111111000001100100101101110
+01110000010010010110101100000011
+00100000001000000010101010010110
+11011010011000000100011111010110
+11011010010000000010101010010000
+00100000001000000011000111111100
+01101111111000001100100101101011
+11000000000000011010101010010110
+11000000000000001010101010010100
+00100000011000000000000000000000
+01110000010001111101010100000110
+00100000001000000010101000011010
+01110000010001111101010100000110
+00100000001000000010101000011010
+00100000010000000010101010011110
+00100000010000000010101010100110
+00100000010000000010101010101011
+00100000010000000010101010110000
+00100000010000000010101010111000
+00100000001000000010101010111100
+00100000010000000010101011001001
+11011000110000000100100001000111
+11011111001000000000000000001111
+00100000010000000010101100110111
+00100000010000000010101101010001
+11011000110000000000100100000000
+11011000101000000100100000110111
+00100000001000000111110101111111
+00100000010000000010101011001100
+00100000010000000010101101010001
+11011000110000000000100100000000
+11011000101000000100011111100111
+00100000001000000111110101111111
+00100000010000000010101011001100
+00100000010000000010101101010001
+11011000110000000000100100000000
+11011000101000000100100000010111
+00100000001000000111110101111111
+01101111111001000100100000000111
+01100111111001000100011111011111
+01101111111001000100100000001111
+01100111111001000100011111010111
+11011000110000000100011111010111
+11011010001000000100100000110111
+11011110000000000100011111110111
+00100000001000000010101110011111
+11011000110000000100100000000111
+11011010001000000100100000110111
+11011110000000000100100000000111
+00100000001000000010101110011111
+11011000110000000100011111110111
+11011111001000000000000000010000
+00100000010000000010101100110100
+11011000110000000100100001100000
+11011111001000000000000000001001
+00100000010000000010101100110111
+00100000010000000010101101010001
+11011000110000000000100100000000
+11011000101000000100100000100111
+00100000001000000111110101111111
+00100000010000000010101011001010
+11011000110000000100100000000111
+00100000001000000010101100110011
+00100000010000000010101011000111
+11011000110000000100100000001111
+00100000001000000010101100110011
+11011000110000000100100111010011
+11011111001000000000000000000100
+00100000010000000010101100111010
+11011000110000000100100111010111
+11011111001000000000000000000110
+00100000010000000010101100111010
+11011000110000000100100111011101
+11011111001000000000000000010000
+00100000001000000010101100110100
+00100000010000000010101011100001
+11011010001000000100100101110011
+11011010010000000000100100000000
+11011111001000000000000000001011
+11101111111000010000000000010001
+11101000010000010000000000010010
+10011000010000101111111000000000
+11100111111000010000000000010001
+00011010001000001010001000000010
+00011010010000001010010000000010
+11000010000000000010101011011001
+00100000011000000000000000000000
+11011000110000000100011111110111
+11011111001000000000000000010000
+00100000010000000010101100110100
+11011000110000000100100001010110
+11011111001000000000000000001010
+00100000010000000010101100110111
+00100000001000000010101101010001
+11011000110000000100100101110110
+11011000101000000100100010010100
+00100000010000000111110101111111
+11011000110000000100100010010100
+11011010001000000100100010100100
+11011110000000000100100010110100
+00100000010000000010101110100001
+11011110000000000100100011000100
+11011010010000000000000000000001
+01011000000000000000000000000000
+00100000010000000010101110100011
+01101111111000001100100011010011
+00011111111000010111111001111111
+01100111111000001100100011010100
+11011110000000000100100011100101
+11011010010000000000000000000010
+01011000000000000000000000010000
+11011010001000000100100011000100
+00100000010000000010101110100011
+11011110000000000100100011010101
+11011010010000000000000000000011
+01011000000000000000000000010000
+11011010001000000100100011100101
+00100000001000000010101110100011
+11011000110000000100101100011001
+11011010001000000100100011110101
+11011110000000000100100100000101
+00100000010000000010101110100001
+11011000110000000100100100010101
+11011010001000000100100100000101
+11011110000000000100100100100101
+01011000000000000000000000000100
+00100000010000000010101110110001
+01101111111000001100100100110100
+00011111111000010111111000111111
+01111001001000000111111000000110
+01100111111000001100100100110101
+00100000011000000000000000000000
+11011000110000000100100101110110
+11011010001000000100100100110110
+11011110000000000100100101000110
+00100000010000000010101110100001
+11011000110000000100100101010110
+11011010001000000100100101000110
+11011110000000000100100101011011
+01011000000000000000000000000101
+00100000010000000010101110110001
+00100000010000000010111111110011
+01101111111000010100011110001111
+11000011100001001000000000000000
+01110000010001000010011100000001
+00100000011000000000000000000000
+11011010001000000100101101011001
+01101111111000111100101101011111
+00100000001000000010101100100001
+11011010001000000000110000001100
+01101111111000111000110000010010
+01100111111000111000101111000111
+01011000000000000000000000000000
+01100111111000101000101110111110
+00100000010000000010101100101010
+01101111111000110000101111001110
+11101000010000110000000000010001
+10011000010000101111111000000000
+11100111111000110000000000010001
+00100000011000000000000000000000
+01101111111000100100101000101110
+01100111111000100000101111000011
+11011000110000000100100011010101
+00100000010000000110111000100110
+11011000110000000000101110111110
+00100000010000000110111000101000
+00100000010000000110110111000001
+11011000101000000000101111001110
+00100000001000000110111000111100
+11011111001000000000000000001000
+00100000010000000010101101000001
+00100000010000000010101110010000
+00100000001000000010101100111110
+00100000010000000010101101000001
+00100000010000000111110111010100
+00100000001000000010101100111110
+00100000010000000010101101000001
+00100000010000000010101110010000
+01011000000000000000000000101100
+11100111111000001000000000000101
+00011000101000100111111000000000
+01100111111000010100100001111010
+00100000011000000000000000000000
+00011000110000100000010000000000
+00011111001000100010001000000000
+01101111111000010100100001111010
+00011111111000100000101000000000
+01101111111000001100100001101001
+00100000010110100010101101001010
+00011000010000100000110000000000
+00011010001000100111001000000000
+00100000011000000000000000000000
+01110000010010000110100100000001
+00100000010000000010101101001110
+11011000101000000000101010111110
+00100000011000000000000000000000
+11011111001000000000000000100000
+11011000101000000000101010111110
+00100000001000000111110110001100
+00100000010000000010101101101110
+11011010010000000000000000010000
+11011010001000000000101010111110
+01101111001001000100100001101010
+00100000010000000010100111100100
+00100000010000000010101110001001
+01011000000000000000101010111110
+01100111111000010100100010000001
+00100000010000000111001100000110
+01101111111000010100100010000001
+00011111111000100000110000000000
+11011000101000000000010010101000
+00100000010000000111110101110010
+00100000010000000111001100001101
+01101111111000010100100010000001
+00011111111000001111111001000000
+01100111111000010100100010000001
+01101111111000001100100001111110
+00011111111000001111111111111111
+01100111111000001100100001111110
+00100100001110100010101101011010
+00100000010000000111001101001001
+11011010001000000000100100000000
+11011111001000000000000000100000
+00100000010000000111110110101100
+11011010010000000000000000010001
+11011010001000000000100100000000
+11011111001000000000000000100000
+00100000001000000010100111100100
+01110000010010000110100100000000
+01101111111000010100100001111010
+00011111111000100000101000000000
+11011000010000000000000010000000
+11100000010000001000000000000101
+11011000010000000000101010111110
+10011000010001100111111000000000
+01100111111001000100100001101010
+00011111111010011000010000000000
+01100000010011000100100001110010
+00011111111100011010011000000000
+00011010011010110010011000000000
+00011111111000010111111000111111
+00011111111001100111110000110111
+00100100010000010010101110000111
+00011010011000001111111000000001
+01100111111000001100100001111110
+00011111111011111010001001000000
+00011111111100100010011000000000
+00011010011000001010011111111111
+01011000000000000000101010111010
+10011010001000001010001000000000
+01101111111000100100100001110010
+11100111111000100000000000010001
+00100000011000000000000000000000
+00011010011000001010011000000001
+00100000011000000000000000000000
+11011010001000000000101010111110
+11011111001000000000000000000100
+00100000010000000111110110101100
+00011010001000001010001000000010
+00011010011000001010011111111111
+00100100001000101010101110001010
+00100000011000000000000000000000
+11101111111000001000000000000110
+00011111111100011000010000000000
+00100000010000000010101110011001
+11100000010000001000000000000101
+00011111111000010000010000001111
+00100000010000000010101110011001
+11100000010000001000000000000101
+11000010000000000010101110010000
+00100000011000000000000000000000
+00011000010001100111110000001001
+00100000001000010010101110011101
+00011000010000001000010001010111
+00100000011000000000000000000000
+00011000010000001000010000110000
+00100000011000000000000000000000
+01011000000000000000000000100000
+00100000001000000010101110110001
+01011000000000000000000000010000
+00100000001000000010101110110001
+01101000010010001100100010000011
+00011000010000001000010000000001
+10011000010000001000010000000000
+01100000010010001000010010100111
+00011010001000100000110000000000
+00011111111000100111001000000000
+00100000010000000111110111000111
+01101000010010001100100010000011
+00011000010000100111001000000000
+00100000010000000111110111010100
+00011010010000100111111000000000
+11100111111000001000000000000101
+11011010001000000100100010110100
+00100000001000000010101110110100
+01100111111000001000010010100111
+00011111111000100111001000000000
+00100000010000000111110111000111
+00011010001000100000110000000000
+11011000101000000000100110001110
+00100000010000000111110101111111
+11011010010000000000000000010010
+11011010001000000000010010101000
+01101111001000001000010010100111
+00100000010000000010100111100100
+11011010010000000000000000010011
+11011010001000000000100110001110
+11011111001000000000000000010000
+00100000010000000010100111100100
+00100000010000000110101011101110
+00011110000000100000101000000000
+00100000010000000110111000111100
+11011010010000000000000000010100
+00011110000000100010001000000000
+11011111001000000000000000010000
+00100000001000000010100111100100
+01101000010010001000101111101011
+00100000001000000010101111001001
+00011000000000000000010000000001
+00011000000000000111000000000000
+01101111111000010000101111011110
+00011111111000100000110000000000
+11101111111000011000000000000110
+00011111111011010111111000000000
+10011000010000011101111000000000
+00011111000000001111000000000001
+11101111111000100000000000000110
+00011111111000100101111000000000
+00011111000000001111000000000001
+11101111111000100000000000000110
+00011111111000100101111000000000
+00011111000000001111000000000001
+00011010001100001101111000000000
+00011101111100000101111000000000
+11101111111000010000000000000110
+10011101111000011101111000000000
+00100000011000000000000000000000
+01101111111000001000101111100000
+00011111111000100010001000000000
+00100000010000000010101111000110
+00100000010000000110110111000001
+00011000000000000111000000001100
+00011101111000100111111000000000
+00011010001000100111001000000000
+01101000010010010000101111100001
+00011000010000100000110000000000
+00100000010000000110111000010000
+00100000001000000110110011110000
+01110000000010111110101100011001
+00100000001000000010101111101010
+01110000000010111110101100001001
+00100000001000000010101111101010
+01100111111000001000101111100000
+01100000010010010000101111100001
+01000111011110011100000000111110
+00100000010000000010101111011011
+00011000000000000111000000001000
+10011000000000000101111000000000
+00011000000000000111000000001101
+00011101111000100111111000000000
+00011000000000000111000000001001
+10011000000000000101111000000000
+00011000000000000010001000000000
+00011000010000100010011000000000
+00100000010000000010101111001000
+00100000010000000110110111000111
+00100000010000000010110000101001
+01100000010011000000101111100011
+01101111111000001000101111100000
+00011111111000100010010000000000
+00100000010000000010110000110001
+01101000010010001000101111100000
+01101111111000010000101111100001
+10011000010000001010001000000000
+01101000010011000000101111100011
+11100000010000100000000000010001
+01101111111000001000101111101011
+00011111111001100111111000001001
+00100000011110100000000000000000
+11100000010001000000000000010001
+00100000011000000000000000000000
+01110000000010111110101100011001
+00100000001000000010110000001011
+01110000000010111110101100001001
+00100000001000000010110000001011
+01100111111000001000101111100000
+01100000010010010000101111100001
+00011000010000100010011000000000
+00011111111000100010010000000000
+10011010011000001000110000000000
+01000111011110100100000000111110
+11101111111001000000000000000110
+00011000000000000111000000001000
+10011000000000000101111000000000
+00011000000000000111000000001001
+00011111111011110111111000000000
+10011000000000000101111000000000
+00011000000000000010001000000000
+00100000010000000010101111001000
+00100000010000000110110111000111
+00100000010000000010110000101001
+01100000010011000000101111100011
+00100000010000000010110000110001
+00100000010000000010101111011011
+00100000010000000010110000101001
+01101111111000001000101111101011
+11000000000011001010110000100110
+01100000010010100000101111100111
+01101111111000100000101111100011
+01101000010010100000101111100111
+10011000010001100111111000000000
+00100000011000000000000000000000
+01101111111001000000101111100011
+10011000010001100111111000000000
+00100000011000000000000000000000
+00011000000000000111000000001100
+00011101111000100111111000000000
+00011000000000000111000000001101
+00011101111000100000010000000000
+00011000010100000000010000000000
+00011000010100000000010000000000
+10011000010000011000010000000000
+00100000011000000000000000000000
+00011010001000001010001000000001
+00100000010000000010101111001000
+00011010011000100000110000000000
+00100000010000000110111000100100
+00100000010000000110110111000111
+00100000010000000110111001000011
+00011010011000001010011000010000
+00011010010000001010010111110000
+00100000001000010010110000110001
+00100000011000000000000000000000
+01110000010010010110101100000001
+01110000010010010110110000000000
+01110000010001111101001000000001
+01011000000000000001011101110000
+01100111111000010100011111010011
+00100000011000000000000000000000
+01011000000000000000000110101000
+01100111111000010000101111101100
+01101111111000001100100101101101
+11100111111000001000000000000101
+01101111111000100100100111010011
+00100000010000000111110111000001
+11100111111000100000000000000101
+01101111111000110100001101111010
+11100111111000110000000000000101
+01101111111000011100100101101110
+11100111111000011000000000000101
+00100000011000000000000000000000
+00100000010000000010110001001111
+00100000001000000010100101010001
+01110000010001111011000100010101
+01011000000000000000000000010100
+01100111111000001100011110110010
+01011000000000000000000000101011
+11100111111000001000000000000101
+01011000000000000000000000000000
+11100111111000001000000000000101
+11011000110000000000101111101100
+00100000010000000111110101111111
+01101111111000010100100101110001
+11100111111000010000000000000101
+00100000011000000000000000000000
+01101111111000001100101000010101
+11000011100000011000000000000000
+00100000010000000010110001011111
+00100000001000000010100101010001
+01110000010001111011000100011101
+00100000010000000010100100001010
+00100000010000000010100100010010
+00100000010000000010110001100100
+00100000001000000010110001010110
+01011000000000000000000000010101
+11100111111000001000000000000101
+01011000000000000000000000010110
+11100111111000001000000000000101
+11100000010000010000000000000101
+00100000011000000000000000000000
+00011000010000001111001111111111
+00100000010000000010110100101110
+00100100011101000000000000000000
+11101111111000001000000000000110
+11000000000000000010110001110010
+11000000000000010010110010001101
+11000000000000110010110010101100
+00100000011000000000000000000000
+00100000010000000010110001111111
+00100100011101000000000000000000
+00100000010000000010101010011000
+00100000010000000010110001110111
+00100000001000000010110011010110
+11011000010000000000000000010010
+00100000010000000010110010101110
+01011000000000000000000000000001
+11100111111000001000000000000101
+01101111111000010100100111011011
+11100111111000010000000000000101
+11011000110000000100100000000111
+00100000001000000111110101111111
+00100000010000000111111011000111
+11101000010000010000000000000110
+11011000101000000100100000000111
+00100000010000000111110101111111
+01101111111000010100100111011011
+10011000010001100111110000000000
+00100100011000101000000000000000
+01101111111000001100100101101100
+11000011100000001000000000000000
+01111001001000000111111000000001
+01100111111000001100100101101100
+01110000010010010110101100000010
+00100000010000000010110011010010
+00100000001000000111111011000101
+00011000110000100010001000000000
+01101111111000001100100101101011
+11000001000000000000000000000000
+01101111111000001100100101101100
+11000100000000001000000000000000
+11000011100000010000000000000000
+00011010001000100000110000000000
+11011111001000000000000000010110
+11011000101000000100100101110011
+00100000010000000111110111010100
+00100000010000000010101011010101
+01101000010010010100100101110011
+01101111111000010100100111011011
+10011000010001100111110000000000
+00100100011000101000000000000000
+00100000010000000010110011011010
+01101111111000001100100101101100
+01111001001000000111111000000010
+01100111111000001100100101101100
+00100000010000000010101011101000
+01101111111000001100100110000110
+01100111111000001100101000110001
+00100000010000000010110010100101
+00100000001000000010110011011110
+11011000010000000000000000000110
+00100000010000000010110010101110
+01011000000000000000000000000011
+11100111111000001000000000000101
+01101111111000110100100111010111
+11100111111000110000000000000101
+00100000011000000000000000000000
+11011010010000000000000000010010
+00100000001000000010110100011000
+01000111011110101100000000111110
+00100000010000000010110011001100
+01011000000000001000111111111111
+01100111111000010100100110001101
+00100000010000000010101000011010
+00011000010000001111111000001001
+01100111111000001100011110110001
+00100000010000000010100100001010
+00011000010000001111111000000101
+11100111111000001000000000000101
+01011000000000000000000011111111
+11100111111000001000000000000101
+01011000000000000000000110101000
+00011111111100001111111000000000
+11100111111000010000000000000101
+01101111111000001000101111111100
+11100111111000001000000000000101
+00100000011000000000000000000000
+01101111111000100100100110001001
+00100100001110100010110011000011
+00100000001000000010110011001100
+00011100010000100111111000000000
+01101000010010100100100110001001
+10011000010001100000010000000000
+01101111111000010100100110001101
+10011000010001100111110000000000
+00100000011000010000000000000000
+00100000010000000010101000011100
+01101111111000010100100111110011
+00100000001000000111111001111010
+00011100010000100111111000000000
+01100111111000100100100110001001
+00100000011000000000000000000000
+00011000110000001010001111111101
+11011010010000000000000000000001
+00100000001000000010100111100100
+11011111001000000000000000000001
+11011010010000000000000000000010
+11011010001000000100100101101100
+00100000001000000010100111100110
+01101111001000001100011110110001
+11011010010000000000000000000011
+11011010001000000100011110110010
+00100000001000000010100111100110
+11011111001000000000000000000001
+11011010010000000000000000000100
+11011010001000000100100101101100
+00100000001000000010100111100110
+01101111001000001100011110110001
+11011010010000000000000000000101
+11011010001000000100011110110010
+00100000001000000010100111100110
+00100000010000000010110100100110
+00100100011101000000000000000000
+01101111111000001000101111101111
+11000000000000110010110100010110
+01101111111000001100100101101011
+11000001000000000000000000000000
+11000001000000011000000000000000
+01101111111000010000101111110000
+01101000010010010100100111011011
+10011000010001100111110000000000
+00100100011000101000000000000000
+11011010001000000000101111110010
+11011010010000000000000000000111
+00100000010000000010110100111000
+00100000011101000000000000000000
+01000111011110110100000000111110
+01101111111000001000101111101111
+11000000000000000010110011110111
+11000000000000010010110011111011
+11000000000000100010110100001010
+00100000011000000000000000000000
+01101111111000010100100111011011
+01100111111000010000101001111000
+11011000110000000000101001111000
+00100000001000000010110001110010
+01101111111000001100100101101011
+11000001000000000000000000000000
+01101111111000001100100101101100
+11000100000000001000000000000000
+11000011100000010000000000000000
+11011000110000000000101001111010
+11011111001000000000000000010100
+11011000101000000100100101110101
+00100000010000000111110111010100
+00100000010000000010101011100001
+11011010001000000100100101110101
+11011010010000000000100100000000
+11011111001000000000000000001010
+00100000010000000010101011011001
+00100000001000000010110010011100
+01101111111000001100100101101011
+11000001100000001000000000000000
+01110000010010010110101100000010
+11011000010000000000000000000011
+00100000010000000010110010101110
+01011000000000000000000000000101
+11100111111000001000000000000101
+01101111111000010100100111011011
+11100111111000010000000000000101
+01011000000000000000000000000001
+11100111111000001000000000000101
+00100000011000000000000000000000
+11011000110000000000101111110000
+11011010010000000000000000001000
+01000111011110111100000000111110
+11101111111000001000000000000110
+00011000110000100010001000000000
+01101000010010001100100011010100
+10011000010001100111110000000000
+00100100011000101000000000000000
+00100000010000000010110011001100
+00100000010000000010110100111000
+00100000011101000000000000000000
+01110000000011000011101000000001
+01101000010010001000101001111001
+00011000010000001000010000000001
+11011000110000000000101001111010
+00100000001000000010111100111110
+11011000101000000000101111101100
+00100000010000000111110101111111
+11011010001000000000101111101100
+11011111001000000000000000010000
+00100000010000000111110110101100
+11011111001000000000000000010000
+11011000110000000000101111101100
+00100000001000000010110100101110
+00100000010000000111111011000111
+11101000010000010000000000000110
+01011000000000000000000110101000
+00011111111100001111111000000000
+10011000010001100111110000000000
+00100100011000101000000000000000
+11101111111000001000000000000110
+01100111111000001000101111111100
+00100000010000000111111011000101
+00100000001000000010110011001111
+01000111011111000100000000111111
+00100000010000000010110101110001
+00100000001000000010110100111011
+00011010001000001000110000000001
+11101000010000001000000000000110
+00011000010100011111111000000000
+11000000000000001010110101101011
+00011111111001100111110000000100
+00100100001000010111111011000101
+00011111111000100111001000000000
+00100000010000000010110101100001
+00011000010000010000111000001111
+10011000111001100111110000000000
+00100000010000101010110101011010
+00011000111000001000111111111111
+01101111111000001000101001111000
+10101111111011111111111111111111
+00100000001000001111111011000101
+11111001001000000111111000000000
+01100111111000001000101001111000
+00011010001000001000110000000010
+11101111111000001000000000000110
+00011111111000100111001000000000
+00011010010000100111111000000000
+10011000111011111111111000000000
+11011000101000000000101001111010
+10011000101000001000101000000000
+00100000010000000111110111000111
+01101111111000001000101001111000
+10011010011001100111110000000000
+00100100010000101111111011000101
+00100100001000101010110101100110
+00100000010000000010110110010010
+00100000001000000111111011000111
+00011111111000001111111111111111
+10011010010011111111111000000000
+00011010001000001000110000000010
+11101000010000001000000000000110
+10011000010000001111111000000000
+01100111111000001000101001111001
+00100000011000000000000000000000
+11011010011000000000000000000000
+00011111001000001000111111111111
+11111001001000000010011000000000
+11000010000000000010110101100010
+00100000011000000000000000000000
+01101111111000010000101001110100
+00011111111000100000101000000000
+11011000110000000000101001110110
+11011111001000000000000000100001
+00100000001000000111110111000111
+11101111111000001000000000000110
+00011111111000100111001000000000
+01100111111000001000101001111001
+11011000101000000000101001111010
+00100000010000000111110111010100
+00100000001000000111111011000111
+01110000010010011001000000110010
+00100000010000000010110110000000
+01101000010010010100100110010001
+10011000010001100111110000000000
+00100000001000101010110110000100
+00011000010001100111110000000000
+00100000001000101010110110000100
+01101000010010010100100110110010
+10011000010001100111110000000000
+00100000001000101010110110000111
+00011000010001100111110000000000
+00100000001000101010110110000111
+00100000010000000010110110010010
+00100000010000000010110110000000
+00100000001000000010110110000100
+11101111111000001000000000010001
+00100000011110100000000000000000
+01111001001000000111111000001000
+00100000011000000000000000000000
+01100111111000010100100110010001
+01011000000000000100100110010001
+00100000001000000010110110001010
+01100111111000010100100110110010
+01011000000000000100100110110010
+00100000001000000010110110001010
+01100111111000010000101001110100
+00011111111000100000110000000000
+11011000101000000000101001110110
+11011111001000000000000000100001
+00100000001000000111110111000111
+11011010011000000100100110010000
+11011010010000000010110110010010
+00100000001000000011000111111100
+11011000101000000100100110010001
+11011111001000000000000001000010
+00100000001000000111110110011011
+01101111111000001000100111111000
+11000000001001001010110110011010
+11000000000011011010110110100011
+11000000000011100010110110101010
+00100000011000000000000000000000
+00100000010000000010110110011101
+01101111111000010100101000001101
+00100000001000000111111001111010
+01011000000000000000000010000000
+01100111111000001000101000010000
+01011000000000000000000001001010
+11100111111000001000000000000101
+01110000000010100000111100000010
+00100000001000000011000001011101
+00100000010000000010110111001000
+01101111111000010100101000010101
+11000011100000010000000000000000
+00100000010000000010110111010010
+00100000010000000010110111011011
+01101111111000010100101000010001
+00100000001000000111111001111010
+00100000010000000010110111001000
+01101111111000010100101000010101
+11000011100000010000000000000000
+00100000010000000010110111010010
+01101000010010010000100111111011
+00011000010011001111111000000000
+00011111111100011111111000000000
+11000000000001100010110110111000
+00100000010000000010110110111101
+00100100011101000000000000000000
+01011000000000000000000000000000
+11100111111000010000000000010001
+01101111111000010100101000010001
+00100000001000000111111001111010
+01011111111111111111111111111111
+11100111111001000000000000010001
+11100111111001000000000000000101
+01101111111000010100101000010001
+00100000001000000111111001111010
+11011111001000000000000000001000
+11101111111000010000000000010001
+11011010010000001111111111111111
+10011010010001100111110000000000
+00100000001000101111111011000101
+10011000010001100111110000000000
+00100000001000101111111011000101
+00011010001000001010001000000010
+11000010000000000010110110111110
+00100000010000000111111011000111
+00100000011000000000000000000000
+01011000000000000000000010000000
+01100111111000001000101000010000
+01011000000000000000000000011111
+11100111111000001000000000000101
+01011000000000000000000000000000
+11100111111000001000000000000101
+01101111111000110000100111111001
+11100111111000110000000000000101
+01110000000010100000111100001001
+00100000001000000011000001011101
+00100000010000000010111000010100
+00011010001000001010001000000110
+01101111111000010000100111111001
+01101000010010010100100110000111
+00011000010100001000010000000000
+10011000010001100111111000000000
+10011010010011111111111000000000
+10011010001000001010001000000000
+00100000011000000000000000000000
+01101000010010010000100111111011
+11011111001000000000000000001000
+11101111111000010000000000010001
+00100000001110100010110111100101
+11011010010000001111111111111111
+10011010010001100111110000000000
+00100000001000101010110111100101
+00011010001000001010001000000010
+11000010000000000010110111011101
+00100000011000000000000000000000
+00011000010100001000010000000000
+11100000010000010000000000010001
+00100000011000000000000000000000
+00100000010000000110111001100110
+01011000000000000010100100110000
+01100111111000010100100111101101
+01011000000000000010111000011000
+01100111111000010100010001100101
+01011000000000000010111110011111
+01100111111000010100101000001011
+01011000000000000010100111000011
+01100111111000010100100111110001
+01011000000000000010100111010110
+01100111111000010100101000010001
+01011000000000000010100111010010
+01100111111000010100101000001111
+01011000000000000010111000011101
+01100111111000010100010001101111
+01011000000000000010011100111100
+01100111111000010100100111101111
+01011000000000000010100100100110
+01100111111000010100100111110111
+01011000000000000011000000001011
+01100111111000010100010001101011
+01011000000000000011000000010100
+01100111111000010100010001100111
+01110000010001111101000100100100
+00100000010000000010100001001011
+01000111011111001100000000111111
+00100000010000000010101000000001
+00100000010000000010111000101000
+11011010001000000100100101110110
+11011010010000000000000000000000
+11011111001000000000000000000001
+00100000010000000010100111100110
+00100000010000000010100110010101
+00100000010000000010111000010000
+01101111111000001100100101110110
+11000000011111111010110000111011
+00100000010000000010101100001110
+00100000010000000010101100000000
+00100000010000000010101011101000
+00100000001000000010011111111111
+01101111111000110100100111010111
+00100000010000000111110110111011
+01100111111000110100001101111010
+00100000011000000000000000000000
+01101111001000001100101000010111
+01101010001000010100101000011000
+01101010010000010100101000011010
+00100000011000000000000000000000
+00100000010000000010100001001101
+00100000010000000010101000010110
+00100000010000000011000010000110
+00100000010000000010100011011100
+00100000001000000010100100011001
+00100000010000000010101000011000
+00100000001000000010110110001111
+00100000010000000010111000010100
+00100000010000000010111100100101
+00011010011000100111111000000000
+00100000010000000111111001111010
+00100000010000000010111100101010
+00011010010000100111111000000000
+10011010001000001010001000000000
+11000010000000000010111000100000
+00100000011000000000000000000000
+01110000100000000111001000111111
+01110000100000000111000101101100
+01110000100000000111000001101101
+00100000001000000101111001011100
+01000111011111010100000000111111
+01101111111000001000110000010100
+11000010100000111010111000110001
+01110000010010110010100100000000
+00100000001000000011000000100001
+00100000010000000010111000110111
+00100000011101000000000000000000
+00100000010000000010111001011000
+00100000011101000000000000000000
+00100000010000000010111001101000
+00100000001000000010111001110101
+00100000010000000111111011000111
+11011111001000000000000000000011
+11011010001000000000110000010101
+00100000010000000111110110101100
+01101010001000011000110000010101
+00011010001000010000010000011111
+01100000010010001100101000100000
+01101111111000001100101000100111
+10011000010001100111110000000000
+00100100001000010111111011000101
+00011010001100011111111000000000
+00011111111000110111111000000000
+00011111111000010000010000011111
+01100000010010001100101000011111
+00011111111100011111111000000000
+00011111111000110111111000000000
+11011010001000000001111111111111
+10011010001000010000010000000000
+00011111111000100010010000000000
+01101111111000010100101000011101
+10011000010001100111110000000000
+00100100010000101010111001010100
+01100000010010010100101000011101
+00011010010011001111111000000000
+00011111111100011111111000000000
+00011111111000110111111000000000
+01100111111000001100101000011100
+01100111111000001100101100101001
+00100000011000000000000000000000
+01011000000000000000000000000000
+01100111111000100100101000100001
+01110000010010100010011000000000
+00100000011000000000000000000000
+00100000010000000111111011000111
+01101111111000001100101000011111
+00011111111000100000111000000000
+01101111111000100100101000100001
+10101111111011111111111111111111
+00100000001000001111111011000101
+11111001001000000111111000000000
+01100111111000100100101000100001
+01101000010010001100101000100000
+00011000010000001111001000000001
+00011111001000001000111111111111
+10101111111011111111111111111111
+00100100011000001000000000000000
+11000010000000000010111001100010
+01110000010010100010010100000001
+00100000011000000000000000000000
+01101111111000001000110000001010
+00011111111000001111111111111010
+00011111111000100111001000000000
+01101000010010001100101000100110
+10011000010000001000010000000000
+01100000010010001100101000100110
+01101111111000010100101000101000
+10011000000000000000101000000000
+01101111111000001100101000011111
+00011111111011111111111000001100
+10011000101000001000101000000000
+11011000110000000000110000011000
+00100000001000000111110111010100
+01101111111000001100101000100101
+11000001000000000000000000000000
+01011000000000000000000000000000
+01100111111000101100101000100001
+01101000010010010000110000001110
+00011000010100001000010000000000
+01011000000000001110000000000000
+10011000010000010000010000000000
+01101111111000010100101000011101
+10011000010000011111111000000000
+00011111111100001111111000000000
+01100111111000010000110000001110
+00100000001000000011000000101011
+01101111111000001000101000001111
+00011111111000001000010000000001
+00011111111000100111001000000000
+01100000010010001000101111111111
+01101111111000001000110000010100
+01111001001111111111111000000111
+01100111111000001100101101100001
+11011000110000000000101000010000
+00100000010000000111110111000111
+00100000001000000010111111011011
+00011010001000001000010000000100
+00011010001000100111001000000000
+01100000010010001000101111111111
+11011000101000000100101101100101
+00100000010000000111110111000111
+01101111111000001000110000010100
+01111001001000000111111000000111
+01100111111000001100101101100001
+00100000001000000010111111011011
+01101111111000001000100111111000
+11000000000000001010111010011100
+11000000000000010010111010100010
+11000000001000010010111010100111
+11000000001001100010111010101010
+11000000001011110010111010110000
+00100000011000000000000000000000
+11011010011000000010111010011110
+00100000001000000010111100010100
+01101111111000010100100111111001
+00100000010000000111111001111010
+01100111111000001000100111111001
+00100000001000000010011101101101
+11011010011000000010111010100100
+00100000001000000010111100010100
+00100000010000000010011101101101
+01101111111000010100100111111011
+00100000001000000111111001111010
+00100000010000000010011110000101
+01101111111000010100100111111101
+00100000001000000111111001111010
+01101111111000010000100111111001
+00100000010000000010111010111111
+01100111111000001000100111111110
+00100000010000000010011101110101
+01101111111000010100100111111111
+00100000001000000111111001111010
+01101111111000010100101000101010
+01101000010010010000100111111011
+10011000010001100111110000000000
+00100000011000101000000000000000
+01101111111000010000100111111011
+00100000010000000010111011010001
+01100111111000001000101000000011
+01101111111000010000100111111011
+01100111111000010100101000101010
+01101111111000010100101000000001
+00100000010000000111111001111010
+01100000010010010000100111111001
+00100000010000000010011101111101
+01101111111000010100101000000011
+00100000001000000111111001111010
+00100000011110100000000000000000
+00011111111011111111111001100100
+11011000010000001111111111111111
+10011000010001101111110000000000
+00100000010000000111111001100100
+00011000000001110000010000000000
+00011000010011001000010000000000
+00011000000001111111111000000000
+00011000010001100111110011111111
+00100100011000101000000000000000
+00011111111000001111111000000001
+00100000011000000000000000000000
+11011111111000001111111111111111
+10011000010011111111111000000000
+00011111111001101111110001100100
+00100000010000000111111001100100
+00011000000001111000010000000000
+00100000011000000000000000000000
+11011000010000000000001100100000
+10011000010001100010001000000000
+00100000010000000010111011100000
+00011010001000100111111000000000
+10011000010001101111110000000000
+00100000010000000111111001100100
+00011000000001111111111000000000
+00100000011000000000000000000000
+00011000010000100010001000000000
+00100000010000000010111011100000
+00011010001000100111111000000000
+10011000010011111111111000000000
+11011000010000000000001100100000
+10011000010000001000010000000000
+00100000011000000000000000000000
+01011000000000000100111000100000
+11011000010000000000001100100000
+10011000010001100111111000000000
+00011111111001101111110001100100
+00100000010000000111111001100100
+00011000000001111000010000000000
+00100000011000000000000000000000
+11011000111000000000000000000000
+01101111001000001100101000010111
+00100000010000000111111011000111
+01101111111000010100100110000111
+10011000010001100111110000000000
+00100000001000101010111011110011
+00011111111100001111111000000000
+00011111111000001111111000000001
+00011111111100001111111000000000
+00011000111000001000111000000001
+11000010000000000010111011101011
+00100000011000000000000000000000
+01110000010010100010110000000000
+01100000111000001100101000101101
+00100000010000000010111100101111
+00100000001000000111111011000101
+11011000111000000000000000000000
+11011010011000000000000000000000
+00100000010000000010111000010100
+00100000010000000111111011000111
+01101111111000010100101000010101
+11000011000000010010111100001010
+11101111111000010000000000010001
+10011000010001100111110000000000
+00100000010000101010111100001000
+00011010010000100111111000000000
+10011010001000001010001000000000
+00011000111000001000111000000001
+11000010000000000010111011111011
+00011010011000100111111000000000
+00100000011110100000000000000000
+01100111111000001100101000101100
+00100000001000000111111011000101
+11111001001000000010011000000000
+00100000011000000000000000000000
+00011010001000001000110000000110
+11011110000000000000000000001000
+11101111111000010000000000000110
+10011000010001100111110000000000
+00100000001000101010111100010010
+00011110000000001110000111111111
+00100000001000101010111100000000
+00100000001000000010111100001100
+00100000010000000010111100001000
+00100000001000000010111100000000
+11011000111000000000000000000000
+01101111111000001100101000101100
+00100000001110100010111100100000
+00011111111000100010010000000000
+01101111001000001100101000010111
+01100000111000001100101000101101
+10101010010011111111111111111111
+00100000010000001010111100100000
+01101000111000001100101000101101
+00011000111000001000111000000001
+11000010000000000010111100011001
+00100000011000000000000000000000
+00100000010000000010111100100101
+00100000010000000010111100101111
+00011010011000100111111000000000
+00100000010000000111111001111010
+00100000001000000010111100101010
+01100111001000010000110000000000
+01100010001000010000110000000010
+01100010010000010000110000000100
+01100010011000010000110000000110
+00100000011000000000000000000000
+01101111001000010000110000000000
+01101010001000010000110000000010
+01101010010000010000110000000100
+01101010011000010000110000000110
+00100000011000000000000000000000
+01000111011111011100000000111111
+01101111111000010100100110000111
+00011111111100001111111000000000
+10011000111000001111111000000000
+00011111111100001111111000000000
+01100111111000010100101101010101
+00100000010000000010111000010100
+00011000111000100111111000000000
+10011010010011111111111000000000
+10011010001000001010001000000000
+00011010001000001000110000010111
+11101111111000010000000000000110
+01100111111000010100010010001100
+00100000011000000000000000000000
+01110000000011000011101000000000
+00011000010001100111110000001100
+00100000011000010000000000000000
+00011000010001100111110000011110
+00100100011000010000000000000000
+01000111011111100100000000111111
+00100000010000000010111110010111
+00100000010000000010111101100101
+00100100011101000000000000000000
+00100000010000000010101100011111
+00100000010000000010111110001110
+01101111111000001000110000001010
+11011000010000000000110000010010
+00100000010000000010110000001001
+00100100011000101000000000000000
+01000111011111101100000000111111
+01101000010010010000110000010010
+00100000010000000010111011100111
+00100000001101000010111101110010
+11011111001000000000000000011101
+11011000101000000000101010011000
+11011000110000000000110000001011
+00100000010000000111110111010100
+00100000010000000010111101011011
+11011111001000000000000000011101
+11011000110000000000101010011000
+11011000101000000000110000001011
+00100000010000000111110111010100
+01101111111000010100101000001011
+00100000001000000111111001111010
+00100000010000000010111011110111
+00100000001101000010111101110010
+01110000010010100010110011111111
+01011000000000001111111111001111
+10011000010001100111110000000000
+00100000001000101010111101110010
+01011000000000001111111111111111
+10011000010001100111110000000000
+00100000001000101010111101110010
+00100000011000000000000000000000
+00100000010000000111111011000111
+01101000010010001000110000001011
+00011000010100011111111000000000
+00011111111010010111111000000000
+01101010001000001100101000110001
+00011010001000010010001000000001
+10011010001001100111110000000000
+00100100011000101000000000000000
+00011000010000010000010001111111
+01101111111000001100100011010100
+10011000010001100111110000000000
+00100100011000101000000000000000
+00100000001000000111111011000101
+11011010001000000100101000110010
+11011111001000000000000000001010
+01101000010010010000110000010000
+11101111111000010000000000010001
+00100000001110100010111101111100
+10011000010001100111110000000000
+00100000001000101010111101111101
+00011010001000001010001000000101
+11000010000000000010111101110100
+11011010001000000100101000110010
+11100000010000010000000000010001
+01100000010010010000110000110101
+00011010001000001010011000000010
+11101111111000011000000000010011
+01100111111000011000110000110111
+00100000001000000010111110000010
+00100000010000000010111110001011
+01101111111000011000110000110111
+01101000010010011000110000001101
+10011000010001100111110000000000
+00100000011000010000000000000000
+11100000010000011000000000010011
+00100000010000000010111110001011
+00100000010000000010111111101110
+00100000001000000010111000101100
+11011010001000000000110000001101
+11011111001000000000000000000011
+00100000001000000111110110101100
+00100000010000000010111110010001
+11011000110000000100100011100101
+00100000001000000110111000100110
+11011000101000000000110000101000
+01011000000000000000000000000000
+11100111111000001000000000000101
+01101111111000110000110000001100
+11100111111001000000000000000101
+00100000001000000010111111101001
+00011000010000001111111111110100
+01100111111000001000110000001010
+11011111001000000000000000011101
+11011000101000000000110000001011
+00100000010000000111110110011011
+00011000010000001111001111111111
+11011000101000000000110000001011
+00100000001000000111110111000111
+00100000010000000010111110110110
+00100100011101000000000000000000
+00100000010000000010111111001011
+01110000000010100111010000001010
+01101111111000001000110000001010
+00011111111000001000010000001101
+01100000010010001000101001110110
+00011000010000001000010111111111
+11100000010000001000000000000101
+01011000000000000000000000101010
+11100111111000001000000000000101
+00011000010000001111001111111111
+01101111111000111000110000001011
+11011000110000000000110000001011
+00100000010000000111110111010100
+01101111111000010100011110001111
+00101111111011111111111000001001
+00100000010000001010111110110011
+11011010001000000000101001110100
+00100000001000000111100110101010
+01101111111000001000110000111010
+11000001000000010000000000000000
+00100000001000000011000000010111
+00100000010000000111111011000111
+01101111111000001000110000111010
+11000001000000001000000000000000
+01101111111000010100101000010101
+11000011100000001000000000000000
+01101111111000001100100101101011
+11000001100000000000000000000000
+01101000010010010000110000010000
+00100000010000000010111011100111
+00100100011101000000000000000000
+00100000010000000010111111010000
+00100100011101000000000000000000
+00100000010000000010111111010011
+01101111111000001000110000001100
+00100000011110100000000000000000
+00011111111000001111111111111111
+00100000011110100000000000000000
+01100111111000001000110000001100
+01011000000000000100101010001100
+01100111111000010100010010001100
+00100000001000000111111011000101
+00100000010000000010111110001110
+01101111111000001000110000001010
+11011000010000000000110000010010
+00100000010000000010101111101000
+00100000001000000010101100011111
+01011000000000000100101001100100
+01100111111000010000101111111101
+00100000001000000010100101111000
+11011111001000000000000000000010
+11011010001000000000110000010010
+11011010010000000000000000100001
+00100000010000000010100111100110
+01101111001000001000101111100000
+01101010001000010000101111100001
+11011010010000000000000000100001
+00100000001000000010100111100100
+01000111011111110100000000111111
+00100000010000000010111111011111
+00100000010000000010111111101000
+00100000001000000010100011000011
+01101111111000001000101111111111
+00011111111000001010001000000010
+00011111111000001111111000000100
+01100111111000001000101111111111
+11011000010000000100101101011111
+00100000001000000010111111100101
+00100000010000000010111110001110
+00011010001000100111111000000000
+00100000001000000010101111101000
+00100000001000000010101100011100
+01101111111000100100101000101110
+11100111111000100000000000000101
+00011000101000001111111111110011
+01100111111000010000101111011110
+00100000011000000000000000000000
+01101111111000001000110000001010
+00011111111000001111001000001011
+11011010001000000000110000001011
+11011010010000000000000000100000
+00100000001000000010100111100100
+01110000010000111110011100010100
+01011000000000000000000000000010
+01100111111000001100001111101000
+01011000000000000000000000000001
+11100111111000001000000000000101
+01011000000000000000000000000110
+11100111111000001000000000000101
+01011000000000000000000000000011
+11100111111000001000000000000101
+01011000000000000000000000000011
+11100111111000001000000000000101
+01011000000000000001100000101000
+11100111111000010000000000000101
+01011000000000000000000000001100
+11100111111000001000000000000101
+01011000000000000000000000010110
+11100111111000001000000000000101
+01011000000000000001100000101000
+11100111111000010000000000000101
+01011000000000000000000000000000
+11100111111000001000000000000101
+01101111111001000100100101100011
+11100111111001000000000000000101
+00100000011000000000000000000000
+01101111111000010100010000110111
+11000000000001110011000000001110
+00100000011000000000000000000000
+00011010010000100000010000000000
+11101111111000001000000000010001
+11000000000000000011000000010010
+00100000011000000000000000000000
+01110000000010101001011100000010
+00100000001000000010111100111110
+00011010011000100111111000000000
+11000000000010101011001001111001
+00100000011000000000000000000000
+00100000010000000001101100100100
+00100100011110100000000000000000
+01101111111000001000101001110110
+00011111111000001010001111111111
+11011000010000000000000000010000
+00100000010000000001111001011111
+01011000000000000000000000000000
+11100111111000001000000000000101
+11011000110000000000101001111001
+00100000001000000111110101111101
+11000011000000110011000000100100
+00100000010000000011000001001010
+00100000001000000011000000100110
+00100000010000000011000001010111
+00100000001000000011000000100110
+01101111111000001000110000001010
+00011111111000001111111111111001
+11011110000000000000110000010101
+00100000010000000111111011000111
+00100000001000000011000000111000
+01101111111000001000110000010100
+11000011000000110011000000101111
+00100000010000000011000001001010
+00100000001000000011000000110001
+00100000010000000011000001010111
+00100000001000000011000000110001
+01101111111000001100101100101001
+00100100010110100111111011000101
+00100000010110100111111011000111
+01101111111000001100101000100110
+00011111111000001111111111111100
+01110000010010100010011000000000
+11011110000000000100101111000110
+00011110000000100000010000000000
+00100000010000000011000001000100
+00100100011000101000000000000000
+11011111001000000000000000000001
+11011010001000000000101111100000
+11011010010000000000000001000000
+00100000010000000010100111100110
+00100000010000000011000001000111
+00100100011101000000000000000000
+01101111111000010000101111100001
+00011111111000100110000000000000
+00100000001000000010011100110101
+00100100001101000010110000001001
+00011111111000001111111111111100
+00100000001000000010110000000111
+01011000000000000100101100101010
+01100111111000010000101111111101
+00100000001000000010100101111000
+00100000010000000011000001001101
+11011000110000000100101100011001
+00100000001000000110111000100110
+11011000101000000000110000101000
+01011000000000000000000000000001
+11100111111000001000000000000101
+01101111111000001100101100101001
+11011000010000000000000000000000
+01111101001110100000010000000111
+11100000010000001000000000000101
+01101111111000111000110000001101
+11100111111000111000000000000101
+00100000001000000010111111101001
+00100000010000000011000001011010
+11011000110000000100100000100111
+00100000001000000110111000100110
+11011000101000000000110000101000
+01011000000000000000000000000010
+00100000001000000011000001001111
+01000111011111111100000000111111
+00100000010000000011000101001011
+00100000010000000011000101001100
+00100000010000000011000100011011
+00100000010000000011000001100110
+00100000011101000000000000000000
+00100000010000000011000001111110
+11011010001000000000110001000011
+00100000001000000111100110101010
+00100000010000000111111011000111
+11011000010000000000000000000010
+01101111111000001100100101101011
+10011000010000001000010000000000
+01101111111000001000110000111010
+00011111111001100111110000000010
+01111001001000101000010000000111
+01101111111000001000110000111010
+00011111111001100111110000000001
+01111001001000101000010000000110
+01100000010010001000110001000011
+01101111111001001100101101011000
+01100111111001001000110001000111
+01101111111000001000101000010000
+11000001111010100000000000000000
+01101111111000001100100101101011
+11000000100000000111111011000101
+01101111111000001000101000010011
+01100111111000001000110001000110
+01101111111000001000110001000011
+00011111111000001111111000000001
+01111001001000000111111000000101
+01100111111000001000110001000011
+00100000011000000000000000000000
+01101111111000001000101000001111
+00011111111000100111001000000000
+01100111111000001000110001010000
+01101111111000001000110000010100
+01100111111000001000110001010001
+11011000101000000000110001010110
+11011000110000000000101000010000
+00100000001000000111110111010100
+11011010011000000011000010001000
+00100000001000000010111000011111
+00011010001000001000110000010110
+11101111111000001000000000000110
+00100100011110100000000000000000
+11101111111000010000000000000110
+01100111111000010100010010001100
+11011010001000000000110001000011
+00100000010000000111100111010010
+00100100011101000000000000000000
+01101010001000010000110000000010
+01101000010010001000110001000011
+00011000010000010111111000001111
+00100000001110100011000011001010
+00011010001000001000101000010110
+01011000000000000000000000000001
+11100111111000001000000000000101
+00100000010000000011000010110100
+01101000010010001000110001000011
+00100000010000000011000010111010
+00011010001000001000101000011001
+11100111111000001000000000000101
+00011010001000001000110000011010
+11101111111000001000000000000110
+00101000010011111111111000000111
+01111001001000001111111000000010
+00011010001000001000101000011010
+11100111111000001000000000000101
+01111001001000000000010000000100
+00011000010000001000010111111111
+11100000010000001000000000010010
+01101000010010001000110001000011
+00101000010011111111111000000100
+00100100001000001011000011001111
+01101000010010001000110001010000
+01100000010010001000101000001111
+00011000010000100111001000000000
+11011000101000000000101000010000
+11011000110000000000110001010110
+00100000010000000111110111010100
+00011000010001100111110000001111
+00100100001000010011000010110001
+00100000001000000010111010000010
+01101111111000100000110001010010
+01100111111000100000110000111110
+00100000001000000011000011110000
+01101111111000001000110001010001
+01100111111000001000110000010100
+01101111111001001000110001000111
+01100111111001001100101101011000
+01100111111001001000110000001011
+00100000011000000000000000000000
+01011000000000000000000000000011
+00100000010000000011000011000111
+01101111111000001000110001000110
+00101000010011111111111000000101
+00100000011000001000000000000000
+01011000000000000000000000000001
+00100000010000000011000011000111
+01011000000000000000000000000000
+00101000010011111111111000000110
+00100100011000001000000000000000
+01011000000000000000000000000010
+00100000010000000011000011000111
+00100000001000000111111011010001
+00011010001000001000101000011010
+11100111111000001000000000000101
+00100000011000000000000000000000
+01011000000000000000000000000000
+00011010001000001000101000011001
+11100111111000001000000000000101
+11011010001000000000110001000011
+00100000001000000111100111000001
+00100000010000000011000100010011
+00100000010000000011000100100111
+01101111111001001100101101011000
+01100111111001001000110001000111
+00100000010000000011000011101000
+01011000000000000000000000000000
+01100111111000001100101100101001
+00100000010000000011000100001001
+01101000010010001000101000001111
+01100000010010001000110001010000
+00011000010000100111001000000000
+11011000110000000000101000010000
+11011000101000000000110001010110
+00100000010000000111110111010100
+00011000010001100111110000001111
+00100100001000010011000011100010
+11011010001000000000110001000100
+00100000010000000111100111100001
+00100000001000000010111010000010
+00100000010000000011000100101111
+01101111111000100000110000111110
+01100111111000100000110001010010
+11011010001000000000110001000100
+00100000010000000111100111100001
+00100000001000000011000011110000
+01101111111000001000110001010000
+00011111111000100111001000000000
+01100111111000001000101000001111
+01101111111000001000110001010001
+01100111111000001000110000010100
+11011000110000000000110001010110
+11011000101000000000101000010000
+00100000001000000111110111010100
+00100000010000000011000100111100
+01011000000000000000101000010000
+01100111111000010000110000111011
+00100000010000000011000010110100
+00100000010000000011000100010011
+00100000010000000011000100100111
+01101000010010001000101000001111
+01011000000000000000000000001100
+00100000010000000111111010111011
+00011111111000100010001000000000
+00011000010000100111111000000000
+10011010001001100111111000000000
+01100111111000001000101000001111
+01101111111000010000110000111011
+00011111111000100000110000000000
+10011010001000001000010000000000
+01100000010010010000110000111011
+00100000010000000010111010001100
+01101111111000001000101000001111
+00100000011110100000000000000000
+01101111111000001000110001000000
+00011111111000001111111000000001
+01100111111000001000110001000000
+00100000010000000011000100111100
+00100000001000000011000011110011
+01101111111000001000110000010100
+11000011000000110011000100001101
+00100000010000000011000001001010
+00100000001000000011000100001110
+00100000010000000011000001010111
+01101111111000001000101000001111
+00011111111000001000010000000100
+01100000010010001000101000001111
+11011000010000000000101000010000
+00100000001000000010101111101000
+01101111111000011100101101010010
+00011111111000001111111000000001
+01100111111000011100101101010010
+01101111111000001100100110001111
+00011111111000001111111000000001
+01100111111000001100100110001111
+01101111111000010100101000001111
+00100000001000000111111001111010
+01101111111000001100101000110001
+00011111111100100111111000000000
+00011111111010011111111000000000
+01101000010010001100100011010100
+10011000010000011111111000000000
+01100111111000001100101101011000
+01101111111000001100101101010111
+01100111111000001100101101011001
+01101111111000010100101101010101
+01100111111000010100101101011101
+01101111111000010000110000110101
+01100111111000010100101101011111
+01101111111000011100101101010010
+01100111111000011100101101011010
+11011010001000000100101101011010
+11011111001000000000000000000011
+00100000010000000111110110101100
+01101111111001000100101101011001
+01100111111001000000110000001100
+00100000011000000000000000000000
+01101111111000001000101000001111
+00011111111001101111110000001100
+00100000010000000111111001100100
+00011000000001111000010000000000
+00011000000001110111111000000000
+00100000010110100011000101001001
+01100000010010001000110001000001
+01110000000011000100000000000000
+01101111111000011100101101010010
+11011000010000000001111111111111
+10011000010000010111111000000000
+01100111111000010000110000111110
+00100000011000000000000000000000
+01101111111000010000110000111110
+00011111111100100111111000000000
+00011111111000111111111000000000
+01101000010010001000110001000000
+10011000010000011111111000000000
+00011111111100100111111000000000
+00011111111000111111111000000000
+01101000010010001000110001000001
+10011000010000011111111000000000
+01100111111000011100101101100010
+11011111001000000000000000000011
+11011010001000000100101101100010
+00100000001000000111110110101100
+00011000010000001000010111111111
+00100000011000000000000000000000
+00100000011000000000000000000000
+11011010001000000000101000010000
+01101111001000001000101000001111
+11011010010000000000000001000001
+00100000001000000010100111100110
+01000100110101101100000000010101
+01101111111000001100000010011010
+00100000001110100011000101010000
+11000000000000100011011010011010
+11000000000001111011001010111001
+11000000000001001100101100100011
+11000000000001010011100000010100
+11000000000001110011010001011110
+11000000000001101100101000001101
+11000000000001100100110100011000
+11000000000001011010110111101000
+11000000000001000011110001110101
+00100000011000000000000000000000
+01110000000010100101000100000000
+01110000000000001110001100000000
+01110000000000001110010000000000
+01011000000000000000000000000000
+01100111111000101000100001110000
+01101111111000001100000010011010
+00100000001110100011000101011101
+11000000000001010011100000111101
+00100000011000000000000000000000
+00100000011101011000000000000000
+00100000010000000101110010110111
+00100000010000000101110011000000
+00100000010000000101110011000110
+00100000010000000101110011001011
+00100000010000000101110011010001
+00100000010000000101110011010101
+00100000010000000110000101010000
+01101111111000001100000010011010
+11000000000001001100110001100010
+11000000000000100011011010100101
+11000000000001000011110010111000
+11000000000001101100101011011101
+00100000011000000000000000000000
+01110000010000011110111111111111
+01011000000000000100000111101111
+01100111111000010100000011001010
+01110000010001111001001111111111
+01110000010000010111101010001000
+01110000010000010111110011001110
+00100000011000000000000000000000
+00100000010000000111100000100100
+00100000010000000111100011110010
+00100000010000000011000110000100
+01101111111000010100010001100101
+00100000001000000111111001111010
+01101111111000010100010001100011
+00100000001000000111111001111010
+01101111111000010100010001100001
+00100000001000000111111001111010
+01000100110101110100000000010101
+11011010001000000100011101110101
+00100000010000000111111010100010
+00100000011110100000000000000000
+00011111111000100010011000000000
+00100000010000000011000110001101
+00100000001000000011000110110010
+11011010011000000000000000000000
+00100000011000000000000000000000
+11000000000000001011000110011111
+11000000000010000011000111100110
+11000000000000101011000111000011
+11000000000010010011000111001010
+11000000000000110011000111100010
+11000000000000100011001000100011
+11000000000000010011001000101000
+11000000000010011011001000100011
+11000000000010100011000111011001
+11000000000010101011000111011101
+11000000000000011011000110111100
+11000000000001011011000111001110
+11000000000001100011000111010101
+11000000000010110011000111101010
+11000000000011000011000110111000
+11000000000101010011000110101000
+11000000000101011011000110100110
+00100000011000000000000000000000
+01101111111000010100011110001111
+01111001001000000111111000000000
+01100111111000010100011110001111
+01101111111000010100010010000010
+01111001001111111111111000000000
+01100111111000010100010010000010
+00100000001000000111100100110100
+01110000000000110000110000000000
+00100000011000000000000000000000
+01101111111000001000001100001100
+00011111111000001111111000000001
+01100111111000001000001100001100
+00011111111001100111110000000001
+00100000001000010011001001011110
+01110000000000110000110000000000
+01101111111000010100010010000010
+01111001001000000111111000001001
+01100111111000010100010010000010
+00100000001000000011001001101000
+01101111111000010100010001100111
+00100000001000000111111001111010
+01101111111000010100010001011011
+00100000001000000111111001111010
+01101111111000010100010001011111
+00100000001000000111111001111010
+01101111111000010100010010000010
+01111001001000000111111000000001
+01100111111000010100010010000010
+00100000001000000011001010010001
+01101111111000010100011110001111
+01111001001000000111111000000111
+01100111111000010100011110001111
+01101111111000010100010010000010
+01111001001000000111111000000010
+01100111111000010100010010000010
+00100000011000000000000000000000
+01101111111000010100011110001111
+01111001001000000111111000000001
+01100111111000010100011110001111
+01101111111000010100010010000010
+01111001001000000111111000000100
+01100111111000010100010010000010
+00100000011000000000000000000000
+01101111111000010100011110001111
+01111001001000000111111000000011
+01100111111000010100011110001111
+00100000011000000000000000000000
+01101111111000010100011110001111
+01111001001000000111111000000101
+01100111111000010100011110001111
+01101111111000010100010010000010
+01111001001000000111111000000011
+01100111111000010100010010000010
+00100000011000000000000000000000
+01101111111000010100011110001111
+01111001001111111111111000000101
+01100111111000010100011110001111
+00100000011000000000000000000000
+01101111111000010100011110001111
+01111001001000000111111000001001
+01100111111000010100011110001111
+00100000011000000000000000000000
+01110000010001000011010100000000
+01101111111000010100011110001111
+01111001001111111111111000001001
+01100111111000010100011110001111
+00100000001000000011001010010111
+01101111111000010100011110001111
+01111001001000000111111000000010
+01100111111000010100011110001111
+00100000011000000000000000000000
+01101111111000010100010010000010
+01111001001000000111111000000000
+01100111111000010100010010000010
+00100000011000000000000000000000
+01101111111000010100010010000010
+01111001001000000111111000001000
+01100111111000010100010010000010
+00100000001000000011001001101000
+01100111111000001000001100001101
+01000100110101111100000000010101
+01101111111000001000001100001101
+00100000011110100000000000000000
+00011111111000001111111111111111
+01100111111000001000001100001101
+00100000010000000111100000110000
+00100000010000000011001001010101
+00100000010000000011001000010110
+00100000010000000011001000011100
+00100000010000000101110101111011
+01101111111000010100010001101111
+00100000010000000111111001111010
+00100000001000000011000111101111
+11101111111000001000000000010011
+00100000011110100000000000000000
+00011111111000001111111111111111
+11100111111000001000000000010011
+00100100011110100000000000000000
+00011010010000100111111000000000
+00100000001000000111111001111010
+11101111111000010000000000010011
+00100000011110100000000000000000
+00011111111000001111111111111111
+11100111111000010000000000010011
+00100100011110100000000000000000
+00011010010000100111111000000000
+00100000001000000111111001111010
+01101000010010010100010011001100
+00011000010000001010011000000001
+11011010010000000011001000001110
+00100000001000000011000111111100
+00100000010000000011001010101101
+11000000000000001011001000010001
+00100000001000000011001010001001
+01011000000000000000000000000010
+11100111111000001000000000010011
+00011000010000001010010000001000
+11101111111000010000000000010010
+00100000001000000111111001111010
+11011010011000000100010001111101
+11011010010000000011001000011001
+00100000001000000011000111111100
+00100000010000000000101001011111
+00100000001000101011001010001101
+00100000011000000000000000000000
+11011010011000000100011110001011
+11011010010000000011001000011111
+00100000001000000011001000000011
+00100000010000000011001001101111
+00100000010000000011001010000111
+01101111111000010100010001101001
+00100000001000000111111001111010
+00100000010000000011001000111011
+01101111111000010100011110001111
+01111001001111111111111000000111
+01100111111000010100011110001111
+00100000011000000000000000000000
+01110000010001000111110100000000
+01101111111000010100011110001111
+11000010100000111011001000101101
+00101111111011000000000000000001
+00100000010000001011000110001011
+01000100110110000100000000010110
+01101111111000010100011110001111
+01111001001111111111111000000000
+01111001001111111111111000000001
+01111001001111111111111000000010
+01111001001111111111111000000011
+01111001001111111111111000000111
+01100111111000010100011110001111
+00100000001000000011001010010111
+00100000010000000011001000111000
+00100000001000000011001010001001
+01011000000000000000000000000000
+01100111111000010100010010000000
+00100000011000000000000000000000
+01011000000000000000000000000000
+01100111111000010100010010000010
+00100000011000000000000000000000
+01101111111000010100010010000010
+01100111111000010100010010000000
+01011000000000000000000000000000
+01100111111000010100010010000010
+00100000011000000000000000000000
+01101111111000010100010010000010
+01111001001000000111111000000111
+01100111111000010100010010000000
+01011000000000000000000000000000
+01100111111000010100010010000010
+00100000011000000000000000000000
+01101111111000001100011110001111
+00101111111011111111111000000101
+00100000011000000000000000000000
+01101111111000001100011001000100
+01100111111000001100010001111101
+00100000011000000000000000000000
+11011000111000000000000000001001
+00100000001000000001010101100110
+11011000111000000000000000001001
+00100000001000000001010101101010
+01110000010001000111111000000101
+00100000001000000011001001001111
+11011010011000000100010001111110
+11011010010000000011001001010001
+00100000001000000011000111111100
+01110000010001011111011000000001
+00100000011000000000000000000000
+01110000010001011111011000000000
+00100000011000000000000000000000
+01110000000010010101101100001010
+00100000001000000111100011100101
+01110000000010010101101100011101
+00100000001000000111100011100101
+01000100110110001100000000010110
+01101111111000001100010001111111
+01100111111000001000000010111100
+01110000000000110000101100000001
+01110000000010010101101100000011
+00100000001000000111100011100101
+01110000000010010101101100011110
+00100000001000000111100011100101
+01110000000010010101101100000100
+00100000001000000111100011100101
+01101111111000010100011110010100
+01100111111000010100011110001011
+00100000010000000011001010000011
+01110000000010010101101100000001
+00100000001000000111100011100101
+01011000000000000000000000000000
+01100111111000010100011110001011
+01110000000010010101101100000010
+00100000001000000111100011100101
+01110000000010010101101100001111
+00100000001000000111100011100101
+01110000000010010101101100010000
+00100000001000000111100011100101
+01110000000010010101101100001110
+00100000001000000111100011100101
+01110000000010010101101100001101
+00100000001000000111100011100101
+01110000000010010101101100010111
+00100000001000000111100011100101
+01110000000010010101101100011000
+00100000001000000111100011100101
+01110000000010010101101100010110
+00100000001000000111100011100101
+01110000000010010101101100010001
+00100000001000000111100011100101
+01110000000010010101101100010101
+00100000001000000111100011100101
+01110000000010010101101100010100
+00100000001000000111100011100101
+01110000000010010101101100010011
+00100000001000000111100011100101
+01110000000010010101101100011001
+00100000001000000111100011100101
+01110000000010010101101100000110
+00100000001000000111100011100101
+01110000000010010101101100000101
+00100000001000000111100011100101
+01110000000010010101101100011111
+00100000001000000111100011100101
+01110000000010010101101100100000
+00100000001000000111100011100101
+01110000000010010101101100100101
+00100000001000000111100011100101
+01111001001000000000000000001101
+00100000011000000000000000000000
+01111001001111111000000000001101
+00100000011000000000000000000000
+00100000010000000011001010101101
+11000000000000010011001010100011
+01011000000000000000000000000001
+11100111111000001000000000010011
+00011000010000001010001000000011
+00011000010000001010010000000110
+11101000010000001000000000010001
+00011010011000001010011000000001
+11100000010000001000000000010011
+00100000001000000011001000010100
+01011000000000000000000000000000
+11100111111000001000000000010011
+01101111111000010100011110001111
+11000011000001001011001010101001
+00100000010000000010000100110100
+00100000010000000011001010000001
+01101000010010010100010011001100
+00011000010000001010001000000010
+00011000010000001010010000000100
+00100000001000000011001010011111
+01101000010010010100010011001100
+00011000010000001010011000000000
+11101111111000001000000000010011
+00100000011000000000000000000000
+00100000010000000011001010101101
+11000000100000000011001010110100
+00100000001000000011001010001001
+00011000010000001010010000001010
+00100000001000000011001000010100
+01011000000000000000000000000010
+01100111111000001100011110001101
+00100000011000000000000000000000
+00100000011101011000000000000000
+01011000000000000011001011101000
+01100111111000010100010001011101
+01011000000000000110000111111111
+01100111111000010100010001011111
+01011000000000000011001110010101
+01100111111000010100010001100101
+01011000000000000011001110010100
+01100111111000010100010001100001
+01011000000000000011001100000011
+01100111111000010100010001100111
+01011000000000000011001101000000
+01100111111000010100010001101111
+01011000000000000011001011101010
+01100111111000010100010001101101
+01011000000000000011001011110101
+01100111111000010100010001011011
+01011000000000000011001110100001
+01100111111000010100010001101011
+01000100110110010100000000010110
+00100000010000000011010000111010
+00100000010000000011001011100110
+00100000010000000110000111011010
+00100000010000000011010001001100
+00100000010000000111100001011011
+00100000010000000111100000100110
+01011000000000000011001110101011
+01100111111000010100100001110011
+01011000000000000011001110011100
+01100111111000010100100001101010
+01011000000000000011001110011000
+01100111111000010100100001101100
+01011000000000000011001011110001
+01100111111000010100100001101110
+01011000000000000011010001000001
+01100111111000010100011110110110
+01011000000000000011010001000011
+01100111111000010100011110111000
+01011000000000000011010001001000
+01100111111000010100011111000001
+01011000000000000011010001000101
+01100111111000010100011111000011
+01101111111000010100011110001111
+11000011100001100000000000000000
+00100000001000000011001010001001
+01110000010001011111101000000111
+00100000011000000000000000000000
+00100000010000000011010000100101
+00100000001000000011001010001001
+00100000010000000001101100100100
+00100100011110100000000000000000
+11011010001000000000100111010010
+00100000010000000111100111000001
+00100100011101000000000000000000
+11011000110000000000100111010010
+00100000001000000100110001011010
+01101111111000010100100010100100
+01100111111000010100100010011110
+01110000010010000110000000000001
+00100000001000000011010000101110
+01101111111000001100100010101010
+11000000000000001011001011111110
+01101111111000010100011110001111
+11000011000001001011001011111110
+01101111111000001100100010101011
+11000000000000001011001001001111
+01101111111000001100100000001101
+00100100001110100011001001001111
+00100000001000000011001001010001
+01101111111000001100100010101000
+01101000010010001100100010101001
+10011000010000011111111000000000
+11000000000000001011001001001111
+00100000001000000011001001010001
+00011010011000100111111000000000
+11000000000101101011001010110001
+11000000000010000011001010011001
+11000000000010100011001101111101
+11000000000010101011001110000110
+11000000001000000011001100001011
+11000000001000100011001100010101
+00100000011000000000000000000000
+00100000010000000011001100010001
+01101111111000010100001111011011
+11000000000000001011001100011011
+01110000010010001001011100000010
+01110000010010001001110000111100
+00100000011000000000000000000000
+01101111111000001000001010000111
+11000011100000101000000000000000
+01110000010010100110001100000001
+00100000011000000000000000000000
+01101111111000001100101001100011
+00100000011110100000000000000000
+01110000010010100110001100000000
+01101111111000010000001011000011
+00100000001110100011001100110000
+00100000011000000000000000000000
+01101111111000010100001101110110
+00100000001110100011001100101110
+01110000010010001001011100000001
+01101000010010010100100011000001
+01101111111000010100001101110010
+10011000010000001111111000000000
+01100111111000010100001101110010
+00011111111000100010001000000000
+01101111111000010100001101110100
+10011000010000001111111000000000
+01100111111000010100001101110100
+10011010001000001111111000000000
+00011111111000110000010000000000
+01101111111000010100100011001101
+10011000010001101111110000000000
+00100000010000000111111001100001
+01100111111000010100001101110110
+01110000010010001001110100000001
+00100000011000000000000000000000
+01110000010010001001011100000011
+00100000011000000000000000000000
+01110000010000010111011100000000
+01110000010010001001110100000000
+01101111111000010000001011000001
+01101000010010010100100011001011
+10011000010001100111110000000000
+01111001001000010010001000000000
+01101111111000010100100011001101
+01101000010010010000001011000001
+10011000010001100111111000000000
+01111001001000010010001000000001
+00101010001000000000011000000011
+00100000011000001000000000000000
+01101111111001000100100011001011
+01100111111001000100001101110010
+01110000010010001001110100000001
+00100000011000000000000000000000
+00100000010000000011001000001010
+00100000010000000011001101010111
+00100000010000000011001101011100
+00100000010000000011001101110011
+00100000010000000011001101101000
+00100000010000000011001101100010
+00100000010000000011001101010000
+00100000010000000011001101001001
+00100000001000000011001101110111
+11011010011000000100101001100101
+11011010010000000011001101001100
+00100000001000000011001000000011
+11011010001000000000000000000001
+00100000010000000111100001101100
+01101111111000010100100010101110
+00100000001000000110001001111110
+11011010011000000100101001100100
+11011010010000000011001101010011
+00100000001000000011000111111100
+00100000010000000011010001001110
+00100000010000000011010001001110
+00100000010000000011010001001110
+00100000001000000011010001011000
+11011010011000000100100010100110
+11011010010000000011001101011010
+00100000001000000011000111111100
+01110000010010001010011100000000
+00100000011000000000000000000000
+11011010011000000100100010100000
+11011010010000000011001101011111
+00100000001000000011001000000011
+11011010011000000100011111001100
+11011010010000000100011110101011
+00100000001000000011010000110000
+11011010011000000100100010011100
+11011010010000000011001101100101
+00100000001000000011000111111100
+01101111111000010100001101110110
+01100111111000001100000101110111
+00100000011000000000000000000000
+11011010011000000100100010011101
+11011010010000000011001101101011
+00100000001000000011000111111100
+01101111111000001000001010000111
+00101111111000001100000000000000
+00100100001000001011001101110001
+01110000010010001001011100000001
+00100000010000000011001010010101
+00100000001000000001111100000100
+01110000010010001001110100000001
+00100000011000000000000000000000
+11011010011000000100100010011110
+11011010010000000011001101110110
+00100000001000000011001000000011
+00100000001000000011001010011001
+11011010011000000100100010011010
+11011010010000000011001101111010
+00100000001000000011001000000011
+01101111111000010100100010110100
+01100111111000010100100010011010
+00100000001000000011010001001110
+01101111111000010100100010110100
+01100111111000010100100010011010
+01011000000000000000000000000000
+01100111111000010100100010100000
+01100111111000010100100010011110
+00100000010000000011001111111100
+00100000010000000011010000100101
+01110000010000010111011100000000
+00100000001000000011001001110111
+01011000000000000000000000000000
+01100111111000100100100010011010
+01100111111000011100100010010111
+01100111111000010100001111011011
+01110000010010001010110100000001
+01101111111000010100100010100100
+01100111111000010100100010011110
+01101111111000010100101001100111
+01100111111000010100101001100101
+00100000010000000111100110100101
+01101111111000001100100001100110
+11000001000000000000000000000000
+00100000010000000011010000101110
+00100000001000000011010000001110
+00100000001000000011001110101000
+01101111111000001100100001100110
+11000001100000010000000000000000
+00100000001000000011001110101000
+11011010011000000100011111011010
+00100000010000000011010000100001
+11011010011000000100011111010011
+00100000001000000011010000100011
+01110000010001000010011100000000
+11011010011000000100011111101000
+00100000010000000011010000100001
+11011010011000000100011111100001
+00100000001000000011001110011011
+01101111111000001100010000110110
+11000000000010010011001110100100
+00100000011000000000000000000000
+01101111111000010100010000110111
+11000000000001101011001111010110
+11000000000001011011010000010001
+00100000011000000000000000000000
+01101111111000001100100001100000
+00100000011110100000000000000000
+00100000001000000110001000001011
+00011010001000100111111000000000
+00100000001110100011001110110000
+00011000111000100111111000000000
+11000000000000000011001110110011
+00100000011000000000000000000000
+00011000111000100111111000000000
+11000000000000000011001110111011
+00100000011000000000000000000000
+01110000010010001010101000000001
+11011010011000000100100000000100
+00100000010000000011010000100001
+11011010011000000100011111111101
+00100000010000000011010000100011
+01101111111000010100011110001111
+11000011000001001011001111010010
+00100000001000000011001111000001
+01110000010010001010101000000000
+00100000001000000011001110111101
+01101111111000001100100010100111
+11000001100000001000000000000000
+01110000010010001010011000000101
+00100000011000000000000000000000
+01101111111000001100100010100111
+00011111111000001111111000000001
+01100111111000001100100010100111
+11000000000000001011001111000111
+11000000000000010011001111001011
+00100000011000000000000000000000
+00100000010000000011001111111100
+01110000010010000111111000000001
+11011010011000000100100001111001
+00100000001000000011001111100100
+01110000010010001010011100000000
+01110000010010000111111000000010
+11011010011000000100100001111001
+00100000010000000011001111100100
+01101111111000001100100010101011
+11000000000000001011001111110001
+00100000011000000000000000000000
+01101111111000010100100010100100
+01100111111000010100100010011110
+00100000010000000011001111111100
+00100000001000000011010000101110
+01000100110110011100000000010110
+00100000010000000011010101101101
+11101111111000001000000000010001
+11000000000000011011001111011100
+11000000000000111011001111100000
+00100000011000000000000000000000
+01101111111000001100100010101011
+11000000000000000011001111110001
+11000000000000001011001111111100
+00100000011000000000000000000000
+11101111111000001000000000010010
+11000000000000001011010000000100
+11000000000000000011010000001001
+00100000011000000000000000000000
+01000100110110100100000000010110
+01101111111000001100100010011000
+00101111111011111111111000000000
+00100100011000001000000000000000
+00011010011000001000110000000110
+11101111111000010000000000000110
+00011111111100001111111000000000
+00011111111000001111001000000101
+00011010011000001000110000000011
+00100000010000000011010101100001
+11100111111000001000000000000110
+00011010011000100010001000000000
+00100000001000000111100110101010
+01101111111000001100100001100110
+00100000011110100000000000000000
+01110000010010001010101100000001
+11011010011000000100011111110110
+00100000010000000011010000100001
+11011010011000000100011111101111
+00100000010000000011010000100011
+01110000010010001000110100000100
+01110000010010001001000000000001
+11011010011000000100100010001000
+00100000001000000011001111100100
+01101111111000001100100010101011
+00100000011110100000000000000000
+01110000010010001010101100000000
+00100000010000000011010000100101
+01110000010010001000110100000100
+01110000010010001001000000000000
+11011010011000000100100010001000
+00100000001000000011001111100100
+01110000010010001010110000000001
+01110000010010001000110100000111
+01110000010010001001000000000001
+11011010011000000100100010001000
+00100000001000000011001111100100
+01110000010010001010110000000000
+01110000010010001000110100000111
+01110000010010001001000000000000
+11011010011000000100100010001000
+00100000001000000011001111100100
+01101111111000001100100010101100
+00100000011110100000000000000000
+00100000001000000011001111110001
+11101111111000010000000000010001
+01100111111000010100100010011000
+00101111111011111111111000000000
+00100100011000001000000000000000
+01101111111000001100100010101101
+00100000011110100000000000000000
+01110000010010001010110100000000
+01101111111001000100100011000011
+01100111111001000100001101110010
+01110000010010100110010000000011
+01110000010010001000110100000111
+01110000010010001001110100011110
+01101111111000001100100010101100
+01100111111000001100100010010000
+11011010011000000100100010001000
+00100000001000000011001111100100
+11011010001000000000000000000001
+00100000001000000011010000100100
+11011010001000000000000000000000
+00100000001000000011010000101011
+11011010001000000000000000000000
+00100000010000000111100001101100
+11011010001000000000000000000001
+00100000010000000111100001101100
+01101111111000010100100010101110
+00100000001000000110001001111110
+00100000010000000111100001010111
+11011111001000000000000000000111
+00100000001000000111100001111001
+11011010011000000100011111000101
+11011010010000000100011110100111
+00100000010000000011010000110101
+00100000010000000011010000100011
+01101111111000010100100010100010
+01100111111000010100100010100000
+00100000001000000011001001111001
+11101111111000010000000000010010
+01100111111000010100000101011001
+11101111111000010000000000000110
+01100111111000010100010000101000
+00100000011000000000000000000000
+11011010001000000000000000000000
+00100000010000000110001000111001
+01101111111000110100100010101110
+01100111111000110000100101011100
+00100000010000000110001001100000
+01101111111000010100100010101110
+00100000001000000110001001111110
+01110000010010001010100000000001
+00100000011000000000000000000000
+01110000010010001010100000000000
+00100000011000000000000000000000
+01110000010010001010100100000000
+01101111111000010100100010101110
+00100000001000000110001001111110
+01110000010010001010100100000001
+01101111111000110100100010101110
+01100111111000110000100101011100
+00100000001000000110001001100000
+01110000010001001010001000000000
+00100000011000000000000000000000
+00100000010000000110000110001101
+01100111111000010100100010111101
+11011010001000000100100010110111
+00100000010000000110000110111010
+01100111111000001100100010110110
+01011000000000000000000001100101
+11000000000000000011010001011101
+00011111111001100111110001100100
+00100100001000010011010001011011
+01100111111000001100100010010000
+01110000010010001000110100000101
+11011010011000000100100010001000
+00100000001000000011001111100100
+01110000010010001001000001100100
+00100000001000000011010001011000
+00100000001000000011001010011001
+00100000010000000110111001011110
+00100000011101011000000000000000
+01011000000000000011011001010100
+01100111111000010100100010001101
+01011000000000000010001101010100
+01100111111000010100100010001111
+01011000000000000011011010000110
+01100111111000010100100010010001
+01011000000000000011010011011010
+01100111111000010100010001011101
+01011000000000000011010011011010
+01100111111000010100010001011111
+01011000000000000011001010001001
+01100111111000010100010001101001
+01011000000000000011010011011100
+01100111111000010100010001100101
+01011000000000000011010011111101
+01100111111000010100010001100111
+01011000000000000011001001001111
+01100111111000010100010001011011
+01011000000000000011010101100111
+01100111111000010100010001101011
+01011000000000000011010100100111
+01100111111000010100010001101111
+01000100110110101100000000010110
+00100000010000000011010011000000
+00100000010000000011010011101010
+00100000010000000111100110100101
+01110000010000010111011100000010
+01110000010011000110010000000000
+01101111111000001100101000100110
+01100111111000001100100011110101
+11000000000000000011010010001001
+01101111111000001100101000100111
+01100111111000001100011110010011
+01110000010001000010011100000000
+00100000010000000111100000100110
+00100000010000000111100000110000
+01110000010010100100111000000001
+01101111111000010100011110001111
+11000011100001100000000000000000
+00100000001000000011001010001001
+00100000001000000011010010100111
+01110000010010100100111000000010
+01110000010001000010011100000001
+01011000000000000000000000100000
+00100000010000000100110001010110
+11011000101000000100001011111111
+01101111111000001100001101111010
+00011111111000010000010011110000
+00011000010100011000010000000000
+00100000010000000011010010100001
+11100000010000001000000000000101
+00011111111000010000010000001111
+00100000010000000011010010100001
+11100000010000001000000000000101
+00100000010000000001101001011000
+01101000010010001100001011110111
+00011000010000100111001000000000
+11011000101000000100001111101010
+11011000110000000100001011111000
+00100000010000000111110111010100
+01101000010010001100001011110111
+00011000010000100111001000000000
+11011000101000000100010000001010
+11011000110000000100001011111000
+00100000001000000111110111010100
+00011000010001100111110000001001
+00100000001000010011010010100101
+00011000010000001000010000110111
+00100000011000000000000000000000
+00011000010000001000010000110000
+00100000011000000000000000000000
+01101111111000001100101000011011
+11000000111111111011010010111001
+01101111111000001100101000011001
+11000000111111111011010010111100
+01101111111000001100101000100100
+11000000111111111011010010111110
+01101111111000001100100110000111
+00011111111000100111001000000000
+01011000000000000100100110001000
+00011111111000100010001000000000
+00011010001000100000110000000000
+11101111111000001000000000000110
+00011000110000100010001000000000
+11000000011111111011010010110111
+00011111111000100000010000000000
+00100000010000000110000100001101
+11000010000000000011010010110001
+00100000011000000000000000000000
+01101111111001000100101000011011
+01100111111001000100100110001010
+00100000001000000011010010101001
+01100111111000001100100110001000
+00100000001000000011010010101011
+01100111111000001100100110001001
+00100000001000000011010010101101
+00100000010000000011011001010000
+11011010001000000000000000000000
+00100000010000000110001000111001
+00100000010000000011010010100111
+00100000010000000011010011110010
+00100000010000000011010011011000
+00100000001000000011010011000111
+01101111111000001100110001010001
+00011111111000100111001000000000
+01011000000000000100110001010010
+00011111111000100010001000000000
+00011010001000100000110000000000
+11101111111000001000000000000110
+00011000110000100010001000000000
+11000000011111111011010011010010
+00011111111000100000010000000000
+01100111111000001100110001010110
+00100000010000000011010011010100
+11000010000000000011010011001011
+00100000011000000000000000000000
+01101111111000001100110001010110
+11000001011111111000000000000000
+10011000000000000000010000000000
+00100000001000000110000100001101
+01110000010010100010101001100100
+00100000011000000000000000000000
+00100000001000000110000111111111
+00100000001000000110001000001011
+00100000010000000011010011110100
+00100000010000000011010011011111
+00100000001000000011010011011011
+01101111111000010100011110001111
+11000011100001001000000000000000
+01101111111000001100110001100100
+11000000000000001011010011100100
+00100000011000000000000000000000
+01101111111000001100101001000101
+11000001000000001000000000000000
+01110000010010100100010100000001
+00100000010000000011010011101110
+00100000010000000011010011110000
+00100000001000000011010100000111
+01101111111000010100110001101001
+01100111111000010100110001101011
+01110000010011000110110100000000
+00100000011000000000000000000000
+01011000000000000000000000000000
+00100000001000000011010011101011
+11011010001000000000000000000000
+00100000001000000111100001101100
+11011010001000000000000000000000
+00100000001000000111100001110001
+01101111111000010100011110001111
+11000100000001001000000000000000
+00100000010000000001101100100100
+00100100011110100000000000000000
+11011010001000000100100101110011
+00100000010000000111100111000001
+00100100011101000000000000000000
+11011000110000000100100101110011
+00100000001000000100110001011010
+00011010011000100111111000000000
+11000000000101101011001010110001
+11000000000010000011001010011001
+11000000000010100011010100000011
+11000000000010101011010100001101
+00100000011000000000000000000000
+00100000010000000011010011101110
+00100000010000000011010011110000
+01111001001111111000000000100111
+00100000001000000011010100001001
+01101111111000010100101001000110
+01100111111000010100101001001000
+01110000010010100010100100010100
+01110000010000001001100100000000
+00100000010000000011001001110111
+00100000001000000011001010010101
+01111001001000000000000000100111
+00100000010000000011010011101010
+00100000010000000011011000000100
+00100000010000000011010111111000
+01011000000000000000000000000000
+01100111111000101100100111110111
+01011000000000000000000000000100
+00100000010000000110001001111110
+01011000000000000000000000000101
+00100000010000000110001001111110
+01011000000000000000000000010100
+00100000010000000110001001111110
+01011000000000000000000000010101
+00100000010000000110001001111110
+01011000000000000000000000010110
+00100000010000000110001001111110
+01011000000000000000000000000111
+00100000010000000110001001111110
+00100000010000000111100110100101
+01110000010010011011100100001010
+01110000010010011011101100001010
+01110000010010011011110100001010
+01110000010000010111011100000010
+01011000000000000000000000100000
+00100000010000000100110001010110
+00100000001000000011001001111001
+00100000010000000011010110100101
+00100000010000000011010110101000
+00100000010000000011010110101011
+00100000010000000011001000001010
+00100000010000000011010100111101
+00100000010000000011010100110111
+00100000010000000011010100101111
+00100000001000000011010100110010
+11011010011000000100110001100101
+11011010010000000000000000000000
+00100000001000000011000111111100
+11011010011000000100110001101011
+11011010010000000011010100110101
+00100000001000000011001000000011
+01110000010011000110110100000001
+00100000011000000000000000000000
+11011010011000000100101001001000
+11011010010000000011010100111010
+00100000001000000011001000000011
+01110000010010100100010100000010
+01110000010011000110010000000000
+00100000001000000011010100010001
+01101111111000001100101000100011
+00100000011110100000000000000000
+11011010011000000100101000101001
+11011010010000000011010101000010
+00100000001000000011000111111100
+01101111111000001100101000101000
+01100111111000001100101000101001
+01101111111000001100101000101100
+00100100011110100000000000000000
+00100000010000000110000110001101
+01100111111000010100101001000011
+11011010001000000100101000111101
+00100000010000000110000110111010
+01101000010010001100101000101010
+10011000010001100111110000000000
+00100000001000010011010101001111
+01100111111000001100101000101010
+00011111111000100000010000000000
+01100000010010001100101000101011
+01101111111000001100101000100101
+10011000010001100111110000000000
+00100000010000010011010101011010
+01100000010010001100101000110110
+11011111001000000000000000000110
+11011000110000000100101000110001
+00100000010000000011010101100001
+01100111111000001100101000110111
+11011010001000000100101000101110
+00100000001000000111100110101010
+01101111111000001100101000101101
+00100100011110100000000000000000
+01110000010010100010110100000001
+11011010001000000000000000000001
+00100000001000000111100001110001
+11011010001000000000000000000001
+00100000001000000111100001101100
+11011010001000000000000000000000
+11101111111000001000000000000110
+10011010001000001010001000000000
+11000010000000000011010101100010
+00011010001000010111111011111111
+00100000011000000000000000000000
+01101111111000001100010000110110
+11000000000010010011010101101010
+00100000011000000000000000000000
+01101111111000010100010000110111
+11000000000010100011010110000001
+00100000011000000000000000000000
+01000100110110110100000000010110
+11101111111000101000000000010001
+01100111111000101000100111011110
+01101111111000010000100111011110
+11011000010000000110101101011010
+10011000010001100111110000000000
+00100100011000101000000000000000
+01101111111000010000100111100001
+00011111111100001111111000000000
+01100111111000010000100111100001
+00011111111000100111001000000000
+00011010001000001010001000000101
+00011010001000100000110000000000
+11011000101000000000100111100011
+00100000010000000111110111010100
+11101111111000001000000000000110
+01100111111000001000100111101101
+11011010001000000000100111100000
+11011010010000000000100111100011
+00100000011000000000000000000000
+01011000000000000000000000000000
+01100111111000101100100110101101
+01100111111000101100100110110010
+00100000010000000011010101101101
+00011010010000100000110000000000
+11011000101000000100100110101101
+11011111001000000000000000001010
+00100000010000000111110111010100
+01000100110110111100000000010110
+11101111111000001000000000010001
+11000000000000010011010110110100
+11000000000000011011010111001001
+11000000000000100011010111010000
+11000000000000101011010111010000
+11000000000000110011011001000000
+11000000000000111011011001000001
+11000000000001000011011001000100
+00100000011000000000000000000000
+00100000010000000011010110000001
+01101111111000001000100111100000
+11000000000000100011010110011000
+11000000000000101011010110011000
+00100000011000000000000000000000
+01101111111000001100100110101101
+00100100010110100011010110011111
+01101111111000001100100110101111
+00100100010110100011010110100001
+01101111111000001100100110110001
+00100100010110100011010110100011
+00100000011000000000000000000000
+01110000010011000100111000000101
+00100000011000000000000000000000
+01110000010011000100111100000101
+00100000011000000000000000000000
+01110000010011000101000000000101
+00100000011000000000000000000000
+11011010011000000100110001001110
+11011010010000000011010110101110
+00100000001000000011000111111100
+11011010011000000100110001001111
+11011010010000000011010110110000
+00100000001000000011000111111100
+11011010011000000100110001010000
+11011010010000000011010110110010
+00100000001000000011000111111100
+01110000010010011010110100000000
+00100000001000000011010111010000
+01110000010010011010111100000000
+00100000001000000011010111010000
+01110000010010011011000100000000
+00100000001000000011010111010000
+01101111111000001100100110101101
+01100111111000001100100110111000
+01101111111000001100100110101110
+01100111111000001100100110111010
+00100000001000000011010111011010
+01101111111000001100100110101101
+01100111111000001100100110111010
+00100000001000000011010111101000
+01101111111000001100100110111001
+00100000010000000011010111000001
+01101111111000001100100110101110
+01100111111000001100100110111000
+00100000001000000011010111100110
+11000000000000010011010111000101
+11000000000000011011010111000111
+01100111111000001100100110111001
+00100000011000000000000000000000
+01110000010010011011100100000101
+00100000011000000000000000000000
+01110000010010011011100100001010
+00100000011000000000000000000000
+01101111111000001100100110101101
+00100000010000000011010111000001
+01101111111000001100100110111001
+00100000010000000011011000110100
+00100000010000000011011000110111
+01110000000010010101110100000000
+00100000001000000110001001110010
+01101111111000001100101001001011
+00100100011110100000000000000000
+01101111111000110100100110101101
+01100111111000110100100110111000
+01101111111000001100100110111001
+01101000010010001100100110111011
+10011000010000010111111000000000
+01101000010010001100100110111101
+10011000010000010111111000000000
+00100000010110100011010111101100
+01000100110111000100000000010111
+01101111111000010100011110001111
+00101111111011111111111000001001
+00100100010000001011010011101010
+00100000010000000011010111100110
+00100000010000000011010111101000
+00100000001000000011010111100001
+01101111111000001100100110111000
+01101000010010001100100110111010
+10011000010000001111111000000000
+00100100001110100111100101110110
+00100000001000000111100101110100
+11011000110000000100100110111000
+00100000001000000011010111101110
+11011000110000000100100110111010
+00100000001000000011010111110011
+11011000110000000100100110111100
+00100000001000000011011000010000
+01110000010010100010110000000000
+00100000011000000000000000000000
+11101111111000001000000000000110
+11000000000000000011010111111000
+11000000000000001011010111111100
+11000000000000010011011000000000
+00100000011000000000000000000000
+11101111111000001000000000000110
+11000000000000000011011000000100
+11000000000000010011011000001000
+11000000000000001011011000001100
+00100000011000000000000000000000
+01101000010010001100110001010010
+00100000010000000110000100001001
+01101000010010001100110001010011
+00100000001000000110000100001001
+01101000010010001100110001010010
+00100000010000000110000100001101
+01101000010010001100110001010011
+00100000001000000110000100001001
+01101000010010001100110001010010
+00100000010000000110000100001001
+01101000010010001100110001010011
+00100000001000000110000100001101
+01101000010010001100110001010100
+00100000010000000110000100001001
+01101000010010001100110001010101
+00100000001000000110000100001001
+01101000010010001100110001010100
+00100000010000000110000100001101
+01101000010010001100110001010101
+00100000001000000110000100001001
+01101000010010001100110001010100
+00100000010000000110000100001001
+01101000010010001100110001010101
+00100000001000000110000100001101
+01000100110111001100000000010111
+11101111111000001000000000000110
+11000000000000000011011000011101
+11000000000000001011011000010110
+11000000000000010011011000011000
+00100000011000000000000000000000
+01110000010010011101011000000000
+00100000001000000011011000011001
+01110000010010011101011000000001
+11101111111000001000000000000110
+01100111111000001100100111011000
+11101111111001000000000000010010
+00100000001000000011011000100010
+11101111111000001000000000010010
+00100000010000000110001001111110
+00011010010000001010010000000001
+11101111111000001000000000010010
+00100000001000000110001001111110
+01100111111001000100100111011001
+01110000010010100010110000000001
+01101111111000001100100111010110
+11000000000000000011011000110000
+01101111111000001100100111011010
+01100111111000001100100111011011
+01101111111000001100100111011001
+00100000010000000110001001111110
+01101111111000001100100111011000
+00100000010000000011011000110100
+01100111111000001100100111100000
+01101111111000110100100111011011
+01100111111000110000100101011100
+00100000001000000110001001100000
+01101111111000001100100111011001
+01100111111000001100100111011011
+01101111111000001100100111011010
+00100000001000000011011000101001
+00011111111011111111111000000101
+00011111111000001111111000110010
+00100000011000000000000000000000
+11011000010000000010111011100000
+10011000010011111111111000000000
+00011111111001101111110001100100
+00100000010000000111111001100100
+00011000000001111000010000000000
+00011000010000100010001000000000
+01011000000000000010111011100000
+10011000010001100010010000000000
+00100000011000000000000000000000
+00100000011000000000000000000000
+01101111111001000100100110101101
+01100111111001000100100111110111
+00100000011000000000000000000000
+01101111111000001100101000010100
+01100111111000001100101000001010
+01101111111000001100101000010101
+01100111111000001100101000001011
+01101111111000001100101000010110
+01100111111000001100101000001100
+11011111001000000000000000001101
+11011000110000000100101000000101
+00100000010000000011010101100001
+01100111111000001100101000010010
+11011010001000000100101000000010
+00100000001000000111100110101010
+01011000000000000000000000000000
+01100111111001000100100010000101
+00100000010000000010001111011100
+00100000001000000010010000111010
+00100000010000000011011001011000
+00100000010000000011011001100000
+00100000010000000011011001101111
+00100000001000000011011010001101
+00100000010000000010010000111110
+01101111111000001100100011000011
+11000001100000001000000000000000
+01101111111000001100110001100101
+00100100001110100010010010010011
+01101111111000001100101001000101
+11000000000000010010010010010011
+00100000011000000000000000000000
+01101111111000001100100011000011
+11000001100000000000000000000000
+00100000010000000010010010010111
+00100000001101111011011001101101
+01101111111000001100110001101101
+00100000011110100000000000000000
+01101111111000001100110001101110
+00011111111000001111111000000001
+01100111111000001100110001101110
+11000000000000100011011001101101
+00100000010000000010001010000001
+00100000010000000010001111101000
+00100100001101111011011001100100
+01110000010011000110111000000000
+00100000011000000000000000000000
+01101111111000001100100011000011
+11000001100000001000000000000000
+00100000010000000010001101001011
+00100000010000000011011010000011
+00100000010000000010001101011001
+01101111111000001100100010000100
+00100100001110100011011001111100
+00100000010000000010010100111010
+01101111111000001100100011000001
+00100000011110100000000000000000
+01011000000000000000000000000000
+01100111111000100100100011011101
+00100000011000000000000000000000
+01110000010010001100000000000000
+11011010001000000000000000000000
+00100000010000000111100001101100
+00100000010000000010010010010011
+00100000010000000010001010110010
+01101111111000100100000010101000
+00100000001000000010001010010010
+01101111111000100100100011011101
+00100000011110100000000000000000
+00100000001000000010001010010010
+01101111111000010100011110001111
+11000011100001001000000000000000
+01101111111000010100101001000110
+01100111111000010100101001001000
+01110000010011000110010000000001
+11011010001000000100100010011000
+00100000001000000011010110010011
+01101111111000001100110001101101
+00100000011110100000000000000000
+00100000010000000011011010010101
+00100100011101000000000000000000
+01101111111000011100100001011111
+00100000010000000111111000011111
+01100000010010100100000101100000
+00100000001000000001010001100100
+01111000001101000111110000000000
+00100000010000000001010000110110
+01101111111000011100000101110100
+00100000001110100111111011000111
+00100000001000000011010011011010
+01011000000000000011011011001100
+01100111111000010100100010001101
+01011000000000000011011110011100
+01100111111000010100100010010001
+01011000000000000011011110101101
+01100111111000010100100010010011
+01011000000000000011011101110011
+01100111111000010100100010001111
+01011000000000000011011011011000
+01100111111000010000101101000101
+00100000001000000111101000001000
+01101111111000001000101000101011
+01100111111000001100100011110101
+00100000010000000011011011000111
+01101111111000001100100100010101
+00101111111011111111111000000101
+00100000001000001011011010101110
+01101111111000001100100100010101
+00101111111011111111111000000110
+00100000010000001010001011000100
+01101111111000001100100100010101
+00011111111000010111111000001111
+01100111111000001100000111101000
+00100000010000000011000101110100
+01110000010010001000000111111111
+01011000000000000000110001001011
+01100111111000010100100011101101
+01011000000000000000110101001011
+01100111111000010100100011101111
+01011000000000000000111001001011
+01100111111000010100100011110001
+01011000000000000000111101001011
+01100111111000010100100011110011
+01110000010010001000000010000101
+01110000010010010011111000000000
+01110000010010001101100000000000
+00100000010000000010001011011000
+00100000010000000010001111011100
+00100000010000000010001011011011
+00100000010000000010001010110101
+01101111111000001100100100011111
+01100111111000001000101101000111
+01101111111001001100100100010110
+01100111111001001000101101001000
+00100000011000000000000000000000
+01110000010000001100010100011000
+01101111111000001100100100010101
+11000100000000111000000000000000
+01110000010000001100010100001000
+00100000011000000000000000000000
+01101111111000001100100010111101
+11000000000000000011011101100011
+11000000000000001011011011111101
+00100000011000000000000000000000
+11011000010000000000000000000001
+11011010001000000100100011110101
+01011000000000000000000000101010
+00100000001000000101111100000000
+11011111001000000000000000000001
+11011010001000000100100011110101
+11011000010000000000000000101010
+00100000001000000101111100010010
+01101111111000001100100100010101
+11000010100000100011011011011100
+01101111111000001100100011110101
+11000000101011010011011011100000
+01110000010010001111010101011010
+01101111111100100001101010101100
+01111001001000000111111000011101
+01100111111000100000101010100000
+00100000010000000011011011110111
+00100000010000000111101001011011
+00100000010000000011011011100100
+00100000001000000011011011101101
+01101111111000001000101101001000
+00100000011110100000000000000000
+01101111111000001100100011110101
+11000000001011010011011011101011
+01101111111000100000101101001001
+01100111111000100000101010100000
+00100000011000000000000000000000
+01101111111000100000101101001101
+00100000001000000011011011101001
+01101111111000001100100011110101
+11000000001011010011011011110011
+01011000000000001001100110100100
+01100111111000010000101010010011
+01110000000010101100010000011010
+00100000011000000000000000000000
+01011000000000001001100110111111
+01100111111000010000101010010011
+01110000000010101100010000111111
+00100000011000000000000000000000
+01101111111000001100100100100000
+00100000011110100000000000000000
+11011000110000000100100100100000
+11011000101000000000101100001001
+11011111001000000000000000011110
+00100000001000000111110111010100
+00100000010000000010010010010011
+00100000010000000011011101101011
+00100000010000000010010010011100
+00100000010000000011011100101111
+00100000001000000011011011111110
+00100000010000000011011100000101
+00100000010000000011011100010100
+00100000001000000011011100100011
+01101111111000001100100100010100
+00100000011110100000000000000000
+11011000111000000000000000001011
+00100000010000000111110111101001
+00100100011110100000000000000000
+01110000010010010001010000000000
+01011000000000000000000000000001
+01100111111000001000101111111111
+01011000000000000000000000000000
+11100111111000111000000000000101
+01110000000010111111100000100000
+01101111111000001000101111111001
+01111001001000000111111000000010
+01100111111000001000101111111001
+00100000011000000000000000000000
+01101111111000001100100100010010
+00100000011110100000000000000000
+11011000111000000000000000001110
+00100000010000000111110111101001
+00100100011110100000000000000000
+01110000010010010001001000000000
+11011000101000000000110000001111
+11011111001000000000000000000010
+00100000010000000111110110001100
+01110000000011000000111100000000
+01110000000010111111011100010000
+01101111111000001000101111111001
+01111001001000000111111000000001
+01100111111000001000101111111001
+00100000011000000000000000000000
+01101111111000001100100100010011
+00100000011110100000000000000000
+11011000111000000000000000001100
+00100000010000000111110111101001
+00100100011110100000000000000000
+01110000010010010001001100000000
+11011000101000000000110000011111
+11011111001000000000000000000010
+00100000010000000111110110001100
+01110000000011000001111100000011
+01110000000010111111100000100001
+00100000001000000011011100010000
+01000100110111010100000000010111
+01101111111000001000101111101101
+00100000010110100011011101111101
+00100000010000000111100111111100
+01101111111000001000101111100011
+00100000011110100000000000000000
+01110000000010111110001100000000
+01101111111000010000101111100001
+11011000010000000000001010111010
+10011000010001100111110000000000
+00100100011000101000000000000000
+01101111111000001000101101100001
+11000001110111010000000000000000
+01101111111000001000101101100010
+11000000010100000011011101000100
+11000000010100001011011101001010
+11000000010100110011011101010110
+11000000010100111011011101011000
+11000000010101001011011101011110
+01110000000010111110010000000000
+00100000011000000000000000000000
+01101111111000001000101101100011
+11000000010000001011011101000111
+00100000001000000011011101000010
+00100000010000000010001101001000
+01110000000010111110010000000001
+00100000011000000000000000000000
+01101111111000001000101101100011
+11000000000000001011011101001111
+11000000010000100011011101010010
+11000000010100111011011101010100
+00100000001000000011011101000010
+01101111111000001100100010000100
+01100111111000001000101110100010
+00100000001000000011011101001000
+00100000010000000010010010010100
+00100000001000000011011101001111
+01110000000010111010001010100001
+00100000001000000011011101001000
+01110000000010111010001000010101
+00100000001000000011011101001000
+01101111111000001100100011000011
+11000000000000000011011101011100
+11000000000000001011011101010100
+00100000011000000000000000000000
+01110000000010111010001010100000
+00100000001000000011011101001000
+01110000000010111010001000000000
+01110000000010111010001100000000
+01110000000010111010010000000001
+01110000000010111010010100000111
+00100000001000000011011101001000
+00100000010000000010010000111010
+00100000010000000010010000111110
+00100000010000000010010001100100
+00100000010000000011011101101011
+00100000010000000010010010011100
+00100000010000000010010010111001
+00100000010000000011011100101111
+00100000001000000011011101100100
+01000100110111011100000000010111
+01101111111000001100100011000011
+11000001100000000000000000000000
+00100000010000000010010010010111
+00100000010000000011011100000010
+01101111111000001100100010111101
+00100100011110100000000000000000
+00100000001000000010010100111010
+01101111111000001100100000111001
+11000000000000001011011101110110
+11000000000000010011011101111111
+01101111111000001100100100111111
+11000010100000000011011110000101
+00100000001000000011011110000001
+01101111111000001100000010011010
+11000001100000100000000000000000
+01110000010010010011111100000011
+00100000011000000000000000000000
+01110000010010010011111100000000
+00100000011000000000000000000000
+01101111111000001100100100111111
+11000010100000001011011110001001
+01101111111000001100100010111110
+11000000000000001011011110010000
+11000000000000011011011110010100
+00100000011000000000000000000000
+01101111111000001100100100111111
+01111001001111111111111000000000
+01100111111000001100100100111111
+00100000001000000011011110001100
+01101111111000001100100100111111
+01111001001111111111111000000001
+01100111111000001100100100111111
+01110000010010000011100000000001
+01011000000000000000000011111111
+01100111111000001100011111001001
+00100000011000000000000000000000
+01110000010010001011111000000001
+00100000010000000010001110111011
+00100100011101111000000000000000
+00100000001000000010001101010100
+01101111111000001100011110101001
+11000000000000001011011110010000
+11000000011111111011011110010000
+01110000000010111110010100000000
+01110000010010000011100000000001
+01101111111000001100100011001110
+01100111111000001100011111001001
+00100000011000000000000000000000
+01011000000000000000000000000001
+01100111111000001000101111111111
+01101111111000111100100010011000
+11100111111000111000000000000101
+01101111111000001100100010011000
+00100100010110100011011110100101
+01101111111000001100100010011000
+00100000010110100011011110101001
+00100000001000000011011100001111
+01110000010010010001010000000001
+01011000000000000000000110000000
+11011000111000000000000000001011
+00100000001000000111110111011011
+01110000010010010001010000000000
+01011000000000000000000000000000
+11011000111000000000000000001011
+00100000001000000111110111011011
+01101111111000001100100010011000
+11000000000000000011011110110010
+11000000000000010011011111100101
+11000000000000011011011111001101
+00100000001000000010001111111010
+01101111111000001100100010011010
+01100111111000001100100010111110
+01110000010010001001101000000000
+11011000101000000000110000001111
+11011000110000000100100010011001
+11011111001000000000000000001000
+00100000010000000111110111010100
+01101111111001000000110000001111
+00100100010110100011011111000101
+01101111111001000000110000001111
+00100000010110100011011111001001
+01101111111001000000110000001111
+01100111111001000100100011110110
+01101000010011000100100011111110
+10011000010001100111110000000000
+00100100010000101011011100011110
+01101111111001000100100011110110
+01100111111001000100100011111110
+00100000001000000010001111111010
+01110000010010010001001000000001
+01011000000000000000000110000000
+11011000111000000000000000001110
+00100000001000000111110111011011
+01110000010010010001001000000000
+01011000000000000000000000000000
+11011000111000000000000000001110
+00100000001000000111110111011011
+11011000101000000000110000011111
+11011000110000000100100010011000
+11011111001000000000000000000011
+00100000010000000111110111010100
+01101111111000010000110000100000
+00100100010110100011011111011101
+01101111111000010000110000100000
+00100000010110100011011111100001
+01101111111000011000110000011111
+01100111111000011100100100000110
+01101000010010011100100100001001
+10011000010001100111110000000000
+00100100010000101011011100101101
+01101111111000011100100100000110
+01100111111000011100100100001001
+00100000001000000010001111111010
+01110000010010010001001100000001
+01011000000000000000000110000000
+11011000111000000000000000001100
+00100000001000000111110111011011
+01110000010010010001001100000000
+01011000000000000000000000000000
+11011000111000000000000000001100
+00100000001000000111110111011011
+11011000101000000000110000101111
+11011000110000000100100010011000
+11011111001000000000000000000010
+00100000010000000111110111010100
+01101111111000010000110000101111
+00100100010110100011011111110101
+01101111111000010000110000101111
+00100000010110100011011111111001
+01101111111000010000110000101111
+01100111111000010100100100001100
+01101000010010010100100100001111
+10011000010001100111110000000000
+00100100010000101011011111111101
+01101111111000010100100100001100
+01100111111000010100100100001111
+00100000001000000010001111111010
+01110000010010010001001100000001
+01011000000000000000000110000000
+11011000111000000000000000001100
+00100000001000000111110111011011
+01110000010010010001001100000000
+01011000000000000000000000000000
+11011000111000000000000000001100
+00100000001000000111110111011011
+01110000000010111111100000100010
+00100000001000000011011100010000
+01101111111000001100000010011010
+11000001100000100000000000000000
+01101111111000001100100011110101
+11000001001011010000000000000000
+01110000010010010011111000000001
+00100000011000000000000000000000
+01101111111000001100000010011010
+11000001100000100000000000000000
+01101111111000001100100100111110
+00100000011110100000000000000000
+01110000000010010110010000000000
+01110000010010001111010101011010
+00100000010000000011011011010100
+00100000010000000011011011010000
+01101111111000001000100101100100
+00011111111000001111111000000001
+01100111111000001000100101100100
+11000000011111111101111000101001
+01101111111000001100100011110101
+11000000101011010011100000001010
+00100000001000000101111000101001
+00100000011101011000000000000000
+00100000010000000001101001010101
+01011000000000000011100001011011
+01100111111000010100010001100101
+01011000000000000011100001001000
+01100111111000010100010001100011
+01011000000000000011100001011111
+01100111111000010100010001100111
+01011000000000000011100001000100
+01100111111000010100010001011011
+01011000000000000011100110011000
+01100111111000010100010001101101
+01011000000000000011101110010100
+01100111111000010100011001011101
+01011000000000000011110000110111
+01100111111000010100010001101011
+01011000000000000011110001001110
+01100111111000010100010001101111
+00100000010000000011100001011000
+01000100110111100100000000010111
+00100000010000000011100000101011
+00100000010000000011100000111111
+00100000001000000011101110101010
+01101111111100001000000001100000
+01111001001111111111111000000000
+01100111111100001000000001100000
+01101111111001000100011110110111
+00100000010000000101111101010110
+01101111111000010100011110111111
+00100000010000000101111101101010
+00100000010000000101111101111101
+01110000100000000111110100001000
+01110000100000000111111001001001
+01110000100000000111100100001010
+01110000100000000111101000001011
+11011000010000000000000010000001
+01101111111000010100011111000110
+00101111111011111111111000000000
+01111001001000001000010000000100
+01100000010110001000000001100000
+00100000011000000000000000000000
+00100000010000000011100001011000
+00100000001000000011100000101011
+01101000010010001100011110101011
+00100000010000000110000100001101
+00100000010000000011100011000010
+01101000010010001100011110101001
+00100000001000000110000011110100
+01101000010010001100011110101001
+00100000010000000110000011111101
+00100100001000001011001001010001
+00100000001000000011001001001111
+00100000010000000011100001001010
+00100000001000000011110001011110
+01101111111000001100011110001111
+11000011000000100011100001011000
+01011000000000000011111011111111
+01101000010010100100011111001110
+10011000010000001000010000000000
+00011100010000100111111000000000
+10011000010001100111110000000000
+00100100011000010000000000000000
+01101111111000010100011110001111
+11000010100000101011100001011000
+01101111111000010100011111000110
+11000011100001010000000000000000
+00100000010000000011110001100001
+00100000010000000011001010001101
+00011100010000100111111000000000
+01100111111000100100011111001110
+00100000011000000000000000000000
+00100000010000000011110001011110
+00100000010000000101001101001111
+00100100011110100000000000000000
+00100000001000000011100011000111
+00011010011000100111111000000000
+11000000000000001011100010101111
+11000000000000010011100001111110
+11000000000000100011100010110010
+11000000000000101011100010011111
+11000000000001000011100010000101
+11000000000001001011100010001100
+11000000000001010011100010100101
+11000000000001011011100010010001
+11000000000001100011100010011101
+11000000000010011011100010110010
+11000000000010100011100010101011
+11000000000010101011100010100001
+11000000000100001011100010100110
+11000000000100011011100010100111
+11000000000100100011100010101010
+11000000000110000011101111110010
+11000000000110001011101111110100
+11000000000110010011110000000010
+11000000000110011011110000000000
+11000000000110100011101111101100
+11000000000110101011101111010101
+11000000000110110011101111101010
+11000000000110111011101111110110
+11000000000111000011101111111000
+11000000000111011011101111010101
+11000000000111101011101111001100
+11000000001000001011100010110100
+11000000001000010011100010110110
+11000000001000011011101111101010
+00100000011000000000000000000000
+00100000010000000011100001011000
+01101111111000001100011101110010
+00100100010110100011101111110110
+00100000010000000011100010110010
+01101111111000010100011110001111
+11000100000000100000000000000000
+00100000001000000011100010001100
+01101111111000010100011110001111
+01111001001000000111111000000100
+01100111111000010100011110001111
+01101111111000001100011110110100
+01100111111000001100000101110111
+00100000010000000011100011000010
+00100000001000000011101101111111
+01101111111000010100011110001111
+11000100000000100000000000000000
+01111001001111111111111000000100
+01100111111000010100011110001111
+00100000001000000011101110000011
+00100000010000000011100001011000
+01101111111000010100000001000010
+00011111111000110111111000000000
+01101000010010010100010001010101
+10011000010001100111110000000000
+00100100001000101011100010011000
+00100000001000000011001010010101
+01101111111000010100011111000110
+11000011100001001000000000000000
+01101111111100010000000100010010
+00100100010110100011110001100101
+00100000001000000011001010001011
+00100000010000000011110001100011
+00100000001000000011001010010111
+00100000010000000011100001011000
+00100000001000000011100010111001
+00100000010000000001101011001000
+01110000010001111100100000000000
+00100000010000000011100010110010
+00100000001000000011101110000101
+00100000001000000011001001011100
+00100000001000000011110001100011
+01101111111000010100011111000110
+11000011000001001011001010001101
+00100000001000000011110001100111
+00100000001000000011110001100111
+00100000010000000011100010111001
+01101111111000001100011110110101
+01100111111000001100000101110111
+00100000001000000011101110000001
+01110000010001110110111000000000
+00100000010000000011110001100011
+00100000001000000011110001100111
+00100000010000000011100100101111
+00100000001000000011100010110111
+00100000010000000010000101100010
+00100000001000000001111101000110
+00100000001000000011110000011000
+01101000010010001100011110101011
+00100000001000000110000100001101
+00100000010000000011100010111011
+00100000001000000011100011000010
+01101111111000001100011110101110
+00101111111011111111111000000000
+00100000010000001011001001101111
+01101111111000001100011110101110
+00101111111011111111111000000001
+00100000010000001011001001110111
+00100000011000000000000000000000
+01101000010010001100011110101011
+00100000001000000110000100001001
+01101111111000001100011001011001
+11000001000000000000000000000000
+00100000001000000110010101000111
+01101111111100001000000100001011
+11000010100000010011100011000100
+00100000010000000101111110011101
+11101111111000001000000000000011
+11000000100000001011100011011101
+01101111111100010000000100010010
+00011111111001100111110000000010
+00100000011000010000000000000000
+11101111111000001000000000000011
+01100111111000001000100111001111
+11101000010000001000000000000011
+00011000011000100010001000000000
+01100000010010001000100111010000
+00011000010000001000010000000011
+01101111111100010000000100010010
+10011000010001100000010000000000
+00100100011000010000000000000000
+01110000000010011101000100000001
+00100000010000000011100011101011
+01101111111000001000100111010001
+11000001000000000000000000000000
+00100000001000000011100011100110
+00100000010000000111110110000101
+00100000010000000011101111011011
+00100000001000000011100011100000
+01000100110111101100000000010111
+00100000010000000101111110011101
+01101111111100010000000100010010
+00100000011110100000000000000000
+10011000011000001000011000000000
+00100000001000000011100011101010
+00100000010000000101111110011101
+00011000011000001000011000000010
+11101111111000001000000000000011
+10011000011000001000011000000000
+00100000001000000101111110101001
+01000100110111110100000000010111
+01101111111000001000100111001111
+11000000000000000011100100011101
+11000000000000001011100100100010
+11000000000000010011100100100111
+11000000000000011011100100111100
+11000000000000100011100101000110
+11000000000000101011100101001010
+11000000000001001011100101101100
+11000000000001011011100111000011
+11000000000001100011100111000100
+11000000000001101011100111101000
+11000000000001110011100111101011
+11000000000001111011100111110011
+11000000000010000011100111111011
+11000000000010001011100111111111
+11000000000010010011101000000011
+11000000000010101011101000000111
+11000000000100110011101000001100
+11000000000101000011101000010001
+11000000000101001011101000100001
+11000000000101010011101000101010
+11000000000101011011101001011101
+11000000000101100011101001100011
+11000000000110000011101001101010
+11000000000110001011101001110100
+11000000000110010011101010000101
+11000000000110011011101010010000
+11000000000110100011101010111101
+11000000000110101011101011000000
+11000000000110110011101011001001
+11000000000110111011101011010010
+11000000000111000011101011010101
+11000000001000000011101011011101
+11000000001000010011101011100111
+11000000001001000011101011101100
+11000000001001001011101011110111
+11000000001010001011101011111101
+11000000001100001011101100000001
+11000000001110110011101100010000
+11000000001110111011101100010110
+11000000001111000011101100011011
+11000000001111010011101101010001
+11000000010010000011101101011111
+11000000010010001011101101100100
+11000000010010010011101101101000
+11000000010010011011101101101101
+11000000010010100011101101110001
+11000000011111111011101101110111
+00100000001000000011101101111001
+01101111111000001000100111010000
+11000000100000110011101101111001
+11101111111000110000000000000011
+01100111111000110100000010101000
+00100000001000000011101101111100
+01101111111000001000100111010000
+11000000100000110011101101111001
+11101111111000110000000000000011
+01100111111000110100001101111010
+00100000001000000011101101111100
+01101111111000001000100111010000
+11000000100000001011101101111001
+11101000010000001000000000000011
+01100000010010001100011110110110
+00100000010000000011101101111100
+01101111111000010100011110001111
+11000011100001001000000000000000
+11000011100000000000000000000000
+01101111111000001100011110101110
+00101111111011111111111000000000
+00100100001000001011100100110101
+01101000010010001100011110110110
+00011000010000010111111000000011
+01100111111000001100000010011011
+01101111111000001100011110101110
+00101111111011111111111000000001
+00100100011000001000000000000000
+01101000010010001100011110110110
+00101000010011111111111000000010
+00100000001000001011001001111001
+00100000001000000011001001110111
+01101111111000001000100111010000
+00011111111001100111110001000011
+00100100001000010011101101111001
+01100111111000001100010111111111
+11011111001000000000000000001000
+00100000010000000111110110001100
+01101111001000001000100111010000
+11011000101000000100011000000000
+00100000010000000101111111011111
+00100000001000000011101101111100
+11011111111000000000000000011101
+11011000101000000100001011110111
+00100000010000000011101011000011
+00100000001000000001101001010101
+01101111111000001100011110001111
+11000011000000100011101101111001
+00100000010000000011001001001001
+00100000001000001011100101011010
+01110000000010011101000100000000
+00100000010000000011100001011000
+01101111111000001100011001010110
+00100000011110100000000000000000
+01101111111000010100011001100001
+00100100001110100011100101011000
+01101111111000001000100111010000
+01100111111000010100011001100001
+01100111111000010100011001011111
+01100000011000010100011001011111
+00100000010000000011100101011100
+00100000001000000110010101101100
+01110000000010011101000100000000
+00100000001000000011110001001000
+00100000010000000011100101100010
+01101111111000010100011001100001
+01101000010010010100011110101100
+10011000010001100111111000000000
+01100111111000010100011001100001
+00100000011000000000000000000000
+01101111111000010100011001100001
+01101000010010010100011001011010
+00100000010000000111111010111011
+01101000010010010100011001001100
+00100000010000000111111010111011
+01100111111000010100011110101100
+00100000011000000000000000000000
+01110000000010011101000100000001
+01110000000010011100111100000101
+00100000001000000011101101111100
+01101111111000010100011110001111
+11000011000001001011101101111001
+00100000010000000011100111000000
+00100000001101000011101101111001
+01110000000010011101000100000000
+01101111111000010100011111000110
+11000010100001000011100110010001
+01101111111000001100011111001000
+00100100011110100000000000000000
+01110000000010011101000100000001
+11101111111000010000000000000011
+01100111111000010100011111001001
+01100000011000010100011111001011
+01101111111000001000100111010000
+00011111111000001111111111111110
+00100100001000010011101101111001
+00100000001000101011101101111001
+01100111111000001100011111001000
+01101000010010010100011111001001
+00011000010000001000010111111111
+00100000010000000001101000010001
+00100000001110100011100110010100
+11101000010000100000000000000110
+01011001001010000000001100000010
+10011000010001100111110000000000
+00100100001000101011100110010100
+11101111111000001000000000000110
+01100111111000001100011111001101
+00011111111000010111111000110000
+00100000001110100011100110010100
+01110000000010011101000100000000
+00100000010000000001101011000110
+00100000010000000011100110011000
+00100000010000000011100110011000
+00100000010000000011100110011000
+01101111111000010100011111000110
+11000100000001000000000000000000
+01110000000010011101000100000001
+00100000010000000011110001101011
+00100000001000000011101101111100
+01110000010001111100100000000000
+01110000000010011101000100000001
+00100000010000000011110001101011
+00100000001000000011101101111001
+01101111111000001100011111001000
+00100000011110100000000000000000
+00100000010000000001101100100100
+00100100011110100000000000000000
+00100000010000000011100110111011
+01000100110111111100000000010111
+01101111111000010100001110000000
+00100000010000000111111010111011
+00011111111000100000010000000000
+01101111111000001100010000110101
+11000011100000000000000000000000
+00011000010000001111111111111101
+11011000010000000000000011111011
+00100000010000000111111010111011
+01101000010010001100011111001000
+00100000010000000111111010111011
+00011111111000100010001000000000
+00011000010000100111111000000000
+10011010001001100111111000000000
+01100111111000001100011111001000
+00100000010000000011100110110110
+01101111111000010100011111001011
+00011111111000100000011000000000
+00011010001000100111001000000000
+00100000010000000101111111011111
+00011000011000100111111000000000
+01100111111000010100011111001011
+01101111111000001100011111001000
+00100100011110100000000000000000
+00100000001000000011110001101001
+01101000010010010100011111001001
+01101111111000001100011111001101
+11000010100000101001111001101000
+11000010100000100001111001011111
+00100000011000000000000000000000
+11011000010000000000000000010111
+01101111111000010100011111000110
+11000011100000001000000000000000
+01101000010010010100001110000010
+00100000011000000000000000000000
+01101111111000010100011111000110
+11000010100000010001111000111001
+00100000001000000111111011000111
+00100000001000000011101110101110
+11101111111000001000000000000011
+11000000010000001011100111010001
+11000000010000010011100111010011
+11000000010000011011100111010101
+00011111111000100010001000000000
+00100000010000000110111100100110
+00100000010000000111010110101111
+00011010001000100111111000000000
+11000000000000000011100111010111
+11000000000000001011100111011010
+11000000000000010011100111100100
+11000000000000011011100111100110
+00100000001000000011101101111001
+00100000010000000110111100100010
+00100000001000000011100111011010
+00100000010000000110111100100010
+00100000001000000011100111100100
+00100000010000000110111100100010
+00100000001000000011100111100110
+00100000010000000110111100101101
+01110000010001110110011100000000
+00100000001000000011101101111100
+01011000000000000000000000000011
+01100111111000001100011101101111
+01100111111000001100011101101000
+01011000000000000000000000000000
+01100111111000001100011101101001
+01011000000000000000000000000100
+01100111111000001100011101101010
+00100000010000000101100000001100
+01110000010001110110011100000001
+00100000001000000011101101111100
+01011000000000000000000000000010
+00100000001000000011100111011011
+01011000000000000000000000000001
+00100000001000000011100111011011
+11011111111000000000000000010000
+11011000101000000100011110010110
+00100000001000000011101011000011
+11101111111000001000000000000011
+01101000010010001100011111000110
+01111101001110100000010000000000
+01100000010010001100011111000110
+01101000010110001000000001100000
+01111101001110100000010000000100
+01100000010110001000000001100000
+00100000001000000011101101111100
+01101111001000001000100111010000
+00100000010000000111111000101101
+00100000010000000101111101110010
+01100111111000010100011110111111
+00100000010000000011101101111100
+00100000010000000111111001111100
+01101111111000010100011110111111
+00100000001000000101111101101010
+11011010001000000000000000000010
+11011010010000000100011110100111
+11011000010000000000000000000000
+00100000001000000011101110000111
+01101111111000010100011110001111
+11000011000000000011101101111001
+00100000010000000011101101111100
+00100000001000000011001001101000
+01101111111000010100011110001111
+11000011000001001011101101111001
+00100000010000000011101101111100
+00100000001000000011001010000001
+01101111111000001000100111010000
+11000000100000011011101101111001
+11101111111000011000000000000011
+01100111111000011100000010110010
+00100000001000000011101101111100
+01101111001000001000100111010000
+01101111111000010100010010001001
+00011111111000100000101000000000
+00100000010000000101111111011111
+00100000001000000011101101111100
+01101111111000010100011110001111
+11000010100001001011101011101100
+11000011000000000011101101111001
+11101111111000001000000000000011
+01101000010010001100011101101110
+01111001001110100000010000000000
+01111001001000000000010000000111
+01100000010010001100011101101110
+00100000010000000011101101111100
+01101111111000001100011101101110
+11000010100000110011101000011101
+00100000011000000000000000000000
+11000010100000000101011011100100
+01110000010001110110111000000000
+01110000000010010101101100100001
+00100000001000000111100011100101
+01101111111000001100011110001111
+11000100000000100000000000000000
+01101111111000001100011001011001
+11000001000000000000000000000000
+11101111111000001000000000000011
+01101000010010001100011001010111
+10011000010000001000010000000000
+01100000010010001100011001010111
+00100000011000000000000000000000
+11011111001000000000000001000000
+11011000101000000100001111100111
+00100000010000000111110110011011
+01011000000000000000000000000000
+01100111111000001000100101110100
+00011010001000100000011000000000
+00011000011000100111111000000000
+01100111111000010000100101111000
+00100000010000000011101001011000
+01101111111000001000100101110100
+01101000010010001000100101100100
+00011000010000001000010000000001
+10011000010000001111111000000000
+01100111111000001000100101110100
+00011111111001100111110000011111
+00100100001000010011101001000100
+01101000010010001100001111100111
+01011000000000000100001111101000
+10011000010000001111111000000000
+01100111111000010000100101111101
+01101000010010001000100101100100
+00011000010000001000010000000001
+01101111111000001100001111100111
+10011000010000001111111000000000
+01100111111000001100001111100111
+00100000001000000011101001001101
+01101000010010001100010000000111
+01011000000000000100010000001000
+10011000010000001111111000000000
+01100111111000010000100101111101
+01101000010010001000100101100100
+00011000010000001000010000000001
+01101111111000001100010000000111
+10011000010000001111111000000000
+01100111111000001100010000000111
+01101111111000010000100101111101
+00011111111000100000101000000000
+01101111111000010000100101111000
+00011111111000100000011000000000
+00011000010000100111001000000000
+00100000010000000101111111011111
+01101111111000001000100111010000
+01101000010010001000100101110100
+10011000010001100111110000000000
+00100100001000101011101000110000
+00100000001000000011101101111100
+11101111111000001000000000000011
+01100111111000001000100101100100
+11101111111000001000000000000011
+01100111111000001000100101110000
+00100000011000000000000000000000
+11011000010000000000000000000000
+11011010001000000000000000000010
+01101111111000010100011111000011
+01100111111000010000100110001110
+11011010010000000000100110001110
+00100000001000000011101110000111
+01101111111000001000100111010000
+11000000100000001011101101111001
+11101111111000001000000000000011
+01100111111000001100011111000001
+01011000000000000000000000000000
+01100111111000010100011111000011
+00100000001000000011101101111100
+01101111111000001000100111010000
+11000000100000100011101101111001
+01101111111000010100011110001111
+11000010100001001011101101010001
+11101111111000100000000000000011
+01100111111000100100011110010111
+01110000010001111001011000000100
+01110000010001110111000000000000
+00100000010000000011101101111100
+00100000001000000101011001100100
+01101111111000001000100111010000
+11000000100000011011101101111001
+11101111111000001000000000000011
+11000000000000000011101001111010
+11000000000000001011101010000000
+00100000001000000011101101111001
+00100000010000000011101101111100
+11101000010000001000000000000011
+11101111111000001000000000000011
+11000000000000010110000100100001
+01111101001110100000010000000111
+00100000001000000110000011110100
+00100000010000000011101101111100
+11101000010000001000000000000011
+11101111111000001000000000000011
+00100000001110100110000100001101
+00100000001000000110000100001001
+01101111111000001000100111010000
+11000000100000001011101101111001
+11101000010000001000000000000011
+00100000010000000110000011111101
+01011000000000000000000000000000
+01111101001000001111111000000000
+11011010001000000000000000000001
+01100111111000010000100110001110
+11011010010000000000100110001110
+11011000010000000000000000000000
+00100000001000000011101110000111
+11101111111000001000000000000011
+00011111111000100000010000000000
+11000000010000001011101010011111
+11000000010000010011101010100011
+11000000010000011011101010101000
+11000000010000100011101010101100
+01100111111000001100001110011101
+00100000010000000111010110101111
+00100000010000000001111100110101
+01101111111000001100001110011101
+11000000000000000011101010110000
+11000000000000001011101010110011
+11000000000000010011101010110101
+11000000000000100011101010110111
+00100000001000000011101101111001
+01100000010010001100001110011101
+00100000010000000001111100110001
+01110000010000110101001100001101
+00100000001000000011101010110001
+01100000010010001100001110011101
+00100000010000000001111100110001
+01110000010000110101001100001101
+01110000010000110101000100000001
+00100000001000000011101101111100
+01100000010010001100001110011101
+00100000010000000001111100110001
+01110000010000110101001100001101
+00100000001000000011101010111011
+01100000010010001100001110011101
+00100000010000000001111100110001
+01110000010000110101001100001101
+00100000001000000011101010111001
+01110000010000110101001100000000
+01110000010000110101000100000011
+00100000001000000011101101111100
+01110000010000110101001100000001
+00100000001000000011101010110001
+01110000010000110101001100000101
+00100000001000000011101010111011
+01110000010000110101001100000101
+00100000001000000011101010111001
+01110000010000110101000100000010
+00100000001000000011101101111100
+01110000010000110101000100000000
+00100000001000000011101101111100
+11011111111000000000000000011111
+11011000101000000100001111100111
+00100000001000000011101011000011
+11011111111000000000000000011111
+11011000101000000100010000000111
+00100000001000000011101011000011
+01101111001000001000100111010000
+10011111001001100111110000000000
+00100100001000010011101101111001
+11100111001000001000000000000101
+00100000010000000101111111011111
+00100000001000000011101101111100
+01101111111000010100011110001111
+11000011000001001011101101111001
+01101111111000001000100111010000
+11000000100001000011101101111001
+11101111111001000000000000000011
+01100111111001000100001101110010
+01110000000010010101101100010010
+00100000010000000111100011100101
+00100000001000000011101101111100
+11101111111000010000000000000011
+01100111111000010100010000101000
+00100000001000000011101101111100
+01101111111000001100001110011101
+00100000001110100011101101111001
+01101111111000001100001110011011
+11000000100000000011101101111001
+01101111111000001100001110011100
+11000000100000000011101101111001
+00100000010000000111100110010010
+00100000001000000011101101111100
+01101111111000001000100111010000
+11000000100000101011101101111001
+11101111111000001000000000000011
+01100111111000001100011110101111
+11101111111000100000000000000011
+01100111111000100100011110110000
+01101000010010001100011110101111
+00100000010000000110000100001101
+00100000010000000011110000110101
+00100000001000000011101101111100
+01101111111000001000100111010000
+11000000100000001011101101111001
+11101111111000001000000000000011
+01100111111000001100000111101000
+00100000001000000011101101111100
+11101111111000001000000000000011
+11000000000000001011101011110101
+01101111111000001100001110011001
+11000000000000011011101011110011
+11000000000000110011101011110011
+11000000000000111011101011110011
+00100000001000000011101101111001
+01110000010000111001101000000001
+00100000001000000011101101111100
+00100000010000000001111110011011
+00100000001000000011101101111100
+01101111111000001000100111010000
+11000000100000001011101101111001
+00100000010000000011101101111100
+11101111111000001000000000000011
+00100000001110100101100001000000
+00100000001000000101100000111110
+00100000010000000011101101111100
+00100000010000000111111001111100
+01110000100000000001000000000001
+00100000001000000001001101111110
+01101111111000001000100111010000
+11000000000000000011101101111001
+11101111111000001000000000000011
+00100000001110100011101100001110
+01101111111000001000100111010000
+11000000100000101011101101111001
+11101111111000100000000000000011
+11011000010011110100001001000000
+10011000010001100111110000000000
+00100000001000010011101101111001
+01100111111000100100001110011110
+00100000010000000001101010111110
+00100000001000000011101101111100
+00100000010000000001101011000000
+00100000001000000011101101111100
+11101000010000010000000000000011
+00100000010000000001101000010001
+00011000110000001000101111111110
+01011000000000000000000000000000
+11100111111000010000000000000101
+00100000001000000011101101111100
+00100000010000000011101100011111
+00100000010000000011101101001101
+01011000000000000000000000000000
+11100111111000010000000000000101
+00100000001000000011110000001111
+11101111111000001000000000000011
+00100000010000000011101100100011
+00100000010000000011101100101010
+00100000001000000011110000001111
+00100000010000000011101101001010
+01011000001010000000000000000010
+11100111111000011000000000000101
+00100000011000000000000000000000
+01100111111000001000100101011100
+00100000010000000011101101001010
+01011001001010000000001100000010
+11100111111000100000000000000101
+01101111111000001000100101011100
+11100111111000011000000000000101
+00100000011000000000000000000000
+00100000010000000001101000110000
+11101111111000001000000000000011
+00011111111000010111001000011111
+00011111111000100010001000000000
+00101010001011111111111000000111
+01111001001000001000010000001111
+00101010001011111111111000000110
+01111001001000001000010000001110
+11100000010000010000000000000101
+00011111001000100111111000000000
+11100111111000001000000000000101
+00100000010000000101111111110011
+00100000010000000011101101001101
+01011000000000000000000000000000
+11100111111000010000000000000101
+00011000010000010000010011111111
+00011000010000001000010111111111
+00100000010000000001101000010001
+00011000110000001000110000000100
+11101111111000001000000000000110
+11000010100000100011101101000010
+11000010100000101011101101000010
+00011000010000001000010000000001
+00100000011000000000000000000000
+00100000010000000001101000110000
+00101010001011111111111000000101
+01111001001000001000010000001111
+11100000010000010000000000000101
+01011010001010010000001000000010
+11100111111001000000000000000101
+00011000010000001000010111111111
+00100000011000000000000000000000
+00100000010000000001101000110000
+11100000010000010000000000000101
+00100000011000000000000000000000
+11101111111000001000000000000011
+00011111111000100111001000000000
+11100111111000001000000000000101
+00100000001000000101111111110011
+01101111111000001100001110011011
+11000000100000101011101101111001
+01101111111000001100001110011101
+11000000000000100011101101011101
+11000000010000100011101101010111
+00100000001000000011101101111001
+01110000010000111001100000000010
+01110000010000111001100100001000
+00100000001000000011101101011010
+11101111111000100000000000000011
+01100111111000100100001110011110
+00100000001000000011101101111100
+00100000010000000011101101011010
+00100000001000000001111110000100
+01101111111000001000100111010000
+11000000100000010011101101111001
+11101000010000010000000000000011
+00100000010000000001101100101001
+00100000001000000011101101111100
+11011000010000000000000000000000
+11011010001000000000000000000010
+11011010010000000100000001110101
+00100000001000000011101110000111
+01101111111000001000100111010000
+11000000100001000011101101111001
+11101111111001000000000000000011
+00100000010000000001101100100111
+00100000001000000011101101111100
+11101010001000001000000000000011
+11101010010000010000000000000011
+11011000010000000000000000000000
+00100000001000000011101110000111
+01101111001000001000100111010000
+00011111001000001111001111111110
+11101111111000010000000000000011
+00011111111000100000101000000000
+00100000010000000101111111011111
+00100000001000000011101101111100
+01110000010000001001100100000000
+00100000001000000011101101111100
+11011000010000000000000000000001
+11011010001000000000000000000000
+00100000001000000011101110000111
+11011000010000000000000000000000
+11011010001000000000000000000000
+00100000001000000011101110000111
+01110000000010011100111100000000
+00100000001000000011101110101011
+01110000000010011100111100000010
+00100000001000000011101110101011
+01110000000010011100111100000011
+00100000001000000011101110101011
+01110000000010011100111100000101
+00100000001000000011101110101011
+01101111111000001000100111001111
+00011111111000100010011000000000
+01110000000010011100111100000110
+01011000000000000000000000000010
+10011010001000001111111000000000
+00100000010000000011110000011110
+00011010011000100111111000000000
+11100111111000001000000000000011
+11100000010000001000000000000011
+00011010001000100111001000000000
+00011010010000100000110000000000
+00100000010000000101111111011001
+00100000001000000011110000101000
+00100000010000000011100001011000
+01110000000010011100111100000111
+01101111111000001000001111010010
+00100000011110100000000000000000
+00100000010000000011110000011110
+01101111111000001000001111010010
+00011111111000100111001000000000
+01101111111000010000001111010100
+00011111111000100000110000000000
+00100000010000000101111111000101
+00100000001000000011110000101000
+01110000000010011100111100001000
+00011111001000001111111000000010
+00100000010000000011110000011110
+01101111111000010000100111111010
+11100111111000010000000000000011
+01101111111000010000100111111000
+00011111111000100000110000000000
+00100000010000000101111111000101
+00011000110000100111111000000000
+01100111111000010000100111111000
+00100000001000000011110000101000
+01110000000010011100111100001001
+01011000000000000000000000000000
+00100000010000000011110000011110
+00100000001000000011110000101000
+01110000000010011100111100001010
+01011000000000000000000000000001
+00100000010000000011110000011110
+00100000010000000011101110111111
+01101111111000010100011110001111
+11011000111000000000000000000010
+10101111111011111111111111111111
+01111001001000001000010000000011
+11011000111000000000000000001001
+10101111111011111111111111111111
+01111001001000001000010000000101
+01101111111000001100011110001111
+11011000111000000000000000000100
+10101111111011111111111111111111
+01111001001000001000010000000100
+11100000010000001000000000000011
+00100000001000000011110000101000
+11011000010000000000000000000000
+01101111111000001100000010011011
+11011000111000000000000000000000
+10101111111011111111111111111111
+01111001001000001000010000000000
+11011000111000000000000000000001
+10101111111011111111111111111111
+01111001001000001000010000000001
+01101111111000001100010000100111
+11011000111000000000000000000000
+10101111111011111111111111111111
+01111001001000001000010000000010
+00100000011000000000000000000000
+01110000000010011100111100001101
+01101111111000001100010010001011
+00011111111011111111111000100010
+00011111111000100111001000000000
+00100000010000000011110000011110
+01101111111000010100010010001001
+00011111111000100000110000000000
+00100000010000000101111111000101
+00100000001000000011110000101000
+01110000000010011100111100001110
+01011000000000000000000000000100
+00100000010000000011110000011110
+01101111111000100000100001111100
+11100111111000100000000000000011
+00100000001000000011110000101000
+01110000000010011100111100001111
+01101111111100010000000100010010
+11011000010000000000000001000000
+00100000010000000111111010111011
+00011111111000100010001000000000
+00011111111000100111001000000000
+00100000010000000101111110011101
+11011000101000000000100110001110
+00100000010000000101111111011111
+00011010001000100111111000000000
+00011010001000100111001000000000
+00100000010000000011110000011110
+11011000110000000000100110001110
+00100000010000000101111111000101
+00100000001000000011110000101000
+01110000000010011100111100010000
+00100000001000000011101110101011
+01110000000010011100111100010001
+01011000000000000000000000000100
+00100000010000000011110000011110
+01101111111000100100001110011110
+11100111111000100000000000000011
+00100000001000000011110000101000
+11011010001000000000000110000000
+00100000001000000011101111111001
+11011010001000000000000010000000
+00100000001000000011101111111001
+11011010001000000000000100000001
+00100000001000000011101111111001
+11011010001000000000000000000001
+01110000010001110110111000000000
+01110000000010011100111100010100
+01011000000000000000000000000010
+00100000010000000011110000011110
+00011010001000100111111000000000
+11100111111000010000000000000011
+00100000001000000011110000101000
+11011010011000000000000000000000
+00100000001000000011110000000011
+11011010011000000000000000000001
+01110000000010011100111100010101
+01011000000000000000000000000001
+00100000010000000011110000011110
+00011010011000100111111000000000
+11100111111000001000000000000011
+00100000001000000011110000101000
+01110000000010011100111100011101
+01011000000000000000000000000100
+00100000010000000011110000011110
+01101111111000100000100001111100
+11100111111000100000000000000011
+00100000001000000011110000101000
+01100000010010010000100101100100
+01110000000010011100111100101001
+01011000000000000000000000000010
+00100000010000000011110000011110
+01101000010010010000100101100100
+11100000010000010000000000000011
+00100000001000000011110000101000
+01110000000010011100111100101011
+00100000001000000011101110101011
+01110000000010011100111101000000
+01011000000000000000000000000010
+00100000010000000011110000011110
+01101111111000010100000001110101
+11100111111000010000000000000011
+00100000001000000011110000101000
+01110000000010011100111000000010
+01100111111000001000100111010000
+01100000010011000000100101100100
+01000100111000000100000000011000
+00100000010000000011110000101010
+01101000010011000000100101100100
+00100000010000000101111110110101
+01101111111000011000100111001110
+11100111111000011000000000000011
+00100000011000000000000000000000
+01000100111000001100000000011000
+00100000001000000101111110111001
+00100000010000000011110000110011
+00100000011000001000000000000000
+00100000010000000011110000110001
+01101111111000100100011110110000
+00011111111010110111111000000000
+00100000011110100000000000000000
+00100000001000000111110110000001
+01101000010010001100011110101111
+00100000001000000110000100001101
+01101000010010001100011110101111
+00100000001000000110000100011000
+01101000010010001100011110101111
+00100000001000000110000100001001
+01100010001000010000100111111000
+01100010010000010000100111110110
+01101111111000010100010000110111
+01100111111000010000100111111010
+00100000010000000011100111000000
+00100000011101000000000000000000
+01101000010010010000100111110110
+01101111111000001100011111000101
+00100000010000000111111010111011
+00011111111000100111001000000000
+00011000010000100111111000000000
+10011111001001100111111000000000
+01100111111000010000100111110110
+00100000010000000011101110011111
+01101111111000010000100111110110
+00100000011110100000000000000000
+00100000001000000011110000111101
+01101111111000010100011111000110
+11000011100001001000000000000000
+00100000010000000011110001100101
+00100000001000000011001010001011
+01110000010000010111011100000010
+00100000011000000000000000000000
+01101111111000001100011111000001
+00100000011110100000000000000000
+01101111111000001100011111000010
+00100000011110100000000000000000
+00011111111000001111111111111111
+01100111111000001100011111000010
+00100100011110100000000000000000
+01110000010001111100001000000101
+00100000010000000110000101100110
+00100000010000000110000110001101
+00011111111001101111110001100100
+00100000010000000111111001100001
+00011000000001110000010000000000
+01100111111000001100011111000011
+01100000010010001100011111000100
+00100000011000000000000000000000
+00100000010000000111111010010010
+00100000001000010011001001011000
+00100000001000000011001001011010
+11011000111000000000000000001010
+00100000001000000011110001110001
+11011000111000000000000000001010
+00100000001000000011110001101101
+11011000111000000000000000001001
+00100000001000000011110001110001
+11011000111000000000000000001001
+00100000001000000011110001101101
+11011000111000000000000000001000
+00100000001000000011110001110001
+11011000111000000000000000001000
+00100000001000000011110001101101
+01101111111000010100011111000110
+11111001001111111111111000000000
+01100111111000010100011111000110
+00100000011000000000000000000000
+01101111111000010100011111000110
+11111001001000000111111000000000
+01100111111000010100011111000110
+00100000011000000000000000000000
+00100000010000000110111001011110
+00100000010000000011110010100110
+00100000010000000100000111100111
+00100000010000000100000011001110
+00100000011101011000000000000000
+00100000010000000100011101100110
+00100000010000000011110010000011
+00100000010000000100001001111100
+01101111111000001100100100101111
+11000011100000111000000000000000
+01101111111000010100011110001111
+11000010100001100100010110010011
+00100000010000000100011011011110
+00100000001000000011111000010101
+01011000000000000100100100000010
+01100111111000010100010001111001
+01011000000000000100100010100101
+01100111111000010100100010011111
+01011000000000000100100011001100
+01100111111000010100100010100001
+01011000000000000011111010000000
+01100111111000010100100010100011
+01011000000000000100001111011111
+01100111111000010100010001100001
+01011000000000000100010010010111
+01100111111000010100010001100011
+01011000000000000011111001111011
+01100111111000010100010001011111
+01011000000000000100001101110100
+01100111111000010100010001100111
+01011000000000000100011010001011
+01100111111000010100010001100101
+01011000000000000011111001011110
+01100111111000010100010001011101
+01011000000000000100001111001000
+01100111111000010100010001101011
+01011000000000000100010011110101
+01100111111000010100010001101111
+01011000000000000011111110101001
+01100111111000010100010001110011
+01011000000000000011111001001101
+01100111111000010100010001011011
+01011000000000000100100111110101
+01100111111000010100010001101101
+01011000000000000100100111110111
+01100111111000010100010001110111
+01011000000000000100101000001010
+01100111111000010100010001110001
+00100000011000000000000000000000
+00100000011101011000000000000000
+00100000010000000010011000001110
+00100000010000000010001010110101
+00100000010000000011111101100000
+00100000010000000011110111010110
+00100000010000000001101011000010
+00100000010000000001101011101011
+00100000010000000001101011011110
+00100000010000000001101011001010
+01101111111001000100101110111100
+11000010100010011100011001110101
+11000010100010010100011000110110
+00100000011000000000000000000000
+01110000010000001100010100001000
+01101111111001000100101110111100
+11000011100001100000000000000000
+01110000010000001100010100011000
+00100000011000000000000000000000
+01110000000010110101100011111111
+01110000010001111001001111111111
+01110000010001111001001000011110
+01110000010010011100010100000101
+01011000000000000100100100110010
+01100111111000010100010010001111
+01110000010001001000111000000001
+01011000000000000100101011000110
+01100111111000010100100010011101
+01110000010010000011100100000001
+01101111111000010100100100000010
+01100111111000010100011110010100
+01101111111000010100100100000100
+01100111111000010100100010000101
+01101111111000001100100100000111
+01100111111000010100100010001001
+01101111111000101100100100001001
+01100111111000101100100011001111
+01101111111000001100100100001000
+01100111111000001100100010000000
+01101111111001000100101110111100
+00100100011110100000000000000000
+01011000000000100000100000000000
+01100111111000011100101110111100
+01011000100000000000011100000000
+11100111111000011000000000000101
+01011000000000000000001100000000
+11100111111000010000000000000101
+01110000010000001001100100000001
+01101111111000001100100100001110
+00101111111011111111111000000000
+00100000010000001100011100100100
+01101111111000001100100100001110
+00101111111011111111111000000010
+00100000010000001100011100100110
+01101111111000001100100100001110
+00101111111011111111111000000001
+00100000010000001100011100101000
+01101111111000001100100100001110
+00101111111011111111111000000011
+00100000010000001100011100101010
+01101111111000001100100100001110
+00101111111011111111111000000100
+00100000010000001100011100101100
+01101111111000001100100100001110
+00101111111011111111111000000101
+00100000010000001100011100110110
+01101111111000001100100001101001
+00100100010110100010001011000100
+00100000010000000011110010110011
+01101111111000001100100100001111
+00011111111000010000010000000111
+01100000010010001100010010100011
+00011111111010010111111000000000
+00011111111000010000010000000001
+01100000010010001100100001101001
+00011111111000110111111000000000
+00011111111000010000010000000011
+01100000010010001100100100000001
+00011111111010110111111000000000
+00011111111000010111111000000011
+00100000010000000100100000010010
+01101111111000001100100100010000
+00011111111000010000010000000011
+01100000010010001100100100101001
+00011111111010110111111000000000
+00011111111000010000010000000011
+01100000010010001100100100101010
+00011111111010110111111000000000
+00011111111000010000010000000001
+01100000010010001100100100101011
+01100000010010001100100110010111
+00011111111000110111111000000000
+00011111111000010000010000000001
+01100000010010001100100001111010
+00011111111000110111111000000000
+00011111111000010111111000000011
+01100111111000001100101111000101
+01000100111000010100000000011000
+01011000000010110000110000001010
+01100111111000011100100100011100
+01011000111111111111111111111111
+11100111111000011000000000000101
+01011000000001100000011111111111
+11100111111000011000000000000101
+01011000111111111111111111111111
+11100111111000011000000000000101
+01110000010010001111101100001010
+01011000000000000000000001100100
+01100111111000010100101111011001
+00100000010000000011111010111100
+01011000000000000001011101110000
+01100111111000010100101111001111
+01110000010010111101000100010100
+01011000000000000000000110010000
+01100111111000010100101111010111
+01100111111000010100101111010011
+01011000000000000000001111101000
+01100111111000010100101111010101
+01110000010010001000000100000111
+01110000010010001100111001111101
+01110000010000011110100000000000
+01110000010010001001000000000001
+01011000000000000000111100001111
+01100111111000010100100010010001
+01100111111000010100100010010011
+01101111111000010100000010101000
+01100111111000010100000010101100
+11011000101000000100001101111010
+11011000110000000100000010101000
+11011111001000000000000000000110
+00100000010000000111111011011001
+01110000010010111001101100100000
+01110000010010010011111000110100
+01101111111000110100001101111010
+01100111111000110100100101010101
+01110000010010111100010000000010
+01110000010000111110011100011111
+01011000000001010000000100000010
+01100111111000011100001111101000
+01011000000100100000001100000011
+11100111111000011000000000000101
+01011000000110010000001100011000
+11100111111000011000000000000101
+01011000000000000000001111000010
+11100111111000010000000000000101
+01011000000001101111111100000110
+01100111111000011100101011100011
+01011000000000000000001100000000
+11100111111000011000000000000101
+01011000000010010000110010000000
+11100111111000011000000000000101
+01011000001101010101010001000010
+11100111111000011000000000000101
+01011000001000000011001000101110
+11100111111000011000000000000101
+01011000011101010110111101001101
+11100111111000011000000000000101
+01011000000000000110010101110011
+11100111111000010000000000000101
+01110000010001000000011100011111
+11011000110000000100101011101010
+11011000101000000100010000001000
+11011111001000000000000000001101
+00100000010000000111110111010100
+01101111111000001100010000001000
+00011111111000001111111111111111
+01100111111000001100001011110111
+11011000110000000100010000001010
+11011000101000000100001011111000
+11011111001000000000000000001011
+00100000010000000111110111010100
+01011000000001110000000000000111
+01100111111000011100001101110010
+01011000000000000010000000000000
+11100111111000011000000000000101
+01011000000000000000000100101100
+11100111111000010000000000000101
+01011000000110000001001000000011
+01100111111000011100101011011101
+01011000000000000000000011111111
+01100111111000011100101011100000
+00111000000000000000000011111011
+00111000000001101100001000010010
+00111000000010001000000000001111
+00111000000011000000000000100001
+01100111111001000100010001001100
+01110000010001000011001000000111
+01011000000000000000000000010101
+01100111111000010100101011111000
+01011000000000000000000000011001
+01100111111000010100001101010111
+01011000000000000000000000011101
+01100111111000010100101011111010
+01011000000000000000000000100001
+01100111111000010100101011111100
+01011000000000000000000000110000
+01100111111000010100101011111110
+01011000000000000000000000100010
+01100111111000010100001111010001
+01110000010010110000000110010110
+01110000010010010011110100000000
+00100000010000000010001011011000
+00100000010000000010001011011011
+01011000011000000100100000000000
+01100111111000011100100001011111
+01011000000000000000000100101100
+01100111111000010100100011000110
+01011000000000000000000001010000
+01100111111000010100100011000100
+01011000000000000000000000000101
+01100111111000010100101111001011
+01011000000000000000011100001000
+01100111111000010100101111001101
+01011000000000010000010000000011
+01100111111000011100100111010101
+01011000001010100010000000000010
+11100111111000011000000000000101
+01011000001000100001010100111111
+11100111111000011000000000000101
+01011000000100010100010000110011
+11100111111000011000000000000101
+01011000001001100101101000001001
+01100111111000011100100111100100
+01011000000001000001100100110100
+11100111111000011000000000000101
+01011000000000000000000000001001
+11100111111000010000000000000101
+01011000000000001111111111111111
+11100111111000010000000000000101
+01011000000011010101101000001001
+01100111111000011100100111111000
+01011000111011010001110100010000
+11100111111000011000000000000101
+01011000000000001000000001111101
+11100111111000010000000000000101
+01011000000000001111111111111111
+11100111111000010000000000000101
+01011000111111110101101000001001
+01100111111000011100101000111110
+01011000010000001010101100100111
+11100111111000011000000000000101
+01011000100110110101011010110011
+11100111111000011000000000000101
+01011000000100101010100011100110
+11100111111000011000000000000101
+01011000101111101100000010101001
+11100111111000011000000000000101
+01011000101011111010010111100110
+11100111111000011000000000000101
+01011000101000010010000110100000
+11100111111000011000000000000101
+01011000000100001011100000000010
+11100111111000011000000000000101
+01011000101001110000101110111001
+11100111111000011000000000000101
+01011000110100001011010111111111
+11100111111000011000000000000101
+01011000111111110000000010110110
+11100111111000011000000000000101
+01011000000000000000100100000000
+11100111111000011000000000000101
+01011000000000001111111111111111
+11100111111000010000000000000101
+01011000000011010101101000001001
+01100111111000011100101001100100
+01011000110001010000111000010000
+11100111111000011000000000000101
+01011000000100001001101001011011
+11100111111000011000000000000101
+01011000010000100001000100111000
+11100111111000011000000000000101
+01011000010000010010100000101000
+11100111111000011000000000000101
+01011000001110010100100100100011
+11100111111000011000000000000101
+01011000010010111011000001001010
+11100111111000011000000000000101
+01011000100100000100110010100000
+11100111111000011000000000000101
+01011000000010010111000001001101
+11100111111000011000000000000101
+01011000111111111111111100000000
+11100111111000011000000000000101
+01011000010001101010010100001001
+01100111111000011100101010010010
+01011000000100000001100100110100
+11100111111000011000000000000101
+01011000011010010000011101100000
+11100111111000011000000000000101
+01011000001000000111110100000100
+11100111111000011000000000000101
+01011000000010010000000001111110
+11100111111000011000000000000101
+01011000001000100000110100000000
+11100111111000011000000000000101
+01011000111111110010001000001110
+11100111111000011000000000000101
+01110000010010101010011111111111
+01011000000010110101101000001001
+01100111111000011100101010110100
+01011000000000000000100111110011
+11100111111000011000000000000101
+01011000000000001111111111111111
+11100111111000010000000000000101
+00100000001000000011000101110100
+01011000000000001001010001101000
+01100111111000010100011001100011
+01011000000000001001011100110010
+01100111111000010100001110010110
+01011000000000000010010110000000
+01100111111000011100000010110010
+01110000010000010111100000000011
+01110000010000010101101100001000
+01110000010010111010111100000000
+01110000010010111010111100000000
+01110000010010111011000000000000
+01011000000000000000001000000000
+01100111111000010100000101011001
+01110000010000111000000000010111
+01110000010000111000001000010111
+01011000000000000000101001110111
+01100111111000010100010010000110
+00111000000000000000001100000110
+00111000000001000100010001000000
+00111000000010010000000000000000
+00111000000011000100010000001000
+01100111111001001100011001100101
+00111000000000000001001000100100
+00111000000001000100000000000000
+00111000000010000000000000000000
+11100111111000101000000000000101
+00111000000000111111111111111111
+00111000000001101111111000100011
+00111000000010011001100111011001
+00111000000011000000001000001101
+01100111111001000100000010100000
+01011000000000000100101100000110
+01100111111000010100001111011110
+01011000000000000000000000010000
+01100111111000010100001111100000
+00100000010000000100100101011011
+00100000010000000100100100010011
+00100000010000000011111011001111
+01101111111001000100101110111100
+11000011000011011011111000000010
+01110000010001000101010100001100
+01011000000000000000000000000110
+01100111111000010100001101110010
+01100111111000010100001101110100
+00100000010000000010011000011010
+01101111111001000100101110111100
+11000011000011000011111000000110
+00100000010000000010011000010010
+01101111111000001100100100111101
+01100111111000001100101011000101
+01101111111000011100001101111101
+01100111111000011100101011011010
+01101111111000001100100100000001
+00011111111000010111111011111110
+01100111111000001100100100000001
+01100111111000001100010010100010
+01011000000000000000000000000000
+01100111111000111100100011010100
+01101111111000001100011110010010
+01100111111000001100101110101100
+01100111111000001100101110101101
+00100000010000000001101001010101
+00100000001000000100001011100000
+01000100111000011100000000011000
+01101111111001000100101110111100
+11000010100101111100100001001001
+01101111111000001100100100111101
+11000000000000000100100000110101
+00100000010000000011111000101000
+00100100001101000100001100101011
+01000100111000100100000000011000
+11011010001000000100100100111110
+01101111111000001100100100111101
+00011111111000001111111111111111
+00011111111011111111111000011101
+10011010001000001010001000000000
+11101111111000001000000000010001
+01100111111000001100010010000100
+01101111111000001100010010000100
+11000000000110011011111000110010
+11000000000110100011111000111110
+00100000001000000100010110010011
+01000100111000101100000000011000
+01111000010101000111110000000000
+01101111111001000100101110111100
+11000011000001011011111000101111
+01101111111000001000100110001001
+11000011000000010011111000101111
+01111000001101000111110000000000
+01101111111000001100101011000010
+01100111111000001100101011000001
+00100000011000000000000000000000
+01101000010010010100101111001001
+01101111111000001100101011010010
+11000000011111111011111000110110
+01101000010010010100101111000110
+01100000010010010100000011000001
+01101111111000110100000111011101
+00100000001110100011001001101010
+01110000010001000111111100010111
+01101111111000001100011101100111
+00100100001110100011001001100000
+01110000010001000111111100000100
+00100000001000000011001001100000
+01110000010010101101100000000001
+01101000010010001100101111001000
+01101111111000001100101011010010
+11000000011111111011111001000011
+01101000010010001100100100000110
+01100000010010001100101110001000
+00100000010000000011001010010111
+01101111111000011100101011100000
+01100111111000011100001111101100
+00100000010000000100010000101000
+01011000000000000000000000000100
+11100111111000001000000000000110
+11011000110000000100010000001000
+00100000010000000100010000101111
+00100000001000000111100101011001
+11000101000100110011001001001111
+01101111111000001100101010111101
+00100000001110100011001001001111
+01101111111000001100101100000101
+11000000000000001011001001001111
+01101111111000010100010011011011
+00100100001110100011001001001111
+01101111111000001100100011100101
+00100100001110100011001001001111
+00100000001000000011001001010001
+01101111111000001100100100000110
+01100111111000001100101011010101
+00100000011000000000000000000000
+01000100111000110100000000011000
+00100000010000000100001001110010
+00100000010000000100001001111100
+00100000001000000011001010001001
+01000100111000111100000000011000
+01101111111100100000000100111000
+01111001001000000111111000011010
+01100111111100100000000001001100
+00100000010000000001010101001100
+00100000010000000110111001100010
+00100000010000000100100101011011
+00100000010000000100000001010101
+00100000010000000011111001101010
+00100000010000000100011001101101
+01101000010010001100100100010101
+00100000001000000110000011100110
+01000100111001000100000000011001
+00100000010000000100001100101001
+00100000010000000111111101010010
+00100000010000000011111010000000
+00100000010000000011111001110010
+01101000010010001100100100011011
+00100000010000000011111110010110
+00100000001000000011111110011000
+11011000110000001000000001110000
+11011111001000000000000000010011
+11101111111000001000000000000110
+00100100001110100011111001111001
+01011000000000000000000001000000
+00011000110000001000101111111111
+11100111111000001000000000000101
+11000010000000000011111001110100
+00100000011000000000000000000000
+11000110000100110000000000000000
+00100000010000000011111010000000
+01101111111000001000000010011101
+00100100011110100000000000000000
+00100000001000000110000011100110
+01000100111001001100000000011001
+00100000010000000011111111001000
+01101111111000001100100100100011
+11011000010000000000000000111111
+00100000010000000110000100101100
+00100000010000000101101101100010
+01101000010010001100100100011100
+00100000010000000110000011011010
+01101000010010001100100100011101
+00100000010000000110000011011010
+01101000010010001100100100011110
+00100000010000000110000011011010
+01101000010010001100100100010001
+00100000010000000110000011011010
+01101000010010001100100100010010
+00100000010000000110000011011010
+01101000010010001100100100010011
+00100000010000000110000011011010
+01101000010010001100100100011111
+00100000010000000110000011011010
+01101000010010001100100100010110
+00100000010000000110000011011010
+01101000010010001100100100010111
+00100000010000000110000011010110
+01101000010010001100100100011000
+00100000010000000110000011010110
+01101000010010001100100100100000
+00100000010000000110000011010110
+01101000010010001100100100100001
+00100000010000000110000011010110
+01101000010010001100100100010101
+00100000001000000110000011011010
+01101111111000010100011110001111
+11000010100001001011111010100101
+01101111111000010100011110001111
+11000010100000000011111010101000
+00100000011000000000000000000000
+00011010001000100111111000000000
+00100100001110100001101011010010
+00100000001000000001101011010100
+00011010001000100111111000000000
+00100100001110100001010100001110
+00100000001000000001010100010000
+01101111111000001100010010100010
+11000001100000010000000000000000
+01000100111001010100000000011001
+01101000010010001100010010100011
+00011000010001100111110000000011
+00100000001000010011111010111001
+00011000010000001000010000000101
+01100000010010001100100100000000
+00011000010000100010001000000000
+00100000010000000110000100110001
+11000000000111111100100110100001
+00100000010000000100100110011111
+00011010001000100000010000000000
+00100000001000000110000100100001
+00011000010000001000010000000100
+01100000010010001100100100000000
+00100000001000000011111010110011
+01101111111000001100100100000001
+11000000000000010011111011000101
+11000000000000000011111011001010
+01110000010010010000000100000000
+01011000001011000000000101110010
+01100111111000011100100011100111
+01011000000000010100000000000001
+11100111111000011000000000000101
+00100000011000000000000000000000
+01011000010111010000000010011001
+01100111111000011100100011100111
+01011000000000000111000100000000
+11100111111000011000000000000101
+00100000011000000000000000000000
+01011000110010000000000100101100
+01100111111000011100100011100111
+01011000000000001101110000000000
+11100111111000011000000000000101
+00100000011000000000000000000000
+01101111111001000100101110111100
+11000100000010100000000000000000
+01110000010010001111100100000001
+11000011100101110000000000000000
+11000011100101011000000000000000
+01110000010010001111100100000000
+00100000011000000000000000000000
+01101111111000001100100011111010
+00011111111000001111111000000001
+01100111111000001100100011111010
+01101000010010001100100011111011
+10011000010001100111110000000000
+00100000011000000000000000000000
+01101111111001000100101110111100
+11000100000010100000000000000000
+00100000010000000011111010101011
+01101111111000001100100011111001
+00100000001110100011111011110011
+01101111111000001100010010100010
+11000000000000010011111011101000
+01110000010010001111100100000011
+00100000010000000011111011010110
+00100000001000010011111011101010
+00100000010000000011111011101111
+00100000001000000011111011111001
+01110000010010001111100100000010
+00100000001000000011111011111001
+00100000010000000011111010101101
+01110000010001001010001000000010
+01101111111000001100101110111011
+00100100010110100011111011101111
+00100000001000000011111011111001
+01110000010010001111101000000000
+01101111111000001100100100000001
+01100111111000001100010010100010
+00100000011000000000000000000000
+01101111111000001100010010100010
+11000000100000010011111011110111
+01101111111000001100101110111011
+00100100011110100000000000000000
+00100000010000000011111011010110
+00100100011000010000000000000000
+01000100111001011100000000011001
+01101111111000001100101110111011
+00100100011110100000000000000000
+01110000010010001111101000000000
+00100000010000000110000101100110
+00100000010000000110000110001101
+01100111111000010100100011101101
+01101111111000001100010010100010
+11000000100000010011111100001000
+01101000010010010100100011101101
+00011000010011111111111000001000
+00011111111001101111110000001010
+00100000010000000111111001100001
+10011000010000001111111000000000
+01100111111000010100100011101101
+11011010001000000100100011100111
+00100000010000000011111100011010
+01101111111000001100010010100110
+11000010100000010011111101011100
+11000010100000001011111101011110
+11000011000000000011111100010010
+01110000010010001111111000000001
+00100000001000000011111100010000
+11011000111000000000000000000100
+00100000001000000100011100101110
+11011000111000000000000000000100
+00100000010000000100011100110010
+01110000010010001111110000001100
+01101111111000001100100011111110
+00100000011110100000000000000000
+01110000010010001111111000000000
+01101000010010001100100100100101
+00100000001000000100100101111000
+01000100111001100100000000011001
+11101111111001000000000000010001
+01100111111001000000100101011100
+01101111111000001100100011111001
+11000000000000000011111100110010
+11000000000000010011111100100001
+11000000000000011011111101010001
+01101111111001000100101110111100
+11000011000101110011111100100111
+01101111111000010000100101100010
+01101000010010010100100011101111
+10011000010001100111110000000000
+00100100001000010011111101010100
+01101111111001000100101110111100
+11000011000101011011111100110010
+01110000010010001111111100000000
+01101111111000010000100101100010
+01101000010010010100100011110001
+10011000010001100111110000000000
+00100100001000010011111100110000
+00100000010000000100011011100111
+00100000001000000011111100110010
+00100000010000000100011011101011
+00100000001000000011111100110010
+00100000010000000011111101011000
+00100000010000000110000111010110
+00100000010000000110000111001110
+01101111111000010000100101100010
+01101000010010010000100101011110
+10011000010001100111110000000000
+00100100010000010110000111010010
+01101000010010010000100101100000
+10011000010001100111110000000000
+00100100010000010110000111001010
+01101111111000010000100101100010
+01101000010010010000100101011100
+10011000010001100111110000000000
+00100000001000010011111101001101
+01101000010010010000100101011110
+10011000010001100111111000000000
+00100100001000010011111101001111
+00100000001110100011111101001111
+00011111111011111010001001100100
+01101111111000010000100101011100
+01101000010010010000100101011110
+10011000010001100000010000000000
+00011010001000100111111000000000
+10011000010001101111110000000000
+00100000010000000111111001100001
+01100111111000001100101100000000
+00100000011000000000000000000000
+01110000010010110000000001100100
+00100000011000000000000000000000
+01110000010010110000000000000000
+00100000011000000000000000000000
+01101111111000001100010010100010
+11000000000000010011111100100001
+00100000001000000011111100110010
+01101000010010001100010010100110
+01111001001000000000010000000010
+01100000010010001100010010100110
+00100000011000000000000000000000
+01101000010010001100010010100110
+01111001001111111000010000000010
+01100000010010001100010010100110
+00100000011000000000000000000000
+01110000010010001111111100000001
+00100000011000000000000000000000
+00100000010000000100100101011011
+00100000001000000011111001011010
+01101000010010001100010011000011
+00100000010000000110000100001101
+00100000010000000111101000011111
+01101000010010001100100100011100
+00100000010000000011111110010110
+01101000010010001100100100011101
+00100000010000000011111110010110
+01101000010010001100100100011110
+00100000010000000011111110010110
+01101000010010001100100100010001
+00100000010000000011111110010110
+01101000010010001100100100010010
+00100000010000000011111110010110
+01101000010010001100100100010011
+00100000010000000011111110010110
+01101000010010001100100100010100
+00100000010000000011111110010110
+01101000010010001100100100011111
+00100000010000000011111110010110
+01101000010010001100100100010110
+00100000010000000011111110010110
+01101000010010001100100100010111
+00100000010000000011111110010110
+01101000010010001100100100011000
+00100000010000000011111110010110
+01101000010010001100100100100000
+00100000010000000011111110010110
+01101000010010001100100100100001
+00100000010000000011111110010110
+01101000010010001100100100010101
+00100000010000000011111110010110
+01101000010010001100100100100010
+00100000010000000011111110010110
+01101000010010001100100100100101
+00100000010000000110000100001101
+01101000010010001100100100011001
+00100000010000000110000100001101
+01101000010010001100100100100110
+00100000010000000110000100001101
+01101000010010001100100100100111
+00100000010000000110000100001101
+01101000010010001100100100101000
+00100000010000000110000100001101
+01101000010010001100100100011010
+00100000001000000011111110010110
+00011000010001100111110011111111
+00100000011000101000000000000000
+00011000010000010000111001111111
+01101111111100100000000100011100
+10101111111011111111111111111111
+00100000001000001011111110010110
+00100000001000000011111110010100
+01111001001000000000010000000111
+00100000001000000110000011110100
+01111001001111111000010000000111
+00100000001000000110000011110100
+01101111111000011100101111101111
+01100111111000011000100101011100
+11011111001000000000000000010100
+11011000010000000000000000000000
+01101111111000011000100101011100
+00101111111011111111111000000000
+00100000010000001110000100100001
+01101111111000011000100101011100
+00011111111000111111111000000000
+01100111111000011000100101011100
+00011000010000001000010000000001
+11000010000000000011111110011100
+00100000011000000000000000000000
+00100000010000000011111110101010
+01110000010001001000011001110011
+00100000010000000011111110101001
+00100000001000000101101101100110
+00100000001000000101110101010100
+01101111111000001100100100100011
+11011000010000000000000000100001
+00100000010000000110000100101100
+01101111111000001100100100100100
+11011000010000000000000000100011
+00100000001000000110000100101100
+01000100111001101100000000011001
+01111000010101000111110000000000
+01011000000000000000000000000000
+01100111111000110100100011010101
+00100000010000000100001010000000
+00100000010000000011111110111110
+00100000010000000011111111000011
+00100000010000000100000100011100
+01101111111000001100100011010100
+00011111111000010111111000011111
+01100111111000001100100011010100
+00100100001101000100011101100110
+00100000010000000100011101011000
+00100000001000000100010110000100
+01101111111000001100100011100100
+00100000011110100000000000000000
+01100111111000001100100011011001
+01110000010010001110010000000000
+00100000001000000111111011000101
+01101111111000001100100011100000
+00100000011110100000000000000000
+01100111111000001100100011011010
+01110000010010001110000000000000
+00100000001000000111111011000101
+00100000010000000011111111010101
+00100000010000000100000000010001
+01101111111000001100100011011110
+01101000010010001100100011011101
+01100111111000001100100011011101
+10011000010001100111110000000000
+00100100001000101011001001010011
+01101111111000001100100011100010
+01101000010010001100100011100001
+01100111111000001100100011100001
+10011000010001100111110000000000
+00100100001000101011001001010011
+00100000011000000000000000000000
+01101111111000001100100100100000
+11000001011111111000000000000000
+11011010001000000000000000000000
+01101000010010001100100100100000
+00100000010000000110000011111101
+01111001001000001010001000000000
+01101000010010001100100100100001
+00100000010000000110000011111101
+01111001001000001010001000000001
+00011010001000100111111000000000
+01100111111000001100100011011110
+11000000000000001011111111100101
+11000000000000010011111111101001
+01101111111000001100100011011111
+11000010100000111011111111110101
+00100000011000000000000000000000
+01101111111000001100100011011101
+11000000000000000011111111101101
+11000000000000011011111111101111
+00100000011000000000000000000000
+01101111111000001100100011011101
+11000000000000000011111111110001
+11000000000000011011111111110011
+00100000011000000000000000000000
+01110000010010001101111110000010
+00100000011000000000000000000000
+01110000010010001101111110000001
+00100000011000000000000000000000
+01110000010010001101111110000000
+00100000011000000000000000000000
+01110000010010001101111110000011
+00100000011000000000000000000000
+01101111111000001100100011011111
+01111001001111111111111000000111
+01100111111000001100100011011111
+11000000000000000011111111111101
+11000000000000001100000000000000
+11000000000000010100000000000011
+11000000000000011100000000000110
+00100000011000000000000000000000
+01101111111000001100100011011110
+11000000000000011100000000001001
+00100000011000000000000000000000
+01101111111000001100100011011110
+11000000000000000100000000001001
+00100000011000000000000000000000
+01101111111000001100100011011110
+11000000000000011100000000001101
+00100000011000000000000000000000
+01101111111000001100100011011110
+11000000000000000100000000001101
+00100000011000000000000000000000
+01101111111000001100100011100000
+00011111111000001111111000000001
+01100111111000001100100011100000
+00100000011000000000000000000000
+01101111111000001100100011100000
+00011111111000001111111111111111
+01100111111000001100100011100000
+00100000011000000000000000000000
+01101111111000001100100100010111
+11000001011111111000000000000000
+11011010001000000000000000000000
+01101000010010001100100100010111
+00100000010000000110000011111101
+01111001001000001010001000000000
+01101000010010001100100100011000
+00100000010000000110000011111101
+01111001001000001010001000000001
+00011010001000100111111000000000
+01100111111000001100100011100010
+11000000000000001100000000100001
+11000000000000010100000000100101
+01101111111000001100100011100011
+11000010100000111100000000110001
+00100000011000000000000000000000
+01101111111000001100100011100001
+11000000000000000100000000101001
+11000000000000011100000000101011
+00100000011000000000000000000000
+01101111111000001100100011100001
+11000000000000000100000000101101
+11000000000000011100000000101111
+00100000011000000000000000000000
+01110000010010001110001110000010
+00100000011000000000000000000000
+01110000010010001110001110000001
+00100000011000000000000000000000
+01110000010010001110001110000000
+00100000011000000000000000000000
+01110000010010001110001110000011
+00100000011000000000000000000000
+01101111111000001100100011100011
+01111001001111111111111000000111
+01100111111000001100100011100011
+11000000000000000100000000111001
+11000000000000001100000000111100
+11000000000000010100000000111111
+11000000000000011100000001000010
+00100000011000000000000000000000
+01101111111000001100100011100010
+11000000000000011100000001000101
+00100000011000000000000000000000
+01101111111000001100100011100010
+11000000000000000100000001000101
+00100000011000000000000000000000
+01101111111000001100100011100010
+11000000000000011100000001001001
+00100000011000000000000000000000
+01101111111000001100100011100010
+11000000000000000100000001001001
+00100000011000000000000000000000
+01101111111000001100100011100100
+00011111111000001111111000000001
+01100111111000001100100011100100
+00100000011000000000000000000000
+01101111111000001100100011100100
+00011111111000001111111111111111
+01100111111000001100100011100100
+00100000011000000000000000000000
+01101000010010001100100100010111
+00100000010000000110000011010110
+01101000010010001100100100011000
+00100000010000000110000011010110
+01101000010010001100100100100000
+00100000010000000110000011010110
+01101000010010001100100100100001
+00100000001000000110000011010110
+01101000010010001100100100010111
+00100000010000000011111110001101
+01101000010010001100100100011000
+00100000010000000011111110001101
+01101000010010001100100100100000
+00100000010000000011111110001101
+01101000010010001100100100100001
+00100000001000000011111110001101
+01101111111000010100100011011001
+00100000011110100000000000000000
+01110000010010001110010100000001
+01110000010010001110011000001010
+00100000011000000000000000000000
+11011010011000000100100011100110
+11011010010000000100000001100101
+00100000001000000011000111111100
+01110000010010001110010100000000
+00100000011000000000000000000000
+01101111111001000100101110111100
+11000010100101110100000001110110
+01101111111000001100100100010011
+11000001011111111000000000000000
+11011010001000000000000000000000
+01110000010010111010011100000101
+01101000010010001100100100010011
+00100000010000000100000001111001
+01100111111000001100101110100100
+01101111111000001100100100010100
+11000000011111111100000010000010
+00100000010000000100000110101000
+00011010001000100111111000000000
+11000010100000101100000010010010
+00100000001000000100000010011001
+01101111111000001100100011111111
+00100000001110100100000010011001
+00100000001000000100000010010010
+01101111111001000100101110111100
+11000010100101100100000010001000
+01101111111000001100101110100100
+00011111111000100010011000000000
+01101111111000001100100100010100
+11000000011111111100000111010101
+01101111111000001100101110101011
+00100100001110100100000010000101
+00100000001000000100000010001010
+01101000010010001100100100010011
+00100000010000000011111110010110
+00100000001000000100000001110011
+01110000010010011110001000000000
+01110000010010111010010000000000
+00100000011000000000000000000000
+01101111111000001100101110100100
+00100000001000000100000111000111
+00100000010000000110000011111101
+01101000010010001100100100010100
+00100000001000001100000010001000
+01101000010010001100100100010100
+00100000010000000110000100001101
+01101000010010001100100100010011
+01101111111000001100101110100100
+00100000001000000100000111000111
+01101111111000001100100111100010
+11000001000000001000000000000000
+01110000010010011110001000000001
+01101111111001000100101110111100
+11000011100101000000000000000000
+11000011100110110000000000000000
+00100000001000000100000010101001
+01101111111000001100100111100010
+11000001000000000000000000000000
+01110000010010011110001000000000
+01101111111001000100101110111100
+11000010100101000100000010100000
+11000010100110110100000010100000
+00100000011000000000000000000000
+01101111111000001100100111100011
+00100100001110100100000010100100
+01101111111000001100101110101101
+00100100010110100100000010101001
+01110000010010011110001100000000
+01101111111000001100011110010010
+01100111111000001100101110101101
+01100111111000001100101110101100
+00100000011000000000000000000000
+01000100111001110100000000011001
+00100000010000000100000010110010
+00100000011101000000000000000000
+01101111111000001100100110010111
+00011111111000001111111000000001
+00011111111000010111111000000011
+01100111111000001100100110010111
+00100000010000000100000011010101
+00100000001000000100011000101110
+01111000010101000111110000000000
+01101111111001000100101110111100
+11000011100101100000000000000000
+11000011100101110000000000000000
+01101111111000001100101110011111
+00100000011110100000000000000000
+01101111111000001100101110100000
+00100000011110100000000000000000
+01111000001101000111110000000000
+00100000011000000000000000000000
+01101111111001000100101110111100
+11000010100101000100000011000000
+11000010100110110100000011000111
+00100000011000000000000000000000
+01101111111000001100100111100010
+11000001100000001000000000000000
+11011010011000000100101110101101
+11011010010000000100000011000101
+00100000001000000011000111111100
+01110000010010011110001100000001
+00100000001000000100011011110011
+01101111111000001100100111100010
+11000001100000001000000000000000
+11011010011000000100101110101100
+11011010010000000100000011001100
+00100000001000000011000111111100
+01110000010010011110001100000001
+00100000001000000100010100010100
+00100000001000000100000011011000
+01101111111001000100101110111100
+11000011100011100000000000000000
+01101111111000001100100110010111
+11000001100000011000000000000000
+01110000010010011001011100000000
+00100000011000000000000000000000
+01000100111001111100000000011001
+00100000010000000100000011001111
+00100000010000000100100100101110
+01101111111000001100100100101100
+11000000000000011100000011111011
+11000000000001011100000100001111
+01101111111000001100100110010111
+11000000000000000100000011100010
+11000000000000001100000011100000
+11000000000000010100000011100100
+11000000000000011100000011100110
+01101000010010001100100111010110
+00100000001000000100000011101000
+01101000010010001100100111010101
+00100000001000000100000011101000
+01101000010010001100100111010111
+00100000001000000100000011101000
+01101000010010001100100111011000
+00100000001000000100000011101000
+01101111111000001100100100101100
+11000000000000100100000011110111
+11000000000000101100000011110111
+11000000000001000100000011111001
+11000000000000111100000011111001
+11000000000000110100000011110111
+01100000010010001100100111100001
+01011000000000000000000000000110
+00100000010000000101110101100101
+00011111111000010000010011111000
+01101111111000001100100111100001
+10011000010000001111111000000000
+00011111111011010111111000000000
+00011111111000001111111000000110
+00100000001000000101110101011110
+00011000010000001000010111111111
+00100000001000000100000011101110
+00011000010000001000010000000010
+00100000001000000100000011101110
+01101111111000001100100110010111
+11000000000000000100000100000010
+11000000000000001100000100000000
+11000000000000010100000100000100
+11000000000000011100000100000110
+01101111111000001100100111011010
+00100000001000000100000100000111
+01101111111000001100100111011001
+00100000001000000100000100000111
+01101111111000001100100111011011
+00100000001000000100000100000111
+01101111111000001100100111011100
+01100111111000001100100111100001
+00011111111011010111111000000000
+00011111111000100010001000000000
+00011111111000001111111000001101
+00100000010000000101110101011110
+00011010001000100111111000000000
+00011111111000001111111000001110
+00100000001000000101110101011110
+01101111111000001100100110010111
+11000000000000000100000100010110
+11000000000000001100000100010100
+11000000000000010100000100011000
+11000000000000011100000100011010
+01101111111000001100100111011110
+00100000001000000100000100000111
+01101111111000001100100111011101
+00100000001000000100000100000111
+01101111111000001100100111011111
+00100000001000000100000100000111
+01101111111000001100100111100000
+00100000001000000100000100000111
+00100000010000000100000101010101
+00100000010000000100000100101101
+00100000010000000011111010100000
+00100000010000000100000100101000
+00011010001000100111111000000000
+01101000010010001100100011011100
+01100111111000001100100011011100
+01100111111000001100100011010100
+10011000010000101111111000000000
+00011111111001100111110000000000
+00100000011000101000000000000000
+00100000001000000111111011000101
+11000110100100110000000000000000
+00011010001000100111111000000000
+00100000011110100000000000000000
+01100111111000001100100011010100
+00100000001000000111111011000101
+01110000010010111010100100000000
+01110000010010111010101000000000
+01110000010010111010101100000000
+00011111111000100000010000000000
+00100000010000000100000100111101
+00100000010000000100000101000000
+00100000010000000100000101000011
+00100000010000000100000101000110
+01101111111000001100101110101010
+00100000011110100000000000000000
+01101111111000001100101110101001
+00100000011110100000000000000000
+01110000010010111010101100000001
+01101111111000001100100011011100
+00011111111000100010001000000000
+00100000011000000000000000000000
+00011000010000010111111000001001
+11000000000001001100000101001110
+00100000011000000000000000000000
+00011000010000010111111000010100
+11000000000010100100000101001110
+00100000011000000000000000000000
+00011000010000010111111000011000
+11000000000011000100000101001100
+00100000011000000000000000000000
+00011000010000010111111000000111
+11000000000000011100000101001100
+11000000000000101100000101001100
+11000000000000110100000101001100
+11000000000000111100000101001100
+00100000011000000000000000000000
+01110000010010111010101000000001
+00100000011000000000000000000000
+01110000010010111010100100000001
+00100000011000000000000000000000
+00100000010000000100000101100001
+00100000010000000100000101010101
+01011000000000000000000000000000
+01100111111000011100101110011111
+00100000011000000000000000000000
+01000100111010000100000000011010
+01101111111000001100101111110010
+00100100010110100100000101100001
+11011010001000000000000000000000
+00100000010000000100000101100100
+00100000010000000100000101101010
+00100000010000000100000101110000
+00100000010000000100000101110110
+00100000010000000100000110001111
+00100000010000000100000110101010
+00011010001000100111111000000000
+00100000011000000000000000000000
+01011000000000110000001100000011
+01100111111000011100101110011111
+00100000011000000000000000000000
+01110000010010111010011100000000
+01101000010010001100100100011100
+01101111111000001100101110011111
+00100000010000000100000111000111
+01100111111000001100101110011111
+00100000011000000000000000000000
+01110000010010111010011100000001
+01101000010010001100100100011101
+01101111111000001100101110100000
+00100000010000000100000111000111
+01100111111000001100101110100000
+00100000011000000000000000000000
+01110000010010111010011100000010
+01101000010010001100100100011110
+01101111111000001100101110100001
+00100000010000000100000111000111
+01100111111000001100101110100001
+00100000011000000000000000000000
+01101111111000001100100100010001
+11000001011111111000000000000000
+01110000010010111010011100000011
+01101111111000001100101110100010
+00011111111000100010011000000000
+01101000010010001100100100010001
+01101111111000001100100100010100
+11000000011111111100000110001011
+00100000010000000110000011111101
+00100000001000001100000110000111
+01101000010010001100100100010100
+00100000010000000110000100001101
+01101000010010001100100100010001
+01101111111000001100101110100010
+00100000010000000100000111000111
+01100111111000001100101110100010
+00100000001000000100000110101000
+01101000010010001100100100010100
+01101111111000001100101110100010
+00100000010000000100000111000111
+00100000001000000100000110000101
+00100000010000000100000111010101
+01100111111000001100101110100010
+01101000010010001100100100010001
+00100000001000000011111110010110
+01101111111000001100100100010010
+11000001011111111000000000000000
+01110000010010111010011100000100
+01101111111000001100101110100011
+00011111111000100010011000000000
+01101000010010001100100100010010
+01101111111000001100100100010100
+11000000011111111100000110100100
+00100000010000000110000011111101
+00100000001000001100000110100000
+01101000010010001100100100010100
+00100000010000000110000100001101
+01101000010010001100100100010010
+01101111111000001100101110100011
+00100000010000000100000111000111
+01100111111000001100101110100011
+00100000001000000100000110101000
+01101000010010001100100100010100
+01101111111000001100101110100011
+00100000010000000100000111000111
+00100000001000000100000110011110
+00100000010000000100000111010101
+01100111111000001100101110100011
+01101000010010001100100100010010
+00100000001000000011111110010110
+01101000010010001100100100010100
+00100000001000000011111110010110
+01110000010010111001110000000000
+01101111111001000100101110111100
+11000100000010101000000000000000
+01101111111000001100100100010110
+11000001011111111000000000000000
+01110000010010111010011100000111
+01101000010010001100100100010110
+01101111111000001100101110100110
+00100000010000000100000111000111
+01100111111000001100101110100110
+00011010001000100111111000000000
+11000010100000111100000110111010
+00100000010000000100000110111101
+01101111111000001100101110011101
+01100111111000001100101110011110
+00100000011000000000000000000000
+01110000010010111001110100000001
+00100000010000000100000111000000
+00100000001000000100000110110111
+01110000010010111001110100000000
+01101111111000001100101110011110
+00100000011110100000000000000000
+01110000010010111001110000000001
+00100000011000000000000000000000
+00100000010000000110000011111101
+01101000010010001100101110100111
+00011000010000100000111000000000
+00100000001000001100000111010011
+00100000001000000100000111010001
+00011111111000111111111000000000
+00011111111000100010010000000000
+00100000010000000110000011111101
+01111001001000001010010000000000
+00011010010000010111111000000111
+01101000010010001100101110100111
+00011000010000100000111000000000
+11000000000000111100000111010011
+11000000000000000100000111010001
+00100000011000000000000000000000
+11111001001111111010001000000000
+00100000011000000000000000000000
+11111001001000000010001000000000
+00100000011000000000000000000000
+01000100111010001100000000011010
+00011010011000100111111000000000
+01100111111000001100101110101000
+00011111111000111111111000000000
+00011111111000100010010000000000
+00011000010000100010011000000000
+00100000010000000011111110010100
+00011010011000100000010000000000
+00100000010000000110000011111101
+01111101001000001010010000000000
+00100000010000000100000111100001
+00100000001000000100000111001011
+01101000010010001100101110101000
+00011000010000010000010000000001
+00011010010000010111111000000001
+10011000010001100111110000000000
+00100100001000101100001101101111
+00100000011000000000000000000000
+01000100111010010100000000011010
+00100000010000000011111110100101
+00100000011101011000000000000000
+00100000010000000100001001110110
+00100000010000000100000111110101
+11000000000110000100000111111100
+11000000000110001100001001010111
+11000000001011000100001001100000
+00100000010000000100000111110010
+00100000000000000001101011110100
+00100000001000000100000111101011
+01101111111000001100100100100011
+00100000010000000101101101010101
+00100000001000000011111110101010
+01011000000000000000000000000001
+00100000010000000101110101100101
+01100111111000001100100111000111
+01011000000000000000000000000000
+00100000010000000101110101100101
+01100111111000001100100111000110
+00100000011000000000000000000000
+01101111111000001100100111000111
+11000000001011010100001000000101
+11000000011011000100001000001011
+11000000011010001100001000011010
+11000000011010010100001000100011
+11000000000000010100001000101010
+11000000001010100100001000101101
+11000000001010000100001001010100
+00100000001000000100000111101011
+01110000010010010010110000000101
+00100000010000000100001001110010
+00100000010000000111110110000101
+11011010011000000100101000111110
+00100000010000000100001001101011
+00100000001000000100000011001110
+01011000000000000000000000010110
+00100000010000000101110101100101
+00011111111001100111110010111101
+00100100001000101100000111100111
+01011000000000000000000000011001
+00100000010000000101110101100101
+00011111111001100111110001010101
+00100100001000101100000111100111
+01011000000000000000000000011011
+00100000010000000101110101100101
+00011111111001100111110000011101
+00100100001000101100000111100111
+01110000010010010010110000000110
+11011010011000000100101010000010
+00100000001000000100001001101011
+01110000010010010010110000000000
+11011010011000000100100111111000
+00100000010000000100001001101011
+11011010011000000100101000000010
+00100000010000000100001001101011
+01011000000000000000100101000011
+00100000010000000101110101011110
+11011010011000000100101000011100
+00100000001000000100001001101011
+01110000010010010010110000000010
+11011010011000000100100111101110
+00100000010000000100001001101011
+11011010011000000100101000000010
+00100000010000000100001001101011
+11011010011000000100101000011100
+00100000001000000100001001101011
+01110000010010010010110000000011
+11011010011000000100100111100100
+00100000001000000100001001101011
+00100000010000000100001001101001
+01011000000000001001101001011011
+00100000010000000101110101011110
+01011000000000000000000000001101
+00100000010000000101110101100101
+00011111111001100111110000010010
+00100000001000101100001001000001
+00011111111001100111110000001010
+00100100001000101100001001000100
+01011000000000000000000000001110
+00100000010000000101110101100101
+00011111111001100111110011100101
+00100100001000101100000111101011
+01011000000000000000000000010000
+00100000010000000101110101100101
+00011111111001100111110010100101
+00100000001000101100001001000001
+00100000010000000100001001010001
+01110000010010010010110000001000
+00100000011000000000000000000000
+01110000010010010010110000001001
+11011010011000000100101001100100
+00100000001000000100001001101011
+00011111111001100111110000010000
+00100100001000101100000111101011
+01011000000000000000000000001110
+00100000010000000101110101100101
+00011111111001100111110011000101
+00100100001000101100000111101011
+01011000000000000000000000010000
+00100000010000000101110101100101
+00011111111001100111110000111000
+00100100001000101100000111101011
+00100000010000000100001001010001
+01110000010010010010110000001010
+00100000011000000000000000000000
+01011000000000000000000001011011
+00100000010000000101110101011110
+00100000001000000100001001100111
+01110000010010010010110000000111
+11011010011000000100101010101000
+00100000001000000100001001101011
+00100000010000000100001001110110
+01101111111000001100100111000111
+11000000001110000100001001011110
+11000000000000000100001001011100
+00100000001000000100000111101011
+01110000010010010010110000000001
+00100000011000000000000000000000
+01110000010010010010110000000100
+00100000011000000000000000000000
+00100000010000000100001001110110
+01101111111000001100100111000111
+11000000001011001100001001100100
+00100000001000000100000111111100
+01110000010010010010110000001011
+11011010011000000100101010010010
+00100000001000000100001001101011
+01011000000000000000000000001001
+00100000001000000101110101011110
+01011000000000000101101000001001
+00100000001000000101110101011110
+11101111111000010000000000010011
+11011000010000001111111111111111
+10011000010001100111110000000000
+00100000011000101000000000000000
+00100000010000000101110101011110
+00011010011000001010011000000010
+00100000001000000100001001101011
+01011000000000001000000000000110
+00100000010000000101110101011110
+00100000000000000010111011100000
+00100000011000000000000000000000
+01000100111010011100000000011010
+00100000010000000011111110100101
+00100000010000000100001001110010
+11011010011000000100101010110100
+00100000010000000100001001101011
+00100000001000000100000011001110
+00100000010000000100000111100111
+00100000010000000011111110100101
+01011000000000000000100000000110
+00100000001000000101110101011110
+01101111111000001100010010101110
+11000001100000000000000000000000
+01101111111000001100100100101100
+11000000000000000100001010001100
+11000000000000001100001010001100
+11000000000001000100001010001100
+11000000000000010100001010001100
+11000000000000011100001010110000
+11000000000000100100001010001100
+11000000000000110100001011010101
+11000000000001011100001011001110
+00100000001000000100001010001100
+00100000010000000100001100000100
+01111000010101000111110000000000
+01101111111000001100100100010101
+11000000011111111100001010010011
+01101000010010001100100100010101
+00100000010000000110000011111101
+00100100011000001000000000000000
+01011000000000000000000000000000
+00100000010000000101110101100101
+11000000100110000100001010100110
+01011000000000000000000000000010
+00100000010000000101110101100101
+11000100000000111000000000000000
+00100000010000000100001100011011
+01101111111000001100100011010101
+00100000010000000100001100010011
+01100111111000010100100011010101
+01101111111000001100100011010111
+00100000010000000100001100010011
+01100111111000010100100011010111
+01101111111000001100100100101101
+11000000000000000100001010101000
+11000000000000001100001010101010
+11000000000000010100001010101100
+11000000000000011100001010101110
+00100000011000000000000000000000
+11000000000110001100001010010110
+00100000001000000100000111110010
+00100000010000000100001011101101
+00100000001000000100001100100010
+00100000010000000100001011110101
+00100000001000000100001100100010
+00100000010000000100001011110001
+00100000001000000100001100100010
+00100000010000000100001011111101
+00100000001000000100001100100010
+00100000010000000100001100000100
+01101111111000001100100100010101
+11000000011111111100001010110110
+01101000010010001100100100010101
+00100000010000000110000011111101
+00100100011000001000000000000000
+01011000000000000000000000000000
+00100000010000000101110101100101
+11000000100110000100000111110010
+01011000000000000000000000000010
+00100000010000000101110101100101
+11000100000000111000000000000000
+00100000010000000100001100011011
+00100000010000000100001011001100
+01100111111000001100100011011011
+00011111111100011111111000000000
+00100000010000000100001100010111
+01100111111000001100100011010110
+01101111111000001100100011011011
+00011111111000010111111000001111
+00100000010000000100001100010111
+01100111111000001100100011011000
+01101111111000001100100100101101
+11000000000000000100001011101101
+11000000000000001100001011110101
+11000000000000010100001011110001
+11000000000000011100001011111101
+00100000011000000000000000000000
+01011000000000000000000000010010
+00100000001000000101110101100101
+00100000010000000100001100000100
+01101111111000001100100100010101
+11000000011111111100001011010100
+01101000010010001100100100010101
+00100000010000000110000011111101
+00100100011000001000000000000000
+00100000001000000100001010111001
+00100000010000000100001100000100
+01111000010101000111110000000000
+01011000000000000000000000000010
+00100000010000000101110101100101
+11000100000000111000000000000000
+01011000000000000000000000001000
+00100000010000000101110101100101
+00100000001110100100001010011001
+01011000000000000000000000000000
+01100111111000110100100011010101
+00100000011000000000000000000000
+01101111111000001100100100101001
+01100111111000001100100100101101
+01101111111000001100100100011010
+11000001011111111000000000000000
+01101000010010001100100100011010
+00100000010000000011111110010110
+01101000010010001100100100011010
+00100000010000000110000011111101
+00100000010000001100001011101010
+00100000001000000011111110010100
+01101111111000001100100100101010
+01100111111000001100100100101101
+00100000011000000000000000000000
+01101111111000010100100011010101
+00011111111001100111111000000000
+01100111111000010100100011010101
+00100000001000000111111011000101
+01101111111000010100100011010111
+00011111111001100111111000000000
+01100111111000010100100011010111
+00100000001000000111111011000101
+01101111111000010100100011010111
+00011111111001100111111000000000
+01100111111000010100100011010111
+01101111111000010100100011010101
+00011111111001100111111000000000
+01100111111000010100100011010101
+00100000010000000100001011111111
+00100000001000000111111011000101
+00100000010000000100001011111111
+00100000001000000111111011000101
+01101111111000010100100011010111
+01101000010010010100100011010101
+01100111111000010100100011010101
+01100000010010010100100011010111
+00100000011000000000000000000000
+01101111111000001100100111001101
+00100000010110100100001100011011
+01110000010010011100110100000001
+00100000011000000000000000000000
+01110000010010101011110100000001
+00100000010000000001101011000110
+00100000001000000100000111100111
+01101111111000001100100100010101
+11000001111111111000000000000000
+01101111111000001100101010111111
+11000001100000001000000000000000
+01011000000000000000000000000000
+01100111111000001100101010111111
+01100111111000100100100011010101
+00100000001000000100001100001010
+11000100000000111000000000000000
+11011000010000001111111100000000
+10011000010000011111111000000000
+00100000011000000000000000000000
+11000100000000011000000000000000
+11011000010000000000000011110000
+10011000010000011111111000000000
+00100000011000000000000000000000
+11011111111000000000000000000011
+00100000010000000101110101100101
+01100111111000010100100011010101
+11011111111000000000000000000100
+00100000010000000101110101100101
+01100111111000010100100011010111
+00100000011000000000000000000000
+01101000010010001100100100100100
+00100000010000000110000011111101
+00100000011000001000000000000000
+01011000000000000000000000001010
+00100000010000000101110101100101
+00100000000000000000001111101000
+00100000001000000100001100100010
+01011000000000001000000100000000
+00100000001000000101110101011110
+01110000010010101101001011111111
+01101111111000001100101111000100
+11000010100000001100001100101111
+11000010100000000100001100110100
+01110000010001001000010000110100
+01011000000011110000111100001111
+01100111111000011100001101111010
+01100111111000011100001101111101
+00100000001000000011111000100100
+01110000010001001000010000110011
+11011000110000000100100101111001
+00100000010000000100011000001000
+00100000001000000011111000100100
+01000100111010100100000000011010
+00100000010000000100010111111101
+00100000010000000100001101010100
+01101111111000001100100100111101
+11000000000000001100001100111111
+11000000000000010100001101000001
+00100000011000000000000000000000
+01101111111000110100100100111111
+00100000001000000100001101000010
+01101111111000110100100101011100
+01101000010010110100100101111001
+10011000010001100111110000000000
+00100000001000101100010110010011
+00100000001000000011111000011100
+00100000010000000100001101010100
+01101111111000001100010111111111
+00011111111000001111111000000011
+00011111111000100010001000000000
+00100000010000000100111000011110
+01101111111000010100010011100001
+11100111111000010000000000000101
+01011000000000000000010010100001
+11100111111000010000000000000101
+01101111111000001100010111111111
+00011111111000001111111000000001
+00011111111000100111001000000000
+11011000110000000100010111111111
+00100000001000000111110111010100
+01110000010010101101001001011010
+00100000011000000000000000000000
+01101111111000010100011110001111
+11000010100000111100001101100010
+11000010100001001011001010000001
+11000010100000000011001001101000
+00100000001000000100010110110110
+01011000000000000000000000000000
+01100111111000010100101011000011
+01101111111000010100011110001111
+11000010100001001011001010000001
+01101111111000010100011110001111
+11000010100000000011001001101000
+00100000011000000000000000000000
+00100000010000000100011100011100
+00100000001000000111100110011100
+01101111111001000100101110111100
+11000100000011011000000000000000
+00100100001101000100001101101100
+01101111111000001100101010111110
+00011111111000001111111000000001
+00011111111000010111111000001111
+01100111111000001100101010111110
+00100100011110100000000000000000
+01110000010010101011111000000000
+01111000010101000111110000000000
+00100000011000000000000000000000
+01101111111000001100100100010101
+11000001111111111000000000000000
+01110000010000010111011100000000
+01110000010010101100000000011110
+00100000011000000000000000000000
+01000100111010101100000000011010
+00011010011000100111111000000000
+11000000000010100100001110010000
+11000000000000001100010000111010
+11000000000010101100001110011111
+11000000000000010100010000111110
+11000000000000101100010001100001
+11000000000010000100010110001110
+11000000000010010100010001100100
+11000000000000110011001010110110
+11000000000000100100010001110010
+11000000000010011100010001110010
+11000000000011001011001001011110
+11000000000101011100010001111101
+11000000000100001100010010000011
+11000000000001010100010010001010
+11000000000101110011001001001100
+11000000000110001100001110101010
+11000000000101001100001110101100
+11000000000110010100001110101110
+11000000000111110100001110111001
+11000000001000000100001110111010
+11000000000100111100010010001100
+11000000000111001100100010010110
+11000000000111010100100001110010
+11000000000111100100100010001101
+11000000001000100100001111010000
+00100000011000000000000000000000
+01110000010010101011111100000000
+00100000010000000100001100001010
+01110000010010101101011100000001
+00100000010000000100100001100001
+01101111111000001100101011011000
+00100100001110100100001110010111
+01110000010010101101100100010100
+01101111111000010100010010000010
+01111001001111111111111000000000
+01100111111000010100010010000010
+01110000010010111000100000000000
+01101111111000010100101100000001
+01100111111000010100101100000011
+00100000010000000100010110000100
+00100000001000000100010110110110
+01110000010010101101011100000000
+01011000000000000000000000000110
+01101111111001000100101110111100
+11000010100011011100001110100100
+01011000000000000000000000000111
+01100111111000010100001101110010
+01100111111000010100001101110100
+01110000010010110000010100000000
+01110000010010101011110100000000
+00100000010000000001101011001000
+00100000001000000100010000111110
+11011000111000000000000000000010
+00100000001000000100001110110101
+01110000000010010101101100010010
+00100000001000000111100011100101
+01101111111000001100101011011000
+11000000000000001100001110110001
+00100000001000000100001110110011
+00100000010000000100001110101100
+01110000010010111000011100010100
+11011000111000000000000000000001
+00100000001000000100001110110101
+01101111111000001100101110000110
+11111001001000000111111000000000
+01100111111000001100101110000110
+00100000011000000000000000000000
+00100000001000000011001010001111
+01101111111000010100001111011011
+11000001000000000000000000000000
+01101111111000001000001010001001
+00011111111010110111111000000000
+00011111111001100111110000001100
+00100000011000010000000000000000
+01011000000000000000000000001001
+01100111111000010100001101110010
+01100111111000010100001101110100
+00100000010000000100001110101100
+01110000010010110000010100000001
+00100000011000000000000000000000
+01110000010010110000010100000000
+00100000011000000000000000000000
+01101111111000001100101011011000
+00100100011110100000000000000000
+01101111111000001100010000110111
+00011111111001100111111000100010
+00100100011000101000000000000000
+01110000010010111000011100000000
+11011000111000000000000000000000
+00100000001000000100001110110101
+01101111111000001000001011000001
+00011111111001100111110000001100
+00100100001000010100001111000100
+01101111111000001000001011000011
+01101000010010001100101110011011
+10011000010001100111110000000000
+00100000001000010100001111011010
+01101111111000001000001011000011
+01100111111000001100000101110111
+00100000001000000100001111000110
+01101111111000001100101110011011
+01100111111000001100000101110111
+00100000001000000100001111000110
+01110000010010111000011000000000
+00100000011000000000000000000000
+01000100111010110100000000011010
+00100000010000000001101100100100
+00100100011110100000000000000000
+01101111111000001100101011010010
+11000000011111111100001111100111
+01101111111000001100101110000110
+00011111111000010111111000000011
+11000001100000011000000000000000
+01101111111000001100101010111101
+00100000010110100100001100001000
+01101111111001000100101110111100
+11000010100000001100010000010001
+11000010100000000100010000010001
+11000010100000101100010000010001
+11000010100000110100010000010001
+00100000010000000011111110110000
+00100000010000000100001101100100
+00100100011101000000000000000000
+00100000010000000100001101101111
+00100000010000000100001100001011
+00100000010000000100000001011101
+01101111111001000100101110111100
+11000011000010101100001111111000
+01101111111000001100101110011100
+11000000000000001100001111111001
+00100000001000000100010000010011
+01101111111000001100101110011101
+00100000001110100100010000000011
+01101111111001000100101111011110
+01100111111001000000100101011100
+01101111111000001100101111011101
+11000000000000011100010000000101
+11000000000000010100010000001000
+01110000010010101111011100001000
+01101000010010010100101011111000
+00100000001000000100010000011000
+01101111111001000100101111100111
+00100000001000000100001111111100
+01110000010010101111011100000011
+01101000010010010100101011111010
+00100000001000000100010000011000
+01110000010010101111011100000010
+01101000010010010100101011111100
+00100000001000000100010000011000
+11011010001000000000000000000001
+01101000010010010100101011111110
+00100000010000000001111001011111
+01101111111000001100101100000000
+11100111111000001000000000000101
+00100000011000000000000000000000
+01011000000000000000000000000000
+01100111111000111100100011010100
+01110000010010101111011100000111
+01101111111000111100100011010100
+01100111111000111000100101011100
+01101000010010010100001101010111
+00100000001000000100010000011000
+01101111111000001100101011110111
+00011111111000100010001000000000
+00100000010000000001111001011111
+01101000010010001100101011110111
+00011000010000100111001000000000
+11011000110000000000100101011100
+00100000001000000111110111010100
+01110000010010101101100000000000
+01101111111000011100101011011101
+01100111111000011100001111101100
+00100000010000000100010000101000
+01011000000000000000000000000101
+11100111111000001000000000000110
+11011000110000000100101011100011
+00100000010000000100010000101111
+00100000001000000111100101011001
+11011010001000000100001111101000
+11101111111000001000000000010001
+00100000011110100000000000000000
+10011000110000001010001000000000
+11101111111000001000000000000110
+11000001000000001000000000000000
+00100000001000000100010000101001
+11011000101000000100001111110011
+11011111001000000000000000010011
+00100000010000000111110111010100
+00100000001000000001101001101010
+01011000000000000000000000001100
+01100111111000010100010001010101
+01101111111001000100101110111100
+11000011100011011000000000000000
+01011000000000000000000000001110
+01100111111000010100010001010101
+00100000011000000000000000000000
+01110000010010101011111100000000
+00100000010000000100001100001010
+00100000010000000100100001100001
+00100000001000000100010110110110
+01110000010010111001000000000000
+01110000010010111001100100000000
+00100000010000000100010000110011
+00100000010000000100010001001001
+01101111111000010100010010000000
+11000010100000111100010001010000
+11000010100000000011001000111000
+11000010100000001100010001010100
+11000010100000010100010001010111
+11000010100000011100010001010111
+00100000001000000100010110010011
+01011000000000000000000000000000
+01100111111001000100100011011101
+11100111111000100000000000000101
+01110000010010011100110100000000
+01110000010001000101010000000000
+01110000010000110010011000000000
+00100000011000000000000000000000
+00100000010000000100001111011101
+01101111111000010100010010000000
+11000010100000000011001000111000
+00100000001000000011111001011010
+11000010100000101100010001010111
+11000010100000011100010001010111
+00100000001000000100010110010011
+01101111111000010100011110001111
+11000010100001100100010110010011
+00100000010000000011001000111000
+00100000010000000100000101010000
+00100000010000000100010100011100
+01101111111000001100101110110000
+11000000000000001011111001010111
+01101111111000001100101011010101
+00100100011110100000000000000000
+00100000001000000011111001011010
+00100000011000000000000000000000
+01110000010010111001100000000100
+00100000011000000000000000000000
+01110000010001000101010000000001
+00100000010000000011001010010101
+00100000010000000011001010010001
+01011000000000000000000000000000
+01100111111000010100011110001011
+01100111111000001100011110001101
+00100000010000000100010001100010
+00100000001000000011001010001101
+01110000010010111001000100000000
+01101111111000001100010111111000
+00101111111011111111111000000000
+00100000011000001000000000000000
+01110000010010111001000100000001
+00100000011000000000000000000000
+01101111111000001100101011010010
+11000000011111111100001100111000
+01101111111000010100011110001111
+11000011100001100000000000000000
+11000011100000110000000000000000
+11000011100001011000000000000000
+01101111111001000100101110111100
+11000011100000101000000000000000
+11000010100110011100010110010011
+11000010100101111100100001011110
+00100000001000000011111001011010
+01101111111000001100101110010000
+11000001100000010000000000000000
+01110000010010111001000000000000
+00100000010000000100010000110011
+00100000010000000100010001100010
+00100000001000000011001010001101
+01101111111000001100101110010000
+11000001000000010000000000000000
+00011111111000001111111000000001
+01100111111000001100101110010000
+01110000010001000101010100010010
+00100000010000000100010001100010
+00100000001000000011001010001101
+00100000010000000101101101001111
+00100000001000000011001001011100
+01011000000000000000000000000001
+01100111111000110000000001000000
+01110000000000001110011100110011
+00100000001000000100010111001101
+01011111111111111111111111111111
+01100111111000110000000001000000
+01110000000000001110011100110011
+01110000010010101101001011111111
+00100000010000000100010111100010
+01110000010010010011111011111111
+00100000001000000100011000101110
+01000100111010111100000000011010
+00100000011101110000000000000000
+01101111111000001100010001010100
+00100000011110100000000000000000
+00100000010000000101001101010010
+00100100011110100000000000000000
+01101111111000001100101011010010
+11000000011111111100001101000110
+01101111111000001100101010111101
+00100000010110100100001100001000
+01101111111001000100101110111100
+11000010100000001100010011001110
+11000010100000000100010011001110
+11000010100000101100010011001110
+11000010100000110100010011001110
+00100000010000000011111110110000
+00100000010000000100001101100100
+00100100011101000000000000000000
+00100000010000000100001101101111
+00100000010000000100001100001011
+00100000010000000100000001011101
+01101111111000001100101110010001
+11000000000000001100010010111101
+01101111111000001100101110011001
+00100000011110100000000000000000
+01101111111001000100101110111100
+11000011000010101100010010110100
+01101111111000001100101110011100
+11000000000000001100010011010001
+11011010001000000000000000001001
+00100000010000000100111000011110
+01101111111000010100010011100001
+11100111111000010000000000000101
+01011000000000000000001010100001
+11100111111000010000000000000101
+01101111111000111100100011010100
+11100111111000111000000000000101
+00100000011000000000000000000000
+01101111111000001100100011010100
+01100111111000001100101110010010
+01101111111000001100100011010101
+11100111111000001000000000000101
+01101111111000001100100011010111
+11100111111000001000000000000101
+01101111111000010100100011011001
+11100111111000010000000000000101
+11011010001000000000000000000111
+00100000010000000100111000011110
+01101111111000010100010011100001
+11100111111000010000000000000101
+01011000000000000000001010100001
+11100111111000010000000000000101
+01101111111000101100101110010010
+11100111111000101000000000000101
+00100000011000000000000000000000
+01011000000000000000000000000000
+01100111111000111100100011010100
+00100000001000000100010010110100
+01101111111000001100101110011101
+00100000001110100100010011110011
+01101111111001000100101111011110
+01100111111001000000100101011100
+01101111111000001100101111011101
+11000000000000011100010011100001
+11000000000000010100010011101010
+11011010001000000000000000001010
+00100000010000000100111000011110
+01101111111000010100010011100001
+11100111111000010000000000000101
+01011000000000000000000110100001
+11100111111000010000000000000101
+01101111111001000000100101011100
+11100111111001000000000000000101
+00100000011000000000000000000000
+11011010001000000000000000000100
+00100000010000000100111000011110
+01101111111000010100010011100001
+11100111111000010000000000000101
+01011000000000000000001110100001
+11100111111000010000000000000101
+01101111111000010000100101011100
+11100111111000010000000000000101
+00100000011000000000000000000000
+11011010001000000000000000000011
+00100000010000000100111000011110
+01101111111000010100010011100001
+11100111111000010000000000000101
+01011000000000000000010010100001
+11100111111000010000000000000101
+01101111111000001000100101011100
+11100111111000001000000000000101
+00100000011000000000000000000000
+01101111111001000100101111100111
+00100000001000000100010011010100
+01000100111011000100000000011011
+00100000010000000011111011011100
+00100000010000000100100110100011
+00100000010000000010001011100001
+00100000010000000010010101011111
+00100000010000000100100000001011
+00100000010000000100100100001011
+00100000010000000100100100111100
+00100000010000000100000010111100
+00100000010000000100010100001100
+00100000010000000100010100011100
+00100000010000000100010100111111
+00100000010000000100010101000100
+00100000010000000100010101010010
+00100000010000000100010101011111
+00100000010000000100010101010101
+00100000010000000100010101101010
+00100000010000000100010101101101
+00100000010000000100010101110010
+00100000010000000100010101110101
+00100000010000000100000001100010
+00100000010000000100010110000111
+00100000001000000100010101111100
+01101111111001000100101110111100
+11000010100110111100010100001111
+00100000011000000000000000000000
+01101111111000001100101110101111
+11000001100000001000000000000000
+11011010011000000100101110101100
+11011010010000000100010100010100
+00100000001000000011000111111100
+01101111111000001100100100111101
+11000001000000000000000000000000
+01101111111001000100101110111100
+11000011100000110000000000000000
+11011000111000000000000000000110
+00100000010000000100011100101110
+00100000010000000011000111100110
+00100000001000000100010110001110
+01101111111000001100100100111101
+11000000000000000100010100100010
+01101111111001000100101110111100
+11000100000110101000000000000000
+01101000010010001100101111011011
+00100000001000000100010100100101
+01101111111001000100101110111100
+11000100000110010000000000000000
+01101000010010001100101111011100
+01100000010010001100101110101110
+00100000010000000100000101010101
+00011111111000010111111000000111
+01101000010010001100101110101110
+10011000010001100111110000000000
+00100000001000101100010100110001
+01101111111000001100011110010010
+01100111111000001100101110110001
+01101111111000001100101110110000
+11000001000000000000000000000000
+01110000010010111011000000000000
+00100000011000000000000000000000
+00100000010000000100010100110110
+01101111111000001100101110110000
+11000001000000001000000000000000
+01110000010010111011000000000001
+00100000001000000111100110011100
+11011010010000000100100001100110
+11011010011000000100101110110001
+01101111111000001100100100111101
+11000000000000000011000111111100
+11011010010000000100010100010100
+00100000010000000011000111111100
+01101111111000001100101110110001
+11000000000000001100011100100000
+00100000011000000000000000000000
+11011010011000000100101011010011
+11011010010000000100010101000010
+00100000001000000011001000000011
+00100000010000000100010110110110
+00100000001000000011111001011010
+11011010011000000100101110001000
+11011010010000000100010101001010
+00100000010000000011001000000011
+01101111111000001100101110001000
+11000000000000001011001001110101
+00100000011000000000000000000000
+01101111111000001100101011010010
+11000000011111111100001100111000
+01101111111000001100101011000001
+00100100001110100100011101001100
+01101111111001000100101110111100
+11000010100110011100010110010011
+11000010100101111100100001011110
+00100000001000000011111001011010
+11011010011000000100101110000111
+11011010010000000100001111001110
+00100000001000000011000111111100
+01101111111000001100101011010111
+00100000011110100000000000000000
+11011010011000000100101011011001
+11011010010000000100010101011010
+00100000001000000011000111111100
+01101111111000001100101011011000
+00100100011110100000000000000000
+01101111111000001100001110011011
+11000001100000000000000000000000
+00100000001000000010000000111101
+11011010011000000100101100000011
+11011010010000000100010101100010
+00100000001000000011000111111100
+01101111111000010100101100000001
+01100111111000010100101100000011
+00100000001000000100010000001011
+01101111111000001100101110000110
+11000011100000010000000000000000
+00100000010000000100001110101100
+11011000111000000000000000000000
+00100000001000000100001110110101
+11011010011000000100011110001101
+11011010010000000100010001100100
+00100000001000000011000111111100
+11011010011000000100101110011000
+11011010010000000100010101110000
+00100000001000000011000111111100
+01110000010010111001100100000001
+00100000011000000000000000000000
+11011010011000000100101011010101
+11011010010000000011111001011010
+00100000001000000011000111111100
+11011010011000000100101011000000
+11011010010000000100010101111000
+00100000001000000011000111111100
+01101111111000001100101110011011
+01100111111000001100000101110111
+01110000010010101011111100000001
+00100000011000000000000000000000
+01101111111000001100100100101111
+11000011100000111000000000000000
+11011010011000000100101011000011
+11011010010000000100010110000001
+00100000001000000011001000000011
+01101111111000001100100100111101
+11000000000000000100100000100000
+00100000001000000100001101011011
+01101111111000010100101111001111
+01100111111000010100101011000011
+00100000011000000000000000000000
+11011010011000000100100111000100
+11011010010000000100010110001010
+00100000001000000011000111111100
+00100000010000000100011000110001
+01101111111000001100101011010110
+00100100001110100100011011111110
+00100000011000000000000000000000
+00101000000011111111111000100110
+00100000010000001100100000110001
+00100000010000000100001101011011
+00100000010000000100001111011101
+00100000001000000100010110010011
+01000100111011001100000000011011
+00100000010000000100001101010100
+01101111111000010100011110001111
+11000010100001011100010110011111
+01101111111001000100101110111100
+11000011000001000100010110011111
+01101000010010010100100110011100
+00011000010000001000010000000001
+01100000010010010100100110011100
+01100000010010010100001101111011
+00011000000010100111111000000000
+01100111111000001100001101111010
+01101111111000011100101011011010
+01100111111000011100001101111101
+00100000010000000011001010010111
+01101111111000010100011110010100
+01100111111000010100101011010011
+01110000000000001011110000000110
+01011000000000000000000000000000
+01100111111000010100101011000011
+01100111111000001100101110001000
+01100111111000001100101011010101
+01100111111000001100101110111000
+01100111111000001100101010111101
+11011000111000000000000000000010
+00100000010000000100011100101110
+00100000010000000100011100100010
+01101111111000001100101111000100
+00101111111011111111111000000001
+00100000010000001100010000011111
+01101111111000001100101111000100
+00101111111011111111111000000000
+00100000010000001111100100101111
+00100000010000000100100111011011
+00100000001000000100100100011001
+01000100111011010100000000011011
+11011000111000000000000000000110
+00100000010000000100011100110010
+01110000010010101101010100000000
+01101111111000001100101111000100
+00101111111011111111111000000001
+00100000010000001100010111000001
+01101111111000001100101111000100
+00101111111011111111111000000000
+00100000010000001100010111000011
+00100000001000000100100101011111
+01110000010010111000100000000000
+00100000001000000111100101011111
+01011000000000000000000000000000
+01100111111000010100101011010011
+00100000001000000111100100110100
+01000100111011011100000000011011
+01101111111001000100101110111100
+11000100000000010000000000000000
+00100000010000000100100100010011
+11011000111000000000000000000010
+00100000010000000100011100110010
+00100000010000000100010111001111
+00100000010000000100010111100010
+00100000001000000100011000101110
+01101111111000001000000011100111
+11000000000110100100010111010011
+11000000000110011100010111010110
+00100000011000000000000000000000
+01100111111000001100101110001001
+01101111111000110000001010010111
+00100000001000000100010111011000
+01100111111000001100101110001001
+01101111111000110000000001000000
+01100111111000110100101110001010
+01101111111000111100101110001001
+11011000110000000100100100111110
+11011111001000000000000000000011
+11101000010000111000000000000110
+10011000010001100111110000000000
+00100000001000101100010111110111
+00011000110000001000110000010110
+11000010000000000100010111011100
+00100000011000000000000000000000
+11011010001000000100100100111110
+01101111111000001100100100111101
+00011111111000001111111111111111
+00011111111011111111111000011101
+10011010001000001010001000000000
+01101111111000001000000011100111
+11100111111000001000000000010001
+11000000000110100100010111101100
+11000000000110011100010111110011
+00100000011000000000000000000000
+01101111111000110000001010010111
+11100111111000110000000000000101
+11011000110000000100001100010110
+00100000010000000111110101111111
+01101111111000110100001101111010
+11100111111000110000000000000101
+00100000011000000000000000000000
+01101111111000110000000001000000
+11100111111000110000000000000101
+11011000110000000100000111001011
+00100000001000000111110101111111
+00011000110000001000110111111010
+00011000110000100000101000000000
+01101000010010110100101110001010
+00011000010000001000010000000011
+11100000010000110000000000000101
+00100000011000000000000000000000
+11011010001000000100100100111110
+01101111111000001100100100111101
+11000001000000000000000000000000
+00011111111000001111111111111111
+00011111111011111111111000011101
+10011010001000001010001000000000
+11101111111000001000000000010001
+01100111111000001100010010000100
+11000000000110011100011000001000
+11000000000110100100011000001101
+00100000011000000000000000000000
+11101111111000110000000000000110
+01100111111000110100000111011101
+11011000101000000100000111001011
+00100000010000000111110101111111
+00100000001000000110000011010000
+11101111111000110000000000000110
+01100111111000110100000111011101
+11011000101000000100001100010110
+00100000010000000111110101111111
+11101111111000110000000000000110
+01100111111000110100001101111010
+00100000011000000000000000000000
+01101111111000010100100110010101
+11011000010000001010101001010101
+10011000010001100111110000000000
+00100000001000101100011000100010
+01100000010010010100100110010101
+00100000010000000100011000100111
+01101111111000001100101011000101
+01100111111000001100100100111101
+01101111111000001100100100101011
+01100111111000001100100110010111
+01101111111000100100100010010001
+01100111111000100100100010010101
+01100111111000100100100000111111
+00100000011000000000000000000000
+00100000010000000100010111111101
+01101111111000100100100110011000
+01100111111000100100100010010101
+01100111111000100100100000111111
+00100000011000000000000000000000
+01101111111000110100001101111010
+01100111111000110100100101010101
+00011111111000001111111100000000
+01100111111000110100100101110010
+00011111111000001111111100000000
+01100111111000110100100110001111
+00100000011000000000000000000000
+01101111111000001100100111000101
+01100111111000001100100111000100
+00100000011000000000000000000000
+01000100111011100100000000011011
+01101111111001000100101110111100
+11000010100010011100011001111111
+11000010100010010100011001000011
+00100000011000000000000000000000
+00100000010000000101110110101111
+00100000010000000100011001001010
+00100000010000000100011000111101
+00100000010000000101110111010010
+00100000010000000100011001010001
+00100000010000000100011000010100
+00100000001000000011111110100101
+01011000000000000100100110111101
+11011000010000000100100100111101
+10011000010001100000010000000000
+01101111111000011100100110111101
+11011010001000000100100100111101
+00100000011000000000000000000000
+00100000010000000101110110101111
+00100000010000000100011001001010
+00100000010000000100011001011111
+00100000010000000100011000111101
+00100000010000000100011001100010
+00100000010000000100011001010001
+00100000001000000011111110100101
+01110000000010010110010010101011
+00100000010000000110001000111111
+00100000010000000101110110110100
+11011010001000000100100111000000
+01101000010010001000100101100100
+00100000010000000100011001010011
+00100000001000000110001000111111
+01110000000010010110010010111001
+00100000001000000100011001001011
+11100000010000001000000000010001
+00011111111100010000010000000000
+11100000010000001000000000000101
+00011111111011001000010000000000
+11100000010000001000000000000101
+11100111111000001000000000000101
+00011010001000100111111000000000
+01100111111100010000000010001010
+01011000000000000000000000000000
+01100111111100010000000010001110
+01110000100000000000011000000010
+00100000001000000101110101101110
+01101111111000011100100110111101
+01100111111000011100010010100111
+00100000001000000101110110001010
+00011111111000100010011000000000
+00011010001000100111111000000000
+00011111111000001111111111111100
+00011111111000100010010000000000
+11101111111000100000000000010010
+01100111111000100100100111000000
+00011010011000100111111000000000
+00100000010000000101110111000001
+01101111111000100100100111000000
+11100111111000100000000000010010
+00100000011000000000000000000000
+01101111111001000100101110111100
+11000100000010010000000000000000
+00100000010000000100011001010001
+00100000010000000101101101100110
+01101000010010001100010010110111
+00100000010000000110000100001001
+01101000010010001100010010111100
+00100000001000000011111110010100
+00100000010000000101111001000010
+01101111111001000100101110111100
+00101111111011111111111000001001
+00100100010000001101111001011100
+00100000010000000100011001111011
+00100000001000000100011000010100
+11011000010000000000000010000000
+11011010001000000100100100111101
+11011010010000000000000000000000
+00100000001000000101111001111001
+11011000010000000000000010000000
+11011010001000000100100100111101
+11011010010000000000000000000000
+00100000001000000101111001101011
+11011000010000000000000000000001
+11011010001000000100100110010111
+11011010010000000000000001011010
+00100000001000000101111001101011
+11011000010000000000000000000001
+11011010001000000100100110010111
+11011010010000000000000001011010
+00100000001000000101111001111001
+01000100111011101100000000011011
+00100000010000000100100111011101
+00100000010000000111100110100001
+00100000010000000100000001100111
+00100000010000000100011010010011
+00100000010000000100011011011110
+00100000010000000100011100010100
+00100000001000000011111111001000
+01101111111001000100101110111100
+11000010100101001100011010011000
+11000010100110111100011010011000
+00100000011000000000000000000000
+01110000010010111010010100000011
+01101111111000001100100100011111
+11000001011111111000000000000000
+11011010001000000000000000000000
+01110000010010111010011100000110
+01101000010010001100100100011111
+00100000010000000100011010101000
+01100111111000001100101110100101
+01101111111000001100100100010100
+11000000011111111100011010100101
+00100000010000000100000110101000
+00011010001000100111111000000000
+11000010100000110100011011001001
+00100000001000000100011010111110
+01101000010010001100100100011111
+00100000010000000011111110010110
+00100000001000000100011010100010
+01101111111001000100101110111100
+11000010100101101100011010110100
+01101111111000001100101110100101
+00011111111000100010011000000000
+01101111111000001100100100010100
+11000000011111111100000111010101
+01101111111000001100101110101011
+00100100001110100100011010110001
+00100000001000000100011010110110
+01110000010010111010111100000000
+01110000010010111010010100000000
+00100000011000000000000000000000
+01101111111000001100101110100101
+00100000001000000100000111000111
+00100000010000000110000011111101
+01101000010010001100100100010100
+00100000001000001100011010110100
+01101000010010001100100100010100
+00100000010000000110000100001101
+01101000010010001100100100011111
+01101111111000001100101110100101
+00100000001000000100000111000111
+01101111111000001100101110101111
+11000001000000000000000000000000
+01110000010010111010111100000000
+01101111111001000100101110111100
+11000011100110100000000000000000
+01101111111000001100101110101100
+00011111111001100111110000010100
+00100100010000010100011011110011
+01101111111000001100011110010010
+01100111111000001100101110101100
+00100000011000000000000000000000
+00100000010000000100011011010101
+00100000011101000000000000000000
+01101111111000001100101110101111
+11000001000000001000000000000000
+01110000010010111010111100000001
+01101111111001000100101110111100
+11000010100110100100010100010100
+01101111111000001100101110001000
+00100000011110100000000000000000
+01101111111000001100100100000110
+01100111111000001100101110001000
+00100000011000000000000000000000
+01111000010101000111110000000000
+01101111111001000100101110111100
+11000011100101101000000000000000
+01101111111000001100101110011111
+00100000011110100000000000000000
+01101111111000001100101110100000
+00100000011110100000000000000000
+01111000001101000111110000000000
+00100000011000000000000000000000
+01101111111001000100101110111100
+11000010100101010100011011100010
+11000010100101011011111011011100
+00100000011000000000000000000000
+01101000010010001100100100100010
+00100000010000000011111110010110
+01101000010010001100100100100010
+00100000010000000110000011111101
+00100000001000001100011011101011
+01101111111000001100100100111101
+11000001000000001000000000000000
+01110000010010010011110100000001
+00100000001000000100001101010110
+01101111111001000100101110111100
+11000011000101011100011011101111
+01101111111000110100100011110011
+01100111111000110100100011100111
+01101111111000001100100100111101
+11000001000000000000000000000000
+01110000010010010011110100000000
+00100000001000000100100000110001
+01000100111011110100000000011011
+01101111111000001100101111000101
+11000001000000001000000000000000
+00100000010000000100011100000000
+01100000010010001100100100111101
+01110000010000011100101000000000
+00100000010000000100011100011000
+00100000010000000100001101010110
+00100000010000000100011100011010
+01110000010010101101011000000001
+00100000001000000100011000101110
+00100000010000000100011100011000
+00100000001000000101111000101001
+01101000010010001100100100111101
+00011000010000001000010000000001
+01101111111001000100101110111100
+11000010100010001100011100000111
+00011000010001100111110000000010
+00100100010000010100011100001110
+00100000011000000000000000000000
+01101111111000001100101111000101
+00011111111000001111111111111111
+10011000010001100111110000000000
+00100100010000010100011100001100
+00100000011000000000000000000000
+11011000010000000000000000000000
+00100000011000000000000000000000
+11011000010000000000000000000001
+00100000011000000000000000000000
+11011000010000000000000000000001
+11011010001000000100100100111101
+11011010010000000000000000000000
+00100000001000000101111001101011
+01101111111001000100101110111100
+11000100000110100000000000000000
+00100000010000000100011010011000
+00100000011000000000000000000000
+11011000111000000000000000000000
+00100000001000000100011100101110
+11011000111000000000000000000000
+00100000001000000100011100110010
+11011000111000000000000000000011
+00100000001000000100011100101110
+11011000111000000000000000000011
+00100000001000000100011100110010
+11011000111000000000000000000101
+00100000001000000100011100101110
+11011000111000000000000000000101
+00100000001000000100011100110010
+11011000111000000000000000010100
+00100000001000000100011100101110
+11011000111000000000000000011000
+00100000001000000100011100101110
+11011000111000000000000000010110
+00100000001000000100011100101110
+11011000111000000000000000001100
+00100000001000000100011100101110
+11011000111000000000000000011100
+00100000001000000100011100101110
+01101111111001000100101110111100
+11111001001000000111111000000000
+01100111111001000100101110111100
+00100000011000000000000000000000
+01101111111001000100101110111100
+11111001001111111111111000000000
+01100111111001000100101110111100
+00100000011000000000000000000000
+11011000111000000000000000010101
+00100000010000000100011100101110
+01011000000000000000000000000000
+01100111111001000100101111011101
+01100111111001000100101111100110
+01101111111000001100100100001110
+00011111111000010111111011000000
+11000000001000000100011101000011
+11000000010000000100011101000101
+11000000011000000100011101001010
+01011000000001110000000000001000
+01100111111001000100101111011110
+00100000011000000000000000000000
+01011000000001000000000000000101
+00100000001000000100011101000001
+01011000000000100010001100000011
+01100111111001000100101111011101
+01011000000000000000000000000011
+01100111111001000100101111100110
+00100000011000000000000000000000
+01011000000000001100110100000011
+00100000001000000100011101000110
+01000100111011111100000000011011
+01101111111000001100101011000001
+00011111111000001111111111111111
+01100111111000001100101011000001
+01101000010010001100100100111101
+00011000010001100111110000000001
+00100100010000101100011100000000
+01100000010010001100100100111101
+01110000010000011100101000000000
+00100000010000000100011100010000
+00100000010000000100010111100010
+00100000001000000011111000011100
+01101111111001000100101110111100
+11000100000111000000000000000000
+01101111111000100100100011010101
+00100000011110100000000000000000
+00100000010000000100011111111011
+01011000000000000000000000000011
+00100000010000000100011111110001
+00100000010110100100011111101101
+00100100010110100100011111101111
+01011000000000000000000000000010
+00100000010000000100011111110110
+00100000010110100100011111101101
+01101111111000001100100111001110
+11000000000000001100011101101011
+01101111111001000100101110111100
+11000100000111000000000000000000
+11011111001000000000000000000101
+11011000101000000100100111001110
+00100000001000000111110110011011
+00100000010000000100011101111111
+01101111111000010100100111001111
+01100111111000010000100111111000
+01101111111000010100100011010101
+01100111111000010000100111111010
+00100000010000000100011110110111
+01101111111000010000100111111000
+01100111111000010100100111001111
+01101111111000010000100111111010
+01100111111000010100100011010101
+01101111111000010100100111010001
+01100111111000010000100111111000
+01101111111000010100100011010111
+01100111111000010000100111111010
+00100000010000000100011110111111
+01101111111000010000100111111000
+01100111111000010100100111010001
+01101111111000010000100111111010
+01100111111000010100100011010111
+00100000011000000000000000000000
+01101111111001000100101110111100
+11000100000111001000000000000000
+01101111111000010100100111001111
+01100111111000010000100111111111
+00100000010000000100011110010010
+01100111111000010100100111001111
+01101111111000010100100011010101
+01100111111000010000100111111111
+00100000010000000100011110100000
+01100111111000010100100011010101
+01101111111000010100100111010001
+01100111111000010000100111111111
+00100000010000000100011110010010
+01100111111000010100100111010001
+01101111111000010100100011010111
+01100111111000010000100111111111
+00100000010000000100011110100000
+01100111111000010100100011010111
+00100000011000000000000000000000
+01101111111000001000101000000000
+00100000001110100100011110010101
+00100000001000000100011110011010
+01101111111000001000100111111111
+00100000010000000100011110101101
+01100111111000001000100111111111
+01101111111000010000100111111111
+00100000011000000000000000000000
+01101111111000001000100111111111
+00100000010000000100011111101001
+00100000010000000100011110101101
+00100000010110100111111011001111
+00100000010000000100011111100101
+00100000001000000100011110011000
+01101111111000001000101000000000
+00100000001110100100011110100011
+00100000001000000100011110100111
+01101111111000001000100111111111
+00100000010000000100011110110010
+01100111111000001000100111111111
+00100000001000000100011110011000
+01101111111000001000100111111111
+00100000010000000100011111101001
+00100000010000000100011110110010
+00100000010110100111111011001111
+00100000010000000100011111100101
+00100000001000000100011110011000
+00011111111011111111111000000100
+00011111111001101111110000000101
+00100000010000000111111001100100
+00011000000001111111111000000000
+00100000011000000000000000000000
+00011111111011111111111000001100
+00011111111001101111110000001010
+00100000010000000111111001100100
+00011000000001111111111000000000
+00100000011000000000000000000000
+01101111111000010000100111111000
+01101000010010010000100111111010
+10011000010000001111111000000000
+01101000010010001100100111010011
+10011000010000001111111000000000
+00011111111000010000010000000001
+01100000010010001100100111010011
+00100000001000000100011111000111
+01101111111000010000100111111000
+01101000010010010000100111111010
+10011000010000001111111000000000
+01101000010010001100100111010100
+10011000010000001111111000000000
+00011111111000010000010000000001
+01100000010010001100100111010100
+00100000001000000100011111000111
+01100111111000011000100111111100
+00101111111011111111111000010000
+00100000001000001100011111010001
+01101111111000001000100111111101
+11000000011111111100011111011000
+01101111111000001000100111111100
+00011111111000110111111000000000
+01100111111000010000100111111000
+01100111111000010000100111111010
+00100000011000000000000000000000
+01101111111000001000100111111101
+11000000000000000100011111010101
+01101111111000011000100111111100
+00100000001000000100011111001101
+01110000000010011111111000000000
+01101111111000001000100111111100
+00100000001000000100011111001101
+01101111111000001000100111111100
+00100000010000000100011111100011
+01100111111000001000100111111000
+01100111111000001000100111111010
+00100000001110100100011111100001
+01011000000000000000000011111111
+01100111111000001000100111111001
+01100111111000001000100111111011
+00100000011000000000000000000000
+01011000000000000000000000000000
+00100000001000000100011111011110
+00100000010000000100011111101001
+00011111111000110111111000000000
+00100000010000000100011111101010
+00011111111001100111111000000000
+01100111111000001000100111111111
+00100000011000000000000000000000
+00011111111001100111111000000000
+01100111111000001000100101110000
+01101111111000001000100101110000
+00100000011000000000000000000000
+01110000010010011100111000000000
+00100000011000000000000000000000
+01110000010010011100111000000001
+00100000011000000000000000000000
+10011010001001100111110000000000
+00100100001000010111111011001111
+10011010010001100111110000000000
+00100100001000010111111011001111
+00100000001000000111111011010001
+10011010001001100111110000000000
+00100100011000010000000000000000
+10011010010001100111110000000000
+00100100011000010000000000000000
+00100000001000000111111011010001
+01101111111000010100100011010101
+00100000010000000100100000000010
+00011111111000100010001000000000
+01101111111000010100100011010111
+00100000010000000100100000000010
+00011111111000100010010000000000
+00100000011000000000000000000000
+01100111111000010000100111111010
+01101111111000001000100111111011
+11000000011111111100100000001000
+01101111111000001000100111111010
+00011111111000010111111011111111
+00100000011000000000000000000000
+01101111111000010000100111111010
+00011111111001100111111000000000
+00100000001000000100100000000110
+11011010011000000100100011001000
+11011010010000000100100000001110
+00100000001000000011000111111100
+01101111111000100100100010111100
+01100111111000100100100001011111
+01110000010010101011111100000001
+00100000011000000000000000000000
+01101111111000001100101111110011
+11000000000000000100100000011010
+11000000000000001100100000011100
+11000000000000010100100000010111
+11000000000000011100100000011110
+01011000000011101010011000000000
+01100111111000100100100010111100
+00100000011000000000000000000000
+01011000000001011110011101000000
+00100000001000000100100000011000
+01011000000010010010011111000000
+00100000001000000100100000011000
+01011000000100100100111110000000
+00100000001000000100100000011000
+01110000010010001010100100000000
+00100000010000000010011001011001
+01011111111111111111111111111111
+01100111111000100100100001011111
+01011000000000000000000000000000
+01100111111000111100100011010100
+01110000010010111111001000000001
+00100000010000000100001001111100
+00100000010000000011111001101010
+00100000001000000010011010111100
+01101111111000001100101111110010
+00100100010110100100000111101010
+01110000010010111111001000000000
+00100000001000000010011001011000
+01101111111000001100101111110010
+00100100001110100010011000110011
+00100000001000000010011000101111
+01111001001111111000000000100110
+01110000010010001010010100000000
+11011000111000000000000000000001
+00100000001000000100011100110010
+01101111111001000100101110111100
+11000011000010001100100001000010
+00100000010000000011111000101000
+00100000001101000100100001000101
+01101111111001000100101110111100
+11000010100110000100100001001011
+11000011000110001100100001001011
+00100000010000000100000101010000
+00011111111000010111111000000111
+01101000010010001100101111011100
+10011000010001100111110000000000
+00100000001000101100100001100110
+00100000001000000100100001001011
+01101111111000001100101011000001
+00100100001110100100011101001100
+00100000011000000000000000000000
+01101111111000010100100010001001
+01100111111000010100100010001011
+01110000010010001000111100000011
+00100000001000000010010101100010
+00100000010000000011111000101000
+00100000001101000100100001010101
+01110000010010010011110100000000
+01101111111000010100101111001011
+01100111111000010100100010001011
+01110000010010001000111100000010
+00100000001000000010010101100010
+00100000010000000100100100011001
+01101111111000010100100010000101
+01100111111000010100100010001011
+01110000010010001000111100000100
+00100000001000000010010101100010
+01101111111000001100100100111101
+11000000000000000100100001000101
+00100000010000000100001101010100
+00100000001000000100100001011001
+00100000010000000100100000110001
+00100000010000000100100101011011
+01110000010010010011110100000001
+00100000010000000100010111111101
+00100000001000000011111000011100
+00100000010000000011111000101000
+00100000001101000011111001011010
+00100000001000000100010110010011
+00100000010000000011111000101000
+00100000011101000000000000000000
+01101111111001000100101110111100
+11000010100101111100011000101110
+00100000011000000000000000000000
+11011000111000000000000000000001
+00100000010000000100011100101110
+01011000000000000000000000000000
+01100111111000010100100010001011
+00100000010000000100010110110110
+00100000010000000100100111011011
+00100000010000000100100100011001
+01110000010010000011100100000001
+01101111111001000100101110111100
+11000011000010101010001011100100
+01110000010010000011100100000010
+00100000001000000010001011100100
+01101111111000001100100010101001
+00100100001110100100100000100000
+01101111111000001100100010001111
+11000000000000010100100001111111
+11000000000000100100100010000011
+11000000000000011100100010001000
+00100000010000000100100101011111
+00100000010000000100100000110001
+01101111111000001100101011000001
+00100100001110100100011101001100
+01101111111000001100100100111101
+11000000000000000011111001011010
+00100000011000000000000000000000
+01101111111001000100101110111100
+11000010100101111100100001010000
+11000010100110000100100001010000
+00100000001000000100100001000101
+01101111111001000100101110111100
+11000011000101111100100001111000
+01101111111000001100101111000101
+11000000000000001100100001111000
+00100000001000000100100001011001
+01101111111001000100101110111100
+11000011000101111100100001111000
+11000010100010011100100001111000
+11000010100010010100100001111000
+00100000001000000100100001010001
+00100000010000000100001100001010
+01110000010010101011111100000000
+01110000010010001010010100000000
+01110000010010001000111100000000
+01101111111000100100100010010101
+01101111111000100100100010010001
+10011000010001100111110000000000
+00100000011000101000000000000000
+00100000001000000100100001100001
+11011000111000000000000000000001
+00100000010000000100011100110010
+00100000010000000100100100010011
+01011000000000000000000000000000
+01100111111000010100100010000111
+01100111111000010100100010001011
+01100111111000001100100010100101
+01100111111000001100100111001101
+01100111111000001100100010001111
+00100000010000000100001100001010
+00100000010000000100001100011011
+01101111111000100100100000111111
+01100111111000100100100010010101
+01100111111000100100100110011000
+00100000001000000100011000101110
+11000110100100110000000000000000
+00100000010000000011111110110000
+00100100011101000000000000000000
+01101111111001000100101110111100
+11000011000010101100100010101100
+01101111111000001100101110011100
+00100100001110100100100011000001
+00100000010000000100001100001011
+01101111111000001100100000111001
+11000010100000001100100010111011
+01101000010010001100011111001010
+01101111111000001100100011010100
+10011000010000011111111000000000
+01100111111000001100100011010100
+01101000010010001100011111001111
+01101111111000001100100011011001
+10011000010000001111111000000000
+01100111111000001100100011011001
+01101000010010001100011111010000
+01101111111000001100100011011010
+10011000010000001111111000000000
+01100111111000001100100011011010
+01110000010010000011100100000001
+11011010001000000000000000000111
+11011010010000000100100011010100
+01101111111000010100100011011001
+00100000011110100000000000000000
+00100000001000000010011011101000
+01110000010010000011100100000010
+11011010001000000000000000001001
+01101111111000001100101110011101
+00100100001110100100100011000111
+11011010010000000100101111100110
+00100000011000000000000000000000
+11011010010000000100101111011101
+00100000011000000000000000000000
+01011000000000000000000000000000
+01100111111000011100101110110101
+00100000011000000000000000000000
+01101111111001000100101110111100
+11000100000010110000000000000000
+01101111111000001100101010111111
+00100000011110100000000000000000
+01101111111000001100100010101011
+00100000011110100000000000000000
+01101111111000001100101110110010
+00011111111000001111111000000001
+00011111111000010111111000000011
+01100111111000001100101110110010
+00100100011110100000000000000000
+01110000010010111011001100000000
+01101111111000001100101110110011
+00011111111000001111111000000001
+01100111111000001100101110110011
+00011111111001100111110000001000
+00100100001000010100100011100011
+00100000010000000010010110100011
+00100000010000000010011001100010
+00100100001011000100100011101001
+00100100001101111100100011101001
+00100000010000000100100011111011
+00100000010000000100100011110010
+00100000010000000010010110100000
+01101111111000001100101110110100
+00011111111000001111111000000001
+01100111111000001100101110110100
+11000000000010000100100011101011
+00100000011000000000000000000000
+00100000010000000010001010000001
+00100000001000000100100011011000
+01110000010010111011010000000000
+01101111111000001100101110110101
+11000011100000000000000000000000
+01111001001000000111111000000000
+01100111111000001100101110110101
+01101111111000010100101111001101
+00100000001000000100100000100000
+01101111111000001100100010101011
+00100000001110100100100011001001
+01110000010010111011010000000000
+01101111111000001100101110110101
+11000100000000000000000000000000
+01111001001111111111111000000000
+01100111111000001100101110110101
+00100000010000000100010110000100
+00100000001000000100000111101010
+00100000010000000010011001111001
+01101111111000001100011110101000
+00101111111000011111000000001000
+00100100011000001000000000000000
+01101111111000001100011110101001
+11000000011111111100100000100000
+00100000011000000000000000000000
+01101111111000001100100100111101
+11000000100000000001010001101000
+01101111111000001100100001111010
+00100000011110100000000000000000
+01110000100000000100001000000010
+01101111111100001000000100111000
+00011111111000010111111011111100
+01100111111100001000000001001100
+00100000001000000001010101001100
+01101111111001000100101110111100
+11000100000100000000000000000000
+01101111111000001100101110111000
+00100000011110100000000000000000
+00011111111000001111111111111111
+01100111111000001100101110111000
+00100000001110100100100101011111
+00100000001000000100100101101101
+01101111111001000100101110111100
+11000100000100000000000000000000
+00100000010000000100100111011011
+01101111111000001100101111010001
+01100111111000001100101110111000
+00100000011000000000000000000000
+01110000010010111011100000000000
+01101111111000010100101111010101
+01100111111000010100100100110101
+01100111111000010100100100110111
+01101111111000001100100100111101
+11000000000000000100100100100010
+11000000000000001100100100100100
+11000000000000010100100100100110
+00100000011000000000000000000000
+01101111111000001100100100011001
+00100000001000000100100100100111
+01101111111000001100100100100110
+00100000001000000100100100100111
+01101111111000001100100100100111
+01100111111000001000100101100100
+00100000010000000100100101011111
+01101111111000001000100101100100
+01100111111000001100100100110100
+11011010001000000000000000000000
+01110000010010010011001000000001
+00100000001000000111100001110001
+01101111111000001100100100101000
+11000001011111111000000000000000
+01101111111000010100101011010011
+00100100011110100000000000000000
+01101111111000010100100010000111
+00100100011110100000000000000000
+01101111111000010100100010001011
+00100100011110100000000000000000
+01101111111000001100101110111000
+00100100011110100000000000000000
+01101111111000001100101111010010
+00100000001110100100100100111111
+01100111111000001100101110111001
+00100000011000000000000000000000
+11011010011000000100101110111001
+11011010010000000100100100111111
+00100000001000000011000111111100
+01101111111000001100100100101000
+01100111111000001100100100110100
+01101111111000010100101111010011
+01100111111000010100100100110101
+01100111111000010100100100110111
+11011010001000000000000000000000
+01101000010010001100100110010111
+00011000010000001000010000000001
+01101111111001000100101110111100
+11000011000011100100100101001100
+00011000010000001000010000000001
+00011000010001100111110000000100
+00100100010000010100100101001111
+01100000010010001100100100110011
+01110000010010010011001000000001
+00100000011000000000000000000000
+11011000010000000000000000000001
+00100000011000000000000000000000
+01111000010101000111110000000000
+01101111111000001100100100101000
+01101000010010001100100100110100
+10011000010001100111110000000000
+00100100011000101000000000000000
+01101111111000001100100100110011
+00100000011110100000000000000000
+01110000010010001111110100000000
+01111000001101000111110000000000
+00100000011000000000000000000000
+00100000010000000100100101101011
+00100000010000000100100101100100
+00100000010000000100100101100111
+00100000001000000100100101101001
+01101111111000001100100100111101
+11000000000000000100100101100100
+11000000000000001100100101100111
+11000000000000010100100101101001
+00100000011000000000000000000000
+01110000010010111011101100000000
+01101000010010001100100100011001
+00100000001000000100100101111000
+01101000010010001100100100100110
+00100000001000000100100101111000
+01101000010010001100100100100111
+00100000001000000100100101111000
+01101000010010001100100100101000
+00100000001000000100100101111000
+01101111111000001100100100111101
+11000000000000000100100101110010
+11000000000000001100100101110100
+11000000000000010100100101110110
+00100000011000000000000000000000
+01101000010010001100100100011001
+00100000001000000100100101111100
+01101000010010001100100100100110
+00100000001000000100100101111100
+01101000010010001100100100100111
+00100000001000000100100101111100
+01000100111100000100000000011100
+01100000010010001100100100110100
+11011010001000000000000000000000
+00100000001000000111100001101100
+01000100111100001100000000011100
+01100000010010001100100100110100
+11011010001000000000000000000000
+00100000001000000111100001100111
+01101111111000001100100100011001
+10011000010001100111110000000000
+00100000010000101100100110011111
+01101111111001000100101110111100
+11000011000100100110000100001001
+00100000010000000100100110010000
+00100000010000000100100110010100
+00100000010000000100100110011000
+01101111111000001100101110111010
+00100000001110100110000100001001
+01110000010010111011101000000000
+00100000001000000110000100100001
+01101111111000001100100100011001
+10011000010001100111110000000000
+00100000010000101100100110100001
+00100000001000000110000100001101
+01101111111001000100101110111100
+11000100000100110000000000000000
+01101111111000001100100100100111
+00100000001000000100100110011011
+01101111111001000100101110111100
+11000100000100101000000000000000
+01101111111000001100100100101000
+00100000001000000100100110011011
+01101111111001000100101110111100
+11000100000100111000000000000000
+01101111111000001100100100100101
+10011000010001100111110000000000
+00100100011000101000000000000000
+01110000010010111011101000000001
+00100000011000000000000000000000
+01110000010010111011101100000000
+00100000011000000000000000000000
+01110000010010111011101100000001
+00100000011000000000000000000000
+01101111111000010100101011010011
+00100100011110100000000000000000
+01101111111000010100100010000111
+00100100011110100000000000000000
+01101111111000010100100010001011
+00100100011110100000000000000000
+01101111111000001100101110111000
+00100100011110100000000000000000
+00100000010000000100100101010001
+00100000011101000000000000000000
+01101111111001000100101110111100
+11000100000100001000000000000000
+11000100000000100000000000000000
+11000010100100011100100111001001
+01101111111000001100100011111100
+00011111111000001111111000000001
+01100111111000001100100011111100
+00011111111001100111110000010100
+00100100010000010100100110111011
+11000000000000010100100110111101
+11000000000000100100100111000011
+11000000000000110100100110111101
+11000000000001000100100111000011
+00100000011000000000000000000000
+01110000010010001111110000000001
+00100000001000000100100111000011
+01101111111001000100101110111100
+11000010100100010100100101101101
+01101111111000001100100100100101
+11000001011111111000000000000000
+01101000010010001100100100100101
+00100000001000000100100101111100
+01101111111001000100101110111100
+11000010100100010100100101011111
+01101111111000001100100100100101
+11000001011111111000000000000000
+01101000010010001100100100100101
+00100000001000000100100101111000
+01101111111000010100101111001111
+01101000010010010100101011000011
+10011000010001100000010000000000
+01101111111000010100101111011001
+10011000010001100111110000000000
+00100100001000010100100111011011
+01101111111000001100100011111101
+00100100011110100000000000000000
+01110000010010001111110100000001
+00100000001000000100100111010011
+01101111111000010100101111010111
+01100111111000010100100100110101
+01100111111000010100100100110111
+01101111111001000100101110111100
+11000010100100010100100100011101
+01101111111000001100100100100101
+11000001011111111000000000000000
+00100000001000000100100100100111
+01110000010010001111110100000000
+00100000001000000100100111000011
+01101111111001000100101110111100
+11000100000100001000000000000000
+11000100000000100000000000000000
+11000010100100011100100111101111
+01101111111000001100100011111100
+00011111111001100111110000001010
+00100000001000010100100111101011
+01101111111000001100100100111101
+11000000000000000100100111101000
+01110000010000001001100100000001
+00100000011000000000000000000000
+01101111111001000100101110111100
+11000011100011000000000000000000
+00100000001000000010011011010111
+01101111111000001100100100111101
+11000000000000000010011011101000
+01110000010000001001100100000000
+00100000011000000000000000000000
+01101111111000001100100011111101
+00100100001110100100100111101011
+00100000001000000100100111100100
+00100000010000000001001010010011
+01101111111000001000000000011000
+00100000001000000010010111101001
+00100000010000000100100111110010
+00100000001000000010011011110101
+00100000010000000100100111110010
+01101111111000001000000000110000
+00101111111011111111111000000000
+00100100011000001000000000000000
+01101111111000001000000001000111
+00101111111011111111111000000011
+00100000010000001010011100101011
+00100100010000001010011100100111
+00100000001000000010011011110101
+01101111111000001100101110000110
+00101111111000000000011000000011
+00100100001000001111111011001111
+00100000010000000011001010010101
+00100000001000000111111011010001
+00100000010000000101001101010101
+00100100011110100000000000000000
+01110000000000001000100000000001
+01110000000000001000100100000000
+00100000001000000111111011010001
+01101111111000010100011110001111
+11000010100001001100101000000000
+00100000001000000100101000000101
+00100000011101011000000000000000
+00100000010000000110000111011010
+01011000000000000100101011000001
+01100111111000010100100010011111
+01011000000000000100101001010000
+01100111111000010100100010100011
+01011000000000000100101001001011
+01100111111000010100010001011101
+01011000000000000100101010001011
+01100111111000010100010001100101
+01011000000000000100101010001101
+01100111111000010100010001100111
+01011000000000000100101010100110
+01100111111000010100010001101111
+01011000000000000100101001000000
+01100111111000010100100110010101
+01011000000000000100101000110000
+01100111111000010100100110011001
+01000100111100010100000000011100
+00100000010000000101111001011001
+00100000010000000100101001000111
+00100000010000000111100110100101
+01101111111000001100100101100101
+01100111111000001100100011010100
+11000000000000000100101000101111
+01101111111000001100100101100110
+01100111111000001100011110010011
+00100000010000000100101001000000
+00100000010000000111100000100110
+00100000010000000111100000110000
+01110000010010011001000100000001
+01101111111000010100011110001111
+11000011100001100000000000000000
+00100000001000000011001010001001
+01110000010010011001000100000010
+00100000010000000100101001000000
+11011010001000000000000000000000
+00100000010000000111100001110001
+00100000010000000100101000111100
+00100000010000000101111001111001
+00100000010000000010011011101100
+00100000001101000010001011100100
+01101111111000100100100000111111
+01100111111000100100100010010101
+01101111111000010100100010001001
+01100111111000010100100010001011
+00100000001000000010010101100010
+11011000010000000000000000000100
+11011010001000000100100000111111
+11011010010000000000000000000000
+00100000011000000000000000000000
+01000100111100011100000000011100
+01101111111000001100100101100011
+11000000111111111100101001000101
+01101000010010001100100101000000
+00100000001000000110000100001101
+01100111111000001100100101000000
+00100000001000000100101001000011
+00100000010000000010011000001110
+01101111111000010100100110001101
+01100111111000010100100110001111
+00100000011000000000000000000000
+00100000010000000100101001010000
+01101111111000001100100100110110
+01111001001000000111111000000111
+11011000010000000000000000111111
+00100000001000000110000100101011
+00100000010000000110000100110110
+00100000001000000110000111111111
+00100000010000000110001000001011
+00100000010000000100101001100011
+00100000010000000100101001010110
+00100000001000000100101001110001
+01101111111000001100100110011100
+11000001100000001000000000000000
+01101111111000100100100110100000
+00100000001110100100101001011101
+01110000010010011010011000000000
+01111000001101000111110000000000
+00100000001000000111100101110110
+01101111111000001100100110100110
+11000001011111111000000000000000
+00011111111000001111111000000001
+01100111111000001100100110100110
+01111000010101000111110000000000
+00100000001000000111100101110100
+01101000010010010100010011001010
+00011000010000010111111000000001
+00011000010000110000010000000000
+01100111111000001100100110100000
+00011000010000010111111000000001
+00011000010000110000010000000000
+01100111111000001100100110100001
+00011000010000010111111000000001
+00011000010000110000010000000000
+01100111111000001100100110100010
+00011000010000010111111000000001
+00011000010000110000010000000000
+01100111111000001100100110100011
+00100000011000000000000000000000
+01000100111100100100000000011100
+00100000010000000100101010000001
+00100000010000000100101010000110
+00100000010000000100101001110111
+00100100011101000000000000000000
+00100000001000000100101010111101
+01101111111000001100100110011100
+11000001100000001000000000000000
+01101111111000001100100110100110
+00100000011110100000000000000000
+00011111111001100111110000000001
+00100100011000010000000000000000
+01101111111000010100100010001001
+01100111111000010100100010001011
+01111000001101000111110000000000
+00100000011000000000000000000000
+01101111111000001100100110100000
+00100100001110100100101010110001
+01101111111000001100100110100001
+00100100001110100100101010110011
+00100000001000000100101010111001
+01101111111000001100100110100010
+00100100001110100100101010110101
+01101111111000001100100110100011
+00100100001110100100101010110111
+00100000001000000100101010111011
+00100000010000000100101010011011
+00100000001000000100101001010010
+00011010011000100111111000000000
+11000000000101101011001010110001
+11000000000010000011001010011001
+11000000000111001100101010010101
+11000000000111100100101010010111
+11000000000111010100101010010100
+00100000011000000000000000000000
+00100000001000000010010110100000
+00100000010000000100101000111100
+00100000010000000101111001101011
+01110000010010001010010100000000
+01110000010010011001110100000001
+01110000010010011001111000000001
+00100000011000000000000000000000
+01101111111000001100100110011101
+11000001000000000000000000000000
+01101111111000001100100110011100
+11000001000000001000000000000000
+01110000010010011001110000000001
+11011010001000000000000000000000
+00100000001000000111100001101100
+11011010001000000000000000000000
+00100000010000000111100001101100
+00100000010000000100101001000000
+00100000001000000011001010001001
+00100000010000000011001000001010
+00100000010000000010001011100001
+00100000010000000010010101011111
+00100000001000000100101010101010
+01101111111000001100100101100111
+00100000011110100000000000000000
+01101111111000001100010011001010
+00100100001110100100101001001000
+11011010011000000100100110001111
+11011010010000000100101010100010
+00100000001000000011001000000011
+01110000010010010110111000000001
+00100000011000000000000000000000
+01110000010010010110111000000010
+00100000011000000000000000000000
+01110000010010010111000000000001
+00100000011000000000000000000000
+01110000010010010111000000000010
+00100000011000000000000000000000
+01110000010010010110111000000000
+00100000011000000000000000000000
+01110000010010010111000000000000
+00100000011000000000000000000000
+11011010001000000100100101101000
+00100000001000000111100110101010
+11011010001000000100100101110101
+00100000001000000111100110101010
+01101111111000001100100110011110
+11000000000000001100101011001011
+11011010001000000100100101111110
+00100000010000000111100111000001
+00100100001101000100101011010000
+11011000110000000100100101111110
+11101111111000001000000000000110
+00011111111000100010001000000000
+11011010010000000100100101111111
+00100000011000000000000000000000
+01110000010010011001111000000000
+01111000001101000111110000000000
+11011010001000000000000000000001
+11011010010000000100100110011111
+00100000011000000000000000000000
+01101111111000001100100110000001
+11000000000000100100101011010100
+11000000000000101100101011010100
+00100000011000000000000000000000
+01101111111000001100100110000100
+00100100001110100100101011011011
+01101111111000001100100110000110
+00100100001110100100101011011011
+01101111111000001100100110001000
+00100100001110100100101011011011
+00100000011000000000000000000000
+01111000001101000111110000000000
+00100000001000000100101011000110
+01110000010001111001001000010100
+01110000010001111000011000000001
+01011000000000000000011000001111
+01100111111000010100100011010101
+01011000000000000100100011010101
+01100111111000010100010010001100
+01110000010000001001100100000001
+01110000010000010101101100000110
+01110000010000010111100000000010
+01110000010010001101010000000000
+01011000000000000100100100110100
+01100111111000010100010010001111
+01110000010001001000111000000001
+01110000010010010011010111111111
+01011000000000000000001010010110
+01100111111000010100100100110111
+01011000000000000000011100111010
+01100111111000010100100100111001
+01011000000000000100100110010001
+01100111111000010100010011001100
+01011000000000000000110000001100
+01100111111000010100100110010011
+01011000000000000100100101001000
+01100111111000010100010011001000
+01110000010010010110010100000000
+01110000010010010110001111111111
+01110000010010010110011011111111
+01110000010010010110000100000000
+01110000010010010110001000000000
+01110000010010010110010000000000
+01110000010010010110011100000001
+01011000000000000100111001010101
+01100111111000010100100101010100
+01100111111000010100100101010110
+01011000000000000000000000000111
+01100111111000010100100101011010
+01110000010001001010001000000010
+00111000000000110101101000001100
+00111000000001000000000100011010
+00111000000010000000000001100000
+00111000000011000000000000101000
+01100111111001001100100101101000
+00111000000000100000000000001010
+00111000000001000000000000000010
+11100111111000100000000000000101
+00111000000000110101101000001000
+00111000000001000000000110011010
+00111000000010000000000000000000
+00111000000011000000000000000000
+01100111111001001100100101110101
+01011000000000000000000001100100
+01100111111000010100100110001101
+01110000010000011110100000000000
+01110000010010000011100100000001
+01110000010010001010110000000110
+01110000010010000101111000000001
+01110000010010001001000000000000
+00100000010000000010001011010000
+00100000010000000010011000011010
+00100000010000000010001010110101
+00100000010000000010001011011011
+01011000000000000000011100001000
+01100111111000010100100010000101
+01011000000000000000000001010000
+01100111111000010100100010001001
+01011000000010100111011100000000
+01100111111000011100100010110100
+01011000011000000100100000000000
+01100111111000011100100001011111
+00100000001000000011000101110100
+00100000010000000110111001011110
+00100000011101011000000000000000
+01011000000000000100101110101000
+01100111111000010100010001011101
+01011000000000000100101110100110
+01100111111000010100010001011111
+01011000000000000011001010001001
+01100111111000010100010001101001
+01011000000000000100101110100100
+01100111111000010100010001100101
+01011000000000000100101101010011
+01100111111000010100010001100111
+01011000000000000100101101001101
+01100111111000010100010001011011
+01011000000000000100110000010101
+01100111111000010100010001101011
+01011000000000000100101110001010
+01100111111000010100010001101111
+01011000000000000100101111110000
+01100111111000010100011111101011
+01011000000000000100110000101100
+01100111111000010100011111100110
+01011000000000000100110000101101
+01100111111000010100011111101000
+00100000010000000100101101001000
+00100000010000000001101001010101
+00100000010000000100110000011000
+00100000010000000110000111011010
+00100000010000000111100110100101
+00100000010000000111100001011011
+01000100111100101100000000011100
+00100000010000000100110000100101
+01101111111000001100011111100001
+11000000000000000100101101001010
+01101111111000001100011111100010
+01100111111000001100011110010011
+00100000001000000100110000110100
+01110000010001011111101000000111
+00100000011000000000000000000000
+01110000010001111001001111111111
+01110000010001111110001100000001
+00100000001000000100101111000011
+01101111111000001100011111100011
+11000000000000010011001001001111
+00100000010000000101001101011111
+01101111111000001100010011101001
+00100100001110100011001001001111
+00100000001000000011001001010001
+00011010011000100111111000000000
+11000000000010100100101101011100
+11000000000010101100101101100000
+11000000000111111100101101100011
+11000000001000000100101101101001
+11000000000010000100101101101111
+11000000000101100100101101110000
+11000000000101101100101101111011
+00100000011000000000000000000000
+00100000010000000100101110101010
+01011000000000000000000000000000
+01100111111000010100011110111011
+00100000001000000011001010000111
+00100000010000000111100110100101
+01110000010001111011010000000000
+00100000001000000100101111000011
+00100000010000000111100110100101
+01110000010001111011010000000001
+01101111111001000100011111000101
+01100111111001000100001101110010
+00100000010000000011001010010101
+00100000001000000001111100000100
+01101111111000010100001111011011
+11000001000000000000000000000000
+01101111111001000100011111001101
+00100000011110100000000000000000
+01100111111001000100001101110010
+00100000001000000001111100000100
+00100000001000000100110001000101
+01101111111000001100011111100001
+11000001000000000000000000000000
+01101111111000001100011111100011
+11000001100000001000000000000000
+00100000010000000100101101110110
+00100000001000000011001010000101
+01110000010010011110001100000001
+11011111001000000000000000001011
+11011000101000000100100111100100
+11011000110000000100100111001101
+00100000001000000111110111010100
+01101111111000001100011111100001
+11000001000000000000000000000000
+01101111111000001100011111100011
+11000000000000001100101110000000
+00100000001000000100110001000001
+01101111111000001100100111100011
+11000001100000001000000000000000
+01110000010010011110001100000000
+01101111111000010100011110001111
+11000010100000000011001010000111
+11000010100001001011001010000111
+11011111001000000000000000001011
+11011000110000000100100111100100
+11011000101000000100100111001101
+00100000001000000111110111010100
+00100000010000000100101110001101
+00100000010000000100101110010100
+00100000001000000100101110011111
+11011010011000000100011111011111
+11011010010000000100101110010000
+00100000001000000011001000000011
+01110000010001111110001100000010
+00100000010000000011001010000111
+00100000010000000100101111010100
+00100000001000000100110000110001
+11011010011000000100100111110000
+11011010010000000100101110010111
+00100000001000000011000111111100
+01101111111000010100011110001111
+11000010100001001100110000110001
+11000010100000000100110000110001
+01101111111000001100100111001101
+11000000000000001100110000110001
+11000000000000100100110000110001
+11000000000000101100110000110001
+00100000001000000011001010001001
+01101111111000001100011111100011
+11000001100000001000000000000000
+11011010011000000100011110111011
+11011010010000000100101110110001
+00100000001000000011001000000011
+00100000010000000100110000000001
+00100000001000000110001000001011
+00100000010000000110000100110110
+00100000001000000110000111111111
+00100000010000000110000100110110
+00100000001000000110111001100010
+01101111111000001100011110100111
+11000010100000000100101110101101
+00100000011000000000000000000000
+01101111111000010100011111011011
+01100111111000010100011111011101
+01100111111000010100011111011111
+00100000001000000011001001110111
+01101111111000001100011111100011
+11000001100000001000000000000000
+01101111111000001100011110100111
+11000010100000000100101110110110
+00100000011000000000000000000000
+01101111111000010100011110001111
+11000011100001001000000000000000
+01101111111000010100011111011001
+01100111111000010100011111011101
+01100111111000010100011111011111
+01101111111000010100011110110111
+00100000010000000100110001010110
+00100000010000000011001010000011
+01101111111000100100011111000001
+01100111111000100100100111010000
+01101111111000010100011110001111
+11000011100001011000000000000000
+00100000001000000011001001111001
+01101111111000001100011111100011
+11000001100000001000000000000000
+01101111111000001100011110100111
+11000010100000000100101111001000
+00100000011000000000000000000000
+01101111111000010100011110111011
+01101000010010010100011110111001
+01100000010010010100011110111011
+00100100011110100000000000000000
+01101111111000010100011110110101
+00100000010000000100110001010110
+00100000010000000011001010000011
+01101111111000100100011110111101
+01100111111000100100100111010000
+01101111111000010100011110001111
+11000011100001011000000000000000
+00100000001000000011001001111001
+01101111111000010100011110001111
+11000010100001001011001010000001
+00100000001000000100101110101010
+00100000010000000111111011000111
+01101111111000010100011110001111
+11000010100001001100101111011011
+00100000011000000000000000000000
+01101111111000001100011110110100
+00100000011110100000000000000000
+00100000001000000111111011000101
+00100000010000000111111011000111
+01101111111000010100011110001111
+11000011100000000000000000000000
+11000011100001001000000000000000
+00100000001000000111111011000101
+01101111111000001100011110100111
+11000010100000000100101111100110
+00100000011000000000000000000000
+00100000001000000100101111000011
+01111000010101100111110000000000
+01101111111000010100011111011101
+01100111111000010100011111011111
+00100000010000000100101111011110
+00100000001101000100101111100011
+00100000010000000100101111010111
+00100100011101000000000000000000
+01111000001101100111110000000000
+00100000011000000000000000000000
+00100000010000000100101111100111
+00100100011101100000000000000000
+00011010001000100111111000000000
+00100000001110100100101111110111
+00100000010000000011001010000101
+11011010011000000100011111110101
+00100000001000000100101111111001
+00100000010000000011001010000111
+11011010011000000100100000011101
+11011111111000000000000000000101
+10011000111011111111111000000000
+10011010011000001010011000000000
+11101111111000001000000000010011
+00100000011110100000000000000000
+00100000010000000100110000001101
+00011010011000001010011000000001
+00100000001000000100101111111100
+01101111111000010100011110001111
+11000010100001001100110000000100
+00100000011000000000000000000000
+00100000010000000001101100100100
+00100100011110100000000000000000
+00100000010000000100110000010000
+00100100011101000000000000000000
+00011111111000001111111111111111
+00011111111011111111111000000101
+11011000010000000100100001000101
+10011000010000001000110000000000
+00100000001000000100110001011010
+01100111111000001000100101011100
+11011010001000000000100101011100
+00100000001000000111100110101010
+11011010001000000000100101011100
+00100000010000000111100111000001
+00100100011101000000000000000000
+01101111111000001000100101011100
+00100000011000000000000000000000
+01101111111000010100010000110111
+11000000000011000100101101100011
+00100000011000000000000000000000
+01011000000000000000000000000010
+01100111111000001100100111101111
+01011000001000000000000000001000
+01100111111000100100011111000101
+01011001001011000000000000000101
+11100111111000100000000000000101
+01110000010000111000000000010111
+01011000000000000000000000011011
+01100111111000010100001111010001
+00100000010000000001101011000010
+00100000010000000001101011011110
+00100000010000000001101011101011
+00100000001000000001101011001010
+11011111001000000000000000101000
+11011000101000000100100001000101
+11011000110000001001111001010111
+00100000001000000111110111000111
+11011111001000000000000101111110
+11011000110000001001101011110010
+00100000001000000111110111000111
+00100000001000000100101111000011
+11011010001000000000000000000000
+11011010011000000100100111011000
+00100000010000000111100001110111
+00100000010000000100101111010100
+01101111111000001100100111101111
+01100111111000001100100111110000
+00100000011000000000000000000000
+01011000000000000000000000000000
+00100000010000000100110000111100
+01110000010001111000011000000001
+00100000010000000111100000100110
+00100000010000000111100000110000
+01101111111000010100011110001111
+11000011100001100000000000000000
+00100000001000000011001010001001
+01101000010010010100010011001100
+11100111111000001000000000000010
+11101111111000001000000000000101
+01100111111000001100011110010010
+00100000011000000000000000000000
+01101111111000010100010011001100
+11101111111000001000000000111111
+11000001100000000000000000000000
+00100000001000000011001010001001
+01101000010010010100010011001100
+11101111111000001000000000000010
+11000000000000001100110001010000
+01011000000000000000000000000001
+01101000010010010100010011001100
+11100111111000001000000000000010
+00011000010000001000110000000010
+11101111111000001000000000000110
+11100111111000001000000000010010
+11101111111000010000000000000110
+00100000001000000111111001111010
+01011000000000000000000000000010
+00100000010000000100110000111100
+00011000010000001000110000000101
+11101111111000010000000000000110
+00100000001110100011001010001001
+00100000001000000111111001111010
+01100111111000010100000101011001
+00011111111000001111111111111100
+01100111111000010100010000101000
+00100000011000000000000000000000
+11101111111000001000000000000110
+00011111111000100010001000000000
+11101000010000010000000000000110
+00100000010000000111110101011110
+00100000010000000001111001011111
+00011010001000100111001000000000
+00100000010000000111110101011000
+00100000001000000111110111010100
+01101111111000010100100111110001
+01100111111000010100011111101101
+01101111111000001100100111110011
+01100111111000001100100111001111
+01100111111000001100100111011010
+01101111111000001100100111110100
+01100111111000001100011111100001
+01101111111000001100100111110101
+01100111111000001100011111100010
+01110000010001111010011100000001
+01011000000000000000000000110000
+01100111111000010100011110110010
+01011000000000000000000000000000
+01100111111000010100011110101000
+01011000000000000000000000000001
+01100111111000010100011111110101
+01100111111000010100011111111010
+01011000000000000000000000000110
+01100111111000010100100000011101
+01100111111000010100100000100010
+01011000000000000000000000000111
+01100111111000010100011111111111
+01011000000000000000000000001000
+01100111111000010100100000100111
+01011000000000000100011111100011
+01100111111000010100010011001100
+01011000001000000001010000000000
+01100111111000011100011111100011
+01110000010000001001100100000001
+01011000000000000000000100000000
+01100111111000010100000101011001
+01110000010000010101101100001000
+01110000010000010111011100000101
+01110000010000010111100000000010
+01011000000000000000000000110000
+01100111111000010100010001010101
+01011000000000000000000000000001
+11100111111000010000000000000101
+01110000010001100100010000001010
+01011000000000000000000010010110
+01100111111000010100011110111101
+11100111111000010000000000000101
+01011000000000000000001010010110
+01100111111000010100011111000001
+11100111111000010000000000000101
+00111000000000000000000000010000
+00111000000001001000000000001000
+00111000000010101100000000000000
+00111000000011000000000000000100
+01100111111001000100011111001101
+01110000010001001000111000000001
+01011000000000000100100111001101
+01100111111000010100010010001111
+01011000000000000000000000000000
+01100111111000010100100111001101
+00111000000000000000000110100000
+00111000000001000000000001101000
+00111000000010000000000000000000
+00111000000011000000000000000000
+01100111111001000100100111010000
+01011000000000000000001100000001
+01100111111000010100100111011000
+00111000000000000000000110100000
+00111000000001000000000011101000
+00111000000010000000000000000000
+00111000000011000000000000000000
+01100111111001000100100111011011
+01011000000000000000000000001110
+01100111111000010100011110110101
+01011000000000000000000101000000
+01100111111000010100011110110111
+01100111111000010100010000101000
+01011000000000000000000001010000
+01100111111000010100011110111001
+01110000010001000011001000000111
+01110000010001000010011100000000
+00111000000000000000000011111011
+00111000000001101100001000010010
+00111000000010001000000000001111
+00111000000011000000000000100001
+01100111111001000100010001001100
+00111000000000000000101110111000
+00111000000001000000001011101110
+01100111111000100100011111011001
+01011000000000000100100011111110
+01100111111000010100010010001100
+01011000000000000010000000000001
+01100111111000010100100011111110
+01110000010000111110011100011111
+00111000000000010000000100000010
+00111000000001001000000011000001
+00111000000010011000000100100000
+00111000000011000110010000001100
+01100111111001001100001111101000
+00111000000000000000001111000001
+11100111111000010000000000000101
+01110000010001000000011100011111
+00111000000000100000100100001101
+00111000000001110100110000010101
+00111000000010101000010100110010
+00111000000011011101000111010101
+01100111111001001100010000001000
+00111000000000100110010101110100
+00111000000001000000000000011100
+11100111111000011000000000000101
+01011000000000000100011111101010
+01100111111000010100010011001000
+01110000010001111110101000000010
+01110000010001000111111100010111
+01011000000000000100100100100011
+01100111111000010100010010001001
+01110000010001001000101100000101
+01011000000000000010010101000000
+01100111111000010100000010110010
+01011000000001000000000000000011
+01100111111000011100011101101000
+01110000010001110110111100000011
+01110000010001110110011100000001
+01110000010001111001000100000001
+01110000010000010101111100000000
+00111000000000111111111111111111
+00111000000001101111111000100011
+00111000000010011001100111011001
+00111000000011000000001000001101
+01100111111001000100000010100000
+01011000000000001001101011110010
+01100111111000010100001110010110
+01110000010000001101100000000001
+00111000000000010000001100000110
+00111000000001000000000000000100
+00111000000010000010000000010000
+00111000000011001001000001000000
+01100111111001001100011001100101
+00111000000000100000000000010001
+00111000000001000000000001000100
+11100111111000101000000000000101
+01110000010001100111101100000000
+01011000000000001001110001110000
+01100111111000010100011001100011
+01110000010000001100010100011000
+00100000010000000011000101110100
+11011111001000000000000000011110
+11011000101000000100001011111000
+00100000010000000111110110011011
+01110000010000101111011100001011
+01011000001000000100001001000001
+01100111111000011100001011111000
+01011000011101010110100001010011
+11100111111000011000000000000101
+01011000011001010111010001110100
+11100111111000011000000000000101
+01011000000000000011001101110010
+11100111111000010000000000000101
+01101111111000001100100111110110
+00100000011110100000000000000000
+01100111111000001100001011110111
+00011111111000100111001000000000
+11011000110000000100100111110111
+11011000101000000100001011111000
+00100000001000000111110111010100
+01101111111000001100010011010111
+11011000010000000000000000111110
+00100000001000000110000100101011
+01101111111000001100010011010111
+11011000010000000000000000111111
+00100000001000000110000100101011
+00100000010000000100110100000101
+00100000010000000100110100000010
+00100000001000000100110100000101
+00100000010000000100110100001001
+00100000001000000100110100000010
+00100000001000000100110100001001
+00100000010000000100110100001001
+00100000001000000100110100001011
+00100000001000000100110100000010
+01101111111000001100010011011000
+00100000001000000100110100000011
+01101111111000001100010011011000
+00100000001000000100110100000110
+00100000010000000100110100010001
+00100000010000000100110100010011
+00100000001000000100110100010001
+00100000100000000000000000000000
+00100000010000000100110100100010
+00100000010000000100110100101100
+00100000010000000100110101000000
+00100000010000000100110101011111
+00100000010000000100110101100011
+01110000000010011111110000000001
+01110000000010011111100100000100
+00100000010000000100110101101110
+00100000001000000100110100100000
+01101111111000001000101000101100
+11000010100000111100110100101010
+01110000100010100000000111111111
+00100000000000000000000001100100
+01110000100010100000001000001110
+01110000100010100000000000000011
+01110000100000000100001000000101
+00100000011000000000000000000000
+01110000100000000100001000000100
+00100000011000000000000000000000
+00100000010000000100110100110000
+00100000010000000100110100110100
+00100000010000000100110100111000
+00100000001000000100110100111100
+01101111111000001100011110100111
+00100100011110100000000000000000
+01110000010001111010011100001101
+00100000011000000000000000000000
+01101111111000001100011110101000
+00100100011110100000000000000000
+01110000010001111010100000001110
+00100000011000000000000000000000
+01101111111000001100011110101001
+00100100011110100000000000000000
+01110000010001111010100100001001
+00100000011000000000000000000000
+01101111111000001100011110101010
+00100100011110100000000000000000
+01110000010001111010101000001010
+00100000011000000000000000000000
+01011000000000000001100000000000
+01100111111000010000100101011100
+01011000000000000001101111111111
+11100111111000010000000000000101
+01011000000000000001110000000000
+11100111111000010000000000000101
+01011000000000000001111111111111
+11100111111000010000000000000101
+01101111111001000000100101011100
+00100000010000000101111101010110
+01101111111000001000101000101100
+00101111111011111111111000000111
+00100000010000001101111101111101
+00100100010000001101111110000001
+11011000010000011100001000000000
+00100000010000000101111101101110
+01101111111000001100011110100111
+11011000010000000000000000001000
+00100000010000000110000100101100
+01101111111000001100011110101000
+11011000010000000000000001001001
+00100000010000000110000100101100
+01101111111000001100011110101001
+11011000010000000000000000001010
+00100000010000000110000100101100
+01101111111000001100011110101010
+11011000010000000000000000001011
+00100000010000000110000100101100
+11011000010000000000000010000001
+01100000010110001000000001100000
+00100000001000000111111001110111
+01101111111000001100011110101011
+00100100011110100000000000000000
+01110000010001111010101100001100
+00100000011000000000000000000000
+01101111111000001100011110101011
+11011000010000000000000000010000
+00100000010000000110000100101100
+11011010001000000000000001000000
+00100000010000000110001000111001
+11011010001000000000000000000000
+11011010010000000000000000000000
+01011000000000000000000000000000
+00100000010000000110001001110010
+11011000111000000000000000000000
+00100000001000000110001010000101
+01101111111100010000000100010010
+00011111111000001010001111111100
+00100100011000010000000000000000
+00100000010000000101111110011101
+11101111111000001000000000000011
+11000000000000001100110101110110
+00100000010000000111110110000101
+00100000001000000101111110101101
+11101111111000010000000000000011
+01100111111000010000100111111101
+11011000010000000000001111111111
+10011000010000010000010000000000
+01100000010010010000100111110110
+00011111111010110111111000000000
+00011111111011001111111000000000
+01100111111000001000100111111000
+11101111111000001000000000000011
+00011111111000001111111111111111
+10011010001001100111110000000000
+00100000011000010000000000000000
+00100000010000000100110110000100
+00100000001000000100110111011111
+01101111111000001000100111111000
+11000000000111111100110110000111
+00100000001000000100110111001011
+01000100111100110100000000011100
+01101111111000001000100111110110
+11000000000000000100110111001010
+11000000000000001100110110010010
+11000000000000010100110110010111
+11000000000000011100110110100101
+11000000000000100100110110101111
+11000000000000101100110111001010
+11000000000010000100110111000000
+11000000000010100100110111000110
+00100000001000000100110111001010
+01110000000010011111111100000000
+01101111111100010000000000000000
+01100111111000010000101000000000
+11011111001000000000000000000011
+00100000001000000100110111010010
+11101111111000010000000000000011
+01100111111100010000000001010010
+00100000011000000000000000000000
+11101111111000001000000000000011
+00011111111000100000010000000000
+01100111111100001000000000100100
+11101111111000001000000000000011
+10011000010000001000010000000000
+01111001001000000111111000000111
+01100111111100001000000000100011
+11101111111000001000000000000011
+10011000010000001000010000000000
+00011111111000100111001000000000
+00100000011000000000000000000000
+00100000010000000100110110011010
+11101111111000001000000000000011
+01100111111100001000000000100101
+10011000010000001000010000000000
+11000010000000000100110110100110
+00011000010000010000010011111111
+11101111111000001000000000000011
+10011000010001100111110000000000
+00100100001000101100110110111110
+00100000001000000100110111001010
+11011111001000000000000000100000
+11011000101000000100000000000000
+11011000010000000000000000000000
+11101111111000001000000000000011
+11100111111000001000000000000101
+10011000010000001000010000000000
+11000010000000000100110110110010
+00011000010000010000010011111111
+11101111111000001000000000000011
+10011000010001100111110000000000
+00100100001000101100110110111110
+01110000100000000010001100000000
+00100000010000000100110111001010
+00100000010000000111111001111100
+00100000001000000000100000000001
+01110000100000000010001100000000
+00100000001000000100110111001011
+11101111111000001000000000000011
+00011111111000100111001000000000
+11101111111000010000000000000011
+00011111111000100000101000000000
+00100000010000000101111111110011
+00100000001000000100110111001010
+01101111111100001000000001100000
+01111001001000000111111000000100
+01100111111100001000000001100000
+00100000001000000100110111001010
+00100000001000000100110111001111
+01110000000010011111111100000001
+00100000001000000100110111010000
+01110000000010011111111100001100
+00100000001000000100110111010000
+01110000000010011111111100000000
+11011111001000000000000000000001
+00100000001000000100110111010010
+01110000000010011111101000001110
+00011111001000001111111000000011
+01100111111000001000100111111011
+00100000010000000100110111011011
+01101111111000011000100111111100
+11100111111000011000000000000011
+11011000110000000000100111111111
+00100000010000000101111111011001
+00100000001000000101111110111001
+00100000010000000101111110110101
+01101111111000011000100111111001
+11100111111000011000000000000011
+00100000011000000000000000000000
+00100000010000000101111110011101
+00011000011000001000011000000011
+11101111111000001000000000000011
+10011000011000001000011000000000
+00100000001000000101111110101001
+01110000010000011101101100000000
+00100000011000000000000000000000
+01101111111000110100000111011101
+01101000010010110000000001000000
+10011000010001100111110000000000
+00100000011000000000000000000000
+01000100111100111100000000011100
+01101111111000010000001100010101
+00011111111000100000110000000000
+11101111111000001000000000000110
+01100111111000001100010111111000
+00011111111000010000010000001111
+00011111111100011111111000000000
+11000000000001001100111000001011
+11000000000000111100111000001011
+11000000000001010100111000011010
+11000000000000101100111000000011
+11000000000000001100110111110111
+00100000011000000000000000000000
+00011000010000100111111000000000
+11000000000000101100110111111011
+11000000000000011100111000000010
+00100000011000000000000000000000
+01110000000010010101101100100111
+00100000010000000111100011011100
+01101111111000001100000010011010
+11000001100001000000000000000000
+00011000010000100111111000000000
+11000000000000101100010010001100
+00100000011000000000000000000000
+00100000011000000000000000000000
+00100000010000000100111000011010
+11011010001000000000000000000001
+00100000010000000100111000011110
+01101111111000010100010011011111
+11100111111000010000000000000101
+01011000000000000000000000000000
+11100111111000001000000000000101
+00100000011000000000000000000000
+11011010001000000000000000000001
+00100000010000000100111000011110
+01101111111000010100010011011111
+11100111111000010000000000000101
+01011000000000000000000000000000
+11100111111000001000000000000101
+01110000000010010101000000000001
+01101111111000001100010011100101
+01111001001000000111111000000110
+01100111111000001100010011100101
+01110000000010010101101100010010
+00100000010000000111100011011100
+01101111111000001100000010011010
+11000001100001000000000000000000
+00100000001000000100010001101100
+11101111111000001000000000000110
+11000000000000001100111000011101
+00100000011000000000000000000000
+00100000011000000000000000000000
+00100000010000000101001011111011
+00011010001000100000010000000000
+01100000010010001000100101010000
+00011111111000100000101000000000
+00011010001000100111111000000000
+11100111111000010000000000000101
+00100000011000000000000000000000
+00100000001101011100111000101010
+01011000000000000100010111111001
+11011000101000000100010011011001
+10011000101001100111001000000000
+00100000010000000111110110011011
+01000100111101000100000000011101
+01011000000000000000010000100100
+11011000101000000000001111100100
+10011000101001100111001000000000
+00100000010000000111110110011011
+01011000000000000000001101111010
+11011000101000000000001100001110
+10011000101001100111001000000000
+00100000010000000111110110011011
+00100000001000000101001111001001
+01000100111101001100000000011101
+00011000110000100000010000000000
+00011000010000100000110000000000
+11101111111000010000000000000110
+01100111111000010000001100010111
+11101111111000010000000000000110
+01100111111000010000001100011001
+00011000110000100111111000000000
+01100111111000010000001100010101
+01101111111000001100011110001110
+11000000000000000100111001000000
+00100000001000000101000110101011
+01101111111000010000001100010111
+00100000001110100100111010111000
+01000100111101010100000000011101
+01101111111000001000001100011001
+11000000000000001100111001010110
+11000000001010000100111010011000
+11000000001010001100111010110001
+11000000001010010100111010101111
+11000000001010011100111010101111
+00100000001000000100111010111000
+01000100111101011100000000011101
+00100000010000000101001101011111
+01101111111000001100010011101001
+11000000000000000111111011010001
+11000000000000001111111011010001
+11000000000000010111111011010001
+11000000000000011111111011010001
+11000000010000001111111011010001
+11000000011000000111111011010001
+11000000010000000111111011010001
+11000000001000000111111011010001
+00100000011000000000000000000000
+00100000010000000100111001001010
+00100100011110100000000000000000
+00100000010000000101001101101001
+00100000010000000100111010111101
+01101000010010010000001100100000
+00100000001110100100111010110111
+00100000010000000101001101110010
+01101111111000010000001100100000
+11100111111000010000000000000101
+00011000000000000111111000000001
+11100111111000010000000000000101
+00100000001000000100111010111000
+01101111111000001100010111110111
+00100000011110100000000000000000
+00011111111000100010001000000000
+01000100111101100100000000011101
+01101111111000100000001110000110
+11011000010000000000000100000000
+10011000010000001000010000000000
+00011100010000100111111000000000
+10011000010001100111110000000000
+00100100011000010000000000000000
+01110000010001011111011100000000
+00011010001000100111111000000000
+11000000001010000100111001110000
+00100000001000000001001101111100
+11011001000000000000000000000000
+00100000010000000101001101101001
+00100000010000000100111100110110
+00100000010000000101001101110100
+00100000010000000111110101100001
+00100000010000000100111101101001
+00100000010000000101001101110010
+01011000000000000000000000001100
+11100111111000010000000000000101
+00011000000000000111111000000001
+11100111111000010000000000000101
+00100000001000000100111010111000
+01000100111101101100000000011101
+01101111111000010000001100100110
+00011111111000001111111000000100
+00100000010000000111111100100111
+00011111111000001000010000000001
+11011000110000000100010011110011
+11101111111000011000000000000110
+00100000011110100000000000000000
+01100111111000011000100110001110
+01101111111000001000100110001110
+00011111111000100010001000000000
+00100000010000000100111010001011
+00011010010000100111111000000000
+01100111111000001100010011110011
+00100000011000000000000000000000
+11011000111000000000000000000000
+11011010010000000000000000000000
+00011000111001100111110000000111
+00100100011000010000000000000000
+10101010001011111111111111111111
+00100000001000001100111010010010
+00100000001000000100111010010110
+00011000010000100111111000000000
+00100000001110100100111010010110
+11111001001000000010010000000000
+00011000010000001000010111111111
+00011000111000001000111000000001
+00100000001000000100111010001101
+00100000010000000101001101010101
+00100100011110100000000000000000
+00100000010000000100111001001010
+00100100011110100000000000000000
+00100000010000000101001101110110
+00100000010000000110111001011110
+00100000010000000110011100101111
+00100000010000000110111001100010
+00100000010000000100111001111100
+00100000001000000100111010101000
+00100000010000000101001101010101
+00100100011110100000000000000000
+00100000010000000101001101110110
+00100000010000000110111001011110
+00100000010000000110011100101111
+00100000010000000110111001100010
+00100000010000000101001101111111
+01101111111000010000001100100110
+00100000001110100100111010110111
+11100111111000010000000000000101
+01101111111000010100010011011011
+11100111111000010000000000000101
+00100000001000000100111010111000
+00100000010000000100110111101010
+00100000001000000100111010111000
+01000100111101110100000000011101
+01110000000000110011010100000000
+00100000010000000110001110101001
+01101111111000001000001100110101
+11000001000000001000000000000000
+00100000001000000100111010111000
+00100000010000000101001101000101
+01011000000000000000000000000000
+01100111111000010000001100010111
+01100111111000010000001100011001
+01110000000000110001101100000001
+00100000011000000000000000000000
+01000100111101111100000000011101
+00100000010000000101001101110100
+00011000000000000010010000000000
+01101111111000010000001100010111
+00011111111000100010011000000000
+01101111111000010000001100010101
+10011000000000000000110000000000
+00100000010000000100111011001100
+00011010011000100111111000000000
+00011010011000001010011111111100
+00011111111000001111111111111100
+00100100001110100100111011000100
+00011010010000100111111000000000
+01100111111000010000001100100000
+00100000011000000000000000000000
+01000100111110000100000000011110
+11101111111000001000000000000110
+11000000000000001100111100000101
+11000000000000010100111100001101
+11000000000000011100111110010001
+11000000000000100100111111000001
+11000000000000101101000001011110
+11000000000000110101000010000111
+11000000000000111101000011010111
+11000000000001000101000100001100
+11000000000001001101000100011100
+11000000000001010100111011011011
+11000000000001011101000100011101
+00100000010000000101000100011110
+00100000011000000000000000000000
+11101111111000001000000000000110
+00011111111000100000111000000000
+11101111111000010000000000000110
+00011111111000100010001000000000
+00011010011000100111111000000000
+10011010001001100010011000000000
+01011000000000000000000000001011
+11100111111000001000000000000101
+00011000111000100111111000000000
+11100111111000001000000000000101
+11101111111000010000000000000110
+11000000000000010100111011101001
+11000000000000011100111011101111
+00100000011000000000000000000000
+01011000000000100000000000001000
+11100111111000110000000000000101
+01011000000000000000001010000000
+11100111111000100000000000000101
+00011000000000000111111000001100
+00100000001000000100111011110100
+01011000000000110000000000001100
+11100111111000110000000000000101
+01011000000000000000000000000110
+11100111111001000000000000000101
+00011000000000000111111000010000
+10011010010000001010010000000000
+00100000001000000100111011011010
+11101111111000001000000000000110
+00011111111000100000111000000000
+11101111111000010000000000000110
+00011111111000100010001000000000
+11101111111000010000000000000110
+01100111111000010000100101100100
+00011010011000100111111000000000
+10011010001001100010011000000000
+00100000010000000101001101110100
+01011000000000000000000000001011
+11100111111000001000000000000101
+00011000111000100111111000000000
+11100111111000001000000000000101
+01101111111000010000100101100100
+00100000001000000100111011100110
+11101111111000001000000000000110
+00011111111000100000111000000000
+11101111111000010000000000000110
+00011111111000100010001000000000
+10011000110000001000110000000000
+00011010011000100111111000000000
+10011010001001100010011000000000
+00100000001000000100111011011010
+00100000010000000111110101100001
+00100000010000000111110101100110
+11011001000000000000000000000000
+11101111111000001000000000000110
+00011111111000100000111000000000
+11101111111000010000000000000110
+00011111111000100010001000000000
+11101111111000010000000000000110
+00011111111000100000010000000000
+11101111111000010000000000000110
+00011111111000100001011000000000
+01000100111110001100000000011110
+00011000010000100111111000000000
+11000000000000001100111100100000
+11000000000000011100111101000010
+11000000000010001100111101001110
+11000000000010011100111101011001
+00100000010000000101000100011110
+00100000001000000100111110010000
+00100000010000000111110101100001
+11011000010000000000000001010000
+01101111111000010100010011011011
+00100100001110100100111110001010
+00011001011000100111111000000000
+01100111111000010100010011011011
+00011100010000100111111000000000
+01100111111000100000001110000110
+00100000010000000100111100101010
+00100000001000000100111101100101
+01100000010010010000001110000100
+00011001011000100111111000000000
+01100111111000010000001101111010
+00011010001000100111111000000000
+01100111111000010000001101111100
+00011010010000100111111000000000
+01100111111000010000001101111110
+00011010011000100111111000000000
+01100111111000010000001110000000
+00011000111000100111111000000000
+01100111111000010000001110000010
+00100000011000000000000000000000
+01101000010010010000001110000100
+01101111111000010000001101111010
+00011111111000100001011000000000
+01101111111000010000001101111100
+00011111111000100010001000000000
+01101111111000010000001101111110
+00011111111000100010010000000000
+01101111111000010000001110000000
+00011111111000100010011000000000
+01101111111000010000001110000010
+00011111111000100000111000000000
+00100000011000000000000000000000
+00100000010000000111110101100001
+01011000000000000000000001010001
+11011000010000000000000001010001
+01101111111000010100010011011101
+00100100001110100100111110001010
+00011001011000100111111000000000
+01100111111000010100010011011101
+01101111111000001100010011100100
+01111001001000000111111000000000
+01111001001000000111111000000001
+01100111111000001100010011100100
+00100000001000000100111101101101
+00100000010000000111110101100001
+11011000010000000000000001010010
+01101111111000010100010011011111
+00100100001110100100111110001010
+00011001011000100111111000000000
+01100111111000010100010011011111
+01101111111000001100010011100101
+01111001001000000111111000000000
+01111001001000000111111000000001
+01100111111000001100010011100101
+00100000001000000100111101101101
+00100000010000000111110101100001
+00011011010000100111111000000000
+11011000010000000000000001010011
+01101111111000010100010011100001
+00100100001110100100111110001010
+00011001011000100111111000000000
+01100111111000010100010011100001
+01101111111000001100010011100110
+01111001001000000111111000000000
+01111001001000000111111000000001
+01100111111000001100010011100110
+00100000001000000100111101101101
+01011000000000000000000000000001
+01100111111000010000001100101110
+01110000010001011111011101010000
+00100000001000000100111101101111
+01101111111000001100010011100011
+01111001001000000111111000000000
+01111001001000000111111000000001
+01100111111000001100010011100011
+01011000000000000000000000000000
+01100111111000010000001100101110
+01000100111110010100000000011110
+00100000010000000111110101100110
+01011000000000000000000000000011
+11100111111000001000000000000101
+00011000111000100111111000000000
+11100111111000001000000000000101
+01011000000000000000000000001000
+11100111111000010000000000000101
+00011000010000100111111000000000
+11100111111000010000000000000101
+00011001011000100111111000000000
+11100111111000010000000000000101
+01101111111000010000001100101110
+11000000000000001100111110000101
+00101001000011000000000000000000
+00100000001000001100111110000000
+01011000000000000000000000000100
+11100111111000010000000000000101
+00011000000000000111111000000000
+11100111111000010000000000000101
+01011000000000000000000000001100
+00100000001000000100111110001100
+11100111111000010000000000000101
+00011000000000000111111000000010
+11100111111000010000000000000101
+01011000000000000000000000001100
+00100000001000000100111110001100
+01111001001000000001000000000000
+00100000001000000100111101101101
+10011010010000001010010000000000
+00011010011000100111111000000000
+10011010001001100010011000000000
+00100000001000000100111110010000
+00100000001000000100111011011010
+11101111111000001000000000000110
+00011111111000100000111000000000
+11101111111000010000000000000110
+00011111111000100010001000000000
+00011010011000100111111000000000
+10011010001001100010011000000000
+11101111111000010000000000000110
+00011111111000100001011000000000
+11101111111000010000000000000110
+00011111111000100000010000000000
+01000100111110011100000000011110
+01011000000000000000000001010000
+10011000010001100111110000000000
+00100000001000101100111110101001
+01011000000000000000000001010001
+10011000010001100111110000000000
+00100000001000101100111110101111
+01011000000000000000000001010010
+10011000010001100111110000000000
+00100000001000101100111110111011
+01011000000000000000000001010011
+10011000010001100111110000000000
+00100000001000101100111110110101
+00100000011000000000000000000000
+00011001011000100111111000000000
+01100111111000010100010011011011
+01101111111000001100010011100011
+01111001001000000111111000000001
+01100111111000001100010011100011
+00100000001000000100111011011010
+00011001011000100111111000000000
+01100111111000010100010011011101
+01101111111000001100010011100100
+01111001001000000111111000000001
+01100111111000001100010011100100
+00100000011000000000000000000000
+00011001011000100111111000000000
+01100111111000010100010011011111
+01101111111000001100010011100110
+01111001001000000111111000000001
+01100111111000001100010011100110
+00100000011000000000000000000000
+00011001011000100111111000000000
+01100111111000010100010011100001
+01101111111000001100010011100101
+01111001001000000111111000000001
+01100111111000001100010011100101
+00100000011000000000000000000000
+11101111111000001000000000000110
+00011111111000100000111000000000
+11101111111000010000000000000110
+00011111111000100010001000000000
+00011010011000100111111000000000
+10011010001001100010011000000000
+11101111111000010000000000000110
+00011111111000100000010000000000
+00011000010000100010001000000000
+01000100111110100100000000011110
+01011000000000000000000001010000
+10011000010001100111110000000000
+00100000001000101100111111011000
+01011000000000000000000001010001
+10011000010001100111110000000000
+00100000001000101100111111110110
+01011000000000000000000001010010
+10011000010001100111110000000000
+00100000001000101100111111100010
+01011000000000000000000001010011
+10011000010001100111110000000000
+00100000001000101100111111101100
+00100000001000000101000100011110
+00011000101000100001011000000000
+01101111111000001100010011100011
+01111001001000000111111000000100
+01111001001000000111111000000011
+01100111111000001100010011100011
+00011001011000100000101000000000
+11011001011000000000000001010000
+01101111111000010100010011011011
+00011111111000100000010000000000
+00100000001000000100111111111111
+00011000101000100001011000000000
+01101111111000001100010011100101
+01111001001000000111111000000100
+01111001001000000111111000000011
+01100111111000001100010011100101
+00011001011000100000101000000000
+11011001011000000000000001010010
+01101111111000010100010011011111
+00011111111000100000010000000000
+00100000001000000100111111111111
+00011000101000100001011000000000
+01101111111000001100010011100110
+01111001001000000111111000000100
+01111001001000000111111000000011
+01100111111000001100010011100110
+00011001011000100000101000000000
+11011001011000000000000001010011
+01101111111000010100010011100001
+00011111111000100000010000000000
+00100000001000000100111111111111
+00011000101000100001011000000000
+01101111111000001100010011100100
+01111001001000000111111000000100
+01111001001000000111111000000011
+01100111111000001100010011100100
+00011001011000100000101000000000
+11011001011000000000000001010001
+01101111111000010100010011011101
+00011111111000100000010000000000
+01000100111110101100000000011110
+01011000000000000000000000000101
+11100111111000001000000000000101
+00011000111000100111111000000000
+11100111111000001000000000000101
+01011000000000000000000000000110
+11100111111000010000000000000101
+00011000010000100111111000000000
+11100111111000010000000000000101
+00011000000000000111111000000000
+11100111111000010000000000000101
+00011000000000000111111000000000
+11100111111000010000000000000101
+00011000000000000111111000001010
+10011010010000001010010000000000
+01100000010010010000001100110011
+00011000111000100111111000000000
+01100111111000001000001100110010
+00011000000000000111111001010000
+10101001011000011111111000000000
+00100000001000001101000000010101
+00011111111000001111111000000001
+00100000011000000000000000000000
+01111000010101000111110000000000
+11000011100000010000000000000000
+11000100000000000000000000000000
+11000100000000001000000000000000
+01111001001000000111111000000010
+00011000110000100000101000000000
+00011000101000001000101111111111
+11100111111000001000000000000101
+01111000001101000111110000000000
+00100000011000000000000000000000
+01101111111000001100010011100011
+00100000010000000101000000010110
+00100100001101000101000000100111
+01110000000000110011000101010000
+01101111111000010100010011011011
+01100111111000010000001100110011
+00100000001000000101000000111011
+01101111111000001100010011100100
+00100000010000000101000000010110
+00100100001101000101000000101110
+01110000000000110011000101010001
+01101111111000010100010011011101
+01100111111000010000001100110011
+00100000001000000101000000111011
+01101111111000001100010011100101
+00100000010000000101000000010110
+00100100001101000101000000110101
+01110000000000110011000101010010
+01101111111000010100010011011111
+01100111111000010000001100110011
+00100000001000000101000000111011
+01101111111000001100010011100110
+00100000010000000101000000010110
+00100100011101000000000000000000
+01110000000000110011000101010011
+01101111111000010100010011100001
+01100111111000010000001100110011
+01000100111110110100000000011110
+00100000010000000101001011110101
+00100000010000000101001101101001
+00011000000000000010010000000000
+00100000010000000101001101110100
+00011000000000000111111000000100
+11100111111000001000000000000101
+01101111111000001100010011101000
+11100111111000001000000000000101
+01011000000000000000000000001000
+11100111111000010000000000000101
+01101111111000010000001100110011
+11100111111000010000000000000101
+01011000000000000000000000000000
+11100111111000010000000000000101
+00011000000000000111111000000001
+11100111111000001000000000000101
+00011000000000000111111000000010
+11100111111000001000000000000101
+01101111111000001000001100110001
+11000000001010001101000001010011
+01011000000000000000000000110000
+11100111111000010000000000000101
+00100000001000000101000001010101
+01011000000000000000001111100011
+11100111111000010000000000000101
+11011000010000000000000000001100
+01100000010010010000001100100000
+00100000010000000101001101110010
+01101111111000010000001100100000
+11100111111000010000000000000101
+00011000000000000111111000000001
+11100111111000010000000000000101
+01110000000000110011000100000000
+00100000001000000100111011011010
+00011000110000001000110000000001
+11101111111000010000000000000110
+00011111111000100010001000000000
+00011010011000100111111000000000
+10011010001001100010011000000000
+11101111111000010000000000000110
+00011111111000100010001000000000
+01000100111110111100000000011110
+01011000000000000000000001010000
+10011010001001100111110000000000
+00100000001000101101000001110110
+01011000000000000000000001010001
+10011010001001100111110000000000
+00100000001000101101000001111010
+01011000000000000000000001010010
+10011010001001100111110000000000
+00100000001000101101000001111110
+01011000000000000000000001010011
+10011010001001100111110000000000
+00100000001000101101000010000010
+00011000110000001000110000000010
+11101111111000010000000000000110
+10011000000000000111110000000000
+00100000001000000100111011011010
+01101111111000001100010011100011
+01111001001000000111111000000101
+01100111111000001100010011100011
+00100000001000000100111011011010
+01101111111000001100010011100100
+01111001001000000111111000000101
+01100111111000001100010011100100
+00100000001000000100111011011010
+01101111111000001100010011100101
+01111001001000000111111000000101
+01100111111000001100010011100101
+00100000001000000100111011011010
+01101111111000001100010011100110
+01111001001000000111111000000101
+01100111111000001100010011100110
+01110000000010010101101100000110
+00100000001000000111100011011100
+11101111111000001000000000000110
+00011111111000100000111000000000
+11101111111000010000000000000110
+00011111111000100010001000000000
+00011010011000100111111000000000
+10011010001001100010011000000000
+11101111111000010000000000000110
+00011111111000100010001000000000
+11101111111000010000000000000110
+00011111111000100001011000000000
+00011010001000100000010000000000
+00100000010000000111110101100001
+01000100111111000100000000011111
+01011000000000000000000001010000
+10011000010001100111110000000000
+00100000001000101101000010101110
+01011000000000000000000001010001
+10011000010001100111110000000000
+00100000001000101101000010111110
+01011000000000000000000001010010
+10011000010001100111110000000000
+00100000001000101101000010100010
+01011000000000000000000001010011
+10011000010001100111110000000000
+00100000001000101101000010101000
+00100000010000000101000100011110
+00100000001000000101000011010011
+00011001011000100000010000000000
+01101111111000010100010011011111
+10011000010001100111110000000000
+00100000001000101101000010110100
+00100000010000000101000100011110
+00100000001000000101000011010011
+00011001011000100000010000000000
+01101111111000010100010011100001
+10011000010001100111110000000000
+00100000001000101101000010110110
+00100000010000000101000100011110
+00100000001000000101000011010011
+00011001011000100000010000000000
+01101111111000010100010011011011
+10011000010001100111110000000000
+00100000001000101101000010111010
+00100000010000000101000100011110
+00100000001000000101000011010011
+00100000010000000101000100110101
+00100000001000000101000011000110
+00100000010000000101000100111011
+01101111111000010100010011011111
+00100000001110100101000011000110
+00100000001000000101000011000110
+00100000010000000101000100110000
+01101111111000001000001100111001
+00100100001110100101000011000110
+00100000001000000101000011000110
+00011001011000100000010000000000
+01101111111000010100010011011101
+10011000010001100111110000000000
+00100000001000101101000011000100
+00100000010000000101000100011110
+00100000001000000101000011010011
+00100000010000000101000100101011
+00100000001000000101000011000110
+00100000010000000111110101100110
+01011000000000000000000000000111
+11100111111000001000000000000101
+00011000111000100111111000000000
+11100111111000001000000000000101
+01011000000000000000000000000100
+11100111111000010000000000000101
+00011010001000100111111000000000
+11100111111000010000000000000101
+00011001011000100111111000000000
+11100111111000010000000000000101
+00011000000000000111111000001000
+00100000001000000101000011010101
+00100000010000000111110101100110
+00100000001000000101000011010101
+10011010010000001010010000000000
+00100000001000000100111011011010
+11101111111000001000000000000110
+00011111111000100000111000000000
+11101111111000010000000000000110
+00011111111000100010001000000000
+00011010011000100111111000000000
+10011010001001100010011000000000
+11101111111000010000000000000110
+00011111111000100001011000000000
+11101111111000010000000000000110
+00011111111000100000010000000000
+00100000010000000111110101100001
+01000100111111001100000000011111
+01011000000000000000000001010000
+10011000010001100111110000000000
+00100000001000101101000011110001
+01011000000000000000000001010001
+10011000010001100111110000000000
+00100000001000101101000011110111
+01011000000000000000000001010010
+10011000010001100111110000000000
+00100000001000101101000011111101
+01011000000000000000000001010011
+10011000010001100111110000000000
+00100000001000101101000100000011
+00100000010000000101000100011110
+00100000001000000101000100001011
+00011000010000100010001000000000
+00011001011000100000010000000000
+01101111111000010100010011011011
+10011000010001100111110000000000
+00100000010000101101000100110000
+00100000001000000101000100001001
+00011000010000100010001000000000
+00011001011000100000010000000000
+01101111111000010100010011011101
+10011000010001100111110000000000
+00100000010000101101000100101011
+00100000001000000101000100001001
+00011000010000100010001000000000
+00011001011000100000010000000000
+01101111111000010100010011011111
+10011000010001100111110000000000
+00100000010000101101000100110101
+00100000001000000101000100001001
+00011000010000100010001000000000
+00011001011000100000010000000000
+01101111111000010100010011100001
+10011000010001100111110000000000
+00100000010000101101000100111011
+00100000001000000101000100001001
+00100000010000000111110101100110
+00100000001000000100111011011010
+00100000001000000100111011011010
+11101111111000001000000000000110
+00011111111000100000111000000000
+11101111111000010000000000000110
+00011111111000100010001000000000
+10011000110000001000110000000000
+01011000000000000000000000001001
+11100111111000001000000000000101
+00011000111000100111111000000000
+11100111111000001000000000000101
+00011000000000000111111000000000
+11100111111000010000000000000101
+00011000000000000111111000000100
+10011010010000001010010000000000
+00011010011000100111111000000000
+10011010001001100010011000000000
+00100000001000000100111011011010
+00100000001000000100111011011010
+00100000001000000100111011011010
+00011000000000000010010000000000
+00100000010000000101001101110100
+01011000000000000000000000000001
+11100111111000001000000000000101
+00011000111000100111111000000000
+11100111111000001000000000000101
+01011000000000000000000000000010
+11100111111000010000000000000101
+01011000000000000000000000000000
+11100111111000010000000000000101
+00011010010000001010010000000110
+11011010011000000000000000000100
+00100000001000000100111011011010
+01011000000000000000000000000000
+01100111111000010000001100101100
+01100111111000010100010011011101
+01110000010001001110010000000000
+00100000011000000000000000000000
+01011000000000000000000000000000
+01100111111000010000001100100110
+01100111111000010100010011011011
+01110000010001001110001100000000
+00100000011000000000000000000000
+01011000000000000000000000000000
+01100111111000010100010011011111
+01110000010001001110010100000000
+01101111111000001100010011100110
+11000000000000000101000101000001
+00100000011000000000000000000000
+01011000000000000000000000000000
+01100111111000010100010011100001
+01110000010001001110011000000000
+01101111111000001100010011100101
+11000000000000000101000101000001
+00100000011000000000000000000000
+01110000000010010101101100000111
+00100000001000000111100011011100
+01101111111000001000001100110000
+01111001001111111111111000000000
+01100111111000001000001100110000
+01101111111000010100010011100001
+00100000011110100000000000000000
+00100000010000000101001101101001
+01101111111000010100010011100001
+00011111111000100010001000000000
+00011000000000000010010001010011
+00100000001000000101000101010110
+01101111111000001000001100110000
+01111001001111111111111000000111
+01100111111000001000001100110000
+01101111111000010100010011011111
+00100000011110100000000000000000
+00100000010000000101001101101001
+01101111111000010100010011011111
+00011111111000100010001000000000
+00011000000000000010010001010010
+00100000010000000101001011110101
+00100000010000000101001101110100
+00011000000000000111111000000110
+11100111111000001000000000000101
+01101111111000001100010011101000
+11100111111000001000000000000101
+01011000000000000000000000000100
+11100111111000010000000000000101
+00011010001000100111111000000000
+11100111111000010000000000000101
+00011010010000100111111000000000
+11100111111000010000000000000101
+00011000000000000000010000001000
+00100000001000000101000110011010
+01000100111111010100000000011111
+00100000010000000101001011110101
+00100000010000000101001101110100
+01011000000000000000000000000010
+11100111111000001000000000000101
+01101111111000001100010011101000
+11100111111000001000000000000101
+01011000000000000000000000000100
+11100111111000010000000000000101
+00011000010000100111111000000000
+11100111111000010000000000000101
+00011001011000100111111000000000
+11100111111000010000000000000101
+11011000010000000000000000001000
+00100000001000000101000110011010
+01000100111111011100000000011111
+00100000010000000101001011110101
+00100000010000000101001101110100
+01011000000000000000000000000100
+11100111111000001000000000000101
+01101111111000001100010011101000
+11100111111000001000000000000101
+01011000000000000000000000001000
+11100111111000010000000000000101
+00011000010000100111111000000000
+11100111111000010000000000000101
+01011000000000000000000000000000
+11100111111000010000000000000101
+01011000000000000000000000000001
+11100111111000001000000000000101
+01011000000000000000000000000010
+11100111111000001000000000000101
+01011000000000000000001111100011
+11100111111000010000000000000101
+11011000010000000000000000001100
+00100000001000000101000110011010
+01000100111111100100000000011111
+00100000010000000101001011110101
+00100000010000000101001101110100
+01011000000000000000000000000110
+11100111111000001000000000000101
+01101111111000001100010011101000
+00011111111000001111111000000001
+00011000101000100010001000000000
+01100111111000001100010011101000
+00011010001000100000101000000000
+11100111111000001000000000000101
+01011000000000000000000000000100
+11100111111000010000000000000101
+00011000010000100111111000000000
+11100111111000010000000000000101
+00011001011000100111111000000000
+11100111111000010000000000000101
+11011000010000000000000000001000
+01100000010010010000001100100000
+00011000010000100111111000000000
+00100000001110100101001101000101
+00100000010000000101001101110010
+01101111111000010000001100100000
+11100111111000010000000000000101
+00011000000000000111111000000001
+11100111111000010000000000000101
+00100000011000000000000000000000
+01101111111000010000001100100110
+00100000001110100001001101111100
+00100000010000000101001101111111
+01101111111000010000001100100110
+11100111111000010000000000000101
+01101111111000010100010011011011
+11100111111000010000000000000101
+00100000011000000000000000000000
+01101111111000010000001100010111
+00100000001110100100111010111000
+01000100111111101100000000011111
+01101111111000001000001100011001
+11000000000000001101000110110101
+11000000001010000100111010100010
+11000000001010001100111010110001
+11000000001010010100111010101111
+11000000001010011100111010101111
+00100000001000000100111010111000
+00100000010000000101001101101001
+00011000000000000010010000000000
+00100000010000000101001101110100
+00011111111000100000101000000000
+01101111111000010000001100010111
+00011111111000100010011000000000
+01101111111000010000001100010101
+10011000000000000000110000000000
+00100000010000000101000111000011
+00011010011000001010011111111100
+00100100001000101101000110111101
+00011010010000100000010000000000
+00100000010000000101000110011010
+00100000001000000100111010111000
+11101111111000001000000000000110
+11000000000000010101000111001110
+11000000000000001101000111010001
+11000000000000011101000111011011
+11000000000000101101001000010111
+11000000000000100101001001001001
+11000000000000111101001011001110
+11000000000000110101001010011100
+11000000000001000101000100001100
+11000000000001010100111011110110
+00100000001000000101001011101001
+00100000010000000111110101100001
+00100000010000000111110101100110
+00100000001000000100111100001101
+11101111111000001000000000000110
+00011111111000100000111000000000
+11101111111000010000000000000110
+00011111111000100010001000000000
+00011010011000100111111000000000
+10011010001001100010011000000000
+11101111111000001000000000000110
+00011010001000001010001111111111
+00100100001000101101000111010111
+00100000011000000000000000000000
+11101111111000001000000000000110
+00011111111000100000111000000000
+11101111111000010000000000000110
+00011111111000100010001000000000
+11101111111000010000000000000110
+00011111111000100001011000000000
+11101111111000010000000000000110
+00011111111000100000010000000000
+11101111111000010000000000000110
+00011111111001100111110000000000
+00100000001000101101000111101101
+11000000000000010101000111101001
+11000000000000100101000111101001
+00100000001000000101000111101011
+01110000000010010101101100010110
+00100000010000000111100011011100
+11101111111000010000000000000110
+00100000001000000101001000010100
+00100000010000000111110101100001
+01000100111111110100000000011111
+01011000000000000000000001010000
+10011000010001100111110000000000
+00100000001000101101000111111100
+01011000000000000000000001010001
+10011000010001100111110000000000
+00100000001000101101001000000010
+01011000000000000000000001010011
+10011000010001100111110000000000
+00100000001000101101001000001110
+01011000000000000000000001010010
+10011000010001100111110000000000
+00100000001000101101001000001000
+00100000001000000101001000010100
+00011001011000100111111000000000
+01100111111000010100010011011011
+01101111111000001100010011100011
+01111001001000000111111000000001
+01100111111000001100010011100011
+00100000001000000101001000010011
+00011001011000100111111000000000
+01100111111000010100010011011101
+01101111111000001100010011100100
+01111001001000000111111000000001
+01100111111000001100010011100100
+00100000001000000101001000010011
+00011001011000100111111000000000
+01100111111000010100010011011111
+01101111111000001100010011100101
+01111001001000000111111000000001
+01100111111000001100010011100101
+00100000001000000101001000010011
+00011001011000100111111000000000
+01100111111000010100010011100001
+01101111111000001100010011100110
+01111001001000000111111000000001
+01100111111000001100010011100110
+00100000010000000111110101100110
+00011010011000100111111000000000
+10011010001001100010011000000000
+00100000011000000000000000000000
+11101111111000001000000000000110
+00011111111000100000111000000000
+11101111111000010000000000000110
+00011111111000100010001000000000
+00011010011000100111111000000000
+10011010001001100010011000000000
+11101111111000010000000000000110
+00011111111000100001011000000000
+11101111111000010000000000000110
+11101111111000010000000000000110
+00100100001110100101001001000011
+00100000010000000111110101100001
+00011001011000100000010000000000
+01000100111111111100000000011111
+01011000000000000000000001010000
+10011000010001100111110000000000
+00100000001000101101001000110001
+01011000000000000000000001010001
+10011000010001100111110000000000
+00100000001000101101001000110101
+01011000000000000000000001010010
+10011000010001100111110000000000
+00100000001000101101001000111001
+01011000000000000000000001010011
+10011000010001100111110000000000
+00100000001000101101001000111101
+01101111111000001100010011100011
+01111001001000000111111000000101
+01100111111000001100010011100011
+00100000011000000000000000000000
+01101111111000001100010011100100
+01111001001000000111111000000101
+01100111111000001100010011100100
+00100000011000000000000000000000
+01101111111000001100010011100101
+01111001001000000111111000000101
+01100111111000001100010011100101
+00100000011000000000000000000000
+01101111111000001100010011100110
+01111001001000000111111000000101
+01100111111000001100010011100110
+01110000000010010101101100000110
+00100000001000000111100011011100
+00100000010000000111110101100110
+00011010001000001010001111111010
+00100000001000101101001001001000
+00011000110000001000110000000001
+00011010001000001010001111111111
+00100000001000000101001001000100
+00100000011000000000000000000000
+11101111111000001000000000000110
+00011111111000100000111000000000
+11101111111000010000000000000110
+00011111111000100010001000000000
+00011010011000100111111000000000
+10011010001001100010011000000000
+11101111111000010000000000000110
+00011000110000001000110000000010
+00011111111000100000010000000000
+01011000000000000000000000000101
+11100111111000001000000000000101
+00011000111000100111111000000000
+11100111111000001000000000000101
+00011010001000001010001000000010
+00011010001000100111111000000000
+11100111111000010000000000000101
+00100000010000000111110101100001
+01000111000000000100000000100000
+01011000000000000000000001010000
+10011000010001100111110000000000
+00100000001000101101001001101000
+01011000000000000000000001010001
+10011000010001100111110000000000
+00100000001000101101001001111001
+01011000000000000000000001010010
+10011000010001100111110000000000
+00100000001000101101001001111111
+01011000000000000000000001010011
+10011000010001100111110000000000
+00100000001000101101001010000101
+00100000001000000101001010001010
+01101111111000001100010011100011
+01111001001000000111111000000100
+01111001001000000111111000000011
+01100111111000001100010011100011
+11000010100000010101001001110110
+01101000010010001000001100110000
+01111001001000000000010000000110
+01100000010010001000001100110000
+00011000111000100111111000000000
+00011111111000001111111000000001
+01100111111000001000001100110010
+01101111111000001100010011100011
+01111001001000000111111000000010
+01100111111000001100010011100011
+01101111111000010100010011011011
+01100111111000010000001100110011
+00100000001000000101001010001010
+01101111111000001100010011100100
+01111001001000000111111000000100
+01111001001000000111111000000011
+01100111111000001100010011100100
+01101111111000010100010011011101
+00100000001000000101001010001010
+01101111111000001100010011100101
+01111001001000000111111000000100
+01111001001000000111111000000011
+01100111111000001100010011100101
+01101111111000010100010011011111
+00100000001000000101001010001010
+01101111111000001100010011100110
+01111001001000000111111000000100
+01111001001000000111111000000011
+01100111111000001100010011100110
+01101111111000010100010011100001
+00011111111000100001011000000000
+00100000010000000111110101100110
+00011001011000100111111000000000
+11100111111000010000000000000101
+00011000000000000111111000000000
+11100111111000010000000000000101
+00011000000000000111111000000000
+11100111111000010000000000000101
+00011000000000000111111000001010
+10011010010000001010010000000000
+00011010001000001010001111111010
+00100000001000101101001010011011
+11101111111000001000000000000110
+11100111111000001000000000000101
+00011010010000001010010000000001
+00011010001000001010001111111111
+00100000001000000101001010010101
+00100000011000000000000000000000
+11101111111000001000000000000110
+00011111111000100000111000000000
+11101111111000010000000000000110
+00011111111000100010001000000000
+00011010011000100111111000000000
+10011010001001100010011000000000
+11101111111000010000000000000110
+00011111111000100010001000000000
+11101111111000010000000000000110
+00011111111000100001011000000000
+00100000010000000111110101100001
+01000111000000001100000000100000
+01011000000000000000000001010000
+00011010001000100000010000000000
+10011000010001100111110000000000
+00100000001000101101001010110101
+01011000000000000000000001010010
+00011010001000100000010000000000
+10011000010001100111110000000000
+00100000001000101101001010111010
+01011000000000000000000001010011
+00011010001000100000010000000000
+10011000010001100111110000000000
+00100000001000101101001010111100
+00100000001000000101001010111110
+01011000000000000000000000000000
+01100111111000010000001100100110
+01100111111000010100010011011011
+01100111111000001100010011100011
+00100000001000000101001011000000
+00100000010000000101000100110101
+00100000001000000101001011000000
+00100000010000000101000100111011
+00100000001000000101001011000000
+01011000000000000000000000000000
+01100111111000010000001100101100
+00100000010000000111110101100110
+01011000000000000000000000000111
+11100111111000001000000000000101
+00011000111000100111111000000000
+11100111111000001000000000000101
+01011000000000000000000000000100
+11100111111000010000000000000101
+00011010001000100111111000000000
+11100111111000010000000000000101
+00011001011000100111111000000000
+11100111111000010000000000000101
+00011000000000000111111000001000
+10011010010000001010010000000000
+00100000011000000000000000000000
+11101111111000001000000000000110
+00011111111000100000111000000000
+11101111111000010000000000000110
+00011111111000100010001000000000
+11101111111000010000000000000110
+00011111111000100001011000000000
+11101111111000010000000000000110
+00011111111000100000010000000000
+00100000010000000111110101100001
+01000111000000010100000000100000
+01101111111000001100010011101000
+10101000111000011111111000000000
+00100100001000001101001011100101
+01011000000000000000000001010000
+10011000010001100111110000000000
+00100000001000101101001011100010
+01011000000000000000000001010001
+10011000010001100111110000000000
+00100000001000101101001011100101
+00100000001000000101001011100101
+01110000010001001101101100000000
+01110000010001001110001100000000
+00100000001000000101001011100101
+00100000010000000111110101100110
+00011010011000100111111000000000
+10011010001001100010011000000000
+00100000011000000000000000000000
+01011000000000000000000000000001
+11100111111000001000000000000101
+11101111111000001000000000000110
+11100111111000001000000000000101
+01011000000000000000000000000010
+11100111111000010000000000000101
+01011000000000000000000000000000
+11100111111000010000000000000101
+01011000000000000000000000000110
+10011010010000001010010000000000
+00011000000000000010011000000100
+00100000011000000000000000000000
+01101111111000001100010011101000
+00011111111000001111111000000001
+11000000100000000101001011111001
+00011111111000001111111000000001
+01100111111000001100010011101000
+00100000011000000000000000000000
+11011011000000000001100000000000
+11011101011000000000000010000000
+00100000010000000111111011000101
+00100000001000000101001100000011
+01101011000000010100001111011110
+01101101011000010100001111100000
+00100000010000000111111011000111
+00100000001000000101001100000011
+01000111000000011100000000100000
+00100000010000000101001101001111
+00100100001110100001001101111100
+00100000010000000101001101011111
+11011111001000000000000000001000
+01101000010010001100010011101001
+00011111001001100000111000001000
+10101000010011111111111111111111
+00100000001000001101001100010000
+00100000010000000101001100010111
+00100100001000010101001100010000
+00100000010000000101001100101101
+00100000001000000101001100010100
+00011101011000100111111000000000
+10011011000000001011000000000000
+11000010000000000101001100001000
+00100000001000000001001101111100
+00011011000000100111111000000000
+00011011000000100000101000000000
+00100000011000000000000000000000
+01000111000000100100000000100000
+00011111001001100000111000001000
+11011000010000000000000000000000
+11011001011000000000000000000000
+00011000111000100111111000000000
+11000000000001000101001100101000
+01101111111000001100010011101001
+10101111111011111111111111111111
+00100000001000001101001100101000
+11111001001000000001011000000000
+00011101011000100111111000000000
+10011000010000001000010000000000
+00011000111000001000111000000001
+00011010001000100111111000000000
+10011000010001100111110000000000
+00100000001000101101001100101000
+00100000001000010101001100011011
+00011000010000100111111000000000
+10011010001001100111110000000000
+00100100011000101000000000000000
+11111001001000000001011000000000
+00100000011000000000000000000000
+01000111000000101100000000100000
+00100000010000000101001101001111
+00100100001110100001001101111100
+00100000010000000101001101010101
+00100000001110100101001100110110
+01101111111001001100010011101101
+01100111111001001100010011101010
+01011000000000000000000000000000
+11100111111000011000000000000101
+01100001011000001100010011110011
+01100011000000010100010011110100
+00100000011000000000000000000000
+01000111000000110100000000100000
+00100000010000000101001101011000
+00011000110000001000110000000001
+11101111111000010000000000000110
+00100000011000000000000000000000
+01000111000000111100000000100000
+00100000010000000101001101011000
+00011000110000100000101000000000
+00011000110000100000010000000000
+01011000000000000000000000000000
+11100111111000011000000000000101
+00100000011000000000000000000000
+01000111000001000100000000100001
+00100000010000000101001101010101
+00100000001110100001001101111100
+01101111111000011100010011110000
+01100111111000011100010011110011
+01101111111000011100010011101101
+01100111111000011100010011110000
+01101111111000011100010011101010
+01100111111000011100010011101101
+00100000011000000000000000000000
+01000111000001001100000000100001
+01101111111000011100010011101010
+00100000011000000000000000000000
+01000111000001010100000000100001
+01101111111000011100010011101101
+00100000011000000000000000000000
+01000111000001011100000000100001
+01101111111000011100010011110011
+00100000011000000000000000000000
+00100000010000000101001101010101
+00100000001110100101001101011101
+11011000110000000100010011101010
+11101111111000011000000000000110
+00100000001110100101001101011011
+00011000110000001000110111111101
+00100000011000000000000000000000
+01000111000001100100000000100001
+11011111001000000000000000000100
+11011000110000000100010011101010
+11011000010000000000000000000000
+11101111111000011000000000000110
+00011111111000010111111011111111
+10011000010000011000010000000000
+11000010000000000101001101100011
+01100000010010001100010011101001
+00100000011000000000000000000000
+01000111000001101100000000100001
+11011010001000000000000001111111
+00100000010000000101001011111011
+01100111111000010000001100011100
+00011111111000001111111000000100
+01100111111000010000001100011110
+01011000000000000000000000000000
+01100111111000010000001100100000
+00100000011000000000000000000000
+01101111111000010000001100011100
+00100000001000000101001110010011
+01101111111000010000001100011110
+00100000001000000101001110010011
+01000111000001110100000000100001
+11011010001000000000000011111010
+00100000010000000101001011111011
+01100111111000010000001100100010
+00011111111000001111111000000100
+01100111111000010000001100100100
+01011000000000000000000000000000
+01100111111000010000001100100110
+00100000011000000000000000000000
+01101111111000010000001100100010
+00100000001000000101001110010011
+01101111111000010000001100100100
+00100000001000000101001110010011
+01000111000001111100000000100001
+00100000010000000111110100111011
+01110000000000110011010100000001
+00100000010000000101001101001111
+00100100011110100000000000000000
+11011010001000000000000001111111
+00100000010000000101001011111011
+01100111111000010000001100101000
+00011111111000001111111000000100
+01100111111000010000001100101010
+01011000000000000000000000000000
+01100111111000010000001100101100
+01110000000000110011010100000000
+00100000001000000111110101000111
+01101111111000010000001100101000
+00100000001000000101001110010011
+00100000001110100001001101111100
+00011111111000100000101000000000
+00100000011000000000000000000000
+01000111000010000100000000100010
+11011010010000000000000000000000
+11011010001000000100010011101010
+00011010001000001010001111111110
+00011010001000001010001000000010
+01011000000000000100010011110110
+10011010001001100111110000000000
+00100000001000101101001110100110
+11101111111000001000000000010001
+00011010001000001010001000000001
+00100000001110100101001110011010
+11101000010000010000000000010001
+11101111111000010000000000000010
+10011010010000001010010000000000
+00011010010000001010010000000100
+00100000001000000101001110011010
+00011010010000100111111000000000
+00100000011000000000000000000000
+11011000111000000000000000001100
+00100000001000000001010101100110
+11011000111000000000000000001100
+00100000001000000001010101101010
+01000111000010001100000000100010
+00100000010000000101001101011111
+01101111111000001100010011101001
+00100000011110100000000000000000
+00100000010000000101001110010110
+11011000010000000000000100000000
+10011000010001100111110000000000
+00100000001000010101001110101000
+00100000010000000101001110101010
+11011000101000000100010011110110
+11011010001000000100010011101010
+01011000000000000100010011110110
+10011010001001100111110000000000
+00100000011000101000000000000000
+11101111111000001000000000010001
+00011010001000001010001000000001
+00100100001110100101001111000000
+11100111111000010000000000000101
+00011010001000001010001000000010
+00100000001000000101001110110111
+11101111111000010000000000010001
+00011010001000001010001000000010
+00011111111000100000110000000000
+11101111111000010000000000000110
+11100111111000010000000000000101
+00011111111000100111001000000000
+00011111001000001111001000000010
+00100000010000000111110111010100
+00100000001000000101001110110111
+01000111000010010100000000100010
+00100000010000000101001101011111
+01101111111000001100010011101001
+00100000011110100000000000000000
+11011010001000000100010011101011
+00011010001000001010001111111101
+11011000110000000100010011110110
+00011010001000001010001000000011
+01011000000000000100010011110111
+10011010001001100111110000000000
+00100000011000101000000000000000
+11101111111000010000000000000110
+00100000001110100101001111010000
+00011111111000001111111000000100
+00011111111000100111001000000000
+00011000110000100010010000000000
+11101111111000010000000000010001
+00011111111000100000101000000000
+00011010010000100000110000000000
+00011000110000001000110111111110
+00100000010000000111110111010100
+00100000001000000101001111010000
+00100000011101011000000000000000
+01000111000010011100000000100010
+01011000000000000000000000000000
+01100111111000001000000001001000
+01100111111000001000000001010101
+01100111111000001000000001111000
+01100111111000001000000001111100
+01100111111000001100000101011101
+01100111111000001000000010111100
+01100111111000001000100001110111
+01100111111000011100011001000111
+01100111111000001100011001001010
+01110000010001100100010100000000
+01110000000000110000110000000000
+01110000000000111010101100000000
+01110000000010000111011100000000
+01110000000010000111011000000000
+01110000000000111010010100000000
+00100000011000000000000000000000
+01000111000010100100000000100010
+00100000010101001101101010000010
+00100100010101001101101010000110
+00100000010000000101101000111111
+00100100011110100000000000000000
+01101111111000001000000001001100
+11000100000000110000000000000000
+01111001001111111111111000000110
+01111001001111111000000000000001
+01100111111000001000000001001100
+01101111111000001000000011001110
+01101000010010001000000001001100
+00101111111011111111111000000000
+01111001001000001000010000000001
+01100000010010001000000001001100
+00011000010000010000010000000010
+01100000010010001000000001111111
+01101000010010001000000001001100
+00011111111000110111111000000000
+01100111111000001000000001111101
+01000111000010101100000000100010
+01101111111000001000000001111101
+11000000001111111101010001010100
+11000000000000011101010011000000
+11000000000000100101010011010001
+11000000000111100101010001000111
+11000000000000101101010001000011
+11000000000001111101011011110111
+11000000000010000101010100110110
+11000000000100011101010101010101
+11000000000111001101011100010000
+11000000000111000101011100001011
+11000000000110001101010100111011
+11000000000110111101010111010111
+11000000000100111101010111010011
+11000000000110011101010111010000
+11000000000100101101010111010101
+11000000000100110101010101010001
+11000000000000111101010101001010
+11000000000101101101010101000001
+11000000000101110101010101000010
+11000000000000001101010111001100
+11000000000000010101010110110111
+11000000000101000101011100000010
+11000000000001001101010110101101
+11000000000001011101010101110100
+11000000000001000101010101010110
+11000000000001100101010110000110
+11000000000011111101010101001101
+11000000000100000101010101001111
+11000000000100001101010111110001
+11000000000100010101010111110001
+11000000000110101101010111110010
+11000000000110110101010111110011
+11000000000100100101010111110001
+11000000000110100101010111110100
+11000000000010111101010111111101
+11000000000010001101011000010111
+11000000000010010101011000100100
+11000000000010011101011000100110
+11000000000001101101011000110110
+11000000000001110101011000110110
+11000000000101111101010111010001
+11000000000110000101011000110110
+11000000000001010101011000110110
+11000000000011000101011000110111
+11000000000110010101011000110110
+11000000000111101101011000111100
+11000000000111110101011010000101
+11000000000111111101011001111110
+11000000001000000101011011001000
+11000000001000001101011011011001
+11000000000000110101011011110110
+11000000000111010101010001000101
+11000000000101010101010001000001
+11000000000101001101010001000010
+01110000000000000111111000011001
+01110000000000000111110000000100
+00100000011000000000000000000000
+00100000001000000101010101001011
+00100000011000000000000000000000
+01110000000000000111110000000110
+00100000011000000000000000000000
+01110000000000000111110000111011
+00100000011000000000000000000000
+01101111111000100000000011001111
+00011111111000111111111000000000
+01100111111000100100000011011001
+01101111111000001000000011010011
+01100111111000001100000011100000
+01101111111000101000000011010100
+01100111111000101100000011101110
+01101111111000101000000011011001
+11100111111000101000000000000101
+01101111111000001000000000110001
+01111001001000000111111000000011
+01100111111000001000000000110001
+00100000011000000000000000000000
+01000111000010110100000000100010
+01101111111000001000000011001111
+01111001001000000111111000000111
+01100111111000001000000001111101
+11000000010000001101010001111001
+11000000010000010101010001111110
+11000000010010101101010111011000
+11000000010010110101010111110001
+11000000010001011101010111100110
+11000000010000011101010010010100
+11000000010000100101010010110110
+11000000010010000101010001101011
+11000000010010111101010010001101
+11000000010011000101010010010010
+11000000010011001101010001101110
+11000000010011010101010001110001
+11000000010100001101010001101001
+11000001010000100000000000000000
+01110000000000000111110010000010
+01110000000000000111111000011001
+00100000011000000000000000000000
+01110000000000000111110010100010
+00100000011000000000000000000000
+01110000000000000111110010000010
+01110000000000000111111000101110
+00100000011000000000000000000000
+00100000010000000101010001110011
+01110000000000000111110010011010
+00100000011000000000000000000000
+00100000010000000101010001110011
+00100000001000000101010001110111
+11011000101000000100011101101011
+01101111111000011000000011010000
+11100111111000011000000000000101
+00100000011000000000000000000000
+00100000001000001111000011010011
+00100000011000000000000000000000
+01101111111000001000000011010001
+01111001001000000111111000000111
+01100111111000001000001110011101
+11000000010001011101010010000011
+00100000011000000000000000000000
+01101111111000001000000011010001
+01111001001000000111111000000111
+01100111111000001000001110011101
+11000000010001011101010010000111
+00100000011000000000000000000000
+01101111111000001100000101011111
+01101000010010001000000001001100
+01111101001110100000010000000101
+01100000010010001000000001001100
+01101111111000001000000000110000
+11000100000000101000000000000000
+01111001001111111111111000000101
+01100111111000001000000000110000
+01110000000000000111110000110001
+00100000011000000000000000000000
+00100100001101001101010010010000
+01110000000000000111110000010010
+00100000001000000101101001101110
+01110000000000000111110010010111
+00100000011000000000000000000000
+00100000010000000101101001101110
+00100000001000000101011101001101
+11101111111000001000000000000110
+01100111111000001000001110100001
+11000000000000001101010010011001
+11000000000000010101010010011110
+00100000011000000000000000000000
+01110000000000000111110010000100
+00011000110000001000110000000001
+11101111111000001000000000000110
+11000010100000011101010010110000
+00100000001000000101010010110011
+01110000000000000111110010000100
+00011000110000001000110000000001
+11101111111000010000000000000110
+11000010100001000101010010100011
+00100000001000000101010010101100
+01101111111000001100011001001010
+01111001001000000111111000000001
+00100000010000000101010010101110
+01101111111000001100011001001010
+11000001100000011000000000000000
+01101111111000001100011010111011
+11000100000000001000000000000000
+01110000010001100100100000000010
+00100000011000000000000000000000
+01101111111000001100011001001010
+01111001001111111111111000000001
+01100111111000001100011001001010
+00100000011000000000000000000000
+01101111111000001100011001001010
+01111001001000000111111000000000
+00100000001000000101010010101110
+01101111111000001100011001001010
+01111001001111111111111000000000
+00100000001000000101010010101110
+01101000010010001000000011010010
+00011000010000010000010000000001
+01100000010010001000001110100100
+01101111111000001100000111011011
+11000000101010001101010010111100
+01110000010000011101101100000000
+01101111111000001000000001010101
+11000001100010101000000000000000
+01110000000000000101010100000100
+00100000001000000101101010011110
+01000111000010111100000000100010
+01101111111000001000000011001111
+01100111111000001000001110011101
+11000000000110011101010011100111
+11000000000001000101010011110110
+11000000000001111101010011111101
+11000000000010000101010100000011
+11000000000010001101010100000100
+11000000000010010101010100001100
+11000000000011000101010100100101
+11000000000010111101010100101000
+11000000000010011101010011011110
+11000000000111101101011001010001
+11000000000111110101011010110010
+11000000001000000101011001010011
+11000000001000001101011001110000
+00100000011000000000000000000000
+01000111000011000100000000100011
+01101111111000001000000011001111
+01100111111000001000001110011101
+11000000000000001101010100011100
+11000000000110011101010011110001
+11000000000001011101010100001101
+11000000000001000101010100010011
+11000000000010011101010011100001
+11000000001000000101010100011101
+11000000001000001101010100100000
+11000000000011000101010100100011
+11000000000010111101010100110100
+00100000011000000000000000000000
+01110000000010010101101100100000
+00100000010000000111100011011100
+00100000001000000000100111011101
+01110000000010010101101100011001
+00100000010000000111100011011100
+01110000010001100100010100000010
+01011000000000000000000001010000
+11011000111000000000000000000110
+00100000001000000111110111011011
+01101111111000001000001110100101
+01111001001000000111111000000000
+01100111111000001000001110100101
+01110000000010010101101100000001
+00100000010000000111100011011100
+01110000000000000111110010001011
+01101111111000001000000001010101
+11000000100000101101001111110001
+01110000000000000101010100000110
+00100000011000000000000000000000
+01110000000000111001111000001011
+01110000000000000111110000000111
+01110000000000000101010100000000
+00100000001000001101001111110001
+00100000011000000000000000000000
+01101111111000001100000111001010
+00100100011110100000000000000000
+00100000010000000000110001011100
+00100000010000000101011101001011
+00100000011101001000000000000000
+01111001001000000000000000100001
+00100000011000000000000000000000
+00100100011101001000000000000000
+01110000000000000111110000010000
+01101111111000001000000001001100
+11000100000000010000000000000000
+01110000000000000111110000010010
+00100000011000000000000000000000
+00100000001000000101011101001101
+00100000010000000101011110101001
+01101111111000001000000000110000
+11000011100000100000000000000000
+01110000000000000111110000110001
+01101111111000001000000001010101
+11000001100001010000000000000000
+01110000000000000101010100001011
+00100000011000000000000000000000
+00100000011000000000000000000000
+01101111111000001100000010011010
+00011111111001100111110000001000
+00100000010000101011111001010111
+01110000000000000111110000000111
+01110000000000111001111000010011
+00100000011000000000000000000000
+01101111111000001000000011010000
+11000000000000110101010100011001
+11000001100011000000000000000000
+01110000000000111001111000011000
+01110000000000000111110000000111
+00100000011000000000000000000000
+01110000000000111001111000000110
+01110000000000000111110000000111
+00100000011000000000000000000000
+00100000011000000000000000000000
+01110000000010000111000000000000
+01110000000000000111110000000111
+00100000001000000101001111110001
+01110000000010000111000000000000
+01110000000000000111110000000111
+00100000001000000101001111110001
+01110000000010010101101100100100
+00100000001000000111100011011100
+01110000000010010101101100100011
+00100000010000000111100011011100
+00100000001000000000111100010010
+01110000000010010101101100100010
+00100000010000000111100011011100
+01011000000000000000000000000000
+01100111111000010000000001110101
+01101111111000010100010001010101
+00011111111000111111111000000000
+01100111111000010000000000110010
+01101111111000001100010001010111
+01100111111000001000000001110011
+01101111111000001100010001011001
+01100111111000001000000001110100
+00100000001000000000111011110001
+01110000000010010101101100100001
+00100000001000000111100011011100
+01101000010010001000000011001111
+00011000010001100111110000000110
+00100000001000010101011011101100
+01100000010010001000000001010100
+00100000001000000101010101001011
+01101111111000001000001110100101
+01111001001000000111111000000010
+01100111111000001000001110100101
+11000011100000011000000000000000
+01110000000000000111110000110001
+00100000001000000101001111110001
+00100000011000000000000000000000
+01101111111000001100000011010111
+01101000010010001000000011001111
+10011000010001100111110000000000
+00100000001000010101010101001011
+01110000000000000111110000000100
+01110000000000000111111000011111
+01110000000000000111110100101110
+00100000011000000000000000000000
+00100000001000000101100011000000
+01110000000000000111110000000011
+00100000011000000000000000000000
+01110000000000000111110000100001
+00100000011000000000000000000000
+01110000000000000111110000100010
+00100000011000000000000000000000
+01101111111000001000000001010101
+11000001000010011000000000000000
+01110000000000000101010100000010
+00100000011000000000000000000000
+00100000011000000000000000000000
+01101111111000001100011010111001
+00100100001110100101010101011111
+00100000010000000101011101001000
+01110000000000111010100000000001
+01110000000010010101101100001010
+00100000010000000111100011011100
+00100000010000000101101001110110
+00100100001000001101011101010000
+00100100001101001101010101100011
+01110000000000000111110000000100
+01110000000000000111110100001000
+01110000000000000111111000100011
+00100000011000000000000000000000
+01101111111000001000000001001011
+01111001001000000111111000000010
+01100111111000001000000001001011
+00100000011000000000000000000000
+01101000010010001000000001001100
+01111101001110100000010000000001
+01100000010010001000000001001100
+00100000011000000000000000000000
+01101111111000001000000001111111
+00011111111000110111111000000000
+00011111111000010111111000000001
+00100000011000000000000000000000
+01101111111000001100010010001011
+00100000011110100000000000000000
+01101111111000001000100001110111
+00100000010110100110000010101111
+00100000011000000000000000000000
+00100000010000000101010101101111
+00100000010000000101010101101011
+01100111111000001000001110101001
+01101111111000001100011001001000
+11000000000000010101010110000001
+00100000010000000101011101001000
+01110000000000000111110000001100
+01101111111000001100000111001010
+00100100011110100000000000000000
+01101111111000001000000000110000
+11000011100000110000000000000000
+01110000000000000111111000000110
+00100000001000000101010000111111
+01110000000000000111110000001011
+11011000101000000000100011110000
+11011000110000000000000011001111
+00100000010000000111110101111111
+00100000001000000101010101111011
+01101111111000001100011001001000
+11000000000000010101010110010110
+11011010001000000000000001000000
+00100000010000000110101110100110
+01101000010010100000010001010100
+01101111111000100000000011001111
+10011000010001100111110000000000
+00100000001000101101010110010001
+01110000000000000111110000000111
+01110000000000111001111000000101
+00100000011000000000000000000000
+00100000010000000110110010100100
+00100000010000000101010110011111
+01101111111000001100011101100111
+00100000001110100101011001110001
+00100000011000000000000000000000
+01101111111000100000000011001111
+01101000010010100000100100011100
+10011000010001100111110000000000
+00100000001000101101010110011011
+00100000001000000101010110001110
+00100000010000000101010110011111
+01101111111000001100011010111011
+11000010100000001101011001110001
+00100000011000000000000000000000
+00100000010000000000100110110100
+01101111111000001000000001001011
+00101111111011111111111000000001
+01111001001111111111111000000001
+01100111111000001000000001001011
+01101111111000001000000001010101
+11000000000011001101010110101000
+11000000000011000101010110101000
+00100000011000000000000000000000
+01101111111000001000100001110111
+11000001100000000000000000000000
+01101111111000001000000001001100
+11000011100000010000000000000000
+00100000001000000101101100110101
+11011010001000000000000011001111
+11011010010000000000010001000100
+11011000101000000000010000100100
+00100000010000000110110001110000
+11011010001000000000000001000000
+00100000010000000101101010010100
+01110000000000000111110000001011
+01101111111000001000000000110000
+11000011000000110101011101001011
+00100000011000000000000000000000
+01101111111000010000000010101110
+00011111111000001111001111111101
+01101000010010001000000011001111
+01011000000000000000101000000001
+10011000010000001000101000000000
+11011000110000000000000011010001
+00100000010000000111110111010100
+01101000010010001000000001010011
+01101111111000001000000011010000
+10011000010001100111111000000000
+00011111111001100111110000001110
+00100000001000010101010111000111
+00011000010000001111111000001110
+01100111111000001000000001010011
+01110000000000000111110000000001
+00100000011000000000000000000000
+01101111111000001000000001001100
+01111001001000000111111000000011
+01100111111000001000000001001100
+11000010100000100101011101010101
+00100000011000000000000000000000
+01101111111000001000000011001111
+01100111111000001000000001111101
+01110000000000000111110000000010
+00100000011000000000000000000000
+00100000001000000101010101001011
+01110000000000000111110000110000
+00100000011000000000000000000000
+01110000000000000111110000101000
+00100000011000000000000000000000
+01110000000000000111110000100110
+00100000011000000000000000000000
+00100000011000000000000000000000
+01101111111000010000000000110010
+10011000000000000000010000000000
+01101111111000001000000011010000
+01100111111000001000000010010010
+10011000010011111000010000000000
+01101111111000010000000011010001
+00011111111000111111111000000000
+01100111111000010000000010010011
+01101111111000100000000011010011
+00011111111000111111111000000000
+01100111111000100000000010001110
+00011000010000100111111000000000
+01100111111000010000000010010101
+00100000011000000000000000000000
+01101000010010001100000101011111
+01101111111000001000000011010000
+10011000010000101111110000000000
+00100100001000101101010001100110
+00101111111011111111111000000000
+01101111111000001000000001001100
+01111001001000001111111000000101
+01100111111000001000000001001100
+01110000000000000111110010000001
+01110000000000000111110110001011
+00100000011000000000000000000000
+00100000011000000000000000000000
+00100000001000000101010101001011
+00100000001000000101010101001011
+01101111111000010000000011001111
+01100111111000010000000011000000
+00100000011000000000000000000000
+01101111111000010000000011010010
+01101000010010001100000101110111
+10011000010011111111111000000000
+11011000010000000000011001000000
+10011000010001100111110000000000
+00100000011000000000000000000000
+01101111111000010000000011010100
+00100000001110100101011011101100
+00100000010000000101010111110111
+00100000001000010101011011101100
+01101111111000001100000010011010
+00011111111001100111110000001010
+00100000010000101011110001001100
+01101111111000001000000000110000
+11000010100000001101011011101100
+01101111111000010000000011010000
+00011111111000111111111000000000
+01100111111000010000000001110101
+01101111111000010000000011010010
+00011111111000111111111000000000
+01100111111000010000000000110010
+01101111111000010000000011010100
+01100111111000001000000001110011
+10011000000000000000010000000000
+01101111111000010000000011010110
+01100111111000001000000001110100
+10011000010001100111110000000000
+00100100001000010101011000010100
+01100111111000001000000001110011
+01110000000000000111110000000011
+01110000000000000111110100010111
+00100000011000000000000000000000
+01101111111000001100011001001000
+11000000000000010101011000011101
+00100000010000000101010101001011
+00100000010000000101011101001000
+00100000010000000110101110101001
+00100000001000000000111011100001
+00100000010000000101010101001011
+00100000010000000000111011100001
+00100000010000000111010100110111
+11011000101000000000000001100010
+11011000110000000000100100010000
+11011111001000000000000000010000
+00100000001000000111111011011001
+00100000010000000101010101001011
+00100000001000000000111011101011
+01101111111000100000000011001111
+00011111111000111111111000000000
+00100000001101001101011000110000
+01101000010010001100000111001010
+00100100001110100101011000101101
+01110000000000000111110100010011
+00100000001000000101011011101100
+01110000000000000111110000110100
+01110000000000000101010100000000
+00100000001000000000100111011011
+00100000010000000000100111011011
+01111001001000000000000000100010
+01101111111000001000000010111100
+01111001001111111111111000000010
+01100111111000001000000010111100
+00100000001000000101010101001011
+00100000011000000000000000000000
+01110000000000000111110000000011
+01110000000000000111110100011000
+01110000000010010101101100101110
+00100000010000000111100011011100
+00100000001000000000111100010010
+01110000000010000111100100000000
+01101111111000001000000011001111
+01100111111000001100011001000111
+11000000100000001101011011101100
+01101000010010001000000011010000
+01100000010010001100011001001000
+01101111111000001100011010111001
+00100000001110100101011001000110
+00011000010001100111110000000010
+00100100001000101101010110001110
+01101111111000001000000011010001
+11000000001000000101011001001010
+11000000000110000101011001001010
+00100000001000000101011011101100
+01100111111000001100011001001001
+00100000010000000101101001111111
+00100000001000001101011001001110
+01110000000010000111000000000001
+01110000000000000111110000000011
+01110000000000000111110100111101
+00100000001000000101001111110001
+01110000000000000111110000111110
+00100000011000000000000000000000
+01101111111000001100011101101111
+11000000000000001101011001011010
+11000000000000010101011001011110
+00100000010000000101101001111111
+00100000011000001000000000000000
+01110000000010000111000000001000
+00100000011000000000000000000000
+00100000010000000111001101011101
+01110000000010010101101100110101
+00100000010000000111100011011100
+00100000001000000101011001010110
+00100000010000000101101001111111
+00100000011000001000000000000000
+01101111111000001100011101110000
+11000000000010011101011001101110
+00011111111000001111111000000001
+01100111111000001100011101110000
+01110000000010000111001000000001
+01110000000010000111000000000100
+01101111111000001100011101110000
+00011111111000100000111000000000
+01101111111000110100011110010111
+10101111111011111111111111111111
+01011000000000000000000010000000
+01111001001000001111111000000000
+01100111111000001100011101110001
+00100000011000000000000000000000
+01110000000010000111000000001000
+00100000011000000000000000000000
+00100000010000000101011001110110
+01101111111000001100011101110010
+00100000011110100000000000000000
+01110000010001110111001000000000
+01110000000010010101101100111000
+00100000001000000111100011011100
+00100000010000000101101001111111
+00100100010000001111001101100111
+00100000010000001111001101110111
+00100000010000000101101001111111
+00100000011000001000000000000000
+01110000000010000111000000001100
+01110000000010000111001000000001
+00100000011000000000000000000000
+11011000101000000000100100110000
+11011000110000000000000011001111
+00100000010000000111110101111111
+01101111111000001100011101101111
+11000001000000010000000000000000
+00100000001000000111000011010011
+00100000011000000000000000000000
+01101111111000001100011001001000
+11000000000000001101011010011011
+11000000000000010101011010001001
+00100000001000000101011011101100
+01101111111000001000100001110001
+11000000000000111101011010001101
+01101111111000001000100001110000
+11000000100000001101011011101100
+01101111111000001000100001111001
+00011111111001100000101000110000
+00100100001000010101011011101100
+11011000101000000000100010000000
+10011000101000001000101000000000
+01101111111001000000000011001111
+11100111111001000000000000000101
+01101111111001000000000011010111
+11100111111001000000000000000101
+01101111111000001000100001111001
+00011111111000001111111000010000
+01100111111000001000100001111001
+11000000101000000101010101001011
+00100000001000000101011010101100
+01101111111000001000100001110001
+11000000000000111101011010011111
+01101111111000001000100001110000
+11000000100000001101011011101100
+01101111111000001000100001111001
+00011111111001100000101000100000
+00100100001000010101011011101100
+11011000101000000000100010001000
+10011000101000001000101000000000
+01101111111001000000000011001111
+11100111111001000000000000000101
+01101111111001000000000011010111
+11100111111001000000000000000101
+01101111111000001000100001111001
+00011111111000001111111000010000
+01100111111000001000100001111001
+11000000100110000101010101001011
+00100000010000000101101001111111
+00100000001000001101010101001011
+01110000000010000111101000000001
+01110000000010000111000000000010
+01110000000010000111001000000001
+00100000001000000101010101001011
+01101111111000001100011001001000
+11000000000000001101011010110110
+11000000000000010101011010111010
+00100000011000000000000000000000
+01101111111000001000100001111000
+11000000000110000101011010111110
+01110000000000000111110000111110
+00100000011000000000000000000000
+01101111111000001000100001111000
+11000000001000000101011010111110
+01110000000000000111110000111110
+00100000011000000000000000000000
+00100000010000000101101001111111
+00100000001000001101011011000111
+01101111111000001100011101101111
+11000000000000010101011011000101
+01110000000010000111001000000001
+01110000000010000111000000000100
+00100000001000000101001111110001
+01110000000010010101101100110110
+00100000001000000111100011011100
+00100000001000000101001111110001
+01101111111000001000100001110001
+11000000000000111101011011001100
+01101111111000001000100001110000
+11000000100000110101011011101100
+11011000101000000000100011110000
+01101111111001000000000011001111
+11100111111001000000000000000101
+01101111111001000000000011010111
+11100111111001000000000000000101
+00100000010000000101101001111111
+00100000001000001101011011010110
+01110000000010000111000000000111
+01110000000010000111001000000001
+00100000001000000101010101001011
+01110000000010000111000100000100
+00100000001000000111000011010011
+00100000001000000101011011101100
+01101111111000001000100001110001
+11000000000001011101011011011101
+01101111111000001000100001110000
+11000000100001000101011011101100
+11011000101000000000100100100000
+11011000110000000000000011001111
+00100000010000000111110101111111
+00100000010000000101101001111111
+00100000001000001101011011101001
+01101111111000001100011101101111
+11000000000000001101011011101110
+01110000010001110110111000000000
+01110000000010000111000000001001
+01110000000010000111001000000001
+01110000000000000111110101000001
+00100000001000000101001111110001
+01110000000010000111000100001001
+01110000000010000111001100000001
+00100000001000000101001111110001
+01110000000000000111111000100100
+00100000001000000101010000111111
+01101111111000001100011101101110
+11000010100000111101011011110011
+01111001001000000111111000000110
+01100111111000001100011101101110
+00100000011000000000000000000000
+11000010100000000101011011100100
+01110000010001110110111000000000
+00100000001000000101011011101100
+00100000001000000101001111110001
+01101111111000001000000010111100
+01111001001111111111111000000001
+01100111111000001000000010111100
+00100000010000000101010101001011
+00100100011101001000000000000000
+01101111111000001000000011001111
+01101000010010001000000001001011
+01111001001110100000010000000100
+01111101001110100000010000000101
+01100000010010001000000001001011
+00100000011000000000000000000000
+01101000010011000000000011001111
+01101111111000001000000001010101
+11000001100000011000000000000000
+01101111111000001000000010111100
+11000011000000100101011100001001
+01110000000000000101010100010100
+00100000011000000000000000000000
+01110000000000000101010100000100
+00100000011000000000000000000000
+01101111111000001000000011100011
+01100111111000001000101001011011
+01110000000000000111110000000011
+01110000000000000111110100111000
+00100000011000000000000000000000
+01110000000000000111110000000011
+01110000000000000111110100111001
+00011000000000000111001000001001
+11011000110000000000000011001111
+11011000101000000000101001010010
+11101111111000001000000000000110
+00011111111000101111111001010101
+11100111111000001000000000000101
+11000010000000000101011100010101
+01101111111000001000101001010010
+01101000010010001000101001010001
+01111001001111111000010000000111
+01111001001111111000010000000100
+11000000011111111101011100101001
+11000000000000000101011101000010
+11000000000000101101011100110110
+11000000000000111101011100110101
+11000000000000110101011100110110
+11000000000001000101011100110101
+11000000000000001101011100101110
+11000000000000010101011100101110
+11000000000000011101011100101110
+11000000000001001101011100101110
+11000000000000100101011100101110
+00100000011000000000000000000000
+01101111111000001000101001010001
+01111001001000000111111000000011
+01111001001000000111111000000010
+01100111111000001000101001010001
+00100000011000000000000000000000
+01111001001000000000010000000100
+01110000000000001110010000000101
+01101111111000010000101001011001
+10011000000000000111001000000000
+01100111111000010000000010101110
+11011000101000000000000011001110
+00100000010000000111111001001000
+01111001001000000000010000000111
+01111001001000000000010000000010
+00011000000000000111111000000000
+01100111111000001000000000001011
+01100111111000010000100111111010
+01100111111000010000100111111100
+01100111111000010000100111111000
+01100111111000010000100111110110
+01101111111000001000101001010011
+00101111111000011111111000000000
+01111001001000001000010000000110
+01100000010010001000101001010001
+00100000011000000000000000000000
+01111001001111111000000000010001
+01110000000010100101000100000000
+01101111111000001000000011100011
+01111001001111111111111000000110
+01100111111000001000000011100011
+00100000011000000000000000000000
+11011000110000000000000011001111
+11011000101000000000010000100100
+00100000001000000111110101111111
+01110000000000000111110000001001
+00100000011000000000000000000000
+00100100011101001000000000000000
+01110000000000000111110000010001
+00100000011000000000000000000000
+11011010001000000100000010101000
+00100000010000000110101101110011
+01110000000000000111110000000011
+01110000000000000111110100001000
+00100000011000000000000000000000
+01110000000000000111001000001010
+01110000000000000111110000000111
+01110000000000111001111000010110
+00100000011000000000000000000000
+01000111000011001100000000100011
+01111000010101000111110000000000
+00100000010000000101101001000100
+01101111111000001000000001001000
+00100000011110100000000000000000
+11000010100000111101011110001110
+11000000000000001101100011011000
+11000000000000010101100001011001
+11000000000000011101011110011010
+11000000000000100101011110110000
+11000000000100111101100101000100
+11000000000101000101100001111101
+11000000000110000101100001101001
+11000000000100101101100100111111
+11000000000100110101100001111000
+11000000000110001101100100101100
+11000000000110111101100011010011
+11000000000110011101100011000101
+11000000000001000101100111000110
+11000000000001001101100110111100
+11000000000001011101100111010001
+11000000000001100101100111011110
+11000000000001111101100011001011
+11000000000010000101101000010100
+11000000000010001101101000001010
+11000000000000111101100010111011
+11000000000101010101100011100111
+11000000000001010101100011101000
+11000000000011111101100100100101
+11000000000000110101100001101110
+11000000000100001101100011001000
+11000000000101101101100100011011
+11000000000101110101100100100000
+11000000000100010101100011001000
+11000000000110100101100011101001
+11000000000010011101100011111110
+11000000000010111101100100001101
+11000000000010010101101000010001
+11000000000101111101100100010011
+11000000000011000101100100011000
+11000000000111101101100101100111
+11000000000111110101100101101111
+11000000000111111101100110001010
+11000000001000000101100110010100
+11000000001000001101100110101001
+11000000000100011101100110111000
+11000000000111011101100110110011
+11000000000000101101100110111001
+11000000000101001101100110111010
+11000000000111000101100110111011
+11000000000111001101100011011110
+00100000001000000001001101111100
+00100000011000000000000000000000
+11000000010000001101011110111101
+11000000010000011101100010000010
+11000000010000100101011111101100
+11000000010000010101011111000110
+11000000010001011101100010001111
+11000000010010111101100010110111
+11000000010011001101100001001010
+11000000010011010101100000011001
+11000000010010101101100001001111
+11000000010010110101100001010000
+11000000010100010101011111101001
+00100000001000000001001101111100
+00011000000000000111111000000010
+00100000010000000101101000011010
+01101111111000001000000001001001
+11100111111000001000000000000101
+00100000010000000101101000101001
+01000111000011010100000000100011
+01101111111000001000000001001001
+11000000000001000101011111010000
+11000000000001111101011111010100
+11000000000010000101011111011111
+11000000000010111101011110101111
+11000000000110011101011111100010
+11000000001000001101011111101000
+11000000000010001101011110101001
+00100000011000000000000000000000
+01101111111000001000000001010101
+00100000011110100000000000000000
+01110000000000000101010100011011
+01011000000000000000000000001100
+11011000111000000000000000000111
+00100000001000000111110111011011
+00100000001000000000111011110001
+00011000000000000111111000000011
+00100000010000000101101000011010
+01101111111000001000000001001001
+11000000000001011101011110111000
+11100111111000001000000000000101
+01101111111000001000000001001010
+11100111111000001000000000000101
+00100000001000000101101000101001
+11100111111000001000000000000101
+01101111111000001000000001001010
+11100111111000001000000000000101
+11011000010000000000001110101001
+00100000001000000101101001100101
+00011000000000000000111000000100
+00100000010000000101101000100010
+01011000000000000000000001111111
+11100111111000001000000000000101
+01101111111000001000000001001001
+01111001001111111111111000000111
+11100111111000001000000000000101
+01101111111000001000000001001001
+00100000001000000101101000101001
+00011000000000000000111000000101
+00100000010000000101101000100010
+01011000000000000000000001111111
+11100111111000001000000000000101
+01101111111000001000000001001001
+01111001001111111111111000000111
+11100111111000001000000000000101
+01101111111000001000000001001010
+11100111111000001000000000000101
+00100000001000000101101000101001
+00100000010000000000110001011100
+00100000010000000101101001110110
+00100000011000001000000000000000
+00100000001000000101011101001011
+01101111111000001000000001001011
+11000010100000101101011111011011
+11000100000000100000000000000000
+01110000000000000111110000010010
+01111001001111111111111000000100
+00100000010000000101101001101110
+00100000001000000101011111011101
+01110000000000000111110000010000
+01111001001111111111111000000101
+01100111111000001000000001001011
+00100000011000000000000000000000
+00100000010000000101101001111111
+00100000001000001101011101001101
+00100000011000000000000000000000
+01110000000000000111110010001011
+01101111111000001000001110100101
+01111001001000000111111000000000
+01100111111000001000001110100101
+01110000000010010101101100000001
+00100000001000000111100011011100
+00100000011000000000000000000000
+00011000000000000000111000000010
+00100000010000000101101000100010
+00100000001000000101101000110010
+00011111111000100010001000000000
+00100000010000000101100000000010
+01101111111000001000001110100001
+11000000000000001101011111110010
+11000000000000010101011111111010
+00100000011000000000000000000000
+00011010001000100111111000000000
+00011000000000000000111000001100
+00100000010000000101101000100010
+01011000000000000000000000000001
+11100111111000001000000000000101
+01101111111000010000001110100010
+11100111111001001000000000000101
+00100000001000000101101000110010
+00011010001000100111111000000000
+00011000000000000000111000001100
+00100000010000000101101000100010
+01011000000000000000000000000010
+11100111111000001000000000000101
+01011000000000010000000000000010
+11100111111001001000000000000101
+00100000001000000101101000110010
+01101111111000001100011101100111
+00100000001110100101100000000110
+00100000010000000101100000001100
+00100000001000000101100000010011
+01101111111000001100000010100110
+01111001001111111111111000000011
+01100111111000001100000010100110
+01011000000000000000000000000001
+01100111111000010000001110100010
+00100000001000000110111100110111
+01000111000011011100000000100011
+01101111111000001100000010100110
+01111001001000000111111000000011
+01100111111000001100000010100110
+01011000000000000000000100000001
+01100111111000010000001110100010
+00100000011000000000000000000000
+01101111111000001100011010111011
+11000010100000001101100000010110
+00100000011000000000000000000000
+01011000000000000000100100000010
+01100111111000010000001110100010
+00100000011000000000000000000000
+00011000000000000000111000000101
+00100000010000000101101000100010
+01101111111000011100011101101000
+11100111111000011000000000000101
+00100000010000000101101000110010
+01110000010001110111001000000001
+01101111111000001100011101101000
+11000000000000001101100000101010
+11000000000000010101100000100100
+11000000000000011101100000110000
+00100000011000000000000000000000
+01101111111000001100011101101011
+11000000000000000101100000111100
+11000000000000001101100000111100
+11000000000000010101100000111100
+11000000000000011101100000110110
+00100000011000000000000000000000
+01101111111000001100011101101011
+11000000000000000101100000110110
+11000000000000001101100000111010
+11000000000000010101100000111100
+11000000000000011101100000110110
+00100000011000000000000000000000
+01101111111000001100011101101011
+11000000000000000101100000110110
+11000000000000001101100000110110
+11000000000000010101100000110110
+11000000000000011101100000110110
+00100000011000000000000000000000
+01110000010001110110111100000011
+01101111111000001100011001000110
+11000010100000000011001001101000
+00100000011000000000000000000000
+01110000010001110110111100000001
+00100000011000000000000000000000
+01110000010001110110111100000010
+00100000011000000000000000000000
+11011000111000000000000000000000
+00100000001000000101100001000010
+11011000111000000000000000000000
+00100000001000000101100001000110
+01101111111000001100011001000110
+11111001001000000111111000000000
+01100111111000001100011001000110
+00100000011000000000000000000000
+01101111111000001100011001000110
+11111001001111111111111000000000
+01100111111000001100011001000110
+00100000011000000000000000000000
+00011000000000000000111000000101
+00100000010000000101101000100010
+01101111111000011100011101101000
+11100111111000011000000000000101
+00100000001000000101101000110100
+00100000011000000000000000000000
+00011000000000000000111000001001
+00100000010000000101101000100010
+01101111111000001000000010010010
+11100111111000001000000000000101
+01101111111000010000000010010011
+11100111111000010000000000000101
+01101111111000100000000010001110
+11100111111000100000000000000101
+00100000001000000101101000110010
+00011000000000000111111000010001
+00100000010000000101101000011010
+01101111111000001000000001001001
+00011111111000100000010000000000
+11000000000000000101100001100001
+11000000000001110101100001100001
+11000000000011100101100001100001
+00100000011000000000000000000000
+11100111111000001000000000000101
+01101111111000001100010111111111
+11100111111000001000000000000101
+11011111001000000000000000001110
+01011000000000000100011000000000
+10011000010000001000110000000000
+00100000010000000111110111010100
+00100000001000000101101000110010
+00011000000000000111111000000011
+00100000010000000101101000011010
+01011000000000000000000100010100
+11100111111000010000000000000101
+00100000001000000101101000110010
+00011000000000000111111000000011
+00100000010000000101101000011010
+01101111111000100000000010110100
+10011100010001100111111000000000
+00100000001101001101100001110100
+00011111111001100111111000000000
+00011111111010110111111000000000
+01111001001111111111111000001111
+11100111111000010000000000000101
+00100000001000000101101000110010
+00011000000000000111111000000110
+00100000010000000101101000011010
+01101111111000101100010111111010
+11100111111000101000000000000101
+00100000001000000101101000110010
+00011000000000000111111000001001
+00100000010000000101101000011010
+01101111111001000100000010100000
+11100111111001000000000000000101
+00100000001000000101101000110010
+00100000010000000101100000000010
+01101111111000001000000001001000
+00011000000000000000111000001100
+00100000010000000101101000100010
+01011000000000000000000000000001
+11100111111000001000000000000101
+01101111111000010000001110100010
+11100111111000010000000000000101
+01011000000000000000000000000000
+11100111111000011000000000000101
+01011000000000000000000000000000
+11100111111000100000000000000101
+00100000001000000101101000110100
+00011000000000000000111000000011
+00100000010000000101101000100010
+01101111111000001100000101011111
+11100111111000001000000000000101
+01111000010101000111110000000000
+00100000010000000101101000110100
+00100100011101000000000000000000
+00100100011101001000000000000000
+01101111111000001100000011011111
+11000100000000000000000000000000
+00100000010000000101100010011011
+00100000001000000101100010100101
+01110000010000001101111100000011
+01011000000000000000000000000000
+01100111111000100100000101001001
+11011000101000000100000011100001
+00100000010000000101100010101001
+11011000101000000100000011101110
+00100000010000000101100010101001
+11011000101000000100000101001101
+00100000010000000101100010101001
+00100000001000000101100010110000
+11011000101000000100000011101110
+00100000010000000101100010101001
+00100000010000000101100010110000
+00100000001000000101100010110011
+01011000111111111111111111111111
+11100111111000011000000000000101
+11100111111000011000000000000101
+11100111111000011000000000000101
+01011000000000000000000001111111
+11100111111000001000000000000101
+00100000011000000000000000000000
+01011000000000000000000000000000
+01100111111000010100000011011101
+00100000011000000000000000000000
+01101111111000001100000011011111
+01111001001000000111111000000010
+01100111111000001100000011011111
+00100000011000000000000000000000
+00011000000000000000111000000010
+00100000010000000101101000100010
+00100100001101001101101000110010
+00100000001000000101101000110100
+00011000000000000111111000000010
+00100000010000000101101000011010
+01101111111000001000001110011110
+11100111111000001000000000000101
+00100000010000000101101000110100
+01101111111000001000000001001011
+01111001001000000111111000000011
+01100111111000001000000001001011
+01110000000000000111001000110010
+00100000011000000000000000000000
+00011000000000000111111000000001
+00100000010000000101101000011010
+00100000001000000101101000110100
+00011000000000000111111000000001
+00100000010000000101101000011010
+00100000001000000101101000110010
+00011000000000000111111000000010
+00100000010000000101101000011010
+01101111111000001000000001001100
+00101111111011000000000000000010
+01111001001000001111111000000000
+00011111111000010111111000000001
+11100111111000001000000000000101
+00100000001000000101101000110100
+00011000000000000111111000000011
+00100000010000000101101000011010
+01101111111000010000000001010001
+11100111111000010000000000000101
+00100000001000000101101000110100
+01110000000000000111001011111010
+00011000000000000111111000000010
+00100000010000000101101000011010
+01101111111000001000000001010011
+11100111111000001000000000000101
+00100000001000000101101000110100
+00011000000000000111111000001010
+00100000010000000101101000011010
+11011000110000000000101001010010
+00011000000000000111001000001001
+11101111111000001000000000000110
+00011111111000101111111001010101
+11100111111000001000000000000101
+11000010000000000101100011100010
+00100000001000000101101000110100
+00100000001000000101101000110100
+00100000001000000101101000110100
+00100000011101001000000000000000
+00100000010000000001000001001010
+00011000000000000111111000001001
+00100000010000000101101000011010
+01101111111000010000000011000000
+11100111111000010000000000000101
+01101111111000011100000010101000
+11100111111000011000000000000101
+01101111111000001100000010101011
+11100111111000001000000000000101
+01101111111000010100000010101100
+11100111111000010000000000000101
+11000101100000011101100011111010
+01111001001111111000000000000011
+00100000010000000101101000110100
+01110000000000000111110000010011
+00100000011000000000000000000000
+00100000010000000101101000110010
+01110000000000000111110000000011
+01110000000000000111110100010011
+00100000011000000000000000000000
+11011000010000000000001000000000
+00100000001101001101100100000010
+00011101000000100111111000000000
+00100000001000000101100100000011
+00011100010000100111111000000000
+00011100001000100111111000000000
+10011000010000001111111000000000
+00011111111000010111111111111100
+01100111111000100000000000110100
+00011000000000000111111000000101
+00100000010000000101101000011010
+01101111111000100000000000110100
+00011111111000110111111000000000
+11100111111000100000000000000101
+00100000001000000101101000110100
+00011000000000000111111000001010
+00100000010000000101101000011010
+11011000110000000000001110101100
+11101111111001001000000000000110
+11100111111001001000000000000101
+00100000001000000101101000110100
+00011000000000000111111000000011
+00100000010000000101101000011010
+01011000000000000000000100010100
+11100111111000010000000000000101
+00100000001000000101101000110100
+00011000000000000111111000000001
+00100000010000000101101000011010
+00100000001000000101101000110100
+00011000000000000111111000000010
+00100000010000000101101000011010
+01101111111000001100000011010111
+11100111111000001000000000000101
+00100000001000000101101000110100
+00011000000000000111111000000010
+00100000010000000101101000011010
+01011000000000000000000000000101
+11100111111000001000000000000101
+00100000001000000101101000110100
+00011000000000000111111000000010
+00100000010000000101101000011010
+01011000000000000000000000000000
+11100111111000001000000000000101
+00100000001000000101101000110100
+01110000000000000111110000101110
+00100000011000000000000000000000
+01101111111000001100000010011010
+00011111111001100111110000001010
+00100000010000101101100100101010
+01101111111000001000000000110000
+01111001001000000111111000000100
+01100111111000001000000000110000
+00011100010000100111111000000000
+01100111111000100000001110111100
+01101111111000001000001110100101
+11000010100000011101100100111101
+01111001001000000111111000000011
+01100111111000001000001110100101
+01110000000010010101101100000101
+00100000010000000111100011011100
+00011000000000000111111000000001
+00100000010000000101101000011010
+00100000001000000101101000110100
+01110000000000000100100000000000
+00100000011000000000000000000000
+00011000000000000111111000000110
+00100000010000000101101000011010
+01101111111000101100010111111010
+11100111111000101000000000000101
+00100000001000000101101000110100
+00011000000000000111111000001001
+00100000010000000101101000011010
+01101111111001000100000010100000
+11100111111001000000000000000101
+00100000001000000101101000110100
+01110000000010000111001100000001
+01101111111000001100011010111100
+11000001100000001000000000000000
+01110000000010000111000100010011
+00100000011000000000000000000000
+00100000010000000101101001110010
+01110000000000000111110010011001
+01110000000010000111000100000011
+00100000011000000000000000000000
+00100000010000000101101001110010
+01110000000000000111110000111101
+01110000000010000111000100000111
+00100000011000000000000000000000
+11011010001000000000100100010000
+11011010010000000000100100110000
+11011111001000000000000000010000
+00100000010000000111111001100110
+00100000001000101101100101011111
+01110000000010000111000100000000
+00100000010000000111000011010101
+01110000000000000111110101000000
+00100000001000000101011011101100
+01110000000010000111000100001010
+00100000010000000111000011010011
+01110000000000000111110101000000
+00100000001000000101010101001011
+01110000000000000111110001000000
+00100000011000000000000000000000
+01110000000000000111110000111101
+00100000011000000000000000000000
+01110000000010000111100000000000
+00011000000000000111111000000100
+00100000010000000101101000011010
+01101111111000011100011001000111
+11100111111000011000000000000101
+00100000010000000101101001111111
+00100000001000001101101000110100
+00100000001000000101101000110010
+01101111111000001100011001001000
+11000000000000010101100101110011
+11000000000000001101100101111000
+00100000011000000000000000000000
+00011000000000000111111000010001
+00100000010000000101101000011010
+01101111111000001000100001111000
+11011000110000000100011011011111
+00100000001000000101100101111100
+00011000000000000111111000010001
+00100000010000000101101000011010
+01101111111000001000100001111000
+11011000110000000100011100110111
+10011000110000001000110000000000
+11101111111001000000000000000110
+11100111111001000000000000000101
+11101111111001000000000000000110
+11100111111001000000000000000101
+01101111111000001000100001111000
+00011111111000001111111000010000
+01100111111000001000100001111000
+00100000010000000101101001111111
+00100000001000001101101000110100
+00100000001000000101101000110010
+01110000000010000111000000000110
+01110000000000000111110000111111
+00100000011000000000000000000000
+00011000000000000111111000010001
+00100000010000000101101000011010
+11011000110000000000100100010000
+11101111111001000000000000000110
+11100111111001000000000000000101
+11101111111001000000000000000110
+11100111111001000000000000000101
+00100000001000000101101000110010
+01110000000000000111110001000000
+00100000011000000000000000000000
+00100000010000000101101001111111
+00100000010000001110111111101001
+00011000000000000111111000010001
+00100000010000000101101000011010
+11011000110000000000100011100000
+11101111111001000000000000000110
+11100111111001000000000000000101
+11101111111001000000000000000110
+11100111111001000000000000000101
+00100000010000000101101001111111
+00100100001000001101101000110010
+00100000001000001101101000110100
+01110000000010000111000100001111
+00100000010000000101101001110010
+01110000000000000111110000001011
+00100000010000000101101010001010
+00100000001000001111000000110111
+00100000001000000111000001000001
+00100000010000000101101001101110
+01110000000000000111110001000001
+00100000011000000000000000000000
+00011000000000000111111000010001
+00100000010000000101101000011010
+11011000110000000000100100010000
+11101111111001000000000000000110
+11100111111001000000000000000101
+11101111111001000000000000000110
+11100111111001000000000000000101
+00100000010000000101101001111111
+00100100001000001101101000110010
+00100000001000001101101000110100
+00011000000000000111111000000011
+00100000010000000101101000011010
+01011000000000001111111111111110
+11100111111000010000000000000101
+00100000001000000101101000110010
+00100000001000000101101000110100
+00100000001000000101101000110100
+00100000001000000101101000110100
+00100000001000000101101000110100
+00100000010000000101101010001110
+11011010001000000100000010101000
+00100000010000000101101010010100
+00011000000000000111111000010001
+00100000010000000101101000011010
+11011010001000000000010001000100
+11011010010000000000010000100100
+00100000010000000110110001110000
+00100100001101001101101000101001
+00100000001000000101101000101111
+00100000010000000101101010001110
+11011010001000000000000001000000
+00100000010000000110101101110011
+00011000000000000111111000010001
+00100000010000000101101000011010
+11011000110000000000010000100100
+00100000010000000111110101111111
+01101111111000001000000001010101
+11000000000011001101101000110100
+11000000000011000101101000110100
+00100000001000000101101000101111
+01101111111000001100011001001000
+11000000000000010101100111011100
+01101111111000001000100001110111
+00100000001110100101100111011001
+00100000010000000101101001111111
+00100000010000001101101001110010
+00100100010000001101101001101110
+00100000001000000101100111011010
+00100000010000000101101001110010
+00100000010000000101101010001110
+00100000001000000101100111001001
+01110000000000000111110000001100
+00100000001000000101100111010101
+01101111111000001100011001001000
+11000000000000010101100111111000
+11011010001000000100000010101000
+00100000010000000110101110100110
+00011000000000000111111000000101
+00100000010000000101101000011010
+01101111111000100000010001010100
+11100111111000100000000000000101
+11011000010000000000001110101001
+00100000010000000101101001100101
+00100000010000000110110010100100
+00100000010000000101101001111111
+00100000001000001101100111101111
+01110000000000111010101100000001
+01101111111000001000100001110111
+00100000011110100000000000000000
+01110000000000000111110000001011
+01101111111000001100000111001010
+00100000011110100000000000000000
+00100000010000000101101001111111
+00100100001000001101100111110100
+00100000011000000000000000000000
+11000110100100001000000000000000
+01111001001111111000000000100001
+01110000000000000111110000001111
+00100000011000000000000000000000
+00100000010000000111010101011111
+00100000010000000111010110000100
+00011000000000000111111000000101
+00100000010000000101101000011010
+01101111111000100000100100011000
+11100111111000100000000000000101
+11011000010000000000001110101001
+00100000010000000101101001100101
+00100000010000000101101000000111
+00100000010000000101101001111111
+00100000001000001101100111101111
+01110000000000111010101100000001
+01101111111000001000100001110111
+00100000011110100000000000000000
+00100000001000000101100111101111
+01101111111001000000100100010000
+01100111111001000100011010101101
+00100000011000000000000000000000
+00100000010000000101101010001110
+00100000010000000110101110101001
+00011000000000000111111000010001
+00100000010000000101101000011010
+11011000110000000000010000100100
+00100000010000000111110101111111
+00100000001000000101101000101111
+00011000000000000111111000000001
+00100000010000000101101000011010
+00100000001000000101101000101111
+00011000000000000111111000000010
+00100000010000000101101000011010
+00011000000000000111111000010000
+11100111111000001000000000000101
+01100111111000001000000001010100
+00100000001000000101101000101111
+00011111111010011111111000000000
+00011111111000011111111000000111
+01100111111000001000001110001010
+11011111001000000000000000010001
+11011000101000000000001110001100
+00100000010000000111110110011011
+11011000101000000000001110001100
+00100000011000000000000000000000
+00011111111000010010001001111111
+01110000000000000100100001111111
+00011000111000100111111000000000
+00100000010000000101101000011010
+00011010001000100111111000000000
+11100111111000001000000000000101
+00100000011000000000000000000000
+01101111111000001000000001001000
+00011111111000111111111000000000
+01101000010010001000000001001100
+00101000010011111111111000000001
+01111001001000001111111000000000
+00100000001000000101101000111001
+01101000010010001000000001001100
+00011000010000010000010000000001
+00100000001000000101101000110101
+00011000000000000000010000000000
+00100000001000000101101000110101
+00011000000000000000010000000001
+01101111111000001000000001001000
+00011111111000111111111000000000
+01111001001101001111111000000000
+10011000010000101111111000000000
+01100111111000001000001110001011
+01100111111000001100010111111001
+01110000000000000100100000000000
+00100000010000000101101001001010
+01111000001101000111110000000000
+00100000011000000000000000000000
+01101111111000001000000001111100
+00100000011110100000000000000000
+00100000010000000101101001000100
+01101111111000001000000001111100
+00100000011000000000000000000000
+01000111000011100100000000100011
+01101111111000001000000001001000
+00100000001110100101101001001010
+01101111111000001000000001111000
+00100100011110100000000000000000
+00100000001000000101101001010100
+01101111111000001000000001111000
+00100000001110100101101001011010
+01101111111000011000000001111000
+01100111111000011000000001001000
+01101000010010001000000001111011
+01101111111000001000000001001100
+01111001001111111111111000000001
+10011000010000011111111000000000
+01100111111000001000000001001100
+01110000000000000111100000000000
+01101111111000001000000001111100
+00100000011110100000000000000000
+01101111111000100000000001111100
+01100111111000100000000001111000
+01110000000000000111110000000000
+00100000011000000000000000000000
+01101111111000001000000001111100
+00100000011110100000000000000000
+01101111111000011000000001111100
+01100111111000011000000001001000
+01101000010010001000000001111111
+01101111111000001000000001001100
+01111001001111111111111000000001
+10011000010000011111111000000000
+01100111111000001000000001001100
+01110000000000000111110000000000
+00100000011000000000000000000000
+01000111000011101100000000100011
+01101111111000001000000001001100
+00011111111000100010011000000000
+11101111111000001000000000000010
+00100000010000000101010101100111
+00100000010000000101101000101001
+00011010011000100111111000000000
+01100111111000001000000001001100
+00100000011000000000000000000000
+01101000010010001000000001001100
+01111001001111111000010000000000
+01100000010010001000000001001100
+00100000011000000000000000000000
+01101000010010001000000001001100
+01111001001000000000010000000000
+01100000010010001000000001001100
+00100000011000000000000000000000
+01111101001101001111111000000001
+01101000010010001000000001001100
+10011000010000101111111000000000
+00101111111011111111111000000001
+00100000011000000000000000000000
+01101111111000001000000001001100
+01111001001101001111111000000001
+01100111111000001000000001001100
+00100000011000000000000000000000
+01101111111000001000100001110110
+00101111111000001111111000000001
+00100000011000000000000000000000
+01101111111000001000100001110110
+01111001001000000111111000000111
+01100111111000001000100001110110
+00100000011000000000000000000000
+01101111111000001000100001110110
+01111001001111111111111000000111
+01100111111000001000100001110110
+00100000011000000000000000000000
+01101111111000001000100001110110
+00101111111011111111111000000111
+01100111111000001000100001110110
+00100000011000000000000000000000
+11011000101000000000010000100100
+00011000000000000111001000010000
+00011000000010100111111000000000
+11100111111000001000000000000101
+11000010000000000101101010010000
+00100000011000000000000000000000
+00100000010000000110101101110111
+11011010001000000100000111001011
+11011010010000000000010001010100
+11101111111001000000000000010001
+01101000010010001000000000110000
+01111101001110100000010000000110
+01100000010010001000000000110000
+00011010001000100000101000000000
+00100000010000000110110001110000
+00100000001000000000100111000110
+01000111000011110100000000100011
+00100000010000000101101000111111
+00100100011110100000000000000000
+01101111111000001000000001010101
+00100000011110100000000000000000
+11000000000000100101101011110010
+11000000000000101101101011111000
+11000000000000010101101011101001
+11000000000000011101101100000000
+11000000000001110101101011101100
+11000000000000110101101100011100
+11000000000000111101101100110100
+11000000000001001101101100110101
+11000000000001010101101100111110
+11000000000001011101101101000010
+11000000000001100101101100001010
+11000000000001101101101100001101
+11000000000001111101101100010011
+11000000000010010101101011011100
+11000000000010011101101100000000
+11000000000010000101101011011111
+11000000000010100101101011011001
+11000000000010101101101100000000
+11000000000010110101101011010011
+11000000000011000101101011011000
+11000000000010111101101011001100
+11000000000011001101101011010010
+11000000000011010101101010111101
+11000000000011011101101011000111
+01110000000000000101010100000000
+00100000011000000000000000000000
+01101111111000001000001110100101
+11000100000000010000000000000000
+11000100000000011000000000000000
+01110000000000000101010100000000
+00100000010000000101101011000011
+00100000001000000110011000001101
+01101111111000001000000010111100
+11000100000000001000000000000000
+01110000000000000101010100001010
+00100000011000000000000000000000
+11011000111000000000000000000111
+00100000010000000111110111101001
+00100100011110100000000000000000
+01110000000000000101010100011010
+00100000011000000000000000000000
+01101111111000001000000010111100
+01111001001111111111111000000000
+01100111111000001000000010111100
+01110000000000000101010100011001
+01110000000000000111110000001011
+00100000011000000000000000000000
+00100000011000000000000000000000
+01101111111000001000001110101000
+11000001100000010000000000000000
+00100000010000000101101101000100
+01110000000000000101010100011000
+00100000011000000000000000000000
+00100000011000000000000000000000
+01110000000000000101010100010101
+01110000000000000111110010000011
+00100000011000000000000000000000
+01110000000000000101010100010011
+01110000000000000111110000100101
+00100000011000000000000000000000
+01101111111000001100011001000101
+11000001000000000000000000000000
+11000000000000001101101011100111
+11011000111000000000000000000110
+00100000010000000111110111101001
+00100100011110100000000000000000
+01110000010001100100010100000000
+00100000001000000101101100000001
+00100000011101001000000000000000
+00100000001000000101101100011100
+01110000000000000101010100000011
+01110000000000000111110000100111
+00100000011000000000000000000000
+01110000000000000111110000010011
+01111001001000000000000000000011
+01110000000000000101010100000101
+01011000000000000000000111111111
+01100111111000010000001110100110
+00100000011000000000000000000000
+01110000000000000101010100000101
+01011000000000000000000011111111
+01100111111000010000001110100110
+01111001001111111000000000100010
+01110000000000000111110000110011
+00100000001000000101001111101110
+11000110000100010000000000000000
+01101111111000010000001110100110
+00011111111000001111111111111111
+00100000001000101101101011111110
+01100111111000010000001110100110
+00100000011000000000000000000000
+01110000000000000101010100001110
+00100000011000000000000000000000
+00100000011000000000000000000000
+01101111111000001000001110100101
+11000100000000011000000000000000
+11000100000000010000000000000000
+01101111111000001000000010111100
+01111001001111111111111000000010
+01100111111000001000000010111100
+01110000000000000111110000010011
+01110000000000000101010100010000
+00100000011000000000000000000000
+01110000000000000101010100001101
+01110000000000000111110000110001
+00100000011000000000000000000000
+01101111111000001000001110100101
+11000100000000010000000000000000
+01110000000000000101010100000000
+00100000011000000000000000000000
+01110000000000000101010100000110
+00100000011000000000000000000000
+01101111111000010000001110100110
+00011111111000001111111111111111
+00100000001110100101101100011000
+01100111111000010000001110100110
+00100000011000000000000000000000
+01110000000000000111110000000111
+01110000000000111001111000010110
+01110000000000000101010100000000
+00100000011000000000000000000000
+01101111111000001000000010111100
+11000010100000010101101100000001
+11000010100000000101101100100001
+01110000000000000101010100011010
+00100000011000000000000000000000
+01101111111000001100000111001010
+00100000001110100101101100101101
+01101111111000001000001110100101
+11000100000000011000000000000000
+11000100000000010000000000000000
+01101111111000100000001110111100
+11011000010000000000000001100100
+10011000010000001000010000000000
+00011100010000100111111000000000
+10011000010001100111110000000000
+00100100011000010000000000000000
+00100000001000000101101011001100
+01110000000000000101010100010110
+01110000010001111001011000000100
+01011000000000000011000000110000
+01100111111000010100011110010111
+11100111111000010000000000000101
+01110000000000111010100000000010
+00100000001000000101101011010011
+00100000011000000000000000000000
+01101111111000001000000010111100
+11000010100000001101101100111001
+01110000000000000101010100011010
+00100000011000000000000000000000
+01101111111000001000000010111100
+01111001001111111111111000000001
+01100111111000001000000010111100
+01110000000000000111110000001111
+00100000011000000000000000000000
+01101111111000001000001110101011
+00100000011110100000000000000000
+01110000000000000101010100000000
+00100000001000000101101100111001
+01110000000000000101010100001100
+00100000011000000000000000000000
+01101111111000001000000001001011
+11000010100000010101101101001001
+00100000010000000101101001110010
+01110000000000000111110000001000
+00100000001000000100110111100100
+01101111111000001000000001001011
+01111001001111111111111000000010
+01100111111000001000000001001011
+00100000010000000101011101010000
+00100000010000000101101001111011
+00100000001000000100110111100100
+01011000000000000000000000000100
+01100111111000001100011110010110
+01011000000000000011000000110000
+11100111111000010000000000000101
+11100111111000010000000000000101
+00100000011000000000000000000000
+01000111000011111100000000100011
+00011111111000010111111011111111
+11011000101000001000000001110000
+10011000101000001000101000000000
+00011000101000100010001000000000
+11011000010000000000000000111110
+11100000010000001000000000000101
+00100000010000000101101101100010
+00100000000000000000000000011110
+00011010001000100000101000000000
+11011000010000000000000000111111
+11100000010000001000000000000101
+00100000001000000101101101100110
+01101111111100001000000010000101
+00011111111000010111111011111011
+01100111111100001000000010000101
+00100000011000000000000000000000
+01101111111100001000000010000101
+00011111111000011111111000000100
+01100111111100001000000010000101
+00100000011000000000000000000000
+01101111111100001000000010000101
+00011111111000010111111011111101
+01100111111100001000000010000101
+00100000011000000000000000000000
+00100100001101000101101101110010
+01101111111100001000000010000101
+00011111111000011111111000000010
+01100111111100001000000010000101
+00011000010000100111110000000000
+00100000001000101101101101110101
+00011010011000100111101000000000
+00101111110011000000000000000000
+00100000001000000101110010010010
+00011000000000000000010000000100
+11011010001000000000001011101011
+00100000010000000101101101101010
+00100000010000000101101101110010
+11011010001000000101010110101010
+01101111111000010000001011101011
+11101000010000010000000000000110
+10011010001001100111110000000000
+00100000011000000000000000000000
+11011000010000000000000000000010
+11011010001000000000001011110001
+00100000010000000101101101110010
+01101111111000010000001011110001
+01100111111000010000001011100100
+00100000010101000101101110000111
+00100000011000000000000000000000
+11011000010000000000000000010000
+11011010001000000000001011110011
+00100000010000000101101101101010
+00100000010000000101101101110010
+11011000110000000000001011110011
+11011111001000000000000000010000
+00100000010000000110111000011010
+00100000010000000110110111001010
+00100000010000000110111000110110
+00100000001000000110110111000100
+01011000000000000000000000000000
+01100111111000010000100110000101
+01111000010101101111110000000000
+00100000010000000101101101110111
+00100100011000101000000000000000
+01110000100000000010001110000000
+01110000100000000010001000000000
+01110000100000000010010000000000
+11011010001000001000000000100101
+00100000010000000101101101101110
+01110000100000000010001100000000
+11011000010000000000000000000110
+00100000010000000101101101111000
+00100100001000101101101110111000
+11101111111000010000000000000110
+10011000000000000010001000000000
+00100000010000000101101101110010
+00100000010000000101101110101111
+00100000001000000101101110011100
+11011010001000001010101001010101
+01101111111000010000001011101011
+10011010001001100111110000000000
+00100100011000101000000000000000
+11011010001000000101010110101010
+01101111111000010000001011101101
+10011010001001100111110000000000
+00100100011000101000000000000000
+01101111111000010000001011101111
+01100111111000010000100101110000
+00100000011000000000000000000000
+01101111111000010000100110000101
+11011111001000000000000000000110
+11011000110000000000001011101011
+00100000010000000111111011010011
+01101111001000010000001011101101
+00011010001000100000110000000000
+00100000010000000111111011010011
+01100111111000010000100110000101
+00100000011000000000000000000000
+00100000010000000101101110100100
+00100000001000101101101110011100
+01101111111000010000100101110000
+01101000010010010000100110000101
+10011000010001100111110000000000
+00100100011000101000000000000000
+01111000001101101111110000000000
+00100000011000000000000000000000
+01101111111000001000101000000100
+11011000110000000000101000000001
+10011000110000001000110000000000
+01110000100000000010001110000000
+01110000100000000010001000000000
+01110000100000000010010000000000
+11011010001000001000000000100101
+11101111001000001000000000000110
+00011111001001100111110000000000
+00100100010000101101101111010110
+01110000100000000010001100000000
+11101111111000001000000000000110
+00100000011110100000000000000000
+00011111111000100111001000000000
+11101010010000010000000000000110
+00011010010000100000101000000000
+00100000010000000111110111010110
+00100000001000000101101111001011
+11101111111000001000000000000110
+11100111111000001000000000010001
+11000010000000000101101111010010
+00100000011000000000000000000000
+00100000010000000111111011001001
+00011111001000100000010000000000
+00100100001101000101101111010010
+00011000010001100111110000000000
+00100000011000101000000000000000
+00100000010000000101101111100000
+00100000010000000110110111000100
+00011000010000001000010111110000
+00100000001000010101101111011001
+00100000011000000000000000000000
+00011000000000000111000000001100
+00011000010000100111001000000000
+11101111111000100000000000000110
+10011101111000101111111000000000
+00011111111000100101111000000000
+11100111111000001000000000010001
+00011111111011001111111000000000
+11100111111000001000000000010001
+00011111111011001111111000000000
+11100111111000001000000000010001
+00011111111011001111111000000000
+11100111111000001000000000010001
+00011111000000001111000000000001
+00101111000000000000011000000000
+00100000011000001000000000000000
+00011111001000001111001111111100
+00100000011000101000000000000000
+00100000001000010101101111100010
+00100000011000000000000000000000
+11011111101000000000000000000000
+00100000011000000000000000000000
+00100000010000000111111001110111
+01110000100000000101000000100101
+01111000001101000111110000000000
+01110000010000011110001100000000
+00100000010000000101110001011000
+00100100001000010101110010010000
+01011000000000000000000000000000
+11011010001000000000101000000001
+11011000010000000000000001000000
+00100000010000000101111100000000
+00100000010000000101110001101000
+00100100001101000101101111111001
+00100000010000000101110010110000
+01111000010101000111110000000000
+01101111111000001000101000000001
+11000011000000011101110000010111
+00100000010000000110111000110011
+01110000100000000000011000001000
+01111001001000000000000000101011
+00011000000000000111000000000100
+00100000010000000110111000110111
+00011000000000000111000000000100
+01101101111000100000101000111101
+01011000111100011010101110001111
+01100111111000100000001011110011
+00011111111010111111111000000000
+11100111111000100000000000000101
+00011111111000111111111000000000
+11100111111000100000000000000101
+00011111111010111111111000000000
+11100111111000100000000000000101
+00100000010000000101101101101010
+00100000010000000101101110001011
+01111000001101000111110000000000
+01101111111000100000101000000001
+00100000001110100101110000011110
+01100111111000011100010011001110
+00100000010000000111111011001011
+00100000010000000101110011101011
+00100000010000000101101111000000
+00100000010101100101101111110011
+01110000010000011110001100000000
+01101111111000001000101000000001
+11000010100000010101110000111101
+00100000010000000101110001011000
+00100100001000010101110000101010
+00100000010000000101110000110110
+00100000010000000101111001011100
+00100000010000000101110010001010
+00100100001101101101110000011111
+01101111111000001000001011100001
+11000011000000000101110000011111
+00100000001000000101110001001100
+01110000010000011110001100000000
+01101111111000001000101000000001
+11000010100000010101110000111101
+00100000010000000101110001011000
+00100100001000010101110000111101
+00100000010000000101110000110110
+00100000010000000101111001011001
+00100000010000000101110010001010
+00100100001101101101110000101011
+01101111111000001000001011100001
+11000011000000000101110000101011
+00100000001000000101110001001100
+01101111111000001100010011000101
+01101000010010001100010011000100
+10011000010001100111110000000000
+00100100001000101101111001000010
+01011000000000000000000100000010
+01100111111000011100010011000011
+00100000001000000101111001000010
+01110000010000011110001100000000
+01101111111000001000101000000001
+11000010100000001101110001001100
+00100000010000000101110001011000
+00100100001000010101110001001100
+00100000010000000101110110101111
+00100000000000000000000011001000
+00100000010000000101110110111101
+00100000000000000000000001100100
+11011010011000000101110111110001
+00100000010000000101101110000000
+00100000010000000101101110010001
+00100100001101101101110000111110
+01101111111000001000001011100001
+11000011000000000101110000111110
+01101111111000001000101000000001
+11000011000000000101110001010000
+00100000010000000101110001010000
+00100000001000000100110100011000
+01011000000000000000000000000000
+01100111111000100000101000111101
+01100111111001000000001011110011
+11100111111001000000000000000101
+00011000000000000111000000000100
+00100000010000000110111000110111
+01110000100000000101000000100001
+00100000011000000000000000000000
+00100000010000000101110001011110
+01101111111000001100000111100011
+00011111111000001111111000000001
+00011111111001100111110000000011
+01100111111000001100000111100011
+00100000011000000000000000000000
+01101111111000001100000111100011
+00100000011110100000000000000000
+01101111111000001000101000101100
+00011111111000010111111001000000
+00100000011110100000000000000000
+00100000001000000111110110001001
+00011111111100011000010000000000
+00011111111000010111111000001111
+10011000010000101111111000000000
+00100000011000000000000000000000
+01101111111000100000101000000001
+00100000011110100000000000000000
+01101111111000001000101000000001
+00100000010000000101110001100100
+11000000100001111111111011000111
+01101111111000001000101000000010
+00100000010000000101110001100100
+11000000100001111111111011000111
+01101111111000001000101000000001
+11101000010000001000000000000110
+10011000010000001111111000000000
+11101000010000001000000000000110
+10011000010000001111111000000000
+11101000010000001000000000000110
+10011000010000001010001000000000
+11011111111000000000101000000001
+10011000010000001000110000000000
+00011010001000100111111000000000
+11101111001000001000000000000110
+10011111001000001111111000000000
+00100000010000000111111011010011
+00100000010000000101110010000011
+11101000010000001000000000000110
+00011111111000010111111011111111
+10011000010001100111110000000000
+00100100001000101111111011000111
+00100000011000000000000000000000
+11101111001000001000000000000110
+00011111001001100111110000000000
+00100000011000101000000000000000
+10011111001000001111111000000000
+00011111001000001111001000000010
+00100000010000000111111011010011
+00100000001000000101110010000011
+01011000000000000000000000000000
+01100111111000010000001011100100
+11011010011000000101111001111111
+00100000010000000101111000101011
+00100000010000000101101110000000
+00100000001000000101101110010001
+00100000010000000101110001010000
+00100000001000000101110100110011
+01101111111000001000001011100001
+00011111111000111111111000000000
+01111001001000001111111000000000
+00101010001011000000000000001111
+00100000011000001000000000000000
+01100111111000001000001011100001
+00100000011000000000000000000000
+01101111111100001000000010000101
+11000100000000001000000000000000
+00100000001000000101110010011111
+01101111111100001000000100101100
+10101111111011111111111111111111
+00100000011000001000000000000000
+01101111111100001000000100001000
+11000011000000001101110010011100
+00100000010000000110110111000100
+00100000001000000101110010011100
+01101111111000010100000110100110
+00100000011110100000000000000000
+01110000100000000010001110000000
+01110000100000000010001000000000
+01110000100000000010010000000000
+01101000010010010100000110101000
+00011000010010111111001000000000
+10011000000000000000110000000000
+11101111111000001000000000000110
+01100111111100001000000000100101
+11000010000000000101110010101011
+01110000100000000010001100000000
+00100000011000000000000000000000
+01101111111000001000101000110001
+00011111111000010111111000001111
+00101111111011111111111000000011
+01111001001000001111111000000100
+00011111111000111111111000000000
+01100111111000001100000110000010
+00100000001000000001010101010100
+01101111111000001000101000101100
+00011111111000010111111000001111
+00100000011110100000000000000000
+01100111111000001100000010011010
+01101111111000001000101000101101
+01100111111000001100000101111011
+01101111111000001000101000101110
+01100111111000001100000101111101
+00100000011000000000000000000000
+01101111111000001000101000101100
+00011111111000010111111000110000
+00011111111100011111111000000000
+00100000011110100000000000000000
+01100111111000001100010011010010
+00100000011000000000000000000000
+01101111111000001000101000110010
+00011111111000010111111000001111
+00100000011110100000000000000000
+01100111111000001100010011010011
+00100000011000000000000000000000
+01101111111000001000101000110010
+00011111111000010111111000110000
+00011111111100011111111000000000
+00100000011110100000000000000000
+01100111111000001100010011010100
+00100000011000000000000000000000
+01101111111000001000101000110011
+00100000011110100000000000000000
+01100111111000001100010011010101
+00100000011000000000000000000000
+01101111111000001000101000110010
+11000010100000111101110011011110
+01110000010000011110101110001000
+01110000010000011110110001100110
+01110000010000011110110101000100
+01101111111000010000101000101111
+00100000011110100000000000000000
+01100111111000010100000111101100
+00100000011000000000000000000000
+01110000010000011110101011111111
+01101111111000001000101000110010
+00011111111000010111111001000000
+00011111111010010111111000000000
+01100111111000001100000111101110
+00100000011000000000000000000000
+01110000100000000000001001110011
+00110111110110011000001000000000
+00110111110110011000001000000000
+01101111111100010000000100100000
+01111001001111111111111000001101
+01100111111100010000000001001100
+00100000001000000101110101001110
+01101111111000001000101000000010
+00011111111000010111111000001111
+11000000000001010101110011111000
+11000000000000001101110011111000
+11000000000000100101110011111011
+11000000000001000101110100000000
+11000000000001001101110100000101
+11000000000001011101110100001010
+11000000000001100101110011111000
+11000000000001101101110100001101
+11000000000001110101110100010010
+11000000000001111101110100010111
+00100000011000000000000000000000
+00100000010000000101110011100100
+00100000010000000101110100011100
+00100000001000000101110100111101
+00100000010000000101110011100100
+11011111111000000011100000010100
+11011000010000000100110001010000
+00100000010000000101110100100010
+00100000001000000101110100111101
+00100000010000000101110011100100
+11011111111000000011001010111001
+11011000010000000011110001110001
+00100000010000000101110100100010
+00100000001000000101110100111101
+00100000010000000101110011100100
+11011111111000000011001010111001
+11011000010000000100101011011011
+00100000010000000101110100100010
+00100000001000000101110100111101
+00100000010000000101110011100100
+00100000010000000101110100100101
+00100000001000000101110100111101
+00100000010000000101110011100100
+11011111111000000011001010111001
+11011000010000000100100111101111
+00100000010000000101110100100010
+00100000001000000101110100111101
+00100000010000000101110011100100
+11011111111000000011011010011010
+11011000010000000100110001010000
+00100000010000000101110100100010
+00100000001000000101110100111101
+00100000010000000101110011100100
+11011111111000000011010001011110
+11011000010000000100110001010000
+00100000010000000101110100100010
+00100000001000000101110100111101
+11011111111000000010011100110101
+11011000010000000011000101001011
+00100000001000000101110100100010
+00100000010000000101110011100100
+11011111111000000011100000010100
+11011000010000000011110001110001
+01100111111100010000000000010011
+01100000010110010000000000010101
+00100000011000000000000000000000
+11011111111000000011001010111001
+11011000010000000100110001010000
+00100000001000000101110100100010
+11011111111000000101001111110010
+11011000010000000101101101001001
+00100000001000000101110100101101
+11011111111000000001110001111101
+11011000010000000010000101111100
+01100111111100010000000000010111
+01100000010110010000000000011001
+00100000011000000000000000000000
+11011111111000000010000110000001
+11011000010000000010011100110011
+00100000001000000101110100101101
+00100000010000000101110100101000
+11011111111000000001110001111101
+11011000010000000010000101111100
+00100000001000000101110100100010
+01101111111000001000101000000011
+00011111111000010111111011000000
+11000000011000000101110100110011
+11000010100000110101110100101011
+11000010100000111101110100101000
+00100000011000000000000000000000
+00100000010000000101110100110111
+01101111111000001000101000000011
+00011111111000010010001000011111
+01101111111000001000101000000001
+00011111111000010111111000001111
+01101000010010001000101000000010
+00011000010000010000010000001111
+00011000010100100000010000000000
+10011000010000011111111000000000
+00011010001011010010001000000000
+10011010001000011111111000000000
+01111001001000000111111000001101
+01111001001000000111111000001110
+01100111111100100000000001001100
+00100000010000000101110101001110
+01110000100000000001000100001000
+00100000011000000000000000000000
+01011000000000000000000000000010
+00110111110110011000001000000000
+01100111111100001000000000010010
+00110111110110011000001000000000
+00110111110110011000001000000000
+00100000011000000000000000000000
+01000111000100000100000000100100
+01101111111000001100010010000110
+01100111111100001000000010000110
+01101111111000001100010010000111
+01100111111100001000000010000111
+01011000000000000000001011100010
+01100111111100010000000010001010
+01011000000000000000001011100111
+01100111111100010000000010001100
+00100000001000000101101101100010
+01111001001000000111111000000111
+01100111111000010000001011100010
+01000111000100001100000000100100
+01110000100000001000100000000010
+01110000100000001000111000000000
+01110000100000000000011000000010
+00100000001000000101110101101110
+00011000000000000000010000000001
+01100111111000001000001011100010
+01000111000100010100000000100100
+01110000100000001000100000000001
+01100000010110010000000010001110
+01110000100000000000011000000010
+00100000010000000101110101101110
+01101111111000001000001011100111
+00100000011000000000000000000000
+01101111111000010100000011011101
+00011111111000001111111000000001
+01100111111000010100000011011101
+01101111111100001000000100101100
+11000011000000011101110101101110
+00100000011000000000000000000000
+01111000010101000111110000000000
+00011111111000100010010000000000
+01101111111000001100010010101110
+11000001100000000000000000000000
+01111000001101000111110000000000
+00011010010000100111111000000000
+00100000001000000101110110000010
+01101111111000001100010010101110
+11000000000000001101110110000010
+11000000000000010101110110001000
+11000000000000011101110110010000
+11000000000000100101110110010100
+11000000000000101101110110011010
+00100000011000000000000000000000
+01100111111000011100010010100111
+00011010001000100111111000000000
+01100111111000010100010010101010
+01100000010010010100010010101100
+01110000010001001010111000000010
+00100000001000000101110110101111
+00100000010000000101110110101111
+01110000010001001010111000000011
+00100000010000000101110110110100
+11011010001000000000001011100010
+01110000100000001000100000000100
+01101111111000011100010010100111
+11011000010000000000000000100000
+00100000001000000101110111000101
+00100000010000000101110110101111
+00100000010000000101110111101000
+01110000010001001010111000000100
+00100000011000000000000000000000
+00100000010000000101110110101111
+01110000010001001010111000000101
+00100000010000000101110110110100
+00100000010000000101110110100111
+00100000010000000101110111000001
+00100000001000000101110110100010
+00100000010000000101110110101111
+00100000010000000101110110110100
+01011000000000000000000000000101
+00100000010000000101110101100101
+11000011100000000000000000000000
+01110000010001001010111000000000
+01101111111000010100010001110011
+00100000001000000111111001111010
+01101111111000100000100101100100
+01101000010010010100010010101010
+00011000010000001000010111111100
+11100111111000100000000000000010
+00100000011000000000000000000000
+01101000010010010100010010101010
+00011000010000100010001000000000
+00011000010000001000010111111100
+11101111111000100000000000000010
+01100111111000100000100101100100
+01101000010010010100010010101100
+01101111111000011100010010100111
+00100000011000000000000000000000
+00100000010000000101111000010011
+00100000010000000101101101100010
+01011000000000000000000000000000
+01100111111000100000001011100010
+00100000011000000000000000000000
+01110000000000101110001000000110
+01011000000000000000000000000000
+01100111111100010000000010001110
+01011000000000000000000000000001
+01100111111100010000000010001000
+01011000000000000000001011100010
+01100111111100010000000010001010
+01110000100000000000011000000010
+00100000001000000101110101101110
+01110000000000101110001010101011
+00100000001000000101110110110101
+01110000000000101110001010111001
+00100000001000000101110110110101
+00011000010000001000010000000100
+01100000010110010000000010001000
+11011000010000000000000000000010
+00011010001000001010001111111100
+11100000010000001000000000010001
+00011111111100010000010000000000
+11100000010000001000000000000101
+00011111111011001000010000000000
+11100000010000001000000000000101
+11100111111000001000000000000101
+00011010001000100111111000000000
+01100111111100010000000010001010
+01011000000000000000000000000000
+01100111111100010000000010001110
+01110000100000000000011000000010
+00100000010000000101110101101110
+00100000001000000101110111101000
+01100000010110010000000010001110
+00011111111100010000010000000000
+01100000010010001000001011100011
+00011111111011001000010000000000
+01100000010010001000001011100100
+01100111111000001000001011100101
+01011000000000000000000000000100
+01100111111100010000000010001000
+01110000000000101110001000000011
+01011000000000000000001011100010
+01100111111100010000000010001010
+00011010001000100111111000000000
+01100111111100010000000010001100
+01101111111100001000000010000110
+00101010001011000000000000001111
+01111001001000001111111000000110
+01100111111100001000000010000110
+01110000100000000000011000000010
+01101111111100001000000100101100
+11000010100000111101110111100100
+11011000111000000000000000000011
+00100000001000000101110101101110
+01011000000000000000011111010000
+00100000010000000001001101111111
+00100000010000000101110110110100
+01011000000000000000001011100111
+01100111111100010000000010001100
+01011000000000000000000000000101
+00100000010000000101110101100101
+11000010100000000101110111101000
+00100000011000000000000000000000
+01100000010110010000000010001110
+01011000000000000000000000000100
+01100111111100010000000010001000
+01110000000000101110001000000011
+01011000000000000000001011100010
+01100111111100010000000010001010
+00011010001000100111111000000000
+01100111111100010000000010001100
+01101111111100001000000010000110
+00101010001011000000000000001111
+01111001001000001111111000000110
+01100111111100001000000010000110
+01110000100000000000011000000010
+01101111111100001000000100101100
+11000010100000111101110111111110
+11011000111000000000000000000011
+00100000010000000101110010011001
+00100000010000000101110101101110
+00101111111011111111111000000010
+00100000010000000101110010010010
+01101111111000001000001011100011
+00011111111100000010010000000000
+01101111111000001000001011100100
+00011111111011010111111000000000
+10011010010000011010010000000000
+01101111111000001000001011100101
+10011010010000011111111000000000
+10011000010000001111111000000000
+01100111111000001000001011100101
+00011111111011001111111000000000
+01100111111000001000001011100100
+00011111111011001111111000000000
+01100111111000001000001011100011
+00100000011000000000000000000000
+01101111111000001100010010110111
+01101000010010001100010010111001
+10011000010001100111110000000000
+00100100001000101101111000011000
+00100000010000000101111000100100
+01101111111000001100010010110111
+11011000010000000000000000100000
+00100000010000000110000100101100
+01101111111000001100010010111010
+11011000010000000000000000100001
+00100000010000000110000100101100
+01101111111000001100010010111000
+11011000010000000000000000100010
+00100000010000000110000100101100
+01101111111000001100010010111001
+11011000010000000000000000011111
+00100000001000000110000100101100
+01011000000100000000110100001110
+01100111111000011100010010110111
+01011000000100100001000100001111
+11100111111000011000000000000101
+00100000011000000000000000000000
+01110000100000000001000000000001
+00100000011000000000000000000000
+01110000100000001001000100000101
+01110000100000001001001000000111
+01110000100000001001001100000111
+01110000100000001001010000000111
+01110000100000001001010100000111
+01110000100000001001011000000101
+01110000100000001001011100000000
+00100000011000000000000000000000
+01110000100000001001000100001100
+01110000100000001001001000001101
+01110000100000001001001100001101
+01110000100000001001010000001101
+01110000100000001001010100001101
+01110000100000001001011000001100
+01110000100000001001011100000000
+00100000011000000000000000000000
+00100000010000000101111001110000
+01101111111000001100010011000100
+11011000010000000000000001101100
+00100000010000000110000100101100
+01101111111000001100010011000101
+11011000010000000000000001101101
+00100000001000000110000100101100
+00100000010000000101111001110111
+00100000001000000101111000111100
+01101111111100001000000100101100
+11000011000000101101111001000100
+00100000011000000000000000000000
+01100111111000001000001011100110
+01011000000000000000001011100110
+01100111111100010000000010011010
+01011000000000000000000000000001
+01100111111100010000000010011000
+01100000010110010000000010011110
+01100010001100010000000010011100
+01110000100000001001000000000001
+01110000100000000000011000000100
+00100000001000000101111001000100
+01011000000000000000000000000000
+01100111111100010000000010011110
+01100111111100010000000010011100
+01100000010110010000000010011000
+01100010001100010000000010011010
+01110000100000001001000000000001
+01110000100000000000011000000100
+00100000001000000101111001000100
+01111001001000000000000000101000
+01110000010001001000010100001000
+00100000011000000000000000000000
+01111001001111111000000000101000
+01110000010001001000010100100000
+00100000011000000000000000000000
+01101111111000001100010001111011
+10011010010000001111111000000000
+01100111111000001000001011100100
+00100000001000000101111001100110
+01101111111000010000001011100100
+00011111111100001111111000000000
+01100111111000001000001011100100
+01011000000000000000000000000011
+01100111111100010000000010011000
+01110000000000101110001110100000
+01110000000000101110010110100001
+00100000001000000101111010000101
+01100000010010010000100101100100
+00100000010000000101111001110000
+01101000010010010000100101100100
+00100000010000000101111010011111
+00100000001000000101111001110111
+01101111111000001100010011000011
+11000001011111111000000000000000
+11000011000000110101111001110101
+01011000000000100100100111110000
+00100000010000000001001101111111
+01101000010010001100010011000011
+00100000001000000110000100001101
+01101000010010001100010011000011
+00100000001000000110000100001001
+01000111000100011100000000100100
+11000101000101000101111001011111
+01101111111000010100010001111011
+10011010010000001111111000000000
+00011111111100001111111000000000
+01100111111000010000001011100100
+01000111000100100100000000100100
+11000101000101000101111001100011
+01011000000000000000000000000100
+01100111111100010000000010011000
+01110000000000101110001110100000
+01110000000000101110011010100001
+01011000000000000000001011100011
+01100111111100010000000010011010
+01100000010110010000000010011110
+01100010001100010000000010011100
+01011000000000000000000000000010
+00101010001011000000000000001111
+01111001001000001111111000000000
+01100111111100001000000010010000
+01110000100000000000011000000100
+11011000111000000000000000000101
+00100000010000000101110010011001
+00100000010000000101111001000100
+00101111111011111111111000000100
+00100000010000000101110010010010
+11000101000101000101111010011010
+01101111111000010000001011100100
+00011111111100001111111000000000
+10011000010000001111111000000000
+00011111111100001111111000000000
+01100111111000010000001011100100
+00100000011000000000000000000000
+01101111111000001000001011100100
+10011000010000001111111000000000
+00011111111100001111111000000000
+01100111111000010000001011100100
+00100000011000000000000000000000
+01101111111000010100010001111011
+10011010010000001111111000000000
+01100111111000010000100101011100
+01000111000100101100000000100100
+01100000010010010000100101100100
+01100010001000010000100101111011
+00100000010000000101111010110100
+01101000010010010000100101110100
+01101010001000010000100101111011
+01101111111000010000100101011100
+00100000010000000101111011010101
+01101111111000010000100101110100
+01101000010010010000100101111011
+10011000010000001000010000000000
+01100000010010010000100101111011
+01101000010010010000100101011100
+10011000010000001000010000000000
+01100000010010010000100101011100
+01101111111000010000100101100100
+00100100001110100101111010100101
+00100000011000000000000000000000
+01000111000100110100000000100100
+01101111111000001100010010000101
+00011111111000001111111111111111
+01101000010010010000100101011100
+10011000010000011111111000000000
+00011111111000001111111000000001
+01100111111000011000100101111000
+01101111111000010000100101100100
+10011000010000001111111000000000
+01101000010010011000100101111000
+10011000010001100111111000000000
+00100100001000010101111011000110
+01100111111000010000100101100100
+01101111111000011000100101111000
+01101000010010010000100101011100
+10011000010001100111111000000000
+01100111111000010000100101110100
+00100000011000000000000000000000
+01101111111000010000100101100100
+01100111111000010000100101110100
+01011000000000000000000000000000
+01100111111000010000100101100100
+00100000011000000000000000000000
+00011010010000100111111000000000
+00011000010000001000010000000010
+01100000010110010000000010011000
+00011010001000001010001111111110
+11101000010000011000000000010001
+00011000010000100010010000000000
+11011000010000000000000010100000
+11100000010000001000000000010001
+11100111111000001000000000000101
+00100000001000000101111011100010
+00011111111000100010010000000000
+01000111000100111100000000100100
+11000101000101000101111011001011
+00011010010000100111111000000000
+00011000010000001000010000000011
+01100000010110010000000010011000
+00011010001000001010001111111101
+11101000010000011000000000010001
+00011000010000100010010000000000
+11011000010000000000000010100000
+11100000010000001000000000010001
+00011111111100001111111000000000
+11100111111000010000000000000101
+01100010001100010000000010011010
+01011000000000000000000000000000
+01100111111100010000000010011110
+01110000100000001001000000000001
+01110000100000000000011000000100
+00100000010000000101111001000100
+11100010010000011000000000010001
+01000111000101000100000000100101
+01110000000000101110011000000000
+01011000000000000000000000000001
+01100111111100010000000010011000
+01110000000000101110001110100000
+01011000000000000000001011100011
+01100111111100010000000010011010
+01011000000000000000000000000000
+01100111111100010000000010011110
+01100111111100010000000010011100
+01011000000000000000000000000011
+01100111111100001000000010010000
+01110000100000000000011000000100
+00100000010000000101111001000100
+01101111111100001000000100101100
+11000100000000110000000000000000
+00100000000000000000010111011100
+01101111111000001000001011100110
+00011111111000001111111000000001
+01100111111000001000001011100110
+00011111111001100111110000101000
+00100100011000010000000000000000
+00100000001000000101111011101011
+00011000010000100111001000000000
+00011111111000100000010000000000
+01000111000101001100000000100101
+00011000010010011000010000000000
+00100000010000000101111100111100
+01110000100000000100011110000000
+01110000100000000100011110000110
+01100000010110010000000001000101
+00011000010000001000010000001000
+01110000100000000100011110000111
+01101111111100001000000000000111
+11100111111000001000000000010001
+00011010001000001010001000000001
+11000010000000000101111100000110
+01110000100000000100011110000110
+01110000100000000100011110000000
+01110000100000000100011100000000
+00100000001000000101111101000100
+00100000010000000101111100110100
+01110000100000000100011110000000
+00011000010010011000010000000000
+00011010001000100000110000000000
+11101111111000001000000000000110
+11011010010000000000000000001000
+00011111111000010111110000000001
+00100100010000101101111101010000
+00011111111000110111111000000000
+00011000010000001000010000000001
+00011010010000001010010111111111
+00100100001000101101111100011000
+11000010000000000101111100010110
+01110000100000000100011110000000
+01110000100000000100011100000000
+00100000001000000101111101000100
+01101111111100010000101000010100
+01100111111000010000100101011100
+01110000100010100001010001101010
+01110000100010100001010100001011
+00100000011000000000000000000000
+01101111111000010000100101011100
+01100111111100010000101000010100
+00100000011000000000000000000000
+00100000010000000101111100100010
+01101111111100001000101000001010
+01111001001000000111111000000001
+01100111111100001000101000001010
+00100000000000000000000011001000
+01101111111100001000101000001011
+01111001001000000111111000000000
+01100111111100001000101000001011
+00100000000000000000011111010000
+00100000011000000000000000000000
+00100000010000000101111100101010
+01101111111100001000101000001011
+01111001001111111111111000000101
+01111001001000000111111000000100
+01111001001000000111111000000011
+01100111111100001000101000001011
+00100000000000000000000111110100
+00100000011000000000000000000000
+00100000010000000101111100101010
+01101111111100001000101000001011
+01111001001000000111111000000101
+01111001001000000111111000000100
+01111001001111111111111000000011
+01100111111100001000101000001011
+00100000000000000000000111110100
+00100000011000000000000000000000
+01000111000101010100000000100101
+01101111111100001000101000001011
+01111001001111111111111000000101
+01111001001111111111111000000100
+01111001001111111111111000000011
+01111001001111111111111000000000
+01100111111100001000101000001011
+00100000000000000000000011001000
+01101111111100001000101000001010
+01111001001111111111111000000001
+01100111111100001000101000001010
+00100000001000000101111100100111
+01110000100000000100011110000000
+00100000000000000000000000001010
+01100000010110010000000001000101
+01110000100000000100011110000001
+00100000000000000000000001101110
+00100000011000000000000000000000
+00100000010000000111111011000101
+00100000001000000101111101011010
+00100000010000000111111011000111
+00100000001000000101111101011010
+00011111111100010000010000000000
+00100000010101000101111110001101
+00100100010101000101111110010001
+00011111111011110111111000000000
+00011111111100010000010000000000
+00100000010101000101111110000101
+00100100010101000101111110001001
+00100100001101000101111101100110
+01101111111100010000000001010000
+01111001001111111111111000001111
+01100111111100010000000001010000
+00100000011000000000000000000000
+01101111111100010000000001010000
+01111001001111111111111000001110
+01100111111100010000000001010000
+00100000011000000000000000000000
+01100111111100010000000001010010
+00100000011000000000000000000000
+01100111111100010000000001100010
+00100000011000000000000000000000
+00100000010000000101111101110010
+00100000001000000101111101101010
+00100000010000000101111101110010
+00100000001000000101111101101100
+00100000010000000101111101110111
+10011000010001101111110000000000
+00100000010000000111111001100100
+00011000000001111111111000000000
+00100000011000000000000000000000
+01101111111100001000000001000011
+11000011000000000101111101111011
+01011010110111000110110000000000
+00100000011000000000000000000000
+01011001011011100011011000000000
+00100000011000000000000000000000
+01101111111100001000000001000011
+00011111111000010111111011111110
+01100111111100001000000001000011
+00100000011000000000000000000000
+01101111111100001000000001000011
+00011111111000011111111000000001
+01100111111100001000000001000011
+00100000011000000000000000000000
+01100111111100010000000001011010
+01100111111100010000000001011110
+01100000010110010000000001011100
+00100000011000000000000000000000
+01100111111100010000000001101010
+01100111111100010000000001101110
+01100000010110010000000001101100
+00100000011000000000000000000000
+01100111111100010000000001010100
+01100111111100010000000001011000
+01100000010110010000000001010110
+00100000011000000000000000000000
+01100111111100010000000001100100
+01100111111100010000000001101000
+01100000010110010000000001100110
+00100000011000000000000000000000
+01101001010100010000000001011010
+01101010000100010000000001011100
+01101000011100010000000001011110
+00100000011000000000000000000000
+01101001010100010000000001101010
+01101010000100010000000001101100
+01101000011100010000000001101110
+00100000011000000000000000000000
+01101001010100010000000001010100
+01101010000100010000000001010110
+01101000011100010000000001011000
+00100000011000000000000000000000
+01101001010100010000000001100100
+01101010000100010000000001100110
+01101000011100010000000001101000
+00100000011000000000000000000000
+01100000011100010000000001011110
+00100000011000000000000000000000
+01100000011100010000000001101110
+00100000011000000000000000000000
+01100000011100010000000001011000
+00100000011000000000000000000000
+01100000011100010000000001101000
+00100000011000000000000000000000
+00100000010000000101111110011101
+01101111111100010000000100010010
+10011000011000001000011000000000
+00100000001000000101111110101001
+00100000010000000101111110100001
+01101111111100010000000101011000
+10011000011000001000011000000000
+00100000001000000101111110101011
+00100000010000000101111110111101
+00100000001000000101111110010101
+00100000010000000101111110111101
+00100000001000000101111110011001
+00100000010000000101111110100101
+00100000001000000101111111000001
+00100000010000000101111110100111
+00100000001000000101111111000001
+01100000011000010000100110000011
+01100001010000010000100110000001
+01100010000000010000100101111111
+00100000011000000000000000000000
+01101000011000010000100110000011
+01101001010000010000100110000001
+01101010000000010000100101111111
+00100000011000000000000000000000
+00011111001000100111111000000000
+00100000011110100000000000000000
+00011111001000001111001111111000
+00100000010000010101111111010011
+00100000011000101000000000000000
+00100000001000010101111111000111
+00011111001000001111001000001000
+00011111001000001111001111111100
+00100000010000010101111111010110
+00100000011000101000000000000000
+00100000001000010101111111001100
+00011111001000001111001000000100
+00100000001000000101111111011001
+00100000010000000101111111010011
+11101111111001000000000000000110
+11100111111001000000000000000011
+00100000011000000000000000000000
+11101111111000100000000000000110
+11100111111000100000000000000011
+00100000011000000000000000000000
+00011111001000100111111000000000
+00100000011110100000000000000000
+11101111111000001000000000000110
+11100111111000001000000000000011
+11000010000000000101111111011011
+00100000011000000000000000000000
+00011111001000100111111000000000
+00100000011110100000000000000000
+00011111001000001111001111111000
+00100000010000010101111111101101
+00100000011000101000000000000000
+00100000001000010101111111100001
+00011111001000001111001000001000
+00011111001000001111001111111100
+00100000010000010101111111110000
+00100000011000101000000000000000
+00100000001000010101111111100110
+00011111001000001111001000000100
+00100000001000000101111111110011
+00100000010000000101111111101101
+11101111111001000000000000000011
+11100111111001000000000000000101
+00100000011000000000000000000000
+11101111111000100000000000000011
+11100111111000100000000000000101
+00100000011000000000000000000000
+00011111001000100111111000000000
+00100000011110100000000000000000
+11101111111000001000000000000011
+11100111111000001000000000000101
+11000010000000000101111111110101
+00100000011000000000000000000000
+01110000000010010101101100111101
+00100000001000000111100011011100
+01000111000101011100000000100101
+01101111111000001100010010001011
+00100000011110100000000000000000
+00100000010000000110000010100000
+00100000010000101110000010100110
+00100000010000000111111011001011
+00100000010000000110000000101111
+01101111111000001100010010001011
+00011111111000100010011000000000
+01101000010010010100010010001001
+01100000010010010000000011101110
+00011010011000100111111000000000
+00100000001110100101111111111001
+00011010011000001010011111111111
+00011000010000100010001000000000
+11101111111000001000000000010001
+01101000010010001000000011100110
+10011000010001100111110000000000
+00100000010000101110000000010110
+00100000001000010110000000010010
+11101111111000001000000000010001
+00011111111000001111111000000001
+11100111111000001000000000010001
+01101000010010010000000011101110
+00011000010000001000010000100010
+01100000010010010000000011101110
+00100000001000000110000000000110
+01011000000000000000000000000000
+11100111111000001000000000010001
+01101111111000001000000011100111
+11100111111000001000000000000101
+11000000100110011110000000100100
+11011010010000000100000111001011
+11101111111000110000000000000110
+11100111111001000000000000000101
+01011000000000000000000000000000
+11100111111001000000000000000101
+00011010010000100000110000000000
+00100000010000000111110101111111
+00011000000000000111110000000001
+00100000011000000000000000000000
+11000000000110110110000000101000
+11000000000110111110000000101100
+11011010010000000100001100010110
+00100000001000000110000000011100
+11011000110000000100001110101100
+00100000010000000111110101111111
+11011000110000000100001100010110
+00100000001000000110000000100001
+11011000110000000100001110100100
+00100000010000000111110101111111
+00100000001000000110000000101010
+00100000010000000111111011000111
+01101111111000001100010010001011
+00100000011110100000000000000000
+01000111000101100100000000100101
+01101111111000010100011110001111
+11000010100000000110000001010010
+11000100000001001000000000000000
+01101111111000001100001101101010
+11000000000000000110000001001011
+01101111111000001000001010011100
+00101111111000011000000011000000
+00100000001000001110000000111110
+00101111111000011000000001000000
+00100000001000001110000001010000
+00100000001000000110000001000101
+00100000001101100110000001000010
+01101111111000001100001101001110
+11000011000000001110000001001011
+00100000001000000110000001000101
+00100000010000000110000001001011
+00100000011101000000000000000000
+00100000001000000110000001000101
+01101111111000001100001110011101
+11000010100000111110000001001000
+00100000001000000110000001001110
+01101111111000110000001010010111
+01100111111001000100001110100100
+00100000001000000110000001001110
+01110000000000001110011100110101
+01101111111000110000001010010111
+00100000001000000110000001010100
+01110000000000001110011100110111
+00100000001000000110000001010100
+01110000000000001110011100110110
+00100000001000000110000001010100
+01110000000000001110011100110011
+01101111111000110000000001000000
+01100111111000110000000011101000
+01101111111000010100010010001001
+11101000010000001000000000111111
+00011111111000001111111000000001
+01100111111000010000000011101110
+01100000010010001000000011100110
+01101111111000001100010010001011
+00011111111000100010011000000000
+01101111111000010000000011101110
+00011111111000100010001000000000
+00100000010000000110000001101100
+00100000011101000000000000000000
+01101000010010010000000011101110
+00011000010000001000010000100010
+01100000010010010000000011101110
+00011000010000001000010111111111
+11101111111000001000000000000010
+01100111111000001000000011100110
+00011010011000001010011111111111
+00100100001000101110000001011100
+01101111111000001100010010001011
+00011111111000001111111111111111
+01100111111000001000000011100110
+00100000011000000000000000000000
+01101111111000001000000011100111
+11000000100110011110000001110011
+11011010010000000000000011100111
+11011111001000000000000000000111
+00100000010000000111111001100110
+00100000001000101111111011000101
+00100000011000000000000000000000
+11000000000110110110000001110110
+11000000000110111110000010010001
+00100000001000000110000001101110
+11101000010000001000000000010001
+10011000010001100111110000000000
+00100100011000101000000000000000
+11011000101000000000100110001110
+11011111001000000000000000010000
+00100000010000000111110110011011
+01101111111000011000001010011010
+01100111111000011000100110001110
+00100000010000000110000010001000
+01101111111000010000100110101011
+00011111111100001111111000000000
+00011111111011010000010000000000
+11101111111000001000000000000110
+10011000010000001111111000000000
+01101000010010011000001010010111
+10011000010001100111110000000000
+00100000001000101111111011000101
+00100000011000000000000000000000
+11011000110000000000100110001110
+00100000010000000110111000101000
+11101111111000001000000000010001
+00100000010000000110111000101001
+00011000000000000110110000111000
+00011000000000000110110000000000
+00100000010000000110110110111111
+11011000101000000000100110011110
+00100000001000000110111000111100
+11101000010000001000000000010001
+10011000010001100111110000000000
+00100100011000101000000000000000
+00011000110000100010001000000000
+00011000110000001010011000001000
+11011010010000000100001110100100
+11011111001000000000000000001000
+00100000010000000111111001100110
+00100000001000101111111011000101
+00011010011000100010001000000000
+11011010010000000100001110101100
+11011111001000000000000000001000
+00100000010000000111111001100110
+00100000001000101111111011000101
+00100000011000000000000000000000
+01101111111000010100010010001001
+11101000010000001000000000111111
+00011111111000001111111000100010
+11101111111000001000000000111111
+10011000010001100111110000000000
+00100000011000000000000000000000
+01101111111000001100010010001011
+00011111111000100111001000000000
+01101000010010010100010010001001
+01011000000000000000000000000000
+11100111111000001000000000000010
+00011000010000001000010000100010
+00011111111000001111111000000001
+11000010000000000110000010101010
+00100000011000000000000000000000
+01000111000101101100000000100101
+00100000010000000111111011001001
+00100000010000000110000000101111
+01101111111000001000000000110000
+01111001001101000111111000000110
+01100111111000001000000000110000
+00100100001101000110000010111010
+00011010001000001000110000001010
+11011000101000000100000111001011
+00100000010000000111110101111111
+00100000001000000110000011010000
+01110000010000011100101000000000
+00100000011000000000000000000000
+00100000010000000111111011001001
+00100000010000000110000000101111
+00100100001101000110000011000111
+01101111111000010000000011101110
+00011111111000001000110000000001
+11011000101000000100001110101100
+00100000010000000111110101111111
+11011000101000000100001100010110
+00100000010000000111110101111111
+01110000010000110010011000000001
+00100000011000000000000000000000
+01110000010000110010011000000000
+00100000011000000000000000000000
+01110000000000001110011100110100
+00100000001000000110000011001100
+01110000000000001110011100110011
+01101111111000001100000010011010
+11000000000001010101111111111011
+11000000000001000100010111000110
+00100000011000000000000000000000
+01101111111001000100000111001011
+01101000010011000100000111010011
+10011000010000011111111000000000
+00100000011110100000000000000000
+01110000010000011100101000000001
+00100000011000000000000000000000
+01000111000101110100000000100101
+01111001001000000000010000000111
+00100000010000000110000011111101
+01111101001000001000010000000111
+01000111000101111100000000100101
+00011000010001100111110011111111
+00100000011000101000000000000000
+00101000010011000000000000000111
+00011000010000010000111000011111
+01101111111000100000000010011110
+11111001001000001111111000000000
+01100111111000100000000010011110
+01101111111000100000000010100010
+11111101001000001111111000000000
+01100111111000100000000010100010
+00100000011000000000000000000000
+01000111000110000100000000100110
+00011000010001100111110011111111
+00100000011000101000000000000000
+00101000010011000000000000000111
+00011000010000010000111000011111
+01101111111000100000000010011110
+11111001001111111111111000000000
+01100111111000100000000010011110
+01101111111000100000000010100010
+11111001001111111111111000000000
+01100111111000100000000010100010
+00100000011000000000000000000000
+00100000010000000110000011100110
+00100000001000000110000011110111
+00011000010001100111110011111111
+00100000011000101000000000000000
+00100100010101011110000011011010
+00100000010000000110000100100100
+01011000000000000000000000000000
+00101000010011111111111000000111
+01111101001000001111111000000110
+01111001001000001111111000000111
+00100000001000000110000100011111
+11011000101000001000000100011100
+00011000010000010000111000000111
+00011000010010010111111000000000
+00011111111000010111111000000011
+10011000101000001000101000000000
+11101111111000001000000000000101
+00101000010011111111111000000111
+00100000001000001110000100000111
+10101111111011000000000000000000
+00100000011000000000000000000000
+10101111111011111111111111111111
+00100000011000000000000000000000
+00011000010001100111110011111111
+00100000011000101000000000000000
+00101111110011111111111000000111
+00100000001000000110000100010000
+00011000010001100111110011111111
+00100000011000101000000000000000
+00101111110011000000000000000111
+01011000000000000000000000000000
+01111101001000001111111000000111
+10011000010000101000010000000000
+00100000010000000110000100100100
+01011000000000000000000000111111
+00101000010011111111111000000111
+01111001001000001111111000000000
+00100000001000000110000100011111
+00100000010000000110000100100100
+11101111111000001000000000000101
+11000010100000000110000100011101
+00101000010011000000000000000111
+00100000011000000000000000000000
+00101000010011111111111000000111
+00100000011000000000000000000000
+11100111111000001000000000000101
+00100000011000000000000000000000
+00100000010000000110000100100100
+01011000000000000000000000000000
+00100000001000000110000100011111
+00011000010000010111111000111111
+11011000101000001000000001110000
+10011000101000001000101000000000
+00100000011000000000000000000000
+00011111111000010000010011111111
+00011111111011001111111000000000
+00100000001000000110000100101100
+11000100000000111000000000000000
+00011111111000010111111000111111
+11011000101000001000000001110000
+10011000101000001000101000000000
+11100000010000001000000000000101
+00100000011000000000000000000000
+00011000010000010000010000111111
+01011000000000001000000001110000
+10011000010000001000110000000000
+11101111111000001000000000000110
+00100000011000000000000000000000
+11011111001000000000000000010100
+11011000110000001000000001110000
+00011000110000100000101000000000
+11101111111000001000000000000110
+11000000000000010110000101001010
+11000000000000011110000101001010
+11000000000000100110000101001010
+11000000000000101110000101001010
+11000000000000110110000101001010
+11000000000000111110000101001010
+11000000000011111110000101001010
+11000000000100000110000101001010
+11000000000100001110000101001010
+11000000000100010110000101001010
+11000000000100011110000101001010
+11000000000101100110000101001010
+11000000000101101110000101001010
+11000000000000000110000101001010
+11000010000000000110000100111000
+00100000011000000000000000000000
+01011000000000000000000001000000
+11100111111000001000000000000101
+00100000001000000110000101001000
+01011000000000000000000010000000
+11100111111000001000000000000101
+00100000001000000110000101001000
+01000111000110001100000000100110
+01101111111001000000101000110100
+00100000001110100110000101011101
+11011000110000000000101000110100
+11011000101000000100010010010010
+11011111001000000000000000000011
+11101111111000011000000000000110
+00011111111100100000010000000000
+11100000010000010000000000000101
+00011111111011001000010000000000
+11100000010000010000000000000101
+11000010000000000110000101010110
+00100000011000000000000000000000
+01011000000000000100011010011010
+01100111111000010100010010010010
+01011000000000001010101101110111
+01100111111000010100010010011000
+01011000000000000111001111010000
+01100111111000010100010010011100
+01011000000000001001011001011000
+01100111111000010100010010010110
+00100000011000000000000000000000
+01000111000110010100000000100110
+01101010010100001000101000010010
+01110000100010100001001000111101
+01110000100010100001000110101010
+01110000100010100000101000001100
+01101111111100001000101000001001
+01111001001000000111111000000111
+01100111111100001000101000001001
+01110000100010100000101100000100
+00100000000000000000000000111100
+01110000100010100001011000000000
+01110000100010100001011100000110
+00100000010000000110000110000010
+01100111111100001000101010010111
+01110000100000001101110000000011
+00100000000000000000000000111100
+01101111111100001000000001010011
+01111001001000000111111000000111
+01100111111100001000000001010011
+00100000000000000000001111101000
+01101111111100010000000101010000
+01100111111000010100010010100100
+01101111111100001000000001010011
+01111001001111111111111000000111
+01100111111100001000000001010011
+01110000100010101001011100000000
+01100010010100001000101000010010
+00100000011000000000000000000000
+01101111111000001100010010100010
+11000000000000000110000110001001
+11000000000000001110000110001011
+01101111111000001100010010100011
+00011111111010011111111000000000
+00011111111000011111111000000111
+00100000011000000000000000000000
+01011000000000000000000001010111
+00100000011000000000000000000000
+01011000000000000000000001001111
+00100000011000000000000000000000
+01000111000110011100000000100110
+01101111111000001100010010100010
+11000000000000000110000110010011
+11000000000000001110000110011001
+11000000000000010110000110011111
+00100000011000000000000000000000
+01011000000000000000000001100100
+01100111111000010100010010100000
+01101000010010010100010010011100
+01101111111000010100010010010110
+11011010011000000000000100101100
+00100000001000000110000110100100
+01011000000000000000000001100100
+01100111111000010100010010100000
+01101000010010010100010010011010
+01101111111000010100010010010100
+11011010011000000000000100101100
+00100000001000000110000110100100
+01011000000000000000000011001000
+01100111111000010100010010100000
+01101000010010010100010010010010
+01101111111000010100010010011000
+11011010011000000000000100101100
+10011000010001100010001000000000
+01101111111000010100010010100100
+10011000010001100111111000000000
+00100100001000010110000110110001
+01101000010010010100010010100000
+10011000010011111010010000000000
+00011010011000100111111000000000
+10011010001011111111111000000000
+10011010010001100111111000000000
+10011010001001101111110000000000
+00100000010000000111111001100100
+00011000000001111111111000000000
+00100000011000000000000000000000
+00011000010000100111111000000000
+01101000010010010100010010100100
+10011000010001100111111000000000
+01101000010010010100010010100000
+10011000010011111010010000000000
+00011010011000100111111000000000
+10011010001011111111111000000000
+10011010010000001111111000000000
+00100000001000000110000110101101
+11101111111001000000000000010001
+01100111111001000000100101011100
+01101111111000010000100101011100
+01101000010010010000100101011110
+10011000010001100010001000000000
+01101111111000010000100101100010
+10011000010001100010010000000000
+01101000010010010000100101100000
+10011000010001100111110000000000
+00100100010000010110000111001010
+00011010010011111111111001100100
+10011010001001101111110000000000
+00100000010000000111111001100100
+00011000000001111111111000000000
+00100000010110100110000111010010
+00100000011000000000000000000000
+01101111111000001100010010100110
+01111001001000000111111000000000
+01100111111000001100010010100110
+00100000011000000000000000000000
+01101111111000001100010010100110
+01111001001111111111111000000000
+01100111111000001100010010100110
+00100000011000000000000000000000
+01101000010010001100010010100110
+01111001001000000000010000000001
+01100000010010001100010010100110
+00100000011000000000000000000000
+01101000010010001100010010100110
+01111001001111111000010000000001
+01100000010010001100010010100110
+00100000011000000000000000000000
+01101111111000010100010011001000
+11101111111000001000000000111111
+00100000011110100000000000000000
+00011111111000100111001000000000
+01101111111000010100010011001000
+00011111111000001111111000000011
+00011111111000100010001000000000
+11101000010000001000000000010001
+00100000010000000110000011110100
+00011010001000001010001000000001
+11000010000000000110000111100001
+00100000011000000000000000000000
+01101111111000010100010011001000
+00011111111000001111111000000011
+00011111111000100010001000000000
+00011000000000000010010000000000
+01011000000000000000000000000000
+01100111111000010000100111011110
+11101000010000001000000000010001
+00100000010000000110000011111101
+01000111000110100100000000100110
+01101111111000010000100111011110
+00011010010000100000111000000000
+11111001001000001111111000000000
+01100111111000010000100111011110
+00011010001000001010001000000001
+00011010010000001010010000000001
+01101111111000010100010011001000
+11101111111000001000000000111111
+10011010010000101111110000000000
+00100100001000101110000111101100
+01101111111000010000100111011110
+01101000010010010100010011001010
+10011000010000101111110000000000
+00100000011000101000000000000000
+01111000001101000111110000000000
+00100000011000000000000000000000
+01101111111000010100010011001000
+11101111111000001000000000111111
+00100000011110100000000000000000
+00011111111000100111001000000000
+01101111111000010100010011001000
+00011111111000001111111000000011
+00011111111000100010001000000000
+11101000010000001000000000010001
+00100000010000000110000011010110
+00011010001000001010001000000001
+11000010000000000110001000000110
+00100000011000000000000000000000
+11011000111000000000000000001001
+00100000010000000111110111101001
+00100100011110100000000000000000
+01011000000000000000000000100000
+11011000111000000000000000001001
+00100000010000000111110111011011
+01111000010101000111110000000000
+00100000010000000110000111111111
+01000111000110101100000000100110
+01101111111000010100010011001000
+11101111111000001000000000111111
+00100000011110100000000000000000
+00100000010000000110000111100110
+00100100001101000111100001010101
+00100000010000000111100001010011
+01111000010101000111110000000000
+01101111111000010000100111011110
+01100111111000010000100111100101
+01110000000010011110011100000000
+00011000000000000000111000000000
+01101111111000010100010011001010
+00011111111000110000010000000000
+01100000010010010100010011001010
+00011111111000010111111000000001
+01101000010010010000100111100101
+00011000010000010010001000000001
+00011000010000110000010000000000
+01100000010010010000100111100101
+10011010001000101111110000000000
+00100100010000101110001000110100
+01101111111000010100010011001000
+11101111111000001000000000111111
+01101000010010001000100111100111
+00011000010000001000010000000001
+01100000010010001000100111100111
+00011000010000100000111000000000
+10011000111000101111110000000000
+00100100001000101110001000011111
+01101111111000010000100111011110
+01100111111000010100010011001010
+00100000011000000000000000000000
+01000111000110110100000000100110
+01101111111000010100010011001000
+00011111111000001111111000000001
+11101111111000010000000000111111
+00100000001000000111111001111010
+01101111111100001000000001000010
+10011010001000011111111000000000
+01100111111100001000000001000010
+01101111111100010000000001010000
+01111001001111111111111000001101
+01100111111100010000000001010000
+00100000000000000000000001100100
+00100000011000000000000000000000
+01101111111100001000000001000010
+11000010100000110110001001000110
+11000010100000111110001001001000
+01011000101101110001101100000000
+00100000011000000000000000000000
+01011001011011100011011000000000
+00100000011000000000000000000000
+01011000000000001000000011101000
+00100000011000000000000000000000
+01101111111000001000100101011101
+11000010100000100110001001001110
+11000011000000100110001001010101
+00100000011000000000000000000000
+01111000001101000111110000000000
+00011111111000010000111000001111
+00100000010000000110001001011100
+00011000000001111010010000000000
+00011000010000100111111000000000
+10011010010001100010001000000000
+00100000011000000000000000000000
+01111000010101000111110000000000
+00011111111000010000111000001111
+00100000010000000110001001011100
+00011000000001111010001000000000
+00011000010000100111111000000000
+10011010001001100010010000000000
+00100000011000000000000000000000
+01101111111100001000000011011000
+11111001001101000111111000000000
+01100111111100001000000011011000
+00100000011000000000000000000000
+01101000010010011000100101011110
+00100000010000000110001001000001
+10011000010001101111110000000000
+00100000010000000111111001100100
+00011000000001111000010000000000
+01101111111000001000100101100001
+10011000010011111111111000000000
+00011111111001101111110001100100
+00100000010000000111111001100100
+00100000010000000110001001001010
+01101111111000001000100101011101
+00100000010000000110001001110010
+01101111111000001000100101011100
+01101000010010001000100101011101
+00011000010000010000010000001111
+00011000010011010000010000000000
+10011000010000011111111000000000
+00100000001000000110001001111011
+00011111111000010111111000001111
+11011000101000001000000010100000
+00011111111011111111111000000100
+10011000101000001000101000000000
+00011010001000100111111000000000
+11100111111000010000000000000101
+00011010010000100111111000000000
+11100111111000010000000000000101
+00100000011000000000000000000000
+01111000001101000111110000000000
+00100000010000000110001010010000
+00100000001000000110001010000000
+01111000010101000111110000000000
+00100000010000000110001010001011
+00011000010000100111111000000000
+00011111111011010111111000000000
+00011000111000001000010000010000
+10011000010000011111111000000000
+00100000010000000110000100101000
+01101111111100001000000010000100
+01110000100000001000010000000000
+00100000000000000000010010110000
+11111001001101000111111000000000
+01100111111100001000000010000100
+00100000011000000000000000000000
+00011111111000100000010000000000
+00011111111011001111111000000000
+00011111111000100000111000000000
+00100000011000000000000000000000
+01111000010101000111110000000000
+00100000010000000110001010001011
+01101111111100001000000011011101
+11111101001101000111111000000000
+01100111111100001000000011011101
+00100000001000000110001010000000
+11011000010000000010011100010000
+10011000010011111111111000000000
+11011000010000010011000100101101
+10011000010001101111110000000000
+00100000010000000111111001100100
+00011000000001111000010000000000
+01011000000000000000100000000000
+10011000010001100111111000000000
+00011111111000100000010000000000
+00011000010000010000010000001111
+01100000010110001000000000001011
+00011111111000100000010000000000
+00011000010100011000010000000000
+01100000010110001000000000000100
+00100000011000000000000000000000
+01111000001101100111110000000000
+00100000001000000110001010100111
+01111000010101100111110000000000
+01101111111100001000000001000011
+01111001001101100111111000000011
+01100111111100001000000001000011
+00100000011000000000000000000000
+11011000010000000000000000110001
+01100111111100100000000011001010
+01100111111100010000000011001110
+01100000010110001000000011010000
+00100000011000000000000000000000
+01101111111100010000000100110000
+00100000011000000000000000000000
+01101000011100010000000011001110
+01101001010100010000000011001010
+01101010000100010000000011001100
+00100000011000000000000000000000
+01100000011100010000000011001110
+00100000011000000000000000000000
+00100000010000000111111011000101
+11011101011000000000000000000000
+00100000010000000110001010110000
+11000000000000010110001011111010
+00011111111001100111110000000100
+00100000011000010000000000000000
+00100000010000000110001010110010
+11101000010000010000000000000011
+01011000000000001010011001010100
+00100000010000000110001100000011
+00100100001000010110001011101000
+00011011000000100000010000000000
+01011000000000010111111110001110
+00100000010000000110001100000011
+00100100001000010110001011101000
+00011011000000100000010000000000
+01011000000000000010001100101000
+00100000010000000110001100000011
+00100000001000010110001011011111
+11101000010000010000000000000011
+01011000000000000001000110010100
+00100000010000000110001100000011
+00100000001000010110001011011111
+00100000010000000110001010110000
+00011111111001100111110010000101
+00100000011000010000000000000000
+11011111001000000000000000100000
+11101000010000010000000000000011
+01011000000000000000001000110000
+00100000010000000110001100000011
+00100000001000010110001011011111
+11101000010000010000000000000011
+01011000000000000000011010011010
+00100000010000000110001100000011
+00100100001000010110001011100100
+00011011000000100000010000000000
+01011000000000000000001000110000
+00100000010000000110001100000011
+00100100001000010110001011100101
+00011011000000100000010000000000
+01011000000000001111111111111111
+10011000010001100111110000000000
+00100000001000101110001011111111
+00100000001000000110001010110110
+01111001001000000101011000100000
+00011101011000110101011000000000
+11000010000000000110001011010011
+00100000001000000110001011110011
+00100000010000000110001010110000
+00011111111001100111110000000111
+00100000011000010000000000000000
+11101000010000010000000000000011
+01011000000000000010001100101000
+00100000010000000110001100000011
+00100000001000010110001011011111
+11101000010000010000000000000011
+01011000000000000000100011001010
+00100000010000000110001100000011
+00100000001000010110001011011111
+11101000010000010000000000000011
+01011000000000000000001000110000
+00100000010000000110001100000011
+00100000001000010110001011011111
+00100000010000000110001010110110
+00011010011000100111111000000000
+00100000001000000111111001111010
+00100000010000000110001010110010
+11101000010000010000000000000011
+01011000000000001111111111111111
+10011000010001100111110000000000
+00100100011000101000000000000000
+00100000010000000110001010110110
+00100000010000000111111011000111
+00011010011000100111111000000000
+00100000001000000111111001111010
+01101010010000001100010011010110
+00011000010000100011000000000000
+10011010010011111010010000000000
+00011000010000111000010000000000
+10011000010001100010001000000000
+00100100010000010110001100001100
+00011010001011111111111001100100
+10011010010001100111110000000000
+00100000011000000000000000000000
+00011010001001100010001000000000
+00100000011000000000000000000000
+01110000010000011111000000011000
+01110000100000000100001000000001
+01011000000000000001110101001011
+01100111111100010000000001000000
+11011111001000000000000000001011
+11011010001000000000000101010101
+11101111111000010000000000010001
+00011111111000111111111000000000
+11100111111000010000000000010001
+00011010001000001010001000000010
+11000010000000000110001100010100
+00100000011000000000000000000000
+00011011011000111011011000000000
+00100000011000000000000000000000
+01110000100000000100001000000100
+01110000010000011111000000001100
+01011000000000000000111010100101
+01100111111100010000000001000000
+00100000011000000000000000000000
+01110000100000000100001000000101
+00100000001000000110001100011101
+00100000011101011000000000000000
+01110000010001100101010100000000
+01110000000000111100000000000011
+01110000000000111100000100000011
+01110000000000111100010100010001
+01110000000000111100011000010011
+01011000000000000000000000000000
+01100111111000011000001111000010
+01100111111000001100010011100111
+01110000010001111000111000000000
+01011000000000000000000000000000
+01100111111000001100010011100111
+01100111111000001100011001010010
+01100111111000001100011001001011
+01101111111000001100011001011001
+11000000000000001110001100110101
+01110000010001100101011101010000
+00100000011000000000000000000000
+01110000010001100101011100000000
+00100000011000000000000000000000
+00011000010000011000010000000010
+00100000011000000000000000000000
+00011000010000100111111000000000
+00011111111011011111111000000000
+01100111111000001100011001010000
+00011000000000000111111000111111
+00011111111011011111111000000000
+01100111111000001100011001001111
+00011000000000000111111000000001
+00011111111011011111111000000000
+01100111111000001100011001001110
+00100000010000000110001101101111
+00011000010000100111111000000000
+00100000011000000000000000000000
+00011111111011011111111000000000
+01100111111000001100011001010000
+00011000000000000111111001110011
+00011111111011011111111000000000
+01100111111000001100011001001111
+00011000000000000111111000000001
+00011111111011011111111000000000
+01100111111000001100011001001110
+00100000001000000110001101101111
+01101111111000001100011001010001
+00100000001110100110001101010010
+01011000000000000000000001110000
+00100000011000000000000000000000
+01011000000000000000000010101010
+00100000011000000000000000000000
+00011111111011011111111000000000
+01100111111000001100011001010000
+00011000000000000111111011101111
+00100000010000000110001101100011
+01101000010010010000001111001010
+00011000010000100000101000000000
+11100111111000001000000000000101
+00011000101000100000010000000000
+01100000010010010000001111001010
+00011000000000000111111011111111
+00100000010000000110001101100011
+01101000010010010000001111001010
+00011000010000100000101000000000
+11100111111000001000000000000101
+00100000011000000000000000000000
+00011111111011011111111000000000
+01100111111000001100011001001111
+01101111111000010100011001001111
+00011111111011010111111000000000
+01100111111000011000001111000111
+11011010001000000000000100000111
+11011010010000000000000000001111
+00100000010000000110001101111100
+00011111111000101111111011010111
+00011111111001000111111000000000
+00011111111011011111111000000000
+00100000011000000000000000000000
+01101111111000011100011001001110
+01100111111000011000001111000111
+11011010001000000000000100000111
+11011010010000000000000000001111
+00100000010000000110001101111100
+00011111111011010111111000000000
+11011010010000000000000000000111
+00100000010000000110001101111100
+00011111111000101111111000101011
+00011111111001000111111000000000
+00011111111011011111111000000000
+00011111111000100000010000000000
+00100000011000000000000000000000
+11011010011000000000000000000000
+00011010010000100111001000000000
+00100000010000000111110100110000
+00011111111000100000010000000000
+00011000010000100111111000000000
+00011010011000111010011000000000
+11000011000001000110001110000101
+10011010001000101000010000000000
+00011010011000001010011000000001
+00011000010000111000010000000000
+01101111111000011000001111000111
+00011010010000001010010111111111
+00101010010000011111111011111111
+00100000001000001110001110001111
+00011010010000100111001000000000
+00100000010000000111110100110000
+00101111111011111111111000000000
+01111001001000001000010000000000
+00100000001000000110001110000000
+00011000010000110111111000000000
+00100000011000000000000000000000
+01101000010010001100011001001011
+00011000010010111000010000000000
+01111001001000000000010000000000
+01101111111000001100011001010001
+00100100010110100110001100110111
+01100000010010001000001111100000
+00100000011000000000000000000000
+00011000010000111000010000000000
+01101111111000001100011001010001
+01111001001110100000010000000000
+00100000011000000000000000000000
+01101000010010001000001111001111
+01110000000000111101000111010111
+00100000010000000110010011010101
+01101111111000001100010011100100
+01111001001000000111111000000110
+01111001001000000111111000000111
+01100111111000001100010011100100
+01110000010001100101000100000000
+00100000001000000110010010110110
+01101111111000001100010011100100
+01111001001000000111111000000111
+01100111111000001100010011100100
+00100000001000000110010010110110
+01000111000110111100000000100110
+01101111111000001100011110001110
+11000000000000000110001110101101
+00100000001000000110010001101011
+01101111111000010000001100010101
+00011111111000100000110000000000
+00100000010000000110001111010111
+01101111111000001000001111001111
+11000000000000000110001110110011
+00100000001000000110010000110111
+01000111000111000100000000100111
+01101111111000001000001111010000
+11000000000111111110001110011100
+11000000001110011110001110100101
+11000000011101111110001110111010
+11000000001010011110010001100011
+00100000011000000000000000000000
+01101111111000010000001111010100
+00011111111000100000110000000000
+00100000010000000110001111100010
+01101111111000001000001111010110
+11000000001000001110001111000100
+11000000001000000110001111001100
+11000000001110001110010000000101
+11000000001110000110010000010001
+11000000001001001110010000011100
+00100000001000000110010010110110
+00100000010000000110001111001110
+00100000001000000110001111000110
+01101111111000001100010011100111
+01111001001000000111111000000000
+01111001001000000111111000000001
+01100111111000001100010011100111
+00100000010000000110010011111111
+00100000001000000110010010110110
+00100000010000000110001111001110
+00100000001000000110010010110110
+00100000010000000110001111101010
+00100000001000000110001111110110
+00100000010000000110001111101010
+11101111111000001000000000000110
+00011111111010010111111000000000
+01100111111000001100011001011000
+11101111111000001000000000000110
+01100111111000001000001111011011
+00100000011000000000000000000000
+11101111111000001000000000000110
+01100111111000001000001111001110
+00011111111010010111111000000000
+01100111111000001000001111001111
+11101111111000001000000000000110
+01100111111000001000001111010000
+00100000010000000110001111101101
+01100000010010010000001111010010
+00011000110000100111111000000000
+01100111111000010000001111010100
+00100000011000000000000000000000
+11101111111000001000000000000110
+00011111111000110111111000000000
+01100111111000001000001111010110
+00100000010000000110001111101101
+01100000010010010000001111010111
+00011000110000100111111000000000
+01100111111000010000001111011001
+00100000011000000000000000000000
+01101111111000010000001111011001
+00011111111000100000110000000000
+00100000011000000000000000000000
+11101111111000001000000000000110
+00011111111000100000010000000000
+00011000010000110000010000000000
+11000011100000000000000000000000
+11101111111000001000000000000110
+00011111111010011111111000000000
+00011111111100100111111000000000
+10011000010000001000010000000000
+00100000011000000000000000000000
+11101111111000001000000000000110
+01100111111000001100011001001011
+11101111111000001000000000000110
+01100111111000001000001111011100
+11101111111000001000000000000110
+01100111111000001000001111011101
+11101111111000001000000000000110
+01100111111000001000001111011110
+11101111111000010000000000000110
+01100111111000010100011001001100
+11101111111000001000000000000110
+01100111111000001000001111011111
+11101111111000001000000000000110
+01100111111000001100011001010110
+00100000011000000000000000000000
+00100000010000000110001111010000
+00100000001000000110010000000111
+01101111111000001100010011100111
+01111001001000000111111000000101
+01111001001000000111111000000110
+01100111111000001100010011100111
+01101000010010001100011001001011
+00011000010010111000010000000000
+00011000010000011000010000000011
+00100000010000000110010100110000
+01110000010001100101010100000011
+00100000001000000110010010110110
+01110000000010010101101100001000
+00100000010000000111100011011100
+00100000010000000110001111010000
+01101111111000001100011001011000
+00011111111001100111110000000001
+00100000001000101110010000011000
+00100000001000000001001101111100
+01101111111000001100010011100111
+01111001001000000111111000000111
+01100111111000001100010011100111
+00100000001000000110010010110110
+00100000010000000110001111101010
+11101111111000001000000000000110
+01100111111000001000100110001110
+00100000010000000101001110000011
+00100000010000000101001110010001
+01011000000000000000000000001110
+11100111111000010000000000000101
+01101111111000010100010011011101
+11100111111000010000000000000101
+01101111111000001100011001010001
+00011111111000111111111000000000
+01111001001000000111111000000000
+11100111111000001000000000000101
+01000111000111001100000000100111
+01011000000000000001010111101111
+11100111111000010000000000000101
+01011000000000000001000110010001
+11100111111000010000000000000101
+01101111111000001000100110001110
+11100111111000001000000000000101
+01011000000000000000000000000111
+11100111111000101000000000000101
+01011000000000000000000000000001
+11100111111000010000000000000101
+00100000010000000110001101001110
+11100111111000001000000000000101
+00100000011000000000000000000000
+00100000001000000110010000111000
+01000111000111010100000000100111
+01101111111000001000001111010000
+11000000001110011110010001000000
+11000000000111111110010001000100
+11000000011101111110010001011110
+11000000011111111110010001010110
+11000000001010011110010001100101
+00100000011000000000000000000000
+01101111111000001100010011100111
+01111001001000000111111000000011
+01100111111000001100010011100111
+00100000001000000110010010110110
+01101111111000001100010011100111
+01111001001000000111111000000011
+01111001001000000111111000000010
+01100111111000001100010011100111
+01101111111000001000001111001110
+00100000010000000110001101000101
+01100111111000001000001111010001
+00100000010000000110010011010101
+01101111111000001000001111001110
+00011111111010110111111000000000
+01100111111000001100011001001011
+00011111111010111111111000000000
+01111001001111111111111000000001
+01111001001000000111111000000000
+11011000010000000100011001010011
+01100000010010010000001111001010
+00100000010000000110001101010100
+00100000001000000110010010110110
+01101111111000010000001111010100
+00011111111000100000110000000000
+00011111111000001111111000000001
+01100111111000010000001111010100
+11101111111000001000000000000110
+01101000010010001100011001010110
+10011000010000001111111000000000
+01100111111000001100011001010110
+00100000010000000110010101100001
+00100000010000000110001110010001
+00100000010000000110010101000111
+00100000010000000110010101101010
+00100000001000000110010010110110
+01110000000010010101101100001001
+00100000010000000111100011011100
+00100000010000000110001100101101
+01101111111000001000001111001110
+00100000010000000110001101000101
+01100111111000001000001111010001
+00100000010000000110010011010101
+00100000001000000110010010110110
+01101111111000010000001100010101
+00011111111000100000110000000000
+00100000010000000110001111010111
+01101111111000001000001111001111
+11000000000000000110010001110001
+00100000001000000110010010100101
+01000111000111011100000000100111
+01101111111000001000001111010000
+11000000000111111110001110011100
+11000000001110011110001110100101
+11000000011101111110010001110111
+00100000001000000110010010110110
+01101111111000010000001111010100
+00011111111000100000110000000000
+00100000010000000110001111100010
+01101111111000001000001111010110
+11000000001000001110010010000000
+11000000001000000110010010000000
+11000000001110001110010010001011
+11000000001110000110010010011011
+00100000001000000110010010110110
+00100000010000000110001111001110
+01101111111000001100011001001011
+00011111111000110111111000000000
+01101000010010001100011001010010
+10011000010001100111110000000000
+00100000001000101110010010000111
+00100000001000000001001101111100
+01101111111000001100010011100111
+01111001001000000111111000000001
+01100111111000001100010011100111
+00100000001000000110010010110110
+00100000010000000110001111010000
+01101111111000001100011001011000
+01101000010010001100011001010010
+10011000010001100111110000000000
+00100000001000101110010010010010
+00100000001000000001001101111100
+00100000001000000110010010110110
+01101111111000001100010011100111
+01111001001000000111111000000101
+01111001001000000111111000000110
+01100111111000001100010011100111
+01101000010010001100011001001011
+00011000010010111000010000000000
+00011000010000011000010000000011
+00100000010000000110010100110000
+00100000001000000110010010110110
+00100000010000000110001111010000
+01101111111000001100011001011000
+01101000010010001100011001010010
+10011000010001100111110000000000
+00100000001000101110010010100001
+00100000001000000001001101111100
+01101111111000001100010011100111
+01111001001000000111111000000111
+01100111111000001100010011100111
+00100000001000000110010010110110
+01101111111000001000001111001111
+01101000010010001100011001010010
+10011000010001100111110000000000
+00100000001000101110010010101011
+00100000001000000001001101111100
+00100000001000000110010010110110
+01101111111000001000001111010000
+11000000001110011110010010110000
+11000000011101111110010001011110
+11000000011111111110010001010110
+11000000001010011110010010110101
+01101111111000001100010011100111
+01111001001000000111111000000011
+01100111111000001100010011100111
+00100000001000000110010010110110
+00100000001000000110010010110100
+00100000001000000110010001100101
+00100000011000000000000000000000
+01101111111000001100011001010101
+00100000011110100000000000000000
+11000000000000011110010010111011
+00100000001000000001001101111100
+01110000010001100101010100000000
+00100000010000000101001110000011
+11011000010000000000000000000001
+01101000010010001100011001001011
+00011000010010111000010000000000
+00011000010000011000010000000011
+11011010001000000000000010101010
+00100000010000000110010100011011
+00100000010000000101001110010001
+00011000101000100000110000000000
+11101111111000010000000000000110
+00100000001110100001001101111100
+00100000011000000000000000000000
+00100000010000000101001110010001
+01011000000000000000000000000100
+11100111111000010000000000000101
+01101111111000010100010011011101
+11100111111000010000000000000101
+01101111111000001000001111001110
+11100111111000001000000000000101
+01000111000111100100000000100111
+01011000000000000000000100111111
+11100111111000010000000000000101
+01101111111000001000001111010001
+11100111111000001000000000000101
+00100000011000000000000000000000
+00100000010000000101001110000011
+00100000010000000101001110010001
+01011000000000000000000000000100
+11100111111000010000000000000101
+01101111111000010100010011011101
+11100111111000010000000000000101
+01101111111000001000001111001110
+11100111111000001000000000000101
+01000111000111101100000000100111
+01011000000000000000000101110011
+11100111111000010000000000000101
+01101111111000001000001111010001
+11100111111000001000000000000101
+00100000011000000000000000000000
+00100000010000000101001110010001
+01011000000000000000000000001110
+11100111111000010000000000000101
+01101111111000010100010011011101
+11100111111000010000000000000101
+01101111111000001100011001010001
+00011111111000111111111000000000
+01111001001000000111111000000000
+11100111111000001000000000000101
+01000111000111110100000000100111
+01011000000000000001010111101111
+11100111111000010000000000000101
+01011000000000000001000110000011
+11100111111000010000000000000101
+00011000010000100111111000000000
+11100111111000001000000000000101
+01011000000000000000000011110000
+11100111111000011000000000000101
+01011000000000000000000001111111
+11100111111000010000000000000101
+01011000000000000000000000000000
+11100111111000001000000000000101
+01011000000000000000000000000001
+11100111111000001000000000000101
+00100000010000000110001101001110
+11100111111000001000000000000101
+01110000010001100101011100010000
+00100000011000000000000000000000
+00100000010000000101001110000011
+00100000010000000101001110010001
+01011000000000000000000000001110
+11100111111000010000000000000101
+01101111111000010100010011011101
+11100111111000010000000000000101
+01101111111000001100011001010001
+00011111111000111111111000000000
+01111001001000000111111000000000
+11100111111000001000000000000101
+01000111000111111100000000100111
+01011000000000000001010111101111
+11100111111000010000000000000101
+01011000000000000001000110000001
+11100111111000010000000000000101
+01101111111000001100011001001011
+11100111111000001000000000000101
+01011000000000000000000011100000
+11100111111000011000000000000101
+01101111111000010100011001011010
+11100111111000010000000000000101
+01011000000000000000000000000000
+11100111111000001000000000000101
+01101111111000001100011001011100
+11100111111000001000000000000101
+00100000010000000110001101001110
+11100111111000001000000000000101
+00100000011000000000000000000000
+00100000010000000101001110010001
+01011000000000000000000000001000
+11100111111000010000000000000101
+01101111111000010100010011011101
+11100111111000010000000000000101
+01101111111000001100011001010001
+00011111111000111111111000000000
+01111001001000000111111000000000
+11100111111000001000000000000101
+01000111001000000100000000101000
+01011000000000000000100111101111
+11100111111000010000000000000101
+01011000000000000000010111100011
+11100111111000010000000000000101
+00011000010000100111111000000000
+11100111111000001000000000000101
+01011000000000000000000010001101
+11100111111000001000000000000101
+00100000010000000110001101001110
+11100111111000001000000000000101
+00100000011000000000000000000000
+00100000010000000101001110000011
+00100000010000000101001110010001
+01011000000000000000000000001000
+11100111111000010000000000000101
+01101111111000010100010011011101
+11100111111000010000000000000101
+00011000010000100001011000000000
+01101111111000001100011001010001
+00011111111000111111111000000000
+01111001001000000111111000000000
+11100111111000001000000000000101
+01000111001000001100000000101000
+01011000000000000000100111101111
+11100111111000010000000000000101
+01011000000000000000010111100001
+11100111111000010000000000000101
+00011001011000100111111000000000
+11100111111000001000000000000101
+01011000000000000000000010001101
+11100111111000001000000000000101
+00100000010000000110001101001110
+11100111111000001000000000000101
+00100000011000000000000000000000
+01000111001000010100000000101000
+01101111111000001100011001010111
+00100000011110100000000000000000
+01101111111100010000000100010010
+00100100011110100000000000000000
+00011010001000100111111000000000
+01100111111000001000100101011101
+01100000010010001000100101011100
+00100000010000000101001101001111
+00100100011110100000000000000000
+00100000010000000101001110000011
+00100000010000000101001110010001
+01011000000000000000000000000101
+11100111111000010000000000000101
+01101111111000010100010011011101
+11100111111000010000000000000101
+01101111111000001000001111100000
+11100111111000001000000000000101
+01011000000000000000000111111111
+11100111111000010000000000000101
+01101111111000001100011001010111
+11100111111000001000000000000101
+01101111111000001100011001010100
+11100111111000001000000000000101
+01110000010001100101011100000000
+00100000011000000000000000000000
+01000111001000011100000000101000
+01101111111000001100011001011001
+11000001000000001000000000000000
+01101111111000010000001111010010
+00100000011110100000000000000000
+01101111111000001100011001010111
+00011111111000001111111000000001
+01100111111000001100011001010111
+00100000011000000000000000000000
+01101111111000010100011001011101
+00100000001000000111111001111010
+01000111001000100100000000101000
+01101111111000001100011001010110
+00100000011110100000000000000000
+00011111111000001111111111111111
+01100111111000001100011001010110
+01101111111000010100011001001100
+01101000010010010100011110101100
+10011000010001100111110000000000
+00100000001000010110010101110110
+01100111111000010100011110101100
+01101111111000001100011001010111
+00100000001110100110010101111110
+01110000000000111110001100000001
+01101111111000001100011001010100
+01100111111000001000001111100010
+01011000000000000000000011111111
+01100111111000001000001111100001
+00100000001000000110010110000011
+01110000000000111110001100000000
+01101111111000001100011001010011
+01100111111000001000001111100010
+01011000000000000000000011101111
+01100111111000001000001111100001
+01000111001000101100000000101000
+01101111111000010100011110101100
+00011111111001100111110001111111
+00100000001000010110010110001010
+01101111111000001000001111100011
+00011111111000001111111000000001
+01100111111000001000001111100011
+00100000010000000110001110010001
+01101111111000010100011110101100
+00011111111000001111111000001000
+01101000010010001000001111100011
+10011000010000001010001000000000
+00100000010000000101001011111011
+01100111111000010000001100101000
+00011111111000001111111000000100
+01100111111000010000001100101010
+00011111111000100000101000000000
+01101111111000001000001111100000
+11100111111000001000000000000101
+01101111111000001000001111100001
+11100111111000001000000000000101
+00100000010000000110010110110100
+00100000010000000110010111000101
+01000111001000110100000000101000
+01101111111000010100011001011111
+00011111111000100000011000000000
+01101111111000010100011110101100
+00011111111000100111001000000000
+00100000010000000101111111011111
+00011000101000100000010000000000
+00011000011000100111111000000000
+01100111111000010100011001011111
+00011000010000100000101000000000
+01101111111000001000001111100010
+11100111111000001000000000000101
+01101111111000010000001100101000
+00011111111000100000101000000000
+01101111111000010100011110101100
+01101000010010001000001111100011
+10011000010000001111111000000000
+00011111111000001111111000000100
+11100111111000010000000000000101
+01101111111000010100010011011101
+11100111111000010000000000000101
+01110000010001100101011100000000
+01101111111000010100011001100001
+11000000000000000011100101101001
+01110000000010011101000100000000
+00100000011000000000000000000000
+01000111001000111100000000101000
+01101111111000010100011110101100
+00011111111001100111110001111111
+00100100001000010110010110111100
+00011111111000111111111000000000
+01111001001000000111111000000000
+11100111111000001000000000000101
+00100000011000000000000000000000
+01101111111000010100011110101100
+00011111111010010111111000000000
+00011111111100011000010000000000
+00011111111000010111111001111111
+00011111111000111111111000000000
+01111001001111111111111000000000
+11100111111000001000000000000101
+11100000010000001000000000000101
+00100000011000000000000000000000
+01101111111000001100011001010111
+00100000011110100000000000000000
+11100111111000001000000000000101
+00100000011000000000000000000000
+01000111001001000100000000101001
+00100000010000000111100011110010
+00100000010000000011000110000100
+00100000010000000101101010011110
+01000111001001001100000000101001
+00100000010000000111000011010111
+00100000010000000111000010110000
+00100000010000000111000011000001
+00100000010000000101001101001111
+00100100011110100000000000000000
+00100000010000000100111001100010
+00100000010000000101001101001111
+00100100011110100000000000000000
+01000111001001010100000000101001
+00100000010000000110011000010011
+00100000010000000101000000100000
+00100000010000000110010010110111
+00100000010000000110010111011101
+01000111001001011100000000101001
+00100000001000000011000110000000
+01101111111000001000001100110000
+11000010100000000101000101000011
+11000010100000111101000101001101
+00100000011000000000000000000000
+01000111001001100100000000101001
+00100000010000000101001101010101
+00100000011110100000000000000000
+01101111111000001000000001001011
+11000011100000110000000000000000
+00100000010000000101001100111001
+01100111111000010000000010111110
+00011111111000100000110000000000
+11101111111000010000000000000110
+00011111111000001111111000000100
+01100111111000010100000111100110
+01110000010000011110010100000110
+01000111001001101100000000101001
+01101111111000010100010011011001
+00100000001110100110010111111100
+01101111111000001000000001001011
+11000100000000111000000000000000
+01111001001111111111111000000111
+01100111111000001000000001001011
+01110000010000011110010100000101
+01101000010010010100010011011001
+01101111111000010000000010111110
+10011000010000001111111000000000
+01100111111000010000000010111110
+01101111111000010100000111100110
+10011000010001100111111000000000
+01100111111000010100000111100110
+01101111111000010100000111100110
+00100000001110100001001101111100
+11011000010000000000000100000100
+10011000010001100111111000000000
+00100000001000101110011000000111
+00100100001000010110011000000111
+01100000010010010100000111100110
+01101111111000010100010011011001
+10011000010000001111111000000000
+01100111111000010100010011011001
+00100000001000000110011000001001
+01011000000000000000000000000000
+01100111111000010100010011011001
+01101111111000001000000001001011
+01111001001000000111111000000110
+01100111111000001000000001001011
+00100000011000000000000000000000
+01101111111000001100011110010001
+11000010100000000110011000010001
+01110000000000110011100000000001
+00100000011000000000000000000000
+01110000000000110011100000001111
+00100000011000000000000000000000
+01101111111000001100011110001110
+00100100001110100110011000011001
+01101111111000001000001100110111
+00100000011110100000000000000000
+01110000000000110011011100000000
+00100000011000000000000000000000
+01000111001001110100000000101001
+01101111111000001000001100111000
+00100000011110100000000000000000
+11000000000000001110011000111001
+11000000000000010110011010010010
+11000000000000011110011000111111
+11000000000000100110011010010110
+11000000000111011110011001001001
+11000000000111100110011010011001
+11000000000001101110011001001110
+11000000000001110110011010011110
+11000000000001111110011001010001
+11000000000010000110011010100100
+11000000000010001110011001010111
+11000000000010010110011010101000
+11000000000010011110011001011101
+11000000000010100110011010101100
+11000000000010101110011001100011
+11000000000010110110011010110000
+11000000000010111110011001101001
+11000000000011000110011010110101
+11000000000011001110011001101111
+11000000000011010110011010111001
+11000000000011011110011001110101
+11000000000011100110011010111101
+11000000000011101110011001111011
+11000000000011110110011011000010
+11000000000011111110011010000001
+11000000000100000110011011000110
+11000000000100001110011010001100
+11000000000100010110011011001010
+00100000011000000000000000000000
+00100000010000000110011011010101
+01110000000000110011100000000010
+01101111111000001100010011100011
+01111001001000000111111000000000
+01100111111000001100010011100011
+00100000011000000000000000000000
+01110000000000110011100000000100
+01101111111000001100010011100011
+11000011100000010000000000000000
+01110000000000110011100000000011
+00100000010000000110011011011100
+01110000000000110011100000000100
+01101111111000001100010011100011
+01111001001000000111111000000010
+01100111111000001100010011100011
+00100000011000000000000000000000
+00100000010000000101001101010101
+00100100011110100000000000000000
+00100000010000000110011011101011
+01110000000000110011100000111100
+00100000011000000000000000000000
+00100000010000000110011011100001
+01110000000000110011100000001110
+00100000011000000000000000000000
+00100000010000000110011011111011
+01110000000000110011100000010000
+01101111111000001100010011100101
+01111001001000000111111000000000
+01100111111000001100010011100101
+00100000011000000000000000000000
+00100000010000000110011100000010
+01110000000000110011100000010010
+01101111111000001100010011100101
+01111001001000000111111000000010
+01100111111000001100010011100101
+00100000011000000000000000000000
+00100000010000000110011100000111
+01110000000000110011100000010100
+01101111111000001100010011100110
+01111001001000000111111000000000
+01100111111000001100010011100110
+00100000011000000000000000000000
+00100000010000000110011100001110
+01110000000000110011100000010110
+01101111111000001100010011100110
+01111001001000000111111000000010
+01100111111000001100010011100110
+00100000011000000000000000000000
+00100000010000000110011011101111
+01110000000000110011100000011000
+01101111111000001100010011100100
+01111001001000000111111000000000
+01100111111000001100010011100100
+00100000011000000000000000000000
+00100000010000000110011011110110
+01110000000000110011100000011010
+01101111111000001100010011100100
+01111001001000000111111000000010
+01100111111000001100010011100100
+00100000011000000000000000000000
+00100000010000000110011100010011
+01110000000000110011100000011100
+01101111111000001100010011100100
+01111001001000000111111000000110
+01100111111000001100010011100100
+00100000011000000000000000000000
+00100000010000000110011100011010
+01101111111000001100010011100111
+01111001001000000111111000000000
+01100111111000001100010011100111
+01110000000000110011100000011110
+00100000011000000000000000000000
+00100000010000000110011100100000
+01101111111000001100010011100111
+01111001001000000111111000000010
+01100111111000001100010011100111
+01110000000000110011100000100000
+01101111111000001100011001010010
+00011111111010011111111000000000
+00011111111000011111111000000011
+11011000010000000100011001010011
+01100000010010010000001111001010
+00100000001000000110001101010100
+00100000010000000110011100101010
+01101111111000001100010011100111
+01111001001000000111111000000100
+01100111111000001100010011100111
+01110000000000110011100000100010
+00100000011000000000000000000000
+01101111111000001100010011100011
+11000100000000001000000000000000
+01110000000000110011100000000011
+00100000001000000110011000011001
+01101111111000001100010011100011
+11000001100111111000000000000000
+01110000000000110011100000111011
+01101111111000001000001100110110
+11000001100010111000000000000000
+01110000000000110011011000000000
+01110000000000110011100000001101
+00100000001000000110011000011001
+01101111111000001100010011100011
+00100100011110100000000000000000
+01101111111000001100011110010001
+11000010100000000110011011001101
+11000010100000110110011011001111
+00100000001000000110011011010011
+01101111111000001100010011100101
+11000100000000001000000000000000
+01110000000000110011100000010001
+00100000001000000110011000011001
+01101111111000001100010011100101
+11000001100111111000000000000000
+01110000000000110011100000010011
+00100000001000000110011000011001
+01101111111000001100010011100110
+11000100000000001000000000000000
+01110000000000110011100000010101
+00100000001000000110011000011001
+01101111111000001100010011100110
+11000001100111111000000000000000
+01101111111000001100011110010001
+11000010100000110110011011001111
+00100000001000000110011011010011
+01101111111000001100010011100100
+11000100000000001000000000000000
+01110000000000110011100000011001
+00100000001000000110011000011001
+01101111111000001100010011100100
+11000001100111111000000000000000
+01110000000000110011100000011011
+00100000001000000110011000011001
+01101111111000001100010011100100
+11000001111111111000000000000000
+01101111111000001100011110010001
+11000010100000110110011011010001
+00100000001000000110011011010011
+01101111111000001100010011100111
+11000100000000001000000000000000
+01110000000000110011100000011111
+00100000001000000110011000011001
+01101111111000001100010011100111
+11000100000000011000000000000000
+01110000000000110011100000100001
+00100000001000000110011000011001
+01101111111000001100010011100111
+11000001111111111000000000000000
+00100000001000000110011011010011
+01110000000000110011100000001111
+00100000001000000110011000011001
+01110000000000110011100000010111
+00100000001000000110011000011001
+01110000000000110011100000011101
+00100000001000000110011000011001
+01110000000000110011100000000000
+00100000011000000000000000000000
+01000111001001111100000000101001
+00100000010000000101001101101001
+01011000000000000000000000000001
+00011111111000100000010000000000
+01011000000000000000000001010000
+00011111111000100001011000000000
+00100000001000000101000101100100
+01000111001010000100000000101010
+00100000010000000101001101101001
+01101111111000010100010011011011
+00011111111000100000010000000000
+00100000001000000101000101110011
+01000111001010001100000000101010
+00100000010000000101001101101001
+01101111111000010100010011011011
+00011111111000100000010000000000
+11011001011000000000000001010000
+00100000010000000101000110001000
+01101111111000001100010011100011
+01111001001111111111111000000101
+01100111111000001100010011100011
+00100000011000000000000000000000
+01000111001010010100000000101010
+00100000010000000101001101110110
+00100000010000000110101001010110
+00100000001000000101000110100011
+01000111001010011100000000101010
+00100000010000000101001101101001
+01011000000000000000000000000011
+00011111111000100000010000000000
+01011000000000000000000001010001
+00011111111000100001011000000000
+00100000001000000101000101100100
+01000111001010100100000000101010
+00100000010000000101001101101001
+01101111111000010100010011011101
+00011111111000100000010000000000
+00100000001000000101000101110011
+01000111001010101100000000101010
+00100000010000000101001101101001
+01011000000000000000000000010001
+00011111111000100000010000000000
+01011000000000000000000001010010
+00011111111000100001011000000000
+00100000001000000101000101100100
+01000111001010110100000000101010
+00100000010000000101001101101001
+01101111111000010100010011011111
+00011111111000100000010000000000
+00100000001000000101000101110011
+01000111001010111100000000101010
+00100000010000000101001101101001
+01011000000000000000000000010011
+00011111111000100000010000000000
+01011000000000000000000001010011
+00011111111000100001011000000000
+00100000001000000101000101100100
+01000111001011000100000000101011
+00100000010000000101001101101001
+01101111111000010100010011100001
+00011111111000100000010000000000
+00100000001000000101000101110011
+01000111001011001100000000101011
+00100000010000000101001110000011
+01110000000000111100111000000011
+01110000000000111101000100011100
+00100000010000000110010011001000
+01110000010001100101000100000001
+00100000011000000000000000000000
+01000111001011010100000000101011
+00100000010000000101001110000011
+01101000010010001100011001010010
+00100000010000000110001110011000
+01100000010010001100011001001011
+00100000001000000110010011100011
+01000111001011011100000000101011
+00100000010000000101001110000011
+01101000010010001100011001001011
+00100000010000000110001110010010
+00100000010000000110001100111001
+01100111111000001000001111010001
+01101000010010001100011001001011
+00100000010000000110001110010010
+01100000010010001000001111001110
+00100000001000000110010011001000
+01000111001011100100000000101011
+00100000010000000101001110000011
+01101000010010001100011001001011
+00100000010000000110001110010010
+00100000001000000110010100011011
+01000111001011101100000000101011
+01101111111000010000001100010101
+10011000000000000000110000000000
+11101111111000001000000000000110
+00011111111000100010010000000000
+01100111111000001000001111101110
+11101111111000010000000000000110
+01100111111000010000001111101111
+11101111111000001000000000000110
+00011111111011010001011000000000
+11101111111000001000000000000110
+10011001011000001001011000000000
+01000111001011110100000000101011
+00011000110000100000010000000000
+11011111001000000000000000000100
+11011000101000000000001111111101
+00100000010000000111110110001100
+00011000010000100000110000000000
+00011010010000100111111000000000
+11000000000000001110100011011000
+11000000000000010110011101001010
+11000000000000011110100011011000
+11000000000000100110011101110010
+11000000000000101110100011011000
+11000000000000110110100000100000
+11000000000000111110100011011000
+00100000001000000110100011011111
+01000111001011111100000000101011
+00100000010000000110100011101110
+00101000010000011111111000000001
+00100000001000001110100101011110
+00101000010000011111111011111111
+00100000001000001110100011100010
+11101111111000010000000000000110
+01100111111000010000001111110101
+00011001011000001001011111111110
+00011001011000001001011111111111
+00100100001000101110100011011100
+11011001011000000000001111100100
+11101111111000010000000000001011
+00100000011110100000000000000000
+00100000010000000110100110100000
+00100000010000000101001110000001
+00011000000000000111111000000011
+11100111111000001000000000000101
+01101111111000010000001111101111
+11100111111000010000000000000101
+00011000111010111111111000000000
+00011111111000001111111000000101
+00011111111000001010011000000101
+00011111111100001111111000000000
+11100111111000010000000000000101
+00011000111000100111111000000000
+00011111111100001111111000000000
+11100111111000010000000000000101
+11100111111000010000000000000101
+11011000110000000000001111111101
+00011000111000100111001000000000
+00100000001000101110011101101101
+11101111111000100000000000000110
+11100111111000100000000000000101
+11000010000000000110011101101010
+00011000000000000111111000000000
+11100111111000001000000000000101
+00011010011000100111111000000000
+01100111111000010000001100100110
+00100000011000000000000000000000
+01000111001100000100000000101100
+11101111111000100000000000000110
+01100111111000100000001111110111
+00011001011000001001011111111100
+00100000010000000110100001001100
+01100111111000010000001111110011
+00011001011000001001011111111110
+00100000010000000110100101000110
+00100000001000101110100011100010
+00101010001000011111111000000101
+00100000001000001110011110000000
+11011000101000000000001111111101
+00011000000000000000111000000000
+00100000001000000110011110001111
+11101111111000001000000000000110
+11000000100001010110100011100010
+11101111111000010000000000000110
+00100100001110100110011110001101
+11101111111000001000000000000110
+11000000111111111110011110001011
+11101111111000001000000000000110
+11000000111111111110011110001001
+00100000001000000110011111010110
+00011000110000001000110111111011
+00100000001000000110011101111101
+00011000110000001000110111111100
+00100000001000000110011101111101
+00011000110000001000110111111101
+00100000001000000110011101111101
+11101111111000001000000000000110
+11000000000001001110011110100100
+11000000000001010110011110010010
+11101111111000010000000000000110
+11100111111000010000000000000101
+00011000111000001000111000000001
+00011111111100001010010000000000
+11101111111000010000000000000110
+00011111111100001111111000000000
+00011010010000001010010000000001
+10011010010001100111110000000000
+00100100001000010110011110100001
+00011111111000100010011000000000
+00011010010100001111111000000000
+11100111111000010000000000000101
+00011000111000001000111000000001
+00011010011000100111111000000000
+00100000001000000110011110011000
+00011001011000001001011111111011
+00011010001000001010001111111011
+00100000001000000110011110101001
+11101111111000010000000000000110
+11100111111000010000000000000101
+00011000111000001000111000000001
+00011001011000001001011111111101
+00011010001000001010001111111101
+00100100001000010110100011100010
+00100100001000101110011110001111
+00011001011000001001011111111111
+00100100001000101110100011100010
+00100000010000000101001110000001
+00011000101000001000101000001010
+11011010001000000000001111111101
+00011000111000100111111000000000
+00100000001110100110011111000011
+11101111111000010000000000010001
+00100000001110100110011111000011
+10011000000000000010010000000000
+01101111111000100000001111110111
+10011000000000000000010000000000
+00100000010000000110101000000101
+00011000110000100111111000000000
+00100000001110100110011111000000
+00011000110000001000110111111101
+11101111111000011000000000000110
+11100111111000011000000000000101
+00100000010000000110100101111001
+10011000000000000111001000000000
+00100000010000000111110111010100
+00011010001000001010001000000010
+00011000111000001000111111111111
+00100000001000000110011110110000
+11011010001000000000000000000101
+00100000010000000110100010100010
+01101111111000010000001100100110
+11000000000001011110100101100001
+00100000001000000110100010111000
+11101111111000001000000000000110
+11000000000000000110011111001100
+11000000000000001110011111001110
+11000000000000010110011111010001
+00011001011000001001011111111111
+00100000001000000110011111010100
+11101111111000001000000000000110
+00011001011000001001011111111110
+00100000001000000110011111010100
+11101111111000010000000000000110
+00011111111100001111111000000000
+00011001011000001001011111111101
+01100111111000010000001111101100
+00100000011000000000000000000000
+00011001011000001001011111111011
+00100000010000000110011111001000
+00100100001000101110100011011100
+01101000010010100000001111110111
+00100000010000000110100111001111
+00100100001000101110100011011001
+00011000110000100010001000000000
+00100000010000000101001110000001
+00011010001000100000110000000000
+00011000101000001000101000000011
+00011000110000100001011000000000
+00100000010000000110100110000000
+00011111111000100010001000000000
+01101111111000010000001111101100
+00011111111000100010010000000000
+00011010001000100111111000000000
+10011010010001100010010000000000
+01101111111000010000001111110011
+10011010010001100111110000000000
+00100100001000010110100000000101
+01111000010101000111110000000000
+01101111111000010000001111101100
+00100000001110100110011111111000
+10011001011000001000110000000000
+00011010010000001010010000000011
+00011010010000100111001000000000
+00011111001000100111111000000000
+00011111111000001111111000000011
+00011111111100001111111000000000
+11100111111000010000000000000101
+00011111001000100111111000000000
+00011111111100001111111000000000
+11100111111000010000000000000101
+00100000001000000110100000010011
+00011010001000001111001000000110
+00100000001101000110011111111100
+00011111001100001111111000000000
+00100000001000000110011111111111
+00011111001000100111111000000000
+00011111111000001111111000000010
+00011111111100001111111000000000
+11100111111000010000000000000101
+00011111001000001111001111111101
+00011111001100001111111000000000
+11100111111000010000000000000101
+00011001011000100000110000000000
+00100000001000000110100000010011
+01111000001101000111110000000000
+01101111111000010000001111110011
+00011111111000100010001000000000
+00011010001000100111001000000000
+01101111111000010000001111101100
+00100000001110100110011111111000
+10011001011000001000110000000000
+00011010001000100111111000000000
+00011111111000001111111000000101
+00011111111100001111111000000000
+11100111111000010000000000000101
+00011010001000100111111000000000
+00011111111100001111111000000000
+11100111111000010000000000000101
+00100000010000000111110111010100
+00100100001101000110100000011100
+00011000000000000111111000000010
+11100111111000001000000000000101
+00011000110000100111111000000000
+10011001011001100111111000000000
+00011111111100001111111000000000
+11100111111000010000000000000101
+00100000001000000110100000011110
+00011000000000000111111000000000
+11100111111000001000000000000101
+11011010001000000000000000000101
+00100000001000000110100011001110
+01000111001100001100000000101100
+00100000010000000110100011101110
+00101000010000011111111011111111
+00100000001000001110100011100010
+00100000010000000110100001001100
+01100111111000010000001111110011
+00011001011000001001011111111110
+00100000010000000110100101000110
+11011000101000000000001111111101
+00011000000000000000111000000000
+11101111111000001000000000000110
+11000000000001010110100001010100
+11101111111000010000000000000110
+11100111111000010000000000000101
+00011000111000001000111000000001
+00011001011000001001011111111101
+00011010001000001010001111111101
+00100100001000010110100011100010
+00100100001000101110100000101010
+00011001011000001001011111111111
+00100100001000101110100011100010
+00100000010000000101001110000001
+00011000101000001000101000001101
+01101111111000010000001111100100
+10011000000000000010011000000000
+11011010001000000000001111111101
+11101111111000010000000000010001
+00100000001110100110100001000111
+10011000000000000010010000000000
+00100000010000000110100111100100
+00100000001110100110100001000101
+00011000110000001000110111111101
+11101111111000011000000000000110
+11100111111000011000000000000101
+00100000010000000110100101111001
+10011000000000000111001000000000
+00100000010000000111110111010100
+00011010001000001010001000000010
+00100000001000000110100000111010
+00100000010000000110100010100001
+01101111111000010000001100100110
+11000000000001110110100101100100
+00100000010000000110100010111000
+00100000001000000110100010111000
+11101111111000010000000000000110
+00011111111100001111111000000000
+00011111111000001111111111111101
+11011000010000000000000011001000
+10011000010001100111110000000000
+00100100011000010000000000000000
+01011000000000000000000011001000
+00100000011000000000000000000000
+00011000110000001000110000000100
+00011001011000001001011111111011
+00011010001000001010001111111011
+00100100001000101110100011100010
+00100000010000000110011111001000
+00100100001000101110100011011100
+11011001011000000000001111100100
+00100000010000000110100110100000
+00011000111000100111111000000000
+00100000001110100110100101100100
+01100111111000001000010000100001
+00011010010000100111111000000000
+01100111111000010000010000011111
+11011000111000000000000000000000
+11011010001000000000000000000000
+00100000010000000101001110000001
+00011000101000001000101000001010
+00100000010000000110100010001010
+00100100001101000001001101111100
+00011000110000100001011000000000
+00011111111000100010011000000000
+10011010001000001010001000000000
+01101111111000010000001111101100
+00011111111000100010010000000000
+00100000001110100110100010010011
+00011010001000100111111000000000
+10011010010001100010010000000000
+00100000001000101110100010000101
+00100100001000010110100010000101
+01101111111000010000001111110011
+10011010010001100111110000000000
+00100000001000101110100001111100
+00100100001000010110100001111100
+00011010010000100111001000000000
+00100000010000000110100001111111
+01101111111000001000010000100001
+00011000111000001000111000000001
+10011000111001100111110000000000
+00100000001000101110100010100001
+00100000001000000110100010111110
+00011111111000100111001000000000
+00100000010000000110100001111111
+00100000001000000110100010111110
+00011000101000001000101111111101
+00011111001000100000010000000000
+00011010011000100111111000000000
+10011010010001100111111000000000
+10011001011000001000110000000000
+00100000001000000111110111010100
+01101111111000001000010000100001
+00011000111000001000111000000001
+10011000111001100111110000000000
+00100000011000101000000000000000
+00100000001000000110100001100101
+00100000010000000111111011000111
+11011000110000000000001111111101
+00011000111010111111111000000000
+10011000110000001000110000000000
+11101000010000100000000000000110
+00100000010000000110100111001111
+00100100011000101000000000000000
+00100000010000000110100101111001
+00100000001000000111111011000101
+01101111111000010000001111110011
+10011010001001100111110000000000
+00100100001000010110100010101101
+00011010001000100111001000000000
+00011111001000100000010000000000
+00011001011000100000110000000000
+00100000010000000111110111010100
+01101111111000010000010000011111
+10011010001001100111110000000000
+00100000001000101110100010011111
+00100000010000000110100010111110
+00100000001000000110100010110010
+00100000010000000110100010100001
+00100000001000000110100010110010
+11011010001000000000000000000111
+00011000000000000111111000000000
+11100111111000001000000000000101
+00100000010000000110100011001110
+01101000010010010000001100100110
+00011000010000001000010111111011
+00011000010100001111111000000000
+11100111111000010000000000000101
+00011000010000001000010111111101
+00011000010100001111111000000000
+11100111111000010000000000000101
+00100000011000000000000000000000
+00011111111000100111001000000000
+00011111001000100000010000000000
+00011001011000100000110000000000
+00100000010000000111110111010100
+00100000010000000110100010111110
+01011000000000000000000000110110
+11100111111000001000000000000101
+01101111111000010000010000011111
+00011111111100001111111000000000
+11100111111000010000000000000101
+00100000011000000000000000000000
+01011000000000000000000000110110
+11100111111000001000000000000101
+00011000010000001000010111111101
+00011000010100001111111000000000
+11100111111000010000000000000101
+00100000011000000000000000000000
+11011010001000000000000000000111
+01011000000000000000000000000010
+11100111111000001000000000000101
+01101111111000010000001111101100
+10011000010000001000010000000000
+00011000010100001111111000000000
+11100111111000010000000000000101
+00100000010000000110100011001110
+01101000010010010000001100100110
+00011000010000001000010111111011
+00011000010100001111111000000000
+11100111111000010000000000000101
+00011000010000001000010111111011
+00011000010100001111111000000000
+11100111111000010000000000000101
+00100000011000000000000000000000
+01101111111000010000001100100100
+10011000101001100111111000000000
+00011111111001100111111000000000
+01100111111000010000001100100110
+00100000010000000101001110000001
+00011010001000100111111000000000
+11100111111000001000000000000101
+01101111111000010000001111101111
+11100111111000010000000000000101
+00100000011000000000000000000000
+00100000011000000000000000000000
+01011000000000000000001000000000
+01100111111000010000010000011101
+00100000001000000110100011100100
+01011000000000000000010000000000
+01100111111000010000010000011101
+00100000001000000110100011100100
+01011000000000000000011000000000
+01100111111000010000010000011101
+00100000001000000110100011100100
+01011000000000000000001100000000
+01100111111000010000010000011101
+00100000010000000101001110000001
+11100111111000001000000000000101
+01101111111000010000001111101111
+11100111111000010000000000000101
+01011000000000000000001000000000
+11100111111000010000000000000101
+01101111111000010000010000011101
+11100111111000010000000000000101
+01110000000000110010011000000111
+00100000011000000000000000000000
+11011010010000000000000000000000
+00011000000000000000010000000000
+11011000101000000000001111100100
+00100000010000000110100101000110
+00100000001000101110100101000100
+00011010010000001010010000000001
+11101111111000001000000000000110
+00011010001000001010001111111111
+00011001011000001001011111111111
+00101111111000011111000000011000
+00100100001000001110100101000100
+00101111111000000000111000000100
+00100100001000001110100100010001
+00011000000000000000010000000001
+11101111111000001000000000000110
+00011010001000001010001111111111
+00011001011000001001011111111111
+11000000100000000110100100000101
+11101111111000001000000000000110
+00011010001000001010001111111111
+00011001011000001001011111111111
+11000000000000000110100100010110
+00100000001000000110100100001000
+00011000110000001000110000000001
+00011010001000001010001111111111
+00011001011000001001011111111111
+00011000110000001000110000000010
+00011010001000001010001111111110
+00011001011000001001011111111110
+00101000010000011111111000000000
+00100000001000001110100100111110
+00011000110000001000110000001100
+00011010001000001010001111110100
+00011001011000001001011111110100
+00100000001000000110100100111110
+00101111111000000000111000000010
+00100100001000001110100100010100
+00100000001000000110100011111100
+00101111111000000000111000000001
+00100100001000001110100101000100
+00011010001000001010001111111110
+00011001011000001001011111111110
+11101111111000010000000000000110
+00011010010001100111110000000100
+00100000001000101110100100011100
+11100111111000010000000000000101
+00101000010000011111111000000000
+00100000001000001110100100111110
+00011000110000100000010000000000
+11101111111000001000000000000110
+11000000100000000110100100110111
+11101111111000001000000000000110
+11000000100000000110100100110111
+11101111111000001000000000000110
+11000000100010000110100100110111
+11101111111000001000000000000110
+11000000100000000110100100110111
+11101111111000001000000000000110
+11000000110000000110100100110111
+11101111111000001000000000000110
+11000000100000000110100100110111
+11101111111000001000000000000110
+11000000100000000110100100110111
+11101111111000001000000000000110
+11000000110000000110100100110111
+11101111111000001000000000000110
+11000000101011111110100100110111
+11101111111000001000000000000110
+11000000110011011110100100110111
+11101111111000001000000000000110
+11000000100110100110100100110111
+11101111111000001000000000000110
+11000000011111011110100100111100
+00011000010000100000110000000000
+00011000110000001000110000001100
+00011000000000000000111000000000
+00011000000000000000010000000000
+00100000001000000110100100111100
+00011001011000001001011111110100
+00011010001000001010001111110100
+00011000000000000000010000000000
+00101010001000011111111000000000
+00100100001000001110100011110011
+00011000000000000111111000000000
+11100111111000010000000000000101
+00100000011000000000000000000000
+11011000010000000000000011111111
+00100000011000000000000000000000
+01000111001100100100000000101100
+11101111111000001000000000000110
+00011001011000001001011111111111
+00101111111000011111000000110000
+00100100001000001110100101011100
+00101111111000000000111000000111
+00100000001000001110100101010101
+00101111111000000000111000000110
+00100000001000001110100101010111
+00101111111000000000111000000101
+00100100001000001110100101011100
+11101111111000001000000000000110
+00011111111000100010001000000000
+00011001011000001001011111111111
+00100000001000000110100101011010
+00011000110000001000110000000010
+00011001011000001001011111111110
+11101111111000010000000000000110
+00011111111100001010001000000000
+00011001011000001001011111111110
+00011000000000000111111000000001
+00100000011000000000000000000000
+00011000000000000111111000000000
+00100000011000000000000000000000
+01011000000000000000000000000011
+01100111111000001000001111101110
+00100000001000000110100101100110
+01011000000000000000000000000101
+01100111111000001000001111101110
+00100000001000000110100101100110
+01011000000000000000000000000111
+01100111111000001000001111101110
+00100000010000000101001110000001
+01101111111000001000001111101110
+00011111111000100010010000000000
+11100111111000001000000000000101
+01101111111000010000001111101111
+11100111111000010000000000000101
+01011000000000000000010100000000
+11100111111000010000000000000101
+00101010010000011111111000000101
+00100000001000001110100101110101
+00101010010000011111111000000111
+00100000001000001110100101110101
+01011000000000000000000000000000
+11100111111000101000000000000101
+00100000001000000110100101110111
+01011000001101010000001000000000
+11100111111000101000000000000101
+01110000000000110010011000001010
+00100000011000000000000000000000
+00100000010000000111110101011011
+00100000010000000111110101011110
+00100000010000000110100110000000
+00100000010000000111110101010101
+00100000010000000111110101011000
+00011000010000100111111000000000
+00100000011000000000000000000000
+11101111111000001000000000000110
+00011111111000010111001000000111
+00011111111010010111111000000000
+11000000100000000110100110001010
+00011000000000000111111000000001
+00011000000000000000010000000001
+00100000011000000000000000000000
+00100000010000000111110100110101
+00011111111000001000010000000001
+00100000011000000000000000000000
+00011111001000100111111000000000
+00011111111001100111110000000100
+00100000001000010110100110000111
+11000000000000101110100110010001
+11000000000000110110100110010100
+11000000000000111110100110011000
+00100000011000000000000000000000
+11101111111000001000000000000110
+00011111111000001000010000000010
+00100000011000000000000000000000
+11101111111000010000000000000110
+00011111111100001111111000000000
+00011111111000001000010000000011
+00100000011000000000000000000000
+11101111111000010000000000000110
+00011111111100001111111000000000
+11101000010000010000000000000110
+00011000010100001000010000000000
+00011000010100000000010000000000
+10011000010000001111111000000000
+00011111111000001000010000000101
+00100000011000000000000000000000
+01000111001100101100000000101100
+00011000000000000000111000000000
+11011010010000000000000000000000
+11011000101000000000001111111101
+11101111111000010000000000001011
+00100000011110100000000000000000
+00100000010000000110100110101011
+00011000111000100111111000000000
+11000001000000111000000000000000
+00011001011000001001011000000010
+00100000001000000110100110100100
+10011000000000000010011000000000
+01101111111000010100011001100011
+10011000000000000000110000000000
+00011000111000100111111000000000
+11000001000000111000000000000000
+01111000010101000111110000000000
+11101111111000001000000000000110
+00100000011110100000000000000000
+10011000000000000111001000000000
+11101111111000010000000000000110
+10011010011001100111110000000000
+00100100001000101110100110111000
+01111000001101000111110000000000
+11000010000000000110100110110100
+11101000010000100000000000000110
+00011000110000100010001000000000
+00100100001101000110100111001011
+11011000110000000000001111111101
+11011111001000000000000000000111
+11101111111000100000000000000110
+00100000001110100110100111000100
+10011000010001100111110000000000
+00100000001000101110100111001011
+11000010000000000110100110111110
+00100000011000000000000000000000
+11100000010000100000000000000101
+00011000111000001000111000000001
+00011010001000100000110000000000
+00100000010000000110100101111001
+10011010010000001010010000000000
+10011000110000001000110000000000
+00100000001000000110100110101110
+00011010001000100000110000000000
+00100000010000000110100110000000
+10011000110000001000110000000000
+00100000001000000110100110101110
+01000111001100110100000000101100
+01101111111000010100011001100011
+10011000000000000000110000000000
+11101111111000001000000000000110
+00100000001110100111111011000001
+00011111111000111111111000000000
+10011000110000001000110000000000
+11101111111000100000000000000110
+10011000010001100111110000000000
+00100000011000101000000000000000
+00011000101000100111111000000000
+01100111111000010000100101111101
+01100000010011000000100101100100
+00100000010000000110100110000000
+10011000110000001000110000000000
+00011000110000100111111000000000
+01101000010010010000100101111101
+00011000010000100000101000000000
+01101000010011000000100101100100
+00011111111000100000110000000000
+00100000001000000110100111010010
+01000111001100111100000000101100
+01101111111000010100011001100011
+10011000000000000000110000000000
+11101111111000001000000000000110
+00100000001110100110101000000010
+10011000000000000111001000000000
+11101111111000010000000000000110
+10011010011001100111110000000000
+00100000001000101110100111110010
+11000010000000000110100111101010
+00011000110000001000110000000100
+00100000010000000110100110000000
+10011000110000001000110000000000
+00100000001000000110100111100111
+00011111001000001111001111111111
+00011111001000111111111000000000
+10011000110000001000110000000000
+00011000110000001000110000000100
+00100000010000000110100110000000
+10011000110000001001011000000000
+00011000110000001000110000000001
+11101111111000010000000000000110
+10011010010001100111110000000000
+00100000001000101111111011001111
+00100000010000000110100101111001
+10011000110000001000110000000000
+00011001011000100111111000000000
+10011000110001100111110000000000
+00100000001000101110101000000010
+00100000001000000110100111111000
+00011000000000000000110000000000
+00011000000000000111111000000000
+00100000011000000000000000000000
+01000111001101000100000000101101
+01101111111000010100011001100011
+10011000000000000000110000000000
+11101111111000001000000000000110
+00100000001110100110101000011110
+00011111111000111111111000000000
+10011000110000001000110000000000
+11101111111000100000000000000110
+10011000010001100111110000000000
+00100000001000101110101000010010
+00100000010000000110100110000000
+10011000110000001000110000000000
+00100000001000000110101000001000
+00100000010000000110100110000000
+10011000110000001001011000000000
+00011000110000001000110000000001
+11101111111000010000000000000110
+10011010010001100111110000000000
+00100000011000101000000000000000
+00100000010000000110100101111001
+10011000110000001000110000000000
+00011001011000100111111000000000
+10011000110001100111110000000000
+00100000001000101110101000011110
+00100000001000000110101000010100
+00011000000000000000110000000000
+00100000011000000000000000000000
+11011010010000000000010000000000
+00100000010000000110101000010010
+11011010010000000000001100000000
+00100000010000000110101000101011
+00100100011101000000000000000000
+00011010001001100111110000000011
+00100000001000010111111011000111
+11101111111000001000000000000110
+11000000100001000111111011000111
+11101111111000001000000000000110
+00100000011000000000000000000000
+01000111001101001100000000101101
+00100000010000000110100110000000
+00011111111000100010001000000000
+11101111111000001000000000000110
+00011111111000010111001000000111
+00011111111010010111111000000000
+00011111111001100111110000000011
+00100000001000101110101001000111
+00011111001000100111111000000000
+11000000000000101110101000111110
+11000000000000110110101001000001
+11000000000000111110101001000100
+00011000110000001000110111111111
+00100000010000000110100110000000
+10011000110000001000110000000000
+00011010001000100111111000000000
+10011000010001100010001000000000
+00100000001000101111111011000111
+00100000001000000110101000101110
+00011010001000001010001111111110
+00011000110000001000110000000001
+00100000001000000110101000101110
+00011010001000001010001111111101
+00011000110000001000110000000010
+00100000001000000110101000101110
+00011010001000001010001111111011
+00011000110000001000110000000100
+00100000001000000110101000101110
+00011010001000001010001111111111
+00011111001000100111111000000000
+11000000000000001110101001010000
+11000000000000010110101001001110
+11000000000000100110101001001101
+00100000001000000111111011000111
+00011010001000001010001111110100
+11101111111000010000000000000110
+00011010001000001010001111111110
+11101111111000010000000000000110
+10011010010001100111110000000000
+00100000001000101111111011000101
+00011010001000001010001111111110
+00100000001000101111111011000111
+00100000001000000110101000101110
+00100000010000000101001110000001
+00011111111000100000101000000000
+01011000000000000000000000000110
+11100111111000001000000000000101
+01011000000000000000000001101110
+11100111111000010000000000000101
+01011000000000000000111100000000
+11100111111000010000000000000101
+01011000000110100000010100110101
+11100111111000011000000000000101
+01011000000000000000000100010001
+00011111111100000111111000000000
+11100111111000100000000000000101
+01011000000000000010011000000000
+11100111111000010000000000000101
+01011000000000000000001100110101
+11100111111000010000000000000101
+01011000000000000000000000001001
+11100111111000010000000000000101
+01011000000000000000000000000100
+11100111111000010000000000000101
+01110000000000110010011000010100
+00100000011000000000000000000000
+01000111001101010100000000101101
+01110000000001001010011101010000
+11011000101000000000010010101000
+11011000110000000100001100110111
+00100000010000000111110101111111
+11011000110000000100011011011111
+00100000010000000111110101111101
+11011000110000000000100010000000
+00100000010000000111110101111101
+00100000010000000110101100101000
+11011000110000000000001001110111
+00100000010000000110101100100011
+00100000010000000110101011101110
+11011000101000000000100110111110
+00100000010000000110101100011111
+01011000000011110100001001000000
+00011111111000100010001000000000
+01101111111000100000100110111110
+10011010001001101111110000000000
+00100000010000000111111001100100
+00011000000001110111111000000000
+01100111111000100000100001111100
+00100000011000000000000000000000
+01110000000001001010011101000001
+11011000101000000000010010101000
+00100000010000000110101011010011
+00100000010000000110101011001110
+01101111111000011100001101010001
+11100111111000011000000000000101
+00100000010000000110101010010100
+11011000110000000000001001110111
+00100000010000000111110101111111
+11011000110000000100001100110111
+00100000010000000111110101111111
+00100000010000000110101100101000
+11011000110000000000100111011110
+11011000101000000000100110001110
+00100000010000000111110101111111
+00100000001000000110101011101110
+01101111111000100100001110011110
+11100111111000100000000000000101
+00100000010000000111110110010100
+00100000001000000111110110010001
+01000111001101011100000000101101
+01110000000001001010011101000001
+11011000101000000000010010101000
+00100000010000000110101011001110
+00100000010000000110101011010011
+01101111111000011100001101001010
+11100111111000011000000000000101
+00100000010000000110101010010100
+11011000110000000100001100110111
+00100000010000000111110101111111
+11011000110000000000001001110111
+00100000010000000111110101111111
+00100000010000000110101100101000
+11011000110000000000100111011110
+11011000101000000000100110001110
+00100000010000000111110101111111
+00100000010000000110101011101110
+11011000101000000000100110111110
+00100000001000000110101100011111
+01110000000001001010011100100000
+11011000110000000000100011000000
+11011000101000000000010010101000
+00100000010000000111110101111101
+00100000010000000110101100101000
+11011000110000000000100001100000
+00100000010000000110101100100011
+00100000010000000110101011101110
+11011000101000000000100110001110
+00100000010000000110111000111100
+11011000010000000000000000000001
+00100000010000000110101010111101
+11011000101000000100001100010110
+00100000010000000110101100011111
+11011000010000000000000000000000
+00100000010000000110101010111101
+11011000101000000000100111011110
+00100000001000000110111000111100
+01000111001101100100000000101101
+01110000000001001010011100110101
+01011000000000000000000100000000
+01100111111000010000010010101000
+00100000010000000110101011001110
+00100000010000000110101011010011
+11011000110000000100001100110111
+00100000010000000111110101111111
+11011000110000000000001001110111
+00100000010000000111110101111111
+01011000000000000110110001100101
+11100111111000010000000000000101
+01011000000000000110001001110100
+11100111111000010000000000000101
+11100000010000001000000000000101
+00100000010000000110101100101000
+00100000001000000110101011101110
+01101111111000110100001101111010
+11100111111000110000000000000101
+01101111111000001100001101110001
+11100111111000001000000000000101
+00100000011000000000000000000000
+01101111111000110000001010010111
+11100111111000110000000000000101
+01101111111000001100001101101010
+11100111111000001000000000000101
+00100000011000000000000000000000
+01110000000001001010011101000001
+01101111111000001100011101110001
+01100111111000001000010010101000
+11011000110000000100011011011111
+00100000010000000111110101111101
+11011000110000000000100010000000
+00100000010000000111110101111101
+00100000010000000110101100101000
+11011000110000000000001001110111
+00100000010000000110101100100011
+00100000001000000110101011101110
+01110000000001001010011101000001
+01101111111000001100011101110001
+01100111111000001000010010101000
+11011000110000000000100010000000
+00100000010000000111110101111101
+11011000110000000100011011011111
+00100000010000000111110101111101
+00100000010000000110101100101000
+11011000110000000100001100110111
+00100000010000000110101100100011
+00100000001000000110101011101110
+01000111001101101100000000101101
+00100000010000000110101100111101
+01101111111000001000010010100111
+00011111111000100000010000000000
+00011111111000001111111000001111
+00011111111100011111111000000000
+00011111111000100010010000000000
+00100000001110100110101100000000
+00011000010000010111111000001111
+00100100001110100110101100000011
+11011010011000000000100110011110
+11011111111000000000010010101000
+00011111111000001111111111110000
+10011000010000001010001000000000
+11011000101000000000100111001110
+11011111001000000000000000000100
+00100000010000000111110110100100
+00100000001000000110101100001110
+11011010010000000000000000000001
+11011010001000000000000000000000
+00100000001000000110101100000100
+00011000010000010010001000001111
+11011111111000000000010010101000
+10011000010000001111111000000000
+10011010001001100000110000000000
+11011000101000000000100110111110
+00100000010000000110101101100011
+11011010011000000000100110101110
+11011010001000000000100110111110
+11011000101000000000100111001110
+11011111001000000000000000000100
+00100000010000000111110110100100
+00100000010000000110111000110110
+00100000010000000110110111001010
+11011000110000000000010010101000
+00011010010000001010010111111111
+00011010010000100111111000000000
+00100000001110100110101100010111
+00100000010000000110111000101000
+00100000010000000110110111000100
+00100000001000000110101100010001
+11011000101000000000100110111110
+00100000010000000110111000111100
+11011000110000000000100111001110
+00100000010000000110111000101000
+00100000010000000110110111001010
+11011000110000000000100110111110
+00100000010000000110111000101000
+00100000001000000110110111000100
+00011000101000100010001000000000
+00100000010000000110111000111100
+11011111001000000000000000010000
+00100000001000000111110110101100
+11011000101000000000100110001110
+00100000010000000111110101111111
+11011111001000000000000000010000
+11011010001000000000100110001110
+00100000001000000111110110101100
+01101111111000001000010010100111
+00011111111000100111001000000000
+11011010001000000000010010101000
+00100000001000000111110110101100
+11101111111000001000000000010001
+00011111111000111111111000000000
+00101010011011111111111000000000
+01111001001000001111111000000000
+00101111111011111111111000001000
+01111001001000001010011000000000
+11100111111000001000000000010001
+00011010001000001010001111111111
+11000010000000000110101100101100
+00100000011000000000000000000000
+11011010001000000000100110011110
+00011010001000001010001000001111
+00011000000000000111001000010000
+00011000000000000010011000000000
+00100000001000000110101100101100
+11011010001000000000100110101110
+00100000001000000110101100110111
+11011000110000000000100110001110
+00100000010000000110111000100110
+00011000000000000111000000001000
+00100000010000000110111000110111
+00100000010000000110111000110110
+00100000010000000110110111000001
+11011000101000000000100110011110
+00100000010000000110111000111100
+01000111001101110100000000101101
+01101111111000001000100110011110
+00101111111011111111111000000111
+00100100001000001110101101001110
+00100000010000000110101100110110
+11011010011000000000100110011110
+11011000101000000000100110011110
+00100000010000000110101101011000
+00100000001000000110101101001111
+00100000010000000110101100110110
+11011000110000000000100110011110
+11011000101000000000100110101110
+00100000010000000111110101111111
+01101111111000001000100110101110
+00101111111011111111111000000111
+00100100001000001110101100111011
+00100000010000000110101100111011
+11011010011000000000100110101110
+11011000101000000000100110101110
+11011111001000000000000000000011
+11011000010000000000000000000000
+00100000010000000110101101011111
+00011010011000001010011000000100
+11000010000000000110101101011001
+11011000010000001000011100000000
+00011000010100000000010000000000
+11101111111000100000000000010011
+10011000010000101111111000000000
+11100111111000100000000000000101
+00100000011000000000000000000000
+01000111001101111100000000101101
+11011111001000000000000000010000
+11011111111000000000000000000000
+10011010001001100111110000000000
+00100000001000101110101101101110
+00100000001000010110101101110001
+11101000010000001000000000000110
+11100000010000001000000000000101
+00011111111000001111111000000001
+11000010000000000110101101100110
+00100000011000000000000000000000
+11011000010000000000000010000000
+11100000010000001000000000000101
+00100000001000000110101101101011
+11011000010000000000000000000000
+00100000001000000110101101101111
+00100000010000000110101110000110
+11011000110000000000010001010100
+11011000101000000000010001000100
+00100000001000000111110101111111
+01111000010101000111110000000000
+00100000010000000110110001111101
+11011000110000000000010000100100
+11011000101000000000010001100100
+00011000000000000111001000001111
+00100000010000000111110111010100
+11101111111000001000000000000110
+00011111111000101111111000000110
+11100111111000001000000000000101
+01011000000000000000010001110100
+01100111111000010000010010011000
+01011000000000000000010001100100
+01100111111000010000010010010110
+01111001001000000000000000010010
+00100000001000000110101111000110
+01101000010010001100011110010110
+00011000000000000010010000010000
+00011000010000001010011000000110
+00011010011001100111110000010000
+00100000001000010110101110001100
+00011000000000000010011000010000
+11011000101000000000010001100100
+11011000110000000100011110010111
+00011000010000100111001000000000
+01111000010101000111110000000000
+11101111111000001000000000000110
+11100111111000001000000000000101
+00011010010000001010010111111111
+00100000001000101110101110011010
+11000010000000000110101110010000
+00100000001101000110101110001101
+01111000001101000111110000000000
+00011000000000000111001000000110
+00011010001000100000110000000000
+00100000001000000110101110010000
+11011000110000000000010000100100
+11011000101000000000010001110100
+00100000010000000111110101111111
+01101111111000001000010010000011
+10011010011000101111111000000000
+01100111111000001000010010000011
+01011000000000000000010001110100
+01100111111000010000010010011000
+01011000000000000000010001100100
+01100111111000010000010010010110
+01111001001000000000000000010010
+00100000001000000110101111000110
+01111000010101000111110000000000
+00100000010000000110110001111101
+00100000001000000110101110110000
+11011010001000000000000001010110
+01111000001101000111110000000000
+00100000010000000110110001111101
+00100000010000000110101110110000
+11011000110000000000010001010100
+11011000101000000000000001100010
+00100000001000000111110101111111
+01011000000000000000010000100100
+01100111111000010000010010011000
+01011000000000000100000111001011
+01100111111000010000010010010110
+01111001001111111000000000010010
+00100000010000000110101111000110
+11011010001000000000010001010100
+11011010010000000000010000100100
+11011000101000000000010001100100
+00100000010000000110110001110000
+11011010001000000000010001100100
+11011010010000000000010001110100
+00011010010000100000101000000000
+01111000001101000111110000000000
+00100000010000000110110001101110
+00100000010000000110110010001000
+01011000000000000000010001110100
+01100111111000010000010010011000
+01011000000000000000010001100100
+01100111111000010000010010010110
+01111001001000000000000000010010
+00100000001000000110101111000110
+01110000000001001001101000000000
+01101111111000010000010010010110
+10011000000000000000110000000000
+11011000101000000000010010000100
+00100000010000000111110101111111
+01101111111000010000010010011000
+10011000000000000000110000000000
+11011000101000000000010001010100
+00100000010000000111110101111111
+00100000010000000110101111101101
+01111000010101000111110000000000
+11000101100010010110101111010111
+01101111111000001000010010011010
+11000000100000100110101111010111
+01101111111000010000010010011000
+10011000000000000010010000000000
+00100000010000000110110000011111
+00100000010000000110110000011110
+00100000010000000110110000110001
+01101111111000001000010010011010
+00011111111000001111111000000001
+01100111111000001000010010011010
+00100000010000000110101111101101
+01111000001101000111110000000000
+00100000010000000110110000011110
+00100000010000000110110001000000
+00100000010000000110110001001111
+00100000010000000110110001000000
+00100000010000000110110001001111
+00100000010000000110110001000000
+00100000010000000110110001001111
+00100000010000000110110001000000
+01101111111000001000010010011010
+00011111111000001111111000000001
+01100111111000001000010010011010
+11000000100010000110101111001111
+00100000010000000110101111101101
+01111000010101000111110000000000
+00100000001000000110110000011110
+01101111111000001000010010011010
+11011000110000000000010010000100
+00100000001110100110110000010100
+10011000000000000010010000000000
+00011000000000000111001000010001
+00011000110000100000101000000000
+11101111111000001000000000000110
+00011111111010011000010000000000
+00011111111010110111111000000000
+00011111111010010111111000000000
+10011000010000011111111000000000
+11100111111000001000000000000101
+11000010000000000110101111110011
+01011000000000000000010010000100
+10011010010000001000110000000000
+00011000000000000111001000010000
+11011000101000000000010000110100
+11101111111000001000000000000110
+11100111111000001000000000000101
+00101000110000011111111010010101
+00100100001000001110110000000011
+00011000110000001000110111101111
+11000010000000000110101111111110
+00011000000000000010001000000000
+00011010010000001010011111111111
+00011010011010111010011000000000
+00011010011010111010011000000000
+00100000010000000110111001011110
+01011000000000001001000000000000
+10011010011000001010011000000000
+11011000101000000000010000110100
+00011000000000000111001000010000
+11101000010000001000000000010011
+11101111111000001000000000000101
+10011000010000001111111000000000
+11100111111000001000000000000101
+00011010011000001010011000000001
+11000010000000000110110000001101
+00100000001000000110111001100010
+00011000000000000111001000010000
+00011000000000000000010000000000
+11101111111000001000000000000110
+10011000010000101000010000000000
+11000010000000000110110000010110
+00011000010000100111111000000000
+11100111111000001000000000000110
+11011000110000000000010010000100
+11011000101000000000010000110100
+00100000001000000111110101111111
+11011010010000000000010000110100
+00011000000000000111001000010000
+11011010001000000000010001010100
+00011010001000100000101000000000
+11101000010000001000000000010001
+11101111111000001000000000010010
+10011000010000101110000000000000
+00011111001000010010011000000011
+00100100001101000110110000101000
+00011010011000101010011000000011
+00011010011001100010011000000001
+00100000001000010110110000101011
+10011000010000001110000000000000
+00011110000000100111111000000000
+11100111111000001000000000000101
+00011010001000001010001000000001
+00011010010000001010010000000001
+11000010000000000110110000100010
+00100000011000000000000000000000
+00100000010000000110111001011110
+00011000000000000111001000010000
+11011010001000000000010001010100
+11101111111000001000000000010001
+11011000110000001001000100000000
+00011111001000010010011000000011
+00011010011001100111110000000001
+00100000001000010110110000111010
+11011000110000001001001000000000
+10011000110000001000110000000000
+11101111111000001000000000000110
+11100111111000001000000000010001
+00011010001000001010001000000001
+11000010000000000110110000110100
+00100000001000000110111001100010
+00011000000000000111001000001000
+11011000110000000000010001010100
+00011000110000100000101000000000
+11101111111000001000000000000110
+10011000000000000010001000000000
+11101111111000001000000000000110
+10011000000000000010010000000000
+00011010001000111111111000000000
+10011010010000001111111000000000
+11100111111000001000000000000101
+00011010001000100111111000000000
+10011010010000001111111000000000
+11100111111000001000000000000101
+11000010000000000110110001000011
+00100000011000000000000000000000
+01011000100010101110010000101100
+10011000000000000000010000000000
+00011000000000000111001000000111
+00100000010000000110110001011110
+01011000000011010111010100011011
+10011000000000000000010000000000
+00011000000000000111001000000101
+00100000010000000110110001011110
+01101111111000001000010001100011
+10011000000000000010001000000000
+01101111111000001000010001010111
+01100111111000001000010001100011
+00011010001000100111111000000000
+01100111111000001000010001010111
+00100000011000000000000000000000
+00011000010000010010010000001111
+00011000010000010111111000001111
+11011000101000000000010001010100
+10011000101000001000101000000000
+11101111111000001000000000000101
+10011000000000000010011000000000
+00011010001000100111111000000000
+11100111111000001000000000000101
+00011010011000100010001000000000
+00011000010100011000010000000000
+11000010000000000110110001011111
+01011000000000000000010001010100
+10011010010000001000101000000000
+00011010001000100111111000000000
+11100111111000001000000000000101
+00100000011000000000000000000000
+01111000001101000111110000000000
+00100000001000000110110001110001
+01111000010101000111110000000000
+00011000000000000111001000010000
+11101000010000001000000000010001
+11101111111000001000000000010010
+00100000001101000110110001110111
+10011000010000101111111000000000
+00100000001000000110110001111000
+10011000010000001111111000000000
+11100111111000001000000000000101
+00011010001000001010001000000001
+00011010010000001010010000000001
+11000010000000000110110001110010
+00100000011000000000000000000000
+11011000101000000000010001110100
+11101111111000110000000000010001
+11100111111000110000000000000101
+00100000001101000110110010000011
+11101111111000110000000000010001
+00100000001000000110110010000100
+11101111111000110000000000000110
+11100111111000110000000000000101
+11101111111000100000000000010001
+11100111111000100000000000000101
+00100000011000000000000000000000
+11011000110000000100000111001011
+11011000101000000000010001100100
+11011000010000000000000000000000
+01011000100000111001010110100111
+00100000010000000110110010101001
+01011000101100111100000111011111
+00100000010000000110110010101001
+01011000000000001110010111101001
+00100000010000000110110010101010
+00011000010000100010100000000000
+01111000010101000111110000000000
+00100000010000000110110010010111
+00011010100000100000010000000000
+01111000001101000111110000000000
+00100000001000000110110010010111
+00011000000000000111001000001000
+11101111111000001000000000000110
+00101111001000000000001000000001
+00100000001101000110110010011110
+00100000001000001110110010011111
+10011000010000001111111000000000
+00100000001000000110110010100000
+00100000001000001110110010011100
+10011000010000101111111000000000
+11100111111000001000000000000101
+00011000010011001000010000000000
+11000010000000000110110010011000
+00100000011000000000000000000000
+01101111111000110000010001011000
+01100111111000110000000001010110
+11101111111000110000000000000110
+11100111111000110000000000000101
+00100000011000000000000000000000
+00011000010011010000010000000000
+00011000010100000000010000000000
+10011000010000011000010000000000
+00100000011000000000000000000000
+00100000001000000110110010101101
+01000111001110000100000000101110
+00100000010000000110110111001101
+11011000101000000100001100010110
+00100000001000000110111000111100
+11011000101000000100001100110111
+00100000001101001110110010110101
+11011000101000000000001001110111
+00011000110000100010001000000000
+00100000010000000111110101111111
+00100000010000000110110111100010
+11011000110000000100001100100111
+00100000001000000110111001010101
+11011010001000000000001001110111
+00100000001101001110110010111101
+11011010001000000100001100110111
+00011010001000100000101000000000
+00100000010000000101101010001111
+00100000001000000110110111100010
+11011000110000000100001110000100
+00100000010000000110111000101000
+11011000110000000100001100010110
+00100000010000000110111000101001
+00011000000000000110110000111000
+00011000000000000110110000000000
+00100000010000000110110110111111
+11011000101000000000001011000111
+00100000001000000110111000111100
+00011000000000000111000000001000
+00011000000000000111111001001001
+00100000001000000110110011010000
+00011000000000000111111001001001
+00100000001000000110110011001111
+00011000000000000111111000000001
+00011000000000000111000000000000
+00011000010011010101111000000000
+10011101111000011101111000000000
+00011111000000001111000000000001
+00011000010011001101111000000000
+00011101111100010101111000000000
+01101111111000010100011010101101
+00011111111100000111111000000000
+10011101111000011101111000000000
+00011111000000001111000000000001
+11101101111000100000000000000110
+00011111000000001111000000000001
+11101111111000010000000000000110
+00011010001100001101111000000000
+00011101111100000101111000000000
+10011101111000011101111000000000
+00011111000000001111000000000001
+00100000011000000000000000000000
+00011010011000001000110000000001
+11101111111000001000000000000110
+10011000000000000010001000000000
+00100000010000000110110011001100
+00100000010000000110110111000001
+00011000000000000111000000000000
+11101111111000001000000000010011
+00011111111000010111111000000011
+00011111111100000101111000000000
+01111001001000000101111000001000
+00100000010000000110111000110001
+00100000010000000110110111000100
+00011010001000100111001000000000
+00011010011000001000110000000010
+00100000010000000110111000010000
+00100000010000000110111000011010
+00100000010000000110110111000100
+00011111001000100111111000000000
+00100000001110100110110011110101
+00100000001000000110110011110000
+00011000000000000111000000001100
+00011101111000100111111000000000
+01100111111000100000001001101111
+00100000011000000000000000000000
+00011010001000001010001000000001
+00100000010000000110110011001110
+00011010011000100000110000000000
+00100000010000000110111000100100
+00100000010000000110110111000111
+00100000010000000110111001000011
+00011010011000001010011000010000
+00011010010000001010010111110000
+00100000001000010110110011111001
+00100000011000000000000000000000
+00100000010000000110110110110100
+01000111001110001100000000101110
+11011000110000000000000001100010
+00100000010000000110111000100110
+01110000100000001101010100000000
+00011000001000010111111000001111
+00011111111010011111111000000000
+10011000100000011111111000000000
+01100111111100001000000011010110
+01101111111000001100000111100100
+01100111111100001000000011010111
+01100010011100010000000011010001
+01100010011100010000000011010011
+01101010001000010100011010110101
+01101000010010101100011010011111
+00100000010000000110110100100101
+00100000010000000110110011001001
+01110000100000000000101000000010
+01110000100000000000101000000011
+01101111111000010100011010110101
+01100111111100010000000011011010
+00011111111000001111111000000100
+01100111111000010100011010110101
+00011010011000100111111000000000
+10011010001000001010001000000000
+00100000010000000110110110111011
+11011111000000000000000000001100
+11100101111000100000000000010001
+01100101111000100000001001101111
+00100000011000000000000000000000
+01101111111000101100011010011111
+00011111111000001111111000000001
+01100111111000101100011010011111
+00100000001000000110110100101011
+01101111111000001100000111100100
+11000001100000001000000000000000
+01101111111000010100011010110101
+00100100011110100000000000000000
+01111001001000000000010000100100
+00100000011000000000000000000000
+01101111111000001100011010100011
+00011111111000010111111000001111
+00011111111000011111111000100000
+01100111111000001100011010100011
+00100000011000000000000000000000
+01101111111000001100011010101000
+00011111111000010111111000001111
+01100111111000001100011010101000
+00100000011000000000000000000000
+00011000101000100111111000000000
+01101000010010010000000010101110
+00011000010000001000010000000100
+10011000010001100111111000000000
+01100111111000010100011010110111
+01100111111100010000000011010001
+01100111111100010000000011010011
+00100000010000000111111011001011
+00100000010000000110110110110100
+11011000110000000000000001100010
+00100000010000000110111000100110
+01110000100000001101010100000000
+01101111111000001000000000011001
+00011111111000010111111000001111
+00011111111010011111111000000000
+10011000100000011111111000000000
+01100111111100001000000011010110
+01101111111000001000000011100100
+00011111111000010111111000000011
+01100111111000001100000111100100
+01100111111100001000000011010111
+01101010001000010000000010101110
+01100010001000010100011010110101
+01101111111000010100011010110111
+10011010001000001000110000000000
+00011000000000000111000000000000
+11101101111000100000000000000110
+01100101111000100000001001110011
+01101000010010101100011010100100
+00100000010000000110110100100101
+00100000010000000110110011001001
+01110000100000000000101000000110
+01110000100000000000101000000111
+01101111111000010000000010101110
+01100111111100010000000011011010
+00100000010000000110110110111011
+01101111111100001000000100001000
+11000100000000111000000000000000
+00100000001000000111111011001001
+11000110000001111000000000000000
+01101000010010100000001001110011
+01100000010010100100011010101001
+01101111111000101100011010100100
+00011111111000001111111000000001
+01100111111000101100011010100100
+00100000001000000110110100110000
+00100000010000000110110110110100
+01110000100000001101010100000000
+01110000100000001101011000000001
+01101111111000001000000101101011
+00011111111000010111111000000011
+01100111111100001000000011010111
+01011000000000000000000101101101
+01100111111100010000000011010001
+01100111111100010000000011010011
+01101010001000001000000101101100
+00011010001000001010001111111100
+00100100001000010111111011001111
+01100010001000001000000101101100
+01011000000000000000000101101101
+10011010001000001000110000000000
+00011000000000000111000000000000
+11101101111000100000000000000110
+01100101111000100000001001110011
+01101000010010101100011010100100
+00100000010000000110110011001001
+01110000100000000000101000000110
+01110000100000000000101000000111
+01101111111000001000000101101100
+01100111111100010000000011011010
+00100000010000000110110110111011
+01101111111100001000000100001000
+11000011000000111111111011001111
+01101000010010100000001001110011
+01101111111000100100011010101001
+10011000010001100111111000000000
+00100000011110100000000000000000
+01100000010010100100011010101001
+01101111111000101100011010100100
+00011111111000001111111000000001
+01111001001000000111111000100111
+01100111111000101100011010100100
+00011000000000000111111000000000
+00100000011000000000000000000000
+00100000010000000110110110001111
+01011000000000000100000111110111
+10011010001000001010001000000000
+00100000010000000110110110111011
+11011111000000000000000000001100
+11100101111000100000000000010001
+00100000011000000000000000000000
+00100000010000000110110110110100
+01000111001110010100000000101110
+01110000100000001101010100000000
+01110000100000001101011000000001
+01101111111000001100000111110101
+00011111111000010111111000000011
+01100111111100001000000011010111
+01101111111000010000100101111011
+01100111111100010000000011010001
+01011000000000000100000111110111
+01100111111100010000000011010011
+01101010001000001100000111110110
+01101000010010101100011010011111
+00100000010000000110110011001001
+01110000100000000000101000000010
+01110000100000000000101000000011
+01101111111000001100000111110110
+01100111111100010000000011011010
+00011111111000001111111000000100
+01100111111000001100000111110110
+01101111111000101100011010011111
+00011111111000001111111000000001
+01111001001111111111111000100111
+01100111111000101100011010011111
+00100000011000000000000000000000
+01101111111100010000000100011010
+10011000010001100111110000000000
+00100000011000101000000000000000
+00100100011110100000000000000000
+00100000001000000110110110101000
+01101111111100001000000100001000
+11000011000000110001001101111100
+01011000000000000100000111110111
+10011000010000001000101000000000
+11011111000000000000000000001100
+11100101111000100000000000000101
+00100000001000000110110110111101
+01000111001110011100000000101110
+00011000000000000111000000001100
+00100000010000000110111000110111
+00100000010000000110111000110110
+01011000000000000000000000000000
+01100111111100010000000011011010
+00100000011000000000000000000000
+01101111111100001000000100001000
+11000011000000110110110110111011
+01110000100000000000101000000000
+00100000011000000000000000000000
+00100100001110111110110110111111
+00100000011000000000000000000000
+00011000000000000110110000110000
+00011000000000000110110000000000
+00100000001000000110110110111111
+00011000000000000110110000110010
+00011000000000000110110000000010
+00100000001000000110110110111111
+00011000000000000110110000110100
+00011000000000000110110000000100
+00100000001000000110110110111111
+00011000000000000110110000000001
+00011000000000000110110000000000
+00100000011000000000000000000000
+00011000000000000111000000000000
+01101111111000100000001001110111
+10011000000000000101111000000000
+00011111000000001111000000000001
+11101111111000100000000000000110
+10011000000000000101111000000000
+00011111000000001111000000000001
+01101111111000100100001100110111
+10011000000000000101111000000000
+00011111000000001111000000000001
+11101111111000100000000000000110
+10011000000000000101111000000000
+00011111000000001111000000000001
+00100000010000000110111000110111
+00011111000000001111000111111100
+01101111111000100100001110011110
+00011111111000100101111000000000
+00011111000000001111000000000100
+00011000000000000110110000111000
+00011000000000000110110000001000
+00100000001000000110110110111111
+01000111001110100100000000101110
+01101111111000110100001101111010
+01101000010010110000001010010111
+00100000001101001110110111101000
+01101111111000110000001010010111
+01101000010010110100001101111010
+00011000000000000111000000001000
+00011000010000100101111000000000
+00011111000000001111000000000001
+00011000010011110101111000000000
+00011111111100000111111000000000
+10011101111000011101111000000000
+00011111000000001111000000000001
+00011111111011110101111000000000
+00011111000000001111000000000001
+00011000000000000101111000000000
+00011000000000000111111000000000
+01101111111000001100001101101010
+01101000010010001100010000101011
+00100100001101001110110111111000
+01101111111000001100001101110001
+01101000010010001100001101101010
+01100111111000001100001101000111
+01100000010010001100001101001000
+00011000000000000111000000000000
+11011010010000000100001101000111
+00011000000000000111001000000100
+11101111111000100000000000010001
+11101000010000100000000000010010
+10011000010000101101111000000000
+00011111000000001111000000000001
+00011010001000001010001000000100
+00011010010000001010010000000100
+11000010000000000110110111111101
+00100000010000000110111000110111
+00011111000000001111000111111100
+01101111111000100100001110011110
+00011111111000100101111000000000
+00011111000000001111000000000100
+00011000000000000110110000111000
+00011000000000000110110000001100
+00100000010000000110110110111111
+00100000010000000110111000110110
+00011000000000000110110000111010
+00011000000000000110110000001000
+00100000001000000110110110111111
+00101111001000000000011000000000
+00100000011000001000000000000000
+00011000110000100111111000000000
+10011111001000001000101000000000
+00011000000000000111111000000000
+11100111111000001000000000000101
+00011111001000001111001000000001
+00101111001000000000011000000000
+00100000011000001000000000000000
+00100000001000000110111000010101
+00011000000000000111000000000000
+00011111001000100111111000000000
+00100000001110100110111000011111
+11101111111000100000000000000110
+00011111001000001111001111111100
+10011000000000000101111000000000
+00011111000000001111000000000001
+00101111000000000001111000000100
+00100000011000001000000000000000
+00100000001000000110111000011011
+00011000000000000111000000001000
+00100000001000000110111000101001
+00011000000000000111000000000100
+00100000001000000110111000101001
+00011000000000000111000000000000
+00011000000000000111001000000100
+11101111111000100000000000000110
+10011000000000000101111000000000
+00011111000000001111000000000001
+11000010000000000110111000101010
+00100000011000000000000000000000
+11011000110000000000001011000111
+00100000001000000110111000100110
+00011000000000000111001000000100
+00100000001000000110111000111001
+00011000000000000111000000000000
+00011000000000000111001000010000
+00100000001000000110111000111000
+00011000000000000111000000000000
+00011000000000000111001000000100
+00011000000000000101111000000000
+00011111000000001111000000000001
+11000010000000000110111000111000
+00100000011000000000000000000000
+00011000000000000111000000001100
+00011000000000000111001000000100
+00011101111000100111111000000000
+11100111111000100000000000000101
+00011111000000001111000000000001
+11000010000000000110111000111110
+00100000011000000000000000000000
+00011000000000000111000000001100
+00011010011000100000101000000000
+00011010010000001111001000000001
+00011111001001100111110000001111
+00100000001000010110111001001001
+00011000000000000111001000010000
+00011101111000100111111000000000
+00011111001001100111110000000011
+00100000001000010110111001010001
+11100111111000100000000000000101
+00011111001000001111001111111100
+00100000011000101000000000000000
+00011111000000001111000000000001
+00100000001000000110111001001001
+11100111111000001000000000000101
+00011111111011001111111000000000
+11000010000000000110111001010001
+00100000011000000000000000000000
+00011000000000000111000000001100
+00011000000000000111001000000100
+11101111111000100000000000000110
+10011101111001100111110000000000
+00100100011000101000000000000000
+00011111000000001111000000000001
+11000010000000000110111001010111
+00011000000000000111110000000000
+00100000011000000000000000000000
+01101111111100001000000001010000
+01111001001111111111111000000000
+01100111111100001000000001010000
+00100000011000000000000000000000
+01101111111100001000000001010000
+01111001001000000111111000000000
+01100111111100001000000001010000
+00100000011000000000000000000000
+11011000101000000000011101001000
+00111000000000111111111111111111
+00111000000001111111111111111111
+00111000000010111111111111111111
+00111000000011111111101111111111
+11100111111001001000000000000101
+00111000000000111111111111111111
+00111000000001111111111111111111
+00111000000010111111111111111111
+00111000000011111111111111111111
+11100111111001001000000000000101
+00111000000000111111111111111111
+00111000000001111111111111111111
+00111000000010111100111111111111
+00111000000011111111111111111111
+11100111111001001000000000000101
+00111000000000111111111111111111
+00111000000001111111111111111111
+00111000000010111111111111101111
+00111000000011111111111111111111
+11100111111001001000000000000101
+00111000000000111111111111111111
+00111000000001111111111111111111
+00111000000010111111111111111111
+00111000000011111111111111111111
+11100111111001001000000000000101
+00111000000000111111111111111111
+00111000000001100110110001111111
+00111000000010000001010001101011
+00111000000011110111101110110011
+11100111111001001000000000000101
+00111000000000011111111010111000
+00111000000001010000110000010010
+00111000000010101011011100100010
+00111000000011101001111110100110
+11100111111001001000000000000101
+00111000000000001110011100001111
+00111000000001010110011100100000
+00111000000010000101000110011110
+00111000000011011001000010000100
+11100111111001001000000000000101
+00111000000000110001000000010010
+00111000000001110110000010111111
+00111000000010111111000010101111
+00111000000011000000001111010011
+11100111111001001000000000000101
+00111000000000111010000110001000
+00111000000001000011101011010000
+00111000000010111100101111110010
+00111000000011100100001111011001
+11100111111001001000000000000101
+00111000000000101011000000110000
+00111000000001110110101000000011
+00111000000010010001000110001000
+00111000000011011110010100100000
+11100111111001001000000000000101
+00111000000000111010000100011110
+00111000000001001111111001011101
+00111000000010001101110101010111
+00111000000011011010110010010011
+11100111111001001000000000000101
+00111000000000000001000111101101
+00111000000001100001100011000100
+00111000000010001000110110100111
+00111000000011100101011111111111
+11100111111001001000000000000101
+00111000000000110001100100101011
+00111000000001110100011001000001
+00111000000010011011111000001100
+00111000000011110110011010101101
+11100111111001001000000000000101
+00111000000000000001111110000011
+00111000000001010101101000100011
+00111000000010111111100110110000
+00111000000011000011100101001001
+11100111111001001000000000000101
+00111000000000010011101001010001
+00111000000001010101001111111101
+00111000000010110011011100101010
+00111000000011001111000110111011
+11100111111001001000000000000101
+00111000000000111010111010000101
+00111000000001011110111011011001
+00111000000010001001111001100110
+00111000000011000000000110101000
+11100111111001000000000000000101
+00100000011000000000000000000000
+11011000101000000000011111100000
+00111000000000111111111111111111
+00111000000001111111111111111111
+00111000000010111111111111111111
+00111000000011111111111111111111
+11100111111001001000000000000101
+00111000000000111111111111111111
+00111000000001000000000000111111
+00111000000010000000000000000000
+00111000000011000000000000000000
+11100111111001001000000000000101
+00111000000000000000000000000000
+00111000000001000000000000000000
+00111000000010000001000000000000
+00111000000011000000000000000000
+11100111111001001000000000000101
+00111000000000111111111100000000
+00111000000001111111111111111111
+00111000000010111111111111001111
+00111000000011111111111111111111
+11100111111001001000000000000101
+00111000000000111111111111111111
+00111000000001111111111111111111
+00111000000010111111111111111111
+00111000000011000000001111111111
+11100111111001001000000000000101
+00111000000000000000000000000000
+00111000000001000000000000000000
+00111000000010000000000000000000
+00111000000011000000000000000000
+11100111111001001000000000000101
+00111000000000010000000000000000
+00111000000001000000000000000000
+00111000000010111111000000000000
+00111000000011111111111111111111
+11100111111001001000000000000101
+00111000000000101001011011111111
+00111000000001100010011000110000
+00111000000010111001010001011101
+00111000000011111101001010000100
+11100111111001001000000000000101
+00111000000000110011001110100000
+00111000000001000100101101111010
+00111000000010000011011111011000
+00111000000011111100100111011100
+11100111111001001000000000000101
+00111000000000111010010001000000
+00111000000001011011100101011000
+00111000000010111000101111001110
+00111000000011010000100100011111
+11100111111001001000000000000101
+00111000000000101110000100101100
+00111000000001011111010001111100
+00111000000010110101011010110001
+00111000000011101111110101000111
+11100111111001001000000000000101
+00111000000000000110100000110111
+00111000000001101110110110010000
+00111000000010011110110011101100
+00111000000011011010110011000101
+11100111111001001000000000000101
+00111000000000100011001101010111
+00111000000001011000101011110011
+00111000000010001111100111100001
+00111000000011010010100111110000
+11100111111001001000000000000101
+00111000000000101110011111101011
+00111000000001111110011011100011
+00111000000010111110000110100111
+00111000000011010000101110001011
+11100111111001001000000000000101
+00111000000000100100111111100011
+00111000000001000010000011101111
+00111000000010011011010110100110
+00111000000011001101110000101111
+11100111111001001000000000000101
+00111000000000010011100001100000
+00111000000001101011110101101001
+00111000000010000011100100011010
+00111000000011011011001000100010
+11100111111001001000000000000101
+00100000011000000000000000000000
+01101111111000001100011101100111
+00100100001110100110111100101010
+00100000001000000111010110101100
+01000111001110101100000000101110
+01101111111000001100011101100111
+00100000011110100000000000000000
+01101111111000001100011010111100
+11000001100000001000000000000000
+01101111111000001100011010111011
+00100000011110100000000000000000
+01101111111000001100011010111110
+11000001000000011000000000000000
+01101111111000010100011110001111
+11000010100000000110111100100000
+01101111111000001100011010111101
+11000000000000000111010110101100
+00100000011000000000000000000000
+01110000010001101011110100000000
+00100000011000000000000000000000
+01101111111000001100011010111011
+01111001001000000111111000000001
+01100111111000001100011010111011
+00100000011000000000000000000000
+01101111111000001100011010111011
+01111001001111111111111000000001
+01100111111000001100011010111011
+00100000011000000000000000000000
+01000111001110110100000000101110
+01101111111000001100011101100111
+00100100001110100111000001100110
+00100000010000000110111100110111
+01110000010001101011110000000000
+01110000000010000111010000000000
+00100000011000000000000000000000
+01101111111000001100011101100111
+00100000011110100000000000000000
+01101111111000001100011010111100
+11000001000000001000000000000000
+00100000010000000111000011010111
+00100000001000000110111100110001
+01000111001110111100000000101110
+01011000000000000000100010000000
+11011000101000000000100001110000
+10011000101001100111001000000000
+00100000010000000111110110011011
+01011000000000000100011101110011
+11011000101000000100011101101011
+10011000101001100111001000000000
+00100000001000000111110110011011
+01110000000010000111001000000001
+01101111111000001100011001001000
+11000000000000010110111101000101
+11000000000000001110111101010000
+00100000011000000000000000000000
+01101111111000001100011010111110
+11000000000000011110111101001000
+00100000001000000111010111001101
+00100000010000000111010111101100
+01101111111000001000100001110001
+00100100011110100000000000000000
+01110000000010000111000000000011
+00100000011000000000000000000000
+01101111111000001100011010111100
+11000000000000001111000010000101
+00100000001000000001001101111100
+01101111111000001100011010111100
+11000000000000001110111101010011
+00100000001000000111000001100110
+00100000010000000111000010000101
+01101111111000001000100001110001
+00100100011110100000000000000000
+01110000000010000111000000000011
+00100000011000000000000000000000
+00100000010000000110111101110011
+11011010001000000000100010100000
+11011000101000000000011100101000
+00100000010000000111011111001100
+11011010001000000000100010000000
+11011000101000000000011011101000
+00100000010000000111011111001100
+11011010001000000000011011101000
+11011010010000000000100010000000
+11011000101000000000011011101000
+00100000010000000111011100110100
+11011010001000000000100000000000
+11011010010000000000100010000000
+11011000101000000000011100001000
+00100000010000000111011100110100
+11011010001000000000011100001000
+11011010010000000000011011101000
+11011000101000000000011011101000
+00100000010000000111011111010000
+11011010001000000000011011001000
+11011010010000000000011011101000
+11011000101000000000011011001000
+00100000010000000111011111010000
+11011111001000000000000000100000
+11011010001000000000011100101000
+11011010010000000000011011001000
+00100000001000000111111001100110
+11011010001000000000100001000000
+11011000101000000000011011001000
+00100000010000000111011111001100
+11011010001000000000100000100000
+11011000101000000000011011101000
+00100000010000000111011111001100
+11011010001000000000011011101000
+11011010010000000000100000100000
+11011000101000000000011011101000
+00100000010000000111011100110100
+11011010001000000000100000000000
+11011010010000000000100000100000
+11011000101000000000011100001000
+00100000010000000111011100110100
+11011010001000000000011100001000
+11011010010000000000011011101000
+11011000101000000000011011101000
+00100000010000000111011111010000
+11011010001000000000011011001000
+11011010010000000000011011101000
+11011000101000000000011011001000
+00100000001000000111011111101001
+00100000010000000110111110100100
+11011010001000000000100010101000
+11011000101000000000011100101000
+00100000010000000111000110100011
+11011010001000000000100010001000
+11011000101000000000011011101000
+00100000010000000111000110100011
+11011010001000000000011011101000
+11011010010000000000100010001000
+11011000101000000000011011101000
+00100000010000000111000110000001
+11011010001000000000011101100000
+11011010010000000000100010001000
+11011000101000000000011100001000
+00100000010000000111000110000001
+11011010001000000000011100001000
+11011010010000000000011011101000
+11011000101000000000011011101000
+00100000010000000111000101010000
+11011010001000000000011011001000
+11011010010000000000011011101000
+11011000101000000000011011001000
+00100000010000000111000101010000
+11011111001000000000000000011000
+11011010001000000000011100101000
+11011010010000000000011011001000
+00100000001000000111111001100110
+11011010001000000000011110101000
+11011000101000000000011011001000
+00100000010000000111000110100011
+11011010001000000000011110010000
+11011000101000000000011011101000
+00100000010000000111000110100011
+11011010001000000000011011101000
+11011010010000000000011110010000
+11011000101000000000011011101000
+00100000010000000111000110000001
+11011010001000000000011101100000
+11011010010000000000011110010000
+11011000101000000000011100001000
+00100000010000000111000110000001
+11011010001000000000011100001000
+11011010010000000000011011101000
+11011000101000000000011011101000
+00100000010000000111000101010000
+11011010001000000000011011001000
+11011010010000000000011011101000
+11011000101000000000011011001000
+00100000001000000111000101010011
+01101111111000001100011001001000
+11000000000000010110111110111110
+11000000000000001110111111001110
+00100000011000000000000000000000
+01101111111000001100011010111101
+11000000100000000110111111101100
+00100000010000000110111111101001
+11011000101000000000100101000000
+01011000000000000000100011110000
+11100111111000010000000000000101
+01011000000000000100011011111111
+11100111111000010000000000000101
+01011000000000000000100010100000
+11100111111000010000000000000101
+00100000010000000111010010010101
+01101111111000001000100001110001
+11000000000000100110111111100110
+01110000000010000111001000000001
+01110000000010000111000000000101
+00100000011000000000000000000000
+01101111111000001000100001110100
+11000000100000000110111111101100
+00100000010000000110111111101001
+11011000101000000000100101000000
+01011000000000000000100011110000
+11100111111000010000000000000101
+01011000000000000100011101001111
+11100111111000010000000000000101
+01011000000000000000100010100000
+11100111111000010000000000000101
+00100000001000000110111111100000
+11011000101000000000100101000000
+01011000000000000000100100000000
+11100111111000010000000000000101
+01011000000000000000100010100000
+11100111111000010000000000000101
+01011000000000000100011101001111
+11100111111000010000000000000101
+00100000010000000111001110111100
+01101111111000001000100001110001
+11000000000000100110111111100110
+01110000000010000111001000000001
+01110000000010000111000000000101
+00100000011000000000000000000000
+01110000000010000111000100010100
+00100000010000000110111101001101
+00100000001000000111000011010011
+11011000101000000000100011100000
+00011000000000000000111000001000
+00100000001000000111000010011101
+01110000000010000111001000000001
+00100000011000000000000000000000
+01101111111000001100011001001000
+11000000000000010110111111110100
+11000000000000001110111111110111
+01110000000010000111000000001001
+01110000000010000111001000000001
+00100000011000000000000000000000
+01101111111000001000100001111011
+11000000100000011110111111110001
+00100000001000000110111111111001
+01101111111000001000100001111011
+11000000100000001110111111110001
+11011000101000000000010111101001
+01101111111000110100000010101000
+11100111111000110000000000000101
+01101111111000110000000001000000
+11100111111000110000000000000101
+01101111111000011100011101101011
+11100111111000011000000000000101
+00100000010000000111010010110100
+11011010001000000000100100010000
+11011010010000000000100100100000
+00011000000000000000111000000100
+00100000010000000111000010100010
+00100100001000001111000000010010
+00100000010000000111000000001001
+01110000000000000111110101000001
+00100000001000000101101001111011
+01101111111000001000100001110001
+11000000000001001111000000001111
+01110000000010000111000000001010
+01110000000010000111001000000001
+01110000000000000111110000000011
+00100000011000000000000000000000
+01110000000000000111110000000011
+01110000000010000111000100010101
+00100000001000000111000011010011
+01101111111000001000100001110001
+11000000000001001111000000011000
+01110000000010000111000000000000
+01110000000000000111110000000100
+01110000000000000111111000000101
+00100000011000000000000000000000
+01110000000000000111110000000100
+01110000000010000111000100000000
+00100000011000000000000000000000
+01101111111000001100011001001000
+11000000000000010111000000011111
+11000000000000001111000000100011
+00100000011000000000000000000000
+01101111111000001000100001111011
+11000000000000011111000000100111
+01110000000010000111000100001010
+00100000001000000111000011010011
+01101111111000001000100001110101
+11000000000000001111000000100111
+01110000000010000111000100001010
+00100000001000000111000011010011
+11011000101000000000010111101001
+01101111111000110000000001000000
+11100111111000110000000000000101
+01101111111000110100000010101000
+11100111111000110000000000000101
+01101111111000011100011101101000
+11100111111000011000000000000101
+00100000010000000111010011110111
+01101111111000001000100001110001
+11000000000001010111000000110100
+01110000000010000111000000001011
+01110000000010000111001000000001
+00100000011000000000000000000000
+01110000000010000111000100001011
+01110000000010000111001100000001
+00100000011000000000000000000000
+11011000101000000000100101000000
+01101111111000110000000001000000
+11100111111000110000000000000101
+01101111111000110100000010101000
+11100111111000110000000000000101
+01011000000000000000100011110000
+11100111111000010000000000000101
+01011000000000000000100100000000
+11100111111000010000000000000101
+00100000001000000111000001001011
+01110000000010000111000000001111
+11011000101000000000100101000000
+01101111111000110100000010101000
+11100111111000110000000000000101
+01101111111000110000000001000000
+11100111111000110000000000000101
+01011000000000000000100100000000
+11100111111000010000000000000101
+01011000000000000000100011110000
+11100111111000010000000000000101
+11011000101000000000010111101001
+01101111111000110000100101000000
+11100111111000110000000000000101
+01101111111000110000100101000110
+11100111111000110000000000000101
+00100000010000000111010100001011
+01110000010000011100101000000001
+11011000101000000100000111001011
+11011000110000000000100100010000
+00100000010000000111110101111111
+00100000001000000000100111000110
+11011000101000000100011100011111
+00111000000000010001100011111111
+00111000000001111111110100101001
+00111000000010011110110100101110
+00111000000011001010110110001001
+11100111111001001000000000000101
+00111000000000110000110000010100
+00111000000001000111010110110011
+00111000000010000000010111011111
+00111000000011110111000010011100
+11100111111001001000000000000101
+00111000000000101001000110001101
+00111000000001000101011111100001
+00111000000010000000000001111001
+11100111111000110000000000000101
+00100000011000000000000000000000
+01000111001111000100000000101111
+01101111111000001100011010111100
+11000001100000000000000000000000
+01101111111000001000100001110100
+11000001100000000000000000000000
+11011000101000000100011100011111
+00011000000000000000111000001011
+00100000010000000111000010011101
+00011000000010100111111000000000
+00011111111000110111111000000000
+11100111111000010000000000000101
+01101111111000001100011010111010
+00100100010110100111000001010110
+11011000101000000000010110000000
+11011000110000000100011100011111
+00100000010000000111110101111110
+11011000101000000000010010101000
+11011000110000000000011110010000
+00100000010000000111110101111100
+11011000101000000000010011011000
+00100000010000000111110110001011
+01110000000001001101100000000001
+00100000010000000111010001111001
+01110000000010000111010000000001
+00100000011000000000000000000000
+11011000101000000100011100110111
+11011000110000000000010011110000
+00100000010000000111110101111100
+01110000010001101011110000000001
+01110000000010000111010000000000
+00100000011000000000000000000000
+01000111001111001100000000101111
+01101111111000001000100001111011
+11000001100000000000000000000000
+01101111111000001000100001110100
+11000001100000000000000000000000
+11011000101000000000010110000000
+11011000110000000100011100011111
+00100000010000000111110101111110
+11011000101000000000010010101000
+11011000110000000000100010001000
+00100000010000000111110101111100
+11011000101000000000010011011000
+00100000010000000111110110001011
+01110000000001001101100000000001
+00100000010000000111010001111001
+01110000000010000111010000000010
+00100000011000000000000000000000
+01110000000010000111010100000001
+11011000101000000000100011001000
+11011000110000000000010011110000
+00100000010000000111110101111110
+01110000000010000111101100000001
+01110000000010000111010000000000
+00100000011000000000000000000000
+00011000111000001000111111111111
+00100100011000010000000000000000
+00011000000010100111111000000000
+11100111111000010000000000000101
+00100000001000000111000010011101
+00011000111000001000111111111111
+00100100001000010111000010101110
+11101111111000100000000000010001
+00011111111000100000010000000000
+11101111111000100000000000010010
+10011000010000101111111000000000
+00100100001000101111000010101100
+00011010001000001010001000000100
+00011010010000001010010000000100
+00100000001000000111000010100010
+01111000010000001111110000000000
+00100000011000000000000000000000
+01111000001000001111110000000000
+00100000011000000000000000000000
+01000111001111010100000000101111
+01101111111000001000100001110010
+00100000011110100000000000000000
+00100000010000000101101000111111
+00100100011110100000000000000000
+01110000000010000111001000000000
+01101111111000001000100001110000
+11000000000000011101100101100101
+11000000000000101101100110000111
+11000000000000111101100110010010
+11000000000001011101100110100111
+11000000000000010110111101000000
+11000000000000100110111110111010
+11000000000001001110111111101110
+11000000000001010111000000011011
+11000000000001100111000001000001
+00100000011000000000000000000000
+01000111001111011100000000101111
+01101111111000001000100001110011
+00100000011110100000000000000000
+00100000010000000101101000111111
+00100100011110100000000000000000
+01110000000010000111001100000000
+01101111111000001000100001110001
+11000000000010010101100101001001
+11000000000010011101100101001110
+11000000000000011101100101010010
+11000000000000100110111111011001
+11000000000010100101100101010110
+11000000000000111101100101100011
+11000000000001010111000000011011
+11000000000001011101100110100110
+11000000000001001110111111101110
+11000000000010101101100110100000
+00100000011000000000000000000000
+01110000000010000111001100000001
+00100000011000000000000000000000
+01110000000010000111001100000000
+00100000011000000000000000000000
+01000111001111100100000000101111
+01101111111000001100011101100111
+00100000011110100000000000000000
+01101111111000001000100001110100
+00100000011110100000000000000000
+00011111111000001111111010000000
+01100111111000001000100001110100
+11000011100000111000000000000000
+01101111111000001000010010100101
+00100000001110100111000011100010
+00100000001000000111010010000100
+00100000010000000111001011001110
+01101111111000001000100001110100
+11000000000000001111000001111111
+11000000000000010111000010010110
+00100000011000000000000000000000
+00011111111000010000111000000111
+00011111111010010111111000000000
+10011000110000001000110000000000
+11101111111000001000000000000110
+10101111111011000000000000000000
+00100000011000000000000000000000
+00100000010000000111110101111110
+00100000010000000111110101111110
+00100000001000000111110101111110
+11101111111001000000000000000110
+00100100011110100000000000000000
+11101111111001000000000000000110
+00100100011110100000000000000000
+11101111111001000000000000000110
+00100000011000000000000000000000
+11101111111000100000000000010001
+10011000000000000000010000000000
+11101111111000100000000000010010
+10011000010001100111110000000000
+00100100011000101000000000000000
+00011010001000001010001000000100
+00011010010000001010010000000100
+11000010000000000111000011110110
+00100000011000000000000000000000
+00011000000000000111001000000110
+00011010001000001010001000010100
+00011010010000001010010000010100
+11101111111000100000000000010010
+10011000000000000000010000000000
+11101111111000100000000000010001
+10011000010001100111111000000000
+00100100011000010000000000000000
+00100100011110100000000000000000
+00011010001000001010001111111100
+00011010010000001010010111111100
+11000010000000000111000100000010
+00100000011000000000000000000000
+00011000000000000111001000000110
+00011000000000000010011000000000
+11101111111000100000000000010001
+10011000000000000000010000000000
+11101111111000100000000000010010
+10011000010000001111111000000000
+10011010011000001111111000000000
+11100111111000100000000000000101
+00101111111011111111111000100000
+01111001001000001010011000000000
+00011010001000001010001000000100
+00011010010000001010010000000100
+11000010000000000111000100001110
+00100000011000000000000000000000
+00011000000000000111001000000110
+00011000000000000010011000000000
+11101111111000100000000000010010
+10011000000000000000010000000000
+11101111111000100000000000010001
+10011000010001100111111000000000
+10011010011001100111111000000000
+11100111111000100000000000000101
+00101111111011111111111000100000
+01111001001000001010011000000000
+00011010001000001010001000000100
+00011010010000001010010000000100
+11000010000000000111000100011100
+00100000011000000000000000000000
+00011000000000000111001000000110
+00011010001000001010001000010100
+00011000000000000010011000000000
+11101111111000100000000000010001
+00101111111011111111111000000000
+01111001001000001010011000000001
+00011111111000110111111000000000
+00101010011011111111111000000000
+01111001001000001111111000011111
+11100111111000100000000000010001
+00011010001000001010001111111100
+00011010011000110010011000000000
+11000010000000000111000100101011
+00100000011000000000000000000000
+00011000000000000111001000000110
+00011000000000000010011000000000
+11101111111000100000000000010001
+00101111111011111111111000011111
+01111001001000001010011000000001
+00011111111000111111111000000000
+00101010011011111111111000000000
+01111001001000001111111000000000
+11100111111000100000000000010001
+00011010001000001010001000000100
+00011010011000110010011000000000
+11000010000000000111000100111000
+00100000011000000000000000000000
+00100000010000000111000100110110
+00101010011011111111111000000000
+00100000001000001111000101001100
+11011010010000000000011101001000
+00011010001000100010011000000000
+00011010001000001010001111101000
+00100000010000000111000011111111
+00100100011000010000000000000000
+00011010011000100010001000000000
+00011010001000001010001111101000
+11011010010000000000011101001000
+00011010001000100000101000000000
+00100000001000000111000100011010
+00100000010000000111000100001100
+00011000101000100010001000000000
+00100000001000000111000101000100
+00100000010000000111000100011010
+00101010011011000000000000000000
+00100000011000001000000000000000
+11011010010000000000011101001000
+00011000101000001010001111101000
+00011010001000100000101000000000
+00100000001000000111000100001100
+00011000101000100001011000000000
+00011010001000100110000000000000
+11011010010000000000010111011000
+00011010010000100000101000000000
+00011010001000001000110000011000
+11101111111001000000000000000110
+11100111111001000000000000000101
+11100111111001000000000000000101
+00011000000000000111111000000000
+11100111111001000000000000000101
+00011001011000100000101000000000
+00100000010000000111000101010000
+11011010010000000000010111011000
+00011010010000100000101000000000
+00011000000000000111111000000000
+11100111111001000000000000000101
+00011110000000001000110000100000
+11101111111001000000000000000110
+11100111111001000000000000000101
+11100111111001000000000000000101
+00011001011000100010001000000000
+00011010001000100000101000000000
+00100000010000000111000101010000
+11011010010000000000010111011000
+00011010010000100000101000000000
+00011110000000001000110000101000
+11101111111001000000000000000110
+11100111111001000000000000000101
+11100111111001000000000000000101
+11100111111001000000000000000101
+00011001011000100010001000000000
+00011010001000100000101000000000
+00100000001000000111000101010000
+00011000000000000111001000000110
+11101111111000100000000000000110
+10011000000000000101111000000000
+00011111000000001111000000000001
+11000010000000000111000101111100
+00100000011000000000000000000000
+00011000101000100001011000000000
+11011000101000000000010110101000
+00100000010000000111110110001011
+11011000101000000000010110101000
+00011010001000100000110000000000
+00011000000000000111000000000000
+00100000010000000111000101111011
+00011010010000100000110000000000
+00100000010000000111000101111011
+00011000000000000010010000000000
+00011000000000000000010000000000
+00011000000000000010011000000110
+11101111111000100000000000000101
+10011000000000000010001000000000
+00011010010000100111000000000000
+00011101111000100111111000000000
+00011010011000100111000000000000
+10011101111011111111111000000000
+10011010001000001111111000000000
+10011000010000001111111000000000
+11100111111000100000000000000101
+00011111111011110000010000000000
+00011010011000001010011000000001
+00101010011000011111111000001100
+00100100001000001111000110001101
+00011000010000100111111000000000
+11100111111000100000000000000101
+00011000101000001000101111101000
+00011010010000001010010000000001
+00101010010000011111111000000110
+00100100001000001111000110001011
+11011010001000000000010110101000
+00011001011000100000101000000000
+00100000001000000111000101011010
+00011010001000100010010000000000
+00100000001000000111000110000001
+00011010001000100110000000000000
+00011110000000100010001000000000
+11101111111000001000000000010001
+00101111111011111111111000000000
+00100000011000001000000000000000
+00100000010000000111000100101000
+11101111111000001000000000010010
+00101111111011000000000000000000
+00100000001000001111000110110101
+11011010001000000000011101001000
+00011010010000100000101000000000
+00100000010000000111000100001100
+11101111111000001000000000010010
+10011010011000001111111000000000
+11100111111000001000000000010010
+00011010010000001010010111101000
+00011010010000001010001000011000
+00011000000000000111001000000111
+00100000010000000111000100101010
+00100000001000000111000110100110
+00011000101000100001011000000000
+11011000101000000000011000001000
+00100000010000000111110110001011
+00011000000000000111111000000000
+01100111111000100000010111000000
+01100111111000100000011000100000
+01110000000001100000100000000001
+11011000101000000000010110101000
+00100000010000000111110110001011
+11011000110000000000011101001000
+11011000101000000000010111011000
+00100000010000000111110101111110
+00011010001000100000110000000000
+11011000101000000000010111110000
+00100000010000000111110101111110
+11011000110000000000010111110000
+00100000010000000111000011110000
+00100000001110100111000111110001
+11011010001000000000010111110000
+11011010010000000000011000001000
+00100000010000000111000110100101
+11011010001000000000010111011000
+11011010010000000000010110101000
+00100000010000000111000110100101
+11011010001000000000010111110000
+11011010010000000000010111011000
+00100000010000000111000011111111
+00100000001000010111000111100011
+11011010001000000000010111011000
+11011010010000000000010111110000
+00011010001000100000101000000000
+00100000010000000111000100011010
+11011010001000000000011000001000
+11011010010000000000010110101000
+00011010010000100000101000000000
+00100000010000000111000100001100
+11101111111000001000000000010001
+10011010011000001010011000000000
+11101111111000001000000000010010
+10011010011000001111111000000000
+11100111111000001000000000010010
+00100000001000000111000111001000
+11011010001000000000010111110000
+11011010010000000000010111011000
+00011010001000100000101000000000
+00100000010000000111000100011010
+11011010001000000000010110101000
+11011010010000000000011000001000
+00011010010000100000101000000000
+00100000010000000111000100001100
+11101111111000001000000000010001
+10011010011000001010011000000000
+11101111111000001000000000010010
+10011010011000001111111000000000
+11100111111000001000000000010010
+00100000001000000111000111001000
+11011000101000000000011000001000
+00100000010000000111110110001011
+01101111111000001000010111000000
+01100111111000001000011000001000
+01100111111000001000011000010000
+11011010001000000000011000001000
+11011010010000000000010110101000
+00011010010000100000101000000000
+00100000010000000111000101010000
+11011010001000000000011101001000
+11011010010000000000010110101000
+00011001011000100000101000000000
+00100000001000000111000101010011
+11011010001000000000010101101000
+11011000101000000000011000100000
+00100000010000000111000110100011
+11011010001000000000011000100000
+11011000101000000000011000111000
+00100000010000000111000110100011
+11011010001000000000011101100000
+11011010010000000000011000111000
+11011000101000000000011000111000
+00100000010000000111000110000001
+11011010001000000000010100111000
+11011000101000000000011000100000
+00100000010000000111000110100011
+11011000110000000000011000100000
+11011000101000000000010111110000
+00100000010000000111110101111110
+11011010001000000000010111110000
+00100000010000000111000101000011
+11011010001000000000011000100000
+11011010010000000000010111110000
+11011000101000000000011000100000
+00100000010000000111000101010000
+11011010001000000000011000100000
+11011010010000000000011000111000
+11011000101000000000011000100000
+00100000010000000111000101010000
+11011000110000000000010100111000
+11011000101000000000010111110000
+00100000010000000111110101111110
+11011010001000000000010101010000
+11011000101000000000011000111000
+00100000010000000111000110100011
+11011010001000000000010111110000
+00100000010000000111000101000011
+11011010001000000000010111110000
+00100000010000000111000101000011
+11011010001000000000010111110000
+11011010010000000000011000111000
+11011000101000000000010111110000
+00100000010000000111000110000001
+11011010001000000000011000111000
+11011000101000000000011000001000
+00100000010000000111000110100011
+11011010001000000000011000001000
+00100000010000000111000101000011
+11011010001000000000011000001000
+00100000010000000111000101000011
+11011010001000000000011000001000
+00100000010000000111000101000011
+11011000110000000000010101010000
+11011000101000000000011000111000
+00100000010000000111110101111110
+11011010001000000000011000111000
+00100000010000000111000101000011
+11011010001000000000011000111000
+11011010010000000000010101101000
+11011000101000000000010101101000
+00100000010000000111000110000001
+11011010001000000000011000100000
+11011000101000000000011000111000
+00100000010000000111000110100011
+11011010001000000000011000111000
+11011010010000000000010111110000
+11011000101000000000011000111000
+00100000010000000111000101010011
+11011010001000000000011000111000
+11011010010000000000010111110000
+11011000101000000000010100111000
+00100000010000000111000101010011
+11011010001000000000010111110000
+11011010010000000000010100111000
+11011000101000000000011000111000
+00100000010000000111000101010011
+11011010001000000000011000111000
+11011010010000000000011000100000
+11011000101000000000011000111000
+00100000010000000111000110000001
+11011010001000000000011000111000
+11011010010000000000011000001000
+11011000101000000000010101010000
+00100000001000000111000101010011
+11011010001000000000010011011000
+11011000101000000000011001010000
+00100000010000000111000110100011
+11011010001000000000010100111000
+11011010010000000000011001010000
+11011000101000000000011000001000
+00100000010000000111000110000001
+11011010001000000000010011011000
+11011010010000000000011001010000
+11011000101000000000011001010000
+00100000010000000111000110000001
+11011010001000000000010101010000
+11011010010000000000011001010000
+11011000101000000000010111110000
+00100000010000000111000110000001
+11011010001000000000010101101000
+11011000101000000000011001010000
+00100000010000000111000110100011
+11011010001000000000010010101000
+11011010010000000000011001010000
+11011000101000000000011000100000
+00100000010000000111000110000001
+11011010001000000000010101101000
+11011010010000000000011001010000
+11011000101000000000011001010000
+00100000010000000111000110000001
+11011010001000000000010011000000
+11011010010000000000011001010000
+11011000101000000000011000111000
+00100000010000000111000110000001
+11011010001000000000011000001000
+11011010010000000000011000100000
+11011000101000000000011001010000
+00100000010000000111000101010011
+11011010001000000000011000001000
+11011010010000000000011000100000
+11011000101000000000011000001000
+00100000010000000111000101010000
+11011010001000000000010111110000
+11011010010000000000011000111000
+11011000101000000000011000100000
+00100000010000000111000101010011
+11011010001000000000010111110000
+11011010010000000000011000111000
+11011000101000000000010111110000
+00100000010000000111000101010000
+11011010001000000000010111110000
+11011010010000000000011001010000
+11011000101000000000010111110000
+00100000010000000111000110000001
+11011010001000000000010101101000
+11011010010000000000010011011000
+11011000101000000000011000111000
+00100000010000000111000110000001
+11011010001000000000011000111000
+11011010010000000000011001010000
+11011000101000000000010101101000
+00100000010000000111000110000001
+11011010001000000000011001010000
+11011000101000000000011001010000
+00100000010000000111000110100011
+11011010001000000000011001010000
+11011010010000000000011000001000
+11011000101000000000011000111000
+00100000010000000111000110000001
+11011010001000000000011001010000
+11011010010000000000010111110000
+11011000101000000000010111110000
+00100000010000000111000110000001
+11011010001000000000011000100000
+11011000101000000000010100111000
+00100000010000000111000110100011
+11011010001000000000010100111000
+11011010010000000000011000111000
+11011000101000000000010100111000
+00100000010000000111000101010011
+11011000110000000000010100111000
+11011000101000000000011001010000
+00100000010000000111110101111110
+11011010001000000000011001010000
+00100000010000000111000101000011
+11011010001000000000011000111000
+11011010010000000000011001010000
+11011000101000000000011000111000
+00100000010000000111000101010011
+11011010001000000000011000111000
+11011010010000000000011000100000
+11011000101000000000011000100000
+00100000010000000111000110000001
+11011010001000000000011000100000
+11011010010000000000010111110000
+11011000101000000000010101010000
+00100000010000000111000101010011
+11011010001000000000010101010000
+11011010010000000000011101001000
+11011000101000000000010101010000
+00011000000000000010011000000000
+01101111111000001000010101010000
+00101111111011111111111000000000
+00100000010000001111000100001100
+00011010011000100110000000000000
+11011010001000000000010101010000
+00100000010000000111000100101000
+01101111111000001000010101100111
+00101110000011111111111000000000
+01111001001000001111111000000111
+01100111111000001000010101100111
+00100000011000000000000000000000
+01101111111000001000010010100101
+00011111111000001111111111111111
+00100100011000010000000000000000
+01100111111000001000010010100101
+01101111111000001000010010100100
+00100000010110100111000111111110
+01101111111000001000010010100101
+11011000110000000000010110000000
+00100000010000000111000011100111
+00100000001000001111001010111011
+01101111111000001000010010100100
+00100100001110100111001011001001
+00100000010000000111001001001111
+00100000001000000111001010111011
+01110000000001001010010000000000
+11011000110000000000010010101000
+11011000101000000000010100111000
+00100000010000000111000011101101
+00100000001000000111001010111011
+11011010001000000000010101101000
+11011000101000000000011000111000
+00100000010000000111000110111001
+11011010001000000000011000111000
+11011000101000000000010111110000
+00100000010000000111000110100011
+11011010001000000000010100111000
+11011010010000000000010111110000
+11011000101000000000010011110000
+00100000010000000111000110000001
+11011010001000000000011000111000
+11011010010000000000010111110000
+11011000101000000000011000100000
+00100000010000000111000110000001
+11011010001000000000010101010000
+11011010010000000000011000100000
+11011000101000000000010100001000
+00100000001000000111000110000001
+11101111111000100000000000000110
+00011000000000000010001000000100
+00011000101000001000101000000011
+11100111111000001000000000000101
+00011111111011001111111000000000
+00011000101000001000101111111110
+00011010001000001010001111111111
+00100100001000101111001011100011
+00011000101000001000101000000101
+11000010000000000111001011100000
+00100000011000000000000000000000
+00011000111010111111111000000000
+10011001011000001000110000000000
+11101111111000100000000000000110
+00100000011000000000000000000000
+00011000000000000110000000010000
+11011001011000000000010010101000
+00011110000000001000111111111001
+00100000010000000111001011101011
+10011000000000000000010000000000
+00011110000000001000111111110000
+00100000010000000111001011101011
+10011000010000001000010000000000
+00011110000000001000111111111110
+00100000010000000111001011101011
+00011111111011100111111000000001
+10011000010000001000010000000000
+00011110000000001000111111110001
+00100000010000000111001011101011
+00011111111011100111111000000000
+10011000010000001000010000000000
+00011110000010111111111000000000
+10011001011000001000101000000000
+11100000010000100000000000000101
+00011110000000001110000000000001
+00101110000000011111111001000000
+00100100001000001111001011110001
+00100000011000000000000000000000
+11011000110000000000011111000000
+00011000000000000111000000000111
+11101111111000100000000000000110
+10011000000000000101111000000000
+00011111000000001111000111111111
+00100000001000010111001100001000
+00100000011000000000000000000000
+01000111001111101100000000101111
+00100000010000000111001011101111
+11011000101000000000010110101000
+00011000000000000111000000000000
+00011101111000100111111000000000
+11100111111000100000000000000101
+00011111000000001111000000000001
+00101111000000011111111000001000
+00100100001000001111001100010001
+00100000010000000110111001011110
+11011001011000001001001100000000
+11011110000000000000010010101000
+00011000000000000111001001000000
+11101000010000100000000000110000
+11101111111000100000000000001011
+00011001011000001001011000000100
+00011110000000001110000000000100
+10011000010000001111111000000000
+00011000000000000111000000000111
+10011101111000001000010000000000
+00011000000000000111000000000100
+00011101111011100111111000000011
+10011000010000001000010000000000
+00011000000000000111000000000101
+00011101111000100111111000000000
+00011000000000000111000000000110
+10011101111000101111111000000000
+00011000000000000111000000000100
+10011101111000010111111000000000
+00011000000000000111000000000110
+10011101111000101111111000000000
+10011000010000001000010000000000
+00011000000000000111000000000111
+00011000010000100101111000000000
+00011000000000000111000000000011
+00011101111000100111111000000000
+10011000010000001101111000000000
+00011000000000000111000000000000
+00011101111000100111111000000000
+00011000000000000111000000000001
+10011101111000010000010000000000
+10011101111000011111111000000000
+00011000000000000111000000000010
+10011101111000010111111000000000
+10011000010000011000010000000000
+00011000000000000111000000000000
+00011101111011100111111000000010
+10011000010000001111111000000000
+00011000000000000111000000000111
+10011101111000001101111000000000
+10011000000011101111110000000000
+11000010000000000111001100011010
+11011000110000000000010110101000
+00011000000000000111000000000000
+11101111111000100000000000000110
+10011101111000001101111000000000
+00011111000000001111000000000001
+00101111000000011111111000001000
+00100100001000001111001101000011
+00100000001000000110111001100010
+11011000101000000000100100000000
+00011000000000000111000000000111
+00011101111000100111111000000000
+11100111111000100000000000000101
+00011111000000001111000111111111
+00100000001000010111001101001011
+00100000011000000000000000000000
+11011000101000000000010010101000
+00011000110000001000110111111100
+00011111001001100010001000010000
+11101111111000100000000000000110
+10011000010000101111111000000000
+11100111111000100000000000000101
+00011000110000001000110111111000
+11000010000000000111001101010011
+00011010001000100111001000000000
+00011000010000100111111000000000
+11100111111000100000000000000101
+11000010000000000111001101011010
+00100000011000000000000000000000
+01101111111000001100011001001000
+11000000000000010111001101100100
+11000000000000001111001101100001
+00100000011000000000000000000000
+00100000010000000111001101101001
+00100000010000000111001101001001
+00100000001000000111001110001111
+00100000010000000111001110100011
+00100000010000000111001101001001
+00100000001000000111001110001111
+00100000010000000111001101101001
+00100000001000000111001110001111
+11011000110000000000100010100000
+11011000101000000000010010101000
+00011000000000000111001000000110
+00100000010000000111010010001101
+11011000110000000100011101001111
+00011000000000000111001000000110
+00100000010000000111010010001101
+11011000110000000000100100000000
+00100000010000000111010010001100
+00100000010000000111001100000110
+00100000010000000111001100001101
+11011000110000000000100011110000
+11011000101000000000010010101000
+00100000001000000111001110000110
+11011000110000000100011101001111
+11011000101000000000010010101000
+00011000000000000111001000000110
+00100000010000000111010010001101
+11011000110000000000100010100000
+00011000000000000111001000000110
+00100000010000000111010010001101
+11011000110000000000100011110000
+00100000010000000111010010001100
+00100000010000000111001100000110
+00100000010000000111001100001101
+11011000110000000000100100000000
+11011000101000000000010010101000
+00100000010000000111001110000110
+00100000001000000111001110001111
+00100000010000000111010010001100
+01011000100000000000000000000000
+00011111111011010111111000000000
+11100111111000100000000000000101
+00011000000000000111001000000101
+00100000010000000111110110001100
+01011000000000000000001010000000
+11100111111000100000000000000101
+00100000001000000111001100001101
+01101111111000100000100100000000
+11011010001000000000001111101000
+10011010001001101111110000000000
+00100000010000000111111001100100
+00011000000001110111111000000000
+01100111111000100000100001111100
+00011000000001111111111000000000
+11011010001000000000001111101000
+10011010001001101111110000000000
+00100000010000000111111001100100
+00011000000001110111111000000000
+11011010001000000000001111101000
+10011010001011111111111000000000
+01101000010010100000100001111100
+10011000010000001111111000000000
+01100111111000100000100001111100
+00100000011000000000000000000000
+00100000010000000111001110100011
+00100000010000000111001101001001
+00100000001000000111001110001111
+11011000110000000000100010100000
+11011000101000000000010010101000
+00011000000000000111001000001000
+00100000010000000111010010001101
+11011000110000000100011011111111
+00011000000000000111001000001000
+00100000010000000111010010001101
+00100000010000000111001100000110
+00100000010000000111001100001101
+11011000110000000000100100000000
+11011000101000000000010010101000
+00100000010000000111010010001100
+11011000110000000000100011110000
+00100000001000000111001110110001
+00100000010000000111010010001100
+01011000100000000000000000000000
+00011111111011010111111000000000
+11100111111000100000000000000101
+00011000000000000111001000000011
+00100000010000000111110110001100
+01011000000000000000001100000000
+11100111111000100000000000000101
+00100000001000000111001100001101
+01110000010001110111000100000000
+00100000001000000111001110111110
+01101111111000001100011101101111
+11000000100000010111001110111010
+01000111001111110100000000101111
+01011000001101100011011000110110
+00011111111011010000010000000000
+00011000010000011000010000110110
+01101111111000010000100101000000
+00011111111000100000110000000000
+00011000000000000111001000000100
+00100000010000000111001101010000
+00100000010000000111001100000110
+00100000010000000111001100001101
+01101111111000010000100101000010
+00011111111000100000110000000000
+11011000101000000000010010101000
+00011000000000000111001000000110
+00100000010000000111010010001101
+01101111111000010000100101000100
+00011111111000100000110000000000
+00011000000000000111001000000110
+00100000010000000111010010001101
+01011000100000000000000000000000
+11100111111000011000000000000101
+01101111111000001100011101110001
+11100111111000001000000000000101
+00011000000000000111111000000000
+11100111111001000000000000000101
+01011000000000000000001110001000
+11100111111000100000000000000101
+00100000010000000111001100001101
+00100000010000000111001101001001
+11011000110000000000100100000000
+11011000101000000000010111001000
+00100000010000000111110101111101
+01011000010111000101110001011100
+00011111111011010000010000000000
+00011000010000011000010001011100
+01101111111000010000100101000000
+00011111111000100000110000000000
+00011000000000000111001000000100
+00100000010000000111001101010000
+00100000010000000111001100000110
+00100000010000000111001100001101
+11011000110000000000010111101000
+11011000101000000000010010101000
+00011000000000000111001000001000
+00100000010000000111010010001101
+01011000100000000000000000000000
+00011111111011010111111000000000
+11100111111000100000000000000101
+00100000010000000111110110001011
+01011000000000000000001100000000
+11100111111000100000000000000101
+00100000010000000111001100001101
+00100000001000000111001101001001
+01011000001101100011011000110110
+00011111111011010000010000000000
+00011000010000011000010000110110
+11011000110000000000100011100000
+00011000000000000111001000000110
+00100000010000000111001101010000
+00100000010000000111001100000110
+00100000010000000111001100001101
+01101111111000010000100101001100
+00011111111000100000110000000000
+11011000101000000000010010101000
+00100000010000000111010010001100
+01101111111000010000100101001110
+00011111111000100000110000000000
+00100000010000000111010010001100
+01011000011000100111010001101100
+00011111111011010111111000000000
+00011111111000011111111001101011
+11100111111000100000000000000101
+11011000110000000000010111110101
+00011000000000000111001000000011
+00100000010000000111010010001101
+01011000100000000000000000000000
+00011111111011010111111000000000
+11100111111000100000000000000101
+00011000000000000111111000000000
+11100111111001000000000000000101
+01011000000000000000001110000000
+11100111111000100000000000000101
+00100000010000000111001100001101
+00100000010000000111001101001001
+11011000110000000000100100000000
+11011000101000000000010111001000
+00100000010000000111110101111101
+01011000010111000101110001011100
+00011111111011010000010000000000
+00011000010000011000010001011100
+11011000110000000000100011100000
+00011000000000000111001000000110
+00100000010000000111001101010000
+00100000010000000111001100000110
+00100000010000000111001100001101
+11011000110000000000010111101000
+11011000101000000000010010101000
+00011000000000000111001000001000
+00100000010000000111010010001101
+01011000100000000000000000000000
+00011111111011010111111000000000
+11100111111000100000000000000101
+00100000010000000111110110001011
+01011000000000000000001100000000
+11100111111000100000000000000101
+00100000010000000111001100001101
+00100000001000000111001101001001
+01101111111000001100011101101111
+11000000100000010111010000111010
+01000111001111111100000000101111
+01011000001101100011011000110110
+00011111111011010000010000000000
+00011000010000011000010000110110
+11011000110000000000100011100000
+00011000000000000111001000000110
+00100000010000000111001101010000
+00100000010000000111001100000110
+00100000010000000111001100001101
+11011000110000000000100100000000
+11011000101000000000010010101000
+00100000010000000111010010001100
+11011000110000000000100011110000
+00100000010000000111010010001100
+00100000001000000111010001001111
+01011000000000000000000000000000
+01100111111000100100011110010111
+00100000001000000111010000101011
+01011000000000000000000000000000
+01100111111000100100011110010111
+00100000001000000111010001000010
+01101111111000001100011101101111
+11000000100000010111010000111101
+01011000001101100011011000110110
+00011111111011010000010000000000
+00011000010000011000010000110110
+11011000110000000000100011100000
+00011000000000000111001000000110
+00100000010000000111001101010000
+00100000010000000111001100000110
+00100000010000000111001100001101
+11011000110000000000100011110000
+11011000101000000000010010101000
+00100000010000000111010010001100
+11011000110000000000100100000000
+00100000010000000111010010001100
+01011000000000000000000000000000
+11100111111001000000000000000101
+11100111111000100000000000000101
+01101111111000100100011110010111
+11100111111000100000000000000101
+00011000101000100000010000000000
+01110000000001011110100010000000
+00011000010000100000101000000000
+11011000110000000000010111111000
+00100000010000000111010010001100
+00100000010000000111001100001101
+11011000101000000000010010101000
+00011000000000000111001000000111
+00100000010000000111110110001100
+11100111111000100000000000000101
+01011000000000000000001111111000
+11100111111000100000000000000101
+00100000010000000111001100001101
+00100000010000000111001101001001
+11011000110000000000100100000000
+11011000101000000000010111001000
+00100000010000000111110101111101
+01011000010111000101110001011100
+00011111111011010000010000000000
+00011000010000011000010001011100
+11011000110000000000100011100000
+00011000000000000111001000000110
+00100000010000000111001101010000
+00100000010000000111001100000110
+00100000010000000111001100001101
+11011000110000000000010111101000
+11011000101000000000010010101000
+00011000000000000111001000001000
+00100000010000000111010010001101
+01011000100000000000000000000000
+00011111111011010111111000000000
+11100111111000100000000000000101
+00100000010000000111110110001011
+01011000000000000000001100000000
+11100111111000100000000000000101
+00100000010000000111001100001101
+00100000001000000111001101001001
+01110000000001001010010111000000
+01101111111000001000010010100101
+00100000011110100000000000000000
+00011111111000001111111111111111
+01100111111000001000010010100101
+11011000110000000000010110000000
+00100000010000000111000011100111
+00100000001000001111010001111010
+11011000110000000000010010101000
+11011000101000000000010100111000
+00100000001000000111000011101101
+00100000010000000111000111111110
+01101111111000001000010010100101
+00011111111000001111111111111111
+01100111111000001000010010100101
+11011000110000000000010110000000
+00100000010000000111000011100111
+00100000011000001000000000000000
+00100000001000000111001001001111
+00011000000000000111001000000100
+00011000110000001000110111111100
+11101111111000100000000000000110
+11100111111000100000000000000101
+00011000110000001000110111111000
+11000010000000000111010010001110
+00100000011000000000000000000000
+01110000010001110111000100000000
+00100000001000000111010010010111
+01101111111000001100011101101111
+11000000100000010111010010010011
+01011000001101100011011000110110
+00011111111011010000010000000000
+00011000010000011000010000110110
+01101111111000010000100101000000
+00011111111000100000110000000000
+00011000000000000111001000000100
+00100000010000000111001101010000
+00100000010000000111001100000110
+00100000010000000111001100001101
+01101111111000010000100101000010
+00011111111000100000110000000000
+11011000101000000000010010101000
+00011000000000000111001000001000
+00100000010000000111010010001101
+01101111111000010000100101000100
+00011111111000100000110000000000
+00011000000000000111001000001000
+00100000010000000111010010001101
+00100000010000000111001100001101
+11011000101000000000010010101000
+01011000100000000000000000000000
+11100111111000011000000000000101
+01101111111000001100011101110001
+11100111111000001000000000000101
+11011111001000000000000000000111
+00100000010000000111110110001100
+01011000000000000000010000001000
+11100111111000100000000000000101
+00100000001000000111001111011001
+01101111111000001100011001001000
+11000000000000010111010010111000
+11000000000000001111010000101001
+00100000011000000000000000000000
+01101111111000001100011101101111
+11000000100000010111010011110001
+01011000001101100011011000110110
+00011111111011010000010000000000
+00011000010000011000010000110110
+11011000110000000000100011100000
+00011000000000000111001000001000
+00100000010000000111001101010000
+00100000010000000111001100000110
+00100000010000000111001100001101
+11011000110000000000100100000000
+11011000101000000000010010101000
+00100000010000000111010010001100
+11011000110000000000100011110000
+00100000010000000111010010001100
+01011000000000000000000000000000
+11100111111001000000000000000101
+11100111111000100000000000000101
+01101111111000100100011110010111
+11100111111000100000000000000101
+00011000101000100000010000000000
+01110000000001011110100010000000
+00011000010000100000101000000000
+11011000110000000000010111111000
+00100000010000000111010010001100
+00100000010000000111001100001101
+11011000101000000000010010101000
+00011000000000000111001000000111
+00100000010000000111110110001100
+11100111111000100000000000000101
+01011000000000000000001111111000
+11100111111000100000000000000101
+00100000010000000111001100001101
+00100000010000000111001101001001
+11011000110000000000100100000000
+11011000101000000000010111001000
+00100000010000000111110101111101
+01011000010111000101110001011100
+00011111111011010000010000000000
+00011000010000011000010001011100
+11011000110000000000100011100000
+00011000000000000111001000001000
+00100000010000000111001101010000
+00100000010000000111001100000110
+00100000010000000111001100001101
+11011000110000000000010111101000
+11011000101000000000010010101000
+00011000000000000111001000001000
+00100000010000000111010010001101
+01011000100000000000000000000000
+00011111111011010111111000000000
+11100111111000100000000000000101
+00100000010000000111110110001011
+01011000000000000000001100000000
+11100111111000100000000000000101
+00100000010000000111001100001101
+00100000001000000111001101001001
+01011000000000000000000000000000
+01100111111000100100011110010111
+00100000001000000111010010111010
+01011000000000000000000000000000
+01100111111000100100011110010111
+00100000001000000111010011111101
+01101111111000001100011001001000
+11000000000000010111010011111011
+11000000000000001111010001000000
+00100000011000000000000000000000
+01101111111000001100011101101111
+11000000100000010111010011110100
+01011000001101100011011000110110
+00011111111011010000010000000000
+00011000010000011000010000110110
+11011000110000000000100011100000
+00011000000000000111001000001000
+00100000010000000111001101010000
+00100000010000000111001100000110
+00100000010000000111001100001101
+11011000110000000000100011110000
+11011000101000000000010010101000
+00100000010000000111010010001100
+11011000110000000000100100000000
+00100000010000000111010010001100
+00100000001000000111010011000111
+01101111111000001100011001001000
+11000000000000010111010100001111
+11000000000000001111001111110011
+00100000011000000000000000000000
+01011000001101100011011000110110
+00011111111011010000010000000000
+00011000010000011000010000110110
+11011000110000000000100011100000
+00011000000000000111001000001000
+00100000010000000111001101010000
+00100000010000000111001100000110
+00100000010000000111001100001101
+01101111111000010000100101001100
+00011111111000100000110000000000
+11011000101000000000010010101000
+00100000010000000111010010001100
+01101111111000010000100101001110
+00011111111000100000110000000000
+00100000010000000111010010001100
+01011000011000100111010001101100
+00011111111011010111111000000000
+00011111111000011111111001101011
+11100111111000100000000000000101
+11011000110000000000010111110101
+00011000000000000111001000000011
+00100000010000000111010010001101
+01011000100000000000000000000000
+00011111111011010111111000000000
+11100111111000100000000000000101
+00011000000000000111111000000000
+11100111111001000000000000000101
+01011000000000000000001110000000
+11100111111000100000000000000101
+00100000010000000111001100001101
+00100000010000000111001101001001
+11011000110000000000100100000000
+11011000101000000000010111001000
+00100000010000000111110101111101
+01011000010111000101110001011100
+00011111111011010000010000000000
+00011000010000011000010001011100
+11011000110000000000100011100000
+00011000000000000111001000001000
+00100000001000000111010011100010
+01101111111000110100000010101000
+01100111111000110000010111101001
+01101111111000110000000001000000
+11100111111000110000000000000101
+01011000001101100011011000110110
+00011111111011010000010000000000
+00011000010000011000010000110110
+11011000110000000100000111011011
+00011000000000000111001000000100
+00100000010000000111001101010000
+00100000010000000111001100000110
+00100000010000000111001100001101
+01011000011000100111010001100001
+00011111111011010111111000000000
+00011111111000011111111001101011
+01100111111000100000010010101000
+11011000110000000000010111110101
+00011000000000000111001000000011
+00100000010000000111010010001101
+11011000110000000100011010110101
+11011111001000000000000000000010
+00100000010000000111010010001101
+01011000100000000000000000000000
+00011111111011010111111000000000
+11100111111000100000000000000101
+11011111001000000000000000000100
+00100000010000000111110110001100
+01011000000000000000001011000000
+11100111111000100000000000000101
+00100000010000000111001100001101
+00100000010000000111001101001001
+11011000110000000000100100000000
+11011000101000000000010111001000
+00100000010000000111110101111101
+01011000010111000101110001011100
+00011111111011010000010000000000
+00011000010000011000010001011100
+11011000110000000100000111011011
+00011000000000000111001000000100
+00100000001000000111010011100010
+01101111111000110100000010101000
+01100111111000110000010111101001
+01101111111000110000000001000000
+11100111111000110000000000000101
+01011000001101100011011000110110
+00011111111011010000010000000000
+00011000010000011000010000110110
+11011000110000000100000111011011
+00011000000000000111001000000100
+00100000010000000111001101010000
+00100000010000000111001100000110
+00100000010000000111001100001101
+01011000011000100111010001100100
+00011111111011010111111000000000
+00011111111000011111111001101011
+01100111111000100000010010101000
+11011000110000000000010111110101
+00011000000000000111001000000011
+00100000010000000111010010001101
+01011000100000000000000000000000
+00011111111011010111111000000000
+11100111111000100000000000000101
+11011111001000000000000000000101
+00100000010000000111110110001100
+01011000000000000000001010000000
+11100111111000100000000000000101
+00100000010000000111001100001101
+00100000010000000111001101001001
+11011000110000000000100100000000
+11011000101000000000010111001000
+00100000010000000111110101111101
+01011000010111000101110001011100
+00011111111011010000010000000000
+00011000010000011000010001011100
+11011000110000000100000111011011
+00011000000000000111001000000100
+00100000001000000111010011100010
+11011000110000000000100100010000
+11011000101000000000010001010100
+00100000010000000111110101111111
+01011000000000000000100100000000
+01100111111000010000100101000000
+01011000000000000000010000110100
+11100111111000010000000000000101
+01011000001101100011011000110110
+00011111111011010000010000000000
+00011000010000011000010000110110
+11011000110000000000010001100100
+00011000000000000111001000000100
+00100000010000000111001101010000
+00100000010000000111001100000110
+00100000010000000111001100001101
+11011000101000000000010010101000
+01101111111000010000100101000000
+00011111111000100000110000000000
+00100000010000000111010010001100
+01101111111000010000100101000010
+00011111111000100000110000000000
+00100000010000000111010010001100
+01011000100000000000000000000000
+00011111111011010111111000000000
+11100111111000100000000000000101
+11011111001000000000000000000011
+00100000010000000111110110001100
+01011000000000000000001100000000
+11100111111000100000000000000101
+00100000010000000111001100001101
+00100000010000000111001101001001
+11011000110000000000100100000000
+11011000101000000000010111001000
+00100000010000000111110101111101
+01011000010111000101110001011100
+00011111111011010000010000000000
+00011000010000011000010001011100
+11011000110000000000010001100100
+00011000000000000111001000000100
+00100000001000000111010011100010
+01000111010000000100000000110000
+01101111111000001100011010111011
+00100100001110100111010111001101
+01110000010001101011110100000000
+01110000010001101011111000000000
+00100000011000000000000000000000
+01101111111000001100011010111011
+00100000011110100000000000000000
+01101111111000001100011010111110
+11000001000000011000000000000000
+00100000010000000111011000000010
+00100000001000000111010110110010
+11011000101000000100011010111111
+00111000000000000001101010111101
+00111000000001011011001101001111
+00111000000010011001101110001010
+00111000000011100110010101100010
+11100111111001001000000000000101
+00111000000000110100000010110111
+00111000000001000001111011111010
+00111000000010001010111111110110
+00111000000011001111110101000001
+11100111111001001000000000000101
+00111000000000111101001000010000
+00111000000001100110110011111000
+00111000000010111000011101001100
+00111000000011110001010101111100
+11100111111001001000000000000101
+00111000000000101101010010100011
+00111000000001111101001001111101
+00111000000010000000000000000011
+11100111111000101000000000000101
+00100000011000000000000000000000
+01101111111000001100011010111110
+11000001100000000000000000000000
+01101111111000001100011010111101
+11000001100000000000000000000000
+00100000010000000110111010111101
+11011000101000000100011010111111
+00011000000000000000111000001111
+00100000010000000111000010011101
+00011000000010100111111000000000
+00011111111000110111111000000000
+11100111111000010000000000000101
+01101111111000001100011010111010
+00100100010110100111010110111000
+11011000101000000000011000101000
+11011000110000000100011010111111
+00100000010000000111110101111101
+11011000101000000000010100001000
+11011000110000000000100000100000
+00100000010000000111110101110010
+11011000101000000000010101001000
+00100000010000000111110110010111
+01110000000001010100100000000001
+00100000010000000111011000011010
+01110000010001101011110100000011
+00100000011000000000000000000000
+11011000101000000100011011011111
+11011000110000000000010101101000
+00100000010000000111110101110010
+01110000010001101011111000000011
+01110000010001101011110100000000
+00100000011000000000000000000000
+01101111111000001000100001111011
+11000001100000000000000000000000
+01101111111000001100011010111101
+11000001100000000000000000000000
+11011000101000000000011000101000
+11011000110000000100011010111111
+00100000010000000111110101111101
+11011000101000000000010100001000
+11011000110000000000100010000000
+00100000010000000111110101110010
+11011000101000000000010101001000
+00100000010000000111110110010111
+01110000000001010100100000000001
+00100000010000000111011000011010
+01110000010001101011110100000100
+00100000011000000000000000000000
+11011000101000000000100011000000
+11011000110000000000010101101000
+00100000010000000111110101111101
+01110000000010000111101100000011
+01110000010001101011110100000000
+00100000011000000000000000000000
+01101111111000001100011010111011
+00100000011110100000000000000000
+01101111111000001100011010111101
+00100000011110100000000000000000
+00011111111000001111111010000000
+01100111111000001100011010111101
+11000011100000111000000000000000
+01101111111000010000010010100101
+00100000001110100111011000001100
+00100000001000000111011000010010
+01000111010000001100000000110000
+00100000010000000111011000100111
+01101111111000001100011010111101
+11000000000000011111010111100110
+11000000000000100111010111111100
+00100000011000000000000000000000
+00100000010000000111011000111001
+01101111111000010000010010100101
+00011111111000001111111111111111
+01100111111000010000010010100101
+11011000110000000000011000101000
+00100000010000000111000011100111
+00100000011000001000000000000000
+00100000001000000111011010001010
+01000111010000010100000000110000
+01011000000000000000000100000000
+01100111111000010000010010100101
+01101111111000010000010010100101
+00100000011110100000000000000000
+00011111111000001111111111111111
+01100111111000010000010010100101
+11011000110000000000011000101000
+00100000010000000111000011100111
+00100000001000001111011000011101
+11011000110000000000010100001000
+11011000101000000000010111001000
+00100000001000000111110101110001
+11011010001000000000011000001000
+11011000101000000000011100001000
+00100000010000000111011011110110
+11011010001000000000011100001000
+11011000101000000000011010101000
+00100000010000000111011111001100
+11011010001000000000010111001000
+11011010010000000000011010101000
+11011000101000000000010101101000
+00100000010000000111011100110100
+11011010001000000000011100001000
+11011010010000000000011010101000
+11011000101000000000011011101000
+00100000010000000111011100110100
+11011010001000000000010111101000
+11011010010000000000011011101000
+11011000101000000000010110001000
+00100000001000000111011100110100
+11011010001000000000011000001000
+11011000101000000000011011101000
+00100000010000000111011111001100
+11011010001000000000011011101000
+11011000101000000000011100001000
+00100000010000000111011111001100
+11011010001000000000100000000000
+11011010010000000000011100001000
+11011000101000000000011100001000
+00100000010000000111011100110100
+11011010001000000000010111001000
+11011000101000000000011011101000
+00100000010000000111011111001100
+11011000110000000000011011101000
+11011000101000000000011010101000
+00100000010000000111110101111101
+11011010001000000000011010101000
+00100000010000000111011111010011
+11011010001000000000011011101000
+11011010010000000000011010101000
+11011000101000000000011011101000
+00100000010000000111011111010000
+11011010001000000000011011101000
+11011010010000000000011100001000
+11011000101000000000011011101000
+00100000010000000111011111010000
+11011000110000000000010111001000
+11011000101000000000011010101000
+00100000010000000111110101111101
+11011010001000000000010111101000
+11011000101000000000011100001000
+00100000010000000111011111001100
+11011010001000000000011010101000
+00100000010000000111011111010011
+11011010001000000000011010101000
+00100000010000000111011111010011
+11011010001000000000011010101000
+11011010010000000000011100001000
+11011000101000000000011010101000
+00100000010000000111011100110100
+11011010001000000000011100001000
+11011000101000000000011011001000
+00100000010000000111011111001100
+11011010001000000000011011001000
+00100000010000000111011111010011
+11011010001000000000011011001000
+00100000010000000111011111010011
+11011010001000000000011011001000
+00100000010000000111011111010011
+11011000110000000000010111101000
+11011000101000000000011100001000
+00100000010000000111110101111101
+11011010001000000000011100001000
+00100000010000000111011111010011
+11011010001000000000011100001000
+11011010010000000000011000001000
+11011000101000000000011000001000
+00100000010000000111011100110100
+11011010001000000000011011101000
+11011000101000000000011100001000
+00100000010000000111011111001100
+11011010001000000000011100001000
+11011010010000000000011010101000
+11011000101000000000011100001000
+00100000010000000111011111101001
+11011010001000000000011100001000
+11011010010000000000011010101000
+11011000101000000000010111001000
+00100000010000000111011111101001
+11011010001000000000011010101000
+11011010010000000000010111001000
+11011000101000000000011100001000
+00100000010000000111011111101001
+11011010001000000000011100001000
+11011010010000000000011011101000
+11011000101000000000011100001000
+00100000010000000111011100110100
+11011010001000000000011100001000
+11011010010000000000011011001000
+11011000101000000000010111101000
+00100000001000000111011111101001
+11011010001000000000010101001000
+11011000101000000000011100101000
+00100000010000000111011111001100
+11011010001000000000010111001000
+11011010010000000000011100101000
+11011000101000000000011011001000
+00100000010000000111011100110100
+11011010001000000000010101001000
+11011010010000000000011100101000
+11011000101000000000011100101000
+00100000010000000111011100110100
+11011010001000000000010111101000
+11011010010000000000011100101000
+11011000101000000000011010101000
+00100000010000000111011100110100
+11011010001000000000011000001000
+11011000101000000000011100101000
+00100000010000000111011111001100
+11011010001000000000010100001000
+11011010010000000000011100101000
+11011000101000000000011011101000
+00100000010000000111011100110100
+11011010001000000000011000001000
+11011010010000000000011100101000
+11011000101000000000011100101000
+00100000010000000111011100110100
+11011010001000000000010100101000
+11011010010000000000011100101000
+11011000101000000000011100001000
+00100000010000000111011100110100
+11011010010000000000011011001000
+11011010001000000000011011101000
+11011000101000000000011100101000
+00100000010000000111011111101001
+11011010001000000000011011001000
+11011010010000000000011011101000
+11011000101000000000011011001000
+00100000010000000111011111010000
+11011010010000000000011010101000
+11011010001000000000011100001000
+11011000101000000000011011101000
+00100000010000000111011111101001
+11011010001000000000011010101000
+11011010010000000000011100001000
+11011000101000000000011010101000
+00100000010000000111011111010000
+11011010001000000000011010101000
+11011010010000000000011100101000
+11011000101000000000011010101000
+00100000010000000111011100110100
+11011010001000000000011000001000
+11011010010000000000010101001000
+11011000101000000000011100001000
+00100000010000000111011100110100
+11011010001000000000011100001000
+11011010010000000000011100101000
+11011000101000000000011000001000
+00100000010000000111011100110100
+11011010001000000000011100101000
+11011000101000000000011100101000
+00100000010000000111011111001100
+11011010001000000000011100101000
+11011010010000000000011011001000
+11011000101000000000011100001000
+00100000010000000111011100110100
+11011010001000000000011100101000
+11011010010000000000011010101000
+11011000101000000000011010101000
+00100000010000000111011100110100
+11011010001000000000011011101000
+11011000101000000000010111001000
+00100000010000000111011111001100
+11011010001000000000010111001000
+11011010010000000000011100001000
+11011000101000000000010111001000
+00100000010000000111011111101001
+11011000110000000000010111001000
+11011000101000000000011100101000
+00100000010000000111110101111101
+11011010001000000000011100101000
+00100000010000000111011111010011
+11011010001000000000011100001000
+11011010010000000000011100101000
+11011000101000000000011100001000
+00100000010000000111011111101001
+11011010001000000000011100001000
+11011010010000000000011011101000
+11011000101000000000011011101000
+00100000010000000111011100110100
+11011010001000000000011011101000
+11011010010000000000011010101000
+11011000101000000000010111101000
+00100000010000000111011111101001
+11011010001000000000010111101000
+11011010010000000000011111100000
+11011000101000000000010111101000
+00011000000000000010011000000000
+01101111111000001000010111101000
+00101111111011111111111000000000
+00100000010000001111011111001110
+00011010011000100110000000000000
+11011010001000000000010111101000
+00100000010000000111011111111110
+01101111111000001000011000000111
+00101110000011111111111000000000
+01111001001000001111111000000111
+01100111111000001000011000000111
+00100000011000000000000000000000
+00011000101000100001011000000000
+11011000101000000000011011001000
+00100000010000000111110110010111
+00011000000000000111111000000000
+01100111111000100000011011101000
+01110000000001101100100000000001
+11011000101000000000011001001000
+00100000010000000111110110011001
+11011000110000000000011111100000
+11011000101000000000011010001000
+00100000010000000111110101111101
+00011010001000100000110000000000
+11011000101000000000011010101000
+00100000010000000111110101111101
+11011000110000000000011010101000
+00100000010000000111100000001000
+00100000001110100111011100101101
+11011010001000000000011010101000
+11011010010000000000011011001000
+00100000010000000111100000001011
+11011010001000000000011010001000
+11011010010000000000011001001000
+00100000010000000111100000001011
+11011010001000000000011010101000
+11011010010000000000011010001000
+00100000010000000111100000000100
+00100000001000010111011100011111
+11011010001000000000011010001000
+11011010010000000000011010101000
+00011010001000100000101000000000
+00100000010000000111011111111100
+11011010001000000000011011001000
+11011010010000000000011001001000
+00011010010000100000101000000000
+00100000010000000111011111001110
+11101111111000001000000000010001
+10011010011000001010011000000000
+11101111111000001000000000010010
+10011010011000001111111000000000
+11100111111000001000000000010010
+00100000001000000111011100000100
+11011010001000000000011010101000
+11011010010000000000011010001000
+00011010001000100000101000000000
+00100000010000000111011111111100
+11011010001000000000011001001000
+11011010010000000000011011001000
+00011010010000100000101000000000
+00100000010000000111011111001110
+11101111111000001000000000010001
+10011010011000001010011000000000
+11101111111000001000000000010010
+10011010011000001111111000000000
+11100111111000001000000000010010
+00100000001000000111011100000100
+11011010001000000000011001001000
+00011001011000100000101000000000
+00100000010000000111011101011101
+11011010001000000000011111100000
+00011001011000100010010000000000
+00011001011000100000101000000000
+00100000001000000111011111101001
+00011000101000100001011000000000
+00011000000000000111000000000000
+11011000101000000000011001001000
+00100000010000000111110110011001
+11011000101000000000100110011110
+00100000010000000111110110011001
+00011010001000100000110000000000
+01110000000010011001111000000000
+01011000000000000000000000000000
+00100000010000000111011111000110
+00011010010000100000110000000000
+00100000010000000111011111001010
+00011000000000000000111000000000
+11011000101000000000011001001000
+11011000010000000000100110011110
+00011000111000100010010000000000
+00011010010010111111111000000000
+10011000010000001010010000000000
+00011000000000000000010000000000
+00011000000000000010011000000000
+11101111111000100000000000000101
+10011000000000000010001000000000
+11101111111000100000000000010010
+00011010011000100111000000000000
+10011101111011111111111000000000
+10011010001000001111111000000000
+10011000010000001111111000000000
+11100111111000100000000000000101
+00011111111011110000010000000000
+00011010011000001010011000000001
+00101010011000011111111000001000
+00100100001000001111011101001000
+00011000010000100111111000000000
+11100111111000100000000000000101
+00011000101000001000101111100000
+00011000111000001000111000000001
+00101000111000011111111000001000
+00100100001000001111011101000010
+11011010001000000000011001001000
+00011001011000100000101000000000
+00100000001000000111011101011101
+01000111010000011100000000110000
+00011000101000100001011000000000
+00011010001000100110000000000000
+11011010010000000000011010001000
+00011010010000100000101000000000
+00100000010000000111110110010100
+11100111111001000000000000000101
+00011010001000001000110000101100
+00100000010000000111110101111001
+00100000010000000111110101110101
+00011010010000100010001000000000
+00100000010000000111011111010011
+11011010010000000000011010001000
+00011110000000100010001000000000
+00011001011000100000101000000000
+00100000010000000111011111010000
+11011010010000000000011010001000
+00011010010000100000101000000000
+00100000010000000111110110010100
+11100111111001000000000000000101
+00011110000000001000110000110000
+00100000010000000111110101111111
+00100000010000000111110110010100
+00011010010000100010001000000000
+00100000010000000111011111010011
+11011010010000000000011010001000
+00011001011000100010001000000000
+00011010001000100000101000000000
+00100000010000000111011111010000
+11011010010000000000011010001000
+00011010010000100000101000000000
+00011110000000001000110000100000
+00100000010000000111110101110101
+00100000010000000111110110010100
+11100111111001000000000000000101
+00011110000000001000110000111000
+00100000010000000111110101111001
+00011001011000100010001000000000
+00011010001000100000101000000000
+00100000010000000111011111010000
+11011010010000000000011010001000
+00011010010000100000101000000000
+00011110000000001000110000100100
+00100000010000000111110101110101
+00011110000000001000110000110100
+00100000010000000111110101110101
+00011110000000001000110000110100
+00100000010000000111110101110110
+00011110000000001000110000100000
+00100000010000000111110101110110
+00011001011000100010001000000000
+00011010001000100000101000000000
+00100000010000000111011111010000
+11011010010000000000011010001000
+00011010010000100000101000000000
+00011110000000001000110000101100
+00100000010000000111110101110101
+00100000010000000111110110010100
+11100111111001000000000000000101
+00011110000000001000110000100000
+00100000010000000111110101110110
+00011110000000001000110000101000
+00100000010000000111110101110110
+00011001011000100010001000000000
+00011010001000100000101000000000
+00100000010000000111011111101001
+11011010010000000000011010001000
+00011010010000100000101000000000
+00011110000000001000110000110000
+00100000010000000111110101111001
+00100000010000000111110101111001
+00011000000000000111111000000000
+11100111111001000000000000000101
+00011110000000001000110000100100
+00100000010000000111110101110110
+00011110000000001000110000101100
+00100000010000000111110101110110
+00011001011000100010001000000000
+00011010001000100000101000000000
+00100000010000000111011111101001
+11011010010000000000011010001000
+00011010010000100000101000000000
+00011110000000001000110000110100
+00100000010000000111110101110101
+00011110000000001000110000100000
+00100000010000000111110101110101
+00100000010000000111110110010100
+00011110000000001000110000110000
+00100000010000000111110101110110
+00011001011000100010001000000000
+00011010001000100000101000000000
+00100000010000000111011111101001
+11011010010000000000011010001000
+00011010010000100000101000000000
+00011110000000001000110000111000
+00100000010000000111110101111001
+00100000010000000111110110010100
+00011110000000001000110000100100
+00100000010000000111110101110101
+00100000010000000111110110010100
+00011110000000001000110000110100
+00100000010000000111110101110110
+00011001011000100010001000000000
+00011010001000100000101000000000
+00100000001000000111011111101001
+00011000000000000111001000100000
+11011000101000000000100110011110
+10011000101000001000101000000000
+00100000001000000111110111010100
+00011000000000000111001000001000
+00100000001000000111000101111100
+00011010001000100010010000000000
+00100000001000000111011100110100
+00011000000000000111001000001000
+00100000001000000111000100001101
+00100000010000000111011111001110
+00011000101000100010001000000000
+00100000001000000111011111010100
+00100000010000000111100000000001
+00101010011011111111111000000000
+00100000001000001111011111011101
+11011010010000000000011111100000
+00011010001000100010011000000000
+00011010001000001010001111100000
+00100000010000000111100000000100
+00100100011000010000000000000000
+00011010011000100010001000000000
+00100000001000000111011111100101
+00100000010000000111011111100101
+00011010001000100010011000000000
+00011010001000001010001111100000
+11011010010000000000011111100000
+00100000010000000111100000000100
+00100100011000010000000000000000
+00011010011000100010001000000000
+00100000001000000111011111100101
+00011010001000001010001111100000
+11011010010000000000011111100000
+00011010001000100000101000000000
+00100000001000000111011111111100
+00100000010000000111011111111100
+00100000001000001111011111110011
+00011000101000001010001111100000
+11011010010000000000011111100000
+00100000010000000111100000000100
+00100100011000010000000000000000
+11011010010000000000011111100000
+00011000101000001010001111100000
+00011010001000100000101000000000
+00100000001000000111011111111100
+00011000101000001010001111100000
+11011010010000000000011111100000
+00011010001000100000101000000000
+00100000010000000111011111001110
+00100000011000001000000000000000
+00011000101000001010001111100000
+11011010010000000000011111100000
+00011010001000100000101000000000
+00100000001000000111011111001110
+00011000000000000111001000001000
+00100000001000000111000100011011
+00011000000000000111001000001000
+00011010001000001010001000011100
+00100000001000000111000100101010
+00011000000000000111001000001000
+00011000000000000010011000000000
+00100000001000000111000100111000
+00011000000000000111001000001000
+00011010001000001010001000011100
+00011010010000001010010000011100
+00100000001000000111000100000010
+11101111111001000000000000000110
+00100100011110100000000000000000
+00100000001000000111000011110000
+00011010001000100110000000000000
+00011110000000100010001000000000
+11101111111000001000000000010001
+00101111111011111111111000000000
+00100000011000001000000000000000
+00100000010000000111011111111110
+11101111111000001000000000010010
+00101111111011000000000000000000
+00100000001000001111100000011011
+11011010001000000000011111100000
+00011010010000100000101000000000
+00100000010000000111011111001110
+11101111111000001000000000010010
+10011010011000001111111000000000
+11100111111000001000000000010010
+00011010010000001010010111100000
+00011010010000001010001000100000
+00011000000000000111001000001001
+00100000010000000111000100101010
+00100000001000000111100000001100
+00100000010000000001010110010111
+00100000011101011000000000000000
+00100000010000000111100000100110
+00100000010000000111100011001100
+00100000001000000111100001011011
+00100000010000000111100001111100
+00100000001000000111100010111011
+01101111111000001100011110010011
+11000001011111111000000000000000
+10011000000000000000010000000000
+00100000010000000110000100001101
+01101000010010001100011110010011
+00100000010000000110000100001001
+00100000000000000000000001100100
+01101000010010001100011110010011
+00100000010000000110000011110100
+00100000001000000111100000110000
+01000111010000100100000000110000
+01101111111000001100011110010011
+11000001011111111000000000000000
+00011111111000100000010000000000
+00100000010000000110000011111101
+00100100001000001111100001000010
+00100000010000000111100001001100
+01101111111000010100011110001111
+01111001001000000111111000001100
+01100111111000010100011110001111
+01101111111000001100011110000110
+11000001000000000000000000000000
+01110000010001111000011000000000
+01101111111000001100011110010010
+01100111111000001100011110000101
+00100000010000000111100001010011
+01110000000010010101101100101100
+00100000001000000111100011011100
+01101111111000010100011110001111
+01111001001111111111111000001100
+01100111111000010100011110001111
+01101111111000001100011110000110
+11000001000000001000000000000000
+01110000010001111000011000000001
+01110000010001111000010100000000
+00100000010000000111100001010101
+01110000000010010101101100101101
+00100000001000000111100011011100
+01101111111000001100011110000101
+00100000011110100000000000000000
+00011111111000001111111111111111
+01100111111000001100011110000101
+00100100011110100000000000000000
+01110000000010010101101100010000
+00100000001000000111100011011100
+11011000111000000000000000000111
+00100000001000000001010101100110
+11011000111000000000000000000111
+00100000001000000001010101101010
+01101111111000010100010010001111
+00011010001011111010010000001011
+10011010010000001010010000000000
+00100000011000000000000000000000
+01101111111000001100010010001110
+00100000011110100000000000000000
+00011111111000100111001000000000
+01101111111000010100010010001111
+00011111111000100010010000000000
+00011010010000001010011000000010
+11101000010000001000000000010011
+00100000010000000110000100001101
+00100000010000000111100010000101
+00011010010000001010010000001011
+11000010000000000111100001100000
+00100000011000000000000000000000
+00100000010000000111100001010111
+01011000000000000000000000000010
+11100111111000001000000000010010
+00100000010000000111100010110101
+00100000001000000111100010001010
+00100000010000000111100001010111
+01011000000000000000000000000011
+11100111111000001000000000010010
+00100000010000000111100010110101
+00100000001000000111100010000101
+00100000010000000111100001010111
+01011000000000000000000000000001
+11100111111000001000000000010010
+01011000000000000000000011111111
+11100111111000001000000000000101
+00100000001000000111100010000101
+00100000010000000111100001010111
+11011111001000000000000000001011
+00011010011000100000110000000000
+00011010010000100000101000000000
+00100000001000000111110111000111
+01101111111000001100010010001110
+00100000011110100000000000000000
+11011010001000000000000000000000
+00100000010000000111100010001111
+00011010001000001010001000000001
+01101111111000001100010010001110
+10011010001001100111110000000000
+00100000011000101000000000000000
+00100000001000000111100001111111
+00011010010000001010011000000010
+11101000010000001000000000010011
+01101111111000001100000010011010
+11000000000001000100100110000000
+00100000001000000110000100001001
+00011010010000001010011000000010
+11101000010000001000000000010011
+01101111111000001100000010011010
+11000000000001000100100110001100
+00100000001000000110000100001101
+00011010001000001000111000001011
+00100000010000000111110111101001
+00100100011110100000000000000000
+00100000010000000111100001010111
+11101111111000001000000000010010
+11000000000000010111100010001010
+11000000000000011111100010000101
+11000000000000000111100010000101
+11000000000000101111100010100011
+00100000010000000111100010001010
+00011010010000001010011000000111
+00100000010000000111110100111011
+11101111111000010000000000010011
+00100000010000000111111001111010
+00100000010000000111110101000111
+01011000000000000000000000000101
+11100111111000001000000000010010
+00011010010000001010011000000011
+11101111111000010000000000010011
+00100000001000000111100010110011
+00100000010000000111100010000101
+00011010010000001010011000001001
+00100000010000000111110100111011
+11101111111000010000000000010011
+00100000010000000111111001111010
+00100000010000000111110101000111
+00011010010000001010011000000001
+11101111111000001000000000010011
+11000000011111111111100010101111
+00011111111000001111111111111111
+11100111111000001000000000010011
+00100000001110100111100001101100
+01011000000000000000000000000100
+11100111111000001000000000010010
+00011010010000001010011000000101
+11101111111000010000000000010011
+00011010001000001000111000001011
+00100000001000000111110111011011
+01011000000000000000000000000000
+00100000001000000111100010110011
+01011000000000000001000000000000
+00011111111100000111111000000000
+10011010010000001010010000000000
+00100000011000000000000000000000
+01000111010000101100000000110000
+11011010001000000000000000000000
+01101000010010100100011110000111
+00011100010000100010010000000000
+00011010010000100111111000000000
+10011000010001100111110000000000
+00100100010000010111100010110111
+00011010010000100111111000000000
+00011000010000001000010010100000
+00011000010000001000010010100000
+10011000010001100111110000000000
+00100100001000010111100011001111
+00011010001000001010001000000001
+00011010001000010111111000001111
+00100100001110100111100011000010
+11011010001000000000000000000000
+00100000010000000111100011010101
+00011100010000100111111000000000
+01100111111000100100011110000111
+00100000011000000000000000000000
+00011010001000100111111000000000
+00100000011110100000000000000000
+00011000010000001000010101100000
+00011000010000001000010101100000
+01111001001111111000010000011100
+01100000010010100100011110000111
+00100000001000000011000111101110
+01110000010001110111001100000001
+01101111111000001100011101110100
+00100100001110100111100011010111
+00100000011000000000000000000000
+01110000010001110111001100000000
+00100000011000000000000000000000
+01000111010000110100000000110000
+00100000010000000111100011010110
+00011010001000100111111000000000
+01100111111000100000100101010011
+11011010001000000100011101110101
+00100000010000000111111010010110
+01101111111000100000100101010011
+00011111111000100010001000000000
+00100000001000000111100011011010
+01000111010000111100000000110000
+00100000010000000111100011010110
+00011010001000100111111000000000
+01100111111000100000100101010011
+11011010001000000100011101111101
+00100000010000000111111010010110
+01101111111000100000100101010011
+00011111111000100010001000000000
+00100000001000000111100011011010
+01011000000000000000000000000000
+01100111111001000100011101111101
+01100111111001000100011101110101
+00100000011000000000000000000000
+01000111010001000100000000110001
+01101111111000001100000111011011
+00100100011110100000000000000000
+11011010001000000100011101111101
+00100000010000000111111010101110
+00100000011110100000000000000000
+01110000000010010101001000000000
+00100000010000000111100011111101
+01101111111000001000100101010010
+00100000001110100111100011110010
+00100000011000000000000000000000
+00100000010000000111100011010110
+11011010001000000100011101111101
+00100000010000000111111010100010
+00011111111000100000010000000000
+00100000010000000111100011011010
+01000111010001001100000000110001
+00011000010000100111111000000000
+00100000011110100000000000000000
+11000000000000001111100100101111
+11000000000000010111100100110100
+11000000000000011111100100111010
+11000000000001101111100101011001
+11000000000001110111100101011111
+11000000000001111111100101100100
+11000000000010000111100101101010
+11000000000010011111100101110100
+11000000000010100111100101110110
+11000000000010101111100101111000
+11000000000010110111100110000010
+11000000000010111111100110000101
+11000000000011000111100110000111
+11000000000011001111100110001010
+11000000000011110111100110011100
+01100111111000001000100101011011
+00100000010000000101101000111111
+00100100001110100111100100101101
+01101111111000001000100101011011
+11000101100001001111100100101000
+01000111010001010100000000110001
+01101111111000001000100101011011
+11000000000000100111100100111100
+11000000000000101111100100111111
+11000000000000110111100101001010
+11000000000001010111100101001100
+11000000000010001111100101101111
+11000000000011011111100110010010
+11000000000010010111100101110011
+11000000000011101111100110010011
+11000000000011111110000011001001
+11000000000100000110000011001011
+11000000000100001111100110011110
+11000000000100101101111111111011
+00100000011000000000000000000000
+01100111111000001000100101011011
+00100000010000000000101001011111
+00100000001000101111100100101101
+00100000010000000000101001100111
+00100100011000101000000000000000
+01110000000010010101001000000001
+00100000001000000111100011100101
+01101111111000010100011110001111
+01111001001000000111111000000110
+01100111111000010100011110001111
+01110000010000001001101100000011
+00100000011000000000000000000000
+01110000010001111000110100000000
+01110000010000001001101100000000
+01101111111000010100011110001111
+01111001001111111111111000000110
+01100111111000010100011110001111
+00100000011000000000000000000000
+01110000010000011101101100000101
+00100000011000000000000000000000
+01110000000000000111110000000111
+01110000000000111001111000010011
+00100000011000000000000000000000
+01110000000000000111110000010111
+11011000101000000000001110101100
+01011000000000000000000000000000
+00101101000011111111111000011011
+01111001001000001111111000000001
+11100111111000001000000000000101
+01011000000000000000000000000000
+11100111111000010000000000000101
+01101111111000110100010001010101
+11100111111000110000000000000101
+00100000011000000000000000000000
+01110000000000000111110000011000
+00100000011000000000000000000000
+01110000000000111010100000000010
+01101111111000001000000001001011
+11000010100000010111100101010010
+00100000010000000101101001110010
+01110000000000000111110000001000
+00100000011000000000000000000000
+01111001001111111111111000000010
+01100111111000001000000001001011
+00100000010000000101011101010000
+01011000000000000000000000000000
+01111001001101001111111000000001
+01100111111000001000000001111111
+00100000011000000000000000000000
+01110000010001000010011100000001
+01110000010001000010101000000000
+01101111111000010100011110001111
+01111001001000000111111000001011
+01100111111000010100011110001111
+00100000011000000000000000000000
+01101111111000010100011110001111
+01111001001111111111111000001011
+01100111111000010100011110001111
+01110000010001000010011100000000
+00100000011000000000000000000000
+01110000010001000010011100000001
+01110000010001000010101000000001
+01101111111000010100011110001111
+01111001001000000111111000001011
+01100111111000010100011110001111
+00100000011000000000000000000000
+01101111111000010100011110001111
+01111001001111111111111000001011
+01100111111000010100011110001111
+01110000010001000010011100000000
+00100000011000000000000000000000
+01011000000000000000000000010100
+01100111111000010000001010110101
+01100111111000010100001110010100
+00100000001000000010000100110100
+00100000001000000001111100000100
+11011010001000000000000000000000
+00100000001000000111100001101100
+11011010001000000000000000000000
+00100000001000000111100001100111
+11011010001000000000000000000000
+00100000010000000111100001010111
+11101111111000001000000000010010
+11000000000000001111100101111111
+11000000000000100111100101111111
+11000000000000101111100101111111
+00100000001000000111100001110001
+11101111111000001000000000000110
+11000001011111111000000000000000
+00100000001000000111100001110001
+01110000010000111110001000000001
+01110000010000011101101100011011
+00100000011000000000000000000000
+01110000010000111110001000000001
+00100000011000000000000000000000
+01110000010000111110001000000000
+01110000010000011101101100000000
+00100000011000000000000000000000
+01101111111000010100010001011101
+00100000010000000111111001111010
+01101111111000001100011110010011
+11000000011111111111100110010000
+00011111111000100000010000000000
+00100000010000000110000011110100
+00100000010000000111100011101110
+00100000001000000001010001011001
+00100000001000000001111101000110
+01110000000000000111110000110100
+01111001001000000000000000000011
+00100100011101001000000000000000
+01110000010001100100010100000000
+01110000000000000111110000010011
+01101111111000001000000010111100
+01111001001111111111111000000010
+01100111111000001000000010111100
+00100000011000000000000000000000
+00011000000000000000111000000011
+00100000001000000111110111011010
+00100000010000000101101001111011
+01110000000000000111110101000001
+00100000001000000101011011101100
+01101111111000001100011110001111
+11000100000001100000000000000000
+11000100000000111000000000000000
+00100000001000000111100110011100
+01101111111000010100010010001100
+00011111111000001000101000000010
+01011000000000000000000000000000
+11100111111000011000000000000101
+00100000011000000000000000000000
+00100000010000000111111011000111
+00100000010000000111100111110100
+00100000011110100000000000000000
+01101111111000010100010010001100
+00011111111000001010010000000010
+11101000010000001000000000010010
+00011000010000001000010000000001
+11100000010000001000000000010010
+11101000010000001000000000111111
+00011000010000100111001000000000
+00011111111000001010010000000100
+11101111111000001000000000010010
+10011000010011111111111000000000
+10011000110000001000101000000000
+00011010001000100000110000000000
+00100000010000000111110111010100
+00100000010000000111100111111000
+00011111111000001111111111111111
+11101000010000001000000000010010
+00011000010000001000010000000001
+10011000010000010000010000000000
+11100000010000001000000000010010
+00100000001000000111111011000101
+00100000010000000111111011000111
+00100000010000000111100111110000
+00100000011110100000000000000000
+01101111111000010100010010001100
+00011111111000001010010000000010
+11101000010000001000000000010010
+00011000010000001000010111111111
+11100000010000001000000000010010
+11101000010000001000000000111111
+00011000010000100111001000000000
+00011111111000001010010000000011
+11101111111000001000000000010010
+10011000010011111111111000000000
+10011000110000001000110000000000
+00011000110000001000110000000001
+00011010001000100000101000000000
+00100000001000000111100110111001
+00100000010000000111111011000111
+00100000010000000111100111110000
+00100000011110100000000000000000
+01101111111000010100010010001100
+11101000010000001000000000111111
+00011000010000100111001000000000
+00011111111000001010010000000011
+11101111111000001000000000010010
+10011000010011111111111000000000
+10011000110000001000110000000000
+00011000110000001000110000000001
+00011000110000100010010000000000
+00011010001000100000101000000000
+00100000010000000111110111010100
+00100000001000000111111011000101
+00100000010000000111111011000111
+00100000010000000111100111110000
+00100000011110100000000000000000
+01101111111000010100010010001100
+11101000010000001000000000111111
+00011000010000100111001000000000
+00011111111000001010010000000011
+11101111111000001000000000010010
+10011000010011111111111000000000
+10011000110000001000110000000000
+00011000110000001000101000000010
+00011010001000100000110000000000
+00011111001000001111001111111111
+00100000010000000111110111010100
+00100000001000000111111011000101
+01101111111000010100010010001100
+00011111111000001000110000000010
+11101111111000001000000000000110
+00100000011000000000000000000000
+00100000010000000111100111111000
+11101000010000001000000000000110
+10011000010001100111111000000000
+00100000011000000000000000000000
+01101111111000010100010010001100
+00011111111000001000110000000001
+11101111111000001000000000000110
+00100000011000000000000000000000
+01000111010001011100000000110001
+01101111111100001000110000100011
+00101111111011111111111000000011
+00100000010000001111101000001000
+01101111111100001000110000100011
+01100111111100001000110000100011
+01100111111000001000100111110110
+00100000010000000111101001101000
+00100000010000000111101010010000
+00100000010000000111110010000001
+00100000010000000111110011001001
+00100000001000000111101001100000
+01000111010001100100000000110001
+00100000010000000110111001011110
+00100000010000000111101000100111
+01110000100011000000000000000000
+00100000000000000010011100010000
+01110000100011000001100011000000
+01101111111100010000000001010000
+01111001001111111111111000001010
+01100111111100010000000001010000
+01110000100011000001000100000000
+01110000100011000000000000111100
+01011000000000000000101001001111
+01100111111100010000110000000011
+01100111111100010000110000000111
+01011000000000000000101010001111
+01100111111100010000110000000101
+01110000100011000001000100000100
+01110000100011000000001000000000
+01110000100011000010001111111111
+01011000000000000000110001001011
+11011000101000000000101101011001
+10011000101001100111001000000000
+00100000001000000111110110011011
+01101000010010001000101101011000
+00100000001000000110000011110100
+01101111111000001000101111111010
+00100000011110100000000000000000
+01101000010010001000101101011000
+00100000010000000110000011111101
+00100000001000001111101000001000
+00100000011000000000000000000000
+01110000000010110101011100000010
+01011000000000000000000000000000
+01100111111000001000101010010010
+01100111111000010000101101010001
+00011111111000001111111000000001
+01100111111000010000101101010011
+00011111111000001111111000000001
+01100111111000010000101101010101
+11011000101000000000101011100110
+01011000000000110000010000000100
+11100111111000011000000000000101
+01011000000000000000010000001001
+11100111111000010000000000000101
+11011000101000000000101011101011
+00111000000000010101100100000110
+00111000000001100001000011010010
+00111000000010010000010010010100
+00111000000011000000000000000001
+11100111111001001000000000000101
+11011000101000000000101100001001
+00111000000000010101011100001111
+00111000000001010101110010011010
+00111000000010100101011011000110
+00111000000011011100110111001101
+11100111111001001000000000000101
+00111000000000010100010000100000
+00111000000001100101110110011001
+00111000000010100101011000110110
+00111000000011000000000000000001
+11100111111000111000000000000101
+11011000101000000000101100100111
+00111000000000010110001000001010
+00111000000001000000110010001100
+00111000000010110000001100110011
+00111000000011001100000011000000
+11100111111001001000000000000101
+00111000000000000011000100110000
+11100111111000010000000000000101
+01011000000000001001100110100100
+01100111111000010000101010010011
+01011000000000001001100111111111
+01100111111000010000101010010101
+11011000110000001001101010100011
+11011000101000000000101010010111
+11011111001000000000000000010011
+00100000010000000111110111010100
+11011000110000001001101010110110
+11011000101000000000101010101010
+11011111001000000000000000111100
+00100000010000000111110111010100
+01101111111000010000101101000101
+00100000001000000111111001111010
+01101111111000001000101101000111
+00100000011110100000000000000000
+01100111111000001000101011001100
+01100111111000001000101011100101
+00100000011000000000000000000000
+11011000111000000000000000000000
+00100000010000000111110111101001
+00100100011110100000000000000000
+01101111111000001000101111111011
+00100100011110100000000000000000
+01101111111000001000101111111010
+00100100010110100111110100011111
+00100000011000000000000000000000
+01101111111000001000100111110110
+11000010100000010111101001101011
+00100000011000000000000000000000
+00100000010000000111101001110000
+00100000010000000111110111101000
+01011000000000000000001010000000
+11011000111000000000000000000000
+00100000001000000111110111011011
+01101111111000001000101111101100
+11000000100000010111101001110101
+01110000000010111111101100000000
+01110000000010111111110000000000
+00100000011000000000000000000000
+01101111111000001000101111111110
+00100000011110100000000000000000
+01110000000010111111111000000000
+01110000000010111110110000000010
+01110000000010111111101000000001
+00100000011000000000000000000000
+01101111111000001000100111110110
+11000010100000000111101010011101
+00100000011000000000000000000000
+01101111111100001000110000100100
+11000011100000110000000000000000
+01101001010100010000110000000011
+01101010000100010000110000000101
+01101000011100010000110000000111
+11101111111000010000000000000011
+00011111111011001000010000000000
+00011000010100011000010000000000
+11011000110000000000111111111111
+10011000110000010111001000000000
+00011111001000100010001000000000
+11101111111000001000000000000011
+11100111111000001000000000000101
+11000010000000000111101010001001
+01100000011100010000110000000111
+01100010001000010000100111111000
+00100000011000000000000000000000
+00100000011000000000000000000000
+01000111010001101100000000110001
+01101111111000001000100111110110
+11000100000000101000000000000000
+11011000101000000000101101011001
+00100000010000000111101001111110
+00011000010000100111111000000000
+11000000000000000111101010011000
+00100000001000000111101010001111
+01101111111000001000100111111000
+11000000000000000111101001111011
+11000000000000001111101010100100
+00011111111001100111110000000111
+00100000011000010000000000000000
+01000111010001110100000000110001
+01111001001111111000000000100011
+01101111111000001000101101011001
+00011111111000010111111010000000
+11000000010000000111101010101000
+11000000000000000111101010110000
+00100000001000000001001101111100
+01101111111000001000101101011001
+11000011100000111000000000000000
+00100000010000000111110001010110
+00100000001000000111101011010110
+01101111111000001000101101011001
+00011111111100011111111000000000
+00011111111000110111111000000000
+00011111111000010111111000000011
+11000000000000000111101010111000
+11000000000000001111101010111110
+11000000000000010111101011000011
+00100000001000000001001101111100
+01101111111000001000101101011001
+00011111111100011111111000000000
+00011111111000110111111000000000
+00011111111000010111111000000011
+11000000000000000111101011000100
+11000000000000001111101011001100
+11000000000000010111101011010001
+00100000001000000001001101111100
+01101111111000001000101101011010
+11000000000001000111101011011000
+11000000000000110111101011101110
+11000000000001010111101100110011
+11000000000000000111101101000101
+00100000001000000111101011010010
+01101111111000001000101101011010
+11000000000000010111101101111010
+11000000000000001111101101111110
+11000000000000011111101110001111
+00100000001000000111101011010010
+00100000001000000111101011010010
+01101111111000001000101101011010
+11000000000000001111101110011001
+11000000000000011111101111001000
+11000000000000101111101111110011
+11000000000001001111110000001100
+11000000000001011111110000100111
+11000000000000111111101011010010
+00100000001000000111101011010010
+01101111111000001000101101011010
+11000000000001010111110000111000
+11000000000001001111110001001010
+11000000000001011111110001101000
+00100000001000000111101011010010
+00100000001000000111101011010010
+01101111111100001000110000011001
+01111001001000000111111000000000
+01100111111100001000110000011001
+00100000001000000111101011010110
+01110000100011000001100000010000
+00100000011000000000000000000000
+01101111111000001000101101011001
+11000000110000000111101011010010
+01101111111000001000101101011101
+11000000100000000111101011010010
+01101111111000001000101101011110
+11000000100000000111101011010010
+01101111111000001000101101011111
+11000000100000001111101011010010
+01101111111000001000101101100000
+11000000100000000111101011010010
+01101111111000001000101101011011
+11000000100000000111101011010010
+01101111111000001000101101011100
+11000000100000000111101011010010
+01101111111000001000101101010111
+11000000000000100111101011101010
+11000000000000011111101011101100
+00100000001000000111101011010010
+11011010010000000000000000000001
+00100000001000000111101101011111
+11011010010000000000000000000001
+00100000001000000111101101011101
+01000111010001111100000000110001
+01101111111000001000101101011100
+11000000000000001111101100000001
+11000000000000010111101100011010
+11000000000000011111101100011101
+11000000000100001111101011110110
+11000000000100010111101100101011
+00100000001000000111101011010010
+01110000000010111110100100000000
+01101111111000001000101101011101
+11000000000000000111101011111011
+11000000000000001111101011111110
+00100000001000000111101011010010
+01101010010000001000101010111101
+11011010001000000000101010111101
+00100000001000000111110001110111
+01101010010000001000101011010110
+11011010001000000000101011010110
+00100000001000000111110001110111
+01101111111000001000101111111101
+00100100010110100111101100010010
+01011000000000000000101010010111
+01101000010010001000101010010111
+01100111111000010000101111110100
+01100000010010001000101111110110
+01101111111000001000101101011111
+10011000010001100111110000000000
+00100100001000010111101100010000
+01101111111000001000101111110110
+10011000000000000010010000000000
+01101111111000010000101111110100
+00011111111000001111111000000001
+10011000000000000010001000000000
+00100000001000000111110001110111
+01101111111000001000101101011111
+00100000001000000111101100001011
+01101111111100001000110000000010
+00100100010110100111101100010110
+01110000000010111111110100000000
+00100000011000000000000000000000
+01101111111100001000110000000010
+01111001001000000111111000000111
+01100111111100001000110000000010
+00100000011000000000000000000000
+01011000000000000000101010101010
+01101000010010001000101010101010
+00100000001000000111101100000101
+01101111111000001000101101011011
+00011111111001100111110000000011
+00100100001000010111101011010010
+01101111111000001000101101011011
+11011010001000000000101011100110
+11000000000000000111110001110101
+01111001001000000000000000100011
+11011010001000000000101011101011
+11000000000000001111110001110101
+11011010001000000000101100001001
+11000000000000010111110001110101
+11011010001000000000101100100111
+11000000000000011111110001110101
+00100000011000000000000000000000
+01101111111000010000101101011101
+11000000000000001111101100101111
+01101010001000010000101010010011
+00100000001000000111110001110101
+01110000000010111111101000000001
+01110000000010111110110000000001
+01101010001000010000101010010101
+00100000001000000111110001110101
+01101111111000001000101101010111
+11000000100000100111101011010010
+01101111111000001000101101011001
+11000000110000001111101011010010
+01101111111000001000101101011011
+11000000100000000111101011010010
+01101111111000001000101101011100
+11000000100000000111101011010010
+01101111111000001000101101011111
+11000000100000001111101011010010
+01101111111000001000101101100000
+11000000100000000111101011010010
+01101111111000001000101101011101
+11000000100000000111101011010010
+01101111111000001000101101011110
+11000000100000000111101011010010
+11011010010000000000000000000001
+00100000001000000111101101011101
+01101111111000001000101101010111
+11000000000000010111101011010010
+01101111111000001000101101011011
+11000000100000000111101011010010
+01101111111000001000101101011100
+11000000100000000111101011010010
+01101111111000001000101101011111
+11000000100000010111101011010010
+01101111111000001000101101100000
+11000000100000000111101011010010
+01101111111000001000101101011110
+11000000100000000111101011010010
+01101111111000001000101101011001
+11000000010000000111101101011000
+11000000010000001111101101100011
+11000000010000010111101101100111
+00100000001000000111101011010010
+01110000000010111110111100000001
+00100000001000000111101101100001
+01101111111000001000101101011101
+11000000100000000111101011010010
+11011010010000000000000000000010
+01101111111000001000101111101101
+11000000000000001111101101010110
+11011010001000000000101101010001
+00100000001000000111110001110111
+11011010001000000000101101010011
+00100000001000000111110001110111
+11011010001000000000101101010101
+00100000001000000111110001110111
+01101111111000001000101101010111
+11000000100000100111101011010010
+11011010010000000000000000000010
+00100000001000000111101101011101
+01101111111000001000101101010111
+11000000100000100111101011010010
+01101111111000001000101101011101
+11000000010000001111101101110100
+11000000010000010111101101110110
+11000000010000011111101101111000
+00011111111000010111111001111111
+11000000000000000111101101110000
+00100000001000000111101011010010
+01101111111000001000101111110000
+11011010010000000000000000000010
+11000000000000001111101101011111
+00100000001000000111101101011101
+01101111111000001000101111110001
+00100000001000000111101101110001
+01101111111000001000101111110010
+00100000001000000111101101110001
+01101111111000001000101111110011
+00100000001000000111101101110001
+01110000000010111110011100000001
+11011010001000000000101111101000
+11011010010000000000000000000001
+00100000001000000111110001110111
+01101111111000010000101101011011
+11011000010000000000000110111010
+10011000010001100111110000000000
+00100100001000101111101011010010
+01101111111000001000101111100100
+00100100001110100111101110001100
+01110000000010111010000100000000
+01101111111000001000101101011111
+10011000000000000010010000000000
+11011010001000000000101110100001
+00100000010000000111110001110111
+11011000101000000000101110100001
+11011111001000000000000000001000
+00100000001000000111110110001100
+01110000000010111110010000000000
+01110000000010111010000100000001
+00100000001000000111101110000101
+01101111111000001000101101011111
+11000000100000001111101011010010
+01110000000010111110100100000001
+11011010010000000000000000000001
+01101111111000001000101111101011
+11000000000000000111101110010111
+11000000000000001111101110011000
+00100000001000000111101101011101
+00100000001000000111101101011111
+00100000001000000111101101011101
+01101111111000001000101101010111
+11000000100000100111101011010010
+01101111111000001000101101011111
+11000000100000000111101011010010
+01101111111000001000101101100000
+11000000100000000111101011010010
+01101111111000001000101101011100
+11000000100000000111101011010010
+01101111111000001000101101011110
+11000000100000000111101011010010
+01101111111000001000101101011001
+11000000000000000111101110101000
+11000000000000001111101110110101
+11000000000000010111101110110110
+00100000001000000111101011010010
+01101111111000001000101101011011
+11000000100000001111101011010010
+01101111111100001000110000000000
+01111001001111111111111000000111
+01100111111100001000110000000000
+01110000000010111110110100000000
+01110000000010111110111000000001
+01101111111000001000101111101111
+00100000001110100111101011010110
+01110000000010111110111100000000
+01110000000010111110111000000000
+01110000000010111110110000000010
+00100000001000000111101011010110
+00100000001000000111101011010010
+01101111111000001000101101011011
+11000000100000000111101011010010
+01101111111000001000101101011101
+11000000010000001111101111000001
+11000000010000010111101111000100
+11000000010000011111101111000110
+00011111111000010111111001111111
+11000000000000000111101110111111
+00100000001000000111101011010010
+01110000000010111111000000000000
+00100000001000000111101011010110
+01110000000010111111000100000000
+01110000000010111111111000000001
+00100000001000000111101011010110
+01110000000010111111001000000000
+00100000001000000111101111000010
+01110000000010111111001100000000
+00100000001000000111101111000010
+01101111111000001000101101011111
+11000000100000000111101011010010
+01101111111000001000101101100000
+11000000100000000111101011010010
+01101111111000001000101101011001
+11000000000000000111101111010001
+11000000000000001111101111011111
+11000000000000010111101111100000
+00100000001000000111101011010010
+01101111111000001000101101011011
+11000000100000001111101011010010
+00100000010000000011011101111001
+01101111111100001000110000000000
+01111001001000000111111000000111
+01100111111100001000110000000000
+01110000000010111110110100000001
+01110000000010111110110000000011
+01110000000010111110010100000000
+00100000010000000111101011010110
+00100000010000000111110111101000
+01011000000000000001001110001000
+11011000111000000000000000001111
+00100000001000000111110111011011
+00100000001000000111101011010010
+01101111111000001000101101011011
+11000000100000000111101011010010
+01101111111000001000101101011100
+11000000100000000111101011010010
+01101111111000001000101101011101
+11000000010000001111101111101101
+11000000010000010111101111101111
+11000000010000011111101111110001
+00011111111000010111111001111111
+11000000000000000111101111101011
+00100000001000000111101011010010
+01110000000010111111000000000001
+00100000001000000111101011010110
+01110000000010111111000100000001
+00100000001000000111101011010110
+01110000000010111111001000000001
+00100000001000000111101011010110
+01110000000010111111001100000001
+00100000001000000111101011010110
+01101111111000001000101101011001
+11000000100000000111101011010010
+01101111111000001000101101011101
+11000000100000000111101011010010
+01101111111000001000101101011110
+11000000100000000111101011010010
+01101111111000001000101101011111
+11000000100000000111101011010010
+01101111111000001000101101100000
+11000000100000000111101011010010
+01101111111000001000101101011100
+11000000100000000111101011010010
+01101111111000001000101101011011
+00011111111000010111111010000000
+11000000100000000111101011010010
+01101111111000001000101101011011
+11000000100000000111110000001010
+01110000000010110101011100000010
+01101111111000001000101101011011
+01100111111100001000110000000010
+00100000010000000111101011010110
+01110000000010111111110100000001
+00100000011000000000000000000000
+01110000000010110101011100000011
+00100000001000000111110000000101
+01101111111000001000101101010111
+11000000000000010111101011010010
+01101111111000001000101101011001
+11000000100000000111101011010010
+01101111111000001000101101011101
+11000000100000000111101011010010
+01101111111000001000101101011110
+11000000100000000111101011010010
+01101111111000001000101101011111
+11000000100000000111101011010010
+01101111111000001000101101100000
+11000000100000000111101011010010
+01101111111000001000101101011100
+11000000100000000111101011010010
+01101111111000001000101101011011
+00011111111001100111110000000001
+00100100001000010111101011010010
+01101111111000001000101101010111
+11000000000000011111110000100001
+11000000000000100111110000100001
+00100000001000000111101011010010
+01101111111000001000101101011011
+11000000000000000111110000100101
+01110000000010110101011100000100
+00100000001000000111101011010110
+01110000000010110101011100000011
+00100000001000000111101011010110
+01101111111000001000101101010111
+11000000100000100111101011010010
+01101111111000001000101101011001
+11000000100000001111101011010010
+01101111111000001000101101011011
+11000000100000000111101011010010
+01101111111000001000101101011100
+11000000100000000111101011010010
+01101111111000001000101101011111
+11000000100000000111101011010010
+01101111111000001000101101100000
+11000000100000000111101011010010
+01101111111000001000101101011101
+11000000100000000111101011010010
+01101111111000001000101101011110
+11000000100000000111101011010010
+00100000001000000111101011010110
+01000111010010000100000000110010
+01110000000010111110011100000001
+01101111111000001000101101011100
+01100111111000001000101111101000
+01101111111000001000101101011101
+00011111111001100111110000000001
+00100000010000101111110001000110
+01101111111000001000101111101100
+11000000100000100111101011010110
+01110000000010111110110000000010
+00100000010000000111101011010110
+00100000000000000111010100110000
+00100000000000000111010100110000
+00100000011000000000000000000000
+01110000000010111111101000000001
+01110000000010111110111000000000
+01110000000010111110110000000100
+00100000011000000000000000000000
+11011000101000000000101101100001
+00100000010000000111101001111110
+01110000000010111110001100000001
+00100000010000000111110001011010
+01101111111000010000101101011011
+01100111111000010000101111100001
+00100000010000000111101011010110
+01101111111000001100000010011010
+11000001100000100000000000000000
+01101111111000001000101111100101
+00100000011110100000000000000000
+01101111111000001000101101100001
+01100111111000001100100011001110
+01110000000010111110010100000000
+01110000010010001011111000000011
+00100000011000000000000000000000
+01101111111000010000101101011011
+11011000010000000000001000000000
+10011000010001100111110000000000
+00100100011000101000000000000000
+01101111111000010000101101011101
+11011000010000000000000000000000
+10011000010001100111110000000000
+00100100011000101000000000000000
+01101111111000010000101101011111
+11011000010000000000000000000001
+10011000010001100111110000000000
+00100100011000101000000000000000
+01110000000010111110010100000001
+00100000011000000000000000000000
+01101111111000001000101101011111
+11000000100000000111101011010010
+01101111111000001000101101011011
+11000000000000000111110001101110
+11000000000000001111110001110001
+00100000001000000111101011010010
+01110000000010111110101000000000
+01110000000010111110101100000001
+00100000001000000111101011010110
+01110000000010111110011000000001
+01110000000010111110101000000001
+01110000000010111110101100000000
+00100000001000000111101011010110
+11101010010000001000000000010001
+00011010001000001010001000000001
+01000111010010001100000000110010
+01111001001000000000000000001110
+11000101100100011111110001111100
+00011010010000001010010000000001
+00011010010000111010010000000000
+01100010001000010000101010010000
+01100010010000001000101010010010
+00100000001000000111110010000001
+11011000111000000000000000000000
+00100000001000000111110011000001
+01000111010010010100000000110010
+01101111111100001000110000100100
+11000011100000000000000000000000
+01101111111000001000101010010010
+00100000011110100000000000000000
+00011111111000100111001000000000
+10011000000000000000010000000000
+01101111111000010000101101011111
+00011111111001100111110001000000
+00100000001000010111110010001111
+00011111001001100111110001000000
+00100000001000010111110010010011
+00011000000000000111001001000000
+00100000001000000111110010010011
+10011111001001100111110000000000
+00100000001000010111110010010011
+10011000000000000111001000000000
+01100111111000001000101010010010
+01101111111000001000101010010010
+10011111001001100111111000000000
+01100111111000001000101010010010
+00011111001000001111111111111111
+01100111111000001000100111111010
+11000101100100011111110010100101
+00011111111000110111111000000000
+00011111001000001111111111111111
+01100111111000001000100111111010
+11000101100001110111110010100101
+01111001001111111000000000001110
+11100000010000001000000000000101
+01011000000000000000000000000011
+11100111111000001000000000000101
+00011111001000001111001111111111
+00011111001000100111111000000000
+00100100001000101111110010100101
+00011111001000001111001000000001
+01101111111000010000101010010000
+00011111111000100000110000000000
+11101111111000001000000000000110
+11100111111000001000000000000101
+11000101100100011111110010101100
+01011000000000000000000000000000
+11100111111000001000000000000101
+11000010000000000111110010100111
+00011000110000100111111000000000
+01100111111000010000101010010000
+01011000000000000000100111111010
+01100111111100010000110000001001
+11011000111000000000000000000000
+00100000010000000111110011000001
+01101111111000001000101010010010
+00100100011110100000000000000000
+01101111111000001000101111101100
+11000001100000001000000000000000
+01110000000010111110110000000010
+00100000011000000000000000000000
+11011000111000000000000000000001
+11011010001000000000101000111011
+01100010001100010000110000001011
+00011111001000001111111111111111
+11100111111000001000000000010001
+11101111111000001000000000000110
+11100111111000001000000000000101
+11000010000000000111110010111110
+01011000000000000000000000000000
+11111001001000000111111000000000
+01100111111100001000110000011000
+00100000011000000000000000000000
+11011000111000000000000000000010
+11011010001000000000101001000101
+01100010001100010000110000001101
+00100000001000000111110010111100
+01000111010010011100000000110010
+01101111111000001000101111111001
+00100000011110100000000000000000
+01101111111000001000101111111010
+00100000001110100111110011101101
+01101111111000001000101111101100
+11000000000000011111110100100111
+11000000100000010111110011101101
+01101111111000001000101111101110
+00100100001110100111110011101101
+00100000010000000111110011010101
+00100000001000000111110011100000
+01101111111100001000110000100100
+11000011100000001000000000000000
+01101111111000001000101111111001
+11000100000000001000000000000000
+01101111111000001000101111111001
+01111001001111111111111000000001
+01100111111000001000101111111001
+01101111111000001000101111110111
+00100000011110100000000000000000
+11000000000010000111110100001111
+00100000001000000001001101111100
+01101111111100001000110000100100
+11000011100000010000000000000000
+01101111111000001000101111111001
+11000100000000010000000000000000
+01101111111000001000101111111001
+01111001001111111111111000000010
+01100111111000001000101111111001
+01101111111000001000101111111000
+00100000011110100000000000000000
+11000000000100000111110011110000
+11000000000100001111110100001011
+11000000000100010111110100010011
+00100000001000000001001101111100
+11011000101000000000101111111111
+11011111001000000000000000001000
+00100000001000000111110110001100
+01101111111000001000101111100111
+01101000010010001000101111101001
+10011000010000010111111000000000
+00100000001110100111110100000111
+01101000010010001000101111101010
+10011000010000001111111000000000
+11000000000000001111110011111000
+00100000001000000111110100000111
+01110000000010111111100000000000
+01101111111000001000110000000000
+11000000000000010111110100001000
+11000000000000011111110100001000
+01101111111000001000110000000000
+01100111111000001000101111111111
+01101111111000001000110000000001
+11100111111000001000000000000101
+01101111111000001000110000000011
+11100111111000001000000000000101
+01101111111000001000110000000101
+11100111111000001000000000000101
+11011111001000000000000000000100
+11011000110000000000101111111111
+00100000001000000111110011000101
+01110000000010111111100000000000
+11011111001000000000000000001000
+11011000110000000000101111111111
+00100000001000000111110011000101
+01110000000010111111100000000000
+11011111001000000000000000000011
+11011000110000000000110000011111
+00100000001000000111110011000101
+01110000000010111111011100000000
+11011111001000000000000000001000
+11011000110000000000110000001111
+00100000001000000111110010111001
+01110000000010111111100000000000
+11011111001000000000000000000010
+11011000110000000000110000101111
+00100000001000000111110011000101
+01101111111000001000101111101100
+11000000000000010111110100011010
+00100000011000000000000000000000
+01101111111100001000110000000000
+01111001001000000111111000000111
+01100111111100001000110000000000
+01110000000010111111110000000001
+00100000011000000000000000000000
+01101111111000001000101111101100
+11000001000000011000000000000000
+11000000000000010111110100100011
+00100000011000000000000000000000
+01101111111000001000101111111100
+00100000011110100000000000000000
+01110000000010111111101100000001
+00100000001000000111110100101010
+11011000111000000000000000001111
+00100000010000000111110111101001
+00100100011110100000000000000000
+01101111111100001000110000000000
+11000100000000111000000000000000
+01110000100011000000000011111100
+00100000000000000111010100110000
+01110000100011000000000000111100
+00100000011000000000000000000000
+00011111001001100111110000000000
+00100000011000101000000000000000
+00011111111000110111111000000000
+11000010000000000111110100110010
+00100000011000000000000000000000
+00011000000000000111111000000001
+00011111001001100111110000000000
+00100000011000101000000000000000
+00011111111000111111111000000000
+11000010000000000111110100111000
+00100000011000000000000000000000
+01100000101000010000100101111101
+01100000010011000000100101100100
+01100001011000100000100101101100
+00100000010000000111110101000011
+01100000110000010000100101111011
+01100111001000010000100110000111
+01100000111000010000100110000101
+00100000011000000000000000000000
+01100010001000100000100101110000
+01100010010000100000100101110100
+01100010011000011000100101111000
+00100000011000000000000000000000
+01101111111000010000100101111101
+10011000000000000000101000000000
+01101000010011000000100101100100
+01101001011000100000100101101100
+00100000010000000111110101010001
+01101111001000010000100110000111
+01101000111000010000100110000101
+01101111111000010000100101111011
+10011000000000000000110000000000
+00100000011000000000000000000000
+01101010001000100000100101110000
+01101010010000100000100101110100
+01101010011000011000100101111000
+00100000011000000000000000000000
+01101111111000010000100101111101
+00011111111000100000101000000000
+00100000011000000000000000000000
+01101111111000010000100101111011
+00011111111000100000110000000000
+00100000011000000000000000000000
+00011000101000100111111000000000
+01100111111000010000100101111101
+00100000011000000000000000000000
+00011000110000100111111000000000
+01100111111000010000100101111011
+00100000011000000000000000000000
+00011000101000100111111000000000
+01100111111000010000100101011001
+00011000110000100111111000000000
+01100111111000010000100101010111
+00100000011000000000000000000000
+01101111111000010000100101011001
+00011111111000100000101000000000
+01101111111000010000100101010111
+00011111111000100000110000000000
+00100000011000000000000000000000
+10011000010001100010001000000000
+00100000011000010000000000000000
+11011010001000000000000100000000
+10011010001000001111111000000000
+10011000010001100010001000000000
+00100000011000000000000000000000
+00100000010000000111110101111101
+00100000010000000111110101111101
+00100000001000000111110101111101
+00100000010000000111110101111001
+00100000010000000111110101111001
+11101111111000100000000000000110
+11100111111000100000000000000101
+00100000011000000000000000000000
+11101111111001000000000000000110
+11100111111001000000000000000101
+00100000011000000000000000000000
+00100000010000000111110101111111
+00100000010000000111110101111001
+00100000010000000111110101111001
+00100000010000000111110101111001
+00100000001000000111110101111001
+00011111111000001111111111111111
+00100000000000000000000000100110
+00100100001110100111110110000001
+00100000011000000000000000000000
+11011111001000000000000000001010
+00100000000000000010111011100000
+11000010000000000111110110000110
+00100000011000000000000000000000
+11011111001000000000000000110010
+00100000001000000111110110000110
+00011000000000000111001000000011
+00011000000000000111111000000000
+11100111111001000000000000000101
+11000010000000000111110110001101
+00100000011000000000000000000000
+00100000010000000111110110010001
+00011000000000000111111000000000
+11100111111001000000000000000101
+00100000011000000000000000000000
+00011000000000000111111000000000
+11100111111000100000000000000101
+00100000011000000000000000000000
+00011000000000000111001000000100
+00100000001000000111110110001100
+00011000000000000111001000001000
+00100000001000000111110110001100
+00011111001000100111111000000000
+00100000011110100000000000000000
+01011000000000000000000000000000
+11100111111000001000000000000101
+11000010000000000111110110011110
+00100000011000000000000000000000
+11011111001000000000000000100000
+11011000101000000000100110001110
+00100000001000000111110110011011
+11101111111000100000000000010011
+11101000010000100000000000010001
+10011000010000101111111000000000
+11100111111000100000000000000101
+00011010001000001010001000000100
+00011010011000001010011000000100
+11000010000000000111110110100100
+00100000011000000000000000000000
+01000111010010100100000000110010
+00011111001000100111111000000000
+00011111111001100111110000000001
+00100000011000010000000000000000
+10011010001000001010010000000000
+00011010010000001010010111111111
+00011111001000110111001000000000
+11101000010000001000000000010001
+11101111111000001000000000010010
+11100111111000001000000000010001
+11100000010000001000000000010010
+00011010010000001010010111111111
+00011010001000001010001000000001
+11000010000000000111110110110011
+00100000011000000000000000000000
+00011111111011110000010000000000
+00100000010000000111110111000001
+00011000010100001000010000000000
+00011111111100000111111000000000
+10011000010000011111111000000000
+00100000011000000000000000000000
+00011111111100010000110000000000
+00011000110100001000110000000000
+00011111111100001111111000000000
+00011111111100000111111000000000
+10011000110000011111111000000000
+00100000011000000000000000000000
+00011111001000100111111000000000
+00100000011110100000000000000000
+00011111001000001111001111111000
+00100000010000010111110101111001
+00100000011000101000000000000000
+00100000001000010111110111001001
+00011111001000001111001000001000
+00011111001000001111001111111100
+00100000010000010111110101110110
+00100000011000101000000000000000
+00100000001000010111110111001110
+00011111001000001111001000000100
+00100000001000000111110111010100
+00011111001000100111111000000000
+00100000011110100000000000000000
+11101111111000001000000000000110
+11100111111000001000000000000101
+11000010000000000111110111010110
+00100000011000000000000000000000
+01011000000000000000000000000000
+00011100010000110000010000000000
+01100000010010100100000010011100
+11011000101000000100000110101010
+10011000000000000000010000000000
+00011000111000111111111000000000
+10011000101000001000101000000000
+11100000010000010000000000000101
+01000111010010101100000000110010
+00100000011000000000000000000000
+11011001011000000000100000000000
+00011001011100000001011000000000
+10011001011000001111111000000000
+00100000011000000000000000000000
+11011000111000000000000000000000
+01000111010010110100000000110010
+01101000010010100100000010011100
+00011100010000110111111000000000
+01100111111000100100000010011100
+10011000010001100111110000000000
+00100100010000010111110111100100
+10011000010001100001011000000000
+00011001011000100000010000000000
+11011000110000000100000110101010
+00011000110000100000101000000000
+11011111001000000000000000010000
+11101111111000010000000000000110
+10011000010001100111111000000000
+00100000001000010111110111111000
+00011000000000000111111000000000
+11100111111000010000000000000101
+11000010000000000111110111110100
+11011000110000000100000110101010
+00011000111000111111111000000000
+10011000110000001000110000000000
+11101111111000010000000000000110
+00100000011000000000000000000000
+10011000010000001000010000000000
+00011000010000100111001000000000
+01101111111000010000000101100011
+10011111001001100111111000000000
+00100000011000010000000000000000
+00011111111001100111111000000000
+00011000010100010000010000000000
+00011000010000001000010000000001
+00011000010100000000010000000000
+10011000010000011000010000000000
+00100000011000000000000000000000
+00100000010000000111111000001100
+00100000001000000111111000011001
+01111000010101000111110000000000
+10011000010001100111111000000000
+00100000001000010111111000010001
+01111000001101000111110000000000
+00011111111001100111111000000000
+11000100000001111000000000000000
+00011111111000100010100000000000
+11011000010000010000000000000000
+01101111111000010000000101100011
+10011000010001100111111000000000
+10011010100000001111111000000000
+01111001001111111111111001000000
+00100000011000000000000000000000
+01101000010010010000000101100011
+10011000000000000000110000000000
+00011111111100010111111000000000
+10011000010011111111111000000000
+10011000110000001111111000000000
+00100000011000000000000000000000
+00011111111011010111111000000000
+00011111111100100111111000000000
+01101000010010011100000101110100
+10011000010001101111110000000000
+00100000010000000111111001100100
+00011000000001111000010000000000
+00100000011000000000000000000000
+01101000010010010000000101100011
+10011000010001101111110000000000
+00100000010000000111111001100001
+00011111111100000111111000000000
+00011000000001110000010000000000
+10011000010000011000010000000000
+00100000011000000000000000000000
+11011000010000000000000000000000
+00011000010000100010100000000000
+11101111111000001000000000000011
+00100000010000000111111000111001
+00011010100000100000010000000000
+00100000010000000111111001110011
+11011010010000000000000000001010
+10011010010011111111111000000000
+10011000010000001111111000000000
+00011111111000100000010000000000
+11000010000000000111111000101110
+00100000011000000000000000000000
+11011000010000000000000000111010
+10011000010001100111110000000000
+00100100001000010111111001000010
+11011000010000000000000001100001
+10011000010001100111110000000000
+00100000001000010111111001000101
+11011000010000000000000000110111
+10011000010001100111111000000000
+00100000011000000000000000000000
+11011000010000000000000000110000
+10011000010001100111111000000000
+00100000011000000000000000000000
+11011000010000000000000001010111
+10011000010001100111111000000000
+00100000011000000000000000000000
+00011000010000100110000000000000
+01011000000000000000000111111111
+00011000000000000010010000000000
+00011111111010010010001000000000
+00011010001000110010001000000000
+10011010001000101010001000000000
+00101010001011111111111000000000
+01111001001000001111111000001001
+00011000010000110000010000000000
+00101111111011111111111000000000
+01111001001000001000010000000111
+00011111111000110111111000000000
+00011010010000001010010000000001
+00101010010000000000111000000000
+00100100001000001111111001001011
+11100000010000001000000000000101
+11000010000000000111111001001011
+00011110000000100000010000000000
+00100000011000000000000000000000
+01011000000000000000000000000000
+00011111001000100010001000000000
+11101000010000010000000000000110
+10011000010000001111111000000000
+11000010000000000111111001011101
+10011010001001101111110000000000
+00100000010000000111111001100100
+00011000000001111111111000000000
+00100000011000000000000000000000
+00100000011110101000000000000000
+00100000001000000111111001100100
+11101111111000001000000000010001
+11101000010000001000000000010010
+10011000010001100111110000000000
+00100100011000101000000000000000
+00011010001000001010001000000001
+00011010010000001010010000000001
+11000010000000000111111001100110
+00011000000000000111110000000000
+00100000011000000000000000000000
+10011000010001100111110000000000
+00100100011000010000000000000000
+00011000010000100111111000000000
+00100000011000000000000000000000
+10011000010000001111111000000000
+10011000010001100000010000000000
+10011000010001100111111000000000
+00100000011000000000000000000000
+11011111001000000000001000000000
+11011000101000000100000000000000
+00100000001000000111110110001100
+00100000011110100000000000000000
+00011111111000100111101000000000
+01101111111100010000000100001110
+00100100001110100111111001111100
+00100000011000000000000000000000
+01110000100000100000001100000001
+00100000011000000000000000000000
+01100111111100010000001000000101
+01101111111100001000001000000011
+01111001001000000111111000000100
+01100111111100001000001000000011
+00100000011000000000000000000000
+01100111111100010000001000000111
+01101111111100001000001000000011
+01111001001000000111111000000110
+01100111111100001000001000000011
+00100000011000000000000000000000
+01100111111100010000001000000101
+01110000100000100000001100110000
+00100000011000000000000000000000
+01101111111100001000000001000011
+01111001001111111111111000000100
+01100111111100001000000001000011
+00100000011000000000000000000000
+01101111111100010000000100001110
+11011000010000000000001000000000
+10011000010001100111110000000000
+00100000011000000000000000000000
+01000111010010111100000000110010
+11101000010001000000000000010001
+00011000010000010111111011111111
+00100100001110100111111010011100
+00011000010011001111111000000000
+11100111111001000000000000010001
+00011010001000001010001000000111
+11101111111000001000000000010001
+00100100001110100001001101111100
+01101111111000001000100101011011
+11100111111000001000000000010001
+00100000011000000000000000000000
+01000111010011000100000000110011
+11011111001000000000000000001000
+11101111111001000000000000010001
+00100000011110100000000000000000
+11101111111000001000000000010001
+00100100001110100111111010101011
+00011010001000001010001000000001
+11000010000000000111111010100110
+00100000001000000001001101111100
+11011000010000000000000000000000
+11100000010000001000000000010001
+00100000011000000000000000000000
+11101111111001000000000000010001
+00100000011000000000000000000000
+11101111111000001000000000010001
+00100000011000000000000000000000
+11101111111000010000000000010001
+00100000011000000000000000000000
+11011000010000000000000000000000
+01101111111000001000000000000110
+11000010000000000111111010110101
+00011000010000001000010000000001
+11000010000000000111111010110101
+00011000010000100111111000000000
+00100000011000000000000000000000
+10011000010001100111110000000000
+00100100011000010000000000000000
+00011000010000100111111000000000
+00100000011000000000000000000000
+00011000000000000111110111111111
+00100000011000000000000000000000
+00011000000000000111110000000001
+00100000011000000000000000000000
+00011000000000000111110000000000
+00100000011000000000000000000000
+01111000001101000111110000000000
+00100000011000000000000000000000
+01111000010101000111110000000000
+00100000011000000000000000000000
+01111000001101100111110000000000
+00100000011000000000000000000000
+01111000010101100111110000000000
+00100000011000000000000000000000
+01111000001110001111110000000000
+00100000011000000000000000000000
+01011000000000000000000000000001
+00100000011000000000000000000000
+01011000000000000000000000000000
+00100000011000000000000000000000
+00011111001001100111110000000000
+00100000011000101000000000000000
+11101000010000001000000000000110
+10011000010000001111111000000000
+11000010000000000111111011010101
+00100000011000000000000000000000
+00011111001000100111111000000000
+00100000011110100000000000000000
+00011000110000100111111000000000
+10011111001000001111111000000000
+00011111111000001111111111111111
+00011111111000100000110000000000
+11101111111000001000000000000110
+00011000110000001000110111111110
+11100111111000001000000000000101
+11000010000000000111111011011111
+00100000011000000000000000000000
+00011001011000100010010000000000
+11011010011000001001010000100000
+00011000000000000111001000100100
+00011000000000000101011000000000
+00011000000000000110111000000000
+00100000010000000111111011111001
+01010010001000000111111000000000
+10011101011000001101011000000000
+01010000010000000111111000000000
+10011110111000001110111000000000
+00011010010000001010010000000100
+00011010011000001010011000000010
+11000010000000000111111011101001
+01010101011000000111111000000000
+11011000010000000000000000100100
+00100000010000000111111101000101
+11100111111000100000000000000101
+01010110111000000111111000000000
+00100000010000000111111101000101
+11100111111000100000000000000101
+00100000011000000000000000000000
+11101101110000010000000000010010
+11101011100000001000000000010011
+00100000010000000111111100101010
+10011000010010000010001000000000
+11101011100000001000000000000110
+00100000001101000111111100000000
+00011011100001100011100000000000
+00011010010000001000110000000010
+11101101110000010000000000000110
+00100000010000000111111100101010
+10011000010010000011000000000000
+01010010001000000111111000000000
+10011011000001100010001000000000
+11101101110000010000000000010010
+01010101110000000111111000000000
+10011000010010000011000000000000
+11101101110000010000000000000110
+11101011100000001000000000010011
+00100000010000000111111100101010
+10011000010010000000010000000000
+01010011000000000111111000000000
+10011000010000001000010000000000
+00100000011000000000000000000000
+11101111111000100000000000010010
+11101010001000100000000000010011
+10011010001010000101011000000000
+11101010001000100000000000000110
+01010010001000000110111000000000
+00011010010000001000110000000100
+11101111111000100000000000000110
+10011010001010000000010000000000
+01010101011000000111111000000000
+10011000010001100101011000000000
+11101111111000100000000000010010
+10011110111010000110111000000000
+11101111111000100000000000000110
+11101010001000100000000000010011
+10011010001010000111111000000000
+10011110111000001110111000000000
+00100000011000000000000000000000
+00011111111100000111111000000000
+00011111111010110111111000000000
+00100000011000000000000000000000
+00011111111011010111111000000000
+00100000001000000111111100100010
+10011111111011111111111000000000
+00011111111100011111111000000000
+00011111111010010111111000000000
+00100000011000000000000000000000
+01010101110000000111111000000000
+01010011100000000000010000000000
+00100000011000000000000000000000
+11000100000011111000000000000000
+00011000000000000000010000000000
+01111001001000000000010000100000
+00011000010000001000010111111111
+10011000010000101111111000000000
+00011111111000001111111000000001
+00100000011000000000000000000000
+10011000000000000010001000000000
+11011011000000000000000000000000
+01111001001000000011000000011110
+11011010010000000000000000000000
+11011111001000000000000000010000
+00011011000000100111111000000000
+10011010010000001111111000000000
+00011010010000110010010000000000
+10011010001001100111111000000000
+00100000001000101111111100111111
+00100000001000010111111101000010
+00011111111001100010001000000000
+00011011000000100111111000000000
+10011010010000011010010000000000
+00011011000010110011000000000000
+11000010000000000111111100111001
+00100000011000000000000000000000
+01111001001111111000000000101100
+11000011000111111111111101001001
+01111001001000000000000000101100
+00011111111001100111111000000000
+00101000010011000000000000111111
+00100000001000001111111101001101
+01111001010000000000000000101100
+00011000010001100000010000000000
+10011000010001101111110000000000
+00100000010000000111111001100001
+11000110100101100000000000000000
+00011111111001100111111000000000
+00100000011000000000000000000000
+01011000000000000000000000000000
+01111001001000000111111000010011
+01100111111001000000000010011110
+00100000011000000000000000000000
Index: output/eeprom.dat
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/output/eeprom.dat	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/output/eeprom.dat	(working copy)
@@ -0,0 +1,324 @@
+00
+02
+aa
+55
+aa
+00
+c0
+00
+00
+04
+c0
+45
+80
+23
+c0
+73
+00
+16
+20
+20
+13
+7e
+20
+80
+00
+00
+20
+40
+00
+07
+20
+20
+08
+04
+20
+40
+31
+66
+6f
+e0
+c0
+9a
+c0
+04
+80
+0b
+20
+60
+00
+00
+58
+00
+06
+40
+67
+e1
+47
+b5
+58
+00
+06
+40
+67
+e1
+47
+b7
+20
+75
+80
+00
+58
+00
+00
+02
+67
+e1
+47
+f5
+67
+e1
+47
+fa
+58
+01
+02
+10
+67
+e1
+c3
+54
+20
+60
+00
+00
+20
+40
+4c
+25
+6f
+e0
+c7
+e1
+c0
+00
+4b
+4a
+6f
+e0
+c7
+e2
+67
+e0
+c7
+93
+58
+00
+00
+00
+20
+40
+4c
+3c
+70
+47
+86
+01
+20
+40
+78
+26
+20
+40
+78
+30
+6f
+e0
+89
+89
+c3
+01
+4c
+48
+20
+20
+4c
+39
+20
+40
+6e
+5e
+70
+47
+da
+04
+70
+47
+dc
+0b
+70
+8a
+0e
+0b
+70
+8a
+0f
+05
+70
+8a
+83
+90
+20
+20
+12
+52
+2b
+8a
+aa
+55
+40
+00
+00
+40
+01
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+08
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+40
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+aa
+55
+06
+00
+7a
+43
+17
+31
+20
+98
+07
+2a
+aa
+55
+0c
+00
+f7
+42
+0b
+41
+42
+20
+53
+68
+75
+74
+74
+65
+72
+33
+aa
+55
+05
+00
+f1
+49
+12
+07
+04
+01
+07
+aa
+55
+01
+00
+9a
+40
+09
+aa
+55
+01
+00
+7b
+41
+1f
+aa
+55
+01
+00
+7d
+41
+70
+aa
+55
+01
+00
+ea
+41
+ff
+aa
+55
+01
+00
+e8
+41
+06
+70
+19
Index: output/eeprom2hciimage_1021s.pl
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/output/eeprom2hciimage_1021s.pl	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/output/eeprom2hciimage_1021s.pl	(working copy)
@@ -0,0 +1,522 @@
+    @data = ();
+    $_DEBUG_ = 0;
+    $MAX_CODE_PACKET_LEN = 0xF0;
+    $MAX_MEM_PACKET_LEN = 0xF0;
+    $i = 0;
+    @mem_patch = ();
+    $mem_patch_len = 0;
+    
+    
+		##############################
+		####Get All Data##############
+		##############################
+    open(EEP,"eeprom.dat") or die $!;
+    while (<EEP>) {
+    	$data[$i ++] = hex();
+    	#printf "%x ",$data[$i-1]; #DEBUG;
+    }
+    close(EEP);
+   	if(int($_DEBUG_)){printf "DEBUG:debug code\n";}
+ 
+ 		##############################
+		#####Get Eeprom Type##########
+		##############################
+		$Type_Not_Encrypt_IS_8051 = 0;
+		$Type_Not_Encrypt_No_8051	= 1;
+		$Type_Encrpt_IS_8051			= 2;
+		$Type_Encrpt_No_8051			= 3;
+		$EepromType = 0;
+    $fileOffset = $data[0] + $data[1];
+		if(0xaa == $data[$fileOffset] || 0x55 == $data[$fileOffset + 1]){
+    		$blockSize = $data[$fileOffset + 2] + ($data[$fileOffset + 3] << 8) + 4 + $fileOffset;
+		   	if(int($_DEBUG_)){printf "DEBUG:Bt code lenght is %d \n", $blockSize;}
+				if(0xaa == $data[$blockSize] || 0x55 == $data[$blockSize + 1]) {
+					$blockSize = $blockSize + $data[$blockSize + 2] + ($data[$blockSize + 3] << 8) + 4;
+					if(int($_DEBUG_)){printf "DEBUG:8051 code lenght is %d \n", $blockSize;}
+					if(0xaa == $data[$blockSize] || 0x55 == $data[$blockSize + 1]) {
+						$EepromType = $Type_Not_Encrypt_IS_8051;
+					}
+					else{
+						$EepromType = $Type_Not_Encrypt_No_8051;
+					}
+				}
+				else {
+	    		die "ERROR:Block header \"aa55\" Error while Get Eeprom Type!\n";
+				}
+		}
+		else {
+			$fileOffset += 16;
+			if(0xaa == $data[$fileOffset] || 0x55 == $data[$fileOffset + 1]){
+    		$blockSize = $data[$fileOffset + 2] + ($data[$fileOffset + 3] << 8) + 4 + $fileOffset;
+		   	if(int($_DEBUG_)){printf "DEBUG:Encrpt Bt code lenght is %d \n", $blockSize;}
+				if(0xaa == $data[$blockSize] || 0x55 == $data[$blockSize + 1]) {
+					$blockSize = $blockSize + $data[$blockSize + 2] + ($data[$blockSize + 3] << 8) + 4;
+					if(int($_DEBUG_)){printf "DEBUG:Encrpt 8051 code lenght is %d \n", $blockSize;}
+					if(0xaa == $data[$blockSize] || 0x55 == $data[$blockSize + 1]) {
+						$EepromType = $Type_Encrpt_IS_8051;
+					}
+					else{
+						$EepromType = $Type_Encrpt_No_8051;
+					}
+				}
+				else {
+	    		die "ERROR:Block header \"aa55\" Error while Get Eeprom Type!\n";
+				}
+		}
+		}
+		{#type code debug
+		if(int($_DEBUG_)){printf "DEBUG:0:not encrypt have 8051 code\n";}
+		if(int($_DEBUG_)){printf "DEBUG:1:not encrypt no have 8051 code\n";}
+		if(int($_DEBUG_)){printf "DEBUG:2:encrypt have 8051 code\n";}
+		if(int($_DEBUG_)){printf "DEBUG:3:encrypt no have 8051 code\n";}
+		if(int($_DEBUG_)){printf "DEBUG:eeprom type is $EepromType\n";}
+		}
+#   	die ;
+   	if($EepromType == $Type_Not_Encrypt_IS_8051 || $EepromType == $Type_Not_Encrypt_No_8051)
+   	{
+    open(BINFILE, ">bt_patch.bin");
+    binmode(BINFILE);
+		##############################
+		####Calc Output Size##########
+		##############################
+    $fileSize = @data;
+    $blocksCount = 0;
+    $outputSize = 0;
+    $codeBlockSize = 0;
+    $fileOffset = $data[0] + $data[1];
+    while($fileOffset < ($fileSize - 1)){
+    	if(0xaa == $data[$fileOffset] || 0x55 == $data[$fileOffset + 1]){
+    		$blockSize = $data[$fileOffset + 2] + ($data[$fileOffset + 3] << 8);
+    		$outputSize += $blockSize;
+    		if(0 == $blocksCount){
+    			$codeCmdPacketCnt = int(($blockSize - 2) / $MAX_CODE_PACKET_LEN);
+					if(0 != ($blockSize - 2) % $MAX_CODE_PACKET_LEN){
+			    	$codeCmdPacketCnt ++;
+			    }
+			    $outputSize += (9 * $codeCmdPacketCnt) - 2; #2byte crc was behind code block
+    			$fileOffset += $blockSize + 4;
+    			if(int($_DEBUG_)){printf "DEBUG:blockSize:%d blocksCount: %d,fileOffset:%d,codeCmdPacketCnt:%d,outputSize:%d\n",$blockSize, $blocksCount,$fileOffset,$codeCmdPacketCnt,$outputSize;}
+    		}elsif(1 == $blocksCount && $EepromType == $Type_Not_Encrypt_IS_8051){
+    			$fileOffset += $blockSize + 4;
+    		}else{
+    			
+	  			$memPacketCnt = int($blockSize / $MAX_MEM_PACKET_LEN);
+	  			if(0 != $blockSize % $MAX_MEM_PACKET_LEN){
+	  				$memPacketCnt ++;
+	  			}
+	  			$outputSize += 8 * $memPacketCnt;
+	  			$fileOffset += $blockSize + 6;
+	  			if(int($_DEBUG_)){printf "DEBUG:blockSize:%d blocksCount: %d,fileOffset:%d,memPacketCnt:%d,outputSize:%d\n",$blockSize, $blocksCount,$fileOffset,$memPacketCnt,$outputSize;}
+    		}
+    		$blocksCount ++;
+    	}else{
+    		if($fileOffset == $fileSize - 2){
+    			$fileOffset += 2;
+    		}else{
+	    		printf "ERROR:blockSize:%d blocksCount: %d\n",$blockSize, $blocksCount;
+	    		printf "ERROR:fileOffset:%d Block data: %x %x\n",$fileOffset, $data[$fileOffset], $data[$fileOffset + 1];
+	    		die "ERROR:Block header \"aa55\" Error while Calc output size!\n";
+    		}
+    	}
+    }
+		
+    $outputSize +=  40;
+    printf BINFILE "%c", ($outputSize & 0xff);#offset low
+		printf BINFILE "%c", (($outputSize >> 8) & 0xff);#offset High
+		
+		
+		##############################
+		####Start Generate Bin########
+		##############################
+		$blocksCount = 0;
+    $fileOffset = $data[0] + $data[1];
+    while($fileOffset < ($fileSize - 1)){ #file was endof a 0xff, ignore it.
+    	if(int($_DEBUG_)){printf "DEBUG:Process a new block:%d\n", $blocksCount;}
+    	if(0 == $blocksCount){#bt code block 
+    		##############################
+    		####Process bt code block!####
+    		##############################
+    		if(0xaa != $data[$fileOffset] || 0x55 != $data[$fileOffset + 1]){
+    			printf "ERROR:fileOffset = %d\n Block data: %x %x\n",$fileOffset, $data[$fileOffset], $data[$fileOffset + 1];
+    			die "ERROR:Block header \"aa55\" Error Code 0x01!\n";
+    		}
+    		if(int($_DEBUG_)){printf "DEBUG:fileOffset:%x, data+2:%x, data+3:%x\n",$fileOffset, $data[$fileOffset + 2], $data[$fileOffset + 3];}
+    		$codeSize = $data[$fileOffset + 2] + ($data[$fileOffset + 3] << 8) - 2;
+    		$codeStart = $fileOffset + 4;#aa 55 LL LH
+    		$codeEnd = $codeStart + $codeSize;
+    		$codeoffset = $codeStart;
+    		
+    		if(int($_DEBUG_)){printf "DEBUG:Begain to Process bt code block.\n";}
+    		if(int($_DEBUG_)){printf "DEBUG:codeSize:%x, codeoffset:%x, codeEnd:%x\n",$codeSize, $codeoffset, $codeEnd;}
+    		if(int($_DEBUG_)){printf "DEBUG:codeEnd data:%x\n", $data[$codeEnd];}
+
+    		while($codeoffset < $codeEnd){
+    			
+	    		$packetLen = $MAX_CODE_PACKET_LEN;
+	    		if($codeoffset + $packetLen > $codeSize){
+	    			$packetLen = $codeEnd - $codeoffset;
+	    			if($packetLen > $MAX_CODE_PACKET_LEN){
+	    				$packetLen = $MAX_CODE_PACKET_LEN;
+	    			}
+	    		}
+	    		if(int($_DEBUG_)){printf "DEBUG:new packet codeoffset:%x, length:%x\n", $codeoffset, $packetLen;}
+	    		$packetEnd = $codeoffset + $packetLen;
+	    		printf BINFILE "%c", (($packetLen + 8) & 0xff);#whole packet len;
+					printf BINFILE "%c%c%c", 0x01, 0x03, 0xfc;
+					printf BINFILE "%c", (($packetLen + 4) & 0xff);#packet len;
+					printf BINFILE "%c", (($codeoffset - 6) & 0xff);#offset low
+					printf BINFILE "%c", ((($codeoffset - 6) >> 8) & 0xff);#offset High
+					printf BINFILE "%c", (($packetLen) & 0xff);#code len;
+					$checkSum = ($codeoffset - 6) + (($codeoffset - 6) >> 8) + ($packetLen);
+	    		while($codeoffset < $packetEnd){
+	    			if(int($_DEBUG_)){printf "%02x ", $data[$codeoffset];}#DEBUG
+	    			{printf BINFILE "%c", ($data[$codeoffset] & 0xff);}#code;
+	    			$checkSum += $data[$codeoffset];
+	    			$codeoffset ++;
+	    		}
+	    		printf BINFILE "%c", ($checkSum & 0xff);#check sum;
+	    		if(int($_DEBUG_)){printf "DEBUG: Packet End.\n"}
+    		}
+    		
+    		$fileOffset = $codeEnd + 2; #add crc16
+    		##############################
+    		####End of bt code block  ####
+    		##############################
+    		
+    	}elsif(1 == $blocksCount && $EepromType == $Type_Not_Encrypt_IS_8051){#c51 code block 
+    		##############################
+    		####Process C51 code block####
+    		##############################
+    		if(0xaa != $data[$fileOffset] || 0x55 != $data[$fileOffset + 1]){
+    			printf "ERROR:fileOffset = %d\n Block data: %x %x\n",$fileOffset, $data[$fileOffset], $data[$fileOffset + 1];
+    			die "ERROR:Block header \"aa55\" Error Code 0x02\n";
+    		}
+    		
+    		$fileOffset += 4;
+    		##############################
+    		####End of C51 code block ####
+    		##############################
+    	}else{
+    		##############################
+    		####Process a memory block####
+    		##############################
+    		if(0xaa != $data[$fileOffset] || 0x55 != $data[$fileOffset + 1]){
+    			if($fileOffset == $fileSize - 2){
+    				$fileOffset += 2;
+    			}else{
+    				printf "ERROR:fileSize = %d\n", $fileSize;
+    				printf "ERROR:fileOffset = %d\n Block data: %x %x\n",$fileOffset, $data[$fileOffset], $data[$fileOffset + 1];
+    				die "ERROR:Block header \"aa55\" Error Code 0x03\n";
+    			}
+    		}
+    		$memBlockLen = $data[$fileOffset + 2] + ($data[$fileOffset + 3] << 8);
+    		$memBlockAddr = $data[$fileOffset + 4] + ($data[$fileOffset + 5] << 8);
+  			$memBlockBreakCnt = int($memBlockLen / $MAX_MEM_PACKET_LEN);
+  			if(0 != $memBlockLen % $MAX_MEM_PACKET_LEN){
+  				$memBlockBreakCnt ++;
+  			}
+
+  			if(int($_DEBUG_)){printf "DEBUG:memBlock, memBlockLen:%d, memBlockAddr:0x%x, memBlockBreakCnt:%d\n",$memBlockLen,$memBlockAddr,$memBlockBreakCnt ;}
+  			if(0x4000 == $memBlockAddr){
+    			$mem_patch_len = $memBlockLen;
+    			if(int($_DEBUG_)){printf "DEBUG:Find mem_patch, length = %d\n",$mem_patch_len;}
+    		}
+    		
+  			$j = 0;
+  			$memOffset = 0;                     #mem data offset in binfile
+  			$currentPacketAddr = $memBlockAddr;  #addr write in packet
+  			$memBlockStart = $fileOffset + 6;   #mem data start in binfile
+  			
+  			while($j++ < $memBlockBreakCnt){
+  				#for one single packet.
+  				$currentPacketLen = $MAX_MEM_PACKET_LEN;
+  				if($memOffset + $currentPacketLen > $memBlockLen){
+    				$currentPacketLen = $memBlockLen - $memOffset;#last packet
+    			}
+    			
+    			if(int($_DEBUG_)){printf "DEBUG:memPacket, currentPacketLen:%d, currentPacketAddr:0x%x, memOffset:%d\n",$currentPacketLen,$currentPacketAddr,$memOffset ;}
+    			
+  				#packet header
+  				printf BINFILE "%c", (($currentPacketLen + 7) & 0xff);
+					printf BINFILE "%c%c%c", 0x01, 0x10, 0xfc;
+					printf BINFILE "%c", (($currentPacketLen + 3) & 0xff);
+					printf BINFILE "%c", ($currentPacketLen & 0xff);
+					printf BINFILE "%c", ($currentPacketAddr & 0xff);
+					printf BINFILE "%c", (($currentPacketAddr >> 8) & 0xff);
+					
+					#copy data
+					$i = 0;
+					while($i < $currentPacketLen){
+						printf BINFILE "%c",($data[$memBlockStart + $memOffset + $i] & 0xff);
+						if(0x4000 == $memBlockAddr){
+							$mem_patch[$i] = ($data[$memBlockStart + $memOffset + $i] & 0xff)
+						}
+						$i++;
+					}
+					
+					#endof one packet
+  				$currentPacketAddr += $i;
+  				$memOffset += $i;
+  				
+  			}
+  			#endof a mem block
+  			$fileOffset = ($memBlockStart + $memOffset);
+  			##############################
+  			####End of a memory block#####
+  			##############################
+	    		
+    	}
+    	$blocksCount ++;
+    }
+    if(int($_DEBUG_)){printf "DEBUG:fileOffset:%d, fileSize:%d", $fileOffset, $fileSize;}
+    if(int($_DEBUG_)){printf "DEBUG:End of block process.Memory block count:%d\n", ($blocksCount - 2);}
+    if(0x40 != $mem_patch_len){
+    	printf "ERROR:mem_patch_len:%d",$mem_patch_len;
+    	die "ERROR:Cannot find mem_patch block or length error.";
+    }
+    
+    printf BINFILE "%c%c%c%c%c", 0x25, 0x01, 0x04, 0xfc, 0x21;
+		$i = 0;
+		$checksum = 0;
+		while($i < 0x20){
+			printf BINFILE "%c", ($mem_patch[$i] & 0xff);
+			
+			$checksum += ($mem_patch[$i] & 0xff);
+			$i ++;
+		}
+		printf BINFILE "%c", ($checksum & 0xff);
+		
+		close(BINFILE);
+		
+		
+		}
+		else{
+    open(BINFILE, ">bt_patch.bin");
+    binmode(BINFILE);
+		##############################
+		####Calc Output Size##########
+		##############################
+    $fileSize = @data;
+    $blocksCount = 0;
+    $outputSize = 0;
+    $codeBlockSize = 0;
+    $fileOffset = $data[0] + $data[1] + 16;
+    while($fileOffset < ($fileSize - 1)){
+    	if(0xaa == $data[$fileOffset] || 0x55 == $data[$fileOffset + 1]){
+    		$blockSize = $data[$fileOffset + 2] + ($data[$fileOffset + 3] << 8);#no crc
+    		$outputSize += $blockSize + 2;
+    		if(0 == $blocksCount){
+    			$codeCmdPacketCnt = int(($blockSize) / $MAX_CODE_PACKET_LEN);
+					if(0 != ($blockSize) % $MAX_CODE_PACKET_LEN){
+			    	$codeCmdPacketCnt ++;
+			    }
+			    $outputSize += (9 * $codeCmdPacketCnt); #2byte crc was behind code block
+    			$fileOffset += $blockSize + 4;
+    			if(int($_DEBUG_)){printf "DEBUG:blockSize:%d blocksCount: %d,fileOffset:%d,codeCmdPacketCnt:%d,outputSize:%d\n",$blockSize, $blocksCount,$fileOffset,$codeCmdPacketCnt,$outputSize;}
+    		}elsif(1 == $blocksCount && $EepromType == $Type_Encrpt_IS_8051){
+    			$fileOffset += $blockSize + 4;
+    		}else{
+    			
+	  			$memPacketCnt = int($blockSize / $MAX_MEM_PACKET_LEN);
+	  			if(0 != $blockSize % $MAX_MEM_PACKET_LEN){
+	  				$memPacketCnt ++;
+	  			}
+	  			$outputSize += 8 * $memPacketCnt;
+	  			$fileOffset += $blockSize + 6;
+	  			if(int($_DEBUG_)){printf "DEBUG:blockSize:%d blocksCount: %d,fileOffset:%d,memPacketCnt:%d,outputSize:%d\n",$blockSize, $blocksCount,$fileOffset,$memPacketCnt,$outputSize;}
+    		}
+    		$blocksCount ++;
+    	}else{
+    		if($fileOffset == $fileSize - 2){
+    			$fileOffset += 2;
+    		}else{
+	    		printf "ERROR:blockSize:%d blocksCount: %d\n",$blockSize, $blocksCount;
+	    		printf "ERROR:fileOffset:%d Block data: %x %x\n",$fileOffset, $data[$fileOffset], $data[$fileOffset + 1];
+	    		die "ERROR:Block header \"aa55\" Error while Calc output size!\n";
+    		}
+    	}
+    }
+		
+    $outputSize +=  40 + 0x16 - 5;
+    printf BINFILE "%c", ($outputSize & 0xff);#offset low
+		printf BINFILE "%c", (($outputSize >> 8) & 0xff);#offset High
+		
+    printf BINFILE "%c%c%c%c%c", 0x15, 0x01, 0x12, 0xfc, 0x11;
+		$i = 0;
+		$checksum = 0;
+		$fileOffset = $data[0] + $data[1];
+		while($i < 0x10){
+			printf BINFILE "%c", ($data[$i + $fileOffset] & 0xff);
+			
+			$checksum += ($data[$i + $fileOffset] & 0xff);
+			$i ++;
+		}
+		printf BINFILE "%c", ($checksum & 0xff);
+		
+		
+		##############################
+		####Start Generate Bin########
+		##############################
+		$blocksCount = 0;
+    $fileOffset = $data[0] + $data[1] + 16;
+    while($fileOffset < ($fileSize - 1)){ #file was endof a 0xff, ignore it.
+    	if(int($_DEBUG_)){printf "DEBUG:Process a new block:%d\n", $blocksCount;}
+    	if(0 == $blocksCount){#bt code block 
+    		##############################
+    		####Process bt code block!####
+    		##############################
+    		if(0xaa != $data[$fileOffset] || 0x55 != $data[$fileOffset + 1]){
+    			printf "ERROR:fileOffset = %d\n Block data: %x %x\n",$fileOffset, $data[$fileOffset], $data[$fileOffset + 1];
+    			die "ERROR:Block header \"aa55\" Error Code 0x01!\n";
+    		}
+    		if(int($_DEBUG_)){printf "DEBUG:fileOffset:%x, data+2:%x, data+3:%x\n",$fileOffset, $data[$fileOffset + 2], $data[$fileOffset + 3];}
+    		$codeSize = $data[$fileOffset + 2] + ($data[$fileOffset + 3] << 8);#no crc
+    		$codeStart = $fileOffset + 4;#aa 55 LL LH
+    		$codeEnd = $codeStart + $codeSize;
+    		$codeoffset = $codeStart;
+    		
+    		if(int($_DEBUG_)){printf "DEBUG:Begain to Process bt code block.\n";}
+    		if(int($_DEBUG_)){printf "DEBUG:codeSize:%x, codeoffset:%x, codeEnd:%x\n",$codeSize, $codeoffset, $codeEnd;}
+    		if(int($_DEBUG_)){printf "DEBUG:codeEnd data:%x\n", $data[$codeEnd];}
+
+    		while($codeoffset < $codeEnd){
+    			
+	    		$packetLen = $MAX_CODE_PACKET_LEN;
+	    		if($codeoffset + $packetLen > $codeSize){
+	    			$packetLen = $codeEnd - $codeoffset;
+	    			if($packetLen > $MAX_CODE_PACKET_LEN){
+	    				$packetLen = $MAX_CODE_PACKET_LEN;
+	    			}
+	    		}
+	    		if(int($_DEBUG_)){printf "DEBUG:new packet codeoffset:%x, length:%x\n", $codeoffset, $packetLen;}
+	    		$packetEnd = $codeoffset + $packetLen;
+	    		printf BINFILE "%c", (($packetLen + 8) & 0xff);#whole packet len;
+					printf BINFILE "%c%c%c", 0x01, 0x13, 0xfc;
+					printf BINFILE "%c", (($packetLen + 4) & 0xff);#packet len;
+					printf BINFILE "%c", (($codeoffset - 6 - 16) & 0xff);#offset low
+					printf BINFILE "%c", ((($codeoffset - 6 - 16) >> 8) & 0xff);#offset High
+					printf BINFILE "%c", (($packetLen) & 0xff);#code len;
+					$checkSum = ($codeoffset - 6 - 16) + (($codeoffset - 6 - 16) >> 8) + ($packetLen);
+	    		while($codeoffset < $packetEnd){
+	    			if(int($_DEBUG_)){printf "%02x ", $data[$codeoffset];}#DEBUG
+	    			{printf BINFILE "%c", ($data[$codeoffset] & 0xff);}#code;
+	    			$checkSum += $data[$codeoffset];
+	    			$codeoffset ++;
+	    		}
+	    		printf BINFILE "%c", ($checkSum & 0xff);#check sum;
+	    		if(int($_DEBUG_)){printf "DEBUG: Packet End.\n"}
+    		}
+    		
+    		$fileOffset = $codeEnd; #no crc16
+    		##############################
+    		####End of bt code block  ####
+    		##############################
+    		
+    	}elsif(1 == $blocksCount && $EepromType == $Type_Encrpt_IS_8051){#c51 code block 
+    		##############################
+    		####Process C51 code block####
+    		##############################
+    		if(0xaa != $data[$fileOffset] || 0x55 != $data[$fileOffset + 1]){
+    			printf "ERROR:fileOffset = %d\n Block data: %x %x\n",$fileOffset, $data[$fileOffset], $data[$fileOffset + 1];
+    			die "ERROR:Block header \"aa55\" Error Code 0x02\n";
+    		}
+    		
+    		$fileOffset += 4;
+    		##############################
+    		####End of C51 code block ####
+    		##############################
+    	}else{
+    		##############################
+    		####Process a memory block####
+    		##############################
+    		if(0xaa != $data[$fileOffset] || 0x55 != $data[$fileOffset + 1]){
+    			if($fileOffset == $fileSize - 2){
+    				$fileOffset += 2;
+    			}else{
+    				printf "ERROR:fileSize = %d\n", $fileSize;
+    				printf "ERROR:fileOffset = %d\n Block data: %x %x\n",$fileOffset, $data[$fileOffset], $data[$fileOffset + 1];
+    				die "ERROR:Block header \"aa55\" Error Code 0x03\n";
+    			}
+    		}
+    		$memBlockLen = $data[$fileOffset + 2] + ($data[$fileOffset + 3] << 8);
+    		$memBlockAddr = $data[$fileOffset + 4] + ($data[$fileOffset + 5] << 8);
+  			$memBlockBreakCnt = int($memBlockLen / $MAX_MEM_PACKET_LEN);
+  			if(0 != $memBlockLen % $MAX_MEM_PACKET_LEN){
+  				$memBlockBreakCnt ++;
+  			}
+
+  			if(int($_DEBUG_)){printf "DEBUG:memBlock, memBlockLen:%d, memBlockAddr:0x%x, memBlockBreakCnt:%d\n",$memBlockLen,$memBlockAddr,$memBlockBreakCnt ;}
+  			if(0x4000 == $memBlockAddr){
+    			$mem_patch_len = $memBlockLen;
+    			if(int($_DEBUG_)){printf "DEBUG:Find mem_patch, length = %d\n",$mem_patch_len;}
+    		}
+    		
+  			$j = 0;
+  			$memOffset = 0;                     #mem data offset in binfile
+  			$currentPacketAddr = $memBlockAddr;  #addr write in packet
+  			$memBlockStart = $fileOffset + 6;   #mem data start in binfile
+  			
+  			while($j++ < $memBlockBreakCnt){
+  				#for one single packet.
+  				$currentPacketLen = $MAX_MEM_PACKET_LEN;
+  				if($memOffset + $currentPacketLen > $memBlockLen){
+    				$currentPacketLen = $memBlockLen - $memOffset;#last packet
+    			}
+    			
+    			if(int($_DEBUG_)){printf "DEBUG:memPacket, currentPacketLen:%d, currentPacketAddr:0x%x, memOffset:%d\n",$currentPacketLen,$currentPacketAddr,$memOffset ;}
+    			
+  				#packet header
+  				printf BINFILE "%c", (($currentPacketLen + 7) & 0xff);
+					printf BINFILE "%c%c%c", 0x01, 0x10, 0xfc;
+					printf BINFILE "%c", (($currentPacketLen + 3) & 0xff);
+					printf BINFILE "%c", ($currentPacketLen & 0xff);
+					printf BINFILE "%c", ($currentPacketAddr & 0xff);
+					printf BINFILE "%c", (($currentPacketAddr >> 8) & 0xff);
+					
+					#copy data
+					$i = 0;
+					while($i < $currentPacketLen){
+						printf BINFILE "%c",($data[$memBlockStart + $memOffset + $i] & 0xff);
+						if(0x4000 == $memBlockAddr){
+							$mem_patch[$i] = ($data[$memBlockStart + $memOffset + $i] & 0xff)
+						}
+						$i++;
+					}
+					
+					#endof one packet
+  				$currentPacketAddr += $i;
+  				$memOffset += $i;
+  				
+  			}
+  			#endof a mem block
+  			$fileOffset = ($memBlockStart + $memOffset);
+  			##############################
+  			####End of a memory block#####
+  			##############################
+	    		
+    	}
+    	$blocksCount ++;
+    }
+    if(int($_DEBUG_)){printf "DEBUG:fileOffset:%d, fileSize:%d", $fileOffset, $fileSize;}
+    if(int($_DEBUG_)){printf "DEBUG:End of block process.Memory block count:%d\n", ($blocksCount - 2);}
+    if(0x40 != $mem_patch_len){
+    	printf "ERROR:mem_patch_len:%d",$mem_patch_len;
+    	die "ERROR:Cannot find mem_patch block or length error.";
+    }
+    printf BINFILE "%c%c%c%c%c", 0x25, 0x01, 0x04, 0xfc, 0x21;
+		$i = 0;
+		$checksum = 0;
+		while($i < 0x20){
+			printf BINFILE "%c", ($mem_patch[$i] & 0xff);
+			
+			$checksum += ($mem_patch[$i] & 0xff);
+			$i ++;
+		}
+		printf BINFILE "%c", ($checksum & 0xff);
+		
+		close(BINFILE);
+		
+		}
+		
+		
+		
Index: output/efuse.dat
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/output/efuse.dat	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/output/efuse.dat	(working copy)
@@ -0,0 +1,64 @@
+96
+69
+00
+04
+00
+06
+7a
+43
+38
+31
+20
+98
+07
+2a
+05
+f1
+49
+07
+00
+08
+00
+00
+01
+e8
+41
+06
+00
+96
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+09
+1f
+00
+66
+44
+c2
+89
+d3
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
Index: output/memmap.format
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/output/memmap.format	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/output/memmap.format	(working copy)
@@ -0,0 +1,2494 @@
+0x0000 mem_le_adv_transmit
+0x0001 mem_le_adv_waitcnt
+0x0002 mem_le_adv_rcv
+0x0003 mem_le_req_rcv
+0x0004 mem_le_scanrsp_rcv
+0x0005 mem_le_conn_rcv
+0x0006 mem_inquiryscan_waitcnt
+0x0007 mem_inquiryscan_rcvcnt
+0x0008 mem_pagescan_waitcnt
+0x0009 mem_pagescan_rcvcnt
+0x000a mem_pagescan_rcvfhscnt
+0x000b mem_slave_rcvcnt
+0x000c mem_page_transmit
+0x000d mem_page_rcv
+0x000e mem_page_rcv_fhs
+0x000f mem_master_rcvcnt
+0x0010 mem_fhs_wait_counter
+0x0011 mem_newconnto_counter
+0x0012 mem_inquiry_transmit
+0x0013 mem_inquiry_rcv
+0x0014 mem_fw_ver
+0x0015 mem_current_context
+0x0016 mem_le_ch_mapped
+0x0017 mem_last_freq
+0x0018 mem_rssi
+0x0019 mem_rx_type
+0x001a mem_rx_hec_err
+0x001c mem_rx_crc_err
+0x001e mem_context_ptr
+0x0020 mem_display
+0x0028 mem_bcd
+0x0030 mem_state
+0x0031 mem_mode
+0x0032 mem_tsniff
+0x0034 mem_sniff_anchor
+0x0038 mem_clk_offset
+0x003e mem_rx_window
+0x0040 mem_plap
+0x0043 mem_puap
+0x0044 mem_pnap
+0x0046 mem_conn_handle
+0x0047 mem_arq
+0x0048 mem_lmp_to_send
+0x0049 mem_lmi_opcode
+0x004a mem_lmo_reason
+0x004b mem_op
+0x004c mem_state_map
+0x004d mem_supervision_timer
+0x0051 mem_supervision_to
+0x0053 mem_name_offset
+0x0054 mem_key_size
+0x0055 mem_conn_sm
+0x0056 mem_aco
+0x0062 mem_kc
+0x0072 mem_conn_timer
+0x0073 mem_sniff_attempt
+0x0074 mem_sniff_timeout
+0x0075 mem_dsniff
+0x0077 mem_amaddr
+0x0078 mem_lmo_opcode1
+0x0079 mem_lmi_opcode1
+0x007a mem_lmo_reason1
+0x007b mem_lmo_tid1
+0x007c mem_lmo_opcode2
+0x007d mem_lmi_opcode2
+0x007e mem_lmo_reason2
+0x007f mem_lmo_tid2
+0x0080 mem_bt_context_reserve
+0x0088 mem_current_sniff_attempt
+0x0089 mem_current_sniff_timeout
+0x008a mem_nfreq_index_inq
+0x008b mem_nfreq_index_page
+0x008c mem_ninqy_index
+0x008d mem_fhs_misc
+0x008e mem_subsniff_instant
+0x0092 mem_subsniff_rate
+0x0093 mem_subsniff_tcmax
+0x0095 mem_subsniff_tsniff
+0x0096 mem_lpm_adjust
+0x0097 mem_sync_clke
+0x009d mem_lpm_current_mult
+0x009e mem_gpio_wakeup_low
+0x00a2 mem_gpio_wakeup_high
+0x00a6 mem_npage_index
+0x00a7 mem_page_mode
+0x00a8 mem_page_clk
+0x00ac mem_temp_am_addr
+0x00ad mem_temp_arq
+0x00ae mem_len
+0x00b0 mem_clkn_bt
+0x00b4 mem_clke_bt
+0x00b8 mem_dpll_clkn
+0x00bc mem_connection_options
+0x00bd mem_nameres_cnt
+0x00be mem_txptr
+0x00c0 mem_slot_offset
+0x00c2 extm_fhs_misc
+0x00c3 extm_newconn_am_addr
+0x00c4 extm_class
+0x00c7 extm_lap
+0x00ca extm_uap
+0x00cb extm_nap
+0x00ce mem_rxbuf
+0x00e3 mem_debug_config
+0x00e4 mem_lch_code
+0x00e5 mem_fhs_am_addr
+0x00e6 mem_select_list_item
+0x00e7 mem_temp_reconn_record
+0x00e7 mem_record_bt_mode
+0x00e8 mem_temp_lap
+0x00ee mem_list_item_ptr
+0x00f0 mem_eir
+0x0154 mem_rssi_hex
+0x0155 mem_param_tx_setup
+0x0157 mem_param_rf_setup
+0x0159 mem_param_conn_access
+0x015b mem_param_clke_cal
+0x015d mem_param_pll_setup
+0x015f mem_param_rx_setup
+0x0161 mem_param_dpll_start_delay
+0x0163 mem_param_rt_rthalfslot
+0x0165 mem_param_clke_cal_le_1m
+0x0167 mem_param_clke_cal_le_2m
+0x0169 mem_param_clke_cal_le_coded
+0x016b mem_le_rxbuf
+0x026f mem_le_mic
+0x0273 mem_le_peer_mic
+0x0277 mem_le_mrand
+0x0287 mem_le_state
+0x0288 mem_le_mode
+0x0289 mem_le_tsniff
+0x028b mem_le_anchor
+0x028f mem_le_clk_offset
+0x0295 mem_le_receive_window
+0x0297 mem_le_plap
+0x029d mem_le_conn_handle
+0x029e mem_le_arq
+0x029f mem_le_ch
+0x02a0 mem_le_hop
+0x02a1 mem_le_event_count
+0x02a3 mem_le_supervision_timer
+0x02a7 mem_le_instant
+0x02a9 mem_le_channels
+0x02aa mem_le_op
+0x02ab mem_le_access
+0x02af mem_le_crcinit
+0x02b2 mem_le_window_size
+0x02b3 mem_le_slave_latency
+0x02b5 mem_le_superto
+0x02b7 mem_le_channel_map
+0x02bc mem_le_rx_phy
+0x02bd mem_le_tx_phy
+0x02be mem_le_update_new_param
+0x02c7 mem_le_sk
+0x02d7 mem_le_peer_sca
+0x02d8 mem_le_err_code
+0x02d9 mem_le_ll_pairing_fail_reason
+0x02da mem_le_context_reserve
+0x02df mem_le_testtype
+0x02e0 mem_cmd_le_create_conn
+0x02e1 mem_ucode_status
+0x02e2 mem_spid_tbuf
+0x02e3 mem_iicd_tbuf
+0x02e3 mem_addr_hi
+0x02e4 mem_addr_mi
+0x02e5 mem_addr_lo
+0x02e6 mem_iicd_addr
+0x02e7 mem_spid_rbuf
+0x02eb mem_ucode_buf
+0x02ed mem_ucode_len
+0x02ef mem_sched_addr
+0x02f1 mem_ucode_ptr
+0x02f3 mem_ucode_keybuf
+0x0303 mem_spid2_tbuf
+0x0304 mem_addr_hi2
+0x0305 mem_addr_mi2
+0x0306 mem_addr_lo2
+0x0307 mem_spid2_rbuf
+0x030b mem_reconnect_flag
+0x030c mem_switch_fail_master_count
+0x030d mem_app_evt_timer_count
+0x030e mem_l2cap_mem_start
+0x030e mem_l2cap_rxbuff1_len
+0x0310 mem_l2cap_rxbuff2_len
+0x0312 mem_l2cap_rxbuff_new
+0x0314 mem_l2cap_rxbuff_inuse
+0x0315 mem_l2cap_payload_ptr
+0x0317 mem_l2cap_rx_pkt_length
+0x0319 mem_l2cap_rx_cid
+0x031b mem_l2cap_rx_done
+0x031c mem_l2cap_signal_tx_buff_ptr
+0x031e mem_l2cap_signal_tx_payload_ptr
+0x0320 mem_l2cap_signal_tx_length
+0x0322 mem_sdp_tx_buff_ptr
+0x0324 mem_sdp_tx_payload_ptr
+0x0326 mem_sdp_tx_pkt_length
+0x0328 mem_rfcomm_tx_buff_ptr
+0x032a mem_rfcomm_tx_payload_ptr
+0x032c mem_rfcomm_tx_pkt_length
+0x032e memL2CAP_T1
+0x0330 mem_CONTROL_tasks
+0x0331 mem_send_config_req
+0x0332 mem_config_identifier
+0x0333 mem_config_req_dest_CID
+0x0335 mem_rfcomm_malloc_fail_flag
+0x0336 mem_message_to_uppersm
+0x0337 mem_upper_sm_remote_page
+0x0338 mem_upper_sm_reconn
+0x0339 mem_upper_sm_ss
+0x033a mem_tx_malloc_log
+0x037a mem_l2cap_mem_end
+0x037a mem_scid
+0x037c mem_cmd_length
+0x037e mem_tt2
+0x0380 mem_tt3
+0x0382 mem_id
+0x0384 mem_psm
+0x0386 mem_l2cap_sdpres_delay_time
+0x038a mem_lmo_header_length
+0x038b mem_lmo_header_opcode
+0x038c mem_lmo_payload
+0x039d mem_lmi_accepted_opcode
+0x039e mem_disconn_reason_send
+0x039f mem_tx_fixed_freq
+0x03a0 mem_rx_fixed_freq
+0x03a1 mem_ext_features_page
+0x03a2 mem_lmpext_ssp_enable
+0x03a4 mem_remote_sppcap
+0x03a5 mem_lmp_conn_state
+0x03a6 mem_soft_timer
+0x03a8 mem_pincode_state
+0x03a9 mem_sres_tid
+0x03aa mem_accptsco_tid
+0x03ab mem_wait_encryption
+0x03ac mem_sniff_payload
+0x03bc mem_aurand_send_delay_time
+0x03c0 memRemoteRPNBitRate
+0x03c1 memRemotePRNDataBits
+0x03c2 memRemotePRNStopBit
+0x03c3 memRemotePRNParity
+0x03c4 memRemotePRNFlowControl
+0x03c5 memRemotePRNXon
+0x03c6 memRemotePRNXoff
+0x03c7 mem_mod2div_temp
+0x03ca mem_contw_temp
+0x03cc mem_attrib_list
+0x03ce mem_current_adss
+0x03cf mem_current_channel
+0x03d0 mem_current_frame_type
+0x03d1 mem_current_fcs
+0x03d2 mem_current_length
+0x03d4 mem_rfcomm_uih_payload_ptr
+0x03d6 mem_uih_cmd_type
+0x03d7 mem_uih_length
+0x03d9 mem_param_payload_ptr
+0x03db mem_ms_param
+0x03dc mem_pn_credit_flow_type_info
+0x03dd mem_pn_priority
+0x03de mem_pn_acknowledg_timer
+0x03df mem_pn_max_retrans
+0x03e0 mem_rfcomm_send_adss
+0x03e1 mem_rfcomm_send_frame_type
+0x03e2 mem_rfcomm_send_fcs
+0x03e3 mem_rfcomm_send_offset
+0x03e4 mem_sdp_mem_start
+0x03e4 mem_sdp_uuid_search_ptr
+0x03ec mem_sdp_continue_byte
+0x03ee mem_sdp_pduid
+0x03ef mem_sdp_transactionid
+0x03f1 mem_sdp_transactionid_local
+0x03f3 mem_sdp_attribute_maxbyte
+0x03f5 mem_sdp_record_maxcnt
+0x03f7 mem_sdp_record_handle
+0x03fb mem_sdp_LACAP_found
+0x03fc mem_sdp_RFCOMM_found
+0x03fd mem_sdp_handle_list
+0x03fd mem_sdp_attrib_list
+0x041d mem_sdp_error_code
+0x041f mem_sdp_all_length
+0x0421 mem_handle_humber
+0x0422 mem_search_uuid
+0x0424 mem_sdp_mem_end
+0x0424 mem_random_number
+0x0434 mem_round_key
+0x0444 mem_kinit
+0x0454 mem_input_store
+0x0464 mem_x
+0x0474 mem_y
+0x0483 mem_y15
+0x0484 mem_key_store
+0x0495 mem_key_store_end
+0x0496 memp_ar_key
+0x0498 memp_ar_input
+0x049a mem_ar_hround
+0x04a4 mem_ec_infinite
+0x04a5 mem_ec_loopc
+0x04a7 mem_aes_cmac_data_length
+0x04a8 memdat
+0x04a8 mem_ax
+0x04c0 mem_ay
+0x04d8 mem_az
+0x04f0 mem_bx
+0x0508 mem_ax_256//32 bytes
+0x0508 mem_by
+0x0520 mem_bz
+0x0528 mem_ay_256// 32 bytes
+0x0538 mem_cx
+0x0548 mem_az_256// 32 bytes
+0x0550 mem_cy
+0x0567 mem_cy5
+0x0568 mem_bx_256// 32 bytes
+0x0568 mem_cz
+0x0580 mem_k
+0x0588 mem_by_256// 31 bytes
+0x0598 mem_align
+0x05a8 mem_bz_256//32 bytes
+0x05a8 mem_tmp1
+0x05a8 memahbak
+0x05c0 mem_tmp5
+0x05c8 mem_cx_256//32 bytes
+0x05c8 memahsave
+0x05d8 mem_tmp2
+0x05e8 mem_cy_256// 32 bytes
+0x05e8 memahsave_end
+0x05e8 mem_addr_padding
+0x05e9 mem_addr_value
+0x05f0 mem_tmp3
+0x05f0 mem_t1
+0x05f5 mem_addr_value_end
+0x05f8 mem_addr_iocap_end
+0x0607 mem_cy5_256// 1 byte
+0x0608 mem_cz_256// 32 bytes
+0x0608 mem_tmp0
+0x0608 mem_t0
+0x0610 mem_tmp0a
+0x0620 mem_t2
+0x0628 mem_k_256//32 bytes
+0x0638 mem_t3
+0x0648 mem_tmp1_256//32 bytes
+0x0650 mem_t7
+0x0668 mem_tmp5_256
+0x0688 mem_tmp2_256
+0x06a8 mem_tmp3_256
+0x06a8 mem_t1_256
+0x06c8 mem_tmp0_256
+0x06c8 mem_t0_256
+0x06e8 mem_t2_256
+0x0708 mem_t3_256
+0x0728 mem_t7_256
+0x0748 mem_p
+0x0760 mem_a
+0x0778 mem_b
+0x0790 mem_gx
+0x07a8 mem_gy
+0x07c0 memh0
+0x07e0 mem_p_256
+0x0800 mem_a_256
+0x0820 mem_gx_256
+0x0840 mem_gy_256
+0x0860 mem_le_slat
+0x0870 mem_sp_state_start
+0x0870 mem_sp_state
+0x0871 mem_master_sp_state
+0x0872 mem_sp_flag
+0x0873 mem_master_sp_flag
+0x0874 mem_sp_calc
+0x0875 mem_sp_dh_ready
+0x0876 mem_sp_localsm
+0x0877 mem_pairing_auth
+0x0878 mem_sp_local_key_send_count
+0x0879 mem_sp_remote_key_recv_count
+0x087a mem_sp_remote_key_invalid
+0x087b mem_sp_dhkey_invalid
+0x087c mem_gkey
+0x0880 mem_sp_state_end
+0x0880 mem_le_pubkey_remote_x_256
+0x0888 mem_sp_pubkey_remote
+0x0888 mem_sp_pubkey_remote_x
+0x08a0 mem_sp_pubkey_remote_x_end
+0x08a0 mem_le_pubkey_remote_y_256
+0x08a8 mem_sp_pubkey_remote_y
+0x08c0 mem_le_dhkey_256
+0x08c8 mem_sp_dhkey
+0x08e0 mem_sp_dhkey_end
+0x08e0 mem_sp_random_local
+0x08f0 mem_sp_random_local_end
+0x08f0 mem_sp_random_remote
+0x0900 mem_sp_random_remote_end
+0x0900 memresult
+0x0900 mem_sp_calc_result
+0x0900 memh
+0x0904 memg
+0x0908 memf
+0x090c meme
+0x0910 mem_sp_calc_result_high
+0x0910 memd
+0x0914 memc
+0x0918 memb
+0x091c mema
+0x0920 mem_sp_check_result
+0x0930 mem_sp_confirm_remote
+0x0940 mem_sp_prarm_stack
+0x0950 mem_UI_data_txbuff_length
+0x0952 mem_ipc_skip_continue_proc
+0x0953 mem_ui_timer_temp//length 4
+0x0953 mem_ipc_rega_temp
+0x0957 mem_hold_contr
+0x0959 mem_hold_contw
+0x095b mem_fifo_temp
+0x095c mem_pdatatemp
+0x0964 mem_temp//8 bytes
+0x096c mem_timeup// 4 bytes
+0x0970 mem_rega//4 bytes
+0x0974 mem_regb//4 bytes
+0x0978 mem_regc//3 bytes
+0x097b mem_contr//2 bytes
+0x097d mem_contw//2 bytes
+0x097f mem_contus
+0x0981 mem_contue
+0x0983 mem_contu
+0x0985 mem_queue
+0x0987 mem_loopcnt
+0x0989 mem_wakup_from_power_flag
+0x098a mem_saved_gpio_in
+0x098e mem_module_rx_error_data_buffer
+0x098e mem_shutter_random_mac_data_temp
+0x098e mem_shutter_config_data_temp
+0x098e mem_le_adv_channel_map_temp
+0x098e mem_le_data_len_temp//1byte
+0x098e mem_tx_fifo_map_temp
+0x098e mem_rpn_dlci//1byte
+0x098e mem_event_cmd_response_content//2byte
+0x098e mem_le_prand//16byte
+0x098e mem_AES_CMAC_k//16 bytes
+0x098e mem_regext_index//1 bytes
+0x098e mem_temp_block0
+0x098f mem_le_data_temp//15bytes
+0x098f mem_temp_block1
+0x099e mem_le_aes_128//16byte
+0x099e mem_regext//64 bytes
+0x099e mem_AES_CMAC_k1//16 bytes
+0x099e mem_temp_block2
+0x09ae mem_AES_CMAC_k2//16 bytes
+0x09ae mem_temp_block3
+0x09be mem_AES_CMAC_temp// 16 bytes
+0x09be mem_temp_block4
+0x09ce mem_AES_CMAC_M_last// 16 bytes
+0x09ce mem_module_uart_cmd
+0x09cf mem_module_uart_opcode
+0x09d0 mem_module_uart_len
+0x09d1 mem_module_temp_nl_discard_packet
+0x09d2 mem_temp_block5
+0x09de mem_le_mackey//16 bytes
+0x09de mem_app_receive_temp
+0x09de mem_key_value_temp
+0x09e0 mem_key_value
+0x09e2 mem_key_value_temp1
+0x09e3 mem_key_value_temp2
+0x09e4 mem_key_value_temp3
+0x09e5 mem_key_value_temp4
+0x09e6 mem_key_value_temp5
+0x09e7 mem_key_value_temp6
+0x09e8 mem_temp_block6
+0x09ee mem_scale_ratio
+0x09f1 mem_xcnt
+0x09f4 mem_scale_ratio_temp
+0x09f6 mem_mesh_receive_model_message_payload_len
+0x09f7 mem_mesh_receive_model_message_payload_opcode
+0x09f8 mem_mesh_receive_model_message_payload
+0x0a0f mem_mesh_access_layer_payload_len
+0x0a10 mem_mesh_access_layer_payload
+0x0a10 mem_mesh_access_payload
+0x0a42 mem_mesh_access_payload_padding//为了透传模块预留
+0x0a74 mem_mesh_queue_ele_temp
+0x0a74 mem_mesh_queue_ele_duration
+0x0a75 mem_mesh_queue_ele_gatt_msg_id
+0x0a76 mem_mesh_queue_ele_len
+0x0a77 mem_mesh_queue_ele_payload
+0x0a96 mem_mesh_queue_ele_padding
+0x0a97 mem_le_txheader_mesh_temp
+0x0abe mem_mesh_sha256_chunk_start
+0x0abe mem_mesh_sha256_chunk1
+0x0afe mem_mesh_sha256_chunk2
+0x0b3e mem_mesh_sha256_chunk3
+0x0b7e mem_mesh_sha256_chunk4
+0x0bbe mem_mesh_Privacy_Plaintext
+0x0bbe mem_mesh_Privacy_Plaintext_Zero_String
+0x0bc3 mem_mesh_Privacy_Plaintext_IV_Index
+0x0bc7 mem_mesh_Privacy_Plaintext_Privacy_Random
+0x0bc7 mem_mesh_Privacy_Plaintext_Privacy_Random_EncDST
+0x0bc9 mem_mesh_Privacy_Plaintext_Privacy_Random_EncTransportPDU_or_NetMIC
+0x0bce mem_mesh_PECB
+0x0bde mem_nonce_ptr
+0x0be0 mem_ccm_data_len
+0x0be1 mem_ccm_data_ptr
+0x0be3 mem_ccm_mic
+0x0beb mem_ccm_type
+0x0bec mem_mesh_Device_UUID
+0x0bfc mem_mesh_receive_VID
+0x0bfd mem_mesh_mic_cache_ptr
+0x0bff mem_mesh_lower_transport_layer_payload_len
+0x0c00 mem_mesh_loopcnt_tmep
+0x0c02 mem_mesh_rega_temp
+0x0c04 mem_mesh_regb_temp
+0x0c06 mem_mesh_regc_temp
+0x0c08 mem_mesh_alarm_temp
+0x0c0a mem_mesh_message_Transport_NetMIC_length
+0x0c0b mem_mesh_message_NID
+0x0c0c mem_mesh_message_TTL
+0x0c0d mem_mesh_message_SEQ
+0x0c10 mem_mesh_message_SRC
+0x0c12 mem_mesh_message_DST
+0x0c14 mem_mesh_message_Transport_NetMIC
+0x0c14 mem_mesh_message_Transport_Head
+0x0c15 mem_mesh_message_Transport_unsegmented_access_messagePDU
+0x0c15 mem_mesh_message_Transport_segmented_access_messagePDU
+0x0c15 mem_mesh_message_segment_access_SZMIC_SeqZero_SegO_SegN
+0x0c18 mem_mesh_message_Transport_segmented_access_messagePDU_Segment
+0x0c18 mem_mesh_message_Transport_NetMIC_end
+0x0c28 mem_mesh_nonce_struct
+0x0c35 mem_mesh_send_message_DST
+0x0c37 mem_mesh_last_message_SEQ
+0x0c3a mem_mesh_network_packet_type
+0x0c3b mem_mesh_upper_transport_layer_payload_ptr
+0x0c3d mem_mesh_segmented_upper_transport_layer_payload_len
+0x0c3e mem_mesh_segmented_lower_transport_layer_SegZero
+0x0c40 mem_mesh_segmented_lower_transport_layer_SegO
+0x0c41 mem_mesh_segmented_lower_transport_layer_SegN
+0x0c42 mem_mesh_segmented_last_packet_upper_teansport_payload_len
+0x0c43 mem_mesh_upper_tran_layer_queue_temp
+0x0c43 mem_mesh_upper_tran_layer_temp_packet_flag
+0x0c44 mem_mesh_upper_tran_layer_temp_packet_transmit_delay
+0x0c46 mem_mesh_upper_tran_layer_temp_packet_TID
+0x0c47 mem_mesh_upper_tran_layer_temp_packet_header_IVI_NID
+0x0c48 mem_mesh_upper_tran_layer_temp_packet_header_CTL_TTL
+0x0c49 mem_mesh_upper_tran_layer_temp_packet_header_SEQ
+0x0c4c mem_mesh_upper_tran_layer_temp_packet_header_SRC
+0x0c4e mem_mesh_upper_tran_layer_temp_packet_header_DST
+0x0c50 mem_mesh_upper_tran_layer_temp_packet_length
+0x0c51 mem_mesh_upper_tran_layer_temp_packet_payload
+0x09f6 mem_hci_opcode_ocf
+0x09f8 mem_hci_opcode_ogf
+0x09f9 mem_hci_event_head_type
+0x09fa mem_hci_event_head_event_code
+0x09fb mem_hci_event_para_total_length
+0x09fc mem_hci_command_complete_num_hci_command_packet
+0x09fd mem_hci_command_complete_command_opcode
+0x09fd mem_hci_opcode
+0x09ff mem_hci_command_complete_return_parameter
+0x09ff mem_hci_command_complete_return_parameter_status
+0x0a00 mem_hci_command_complete_return_parameter_chip_id
+0x09f6 mem_vdk
+0x09f8 mem_vok
+0x09fc mem_omega
+0x0a02 mem_b1
+0x0a06 mem_b2
+0x0a0a mem_u1
+0x0a1a mem_u2
+0x0a2a mem_q
+0x09f6 mem_module_le_rx_data_len
+0x09f8 mem_module_le_rx_data_address
+0x09fa mem_module_le_rx_data_handle
+0x09f6 mem_init_cnt
+0x09f8 mem_data_pre
+0x09fa mem_data_current
+0x09fc mem_data_sum
+0x09ff mem_data_value
+0x09f6 mem_tst_pktcnt_sync
+0x09f8 mem_tst_pktcnt_hec
+0x09fa mem_tst_pktcnt_crc
+0x09fc mem_tst_pktcnt_dmh
+0x09fe mem_tmp_buffer_head
+0x0a01 mem_tmp_buffer
+0x0a51 mem_tester_emulate
+0x0a52 mem_temp_payload
+0x0a52 test_mode_scenario
+0x0a53 test_mode_hopping_mode
+0x0a54 test_mode_tx_freq
+0x0a55 test_mode_rx_freq
+0x0a56 test_mode_power_mode
+0x0a57 test_mode_poll_period
+0x0a58 test_mode_packet_type
+0x0a59 test_mode_data_length
+0x0a5b mem_test_mode_old_debug_config
+0x0a5c mem_tester_cnt
+0x09f6 mem_usb_status
+0x09f7 mem_usb_fifo_empty
+0x09f8 mem_usb_read_len
+0x09fa mem_usb_txbuf
+0x0a3b mem_usb_txbuf1
+0x0a45 mem_usb_txbuf2
+0x0a4f mem_usb_rxbuf
+0x0a8f mem_usb_rxbuf_end
+0x0a90 mem_bufptr
+0x0a92 mem_remain
+0x0a93 mem_hidreportdesc_kb
+0x0a95 mem_hidreportdesc_m
+0x0a97 mem_devicedesc
+0x0aaa mem_confdesc
+0x0ae6 mem_string0
+0x0aeb mem_string1
+0x0b09 mem_string2
+0x0b27 mem_string3
+0x0b45 mem_cb_usb_config
+0x0b47 mem_usb_tx_interval
+0x0b48 mem_usb_vid_pid
+0x0b51 mem_usb_zero_packet
+0x0b53 mem_usb_ones_packet
+0x0b55 mem_usb_two_packet
+0x0b57 mem_usb0_state
+0x0b58 mem_usb_offline_check_gpio
+0x0b59 mem_usb_clear_mem_start
+0x0b59 mem_usb_setup
+0x0b59 mem_usb_setup_bmRequestType
+0x0b5a mem_usb_setup_bRequest
+0x0b5b mem_usb_setup_bValue
+0x0b5c mem_usb_setup_bValueH
+0x0b5d mem_usb_setup_wIndex
+0x0b5f mem_usb_setup_bLength
+0x0b60 mem_usb_setup_bLengthH
+0x0b61 mem_usb0_set_report_data
+0x0ba1 mem_usb0_get_report_data
+0x0be1 mem_usb_setup_bValue_temp
+0x0be3 mem_usb0_get_set_report
+0x0be4 mem_usb0_data_ready_report
+0x0be5 mem_usb_tx_win_enable
+0x0be6 mem_usb_tx_mac_enable
+0x0be7 mem_usb_idle_flag
+0x0be8 mem_usb_idle_rate
+0x0be9 mem_usb_get_protocol_flag
+0x0bea mem_usb_set_protocol_status
+0x0beb mem_usb_set_protocol_value
+0x0bec mem_usb_state
+0x0bed mem_usb_remote_wakeup
+0x0bee mem_usb_clear_remote_wakeup
+0x0bef mem_sdsystem_wakeup_flag
+0x0bf0 mem_usb_ep0_stall_status
+0x0bf1 mem_usb_ep1_stall_status
+0x0bf2 mem_usb_ep2_stall_status
+0x0bf3 mem_usb_ep3_stall_status
+0x0bf4 mem_dsc_info_data_pointer
+0x0bf6 mem_dsc_info_len
+0x0bf7 mem_usb_ep1_data
+0x0bf8 mem_usb_ep2_data
+0x0bf9 mem_usb_tx_enable
+0x0bfa mem_usb_device_enumeration_endflag
+0x0bfb mem_usb_wakestate_onetime_flag
+0x0bfc mem_usb_mac_wakeup_trig
+0x0bfd mem_usb_set_high_addr_flag
+0x0bfe mem_usb_clear_halt
+0x0bff mem_usb_mouse_data
+0x0c0f mem_usb_kb_data
+0x0c1f mem_usb_kb_multikey
+0x0c2f mem_usb_kb_system
+0x0c3f mem_usb_test_cnt
+0x0c41 mem_usb_test_kb
+0x0c4b mem_usb_clear_mem_end
+0x0c4b mem_dg_rssi_noise_buffer
+0x0d4b mem_dg_rssi_noise_dg_buffer
+0x0e4b mem_dg_rssi_noise_ms_buffer
+0x0f4b mem_dg_rssi_noise_kb_buffer
+
+0x02be mem_le_new_param
+0x02be mem_le_new_transmitwindowsize
+0x02bf mem_le_new_transmitwindowoffset
+0x02c1 mem_le_new_conninterval
+0x02c3 mem_le_new_connslavelatency
+0x02c5 mem_le_new_connsupervisiontimeout
+0x02be mem_le_new_map
+0x02be mem_le_new_m2s_phy
+0x02bf mem_le_new_s2m_phy
+0x016b mem_le_rxbuf_data_header
+0x016c mem_le_rxbuf_data_length
+0x016d mem_le_rxbuf_data_payload
+0x016b mem_le_rxbuf_data_ll_header
+0x016c mem_le_rxbuf_data_ll_length
+0x016d mem_le_rxbuf_data_ll_opcode
+0x016e mem_le_rxbuf_data_ll_control_data
+0x016b mem_le_rxbuf_adv_header
+0x016c mem_le_rxbuf_adv_length
+0x016d mem_le_rxbuf_adv_payload
+0x016b mem_le_rxbuf_adv_scan_req_header
+0x016c mem_le_rxbuf_adv_scan_req_length
+0x016d mem_le_rxbuf_adv_scan_req_scan_address
+0x0173 mem_le_rxbuf_adv_scan_req_adv_address
+0x016b mem_le_rxbuf_adv_connect_ind_header
+0x016c mem_le_rxbuf_adv_connect_ind_length
+0x016d mem_le_rxbuf_adv_connect_ind_init_address
+0x0173 mem_le_rxbuf_adv_connect_ind_adv_address
+0x0179 mem_le_rxbuf_adv_connect_ind_access_address
+0x017d mem_le_rxbuf_adv_connect_ind_crc_init
+0x0180 mem_le_rxbuf_adv_connect_ind_win_size
+0x0181 mem_le_rxbuf_adv_connect_ind_win_offset
+0x0183 mem_le_rxbuf_adv_connect_ind_interval
+0x0185 mem_le_rxbuf_adv_connect_ind_latency
+0x0187 mem_le_rxbuf_adv_connect_ind_timeout
+0x0189 mem_le_rxbuf_adv_connect_ind_channel_map
+0x018e mem_le_rxbuf_adv_connect_ind_hop_and_sca
+0x099e mem_le_search_handle_start
+0x09a0 mem_le_search_handle_end
+0x09a2 mem_le_att_offset
+0x09a2 mem_le_search_att_type_length
+0x09a3 mem_le_search_att_type
+0x09b3 mem_le_curr_att_len
+0x09b4 mem_le_cur_attlist_start_ptr
+0x09b6 mem_le_cur_handle_start
+0x09b8 mem_le_cur_handle_end
+0x09ba mem_le_cur_uuid_length
+0x09bb mem_le_cur_uuid
+0x016b mem_le_rxbuf_data_att_header
+0x016c mem_le_rxbuf_data_att_length
+0x016d mem_le_rxbuf_data_att_l2cap_length
+0x016f mem_le_rxbuf_data_att_cid
+0x0171 mem_le_rxbuf_data_att_opcode
+0x0172 mem_le_rxbuf_data_att_payload
+0x016b mem_le_rxbuf_data_continue_header
+0x016c mem_le_rxbuf_data_continue_length
+0x016d mem_le_rxbuf_data_continue_payload
+0x016b mem_le_rxbuf_data_att_write_header
+0x016c mem_le_rxbuf_data_att_write_length
+0x016d mem_le_rxbuf_data_att_write_l2cap_length
+0x016f mem_le_rxbuf_data_att_write_cid
+0x0171 mem_le_rxbuf_data_att_write_opcode
+0x0172 mem_le_rxbuf_data_att_write_handle
+0x0174 mem_le_rxbuf_data_att_write_payload
+0x016b mem_le_rxbuf_data_prepare_att_write_header
+0x016c mem_le_rxbuf_data_prepare_att_write_length
+0x016d mem_le_rxbuf_data_prepare_att_write_l2cap_length
+0x016f mem_le_rxbuf_data_prepare_att_write_cid
+0x0171 mem_le_rxbuf_data_prepare_att_write_opcode
+0x0172 mem_le_rxbuf_data_prepare_att_write_handle
+0x0174 mem_le_rxbuf_data_prepare_att_write_offset
+0x0176 mem_le_rxbuf_data_prepare_att_write_payload
+0x09f8 mem_mesh_NETKeyindex_and_APPKeyindex
+0x09fb mem_mesh_receive_application_key
+0x09f8 mem_mesh_vendor_message_cid
+0x09fa mem_mesh_vendor_message_tid
+0x09fb mem_mesh_vendor_message_attr_type
+0x09f8 mem_mesh_vendor_message_header
+0x09fd mem_mesh_vendor_attr_parameter
+0x09f8 mem_mesh_vendor_message_delay_close_time_header
+0x09fd mem_mesh_vendor_delay_close_time
+0x09f8 mem_mesh_vendor_message_night_light_onoff_header
+0x09fd mem_mesh_vendor_night_light_onoff
+0x09f8 mem_mesh_vendor_message_color_header
+0x09fd mem_mesh_vendor_color_lightness
+0x09ff mem_mesh_vendor_color_hue
+0x0a01 mem_mesh_vendor_color_saturation
+0x09f8 mem_mesh_vendor_message_back_light_onoff_header
+0x09fd mem_mesh_vendor_back_light_onoff
+0x09f8 mem_mesh_vendor_message_main_light_onoff_header
+0x09fd mem_mesh_vendor_main_light_onoff
+0x09f8 mem_mesh_vendor_message_standby_brightness_header
+0x09fd mem_mesh_vendor_standby_brightness
+0x09f8 mem_mesh_vendor_message_current_time_header
+0x09fd mem_mesh_vendor_message_current_time
+0x09f8 mem_mesh_vendor_message_timer_header
+0x09fd mem_mesh_vendor_timer_timing_index
+0x09fe mem_mesh_vendor_timer_timing_index1
+0x09fe mem_mesh_vendor_timer_timing_time
+0x0a02 mem_mesh_vendor_timer_timing_attr_type
+0x0a04 mem_mesh_vendor_timer_timing_attr_para
+0x09f8 mem_mesh_vendor_message_timer_cyclic_header
+0x09fd mem_mesh_vendor_timer_timing_index_cyclic
+0x09fe mem_mesh_vendor_timer_timing_time_cyclic
+0x0a00 mem_mesh_vendor_timer_timing_weekdays_cyclic
+0x0a01 mem_mesh_vendor_timer_timing_attr_type_cyclic
+0x0a03 mem_mesh_vendor_timer_timing_attr_para_cyclic
+0x0a04 mem_mesh_vendor_timer_timing_cyclic_flag
+0x0a10 mem_mesh_access_layer_payload_vendor_command
+0x0a11 mem_mesh_access_layer_payload_vendor_CID
+0x0a13 mem_mesh_access_layer_payload_vendor_tid
+0x0a14 mem_mesh_access_layer_payload_vendor_attr_type
+0x0a16 mem_mesh_access_layer_payload_vendor_attr_parameter
+0x098e mem_mesh_subscription_eep_temp
+0x0a74 mem_mesh_gatt_package_receive_msg_buffer_ptr
+0x0a76 mem_mesh_gatt_package_receive_msg_buffer_temp
+0x0a76 mem_mesh_gatt_package_receive_msg_id
+0x0a78 mem_mesh_gatt_package_receive_MAC
+0x0a78 mem_mesh_gatt_package_receive_msg_num
+0x0a79 mem_mesh_gatt_package_receive_msg_total_length
+0x0a7a mem_mesh_gatt_package_receive_msg_payload
+0x0bec mem_mesh_receive_service_uuid_company_id
+0x0bee mem_mesh_receive_service_uuid_vid
+0x0bef mem_mesh_receive_service_uuid_provisioning_type
+0x0bf0 mem_mesh_receive_service_uuid_mac
+0x0bf2 mem_mesh_receive_service_uuid_msg_id
+0x0bf3 mem_mesh_receive_service_uuid_package_num
+0x0bf4 mem_mesh_receive_service_uuid_length
+0x0bf5 mem_mesh_receive_service_uuid_payload_data
+0x0bec mem_mesh_receive_service_uuid_ios_data_company_id
+0x0bee mem_mesh_receive_service_uuid_ios_data_vid
+0x0bef mem_mesh_receive_service_uuid_ios_data_provisioning_type
+0x0bf0 mem_mesh_receive_service_uuid_ios_data_NID
+0x0bf1 mem_mesh_receive_service_uuid_ios_data_msg_id
+0x0bf2 mem_mesh_receive_service_uuid_ios_data_package_num
+0x0bf3 mem_mesh_receive_service_uuid_ios_data_length
+0x0bf4 mem_mesh_receive_service_uuid_ios_data_payload_data
+0x09f8 mem_mesh_configuration_health_message_opcode
+0x09f8 mem_mesh_configuration_health_message_opcode_config_model_subscription
+0x09f9 mem_mesh_subscription_element_address
+0x09fb mem_mesh_subscription_value_address
+0x09fd mem_mesh_subscription_model_identifier
+0x09f8 mem_mesh_module_message_opcode
+0x09f8 mem_mesh_module_message_opcode_onoff_set
+0x09f9 mem_mesh_generic_onoff_set_payload_OnOff
+0x09fa mem_mesh_generic_onoff_set_payload_TID
+0x09fb mem_mesh_generic_onoff_set_payload_Transition_Time
+0x09fc mem_mesh_generic_onoff_set_payload_Delay
+0x09f8 mem_mesh_module_message_opcode_scene_recall
+0x09f9 mem_mesh_scene_recall_payload_scene_number
+0x09fb mem_mesh_scene_recall_payload_TID
+0x09fc mem_mesh_scene_recall_payload_Transition_Time
+0x09fd mem_mesh_scene_recall_payload_Delay
+0x09f8 mem_mesh_module_message_opcode_set_light_lightness
+0x09f9 mem_mesh_light_lightness_set_payload_lightness
+0x09fb mem_mesh_light_lightness_set_payload_TID
+0x09fc mem_mesh_light_lightness_set_payload_Transition_Time
+0x09fd mem_mesh_light_lightness_set_payload_Delay
+0x09fe mem_mesh_light_lightness_calc_lightness
+0x09f8 mem_mesh_module_message_opcode_set_light_ctl
+0x09f9 mem_mesh_CTL_Lightness
+0x09fb mem_mesh_CTL_Temperature
+0x09fd mem_mesh_CTL_Delta_UV
+0x09ff mem_mesh_CTL_lightness_TID
+0x0a00 mem_mesh_CTL_lightness_Transition_Time
+0x0a01 mem_mesh_CTL_lightness_Delay
+0x0a02 mem_mesh_CTL_calc_lightness
+0x0a03 mem_mesh_CTL_calc_temperature
+0x0a97 mem_mesh_network_packet_type_temp
+0x0a98 mem_mesh_message_NID_temp
+0x0c28 mem_mesh_Network_Nonce
+0x0c28 mem_mesh_Network_Nonce_nonce_type
+0x0c29 mem_mesh_Network_Nonce_CTL_and_TTL
+0x0c2a mem_mesh_Network_Nonce_SEQ
+0x0c2d mem_mesh_Network_Nonce_SRC
+0x0c2f mem_mesh_Network_Nonce_Pad//0x0000
+0x0c31 mem_mesh_Network_Nonce_IV_Index
+0x0c28 mem_mesh_Application_Nonce
+0x0c28 mem_mesh_Application_Nonce_Nonce_Type
+0x0c29 mem_mesh_Application_Nonce_ASZMIC_and_Pad//
+0x0c2a mem_mesh_Application_Nonce_SEQ
+0x0c2d mem_mesh_Application_Nonce_SRC
+0x0c2f mem_mesh_Application_Nonce_DST
+0x0c31 mem_mesh_Application_Nonce_IV_Index
+0x0c28 mem_mesh_Device_Nonce
+0x0c28 mem_mesh_Device_Nonce_Nonce_Type
+0x0c29 mem_mesh_Device_Nonce_ASZMIC_and_Pad//
+0x0c2a mem_mesh_Device_Nonce_SEQ
+0x0c2d mem_mesh_Device_Nonce_SRC
+0x0c2f mem_mesh_Device_Nonce_DST
+0x0c31 mem_mesh_Device_Nonce_IV_Index
+0x0a0f mem_mesh_upper_transport_layer_payload_len
+0x0c51 mem_mesh_upper_tran_layer_temp_pakcet_AKF_AID
+0x0c51 mem_mesh_upper_tran_layer_temp_unsegmented_pakcet_AKF_AID
+0x0c52 mem_mesh_upper_tran_layer_temp_unsegmented_packet_fill
+0x0c56 mem_mesh_upper_tran_layer_temp_pakcet_upper_tran_access_pdu
+0x0c56 mem_mesh_upper_tran_layer_temp_unsegmented_pakcet_upper_tran_access_pdu
+0x0c51 mem_mesh_upper_tran_layer_temp_segmented_pakcet_AKF_AID
+0x0c52 mem_mesh_upper_tran_layer_temp_segmented_pakcet_SeqZero
+0x0c54 mem_mesh_upper_tran_layer_temp_segmented_pakcet_SegO
+0x0c55 mem_mesh_upper_tran_layer_temp_segmented_pakcet_SegN
+0x0c56 mem_mesh_upper_tran_layer_temp_segmented_pakcet_upper_tran_access_pdu
+0x4000 mem_patch00
+0x4001 mem_patch01
+0x4002 mem_patch02
+0x4003 mem_patch03
+0x4004 mem_patch04
+0x4005 mem_patch05
+0x4006 mem_patch06
+0x4007 mem_patch07
+0x4008 mem_patch08
+0x4009 mem_patch09
+0x400a mem_patch0a
+0x400b mem_patch0b
+0x400c mem_patch0c
+0x400d mem_patch0d
+0x400e mem_patch0e
+0x400f mem_patch0f
+0x4010 mem_patch10
+0x4011 mem_patch11
+0x4012 mem_patch12
+0x4013 mem_patch13
+0x4014 mem_patch14
+0x4015 mem_patch15
+0x4016 mem_patch16
+0x4017 mem_patch17
+0x4018 mem_patch18
+0x4019 mem_patch19
+0x401a mem_patch1a
+0x401b mem_patch1b
+0x401c mem_patch1c
+0x401d mem_patch1d
+0x401e mem_patch1e
+0x401f mem_patch1f
+0x4020 mem_patch20
+0x4021 mem_patch21
+0x4022 mem_patch22
+0x4023 mem_patch23
+0x4024 mem_patch24
+0x4025 mem_patch25
+0x4026 mem_patch26
+0x4027 mem_patch27
+0x4028 mem_patch28
+0x4029 mem_patch29
+0x402a mem_patch2a
+0x402b mem_patch2b
+0x402c mem_patch2c
+0x402d mem_patch2d
+0x402e mem_patch2e
+0x402f mem_patch2f
+0x4030 mem_patch30
+0x4031 mem_patch31
+0x4032 mem_patch32
+0x4033 mem_patch33
+0x4034 mem_patch34
+0x4035 mem_patch35
+0x4036 mem_patch36
+0x4037 mem_patch37
+0x4038 mem_patch38
+0x4039 mem_patch39
+0x403a mem_patch3a
+0x403b mem_patch3b
+0x403c mem_patch3c
+0x403d mem_patch3d
+0x403e mem_patch3e
+0x403f mem_patch3f
+0x4040 mem_context
+0x4098 mem_current_amaddr
+0x4099 mem_lpm_mode
+0x409a mem_device_option
+0x409b mem_scan_mode
+0x409c mem_last_clkn
+0x40a0 mem_features
+0x40a8 mem_lap
+0x40ab mem_uap
+0x40ac mem_nap
+0x40ae mem_npage
+0x40af mem_glap
+0x40b2 mem_class
+0x40b5 mem_iscan_window
+0x40b7 mem_iscan_interval
+0x40b9 mem_pscan_window
+0x40bb mem_pscan_interval
+0x40bd mem_page_interval
+0x40bf mem_page_window
+0x40c1 mem_page_to
+0x40c3 mem_inq_window
+0x40c5 mem_fcomp_div
+0x40c6 mem_rx_window_init
+0x40c8 mem_rx_window_sniff
+0x40ca mem_rf_init_ptr
+0x40cc mem_last_type
+0x40cd mem_last_type_esco
+0x40ce mem_last_type_saved
+0x40cf mem_retransmission_cnt
+0x40d1 mem_next_btclk
+0x40d5 mem_rf_rccal
+0x40d6 mem_handle_num
+0x40d7 mem_max_slot
+0x40d8 mem_eir_enable
+0x40d9 mem_afh_instant
+0x40dd mem_afh_error_total
+0x40df mem_afh_cfg
+0x40e0 mem_afh_new_mod
+0x40e1 mem_afh_map_lo
+0x40e6 mem_afh_map_hi
+0x40eb mem_afh_used
+0x40ec mem_afh_index
+0x40ee mem_afh_map_new
+0x40f9 mem_afh_map
+0x4149 mem_afh_timer
+0x414d mem_afh_classify_channel_map
+0x4157 mem_lpm_wake_lock
+0x4159 mem_lpm_interval
+0x415b mem_lpm_overhead
+0x415c mem_lpm_hibernate_switch
+0x415d mem_esco_addr
+0x415e mem_sniff_unint_lost
+0x415f mem_ptt
+0x4160 mem_sleep_counter//should be 0x41fc in REVC
+0x4164 mem_sleep_counter_all
+0x4168 mem_sleep_clkn
+0x416e mem_sniff_rcv
+0x4171 mem_sniff_lost
+0x4174 mem_clks_per_lpo
+0x4177 mem_lpm_mult
+0x4178 mem_lpm_mult_timeout
+0x4179 mem_lpm_mult_cnt
+0x417a mem_lpm_config
+0x417a mem_lpm_xtal_ib
+0x417b mem_lpm_ctrim
+0x417c mem_lpm_padding
+0x417d mem_lpm_xtalcnt
+0x417e mem_lpm_buckcnt
+0x417f mem_lpm_ldocnt
+0x4180 mem_lpm_isogate
+0x4181 mem_lpm_isogate_final
+0x4182 mem_lpm_ctrl3
+0x4186 mem_saved_gpio// should be 0x421e in REVC
+0x419a mem_saved_gsel
+0x419d mem_saved_mark
+0x41a5 mem_saved_spidctrl
+0x41a6 mem_patch_ptr
+0x41a8 mem_patch_len
+0x41aa mem_timers
+0x41ca mem_link_key_exists
+0x41cb mem_link_key
+0x41db mem_hci_cmd
+0x41dc mem_hci_conn_handle
+0x41dd mem_hci_plap
+0x41e0 mem_hci_puap
+0x41e1 mem_hci_pnap
+0x41e3 mem_loadcode_times
+0x41e4 mem_llid
+0x41e5 mem_tx_lch
+0x41e6 mem_tx_len
+0x41e8 mem_tx_power
+0x41e9 mem_modem_rssi
+0x41ea mem_gain_fix
+0x41eb mem_gain_table
+0x41ee mem_gain_second_agc_en
+0x41ef mem_rf_init_data
+0x41f0 mem_system_clk
+0x41f1 mem_le_dsniff
+0x41f3 mem_le_conn_interval
+0x41f5 mem_le_txheader
+0x41f6 mem_le_txlen
+0x41f7 mem_le_txpayload
+0x42f7 mem_le_name_len
+0x42f8 mem_le_name
+0x4316 mem_le_ltk
+0x4326 mem_ltk_exists
+0x4327 mem_le_rconfirm
+0x4337 mem_le_srand
+0x4347 mem_le_iat
+0x4348 mem_le_rat
+0x4349 mem_le_preq
+0x434a mem_le_preq_iocap
+0x434b mem_le_preq_oob
+0x434c mem_le_preq_auth
+0x434d mem_le_preq_max_keysize
+0x434e mem_le_preq_init_key_distribution
+0x434f mem_le_preq_resp_key_distribution
+0x4350 mem_le_pres
+0x4351 mem_le_pres_iocap
+0x4352 mem_le_pres_oob
+0x4353 mem_le_pres_auth
+0x4354 mem_le_pres_max_keysize
+0x4355 mem_le_pres_init_key_distribution
+0x4356 mem_le_pres_resp_key_distribution
+0x4357 mem_le_notify_handle
+0x4359 mem_le_search_uuid_length
+0x435a mem_le_search_uuid
+0x436a mem_le_conn_param
+0x436a mem_le_conn_peer_addr_type
+0x436b mem_le_conn_peer_addr
+0x4371 mem_le_conn_own_addr_type
+0x4372 mem_le_interval_min
+0x4374 mem_le_interval_max
+0x4376 mem_le_latency
+0x4378 mem_le_timeout
+0x437a mem_le_lap
+0x437d mem_le_uap
+0x437e mem_le_nap
+0x4380 mem_le_local_mtu
+0x4382 mem_le_remote_mtu
+0x4384 mem_le_skdm
+0x438c mem_le_skds
+0x4394 mem_le_init_superto
+0x4396 mem_ui_le_uuid_table
+0x4398 mem_le_secure_connect_flag
+0x4399 mem_le_secure_connect_state
+0x439a mem_le_sc_confirm_gkey_flag
+0x439b mem_le_pairing_state
+0x439c mem_le_enc_state
+0x439d mem_le_pairing_mode
+0x439e mem_le_tk
+0x43a2 mem_le_ediv
+0x43a4 mem_le_rand
+0x43ac mem_le_irk
+0x43bc mem_le_transmit_window
+0x43c0 mem_le_configuration
+0x43c1 mem_le_fixed_ltk
+0x43d1 mem_le_pairing_handle
+0x43d3 mem_le_packet_llid
+0x43d4 mem_le_l2cap_size
+0x43d6 mem_le_packet_len_recved
+0x43d8 mem_le_payload_ptr
+0x43da mem_le_signaling_identifier
+0x43db mem_le_l2cap_signaling_conn_param_update_rsp_result
+0x43dd mem_le_md_count
+0x43de mem_ble_l2cap_tx_buff0_ptr
+0x43e0 mem_ble_l2cap_tx_buff_size_ptr
+0x43e2 mem_le_scan_enable
+0x43e3 mem_le_scan_interval
+0x43e5 mem_le_scan_window
+0x43e7 mem_le_adv_data_len
+0x43e8 mem_le_adv_data
+0x4407 mem_le_scan_data_len
+0x4408 mem_le_scan_data
+0x4427 mem_le_adv_enable
+0x4428 mem_le_adv_param
+0x4428 mem_le_adv_interval
+0x442a mem_le_adv_type
+0x442b mem_le_adv_own_addr_type
+0x442c mem_le_adv_direct_addr
+0x4432 mem_le_adv_channel_map
+0x4433 mem_le_scan_params
+0x4433 mem_le_scan_type
+0x4434 mem_le_scan_own_addr_type
+0x4435 mem_le_l2cap_att_states
+0x4436 mem_le_att_opcode
+0x4437 mem_le_att_handle
+0x4439 mem_le_search_res
+0x443a mem_le_local_feature
+0x4442 mem_le_tx_phys
+0x4443 mem_le_rx_phys
+0x4444 mem_remote_rx_max_octets
+0x4446 mem_remote_rx_max_time
+0x4448 mem_remote_tx_max_octets
+0x444a mem_remote_tx_max_time
+0x444c mem_local_rx_max_octets
+0x444e mem_local_rx_max_time
+0x4450 mem_local_tx_max_octets
+0x4452 mem_local_tx_max_time
+0x4454 mem_app_handshake_flag
+0x4455 mem_sniff_param_interval
+0x4457 mem_sniff_param_attempt
+0x4459 mem_sniff_param_timeout
+0x445b mem_cb_check_wakelock
+0x445d mem_cb_before_hibernate
+0x445f mem_cb_before_lpm
+0x4461 mem_cb_le_process
+0x4463 mem_cb_bt_process
+0x4465 mem_cb_idle_process
+0x4467 mem_cb_bb_event_process
+0x4469 mem_cb_discovry_timeout
+0x446b mem_cb_att_write
+0x446d mem_cb_ble_transmit
+0x446f mem_cb_event_timer
+0x4471 mem_cb_bt_set_mult
+0x4473 mem_cb_spi_flash_write_complate
+0x4475 mem_cb_spi2_flash_write_complate
+0x4477 mem_cb_bt_slave_match
+0x4479 mem_cb_before_lpm_sleep
+0x447b mem_eeprom_base
+0x447d mem_unsniff2sniff_timer_count
+0x447e mem_wake_up_delay_timer
+0x447f mem_app_connection_options
+0x4480 mem_app_disconn_reason
+0x4482 mem_app_disconn_reason_flag
+0x4484 mem_xrecord_mode
+0x4485 mem_eeprom_block_size
+0x4486 mem_spi_init_clk
+0x4487 mem_spi_init_delay_time
+0x4488 mem_spi_ncs_gpio
+0x4489 mem_nv_data_ptr
+0x448b mem_nv_data_number
+0x448c mem_queue_ptr
+0x448e mem_ui_led_struct_num
+0x448f mem_ui_led_struct_ptr
+0x4491 mem_adc_wait_count
+0x4492 mem_3v_adc_io_data
+0x4494 mem_2v_adc_hvin_data
+0x4496 mem_2v_adc_vinlpm_data
+0x4498 mem_1v_adc_io_data
+0x449a mem_3v_adc_hvin_data
+0x449c mem_3v_adc_vinlpm_data
+0x449e mem_app_adc_read_count
+0x449f mem_start_adc_clkn
+0x44a0 mem_reference_voltage
+0x44a2 mem_adc_config_flag
+0x44a3 mem_adc_channel
+0x44a4 mem_adc_current_value
+0x44a6 mem_adc_power_flag//bit0:low power falg ; bit1:no power flag
+0x44a7 mem_spi_write_addr
+0x44aa mem_spi_write_ptr
+0x44ac mem_spi_write_len
+0x44ae mem_spi_write_flash_sm
+0x44af mem_spi2_write_addr
+0x44b2 mem_spi2_write_ptr
+0x44b4 mem_spi2_write_len
+0x44b6 mem_spi2_write_flash_sm
+0x44b7 mem_spi_cs_gpio
+0x44b8 mem_spi_si_gpio
+0x44b9 mem_spi_so_gpio
+0x44ba mem_spi_sclk_gpio
+0x44bb mem_spi_wp_gpio
+0x44bc mem_spi_hold_gpio
+0x44bd mem_spi2_cs_gpio
+0x44be mem_spi2_si_gpio
+0x44bf mem_spi2_so_gpio
+0x44c0 mem_spi2_sclk_gpio
+0x44c1 mem_spi2_wp_gpio
+0x44c2 mem_spi2_hold_gpio
+0x44c3 mem_eeprom_wp_gpio
+0x44c4 mem_eeprom_scl_gpio
+0x44c5 mem_eeprom_sda_gpio
+0x44c6 mem_kscan_ptr
+0x44c8 mem_key_num_ptr
+0x44c8 mem_keyscan_ptr
+0x44ca mem_key_value_retention
+0x44cc mem_power_param_ptr
+0x44ce mem_efuse_header
+0x44d1 mem_seqi
+0x44d2 mem_dig_aon_vsel
+0x44d3 mem_syn_afc_cfg1
+0x44d4 mem_rf_ldo_cfg1
+0x44d5 mem_rc_cal
+0x44d6 mem_nec_decode_error_value
+0x44d7 mem_rf_debug_rx_gpio
+0x44d8 mem_rf_debug_tx_gpio
+0x44d9 mem_l2cap_xmem_start
+0x44d9 mem_l2cap_tx_multi_offset//0 means single packet
+0x44db mem_sdp_remote_cid
+0x44dd mem_rfcomm_remote_cid
+0x44df mem_hid_ctrl_remote_cid
+0x44e1 mem_hid_int_remote_cid
+0x44e3 mem_sdp_state
+0x44e4 mem_rfcomm_state
+0x44e5 mem_hid_control_state
+0x44e6 mem_hid_interrupt_state
+0x44e7 mem_spp_state
+0x44e8 mem_ML2CAP_comm_id
+0x44e9 mem_used_map
+0x44ea mem_tx_fifo0
+0x44ea mem_tx_fifo0_map
+0x44eb mem_tx_fifo0_ptr
+0x44ed mem_tx_fifo1
+0x44ed mem_tx_fifo1_map
+0x44ee mem_tx_fifo1_ptr
+0x44f0 mem_tx_fifo2
+0x44f0 mem_tx_fifo2_map
+0x44f1 mem_tx_fifo2_ptr
+0x44f3 mem_tx_fifo3
+0x44f3 mem_tx_fifo3_map
+0x44f4 mem_tx_fifo3_ptr
+0x44f6 mem_tx_fifo_end
+0x44f6 mem_l2cap_lpm_txbuf
+0x45f6 mem_l2cap_flow_ctrl_flag
+0x45f7 mem_l2cap_pending_item
+0x45f8 mem_l2cap_rcv_hidtype
+0x45f9 mem_l2cap_xmem_end
+0x45f9 mem_lmo_header_opcode_x
+0x45fa mem_lmp_version
+0x45fb mem_lmp_compid
+0x45fd mem_lmp_subversion
+0x45ff mem_local_name_length
+0x4600 mem_local_name
+0x4603 mem_local_name2
+0x4643 mem_local_name_end
+0x4644 mem_unsniff2sniff_timer
+0x4645 mem_switch_flag
+0x4646 mem_classic_bt_flag
+0x4647 mem_encapsulated_major_type
+0x4648 mem_encapsulated_minor_type
+0x4649 mem_encapsulated_len
+0x464a mem_remote_br_sc_support
+0x464b mem_pn_dlci
+0x464c mem_pn_max_frame_size
+0x464e memFCStemp1
+0x464f memFCStemp2
+0x4650 memFCStemp3
+0x4651 mem_rfcomm_initiator
+0x4652 mem_remote_spp_channel
+0x4653 mem_HIUfcs_SPP
+0x4654 mem_HIUfcs_SPP_WCredits
+0x4655 mem_rfcomm_send_more_pkt
+0x4656 mem_remote_credits
+0x4657 mem_credit_given
+0x4658 mem_ms_channel
+0x4659 mem_rfcomm_credit_flag
+0x465a mem_rfcomm_max_frame_size
+0x465c mem_rfcomm_credit_init_data
+0x465d mem_cb_receive_spp_data
+0x465f mem_nl_rx_data_src
+0x4661 mem_nl_rx_len_all
+0x4663 mem_ui_uuid_table
+0x4665 mem_all_uuid_16bits
+0x467b mem_all_uuid_128bits
+0x469d mem_sdp_l2capch_ptr
+0x469f mem_ccm_pcnt_tx
+0x46a4 mem_ccm_pcnt_rx
+0x46a9 mem_ccm_last_mic
+0x46ad mem_ccm_iv
+0x46ad mem_ccm_ivm
+0x46b1 mem_ccm_ivs
+0x46b5 mem_ccm_len
+0x46b7 mem_ccm_rx_ptr
+0x46b9 mem_sc_only_mode
+0x46ba mem_sp_debug_mode
+0x46bb mem_secure_connections_enable
+0x46bc mem_sp_local_key_invalid
+0x46bd mem_sc_calc
+0x46be mem_sc_local_key_invalid
+0x46bf mem_sc_private_key_256
+0x46df mem_sc_pubkey_local_x_256
+0x46ff mem_sc_pubkey_local_y_256
+0x471f mem_sp_private_key
+0x4737 mem_sp_pubkey_local
+0x4737 mem_sp_pubkey_local_x
+0x474f mem_sp_pubkey_local_x_end
+0x474f mem_sp_pubkey_local_y
+0x4767 mem_ssp_enable
+0x4768 mem_lmp_io_cap_payload_iocap
+0x4769 mem_lmp_io_cap_payload_oob_auth_data
+0x476a mem_lmp_io_cap_payload_auth_req
+0x476b mem_sp_state_xmem
+0x476b mem_sp_iocap_remote
+0x476e mem_flag_mode_ssp_pin
+0x476f mem_ssp_mode_flag
+0x4770 mem_authentication_passkey_times
+0x4771 mem_passkey_1bit
+0x4772 mem_flag_pairing_state
+0x4773 mem_sp_state_xmem_end
+0x4773 mem_ipc_lock_bt
+0x4774 mem_ipc_lock_c51
+0x4775 mem_ipc_fifo_bt2c51
+0x477d mem_ipc_fifo_c512bt
+0x4785 mem_ui_button_timer
+0x4786 mem_ui_button_last_state
+0x4787 mem_ui_timer_last_btclk
+0x478b mem_discovery_timeout_timer_count
+0x478d mem_hid_handshake_timer_count
+0x478e memui_reconnect_mode
+0x478f mem_ui_state_map
+0x4791 mem_ui_profile_supported
+0x4792 mem_ui_button_timeout
+0x4793 mem_ui_button_gpio
+0x4794 mem_discovery_timeout
+0x4796 mem_pin_length
+0x4797 mem_pin
+0x47a7 mem_dummy
+0x47aa mem_seq
+0x47ab mem_context_cnt
+0x47ac mem_context_map
+0x47ad mem_context_new
+0x4aad mem_att_cmd_len
+0x4aae mem_att_cmd
+0x4abd mem_att_resp_handle
+0x4abe mem_att_resp_len
+0x4abf mem_att_resp
+0x4add mem_meter_att_list
+0x47a7 mem_mesh_vendor_mesh_receive_tid
+0x47a8 mem_mesh_vendor_mesh_send_tid
+0x47a9 mem_mesh_vendor_timer_current_time
+0x47ad mem_system_time
+0x47b1 mem_mesh_adv_data_len
+0x47b2 mem_mesh_adv_data
+0x47d1 mem_mesh_adv_scan_channel
+0x47d2 mem_mesh_advertising_unprovisioned_device_beacon_switch
+0x47d3 mem_mesh_advertising_unprovisioned_device_beacon_timer
+0x47d5 mem_mesh_advertising_unprovisioned_device_beacon_duration
+0x47d6 mem_mesh_advertising_unprovisioned_device_beacon_interval
+0x47d7 mem_mesh_calc_ConfirmationCloud_data
+0x47d7 mem_mesh_ConfirmationCloud_RandomB
+0x47df mem_mesh_ConfirmationCloud_RandomA
+0x47e7 mem_mesh_AuthValueProv
+0x47f7 mem_mesh_ConfirmationCloud
+0x4807 mem_mesh_ConfirmationDevice
+0x4807 mem_mesh_calc_ConfirmationDevice_data
+0x4807 mem_mesh_provisioning_random_A
+0x480f mem_mesh_provisioning_random_B
+0x4817 mem_mesh_AuthValueDevice
+0x4827 mem_mesh_Device_Key
+0x4837 mem_mesh_Confirmationkey
+0x4847 mem_mesh_sha256_ConfirmationKey_ascii
+0x4856 mem_mesh_sha256_SessionKey_ascii
+0x4860 mem_mesh_sha256_DeviceKey_ascii
+0x4869 mem_mesh_sha256_load_first_data_flag
+0x486a mem_mesh_sha256_data_len_byte
+0x4872 mem_mesh_sha256_data_len_bit
+0x487a mem_mesh_sha256_data_end_addr
+0x487c mem_mesh_sha256_data_len_addr
+0x487e mem_mesh_sha256_chunk_count
+0x487f mem_mesh_sha256_chunk_data_ptr
+0x4881 mem_mesh_sha256_chunk_ptr
+0x4883 mem_k2_P_len
+0x4884 mem_k2_P
+0x4894 mem_k2_N
+0x48a4 mem_k2_SALT
+0x48b4 mem_k2_T
+0x48c4 mem_k2_T0
+0x48c4 mem_k2_T1
+0x48d4 mem_k2_NID
+0x48d5 mem_k2_T3
+0x48e5 mem_k2_T2
+0x48f5 mem_k4_SALT
+0x4905 mem_k4_T
+0x4915 mem_k4_id6_01
+0x4925 mem_k4_k4N
+0x4935 mem_mesh_transport_AID
+0x4936 mem_k3_SALT
+0x4946 mem_k3_T
+0x4956 mem_k3_id64_01
+0x495b mem_k3_k4N
+0x4963 mem_mesh_network_id
+0x496b mem_mesh_provisioned_flag
+0x496c mem_mesh_Provisioning_State_Flag
+0x496d mem_mesh_Device_PID
+0x496e mem_mesh_UUID_FeatureFlag
+0x496f mem_mesh_PDU_RFU
+0x4971 mem_mesh_OOB_information
+0x4973 mem_mesh_Encrypt_Provisioning_Data
+0x4973 mem_mesh_provisioning_data_Mac_addr
+0x4975 mem_mesh_KeyFresh_and_Update_flag
+0x4976 mem_mesh_Network_Key
+0x4986 mem_mesh_last_IV_Index_byte
+0x4987 mem_mesh_Unicast_Address
+0x4989 mem_mesh_adv_last_time
+0x498d mem_mesh_send_packet_timeout
+0x498f mem_mesh_gatt_package_send_msg_id
+0x4990 mem_mesh_gatt_receive_msg_timer
+0x4991 mem_mesh_gatt_packet_receive_msg_buffer1
+0x49b2 mem_mesh_gatt_packet_receive_msg_buffer2
+0x49d3 mem_mesh_three_tuple_ProductID
+0x49d7 mem_mesh_three_tuple_MAC
+0x49dd mem_mesh_three_tuple_secret
+0x49ed mem_mesh_cb_receive_advertising
+0x49ef mem_mesh_cb_receive_access_message
+0x49f1 mem_mesh_cb_receive_config_appkey_add
+0x49f3 mem_mesh_cb_pairing_fail
+0x49f5 mem_mesh_cb_recv_vendor
+0x49f7 mem_mesh_scan_selete_next_ch
+0x49f9 mem_mesh_cb_generic_onoff_get
+0x49fb mem_mesh_cb_generic_onoff_set
+0x49fd mem_mesh_cb_scene_recall
+0x49ff mem_mesh_cb_light_lightness_set
+0x4a01 mem_mesh_cb_light_lightness_get
+0x4a03 mem_mesh_cb_light_ctl_set
+0x4a05 mem_mesh_cb_main_light_onoff_set
+0x4a07 mem_mesh_cb_background_onoff_set
+0x4a09 mem_mesh_cb_color_set
+0x4a0b mem_mesh_cb_network_relay
+0x4a0d mem_mesh_cb_receive_node_reset
+0x4a0f mem_mesh_cb_seq_changed
+0x4a11 mem_mesh_cb_subscriptuion_list_changed
+0x4a13 mem_mesh_cb_vendor_timing_changed
+0x4a15 mem_mesh_core_feature
+0x4a17 mem_mesh_element_number
+0x4a18 mem_mesh_element_device_ptr
+0x4a1a mem_mesh_element_device_length
+0x4a1c mem_mesh_segmented_access_message_SZMIC
+0x4a1d mem_mesh_segmented_access_message_SeqZero
+0x4a1f mem_mesh_segmented_access_message_SegO
+0x4a20 mem_mesh_segmented_access_message_SegN
+0x4a21 mem_mesh_segmented_access_message_BlockAck
+0x4a25 mem_mesh_segmented_access_message_receive_finish
+0x4a26 mem_mesh_segmented_access_message_current_length
+0x4a27 mem_mesh_segmented_access_message_SegN_upper_limit
+0x4a28 mem_mesh_segmented_access_message_Segment_ptr
+0x4a2a mem_mesh_last_CTL_Temperature
+0x4a2c mem_mesh_receive_group_address
+0x4a2d mem_mesh_receive_element_number
+0x4a2e mem_mesh_IV_Index
+0x4a32 mem_mesh_TMALL_cache_start
+0x4a32 mem_mesh_TMALL_SRC1
+0x4a34 mem_mesh_TMALL_SEQ1
+0x4a37 mem_mesh_TMALL_cache
+0x4a64 mem_mesh_TMALL_cache_end
+0x4a64 mem_mesh_transport_message_mic_cache
+0x4a64 mem_mesh_transport_message_mic_cache_buff1
+0x4a68 mem_mesh_transport_message_mic_cache_buff2_10
+0x4a8c mem_mesh_network_relay_queue
+0x4a8c mem_mesh_network_relay_queue_each_size
+0x4a8d mem_mesh_network_relay_queue_length
+0x4a8e mem_mesh_network_relay_queue_current_num
+0x4a8f mem_mesh_network_relay_queue_read_ptr
+0x4a90 mem_mesh_network_relay_queue_write_ptr
+0x4a91 mem_mesh_network_relay_queue_ele
+0x4b19 mem_mesh_application_key
+0x4b29 mem_mesh_ASZMIC
+0x4b2a mem_mesh_access_message_mic_cache
+0x4b2a mem_mesh_access_message_mic_cache_buff1
+0x4b2e mem_mesh_access_message_mic_cache_buff2_10
+0x4b52 mem_mesh_send_message_SEQ
+0x4b55 mem_mesh_send_message_SRC
+0x4b57 mem_mesh_send_message_TTL
+0x4b58 mem_mesh_send_upper_layer_IVI_and_NID
+0x4b59 mem_mesh_send_upper_layer_CTL_and_TTL
+0x4b5a mem_mesh_send_upper_layer_SEQ
+0x4b5d mem_mesh_send_upper_layer_SRC
+0x4b5f mem_mesh_send_upper_layer_DST
+0x4b61 mem_mesh_send_access_lower_transport_layer
+0x4b71 mem_mesh_send_network_layer_NetMIC
+0x4b75 mem_mesh_element_device
+0x4b75 mem_mesh_element_device_group_addr
+0x4b77 mem_mesh_element_device_queue_buffer_ptr
+0x4b79 mem_mesh_element_device_timing_ptr
+0x4b7b mem_mesh_element_device_element_subscription_label
+0x4b8b mem_mesh_element_upper_adv_flag
+0x4b8c mem_mesh_element_upper_queue_buffer_ptr
+0x4b8e mem_mesh_element_tran_package_tid
+0x4b8f mem_mesh_element_tran_package_type
+0x4b90 mem_mesh_element_device1
+0x4bab mem_mesh_element_device2
+0x4bc6 mem_mesh_segmented_access_message_Segment
+0x4bea mem_mesh_element_device_queue_each_size
+0x4beb mem_mesh_element_device_queue_length
+0x4bec mem_mesh_element_device_queue_current_num
+0x4bed mem_mesh_element_device_queue_read_ptr
+0x4bee mem_mesh_element_device_queue_write_ptr
+0x4bef mem_mesh_element_device_queue_ele
+0x4c77 mem_mesh_element_device_upper_queue_each_size
+0x4c78 mem_mesh_element_device_upper_queue_length
+0x4c79 mem_mesh_element_device_upper_queue_current_num
+0x4c7a mem_mesh_element_device_upper_queue_read_ptr
+0x4c7b mem_mesh_element_device_upper_queue_write_ptr
+0x4c7c mem_mesh_element_device_upper_queue_ele
+0x4d38 mem_mesh_le_att_list
+0x47a7 mem_antl_lpm_interval
+0x47a9 mem_antl_adv_interval
+0x47ab mem_antl_slow_adv_lpm_interval
+0x47ad mem_antl_slow_adv_adv_interval
+0x47af mem_antl_led_style
+0x47af mem_antl_led_type
+0x47b0 mem_antl_led_blink_count
+0x47b1 mem_antl_led_gpio
+0x47b2 mem_antl_led_on_time
+0x47b4 mem_antl_led_off_time
+0x47b6 mem_antl_led_cb_on
+0x47b8 mem_antl_led_cb_off
+0x47ba mem_antl_buzzer_style
+0x47ba mem_antl_buzzer_type
+0x47bb mem_antl_buzzer_blink_count
+0x47bc mem_antl_buzzer_gpio
+0x47bd mem_antl_buzzer_on_time
+0x47bf mem_antl_buzzer_off_time
+0x47c1 mem_antl_buzzer_cb_on
+0x47c3 mem_antl_buzzer_cb_off
+0x47c5 mem_antl_fast_adv_led_style
+0x47c5 mem_antl_fast_adv_led_type
+0x47c6 mem_antl_fast_adv_led_blink_count
+0x47c7 mem_antl_fast_adv_led_gpio
+0x47c8 mem_antl_fast_adv_led_on_time
+0x47ca mem_antl_fast_adv_led_off_time
+0x47cc mem_antl_slow_adv_led_style
+0x47cc mem_antl_slow_adv_led_type
+0x47cd mem_antl_slow_adv_led_blink_count
+0x47ce mem_antl_slow_adv_led_gpio
+0x47cf mem_antl_slow_adv_led_on_time
+0x47d1 mem_antl_slow_adv_led_off_time
+0x47d3 mem_antl_power_starting_led_style
+0x47d3 mem_antl_power_starting_led_type
+0x47d4 mem_antl_power_starting_led_blink_count
+0x47d5 mem_antl_power_starting_led_gpio
+0x47d6 mem_antl_power_starting_led_on_time
+0x47d8 mem_antl_power_starting_led_off_time
+0x47da mem_antl_power_starting_buzzer_style
+0x47e1 mem_antl_power_off_led_style
+0x47e1 mem_antl_power_off_led_type
+0x47e2 mem_antl_power_off_led_link_count
+0x47e3 mem_antl_power_off_led_gpio
+0x47e4 mem_antl_power_off_led_on_time
+0x47e6 mem_antl_power_off_led_off_time
+0x47e8 mem_antl_power_off_buzzer_style
+0x47e8 mem_antl_power_off_buzzer_type
+0x47e9 mem_antl_power_off_buzzer_link_count
+0x47ea mem_antl_power_off_buzzer_gpio
+0x47eb mem_antl_power_off_buzzer_on_time
+0x47ed mem_antl_power_off_buzzer_off_time
+0x47ef mem_antl_alert_led_stlye
+0x47f6 mem_antl_alert_buzzer_stlye
+0x47f6 mem_antl_alert_buzzer_type
+0x47f7 mem_antl_alert_buzzer_blink_count
+0x47f8 mem_antl_alert_buzzer_gpio
+0x47f9 mem_antl_alert_buzzer_on_time
+0x47fb mem_antl_alert_buzzer_off_time
+0x47fd mem_antl_key_led_style
+0x47fd mem_antl_key_led_type
+0x47fe mem_antl_key_led_blink_count
+0x47ff mem_antl_key_led_gpio
+0x4800 mem_antl_key_led_on_time
+0x4802 mem_antl_key_led_off_time
+0x4804 mem_antl_key_buzzer_style
+0x480b mem_antl_queue_width
+0x480c mem_antl_queue_depth
+0x480d mem_antl_queue_curr_num
+0x480e mem_antl_queue_read_ptr
+0x480f mem_antl_queue_write_ptr
+0x4810 mem_antl_queue_buff
+0x4860 mem_antl_key_scan_enable
+0x4861 mem_antl_led_num
+0x4862 mem_antl_led_gpio_map
+0x4866 mem_antl_power_param
+0x4866 mem_antl_power_state
+0x4867 mem_antl_power_timer
+0x4868 mem_antl_power_off_timeout
+0x4869 mem_antl_power_starting_timeout
+0x486a mem_antl_power_off_cb
+0x486c mem_antl_power_starting_cb
+0x486e mem_antl_power_standby_cb
+0x4870 mem_event_button_up_cb
+0x4872 mem_antl_key_num
+0x4873 mem_cb_antl_key
+0x4875 mem_antl_key_conf0
+0x4879 mem_antl_key0_press
+0x4888 mem_antl_key0_release
+0x4897 mem_antl_conn_updata_procedure_state
+0x4898 mem_client_characteristic_configuration_descriptor
+0x489a mem_adc_timer
+0x489c mem_antl_conn_update_timer
+0x489d mem_antl_send_updata_le_param_timer
+0x489e mem_antl_le_sleep_timer
+0x48a0 mem_antl_fast_adv_timer
+0x48a2 mem_antl_fast_adv_timeout
+0x48a4 mem_antl_le_sleep_timeout
+0x48a6 mem_double_click_timer
+0x48a7 mem_butten_click_cnt
+0x48a8 mem_antl_led_state
+0x48a9 mem_antl_buzzer_state
+0x48aa mem_antl_key_state
+0x48ab mem_antl_lost_mode
+0x48ac mem_alarm_config
+0x48ad mem_alarm_config_notfy_cnt
+0x48ae mem_buzzer_pwm_conf
+0x48b4 mem_adc_timeout
+0x48b6 mem_voltage_remain_percent
+0x48b7 mem_battery_calculate_set
+0x48b7 mem_battery_full_voltage
+0x48b9 mem_battery_empty_voltage
+0x48bb mem_battery_low_voltage
+0x48bd mem_battery_current_voltage
+0x48bf mem_rx_window_sniff_inc
+0x48c1 mem_interval_increment
+0x48c3 mem_antl_le_interval_min
+0x48c5 mem_antl_le_interval_max
+0x48c7 mem_antl_le_latency
+0x48c9 mem_antl_le_timeout
+0x48cb mem_antl_le_unnormal_interval_min
+0x48cd mem_antl_le_unnormal_interval_max
+0x48cf mem_antl_le_unnormal_latency
+0x48d1 mem_antl_le_unnormal_timeout
+0x48d3 mem_AntiLost_le_att_list
+0x4a63 mem_lestate_update_param_flag
+0x4a64 mem_antilost_conn_battery_send_timer
+0x4a65 mem_antl_disconn_buzzer_on_timer
+0x4a67 mem_antl_disconn_buzzer_on_timeout
+0x47a7 mem_24g_rxbuf
+0x47c9 mem_24g_txbuf
+0x47e9 mem_24g_txpayload
+0x480d mem_24g_rxpayload
+0x482d mem_24g_rxdata_length
+0x482e mem_24g_pid
+0x482f mem_24g_no_ack
+0x4830 mem_24g_sta_crc
+0x4833 mem_24g_last_crc
+0x4836 mem_24g_sta_pid
+0x4837 mem_24g_last_pid
+0x4838 mem_24g_datalen
+0x4839 mem_24g_data_type
+0x483a mem_24g_txlen
+0x483b mem_24g_rx_window
+0x483d mem_24g_ch
+0x483e mem_24g_current_ch_number
+0x483f mem_24g_addr
+0x4843 mem_24g_ch_map1
+0x4847 mem_24g_ch_map2
+0x484b mem_24g_ch_map3
+0x484f mem_24g_ch_map4
+0x4853 mem_24g_tx_btclk
+0x4857 mem_24g_interval
+0x4858 mem_24g_interval_min
+0x4859 mem_24g_interval_max
+0x485a mem_24g_syncword
+0x485c mem_24g_syncword_crc8
+0x485d mem_24g_get_syncword_crc8
+0x485e mem_24g_pair_switch
+0x485f mem_24g_enter_hibernate
+0x4867 mem_24g_rx_phy
+0x4868 mem_24g_tx_phy
+0x4869 mem_24g_ch_map_update
+0x486a mem_24g_ch_update_map1
+0x486e mem_24g_ch_update_map2
+0x4872 mem_24g_ch_update_map3
+0x4876 mem_24g_ch_update_map4
+0x487a mem_24g_disable_fec1
+0x487b mem_24g_pair_addr
+0x487f mem_24g_pair_ch
+0x4880 mem_24g_pair_tx_power
+0x4881 mem_rssi_buff_index
+0x4882 mem_24g_device1_bind_step
+0x4883 mem_24g_device2_bind_step
+0x4884 mem_24g_bind_device_status
+0x4885 mem_24g_bind_payload
+0x488d mem_cb_24g_receive_process
+0x488f mem_cb_24g_ackpayload
+0x4891 mem_cb_24g_data_device1
+0x4893 mem_cb_24g_data_device2
+0x4895 mem_24g_rxdata_temp
+0x48b7 mem_24g_abort_packet
+0x48b8 mem_24g_hop_btclk
+0x48bc mem_24g_hop_interval
+0x48bd mem_24g_pair_mode
+0x48be mem_24g_ackpayload_enable
+0x48bf mem_24g_hop_packet
+0x48c0 mem_24g_mode_switch
+0x48c1 mem_24g_nodata_timer_enable
+0x48c2 mem_24g_mode_init
+0x48c3 mem_24g_work_mode
+0x48c4 mem_24g_time_slice
+0x48c5 mem_24g_self_last_ch
+0x48c6 mem_24g_self_ch_number
+0x48c7 mem_24g_self_config_ch_once
+0x48c8 mem_24g_device1_last_ch
+0x48c9 mem_24g_device1_ch_number
+0x48ca mem_24g_device1_config_ch_once
+0x48cb mem_24g_device2_last_ch
+0x48cc mem_24g_device2_ch_number
+0x48cd mem_24g_device2_config_ch_once
+0x48ce mem_24g_led_status
+0x48cf mem_24g_bind_mode_continue
+0x48d0 mem_tx_power_temp
+0x48d1 mem_24g_mode_B_S_switch
+0x48d2 mem_24g_mode_B_S_switch_init
+0x48d3 mem_24g_mode_B_S_switch_cnt
+0x48d5 mem_24g_mode_B_S_switch_exit
+0x48d6 mem_24g_B_S_time_slice
+0x48d7 mem_24g_B_S_mode_switch_disable
+0x48d8 mem_24g_bind_device_living
+0x48d9 mem_24g_transmitter_addr
+0x48dd mem_24g_device1_addr
+0x48e1 mem_24g_device2_addr
+0x48e5 mem_rssi_noise_avg
+0x48e6 mem_rssi_noise_index
+0x48e7 mem_rssi_noise_self_avg
+0x48e8 mem_rssi_noise_device1_avg
+0x48e9 mem_rssi_noise_device2_avg
+0x48ea mem_rssi_noise_self_index
+0x48eb mem_rssi_noise_device1_index
+0x48ec mem_rssi_noise_device2_index
+0x48ed mem_rssi_noise_buffer_ptr
+0x48ef mem_rssi_noise_self_buffer_ptr
+0x48f1 mem_rssi_noise_device1_buffer_ptr
+0x48f3 mem_rssi_noise_device2_buffer_ptr
+0x48f5 mem_car_hard_soft_switch
+0x48f6 mem_car_queue_each_size
+0x48f7 mem_car__queue_length
+0x48f8 mem_car_queue_curr_num
+0x48f9 mem_car_queue_read_ptr
+0x48fa mem_car_queue_write_ptr
+0x48fb mem_car_queue_ele
+0x4973 mem_car_pop_queue_buff
+0x4987 mem_car_led_num
+0x4988 mem_car_led_map
+0x4992 mem_car_style1_led_type
+0x4993 mem_car_style1_blink_count
+0x4994 mem_car_style1_struct_led_gpio
+0x4995 mem_car_style1_on_time
+0x4997 mem_car_style1_off_time
+0x4999 mem_car_style1_cb_ledon
+0x499b mem_car_style1_cb_ledoff
+0x499d mem_car_style2_led_type
+0x499e mem_car_style2_blink_count
+0x499f mem_car_style2_struct_led_gpio
+0x49a0 mem_car_style2_on_time
+0x49a2 mem_car_style2_off_time
+0x49a4 mem_car_style2_cb_ledon
+0x49a6 mem_car_style2_cb_ledoff
+0x49a8 mem_le_receive_data
+0x49a8 mem_le_receive_packet_head
+0x49aa mem_le_receive_cmd
+0x49ab mem_le_receive_length
+0x49ad mem_le_receive_payload
+0x49b7 mem_le_receive_checksum
+0x49b8 mem_motor1_status
+0x49b9 mem_motor1_speed
+0x49ba mem_motor2_status
+0x49bb mem_motor2_speed
+0x49bc mem_motor3_status
+0x49bd mem_motor3_speed
+0x49be mem_motor1_pwm_set
+0x49be mem_motor1_pwm_pin1_set
+0x49bf mem_motor1_pwm_pin2_set
+0x49c0 mem_motor1_pwm_pin_set
+0x49c1 mem_motor1_pwm_channel_set
+0x49c2 mem_motor1_pwm_freq_set
+0x49c5 mem_motor1_pwm_dute_set
+0x49c6 mem_motor2_pwm_set
+0x49c6 mem_motor2_pwm_pin1_set
+0x49c7 mem_motor2_pwm_pin2_set
+0x49c8 mem_motor2_pwm_pin_set
+0x49c9 mem_motor2_pwm_channel_set
+0x49ca mem_motor2_pwm_freq_set
+0x49cd mem_motor2_pwm_dute_set
+0x49ce mem_motor3_pwm_set
+0x49ce mem_motor3_pwm_pin1_set
+0x49cf mem_motor3_pwm_pin2_set
+0x49d0 mem_motor3_pwm_pin_set
+0x49d1 mem_motor3_pwm_channel_set
+0x49d2 mem_motor3_pwm_freq_set
+0x49d5 mem_motor3_pwm_dute_set
+0x49d6 mem_motor_select_p_n
+0x49d7 mem_car_motor_status
+0x49d8 mem_car_motor_speed
+0x49d9 mem_motor_pwm_set
+0x49d9 mem_motor_pwm_pin1_set
+0x49da mem_motor_pwm_pin2_set
+0x49db mem_motor_pwm_pin_set
+0x49dc mem_motor_pwm_channel_set
+0x49dd mem_motor_pwm_freq_set
+0x49e0 mem_motor_pwm_dute_set
+0x49e1 mem_ir_rx_gpio
+0x49e2 mem_ir_data
+0x49e4 mem_ir_rx_buf
+0x49e6 mem_ir_receive_clkn
+0x49ea mem_ir_notify_data
+0x49ed mem_ir_notify_data_head
+0x49f2 mem_ir_notify_data_payload
+0x49f4 mem_ir_notify_data_check_sum
+0x49f5 mem_car_ir_breakdown_check_timer
+0x49f6 mem_car_ir_breakdown_flag
+0x49f7 mem_car_led_control
+0x49f7 mem_car_led1_status
+0x49f8 mem_car_led2_status
+0x49f9 mem_car_led3_status
+0x49fa mem_car_led4_status
+0x49fb mem_car_led5_status
+0x49fc mem_car_led6_status
+0x49fd mem_car_led7_status
+0x49fe mem_car_led8_status
+0x49ff mem_car_led_control_timer
+0x4a00 mem_car_led_blink_status
+0x4a01 mem_car_led_no
+0x4a02 mem_car_info_request
+0x4a05 mem_car_info_request_head
+0x4a0a mem_car_info_request_payload
+0x4a12 mem_car_info_request_checksum
+0x4a13 mem_car_config_param
+0x4a13 mem_car_config_setting_flag
+0x4a14 mem_car_config_device_select
+0x4a15 mem_car_config_motor_layout
+0x4a16 mem_car_config_ir_enable
+0x4a17 mem_car_config_ir_rx_gpio
+0x4a18 mem_car_config_pairing_led_conn_status
+0x4a19 mem_car_config_pairing_led_gpio
+0x4a1a mem_car_config_led_num
+0x4a1b mem_car_config_blood_led_gpio
+0x4a1b mem_car_config_blood_led1_gpio
+0x4a1c mem_car_config_blood_led2_gpio
+0x4a1d mem_car_config_blood_led3_gpio
+0x4a1e mem_car_config_blood_led4_gpio
+0x4a1f mem_car_config_blood_led5_gpio
+0x4a20 mem_car_config_blood_led6_gpio
+0x4a21 mem_car_config_blood_led7_gpio
+0x4a22 mem_car_config_blood_led8_gpio
+0x4a23 mem_car_config_bat_notify_enable
+0x4a24 mem_car_config_low_voltage_led_gpio
+0x4a25 mem_car_config_low_voltage_percent
+0x4a26 mem_car_config_soft_switch_enable
+0x4a27 mem_car_config_soft_switch_gpio
+0x4a28 mem_car_notify_vdd_count
+0x4a29 mem_car_notify_vdd_timer
+0x4a2a mem_car_notify_vdd_value_last
+0x4a2b mem_car_notify_vdd_percent
+0x4a2c mem_car_working_flag
+0x4a2d mem_low_bat_flag
+0x4a2e mem_notify_bat_packet
+0x4a31 mem_notify_bat_head
+0x4a36 mem_notify_bat_payload
+0x4a37 mem_notify_bat_check_sum
+0x4a38 mem_vdd_notify_flag
+0x4a39 mem_car_current_vdd_value_temp
+0x4a3b mem_car_last_vdd_value
+0x4a3d mem_vdd_calculate_set
+0x4a3d mem_vdd_full_vol
+0x4a3f mem_vdd_empty_vol
+0x4a41 mem_vdd_low_vol
+0x4a43 mem_vdd_now_vol
+0x4a45 mem_car_24g_status
+0x4a46 mem_car_24g_no_data_timeout_count
+0x4a48 mem_car_24g_no_data_timeout_timer
+0x4a4a mem_car_24g_ir_receive_attack_count
+0x4a4b mem_car_24g_go_die_flag
+0x4a4c mem_car_attack_shake_timer
+0x4a4d mem_car_attack_shake_flag
+0x4a4e mem_car_soft_power
+0x4a4e mem_car_power_state
+0x4a4f mem_car_power_timer
+0x4a50 mem_car_power_off_timeout
+0x4a51 mem_car_power_starting_timeout
+0x4a52 mem_car_power_off_cb
+0x4a54 mem_car_power_starting_cb
+0x4a56 mem_car_power_standby_cb
+0x4a58 mem_car_ui_button_up_cb
+0x4a5a mem_car_le_att_list
+0x4c4e mem_car_moto1_blank_timer
+0x4c4f mem_car_moto2_blank_timer
+0x4c50 mem_car_moto3_blank_timer
+0x4c51 mem_car_motor_gpio_num
+0x4c52 mem_car_motor_gpio_map
+0x4c52 mem_car_motor_left_gpio
+0x4c53 mem_car_motor_right_gpio
+0x4c54 mem_car_motor_front_gpio
+0x4c55 mem_car_motor_back_gpio
+0x4c56 mem_car_gpio
+0x4c57 mem_car_app_send_speed
+0x4c58 mem_rssi_sum
+0x4c5a mem_check_rssi_high_count
+0x4c5c mem_rssi_data
+0x4c64 mem_car_24g_received_pac
+0x4c65 mem_car_24g_bind_enable_delay_count
+0x4c66 mem_car_keyscan
+0x4c66 mem_car_key_num
+0x4c67 mem_cb_car_keyscan
+0x4c69 mem_car_enter_lpm_timer_count
+0x4c6b mem_car_enter_lpm_timer
+0x4c6d mem_car_enter_lpm_flag
+0x4c6e mem_car_24g_ch_polling
+0x4c6f mem_car_rssi_noise_buffer
+0x4c77 mem_car_rssi_noise_car_buffer
+0x4c7f mem_car_rssi_noise_remote_buffer
+0x48f5 mem_dg_kb_bind_flag
+0x48f6 mem_dg_kb_data_sta_data
+0x48fe mem_dg_kb_data_last_data
+0x4906 mem_dg_kb_multikey_sta_data
+0x4909 mem_dg_kb_multikey_last_data
+0x490c mem_dg_kb_system_sta_data
+0x490f mem_dg_kb_system_last_data
+0x4912 mem_dg_kb_blank_data_enable
+0x4913 mem_dg_kb_mul_blank_data_enable
+0x4914 mem_dg_ms_blank_data_enable
+0x4915 mem_dg_sys_config
+0x4916 mem_dg_usb_vid_pid
+0x491f mem_dg_usb_tx_interval
+0x4920 mem_dg_usb_device_name
+0x493e mem_dg_kb_bind_success
+0x493f mem_dg_pc_sleep_flag
+0x4882 mem_rssi_hex_received
+0x4883 mem_24g_pair_sm
+0x4884 mem_24g_pair_no_ack
+0x4885 mem_24g_pair_timeout_init
+0x4887 mem_24g_pair_timeout
+0x4889 mem_24g_reconn_timeout_init
+0x488b mem_24g_reconn_timeout
+0x488d mem_24g_reconn_count
+0x488f mem_24g_reconn_type
+0x4890 mem_24g_fast_conn_enable
+0x4891 mem_24g_fast_conn_addr
+0x4895 mem_24g_receiver_addr
+0x4899 mem_24g_fast_conn_temp_ch
+0x489a mem_24g_receiver_temp_ch
+0x489b mem_24g_device_temp_ch
+0x489c mem_rssi_signal_index
+0x489d mem_rssi_signal_buf_ptr
+0x489f mem_cb_24g_transmit_data
+0x48a1 mem_cb_24g_search_receiver
+0x48a3 mem_cb_24g_lpm_before
+0x48a5 mem_24g_conn_sm
+0x48a6 mem_24g_ensure
+0x48a7 mem_24g_txfail_cnt
+0x48a9 mem_24g_attempt_fail_flag
+0x48aa mem_24g_retry
+0x48ab mem_24g_abort_pac
+0x48ac mem_24g_max_retry
+0x48ad mem_24g_device_addr
+0x48b1 mem_24g_short_sleep_set
+0x48b4 mem_24g_long_sleep_set
+0x48bc mem_24g_long_sleep_set1
+0x48c0 mem_24g_pac_index
+0x48c1 mem_24g_transmit_by_interrupt
+0x48c2 mem_24g_transmit_by_interrupt_exit_count
+0x48c4 mem_24g_transmit_by_interrupt_exit_count_init
+0x48c6 mem_24g_long_sleep_param_update_timer_init
+0x48c8 mem_24g_long_sleep_param_update_timer
+0x48ca mem_24g_fast_hop_count
+0x48cb mem_rssi_avg_received
+0x48cc mem_power_ctrl_level
+0x48cd mem_power_ctrl_pac_succ_cnt
+0x48ce mem_power_ctrl_pac_succ_cnt_init
+0x48cf mem_rssi_dis_min_24g
+0x48d0 mem_rssi_dis_max_24g
+0x48d1 mem_rssi_hex_received_max_value
+0x48d2 mem_rssi_dis_min_ble
+0x48d3 mem_rssi_dis_max_ble
+0x48d4 mem_mouse_key
+0x48d5 mem_mouse_x
+0x48d7 mem_mouse_y
+0x48d9 mem_mouse_z
+0x48da mem_mouse_tz
+0x48db mem_mouse_xy_h
+0x48dc mem_mouse_key_last
+0x48dd mem_wheel_tb_old_pinlevel
+0x48de mem_wheel_tb_new_pinlevel
+0x48df mem_wheel_tog
+0x48e0 mem_mouse_tz_data
+0x48e1 mem_mwheel_b_old_pinlevel
+0x48e2 mem_mwheel_b_new_pinlevel
+0x48e3 mem_mwheel_tog
+0x48e4 mem_mouse_z_data
+0x48e5 mem_mouse_wheel_trigger
+0x48e6 mem_mouse_wheel_trigger_timer
+0x48e7 mem_mouse_vdd_calculate_set
+0x48e7 mem_mouse_vdd_full_vol
+0x48e9 mem_mouse_vdd_empty_vol
+0x48eb mem_mouse_vdd_low_vol
+0x48ed mem_mouse_vdd_now_vol
+0x48ef mem_mouse_vdd_button_press_vol
+0x48f1 mem_mouse_vdd_switch_gnd_24g_vol
+0x48f3 mem_mouse_vdd_switch_gnd_full_vol
+0x48f5 mem_mouse_vdd_switch_gnd_shutdown_voltage
+0x48f7 mem_mouse_vdd_switch_gnd_low_voltage
+0x48f9 mem_adc_mux_status
+0x48fa mem_adc_read_timer
+0x48fb mem_adc_read_time_init
+0x48fc mem_adc_low_volatage_led_timer_count
+0x48fd mem_adc_low_volatage_led_blink_enable
+0x48fe mem_mouse_adc_last_low_voltage_flag
+0x48ff mem_mouse_adc_button_press_flag
+0x4900 mem_adc_channel_gpio
+0x4901 mem_adc_config_flag_init
+0x4902 mem_mouse_discovery_timeout
+0x4904 mem_mouse_24g_pair_timeout_init
+0x4906 mem_mouse_direct_timeout
+0x4907 mem_mouse_24g_reconn_timeout_init
+0x4908 mem_mouse_24g_pair_tx_power
+0x4909 mem_rssi_dis_min_24g_init
+0x490a mem_rssi_dis_max_24g_init
+0x490b mem_rssi_hex_received_max_value_init
+0x490c mem_rssi_dis_min_ble_init
+0x490d mem_rssi_dis_max_ble_init
+0x490e mem_mouse_enable_flag
+0x490f mem_mouse_global_setup
+0x4910 mem_mouse_global_setup1
+0x4911 mem_bk_button_gpio
+0x4912 mem_fw_button_gpio
+0x4913 mem_dpi_button_gpio
+0x4914 mem_matrix_public_gpio
+0x4915 mem_sensor_motion_gpio
+0x4916 mem_customer_key_gpio
+0x4917 mem_whee_a_data_gpio
+0x4918 mem_whee_b_data_gpio
+0x4919 mem_config_device_24g_led_gpio
+0x491a mem_select_sensor_angle_gpio
+0x491b mem_mouse_reuse_2ice_gpio
+0x491c mem_lbutton_gpio
+0x491d mem_rbutton_gpio
+0x491e mem_mbutton_gpio
+0x491f mem_config_select_device_button_gpio
+0x4920 mem_whee_ta_data_gpio
+0x4921 mem_whee_tb_data_gpio
+0x4922 mem_device_switch_gpio
+0x4923 mem_mouse_sensor_sclk_gpio
+0x4924 mem_mouse_sensor_sdio_gpio
+0x4925 mem_config_low_voltage_alarm_gpio
+0x4926 mem_config_device_bt1_led_gpio
+0x4927 mem_config_device_bt2_led_gpio
+0x4928 mem_dpi_led_gpio
+0x4929 mem_sensor_angle_default
+0x492a mem_sensor_angle_switch
+0x492b mem_config_sensor_dpi
+0x492c mem_config_sensor_type
+0x492d mem_config_sensor_angle
+0x492e mem_wire_usb_interval
+0x492f mem_usb_addr
+0x4930 mem_mouse_usb_vdd_status
+0x4931 mem_mouse_usb_keyboard_flag
+0x4932 mem_mouse_led_type
+0x4933 mem_mouse_blink_count
+0x4934 mem_mouse_struct_led_gpio
+0x4935 mem_mouse_on_time
+0x4937 mem_mouse_off_time
+0x4939 mem_mouse_cb_ledon
+0x493b mem_mouse_cb_ledoff
+0x493d mem_mouse_information_start
+0x493d mem_device_flag
+0x493e mem_device1_type
+0x493f mem_device1_addr
+0x4945 mem_device1_link_key
+0x4955 mem_device1_locall_addr
+0x495b mem_device2_type
+0x495c mem_device2_addr
+0x4962 mem_device2_link_key
+0x4972 mem_device2_locall_addr
+0x4978 mem_device3_type
+0x4979 mem_mouse_compare_addr_ff
+0x4979 mem_device3_addr
+0x497f mem_device3_link_key
+0x498f mem_device3_locall_addr
+0x4995 mem_store_flag
+0x4997 mem_mouse_dpi
+0x4998 mem_mouse_24g_addr
+0x499c mem_random_addr_increase_count
+0x499e mem_mouse_retention
+0x49bd mem_mouse_information_end
+0x49bd mem_flash_base
+0x49c0 mem_write_flash_head_temp
+0x49c4 mem_store_information_delay_timer
+0x49c5 mem_store_information_delay_timer_init
+0x49c6 mem_sensor_id1
+0x49c7 mem_sensor_id2
+0x49c8 mem_sensor_shutter_hi
+0x49c9 mem_sensor_shutter_lo
+0x49ca mem_sensor_smart_flag
+0x49cb mem_sensor_squal_reg
+0x49cc mem_sensor_iqc
+0x49cd mem_mouse_move_flag
+0x49ce mem_mouse_asm_flag
+0x49cf mem_mouse_x_pre
+0x49d1 mem_mouse_y_pre
+0x49d3 mem_mouse_data_xtemp
+0x49d4 mem_mouse_data_ytemp
+0x49d5 mem_mouse_dpi_seting
+0x49d5 mem_320x_dpi_0
+0x49d6 mem_320x_dpi_1
+0x49d7 mem_320x_dpi_2
+0x49d8 mem_320x_dpi_3
+0x49d9 mem_3212_dpi_0
+0x49da mem_3212_dpi_1
+0x49db mem_3212_dpi_2
+0x49dc mem_3212_dpi_3
+0x49dd mem_ka8g2_dpi_0
+0x49de mem_ka8g2_dpi_1
+0x49df mem_ka8g2_dpi_2
+0x49e0 mem_ka8g2_dpi_3
+0x49e1 mem_mouse_cpi_count
+0x49e2 mem_mouse_dpi_button_state
+0x49e3 mem_mouse_dpi_long_press_flag
+0x49e4 mem_sensor_3212_init
+0x49ee mem_sensor_3204_init
+0x49f8 mem_sensor_3205_init
+0x4a02 mem_sensor_32xx_init
+0x4a1c mem_sensor_32xx_init_1
+0x4a3e mem_sensor_8650_init
+0x4a64 mem_sensor_ka8ul_init
+0x4a82 mem_sensor_8009_init
+0x4a92 mem_sensor_ka8g2_init
+0x4aa8 mem_sensor_p6520_init
+0x4ab4 mem_sensor_poweron_init
+0x4abc mem_sensor_reset_gpio
+0x4abd mem_mouse_clear_sensor_data_flag
+0x4abe mem_bluetooth_125hz_cnt
+0x4abf mem_mouse_long_mult_flag
+0x4ac0 mem_mouse_current_mult_timer
+0x4ac1 mem_reconn_times
+0x4ac2 mem_reconn_times_init
+0x4ac3 mem_mouse_no_data_timer
+0x4ac5 mem_device_flag_temp
+0x4ac6 mem_mouse_rssi_signal_buf
+0x4ace mem_btclk_sensor
+0x4ad2 mem_mouse_bluetooth_fast_conn_flag
+0x4ad3 mem_mouse_discovery_timer
+0x4ad5 mem_mouse_bluetooth_reconnect_timeout
+0x4ad6 mem_mouse_need_soft_reset
+0x4ad7 mem_mouse_le_bb_connected_flag
+0x4ad8 mem_mouse_le_reconnect_flag
+0x4ad9 mem_mouse_send_secutiry_request_timer
+0x4ada mem_mouse_le_lap_temp
+0x4add mem_le_adv_ind
+0x4ae0 mem_le_adv_direct_ind
+0x4ae3 mem_le_adv_swift_pair
+0x4af7 mem_le_data_len
+0x4af8 mem_le_keyboard_handle
+0x4afa mem_le_multimedia_handle
+0x4afc mem_le_systemctrl_handle
+0x4afe mem_le_battery_level_handle
+0x4b00 mem_le_battery_level_percentage
+0x4b01 mem_le_battery_level_updata_timer_init
+0x4b03 mem_le_battery_level_updata_timer
+0x4b05 mem_mouse_le_conn_param_reject
+0x4b06 mem_le_tx_buffer0_omemalloc
+0x4b26 mem_le_tx_buffer1_omemalloc
+0x4b46 mem_le_tx_buffer2_omemalloc
+0x4b66 mem_le_tx_buffer3_omemalloc
+0x4b86 mem_le_connect_status_flag
+0x4b87 mem_le_start_encrypt_timer
+0x4b88 mem_mouse_direct_timer
+0x4b89 mem_device_addr_temp
+0x4b90 mem_mouse_enter_sniff_count
+0x4b91 mem_mouse_bt_boot_mode
+0x4b92 mem_mouse_bt_boot_data
+0x4b97 mem_bt_send_max_slot_req_accept_after_switch
+0x4b98 mem_mouse_bt_send_first_package_timer
+0x4b99 mem_mouse_bt_send_first_package_flag
+0x4b9a mem_lmi_opcode_temp
+0x4b9b mem_lpm_mult_init
+0x4b9c mem_customer_key
+0x4b9d mem_customer_data_trigger
+0x4b9e mem_customer_data_trigger_last
+0x4b9f mem_mouse_lkey_press_status
+0x4ba0 mem_mouse_rkey_press_status
+0x4ba1 mem_mouse_mkey_press_status
+0x4ba2 mem_mouse_bkkey_press_status
+0x4ba3 mem_mouse_fwkey_press_status
+0x4ba4 mem_mouse_dpikey_press_status
+0x4ba5 mem_mouse_pbkey_press_status
+0x4ba6 mem_mouse_customerkey_press_status
+0x4ba7 mem_mouse_key_temp
+0x4ba8 mem_mouse_key_status
+0x4ba9 mem_mouse_matrix_key_cow_count
+0x4baa mem_mouse_matrix_key_row_count
+0x4bab mem_mouse_ghost_flag
+0x4bac mem_bt_discovery_count
+0x4bad mem_select_device_count
+0x4bae mem_mouse_commbination_key
+0x4baf mem_select_device_button_statue
+0x4bb0 mem_commbination_key_statue
+0x4bb1 mem_combination_ui_button_count
+0x4bb2 mem_mouse_search_dongle_interval
+0x4bb3 mem_mouse_search_dongle_ch
+0x4bb4 mem_mouse_search_dongle_count
+0x4bb5 mem_mouse_search_dongle_action
+0x4bb6 mem_24g_enter_lpm_timer
+0x4bb7 mem_mouse_24g_enter_lpm_enable
+0x4bb8 mem_mouse_device_poweron_timer_count
+0x4bb9 mem_mouse_dpi_led_delay_count
+0x4bba mem_mouse_led_off_4_led
+0x4bbb mem_24g_device_led_status
+0x4bbc mem_mouse_flag
+0x4bc4 mem_mouse_bluetooth_type
+0x4bc5 mem_device_number
+0x4bc6 mem_mouse_page_to
+0x4bc8 mem_mouse_fast_direct_timeout
+0x4bc9 mem_mouse_fast_page_to
+0x4bcb mem_mouse_24g_power_on_fast_conn_timer
+0x4bcd mem_mouse_24g_search_dongle_time_init
+0x4bcf mem_mouse_no_data_timeout
+0x4bd1 mem_mouse_device_poweron_timer_count_init
+0x4bd2 mem_mouse_dpi_led_delay_count_init
+0x4bd3 mem_mouse_dpi_led_blink_time
+0x4bd5 mem_mouse_disconvey_led_blink_time
+0x4bd7 mem_mouse_low_v_led_blink_time
+0x4bd9 mem_adc_low_volatage_led_blink_timer
+0x4bdb mem_mouse_commbination_key_bt
+0x4bdc mem_mouse_commbination_key_24g
+0x4bdd mem_customer_key_press
+0x4be6 mem_customer_key_release
+0x4bef mem_mouse_set_high_impedance_bit_set
+0x4bf2 mem_sensor_shutdown_flag
+0x4bf3 mem_24g_long_sleep_set_level
+0x48d4 mem_remote_car_hard_soft_switch
+0x48d5 mem_remote_car_queue_each_size
+0x48d6 mem_remote_car_queue_length
+0x48d7 mem_remote_car_queue_curr_num
+0x48d8 mem_remote_car_queue_read_ptr
+0x48d9 mem_remote_car_queue_write_ptr
+0x48da mem_remote_car_queue_ele
+0x4934 mem_remote_style_led_type
+0x4935 mem_remote_style_blink_count
+0x4936 mem_remote_style_struct_led_gpio
+0x4937 mem_remote_style_on_time
+0x4939 mem_remote_style_off_time
+0x493b mem_remote_style_cb_ledon
+0x493d mem_remote_style_cb_ledoff
+0x493f mem_remote_car_led_num
+0x4940 mem_remote_car_led_map
+0x4948 mem_remote_car_keyscan
+0x4948 mem_remote_car_key_num
+0x4949 mem_cb_remote_car_keyscan
+0x494b mem_remote_car_key_conf0
+0x494b mem_remote_car_key_conf0_pin
+0x494c mem_remote_car_key_conf1
+0x494c mem_remote_car_key_conf1_pin
+0x494d mem_remote_car_key_conf2
+0x494d mem_remote_car_key_conf2_pin
+0x494e mem_remote_car_key_conf3
+0x494e mem_remote_car_key_conf3_pin
+0x494f mem_remote_car_key_conf4
+0x494f mem_remote_car_key_conf4_pin
+0x4950 mem_remote_car_key_conf5
+0x4950 mem_remote_car_key_conf5_pin
+0x4951 mem_remote_car_key_conf6
+0x4951 mem_remote_car_key_conf6_pin
+0x4952 mem_rocker_negative_flag
+0x4953 mem_rocker_work_status
+0x4954 mem_current_vdd_value_default_mid_x
+0x4956 mem_current_vdd_value_default_mid_y
+0x4958 mem_current_vdd_value_default_mid_temp
+0x495a mem_current_vdd_default_range
+0x495c mem_rocker_last_status
+0x495e mem_rocker_status
+0x495e mem_rocker_x_status
+0x495f mem_rocker_y_status
+0x4960 mem_remote_car_config_param
+0x4960 mem_remote_car_config_setting_flag
+0x4961 mem_remote_car_config_key_map
+0x4962 mem_remote_car_config_layout
+0x4963 mem_remote_car_config_connect_led_gpio
+0x4964 mem_remote_car_config_check_way
+0x4965 mem_remote_car_config_soft_switch_enable
+0x4966 mem_remote_car_config_soft_switch_gpio
+0x4967 mem_remote_car_config_timeout_shutdown_enable
+0x4968 mem_remote_car_24g_motor_packet
+0x4968 mem_remote_car_24g_motor_packet_lenght
+0x4969 mem_remote_car_24g_motor_send_packet_head
+0x496b mem_remote_car_24g_motor_send_cmd
+0x496c mem_remote_car_24g_motor_send_length
+0x496e mem_remote_car_24g_motor_send_payload
+0x496e mem_remote_car_24g_motor1_payload
+0x4970 mem_remote_car_24g_motor2_payload
+0x4972 mem_remote_car_24g_motor3_payload
+0x4974 mem_remote_car_24g_motor_send_checksum
+0x4975 mem_remote_car_24g_fire_packet
+0x4975 mem_remote_car_24g_fire_packet_lenght
+0x4976 mem_remote_car_24g_fire_send_packet_head
+0x4978 mem_remote_car_24g_fire_send_cmd
+0x4979 mem_remote_car_24g_fire_send_length
+0x497b mem_remote_car_24g_fire_send_payload
+0x497d mem_remote_car_24g_fire_send_checksum
+0x497e mem_remote_car_24g_tx_temp
+0x498d mem_remote_car_no_data_timeout
+0x498f mem_remote_car_no_data_timer
+0x4991 mem_remote_car_soft_power
+0x4991 mem_remote_car_power_state
+0x4992 mem_remote_car_power_timer
+0x4993 mem_remote_car_power_off_timeout
+0x4994 mem_remote_car_power_starting_timeout
+0x4995 mem_remote_car_power_off_cb
+0x4997 mem_remote_car_power_starting_cb
+0x4999 mem_remote_car_power_standby_cb
+0x499b mem_remote_key_status
+0x499c mem_remote_car_24g_status
+0x499d mem_remote_car_24g_auto_work_step
+0x499e mem_remote_car_24g_pair_success_flag
+0x499f mem_remote_car_empty_packet
+0x49a0 mem_remote_car_motor1_key0_press_state
+0x49a1 mem_remote_car_motor1_key1_press_state
+0x49a2 mem_remote_car_motor2_key2_press_state
+0x49a3 mem_remote_car_motor2_key3_press_state
+0x49a4 mem_remote_car_motor1_rel_state
+0x49a5 mem_remote_car_motor2_rel_state
+0x49a6 mem_remote_car_no_data_check
+0x47a7 mem_hci_uart_tx_gpio
+0x47a8 mem_hci_uart_rx_gpio
+0x47a9 mem_hci_uart_rts_gpio
+0x47aa mem_hci_uart_cts_gpio
+0x47ab mem_hci_pwm_12mhz_gpio
+0x47a7 mem_soft_version_num
+0x47a9 mem_module_wake_up_gpio
+0x47aa mem_module_state_gpio
+0x47ab mem_module_connect_state_gpio
+0x47ac mem_current_packet_length
+0x47ae mem_module_state
+0x47af mem_module_mcu_wake_pin
+0x47b0 mem_module_mcu_wake_delay_us
+0x47b4 mem_module_spp_lpm_mult
+0x47b5 mem_module_le_lpm_mult
+0x47b6 mem_module_bluetooth_stauts_by_command
+0x47b7 mem_module_uart_rx_buffer
+0x47b9 mem_module_uart_rx_buffer_end
+0x47bb mem_module_uart_tx_buffer
+0x47bd mem_module_uart_tx_buffer_end
+0x47bf mem_module_uarta_baud_rate
+0x47c1 mem_module_read_vdd_flag
+0x47c2 mem_module_read_vdd_count
+0x47c3 mem_module_vdd_quotient
+0x47c4 mem_module_vdd_remainder
+0x47c5 mem_module_ble_data_uart_max_length
+0x47c6 mem_module_flag
+0x47c8 mem_module_hci_notify_len
+0x47c9 mem_module_hci_notify_handle
+0x47cb mem_module_hci_nofiy_addr
+0x47cd mem_module_hci_notify_type
+0x47ce mem_last_transmite_clock
+0x47d2 mem_module_uuid_list
+0x48fe mem_module_uuid_list_end
+0x48fe mem_module_le_att_list
+0x4b56 mem_module_le_att_list_end
+0x4b56 mem_module_nv_data
+0x4b56 mem_module_nv_data0
+0x4b78 mem_module_nv_data1
+0x4b9a mem_module_nv_data2
+0x4bbc mem_module_nv_data3
+0x4bde mem_module_nv_data4
+0x4c00 mem_module_nv_data_end
+0x47a7 mem_shutter_bluetooth_type
+0x47a8 mem_shutter_config_eeprom_offset_addr
+0x47aa mem_shutter_config_eeprom_start_flag
+0x47ac mem_shutter_config_user_size
+0x47ad mem_shutter_config_label
+0x47ae mem_shutter_config_otp_addr
+0x47b0 mem_classic_shutter_cable_unplug_conut
+0x47b1 mem_classic_shutter_hid_disconn_count
+0x47b2 mem_classic_shutter_random_mac_offset_addr
+0x47b4 mem_ble_shutter_enable_notify
+0x47b5 mem_ble_shutter_reconn_adv_interval
+0x47b7 mem_ble_shutter_discovery_adv_interval
+0x47b9 mem_ble_shutter_reconn_timeout
+0x47bb mem_ble_shutter_reconn_timer
+0x47bd mem_ble_shutter_reconn_blink_on_time
+0x47bf mem_ble_shutter_reconn_blink_off_time
+0x47c1 mem_ble_shutter_discovery_blink_on_time
+0x47c3 mem_ble_shutter_discovery_blink_off_time
+0x47c5 mem_ble_shutter_interval_min
+0x47c7 mem_ble_shutter_interval_max
+0x47c9 mem_ble_shutter_latency
+0x47cb mem_ble_shutter_timeout
+0x47cd mem_ble_shutter_interval_min_new
+0x47cf mem_ble_shutter_interval_max_new
+0x47d1 mem_ble_shutter_latency_new
+0x47d3 mem_ble_shutter_timeout_new
+0x47d5 mem_classic_shutter_discovery_timeout
+0x47d7 mem_classic_shutter_connect_timeout
+0x47d9 mem_ble_shutter_discovery_timeout
+0x47db mem_ble_shutter_connect_timeout
+0x47dd mem_shutter_sleep_timeout
+0x47df mem_shutter_sleep_timer
+0x47e1 mem_shutter_hard_soft_switch_case
+0x47e2 mem_shutter_soft_switch_button_gpio
+0x47e3 mem_shutter_soft_switch_power_state
+0x47e4 mem_shutter_soft_switch_poweron_time
+0x47e5 mem_shutter_soft_switch_poweroff_time
+0x47e6 mem_shutter_soft_switch_poweron_callback_function
+0x47e8 mem_shutter_soft_switch_poweroff_callback_function
+0x47ea mem_shutter_keyscan
+0x47ea mem_shutter_key_num
+0x47eb mem_cb_shutter_keycan
+0x47ed mem_shutter_key_conf0
+0x47ee mem_shutter_key_conf1
+0x47ef mem_shutter_key_conf2
+0x47f0 mem_shutter_key_conf3
+0x47f1 mem_shutter_key_conf4
+0x47f2 mem_shutter_key_conf5
+0x47f3 mem_shutter_key_conf6
+0x47f4 mem_shutter_key_conf7
+0x47f5 mem_key0_press
+0x47fa mem_key1_press
+0x47ff mem_key2_press
+0x4804 mem_key3_press
+0x4809 mem_key4_press
+0x480e mem_key5_press
+0x4813 mem_key6_press
+0x4818 mem_key7_press
+0x481d mem_key0_release
+0x4822 mem_key1_release
+0x4827 mem_key2_release
+0x482c mem_key3_release
+0x4831 mem_key4_release
+0x4836 mem_key5_release
+0x483b mem_key6_release
+0x4840 mem_key7_release
+0x4845 mem_ble_data_buffer1
+0x484a mem_ble_data_buffer2
+0x484f mem_ble_data_buffer3
+0x4854 mem_ble_data_buffer4
+0x4859 mem_ble_data_buffer5
+0x485e mem_ble_data_buffer6
+0x4863 mem_ble_data_buffer7
+0x4868 mem_ble_data_buffer8
+0x486d mem_ble_data_buffer9_58
+0x489f mem_classic_data_buffer
+0x48a4 mem_classic_data_buffer1
+0x48a9 mem_classic_data_buffer2
+0x48ae mem_classic_data_buffer3
+0x48b3 mem_classic_data_buffer4
+0x48b8 mem_classic_data_buffer5
+0x48bd mem_classic_data_buffer6
+0x48c2 mem_classic_data_buffer7
+0x48c7 mem_classic_data_buffer8
+0x48cc mem_classic_data_buffer9_58
+0x48fe mem_queue_each_size
+0x48ff mem_queue_length
+0x4900 mem_queue_curr_num
+0x4901 mem_queue_read_ptr
+0x4902 mem_queue_write_ptr
+0x4903 mem_queue_ele
+0x4923 mem_shutter_nv_data
+0x49cd mem_shutter_led_struct_app_led
+0x49cd mem_shutter_led_struct_app_led_type
+0x49ce mem_shutter_led_struct_app_led_blink_count
+0x49cf mem_shutter_led_struct_app_led_gpio
+0x49d0 mem_shutter_led_struct_app_led_on_time
+0x49d2 mem_shutter_led_struct_app_led_off_time
+0x49d4 mem_shutter_led_struct_app_led_on_callback
+0x49d6 mem_shutter_led_struct_app_led_off_callback
+0x49d8 mem_shutter_power_off_led_style
+0x49d8 mem_shutter_power_off_led_style_type
+0x49d9 mem_shutter_power_off_led_style_blink_count
+0x49da mem_shutter_power_off_led_style_gpio
+0x49db mem_shutter_power_off_led_style_on_time
+0x49dd mem_shutter_power_off_led_style_off_time
+0x49df mem_shutter_power_off_led_style_on_callback
+0x49e1 mem_shutter_power_off_led_style_off_callback
+0x49e3 mem_shutter_soft_swtich_botton_down
+0x49e4 mem_shutter_soft_swtich_led_struct_temp
+0x49ef mem_shutter_power_off_timeout
+0x49f0 mem_shutter_power_off_timer
+0x49f1 mem_shutter_key_conf0_temp
+0x49f3 mem_shutter_led_struct_app_led_gpio_temp
+0x49f4 mem_shutter_hard_soft_switch_case_temp
+0x49f5 mem_shutter_soft_switch_button_gpio_temp
+0x49f6 mem_shutter_le_name_len
+0x49f7 mem_shutter_le_name
+
+0x4b61 mem_mesh_unsegmented_access_lower_transport_layer_head
+0x4b62 mem_mesh_unsegmented_access_lower_transport_layer_parameters
+0x4b6d mem_mesh_unsegmented_access_lower_transport_layer_mic
+0x4b61 mem_mesh_segmented_access_lower_transport_layer_head
+0x4b62 mem_mesh_segmented_access_lower_transport_layer_SZMIC_SeqZero_SegO_SegN
+0x4b65 mem_mesh_segmented_access_lower_transport_layer_parameters
+0x4b6d mem_mesh_segmented_access_lower_transport_layer_mic
+0x48e5 mem_k2_EncryptionKey
+0x48d5 mem_k2_PrivacyKey
Index: output/otp.dat
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/output/otp.dat	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/output/otp.dat	(working copy)
@@ -0,0 +1,8 @@
+00
+02
+aa
+55
+00
+00
+b3
+23
Index: output/program.lis
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/output/program.lis	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/output/program.lis	(working copy)
@@ -0,0 +1,40398 @@
+              include "bt_format "
+              org 0x0000
+0000 c0000004 beq patch00_0 ,p_soft_reset 
+0001 c0458023 beq patch11_3 ,p_initialize_radio_cont 
+0002 c0730016 beq patch1c_6 ,p_shutter_init 
+0003 2020137e branch loop 
+
+p_soft_reset:
+0004 20800000 clear_stack 
+0005 20400007 call p_app_param_init 
+0006 20200804 branch soft_reset + 3 
+
+p_app_param_init:
+0007 20403166 call app_param_init 
+0008 6fe0c09a fetch 1 ,mem_device_option 
+0009 c004800b beq dvc_op_shutter ,p_shutter_default_init 
+000a 20600000 rtn 
+
+p_shutter_default_init:
+000b 58000640 setarg 0x0640 
+000c 67e147b5 store 2 ,mem_ble_shutter_reconn_adv_interval 
+000d 58000640 setarg 0x0640 
+000e 67e147b7 store 2 ,mem_ble_shutter_discovery_adv_interval 
+000f 20758000 rtn wake 
+0010 58000002 setarg 0x0002 
+0011 67e147f5 store 2 ,mem_key0_press 
+0012 67e147fa store 2 ,mem_key1_press 
+0013 58010210 setarg 0x010210 
+0014 67e1c354 store 3 ,mem_le_pres_max_keysize 
+0015 20600000 rtn 
+
+p_shutter_init:
+0016 20404c25 call shutter_load_buffer_config_form_datarom 
+0017 6fe0c7e1 fetch 1 ,mem_shutter_hard_soft_switch_case 
+0018 c0004b4a beq hard_switch ,shutter_hart_swtich_power_on 
+0019 6fe0c7e2 fetch 1 ,mem_shutter_soft_switch_button_gpio 
+001a 67e0c793 store 1 ,mem_ui_button_gpio 
+
+p_ui_soft_swtich_init:
+001b 58000000 setarg ss_state_power_up 
+001c 20404c3c call ui_soft_swtich_init_power_on_time 
+001d 70478601 jam ui_button_state_up ,mem_ui_button_last_state 
+001e 20407826 call ui_button_init 
+001f 20407830 call ui_button_polling 
+0020 6fe08989 fetch 1 ,mem_wakup_from_power_flag 
+0021 c3014c48 bbit0 2 ,ui_soft_switch_power_on 
+0022 20204c39 branch ui_soft_swtich_init + 5 
+
+p_initialize_radio_cont:
+0023 20406e5e call enable_authrom 
+0024 7047da04 jam 0x04 ,mem_ble_shutter_discovery_timeout + 1 
+0025 7047dc0b jam 0x0b ,mem_ble_shutter_connect_timeout + 1 
+0026 708a0e0b jam 0x0b ,core_rf_ldo_cfg2 
+0027 708a0f05 jam 0x05 ,core_rf_ldo_cfg3 
+0028 708a8390 jam 0x90 ,core_syn_pfd_lkd_cfg 
+0029 20201252 branch initialize_radio_cont + 1 
+              org 0x800
+
+start:
+0800 204013e1 call lpmstate 
+
+soft_reset:
+0801 44804000 bpatch patch00_0 ,mem_patch00 
+0802 20800000 clear_stack 
+0803 20403166 call app_param_init 
+0804 20401246 call initialize_radio 
+0805 20405e33 call iic_init_360khz 
+0806 20401386 call init_param 
+0807 20404e25 call l2cap_init 
+0808 4480c000 bpatch patch00_1 ,mem_patch00 
+0809 20406323 call rfcomm_init 
+080a 204053df call init_lmp 
+080b 2040781f call ui_init 
+080c 20403150 call app_init 
+080d 44814000 bpatch patch00_2 ,mem_patch00 
+080e 2055b15d call app_lpm_init ,wake 
+080f 20406f0f call publickey_init 
+0810 20406f31 call sp_wait_pubkey_calc_done 
+0811 20559484 call lpm_recover_clk ,wake 
+
+main_loop:
+0812 4481c000 bpatch patch00_3 ,mem_patch00 
+0813 204070d7 call sp_calc_sequence 
+0814 20407602 call sp_calc_sequence_256 
+0815 20406f12 call sp_calc_sequence_256_check 
+0816 20401b3f call le_advertising_dispatch 
+0817 20400838 call idle_dispatch 
+0818 2040317b call app_process_idle 
+0819 44824000 bpatch patch00_4 ,mem_patch00 
+081a 20400890 call inquiry_dispatch 
+081b 20400b05 call inquiry_scan_dispatch 
+081c 20400b77 call page_scan_dispatch 
+081d 20400821 call connection_dispatch 
+081e 2040217e call g24_dispatch 
+081f 204014ac call lpm_dispatch 
+0820 20200812 branch main_loop 
+
+connection_dispatch:
+0821 20400826 call connection_incontext 
+0822 c6848000 rtnmark0 mark_context 
+0823 793f8009 set0 mark_context ,mark 
+0824 20400a30 call context_save 
+0825 2020165e branch le_disable 
+
+connection_incontext:
+0826 4482c000 bpatch patch00_5 ,mem_patch00 
+0827 20400a6b call context_search_insniff 
+0828 2422882f nbranch connection_nosniff ,zero 
+0829 20400a17 call context_load 
+082a 1a208c01 add rega ,coffset_mode ,contr 
+082b efe08006 ifetch 1 ,contr 
+082c c28015cb bbit1 mode_le ,le_conn_dispatch 
+082d c2808969 bbit1 mode_master ,master_dispatch 
+082e 20200bdc branch slave_dispatch 
+
+connection_nosniff:
+082f 20400a38 call context_get_next 
+0830 1f227c00 copy loopcnt ,null 
+0831 20628000 rtn zero 
+0832 20400a17 call context_load 
+0833 6fe08030 fetch 1 ,mem_state 
+0834 c28188d3 bbit1 state_inpage ,master_page 
+0835 6fe08031 fetch 1 ,mem_mode 
+0836 c2808969 bbit1 mode_master ,master_dispatch 
+0837 20200bdc branch slave_dispatch 
+
+idle_dispatch:
+0838 6fe0c1db fetch 1 ,mem_hci_cmd 
+0839 207a0000 rtn blank 
+083a c0008848 beq hci_cmd_inquiry ,idle_inquiry 
+083b c001084d beq hci_cmd_inquiry_cancel ,idle_inquiry_cancel 
+083c c0018850 beq hci_cmd_remote_name_req ,idle_remote_name_req 
+083d c0028855 beq hci_cmd_create_conn ,idle_create_conn 
+083e c00d8845 beq hci_cmd_le_create_conn ,idle_le_create_conn 
+083f 20400a64 call context_search_conn_handle 
+0840 20628000 rtn zero 
+0841 20400a67 call context_search_plap 
+0842 20628000 rtn zero 
+
+idle_exit:
+0843 7041db00 jam 0 ,mem_hci_cmd 
+0844 20600000 rtn 
+
+idle_le_create_conn:
+0845 7002e01b jam hci_cmd_le_create_conn ,mem_cmd_le_create_conn 
+0846 7041db00 jam 0 ,mem_hci_cmd 
+0847 20600000 rtn 
+
+idle_inquiry:
+0848 7920001c set1 mark_inquiry_on ,mark 
+0849 793f801e set0 mark_inquiry_trainb ,mark 
+084a 70008cff jam param_ninquiry ,mem_ninqy_index 
+084b 70008a1f jam 31 ,mem_nfreq_index_inq 
+084c 20200843 branch idle_exit 
+
+idle_inquiry_cancel:
+084d 793f801c set0 mark_inquiry_on ,mark 
+084e 18003600 force 0 ,stop_watch 
+084f 20200843 branch idle_exit 
+
+idle_remote_name_req:
+0850 20400a67 call context_search_plap 
+0851 20628000 rtn zero 
+0852 18000401 force lmp_name_req ,temp 
+0853 7000bd05 jam 5 ,mem_nameres_cnt 
+0854 2020085c branch idle_start_page 
+
+idle_create_conn:
+0855 44834000 bpatch patch00_6 ,mem_patch00 
+
+idle_create_conn_device:
+0856 6fe341dd fetch 6 ,mem_hci_plap 
+0857 20000001 nop 1 
+0858 70478e01 jam reconnect_hid ,memui_reconnect_mode 
+0859 70005503 jam conn_sm_wait_features_res ,mem_conn_sm 
+085a 2020085b branch idle_create_conn_cont 
+
+idle_create_conn_cont:
+085b 18000425 force lmp_version_req ,temp 
+
+idle_start_page:
+085c 4483c000 bpatch patch00_7 ,mem_patch00 
+085d 6fe080a7 fetch 1 ,mem_page_mode 
+085e 203a0862 branch idle_page_mode_r0 ,blank 
+085f 1fe9fe00 lshift3 pdata ,pdata 
+0860 1ff27e00 lshift4 pdata ,pdata 
+0861 1fe0ffff increase -1 ,pdata 
+
+idle_page_mode_r0:
+0862 67e0c0ae store 1 ,mem_npage 
+0863 67e080a6 store 1 ,mem_npage_index 
+0864 70008b1f jam 31 ,mem_nfreq_index_page 
+0865 793f800c set0 mark_page_trainb ,mark 
+0866 20400a48 call context_new 
+0867 24228884 nbranch idle_page_fail ,zero 
+0868 2040135f call get_free_amaddr 
+0869 67e08077 store 1 ,mem_amaddr 
+086a 6048807c storet 1 ,mem_lmo_opcode2 
+086b 6fe341dd fetch 6 ,mem_hci_plap 
+086c 67e30040 store 6 ,mem_plap 
+086d 44844001 bpatch patch01_0 ,mem_patch01 
+086e 20407de8 call timer_reinit 
+086f 6848807c fetcht 1 ,mem_lmo_opcode2 
+0870 18007e00 force 0 ,pdata 
+0871 2841fe01 compare lmp_name_req ,temp ,0xff 
+0872 7d20fe05 nsetflag true ,state_init_seq ,pdata 
+0873 79207e03 set1 state_inpage ,pdata 
+0874 67e08030 store 1 ,mem_state 
+0875 70095b03 jam bt_evt_reconn_started ,mem_fifo_temp 
+0876 204078dc call ui_ipc_send_event 
+0877 18007e00 force 0 ,pdata 
+0878 7920fe04 setflag true ,smap_name_req ,pdata 
+0879 67e0804c store 1 ,mem_state_map 
+087a 58000000 setarg 0 
+087b 79207e01 set1 mode_master ,pdata 
+087c 67e08031 store 1 ,mem_mode 
+087d 7834fc00 enable master 
+087e 20400a30 call context_save 
+087f 7854fc00 disable master 
+0880 18000e03 force page_length_timer ,queue 
+0881 6fe140c1 fetch 2 ,mem_page_to 
+0882 20407ddb call timer_init 
+0883 20200843 branch idle_exit 
+
+idle_page_fail:
+0884 4484c001 bpatch patch01_1 ,mem_patch01 
+0885 6fe341dd fetch 6 ,mem_hci_plap 
+0886 67e30040 store 6 ,mem_plap 
+0887 2841fe01 compare lmp_name_req ,temp ,0xff 
+0888 2020888a branch idle_name_fail ,true 
+0889 20200843 branch idle_exit 
+
+idle_name_fail:
+088a d8a00a01 arg mem_tmp_buffer ,contw 
+088b df200008 arg 8 ,loopcnt 
+088c 20407d8c call memset0 
+088d 70095b04 jam bt_evt_reconn_failed ,mem_fifo_temp 
+088e 204078dc call ui_ipc_send_event 
+088f 20200843 branch idle_exit 
+
+inquiry_dispatch:
+0890 c68e0000 rtnmark0 mark_inquiry_on 
+0891 18000e01 force inquiry_length_timer ,queue 
+0892 20407de9 call timer_check 
+0893 7d3a001c nsetflag blank ,mark_inquiry_on ,mark 
+0894 243a0896 nbranch inquiry_start ,blank 
+0895 20600000 rtn 
+
+inquiry_start:
+0896 44854001 bpatch patch01_2 ,mem_patch01 
+0897 684940c3 fetcht 2 ,mem_inq_window 
+0898 18000e04 force 4 ,queue 
+0899 20400f40 call sniff_check_window 
+089a 20740000 rtn user 
+089b 204010f6 call afh_clear 
+089c 18004800 force 0 ,freq_mode 
+
+inquiry_restart:
+089d 20618000 rtn timeout 
+089e 793f800b set0 mark_fhs_already_good ,mark 
+089f 793f8000 set0 mark_fhs_eir ,mark 
+
+inquiry_rx_restart:
+08a0 1c40c201 add clkn_bt ,1 ,bt_clk 
+08a1 280ffe1e isolate1 mark_inquiry_trainb ,mark 
+08a2 7920c802 setflag true ,2 ,freq_mode 
+08a3 2c200400 compare 0x00 ,bt_clk ,0x02 
+08a4 242088bf nbranch inquiry_receive ,true 
+
+inquiry_transmit:
+08a5 4485c001 bpatch patch01_3 ,mem_patch01 
+08a6 6fe08012 fetch 1 ,mem_inquiry_transmit 
+08a7 1fe0fe01 increase 1 ,pdata 
+08a8 67e08012 store 1 ,mem_inquiry_transmit 
+08a9 2040112a call fetch_giac 
+08aa 20401124 call tx_radio_freq 
+08ab 20401144 call fetch_diac 
+08ac 20401340 call start_transmitter 
+08ad 20401345 call start_tx_native 
+08ae 20401353 call send_access_word 
+08af 20400e7c call end_of_packet 
+08b0 204008b2 call inquiry_check_train 
+08b1 2020089d branch inquiry_restart 
+
+inquiry_check_train:
+08b2 44864001 bpatch patch01_4 ,mem_patch01 
+08b3 6fe0808a fetch 1 ,mem_nfreq_index_inq 
+08b4 1fe0ffff increase -1 ,pdata 
+08b5 67e0808a store 1 ,mem_nfreq_index_inq 
+08b6 20610000 rtn positive 
+08b7 70008a1f jam 31 ,mem_nfreq_index_inq 
+08b8 6fe0808c fetch 1 ,mem_ninqy_index 
+08b9 1fe0ffff increase -1 ,pdata 
+08ba 67e0808c store 1 ,mem_ninqy_index 
+08bb 20610000 rtn positive 
+08bc 7940001e setflip mark_inquiry_trainb ,mark 
+08bd 70008cff jam param_ninquiry ,mem_ninqy_index 
+08be 20600000 rtn 
+
+inquiry_receive:
+08bf 4486c001 bpatch patch01_5 ,mem_patch01 
+08c0 2040112a call fetch_giac 
+08c1 2040111e call rx_radio_freq 
+08c2 20401144 call fetch_diac 
+08c3 2040134a call start_rx_native 
+08c4 204012d5 call start_receiver 
+08c5 204012fb call wait_access_clkn_rt 
+08c6 202c08c9 branch inquiry_sync ,sync 
+08c7 204008b2 call inquiry_check_train 
+08c8 202008a0 branch inquiry_rx_restart 
+
+inquiry_sync:
+08c9 44874001 bpatch patch01_6 ,mem_patch01 
+08ca 2040127f call save_rssi 
+08cb 2040135b call scan_mode_whiten 
+08cc 20400d43 call receive_packet_whitened 
+08cd 793f8001 set0 mark_rxbuf_inuse ,mark 
+08ce c6858000 rtnmark0 mark_fhs_already_good 
+
+inquiry_receive_rtn:
+
+inquiry_receive_eir_rtn:
+08cf 6fe08013 fetch 1 ,mem_inquiry_rcv 
+08d0 1fe0fe01 increase 1 ,pdata 
+08d1 67e08013 store 1 ,mem_inquiry_rcv 
+08d2 20600000 rtn 
+
+master_page:
+08d3 4487c001 bpatch patch01_7 ,mem_patch01 
+08d4 7834fc00 enable master 
+08d5 78387c00 enable clknt 
+08d6 6fe140bd fetch 2 ,mem_page_interval 
+08d7 203a08db branch master_page_no_interval ,blank 
+08d8 18000e08 force page_interval_timer ,queue 
+08d9 20407de9 call timer_check 
+08da 247a0000 nrtn blank 
+
+master_page_no_interval:
+08db 44884002 bpatch patch02_0 ,mem_patch02 
+08dc 684940bf fetcht 2 ,mem_page_window 
+08dd 18000e28 force 40 ,queue 
+08de 20400f40 call sniff_check_window 
+08df 20340914 branch page_exit ,user 
+08e0 18000e03 force page_length_timer ,queue 
+08e1 20407de9 call timer_check 
+08e2 243a08f0 nbranch page_start ,blank 
+08e3 6fe0804c fetch 1 ,mem_state_map 
+08e4 c28208e6 bbit1 smap_name_req ,master_npage_timeout 
+08e5 202008e9 branch master_page_timeout 
+
+master_npage_timeout:
+08e6 d8a00a01 arg mem_tmp_buffer ,contw 
+08e7 df200008 arg 8 ,loopcnt 
+08e8 20407d8c call memset0 
+
+master_page_timeout:
+08e9 4488c002 bpatch patch02_1 ,mem_patch02 
+08ea 70003000 jam 0 ,mem_state 
+08eb 204053e0 call init_lmp_work 
+08ec 70478e00 jam 0 ,memui_reconnect_mode 
+08ed 70095b13 jam bt_evt_reconn_page_timeout ,mem_fifo_temp 
+08ee 204078dc call ui_ipc_send_event 
+08ef 20200914 branch page_exit 
+
+page_start:
+08f0 44894002 bpatch patch02_2 ,mem_patch02 
+08f1 18001600 force 0 ,timeup 
+08f2 34730200 until clkn_rt ,meet 
+08f3 6fe080a8 fetch 1 ,mem_page_clk 
+08f4 1fe0ffff increase -1 ,pdata 
+08f5 9c42fe00 ixor clkn_bt ,pdata 
+08f6 2fe00600 compare 0 ,pdata ,3 
+08f7 242088f0 nbranch page_start ,true 
+08f8 18827e00 deposit am_addr 
+08f9 67e080e5 store 1 ,mem_fhs_am_addr 
+08fa 18004c00 force 0 ,n_tx_slot 
+08fb 18004800 force 0 ,freq_mode 
+
+page_restart:
+08fc 4489c002 bpatch patch02_3 ,mem_patch02 
+08fd 20218914 branch page_exit ,timeout 
+08fe 2040112e call fetch_page_bt_adr 
+08ff 69610157 fetchr timeup ,2 ,mem_param_rf_setup 
+0900 34730200 until clkn_rt ,meet 
+
+page_rx_restart:
+0901 448a4002 bpatch patch02_4 ,mem_patch02 
+0902 6fe200a8 fetch 4 ,mem_page_clk 
+0903 98004200 iforce bt_clk 
+0904 1fe0fe01 increase 1 ,pdata 
+0905 67e200a8 store 4 ,mem_page_clk 
+0906 280ffe0c isolate1 mark_page_trainb ,mark 
+0907 7920c802 setflag true ,2 ,freq_mode 
+0908 2c200400 compare 0x00 ,bt_clk ,0x02 
+0909 24208928 nbranch page_receive ,true 
+090a 6fe0800c fetch 1 ,mem_page_transmit 
+090b 1fe0fe01 increase 1 ,pdata 
+090c 67e0800c store 1 ,mem_page_transmit 
+090d 20401124 call tx_radio_freq 
+090e 20401340 call start_transmitter 
+090f 20401345 call start_tx_native 
+0910 20401353 call send_access_word 
+0911 20400e7c call end_of_packet 
+0912 2040091a call page_check_train 
+0913 202008fc branch page_restart 
+
+page_exit:
+0914 448ac002 bpatch patch02_5 ,mem_patch02 
+0915 7854fc00 disable master 
+0916 6fe140bd fetch 2 ,mem_page_interval 
+0917 207a0000 rtn blank 
+0918 18000e08 force page_interval_timer ,queue 
+0919 20207ddb branch timer_init 
+
+page_check_train:
+091a 448b4002 bpatch patch02_6 ,mem_patch02 
+091b 6fe0808b fetch 1 ,mem_nfreq_index_page 
+091c 1fe0ffff increase -1 ,pdata 
+091d 67e0808b store 1 ,mem_nfreq_index_page 
+091e 20610000 rtn positive 
+091f 70008b1f jam 31 ,mem_nfreq_index_page 
+0920 6fe080a6 fetch 1 ,mem_npage_index 
+0921 1fe0ffff increase -1 ,pdata 
+0922 67e080a6 store 1 ,mem_npage_index 
+0923 20610000 rtn positive 
+0924 7940000c setflip mark_page_trainb ,mark 
+0925 6fe0c0ae fetch 1 ,mem_npage 
+0926 67e080a6 store 1 ,mem_npage_index 
+0927 20600000 rtn 
+
+page_receive:
+0928 448bc002 bpatch patch02_7 ,mem_patch02 
+0929 2040111e call rx_radio_freq 
+092a 2040134a call start_rx_native 
+092b 204012d5 call start_receiver 
+092c 204012fb call wait_access_clkn_rt 
+092d 202c0930 branch page_sync ,sync 
+092e 2040091a call page_check_train 
+092f 20200901 branch page_rx_restart 
+
+page_sync:
+0930 20400e7c call end_of_packet 
+0931 6fe0800d fetch 1 ,mem_page_rcv 
+0932 1fe0fe01 increase 1 ,pdata 
+0933 67e0800d store 1 ,mem_page_rcv 
+0934 18003600 force 0 ,stop_watch 
+0935 6fe200a8 fetch 4 ,mem_page_clk 
+
+page_send_fhs:
+0936 448c4003 bpatch patch03_0 ,mem_patch03 
+0937 2040133e call rf_setup_time_master_slot 
+0938 2040112e call fetch_page_bt_adr 
+0939 1cc0cc01 increase 1 ,n_tx_slot 
+
+page_send_fhs_continue:
+093a 1c2143fd and_into 0x1fd ,bt_clk 
+093b 1c8149fc and_into 0x1fc ,freq_mode 
+093c 20401124 call tx_radio_freq 
+093d 20401340 call start_transmitter 
+093e 20401345 call start_tx_native 
+093f 20401353 call send_access_word 
+0940 1c427e00 deposit clkn_bt 
+0941 67e200b0 store 4 ,mem_clkn_bt 
+0942 18000800 force 0 ,am_addr 
+0943 18000202 force type_fhs ,type 
+0944 2040135b call scan_mode_whiten 
+0945 20400f8a call transmit_packet_whitened 
+
+page_wait_fhs_reply:
+0946 448cc003 bpatch patch03_1 ,mem_patch03 
+0947 2040133c call rf_setup_time_slave_slot 
+0948 1c21c202 or_into 0x02 ,bt_clk 
+0949 1c8149fc and_into 0x1fc ,freq_mode 
+094a 2040111e call rx_radio_freq 
+094b 2040134a call start_rx_native 
+094c 204012d5 call start_receiver 
+094d 204012fb call wait_access_clkn_rt 
+094e 204c0e7c call end_of_packet ,sync 
+094f 202c0955 branch page_wait_fhs_reply_ok ,sync 
+0950 6fe08010 fetch 1 ,mem_fhs_wait_counter 
+0951 203a08fc branch page_restart ,blank 
+0952 1fe0ffff increase -1 ,pdata 
+0953 67e08010 store 1 ,mem_fhs_wait_counter 
+0954 20200936 branch page_send_fhs 
+
+page_wait_fhs_reply_ok:
+0955 448d4003 bpatch patch03_2 ,mem_patch03 
+0956 6fe0800e fetch 1 ,mem_page_rcv_fhs 
+0957 1fe0fe01 increase 1 ,pdata 
+0958 67e0800e store 1 ,mem_page_rcv_fhs 
+0959 20400c42 call prepare_newconn 
+
+master_newconn_loop:
+095a 79200033 set1 mark_first_packet ,mark 
+095b 20400aff call master_newconn_once 
+095c 202c0961 branch newconn_poll_responded ,sync 
+095d 793f8033 set0 mark_first_packet ,mark 
+095e 20400c62 call new_conn_timeout 
+095f 243a095a nbranch master_newconn_loop ,blank 
+0960 202008fc branch page_restart 
+
+newconn_poll_responded:
+0961 448dc003 bpatch patch03_3 ,mem_patch03 
+0962 793f8033 set0 mark_first_packet ,mark 
+0963 6fe08030 fetch 1 ,mem_state 
+0964 793ffe03 set0 state_inpage ,pdata 
+0965 67e08030 store 1 ,mem_state 
+0966 20400c4d call newconn_init 
+0967 7854fc00 disable master 
+0968 20600000 rtn 
+
+master_dispatch:
+0969 448e4003 bpatch patch03_4 ,mem_patch03 
+096a 7834fc00 enable master 
+096b 78387c00 enable clknt 
+096c 204009e3 call role_switch_master 
+096d 20740000 rtn user 
+096e 2040133e call rf_setup_time_master_slot 
+096f 1c40c201 add clkn_bt ,1 ,bt_clk 
+0970 20401134 call fetch_self_bt_adr 
+0971 18004803 force 0x03 ,freq_mode 
+0972 204065e1 call scheduler_tx_l2cap_pkt 
+0973 20400c96 call prepare_tx 
+0974 20401124 call tx_radio_freq 
+0975 20401340 call start_transmitter 
+0976 20401345 call start_tx_native 
+0977 20401353 call send_access_word 
+0978 20400f86 call transmit_packet 
+
+master_loop:
+0979 448ec003 bpatch patch03_5 ,mem_patch03 
+097a 204053f2 call parse_lmp 
+097b 20400af1 call master_conn_recv_packet 
+097c 24368982 nbranch master_notmatch ,match 
+097d 20401378 call supervision_flush 
+097e 20400f4c call parse_l2cap 
+097f 6fe0800f fetch 1 ,mem_master_rcvcnt 
+0980 1fe0fe01 increase 1 ,pdata 
+0981 67e0800f store 1 ,mem_master_rcvcnt 
+
+master_notmatch:
+0982 448f4003 bpatch patch03_6 ,mem_patch03 
+0983 204065c9 call scheduler_process 
+0984 2040098d call check_master_disconnect 
+0985 24748000 nrtn master 
+0986 20400f1c call check_attempt 
+0987 243a098a nbranch master_attempt ,blank 
+
+master_exit:
+0988 7854fc00 disable master 
+0989 20600000 rtn 
+
+master_attempt:
+098a 20400c96 call prepare_tx 
+098b 20400ae7 call master_conn_send_packet 
+098c 20200979 branch master_loop 
+
+check_master_disconnect:
+098d 20368990 branch check_master_match ,match 
+098e 2040136f call supervision_update 
+098f 2021099e branch master_disconnect ,positive 
+
+check_master_match:
+0990 204009a9 call check_disconnect_timeout 
+0991 2434099e nbranch master_disconnect ,user 
+0992 6fe0804c fetch 1 ,mem_state_map 
+0993 c4020000 rtnbit0 smap_name_req 
+0994 c3818000 rtnbit1 smap_name_res 
+0995 6fe0804b fetch 1 ,mem_op 
+0996 c3818000 rtnbit1 op_disconn 
+0997 204009b0 call conn_timer_expired 
+0998 247a0000 nrtn blank 
+0999 6fe080bd fetch 1 ,mem_nameres_cnt 
+099a 1fe0ffff increase -1 ,pdata 
+099b 67e080bd store 1 ,mem_nameres_cnt 
+099c 247a0000 nrtn blank 
+099d 20205755 branch lmp_disconnect 
+
+master_disconnect:
+099e 448fc003 bpatch patch03_7 ,mem_patch03 
+099f 20400c6a call quit_connection 
+09a0 7854fc00 disable master 
+09a1 6fe0804c fetch 1 ,mem_state_map 
+09a2 c28209a4 bbit1 smap_name_req ,master_name_disconnect 
+09a3 20600000 rtn 
+
+master_name_disconnect:
+09a4 6fe0804c fetch 1 ,mem_state_map 
+09a5 c3818000 rtnbit1 smap_name_res 
+
+master_name_error:
+09a6 d8a00a01 arg mem_tmp_buffer ,contw 
+09a7 df200008 arg 8 ,loopcnt 
+09a8 20207d8c branch memset0 
+
+check_disconnect_timeout:
+09a9 44904004 bpatch patch04_0 ,mem_patch04 
+09aa 78347c00 enable user 
+09ab 6fe0804b fetch 1 ,mem_op 
+09ac c4018000 rtnbit0 op_disconn 
+09ad 204009b0 call conn_timer_expired 
+09ae 247a0000 nrtn blank 
+09af 20207ec7 branch disable_user 
+
+conn_timer_expired:
+09b0 6fe08072 fetch 1 ,mem_conn_timer 
+09b1 1fe0ffff increase -1 ,pdata 
+09b2 67e08072 store 1 ,mem_conn_timer 
+09b3 20600000 rtn 
+
+linkkey_ready:
+09b4 4490c004 bpatch patch04_1 ,mem_patch04 
+09b5 6fe08030 fetch 1 ,mem_state 
+09b6 c28389bd bbit1 state_linkkey ,linkkey_set 
+09b7 6fe08877 fetch 1 ,mem_pairing_auth 
+09b8 203a09bd branch linkkey_set ,blank 
+09b9 70087700 jam defalt_pairing_auth ,mem_pairing_auth 
+09ba 70095b18 jam bt_evt_linkkey_generate ,mem_fifo_temp 
+09bb 204078dc call ui_ipc_send_event 
+09bc 202009bd branch linkkey_set 
+
+linkkey_set:
+09bd 44914004 bpatch patch04_2 ,mem_patch04 
+09be 20400a61 call context_traverse_linkkey 
+09bf 6fe08030 fetch 1 ,mem_state 
+09c0 79207e07 set1 state_linkkey ,pdata 
+09c1 67e08030 store 1 ,mem_state 
+09c2 7041ca01 jam 1 ,mem_link_key_exists 
+09c3 6fe08055 fetch 1 ,mem_conn_sm 
+09c4 c08b09c5 bne conn_sm_pairing ,linkkey_set_continue 
+
+linkkey_set_continue:
+09c5 20600000 rtn 
+
+generate_linkkey_continue:
+09c6 70087701 jam pairing_auth ,mem_pairing_auth 
+
+clear_linkstate:
+09c7 6fe08030 fetch 1 ,mem_state 
+09c8 793ffe07 set0 state_linkkey ,pdata 
+09c9 67e08030 store 1 ,mem_state 
+09ca 20600000 rtn 
+
+role_switch_check:
+09cb 4491c004 bpatch patch04_3 ,mem_patch04 
+09cc 78547c00 disable user 
+09cd 6fe10032 fetch 2 ,mem_tsniff 
+09ce d840ffff arg 0xffff ,temp 
+09cf 98467c00 isub temp ,null 
+09d0 24628000 nrtn zero 
+09d1 6fe20034 fetch 4 ,mem_sniff_anchor 
+09d2 203809d5 branch role_switch_clkn ,clknt 
+09d3 9d067e00 isub clke_bt ,pdata 
+09d4 202009d6 branch role_switch_clke 
+
+role_switch_clkn:
+09d5 9c467e00 isub clkn_bt ,pdata 
+
+role_switch_clke:
+09d6 1fe67c04 sub pdata ,4 ,null 
+09d7 24610000 nrtn positive 
+09d8 18007e00 force 0 ,pdata 
+09d9 67e10032 store 2 ,mem_tsniff 
+09da 20207ec5 branch enable_user 
+
+role_switch_prepare:
+09db 1fe20400 copy pdata ,temp 
+09dc 604a0034 storet 4 ,mem_sniff_anchor 
+
+role_switch_prepare0:
+09dd 44924004 bpatch patch04_4 ,mem_patch04 
+09de 70464501 jam switch_flag_accept ,mem_switch_flag 
+09df 5800ffff setarg 0xffff 
+09e0 67e10032 store 2 ,mem_tsniff 
+09e1 70007301 jam 1 ,mem_sniff_attempt 
+09e2 20600000 rtn 
+
+role_switch_master:
+09e3 4492c004 bpatch patch04_5 ,mem_patch04 
+09e4 204009cb call role_switch_check 
+09e5 24740000 nrtn user 
+09e6 78547c00 disable user 
+09e7 70001120 jam param_newconnto ,mem_newconnto_counter 
+09e8 793f800b set0 mark_fhs_already_good ,mark 
+09e9 793f8031 set0 mark_role_switch_receive_fhs ,mark 
+
+roles_waitfhs_loop:
+09ea 2040133e call rf_setup_time_master_slot 
+09eb 20400af3 call master_recv_packet 
+09ec c50589f8 bmark1 mark_fhs_already_good ,roles_replyto_fhs 
+09ed 20400c62 call new_conn_timeout 
+09ee 243a09ea nbranch roles_waitfhs_loop ,blank 
+09ef c5188a02 bmark1 mark_role_switch_receive_fhs ,roles_replyto_fhs_rcvd 
+
+role_switch_fail_master:
+09f0 44934004 bpatch patch04_6 ,mem_patch04 
+09f1 78547c00 disable user 
+09f2 1c427e00 deposit clkn_bt 
+09f3 67e240d1 store 4 ,mem_next_btclk 
+09f4 78387c00 enable clknt 
+09f5 7834fc00 enable master 
+09f6 70095b2a jam bt_evt_switch_fail_master ,mem_fifo_temp 
+09f7 202078dc branch ui_ipc_send_event 
+
+roles_replyto_fhs:
+09f8 4493c004 bpatch patch04_7 ,mem_patch04 
+09f9 2040133c call rf_setup_time_slave_slot 
+09fa d8200010 arg type_id ,type 
+09fb 20400ae9 call master_send_packet 
+09fc 79200031 set1 mark_role_switch_receive_fhs ,mark 
+09fd 793f800b set0 mark_fhs_already_good ,mark 
+09fe 6fe08077 fetch 1 ,mem_amaddr 
+09ff 98000800 iforce am_addr 
+0a00 70001102 jam 2 ,mem_newconnto_counter 
+0a01 202009ea branch roles_waitfhs_loop 
+
+roles_replyto_fhs_rcvd:
+0a02 6fe200b4 fetch 4 ,mem_clke_bt 
+0a03 1fe0fe08 pincrease 8 
+0a04 67e200b4 store 4 ,mem_clke_bt 
+0a05 78587c00 disable clknt 
+0a06 7854fc00 disable master 
+0a07 20401035 call apply_switch_clke 
+0a08 20400c42 call prepare_newconn 
+
+roles_newconns_loop:
+0a09 44944005 bpatch patch05_0 ,mem_patch05 
+0a0a 20400c89 call slave_newconn_once 
+0a0b 20368a0f branch roles_newconns_responded ,match 
+0a0c 20400c62 call new_conn_timeout 
+0a0d 243a0a09 nbranch roles_newconns_loop ,blank 
+0a0e 202009f0 branch role_switch_fail_master 
+
+roles_newconns_responded:
+0a0f 6fe08031 fetch 1 ,mem_mode 
+0a10 793ffe01 set0 mode_master ,pdata 
+0a11 67e08031 store 1 ,mem_mode 
+0a12 20401378 call supervision_flush 
+0a13 2040105d call calc_clke_offset 
+0a14 78347c00 enable user 
+0a15 70095b2b jam bt_evt_switch_success_master ,mem_fifo_temp 
+0a16 202078dc branch ui_ipc_send_event 
+
+context_load:
+0a17 4494c005 bpatch patch05_1 ,mem_patch05 
+0a18 79200009 set1 mark_context ,mark 
+0a19 1a227e00 deposit rega 
+0a1a 67e1001e store 2 ,mem_context_ptr 
+0a1b 18007258 force context_size ,loopcnt 
+0a1c d8a00287 arg mem_le_state ,contw 
+0a1d 1a208c01 add rega ,coffset_mode ,contr 
+0a1e efe08006 ifetch 1 ,contr 
+0a1f 1a220c00 copy rega ,contr 
+0a20 c2807dd4 bbit1 mode_le ,memcpy 
+0a21 d8a00030 arg mem_state ,contw 
+0a22 20407dd4 call memcpy 
+0a23 78577c00 disable attempt 
+0a24 6fe08077 fetch 1 ,mem_amaddr 
+0a25 98000800 iforce am_addr 
+0a26 70008801 jam 1 ,mem_current_sniff_attempt 
+0a27 20348a29 branch context_load_master ,master 
+0a28 70008801 jam 1 ,mem_current_sniff_attempt 
+
+context_load_master:
+0a29 6fe08030 fetch 1 ,mem_state 
+0a2a c4008000 rtnbit0 state_insniff 
+0a2b 6fe08073 fetch 1 ,mem_sniff_attempt 
+0a2c 67e08088 store 1 ,mem_current_sniff_attempt 
+0a2d 6fe08074 fetch 1 ,mem_sniff_timeout 
+0a2e 67e08089 store 1 ,mem_current_sniff_timeout 
+0a2f 20600000 rtn 
+
+context_save:
+0a30 44954005 bpatch patch05_2 ,mem_patch05 
+0a31 6fe1001e fetch 2 ,mem_context_ptr 
+0a32 98000a00 iforce contw 
+0a33 18007258 force context_size ,loopcnt 
+0a34 d8c00287 arg mem_le_state ,contr 
+0a35 203b7dd4 branch memcpy ,le 
+0a36 d8c00030 arg mem_state ,contr 
+0a37 20207dd4 branch memcpy 
+
+context_get_next:
+0a38 df200001 arg context_num ,loopcnt 
+0a39 68488015 fetcht 1 ,mem_current_context 
+
+context_get_next_loop:
+0a3a 18408401 increase 1 ,temp 
+0a3b 2841fe01 compare context_num ,temp ,0xff 
+0a3c 24208a3e nbranch context_get_next_cont ,true 
+0a3d d8400000 arg 0 ,temp 
+
+context_get_next_cont:
+0a3e 60488015 storet 1 ,mem_current_context 
+0a3f 184ffe58 mul32 temp ,context_size ,pdata 
+0a40 da204040 arg mem_context ,rega 
+0a41 9a20a200 iadd rega ,rega 
+0a42 efe08011 ifetch 1 ,rega 
+0a43 c2808a46 bbit1 state_insniff ,context_get_next_sniff 
+0a44 c3800000 rtnbit1 state_inconn 
+0a45 c3818000 rtnbit1 state_inpage 
+
+context_get_next_sniff:
+0a46 c2000a3a loop context_get_next_loop 
+0a47 20600000 rtn 
+
+context_new:
+0a48 4495c005 bpatch patch05_3 ,mem_patch05 
+0a49 da600a77 arg context_search_empty ,regc 
+0a4a 20400a6e call context_search 
+0a4b 24628000 nrtn zero 
+0a4c 1a227e00 deposit rega 
+0a4d 67e1001e store 2 ,mem_context_ptr 
+0a4e 18007c00 force 0 ,null 
+0a4f 20600000 rtn 
+
+context_check_all_wack:
+0a50 20400f49 call check_esco_amaddr 
+0a51 20208a58 branch context_check_esco_wack ,true 
+0a52 6fe1001e fetch 2 ,mem_context_ptr 
+0a53 1fe08a17 add pdata ,coffset_arq ,contw 
+0a54 6fe08047 fetch 1 ,mem_arq 
+0a55 e7e08005 istore 1 ,contw 
+0a56 da600ab7 arg context_check_a_wack ,regc 
+0a57 20200a6e branch context_search 
+
+context_check_esco_wack:
+0a58 6fe08047 fetch 1 ,mem_arq 
+0a59 2feffe03 isolate1 wack ,pdata 
+0a5a 20208a5d branch context_esco_wack ,true 
+0a5b 18007c01 force 1 ,null 
+0a5c 20600000 rtn 
+
+context_esco_wack:
+0a5d 18007c00 force 0 ,null 
+0a5e 20600000 rtn 
+
+context_check_idle:
+0a5f da600ab4 arg context_check_inconn ,regc 
+0a60 20200a6e branch context_search 
+
+context_traverse_linkkey:
+0a61 6849001e fetcht 2 ,mem_context_ptr 
+0a62 da600adc arg context_traverse_clearkey ,regc 
+0a63 20200a6e branch context_search 
+
+context_search_conn_handle:
+0a64 6848c1dc fetcht 1 ,mem_hci_conn_handle 
+
+context_search_conn_handle2:
+0a65 da600a82 arg context_search_handle ,regc 
+0a66 20200a6e branch context_search 
+
+context_search_plap:
+0a67 44964005 bpatch patch05_4 ,mem_patch05 
+0a68 684b41dd fetcht 6 ,mem_hci_plap 
+
+context_search_plap2:
+0a69 da600a7b arg context_search_lap ,regc 
+0a6a 20200a6e branch context_search 
+
+context_search_insniff:
+0a6b da600a88 arg context_search_sniff ,regc 
+0a6c 20200a6e branch context_search 
+
+context_search_sniff_window:
+0a6d da600ad3 arg context_search_window ,regc 
+
+context_search:
+0a6e 4496c005 bpatch patch05_5 ,mem_patch05 
+0a6f da204040 arg mem_context ,rega 
+0a70 df200001 arg context_num ,loopcnt 
+
+context_search_loop:
+0a71 efe08011 ifetch 1 ,rega 
+0a72 1a627a00 copy regc ,pc 
+
+context_search_next:
+0a73 1a20a258 increase context_size ,rega 
+0a74 c2000a71 loop context_search_loop 
+0a75 18007c01 force 1 ,null 
+0a76 20600000 rtn 
+
+context_search_empty:
+0a77 c2800a73 bbit1 state_inconn ,context_search_next 
+0a78 c2818a73 bbit1 state_inpage ,context_search_next 
+0a79 18007c00 force 0 ,null 
+0a7a 20600000 rtn 
+
+context_search_lap:
+0a7b c2818a7d bbit1 state_inpage ,context_search_lap_cont 
+0a7c c3000a73 bbit0 state_inconn ,context_search_next 
+
+context_search_lap_cont:
+0a7d 1a208c10 add rega ,coffset_plap ,contr 
+0a7e efe30006 ifetch 6 ,contr 
+0a7f 98467c00 isub temp ,null 
+0a80 20628000 rtn zero 
+0a81 20200a73 branch context_search_next 
+
+context_search_handle:
+0a82 c3000a73 bbit0 state_inconn ,context_search_next 
+0a83 1a208c16 add rega ,coffset_conn_handle ,contr 
+0a84 efe08006 ifetch 1 ,contr 
+0a85 98467c00 isub temp ,null 
+0a86 20628000 rtn zero 
+0a87 20200a73 branch context_search_next 
+
+context_search_sniff:
+0a88 c3008a73 bbit0 state_insniff ,context_search_next 
+
+context_search_sniff_loop:
+0a89 20400ac0 call context_get_anchor 
+0a8a 20400aa4 call sign_pdata_temp 
+0a8b 98467e00 isub temp ,pdata 
+0a8c 1fe0fe01 increase 1 ,pdata 
+0a8d 20210a9e branch context_search_sniff_miss ,positive 
+0a8e 18c22400 copy contr ,regb 
+0a8f 67e48964 store 9 ,mem_temp 
+0a90 6fe0c6bd fetch 1 ,mem_sc_calc 
+0a91 243a0a96 nbranch context_search_sniff_sc ,blank 
+0a92 6fe48964 fetch 9 ,mem_temp 
+0a93 1a420c00 copy regb ,contr 
+0a94 1fe0fe05 increase 5 ,pdata 
+0a95 20200a99 branch context_search_meet1 
+
+context_search_sniff_sc:
+0a96 6fe48964 fetch 9 ,mem_temp 
+0a97 1a420c00 copy regb ,contr 
+0a98 1fe0fe14 increase 20 ,pdata 
+
+context_search_meet1:
+0a99 24210a73 nbranch context_search_next ,positive 
+
+context_search_meet:
+0a9a 18424200 copy temp ,bt_clk 
+0a9b 20400acc call context_next_anchor 
+0a9c 18007c00 force 0 ,null 
+0a9d 20600000 rtn 
+
+context_search_sniff_miss:
+0a9e 98002400 iforce regb 
+0a9f 1a208c02 add rega ,coffset_tsniff ,contr 
+0aa0 efe10006 ifetch 2 ,contr 
+0aa1 203a0a9a branch context_search_meet ,blank 
+0aa2 20400acc call context_next_anchor 
+0aa3 20200a89 branch context_search_sniff_loop 
+
+sign_pdata_temp:
+0aa4 1ff11600 rshift16 pdata ,timeup 
+0aa5 196c9600 rshift8 timeup ,timeup 
+0aa6 20228aae branch sign_pdata_temp_p0 ,zero 
+0aa7 29601e0f compare 0xf ,timeup ,0xf 
+0aa8 24608000 nrtn true 
+0aa9 18511600 rshift16 temp ,timeup 
+0aaa 196c9600 rshift8 timeup ,timeup 
+0aab 24628000 nrtn zero 
+0aac 7920041c set1 28 ,temp 
+0aad 20600000 rtn 
+
+sign_pdata_temp_p0:
+0aae 18511600 rshift16 temp ,timeup 
+0aaf 196c9600 rshift8 timeup ,timeup 
+0ab0 29601e0f compare 0xf ,timeup ,0xf 
+0ab1 24608000 nrtn true 
+0ab2 79207e1c set1 28 ,pdata 
+0ab3 20600000 rtn 
+
+context_check_inconn:
+0ab4 c3000a73 bbit0 state_inconn ,context_search_next 
+0ab5 18007c00 force 0 ,null 
+0ab6 20600000 rtn 
+
+context_check_a_wack:
+0ab7 c3000a73 bbit0 state_inconn ,context_search_next 
+0ab8 1a208c01 add rega ,coffset_mode ,contr 
+0ab9 efe08006 ifetch 1 ,contr 
+0aba c2800a73 bbit1 mode_le ,context_search_next 
+0abb 1a208c17 add rega ,coffset_arq ,contr 
+0abc efe08006 ifetch 1 ,contr 
+0abd c3018a73 bbit0 wack ,context_search_next 
+0abe 18007c00 force 0 ,null 
+0abf 20600000 rtn 
+
+context_get_anchor:
+0ac0 1a208c01 add rega ,coffset_mode ,contr 
+0ac1 e8408006 ifetcht 1 ,contr 
+0ac2 1c427e00 deposit clkn_bt 
+0ac3 284ffe01 isolate1 mode_master ,temp 
+0ac4 1a208c04 add rega ,coffset_sniff_anchor ,contr 
+0ac5 e8420006 ifetcht 4 ,contr 
+0ac6 20608000 rtn true 
+0ac7 1a208c08 add rega ,coffset_clk_offset ,contr 
+0ac8 efe30006 ifetch 6 ,contr 
+0ac9 20401073 call calc_clke2 
+0aca 1d027e00 deposit clke_bt 
+0acb 20600000 rtn 
+
+context_next_anchor:
+0acc 1a208c02 add rega ,coffset_tsniff ,contr 
+0acd 1a208a04 add rega ,coffset_sniff_anchor ,contw 
+0ace efe10006 ifetch 2 ,contr 
+0acf 98409600 iadd temp ,timeup 
+0ad0 19627e00 deposit timeup 
+0ad1 e7e20005 istore 4 ,contw 
+0ad2 202016b1 branch le_context_nextevent 
+
+context_search_window:
+0ad3 c3008a73 bbit0 state_insniff ,context_search_next 
+0ad4 20400ac0 call context_get_anchor 
+0ad5 9b60fe00 iadd stop_watch ,pdata 
+0ad6 9b60fe00 iadd stop_watch ,pdata 
+0ad7 98e0fe00 iadd queue ,pdata 
+0ad8 98467c00 isub temp ,null 
+0ad9 24210a73 nbranch context_search_next ,positive 
+0ada 18007c00 force 0 ,null 
+0adb 20600000 rtn 
+
+context_traverse_clearkey:
+0adc c3000a73 bbit0 state_inconn ,context_search_next 
+0add 18427e00 deposit temp 
+0ade 9a267c00 isub rega ,null 
+0adf 203f0a73 branch context_search_next ,null 
+0ae0 1a208c01 add rega ,coffset_mode ,contr 
+0ae1 efe08006 ifetch 1 ,contr 
+0ae2 c2800a73 bbit1 mode_le ,context_search_next 
+0ae3 efe08011 ifetch 1 ,rega 
+0ae4 793ffe07 set0 state_linkkey ,pdata 
+0ae5 e7e08011 istore 1 ,rega 
+0ae6 20200a73 branch context_search_next 
+
+master_conn_send_packet:
+0ae7 44974005 bpatch patch05_6 ,mem_patch05 
+0ae8 2040133e call rf_setup_time_master_slot 
+
+master_send_packet:
+0ae9 1c40c201 add clkn_bt ,1 ,bt_clk 
+0aea 20401134 call fetch_self_bt_adr 
+0aeb 18004803 force 0x03 ,freq_mode 
+0aec 20401124 call tx_radio_freq 
+0aed 20401340 call start_transmitter 
+0aee 20401345 call start_tx_native 
+0aef 20401353 call send_access_word 
+0af0 20200f86 branch transmit_packet 
+
+master_conn_recv_packet:
+0af1 4497c005 bpatch patch05_7 ,mem_patch05 
+0af2 2040133c call rf_setup_time_slave_slot 
+
+master_recv_packet:
+0af3 1c40c201 add clkn_bt ,1 ,bt_clk 
+0af4 20401134 call fetch_self_bt_adr 
+0af5 18004803 force 0x03 ,freq_mode 
+0af6 2040111e call rx_radio_freq 
+0af7 20400c37 call init_rx_packet_flags 
+0af8 204012da call prep_crypt 
+0af9 2040134a call start_rx_native 
+0afa 204012d5 call start_receiver 
+
+master_rx_conn_finish_packet:
+0afb 204012fb call wait_access_clkn_rt 
+0afc 246c0000 nrtn sync 
+0afd 2040127f call save_rssi 
+0afe 20200d40 branch receive_packet 
+
+master_newconn_once:
+0aff 44984006 bpatch patch06_0 ,mem_patch06 
+0b00 6fe080e5 fetch 1 ,mem_fhs_am_addr 
+0b01 98000800 iforce am_addr 
+0b02 18000201 force type_poll ,type 
+0b03 20400ae7 call master_conn_send_packet 
+0b04 20200af1 branch master_conn_recv_packet 
+
+inquiry_scan_dispatch:
+0b05 6fe0c09b fetch 1 ,mem_scan_mode 
+0b06 c4000000 rtnbit0 inq_scan_mode 
+0b07 18000e04 force iscan_interval_timer ,queue 
+0b08 20407de9 call timer_check 
+0b09 247a0000 nrtn blank 
+0b0a 684940b5 fetcht 2 ,mem_iscan_window 
+0b0b 18000e04 force 4 ,queue 
+0b0c 20400f40 call sniff_check_window 
+0b0d 20740000 rtn user 
+0b0e 20400b15 call inquiry_scan_start 
+0b0f 18000e04 force iscan_interval_timer ,queue 
+0b10 6fe140b7 fetch 2 ,mem_iscan_interval 
+0b11 242c7ddb nbranch timer_init ,sync 
+0b12 180a7e00 random pdata 
+0b13 9ea17e00 iand mask3ff ,pdata 
+0b14 20207ddb branch timer_init 
+
+inquiry_scan_start:
+0b15 4498c006 bpatch patch06_1 ,mem_patch06 
+0b16 7000e500 jam 0 ,mem_fhs_am_addr 
+0b17 78587c00 disable clknt 
+0b18 78577c00 disable attempt 
+0b19 204010f6 call afh_clear 
+0b1a 1c4143fc and clkn_bt ,0x1fc ,bt_clk 
+0b1b 18004801 force 0x01 ,freq_mode 
+0b1c 2040112a call fetch_giac 
+0b1d 2040111e call rx_radio_freq 
+0b1e 7940001d setflip mark_inquiry_state ,mark 
+0b1f 6fe08006 fetch 1 ,mem_inquiryscan_waitcnt 
+0b20 1fe0fe01 increase 1 ,pdata 
+0b21 67e08006 store 1 ,mem_inquiryscan_waitcnt 
+0b22 20401144 call fetch_diac 
+0b23 204012d5 call start_receiver 
+0b24 20401302 call wait_access_forever 
+0b25 246c0000 nrtn sync 
+0b26 44994006 bpatch patch06_2 ,mem_patch06 
+0b27 18003600 force 0 ,stop_watch 
+0b28 2040114b call shutdown_radio 
+0b29 6fe08007 fetch 1 ,mem_inquiryscan_rcvcnt 
+0b2a 1fe0fe01 increase 1 ,pdata 
+0b2b 67e08007 store 1 ,mem_inquiryscan_rcvcnt 
+0b2c 2040112a call fetch_giac 
+0b2d 2040133c call rf_setup_time_slave_slot 
+0b2e 1c21c202 or_into 0x002 ,bt_clk 
+0b2f 18004801 force 0x01 ,freq_mode 
+0b30 20401124 call tx_radio_freq 
+0b31 20401144 call fetch_diac 
+0b32 20401340 call start_transmitter 
+0b33 2040134e call start_tx_external 
+0b34 1c427e00 deposit clkn_bt 
+0b35 67e200b0 store 4 ,mem_clkn_bt 
+0b36 20401353 call send_access_word 
+0b37 18000202 force type_fhs ,type 
+0b38 18000800 force 0 ,am_addr 
+0b39 2040135b call scan_mode_whiten 
+0b3a 20400f8a call transmit_packet_whitened 
+0b3b 20400b3f call send_eir 
+0b3c 1c2143fd and_into 0x1fd ,bt_clk 
+0b3d 1cc0cc01 increase 1 ,n_tx_slot 
+0b3e 20600000 rtn 
+
+send_eir:
+0b3f 4499c006 bpatch patch06_3 ,mem_patch06 
+0b40 6fe0c0d8 fetch 1 ,mem_eir_enable 
+0b41 207a0000 rtn blank 
+0b42 d8a000f0 arg mem_eir ,contw 
+0b43 6fe0c5ff fetch 1 ,mem_local_name_length 
+0b44 1fe27200 copy pdata ,loopcnt 
+0b45 1fe0fe01 increase 1 ,pdata 
+0b46 e7e08005 istore 1 ,contw 
+0b47 18a20400 copy contw ,temp 
+0b48 1fe0fe01 increase 1 ,pdata 
+0b49 67e141e6 store 2 ,mem_tx_len 
+0b4a 18420a00 copy temp ,contw 
+0b4b 58000009 setarg 0x09 
+0b4c e7e08005 istore 1 ,contw 
+0b4d d8c04600 arg mem_local_name ,contr 
+0b4e 20407dd4 call memcpy 
+0b4f da60467b arg mem_all_uuid_128bits ,regc 
+0b50 df200004 arg 4 ,loopcnt 
+0b51 20400b61 call get_all_uuid 
+0b52 da604665 arg mem_all_uuid_16bits ,regc 
+0b53 df200001 arg 1 ,loopcnt 
+0b54 20400b61 call get_all_uuid 
+0b55 1800020a force type_dm3 ,type 
+0b56 7041e502 jam 2 ,mem_tx_lch 
+0b57 580000f0 setarg mem_eir 
+0b58 67e100be store 2 ,mem_txptr 
+0b59 2040133c call rf_setup_time_slave_slot 
+0b5a 20401124 call tx_radio_freq 
+0b5b 20401340 call start_transmitter 
+0b5c 2040134e call start_tx_external 
+0b5d 20401353 call send_access_word 
+0b5e 2040135b call scan_mode_whiten 
+0b5f 20400f8a call transmit_packet_whitened 
+0b60 20600000 rtn 
+
+get_all_uuid:
+0b61 18a20400 copy contw ,temp 
+0b62 1a620c00 copy regc ,contr 
+0b63 efe08006 ifetch 1 ,contr 
+0b64 207a0000 rtn blank 
+
+lshift_loop:
+0b65 1fe3fe00 lshift pdata ,pdata 
+0b66 c2000b65 loop lshift_loop 
+0b67 1fe22200 copy pdata ,rega 
+0b68 1fe0fe02 increase 2 ,pdata 
+0b69 1fe20e00 copy pdata ,queue 
+0b6a 6fe141e6 fetch 2 ,mem_tx_len 
+0b6b 98e0fe00 iadd queue ,pdata 
+0b6c 67e141e6 store 2 ,mem_tx_len 
+0b6d 18420a00 copy temp ,contw 
+0b6e 1a227e00 copy rega ,pdata 
+0b6f 1fe0fe01 increase 1 ,pdata 
+0b70 e7e08005 istore 1 ,contw 
+0b71 1a620c00 copy regc ,contr 
+0b72 efe08006 ifetch 1 ,contr 
+0b73 efe08006 ifetch 1 ,contr 
+0b74 e7e08005 istore 1 ,contw 
+0b75 1a227200 copy rega ,loopcnt 
+0b76 20207dd4 branch memcpy 
+
+page_scan_dispatch:
+0b77 6fe0c09b fetch 1 ,mem_scan_mode 
+0b78 c4008000 rtnbit0 page_scan_mode 
+0b79 18000e05 force pscan_interval_timer ,queue 
+0b7a 20407de9 call timer_check 
+0b7b 247a0000 nrtn blank 
+0b7c 684940b9 fetcht 2 ,mem_pscan_window 
+0b7d 18000e28 force 40 ,queue 
+0b7e 20400f40 call sniff_check_window 
+0b7f 20740000 rtn user 
+0b80 18000800 force 0 ,am_addr 
+0b81 70001008 jam param_pagerespto ,mem_fhs_wait_counter 
+0b82 793f800b set0 mark_fhs_already_good ,mark 
+0b83 20400b87 call page_scan_start 
+0b84 18000e05 force pscan_interval_timer ,queue 
+0b85 6fe140bb fetch 2 ,mem_pscan_interval 
+0b86 20207ddb branch timer_init 
+
+page_scan_start:
+0b87 449a4006 bpatch patch06_4 ,mem_patch06 
+0b88 78587c00 disable clknt 
+0b89 204010f6 call afh_clear 
+0b8a 6fe08008 fetch 1 ,mem_pagescan_waitcnt 
+0b8b 1fe0fe01 increase 1 ,pdata 
+0b8c 67e08008 store 1 ,mem_pagescan_waitcnt 
+0b8d 18004c00 force 0 ,n_tx_slot 
+0b8e 20401134 call fetch_self_bt_adr 
+0b8f 1c40c201 add clkn_bt ,1 ,bt_clk 
+0b90 18004802 force 0x02 ,freq_mode 
+0b91 449ac006 bpatch patch06_5 ,mem_patch06 
+0b92 2040111e call rx_radio_freq 
+0b93 204012d5 call start_receiver 
+0b94 20401302 call wait_access_forever 
+0b95 246c0000 nrtn sync 
+0b96 2040114b call shutdown_radio 
+0b97 6fe08009 fetch 1 ,mem_pagescan_rcvcnt 
+0b98 1fe0fe01 increase 1 ,pdata 
+0b99 67e08009 store 1 ,mem_pagescan_rcvcnt 
+0b9a 18003600 force 0 ,stop_watch 
+0b9b 2040133c call rf_setup_time_slave_slot 
+0b9c 1c21c202 or_into 0x002 ,bt_clk 
+0b9d 18004801 force 0x01 ,freq_mode 
+0b9e 20401124 call tx_radio_freq 
+0b9f 20401340 call start_transmitter 
+0ba0 2040134e call start_tx_external 
+0ba1 20401353 call send_access_word 
+0ba2 20400e7c call end_of_packet 
+0ba3 18000800 force 0 ,am_addr 
+0ba4 69610157 fetchr timeup ,2 ,mem_param_rf_setup 
+0ba5 35330200 until clke_rt ,meet 
+0ba6 1d01d003 or_into 0x03 ,clke_bt 
+0ba7 1c2143fd and_into 0x1fd ,bt_clk 
+
+page_scan_wait_fhs_restart:
+0ba8 449b4006 bpatch patch06_6 ,mem_patch06 
+0ba9 1cc0cc01 increase 1 ,n_tx_slot 
+0baa 2040111e call rx_radio_freq 
+0bab 204012d5 call start_receiver 
+0bac 204012f5 call wait_access_mhalfbnd 
+0bad 242c0bb1 nbranch page_scan_wait_fhs_again ,sync 
+0bae 2040135b call scan_mode_whiten 
+0baf 20400d43 call receive_packet_whitened 
+0bb0 c5058bb8 bmark1 mark_fhs_already_good ,page_scan_reply_to_fhs 
+
+page_scan_wait_fhs_again:
+0bb1 449bc006 bpatch patch06_7 ,mem_patch06 
+0bb2 6fe08010 fetch 1 ,mem_fhs_wait_counter 
+0bb3 207a0000 rtn blank 
+0bb4 1fe0ffff increase -1 ,pdata 
+0bb5 67e08010 store 1 ,mem_fhs_wait_counter 
+0bb6 2040133e call rf_setup_time_master_slot 
+0bb7 20200ba8 branch page_scan_wait_fhs_restart 
+
+page_scan_reply_to_fhs:
+0bb8 449c4007 bpatch patch07_0 ,mem_patch07 
+0bb9 793fd001 set0 1 ,clke_bt 
+0bba 79205000 set1 0 ,clke_bt 
+0bbb 6fe0800a fetch 1 ,mem_pagescan_rcvfhscnt 
+0bbc 1fe0fe01 increase 1 ,pdata 
+0bbd 67e0800a store 1 ,mem_pagescan_rcvfhscnt 
+0bbe 2040133c call rf_setup_time_slave_slot 
+0bbf 1c21c202 or_into 0x02 ,bt_clk 
+0bc0 20401124 call tx_radio_freq 
+0bc1 20401340 call start_transmitter 
+0bc2 2040134e call start_tx_external 
+0bc3 20401353 call send_access_word 
+0bc4 20400e7c call end_of_packet 
+
+slave_apply_clke_bt:
+0bc5 2d000603 compare 0x03 ,clke_bt ,0x03 
+0bc6 20208bc9 branch slave_apply_clke_bt_now ,true 
+0bc7 37cb8200 until null ,mhalfbnd 
+0bc8 20200bc5 branch slave_apply_clke_bt 
+
+slave_apply_clke_bt_now:
+0bc9 6fe200b4 fetch 4 ,mem_clke_bt 
+0bca 1fe1fe03 or_into 0x03 ,pdata 
+0bcb 1fe25000 icopy clke_bt 
+
+start_slave_connection:
+0bcc 449cc007 bpatch patch07_1 ,mem_patch07 
+0bcd 6fe300c7 fetch 6 ,extm_lap 
+0bce 67e30040 store 6 ,mem_plap 
+0bcf 20400c42 call prepare_newconn 
+
+slave_newconn_loop:
+0bd0 20400c89 call slave_newconn_once 
+0bd1 20368bd5 branch sconn_successful ,match 
+0bd2 20400c62 call new_conn_timeout 
+0bd3 243a0bd0 nbranch slave_newconn_loop ,blank 
+0bd4 20600000 rtn 
+
+sconn_successful:
+0bd5 449d4007 bpatch patch07_2 ,mem_patch07 
+0bd6 20400c4d call newconn_init 
+0bd7 20400a48 call context_new 
+0bd8 24628000 nrtn zero 
+0bd9 70003100 jam 0 ,mem_mode 
+0bda 2040105d call calc_clke_offset 
+0bdb 20200a30 branch context_save 
+
+slave_dispatch:
+0bdc 449dc007 bpatch patch07_3 ,mem_patch07 
+0bdd 2040106f call calc_clke 
+0bde 20400c01 call role_switch_slave 
+0bdf 20740000 rtn user 
+
+slave_loop:
+0be0 449e4007 bpatch patch07_4 ,mem_patch07 
+0be1 204065c9 call scheduler_process 
+0be2 20400d38 call slave_conn_recv_packet 
+0be3 24368bf0 nbranch slave_notmatch ,match 
+0be4 6fe14477 fetch 2 ,mem_cb_bt_slave_match 
+0be5 20407e7a call callback_func 
+0be6 20401378 call supervision_flush 
+0be7 204065e1 call scheduler_tx_l2cap_pkt 
+0be8 20400c96 call prepare_tx 
+0be9 20400f7b call slave_conn_send_packet 
+0bea 20400f4c call parse_l2cap 
+0beb 204053f2 call parse_lmp 
+0bec 6fe0800b fetch 1 ,mem_slave_rcvcnt 
+0bed 1fe0fe01 increase 1 ,pdata 
+0bee 67e0800b store 1 ,mem_slave_rcvcnt 
+0bef 2040105d call calc_clke_offset 
+
+slave_notmatch:
+0bf0 449ec007 bpatch patch07_5 ,mem_patch07 
+0bf1 204014f5 call lpm_set_mult 
+0bf2 2040136f call supervision_update 
+0bf3 20210bf9 branch slave_disconnect ,positive 
+0bf4 204009a9 call check_disconnect_timeout 
+0bf5 24340bf9 nbranch slave_disconnect ,user 
+0bf6 20400f1c call check_attempt 
+0bf7 243a0be0 nbranch slave_loop ,blank 
+0bf8 20600000 rtn 
+
+slave_disconnect:
+0bf9 449f4007 bpatch patch07_6 ,mem_patch07 
+0bfa 700a5100 jam 0 ,mem_tester_emulate 
+0bfb 7000e300 jam 0 ,mem_debug_config 
+0bfc 20400c6a call quit_connection 
+0bfd 793f8011 set0 mark_testmode ,mark 
+0bfe 20407e8e call test_enable_white 
+0bff 6fe08030 fetch 1 ,mem_state 
+0c00 20600000 rtn 
+
+role_switch_slave:
+0c01 204009cb call role_switch_check 
+0c02 24740000 nrtn user 
+0c03 18820400 copy am_addr ,temp 
+0c04 2040135f call get_free_amaddr 
+0c05 67e080e5 store 1 ,mem_fhs_am_addr 
+0c06 18420800 copy temp ,am_addr 
+0c07 70001120 jam param_newconnto ,mem_newconnto_counter 
+
+roles_sendfhs_loop:
+0c08 449fc007 bpatch patch07_7 ,mem_patch07 
+0c09 2040133e call rf_setup_time_master_slot 
+0c0a 18000202 force type_fhs ,type 
+0c0b 20400f73 call slave_send_access 
+0c0c 1c427e00 deposit clkn_bt 
+0c0d 67e200b0 store 4 ,mem_clkn_bt 
+0c0e 20400f86 call transmit_packet 
+0c0f 2040133c call rf_setup_time_slave_slot 
+0c10 7837fc00 enable user3 
+0c11 20400d19 call slave_receive_access 
+0c12 202c0c1a branch roles_got_fhs_reply ,sync 
+0c13 2040114b call shutdown_radio 
+0c14 20400c62 call new_conn_timeout 
+0c15 243a0c08 nbranch roles_sendfhs_loop ,blank 
+0c16 c6820000 rtnmark0 mark_accept_switch 
+0c17 70007c34 jam lmp_slot_offset ,mem_lmo_opcode2 
+0c18 79200003 set1 mark_switch_initiated ,mark 
+0c19 20600000 rtn 
+
+roles_got_fhs_reply:
+0c1a 78387c00 enable clknt 
+0c1b 20400c42 call prepare_newconn 
+0c1c 204010f6 call afh_clear 
+
+roles_newconn_loop:
+0c1d 44a04008 bpatch patch08_0 ,mem_patch08 
+0c1e 20400aff call master_newconn_once 
+0c1f 202c0c26 branch roles_newconn_responded ,sync 
+0c20 20400c62 call new_conn_timeout 
+0c21 243a0c1d nbranch roles_newconn_loop ,blank 
+0c22 78587c00 disable clknt 
+0c23 1d027e00 deposit clke_bt 
+0c24 67e240d1 store 4 ,mem_next_btclk 
+0c25 20600000 rtn 
+
+roles_newconn_responded:
+0c26 7834fc00 enable master 
+0c27 c5820c2c bmark0 mark_accept_switch ,roles_newconn_nolmp 
+0c28 793f8004 set0 mark_accept_switch ,mark 
+0c29 70007c03 jam lmp_accepted ,mem_lmo_opcode2 
+0c2a 70007d33 jam lmp_host_connection_req ,mem_lmi_opcode2 
+0c2b 20405a7b call tid_set_reply 
+
+roles_newconn_nolmp:
+0c2c 18827e00 deposit am_addr 
+0c2d 67e08077 store 1 ,mem_amaddr 
+0c2e 18007e00 force 0 ,pdata 
+0c2f 67e30038 store 6 ,mem_clk_offset 
+0c30 6fe08031 fetch 1 ,mem_mode 
+0c31 79207e01 set1 mode_master ,pdata 
+0c32 67e08031 store 1 ,mem_mode 
+0c33 20401378 call supervision_flush 
+0c34 7854fc00 disable master 
+0c35 78347c00 enable user 
+0c36 20600000 rtn 
+
+init_rx_packet_flags:
+0c37 44a0c008 bpatch patch08_1 ,mem_patch08 
+0c38 7856fc00 disable match 
+0c39 793f8005 set0 mark_loopback ,mark 
+0c3a 793f800a set0 mark_am_addr_broadcast ,mark 
+0c3b 793f8010 set0 mark_longpacket ,mark 
+0c3c 793f800f set0 mark_old_packet ,mark 
+0c3d 6fe08047 fetch 1 ,mem_arq 
+0c3e 793ffe05 set0 arqnx ,pdata 
+0c3f 79207e04 set1 flowx ,pdata 
+0c40 67e08047 store 1 ,mem_arq 
+0c41 20600000 rtn 
+
+prepare_newconn:
+0c42 44a14008 bpatch patch08_2 ,mem_patch08 
+0c43 70001120 jam param_newconnto ,mem_newconnto_counter 
+0c44 70004750 jam param_newconn_arq ,mem_arq 
+0c45 6fe140c6 fetch 2 ,mem_rx_window_init 
+0c46 67e1003e store 2 ,mem_rx_window 
+0c47 1c427e00 deposit clkn_bt 
+0c48 67e240d1 store 4 ,mem_next_btclk 
+0c49 20780000 rtn clknt 
+0c4a 1d027e00 deposit clke_bt 
+0c4b 67e240d1 store 4 ,mem_next_btclk 
+0c4c 20600000 rtn 
+
+newconn_init:
+0c4d 44a1c008 bpatch patch08_3 ,mem_patch08 
+0c4e 204053ee call init_lmp_reinit 
+0c4f 20400c66 call new_conn_handle 
+0c50 67e08046 store 1 ,mem_conn_handle 
+0c51 58000000 setarg 0 
+0c52 67e1030e store 2 ,mem_l2cap_rxbuff1_len 
+0c53 58001c80 setarg param_supervision_to 
+0c54 67e10051 store 2 ,mem_supervision_to 
+0c55 6fe08030 fetch 1 ,mem_state 
+0c56 79207e00 set1 state_inconn ,pdata 
+0c57 67e08030 store 1 ,mem_state 
+0c58 70004b00 jam 0 ,mem_op 
+0c59 70004c00 jam 0 ,mem_state_map 
+0c5a 70009d00 jam 0 ,mem_lpm_current_mult 
+0c5b 20201378 branch supervision_flush 
+
+clear_linkkey:
+0c5c 44a24008 bpatch patch08_4 ,mem_patch08 
+0c5d 18007e00 force 0 ,pdata 
+0c5e 67e441cb store 8 ,mem_link_key 
+0c5f e7e40005 istore 8 ,contw 
+0c60 204009c7 call clear_linkstate 
+0c61 20200a61 branch context_traverse_linkkey 
+
+new_conn_timeout:
+0c62 6fe08011 fetch 1 ,mem_newconnto_counter 
+0c63 1fe0ffff increase -1 ,pdata 
+0c64 67e08011 store 1 ,mem_newconnto_counter 
+0c65 20600000 rtn 
+
+new_conn_handle:
+0c66 6fe0c0d6 fetch 1 ,mem_handle_num 
+0c67 1fe0fe01 increase 1 ,pdata 
+0c68 67e0c0d6 store 1 ,mem_handle_num 
+0c69 20600000 rtn 
+
+quit_connection:
+0c6a 44a2c008 bpatch patch08_5 ,mem_patch08 
+0c6b 6fe0c1db fetch 1 ,mem_hci_cmd 
+0c6c c0018c6f beq hci_cmd_remote_name_req ,quit_connection_name 
+0c6d 6fe08048 fetch 1 ,mem_lmp_to_send 
+0c6e c0808c73 bne lmp_name_req ,quit_connection_cont 
+
+quit_connection_name:
+0c6f 20404de6 call cmd_check_plap 
+0c70 24228c73 nbranch quit_connection_cont ,zero 
+0c71 204009a6 call master_name_error 
+0c72 7041db00 jam 0 ,mem_hci_cmd 
+
+quit_connection_cont:
+0c73 44a34008 bpatch patch08_6 ,mem_patch08 
+0c74 2040323e call app_disconn_reason_collect_bt 
+0c75 20400f12 call sniff_exit 
+0c76 70095b02 jam bt_evt_bb_disconnected ,mem_fifo_temp 
+0c77 204078dc call ui_ipc_send_event 
+0c78 204053e0 call init_lmp_work 
+0c79 20404e26 call l2cap_init_work 
+0c7a 20406f37 call sp_clear_flags 
+0c7b 6fe08030 fetch 1 ,mem_state 
+0c7c 793ffe00 set0 state_inconn ,pdata 
+0c7d 67e08030 store 1 ,mem_state 
+0c7e 70478e00 jam 0 ,memui_reconnect_mode 
+0c7f 6fe0804c fetch 1 ,mem_state_map 
+0c80 2fe18000 compare 0x0 ,pdata ,0xc0 
+0c81 20208c83 branch quit_connection_not_clear_mark ,true 
+0c82 793f8001 set0 mark_rxbuf_inuse ,mark 
+
+quit_connection_not_clear_mark:
+0c83 6fe08047 fetch 1 ,mem_arq 
+0c84 c3018c85 bbit0 wack ,quit_connection_not_clear_tx 
+
+quit_connection_not_clear_tx:
+0c85 6fe0804b fetch 1 ,mem_op 
+0c86 c4030000 rtnbit0 op_txl2cap 
+0c87 793f8002 set0 mark_tx_l2cap ,mark 
+0c88 20600000 rtn 
+
+slave_newconn_once:
+0c89 44a3c008 bpatch patch08_7 ,mem_patch08 
+0c8a 6fe080c3 fetch 1 ,extm_newconn_am_addr 
+0c8b 207a0000 rtn blank 
+0c8c 1fe20800 icopy am_addr 
+0c8d 20400d38 call slave_conn_recv_packet 
+0c8e 24768000 nrtn match 
+0c8f 18000200 force type_null ,type 
+0c90 20400f7b call slave_conn_send_packet 
+0c91 18827e00 deposit am_addr 
+0c92 67e08077 store 1 ,mem_amaddr 
+0c93 18007e00 force 0 ,pdata 
+0c94 67e080c3 store 1 ,extm_newconn_am_addr 
+0c95 20600000 rtn 
+
+prepare_tx:
+0c96 44a44009 bpatch patch09_0 ,mem_patch09 
+0c97 6fe08030 fetch 1 ,mem_state 
+0c98 c3010ca3 bbit0 state_insco ,prepare_tx_not_sco 
+0c99 18000207 force type_hv3 ,type 
+0c9a c5838ca2 bmark0 mark_esco ,prepare_tx_not_esco 
+0c9b 20400f49 call check_esco_amaddr 
+0c9c 24208ca3 nbranch prepare_tx_not_sco ,true 
+0c9d 20370ca3 branch prepare_tx_not_sco ,attempt 
+0c9e 20400ce4 call set_wait_ack 
+0c9f 58000002 setarg 2 
+0ca0 67e140cf store 2 ,mem_retransmission_cnt 
+0ca1 20600000 rtn 
+
+prepare_tx_not_esco:
+0ca2 24770000 nrtn attempt 
+
+prepare_tx_not_sco:
+0ca3 44a4c009 bpatch patch09_1 ,mem_patch09 
+0ca4 20400a50 call context_check_all_wack 
+0ca5 24228cb4 nbranch prepare_tx_no_retransmit ,zero 
+0ca6 6fe08047 fetch 1 ,mem_arq 
+0ca7 c3018cbd bbit0 wack ,prepare_tx_pollnull 
+
+prepare_tx_retransmit:
+0ca8 c5028cc1 bmark1 mark_loopback ,prepare_tx_loopback 
+0ca9 6fe080e3 fetch 1 ,mem_debug_config 
+0caa c2830cc7 bbit1 debug_tx_pattern ,prepare_tx_txpat 
+0cab 6fe140cf fetch 2 ,mem_retransmission_cnt 
+0cac 1fe0ffff increase -1 ,pdata 
+0cad 67e140cf store 2 ,mem_retransmission_cnt 
+0cae 203a0cb2 branch prepare_tx_nomore_retransmit ,blank 
+0caf 6fe0c0cc fetch 1 ,mem_last_type 
+0cb0 98000200 iforce type 
+0cb1 20600000 rtn 
+
+prepare_tx_nomore_retransmit:
+0cb2 44a54009 bpatch patch09_2 ,mem_patch09 
+0cb3 20400eb7 call clear_got_tx 
+
+prepare_tx_no_retransmit:
+0cb4 20400f49 call check_esco_amaddr 
+0cb5 20208cbd branch prepare_tx_pollnull ,true 
+0cb6 20405759 call send_lmp 
+0cb7 20340ccb branch prepare_tx_sendlmp ,user 
+0cb8 6fe0804b fetch 1 ,mem_op 
+0cb9 c2830cd7 bbit1 op_txl2cap ,prepare_tx_sendl2cap 
+0cba c5028cc1 bmark1 mark_loopback ,prepare_tx_loopback 
+0cbb 6fe080e3 fetch 1 ,mem_debug_config 
+0cbc c2830cc7 bbit1 debug_tx_pattern ,prepare_tx_txpat 
+
+prepare_tx_pollnull:
+0cbd 18000201 force type_poll ,type 
+0cbe 20748000 rtn master 
+0cbf 18000200 force type_null ,type 
+0cc0 20600000 rtn 
+
+prepare_tx_loopback:
+0cc1 44a5c009 bpatch patch09_3 ,mem_patch09 
+0cc2 6fe08019 fetch 1 ,mem_rx_type 
+0cc3 98000200 iforce type 
+0cc4 c1808000 rtnne 1 
+0cc5 18000200 force type_null ,type 
+0cc6 20600000 rtn 
+
+prepare_tx_txpat:
+0cc7 6fe08a58 fetch 1 ,test_mode_packet_type 
+0cc8 1fe1020f and pdata ,0xf ,type 
+0cc9 79200005 set1 mark_loopback ,mark 
+0cca 20600000 rtn 
+
+prepare_tx_sendlmp:
+0ccb 18000213 force type_lmp ,type 
+0ccc 20400ce4 call set_wait_ack 
+
+prepare_tx_ccm_edr_lmp:
+0ccd 20400ddd call check_enc_ccm 
+0cce 207a0000 rtn blank 
+0ccf 7041e403 jam 3 ,mem_llid 
+0cd0 6fe0838a fetch 1 ,mem_lmo_header_length 
+0cd1 1fe17ff8 and pdata ,0x1f8 ,pdata 
+0cd2 1fe97e00 rshift3 pdata ,pdata 
+0cd3 67e146b5 store 2 ,mem_ccm_len 
+0cd4 1fe22200 copy pdata ,rega 
+0cd5 da60038b arg mem_lmo_header_opcode ,regc 
+0cd6 20206d03 branch ccm_br_enc_new 
+
+prepare_tx_sendl2cap:
+0cd7 20400ced call tx_l2cap_type 
+0cd8 20400ce4 call set_wait_ack 
+
+prepare_tx_ccm_edr:
+0cd9 20400ddd call check_enc_ccm 
+0cda 207a0000 rtn blank 
+0cdb 6fe0c1e5 fetch 1 ,mem_tx_lch 
+0cdc 1fe17e03 and_into 3 ,pdata 
+0cdd 67e0c1e4 store 1 ,mem_llid 
+0cde 6fe141e6 fetch 2 ,mem_tx_len 
+0cdf 1fe22200 copy pdata ,rega 
+0ce0 67e146b5 store 2 ,mem_ccm_len 
+0ce1 6fe100be fetch 2 ,mem_txptr 
+0ce2 1fe22600 copy pdata ,regc 
+0ce3 20206d03 branch ccm_br_enc_new 
+
+set_wait_ack:
+0ce4 44a64009 bpatch patch09_4 ,mem_patch09 
+0ce5 68488047 fetcht 1 ,mem_arq 
+0ce6 79200403 set1 wack ,temp 
+0ce7 60488047 storet 1 ,mem_arq 
+0ce8 18227e00 deposit type 
+0ce9 67e0c0cc store 1 ,mem_last_type 
+0cea 5800ffff setarg 0xffff 
+0ceb 67e140cf store 2 ,mem_retransmission_cnt 
+0cec 20600000 rtn 
+
+tx_l2cap_type:
+0ced 44a6c009 bpatch patch09_5 ,mem_patch09 
+0cee 6fe0804c fetch 1 ,mem_state_map 
+0cef 2feffe05 isolate1 smap_edr ,pdata 
+0cf0 6fe141e6 fetch 2 ,mem_tx_len 
+0cf1 20208d03 branch tx_l2cap_type_edr ,true 
+0cf2 18000203 force type_dm1 ,type 
+0cf3 1fe67c11 sub pdata ,17 ,null 
+0cf4 20610000 rtn positive 
+0cf5 18000204 force type_dh1 ,type 
+0cf6 1fe67c1b sub pdata ,27 ,null 
+0cf7 20610000 rtn positive 
+0cf8 1800020a force type_dm3 ,type 
+0cf9 1fe67c79 sub pdata ,121 ,null 
+0cfa 20610000 rtn positive 
+0cfb 1800020b force type_dh3 ,type 
+0cfc 1fe67cb7 sub pdata ,183 ,null 
+0cfd 20610000 rtn positive 
+0cfe 1800020e force type_dm5 ,type 
+0cff 1fe67ce0 sub pdata ,224 ,null 
+0d00 20610000 rtn positive 
+0d01 1800020f force type_dh5 ,type 
+0d02 20600000 rtn 
+
+tx_l2cap_type_edr:
+0d03 18000203 force type_dm1 ,type 
+0d04 1fe67c11 sub pdata ,17 ,null 
+0d05 20610000 rtn positive 
+0d06 18000204 force type_dh1 ,type 
+0d07 1fe67c36 sub pdata ,54 ,null 
+0d08 20610000 rtn positive 
+0d09 1800020a force type_dm3 ,type 
+0d0a d840016f arg 367 ,temp 
+0d0b 98467c00 isub temp ,null 
+0d0c 24610000 nrtn positive 
+0d0d 1800020e force type_dm5 ,type 
+0d0e d84002a7 arg 679 ,temp 
+0d0f 98467c00 isub temp ,null 
+0d10 24610000 nrtn positive 
+0d11 1800020f force type_dh5 ,type 
+0d12 20600000 rtn 
+
+slave_receive_master_slot:
+0d13 6fe08030 fetch 1 ,mem_state 
+0d14 c3008d18 bbit0 state_insniff ,slave_receive_notsniff 
+0d15 6fe10032 fetch 2 ,mem_tsniff 
+0d16 203a0d18 branch slave_receive_notsniff ,blank 
+0d17 24370d1a nbranch slave_receive_sniff ,attempt 
+
+slave_receive_notsniff:
+0d18 2040133e call rf_setup_time_master_slot 
+
+slave_receive_access:
+0d19 1d00c201 add clke_bt ,1 ,bt_clk 
+
+slave_receive_sniff:
+0d1a 78287c00 enable swfine 
+0d1b 6fe1003e fetch 2 ,mem_rx_window 
+0d1c 1fe37e00 rshift pdata ,pdata 
+0d1d 6849015d fetcht 2 ,mem_param_pll_setup 
+0d1e 9840fe00 iadd temp ,pdata 
+0d1f 20401313 call ahead_window 
+0d20 2040113c call fetch_extm_bt_adr 
+0d21 18004803 force 0x03 ,freq_mode 
+0d22 2040111e call rx_radio_freq 
+0d23 20400c37 call init_rx_packet_flags 
+0d24 204012da call prep_crypt 
+0d25 44a74009 bpatch patch09_6 ,mem_patch09 
+0d26 6fe1003e fetch 2 ,mem_rx_window 
+0d27 1fe37e00 rshift pdata ,pdata 
+0d28 20401313 call ahead_window 
+0d29 204012d5 call start_receiver 
+0d2a 7826fc00 enable decode_fec0 
+0d2b 6fe1003e fetch 2 ,mem_rx_window 
+0d2c 6849015b fetcht 2 ,mem_param_clke_cal 
+0d2d 9840b600 iadd temp ,stop_watch 
+0d2e 37c18400 correlate null ,timeout 
+0d2f 1b420400 copy clke ,temp 
+0d30 604b0097 storet 6 ,mem_sync_clke 
+0d31 7846fc00 disable decode_fec0 
+0d32 246c0000 nrtn sync 
+0d33 6fe1015b fetch 2 ,mem_param_clke_cal 
+0d34 1fe25200 copy pdata ,clke_rt 
+0d35 1c225000 copy bt_clk ,clke_bt 
+0d36 20359444 branch lpm_adjust_clk ,wake 
+0d37 20600000 rtn 
+
+slave_conn_recv_packet:
+0d38 44a7c009 bpatch patch09_7 ,mem_patch09 
+0d39 20400d13 call slave_receive_master_slot 
+0d3a 242c114b nbranch shutdown_radio ,sync 
+0d3b 2040127f call save_rssi 
+0d3c c5888d40 bmark0 mark_testmode ,receive_packet 
+0d3d 6fe109f6 fetch 2 ,mem_tst_pktcnt_sync 
+0d3e 1fe0fe01 increase 1 ,pdata 
+0d3f 67e109f6 store 2 ,mem_tst_pktcnt_sync 
+
+receive_packet:
+0d40 20404d0d call rf_debug_rx_sync_line 
+0d41 1c230400 rshift bt_clk ,temp 
+0d42 18419c40 or temp ,0x40 ,white_init 
+
+receive_packet_whitened:
+0d43 44a8400a bpatch patch0a_0 ,mem_patch0a 
+0d44 7823fc00 enable enable_white 
+0d45 78257c00 enable enable_hec 
+0d46 7825fc00 enable decode_fec1 
+0d47 09800003 parse demod ,bucket ,3 
+0d48 198cfe00 rshift8 pwindow ,pdata 
+0d49 67e080ac store 1 ,mem_temp_am_addr 
+0d4a 09800004 parse demod ,bucket ,4 
+0d4b 08008007 inject bucket ,7 
+0d4c 19827e00 copy pwindow ,pdata 
+0d4d 67e08019 store 1 ,mem_rx_type 
+0d4e 09800003 parse demod ,bucket ,3 
+0d4f 198cfe00 rshift8 pwindow ,pdata 
+0d50 67e080ad store 1 ,mem_temp_arq 
+0d51 6fe08019 fetch 1 ,mem_rx_type 
+0d52 1fe67c03 sub pdata ,3 ,null 
+0d53 20210d58 branch receive_packet_noedr ,positive 
+0d54 c0038d58 beq 7 ,receive_packet_noedr 
+0d55 6fe0804c fetch 1 ,mem_state_map 
+0d56 2feffe05 isolate1 smap_edr ,pdata 
+0d57 7920aa01 setflag true ,psk ,radio_ctrl 
+
+receive_packet_noedr:
+0d58 44a8c00a bpatch patch0a_1 ,mem_patch0a 
+0d59 09800008 parse demod ,bucket ,8 
+0d5a 7845fc00 disable decode_fec1 
+0d5b 78457c00 disable enable_hec 
+0d5c 20230e5f branch error_header ,crc_failed 
+0d5d c5888d61 bmark0 mark_testmode ,receive_packet_amchk 
+0d5e 6fe109f8 fetch 2 ,mem_tst_pktcnt_hec 
+0d5f 1fe0fe01 increase 1 ,pdata 
+0d60 67e109f8 store 2 ,mem_tst_pktcnt_hec 
+
+receive_packet_amchk:
+0d61 44a9400a bpatch patch0a_2 ,mem_patch0a 
+0d62 6fe080ac fetch 1 ,mem_temp_am_addr 
+0d63 2fe00e00 compare 0 ,pdata ,0x07 
+0d64 7920800a setflag true ,mark_am_addr_broadcast ,mark 
+0d65 20208d6f branch am_addr_ok ,true 
+0d66 a8800e00 icompare 0x07 ,am_addr 
+0d67 20208d6d branch am_addr_match ,true 
+0d68 c5838e7c bmark0 mark_esco ,end_of_packet 
+0d69 6fe08047 fetch 1 ,mem_arq 
+0d6a 793ffe05 set0 arqnx ,pdata 
+0d6b 79207e04 set1 flowx ,pdata 
+0d6c 67e08047 store 1 ,mem_arq 
+
+am_addr_match:
+0d6d 20404d10 call rf_debug_rx_match_line 
+0d6e 7836fc00 enable match 
+
+am_addr_ok:
+0d6f 44a9c00a bpatch patch0a_3 ,mem_patch0a 
+0d70 6fe08019 fetch 1 ,mem_rx_type 
+0d71 1fe20200 icopy type 
+0d72 c5050d7e bmark1 mark_am_addr_broadcast ,arqn_bypass 
+0d73 684880ad fetcht 1 ,mem_temp_arq 
+0d74 6fe08047 fetch 1 ,mem_arq 
+0d75 793ffe00 set0 flow ,pdata 
+0d76 284ffe00 isolate1 flow ,temp 
+0d77 7920fe00 setflag true ,flow ,pdata 
+0d78 284ffe01 isolate1 arqn ,temp 
+0d79 7920fe01 setflag true ,arqn ,pdata 
+0d7a 67e08047 store 1 ,mem_arq 
+0d7b 284c0001 isolate0 arqn ,temp 
+0d7c 20208d7e branch arqn_bypass ,true 
+0d7d 20400eb7 call clear_got_tx 
+
+arqn_bypass:
+0d7e 44aa400a bpatch patch0a_4 ,mem_patch0a 
+0d7f d8400000 arg 0 ,temp 
+0d80 2040130b call reserve_slot 
+0d81 18217e0f and type ,0xf ,pdata 
+0d82 c0008d9a beq type_poll ,process_poll 
+0d83 c0000e7c beq type_null ,end_of_packet 
+0d84 c0010e88 beq type_fhs ,process_fhs 
+0d85 684880ad fetcht 1 ,mem_temp_arq 
+0d86 6fe08047 fetch 1 ,mem_arq 
+0d87 a8400800 icompare 0x04 ,temp 
+0d88 24208d8c nbranch rx_type_dispatch ,true 
+0d89 c5850d8b bmark0 mark_am_addr_broadcast ,failed_seqn 
+0d8a c3038d8c bbit0 bcast1 ,rx_type_dispatch 
+
+failed_seqn:
+0d8b 7920000f set1 mark_old_packet ,mark 
+
+rx_type_dispatch:
+0d8c 44aac00a bpatch patch0a_5 ,mem_patch0a 
+0d8d 18227e00 deposit type 
+0d8e c0018d9c beq type_dm1 ,process_dm1 
+0d8f c0020da0 beq type_dh1 ,process_dh1 
+0d90 c0040d9f beq type_3dh1 ,process_3dh1 
+0d91 d8400004 arg 4 ,temp 
+0d92 2040130b call reserve_slot 
+0d93 c0050d9b beq type_dm3 ,process_dm3 
+0d94 c0058d9e beq type_dh3 ,process_dh3 
+0d95 d8400008 arg 8 ,temp 
+0d96 2040130b call reserve_slot 
+0d97 c0070d9b beq type_dm5 ,process_dm5 
+0d98 c0078d9e beq type_dh5 ,process_dh5 
+0d99 20600000 rtn 
+
+process_poll:
+0d9a 20200e7c branch end_of_packet 
+
+process_dm3:
+
+process_dm5:
+0d9b 79200010 set1 mark_longpacket ,mark 
+
+process_dm1:
+0d9c 78267c00 enable decode_fec2 
+0d9d 20200da1 branch process_dmh 
+
+process_dh3:
+
+process_dh5:
+0d9e 79200010 set1 mark_longpacket ,mark 
+
+process_3dh1:
+0d9f 79202a02 set1 psk3m ,radio_ctrl 
+
+process_dh1:
+0da0 7826fc00 enable decode_fec0 
+
+process_dmh:
+0da1 44ab400a bpatch patch0a_6 ,mem_patch0a 
+0da2 c5198e7c bmark1 mark_first_packet ,end_of_packet 
+0da3 c5008e7c bmark1 mark_rxbuf_inuse ,end_of_packet 
+0da4 2aac0001 isolate0 psk ,radio_ctrl 
+0da5 20208dae branch process_dmh_noedr ,true 
+0da6 7843fc00 disable enable_white 
+0da7 7826fc00 enable decode_fec0 
+0da8 78467c00 disable decode_fec2 
+0da9 1c409602 add clkn_bt ,2 ,timeup 
+0daa 34530400 correlate clkn_bt ,meet 
+0dab 242c0e6b nbranch error_payload ,sync 
+0dac 79200010 set1 mark_longpacket ,mark 
+0dad 7823fc00 enable enable_white 
+
+process_dmh_noedr:
+0dae 44abc00a bpatch patch0a_7 ,mem_patch0a 
+0daf 78277c00 enable encrypt 
+0db0 7824fc00 enable enable_crc 
+0db1 09800003 parse demod ,bucket ,3 
+0db2 198cfe00 rshift8 pwindow ,pdata 
+0db3 67e080e4 store 1 ,mem_lch_code 
+0db4 09800005 parse demod ,bucket ,5 
+0db5 c5080db9 bmark1 mark_longpacket ,process_dmh_long 
+0db6 19897200 rshift3 pwindow ,loopcnt 
+0db7 1f297200 rshift3 loopcnt ,loopcnt 
+0db8 20200dbc branch process_dmh_common 
+
+process_dmh_long:
+0db9 09800005 parse demod ,bucket ,5 
+0dba 19837200 rshift pwindow ,loopcnt 
+0dbb 09800003 parse demod ,bucket ,3 
+
+process_dmh_common:
+0dbc 44ac400b bpatch patch0b_0 ,mem_patch0b 
+0dbd 1f227e00 deposit loopcnt 
+0dbe 67e100ae store 2 ,mem_len 
+0dbf 203a0dd4 branch process_dmh_data_0 ,blank 
+0dc0 20400ddd call check_enc_ccm 
+0dc1 203a0dc4 branch process_dmh_common2 ,blank 
+
+process_dmh_common2_ccm:
+0dc2 1f20f204 increase 4 ,loopcnt 
+0dc3 1f227e00 deposit loopcnt 
+
+process_dmh_common2:
+0dc4 9ea67c00 isub mask3ff ,null 
+0dc5 20210e6b branch error_payload ,positive 
+0dc6 44acc00b bpatch patch0b_1 ,mem_patch0b 
+0dc7 793f8000 set0 mark_fhs_eir ,mark 
+0dc8 6fe080e4 fetch 1 ,mem_lch_code 
+0dc9 1fe17e03 and_into 0x03 ,pdata 
+0dca d8a000ce arg mem_rxbuf ,contw 
+0dcb c0018de2 beq llid_lmp ,process_lmp 
+0dcc c5088dd2 bmark1 mark_testmode ,process_dmh_common2_testmode 
+0dcd 6fe080e4 fetch 1 ,mem_lch_code 
+0dce 1fe17e03 and_into 0x03 ,pdata 
+0dcf c0010de7 beq llid_l2cap_start ,process_dmh_data_l2cap_start_pkt 
+0dd0 c0008dfb beq llid_l2cap_cont ,process_dmh_data_l2cap_continue_pkt 
+0dd1 20200e6b branch error_payload 
+
+process_dmh_common2_testmode:
+0dd2 d8a01000 arg mem_l2cap_rxbuff1 ,contw 
+0dd3 20200e0c branch process_dmh_data 
+
+process_dmh_data_0:
+0dd4 20400ddd call check_enc_ccm 
+0dd5 203a0e10 branch process_dmh_data_end ,blank 
+0dd6 58000000 setarg 0 
+0dd7 67e146b5 store 2 ,mem_ccm_len 
+0dd8 09800020 parse demod ,bucket ,32 
+0dd9 1fef7e00 rshift32 pdata ,pdata 
+0dda 1fecfe00 rshift8 pdata ,pdata 
+0ddb 67e20273 store 4 ,mem_le_peer_mic 
+0ddc 20200e10 branch process_dmh_data_end 
+
+check_enc_ccm:
+0ddd 6fe0804c fetch 1 ,mem_state_map 
+0dde c3017ed1 bbit0 smap_encryption ,enable_blank 
+0ddf 6fe0c648 fetch 1 ,mem_encapsulated_minor_type 
+0de0 c0817ed1 bne encapsulated_minor_type_p256 ,enable_blank 
+0de1 20207ecf branch disable_blank 
+
+process_lmp:
+0de2 6fe100ae fetch 2 ,mem_len 
+0de3 1fe67c11 sub pdata ,17 ,null 
+0de4 24210e6b nbranch error_payload ,positive 
+0de5 c5078e4c bmark1 mark_old_packet ,ack_payload 
+0de6 20200e0c branch process_dmh_data 
+
+process_dmh_data_l2cap_start_pkt:
+0de7 44ad400b bpatch patch0b_2 ,mem_patch0b 
+0de8 c5078e4c bmark1 mark_old_packet ,ack_payload 
+0de9 6fe100ae fetch 2 ,mem_len 
+0dea d84002e0 arg 0x2e0 ,temp 
+0deb 98467c00 isub temp ,null 
+0dec 20210e6b branch error_payload ,positive 
+0ded 6fe08314 fetch 1 ,mem_l2cap_rxbuff_inuse 
+0dee c3000df1 bbit0 l2cap_inuse_buff1 ,process_dmh_data_into_buff1 
+0def c3008df6 bbit0 l2cap_inuse_buff2 ,process_dmh_data_into_buff2 
+0df0 20200e7c branch end_of_packet 
+
+process_dmh_data_into_buff1:
+0df1 70031201 jam 1 ,mem_l2cap_rxbuff_new 
+0df2 6fe1030e fetch 2 ,mem_l2cap_rxbuff1_len 
+0df3 c0800e7c bne 0 ,end_of_packet 
+0df4 d8a01000 arg mem_l2cap_rxbuff1 ,contw 
+0df5 20200e0c branch process_dmh_data 
+
+process_dmh_data_into_buff2:
+0df6 70031202 jam 2 ,mem_l2cap_rxbuff_new 
+0df7 6fe10310 fetch 2 ,mem_l2cap_rxbuff2_len 
+0df8 c0800e7c bne 0 ,end_of_packet 
+0df9 d8a01400 arg mem_l2cap_rxbuff2 ,contw 
+0dfa 20200e0c branch process_dmh_data 
+
+process_dmh_data_l2cap_continue_pkt:
+0dfb 44adc00b bpatch patch0b_3 ,mem_patch0b 
+0dfc c5078e4c bmark1 mark_old_packet ,ack_payload 
+0dfd 6fe100ae fetch 2 ,mem_len 
+0dfe d84002e0 arg 0x2e0 ,temp 
+0dff 98467c00 isub temp ,null 
+0e00 20210e6b branch error_payload ,positive 
+0e01 6fe08312 fetch 1 ,mem_l2cap_rxbuff_new 
+0e02 c0008e05 beq 1 ,process_dmh_data_l2cap_continue_pkt1 
+0e03 c0010e09 beq 2 ,process_dmh_data_l2cap_continue_pkt2 
+0e04 20200e7c branch end_of_packet 
+
+process_dmh_data_l2cap_continue_pkt1:
+0e05 d8a01000 arg mem_l2cap_rxbuff1 ,contw 
+0e06 6fe1030e fetch 2 ,mem_l2cap_rxbuff1_len 
+0e07 98a08a00 iadd contw ,contw 
+0e08 20200e0c branch process_dmh_data 
+
+process_dmh_data_l2cap_continue_pkt2:
+0e09 d8a01400 arg mem_l2cap_rxbuff2 ,contw 
+0e0a 6fe10310 fetch 2 ,mem_l2cap_rxbuff2_len 
+0e0b 98a08a00 iadd contw ,contw 
+
+process_dmh_data:
+0e0c 09800008 parse demod ,bucket ,8 
+0e0d 19897e00 rshift3 pwindow ,pdata 
+0e0e e7e08005 istore 1 ,contw 
+0e0f c2000e0c loop process_dmh_data 
+
+process_dmh_data_end:
+0e10 44ae400b bpatch patch0b_4 ,mem_patch0b 
+0e11 09800010 parse demod ,bucket ,16 
+0e12 20230e65 branch error_payload_crc ,crc_failed 
+0e13 20400ddd call check_enc_ccm 
+0e14 20407ec9 call enable_user2 
+0e15 245a6d34 ncall ccm_br_decrypt_new ,blank 
+0e16 24360e6c nbranch error_mic_error ,user2 
+0e17 20404d0c call rf_debug_rx_crc_line 
+0e18 6fe0c5f6 fetch 1 ,mem_l2cap_flow_ctrl_flag 
+0e19 c0008e6c beq l2cap_flow_ctrl_enable ,flow_ctrl 
+0e1a c5088e39 bmark1 mark_testmode ,process_dmh_cont 
+0e1b c5078e79 bmark1 mark_old_packet ,redundant_payload 
+0e1c 6fe080e4 fetch 1 ,mem_lch_code 
+0e1d 2fe00603 compare 3 ,pdata ,3 
+0e1e 20208e39 branch process_dmh_cont ,true 
+0e1f 6fe100ae fetch 2 ,mem_len 
+0e20 203a0e39 branch process_dmh_cont ,blank 
+0e21 44aec00b bpatch patch0b_5 ,mem_patch0b 
+0e22 6fe08312 fetch 1 ,mem_l2cap_rxbuff_new 
+0e23 c0008e26 beq 1 ,process_l2cap_pass_crc_buff1 
+0e24 c0010e30 beq 2 ,process_l2cap_pass_crc_buff2 
+0e25 2020137c branch assert 
+
+process_l2cap_pass_crc_buff1:
+0e26 6fe1030e fetch 2 ,mem_l2cap_rxbuff1_len 
+0e27 684900ae fetcht 2 ,mem_len 
+0e28 9840fe00 iadd temp ,pdata 
+0e29 67e1030e store 2 ,mem_l2cap_rxbuff1_len 
+0e2a 207a0000 rtn blank 
+0e2b 68491000 fetcht 2 ,mem_l2cap_rxbuff1 
+0e2c 18408404 increase 4 ,temp 
+0e2d 98467c00 isub temp ,null 
+0e2e 20428f6b call l2cap_buff1_inuse ,zero 
+0e2f 20200e39 branch process_dmh_cont 
+
+process_l2cap_pass_crc_buff2:
+0e30 6fe10310 fetch 2 ,mem_l2cap_rxbuff2_len 
+0e31 684900ae fetcht 2 ,mem_len 
+0e32 9840fe00 iadd temp ,pdata 
+0e33 67e10310 store 2 ,mem_l2cap_rxbuff2_len 
+0e34 207a0000 rtn blank 
+0e35 68491400 fetcht 2 ,mem_l2cap_rxbuff2 
+0e36 18408404 add temp ,4 ,temp 
+0e37 98467c00 isub temp ,null 
+0e38 20428f6f call l2cap_buff2_inuse ,zero 
+
+process_dmh_cont:
+0e39 44af400b bpatch patch0b_6 ,mem_patch0b 
+0e3a 6848804c fetcht 1 ,mem_state_map 
+0e3b 6fe080e4 fetch 1 ,mem_lch_code 
+0e3c 2fe00603 compare 3 ,pdata ,0x03 
+0e3d 79208406 setflag true ,smap_rxlmp ,temp 
+0e3e 7d208407 nsetflag true ,smap_rxl2cap ,temp 
+0e3f 6048804c storet 1 ,mem_state_map 
+0e40 24208e42 nbranch process_dmh_cont_rxbuf_not_use ,true 
+0e41 79200001 set1 mark_rxbuf_inuse ,mark 
+
+process_dmh_cont_rxbuf_not_use:
+0e42 c5888e4c bmark0 mark_testmode ,ack_payload 
+0e43 284ffe06 isolate1 smap_rxlmp ,temp 
+0e44 20208e4c branch ack_payload ,true 
+0e45 6fe109fa fetch 2 ,mem_tst_pktcnt_crc 
+0e46 1fe0fe01 increase 1 ,pdata 
+0e47 67e109fa store 2 ,mem_tst_pktcnt_crc 
+0e48 79200005 set1 mark_loopback ,mark 
+0e49 793f8407 set0 smap_rxl2cap ,temp 
+0e4a 793f8001 set0 mark_rxbuf_inuse ,mark 
+0e4b 6048804c storet 1 ,mem_state_map 
+
+ack_payload:
+0e4c 44afc00b bpatch patch0b_7 ,mem_patch0b 
+0e4d 20400ddd call check_enc_ccm 
+0e4e 245a6d5b ncall ccm_br_pcnt_rx_add ,blank 
+0e4f 684880ad fetcht 1 ,mem_temp_arq 
+0e50 6fe08047 fetch 1 ,mem_arq 
+0e51 79207e05 set1 arqnx ,pdata 
+0e52 284ffe02 isolate1 seqn ,temp 
+0e53 7920fe02 setflag true ,seqn ,pdata 
+0e54 280ffe0a isolate1 mark_am_addr_broadcast ,mark 
+0e55 7920fe07 setflag true ,bcast1 ,pdata 
+0e56 67e08047 store 1 ,mem_arq 
+0e57 6fe100ae fetch 2 ,mem_len 
+0e58 243a0e7c nbranch end_of_packet ,blank 
+0e59 6fe0804c fetch 1 ,mem_state_map 
+0e5a 793ffe07 set0 smap_rxl2cap ,pdata 
+0e5b 67e0804c store 1 ,mem_state_map 
+0e5c 6fe080e4 fetch 1 ,mem_lch_code 
+0e5d 2fe00e01 compare 0x01 ,pdata ,0x07 
+0e5e 20200e7c branch end_of_packet 
+
+error_header:
+0e5f 44b0400c bpatch patch0c_0 ,mem_patch0c 
+0e60 7856fc00 disable match 
+0e61 6fe1001a fetch 2 ,mem_rx_hec_err 
+0e62 1fe0fe01 increase 1 ,pdata 
+0e63 67e1001a store 2 ,mem_rx_hec_err 
+0e64 20200e7c branch end_of_packet 
+
+error_payload_crc:
+0e65 6fe1001c fetch 2 ,mem_rx_crc_err 
+0e66 1fe0fe01 increase 1 ,pdata 
+0e67 67e1001c store 2 ,mem_rx_crc_err 
+0e68 20400e6d call discard_pkt 
+0e69 c5888e6b bmark0 mark_testmode ,error_payload 
+0e6a 79200005 set1 mark_loopback ,mark 
+
+error_payload:
+0e6b 20200e7c branch end_of_packet 
+
+flow_ctrl:
+
+error_mic_error:
+0e6c 20200e65 branch error_payload_crc 
+
+discard_pkt:
+0e6d 44b0c00c bpatch patch0c_1 ,mem_patch0c 
+0e6e 6fe080e4 fetch 1 ,mem_lch_code 
+0e6f 2fe00603 compare 3 ,pdata ,0x03 
+0e70 24208e75 nbranch discard_pkt_l2cap ,true 
+
+discard_pkt_lmp:
+0e71 6848804c fetcht 1 ,mem_state_map 
+0e72 793f8406 set0 smap_rxlmp ,temp 
+0e73 6048804c storet 1 ,mem_state_map 
+0e74 20600000 rtn 
+
+discard_pkt_l2cap:
+0e75 6848804c fetcht 1 ,mem_state_map 
+0e76 793f8407 set0 smap_rxl2cap ,temp 
+0e77 6048804c storet 1 ,mem_state_map 
+0e78 20600000 rtn 
+
+redundant_payload:
+0e79 6fe08047 fetch 1 ,mem_arq 
+0e7a 79207e05 set1 arqnx ,pdata 
+0e7b 67e08047 store 1 ,mem_arq 
+
+end_of_packet:
+0e7c 44b1400c bpatch patch0c_2 ,mem_patch0c 
+0e7d 784efc00 disable encode_fec0 
+0e7e 784e7c00 disable encode_fec2 
+0e7f 7846fc00 disable decode_fec0 
+0e80 78467c00 disable decode_fec2 
+0e81 7844fc00 disable enable_crc 
+0e82 78477c00 disable encrypt 
+0e83 7843fc00 disable enable_white 
+0e84 2030914b branch shutdown_radio ,is_rx 
+0e85 37d38200 until null ,tx_clear 
+0e86 20000064 nop 100 
+0e87 2020114b branch shutdown_radio 
+
+process_fhs:
+0e88 44b1c00c bpatch patch0c_3 ,mem_patch0c 
+0e89 7824fc00 enable enable_crc 
+0e8a 78267c00 enable decode_fec2 
+0e8b 09800048 parse demod ,bucket ,72 
+0e8c 2feffe3a isolate1 58 ,pdata 
+0e8d 79208000 setflag true ,mark_fhs_eir ,mark 
+0e8e 1c020400 copy bt_adr ,temp 
+0e8f 57e04000 ialigned bt_adr 
+0e90 57e03c00 ialigned fhs0 
+0e91 782afc00 pulse recalc 
+0e92 380bffff setsect 2 ,0xfffff 
+0e93 380cffff setsect 3 ,0x0ffff 
+0e94 20000020 nop 32 
+0e95 29a80000 iverify fhs_parity 
+0e96 1d827e00 deposit lap 
+0e97 67e180c7 store 3 ,extm_lap 
+0e98 1da27e00 deposit uap 
+0e99 67e080ca store 1 ,extm_uap 
+0e9a 18424000 copy temp ,bt_adr 
+0e9b 20208e9d branch fhs_parity_ok ,true 
+0e9c 20200e6b branch error_payload 
+
+fhs_parity_ok:
+0e9d 44b2400c bpatch patch0c_4 ,mem_patch0c 
+0e9e 09800048 parse demod ,bucket ,72 
+0e9f 57e03e00 ialigned fhs1 
+0ea0 57e00800 ialigned am_addr 
+0ea1 57e05c00 ialigned nap 
+0ea2 57e02400 ialigned regb 
+0ea3 18007e00 force 0 ,pdata 
+0ea4 09800010 parse demod ,bucket ,16 
+0ea5 20230e6b branch error_payload ,crc_failed 
+0ea6 20404d0c call rf_debug_rx_crc_line 
+0ea7 5ffffffc setarg 0x0ffffffc 
+0ea8 9a417e00 iand regb ,pdata 
+0ea9 67e200b4 store 4 ,mem_clke_bt 
+0eaa 1ba27e00 deposit fhs_class 
+0eab 67e180c4 store 3 ,extm_class 
+0eac 1b827e00 deposit fhs_misc 
+0ead 67e080c2 store 1 ,extm_fhs_misc 
+0eae 18827e00 deposit am_addr 
+0eaf 67e080c3 store 1 ,extm_newconn_am_addr 
+0eb0 1dc27e00 deposit nap 
+0eb1 67e100cb store 2 ,extm_nap 
+0eb2 1c227e00 deposit bt_clk 
+0eb3 08008220 inject rxf ,32 
+0eb4 28201e02 compare type_fhs ,type ,0x0f 
+0eb5 7920800b setflag true ,mark_fhs_already_good ,mark 
+0eb6 20200e7c branch end_of_packet 
+
+clear_got_tx:
+0eb7 44b2c00c bpatch patch0c_5 ,mem_patch0c 
+0eb8 6fe08047 fetch 1 ,mem_arq 
+0eb9 c4018000 rtnbit0 wack 
+0eba 793ffe03 set0 wack ,pdata 
+0ebb 79407e06 setflip seqnx ,pdata 
+0ebc 67e08047 store 1 ,mem_arq 
+0ebd 20400ddd call check_enc_ccm 
+0ebe 245a6d21 ncall ccm_br_pcnt_tx_add ,blank 
+0ebf 6fe0c0cc fetch 1 ,mem_last_type 
+0ec0 c0098ece beq type_lmp ,clear_got_txlmp 
+0ec1 c1038000 rtneq type_hv3 
+0ec2 6fe0804b fetch 1 ,mem_op 
+0ec3 c4030000 rtnbit0 op_txl2cap ,pdata 
+0ec4 793ffe06 set0 op_txl2cap ,pdata 
+0ec5 79207e07 set1 op_pkt_comp ,pdata 
+0ec6 67e0804b store 1 ,mem_op 
+0ec7 793f8002 set0 mark_tx_l2cap ,mark 
+0ec8 6fe144d9 fetch 2 ,mem_l2cap_tx_multi_offset 
+0ec9 247a0000 nrtn blank 
+0eca 6fe0804b fetch 1 ,mem_op 
+0ecb 793ffe07 set0 op_pkt_comp ,pdata 
+0ecc 67e0804b store 1 ,mem_op 
+0ecd 2020533e branch l2cap_malloc_free 
+
+clear_got_txlmp:
+0ece 44b3400c bpatch patch0c_6 ,mem_patch0c 
+0ecf 6fe0c5f9 fetch 1 ,mem_lmo_header_opcode_x 
+0ed0 1fe37e00 rshift pdata ,pdata 
+0ed1 c0088ee1 beq lmp_start_encryption_req ,start_encryption 
+0ed2 c0090eeb beq lmp_stop_encryption_req ,stop_encryption 
+0ed3 c00c0f12 beq lmp_unsniff_req ,sniff_exit 
+0ed4 c03f8ed9 beq lmp_escape ,clear_lmp_escape 
+0ed5 c1818000 rtnne lmp_accepted 
+0ed6 6fe0838c fetch 1 ,mem_lmo_payload 
+0ed7 c0088edc beq lmp_start_encryption_req ,clear_send_setup_complete 
+0ed8 20600000 rtn 
+
+clear_lmp_escape:
+0ed9 6fe0838c fetch 1 ,mem_lmo_payload 
+0eda 79207e07 set1 7 ,pdata 
+0edb 20600000 rtn 
+
+clear_send_setup_complete:
+0edc 20748000 rtn master 
+0edd 6fe08030 fetch 1 ,mem_state 
+0ede c3820000 rtnbit1 state_conn_comp 
+0edf 70007c31 jam lmp_setup_complete ,mem_lmo_opcode2 
+0ee0 20600000 rtn 
+
+start_encryption:
+0ee1 44b3c00c bpatch patch0c_7 ,mem_patch0c 
+0ee2 6fe0804c fetch 1 ,mem_state_map 
+0ee3 79207e02 set1 smap_encryption ,pdata 
+0ee4 67e0804c store 1 ,mem_state_map 
+0ee5 70801101 jam 1 ,core_encrypt 
+0ee6 18007e00 force 0 ,pdata 
+0ee7 67e2c6a4 store 5 ,mem_ccm_pcnt_rx 
+0ee8 79207e25 set1 br_ccm_directionbit ,pdata 
+0ee9 67e2c69f store 5 ,mem_ccm_pcnt_tx 
+0eea 20600000 rtn 
+
+stop_encryption:
+0eeb 44b4400d bpatch patch0d_0 ,mem_patch0d 
+0eec 6fe0804c fetch 1 ,mem_state_map 
+0eed 793ffe02 set0 smap_encryption ,pdata 
+0eee 67e0804c store 1 ,mem_state_map 
+0eef 70801100 jam 0 ,core_encrypt 
+0ef0 20600000 rtn 
+
+sniff_init:
+0ef1 44b4c00d bpatch patch0d_1 ,mem_patch0d 
+0ef2 1c40a203 add clkn_bt ,3 ,rega 
+0ef3 20348ef5 branch sniff_init_master ,master 
+0ef4 1d00a203 add clke_bt ,3 ,rega 
+
+sniff_init_master:
+0ef5 68490032 fetcht 2 ,mem_tsniff 
+0ef6 1a227e00 deposit rega 
+0ef7 793ffe1b set0 27 ,pdata 
+0ef8 9846fc00 idiv temp 
+0ef9 6fe10075 fetch 2 ,mem_dsniff 
+0efa 20407e64 call wait_div_end 
+0efb 18072600 remainder regc 
+0efc 9a667e00 isub regc ,pdata 
+0efd 20210eff branch sniff_init_nowrap ,positive 
+0efe 9840fe00 iadd temp ,pdata 
+
+sniff_init_nowrap:
+0eff 9a20fe00 iadd rega ,pdata 
+0f00 67e20034 store 4 ,mem_sniff_anchor 
+0f01 70464500 jam switch_flag_init ,mem_switch_flag 
+0f02 6fe08030 fetch 1 ,mem_state 
+0f03 79207e01 set1 state_insniff ,pdata 
+0f04 67e08030 store 1 ,mem_state 
+0f05 6fe08073 fetch 1 ,mem_sniff_attempt 
+0f06 67e08088 store 1 ,mem_current_sniff_attempt 
+0f07 58000000 setarg 0 
+0f08 67e1c16e store 3 ,mem_sniff_rcv 
+0f09 67e1c171 store 3 ,mem_sniff_lost 
+0f0a 67e0c15e store 1 ,mem_sniff_unint_lost 
+0f0b 70095b0b jam bt_evt_enter_sniff ,mem_fifo_temp 
+0f0c 204078dc call ui_ipc_send_event 
+0f0d 6fe140c8 fetch 2 ,mem_rx_window_sniff 
+0f0e 67e1003e store 2 ,mem_rx_window 
+0f0f 24748000 nrtn master 
+0f10 18808fff add am_addr ,-1 ,queue 
+0f11 20600000 rtn 
+
+sniff_exit:
+0f12 44b5400d bpatch patch0d_2 ,mem_patch0d 
+0f13 6fe08030 fetch 1 ,mem_state 
+0f14 c4008000 rtnbit0 state_insniff 
+0f15 793ffe01 set0 state_insniff ,pdata 
+0f16 67e08030 store 1 ,mem_state 
+0f17 6fe140c6 fetch 2 ,mem_rx_window_init 
+0f18 67e1003e store 2 ,mem_rx_window 
+0f19 7855fc00 disable wake 
+0f1a 70095b0c jam bt_evt_exit_sniff ,mem_fifo_temp 
+0f1b 202078dc branch ui_ipc_send_event 
+
+check_attempt:
+0f1c 44b5c00d bpatch patch0d_3 ,mem_patch0d 
+0f1d 78377c00 enable attempt 
+0f1e 6fe08030 fetch 1 ,mem_state 
+0f1f c2808f29 bbit1 state_insniff ,check_attempt_sniff 
+0f20 c6088000 rtnmark1 mark_testmode 
+0f21 6fe08047 fetch 1 ,mem_arq 
+0f22 c3818000 rtnbit1 wack 
+0f23 6fe08048 fetch 1 ,mem_lmp_to_send 
+0f24 247a0000 nrtn blank 
+0f25 6fe0804b fetch 1 ,mem_op 
+0f26 c3830000 rtnbit1 op_txl2cap 
+
+check_attempt_nomore:
+0f27 18007e00 force 0 ,pdata 
+0f28 20600000 rtn 
+
+check_attempt_sniff:
+0f29 c3010f33 bbit0 state_insco ,check_attempt_not_sco 
+0f2a 6fe08088 fetch 1 ,mem_current_sniff_attempt 
+0f2b c0010f2f beq 2 ,check_attempt_sniff_restore_sco 
+0f2c 6fe08047 fetch 1 ,mem_arq 
+0f2d c2818f3c bbit1 wack ,check_attempt_notimeout 
+0f2e c5840f3c bmark0 mark_esco_rxok ,check_attempt_notimeout 
+
+check_attempt_sniff_restore_sco:
+0f2f 24348f3c nbranch check_attempt_notimeout ,master 
+0f30 6fe08048 fetch 1 ,mem_lmp_to_send 
+0f31 243a0f3c nbranch check_attempt_notimeout ,blank 
+
+check_attempt_sco_master:
+0f32 20200f27 branch check_attempt_nomore 
+
+check_attempt_not_sco:
+0f33 6fe08088 fetch 1 ,mem_current_sniff_attempt 
+0f34 c0808f3c bne 1 ,check_attempt_notimeout 
+0f35 6fe08089 fetch 1 ,mem_current_sniff_timeout 
+0f36 203a0f3c branch check_attempt_notimeout ,blank 
+0f37 1fe0ffff increase -1 ,pdata 
+0f38 67e08089 store 1 ,mem_current_sniff_timeout 
+0f39 6fe08047 fetch 1 ,mem_arq 
+0f3a c3818000 rtnbit1 wack 
+0f3b 24768000 nrtn match 
+
+check_attempt_notimeout:
+0f3c 6fe08088 fetch 1 ,mem_current_sniff_attempt 
+0f3d 1fe0ffff increase -1 ,pdata 
+0f3e 67e08088 store 1 ,mem_current_sniff_attempt 
+0f3f 20600000 rtn 
+
+sniff_check_window:
+0f40 44b6400d bpatch patch0d_4 ,mem_patch0d 
+0f41 78487c00 disable swfine 
+0f42 18423600 copy temp ,stop_watch 
+0f43 20400a6d call context_search_sniff_window 
+0f44 78547c00 disable user 
+0f45 24628000 nrtn zero 
+0f46 18003600 force 0 ,stop_watch 
+0f47 78347c00 enable user 
+0f48 20600000 rtn 
+
+check_esco_amaddr:
+0f49 6fe0c15d fetch 1 ,mem_esco_addr 
+0f4a a881fe00 icompare 0xff ,am_addr 
+0f4b 20600000 rtn 
+
+parse_l2cap:
+0f4c 44b6c00d bpatch patch0d_5 ,mem_patch0d 
+0f4d 793f8001 set0 mark_rxbuf_inuse ,mark 
+
+parse_l2cap_cont:
+0f4e 70031b00 jam l2cap_rx_clear ,mem_l2cap_rx_done 
+0f4f 6fe08314 fetch 1 ,mem_l2cap_rxbuff_inuse 
+0f50 207a0000 rtn blank 
+0f51 2feffe00 isolate1 l2cap_inuse_buff1 ,pdata 
+0f52 d8c01000 arg mem_l2cap_rxbuff1 ,contr 
+0f53 2040ce34 call process_rx_l2cap_pkt ,true 
+0f54 44b7400d bpatch patch0d_6 ,mem_patch0d 
+0f55 6fe0831b fetch 1 ,mem_l2cap_rx_done 
+0f56 c0008f5f beq l2cap_rx_done ,parse_l2cap_release_buff1 
+0f57 70031b00 jam l2cap_rx_clear ,mem_l2cap_rx_done 
+0f58 6fe08314 fetch 1 ,mem_l2cap_rxbuff_inuse 
+0f59 c4008000 rtnbit0 l2cap_inuse_buff2 
+0f5a d8c01400 arg mem_l2cap_rxbuff2 ,contr 
+0f5b 20404e34 call process_rx_l2cap_pkt 
+0f5c 6fe0831b fetch 1 ,mem_l2cap_rx_done 
+0f5d c0008f65 beq l2cap_rx_done ,parse_l2cap_release_buff2 
+0f5e 20600000 rtn 
+
+parse_l2cap_release_buff1:
+0f5f 6fe08314 fetch 1 ,mem_l2cap_rxbuff_inuse 
+0f60 793ffe00 set0 l2cap_inuse_buff1 ,pdata 
+0f61 67e08314 store 1 ,mem_l2cap_rxbuff_inuse 
+0f62 58000000 setarg 0 
+0f63 67e1030e store 2 ,mem_l2cap_rxbuff1_len 
+0f64 20600000 rtn 
+
+parse_l2cap_release_buff2:
+0f65 6fe08314 fetch 1 ,mem_l2cap_rxbuff_inuse 
+0f66 793ffe01 set0 l2cap_inuse_buff2 ,pdata 
+0f67 67e08314 store 1 ,mem_l2cap_rxbuff_inuse 
+0f68 58000000 setarg 0 
+0f69 67e10310 store 2 ,mem_l2cap_rxbuff2_len 
+0f6a 20600000 rtn 
+
+l2cap_buff1_inuse:
+0f6b 6fe08314 fetch 1 ,mem_l2cap_rxbuff_inuse 
+0f6c 79207e00 set1 l2cap_inuse_buff1 ,pdata 
+0f6d 67e08314 store 1 ,mem_l2cap_rxbuff_inuse 
+0f6e 20600000 rtn 
+
+l2cap_buff2_inuse:
+0f6f 6fe08314 fetch 1 ,mem_l2cap_rxbuff_inuse 
+0f70 79207e01 set1 l2cap_inuse_buff2 ,pdata 
+0f71 67e08314 store 1 ,mem_l2cap_rxbuff_inuse 
+0f72 20600000 rtn 
+
+slave_send_access:
+0f73 44b7c00d bpatch patch0d_7 ,mem_patch0d 
+0f74 1d00c201 add clke_bt ,1 ,bt_clk 
+0f75 2040113c call fetch_extm_bt_adr 
+0f76 18004803 force 0x03 ,freq_mode 
+0f77 20401124 call tx_radio_freq 
+0f78 20401340 call start_transmitter 
+0f79 2040134e call start_tx_external 
+0f7a 20201353 branch send_access_word 
+
+slave_conn_send_packet:
+0f7b 44b8400e bpatch patch0e_0 ,mem_patch0e 
+0f7c 2040133c call rf_setup_time_slave_slot 
+0f7d 1d027e00 deposit clke_bt 
+0f7e 684a40d1 fetcht 4 ,mem_next_btclk 
+0f7f 98467e00 isub temp ,pdata 
+0f80 c1808000 rtnne 1 
+0f81 28203e00 compare type_null ,type ,0x1f 
+0f82 24208f85 nbranch slave_conn_send_access ,true 
+0f83 6fe08019 fetch 1 ,mem_rx_type 
+0f84 207a0000 rtn blank 
+
+slave_conn_send_access:
+0f85 20400f73 call slave_send_access 
+
+transmit_packet:
+0f86 28203e10 compare type_id ,type ,0x1f 
+0f87 20208e7c branch end_of_packet ,true 
+0f88 1c230400 rshift bt_clk ,temp 
+0f89 18419c40 or temp ,0x40 ,white_init 
+
+transmit_packet_whitened:
+0f8a 44b8c00e bpatch patch0e_1 ,mem_patch0e 
+0f8b 7823fc00 enable enable_white 
+0f8c 78257c00 enable enable_hec 
+0f8d 782dfc00 enable encode_fec1 
+0f8e 793f8010 set0 mark_longpacket ,mark 
+0f8f 18827e00 deposit am_addr 
+0f90 08008603 inject mod ,3 
+0f91 18227e00 deposit type 
+0f92 08008604 inject mod ,4 
+0f93 6fe08047 fetch 1 ,mem_arq 
+0f94 08008004 inject bucket ,4 
+0f95 08008603 inject mod ,3 
+0f96 78247c00 enable enable_parity 
+0f97 08008608 inject mod ,8 
+0f98 784dfc00 disable encode_fec1 
+0f99 78447c00 disable enable_parity 
+0f9a 78457c00 disable enable_hec 
+0f9b 793faa02 set0 psk3m ,radio_ctrl 
+0f9c d8400000 arg 0 ,temp 
+0f9d 2040130b call reserve_slot 
+0f9e 44b9400e bpatch patch0e_2 ,mem_patch0e 
+0f9f 18217e1f and type ,0x1f ,pdata 
+0fa0 c0098fce beq type_lmp ,transmit_lmp 
+0fa1 c0000e7c beq type_null ,end_of_packet 
+0fa2 c0008e7c beq type_poll ,end_of_packet 
+0fa3 c0010faf beq type_fhs ,transmit_fhs 
+0fa4 c0018fdd beq type_dm1 ,transmit_dm1 
+0fa5 c0020fe3 beq type_dh1 ,transmit_dh1 
+0fa6 c0040fe2 beq type_3dh1 ,transmit_3dh1 
+0fa7 d8400004 arg 4 ,temp 
+0fa8 2040130b call reserve_slot 
+0fa9 c0050fdf beq type_dm3 ,transmit_dm3 
+0faa c0058fe5 beq type_dh3 ,transmit_dh3 
+0fab d8400008 arg 8 ,temp 
+0fac 2040130b call reserve_slot 
+0fad c0078fe5 beq type_dh5 ,transmit_dh5 
+0fae 20200fdf branch transmit_dm5 
+
+transmit_fhs:
+0faf 44b9c00e bpatch patch0e_3 ,mem_patch0e 
+0fb0 6fe080e5 fetch 1 ,mem_fhs_am_addr 
+0fb1 1fe20800 icopy am_addr 
+0fb2 6fe0808d fetch 1 ,mem_fhs_misc 
+0fb3 1fe23800 icopy fhs_misc 
+0fb4 6fe1c0b2 fetch 3 ,mem_class 
+0fb5 1fe23a00 icopy fhs_class 
+0fb6 6fe140ac fetch 2 ,mem_nap 
+0fb7 1fe25c00 icopy nap 
+0fb8 7824fc00 enable enable_crc 
+0fb9 782e7c00 enable encode_fec2 
+0fba 1c022200 copy bt_adr ,rega 
+0fbb 20401134 call fetch_self_bt_adr 
+0fbc 782afc00 pulse recalc 
+0fbd 20000020 nop 32 
+0fbe 1c221600 copy bt_clk ,timeup 
+0fbf 6fe200b0 fetch 4 ,mem_clkn_bt 
+0fc0 1fe24200 icopy bt_clk 
+0fc1 53c07e00 preload fhs0 
+0fc2 79207e3a set1 58 ,pdata 
+0fc3 08008648 inject mod ,72 
+0fc4 53e07e00 preload fhs1 
+0fc5 08008648 inject mod ,72 
+0fc6 19624200 copy timeup ,bt_clk 
+0fc7 1a224000 copy rega ,bt_adr 
+0fc8 78247c00 enable enable_parity 
+0fc9 08008610 inject mod ,16 
+0fca 78447c00 disable enable_parity 
+0fcb 20200e7c branch end_of_packet 
+
+transmit_lmp_ccm:
+0fcc 78477c00 disable encrypt 
+0fcd 20200fd2 branch transmit_lmp_common 
+
+transmit_lmp:
+0fce 44ba400e bpatch patch0e_4 ,mem_patch0e 
+0fcf 20400ddd call check_enc_ccm 
+0fd0 243a0fcc nbranch transmit_lmp_ccm ,blank 
+0fd1 78277c00 enable encrypt 
+
+transmit_lmp_common:
+0fd2 7824fc00 enable enable_crc 
+0fd3 782e7c00 enable encode_fec2 
+0fd4 6fe0838a fetch 1 ,mem_lmo_header_length 
+0fd5 1fe105f8 and pdata ,0x1f8 ,temp 
+0fd6 d8c0038a arg mem_lmo_header_length ,contr 
+0fd7 18408408 increase 8 ,temp 
+0fd8 18497200 rshift3 temp ,loopcnt 
+
+transmit_lmp_loop:
+0fd9 efe08006 ifetch 1 ,contr 
+0fda 08008608 inject mod ,8 
+0fdb c2000fd9 loop transmit_lmp_loop 
+0fdc 2020100f branch transmit_end 
+
+transmit_dm1:
+0fdd 782e7c00 enable encode_fec2 
+0fde 20200fe8 branch transmit_dmh 
+
+transmit_dm3:
+
+transmit_dm5:
+0fdf 782e7c00 enable encode_fec2 
+0fe0 79200010 set1 mark_longpacket ,mark 
+0fe1 20200fe8 branch transmit_dmh 
+
+transmit_3dh1:
+0fe2 79202a02 set1 psk3m ,radio_ctrl 
+
+transmit_dh1:
+0fe3 782efc00 enable encode_fec0 
+0fe4 20200fe8 branch transmit_dmh 
+
+transmit_dh3:
+
+transmit_dh5:
+0fe5 79202a02 set1 psk3m ,radio_ctrl 
+0fe6 782efc00 enable encode_fec0 
+0fe7 79200010 set1 mark_longpacket ,mark 
+
+transmit_dmh:
+0fe8 44bac00e bpatch patch0e_5 ,mem_patch0e 
+0fe9 6fe0804c fetch 1 ,mem_state_map 
+0fea c3028ffd bbit0 smap_edr ,transmit_noedr 
+0feb 18267c03 sub type ,3 ,null 
+0fec 20210ffd branch transmit_noedr ,positive 
+0fed 78477c00 disable encrypt 
+0fee 784e7c00 disable encode_fec2 
+0fef 782efc00 enable encode_fec0 
+0ff0 7843fc00 disable enable_white 
+0ff1 79202a01 set1 psk ,radio_ctrl 
+0ff2 2aaffe02 isolate1 psk3m ,radio_ctrl 
+0ff3 20208ff7 branch transmit_edr3m ,true 
+0ff4 580abeee setarg 0xabeee 
+0ff5 08008614 inject mod ,20 
+0ff6 20200ffb branch transmit_edr_sync_end 
+
+transmit_edr3m:
+0ff7 585faeba setarg 0x5faeba 
+0ff8 08008618 inject mod ,24 
+0ff9 58000012 setarg 0x12 
+0ffa 08008606 inject mod ,6 
+
+transmit_edr_sync_end:
+0ffb 7823fc00 enable enable_white 
+0ffc 79200010 set1 mark_longpacket ,mark 
+
+transmit_noedr:
+0ffd 78277c00 enable encrypt 
+0ffe 7824fc00 enable enable_crc 
+0fff c502901d bmark1 mark_loopback ,transmit_loopback 
+1000 6fe0c1e5 fetch 1 ,mem_tx_lch 
+1001 08008603 inject mod ,3 
+1002 6fe141e6 fetch 2 ,mem_tx_len 
+1003 98007200 iforce loopcnt 
+1004 c5081007 bmark1 mark_longpacket ,transmit_long 
+1005 08008605 inject mod ,5 
+1006 20201008 branch transmit_stuff 
+
+transmit_long:
+1007 0800860d inject mod ,13 
+
+transmit_stuff:
+1008 1f227e00 deposit loopcnt 
+1009 203a100f branch transmit_end ,blank 
+100a 6fe100be fetch 2 ,mem_txptr 
+100b 98000c00 iforce contr 
+
+transmit_stuff_loop:
+100c efe08006 ifetch 1 ,contr 
+100d 08008608 inject mod ,8 
+100e c200100c loop transmit_stuff_loop 
+
+transmit_end:
+100f 44bb400e bpatch patch0e_6 ,mem_patch0e 
+1010 20400ddd call check_enc_ccm 
+1011 203a1014 branch transmit_end2 ,blank 
+1012 6fe2026f fetch 4 ,mem_le_mic 
+1013 08008620 inject mod ,32 
+
+transmit_end2:
+1014 78247c00 enable enable_parity 
+1015 08008610 inject mod ,16 
+1016 78447c00 disable enable_parity 
+1017 20400ce4 call set_wait_ack 
+1018 6fe0804c fetch 1 ,mem_state_map 
+1019 c3028e7c bbit0 smap_edr ,end_of_packet 
+101a 18007e00 force 0 ,pdata 
+101b 08008606 inject mod ,6 
+101c 20200e7c branch end_of_packet 
+
+transmit_loopback:
+101d 44bbc00e bpatch patch0e_7 ,mem_patch0e 
+101e c5081025 bmark1 mark_longpacket ,transmit_loopback_long 
+
+transmit_loopback_short:
+101f 6fe080e4 fetch 1 ,mem_lch_code 
+1020 08008603 inject mod ,3 
+1021 6fe080ae fetch 1 ,mem_len 
+1022 98002600 iforce regc 
+1023 08008605 inject mod ,5 
+1024 2020102a branch transmit_loopback_cont 
+
+transmit_loopback_long:
+1025 6fe080e4 fetch 1 ,mem_lch_code 
+1026 08008603 inject mod ,3 
+1027 6fe100ae fetch 2 ,mem_len 
+1028 98002600 iforce regc 
+1029 0800860d inject mod ,13 
+
+transmit_loopback_cont:
+102a d8c01000 arg mem_l2cap_rxbuff1 ,contr 
+
+transmit_loopback_loop:
+102b 1a627c00 copy regc ,null 
+102c 20229031 branch transmit_loopback_end ,zero 
+102d efe08006 ifetch 1 ,contr 
+102e 08008608 inject mod ,8 
+102f 1a60a7ff increase -1 ,regc 
+1030 2020102b branch transmit_loopback_loop 
+
+transmit_loopback_end:
+1031 6fe109fc fetch 2 ,mem_tst_pktcnt_dmh 
+1032 1fe0fe01 increase 1 ,pdata 
+1033 67e109fc store 2 ,mem_tst_pktcnt_dmh 
+1034 2020100f branch transmit_end 
+
+apply_switch_clke:
+1035 6fe200b4 fetch 4 ,mem_clke_bt 
+1036 1fe0a207 add pdata ,7 ,rega 
+1037 6fe100c0 fetch 2 ,mem_slot_offset 
+1038 243a103b nbranch apply_switch_nozero ,blank 
+1039 1a20a3fd increase -3 ,rega 
+103a 20201043 branch apply_switch_wait_loop 
+
+apply_switch_nozero:
+103b 1feffe0c mul32 pdata ,12 ,pdata 
+103c 68590040 fetcht 2 ,core_halfslot 
+103d 18408401 increase 1 ,temp 
+
+apply_switch_loop:
+103e 98467e00 isub temp ,pdata 
+103f 24211042 nbranch apply_switch_bt ,positive 
+1040 1a20a3ff increase -1 ,rega 
+1041 2020103e branch apply_switch_loop 
+
+apply_switch_bt:
+1042 1fe67e00 sub pdata ,0 ,pdata 
+
+apply_switch_wait_loop:
+1043 37d18200 until null ,oneslot 
+1044 2c400600 compare 0 ,clkn_bt ,3 
+1045 24209043 nbranch apply_switch_wait_loop ,true 
+1046 98005200 iforce clke_rt 
+1047 1a225000 copy rega ,clke_bt 
+1048 98005200 iforce clke_rt 
+1049 20600000 rtn 
+
+calc_slot_offset:
+104a 44bc400f bpatch patch0f_0 ,mem_patch0f 
+104b 37d10200 until null ,halfslot 
+104c 1b427e00 deposit clke 
+104d 98000c00 iforce contr 
+104e 1ff17e00 rshift16 ,pdata ,pdata 
+104f 9c467200 isub clkn_bt ,loopcnt 
+1050 1f217203 and_into 3 ,loopcnt 
+1051 24229054 nbranch calc_bt_portion ,zero 
+1052 18007e00 force 0 ,pdata 
+1053 20201058 branch calc_skip_bt 
+
+calc_bt_portion:
+1054 68490163 fetcht 2 ,mem_param_rt_rthalfslot 
+1055 18007e00 force 0 ,pdata 
+
+calc_slot_offset_loop:
+1056 9840fe00 iadd temp ,pdata 
+1057 c2001056 loop calc_slot_offset_loop 
+
+calc_skip_bt:
+1058 98c0fe00 iadd contr ,pdata 
+1059 1fe6fc0c div pdata ,12 
+105a 20407e61 call get_div_result 
+105b 67e100c0 store 2 ,mem_slot_offset 
+105c 20600000 rtn 
+
+calc_clke_offset:
+105d 44bcc00f bpatch patch0f_1 ,mem_patch0f 
+105e 1b427e00 deposit clke 
+105f 1b220400 copy clkn ,temp 
+1060 98467c00 isub temp ,null 
+1061 7d217e2c nsetflag positive ,44 ,pdata 
+1062 98460400 isub temp ,temp 
+1063 6fe10163 fetch 2 ,mem_param_rt_rthalfslot 
+1064 284c000f isolate0 15 ,temp 
+1065 2020906b branch calc_clke_pos ,true 
+1066 18426000 copy temp ,alarm 
+1067 d8410000 arg 0x10000 ,temp 
+1068 6fe10163 fetch 2 ,mem_param_rt_rthalfslot 
+1069 98467e00 isub temp ,pdata 
+106a 9e008400 iadd alarm ,temp 
+
+calc_clke_pos:
+106b 604b028f storet 6 ,mem_le_clk_offset 
+106c 207b0000 rtn le 
+106d 604b0038 storet 6 ,mem_clk_offset 
+106e 20600000 rtn 
+
+calc_clke:
+106f 78587c00 disable clknt 
+1070 6fe3028f fetch 6 ,mem_le_clk_offset 
+1071 203b1073 branch calc_clke2 ,le 
+1072 6fe30038 fetch 6 ,mem_clk_offset 
+
+calc_clke2:
+1073 9b20e000 iadd clkn ,alarm 
+1074 1e00e00a increase 10 ,alarm 
+1075 6fe10163 fetch 2 ,mem_param_rt_rthalfslot 
+1076 9e067e00 isub alarm ,pdata 
+1077 2fec000f isolate0 15 ,pdata 
+1078 2020907f branch calc_clke_pos_adj ,true 
+1079 58010000 setarg 0x10000 
+107a 6b010163 fetchr regd ,2 ,mem_param_rt_rthalfslot 
+107b 9b067e00 isub regd ,pdata 
+107c 9e00e000 iadd alarm ,alarm 
+
+calc_clke_pos2:
+107d 1e023400 copy alarm ,clke 
+107e 20600000 rtn 
+
+calc_clke_pos_adj:
+107f 18007c00 force 0 ,null 
+1080 2020107d branch calc_clke_pos2 
+
+calc_mod_value_scale:
+1081 203b10a9 branch calc_mod_value_scale_le2 ,le 
+1082 58402c17 setarg 0x402c17 
+1083 67e189ee store 3 ,mem_scale_ratio 
+1084 19317e00 rshift16 access ,pdata 
+1085 1fe90400 rshift3 pdata ,temp 
+1086 df200030 arg 48 ,loopcnt 
+
+calc_mod_value_scale_do:
+1087 58000000 setarg 0 
+1088 67e189f1 store 3 ,mem_xcnt 
+
+calc_mod_vs_loop:
+1089 18437e00 rshift temp ,pdata 
+108a 9842fe00 ixor temp ,pdata 
+108b 1fe17e03 and_into 3 ,pdata 
+108c c300908e bbit0 1 ,calc_mod_vs01 
+108d 1fe0ffff pincrease -1 
+
+calc_mod_vs01:
+108e d8a009f1 arg mem_xcnt ,contw 
+108f 98a08a00 iadd contw ,contw 
+1090 efe08005 ifetch 1 ,contw 
+1091 1fe0fe01 pincrease 1 
+1092 e7e08005 istore 1 ,contw 
+1093 18430400 rshift temp ,temp 
+1094 c2001089 loop calc_mod_vs_loop 
+1095 da2009f3 arg mem_xcnt + 2 ,rega 
+1096 da4009ee arg mem_scale_ratio ,regb 
+1097 da600000 arg 0 ,regc 
+1098 df200003 arg 3 ,loopcnt 
+
+calc_mod_vs_loop2:
+1099 efe08011 ifetch 1 ,rega 
+109a e8408012 ifetcht 1 ,regb 
+109b 984ffe00 imul32 temp ,pdata 
+109c 9a60a600 iadd regc ,regc 
+109d 1a20a3ff increase -1 ,rega 
+109e 1a40a401 increase 1 ,regb 
+109f c2001099 loop calc_mod_vs_loop2 
+10a0 6fe089ef fetch 1 ,mem_scale_ratio + 1 
+10a1 1fed7e00 lshift8 pdata ,pdata 
+10a2 1ff27e00 lshift4 pdata ,pdata 
+10a3 9a66fc00 idiv regc 
+10a4 20407e64 call wait_div_end 
+10a5 1807fe00 quotient pdata 
+10a6 67f10938 store 2 ,mod_value_scale1 
+10a7 67e109f4 store 2 ,mem_scale_ratio_temp 
+10a8 20600000 rtn 
+
+calc_mod_value_scale_le2:
+10a9 6fe109f4 fetch 2 ,mem_scale_ratio_temp 
+10aa 67f10938 store 2 ,mod_value_scale1 
+10ab 20600000 rtn 
+
+calc_mod_value_scale_le:
+10ac 58402d19 setarg 0x402d19 
+10ad 67e189ee store 3 ,mem_scale_ratio 
+10ae 192f7e00 rshift32 access ,pdata 
+10af 1fe90400 rshift3 pdata ,temp 
+10b0 df200020 arg 32 ,loopcnt 
+10b1 20201087 branch calc_mod_value_scale_do 
+
+calc_radio_freq:
+10b2 44bd400f bpatch patch0f_2 ,mem_patch0f 
+10b3 2040115d call set_sync_on 
+10b4 1c227e00 copy bt_clk ,pdata 
+10b5 1fe17f80 and_into 0x180 ,pdata 
+10b6 2c800e03 compare 3 ,freq_mode ,0x07 
+10b7 242090bb nbranch freq_not_connection ,true 
+10b8 1fe97e00 rshift3 pdata ,pdata 
+10b9 9ae0fe00 iadd freq_index ,pdata 
+10ba 202010bc branch do_hop_mod_now 
+
+freq_not_connection:
+10bb 1ae27e00 copy freq_index ,pdata 
+
+do_hop_mod_now:
+10bc 1fe6fc4f div pdata ,79 
+10bd 782afc00 pulse recalc 
+10be 20407e64 call wait_div_end 
+10bf 18072200 remainder rega 
+10c0 1a2085d8 add rega ,-40 ,temp 
+10c1 202110c4 branch odd_half ,positive 
+10c2 1a238400 lshift rega ,temp 
+10c3 202010c6 branch freq_result 
+
+odd_half:
+10c4 18438400 lshift temp ,temp 
+10c5 18408401 increase 1 ,temp 
+
+freq_result:
+10c6 44bdc00f bpatch patch0f_3 ,mem_patch0f 
+10c7 6fe08031 fetch 1 ,mem_mode 
+10c8 c30190d7 bbit0 afh_change ,afh_process_con 
+
+afh_process_0:
+10c9 6fe240d9 fetch 4 ,mem_afh_instant 
+10ca 9c267c00 isub bt_clk ,null 
+10cb 202110d7 branch afh_process_con ,positive 
+10cc 204010f6 call afh_clear 
+10cd 6fe0c0e0 fetch 1 ,mem_afh_new_mod 
+10ce 207a0000 rtn blank 
+10cf 6fe08031 fetch 1 ,mem_mode 
+10d0 79207e02 set1 afh_enable ,pdata 
+10d1 67e08031 store 1 ,mem_mode 
+10d2 6fe2c0ee fetch 5 ,mem_afh_map_new 
+10d3 67e2c0e1 store 5 ,mem_afh_map_lo 
+10d4 efe28006 ifetch 5 ,contr 
+10d5 67e2c0e6 store 5 ,mem_afh_map_hi 
+10d6 204010fb call afh_process_freq_map 
+
+afh_process_con:
+10d7 6fe08031 fetch 1 ,mem_mode 
+10d8 c4010000 rtnbit0 afh_enable 
+10d9 2c2ffe01 isolate1 1 ,bt_clk 
+10da 202090f3 branch afh_same_channel ,true 
+10db 18492200 rshift3 temp ,rega 
+10dc 18410e07 and temp ,7 ,queue 
+10dd 580040e1 setarg mem_afh_map_lo 
+10de 9a20a200 iadd rega ,rega 
+10df efe08011 ifetch 1 ,rega 
+10e0 afec0000 qisolate0 pdata 
+10e1 202090e4 branch afh_process_1 ,true 
+10e2 18427e00 deposit temp 
+10e3 202010f0 branch afh_process_end 
+
+afh_process_1:
+10e4 6fe0c0eb fetch 1 ,mem_afh_used 
+10e5 98002400 iforce regb 
+10e6 1c227e00 deposit bt_clk 
+10e7 1fe17f80 and_into 0x180 ,pdata 
+10e8 1fe97e00 rshift3 pdata ,pdata 
+10e9 9ae0fe00 iadd freq_index ,pdata 
+10ea 9a46fc00 idiv regb 
+10eb 580040f9 setarg mem_afh_map 
+10ec 20407e64 call wait_div_end 
+10ed 18072200 remainder rega 
+10ee 9a208c00 iadd rega ,contr 
+10ef efe08006 ifetch 1 ,contr 
+
+afh_process_end:
+10f0 67e0c0ec store 1 ,mem_afh_index 
+10f1 98000400 iforce temp 
+10f2 20600000 rtn 
+
+afh_same_channel:
+10f3 6fe0c0ec fetch 1 ,mem_afh_index 
+10f4 98000400 iforce temp 
+10f5 20600000 rtn 
+
+afh_clear:
+10f6 6fe08031 fetch 1 ,mem_mode 
+10f7 793ffe02 set0 afh_enable ,pdata 
+10f8 793ffe03 set0 afh_change ,pdata 
+10f9 67e08031 store 1 ,mem_mode 
+10fa 20600000 rtn 
+
+afh_process_freq_map:
+10fb 44be400f bpatch patch0f_4 ,mem_patch0f 
+10fc d8a040f9 arg mem_afh_map ,contw 
+10fd 1800720a force 10 ,loopcnt 
+10fe 20407d8c call memset0 
+10ff d8a040f9 arg mem_afh_map ,contw 
+1100 18002600 force 0 ,regc 
+1101 18000e02 force 2 ,queue 
+
+process_freq_3:
+1102 6fe2c0e1 fetch 5 ,mem_afh_map_lo 
+1103 98000400 iforce temp 
+1104 28e1fe02 compare 2 ,queue ,0xff 
+1105 20209107 branch process_freq_1 ,true 
+1106 18430400 rshift temp ,temp 
+
+process_freq_1:
+1107 284c0000 isolate0 0 ,temp 
+1108 2020910b branch process_freq_0 ,true 
+1109 1a627e00 deposit regc 
+110a e7e08005 istore 1 ,contw 
+
+process_freq_0:
+110b 184b0400 rshift2 temp ,temp 
+110c 1a60a602 increase 2 ,regc 
+110d 2a61fc28 compare 40 ,regc ,0xfe 
+110e 24209114 nbranch process_freq_2 ,true 
+110f 6fe2c0e6 fetch 5 ,mem_afh_map_hi 
+1110 98000400 iforce temp 
+1111 28e1fe02 compare 2 ,queue ,0xff 
+1112 20209114 branch process_freq_2 ,true 
+1113 18430400 rshift temp ,temp 
+
+process_freq_2:
+1114 1a667c4e sub regc ,78 ,null 
+1115 20211107 branch process_freq_1 ,positive 
+1116 18002601 force 1 ,regc 
+1117 18e08fff increase -1 ,queue 
+1118 24229102 nbranch process_freq_3 ,zero 
+1119 da2040f9 arg mem_afh_map ,rega 
+111a 18a27e00 deposit contw 
+111b 9a267e00 isub rega ,pdata 
+111c 67e0c0eb store 1 ,mem_afh_used 
+111d 20600000 rtn 
+
+rx_radio_freq:
+111e 44bec00f bpatch patch0f_5 ,mem_patch0f 
+111f 204010b2 call calc_radio_freq 
+1120 6fe080e3 fetch 1 ,mem_debug_config 
+1121 c3029123 bbit0 debug_rx_fixed_freq ,rx_radio_freq_now 
+1122 684883a0 fetcht 1 ,mem_rx_fixed_freq 
+
+rx_radio_freq_now:
+1123 2020118b branch set_freq_rx 
+
+tx_radio_freq:
+1124 44bf400f bpatch patch0f_6 ,mem_patch0f 
+1125 204010b2 call calc_radio_freq 
+1126 6fe080e3 fetch 1 ,mem_debug_config 
+1127 c3021129 bbit0 debug_tx_fixed_freq ,tx_radio_freq_now 
+1128 6848839f fetcht 1 ,mem_tx_fixed_freq 
+
+tx_radio_freq_now:
+1129 20201201 branch set_freq_tx 
+
+fetch_giac:
+112a 18005a00 force 0 ,uap 
+112b 6fe1c0af fetch 3 ,mem_glap 
+112c 98005800 iforce lap 
+112d 20600000 rtn 
+
+fetch_page_bt_adr:
+112e 44bfc00f bpatch patch0f_7 ,mem_patch0f 
+112f 6fe0c1e0 fetch 1 ,mem_hci_puap 
+1130 1fe25a00 icopy uap 
+1131 6fe1c1dd fetch 3 ,mem_hci_plap 
+1132 1fe25800 icopy lap 
+1133 20600000 rtn 
+
+fetch_self_bt_adr:
+1134 44c04010 bpatch patch10_0 ,mem_patch10 
+1135 6fe140ac fetch 2 ,mem_nap 
+1136 1fe25c00 icopy nap 
+1137 6fe0c0ab fetch 1 ,mem_uap 
+1138 1fe25a00 icopy uap 
+1139 6fe1c0a8 fetch 3 ,mem_lap 
+113a 1fe25800 icopy lap 
+113b 20600000 rtn 
+
+fetch_extm_bt_adr:
+113c 44c0c010 bpatch patch10_1 ,mem_patch10 
+113d 6fe10044 fetch 2 ,mem_pnap 
+113e 1fe25c00 icopy nap 
+113f 6fe08043 fetch 1 ,mem_puap 
+1140 1fe25a00 icopy uap 
+1141 6fe18040 fetch 3 ,mem_plap 
+1142 1fe25800 icopy lap 
+1143 20600000 rtn 
+
+fetch_diac:
+1144 c5101147 bmark1 mark_all_diac ,fetch_diac_do 
+1145 c68e8000 rtnmark0 mark_inquiry_state 
+1146 c68f8000 rtnmark0 mark_periodical_diac 
+
+fetch_diac_do:
+1147 1d815900 and_into -256 ,lap 
+1148 782afc00 pulse recalc 
+1149 20000020 nop 32 
+114a 20600000 rtn 
+
+shutdown_radio:
+114b 44c14010 bpatch patch10_2 ,mem_patch10 
+114c 20404d0b call rf_debug_shutdown_radio_line 
+114d 18002a08 force 0x08 ,radio_ctrl 
+114e 18002a00 force 0 ,radio_ctrl 
+114f 7850fc00 disable is_rx 
+1150 78507c00 disable is_tx 
+1151 782f7c00 pulse packet_end 
+1152 70890005 jam 0x5 ,modem_en 
+1153 20000002 nop 2 
+1154 70890000 jam 0x0 ,modem_en 
+1155 2040115d call set_sync_on 
+1156 708a1600 jam 0 ,core_syn_en 
+1157 708a0a10 jam 0x10 ,core_rf_ldo_en0 
+1158 6ff08a09 fetch 1 ,core_clkpll_cfg6 
+1159 793ffe07 set0 7 ,pdata 
+115a 67f08a09 store 1 ,core_clkpll_cfg6 
+115b 708a0b00 jam 0 ,core_rf_ldo_en1 
+115c 2020129e branch gain_control 
+
+set_sync_on:
+115d 44c1c010 bpatch patch10_3 ,mem_patch10 
+115e 70890005 jam 0x5 ,modem_en 
+115f 20000002 nop 2 
+1160 70890000 jam 0x0 ,modem_en 
+1161 6fe0c0c5 fetch 1 ,mem_fcomp_div 
+1162 c00c1164 beq xtal_24m ,set_sync_on_24m 
+1163 c0041179 beq xtal_16m ,set_sync_on_16m 
+
+set_sync_on_24m:
+1164 708a10aa jam 0xaa ,core_rf_ldo_cfg4 
+1165 708a11aa jam 0xaa ,core_rf_ldo_cfg5 
+1166 708a1215 jam 0x15 ,core_rf_ldo_cfg6 
+1167 708a0a78 jam 0x78 ,core_rf_ldo_en0 
+1168 6ff08a09 fetch 1 ,core_clkpll_cfg6 
+1169 79207e07 set1 7 ,pdata 
+116a 67f08a09 store 1 ,core_clkpll_cfg6 
+116b 708a0b04 jam 0x04 ,core_rf_ldo_en1 
+116c 2000003c nop 60 
+116d 708a167a jam 0x7a ,core_syn_en 
+116e 708a1700 jam 0 ,core_rx_en0 
+116f 708a1800 jam 0 ,core_rx_en1 
+1170 708a1900 jam 0 ,core_tx_en0 
+1171 708a1a00 jam 0 ,core_tx_en1 
+1172 708a112a jam 0x2a ,core_rf_ldo_cfg5 
+1173 708a0a78 jam 0x78 ,core_rf_ldo_en0 
+
+set_sync_on_next:
+1174 6ff08a09 fetch 1 ,core_clkpll_cfg6 
+1175 793ffe07 set0 7 ,pdata 
+1176 67f08a09 store 1 ,core_clkpll_cfg6 
+1177 708a4300 jam 0 ,core_syn_cal_ctrl 
+1178 20600000 rtn 
+
+set_sync_on_16m:
+1179 708a8be6 jam 0xe6 ,core_syn_aac_cfg1 
+117a 708a10aa jam 0xaa ,core_rf_ldo_cfg4 
+117b 708a11aa jam 0xaa ,core_rf_ldo_cfg5 
+117c 708a1215 jam 0x15 ,core_rf_ldo_cfg6 
+117d 708a0a78 jam 0x78 ,core_rf_ldo_en0 
+117e 6ff08a09 fetch 1 ,core_clkpll_cfg6 
+117f 79207e07 set1 7 ,pdata 
+1180 67f08a09 store 1 ,core_clkpll_cfg6 
+1181 708a0b04 jam 0x04 ,core_rf_ldo_en1 
+1182 2000003c nop 60 
+1183 708a163a jam 0x3a ,core_syn_en 
+1184 708a1700 jam 0 ,core_rx_en0 
+1185 708a1800 jam 0 ,core_rx_en1 
+1186 708a1900 jam 0 ,core_tx_en0 
+1187 708a1a00 jam 0 ,core_tx_en1 
+1188 708a112a jam 0x2a ,core_rf_ldo_cfg5 
+1189 708a0a38 jam 0x38 ,core_rf_ldo_en0 
+118a 20201174 branch set_sync_on_next 
+
+set_freq_rx:
+118b 44c24010 bpatch patch10_4 ,mem_patch10 
+118c 6fe0c0c5 fetch 1 ,mem_fcomp_div 
+118d 1fe67c18 sub pdata ,xtal_24m ,null 
+118e 20429196 call rf_rx_write_freq_24m ,zero 
+118f 2442919c ncall rf_rx_write_freq_16m ,zero 
+1190 60488017 storet 1 ,mem_last_freq 
+1191 1840fe00 add temp ,0 ,pdata 
+1192 c5169194 bmark1 mark_ble_2m ,set_rxfreq_2m_offset 
+1193 1840fe01 add temp ,1 ,pdata 
+
+set_rxfreq_2m_offset:
+1194 204011c1 call rf_rx_write_freq 
+1195 20201081 branch calc_mod_value_scale 
+
+rf_rx_write_freq_24m:
+1196 708a4300 jam 0 ,core_syn_cal_ctrl 
+1197 708a3d04 jam 0x04 ,core_syn_top_ctrl 
+1198 708a3e00 jam 0 ,core_syn_mmd_cp_ctrl 
+1199 708a8403 jam 0x03 ,core_syn_cp_lpf_cfg 
+119a 708a8940 jam 0x40 ,core_syn_afc_cfg3 
+119b 20600000 rtn 
+
+rf_rx_write_freq_16m:
+119c 708a4330 jam 0x30 ,core_syn_cal_ctrl 
+119d 708a3d06 jam 0x06 ,core_syn_top_ctrl 
+119e 708a3e00 jam 0 ,core_syn_mmd_cp_ctrl 
+119f 708a8420 jam 0x20 ,core_syn_cp_lpf_cfg 
+11a0 708a8915 jam 0x15 ,core_syn_afc_cfg3 
+11a1 20600000 rtn 
+
+rf_rx_enable:
+11a2 44c2c010 bpatch patch10_5 ,mem_patch10 
+11a3 20404d05 call rf_debug_rx_gpio_high 
+11a4 6fe0c1ea fetch 1 ,mem_gain_fix 
+11a5 c07f91ab beq 0xff ,rf_rx_enable_no_soft_agc 
+11a6 d8c041eb arg mem_gain_table ,contr 
+11a7 98c08c00 iadd contr ,contr 
+11a8 efe08006 ifetch 1 ,contr 
+11a9 67f08961 store 1 ,core_rf_rx_gain_fix 
+11aa 70896027 jam 0x27 ,core_rf_rx_agc_ctrl 
+
+rf_rx_enable_no_soft_agc:
+11ab 6848c1ee fetcht 1 ,mem_gain_second_agc_en 
+11ac 6ff08960 fetch 1 ,core_rf_rx_agc_ctrl 
+11ad 9841fe00 ior temp ,pdata 
+11ae 67f08960 store 1 ,core_rf_rx_agc_ctrl 
+11af 708a10aa jam 0xaa ,core_rf_ldo_cfg4 
+11b0 708a112a jam 0x2a ,core_rf_ldo_cfg5 
+11b1 708a1213 jam 0x13 ,core_rf_ldo_cfg6 
+11b2 708a0a7f jam 0x7f ,core_rf_ldo_en0 
+11b3 6ff08a09 fetch 1 ,core_clkpll_cfg6 
+11b4 793ffe07 set0 7 ,pdata 
+11b5 67f08a09 store 1 ,core_clkpll_cfg6 
+11b6 2000003c nop 60 
+11b7 708a171f jam 0x1f ,core_rx_en0 
+11b8 708a18f8 jam 0xf8 ,core_rx_en1 
+11b9 708a1918 jam 0x18 ,core_tx_en0 
+11ba 708a1000 jam 0x00 ,core_rf_ldo_cfg4 
+11bb 708a1120 jam 0x20 ,core_rf_ldo_cfg5 
+11bc 2000000a nop 10 
+11bd 70890004 jam 0x04 ,modem_en 
+11be 20000002 nop 2 
+11bf 7089000c jam 0x0c ,modem_en 
+11c0 20600000 rtn 
+
+rf_rx_write_freq:
+11c1 44c34010 bpatch patch10_6 ,mem_patch10 
+11c2 d8c00960 arg 2400 ,contr 
+11c3 98c0fe00 iadd contr ,pdata 
+11c4 6848c0c5 fetcht 1 ,mem_fcomp_div 
+11c5 202011d0 branch rf_write_freq_calc 
+
+rf_tx_write_freq:
+11c6 44c3c010 bpatch patch10_7 ,mem_patch10 
+11c7 6fe0c0c5 fetch 1 ,mem_fcomp_div 
+11c8 1fe67c18 sub pdata ,xtal_24m ,null 
+11c9 204291f3 call rf_tx_write_freq_24m ,zero 
+11ca 244291fa ncall rf_tx_write_freq_16m ,zero 
+11cb 58000960 setarg 2400 
+11cc 9a20fe00 iadd rega ,pdata 
+11cd 1fe3fe00 lshift pdata ,pdata 
+11ce 6848c0c5 fetcht 1 ,mem_fcomp_div 
+11cf 184f8403 mul32 temp ,0x03 ,temp 
+
+rf_write_freq_calc:
+11d0 18438400 lshift temp ,temp 
+11d1 9846fc00 idiv temp 
+11d2 20407e64 call wait_div_end 
+11d3 1807fe00 quotient pdata 
+11d4 67f08a3f store 1 ,core_syn_divr_int 
+11d5 18077e00 remainder pdata 
+11d6 1ff07e00 lshift16 pdata ,pdata 
+11d7 1fed7e00 lshift8 pdata ,pdata 
+11d8 9846fc00 idiv temp 
+11d9 20407e64 call wait_div_end 
+11da 1807fe00 quotient pdata 
+11db 67f08a42 store 1 ,core_syn_divr_int + 3 
+11dc 1fecfe00 rshift8 pdata ,pdata 
+11dd 67f08a41 store 1 ,core_syn_divr_int + 2 
+11de 1fecfe00 rshift8 pdata ,pdata 
+11df 67f08a40 store 1 ,core_syn_divr_int + 1 
+11e0 68588a43 fetcht 1 ,core_syn_cal_ctrl 
+11e1 184104f0 and_into 0xf0 ,temp 
+11e2 60588a43 storet 1 ,core_syn_cal_ctrl 
+11e3 2000000c nop 12 
+11e4 6fe0c0c5 fetch 1 ,mem_fcomp_div 
+11e5 c00c11e7 beq xtal_24m ,rf_write_freq_calc_24m 
+11e6 c00411ed beq xtal_16m ,rf_write_freq_calc_16m 
+
+rf_write_freq_calc_24m:
+11e7 1841840c or_into 0x0c ,temp 
+11e8 60588a43 storet 1 ,core_syn_cal_ctrl 
+11e9 2000000c nop 12 
+11ea 18418403 or_into 0x03 ,temp 
+11eb 60588a43 storet 1 ,core_syn_cal_ctrl 
+11ec 20600000 rtn 
+
+rf_write_freq_calc_16m:
+11ed 1841843c or_into 0x3c ,temp 
+11ee 60588a43 storet 1 ,core_syn_cal_ctrl 
+11ef 2000000c nop 12 
+11f0 18418433 or_into 0x33 ,temp 
+11f1 60588a43 storet 1 ,core_syn_cal_ctrl 
+11f2 20600000 rtn 
+
+rf_tx_write_freq_24m:
+11f3 708a4300 jam 0 ,core_syn_cal_ctrl 
+11f4 708a3d12 jam 0x12 ,core_syn_top_ctrl 
+11f5 708a3e00 jam 0 ,core_syn_mmd_cp_ctrl 
+11f6 708a8403 jam 0x03 ,core_syn_cp_lpf_cfg 
+11f7 708a8ba6 jam 0xa6 ,core_syn_aac_cfg1 
+11f8 708a8940 jam 0x40 ,core_syn_afc_cfg3 
+11f9 20600000 rtn 
+
+rf_tx_write_freq_16m:
+11fa 708a4330 jam 0x30 ,core_syn_cal_ctrl 
+11fb 708a3d15 jam 0x15 ,core_syn_top_ctrl 
+11fc 708a3e00 jam 0 ,core_syn_mmd_cp_ctrl 
+11fd 708a8420 jam 0x20 ,core_syn_cp_lpf_cfg 
+11fe 708a8ba6 jam 0xa6 ,core_syn_aac_cfg1 
+11ff 708a8915 jam 0x15 ,core_syn_afc_cfg3 
+1200 20600000 rtn 
+
+set_freq_tx:
+1201 44c44011 bpatch patch11_0 ,mem_patch11 
+1202 708a3d12 jam 0x12 ,core_syn_top_ctrl 
+1203 60488017 storet 1 ,mem_last_freq 
+1204 1840a202 add temp ,2 ,rega 
+1205 204011c6 call rf_tx_write_freq 
+1206 200003c0 nop 0x3c0 
+
+txon:
+1207 44c4c011 bpatch patch11_1 ,mem_patch11 
+1208 708a10aa jam 0xaa ,core_rf_ldo_cfg4 
+1209 708a112a jam 0x2a ,core_rf_ldo_cfg5 
+120a 708a1210 jam 0x10 ,core_rf_ldo_cfg6 
+120b 708a0a7f jam 0x7f ,core_rf_ldo_en0 
+120c 6ff08a09 fetch 1 ,core_clkpll_cfg6 
+120d 793ffe07 set0 7 ,pdata 
+120e 67f08a09 store 1 ,core_clkpll_cfg6 
+120f 708a0b07 jam 0x07 ,core_rf_ldo_en1 
+1210 2000003c nop 60 
+1211 708a190d jam 0x0d ,core_tx_en0 
+1212 708a1af9 jam 0xf9 ,core_tx_en1 
+1213 708a1000 jam 0x00 ,core_rf_ldo_cfg4 
+1214 708a1120 jam 0x20 ,core_rf_ldo_cfg5 
+1215 2000000a nop 10 
+1216 70890001 jam 0x01 ,modem_en 
+1217 20000002 nop 2 
+1218 70890003 jam 0x03 ,modem_en 
+1219 44c54011 bpatch patch11_2 ,mem_patch11 
+121a 6fe0c1e8 fetch 1 ,mem_tx_power 
+121b c0019229 beq tx_power_3db ,set_tx_power_3db 
+121c c002922e beq tx_power_5db ,set_tx_power_5db 
+121d c0031231 beq tx_power_6db ,set_tx_power_6db 
+121e c0039234 beq tx_power_7db ,set_tx_power_7db 
+121f c0051237 beq tx_power_10db ,set_tx_power_10db 
+1220 c041923a beq tx_power_f3db ,set_tx_power_f3db 
+1221 c042923d beq tx_power_f5db ,set_tx_power_f5db 
+1222 c04a1240 beq tx_power_f20db ,set_tx_power_f20db 
+1223 c04f1243 beq tx_power_f30db ,set_tx_power_f30db 
+
+set_tx_power_0db:
+1224 708a396a jam 0x6a ,core_tx_pwr_ctrl0 
+1225 708a3a07 jam 0x07 ,core_tx_pwr_ctrl1 
+
+set_rf_ldo_cfg89:
+1226 708a14a3 jam 0xa3 ,core_rf_ldo_cfg8 
+1227 708a1507 jam 0x07 ,core_rf_ldo_cfg9 
+1228 20600000 rtn 
+
+set_tx_power_3db:
+1229 708a3966 jam 0x66 ,core_tx_pwr_ctrl0 
+122a 708a3a0b jam 0x0b ,core_tx_pwr_ctrl1 
+
+set_rf_ldo_cfg89_2:
+122b 708a14aa jam 0xaa ,core_rf_ldo_cfg8 
+122c 708a150a jam 0x0a ,core_rf_ldo_cfg9 
+122d 20600000 rtn 
+
+set_tx_power_5db:
+122e 708a396c jam 0x6c ,core_tx_pwr_ctrl0 
+122f 708a3a0d jam 0x0d ,core_tx_pwr_ctrl1 
+1230 2020122b branch set_rf_ldo_cfg89_2 
+
+set_tx_power_6db:
+1231 708a396b jam 0x6b ,core_tx_pwr_ctrl0 
+1232 708a3a0f jam 0x0f ,core_tx_pwr_ctrl1 
+1233 2020122b branch set_rf_ldo_cfg89_2 
+
+set_tx_power_7db:
+1234 708a39a7 jam 0xa7 ,core_tx_pwr_ctrl0 
+1235 708a3a0f jam 0x0f ,core_tx_pwr_ctrl1 
+1236 2020122b branch set_rf_ldo_cfg89_2 
+
+set_tx_power_10db:
+1237 708a39b6 jam 0xb6 ,core_tx_pwr_ctrl0 
+1238 708a3a0f jam 0x0f ,core_tx_pwr_ctrl1 
+1239 2020122b branch set_rf_ldo_cfg89_2 
+
+set_tx_power_f3db:
+123a 708a3968 jam 0x68 ,core_tx_pwr_ctrl0 
+123b 708a3a05 jam 0x05 ,core_tx_pwr_ctrl1 
+123c 20201226 branch set_rf_ldo_cfg89 
+
+set_tx_power_f5db:
+123d 708a3960 jam 0x60 ,core_tx_pwr_ctrl0 
+123e 708a3a05 jam 0x05 ,core_tx_pwr_ctrl1 
+123f 20201226 branch set_rf_ldo_cfg89 
+
+set_tx_power_f20db:
+1240 708a3953 jam 0x53 ,core_tx_pwr_ctrl0 
+1241 708a3a01 jam 0x01 ,core_tx_pwr_ctrl1 
+1242 20201226 branch set_rf_ldo_cfg89 
+
+set_tx_power_f30db:
+1243 708a394c jam 0x4c ,core_tx_pwr_ctrl0 
+1244 708a3a00 jam 0x00 ,core_tx_pwr_ctrl1 
+1245 20201226 branch set_rf_ldo_cfg89 
+
+initialize_radio:
+1246 70804206 jam clksel_rc ,core_clksel 
+
+initialize_radio_wait:
+1247 6fe140ca fetch 2 ,mem_rf_init_ptr 
+1248 c3071247 bbit0 14 ,initialize_radio_wait 
+1249 98000c00 iforce contr 
+124a d8408a00 arg 0x8a00 ,temp 
+
+initialize_radio_loop:
+124b efe08006 ifetch 1 ,contr 
+124c c07f9251 beq 0xff ,initialize_radio_cont 
+124d 98418a00 ior temp ,contw 
+124e efe08006 ifetch 1 ,contr 
+124f e7e08005 istore 1 ,contw 
+1250 2020124b branch initialize_radio_loop 
+
+initialize_radio_cont:
+1251 44c5c011 bpatch patch11_3 ,mem_patch11 
+1252 708a0305 jam 0x05 ,core_clkpll_cfg0 
+1253 708a7a94 jam 0x94 ,core_rx_iqadc_cfg 
+1254 20401279 call initialize_rc_cal 
+1255 20401273 call initialize_rf_ldo_cfg1 
+1256 2040126c call initialize_syn_afc_cfg1 
+1257 708a8be6 jam 0xe6 ,core_syn_aac_cfg1 
+1258 708a8390 jam 0x90 ,core_syn_pfd_lkd_cfg 
+1259 708a0e0b jam 0x0b ,core_rf_ldo_cfg2 
+125a 708a0f05 jam 0x05 ,core_rf_ldo_cfg3 
+125b 70896876 jam 0x76 ,core_agc_wb_sat_th 
+125c 70896976 jam 0x76 ,core_agc_nb_sat_th 
+125d 6fe0c0c5 fetch 1 ,mem_fcomp_div 
+125e c0841260 bne xtal_16m ,initialize_radio_cont_next 
+125f 708a0834 jam 0x34 ,core_clkpll_cfg5 
+
+initialize_radio_cont_next:
+1260 708a01ff jam 0xff ,core_clkpll_ctrl1 
+1261 20000064 nop 100 
+1262 708a020e jam 0x0e ,core_clkpll_ctrl2 
+1263 708a0003 jam 0x03 ,core_clkpll_ctrl0 
+1264 20401224 call set_tx_power_0db 
+1265 708a9a2b jam 0x2b ,core_tx_mixer_cfg1 
+1266 708a9b13 jam 0x13 ,core_tx_mixer_cfg2 
+1267 204012d3 call init_lpm_ctrl 
+1268 2000000a nop 10 
+1269 70804205 jam clksel_dpll ,core_clksel 
+126a 7041f00c jam system_clk_12m ,mem_system_clk 
+126b 2020165e branch le_disable 
+
+initialize_syn_afc_cfg1:
+126c 6fe0c4d3 fetch 1 ,mem_syn_afc_cfg1 
+126d 203a1271 branch initialize_syn_afc_cfg1_default ,blank 
+126e 1fe1fe20 or_into 0x20 ,pdata 
+126f 67f08a87 store 1 ,core_syn_afc_cfg1 
+1270 20600000 rtn 
+
+initialize_syn_afc_cfg1_default:
+1271 708a8729 jam 0x29 ,core_syn_afc_cfg1 
+1272 20600000 rtn 
+
+initialize_rf_ldo_cfg1:
+1273 6fe0c4d4 fetch 1 ,mem_rf_ldo_cfg1 
+1274 203a1277 branch initialize_rf_ldo_cfg1_default ,blank 
+1275 67f08a0d store 1 ,core_rf_ldo_cfg1 
+1276 20600000 rtn 
+
+initialize_rf_ldo_cfg1_default:
+1277 708a0d00 jam 0x00 ,core_rf_ldo_cfg1 
+1278 20600000 rtn 
+
+initialize_rc_cal:
+1279 6fe0c4d5 fetch 1 ,mem_rc_cal 
+127a 203a127d branch initialize_rc_cal_default ,blank 
+127b 67f08a6c store 1 ,core_rx_bq_bw_cal 
+127c 20600000 rtn 
+
+initialize_rc_cal_default:
+127d 708a6cd3 jam 0xd3 ,core_rx_bq_bw_cal 
+127e 20600000 rtn 
+
+save_rssi:
+127f 44c64011 bpatch patch11_4 ,mem_patch11 
+1280 70015420 jam 0x20 ,mem_rssi_hex 
+1281 6ff089a0 fetch 1 ,modem_rssi 
+1282 67e0c1e9 store 1 ,mem_modem_rssi 
+1283 1fe67cfc sub pdata ,0xfc ,null 
+1284 24610000 nrtn positive 
+1285 1fe67c7f sub pdata ,0x7f ,null 
+1286 20610000 rtn positive 
+1287 6ff089a3 fetch 1 ,modem_gain 
+1288 1fe1040f and pdata ,0x0f ,temp 
+1289 18438400 lshift temp ,temp 
+128a 1ff1fe00 rshift4 pdata ,pdata 
+128b 98408400 iadd temp ,temp 
+128c 184f8403 mul32 temp ,3 ,temp 
+128d 6fe0c1e9 fetch 1 ,mem_modem_rssi 
+128e 1fe67eff sub pdata ,0xff ,pdata 
+128f 9840fe00 iadd temp ,pdata 
+1290 1fe0fffb increase -5 ,pdata 
+1291 67e08154 store 1 ,mem_rssi_hex 
+1292 20600000 rtn 
+
+rssi_hex2dec:
+1293 6fe08154 fetch 1 ,mem_rssi_hex 
+1294 20401297 call bcd 
+1295 67e08018 store 1 ,mem_rssi 
+1296 20600000 rtn 
+
+bcd:
+1297 1fe17eff and_into 0xff ,pdata 
+1298 1fe6fc0a div pdata ,10 
+1299 20407e61 call get_div_result 
+129a 1ff27e00 lshift4 pdata ,pdata 
+129b 18070400 remainder temp 
+129c 9841fe00 ior temp ,pdata 
+129d 20600000 rtn 
+
+gain_control:
+129e 6fe0c1ea fetch 1 ,mem_gain_fix 
+129f c17f8000 rtneq 0xff 
+12a0 242c12c4 nbranch gain_increase ,sync 
+12a1 6fe0c1e9 fetch 1 ,mem_modem_rssi 
+12a2 1fe67cf0 sub pdata ,0xf0 ,null 
+12a3 242112c8 nbranch gain_descend ,positive 
+12a4 1fe67c7f sub pdata ,0x7f ,null 
+12a5 202112c8 branch gain_descend ,positive 
+12a6 6a308961 fetchr rega ,1 ,core_rf_rx_gain_fix 
+12a7 6fe0c1ea fetch 1 ,mem_gain_fix 
+12a8 c1000000 rtneq 0 
+12a9 d8c041eb arg mem_gain_table ,contr 
+12aa 98c08c00 iadd contr ,contr 
+12ab efe08006 ifetch 1 ,contr 
+12ac 9a267c00 isub rega ,null 
+12ad 24628000 nrtn zero 
+12ae 18c08dfe increase -2 ,contr 
+12af e8408006 ifetcht 1 ,contr 
+12b0 1851fe00 rshift4 temp ,pdata 
+12b1 1a31a400 rshift4 rega ,regb 
+12b2 9a462400 isub regb ,regb 
+12b3 18417e0f and temp ,0xf ,pdata 
+12b4 1a21220f and rega ,0xf ,rega 
+12b5 9a262200 isub rega ,rega 
+12b6 1a23fe00 lshift rega ,pdata 
+12b7 9a40a400 iadd regb ,regb 
+12b8 1a4fa403 mul32 regb ,3 ,regb 
+12b9 6848c1e9 fetcht 1 ,mem_modem_rssi 
+12ba 18417e80 and temp ,0x80 ,pdata 
+12bb 207a0000 rtn blank 
+
+add_negative:
+12bc 58000100 setarg 0x100 
+12bd 98460400 isub temp ,temp 
+12be 1a427e00 copy regb ,pdata 
+12bf 98467e00 isub temp ,pdata 
+12c0 20610000 rtn positive 
+12c1 1fe17eff and pdata ,0xff ,pdata 
+12c2 c17f8000 rtneq 0xff 
+12c3 c17f0000 rtneq 0xfe 
+
+gain_increase:
+12c4 6fe0c1ea fetch 1 ,mem_gain_fix 
+12c5 c00092cd beq 1 ,set_rx_gain0 
+12c6 c00112cf beq 2 ,set_rx_gain1 
+12c7 202012cd branch set_rx_gain0 
+
+gain_descend:
+12c8 6fe0c1ea fetch 1 ,mem_gain_fix 
+12c9 c00012cf beq 0 ,set_rx_gain1 
+12ca c00092cb beq 1 ,set_rx_gain2 
+
+set_rx_gain2:
+12cb 7041ea02 jam 2 ,mem_gain_fix 
+12cc 20600000 rtn 
+
+set_rx_gain0:
+12cd 7041ea00 jam 0 ,mem_gain_fix 
+12ce 20600000 rtn 
+
+set_rx_gain1:
+12cf 7041ea01 jam 1 ,mem_gain_fix 
+12d0 20600000 rtn 
+
+xtal_fast_wake:
+12d1 58000f0f setarg 0xf0f 
+12d2 20201543 branch lpm_write_config 
+
+init_lpm_ctrl:
+12d3 5800080f setarg 0x80f 
+12d4 20201543 branch lpm_write_config 
+
+start_receiver:
+12d5 44c6c011 bpatch patch11_5 ,mem_patch11 
+12d6 78507c00 disable is_tx 
+12d7 7830fc00 enable is_rx 
+12d8 782b7c00 pulse init_encrypt 
+12d9 202011a2 branch rf_rx_enable 
+
+prep_crypt:
+12da 44c74011 bpatch patch11_6 ,mem_patch11 
+12db 20400ddd call check_enc_ccm 
+12dc 243a12ea nbranch prep_crypt_ccm ,blank 
+12dd 6fe0804c fetch 1 ,mem_state_map 
+12de 2feffe02 isolate1 smap_encryption ,pdata 
+12df 7920fe00 setflag true ,0 ,pdata 
+12e0 67f08011 store 1 ,core_encrypt 
+12e1 d8c00062 arg mem_kc ,contr 
+12e2 efe48006 ifetch 9 ,contr 
+12e3 98006400 iforce kc_ls 
+12e4 efe38006 ifetch 7 ,contr 
+12e5 98006600 iforce kc_ms 
+12e6 6fe08054 fetch 1 ,mem_key_size 
+12e7 1fe0e9ff add pdata ,-1 ,g1l 
+12e8 782d7c00 pulse kc_p_activate 
+12e9 20600000 rtn 
+
+prep_crypt_ccm:
+12ea 70801100 jam 0 ,core_encrypt 
+12eb 20600000 rtn 
+
+wait_access_end:
+12ec 1b427e00 deposit clke 
+12ed 67e30097 store 6 ,mem_sync_clke 
+12ee 7846fc00 disable decode_fec0 
+12ef 242c114b nbranch shutdown_radio ,sync 
+12f0 6fe1015b fetch 2 ,mem_param_clke_cal 
+12f1 1fe25200 copy pdata ,clke_rt 
+12f2 1d00d001 increase 1 ,clke_bt 
+12f3 1d0151fc and_into 0x1fc ,clke_bt 
+12f4 20600000 rtn 
+
+wait_access_mhalfbnd:
+12f5 7826fc00 enable decode_fec0 
+
+wait_access_mhalfbnd_correlate:
+12f6 37cb8400 correlate null ,mhalfbnd 
+12f7 202c12ec branch wait_access_end ,sync 
+12f8 2d000402 compare 0x02 ,clke_bt ,0x02 
+12f9 242092f6 nbranch wait_access_mhalfbnd_correlate ,true 
+12fa 202012ec branch wait_access_end 
+
+wait_access_clkn_rt:
+12fb 44c7c011 bpatch patch11_7 ,mem_patch11 
+12fc 69610159 fetchr timeup ,2 ,mem_param_conn_access 
+12fd 7826fc00 enable decode_fec0 
+12fe 34730400 correlate clkn_rt ,meet 
+12ff 7846fc00 disable decode_fec0 
+1300 242c114b nbranch shutdown_radio ,sync 
+1301 20600000 rtn 
+
+wait_access_forever:
+1302 44c84012 bpatch patch12_0 ,mem_patch12 
+1303 7826fc00 enable decode_fec0 
+1304 37c18400 correlate null ,timeout 
+1305 7846fc00 disable decode_fec0 
+1306 242c114b nbranch shutdown_radio ,sync 
+1307 6fe1015b fetch 2 ,mem_param_clke_cal 
+1308 1fe25200 copy pdata ,clke_rt 
+1309 1d0151fc and_into 0x1fc ,clke_bt 
+130a 20600000 rtn 
+
+reserve_slot:
+130b 44c8c012 bpatch patch12_1 ,mem_patch12 
+130c 98002200 iforce rega 
+130d 1c227e00 deposit bt_clk 
+130e 98409600 iadd temp ,timeup 
+130f 19627e00 copy timeup ,pdata 
+1310 67e240d1 store 4 ,mem_next_btclk 
+1311 1a227e00 deposit rega 
+1312 20600000 rtn 
+
+ahead_window:
+1313 1fe20400 copy pdata ,temp 
+1314 44c94012 bpatch patch12_2 ,mem_patch12 
+1315 18427e00 copy temp ,pdata 
+1316 20407e26 call clk2bt 
+1317 1c307e00 lshift16 bt_clk ,pdata 
+1318 79207e2c set1 44 ,pdata 
+1319 20407e0c call clk_diff 
+131a 793ffe2c set0 44 ,pdata 
+131b 20401367 call get_clk 
+131c 20407e0c call clk_diff 
+131d 20740000 rtn user 
+131e 20407e19 call clk2rt 
+131f 98003600 iforce stop_watch 
+1320 37c18200 until null ,timeout 
+1321 20600000 rtn 
+
+setup_clk:
+1322 44c9c012 bpatch patch12_3 ,mem_patch12 
+1323 20381327 branch setup_clkn ,clknt 
+1324 35330200 until clke_rt ,meet 
+
+skip_setup_clke:
+1325 1d020400 copy clke_bt ,temp 
+1326 2020132a branch setup_clknbt 
+
+setup_clkn:
+1327 20371329 branch skip_setup_clkn ,attempt 
+1328 34730200 until clkn_rt ,meet 
+
+skip_setup_clkn:
+1329 1c420400 copy clkn_bt ,temp 
+
+setup_clknbt:
+132a 20341336 branch setup_clk11 ,user 
+132b 28400601 compare 1 ,temp ,3 
+132c 24209322 nbranch setup_clk ,true 
+
+setup_complete:
+132d 44ca4012 bpatch patch12_4 ,mem_patch12 
+132e 6fe08030 fetch 1 ,mem_state 
+132f c4000000 rtnbit0 state_inconn 
+1330 6fe240d1 fetch 4 ,mem_next_btclk 
+1331 98467e00 isub temp ,pdata 
+1332 24610000 nrtn positive 
+1333 1fe67cff sub pdata ,0xff ,null 
+1334 20211322 branch setup_clk ,positive 
+1335 20600000 rtn 
+
+setup_clk11:
+1336 28400603 compare 3 ,temp ,3 
+1337 24209322 nbranch setup_clk ,true 
+1338 2020132d branch setup_complete 
+
+rf_setup_time:
+1339 44cac012 bpatch patch12_5 ,mem_patch12 
+133a 69610157 fetchr timeup ,2 ,mem_param_rf_setup 
+133b 20201322 branch setup_clk 
+
+rf_setup_time_slave_slot:
+133c 78547c00 disable user 
+133d 20201339 branch rf_setup_time 
+
+rf_setup_time_master_slot:
+133e 78347c00 enable user 
+133f 20201339 branch rf_setup_time 
+
+start_transmitter:
+1340 44cb4012 bpatch patch12_6 ,mem_patch12 
+1341 204012da call prep_crypt 
+1342 7850fc00 disable is_rx 
+1343 78307c00 enable is_tx 
+1344 20600000 rtn 
+
+start_tx_native:
+1345 44cbc012 bpatch patch12_7 ,mem_patch12 
+1346 69610155 fetchr timeup ,2 ,mem_param_tx_setup 
+1347 34730200 until clkn_rt ,meet 
+1348 782b7c00 pulse init_encrypt 
+1349 20600000 rtn 
+
+start_rx_native:
+134a 44cc4013 bpatch patch13_0 ,mem_patch13 
+134b 6961015f fetchr timeup ,2 ,mem_param_rx_setup 
+134c 34730200 until clkn_rt ,meet 
+134d 20600000 rtn 
+
+start_tx_external:
+134e 44ccc013 bpatch patch13_1 ,mem_patch13 
+134f 69610155 fetchr timeup ,2 ,mem_param_tx_setup 
+1350 35330200 until clke_rt ,meet 
+1351 782b7c00 pulse init_encrypt 
+1352 20600000 rtn 
+
+send_access_word:
+1353 44cd4013 bpatch patch13_2 ,mem_patch13 
+1354 20404d13 call rf_debug_tx_on_line 
+1355 51207e00 preload access 
+1356 782efc00 enable encode_fec0 
+1357 79202a00 set1 txgfsk ,radio_ctrl 
+1358 08008648 inject mod ,72 
+1359 784efc00 disable encode_fec0 
+135a 20600000 rtn 
+
+scan_mode_whiten:
+135b 1ca20400 copy xin ,temp 
+135c 18418460 or_into 0x60 ,temp 
+135d 18421c00 copy temp ,white_init 
+135e 20600000 rtn 
+
+get_free_amaddr:
+135f 44cdc013 bpatch patch13_3 ,mem_patch13 
+1360 6fe0c098 fetch 1 ,mem_current_amaddr 
+1361 1fe0fe01 increase 1 ,pdata 
+1362 c0839364 bne param_esco_addr ,get_free_amaddr_cont 
+1363 18007e01 force 1 ,pdata 
+
+get_free_amaddr_cont:
+1364 67e0c098 store 1 ,mem_current_amaddr 
+1365 98000800 iforce am_addr 
+1366 20600000 rtn 
+
+get_clk:
+1367 1b220400 copy clkn ,temp 
+1368 20748000 rtn master 
+1369 1b420400 copy clke ,temp 
+136a 20600000 rtn 
+
+get_clkbt:
+136b 1c427e00 deposit clkn_bt 
+136c 20748000 rtn master 
+136d 1d027e00 deposit clke_bt 
+136e 20600000 rtn 
+
+supervision_update:
+136f 44ce4013 bpatch patch13_4 ,mem_patch13 
+1370 684a004d fetcht 4 ,mem_supervision_timer 
+1371 2040136b call get_clkbt 
+1372 98461600 isub temp ,timeup 
+1373 19627e00 deposit timeup 
+1374 68490051 fetcht 2 ,mem_supervision_to 
+1375 18438400 lshift temp ,temp 
+1376 98467e00 isub temp ,pdata 
+1377 20600000 rtn 
+
+supervision_flush:
+1378 44cec013 bpatch patch13_5 ,mem_patch13 
+1379 2040136b call get_clkbt 
+137a 67e2004d store 4 ,mem_supervision_timer 
+137b 20600000 rtn 
+
+assert:
+137c 44cf4013 bpatch patch13_6 ,mem_patch13 
+137d 2020137c branch assert 
+
+loop:
+137e 2020137e branch loop 
+
+sleep:
+137f 207a0000 rtn blank 
+1380 1fe37e00 rshift pdata ,pdata 
+1381 1fe0fffd increase -3 ,pdata 
+
+sleep_loop:
+1382 1fe0ffff increase -1 ,pdata 
+1383 24229382 nbranch sleep_loop ,zero 
+1384 18007e00 force 0 ,pdata 
+1385 20600000 rtn 
+
+init_param:
+1386 df200010 arg 0x10 ,loopcnt 
+1387 d8a00000 arg 0 ,contw 
+1388 20407d8c call memset0 
+1389 d8a00287 arg mem_le_state ,contw 
+138a df20000a arg 10 ,loopcnt 
+138b 20407d8c call memset0 
+138c 70087400 jam 0 ,mem_sp_calc 
+138d 70095b00 jam 0 ,mem_fifo_temp 
+138e 7002df00 jam 0 ,mem_le_testtype 
+138f 7000e300 jam 0 ,mem_debug_config 
+1390 7003a500 jam 0 ,mem_lmp_conn_state 
+1391 7000bc00 jam 0 ,mem_connection_options 
+1392 700a5100 jam 0 ,mem_tester_emulate 
+1393 700a5c00 jam 0 ,mem_tester_cnt 
+1394 589e8b33 setarg param_glap 
+1395 67e1c0af store 3 ,mem_glap 
+1396 70008d60 jam 0x60 ,mem_fhs_misc 
+1397 7040d705 jam param_max_slot ,mem_max_slot 
+1398 70001402 jam 0x02 ,mem_fw_ver 
+1399 58000e43 setarg param_tx_setup 
+139a 67e10155 store 2 ,mem_param_tx_setup 
+139b 58000600 setarg param_rf_setup 
+139c 67e10157 store 2 ,mem_param_rf_setup 
+139d 58000600 setarg param_conn_access 
+139e 67e10159 store 2 ,mem_param_conn_access 
+139f 58000d00 setarg param_rx_setup 
+13a0 67e1015f store 2 ,mem_param_rx_setup 
+13a1 580003bb setarg param_clke_cal 
+13a2 67e1015b store 2 ,mem_param_clke_cal 
+13a3 58000500 setarg param_pll_setup 
+13a4 67e1015d store 2 ,mem_param_pll_setup 
+13a5 580007d0 setarg param_dpll_start_delay 
+13a6 67e10161 store 2 ,mem_param_dpll_start_delay 
+13a7 58000ea6 setarg param_rt_rthalfslot 
+13a8 67e10163 store 2 ,mem_param_rt_rthalfslot 
+13a9 580001e0 setarg param_clke_cal_le_1m 
+13aa 67e10165 store 2 ,mem_param_clke_cal_le_1m 
+13ab 58000120 setarg param_clke_cal_le_2m 
+13ac 67e10167 store 2 ,mem_param_clke_cal_le_2m 
+13ad 5800011a setarg param_clke_cal_le_coded 
+13ae 67e10169 store 2 ,mem_param_clke_cal_le_coded 
+13af 58001400 setarg mem_ble_tx_buff0 
+13b0 67e143de store 2 ,mem_ble_l2cap_tx_buff0_ptr 
+13b1 58000100 setarg mem_ble_l2cap_tx_buff_size 
+13b2 67e143e0 store 2 ,mem_ble_l2cap_tx_buff_size_ptr 
+13b3 20406e66 call init_memp 
+13b4 58000880 setarg mem_sp_state_end 
+13b5 d8a00870 arg mem_sp_state_start ,contw 
+13b6 98a67200 isub contw ,loopcnt 
+13b7 20407d9b call clear_mem 
+13b8 44cfc013 bpatch patch13_7 ,mem_patch13 
+13b9 20758000 rtn wake 
+13ba 7045fa09 jam bluetooth_core_specification_5_0 ,mem_lmp_version 
+13bb 5800050e setarg company_id_yichip 
+13bc 67e145fb store 2 ,mem_lmp_compid 
+13bd 58000008 setarg 0x08 
+13be 67e145fd store 2 ,mem_lmp_subversion 
+13bf 7044d17f jam 0x7f ,mem_seqi 
+13c0 58000024 setarg 0x24 
+13c1 67e140b5 store 2 ,mem_iscan_window 
+13c2 67e140b9 store 2 ,mem_pscan_window 
+13c3 58000200 setarg 0x200 
+13c4 67e140b7 store 2 ,mem_iscan_interval 
+13c5 67e140bb store 2 ,mem_pscan_interval 
+13c6 58000020 setarg 0x20 
+13c7 67e140c3 store 2 ,mem_inq_window 
+13c8 67e140bf store 2 ,mem_page_window 
+13c9 58002000 setarg 0x2000 
+13ca 67e140c1 store 2 ,mem_page_to 
+13cb 58000480 setarg 0x480 
+13cc 67e140c6 store 2 ,mem_rx_window_init 
+13cd 58000c00 setarg 0xc00 
+13ce 67e140c8 store 2 ,mem_rx_window_sniff 
+13cf 58000c3f setarg 0xc3f 
+13d0 67e1417e store 2 ,mem_lpm_xtalcnt + 1 
+13d1 58000333 setarg 0x333 
+13d2 e7e10005 istore 2 ,contw 
+13d3 5824109d setarg 0x24109d 
+13d4 67e1c183 store 3 ,mem_lpm_ctrl3 + 1 
+13d5 20407f52 call clear_wake 
+13d6 58000000 setarg 0 
+13d7 67e141e6 store 2 ,mem_tx_len 
+13d8 1c437e00 rshift clkn_bt ,pdata 
+13d9 67e2409c store 4 ,mem_last_clkn 
+13da 20600000 rtn 
+
+clk24m_init:
+13db 70804206 jam 6 ,core_clksel 
+13dc 70804201 jam 1 ,core_clksel 
+13dd 2000000a nop 10 
+13de 58001d4a setarg 7498 
+13df 67f10040 store 2 ,core_halfslot 
+13e0 20600000 rtn 
+
+lpmstate:
+13e1 5800ee21 setarg 0xee21 
+13e2 67f10050 store 2 ,core_clkoff 
+13e3 6ff2011c fetch 4 ,core_gpio_in 
+13e4 67e2098a store 4 ,mem_saved_gpio_in 
+13e5 6ff0813b fetch 1 ,core_lpm_ctrl + 3 
+13e6 67e08989 store 1 ,mem_wakup_from_power_flag 
+13e7 6ff0813e fetch 1 ,core_lpm_ldocnt 
+13e8 c301dbf5 bbit0 gpio_latch ,loadcode 
+13e9 7835fc00 enable wake 
+13ea c30393f2 bbit0 cold_wake ,lpmwake 
+13eb 7855fc00 disable wake 
+13ec 1ce27e00 deposit auxcnt 
+13ed 243a13f2 nbranch lpmwake ,blank 
+13ee 6ff0813b fetch 1 ,core_lpm_ctrl + 3 
+13ef c28113f2 bbit1 reload_code ,lpmwake 
+13f0 d85fffff arg param_hibernate_clks ,temp 
+13f1 2020147f branch lpm_enter_sleep 
+
+lpmwake:
+13f2 6ff20134 fetch 4 ,core_lpm_ctrl2 
+13f3 67f2004c store 4 ,core_lpm_reg 
+13f4 6ff08135 fetch 1 ,core_lpm_ctrl2 + 1 
+13f5 1fe17ee0 and_into 0xe0 ,pdata 
+13f6 67f0804d store 1 ,core_lpm_reg + 1 
+13f7 2040155b call lpm_write_ctrl3 
+13f8 6ff1813c fetch 3 ,core_lpm_xtalcnt 
+13f9 67f1804c store 3 ,core_lpm_reg 
+13fa efe08006 ifetch 1 ,contr 
+13fb 1fe1feef or_into isogate_mask ,pdata 
+13fc e7e08005 istore 1 ,contw 
+13fd 2040154e call lpm_write_ctrl2 
+13fe 6ff0804f fetch 1 ,core_lpm_isogate 
+13ff 79207e04 set1 enable_retmem ,pdata 
+1400 67f0804f store 1 ,core_lpm_isogate 
+1401 2040154e call lpm_write_ctrl2 
+1402 20559424 call lpm_load_context ,wake 
+1403 6ff0804e fetch 1 ,core_lpm_reg + 2 
+1404 793ffe03 set0 gpio_latch ,pdata 
+1405 67f0804e store 1 ,core_lpm_reg + 2 
+1406 2040154e call lpm_write_ctrl2 
+1407 2435dbf5 nbranch loadcode ,wake 
+1408 2040140c call lpm_save_mpu_lock 
+1409 c6958000 rtnmark0 mark_otp_encrypt 
+140a 70800608 jam lock_otp ,core_misc_ctrl 
+140b 20600000 rtn 
+
+lpm_save_mpu_lock:
+140c 6fe1c4ce fetch 3 ,mem_efuse_header 
+140d 207a0000 rtn blank 
+140e 67e18a01 store 3 ,mem_tmp_buffer 
+140f 20205ceb branch app_lpm_peripheral_lock_check 
+
+lpm_ctrl3_cfg_dig_vsel:
+1410 6fe0c4d2 fetch 1 ,mem_dig_aon_vsel 
+1411 c0009418 beq 1 ,lpm_ctrl3_cfg_vsel_108 
+1412 c001141c beq 2 ,lpm_ctrl3_cfg_vsel_096 
+1413 c0019420 beq 3 ,lpm_ctrl3_cfg_vsel_084 
+
+lpm_ctrl3_cfg_vsel_120:
+1414 6fe0c183 fetch 1 ,mem_lpm_ctrl3 + 1 
+1415 1fe17ee0 and_into 0xe0 ,pdata 
+
+lpm_ctrl3_cfg_vsel_store:
+1416 67e0c183 store 1 ,mem_lpm_ctrl3 + 1 
+1417 20600000 rtn 
+
+lpm_ctrl3_cfg_vsel_108:
+1418 6fe0c183 fetch 1 ,mem_lpm_ctrl3 + 1 
+1419 1fe17ee0 and_into 0xe0 ,pdata 
+141a 1fe1fe1d or_into 0x1d ,pdata 
+141b 20201416 branch lpm_ctrl3_cfg_vsel_store 
+
+lpm_ctrl3_cfg_vsel_096:
+141c 6fe0c183 fetch 1 ,mem_lpm_ctrl3 + 1 
+141d 1fe17ee0 and_into 0xe0 ,pdata 
+141e 1fe1fe1b or_into 0x1b ,pdata 
+141f 20201416 branch lpm_ctrl3_cfg_vsel_store 
+
+lpm_ctrl3_cfg_vsel_084:
+1420 6fe0c183 fetch 1 ,mem_lpm_ctrl3 + 1 
+1421 1fe17ee0 and_into 0xe0 ,pdata 
+1422 1fe1fe17 or_into 0x17 ,pdata 
+1423 20201416 branch lpm_ctrl3_cfg_vsel_store 
+
+lpm_load_context:
+1424 6fe0c1a5 fetch 1 ,mem_saved_spidctrl 
+1425 67f08086 store 1 ,core_spid_ctrl 
+1426 d8c04186 arg mem_saved_gpio ,contr 
+1427 d8a08070 arg core_gpio_conf ,contw 
+1428 20407d74 call memcpy20 
+1429 6fe4419d fetch 8 ,mem_saved_mark 
+142a 98000000 iforce mark 
+142b 6ff40140 fetch 8 ,core_gpio_wakeup_low 
+142c 67e4009e store 8 ,mem_gpio_wakeup_low 
+142d 20205ca3 branch load_ucode 
+
+lpm_save_context:
+142e 18027e00 deposit mark 
+142f 67e4419d store 8 ,mem_saved_mark 
+1430 d8c08070 arg core_gpio_conf ,contr 
+1431 d8a04186 arg mem_saved_gpio ,contw 
+1432 20407d74 call memcpy20 
+1433 6ff08086 fetch 1 ,core_spid_ctrl 
+1434 67e0c1a5 store 1 ,mem_saved_spidctrl 
+1435 2020155d branch lpm_write_gpio_wakeup 
+
+lpo_calibration:
+1436 6ff08085 fetch 1 ,core_aes_en 
+1437 1ff1fe00 rshift4 pdata ,pdata 
+1438 243a143f nbranch lpo_cal_inited ,blank 
+1439 6fe1c174 fetch 3 ,mem_clks_per_lpo 
+143a 247a0000 nrtn blank 
+143b 6ff08085 fetch 1 ,core_aes_en 
+143c 1fe1fec0 or_into 0xc0 ,pdata 
+143d 67f08085 store 1 ,core_aes_en 
+143e 70800680 jam ccnt_start ,core_misc_ctrl 
+
+lpo_cal_inited:
+143f 6ff0812d fetch 1 ,core_perf_status 
+1440 c4008000 rtnbit0 1 
+1441 6ff18149 fetch 3 ,core_clk_counter 
+1442 67e1c174 store 3 ,mem_clks_per_lpo 
+1443 20600000 rtn 
+
+lpm_adjust_clk:
+1444 44d04014 bpatch patch14_0 ,mem_patch14 
+1445 1b427e00 deposit clke 
+1446 20407e0a call clk_diff_rt 
+1447 684a4164 fetcht 4 ,mem_sleep_counter_all 
+1448 18467cff sub temp ,0xff ,null 
+1449 20610000 rtn positive 
+144a 1fed7e00 lshift8 pdata ,pdata 
+144b 1ff27e00 lshift4 pdata ,pdata 
+144c 9846fc00 idiv temp 
+144d 20407e61 call get_div_result 
+144e d84000c8 arg param_lpm_adjmax ,temp 
+144f 20407e6f call ceiling 
+1450 67e08096 store 1 ,mem_lpm_adjust 
+1451 24341453 nbranch lpm_adjust_positive ,user 
+1452 1fe67e00 sub pdata ,0 ,pdata 
+
+lpm_adjust_positive:
+1453 6849c174 fetcht 3 ,mem_clks_per_lpo 
+1454 9840fe00 iadd temp ,pdata 
+1455 67e1c174 store 3 ,mem_clks_per_lpo 
+
+lpm_clear_counter:
+1456 58000000 setarg 0 
+1457 67e24164 store 4 ,mem_sleep_counter_all 
+1458 20600000 rtn 
+
+lpm_hibernate:
+1459 d85fffff arg param_hibernate_clks ,temp 
+145a 6fe0c17b fetch 1 ,mem_lpm_config + 1 
+145b 793ffe07 set0 7 ,pdata 
+145c 67e0c17b store 1 ,mem_lpm_config + 1 
+
+lpm_hibernate_normal:
+145d 44d0c014 bpatch patch14_1 ,mem_patch14 
+145e 2040155d call lpm_write_gpio_wakeup 
+145f 6fe0c15c fetch 1 ,mem_lpm_hibernate_switch 
+1460 67e0c181 store 1 ,mem_lpm_xtalcnt + 4 
+1461 6fe0c17f fetch 1 ,mem_lpm_xtalcnt + 2 
+1462 79207e07 set1 cold_wake ,pdata 
+1463 67e0c17f store 1 ,mem_lpm_xtalcnt + 2 
+
+lpm_sleep:
+1464 44d14014 bpatch patch14_2 ,mem_patch14 
+1465 204012d1 call xtal_fast_wake 
+1466 6fe14479 fetch 2 ,mem_cb_before_lpm_sleep 
+1467 20407e7a call callback_func 
+
+lpm_sleep_skip_cb_function:
+1468 6fe24164 fetch 4 ,mem_sleep_counter_all 
+1469 9840fe00 iadd temp ,pdata 
+146a 67e24164 store 4 ,mem_sleep_counter_all 
+146b 2040142e call lpm_save_context 
+146c 20401410 call lpm_ctrl3_cfg_dig_vsel 
+146d 6fe24182 fetch 4 ,mem_lpm_ctrl3 
+146e 1fe22400 copy pdata ,regb 
+146f 6fe2c17d fetch 5 ,mem_lpm_xtalcnt 
+1470 67f2004c store 4 ,core_lpm_reg 
+1471 1fef2200 rshift32 pdata ,rega 
+1472 37d98200 until null ,lpo_edge 
+1473 1b227e00 deposit clkn 
+1474 67e34168 store 6 ,mem_sleep_clkn 
+1475 70800502 jam lpmreg_sel_ctrl2 ,core_lpm_wr 
+1476 37d98200 until null ,lpo_edge 
+1477 37d98200 until null ,lpo_edge 
+1478 1a227e00 deposit rega 
+1479 67f0804f store 1 ,core_lpm_isogate 
+147a 70800502 jam lpmreg_sel_ctrl2 ,core_lpm_wr 
+147b 37d98200 until null ,lpo_edge 
+147c 37d98200 until null ,lpo_edge 
+147d 6252004c storer regb ,4 ,core_lpm_reg 
+147e 70800520 jam lpmreg_sel_ctrl3 ,core_lpm_wr 
+
+lpm_enter_sleep:
+147f 37d98200 until null ,lpo_edge 
+1480 37d98200 until null ,lpo_edge 
+1481 605a004c storet 4 ,core_lpm_reg 
+1482 70800510 jam lpmreg_sel_counter ,core_lpm_wr 
+1483 37df8200 until null ,never 
+
+lpm_recover_clk:
+1484 44d1c014 bpatch patch14_3 ,mem_patch14 
+1485 58000000 setarg 0 
+1486 1ce27c00 copy auxcnt ,null 
+1487 2022948f branch lpm_recover_timeout ,zero 
+1488 6ff0813c fetch 1 ,core_lpm_xtalcnt 
+1489 6858813d fetcht 1 ,core_lpm_buckcnt 
+148a 98467c00 isub temp ,null 
+148b 2021148d branch lpm_recover_xtal ,positive 
+148c 18427e00 deposit temp 
+
+lpm_recover_xtal:
+148d 9ce67e00 isub auxcnt ,pdata 
+148e 1fe0fe01 increase 1 ,pdata 
+
+lpm_recover_timeout:
+148f 1fe0fe0a increase 10 ,pdata 
+1490 37d98200 until null ,lpo_edge 
+1491 9e20fe00 iadd lpo_time ,pdata 
+1492 684a4160 fetcht 4 ,mem_sleep_counter 
+1493 9840fe00 iadd temp ,pdata 
+1494 6849c174 fetcht 3 ,mem_clks_per_lpo 
+1495 984ffe00 imul32 temp ,pdata 
+1496 1fecfe00 rshift8 pdata ,pdata 
+1497 1ff1fe00 rshift4 pdata ,pdata 
+1498 1fe0fe6e increase param_lpm_fix ,pdata 
+1499 68490163 fetcht 2 ,mem_param_rt_rthalfslot 
+149a 9846fc00 idiv temp 
+149b 20407e61 call get_div_result 
+149c 1ff07e00 lshift16 pdata ,pdata 
+149d 18070400 remainder temp 
+149e 9841fe00 ior temp ,pdata 
+149f 684b4168 fetcht 6 ,mem_sleep_clkn 
+14a0 20407dff call clk_add 
+14a1 18423200 copy temp ,clkn 
+14a2 6fe34048 fetch 6 ,mem_context + coffset_clk_offset 
+14a3 20401073 call calc_clke2 
+14a4 1b427e00 deposit clke 
+14a5 67e3095c store 6 ,mem_pdatatemp 
+14a6 1ce27e00 deposit auxcnt 
+14a7 e7e08005 istore 1 ,contw 
+14a8 6ff0811d fetch 1 ,core_gpio_in1 
+14a9 1fe1fef0 or_into 0xf0 ,pdata 
+14aa e7e08005 istore 1 ,contw 
+14ab 20600000 rtn 
+
+lpm_dispatch:
+14ac 44d24014 bpatch patch14_4 ,mem_patch14 
+14ad 20401436 call lpo_calibration 
+14ae 6fe1c174 fetch 3 ,mem_clks_per_lpo 
+14af 207a0000 rtn blank 
+14b0 6fe0c099 fetch 1 ,mem_lpm_mode 
+14b1 207a0000 rtn blank 
+14b2 6fe0c767 fetch 1 ,mem_ssp_enable 
+14b3 203a14b6 branch lpm_dispatch_next ,blank 
+14b4 6fe0c6bc fetch 1 ,mem_sp_local_key_invalid 
+14b5 207a0000 rtn blank 
+
+lpm_dispatch_next:
+14b6 6fe0c6bd fetch 1 ,mem_sc_calc 
+14b7 247a0000 nrtn blank 
+14b8 da600ab7 arg context_check_a_wack ,regc 
+14b9 20400a6e call context_search 
+14ba 20628000 rtn zero 
+14bb 2040156e call lpm_check_wake_lock 
+14bc 247a0000 nrtn blank 
+14bd 6fe0c040 fetch 1 ,mem_context 
+14be 2fe00e03 compare 3 ,pdata ,0x7 
+14bf 242094e2 nbranch lpm_dispatch_unconn ,true 
+14c0 6fe14042 fetch 2 ,mem_context + coffset_tsniff 
+14c1 207a0000 rtn blank 
+14c2 20758000 rtn wake 
+14c3 44d2c014 bpatch patch14_5 ,mem_patch14 
+
+lpm_dispatch_next2:
+14c4 6848809d fetcht 1 ,mem_lpm_current_mult 
+14c5 6fe14042 fetch 2 ,mem_context + coffset_tsniff 
+14c6 984ffe00 imul32 temp ,pdata 
+14c7 18518400 rshift4 temp ,temp 
+14c8 184b0400 rshift2 temp ,temp 
+14c9 98467e00 isub temp ,pdata 
+14ca 684a4044 fetcht 4 ,mem_context + coffset_sniff_anchor 
+14cb 9840fe00 iadd temp ,pdata 
+14cc 6848c15b fetcht 1 ,mem_lpm_overhead 
+14cd 98467e00 isub temp ,pdata 
+14ce 1ff06000 lshift16 pdata ,alarm 
+14cf 44d34014 bpatch patch14_6 ,mem_patch14 
+14d0 6fe1404e fetch 2 ,mem_context + coffset_rx_window 
+14d1 1fe37e00 rshift pdata ,pdata 
+14d2 20407e26 call clk2bt 
+14d3 1e027e00 deposit alarm 
+14d4 20407e0c call clk_diff 
+14d5 1b420400 copy clke ,temp 
+14d6 20407e0a call clk_diff_rt 
+14d7 20740000 rtn user 
+
+lpm_dispatch_sleep:
+14d8 20407e1f call clk2lpo 
+
+lpm_dispatch_lpo:
+14d9 44d3c014 bpatch patch14_7 ,mem_patch14 
+14da 6fe0c17d fetch 1 ,mem_lpm_xtalcnt 
+14db 98467c00 isub temp ,null 
+14dc 20211456 branch lpm_clear_counter ,positive 
+14dd 604a4160 storet 4 ,mem_sleep_counter 
+14de 204031b6 call app_will_enter_lpm 
+14df 204053ac call l2cap_lpm_save_txbuf 
+14e0 684a4160 fetcht 4 ,mem_sleep_counter 
+14e1 20201464 branch lpm_sleep 
+
+lpm_dispatch_unconn:
+14e2 44d44015 bpatch patch15_0 ,mem_patch15 
+14e3 6fe0c040 fetch 1 ,mem_context 
+14e4 c3800000 rtnbit1 state_inconn 
+14e5 c3818000 rtnbit1 state_inpage 
+14e6 6fe0c767 fetch 1 ,mem_ssp_enable 
+14e7 203a14ea branch lpm_unconn_nossp ,blank 
+14e8 6fe0c6bc fetch 1 ,mem_sp_local_key_invalid 
+14e9 207a0000 rtn blank 
+
+lpm_unconn_nossp:
+14ea 6fe0c427 fetch 1 ,mem_le_adv_enable 
+14eb 243a14ee nbranch lpm_unconn_cont ,blank 
+14ec 6fe0c09b fetch 1 ,mem_scan_mode 
+14ed 207a0000 rtn blank 
+
+lpm_unconn_cont:
+14ee 6fe14159 fetch 2 ,mem_lpm_interval 
+14ef 207a0000 rtn blank 
+
+lpm_sleep_btclk:
+14f0 6848c15b fetcht 1 ,mem_lpm_overhead 
+14f1 98467e00 isub temp ,pdata 
+14f2 d8401d4c arg 7500 ,temp 
+14f3 984ffe00 imul32 temp ,pdata 
+14f4 202014d8 branch lpm_dispatch_sleep 
+
+lpm_set_mult:
+14f5 44d4c015 bpatch patch15_1 ,mem_patch15 
+14f6 7855fc00 disable wake 
+14f7 6fe08030 fetch 1 ,mem_state 
+14f8 c4008000 rtnbit0 state_insniff 
+14f9 24369517 nbranch lpm_not_match ,match 
+14fa 20401512 call lpm_match 
+14fb 6fe140c8 fetch 2 ,mem_rx_window_sniff 
+14fc 67e1003e store 2 ,mem_rx_window 
+14fd 6fe08047 fetch 1 ,mem_arq 
+14fe c2819525 bbit1 wack ,lpm_mult_short 
+14ff c5869525 bmark0 mark_lpm_mult_enable ,lpm_mult_short 
+1500 20405355 call l2cap_malloc_is_fifo_empty 
+1501 243a1525 nbranch lpm_mult_short ,blank 
+1502 6fe0c646 fetch 1 ,mem_classic_bt_flag 
+1503 c2809525 bbit1 short_mult_flag ,lpm_mult_short 
+
+lpm_mult_wait_timeout:
+1504 6fe14471 fetch 2 ,mem_cb_bt_set_mult 
+1505 20407e7a call callback_func 
+1506 243a1525 nbranch lpm_mult_short ,blank 
+1507 70009d00 jam 0 ,mem_lpm_current_mult 
+1508 c5869525 bmark0 mark_lpm_mult_enable ,lpm_mult_short 
+1509 6fe0c179 fetch 1 ,mem_lpm_mult_cnt 
+150a 203a1529 branch lpm_mult_long ,blank 
+150b 1fe0ffff increase -1 ,pdata 
+150c 67e0c179 store 1 ,mem_lpm_mult_cnt 
+150d 20600000 rtn 
+
+classic_bt_set_mult_short_flag:
+150e d8e00001 arg short_mult_flag ,queue 
+150f 20205842 branch classic_bluetooth_set_flag 
+
+classic_bt_clr_mult_short_flag:
+1510 d8e00001 arg short_mult_flag ,queue 
+1511 20205846 branch classic_bluetooth_clr_flag 
+
+lpm_match:
+1512 70415e00 jam 0 ,mem_sniff_unint_lost 
+1513 6fe1c16e fetch 3 ,mem_sniff_rcv 
+1514 1fe0fe01 increase 1 ,pdata 
+1515 67e1c16e store 3 ,mem_sniff_rcv 
+1516 20600000 rtn 
+
+lpm_not_match:
+1517 44d54015 bpatch patch15_2 ,mem_patch15 
+1518 684940c8 fetcht 2 ,mem_rx_window_sniff 
+1519 18430400 rshift temp ,temp 
+151a 6fe1003e fetch 2 ,mem_rx_window 
+151b 9840fe00 iadd temp ,pdata 
+151c 67e1003e store 2 ,mem_rx_window 
+
+lpm_lost:
+151d 70009d00 jam 0 ,mem_lpm_current_mult 
+151e 6fe1c171 fetch 3 ,mem_sniff_lost 
+151f 1fe0fe01 increase 1 ,pdata 
+1520 67e1c171 store 3 ,mem_sniff_lost 
+1521 6fe0c15e fetch 1 ,mem_sniff_unint_lost 
+1522 1fe0fe01 increase 1 ,pdata 
+1523 67e0c15e store 1 ,mem_sniff_unint_lost 
+1524 20600000 rtn 
+
+lpm_mult_short:
+1525 70009d00 jam 0 ,mem_lpm_current_mult 
+1526 6fe0c178 fetch 1 ,mem_lpm_mult_timeout 
+1527 67e0c179 store 1 ,mem_lpm_mult_cnt 
+1528 20600000 rtn 
+
+lpm_mult_long:
+1529 6848c177 fetcht 1 ,mem_lpm_mult 
+152a 6048809d storet 1 ,mem_lpm_current_mult 
+152b 20600000 rtn 
+
+lpm_cal_xtal_startup:
+152c 6fe0c17d fetch 1 ,mem_lpm_xtalcnt 
+152d 247a0000 nrtn blank 
+152e 70804206 jam clksel_rc ,core_clksel 
+152f 58000f0c setarg 0xf0c 
+1530 20401543 call lpm_write_config 
+1531 58030d40 setarg 200000 
+1532 2040137f call sleep 
+1533 37d98200 until null ,lpo_edge 
+1534 1e226000 copy lpo_time ,alarm 
+1535 204012d1 call xtal_fast_wake 
+1536 70804204 jam clksel_xtal ,core_clksel 
+1537 2000000a nop 10 
+1538 37d98200 until null ,lpo_edge 
+1539 1e227e00 deposit lpo_time 
+153a 9e067e00 isub alarm ,pdata 
+153b 1fe0fe30 increase 0x30 ,pdata 
+153c d84000ff arg 0xff ,temp 
+153d 20407e6f call ceiling 
+153e 67e0c17d store 1 ,mem_lpm_xtalcnt 
+153f 20007530 nop 30000 
+1540 20007530 nop 30000 
+1541 20007530 nop 30000 
+1542 20600000 rtn 
+
+lpm_write_config:
+1543 d8a00fff arg 0xfff ,contw 
+1544 98a10a00 iand contw ,contw 
+1545 6fe0c17a fetch 1 ,mem_lpm_config 
+1546 1fe17ef0 and_into 0xf0 ,pdata 
+1547 1fed7e00 lshift8 pdata ,pdata 
+1548 98a1fe00 ior contw ,pdata 
+1549 67f1004c store 2 ,core_lpm_reg 
+154a efe10006 ifetch 2 ,contr 
+154b e7e10005 istore 2 ,contw 
+
+lpm_write_ctrl:
+154c 58000001 setarg lpmreg_sel_ctrl 
+154d 2020154f branch lpm_write 
+
+lpm_write_ctrl2:
+154e 58000002 setarg lpmreg_sel_ctrl2 
+
+lpm_write:
+154f 37d98200 until null ,lpo_edge 
+1550 67f08005 store 1 ,core_lpm_wr 
+1551 37d98200 until null ,lpo_edge 
+1552 37d98200 until null ,lpo_edge 
+1553 20600000 rtn 
+
+lpm_write_sel_vdd:
+1554 6ff20134 fetch 4 ,core_lpm_ctrl2 
+1555 67f2004c store 4 ,core_lpm_reg 
+1556 6ff08134 fetch 1 ,core_lpm_ctrl2 
+1557 1fe17e41 and_into 0x41 ,pdata 
+1558 6848c182 fetcht 1 ,mem_lpm_ctrl3 
+1559 9841fe00 ior temp ,pdata 
+155a 67f0804c store 1 ,core_lpm_reg 
+
+lpm_write_ctrl3:
+155b 58000020 setarg lpmreg_sel_ctrl3 
+155c 2020154f branch lpm_write 
+
+lpm_write_gpio_wakeup:
+155d 44d5c015 bpatch patch15_3 ,mem_patch15 
+155e 6fe2009e fetch 4 ,mem_gpio_wakeup_low 
+155f 67f2004c store 4 ,core_lpm_reg 
+1560 58000004 setarg lpmreg_sel_gpiolow 
+1561 2040154f call lpm_write 
+1562 6fe200a2 fetch 4 ,mem_gpio_wakeup_high 
+1563 67f2004c store 4 ,core_lpm_reg 
+1564 58000008 setarg lpmreg_sel_gpiohigh 
+1565 2020154f branch lpm_write 
+
+lpm_get_wake_lock:
+1566 6fe14157 fetch 2 ,mem_lpm_wake_lock 
+1567 f9207e00 qset1 pdata 
+1568 67e14157 store 2 ,mem_lpm_wake_lock 
+1569 20600000 rtn 
+
+lpm_put_wake_lock:
+156a 6fe14157 fetch 2 ,mem_lpm_wake_lock 
+156b f93ffe00 qset0 pdata 
+156c 67e14157 store 2 ,mem_lpm_wake_lock 
+156d 20600000 rtn 
+
+lpm_check_wake_lock:
+156e 44d64015 bpatch patch15_4 ,mem_patch15 
+156f 204031b4 call app_check_wake_lock 
+1570 6fe14157 fetch 2 ,mem_lpm_wake_lock 
+1571 1fe22200 copy pdata ,rega 
+1572 6fe0804c fetch 1 ,mem_state_map 
+1573 2feffe06 isolate1 smap_rxlmp ,pdata 
+1574 7920a20b setflag true ,wake_lock_lmp_rx ,rega 
+1575 6fe08078 fetch 1 ,mem_lmo_opcode1 
+1576 6848807c fetcht 1 ,mem_lmo_opcode2 
+1577 9840fe00 iadd temp ,pdata 
+1578 68488048 fetcht 1 ,mem_lmp_to_send 
+1579 9840fe00 iadd temp ,pdata 
+157a 7d3a220a nsetflag blank ,wake_lock_lmp_tx ,rega 
+157b 6fe1c4f3 fetch 3 ,mem_tx_fifo3 
+157c 7d3a2201 nsetflag blank ,wake_lock_ble_tx ,rega 
+157d 6fe1030e fetch 2 ,mem_l2cap_rxbuff1_len 
+157e 68490310 fetcht 2 ,mem_l2cap_rxbuff2_len 
+157f 9840fe00 iadd temp ,pdata 
+1580 7d3a220d nsetflag blank ,wake_lock_l2cap_rx ,rega 
+1581 6fe44775 fetch util_fifo_len ,mem_ipc_fifo_bt2c51 
+1582 7d3a220f nsetflag blank ,wake_lock_ipc_bt2c51 ,rega 
+1583 6fe4477d fetch util_fifo_len ,mem_ipc_fifo_c512bt 
+1584 7d3a220e nsetflag blank ,wake_lock_ipc_c512bt ,rega 
+1585 6fe0c1db fetch 1 ,mem_hci_cmd 
+1586 7d3a2208 nsetflag blank ,wake_lock_cmd ,rega 
+1587 6fe0c09a fetch 1 ,mem_device_option 
+1588 2fe1fe0a compare dvc_op_module ,pdata ,0xff 
+1589 2040958d call lpm_uart_wake_lock ,true 
+158a 1a227e00 copy rega ,pdata 
+158b 67e14157 store 2 ,mem_lpm_wake_lock 
+158c 20600000 rtn 
+
+lpm_uart_wake_lock:
+158d 6ff10112 fetch 2 ,core_uart_rxitems 
+158e 7d3a2206 nsetflag blank ,wake_lock_uart_rx ,rega 
+158f 6ff1010e fetch 2 ,core_uart_txitems 
+1590 7d3a2205 nsetflag blank ,wake_lock_uart_tx ,rega 
+1591 20600000 rtn 
+
+lpm_shut_down:
+1592 6ff20138 fetch 4 ,core_lpm_ctrl 
+1593 793ffe1b set0 27 ,pdata 
+1594 67f2004c store 4 ,core_lpm_reg 
+1595 2040154c call lpm_write_ctrl 
+1596 2020137c branch assert 
+
+lpm_disable_exen_output:
+1597 6ff2013c fetch 4 ,core_lpm_xtalcnt 
+1598 793ffe14 set0 20 ,pdata 
+1599 67f2004c store 4 ,core_lpm_reg 
+159a 2020154e branch lpm_write_ctrl2 
+
+le_init_conn:
+159b 474cc033 bpatchx patch33_1 ,mem_patch33 
+159c 7855fc00 disable wake 
+159d 70029d01 jam 1 ,mem_le_conn_handle 
+159e 70028703 jam 3 ,mem_le_state 
+159f 70029e01 jam 1 ,mem_le_arq 
+15a0 5fffffff setarg -1 
+15a1 67e102a1 store 2 ,mem_le_event_count 
+15a2 18007e00 force 0 ,pdata 
+15a3 67e0829f store 1 ,mem_le_ch 
+15a4 67e082aa store 1 ,mem_le_op 
+15a5 67e1c16e store 3 ,mem_sniff_rcv 
+15a6 67e1c171 store 3 ,mem_sniff_lost 
+15a7 20401901 call le_clear_enc 
+15a8 7041f501 jam 1 ,mem_le_txheader 
+15a9 7041f600 jam 0 ,mem_le_txlen 
+15aa 7002bc01 jam fun_rx_ll_1m_phy ,mem_le_rx_phy 
+15ab 7002bd01 jam fun_tx_ll_1m_phy ,mem_le_tx_phy 
+15ac 70443500 jam 0 ,mem_le_l2cap_att_states 
+15ad 202019dc branch le_supervision_flush 
+
+le_init_master:
+15ae 474d4033 bpatchx patch33_2 ,mem_patch33 
+15af 7834fc00 enable master 
+15b0 70028803 jam lemode_master ,mem_le_mode 
+15b1 70443701 jam 1 ,mem_le_att_handle 
+15b2 70099e01 jam 1 ,mem_le_search_handle_start 
+15b3 5800ffff setarg 0xffff 
+15b4 67e109a0 store 2 ,mem_le_search_handle_end 
+15b5 18007e00 force 0 ,pdata 
+15b6 67e2c6a4 store 5 ,mem_ccm_pcnt_rx 
+15b7 79207e27 set1 le_ccm_directionbit ,pdata 
+15b8 67e2c69f store 5 ,mem_ccm_pcnt_tx 
+15b9 2020159b branch le_init_conn 
+
+le_init_slave:
+15ba 474dc033 bpatchx patch33_3 ,mem_patch33 
+15bb 7854fc00 disable master 
+15bc 58000017 setarg 0x17 
+15bd 67e14382 store 2 ,mem_le_remote_mtu 
+15be 1fe0fe04 increase 4 ,pdata 
+15bf 67e14444 store 2 ,mem_remote_rx_max_octets 
+15c0 70028801 jam lemode_slave ,mem_le_mode 
+15c1 70442700 jam 0 ,mem_le_adv_enable 
+15c2 70009d00 jam 0 ,mem_lpm_current_mult 
+15c3 20401626 call le_clear_pairing_state 
+15c4 6fe102b5 fetch 2 ,mem_le_superto 
+15c5 67e14394 store 2 ,mem_le_init_superto 
+15c6 6fe10289 fetch 2 ,mem_le_tsniff 
+15c7 1feffe05 mul32 pdata ,5 ,pdata 
+15c8 1ff1fe00 rshift4 pdata ,pdata 
+15c9 67e102b5 store 2 ,mem_le_superto 
+15ca 2020159b branch le_init_conn 
+
+le_conn_dispatch:
+15cb 474e4033 bpatchx patch33_4 ,mem_patch33 
+15cc 20401651 call le_enable 
+15cd 6fe08287 fetch 1 ,mem_le_state 
+15ce 2feffe04 isolate1 lestate_encryption ,pdata 
+15cf 79208032 setflag true ,mark_ble_encryption ,mark 
+15d0 20403182 call app_process_ble 
+15d1 6fe08288 fetch 1 ,mem_le_mode 
+15d2 c28095d4 bbit1 mode_master ,le_master_dispatch 
+15d3 202015e6 branch le_slave_dispatch 
+
+le_master_dispatch:
+15d4 474ec033 bpatchx patch33_5 ,mem_patch33 
+15d5 7834fc00 enable master 
+15d6 204019d3 call le_supervision_update 
+15d7 202115e3 branch le_master_disconn ,positive 
+15d8 204016a2 call le_setup 
+15d9 20401916 call le_prepare_tx 
+15da 7856fc00 disable match 
+15db 204017d4 call le_transmit_receive_sifs 
+15dc 24768000 nrtn match 
+15dd 6fe08005 fetch 1 ,mem_le_conn_rcv 
+15de 1fe0fe01 increase 1 ,pdata 
+15df 67e08005 store 1 ,mem_le_conn_rcv 
+15e0 204018c7 call le_acknowledge 
+15e1 7854fc00 disable master 
+15e2 20600000 rtn 
+
+le_master_disconn:
+15e3 2040161a call le_disconnect 
+15e4 7854fc00 disable master 
+15e5 20600000 rtn 
+
+le_slave_dispatch:
+15e6 474f4033 bpatchx patch33_6 ,mem_patch33 
+15e7 7043dd00 jam 0 ,mem_le_md_count 
+15e8 793f8030 set0 mark_ble_crc_fail ,mark 
+15e9 20407602 call sp_calc_sequence_256 
+15ea 20402064 call le_secure_connect_sm 
+15eb 78577c00 disable attempt 
+15ec 204019d3 call le_supervision_update 
+15ed 2021161a branch le_slave_disconn ,positive 
+15ee 6fe082bc fetch 1 ,mem_le_rx_phy 
+15ef 20401637 call le_enable_phy_by_pdata 
+15f0 204016a2 call le_setup 
+15f1 204016fa call le_receive_slave 
+15f2 242c160c nbranch le_slave_unsync ,sync 
+15f3 2040162a call le_got_first_packet 
+15f4 203695f7 branch le_slave_match ,match 
+15f5 c51815f7 bmark1 mark_ble_crc_fail ,le_slave_crc_fail 
+15f6 20201606 branch le_slave_cont 
+
+le_slave_crc_fail:
+
+le_slave_match:
+15f7 474fc033 bpatchx patch33_7 ,mem_patch33 
+15f8 6fe0c3dd fetch 1 ,mem_le_md_count 
+15f9 1fe0fe01 pincrease 1 
+15fa 67e0c3dd store 1 ,mem_le_md_count 
+15fb c0061606 beq le_md_max_count ,le_slave_cont 
+15fc 204018c7 call le_acknowledge 
+15fd 20401916 call le_prepare_tx 
+15fe 6fe082bd fetch 1 ,mem_le_tx_phy 
+15ff 20401637 call le_enable_phy_by_pdata 
+1600 204017e2 call le_transmit_norx 
+1601 20401979 call le_parse 
+1602 6fe1446d fetch 2 ,mem_cb_ble_transmit 
+1603 20407e7a call callback_func 
+1604 2040160f call le_check_md 
+1605 20341614 branch le_slave_more_data ,user 
+
+le_slave_cont:
+1606 47504034 bpatchx patch34_0 ,mem_patch34 
+1607 2040202a call le_pairing_sm 
+1608 20402021 call le_check_paring_time 
+1609 204078f2 call check_51cmd 
+160a 6fe082aa fetch 1 ,mem_le_op 
+160b c281961a bbit1 op_disconn ,le_slave_disconn 
+
+le_slave_unsync:
+160c 4750c034 bpatchx patch34_1 ,mem_patch34 
+160d 20401aa6 call le_lpm_set_mult 
+160e 2020105d branch calc_clke_offset 
+
+le_check_md:
+160f 78547c00 disable user 
+1610 c5157ec5 bmark1 mark_ble_rx_md ,enable_user 
+1611 c514fec5 bmark1 mark_ble_tx_md ,enable_user 
+1612 c5187ec5 bmark1 mark_ble_crc_fail ,enable_user 
+1613 20600000 rtn 
+
+le_slave_more_data:
+1614 47514034 bpatchx patch34_2 ,mem_patch34 
+1615 78377c00 enable attempt 
+1616 204017d8 call le_transmit_receive_sifs_notx 
+1617 203695f7 branch le_slave_match ,match 
+1618 c51815f7 bmark1 mark_ble_crc_fail ,le_slave_crc_fail 
+1619 20201606 branch le_slave_cont 
+
+le_slave_disconn:
+
+le_disconnect:
+161a 4751c034 bpatchx patch34_3 ,mem_patch34 
+161b 20401621 call le_clear_connection_info 
+161c 20403243 call app_disconn_reason_collect_ble 
+161d 20401626 call le_clear_pairing_state 
+161e 20402072 call le_sc_state_clear 
+161f 70095b15 jam bt_evt_le_disconnected ,mem_fifo_temp 
+1620 202078dc branch ui_ipc_send_event 
+
+le_clear_connection_info:
+1621 d8a044e9 arg mem_used_map ,contw 
+1622 20407d90 call memset0_16 
+1623 70029d00 jam 0 ,mem_le_conn_handle 
+1624 70028800 jam lemode_idle ,mem_le_mode 
+1625 70028700 jam 0 ,mem_le_state 
+
+le_clear_pairing_state:
+1626 47524034 bpatchx patch34_4 ,mem_patch34 
+1627 70439c00 jam flag_le_enc_null ,mem_le_enc_state 
+1628 70439b00 jam flag_le_pairing_null ,mem_le_pairing_state 
+1629 20206f37 branch sp_clear_flags 
+
+le_got_first_packet:
+162a 4752c034 bpatchx patch34_5 ,mem_patch34 
+162b 6fe08005 fetch 1 ,mem_le_conn_rcv 
+162c 1fe0fe01 increase 1 ,pdata 
+162d 67e08005 store 1 ,mem_le_conn_rcv 
+162e 6fe08287 fetch 1 ,mem_le_state 
+162f c3818000 rtnbit1 lestate_got_first_packet 
+1630 79207e03 set1 lestate_got_first_packet ,pdata 
+1631 67e08287 store 1 ,mem_le_state 
+1632 6fe14394 fetch 2 ,mem_le_init_superto 
+1633 67e102b5 store 2 ,mem_le_superto 
+1634 58000000 setarg 0 
+1635 67e243bc store 4 ,mem_le_transmit_window 
+1636 20600000 rtn 
+
+le_enable_phy_by_pdata:
+1637 1fe20400 copy pdata ,temp 
+1638 47534034 bpatchx patch34_6 ,mem_patch34 
+1639 18427e00 copy temp ,pdata 
+163a c2801651 bbit1 bit_le_1m_phy ,le_enable 
+163b c2809640 bbit1 bit_le_2m_phy ,le_enable_2m 
+163c c3011651 bbit0 bit_le_coded_phy ,le_enable 
+163d c283964e bbit1 bit_le_coded_phy_s8 ,le_enable_coded_s8 
+163e c2811646 bbit1 bit_le_coded_phy_s2 ,le_enable_coded_s2 
+163f 20201651 branch le_enable 
+
+le_enable_2m:
+1640 20401651 call le_enable 
+1641 7920002d set1 mark_ble_2m ,mark 
+1642 793f802f set0 mark_ble_lr ,mark 
+1643 70890103 jam 0x03 ,0x8901 
+1644 70892084 jam 0x84 ,0x8920 
+1645 20600000 rtn 
+
+le_enable_coded_s2:
+
+le_enable_coded:
+1646 20401651 call le_enable 
+1647 7920002f set1 mark_ble_lr ,mark 
+1648 793f802e set0 mark_ble_lr_s8 ,mark 
+1649 70890105 jam 0x05 ,0x8901 
+164a 70892080 jam 0x80 ,0x8920 
+164b 70893020 jam 0x20 ,0x8930 
+164c 7089340a jam 0x0a ,0x8934 
+164d 20600000 rtn 
+
+le_enable_coded_s8:
+164e 20401646 call le_enable_coded 
+164f 7920002e set1 mark_ble_lr_s8 ,mark 
+1650 20600000 rtn 
+
+le_enable:
+1651 4753c034 bpatchx patch34_7 ,mem_patch34 
+1652 783b7c00 enable le 
+1653 793f802d set0 mark_ble_2m ,mark 
+1654 793f802f set0 mark_ble_lr ,mark 
+1655 70890101 jam 0x01 ,0x8901 
+1656 70892080 jam 0x80 ,0x8920 
+1657 708925a7 jam 0xa7 ,0x8925 
+1658 70893003 jam 0x03 ,0x8930 
+1659 70893358 jam 0x58 ,0x8933 
+165a 7089340a jam 0x0a ,0x8934 
+165b 70893740 jam 0x40 ,0x8937 
+165c 708a6d09 jam 9 ,core_rx_bq_cfg0 
+165d 20600000 rtn 
+
+le_disable:
+165e 47544035 bpatchx patch35_0 ,mem_patch35 
+165f 785b7c00 disable le 
+1660 793f8032 set0 mark_ble_encryption ,mark 
+1661 70890100 jam 0x00 ,0x8901 
+1662 70892080 jam 0x80 ,0x8920 
+1663 708925a3 jam 0xa3 ,0x8925 
+1664 70893003 jam 0x03 ,0x8930 
+1665 70893368 jam 0x68 ,0x8933 
+1666 70893409 jam 0x09 ,0x8934 
+1667 70893728 jam 0x28 ,0x8937 
+1668 708a6d09 jam 9 ,core_rx_bq_cfg0 
+1669 20600000 rtn 
+
+le_prep:
+166a 7844fc00 disable enable_crc 
+166b 7843fc00 disable enable_white 
+166c 6fe182af fetch 3 ,mem_le_crcinit 
+166d 98001e00 iforce crc24_init 
+166e 6fe08016 fetch 1 ,mem_le_ch_mapped 
+166f 1fed8400 reverse pdata ,temp 
+1670 79200401 set1 1 ,temp 
+1671 18431c00 rshift temp ,white_init 
+1672 20600000 rtn 
+
+le_rx_setfreq:
+1673 2040167c call le_setfreq 
+
+le_rf_rx_enable:
+1674 2040118b call set_freq_rx 
+1675 6fe1015d fetch 2 ,mem_param_pll_setup 
+1676 2040137f call sleep 
+1677 202011a2 branch rf_rx_enable 
+
+le_tx_setfreq:
+1678 20369207 branch txon ,match 
+1679 c5181207 bmark1 mark_ble_crc_fail ,txon 
+
+le_tx_setfreq0:
+167a 2040167c call le_setfreq 
+167b 20201201 branch set_freq_tx 
+
+le_setfreq:
+167c 4754c035 bpatchx patch35_1 ,mem_patch35 
+167d 2040115d call set_sync_on 
+167e 6fe082df fetch 1 ,mem_le_testtype 
+167f 243a168f nbranch le_ctf_test ,blank 
+1680 6fe08016 fetch 1 ,mem_le_ch_mapped 
+1681 1fe67c24 sub pdata ,36 ,null 
+1682 20211689 branch le_ctf_normal ,positive 
+1683 18000400 force 0 ,temp 
+1684 c1128000 rtneq 37 
+1685 18000418 force 24 ,temp 
+1686 c1130000 rtneq 38 
+1687 1800044e force 78 ,temp 
+1688 20600000 rtn 
+
+le_ctf_normal:
+1689 1fe67c0a sub pdata ,10 ,null 
+168a 2021168c branch le_ctf_low ,positive 
+168b 1fe0fe01 increase 1 ,pdata 
+
+le_ctf_low:
+168c 1fe3fe00 lshift pdata ,pdata 
+168d 1fe08402 add pdata ,2 ,temp 
+168e 20600000 rtn 
+
+le_ctf_test:
+168f 6fe08016 fetch 1 ,mem_le_ch_mapped 
+1690 1fe38400 lshift pdata ,temp 
+1691 20600000 rtn 
+
+le_sca_map:
+1692 d84001f4 arg 500 ,temp 
+1693 207a0000 rtn blank 
+1694 d84000fa arg 250 ,temp 
+1695 c1008000 rtneq 1 
+1696 d8400096 arg 150 ,temp 
+1697 c1010000 rtneq 2 
+1698 d8400064 arg 100 ,temp 
+1699 c1018000 rtneq 3 
+169a d840004b arg 75 ,temp 
+169b c1020000 rtneq 4 
+169c d8400032 arg 50 ,temp 
+169d c1028000 rtneq 5 
+169e d8400028 arg 40 ,temp 
+169f c1030000 rtneq 6 
+16a0 d8400014 arg 20 ,temp 
+16a1 20600000 rtn 
+
+le_setup:
+16a2 47554035 bpatchx patch35_2 ,mem_patch35 
+16a3 78287c00 enable swfine 
+16a4 6fe202ab fetch 4 ,mem_le_access 
+16a5 98001200 iforce access 
+16a6 204010ac call calc_mod_value_scale_le 
+16a7 204016d8 call le_map_channel 
+16a8 58000200 setarg 0x200 
+16a9 203496ac branch le_setup_master ,master 
+16aa 6fe10295 fetch 2 ,mem_le_receive_window 
+16ab 1fe37e00 rshift pdata ,pdata 
+
+le_setup_master:
+16ac 6849015d fetcht 2 ,mem_param_pll_setup 
+16ad 9840fe00 iadd temp ,pdata 
+16ae 20401313 call ahead_window 
+16af 1b427e00 deposit clke 
+16b0 20600000 rtn 
+
+le_context_nextevent:
+16b1 4755c035 bpatchx patch35_3 ,mem_patch35 
+16b2 20407d43 call push_stack_rega_b_c 
+16b3 67210987 storer loopcnt ,2 ,mem_loopcnt 
+16b4 1a208c01 add rega ,coffset_mode ,contr 
+16b5 efe08006 ifetch 1 ,contr 
+16b6 c4000000 rtnbit0 mode_le 
+16b7 1a208a1a add rega ,coffset_le_event_cnt ,contw 
+16b8 efe10005 ifetch 2 ,contw 
+16b9 1fe0fe01 increase 1 ,pdata 
+16ba e7e10005 istore 2 ,contw 
+16bb 20401844 call le_update_param 
+16bc 20401869 call le_update_channel_map 
+16bd 20401872 call le_update_phy 
+16be 204016c2 call le_context_nexthop 
+16bf 20407d51 call pop_stack_rega_b_c 
+16c0 6f210987 fetchr loopcnt ,2 ,mem_loopcnt 
+16c1 20600000 rtn 
+
+le_context_nexthop:
+16c2 1a208c19 add rega ,coffset_le_hop ,contr 
+16c3 efe08006 ifetch 1 ,contr 
+16c4 1a208a18 add rega ,coffset_le_ch ,contw 
+16c5 e8408005 ifetcht 1 ,contw 
+16c6 9840fe00 iadd temp ,pdata 
+16c7 1fe67c24 sub pdata ,36 ,null 
+16c8 202116ca branch le_nexthop_nowrap ,positive 
+16c9 1fe0ffdb increase -37 ,pdata 
+
+le_nexthop_nowrap:
+16ca e7e08005 istore 1 ,contw 
+16cb 20600000 rtn 
+
+le_calc_channel_map:
+16cc 1a208c30 add rega ,coffset_le_channel_map ,contr 
+16cd efe28006 ifetch 5 ,contr 
+16ce 18000400 force 0 ,temp 
+16cf 18007225 force 37 ,loopcnt 
+
+le_count_channels_loop:
+16d0 c30016d2 bbit0 0 ,le_count_channels_notused 
+16d1 18408401 increase 1 ,temp 
+
+le_count_channels_notused:
+16d2 1fe37e00 rshift pdata ,pdata 
+16d3 c20016d0 loop le_count_channels_loop 
+16d4 1840ffff add temp ,-1 ,pdata 
+16d5 1a208a22 add rega ,coffset_le_channels ,contw 
+16d6 e7e08005 istore 1 ,contw 
+16d7 20600000 rtn 
+
+le_map_channel:
+16d8 47564035 bpatchx patch35_4 ,mem_patch35 
+16d9 6fe0829f fetch 1 ,mem_le_ch 
+16da 98000e00 iforce queue 
+16db 684a82b7 fetcht 5 ,mem_le_channel_map 
+16dc a84fffff qisolate1 temp 
+16dd 202096ed branch le_map_channel_end ,true 
+
+le_map_channel_next:
+16de 6fe082a9 fetch 1 ,mem_le_channels 
+16df 98e67e00 isub queue ,pdata 
+16e0 202116e3 branch le_map_channel_cont ,positive 
+16e1 1fe60fff sub pdata ,-1 ,queue 
+16e2 202016de branch le_map_channel_next 
+
+le_map_channel_cont:
+16e3 18e27200 copy queue ,loopcnt 
+16e4 18000e00 force 0 ,queue 
+
+le_map_channel_loop:
+16e5 a84fffff qisolate1 temp 
+16e6 202096e8 branch le_map_channel_skip ,true 
+16e7 1f20f201 increase 1 ,loopcnt 
+
+le_map_channel_skip:
+16e8 1f227e00 deposit loopcnt 
+16e9 203a16ed branch le_map_channel_end ,blank 
+16ea 18e08e01 increase 1 ,queue 
+16eb 1f20f3ff increase -1 ,loopcnt 
+16ec 202016e5 branch le_map_channel_loop 
+
+le_map_channel_end:
+16ed 18e27e00 deposit queue 
+16ee 67e08016 store 1 ,mem_le_ch_mapped 
+16ef 20600000 rtn 
+
+le_wait_tx:
+16f0 203496f3 branch le_wait_master ,master 
+16f1 37c18200 until null ,timeout 
+16f2 20600000 rtn 
+
+le_wait_master:
+16f3 d9600ea0 arg 0xea0 ,timeup 
+16f4 34730200 until clkn_rt ,meet 
+16f5 20600000 rtn 
+
+le_receive_adv:
+16f6 78487c00 disable swfine 
+16f7 6fe143e5 fetch 2 ,mem_le_scan_window 
+16f8 1fe21600 copy pdata ,timeup 
+16f9 20201700 branch le_receive_packet 
+
+le_receive_slave:
+16fa 4756c035 bpatchx patch35_5 ,mem_patch35 
+16fb 20401764 call le_dec_init 
+16fc 78287c00 enable swfine 
+16fd 6fe10295 fetch 2 ,mem_le_receive_window 
+16fe 684a43bc fetcht 4 ,mem_le_transmit_window 
+16ff 98409600 iadd temp ,timeup 
+
+le_receive_packet:
+1700 20401673 call le_rx_setfreq 
+
+le_receive_rxon:
+1701 47574035 bpatchx patch35_6 ,mem_patch35 
+1702 2040166a call le_prep 
+1703 c5979708 bmark0 mark_ble_lr ,le_receive_nolr 
+1704 783cfc00 pulse dewhiten_code_calc 
+1705 2000001e nop 30 
+1706 2040166a call le_prep 
+1707 19699600 lshift3 timeup ,timeup 
+
+le_receive_nolr:
+1708 7856fc00 disable match 
+1709 7826fc00 enable decode_fec0 
+170a 7830fc00 enable is_rx 
+170b 78507c00 disable is_tx 
+170c 19623600 copy timeup ,stop_watch 
+170d 37c18400 correlate null ,timeout 
+170e 20371711 branch le_receive_on_attempt ,attempt 
+170f 1b420400 copy clke ,temp 
+1710 604b0097 storet 6 ,mem_sync_clke 
+
+le_receive_on_attempt:
+1711 242c179f nbranch le_unsync_end ,sync 
+1712 4757c035 bpatchx patch35_7 ,mem_patch35 
+1713 78287c00 enable swfine 
+1714 d8404ea9 arg param_t_ifs_150us + param_20ms_init + param_sync_time_difference ,temp 
+1715 6fe0c1f0 fetch 1 ,mem_system_clk 
+1716 984fb600 imul32 temp ,stop_watch 
+1717 20404d0d call rf_debug_rx_sync_line 
+1718 2037171e branch le_receive_skip ,attempt 
+1719 204017a3 call calc_clke_all_modem 
+171a 6fe08287 fetch 1 ,mem_le_state 
+171b c301971e bbit0 lestate_got_first_packet ,le_receive_skip 
+171c 684b0097 fetcht 6 ,mem_sync_clke 
+171d 20559444 call lpm_adjust_clk ,wake 
+
+le_receive_skip:
+171e 2040127f call save_rssi 
+171f 7823fc00 enable enable_white 
+1720 7824fc00 enable enable_crc 
+1721 09800008 parse demod ,bucket ,8 
+1722 19897e00 rshift3 pwindow ,pdata 
+1723 67e0816b store 1 ,mem_le_rxbuf_data_header 
+1724 09800008 parse demod ,bucket ,8 
+1725 19897e00 rshift3 pwindow ,pdata 
+1726 67e0816c store 1 ,mem_le_rxbuf_data_length 
+1727 1fe27200 copy pdata ,loopcnt 
+1728 20229743 branch le_rx_nopayload ,zero 
+1729 c519172f bmark1 mark_ble_encryption ,le_rx_dec 
+
+le_rx_loop:
+172a 09800008 parse demod ,bucket ,8 
+172b 19897e00 rshift3 pwindow ,pdata 
+172c e7e08005 istore 1 ,contw 
+172d c200172a loop le_rx_loop 
+172e 20201743 branch le_rx_nopayload 
+
+le_rx_dec:
+172f 18a22400 copy contw ,regb 
+1730 204018c0 call le_check_retransmit 
+1731 6a20816c fetchr rega ,1 ,mem_le_rxbuf_data_length 
+1732 1a20a3fc increase -4 ,rega 
+1733 24211797 nbranch le_mic_error ,positive 
+1734 20401769 call le_dec_start 
+1735 1a420a00 copy regb ,contw 
+1736 d8400000 arg 0 ,temp 
+1737 6f20816c fetchr loopcnt ,1 ,mem_le_rxbuf_data_length 
+1738 1f20f3fc increase -4 ,loopcnt 
+1739 20229741 branch le_rx_dec_loop_end ,zero 
+
+le_rx_dec_loop:
+173a 09800008 parse demod ,bucket ,8 
+173b 19897e00 rshift3 pwindow ,pdata 
+173c e7e08005 istore 1 ,contw 
+173d 18408401 increase 1 ,temp 
+173e 18417c0f and temp ,0xf ,null 
+173f 20429786 call le_dec ,zero 
+1740 c200173a loop le_rx_dec_loop 
+
+le_rx_dec_loop_end:
+1741 2040178e call le_dec_end 
+1742 1a420a00 copy regb ,contw 
+
+le_rx_nopayload:
+1743 47584036 bpatchx patch36_0 ,mem_patch36 
+1744 09800018 parse demod ,bucket ,24 
+1745 1fef7e00 rshift32 pdata ,pdata 
+1746 1ff17e00 rshift16 pdata ,pdata 
+1747 e7e18005 istore 3 ,contw 
+1748 78287c00 enable swfine 
+1749 204017b1 call le_set_until_tx_timer 
+174a 2023179b branch le_crc_fail ,crc_failed 
+174b c5991755 bmark0 mark_ble_encryption ,le_rx_match 
+174c 6fe0816c fetch 1 ,mem_le_rxbuf_data_length 
+174d 203a1755 branch le_rx_match ,blank 
+174e 1fe0fffc increase -4 ,pdata 
+174f 67e0816c store 1 ,mem_le_rxbuf_data_length 
+1750 20406dbb call wait_ccm_done 
+1751 6ff08108 fetch 1 ,core_misc_status 
+1752 c3039797 bbit0 7 ,le_mic_error 
+1753 1800700c force regidx_result ,regext_index 
+1754 65e20273 storer regext ,4 ,mem_le_peer_mic 
+
+le_rx_match:
+1755 20404d0c call rf_debug_rx_crc_line 
+1756 7836fc00 enable match 
+1757 793f8030 set0 mark_ble_crc_fail ,mark 
+
+le_crc_fail_tx:
+1758 20406dbd call ccm_ctrl_clr 
+1759 6fe082bc fetch 1 ,mem_le_rx_phy 
+175a 7d3e7e07 nsetflag ble_coded_info ,bit_le_coded_phy_s8 ,pdata 
+175b 67e082bc store 1 ,mem_le_rx_phy 
+
+le_match_set_txfreq:
+175c 4758c036 bpatchx patch36_1 ,mem_patch36 
+175d 68488017 fetcht 1 ,mem_last_freq 
+175e 1840a202 add temp ,2 ,rega 
+175f c5169761 bmark1 mark_ble_2m ,le_match_set_txfreq_offset 
+1760 1840a202 add temp ,2 ,rega 
+
+le_match_set_txfreq_offset:
+1761 7846fc00 disable decode_fec0 
+1762 2040115d call set_sync_on 
+1763 202011c6 branch rf_tx_write_freq 
+
+le_dec_init:
+1764 c6990000 rtnmark0 mark_ble_encryption 
+1765 20406e2f call load_sk 
+1766 1800700c force regidx_result ,regext_index 
+1767 20406e37 call aes_clear 
+1768 20206e36 branch aes_clear_data 
+
+le_dec_start:
+1769 7080d500 jam 0 ,core_ccm_aad0 
+176a 7080d601 jam 1 ,core_ccm_aad1 
+176b 6fe0816b fetch 1 ,mem_le_rxbuf_data_header 
+176c 1fe17e03 and_into 0x3 ,pdata 
+176d 67f080d7 store 1 ,core_ccm_aad2 
+176e 5800016d setarg mem_le_rxbuf_data_payload 
+176f 67f100d1 store 2 ,core_ccm_input_playload_addr 
+1770 67f100d3 store 2 ,core_ccm_output_playload_addr 
+1771 6a20816c fetchr rega ,1 ,mem_le_rxbuf_data_length 
+1772 1a20a3fc increase -4 ,rega 
+1773 684ac6a4 fetcht 5 ,mem_ccm_pcnt_rx 
+1774 280ffe0f isolate1 mark_old_packet ,mark 
+1775 2040977c call le_pcnt_rx_sub1 ,true 
+1776 20406cc9 call ccm_b0 
+1777 58000000 setarg 0 
+1778 67f100da store 2 ,core_ccm_inptr 
+1779 70800a06 jam 6 ,core_ccm_ctrl 
+177a 70800a07 jam 7 ,core_ccm_ctrl 
+177b 20600000 rtn 
+
+le_pcnt_rx_sub1:
+177c 18467c00 sub temp ,0 ,null 
+177d 20229781 branch le_pcnt_rx_sub1_0 ,zero 
+177e 184085ff increase -1 ,temp 
+177f 79200427 set1 le_ccm_directionbit ,temp 
+1780 20600000 rtn 
+
+le_pcnt_rx_sub1_0:
+1781 58ffffff setarg 0xffffff 
+1782 1ff07e00 lshift16 pdata ,pdata 
+1783 d840ffff arg 0xffff ,temp 
+1784 98418400 ior temp ,temp 
+1785 20600000 rtn 
+
+le_dec:
+1786 18a22400 copy contw ,regb 
+1787 6fe0816c fetch 1 ,mem_le_rxbuf_data_length 
+1788 1fe0fffc increase -4 ,pdata 
+1789 98467c00 isub temp ,null 
+178a 20628000 rtn zero 
+178b 605900da storet 2 ,core_ccm_inptr 
+178c 1a420a00 copy regb ,contw 
+178d 20600000 rtn 
+
+le_dec_end:
+178e 09800020 parse demod ,bucket ,32 
+178f 1fef7e00 rshift32 pdata ,pdata 
+1790 1fecfe00 rshift8 pdata ,pdata 
+1791 e7e20005 istore 4 ,contw 
+1792 18a22400 copy contw ,regb 
+1793 18007000 force regidx_data ,regext_index 
+1794 1fe25e00 copy pdata ,regext 
+1795 605900da storet 2 ,core_ccm_inptr 
+1796 20600000 rtn 
+
+le_mic_error:
+1797 202017a1 branch le_end_of_packet 
+
+le_retransmit_end_of_packet:
+1798 204017b1 call le_set_until_tx_timer 
+1799 20400e7c call end_of_packet 
+179a 20201755 branch le_rx_match 
+
+le_crc_fail:
+179b 20404d0e call rf_debug_rx_crc_fail_line 
+179c c518179f bmark1 mark_ble_crc_fail ,le_crc_fail_consecutive 
+179d 79200030 set1 mark_ble_crc_fail ,mark 
+179e 20201758 branch le_crc_fail_tx 
+
+le_unsync_end:
+
+le_crc_fail_consecutive:
+179f 793f8030 set0 mark_ble_crc_fail ,mark 
+17a0 202017a1 branch le_end_of_packet 
+
+le_end_of_packet:
+17a1 20406dbd call ccm_ctrl_clr 
+17a2 20200e7c branch end_of_packet 
+
+calc_clke_all_modem:
+17a3 c51797a9 bmark1 mark_ble_lr ,calc_clke_modem_coded 
+17a4 c51697ad bmark1 mark_ble_2m ,calc_clke_modem_2m 
+17a5 6fe10165 fetch 2 ,mem_param_clke_cal_le_1m 
+17a6 1fe25200 copy pdata ,clke_rt 
+17a7 1c225000 copy bt_clk ,clke_bt 
+17a8 20600000 rtn 
+
+calc_clke_modem_coded:
+17a9 6fe10169 fetch 2 ,mem_param_clke_cal_le_coded 
+17aa 1fe25200 copy pdata ,clke_rt 
+17ab 1c20d001 add bt_clk ,1 ,clke_bt 
+17ac 20600000 rtn 
+
+calc_clke_modem_2m:
+17ad 6fe10167 fetch 2 ,mem_param_clke_cal_le_2m 
+17ae 1fe25200 copy pdata ,clke_rt 
+17af 1c225000 copy bt_clk ,clke_bt 
+17b0 20600000 rtn 
+
+le_set_until_tx_timer:
+17b1 6fe0816c fetch 1 ,mem_le_rxbuf_data_length 
+17b2 1fe08405 add pdata ,5 ,temp 
+17b3 18498400 lshift3 temp ,temp 
+17b4 6fe082bc fetch 1 ,mem_le_rx_phy 
+17b5 c51797b8 bmark1 mark_ble_lr ,le_set_until_tx_timer_rx_lr 
+17b6 c28017ba bbit1 bit_le_1m_phy ,le_set_until_tx_timer_rx_1m 
+17b7 c28097bb bbit1 bit_le_2m_phy ,le_set_until_tx_timer_rx_2m 
+
+le_set_until_tx_timer_rx_lr:
+17b8 203e17bd branch le_set_until_tx_timer_rx_coded_s2 ,ble_coded_info 
+17b9 202017c0 branch le_set_until_tx_timer_rx_coded_s8 
+
+le_set_until_tx_timer_rx_1m:
+17ba 202017c5 branch le_calc_stop_watch 
+
+le_set_until_tx_timer_rx_2m:
+17bb 18430400 rshift temp ,temp 
+17bc 202017c5 branch le_calc_stop_watch 
+
+le_set_until_tx_timer_rx_coded_s2:
+17bd 18408403 add temp ,3 ,temp 
+17be 18438400 lshift temp ,temp 
+17bf 202017c2 branch le_set_until_tx_timer_rx_coded 
+
+le_set_until_tx_timer_rx_coded_s8:
+17c0 18408403 add temp ,3 ,temp 
+17c1 18498400 lshift3 temp ,temp 
+
+le_set_until_tx_timer_rx_coded:
+17c2 58000028 setarg param_coded_c1_term1_time_40us 
+17c3 98408400 iadd temp ,temp 
+17c4 202017c5 branch le_calc_stop_watch 
+
+le_calc_stop_watch:
+17c5 6fe0c1f0 fetch 1 ,mem_system_clk 
+17c6 984f8400 imul32 temp ,temp 
+17c7 da204e20 arg param_20ms_init ,rega 
+17c8 9a2ffe00 imul32 rega ,pdata 
+17c9 98460400 isub temp ,temp 
+17ca 1b627e00 copy stop_watch ,pdata 
+17cb 98463600 isub temp ,stop_watch 
+17cc 20600000 rtn 
+
+le_transmit_receive_sifs_without_change_mode:
+17cd 204017e4 call le_transmit 
+17ce 68488017 fetcht 1 ,mem_last_freq 
+17cf 2040118b call set_freq_rx 
+17d0 204011a2 call rf_rx_enable 
+17d1 78287c00 enable swfine 
+17d2 d960157c arg 5500 ,timeup 
+17d3 20201701 branch le_receive_rxon 
+
+le_transmit_receive_sifs:
+17d4 47594036 bpatchx patch36_2 ,mem_patch36 
+17d5 6fe082bd fetch 1 ,mem_le_tx_phy 
+17d6 20401637 call le_enable_phy_by_pdata 
+17d7 204017e4 call le_transmit 
+
+le_transmit_receive_sifs_notx:
+17d8 6fe082bc fetch 1 ,mem_le_rx_phy 
+17d9 20401637 call le_enable_phy_by_pdata 
+17da 68488017 fetcht 1 ,mem_last_freq 
+17db 2040118b call set_freq_rx 
+17dc 204011a2 call rf_rx_enable 
+17dd 78287c00 enable swfine 
+17de d960157c arg 5500 ,timeup 
+17df c5979701 bmark0 mark_ble_lr ,le_receive_rxon 
+17e0 d9602134 arg 8500 ,timeup 
+17e1 20201701 branch le_receive_rxon 
+
+le_transmit_norx:
+17e2 204017e4 call le_transmit 
+17e3 20200e7c branch end_of_packet 
+
+le_transmit:
+17e4 4759c036 bpatchx patch36_3 ,mem_patch36 
+17e5 2040166a call le_prep 
+17e6 20401678 call le_tx_setfreq 
+17e7 20404d13 call rf_debug_tx_on_line 
+17e8 79202a00 set1 txgfsk ,radio_ctrl 
+17e9 782efc00 enable encode_fec0 
+17ea 78307c00 enable is_tx 
+17eb 7850fc00 disable is_rx 
+17ec 204016f0 call le_wait_tx 
+17ed 785d7c00 disable lr_s2en 
+17ee c5179826 bmark1 mark_ble_lr ,le_transmit_lr 
+17ef c5169838 bmark1 mark_ble_2m ,le_transmit_2m 
+17f0 19317e00 rshift16 access ,pdata 
+17f1 1fecfe00 rshift8 pdata ,pdata 
+17f2 1ff1fe00 rshift4 pdata ,pdata 
+17f3 08008628 inject mod ,40 
+
+le_transmit_packet:
+17f4 7823fc00 enable enable_white 
+17f5 7824fc00 enable enable_crc 
+17f6 475a4036 bpatchx patch36_4 ,mem_patch36 
+17f7 6fe0c1f5 fetch 1 ,mem_le_txheader 
+17f8 08008608 inject mod ,8 
+17f9 efe08006 ifetch 1 ,contr 
+17fa 1fe27200 copy pdata ,loopcnt 
+17fb 08008608 inject mod ,8 
+17fc 1f267c00 sub loopcnt ,0 ,null 
+17fd 20229805 branch le_tr_nopayload ,zero 
+17fe 6ff0800a fetch 1 ,core_ccm_ctrl 
+17ff 203a1801 branch le_transmit_packet_not_enc ,blank 
+1800 c519181b bmark1 mark_ble_encryption ,le_transmit_packet_enc 
+
+le_transmit_packet_not_enc:
+1801 d8c041f7 arg mem_le_txpayload ,contr 
+
+le_tr_loop:
+1802 efe08006 ifetch 1 ,contr 
+1803 08008608 inject mod ,8 
+1804 c2001802 loop le_tr_loop 
+
+le_tr_nopayload:
+1805 78247c00 enable enable_parity 
+1806 08008618 inject mod ,24 
+1807 78447c00 disable enable_parity 
+1808 c597980c bmark0 mark_ble_lr ,le_transmit_skip 
+1809 7843fc00 disable enable_white 
+180a 58000000 setarg 0 
+180b 08008603 inject mod ,3 
+
+le_transmit_skip:
+180c 37d38200 until null ,tx_clear 
+180d 20000064 nop 100 
+180e 784efc00 disable encode_fec0 
+180f 785c7c00 disable encode_fec3 
+1810 2040115d call set_sync_on 
+1811 20404d11 call rf_debug_tx_off_line 
+
+le_check_start_pause_enc:
+1812 6fe0c1f5 fetch 1 ,mem_le_txheader 
+1813 1fe17e03 and pdata ,llid_le_ll ,pdata 
+1814 c1818000 rtnne llid_le_ll 
+1815 6fe0c39c fetch 1 ,mem_le_enc_state 
+1816 c0011901 beq flag_le_enc_pause ,le_clear_enc 
+1817 c1828000 rtnne flag_le_send_start_enc_req 
+1818 6fe0c1f7 fetch 1 ,mem_le_txpayload 
+1819 c00298fc beq ll_start_enc_req ,le_set_enc 
+181a 20600000 rtn 
+
+le_transmit_packet_enc:
+181b 1f20f3fc increase -4 ,loopcnt 
+181c 1f220400 copy loopcnt ,temp 
+181d 20406da8 call ccm_wait_enc 
+181e d8c041f7 arg mem_le_txpayload ,contr 
+
+le_transmit_packet_enc_loop:
+181f efe08006 ifetch 1 ,contr 
+1820 08008608 inject mod ,8 
+1821 c200181f loop le_transmit_packet_enc_loop 
+1822 20406dad call ccm_check_enc_done 
+1823 1de27e00 copy regext ,pdata 
+1824 08008620 inject mod ,32 
+1825 20201805 branch le_tr_nopayload 
+
+le_transmit_lr:
+1826 df20000a arg 10 ,loopcnt 
+
+le_transmit_lr_preamble_loop:
+1827 5800003c setarg 0x3c 
+1828 08008608 inject mod ,8 
+1829 c2001827 loop le_transmit_lr_preamble_loop 
+182a 784efc00 disable encode_fec0 
+182b 783c7c00 enable encode_fec3 
+182c 19317e00 rshift16 access ,pdata 
+182d 1ff17e00 rshift16 pdata ,pdata 
+182e 1ff1fe00 rshift4 pdata ,pdata 
+182f 08008620 inject mod ,32 
+1830 c5171835 bmark1 mark_ble_lr_s8 ,le_transmit_lr_s8 
+
+le_transmit_lr_s2:
+1831 58000001 setarg 1 
+1832 08008605 inject mod ,5 
+1833 783d7c00 enable lr_s2en 
+1834 202017f4 branch le_transmit_packet 
+
+le_transmit_lr_s8:
+1835 58000000 setarg 0 
+1836 08008605 inject mod ,5 
+1837 202017f4 branch le_transmit_packet 
+
+le_transmit_2m:
+1838 6fe0c1f0 fetch 1 ,mem_system_clk 
+1839 1fe37200 rshift pdata ,loopcnt 
+
+le_transmit_2m_dealy:
+183a 20000002 nop 2 
+183b c200183a loop le_transmit_2m_dealy 
+183c 19317e00 rshift16 access ,pdata 
+183d 1fecfe00 rshift8 pdata ,pdata 
+183e 1ff18400 rshift4 pdata ,temp 
+183f 18427e00 copy temp ,pdata 
+1840 08008608 inject mod ,8 
+1841 18427e00 copy temp ,pdata 
+1842 08008628 inject mod ,40 
+1843 202017f4 branch le_transmit_packet 
+
+le_update_param:
+1844 da601848 arg le_update_param_ahead1_cb ,regc 
+1845 da40185c arg le_update_param_cb ,regb 
+1846 d8e00005 arg lestate_update_param ,queue 
+1847 202018a0 branch le_check_update_flag 
+
+le_update_param_ahead1_cb:
+1848 1a208c04 add rega ,coffset_sniff_anchor ,contr 
+1849 e8420006 ifetcht 4 ,contr 
+184a 1a208c37 add rega ,coffest_le_new_transmitwindowsize ,contr 
+184b efe08006 ifetch 1 ,contr 
+184c 1a208a2b add rega ,coffset_le_window_size ,contw 
+184d e7e08005 istore 1 ,contw 
+184e efe10006 ifetch 2 ,contr 
+184f 1febfe00 lshift2 pdata ,pdata 
+1850 98409600 iadd temp ,timeup 
+1851 1a208a04 add rega ,coffset_sniff_anchor ,contw 
+1852 19627e00 deposit timeup 
+1853 e7e20005 istore 4 ,contw 
+1854 efe10006 ifetch 2 ,contr 
+1855 1febfe00 lshift2 pdata ,pdata 
+1856 1a208a02 add rega ,coffset_tsniff ,contw 
+1857 e7e10005 istore 2 ,contw 
+1858 efe20006 ifetch 4 ,contr 
+1859 1a208a2c add rega ,coffset_le_slave_latency ,contw 
+185a e7e20005 istore 4 ,contw 
+185b 202019df branch le_receive_window_size 
+
+le_update_param_cb:
+185c efe08011 ifetch 1 ,rega 
+185d 793ffe03 set0 lestate_got_first_packet ,pdata 
+185e e7e08011 istore 1 ,rega 
+185f 6fe102b5 fetch 2 ,mem_le_superto 
+1860 67e14394 store 2 ,mem_le_init_superto 
+1861 62210970 storer rega ,2 ,mem_rega 
+1862 70095b44 jam bt_evt_le_parse_conn_param_accepted ,mem_fifo_temp 
+1863 204078dc call ui_ipc_send_event 
+1864 6a210970 fetchr rega ,2 ,mem_rega 
+1865 1a208c2e add rega ,coffset_le_slave_superto ,contr 
+1866 efe10006 ifetch 2 ,contr 
+1867 67e14394 store 2 ,mem_le_init_superto 
+1868 20600000 rtn 
+
+le_update_channel_map:
+1869 da600000 arg 0 ,regc 
+186a da40186d arg le_update_channel_map_cb ,regb 
+186b d8e00006 arg lestate_update_map ,queue 
+186c 202018a0 branch le_check_update_flag 
+
+le_update_channel_map_cb:
+186d 1a208c37 add rega ,coffset_le_new_map ,contr 
+186e efe28006 ifetch 5 ,contr 
+186f 1a208a30 add rega ,coffset_le_channel_map ,contw 
+1870 e7e28005 istore 5 ,contw 
+1871 202016cc branch le_calc_channel_map 
+
+le_update_phy:
+1872 da600000 arg 0 ,regc 
+1873 da401876 arg le_update_phy_cb ,regb 
+1874 d8e00007 arg lestate_update_phy ,queue 
+1875 202018a0 branch le_check_update_flag 
+
+le_update_phy_cb:
+1876 1a208c37 add rega ,coffset_le_new_m2s_phy ,contr 
+1877 efe08006 ifetch 1 ,contr 
+1878 20401883 call le_update_phy_cb_m2s 
+1879 e7e08005 istore 1 ,contw 
+187a 1a208c38 add rega ,coffset_le_new_s2m_phy ,contr 
+187b efe08006 ifetch 1 ,contr 
+187c 20401891 call le_update_phy_cb_s2m 
+187d e7e08005 istore 1 ,contw 
+187e 62210970 storer rega ,2 ,mem_rega 
+187f 70095b42 jam bt_evt_le_update_phy ,mem_fifo_temp 
+1880 204078dc call ui_ipc_send_event 
+1881 6a210970 fetchr rega ,2 ,mem_rega 
+1882 20600000 rtn 
+
+le_update_phy_cb_m2s:
+1883 205a188b call le_update_phy_cb_m2s_no_change ,blank 
+1884 1a208a35 add rega ,coffset_le_rx_phy ,contw 
+1885 24748000 nrtn master 
+1886 6848c442 fetcht 1 ,mem_le_tx_phys 
+1887 284ffe07 isolate1 bit_le_coded_phy_s8 ,temp 
+1888 7920fe07 setflag true ,bit_le_coded_phy_s8 ,pdata 
+1889 1a208a36 add rega ,coffset_le_tx_phy ,contw 
+188a 20600000 rtn 
+
+le_update_phy_cb_m2s_no_change:
+188b 1a208c35 add rega ,coffset_le_rx_phy ,contr 
+188c efe08006 ifetch 1 ,contr 
+188d 24748000 nrtn master 
+188e 1a208c36 add rega ,coffset_le_tx_phy ,contr 
+188f efe08006 ifetch 1 ,contr 
+1890 20600000 rtn 
+
+le_update_phy_cb_s2m:
+1891 205a189a call le_update_phy_cb_s2m_no_change ,blank 
+1892 6848c442 fetcht 1 ,mem_le_tx_phys 
+1893 284ffe07 isolate1 bit_le_coded_phy_s8 ,temp 
+1894 7920fe07 setflag true ,bit_le_coded_phy_s8 ,pdata 
+1895 1a208a36 add rega ,coffset_le_tx_phy ,contw 
+1896 24748000 nrtn master 
+1897 793ffe07 set0 bit_le_coded_phy_s8 ,pdata 
+1898 1a208a35 add rega ,coffset_le_rx_phy ,contw 
+1899 20600000 rtn 
+
+le_update_phy_cb_s2m_no_change:
+189a 1a208c36 add rega ,coffset_le_tx_phy ,contr 
+189b efe08006 ifetch 1 ,contr 
+189c 24748000 nrtn master 
+189d 1a208c35 add rega ,coffset_le_rx_phy ,contr 
+189e efe08006 ifetch 1 ,contr 
+189f 20600000 rtn 
+
+le_check_update_flag:
+18a0 efe08011 ifetch 1 ,rega 
+18a1 afec0000 qisolate0 pdata 
+18a2 20608000 rtn true 
+18a3 1a208c1a add rega ,coffset_le_event_cnt ,contr 
+18a4 e8410006 ifetcht 2 ,contr 
+18a5 1a208c20 add rega ,coffset_le_instant ,contr 
+18a6 efe10006 ifetch 2 ,contr 
+18a7 98467e00 isub temp ,pdata 
+18a8 202298af branch le_update ,zero 
+18a9 242118b4 nbranch le_check_update_small ,positive 
+18aa 1fe67c01 sub pdata ,1 ,null 
+18ab 202298ad branch le_update_ahead1 ,zero 
+18ac 20600000 rtn 
+
+le_update_ahead1:
+18ad 1a627e00 copy regc ,pdata 
+18ae 20207e7a branch callback_func 
+
+le_update:
+18af efe08011 ifetch 1 ,rega 
+18b0 f93ffe00 qset0 pdata 
+18b1 e7e08011 istore 1 ,rega 
+18b2 1a427e00 copy regb ,pdata 
+18b3 20207e7a branch callback_func 
+
+le_check_update_small:
+18b4 1a208c1a add rega ,coffset_le_event_cnt ,contr 
+18b5 efe10006 ifetch 2 ,contr 
+18b6 1a208c20 add rega ,coffset_le_instant ,contr 
+18b7 efe10006 ifetch 2 ,contr 
+18b8 98467e00 isub temp ,pdata 
+18b9 d840ffff arg 0xffff ,temp 
+18ba 98467c00 isub temp ,null 
+18bb 202298af branch le_update ,zero 
+18bc d840f000 arg 0xf000 ,temp 
+18bd 98467c00 isub temp ,null 
+18be 242118af nbranch le_update ,positive 
+18bf 20600000 rtn 
+
+le_check_retransmit:
+18c0 6848829e fetcht 1 ,mem_le_arq 
+18c1 6fe0816b fetch 1 ,mem_le_rxbuf_data_header 
+18c2 1fe37e00 rshift pdata ,pdata 
+18c3 9842fe00 ixor temp ,pdata 
+18c4 2feffe02 isolate1 nesn ,pdata 
+18c5 7920800f setflag true ,mark_old_packet ,mark 
+18c6 20600000 rtn 
+
+le_acknowledge:
+18c7 475ac036 bpatchx patch36_5 ,mem_patch36 
+18c8 204019dc call le_supervision_flush 
+18c9 c6180000 rtnmark1 mark_ble_crc_fail 
+18ca 204018ee call le_check_wak 
+18cb 6fe0816b fetch 1 ,mem_le_rxbuf_data_header 
+18cc 2feffe04 isolate1 md ,pdata 
+18cd 7920802a setflag true ,mark_ble_rx_md ,mark 
+18ce 1fe37e00 rshift pdata ,pdata 
+18cf 9842fe00 ixor temp ,pdata 
+18d0 2feffe02 isolate1 nesn ,pdata 
+18d1 7920800f setflag true ,mark_old_packet ,mark 
+18d2 c6078000 rtnmark1 mark_old_packet 
+18d3 6fe0816c fetch 1 ,mem_le_rxbuf_data_length 
+18d4 203a18e0 branch le_ack_unenc ,blank 
+18d5 6fe08287 fetch 1 ,mem_le_state 
+18d6 c30218e0 bbit0 lestate_encryption ,le_ack_unenc 
+18d7 684a0273 fetcht 4 ,mem_le_peer_mic 
+18d8 6fe246a9 fetch 4 ,mem_ccm_last_mic 
+18d9 98467c00 isub temp ,null 
+18da 2022937c branch assert ,zero 
+18db 604a46a9 storet 4 ,mem_ccm_last_mic 
+18dc 6fe2c6a4 fetch 5 ,mem_ccm_pcnt_rx 
+18dd 1fe0fe01 increase 1 ,pdata 
+18de 79207e27 set1 le_ccm_directionbit ,pdata 
+18df 67e2c6a4 store 5 ,mem_ccm_pcnt_rx 
+
+le_ack_unenc:
+18e0 6848829e fetcht 1 ,mem_le_arq 
+18e1 79400402 setflip nesn ,temp 
+18e2 6048829e storet 1 ,mem_le_arq 
+18e3 6fe0c3c0 fetch 1 ,mem_le_configuration 
+18e4 c4030000 rtnbit0 bit_ble_deal_bb_packet 
+18e5 475b4036 bpatchx patch36_6 ,mem_patch36 
+18e6 6fe0816c fetch 1 ,mem_le_rxbuf_data_length 
+18e7 207a0000 rtn blank 
+18e8 6fe0816b fetch 1 ,mem_le_rxbuf_data_header 
+18e9 2fe00601 compare llid_continue ,pdata ,3 
+18ea 20209ed7 branch le_parse_writing_attribute_continue ,true 
+18eb 2fe00602 compare llid_start ,pdata ,3 
+18ec 20209ec5 branch le_parse_writing_attribute_start ,true 
+18ed 20600000 rtn 
+
+le_check_wak:
+18ee 475bc036 bpatchx patch36_7 ,mem_patch36 
+18ef 6848829e fetcht 1 ,mem_le_arq 
+18f0 284c0005 isolate0 wak ,temp 
+18f1 20608000 rtn true 
+18f2 6fe0816b fetch 1 ,mem_le_rxbuf_data_header 
+18f3 1fe3fe00 lshift pdata ,pdata 
+18f4 9842fe00 ixor temp ,pdata 
+18f5 c4018000 rtnbit0 sn 
+18f6 793f8405 set0 wak ,temp 
+18f7 79400403 setflip sn ,temp 
+18f8 6048829e storet 1 ,mem_le_arq 
+18f9 28400603 compare 3 ,temp ,3 
+18fa 24608000 nrtn true 
+18fb 20600000 rtn 
+
+le_set_enc:
+18fc 6fe08287 fetch 1 ,mem_le_state 
+18fd 79207e04 set1 lestate_encryption ,pdata 
+18fe 67e08287 store 1 ,mem_le_state 
+18ff 79200032 set1 mark_ble_encryption ,mark 
+1900 20600000 rtn 
+
+le_clear_enc:
+1901 475c4037 bpatchx patch37_0 ,mem_patch37 
+1902 70439c00 jam flag_le_enc_null ,mem_le_enc_state 
+1903 dfe00000 arg 0 ,pdata 
+1904 67e246a9 store 4 ,mem_ccm_last_mic 
+1905 67e2c69f store 5 ,mem_ccm_pcnt_tx 
+1906 79207e27 set1 le_ccm_directionbit ,pdata 
+1907 67e2c6a4 store 5 ,mem_ccm_pcnt_rx 
+1908 6fe08287 fetch 1 ,mem_le_state 
+1909 793ffe04 set0 lestate_encryption ,pdata 
+190a 67e08287 store 1 ,mem_le_state 
+190b 793f8032 set0 mark_ble_encryption ,mark 
+190c 20600000 rtn 
+
+le_scan_check_sender_addr_type:
+190d da200001 arg 1 ,rega 
+190e 6fe0816b fetch 1 ,mem_le_rxbuf_adv_connect_ind_header 
+190f c3830000 rtnbit1 le_sender_addr_bit 
+1910 da200000 arg 0 ,rega 
+1911 20600000 rtn 
+
+le_get_master_rx_max:
+1912 18c20a00 copy contr ,contw 
+1913 68494444 fetcht 2 ,mem_remote_rx_max_octets 
+1914 18a20c00 copy contw ,contr 
+1915 20600000 rtn 
+
+le_prepare_tx:
+1916 475cc037 bpatchx patch37_1 ,mem_patch37 
+1917 6fe0829e fetch 1 ,mem_le_arq 
+1918 c3828000 rtnbit1 wak 
+1919 20401937 call le_check_tx_md 
+191a 20401b0d call le_fifo_get_first_tx_ptr 
+191b 203a195b branch le_send_empty ,blank 
+191c efe10006 ifetch 2 ,contr 
+191d e8410006 ifetcht 2 ,contr 
+191e 18422200 copy temp ,rega 
+191f 9a267e00 isub rega ,pdata 
+1920 20401912 call le_get_master_rx_max 
+1921 20407ebb call not_greater_than 
+1922 1fe20400 copy pdata ,temp 
+1923 e8208006 ifetchr type ,1 ,contr 
+1924 1a227e00 copy rega ,pdata 
+1925 98c0fe00 iadd contr ,pdata 
+1926 67e1097b store 2 ,mem_contr 
+1927 2040194b call le_update_tx_type 
+1928 2040195d call le_send_packet 
+1929 20401b0d call le_fifo_get_first_tx_ptr 
+192a efe10006 ifetch 2 ,contr 
+192b 1fe22200 copy pdata ,rega 
+192c 18c22600 copy contr ,regc 
+192d e8410006 ifetcht 2 ,contr 
+192e 18422400 copy temp ,regb 
+192f 9a467e00 isub regb ,pdata 
+1930 20401912 call le_get_master_rx_max 
+1931 20407ebb call not_greater_than 
+1932 9a40fe00 iadd regb ,pdata 
+1933 e7e10013 istore 2 ,regc 
+1934 9a267c00 isub rega ,null 
+1935 24628000 nrtn zero 
+1936 20201b26 branch le_fifo_release_first_node 
+
+le_check_tx_md:
+1937 2040193e call le_check_continue 
+1938 c6148000 rtnmark1 mark_ble_tx_md 
+1939 6fe0c3c0 fetch 1 ,mem_le_configuration 
+193a c3011949 bbit0 bit_ble_transmit_packet_by_md ,le_clear_md 
+193b 20401b10 call le_fifo_get_second_tx_ptr 
+193c 203a1949 branch le_clear_md ,blank 
+193d 20201947 branch le_set_md 
+
+le_check_continue:
+193e 20401b0d call le_fifo_get_first_tx_ptr 
+193f 203a1949 branch le_clear_md ,blank 
+1940 efe10006 ifetch 2 ,contr 
+1941 e8410006 ifetcht 2 ,contr 
+1942 98462200 isub temp ,rega 
+1943 20401912 call le_get_master_rx_max 
+1944 18427e00 copy temp ,pdata 
+1945 9a267c00 isub rega ,null 
+1946 20211949 branch le_clear_md ,positive 
+
+le_set_md:
+1947 79200029 set1 mark_ble_tx_md ,mark 
+1948 20600000 rtn 
+
+le_clear_md:
+1949 793f8029 set0 mark_ble_tx_md ,mark 
+194a 20600000 rtn 
+
+le_update_tx_type:
+194b 1a227e00 copy rega ,pdata 
+194c 207a0000 rtn blank 
+194d d8200001 arg llid_continue ,type 
+194e 20600000 rtn 
+
+le_att_check_notification_enable:
+194f 475d4037 bpatchx patch37_2 ,mem_patch37 
+1950 18408401 increase 1 ,temp 
+1951 20401a0e call le_att_get_handle_ptr 
+1952 18c08dfe increase -2 ,contr 
+1953 efe10006 ifetch 2 ,contr 
+1954 d8402902 arg client_charactertic_configuration ,temp 
+1955 98467c00 isub temp ,null 
+1956 24628000 nrtn zero 
+1957 18c08c01 increase 1 ,contr 
+1958 18c22200 copy contr ,rega 
+1959 efe08006 ifetch 1 ,contr 
+195a 20600000 rtn 
+
+le_send_empty:
+195b 18000400 force 0 ,temp 
+195c 18000201 force 1 ,type 
+
+le_send_packet:
+195d 475dc037 bpatchx patch37_3 ,mem_patch37 
+195e 6048c1f6 storet 1 ,mem_le_txlen 
+195f 6848829e fetcht 1 ,mem_le_arq 
+1960 79200405 set1 wak ,temp 
+1961 18417efc and temp ,0xfc ,pdata 
+1962 9821fe00 ior type ,pdata 
+1963 67e0829e store 1 ,mem_le_arq 
+1964 1fe17e1f and_into 0x1f ,pdata 
+1965 280ffe29 isolate1 mark_ble_tx_md ,mark 
+1966 7920fe04 setflag true ,md ,pdata 
+1967 67e0c1f5 store 1 ,mem_le_txheader 
+1968 6fe0c1f5 fetch 1 ,mem_le_txheader 
+1969 28200601 compare 1 ,type ,3 
+196a 2420996d nbranch le_send_no_txlen ,true 
+196b 6fe0c1f6 fetch 1 ,mem_le_txlen 
+196c 207a0000 rtn blank 
+
+le_send_no_txlen:
+196d c5191973 bmark1 mark_ble_encryption ,le_send_packet_enc 
+196e 6f20c1f6 fetchr loopcnt ,1 ,mem_le_txlen 
+196f 6fe1097b fetch 2 ,mem_contr 
+1970 1fe20c00 copy pdata ,contr 
+1971 d8a041f7 arg mem_le_txpayload ,contw 
+1972 20207dc7 branch memcpy_fast 
+
+le_send_packet_enc:
+1973 20406e2f call load_sk 
+1974 20206d8f branch le_encrypt_new_start 
+
+get_lpm_wake_ble_rx_lock:
+1975 d8e00000 arg wake_lock_ble_rx ,queue 
+1976 20201566 branch lpm_get_wake_lock 
+
+put_lpm_wake_ble_rx_lock:
+1977 d8e00000 arg wake_lock_ble_rx ,queue 
+1978 2020156a branch lpm_put_wake_lock 
+
+le_parse:
+1979 475e4037 bpatchx patch37_4 ,mem_patch37 
+197a c6078000 rtnmark1 mark_old_packet 
+197b c6180000 rtnmark1 mark_ble_crc_fail 
+197c 6fe0816b fetch 1 ,mem_le_rxbuf_data_header 
+197d 1fe17e03 and pdata ,0x3 ,pdata 
+197e 67e0c3d3 store 1 ,mem_le_packet_llid 
+197f 6fe0816c fetch 1 ,mem_le_rxbuf_data_length 
+1980 207a0000 rtn blank 
+1981 5800016d setarg mem_le_rxbuf_data_payload 
+1982 67e143d8 store 2 ,mem_le_payload_ptr 
+1983 475ec037 bpatchx patch37_5 ,mem_patch37 
+1984 6fe0c3d3 fetch 1 ,mem_le_packet_llid 
+1985 c001a0b8 beq llid_le_ll ,le_parse_ll 
+
+le_parse_l2cap:
+1986 20401993 call le_check_l2cap_complete 
+1987 24341975 nbranch get_lpm_wake_ble_rx_lock ,user 
+1988 20401977 call put_lpm_wake_ble_rx_lock 
+1989 58000000 setarg 0 
+198a 67e143d6 store 2 ,mem_le_packet_len_recved 
+198b 6fe143d8 fetch 2 ,mem_le_payload_ptr 
+198c 1fe08c02 add pdata ,2 ,contr 
+198d 475f4037 bpatchx patch37_6 ,mem_patch37 
+198e efe10006 ifetch 2 ,contr 
+198f c0021c7d beq le_l2cap_cid_att ,le_parse_att 
+1990 c0031f39 beq le_l2cap_cid_smp ,le_parse_smp 
+1991 c0029efb beq le_l2cap_cid_signal ,le_parse_signaling 
+1992 20600000 rtn 
+
+le_check_l2cap_complete:
+1993 6fe0c3d3 fetch 1 ,mem_le_packet_llid 
+1994 c00119a2 beq llid_start ,le_check_l2cap_llid_start 
+1995 c00099b9 beq llid_continue ,le_check_l2cap_llid_continue 
+1996 20600000 rtn 
+
+le_check_l2cap_cid_legal:
+1997 20407ec5 call enable_user 
+1998 d8400004 arg le_l2cap_cid_att ,temp 
+1999 9fe67c00 isub pdata ,null 
+199a 20628000 rtn zero 
+199b d8400005 arg le_l2cap_cid_signal ,temp 
+199c 9fe67c00 isub pdata ,null 
+199d 20628000 rtn zero 
+199e d8400006 arg le_l2cap_cid_smp ,temp 
+199f 9fe67c00 isub pdata ,null 
+19a0 20628000 rtn zero 
+19a1 20207ec7 branch disable_user 
+
+le_check_l2cap_llid_start:
+19a2 6fe143d8 fetch 2 ,mem_le_payload_ptr 
+19a3 1fe20c00 copy pdata ,contr 
+19a4 efe10006 ifetch 2 ,contr 
+19a5 67e143d4 store 2 ,mem_le_l2cap_size 
+19a6 efe10006 ifetch 2 ,contr 
+19a7 20401997 call le_check_l2cap_cid_legal 
+19a8 24740000 nrtn user 
+19a9 6848816c fetcht 1 ,mem_le_rxbuf_data_length 
+19aa 604943d6 storet 2 ,mem_le_packet_len_recved 
+19ab 6fe143d4 fetch 2 ,mem_le_l2cap_size 
+19ac 1fe0fe04 increase 4 ,pdata 
+19ad 98467c00 isub temp ,null 
+19ae 2022fec5 branch enable_user ,zero 
+19af 6f20816c fetchr loopcnt ,1 ,mem_le_rxbuf_data_length 
+19b0 d8a01000 arg mem_le_l2cap_buf ,contw 
+19b1 6fe143d8 fetch 2 ,mem_le_payload_ptr 
+19b2 1fe20c00 copy pdata ,contr 
+19b3 20407dc7 call memcpy_fast 
+19b4 20207ec7 branch disable_user 
+
+le_check_l2cap_continue_legal:
+19b5 20407ec5 call enable_user 
+19b6 6fe143d6 fetch 2 ,mem_le_packet_len_recved 
+19b7 247a0000 nrtn blank 
+19b8 20207ec7 branch disable_user 
+
+le_check_l2cap_llid_continue:
+19b9 204019b5 call le_check_l2cap_continue_legal 
+19ba 24740000 nrtn user 
+19bb 6fe143d6 fetch 2 ,mem_le_packet_len_recved 
+19bc d8a01000 arg mem_le_l2cap_buf ,contw 
+19bd 98a0a200 iadd contw ,rega 
+19be 6848816c fetcht 1 ,mem_le_rxbuf_data_length 
+19bf 9840fe00 iadd temp ,pdata 
+19c0 67e143d6 store 2 ,mem_le_packet_len_recved 
+19c1 6f20816c fetchr loopcnt ,1 ,mem_le_rxbuf_data_length 
+19c2 1a220a00 copy rega ,contw 
+19c3 6fe143d8 fetch 2 ,mem_le_payload_ptr 
+19c4 1fe20c00 copy pdata ,contr 
+19c5 20407dc7 call memcpy_fast 
+19c6 58001000 setarg mem_le_l2cap_buf 
+19c7 67e143d8 store 2 ,mem_le_payload_ptr 
+19c8 6fe143d4 fetch 2 ,mem_le_l2cap_size 
+19c9 1fe0fe04 increase 4 ,pdata 
+19ca 684943d6 fetcht 2 ,mem_le_packet_len_recved 
+19cb 98467c00 isub temp ,null 
+19cc 2022fec5 branch enable_user ,zero 
+19cd 20207ec7 branch disable_user 
+
+le_get_search_att_uuid:
+19ce 20407d5e call store_contr 
+19cf d8a04359 arg mem_le_search_uuid_length ,contw 
+19d0 20201ebf branch le_get_search_common 
+
+le_writeatt_cb:
+19d1 6fe1446b fetch 2 ,mem_cb_att_write 
+19d2 20207e7a branch callback_func 
+
+le_supervision_update:
+19d3 684a02a3 fetcht 4 ,mem_le_supervision_timer 
+19d4 2040136b call get_clkbt 
+19d5 98461600 isub temp ,timeup 
+19d6 19627e00 deposit timeup 
+19d7 684902b5 fetcht 2 ,mem_le_superto 
+19d8 18520400 lshift4 temp ,temp 
+19d9 18438400 lshift temp ,temp 
+19da 98467e00 isub temp ,pdata 
+19db 20600000 rtn 
+
+le_supervision_flush:
+19dc 2040136b call get_clkbt 
+19dd 67e202a3 store 4 ,mem_le_supervision_timer 
+19de 20600000 rtn 
+
+le_receive_window_size:
+19df 475fc037 bpatchx patch37_7 ,mem_patch37 
+19e0 1a208c50 add rega ,coffset_le_peer_sca ,contr 
+19e1 efe08006 ifetch 1 ,contr 
+19e2 20401692 call le_sca_map 
+19e3 1a208c02 add rega ,coffset_tsniff ,contr 
+19e4 efe10006 ifetch 2 ,contr 
+19e5 984ffe00 imul32 temp ,pdata 
+19e6 68490163 fetcht 2 ,mem_param_rt_rthalfslot 
+19e7 984ffe00 imul32 temp ,pdata 
+19e8 d84f4240 arg 1000000 ,temp 
+19e9 9846fc00 idiv temp 
+19ea d8400682 arg param_windown_size ,temp 
+19eb 6fe0c1f0 fetch 1 ,mem_system_clk 
+19ec 984f8400 imul32 temp ,temp 
+19ed 1a208c2b add rega ,coffset_le_window_size ,contr 
+19ee efe08006 ifetch 1 ,contr 
+19ef 984ffe00 imul32 temp ,pdata 
+19f0 9840fe00 iadd temp ,pdata 
+19f1 67e243bc store 4 ,mem_le_transmit_window 
+19f2 6fe140c8 fetch 2 ,mem_rx_window_sniff 
+19f3 20407e64 call wait_div_end 
+19f4 18078400 quotient temp 
+19f5 9840fe00 iadd temp ,pdata 
+19f6 1a208a0e add rega ,coffset_rx_window ,contw 
+19f7 e7e10005 istore 2 ,contw 
+19f8 20600000 rtn 
+
+le_init_attlist_search:
+19f9 47604038 bpatchx patch38_0 ,mem_patch38 
+19fa 6fe1099e fetch 2 ,mem_le_search_handle_start 
+19fb 98002400 iforce regb 
+19fc 6fe109a0 fetch 2 ,mem_le_search_handle_end 
+19fd 98002600 iforce regc 
+19fe 6fe14396 fetch 2 ,mem_ui_le_uuid_table 
+19ff 98000c00 iforce contr 
+1a00 78347c00 enable user 
+1a01 20600000 rtn 
+
+le_att_handle_inrange:
+1a02 efe10006 ifetch 2 ,contr 
+1a03 1fe17eff and_into 0xff ,pdata 
+1a04 207a0000 rtn blank 
+1a05 9a467c00 isub regb ,null 
+1a06 24610000 nrtn positive 
+1a07 9a667c00 isub regc ,null 
+1a08 20628000 rtn zero 
+1a09 20211a0c branch le_att_handle_blank ,positive 
+1a0a 18007c01 force 1 ,null 
+1a0b 20600000 rtn 
+
+le_att_handle_blank:
+1a0c 18007e00 force 0 ,pdata 
+1a0d 20600000 rtn 
+
+le_att_get_handle_ptr:
+1a0e 20401a11 call le_att_get_handle_ptr2 
+1a0f 20229a1e branch le_att_get_handle_ptr_found ,zero 
+1a10 20600000 rtn 
+
+le_att_get_handle_ptr2:
+1a11 4760c038 bpatchx patch38_1 ,mem_patch38 
+1a12 6fe14396 fetch 2 ,mem_ui_le_uuid_table 
+1a13 98000c00 iforce contr 
+
+le_att_get_handle_loop1:
+1a14 efe10006 ifetch 2 ,contr 
+1a15 1fe17eff and_into 0xff ,pdata 
+1a16 207a0000 rtn blank 
+1a17 98467c00 isub temp ,null 
+1a18 20628000 rtn zero 
+1a19 efe08006 ifetch 1 ,contr 
+1a1a 98c08c00 iadd contr ,contr 
+1a1b efe08006 ifetch 1 ,contr 
+1a1c 98c08c00 iadd contr ,contr 
+1a1d 20201a14 branch le_att_get_handle_loop1 
+
+le_att_get_handle_ptr_found:
+1a1e efe08006 ifetch 1 ,contr 
+1a1f 98c08c00 iadd contr ,contr 
+1a20 20600000 rtn 
+
+le_att_get_short_uuid_ptr:
+1a21 47614038 bpatchx patch38_2 ,mem_patch38 
+1a22 6fe14396 fetch 2 ,mem_ui_le_uuid_table 
+1a23 98000c00 iforce contr 
+
+le_att_get_short_uuid_loop:
+1a24 efe10006 ifetch 2 ,contr 
+1a25 1fe17eff and_into 0xff ,pdata 
+1a26 207a0000 rtn blank 
+1a27 efe08006 ifetch 1 ,contr 
+1a28 98c08c00 iadd contr ,contr 
+1a29 18c08dfe increase -2 ,contr 
+1a2a efe10006 ifetch 2 ,contr 
+1a2b 98467c00 isub temp ,null 
+1a2c 20628000 rtn zero 
+1a2d efe08006 ifetch 1 ,contr 
+1a2e 98c08c00 iadd contr ,contr 
+1a2f 20201a24 branch le_att_get_short_uuid_loop 
+
+le_att_get_last_handle:
+1a30 6fe14396 fetch 2 ,mem_ui_le_uuid_table 
+1a31 98000c00 iforce contr 
+
+le_att_get_last_handle_loop:
+1a32 efe10006 ifetch 2 ,contr 
+1a33 1fe17eff and_into 0xff ,pdata 
+1a34 207a0000 rtn blank 
+1a35 1fe08401 add pdata ,1 ,temp 
+1a36 efe08006 ifetch 1 ,contr 
+1a37 98c08c00 iadd contr ,contr 
+1a38 efe08006 ifetch 1 ,contr 
+1a39 98c08c00 iadd contr ,contr 
+1a3a 18c20a00 copy contr ,contw 
+1a3b 20201a32 branch le_att_get_last_handle_loop 
+
+le_att_get_handle_info_from_ptr:
+1a3c 6fe109b4 fetch 2 ,mem_le_cur_attlist_start_ptr 
+1a3d 20201a40 branch le_att_get_handle_info_fast 
+
+le_att_get_handle_info:
+1a3e 4761c038 bpatchx patch38_3 ,mem_patch38 
+1a3f 6fe14396 fetch 2 ,mem_ui_le_uuid_table 
+
+le_att_get_handle_info_fast:
+1a40 98000c00 iforce contr 
+
+le_att_get_handle_loop:
+1a41 efe10006 ifetch 2 ,contr 
+1a42 1fe17eff and_into 0xff ,pdata 
+1a43 203a1a4b branch le_att_unfind_handle ,blank 
+1a44 98467c00 isub temp ,null 
+1a45 20229a4c branch le_att_finded_handle ,zero 
+1a46 efe08006 ifetch 1 ,contr 
+1a47 98c08c00 iadd contr ,contr 
+1a48 efe08006 ifetch 1 ,contr 
+1a49 98c08c00 iadd contr ,contr 
+1a4a 20201a41 branch le_att_get_handle_loop 
+
+le_att_unfind_handle:
+1a4b 20207ecf branch disable_blank 
+
+le_att_finded_handle:
+1a4c efe08006 ifetch 1 ,contr 
+1a4d 67e089ba store 1 ,mem_le_cur_uuid_length 
+1a4e 1fe27200 copy pdata ,loopcnt 
+1a4f d8a009bb arg mem_le_cur_uuid ,contw 
+1a50 20407dc7 call memcpy_fast 
+1a51 efe08006 ifetch 1 ,contr 
+1a52 67e089b3 store 1 ,mem_le_curr_att_len 
+1a53 20407d5e call store_contr 
+1a54 20207ed1 branch enable_blank 
+
+le_modified_name:
+1a55 47624038 bpatchx patch38_4 ,mem_patch38 
+1a56 20401a58 call le_modified_name_att_list 
+1a57 20201a6a branch le_modified_name_adv 
+
+le_modified_name_att_list:
+1a58 d8402a00 arg uuid_chrctr_device_name ,temp 
+1a59 20401a21 call le_att_get_short_uuid_ptr 
+1a5a 207a0000 rtn blank 
+1a5b efe08006 ifetch 1 ,contr 
+1a5c 18c20a00 copy contr ,contw 
+1a5d 6848c2f7 fetcht 1 ,mem_le_name_len 
+1a5e 18427200 copy temp ,loopcnt 
+1a5f 98467c00 isub temp ,null 
+1a60 24211a67 nbranch le_name_length_longer_than_att ,positive 
+1a61 98460400 isub temp ,temp 
+1a62 d8c042f8 arg mem_le_name ,contr 
+1a63 20407dc7 call memcpy_fast 
+1a64 18427200 copy temp ,loopcnt 
+1a65 24429aa2 ncall memcpy_empty ,zero 
+1a66 20600000 rtn 
+
+le_name_length_longer_than_att:
+1a67 1fe27200 copy pdata ,loopcnt 
+1a68 d8c042f8 arg mem_le_name ,contr 
+1a69 20207dc7 branch memcpy_fast 
+
+le_modified_name_adv:
+1a6a da604407 arg mem_le_adv_data_len + 32 ,regc 
+1a6b da2043e8 arg mem_le_adv_data ,rega 
+1a6c 20401a77 call le_modified_name_adv_and_scan 
+1a6d 58000000 setarg 0 
+1a6e 79347e00 setflag user ,0 ,pdata 
+1a6f 67e0895c store 1 ,mem_pdatatemp 
+1a70 da604427 arg mem_le_scan_data_len + 32 ,regc 
+1a71 da204408 arg mem_le_scan_data ,rega 
+1a72 20401a77 call le_modified_name_adv_and_scan 
+1a73 20740000 rtn user 
+1a74 6fe0895c fetch 1 ,mem_pdatatemp 
+1a75 203a137c branch assert ,blank 
+1a76 20600000 rtn 
+
+le_modified_name_adv_and_scan:
+1a77 4762c038 bpatchx patch38_5 ,mem_patch38 
+1a78 20407ec5 call enable_user 
+1a79 20407da1 call clear_temp_block 
+1a7a da400000 arg 0 ,regb 
+1a7b d8a0098f arg mem_le_data_temp ,contw 
+1a7c 20401a91 call le_modified_name_adv_loop 
+1a7d 6fe0c2f7 fetch 1 ,mem_le_name_len 
+1a7e 1fe08401 add pdata ,1 ,temp 
+1a7f 9a40a200 iadd regb ,rega 
+1a80 1a20a202 increase 2 ,rega 
+1a81 1a267c1f sub rega ,0x1f ,null 
+1a82 24211a8f nbranch le_modified_name_adv_and_scan_name_overflow ,positive 
+1a83 e0408005 istoret 1 ,contw 
+1a84 d8400009 arg gap_adtype_local_name_complete ,temp 
+1a85 e0408005 istoret 1 ,contw 
+1a86 98007200 iforce loopcnt 
+1a87 20407dc7 call memcpy_fast 
+1a88 1a222400 copy rega ,regb 
+
+le_modified_name_adv_and_scan_store_data:
+1a89 1a427e00 deposit regb 
+1a8a 67e0898e store 1 ,mem_le_data_len_temp 
+1a8b d8c0098e arg mem_le_data_len_temp ,contr 
+1a8c 5fffffe0 setarg -32 
+1a8d 9a608a00 iadd regc ,contw 
+1a8e 20207d7d branch memcpy32 
+
+le_modified_name_adv_and_scan_name_overflow:
+1a8f 20407ec7 call disable_user 
+1a90 20201a89 branch le_modified_name_adv_and_scan_store_data 
+
+le_modified_name_adv_loop:
+1a91 efe08011 ifetch 1 ,rega 
+1a92 207a0000 rtn blank 
+1a93 1fe0fe01 pincrease 1 
+1a94 e8408006 ifetcht 1 ,contr 
+1a95 18467c09 sub temp ,gap_adtype_local_name_complete ,null 
+1a96 20229aa0 branch le_modified_name_adv_found_name ,zero 
+1a97 9a40a400 iadd regb ,regb 
+1a98 1a220c00 copy rega ,contr 
+1a99 98007200 iforce loopcnt 
+1a9a 20407dc7 call memcpy_fast 
+1a9b 18c22200 copy contr ,rega 
+
+le_modified_name_adv_loop2:
+1a9c 1a227e00 deposit rega 
+1a9d 9a667c00 isub regc ,null 
+1a9e 20610000 rtn positive 
+1a9f 20201a91 branch le_modified_name_adv_loop 
+
+le_modified_name_adv_found_name:
+1aa0 9a20a200 iadd rega ,rega 
+1aa1 20201a9c branch le_modified_name_adv_loop2 
+
+memcpy_empty:
+1aa2 58000020 setarg space 
+1aa3 e7e08005 istore 1 ,contw 
+1aa4 c2001aa2 loop memcpy_empty 
+1aa5 20600000 rtn 
+
+le_lpm_set_mult:
+1aa6 47634038 bpatchx patch38_6 ,mem_patch38 
+1aa7 7855fc00 disable wake 
+1aa8 20371aaa branch le_lpm_set_mult_attempt ,attempt 
+1aa9 24369ab8 nbranch le_lpm_lost ,match 
+
+le_lpm_set_mult_attempt:
+1aaa 20401512 call lpm_match 
+1aab 6fe140c8 fetch 2 ,mem_rx_window_sniff 
+1aac 67e10295 store 2 ,mem_le_receive_window 
+
+le_lpm_set_mult_attempt_match:
+1aad 24369525 nbranch lpm_mult_short ,match 
+1aae c5079525 bmark1 mark_old_packet ,lpm_mult_short 
+1aaf 6fe0816c fetch 1 ,mem_le_rxbuf_data_length 
+1ab0 243a1525 nbranch lpm_mult_short ,blank 
+1ab1 6fe0c1f6 fetch 1 ,mem_le_txlen 
+1ab2 243a1525 nbranch lpm_mult_short ,blank 
+1ab3 6fe0c3c0 fetch 1 ,mem_le_configuration 
+1ab4 c2829525 bbit1 bit_ble_short_mult ,lpm_mult_short 
+1ab5 6fe08287 fetch 1 ,mem_le_state 
+1ab6 c2829525 bbit1 lestate_update_param ,lpm_mult_short 
+1ab7 20201504 branch lpm_mult_wait_timeout 
+
+le_lpm_lost:
+1ab8 684940c8 fetcht 2 ,mem_rx_window_sniff 
+1ab9 18430400 rshift temp ,temp 
+1aba 6fe10295 fetch 2 ,mem_le_receive_window 
+1abb 9840fe00 iadd temp ,pdata 
+1abc 67e10295 store 2 ,mem_le_receive_window 
+1abd 2020151d branch lpm_lost 
+
+le_set_config_fixed_tk:
+1abe d8e00000 arg bit_ble_passkey_fixed_key ,queue 
+1abf 20201ad6 branch le_set_config 
+
+le_clr_config_fixed_tk:
+1ac0 d8e00000 arg bit_ble_passkey_fixed_key ,queue 
+1ac1 20201ada branch le_clr_config 
+
+le_set_config_fixed_ltk:
+1ac2 d8e00001 arg bit_ble_pairing_fixed_ltk ,queue 
+1ac3 20201ad6 branch le_set_config 
+
+le_clr_config_fixed_ltk:
+1ac4 d8e00001 arg bit_ble_pairing_fixed_ltk ,queue 
+1ac5 20201ada branch le_clr_config 
+
+le_set_config_more_data:
+1ac6 d8e00002 arg bit_ble_transmit_packet_by_md ,queue 
+1ac7 20201ad6 branch le_set_config 
+
+le_clr_config_more_data:
+1ac8 d8e00002 arg bit_ble_transmit_packet_by_md ,queue 
+1ac9 20201ada branch le_clr_config 
+
+le_set_config_read_authentication:
+1aca d8e00003 arg bit_ble_read_auth ,queue 
+1acb 20201ad6 branch le_set_config 
+
+le_clr_config_read_authentication:
+1acc d8e00003 arg bit_ble_read_auth ,queue 
+1acd 20201ada branch le_clr_config 
+
+le_set_config_write_authentication:
+1ace d8e00004 arg bit_ble_write_auth ,queue 
+1acf 20201ad6 branch le_set_config 
+
+le_clr_config_write_authentication:
+1ad0 d8e00004 arg bit_ble_write_auth ,queue 
+1ad1 20201ada branch le_clr_config 
+
+le_set_config_short_mult:
+1ad2 d8e00005 arg bit_ble_short_mult ,queue 
+1ad3 20201ad6 branch le_set_config 
+
+le_clr_config_short_mult:
+1ad4 d8e00005 arg bit_ble_short_mult ,queue 
+1ad5 20201ada branch le_clr_config 
+
+le_set_config:
+1ad6 6fe0c3c0 fetch 1 ,mem_le_configuration 
+1ad7 f9207e00 qset1 pdata 
+1ad8 67e0c3c0 store 1 ,mem_le_configuration 
+1ad9 20600000 rtn 
+
+le_clr_config:
+1ada 6fe0c3c0 fetch 1 ,mem_le_configuration 
+1adb f93ffe00 qset0 pdata 
+1adc 67e0c3c0 store 1 ,mem_le_configuration 
+1add 20600000 rtn 
+
+le_set_fixed_ltk:
+1ade 58112233 setarg 0x112233 
+1adf 67e1c3c1 store 3 ,mem_le_fixed_ltk 
+1ae0 58445566 setarg 0x445566 
+1ae1 e7e18005 istore 3 ,contw 
+1ae2 58778899 setarg 0x778899 
+1ae3 e7e18005 istore 3 ,contw 
+1ae4 58001122 setarg 0x001122 
+1ae5 e7e18005 istore 3 ,contw 
+1ae6 58334455 setarg 0x334455 
+1ae7 e7e18005 istore 3 ,contw 
+1ae8 58000066 setarg 0x66 
+1ae9 e7e08005 istore 1 ,contw 
+1aea 20600000 rtn 
+
+le_set_justwork:
+1aeb 59000302 setarg 0x01000302 
+1aec 67e24350 store 4 ,mem_le_pres 
+1aed 58010010 setarg 0x010010 
+1aee 67e1c354 store 3 ,mem_le_pres_max_keysize 
+1aef 70439d01 jam 1 ,mem_le_pairing_mode 
+1af0 20600000 rtn 
+
+le_fifo_malloc_tx_empty:
+1af1 da200000 arg 0 ,rega 
+1af2 d8200001 arg llid_empty ,type 
+1af3 20201b02 branch le_fifo_malloc_tx 
+
+le_fifo_malloc_tx_ll:
+1af4 d8200003 arg llid_le_ll ,type 
+1af5 20401b02 call le_fifo_malloc_tx 
+1af6 1a427e00 copy regb ,pdata 
+1af7 e7e08005 istore 1 ,contw 
+1af8 20600000 rtn 
+
+le_fifo_malloc_tx_l2cap:
+1af9 18000202 force llid_start ,type 
+1afa 1a20a204 increase 4 ,rega 
+1afb 20401b02 call le_fifo_malloc_tx 
+1afc 1a20a3fc increase -4 ,rega 
+1afd 1a227e00 copy rega ,pdata 
+1afe e7e10005 istore 2 ,contw 
+1aff 1a427e00 copy regb ,pdata 
+1b00 e7e10005 istore 2 ,contw 
+1b01 20600000 rtn 
+
+le_fifo_malloc_tx:
+1b02 4763c038 bpatchx patch38_7 ,mem_patch38 
+1b03 1a20a205 increase 5 ,rega 
+1b04 204052ff call ble_l2cap_malloc 
+1b05 1a20a3fb increase -5 ,rega 
+1b06 1a227e00 copy rega ,pdata 
+1b07 e7e10005 istore 2 ,contw 
+1b08 58000000 setarg 0 
+1b09 e7e10005 istore 2 ,contw 
+1b0a 18227e00 copy type ,pdata 
+1b0b e7e08005 istore 1 ,contw 
+1b0c 20600000 rtn 
+
+le_fifo_get_first_tx_ptr:
+1b0d 20405339 call l2cap_malloc_fifo_out 
+1b0e 1fe20c00 copy pdata ,contr 
+1b0f 20600000 rtn 
+
+le_fifo_get_second_tx_ptr:
+1b10 6fe144f1 fetch 2 ,mem_tx_fifo2_ptr 
+1b11 20600000 rtn 
+
+le_fifo_get_last_tx_ptr:
+1b12 20401b15 call le_fifo_get_last_tx_ptr0 
+1b13 1fe20c00 copy pdata ,contr 
+1b14 20600000 rtn 
+
+le_fifo_get_last_tx_ptr0:
+1b15 6fe144f4 fetch 2 ,mem_tx_fifo3_ptr 
+1b16 20600000 rtn 
+
+le_fifo_get_first_l2cap_ptr:
+1b17 20401b0d call le_fifo_get_first_tx_ptr 
+1b18 18c08c05 increase 5 ,contr 
+1b19 20600000 rtn 
+
+le_fifo_get_first_att_ptr:
+1b1a 20401b0d call le_fifo_get_first_tx_ptr 
+1b1b 18c08c09 increase 9 ,contr 
+1b1c 20600000 rtn 
+
+le_fifo_get_last_att_ptr:
+1b1d 20401b12 call le_fifo_get_last_tx_ptr 
+1b1e 18c08c09 increase 9 ,contr 
+1b1f 20600000 rtn 
+
+le_fifo_get_last_l2cap_ptr:
+1b20 20401b12 call le_fifo_get_last_tx_ptr 
+1b21 18c08c05 increase 5 ,contr 
+1b22 20600000 rtn 
+
+le_fifo_check_full:
+1b23 2020534f branch l2cap_malloc_is_fifo_full 
+
+le_fifo_check_nearly_full:
+1b24 20205352 branch l2cap_malloc_is_fifo_nearly_full 
+
+le_fifo_check_empty:
+1b25 20205355 branch l2cap_malloc_is_fifo_empty 
+
+le_fifo_release_first_node:
+1b26 2020533e branch l2cap_malloc_free 
+
+le_set_dle:
+1b27 67e4444c store 8 ,mem_local_rx_max_octets 
+1b28 20201b39 branch le_set_feature_data_packet_length_extension 
+
+le_set_phys:
+1b29 184122ff and temp ,0xff ,rega 
+1b2a 20401b2d call le_set_tx_phy 
+1b2b 184ca200 rshift8 temp ,rega 
+1b2c 20201b33 branch le_set_rx_phy 
+
+le_set_tx_phy:
+1b2d 6220c442 storer rega ,1 ,mem_le_tx_phys 
+1b2e 2a2ffe01 isolate1 bit_le_2m_phy ,rega 
+1b2f 20409b35 call le_set_feature_2m_phy ,true 
+1b30 2a2ffe02 isolate1 bit_le_coded_phy ,rega 
+1b31 20409b37 call le_set_feature_coded_phy ,true 
+1b32 20600000 rtn 
+
+le_set_rx_phy:
+1b33 6220c443 storer rega ,1 ,mem_le_rx_phys 
+1b34 20201b2e branch le_set_tx_phy + 1 
+
+le_set_feature_2m_phy:
+1b35 d8e00008 arg bit_ll_feature_le_2m_phy ,queue 
+1b36 20201b3b branch le_set_feature 
+
+le_set_feature_coded_phy:
+1b37 d8e0000b arg bit_ll_feature_le_coded_phy ,queue 
+1b38 20201b3b branch le_set_feature 
+
+le_set_feature_data_packet_length_extension:
+1b39 d8e00005 arg bit_ll_feature_le_data_packet_length_extension ,queue 
+1b3a 20201b3b branch le_set_feature 
+
+le_set_feature:
+1b3b 6fe4443a fetch 8 ,mem_le_local_feature 
+1b3c f9207e00 qset1 pdata 
+1b3d 67e4443a store 8 ,mem_le_local_feature 
+1b3e 20600000 rtn 
+
+le_advertising_dispatch:
+1b3f 7002bc01 jam fun_rx_ll_1m_phy ,mem_le_rx_phy 
+1b40 7002bd01 jam fun_tx_ll_1m_phy ,mem_le_tx_phy 
+1b41 20401651 call le_enable 
+1b42 20401b45 call le_scan 
+1b43 20401bc3 call le_adv 
+1b44 2020165e branch le_disable 
+
+le_scan:
+1b45 47644039 bpatchx patch39_0 ,mem_patch39 
+1b46 6fe0c3e2 fetch 1 ,mem_le_scan_enable 
+1b47 c1808000 rtnne le_scan_enable 
+1b48 d8e00002 arg le_scan_interval_timer ,queue 
+1b49 20407de9 call timer_check 
+1b4a 247a0000 nrtn blank 
+1b4b 6fe143e3 fetch 2 ,mem_le_scan_interval 
+1b4c 684943e5 fetcht 2 ,mem_le_scan_window 
+1b4d 98467e00 isub temp ,pdata 
+1b4e d8e00002 arg le_scan_interval_timer ,queue 
+1b4f 20407ddb call timer_init 
+1b50 7854fc00 disable master 
+1b51 20401be4 call le_init_adv 
+1b52 20401b64 call le_wait_adv 
+1b53 24768000 nrtn match 
+1b54 4764c039 bpatchx patch39_1 ,mem_patch39 
+1b55 6fe3016d fetch 6 ,mem_le_rxbuf + 2 
+1b56 67e30297 store 6 ,mem_le_plap 
+1b57 6fe08002 fetch 1 ,mem_le_adv_rcv 
+1b58 1fe0fe01 increase 1 ,pdata 
+1b59 67e08002 store 1 ,mem_le_adv_rcv 
+1b5a 20401b6b call le_create_conn 
+1b5b 20748000 rtn master 
+1b5c 20401c0b call le_send_scan_request 
+1b5d 24768000 nrtn match 
+1b5e 6fe08004 fetch 1 ,mem_le_scanrsp_rcv 
+1b5f 1fe0fe01 increase 1 ,pdata 
+1b60 67e08004 store 1 ,mem_le_scanrsp_rcv 
+1b61 6fe48173 fetch 9 ,mem_le_rxbuf + 8 
+1b62 67e48a01 store 9 ,mem_tmp_buffer 
+1b63 20600000 rtn 
+
+le_wait_adv:
+1b64 47654039 bpatchx patch39_2 ,mem_patch39 
+1b65 20401c56 call le_next_adv_channel 
+1b66 204016f6 call le_receive_adv 
+1b67 6fe08001 fetch 1 ,mem_le_adv_waitcnt 
+1b68 1fe0fe01 increase 1 ,pdata 
+1b69 67e08001 store 1 ,mem_le_adv_waitcnt 
+1b6a 20600000 rtn 
+
+le_create_conn:
+1b6b 4765c039 bpatchx patch39_3 ,mem_patch39 
+1b6c 6fe082e0 fetch 1 ,mem_cmd_le_create_conn 
+1b6d c18d8000 rtnne hci_cmd_le_create_conn 
+1b6e 6fe30297 fetch 6 ,mem_le_plap 
+1b6f 684b436b fetcht 6 ,mem_le_conn_peer_addr 
+1b70 98467c00 isub temp ,null 
+1b71 24628000 nrtn zero 
+1b72 20400a48 call context_new 
+1b73 24628000 nrtn zero 
+1b74 20401b7b call le_connect_request 
+1b75 204015ae call le_init_master 
+1b76 7041db00 jam 0 ,mem_hci_cmd 
+1b77 7002d700 jam 0 ,mem_le_peer_sca 
+1b78 7043e200 jam 0 ,mem_le_scan_enable 
+1b79 7002e000 jam 0 ,mem_cmd_le_create_conn 
+1b7a 20200a30 branch context_save 
+
+le_connect_request:
+1b7b 47664039 bpatchx patch39_4 ,mem_patch39 
+1b7c 18007fff force -1 ,pdata 
+1b7d 38080001 setsect 2 ,1 
+1b7e 67e282b7 store 5 ,mem_le_channel_map 
+1b7f da200287 arg mem_le_state ,rega 
+1b80 204016cc call le_calc_channel_map 
+1b81 18007204 force 4 ,loopcnt 
+1b82 d8a002ab arg mem_le_access ,contw 
+1b83 20405a90 call generate_random_loop 
+1b84 6fe14378 fetch 2 ,mem_le_timeout 
+1b85 67e102b5 store 2 ,mem_le_superto 
+
+le_con_req_hop_retry:
+1b86 180a7e00 random pdata 
+1b87 1fe17e0f and_into 0xf ,pdata 
+1b88 1fe67c04 sub pdata ,4 ,null 
+1b89 20211b86 branch le_con_req_hop_retry ,positive 
+1b8a 67e082a0 store 1 ,mem_le_hop 
+1b8b 67e085a8 store 1 ,mem_tmp1 
+1b8c 4766c039 bpatchx patch39_5 ,mem_patch39 
+1b8d 684941f3 fetcht 2 ,mem_le_conn_interval 
+1b8e 60490289 storet 2 ,mem_le_tsniff 
+1b8f 18422600 copy temp ,regc 
+1b90 1c40fe07 add clkn_bt ,7 ,pdata 
+1b91 9a66fc00 idiv regc 
+1b92 20407e64 call wait_div_end 
+1b93 18072200 remainder rega 
+1b94 9a267e00 isub rega ,pdata 
+1b95 9a60fe00 iadd regc ,pdata 
+1b96 684941f1 fetcht 2 ,mem_le_dsniff 
+1b97 9840fe00 iadd temp ,pdata 
+1b98 67e2028b store 4 ,mem_le_anchor 
+1b99 9c462200 isub clkn_bt ,rega 
+1b9a 1a20a3fa increase -6 ,rega 
+1b9b da402205 arg 0x2205 ,regb 
+1b9c 6fe0c371 fetch 1 ,mem_le_conn_own_addr_type 
+1b9d 7d3a2406 nsetflag blank ,le_sender_addr_bit ,regb 
+1b9e 6fe0c36a fetch 1 ,mem_le_conn_peer_addr_type 
+1b9f 7d3a2407 nsetflag blank ,le_receiver_addr_bit ,regb 
+1ba0 1a427e00 copy regb ,pdata 
+1ba1 67e141f5 store 2 ,mem_le_txheader 
+1ba2 6fe3437a fetch 6 ,mem_le_lap 
+1ba3 e7e30005 istore 6 ,contw 
+1ba4 6fe30297 fetch 6 ,mem_le_plap 
+1ba5 e7e30005 istore 6 ,contw 
+1ba6 6fe202ab fetch 4 ,mem_le_access 
+1ba7 e7e20005 istore 4 ,contw 
+1ba8 180a7e00 random pdata 
+1ba9 e7e10005 istore 2 ,contw 
+1baa 180a7e00 random pdata 
+1bab e7e08005 istore 1 ,contw 
+1bac 18007e02 force 2 ,pdata 
+1bad e7e08005 istore 1 ,contw 
+1bae 1a2b7e00 rshift2 rega ,pdata 
+1baf e7e10005 istore 2 ,contw 
+1bb0 1a6b7e00 rshift2 regc ,pdata 
+1bb1 e7e10005 istore 2 ,contw 
+1bb2 47674039 bpatchx patch39_6 ,mem_patch39 
+1bb3 58000000 setarg 0 
+1bb4 e7e10005 istore 2 ,contw 
+1bb5 6fe14378 fetch 2 ,mem_le_timeout 
+1bb6 e7e10005 istore 2 ,contw 
+1bb7 6fe282b7 fetch 5 ,mem_le_channel_map 
+1bb8 e7e28005 istore 5 ,contw 
+1bb9 6fe082a0 fetch 1 ,mem_le_hop 
+1bba d84000a0 arg param_le_sca ,temp 
+1bbb 9841fe00 ior temp ,pdata 
+1bbc e7e08005 istore 1 ,contw 
+1bbd 204017e2 call le_transmit_norx 
+1bbe 580041f5 setarg mem_le_txheader 
+1bbf 1fe08c12 add pdata ,18 ,contr 
+1bc0 efe18006 ifetch 3 ,contr 
+1bc1 67e182af store 3 ,mem_le_crcinit 
+1bc2 20600000 rtn 
+
+le_adv:
+1bc3 70001624 jam 36 ,mem_le_ch_mapped 
+1bc4 70098e00 jam 0 ,mem_le_adv_channel_map_temp 
+
+le_adv_loop:
+1bc5 6fe0c427 fetch 1 ,mem_le_adv_enable 
+1bc6 207a0000 rtn blank 
+1bc7 d8e00000 arg le_adv_interval_timer ,queue 
+1bc8 20407de9 call timer_check 
+1bc9 247a0000 nrtn blank 
+1bca 4767c039 bpatchx patch39_7 ,mem_patch39 
+
+le_adv_loop_tx:
+1bcb 78287c00 enable swfine 
+1bcc 20401be4 call le_init_adv 
+1bcd 20401c56 call le_next_adv_channel 
+1bce 20401bed call le_send_adv_ind 
+1bcf 24369bd7 nbranch le_adv_not_match ,match 
+1bd0 6fe08003 fetch 1 ,mem_le_req_rcv 
+1bd1 1fe0fe01 increase 1 ,pdata 
+1bd2 67e08003 store 1 ,mem_le_req_rcv 
+1bd3 6fe0816b fetch 1 ,mem_le_rxbuf_adv_header 
+1bd4 1fe17e0f and pdata ,0x0f ,pdata 
+1bd5 c0019c1c beq scan_req ,le_send_scan_response 
+1bd6 c0029c2e beq connect_req ,le_parse_connect_req 
+
+le_adv_not_match:
+1bd7 4768403a bpatchx patch3a_0 ,mem_patch3a 
+1bd8 6fe0898e fetch 1 ,mem_le_adv_channel_map_temp 
+1bd9 6848c432 fetcht 1 ,mem_le_adv_channel_map 
+1bda 98467c00 isub temp ,null 
+1bdb 24229bc5 nbranch le_adv_loop ,zero 
+1bdc 180a7e00 random pdata 
+1bdd d84001ff arg 0x1ff ,temp 
+1bde 98417e00 iand temp ,pdata 
+1bdf 1fe0fefa add pdata ,250 ,pdata 
+1be0 20407d81 call delay 
+1be1 d8e00000 arg le_adv_interval_timer ,queue 
+1be2 6fe14428 fetch 2 ,mem_le_adv_interval 
+1be3 20207ddb branch timer_init 
+
+le_init_adv:
+1be4 4768c03a bpatchx patch3a_1 ,mem_patch3a 
+1be5 7854fc00 disable master 
+
+le_adv_access:
+1be6 588e89be setarg 0x8e89be 
+1be7 1fed7e00 lshift8 pdata ,pdata 
+1be8 1fe1fed6 or_into 0xd6 ,pdata 
+1be9 98001200 iforce access 
+1bea 58555555 setarg 0x555555 
+1beb 67e182af store 3 ,mem_le_crcinit 
+1bec 202010ac branch calc_mod_value_scale_le 
+
+le_send_adv_ind:
+1bed 4769403a bpatchx patch3a_2 ,mem_patch3a 
+1bee 6fe0c42a fetch 1 ,mem_le_adv_type 
+1bef 6848c42b fetcht 1 ,mem_le_adv_own_addr_type 
+1bf0 18520400 lshift4 temp ,temp 
+1bf1 184b8400 lshift2 temp ,temp 
+1bf2 98408400 iadd temp ,temp 
+1bf3 6048c1f5 storet 1 ,mem_le_txheader 
+1bf4 c0009bfe beq adv_direct_ind ,le_send_adv_direct_ind 
+1bf5 6848c3e7 fetcht 1 ,mem_le_adv_data_len 
+1bf6 1840fe06 add temp ,6 ,pdata 
+1bf7 67e0c1f6 store 1 ,mem_le_txlen 
+1bf8 6fe3437a fetch 6 ,mem_le_lap 
+1bf9 67e341f7 store 6 ,mem_le_txpayload 
+1bfa 18427200 copy temp ,loopcnt 
+1bfb d8c043e8 arg mem_le_adv_data ,contr 
+1bfc 20407dc7 call memcpy_fast 
+1bfd 20201c04 branch le_send_adv_transmit 
+
+le_send_adv_direct_ind:
+1bfe 5800000c setarg 12 
+1bff 67e0c1f6 store 1 ,mem_le_txlen 
+1c00 6fe3437a fetch 6 ,mem_le_lap 
+1c01 67e341f7 store 6 ,mem_le_txpayload 
+1c02 6fe341dd fetch 6 ,mem_hci_plap 
+1c03 e7e30005 istore 6 ,contw 
+
+le_send_adv_transmit:
+1c04 4769c03a bpatchx patch3a_3 ,mem_patch3a 
+1c05 6fe08000 fetch 1 ,mem_le_adv_transmit 
+1c06 1fe0fe01 increase 1 ,pdata 
+1c07 67e08000 store 1 ,mem_le_adv_transmit 
+1c08 db600708 arg 1800 ,stop_watch 
+1c09 7856fc00 disable match 
+1c0a 202017cd branch le_transmit_receive_sifs_without_change_mode 
+
+le_send_scan_request:
+1c0b 476a403a bpatchx patch3a_4 ,mem_patch3a 
+1c0c 6fe0c433 fetch 1 ,mem_le_scan_type 
+1c0d c1808000 rtnne le_scan_type_active 
+1c0e 6fe08000 fetch 1 ,mem_le_adv_transmit 
+1c0f 1fe0fe01 increase 1 ,pdata 
+1c10 67e08000 store 1 ,mem_le_adv_transmit 
+1c11 d8400c03 arg 0x0c03 ,temp 
+1c12 6fe0c434 fetch 1 ,mem_le_scan_own_addr_type 
+1c13 7d3a0406 nsetflag blank ,le_sender_addr_bit ,temp 
+1c14 1a227e00 copy rega ,pdata 
+1c15 7d3a0407 nsetflag blank ,le_receiver_addr_bit ,temp 
+1c16 604941f5 storet 2 ,mem_le_txheader 
+1c17 6fe3437a fetch 6 ,mem_le_lap 
+1c18 e7e30005 istore 6 ,contw 
+1c19 6fe30297 fetch 6 ,mem_le_plap 
+1c1a e7e30005 istore 6 ,contw 
+1c1b 202017cd branch le_transmit_receive_sifs_without_change_mode 
+
+le_send_scan_response:
+1c1c 6fe30173 fetch 6 ,mem_le_rxbuf_adv_scan_req_adv_address 
+1c1d 684b437a fetcht 6 ,mem_le_lap 
+1c1e 98467c00 isub temp ,null 
+1c1f 24628000 nrtn zero 
+1c20 d8400004 arg scan_rsp ,temp 
+1c21 6fe0c42b fetch 1 ,mem_le_adv_own_addr_type 
+1c22 7d3a0406 nsetflag blank ,le_sender_addr_bit ,temp 
+1c23 6048c1f5 storet 1 ,mem_le_txheader 
+1c24 6848c407 fetcht 1 ,mem_le_scan_data_len 
+1c25 1840fe06 add temp ,6 ,pdata 
+1c26 67e0c1f6 store 1 ,mem_le_txlen 
+1c27 6fe3437a fetch 6 ,mem_le_lap 
+1c28 67e341f7 store 6 ,mem_le_txpayload 
+1c29 d8c04408 arg mem_le_scan_data ,contr 
+1c2a 18427200 copy temp ,loopcnt 
+1c2b 20407dc7 call memcpy_fast 
+1c2c 204017e2 call le_transmit_norx 
+1c2d 20201bd7 branch le_adv_not_match 
+
+le_parse_connect_req:
+1c2e 6fe30173 fetch 6 ,mem_le_rxbuf_adv_connect_ind_adv_address 
+1c2f 684b437a fetcht 6 ,mem_le_lap 
+1c30 98467c00 isub temp ,null 
+1c31 24628000 nrtn zero 
+1c32 2040190d call le_scan_check_sender_addr_type 
+1c33 6220c36a storer rega ,1 ,mem_le_conn_peer_addr_type 
+1c34 6fe3016d fetch 6 ,mem_le_rxbuf_adv_connect_ind_init_address 
+1c35 67e30297 store 6 ,mem_le_plap 
+1c36 6fe40179 fetch 8 ,mem_le_rxbuf_adv_connect_ind_access_address 
+1c37 67e402ab store 8 ,mem_le_access 
+1c38 68490181 fetcht 2 ,mem_le_rxbuf_adv_connect_ind_win_offset 
+1c39 476ac03a bpatchx patch3a_5 ,mem_patch3a 
+1c3a 184b8400 lshift2 temp ,temp 
+1c3b 6fe10183 fetch 2 ,mem_le_rxbuf_adv_connect_ind_interval 
+1c3c 1febfe00 lshift2 pdata ,pdata 
+1c3d 67e10289 store 2 ,mem_le_tsniff 
+1c3e 67e2028b store 4 ,mem_le_anchor 
+1c3f 98467e00 isub temp ,pdata 
+1c40 1fe0d1fe add pdata ,-2 ,clke_bt 
+1c41 6fe48185 fetch 9 ,mem_le_rxbuf_adv_connect_ind_latency 
+1c42 67e482b3 store 9 ,mem_le_slave_latency 
+1c43 6fe0818e fetch 1 ,mem_le_rxbuf_adv_connect_ind_hop_and_sca 
+1c44 1fe1041f and pdata ,0x1f ,temp 
+1c45 604882a0 storet 1 ,mem_le_hop 
+1c46 1ff18400 rshift4 pdata ,temp 
+1c47 18430400 rshift temp ,temp 
+1c48 604882d7 storet 1 ,mem_le_peer_sca 
+1c49 da200287 arg mem_le_state ,rega 
+1c4a 204019df call le_receive_window_size 
+1c4b da200287 arg mem_le_state ,rega 
+1c4c 204016cc call le_calc_channel_map 
+1c4d 204015ba call le_init_slave 
+1c4e 20400a48 call context_new 
+1c4f 24628000 nrtn zero 
+1c50 476b403a bpatchx patch3a_6 ,mem_patch3a 
+1c51 2040105d call calc_clke_offset 
+1c52 20401f18 call le_l2cap_reset_signaling_identifier 
+1c53 70095b14 jam bt_evt_le_connected ,mem_fifo_temp 
+1c54 204078dc call ui_ipc_send_event 
+1c55 20200a30 branch context_save 
+
+le_next_adv_channel:
+1c56 476bc03a bpatchx patch3a_7 ,mem_patch3a 
+1c57 6fe08016 fetch 1 ,mem_le_ch_mapped 
+1c58 c0129c5c beq 37 ,le_next_adv_channel_curr_channel_37 
+1c59 c0131c62 beq 38 ,le_next_adv_channel_curr_channel_38 
+1c5a c0139c68 beq 39 ,le_next_adv_channel_curr_channel_39 
+1c5b 20201c68 branch le_next_adv_channel_curr_channel_39 
+
+le_next_adv_channel_curr_channel_37:
+1c5c 6848c432 fetcht 1 ,mem_le_adv_channel_map 
+1c5d 284ffe01 isolate1 bit_adv_channel_map_38 ,temp 
+1c5e 20209c73 branch set_le_next_adv_channel_38 ,true 
+1c5f 284ffe02 isolate1 bit_adv_channel_map_39 ,temp 
+1c60 20209c78 branch set_le_next_adv_channel_39 ,true 
+1c61 20201c6e branch set_le_next_adv_channel_37 
+
+le_next_adv_channel_curr_channel_38:
+1c62 6848c432 fetcht 1 ,mem_le_adv_channel_map 
+1c63 284ffe02 isolate1 bit_adv_channel_map_39 ,temp 
+1c64 20209c78 branch set_le_next_adv_channel_39 ,true 
+1c65 284ffe00 isolate1 bit_adv_channel_map_37 ,temp 
+1c66 20209c6e branch set_le_next_adv_channel_37 ,true 
+1c67 20201c73 branch set_le_next_adv_channel_38 
+
+le_next_adv_channel_curr_channel_39:
+1c68 6848c432 fetcht 1 ,mem_le_adv_channel_map 
+1c69 284ffe00 isolate1 bit_adv_channel_map_37 ,temp 
+1c6a 20209c6e branch set_le_next_adv_channel_37 ,true 
+1c6b 284ffe01 isolate1 bit_adv_channel_map_38 ,temp 
+1c6c 20209c73 branch set_le_next_adv_channel_38 ,true 
+1c6d 20201c78 branch set_le_next_adv_channel_39 
+
+set_le_next_adv_channel_37:
+1c6e 70001625 jam 37 ,mem_le_ch_mapped 
+1c6f 6fe0898e fetch 1 ,mem_le_adv_channel_map_temp 
+1c70 79207e00 set1 bit_adv_channel_map_37 ,pdata 
+1c71 67e0898e store 1 ,mem_le_adv_channel_map_temp 
+1c72 20600000 rtn 
+
+set_le_next_adv_channel_38:
+1c73 70001626 jam 38 ,mem_le_ch_mapped 
+1c74 6fe0898e fetch 1 ,mem_le_adv_channel_map_temp 
+1c75 79207e01 set1 bit_adv_channel_map_38 ,pdata 
+1c76 67e0898e store 1 ,mem_le_adv_channel_map_temp 
+1c77 20600000 rtn 
+
+set_le_next_adv_channel_39:
+1c78 70001627 jam 39 ,mem_le_ch_mapped 
+1c79 6fe0898e fetch 1 ,mem_le_adv_channel_map_temp 
+1c7a 79207e02 set1 bit_adv_channel_map_39 ,pdata 
+1c7b 67e0898e store 1 ,mem_le_adv_channel_map_temp 
+1c7c 20600000 rtn 
+
+le_parse_att:
+1c7d efe18006 ifetch 3 ,contr 
+1c7e 67e1c436 store 3 ,mem_le_att_opcode 
+1c7f c0011c94 beq attop_exchange_mtu_request ,le_parse_att_exchange_mtu_request 
+1c80 c0019c9c beq attop_exchange_mtu_response ,le_parse_att_exchange_mtu_response 
+1c81 c0021c9f beq attop_find_information_request ,le_parse_att_find_information_request 
+1c82 c0031cc8 beq attop_find_by_type_value_request ,le_parse_att_find_by_type_value_request 
+1c83 c0041d15 beq attop_read_by_type_request ,le_parse_att_read_by_type_request 
+1c84 c0051d93 beq attop_read_request ,le_parse_att_read_request 
+1c85 c0061dc2 beq attop_read_blob_request ,le_parse_att_read_blob_request 
+1c86 c0081dd8 beq attop_read_by_group_type_request ,le_parse_att_read_by_group_type_request 
+1c87 c0091e1b beq attop_write_request ,le_parse_att_write_request 
+1c88 c00b1e3f beq attop_prepare_write_request ,le_parse_att_prepare_write_request 
+1c89 c00c1e52 beq attop_execute_write_request ,le_parse_att_execute_write_request 
+1c8a c00f1e57 beq attop_handle_value_confirmation ,le_parse_handle_value_confirmation 
+1c8b c0291e5b beq attop_write_command ,le_parse_att_write_command 
+1c8c 20600000 rtn 
+
+le_send_att_exchange_mtu_requset:
+1c8d 18002203 force 3 ,rega 
+1c8e 20401e80 call le_fifo_malloc_tx_l2cap_gatt 
+1c8f 58000002 setarg attop_exchange_mtu_request 
+1c90 e7e08005 istore 1 ,contw 
+1c91 6fe14380 fetch 2 ,mem_le_local_mtu 
+1c92 e7e10005 istore 2 ,contw 
+1c93 20600000 rtn 
+
+le_parse_att_exchange_mtu_request:
+1c94 20401c9c call le_parse_att_exchange_mtu_response 
+
+le_send_att_exchange_mtu_response:
+1c95 18002203 force 3 ,rega 
+1c96 20401e80 call le_fifo_malloc_tx_l2cap_gatt 
+1c97 58000003 setarg attop_exchange_mtu_response 
+1c98 e7e08005 istore 1 ,contw 
+1c99 6fe14380 fetch 2 ,mem_le_local_mtu 
+1c9a e7e10005 istore 2 ,contw 
+1c9b 20600000 rtn 
+
+le_parse_att_exchange_mtu_response:
+1c9c 1fecfe00 rshift8 pdata ,pdata 
+1c9d 67e14382 store 2 ,mem_le_remote_mtu 
+1c9e 20600000 rtn 
+
+le_parse_att_find_information_request:
+1c9f 20401eb0 call le_get_search_handle_start_end_common 
+1ca0 20407ec5 call enable_user 
+1ca1 20201ca2 branch le_send_att_find_information_response 
+
+le_send_att_find_information_response:
+1ca2 d9600003 arg 3 ,timeup 
+1ca3 204019f9 call le_init_attlist_search 
+
+le_send_att_find_information_res_loop:
+1ca4 20401a02 call le_att_handle_inrange 
+1ca5 203a1cc6 branch le_send_att_find_information_res_end ,blank 
+1ca6 24211cc3 nbranch le_send_att_find_information_res_next ,positive 
+1ca7 18c08dfe increase -2 ,contr 
+1ca8 20407d5e call store_contr 
+1ca9 20407d55 call get_contw 
+1caa 24341cb6 nbranch le_send_att_find_information_res_store_info ,user 
+1cab 20407d43 call push_stack_rega_b_c 
+1cac 20407ec7 call disable_user 
+1cad 6162096c storer timeup ,4 ,mem_timeup 
+1cae 18002214 force 20 ,rega 
+1caf 20401e80 call le_fifo_malloc_tx_l2cap_gatt 
+1cb0 6962096c fetchr timeup ,4 ,mem_timeup 
+1cb1 20407d51 call pop_stack_rega_b_c 
+1cb2 58000005 setarg attop_find_information_response 
+1cb3 e7e08005 istore 1 ,contw 
+1cb4 58000001 setarg uuid_size_16bit 
+1cb5 e7e08005 istore 1 ,contw 
+
+le_send_att_find_information_res_store_info:
+1cb6 20407d58 call get_contr 
+1cb7 efe10006 ifetch 2 ,contr 
+1cb8 1fe17eff and_into 0xff ,pdata 
+1cb9 e7e10005 istore 2 ,contw 
+1cba efe08006 ifetch 1 ,contr 
+1cbb 1fe27200 copy pdata ,loopcnt 
+1cbc 20407dd4 call memcpy 
+1cbd 20407d5b call store_contw 
+1cbe 196097ff increase -1 ,timeup 
+1cbf 20229cc6 branch le_send_att_find_information_res_end ,zero 
+
+le_send_att_find_information_res_cont:
+1cc0 efe08006 ifetch 1 ,contr 
+1cc1 98c08c00 iadd contr ,contr 
+1cc2 20201ca4 branch le_send_att_find_information_res_loop 
+
+le_send_att_find_information_res_next:
+1cc3 efe08006 ifetch 1 ,contr 
+1cc4 98c08c00 iadd contr ,contr 
+1cc5 20201cc0 branch le_send_att_find_information_res_cont 
+
+le_send_att_find_information_res_end:
+1cc6 20341e74 branch le_send_att_error_response_notfound ,user 
+1cc7 20201ea3 branch le_send_auto_len_by_mem 
+
+le_parse_att_find_by_type_value_request:
+1cc8 20401eb0 call le_get_search_handle_start_end_common 
+1cc9 efe10006 ifetch 2 ,contr 
+1cca 67e1435a store 2 ,mem_le_search_uuid 
+1ccb 20407d5e call store_contr 
+1ccc d8a009a2 arg mem_le_search_att_type_length ,contw 
+1ccd 6fe143d4 fetch 2 ,mem_le_l2cap_size 
+1cce 1fe0fff9 increase -7 ,pdata 
+1ccf 20401ec1 call le_get_search_common2 
+1cd0 20201cdb branch le_send_att_find_by_type_value_response 
+
+le_start_end_handle_check_1:
+1cd1 78547c00 disable user 
+1cd2 6849099e fetcht 2 ,mem_le_search_handle_start 
+1cd3 6fe109a0 fetch 2 ,mem_le_search_handle_end 
+1cd4 98467c00 isub temp ,null 
+1cd5 24211cd8 nbranch le_start_end_handle_check_1_fail ,positive 
+1cd6 18427e00 deposit temp 
+1cd7 c1800000 rtnne 0 
+
+le_start_end_handle_check_1_fail:
+1cd8 78347c00 enable user 
+1cd9 7002d801 jam att_err_invalid_handle ,mem_le_err_code 
+1cda 20201e75 branch le_send_att_error_response 
+
+le_send_att_find_by_type_value_response:
+1cdb 20401cd1 call le_start_end_handle_check_1 
+1cdc 20740000 rtn user 
+1cdd 6849435a fetcht 2 ,mem_le_search_uuid 
+1cde 58002800 setarg uuid_gatt_primary_service 
+1cdf 98467c00 isub temp ,null 
+1ce0 20229ce2 branch le_send_att_find_by_type_value_res_primary ,zero 
+1ce1 20201e74 branch le_send_att_error_response_notfound 
+
+le_send_att_find_by_type_value_res_primary:
+1ce2 70443900 jam le_find_by_type_val_res_not_found ,mem_le_search_res 
+1ce3 6849099e fetcht 2 ,mem_le_search_handle_start 
+1ce4 60490964 storet 2 ,mem_temp 
+1ce5 20401a3e call le_att_get_handle_info 
+1ce6 243a1e74 nbranch le_send_att_error_response_notfound ,blank 
+
+le_send_att_find_primary_search_loop:
+1ce7 68490964 fetcht 2 ,mem_temp 
+1ce8 20401a3e call le_att_get_handle_info 
+1ce9 243a1cfb nbranch le_send_att_error_response_notfound2 ,blank 
+1cea 18c22200 copy contr ,rega 
+1ceb 6fe089b3 fetch 1 ,mem_le_curr_att_len 
+1cec 1fe27200 copy pdata ,loopcnt 
+1ced 684889a2 fetcht 1 ,mem_le_search_att_type_length 
+1cee 98467c00 isub temp ,null 
+1cef 24229cf7 nbranch le_send_att_find_primary_search_loop1 ,zero 
+1cf0 da4009a3 arg mem_le_search_att_type ,regb 
+1cf1 20407e66 call string_compare 
+1cf2 20229cfe branch le_send_att_find_primary_search_end_start_handle_found ,zero 
+1cf3 6fe109bb fetch 2 ,mem_le_cur_uuid 
+1cf4 6849435a fetcht 2 ,mem_le_search_uuid 
+1cf5 98467c00 isub temp ,null 
+1cf6 20229d06 branch le_send_att_find_primary_search_end_ending_handle_found ,zero 
+
+le_send_att_find_primary_search_loop1:
+1cf7 6fe10964 fetch 2 ,mem_temp 
+1cf8 1fe0fe01 increase 1 ,pdata 
+1cf9 67e10964 store 2 ,mem_temp 
+1cfa 20201ce7 branch le_send_att_find_primary_search_loop 
+
+le_send_att_error_response_notfound2:
+1cfb 6fe0c439 fetch 1 ,mem_le_search_res 
+1cfc c0009d06 beq le_find_by_type_val_res_found_starting_handle ,le_send_att_find_primary_search_end_ending_handle_found 
+1cfd 20201e74 branch le_send_att_error_response_notfound 
+
+le_send_att_find_primary_search_end_start_handle_found:
+1cfe 6fe109bb fetch 2 ,mem_le_cur_uuid 
+1cff 6849435a fetcht 2 ,mem_le_search_uuid 
+1d00 98467c00 isub temp ,null 
+1d01 24229cf7 nbranch le_send_att_find_primary_search_loop1 ,zero 
+1d02 70443901 jam le_find_by_type_val_res_found_starting_handle ,mem_le_search_res 
+1d03 68490964 fetcht 2 ,mem_temp 
+1d04 604909b6 storet 2 ,mem_le_cur_handle_start 
+1d05 20201cf7 branch le_send_att_find_primary_search_loop1 
+
+le_send_att_find_primary_search_end_ending_handle_found:
+1d06 6fe0c439 fetch 1 ,mem_le_search_res 
+1d07 c0001cf7 beq le_find_by_type_val_res_not_found ,le_send_att_find_primary_search_loop1 
+1d08 70443902 jam le_find_by_type_val_res_found_ending_handle ,mem_le_search_res 
+1d09 68490964 fetcht 2 ,mem_temp 
+1d0a 184085ff increase -1 ,temp 
+1d0b 604909b8 storet 2 ,mem_le_cur_handle_end 
+
+le_send_att_find_primary_search_end:
+1d0c da200005 arg 5 ,rega 
+1d0d 20401e80 call le_fifo_malloc_tx_l2cap_gatt 
+1d0e 58000007 setarg attop_find_by_type_value_response 
+1d0f e7e08005 istore 1 ,contw 
+1d10 6fe109b6 fetch 2 ,mem_le_cur_handle_start 
+1d11 e7e10005 istore 2 ,contw 
+1d12 6fe109b8 fetch 2 ,mem_le_cur_handle_end 
+1d13 e7e10005 istore 2 ,contw 
+1d14 20600000 rtn 
+
+le_parse_att_read_by_type_request:
+1d15 20401eb0 call le_get_search_handle_start_end_common 
+1d16 20401ebd call le_get_search_att_type 
+1d17 20201d18 branch le_send_att_read_by_type_response 
+
+le_send_att_read_by_type_response:
+1d18 6849099e fetcht 2 ,mem_le_search_handle_start 
+1d19 60490964 storet 2 ,mem_temp 
+1d1a 204019f9 call le_init_attlist_search 
+1d1b 20401a11 call le_att_get_handle_ptr2 
+1d1c 18c08dfe increase -2 ,contr 
+1d1d 18c27e00 copy contr ,pdata 
+1d1e 67e109b4 store 2 ,mem_le_cur_attlist_start_ptr 
+1d1f 684909a3 fetcht 2 ,mem_le_search_att_type 
+1d20 58002a00 setarg uuid_chrctr_device_name 
+1d21 98467c00 isub temp ,null 
+1d22 20229d7f branch le_send_att_read_by_type_res_device_name ,zero 
+1d23 58002803 setarg uuid_gatt_characteristic 
+1d24 98467c00 isub temp ,null 
+1d25 24229d6b nbranch le_send_att_read_by_type_res_not_characteristic ,zero 
+1d26 d9600002 arg 2 ,timeup 
+
+le_send_att_read_by_type_response_loop:
+1d27 20401e86 call le_att_check_handle_end 
+1d28 24211d48 nbranch le_send_att_read_by_type_response_end ,positive 
+1d29 68490964 fetcht 2 ,mem_temp 
+1d2a 20401a3c call le_att_get_handle_info_from_ptr 
+1d2b 243a1d48 nbranch le_send_att_read_by_type_response_end ,blank 
+1d2c 20401e8a call le_att_same_type 
+1d2d 24229d46 nbranch le_send_att_read_by_type_response_next_handle ,zero 
+1d2e 24341d4a nbranch le_send_att_read_by_type_res_found_next ,user 
+1d2f 78547c00 disable user 
+1d30 da200014 arg 20 ,rega 
+1d31 20401e80 call le_fifo_malloc_tx_l2cap_gatt 
+1d32 58000009 setarg attop_read_by_type_response 
+1d33 e7e08005 istore 1 ,contw 
+1d34 18a26000 copy contw ,alarm 
+1d35 18a08a01 increase 1 ,contw 
+1d36 20401d58 call le_send_att_read_by_type_write_properties 
+1d37 20401e82 call le_att_next_handle 
+1d38 20401a3c call le_att_get_handle_info_from_ptr 
+1d39 20401d5f call le_send_att_read_by_type_write_uuid 
+1d3a 6fe089ba fetch 1 ,mem_le_cur_uuid_length 
+1d3b 1fe0a205 add pdata ,5 ,rega 
+1d3c e2208030 istorer rega ,1 ,alarm 
+1d3d 1a267c07 sub rega ,7 ,null 
+1d3e 2442fec9 ncall enable_user2 ,zero 
+1d3f 2042fecb call disable_user2 ,zero 
+1d40 20401eb5 call le_get_search_max_mtu_data 
+1d41 9a26fc00 idiv rega 
+1d42 20407e64 call wait_div_end 
+1d43 18079600 quotient timeup 
+1d44 196097ff increase -1 ,timeup 
+1d45 20229d48 branch le_send_att_read_by_type_response_end ,zero 
+
+le_send_att_read_by_type_response_next_handle:
+1d46 20401e82 call le_att_next_handle 
+1d47 20201d27 branch le_send_att_read_by_type_response_loop 
+
+le_send_att_read_by_type_response_end:
+1d48 20341e74 branch le_send_att_error_response_notfound ,user 
+1d49 20201ea3 branch le_send_auto_len_by_mem 
+
+le_send_att_read_by_type_res_found_next:
+1d4a 20401e95 call le_store_att_record 
+1d4b 20401e82 call le_att_next_handle 
+1d4c 20401a3c call le_att_get_handle_info_from_ptr 
+1d4d 20401e09 call le_send_att_read_by_type_res_check_pair_length_type 
+1d4e 243a1d48 nbranch le_send_att_read_by_type_response_end ,blank 
+1d4f 20407d55 call get_contw 
+1d50 6fe10964 fetch 2 ,mem_temp 
+1d51 1fe0ffff increase -1 ,pdata 
+1d52 e7e10005 istore 2 ,contw 
+1d53 20401e9f call le_write_att_record_common 
+1d54 20401d5f call le_send_att_read_by_type_write_uuid 
+1d55 196097ff increase -1 ,timeup 
+1d56 20229d48 branch le_send_att_read_by_type_response_end ,zero 
+1d57 20201d46 branch le_send_att_read_by_type_response_next_handle 
+
+le_send_att_read_by_type_write_properties:
+1d58 6fe10964 fetch 2 ,mem_temp 
+1d59 e7e10005 istore 2 ,contw 
+1d5a 6fe089b3 fetch 1 ,mem_le_curr_att_len 
+1d5b 1fe27200 copy pdata ,loopcnt 
+1d5c 20407d58 call get_contr 
+1d5d 20407dc7 call memcpy_fast 
+1d5e 20207d5b branch store_contw 
+
+le_send_att_read_by_type_write_uuid:
+1d5f 20407d55 call get_contw 
+1d60 6fe10964 fetch 2 ,mem_temp 
+1d61 e7e10005 istore 2 ,contw 
+1d62 20407d5b call store_contw 
+1d63 6fe089ba fetch 1 ,mem_le_cur_uuid_length 
+1d64 1fe27200 copy pdata ,loopcnt 
+1d65 20407d55 call get_contw 
+1d66 20407d58 call get_contr 
+1d67 9f260c00 isub loopcnt ,contr 
+1d68 18c08dff increase -1 ,contr 
+1d69 20407dc7 call memcpy_fast 
+1d6a 20207d5b branch store_contw 
+
+le_send_att_read_by_type_res_not_characteristic:
+1d6b 20401a21 call le_att_get_short_uuid_ptr 
+1d6c 203a1e74 branch le_send_att_error_response_notfound ,blank 
+1d6d 18c22600 copy contr ,regc 
+1d6e 18c08dfb increase -5 ,contr 
+1d6f efe10006 ifetch 2 ,contr 
+1d70 67e10964 store 2 ,mem_temp 
+1d71 da200014 arg 20 ,rega 
+1d72 20401e80 call le_fifo_malloc_tx_l2cap_gatt 
+1d73 58000009 setarg attop_read_by_type_response 
+1d74 e7e08005 istore 1 ,contw 
+1d75 efe08013 ifetch 1 ,regc 
+1d76 1fe27200 copy pdata ,loopcnt 
+1d77 1fe0fe02 increase 2 ,pdata 
+1d78 e7e08005 istore 1 ,contw 
+1d79 6fe10964 fetch 2 ,mem_temp 
+1d7a e7e10005 istore 2 ,contw 
+1d7b 1a608c01 add regc ,1 ,contr 
+1d7c 20407dc7 call memcpy_fast 
+1d7d 20407d5b call store_contw 
+1d7e 20201ea3 branch le_send_auto_len_by_mem 
+
+le_send_att_read_by_type_res_device_name:
+1d7f d8402a00 arg uuid_chrctr_device_name ,temp 
+1d80 20401a21 call le_att_get_short_uuid_ptr 
+1d81 207a0000 rtn blank 
+1d82 18c08dfb increase -5 ,contr 
+1d83 efe10006 ifetch 2 ,contr 
+1d84 67e10964 store 2 ,mem_temp 
+1d85 da200014 arg 20 ,rega 
+1d86 20401e80 call le_fifo_malloc_tx_l2cap_gatt 
+1d87 58000009 setarg attop_read_by_type_response 
+1d88 e7e08005 istore 1 ,contw 
+1d89 6fe0c2f7 fetch 1 ,mem_le_name_len 
+1d8a 1fe27200 copy pdata ,loopcnt 
+1d8b 1fe0fe02 increase 2 ,pdata 
+1d8c e7e08005 istore 1 ,contw 
+1d8d 6fe10964 fetch 2 ,mem_temp 
+1d8e e7e10005 istore 2 ,contw 
+1d8f d8c042f8 arg mem_le_name ,contr 
+1d90 20407dc7 call memcpy_fast 
+1d91 20407d5b call store_contw 
+1d92 20201ea3 branch le_send_auto_len_by_mem 
+
+le_parse_att_read_request:
+1d93 20401e39 call le_check_encrypt_state 
+1d94 68494437 fetcht 2 ,mem_le_att_handle 
+1d95 6fe0c3c0 fetch 1 ,mem_le_configuration 
+1d96 c2819db8 bbit1 bit_ble_read_auth ,le_send_att_read_response_check_auth 
+
+le_send_att_read_response:
+1d97 20401a11 call le_att_get_handle_ptr2 
+1d98 24229e74 nbranch le_send_att_error_response_notfound ,zero 
+1d99 20541dbe call le_send_att_read_response_check_handle ,user 
+1d9a 20740000 rtn user 
+1d9b 20401a1e call le_att_get_handle_ptr_found 
+1d9c 18c08dfe increase -2 ,contr 
+1d9d efe10006 ifetch 2 ,contr 
+1d9e d8402a00 arg uuid_chrctr_device_name ,temp 
+1d9f 98467c00 isub temp ,null 
+1da0 20229dae branch le_send_device_name ,zero 
+1da1 efe08006 ifetch 1 ,contr 
+1da2 1fe67c16 sub pdata ,22 ,null 
+1da3 20211da5 branch le_send_att_read_response_less ,positive 
+1da4 18007e16 force 22 ,pdata 
+
+le_send_att_read_response_less:
+1da5 1fe22600 copy pdata ,regc 
+1da6 20407d5e call store_contr 
+1da7 1a60a201 add regc ,1 ,rega 
+1da8 20401e80 call le_fifo_malloc_tx_l2cap_gatt 
+1da9 5800000b setarg attop_read_response 
+1daa e7e08005 istore 1 ,contw 
+1dab 1a627200 copy regc ,loopcnt 
+1dac 20407d58 call get_contr 
+1dad 20207dd4 branch memcpy 
+
+le_send_device_name:
+1dae 20407d5e call store_contr 
+1daf 6fe0c2f7 fetch 1 ,mem_le_name_len 
+1db0 1fe0a201 add pdata ,1 ,rega 
+1db1 20401e80 call le_fifo_malloc_tx_l2cap_gatt 
+1db2 5800000b setarg attop_read_response 
+1db3 e7e08005 istore 1 ,contw 
+1db4 6fe0c2f7 fetch 1 ,mem_le_name_len 
+1db5 1fe27200 copy pdata ,loopcnt 
+1db6 d8c042f8 arg mem_le_name ,contr 
+1db7 20207dd4 branch memcpy 
+
+le_send_att_read_response_check_auth:
+1db8 6fe143d1 fetch 2 ,mem_le_pairing_handle 
+1db9 98467c00 isub temp ,null 
+1dba 24229d97 nbranch le_send_att_read_response ,zero 
+1dbb 24341d97 nbranch le_send_att_read_response ,user 
+
+le_send_att_read_response_error_insufficient_auth:
+1dbc 7002d805 jam att_err_insufficient_authentication ,mem_le_err_code 
+1dbd 20201e75 branch le_send_att_error_response 
+
+le_send_att_read_response_check_handle:
+1dbe 18c08dfe increase -2 ,contr 
+1dbf efe10006 ifetch 2 ,contr 
+1dc0 c2871dbc bbit1 bit_of_att_handle_read_authenticated ,le_send_att_read_response_error_insufficient_auth 
+1dc1 20207ec7 branch disable_user 
+
+le_parse_att_read_blob_request:
+1dc2 efe10006 ifetch 2 ,contr 
+1dc3 67e109a2 store 2 ,mem_le_att_offset 
+
+le_send_att_read_blob_response:
+1dc4 da200014 arg 20 ,rega 
+1dc5 20401e80 call le_fifo_malloc_tx_l2cap_gatt 
+1dc6 5800000d setarg attop_read_blob_response 
+1dc7 e7e08005 istore 1 ,contw 
+1dc8 6fe109a2 fetch 2 ,mem_le_att_offset 
+1dc9 98002200 iforce rega 
+1dca 68494437 fetcht 2 ,mem_le_att_handle 
+1dcb 20401a0e call le_att_get_handle_ptr 
+1dcc 203a1e74 branch le_send_att_error_response_notfound ,blank 
+1dcd efe08006 ifetch 1 ,contr 
+1dce 9a267200 isub rega ,loopcnt 
+1dcf 24211e74 nbranch le_send_att_error_response_notfound ,positive 
+1dd0 1f267c16 sub loopcnt ,22 ,null 
+1dd1 20211dd3 branch le_send_att_read_blob_response_less ,positive 
+1dd2 18007216 force 22 ,loopcnt 
+
+le_send_att_read_blob_response_less:
+1dd3 1a227e00 deposit rega 
+1dd4 98c08c00 iadd contr ,contr 
+1dd5 20407dc7 call memcpy_fast 
+1dd6 20407d5b call store_contw 
+1dd7 20201ea3 branch le_send_auto_len_by_mem 
+
+le_parse_att_read_by_group_type_request:
+1dd8 20401eb0 call le_get_search_handle_start_end_common 
+1dd9 20401ebd call le_get_search_att_type 
+1dda 20201ddb branch le_send_att_read_by_group_type_response 
+
+le_send_att_read_by_group_type_response:
+1ddb d9600002 arg 2 ,timeup 
+1ddc 6849099e fetcht 2 ,mem_le_search_handle_start 
+1ddd 60490964 storet 2 ,mem_temp 
+1dde 20401a11 call le_att_get_handle_ptr2 
+1ddf 18c08dfe increase -2 ,contr 
+1de0 18c27e00 copy contr ,pdata 
+1de1 67e109b4 store 2 ,mem_le_cur_attlist_start_ptr 
+
+le_send_att_read_by_group_type_response_loop:
+1de2 20401e86 call le_att_check_handle_end 
+1de3 24211e11 nbranch le_send_att_read_by_group_type_end0 ,positive 
+1de4 68490964 fetcht 2 ,mem_temp 
+1de5 20401a3c call le_att_get_handle_info_from_ptr 
+1de6 243a1e14 nbranch le_send_att_read_by_group_type_end1 ,blank 
+1de7 20401e8a call le_att_same_type 
+1de8 24229e07 nbranch le_send_att_read_by_group_type_next_handle ,zero 
+1de9 19627e00 copy timeup ,pdata 
+1dea c0001e14 beq 0 ,le_send_att_read_by_group_type_end1 
+1deb 24341dfd nbranch le_send_att_read_by_group_type_store_write_record ,user 
+1dec 78547c00 disable user 
+1ded da200014 arg 20 ,rega 
+1dee 20401e80 call le_fifo_malloc_tx_l2cap_gatt 
+1def 58000011 setarg attop_read_by_group_type_response 
+1df0 e7e08005 istore 1 ,contw 
+1df1 6fe089b3 fetch 1 ,mem_le_curr_att_len 
+1df2 1fe0a204 add pdata ,4 ,rega 
+1df3 e2208005 istorer rega ,1 ,contw 
+1df4 20407d5b call store_contw 
+1df5 1a267c06 sub rega ,6 ,null 
+1df6 2442fec9 ncall enable_user2 ,zero 
+1df7 2042fecb call disable_user2 ,zero 
+1df8 20401eb5 call le_get_search_max_mtu_data 
+1df9 9a26fc00 idiv rega 
+1dfa 20407e64 call wait_div_end 
+1dfb 18079600 quotient timeup 
+1dfc 20201e03 branch le_send_att_read_by_group_type_store_record 
+
+le_send_att_read_by_group_type_store_write_record:
+1dfd 20401e0b call le_send_att_read_by_group_type_check_pair_length_type 
+1dfe 243a1e14 nbranch le_send_att_read_by_group_type_end1 ,blank 
+1dff 6fe10964 fetch 2 ,mem_temp 
+1e00 1fe0ffff increase -1 ,pdata 
+1e01 67e109b8 store 2 ,mem_le_cur_handle_end 
+1e02 20401e9a call le_write_att_record 
+
+le_send_att_read_by_group_type_store_record:
+1e03 6fe10964 fetch 2 ,mem_temp 
+1e04 67e109b6 store 2 ,mem_le_cur_handle_start 
+1e05 20401e95 call le_store_att_record 
+1e06 196097ff increase -1 ,timeup 
+
+le_send_att_read_by_group_type_next_handle:
+1e07 20401e82 call le_att_next_handle 
+1e08 20201de2 branch le_send_att_read_by_group_type_response_loop 
+
+le_send_att_read_by_type_res_check_pair_length_type:
+1e09 6fe089ba fetch 1 ,mem_le_cur_uuid_length 
+1e0a 20201e0c branch le_send_att_read_by_group_type_check_pair_length_type + 1 
+
+le_send_att_read_by_group_type_check_pair_length_type:
+1e0b 6fe089b3 fetch 1 ,mem_le_curr_att_len 
+1e0c 20361e0f branch le_send_att_read_by_group_type_check_pair_length_type_16byte ,user2 
+1e0d 1fe0fffe increase -2 ,pdata 
+1e0e 20600000 rtn 
+
+le_send_att_read_by_group_type_check_pair_length_type_16byte:
+1e0f 1fe0fff0 increase -16 ,pdata 
+1e10 20600000 rtn 
+
+le_send_att_read_by_group_type_end0:
+1e11 6fe10964 fetch 2 ,mem_temp 
+1e12 67e109b8 store 2 ,mem_le_cur_handle_end 
+1e13 20201e18 branch le_send_att_read_by_group_type_end_common 
+
+le_send_att_read_by_group_type_end1:
+1e14 6fe10964 fetch 2 ,mem_temp 
+1e15 1fe0ffff increase -1 ,pdata 
+1e16 67e109b8 store 2 ,mem_le_cur_handle_end 
+1e17 20201e18 branch le_send_att_read_by_group_type_end_common 
+
+le_send_att_read_by_group_type_end_common:
+1e18 20341e74 branch le_send_att_error_response_notfound ,user 
+1e19 20401e9a call le_write_att_record 
+1e1a 20201ea3 branch le_send_auto_len_by_mem 
+
+le_parse_att_write_request:
+1e1b 18c22200 copy contr ,rega 
+1e1c 6fe143d4 fetch 2 ,mem_le_l2cap_size 
+1e1d 1fe0a5fd add pdata ,-3 ,regb 
+1e1e 204019d1 call le_writeatt_cb 
+
+le_send_att_write_response_check_auth:
+1e1f 20401e39 call le_check_encrypt_state 
+1e20 68494437 fetcht 2 ,mem_le_att_handle 
+1e21 20401a11 call le_att_get_handle_ptr2 
+1e22 24229e37 nbranch le_send_att_write_response_error_invalid_handle ,zero 
+1e23 20541e33 call le_send_att_write_response_check_handle ,user 
+1e24 20740000 rtn user 
+1e25 6fe0c3c0 fetch 1 ,mem_le_configuration 
+1e26 c3021e2e bbit0 bit_ble_write_auth ,le_send_att_write_response 
+1e27 68494437 fetcht 2 ,mem_le_att_handle 
+1e28 6fe143d1 fetch 2 ,mem_le_pairing_handle 
+1e29 98467c00 isub temp ,null 
+1e2a 24229e2e nbranch le_send_att_write_response ,zero 
+1e2b 20401e39 call le_check_encrypt_state 
+1e2c 24341e2e nbranch le_send_att_write_response ,user 
+1e2d 20201dbc branch le_send_att_read_response_error_insufficient_auth 
+
+le_send_att_write_response:
+1e2e 18002201 force 1 ,rega 
+1e2f 20401e80 call le_fifo_malloc_tx_l2cap_gatt 
+1e30 58000013 setarg attop_write_response 
+1e31 e7e08005 istore 1 ,contw 
+1e32 20600000 rtn 
+
+le_send_att_write_response_check_handle:
+1e33 18c08dfe increase -2 ,contr 
+1e34 efe10006 ifetch 2 ,contr 
+1e35 c2879dbc bbit1 bit_of_att_handle_write_authenticated ,le_send_att_read_response_error_insufficient_auth 
+1e36 20207ec7 branch disable_user 
+
+le_send_att_write_response_error_invalid_handle:
+1e37 7002d801 jam att_err_invalid_handle ,mem_le_err_code 
+1e38 20201e75 branch le_send_att_error_response 
+
+le_check_encrypt_state:
+1e39 20407ec7 call disable_user 
+1e3a 6fe0c39d fetch 1 ,mem_le_pairing_mode 
+1e3b c1000000 rtneq le_pairing_mode_none 
+1e3c 6fe0c040 fetch 1 ,mem_context 
+1e3d c3820000 rtnbit1 lestate_encryption 
+1e3e 20207ec5 branch enable_user 
+
+le_parse_att_prepare_write_request:
+1e3f 18c0a202 add contr ,2 ,rega 
+1e40 6fe143d4 fetch 2 ,mem_le_l2cap_size 
+1e41 1fe0a5fb add pdata ,-5 ,regb 
+1e42 204019d1 call le_writeatt_cb 
+1e43 20201e44 branch le_send_att_prepare_write_response 
+
+le_send_att_prepare_write_response:
+1e44 6fe143d4 fetch 2 ,mem_le_l2cap_size 
+1e45 1fe22200 copy pdata ,rega 
+1e46 20401e80 call le_fifo_malloc_tx_l2cap_gatt 
+1e47 58000017 setarg attop_prepare_write_response 
+1e48 e7e08005 istore 1 ,contw 
+1e49 6fe14437 fetch 2 ,mem_le_att_handle 
+1e4a e7e10005 istore 2 ,contw 
+1e4b 6fe143d4 fetch 2 ,mem_le_l2cap_size 
+1e4c 1fe0f3fb add pdata ,-5 ,loopcnt 
+1e4d 6fe143d8 fetch 2 ,mem_le_payload_ptr 
+1e4e 1fe08c07 add pdata ,7 ,contr 
+1e4f efe10006 ifetch 2 ,contr 
+1e50 e7e10005 istore 2 ,contw 
+1e51 20207dc7 branch memcpy_fast 
+
+le_parse_att_execute_write_request:
+
+le_send_att_execute_write_response:
+1e52 18002201 force 1 ,rega 
+1e53 20401e80 call le_fifo_malloc_tx_l2cap_gatt 
+1e54 58000019 setarg attop_execute_write_response 
+1e55 e7e08005 istore 1 ,contw 
+1e56 20600000 rtn 
+
+le_parse_handle_value_confirmation:
+1e57 6fe0c435 fetch 1 ,mem_le_l2cap_att_states 
+1e58 793ffe00 set0 ble_l2cap_recv_confirmation_packet ,pdata 
+1e59 67e0c435 store 1 ,mem_le_l2cap_att_states 
+1e5a 20600000 rtn 
+
+le_parse_att_write_command:
+1e5b 18c22200 copy contr ,rega 
+1e5c 6fe143d4 fetch 2 ,mem_le_l2cap_size 
+1e5d 1fe0a5fd add pdata ,-3 ,regb 
+1e5e 202019d1 branch le_writeatt_cb 
+
+le_att_malloc_tx_notify:
+1e5f 18422600 copy temp ,regc 
+1e60 1a20a203 increase 3 ,rega 
+1e61 20401e80 call le_fifo_malloc_tx_l2cap_gatt 
+1e62 1a20a3fd increase -3 ,rega 
+1e63 5800001b setarg attop_handle_value_notification 
+1e64 e7e08005 istore 1 ,contw 
+1e65 1a620400 copy regc ,temp 
+1e66 e0410005 istoret 2 ,contw 
+1e67 20600000 rtn 
+
+le_att_malloc_tx_indication:
+1e68 6fe0c435 fetch 1 ,mem_le_l2cap_att_states 
+1e69 79207e00 set1 ble_l2cap_send_indication_packet ,pdata 
+1e6a 67e0c435 store 1 ,mem_le_l2cap_att_states 
+1e6b 18422600 copy temp ,regc 
+1e6c 1a20a203 increase 3 ,rega 
+1e6d 20401e80 call le_fifo_malloc_tx_l2cap_gatt 
+1e6e 1a20a3fd increase -3 ,rega 
+1e6f 5800001d setarg attop_handle_value_indication 
+1e70 e7e08005 istore 1 ,contw 
+1e71 1a620400 copy regc ,temp 
+1e72 e0410005 istoret 2 ,contw 
+1e73 20600000 rtn 
+
+le_send_att_error_response_notfound:
+1e74 7002d80a jam att_err_attribute_not_found ,mem_le_err_code 
+
+le_send_att_error_response:
+1e75 18002205 force 5 ,rega 
+1e76 20401e80 call le_fifo_malloc_tx_l2cap_gatt 
+1e77 58000001 setarg attop_error_response 
+1e78 e7e08005 istore 1 ,contw 
+1e79 6fe0c436 fetch 1 ,mem_le_att_opcode 
+1e7a e7e08005 istore 1 ,contw 
+1e7b 6fe14437 fetch 2 ,mem_le_att_handle 
+1e7c e7e10005 istore 2 ,contw 
+1e7d 6fe082d8 fetch 1 ,mem_le_err_code 
+1e7e e7e08005 istore 1 ,contw 
+1e7f 20600000 rtn 
+
+le_fifo_malloc_tx_l2cap_gatt:
+1e80 18002404 force le_l2cap_cid_att ,regb 
+1e81 20201af9 branch le_fifo_malloc_tx_l2cap 
+
+le_att_next_handle:
+1e82 68490964 fetcht 2 ,mem_temp 
+1e83 18408401 increase 1 ,temp 
+1e84 60490964 storet 2 ,mem_temp 
+1e85 20600000 rtn 
+
+le_att_check_handle_end:
+1e86 68490964 fetcht 2 ,mem_temp 
+1e87 6fe109a0 fetch 2 ,mem_le_search_handle_end 
+1e88 98467c00 isub temp ,null 
+1e89 20600000 rtn 
+
+le_att_same_type:
+1e8a 684889a2 fetcht 1 ,mem_le_search_att_type_length 
+1e8b da2009a3 arg mem_le_search_att_type ,rega 
+
+le_att_check_same_common:
+1e8c 6fe089ba fetch 1 ,mem_le_cur_uuid_length 
+1e8d 1fe27200 copy pdata ,loopcnt 
+1e8e 98467c00 isub temp ,null 
+1e8f 24628000 nrtn zero 
+1e90 da4009bb arg mem_le_cur_uuid ,regb 
+1e91 20207e66 branch string_compare 
+
+le_att_same_uuid:
+1e92 6848c359 fetcht 1 ,mem_le_search_uuid_length 
+1e93 da20435a arg mem_le_search_uuid ,rega 
+1e94 20201e8c branch le_att_check_same_common 
+
+le_store_att_record:
+1e95 6fe089b3 fetch 1 ,mem_le_curr_att_len 
+1e96 67e08a01 store 1 ,mem_tmp_buffer 
+1e97 1fe27200 copy pdata ,loopcnt 
+1e98 20407d58 call get_contr 
+1e99 20207dc7 branch memcpy_fast 
+
+le_write_att_record:
+1e9a 20407d55 call get_contw 
+1e9b 6fe109b6 fetch 2 ,mem_le_cur_handle_start 
+1e9c e7e10005 istore 2 ,contw 
+1e9d 6fe109b8 fetch 2 ,mem_le_cur_handle_end 
+1e9e e7e10005 istore 2 ,contw 
+
+le_write_att_record_common:
+1e9f 6fe08a01 fetch 1 ,mem_tmp_buffer 
+1ea0 1fe27200 copy pdata ,loopcnt 
+1ea1 20407dc7 call memcpy_fast 
+1ea2 20207d5b branch store_contw 
+
+le_send_auto_len_by_mem:
+1ea3 476c403b bpatchx patch3b_0 ,mem_patch3b 
+1ea4 20407d55 call get_contw 
+1ea5 20401b1d call le_fifo_get_last_att_ptr 
+1ea6 18a27e00 copy contw ,pdata 
+1ea7 98c62200 isub contr ,rega 
+1ea8 20401b20 call le_fifo_get_last_l2cap_ptr 
+1ea9 1a227e00 copy rega ,pdata 
+1eaa e7e10006 istore 2 ,contr 
+1eab 1a20a204 increase 4 ,rega 
+1eac 20401b12 call le_fifo_get_last_tx_ptr 
+1ead 1a227e00 copy rega ,pdata 
+1eae e7e08006 istore 1 ,contr 
+1eaf 20600000 rtn 
+
+le_get_search_handle_start_end_common:
+1eb0 1fecfe00 rshift8 pdata ,pdata 
+1eb1 67e1099e store 2 ,mem_le_search_handle_start 
+1eb2 efe10006 ifetch 2 ,contr 
+1eb3 67e109a0 store 2 ,mem_le_search_handle_end 
+1eb4 20600000 rtn 
+
+le_get_search_max_mtu_data:
+1eb5 6fe14382 fetch 2 ,mem_le_remote_mtu 
+1eb6 1fe0fffe increase -2 ,pdata 
+1eb7 68494380 fetcht 2 ,mem_le_local_mtu 
+1eb8 184085fe increase -2 ,temp 
+1eb9 20407ebb call not_greater_than 
+1eba d84000f0 arg 240 ,temp 
+1ebb 20407ebb call not_greater_than 
+1ebc 20600000 rtn 
+
+le_get_search_att_type:
+1ebd 20407d5e call store_contr 
+1ebe d8a009a2 arg mem_le_search_att_type_length ,contw 
+
+le_get_search_common:
+1ebf 6fe143d4 fetch 2 ,mem_le_l2cap_size 
+1ec0 1fe0fffb increase -5 ,pdata 
+
+le_get_search_common2:
+1ec1 e7e08005 istore 1 ,contw 
+1ec2 1fe27200 copy pdata ,loopcnt 
+1ec3 20407d58 call get_contr 
+1ec4 20207dc7 branch memcpy_fast 
+
+le_parse_writing_attribute_start:
+1ec5 6fe1016f fetch 2 ,mem_le_rxbuf_data_att_cid 
+1ec6 c1820000 rtnne le_l2cap_cid_att 
+1ec7 6fe0c435 fetch 1 ,mem_le_l2cap_att_states 
+1ec8 79207e01 set1 ble_l2cap_deal_with_continue_packet ,pdata 
+1ec9 67e0c435 store 1 ,mem_le_l2cap_att_states 
+1eca 6fe18171 fetch 3 ,mem_le_rxbuf_data_att_opcode 
+1ecb 67e1c436 store 3 ,mem_le_att_opcode 
+1ecc 7920000f set1 mark_old_packet ,mark 
+1ecd c0091ee0 beq attop_write_request ,le_parse_attribute_write_request 
+1ece c0291ee5 beq attop_write_command ,le_parse_attribute_write_command 
+1ecf c00c1e52 beq attop_execute_write_request ,le_parse_att_execute_write_request 
+1ed0 c0011c94 beq attop_exchange_mtu_request ,le_parse_att_exchange_mtu_request 
+1ed1 c00f1e57 beq attop_handle_value_confirmation ,le_parse_handle_value_confirmation 
+1ed2 793f800f set0 mark_old_packet ,mark 
+
+le_clear_l2cap_att_states_deal_with_contiune_packet:
+1ed3 6fe0c435 fetch 1 ,mem_le_l2cap_att_states 
+1ed4 793ffe01 set0 ble_l2cap_deal_with_continue_packet ,pdata 
+1ed5 67e0c435 store 1 ,mem_le_l2cap_att_states 
+1ed6 20600000 rtn 
+
+le_parse_writing_attribute_continue:
+1ed7 6fe0c435 fetch 1 ,mem_le_l2cap_att_states 
+1ed8 c4008000 rtnbit0 ble_l2cap_deal_with_continue_packet 
+1ed9 7920000f set1 mark_old_packet ,mark 
+1eda 20401eef call le_parse_l2cap_continue_common 
+1edb 20401ef5 call le_parse_attribute_check_complete_packet 
+1edc 20541ed3 call le_clear_l2cap_att_states_deal_with_contiune_packet ,user 
+1edd 6fe0c436 fetch 1 ,mem_le_att_opcode 
+1ede c0091e1f beq attop_write_request ,le_send_att_write_response_check_auth 
+1edf 20600000 rtn 
+
+le_parse_attribute_write_request:
+1ee0 20401ee5 call le_parse_attribute_write_command 
+1ee1 20201ee2 branch le_send_attribute_write_response_check_auth 
+
+le_send_attribute_write_response_check_auth:
+1ee2 20401ef5 call le_parse_attribute_check_complete_packet 
+1ee3 24740000 nrtn user 
+1ee4 20201e1f branch le_send_att_write_response_check_auth 
+
+le_parse_attribute_write_command:
+1ee5 20401ee8 call le_parse_attribute_check_complete_packet_init 
+1ee6 da200174 arg mem_le_rxbuf_data_att_write_payload ,rega 
+1ee7 202019d1 branch le_writeatt_cb 
+
+le_parse_attribute_check_complete_packet_init:
+1ee8 6fe0816c fetch 1 ,mem_le_rxbuf_data_att_write_length 
+1ee9 1fe0a5f9 add pdata ,-7 ,regb 
+1eea 1fe0fffc increase -4 ,pdata 
+1eeb 67e143d6 store 2 ,mem_le_packet_len_recved 
+1eec 6849016d fetcht 2 ,mem_le_rxbuf_data_att_write_l2cap_length 
+1eed 604943d4 storet 2 ,mem_le_l2cap_size 
+1eee 20600000 rtn 
+
+le_parse_l2cap_continue_common:
+1eef 6a40816c fetchr regb ,1 ,mem_le_rxbuf_data_continue_length 
+1ef0 6fe143d6 fetch 2 ,mem_le_packet_len_recved 
+1ef1 9a408400 iadd regb ,temp 
+1ef2 604943d6 storet 2 ,mem_le_packet_len_recved 
+1ef3 da20016d arg mem_le_rxbuf_data_continue_payload ,rega 
+1ef4 202019d1 branch le_writeatt_cb 
+
+le_parse_attribute_check_complete_packet:
+1ef5 20407ec7 call disable_user 
+1ef6 6fe143d6 fetch 2 ,mem_le_packet_len_recved 
+1ef7 684943d4 fetcht 2 ,mem_le_l2cap_size 
+1ef8 98467c00 isub temp ,null 
+1ef9 24628000 nrtn zero 
+1efa 20207ec5 branch enable_user 
+
+le_parse_signaling:
+1efb efe08006 ifetch 1 ,contr 
+1efc e8408006 ifetcht 1 ,contr 
+1efd e8410006 ifetcht 2 ,contr 
+1efe c0099f00 beq l2cap_connection_parameter_update_response ,le_l2cap_parse_conn_parameter_update_rsp 
+1eff 20600000 rtn 
+
+le_l2cap_parse_conn_parameter_update_rsp:
+1f00 efe10006 ifetch 2 ,contr 
+1f01 67e143db store 2 ,mem_le_l2cap_signaling_conn_param_update_rsp_result 
+1f02 70095b40 jam bt_evt_le_parse_conn_papa_update_rsp ,mem_fifo_temp 
+1f03 202078dc branch ui_ipc_send_event 
+
+le_l2cap_tx_update_req:
+1f04 da20000c arg 0x0c ,rega 
+1f05 da600012 arg l2cap_connection_parameter_update_request ,regc 
+1f06 20401f0c call le_fifo_malloc_tx_l2cap_signaling 
+1f07 58000008 setarg 0x08 
+1f08 e7e10005 istore 2 ,contw 
+1f09 6fe44372 fetch 8 ,mem_le_interval_min 
+1f0a e7e40005 istore 8 ,contw 
+1f0b 20600000 rtn 
+
+le_fifo_malloc_tx_l2cap_signaling:
+1f0c 20401f14 call le_l2cap_update_signaling_identifier 
+1f0d da400005 arg le_l2cap_cid_signal ,regb 
+1f0e 20401af9 call le_fifo_malloc_tx_l2cap 
+1f0f 1a627e00 copy regc ,pdata 
+1f10 e7e08005 istore 1 ,contw 
+1f11 6fe0c3da fetch 1 ,mem_le_signaling_identifier 
+1f12 e7e08005 istore 1 ,contw 
+1f13 20600000 rtn 
+
+le_l2cap_update_signaling_identifier:
+1f14 6fe0c3da fetch 1 ,mem_le_signaling_identifier 
+1f15 1fe0fe01 pincrease 1 
+1f16 67e0c3da store 1 ,mem_le_signaling_identifier 
+1f17 c1800000 rtnne 0 
+
+le_l2cap_reset_signaling_identifier:
+1f18 7043da01 jam 1 ,mem_le_signaling_identifier 
+1f19 20600000 rtn 
+
+le_pairing_mode_init:
+1f1a 6fe0c39d fetch 1 ,mem_le_pairing_mode 
+1f1b c0001f29 beq le_pairing_mode_none ,le_set_no_pairing 
+1f1c c0009f2c beq le_pairing_mode_lagacy_justwork ,le_set_pairing_mode_lagacy_just_work 
+1f1d c0011f2e beq le_pairing_mode_lagacy_passkey ,le_set_pairing_mode_lagacy_passkey 
+1f1e c0409f22 beq le_pairing_mode_secure_connect_justwork ,le_set_pairing_mode_secure_justwork 
+1f1f c0411f24 beq le_pairing_mode_secure_connect_numeric ,le_set_pairing_mode_secure_numeric 
+1f20 c0419f27 beq le_pairing_mode_secure_connect_passkey ,le_set_pairing_mode_secure_passkey 
+1f21 20600000 rtn 
+
+le_set_pairing_mode_secure_justwork:
+1f22 7043530d jam flag_le_bonding_mitm_secure ,mem_le_pres_auth 
+1f23 20201f2a branch le_set_noinputnooutput 
+
+le_set_pairing_mode_secure_numeric:
+1f24 7043530d jam flag_le_bonding_mitm_secure ,mem_le_pres_auth 
+1f25 70435101 jam flag_iocap_displayyesno ,mem_le_pres_iocap 
+1f26 20600000 rtn 
+
+le_set_pairing_mode_secure_passkey:
+1f27 7043530d jam flag_le_bonding_mitm_secure ,mem_le_pres_auth 
+1f28 20201f2f branch le_set_displayonly 
+
+le_set_no_pairing:
+1f29 70435300 jam flag_le_no_bonding_no_mitm ,mem_le_pres_auth 
+
+le_set_noinputnooutput:
+1f2a 70435103 jam flag_iocap_noinputnooutput ,mem_le_pres_iocap 
+1f2b 20600000 rtn 
+
+le_set_pairing_mode_lagacy_just_work:
+1f2c 70435305 jam flag_le_bonding_mitm ,mem_le_pres_auth 
+1f2d 20201f2a branch le_set_noinputnooutput 
+
+le_set_pairing_mode_lagacy_passkey:
+1f2e 70435305 jam flag_le_bonding_mitm ,mem_le_pres_auth 
+
+le_set_displayonly:
+1f2f 70435100 jam flag_iocap_displayonly ,mem_le_pres_iocap 
+1f30 20600000 rtn 
+
+le_secure_connection_enable:
+1f31 6fe0c6bb fetch 1 ,mem_secure_connections_enable 
+1f32 79207e00 set1 secure_connections_le_bit ,pdata 
+1f33 67e0c6bb store 1 ,mem_secure_connections_enable 
+1f34 20600000 rtn 
+
+le_secure_connection_disable:
+1f35 6fe0c6bb fetch 1 ,mem_secure_connections_enable 
+1f36 793ffe00 set0 secure_connections_le_bit ,pdata 
+1f37 67e0c6bb store 1 ,mem_secure_connections_enable 
+1f38 20600000 rtn 
+
+le_parse_smp:
+1f39 efe08006 ifetch 1 ,contr 
+1f3a c0009f4d beq smp_pairing_request ,le_parse_smp_pairing_request 
+1f3b c0019f74 beq smp_pairing_confirm ,le_parse_smp_pairing_confirm 
+1f3c c0021f95 beq smp_pairing_random ,le_parse_smp_pairing_random 
+1f3d c0029fa2 beq smp_pairing_failed ,le_parse_smp_pairing_failed 
+1f3e c003a00a beq smp_master_identification ,le_parse_smp_master_identification 
+1f3f c0041ff6 beq smp_identity_information ,le_parse_smp_identity_information 
+1f40 c004a006 beq smp_identity_address_information ,le_parse_smp_identity_address_information 
+1f41 c005200a beq smp_signing_information ,le_parse_smp_signing_information 
+1f42 c005a00a beq smp_security_request ,le_parse_smp_security_request 
+1f43 c006200b beq smp_pairing_public_key ,le_parse_smp_public_key 
+1f44 c006a010 beq smp_pairing_dhkey_check ,le_parse_smp_dhkey_check 
+1f45 20600000 rtn 
+
+le_send_smp_security_request:
+1f46 18002202 force 2 ,rega 
+1f47 204020b6 call le_fifo_malloc_tx_l2cap_smp 
+1f48 5800000b setarg smp_security_request 
+1f49 e7e08005 istore 1 ,contw 
+1f4a 6fe0c353 fetch 1 ,mem_le_pres_auth 
+1f4b e7e08005 istore 1 ,contw 
+1f4c 20600000 rtn 
+
+le_parse_smp_pairing_request:
+1f4d 67e0c349 store 1 ,mem_le_preq 
+1f4e efe30006 ifetch 6 ,contr 
+1f4f e7e30005 istore 6 ,contw 
+1f50 6fe0c39d fetch 1 ,mem_le_pairing_mode 
+1f51 c0001fa7 beq le_pairing_mode_none ,le_smp_pairing_fail_reason_not_support_pairing 
+1f52 20401f6f call le_send_smp_pairing_response 
+1f53 6fe0c6b9 fetch 1 ,mem_sc_only_mode 
+1f54 203a1f59 branch le_parse_smp_pairing_request2 ,blank 
+1f55 6fe0c34c fetch 1 ,mem_le_preq_auth 
+1f56 c301b281 bbit0 le_auth_secure_connection_pairing_bit ,app_ble_disconnect 
+1f57 6fe0c39d fetch 1 ,mem_le_pairing_mode 
+1f58 c303b281 bbit0 le_pairing_mode_secure_connect_bit ,app_ble_disconnect 
+
+le_parse_smp_pairing_request2:
+1f59 70439b03 jam flag_le_pairing_rcv_pairing_req ,mem_le_pairing_state 
+1f5a 6fe0c34a fetch 1 ,mem_le_preq_iocap 
+1f5b c0001f61 beq flag_iocap_displayonly ,le_set_tk_0 
+1f5c c0009f61 beq flag_iocap_displayyesno ,le_set_tk_0 
+1f5d c0019f61 beq flag_iocap_noinputnooutput ,le_set_tk_0 
+1f5e 6fe0c39d fetch 1 ,mem_le_pairing_mode 
+1f5f c0011f64 beq le_pairing_mode_lagacy_passkey ,le_parse_smp_pairing_req_passkey 
+1f60 c1418000 rtneq le_pairing_mode_secure_connect_passkey 
+
+le_set_tk_0:
+1f61 dfe00000 arg 0 ,pdata 
+1f62 67e2439e store 4 ,mem_le_tk 
+1f63 20600000 rtn 
+
+le_parse_smp_pairing_req_passkey:
+1f64 6fe0c3c0 fetch 1 ,mem_le_configuration 
+1f65 c2801f6d bbit1 bit_ble_passkey_fixed_key ,le_parse_smp_pairing_req_fixed_passkey 
+
+le_genernate_tk:
+1f66 da20439e arg mem_le_tk ,rega 
+1f67 1a220a00 copy rega ,contw 
+1f68 df200003 arg 3 ,loopcnt 
+1f69 20405a90 call generate_random_loop 
+1f6a 6fe143a0 fetch 2 ,mem_le_tk + 2 
+1f6b 1fe17e07 and_into 0x7 ,pdata 
+1f6c 67e143a0 store 2 ,mem_le_tk + 2 
+
+le_parse_smp_pairing_req_fixed_passkey:
+1f6d 70095b34 jam bt_evt_le_tk_generate ,mem_fifo_temp 
+1f6e 202078dc branch ui_ipc_send_event 
+
+le_send_smp_pairing_response:
+1f6f 18002207 force 7 ,rega 
+1f70 204020b6 call le_fifo_malloc_tx_l2cap_smp 
+1f71 6fe3c350 fetch 7 ,mem_le_pres 
+1f72 e7e38005 istore 7 ,contw 
+1f73 20600000 rtn 
+
+le_parse_smp_pairing_confirm:
+1f74 70439b05 jam flag_le_pairing_receive_pairing_confirm ,mem_le_pairing_state 
+1f75 d8a04327 arg mem_le_rconfirm ,contw 
+1f76 20407d7f call memcpy16 
+1f77 6fe0c39d fetch 1 ,mem_le_pairing_mode 
+1f78 c0419f7c beq le_pairing_mode_secure_connect_passkey ,le_parse_smp_pairing_confirm_secure_passkey 
+1f79 c0021f7f beq le_pairing_mode_lagacy_passkey_res_input ,le_parse_smp_pairing_confirm_passkey_res_input 
+1f7a c0421f81 beq le_pairing_mode_secure_connect_passkey_res_input ,le_parse_smp_pairing_confirm_sc_passkey_res_input 
+1f7b 20201f84 branch le_send_smp_pairing_confirm 
+
+le_parse_smp_pairing_confirm_secure_passkey:
+1f7c 70439802 jam le_sp_flag_commit_256 ,mem_le_secure_connect_flag 
+1f7d 70439908 jam le_sc_stat_passkey_wait_confirm ,mem_le_secure_connect_state 
+1f7e 20600000 rtn 
+
+le_parse_smp_pairing_confirm_passkey_res_input:
+1f7f 70095b43 jam bt_evt_le_get_passkey ,mem_fifo_temp 
+1f80 202078dc branch ui_ipc_send_event 
+
+le_parse_smp_pairing_confirm_sc_passkey_res_input:
+1f81 6fe2439e fetch 4 ,mem_le_tk 
+1f82 203a1f7f branch le_parse_smp_pairing_confirm_passkey_res_input ,blank 
+1f83 20201f7c branch le_parse_smp_pairing_confirm_secure_passkey 
+
+le_send_smp_pairing_confirm:
+1f84 70439b06 jam flag_le_pairing_send_pairing_confirm ,mem_le_pairing_state 
+1f85 6fe0c39d fetch 1 ,mem_le_pairing_mode 
+1f86 c2839f8d bbit1 le_pairing_mode_secure_connect_bit ,le_send_smp_pairing_confirm_sc 
+1f87 20406cba call generate_confirm 
+1f88 18002211 force 17 ,rega 
+1f89 204020b6 call le_fifo_malloc_tx_l2cap_smp 
+1f8a 58000003 setarg smp_pairing_confirm 
+1f8b e7e08005 istore 1 ,contw 
+1f8c 20206e3c branch store_aes_result 
+
+le_send_smp_pairing_confirm_sc:
+1f8d d8a04337 arg mem_le_srand ,contw 
+1f8e 20405a8f call generate_random 
+1f8f 20406ae3 call function_f4_cb 
+1f90 18002211 force 17 ,rega 
+1f91 204020b6 call le_fifo_malloc_tx_l2cap_smp 
+1f92 58000003 setarg smp_pairing_confirm 
+1f93 e7e08005 istore 1 ,contw 
+1f94 20206b1f branch load_inverse_result 
+
+le_parse_smp_pairing_random:
+1f95 18c22200 copy contr ,rega 
+1f96 6fe0c39d fetch 1 ,mem_le_pairing_mode 
+1f97 c2839fa9 bbit1 le_pairing_mode_secure_connect_bit ,le_parse_smp_pairing_random_sc 
+1f98 1a220c00 copy rega ,contr 
+1f99 20406cb2 call authenticate_rconfirm 
+1f9a 20229fbe branch le_parse_smp_pairing_random_success ,zero 
+
+le_send_pairing_confirm_value_failed:
+1f9b 7002d904 jam pairing_failed_confirm_value_failed ,mem_le_ll_pairing_fail_reason 
+
+le_send_pairing_failed:
+1f9c 18002202 force 2 ,rega 
+1f9d 204020b6 call le_fifo_malloc_tx_l2cap_smp 
+1f9e 58000005 setarg smp_pairing_failed 
+1f9f e7e08005 istore 1 ,contw 
+1fa0 6fe082d9 fetch 1 ,mem_le_ll_pairing_fail_reason 
+1fa1 e7e08005 istore 1 ,contw 
+
+le_parse_smp_pairing_failed:
+1fa2 18000e0a force smp_pairing_timer ,queue 
+1fa3 20407dda call timer_stop 
+1fa4 70439b00 jam flag_le_pairing_null ,mem_le_pairing_state 
+1fa5 70095b30 jam bt_evt_le_pairing_fail ,mem_fifo_temp 
+1fa6 202078dc branch ui_ipc_send_event 
+
+le_smp_pairing_fail_reason_not_support_pairing:
+1fa7 7002d905 jam pairing_failed_pairing_not_supported ,mem_le_ll_pairing_fail_reason 
+1fa8 20201f9c branch le_send_pairing_failed 
+
+le_parse_smp_pairing_random_sc:
+1fa9 d8a00277 arg mem_le_mrand ,contw 
+1faa 1a220c00 copy rega ,contr 
+1fab 20407d7f call memcpy16 
+1fac 6fe0c39d fetch 1 ,mem_le_pairing_mode 
+1fad c0419fb5 beq le_pairing_mode_secure_connect_passkey ,le_parse_smp_pairing_random_sc_passkey 
+1fae c0421fb5 beq le_pairing_mode_secure_connect_passkey_res_input ,le_parse_smp_pairing_random_sc_passkey 
+1faf 20406a6d call function_g2 
+1fb0 20401fc3 call le_send_smp_pairing_random 
+1fb1 6fe0c39d fetch 1 ,mem_le_pairing_mode 
+1fb2 c1c10000 rtnne le_pairing_mode_secure_connect_numeric 
+1fb3 70095b3b jam bt_evt_le_gkey_generate ,mem_fifo_temp 
+1fb4 202078dc branch ui_ipc_send_event 
+
+le_parse_smp_pairing_random_sc_passkey:
+1fb5 20406ad8 call function_f4_ca 
+1fb6 d8a009be arg mem_aes_cmac_temp ,contw 
+1fb7 20406b1f call load_inverse_result 
+1fb8 da2009be arg mem_aes_cmac_temp ,rega 
+1fb9 da404327 arg mem_le_rconfirm ,regb 
+1fba df200010 arg 16 ,loopcnt 
+1fbb 20407e66 call string_compare 
+1fbc 24229f9b nbranch le_send_pairing_confirm_value_failed ,zero 
+1fbd 20201fc3 branch le_send_smp_pairing_random 
+
+le_parse_smp_pairing_random_success:
+1fbe 20406cae call generate_stk 
+1fbf 70095b31 jam bt_evt_le_pairing_success ,mem_fifo_temp 
+1fc0 204078dc call ui_ipc_send_event 
+1fc1 70432601 jam 1 ,mem_ltk_exists 
+1fc2 70439b09 jam flag_le_pairing_after_auth ,mem_le_pairing_state 
+
+le_send_smp_pairing_random:
+1fc3 18002211 force 17 ,rega 
+1fc4 204020b6 call le_fifo_malloc_tx_l2cap_smp 
+1fc5 58000004 setarg smp_pairing_random 
+1fc6 e7e08005 istore 1 ,contw 
+1fc7 d8c04337 arg mem_le_srand ,contr 
+1fc8 20207d7f branch memcpy16 
+
+le_send_smp_encryption_information:
+1fc9 18002211 force 17 ,rega 
+1fca 204020b6 call le_fifo_malloc_tx_l2cap_smp 
+1fcb 58000006 setarg smp_encryption_information 
+1fcc e7e08005 istore 1 ,contw 
+1fcd 6fe0c3c0 fetch 1 ,mem_le_configuration 
+1fce c2809fd1 bbit1 bit_ble_pairing_fixed_ltk ,le_send_fixed_ltk 
+1fcf d8c04316 arg mem_le_ltk ,contr 
+1fd0 20207d7f branch memcpy16 
+
+le_send_fixed_ltk:
+1fd1 d8c043c1 arg mem_le_fixed_ltk ,contr 
+1fd2 20207d7f branch memcpy16 
+
+le_send_smp_master_identification:
+1fd3 d8a043a2 arg mem_le_ediv ,contw 
+1fd4 1800720a force 10 ,loopcnt 
+1fd5 20405a90 call generate_random_loop 
+1fd6 1800220b force 11 ,rega 
+1fd7 204020b6 call le_fifo_malloc_tx_l2cap_smp 
+1fd8 58000007 setarg smp_master_identification 
+1fd9 e7e08005 istore 1 ,contw 
+1fda 6fe143a2 fetch 2 ,mem_le_ediv 
+1fdb e7e10005 istore 2 ,contw 
+1fdc 6fe443a4 fetch 8 ,mem_le_rand 
+1fdd e7e40005 istore 8 ,contw 
+1fde 20600000 rtn 
+
+le_send_smp_identity_information:
+1fdf 18002211 force 17 ,rega 
+1fe0 204020b6 call le_fifo_malloc_tx_l2cap_smp 
+1fe1 58000008 setarg smp_identity_information 
+1fe2 e7e08005 istore 1 ,contw 
+1fe3 58000000 setarg 0 
+1fe4 e7e40005 istore 8 ,contw 
+1fe5 e7e40005 istore 8 ,contw 
+1fe6 20600000 rtn 
+
+le_send_smp_identity_address_information:
+1fe7 18002208 force 8 ,rega 
+1fe8 204020b6 call le_fifo_malloc_tx_l2cap_smp 
+1fe9 58000009 setarg smp_identity_address_information 
+1fea e7e08005 istore 1 ,contw 
+1feb 6fe0c371 fetch 1 ,mem_le_conn_own_addr_type 
+1fec e7e08005 istore 1 ,contw 
+1fed 6fe3437a fetch 6 ,mem_le_lap 
+1fee e7e30005 istore 6 ,contw 
+1fef 20600000 rtn 
+
+le_send_pairing_fail_unspecified_reason:
+1ff0 7002d908 jam pairing_failed_unspecified_reason ,mem_le_ll_pairing_fail_reason 
+1ff1 20201f9c branch le_send_pairing_failed 
+
+le_check_init_key_distribution:
+1ff2 6fe0c355 fetch 1 ,mem_le_pres_init_key_distribution 
+1ff3 6848c355 fetcht 1 ,mem_le_pres_init_key_distribution 
+1ff4 98417e00 iand temp ,pdata 
+1ff5 20600000 rtn 
+
+le_parse_smp_identity_information:
+1ff6 d8a043ac arg mem_le_irk ,contw 
+1ff7 20407d7f call memcpy16 
+1ff8 20401ff2 call le_check_init_key_distribution 
+1ff9 2fec0001 isolate0 le_initator_irk_bit ,pdata 
+1ffa 20209ff0 branch le_send_pairing_fail_unspecified_reason ,true 
+1ffb 6fe0c09a fetch 1 ,mem_device_option 
+1ffc c1850000 rtnne dvc_op_module 
+1ffd 20402000 call le_check_master_addr_type 
+1ffe 24740000 nrtn user 
+1fff 2020328f branch app_ble_store_reconn_info 
+
+le_check_master_addr_type:
+2000 20407ec7 call disable_user 
+2001 6fe0c36a fetch 1 ,mem_le_conn_peer_addr_type 
+2002 c1000000 rtneq master_public_addr 
+2003 6fe0c34e fetch 1 ,mem_le_preq_init_key_distribution 
+2004 c4008000 rtnbit0 le_initator_irk_bit 
+2005 20207ec5 branch enable_user 
+
+le_parse_smp_identity_address_information:
+2006 20401ff2 call le_check_init_key_distribution 
+2007 2fec0001 isolate0 le_initator_irk_bit ,pdata 
+2008 20209ff0 branch le_send_pairing_fail_unspecified_reason ,true 
+2009 20600000 rtn 
+
+le_parse_smp_master_identification:
+
+le_parse_smp_signing_information:
+
+le_parse_smp_security_request:
+200a 20600000 rtn 
+
+le_parse_smp_public_key:
+200b d8a00880 arg mem_le_pubkey_remote_x_256 ,contw 
+200c 20407d72 call memcpy64 
+200d 70439802 jam le_sp_flag_commit_256 ,mem_le_secure_connect_flag 
+200e 70439901 jam le_sc_stat_receive_public_key ,mem_le_secure_connect_state 
+200f 20600000 rtn 
+
+le_parse_smp_dhkey_check:
+2010 d8a00930 arg mem_sp_confirm_remote ,contw 
+2011 20407d7f call memcpy16 
+2012 70439906 jam le_sc_stat_receive_dhkey ,mem_le_secure_connect_state 
+2013 70439802 jam le_sp_flag_commit_256 ,mem_le_secure_connect_flag 
+2014 20600000 rtn 
+
+le_send_smp_pairing_public_key:
+2015 18002241 force 65 ,rega 
+2016 204020b6 call le_fifo_malloc_tx_l2cap_smp 
+2017 5800000c setarg smp_pairing_public_key 
+2018 e7e08005 istore 1 ,contw 
+2019 d8c046df arg mem_sc_pubkey_local_x_256 ,contr 
+201a 20207d72 branch memcpy64 
+
+le_send_smp_pairing_dhkey_check:
+201b 20406a84 call function_f6_eb 
+201c 18002211 force 17 ,rega 
+201d 204020b6 call le_fifo_malloc_tx_l2cap_smp 
+201e 5800000d setarg smp_pairing_dhkey_check 
+201f e7e08005 istore 1 ,contw 
+2020 20206b1f branch load_inverse_result 
+
+le_check_paring_time:
+2021 6fe0c39b fetch 1 ,mem_le_pairing_state 
+2022 c17f8000 rtneq flag_le_pairing_end 
+2023 d8400003 arg flag_le_pairing_rcv_pairing_req ,temp 
+2024 98467c00 isub temp ,null 
+2025 24610000 nrtn positive 
+2026 d8e0000a arg smp_pairing_timer ,queue 
+2027 20407de9 call timer_check 
+2028 247a0000 nrtn blank 
+2029 20201ff0 branch le_send_pairing_fail_unspecified_reason 
+
+le_pairing_sm:
+202a 476cc03b bpatchx patch3b_1 ,mem_patch3b 
+202b 20401b24 call le_fifo_check_nearly_full 
+202c 247a0000 nrtn blank 
+202d 6fe0c39b fetch 1 ,mem_le_pairing_state 
+202e c0002037 beq flag_le_pairing_null ,le_pairing_sm_null 
+202f c000a03d beq flag_le_pairing_start ,le_pairing_sm_start 
+2030 c0012037 beq flag_le_pairing_send_recurity_req ,le_pairing_sm_send_sec_req 
+2031 c001a03f beq flag_le_pairing_rcv_pairing_req ,le_pairing_sm_rcv_pairing_req 
+2032 c004a043 beq flag_le_pairing_after_auth ,le_pairing_sm_after_auth 
+2033 c005a053 beq flag_le_paring_send_enc_information ,le_pairng_sm_send_enc_information 
+2034 c0062055 beq flag_le_paring_send_master_identification ,le_pairng_sm_send_master_indentification 
+2035 c006a05c beq flag_le_paring_send_indentity_information ,le_pairng_sm_send_indentity_information 
+2036 20600000 rtn 
+
+le_pairing_sm_null:
+
+le_pairing_sm_send_sec_req:
+2037 6fe0c39c fetch 1 ,mem_le_enc_state 
+2038 c1820000 rtnne flag_le_send_start_enc_rsp 
+2039 70439cff jam flag_le_enc_end ,mem_le_enc_state 
+203a 70439bff jam flag_le_pairing_end ,mem_le_pairing_state 
+203b 70095b3f jam bt_evt_le_reconnect_complete ,mem_fifo_temp 
+203c 202078dc branch ui_ipc_send_event 
+
+le_pairing_sm_start:
+203d 70439b02 jam flag_le_pairing_send_recurity_req ,mem_le_pairing_state 
+203e 20201f46 branch le_send_smp_security_request 
+
+le_pairing_sm_rcv_pairing_req:
+203f 70439b04 jam flag_le_pairing_wait_stk_generation ,mem_le_pairing_state 
+2040 58017700 setarg timer_smp_pairing_timeout 
+2041 d8e0000a arg smp_pairing_timer ,queue 
+2042 20207ddb branch timer_init 
+
+le_pairing_sm_after_auth:
+2043 6fe0c39c fetch 1 ,mem_le_enc_state 
+2044 c0022046 beq flag_le_send_start_enc_rsp ,le_pairing_sm_after_auth_start_enc 
+2045 20600000 rtn 
+
+le_pairing_sm_after_auth_start_enc:
+2046 6fe0c39d fetch 1 ,mem_le_pairing_mode 
+2047 c283a051 bbit1 le_pairing_mode_secure_connect_bit ,le_pairing_sm_after_auth_start_enc_sc 
+2048 70439b0b jam flag_le_paring_send_enc_information ,mem_le_pairing_state 
+2049 20401fc9 call le_send_smp_encryption_information 
+
+le_pairing_sm_after_auth_start_enc_common:
+204a 70095b29 jam bt_evt_le_enc_info ,mem_fifo_temp 
+204b 204078dc call ui_ipc_send_event 
+204c 6fe0c09a fetch 1 ,mem_device_option 
+204d c1850000 rtnne dvc_op_module 
+204e 20402000 call le_check_master_addr_type 
+204f 20740000 rtn user 
+2050 2020328f branch app_ble_store_reconn_info 
+
+le_pairing_sm_after_auth_start_enc_sc:
+2051 70439b0c jam flag_le_paring_send_master_identification ,mem_le_pairing_state 
+2052 2020204a branch le_pairing_sm_after_auth_start_enc_common 
+
+le_pairng_sm_send_enc_information:
+2053 70439b0c jam flag_le_paring_send_master_identification ,mem_le_pairing_state 
+2054 20201fd3 branch le_send_smp_master_identification 
+
+le_pairng_sm_send_master_indentification:
+2055 6fe0c34f fetch 1 ,mem_le_preq_resp_key_distribution 
+2056 6848c356 fetcht 1 ,mem_le_pres_resp_key_distribution 
+2057 98417e00 iand temp ,pdata 
+2058 2fec0001 isolate0 le_initator_irk_bit ,pdata 
+2059 2020a05e branch le_parse_start_enc_rsp_after_auth_end ,true 
+205a 70439b0d jam flag_le_paring_send_indentity_information ,mem_le_pairing_state 
+205b 20201fdf branch le_send_smp_identity_information 
+
+le_pairng_sm_send_indentity_information:
+205c 20401fe7 call le_send_smp_identity_address_information 
+205d 2020205e branch le_parse_start_enc_rsp_after_auth_end 
+
+le_parse_start_enc_rsp_after_auth_end:
+205e 18000e0a force smp_pairing_timer ,queue 
+205f 20407dda call timer_stop 
+2060 70439cff jam flag_le_enc_end ,mem_le_enc_state 
+2061 70439bff jam flag_le_pairing_end ,mem_le_pairing_state 
+2062 70095b3e jam bt_evt_le_pairing_complete ,mem_fifo_temp 
+2063 202078dc branch ui_ipc_send_event 
+
+le_secure_connect_sm:
+2064 476d403b bpatchx patch3b_2 ,mem_patch3b 
+2065 6fe0c39d fetch 1 ,mem_le_pairing_mode 
+2066 c4038000 rtnbit0 le_pairing_mode_secure_connect_bit 
+2067 6fe0c398 fetch 1 ,mem_le_secure_connect_flag 
+2068 c1810000 rtnne le_sp_flag_commit_256 
+2069 70439800 jam sp_flag_standby ,mem_le_secure_connect_flag 
+206a 6fe0c399 fetch 1 ,mem_le_secure_connect_state 
+206b c000a0ac beq le_sc_stat_receive_public_key ,le_sc_sm_receive_public_key 
+206c c00120b3 beq le_sc_stat_wait_send_public_key ,le_sc_sm_wait_send_public_key 
+206d c001a0a4 beq le_sc_stat_send_public_key ,le_sc_sm_send_public_key 
+206e c0032089 beq le_sc_stat_receive_dhkey ,le_sc_sm_receive_dhkey 
+206f c003a080 beq le_sc_stat_wait_confirm_gkey ,le_sc_sm_wait_confirm_gkey 
+2070 c0042076 beq le_sc_stat_passkey_wait_confirm ,le_sc_sm_passkey_wait_confirm 
+2071 20600000 rtn 
+
+le_sc_state_clear:
+2072 70439800 jam sp_flag_standby ,mem_le_secure_connect_flag 
+2073 70439900 jam le_sc_stat_null ,mem_le_secure_connect_state 
+2074 70439a00 jam flag_le_sc_confrim_null ,mem_le_sc_confirm_gkey_flag 
+2075 20600000 rtn 
+
+le_sc_sm_passkey_wait_confirm:
+2076 6fe0c770 fetch 1 ,mem_authentication_passkey_times 
+2077 1fe20e00 copy pdata ,queue 
+2078 1fe0fe01 increase 1 ,pdata 
+2079 67e0c770 store 1 ,mem_authentication_passkey_times 
+207a 6fe2439e fetch 4 ,mem_le_tk 
+207b afefffff qisolate1 pdata 
+207c 58000080 setarg 0x80 
+207d 7920fe00 setflag true ,0 ,pdata 
+207e 67e0c771 store 1 ,mem_passkey_1bit 
+207f 202020a8 branch le_sc_sm_ready_send_pairing_confirm 
+
+le_sc_sm_wait_confirm_gkey:
+2080 6fe0c39a fetch 1 ,mem_le_sc_confirm_gkey_flag 
+2081 70439a00 jam flag_le_sc_confrim_null ,mem_le_sc_confirm_gkey_flag 
+2082 c000a085 beq flag_le_sc_confrim_gkey_ok ,le_sc_confirm_gkey_ok 
+2083 70439802 jam le_sp_flag_commit_256 ,mem_le_secure_connect_flag 
+2084 20600000 rtn 
+
+le_sc_confirm_gkey_ok:
+2085 70095b31 jam bt_evt_le_pairing_success ,mem_fifo_temp 
+2086 204078dc call ui_ipc_send_event 
+2087 70439b09 jam flag_le_pairing_after_auth ,mem_le_pairing_state 
+2088 2020201b branch le_send_smp_pairing_dhkey_check 
+
+le_sc_sm_receive_dhkey:
+2089 6fe0887b fetch 1 ,mem_sp_dhkey_invalid 
+208a c001a08d beq sp_key_valid_256 ,le_dhkey_ready 
+208b 70439802 jam le_sp_flag_commit_256 ,mem_le_secure_connect_flag 
+208c 20600000 rtn 
+
+le_dhkey_ready:
+208d 20406aab call function_f5 
+208e 6fe0c39d fetch 1 ,mem_le_pairing_mode 
+208f c041a092 beq le_pairing_mode_secure_connect_passkey ,le_dhkey_ready_common 
+2090 c0422092 beq le_pairing_mode_secure_connect_passkey_res_input ,le_dhkey_ready_common 
+2091 20401f61 call le_set_tk_0 
+
+le_dhkey_ready_common:
+2092 20406a98 call function_f6_ea 
+2093 da2009be arg mem_aes_cmac_temp ,rega 
+2094 da400930 arg mem_sp_confirm_remote ,regb 
+2095 df200010 arg 16 ,loopcnt 
+2096 20407e66 call string_compare 
+2097 2022a09a branch le_dhkey_check_ok ,zero 
+
+le_dhkey_check_fail:
+2098 7002d90b jam pairing_failed_dhkey_check_failed ,mem_le_ll_pairing_fail_reason 
+2099 20201f9c branch le_send_pairing_failed 
+
+le_dhkey_check_ok:
+209a 20406f58 call sp_calc_check_publickey_256 
+209b 2422a098 nbranch le_dhkey_check_fail ,zero 
+209c 70432601 jam 1 ,mem_ltk_exists 
+209d 6fe0c39d fetch 1 ,mem_le_pairing_mode 
+209e c040a085 beq le_pairing_mode_secure_connect_justwork ,le_sc_confirm_gkey_ok 
+209f c041a085 beq le_pairing_mode_secure_connect_passkey ,le_sc_confirm_gkey_ok 
+20a0 c0422085 beq le_pairing_mode_secure_connect_passkey_res_input ,le_sc_confirm_gkey_ok 
+20a1 70439802 jam le_sp_flag_commit_256 ,mem_le_secure_connect_flag 
+20a2 70439907 jam le_sc_stat_wait_confirm_gkey ,mem_le_secure_connect_state 
+20a3 20600000 rtn 
+
+le_sc_sm_send_public_key:
+20a4 6fe0c39d fetch 1 ,mem_le_pairing_mode 
+20a5 c041a0a9 beq le_pairing_mode_secure_connect_passkey ,le_sc_sm_send_public_key_passkey 
+20a6 c04220a9 beq le_pairing_mode_secure_connect_passkey_res_input ,le_sc_sm_send_public_key_passkey 
+20a7 70477100 jam 0 ,mem_passkey_1bit 
+
+le_sc_sm_ready_send_pairing_confirm:
+20a8 20201f84 branch le_send_smp_pairing_confirm 
+
+le_sc_sm_send_public_key_passkey:
+20a9 70477000 jam 0 ,mem_authentication_passkey_times 
+20aa c1420000 rtneq le_pairing_mode_secure_connect_passkey_res_input 
+20ab 20201f64 branch le_parse_smp_pairing_req_passkey 
+
+le_sc_sm_receive_public_key:
+20ac 70439802 jam le_sp_flag_commit_256 ,mem_le_secure_connect_flag 
+20ad 6fe0c6be fetch 1 ,mem_sc_local_key_invalid 
+20ae c001a0b0 beq sp_key_valid_256 ,le_public_key_ready 
+20af 20600000 rtn 
+
+le_public_key_ready:
+20b0 70439902 jam le_sc_stat_wait_send_public_key ,mem_le_secure_connect_state 
+20b1 70087b00 jam sp_key_invalid ,mem_sp_dhkey_invalid 
+20b2 202075ec branch sp_dhkey_calc_256 
+
+le_sc_sm_wait_send_public_key:
+20b3 70439802 jam le_sp_flag_commit_256 ,mem_le_secure_connect_flag 
+20b4 70439903 jam le_sc_stat_send_public_key ,mem_le_secure_connect_state 
+20b5 20202015 branch le_send_smp_pairing_public_key 
+
+le_fifo_malloc_tx_l2cap_smp:
+20b6 18002406 force le_l2cap_cid_smp ,regb 
+20b7 20201af9 branch le_fifo_malloc_tx_l2cap 
+
+le_parse_ll:
+20b8 6fe0816d fetch 1 ,mem_le_rxbuf_data_ll_opcode 
+20b9 c00020cf beq ll_connection_update_ind ,le_parse_connection_update_ind 
+20ba c000a0d7 beq ll_channel_map_ind ,le_parse_channel_map_ind 
+20bb c00120df beq ll_terminate_ind ,le_parse_terminate_ind 
+20bc c001a0e3 beq ll_enc_req ,le_parse_enc_req 
+20bd c0022102 beq ll_enc_rsp ,le_parse_enc_rsp 
+20be c002a107 beq ll_start_enc_req ,le_parse_start_enc_req 
+20bf c003210b beq ll_start_enc_rsp ,le_parse_start_enc_rsp 
+20c0 c003a110 beq ll_unknown_rsp ,le_parse_unknown_rsp 
+20c1 c0042111 beq ll_feature_req ,le_parse_feature_req 
+20c2 c004a112 beq ll_feature_rsp ,le_parse_feature_rsp 
+20c3 c0052113 beq ll_pause_enc_req ,le_parse_pause_enc_req 
+20c4 c005a117 beq ll_pause_enc_rsp ,le_parse_pause_enc_rsp 
+20c5 c0062118 beq ll_version_ind ,le_parse_version_ind 
+20c6 c006a11a beq ll_reject_ind ,le_parse_reject_ind 
+20c7 c009211b beq ll_ping_req ,le_parse_ping_req 
+20c8 c009a11c beq ll_ping_rsp ,le_parse_ping_rsp 
+20c9 c00a211d beq ll_length_req ,le_parse_length_req 
+20ca c00aa11f beq ll_length_rsp ,le_parse_length_rsp 
+20cb c00b212a beq ll_phy_req ,le_parse_phy_req 
+20cc c00c212b beq ll_phy_update_ind ,le_parse_phy_update_ind 
+20cd 6a60816d fetchr regc ,1 ,mem_le_rxbuf_data_ll_opcode 
+20ce 2020214e branch le_send_unknown_rsp 
+
+le_parse_connection_update_ind:
+20cf efe48006 ifetch 9 ,contr 
+20d0 67e482be store 9 ,mem_le_new_param 
+20d1 efe10006 ifetch 2 ,contr 
+20d2 67e102a7 store 2 ,mem_le_instant 
+20d3 6fe08287 fetch 1 ,mem_le_state 
+20d4 79207e05 set1 lestate_update_param ,pdata 
+20d5 67e08287 store 1 ,mem_le_state 
+20d6 20600000 rtn 
+
+le_parse_channel_map_ind:
+20d7 efe28006 ifetch 5 ,contr 
+20d8 67e282be store 5 ,mem_le_new_map 
+20d9 efe10006 ifetch 2 ,contr 
+20da 67e102a7 store 2 ,mem_le_instant 
+
+le_update_map_enable:
+20db 6fe08287 fetch 1 ,mem_le_state 
+20dc 79207e06 set1 lestate_update_map ,pdata 
+20dd 67e08287 store 1 ,mem_le_state 
+20de 20600000 rtn 
+
+le_parse_terminate_ind:
+20df 58000014 setarg 20 
+20e0 67e102b5 store 2 ,mem_le_superto 
+20e1 67e14394 store 2 ,mem_le_init_superto 
+20e2 20600000 rtn 
+
+le_parse_enc_req:
+20e3 efe40006 ifetch 8 ,contr 
+20e4 67e443a4 store 8 ,mem_le_rand 
+20e5 efe10006 ifetch 2 ,contr 
+20e6 67e143a2 store 2 ,mem_le_ediv 
+20e7 efe40006 ifetch 8 ,contr 
+20e8 67e44384 store 8 ,mem_le_skdm 
+20e9 efe20006 ifetch 4 ,contr 
+20ea 67e246ad store 4 ,mem_ccm_ivm 
+20eb 2040213b call le_send_enc_rsp 
+20ec 476dc03b bpatchx patch3b_3 ,mem_patch3b 
+20ed 6fe0c39b fetch 1 ,mem_le_pairing_state 
+20ee c004a0f5 beq flag_le_pairing_after_auth ,le_parse_enc_req_after_auth 
+20ef 6fe0c3c0 fetch 1 ,mem_le_configuration 
+20f0 c280a0f8 bbit1 bit_ble_pairing_fixed_ltk ,le_parse_enc_req_fixed_ltk 
+20f1 6fe0c48b fetch 1 ,mem_nv_data_number 
+20f2 245a60bc ncall load_device_list_mode_4 ,blank 
+20f3 6fe0c326 fetch 1 ,mem_ltk_exists 
+20f4 c00020fd beq 0 ,le_ltk_lost 
+
+le_parse_enc_req_after_auth:
+20f5 70439c01 jam flag_le_rcv_enc_start ,mem_le_enc_state 
+20f6 20402149 call le_send_start_enc_req 
+20f7 20206cc0 branch generate_sk 
+
+le_parse_enc_req_fixed_ltk:
+20f8 70432601 jam 1 ,mem_ltk_exists 
+20f9 d8c043c1 arg mem_le_fixed_ltk ,contr 
+20fa d8a04316 arg mem_le_ltk ,contw 
+20fb 20407d7f call memcpy16 
+20fc 202020f5 branch le_parse_enc_req_after_auth 
+
+le_ltk_lost:
+20fd 476e403b bpatchx patch3b_4 ,mem_patch3b 
+20fe 70439c00 jam flag_le_enc_null ,mem_le_enc_state 
+20ff 70439b00 jam flag_le_enc_null ,mem_le_pairing_state 
+2100 70095b41 jam bt_evt_le_ltk_lost ,mem_fifo_temp 
+2101 202078dc branch ui_ipc_send_event 
+
+le_parse_enc_rsp:
+2102 efe40006 ifetch 8 ,contr 
+2103 67e4438c store 8 ,mem_le_skds 
+2104 efe20006 ifetch 4 ,contr 
+2105 67e246b1 store 4 ,mem_ccm_ivs 
+2106 20206cc0 branch generate_sk 
+
+le_parse_start_enc_req:
+2107 6fe08287 fetch 1 ,mem_le_state 
+2108 79207e04 set1 lestate_encryption ,pdata 
+2109 67e08287 store 1 ,mem_le_state 
+210a 20600000 rtn 
+
+le_parse_start_enc_rsp:
+210b 20748000 rtn master 
+210c 70095b32 jam bt_evt_le_start_enc ,mem_fifo_temp 
+210d 204078dc call ui_ipc_send_event 
+210e 70439c04 jam flag_le_send_start_enc_rsp ,mem_le_enc_state 
+210f 2020214c branch le_send_start_enc_rsp 
+
+le_parse_unknown_rsp:
+2110 20600000 rtn 
+
+le_parse_feature_req:
+2111 20202153 branch le_send_feature_rsp 
+
+le_parse_feature_rsp:
+2112 20600000 rtn 
+
+le_parse_pause_enc_req:
+2113 70439c02 jam flag_le_enc_pause ,mem_le_enc_state 
+2114 2040215a call le_send_pause_enc_rsp 
+2115 70095b33 jam bt_evt_le_pause_enc ,mem_fifo_temp 
+2116 202078dc branch ui_ipc_send_event 
+
+le_parse_pause_enc_rsp:
+2117 20600000 rtn 
+
+le_parse_version_ind:
+2118 20748000 rtn master 
+2119 2020215c branch le_send_version_ind 
+
+le_parse_reject_ind:
+211a 20600000 rtn 
+
+le_parse_ping_req:
+211b 20202168 branch le_send_ping_rsp 
+
+le_parse_ping_rsp:
+211c 20600000 rtn 
+
+le_parse_length_req:
+211d 2040211f call le_parse_length_rsp 
+211e 2020216c branch le_send_data_length_res 
+
+le_parse_length_rsp:
+211f efe40006 ifetch 8 ,contr 
+2120 67e44444 store 8 ,mem_remote_rx_max_octets 
+2121 6fe14444 fetch 2 ,mem_remote_rx_max_octets 
+2122 68494450 fetcht 2 ,mem_local_tx_max_octets 
+2123 20407ebb call not_greater_than 
+2124 67e14444 store 2 ,mem_remote_rx_max_octets 
+2125 6fe14448 fetch 2 ,mem_remote_tx_max_octets 
+2126 6849444c fetcht 2 ,mem_local_rx_max_octets 
+2127 20407ebb call not_greater_than 
+2128 67e14448 store 2 ,mem_remote_tx_max_octets 
+2129 20600000 rtn 
+
+le_parse_phy_req:
+212a 20202172 branch le_send_phy_rsp 
+
+le_parse_phy_update_ind:
+212b efe10006 ifetch 2 ,contr 
+212c 67e102be store 2 ,mem_le_new_m2s_phy 
+212d efe10006 ifetch 2 ,contr 
+212e 67e102a7 store 2 ,mem_le_instant 
+212f 207a0000 rtn blank 
+2130 6fe08287 fetch 1 ,mem_le_state 
+2131 79207e07 set1 lestate_update_phy ,pdata 
+2132 67e08287 store 1 ,mem_le_state 
+2133 20600000 rtn 
+
+le_send_terminate_ind_user_terminated:
+2134 da600013 arg error_remote_user_terminated_connection ,regc 
+
+le_send_terminate_ind:
+2135 da200002 arg 2 ,rega 
+2136 da400002 arg ll_terminate_ind ,regb 
+2137 20401af4 call le_fifo_malloc_tx_ll 
+2138 1a627e00 copy regc ,pdata 
+2139 e7e08005 istore 1 ,contw 
+213a 20600000 rtn 
+
+le_send_enc_rsp:
+213b d8a0438c arg mem_le_skds ,contw 
+213c 18007208 force 8 ,loopcnt 
+213d 20405a90 call generate_random_loop 
+213e d8a046b1 arg mem_ccm_ivs ,contw 
+213f 18007204 force 4 ,loopcnt 
+2140 20405a90 call generate_random_loop 
+2141 da20000d arg 13 ,rega 
+2142 da400004 arg ll_enc_rsp ,regb 
+2143 20401af4 call le_fifo_malloc_tx_ll 
+2144 6fe4438c fetch 8 ,mem_le_skds 
+2145 e7e40005 istore 8 ,contw 
+2146 6fe246b1 fetch 4 ,mem_ccm_ivs 
+2147 e7e20005 istore 4 ,contw 
+2148 20600000 rtn 
+
+le_send_start_enc_req:
+2149 70439c05 jam flag_le_send_start_enc_req ,mem_le_enc_state 
+214a da400005 arg ll_start_enc_req ,regb 
+214b 2020217c branch le_send_ll_one_lenth 
+
+le_send_start_enc_rsp:
+214c da400006 arg ll_start_enc_rsp ,regb 
+214d 2020217c branch le_send_ll_one_lenth 
+
+le_send_unknown_rsp:
+214e da200002 arg 2 ,rega 
+214f da400007 arg ll_unknown_rsp ,regb 
+2150 20401af4 call le_fifo_malloc_tx_ll 
+2151 e2608005 istorer regc ,1 ,contw 
+2152 20600000 rtn 
+
+le_send_feature_rsp:
+2153 da200009 arg 9 ,rega 
+2154 da400009 arg ll_feature_rsp ,regb 
+2155 20401af4 call le_fifo_malloc_tx_ll 
+2156 6fe4443a fetch 8 ,mem_le_local_feature 
+2157 1fe1fe01 or pdata ,fun_ll_feature_le_encryption ,pdata 
+2158 e7e40005 istore 8 ,contw 
+2159 20600000 rtn 
+
+le_send_pause_enc_rsp:
+215a da40000b arg ll_pause_enc_rsp ,regb 
+215b 2020217c branch le_send_ll_one_lenth 
+
+le_send_version_ind:
+215c da200006 arg 6 ,rega 
+215d da40000c arg ll_version_ind ,regb 
+215e 20401af4 call le_fifo_malloc_tx_ll 
+215f 6fe2c5fa fetch 5 ,mem_lmp_version 
+2160 e7e28005 istore 5 ,contw 
+2161 20600000 rtn 
+
+le_send_reject_ind:
+2162 da200002 arg 2 ,rega 
+2163 da40000d arg ll_reject_ind ,regb 
+2164 20401af4 call le_fifo_malloc_tx_ll 
+2165 58000006 setarg le_err_pin_or_key_missing 
+2166 e7e08005 istore 1 ,contw 
+2167 20600000 rtn 
+
+le_send_ping_rsp:
+2168 da400013 arg ll_ping_rsp ,regb 
+2169 2020217c branch le_send_ll_one_lenth 
+
+le_send_data_length_req:
+216a da400014 arg ll_length_req ,regb 
+216b 2020216d branch le_send_data_length 
+
+le_send_data_length_res:
+216c da400015 arg ll_length_rsp ,regb 
+
+le_send_data_length:
+216d da200009 arg 9 ,rega 
+216e 20401af4 call le_fifo_malloc_tx_ll 
+216f 6fe4444c fetch 8 ,mem_local_rx_max_octets 
+2170 e7e40005 istore 8 ,contw 
+2171 20600000 rtn 
+
+le_send_phy_rsp:
+2172 da200003 arg 3 ,rega 
+2173 da400017 arg ll_phy_rsp ,regb 
+2174 20401af4 call le_fifo_malloc_tx_ll 
+2175 6fe0c442 fetch 1 ,mem_le_tx_phys 
+2176 1fe17e07 and pdata ,0x07 ,pdata 
+2177 e7e08005 istore 1 ,contw 
+2178 6fe0c443 fetch 1 ,mem_le_rx_phys 
+2179 1fe17e07 and pdata ,0x07 ,pdata 
+217a e7e08005 istore 1 ,contw 
+217b 20600000 rtn 
+
+le_send_ll_one_lenth:
+217c da200001 arg 1 ,rega 
+217d 20201af4 branch le_fifo_malloc_tx_ll 
+
+g24_dispatch:
+217e 476ec03b bpatchx patch3b_5 ,mem_patch3b 
+217f c513a3e1 bmark1 mark_24g_rxmode ,g24_receive_dispatch 
+2180 20202622 branch g24_transmit_dispatch 
+
+g24_prep:
+2181 7844fc00 disable enable_crc 
+2182 7843fc00 disable enable_white 
+2183 58555555 setarg 0x555555 
+2184 98001e00 iforce crc24_init 
+2185 6fe0c83d fetch 1 ,mem_24g_ch 
+2186 2020166f branch le_prep + 5 
+
+g24_receive_packet:
+2187 476f403b bpatchx patch3b_6 ,mem_patch3b 
+2188 6fe0c867 fetch 1 ,mem_24g_rx_phy 
+2189 20401637 call le_enable_phy_by_pdata 
+218a 6fe2483f fetch 4 ,mem_24g_addr 
+218b 98001200 iforce access 
+218c 204010ac call calc_mod_value_scale_le 
+218d 2040115d call set_sync_on 
+218e 6848c83d fetcht 1 ,mem_24g_ch 
+218f 20401674 call le_rf_rx_enable 
+
+g24_receive_rxon:
+2190 20402181 call g24_prep 
+2191 c597a195 bmark0 mark_ble_lr ,g24_receive_nolr 
+2192 783cfc00 pulse dewhiten_code_calc 
+2193 2000001e nop 30 
+2194 20402181 call g24_prep 
+
+g24_receive_nolr:
+2195 7857fc00 disable user3 
+2196 7826fc00 enable decode_fec0 
+2197 7830fc00 enable is_rx 
+2198 78507c00 disable is_tx 
+2199 78287c00 enable swfine 
+219a 6fe1483b fetch 2 ,mem_24g_rx_window 
+219b 98003600 iforce stop_watch 
+219c 37c18400 correlate null ,timeout 
+219d 242c21ef nbranch g24_sync_timeout ,sync 
+219e 20404d0d call rf_debug_rx_sync_line 
+219f c517a1a4 bmark1 mark_ble_lr ,g24_receive_skip_fec1 
+21a0 6fe0c87a fetch 1 ,mem_24g_disable_fec1 
+21a1 243a21a4 nbranch g24_receive_skip_fec1 ,blank 
+21a2 7846fc00 disable decode_fec0 
+21a3 7825fc00 enable decode_fec1 
+
+g24_receive_skip_fec1:
+21a4 7823fc00 enable enable_white 
+21a5 7824fc00 enable enable_crc 
+21a6 204021ec call g24_receive_byte 
+21a7 67e0c85d store 1 ,mem_24g_get_syncword_crc8 
+21a8 6848c85c fetcht 1 ,mem_24g_syncword_crc8 
+21a9 98467c00 isub temp ,null 
+21aa 2422a1f1 nbranch g24_end_of_packet ,zero 
+21ab 476fc03b bpatchx patch3b_7 ,mem_patch3b 
+21ac 7858fc00 disable user7 
+21ad 280ffe2f isolate1 mark_ble_lr ,mark 
+21ae 2040a1de call g24_lr_receive_pdu_len ,true 
+21af 2038a1f1 branch g24_end_of_packet ,user7 
+21b0 204021ec call g24_receive_byte 
+21b1 67e0c7a7 store 1 ,mem_24g_rxbuf 
+21b2 c513a1b7 bmark1 mark_24g_rxmode ,g24_receive_skip 
+21b3 6fe0c7a7 fetch 1 ,mem_24g_rxbuf 
+21b4 6848c839 fetcht 1 ,mem_24g_data_type 
+21b5 a8400e00 icompare bits_data ,temp 
+21b6 2420a1f1 nbranch g24_end_of_packet ,true 
+
+g24_receive_skip:
+21b7 204021ec call g24_receive_byte 
+21b8 280ffe2f isolate1 mark_ble_lr ,mark 
+21b9 2040a1e7 call g24_lr_receive_payload_len ,true 
+21ba e7e08005 istore 1 ,contw 
+21bb 1fe97e00 rshift3 pdata ,pdata 
+21bc 1fe67c1f sub pdata ,0x1f ,null 
+21bd 242121f1 nbranch g24_end_of_packet ,positive 
+21be 1fe27200 copy pdata ,loopcnt 
+21bf 2022a1c3 branch g24rx_nopayload ,zero 
+
+g24rx_loop:
+21c0 204021ec call g24_receive_byte 
+21c1 e7e08005 istore 1 ,contw 
+21c2 c20021c0 loop g24rx_loop 
+
+g24rx_nopayload:
+21c3 c513a1c8 bmark1 mark_24g_rxmode ,g24_receive_skip_rssi 
+21c4 18a22200 copy contw ,rega 
+21c5 204021ec call g24_receive_byte 
+21c6 67e0c882 store 1 ,mem_rssi_hex_received 
+21c7 1a220a00 copy rega ,contw 
+
+g24_receive_skip_rssi:
+21c8 09800018 parse demod ,bucket ,24 
+21c9 1fef7e00 rshift32 pdata ,pdata 
+21ca 1ff17e00 rshift16 pdata ,pdata 
+21cb e7e18005 istore 3 ,contw 
+21cc 6fe0c87a fetch 1 ,mem_24g_disable_fec1 
+21cd 243a21dc nbranch g24_receive_skip_disable_fec1 ,blank 
+21ce 7845fc00 disable decode_fec1 
+
+g24_receive_skip_next:
+21cf 280ffe27 isolate1 mark_24g_rxmode ,mark 
+21d0 2040a5e5 call save_rssi_dec ,true 
+21d1 202321f1 branch g24_end_of_packet ,crc_failed 
+21d2 20404d0c call rf_debug_rx_crc_line 
+21d3 7837fc00 enable user3 
+21d4 2040175c call le_match_set_txfreq 
+21d5 4770403c bpatchx patch3c_0 ,mem_patch3c 
+21d6 c6138000 rtnmark1 mark_24g_rxmode 
+21d7 6fe0c882 fetch 1 ,mem_rssi_hex_received 
+21d8 6848c8d1 fetcht 1 ,mem_rssi_hex_received_max_value 
+21d9 98467c00 isub temp ,null 
+21da 20417ebd call copy_temp2pdata ,positive 
+21db 202025e9 branch rssi_signal 
+
+g24_receive_skip_disable_fec1:
+21dc 7846fc00 disable decode_fec0 
+21dd 202021cf branch g24_receive_skip_next 
+
+g24_lr_receive_pdu_len:
+21de 204021ec call g24_receive_byte 
+21df 1fe67c01 sub pdata ,1 ,null 
+21e0 20217ecd branch enable_user7 ,positive 
+21e1 1fe0fffe increase -2 ,pdata 
+21e2 c513a1e5 bmark1 mark_24g_rxmode ,g24_lr_receive_pdu_norssi 
+21e3 203a7ecd branch enable_user7 ,blank 
+21e4 1fe0ffff increase -1 ,pdata 
+
+g24_lr_receive_pdu_norssi:
+21e5 67e08964 store 1 ,mem_temp 
+21e6 20600000 rtn 
+
+g24_lr_receive_payload_len:
+21e7 1fe17e07 and_into 0x07 ,pdata 
+21e8 68488964 fetcht 1 ,mem_temp 
+21e9 18498400 lshift3 temp ,temp 
+21ea 9841fe00 ior temp ,pdata 
+21eb 20600000 rtn 
+
+g24_receive_byte:
+21ec 09800008 parse demod ,bucket ,8 
+21ed 19897e00 rshift3 pwindow ,pdata 
+21ee 20600000 rtn 
+
+g24_sync_timeout:
+21ef 280ffe27 isolate1 mark_24g_rxmode ,mark 
+21f0 2040a601 call rssi_noise ,true 
+
+g24_end_of_packet:
+21f1 2040165e call le_disable 
+21f2 784dfc00 disable encode_fec1 
+21f3 7845fc00 disable decode_fec1 
+21f4 20200e7c branch end_of_packet 
+
+g24_set_freq_tx:
+21f5 2040115d call set_sync_on 
+21f6 6848c83d fetcht 1 ,mem_24g_ch 
+21f7 20201201 branch set_freq_tx 
+
+g24_transmit:
+21f8 4770c03c bpatchx patch3c_1 ,mem_patch3c 
+21f9 6fe0c868 fetch 1 ,mem_24g_tx_phy 
+21fa 20401637 call le_enable_phy_by_pdata 
+21fb 6fe2483f fetch 4 ,mem_24g_addr 
+21fc 98001200 iforce access 
+21fd 20402181 call g24_prep 
+21fe 204021f5 call g24_set_freq_tx 
+21ff 79202a00 set1 txgfsk ,radio_ctrl 
+2200 782efc00 enable encode_fec0 
+2201 78307c00 enable is_tx 
+2202 7850fc00 disable is_rx 
+2203 20404d13 call rf_debug_tx_on_line 
+2204 785d7c00 disable lr_s2en 
+2205 c517a229 bmark1 mark_ble_lr ,g24_transmit_lr 
+2206 c516a23b bmark1 mark_ble_2m ,g24_transmit_2m 
+2207 19317e00 rshift16 access ,pdata 
+2208 1fecfe00 rshift8 pdata ,pdata 
+2209 1ff1fe00 rshift4 pdata ,pdata 
+220a 08008628 inject mod ,40 
+
+g24_transmit_packet:
+220b c517a210 bmark1 mark_ble_lr ,g24_transmit_nolr 
+220c 6fe0c87a fetch 1 ,mem_24g_disable_fec1 
+220d 243a2210 nbranch g24_transmit_nolr ,blank 
+220e 784efc00 disable encode_fec0 
+220f 782dfc00 enable encode_fec1 
+
+g24_transmit_nolr:
+2210 7823fc00 enable enable_white 
+2211 7824fc00 enable enable_crc 
+2212 6fe0c83a fetch 1 ,mem_24g_txlen 
+2213 98007200 iforce loopcnt 
+2214 d8c047e9 arg mem_24g_txpayload ,contr 
+
+g24tr_loop:
+2215 efe08006 ifetch 1 ,contr 
+2216 08008608 inject mod ,8 
+2217 c2002215 loop g24tr_loop 
+2218 78247c00 enable enable_parity 
+2219 08008618 inject mod ,24 
+221a 78447c00 disable enable_parity 
+221b c597a21f bmark0 mark_ble_lr ,g24_transmit_skip 
+221c 7843fc00 disable enable_white 
+221d 58000000 setarg 0 
+221e 08008603 inject mod ,3 
+
+g24_transmit_skip:
+221f 37d38200 until null ,tx_clear 
+2220 20000064 nop 100 
+2221 785d7c00 disable lr_s2en 
+2222 784efc00 disable encode_fec0 
+2223 6fe0c87a fetch 1 ,mem_24g_disable_fec1 
+2224 243a2226 nbranch g24_transmit_skip_disable_fec1 ,blank 
+2225 784dfc00 disable encode_fec1 
+
+g24_transmit_skip_disable_fec1:
+2226 785c7c00 disable encode_fec3 
+2227 2040115d call set_sync_on 
+2228 20204d11 branch rf_debug_tx_off_line 
+
+g24_transmit_lr:
+2229 df20000a arg 10 ,loopcnt 
+
+g24_transmit_lr_preamble_loop:
+222a 5800003c setarg 0x3c 
+222b 08008608 inject mod ,8 
+222c c200222a loop g24_transmit_lr_preamble_loop 
+222d 784efc00 disable encode_fec0 
+222e 783c7c00 enable encode_fec3 
+222f 19317e00 rshift16 access ,pdata 
+2230 1ff17e00 rshift16 pdata ,pdata 
+2231 1ff1fe00 rshift4 pdata ,pdata 
+2232 08008620 inject mod ,32 
+2233 c5172238 bmark1 mark_ble_lr_s8 ,g24_transmit_lr_s8 
+
+g24_transmit_lr_s2:
+2234 58000001 setarg 1 
+2235 08008605 inject mod ,5 
+2236 783d7c00 enable lr_s2en 
+2237 2020220b branch g24_transmit_packet 
+
+g24_transmit_lr_s8:
+2238 58000000 setarg 0 
+2239 08008605 inject mod ,5 
+223a 2020220b branch g24_transmit_packet 
+
+g24_transmit_2m:
+223b 6fe0c1f0 fetch 1 ,mem_system_clk 
+223c 1fe37200 rshift pdata ,loopcnt 
+
+g24_transmit_2m_dealy:
+223d 20000002 nop 2 
+223e c200223d loop g24_transmit_2m_dealy 
+223f 19317e00 rshift16 access ,pdata 
+2240 1fecfe00 rshift8 pdata ,pdata 
+2241 1ff18400 rshift4 pdata ,temp 
+2242 18427e00 copy temp ,pdata 
+2243 08008608 inject mod ,8 
+2244 18427e00 copy temp ,pdata 
+2245 08008628 inject mod ,40 
+2246 2020220b branch g24_transmit_packet 
+
+g24_transmit_prep:
+2247 6fe0c868 fetch 1 ,mem_24g_tx_phy 
+2248 c2812266 bbit1 bit_le_coded_phy ,g24_lr_transmit_prep 
+2249 6fe0c838 fetch 1 ,mem_24g_datalen 
+224a 1fe0fe03 increase 3 ,pdata 
+224b 67e0c83a store 1 ,mem_24g_txlen 
+224c 6fe0c85c fetch 1 ,mem_24g_syncword_crc8 
+224d 67e0c7e9 store 1 ,mem_24g_txpayload 
+224e 6fe0c839 fetch 1 ,mem_24g_data_type 
+224f e7e08005 istore 1 ,contw 
+2250 6fe0c838 fetch 1 ,mem_24g_datalen 
+
+g24_transmit_prep_pdu:
+2251 1fe9fe00 lshift3 pdata ,pdata 
+2252 6848c82e fetcht 1 ,mem_24g_pid 
+2253 18410403 and temp ,0x03 ,temp 
+2254 18438400 lshift temp ,temp 
+2255 9841fe00 ior temp ,pdata 
+2256 6848c82f fetcht 1 ,mem_24g_no_ack 
+2257 9840fe00 iadd temp ,pdata 
+2258 e7e08005 istore 1 ,contw 
+2259 6fe0c838 fetch 1 ,mem_24g_datalen 
+225a 98007200 iforce loopcnt 
+225b d8c047c9 arg mem_24g_txbuf ,contr 
+225c 20407dd4 call memcpy 
+225d c6938000 rtnmark0 mark_24g_rxmode 
+225e 6fe08154 fetch 1 ,mem_rssi_hex 
+225f e7e08005 istore 1 ,contw 
+2260 6fe0c868 fetch 1 ,mem_24g_tx_phy 
+2261 c3810000 rtnbit1 bit_le_coded_phy 
+2262 6fe0c83a fetch 1 ,mem_24g_txlen 
+2263 1fe0fe01 increase 1 ,pdata 
+2264 67e0c83a store 1 ,mem_24g_txlen 
+2265 20600000 rtn 
+
+g24_lr_transmit_prep:
+2266 6fe0c838 fetch 1 ,mem_24g_datalen 
+2267 1fe0fe04 increase 4 ,pdata 
+2268 c593a26a bmark0 mark_24g_rxmode ,g24_lr_transmit_prep_skip 
+2269 1fe0fe01 increase 1 ,pdata 
+
+g24_lr_transmit_prep_skip:
+226a 67e0c83a store 1 ,mem_24g_txlen 
+226b 6fe0c85c fetch 1 ,mem_24g_syncword_crc8 
+226c 67e0c7e9 store 1 ,mem_24g_txpayload 
+226d 6fe0c83a fetch 1 ,mem_24g_txlen 
+226e 1fe0fffe increase -2 ,pdata 
+226f e7e08005 istore 1 ,contw 
+2270 6fe0c839 fetch 1 ,mem_24g_data_type 
+2271 e7e08005 istore 1 ,contw 
+2272 58000000 setarg 0 
+2273 20202251 branch g24_transmit_prep_pdu 
+
+g24_read_len_pid_crc:
+2274 6fe0c7a8 fetch 1 ,mem_24g_rxbuf + 1 
+2275 1fe97e00 rshift3 pdata ,pdata 
+2276 67e0c82d store 1 ,mem_24g_rxdata_length 
+2277 1fe0fe01 increase 1 ,pdata 
+2278 d8c047a8 arg mem_24g_rxbuf + 1 ,contr 
+2279 98c08c00 iadd contr ,contr 
+227a efe18006 ifetch 3 ,contr 
+227b 67e1c830 store 3 ,mem_24g_sta_crc 
+227c 6fe0c7a8 fetch 1 ,mem_24g_rxbuf + 1 
+227d 1fe37e00 rshift pdata ,pdata 
+227e 1fe17e03 and pdata ,0x03 ,pdata 
+227f 67e0c836 store 1 ,mem_24g_sta_pid 
+2280 20600000 rtn 
+
+g24_ch:
+2281 6848c83e fetcht 1 ,mem_24g_current_ch_number 
+2282 20402285 call g24_ch_map_size 
+2283 6048c83e storet 1 ,mem_24g_current_ch_number 
+2284 20600000 rtn 
+
+g24_ch_map_size:
+2285 20402289 call g24_ch_calc 
+2286 18408401 increase 1 ,temp 
+2287 18410403 and_into 3 ,temp 
+2288 20600000 rtn 
+
+g24_ch_calc:
+2289 6fe0c83f fetch 1 ,mem_24g_addr 
+228a 1fe17e03 and_into 0x03 ,pdata 
+228b 1fefa204 mul32 pdata ,4 ,rega 
+228c 58004843 setarg mem_24g_ch_map1 
+228d 9a20fe00 iadd rega ,pdata 
+228e 98408c00 iadd temp ,contr 
+228f efe08006 ifetch 1 ,contr 
+2290 67e0c83d store 1 ,mem_24g_ch 
+2291 20600000 rtn 
+
+g24_update_addr_and_synccrc8:
+2292 67e2483f store 4 ,mem_24g_addr 
+
+g24_syncword_crc8:
+2293 da200000 arg 0 ,rega 
+2294 df200004 arg 4 ,loopcnt 
+2295 d8c0483f arg mem_24g_addr ,contr 
+
+g24_syncword_crc8_loop:
+2296 efe08006 ifetch 1 ,contr 
+2297 9a20a200 iadd rega ,rega 
+2298 c2002296 loop g24_syncword_crc8_loop 
+2299 1a227e00 copy rega ,pdata 
+229a 67e1485a store 2 ,mem_24g_syncword 
+229b 6fe0c85a fetch 1 ,mem_24g_syncword 
+229c 6848c85b fetcht 1 ,mem_24g_syncword + 1 
+229d 9840fe00 iadd temp ,pdata 
+229e 67e0c85c store 1 ,mem_24g_syncword_crc8 
+229f 20600000 rtn 
+
+g24_timer_check:
+22a0 20407ec7 call disable_user 
+22a1 684a4853 fetcht 4 ,mem_24g_tx_btclk 
+22a2 1c427e00 copy clkn_bt ,pdata 
+22a3 98467c00 isub temp ,null 
+22a4 244122af ncall g24_timer_timeout ,positive 
+22a5 1fe22400 copy pdata ,regb 
+22a6 6fe24853 fetch 4 ,mem_24g_tx_btclk 
+22a7 6848c857 fetcht 1 ,mem_24g_interval 
+22a8 98408400 iadd temp ,temp 
+22a9 1a427e00 copy regb ,pdata 
+22aa 98467c00 isub temp ,null 
+22ab 24610000 nrtn positive 
+22ac 793ffe1c set0 28 ,pdata 
+22ad 67e24853 store 4 ,mem_24g_tx_btclk 
+22ae 20207ec5 branch enable_user 
+
+g24_timer_timeout:
+22af 20628000 rtn zero 
+22b0 79207e1c set1 28 ,pdata 
+22b1 20600000 rtn 
+
+g24_timer_init:
+22b2 58000000 setarg 0 
+22b3 67e24853 store 4 ,mem_24g_tx_btclk 
+22b4 20600000 rtn 
+
+g24_chmap_param_init:
+22b5 38001300 setsect 0 ,0x1300 
+22b6 3805908b setsect 1 ,0x1908b 
+22b7 380b6150 setsect 2 ,0x36150 
+22b8 380c3d20 setsect 3 ,0x3d20 
+22b9 67e4c843 store 9 ,mem_24g_ch_map1 
+22ba 38003a1a setsect 0 ,0x3a1a 
+22bb 3804c453 setsect 1 ,0xc453 
+22bc 3808d312 setsect 2 ,0xd312 
+22bd 380c0001 setsect 3 ,0x1 
+22be e7e38005 istore 7 ,contw 
+22bf 6fe0c869 fetch 1 ,mem_24g_ch_map_update 
+22c0 207a0000 rtn blank 
+22c1 d8c0486a arg mem_24g_ch_update_map1 ,contr 
+22c2 d8a04843 arg mem_24g_ch_map1 ,contw 
+22c3 20207d7f branch memcpy16 
+
+g24_chamap_param_update:
+22c4 584e001e setarg 0x4e001e 
+22c5 67e1c86b store 3 ,mem_24g_ch_update_map1 + 1 
+22c6 58032303 setarg 0x032303 
+22c7 e7e18005 istore 3 ,contw 
+22c8 58250642 setarg 0x250642 
+22c9 e7e18005 istore 3 ,contw 
+22ca 58094c06 setarg 0x094c06 
+22cb e7e18005 istore 3 ,contw 
+22cc 583c0927 setarg 0x3c0927 
+22cd e7e18005 istore 3 ,contw 
+22ce 70486901 jam 1 ,mem_24g_ch_map_update 
+22cf 20600000 rtn 
+
+g24_rx_window_init:
+22d0 d8406978 arg 0x6978 ,temp 
+22d1 c513a2d6 bmark1 mark_24g_rxmode ,g24_rx_window_store 
+22d2 d84012c0 arg 0x12c0 ,temp 
+22d3 6fe0c867 fetch 1 ,mem_24g_rx_phy 
+22d4 c30122d6 bbit0 2 ,g24_rx_window_store 
+22d5 d8402ee0 arg 0x2ee0 ,temp 
+
+g24_rx_window_store:
+22d6 6049483b storet 2 ,mem_24g_rx_window 
+22d7 20600000 rtn 
+
+g24_enable_1m:
+22d8 70486701 jam 0x01 ,mem_24g_rx_phy 
+22d9 70486801 jam 0x01 ,mem_24g_tx_phy 
+22da 20600000 rtn 
+
+g24_pair_param_init:
+22db 70487f4e jam 0x4e ,mem_24g_pair_ch 
+22dc 58101520 setarg 0x101520 
+22dd 67e1c87b store 3 ,mem_24g_pair_addr 
+22de 58000005 setarg 0x05 
+22df e7e08005 istore 1 ,contw 
+22e0 20600000 rtn 
+
+g24_pair_timeout_timer:
+22e1 da604887 arg mem_24g_pair_timeout ,regc 
+22e2 da402683 arg g24_stop_24g_mode ,regb 
+22e3 20203203 branch timer_single_step_2b 
+
+g24_pair_start:
+22e4 79200026 set1 mark_24g ,mark 
+22e5 6fe0c8a5 fetch 1 ,mem_24g_conn_sm 
+22e6 793ffe02 set0 state_24g_reconn ,pdata 
+22e7 79207e01 set1 state_24g_pair ,pdata 
+22e8 67e0c8a5 store 1 ,mem_24g_conn_sm 
+22e9 58000000 setarg 0 
+22ea 67e1488b store 2 ,mem_24g_reconn_timeout 
+22eb 6fe14885 fetch 2 ,mem_24g_pair_timeout_init 
+22ec 67e14887 store 2 ,mem_24g_pair_timeout 
+22ed 70488400 jam 0 ,mem_24g_pair_no_ack 
+22ee 20402322 call g24_pair_sm_reinit 
+
+g24_pair_init_param:
+22ef 70482e00 jam 0 ,mem_24g_pid 
+22f0 6fe0c87f fetch 1 ,mem_24g_pair_ch 
+22f1 67e0c83d store 1 ,mem_24g_ch 
+22f2 6fe0c880 fetch 1 ,mem_24g_pair_tx_power 
+22f3 67e0c1e8 store 1 ,mem_tx_power 
+22f4 6fe2487b fetch 4 ,mem_24g_pair_addr 
+22f5 20202292 branch g24_update_addr_and_synccrc8 
+
+g24_pair_dispatch:
+22f6 4771403c bpatchx patch3c_2 ,mem_patch3c 
+22f7 6fe0c883 fetch 1 ,mem_24g_pair_sm 
+22f8 c07fa344 beq state_24g_pairing_success ,g24_pair_exit 
+22f9 c000a2fe beq state_24g_pairing_1 ,g24_pair_sm_1 
+22fa c0012300 beq state_24g_pairing_2 ,g24_pair_sm_2 
+22fb c001a306 beq state_24g_pairing_3 ,g24_pair_sm_3 
+22fc c002230c beq state_24g_pairing_4 ,g24_pair_sm_4 
+22fd 20600000 rtn 
+
+g24_pair_sm_1:
+22fe 7047c9ff jam datatype_attemp ,mem_24g_txbuf 
+22ff 2020230d branch g24_pair_sm_prep 
+
+g24_pair_sm_2:
+2300 6fe0c85e fetch 1 ,mem_24g_pair_switch 
+2301 203a2304 branch g24_pair_sm_2_skip ,blank 
+2302 6fe248ad fetch 4 ,mem_24g_device_addr 
+2303 20402292 call g24_update_addr_and_synccrc8 
+
+g24_pair_sm_2_skip:
+2304 7047c9aa jam datatype_bind ,mem_24g_txbuf 
+2305 2020230d branch g24_pair_sm_prep 
+
+g24_pair_sm_3:
+2306 7047c955 jam datatype_config ,mem_24g_txbuf 
+2307 6fe0c85e fetch 1 ,mem_24g_pair_switch 
+2308 203a230d branch g24_pair_sm_prep ,blank 
+2309 6fe24895 fetch 4 ,mem_24g_receiver_addr 
+230a 67e247cb store 4 ,mem_24g_txbuf + 2 
+230b 2020230f branch g24_pair_sm_common 
+
+g24_pair_sm_4:
+230c 7047c922 jam datatype_ok ,mem_24g_txbuf 
+
+g24_pair_sm_prep:
+230d 6fe248ad fetch 4 ,mem_24g_device_addr 
+230e 67e247cb store 4 ,mem_24g_txbuf + 2 
+
+g24_pair_sm_common:
+230f 6fe0c839 fetch 1 ,mem_24g_data_type 
+2310 1fe17e07 and_into bits_data ,pdata 
+2311 67e0c7ca store 1 ,mem_24g_txbuf + 1 
+2312 7047cf00 jam 0 ,mem_24g_txbuf + 6 
+2313 70483807 jam 7 ,mem_24g_datalen 
+2314 20402247 call g24_transmit_prep 
+2315 20402662 call g24_transmit_receive_ack 
+2316 246c0000 nrtn sync 
+2317 24778000 nrtn user3 
+2318 204025a0 call g24_txbuf_clear 
+2319 20402679 call g24_ackpayload_parse 
+231a 4771c03c bpatchx patch3c_3 ,mem_patch3c 
+231b 6fe0c883 fetch 1 ,mem_24g_pair_sm 
+231c c17f8000 rtneq state_24g_pairing_success 
+231d c000a327 beq state_24g_pairing_1 ,g24_pair_sm_1_waiting_ack 
+231e c0012329 beq state_24g_pairing_2 ,g24_pair_sm_2_waiting_ack 
+231f c001a32f beq state_24g_pairing_3 ,g24_pair_sm_3_waiting_ack 
+2320 c0022337 beq state_24g_pairing_4 ,g24_pair_sm_4_waiting_ack 
+2321 20600000 rtn 
+
+g24_pair_sm_reinit:
+2322 70488302 jam state_24g_pairing_2 ,mem_24g_pair_sm 
+2323 6fe0c85e fetch 1 ,mem_24g_pair_switch 
+2324 207a0000 rtn blank 
+2325 70488301 jam state_24g_pairing_1 ,mem_24g_pair_sm 
+2326 20600000 rtn 
+
+g24_pair_sm_1_waiting_ack:
+2327 70488302 jam state_24g_pairing_2 ,mem_24g_pair_sm 
+2328 2020265e branch g24_transmit_abandon 
+
+g24_pair_sm_2_waiting_ack:
+2329 6fe0c85e fetch 1 ,mem_24g_pair_switch 
+232a 203a232d branch g24_pair_sm_2_waiting_ack_skip ,blank 
+232b 6fe2480f fetch 4 ,mem_24g_rxpayload + 2 
+232c 67e24895 store 4 ,mem_24g_receiver_addr 
+
+g24_pair_sm_2_waiting_ack_skip:
+232d 70488303 jam state_24g_pairing_3 ,mem_24g_pair_sm 
+232e 2020265e branch g24_transmit_abandon 
+
+g24_pair_sm_3_waiting_ack:
+232f 6fe0c85e fetch 1 ,mem_24g_pair_switch 
+2330 203a2335 branch g24_pair_sm_3_waiting_ack_skip ,blank 
+2331 6fe2480f fetch 4 ,mem_24g_rxpayload + 2 
+2332 684a48ad fetcht 4 ,mem_24g_device_addr 
+2333 98467c00 isub temp ,null 
+2334 24628000 nrtn zero 
+
+g24_pair_sm_3_waiting_ack_skip:
+2335 70488304 jam state_24g_pairing_4 ,mem_24g_pair_sm 
+2336 2020265e branch g24_transmit_abandon 
+
+g24_pair_sm_4_waiting_ack:
+2337 6fe0c85e fetch 1 ,mem_24g_pair_switch 
+2338 203a233d branch g24_pair_sm_4_waiting_ack_skip ,blank 
+2339 6fe2480f fetch 4 ,mem_24g_rxpayload + 2 
+233a 684a4895 fetcht 4 ,mem_24g_receiver_addr 
+233b 98467c00 isub temp ,null 
+233c 24628000 nrtn zero 
+
+g24_pair_sm_4_waiting_ack_skip:
+233d 704883ff jam state_24g_pairing_success ,mem_24g_pair_sm 
+233e 70095b39 jam bt_evt_24g_pairing_complete ,mem_fifo_temp 
+233f 204078dc call ui_ipc_send_event 
+2340 58000000 setarg 0 
+2341 67e14887 store 2 ,mem_24g_pair_timeout 
+2342 6fe2480f fetch 4 ,mem_24g_rxpayload + 2 
+2343 20402292 call g24_update_addr_and_synccrc8 
+
+g24_pair_exit:
+2344 6fe0c8a5 fetch 1 ,mem_24g_conn_sm 
+2345 793ffe01 set0 state_24g_pair ,pdata 
+2346 67e0c8a5 store 1 ,mem_24g_conn_sm 
+2347 2020265e branch g24_transmit_abandon 
+
+g24_bind_mode_enable:
+2348 7048c301 jam dongle_bind ,mem_24g_work_mode 
+2349 7048c200 jam clear_init ,mem_24g_mode_init 
+234a 20600000 rtn 
+
+g24_bind_init:
+234b 6fe0c8c2 fetch 1 ,mem_24g_mode_init 
+234c c3808000 rtnbit1 dongle_bind 
+234d 79207e01 set1 dongle_bind ,pdata 
+234e 67e0c8c2 store 1 ,mem_24g_mode_init 
+234f 58000000 setarg 0 
+2350 67e1c882 store 3 ,mem_24g_device1_bind_step 
+2351 67e248d9 store 4 ,mem_24g_transmitter_addr 
+2352 7048be01 jam 1 ,mem_24g_ackpayload_enable 
+2353 202022ef branch g24_pair_init_param 
+
+g24_bind_ackpayload_prep:
+2354 7048be01 jam 1 ,mem_24g_ackpayload_enable 
+2355 70483808 jam 0x08 ,mem_24g_datalen 
+2356 d8c04885 arg mem_24g_bind_payload ,contr 
+2357 d8a047c9 arg mem_24g_txbuf ,contw 
+2358 20207d79 branch memcpy8 
+
+g24_bind_data_process:
+2359 204023fa call g24_rx_interrupt_clear 
+235a 20402187 call g24_receive_packet 
+235b 2437a3fa nbranch g24_rx_interrupt_clear ,user3 
+235c 20402367 call g24_bind_data_parse 
+235d 2040242c call g24_transmit_ack 
+235e 204023d6 call g24_bind_device_status_check 
+235f 20403805 call dongle_kb_bind_soft_reset 
+2360 6fe0c85e fetch 1 ,mem_24g_pair_switch 
+2361 207a0000 rtn blank 
+2362 6fe248d9 fetch 4 ,mem_24g_transmitter_addr 
+2363 207a0000 rtn blank 
+2364 20202292 branch g24_update_addr_and_synccrc8 
+
+g24_bind_data_error:
+2365 204023fa call g24_rx_interrupt_clear 
+2366 202021f1 branch g24_end_of_packet 
+
+g24_bind_data_parse:
+2367 7048cf05 jam bind_mode_continue ,mem_24g_bind_mode_continue 
+2368 d8c047a7 arg mem_24g_rxbuf ,contr 
+2369 d8a04895 arg mem_24g_rxdata_temp ,contw 
+236a 20407d79 call memcpy8 
+236b 4772403c bpatchx patch3c_4 ,mem_patch3c 
+236c 6fe0c897 fetch 1 ,mem_24g_rxdata_temp + 2 
+236d c0552372 beq datatype_bind ,g24_bind_first_step 
+236e c02aa37f beq datatype_config ,g24_bind_second_step 
+236f c011239c beq datatype_ok ,g24_bind_third_step 
+2370 c07fa5be beq datatype_attemp ,g24_data_attemp 
+2371 20600000 rtn 
+
+g24_bind_first_step:
+2372 6fe0c898 fetch 1 ,mem_24g_rxdata_temp + 3 
+2373 c000a376 beq datatype_device1 ,g24_bind_first_step_device1 
+2374 c001237c beq datatype_device2 ,g24_bind_first_step_device2 
+2375 20600000 rtn 
+
+g24_bind_first_step_device1:
+2376 70488201 jam 1 ,mem_24g_device1_bind_step 
+
+g24_bind_dvc1_payload_cfg:
+2377 70488501 jam datatype_device1 ,mem_24g_bind_payload 
+
+g24_bind_payload_cfg:
+2378 70488680 jam 0x80 ,mem_24g_bind_payload + 1 
+2379 6fe340a8 fetch 6 ,mem_lap 
+237a 67e34887 store 6 ,mem_24g_bind_payload + 2 
+237b 20600000 rtn 
+
+g24_bind_first_step_device2:
+237c 70488301 jam 1 ,mem_24g_device2_bind_step 
+
+g24_bind_dvc2_payload_cfg:
+237d 70488502 jam datatype_device2 ,mem_24g_bind_payload 
+237e 20202378 branch g24_bind_payload_cfg 
+
+g24_bind_second_step:
+237f 6fe0c85e fetch 1 ,mem_24g_pair_switch 
+2380 203a2385 branch g24_bind_second_step_skip ,blank 
+2381 6fe24899 fetch 4 ,mem_24g_rxdata_temp + 4 
+2382 684a40a8 fetcht 4 ,mem_lap 
+2383 98467c00 isub temp ,null 
+2384 24628000 nrtn zero 
+
+g24_bind_second_step_skip:
+2385 6fe0c898 fetch 1 ,mem_24g_rxdata_temp + 3 
+2386 c000a389 beq datatype_device1 ,g24_bind_second_step_device1 
+2387 c0012394 beq datatype_device2 ,g24_bind_second_step_device2 
+2388 20600000 rtn 
+
+g24_bind_second_step_device1:
+2389 6fe0c882 fetch 1 ,mem_24g_device1_bind_step 
+238a c000a38c beq 1 ,g24_bind_dvc1_step_set2 
+238b 20600000 rtn 
+
+g24_bind_dvc1_step_set2:
+238c 70488202 jam 2 ,mem_24g_device1_bind_step 
+238d 6fe0c85e fetch 1 ,mem_24g_pair_switch 
+238e 203a2377 branch g24_bind_dvc1_payload_cfg ,blank 
+
+g24_bind_dvc1_payload_cfg_transmitter_addr:
+238f 70488501 jam datatype_device1 ,mem_24g_bind_payload 
+
+g24_bind_payload_cfg_transmitter_addr:
+2390 70488680 jam 0x80 ,mem_24g_bind_payload + 1 
+2391 6fe248d9 fetch 4 ,mem_24g_transmitter_addr 
+2392 67e24887 store 4 ,mem_24g_bind_payload + 2 
+2393 20207ec5 branch enable_user 
+
+g24_bind_second_step_device2:
+2394 6fe0c883 fetch 1 ,mem_24g_device2_bind_step 
+2395 c000a397 beq 1 ,g24_bind_dvc2_step_set2 
+2396 20600000 rtn 
+
+g24_bind_dvc2_step_set2:
+2397 70488302 jam 2 ,mem_24g_device2_bind_step 
+2398 6fe0c85e fetch 1 ,mem_24g_pair_switch 
+2399 203a237d branch g24_bind_dvc2_payload_cfg ,blank 
+239a 70488502 jam datatype_device2 ,mem_24g_bind_payload 
+239b 20202390 branch g24_bind_payload_cfg_transmitter_addr 
+
+g24_bind_third_step:
+239c 6fe0c85e fetch 1 ,mem_24g_pair_switch 
+239d 203a23a2 branch g24_bind_third_step_skip ,blank 
+239e 6fe24899 fetch 4 ,mem_24g_rxdata_temp + 4 
+239f 684a48d9 fetcht 4 ,mem_24g_transmitter_addr 
+23a0 98467c00 isub temp ,null 
+23a1 24628000 nrtn zero 
+
+g24_bind_third_step_skip:
+23a2 6fe0c898 fetch 1 ,mem_24g_rxdata_temp + 3 
+23a3 c000a3a6 beq datatype_device1 ,g24_bind_third_step_device1 
+23a4 c00123b1 beq datatype_device2 ,g24_bind_third_step_device2 
+23a5 20600000 rtn 
+
+g24_bind_third_step_device1:
+23a6 6fe0c882 fetch 1 ,mem_24g_device1_bind_step 
+23a7 c00123a9 beq 2 ,g24_bind_dvc1_step_success 
+23a8 20600000 rtn 
+
+g24_bind_dvc1_step_success:
+23a9 204023ca call g24_binding_dvc1_living 
+23aa 20402377 call g24_bind_dvc1_payload_cfg 
+23ab 6fe0c884 fetch 1 ,mem_24g_bind_device_status 
+23ac 1fe1fe01 or_into 0x01 ,pdata 
+23ad 67e0c884 store 1 ,mem_24g_bind_device_status 
+
+g24_bind_exit:
+23ae 58000000 setarg 0 
+23af 67e14882 store 2 ,mem_24g_device1_bind_step 
+23b0 20600000 rtn 
+
+g24_bind_third_step_device2:
+23b1 6fe0c883 fetch 1 ,mem_24g_device2_bind_step 
+23b2 c08023b4 bne 0 ,g24_bind_dvc2_step_success 
+23b3 20600000 rtn 
+
+g24_bind_dvc2_step_success:
+23b4 204023d0 call g24_binding_dvc2_living 
+23b5 2040237d call g24_bind_dvc2_payload_cfg 
+23b6 6fe0c884 fetch 1 ,mem_24g_bind_device_status 
+23b7 1fe1fe02 or_into 0x02 ,pdata 
+23b8 67e0c884 store 1 ,mem_24g_bind_device_status 
+23b9 204023ae call g24_bind_exit 
+23ba 202037ff branch dongle_g24_store_dvc2_bind_flag 
+
+g24_binding_device_check:
+23bb 6fe0c8c3 fetch 1 ,mem_24g_work_mode 
+23bc c1808000 rtnne dongle_bind 
+23bd 6fe0c8bd fetch 1 ,mem_24g_pair_mode 
+23be 247a0000 nrtn blank 
+23bf 6fe0c7aa fetch 1 ,mem_24g_rxbuf + 3 
+23c0 c000a3c3 beq datatype_device1 ,g24_binding_dvc1_status 
+23c1 c00123c7 beq datatype_device2 ,g24_binding_dvc2_status 
+23c2 20600000 rtn 
+
+g24_binding_dvc1_status:
+23c3 6fe0c8d8 fetch 1 ,mem_24g_bind_device_living 
+23c4 c4000000 rtnbit0 0 
+
+disable_user3:
+23c5 7857fc00 disable user3 
+23c6 20600000 rtn 
+
+g24_binding_dvc2_status:
+23c7 6fe0c8d8 fetch 1 ,mem_24g_bind_device_living 
+23c8 c4008000 rtnbit0 1 
+23c9 202023c5 branch disable_user3 
+
+g24_binding_dvc1_living:
+23ca 6fe0c8bd fetch 1 ,mem_24g_pair_mode 
+23cb 247a0000 nrtn blank 
+23cc 6fe0c8d8 fetch 1 ,mem_24g_bind_device_living 
+23cd 1fe1fe01 or_into 0x01 ,pdata 
+23ce 67e0c8d8 store 1 ,mem_24g_bind_device_living 
+23cf 20600000 rtn 
+
+g24_binding_dvc2_living:
+23d0 6fe0c8bd fetch 1 ,mem_24g_pair_mode 
+23d1 247a0000 nrtn blank 
+23d2 6fe0c8d8 fetch 1 ,mem_24g_bind_device_living 
+23d3 1fe1fe02 or_into 0x02 ,pdata 
+23d4 67e0c8d8 store 1 ,mem_24g_bind_device_living 
+23d5 20600000 rtn 
+
+g24_bind_device_status_check:
+23d6 6fe0c884 fetch 1 ,mem_24g_bind_device_status 
+23d7 207a0000 rtn blank 
+
+g24_bind_device_status:
+23d8 6fe0c898 fetch 1 ,mem_24g_rxdata_temp + 3 
+23d9 c000a3ca beq datatype_device1 ,g24_binding_dvc1_living 
+23da c00123d0 beq datatype_device2 ,g24_binding_dvc2_living 
+23db 20600000 rtn 
+
+g24_receive_init:
+23dc 79200027 set1 mark_24g_rxmode ,mark 
+23dd 6fe0c1e8 fetch 1 ,mem_tx_power 
+23de 67e0c8d0 store 1 ,mem_tx_power_temp 
+23df 204022d0 call g24_rx_window_init 
+23e0 202025f4 branch rssi_receiver_buff_init 
+
+g24_receive_dispatch:
+23e1 6fe1488d fetch 2 ,mem_cb_24g_receive_process 
+23e2 20207e7a branch callback_func 
+
+g24_ackpayload_prep:
+23e3 70483800 jam 0 ,mem_24g_datalen 
+23e4 6fe0c8be fetch 1 ,mem_24g_ackpayload_enable 
+23e5 207a0000 rtn blank 
+23e6 6fe1488f fetch 2 ,mem_cb_24g_ackpayload 
+23e7 20207e7a branch callback_func 
+
+g24_receive_packet_start:
+23e8 20402429 call g24_receive_transmit_ack 
+23e9 2437a3fa nbranch g24_rx_interrupt_clear ,user3 
+
+g24_receive_packet_parse:
+23ea 2040241b call g24_receive_packet_parse_pid_crc 
+23eb 243423fa nbranch g24_rx_interrupt_clear ,user 
+23ec 6fe0c82d fetch 1 ,mem_24g_rxdata_length 
+23ed 203a23fa branch g24_rx_interrupt_clear ,blank 
+23ee 1fe0fe02 increase 2 ,pdata 
+23ef 98007200 iforce loopcnt 
+23f0 d8c047a7 arg mem_24g_rxbuf ,contr 
+23f1 d8a04895 arg mem_24g_rxdata_temp ,contw 
+23f2 20407dd4 call memcpy 
+23f3 7048c000 jam 0 ,mem_24g_mode_switch 
+23f4 6fe0c8bd fetch 1 ,mem_24g_pair_mode 
+23f5 205a2436 call g24_enable_nodata_timer ,blank 
+23f6 6fe0c897 fetch 1 ,mem_24g_rxdata_temp + 2 
+23f7 c000a3ff beq datatype_device1 ,g24_data_device1 
+23f8 c001240e beq datatype_device2 ,g24_data_device2 
+23f9 c07fa3fd beq datatype_attemp ,g24_data_receive_attemp 
+
+g24_rx_interrupt_clear:
+23fa d8a047a7 arg mem_24g_rxbuf ,contw 
+23fb df200042 arg 66 ,loopcnt 
+23fc 20207d9b branch clear_mem 
+
+g24_data_receive_attemp:
+23fd 204023d8 call g24_bind_device_status 
+23fe 202025be branch g24_data_attemp 
+
+g24_data_device1:
+23ff 204023ca call g24_binding_dvc1_living 
+2400 2040255c call g24_ch_timer_reinit 
+2401 6fe0c8b7 fetch 1 ,mem_24g_abort_packet 
+2402 6848c895 fetcht 1 ,mem_24g_rxdata_temp 
+2403 284ffe03 isolate1 bit_abort ,temp 
+2404 7920fe00 setflag true ,0 ,pdata 
+2405 67e0c8b7 store 1 ,mem_24g_abort_packet 
+2406 c000a414 beq 1 ,g24_data_attemp_device1_abort 
+2407 6fe0c8bf fetch 1 ,mem_24g_hop_packet 
+2408 6848c895 fetcht 1 ,mem_24g_rxdata_temp 
+2409 284ffe04 isolate1 bit_hop ,temp 
+240a 7920fe00 setflag true ,0 ,pdata 
+240b 67e0c8bf store 1 ,mem_24g_hop_packet 
+240c 6fe14891 fetch 2 ,mem_cb_24g_data_device1 
+240d 20207e7a branch callback_func 
+
+g24_data_device2:
+240e 204023d0 call g24_binding_dvc2_living 
+240f 6848c895 fetcht 1 ,mem_24g_rxdata_temp 
+2410 284ffe03 isolate1 bit_abort ,temp 
+2411 2020a419 branch g24_data_attemp_device2_abort ,true 
+2412 6fe14893 fetch 2 ,mem_cb_24g_data_device2 
+2413 20207e7a branch callback_func 
+
+g24_data_attemp_device1_abort:
+2414 6fe0c09a fetch 1 ,mem_device_option 
+2415 1fe67c0e sub pdata ,dvc_op_car ,null 
+2416 2042b4f0 call car_stop_blink ,zero 
+2417 6fe2489f fetch 4 ,mem_24g_rxdata_temp + 10 
+2418 202025c4 branch g24_store_device1_addr 
+
+g24_data_attemp_device2_abort:
+2419 6fe2489f fetch 4 ,mem_24g_rxdata_temp + 10 
+241a 202025c8 branch g24_store_device2_addr 
+
+g24_receive_packet_parse_pid_crc:
+241b 20407ec7 call disable_user 
+241c 6fe0c836 fetch 1 ,mem_24g_sta_pid 
+241d 6848c837 fetcht 1 ,mem_24g_last_pid 
+241e 98467c00 isub temp ,null 
+241f 2442fec5 ncall enable_user ,zero 
+2420 6fe0c836 fetch 1 ,mem_24g_sta_pid 
+2421 67e0c837 store 1 ,mem_24g_last_pid 
+2422 6fe1c830 fetch 3 ,mem_24g_sta_crc 
+2423 6849c833 fetcht 3 ,mem_24g_last_crc 
+2424 98467c00 isub temp ,null 
+2425 2442fec5 ncall enable_user ,zero 
+2426 6fe1c830 fetch 3 ,mem_24g_sta_crc 
+2427 67e1c833 store 3 ,mem_24g_last_crc 
+2428 20600000 rtn 
+
+g24_receive_transmit_ack:
+2429 204023fa call g24_rx_interrupt_clear 
+242a 20402187 call g24_receive_packet 
+242b 24778000 nrtn user3 
+
+g24_transmit_ack:
+242c 6fe0c7a7 fetch 1 ,mem_24g_rxbuf 
+242d 67e0c839 store 1 ,mem_24g_data_type 
+242e 20402274 call g24_read_len_pid_crc 
+242f 6fe0c7a8 fetch 1 ,mem_24g_rxbuf + 1 
+2430 2feffe00 isolate1 bit_ack_24g ,pdata 
+2431 2020a435 branch g24tx_no_ack ,true 
+
+g24tx_with_ack:
+2432 204023e3 call g24_ackpayload_prep 
+2433 20402247 call g24_transmit_prep 
+2434 204021f8 call g24_transmit 
+
+g24tx_no_ack:
+2435 202021f1 branch g24_end_of_packet 
+
+g24_enable_nodata_timer:
+2436 7048c101 jam 1 ,mem_24g_nodata_timer_enable 
+
+g24_enable_nodata_timer_init:
+2437 58000280 setarg timer_nodata_delay 
+2438 d8e00008 arg timer_nodata ,queue 
+2439 20207ddb branch timer_init 
+
+g24_mode_switch_init:
+243a 7048c001 jam 1 ,mem_24g_mode_switch 
+243b 7048c400 jam 0 ,mem_24g_time_slice 
+243c 704857ff jam 0xff ,mem_24g_interval 
+243d 202022b2 branch g24_timer_init 
+
+g24_mode_switch_bind_work:
+243e 4772c03c bpatchx patch3c_5 ,mem_patch3c 
+243f 6fe0c8c0 fetch 1 ,mem_24g_mode_switch 
+2440 207a0000 rtn blank 
+2441 204022a0 call g24_timer_check 
+2442 24740000 nrtn user 
+2443 2040244b call g24_bind_mode_continue 
+2444 6fe0c8c4 fetch 1 ,mem_24g_time_slice 
+2445 1fe0fe01 increase 1 ,pdata 
+2446 1fe17e01 and_into 1 ,pdata 
+2447 67e0c8c4 store 1 ,mem_24g_time_slice 
+2448 c0002450 beq 0 ,g24_work_mode_switch 
+2449 c000a453 beq 1 ,g24_bind_mode_switch 
+244a 20600000 rtn 
+
+g24_bind_mode_continue:
+244b 6fe0c8cf fetch 1 ,mem_24g_bind_mode_continue 
+244c 207a0000 rtn blank 
+244d 1fe0ffff increase -1 ,pdata 
+244e 67e0c8cf store 1 ,mem_24g_bind_mode_continue 
+244f 20600000 rtn 
+
+g24_work_mode_switch:
+2450 6fe0c8cf fetch 1 ,mem_24g_bind_mode_continue 
+2451 247a0000 nrtn blank 
+2452 20202493 branch g24_switch_work_mode 
+
+g24_bind_mode_switch:
+2453 6fe0c8cf fetch 1 ,mem_24g_bind_mode_continue 
+2454 247a0000 nrtn blank 
+2455 20202348 branch g24_bind_mode_enable 
+
+g24_mode_b_s_switch_init:
+2456 6fe0c8d7 fetch 1 ,mem_24g_b_s_mode_switch_disable 
+2457 247a0000 nrtn blank 
+2458 6fe0c8d5 fetch 1 ,mem_24g_mode_b_s_switch_exit 
+2459 205a2483 call g24_mode_b_s_switch_start ,blank 
+245a 6fe0c8d2 fetch 1 ,mem_24g_mode_b_s_switch_init 
+245b c3800000 rtnbit1 0 
+245c 79207e00 set1 0 ,pdata 
+245d 67e0c8d2 store 1 ,mem_24g_mode_b_s_switch_init 
+245e 7048d101 jam 1 ,mem_24g_mode_b_s_switch 
+245f 7048d600 jam 0 ,mem_24g_b_s_time_slice 
+2460 58000000 setarg 0 
+2461 67e148d3 store 2 ,mem_24g_mode_b_s_switch_cnt 
+2462 70485760 jam 0x60 ,mem_24g_interval 
+2463 202022b2 branch g24_timer_init 
+
+g24_mode_switch_bind_search:
+2464 6fe0c8c3 fetch 1 ,mem_24g_work_mode 
+2465 c1000000 rtneq dongle_work 
+2466 6fe0c8d7 fetch 1 ,mem_24g_b_s_mode_switch_disable 
+2467 247a0000 nrtn blank 
+2468 6fe0c8d5 fetch 1 ,mem_24g_mode_b_s_switch_exit 
+2469 247a0000 nrtn blank 
+246a 6fe0c8d1 fetch 1 ,mem_24g_mode_b_s_switch 
+246b 207a0000 rtn blank 
+246c 204022a0 call g24_timer_check 
+246d 24740000 nrtn user 
+246e 6fe148d3 fetch 2 ,mem_24g_mode_b_s_switch_cnt 
+246f 1fe0fe01 increase 1 ,pdata 
+2470 67e148d3 store 2 ,mem_24g_mode_b_s_switch_cnt 
+2471 d84007d0 arg 0x7d0 ,temp 
+2472 98467c00 isub temp ,null 
+2473 2021247f branch g24_mode_b_s_switch_exit ,positive 
+2474 2040244b call g24_bind_mode_continue 
+2475 6fe0c8d6 fetch 1 ,mem_24g_b_s_time_slice 
+2476 1fe0fe01 increase 1 ,pdata 
+2477 1fe17e01 and_into 1 ,pdata 
+2478 67e0c8d6 store 1 ,mem_24g_b_s_time_slice 
+2479 c000247c beq 0 ,g24_mode_switch_search 
+247a c000a348 beq 1 ,g24_bind_mode_enable 
+247b 20600000 rtn 
+
+g24_mode_switch_search:
+247c 6fe0c8cf fetch 1 ,mem_24g_bind_mode_continue 
+247d 243a2348 nbranch g24_bind_mode_enable ,blank 
+247e 20202544 branch g24_search_mode_enable 
+
+g24_mode_b_s_switch_exit:
+247f 7048d501 jam 1 ,mem_24g_mode_b_s_switch_exit 
+2480 20202544 branch g24_search_mode_enable 
+
+g24_mode_b_s_switch_stop:
+2481 7048d100 jam 0 ,mem_24g_mode_b_s_switch 
+2482 20600000 rtn 
+
+g24_mode_b_s_switch_start:
+2483 7048d101 jam 1 ,mem_24g_mode_b_s_switch 
+2484 20600000 rtn 
+
+g24_work_init:
+2485 6fe0c8c2 fetch 1 ,mem_24g_mode_init 
+2486 c3800000 rtnbit1 dongle_work 
+2487 79207e00 set1 dongle_work ,pdata 
+2488 67e0c8c2 store 1 ,mem_24g_mode_init 
+2489 6fe0c8d0 fetch 1 ,mem_tx_power_temp 
+248a 67e0c1e8 store 1 ,mem_tx_power 
+248b 7048be00 jam 0 ,mem_24g_ackpayload_enable 
+248c 700bf900 jam 0 ,mem_usb_tx_enable 
+248d 7048b701 jam 1 ,mem_24g_abort_packet 
+248e 70482e00 jam 0 ,mem_24g_pid 
+248f 6fe240a8 fetch 4 ,mem_lap 
+2490 20402292 call g24_update_addr_and_synccrc8 
+2491 20402281 call g24_ch 
+2492 202023fa branch g24_rx_interrupt_clear 
+
+g24_switch_work_mode:
+2493 7048be00 jam 0 ,mem_24g_ackpayload_enable 
+
+g24_work_mode_enable:
+2494 7048c300 jam dongle_work ,mem_24g_work_mode 
+2495 7048c200 jam clear_init ,mem_24g_mode_init 
+2496 20600000 rtn 
+
+g24_work_mode_start:
+2497 6fe0c8c3 fetch 1 ,mem_24g_work_mode 
+2498 c1800000 rtnne dongle_work 
+2499 20402485 call g24_work_init 
+249a 20402547 call g24_ch_process 
+249b 202023e8 branch g24_receive_packet_start 
+
+g24_bind_mode_auto:
+249c 4773403c bpatchx patch3c_6 ,mem_patch3c 
+249d 6fe0c8c3 fetch 1 ,mem_24g_work_mode 
+249e c1808000 rtnne dongle_bind 
+249f 2040234b call g24_bind_init 
+24a0 20402359 call g24_bind_data_process 
+24a1 6fe0c8bd fetch 1 ,mem_24g_pair_mode 
+24a2 247a0000 nrtn blank 
+24a3 6fe0c884 fetch 1 ,mem_24g_bind_device_status 
+24a4 207a0000 rtn blank 
+24a5 7048c000 jam 0 ,mem_24g_mode_switch 
+24a6 20402493 call g24_switch_work_mode 
+24a7 20402436 call g24_enable_nodata_timer 
+24a8 202022b2 branch g24_timer_init 
+
+g24_search_mode_init:
+24a9 6fe0c8c2 fetch 1 ,mem_24g_mode_init 
+24aa c3838000 rtnbit1 dongle_search 
+24ab 79207e07 set1 dongle_search ,pdata 
+24ac 67e0c8c2 store 1 ,mem_24g_mode_init 
+24ad 7048c400 jam 0 ,mem_24g_time_slice 
+24ae 7048be01 jam 1 ,mem_24g_ackpayload_enable 
+24af 58000000 setarg 0 
+24b0 67e1c8ea store 3 ,mem_rssi_noise_self_index 
+24b1 67e3c8c7 store 7 ,mem_24g_self_config_ch_once 
+24b2 20402536 call g24_receiver_addr_check 
+24b3 24628000 nrtn zero 
+24b4 6fe0c83e fetch 1 ,mem_24g_current_ch_number 
+24b5 67e0c8c6 store 1 ,mem_24g_self_ch_number 
+24b6 6fe0c83d fetch 1 ,mem_24g_ch 
+24b7 67e0c8c5 store 1 ,mem_24g_self_last_ch 
+24b8 20600000 rtn 
+
+g24_search_mode_auto:
+24b9 4773c03c bpatchx patch3c_7 ,mem_patch3c 
+24ba 6fe0c8c3 fetch 1 ,mem_24g_work_mode 
+24bb c1838000 rtnne dongle_search 
+24bc 204024a9 call g24_search_mode_init 
+24bd 204024df call g24_auto_addr_ch_search 
+24be 20402429 call g24_receive_transmit_ack 
+24bf 2437a3fa nbranch g24_rx_interrupt_clear ,user3 
+24c0 20402536 call g24_receiver_addr_check 
+24c1 2042a3ea call g24_receive_packet_parse ,zero 
+24c2 6fe0c8b7 fetch 1 ,mem_24g_abort_packet 
+24c3 205a2481 call g24_mode_b_s_switch_stop ,blank 
+24c4 7048c300 jam dongle_work ,mem_24g_work_mode 
+24c5 6fe0c8c2 fetch 1 ,mem_24g_mode_init 
+24c6 79207e00 set1 dongle_work ,pdata 
+24c7 67e0c8c2 store 1 ,mem_24g_mode_init 
+24c8 6fe0c8be fetch 1 ,mem_24g_ackpayload_enable 
+24c9 1fe67c02 sub pdata ,2 ,null 
+24ca 2442a534 ncall g24_ackpayload_disable ,zero 
+24cb 204023fa call g24_rx_interrupt_clear 
+24cc 20402436 call g24_enable_nodata_timer 
+24cd 20402536 call g24_receiver_addr_check 
+24ce 2022a4d8 branch g24_self_ch_num_reinit ,zero 
+24cf 6fe2483f fetch 4 ,mem_24g_addr 
+24d0 684a48e1 fetcht 4 ,mem_24g_device2_addr 
+24d1 98467c00 isub temp ,null 
+24d2 2022a4db branch g24_device2_ch_num_reinit ,zero 
+24d3 6fe2483f fetch 4 ,mem_24g_addr 
+24d4 684a48dd fetcht 4 ,mem_24g_device1_addr 
+24d5 98467c00 isub temp ,null 
+24d6 2022a4dd branch g24_device1_ch_num_reinit ,zero 
+24d7 20600000 rtn 
+
+g24_self_ch_num_reinit:
+24d8 6fe0c8c6 fetch 1 ,mem_24g_self_ch_number 
+
+g24_current_ch_num_reinit:
+24d9 67e0c83e store 1 ,mem_24g_current_ch_number 
+24da 20600000 rtn 
+
+g24_device2_ch_num_reinit:
+24db 6fe0c8cc fetch 1 ,mem_24g_device2_ch_number 
+24dc 202024d9 branch g24_current_ch_num_reinit 
+
+g24_device1_ch_num_reinit:
+24dd 6fe0c8c9 fetch 1 ,mem_24g_device1_ch_number 
+24de 202024d9 branch g24_current_ch_num_reinit 
+
+g24_auto_addr_ch_search:
+24df 6fe0c8c4 fetch 1 ,mem_24g_time_slice 
+24e0 1fe0fe01 increase 1 ,pdata 
+24e1 1fe17e03 and_into 3 ,pdata 
+24e2 67e0c8c4 store 1 ,mem_24g_time_slice 
+24e3 c0002502 beq 0 ,g24_auto_bind_config_device2 
+24e4 c000a51c beq 1 ,g24_auto_bind_config_self 
+24e5 c00124e8 beq 2 ,g24_auto_bind_config_device1 
+24e6 c001a51c beq 3 ,g24_auto_bind_config_self 
+24e7 20600000 rtn 
+
+g24_auto_bind_config_device1:
+24e8 20402377 call g24_bind_dvc1_payload_cfg 
+24e9 6fe248dd fetch 4 ,mem_24g_device1_addr 
+24ea 203a24df branch g24_auto_addr_ch_search ,blank 
+24eb 20402292 call g24_update_addr_and_synccrc8 
+24ec 6fe0c8ca fetch 1 ,mem_24g_device1_config_ch_once 
+24ed 205a24fd call g24_device1_config_ch_once ,blank 
+24ee 6fe0c8c8 fetch 1 ,mem_24g_device1_last_ch 
+24ef 67e0c83d store 1 ,mem_24g_ch 
+24f0 6848c8eb fetcht 1 ,mem_rssi_noise_device1_index 
+24f1 6a2148f1 fetchr rega ,2 ,mem_rssi_noise_device1_buffer_ptr 
+24f2 204025ca call rssi_store 
+24f3 6048c8eb storet 1 ,mem_rssi_noise_device1_index 
+24f4 204025d2 call rssi_average 
+24f5 6048c8e8 storet 1 ,mem_rssi_noise_device1_avg 
+24f6 18467c50 sub temp ,rssi_thresh_noise ,null 
+24f7 24610000 nrtn positive 
+24f8 6848c8c9 fetcht 1 ,mem_24g_device1_ch_number 
+24f9 20402285 call g24_ch_map_size 
+24fa 6048c8c9 storet 1 ,mem_24g_device1_ch_number 
+24fb 67e0c8c8 store 1 ,mem_24g_device1_last_ch 
+24fc 20600000 rtn 
+
+g24_device1_config_ch_once:
+24fd 7048ca01 jam 1 ,mem_24g_device1_config_ch_once 
+24fe d8400000 arg 0 ,temp 
+24ff 20402289 call g24_ch_calc 
+2500 67e0c8c8 store 1 ,mem_24g_device1_last_ch 
+2501 20600000 rtn 
+
+g24_auto_bind_config_device2:
+2502 2040237d call g24_bind_dvc2_payload_cfg 
+2503 6fe248e1 fetch 4 ,mem_24g_device2_addr 
+2504 203a24df branch g24_auto_addr_ch_search ,blank 
+2505 20402292 call g24_update_addr_and_synccrc8 
+2506 6fe0c8cd fetch 1 ,mem_24g_device2_config_ch_once 
+2507 205a2517 call g24_device2_config_ch_once ,blank 
+2508 6fe0c8cb fetch 1 ,mem_24g_device2_last_ch 
+2509 67e0c83d store 1 ,mem_24g_ch 
+250a 6848c8ec fetcht 1 ,mem_rssi_noise_device2_index 
+250b 6a2148f3 fetchr rega ,2 ,mem_rssi_noise_device2_buffer_ptr 
+250c 204025ca call rssi_store 
+250d 6048c8ec storet 1 ,mem_rssi_noise_device2_index 
+250e 204025d2 call rssi_average 
+250f 6048c8e9 storet 1 ,mem_rssi_noise_device2_avg 
+2510 18467c50 sub temp ,rssi_thresh_noise ,null 
+2511 24610000 nrtn positive 
+2512 6848c8cc fetcht 1 ,mem_24g_device2_ch_number 
+2513 20402285 call g24_ch_map_size 
+2514 6048c8cc storet 1 ,mem_24g_device2_ch_number 
+2515 67e0c8cb store 1 ,mem_24g_device2_last_ch 
+2516 20600000 rtn 
+
+g24_device2_config_ch_once:
+2517 7048cd01 jam 1 ,mem_24g_device2_config_ch_once 
+2518 d8400000 arg 0 ,temp 
+2519 20402289 call g24_ch_calc 
+251a 67e0c8cb store 1 ,mem_24g_device2_last_ch 
+251b 20600000 rtn 
+
+g24_auto_bind_config_self:
+251c 20402377 call g24_bind_dvc1_payload_cfg 
+251d 6fe240a8 fetch 4 ,mem_lap 
+251e 20402292 call g24_update_addr_and_synccrc8 
+251f 6fe0c8c7 fetch 1 ,mem_24g_self_config_ch_once 
+2520 205a2530 call g24_self_config_ch_once ,blank 
+2521 6fe0c8c5 fetch 1 ,mem_24g_self_last_ch 
+2522 67e0c83d store 1 ,mem_24g_ch 
+2523 6848c8ea fetcht 1 ,mem_rssi_noise_self_index 
+2524 6a2148ef fetchr rega ,2 ,mem_rssi_noise_self_buffer_ptr 
+2525 204025ca call rssi_store 
+2526 6048c8ea storet 1 ,mem_rssi_noise_self_index 
+2527 204025d2 call rssi_average 
+2528 6048c8e7 storet 1 ,mem_rssi_noise_self_avg 
+2529 18467c50 sub temp ,rssi_thresh_noise ,null 
+252a 24610000 nrtn positive 
+252b 6848c8c6 fetcht 1 ,mem_24g_self_ch_number 
+252c 20402285 call g24_ch_map_size 
+252d 6048c8c6 storet 1 ,mem_24g_self_ch_number 
+252e 67e0c8c5 store 1 ,mem_24g_self_last_ch 
+252f 20600000 rtn 
+
+g24_self_config_ch_once:
+2530 7048c701 jam 1 ,mem_24g_self_config_ch_once 
+2531 6fe0c8c5 fetch 1 ,mem_24g_self_last_ch 
+2532 67e0c83d store 1 ,mem_24g_ch 
+2533 20600000 rtn 
+
+g24_ackpayload_disable:
+2534 7048be00 jam 0 ,mem_24g_ackpayload_enable 
+2535 20600000 rtn 
+
+g24_receiver_addr_check:
+2536 6fe2483f fetch 4 ,mem_24g_addr 
+2537 684a40a8 fetcht 4 ,mem_lap 
+2538 98467c00 isub temp ,null 
+2539 20600000 rtn 
+
+g24_nodata_process:
+253a 6fe0c8be fetch 1 ,mem_24g_ackpayload_enable 
+253b c1010000 rtneq 2 
+253c 6fe0c8c1 fetch 1 ,mem_24g_nodata_timer_enable 
+253d 207a0000 rtn blank 
+253e d8e00008 arg timer_nodata ,queue 
+253f 20407de9 call timer_check 
+2540 247a0000 nrtn blank 
+2541 7048c100 jam 0 ,mem_24g_nodata_timer_enable 
+2542 7048cf00 jam 0 ,mem_24g_bind_mode_continue 
+2543 20402456 call g24_mode_b_s_switch_init 
+
+g24_search_mode_enable:
+2544 7048c307 jam dongle_search ,mem_24g_work_mode 
+2545 7048c200 jam clear_init ,mem_24g_mode_init 
+2546 202023fa branch g24_rx_interrupt_clear 
+
+g24_ch_process:
+2547 6fe0c8b7 fetch 1 ,mem_24g_abort_packet 
+2548 c000a608 beq 1 ,rssi_noise_monitor 
+2549 6fe0c8bf fetch 1 ,mem_24g_hop_packet 
+254a c000a55a beq 1 ,g24_ch_receive_hop_pac 
+254b 684a48b8 fetcht 4 ,mem_24g_hop_btclk 
+254c 1c427e00 copy clkn_bt ,pdata 
+254d 98467c00 isub temp ,null 
+254e 244122af ncall g24_timer_timeout ,positive 
+254f 1fe22400 copy pdata ,regb 
+2550 6fe248b8 fetch 4 ,mem_24g_hop_btclk 
+2551 6848c8bc fetcht 1 ,mem_24g_hop_interval 
+2552 98408400 iadd temp ,temp 
+2553 1a427e00 copy regb ,pdata 
+2554 98467c00 isub temp ,null 
+2555 24610000 nrtn positive 
+2556 793ffe1c set0 28 ,pdata 
+2557 67e248b8 store 4 ,mem_24g_hop_btclk 
+2558 7048b701 jam 1 ,mem_24g_abort_packet 
+2559 20202281 branch g24_ch 
+
+g24_ch_receive_hop_pac:
+255a 7048bf00 jam 0 ,mem_24g_hop_packet 
+255b 20202281 branch g24_ch 
+
+g24_ch_timer_reinit:
+255c 1c427e00 copy clkn_bt ,pdata 
+255d 67e248b8 store 4 ,mem_24g_hop_btclk 
+255e 20600000 rtn 
+
+g24_reconn_timeout_timer:
+255f da60488b arg mem_24g_reconn_timeout ,regc 
+2560 da402683 arg g24_stop_24g_mode ,regb 
+2561 20203203 branch timer_single_step_2b 
+
+g24_reconn_start:
+2562 4774403d bpatchx patch3d_0 ,mem_patch3d 
+2563 79200026 set1 mark_24g ,mark 
+2564 6fe0c8a5 fetch 1 ,mem_24g_conn_sm 
+2565 793ffe01 set0 state_24g_pair ,pdata 
+2566 79207e02 set1 state_24g_reconn ,pdata 
+2567 67e0c8a5 store 1 ,mem_24g_conn_sm 
+2568 6fe0c890 fetch 1 ,mem_24g_fast_conn_enable 
+2569 203a2577 branch g24_reconn_receiver_addr ,blank 
+256a 6fe0c88f fetch 1 ,mem_24g_reconn_type 
+256b c000a56f beq fast_conn_and_receiver ,g24_reconn_fast_conn 
+256c c001256f beq fast_conn_and_3_0_addr ,g24_reconn_fast_conn 
+256d c001a57e beq receiver_and_3_0_addr ,g24_reconn_device_3_0_addr 
+256e c002257e beq pair_and_3_0_addr ,g24_reconn_device_3_0_addr 
+
+g24_reconn_fast_conn:
+256f 6fe0c880 fetch 1 ,mem_24g_pair_tx_power 
+2570 67e0c1e8 store 1 ,mem_tx_power 
+2571 6848c899 fetcht 1 ,mem_24g_fast_conn_temp_ch 
+2572 6048c83e storet 1 ,mem_24g_current_ch_number 
+2573 6fe24891 fetch 4 ,mem_24g_fast_conn_addr 
+2574 20402587 call g24_ch_syncword_crc8_init 
+2575 6048c899 storet 1 ,mem_24g_fast_conn_temp_ch 
+2576 20600000 rtn 
+
+g24_reconn_receiver_addr:
+2577 7041e803 jam tx_power_3db ,mem_tx_power 
+2578 6848c89a fetcht 1 ,mem_24g_receiver_temp_ch 
+2579 6048c83e storet 1 ,mem_24g_current_ch_number 
+257a 6fe24895 fetch 4 ,mem_24g_receiver_addr 
+257b 20402587 call g24_ch_syncword_crc8_init 
+257c 6048c89a storet 1 ,mem_24g_receiver_temp_ch 
+257d 20600000 rtn 
+
+g24_reconn_device_3_0_addr:
+257e 7041e803 jam tx_power_3db ,mem_tx_power 
+257f 6848c89b fetcht 1 ,mem_24g_device_temp_ch 
+2580 6048c83e storet 1 ,mem_24g_current_ch_number 
+2581 6fe248ad fetch 4 ,mem_24g_device_addr 
+2582 20402587 call g24_ch_syncword_crc8_init 
+2583 6048c89b storet 1 ,mem_24g_device_temp_ch 
+2584 20600000 rtn 
+
+g24_store_receiver_addr:
+2585 6fe2480f fetch 4 ,mem_24g_rxpayload + 2 
+2586 67e24895 store 4 ,mem_24g_receiver_addr 
+
+g24_ch_syncword_crc8_init:
+2587 20402292 call g24_update_addr_and_synccrc8 
+2588 20202281 branch g24_ch 
+
+g24_reconn_dispatch:
+2589 4774c03d bpatchx patch3d_1 ,mem_patch3d 
+258a 204025a3 call g24_reconn_data_prep 
+258b 20402662 call g24_transmit_receive_ack 
+258c 242c25aa nbranch g24_reconn_device_fail ,sync 
+258d 2437a5aa nbranch g24_reconn_device_fail ,user3 
+258e 20402679 call g24_ackpayload_parse 
+
+g24_reconn_receiver_succ:
+258f 6fe0c8a5 fetch 1 ,mem_24g_conn_sm 
+2590 793ffe02 set0 state_24g_reconn ,pdata 
+2591 67e0c8a5 store 1 ,mem_24g_conn_sm 
+2592 58000000 setarg 0 
+2593 67e14887 store 2 ,mem_24g_pair_timeout 
+2594 67e1488d store 2 ,mem_24g_reconn_count 
+2595 67e1488b store 2 ,mem_24g_reconn_timeout 
+2596 6fe2487b fetch 4 ,mem_24g_pair_addr 
+2597 684a483f fetcht 4 ,mem_24g_addr 
+2598 98467c00 isub temp ,null 
+2599 2022a2e4 branch g24_pair_start ,zero 
+259a 6fe248ad fetch 4 ,mem_24g_device_addr 
+259b 684a483f fetcht 4 ,mem_24g_addr 
+259c 98467c00 isub temp ,null 
+259d 2042a585 call g24_store_receiver_addr ,zero 
+259e 70095b3c jam bt_evt_24g_attempt_success ,mem_fifo_temp 
+259f 204078dc call ui_ipc_send_event 
+
+g24_txbuf_clear:
+25a0 df200004 arg 4 ,loopcnt 
+25a1 d8a047c9 arg mem_24g_txbuf ,contw 
+25a2 20207d8c branch memset0 
+
+g24_reconn_data_prep:
+25a3 7047c9ff jam datatype_attemp ,mem_24g_txbuf 
+25a4 6fe0c839 fetch 1 ,mem_24g_data_type 
+25a5 67e0c7ca store 1 ,mem_24g_txbuf + 1 
+25a6 6fe248ad fetch 4 ,mem_24g_device_addr 
+25a7 67e247cb store 4 ,mem_24g_txbuf + 2 
+25a8 70483806 jam 6 ,mem_24g_datalen 
+25a9 20202247 branch g24_transmit_prep 
+
+g24_reconn_device_fail:
+25aa 6fe0c890 fetch 1 ,mem_24g_fast_conn_enable 
+25ab 203a2281 branch g24_ch ,blank 
+25ac 6fe1488d fetch 2 ,mem_24g_reconn_count 
+25ad 1fe0fe01 increase 1 ,pdata 
+25ae 67e1488d store 2 ,mem_24g_reconn_count 
+25af 2feffe03 isolate1 3 ,pdata 
+25b0 6fe0c88f fetch 1 ,mem_24g_reconn_type 
+25b1 c000a5b6 beq fast_conn_and_receiver ,g24_reconn_fast_conn_and_receiver 
+25b2 c00125b8 beq fast_conn_and_3_0_addr ,g24_reconn_fast_conn_and_3_0 
+25b3 c001a5ba beq receiver_and_3_0_addr ,g24_reconn_receiver_and_3_0 
+25b4 c00225bc beq pair_and_3_0_addr ,g24_reconn_pair_and_3_0 
+25b5 20202577 branch g24_reconn_receiver_addr 
+
+g24_reconn_fast_conn_and_receiver:
+25b6 2020a577 branch g24_reconn_receiver_addr ,true 
+25b7 2020256f branch g24_reconn_fast_conn 
+
+g24_reconn_fast_conn_and_3_0:
+25b8 2020a57e branch g24_reconn_device_3_0_addr ,true 
+25b9 2020256f branch g24_reconn_fast_conn 
+
+g24_reconn_receiver_and_3_0:
+25ba 2020a57e branch g24_reconn_device_3_0_addr ,true 
+25bb 20202577 branch g24_reconn_receiver_addr 
+
+g24_reconn_pair_and_3_0:
+25bc 2020a2ef branch g24_pair_init_param ,true 
+25bd 2020257e branch g24_reconn_device_3_0_addr 
+
+g24_data_attemp:
+25be 6fe0c898 fetch 1 ,mem_24g_rxdata_temp + 3 
+25bf c000a5c2 beq datatype_device1 ,g24_data_attemp_device1 
+25c0 c00125c6 beq datatype_device2 ,g24_data_attemp_device2 
+25c1 20600000 rtn 
+
+g24_data_attemp_device1:
+25c2 6fe24899 fetch 4 ,mem_24g_rxdata_temp + 4 
+25c3 67e248d9 store 4 ,mem_24g_transmitter_addr 
+
+g24_store_device1_addr:
+25c4 67e248dd store 4 ,mem_24g_device1_addr 
+25c5 20600000 rtn 
+
+g24_data_attemp_device2:
+25c6 6fe24899 fetch 4 ,mem_24g_rxdata_temp + 4 
+25c7 67e248d9 store 4 ,mem_24g_transmitter_addr 
+
+g24_store_device2_addr:
+25c8 67e248e1 store 4 ,mem_24g_device2_addr 
+25c9 20600000 rtn 
+
+rssi_store:
+25ca 1a227e00 copy rega ,pdata 
+25cb 98408a00 iadd temp ,contw 
+25cc 6fe08018 fetch 1 ,mem_rssi 
+25cd e7e08005 istore 1 ,contw 
+25ce 18408401 increase 1 ,temp 
+25cf 6fe0c881 fetch 1 ,mem_rssi_buff_index 
+25d0 98410400 iand temp ,temp 
+25d1 20600000 rtn 
+
+rssi_average:
+25d2 6fe0c881 fetch 1 ,mem_rssi_buff_index 
+25d3 1fe0fe01 increase 1 ,pdata 
+25d4 67e10987 store 2 ,mem_loopcnt 
+25d5 1fe27200 copy pdata ,loopcnt 
+25d6 1a220c00 copy rega ,contr 
+25d7 dfe00000 arg 0 ,pdata 
+
+rssi_average_loop:
+25d8 e8408006 ifetcht 1 ,contr 
+25d9 9840fe00 iadd temp ,pdata 
+25da c20025d8 loop rssi_average_loop 
+25db 68490987 fetcht 2 ,mem_loopcnt 
+25dc 9846fc00 idiv temp 
+25dd 20407e64 call wait_div_end 
+25de 18078400 quotient temp 
+25df c6138000 rtnmark1 mark_24g_rxmode 
+25e0 18427e00 copy temp ,pdata 
+25e1 c6930000 rtnmark0 mark_24g 
+25e2 20401297 call bcd 
+25e3 1fe20400 copy pdata ,temp 
+25e4 20600000 rtn 
+
+save_rssi_dec:
+25e5 2040127f call save_rssi 
+25e6 20201293 branch rssi_hex2dec 
+
+rssi_transmitter_buff_init:
+25e7 6fe1489d fetch 2 ,mem_rssi_signal_buf_ptr 
+25e8 202025fb branch rssi_buff_clear 
+
+rssi_signal:
+25e9 1fe22200 copy pdata ,rega 
+25ea 6848c89c fetcht 1 ,mem_rssi_signal_index 
+25eb 6fe1489d fetch 2 ,mem_rssi_signal_buf_ptr 
+25ec 98408a00 iadd temp ,contw 
+25ed 1a227e00 copy rega ,pdata 
+25ee e7e08005 istore 1 ,contw 
+25ef 18408401 increase 1 ,temp 
+25f0 6fe0c881 fetch 1 ,mem_rssi_buff_index 
+25f1 98410400 iand temp ,temp 
+25f2 6048c89c storet 1 ,mem_rssi_signal_index 
+25f3 20600000 rtn 
+
+rssi_receiver_buff_init:
+25f4 6fe148ed fetch 2 ,mem_rssi_noise_buffer_ptr 
+25f5 204025fb call rssi_buff_clear 
+25f6 6fe148ef fetch 2 ,mem_rssi_noise_self_buffer_ptr 
+25f7 204025fb call rssi_buff_clear 
+25f8 6fe148f1 fetch 2 ,mem_rssi_noise_device1_buffer_ptr 
+25f9 204025fb call rssi_buff_clear 
+25fa 6fe148f3 fetch 2 ,mem_rssi_noise_device2_buffer_ptr 
+
+rssi_buff_clear:
+25fb 207a0000 rtn blank 
+25fc 1fe20a00 copy pdata ,contw 
+25fd 6fe0c881 fetch 1 ,mem_rssi_buff_index 
+25fe 1fe0fe01 increase 1 ,pdata 
+25ff 1fe27200 copy pdata ,loopcnt 
+2600 20207d9b branch clear_mem 
+
+rssi_noise:
+2601 204025e5 call save_rssi_dec 
+2602 207a0000 rtn blank 
+2603 6848c8e6 fetcht 1 ,mem_rssi_noise_index 
+2604 6a2148ed fetchr rega ,2 ,mem_rssi_noise_buffer_ptr 
+2605 204025ca call rssi_store 
+2606 6048c8e6 storet 1 ,mem_rssi_noise_index 
+2607 20600000 rtn 
+
+rssi_noise_monitor:
+2608 6a2148ed fetchr rega ,2 ,mem_rssi_noise_buffer_ptr 
+2609 204025d2 call rssi_average 
+260a 6048c8e5 storet 1 ,mem_rssi_noise_avg 
+260b 18467c50 sub temp ,rssi_thresh_noise ,null 
+260c 24610000 nrtn positive 
+260d 20202281 branch g24_ch 
+
+g24_transmit_init:
+260e 6fe240a8 fetch 4 ,mem_lap 
+260f 67e248ad store 4 ,mem_24g_device_addr 
+2610 204022d0 call g24_rx_window_init 
+2611 202025e7 branch rssi_transmitter_buff_init 
+
+g24_interval_param_4ms:
+2612 58002fb2 setarg g24_4ms_interval_param 
+2613 67e1c8b1 store 3 ,mem_24g_short_sleep_set 
+2614 58100c0c setarg 0x100c0c 
+2615 67e1c857 store 3 ,mem_24g_interval 
+2616 5800bb80 setarg 0x00bb80 
+2617 67e1c8b4 store 3 ,mem_24g_long_sleep_set 
+2618 7048ca05 jam 5 ,mem_24g_fast_hop_count 
+2619 20600000 rtn 
+
+g24_interval_param_8ms:
+261a 5800f80c setarg g24_8ms_interval_param 
+261b 67e1c8b1 store 3 ,mem_24g_short_sleep_set 
+261c 581c1919 setarg 0x1c1919 
+261d 67e1c857 store 3 ,mem_24g_interval 
+261e 58017700 setarg 0x017700 
+261f 67e1c8b4 store 3 ,mem_24g_long_sleep_set 
+2620 7048ca0b jam 11 ,mem_24g_fast_hop_count 
+2621 20600000 rtn 
+
+g24_transmit_dispatch:
+2622 c6930000 rtnmark0 mark_24g 
+2623 6fe0c8a5 fetch 1 ,mem_24g_conn_sm 
+2624 c280a2f6 bbit1 state_24g_pair ,g24_pair_dispatch 
+2625 c2812589 bbit1 state_24g_reconn ,g24_reconn_dispatch 
+2626 6fe0c8c1 fetch 1 ,mem_24g_transmit_by_interrupt 
+2627 c000a6cd beq g24_tx_timer_int_enable ,g24_transmit_by_interrupt 
+
+g24_transmit_no_interrupt:
+2628 4775403d bpatchx patch3d_2 ,mem_patch3d 
+2629 20402638 call g24_txdata_prep 
+262a 243426a8 nbranch g24_nodata_transmit ,user 
+
+g24_transmit_start:
+262b 2040264d call g24_transmit_process 
+262c 204026f5 call power_ctrl_start 
+262d 6fe0c09a fetch 1 ,mem_device_option 
+262e c004482e beq dvc_op_mouse ,mouse_24g_transmit_start 
+
+g24_transmit_start_next:
+262f 6fe448b4 fetch 8 ,mem_24g_long_sleep_set 
+2630 67e4485f store 8 ,mem_24g_enter_hibernate 
+2631 6fe148c6 fetch 2 ,mem_24g_long_sleep_param_update_timer_init 
+2632 67e148c8 store 2 ,mem_24g_long_sleep_param_update_timer 
+
+g24_short_sleep:
+2633 204026c2 call g24_lpm_wait 
+2634 24740000 nrtn user 
+2635 20407f52 call clear_wake 
+2636 6fe1c8b1 fetch 3 ,mem_24g_short_sleep_set 
+2637 202026bf branch g24_long_seep2 
+
+g24_txdata_prep:
+2638 2040263b call g24_package_data 
+2639 24740000 nrtn user 
+263a 20202247 branch g24_transmit_prep 
+
+g24_package_data:
+263b 6fe1489f fetch 2 ,mem_cb_24g_transmit_data 
+263c 20407e7a call callback_func 
+263d 20342641 branch g24_accumulate_data ,user 
+263e 6fe3c7ca fetch 7 ,mem_24g_txbuf + 1 
+263f 207a0000 rtn blank 
+2640 20207ec5 branch enable_user 
+
+g24_accumulate_data:
+2641 7048ab00 jam 0 ,mem_24g_abort_pac 
+2642 1a20fe01 add rega ,1 ,pdata 
+2643 67e0c838 store 1 ,mem_24g_datalen 
+2644 20402649 call g24_transmit_rf_ctrl_clear 
+2645 67e0c7c9 store 1 ,mem_24g_txbuf 
+2646 1a420c00 copy regb ,contr 
+2647 1a227200 copy rega ,loopcnt 
+2648 20207dd4 branch memcpy 
+
+g24_transmit_rf_ctrl_clear:
+2649 6fe0c839 fetch 1 ,mem_24g_data_type 
+264a 1fe17e07 and_into bits_data ,pdata 
+264b 67e0c839 store 1 ,mem_24g_data_type 
+264c 20600000 rtn 
+
+g24_transmit_process:
+264d 7048aa00 jam 0 ,mem_24g_retry 
+
+g24_transmit_loop:
+264e 6961015f fetchr timeup ,2 ,mem_param_rx_setup 
+264f 34730200 until clkn_rt ,meet 
+2650 20402662 call g24_transmit_receive_ack 
+2651 6fe0c82f fetch 1 ,mem_24g_no_ack 
+2652 c000a658 beq no_ack_24g ,g24_transmit_no_ack 
+2653 242c2670 nbranch g24_retransmit ,sync 
+2654 2437a670 nbranch g24_retransmit ,user3 
+2655 20402679 call g24_ackpayload_parse 
+2656 6fe0c09a fetch 1 ,mem_device_option 
+2657 c004482a beq dvc_op_mouse ,mouse_wakeup_24g 
+
+g24_transmit_no_ack:
+2658 20402727 call power_ctrl_pac_succ_incrs 
+
+g24_transmit_next_packet:
+2659 204025a0 call g24_txbuf_clear 
+265a 6fe0c82e fetch 1 ,mem_24g_pid 
+265b 1fe0fe01 increase 1 ,pdata 
+265c 67e0c82e store 1 ,mem_24g_pid 
+265d 2040269b call g24_hop_enable_packet 
+
+g24_transmit_abandon:
+265e 58000000 setarg 0 
+265f 67e0c8a6 store 1 ,mem_24g_ensure 
+2660 67e148a7 store 2 ,mem_24g_txfail_cnt 
+2661 20600000 rtn 
+
+g24_transmit_receive_ack:
+2662 7857fc00 disable user3 
+2663 204021f8 call g24_transmit 
+2664 6fe0c82f fetch 1 ,mem_24g_no_ack 
+2665 c000a1f1 beq no_ack_24g ,g24_end_of_packet 
+2666 18002a00 force 0 ,radio_ctrl 
+2667 6fe2483f fetch 4 ,mem_24g_addr 
+2668 98001200 iforce access 
+2669 204010ac call calc_mod_value_scale_le 
+266a 68488017 fetcht 1 ,mem_last_freq 
+266b 2040118b call set_freq_rx 
+266c 204011a2 call rf_rx_enable 
+266d 20402190 call g24_receive_rxon 
+266e 2057a1f1 call g24_end_of_packet ,user3 
+266f 20600000 rtn 
+
+g24_retransmit:
+2670 6fe0c8ab fetch 1 ,mem_24g_abort_pac 
+2671 247a0000 nrtn blank 
+2672 6fe148a7 fetch 2 ,mem_24g_txfail_cnt 
+2673 1fe0fe01 increase 1 ,pdata 
+2674 67e148a7 store 2 ,mem_24g_txfail_cnt 
+2675 6fe0c8a8 fetch 1 ,mem_24g_txfail_cnt + 1 
+2676 c2822680 bbit1 4 ,g24_tx_attempt_fail 
+2677 20402685 call g24_transmit_hop_process 
+2678 2020264e branch g24_transmit_loop 
+
+g24_ackpayload_parse:
+2679 20402274 call g24_read_len_pid_crc 
+267a 6fe0c82d fetch 1 ,mem_24g_rxdata_length 
+267b 207a0000 rtn blank 
+267c 98007200 iforce loopcnt 
+267d d8c047a9 arg mem_24g_rxbuf + 2 ,contr 
+267e d8a0480d arg mem_24g_rxpayload ,contw 
+267f 20207dd4 branch memcpy 
+
+g24_tx_attempt_fail:
+2680 58000000 setarg 0 
+2681 67e148a7 store 2 ,mem_24g_txfail_cnt 
+2682 7048a901 jam 1 ,mem_24g_attempt_fail_flag 
+
+g24_stop_24g_mode:
+2683 70095b3a jam bt_evt_24g_attempt_fail ,mem_fifo_temp 
+2684 202078dc branch ui_ipc_send_event 
+
+g24_transmit_hop_process:
+2685 4775c03d bpatchx patch3d_3 ,mem_patch3d 
+2686 6848c8aa fetcht 1 ,mem_24g_retry 
+2687 6fe0c8ca fetch 1 ,mem_24g_fast_hop_count 
+2688 98467c00 isub temp ,null 
+2689 242126a3 nbranch g24_tx_fast_hop ,positive 
+268a 18408401 increase 1 ,temp 
+268b 6048c8aa storet 1 ,mem_24g_retry 
+268c 6fe0c8ca fetch 1 ,mem_24g_fast_hop_count 
+268d c002a692 beq 5 ,g24_transmit_hop_process_4ms 
+268e 6fe0c8aa fetch 1 ,mem_24g_retry 
+268f c003269d beq 6 ,g24_hop_ch_disable 
+2690 c006269d beq 12 ,g24_hop_ch_disable 
+2691 20600000 rtn 
+
+g24_transmit_hop_process_4ms:
+2692 6fe0c8aa fetch 1 ,mem_24g_retry 
+2693 c001a69d beq 3 ,g24_hop_ch_disable 
+2694 c003269d beq 6 ,g24_hop_ch_disable 
+2695 20600000 rtn 
+
+g24_hop_ch_enable:
+
+g24_txpayload_type_update:
+2696 c517a699 bmark1 mark_ble_lr ,g24_lr_type_update 
+2697 67e0c7ea store 1 ,mem_24g_txpayload + offset_data_type 
+2698 20600000 rtn 
+
+g24_lr_type_update:
+2699 67e0c7eb store 1 ,mem_24g_txpayload + offset_lr_data_type 
+269a 20600000 rtn 
+
+g24_hop_enable_packet:
+269b 6fe0c839 fetch 1 ,mem_24g_data_type 
+269c c4020000 rtnbit0 bit_hop 
+
+g24_hop_ch_disable:
+269d 6fe0c839 fetch 1 ,mem_24g_data_type 
+269e 793ffe04 set0 bit_hop ,pdata 
+269f 67e0c839 store 1 ,mem_24g_data_type 
+26a0 20402696 call g24_txpayload_type_update 
+26a1 2040272b call power_ctrl_pac_succ_decrs 
+26a2 20202281 branch g24_ch 
+
+g24_tx_fast_hop:
+26a3 2040271b call power_ctrl_txpower_incrs 
+26a4 2040272b call power_ctrl_pac_succ_decrs 
+26a5 20202281 branch g24_ch 
+
+g24_search_receiver:
+26a6 6fe148a1 fetch 2 ,mem_cb_24g_search_receiver 
+26a7 20207e7a branch callback_func 
+
+g24_nodata_transmit:
+26a8 6fe0c8ab fetch 1 ,mem_24g_abort_pac 
+26a9 205a26ae call g24_send_abort_packet ,blank 
+26aa 6fe0c8c1 fetch 1 ,mem_24g_transmit_by_interrupt 
+26ab c1008000 rtneq g24_tx_timer_int_enable 
+26ac 204026a6 call g24_search_receiver 
+26ad 202026bc branch g24_long_sleep 
+
+g24_send_abort_packet:
+26ae 70483901 jam type_ms ,mem_24g_data_type 
+26af 7048ab01 jam 1 ,mem_24g_abort_pac 
+26b0 20402649 call g24_transmit_rf_ctrl_clear 
+26b1 67e0c7c9 store 1 ,mem_24g_txbuf 
+26b2 58000000 setarg 0 
+26b3 67e3c7ca store 7 ,mem_24g_txbuf + 1 
+26b4 6fe248ad fetch 4 ,mem_24g_device_addr 
+26b5 67e247d1 store 4 ,mem_24g_txbuf + 8 
+26b6 7048380c jam 12 ,mem_24g_datalen 
+26b7 6fe0c839 fetch 1 ,mem_24g_data_type 
+26b8 79207e03 set1 bit_abort ,pdata 
+26b9 67e0c839 store 1 ,mem_24g_data_type 
+26ba 20402247 call g24_transmit_prep 
+26bb 2020262b branch g24_transmit_start 
+
+g24_long_sleep:
+26bc 204026c2 call g24_lpm_wait 
+26bd 24740000 nrtn user 
+26be 6fe4485f fetch 8 ,mem_24g_enter_hibernate 
+
+g24_long_seep2:
+26bf 20407e1f call clk2lpo 
+26c0 604a4160 storet 4 ,mem_sleep_counter 
+26c1 20201464 branch lpm_sleep 
+
+g24_lpm_wait:
+26c2 4776403d bpatchx patch3d_4 ,mem_patch3d 
+26c3 78347c00 enable user 
+26c4 20401436 call lpo_calibration 
+26c5 6fe1c174 fetch 3 ,mem_clks_per_lpo 
+26c6 203a7ec7 branch disable_user ,blank 
+26c7 6fe0c099 fetch 1 ,mem_lpm_mode 
+26c8 203a7ec7 branch disable_user ,blank 
+26c9 6fe0c8c1 fetch 1 ,mem_24g_transmit_by_interrupt 
+26ca c000fec7 beq g24_tx_timer_int_enable ,disable_user 
+
+g24_setgpio_lpm_before:
+26cb 6fe148a3 fetch 2 ,mem_cb_24g_lpm_before 
+26cc 20207e7a branch callback_func 
+
+g24_transmit_by_interrupt:
+26cd 204022a0 call g24_timer_check 
+26ce 24740000 nrtn user 
+26cf 204026e2 call g24_interval_calibrate 
+26d0 6fe148c2 fetch 2 ,mem_24g_transmit_by_interrupt_exit_count 
+26d1 1fe0fe01 increase 1 ,pdata 
+26d2 67e148c2 store 2 ,mem_24g_transmit_by_interrupt_exit_count 
+26d3 684948c4 fetcht 2 ,mem_24g_transmit_by_interrupt_exit_count_init 
+26d4 98467c00 isub temp ,null 
+26d5 2042a6d7 call g24_transmit_by_interrupt_exit ,zero 
+26d6 20202628 branch g24_transmit_no_interrupt 
+
+g24_transmit_by_interrupt_exit:
+26d7 7048c100 jam g24_tx_timer_int_disable ,mem_24g_transmit_by_interrupt 
+26d8 58000000 setarg 0 
+26d9 67e148c2 store 2 ,mem_24g_transmit_by_interrupt_exit_count 
+26da 58000064 setarg 100 
+26db 67e148c4 store 2 ,mem_24g_transmit_by_interrupt_exit_count_init 
+
+g24_interval_min:
+26dc 7048c000 jam 0 ,mem_24g_pac_index 
+26dd 6fe0c858 fetch 1 ,mem_24g_interval_min 
+
+g24_interval_store:
+26de 67e0c857 store 1 ,mem_24g_interval 
+26df 20600000 rtn 
+
+g24_interval_max:
+26e0 6fe0c859 fetch 1 ,mem_24g_interval_max 
+26e1 202026de branch g24_interval_store 
+
+g24_interval_calibrate:
+26e2 6fe0c8c0 fetch 1 ,mem_24g_pac_index 
+26e3 1fe0fe01 increase 1 ,pdata 
+26e4 67e0c8c0 store 1 ,mem_24g_pac_index 
+26e5 c00226e0 beq 4 ,g24_interval_max 
+26e6 c002a6dc beq 5 ,g24_interval_min 
+26e7 20600000 rtn 
+
+g24_transmit_by_interrupt_enable:
+26e8 7048c101 jam g24_tx_timer_int_enable ,mem_24g_transmit_by_interrupt 
+26e9 58000000 setarg 0 
+26ea 67e148c2 store 2 ,mem_24g_transmit_by_interrupt_exit_count 
+26eb 20600000 rtn 
+
+g24_factory_check:
+26ec df200002 arg 2 ,loopcnt 
+26ed d8c0483f arg mem_24g_addr ,contr 
+
+pdata_0xff_check:
+26ee 20407ec5 call enable_user 
+26ef 5800ffff setarg 0xffff 
+
+pdata_0xff_check_loop:
+26f0 e8410006 ifetcht 2 ,contr 
+26f1 98467c00 isub temp ,null 
+26f2 2442fec7 ncall disable_user ,zero 
+26f3 c20026f0 loop pdata_0xff_check_loop 
+26f4 20600000 rtn 
+
+power_ctrl_start:
+26f5 4776c03d bpatchx patch3d_5 ,mem_patch3d 
+26f6 6fe1478f fetch 2 ,mem_ui_state_map 
+26f7 c3858000 rtnbit1 ui_state_ble_adv 
+26f8 c3838000 rtnbit1 ui_state_bt_reconnect 
+26f9 c3830000 rtnbit1 ui_state_bt_discovery 
+26fa 6a21489d fetchr rega ,2 ,mem_rssi_signal_buf_ptr 
+26fb 204025d2 call rssi_average 
+26fc 6048c8cb storet 1 ,mem_rssi_avg_received 
+26fd 6fe0c8d0 fetch 1 ,mem_rssi_dis_max_24g 
+26fe c5132700 bmark1 mark_24g ,power_ctrl_start_next 
+26ff 6fe0c8d3 fetch 1 ,mem_rssi_dis_max_ble 
+
+power_ctrl_start_next:
+2700 98467c00 isub temp ,null 
+2701 2421271a nbranch power_ctrl_txpower_incrs_force ,positive 
+2702 6fe0c8cd fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+2703 1fe67c02 sub pdata ,2 ,null 
+2704 24212708 nbranch power_ctrl_txpower_decrs_check ,positive 
+2705 6fe0c8cd fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+2706 c000271b beq 0 ,power_ctrl_txpower_incrs 
+2707 20600000 rtn 
+
+power_ctrl_txpower_decrs_check:
+2708 6fe0c8cd fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+2709 6848c8ce fetcht 1 ,mem_power_ctrl_pac_succ_cnt_init 
+270a 98467c00 isub temp ,null 
+270b 24628000 nrtn zero 
+270c 7048cd00 jam 0 ,mem_power_ctrl_pac_succ_cnt 
+
+power_ctrl_txpower_decrs:
+270d 6848c8cb fetcht 1 ,mem_rssi_avg_received 
+270e 6fe0c8cf fetch 1 ,mem_rssi_dis_min_24g 
+270f c5132711 bmark1 mark_24g ,power_ctrl_txpower_decrs_next 
+2710 6fe0c8d2 fetch 1 ,mem_rssi_dis_min_ble 
+
+power_ctrl_txpower_decrs_next:
+2711 98467c00 isub temp ,null 
+2712 24610000 nrtn positive 
+2713 6fe0c8cc fetch 1 ,mem_power_ctrl_level 
+2714 c0002722 beq 0 ,power_ctrl_decrs_level0 
+2715 1fe0ffff increase -1 ,pdata 
+2716 67e0c8cc store 1 ,mem_power_ctrl_level 
+2717 c0002722 beq 0 ,power_ctrl_decrs_level0 
+
+power_ctrl_decrs_level1:
+
+power_ctrl_incrs_level1:
+2718 7041e800 jam tx_power_0db ,mem_tx_power 
+2719 20600000 rtn 
+
+power_ctrl_txpower_incrs_force:
+271a 7048cd00 jam 0 ,mem_power_ctrl_pac_succ_cnt 
+
+power_ctrl_txpower_incrs:
+271b 6fe0c8cc fetch 1 ,mem_power_ctrl_level 
+271c c0012720 beq 2 ,power_ctrl_incrs_level2 
+271d 1fe0fe01 increase 1 ,pdata 
+271e 67e0c8cc store 1 ,mem_power_ctrl_level 
+271f c000a718 beq 1 ,power_ctrl_incrs_level1 
+
+power_ctrl_incrs_level2:
+2720 7041e806 jam tx_power_6db ,mem_tx_power 
+2721 20600000 rtn 
+
+power_ctrl_decrs_level0:
+2722 7041e885 jam tx_power_f5db ,mem_tx_power 
+2723 20600000 rtn 
+
+power_ctrl_pac_succ_cnt_init:
+2724 7048cc01 jam 1 ,mem_power_ctrl_level 
+2725 7048cd00 jam 0 ,mem_power_ctrl_pac_succ_cnt 
+2726 20600000 rtn 
+
+power_ctrl_pac_succ_incrs:
+2727 6fe0c8cd fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+2728 1fe0fe01 increase 1 ,pdata 
+2729 67e0c8cd store 1 ,mem_power_ctrl_pac_succ_cnt 
+272a 20600000 rtn 
+
+power_ctrl_pac_succ_decrs:
+272b 6fe0c8cd fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+272c 1fe67c02 sub pdata ,2 ,null 
+272d 24412733 ncall power_ctrl_pac_succ_cnt_reinit ,positive 
+272e 6fe0c8cd fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+272f c1000000 rtneq 0 
+2730 1fe0ffff increase -1 ,pdata 
+2731 67e0c8cd store 1 ,mem_power_ctrl_pac_succ_cnt 
+2732 20600000 rtn 
+
+power_ctrl_pac_succ_cnt_reinit:
+2733 7048cd03 jam 3 ,mem_power_ctrl_pac_succ_cnt 
+2734 20600000 rtn 
+
+ali_mesh_access_layer_resolve_message:
+2735 6fe08be0 fetch 1 ,mem_ccm_data_len 
+2736 67e089f6 store 1 ,mem_mesh_receive_model_message_payload_len 
+2737 1e020c00 copy alarm ,contr 
+2738 20407d7e call memcpy24 
+2739 2040278d call logging_tx_info_receive_access_message 
+273a 6fe149ef fetch 2 ,mem_mesh_cb_receive_access_message 
+273b 20207e7a branch callback_func 
+
+ali_mesh_access_layer_check_access_message_opcode:
+273c 6fe089f7 fetch 1 ,mem_mesh_receive_model_message_payload_opcode 
+273d c0002744 beq mesh_message_opcode_config_appkey_add ,ali_mesh_access_layer_message_opcode_config_appkey_add 
+273e c0402d95 beq mesh_configuration_and_health_message_opcode_header ,ali_mesh_access_layer_config_or_health_message_opcode 
+273f c0412e95 beq mesh_module_message_opcode_header ,ali_mesh_model_layer_check_model_message_opcode 
+2740 c068a791 beq vendor_message_attr_set ,ali_mesh_ali_vendor_message_attribute_set 
+2741 c06827ab beq vendor_message_attr_get ,ali_mesh_ali_vendor_message_opcode_attr_get 
+2742 c06aa7ab beq vendor_message_attr_confirmation ,ali_mesh_ali_vendor_message_opcode_attr_confrimation 
+2743 20600000 rtn 
+
+ali_mesh_access_layer_message_opcode_config_appkey_add:
+2744 d8c009fb arg mem_mesh_receive_application_key ,contr 
+2745 d8a04b19 arg mem_mesh_application_key ,contw 
+2746 20407d7f call memcpy16 
+2747 70496b00 jam paired_status ,mem_mesh_provisioned_flag 
+2748 20402b0e call ali_mesh_encrypt_base_function_k3 
+2749 20402b00 call ali_mesh_encrypt_base_function_k4 
+274a 2040275f call ali_mesh_access_layer_finish_pairing_init_subscription_list 
+274b 20402750 call ali_mesh_accesss_layer_check_message_type 
+274c 20402755 call ali_mesh_access_layer_send_config_appkey_status 
+274d 70496b00 jam paired_status ,mem_mesh_provisioned_flag 
+274e 6fe149f1 fetch 2 ,mem_mesh_cb_receive_config_appkey_add 
+274f 20207e7a branch callback_func 
+
+ali_mesh_accesss_layer_check_message_type:
+2750 6fe08c3a fetch 1 ,mem_mesh_network_packet_type 
+2751 70496b04 jam received_config_appkey_add ,mem_mesh_provisioned_flag 
+2752 c1008000 rtneq mesh_message_app 
+2753 70496b00 jam paired_status ,mem_mesh_provisioned_flag 
+2754 20600000 rtn 
+
+ali_mesh_access_layer_send_config_appkey_status:
+2755 58000080 setarg mesh_configuration_and_health_message_opcode_header 
+2756 67e08a10 store 1 ,mem_mesh_access_layer_payload 
+2757 58000003 setarg mesh_message_opcode_config_config_model_publication_set 
+2758 e7e08005 istore 1 ,contw 
+2759 58000000 setarg status_code_success 
+275a e7e08005 istore 1 ,contw 
+275b 6fe189f8 fetch 3 ,mem_mesh_netkeyindex_and_appkeyindex 
+275c e7e18005 istore 3 ,contw 
+275d 700a0f06 jam 6 ,mem_mesh_access_layer_payload_len 
+275e 2020305d branch ali_mesh_upper_transport_layer_send_access_message 
+
+ali_mesh_access_layer_finish_pairing_init_subscription_list:
+275f 6fe14a15 fetch 2 ,mem_mesh_core_feature 
+2760 c3810000 rtnbit1 mesh_feature_disable_subscription 
+2761 20402e14 call mesh_get_element_info_config 
+
+ali_mesh_access_layer_finish_pairing_init_subscription_list_loop:
+2762 1a20a606 add rega ,element_device_subscription_label ,regc 
+2763 5fffffff setarg -1 
+2764 e7e40013 istore subscription_max_count ,regc 
+2765 e7e40005 istore subscription_max_count ,contw 
+2766 efe10011 ifetch 2 ,rega 
+2767 e7e10013 istore 2 ,regc 
+2768 1a427e00 copy regb ,pdata 
+2769 9a20a200 iadd rega ,rega 
+276a c2002762 loop ali_mesh_access_layer_finish_pairing_init_subscription_list_loop 
+276b 6fe14a11 fetch 2 ,mem_mesh_cb_subscriptuion_list_changed 
+276c 20207e7a branch callback_func 
+
+ali_mesh_access_layer_send_generic_onoff_status:
+276d 58000082 setarg mesh_module_message_opcode_header 
+276e 67e08a10 store 1 ,mem_mesh_access_layer_payload 
+276f 58000004 setarg mesh_module_message_opcode_generic_onoff_status_no_head 
+2770 e7e08005 istore 1 ,contw 
+2771 6fe089f9 fetch 1 ,mem_mesh_generic_onoff_set_payload_onoff 
+2772 e7e08005 istore 1 ,contw 
+2773 700a0f03 jam 3 ,mem_mesh_access_layer_payload_len 
+2774 2020305d branch ali_mesh_upper_transport_layer_send_access_message 
+
+ali_mesh_access_layer_send_light_lightness_status:
+2775 58000082 setarg mesh_module_message_opcode_header 
+2776 67e08a10 store 1 ,mem_mesh_access_layer_payload 
+2777 5800004e setarg mesh_module_message_opcode_light_lightness_status_no_head 
+2778 e7e08005 istore 1 ,contw 
+2779 6fe109f9 fetch 2 ,mem_mesh_light_lightness_set_payload_lightness 
+277a e7e10005 istore 2 ,contw 
+277b 700a0f04 jam 4 ,mem_mesh_access_layer_payload_len 
+277c 2020305d branch ali_mesh_upper_transport_layer_send_access_message 
+
+ali_mesh_access_layer_send_light_ctl_stauts:
+277d 58000082 setarg mesh_module_message_opcode_header 
+277e 67e08a10 store 1 ,mem_mesh_access_layer_payload 
+277f 58000060 setarg mesh_module_message_opcode_light_ctl_status_no_head 
+2780 e7e08005 istore 1 ,contw 
+2781 6fe209f9 fetch 4 ,mem_mesh_ctl_lightness 
+2782 e7e20005 istore 4 ,contw 
+2783 700a0f06 jam 6 ,mem_mesh_access_layer_payload_len 
+2784 2020305d branch ali_mesh_upper_transport_layer_send_access_message 
+
+ali_mesh_access_layer_send_scene_status:
+2785 5800005e setarg mesh_module_message_opcode_scene_status 
+2786 67e08a10 store 1 ,mem_mesh_access_layer_payload 
+2787 58000000 setarg mesh_success 
+2788 e7e08005 istore 1 ,contw 
+2789 6fe109f9 fetch 2 ,mem_mesh_scene_recall_payload_scene_number 
+278a e7e10005 istore 2 ,contw 
+278b 700a0f04 jam 4 ,mem_mesh_access_layer_payload_len 
+278c 2020305d branch ali_mesh_upper_transport_layer_send_access_message 
+
+logging_tx_info_receive_access_message:
+278d 6f208be0 fetchr loopcnt ,1 ,mem_ccm_data_len 
+278e 1e022200 copy alarm ,rega 
+278f da400050 arg mesh_access_receive_message ,regb 
+2790 202029e6 branch logging_tx_info 
+
+ali_mesh_ali_vendor_message_attribute_set:
+2791 204027ac call ali_mesh_ali_vendor_message_attrbute_check_company_id_and_tid 
+2792 24740000 nrtn user 
+2793 6fe109fb fetch 2 ,mem_mesh_vendor_message_attr_type 
+2794 d840f01f arg vendor_message_attr_type_time ,temp 
+2795 98467c00 isub temp ,null 
+2796 2022a7c0 branch ali_mesh_ali_vendor_message_opcode_timer_set_curr_time ,zero 
+2797 d840f010 arg vendor_message_attr_type_timing ,temp 
+2798 98467c00 isub temp ,null 
+2799 2022a7c4 branch ali_mesh_ali_vendor_message_opcode_timer_set_timing ,zero 
+279a d840f011 arg vendor_message_attr_type_cycle_timing ,temp 
+279b 98467c00 isub temp ,null 
+279c 2022a7cd branch ali_mesh_ali_vendor_message_opcode_timer_set_timing_cyclically ,zero 
+279d d840f012 arg vendor_message_attr_type_delete_timing ,temp 
+279e 98467c00 isub temp ,null 
+279f 2022a7d6 branch ali_mesh_ali_vendor_message_opcode_timer_delete_timing ,zero 
+27a0 d8400534 arg vendor_message_attr_type_main_light ,temp 
+27a1 98467c00 isub temp ,null 
+27a2 2022a7b7 branch ali_mesh_ali_vendor_message_attribute_set_main_light ,zero 
+27a3 d8400533 arg vendor_message_attr_type_background_light ,temp 
+27a4 98467c00 isub temp ,null 
+27a5 2022a7ba branch ali_mesh_ali_vendor_message_attribute_set_background_light ,zero 
+27a6 d8400123 arg vendor_message_attr_type_color ,temp 
+27a7 98467c00 isub temp ,null 
+27a8 2022a7bd branch ali_mesh_ali_vendor_message_attribute_set_color ,zero 
+27a9 6fe149f5 fetch 2 ,mem_mesh_cb_recv_vendor 
+27aa 20207e7a branch callback_func 
+
+ali_mesh_ali_vendor_message_opcode_attr_get:
+
+ali_mesh_ali_vendor_message_opcode_attr_confrimation:
+27ab 20600000 rtn 
+
+ali_mesh_ali_vendor_message_attrbute_check_company_id_and_tid:
+27ac 20407ec7 call disable_user 
+27ad 6fe109f8 fetch 2 ,mem_mesh_vendor_message_cid 
+27ae d84001a8 arg vendor_message_opcode_company_id ,temp 
+27af 98467c00 isub temp ,null 
+27b0 24628000 nrtn zero 
+27b1 6848c7a7 fetcht 1 ,mem_mesh_vendor_mesh_receive_tid 
+27b2 6fe089fa fetch 1 ,mem_mesh_vendor_message_tid 
+27b3 98467c00 isub temp ,null 
+27b4 20628000 rtn zero 
+27b5 67e0c7a7 store 1 ,mem_mesh_vendor_mesh_receive_tid 
+27b6 20207ec5 branch enable_user 
+
+ali_mesh_ali_vendor_message_attribute_set_main_light:
+27b7 20402828 call ali_mesh_ali_vendor_message_ack_attr_status_uint8 
+27b8 6fe14a05 fetch 2 ,mem_mesh_cb_main_light_onoff_set 
+27b9 20207e7a branch callback_func 
+
+ali_mesh_ali_vendor_message_attribute_set_background_light:
+27ba 20402828 call ali_mesh_ali_vendor_message_ack_attr_status_uint8 
+27bb 6fe14a07 fetch 2 ,mem_mesh_cb_background_onoff_set 
+27bc 20207e7a branch callback_func 
+
+ali_mesh_ali_vendor_message_attribute_set_color:
+27bd 20402822 call ali_mesh_ali_vendor_message_ack_attr_status_uint48 
+27be 6fe14a09 fetch 2 ,mem_mesh_cb_color_set 
+27bf 20207e7a branch callback_func 
+
+ali_mesh_ali_vendor_message_opcode_timer_set_curr_time:
+27c0 20402824 call ali_mesh_ali_vendor_message_ack_attr_status_uint32 
+27c1 6fe209fd fetch 4 ,mem_mesh_vendor_message_current_time 
+27c2 67e247a9 store 4 ,mem_mesh_vendor_timer_current_time 
+27c3 20202859 branch ali_mesh_time_init_system_time 
+
+ali_mesh_ali_vendor_message_opcode_timer_set_timing:
+27c4 2040281e call ali_mesh_ali_vendor_message_ack_attr_status_uint64 
+27c5 204027ef call ali_mesh_ali_vendor_message_calc_timing_address 
+27c6 207a0000 rtn blank 
+27c7 6fe089fd fetch 1 ,mem_mesh_vendor_timer_timing_index 
+27c8 204027eb call ali_mesh_vendor_timer_buffer_offset_cal 
+27c9 684c09fd fetcht 8 ,mem_mesh_vendor_timer_timing_index 
+27ca e0440005 istoret 8 ,contw 
+
+ali_mesh_ali_vendor_message_cb_timing_changed:
+27cb 6fe14a13 fetch 2 ,mem_mesh_cb_vendor_timing_changed 
+27cc 20207e7a branch callback_func 
+
+ali_mesh_ali_vendor_message_opcode_timer_set_timing_cyclically:
+27cd 20402820 call ali_mesh_ali_vendor_message_ack_attr_status_uint56 
+27ce 204027ef call ali_mesh_ali_vendor_message_calc_timing_address 
+27cf 207a0000 rtn blank 
+27d0 700a0459 jam timer_cyclical_falg ,mem_mesh_vendor_timer_timing_cyclic_flag 
+27d1 6fe089fd fetch 1 ,mem_mesh_vendor_timer_timing_index_cyclic 
+27d2 204027eb call ali_mesh_vendor_timer_buffer_offset_cal 
+27d3 6fe409fd fetch 8 ,mem_mesh_vendor_timer_timing_index_cyclic 
+27d4 e7e40005 istore 8 ,contw 
+27d5 202027cb branch ali_mesh_ali_vendor_message_cb_timing_changed 
+
+ali_mesh_ali_vendor_message_opcode_timer_delete_timing:
+27d6 204027e8 call ali_mesh_ali_vendor_message_opcode_timer_delete_timing_ack 
+27d7 204027ef call ali_mesh_ali_vendor_message_calc_timing_address 
+27d8 207a0000 rtn blank 
+27d9 6fe089fd fetch 1 ,mem_mesh_vendor_timer_timing_index 
+27da 207a0000 rtn blank 
+27db 204027eb call ali_mesh_vendor_timer_buffer_offset_cal 
+27dc d8400000 arg 0 ,temp 
+27dd e0408005 istoret 1 ,contw 
+27de 6fe089f6 fetch 1 ,mem_mesh_receive_model_message_payload_len 
+27df 1fe67c08 sub pdata ,8 ,null 
+27e0 2042a7e2 call ali_mesh_ali_vendor_message_opcode_timer_delete_timing_delete_second ,zero 
+27e1 202027cb branch ali_mesh_ali_vendor_message_cb_timing_changed 
+
+ali_mesh_ali_vendor_message_opcode_timer_delete_timing_delete_second:
+27e2 204027ef call ali_mesh_ali_vendor_message_calc_timing_address 
+27e3 6fe089fe fetch 1 ,mem_mesh_vendor_timer_timing_index1 
+27e4 204027eb call ali_mesh_vendor_timer_buffer_offset_cal 
+27e5 d8400000 arg 0 ,temp 
+27e6 e0408005 istoret 1 ,contw 
+27e7 20600000 rtn 
+
+ali_mesh_ali_vendor_message_opcode_timer_delete_timing_ack:
+27e8 6fe089f6 fetch 1 ,mem_mesh_receive_model_message_payload_len 
+27e9 c003a828 beq 7 ,ali_mesh_ali_vendor_message_ack_attr_status_uint8 
+27ea 20202826 branch ali_mesh_ali_vendor_message_ack_attr_status_uint16 
+
+ali_mesh_vendor_timer_buffer_offset_cal:
+27eb 1fe0ffff pincrease -1 
+27ec 1fe9fe00 lshift3 pdata ,pdata 
+27ed 98a08a00 iadd contw ,contw 
+27ee 20600000 rtn 
+
+ali_mesh_ali_vendor_message_calc_timing_address:
+27ef 20402e14 call mesh_get_element_info_config 
+27f0 1a20a204 add rega ,element_device_vendor_time_ptr ,rega 
+27f1 6fe0ca2d fetch 1 ,mem_mesh_receive_element_number 
+27f2 9a4ffe00 imul32 regb ,pdata 
+27f3 9a20a200 iadd rega ,rega 
+27f4 efe10011 ifetch 2 ,rega 
+27f5 1fe20a00 copy pdata ,contw 
+27f6 20600000 rtn 
+
+ali_mesh_ali_vendor_message_status_add_head:
+27f7 580000d3 setarg vendor_message_attr_status 
+27f8 67e08a10 store 1 ,mem_mesh_access_layer_payload 
+27f9 580001a8 setarg vendor_message_opcode_company_id 
+27fa e7e10005 istore 2 ,contw 
+27fb 6fe0c7a7 fetch 1 ,mem_mesh_vendor_mesh_receive_tid 
+27fc e7e08005 istore 1 ,contw 
+27fd e0410005 istoret 2 ,contw 
+27fe 20600000 rtn 
+
+ali_mesh_ali_vendor_message_opcode_device_power_on:
+27ff d8e00000 arg 0 ,queue 
+2800 d8400003 arg vendor_message_event_device_power_on ,temp 
+2801 da20f009 arg vendor_attr_type_event_trigger ,rega 
+2802 20202830 branch ali_mesh_ali_vendor_message_opcode_para_uint8 
+
+ali_mesh_ali_vendor_message_opcode_generic_onoff:
+2803 da200100 arg vendor_attr_generic_onoff_server ,rega 
+2804 20202830 branch ali_mesh_ali_vendor_message_opcode_para_uint8 
+
+ali_mesh_ali_vendor_message_opcode_scene_server_first_element:
+2805 d8e00000 arg 0 ,queue 
+
+ali_mesh_ali_vendor_message_opcode_scene_server:
+2806 da20f004 arg vendor_attr_scene_server ,rega 
+2807 20202835 branch ali_mesh_ali_vendor_message_opcode_para_uint16 
+
+ali_mesh_ali_vendor_message_opcode_main_light_onoff_first_element:
+2808 d8e00000 arg 0 ,queue 
+
+ali_mesh_ali_vendor_message_opcode_main_light_onoff:
+2809 da200534 arg vendor_attr_main_light_server ,rega 
+280a 20202830 branch ali_mesh_ali_vendor_message_opcode_para_uint8 
+
+ali_mesh_ali_vendor_message_opcode_background_light_onoff_first_element:
+280b d8e00000 arg 0 ,queue 
+
+ali_mesh_ali_vendor_message_opcode_background_light_onoff:
+280c da200533 arg vendor_attr_background_light_onoff_server ,rega 
+280d 20202830 branch ali_mesh_ali_vendor_message_opcode_para_uint8 
+
+ali_mesh_ali_vendor_message_opcode_brightness_first_element:
+280e d8e00000 arg 0 ,queue 
+
+ali_mesh_ali_vendor_message_opcode_brightness:
+280f 20402ecb call ali_mesh_model_layer_message_calc_actual_lightness 
+2810 da200121 arg vendor_attr_lightness_level_server ,rega 
+2811 20202835 branch ali_mesh_ali_vendor_message_opcode_para_uint16 
+
+ali_mesh_ali_vendor_message_opcode_color_temperature_first_element:
+2812 d8e00000 arg 0 ,queue 
+
+ali_mesh_ali_vendor_message_opcode_color_temperature:
+2813 20402ed9 call ali_mesh_model_layer_message_calc_actual_temperature 
+2814 da200122 arg vendor_attr_color_temperature_server ,rega 
+2815 20202835 branch ali_mesh_ali_vendor_message_opcode_para_uint16 
+
+ali_mesh_ali_vendor_message_opcode_timing_finish:
+2816 18438400 lshift temp ,temp 
+2817 18418411 or temp ,vendor_message_event_finish_timing ,temp 
+2818 da20f009 arg vendor_attr_type_event_trigger ,rega 
+2819 20202835 branch ali_mesh_ali_vendor_message_opcode_para_uint16 
+
+ali_mesh_ali_vendor_message_indication_info_add_head_event_trigger:
+281a 2040283c call ali_mesh_ali_vendor_message_indication_info_add_head 
+281b 5800f009 setarg vendor_attr_type_event_trigger 
+281c e7e10005 istore 2 ,contw 
+281d 20600000 rtn 
+
+ali_mesh_ali_vendor_message_ack_attr_status_uint64:
+281e df200008 arg 8 ,loopcnt 
+281f 2020282a branch ali_mesh_ali_vendor_message_ack_attr_status 
+
+ali_mesh_ali_vendor_message_ack_attr_status_uint56:
+2820 df200008 arg 8 ,loopcnt 
+2821 2020282a branch ali_mesh_ali_vendor_message_ack_attr_status 
+
+ali_mesh_ali_vendor_message_ack_attr_status_uint48:
+2822 df200006 arg 6 ,loopcnt 
+2823 2020282a branch ali_mesh_ali_vendor_message_ack_attr_status 
+
+ali_mesh_ali_vendor_message_ack_attr_status_uint32:
+2824 df200004 arg 4 ,loopcnt 
+2825 2020282a branch ali_mesh_ali_vendor_message_ack_attr_status 
+
+ali_mesh_ali_vendor_message_ack_attr_status_uint16:
+2826 df200002 arg 2 ,loopcnt 
+2827 2020282a branch ali_mesh_ali_vendor_message_ack_attr_status 
+
+ali_mesh_ali_vendor_message_ack_attr_status_uint8:
+2828 df200001 arg 1 ,loopcnt 
+2829 2020282a branch ali_mesh_ali_vendor_message_ack_attr_status 
+
+ali_mesh_ali_vendor_message_ack_attr_status:
+282a 1f20fe06 add loopcnt ,6 ,pdata 
+282b 67e08a0f store 1 ,mem_mesh_access_layer_payload_len 
+282c 204027f7 call ali_mesh_ali_vendor_message_status_add_head 
+282d d8c009fd arg mem_mesh_vendor_attr_parameter ,contr 
+282e 20407dd4 call memcpy 
+282f 2020305d branch ali_mesh_upper_transport_layer_send_access_message 
+
+ali_mesh_ali_vendor_message_opcode_para_uint8:
+2830 2040283c call ali_mesh_ali_vendor_message_indication_info_add_head 
+2831 e2210005 istorer rega ,2 ,contw 
+2832 e0408005 istoret 1 ,contw 
+2833 700a0f07 jam 7 ,mem_mesh_access_layer_payload_len 
+2834 2020283a branch ali_mesh_ali_vendor_message_send_message 
+
+ali_mesh_ali_vendor_message_opcode_para_uint16:
+2835 2040283c call ali_mesh_ali_vendor_message_indication_info_add_head 
+2836 e2210005 istorer rega ,2 ,contw 
+2837 e0410005 istoret 2 ,contw 
+2838 700a0f08 jam 8 ,mem_mesh_access_layer_payload_len 
+2839 2020283a branch ali_mesh_ali_vendor_message_send_message 
+
+ali_mesh_ali_vendor_message_send_message:
+283a 20402f2f call ali_mesh_more_element_calc_queue_address 
+283b 2020305d branch ali_mesh_upper_transport_layer_send_access_message_without_cleat_tx_buffer 
+
+ali_mesh_ali_vendor_message_indication_info_add_head:
+283c 6fe0c935 fetch 1 ,mem_mesh_transport_aid 
+283d 67e08c14 store 1 ,mem_mesh_message_transport_head 
+283e 580000f0 setarg vendor_message_tmall_dst 
+283f 67e10c35 store 2 ,mem_mesh_send_message_dst 
+2840 6fe0c7a8 fetch 1 ,mem_mesh_vendor_mesh_send_tid 
+2841 1fe0fe01 pincrease 1 
+2842 67e0c7a8 store 1 ,mem_mesh_vendor_mesh_send_tid 
+2843 c060284b beq vendor_message_send_tid_max ,ali_mesh_ali_vendor_message_indication_info_reset_tid 
+2844 580000d4 setarg vendor_message_attr_indication 
+2845 67e08a10 store 1 ,mem_mesh_access_layer_payload 
+2846 580001a8 setarg vendor_message_opcode_company_id 
+2847 e7e10005 istore 2 ,contw 
+2848 6fe0c7a8 fetch 1 ,mem_mesh_vendor_mesh_send_tid 
+2849 e7e08005 istore 1 ,contw 
+284a 20600000 rtn 
+
+ali_mesh_ali_vendor_message_indication_info_reset_tid:
+284b 7047a880 jam vendor_message_send_tid_min ,mem_mesh_vendor_mesh_send_tid 
+284c 20600000 rtn 
+
+ali_mesh_time_function:
+284d 1c420400 copy clkn_bt ,temp 
+284e 6fe247ad fetch 4 ,mem_system_time 
+284f 98467c00 isub temp ,null 
+2850 2041285f call ali_mesh_timer_timeout ,positive 
+2851 20402866 call ali_mesh_clkn_bt_add_1s 
+2852 98467c00 isub temp ,null 
+2853 20610000 rtn positive 
+2854 2040285a call ali_mesh_time_init_system_time_without_clk 
+2855 6fe247a9 fetch 4 ,mem_mesh_vendor_timer_current_time 
+2856 1fe0fe01 pincrease 1 
+2857 67e247a9 store 4 ,mem_mesh_vendor_timer_current_time 
+2858 2020286a branch ali_mesh_ali_vendor_check_time 
+
+ali_mesh_time_init_system_time:
+2859 1c427e00 copy clkn_bt ,pdata 
+
+ali_mesh_time_init_system_time_without_clk:
+285a 67e247ad store 4 ,mem_system_time 
+285b 6fe0c7b0 fetch 1 ,mem_system_time + 3 
+285c 1fe17e0f and_into 0x0f ,pdata 
+285d 67e0c7b0 store 1 ,mem_system_time + 3 
+285e 20600000 rtn 
+
+ali_mesh_timer_timeout:
+285f 20628000 rtn zero 
+2860 1fe22400 copy pdata ,regb 
+2861 58100000 setarg 0x100000 
+2862 1fed7e00 lshift8 pdata ,pdata 
+2863 98408400 iadd temp ,temp 
+2864 1a427e00 copy regb ,pdata 
+2865 20600000 rtn 
+
+ali_mesh_clkn_bt_add_1s:
+2866 df200014 arg 20 ,loopcnt 
+
+ali_mesh_time_loop:
+2867 1fe0fea0 pincrease 160 
+2868 c2002867 loop ali_mesh_time_loop 
+2869 20600000 rtn 
+
+ali_mesh_ali_vendor_check_time:
+286a 20402e14 call mesh_get_element_info_config 
+286b 1a20a204 add rega ,element_device_vendor_time_ptr ,rega 
+286c 704a2d00 jam 0 ,mem_mesh_receive_element_number 
+
+ali_mesh_ali_vendor_check_time_loop:
+286d 20402f25 call ali_mesh_more_element_push_stack 
+286e efe10011 ifetch 2 ,rega 
+286f 203a2872 branch ali_mesh_ali_vendor_check_time_next_element ,blank 
+2870 1fe26000 copy pdata ,alarm 
+2871 2040287c call ali_mesh_ali_vendor_check_time_one_element 
+
+ali_mesh_ali_vendor_check_time_next_element:
+2872 20402f2a call ali_mesh_more_element_pop_stack 
+2873 6fe0ca2d fetch 1 ,mem_mesh_receive_element_number 
+2874 1fe0fe01 pincrease 1 
+2875 67e0ca2d store 1 ,mem_mesh_receive_element_number 
+2876 6848ca17 fetcht 1 ,mem_mesh_element_number 
+2877 98467e00 isub temp ,pdata 
+2878 20628000 rtn zero 
+2879 1a427e00 copy regb ,pdata 
+287a 9a20a200 iadd rega ,rega 
+287b 2020286d branch ali_mesh_ali_vendor_check_time_loop 
+
+ali_mesh_ali_vendor_check_time_one_element:
+287c df200028 arg 40 ,loopcnt 
+
+ali_mesh_ali_vendor_check_time_one_element_loop:
+287d 1f227e00 copy loopcnt ,pdata 
+287e 67e08c00 store 1 ,mem_mesh_loopcnt_tmep 
+287f efe08030 ifetch 1 ,alarm 
+2880 245a2886 ncall ali_mesh_ali_vendor_had_timing ,blank 
+2881 1e00e008 increase 8 ,alarm 
+2882 6fe08c00 fetch 1 ,mem_mesh_loopcnt_tmep 
+2883 1fe27200 copy pdata ,loopcnt 
+2884 c200287d loop ali_mesh_ali_vendor_check_time_one_element_loop 
+2885 20600000 rtn 
+
+ali_mesh_ali_vendor_had_timing:
+2886 e8440030 ifetcht 8 ,alarm 
+2887 604c09fd storet 8 ,mem_mesh_vendor_timer_timing_index_cyclic 
+2888 6fe08a04 fetch 1 ,mem_mesh_vendor_timer_timing_attr_para 
+2889 c02ca8a0 beq timer_cyclical_falg ,ali_mesh_ali_vendor_had_timing_cyclically 
+288a 684a47a9 fetcht 4 ,mem_mesh_vendor_timer_current_time 
+288b 6fe209fe fetch 4 ,mem_mesh_vendor_timer_timing_time 
+288c 98467c00 isub temp ,null 
+288d 6fe08a04 fetch 1 ,mem_mesh_vendor_timer_timing_attr_para 
+288e 2022a890 branch ali_mesh_ali_vendor_time_timeout ,zero 
+288f 20600000 rtn 
+
+ali_mesh_ali_vendor_time_timeout:
+2890 67e089f9 store 1 ,mem_mesh_generic_onoff_set_payload_onoff 
+2891 6fe149fb fetch 2 ,mem_mesh_cb_generic_onoff_set 
+2892 20407e7a call callback_func 
+2893 1e027e00 copy alarm ,pdata 
+2894 67e10c08 store 2 ,mem_mesh_alarm_temp 
+2895 68e0ca2d fetchr queue ,1 ,mem_mesh_receive_element_number 
+2896 e8408030 ifetcht 1 ,alarm 
+2897 20402816 call ali_mesh_ali_vendor_message_opcode_timing_finish 
+2898 684889f9 fetcht 1 ,mem_mesh_generic_onoff_set_payload_onoff 
+2899 68e0ca2d fetchr queue ,1 ,mem_mesh_receive_element_number 
+289a 20402803 call ali_mesh_ali_vendor_message_opcode_generic_onoff 
+289b 6fe10c08 fetch 2 ,mem_mesh_alarm_temp 
+289c 1fe26000 copy pdata ,alarm 
+289d 58000000 setarg 0 
+289e e7e08030 istore 1 ,alarm 
+289f 202027cb branch ali_mesh_ali_vendor_message_cb_timing_changed 
+
+ali_mesh_ali_vendor_had_timing_cyclically:
+28a0 6fe247a9 fetch 4 ,mem_mesh_vendor_timer_current_time 
+28a1 d840003c arg seconds_of_min ,temp 
+28a2 9846fc00 idiv temp 
+28a3 20407e64 call wait_div_end 
+28a4 18077e00 remainder pdata 
+28a5 247a0000 nrtn blank 
+28a6 6fe247a9 fetch 4 ,mem_mesh_vendor_timer_current_time 
+28a7 d8454600 arg seconds_of_four_days ,temp 
+28a8 98467e00 isub temp ,pdata 
+28a9 d8493a80 arg seconds_of_week ,temp 
+28aa 9846fc00 idiv temp 
+28ab 20407e64 call wait_div_end 
+28ac 18077e00 remainder pdata 
+28ad d8415180 arg seconds_of_day ,temp 
+28ae 9846fc00 idiv temp 
+28af 20407e64 call wait_div_end 
+28b0 18072200 remainder rega 
+28b1 18078e00 quotient queue 
+28b2 58000000 setarg 0 
+28b3 f9207e00 qset1 pdata 
+28b4 68488a00 fetcht 1 ,mem_mesh_vendor_timer_timing_weekdays_cyclic 
+28b5 98417e00 iand temp ,pdata 
+28b6 207a0000 rtn blank 
+28b7 1a227e00 deposit rega 
+28b8 d840003c arg seconds_of_min ,temp 
+28b9 9846fc00 idiv temp 
+28ba 20407e64 call wait_div_end 
+28bb 18078400 quotient temp 
+28bc 580001e0 setarg eight_hours_time_zone_offset 
+28bd 98408400 iadd temp ,temp 
+28be 6fe109fe fetch 2 ,mem_mesh_vendor_timer_timing_time_cyclic 
+28bf 98467c00 isub temp ,null 
+28c0 24628000 nrtn zero 
+28c1 6fe08a03 fetch 1 ,mem_mesh_vendor_timer_timing_attr_para_cyclic 
+28c2 20202890 branch ali_mesh_ali_vendor_time_timeout 
+
+ali_mesh_bearer_layer_send_packet_by_network_layer:
+28c3 4777403d bpatchx patch3d_6 ,mem_patch3d 
+28c4 700a7414 jam adv_pairing_mesh_message_duration ,mem_mesh_queue_ele_duration 
+28c5 6fe0c98f fetch 1 ,mem_mesh_gatt_package_send_msg_id 
+28c6 67e08a75 store 1 ,mem_mesh_queue_ele_gatt_msg_id 
+28c7 6fe08bff fetch 1 ,mem_mesh_lower_transport_layer_payload_len 
+28c8 1fe0fe0b pincrease 11 
+28c9 1fe0f3fe add pdata ,-2 ,loopcnt 
+28ca 67e08a76 store 1 ,mem_mesh_queue_ele_len 
+28cb 1fe0ffff pincrease -1 
+28cc e7e08005 istore 1 ,contw 
+28cd 5800002a setarg gap_adtype_mesh_message 
+28ce e7e08005 istore 1 ,contw 
+28cf d8c04b58 arg mem_mesh_send_upper_layer_ivi_and_nid ,contr 
+28d0 20407dc7 call memcpy_fast 
+28d1 6fe1478f fetch 2 ,mem_ui_state_map 
+28d2 2feffe09 isolate1 ui_state_ble_connected ,pdata 
+28d3 2040b017 call ali_mesh_send_ble_data ,true 
+28d4 6a210c02 fetchr rega ,2 ,mem_mesh_rega_temp 
+28d5 204028d7 call ali_mesh_advertising_bearer_layer_init_queue_param 
+28d6 202079aa branch queue_push 
+
+ali_mesh_advertising_bearer_layer_init_queue_param:
+28d7 1a208c02 add rega ,element_device_queue_buffer_ptr ,contr 
+28d8 efe10006 ifetch 2 ,contr 
+28d9 67e1448c store 2 ,mem_queue_ptr 
+28da da200a74 arg mem_mesh_queue_ele_temp ,rega 
+28db 20600000 rtn 
+
+ali_mesh_advertising_bearer_layer_load_packet_from_advertising_queue:
+28dc da6028de arg ali_mesh_advertising_bearer_layer_load_packet_from_advertising_queue_deal ,regc 
+28dd 20202e1f branch ali_mesh_check_all_element_info 
+
+ali_mesh_advertising_bearer_layer_load_packet_from_advertising_queue_deal:
+28de 1a208c16 add rega ,element_device_upper_adv_flag ,contr 
+28df efe08006 ifetch 1 ,contr 
+28e0 c1808000 rtnne packet_in_bearer 
+28e1 58000002 setarg packet_in_adverting 
+28e2 1a208a16 add rega ,element_device_upper_adv_flag ,contw 
+28e3 e7e08005 istore 1 ,contw 
+28e4 20202a1a branch ali_mesh_control_ble_advertising_on_advertising 
+
+ali_mesh_advertising_bearer_layer_send_packet_by_app_bearer:
+28e5 204028f3 call ali_mesh_advertising_bearer_layer_generate_header 
+28e6 1840fe0d add temp ,13 ,pdata 
+28e7 67e0c7b1 store 1 ,mem_mesh_adv_data_len 
+28e8 2040290a call ali_mesh_advertising_add_adtype_flags 
+28e9 1840fe09 add temp ,9 ,pdata 
+28ea e7e08005 istore 1 ,contw 
+28eb 580000ff setarg gap_adtype_manufacturer_specific 
+28ec e7e08005 istore 1 ,contw 
+28ed 6fe40bec fetch 8 ,mem_mesh_receive_service_uuid_ios_data_company_id 
+28ee e7e40005 istore 8 ,contw 
+28ef 1a220c00 copy rega ,contr 
+28f0 18427200 copy temp ,loopcnt 
+28f1 20407dd4 call memcpy 
+28f2 20202951 branch mesh_le_send_adv 
+
+ali_mesh_advertising_bearer_layer_generate_header:
+28f3 580ea801 setarg company_id_alibaba_and_vid_gatt 
+28f4 67e18bec store 3 ,mem_mesh_receive_service_uuid_ios_data_company_id 
+28f5 58000007 setarg provisioning_send_ios_data 
+28f6 67e08bef store 1 ,mem_mesh_receive_service_uuid_ios_data_provisioning_type 
+28f7 6fe0c8d4 fetch 1 ,mem_k2_nid 
+28f8 67e08bf0 store 1 ,mem_mesh_receive_service_uuid_ios_data_nid 
+28f9 6fe08a75 fetch 1 ,mem_mesh_queue_ele_gatt_msg_id 
+28fa 67e08bf1 store 1 ,mem_mesh_receive_service_uuid_ios_data_msg_id 
+28fb 6fe08a74 fetch 1 ,mem_mesh_queue_ele_duration 
+28fc 2feffe07 isolate1 bit_of_app_package_num ,pdata 
+28fd 20402901 call ali_mesh_advertising_bearer_layer_send_packet_by_app_bearer_calc_param 
+28fe 67e08bf2 store 1 ,mem_mesh_receive_service_uuid_ios_data_package_num 
+28ff 60488bf3 storet 1 ,mem_mesh_receive_service_uuid_ios_data_length 
+2900 20600000 rtn 
+
+ali_mesh_advertising_bearer_layer_send_packet_by_app_bearer_calc_param:
+2901 da200a79 arg mem_mesh_queue_ele_payload + 2 ,rega 
+2902 d8400012 arg max_app_mssage_payload_length ,temp 
+2903 58000021 setarg 0x21 
+2904 24608000 nrtn true 
+2905 da200a8b arg mem_mesh_queue_ele_payload + 20 ,rega 
+2906 68488a76 fetcht 1 ,mem_mesh_queue_ele_len 
+2907 184085ee increase -18 ,temp 
+2908 58000022 setarg 0x22 
+2909 20600000 rtn 
+
+ali_mesh_advertising_add_adtype_flags:
+290a d8a047b2 arg mem_mesh_adv_data ,contw 
+290b 58000002 setarg 0x02 
+290c e7e08005 istore 1 ,contw 
+290d 58000001 setarg gap_adtype_flags 
+290e e7e08005 istore 1 ,contw 
+290f 58000002 setarg 0x02 
+2910 e7e08005 istore 1 ,contw 
+2911 20600000 rtn 
+
+ali_mesh_advertising_add_adtype_16bit_complete:
+2912 d8401827 arg mesh_provisioning_uuid ,temp 
+2913 58000003 setarg 0x03 
+2914 e7e08005 istore 1 ,contw 
+2915 58000003 setarg gap_adtype_16bit_complete 
+2916 e7e08005 istore 1 ,contw 
+2917 e0410005 istoret 2 ,contw 
+2918 20600000 rtn 
+
+mesh_receive_advertising:
+2919 2020291a branch mesh_le_scan_adv 
+
+mesh_le_scan_adv:
+291a 20401651 call le_enable 
+291b 20401be4 call le_init_adv 
+291c 20402924 call mesh_le_wait_adv 
+291d 24768000 nrtn match 
+291e 6fe08002 fetch 1 ,mem_le_adv_rcv 
+291f 1fe0fe01 pincrease 1 
+2920 67e08002 store 1 ,mem_le_adv_rcv 
+2921 6fe149ed fetch 2 ,mem_mesh_cb_receive_advertising 
+2922 20407e7a call callback_func 
+2923 2020165e branch le_disable 
+
+mesh_le_wait_adv:
+2924 6fe149f7 fetch 2 ,mem_mesh_scan_selete_next_ch 
+2925 20207e7a branch callback_func 
+
+mesh_le_wait_adv_cb:
+2926 20402928 call mesh_le_calc_next_scan_channel 
+2927 202016f6 branch le_receive_adv 
+
+mesh_le_calc_next_scan_channel:
+2928 6fe0c7d1 fetch 1 ,mem_mesh_adv_scan_channel 
+2929 1fe0fe01 pincrease 1 
+292a 67e0c7d1 store 1 ,mem_mesh_adv_scan_channel 
+292b 67e08016 store 1 ,mem_le_ch_mapped 
+292c c1940000 rtnne 40 
+292d 7047d125 jam 37 ,mem_mesh_adv_scan_channel 
+292e 70001625 jam 37 ,mem_le_ch_mapped 
+292f 20600000 rtn 
+
+mesh_check_ble_rx_packet:
+2930 6fe0816b fetch 1 ,mem_le_rxbuf 
+2931 1fe17e0f and pdata ,0x0f ,pdata 
+2932 c0002935 beq adv_ind ,ali_mesh_match_advertising_packet 
+2933 c0012935 beq adv_nonconn_ind ,ali_mesh_match_advertising_packet 
+2934 20600000 rtn 
+
+ali_mesh_match_advertising_packet:
+2935 e8408006 ifetcht 1 ,contr 
+2936 18467c06 sub temp ,adv_packet_min_length ,null 
+2937 20610000 rtn positive 
+2938 18467c25 sub temp ,adv_packet_max_length ,null 
+2939 24610000 nrtn positive 
+293a 1840a3fa add temp ,-6 ,rega 
+293b 18c0a406 add contr ,6 ,regb 
+
+ali_mesh_find_adv_ind_packet:
+293c e8408012 ifetcht 1 ,regb 
+293d 18467c01 sub temp ,ad_type_min_length ,null 
+293e 20610000 rtn positive 
+293f 18467c1e sub temp ,ad_type_max_length ,null 
+2940 24610000 nrtn positive 
+2941 18427e00 copy temp ,pdata 
+2942 207a0000 rtn blank 
+2943 4777c03d bpatchx patch3d_7 ,mem_patch3d 
+2944 efe08006 ifetch 1 ,contr 
+2945 c07fac6a beq gap_adtype_manufacturer_specific ,ali_mesh_receive_adtype_manufacturer_specific 
+2946 c0152f3d beq gap_adtype_mesh_message ,ali_mesh_receive_adtype_mesh_message 
+2947 c003ace2 beq gap_adtype_128bit_complete ,ali_mesh_receive_adtype_128bit_uuid_complete 
+2948 1840fe01 add temp ,1 ,pdata 
+2949 9a267c00 isub rega ,null 
+294a 20610000 rtn positive 
+294b 9a40a400 iadd regb ,regb 
+294c 18467fff sub temp ,-1 ,pdata 
+294d 9a20a200 iadd rega ,rega 
+294e 1a227e00 copy rega ,pdata 
+294f 207a0000 rtn blank 
+2950 2020293c branch ali_mesh_find_adv_ind_packet 
+
+mesh_le_send_adv:
+2951 6fe08000 fetch 1 ,mem_le_adv_transmit 
+2952 1fe0fe01 pincrease 1 
+2953 67e08000 store 1 ,mem_le_adv_transmit 
+2954 4778403e bpatchx patch3e_0 ,mem_patch3e 
+2955 20401651 call le_enable 
+2956 df200027 arg 39 ,loopcnt 
+2957 d8c041f5 arg mem_le_txheader ,contr 
+2958 d8a00a97 arg mem_le_txheader_mesh_temp ,contw 
+2959 20407dc7 call memcpy_fast 
+295a 70001625 jam 37 ,mem_le_ch_mapped 
+295b db600708 arg 1800 ,stop_watch 
+295c 7856fc00 disable match 
+
+mesh_le_send_adv_loop:
+295d 20401be4 call le_init_adv 
+295e 2040296d call mesh_le_send_adv_nonconn_ind 
+295f 180a7e00 random pdata 
+2960 d84001ff arg 0x1ff ,temp 
+2961 98417e00 iand temp ,pdata 
+2962 1fe0fe64 add pdata ,100 ,pdata 
+2963 20407d81 call delay 
+2964 6fe08016 fetch 1 ,mem_le_ch_mapped 
+2965 1fe0fe01 pincrease 1 
+2966 67e08016 store 1 ,mem_le_ch_mapped 
+2967 c094295d bne 40 ,mesh_le_send_adv_loop 
+2968 df200027 arg 39 ,loopcnt 
+2969 d8a041f5 arg mem_le_txheader ,contw 
+296a d8c00a97 arg mem_le_txheader_mesh_temp ,contr 
+296b 20407dc7 call memcpy_fast 
+296c 2020165e branch le_disable 
+
+mesh_le_send_adv_nonconn_ind:
+296d d8400002 arg adv_nonconn_ind ,temp 
+296e 6048c1f5 storet 1 ,mem_le_txheader 
+296f 6848c7b1 fetcht 1 ,mem_mesh_adv_data_len 
+2970 1840fe06 add temp ,6 ,pdata 
+2971 67e0c1f6 store 1 ,mem_le_txlen 
+2972 6fe3437a fetch 6 ,mem_le_lap 
+2973 67e341f7 store 6 ,mem_le_txpayload 
+2974 18427200 copy temp ,loopcnt 
+2975 d8c047b2 arg mem_mesh_adv_data ,contr 
+2976 20407dc7 call memcpy_fast 
+2977 202017e2 branch le_transmit_norx 
+
+ali_mesh_base_adt_cache:
+2978 4778c03e bpatchx patch3e_1 ,mem_patch3e 
+2979 68490be1 fetcht 2 ,mem_ccm_data_ptr 
+297a 6fe08be0 fetch 1 ,mem_ccm_data_len 
+297b 18420c00 copy temp ,contr 
+297c da2048f5 arg mem_k4_salt ,rega 
+297d de004905 arg mem_k4_t ,alarm 
+297e 20402bb1 call ali_mesh_encrypt_base_function_aes_cmac 
+297f 20407ec7 call disable_user 
+2980 1a627e00 copy regc ,pdata 
+2981 9e008c00 iadd alarm ,contr 
+2982 684a4905 fetcht 4 ,mem_k4_t 
+2983 6fe10bfd fetch 2 ,mem_mesh_mic_cache_ptr 
+2984 1fe22200 copy pdata ,rega 
+2985 df20000a arg transport_mic_cache_space_num ,loopcnt 
+
+ali_mesh_base_adt_cache_loop:
+2986 efe20011 ifetch 4 ,rega 
+2987 203a2993 branch ali_mesh_base_adt_cache_empty_space ,blank 
+2988 98467c00 isub temp ,null 
+2989 20628000 rtn zero 
+298a 1a20a204 increase transport_mic_cache_space_size ,rega 
+298b c2002986 loop ali_mesh_base_adt_cache_loop 
+298c 6fe10bfd fetch 2 ,mem_mesh_mic_cache_ptr 
+298d 1fe20a00 copy pdata ,contw 
+298e 1fe08c04 add pdata ,transport_mic_cache_space_size ,contr 
+298f df200024 arg transport_mic_cache_total_size ,loopcnt 
+2990 20407dc7 call memcpy_fast 
+2991 e0420005 istoret 4 ,contw 
+2992 20207ec5 branch enable_user 
+
+ali_mesh_base_adt_cache_empty_space:
+2993 e0420011 istoret 4 ,rega 
+2994 20207ec5 branch enable_user 
+
+ali_mesh_chip_peripherals_load_data_from_eep:
+2995 2040299c call ali_mesh_chip_peripherals_load_three_tuple_from_eep 
+2996 204029a0 call ali_mesh_chip_peripherals_load_network_key_from_eep 
+2997 204029a7 call ali_mesh_chip_peripherals_load_application_key_from_eep 
+2998 204029ab call ali_mesh_chip_peripherals_load_device_key_from_eep 
+2999 204029af call ali_mesh_chip_peripherals_load_reset_count_from_eep 
+299a 204029b0 call ali_mesh_chip_peripherals_load_seq_from_eep 
+299b 202029b4 branch ali_mesh_chip_peripherals_load_subscription_from_eep 
+
+ali_mesh_chip_peripherals_load_three_tuple_from_eep:
+299c d840001a arg mesh_eep_three_tuple_length ,temp 
+299d da2049d3 arg mem_mesh_three_tuple_productid ,rega 
+299e da400000 arg mesh_eep_three_tuple_offset ,regb 
+299f 20205e79 branch iicd_read_eep_data 
+
+ali_mesh_chip_peripherals_load_network_key_from_eep:
+29a0 d8400013 arg mesh_eep_network_key_length ,temp 
+29a1 da204976 arg mem_mesh_network_key ,rega 
+29a2 da40001a arg mesh_eep_network_key_offset ,regb 
+29a3 20405e79 call iicd_read_eep_data 
+29a4 6fe0c986 fetch 1 ,mem_mesh_last_iv_index_byte 
+29a5 67e0ca31 store 1 ,mem_mesh_iv_index + 3 
+29a6 20600000 rtn 
+
+ali_mesh_chip_peripherals_load_application_key_from_eep:
+29a7 d8400010 arg mesh_eep_application_key_length ,temp 
+29a8 da204b19 arg mem_mesh_application_key ,rega 
+29a9 da40002d arg mesh_eep_application_key_offset ,regb 
+29aa 20205e79 branch iicd_read_eep_data 
+
+ali_mesh_chip_peripherals_load_device_key_from_eep:
+29ab d8400010 arg mesh_eep_device_key_length ,temp 
+29ac da204827 arg mem_mesh_device_key ,rega 
+29ad da40003d arg mesh_eep_device_key_offset ,regb 
+29ae 20205e79 branch iicd_read_eep_data 
+
+ali_mesh_chip_peripherals_load_reset_count_from_eep:
+29af 20600000 rtn 
+
+ali_mesh_chip_peripherals_load_seq_from_eep:
+29b0 d8400003 arg mesh_eep_seq_length ,temp 
+29b1 da204b52 arg mem_mesh_send_message_seq ,rega 
+29b2 da40004e arg mesh_eep_seq_offset ,regb 
+29b3 20205e79 branch iicd_read_eep_data 
+
+ali_mesh_chip_peripherals_load_subscription_from_eep:
+29b4 6fe14a15 fetch 2 ,mem_mesh_core_feature 
+29b5 c3810000 rtnbit1 mesh_feature_disable_subscription 
+29b6 d8400040 arg mesh_eep_subscription_total_length ,temp 
+29b7 da20098e arg mem_mesh_subscription_eep_temp ,rega 
+29b8 da400051 arg mesh_eep_subscription_offset ,regb 
+29b9 20405e79 call iicd_read_eep_data 
+29ba 20402e14 call mesh_get_element_info_config 
+29bb d8c0098e arg mem_mesh_subscription_eep_temp ,contr 
+29bc 1a20a206 add rega ,element_device_subscription_label ,rega 
+
+ali_mesh_chip_peripherals_load_subscription_from_eep_loop:
+29bd 1a220a00 copy rega ,contw 
+29be 20407d7f call memcpy16 
+29bf 1a427e00 copy regb ,pdata 
+29c0 9a20a200 iadd rega ,rega 
+29c1 c20029bd loop ali_mesh_chip_peripherals_load_subscription_from_eep_loop 
+29c2 20600000 rtn 
+
+mesh_receive_config_appkey_add_cb:
+29c3 204029c6 call ali_mesh_chip_peripherals_save_network_key_from_eep 
+29c4 204029ca call ali_mesh_chip_peripherals_save_application_key_from_eep 
+29c5 202029ce branch ali_mesh_chip_peripherals_save_device_key_from_eep 
+
+ali_mesh_chip_peripherals_save_network_key_from_eep:
+29c6 d8400013 arg mesh_eep_network_key_length ,temp 
+29c7 da204976 arg mem_mesh_network_key ,rega 
+29c8 da40001a arg mesh_eep_network_key_offset ,regb 
+29c9 20205e6b branch iicd_write_protect_eep_data 
+
+ali_mesh_chip_peripherals_save_application_key_from_eep:
+29ca d8400010 arg mesh_eep_application_key_length ,temp 
+29cb da204b19 arg mem_mesh_application_key ,rega 
+29cc da40002d arg mesh_eep_application_key_offset ,regb 
+29cd 20205e6b branch iicd_write_protect_eep_data 
+
+ali_mesh_chip_peripherals_save_device_key_from_eep:
+29ce d8400010 arg mesh_eep_device_key_length ,temp 
+29cf da204827 arg mem_mesh_device_key ,rega 
+29d0 da40003d arg mesh_eep_device_key_offset ,regb 
+29d1 20205e6b branch iicd_write_protect_eep_data 
+
+mesh_store_new_seq_data:
+
+ali_mesh_chip_peripherals_save_seq_from_eep:
+29d2 d8400003 arg mesh_eep_seq_length ,temp 
+29d3 da204b52 arg mem_mesh_send_message_seq ,rega 
+29d4 da40004e arg mesh_eep_seq_offset ,regb 
+29d5 20205e6b branch iicd_write_protect_eep_data 
+
+mesh_store_new_subscriptuion_list_data:
+29d6 204029db call ali_mesh_chip_peripherals_save_subscriptuion_list_from_eep 
+29d7 d8400040 arg mesh_eep_subscription_total_length ,temp 
+29d8 da20098e arg mem_mesh_subscription_eep_temp ,rega 
+29d9 da400051 arg mesh_eep_subscription_offset ,regb 
+29da 20205e6b branch iicd_write_protect_eep_data 
+
+ali_mesh_chip_peripherals_save_subscriptuion_list_from_eep:
+29db 20402e14 call mesh_get_element_info_config 
+29dc d8a0098e arg mem_mesh_subscription_eep_temp ,contw 
+29dd 1a20a206 add rega ,element_device_subscription_label ,rega 
+
+ali_mesh_chip_peripherals_save_subscriptuion_list_from_eep_loop:
+29de 1a220c00 copy rega ,contr 
+29df 20407d7f call memcpy16 
+29e0 1a427e00 copy regb ,pdata 
+29e1 9a20a200 iadd rega ,rega 
+29e2 c20029de loop ali_mesh_chip_peripherals_save_subscriptuion_list_from_eep_loop 
+29e3 20600000 rtn 
+
+logging_tx_debug:
+29e4 d8400000 arg logging_debug ,temp 
+29e5 202029ee branch logging_tx_common 
+
+logging_tx_info:
+29e6 d8400001 arg logging_info ,temp 
+29e7 202029ee branch logging_tx_common 
+
+logging_tx_warning:
+29e8 d8400002 arg logging_warning ,temp 
+29e9 202029ee branch logging_tx_common 
+
+logging_tx_error:
+29ea d8400003 arg logging_error ,temp 
+29eb 202029ee branch logging_tx_common 
+
+logging_tx_critical:
+29ec d8400004 arg logging_critical ,temp 
+29ed 202029ee branch logging_tx_common 
+
+logging_tx_common:
+29ee 4779403e bpatchx patch3e_2 ,mem_patch3e 
+29ef 20407d3b call push_stack 
+29f0 6fe0ca15 fetch 1 ,mem_mesh_core_feature 
+29f1 c2807d47 bbit1 mesh_feature_disable_log ,pop_stack 
+29f2 20405fb7 call uartb_prepare_tx_register_push 
+29f3 580000aa setarg lua_log_packet_header 
+29f4 e7e08003 istore 1 ,contwu 
+29f5 58000003 setarg lua_log_pakcet_type 
+29f6 e7e08003 istore 1 ,contwu 
+29f7 1f20fe04 add loopcnt ,4 ,pdata 
+29f8 e7e08003 istore 1 ,contwu 
+29f9 e0410003 istorer temp ,2 ,contwu 
+29fa e2410003 istorer regb ,2 ,contwu 
+29fb 1a220c00 copy rega ,contr 
+29fc 20405fc5 call uart_copy_tx_bytes_fast 
+29fd 580000bb setarg lua_log_packet_trail 
+29fe e7e08003 istore 1 ,contwu 
+29ff 20405fbb call uartb_send_register_pop 
+2a00 20207d47 branch pop_stack 
+
+mesh_uart_init:
+2a01 6fe0ca15 fetch 1 ,mem_mesh_core_feature 
+2a02 c3800000 rtnbit1 mesh_feature_disable_log 
+2a03 70807b0c jam gpcfg_uartb_txd ,core_gpio_conf + 11 
+2a04 70807c4d jam gpcfg_uartb_rxd | gpcfg_pullup ,core_gpio_conf + 12 
+2a05 20402a0c call mesh_uart_init_buffer 
+2a06 d84e1000 arg 921600 ,temp 
+2a07 20405f70 call uartb_calc_baud_rate_config 
+2a08 20405f7d call uart_clock_select_main_freq_crystal 
+2a09 d8400081 arg fun_uart_control_enable | fun_uart_control_setting_rate_baud ,temp 
+2a0a 60588061 storet 1 ,core_uartb_ctrl 
+2a0b 20600000 rtn 
+
+mesh_uart_init_buffer:
+2a0c 58001c00 setarg mem_mesh_uart_log_rx_buff 
+2a0d 67e1095c store 2 ,mem_pdatatemp 
+2a0e 58001c01 setarg mem_mesh_uart_log_rx_buff_end 
+2a0f e7e10005 istore 2 ,contw 
+2a10 58001c02 setarg mem_mesh_uart_log_tx_buff 
+2a11 e7e10005 istore 2 ,contw 
+2a12 58001fff setarg mem_mesh_uart_log_tx_buff_end 
+2a13 e7e10005 istore 2 ,contw 
+2a14 6fe4095c fetch 8 ,mem_pdatatemp 
+2a15 20205f58 branch uartb_init_dma_mem 
+
+ali_mesh_control_ble_adv_process:
+2a16 20402a26 call ali_mesh_control_ble_adv_tmall_packet 
+2a17 20202a1e branch ali_mesh_control_ble_adv_app_packet 
+
+ali_mesh_control_ble_adv_timer_process:
+2a18 20402a8d call ali_mesh_advertising_unprovisioned_timer_interval_timer 
+2a19 20202a83 branch ali_mesh_advertising_unprovisioned_timer 
+
+ali_mesh_control_ble_advertising_on_advertising:
+2a1a 7047d201 jam device_beacon_on ,mem_mesh_advertising_unprovisioned_device_beacon_switch 
+2a1b 20600000 rtn 
+
+ali_mesh_control_ble_advertising_off_advertising:
+2a1c 7047d200 jam device_beacon_off ,mem_mesh_advertising_unprovisioned_device_beacon_switch 
+2a1d 20600000 rtn 
+
+ali_mesh_control_ble_adv_app_packet:
+2a1e da402a22 arg ali_mesh_control_ble_adv_app_packet_paired ,regb 
+2a1f da200015 arg mesh_adv_app_message_interval ,rega 
+2a20 d8e0000d arg mesh_ble_adv_app ,queue 
+2a21 20202a78 branch ali_mesh_chip_timer_check_with_random_timer 
+
+ali_mesh_control_ble_adv_app_packet_paired:
+2a22 6fe0c96b fetch 1 ,mem_mesh_provisioned_flag 
+2a23 c1800000 rtnne paired_status 
+2a24 da602a2a arg ali_mesh_control_ble_adv_app_packet_paired_deal ,regc 
+2a25 20202e1f branch ali_mesh_check_all_element_info 
+
+ali_mesh_control_ble_adv_tmall_packet:
+2a26 da402a37 arg ali_mesh_control_ble_adv_tmall_packet_send_package ,regb 
+2a27 da20001d arg mesh_adv_tmall_message_interval ,rega 
+2a28 d8e0000e arg mesh_ble_adv_tmall ,queue 
+2a29 20202a78 branch ali_mesh_chip_timer_check_with_random_timer 
+
+ali_mesh_control_ble_adv_app_packet_paired_deal:
+2a2a 1a208c1a add rega ,element_device_tran_package_type ,contr 
+2a2b efe08006 ifetch 1 ,contr 
+2a2c c4008000 rtnbit0 bit_upper_tran_app_message 
+2a2d 204028d7 call ali_mesh_advertising_bearer_layer_init_queue_param 
+2a2e 204079d2 call queue_get_new_ele 
+2a2f 24740000 nrtn user 
+2a30 6fe08a76 fetch 1 ,mem_mesh_queue_ele_len 
+2a31 1fe0fffe pincrease -2 
+2a32 67e08a76 store 1 ,mem_mesh_queue_ele_len 
+2a33 6fe08a74 fetch 1 ,mem_mesh_queue_ele_duration 
+2a34 79407e07 setflip bit_of_app_package_num ,pdata 
+2a35 e7e08012 istore 1 ,regb 
+2a36 202028e5 branch ali_mesh_advertising_bearer_layer_send_packet_by_app_bearer 
+
+ali_mesh_control_ble_adv_tmall_packet_send_package:
+2a37 6fe0c96b fetch 1 ,mem_mesh_provisioned_flag 
+2a38 c0002a3b beq paired_status ,ali_mesh_control_ble_advertising_send_paired_packet 
+2a39 c0012a76 beq pairing_status ,ali_mesh_control_ble_advertising_send_pairing_packet 
+2a3a 20202a65 branch ali_mesh_control_ble_advertising_send_device_beacon_packet 
+
+ali_mesh_control_ble_advertising_send_paired_packet:
+2a3b da602a3d arg ali_mesh_control_ble_advertising_send_paired_packet_deal ,regc 
+2a3c 20202e1f branch ali_mesh_check_all_element_info 
+
+ali_mesh_control_ble_advertising_send_paired_packet_deal:
+2a3d 204028d7 call ali_mesh_advertising_bearer_layer_init_queue_param 
+2a3e 204079d2 call queue_get_new_ele 
+2a3f 24740000 nrtn user 
+2a40 6fe08a74 fetch 1 ,mem_mesh_queue_ele_duration 
+2a41 1fe0ffff pincrease -1 
+2a42 e7e08012 istore 1 ,regb 
+2a43 c2832a58 bbit1 bit_of_adv_in_off ,ali_mesh_control_ble_advertising_send_paired_packet_adv_in_off 
+2a44 1fe17e3f and pdata ,0x3f ,pdata 
+2a45 205a2a5f call ali_mesh_control_ble_advertising_send_paired_packet_end_duration ,blank 
+2a46 6a210c02 fetchr rega ,2 ,mem_mesh_rega_temp 
+2a47 1a208c1a add rega ,element_device_tran_package_type ,contr 
+2a48 efe08006 ifetch 1 ,contr 
+2a49 c2812a4f bbit1 bit_uuper_tran_proxy_message ,ali_mesh_control_ble_advertising_send_paired_packet_end_duration_proxy 
+2a4a c4000000 rtnbit0 bit_upper_tran_tmall_message 
+2a4b d8a047b1 arg mem_mesh_adv_data_len ,contw 
+2a4c d8c00a76 arg mem_mesh_queue_ele_len ,contr 
+2a4d 20407d7d call memcpy32 
+2a4e 20202951 branch mesh_le_send_adv 
+
+ali_mesh_control_ble_advertising_send_paired_packet_end_duration_proxy:
+2a4f da200a74 arg mem_mesh_queue_ele_duration ,rega 
+2a50 204079c1 call queue_pop 
+2a51 204079f0 call queue_empty 
+2a52 247a0000 nrtn blank 
+2a53 6a210c02 fetchr rega ,2 ,mem_mesh_rega_temp 
+2a54 1a208a16 add rega ,element_device_upper_adv_flag ,contw 
+2a55 58000000 setarg null_packet_advertising 
+2a56 e7e08005 istore 1 ,contw 
+2a57 20202a1c branch ali_mesh_control_ble_advertising_off_advertising 
+
+ali_mesh_control_ble_advertising_send_paired_packet_adv_in_off:
+2a58 1fe17e3f and pdata ,0x3f ,pdata 
+2a59 247a0000 nrtn blank 
+2a5a 6a210c02 fetchr rega ,2 ,mem_mesh_rega_temp 
+2a5b 1a208a16 add rega ,element_device_upper_adv_flag ,contw 
+2a5c 58000000 setarg null_packet_advertising 
+2a5d e7e08005 istore 1 ,contw 
+2a5e 202079a5 branch queue_init 
+
+ali_mesh_control_ble_advertising_send_paired_packet_end_duration:
+2a5f da200a74 arg mem_mesh_queue_ele_duration ,rega 
+2a60 204079c1 call queue_pop 
+2a61 204079f0 call queue_empty 
+2a62 247a0000 nrtn blank 
+2a63 700a7454 jam adv_pairing_mesh_message_interval ,mem_mesh_queue_ele_duration 
+2a64 202079aa branch queue_push 
+
+ali_mesh_control_ble_advertising_send_device_beacon_packet:
+2a65 20402c41 call ali_mesh_config_device_uuid_by_three_tuple 
+2a66 20402c4d call ali_mesh_send_unprovisioned_beacons_tmall 
+2a67 20402c5b call ali_mesh_advertising_send_unprovisioned_beacons_gatt 
+2a68 20402a6e call ali_mesh_control_ble_advertising_device_beacon_check_duration 
+2a69 24628000 nrtn zero 
+2a6a 6fe0c96b fetch 1 ,mem_mesh_provisioned_flag 
+2a6b c001aa72 beq silence_beacon_status ,ali_mesh_end_advertising_silence_device_beacon_packet 
+2a6c c000aa74 beq unprovisioned_beacon_status ,ali_mesh_end_advertising_unprovisioned_device_beacon_packet 
+2a6d 20600000 rtn 
+
+ali_mesh_control_ble_advertising_device_beacon_check_duration:
+2a6e 6fe0c7d5 fetch 1 ,mem_mesh_advertising_unprovisioned_device_beacon_duration 
+2a6f 1fe0ffff add pdata ,-1 ,pdata 
+2a70 67e0c7d5 store 1 ,mem_mesh_advertising_unprovisioned_device_beacon_duration 
+2a71 20600000 rtn 
+
+ali_mesh_end_advertising_silence_device_beacon_packet:
+2a72 7047d658 jam adv_silence_device_beacon_interval ,mem_mesh_advertising_unprovisioned_device_beacon_interval 
+2a73 20202a1c branch ali_mesh_control_ble_advertising_off_advertising 
+
+ali_mesh_end_advertising_unprovisioned_device_beacon_packet:
+2a74 7047d606 jam adv_unprovisioned_device_beacon_duration ,mem_mesh_advertising_unprovisioned_device_beacon_interval 
+2a75 20202a1c branch ali_mesh_control_ble_advertising_off_advertising 
+
+ali_mesh_control_ble_advertising_send_pairing_packet:
+2a76 20402cc0 call ali_mesh_advertising_timer 
+2a77 20202951 branch mesh_le_send_adv 
+
+ali_mesh_chip_timer_check_with_random_timer:
+2a78 180a7e00 random pdata 
+2a79 1fe17e07 and pdata ,0x07 ,pdata 
+2a7a 9a20a200 iadd rega ,rega 
+
+ali_mesh_chip_timer_check:
+2a7b 6fe0c7d2 fetch 1 ,mem_mesh_advertising_unprovisioned_device_beacon_switch 
+2a7c c1808000 rtnne device_beacon_on 
+2a7d 20407de9 call timer_check 
+2a7e 247a0000 nrtn blank 
+2a7f 1a227e00 copy rega ,pdata 
+2a80 20407ddb call timer_init 
+2a81 1a427e00 copy regb ,pdata 
+2a82 20207e7a branch callback_func 
+
+ali_mesh_advertising_unprovisioned_timer:
+2a83 da6047d3 arg mem_mesh_advertising_unprovisioned_device_beacon_timer ,regc 
+2a84 da402a86 arg ali_mesh_advertising_unprovisioned_timeout ,regb 
+2a85 20203203 branch timer_single_step_2b 
+
+ali_mesh_advertising_unprovisioned_timeout:
+2a86 6fe0c96b fetch 1 ,mem_mesh_provisioned_flag 
+2a87 c1808000 rtnne unprovisioned_beacon_status 
+2a88 6fe0c96e fetch 1 ,mem_mesh_uuid_featureflag 
+2a89 79207e00 set1 bit_silence_adv_flag ,pdata 
+2a8a 67e0c96e store 1 ,mem_mesh_uuid_featureflag 
+2a8b 70496b03 jam silence_beacon_status ,mem_mesh_provisioned_flag 
+2a8c 20202a96 branch ali_mesh_send_silence_device_beacon_init_advertising 
+
+ali_mesh_advertising_unprovisioned_timer_interval_timer:
+2a8d da6047d6 arg mem_mesh_advertising_unprovisioned_device_beacon_interval ,regc 
+2a8e da402a90 arg ali_mesh_advertising_unprovisioned_timer_interval_timeout ,regb 
+2a8f 202031fc branch timer_single_step 
+
+ali_mesh_advertising_unprovisioned_timer_interval_timeout:
+2a90 6fe0c96b fetch 1 ,mem_mesh_provisioned_flag 
+2a91 c001aa96 beq silence_beacon_status ,ali_mesh_send_silence_device_beacon_init_advertising 
+2a92 c000aa94 beq unprovisioned_beacon_status ,ali_mesh_send_unprovisioned_device_beacon_init_advertising 
+2a93 20600000 rtn 
+
+ali_mesh_send_unprovisioned_device_beacon_init_advertising:
+2a94 7047d506 jam adv_unprovisioned_device_beacon_duration ,mem_mesh_advertising_unprovisioned_device_beacon_duration 
+2a95 20202a1a branch ali_mesh_control_ble_advertising_on_advertising 
+
+ali_mesh_send_silence_device_beacon_init_advertising:
+2a96 7047d506 jam adv_silence_device_beacon_duration ,mem_mesh_advertising_unprovisioned_device_beacon_duration 
+2a97 20202a1a branch ali_mesh_control_ble_advertising_on_advertising 
+
+ali_mesh_encrypt_calc_random_data:
+2a98 20402a9e call ali_mesh_encrypt_calc_random_data_calc_confirmationkey 
+2a99 20402aa6 call ali_mesh_encrypt_calc_random_data_calc_authvalueprov 
+2a9a 20402aab call ali_mesh_encrypt_calc_random_data_calc_authvaluedevice 
+2a9b 20402ab0 call ali_mesh_encrypt_calc_random_data_calc_confirmationcloud 
+2a9c 20402ab8 call ali_mesh_encrypt_calc_random_data_calc_confirmationdevice 
+2a9d 20202abc branch ali_mesh_encrypt_calc_random_data_calc_devicekey 
+
+ali_mesh_encrypt_calc_random_data_calc_confirmationkey:
+2a9e 20402ac9 call ali_mesh_encrypt_load_randomab_to_sha256 
+2a9f d8c04847 arg mem_mesh_sha256_confirmationkey_ascii ,contr 
+2aa0 df20000f arg 0xf ,loopcnt 
+2aa1 20402b37 call ali_mesh_encrypt_base_function_sha256_load_data_without_hex2ascii 
+2aa2 20402b51 call ali_mesh_encrypt_base_function_sha256_calc 
+2aa3 d8c00900 arg memresult ,contr 
+2aa4 d8a04837 arg mem_mesh_confirmationkey ,contw 
+2aa5 20207d7f branch memcpy16 
+
+ali_mesh_encrypt_calc_random_data_calc_authvalueprov:
+2aa6 20402acc call ali_mesh_encrypt_load_three_tuple_to_sha256 
+2aa7 20402b51 call ali_mesh_encrypt_base_function_sha256_calc 
+2aa8 d8c00900 arg memresult ,contr 
+2aa9 d8a047e7 arg mem_mesh_authvalueprov ,contw 
+2aaa 20207d7f branch memcpy16 
+
+ali_mesh_encrypt_calc_random_data_calc_authvaluedevice:
+2aab 20402acc call ali_mesh_encrypt_load_three_tuple_to_sha256 
+2aac 20402b51 call ali_mesh_encrypt_base_function_sha256_calc 
+2aad d8c00900 arg memresult ,contr 
+2aae d8a04817 arg mem_mesh_authvaluedevice ,contw 
+2aaf 20207d7f branch memcpy16 
+
+ali_mesh_encrypt_calc_random_data_calc_confirmationcloud:
+2ab0 6fe44807 fetch 8 ,mem_mesh_provisioning_random_a 
+2ab1 67e447df store 8 ,mem_mesh_confirmationcloud_randoma 
+2ab2 6fe4480f fetch 8 ,mem_mesh_provisioning_random_b 
+2ab3 67e447d7 store 8 ,mem_mesh_confirmationcloud_randomb 
+2ab4 d8c047d7 arg mem_mesh_calc_confirmationcloud_data ,contr 
+2ab5 da204837 arg mem_mesh_confirmationkey ,rega 
+2ab6 de0047f7 arg mem_mesh_confirmationcloud ,alarm 
+2ab7 20202b9f branch ali_mesh_encrypt_base_function_aes_cmac_32byte 
+
+ali_mesh_encrypt_calc_random_data_calc_confirmationdevice:
+2ab8 d8c04807 arg mem_mesh_calc_confirmationdevice_data ,contr 
+2ab9 da204837 arg mem_mesh_confirmationkey ,rega 
+2aba de004807 arg mem_mesh_confirmationdevice ,alarm 
+2abb 20202b9f branch ali_mesh_encrypt_base_function_aes_cmac_32byte 
+
+ali_mesh_encrypt_calc_random_data_calc_devicekey:
+2abc d8c047f7 arg mem_mesh_confirmationcloud ,contr 
+2abd df200010 arg 0x10 ,loopcnt 
+2abe 20402b34 call ali_mesh_encrypt_base_function_sha256_load_data_with_hex2ascii 
+2abf d8c04860 arg mem_mesh_sha256_devicekey_ascii ,contr 
+2ac0 df200009 arg 9 ,loopcnt 
+2ac1 20402b37 call ali_mesh_encrypt_base_function_sha256_load_data_without_hex2ascii 
+2ac2 20402b51 call ali_mesh_encrypt_base_function_sha256_calc 
+2ac3 d8c00900 arg memresult ,contr 
+2ac4 d8a04827 arg mem_mesh_device_key ,contw 
+2ac5 20207d7f branch memcpy16 
+
+ali_mesh_encrypt_load_randomba_to_sha256:
+2ac6 20402aca call ali_mesh_encrypt_load_randomb_to_sha256 
+
+ali_mesh_encrypt_load_randoma_to_sha256:
+2ac7 d8c04807 arg mem_mesh_provisioning_random_a ,contr 
+2ac8 20202b33 branch ali_mesh_encrypt_base_function_sha256_load_data_64bit 
+
+ali_mesh_encrypt_load_randomab_to_sha256:
+2ac9 20402ac7 call ali_mesh_encrypt_load_randoma_to_sha256 
+
+ali_mesh_encrypt_load_randomb_to_sha256:
+2aca d8c0480f arg mem_mesh_provisioning_random_b ,contr 
+2acb 20202b33 branch ali_mesh_encrypt_base_function_sha256_load_data_64bit 
+
+ali_mesh_encrypt_load_three_tuple_to_sha256:
+2acc d8c049d3 arg mem_mesh_three_tuple_productid ,contr 
+2acd df200004 arg 4 ,loopcnt 
+2ace 20402b3a call ali_mesh_encrypt_base_function_sha256_load_data_with_hex2ascii_add_comma 
+2acf d8c049d7 arg mem_mesh_three_tuple_mac ,contr 
+2ad0 df200006 arg 6 ,loopcnt 
+2ad1 20402b3a call ali_mesh_encrypt_base_function_sha256_load_data_with_hex2ascii_add_comma 
+2ad2 d8c049dd arg mem_mesh_three_tuple_secret ,contr 
+2ad3 df200010 arg 0x10 ,loopcnt 
+2ad4 20202b34 branch ali_mesh_encrypt_base_function_sha256_load_data_with_hex2ascii 
+
+ali_mesh_encrypt_calc_provisioning_data:
+2ad5 20402ae1 call ali_mesh_encrypt_calc_provisioning_data_calc_sessionkey 
+
+ali_mesh_encrypt_calc_provisioning_data_xor_prov_data:
+2ad6 da204973 arg mem_mesh_encrypt_provisioning_data ,rega 
+2ad7 da400900 arg memresult ,regb 
+2ad8 df20000b arg 0xb ,loopcnt 
+
+ali_mesh_encrypt_calc_provisioning_data_xor_prov_data_loop:
+2ad9 efe10011 ifetch 2 ,rega 
+2ada e8410012 ifetcht 2 ,regb 
+2adb 9842fe00 ixor temp ,pdata 
+2adc e7e10011 istore 2 ,rega 
+2add 1a20a202 increase 2 ,rega 
+2ade 1a40a402 increase 2 ,regb 
+2adf c2002ad9 loop ali_mesh_encrypt_calc_provisioning_data_xor_prov_data_loop 
+2ae0 20600000 rtn 
+
+ali_mesh_encrypt_calc_provisioning_data_calc_sessionkey:
+2ae1 d8c047f7 arg mem_mesh_confirmationcloud ,contr 
+2ae2 df200010 arg 0x10 ,loopcnt 
+2ae3 20402b34 call ali_mesh_encrypt_base_function_sha256_load_data_with_hex2ascii 
+2ae4 d8c04856 arg mem_mesh_sha256_sessionkey_ascii ,contr 
+2ae5 df20000a arg 0xa ,loopcnt 
+2ae6 20402b37 call ali_mesh_encrypt_base_function_sha256_load_data_without_hex2ascii 
+2ae7 20202b51 branch ali_mesh_encrypt_base_function_sha256_calc 
+
+ali_mesh_encrypt_calc_network_key_by_k2:
+2ae8 d8c04976 arg mem_mesh_network_key ,contr 
+2ae9 d8a04894 arg mem_k2_n ,contw 
+2aea 20407d7f call memcpy16 
+
+ali_mesh_encrypt_base_function_k2:
+2aeb d8c04894 arg mem_k2_n ,contr 
+2aec da2048a4 arg mem_k2_salt ,rega 
+2aed de0048b4 arg mem_k2_t ,alarm 
+2aee 20402ba1 call ali_mesh_encrypt_base_function_aes_cmac_16byte 
+2aef de0048c4 arg mem_k2_t1 ,alarm 
+2af0 da400001 arg 0x01 ,regb 
+2af1 58000000 setarg 0 
+2af2 20402ba3 call ali_mesh_encrypt_base_function_k2_aes_cmac_t 
+2af3 6fe0c8d3 fetch 1 ,mem_k2_t1 + 15 
+2af4 1fe17e7f and pdata ,0x7f ,pdata 
+2af5 67e0c8d4 store 1 ,mem_k2_nid 
+2af6 de0048e5 arg mem_k2_t2 ,alarm 
+2af7 da400002 arg 0x02 ,regb 
+2af8 58000010 setarg 0x10 
+2af9 da2048c4 arg mem_k2_t1 ,rega 
+2afa 20402ba3 call ali_mesh_encrypt_base_function_k2_aes_cmac_t 
+2afb de0048d5 arg mem_k2_t3 ,alarm 
+2afc da400003 arg 0x03 ,regb 
+2afd 58000010 setarg 0x10 
+2afe da2048e5 arg mem_k2_t2 ,rega 
+2aff 20202ba3 branch ali_mesh_encrypt_base_function_k2_aes_cmac_t 
+
+ali_mesh_encrypt_base_function_k4:
+2b00 d8c04b19 arg mem_mesh_application_key ,contr 
+2b01 da2048f5 arg mem_k4_salt ,rega 
+2b02 de004905 arg mem_k4_t ,alarm 
+2b03 20402ba1 call ali_mesh_encrypt_base_function_aes_cmac_16byte 
+2b04 d8c04915 arg mem_k4_id6_01 ,contr 
+2b05 da204905 arg mem_k4_t ,rega 
+2b06 de004925 arg mem_k4_k4n ,alarm 
+2b07 58000004 setarg 4 
+2b08 20402bb1 call ali_mesh_encrypt_base_function_aes_cmac 
+2b09 6fe0c934 fetch 1 ,mem_k4_k4n + 15 
+2b0a 1fe17e3f and pdata ,0x3f ,pdata 
+2b0b 79207e06 set1 transport_head_bit_akf ,pdata 
+2b0c 67e0c935 store 1 ,mem_mesh_transport_aid 
+2b0d 20600000 rtn 
+
+ali_mesh_encrypt_base_function_k3:
+2b0e d8c04976 arg mem_mesh_network_key ,contr 
+2b0f da204936 arg mem_k3_salt ,rega 
+2b10 de004946 arg mem_k3_t ,alarm 
+2b11 20402ba1 call ali_mesh_encrypt_base_function_aes_cmac_16byte 
+2b12 d8c04956 arg mem_k3_id64_01 ,contr 
+2b13 da204946 arg mem_k3_t ,rega 
+2b14 de00495b arg mem_k3_k4n ,alarm 
+2b15 58000005 setarg 5 
+2b16 20402bb1 call ali_mesh_encrypt_base_function_aes_cmac 
+2b17 20402ff3 call ali_mesh_proxy_init_adv 
+2b18 6fe1478f fetch 2 ,mem_ui_state_map 
+2b19 c3848000 rtnbit1 ui_state_ble_connected 
+2b1a 70442701 jam 1 ,mem_le_adv_enable 
+2b1b 20600000 rtn 
+
+ali_mesh_encrypt_obfuscation_deceypt_send_message:
+2b1c da204b59 arg mem_mesh_send_upper_layer_ctl_and_ttl ,rega 
+2b1d 6fe3cb5f fetch 7 ,mem_mesh_send_upper_layer_dst 
+2b1e 20202b21 branch ali_mesh_encrypt_obfuscation_deceypt 
+
+ali_mesh_encrypt_obfuscation_deceypt_recevie_message:
+2b1f da200c0c arg mem_mesh_message_ttl ,rega 
+2b20 6fe38c12 fetch 7 ,mem_mesh_message_dst 
+
+ali_mesh_encrypt_obfuscation_deceypt:
+2b21 67e38bc7 store 7 ,mem_mesh_privacy_plaintext_privacy_random 
+2b22 58000000 setarg 0 
+2b23 67e28bbe store 5 ,mem_mesh_privacy_plaintext_zero_string 
+2b24 20402b2a call ali_mesh_encrypt_generate_pecb 
+2b25 6fe30bce fetch 6 ,mem_mesh_pecb 
+2b26 e8430011 ifetcht 6 ,rega 
+2b27 9842fe00 ixor temp ,pdata 
+2b28 e7e30011 istore 6 ,rega 
+2b29 20600000 rtn 
+
+ali_mesh_encrypt_generate_pecb:
+
+ali_mesh_encrypt_generate_privacy_random:
+2b2a 6fe24a2e fetch 4 ,mem_mesh_iv_index 
+2b2b 67e20bc3 store 4 ,mem_mesh_privacy_plaintext_iv_index 
+
+ali_mesh_encrypt_base_function_generate_pecb:
+2b2c d8c048d5 arg mem_k2_privacykey ,contr 
+2b2d 20406e26 call load_key 
+2b2e d8c00bbe arg mem_mesh_privacy_plaintext ,contr 
+2b2f 20406e28 call load_data128 
+2b30 20406dc1 call do_aes_ocb 
+2b31 d8a00bce arg mem_mesh_pecb ,contw 
+2b32 20206e3c branch store_aes_result 
+
+ali_mesh_encrypt_base_function_sha256_load_data_64bit:
+2b33 df200008 arg 8 ,loopcnt 
+
+ali_mesh_encrypt_base_function_sha256_load_data_with_hex2ascii:
+2b34 20402b41 call ali_mesh_encrypt_base_function_sha256_check_first_load_data 
+2b35 20402b90 call ali_mesh_encrypt_base_function_hex2ascii 
+2b36 20202b3e branch ali_mesh_encrypt_base_function_sha256_store_dataptr 
+
+ali_mesh_encrypt_base_function_sha256_load_data_without_hex2ascii:
+2b37 20402b41 call ali_mesh_encrypt_base_function_sha256_check_first_load_data 
+2b38 20407dd4 call memcpy 
+2b39 20202b3e branch ali_mesh_encrypt_base_function_sha256_store_dataptr 
+
+ali_mesh_encrypt_base_function_sha256_load_data_with_hex2ascii_add_comma:
+2b3a 20402b41 call ali_mesh_encrypt_base_function_sha256_check_first_load_data 
+2b3b 20402b90 call ali_mesh_encrypt_base_function_hex2ascii 
+2b3c 5800002c setarg comma 
+2b3d e7e08005 istore 1 ,contw 
+
+ali_mesh_encrypt_base_function_sha256_store_dataptr:
+2b3e 18a27e00 copy contw ,pdata 
+2b3f 67e1487a store 2 ,mem_mesh_sha256_data_end_addr 
+2b40 20600000 rtn 
+
+ali_mesh_encrypt_base_function_sha256_check_first_load_data:
+2b41 18c20400 copy contr ,temp 
+2b42 1f222200 copy loopcnt ,rega 
+2b43 6fe1487a fetch 2 ,mem_mesh_sha256_data_end_addr 
+2b44 1fe20a00 copy pdata ,contw 
+2b45 6fe0c869 fetch 1 ,mem_mesh_sha256_load_first_data_flag 
+2b46 205a2b4a call ali_mesh_encrypt_base_function_sha256_first_load_data ,blank 
+2b47 18420c00 copy temp ,contr 
+2b48 1a227200 copy rega ,loopcnt 
+2b49 20600000 rtn 
+
+ali_mesh_encrypt_base_function_sha256_first_load_data:
+2b4a 70486901 jam 1 ,mem_mesh_sha256_load_first_data_flag 
+2b4b 20402b4e call ali_mesh_encrypt_base_function_sha256_clear_data_chunk 
+2b4c d8a00abe arg mem_mesh_sha256_chunk_start ,contw 
+2b4d 20600000 rtn 
+
+ali_mesh_encrypt_base_function_sha256_clear_data_chunk:
+2b4e df200020 arg 0x20 ,loopcnt 
+2b4f d8a00abe arg mem_mesh_sha256_chunk_start ,contw 
+2b50 20207d8c branch memset0 
+
+ali_mesh_encrypt_base_function_sha256_calc:
+2b51 20402b6e call ali_mesh_encrypt_base_function_sha256_load_data_end 
+2b52 da400010 arg mesh_encrypt_sha256_function_input ,regb 
+2b53 da200abe arg mem_mesh_sha256_chunk_start ,rega 
+2b54 6f24486a fetchr loopcnt ,8 ,mem_mesh_sha256_data_len_byte 
+2b55 204029e4 call logging_tx_debug 
+2b56 20402b89 call ali_mesh_encrypt_base_function_sha256_input_data_init_inverse 
+2b57 58000abe setarg mem_mesh_sha256_chunk_start 
+2b58 67e14881 store 2 ,mem_mesh_sha256_chunk_ptr 
+2b59 20407306 call sha_init 
+
+ali_mesh_encrypt_base_function_sha256_calc_loop:
+2b5a 6fe14881 fetch 2 ,mem_mesh_sha256_chunk_ptr 
+2b5b 1fe20c00 copy pdata ,contr 
+2b5c d8a004a8 arg memdat ,contw 
+2b5d 20407d72 call memcpy64 
+2b5e 2040730d call sha 
+2b5f 6fe14881 fetch 2 ,mem_mesh_sha256_chunk_ptr 
+2b60 1fe0fe40 pincrease 64 
+2b61 67e14881 store 2 ,mem_mesh_sha256_chunk_ptr 
+2b62 6fe0c87e fetch 1 ,mem_mesh_sha256_chunk_count 
+2b63 1fe0ffff pincrease -1 
+2b64 67e0c87e store 1 ,mem_mesh_sha256_chunk_count 
+2b65 243a2b5a nbranch ali_mesh_encrypt_base_function_sha256_calc_loop ,blank 
+2b66 20407349 call sha_result 
+2b67 da200900 arg memresult ,rega 
+2b68 df200020 arg 0x20 ,loopcnt 
+2b69 20407dac call inverse_data 
+2b6a da400011 arg mesh_encrypt_sha256_function_result ,regb 
+2b6b da200900 arg memresult ,rega 
+2b6c df200020 arg 0x20 ,loopcnt 
+2b6d 202029e4 branch logging_tx_debug 
+
+ali_mesh_encrypt_base_function_sha256_load_data_end:
+2b6e 70486900 jam 0 ,mem_mesh_sha256_load_first_data_flag 
+2b6f 6fe1487a fetch 2 ,mem_mesh_sha256_data_end_addr 
+2b70 1fe20a00 copy pdata ,contw 
+2b71 d8400080 arg 0x80 ,temp 
+2b72 e0408005 istoret 1 ,contw 
+2b73 d8400abe arg mem_mesh_sha256_chunk_start ,temp 
+2b74 98467e00 isub temp ,pdata 
+2b75 67e4486a store 8 ,mem_mesh_sha256_data_len_byte 
+2b76 1fe98400 lshift3 pdata ,temp 
+2b77 604c4872 storet 8 ,mem_mesh_sha256_data_len_bit 
+2b78 1ff1a600 rshift4 pdata ,regc 
+2b79 1a6b2600 rshift2 regc ,regc 
+2b7a 1fe17e3f and pdata ,0x3f ,pdata 
+2b7b 1fe67c37 sub pdata ,55 ,null 
+2b7c 24412b87 ncall ali_mesh_encrypt_base_function_sha256_add_chunk ,positive 
+2b7d 1a60fe01 add regc ,1 ,pdata 
+2b7e 67e0c87e store 1 ,mem_mesh_sha256_chunk_count 
+2b7f 1fefa240 mul32 pdata ,64 ,rega 
+2b80 1ff22600 lshift4 pdata ,regc 
+2b81 1a60a7ff increase -1 ,regc 
+2b82 58000aba setarg mem_mesh_sha256_chunk_start + decreased_four 
+2b83 9a20a200 iadd rega ,rega 
+2b84 6fe24872 fetch 4 ,mem_mesh_sha256_data_len_bit 
+2b85 e7e20011 istore 4 ,rega 
+2b86 20600000 rtn 
+
+ali_mesh_encrypt_base_function_sha256_add_chunk:
+2b87 1a60a601 increase 1 ,regc 
+2b88 20600000 rtn 
+
+ali_mesh_encrypt_base_function_sha256_input_data_init_inverse:
+2b89 da200abe arg mem_mesh_sha256_chunk_start ,rega 
+
+ali_mesh_encrypt_base_function_sha256_data_inverse_4byte:
+2b8a df200004 arg 4 ,loopcnt 
+2b8b 20407dac call inverse_data 
+2b8c 1a20a202 increase 2 ,rega 
+2b8d 1a60a7ff add regc ,-1 ,regc 
+2b8e 2422ab8a nbranch ali_mesh_encrypt_base_function_sha256_data_inverse_4byte ,zero 
+2b8f 20600000 rtn 
+
+ali_mesh_encrypt_base_function_hex2ascii:
+2b90 efe08006 ifetch 1 ,contr 
+2b91 1ff18400 rshift4 pdata ,temp 
+2b92 20402b99 call ali_mesh_encrypt_base_function_dialog2uchar 
+2b93 e0408005 istoret 1 ,contw 
+2b94 1fe1040f and pdata ,0x0f ,temp 
+2b95 20402b99 call ali_mesh_encrypt_base_function_dialog2uchar 
+2b96 e0408005 istoret 1 ,contw 
+2b97 c2002b90 loop ali_mesh_encrypt_base_function_hex2ascii 
+2b98 20600000 rtn 
+
+ali_mesh_encrypt_base_function_dialog2uchar:
+2b99 18467c09 sub temp ,9 ,null 
+2b9a 20212b9d branch ali_mesh_encrypt_base_function_dialog2uchar_num ,positive 
+2b9b 18408457 add temp ,87 ,temp 
+2b9c 20600000 rtn 
+
+ali_mesh_encrypt_base_function_dialog2uchar_num:
+2b9d 18408430 add temp ,48 ,temp 
+2b9e 20600000 rtn 
+
+ali_mesh_encrypt_base_function_aes_cmac_32byte:
+2b9f 58000020 setarg 0x20 
+2ba0 20202bb1 branch ali_mesh_encrypt_base_function_aes_cmac 
+
+ali_mesh_encrypt_base_function_aes_cmac_16byte:
+2ba1 58000010 setarg 0x10 
+2ba2 20202bb1 branch ali_mesh_encrypt_base_function_aes_cmac 
+
+ali_mesh_encrypt_base_function_k2_aes_cmac_t:
+2ba3 6848c883 fetcht 1 ,mem_k2_p_len 
+2ba4 18408401 increase 1 ,temp 
+2ba5 98408400 iadd temp ,temp 
+2ba6 604884a7 storet 1 ,mem_aes_cmac_data_length 
+2ba7 1a220c00 copy rega ,contr 
+2ba8 1fe27200 copy pdata ,loopcnt 
+2ba9 20407dc7 call memcpy_fast 
+2baa 6848c883 fetcht 1 ,mem_k2_p_len 
+2bab 18427200 copy temp ,loopcnt 
+2bac 20407dd4 call memcpy 
+2bad 1a427e00 copy regb ,pdata 
+2bae e7e08005 istore 1 ,contw 
+2baf da2048b4 arg mem_k2_t ,rega 
+2bb0 20202bb4 branch ali_mesh_encrypt_base_function_aes_cmac + 3 
+
+ali_mesh_encrypt_base_function_aes_cmac:
+2bb1 67e084a7 store 1 ,mem_aes_cmac_data_length 
+2bb2 1fe27200 copy pdata ,loopcnt 
+2bb3 20407dc7 call memcpy_fast 
+2bb4 1a220c00 copy rega ,contr 
+2bb5 d8a0098e arg mem_aes_cmac_k ,contw 
+2bb6 20407d7f call memcpy16 
+2bb7 da400012 arg mesh_encrypt_aes_cmac_function_input_m ,regb 
+2bb8 da2004a8 arg memdat ,rega 
+2bb9 6f2084a7 fetchr loopcnt ,1 ,mem_aes_cmac_data_length 
+2bba 204029e4 call logging_tx_debug 
+2bbb da400013 arg mesh_encrypt_aes_cmac_function_input_k ,regb 
+2bbc da20098e arg mem_aes_cmac_k ,rega 
+2bbd df200010 arg 16 ,loopcnt 
+2bbe 204029e4 call logging_tx_debug 
+2bbf 20406aee call function_aes_cmac 
+2bc0 1e020a00 copy alarm ,contw 
+2bc1 20406e3c call store_aes_result 
+2bc2 da400014 arg mesh_encrypt_aes_cmac_function_result ,regb 
+2bc3 1e022200 copy alarm ,rega 
+2bc4 df200010 arg 16 ,loopcnt 
+2bc5 202029e4 branch logging_tx_debug 
+
+ali_b0_block_generate:
+2bc6 68488beb fetcht 1 ,mem_ccm_type 
+2bc7 20202bc9 branch ali_block_generate 
+
+ali_a_block_generate:
+2bc8 18000401 force 0x01 ,temp 
+
+ali_block_generate:
+2bc9 18007000 force regidx_data ,regext_index 
+2bca 6fe10bde fetch 2 ,mem_nonce_ptr 
+2bcb 1fe20c00 copy pdata ,contr 
+2bcc efe18006 ifetch 3 ,contr 
+2bcd 1fed7e00 lshift8 pdata ,pdata 
+2bce 9841de00 ior temp ,regext 
+2bcf 1f00f001 increase 1 ,regext_index 
+2bd0 efe20006 ifetch 4 ,contr 
+2bd1 1fe25e00 copy pdata ,regext 
+2bd2 1f00f001 increase 1 ,regext_index 
+2bd3 efe20006 ifetch 4 ,contr 
+2bd4 1fe25e00 copy pdata ,regext 
+2bd5 1f00f001 increase 1 ,regext_index 
+2bd6 1a30de00 byteswap rega ,regext 
+2bd7 1df05e00 lshift16 regext ,regext 
+2bd8 efe10006 ifetch 2 ,contr 
+2bd9 9de1de00 ior regext ,regext 
+2bda 20600000 rtn 
+
+ali_generate_mic:
+2bdb 6fe08be0 fetch 1 ,mem_ccm_data_len 
+2bdc 1fe22200 copy pdata ,rega 
+2bdd 20402bc6 call ali_b0_block_generate 
+2bde 20406dc1 call do_aes_ocb 
+2bdf 1800700c force regidx_result ,regext_index 
+2be0 1de27e00 deposit regext 
+2be1 1a227200 copy rega ,loopcnt 
+2be2 68490be1 fetcht 2 ,mem_ccm_data_ptr 
+2be3 18420c00 copy temp ,contr 
+2be4 20406e10 call padding_data 
+2be5 20206cf0 branch generate_mic_loop 
+
+ali_ccm_encrypt_64bit:
+2be6 700beb19 jam mic_size_64bit ,mem_ccm_type 
+2be7 20202bea branch ali_ccm_encrypt_function 
+
+ali_ccm_encrypt:
+2be8 700beb09 jam mic_size_32bit ,mem_ccm_type 
+2be9 20202bea branch ali_ccm_encrypt_function 
+
+ali_ccm_encrypt_function:
+2bea 67e08be0 store 1 ,mem_ccm_data_len 
+2beb 60490be1 storet 2 ,mem_ccm_data_ptr 
+2bec 4779c03e bpatchx patch3e_3 ,mem_patch3e 
+2bed 20402bdb call ali_generate_mic 
+2bee 18007008 force regidx_xor ,regext_index 
+2bef 98005e00 iforce regext 
+2bf0 1800700d force regidx_result + 1 ,regext_index 
+2bf1 1de27e00 copy regext ,pdata 
+2bf2 18007009 force regidx_xor + 1 ,regext_index 
+2bf3 98005e00 iforce regext 
+2bf4 18002200 force 0 ,rega 
+2bf5 18422600 copy temp ,regc 
+2bf6 20402bc8 call ali_a_block_generate 
+2bf7 20406dc7 call do_aes_ctr 
+2bf8 20402c29 call ali_fetcht_ccm_mic 
+2bf9 604c0be3 storet 8 ,mem_ccm_mic 
+2bfa 6fe08be0 fetch 1 ,mem_ccm_data_len 
+2bfb 1fe22400 copy pdata ,regb 
+2bfc 20402c31 call ali_aes_crypt_data 
+2bfd 68488be0 fetcht 1 ,mem_ccm_data_len 
+2bfe 6fe10be1 fetch 2 ,mem_ccm_data_ptr 
+2bff 9840a200 iadd temp ,rega 
+2c00 684c0be3 fetcht 8 ,mem_ccm_mic 
+2c01 e0420011 istoret 4 ,rega 
+2c02 6fe08beb fetch 1 ,mem_ccm_type 
+2c03 1fe67e09 sub pdata ,mic_size_32bit ,pdata 
+2c04 207a0000 rtn blank 
+2c05 e0440011 istoret 8 ,rega 
+2c06 20600000 rtn 
+
+ali_ccm_decrypt_64bit:
+2c07 700beb19 jam mic_size_64bit ,mem_ccm_type 
+2c08 20202c0b branch ali_ccm_decrypt_function 
+
+ali_ccm_decrypt:
+2c09 700beb09 jam mic_size_32bit ,mem_ccm_type 
+2c0a 20202c0b branch ali_ccm_decrypt_function 
+
+ali_ccm_decrypt_function:
+2c0b 67e08be0 store 1 ,mem_ccm_data_len 
+2c0c 60490be1 storet 2 ,mem_ccm_data_ptr 
+2c0d 18422600 copy temp ,regc 
+2c0e 1fe22400 copy pdata ,regb 
+2c0f 9a608c00 iadd regc ,contr 
+2c10 477a403e bpatchx patch3e_4 ,mem_patch3e 
+2c11 efe40006 ifetch 8 ,contr 
+2c12 18007008 force regidx_xor ,regext_index 
+2c13 98005e00 iforce regext 
+2c14 18007009 force regidx_xor + 1 ,regext_index 
+2c15 1fef7e00 rshift32 pdata ,pdata 
+2c16 98005e00 iforce regext 
+2c17 18002200 force 0 ,rega 
+2c18 20402bc8 call ali_a_block_generate 
+2c19 20406dc7 call do_aes_ctr 
+2c1a 20402c29 call ali_fetcht_ccm_mic 
+2c1b 604c0be3 storet 8 ,mem_ccm_mic 
+2c1c 20402c31 call ali_aes_crypt_data 
+2c1d 20402bdb call ali_generate_mic 
+2c1e 20402c29 call ali_fetcht_ccm_mic 
+2c1f 6fe08beb fetch 1 ,mem_ccm_type 
+2c20 c00cac26 beq mic_size_64bit ,ali_ccm_decrypt_function_check_mic64 
+2c21 604a0be7 storet 4 ,mem_ccm_mic + 4 
+2c22 6fe20be3 fetch 4 ,mem_ccm_mic 
+2c23 684a0be7 fetcht 4 ,mem_ccm_mic + 4 
+2c24 98467e00 isub temp ,pdata 
+2c25 20600000 rtn 
+
+ali_ccm_decrypt_function_check_mic64:
+2c26 6fe40be3 fetch 8 ,mem_ccm_mic 
+2c27 98467e00 isub temp ,pdata 
+2c28 20600000 rtn 
+
+ali_fetcht_ccm_mic:
+2c29 1800700c force regidx_result ,regext_index 
+2c2a 1de27e00 deposit regext 
+2c2b 1800700d force regidx_result + 1 ,regext_index 
+2c2c 1de20400 copy regext ,temp 
+2c2d 18500400 lshift16 temp ,temp 
+2c2e 18500400 lshift16 temp ,temp 
+2c2f 98418400 ior temp ,temp 
+2c30 20600000 rtn 
+
+ali_aes_crypt_data:
+2c31 1a20a201 increase 1 ,rega 
+2c32 20402bc8 call ali_a_block_generate 
+2c33 1a620c00 copy regc ,contr 
+2c34 20406e24 call aes_load_xor 
+2c35 20406dc7 call do_aes_ctr 
+2c36 20406e43 call store_enc_data 
+2c37 1a60a610 increase 16 ,regc 
+2c38 1a40a5f0 increase -16 ,regb 
+2c39 20212c31 branch ali_aes_crypt_data ,positive 
+2c3a 20600000 rtn 
+
+mesh_send_unprovisioned_beacons:
+2c3b 70496b01 jam unprovisioned_beacon_status ,mem_mesh_provisioned_flag 
+2c3c 70496c00 jam 0x00 ,mem_mesh_provisioning_state_flag 
+2c3d 7047d201 jam 1 ,mem_mesh_advertising_unprovisioned_device_beacon_switch 
+2c3e 58001770 setarg adv_unprovisioned_device_beacon_timeout 
+2c3f 67e147d3 store 2 ,mem_mesh_advertising_unprovisioned_device_beacon_timer 
+2c40 20600000 rtn 
+
+ali_mesh_config_device_uuid_by_three_tuple:
+2c41 580001a8 setarg company_identifiers_alibaba 
+2c42 67e10bec store 2 ,mem_mesh_device_uuid 
+2c43 6fe0c96d fetch 1 ,mem_mesh_device_pid 
+2c44 e7e08005 istore 1 ,contw 
+2c45 6fe249d3 fetch 4 ,mem_mesh_three_tuple_productid 
+2c46 20407dc1 call inverse_data_4byte 
+2c47 e7e20005 istore 4 ,contw 
+2c48 6fe3437a fetch 6 ,mem_le_lap 
+2c49 e7e30005 istore 6 ,contw 
+2c4a 6fe1c96e fetch 3 ,mem_mesh_uuid_featureflag 
+2c4b e7e18005 istore 3 ,contw 
+2c4c 20600000 rtn 
+
+ali_mesh_send_unprovisioned_beacons_tmall:
+2c4d 20402c4f call ali_mesh_init_adv_data_tmall_unprovisioned_beacons_package 
+2c4e 20202951 branch mesh_le_send_adv 
+
+ali_mesh_init_adv_data_tmall_unprovisioned_beacons_package:
+2c4f 7047b115 jam 0x15 ,mem_mesh_adv_data_len 
+2c50 58000014 setarg 0x14 
+2c51 67e0c7b2 store 1 ,mem_mesh_adv_data 
+2c52 5800002b setarg gap_adtype_mesh_beacon 
+2c53 e7e08005 istore 1 ,contw 
+2c54 58000000 setarg unprovisioned_device_beacon 
+2c55 e7e08005 istore 1 ,contw 
+
+ali_mesh_advertising_send_unprovisioned_beacons_store_device_uuid:
+2c56 d8c00bec arg mem_mesh_device_uuid ,contr 
+2c57 20407d7f call memcpy16 
+2c58 6fe14971 fetch 2 ,mem_mesh_oob_information 
+2c59 e7e10005 istore 2 ,contw 
+2c5a 20600000 rtn 
+
+ali_mesh_advertising_send_unprovisioned_beacons_gatt:
+2c5b 6fe0ca15 fetch 1 ,mem_mesh_core_feature 
+2c5c c3818000 rtnbit1 mesh_feature_disable_app_pairing 
+2c5d 20402c5f call ali_mesh_init_adv_data_gatt_unprovisioned_beacons_package 
+2c5e 20202951 branch mesh_le_send_adv 
+
+ali_mesh_init_adv_data_gatt_unprovisioned_beacons_package:
+2c5f 7047b11d jam 0x1d ,mem_mesh_adv_data_len 
+2c60 2040290a call ali_mesh_advertising_add_adtype_flags 
+2c61 20402912 call ali_mesh_advertising_add_adtype_16bit_complete 
+2c62 20402c64 call ali_mesh_advertising_add_adtype_service_data 
+2c63 20202c56 branch ali_mesh_advertising_send_unprovisioned_beacons_store_device_uuid 
+
+ali_mesh_advertising_add_adtype_service_data:
+2c64 58000015 setarg 0x15 
+2c65 e7e08005 istore 1 ,contw 
+2c66 58000016 setarg gap_adtype_service_data 
+2c67 e7e08005 istore 1 ,contw 
+2c68 e0410005 istoret 2 ,contw 
+2c69 20600000 rtn 
+
+ali_mesh_receive_adtype_manufacturer_specific:
+2c6a 1840f3ff add temp ,-1 ,loopcnt 
+2c6b 20402d2e call ali_mesh_receive_provisioning_package_check_header 
+2c6c 24740000 nrtn user 
+2c6d efe08006 ifetch 1 ,contr 
+2c6e c0002c72 beq provisioning_random ,ali_mesh_advertising_receive_privisioning_random 
+2c6f c0012c8d beq provisioning_data ,ali_mesh_advertising_receive_privisioning_data 
+2c70 c0032cac beq provisioning_ios_data ,ali_mesh_advertising_receive_privisioning_ios_data 
+2c71 20600000 rtn 
+
+ali_mesh_advertising_receive_privisioning_random:
+2c72 20402c7f call ali_mesh_advertising_receive_privisioning_random_check_states 
+2c73 24740000 nrtn user 
+
+ali_mesh_advertising_calc_encrypt_random_data:
+2c74 20402a98 call ali_mesh_encrypt_calc_random_data 
+2c75 20402c77 call ali_mesh_advertising_send_provisioning_confirmation 
+2c76 20202cd6 branch loggint_tx_info_send_confirmation_packet 
+
+ali_mesh_advertising_send_provisioning_confirmation:
+2c77 d8400012 arg provisioning_packet_confirmation_mac + provisioning_packet_confirmation_device ,temp 
+2c78 20402cae call ali_mesh_advertising_send_packet_common 
+2c79 58000001 setarg provisioning_confirmation 
+2c7a e7e08005 istore 1 ,contw 
+2c7b 6fe149db fetch 2 ,mem_mesh_three_tuple_mac + 4 
+2c7c e7e10005 istore 2 ,contw 
+2c7d d8c04807 arg mem_mesh_confirmationdevice ,contr 
+2c7e 20207d7f branch memcpy16 
+
+ali_mesh_advertising_receive_privisioning_random_check_states:
+2c7f 20407ec7 call disable_user 
+2c80 e8410006 ifetcht 2 ,contr 
+2c81 d8a04807 arg mem_mesh_provisioning_random_a ,contw 
+2c82 20407d7f call memcpy16 
+2c83 6fe149db fetch 2 ,mem_mesh_three_tuple_mac + 4 
+2c84 98467c00 isub temp ,null 
+2c85 24628000 nrtn zero 
+2c86 6fe0c96c fetch 1 ,mem_mesh_provisioning_state_flag 
+2c87 c3808000 rtnbit1 receive_provisioning_random 
+2c88 79207e01 set1 receive_provisioning_random ,pdata 
+2c89 67e0c96c store 1 ,mem_mesh_provisioning_state_flag 
+2c8a 70496b02 jam pairing_status ,mem_mesh_provisioned_flag 
+2c8b 20402cd2 call loggint_tx_info_receive_random_packet 
+2c8c 20207ec5 branch enable_user 
+
+ali_mesh_advertising_receive_privisioning_data:
+2c8d 18c22200 copy contr ,rega 
+2c8e 6fe0c96b fetch 1 ,mem_mesh_provisioned_flag 
+2c8f c1000000 rtneq paired_status 
+2c90 6fe0c96c fetch 1 ,mem_mesh_provisioning_state_flag 
+2c91 c4008000 rtnbit0 receive_provisioning_random 
+2c92 c3810000 rtnbit1 receive_provisioning_data 
+2c93 1a220c00 copy rega ,contr 
+2c94 df200016 arg 0x16 ,loopcnt 
+2c95 d8a04973 arg mem_mesh_encrypt_provisioning_data ,contw 
+2c96 20407dd4 call memcpy 
+2c97 20402ad5 call ali_mesh_encrypt_calc_provisioning_data 
+2c98 68494973 fetcht 2 ,mem_mesh_provisioning_data_mac_addr 
+2c99 6fe149db fetch 2 ,mem_mesh_three_tuple_mac + 4 
+2c9a 98467c00 isub temp ,null 
+2c9b 24628000 nrtn zero 
+
+ali_mesh_resolve_privisioning_data_package:
+2c9c 20402cda call loggint_tx_info_receive_data_packet 
+2c9d 6fe0c96c fetch 1 ,mem_mesh_provisioning_state_flag 
+2c9e 79207e02 set1 receive_provisioning_data ,pdata 
+2c9f 67e0c96c store 1 ,mem_mesh_provisioning_state_flag 
+2ca0 20402ae8 call ali_mesh_encrypt_calc_network_key_by_k2 
+2ca1 6fe0c986 fetch 1 ,mem_mesh_last_iv_index_byte 
+2ca2 67e0ca31 store 1 ,mem_mesh_iv_index + 3 
+2ca3 20402ca5 call ali_mesh_advertising_send_provisioning_complete 
+2ca4 20202cde branch loggint_tx_info_send_complete_packet 
+
+ali_mesh_advertising_send_provisioning_complete:
+2ca5 d8400006 arg provisioning_packet_complete_mac ,temp 
+2ca6 20402cae call ali_mesh_advertising_send_packet_common 
+2ca7 58000003 setarg provisioning_complete 
+2ca8 e7e08005 istore 1 ,contw 
+2ca9 6fe349d7 fetch 6 ,mem_mesh_three_tuple_mac 
+2caa e7e30005 istore 6 ,contw 
+2cab 20600000 rtn 
+
+ali_mesh_advertising_receive_privisioning_ios_data:
+2cac da400012 arg max_length_privisioning_control_msg_android ,regb 
+2cad 20202d18 branch ali_mesh_resolve_app_control_msg_package 
+
+ali_mesh_advertising_send_packet_common:
+2cae 477ac03e bpatchx patch3e_5 ,mem_patch3e 
+2caf 20402ccc call ali_mesh_advertising_reset_adv_timer 
+2cb0 58008fff setarg 0x8fff 
+2cb1 67e1498d store 2 ,mem_mesh_send_packet_timeout 
+2cb2 20402a1a call ali_mesh_control_ble_advertising_on_advertising 
+2cb3 1840fe09 add temp ,provisioning_packet_length_ad_type_company_id_vid_provisioning_type + provisioning_packet_length_flags ,pdata 
+2cb4 67e0c7b1 store 1 ,mem_mesh_adv_data_len 
+2cb5 2040290a call ali_mesh_advertising_add_adtype_flags 
+2cb6 1840fe05 add temp ,provisioning_packet_ad_type_company_id_vid_provisioning_type ,pdata 
+2cb7 e7e08005 istore 1 ,contw 
+2cb8 580000ff setarg gap_adtype_manufacturer_specific 
+2cb9 e7e08005 istore 1 ,contw 
+2cba 580001a8 setarg company_identifiers_alibaba 
+2cbb 1ff0fe00 byteswap pdata ,pdata 
+2cbc e7e10005 istore 2 ,contw 
+2cbd 6fe08bfc fetch 1 ,mem_mesh_receive_vid 
+2cbe e7e08005 istore 1 ,contw 
+2cbf 20600000 rtn 
+
+ali_mesh_advertising_timer:
+2cc0 6fe24989 fetch 4 ,mem_mesh_adv_last_time 
+2cc1 243a2cc3 nbranch ali_mesh_advertising_check_adv_timer ,blank 
+2cc2 20202ccc branch ali_mesh_advertising_reset_adv_timer 
+
+ali_mesh_advertising_check_adv_timer:
+2cc3 1c427e00 deposit clkn_bt 
+2cc4 684a4989 fetcht 4 ,mem_mesh_adv_last_time 
+2cc5 98460400 isub temp ,temp 
+2cc6 6fe1498d fetch 2 ,mem_mesh_send_packet_timeout 
+2cc7 98467c00 isub temp ,null 
+2cc8 20610000 rtn positive 
+
+ali_mesh_advertising_adv_timer_timeout:
+2cc9 20402a1c call ali_mesh_control_ble_advertising_off_advertising 
+2cca 6fe149f3 fetch 2 ,mem_mesh_cb_pairing_fail 
+2ccb 20207e7a branch callback_func 
+
+ali_mesh_advertising_reset_adv_timer:
+2ccc 1c427e00 deposit clkn_bt 
+2ccd 67e24989 store 4 ,mem_mesh_adv_last_time 
+2cce 20600000 rtn 
+
+logging_tx_debug_receive_provisioning_packet:
+2ccf 18c0a3fd add contr ,-3 ,rega 
+2cd0 da400001 arg mesh_receive_provisioning_packet ,regb 
+2cd1 202029e4 branch logging_tx_debug 
+
+loggint_tx_info_receive_random_packet:
+2cd2 df200001 arg 1 ,loopcnt 
+2cd3 da400002 arg mesh_receive_provisioning_random_packet ,regb 
+2cd4 da20496c arg mem_mesh_provisioning_state_flag ,rega 
+2cd5 202029e6 branch logging_tx_info 
+
+loggint_tx_info_send_confirmation_packet:
+2cd6 6f20c7b1 fetchr loopcnt ,1 ,mem_mesh_adv_data_len 
+2cd7 da400003 arg mesh_send_provisioning_confirmation_packet ,regb 
+2cd8 da2047b2 arg mem_mesh_adv_data ,rega 
+2cd9 202029e6 branch logging_tx_info 
+
+loggint_tx_info_receive_data_packet:
+2cda df200001 arg 1 ,loopcnt 
+2cdb da400004 arg mesh_receive_provisioning_data_packet ,regb 
+2cdc da20496c arg mem_mesh_provisioning_state_flag ,rega 
+2cdd 202029e6 branch logging_tx_info 
+
+loggint_tx_info_send_complete_packet:
+2cde 6f20c7b1 fetchr loopcnt ,1 ,mem_mesh_adv_data_len 
+2cdf da400005 arg mesh_send_provisioning_complete_packet ,regb 
+2ce0 da2047b2 arg mem_mesh_adv_data ,rega 
+2ce1 202029e6 branch logging_tx_info 
+
+ali_mesh_receive_adtype_128bit_uuid_complete:
+2ce2 20402d26 call ali_mesh_receive_adtype_128bit_uuid_complete_store_uuid 
+2ce3 24740000 nrtn user 
+2ce4 6fe08bef fetch 1 ,mem_mesh_receive_service_uuid_ios_data_provisioning_type 
+2ce5 c0032d16 beq provisioning_ios_data ,ali_mesh_ios_gatt_packet_parse_provisioning_app_control 
+
+ali_mesh_ios_gatt_packet_pairing_type:
+2ce6 6fe0c96b fetch 1 ,mem_mesh_provisioned_flag 
+2ce7 c1000000 rtneq paired_status 
+2ce8 c1018000 rtneq silence_beacon_status 
+2ce9 6fe10bf0 fetch 2 ,mem_mesh_receive_service_uuid_mac 
+2cea 684949db fetcht 2 ,mem_mesh_three_tuple_mac + 4 
+2ceb 98467c00 isub temp ,null 
+2cec 24628000 nrtn zero 
+2ced da200bf2 arg mem_mesh_receive_service_uuid_msg_id ,rega 
+2cee da400007 arg max_length_privisioning_pairing_msg_ios ,regb 
+2cef 20402d38 call ali_mesh_app_control_package_check_integrity 
+2cf0 20740000 rtn user 
+2cf1 477b403e bpatchx patch3e_6 ,mem_patch3e 
+2cf2 6fe08bef fetch 1 ,mem_mesh_receive_service_uuid_provisioning_type 
+2cf3 c0002cf7 beq provisioning_random ,ali_mesh_ios_gatt_packet_parse_provisioning_random 
+2cf4 c0012cfb beq provisioning_data ,ali_mesh_ios_gatt_packet_parse_provisioning_data 
+2cf5 c0022d0a beq provisioning_config ,ali_mesh_ios_gatt_packet_parse_provisioning_config 
+2cf6 20600000 rtn 
+
+ali_mesh_ios_gatt_packet_parse_provisioning_random:
+2cf7 6fe149db fetch 2 ,mem_mesh_three_tuple_mac + 4 
+2cf8 67e10a78 store 2 ,mem_mesh_gatt_package_receive_mac 
+2cf9 d8c00a78 arg mem_mesh_gatt_package_receive_mac ,contr 
+2cfa 20202c72 branch ali_mesh_advertising_receive_privisioning_random 
+
+ali_mesh_ios_gatt_packet_parse_provisioning_data:
+2cfb 6fe0c96b fetch 1 ,mem_mesh_provisioned_flag 
+2cfc c1000000 rtneq paired_status 
+2cfd 6fe0c96c fetch 1 ,mem_mesh_provisioning_state_flag 
+2cfe c4008000 rtnbit0 receive_provisioning_random 
+2cff c3810000 rtnbit1 receive_provisioning_data 
+2d00 d8c00a7a arg mem_mesh_gatt_package_receive_msg_payload ,contr 
+2d01 df200014 arg 0x14 ,loopcnt 
+2d02 d8a04975 arg mem_mesh_keyfresh_and_update_flag ,contw 
+2d03 20407dd4 call memcpy 
+2d04 20402ae1 call ali_mesh_encrypt_calc_provisioning_data_calc_sessionkey 
+2d05 da204975 arg mem_mesh_keyfresh_and_update_flag ,rega 
+2d06 da400900 arg memresult ,regb 
+2d07 df20000a arg 0x0a ,loopcnt 
+2d08 20402ad9 call ali_mesh_encrypt_calc_provisioning_data_xor_prov_data_loop 
+2d09 20202c9c branch ali_mesh_resolve_privisioning_data_package 
+
+ali_mesh_ios_gatt_packet_parse_provisioning_config:
+2d0a 6fe0c96b fetch 1 ,mem_mesh_provisioned_flag 
+2d0b c1808000 rtnne unprovisioned_beacon_status 
+2d0c 70496b02 jam pairing_status ,mem_mesh_provisioned_flag 
+
+ali_mesh_ios_gatt_packet_send_provisioning_config_ack:
+2d0d d8400003 arg provisioning_config_ack_mac + provisioning_config_ack_field ,temp 
+2d0e 20402cae call ali_mesh_advertising_send_packet_common 
+2d0f 58000005 setarg provisioning_config_ack 
+2d10 e7e08005 istore 1 ,contw 
+2d11 6fe149db fetch 2 ,mem_mesh_three_tuple_mac + 4 
+2d12 e7e10005 istore 2 ,contw 
+2d13 58000001 setarg provisioning_config_ack_note 
+2d14 e7e08005 istore 1 ,contw 
+2d15 20600000 rtn 
+
+ali_mesh_ios_gatt_packet_parse_provisioning_app_control:
+2d16 d8c00bf0 arg mem_mesh_receive_service_uuid_ios_data_nid ,contr 
+2d17 da400008 arg max_length_privisioning_control_msg_ios ,regb 
+
+ali_mesh_resolve_app_control_msg_package:
+2d18 477bc03e bpatchx patch3e_7 ,mem_patch3e 
+2d19 efe08006 ifetch 1 ,contr 
+2d1a 18c22200 copy contr ,rega 
+2d1b 6848c8d4 fetcht 1 ,mem_k2_nid 
+2d1c 98467c00 isub temp ,null 
+2d1d 24628000 nrtn zero 
+2d1e 20402ccc call ali_mesh_advertising_reset_adv_timer 
+2d1f 20402d38 call ali_mesh_app_control_package_check_integrity 
+2d20 20740000 rtn user 
+2d21 700c3a01 jam mesh_message_app ,mem_mesh_network_packet_type 
+2d22 68488a79 fetcht 1 ,mem_mesh_gatt_package_receive_msg_total_length 
+2d23 18408401 increase 1 ,temp 
+2d24 d8c00a7a arg mem_mesh_gatt_package_receive_msg_payload ,contr 
+2d25 20202f3e branch ali_mesh_network_layer_recevice_network_pdu 
+
+ali_mesh_receive_adtype_128bit_uuid_complete_store_uuid:
+2d26 d8a00bec arg mem_mesh_receive_service_uuid_company_id ,contw 
+2d27 20407d7f call memcpy16 
+2d28 da200bec arg mem_mesh_receive_service_uuid_company_id ,rega 
+2d29 df200010 arg 16 ,loopcnt 
+2d2a 20407dac call inverse_data 
+2d2b df200010 arg 16 ,loopcnt 
+2d2c d8c00bec arg mem_mesh_receive_service_uuid_company_id ,contr 
+2d2d 20202d2e branch ali_mesh_receive_provisioning_package_check_header 
+
+ali_mesh_receive_provisioning_package_check_header:
+2d2e 20407ec7 call disable_user 
+2d2f e8410006 ifetcht 2 ,contr 
+2d30 580001a8 setarg company_identifiers_alibaba 
+2d31 1ff0fe00 byteswap pdata ,pdata 
+2d32 98467c00 isub temp ,null 
+2d33 24628000 nrtn zero 
+2d34 efe08006 ifetch 1 ,contr 
+2d35 67e08bfc store 1 ,mem_mesh_receive_vid 
+2d36 20407ec5 call enable_user 
+2d37 20202ccf branch logging_tx_debug_receive_provisioning_packet 
+
+ali_mesh_app_control_package_check_integrity:
+2d38 477c403f bpatchx patch3f_0 ,mem_patch3f 
+2d39 20402d71 call ali_mesh_app_control_package_check_msgid_legal 
+2d3a 20202d3b branch ali_mesh_app_control_package_check_rev_complete 
+
+ali_mesh_app_control_package_check_rev_complete:
+2d3b 1a208c01 add rega ,gatt_package_package_num ,contr 
+2d3c e8408006 ifetcht 1 ,contr 
+2d3d 1851fe00 rshift4 temp ,pdata 
+2d3e c000ad6b beq 1 ,ali_mesh_gatt_package_check_integrity_unsegment 
+
+ali_mesh_gatt_package_check_integrity_segment:
+2d3f 1fe67c04 sub pdata ,max_gatt_package_num ,null 
+2d40 24217ec5 nbranch enable_user ,positive 
+2d41 1fe27200 copy pdata ,loopcnt 
+2d42 20402d61 call ali_mesh_gatt_package_check_integrity_segment_expect_package_num 
+2d43 18410e0f and temp ,0x0f ,queue 
+2d44 98e67c00 isub queue ,null 
+2d45 2042ad5a call ali_mesh_gatt_package_check_integrity_segment_calc_total_length ,zero 
+2d46 18e08fff increase -1 ,queue 
+2d47 6fe08a78 fetch 1 ,mem_mesh_gatt_package_receive_msg_num 
+2d48 afefffff qisolate1 pdata 
+2d49 2020fec5 branch enable_user ,true 
+2d4a f9207e00 qset1 pdata 
+2d4b 67e08a78 store 1 ,mem_mesh_gatt_package_receive_msg_num 
+2d4c 1a208c02 add rega ,gatt_package_length ,contr 
+2d4d efe08006 ifetch 1 ,contr 
+2d4e 1fe27200 copy pdata ,loopcnt 
+2d4f 1a427e00 copy regb ,pdata 
+2d50 98effe00 imul32 queue ,pdata 
+2d51 d8a00a7a arg mem_mesh_gatt_package_receive_msg_payload ,contw 
+2d52 98a08a00 iadd contw ,contw 
+2d53 20407dc7 call memcpy_fast 
+2d54 6fe08a78 fetch 1 ,mem_mesh_gatt_package_receive_msg_num 
+2d55 9a667c00 isub regc ,null 
+2d56 2442fec5 ncall enable_user ,zero 
+2d57 2422ad66 nbranch ali_mesh_gatt_package_store_receive_msg_buffer ,zero 
+
+ali_mesh_gatt_package_check_integrity_segment_complete:
+2d58 20402d92 call ali_mesh_gatt_package_clear_receive_msg_buffer 
+2d59 20207ec7 branch disable_user 
+
+ali_mesh_gatt_package_check_integrity_segment_calc_total_length:
+2d5a 1fe0ffff pincrease -1 
+2d5b 9a4ffe00 imul32 regb ,pdata 
+2d5c 1a208c02 add rega ,gatt_package_length ,contr 
+2d5d e8408006 ifetcht 1 ,contr 
+2d5e 9840fe00 iadd temp ,pdata 
+2d5f 67e08a79 store 1 ,mem_mesh_gatt_package_receive_msg_total_length 
+2d60 20600000 rtn 
+
+ali_mesh_gatt_package_check_integrity_segment_expect_package_num:
+2d61 da600000 arg 0 ,regc 
+
+ali_mesh_gatt_package_check_integrity_segment_expect_package_num_loop:
+2d62 1f208fff add loopcnt ,-1 ,queue 
+2d63 f9202600 qset1 regc 
+2d64 c2002d62 loop ali_mesh_gatt_package_check_integrity_segment_expect_package_num_loop 
+2d65 20600000 rtn 
+
+ali_mesh_gatt_package_store_receive_msg_buffer:
+2d66 6fe10a74 fetch 2 ,mem_mesh_gatt_package_receive_msg_buffer_ptr 
+2d67 1fe20a00 copy pdata ,contw 
+2d68 d8c00a76 arg mem_mesh_gatt_package_receive_msg_buffer_temp ,contr 
+2d69 df200021 arg 33 ,loopcnt 
+2d6a 20207dc7 branch memcpy_fast 
+
+ali_mesh_gatt_package_check_integrity_unsegment:
+2d6b efe08006 ifetch 1 ,contr 
+2d6c 1fe27200 copy pdata ,loopcnt 
+2d6d 67e08a79 store 1 ,mem_mesh_gatt_package_receive_msg_total_length 
+2d6e d8a00a7a arg mem_mesh_gatt_package_receive_msg_payload ,contw 
+2d6f 20407dd4 call memcpy 
+2d70 20207ec7 branch disable_user 
+
+ali_mesh_app_control_package_check_msgid_legal:
+2d71 70499032 jam gatt_receive_timeout ,mem_mesh_gatt_receive_msg_timer 
+2d72 20402d80 call ali_mesh_gatt_package_get_msgid 
+2d73 68494991 fetcht 2 ,mem_mesh_gatt_packet_receive_msg_buffer1 
+2d74 98467c00 isub temp ,null 
+2d75 2022ad84 branch ali_mesh_gatt_package_load_receive_msg_buffer1 ,zero 
+2d76 18467c00 sub temp ,0 ,null 
+2d77 2022ad84 branch ali_mesh_gatt_package_load_receive_msg_buffer1 ,zero 
+2d78 684949b2 fetcht 2 ,mem_mesh_gatt_packet_receive_msg_buffer2 
+2d79 98467c00 isub temp ,null 
+2d7a 2022ad87 branch ali_mesh_gatt_package_load_receive_msg_buffer2 ,zero 
+2d7b 18467c00 sub temp ,0 ,null 
+2d7c 2022ad87 branch ali_mesh_gatt_package_load_receive_msg_buffer2 ,zero 
+2d7d 20402d92 call ali_mesh_gatt_package_clear_receive_msg_buffer 
+2d7e 20402d80 call ali_mesh_gatt_package_get_msgid 
+2d7f 20202d84 branch ali_mesh_gatt_package_load_receive_msg_buffer1 
+
+ali_mesh_gatt_package_get_msgid:
+2d80 efe08011 ifetch 1 ,rega 
+2d81 207a0000 rtn blank 
+2d82 79207e08 set1 8 ,pdata 
+2d83 20600000 rtn 
+
+ali_mesh_gatt_package_load_receive_msg_buffer1:
+2d84 67e14991 store 2 ,mem_mesh_gatt_packet_receive_msg_buffer1 
+2d85 58004991 setarg mem_mesh_gatt_packet_receive_msg_buffer1 
+2d86 20202d8a branch ali_mesh_gatt_package_load_receive_msg_buffer 
+
+ali_mesh_gatt_package_load_receive_msg_buffer2:
+2d87 67e149b2 store 2 ,mem_mesh_gatt_packet_receive_msg_buffer2 
+2d88 580049b2 setarg mem_mesh_gatt_packet_receive_msg_buffer2 
+2d89 20202d8a branch ali_mesh_gatt_package_load_receive_msg_buffer 
+
+ali_mesh_gatt_package_load_receive_msg_buffer:
+2d8a 67e10a74 store 2 ,mem_mesh_gatt_package_receive_msg_buffer_ptr 
+2d8b 1fe20c00 copy pdata ,contr 
+2d8c d8a00a76 arg mem_mesh_gatt_package_receive_msg_buffer_temp ,contw 
+2d8d df200021 arg gatt_receive_msg_buffer_size ,loopcnt 
+2d8e 20207dc7 branch memcpy_fast 
+
+ali_mesh_gatt_package_receive_timer:
+2d8f da604990 arg mem_mesh_gatt_receive_msg_timer ,regc 
+2d90 da402d92 arg ali_mesh_gatt_package_clear_receive_msg_buffer ,regb 
+2d91 202031fc branch timer_single_step 
+
+ali_mesh_gatt_package_clear_receive_msg_buffer:
+2d92 d8a04991 arg mem_mesh_gatt_packet_receive_msg_buffer1 ,contw 
+2d93 df200042 arg gatt_receive_msg_buffer_size + gatt_receive_msg_buffer_size ,loopcnt 
+2d94 20207d9b branch clear_mem 
+
+ali_mesh_access_layer_config_or_health_message_opcode:
+2d95 6fe089f8 fetch 1 ,mem_mesh_configuration_health_message_opcode 
+2d96 c024ad9a beq mesh_message_opcode_config_node_reset_no_head ,ali_mesh_access_layer_config_or_health_message_opcode_node_reset 
+2d97 c00dada3 beq mesh_message_opcode_config_model_subscription_add_no_head ,ali_mesh_message_config_modle_subscription_add 
+2d98 c00e2daa beq mesh_message_opcode_config_model_subscription_delete_no_head ,ali_mesh_message_config_modle_subscription_delete 
+2d99 20600000 rtn 
+
+ali_mesh_access_layer_config_or_health_message_opcode_node_reset:
+2d9a 20402d9d call ali_mesh_access_layer_send_config_node_reset_status 
+2d9b 6fe14a0d fetch 2 ,mem_mesh_cb_receive_node_reset 
+2d9c 20207e7a branch callback_func 
+
+ali_mesh_access_layer_send_config_node_reset_status:
+2d9d 58000080 setarg mesh_configuration_and_health_message_opcode_header 
+2d9e 67e08a10 store 1 ,mem_mesh_access_layer_payload 
+2d9f 5800004a setarg mesh_message_opcode_config_node_reset_status_no_head 
+2da0 e7e08005 istore 1 ,contw 
+2da1 700a0f02 jam 2 ,mem_mesh_access_layer_payload_len 
+2da2 2020305d branch ali_mesh_upper_transport_layer_send_access_message 
+
+ali_mesh_message_config_modle_subscription_add:
+2da3 20402dc8 call ali_mesh_message_config_modle_subscription_status 
+2da4 6fe14a15 fetch 2 ,mem_mesh_core_feature 
+2da5 c3810000 rtnbit1 mesh_feature_disable_subscription 
+2da6 20402dd2 call ali_mesh_message_config_modle_subscription_check_element 
+2da7 20402ddb call ali_mesh_message_config_modle_subscription_add_value_address 
+2da8 6fe14a11 fetch 2 ,mem_mesh_cb_subscriptuion_list_changed 
+2da9 20207e7a branch callback_func 
+
+ali_mesh_message_config_modle_subscription_delete:
+2daa 20402dc8 call ali_mesh_message_config_modle_subscription_status 
+2dab 6fe14a15 fetch 2 ,mem_mesh_core_feature 
+2dac c3810000 rtnbit1 mesh_feature_disable_subscription 
+2dad 20402dd2 call ali_mesh_message_config_modle_subscription_check_element 
+2dae 684909fb fetcht 2 ,mem_mesh_subscription_value_address 
+2daf 184cfe00 rshift8 temp ,pdata 
+2db0 1ff1fe00 rshift4 pdata ,pdata 
+2db1 c0062db8 beq 0x0c ,ali_mesh_message_config_modle_subscription_delete_group_addr 
+2db2 20402dbd call ali_mesh_message_config_modle_subscription_check_value_address 
+2db3 24740000 nrtn user 
+2db4 58000000 setarg 0 
+2db5 e7e10011 istore 2 ,rega 
+2db6 6fe14a11 fetch 2 ,mem_mesh_cb_subscriptuion_list_changed 
+2db7 20207e7a branch callback_func 
+
+ali_mesh_message_config_modle_subscription_delete_group_addr:
+2db8 5fffffff setarg -1 
+2db9 e7e40011 istore subscription_max_count ,rega 
+2dba e7e40005 istore subscription_max_count ,contw 
+2dbb 6fe14a11 fetch 2 ,mem_mesh_cb_subscriptuion_list_changed 
+2dbc 20207e7a branch callback_func 
+
+ali_mesh_message_config_modle_subscription_check_value_address:
+2dbd df200008 arg subscription_max_count ,loopcnt 
+
+ali_mesh_message_config_modle_subscription_check_value_address_loop:
+2dbe efe10011 ifetch 2 ,rega 
+2dbf da40ffff arg 0xffff ,regb 
+2dc0 9a467c00 isub regb ,null 
+2dc1 2022fec5 branch enable_user ,zero 
+2dc2 98467c00 isub temp ,null 
+2dc3 2022fec5 branch enable_user ,zero 
+
+ali_mesh_message_config_modle_subscription_check_value_address_loop_empty:
+2dc4 1a20a202 increase 2 ,rega 
+2dc5 c2002dbe loop ali_mesh_message_config_modle_subscription_check_value_address_loop 
+2dc6 20407ec7 call disable_user 
+2dc7 20600000 rtn 
+
+ali_mesh_message_config_modle_subscription_status:
+2dc8 58000080 setarg mesh_configuration_and_health_message_opcode_header 
+2dc9 67e08a10 store 1 ,mem_mesh_access_layer_payload 
+2dca 5800001f setarg mesh_message_opcode_config_model_subscription_status_no_head 
+2dcb e7e08005 istore 1 ,contw 
+2dcc 58000000 setarg mesh_success 
+2dcd e7e08005 istore 1 ,contw 
+2dce 6fe309f9 fetch 6 ,mem_mesh_subscription_element_address 
+2dcf e7e30005 istore 6 ,contw 
+2dd0 700a0f09 jam 9 ,mem_mesh_access_layer_payload_len 
+2dd1 2020305d branch ali_mesh_upper_transport_layer_send_access_message_without_cleat_tx_buffer 
+
+ali_mesh_message_config_modle_subscription_check_element:
+2dd2 20402e14 call mesh_get_element_info_config 
+2dd3 1a20a206 add rega ,element_device_subscription_label ,rega 
+2dd4 6fe109f9 fetch 2 ,mem_mesh_subscription_element_address 
+2dd5 68494987 fetcht 2 ,mem_mesh_unicast_address 
+2dd6 18508400 byteswap temp ,temp 
+2dd7 98467e00 isub temp ,pdata 
+2dd8 9a4ffe00 imul32 regb ,pdata 
+2dd9 9a20a200 iadd rega ,rega 
+2dda 20600000 rtn 
+
+ali_mesh_message_config_modle_subscription_add_value_address:
+2ddb 684909fb fetcht 2 ,mem_mesh_subscription_value_address 
+2ddc df200008 arg subscription_max_count ,loopcnt 
+
+ali_mesh_message_config_modle_subscription_add_value_address_loop:
+2ddd efe10011 ifetch 2 ,rega 
+2dde 203a2de5 branch ali_mesh_message_config_modle_subscription_add_value_address_in ,blank 
+2ddf da40ffff arg 0xffff ,regb 
+2de0 9a467c00 isub regb ,null 
+2de1 2022ade5 branch ali_mesh_message_config_modle_subscription_add_value_address_in ,zero 
+2de2 1a20a202 increase 2 ,rega 
+2de3 c2002ddd loop ali_mesh_message_config_modle_subscription_add_value_address_loop 
+2de4 20600000 rtn 
+
+ali_mesh_message_config_modle_subscription_add_value_address_in:
+2de5 18508400 byteswap temp ,temp 
+2de6 e0410011 istoret 2 ,rega 
+2de7 20600000 rtn 
+
+ali_mesh_init:
+2de8 20406e66 call init_memp 
+2de9 58002930 setarg mesh_check_ble_rx_packet 
+2dea 67e149ed store 2 ,mem_mesh_cb_receive_advertising 
+2deb 58002e18 setarg mesh_idle_process 
+2dec 67e14465 store 2 ,mem_cb_idle_process 
+2ded 58002f9f setarg ali_mesh_network_layer_relay_access_message 
+2dee 67e14a0b store 2 ,mem_mesh_cb_network_relay 
+2def 580029c3 setarg mesh_receive_config_appkey_add_cb 
+2df0 67e149f1 store 2 ,mem_mesh_cb_receive_config_appkey_add 
+2df1 580029d6 setarg mesh_store_new_subscriptuion_list_data 
+2df2 67e14a11 store 2 ,mem_mesh_cb_subscriptuion_list_changed 
+2df3 580029d2 setarg mesh_store_new_seq_data 
+2df4 67e14a0f store 2 ,mem_mesh_cb_seq_changed 
+2df5 58002e1d setarg mesh_cb_event_timer 
+2df6 67e1446f store 2 ,mem_cb_event_timer 
+2df7 5800273c setarg ali_mesh_access_layer_check_access_message_opcode 
+2df8 67e149ef store 2 ,mem_mesh_cb_receive_access_message 
+2df9 58002926 setarg mesh_le_wait_adv_cb 
+2dfa 67e149f7 store 2 ,mem_mesh_scan_selete_next_ch 
+2dfb 5800300b setarg mesh_le_receive_data 
+2dfc 67e1446b store 2 ,mem_cb_att_write 
+2dfd 58003014 setarg ali_mesh_proxy_process_bb_event 
+2dfe 67e14467 store 2 ,mem_cb_bb_event_process 
+2dff 7047d124 jam 36 ,mem_mesh_adv_scan_channel 
+2e00 2040284b call ali_mesh_ali_vendor_message_indication_info_reset_tid 
+2e01 477cc03f bpatchx patch3f_1 ,mem_patch3f 
+2e02 20402a01 call mesh_uart_init 
+2e03 20402e28 call mesh_iic_init 
+2e04 da204976 arg mem_mesh_network_key ,rega 
+2e05 da400000 arg mesh_code_init ,regb 
+2e06 df200001 arg 1 ,loopcnt 
+2e07 204029e6 call logging_tx_info 
+2e08 20402995 call ali_mesh_chip_peripherals_load_data_from_eep 
+2e09 20402e10 call mesh_inverse_three_tuple_mac 
+2e0a 6fe0c976 fetch 1 ,mem_mesh_network_key 
+2e0b c07fac3b beq 0xff ,mesh_send_unprovisioned_beacons 
+2e0c 20402b0e call ali_mesh_encrypt_base_function_k3 
+2e0d 20402b00 call ali_mesh_encrypt_base_function_k4 
+2e0e 20402ae8 call ali_mesh_encrypt_calc_network_key_by_k2 
+2e0f 202027ff branch ali_mesh_ali_vendor_message_opcode_device_power_on 
+
+mesh_inverse_three_tuple_mac:
+2e10 6fe349d7 fetch 6 ,mem_mesh_three_tuple_mac 
+2e11 20407dbb call inverse_data_6byte 
+2e12 67e3437a store 6 ,mem_le_lap 
+2e13 20600000 rtn 
+
+mesh_get_element_info_config:
+2e14 6f20ca17 fetchr loopcnt ,1 ,mem_mesh_element_number 
+2e15 6a214a18 fetchr rega ,2 ,mem_mesh_element_device_ptr 
+2e16 6a414a1a fetchr regb ,2 ,mem_mesh_element_device_length 
+2e17 20600000 rtn 
+
+mesh_idle_process:
+2e18 2040284d call ali_mesh_time_function 
+2e19 20402a16 call ali_mesh_control_ble_adv_process 
+2e1a 20403086 call ali_mesh_upper_transport_layer_control_packet 
+2e1b 204028dc call ali_mesh_advertising_bearer_layer_load_packet_from_advertising_queue 
+2e1c 20202919 branch mesh_receive_advertising 
+
+mesh_cb_event_timer:
+2e1d 20402a18 call ali_mesh_control_ble_adv_timer_process 
+2e1e 20202d8f branch ali_mesh_gatt_package_receive_timer 
+
+ali_mesh_check_all_element_info:
+2e1f 20402e14 call mesh_get_element_info_config 
+
+ali_mesh_check_all_element_info_loop:
+2e20 20402f25 call ali_mesh_more_element_push_stack 
+2e21 1a627e00 copy regc ,pdata 
+2e22 20407e7a call callback_func 
+2e23 20402f2a call ali_mesh_more_element_pop_stack 
+2e24 1a427e00 copy regb ,pdata 
+2e25 9a20a200 iadd rega ,rega 
+2e26 c2002e20 loop ali_mesh_check_all_element_info_loop 
+2e27 20600000 rtn 
+
+mesh_iic_init:
+2e28 7080723f jam gpcfg_output_high ,core_gpio_conf + 2 
+2e29 7080716c jam gpcfg_iic_scl | gpcfg_pullup ,core_gpio_conf + 1 
+2e2a 7080706d jam gpcfg_iic_sda | gpcfg_pullup ,core_gpio_conf + 0 
+2e2b 20205e5c branch clear_eeprom_size_2k 
+
+ali_mesh_lower_transport_layer_receive_lower_transport_pdu:
+2e2c 477d403f bpatchx patch3f_2 ,mem_patch3f 
+2e2d 6fe08c14 fetch 1 ,mem_mesh_message_transport_head 
+2e2e c283ae31 bbit1 transport_head_bit_seg ,ali_mesh_lower_transport_layer_receive_lower_transport_pdu_segmented_message 
+2e2f 704b2900 jam 0 ,mem_mesh_aszmic 
+2e30 20203021 branch ali_mesh_upper_transport_layer_receive_unsegmented_access_message 
+
+ali_mesh_lower_transport_layer_receive_lower_transport_pdu_segmented_message:
+2e31 20402e37 call ali_mesh_lower_transport_layer_receive_segaccmess_resolve_szmic_seqzero_segon 
+2e32 20740000 rtn user 
+2e33 20402e58 call ali_mesh_lower_transport_layer_receive_segmented_access_message_check_blockack 
+2e34 20740000 rtn user 
+2e35 20402e68 call ali_mesh_lower_transport_layer_receive_segmented_access_message_store_segment 
+2e36 20202e75 branch ali_mesh_lower_transport_layer_receive_segmented_access_message_decrypt_segment 
+
+ali_mesh_lower_transport_layer_receive_segaccmess_resolve_szmic_seqzero_segon:
+2e37 20407ec7 call disable_user 
+2e38 df200003 arg 3 ,loopcnt 
+2e39 da200c15 arg mem_mesh_message_segment_access_szmic_seqzero_sego_segn ,rega 
+2e3a 20407dac call inverse_data 
+2e3b 6a218c15 fetchr rega ,3 ,mem_mesh_message_segment_access_szmic_seqzero_sego_segn 
+2e3c 1a21041f and rega ,0x1f ,temp 
+2e3d 6048ca20 storet 1 ,mem_mesh_segmented_access_message_segn 
+2e3e 6fe0ca27 fetch 1 ,mem_mesh_segmented_access_message_segn_upper_limit 
+2e3f 98467c00 isub temp ,null 
+2e40 24217ec5 nbranch enable_user ,positive 
+2e41 1a31fe00 rshift4 rega ,pdata 
+2e42 1fe37e00 rshift pdata ,pdata 
+2e43 1fe1041f and pdata ,0x1f ,temp 
+2e44 6048ca1f storet 1 ,mem_mesh_segmented_access_message_sego 
+2e45 1ff1fe00 rshift4 pdata ,pdata 
+2e46 1fe37e00 rshift pdata ,pdata 
+2e47 da201fff arg 0x1fff ,rega 
+2e48 9a210400 iand rega ,temp 
+2e49 1fe22400 copy pdata ,regb 
+2e4a 6fe14a1d fetch 2 ,mem_mesh_segmented_access_message_seqzero 
+2e4b 98467c00 isub temp ,null 
+2e4c 2442ae54 ncall ali_mesh_lower_transport_layer_receive_segmented_access_message_recover_seqzero ,zero 
+2e4d 60494a1d storet 2 ,mem_mesh_segmented_access_message_seqzero 
+2e4e 1a4cfe00 rshift8 regb ,pdata 
+2e4f 1ff1fe00 rshift4 pdata ,pdata 
+2e50 1fe37e00 rshift pdata ,pdata 
+2e51 67e0ca1c store 1 ,mem_mesh_segmented_access_message_szmic 
+2e52 67e0cb29 store 1 ,mem_mesh_aszmic 
+2e53 20600000 rtn 
+
+ali_mesh_lower_transport_layer_receive_segmented_access_message_recover_seqzero:
+2e54 58000000 setarg 0 
+2e55 67e24a21 store 4 ,mem_mesh_segmented_access_message_blockack 
+2e56 704a2600 jam 0 ,mem_mesh_segmented_access_message_current_length 
+2e57 20600000 rtn 
+
+ali_mesh_lower_transport_layer_receive_segmented_access_message_check_blockack:
+2e58 20407ec7 call disable_user 
+2e59 6fe0ca1f fetch 1 ,mem_mesh_segmented_access_message_sego 
+2e5a 1fe20e00 copy pdata ,queue 
+2e5b 6fe24a21 fetch 4 ,mem_mesh_segmented_access_message_blockack 
+2e5c afefffff qisolate1 pdata 
+2e5d 2020fec5 branch enable_user ,true 
+2e5e f9207e00 qset1 pdata 
+2e5f 67e24a21 store 4 ,mem_mesh_segmented_access_message_blockack 
+2e60 6848ca20 fetcht 1 ,mem_mesh_segmented_access_message_segn 
+2e61 1840f201 add temp ,1 ,loopcnt 
+
+ali_mesh_lower_transport_layer_receive_segmented_access_message_check_blockack_loop:
+2e62 1f208fff add loopcnt ,-1 ,queue 
+2e63 afefffff qisolate1 pdata 
+2e64 24608000 nrtn true 
+2e65 c2002e62 loop ali_mesh_lower_transport_layer_receive_segmented_access_message_check_blockack_loop 
+2e66 704a2501 jam 1 ,mem_mesh_segmented_access_message_receive_finish 
+2e67 20600000 rtn 
+
+ali_mesh_lower_transport_layer_receive_segmented_access_message_store_segment:
+2e68 6fe08c0a fetch 1 ,mem_mesh_message_transport_netmic_length 
+2e69 1fe0fffa pincrease -6 
+2e6a 1fe27200 copy pdata ,loopcnt 
+2e6b 6848ca26 fetcht 1 ,mem_mesh_segmented_access_message_current_length 
+2e6c 98408400 iadd temp ,temp 
+2e6d 6048ca26 storet 1 ,mem_mesh_segmented_access_message_current_length 
+2e6e 6fe14a28 fetch 2 ,mem_mesh_segmented_access_message_segment_ptr 
+2e6f 98000a00 iforce contw 
+2e70 6fe0ca1f fetch 1 ,mem_mesh_segmented_access_message_sego 
+2e71 1feffe0c mul32 pdata ,12 ,pdata 
+2e72 98a08a00 iadd contw ,contw 
+2e73 d8c00c18 arg mem_mesh_message_transport_segmented_access_messagepdu_segment ,contr 
+2e74 20207dd4 branch memcpy 
+
+ali_mesh_lower_transport_layer_receive_segmented_access_message_decrypt_segment:
+2e75 6fe0ca25 fetch 1 ,mem_mesh_segmented_access_message_receive_finish 
+2e76 c1000000 rtneq 0 
+2e77 58000000 setarg 0 
+2e78 67e2ca21 store 5 ,mem_mesh_segmented_access_message_blockack 
+2e79 68490c0e fetcht 2 ,mem_mesh_message_seq + 1 
+2e7a 18508400 byteswap temp ,temp 
+2e7b 5800e000 setarg 0xe000 
+2e7c 98410400 iand temp ,temp 
+2e7d 6fe14a1d fetch 2 ,mem_mesh_segmented_access_message_seqzero 
+2e7e 9841fe00 ior temp ,pdata 
+2e7f 1ff0fe00 byteswap pdata ,pdata 
+2e80 67e10c0e store 2 ,mem_mesh_message_seq + 1 
+2e81 2020302b branch ali_mesh_upper_transport_layer_receive_segmented_access_message 
+
+ali_mesh_lower_transport_layer_send_unsegmented_access_message:
+2e82 6fe08a0f fetch 1 ,mem_mesh_upper_transport_layer_payload_len 
+2e83 1fe08401 add pdata ,1 ,temp 
+2e84 1fe27200 copy pdata ,loopcnt 
+2e85 60488bff storet 1 ,mem_mesh_lower_transport_layer_payload_len 
+2e86 6fe08c14 fetch 1 ,mem_mesh_message_transport_head 
+2e87 793ffe07 set0 transport_head_bit_seg ,pdata 
+2e88 67e0cb61 store 1 ,mem_mesh_unsegmented_access_lower_transport_layer_head 
+2e89 d8c00a10 arg mem_mesh_access_layer_payload ,contr 
+2e8a 20407dc7 call memcpy_fast 
+2e8b 20202fdb branch ali_mesh_network_layer_send_access_message 
+
+ali_mesh_lower_transport_layer_send_segmented_access_message:
+2e8c 1a208404 add rega ,4 ,temp 
+2e8d 1a227200 copy rega ,loopcnt 
+2e8e 60488bff storet 1 ,mem_mesh_lower_transport_layer_payload_len 
+2e8f d8a04b65 arg mem_mesh_segmented_access_lower_transport_layer_parameters ,contw 
+2e90 20407dc7 call memcpy_fast 
+2e91 6fe08c14 fetch 1 ,mem_mesh_message_transport_head 
+2e92 79207e07 set1 transport_head_bit_seg ,pdata 
+2e93 67e0cb61 store 1 ,mem_mesh_segmented_access_lower_transport_layer_head 
+2e94 20202fdb branch ali_mesh_network_layer_send_access_message 
+
+ali_mesh_model_layer_check_model_message_opcode:
+2e95 6fe089f8 fetch 1 ,mem_mesh_module_message_opcode 
+
+ali_mesh_model_layer_check_generic_onoff_message_opcde:
+2e96 c000ae9c beq mesh_module_message_opcode_generic_onoff_get_no_head ,ali_mesh_model_layer_message_opcode_generic_onoff_get 
+2e97 c0012ea2 beq mesh_module_message_opcode_generic_onoff_set_no_head ,ali_mesh_model_layer_message_opcde_generic_onoff_set 
+2e98 c0212ea7 beq mesh_module_message_opcode_scene_recall_no_head ,ali_mesh_model_layer_message_opcde_scene_recall 
+2e99 c0262eaa beq mesh_module_message_opcode_light_lightness_set_no_head ,ali_mesh_model_layer_message_opcde_light_lightness_set 
+2e9a c02f2eb0 beq mesh_module_message_opcode_light_ctl_set_no_head ,ali_mesh_model_layer_message_opcde_light_ctl_set 
+2e9b 20600000 rtn 
+
+ali_mesh_model_layer_message_opcode_generic_onoff_get:
+2e9c da602e9e arg ali_mesh_model_layer_message_opcode_generic_onoff_get_cb ,regc 
+2e9d 20202f14 branch ali_mesh_more_element_check_element_address 
+
+ali_mesh_model_layer_message_opcode_generic_onoff_get_cb:
+2e9e 6fe149f9 fetch 2 ,mem_mesh_cb_generic_onoff_get 
+2e9f 20407e7a call callback_func 
+2ea0 67e089f9 store 1 ,mem_mesh_generic_onoff_set_payload_onoff 
+2ea1 2020276d branch ali_mesh_access_layer_send_generic_onoff_status 
+
+ali_mesh_model_layer_message_opcde_generic_onoff_set:
+2ea2 da602ea4 arg ali_mesh_model_layer_message_opcde_generic_onoff_set_cb ,regc 
+2ea3 20202f14 branch ali_mesh_more_element_check_element_address 
+
+ali_mesh_model_layer_message_opcde_generic_onoff_set_cb:
+2ea4 2040276d call ali_mesh_access_layer_send_generic_onoff_status 
+2ea5 6fe149fb fetch 2 ,mem_mesh_cb_generic_onoff_set 
+2ea6 20207e7a branch callback_func 
+
+ali_mesh_model_layer_message_opcde_scene_recall:
+2ea7 20402785 call ali_mesh_access_layer_send_scene_status 
+2ea8 6fe149fd fetch 2 ,mem_mesh_cb_scene_recall 
+2ea9 20207e7a branch callback_func 
+
+ali_mesh_model_layer_message_opcde_light_lightness_set:
+2eaa 6fe109f9 fetch 2 ,mem_mesh_light_lightness_set_payload_lightness 
+2eab 20402ebf call ali_mesh_model_layer_message_calc_lightness 
+2eac 67e089fe store 1 ,mem_mesh_light_lightness_calc_lightness 
+2ead 20402775 call ali_mesh_access_layer_send_light_lightness_status 
+2eae 6fe149ff fetch 2 ,mem_mesh_cb_light_lightness_set 
+2eaf 20207e7a branch callback_func 
+
+ali_mesh_model_layer_message_opcde_light_ctl_set:
+2eb0 6fe14a2a fetch 2 ,mem_mesh_last_ctl_temperature 
+2eb1 684909fb fetcht 2 ,mem_mesh_ctl_temperature 
+2eb2 98467c00 isub temp ,null 
+2eb3 20628000 rtn zero 
+2eb4 6fe109fb fetch 2 ,mem_mesh_ctl_temperature 
+2eb5 20402ed1 call ali_mesh_model_layer_message_calc_temperature 
+2eb6 67e08a03 store 1 ,mem_mesh_ctl_calc_temperature 
+2eb7 6fe109fb fetch 2 ,mem_mesh_ctl_temperature 
+2eb8 67e14a2a store 2 ,mem_mesh_last_ctl_temperature 
+2eb9 6fe14a01 fetch 2 ,mem_mesh_cb_light_lightness_get 
+2eba 20407e7a call callback_func 
+2ebb 604909f9 storet 2 ,mem_mesh_ctl_lightness 
+2ebc 2040277d call ali_mesh_access_layer_send_light_ctl_stauts 
+2ebd 6fe14a03 fetch 2 ,mem_mesh_cb_light_ctl_set 
+2ebe 20207e7a branch callback_func 
+
+ali_mesh_model_layer_message_calc_lightness:
+2ebf 207a0000 rtn blank 
+2ec0 1feffe64 mul32 pdata ,ali_mesh_lightness_level ,pdata 
+2ec1 d840ffff arg ali_mesh_lightness_max ,temp 
+2ec2 9846fc00 idiv temp 
+2ec3 20407e64 call wait_div_end 
+2ec4 18070400 remainder temp 
+2ec5 184c8400 rshift8 temp ,temp 
+2ec6 1807fe00 quotient pdata 
+2ec7 18467cff sub temp ,0xff ,null 
+2ec8 24628000 nrtn zero 
+2ec9 1fe0fe01 pincrease 1 
+2eca 20600000 rtn 
+
+ali_mesh_model_layer_message_calc_actual_lightness:
+2ecb dfe0ffff arg ali_mesh_lightness_max ,pdata 
+2ecc 984ffe00 imul32 temp ,pdata 
+2ecd 1fe6fc64 div pdata ,ali_mesh_lightness_level 
+2ece 20407e64 call wait_div_end 
+2ecf 18078400 quotient temp 
+2ed0 20600000 rtn 
+
+ali_mesh_model_layer_message_calc_temperature:
+2ed1 d8400320 arg ali_mesh_temperature_min ,temp 
+2ed2 98462200 isub temp ,rega 
+2ed3 20402ee0 call ali_mesh_model_layer_message_calc_temperature_k 
+2ed4 1a227e00 copy rega ,pdata 
+2ed5 9846fc00 idiv temp 
+2ed6 20407e64 call wait_div_end 
+2ed7 1807fe00 quotient pdata 
+2ed8 20600000 rtn 
+
+ali_mesh_model_layer_message_calc_actual_temperature:
+2ed9 18422200 copy temp ,rega 
+2eda 20402ee0 call ali_mesh_model_layer_message_calc_temperature_k 
+2edb 1a227e00 copy rega ,pdata 
+2edc 984ffe00 imul32 temp ,pdata 
+2edd d8400320 arg ali_mesh_temperature_min ,temp 
+2ede 98408400 iadd temp ,temp 
+2edf 20600000 rtn 
+
+ali_mesh_model_layer_message_calc_temperature_k:
+2ee0 58004e20 setarg ali_mesh_temperature_max 
+2ee1 d8400320 arg ali_mesh_temperature_min ,temp 
+2ee2 98467e00 isub temp ,pdata 
+2ee3 1fe6fc64 div pdata ,ali_mesh_temperature_level 
+2ee4 20407e64 call wait_div_end 
+2ee5 18078400 quotient temp 
+2ee6 20600000 rtn 
+
+ali_mesh_more_element_check_unicast_address:
+2ee7 d8e00000 arg 0 ,queue 
+2ee8 6f20ca17 fetchr loopcnt ,1 ,mem_mesh_element_number 
+2ee9 20407ec7 call disable_user 
+2eea 6fe14987 fetch 2 ,mem_mesh_unicast_address 
+
+ali_mesh_more_element_check_unicast_address_loop:
+2eeb 98467c00 isub temp ,null 
+2eec 2022aef3 branch ali_mesh_more_element_found_unicast_address_element ,zero 
+2eed 1ff0fe00 byteswap pdata ,pdata 
+2eee 1fe0fe01 pincrease 1 
+2eef 1ff0fe00 byteswap pdata ,pdata 
+2ef0 18e08e01 increase 1 ,queue 
+2ef1 c2002eeb loop ali_mesh_more_element_check_unicast_address_loop 
+2ef2 20600000 rtn 
+
+ali_mesh_more_element_found_unicast_address_element:
+2ef3 704a2c00 jam 0 ,mem_mesh_receive_group_address 
+2ef4 60e0ca2d storer queue ,1 ,mem_mesh_receive_element_number 
+2ef5 20402f2f call ali_mesh_more_element_calc_queue_address 
+2ef6 20207ec5 branch enable_user 
+
+ali_mesh_more_element_check_group_address:
+2ef7 d8e00000 arg 0 ,queue 
+2ef8 da600000 arg 0 ,regc 
+2ef9 20402e14 call mesh_get_element_info_config 
+2efa 20407ec7 call disable_user 
+
+ali_mesh_more_element_check_group_address_loop:
+2efb 6fe14a15 fetch 2 ,mem_mesh_core_feature 
+2efc c3012f0a bbit0 mesh_feature_disable_subscription ,ali_mesh_more_element_check_subscription_address 
+2efd efe10011 ifetch 2 ,rega 
+2efe 98467c00 isub temp ,null 
+2eff 2042af08 call ali_mesh_more_element_found_group_address_element ,zero 
+
+ali_mesh_more_element_check_address_common:
+2f00 1a427e00 copy regb ,pdata 
+2f01 9a20a200 iadd rega ,rega 
+2f02 18e08e01 increase 1 ,queue 
+2f03 c2002efb loop ali_mesh_more_element_check_group_address_loop 
+2f04 1a627e00 copy regc ,pdata 
+2f05 207a0000 rtn blank 
+2f06 67e0ca2c store 1 ,mem_mesh_receive_group_address 
+2f07 20207ec5 branch enable_user 
+
+ali_mesh_more_element_found_group_address_element:
+2f08 f9202600 qset1 regc 
+2f09 20600000 rtn 
+
+ali_mesh_more_element_check_subscription_address:
+2f0a 1a208c06 add rega ,element_device_subscription_label ,contr 
+2f0b de000008 arg subscription_max_count ,alarm 
+
+ali_mesh_more_element_check_subscription_address_loop:
+2f0c efe10006 ifetch 2 ,contr 
+2f0d 98467c00 isub temp ,null 
+2f0e 2022af12 branch ali_mesh_more_element_found_subscription_address_element ,zero 
+2f0f 1e00e1ff increase -1 ,alarm 
+2f10 2022af00 branch ali_mesh_more_element_check_address_common ,zero 
+2f11 20202f0c branch ali_mesh_more_element_check_subscription_address_loop 
+
+ali_mesh_more_element_found_subscription_address_element:
+2f12 20402f08 call ali_mesh_more_element_found_group_address_element 
+2f13 20202f00 branch ali_mesh_more_element_check_address_common 
+
+ali_mesh_more_element_check_element_address:
+2f14 d8e00000 arg 0 ,queue 
+2f15 6fe0ca2c fetch 1 ,mem_mesh_receive_group_address 
+2f16 203a2f20 branch ali_mesh_more_element_check_element_address_no_group_address ,blank 
+2f17 1fe22400 copy pdata ,regb 
+2f18 6f20ca17 fetchr loopcnt ,1 ,mem_mesh_element_number 
+
+ali_mesh_more_element_check_element_address_loop:
+2f19 60e0ca2d storer queue ,1 ,mem_mesh_receive_element_number 
+2f1a aa4fffff qisolate1 regb 
+2f1b 2040af20 call ali_mesh_more_element_check_element_address_no_group_address ,true 
+2f1c 68e0ca2d fetchr queue ,1 ,mem_mesh_receive_element_number 
+2f1d 18e08e01 increase 1 ,queue 
+2f1e c2002f19 loop ali_mesh_more_element_check_element_address_loop 
+2f1f 20600000 rtn 
+
+ali_mesh_more_element_check_element_address_no_group_address:
+2f20 20402f25 call ali_mesh_more_element_push_stack 
+2f21 20402f2f call ali_mesh_more_element_calc_queue_address 
+2f22 1a627e00 copy regc ,pdata 
+2f23 20407e7a call callback_func 
+2f24 20202f2a branch ali_mesh_more_element_pop_stack 
+
+ali_mesh_more_element_push_stack:
+2f25 67210c00 storer loopcnt ,2 ,mem_mesh_loopcnt_tmep 
+2f26 62210c02 storer rega ,2 ,mem_mesh_rega_temp 
+2f27 62410c04 storer regb ,2 ,mem_mesh_regb_temp 
+2f28 62610c06 storer regc ,2 ,mem_mesh_regc_temp 
+2f29 20600000 rtn 
+
+ali_mesh_more_element_pop_stack:
+2f2a 6f210c00 fetchr loopcnt ,2 ,mem_mesh_loopcnt_tmep 
+2f2b 6a210c02 fetchr rega ,2 ,mem_mesh_rega_temp 
+2f2c 6a410c04 fetchr regb ,2 ,mem_mesh_regb_temp 
+2f2d 6a610c06 fetchr regc ,2 ,mem_mesh_regc_temp 
+2f2e 20600000 rtn 
+
+ali_mesh_more_element_calc_queue_address:
+2f2f 477dc03f bpatchx patch3f_3 ,mem_patch3f 
+2f30 6fe14987 fetch 2 ,mem_mesh_unicast_address 
+2f31 1ff0fe00 byteswap pdata ,pdata 
+2f32 98e0fe00 iadd queue ,pdata 
+2f33 1ff0fe00 byteswap pdata ,pdata 
+2f34 67e14b55 store 2 ,mem_mesh_send_message_src 
+2f35 20402e14 call mesh_get_element_info_config 
+2f36 18e27e00 copy queue ,pdata 
+2f37 9a4ffe00 imul32 regb ,pdata 
+2f38 9a20a200 iadd rega ,rega 
+2f39 1a208c17 add rega ,element_device_upper_queue_ptr ,contr 
+2f3a efe10006 ifetch 2 ,contr 
+2f3b 67e1448c store ,2 ,mem_queue_ptr 
+2f3c 20600000 rtn 
+
+ali_mesh_receive_adtype_mesh_message:
+2f3d 700c3a00 jam mesh_message_tmall ,mem_mesh_network_packet_type 
+
+ali_mesh_network_layer_recevice_network_pdu:
+2f3e 18467c0c sub temp ,mesh_network_packet_min_length ,null 
+2f3f 20610000 rtn positive 
+2f40 18467c1e sub temp ,mesh_network_packet_max_length ,null 
+2f41 24610000 nrtn positive 
+2f42 477e403f bpatchx patch3f_4 ,mem_patch3f 
+2f43 20402f97 call ali_mesh_network_store_in_mem 
+
+ali_mesh_network_layer_recevice_network_pdu_check_nid:
+2f44 20402f65 call ali_mesh_network_layer_check_nid_ivi 
+2f45 24740000 nrtn user 
+
+ali_mesh_network_layer_recevice_network_pdu_deceypt_obfuscation:
+2f46 20402b1f call ali_mesh_encrypt_obfuscation_deceypt_recevie_message 
+
+ali_mesh_network_layer_recevice_network_pdu_decrypt_netmic32:
+2f47 20402f8e call ali_mesh_network_load_network_nonce_and_encryptionkey 
+2f48 6fe08c0a fetch 1 ,mem_mesh_message_transport_netmic_length 
+2f49 d8400c12 arg mem_mesh_message_dst ,temp 
+2f4a 20402c09 call ali_ccm_decrypt 
+2f4b 24628000 nrtn zero 
+
+ali_mesh_network_layer_recevice_network_pdu_check_dst:
+2f4c 477ec03f bpatchx patch3f_5 ,mem_patch3f 
+2f4d 68490c12 fetcht 2 ,mem_mesh_message_dst 
+2f4e 20402ee7 call ali_mesh_more_element_check_unicast_address 
+2f4f 20342f72 branch ali_mesh_network_layer_recevice_network_pdu_check_src_and_seq ,user 
+2f50 df20001d arg 29 ,loopcnt 
+2f51 d8a00a98 arg mem_mesh_message_nid_temp ,contw 
+2f52 d8c00c0b arg mem_mesh_message_nid ,contr 
+2f53 20407dd4 call memcpy 
+2f54 20402f5b call ali_mesh_network_layer_recevice_network_pdu_check_dst_group_address 
+2f55 df20001d arg 29 ,loopcnt 
+2f56 d8c00a98 arg mem_mesh_message_nid_temp ,contr 
+2f57 d8a00c0b arg mem_mesh_message_nid ,contw 
+2f58 20407dd4 call memcpy 
+2f59 6fe14a0b fetch 2 ,mem_mesh_cb_network_relay 
+2f5a 20207e7a branch callback_func 
+
+ali_mesh_network_layer_recevice_network_pdu_check_dst_group_address:
+2f5b 20402ef7 call ali_mesh_more_element_check_group_address 
+2f5c 20342f72 branch ali_mesh_network_layer_recevice_network_pdu_check_src_and_seq ,user 
+2f5d 704a2cff jam 0xff ,mem_mesh_receive_group_address 
+2f5e 5800ffcf setarg group_address_0xcfff_little_endian 
+2f5f 98467c00 isub temp ,null 
+2f60 2022af72 branch ali_mesh_network_layer_recevice_network_pdu_check_src_and_seq ,zero 
+2f61 5800ffff setarg group_address_0xffff_little_endian 
+2f62 98467c00 isub temp ,null 
+2f63 2022af72 branch ali_mesh_network_layer_recevice_network_pdu_check_src_and_seq ,zero 
+2f64 20600000 rtn 
+
+ali_mesh_network_layer_check_nid_ivi:
+2f65 20407ec7 call disable_user 
+2f66 68488c0b fetcht 1 ,mem_mesh_message_nid 
+2f67 1851fe00 rshift4 temp ,pdata 
+2f68 1fe97e00 rshift3 pdata ,pdata 
+2f69 6a20ca31 fetchr rega ,1 ,mem_mesh_iv_index + 3 
+2f6a 1a212201 and rega ,0x01 ,rega 
+2f6b 9a267c00 isub rega ,null 
+2f6c 24628000 nrtn zero 
+2f6d 1841047f and temp ,0x7f ,temp 
+2f6e 6fe0c8d4 fetch 1 ,mem_k2_nid 
+2f6f 98467c00 isub temp ,null 
+2f70 24628000 nrtn zero 
+2f71 20207ec5 branch enable_user 
+
+ali_mesh_network_layer_recevice_network_pdu_check_src_and_seq:
+2f72 da204a32 arg mem_mesh_tmall_cache_start ,rega 
+2f73 df20000a arg cache_space_num ,loopcnt 
+
+ali_mesh_network_layer_raverse_src_seq_cache:
+2f74 68490c10 fetcht 2 ,mem_mesh_message_src 
+2f75 efe10011 ifetch 2 ,rega 
+2f76 203a2f7c branch ali_mesh_network_layer_find_empty_space ,blank 
+2f77 98467c00 isub temp ,null 
+2f78 2022af7d branch ali_mesh_network_layer_find_src_space ,zero 
+2f79 1a20a205 increase cache_space_size ,rega 
+2f7a c2002f74 loop ali_mesh_network_layer_raverse_src_seq_cache 
+2f7b da204a32 arg mem_mesh_tmall_cache_start ,rega 
+
+ali_mesh_network_layer_find_empty_space:
+2f7c e0410011 istoret 2 ,rega 
+
+ali_mesh_network_layer_find_src_space:
+2f7d 60490c35 storet 2 ,mem_mesh_send_message_dst 
+2f7e 1a20a602 add rega ,2 ,regc 
+2f7f efe18013 ifetch 3 ,regc 
+2f80 67e18c37 store 3 ,mem_mesh_last_message_seq 
+2f81 20202f82 branch ali_mesh_network_layer_recevice_network_pdu_check_seq_legal 
+
+ali_mesh_network_layer_recevice_network_pdu_check_seq_legal:
+2f82 20402f8b call ali_mesh_inverse_seq 
+2f83 6fe18c37 fetch 3 ,mem_mesh_last_message_seq 
+2f84 68498c0d fetcht 3 ,mem_mesh_message_seq 
+2f85 98467c00 isub temp ,null 
+2f86 20610000 rtn positive 
+2f87 e0418013 istoret 3 ,regc 
+2f88 20402f8b call ali_mesh_inverse_seq 
+2f89 20402fee call logging_tx_debug_network_receive_packet 
+2f8a 20202e2c branch ali_mesh_lower_transport_layer_receive_lower_transport_pdu 
+
+ali_mesh_inverse_seq:
+2f8b da200c0d arg mem_mesh_message_seq ,rega 
+2f8c df200003 arg 3 ,loopcnt 
+2f8d 20207dac branch inverse_data 
+
+ali_mesh_network_load_network_nonce_and_encryptionkey:
+2f8e 20402f91 call ali_mesh_network_layer_load_network_nonce 
+
+ali_mesh_upper_transport_layer_load_encryptionkey:
+2f8f d8c048e5 arg mem_k2_encryptionkey ,contr 
+2f90 20206e26 branch load_key 
+
+ali_mesh_network_layer_load_network_nonce:
+2f91 d8a00c28 arg mem_mesh_network_nonce ,contw 
+2f92 58000000 setarg network_nonce 
+2f93 e7e08005 istore 1 ,contw 
+2f94 6fe30c0c fetch 6 ,mem_mesh_message_ttl 
+2f95 e7e40005 istore 8 ,contw 
+2f96 20202fe9 branch mesh_generate_nonce 
+
+ali_mesh_network_store_in_mem:
+2f97 1840fff4 add temp ,-12 ,pdata 
+2f98 67e08c0a store 1 ,mem_mesh_message_transport_netmic_length 
+2f99 df20001d arg 29 ,loopcnt 
+2f9a d8a00c0b arg mem_mesh_message_nid ,contw 
+2f9b 20407d9b call clear_mem 
+2f9c 1840f3ff add temp ,-1 ,loopcnt 
+2f9d d8a00c0b arg mem_mesh_message_nid ,contw 
+2f9e 20207dc7 branch memcpy_fast 
+
+ali_mesh_network_layer_relay_access_message:
+2f9f 20402fb6 call ali_mesh_network_layer_check_relay_states 
+2fa0 24740000 nrtn user 
+2fa1 20402fcb call ali_mesh_network_layer_encrypt_relay_package 
+2fa2 700a740a jam adv_relay_mesh_message_duration ,mem_mesh_queue_ele_duration 
+2fa3 6fe08c0a fetch 1 ,mem_mesh_message_transport_netmic_length 
+2fa4 1fe0840d add pdata ,13 ,temp 
+2fa5 60488a76 storet 1 ,mem_mesh_queue_ele_len 
+2fa6 184085ff increase -1 ,temp 
+2fa7 e0408005 istoret 1 ,contw 
+2fa8 5800002a setarg gap_adtype_mesh_message 
+2fa9 e7e08005 istore 1 ,contw 
+2faa 1840f3ff add temp ,-1 ,loopcnt 
+2fab 6fe38c0b fetch 7 ,mem_mesh_message_nid 
+2fac d8c00c0b arg mem_mesh_message_nid ,contr 
+2fad 20407dd4 call memcpy 
+2fae 6fe1478f fetch 2 ,mem_ui_state_map 
+2faf 2feffe09 isolate1 ui_state_ble_connected ,pdata 
+2fb0 2040afb3 call ali_mesh_send_ble_data_relay_package ,true 
+2fb1 da200a74 arg mem_mesh_queue_ele_temp ,rega 
+2fb2 202079aa branch queue_push 
+
+ali_mesh_send_ble_data_relay_package:
+2fb3 6fe08c3a fetch 1 ,mem_mesh_network_packet_type 
+2fb4 c1010000 rtneq mesh_message_proxy 
+2fb5 20203017 branch ali_mesh_send_ble_data 
+
+ali_mesh_network_layer_check_relay_states:
+2fb6 20407ec7 call disable_user 
+2fb7 6fe08c3a fetch 1 ,mem_mesh_network_packet_type 
+2fb8 c1008000 rtneq mesh_message_app 
+2fb9 6fe14a15 fetch 2 ,mem_mesh_core_feature 
+2fba c3808000 rtnbit1 mesh_feature_disable_relay 
+2fbb 6fe0c96b fetch 1 ,mem_mesh_provisioned_flag 
+2fbc c1800000 rtnne paired_status 
+2fbd 68490c10 fetcht 2 ,mem_mesh_message_src 
+2fbe 20402ee7 call ali_mesh_more_element_check_unicast_address 
+2fbf 24740000 nrtn user 
+2fc0 20402fd0 call ali_mesh_network_layer_check_network_mic_cache 
+2fc1 24740000 nrtn user 
+2fc2 20402fd3 call ali_mesh_network_layer_logging_tx_relay_info 
+2fc3 6fe08c0c fetch 1 ,mem_mesh_message_ttl 
+2fc4 207a0000 rtn blank 
+2fc5 1fe0ffff pincrease -1 
+2fc6 207a0000 rtn blank 
+2fc7 67e08c0c store 1 ,mem_mesh_message_ttl 
+2fc8 58004a8c setarg mem_mesh_network_relay_queue 
+2fc9 67e1448c store 2 ,mem_queue_ptr 
+2fca 20207ec5 branch enable_user 
+
+ali_mesh_network_layer_encrypt_relay_package:
+2fcb 20402f8e call ali_mesh_network_load_network_nonce_and_encryptionkey 
+2fcc 6fe08c0a fetch 1 ,mem_mesh_message_transport_netmic_length 
+2fcd d8400c12 arg mem_mesh_message_dst ,temp 
+2fce 20402be8 call ali_ccm_encrypt 
+2fcf 20202b1f branch ali_mesh_encrypt_obfuscation_deceypt_recevie_message 
+
+ali_mesh_network_layer_check_network_mic_cache:
+2fd0 58004a64 setarg mem_mesh_transport_message_mic_cache 
+2fd1 67e10bfd store 2 ,mem_mesh_mic_cache_ptr 
+2fd2 20202978 branch ali_mesh_base_adt_cache 
+
+ali_mesh_network_layer_logging_tx_relay_info:
+2fd3 df200002 arg 2 ,loopcnt 
+2fd4 da200c12 arg mem_mesh_message_dst ,rega 
+2fd5 da400021 arg mesh_network_relay_packet ,regb 
+2fd6 204029e6 call logging_tx_info 
+2fd7 6f208be0 fetchr loopcnt ,1 ,mem_ccm_data_len 
+2fd8 6a210be1 fetchr rega ,2 ,mem_ccm_data_ptr 
+2fd9 da400021 arg mesh_network_relay_packet ,regb 
+2fda 202029e4 branch logging_tx_debug 
+
+ali_mesh_network_layer_send_access_message:
+2fdb 477f403f bpatchx patch3f_6 ,mem_patch3f 
+2fdc 20402fdf call ali_mesh_network_layer_send_access_message_encrypt_netmic 
+2fdd 20402fe8 call ali_mesh_network_layer_send_access_message_encrypt_obfuscation 
+2fde 202028c3 branch ali_mesh_bearer_layer_send_packet_by_network_layer 
+
+ali_mesh_network_layer_send_access_message_encrypt_netmic:
+2fdf 6fe08bff fetch 1 ,mem_mesh_lower_transport_layer_payload_len 
+2fe0 1fe0a202 add pdata ,2 ,rega 
+2fe1 1fe0fe04 pincrease 4 
+2fe2 67e08bff store 1 ,mem_mesh_lower_transport_layer_payload_len 
+2fe3 d8404b5f arg mem_mesh_send_upper_layer_dst ,temp 
+2fe4 20202fe5 branch ali_mesh_network_layer_encrypt_by_network_nonce 
+
+ali_mesh_network_layer_encrypt_by_network_nonce:
+2fe5 20402f8e call ali_mesh_network_load_network_nonce_and_encryptionkey 
+2fe6 1a227e00 copy rega ,pdata 
+2fe7 20202be8 branch ali_ccm_encrypt 
+
+ali_mesh_network_layer_send_access_message_encrypt_obfuscation:
+2fe8 20202b1c branch ali_mesh_encrypt_obfuscation_deceypt_send_message 
+
+mesh_generate_nonce:
+2fe9 6fe24a2e fetch 4 ,mem_mesh_iv_index 
+2fea e7e20005 istore 4 ,contw 
+2feb 18a0fff3 add contw ,-13 ,pdata 
+2fec 67e10bde store 2 ,mem_nonce_ptr 
+2fed 20600000 rtn 
+
+logging_tx_debug_network_receive_packet:
+2fee 6fe08c0a fetch 1 ,mem_mesh_message_transport_netmic_length 
+2fef 1fe0f20b add pdata ,11 ,loopcnt 
+2ff0 da200c0b arg mem_mesh_message_nid ,rega 
+2ff1 da400020 arg mesh_network_receive_packet ,regb 
+2ff2 202029e4 branch logging_tx_debug 
+
+ali_mesh_proxy_init_adv:
+2ff3 7043e714 jam 0x14 ,mem_le_adv_data_len 
+2ff4 58000002 setarg 0x02 
+2ff5 67e0c3e8 store 1 ,mem_le_adv_data 
+2ff6 58000001 setarg gap_adtype_flags 
+2ff7 e7e08005 istore 1 ,contw 
+2ff8 58000006 setarg 0x06 
+2ff9 e7e08005 istore 1 ,contw 
+2ffa 58000003 setarg 0x03 
+2ffb e7e08005 istore 1 ,contw 
+2ffc 58000003 setarg gap_adtype_16bit_complete 
+2ffd e7e08005 istore 1 ,contw 
+2ffe 58001828 setarg mesh_proxy_service 
+2fff e7e10005 istore 2 ,contw 
+3000 5800000c setarg 0x0c 
+3001 e7e08005 istore 1 ,contw 
+3002 58000016 setarg gap_adtype_service_data 
+3003 e7e08005 istore 1 ,contw 
+3004 58001828 setarg mesh_proxy_service 
+3005 e7e10005 istore 2 ,contw 
+3006 58000000 setarg mesh_proxy_service_data_id_type_network_id 
+3007 e7e08005 istore 1 ,contw 
+3008 6fe44963 fetch 8 ,mem_mesh_network_id 
+3009 e7e40005 istore 8 ,contw 
+300a 20600000 rtn 
+
+mesh_le_receive_data:
+300b 6fe14437 fetch 2 ,mem_le_att_handle 
+300c c007300e beq mesh_proxy_data_in_handle ,ali_mesh_receive_ble_data_proxy_data_in 
+300d 20600000 rtn 
+
+ali_mesh_receive_ble_data_proxy_data_in:
+300e 1a420400 copy regb ,temp 
+300f efe08011 ifetch 1 ,rega 
+3010 c0003012 beq mesh_proxy_message_type_network_pdu ,ali_mesh_network_layer_recevice_network_pdu_proxy_control 
+3011 20600000 rtn 
+
+ali_mesh_network_layer_recevice_network_pdu_proxy_control:
+3012 700a9702 jam mesh_message_proxy ,mem_mesh_network_packet_type_temp 
+3013 20202f3e branch ali_mesh_network_layer_recevice_network_pdu 
+
+ali_mesh_proxy_process_bb_event:
+3014 1a627e00 copy regc ,pdata 
+3015 c00ab279 beq bt_evt_le_disconnected ,app_ble_start_adv 
+3016 20600000 rtn 
+
+ali_mesh_send_ble_data:
+3017 20401b24 call le_fifo_check_nearly_full 
+3018 247a0000 nrtn blank 
+3019 6fe08a76 fetch 1 ,mem_mesh_queue_ele_len 
+301a 1fe0a3ff add pdata ,-1 ,rega 
+301b d8400010 arg mesh_proxy_data_out_handle ,temp 
+301c 20401e5f call le_att_malloc_tx_notify 
+301d 58000000 setarg mesh_proxy_message_type_network_pdu 
+301e e7e08005 istore 1 ,contw 
+301f d8c00a79 arg mem_mesh_queue_ele_payload + 2 ,contr 
+3020 20207d7d branch memcpy32 
+
+ali_mesh_upper_transport_layer_receive_unsegmented_access_message:
+3021 c3033024 bbit0 transport_head_bit_akf ,ali_mesh_uuper_transport_layer_decrypt_unsegment_access_by_device_key 
+
+ali_mesh_uuper_transport_layer_decrypt_unsegment_access_by_application_key:
+3022 2040304a call ali_mesh_upper_transport_layer_load_application_nonce_and_application_key 
+3023 20203026 branch ali_mesh_upper_transport_layer_decrypt_unsegmented_message 
+
+ali_mesh_uuper_transport_layer_decrypt_unsegment_access_by_device_key:
+3024 20403057 call ali_mesh_upper_transport_layer_load_device_nonce_and_device_key 
+3025 20203026 branch ali_mesh_upper_transport_layer_decrypt_unsegmented_message 
+
+ali_mesh_upper_transport_layer_decrypt_unsegmented_message:
+3026 6fe08c0a fetch 1 ,mem_mesh_message_transport_netmic_length 
+3027 1fe0fff9 pincrease -7 
+3028 de000c15 arg mem_mesh_message_transport_unsegmented_access_messagepdu ,alarm 
+3029 20407ec7 call disable_user 
+302a 20203038 branch ali_mesh_upper_transport_layer_decrypt_message 
+
+ali_mesh_upper_transport_layer_receive_segmented_access_message:
+302b 6fe08c14 fetch 1 ,mem_mesh_message_transport_head 
+302c c303302f bbit0 transport_head_bit_akf ,ali_mesh_uuper_transport_layer_decrypt_segment_access_by_device_key 
+
+ali_mesh_uuper_transport_layer_decrypt_segment_access_by_application_key:
+302d 2040304a call ali_mesh_upper_transport_layer_load_application_nonce_and_application_key 
+302e 20203031 branch ali_mesh_upper_transport_layer_decrypt_segmented_message 
+
+ali_mesh_uuper_transport_layer_decrypt_segment_access_by_device_key:
+302f 20403057 call ali_mesh_upper_transport_layer_load_device_nonce_and_device_key 
+3030 20203031 branch ali_mesh_upper_transport_layer_decrypt_segmented_message 
+
+ali_mesh_upper_transport_layer_decrypt_segmented_message:
+3031 6fe0cb29 fetch 1 ,mem_mesh_aszmic 
+3032 245a7ec5 ncall enable_user ,blank 
+3033 205a7ec7 call disable_user ,blank 
+3034 6fe0ca26 fetch 1 ,mem_mesh_segmented_access_message_current_length 
+3035 1fe0fffc pincrease -4 
+3036 704a2600 jam 0 ,mem_mesh_segmented_access_message_current_length 
+3037 de004bc6 arg mem_mesh_segmented_access_message_segment ,alarm 
+
+ali_mesh_upper_transport_layer_decrypt_message:
+3038 1e020400 copy alarm ,temp 
+3039 20403044 call ali_mesh_upper_transport_layer_decrypt_message_decrypt_transmic 
+303a 24628000 nrtn zero 
+303b df200001 arg 1 ,loopcnt 
+303c da200be0 arg mem_ccm_data_len ,rega 
+303d da400040 arg mesh_upper_receive_packet ,regb 
+303e 204029e6 call logging_tx_info 
+303f 20403047 call ali_mesh_upper_transport_layer_check_transport_mic_cache 
+3040 24740000 nrtn user 
+3041 6fe10be1 fetch 2 ,mem_ccm_data_ptr 
+3042 1fe26000 copy pdata ,alarm 
+3043 20202735 branch ali_mesh_access_layer_resolve_message 
+
+ali_mesh_upper_transport_layer_decrypt_message_decrypt_transmic:
+3044 24342c09 nbranch ali_ccm_decrypt ,user 
+3045 1fe0fffc pincrease -4 
+3046 20202c07 branch ali_ccm_decrypt_64bit 
+
+ali_mesh_upper_transport_layer_check_transport_mic_cache:
+3047 58004b2a setarg mem_mesh_access_message_mic_cache 
+3048 67e10bfd store 2 ,mem_mesh_mic_cache_ptr 
+3049 20202978 branch ali_mesh_base_adt_cache 
+
+ali_mesh_upper_transport_layer_load_application_nonce_and_application_key:
+304a 2040304d call ali_mesh_upper_transport_layer_load_application_nonce 
+
+ali_mesh_upper_transport_layer_load_application_key:
+304b d8c04b19 arg mem_mesh_application_key ,contr 
+304c 20206e26 branch load_key 
+
+ali_mesh_upper_transport_layer_load_application_nonce:
+304d d8a00c28 arg mem_mesh_application_nonce ,contw 
+304e 58000001 setarg application_nonce 
+304f e7e08005 istore 1 ,contw 
+3050 6fe0cb29 fetch 1 ,mem_mesh_aszmic 
+3051 d8400000 arg 0 ,temp 
+3052 7d3a0407 nsetflag blank ,7 ,temp 
+3053 e0408005 istoret 1 ,contw 
+3054 6fe38c0d fetch 7 ,mem_mesh_message_seq 
+3055 e7e38005 istore 7 ,contw 
+3056 20202fe9 branch mesh_generate_nonce 
+
+ali_mesh_upper_transport_layer_load_device_nonce_and_device_key:
+3057 2040305a call ali_mesh_upper_transport_layer_load_device_nonce 
+
+ali_mesh_upper_transport_layer_load_device_key:
+3058 d8c04827 arg mem_mesh_device_key ,contr 
+3059 20206e26 branch load_key 
+
+ali_mesh_upper_transport_layer_load_device_nonce:
+305a d8a00c28 arg mem_mesh_device_nonce ,contw 
+305b 58000002 setarg device_nonce 
+305c 2020304f branch ali_mesh_upper_transport_layer_load_application_nonce + 2 
+
+ali_mesh_upper_transport_layer_send_access_message:
+
+ali_mesh_upper_transport_layer_send_access_message_without_cleat_tx_buffer:
+305d 477fc03f bpatchx patch3f_7 ,mem_patch3f 
+305e 2040314b call ali_mesh_upper_transport_layer_clear_tx_buffer 
+305f 2040314c call ali_mesh_loggint_tx_info_upper_send_packet 
+3060 2040311b call ali_mesh_upper_transport_layer_send_access_message_add_nid_src_ttl_seq_dst 
+3061 20403066 call ali_mesh_upper_transport_layer_store_packet_header 
+3062 20740000 rtn user 
+3063 2040307e call ali_mesh_upper_transport_layer_store_unsegment_msg_original_access_pdu 
+3064 da200c43 arg mem_mesh_upper_tran_layer_queue_temp ,rega 
+3065 202079aa branch queue_push 
+
+ali_mesh_upper_transport_layer_store_packet_header:
+3066 20407ec7 call disable_user 
+3067 d8400002 arg upper_retry_count_status ,temp 
+3068 6fe0c96b fetch 1 ,mem_mesh_provisioned_flag 
+3069 98408400 iadd temp ,temp 
+306a 6fe08c3a fetch 1 ,mem_mesh_network_packet_type 
+306b 1fe67c02 sub pdata ,mesh_message_proxy ,null 
+306c 79228407 setflag zero ,bit_upper_flag_proxy_control ,temp 
+306d 6fe08c3a fetch 1 ,mem_mesh_network_packet_type 
+306e 1fe67c01 sub pdata ,mesh_message_app ,null 
+306f 79228406 setflag zero ,bit_upper_flag_app_control ,temp 
+3070 60488c43 storet 1 ,mem_mesh_upper_tran_layer_temp_packet_flag 
+3071 6fe4cb58 fetch 9 ,mem_mesh_send_upper_layer_ivi_and_nid 
+3072 67e48c47 store 9 ,mem_mesh_upper_tran_layer_temp_packet_header_ivi_nid 
+3073 6fe08a10 fetch 1 ,mem_mesh_access_layer_payload_vendor_command 
+3074 c1ea0000 rtnne vendor_message_attr_indication 
+3075 6fe0c96b fetch 1 ,mem_mesh_provisioned_flag 
+3076 c0807ec5 bne paired_status ,enable_user 
+3077 6fe08a13 fetch 1 ,mem_mesh_access_layer_payload_vendor_tid 
+3078 67e08c46 store 1 ,mem_mesh_upper_tran_layer_temp_packet_tid 
+3079 6fe08c43 fetch 1 ,mem_mesh_upper_tran_layer_temp_packet_flag 
+307a 1fe0fe01 pincrease upper_retry_count_indication 
+307b 79207e05 set1 bit_upper_flag_vendor_indication ,pdata 
+307c 67e08c43 store 1 ,mem_mesh_upper_tran_layer_temp_packet_flag 
+307d 20600000 rtn 
+
+ali_mesh_upper_transport_layer_store_unsegment_msg_original_access_pdu:
+307e 6fe08a0f fetch 1 ,mem_mesh_access_layer_payload_len 
+307f 1fe27200 copy pdata ,loopcnt 
+3080 67e08c50 store 1 ,mem_mesh_upper_tran_layer_temp_packet_length 
+3081 6fe08c14 fetch 1 ,mem_mesh_message_transport_head 
+3082 67e08c51 store 1 ,mem_mesh_upper_tran_layer_temp_pakcet_akf_aid 
+3083 d8a00c56 arg mem_mesh_upper_tran_layer_temp_pakcet_upper_tran_access_pdu ,contw 
+3084 d8c00a10 arg mem_mesh_access_layer_payload ,contr 
+3085 20207dd4 branch memcpy 
+
+ali_mesh_upper_transport_layer_control_packet:
+3086 da603088 arg ali_mesh_upper_transport_layer_control_packet_deal ,regc 
+3087 20202e1f branch ali_mesh_check_all_element_info 
+
+ali_mesh_upper_transport_layer_control_packet_deal:
+3088 1a208c16 add rega ,element_device_upper_adv_flag ,contr 
+3089 efe08006 ifetch 1 ,contr 
+308a 247a0000 nrtn blank 
+308b efe10006 ifetch 2 ,contr 
+308c 67e1448c store 2 ,mem_queue_ptr 
+308d da200c43 arg mem_mesh_upper_tran_layer_queue_temp ,rega 
+308e 204079d2 call queue_get_new_ele 
+308f 24740000 nrtn user 
+3090 6a210c02 fetchr rega ,2 ,mem_mesh_rega_temp 
+3091 68488c43 fetcht 1 ,mem_mesh_upper_tran_layer_temp_packet_flag 
+3092 18417e0f and temp ,data_upper_flag_max_retry_count ,pdata 
+3093 203a30ca branch ali_mesh_upper_transport_layer_queue_pop ,blank 
+3094 1a208a16 add rega ,element_device_upper_adv_flag ,contw 
+3095 58000001 setarg packet_in_bearer 
+3096 e7e08005 istore 1 ,contw 
+3097 204030b4 call ali_mesh_upper_transport_layer_control_packet_load_header 
+3098 68488c43 fetcht 1 ,mem_mesh_upper_tran_layer_temp_packet_flag 
+3099 204030ba call ali_mesh_upper_transport_layer_control_packet_load_app_control 
+309a 1a208a19 add rega ,element_device_tran_package_tid ,contw 
+309b e7e08005 istore 1 ,contw 
+309c 1a208c1a add rega ,element_device_tran_package_type ,contr 
+309d efe08006 ifetch 1 ,contr 
+309e 284ffe07 isolate1 bit_upper_flag_proxy_control ,temp 
+309f 7920fe02 setflag true ,bit_uuper_tran_proxy_message ,pdata 
+30a0 1a208a1a add rega ,element_device_tran_package_type ,contw 
+30a1 e7e08005 istore 1 ,contw 
+30a2 79200404 set1 bit_upper_flag_retransmit ,temp 
+30a3 184085ff increase -1 ,temp 
+30a4 e0408012 istoret 1 ,regb 
+30a5 68488c43 fetcht 1 ,mem_mesh_upper_tran_layer_temp_packet_flag 
+30a6 284ffe04 isolate1 bit_upper_flag_retransmit ,temp 
+30a7 2420b0cf nbranch ali_mesh_upper_transport_layer_control_packet_encrypt_access ,true 
+30a8 68488c50 fetcht 1 ,mem_mesh_upper_tran_layer_temp_packet_length 
+30a9 60488a0f storet 1 ,mem_mesh_upper_transport_layer_payload_len 
+30aa 18427200 copy temp ,loopcnt 
+30ab d8a00a10 arg mem_mesh_access_layer_payload ,contw 
+30ac d8c00c56 arg mem_mesh_upper_tran_layer_temp_pakcet_upper_tran_access_pdu ,contr 
+30ad 20407dd4 call memcpy 
+30ae 18467c0f sub temp ,unsegmented_access_message_max_upper_transport_access_pdu_len ,null 
+30af 242130b1 nbranch ali_mesh_upper_transport_layer_control_packet_segment_msg ,positive 
+
+ali_mesh_upper_transport_layer_control_packet_unsegment_msg:
+30b0 20202e82 branch ali_mesh_lower_transport_layer_send_unsegmented_access_message 
+
+ali_mesh_upper_transport_layer_control_packet_segment_msg:
+30b1 6fe20c52 fetch 4 ,mem_mesh_upper_tran_layer_temp_segmented_pakcet_seqzero 
+30b2 67e20c3e store 4 ,mem_mesh_segmented_lower_transport_layer_segzero 
+30b3 202030f0 branch ali_mesh_upper_transport_layer_split_segmented_msg_to_lower_tran_layer 
+
+ali_mesh_upper_transport_layer_control_packet_load_header:
+30b4 6fe08c51 fetch 1 ,mem_mesh_upper_tran_layer_temp_pakcet_akf_aid 
+30b5 67e08c14 store 1 ,mem_mesh_message_transport_head 
+30b6 6fe48c47 fetch 9 ,mem_mesh_upper_tran_layer_temp_packet_header_ivi_nid 
+30b7 67e4cb58 store 9 ,mem_mesh_send_upper_layer_ivi_and_nid 
+30b8 67e48c0b store 9 ,mem_mesh_message_nid 
+30b9 20600000 rtn 
+
+ali_mesh_upper_transport_layer_control_packet_load_app_control:
+30ba 58000003 setarg upper_tran_tmall_and_app 
+30bb 204030c7 call ali_mesh_store_tran_package_type 
+30bc 6fe08c46 fetch 1 ,mem_mesh_upper_tran_layer_temp_packet_tid 
+30bd 284ffe05 isolate1 bit_upper_flag_vendor_indication ,temp 
+30be 20608000 rtn true 
+30bf 58000001 setarg upper_tran_tmall_message 
+30c0 204030c7 call ali_mesh_store_tran_package_type 
+30c1 58000000 setarg 0 
+30c2 284ffe06 isolate1 bit_upper_flag_app_control ,temp 
+30c3 24608000 nrtn true 
+30c4 58000002 setarg upper_tran_app_message 
+30c5 204030c7 call ali_mesh_store_tran_package_type 
+30c6 20207ed1 branch enable_blank 
+
+ali_mesh_store_tran_package_type:
+30c7 1a208a1a add rega ,element_device_tran_package_type ,contw 
+30c8 e7e08005 istore 1 ,contw 
+30c9 20600000 rtn 
+
+ali_mesh_upper_transport_layer_queue_pop:
+30ca 58000000 setarg 0 
+30cb 1a208a19 add rega ,element_device_tran_package_tid ,contw 
+30cc e7e08005 istore 1 ,contw 
+30cd da200c43 arg mem_mesh_upper_tran_layer_queue_temp ,rega 
+30ce 202079c1 branch queue_pop 
+
+ali_mesh_upper_transport_layer_control_packet_encrypt_access:
+30cf 20403113 call ali_mesh_upper_transport_layer_send_access_message_calc_seq 
+30d0 20403127 call ali_mesh_upper_transport_layer_send_access_message_add_seq 
+30d1 6fe4cb58 fetch 9 ,mem_mesh_send_upper_layer_ivi_and_nid 
+30d2 67e48c47 store 9 ,mem_mesh_upper_tran_layer_temp_packet_header_ivi_nid 
+30d3 204030e8 call ali_mesh_upper_transport_layer_control_packet_encrypt_access_load_payload 
+30d4 58000000 setarg 0 
+30d5 67e0cb29 store 1 ,mem_mesh_aszmic 
+30d6 20403109 call ali_mesh_upper_transport_layer_calc_transport_mic 
+30d7 68488a0f fetcht 1 ,mem_mesh_upper_transport_layer_payload_len 
+30d8 60488c50 storet 1 ,mem_mesh_upper_tran_layer_temp_packet_length 
+30d9 18427200 copy temp ,loopcnt 
+30da d8c00a10 arg mem_mesh_access_layer_payload ,contr 
+30db d8a00c56 arg mem_mesh_upper_tran_layer_temp_pakcet_upper_tran_access_pdu ,contw 
+30dc 20407dd4 call memcpy 
+30dd 18467c0f sub temp ,unsegmented_access_message_max_upper_transport_access_pdu_len ,null 
+30de 242130e2 nbranch ali_mesh_upper_transport_layer_control_packet_encrypt_access_segment_msg ,positive 
+
+ali_mesh_upper_transport_layer_control_packet_encrypt_access_unsegment_msg:
+30df da200c44 arg mem_mesh_upper_tran_layer_temp_packet_transmit_delay ,rega 
+30e0 204079e1 call queue_store_new_ele 
+30e1 20202e82 branch ali_mesh_lower_transport_layer_send_unsegmented_access_message 
+
+ali_mesh_upper_transport_layer_control_packet_encrypt_access_segment_msg:
+30e2 2040312f call ali_mesh_upper_transport_layer_send_segmented_access_message_get_seqzero_segon 
+30e3 6fe20c3e fetch 4 ,mem_mesh_segmented_lower_transport_layer_segzero 
+30e4 67e20c52 store 4 ,mem_mesh_upper_tran_layer_temp_segmented_pakcet_seqzero 
+30e5 da200c44 arg mem_mesh_upper_tran_layer_temp_packet_transmit_delay ,rega 
+30e6 204079e1 call queue_store_new_ele 
+30e7 202030f0 branch ali_mesh_upper_transport_layer_split_segmented_msg_to_lower_tran_layer 
+
+ali_mesh_upper_transport_layer_control_packet_encrypt_access_load_payload:
+30e8 6fe08c50 fetch 1 ,mem_mesh_upper_tran_layer_temp_packet_length 
+30e9 1fe27200 copy pdata ,loopcnt 
+30ea 67e08a0f store 1 ,mem_mesh_access_layer_payload_len 
+30eb 6fe08c51 fetch 1 ,mem_mesh_upper_tran_layer_temp_pakcet_akf_aid 
+30ec 67e08c14 store 1 ,mem_mesh_message_transport_head 
+30ed d8c00c56 arg mem_mesh_upper_tran_layer_temp_pakcet_upper_tran_access_pdu ,contr 
+30ee d8a00a10 arg mem_mesh_access_layer_payload ,contw 
+30ef 20207dd4 branch memcpy 
+
+ali_mesh_upper_transport_layer_split_segmented_msg_to_lower_tran_layer:
+30f0 2040313c call ali_mesh_upper_transport_layer_send_segmented_access_message_calc_header 
+30f1 58000a10 setarg mem_mesh_access_payload 
+30f2 67e10c3b store 2 ,mem_mesh_upper_transport_layer_payload_ptr 
+
+ali_mesh_upper_transport_layer_send_segmented_access_message_loop:
+30f3 204030b4 call ali_mesh_upper_transport_layer_control_packet_load_header 
+30f4 20403113 call ali_mesh_upper_transport_layer_send_access_message_calc_seq 
+30f5 20403127 call ali_mesh_upper_transport_layer_send_access_message_add_seq 
+30f6 68488a0f fetcht 1 ,mem_mesh_access_layer_payload_len 
+30f7 5800000c setarg segmented_access_message_unint_pdu_len 
+30f8 20407ebb call not_greater_than 
+30f9 1fe22200 copy pdata ,rega 
+30fa 18427e00 copy temp ,pdata 
+30fb 9a267e00 isub rega ,pdata 
+30fc 67e08a0f store 1 ,mem_mesh_access_layer_payload_len 
+30fd 6fe10c3b fetch 2 ,mem_mesh_upper_transport_layer_payload_ptr 
+30fe 1fe20c00 copy pdata ,contr 
+30ff 9a208400 iadd rega ,temp 
+3100 60490c3b storet 2 ,mem_mesh_upper_transport_layer_payload_ptr 
+3101 20402e8c call ali_mesh_lower_transport_layer_send_segmented_access_message 
+3102 6fe08a0f fetch 1 ,mem_mesh_access_layer_payload_len 
+3103 207a0000 rtn blank 
+3104 6fe08c40 fetch 1 ,mem_mesh_segmented_lower_transport_layer_sego 
+3105 1fe0fe01 pincrease 1 
+3106 67e08c40 store 1 ,mem_mesh_segmented_lower_transport_layer_sego 
+3107 2040313c call ali_mesh_upper_transport_layer_send_segmented_access_message_calc_header 
+3108 202030f3 branch ali_mesh_upper_transport_layer_send_segmented_access_message_loop 
+
+ali_mesh_upper_transport_layer_calc_transport_mic:
+3109 6fe08c14 fetch 1 ,mem_mesh_message_transport_head 
+310a c303310d bbit0 transport_head_bit_akf ,ali_mesh_upper_transport_layer_calc_transport_mic_by_devicekey 
+
+ali_mesh_upper_transport_layer_calc_transport_mic_by_appkey:
+310b 2040304a call ali_mesh_upper_transport_layer_load_application_nonce_and_application_key 
+310c 2020310e branch ali_mesh_upper_transport_layer_calc_transport_mic_encrypt_aesccm 
+
+ali_mesh_upper_transport_layer_calc_transport_mic_by_devicekey:
+310d 20403057 call ali_mesh_upper_transport_layer_load_device_nonce_and_device_key 
+
+ali_mesh_upper_transport_layer_calc_transport_mic_encrypt_aesccm:
+310e 6fe08a0f fetch 1 ,mem_mesh_access_layer_payload_len 
+310f 1fe08404 add pdata ,4 ,temp 
+3110 60488a0f storet 1 ,mem_mesh_upper_transport_layer_payload_len 
+3111 d8400a10 arg mem_mesh_access_layer_payload ,temp 
+3112 20202be8 branch ali_ccm_encrypt 
+
+ali_mesh_upper_transport_layer_send_access_message_calc_seq:
+3113 6fe1cb52 fetch 3 ,mem_mesh_send_message_seq 
+3114 1fe0fe01 pincrease 1 
+3115 67e1cb52 store 3 ,mem_mesh_send_message_seq 
+3116 6fe0c98f fetch 1 ,mem_mesh_gatt_package_send_msg_id 
+3117 1fe0fe01 pincrease 1 
+3118 67e0c98f store 1 ,mem_mesh_gatt_package_send_msg_id 
+3119 6fe14a0f fetch 2 ,mem_mesh_cb_seq_changed 
+311a 20207e7a branch callback_func 
+
+ali_mesh_upper_transport_layer_send_access_message_add_nid_src_ttl_seq_dst:
+311b 6fe0ca31 fetch 1 ,mem_mesh_iv_index + 3 
+311c 1ff27e00 lshift4 pdata ,pdata 
+311d 1fe9fe00 lshift3 pdata ,pdata 
+311e 6848c8d4 fetcht 1 ,mem_k2_nid 
+311f 9841fe00 ior temp ,pdata 
+3120 67e0cb58 store 1 ,mem_mesh_send_upper_layer_ivi_and_nid 
+3121 6fe0cb57 fetch 1 ,mem_mesh_send_message_ttl 
+3122 67e0cb59 store 1 ,mem_mesh_send_upper_layer_ctl_and_ttl 
+3123 6fe14b55 fetch 2 ,mem_mesh_send_message_src 
+3124 67e14b5d store 2 ,mem_mesh_send_upper_layer_src 
+3125 6fe10c35 fetch 2 ,mem_mesh_send_message_dst 
+3126 67e14b5f store 2 ,mem_mesh_send_upper_layer_dst 
+
+ali_mesh_upper_transport_layer_send_access_message_add_seq:
+3127 6fe1cb52 fetch 3 ,mem_mesh_send_message_seq 
+3128 67e1cb5a store 3 ,mem_mesh_send_upper_layer_seq 
+3129 da204b5a arg mem_mesh_send_upper_layer_seq ,rega 
+312a df200003 arg 3 ,loopcnt 
+312b 20407dac call inverse_data 
+312c 6fe44b59 fetch 8 ,mem_mesh_send_upper_layer_ctl_and_ttl 
+312d 67e40c0c store 8 ,mem_mesh_message_ttl 
+312e 20600000 rtn 
+
+ali_mesh_upper_transport_layer_send_segmented_access_message_get_seqzero_segon:
+312f 6fe08a0f fetch 1 ,mem_mesh_upper_transport_layer_payload_len 
+3130 1fe6fc0c div pdata ,segmented_access_message_unint_pdu_len 
+3131 20407e64 call wait_div_end 
+3132 18078400 quotient temp 
+3133 18077e00 remainder pdata 
+3134 205a3149 call ali_mesh_upper_transport_layer_send_segmented_access_message_sub_segn_one ,blank 
+3135 60488c41 storet 1 ,mem_mesh_segmented_lower_transport_layer_segn 
+3136 700c4000 jam 0 ,mem_mesh_segmented_lower_transport_layer_sego 
+3137 6fe1cb52 fetch 3 ,mem_mesh_send_message_seq 
+3138 d8401fff arg 0x1fff ,temp 
+3139 98417e00 iand temp ,pdata 
+313a 67e10c3e store 2 ,mem_mesh_segmented_lower_transport_layer_segzero 
+313b 20600000 rtn 
+
+ali_mesh_upper_transport_layer_send_segmented_access_message_calc_header:
+313c 6fe10c3e fetch 2 ,mem_mesh_segmented_lower_transport_layer_segzero 
+313d 1ff27e00 lshift4 pdata ,pdata 
+313e 1fe3fe00 lshift pdata ,pdata 
+313f 68488c40 fetcht 1 ,mem_mesh_segmented_lower_transport_layer_sego 
+3140 9841fe00 ior temp ,pdata 
+3141 1ff27e00 lshift4 pdata ,pdata 
+3142 1fe3fe00 lshift pdata ,pdata 
+3143 68488c41 fetcht 1 ,mem_mesh_segmented_lower_transport_layer_segn 
+3144 9841fe00 ior temp ,pdata 
+3145 67e1cb62 store 3 ,mem_mesh_segmented_access_lower_transport_layer_szmic_seqzero_sego_segn 
+3146 df200003 arg 3 ,loopcnt 
+3147 da204b62 arg mem_mesh_segmented_access_lower_transport_layer_szmic_seqzero_sego_segn ,rega 
+3148 20207dac branch inverse_data 
+
+ali_mesh_upper_transport_layer_send_segmented_access_message_sub_segn_one:
+3149 184085ff increase -1 ,temp 
+314a 20600000 rtn 
+
+ali_mesh_upper_transport_layer_clear_tx_buffer:
+314b 20600000 rtn 
+
+ali_mesh_loggint_tx_info_upper_send_packet:
+314c da200a10 arg mem_mesh_access_layer_payload ,rega 
+314d 6f208a0f fetchr loopcnt ,1 ,mem_mesh_access_layer_payload_len 
+314e da400041 arg mesh_upper_send_packet ,regb 
+314f 202029e6 branch logging_tx_info 
+
+app_init:
+3150 44d6c015 bpatch patch15_5 ,mem_patch15 
+3151 6fe0c09a fetch 1 ,mem_device_option 
+3152 203a3150 branch app_init ,blank 
+3153 c002369a beq dvc_op_dongle ,dongle_init 
+3154 c007b2b9 beq dvc_op_antilost ,antilost_init 
+3155 c004cb23 beq dvc_op_shutter ,shutter_init 
+3156 c0053814 beq dvc_op_module ,module_init 
+3157 c007345e beq dvc_op_car ,car_init 
+3158 c006ca0d beq dvc_op_remote_car ,remote_car_init 
+3159 c0064d18 beq dvc_op_hci_boot ,hci_init 
+315a c005ade8 beq dvc_op_ali_mesh ,ali_mesh_init 
+315b c0043c75 beq dvc_op_mouse ,mouse_init 
+315c 20600000 rtn 
+
+app_lpm_init:
+315d 700a5100 jam 0 ,mem_tester_emulate 
+315e 7000e300 jam 0 ,mem_debug_config 
+315f 7000e400 jam 0 ,mem_lch_code 
+3160 58000000 setarg 0 
+3161 67e28870 store 5 ,mem_sp_state_start 
+3162 6fe0c09a fetch 1 ,mem_device_option 
+3163 203a315d branch app_lpm_init ,blank 
+3164 c005383d beq dvc_op_module ,module_lpm_init 
+
+app_lpm_init0:
+3165 20600000 rtn 
+
+app_param_init:
+3166 20758000 rtn wake 
+3167 20405cb7 call app_read_efuse_sys_config 
+3168 20405cc0 call app_read_efuse_dig_aon_vsel 
+3169 20405cc6 call app_read_efuse_syn_afc_cfg1 
+316a 20405ccb call app_read_efuse_rf_ldo_cfg1 
+316b 20405cd1 call app_read_efuse_rc_cal 
+316c 20405cd5 call app_read_efuse_agc 
+316d 20406150 call adc_init_data 
+316e 6fe0c09a fetch 1 ,mem_device_option 
+316f c004cc62 beq dvc_op_shutter ,shutter_default_init 
+3170 c00236a5 beq dvc_op_dongle ,dongle_default_init 
+3171 c0043cb8 beq dvc_op_mouse ,mouse_default_init 
+3172 c006cadd beq dvc_op_remote_car ,remote_car_default_init 
+3173 20600000 rtn 
+
+app_sys_param_init:
+3174 7041efff jam 0xff ,mem_rf_init_data 
+3175 580041ef setarg mem_rf_init_data 
+3176 67e140ca store 2 ,mem_rf_init_ptr 
+3177 704793ff jam 0xff ,mem_ui_button_gpio 
+3178 70417a88 jam 0x88 ,mem_lpm_xtal_ib 
+3179 70417cce jam 0xce ,mem_lpm_padding 
+317a 20600000 rtn 
+
+app_process_idle:
+317b 20407824 call ui_dispatch 
+317c 204078f2 call check_51cmd 
+317d 20403184 call app_process_bb_event 
+317e 6fe14465 fetch 2 ,mem_cb_idle_process 
+317f 20207e7a branch callback_func 
+
+app_process_bt:
+3180 6fe14463 fetch 2 ,mem_cb_bt_process 
+3181 20207e7a branch callback_func 
+
+app_process_ble:
+3182 6fe14461 fetch 2 ,mem_cb_le_process 
+3183 20207e7a branch callback_func 
+
+app_process_bb_event:
+3184 44d74015 bpatch patch15_6 ,mem_patch15 
+3185 da204775 arg mem_ipc_fifo_bt2c51 ,rega 
+3186 20407ea2 call fifo_out 
+3187 207a0000 rtn blank 
+3188 1fe22600 copy pdata ,regc 
+3189 2040318d call app_event_normal_process 
+318a 202031b2 branch app_process_bb_event_priority 
+
+app_discard_event:
+318b da600000 arg 0 ,regc 
+318c 20600000 rtn 
+
+app_event_normal_process:
+318d c000b19f beq bt_evt_bb_connected ,app_evt_bt_conn 
+318e c00831e6 beq bt_evt_button_long_pressed ,app_evt_button_long_pressed 
+318f c002b1c3 beq bt_evt_setup_complete ,app_evt_setup_complete 
+3190 c00931ca beq bt_evt_hid_handshake ,app_evt_hid_handshake 
+3191 c00331e2 beq bt_evt_hid_connected ,app_bb_event_hid_connected 
+3192 c0023223 beq bt_evt_reconn_failed ,app_bb_event_reconn_failed 
+3193 c0013228 beq bt_evt_bb_disconnected ,app_bb_event_bb_disconn 
+3194 c009b223 beq bt_evt_reconn_page_timeout ,app_bb_event_reconn_failed 
+3195 c00a31d9 beq bt_evt_le_connected ,app_le_event_bb_connected 
+3196 c00ab1dd beq bt_evt_le_disconnected ,app_le_event_bb_disconn 
+3197 c001b1bc beq bt_evt_reconn_started ,app_event_reconn_start 
+3198 c005b1ce beq bt_evt_enter_sniff ,app_event_enter_sniff 
+3199 c00631d5 beq bt_evt_exit_sniff ,app_event_exit_sniff 
+319a c00b31ea beq bt_evt_ml2cap_conn_refused ,app_event_ml2cap_conn_refused 
+319b c00c31b8 beq bt_evt_linkkey_generate ,app_event_linkkey_generate 
+319c c01531a8 beq bt_evt_switch_fail_master ,app_event_switch_fail_master 
+319d c015b1a6 beq bt_evt_switch_success_master ,app_event_switch_success 
+319e 20600000 rtn 
+
+app_evt_bt_conn:
+319f 6fe1478f fetch 2 ,mem_ui_state_map 
+31a0 79207e00 set1 ui_state_bt_connected ,pdata 
+31a1 67e1478f store 2 ,mem_ui_state_map 
+31a2 6fe14482 fetch app_disc_rsn_size ,mem_app_disconn_reason_flag 
+31a3 793ffe00 set0 app_disc_by_button ,pdata 
+31a4 67e14482 store app_disc_rsn_size ,mem_app_disconn_reason_flag 
+31a5 20207934 branch check_51cmd_stop_discovery 
+
+app_event_switch_success:
+31a6 70030c00 jam 0 ,mem_switch_fail_master_count 
+31a7 20600000 rtn 
+
+app_event_switch_fail_master:
+31a8 6fe0830c fetch 1 ,mem_switch_fail_master_count 
+31a9 1fe0fe01 increase 1 ,pdata 
+31aa 67e0830c store 1 ,mem_switch_fail_master_count 
+31ab 1fe67c01 sub pdata ,1 ,null 
+31ac 2021325e branch app_bt_role_switch ,positive 
+31ad 70030c00 jam 0 ,mem_switch_fail_master_count 
+31ae 6fe14482 fetch app_disc_rsn_size ,mem_app_disconn_reason_flag 
+31af 79207e09 set1 app_disc_switch_fail ,pdata 
+31b0 67e14482 store app_disc_rsn_size ,mem_app_disconn_reason_flag 
+31b1 20203268 branch app_bt_disconnect 
+
+app_process_bb_event_priority:
+31b2 6fe14467 fetch 2 ,mem_cb_bb_event_process 
+31b3 20207e7a branch callback_func 
+
+app_check_wake_lock:
+31b4 6fe1445b fetch 2 ,mem_cb_check_wakelock 
+31b5 20207e7a branch callback_func 
+
+app_will_enter_lpm:
+31b6 6fe1445f fetch 2 ,mem_cb_before_lpm 
+31b7 20207e7a branch callback_func 
+
+app_event_linkkey_generate:
+31b8 6fe14482 fetch app_disc_rsn_size ,mem_app_disconn_reason_flag 
+31b9 79207e01 set1 app_disc_after_pairing ,pdata 
+31ba 67e14482 store app_disc_rsn_size ,mem_app_disconn_reason_flag 
+31bb 20203291 branch app_bt_store_reconn_info 
+
+app_event_reconn_start:
+31bc 6fe1478f fetch 2 ,mem_ui_state_map 
+31bd 79207e07 set1 ui_state_bt_reconnect ,pdata 
+31be 67e1478f store 2 ,mem_ui_state_map 
+31bf 6fe14482 fetch app_disc_rsn_size ,mem_app_disconn_reason_flag 
+31c0 79207e02 set1 app_disc_after_reconn ,pdata 
+31c1 67e14482 store app_disc_rsn_size ,mem_app_disconn_reason_flag 
+31c2 20600000 rtn 
+
+app_evt_setup_complete:
+31c3 6fe1478f fetch 2 ,mem_ui_state_map 
+31c4 79207e01 set1 ui_state_bt_setup_complete ,pdata 
+31c5 67e1478f store 2 ,mem_ui_state_map 
+31c6 6fe14482 fetch app_disc_rsn_size ,mem_app_disconn_reason_flag 
+31c7 79207e04 set1 app_disc_after_setup_done ,pdata 
+31c8 67e14482 store app_disc_rsn_size ,mem_app_disconn_reason_flag 
+31c9 20600000 rtn 
+
+app_evt_hid_handshake:
+31ca 6fe1478f fetch 2 ,mem_ui_state_map 
+31cb 79207e03 set1 ui_state_bt_hid_handshake ,pdata 
+31cc 67e1478f store 2 ,mem_ui_state_map 
+31cd 20600000 rtn 
+
+app_event_enter_sniff:
+31ce 6fe1478f fetch 2 ,mem_ui_state_map 
+31cf 79207e05 set1 ui_state_bt_sniff ,pdata 
+31d0 67e1478f store 2 ,mem_ui_state_map 
+31d1 6fe14482 fetch app_disc_rsn_size ,mem_app_disconn_reason_flag 
+31d2 79207e03 set1 app_disc_after_sniff ,pdata 
+31d3 67e14482 store app_disc_rsn_size ,mem_app_disconn_reason_flag 
+31d4 20600000 rtn 
+
+app_event_exit_sniff:
+31d5 6fe1478f fetch 2 ,mem_ui_state_map 
+31d6 793ffe05 set0 ui_state_bt_sniff ,pdata 
+31d7 67e1478f store 2 ,mem_ui_state_map 
+31d8 20600000 rtn 
+
+app_le_event_bb_connected:
+31d9 6fe1478f fetch 2 ,mem_ui_state_map 
+31da 79207e09 set1 ui_state_ble_connected ,pdata 
+31db 67e1478f store 2 ,mem_ui_state_map 
+31dc 20600000 rtn 
+
+app_le_event_bb_disconn:
+31dd 70443500 jam 0 ,mem_le_l2cap_att_states 
+31de 6fe1478f fetch 2 ,mem_ui_state_map 
+31df 793ffe09 set0 ui_state_ble_connected ,pdata 
+31e0 67e1478f store 2 ,mem_ui_state_map 
+31e1 20203297 branch app_lpm_mult_disable 
+
+app_bb_event_hid_connected:
+31e2 6fe1478f fetch 2 ,mem_ui_state_map 
+31e3 79207e02 set1 ui_state_bt_hid_conn ,pdata 
+31e4 67e1478f store 2 ,mem_ui_state_map 
+31e5 20600000 rtn 
+
+app_evt_button_long_pressed:
+31e6 6fe14482 fetch app_disc_rsn_size ,mem_app_disconn_reason_flag 
+31e7 79207e00 set1 app_disc_by_button ,pdata 
+31e8 67e14482 store app_disc_rsn_size ,mem_app_disconn_reason_flag 
+31e9 20600000 rtn 
+
+app_event_ml2cap_conn_refused:
+31ea 6fe14482 fetch app_disc_rsn_size ,mem_app_disconn_reason_flag 
+31eb 79207e08 set1 app_disc_l2cap_refused ,pdata 
+31ec 67e14482 store app_disc_rsn_size ,mem_app_disconn_reason_flag 
+31ed 20203268 branch app_bt_disconnect 
+
+app_evt_timer:
+31ee 67e0830d store 1 ,mem_app_evt_timer_count 
+
+app_evt_100ms_loop:
+31ef 44d7c015 bpatch patch15_7 ,mem_patch15 
+31f0 6fe0830d fetch 1 ,mem_app_evt_timer_count 
+31f1 207a0000 rtn blank 
+31f2 1fe0ffff increase -1 ,pdata 
+31f3 67e0830d store 1 ,mem_app_evt_timer_count 
+31f4 20407830 call ui_button_polling 
+31f5 20403255 call app_lpm_wake_auto_lock_timer 
+31f6 20403216 call app_unsniff_delay_timer 
+31f7 2040321c call app_discovery_timer 
+31f8 20405d7b call flash_write_spi_sm_timer 
+31f9 6fe1446f fetch 2 ,mem_cb_event_timer 
+31fa 20407e7a call callback_func 
+31fb 202031ef branch app_evt_100ms_loop 
+
+timer_single_step:
+31fc efe08013 ifetch 1 ,regc 
+31fd 207a0000 rtn blank 
+31fe 1fe0ffff pincrease -1 
+31ff e7e08013 istore 1 ,regc 
+3200 247a0000 nrtn blank 
+3201 1a427e00 copy regb ,pdata 
+3202 20207e7a branch callback_func 
+
+timer_single_step_2b:
+3203 efe10013 ifetch 2 ,regc 
+3204 207a0000 rtn blank 
+3205 1fe0ffff pincrease -1 
+3206 e7e10013 istore 2 ,regc 
+3207 247a0000 nrtn blank 
+3208 1a427e00 copy regb ,pdata 
+3209 20207e7a branch callback_func 
+
+app_power_timer:
+320a 684944cc fetcht 2 ,mem_power_param_ptr 
+320b 1840a601 add temp ,power_timer_offset ,regc 
+320c da40320e arg app_power_timer_timeout ,regb 
+320d 202031fc branch timer_single_step 
+
+app_power_timer_timeout:
+320e 204032ad call app_got_power_state_common 
+320f c000b211 beq power_starting ,app_enter_power_stanby_state 
+
+app_enter_power_off_state:
+3210 20203289 branch app_enter_hibernate 
+
+app_enter_power_stanby_state:
+3211 58000002 setarg power_standby 
+3212 e7e08013 istore 1 ,regc 
+3213 1840a408 add temp ,power_standby_cb_offset ,regb 
+
+app_power_cb_common:
+3214 efe10012 ifetch 2 ,regb 
+3215 20207e7a branch callback_func 
+
+app_unsniff_delay_timer:
+3216 da60447d arg mem_unsniff2sniff_timer_count ,regc 
+3217 da403219 arg app_unsniff_delay_timeout ,regb 
+3218 202031fc branch timer_single_step 
+
+app_unsniff_delay_timeout:
+3219 20400a5f call context_check_idle 
+321a 2022b28d branch app_bt_enter_sniff ,zero 
+321b 20600000 rtn 
+
+app_discovery_timer:
+321c da60478b arg mem_discovery_timeout_timer_count ,regc 
+321d da40321f arg app_discovery_timeout ,regb 
+321e 20203203 branch timer_single_step_2b 
+
+app_discovery_timeout:
+321f 2040326f call app_bt_stop_discovery 
+3220 20403287 call app_led_off 
+3221 6fe14469 fetch 2 ,mem_cb_discovry_timeout 
+3222 20207e7a branch callback_func 
+
+app_bb_event_reconn_failed:
+3223 2040323b call app_disconn_reason_flag_clear 
+
+app_clear_reconnect_flag:
+3224 6fe1478f fetch 2 ,mem_ui_state_map 
+3225 793ffe07 set0 ui_state_bt_reconnect ,pdata 
+3226 67e1478f store 2 ,mem_ui_state_map 
+3227 20600000 rtn 
+
+app_bb_event_bb_disconn:
+3228 70447d00 jam 0 ,mem_unsniff2sniff_timer_count 
+3229 6fe1478f fetch 2 ,mem_ui_state_map 
+322a c283b22d bbit1 ui_state_bt_reconnect ,app_bb_event_bb_reconn_disconn 
+322b 2fec0001 isolate0 ui_state_bt_setup_complete ,pdata 
+322c 2040b18b call app_discard_event ,true 
+
+app_bb_event_bb_reconn_disconn:
+322d 44d84016 bpatch patch16_0 ,mem_patch16 
+322e 6fe1478f fetch 2 ,mem_ui_state_map 
+322f 793ffe00 set0 ui_state_bt_connected ,pdata 
+3230 793ffe01 set0 ui_state_bt_setup_complete ,pdata 
+3231 793ffe02 set0 ui_state_bt_hid_conn ,pdata 
+3232 793ffe03 set0 ui_state_bt_hid_handshake ,pdata 
+3233 793ffe07 set0 ui_state_bt_reconnect ,pdata 
+3234 67e1478f store 2 ,mem_ui_state_map 
+3235 20203297 branch app_lpm_mult_disable 
+
+app_bb_hibernate:
+3236 20403238 call app_disconn_reason_clear 
+3237 20203289 branch app_enter_hibernate 
+
+app_disconn_reason_clear:
+3238 58000000 setarg 0 
+3239 67e14480 store app_disc_rsn_size ,mem_app_disconn_reason 
+323a 20600000 rtn 
+
+app_disconn_reason_flag_clear:
+323b 58000000 setarg 0 
+323c 67e14482 store app_disc_rsn_size ,mem_app_disconn_reason_flag 
+323d 20600000 rtn 
+
+app_disconn_reason_collect_bt:
+323e 6fe14482 fetch app_disc_rsn_size ,mem_app_disconn_reason_flag 
+323f 67e14480 store app_disc_rsn_size ,mem_app_disconn_reason 
+3240 58000000 setarg 0 
+3241 67e14482 store app_disc_rsn_size ,mem_app_disconn_reason_flag 
+3242 20600000 rtn 
+
+app_disconn_reason_collect_ble:
+3243 6fe14482 fetch app_disc_rsn_size ,mem_app_disconn_reason_flag 
+3244 79207e07 set1 app_disc_ble ,pdata 
+3245 67e14480 store app_disc_rsn_size ,mem_app_disconn_reason 
+3246 58000000 setarg 0 
+3247 67e14482 store app_disc_rsn_size ,mem_app_disconn_reason_flag 
+3248 20600000 rtn 
+
+app_check_sniff:
+3249 6fe0c78f fetch 1 ,mem_ui_state_map 
+324a 2feffe05 isolate1 ui_state_bt_sniff ,pdata 
+324b 20600000 rtn 
+
+app_start_auto_sniff:
+324c 6fe0c644 fetch 1 ,mem_unsniff2sniff_timer 
+324d 67e0c47d store 1 ,mem_unsniff2sniff_timer_count 
+324e 20600000 rtn 
+
+app_get_lpm_wake_lock:
+324f d8e00009 arg wake_lock_app ,queue 
+3250 20201566 branch lpm_get_wake_lock 
+
+app_put_lpm_wake_lock:
+3251 d8e00009 arg wake_lock_app ,queue 
+3252 2020156a branch lpm_put_wake_lock 
+
+app_lpm_wake_auto_lock:
+3253 70447e05 jam lpm_wake_up_delay_timer ,mem_wake_up_delay_timer 
+3254 2020324f branch app_get_lpm_wake_lock 
+
+app_lpm_wake_auto_lock_timer:
+3255 da60447e arg mem_wake_up_delay_timer ,regc 
+3256 da403251 arg app_put_lpm_wake_lock ,regb 
+3257 202031fc branch timer_single_step 
+
+app_l2cap_flow_control_enable:
+3258 7045f601 jam l2cap_flow_ctrl_enable ,mem_l2cap_flow_ctrl_flag 
+3259 20600000 rtn 
+
+app_l2cap_flow_control_disable:
+325a 7045f600 jam l2cap_flow_ctrl_disable ,mem_l2cap_flow_ctrl_flag 
+325b 20600000 rtn 
+
+app_bt_set_pincode:
+325c 70095b0a jam bt_cmd_set_pin_code ,mem_fifo_temp 
+325d 202078e5 branch ui_ipc_send_cmd 
+
+app_bt_role_switch:
+325e 70095b1d jam bt_cmd_role_switch ,mem_fifo_temp 
+325f 202078e5 branch ui_ipc_send_cmd 
+
+app_bt_start_reconnect:
+3260 44d8c016 bpatch patch16_1 ,mem_patch16 
+3261 6fe0c47f fetch 1 ,mem_app_connection_options 
+3262 67e080bc store 1 ,mem_connection_options 
+3263 70030b01 jam app_flag_reconnect ,mem_reconnect_flag 
+3264 70095b03 jam bt_cmd_reconnect ,mem_fifo_temp 
+3265 202078e5 branch ui_ipc_send_cmd 
+
+app_bt_reconnect_cancel:
+3266 70095b1e jam bt_cmd_bb_reconn_cancel ,mem_fifo_temp 
+3267 202078e5 branch ui_ipc_send_cmd 
+
+app_bt_disconnect:
+3268 70095b04 jam bt_cmd_disconnect ,mem_fifo_temp 
+3269 202078e5 branch ui_ipc_send_cmd 
+
+app_bt_start_discovery_short:
+326a 6fe14794 fetch 2 ,mem_discovery_timeout 
+326b 67e1478b store 2 ,mem_discovery_timeout_timer_count 
+
+app_bt_start_discovery_led_blink:
+326c 20403283 call app_led_start_blink 
+
+app_bt_start_discovery:
+326d 70095b01 jam bt_cmd_start_discovery ,mem_fifo_temp 
+326e 202078e5 branch ui_ipc_send_cmd 
+
+app_bt_stop_discovery:
+326f 58000000 setarg 0 
+3270 67e1478b store 2 ,mem_discovery_timeout_timer_count 
+3271 70095b02 jam bt_cmd_stop_discovery ,mem_fifo_temp 
+3272 202078e5 branch ui_ipc_send_cmd 
+
+app_ble_start_direct_adv:
+3273 70095b0f jam bt_cmd_start_direct_adv ,mem_fifo_temp 
+3274 202078e5 branch ui_ipc_send_cmd 
+
+app_ble_stop_direct_adv:
+3275 70095b10 jam bt_cmd_stop_direct_adv ,mem_fifo_temp 
+3276 202078e5 branch ui_ipc_send_cmd 
+
+app_ble_stop_adv:
+3277 70095b0e jam bt_cmd_stop_adv ,mem_fifo_temp 
+3278 202078e5 branch ui_ipc_send_cmd 
+
+app_ble_start_adv:
+3279 70095b0d jam bt_cmd_start_adv ,mem_fifo_temp 
+327a 202078e5 branch ui_ipc_send_cmd 
+
+app_ble_start_scan:
+327b 70095b17 jam bt_cmd_le_start_scan ,mem_fifo_temp 
+327c 202078e5 branch ui_ipc_send_cmd 
+
+app_ble_stop_scan:
+327d 70095b18 jam bt_cmd_le_stop_scan ,mem_fifo_temp 
+327e 202078e5 branch ui_ipc_send_cmd 
+
+app_ble_start_conn:
+327f 70095b16 jam bt_cmd_le_start_conn ,mem_fifo_temp 
+3280 202078e5 branch ui_ipc_send_cmd 
+
+app_ble_disconnect:
+3281 70095b11 jam bt_cmd_le_disconnect ,mem_fifo_temp 
+3282 202078e5 branch ui_ipc_send_cmd 
+
+app_led_start_blink:
+3283 70095b15 jam bt_cmd_led_blink ,mem_fifo_temp 
+3284 202078e5 branch ui_ipc_send_cmd 
+
+app_led_on:
+3285 70095b14 jam bt_cmd_led_on ,mem_fifo_temp 
+3286 202078e5 branch ui_ipc_send_cmd 
+
+app_led_stop_blink:
+
+app_led_off:
+3287 70095b13 jam bt_cmd_led_off ,mem_fifo_temp 
+3288 202078e5 branch ui_ipc_send_cmd 
+
+app_enter_hibernate:
+3289 70095b19 jam bt_cmd_enter_hibernate ,mem_fifo_temp 
+328a 202078e5 branch ui_ipc_send_cmd 
+
+app_bt_sniff_exit:
+328b 70095b06 jam bt_cmd_exit_sniff ,mem_fifo_temp 
+328c 202078e5 branch ui_ipc_send_cmd 
+
+app_bt_enter_sniff:
+328d 70095b05 jam bt_cmd_enter_sniff ,mem_fifo_temp 
+328e 202078e5 branch ui_ipc_send_cmd 
+
+app_ble_store_reconn_info:
+328f 70095b1f jam bt_cmd_store_reconn_info_le ,mem_fifo_temp 
+3290 202078e5 branch ui_ipc_send_cmd 
+
+app_bt_store_reconn_info:
+3291 70095b20 jam bt_cmd_store_reconn_info_bt ,mem_fifo_temp 
+3292 202078e5 branch ui_ipc_send_cmd 
+
+app_store_reconn_info:
+3293 70095b25 jam bt_cmd_store_reconn_info ,mem_fifo_temp 
+3294 202078e5 branch ui_ipc_send_cmd 
+
+app_lpm_mult_enable:
+3295 7920000d set1 mark_lpm_mult_enable ,mark 
+3296 20600000 rtn 
+
+app_lpm_mult_disable:
+3297 793f800d set0 mark_lpm_mult_enable ,mark 
+3298 20600000 rtn 
+
+app_button_long_pressed:
+3299 204032ad call app_got_power_state_common 
+329a c00132a3 beq power_standby ,app_power_shutting_down 
+
+app_power_starting:
+329b 58000001 setarg power_starting 
+329c e7e08013 istore 1 ,regc 
+329d 1840a203 add temp ,power_starting_timeout_offset ,rega 
+329e 1840a406 add temp ,power_starting_cb_offset ,regb 
+
+app_power_common:
+329f e8408011 ifetcht 1 ,rega 
+32a0 1a60a601 increase 1 ,regc 
+32a1 e0408013 istoret 1 ,regc 
+32a2 20203214 branch app_power_cb_common 
+
+app_power_shutting_down:
+32a3 58000000 setarg power_off 
+32a4 e7e08013 istore 1 ,regc 
+32a5 6fe1478f fetch 2 ,mem_ui_state_map 
+32a6 c304b2a9 bbit0 ui_state_ble_connected ,app_power_off_end 
+32a7 20402134 call le_send_terminate_ind_user_terminated 
+32a8 20403281 call app_ble_disconnect 
+
+app_power_off_end:
+32a9 684944cc fetcht 2 ,mem_power_param_ptr 
+32aa 1840a202 add temp ,power_off_timeout_offset ,rega 
+32ab 1840a404 add temp ,power_off_cb_offset ,regb 
+32ac 2020329f branch app_power_common 
+
+app_got_power_state_common:
+32ad 684944cc fetcht 2 ,mem_power_param_ptr 
+32ae 1840a600 add temp ,power_state_offset ,regc 
+32af efe08013 ifetch 1 ,regc 
+32b0 20600000 rtn 
+
+app_event_button_up:
+32b1 204032ad call app_got_power_state_common 
+32b2 c08032b4 bne power_off ,app_power_release 
+32b3 20203289 branch app_enter_hibernate 
+
+app_power_release:
+32b4 1840a40a add temp ,ui_butten_up_cb_offset ,regb 
+32b5 20203214 branch app_power_cb_common 
+
+app_hid_connected:
+32b6 58000002 setarg hid_handshake_timeout 
+32b7 67e0c78d store 1 ,mem_hid_handshake_timer_count 
+32b8 20600000 rtn 
+
+antilost_init:
+32b9 20758000 rtn wake 
+32ba 580032e8 setarg antilost_le_before_hibernate 
+32bb 67e1445d store 2 ,mem_cb_before_hibernate 
+32bc 580061ff setarg keyscan_process_lpm_before 
+32bd 67e1445f store 2 ,mem_cb_before_lpm 
+32be 58003395 setarg antilost_idle_process 
+32bf 67e14465 store 2 ,mem_cb_idle_process 
+32c0 58003394 setarg antilost_le_conn_process 
+32c1 67e14461 store 2 ,mem_cb_le_process 
+32c2 58003303 setarg antilost_bb_event_process 
+32c3 67e14467 store 2 ,mem_cb_bb_event_process 
+32c4 58003340 setarg antilost_le_bb_event_timer 
+32c5 67e1446f store 2 ,mem_cb_event_timer 
+32c6 580032ea setarg antilost_le_notification 
+32c7 67e1446d store 2 ,mem_cb_ble_transmit 
+32c8 580032f5 setarg antilost_lpm_lock_process 
+32c9 67e1445b store 2 ,mem_cb_check_wakelock 
+32ca 580033a1 setarg antilost_le_receive_data_process 
+32cb 67e1446b store 2 ,mem_cb_att_write 
+32cc 44d94016 bpatch patch16_2 ,mem_patch16 
+32cd 2040343a call antilost_buzzer_pwm_init 
+32ce 204032e6 call antilost_set_ble_version 
+32cf 204061da call keyscan_key_init 
+32d0 2040344c call antilost_adc_init 
+32d1 2040785b call ui_led_init_global 
+32d2 20407826 call ui_button_init 
+32d3 580033ab setarg antilost_key_up_down 
+32d4 67e14873 store 2 ,mem_cb_antl_key 
+32d5 5800339c setarg antilost_power_off_cb 
+32d6 67e1486a store 2 ,mem_antl_power_off_cb 
+32d7 58003398 setarg antilost_power_starting_cb 
+32d8 67e1486c store 2 ,mem_antl_power_starting_cb 
+32d9 580032f1 setarg antilost_power_standby_cb 
+32da 67e1486e store 2 ,mem_antl_power_standby_cb 
+32db 58003441 setarg antilost_led_on_cb 
+32dc 67e147b6 store 2 ,mem_antl_led_cb_on 
+32dd 58003443 setarg antilost_led_off_cb 
+32de 67e147b8 store 2 ,mem_antl_led_cb_off 
+32df 58003448 setarg antilost_buzzer_on 
+32e0 67e147c1 store 2 ,mem_antl_buzzer_cb_on 
+32e1 58003445 setarg antilost_buzzer_off 
+32e2 67e147c3 store 2 ,mem_antl_buzzer_cb_off 
+32e3 6fe1478f fetch 2 ,mem_ui_state_map 
+32e4 c3860000 rtnbit1 ui_state_btn_down 
+32e5 20203289 branch app_enter_hibernate 
+
+antilost_set_ble_version:
+32e6 7045fa07 jam 7 ,mem_lmp_version 
+32e7 20600000 rtn 
+
+antilost_le_before_hibernate:
+32e8 20403425 call antilost_led_buzzer_stop_blink 
+32e9 20203289 branch app_enter_hibernate 
+
+antilost_le_notification:
+32ea 20401b24 call le_fifo_check_nearly_full 
+32eb 247a0000 nrtn blank 
+32ec da2009d2 arg mem_temp_block5 ,rega 
+32ed 204079c1 call queue_pop 
+32ee 24740000 nrtn user 
+32ef d8c009d2 arg mem_temp_block5 ,contr 
+32f0 20204c5a branch le_send_notify_from_list 
+
+antilost_power_standby_cb:
+32f1 6fe148a4 fetch 2 ,mem_antl_le_sleep_timeout 
+32f2 67e1489e store 2 ,mem_antl_le_sleep_timer 
+32f3 70486001 jam 1 ,mem_antl_key_scan_enable 
+32f4 2020342e branch antilost_fast_adv_start 
+
+antilost_lpm_lock_process:
+32f5 6fe0c8aa fetch 1 ,mem_antl_key_state 
+32f6 c000b2fe beq 1 ,antilost_lpm_ctrl_for_led_buzzer 
+32f7 6fe1478f fetch 2 ,mem_ui_state_map 
+32f8 c304b2fe bbit0 ui_state_ble_connected ,antilost_lpm_ctrl_for_led_buzzer 
+32f9 6fe0c8ab fetch 1 ,mem_antl_lost_mode 
+32fa c000b24f beq 1 ,app_get_lpm_wake_lock 
+32fb 6fe0c80d fetch 1 ,mem_antl_queue_curr_num 
+32fc 243a324f nbranch app_get_lpm_wake_lock ,blank 
+32fd 20203251 branch app_put_lpm_wake_lock 
+
+antilost_lpm_ctrl_for_led_buzzer:
+32fe 6fe0c8a8 fetch 1 ,mem_antl_led_state 
+32ff 6848c8a9 fetcht 1 ,mem_antl_buzzer_state 
+3300 9841fe00 ior temp ,pdata 
+3301 c000b24f beq 1 ,app_get_lpm_wake_lock 
+3302 20203251 branch app_put_lpm_wake_lock 
+
+antilost_bb_event_process:
+3303 1a627e00 copy regc ,pdata 
+3304 c016b2b1 beq bt_evt_button_up ,app_event_button_up 
+3305 c0083299 beq bt_evt_button_long_pressed ,app_button_long_pressed 
+3306 c00a337d beq bt_evt_le_connected ,antilost_le_process_conn 
+3307 c00ab386 beq bt_evt_le_disconnected ,antilost_le_process_discon 
+3308 c020330b beq bt_evt_le_parse_conn_papa_update_rsp ,antilost_le_conn_param_update_rsp_recieved 
+3309 c0223315 beq bt_evt_le_parse_conn_param_accepted ,antilost_le_conn_param_accepted 
+330a 20600000 rtn 
+
+antilost_le_conn_param_update_rsp_recieved:
+330b 20403311 call antilost_le_conn_param_updata_judge 
+330c 6fe143db fetch 2 ,mem_le_l2cap_signaling_conn_param_update_rsp_result 
+330d c000b31b beq ble_signaling_connect_parameter_update_rejected ,antilost_le_conn_param_rejected 
+
+antilost_le_conn_param_updata_procedure_sucsess:
+330e 70489702 jam conn_param_updata_procedure_complete ,mem_antl_conn_updata_procedure_state 
+330f 70489c3c jam 60 ,mem_antl_conn_update_timer 
+3310 20600000 rtn 
+
+antilost_le_conn_param_updata_judge:
+3311 6fe08287 fetch 1 ,mem_le_state 
+3312 c3828000 rtnbit1 lestate_update_param 
+3313 704a6301 jam 1 ,mem_lestate_update_param_flag 
+3314 20600000 rtn 
+
+antilost_le_conn_param_accepted:
+3315 6fe0ca63 fetch 1 ,mem_lestate_update_param_flag 
+3316 207a0000 rtn blank 
+3317 704a6300 jam 0 ,mem_lestate_update_param_flag 
+3318 6fe102c3 fetch 2 ,mem_le_new_connslavelatency 
+3319 203a3330 branch antilost_master_nonsupport_latency ,blank 
+331a 20600000 rtn 
+
+antilost_le_conn_param_rejected:
+331b 6fe14376 fetch 2 ,mem_le_latency 
+331c 203a332e branch antilost_conn_param_updata_procedure_faild ,blank 
+
+antilost_conn_param_retransimiting:
+331d 70489701 jam conn_param_updata_procedure_starting ,mem_antl_conn_updata_procedure_state 
+331e 684948c1 fetcht 2 ,mem_interval_increment 
+331f 6fe14372 fetch 2 ,mem_le_interval_min 
+3320 9840fe00 iadd temp ,pdata 
+3321 67e14372 store 2 ,mem_le_interval_min 
+3322 1fe22200 copy pdata ,rega 
+3323 6fe14374 fetch 2 ,mem_le_interval_max 
+3324 9840fe00 iadd temp ,pdata 
+3325 67e14374 store 2 ,mem_le_interval_max 
+3326 9a20fe00 iadd rega ,pdata 
+3327 1fe30400 rshift pdata ,temp 
+3328 6fe148cd fetch 2 ,mem_antl_le_unnormal_interval_max 
+3329 9846fc00 idiv temp 
+332a 20407e61 call get_div_result 
+332b 67e14376 store 2 ,mem_le_latency 
+332c 70489d01 jam 1 ,mem_antl_send_updata_le_param_timer 
+332d 20600000 rtn 
+
+antilost_conn_param_updata_procedure_faild:
+332e 70489703 jam conn_param_updata_procedure_faild ,mem_antl_conn_updata_procedure_state 
+332f 20600000 rtn 
+
+antilost_master_nonsupport_latency:
+3330 70417700 jam 0 ,mem_lpm_mult 
+3331 70489d00 jam 0 ,mem_antl_send_updata_le_param_timer 
+3332 6fe102c1 fetch 2 ,mem_le_new_conninterval 
+3333 684948cb fetcht 2 ,mem_antl_le_unnormal_interval_min 
+3334 98467c00 isub temp ,null 
+3335 79212200 setflag positive ,0 ,rega 
+3336 6fe148cd fetch 2 ,mem_antl_le_unnormal_interval_max 
+3337 684902c1 fetcht 2 ,mem_le_new_conninterval 
+3338 98467e00 isub temp ,pdata 
+3339 79212201 setflag positive ,1 ,rega 
+333a 2a200603 compare 0x03 ,rega ,0x03 
+333b 20608000 rtn true 
+333c 6fe448cb fetch 8 ,mem_antl_le_unnormal_interval_min 
+333d 67e44372 store 8 ,mem_le_interval_min 
+333e 70489d01 jam 1 ,mem_antl_send_updata_le_param_timer 
+333f 20600000 rtn 
+
+antilost_le_bb_event_timer:
+3340 2040320a call app_power_timer 
+3341 20403357 call antilost_double_click_timer 
+3342 2040335c call antilost_le_fast_adv_timer 
+3343 20403373 call antilost_le_sleep_timer 
+3344 20403368 call antilost_app_updata_le_param_timer 
+3345 20403362 call antilost_conn_update_timer 
+3346 20403350 call antilost_conn_battery_send_timer 
+3347 20403349 call antilost_disconn_buzzer_on_timer 
+3348 20203377 branch antilost_adc_check_timer 
+
+antilost_disconn_buzzer_on_timer:
+3349 da604a65 arg mem_antl_disconn_buzzer_on_timer ,regc 
+334a da40334c arg antilost_disconn_buzzer_off ,regb 
+334b 20203203 branch timer_single_step_2b 
+
+antilost_disconn_buzzer_off:
+334c da200001 arg 1 ,rega 
+334d 2040786c call ui_led_blink_stop_global 
+334e 6fe148ae fetch 2 ,mem_buzzer_pwm_conf 
+334f 2020627e branch pwm_disable 
+
+antilost_conn_battery_send_timer:
+3350 da604a64 arg mem_antilost_conn_battery_send_timer ,regc 
+3351 da403353 arg antilost_conn_battery_send ,regb 
+3352 202031fc branch timer_single_step 
+
+antilost_conn_battery_send:
+3353 2040344e call antilost_battery_process 
+3354 2040344e call antilost_battery_process 
+3355 2040344e call antilost_battery_process 
+3356 20203458 branch antilost_battery_calculate_end 
+
+antilost_double_click_timer:
+3357 da6048a6 arg mem_double_click_timer ,regc 
+3358 da40335a arg antilost_double_click_timeout ,regb 
+3359 202031fc branch timer_single_step 
+
+antilost_double_click_timeout:
+335a 7048a700 jam 0 ,mem_butten_click_cnt 
+335b 20600000 rtn 
+
+antilost_le_fast_adv_timer:
+335c da6048a0 arg mem_antl_fast_adv_timer ,regc 
+335d da40335f arg antilost_le_fast_adv_timeout ,regb 
+335e 20203203 branch timer_single_step_2b 
+
+antilost_le_fast_adv_timeout:
+335f da6047cc arg mem_antl_slow_adv_led_style ,regc 
+3360 da4047ab arg mem_antl_slow_adv_lpm_interval ,regb 
+3361 20203430 branch antilost_adv_start_common 
+
+antilost_conn_update_timer:
+3362 da60489c arg mem_antl_conn_update_timer ,regc 
+3363 da403365 arg antilost_conn_update_timer_time_out ,regb 
+3364 202031fc branch timer_single_step 
+
+antilost_conn_update_timer_time_out:
+3365 6fe14376 fetch 2 ,mem_le_latency 
+3366 67e0c177 store 1 ,mem_lpm_mult 
+3367 20600000 rtn 
+
+antilost_app_updata_le_param_timer:
+3368 da60489d arg mem_antl_send_updata_le_param_timer ,regc 
+3369 da40336b arg antilost_app_updata_le_param_timeout ,regb 
+336a 202031fc branch timer_single_step 
+
+antilost_app_updata_le_param_timeout:
+336b 6fe08287 fetch 1 ,mem_le_state 
+336c 2fe0c000 compare 0 ,pdata ,0x60 
+336d 2420b371 nbranch antilost_wait_for_updata_param_instant_expire ,true 
+336e 70489701 jam conn_param_updata_procedure_starting ,mem_antl_conn_updata_procedure_state 
+336f 20403295 call app_lpm_mult_enable 
+3370 20201f04 branch le_l2cap_tx_update_req 
+
+antilost_wait_for_updata_param_instant_expire:
+3371 70489d01 jam 1 ,mem_antl_send_updata_le_param_timer 
+3372 20600000 rtn 
+
+antilost_le_sleep_timer:
+3373 da60489e arg mem_antl_le_sleep_timer ,regc 
+3374 da403376 arg antilost_le_sleep_timer_timeout ,regb 
+3375 20203203 branch timer_single_step_2b 
+
+antilost_le_sleep_timer_timeout:
+3376 20203299 branch app_button_long_pressed 
+
+antilost_adc_check_timer:
+3377 da60489a arg mem_adc_timer ,regc 
+3378 da40337a arg antilost_adc_check_timer_timeout ,regb 
+3379 20203203 branch timer_single_step_2b 
+
+antilost_adc_check_timer_timeout:
+337a 6fe148b4 fetch 2 ,mem_adc_timeout 
+337b 67e1489a store 2 ,mem_adc_timer 
+337c 2020344e branch antilost_battery_process 
+
+antilost_le_process_conn:
+337d 6fe148b4 fetch 2 ,mem_adc_timeout 
+337e 67e1489a store 2 ,mem_adc_timer 
+337f 58000000 setarg 0 
+3380 67e148a0 store 2 ,mem_antl_fast_adv_timer 
+3381 67e1489e store 2 ,mem_antl_le_sleep_timer 
+3382 204033fc call antilost_alert_off 
+3383 20403425 call antilost_led_buzzer_stop_blink 
+3384 70417700 jam 0 ,mem_lpm_mult 
+3385 20203277 branch app_ble_stop_adv 
+
+antilost_le_process_discon:
+3386 58000000 setarg 0 
+3387 67e2489a store 4 ,mem_adc_timer 
+3388 67e1c897 store 3 ,mem_antl_conn_updata_procedure_state 
+3389 67e143db store 2 ,mem_le_l2cap_signaling_conn_param_update_rsp_result 
+338a 7048ad01 jam 1 ,mem_alarm_config_notfy_cnt 
+338b 6fe148a4 fetch 2 ,mem_antl_le_sleep_timeout 
+338c 67e1489e store 2 ,mem_antl_le_sleep_timer 
+338d 6fe14a67 fetch 2 ,mem_antl_disconn_buzzer_on_timeout 
+338e 67e14a65 store 2 ,mem_antl_disconn_buzzer_on_timer 
+338f 204079a5 call queue_init 
+3390 6fe0c866 fetch 1 ,mem_antl_power_state 
+3391 c1000000 rtneq power_off 
+3392 2040342e call antilost_fast_adv_start 
+3393 2020340e branch antilost_on_off_alarm_after_disconn 
+
+antilost_le_conn_process:
+3394 202033a8 branch antilost_key_process 
+
+antilost_idle_process:
+3395 6fe0c866 fetch 1 ,mem_antl_power_state 
+3396 c1810000 rtnne power_standby 
+3397 202033a8 branch antilost_key_process 
+
+antilost_power_starting_cb:
+3398 da6047da arg mem_antl_power_starting_buzzer_style ,regc 
+3399 20403421 call antilost_buzzer_configuration 
+339a da6047d3 arg mem_antl_power_starting_led_style ,regc 
+
+antilost_power_common:
+339b 20203423 branch antilost_led_configuration 
+
+antilost_power_off_cb:
+339c 70442700 jam off ,mem_le_adv_enable 
+339d da6047e8 arg mem_antl_power_off_buzzer_style ,regc 
+339e 20403421 call antilost_buzzer_configuration 
+339f da6047e1 arg mem_antl_power_off_led_style ,regc 
+33a0 2020339b branch antilost_power_common 
+
+antilost_le_receive_data_process:
+33a1 6fe0c436 fetch 1 ,mem_le_att_opcode 
+33a2 c00933a4 beq attop_write_request ,antilost_le_parse_att_write_request 
+33a3 20600000 rtn 
+
+antilost_le_parse_att_write_request:
+33a4 6fe14437 fetch 2 ,mem_le_att_handle 
+33a5 c006b3d6 beq new_spec_write_handle ,antilost_cmd_parse_for_application 
+33a6 c005b411 beq new_spec_notification_enable_handle ,antilost_notify_alarm_config_first_time 
+33a7 20600000 rtn 
+
+antilost_key_process:
+33a8 6fe0c860 fetch 1 ,mem_antl_key_scan_enable 
+33a9 207a0000 rtn blank 
+33aa 2020620b branch keyscan_key_process 
+
+antilost_key_up_down:
+33ab 1a227e00 copy rega ,pdata 
+33ac 203a33b0 branch antilost_key_is_up ,blank 
+
+antilost_key_is_down:
+33ad 18e27e00 copy queue ,pdata 
+33ae c00033b3 beq 0 ,antilost_key0_down 
+33af 20600000 rtn 
+
+antilost_key_is_up:
+33b0 18e27e00 copy queue ,pdata 
+33b1 c00033bb beq 0 ,antilost_key0_up 
+33b2 20600000 rtn 
+
+antilost_key0_down:
+33b3 7048aa01 jam 1 ,mem_antl_key_state 
+33b4 da604804 arg mem_antl_key_buzzer_style ,regc 
+33b5 20403421 call antilost_buzzer_configuration 
+33b6 da6047fd arg mem_antl_key_led_style ,regc 
+33b7 20403423 call antilost_led_configuration 
+33b8 6fe1478f fetch 2 ,mem_ui_state_map 
+33b9 c304b3d2 bbit0 ui_state_ble_connected ,antilost_butten_down_while_disconn 
+33ba 202033c1 branch antilost_butten_down_after_conn 
+
+antilost_key0_up:
+33bb 7048aa00 jam 0 ,mem_antl_key_state 
+33bc 202033bd branch antilost_double_click_timer_init 
+
+antilost_double_click_timer_init:
+33bd 6fe0c8a7 fetch 1 ,mem_butten_click_cnt 
+33be c1808000 rtnne 1 
+33bf 7048a605 jam 5 ,mem_double_click_timer 
+33c0 20600000 rtn 
+
+antilost_butten_down_after_conn:
+33c1 6fe0c8a7 fetch 1 ,mem_butten_click_cnt 
+33c2 1fe0fe01 pincrease 1 
+33c3 67e0c8a7 store 1 ,mem_butten_click_cnt 
+33c4 c000b3c7 beq 1 ,antilost_click_once 
+33c5 c00133cb beq 2 ,antilost_click_twice 
+33c6 20600000 rtn 
+
+antilost_click_once:
+33c7 204033fc call antilost_alert_off 
+33c8 70487e01 jam opcode1_butten_click_once ,mem_antl_key0_press + 5 
+33c9 da604879 arg mem_antl_key0_press ,regc 
+33ca 202033e4 branch antilost_prepare_data_and_send 
+
+antilost_click_twice:
+33cb 7048a700 jam 0 ,mem_butten_click_cnt 
+33cc 70487e02 jam opcode2_butten_double_click ,mem_antl_key0_press + 5 
+33cd da604879 arg mem_antl_key0_press ,regc 
+33ce 204033e4 call antilost_prepare_data_and_send 
+33cf 6fe0c8ab fetch 1 ,mem_antl_lost_mode 
+33d0 c000b3f1 beq 1 ,antilost_alert_on 
+33d1 20600000 rtn 
+
+antilost_butten_down_while_disconn:
+33d2 6fe148a4 fetch 2 ,mem_antl_le_sleep_timeout 
+33d3 67e1489e store 2 ,mem_antl_le_sleep_timer 
+33d4 204033fc call antilost_alert_off 
+33d5 2020342e branch antilost_fast_adv_start 
+
+antilost_cmd_parse_for_application:
+33d6 44d9c016 bpatch patch16_3 ,mem_patch16 
+33d7 2040356d call le_app_receive_data 
+33d8 efe08011 ifetch 1 ,rega 
+33d9 c001b3dc beq opcode3_antl_start_alram ,antilost_on_of_alram 
+33da c003b3e0 beq opcode7_antl_config_alram ,antilost_configuration_for_alram 
+33db 20600000 rtn 
+
+antilost_on_of_alram:
+33dc 6fe0c8ab fetch 1 ,mem_antl_lost_mode 
+33dd c00033f1 beq anti_le_alarm_off ,antilost_alert_on 
+33de c000b3fc beq anti_le_alarm_on ,antilost_alert_off 
+33df 20600000 rtn 
+
+antilost_configuration_for_alram:
+33e0 efe08012 ifetch 1 ,regb 
+33e1 c000b404 beq 1 ,antilost_set_start_alarm_after_disconn 
+33e2 c0003409 beq 0 ,antilost_set_no_alarm_after_disconn 
+33e3 20600000 rtn 
+
+antilost_prepare_data_and_send:
+33e4 44da4016 bpatch patch16_4 ,mem_patch16 
+33e5 6fe0c898 fetch 1 ,mem_client_characteristic_configuration_descriptor 
+33e6 2feffe00 isolate1 notification_enable_bit ,pdata 
+33e7 24608000 nrtn true 
+33e8 1a608c06 add regc ,6 ,contr 
+33e9 efe10006 ifetch 2 ,contr 
+33ea 1ff0fe00 byteswap pdata ,pdata 
+33eb 1fe0f205 add pdata ,5 ,loopcnt 
+33ec 1a608c03 add regc ,3 ,contr 
+33ed 20403561 call calc_check_sum_start 
+33ee e7e08006 istore 1 ,contr 
+33ef 1a622200 copy regc ,rega 
+33f0 202079aa branch queue_push 
+
+antilost_alert_on:
+33f1 6fe0c866 fetch 1 ,mem_antl_power_state 
+33f2 207a0000 rtn blank 
+33f3 7048ab01 jam 1 ,mem_antl_lost_mode 
+33f4 da6047f6 arg mem_antl_alert_buzzer_stlye ,regc 
+33f5 20403421 call antilost_buzzer_configuration 
+33f6 da6047ef arg mem_antl_alert_led_stlye ,regc 
+33f7 20403423 call antilost_led_configuration 
+33f8 70488d04 jam opcode4_current_alarm_state ,mem_antl_key0_release + 5 
+33f9 70489001 jam 1 ,mem_antl_key0_release + 8 
+33fa da604888 arg mem_antl_key0_release ,regc 
+33fb 202033e4 branch antilost_prepare_data_and_send 
+
+antilost_alert_off:
+33fc 6fe0c8ab fetch 1 ,mem_antl_lost_mode 
+33fd 207a0000 rtn blank 
+33fe 7048ab00 jam 0 ,mem_antl_lost_mode 
+33ff 20403425 call antilost_led_buzzer_stop_blink 
+3400 70488d04 jam opcode4_current_alarm_state ,mem_antl_key0_release + 5 
+3401 70489000 jam 0 ,mem_antl_key0_release + 8 
+3402 da604888 arg mem_antl_key0_release ,regc 
+3403 202033e4 branch antilost_prepare_data_and_send 
+
+antilost_set_start_alarm_after_disconn:
+3404 7048ac01 jam 1 ,mem_alarm_config 
+3405 70488d07 jam opcode7_antl_config_alram ,mem_antl_key0_release + 5 
+3406 70489001 jam 1 ,mem_antl_key0_release + 8 
+3407 da604888 arg mem_antl_key0_release ,regc 
+3408 202033e4 branch antilost_prepare_data_and_send 
+
+antilost_set_no_alarm_after_disconn:
+3409 7048ac00 jam 0 ,mem_alarm_config 
+340a 70488d07 jam opcode7_antl_config_alram ,mem_antl_key0_release + 5 
+340b 70489000 jam 0 ,mem_antl_key0_release + 8 
+340c da604888 arg mem_antl_key0_release ,regc 
+340d 202033e4 branch antilost_prepare_data_and_send 
+
+antilost_on_off_alarm_after_disconn:
+340e 6fe0c8ac fetch 1 ,mem_alarm_config 
+340f 207a0000 rtn blank 
+3410 202033f1 branch antilost_alert_on 
+
+antilost_notify_alarm_config_first_time:
+3411 efe10011 ifetch 2 ,rega 
+3412 67e14898 store 2 ,mem_client_characteristic_configuration_descriptor 
+3413 2feffe00 isolate1 notification_enable_bit ,pdata 
+3414 24608000 nrtn true 
+3415 6fe0c8ad fetch 1 ,mem_alarm_config_notfy_cnt 
+3416 207a0000 rtn blank 
+3417 7048ad00 jam 0 ,mem_alarm_config_notfy_cnt 
+3418 6fe448c3 fetch 8 ,mem_antl_le_interval_min 
+3419 67e44372 store 8 ,mem_le_interval_min 
+341a 704a6403 jam 3 ,mem_antilost_conn_battery_send_timer 
+341b 70488d07 jam opcode7_antl_config_alram ,mem_antl_key0_release + 5 
+341c 70489d1e jam 30 ,mem_antl_send_updata_le_param_timer 
+341d 6fe0c8ac fetch 1 ,mem_alarm_config 
+341e 67e0c890 store 1 ,mem_antl_key0_release + 8 
+341f da604888 arg mem_antl_key0_release ,regc 
+3420 202033e4 branch antilost_prepare_data_and_send 
+
+antilost_buzzer_configuration:
+3421 da200001 arg 1 ,rega 
+3422 20203424 branch antilost_configuration_common 
+
+antilost_led_configuration:
+3423 da200000 arg 0 ,rega 
+
+antilost_configuration_common:
+3424 2020342b branch antilost_led_buzzer_style_configuration 
+
+antilost_led_buzzer_stop_blink:
+3425 da200000 arg 0 ,rega 
+3426 2040786c call ui_led_blink_stop_global 
+3427 da200001 arg 1 ,rega 
+3428 2040786c call ui_led_blink_stop_global 
+3429 6fe148ae fetch 2 ,mem_buzzer_pwm_conf 
+342a 2020627e branch pwm_disable 
+
+antilost_led_buzzer_style_configuration:
+342b 20407857 call calc_curr_struct_prt 
+342c df200007 arg 7 ,loopcnt 
+342d 20207879 branch ui_led_set_style_global + 2 
+
+antilost_fast_adv_start:
+342e da6047c5 arg mem_antl_fast_adv_led_style ,regc 
+342f da4047a7 arg mem_antl_lpm_interval ,regb 
+
+antilost_adv_start_common:
+3430 20403435 call antilost_adv_interval_lpm_interval_set 
+3431 20403423 call antilost_led_configuration 
+3432 6fe148a2 fetch 2 ,mem_antl_fast_adv_timeout 
+3433 67e148a0 store 2 ,mem_antl_fast_adv_timer 
+3434 20203279 branch app_ble_start_adv 
+
+antilost_adv_interval_lpm_interval_set:
+3435 efe10012 ifetch 2 ,regb 
+3436 67e14159 store 2 ,mem_lpm_interval 
+3437 efe10006 ifetch 2 ,contr 
+3438 67e14428 store 2 ,mem_le_adv_interval 
+3439 20600000 rtn 
+
+antilost_buzzer_pwm_init:
+343a da200000 arg 0 ,rega 
+343b 20406239 call pwm_init 
+343c 6fe348ae fetch 6 ,mem_buzzer_pwm_conf 
+343d 67e3095c store 6 ,mem_pdatatemp 
+343e 20406260 call pwm_out_set 
+343f 6fe148ae fetch 2 ,mem_buzzer_pwm_conf 
+3440 2020627e branch pwm_disable 
+
+antilost_led_on_cb:
+3441 7048a801 jam 1 ,mem_antl_led_state 
+3442 20600000 rtn 
+
+antilost_led_off_cb:
+3443 7048a800 jam 0 ,mem_antl_led_state 
+3444 20600000 rtn 
+
+antilost_buzzer_off:
+3445 7048a900 jam 0 ,mem_antl_buzzer_state 
+3446 6fe148ae fetch 2 ,mem_buzzer_pwm_conf 
+3447 2020627e branch pwm_disable 
+
+antilost_buzzer_on:
+3448 7048a901 jam 1 ,mem_antl_buzzer_state 
+3449 6fe348ae fetch 6 ,mem_buzzer_pwm_conf 
+344a 67e3095c store 6 ,mem_pdatatemp 
+344b 20206260 branch pwm_out_set 
+
+antilost_adc_init:
+344c 7044a200 jam 0 ,mem_adc_config_flag 
+344d 20600000 rtn 
+
+antilost_battery_process:
+344e 2040618d call vdd_calculate_by_mode 
+344f 67e148bd store 2 ,mem_battery_current_voltage 
+3450 da2048b7 arg mem_battery_calculate_set ,rega 
+3451 204061ba call adc_bat_percent_lowpower_out 
+3452 67e0c8b6 store 1 ,mem_voltage_remain_percent 
+3453 58000065 setarg 0x65 
+3454 c000345d beq 0 ,antilost_low_battery 
+3455 1fe67c64 sub pdata ,0x64 ,null 
+3456 2421345b nbranch antilost_full_battery ,positive 
+3457 67e0c890 store 1 ,mem_antl_key0_release + 8 
+
+antilost_battery_calculate_end:
+3458 70488d05 jam opcode5_batter_information ,mem_antl_key0_release + 5 
+3459 da604888 arg mem_antl_key0_release ,regc 
+345a 202033e4 branch antilost_prepare_data_and_send 
+
+antilost_full_battery:
+345b 70489064 jam 100 ,mem_antl_key0_release + 8 
+345c 20203458 branch antilost_battery_calculate_end 
+
+antilost_low_battery:
+345d 20203299 branch app_button_long_pressed 
+
+car_init:
+345e 20406e5e call enable_authrom 
+345f 20758000 rtn wake 
+3460 58003654 setarg car_g24_receive_process 
+3461 67e1488d store 2 ,mem_cb_24g_receive_process 
+3462 58002354 setarg g24_bind_ackpayload_prep 
+3463 67e1488f store 2 ,mem_cb_24g_ackpayload 
+3464 58003686 setarg car_g24_cb_data_device1 
+3465 67e14891 store 2 ,mem_cb_24g_data_device1 
+3466 580034da setarg car_le_before_hibernate 
+3467 67e1445d store 2 ,mem_cb_before_hibernate 
+3468 580034da setarg car_le_process_lpm_before 
+3469 67e1445f store 2 ,mem_cb_before_lpm 
+346a 58003289 setarg app_enter_hibernate 
+346b 67e14469 store 2 ,mem_cb_discovry_timeout 
+346c 580034dc setarg car_scale_process_idle 
+346d 67e14465 store 2 ,mem_cb_idle_process 
+346e 580034fd setarg car_scale_process_bb_event 
+346f 67e14467 store 2 ,mem_cb_bb_event_process 
+3470 5800324f setarg app_get_lpm_wake_lock 
+3471 67e1445b store 2 ,mem_cb_check_wakelock 
+3472 58003567 setarg car_le_receive_data 
+3473 67e1446b store 2 ,mem_cb_att_write 
+3474 58003527 setarg car_le_bb_event_timer 
+3475 67e1446f store 2 ,mem_cb_event_timer 
+3476 44dac016 bpatch patch16_5 ,mem_patch16 
+3477 204034c0 call car_init_environment 
+3478 204034ea call car_lpm_timer_enable 
+3479 204079a5 call queue_init 
+347a 70417702 jam 2 ,mem_lpm_mult 
+347b 704c6400 jam power_on ,mem_car_24g_received_pac 
+347c 6fe0ca26 fetch 1 ,mem_car_config_soft_switch_enable 
+347d 67e0c8f5 store 1 ,mem_car_hard_soft_switch 
+347e c0003489 beq hard_switch ,car_hard_switch_power_on_signal 
+347f 6fe0ca27 fetch 1 ,mem_car_config_soft_switch_gpio 
+3480 67e0c793 store 1 ,mem_ui_button_gpio 
+3481 70442700 jam off ,mem_le_adv_enable 
+
+car_soft_switch_power_on_init:
+3482 20407826 call ui_button_init 
+3483 20407830 call ui_button_polling 
+3484 704a4e01 jam power_starting ,mem_car_power_state 
+3485 6fe1478f fetch 2 ,mem_ui_state_map 
+3486 c3860000 rtnbit1 ui_state_btn_down 
+3487 20203289 branch app_enter_hibernate 
+
+car_power_off_signal:
+3488 202034a7 branch car_ui_led_init 
+
+car_hard_switch_power_on_signal:
+3489 704a4e02 jam power_standby ,mem_car_power_state 
+
+car_soft_switch_power_on_signal:
+348a 70442701 jam on ,mem_le_adv_enable 
+348b 58000020 setarg fast_adv_interval_value_car 
+348c 20404c56 call shutter_ble_adv_interval_set 
+
+car_le_modified_name_adv:
+348d d8a042ff arg mem_le_name + 7 ,contw 
+348e 6fe0c37a fetch 1 ,mem_le_lap 
+
+car_name_loop:
+348f 1fe104f0 and pdata ,0xF0 ,temp 
+3490 18518400 rshift4 temp ,temp 
+3491 204034a1 call car_hex_to_ascii 
+3492 e0408005 istoret 1 ,contw 
+3493 1fe1040f and pdata ,0x0F ,temp 
+3494 204034a1 call car_hex_to_ascii 
+3495 e0408005 istoret 1 ,contw 
+3496 20401a58 call le_modified_name_att_list 
+3497 6848c2f7 fetcht 1 ,mem_le_name_len 
+3498 18427200 copy temp ,loopcnt 
+3499 d8a043ea arg mem_le_adv_data + 2 ,contw 
+349a d8c042f8 arg mem_le_name ,contr 
+349b 20407dd4 call memcpy 
+
+car_le_modified_name_scan:
+349c 6848c2f7 fetcht 1 ,mem_le_name_len 
+349d 18427200 copy temp ,loopcnt 
+349e d8a0440a arg mem_le_scan_data + 2 ,contw 
+349f d8c042f8 arg mem_le_name ,contr 
+34a0 20207dd4 branch memcpy 
+
+car_hex_to_ascii:
+34a1 18467c09 sub temp ,9 ,null 
+34a2 202134a5 branch car_hex_num ,positive 
+34a3 18408437 add temp ,55 ,temp 
+34a4 20600000 rtn 
+
+car_hex_num:
+34a5 18408430 add temp ,48 ,temp 
+34a6 20600000 rtn 
+
+car_ui_led_init:
+34a7 6fe0ca1b fetch 1 ,mem_car_config_blood_led1_gpio 
+34a8 c0ffb4b9 bne invalid_pin_num ,car_blood_led_gpio_set 
+
+car_ui_led_init_1:
+34a9 6fe0ca19 fetch 1 ,mem_car_config_pairing_led_gpio 
+34aa c0ffb4bc bne invalid_pin_num ,car_pairing_led_gpio_set 
+
+car_ui_led_init_2:
+34ab 6fe0ca24 fetch 1 ,mem_car_config_low_voltage_led_gpio 
+34ac c0ffb4be bne invalid_pin_num ,car_low_voltage_led_gpio_set 
+
+car_ui_led_init_3:
+34ad 6fe0c987 fetch 1 ,mem_car_led_num 
+34ae 1fe27200 copy pdata ,loopcnt 
+34af 58004988 setarg mem_car_led_map 
+34b0 1fe22200 copy pdata ,rega 
+
+car_in_lp1:
+34b1 1a220c00 copy rega ,contr 
+34b2 efe08006 ifetch 1 ,contr 
+34b3 18c22200 copy contr ,rega 
+34b4 c07fb4b7 beq invalid_pin_num ,car_in_lp1_end 
+34b5 1fe20400 copy pdata ,temp 
+34b6 2040610d call gpio_config_output 
+
+car_in_lp1_end:
+34b7 c20034b1 loop car_in_lp1 
+
+car_ui_led_init_end:
+34b8 20600000 rtn 
+
+car_blood_led_gpio_set:
+34b9 6fe44a1b fetch 8 ,mem_car_config_blood_led1_gpio 
+34ba 67e4498a store 8 ,mem_car_led_map + 2 
+34bb 202034a9 branch car_ui_led_init_1 
+
+car_pairing_led_gpio_set:
+34bc 67e0c988 store 1 ,mem_car_led_map 
+34bd 202034ab branch car_ui_led_init_2 
+
+car_low_voltage_led_gpio_set:
+34be 67e0c989 store 1 ,mem_car_led_map + 1 
+34bf 202034ad branch car_ui_led_init_3 
+
+car_init_environment:
+34c0 20403650 call car_g24_init 
+34c1 da200000 arg 0 ,rega 
+34c2 20406239 call pwm_init 
+34c3 204034a7 call car_ui_led_init 
+34c4 204034f2 call car_start_blink 
+34c5 204034d8 call car_init_adc_hvin 
+34c6 202034c7 branch car_motor_init 
+
+car_motor_init:
+34c7 6fe0cc51 fetch 1 ,mem_car_motor_gpio_num 
+34c8 1fe27200 copy pdata ,loopcnt 
+34c9 58004c52 setarg mem_car_motor_gpio_map 
+34ca 1fe22200 copy pdata ,rega 
+
+p_in_lp1:
+34cb 1a220c00 copy rega ,contr 
+34cc efe08006 ifetch 1 ,contr 
+34cd 18c22200 copy contr ,rega 
+34ce c07fb4d2 beq invalid_pin_num ,p_in_lp1_end 
+34cf 1fe20400 copy pdata ,temp 
+34d0 67e0cc56 store 1 ,mem_car_gpio 
+34d1 204034d4 call car_ui_gpio_init 
+
+p_in_lp1_end:
+34d2 c20034cb loop p_in_lp1 
+
+p_car_ui_led_init_end:
+34d3 20600000 rtn 
+
+car_ui_gpio_init:
+34d4 6fe0cc56 fetch 1 ,mem_car_gpio 
+34d5 c17f8000 rtneq ui_button_gpio_disable 
+34d6 98000400 iforce temp 
+34d7 2020610d branch gpio_config_output 
+
+car_init_adc_hvin:
+34d8 704a2a64 jam 100 ,mem_car_notify_vdd_value_last 
+34d9 20600000 rtn 
+
+car_le_before_hibernate:
+
+car_le_process_lpm_before:
+34da 202061ff branch keyscan_process_lpm_before 
+
+car_key_scan_process:
+34db 2020620b branch keyscan_key_process 
+
+car_scale_process_idle:
+34dc 204034f4 call car_le_send_packet 
+34dd 204034df call car_g24_status_process 
+34de 202034db branch car_key_scan_process 
+
+car_g24_status_process:
+34df 6fe1478f fetch 2 ,mem_ui_state_map 
+34e0 c3848000 rtnbit1 ui_state_ble_connected 
+34e1 6fe0cc64 fetch 1 ,mem_car_24g_received_pac 
+34e2 c000b4e4 beq work_paired ,car_g24_connected_event 
+34e3 20600000 rtn 
+
+car_g24_connected_event:
+34e4 6fe0ca45 fetch 1 ,mem_car_24g_status 
+34e5 c1008000 rtneq work_paired 
+34e6 704a4501 jam work_paired ,mem_car_24g_status 
+34e7 204034ee call car_lpm_timer_disable 
+34e8 204034f0 call car_stop_blink 
+34e9 20203507 branch car_g24_connected 
+
+car_lpm_timer_enable:
+34ea 6fe14c69 fetch 2 ,mem_car_enter_lpm_timer_count 
+34eb 67e14c6b store 2 ,mem_car_enter_lpm_timer 
+34ec 704c6d00 jam 0 ,mem_car_enter_lpm_flag 
+34ed 20600000 rtn 
+
+car_lpm_timer_disable:
+34ee 58000000 setarg 0 
+34ef 202034eb branch car_lpm_timer_enable + 1 
+
+car_stop_blink:
+34f0 da200000 arg 0 ,rega 
+34f1 2020786c branch ui_led_blink_stop_global 
+
+car_start_blink:
+34f2 da200000 arg 0 ,rega 
+34f3 20207871 branch ui_led_blink_start_global 
+
+car_le_send_packet:
+34f4 6fe1478f fetch 2 ,mem_ui_state_map 
+34f5 c4048000 rtnbit0 ui_state_ble_connected 
+34f6 20401b24 call le_fifo_check_nearly_full 
+34f7 247a0000 nrtn blank 
+34f8 da204973 arg mem_car_pop_queue_buff ,rega 
+34f9 204079c1 call queue_pop 
+34fa 24740000 nrtn user 
+34fb d8c04973 arg mem_car_pop_queue_buff ,contr 
+34fc 20204c5a branch le_send_notify_from_list 
+
+car_scale_process_bb_event:
+34fd 1a627e00 copy regc ,pdata 
+34fe c016b2b1 beq bt_evt_button_up ,app_event_button_up 
+34ff c0083299 beq bt_evt_button_long_pressed ,app_button_long_pressed 
+3500 c00a3503 beq bt_evt_le_connected ,car_scale_event_le_conn 
+3501 c00ab50d beq bt_evt_le_disconnected ,car_scale_event_le_discon 
+3502 20600000 rtn 
+
+car_scale_event_le_conn:
+3503 204034ee call car_lpm_timer_disable 
+3504 204034f0 call car_stop_blink 
+3505 793f8027 set0 mark_24g_rxmode ,mark 
+3506 20203509 branch car_scale_process_conn 
+
+car_g24_connected:
+3507 6fe14a46 fetch 2 ,mem_car_24g_no_data_timeout_count 
+3508 67e14a48 store 2 ,mem_car_24g_no_data_timeout_timer 
+
+car_scale_process_conn:
+3509 704a2914 jam 0x14 ,mem_car_notify_vdd_timer 
+350a 70409900 jam 0 ,mem_lpm_mode 
+350b 20403277 call app_ble_stop_adv 
+350c 20203295 branch app_lpm_mult_enable 
+
+car_scale_event_le_discon:
+350d 79200027 set1 mark_24g_rxmode ,mark 
+350e 204034ea call car_lpm_timer_enable 
+350f 20403604 call car_fb_motor_stop 
+3510 204035f8 call car_lr_motor_stop 
+
+car_g24_disconnect:
+3511 58000000 setarg 0 
+3512 67e2c9f7 store 5 ,mem_car_led_control 
+3513 58000004 setarg 4 
+3514 2040627e call pwm_disable 
+3515 58000005 setarg 5 
+3516 2040627e call pwm_disable 
+3517 58000014 setarg 20 
+3518 2040627e call pwm_disable 
+3519 58000015 setarg 21 
+351a 2040627e call pwm_disable 
+351b 58000016 setarg 22 
+351c 2040627e call pwm_disable 
+351d 58000007 setarg 7 
+351e 2040627e call pwm_disable 
+351f 204079a5 call queue_init 
+3520 7049b90a jam 10 ,mem_motor1_speed 
+3521 7049bb0a jam 10 ,mem_motor2_speed 
+3522 7049bd0a jam 10 ,mem_motor3_speed 
+3523 70417702 jam 2 ,mem_lpm_mult 
+3524 58000020 setarg fast_adv_interval_value_car 
+3525 20404c56 call shutter_ble_adv_interval_set 
+3526 20203279 branch app_ble_start_adv 
+
+car_le_bb_event_timer:
+3527 204035a5 call car_moto1_blank_data_timer 
+3528 204035a8 call car_moto2_blank_data_timer 
+3529 204035ab call car_moto3_blank_data_timer 
+352a 2040320a call app_power_timer 
+352b 2040353d call car_notify_vdd_timer 
+352c 20403537 call car_24g_no_data_timeout_timer 
+352d 2040352f call car_24g_bind_enable_timer 
+352e 20203532 branch car_enter_lpm_timer 
+
+car_24g_bind_enable_timer:
+352f da604c65 arg mem_car_24g_bind_enable_delay_count ,regc 
+3530 da400000 arg 0 ,regb 
+3531 202031fc branch timer_single_step 
+
+car_enter_lpm_timer:
+3532 da604c6b arg mem_car_enter_lpm_timer ,regc 
+3533 da403535 arg car_enter_lpm_enable ,regb 
+3534 20203203 branch timer_single_step_2b 
+
+car_enter_lpm_enable:
+3535 704c6d01 jam 1 ,mem_car_enter_lpm_flag 
+3536 20600000 rtn 
+
+car_24g_no_data_timeout_timer:
+3537 da604a48 arg mem_car_24g_no_data_timeout_timer ,regc 
+3538 da40353a arg car_24g_no_data_timer_timeout ,regb 
+3539 20203203 branch timer_single_step_2b 
+
+car_24g_no_data_timer_timeout:
+353a 704a4502 jam work_search ,mem_car_24g_status 
+353b 704c6400 jam power_on ,mem_car_24g_received_pac 
+353c 20203511 branch car_g24_disconnect 
+
+car_notify_vdd_timer:
+353d 6fe0ca23 fetch 1 ,mem_car_config_bat_notify_enable 
+353e 207a0000 rtn blank 
+353f da604a29 arg mem_car_notify_vdd_timer ,regc 
+3540 da403542 arg car_notify_vdd ,regb 
+3541 202031fc branch timer_single_step 
+
+car_notify_vdd:
+3542 6fe0ca28 fetch 1 ,mem_car_notify_vdd_count 
+3543 67e0ca29 store 1 ,mem_car_notify_vdd_timer 
+3544 6fe0ca2c fetch 1 ,mem_car_working_flag 
+3545 247a0000 nrtn blank 
+
+car_read_hvin:
+3546 2040618d call vdd_calculate_by_mode 
+3547 67e14a43 store 2 ,mem_vdd_now_vol 
+3548 da204a3d arg mem_vdd_calculate_set ,rega 
+3549 204061ba call adc_bat_percent_lowpower_out 
+354a 6848ca2a fetcht 1 ,mem_car_notify_vdd_value_last 
+354b 98467c00 isub temp ,null 
+354c 2021354f branch car_notify_vdd_next2 ,positive 
+354d 67e0ca2a store 1 ,mem_car_notify_vdd_value_last 
+354e 1fe20400 copy pdata ,temp 
+
+car_notify_vdd_next2:
+354f 6048ca2b storet 1 ,mem_car_notify_vdd_percent 
+3550 6fe0ca25 fetch 1 ,mem_car_config_low_voltage_percent 
+3551 98467c00 isub temp ,null 
+3552 2041355a call car_enter_low_bat ,positive 
+3553 6048ca36 storet 1 ,mem_notify_bat_payload 
+3554 df200006 arg 6 ,loopcnt 
+3555 d8c04a31 arg mem_notify_bat_head ,contr 
+3556 20403561 call calc_check_sum_start 
+3557 67e0ca37 store 1 ,mem_notify_bat_check_sum 
+3558 da204a2e arg mem_notify_bat_packet ,rega 
+3559 202079aa branch queue_push 
+
+car_enter_low_bat:
+355a 6fe0ca2d fetch 1 ,mem_low_bat_flag 
+355b 247a0000 nrtn blank 
+355c 704a2d01 jam 1 ,mem_low_bat_flag 
+355d da200001 arg 1 ,rega 
+355e 20207871 branch ui_led_blink_start_global 
+
+car_low_bat_led_off:
+355f da200001 arg 1 ,rega 
+3560 2020786c branch ui_led_blink_stop_global 
+
+calc_check_sum_start:
+3561 da200000 arg 0 ,rega 
+
+calc_check_sum_loop:
+3562 efe08006 ifetch 1 ,contr 
+3563 9a20a200 iadd rega ,rega 
+3564 c2003562 loop calc_check_sum_loop 
+
+calc_check_sum_and:
+3565 1a217eff and rega ,0xff ,pdata 
+3566 20600000 rtn 
+
+car_le_receive_data:
+3567 6fe0c436 fetch 1 ,mem_le_att_opcode 
+3568 c009356a beq attop_write_request ,car_le_parse_att_write_request 
+3569 20600000 rtn 
+
+car_le_parse_att_write_request:
+356a 6fe14437 fetch 2 ,mem_le_att_handle 
+356b c00a3581 beq att_car_control_handle ,car_control_le_receive 
+356c 20600000 rtn 
+
+le_app_receive_data:
+356d 44db4016 bpatch patch16_6 ,mem_patch16 
+356e efe28011 ifetch 5 ,rega 
+356f 67e289de store 5 ,mem_app_receive_temp 
+3570 6fe109de fetch 2 ,mem_app_receive_temp 
+3571 d8406b5a arg le_receive_packet_head ,temp 
+3572 98467c00 isub temp ,null 
+3573 24628000 nrtn zero 
+3574 6fe109e1 fetch 2 ,mem_app_receive_temp + 3 
+3575 1ff0fe00 byteswap pdata ,pdata 
+3576 67e109e1 store 2 ,mem_app_receive_temp + 3 
+3577 1fe27200 copy pdata ,loopcnt 
+3578 1a20a205 increase 5 ,rega 
+3579 1a220c00 copy rega ,contr 
+357a d8a009e3 arg mem_app_receive_temp + 5 ,contw 
+357b 20407dd4 call memcpy 
+357c efe08006 ifetch 1 ,contr 
+357d 67e089ed store 1 ,mem_app_receive_temp + 15 
+357e da2009e0 arg mem_app_receive_temp + 2 ,rega 
+357f da4009e3 arg mem_app_receive_temp + 5 ,regb 
+3580 20600000 rtn 
+
+car_control_le_receive:
+3581 58000000 setarg 0 
+3582 67e2c9ad store 5 ,mem_le_receive_payload 
+3583 67e2c9b2 store 5 ,mem_le_receive_payload + 5 
+3584 2040356d call le_app_receive_data 
+3585 1a420c00 copy regb ,contr 
+3586 d8a049ad arg mem_le_receive_payload ,contw 
+3587 df20000a arg 10 ,loopcnt 
+3588 20407dd4 call memcpy 
+
+car_receive_cmd_select:
+3589 44dbc016 bpatch patch16_7 ,mem_patch16 
+358a efe08011 ifetch 1 ,rega 
+358b c00135b4 beq car_cmd_old_car_control ,car_drive_old 
+358c c001b5c9 beq car_cmd_old_speed_control ,car_speed_set_old 
+358d c00235d0 beq car_cmd_l_r_motor_control ,car_motor_control 
+358e c002b5d0 beq car_cmd_f_b_motor_control ,car_motor_control 
+358f c0033640 beq car_cmd_ir_control ,car_ir_data_rx_from_app 
+3590 c003b641 beq car_cmd_led_control ,car_led_control_receive 
+3591 c0043644 beq car_cmd_device_info ,car_info_request 
+3592 20600000 rtn 
+
+car_24g_receive_data:
+3593 20403581 call car_control_le_receive 
+3594 6fe089e0 fetch 1 ,mem_app_receive_temp + 2 
+3595 c0023598 beq car_cmd_l_r_motor_control ,car_24g_receive_data_next 
+3596 c002b598 beq car_cmd_f_b_motor_control ,car_24g_receive_data_next 
+3597 20600000 rtn 
+
+car_24g_receive_data_next:
+3598 6fe0c9ad fetch 1 ,mem_le_receive_payload 
+3599 245a359f ncall car_moto1_enable_blank_data_timer ,blank 
+359a 6fe0c9af fetch 1 ,mem_le_receive_payload + 2 
+359b 245a35a1 ncall car_moto2_enable_blank_data_timer ,blank 
+359c 6fe0c9b1 fetch 1 ,mem_le_receive_payload + 4 
+359d 245a35a3 ncall car_moto3_enable_blank_data_timer ,blank 
+359e 20600000 rtn 
+
+car_moto1_enable_blank_data_timer:
+359f 704c4e05 jam 5 ,mem_car_moto1_blank_timer 
+35a0 20600000 rtn 
+
+car_moto2_enable_blank_data_timer:
+35a1 704c4f05 jam 5 ,mem_car_moto2_blank_timer 
+35a2 20600000 rtn 
+
+car_moto3_enable_blank_data_timer:
+35a3 704c5005 jam 5 ,mem_car_moto3_blank_timer 
+35a4 20600000 rtn 
+
+car_moto1_blank_data_timer:
+35a5 da604c4e arg mem_car_moto1_blank_timer ,regc 
+35a6 da4035ae arg car_moto1_blank_data ,regb 
+35a7 202031fc branch timer_single_step 
+
+car_moto2_blank_data_timer:
+35a8 da604c4f arg mem_car_moto2_blank_timer ,regc 
+35a9 da4035b0 arg car_moto2_blank_data ,regb 
+35aa 202031fc branch timer_single_step 
+
+car_moto3_blank_data_timer:
+35ab da604c50 arg mem_car_moto3_blank_timer ,regc 
+35ac da4035b2 arg car_moto3_blank_data ,regb 
+35ad 202031fc branch timer_single_step 
+
+car_moto1_blank_data:
+35ae 7049ad00 jam 0 ,mem_le_receive_payload 
+35af 202035d0 branch car_motor_control 
+
+car_moto2_blank_data:
+35b0 7049af00 jam 0 ,mem_le_receive_payload + 2 
+35b1 202035d0 branch car_motor_control 
+
+car_moto3_blank_data:
+35b2 7049b100 jam 0 ,mem_le_receive_payload + 4 
+35b3 202035d0 branch car_motor_control 
+
+car_drive_old:
+35b4 6fe0c9ad fetch 1 ,mem_le_receive_payload 
+35b5 67e0c9b8 store 1 ,mem_motor1_status 
+35b6 6fe0c9ae fetch 1 ,mem_le_receive_payload + 1 
+35b7 67e0c9ba store 1 ,mem_motor2_status 
+35b8 202035da branch car_motor_control_common 
+
+car_left_right_control_old:
+35b9 6fe0c9ad fetch 1 ,mem_le_receive_payload 
+35ba 67e0c9ba store 1 ,mem_motor2_status 
+35bb 202035e8 branch car_motor2_control 
+
+car_front_back_control_old:
+35bc 6fe0c9b9 fetch 1 ,mem_motor1_speed 
+35bd 204035c1 call car_reset_old_speed 
+35be 6fe0c9ae fetch 1 ,mem_le_receive_payload + 1 
+35bf 67e0c9b8 store 1 ,mem_motor1_status 
+35c0 202035e6 branch car_motor1_control 
+
+car_reset_old_speed:
+35c1 c00135c5 beq speed_level_2 ,car_reset_old_speed2 
+35c2 c001b5c7 beq speed_level_3 ,car_reset_old_speed3 
+35c3 67e0c9b9 store 1 ,mem_motor1_speed 
+35c4 20600000 rtn 
+
+car_reset_old_speed2:
+35c5 7049b905 jam speed_level_5 ,mem_motor1_speed 
+35c6 20600000 rtn 
+
+car_reset_old_speed3:
+35c7 7049b90a jam speed_level_10 ,mem_motor1_speed 
+35c8 20600000 rtn 
+
+car_speed_set_old:
+35c9 6fe0c9ad fetch 1 ,mem_le_receive_payload 
+35ca 204035c1 call car_reset_old_speed 
+35cb 6fe0c9b9 fetch 1 ,mem_motor1_speed 
+35cc 20403634 call car_motor_speed_duty_setting 
+35cd 20403637 call car_motor_speed_duty_transform 
+35ce 70095d00 jam 0x00 ,mem_pdatatemp + 1 
+35cf 20206272 branch pwm_duty_cycle_set 
+
+car_motor_control:
+35d0 6fe0ca4b fetch 1 ,mem_car_24g_go_die_flag 
+35d1 247a0000 nrtn blank 
+35d2 6fe349ad fetch 6 ,mem_le_receive_payload 
+35d3 67e349b8 store 6 ,mem_motor1_status 
+35d4 6fe0c9b9 fetch 1 ,mem_motor1_speed 
+35d5 6848c9bb fetcht 1 ,mem_motor2_speed 
+35d6 98417e00 iand temp ,pdata 
+35d7 6848c9bd fetcht 1 ,mem_motor3_speed 
+35d8 98417e00 iand temp ,pdata 
+35d9 205a35ec call car_motor_working_flag ,blank 
+
+car_motor_control_common:
+35da 44dc4017 bpatch patch17_0 ,mem_patch17 
+35db 6fe1478f fetch 2 ,mem_ui_state_map 
+35dc 2feffe09 isolate1 ui_state_ble_connected ,pdata 
+35dd 2440b4ea ncall car_lpm_timer_enable ,true 
+35de 204035e6 call car_motor1_control 
+35df 204035e8 call car_motor2_control 
+35e0 202035e1 branch car_conn_led_state 
+
+car_conn_led_state:
+35e1 6fe0c9b8 fetch 1 ,mem_motor1_status 
+35e2 6848c9ba fetcht 1 ,mem_motor2_status 
+35e3 9840fe00 iadd temp ,pdata 
+35e4 243a7976 nbranch check_51cmd_led_on ,blank 
+35e5 20207974 branch check_51cmd_led_off 
+
+car_motor1_control:
+35e6 d8c049b8 arg mem_motor1_status ,contr 
+35e7 202035ee branch car_motor1_status_select 
+
+car_motor2_control:
+35e8 d8c049ba arg mem_motor2_status ,contr 
+35e9 202035f3 branch car_motor2_status_select 
+
+car_motor3_control:
+35ea d8c049bc arg mem_motor3_status ,contr 
+35eb 20203610 branch car_motor_status_select 
+
+car_motor_working_flag:
+35ec 704a2c00 jam 0 ,mem_car_working_flag 
+35ed 20600000 rtn 
+
+car_motor1_status_select:
+35ee efe08006 ifetch 1 ,contr 
+35ef c00035f8 beq turn_front ,car_lr_motor_stop 
+35f0 c000b5fc beq turn_left ,car_lr_motor_left 
+35f1 c0013600 beq turn_right ,car_lr_motor_right 
+35f2 20600000 rtn 
+
+car_motor2_status_select:
+35f3 efe08006 ifetch 1 ,contr 
+35f4 c0003604 beq motor_stop ,car_fb_motor_stop 
+35f5 c0013608 beq go_back ,car_fb_motor_front 
+35f6 c000b60c beq go_front ,car_fb_motor_back 
+35f7 20600000 rtn 
+
+car_lr_motor_stop:
+35f8 6848cc52 fetcht 1 ,mem_car_motor_left_gpio 
+35f9 20406109 call gpio_out_inactive 
+35fa 6848cc53 fetcht 1 ,mem_car_motor_right_gpio 
+35fb 20206109 branch gpio_out_inactive 
+
+car_lr_motor_left:
+35fc 6848cc52 fetcht 1 ,mem_car_motor_left_gpio 
+35fd 2040610d call gpio_out_active 
+35fe 6848cc53 fetcht 1 ,mem_car_motor_right_gpio 
+35ff 20206109 branch gpio_out_inactive 
+
+car_lr_motor_right:
+3600 6848cc52 fetcht 1 ,mem_car_motor_left_gpio 
+3601 20406109 call gpio_out_inactive 
+3602 6848cc53 fetcht 1 ,mem_car_motor_right_gpio 
+3603 2020610d branch gpio_out_active 
+
+car_fb_motor_stop:
+3604 6848cc54 fetcht 1 ,mem_car_motor_front_gpio 
+3605 20406109 call gpio_out_inactive 
+3606 6848cc55 fetcht 1 ,mem_car_motor_back_gpio 
+3607 20206109 branch gpio_out_inactive 
+
+car_fb_motor_front:
+3608 6848cc54 fetcht 1 ,mem_car_motor_front_gpio 
+3609 2040610d call gpio_out_active 
+360a 6848cc55 fetcht 1 ,mem_car_motor_back_gpio 
+360b 20206109 branch gpio_out_inactive 
+
+car_fb_motor_back:
+360c 6848cc54 fetcht 1 ,mem_car_motor_front_gpio 
+360d 20406109 call gpio_out_inactive 
+360e 6848cc55 fetcht 1 ,mem_car_motor_back_gpio 
+360f 2020610d branch gpio_out_active 
+
+car_motor_status_select:
+3610 44dcc017 bpatch patch17_1 ,mem_patch17 
+3611 efe08006 ifetch 1 ,contr 
+3612 c000361d beq motor_stop ,car_motor_stop 
+3613 c000b616 beq go_front ,car_motor_positive 
+3614 c0013618 beq go_back ,car_motor_negative 
+3615 20600000 rtn 
+
+car_motor_positive:
+3616 7049d600 jam 0 ,mem_motor_select_p_n 
+3617 20203619 branch car_motor_negative + 1 
+
+car_motor_negative:
+3618 7049d601 jam 1 ,mem_motor_select_p_n 
+3619 efe08006 ifetch 1 ,contr 
+361a 67e0c9d8 store 1 ,mem_car_motor_speed 
+361b efe40012 ifetch 8 ,regb 
+361c 20203622 branch car_motor_work 
+
+car_motor_stop:
+361d efe08012 ifetch 1 ,regb 
+361e 2040627e call pwm_disable 
+361f 1a40a401 increase 1 ,regb 
+3620 efe08012 ifetch 1 ,regb 
+3621 2020627e branch pwm_disable 
+
+car_motor_work:
+3622 67e449d9 store 8 ,mem_motor_pwm_pin1_set 
+3623 704a2c01 jam 1 ,mem_car_working_flag 
+3624 6fe0c9d6 fetch 1 ,mem_motor_select_p_n 
+3625 c0003630 beq 0 ,car_motor_select_positive 
+
+car_motor_select_negative:
+3626 6fe0c9da fetch 1 ,mem_motor_pwm_pin2_set 
+3627 67e0c9db store 1 ,mem_motor_pwm_pin_set 
+3628 6fe0c9d9 fetch 1 ,mem_motor_pwm_pin1_set 
+
+car_motor_work_next:
+3629 2040627e call pwm_disable 
+362a 6fe0c9d8 fetch 1 ,mem_car_motor_speed 
+362b 20403634 call car_motor_speed_duty_setting 
+362c 67e0c9e0 store 1 ,mem_motor_pwm_dute_set 
+362d 6fe349db fetch 6 ,mem_motor_pwm_pin_set 
+362e 67e3095c store 6 ,mem_pdatatemp 
+362f 20206260 branch pwm_out_set 
+
+car_motor_select_positive:
+3630 6fe0c9d9 fetch 1 ,mem_motor_pwm_pin1_set 
+3631 67e0c9db store 1 ,mem_motor_pwm_pin_set 
+3632 6fe0c9da fetch 1 ,mem_motor_pwm_pin2_set 
+3633 20203629 branch car_motor_work_next 
+
+car_motor_speed_duty_setting:
+3634 1feffe05 mul32 pdata ,5 ,pdata 
+3635 1fe0fe32 add pdata ,50 ,pdata 
+3636 20600000 rtn 
+
+car_motor_speed_duty_transform:
+3637 d8402ee0 arg 12000 ,temp 
+3638 984ffe00 imul32 temp ,pdata 
+3639 1fe6fc64 div pdata ,100 
+363a 20407e64 call wait_div_end 
+363b 18078400 quotient temp 
+363c 18422200 copy temp ,rega 
+363d 58002ee0 setarg 12000 
+363e 98462400 isub temp ,regb 
+363f 20600000 rtn 
+
+car_ir_data_rx_from_app:
+3640 20600000 rtn 
+
+car_led_control_receive:
+3641 6fe449ad fetch 8 ,mem_le_receive_payload 
+3642 67e449f7 store 8 ,mem_car_led_control 
+3643 20600000 rtn 
+
+car_info_request:
+3644 6fe0ca14 fetch 1 ,mem_car_config_device_select 
+3645 67e0ca0a store 1 ,mem_car_info_request_payload 
+3646 6fe0ca15 fetch 1 ,mem_car_config_motor_layout 
+3647 67e0ca0b store 1 ,mem_car_info_request_payload + 1 
+3648 6fe0ca16 fetch 1 ,mem_car_config_ir_enable 
+3649 67e0ca0c store 1 ,mem_car_info_request_payload + 2 
+364a df20000d arg 13 ,loopcnt 
+364b d8c04a05 arg mem_car_info_request_head ,contr 
+364c 20403561 call calc_check_sum_start 
+364d 67e0ca12 store 1 ,mem_car_info_request_checksum 
+364e da204a02 arg mem_car_info_request ,rega 
+364f 202079aa branch queue_push 
+
+car_g24_init:
+3650 58000000 setarg 0 
+3651 67e44885 store 8 ,mem_24g_bind_payload 
+3652 204023dc call g24_receive_init 
+3653 2020243a branch g24_mode_switch_init 
+
+car_g24_receive_process:
+3654 20403658 call car_g24_mode_switch 
+3655 20403660 call car_g24_work_mode 
+3656 2040366f call car_g24_bind_mode 
+3657 2020368d branch car_g24_lpm_dipatch 
+
+car_g24_mode_switch:
+3658 2040243e call g24_mode_switch_bind_work 
+
+car_g24_bind_mode_enable:
+3659 6fe0c8c3 fetch 1 ,mem_24g_work_mode 
+365a c1808000 rtnne dongle_bind 
+365b 6fe0cc65 fetch 1 ,mem_car_24g_bind_enable_delay_count 
+365c 243a2493 nbranch g24_switch_work_mode ,blank 
+365d 6fe0ca45 fetch 1 ,mem_car_24g_status 
+365e c0012493 beq work_search ,g24_switch_work_mode 
+365f 20600000 rtn 
+
+car_g24_work_mode:
+3660 6fe0c8c3 fetch 1 ,mem_24g_work_mode 
+3661 c1800000 rtnne dongle_work 
+3662 20402497 call g24_work_mode_start 
+3663 2037b66d branch car_g24_ch_polling_clear ,user3 
+
+car_g24_receive_ch_polling:
+3664 6fe0cc6d fetch 1 ,mem_car_enter_lpm_flag 
+3665 207a0000 rtn blank 
+3666 6fe0cc6e fetch 1 ,mem_car_24g_ch_polling 
+3667 1fe0fe01 increase 1 ,pdata 
+3668 67e0cc6e store 1 ,mem_car_24g_ch_polling 
+3669 c002366d beq 4 ,car_g24_ch_polling_clear 
+366a 20402281 call g24_ch 
+366b 204023e8 call g24_receive_packet_start 
+366c 2437b664 nbranch car_g24_receive_ch_polling ,user3 
+
+car_g24_ch_polling_clear:
+366d 704c6e00 jam 0 ,mem_car_24g_ch_polling 
+366e 20600000 rtn 
+
+car_g24_bind_mode:
+366f 6fe0c8c3 fetch 1 ,mem_24g_work_mode 
+3670 c1808000 rtnne dongle_bind 
+3671 2040234b call g24_bind_init 
+3672 20403683 call car_g24_bind_device_addr 
+3673 20402359 call g24_bind_data_process 
+3674 6fe0c884 fetch 1 ,mem_24g_bind_device_status 
+3675 243a367c nbranch car_g24_bind_mode_exit ,blank 
+3676 2040253a call g24_nodata_process 
+3677 6fe0c8c1 fetch 1 ,mem_24g_nodata_timer_enable 
+3678 207a0000 rtn blank 
+3679 58000000 setarg 0 
+367a 67e248dd store 4 ,mem_24g_device1_addr 
+367b 20600000 rtn 
+
+car_g24_bind_mode_exit:
+367c 7048c000 jam 0 ,mem_24g_mode_switch 
+367d da200000 arg 0 ,rega 
+367e 2040786c call ui_led_off_global 
+367f 20402493 call g24_switch_work_mode 
+3680 204022b2 call g24_timer_init 
+3681 6fe240a8 fetch 4 ,mem_lap 
+3682 20202292 branch g24_update_addr_and_synccrc8 
+
+car_g24_bind_device_addr:
+3683 6fe248dd fetch 4 ,mem_24g_device1_addr 
+3684 207a0000 rtn blank 
+3685 20202292 branch g24_update_addr_and_synccrc8 
+
+car_g24_cb_data_device1:
+3686 6fe1478f fetch 2 ,mem_ui_state_map 
+3687 c3848000 rtnbit1 ui_state_ble_connected 
+3688 6fe14a46 fetch 2 ,mem_car_24g_no_data_timeout_count 
+3689 67e14a48 store 2 ,mem_car_24g_no_data_timeout_timer 
+368a 704c6401 jam work_paired ,mem_car_24g_received_pac 
+368b da204898 arg mem_24g_rxdata_temp + 3 ,rega 
+368c 20203593 branch car_24g_receive_data 
+
+car_g24_lpm_dipatch:
+368d 6fe0cc6d fetch 1 ,mem_car_enter_lpm_flag 
+368e 207a0000 rtn blank 
+368f 20403695 call car_g24_lpm_wait 
+3690 24740000 nrtn user 
+3691 6fe1c85f fetch 3 ,mem_24g_enter_hibernate 
+3692 20407e1f call clk2lpo 
+3693 604a4160 storet 4 ,mem_sleep_counter 
+3694 20201464 branch lpm_sleep 
+
+car_g24_lpm_wait:
+3695 78347c00 enable user 
+3696 20401436 call lpo_calibration 
+3697 6fe1c174 fetch 3 ,mem_clks_per_lpo 
+3698 203a7ec7 branch disable_user ,blank 
+3699 202034da branch car_le_process_lpm_before 
+
+dongle_init:
+369a 580036cc setarg dongle_dispatch 
+369b 67e1488d store 2 ,mem_cb_24g_receive_process 
+369c 5800379c setarg dongle_g24_mouse 
+369d 67e14891 store 2 ,mem_cb_24g_data_device1 
+369e 580037ad setarg dongle_g24_kb 
+369f 67e14893 store 2 ,mem_cb_24g_data_device2 
+36a0 58003773 setarg dongle_ackpayload_prep 
+36a1 67e1488f store 2 ,mem_cb_24g_ackpayload 
+36a2 580036d8 setarg dongle_usb_config 
+36a3 67e10b45 store 2 ,mem_cb_usb_config 
+36a4 20207a08 branch usb_init 
+
+dongle_default_init:
+36a5 6fe08a2b fetch 1 ,mem_tmp_buffer + dongle_kb_bind_efuse_offect 
+36a6 67e0c8f5 store 1 ,mem_dg_kb_bind_flag 
+36a7 204036c7 call dongle_xtal_select 
+36a8 6fe0c915 fetch 1 ,mem_dg_sys_config 
+36a9 2feffe05 isolate1 dg_enable_eeprom ,pdata 
+36aa 2020b6ae branch dongle_default_no_eeprom ,true 
+36ab 6fe0c915 fetch 1 ,mem_dg_sys_config 
+36ac 2feffe06 isolate1 dg_enable_new_chmap ,pdata 
+36ad 2040a2c4 call g24_chamap_param_update ,true 
+
+dongle_default_no_eeprom:
+36ae 6fe0c915 fetch 1 ,mem_dg_sys_config 
+36af 1fe17e0f and_into 0x0f ,pdata 
+36b0 67e0c1e8 store 1 ,mem_tx_power 
+36b1 20403174 call app_sys_param_init 
+36b2 704881ff jam 0xff ,mem_rssi_buff_index 
+36b3 58000c4b setarg mem_dg_rssi_noise_buffer 
+36b4 67e148ed store 2 ,mem_rssi_noise_buffer_ptr 
+36b5 58000d4b setarg mem_dg_rssi_noise_dg_buffer 
+36b6 67e148ef store 2 ,mem_rssi_noise_self_buffer_ptr 
+36b7 58000e4b setarg mem_dg_rssi_noise_ms_buffer 
+36b8 67e148f1 store 2 ,mem_rssi_noise_device1_buffer_ptr 
+36b9 58000f4b setarg mem_dg_rssi_noise_kb_buffer 
+36ba 67e148f3 store 2 ,mem_rssi_noise_device2_buffer_ptr 
+36bb 70488085 jam tx_power_f5db ,mem_24g_pair_tx_power 
+36bc 70493e00 jam 0 ,mem_dg_kb_bind_success 
+36bd 7048d800 jam 0 ,mem_24g_bind_device_living 
+36be 204022d8 call g24_enable_1m 
+36bf 204023dc call g24_receive_init 
+36c0 204022db call g24_pair_param_init 
+36c1 204022b5 call g24_chmap_param_init 
+36c2 6fe0c91f fetch 1 ,mem_dg_usb_tx_interval 
+36c3 67e08b47 store 1 ,mem_usb_tx_interval 
+36c4 6fe4c916 fetch 9 ,mem_dg_usb_vid_pid 
+36c5 67e48b48 store 9 ,mem_usb_vid_pid 
+36c6 20600000 rtn 
+
+dongle_xtal_select:
+36c7 7040c518 jam xtal_24m ,mem_fcomp_div 
+36c8 6fe0c915 fetch 1 ,mem_dg_sys_config 
+36c9 c4038000 rtnbit0 dg_enable_xtal_24m 
+36ca 7040c508 jam xtal_16m ,mem_fcomp_div 
+36cb 20600000 rtn 
+
+dongle_dispatch:
+36cc 6fe0c8bd fetch 1 ,mem_24g_pair_mode 
+36cd c0003763 beq 0x00 ,dongle_auto_bind 
+36ce c000b6fd beq 0x01 ,dongle_pc_bind 
+36cf 20600000 rtn 
+
+dongle_read_kb_bind_status:
+36d0 d8400001 arg 1 ,temp 
+36d1 da2048f5 arg mem_dg_kb_bind_flag ,rega 
+36d2 5800002a setarg dongle_kb_bind_efuse_offect 
+36d3 20205f00 branch efuse_read_data 
+
+dongle_write_kb_bind_status:
+36d4 df200001 arg 1 ,loopcnt 
+36d5 da2048f5 arg mem_dg_kb_bind_flag ,rega 
+36d6 d840002a arg dongle_kb_bind_efuse_offect ,temp 
+36d7 20205f12 branch efuse_program 
+
+dongle_usb_config:
+36d8 6fe0c915 fetch 1 ,mem_dg_sys_config 
+36d9 c28236dc bbit1 dg_enable_kb_icon ,dongle_usb_config_kb 
+36da 6fe0c8f5 fetch 1 ,mem_dg_kb_bind_flag 
+36db c0ad36e0 bne dongle_kb_bind_success ,dongle_usb_config_param 
+
+dongle_usb_config_kb:
+36dc 7048f55a jam dongle_kb_bind_success ,mem_dg_kb_bind_flag 
+36dd 6ff21aac fetch 4 ,usb_devicedata_addr + 9 
+36de 79207e1d set1 29 ,pdata 
+36df 67e20aa0 store 4 ,mem_devicedesc + 9 
+
+dongle_usb_config_param:
+36e0 204036f7 call dongle_usb_device_name 
+36e1 20407a5b call usb_tx_interval_config 
+36e2 204036e4 call dongle_usb_vid_pid_config 
+36e3 202036ed branch dongle_usb_hid_icon_config 
+
+dongle_usb_vid_pid_config:
+36e4 6fe08b48 fetch 1 ,mem_usb_vid_pid 
+36e5 207a0000 rtn blank 
+36e6 6fe0c8f5 fetch 1 ,mem_dg_kb_bind_flag 
+36e7 c02d36eb beq dongle_kb_bind_success ,dongle_usb_vid_pid_for_suit 
+
+dongle_usb_vid_pid_for_mouse_only_auto_pair:
+36e8 6fe20b49 fetch 4 ,mem_usb_vid_pid + 1 
+
+dongle_usb_vid_pid_store:
+36e9 67e20aa0 store 4 ,mem_devicedesc + 9 
+36ea 20600000 rtn 
+
+dongle_usb_vid_pid_for_suit:
+36eb 6fe20b4d fetch 4 ,mem_usb_vid_pid + 5 
+36ec 202036e9 branch dongle_usb_vid_pid_store 
+
+dongle_usb_hid_icon_config:
+36ed 6fe0c8f5 fetch 1 ,mem_dg_kb_bind_flag 
+36ee c02d36f3 beq dongle_kb_bind_success ,dongle_usb_kb_hidreportdesc 
+36ef 580099a4 setarg usb_kbdata_vendor_define_addr 
+36f0 67e10a93 store 2 ,mem_hidreportdesc_kb 
+36f1 700ac41a jam 0x1a ,mem_confdesc + 26 
+36f2 20600000 rtn 
+
+dongle_usb_kb_hidreportdesc:
+36f3 580099bf setarg usb_kbdata_addr 
+36f4 67e10a93 store 2 ,mem_hidreportdesc_kb 
+36f5 700ac43f jam 0x3f ,mem_confdesc + 26 
+36f6 20600000 rtn 
+
+dongle_usb_device_name:
+36f7 6fe0c920 fetch 1 ,mem_dg_usb_device_name 
+36f8 207a0000 rtn blank 
+36f9 d8c04920 arg mem_dg_usb_device_name ,contr 
+36fa d8a00b09 arg mem_string2 ,contw 
+36fb df20001e arg 30 ,loopcnt 
+36fc 20207dd4 branch memcpy 
+
+dongle_pc_bind:
+36fd 20402493 call g24_switch_work_mode 
+
+dongle_pc_bind_loop:
+36fe 2040376b call dongle_work_mode_auto 
+36ff 2040249c call g24_bind_mode_auto 
+3700 2040372f call dongle_usb_dispatch 
+3701 202036fe branch dongle_pc_bind_loop 
+
+dongle_g24_blank_data_process:
+3702 20403705 call dongle_g24_ms_blank_data 
+3703 20403714 call dongle_g24_kb_blank_data 
+3704 20203723 branch dongle_g24_kb_mul_blank_data 
+
+dongle_g24_ms_blank_data:
+3705 6fe0c914 fetch 1 ,mem_dg_ms_blank_data_enable 
+3706 207a0000 rtn blank 
+3707 d8e0000b arg timer_ms_blank ,queue 
+3708 20407de9 call timer_check 
+3709 247a0000 nrtn blank 
+370a 70491400 jam 0 ,mem_dg_ms_blank_data_enable 
+370b 58000001 setarg ms_report_id 
+370c 67e08bff store 1 ,mem_usb_mouse_data 
+370d 58000000 setarg 0 
+370e e7e38005 istore 7 ,contw 
+
+dongle_usb_tx_ms_data:
+370f 700bf820 jam usb_ep2_ms ,mem_usb_ep2_data 
+
+dongle_usb_tx_enable_ep2:
+3710 6fe08bf9 fetch 1 ,mem_usb_tx_enable 
+3711 79207e02 set1 2 ,pdata 
+3712 67e08bf9 store 1 ,mem_usb_tx_enable 
+3713 20600000 rtn 
+
+dongle_g24_kb_blank_data:
+3714 6fe0c912 fetch 1 ,mem_dg_kb_blank_data_enable 
+3715 207a0000 rtn blank 
+3716 d8e0000e arg timer_kb_blank ,queue 
+3717 20407de9 call timer_check 
+3718 247a0000 nrtn blank 
+3719 70491200 jam 0 ,mem_dg_kb_blank_data_enable 
+371a d8a00c0f arg mem_usb_kb_data ,contw 
+371b df200002 arg 2 ,loopcnt 
+371c 20407d8c call memset0 
+
+dongle_usb_tx_kb_data:
+371d 700c0f00 jam kb_normal_report_id ,mem_usb_kb_data 
+
+dongle_usb_tx_enable_ep1:
+371e 700bf710 jam usb_ep1_kb ,mem_usb_ep1_data 
+371f 6fe08bf9 fetch 1 ,mem_usb_tx_enable 
+3720 79207e01 set1 1 ,pdata 
+3721 67e08bf9 store 1 ,mem_usb_tx_enable 
+3722 20600000 rtn 
+
+dongle_g24_kb_mul_blank_data:
+3723 6fe0c913 fetch 1 ,mem_dg_kb_mul_blank_data_enable 
+3724 207a0000 rtn blank 
+3725 d8e0000c arg timer_kb_mul_blank ,queue 
+3726 20407de9 call timer_check 
+3727 247a0000 nrtn blank 
+3728 70491300 jam 0 ,mem_dg_kb_mul_blank_data_enable 
+3729 d8a00c1f arg mem_usb_kb_multikey ,contw 
+372a df200002 arg 2 ,loopcnt 
+372b 20407d8c call memset0 
+372c 700c1f03 jam kb_multikey_report_id ,mem_usb_kb_multikey 
+
+dongle_usb_tx_multikey_data:
+372d 700bf821 jam usb_ep2_multikey ,mem_usb_ep2_data 
+372e 20203710 branch dongle_usb_tx_enable_ep2 
+
+dongle_usb_dispatch:
+372f 44dd4017 bpatch patch17_2 ,mem_patch17 
+3730 6fe08bed fetch 1 ,mem_usb_remote_wakeup 
+3731 205a377d call dongle_clear_pc_sleep_flag ,blank 
+3732 204079fc call usb_isr 
+3733 6fe08be3 fetch 1 ,mem_usb0_get_set_report 
+3734 207a0000 rtn blank 
+3735 700be300 jam 0 ,mem_usb0_get_set_report 
+3736 6fe10be1 fetch 2 ,mem_usb_setup_bvalue_temp 
+3737 d84002ba arg pc_set_report ,temp 
+3738 98467c00 isub temp ,null 
+3739 24628000 nrtn zero 
+373a 6fe08b61 fetch 1 ,mem_usb0_set_report_data 
+373b c1dd0000 rtnne pc_report_id 
+373c 6fe08b62 fetch 1 ,mem_usb0_set_report_data + 1 
+373d c0503744 beq command_mode ,dongle_dispose_cmd_mode 
+373e c050b74a beq command_bind ,dongle_dispose_cmd_bind 
+373f c0533756 beq command_current_project ,dongle_dispose_cmd_current_project 
+3740 c053b758 beq command_current_mode ,dongle_dispose_cmd_current_mode 
+3741 c054b75e beq command_current_fw_version ,dongle_dispose_cmd_current_fw_version 
+
+dongle_usb0_data_ready_report_set0:
+3742 700be400 jam 0 ,mem_usb0_data_ready_report 
+3743 20600000 rtn 
+
+dongle_dispose_cmd_mode:
+3744 6fe08b63 fetch 1 ,mem_usb0_set_report_data + 2 
+3745 c040b747 beq com_mode_bind ,dongle_enter_bind_mode 
+3746 20203742 branch dongle_usb0_data_ready_report_set0 
+
+dongle_enter_bind_mode:
+3747 20402348 call g24_bind_mode_enable 
+
+dongle_usb0_data_ready_report_set1:
+3748 700be401 jam 1 ,mem_usb0_data_ready_report 
+3749 20600000 rtn 
+
+dongle_dispose_cmd_bind:
+374a 6fe08b63 fetch 1 ,mem_usb0_set_report_data + 2 
+374b c000b74f beq com_bind_get ,dongle_dispose_cmd_get_bind 
+374c c0423752 beq com_bind_exit ,dongle_dispose_cmd_exit_bind 
+374d c053b754 beq com_read_mode ,dongle_dispose_cmd_read_mode 
+374e 20203742 branch dongle_usb0_data_ready_report_set0 
+
+dongle_dispose_cmd_get_bind:
+374f 6fe0c884 fetch 1 ,mem_24g_bind_device_status 
+3750 67e08ba2 store 1 ,mem_usb0_get_report_data + 1 
+3751 20203748 branch dongle_usb0_data_ready_report_set1 
+
+dongle_dispose_cmd_exit_bind:
+3752 20402494 call g24_work_mode_enable 
+3753 2020374f branch dongle_dispose_cmd_get_bind 
+
+dongle_dispose_cmd_read_mode:
+
+dongle_dispose_in_bind_mode:
+3754 700ba2a1 jam command_bind ,mem_usb0_get_report_data + 1 
+3755 20203748 branch dongle_usb0_data_ready_report_set1 
+
+dongle_dispose_cmd_current_project:
+3756 700ba215 jam product_id ,mem_usb0_get_report_data + 1 
+3757 20203748 branch dongle_usb0_data_ready_report_set1 
+
+dongle_dispose_cmd_current_mode:
+3758 6fe0c8c3 fetch 1 ,mem_24g_work_mode 
+3759 c000375c beq dongle_work ,dongle_dispose_in_work_mode 
+375a c000b754 beq dongle_bind ,dongle_dispose_in_bind_mode 
+375b 20600000 rtn 
+
+dongle_dispose_in_work_mode:
+375c 700ba2a0 jam command_mode ,mem_usb0_get_report_data + 1 
+375d 20203748 branch dongle_usb0_data_ready_report_set1 
+
+dongle_dispose_cmd_current_fw_version:
+375e 700ba200 jam fw_version0 ,mem_usb0_get_report_data + 1 
+375f 700ba300 jam fw_version1 ,mem_usb0_get_report_data + 2 
+3760 700ba401 jam fw_version2 ,mem_usb0_get_report_data + 3 
+3761 700ba507 jam fw_version3 ,mem_usb0_get_report_data + 4 
+3762 20203748 branch dongle_usb0_data_ready_report_set1 
+
+dongle_auto_bind:
+3763 2040243a call g24_mode_switch_init 
+
+dongle_auto_bind_loop:
+3764 2040243e call g24_mode_switch_bind_work 
+3765 20402464 call g24_mode_switch_bind_search 
+3766 2040376b call dongle_work_mode_auto 
+3767 2040249c call g24_bind_mode_auto 
+3768 204024b9 call g24_search_mode_auto 
+3769 2040372f call dongle_usb_dispatch 
+376a 20203764 branch dongle_auto_bind_loop 
+
+dongle_work_mode_auto:
+376b 44ddc017 bpatch patch17_3 ,mem_patch17 
+376c 6fe0c8c3 fetch 1 ,mem_24g_work_mode 
+376d c1800000 rtnne dongle_work 
+376e 20402497 call g24_work_mode_start 
+376f 20403702 call dongle_g24_blank_data_process 
+3770 6fe0c8bd fetch 1 ,mem_24g_pair_mode 
+3771 247a0000 nrtn blank 
+3772 2020253a branch g24_nodata_process 
+
+dongle_ackpayload_prep:
+3773 6fe0c839 fetch 1 ,mem_24g_data_type 
+3774 c000b776 beq datatype_device1 ,dongle_ackpayload_prep_mouse 
+3775 c001377f beq datatype_device2 ,dongle_ackpayload_prep_keyboard 
+
+dongle_ackpayload_prep_mouse:
+3776 6fe0c93f fetch 1 ,mem_dg_pc_sleep_flag 
+3777 c2803785 bbit1 0 ,dongle_pc_sleep_ackpayload_prep_mouse 
+3778 20203781 branch dongle_ackpayload_prep_end 
+
+dongle_set_pc_sleep_flag:
+3779 6fe0c09a fetch 1 ,mem_device_option 
+377a c1820000 rtnne dvc_op_dongle 
+377b 70493f03 jam 3 ,mem_dg_pc_sleep_flag 
+377c 20600000 rtn 
+
+dongle_clear_pc_sleep_flag:
+377d 70493f00 jam 0 ,mem_dg_pc_sleep_flag 
+377e 20600000 rtn 
+
+dongle_ackpayload_prep_keyboard:
+377f 6fe0c93f fetch 1 ,mem_dg_pc_sleep_flag 
+3780 c280b789 bbit1 1 ,dongle_pc_sleep_ackpayload_prep_keyboard 
+
+dongle_ackpayload_prep_end:
+3781 6fe0c8be fetch 1 ,mem_24g_ackpayload_enable 
+3782 c000b790 beq bind_ackpayload ,dongle_g24_bind_ackpayload_prep 
+3783 c001b794 beq kb_led_ackpayload ,dongle_g24_kb_led_ackpayload_prep 
+3784 20600000 rtn 
+
+dongle_pc_sleep_ackpayload_prep_mouse:
+3785 6fe0c93f fetch 1 ,mem_dg_pc_sleep_flag 
+3786 793ffe00 set0 0 ,pdata 
+3787 67e0c93f store 1 ,mem_dg_pc_sleep_flag 
+3788 2020378c branch dongle_pc_sleep_ackpayload_prep 
+
+dongle_pc_sleep_ackpayload_prep_keyboard:
+3789 6fe0c93f fetch 1 ,mem_dg_pc_sleep_flag 
+378a 793ffe01 set0 1 ,pdata 
+378b 67e0c93f store 1 ,mem_dg_pc_sleep_flag 
+
+dongle_pc_sleep_ackpayload_prep:
+378c 70483801 jam 0x01 ,mem_24g_datalen 
+378d 580000ff setarg 0xff 
+378e 67e0c7c9 store 1 ,mem_24g_txbuf 
+378f 20600000 rtn 
+
+dongle_g24_bind_ackpayload_prep:
+3790 7048be01 jam 1 ,mem_24g_ackpayload_enable 
+3791 204023bb call g24_binding_device_check 
+3792 24778000 nrtn user3 
+3793 20202354 branch g24_bind_ackpayload_prep 
+
+dongle_g24_kb_led_ackpayload_prep:
+3794 6fe0c7a9 fetch 1 ,mem_24g_rxbuf + 2 
+3795 c000b790 beq datatype_device1 ,dongle_g24_bind_ackpayload_prep 
+3796 c07fb790 beq datatype_attemp ,dongle_g24_bind_ackpayload_prep 
+3797 700be500 jam 0 ,mem_usb_tx_win_enable 
+3798 70483801 jam 0x01 ,mem_24g_datalen 
+3799 6fe0c8ce fetch 1 ,mem_24g_led_status 
+379a 67e0c7c9 store 1 ,mem_24g_txbuf 
+379b 20600000 rtn 
+
+dongle_g24_mouse:
+379c 58000001 setarg ms_report_id 
+379d 67e08bff store 1 ,mem_usb_mouse_data 
+379e 6fe3c898 fetch 7 ,mem_24g_rxdata_temp + 3 
+379f e7e38005 istore 7 ,contw 
+37a0 6fe0c898 fetch 1 ,mem_24g_rxdata_temp + 3 
+37a1 245a37a5 ncall dongle_g24_ms_enable_blank_data_forcibly ,blank 
+37a2 6fe0c898 fetch 1 ,mem_24g_rxdata_temp + 3 
+37a3 205a37a9 call dongle_g24_ms_disable_blank_data_forcibly ,blank 
+37a4 2020370f branch dongle_usb_tx_ms_data 
+
+dongle_g24_ms_enable_blank_data_forcibly:
+37a5 70491401 jam 1 ,mem_dg_ms_blank_data_enable 
+37a6 58000180 setarg timer_ms_blank_delay 
+37a7 d8e0000b arg timer_ms_blank ,queue 
+37a8 20207ddb branch timer_init 
+
+dongle_g24_ms_disable_blank_data_forcibly:
+37a9 70491400 jam 0 ,mem_dg_ms_blank_data_enable 
+37aa 58000000 setarg 0 
+37ab d8e0000b arg timer_ms_blank ,queue 
+37ac 20207ddb branch timer_init 
+
+dongle_g24_kb:
+37ad 6fe0c898 fetch 1 ,mem_24g_rxdata_temp + 3 
+37ae c00037b2 beq 0 ,dongle_g24_kb_type0 
+37af c00137e5 beq 2 ,dongle_g24_kb_type2 
+37b0 c001b7cd beq 3 ,dongle_g24_kb_type3 
+37b1 202023fa branch g24_rx_interrupt_clear 
+
+dongle_g24_kb_type0:
+37b2 6fe0c89a fetch 1 ,mem_24g_rxdata_temp + 5 
+37b3 67e0c8be store 1 ,mem_24g_ackpayload_enable 
+37b4 70489a00 jam 0 ,mem_24g_rxdata_temp + 5 
+37b5 d8a00c0f arg mem_usb_kb_data ,contw 
+37b6 d8c04899 arg mem_24g_rxdata_temp + 4 ,contr 
+37b7 df200008 arg 8 ,loopcnt 
+37b8 20407dd4 call memcpy 
+37b9 6fe40c0f fetch 8 ,mem_usb_kb_data 
+37ba 245a37c5 ncall dongle_g24_kb_enable_blank_data_forcibly ,blank 
+37bb 6fe40c0f fetch 8 ,mem_usb_kb_data 
+37bc 205a37c9 call dongle_g24_kb_disable_blank_data_forcibly ,blank 
+37bd 6fe40c0f fetch 8 ,mem_usb_kb_data 
+37be 67e448f6 store 8 ,mem_dg_kb_data_sta_data 
+37bf 684c48fe fetcht 8 ,mem_dg_kb_data_last_data 
+37c0 98467c00 isub temp ,null 
+37c1 2442b71e ncall dongle_usb_tx_enable_ep1 ,zero 
+37c2 6fe448f6 fetch 8 ,mem_dg_kb_data_sta_data 
+37c3 67e448fe store 8 ,mem_dg_kb_data_last_data 
+37c4 202023fa branch g24_rx_interrupt_clear 
+
+dongle_g24_kb_enable_blank_data_forcibly:
+37c5 70491201 jam 1 ,mem_dg_kb_blank_data_enable 
+37c6 58000180 setarg timer_kb_blank_delay 
+37c7 d8e0000e arg timer_kb_blank ,queue 
+37c8 20207ddb branch timer_init 
+
+dongle_g24_kb_disable_blank_data_forcibly:
+37c9 70491200 jam 0 ,mem_dg_kb_blank_data_enable 
+37ca 58000000 setarg 0 
+37cb d8e0000e arg timer_kb_blank ,queue 
+37cc 20207ddb branch timer_init 
+
+dongle_g24_kb_type3:
+37cd d8a00c1f arg mem_usb_kb_multikey ,contw 
+37ce d8c04898 arg mem_24g_rxdata_temp + 3 ,contr 
+37cf df200003 arg 3 ,loopcnt 
+37d0 20407dd4 call memcpy 
+37d1 6fe10c20 fetch 2 ,mem_usb_kb_multikey + 1 
+37d2 245a37dd ncall dongle_g24_kb_mul_enable_blank_data_forcibly ,blank 
+37d3 6fe10c20 fetch 2 ,mem_usb_kb_multikey + 1 
+37d4 205a37e1 call dongle_g24_kb_mul_disable_blank_data_forcibly ,blank 
+37d5 6fe18c1f fetch 3 ,mem_usb_kb_multikey 
+37d6 67e1c906 store 3 ,mem_dg_kb_multikey_sta_data 
+37d7 6849c909 fetcht 3 ,mem_dg_kb_multikey_last_data 
+37d8 98467c00 isub temp ,null 
+37d9 2442b72d ncall dongle_usb_tx_multikey_data ,zero 
+37da 6fe1c906 fetch 3 ,mem_dg_kb_multikey_sta_data 
+37db 67e1c909 store 3 ,mem_dg_kb_multikey_last_data 
+37dc 202023fa branch g24_rx_interrupt_clear 
+
+dongle_g24_kb_mul_enable_blank_data_forcibly:
+37dd 70491301 jam 1 ,mem_dg_kb_mul_blank_data_enable 
+37de 58000180 setarg timer_kb_mul_blank_delay 
+37df d8e0000c arg timer_kb_mul_blank ,queue 
+37e0 20207ddb branch timer_init 
+
+dongle_g24_kb_mul_disable_blank_data_forcibly:
+37e1 70491300 jam 0 ,mem_dg_kb_mul_blank_data_enable 
+37e2 58000000 setarg 0 
+37e3 d8e0000c arg timer_kb_mul_blank ,queue 
+37e4 20207ddb branch timer_init 
+
+dongle_g24_kb_type2:
+37e5 d8a00c2f arg mem_usb_kb_system ,contw 
+37e6 d8c04898 arg mem_24g_rxdata_temp + 3 ,contr 
+37e7 df200002 arg 2 ,loopcnt 
+37e8 20407dd4 call memcpy 
+37e9 6fe10c2f fetch 2 ,mem_usb_kb_system 
+37ea 245a37f5 ncall dongle_g24_kb_sys_enable_blank_data_forcibly ,blank 
+37eb 6fe10c2f fetch 2 ,mem_usb_kb_system 
+37ec 205a37f9 call dongle_g24_kb_sys_disable_blank_data_forcibly ,blank 
+37ed 6fe10c2f fetch 2 ,mem_usb_kb_system 
+37ee 67e1490c store 2 ,mem_dg_kb_system_sta_data 
+37ef 6849490f fetcht 2 ,mem_dg_kb_system_last_data 
+37f0 98467c00 isub temp ,null 
+37f1 2442b7fd ncall dongle_usb_tx_sys_data ,zero 
+37f2 6fe1490c fetch 2 ,mem_dg_kb_system_sta_data 
+37f3 67e1490f store 2 ,mem_dg_kb_system_last_data 
+37f4 202023fa branch g24_rx_interrupt_clear 
+
+dongle_g24_kb_sys_enable_blank_data_forcibly:
+37f5 70491301 jam 1 ,mem_dg_kb_mul_blank_data_enable 
+37f6 58000180 setarg timer_kb_mul_blank_delay 
+37f7 d8e0000c arg timer_kb_mul_blank ,queue 
+37f8 20207ddb branch timer_init 
+
+dongle_g24_kb_sys_disable_blank_data_forcibly:
+37f9 70491300 jam 0 ,mem_dg_kb_mul_blank_data_enable 
+37fa 58000000 setarg 0 
+37fb d8e0000c arg timer_kb_mul_blank ,queue 
+37fc 20207ddb branch timer_init 
+
+dongle_usb_tx_sys_data:
+37fd 700bf822 jam usb_ep2_systemkey ,mem_usb_ep2_data 
+37fe 20203710 branch dongle_usb_tx_enable_ep2 
+
+dongle_g24_store_dvc2_bind_flag:
+37ff 6fe0c09a fetch 1 ,mem_device_option 
+3800 c1820000 rtnne dvc_op_dongle 
+3801 6fe0c8f5 fetch 1 ,mem_dg_kb_bind_flag 
+3802 c12d0000 rtneq dongle_kb_bind_success 
+
+dongle_prep_soft_reset:
+3803 70493e01 jam 1 ,mem_dg_kb_bind_success 
+3804 20600000 rtn 
+
+dongle_kb_bind_soft_reset:
+3805 6fe0c09a fetch 1 ,mem_device_option 
+3806 c1820000 rtnne dvc_op_dongle 
+3807 6fe0c93e fetch 1 ,mem_dg_kb_bind_success 
+3808 207a0000 rtn blank 
+3809 70096400 jam 0 ,mem_temp 
+
+dongle_wirte_efuse_bind_status:
+380a 7048f55a jam dongle_kb_bind_success ,mem_dg_kb_bind_flag 
+380b 204036d4 call dongle_write_kb_bind_status 
+380c 204036d0 call dongle_read_kb_bind_status 
+380d 6fe08964 fetch 1 ,mem_temp 
+380e 1fe0fe01 increase 1 ,pdata 
+380f 67e08964 store 1 ,mem_temp 
+3810 c07fde29 beq 0xff ,soft_reset_chip 
+3811 6fe0c8f5 fetch 1 ,mem_dg_kb_bind_flag 
+3812 c0ad380a bne dongle_kb_bind_success ,dongle_wirte_efuse_bind_status 
+3813 20205e29 branch soft_reset_chip 
+
+module_init:
+3814 20758000 rtn wake 
+3815 20401a55 call le_modified_name 
+3816 5800385b setarg module_process_idle 
+3817 67e14465 store 2 ,mem_cb_idle_process 
+3818 58003848 setarg module_bt_conn_process 
+3819 67e14463 store 2 ,mem_cb_bt_process 
+381a 5800385f setarg module_process_bb_event 
+381b 67e14467 store 2 ,mem_cb_bb_event_process 
+381c 58003844 setarg module_lpm_lock 
+381d 67e1445b store 2 ,mem_cb_check_wakelock 
+381e 58003998 setarg module_hci_cmd_transmit_le_notify 
+381f 67e1446d store 2 ,mem_cb_ble_transmit 
+3820 58003b94 setarg module_hci_event_receive_spp_data 
+3821 67e1465d store 2 ,mem_cb_receive_spp_data 
+3822 58003c37 setarg module_le_receive_data 
+3823 67e1446b store 2 ,mem_cb_att_write 
+3824 58003c4e setarg module_bb_event_timer 
+3825 67e1446f store 2 ,mem_cb_event_timer 
+3826 20403858 call module_spp_clear_last_transmite_clock 
+3827 44de4017 bpatch patch17_4 ,mem_patch17 
+3828 2040382b call module_lpm_uart_init 
+3829 2040383f call module_gpio_init 
+382a 20203baa branch module_hci_event_enter_standby_mode 
+
+module_lpm_uart_init:
+382b 6ff08060 fetch 1 ,core_uart_ctrl 
+382c 793ffe00 set0 bit_uart_control_enable ,pdata 
+382d 67f08060 store 1 ,core_uart_ctrl 
+382e 6fe447b7 fetch 8 ,mem_module_uart_rx_buffer 
+382f 20405f56 call uarta_init_dma_mem 
+3830 6fe147bf fetch uart_baud_len ,mem_module_uarta_baud_rate 
+3831 20405f6a call uarta_init_baud_rate 
+3832 20405f7d call uart_clock_select_main_freq_crystal 
+3833 70807d08 jam gpcfg_uart_txd ,core_gpio_conf + hci_uart_tx_gpio_num 
+3834 70807e49 jam gpcfg_uart_rxd | gpcfg_pullup ,core_gpio_conf + hci_uart_rx_gpio_num 
+3835 7080790a jam gpcfg_uart_rts ,core_gpio_conf + hci_uart_rts_gpio_num 
+3836 70807a0b jam gpcfg_uart_cts ,core_gpio_conf + hci_uart_cts_gpio_num 
+3837 d8400081 arg fun_uart_control_enable | fun_uart_control_setting_rate_baud ,temp 
+3838 6fe147c6 fetch 2 ,mem_module_flag 
+3839 2feffe00 isolate1 module_flag_uart_flow_control ,pdata 
+383a 79208404 setflag true ,bit_uart_control_flow_control ,temp 
+383b 60588060 storet 1 ,core_uart_ctrl 
+383c 20600000 rtn 
+
+module_lpm_init:
+383d 20403858 call module_spp_clear_last_transmite_clock 
+383e 2020382b branch module_lpm_uart_init 
+
+module_gpio_init:
+383f 6848c7ab fetcht 1 ,mem_module_connect_state_gpio 
+3840 2040610d call gpio_config_output 
+3841 204038c2 call module_set_conn_pin_low 
+3842 6848c7a9 fetcht 1 ,mem_module_wake_up_gpio 
+3843 202060f4 branch gpio_config_input 
+
+module_lpm_lock:
+3844 6848c7a9 fetcht 1 ,mem_module_wake_up_gpio 
+3845 204060fd call gpio_get_bit 
+3846 2420b251 nbranch app_put_lpm_wake_lock ,true 
+3847 2020324f branch app_get_lpm_wake_lock 
+
+module_bt_conn_process:
+3848 2040384a call module_spp_enter_sniff 
+3849 20203c5e branch module_control_air_flow 
+
+module_spp_enter_sniff:
+384a 6fe0c78f fetch 1 ,mem_ui_state_map 
+384b c3023858 bbit0 ui_state_bt_spp_conn ,module_spp_clear_last_transmite_clock 
+384c 58003eff setarg 0x3eff 
+384d 684a47ce fetcht 4 ,mem_last_transmite_clock 
+384e 98408400 iadd temp ,temp 
+384f 1c427e00 copy clkn_bt ,pdata 
+3850 98467c00 isub temp ,null 
+3851 24610000 nrtn positive 
+3852 6fe1478f fetch 2 ,mem_ui_state_map 
+3853 c282b858 bbit1 ui_state_bt_sniff ,module_spp_clear_last_transmite_clock 
+3854 6fe147c6 fetch 2 ,mem_module_flag 
+3855 c3850000 rtnbit1 moudle_task_sniff 
+3856 20403c61 call module_set_sniff_task_flag 
+3857 2040328d call app_bt_enter_sniff 
+
+module_spp_clear_last_transmite_clock:
+3858 1c427e00 copy clkn_bt ,pdata 
+3859 67e247ce store 4 ,mem_last_transmite_clock 
+385a 20600000 rtn 
+
+module_process_idle:
+385b 20403c5e call module_control_air_flow 
+385c 2040534f call l2cap_malloc_is_fifo_full 
+385d 247a0000 nrtn blank 
+385e 202038c7 branch module_process_check_hci_command_complete 
+
+module_process_bb_event:
+385f 1a627e00 copy regc ,pdata 
+3860 c000b8af beq bt_evt_bb_connected ,module_process_bb_conn 
+3861 c001387e beq bt_evt_bb_disconnected ,module_process_bb_event_disconned 
+3862 c00238b2 beq bt_evt_reconn_failed ,module_process_reconn_fail 
+3863 c002b89f beq bt_evt_setup_complete ,module_process_setup_complete 
+3864 c0043885 beq bt_evt_spp_connected ,module_process_spp_connected 
+3865 c004b88c beq bt_evt_spp_disconnected ,module_process_spp_disconnected 
+3866 c00538a5 beq bt_evt_pincode_req ,module_process_evt_pincode_req 
+3867 c005b891 beq bt_evt_enter_sniff ,module_process_enter_sniff 
+3868 c006389d beq bt_evt_exit_sniff ,module_process_exit_sniff 
+3869 c009b8b2 beq bt_evt_reconn_page_timeout ,module_process_page_time_out 
+386a c00a38ab beq bt_evt_le_connected ,module_process_le_conn 
+386b c00ab8a1 beq bt_evt_le_disconnected ,module_process_bb_even_le_disconn 
+386c c010b8a6 beq bt_evt_sniff_not_accept ,module_process_sniff_not_accept 
+386d c011b8a7 beq bt_evt_unsniff_accept ,module_process_unsniff_accept 
+386e c01238aa beq bt_evt_unsniff_not_accept ,module_process_unsniff_not_accept 
+386f c0183bf2 beq bt_evt_le_pairing_fail ,module_hci_event_le_pairing_fail 
+3870 c018bbf4 beq bt_evt_le_pairing_success ,module_hci_event_le_pairing_success 
+3871 c0193c02 beq bt_evt_le_start_enc ,module_hci_event_start_enc 
+3872 c019bc00 beq bt_evt_le_pause_enc ,module_hci_event_pause_enc 
+3873 c01a3bec beq bt_evt_le_tk_generate ,module_hci_event_le_tk 
+3874 c01abbd5 beq bt_evt_bt_gkey_generate ,module_hci_event_gkey_generate 
+3875 c01b3bea beq bt_evt_bt_get_passkey ,module_hci_event_passkey_entry_mode 
+3876 c01bbbf6 beq bt_evt_bt_pairing_fail ,module_hci_event_bt_pairing_fail 
+3877 c01c3bf8 beq bt_evt_bt_pairing_success ,module_hci_event_bt_pairing_success 
+3878 c01dbbd5 beq bt_evt_le_gkey_generate ,module_hci_event_gkey_generate 
+3879 c01ebbcc beq bt_evt_store_nvram ,module_hci_event_store_device 
+387a c020b8b4 beq bt_evt_le_ltk_lost ,module_process_ble_ltk_lost 
+387b c02138b6 beq bt_evt_le_update_phy ,module_process_ble_update_phy 
+387c c021bbea beq bt_evt_le_get_passkey ,module_hci_event_passkey_entry_mode 
+387d 20600000 rtn 
+
+module_process_bb_event_disconned:
+387e 20403858 call module_spp_clear_last_transmite_clock 
+387f 6fe0c772 fetch 1 ,mem_flag_pairing_state 
+3880 245a3bf6 ncall module_hci_event_bt_pairing_fail ,blank 
+3881 204038b2 call module_disconn_start 
+3882 6fe1478f fetch 2 ,mem_ui_state_map 
+3883 c4020000 rtnbit0 ui_state_bt_spp_conn 
+3884 2020388c branch module_spp_disconnected 
+
+module_process_spp_connected:
+3885 6fe1478f fetch 2 ,mem_ui_state_map 
+3886 79207e04 set1 ui_state_bt_spp_conn ,pdata 
+3887 67e1478f store 2 ,mem_ui_state_map 
+3888 6fe0c7b4 fetch 1 ,mem_module_spp_lpm_mult 
+3889 67e0c177 store 1 ,mem_lpm_mult 
+388a 204038c2 call module_set_conn_pin_low 
+388b 20203b7f branch module_hci_event_spp_connect 
+
+module_process_spp_disconnected:
+
+module_spp_disconnected:
+388c 6fe1478f fetch 2 ,mem_ui_state_map 
+388d c4020000 rtnbit0 ui_state_bt_spp_conn 
+388e 793ffe04 set0 ui_state_bt_spp_conn ,pdata 
+388f 67e1478f store 2 ,mem_ui_state_map 
+3890 20203b83 branch module_hci_event_spp_disconnect 
+
+module_process_enter_sniff:
+
+module_sniff_param_check:
+3891 20403858 call module_spp_clear_last_transmite_clock 
+3892 6fe14042 fetch 2 ,mem_context + coffset_tsniff 
+3893 1fe37e00 rshift pdata ,pdata 
+3894 68494455 fetcht 2 ,mem_sniff_param_interval 
+3895 98467c00 isub temp ,null 
+3896 2422b898 nbranch module_sniff_param_check_unsniff ,zero 
+3897 20203295 branch app_lpm_mult_enable 
+
+module_sniff_param_check_unsniff:
+3898 6fe147c6 fetch 2 ,mem_module_flag 
+3899 c3848000 rtnbit1 moudle_task_unsniff 
+389a 6ff10112 fetch 2 ,core_uart_rxitems 
+389b 245a3c65 ncall module_set_unsniff_task_flag ,blank 
+389c 2020328b branch app_bt_sniff_exit 
+
+module_process_exit_sniff:
+389d 20403c63 call module_clear_sniff_task_flag 
+389e 20203297 branch app_lpm_mult_disable 
+
+module_process_setup_complete:
+389f 20403858 call module_spp_clear_last_transmite_clock 
+38a0 202038b9 branch module_conn_start 
+
+module_process_bb_even_le_disconn:
+38a1 20401ac8 call le_clr_config_more_data 
+38a2 7047c800 jam 0 ,mem_module_hci_notify_len 
+38a3 204038b2 call module_disconn_start 
+38a4 20203b85 branch module_hci_event_le_disconnect 
+
+module_process_evt_pincode_req:
+38a5 2020325c branch app_bt_set_pincode 
+
+module_process_sniff_not_accept:
+38a6 20203c63 branch module_clear_sniff_task_flag 
+
+module_process_unsniff_accept:
+38a7 6fe147c6 fetch 2 ,mem_module_flag 
+38a8 c304b28d bbit0 moudle_task_unsniff ,app_bt_enter_sniff 
+38a9 20203c67 branch module_clear_unsniff_task_flag 
+
+module_process_unsniff_not_accept:
+38aa 20203c67 branch module_clear_unsniff_task_flag 
+
+module_process_le_conn:
+38ab 204038b9 call module_conn_start 
+38ac 6fe0c7b5 fetch 1 ,mem_module_le_lpm_mult 
+38ad 67e0c177 store 1 ,mem_lpm_mult 
+38ae 20203b81 branch module_hci_event_le_connect 
+
+module_process_bb_conn:
+38af 70476e00 jam 0 ,mem_flag_mode_ssp_pin 
+38b0 20403c63 call module_clear_sniff_task_flag 
+38b1 20203c67 branch module_clear_unsniff_task_flag 
+
+module_process_page_time_out:
+
+module_process_reconn_fail:
+
+module_disconn_start:
+38b2 2040392f call module_start_adv_discovery_by_command 
+38b3 202038b7 branch module_set_conn_pin_high 
+
+module_process_ble_ltk_lost:
+38b4 20402162 call le_send_reject_ind 
+38b5 20201f46 branch le_send_smp_security_request 
+
+module_process_ble_update_phy:
+38b6 20203c18 branch module_hci_event_le_update_phy 
+
+module_set_conn_pin_high:
+38b7 6848c7ab fetcht 1 ,mem_module_connect_state_gpio 
+38b8 2020610d branch gpio_out_active 
+
+module_conn_start:
+38b9 204038bb call module_stop_adv_discovery 
+38ba 202038c2 branch module_set_conn_pin_low 
+
+module_stop_adv_discovery:
+38bb 6fe0c7ae fetch 1 ,mem_module_state 
+38bc 2feffe00 isolate1 moudle_state_bt_bit ,pdata 
+38bd 2040b26f call app_bt_stop_discovery ,true 
+38be 6fe0c7ae fetch 1 ,mem_module_state 
+38bf 2feffe01 isolate1 moudle_state_ble_bit ,pdata 
+38c0 2040b277 call app_ble_stop_adv ,true 
+38c1 20600000 rtn 
+
+module_set_conn_pin_low:
+38c2 6848c7ab fetcht 1 ,mem_module_connect_state_gpio 
+38c3 20206109 branch gpio_out_inactive 
+
+module_process_with_credit:
+38c4 6fe0c659 fetch 1 ,mem_rfcomm_credit_flag 
+38c5 c1000000 rtneq credit_disable 
+38c6 20206547 branch rfcomm_send_uih_without_payload 
+
+module_process_check_hci_command_complete:
+38c7 6ff0810b fetch 1 ,core_uart_status 
+38c8 c28138c4 bbit1 uart_status_rx_fifo_empty ,module_process_with_credit 
+38c9 20405f9d call uarta_prepare_rx 
+38ca efe08003 ifetch 1 ,contru 
+38cb c080b8dd bne 0x01 ,module_hci_in_excp 
+38cc 6ff10112 fetch 2 ,core_uart_rxitems 
+38cd 1fe67c02 sub pdata ,2 ,null 
+38ce 20610000 rtn positive 
+38cf efe08003 ifetch 1 ,contru 
+38d0 67e089cf store 1 ,mem_module_uart_opcode 
+38d1 e8408003 ifetcht 1 ,contru 
+38d2 18622200 copy contru ,rega 
+38d3 604889d0 storet 1 ,mem_module_uart_len 
+38d4 18408403 add temp ,3 ,temp 
+38d5 6ff10112 fetch 2 ,core_uart_rxitems 
+38d6 98460400 isub temp ,temp 
+38d7 24610000 nrtn positive 
+38d8 7009d101 jam hci_discard_packet ,mem_module_temp_nl_discard_packet 
+38d9 204038eb call module_hci_cmd_control 
+38da 6fe089d1 fetch 1 ,mem_module_temp_nl_discard_packet 
+38db c1000000 rtneq hci_not_discard_packet 
+38dc 202038e6 branch module_hci_dicard_packet 
+
+module_hci_in_excp:
+38dd 20407d85 call delay_10ms 
+38de 20403bdb call module_hci_event_invalid_packet 
+38df 202038e0 branch module_hci_release_except 
+
+module_hci_release_except:
+38e0 44dec017 bpatch patch17_5 ,mem_patch17 
+38e1 20405f9d call uarta_prepare_rx 
+38e2 6ff10112 fetch 2 ,core_uart_rxitems 
+38e3 207a0000 rtn blank 
+38e4 98608600 iadd contru ,contru 
+38e5 202038ea branch module_hci_dicard_bytes 
+
+module_hci_dicard_packet:
+38e6 20405f9d call uarta_prepare_rx 
+38e7 18608602 increase 2 ,contu 
+38e8 efe08003 ifetch 1 ,contu 
+38e9 98608600 iadd contu ,contu 
+
+module_hci_dicard_bytes:
+38ea 20205fa9 branch uarta_rxdone 
+
+module_hci_cmd_control:
+38eb 44df4017 bpatch patch17_6 ,mem_patch17 
+38ec 6fe089cf fetch 1 ,mem_module_uart_opcode 
+38ed c000391d beq hci_cmd_set_bt_addr_req ,module_hci_cmd_set_bt_addr 
+38ee c000b922 beq hci_cmd_set_le_addr_req ,module_hci_cmd_set_le_addr 
+38ef c0013927 beq hci_cmd_set_visibility_req ,module_hci_cmd_set_visibility 
+38f0 c001b93c beq hci_cmd_set_bt_name_req ,module_hci_cmd_set_bt_name 
+38f1 c0023946 beq hci_cmd_set_le_name_req ,module_hci_cmd_set_le_name 
+38f2 c002b94a beq hci_cmd_spp_data_req ,module_hci_cmd_receive_spp_data 
+38f3 c004b96c beq hci_cmd_le_data_req ,module_hci_cmd_receive_le_data 
+38f4 c005b9c3 beq hci_cmd_status_irq ,module_hci_cmd_inquire_status 
+38f5 c00639c4 beq hci_cmd_set_pairing_req ,module_hci_cmd_set_pairing_mode 
+38f6 c006b9e8 beq hci_cmd_set_pincode_req ,module_hci_cmd_set_pincode 
+38f7 c00739eb beq hci_cmd_set_uartcontrol_req ,module_hci_cmd_set_uart_control_mode 
+38f8 c007b9f3 beq hci_cmd_set_uart_baud_req ,module_hci_cmd_set_uart_baud 
+38f9 c00839fb beq hci_cmd_version_req ,module_hci_cmd_version_request 
+38fa c008b9ff beq hci_cmd_bt_disconnect ,module_hci_cmd_bt_disconnect 
+38fb c0093a03 beq hci_cmd_ble_disconnect ,module_hci_cmd_ble_disconnect 
+38fc c00aba07 beq hci_cmd_set_cod ,module_hci_cmd_set_cod 
+38fd c0133a0c beq hci_cmd_set_nvram_req ,module_hci_cmd_set_nvram 
+38fe c0143a11 beq hci_cmd_confirm_gkey ,module_hci_cmd_confirm_gkey 
+38ff c014ba21 beq hci_cmd_set_credit_given ,module_hci_cmd_set_credit_given 
+3900 c0153a2a beq hci_cmd_auto_adv_scan ,module_hci_cmd_auto_adv 
+3901 c015ba5d beq hci_cmd_power_req ,module_hci_cmd_power_request 
+3902 c0163a63 beq hci_cmd_power_set ,module_hci_cmd_power_set 
+3903 c0183a6a beq hci_cmd_passkey_entry ,module_hci_cmd_passkey_entry 
+3904 c018ba74 beq hci_cmd_set_gpio ,module_hci_cmd_set_gpio 
+3905 c0193a85 beq hci_cmd_read_gpio ,module_hci_cmd_read_gpio 
+3906 c019ba90 beq hci_cmd_le_set_pairing ,module_hci_cmd_le_set_pairing_mode 
+3907 c01a3abd beq hci_cmd_le_set_adv_data ,module_hci_cmd_le_set_adv_data 
+3908 c01abac0 beq hci_cmd_le_set_scan_data ,module_hci_cmd_le_set_scan_data 
+3909 c01b3ac9 beq hci_cmd_le_send_conn_update_req ,module_hci_cmd_le_send_conn_update_req 
+390a c01bbad2 beq hci_cmd_le_set_adv_parm ,module_hci_cmd_set_le_adv_parameter 
+390b c01c3ad5 beq hci_cmd_le_start_pairing ,module_hci_cmd_le_start_pairing 
+390c c0203add beq hci_cmd_set_wake_gpio ,module_hci_cmd_set_wake_gpio 
+390d c0213ae7 beq hci_cmd_set_tx_power ,module_hci_cmd_set_tx_power 
+390e c0243aec beq hci_cmd_le_confirm_gkey ,module_hci_cmd_le_confirm_gkey 
+390f c024baf7 beq hci_cmd_reject_justwork ,module_hci_cmd_set_reject_justwork_flag 
+3910 c028bafd beq hci_cmd_reset_chip_req ,module_hci_cmd_reset_chip 
+3911 c030bb01 beq hci_cmd_le_set_fixed_passkey ,module_hci_cmd_le_set_fixed_passkey 
+3912 c03b3b10 beq hci_cmd_delete_customize_service ,module_hci_cmd_delete_customize_service 
+3913 c03bbb16 beq hci_cmd_add_service_uuid ,module_hci_cmd_add_service_uuid 
+3914 c03c3b1b beq hci_cmd_add_characteristic_uuid ,module_hci_cmd_add_characteristic_uuid 
+3915 c03d3b51 beq hci_cmd_passkey_entry_input ,module_hci_cmd_le_passkey_entry_input 
+3916 c0483b5f beq hci_cmd_ble_set_phy ,module_hci_cmd_ble_set_phy 
+3917 c048bb64 beq hci_cmd_ble_read_current_phy ,module_hci_cmd_ble_read_current_phy 
+3918 c0493b68 beq hci_cmd_ble_set_dle ,module_hci_cmd_ble_set_dle 
+3919 c049bb6d beq hci_cmd_read_chip_data ,module_hci_cmd_read_chip_data 
+391a c04a3b71 beq hci_cmd_write_chip_data ,module_hci_cmd_write_chip_data 
+391b c07fbb77 beq hci_cmd_close_lpm ,module_hci_cmd_close_lpm 
+391c 20203b79 branch module_hci_event_receive_invalid_cmd 
+
+module_hci_cmd_set_bt_addr:
+391d 6fe089d0 fetch 1 ,mem_module_uart_len 
+391e c0833b79 bne 6 ,module_hci_event_receive_invalid_cmd 
+391f efe30003 ifetch 6 ,contru 
+3920 67e340a8 store 6 ,mem_lap 
+3921 20203b7c branch module_hci_event_receive_valid_cmd 
+
+module_hci_cmd_set_le_addr:
+3922 6fe089d0 fetch 1 ,mem_module_uart_len 
+3923 c0833b79 bne 6 ,module_hci_event_receive_invalid_cmd 
+3924 efe30003 ifetch 6 ,contru 
+3925 67e3437a store 6 ,mem_le_lap 
+3926 20203b7c branch module_hci_event_receive_valid_cmd 
+
+module_hci_cmd_set_visibility:
+3927 6fe089d0 fetch 1 ,mem_module_uart_len 
+3928 c080bb79 bne 1 ,module_hci_event_receive_invalid_cmd 
+3929 e8408003 ifetcht 1 ,contru 
+392a 6048c7b6 storet 1 ,mem_module_bluetooth_stauts_by_command 
+392b 20403b7c call module_hci_event_receive_valid_cmd 
+392c 6fe1478f fetch 2 ,mem_ui_state_map 
+392d c3848000 rtnbit1 ui_state_ble_connected 
+392e c3800000 rtnbit1 ui_state_bt_connected 
+
+module_start_adv_discovery_by_command:
+392f 6fe0c7ae fetch 1 ,mem_module_state 
+3930 2feffe00 isolate1 moudle_state_bt_bit ,pdata 
+3931 2420b935 nbranch moudle_start_adv_by_command ,true 
+3932 6848c7b6 fetcht 1 ,mem_module_bluetooth_stauts_by_command 
+3933 18417e03 and temp ,0x03 ,pdata 
+3934 67e0c09b store 1 ,mem_scan_mode 
+
+moudle_start_adv_by_command:
+3935 6fe0c7ae fetch 1 ,mem_module_state 
+3936 2feffe01 isolate1 moudle_state_ble_bit ,pdata 
+3937 24608000 nrtn true 
+3938 6848c7b6 fetcht 1 ,mem_module_bluetooth_stauts_by_command 
+3939 284ffe02 isolate1 2 ,temp 
+393a 2020b279 branch app_ble_start_adv ,true 
+393b 20203277 branch app_ble_stop_adv 
+
+module_hci_cmd_set_bt_name:
+393c 6fe089d0 fetch 1 ,mem_module_uart_len 
+393d 1fe67c43 sub pdata ,67 ,null 
+393e 24213b79 nbranch module_hci_event_receive_invalid_cmd ,positive 
+393f 67e0c5ff store 1 ,mem_local_name_length 
+3940 df200008 arg 8 ,loopcnt 
+3941 20407d8c call memset0 
+3942 6f2089d0 fetchr loopcnt ,1 ,mem_module_uart_len 
+3943 d8a04600 arg mem_local_name ,contw 
+3944 20405fdf call uart_copy_rx_bytes_fast 
+3945 20203b7c branch module_hci_event_receive_valid_cmd 
+
+module_hci_cmd_set_le_name:
+3946 dfe0001d arg 29 ,pdata 
+3947 d8a042f7 arg mem_le_name_len ,contw 
+3948 20403ac3 call module_hci_cmd_receive_store_mem 
+3949 20201a55 branch le_modified_name 
+
+module_hci_cmd_receive_spp_data:
+394a 6fe0c78f fetch 1 ,mem_ui_state_map 
+394b c3023b79 bbit0 ui_state_bt_spp_conn ,module_hci_event_receive_invalid_cmd 
+394c 20403249 call app_check_sniff 
+394d 2020b95a branch module_hci_cmd_spp_exit_sniff ,true 
+394e 7009d100 jam hci_not_discard_packet ,mem_module_temp_nl_discard_packet 
+394f 20403858 call module_spp_clear_last_transmite_clock 
+3950 6fe0c656 fetch 1 ,mem_remote_credits 
+3951 207a0000 rtn blank 
+3952 6fe14661 fetch 2 ,mem_nl_rx_len_all 
+3953 243a3958 nbranch module_hci_cmd_pass_init_ng_rx_len_all ,blank 
+3954 6fe089d0 fetch 1 ,mem_module_uart_len 
+3955 67e14661 store 2 ,mem_nl_rx_len_all 
+3956 67e1465f store 2 ,mem_nl_rx_data_src 
+3957 6061465f storer contru ,2 ,mem_nl_rx_data_src 
+
+module_hci_cmd_pass_init_ng_rx_len_all:
+3958 2040395c call module_hci_cmd_get_current_packet_len_and_remain_len 
+3959 2020656c branch spp_tx_rfcomm_packet 
+
+module_hci_cmd_spp_exit_sniff:
+395a 7009d100 jam hci_not_discard_packet ,mem_module_temp_nl_discard_packet 
+395b 20203c48 branch module_exit_sniff 
+
+module_hci_cmd_get_current_packet_len_and_remain_len:
+395c 20403962 call module_hci_cmd_get_current_patcket_len 
+395d 6fe14661 fetch 2 ,mem_nl_rx_len_all 
+395e 684947ac fetcht 2 ,mem_current_packet_length 
+395f 98467e00 isub temp ,pdata 
+3960 67e14661 store 2 ,mem_nl_rx_len_all 
+3961 20600000 rtn 
+
+module_hci_cmd_get_current_patcket_len:
+3962 6fe14661 fetch 2 ,mem_nl_rx_len_all 
+3963 6849465a fetcht 2 ,mem_rfcomm_max_frame_size 
+3964 20407ebb call not_greater_than 
+3965 6849464c fetcht 2 ,mem_pn_max_frame_size 
+3966 20407ebb call not_greater_than 
+3967 67e147ac store 2 ,mem_current_packet_length 
+3968 20600000 rtn 
+
+module_hci_command_tx_spp_tx_complete:
+3969 7009d101 jam hci_discard_packet ,mem_module_temp_nl_discard_packet 
+396a 7009cf05 jam hci_cmd_spp_data_req ,mem_module_uart_opcode 
+396b 20203b7c branch module_hci_event_receive_valid_cmd 
+
+module_hci_cmd_receive_le_data:
+396c 6fe1478f fetch 2 ,mem_ui_state_map 
+396d c304bb79 bbit0 ui_state_ble_connected ,module_hci_event_receive_invalid_cmd 
+396e 204039c0 call module_check_ble_encrypt_state 
+396f 20343b79 branch module_hci_event_receive_invalid_cmd ,user 
+3970 7009d100 jam hci_not_discard_packet ,mem_module_temp_nl_discard_packet 
+3971 6fe147c6 fetch 2 ,mem_module_flag 
+3972 c2843991 bbit1 module_flag_ble_data_finish ,module_hci_cmd_receive_le_data_finish 
+3973 6fe0c7c8 fetch 1 ,mem_module_hci_notify_len 
+3974 247a0000 nrtn blank 
+3975 7009d101 jam hci_discard_packet ,mem_module_temp_nl_discard_packet 
+3976 efe10003 ifetch 2 ,contru 
+3977 67e147c9 store 2 ,mem_module_hci_notify_handle 
+3978 606147cb storer contru ,2 ,mem_module_hci_nofiy_addr 
+3979 6fe089d0 fetch 1 ,mem_module_uart_len 
+397a 1fe0fffe pincrease -2 
+397b 24213b79 nbranch module_hci_event_receive_invalid_cmd ,positive 
+397c 2022bb79 branch module_hci_event_receive_invalid_cmd ,zero 
+397d 67e0c7c8 store 1 ,mem_module_hci_notify_len 
+397e 684947c9 fetcht 2 ,mem_module_hci_notify_handle 
+397f 184085ff increase -1 ,temp 
+3980 20401a11 call le_att_get_handle_ptr2 
+3981 203a3994 branch module_hci_cmd_transmit_handle_error ,blank 
+3982 e8420006 ifetcht 4 ,contr 
+3983 59280302 setarg 0x01280302 
+3984 98467c00 isub temp ,null 
+3985 2422b994 nbranch module_hci_cmd_transmit_handle_error ,zero 
+3986 efe08006 ifetch 1 ,contr 
+3987 67e0c7cd store 1 ,mem_module_hci_notify_type 
+3988 1fe17e30 and_into 0x30 ,pdata 
+3989 203a3994 branch module_hci_cmd_transmit_handle_error ,blank 
+398a 7009d100 jam hci_not_discard_packet ,mem_module_temp_nl_discard_packet 
+398b 20401ac6 call le_set_config_more_data 
+398c 20403998 call module_hci_cmd_transmit_le_notify 
+398d 20403998 call module_hci_cmd_transmit_le_notify 
+398e 20403998 call module_hci_cmd_transmit_le_notify 
+398f 6fe147c6 fetch 2 ,mem_module_flag 
+3990 c4040000 rtnbit0 module_flag_ble_data_finish 
+
+module_hci_cmd_receive_le_data_finish:
+3991 7009d101 jam hci_discard_packet ,mem_module_temp_nl_discard_packet 
+3992 20403c6b call module_clear_le_tx_data_flag 
+3993 20203b7c branch module_hci_event_receive_valid_cmd 
+
+module_hci_cmd_transmit_handle_error:
+3994 7047c800 jam 0 ,mem_module_hci_notify_len 
+3995 7009d101 jam hci_discard_packet ,mem_module_temp_nl_discard_packet 
+3996 20403c6b call module_clear_le_tx_data_flag 
+3997 20203b79 branch module_hci_event_receive_invalid_cmd 
+
+module_hci_cmd_transmit_le_notify:
+3998 6fe0c7c8 fetch 1 ,mem_module_hci_notify_len 
+3999 207a0000 rtn blank 
+399a 20401b24 call le_fifo_check_nearly_full 
+399b 247a0000 nrtn blank 
+399c 204039bb call module_get_le_remote_mtu 
+399d 44dfc017 bpatch patch17_7 ,mem_patch17 
+399e 6fe14380 fetch 2 ,mem_le_local_mtu 
+399f 20407ebb call not_greater_than 
+39a0 1fe20400 copy pdata ,temp 
+39a1 6fe0c435 fetch 1 ,mem_le_l2cap_att_states 
+39a2 c3800000 rtnbit1 ble_l2cap_recv_confirmation_packet 
+39a3 1840fffd add temp ,-3 ,pdata 
+39a4 d84000fb arg 251 ,temp 
+39a5 20407ebb call not_greater_than 
+39a6 6848c7c8 fetcht 1 ,mem_module_hci_notify_len 
+39a7 20407ebb call not_greater_than 
+39a8 1fe22200 copy pdata ,rega 
+39a9 18427e00 copy temp ,pdata 
+39aa 9a267e00 isub rega ,pdata 
+39ab 67e0c7c8 store 1 ,mem_module_hci_notify_len 
+39ac 204039b6 call module_hci_cmd_transmit_le_notify_malloc_l2cap 
+39ad 6fe147cb fetch 2 ,mem_module_hci_nofiy_addr 
+39ae 1fe20600 copy pdata ,contru 
+39af 1a227200 copy rega ,loopcnt 
+39b0 20405fdf call uart_copy_rx_bytes_fast 
+39b1 18627e00 copy contru ,pdata 
+39b2 67e147cb store 2 ,mem_module_hci_nofiy_addr 
+39b3 6fe0c7c8 fetch 1 ,mem_module_hci_notify_len 
+39b4 247a0000 nrtn blank 
+39b5 20203c69 branch module_set_le_tx_data_flag 
+
+module_hci_cmd_transmit_le_notify_malloc_l2cap:
+39b6 684947c9 fetcht 2 ,mem_module_hci_notify_handle 
+39b7 6fe0c7cd fetch 1 ,mem_module_hci_notify_type 
+39b8 c2829e68 bbit1 bit_characteristic_indicate ,le_att_malloc_tx_indication 
+39b9 c2821e5f bbit1 bit_characteristic_notify ,le_att_malloc_tx_notify 
+39ba 20600000 rtn 
+
+module_get_le_remote_mtu:
+39bb d8400017 arg 0x17 ,temp 
+39bc 6fe147c6 fetch 2 ,mem_module_flag 
+39bd c3808000 rtnbit1 module_flag_ble_send_mtu23 
+39be 68494382 fetcht 2 ,mem_le_remote_mtu 
+39bf 20600000 rtn 
+
+module_check_ble_encrypt_state:
+39c0 6fe147c6 fetch 2 ,mem_module_flag 
+39c1 c2811e39 bbit1 module_flag_ble_data_encrypt ,le_check_encrypt_state 
+39c2 20207ec7 branch disable_user 
+
+module_hci_cmd_inquire_status:
+39c3 20203bae branch module_hci_event_status_res 
+
+module_hci_cmd_set_pairing_mode:
+39c4 efe08003 ifetch 1 ,contru 
+39c5 c040b9d1 beq br_pairing_mode_secure_connect_justwork ,module_hci_pairing_just_work_sc 
+39c6 c04139d3 beq br_pairing_mode_secure_connect_passkey ,module_hci_pairing_passkey_sc 
+39c7 c041b9d5 beq br_pairing_mode_secure_connect_numeric ,module_hci_pairing_numeric_comparison_sc 
+39c8 1fe22200 copy pdata ,rega 
+39c9 20406f26 call sp_br_secure_connection_disable 
+39ca 204075af call sc_reset 
+39cb 1a227e00 copy rega ,pdata 
+39cc c00039d7 beq br_pairing_mode_pincode ,module_hci_pairing_pincode_mode 
+39cd c000b9da beq br_pairing_mode_justwork ,module_hci_pairing_just_work_mode 
+39ce c00139e4 beq br_pairing_mode_passkey ,module_hci_pairing_passkey 
+39cf c001b9e6 beq br_pairing_mode_numeric ,module_hci_pairing_numeric_comparison 
+39d0 20203b79 branch module_hci_event_receive_invalid_cmd 
+
+module_hci_pairing_just_work_sc:
+39d1 20406f22 call sp_br_secure_connection_enable 
+39d2 202039da branch module_hci_pairing_just_work_mode 
+
+module_hci_pairing_passkey_sc:
+39d3 20406f22 call sp_br_secure_connection_enable 
+39d4 202039e4 branch module_hci_pairing_passkey 
+
+module_hci_pairing_numeric_comparison_sc:
+39d5 20406f22 call sp_br_secure_connection_enable 
+39d6 202039e6 branch module_hci_pairing_numeric_comparison 
+
+module_hci_pairing_pincode_mode:
+39d7 20406f2d call sp_reset 
+39d8 70476700 jam 0 ,mem_ssp_enable 
+39d9 20203b7c branch module_hci_event_receive_valid_cmd 
+
+module_hci_pairing_just_work_mode:
+39da 58000003 setarg io_capability_no_input_no_output 
+
+module_hci_sspairing_mode:
+39db 67e0c76f store 1 ,mem_ssp_mode_flag 
+39dc 67e0c768 store 1 ,mem_lmp_io_cap_payload_iocap 
+39dd 58000000 setarg oob_data_present_not_present 
+39de 67e0c769 store 1 ,mem_lmp_io_cap_payload_oob_auth_data 
+39df 58000004 setarg auth_req_mitm_protection_not_required_general_bonding 
+39e0 67e0c76a store 1 ,mem_lmp_io_cap_payload_auth_req 
+39e1 2040580c call ssp_enable 
+39e2 70476701 jam 1 ,mem_ssp_enable 
+39e3 20203b7c branch module_hci_event_receive_valid_cmd 
+
+module_hci_pairing_passkey:
+39e4 58000002 setarg io_capability_keyboard_only 
+39e5 202039db branch module_hci_sspairing_mode 
+
+module_hci_pairing_numeric_comparison:
+39e6 58000001 setarg io_capability_display_yesno 
+39e7 202039db branch module_hci_sspairing_mode 
+
+module_hci_cmd_set_pincode:
+39e8 dfe00010 arg 16 ,pdata 
+39e9 d8a04796 arg mem_pin_length ,contw 
+39ea 20203ac3 branch module_hci_cmd_receive_store_mem 
+
+module_hci_cmd_set_uart_control_mode:
+39eb efe08003 ifetch 1 ,contru 
+39ec 6848c7c6 fetcht 1 ,mem_module_flag 
+39ed 7d3a0400 nsetflag blank ,module_flag_uart_flow_control ,temp 
+39ee 6048c7c6 storet 1 ,mem_module_flag 
+39ef 68588060 fetcht 1 ,core_uart_ctrl 
+39f0 7d3a0404 nsetflag blank ,bit_uart_control_flow_control ,temp 
+39f1 60588060 storet 1 ,core_uart_ctrl 
+39f2 20203b7c branch module_hci_event_receive_valid_cmd 
+
+module_hci_cmd_set_uart_baud:
+39f3 6f2089d0 fetchr loopcnt ,1 ,mem_module_uart_len 
+39f4 20407e2d call string2dec_from_uart 
+39f5 20405f72 call uart_calc_baud_rate_config 
+39f6 67e147bf store uart_baud_len ,mem_module_uarta_baud_rate 
+39f7 20403b7c call module_hci_event_receive_valid_cmd 
+39f8 20407e7c call wait_uarttx 
+39f9 6fe147bf fetch uart_baud_len ,mem_module_uarta_baud_rate 
+39fa 20205f6a branch uarta_init_baud_rate 
+
+module_hci_cmd_version_request:
+39fb da200002 arg 2 ,rega 
+39fc da4047a7 arg mem_soft_version_num ,regb 
+39fd d8400000 arg 0 ,temp 
+39fe 20203b87 branch module_hci_event_set_cmd 
+
+module_hci_cmd_bt_disconnect:
+39ff 6fe1478f fetch 2 ,mem_ui_state_map 
+3a00 c3003b79 bbit0 ui_state_bt_connected ,module_hci_event_receive_invalid_cmd 
+
+module_hci_cmd_bt_disconnect_doing:
+3a01 20403b7c call module_hci_event_receive_valid_cmd 
+3a02 20203268 branch app_bt_disconnect 
+
+module_hci_cmd_ble_disconnect:
+3a03 6fe1478f fetch 2 ,mem_ui_state_map 
+3a04 c304bb79 bbit0 ui_state_ble_connected ,module_hci_event_receive_invalid_cmd 
+
+module_hci_cmd_ble_disconnect_doing:
+3a05 20403b7c call module_hci_event_receive_valid_cmd 
+3a06 20203281 branch app_ble_disconnect 
+
+module_hci_cmd_set_cod:
+3a07 6fe089d0 fetch 1 ,mem_module_uart_len 
+3a08 c081bb79 bne 3 ,module_hci_event_receive_invalid_cmd 
+3a09 efe18003 ifetch 3 ,contru 
+3a0a 67e1c0b2 store 3 ,mem_class 
+3a0b 20203b7c branch module_hci_event_receive_valid_cmd 
+
+module_hci_cmd_set_nvram:
+3a0c 6f2089d0 fetchr loopcnt ,1 ,mem_module_uart_len 
+3a0d 6fe14489 fetch 2 ,mem_nv_data_ptr 
+3a0e 1fe20a00 icopy contw 
+3a0f 20405fdf call uart_copy_rx_bytes_fast 
+3a10 20203b7c branch module_hci_event_receive_valid_cmd 
+
+module_hci_cmd_confirm_gkey:
+3a11 6fe1478f fetch 2 ,mem_ui_state_map 
+3a12 c284baec bbit1 ui_state_ble_connected ,module_hci_cmd_le_confirm_gkey 
+3a13 c3003b79 bbit0 ui_state_bt_connected ,module_hci_event_receive_invalid_cmd 
+3a14 efe08003 ifetch 1 ,contru 
+3a15 6848c76e fetcht 1 ,mem_flag_mode_ssp_pin 
+3a16 793a0400 setflag blank ,flag_mode_ssp_pin_comparison_result_bit ,temp 
+3a17 79200407 set1 flag_mode_ssp_pin_reviceve_comparison_bit ,temp 
+3a18 6048c76e storet 1 ,mem_flag_mode_ssp_pin 
+3a19 20403b7c call module_hci_event_receive_valid_cmd 
+3a1a 6fe0c76e fetch 1 ,mem_flag_mode_ssp_pin 
+3a1b c2833a1d bbit1 flag_mode_ssp_pin_recieve_dhkey_bit ,module_hci_cmd_spp_number_comparison_result_is1 
+3a1c 20600000 rtn 
+
+module_hci_cmd_spp_number_comparison_result_is1:
+3a1d c28056e4 bbit1 flag_mode_ssp_pin_comparison_result_bit ,number_comparison_successed 
+3a1e 70476e00 jam 0 ,mem_flag_mode_ssp_pin 
+3a1f 70095b21 jam bt_cmd_dhkey_not_accept ,mem_fifo_temp 
+3a20 202078e5 branch ui_ipc_send_cmd 
+
+module_hci_cmd_set_credit_given:
+3a21 6fe0c78f fetch 1 ,mem_ui_state_map 
+3a22 c4020000 rtnbit0 ui_state_bt_spp_conn 
+3a23 6fe0c659 fetch 1 ,mem_rfcomm_credit_flag 
+3a24 c1000000 rtneq credit_disable 
+3a25 efe08003 ifetch 1 ,contru 
+3a26 6848c657 fetcht 1 ,mem_credit_given 
+3a27 98408400 iadd temp ,temp 
+3a28 6048c657 storet 1 ,mem_credit_given 
+3a29 20600000 rtn 
+
+module_hci_cmd_auto_adv:
+3a2a df200040 arg 0x40 ,loopcnt 
+3a2b d8a043e7 arg mem_le_adv_data_len ,contw 
+3a2c 20407d9b call clear_mem 
+3a2d 58000000 setarg 0 
+3a2e 67e08974 store 1 ,mem_regb 
+3a2f 1a220600 copy rega ,contru 
+
+module_hci_cmd_auto_adv_loop:
+3a30 18627e00 copy contru ,pdata 
+3a31 67e10978 store 2 ,mem_regc 
+3a32 20403a58 call module_hci_cmd_auto_adv_adv_analys 
+3a33 6fe08974 fetch 1 ,mem_regb 
+3a34 68488964 fetcht 1 ,mem_temp 
+3a35 18408401 increase 1 ,temp 
+3a36 9840fe00 iadd temp ,pdata 
+3a37 67e08974 store 1 ,mem_regb 
+3a38 1fe67c1f sub pdata ,31 ,null 
+3a39 24213a44 nbranch module_hci_cmd_auto_adv_store_scan ,positive 
+
+module_hci_cmd_auto_adv_store_adv:
+3a3a 6848c3e7 fetcht 1 ,mem_le_adv_data_len 
+3a3b 580043e8 setarg mem_le_adv_data 
+3a3c 9840fe00 iadd temp ,pdata 
+3a3d 67e1097d store 2 ,mem_contw 
+3a3e 68488964 fetcht 1 ,mem_temp 
+3a3f 18408401 increase 1 ,temp 
+3a40 6fe0c3e7 fetch 1 ,mem_le_adv_data_len 
+3a41 9840fe00 iadd temp ,pdata 
+3a42 67e0c3e7 store 1 ,mem_le_adv_data_len 
+3a43 20203a4d branch module_hci_cmd_auto_adv_store_common 
+
+module_hci_cmd_auto_adv_store_scan:
+3a44 6848c407 fetcht 1 ,mem_le_scan_data_len 
+3a45 58004408 setarg mem_le_scan_data 
+3a46 9840fe00 iadd temp ,pdata 
+3a47 67e1097d store 2 ,mem_contw 
+3a48 68488964 fetcht 1 ,mem_temp 
+3a49 18408401 increase 1 ,temp 
+3a4a 6fe0c407 fetch 1 ,mem_le_scan_data_len 
+3a4b 9840fe00 iadd temp ,pdata 
+3a4c 67e0c407 store 1 ,mem_le_scan_data_len 
+
+module_hci_cmd_auto_adv_store_common:
+3a4d 6fe1097d fetch 2 ,mem_contw 
+3a4e 1fe20a00 copy pdata ,contw 
+3a4f 6fe10978 fetch 2 ,mem_regc 
+3a50 1fe20600 copy pdata ,contru 
+3a51 18427200 copy temp ,loopcnt 
+3a52 20405fdf call uart_copy_rx_bytes_fast 
+3a53 6fe089d0 fetch 1 ,mem_module_uart_len 
+3a54 68488974 fetcht 1 ,mem_regb 
+3a55 98467c00 isub temp ,null 
+3a56 2422ba30 nbranch module_hci_cmd_auto_adv_loop ,zero 
+3a57 20203b7c branch module_hci_event_receive_valid_cmd 
+
+module_hci_cmd_auto_adv_adv_analys:
+3a58 efe08003 ifetch 1 ,contru 
+3a59 67e08964 store 1 ,mem_temp 
+3a5a efe08003 ifetch 1 ,contru 
+3a5b 67e08970 store 1 ,mem_rega 
+3a5c 20600000 rtn 
+
+module_hci_cmd_power_request:
+3a5d d8400000 arg 0 ,temp 
+3a5e da200002 arg 2 ,rega 
+3a5f 6fe147c3 fetch 2 ,mem_module_vdd_quotient 
+3a60 67e1098e store 2 ,mem_event_cmd_response_content 
+3a61 da40098e arg mem_event_cmd_response_content ,regb 
+3a62 20203b87 branch module_hci_event_set_cmd 
+
+module_hci_cmd_power_set:
+3a63 6fe089d0 fetch 1 ,mem_module_uart_len 
+3a64 c080bb79 bne 1 ,module_hci_event_receive_invalid_cmd 
+3a65 efe08003 ifetch 1 ,contru 
+3a66 67e0c7c1 store 1 ,mem_module_read_vdd_flag 
+3a67 58000000 setarg 0x00 
+3a68 67e147c3 store 2 ,mem_module_vdd_quotient 
+3a69 20203b7c branch module_hci_event_receive_valid_cmd 
+
+module_hci_cmd_passkey_entry:
+3a6a 6fe089d0 fetch 1 ,mem_module_uart_len 
+3a6b c0823b79 bne 4 ,module_hci_event_receive_invalid_cmd 
+3a6c 6fe1478f fetch 2 ,mem_ui_state_map 
+3a6d c284bb51 bbit1 ui_state_ble_connected ,module_hci_cmd_le_passkey_entry_input 
+3a6e efe20003 ifetch 4 ,contru 
+3a6f 67e24797 store 4 ,mem_pin 
+3a70 70479604 jam 4 ,mem_pin_length 
+3a71 70477000 jam 0 ,mem_authentication_passkey_times 
+3a72 20403b7c call module_hci_event_receive_valid_cmd 
+3a73 20205664 branch authentication_passkey 
+
+module_hci_cmd_set_gpio:
+3a74 6fe089d0 fetch 1 ,mem_module_uart_len 
+3a75 c081bb79 bne 3 ,module_hci_event_receive_invalid_cmd 
+3a76 efe08003 ifetch 1 ,contru 
+3a77 c0003a7a beq hci_cmd_config_gpio_input ,module_set_gpio_input 
+3a78 c000ba80 beq hci_cmd_config_gpio_output ,module_set_gpio_output 
+3a79 20203b79 branch module_hci_event_receive_invalid_cmd 
+
+module_set_gpio_input:
+3a7a 20403b7c call module_hci_event_receive_valid_cmd 
+3a7b e8408003 ifetcht 1 ,contru 
+3a7c efe08003 ifetch 1 ,contru 
+3a7d c0016121 beq gpio_input_high_impedance ,gpio_set_high_impedance 
+3a7e 7d3a0407 nsetflag blank ,7 ,temp 
+3a7f 202060f4 branch gpio_config_input 
+
+module_set_gpio_output:
+3a80 20403b7c call module_hci_event_receive_valid_cmd 
+3a81 e8408003 ifetcht 1 ,contru 
+3a82 efe08003 ifetch 1 ,contru 
+3a83 203a610d branch gpio_out_active ,blank 
+3a84 20206109 branch gpio_out_inactive 
+
+module_hci_cmd_read_gpio:
+3a85 6fe089d0 fetch 1 ,mem_module_uart_len 
+3a86 c080bb79 bne 1 ,module_hci_event_receive_invalid_cmd 
+3a87 e8408003 ifetcht 1 ,contru 
+3a88 204060fd call gpio_get_bit 
+3a89 58000000 setarg 0x0 
+3a8a 7d20fe00 nsetflag true ,0 ,pdata 
+3a8b da200001 arg 1 ,rega 
+3a8c 67e1098e store 2 ,mem_event_cmd_response_content 
+3a8d da40098e arg mem_event_cmd_response_content ,regb 
+3a8e d8400000 arg 0 ,temp 
+3a8f 20203b87 branch module_hci_event_set_cmd 
+
+module_hci_cmd_le_set_pairing_mode:
+3a90 efe08003 ifetch 1 ,contru 
+3a91 1fe20400 copy pdata ,temp 
+3a92 c040ba9f beq le_pairing_mode_secure_connect_justwork ,module_le_set_pairing_mode_secure_justwork 
+3a93 c0413aa3 beq le_pairing_mode_secure_connect_numeric ,module_le_set_pairing_mode_secure_numeric 
+3a94 c041baa8 beq le_pairing_mode_secure_connect_passkey ,module_le_set_pairing_mode_secure_passkey 
+3a95 c0423aac beq le_pairing_mode_secure_connect_passkey_res_input ,module_le_set_pairing_mode_secure_passkey_res_input 
+3a96 67e0c39d store 1 ,mem_le_pairing_mode 
+3a97 204075af call sc_reset 
+3a98 20401f35 call le_secure_connection_disable 
+3a99 6fe0c39d fetch 1 ,mem_le_pairing_mode 
+3a9a c0003ab0 beq le_pairing_mode_none ,module_le_set_no_pairing 
+3a9b c000bab3 beq le_pairing_mode_lagacy_justwork ,module_le_set_pairing_mode_lagacy_just_work 
+3a9c c0013ab5 beq le_pairing_mode_lagacy_passkey ,module_le_set_pairing_mode_lagacy_passkey 
+3a9d c0023ab7 beq le_pairing_mode_lagacy_passkey_res_input ,module_le_set_pairing_mode_lagacy_passkey_res_input 
+3a9e 20203b79 branch module_hci_event_receive_invalid_cmd 
+
+module_le_set_pairing_mode_secure_justwork:
+3a9f 6048c39d storet 1 ,mem_le_pairing_mode 
+3aa0 20401f31 call le_secure_connection_enable 
+3aa1 7043530d jam flag_le_bonding_mitm_secure ,mem_le_pres_auth 
+3aa2 20203ab1 branch module_le_set_noinputnooutput 
+
+module_le_set_pairing_mode_secure_numeric:
+3aa3 6048c39d storet 1 ,mem_le_pairing_mode 
+3aa4 20401f31 call le_secure_connection_enable 
+3aa5 7043530d jam flag_le_bonding_mitm_secure ,mem_le_pres_auth 
+3aa6 70435101 jam flag_iocap_displayyesno ,mem_le_pres_iocap 
+3aa7 20203b7c branch module_hci_event_receive_valid_cmd 
+
+module_le_set_pairing_mode_secure_passkey:
+3aa8 6048c39d storet 1 ,mem_le_pairing_mode 
+3aa9 20401f31 call le_secure_connection_enable 
+3aaa 7043530d jam flag_le_bonding_mitm_secure ,mem_le_pres_auth 
+3aab 20203abb branch module_le_set_displayonly 
+
+module_le_set_pairing_mode_secure_passkey_res_input:
+3aac 6048c39d storet 1 ,mem_le_pairing_mode 
+3aad 20401f31 call le_secure_connection_enable 
+3aae 7043530d jam flag_le_bonding_mitm_secure ,mem_le_pres_auth 
+3aaf 20203ab9 branch module_le_set_keboadonly 
+
+module_le_set_no_pairing:
+3ab0 70435300 jam flag_le_no_bonding_no_mitm ,mem_le_pres_auth 
+
+module_le_set_noinputnooutput:
+3ab1 70435103 jam flag_iocap_noinputnooutput ,mem_le_pres_iocap 
+3ab2 20203b7c branch module_hci_event_receive_valid_cmd 
+
+module_le_set_pairing_mode_lagacy_just_work:
+3ab3 70435301 jam flag_le_bonding_no_mitm ,mem_le_pres_auth 
+3ab4 20203ab1 branch module_le_set_noinputnooutput 
+
+module_le_set_pairing_mode_lagacy_passkey:
+3ab5 70435305 jam flag_le_bonding_mitm ,mem_le_pres_auth 
+3ab6 20203abb branch module_le_set_displayonly 
+
+module_le_set_pairing_mode_lagacy_passkey_res_input:
+3ab7 70435305 jam flag_le_bonding_mitm ,mem_le_pres_auth 
+3ab8 20203ab9 branch module_le_set_keboadonly 
+
+module_le_set_keboadonly:
+3ab9 70435102 jam flag_iocap_keyboardonly ,mem_le_pres_iocap 
+3aba 20203b7c branch module_hci_event_receive_valid_cmd 
+
+module_le_set_displayonly:
+3abb 70435100 jam flag_iocap_displayonly ,mem_le_pres_iocap 
+3abc 20203b7c branch module_hci_event_receive_valid_cmd 
+
+module_hci_cmd_le_set_adv_data:
+3abd dfe0001f arg 31 ,pdata 
+3abe d8a043e7 arg mem_le_adv_data_len ,contw 
+3abf 20203ac3 branch module_hci_cmd_receive_store_mem 
+
+module_hci_cmd_le_set_scan_data:
+3ac0 dfe0001f arg 31 ,pdata 
+3ac1 d8a04407 arg mem_le_scan_data_len ,contw 
+3ac2 20203ac3 branch module_hci_cmd_receive_store_mem 
+
+module_hci_cmd_receive_store_mem:
+3ac3 6f2089d0 fetchr loopcnt ,1 ,mem_module_uart_len 
+3ac4 9f267c00 isub loopcnt ,null 
+3ac5 24213b79 nbranch module_hci_event_receive_invalid_cmd ,positive 
+3ac6 e7208005 istorer loopcnt ,1 ,contw 
+3ac7 20405fdf call uart_copy_rx_bytes_fast 
+3ac8 20203b7c branch module_hci_event_receive_valid_cmd 
+
+module_hci_cmd_le_send_conn_update_req:
+3ac9 6fe1478f fetch 2 ,mem_ui_state_map 
+3aca c304bb79 bbit0 ui_state_ble_connected ,module_hci_event_receive_invalid_cmd 
+3acb 6fe089d0 fetch 1 ,mem_module_uart_len 
+3acc c0843b79 bne 0x08 ,module_hci_event_receive_invalid_cmd 
+3acd efe40003 ifetch 8 ,contru 
+3ace 67e44372 store 8 ,mem_le_interval_min 
+3acf 70095b12 jam bt_cmd_le_update_conn ,mem_fifo_temp 
+3ad0 204078e5 call ui_ipc_send_cmd 
+3ad1 20203b7c branch module_hci_event_receive_valid_cmd 
+
+module_hci_cmd_set_le_adv_parameter:
+3ad2 efe10003 ifetch 2 ,contru 
+3ad3 67e14428 store 2 ,mem_le_adv_interval 
+3ad4 20203b7c branch module_hci_event_receive_valid_cmd 
+
+module_hci_cmd_le_start_pairing:
+3ad5 6fe0c39d fetch 1 ,mem_le_pairing_mode 
+3ad6 203a3b79 branch module_hci_event_receive_invalid_cmd ,blank 
+3ad7 6fe0c39b fetch 1 ,mem_le_pairing_state 
+3ad8 c0803b79 bne flag_le_pairing_null ,module_hci_event_receive_invalid_cmd 
+3ad9 6fe0c39c fetch 1 ,mem_le_enc_state 
+3ada c0803b79 bne flag_le_enc_null ,module_hci_event_receive_invalid_cmd 
+3adb 20407992 call check_51cmd_le_smp_sec_req 
+3adc 20203b7c branch module_hci_event_receive_valid_cmd 
+
+module_hci_cmd_set_wake_gpio:
+3add 6fe089d0 fetch 1 ,mem_module_uart_len 
+3ade c082bb79 bne 5 ,module_hci_event_receive_invalid_cmd 
+3adf efe08003 ifetch 1 ,contru 
+3ae0 67e0c7af store 1 ,mem_module_mcu_wake_pin 
+3ae1 efe20003 ifetch 4 ,contru 
+3ae2 67e247b0 store 4 ,mem_module_mcu_wake_delay_us 
+3ae3 6848c7af fetcht 1 ,mem_module_mcu_wake_pin 
+3ae4 2040610d call gpio_config_output 
+3ae5 20403c35 call module_set_mcu_wake_pin_low 
+3ae6 20203b7c branch module_hci_event_receive_valid_cmd 
+
+module_hci_cmd_set_tx_power:
+3ae7 6fe089d0 fetch 1 ,mem_module_uart_len 
+3ae8 c080bb79 bne 0x01 ,module_hci_event_receive_invalid_cmd 
+3ae9 efe08003 ifetch 1 ,contru 
+3aea 67e0c1e8 store 1 ,mem_tx_power 
+3aeb 20203b7c branch module_hci_event_receive_valid_cmd 
+
+module_hci_cmd_le_confirm_gkey:
+3aec efe08003 ifetch 1 ,contru 
+3aed c000baf5 beq 0x01 ,module_hci_cmd_le_confirm_gkey_fail 
+3aee 6fe0c399 fetch 1 ,mem_le_secure_connect_state 
+3aef c001baf3 beq le_sc_stat_send_public_key ,module_hci_cmd_le_confirm_gkey_ok 
+3af0 c0033af3 beq le_sc_stat_receive_dhkey ,module_hci_cmd_le_confirm_gkey_ok 
+3af1 c003baf3 beq le_sc_stat_wait_confirm_gkey ,module_hci_cmd_le_confirm_gkey_ok 
+3af2 20203b79 branch module_hci_event_receive_invalid_cmd 
+
+module_hci_cmd_le_confirm_gkey_ok:
+3af3 70439a01 jam flag_le_sc_confrim_gkey_ok ,mem_le_sc_confirm_gkey_flag 
+3af4 20203b7c branch module_hci_event_receive_valid_cmd 
+
+module_hci_cmd_le_confirm_gkey_fail:
+3af5 20401f9b call le_send_pairing_confirm_value_failed 
+3af6 20203b7c branch module_hci_event_receive_valid_cmd 
+
+module_hci_cmd_set_reject_justwork_flag:
+3af7 6fe089d0 fetch 1 ,mem_module_uart_len 
+3af8 c080bb79 bne 0x01 ,module_hci_event_receive_invalid_cmd 
+3af9 20403b7c call module_hci_event_receive_valid_cmd 
+3afa efe08003 ifetch 1 ,contru 
+3afb 203a5840 branch classic_bt_clr_reject_justwork_flag ,blank 
+3afc 2020583e branch classic_bt_set_reject_justwork_flag 
+
+module_hci_cmd_reset_chip:
+3afd 20403b7c call module_hci_event_receive_valid_cmd 
+3afe 20407e7c call wait_uarttx 
+3aff 70801001 jam 0x01 ,core_reset 
+3b00 2020137e branch loop 
+
+module_hci_cmd_le_set_fixed_passkey:
+3b01 6fe089d0 fetch 1 ,mem_module_uart_len 
+3b02 c0003b79 beq 0 ,module_hci_event_receive_invalid_cmd 
+3b03 efe08003 ifetch 1 ,contru 
+3b04 203a3b0e branch module_hci_cmd_le_set_random_passkey ,blank 
+3b05 6fe089d0 fetch 1 ,mem_module_uart_len 
+3b06 c082bb79 bne 5 ,module_hci_event_receive_invalid_cmd 
+3b07 efe20003 ifetch 4 ,contru 
+3b08 d84f4240 arg 1000000 ,temp 
+3b09 98467c00 isub temp ,null 
+3b0a 20213b79 branch module_hci_event_receive_invalid_cmd ,positive 
+3b0b 67e2439e store 4 ,mem_le_tk 
+3b0c 20401abe call le_set_config_fixed_tk 
+3b0d 20203b7c branch module_hci_event_receive_valid_cmd 
+
+module_hci_cmd_le_set_random_passkey:
+3b0e 20401ac0 call le_clr_config_fixed_tk 
+3b0f 20203b7c branch module_hci_event_receive_valid_cmd 
+
+module_hci_cmd_delete_customize_service:
+3b10 e8410003 ifetcht 2 ,contru 
+3b11 20401a11 call le_att_get_handle_ptr2 
+3b12 18c08bfe add contr ,-2 ,contw 
+3b13 58000000 setarg 0x0000 
+3b14 e7e10005 istore 2 ,contw 
+3b15 20203b7c branch module_hci_event_receive_valid_cmd 
+
+module_hci_cmd_add_service_uuid:
+3b16 20403b1f call module_hci_cmd_add_service_uuid_set_uuid 
+3b17 20403b4d call uart_copy_rx_bytes_len_data 
+3b18 58000000 setarg 0x0000 
+3b19 e7e10005 istore 2 ,contw 
+3b1a 20203c0f branch module_hci_event_uuid_handle 
+
+module_hci_cmd_add_characteristic_uuid:
+3b1b efe08003 ifetch 1 ,contru 
+3b1c 20403b23 call module_hci_cmd_add_characteristic_uuid_set_handle 
+3b1d 20403b2a call module_hci_cmd_add_characteristic_uuid_set_uuid 
+3b1e 20203c0f branch module_hci_event_uuid_handle 
+
+module_hci_cmd_add_service_uuid_set_uuid:
+3b1f 20403b4a call le_att_creat_new_handle 
+3b20 58280002 setarg 0x280002 
+3b21 e7e18005 istore 3 ,contw 
+3b22 20600000 rtn 
+
+module_hci_cmd_add_characteristic_uuid_set_handle:
+3b23 67e0895c store 1 ,mem_pdatatemp 
+3b24 20403b4a call le_att_creat_new_handle 
+3b25 59280302 setarg 0x01280302 
+3b26 e7e20005 istore 4 ,contw 
+3b27 6fe0895c fetch 1 ,mem_pdatatemp 
+3b28 e7e18005 istore 3 ,contw 
+3b29 20600000 rtn 
+
+module_hci_cmd_add_characteristic_uuid_set_uuid:
+3b2a 20401a30 call le_att_get_last_handle 
+3b2b efe08003 ifetch 1 ,contru 
+3b2c 1fe1721f and pdata ,0x1f ,loopcnt 
+3b2d 1fe22200 copy pdata ,rega 
+3b2e 2a2ffe07 isolate1 bit_of_write_authenticated ,rega 
+3b2f 7920840f setflag true ,bit_of_att_handle_write_authenticated ,temp 
+3b30 2a2ffe06 isolate1 bit_of_read_authenticated ,rega 
+3b31 7920840e setflag true ,bit_of_att_handle_read_authenticated ,temp 
+3b32 e0410005 istoret 2 ,contw 
+3b33 1f227e00 copy loopcnt ,pdata 
+3b34 e7e08005 istore 1 ,contw 
+3b35 20405ff3 call uart_copy_rx_bytes 
+3b36 20403b4d call uart_copy_rx_bytes_len_data 
+3b37 58000000 setarg 0 
+3b38 e7e10005 istore 2 ,contw 
+3b39 184104ff and temp ,0xff ,temp 
+3b3a 184085ff increase -1 ,temp 
+3b3b 20401a11 call le_att_get_handle_ptr2 
+3b3c 18c08c04 add contr ,4 ,contr 
+3b3d efe08006 ifetch 1 ,contr 
+3b3e c2823b42 bbit1 bit_characteristic_notify ,module_hci_cmd_add_characteristic_uuid_set_ccc_uuid 
+3b3f c282bb42 bbit1 bit_characteristic_indicate ,module_hci_cmd_add_characteristic_uuid_set_ccc_uuid 
+3b40 18408401 increase 1 ,temp 
+3b41 20600000 rtn 
+
+module_hci_cmd_add_characteristic_uuid_set_ccc_uuid:
+3b42 20401a30 call le_att_get_last_handle 
+3b43 2a2ffe05 isolate1 bit_of_notify_authenticated ,rega 
+3b44 7920840f setflag true ,bit_of_att_handle_write_authenticated ,temp 
+3b45 e0410005 istoret 2 ,contw 
+3b46 5a290202 setarg 0x02290202 
+3b47 e7e40005 istore 8 ,contw 
+3b48 184085ff increase -1 ,temp 
+3b49 20600000 rtn 
+
+le_att_creat_new_handle:
+3b4a 20401a30 call le_att_get_last_handle 
+3b4b e0410005 istoret 2 ,contw 
+3b4c 20600000 rtn 
+
+uart_copy_rx_bytes_len_data:
+3b4d efe08003 ifetch 1 ,contru 
+3b4e 1fe27200 copy pdata ,loopcnt 
+3b4f e7e08005 istore 1 ,contw 
+3b50 20205ff3 branch uart_copy_rx_bytes 
+
+module_hci_cmd_le_passkey_entry_input:
+3b51 6fe0c39b fetch 1 ,mem_le_pairing_state 
+3b52 c082bb79 bne flag_le_pairing_receive_pairing_confirm ,module_hci_event_receive_invalid_cmd 
+3b53 6fe0c39d fetch 1 ,mem_le_pairing_mode 
+3b54 c0023b5d beq le_pairing_mode_lagacy_passkey_res_input ,module_hci_cmd_passkey_entry_res_input 
+3b55 c0423b57 beq le_pairing_mode_secure_connect_passkey_res_input ,module_hci_cmd_passkey_entry_sc_res_input 
+3b56 20203b79 branch module_hci_event_receive_invalid_cmd 
+
+module_hci_cmd_passkey_entry_sc_res_input:
+3b57 70439802 jam le_sp_flag_commit_256 ,mem_le_secure_connect_flag 
+3b58 70439908 jam le_sc_stat_passkey_wait_confirm ,mem_le_secure_connect_state 
+3b59 20203b5a branch module_hci_cmd_receive_ble_passkey 
+
+module_hci_cmd_receive_ble_passkey:
+3b5a efe20003 ifetch 4 ,contru 
+3b5b 67e2439e store 4 ,mem_le_tk 
+3b5c 20203b7c branch module_hci_event_receive_valid_cmd 
+
+module_hci_cmd_passkey_entry_res_input:
+3b5d 20403b5a call module_hci_cmd_receive_ble_passkey 
+3b5e 20201f84 branch le_send_smp_pairing_confirm 
+
+module_hci_cmd_ble_set_phy:
+3b5f 6fe089d0 fetch 1 ,mem_module_uart_len 
+3b60 c0813b79 bne 2 ,module_hci_event_receive_invalid_cmd 
+3b61 e8410003 ifetcht 2 ,contru 
+3b62 20401b29 call le_set_phys 
+3b63 20203b7c branch module_hci_event_receive_valid_cmd 
+
+module_hci_cmd_ble_read_current_phy:
+3b64 d8400000 arg 0 ,temp 
+3b65 da200002 arg 2 ,rega 
+3b66 da404075 arg mem_context + coffset_le_rx_phy ,regb 
+3b67 20203b87 branch module_hci_event_set_cmd 
+
+module_hci_cmd_ble_set_dle:
+3b68 6fe089d0 fetch 1 ,mem_module_uart_len 
+3b69 c0843b79 bne 8 ,module_hci_event_receive_invalid_cmd 
+3b6a efe40003 ifetch 8 ,contru 
+3b6b 20401b27 call le_set_dle 
+3b6c 20203b7c branch module_hci_event_receive_valid_cmd 
+
+module_hci_cmd_read_chip_data:
+3b6d ea208003 ifetchr rega ,1 ,contru 
+3b6e ea410003 ifetchr regb ,2 ,contru 
+3b6f d8400000 arg 0 ,temp 
+3b70 20203b87 branch module_hci_event_set_cmd 
+
+module_hci_cmd_write_chip_data:
+3b71 6f2089d0 fetchr loopcnt ,1 ,mem_module_uart_len 
+3b72 1f20f3fe increase -2 ,loopcnt 
+3b73 efe10003 ifetch 2 ,contru 
+3b74 1fe20a00 copy pdata ,contw 
+3b75 20405fdf call uart_copy_rx_bytes_fast 
+3b76 20203b7c branch module_hci_event_receive_valid_cmd 
+
+module_hci_cmd_close_lpm:
+3b77 70409900 jam 0 ,mem_lpm_mode 
+3b78 20203b7c branch module_hci_event_receive_valid_cmd 
+
+module_hci_event_receive_invalid_cmd:
+3b79 d8400001 arg 1 ,temp 
+3b7a da200000 arg 0 ,rega 
+3b7b 20203b87 branch module_hci_event_set_cmd 
+
+module_hci_event_receive_valid_cmd:
+3b7c d8400000 arg 0 ,temp 
+3b7d da200000 arg 0 ,rega 
+3b7e 20203b87 branch module_hci_event_set_cmd 
+
+module_hci_event_spp_connect:
+3b7f 7009cf00 jam hci_event_spp_conn_rep ,mem_module_uart_opcode 
+3b80 20203bab branch module_hci_event_enter_standby_mode_len0 
+
+module_hci_event_le_connect:
+3b81 7009cf02 jam hci_event_le_conn_rep ,mem_module_uart_opcode 
+3b82 20203bab branch module_hci_event_enter_standby_mode_len0 
+
+module_hci_event_spp_disconnect:
+3b83 7009cf03 jam hci_event_spp_dis_rep ,mem_module_uart_opcode 
+3b84 20203bab branch module_hci_event_enter_standby_mode_len0 
+
+module_hci_event_le_disconnect:
+3b85 7009cf05 jam hci_event_le_dis_rep ,mem_module_uart_opcode 
+3b86 20203bab branch module_hci_event_enter_standby_mode_len0 
+
+module_hci_event_set_cmd:
+3b87 6fe089cf fetch 1 ,mem_module_uart_opcode 
+3b88 1fe22600 copy pdata ,regc 
+3b89 7009cf06 jam hci_event_cmd_res ,mem_module_uart_opcode 
+3b8a 58000002 setarg 2 
+3b8b 9a20fe00 iadd rega ,pdata 
+3b8c 20403c1e call module_hci_prepare_tx 
+3b8d 1a627e00 copy regc ,pdata 
+3b8e e7e08003 istore 1 ,contwu 
+3b8f e0408003 istoret 1 ,contwu 
+3b90 1a227200 copy rega ,loopcnt 
+3b91 1a420c00 copy regb ,contr 
+3b92 20405fd9 call uart_copy_tx_bytes 
+3b93 20203c28 branch module_hci_transmit_tx 
+
+module_hci_event_receive_spp_data:
+3b94 20403858 call module_spp_clear_last_transmite_clock 
+3b95 7009cf07 jam hci_event_spp_data_rep ,mem_module_uart_opcode 
+3b96 6fe083d2 fetch 1 ,mem_current_length 
+3b97 207a0000 rtn blank 
+3b98 20403c1e call module_hci_prepare_tx 
+3b99 6fe083d2 fetch 1 ,mem_current_length 
+3b9a 1fe27200 copy pdata ,loopcnt 
+3b9b 6fe103d4 fetch 2 ,mem_rfcomm_uih_payload_ptr 
+3b9c 1fe20c00 copy pdata ,contr 
+3b9d 20405fc5 call uart_copy_tx_bytes_fast 
+3b9e 20203c28 branch module_hci_transmit_tx 
+
+module_hci_event_receive_le_data:
+3b9f 7009cf08 jam hci_event_le_data_rep ,mem_module_uart_opcode 
+3ba0 1f20fe02 add loopcnt ,2 ,pdata 
+3ba1 20403c1e call module_hci_prepare_tx 
+3ba2 6fe109fa fetch 2 ,mem_module_le_rx_data_handle 
+3ba3 e7e10003 istore 2 ,contwu 
+3ba4 6fe109f8 fetch 2 ,mem_module_le_rx_data_address 
+3ba5 1fe20c00 icopy contr 
+3ba6 20405fc5 call uart_copy_tx_bytes_fast 
+3ba7 18c27e00 copy contr ,pdata 
+3ba8 67e109f8 store 2 ,mem_module_le_rx_data_address 
+3ba9 20203c28 branch module_hci_transmit_tx 
+
+module_hci_event_enter_standby_mode:
+3baa 7009cf09 jam hci_event_standby_rep ,mem_module_uart_opcode 
+
+module_hci_event_enter_standby_mode_len0:
+3bab 58000000 setarg 0 
+3bac 20403c1e call module_hci_prepare_tx 
+3bad 20203c28 branch module_hci_transmit_tx 
+
+module_hci_event_status_res:
+3bae 7009cf0a jam hci_event_status_res ,mem_module_uart_opcode 
+3baf 58000001 setarg 1 
+3bb0 20403c1e call module_hci_prepare_tx 
+3bb1 20403bbf call module_hci_read_bt_status 
+3bb2 6fe1478f fetch 2 ,mem_ui_state_map 
+3bb3 d8e00002 arg ui_state_bt_hid_conn ,queue 
+3bb4 afefffff qisolate1 pdata 
+3bb5 79208403 setflag true ,3 ,temp 
+3bb6 d8e00009 arg ui_state_ble_connected ,queue 
+3bb7 afefffff qisolate1 pdata 
+3bb8 79208405 setflag true ,5 ,temp 
+3bb9 6fe0c78f fetch 1 ,mem_ui_state_map 
+3bba d8e00004 arg ui_state_bt_spp_conn ,queue 
+3bbb afefffff qisolate1 pdata 
+3bbc 79208404 setflag true ,4 ,temp 
+3bbd e0408003 istoret 1 ,contwu 
+3bbe 20203c28 branch module_hci_transmit_tx 
+
+module_hci_read_bt_status:
+3bbf d8400000 arg 0 ,temp 
+3bc0 6fe0c09b fetch 1 ,mem_scan_mode 
+3bc1 d8e00000 arg inq_scan_mode ,queue 
+3bc2 afefffff qisolate1 pdata 
+3bc3 79208400 setflag true ,0 ,temp 
+3bc4 d8e00001 arg page_scan_mode ,queue 
+3bc5 afefffff qisolate1 pdata 
+3bc6 79208401 setflag true ,1 ,temp 
+3bc7 6fe0c427 fetch 1 ,mem_le_adv_enable 
+3bc8 d8e00000 arg 0 ,queue 
+3bc9 afefffff qisolate1 pdata 
+3bca 79208402 setflag true ,2 ,temp 
+3bcb 20600000 rtn 
+
+module_hci_event_store_device:
+3bcc 7009cf0d jam hci_event_nvram_rep ,mem_module_uart_opcode 
+3bcd 6fe0c48b fetch 1 ,mem_nv_data_number 
+3bce 1feffe22 mul32 pdata ,34 ,pdata 
+3bcf 1fe27200 icopy loopcnt 
+3bd0 20403c1e call module_hci_prepare_tx 
+3bd1 6fe14489 fetch 2 ,mem_nv_data_ptr 
+3bd2 1fe20c00 icopy contr 
+3bd3 20405fc5 call uart_copy_tx_bytes_fast 
+3bd4 20203c28 branch module_hci_transmit_tx 
+
+module_hci_event_gkey_generate:
+3bd5 7009cf0e jam hci_event_gkey ,mem_module_uart_opcode 
+3bd6 58000004 setarg 4 
+3bd7 20403c1e call module_hci_prepare_tx 
+3bd8 6fe2087c fetch 4 ,mem_gkey 
+3bd9 e7e20003 istore 4 ,contwu 
+3bda 20203c28 branch module_hci_transmit_tx 
+
+module_hci_event_invalid_packet:
+3bdb 7009cf0f jam hci_event_invalid_packet ,mem_module_uart_opcode 
+3bdc 6ff10112 fetch 2 ,core_uart_rxitems 
+3bdd d8400040 arg 0x40 ,temp 
+3bde 20407ebb call not_greater_than 
+3bdf 1fe22200 copy pdata ,rega 
+3be0 1fe27200 copy pdata ,loopcnt 
+3be1 20405f9d call uarta_prepare_rx 
+3be2 d8a0098e arg mem_module_rx_error_data_buffer ,contw 
+3be3 20405fdf call uart_copy_rx_bytes_fast 
+3be4 1a227e00 copy rega ,pdata 
+3be5 1a227200 copy rega ,loopcnt 
+3be6 20403c1e call module_hci_prepare_tx 
+3be7 d8c0098e arg mem_module_rx_error_data_buffer ,contr 
+3be8 20405fc5 call uart_copy_tx_bytes_fast 
+3be9 20203c28 branch module_hci_transmit_tx 
+
+module_hci_event_passkey_entry_mode:
+3bea 7009cf10 jam hci_event_get_passkey ,mem_module_uart_opcode 
+3beb 20203bab branch module_hci_event_enter_standby_mode_len0 
+
+module_hci_event_le_tk:
+3bec 7009cf11 jam hci_event_le_tk ,mem_module_uart_opcode 
+3bed 58000004 setarg 4 
+3bee 20403c1e call module_hci_prepare_tx 
+3bef 6fe2439e fetch 4 ,mem_le_tk 
+3bf0 e7e20003 istore 4 ,contwu 
+3bf1 20203c28 branch module_hci_transmit_tx 
+
+module_hci_event_le_pairing_fail:
+3bf2 da200180 arg flag_ble_pairing_fail ,rega 
+3bf3 20203bf9 branch module_hci_event_pairing_completed 
+
+module_hci_event_le_pairing_success:
+3bf4 da200080 arg flag_ble_pairing_success ,rega 
+3bf5 20203bf9 branch module_hci_event_pairing_completed 
+
+module_hci_event_bt_pairing_fail:
+3bf6 da200101 arg flag_bt_pairing_fail ,rega 
+3bf7 20203bf9 branch module_hci_event_pairing_completed 
+
+module_hci_event_bt_pairing_success:
+3bf8 da200001 arg flag_bt_pairing_success ,rega 
+
+module_hci_event_pairing_completed:
+3bf9 70476e00 jam 0 ,mem_flag_mode_ssp_pin 
+3bfa 7009cf14 jam hci_event_le_pairing_state ,mem_module_uart_opcode 
+3bfb 58000002 setarg 2 
+3bfc 20403c1e call module_hci_prepare_tx 
+3bfd 1a227e00 copy rega ,pdata 
+3bfe e7e10003 istore 2 ,contwu 
+3bff 20203c28 branch module_hci_transmit_tx 
+
+module_hci_event_pause_enc:
+3c00 da600000 arg flag_event_pause_enc ,regc 
+3c01 20203c03 branch module_hci_event_enc 
+
+module_hci_event_start_enc:
+3c02 da600001 arg flag_event_start_enc ,regc 
+
+module_hci_event_enc:
+3c03 7009cf15 jam hci_event_le_encryption_state ,mem_module_uart_opcode 
+3c04 58000001 setarg 1 
+3c05 20403c1e call module_hci_prepare_tx 
+3c06 1a627e00 copy regc ,pdata 
+3c07 e7e08003 istore 1 ,contwu 
+3c08 20203c28 branch module_hci_transmit_tx 
+
+module_hci_event_le_gkey:
+3c09 7009cf1d jam hci_event_le_gkey ,mem_module_uart_opcode 
+3c0a 58000004 setarg 4 
+3c0b 20403c1e call module_hci_prepare_tx 
+3c0c 6fe2087c fetch 4 ,mem_gkey 
+3c0d e7e20003 istore 4 ,contwu 
+3c0e 20203c28 branch module_hci_transmit_tx 
+
+module_hci_event_uuid_handle:
+3c0f 60490964 storet 2 ,mem_temp 
+3c10 7009cf29 jam hci_event_uuid_handle ,mem_module_uart_opcode 
+3c11 58000002 setarg 2 
+3c12 20403c1e call module_hci_prepare_tx 
+3c13 68490964 fetcht 2 ,mem_temp 
+3c14 e0410003 istoret 2 ,contwu 
+3c15 20203c28 branch module_hci_transmit_tx 
+
+module_hci_event_le_input_passkey:
+3c16 7009cf2b jam hci_event_le_input_gkey ,mem_module_uart_opcode 
+3c17 20203bab branch module_hci_event_enter_standby_mode_len0 
+
+module_hci_event_le_update_phy:
+3c18 7009cf40 jam hci_ble_update_phy_event ,mem_module_uart_opcode 
+3c19 58000002 setarg 2 
+3c1a 20403c1e call module_hci_prepare_tx 
+3c1b 6fe14075 fetch 2 ,mem_context + coffset_le_rx_phy 
+3c1c e7e10003 istore 2 ,contwu 
+3c1d 20203c28 branch module_hci_transmit_tx 
+
+module_hci_prepare_tx:
+3c1e 7009ce02 jam 0x02 ,mem_module_uart_cmd 
+3c1f 67e089d0 store 1 ,mem_module_uart_len 
+3c20 604c0964 storet 8 ,mem_temp 
+3c21 44e04018 bpatch patch18_0 ,mem_patch18 
+3c22 20403c2a call module_set_mcu_wake_pin_high_delay 
+3c23 684c0964 fetcht 8 ,mem_temp 
+3c24 20405fb5 call uarta_prepare_tx_register_push 
+3c25 6fe189ce fetch 3 ,mem_module_uart_cmd 
+3c26 e7e18003 istore 3 ,contwu 
+3c27 20600000 rtn 
+
+module_hci_transmit_tx:
+3c28 44e0c018 bpatch patch18_1 ,mem_patch18 
+3c29 20205fb9 branch uarta_send_register_pop 
+
+module_set_mcu_wake_pin_high_delay:
+3c2a 20403c33 call module_check_mcu_wake_pin_high 
+3c2b 20608000 rtn true 
+
+module_set_mcu_wake_pin_h_delay:
+3c2c 20403c31 call module_set_mcu_wake_pin_high 
+3c2d 6fe247b0 fetch 4 ,mem_module_mcu_wake_delay_us 
+3c2e 1feb7e00 rshift2 pdata ,pdata 
+3c2f 207a0000 rtn blank 
+3c30 20207d81 branch delay 
+
+module_set_mcu_wake_pin_high:
+3c31 6848c7af fetcht 1 ,mem_module_mcu_wake_pin 
+3c32 2020610d branch gpio_out_active 
+
+module_check_mcu_wake_pin_high:
+3c33 6848c7af fetcht 1 ,mem_module_mcu_wake_pin 
+3c34 20206118 branch gpio_check_active 
+
+module_set_mcu_wake_pin_low:
+3c35 6848c7af fetcht 1 ,mem_module_mcu_wake_pin 
+3c36 20206109 branch gpio_out_inactive 
+
+module_le_receive_data:
+3c37 622109f8 storer rega ,2 ,mem_module_le_rx_data_address 
+3c38 624109f6 storer regb ,2 ,mem_module_le_rx_data_len 
+3c39 6fe14437 fetch 2 ,mem_le_att_handle 
+3c3a 67e109fa store 2 ,mem_module_le_rx_data_handle 
+3c3b 204039c0 call module_check_ble_encrypt_state 
+3c3c 20740000 rtn user 
+
+module_le_receive_data_ok:
+3c3d 684909f6 fetcht 2 ,mem_module_le_rx_data_len 
+3c3e 6fe0c7c5 fetch 1 ,mem_module_ble_data_uart_max_length 
+3c3f 20407ebb call not_greater_than 
+3c40 1fe27200 copy pdata ,loopcnt 
+3c41 18427e00 copy temp ,pdata 
+3c42 9f267e00 isub loopcnt ,pdata 
+3c43 67e109f6 store 2 ,mem_module_le_rx_data_len 
+3c44 20403b9f call module_hci_event_receive_le_data 
+3c45 6fe109f6 fetch 2 ,mem_module_le_rx_data_len 
+3c46 207a0000 rtn blank 
+3c47 20203c3d branch module_le_receive_data_ok 
+
+module_exit_sniff:
+3c48 6fe147c6 fetch 2 ,mem_module_flag 
+3c49 c3848000 rtnbit1 moudle_task_unsniff 
+3c4a 20403c65 call module_set_unsniff_task_flag 
+3c4b 2020328b branch app_bt_sniff_exit 
+
+module_set_lpm_mult_2:
+3c4c 70417702 jam 2 ,mem_lpm_mult 
+3c4d 20600000 rtn 
+
+module_bb_event_timer:
+
+module_read_vdd_timer:
+3c4e 6fe0c7c1 fetch 1 ,mem_module_read_vdd_flag 
+3c4f 207a0000 rtn blank 
+3c50 6fe0c7c2 fetch 1 ,mem_module_read_vdd_count 
+3c51 207a0000 rtn blank 
+3c52 1fe0ffff increase -1 ,pdata 
+3c53 67e0c7c2 store 1 ,mem_module_read_vdd_count 
+3c54 247a0000 nrtn blank 
+3c55 7047c205 jam flag_module_read_vdd_count ,mem_module_read_vdd_count 
+3c56 20406166 call enable_adc 
+3c57 2040618d call vdd_calculate_by_mode 
+3c58 1fe6fc64 div pdata ,0x64 
+3c59 20407e61 call get_div_result 
+3c5a 18070400 remainder temp 
+3c5b 67e0c7c3 store 1 ,mem_module_vdd_quotient 
+3c5c 6048c7c4 storet 1 ,mem_module_vdd_remainder 
+3c5d 20600000 rtn 
+
+module_control_air_flow:
+3c5e 20407e92 call check_uart_tx_buff 
+3c5f 20213258 branch app_l2cap_flow_control_enable ,positive 
+3c60 2020325a branch app_l2cap_flow_control_disable 
+
+module_set_sniff_task_flag:
+3c61 d8e0000a arg moudle_task_sniff ,queue 
+3c62 20203c71 branch module_set_state 
+
+module_clear_sniff_task_flag:
+3c63 d8e0000a arg moudle_task_sniff ,queue 
+3c64 20203c6d branch module_clr_state 
+
+module_set_unsniff_task_flag:
+3c65 d8e00009 arg moudle_task_unsniff ,queue 
+3c66 20203c71 branch module_set_state 
+
+module_clear_unsniff_task_flag:
+3c67 d8e00009 arg moudle_task_unsniff ,queue 
+3c68 20203c6d branch module_clr_state 
+
+module_set_le_tx_data_flag:
+3c69 d8e00008 arg module_flag_ble_data_finish ,queue 
+3c6a 20203c71 branch module_set_state 
+
+module_clear_le_tx_data_flag:
+3c6b d8e00008 arg module_flag_ble_data_finish ,queue 
+3c6c 20203c6d branch module_clr_state 
+
+module_clr_state:
+3c6d 6fe147c6 fetch 2 ,mem_module_flag 
+3c6e f93ffe00 qset0 pdata 
+3c6f 67e147c6 store 2 ,mem_module_flag 
+3c70 20600000 rtn 
+
+module_set_state:
+3c71 6fe147c6 fetch 2 ,mem_module_flag 
+3c72 f9207e00 qset1 pdata 
+3c73 67e147c6 store 2 ,mem_module_flag 
+3c74 20600000 rtn 
+
+mouse_init:
+3c75 20406e5e call enable_authrom 
+3c76 20403ca6 call mouse_setting_config 
+3c77 204041e7 call mouse_init_sunt 
+3c78 204040ce call mouse_dpi_config 
+3c79 20758000 rtn wake 
+3c7a 20404766 call mouse_drawing_optima_init 
+3c7b 20403c83 call mouse_cb_fuction 
+3c7c 2040427c call mouse_sensor_powerdown 
+3c7d 6fe0c92f fetch 1 ,mem_usb_addr 
+3c7e c3838000 rtnbit1 7 
+
+mouse_init_wireless:
+3c7f 6fe1478f fetch 2 ,mem_ui_state_map 
+3c80 c2864593 bbit1 ui_state_btn_down ,mouse_start_discovery 
+3c81 204046de call mouse_check_select_device_by_switch 
+3c82 20203e15 branch mouse_start_work 
+
+mouse_cb_fuction:
+3c83 58004902 setarg mouse_24g_before_lpm_sleep 
+3c84 67e14479 store 2 ,mem_cb_before_lpm_sleep 
+3c85 580048a5 setarg mouse_24g_package_data 
+3c86 67e1489f store 2 ,mem_cb_24g_transmit_data 
+3c87 580048cc setarg mouse_24g_search_dongle 
+3c88 67e148a1 store 2 ,mem_cb_24g_search_receiver 
+3c89 58003e80 setarg mouse_lpm_before_common 
+3c8a 67e148a3 store 2 ,mem_cb_24g_lpm_before 
+3c8b 580043df setarg mouse_le 
+3c8c 67e14461 store 2 ,mem_cb_le_process 
+3c8d 58004497 setarg mouse_bt 
+3c8e 67e14463 store 2 ,mem_cb_bt_process 
+3c8f 58003e7b setarg mouse_process_lpm_before 
+3c90 67e1445f store 2 ,mem_cb_before_lpm 
+3c91 58004374 setarg mouse_priority_bb_event 
+3c92 67e14467 store 2 ,mem_cb_bb_event_process 
+3c93 5800468b setarg mouse_idle 
+3c94 67e14465 store 2 ,mem_cb_idle_process 
+3c95 58003e5e setarg mouse_before_hibernate 
+3c96 67e1445d store 2 ,mem_cb_before_hibernate 
+3c97 580043c8 setarg mouse_le_bb_event_connect_complete 
+3c98 67e1446b store 2 ,mem_cb_att_write 
+3c99 580044f5 setarg mouse_bb_event_timer 
+3c9a 67e1446f store 2 ,mem_cb_event_timer 
+3c9b 58003fa9 setarg mouse_spi_write_flash_cb 
+3c9c 67e14473 store 2 ,mem_cb_spi_flash_write_complate 
+3c9d 58003e4d setarg mouse_lpm_check_wake_lock 
+3c9e 67e1445b store 2 ,mem_cb_check_wakelock 
+3c9f 580049f5 setarg mouse_le_transmit 
+3ca0 67e1446d store 2 ,mem_cb_ble_transmit 
+3ca1 580049f7 setarg mouse_bt_slave_match 
+3ca2 67e14477 store 2 ,mem_cb_bt_slave_match 
+3ca3 58004a0a setarg mouse_set_lpm_mult 
+3ca4 67e14471 store 2 ,mem_cb_bt_set_mult 
+3ca5 20600000 rtn 
+
+mouse_setting_config:
+3ca6 20758000 rtn wake 
+3ca7 2040260e call g24_transmit_init 
+3ca8 204022b5 call g24_chmap_param_init 
+3ca9 20403f60 call mouse_gpio_init 
+3caa 20403dd6 call mouse_param_init 
+3cab 20401ac2 call le_set_config_fixed_ltk 
+3cac 20401aeb call le_set_justwork 
+3cad 20401ade call le_set_fixed_ltk 
+3cae 20401aca call le_set_config_read_authentication 
+3caf 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+3cb0 c289c675 bbit1 mouse_enable_eeprom ,mouse_load_eeprom_info_check 
+3cb1 c2894636 bbit1 mouse_enable_flash ,mouse_load_flash_info_check 
+3cb2 20600000 rtn 
+
+mouse_xtal_init:
+3cb3 7040c508 jam 0x08 ,mem_fcomp_div 
+3cb4 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+3cb5 c3860000 rtnbit1 mouse_enable_16m 
+3cb6 7040c518 jam 0x18 ,mem_fcomp_div 
+3cb7 20600000 rtn 
+
+mouse_default_init:
+3cb8 700b58ff jam 0xff ,mem_usb_offline_check_gpio 
+3cb9 704793ff jam 0xff ,mem_ui_button_gpio 
+3cba 7047921e jam 0x1e ,mem_ui_button_timeout 
+3cbb 7049c505 jam 5 ,mem_store_information_delay_timer_init 
+3cbc 58004932 setarg mem_mouse_led_type 
+3cbd 67e1448f store 2 ,mem_ui_led_struct_ptr 
+3cbe 70448e01 jam 1 ,mem_ui_led_struct_num 
+3cbf 58004ac6 setarg mem_mouse_rssi_signal_buf 
+3cc0 67e1489d store 2 ,mem_rssi_signal_buf_ptr 
+3cc1 70483901 jam 1 ,mem_24g_data_type 
+3cc2 6fe14902 fetch 2 ,mem_mouse_discovery_timeout 
+3cc3 67e14794 store 2 ,mem_discovery_timeout 
+3cc4 6fe14904 fetch 2 ,mem_mouse_24g_pair_timeout_init 
+3cc5 67e14885 store 2 ,mem_24g_pair_timeout_init 
+3cc6 6fe0c907 fetch 1 ,mem_mouse_24g_reconn_timeout_init 
+3cc7 67e14889 store 2 ,mem_24g_reconn_timeout_init 
+3cc8 6fe2c909 fetch 5 ,mem_rssi_dis_min_24g_init 
+3cc9 67e2c8cf store 5 ,mem_rssi_dis_min_24g 
+3cca 6fe0c908 fetch 1 ,mem_mouse_24g_pair_tx_power 
+3ccb 67e0c880 store 1 ,mem_24g_pair_tx_power 
+3ccc 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+3ccd 247a0000 nrtn blank 
+3cce 58020800 setarg 0x020800 
+3ccf 67e1cbbc store 3 ,mem_mouse_flag 
+3cd0 58800700 setarg 0x800700 
+3cd1 e7e18005 istore 3 ,contw 
+3cd2 58000300 setarg 0x0300 
+3cd3 e7e10005 istore 2 ,contw 
+3cd4 70409901 jam 1 ,mem_lpm_mode 
+3cd5 6fe0c90e fetch 1 ,mem_mouse_enable_flag 
+3cd6 2feffe00 isolate1 mouse_adc_enable ,pdata 
+3cd7 2040c724 call mouse_adc_read_enable ,true 
+3cd8 6fe0c90e fetch 1 ,mem_mouse_enable_flag 
+3cd9 2feffe02 isolate1 mouse_24g_250hz_enable ,pdata 
+3cda 2040c726 call mouse_24g_set_250hz ,true 
+3cdb 6fe0c90e fetch 1 ,mem_mouse_enable_flag 
+3cdc 2feffe01 isolate1 mouse_search_dongle_enable ,pdata 
+3cdd 2040c728 call mouse_24g_search_dongle_enable ,true 
+3cde 6fe0c90e fetch 1 ,mem_mouse_enable_flag 
+3cdf 2feffe03 isolate1 mouse_clk_16m_enable ,pdata 
+3ce0 2040c72a call mouse_16m_enable ,true 
+3ce1 6fe0c90e fetch 1 ,mem_mouse_enable_flag 
+3ce2 2feffe04 isolate1 mouse_dpi_4_level_enable ,pdata 
+3ce3 2040c72c call mouse_dpi_4level_enable ,true 
+3ce4 6fe0c90e fetch 1 ,mem_mouse_enable_flag 
+3ce5 2feffe05 isolate1 mouse_keyboard_enable ,pdata 
+3ce6 2040c736 call mouse_customer_key_enable ,true 
+3ce7 6fe0c869 fetch 1 ,mem_24g_ch_map_update 
+3ce8 245a22c4 ncall g24_chamap_param_update ,blank 
+3ce9 20403cb3 call mouse_xtal_init 
+3cea 6fe0c90f fetch 1 ,mem_mouse_global_setup 
+3ceb 1fe10407 and pdata ,0x07 ,temp 
+3cec 6048c4a3 storet 1 ,mem_adc_channel 
+3ced 1fe97e00 rshift3 pdata ,pdata 
+3cee 1fe10401 and pdata ,0x01 ,temp 
+3cef 6048c869 storet 1 ,mem_24g_ch_map_update 
+3cf0 1fe37e00 rshift pdata ,pdata 
+3cf1 1fe10403 and pdata ,0x03 ,temp 
+3cf2 6048c901 storet 1 ,mem_adc_config_flag_init 
+3cf3 1feb7e00 rshift2 pdata ,pdata 
+3cf4 1fe17e03 and pdata ,0x03 ,pdata 
+3cf5 20404812 call mouse_24g_long_sleep_set 
+3cf6 6fe0c910 fetch 1 ,mem_mouse_global_setup1 
+3cf7 1fe10403 and pdata ,0x03 ,temp 
+3cf8 6048c929 storet 1 ,mem_sensor_angle_default 
+3cf9 1feb7e00 rshift2 pdata ,pdata 
+3cfa 1fe10403 and pdata ,0x03 ,temp 
+3cfb 6048c92a storet 1 ,mem_sensor_angle_switch 
+3cfc 1feb7e00 rshift2 pdata ,pdata 
+3cfd 1fe10401 and pdata ,0x01 ,temp 
+3cfe 6048c92b storet 1 ,mem_config_sensor_dpi 
+3cff 6048c997 storet 1 ,mem_mouse_dpi 
+3d00 1fe37e00 rshift pdata ,pdata 
+3d01 1fe10401 and pdata ,0x01 ,temp 
+3d02 6048c87a storet 1 ,mem_24g_disable_fec1 
+3d03 1fe37e00 rshift pdata ,pdata 
+3d04 1fe17e03 and pdata ,0x03 ,pdata 
+3d05 67e0cbc5 store 1 ,mem_device_number 
+3d06 44e14018 bpatch patch18_2 ,mem_patch18 
+3d07 580b0c0a setarg 0x0b0c0a 
+3d08 67e1c91c store 3 ,mem_lbutton_gpio 
+3d09 58ffffff setarg 0xffffff 
+3d0a e7e18005 istore 3 ,contw 
+3d0b 580607ff setarg 0x0607ff 
+3d0c e7e18005 istore 3 ,contw 
+3d0d 58ffffff setarg 0xffffff 
+3d0e e7e18005 istore 3 ,contw 
+3d0f 7048fb0a jam 0x0a ,mem_adc_read_time_init 
+3d10 58000064 setarg 0x0064 
+3d11 67e14bd9 store 2 ,mem_adc_low_volatage_led_blink_timer 
+3d12 20403ebc call mouse_adc_vol_init 
+3d13 58001770 setarg 0x1770 
+3d14 67e14bcf store 2 ,mem_mouse_no_data_timeout 
+3d15 704bd114 jam 0x14 ,mem_mouse_device_poweron_timer_count_init 
+3d16 58000190 setarg 0x0190 
+3d17 67e14bd7 store 2 ,mem_mouse_low_v_led_blink_time 
+3d18 67e14bd3 store 2 ,mem_mouse_dpi_led_blink_time 
+3d19 580003e8 setarg 0x03e8 
+3d1a 67e14bd5 store 2 ,mem_mouse_disconvey_led_blink_time 
+3d1b 70488107 jam 0x07 ,mem_rssi_buff_index 
+3d1c 7048ce7d jam 125 ,mem_power_ctrl_pac_succ_cnt_init 
+3d1d 7041e800 jam tx_power_0db ,mem_tx_power 
+3d1e 70489001 jam 0x01 ,mem_24g_fast_conn_enable 
+3d1f 58000f0f setarg 0x0f0f 
+3d20 67e14891 store 2 ,mem_24g_fast_conn_addr 
+3d21 67e14893 store 2 ,mem_24g_fast_conn_addr + 2 
+3d22 6fe140a8 fetch 2 ,mem_lap 
+3d23 67e140ac store 2 ,mem_lap + 4 
+3d24 d8a0437a arg mem_le_lap ,contw 
+3d25 d8c040a8 arg mem_lap ,contr 
+3d26 df200006 arg 0x06 ,loopcnt 
+3d27 20407ed9 call reverse_byte 
+3d28 704b9b20 jam 0x20 ,mem_lpm_mult_init 
+3d29 70493e34 jam 0x34 ,mem_device1_type 
+3d2a 6fe3437a fetch 6 ,mem_le_lap 
+3d2b 67e34955 store 6 ,mem_device1_locall_addr 
+3d2c 704bc402 jam 0x02 ,mem_mouse_bluetooth_type 
+3d2d 7043e71f jam 0x1f ,mem_le_adv_data_len 
+3d2e 58050102 setarg 0x050102 
+3d2f 67e1c3e8 store 3 ,mem_le_adv_data 
+3d30 58120303 setarg 0x120303 
+3d31 e7e18005 istore 3 ,contw 
+3d32 58190318 setarg 0x190318 
+3d33 e7e18005 istore 3 ,contw 
+3d34 580003c2 setarg 0x03c2 
+3d35 e7e10005 istore 2 ,contw 
+3d36 5806ff06 setarg 0x06ff06 
+3d37 67e1cae3 store 3 ,mem_le_adv_swift_pair 
+3d38 58000300 setarg 0x000300 
+3d39 e7e18005 istore 3 ,contw 
+3d3a 58090c80 setarg 0x090c80 
+3d3b e7e18005 istore 3 ,contw 
+3d3c 58355442 setarg 0x355442 
+3d3d e7e18005 istore 3 ,contw 
+3d3e 5820322e setarg 0x20322e 
+3d3f e7e18005 istore 3 ,contw 
+3d40 58756f4d setarg 0x756f4d 
+3d41 e7e18005 istore 3 ,contw 
+3d42 58006573 setarg 0x6573 
+3d43 e7e10005 istore 2 ,contw 
+3d44 7044071f jam 0x1f ,mem_le_scan_data_len 
+3d45 d8c04aea arg mem_le_adv_swift_pair + 7 ,contr 
+3d46 d8a04408 arg mem_le_scan_data ,contw 
+3d47 df20000d arg 13 ,loopcnt 
+3d48 20407dd4 call memcpy 
+3d49 6fe0c408 fetch 1 ,mem_le_scan_data 
+3d4a 1fe0ffff increase -1 ,pdata 
+3d4b 67e0c2f7 store 1 ,mem_le_name_len 
+3d4c d8c0440a arg mem_le_scan_data + 2 ,contr 
+3d4d d8a042f8 arg mem_le_name_len + 1 ,contw 
+3d4e df20000b arg 11 ,loopcnt 
+3d4f 20407dd4 call memcpy 
+3d50 58070007 setarg 0x070007 
+3d51 67e1c372 store 3 ,mem_le_interval_min 
+3d52 58002000 setarg 0x002000 
+3d53 e7e18005 istore 3 ,contw 
+3d54 5800012c setarg 0x012c 
+3d55 e7e10005 istore 2 ,contw 
+3d56 58181203 setarg 0x181203 
+3d57 67e1cadd store 3 ,mem_le_adv_ind 
+3d58 580000ff setarg 0x0000ff 
+3d59 67e1cae0 store 3 ,mem_le_adv_direct_ind 
+3d5a 380000fb setsect 0 ,0xfb 
+3d5b 3806c212 setsect 1 ,0x2c212 
+3d5c 3808800f setsect 2 ,0x800f 
+3d5d 380c0021 setsect 3 ,0x21 
+3d5e 67e4444c store 8 ,mem_local_rx_max_octets 
+3d5f 70443207 jam 0x07 ,mem_le_adv_channel_map 
+3d60 58000015 setarg 0x0015 
+3d61 67e14af8 store 2 ,mem_le_keyboard_handle 
+3d62 58000019 setarg 0x0019 
+3d63 67e14357 store 2 ,mem_le_notify_handle 
+3d64 5800001d setarg 0x001d 
+3d65 67e14afa store 2 ,mem_le_multimedia_handle 
+3d66 58000021 setarg 0x0021 
+3d67 67e14afc store 2 ,mem_le_systemctrl_handle 
+3d68 58000030 setarg 0x0030 
+3d69 67e14afe store 2 ,mem_le_battery_level_handle 
+3d6a 58000022 setarg 0x0022 
+3d6b 67e143d1 store 2 ,mem_le_pairing_handle 
+3d6c 704b0196 jam 0x96 ,mem_le_battery_level_updata_timer_init 
+3d6d 70493d00 jam mode_24g_device ,mem_device_flag 
+3d6e 204022d8 call g24_enable_1m 
+3d6f 204022db call g24_pair_param_init 
+3d70 58604800 setarg 0x604800 
+3d71 67e1c85f store 3 ,mem_24g_enter_hibernate 
+3d72 5800012c setarg 0x012c 
+3d73 67e148c6 store 2 ,mem_24g_long_sleep_param_update_timer_init 
+3d74 58000050 setarg 0x0050 
+3d75 67e148c4 store 2 ,mem_24g_transmit_by_interrupt_exit_count_init 
+3d76 58000005 setarg 0x05 
+3d77 67e14bcb store 2 ,mem_mouse_24g_power_on_fast_conn_timer 
+3d78 58000708 setarg 0x0708 
+3d79 67e14bcd store 2 ,mem_mouse_24g_search_dongle_time_init 
+3d7a 58010403 setarg 0x010403 
+3d7b 67e1c9d5 store 3 ,mem_mouse_dpi_seting 
+3d7c 582a2002 setarg 0x2a2002 
+3d7d e7e18005 istore 3 ,contw 
+3d7e 5822153f setarg 0x22153f 
+3d7f e7e18005 istore 3 ,contw 
+3d80 58114433 setarg 0x114433 
+3d81 e7e18005 istore 3 ,contw 
+3d82 58265a09 setarg 0x265a09 
+3d83 67e1c9e4 store 3 ,mem_sensor_3212_init 
+3d84 58041934 setarg 0x041934 
+3d85 e7e18005 istore 3 ,contw 
+3d86 58000009 setarg 0x0009 
+3d87 e7e10005 istore 2 ,contw 
+3d88 5800ffff setarg 0xffff 
+3d89 e7e10005 istore 2 ,contw 
+3d8a 580d5a09 setarg 0x0d5a09 
+3d8b 67e1c9f8 store 3 ,mem_sensor_3205_init 
+3d8c 58ed1d10 setarg 0xed1d10 
+3d8d e7e18005 istore 3 ,contw 
+3d8e 5800807d setarg 0x807d 
+3d8f e7e10005 istore 2 ,contw 
+3d90 5800ffff setarg 0xffff 
+3d91 e7e10005 istore 2 ,contw 
+3d92 58ff5a09 setarg 0xff5a09 
+3d93 67e1ca3e store 3 ,mem_sensor_8650_init 
+3d94 5840ab27 setarg 0x40ab27 
+3d95 e7e18005 istore 3 ,contw 
+3d96 589b56b3 setarg 0x9b56b3 
+3d97 e7e18005 istore 3 ,contw 
+3d98 5812a8e6 setarg 0x12a8e6 
+3d99 e7e18005 istore 3 ,contw 
+3d9a 58bec0a9 setarg 0xbec0a9 
+3d9b e7e18005 istore 3 ,contw 
+3d9c 58afa5e6 setarg 0xafa5e6 
+3d9d e7e18005 istore 3 ,contw 
+3d9e 58a121a0 setarg 0xa121a0 
+3d9f e7e18005 istore 3 ,contw 
+3da0 5810b802 setarg 0x10b802 
+3da1 e7e18005 istore 3 ,contw 
+3da2 58a70bb9 setarg 0xa70bb9 
+3da3 e7e18005 istore 3 ,contw 
+3da4 58d0b5ff setarg 0xd0b5ff 
+3da5 e7e18005 istore 3 ,contw 
+3da6 58ff00b6 setarg 0xff00b6 
+3da7 e7e18005 istore 3 ,contw 
+3da8 58000900 setarg 0x000900 
+3da9 e7e18005 istore 3 ,contw 
+3daa 5800ffff setarg 0xffff 
+3dab e7e10005 istore 2 ,contw 
+3dac 580d5a09 setarg 0x0d5a09 
+3dad 67e1ca64 store 3 ,mem_sensor_ka8ul_init 
+3dae 58c50e10 setarg 0xc50e10 
+3daf e7e18005 istore 3 ,contw 
+3db0 58109a5b setarg 0x109a5b 
+3db1 e7e18005 istore 3 ,contw 
+3db2 58421138 setarg 0x421138 
+3db3 e7e18005 istore 3 ,contw 
+3db4 58412828 setarg 0x412828 
+3db5 e7e18005 istore 3 ,contw 
+3db6 58394923 setarg 0x394923 
+3db7 e7e18005 istore 3 ,contw 
+3db8 584bb04a setarg 0x4bb04a 
+3db9 e7e18005 istore 3 ,contw 
+3dba 58904ca0 setarg 0x904ca0 
+3dbb e7e18005 istore 3 ,contw 
+3dbc 5809704d setarg 0x09704d 
+3dbd e7e18005 istore 3 ,contw 
+3dbe 58ffff00 setarg 0xffff00 
+3dbf e7e18005 istore 3 ,contw 
+3dc0 5846a509 setarg 0x46a509 
+3dc1 67e1ca92 store 3 ,mem_sensor_ka8g2_init 
+3dc2 58101934 setarg 0x101934 
+3dc3 e7e18005 istore 3 ,contw 
+3dc4 58690760 setarg 0x690760 
+3dc5 e7e18005 istore 3 ,contw 
+3dc6 58207d04 setarg 0x207d04 
+3dc7 e7e18005 istore 3 ,contw 
+3dc8 5809007e setarg 0x09007e 
+3dc9 e7e18005 istore 3 ,contw 
+3dca 58220d00 setarg 0x220d00 
+3dcb e7e18005 istore 3 ,contw 
+3dcc 58ff220e setarg 0xff220e 
+3dcd e7e18005 istore 3 ,contw 
+3dce 704aa7ff jam 0xff ,mem_sensor_ka8g2_init + 21 
+3dcf 580b5a09 setarg 0x0b5a09 
+3dd0 67e1cab4 store 3 ,mem_sensor_poweron_init 
+3dd1 580009f3 setarg 0x0009f3 
+3dd2 e7e18005 istore 3 ,contw 
+3dd3 5800ffff setarg 0xffff 
+3dd4 e7e10005 istore 2 ,contw 
+3dd5 20203174 branch app_sys_param_init 
+
+mouse_param_init:
+3dd6 58009468 setarg mouse_bt_sdp_addr 
+3dd7 67e14663 store 2 ,mem_ui_uuid_table 
+3dd8 58009732 setarg mouse_ble_att_list_addr 
+3dd9 67e14396 store 2 ,mem_ui_le_uuid_table 
+3dda 58002580 setarg 0x2580 
+3ddb 67e1c0b2 store 3 ,mem_class 
+3ddc 70417803 jam 3 ,mem_lpm_mult_timeout 
+3ddd 70415b08 jam 8 ,mem_lpm_overhead 
+3dde 704baf00 jam dpi_button_state_up ,mem_select_device_button_statue 
+3ddf 704baf00 jam pb_button_state_up ,mem_select_device_button_statue 
+3de0 704bb000 jam commbination_key_state_up ,mem_commbination_key_statue 
+3de1 58000200 setarg 0x0200 
+3de2 67e14159 store 2 ,mem_lpm_interval 
+3de3 70438017 jam 0x17 ,mem_le_local_mtu 
+3de4 70438217 jam 0x17 ,mem_le_remote_mtu 
+3de5 58000a77 setarg 0x0a77 
+3de6 67e14486 store 2 ,mem_spi_init_clk 
+3de7 38000306 setsect 0 ,0x306 
+3de8 38044440 setsect 1 ,0x4440 
+3de9 38090000 setsect 2 ,0x10000 
+3dea 380c4408 setsect 3 ,0x4408 
+3deb 67e4c665 store 9 ,mem_all_uuid_16bits 
+3dec 38001224 setsect 0 ,0x1224 
+3ded 38044000 setsect 1 ,0x4000 
+3dee 38080000 setsect 2 ,0x0 
+3def e7e28005 istore 5 ,contw 
+3df0 3803ffff setsect 0 ,0x3ffff 
+3df1 3806fe23 setsect 1 ,0x2fe23 
+3df2 380999d9 setsect 2 ,0x199d9 
+3df3 380c020d setsect 3 ,0x20d 
+3df4 67e440a0 store 8 ,mem_features 
+3df5 58004b06 setarg mem_le_tx_buffer0_omemalloc 
+3df6 67e143de store 2 ,mem_ble_l2cap_tx_buff0_ptr 
+3df7 58000010 setarg mouse_ble_l2cap_txbuff_size 
+3df8 67e143e0 store 2 ,mem_ble_l2cap_tx_buff_size_ptr 
+3df9 2040495b call mouse_device_led_all_off 
+3dfa 20404913 call mouse_device_poweron_timer_init 
+3dfb 20403ecf call mouse_adc_gpio_mux_init 
+3dfc 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+3dfd c30dbe02 bbit0 mouse_enable_bt_125hz ,mouse_param_init_intervl_end 
+3dfe 7044550c jam classic_interval_7_5ms ,mem_sniff_param_interval 
+3dff 58000006 setarg le_interval_7_5ms 
+3e00 67e14372 store 2 ,mem_le_interval_min 
+3e01 67e14374 store 2 ,mem_le_interval_min + 2 
+
+mouse_param_init_intervl_end:
+3e02 2040261a call g24_interval_param_8ms 
+3e03 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+3e04 c30c3e06 bbit0 mouse_enable_24g_250hz ,mouse_24g_short_sleep_set_end 
+3e05 20402612 call g24_interval_param_4ms 
+
+mouse_24g_short_sleep_set_end:
+3e06 6fe0c93d fetch 1 ,mem_device_flag 
+3e07 67e0cac5 store 1 ,mem_device_flag_temp 
+3e08 6fe1c37d fetch 3 ,mem_le_lap + 3 
+3e09 67e1cada store 3 ,mem_mouse_le_lap_temp 
+3e0a 6fe0c901 fetch 1 ,mem_adc_config_flag_init 
+3e0b 1fe17efe and pdata ,0xfe ,pdata 
+3e0c 67e0c901 store 1 ,mem_adc_config_flag_init 
+3e0d 67e0c4a2 store 1 ,mem_adc_config_flag 
+3e0e 58000000 setarg 0 
+3e0f 67e3c8d4 store 7 ,mem_mouse_key 
+3e10 6fe0c792 fetch 1 ,mem_ui_button_timeout 
+3e11 67e0cbac store 1 ,mem_bt_discovery_count 
+3e12 67e0cbad store 1 ,mem_select_device_count 
+3e13 20401a55 call le_modified_name 
+3e14 202042e0 branch mouse_sensor_set_angle 
+
+mouse_start_work:
+3e15 44e1c018 bpatch patch18_3 ,mem_patch18 
+3e16 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+3e17 c297c849 bbit1 mouse_enable_24g_first_auto_pairing ,mouse_24g_first_start_auto_pair_mode 
+3e18 6fe0c93d fetch 1 ,mem_device_flag 
+3e19 c0004835 beq mode_24g_device ,mouse_24g_start_mode 
+3e1a 20403e28 call mouse_wakeup_from_power_check 
+3e1b 2434432b nbranch mouse_buletooth_fast_conn_init ,user 
+
+mouse_start_reconnect_device:
+3e1c 44e24018 bpatch patch18_4 ,mem_patch18 
+3e1d da20493e arg mem_device1_type ,rega 
+3e1e 6fe0c93d fetch 1 ,mem_device_flag 
+3e1f 1fe0ffff increase -1 ,pdata 
+3e20 1feffe1d mul32 pdata ,29 ,pdata 
+3e21 9a20a200 iadd rega ,rega 
+3e22 efe08011 ifetch 1 ,rega 
+3e23 67e0c484 store 1 ,mem_xrecord_mode 
+
+mouse_start_reconnect:
+3e24 6fe0c484 fetch 1 ,mem_xrecord_mode 
+3e25 c019be32 beq rec_3_mode ,mouse3_0_check_reconn_target 
+3e26 c01a3e3e beq rec_4_mode ,mouse4_0_check_reconn_target 
+3e27 20204593 branch mouse_start_discovery 
+
+mouse_wakeup_from_power_check:
+3e28 44e2c018 bpatch patch18_5 ,mem_patch18 
+3e29 78547c00 disable user 
+3e2a 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+3e2b c305be2f bbit0 mouse_enable_wakeup_from_power ,mouse_wakeup_from_power 
+3e2c 6fe08989 fetch 1 ,mem_wakup_from_power_flag 
+3e2d c3013e2f bbit0 bit_power_on ,mouse_wakeup_from_power 
+3e2e 78347c00 enable user 
+
+mouse_wakeup_from_power:
+3e2f 6fe0cac2 fetch 1 ,mem_reconn_times_init 
+3e30 67e0cac1 store 1 ,mem_reconn_times 
+3e31 20600000 rtn 
+
+mouse3_0_check_reconn_target:
+3e32 68494bc9 fetcht 2 ,mem_mouse_fast_page_to 
+3e33 6fe0cad2 fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
+3e34 c07fbe36 beq 0xff ,mouse3_0_check_reconn_target_next 
+3e35 68494bc6 fetcht 2 ,mem_mouse_page_to 
+
+mouse3_0_check_reconn_target_next:
+3e36 604940c1 storet 2 ,mem_page_to 
+3e37 6fe341dd fetch 6 ,mem_hci_plap 
+3e38 203a326a branch app_bt_start_discovery_short ,blank 
+3e39 70447f17 jam 0x17 ,mem_app_connection_options 
+3e3a 6fe0c767 fetch 1 ,mem_ssp_enable 
+3e3b 243a3260 nbranch app_bt_start_reconnect ,blank 
+3e3c 70447f04 jam 0x04 ,mem_app_connection_options 
+3e3d 20203260 branch app_bt_start_reconnect 
+
+mouse4_0_check_reconn_target:
+3e3e 704ad801 jam 1 ,mem_mouse_le_reconnect_flag 
+3e3f 6848cbc8 fetcht 1 ,mem_mouse_fast_direct_timeout 
+3e40 6fe0cad2 fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
+3e41 c07fbe43 beq 0xff ,mouse4_0_check_reconn_target_next 
+3e42 6848c906 fetcht 1 ,mem_mouse_direct_timeout 
+
+mouse4_0_check_reconn_target_next:
+3e43 6048cb88 storet 1 ,mem_mouse_direct_timer 
+3e44 20403297 call app_lpm_mult_disable 
+3e45 6fe1cae0 fetch 3 ,mem_le_adv_direct_ind 
+3e46 67e1c3ec store 3 ,mem_le_adv_data + 4 
+3e47 20404428 call mouse_le_check_adv_flag 
+3e48 58000004 setarg adv_flag_bredr_not_supported 
+3e49 e7e08006 istore 1 ,contr 
+3e4a d8c04408 arg mem_le_scan_data ,contr 
+3e4b 2040442f call mouse_le_adv_data_update 
+3e4c 20207959 branch check_51cmd_adv 
+
+mouse_lpm_check_wake_lock:
+3e4d c513324f bmark1 mark_24g ,app_get_lpm_wake_lock 
+3e4e 6fe0cabd fetch 1 ,mem_mouse_clear_sensor_data_flag 
+3e4f 203a324f branch app_get_lpm_wake_lock ,blank 
+3e50 6fe0cb05 fetch 1 ,mem_mouse_le_conn_param_reject 
+3e51 c000b24f beq le_lpm_disable ,app_get_lpm_wake_lock 
+3e52 6fe144db fetch 2 ,mem_sdp_remote_cid 
+3e53 243a324f nbranch app_get_lpm_wake_lock ,blank 
+3e54 6fe0c8e5 fetch 1 ,mem_mouse_wheel_trigger 
+3e55 243a324f nbranch app_get_lpm_wake_lock ,blank 
+3e56 20203251 branch app_put_lpm_wake_lock 
+
+mouse_delay_enter_hibernata:
+3e57 6fe0c906 fetch 1 ,mem_mouse_direct_timeout 
+3e58 67e0cad5 store 1 ,mem_mouse_bluetooth_reconnect_timeout 
+3e59 20600000 rtn 
+
+mouse_app_enter_hibernate:
+3e5a 44e34018 bpatch patch18_6 ,mem_patch18 
+3e5b 20404272 call mouse_sensor_reset 
+3e5c 2040427c call mouse_sensor_powerdown 
+3e5d 20203289 branch app_enter_hibernate 
+
+mouse_before_hibernate:
+3e5e 44e3c018 bpatch patch18_7 ,mem_patch18 
+3e5f 6ff20138 fetch 4 ,core_lpm_ctrl 
+3e60 79207e1a set1 26 ,pdata 
+3e61 67f2004c store 4 ,core_lpm_reg 
+3e62 2040154c call lpm_write_ctrl 
+3e63 20406e62 call disable_authrom 
+3e64 2040495b call mouse_device_led_all_off 
+3e65 20404055 call mouse_before_hibernate_wheel_gpio_set 
+3e66 20403e6a call mouse_setgpio_hibernate 
+3e67 2040466d call mouse_flash_power_down 
+3e68 6848c915 fetcht 1 ,mem_sensor_motion_gpio 
+3e69 202060e6 branch gpio_clr_wake 
+
+mouse_setgpio_hibernate:
+3e6a 44e44019 bpatch patch19_0 ,mem_patch19 
+3e6b 20404329 call mouse_set_sdio_high 
+3e6c 20407f52 call clear_wake 
+3e6d 20403e80 call mouse_lpm_before_common 
+3e6e 20403e72 call mouse_gpio_pu_idle 
+3e6f 6848c91b fetcht 1 ,mem_mouse_reuse_2ice_gpio 
+3e70 20403f96 call mouse_gpio_config_input_pu 
+3e71 20203f98 branch mouse_gpio_set_high_impedance 
+
+mouse_gpio_pu_idle:
+3e72 d8c08070 arg core_gpio_conf ,contr 
+3e73 df200013 arg 19 ,loopcnt 
+
+mouse_gpio_pu_idle_loop:
+3e74 efe08006 ifetch 1 ,contr 
+3e75 243a3e79 nbranch mouse_gpio_pu_idle_configured ,blank 
+3e76 58000040 setarg 0x40 
+3e77 18c08bff add contr ,-1 ,contw 
+3e78 e7e08005 istore 1 ,contw 
+
+mouse_gpio_pu_idle_configured:
+3e79 c2003e74 loop mouse_gpio_pu_idle_loop 
+3e7a 20600000 rtn 
+
+mouse_process_lpm_before:
+3e7b c6130000 rtnmark1 mark_24g 
+3e7c 20403e80 call mouse_lpm_before_common 
+3e7d 6fe0809d fetch 1 ,mem_lpm_current_mult 
+3e7e 247a0000 nrtn blank 
+3e7f 202060e6 branch gpio_clr_wake 
+
+mouse_lpm_before_common:
+3e80 44e4c019 bpatch patch19_1 ,mem_patch19 
+3e81 20403fc8 call mouse_wheel_check 
+3e82 6fe0c923 fetch 1 ,mem_mouse_sensor_sclk_gpio 
+3e83 d840003f arg gpcfg_output_high ,temp 
+3e84 2040612c call gpio_config_function_int 
+3e85 20405b62 call twspi_disable 
+3e86 6848c91c fetcht 1 ,mem_lbutton_gpio 
+3e87 204060da call gpio_set_wake 
+3e88 6848c91d fetcht 1 ,mem_rbutton_gpio 
+3e89 204060da call gpio_set_wake 
+3e8a 6848c91e fetcht 1 ,mem_mbutton_gpio 
+3e8b 204060da call gpio_set_wake 
+3e8c 6848c911 fetcht 1 ,mem_bk_button_gpio 
+3e8d 204060da call gpio_set_wake 
+3e8e 6848c912 fetcht 1 ,mem_fw_button_gpio 
+3e8f 204060da call gpio_set_wake 
+3e90 6848c913 fetcht 1 ,mem_dpi_button_gpio 
+3e91 204060da call gpio_set_wake 
+3e92 6848c91f fetcht 1 ,mem_config_select_device_button_gpio 
+3e93 204060da call gpio_set_wake 
+3e94 6848c916 fetcht 1 ,mem_customer_key_gpio 
+3e95 204060da call gpio_set_wake 
+3e96 6848c917 fetcht 1 ,mem_whee_a_data_gpio 
+3e97 204060d6 call gpio_set_wake_by_current_state 
+3e98 6848c918 fetcht 1 ,mem_whee_b_data_gpio 
+3e99 204060d6 call gpio_set_wake_by_current_state 
+3e9a 6848c920 fetcht 1 ,mem_whee_ta_data_gpio 
+3e9b 204060d6 call gpio_set_wake_by_current_state 
+3e9c 6848c921 fetcht 1 ,mem_whee_tb_data_gpio 
+3e9d 204060d6 call gpio_set_wake_by_current_state 
+3e9e 6848c915 fetcht 1 ,mem_sensor_motion_gpio 
+3e9f 202060da branch gpio_set_wake 
+
+mouse_set_mult:
+3ea0 6fe1478f fetch 2 ,mem_ui_state_map 
+3ea1 c284bea5 bbit1 ui_state_ble_connected ,mouse_set_ble_mult 
+3ea2 6fe1478f fetch 2 ,mem_ui_state_map 
+3ea3 c2803ea8 bbit1 ui_state_bt_connected ,mouse_set_bt_mult 
+3ea4 20600000 rtn 
+
+mouse_set_ble_mult:
+3ea5 1a227e00 copy rega ,pdata 
+3ea6 243a1ad2 nbranch le_set_config_short_mult ,blank 
+3ea7 20201ad4 branch le_clr_config_short_mult 
+
+mouse_set_bt_mult:
+3ea8 1a227e00 copy rega ,pdata 
+3ea9 243a150e nbranch classic_bt_set_mult_short_flag ,blank 
+3eaa 20201510 branch classic_bt_clr_mult_short_flag 
+
+mouse_adc_gpio_set:
+3eab 6fe0c4a2 fetch 1 ,mem_adc_config_flag 
+3eac c1810000 rtnne adc_config_gpio 
+
+mouse_adc_gpio_check_output:
+3ead 44e54019 bpatch patch19_2 ,mem_patch19 
+3eae 6848c4a3 fetcht 1 ,mem_adc_channel 
+3eaf 18467c03 sub temp ,3 ,null 
+3eb0 20213eb9 branch mouse_adc_gpio_4_7_set ,positive 
+3eb1 18408405 increase 5 ,temp 
+3eb2 6048c900 storet 1 ,mem_adc_channel_gpio 
+
+mouse_adc_gpio_set_next:
+3eb3 18422200 copy temp ,rega 
+3eb4 20406131 call gpio_get_config 
+3eb5 c01fc9a1 beq gpcfg_output_high ,mouse_set_24g_led_statue 
+3eb6 2040499f call mouse_clear_24g_led_statue 
+3eb7 1a220400 copy rega ,temp 
+3eb8 20206121 branch gpio_set_high_impedance 
+
+mouse_adc_gpio_4_7_set:
+3eb9 18408404 increase 4 ,temp 
+3eba 6048c900 storet 1 ,mem_adc_channel_gpio 
+3ebb 20203eb3 branch mouse_adc_gpio_set_next 
+
+mouse_adc_vol_init:
+3ebc 6fe0c901 fetch 1 ,mem_adc_config_flag_init 
+3ebd c0013ec5 beq adc_config_gpio ,mouse_adc_gpio_vol_init 
+3ebe c0003eca beq adc_config_vinlpm ,mouse_adc_gpio_vinlpm_init 
+3ebf 70490100 jam adc_config_vinlpm ,mem_adc_config_flag_init 
+3ec0 582c0172 setarg 0x2c0172 
+3ec1 67e1c8e7 store 3 ,mem_mouse_vdd_full_vol 
+3ec2 58014001 setarg 0x014001 
+3ec3 e7e18005 istore 3 ,contw 
+3ec4 20600000 rtn 
+
+mouse_adc_gpio_vol_init:
+3ec5 585d0099 setarg 0x5d0099 
+3ec6 67e1c8e7 store 3 ,mem_mouse_vdd_full_vol 
+3ec7 58007100 setarg 0x007100 
+3ec8 e7e18005 istore 3 ,contw 
+3ec9 20600000 rtn 
+
+mouse_adc_gpio_vinlpm_init:
+3eca 58c8012c setarg 0xc8012c 
+3ecb 67e1c8e7 store 3 ,mem_mouse_vdd_full_vol 
+3ecc 5800dc00 setarg 0x00dc00 
+3ecd e7e18005 istore 3 ,contw 
+3ece 20600000 rtn 
+
+mouse_adc_gpio_mux_init:
+3ecf 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+3ed0 c40a0000 rtnbit0 mouse_enable_adc 
+3ed1 7048f901 jam mouse_adc_check_multiple ,mem_adc_mux_status 
+3ed2 c3970000 rtnbit1 mouse_enable_dpi_key_connect_adc 
+3ed3 c3958000 rtnbit1 mouse_enable_select_device_by_switch_adc 
+3ed4 7048f900 jam mouse_adc_check_battery_only ,mem_adc_mux_status 
+3ed5 20600000 rtn 
+
+mouse_adc_read_interval:
+3ed6 6fe0c8fa fetch 1 ,mem_adc_read_timer 
+3ed7 1fe0fe01 increase 1 ,pdata 
+3ed8 67e0c8fa store 1 ,mem_adc_read_timer 
+3ed9 6848c8fb fetcht 1 ,mem_adc_read_time_init 
+3eda 98467c00 isub temp ,null 
+3edb 20600000 rtn 
+
+mouse_adc_read:
+3edc 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+3edd c40a0000 rtnbit0 mouse_enable_adc 
+3ede 20403eab call mouse_adc_gpio_set 
+3edf 6fe0c8f9 fetch 1 ,mem_adc_mux_status 
+3ee0 203a3ef3 branch mouse_adc_read_battery ,blank 
+3ee1 6fe0c4a2 fetch 1 ,mem_adc_config_flag 
+3ee2 c0013ee8 beq adc_config_gpio ,mouse_adc_read_gpio_mux_start 
+3ee3 7048f903 jam mouse_adc_check_vinlpm_multiple ,mem_adc_mux_status 
+3ee4 20403ed6 call mouse_adc_read_interval 
+3ee5 20213eea branch mouse_adc_read_gpio ,positive 
+3ee6 20403eef call mouse_adc_read_vinlpm 
+3ee7 20203ef9 branch mouse_adc_read_start 
+
+mouse_adc_read_gpio_mux_start:
+3ee8 7048f902 jam mouse_adc_check_gpio_multiple ,mem_adc_mux_status 
+3ee9 20203ef9 branch mouse_adc_read_start 
+
+mouse_adc_read_gpio:
+3eea 20403ead call mouse_adc_gpio_check_output 
+3eeb 7044a202 jam adc_config_gpio ,mem_adc_config_flag 
+3eec 6fe0cbbb fetch 1 ,mem_24g_device_led_status 
+3eed 245a3eef ncall mouse_adc_read_vinlpm ,blank 
+3eee 20203ef9 branch mouse_adc_read_start 
+
+mouse_adc_read_vinlpm:
+3eef 7048fa00 jam 0 ,mem_adc_read_timer 
+3ef0 6fe0c901 fetch 1 ,mem_adc_config_flag_init 
+3ef1 67e0c4a2 store 1 ,mem_adc_config_flag 
+3ef2 20600000 rtn 
+
+mouse_adc_read_battery:
+3ef3 6fe0c4a2 fetch 1 ,mem_adc_config_flag 
+3ef4 c0813ef7 bne adc_config_gpio ,mouse_adc_read_battery_start 
+3ef5 6fe0cbbb fetch 1 ,mem_24g_device_led_status 
+3ef6 247a0000 nrtn blank 
+
+mouse_adc_read_battery_start:
+3ef7 20403ed6 call mouse_adc_read_interval 
+3ef8 24610000 nrtn positive 
+
+mouse_adc_read_start:
+3ef9 44e5c019 bpatch patch19_3 ,mem_patch19 
+3efa 6fe0cbbb fetch 1 ,mem_24g_device_led_status 
+3efb 247a0000 nrtn blank 
+3efc 7048fa00 jam 0 ,mem_adc_read_timer 
+3efd 20406166 call enable_adc 
+3efe 2040618d call vdd_calculate_by_mode 
+3eff 67e148ed store 2 ,mem_mouse_vdd_now_vol 
+3f00 6fe0c4a2 fetch 1 ,mem_adc_config_flag 
+3f01 c0813f08 bne adc_config_gpio ,mouse_adc_data_process 
+3f02 684948ed fetcht 2 ,mem_mouse_vdd_now_vol 
+3f03 184ffe08 mul32 temp ,8 ,pdata 
+3f04 1fe6fc0a div pdata ,10 
+3f05 20407e61 call get_div_result 
+3f06 9840fe00 iadd temp ,pdata 
+3f07 67e148ed store 2 ,mem_mouse_vdd_now_vol 
+
+mouse_adc_data_process:
+3f08 da2048e7 arg mem_mouse_vdd_calculate_set ,rega 
+3f09 20403f1a call mouse_adc_bat_percent_lowpower_out 
+3f0a 6fe0c4a6 fetch 1 ,mem_adc_power_flag 
+3f0b c2813f5c bbit1 2 ,mouse_adc_button_press 
+3f0c c280bf5e bbit1 1 ,mouse_power_down 
+3f0d c3003f12 bbit0 0 ,mouse_adc_no_low_voltage 
+3f0e 7048fe01 jam 1 ,mem_mouse_adc_last_low_voltage_flag 
+3f0f 20203f10 branch mouse_adc_low_voltage 
+
+mouse_adc_low_voltage:
+3f10 d8e00004 arg mouse_low_voltage_flag ,queue 
+3f11 2020472e branch mouse_enable_function_flag 
+
+mouse_adc_no_low_voltage:
+3f12 d8e00004 arg mouse_low_voltage_flag ,queue 
+3f13 20404732 call mouse_disable_function_flag 
+3f14 7048fc0c jam 12 ,mem_adc_low_volatage_led_timer_count 
+3f15 6fe0c8fe fetch 1 ,mem_mouse_adc_last_low_voltage_flag 
+3f16 207a0000 rtn blank 
+3f17 7048fe00 jam 0 ,mem_mouse_adc_last_low_voltage_flag 
+3f18 6848c925 fetcht 1 ,mem_config_low_voltage_alarm_gpio 
+3f19 20204978 branch mouse_led_off 
+
+mouse_adc_bat_percent_lowpower_out:
+3f1a 44e64019 bpatch patch19_4 ,mem_patch19 
+3f1b efe40011 ifetch 8 ,rega 
+3f1c 67e4095c store 8 ,mem_pdatatemp 
+3f1d 6fe0c8f9 fetch 1 ,mem_adc_mux_status 
+3f1e c0003f32 beq mouse_adc_check_battery_only ,mouse_adc_bat_percent_lowpower_out_battery 
+3f1f c0013f21 beq mouse_adc_check_gpio_multiple ,mouse_adc_bat_percent_lowpower_out_gpio_multiple 
+3f20 c001bf51 beq mouse_adc_check_vinlpm_multiple ,mouse_adc_bat_percent_lowpower_out_vinlpm_multiple 
+
+mouse_adc_bat_percent_lowpower_out_gpio_multiple:
+3f21 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+3f22 c3173f27 bbit0 mouse_enable_dpi_key_connect_adc ,mouse_adc_bat_percent_lowpower_out_gpio_switch 
+3f23 6fe10962 fetch 2 ,mem_pdatatemp + 6 
+3f24 684948ef fetcht 2 ,mem_mouse_vdd_button_press_vol 
+3f25 98467c00 isub temp ,null 
+3f26 24213f54 nbranch mouse_adc_set_button_press_flag ,positive 
+
+mouse_adc_bat_percent_lowpower_out_gpio_switch:
+3f27 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+3f28 c315bf32 bbit0 mouse_enable_select_device_by_switch_adc ,mouse_adc_bat_percent_lowpower_out_battery 
+3f29 7048ff00 jam 0 ,mem_mouse_adc_button_press_flag 
+3f2a 6fe10962 fetch 2 ,mem_pdatatemp + 6 
+3f2b 684948f1 fetcht 2 ,mem_mouse_vdd_switch_gnd_24g_vol 
+3f2c 98467c00 isub temp ,null 
+3f2d 24213f30 nbranch mouse_select_24gdevice ,positive 
+3f2e 204046e7 call mouse_select_btdevice 
+3f2f 20203f32 branch mouse_adc_bat_percent_lowpower_out_battery 
+
+mouse_select_24gdevice:
+3f30 204046eb call mouse_check_select_24gdevice 
+3f31 20203f32 branch mouse_adc_bat_percent_lowpower_out_battery 
+
+mouse_adc_bat_percent_lowpower_out_battery:
+3f32 20403f58 call mouse_adc_clear_button_press_flag 
+3f33 204061d6 call adc_clear_no_power_flag 
+3f34 204061ce call adc_clear_low_power_flag 
+3f35 6fe10962 fetch 2 ,mem_pdatatemp + 6 
+3f36 6849095e fetcht 2 ,mem_pdatatemp + 2 
+3f37 98467c00 isub temp ,null 
+3f38 244161d2 ncall adc_set_no_power_flag ,positive 
+3f39 68490960 fetcht 2 ,mem_pdatatemp + 4 
+3f3a 98467c00 isub temp ,null 
+3f3b 244161ca ncall adc_set_low_power_flag ,positive 
+
+mouse_adc_bat_level_set:
+3f3c 6fe10962 fetch 2 ,mem_pdatatemp + 6 
+3f3d 6849095c fetcht 2 ,mem_pdatatemp 
+3f3e 98467c00 isub temp ,null 
+3f3f 20213f4d branch mouse_adc_bat_level_100_percent ,positive 
+3f40 6849095e fetcht 2 ,mem_pdatatemp + 2 
+3f41 98467e00 isub temp ,pdata 
+3f42 24213f4f nbranch mouse_adc_bat_level_0_percent ,positive 
+3f43 203a3f4f branch mouse_adc_bat_level_0_percent ,blank 
+3f44 1fefa264 mul32 pdata ,100 ,rega 
+3f45 6fe1095c fetch 2 ,mem_pdatatemp 
+3f46 6849095e fetcht 2 ,mem_pdatatemp + 2 
+3f47 98460400 isub temp ,temp 
+3f48 1a227e00 copy rega ,pdata 
+3f49 9846fc00 idiv temp 
+3f4a 20407e61 call get_div_result 
+3f4b 67e0cb00 store 1 ,mem_le_battery_level_percentage 
+3f4c 20600000 rtn 
+
+mouse_adc_bat_level_100_percent:
+3f4d 704b0064 jam 100 ,mem_le_battery_level_percentage 
+3f4e 20600000 rtn 
+
+mouse_adc_bat_level_0_percent:
+3f4f 704b0000 jam 0 ,mem_le_battery_level_percentage 
+3f50 20600000 rtn 
+
+mouse_adc_bat_percent_lowpower_out_vinlpm_multiple:
+3f51 6fe0c4a2 fetch 1 ,mem_adc_config_flag 
+3f52 c0013f21 beq adc_config_gpio ,mouse_adc_bat_percent_lowpower_out_gpio_multiple 
+3f53 20203f32 branch mouse_adc_bat_percent_lowpower_out_battery 
+
+mouse_adc_set_button_press_flag:
+3f54 6848c4a6 fetcht 1 ,mem_adc_power_flag 
+3f55 79200402 set1 2 ,temp 
+3f56 6048c4a6 storet 1 ,mem_adc_power_flag 
+3f57 20600000 rtn 
+
+mouse_adc_clear_button_press_flag:
+3f58 6848c4a6 fetcht 1 ,mem_adc_power_flag 
+3f59 793f8402 set0 2 ,temp 
+3f5a 6048c4a6 storet 1 ,mem_adc_power_flag 
+3f5b 20600000 rtn 
+
+mouse_adc_button_press:
+3f5c 7048ff01 jam 1 ,mem_mouse_adc_button_press_flag 
+3f5d 20600000 rtn 
+
+mouse_power_down:
+3f5e 2040495b call mouse_device_led_all_off 
+3f5f 20203e5a branch mouse_app_enter_hibernate 
+
+mouse_gpio_init:
+3f60 6848c4c3 fetcht 1 ,mem_eeprom_wp_gpio 
+3f61 2040610d call gpio_config_output 
+3f62 20407a1f call usb_offline_check_init 
+3f63 6848c91c fetcht 1 ,mem_lbutton_gpio 
+3f64 20403f96 call mouse_gpio_config_input_pu 
+3f65 6848c91d fetcht 1 ,mem_rbutton_gpio 
+3f66 20403f96 call mouse_gpio_config_input_pu 
+3f67 6848c91e fetcht 1 ,mem_mbutton_gpio 
+3f68 20403f96 call mouse_gpio_config_input_pu 
+3f69 6848c911 fetcht 1 ,mem_bk_button_gpio 
+3f6a 20403f96 call mouse_gpio_config_input_pu 
+3f6b 6848c912 fetcht 1 ,mem_fw_button_gpio 
+3f6c 20403f96 call mouse_gpio_config_input_pu 
+3f6d 6848c913 fetcht 1 ,mem_dpi_button_gpio 
+3f6e 20403f96 call mouse_gpio_config_input_pu 
+3f6f 6848c914 fetcht 1 ,mem_matrix_public_gpio 
+3f70 20403f96 call mouse_gpio_config_input_pu 
+3f71 6848c91f fetcht 1 ,mem_config_select_device_button_gpio 
+3f72 20403f96 call mouse_gpio_config_input_pu 
+3f73 6848c916 fetcht 1 ,mem_customer_key_gpio 
+3f74 20403f96 call mouse_gpio_config_input_pu 
+3f75 6848c917 fetcht 1 ,mem_whee_a_data_gpio 
+3f76 20403f96 call mouse_gpio_config_input_pu 
+3f77 6848c918 fetcht 1 ,mem_whee_b_data_gpio 
+3f78 20403f96 call mouse_gpio_config_input_pu 
+3f79 6848c920 fetcht 1 ,mem_whee_ta_data_gpio 
+3f7a 20403f96 call mouse_gpio_config_input_pu 
+3f7b 6848c921 fetcht 1 ,mem_whee_tb_data_gpio 
+3f7c 20403f96 call mouse_gpio_config_input_pu 
+3f7d 6848c915 fetcht 1 ,mem_sensor_motion_gpio 
+3f7e 20403f96 call mouse_gpio_config_input_pu 
+3f7f 6848c922 fetcht 1 ,mem_device_switch_gpio 
+3f80 20403f96 call mouse_gpio_config_input_pu 
+3f81 6848c925 fetcht 1 ,mem_config_low_voltage_alarm_gpio 
+3f82 2040610d call gpio_config_output 
+3f83 6848c919 fetcht 1 ,mem_config_device_24g_led_gpio 
+3f84 2040610d call gpio_config_output 
+3f85 6848c926 fetcht 1 ,mem_config_device_bt1_led_gpio 
+3f86 2040610d call gpio_config_output 
+3f87 6848c927 fetcht 1 ,mem_config_device_bt2_led_gpio 
+3f88 2040610d call gpio_config_output 
+3f89 6848c928 fetcht 1 ,mem_dpi_led_gpio 
+3f8a 2040610d call gpio_config_output 
+3f8b 6848c91a fetcht 1 ,mem_select_sensor_angle_gpio 
+3f8c 20203f96 branch mouse_gpio_config_input_pu 
+
+mouse_gpio_set_pupd_by_input:
+3f8d 18467cff sub temp ,ui_button_gpio_disable ,null 
+3f8e 20628000 rtn zero 
+3f8f 18410e7f and temp ,0x7f ,queue 
+3f90 6ff2011c fetch 4 ,core_gpio_in 
+3f91 afefffff qisolate1 pdata 
+3f92 2020bf96 branch mouse_gpio_config_input_pu ,true 
+3f93 20203f94 branch mouse_gpio_config_input_pd 
+
+mouse_gpio_config_input_pd:
+3f94 79200407 set1 gpio_active_bit ,temp 
+3f95 202060f4 branch gpio_config_input 
+
+mouse_gpio_config_input_pu:
+3f96 793f8407 set0 gpio_active_bit ,temp 
+3f97 202060f4 branch gpio_config_input 
+
+mouse_gpio_set_high_impedance:
+3f98 6fe1cbef fetch 3 ,mem_mouse_set_high_impedance_bit_set 
+3f99 67e1895c store 3 ,mem_pdatatemp 
+3f9a df200014 arg 20 ,loopcnt 
+3f9b d8400000 arg 0 ,temp 
+
+mouse_gpio_set_high_impedance_bit_loop:
+3f9c 6fe1895c fetch 3 ,mem_pdatatemp 
+3f9d 2feffe00 isolate1 0 ,pdata 
+3f9e 2040e121 call gpio_set_high_impedance ,true 
+3f9f 6fe1895c fetch 3 ,mem_pdatatemp 
+3fa0 1fe3fe00 lshift pdata ,pdata 
+3fa1 67e1895c store 3 ,mem_pdatatemp 
+3fa2 18408401 increase 1 ,temp 
+3fa3 c2003f9c loop mouse_gpio_set_high_impedance_bit_loop 
+3fa4 20600000 rtn 
+
+mouse_sensor_spi_init:
+3fa5 20403faa call mouse_spid_init_pin 
+3fa6 70448673 jam 0x73 ,mem_spi_init_clk 
+3fa7 20403fa9 call mouse_spi_init 
+3fa8 20205b66 branch twspi_enable 
+
+mouse_spi_write_flash_cb:
+
+mouse_spi_init:
+3fa9 20205d54 branch spid_init 
+
+mouse_spid_init_pin:
+3faa 6fe0c923 fetch 1 ,mem_mouse_sensor_sclk_gpio 
+3fab d8400021 arg gpcfg_spid_sck ,temp 
+3fac 2040612c call gpio_config_function_int 
+3fad 6fe0c924 fetch 1 ,mem_mouse_sensor_sdio_gpio 
+3fae d8400023 arg gpcfg_spid_sdio ,temp 
+3faf 2020612c branch gpio_config_function_int 
+
+mouse_motion:
+3fb0 44e6c019 bpatch patch19_5 ,mem_patch19 
+3fb1 78547c00 disable user 
+3fb2 58000000 setarg 0 
+3fb3 67e348d5 store 6 ,mem_mouse_x 
+3fb4 20404280 call mouse_check_sensor_data 
+3fb5 20403fbe call mouse_zwheel 
+3fb6 20403fc3 call mouse_t_zwheel 
+3fb7 2040411c call mouse_key 
+3fb8 6fe0c8d4 fetch 1 ,mem_mouse_key 
+3fb9 1fe17e1f and_into 0x1f ,pdata 
+3fba 67e0c8d4 store 1 ,mem_mouse_key 
+3fbb 24344766 nbranch mouse_drawing_optima_init ,user 
+3fbc 20404758 call mouse_drawing_optima 
+3fbd 20204584 branch mouse_no_data_timer_init 
+
+mouse_zwheel:
+3fbe 6fe0c8e4 fetch 1 ,mem_mouse_z_data 
+3fbf 207a0000 rtn blank 
+3fc0 67e0c8d9 store 1 ,mem_mouse_z 
+3fc1 7048e400 jam 0 ,mem_mouse_z_data 
+3fc2 20207ec5 branch enable_user 
+
+mouse_t_zwheel:
+3fc3 6fe0c8e0 fetch 1 ,mem_mouse_tz_data 
+3fc4 207a0000 rtn blank 
+3fc5 67e0c8da store 1 ,mem_mouse_tz 
+3fc6 7048e000 jam 0 ,mem_mouse_tz_data 
+3fc7 20207ec5 branch enable_user 
+
+mouse_wheel_check:
+3fc8 20403fd5 call mouse_t_wheel_scan 
+3fc9 20404011 call mouse_wheel_scan 
+3fca 6fe0c8de fetch 1 ,mem_wheel_tb_new_pinlevel 
+3fcb 6848c8dd fetcht 1 ,mem_wheel_tb_old_pinlevel 
+3fcc 67e0c8dd store 1 ,mem_wheel_tb_old_pinlevel 
+3fcd 98467c00 isub temp ,null 
+3fce 2422b253 nbranch app_lpm_wake_auto_lock ,zero 
+3fcf 6fe0c8e2 fetch 1 ,mem_mwheel_b_new_pinlevel 
+3fd0 6848c8e1 fetcht 1 ,mem_mwheel_b_old_pinlevel 
+3fd1 67e0c8e1 store 1 ,mem_mwheel_b_old_pinlevel 
+3fd2 98467c00 isub temp ,null 
+3fd3 2422b253 nbranch app_lpm_wake_auto_lock ,zero 
+3fd4 20600000 rtn 
+
+mouse_t_wheel_scan:
+3fd5 6fe0c920 fetch 1 ,mem_whee_ta_data_gpio 
+3fd6 c17f8000 rtneq gpio_disable 
+3fd7 da200000 arg 0 ,rega 
+3fd8 6848c920 fetcht 1 ,mem_whee_ta_data_gpio 
+3fd9 204060fd call gpio_get_bit 
+3fda 7920a200 setflag true ,0 ,rega 
+3fdb 6848c921 fetcht 1 ,mem_whee_tb_data_gpio 
+3fdc 204060fd call gpio_get_bit 
+3fdd 7920a201 setflag true ,1 ,rega 
+3fde 1a227e00 copy rega ,pdata 
+3fdf 67e0c8de store 1 ,mem_wheel_tb_new_pinlevel 
+3fe0 c000bfe5 beq 0x01 ,mouse_t_wheel_scan_judge1 
+3fe1 c0013fe9 beq 0x02 ,mouse_t_wheel_scan_judge2 
+3fe2 6fe0c8df fetch 1 ,mem_wheel_tog 
+3fe3 c283bff5 bbit1 7 ,mouse_t_wheel_scan_judge3 
+3fe4 20600000 rtn 
+
+mouse_t_wheel_scan_judge1:
+3fe5 6fe0c8dd fetch 1 ,mem_wheel_tb_old_pinlevel 
+3fe6 c0003fed beq 0 ,mouse_t_wheel_scan_judge11 
+3fe7 c001bfef beq 3 ,mouse_t_wheel_scan_judge12 
+3fe8 20600000 rtn 
+
+mouse_t_wheel_scan_judge2:
+3fe9 6fe0c8dd fetch 1 ,mem_wheel_tb_old_pinlevel 
+3fea c0003ff1 beq 0 ,mouse_t_wheel_scan_judge21 
+3feb c001bff3 beq 3 ,mouse_t_wheel_scan_judge22 
+3fec 20600000 rtn 
+
+mouse_t_wheel_scan_judge11:
+3fed 7048df82 jam 0x82 ,mem_wheel_tog 
+3fee 20600000 rtn 
+
+mouse_t_wheel_scan_judge12:
+3fef 7048df81 jam 0x81 ,mem_wheel_tog 
+3ff0 20600000 rtn 
+
+mouse_t_wheel_scan_judge21:
+3ff1 7048df80 jam 0x80 ,mem_wheel_tog 
+3ff2 20600000 rtn 
+
+mouse_t_wheel_scan_judge22:
+3ff3 7048df83 jam 0x83 ,mem_wheel_tog 
+3ff4 20600000 rtn 
+
+mouse_t_wheel_scan_judge3:
+3ff5 6fe0c8df fetch 1 ,mem_wheel_tog 
+3ff6 793ffe07 set0 7 ,pdata 
+3ff7 67e0c8df store 1 ,mem_wheel_tog 
+3ff8 c0003ffd beq 0 ,mouse_t_wheel_scan_judge30 
+3ff9 c000c000 beq 1 ,mouse_t_wheel_scan_judge31 
+3ffa c0014003 beq 2 ,mouse_t_wheel_scan_judge32 
+3ffb c001c006 beq 3 ,mouse_t_wheel_scan_judge33 
+3ffc 20600000 rtn 
+
+mouse_t_wheel_scan_judge30:
+3ffd 6fe0c8de fetch 1 ,mem_wheel_tb_new_pinlevel 
+3ffe c001c009 beq 3 ,mouse_wheel_t_forward 
+3fff 20600000 rtn 
+
+mouse_t_wheel_scan_judge31:
+4000 6fe0c8de fetch 1 ,mem_wheel_tb_new_pinlevel 
+4001 c0004009 beq 0 ,mouse_wheel_t_forward 
+4002 20600000 rtn 
+
+mouse_t_wheel_scan_judge32:
+4003 6fe0c8de fetch 1 ,mem_wheel_tb_new_pinlevel 
+4004 c001c00d beq 3 ,mouse_wheel_t_back 
+4005 20600000 rtn 
+
+mouse_t_wheel_scan_judge33:
+4006 6fe0c8de fetch 1 ,mem_wheel_tb_new_pinlevel 
+4007 c000400d beq 0 ,mouse_wheel_t_back 
+4008 20600000 rtn 
+
+mouse_wheel_t_forward:
+4009 6fe0c8e0 fetch 1 ,mem_mouse_tz_data 
+400a 1fe0fe01 increase 1 ,pdata 
+400b 67e0c8e0 store 1 ,mem_mouse_tz_data 
+400c 20600000 rtn 
+
+mouse_wheel_t_back:
+400d 6fe0c8e0 fetch 1 ,mem_mouse_tz_data 
+400e 1fe0ffff increase -1 ,pdata 
+400f 67e0c8e0 store 1 ,mem_mouse_tz_data 
+4010 20600000 rtn 
+
+mouse_wheel_scan:
+4011 6fe0c917 fetch 1 ,mem_whee_a_data_gpio 
+4012 c17f8000 rtneq gpio_disable 
+4013 da200000 arg 0 ,rega 
+4014 6848c917 fetcht 1 ,mem_whee_a_data_gpio 
+4015 204060fd call gpio_get_bit 
+4016 7920a200 setflag true ,0 ,rega 
+4017 6848c918 fetcht 1 ,mem_whee_b_data_gpio 
+4018 204060fd call gpio_get_bit 
+4019 7920a201 setflag true ,1 ,rega 
+401a 1a227e00 copy rega ,pdata 
+401b 67e0c8e2 store 1 ,mem_mwheel_b_new_pinlevel 
+401c c000c021 beq 0x01 ,mouse_wheel_scan_judge1 
+401d c0014025 beq 0x02 ,mouse_wheel_scan_judge2 
+401e 6fe0c8e3 fetch 1 ,mem_mwheel_tog 
+401f c283c031 bbit1 7 ,mouse_wheel_scan_judge3 
+4020 20600000 rtn 
+
+mouse_wheel_scan_judge1:
+4021 6fe0c8e1 fetch 1 ,mem_mwheel_b_old_pinlevel 
+4022 c0004029 beq 0 ,mouse_wheel_scan_judge11 
+4023 c001c02b beq 3 ,mouse_wheel_scan_judge12 
+4024 20600000 rtn 
+
+mouse_wheel_scan_judge2:
+4025 6fe0c8e1 fetch 1 ,mem_mwheel_b_old_pinlevel 
+4026 c000402d beq 0 ,mouse_wheel_scan_judge21 
+4027 c001c02f beq 3 ,mouse_wheel_scan_judge22 
+4028 20600000 rtn 
+
+mouse_wheel_scan_judge11:
+4029 7048e382 jam 0x82 ,mem_mwheel_tog 
+402a 20600000 rtn 
+
+mouse_wheel_scan_judge12:
+402b 7048e381 jam 0x81 ,mem_mwheel_tog 
+402c 20600000 rtn 
+
+mouse_wheel_scan_judge21:
+402d 7048e380 jam 0x80 ,mem_mwheel_tog 
+402e 20600000 rtn 
+
+mouse_wheel_scan_judge22:
+402f 7048e383 jam 0x83 ,mem_mwheel_tog 
+4030 20600000 rtn 
+
+mouse_wheel_scan_judge3:
+4031 6fe0c8e3 fetch 1 ,mem_mwheel_tog 
+4032 793ffe07 set0 7 ,pdata 
+4033 67e0c8e3 store 1 ,mem_mwheel_tog 
+4034 c0004039 beq 0 ,mouse_wheel_scan_judge30 
+4035 c000c03c beq 1 ,mouse_wheel_scan_judge31 
+4036 c001403f beq 2 ,mouse_wheel_scan_judge32 
+4037 c001c042 beq 3 ,mouse_wheel_scan_judge33 
+4038 20600000 rtn 
+
+mouse_wheel_scan_judge30:
+4039 6fe0c8e2 fetch 1 ,mem_mwheel_b_new_pinlevel 
+403a c001c045 beq 3 ,mouse_wheel_forward 
+403b 20600000 rtn 
+
+mouse_wheel_scan_judge31:
+403c 6fe0c8e2 fetch 1 ,mem_mwheel_b_new_pinlevel 
+403d c0004045 beq 0 ,mouse_wheel_forward 
+403e 20600000 rtn 
+
+mouse_wheel_scan_judge32:
+403f 6fe0c8e2 fetch 1 ,mem_mwheel_b_new_pinlevel 
+4040 c001c049 beq 3 ,mouse_wheel_back 
+4041 20600000 rtn 
+
+mouse_wheel_scan_judge33:
+4042 6fe0c8e2 fetch 1 ,mem_mwheel_b_new_pinlevel 
+4043 c0004049 beq 0 ,mouse_wheel_back 
+4044 20600000 rtn 
+
+mouse_wheel_forward:
+4045 6fe0c8e4 fetch 1 ,mem_mouse_z_data 
+4046 1fe0fe01 increase 1 ,pdata 
+4047 67e0c8e4 store 1 ,mem_mouse_z_data 
+4048 20600000 rtn 
+
+mouse_wheel_back:
+4049 6fe0c8e4 fetch 1 ,mem_mouse_z_data 
+404a 1fe0ffff increase -1 ,pdata 
+404b 67e0c8e4 store 1 ,mem_mouse_z_data 
+404c 20600000 rtn 
+
+mouse_wheel_gpio_set_wake:
+404d 6848c917 fetcht 1 ,mem_whee_a_data_gpio 
+404e 204060d6 call gpio_set_wake_by_current_state 
+404f 6848c918 fetcht 1 ,mem_whee_b_data_gpio 
+4050 204060d6 call gpio_set_wake_by_current_state 
+4051 6848c920 fetcht 1 ,mem_whee_ta_data_gpio 
+4052 204060d6 call gpio_set_wake_by_current_state 
+4053 6848c921 fetcht 1 ,mem_whee_tb_data_gpio 
+4054 202060d6 branch gpio_set_wake_by_current_state 
+
+mouse_before_hibernate_wheel_gpio_set:
+4055 6848c917 fetcht 1 ,mem_whee_a_data_gpio 
+4056 20403f8d call mouse_gpio_set_pupd_by_input 
+4057 6848c918 fetcht 1 ,mem_whee_b_data_gpio 
+4058 20403f8d call mouse_gpio_set_pupd_by_input 
+4059 6848c920 fetcht 1 ,mem_whee_ta_data_gpio 
+405a 20403f8d call mouse_gpio_set_pupd_by_input 
+405b 6848c921 fetcht 1 ,mem_whee_tb_data_gpio 
+405c 20203f8d branch mouse_gpio_set_pupd_by_input 
+
+mouse_wheel_trigger:
+405d 6fe148d9 fetch 2 ,mem_mouse_z 
+405e 207a0000 rtn blank 
+405f 7048e501 jam 1 ,mem_mouse_wheel_trigger 
+4060 7048e60a jam 10 ,mem_mouse_wheel_trigger_timer 
+4061 20600000 rtn 
+
+mouse_wheel_trigger_timer:
+4062 da6048e6 arg mem_mouse_wheel_trigger_timer ,regc 
+4063 da404065 arg mouse_wheel_trigger_disable ,regb 
+4064 202031fc branch timer_single_step 
+
+mouse_wheel_trigger_disable:
+4065 7048e500 jam 0 ,mem_mouse_wheel_trigger 
+4066 20600000 rtn 
+
+mouse_dpi_check:
+4067 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+4068 c2974076 bbit1 mouse_enable_dpi_key_connect_adc ,mouse_dpi_check_connect_adc 
+4069 6fe0c913 fetch 1 ,mem_dpi_button_gpio 
+406a c17f8000 rtneq gpio_disable 
+406b da200000 arg 0 ,rega 
+406c 704ba705 jam mouse_dpi_key ,mem_mouse_key_temp 
+406d 6848c913 fetcht 1 ,mem_dpi_button_gpio 
+406e 20404079 call mouse_dpi_key_check 
+406f 67e0cba4 store 1 ,mem_mouse_dpikey_press_status 
+4070 6fe0c914 fetch 1 ,mem_matrix_public_gpio 
+4071 c07fc082 beq gpio_disable ,mouse_3io6key_dpi_check_end 
+4072 204041a8 call mouse_matrix_public_gpio_reset 
+
+mouse_dpi_check_exit:
+4073 1a227e00 copy rega ,pdata 
+4074 c282c092 bbit1 mouse_dpi_key ,mouse_dpi_down 
+4075 20204099 branch mouse_dpi_up 
+
+mouse_dpi_check_connect_adc:
+4076 6fe0c8ff fetch 1 ,mem_mouse_adc_button_press_flag 
+4077 203a4099 branch mouse_dpi_up ,blank 
+4078 20204092 branch mouse_dpi_down 
+
+mouse_dpi_key_check:
+4079 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+407a c2964088 bbit1 mouse_enable_dpi_key_connect_gnd ,mouse_dpi_key_connect_gnd 
+407b 6fe0cba4 fetch 1 ,mem_mouse_dpikey_press_status 
+407c 1fe22600 copy pdata ,regc 
+407d 6fe0c914 fetch 1 ,mem_matrix_public_gpio 
+407e c07fc1d5 beq gpio_disable ,mouse_3io6key_check 
+407f 6fe0cbab fetch 1 ,mem_mouse_ghost_flag 
+4080 243a4085 nbranch mouse_dpi_check_end ,blank 
+4081 2020408a branch mouse_dpi_key_connect_matrix 
+
+mouse_3io6key_dpi_check_end:
+4082 6848c913 fetcht 1 ,mem_dpi_button_gpio 
+4083 20403f96 call mouse_gpio_config_input_pu 
+4084 20204073 branch mouse_dpi_check_exit 
+
+mouse_dpi_check_end:
+4085 7049e200 jam dpi_button_state_up ,mem_mouse_dpi_button_state 
+4086 704ba400 jam 0 ,mem_mouse_dpikey_press_status 
+4087 20600000 rtn 
+
+mouse_dpi_key_connect_gnd:
+4088 6fe0cba4 fetch 1 ,mem_mouse_dpikey_press_status 
+4089 202041c7 branch mouse_check_key_connect_gnd 
+
+mouse_dpi_key_connect_matrix:
+408a 204060fd call gpio_get_bit 
+408b 6848c914 fetcht 1 ,mem_matrix_public_gpio 
+408c 2020c088 branch mouse_dpi_key_connect_gnd ,true 
+408d 6848c914 fetcht 1 ,mem_matrix_public_gpio 
+408e 2040610d call gpio_out_active 
+408f 6848c913 fetcht 1 ,mem_dpi_button_gpio 
+4090 6fe0cba4 fetch 1 ,mem_mouse_dpikey_press_status 
+4091 202041c7 branch mouse_check_key_connect_gnd 
+
+mouse_dpi_down:
+4092 6fe0c9e2 fetch 1 ,mem_mouse_dpi_button_state 
+4093 c1008000 rtneq dpi_button_state_down 
+4094 7049e201 jam dpi_button_state_down ,mem_mouse_dpi_button_state 
+4095 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+4096 c3940000 rtnbit1 mouse_enable_select_device_by_dpi_button 
+4097 c39b0000 rtnbit1 mouse_enable_dpi_key_long_press_disconvery 
+4098 202040a9 branch mouse_dpi_process 
+
+mouse_dpi_up:
+4099 6fe0c9e2 fetch 1 ,mem_mouse_dpi_button_state 
+409a c1000000 rtneq dpi_button_state_up 
+409b 7049e200 jam dpi_button_state_up ,mem_mouse_dpi_button_state 
+409c 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+409d c29440a0 bbit1 mouse_enable_select_device_by_dpi_button ,mouse_dpi_up_next 
+409e c29b40a0 bbit1 mouse_enable_dpi_key_long_press_disconvery ,mouse_dpi_up_next 
+409f 20600000 rtn 
+
+mouse_dpi_up_next:
+40a0 6fe0c9e3 fetch 1 ,mem_mouse_dpi_long_press_flag 
+40a1 243a40a4 nbranch mouse_dpi_up_after_long_press ,blank 
+40a2 6fe0cbad fetch 1 ,mem_select_device_count 
+40a3 245a40a9 ncall mouse_dpi_process ,blank 
+
+mouse_dpi_up_after_long_press:
+40a4 7049e300 jam 0 ,mem_mouse_dpi_long_press_flag 
+40a5 6fe0c792 fetch 1 ,mem_ui_button_timeout 
+40a6 67e0cbad store 1 ,mem_select_device_count 
+40a7 67e0cbac store 1 ,mem_bt_discovery_count 
+40a8 20600000 rtn 
+
+mouse_dpi_process:
+40a9 44e74019 bpatch patch19_6 ,mem_patch19 
+40aa 204040b2 call mouse_dpi_ghost_check 
+40ab 20740000 rtn user 
+40ac 6fe0c997 fetch 1 ,mem_mouse_dpi 
+40ad 1fe0fe01 increase 1 ,pdata 
+40ae 1fe17e03 and pdata ,0x03 ,pdata 
+40af 67e0c997 store 1 ,mem_mouse_dpi 
+40b0 204040d5 call mouse_seting_dpi 
+40b1 2020462e branch mouse_store_device_info_delay 
+
+mouse_dpi_ghost_check:
+40b2 78547c00 disable user 
+40b3 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+40b4 c3960000 rtnbit1 mouse_enable_dpi_key_connect_gnd 
+40b5 c3970000 rtnbit1 mouse_enable_dpi_key_connect_adc 
+40b6 6fe0cb9f fetch 1 ,mem_mouse_lkey_press_status 
+40b7 207a0000 rtn blank 
+40b8 6fe0cba0 fetch 1 ,mem_mouse_rkey_press_status 
+40b9 207a0000 rtn blank 
+40ba 78347c00 enable user 
+40bb 20600000 rtn 
+
+mouse_dpi_key_check_long_press:
+40bc 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+40bd c29440c0 bbit1 mouse_enable_select_device_by_dpi_button ,mouse_select_device_by_dpi_button 
+40be c29b40c7 bbit1 mouse_enable_dpi_key_long_press_disconvery ,mouse_discovery_by_dpi_button 
+40bf 20600000 rtn 
+
+mouse_select_device_by_dpi_button:
+40c0 6fe0c9e2 fetch 1 ,mem_mouse_dpi_button_state 
+40c1 c1808000 rtnne dpi_button_state_down 
+40c2 da604bad arg mem_select_device_count ,regc 
+40c3 da4040c5 arg mouse_ready_reconnection_by_dpi_button ,regb 
+40c4 202031fc branch timer_single_step 
+
+mouse_ready_reconnection_by_dpi_button:
+40c5 7049e301 jam 1 ,mem_mouse_dpi_long_press_flag 
+40c6 202046f3 branch mouse_ready_reconnection_by_button 
+
+mouse_discovery_by_dpi_button:
+40c7 6fe0c9e2 fetch 1 ,mem_mouse_dpi_button_state 
+40c8 c1808000 rtnne dpi_button_state_down 
+40c9 da604bac arg mem_bt_discovery_count ,regc 
+40ca da4040cc arg mouse_long_dpi_button_bt_discovery ,regb 
+40cb 202031fc branch timer_single_step 
+
+mouse_long_dpi_button_bt_discovery:
+40cc 7049e301 jam 1 ,mem_mouse_dpi_long_press_flag 
+40cd 20204514 branch mouse_long_button_bt_discovery 
+
+mouse_dpi_config:
+40ce 202040d8 branch mouse_seting_sensor_type 
+
+mouse_setting_dpi_4_level:
+40cf 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+40d0 c38e0000 rtnbit1 mouse_enable_dpi_level_4 
+40d1 6fe0c997 fetch 1 ,mem_mouse_dpi 
+40d2 c1818000 rtnne mouse_dpi_level4 
+40d3 70499700 jam mouse_dpi_level1 ,mem_mouse_dpi 
+40d4 20600000 rtn 
+
+mouse_seting_dpi:
+40d5 44e7c019 bpatch patch19_7 ,mem_patch19 
+40d6 204040cf call mouse_setting_dpi_4_level 
+40d7 2040492e call mouse_dpi_led_blink_delay 
+
+mouse_seting_sensor_type:
+40d8 6fe0c92c fetch 1 ,mem_config_sensor_type 
+40d9 c001c0fb beq p3212 ,mouse_seting_3212_dpi 
+40da c005c10f beq ka8g2 ,mouse_seting_ka8g2_dpi 
+40db 6fe0c997 fetch 1 ,mem_mouse_dpi 
+40dc c00040e2 beq mouse_dpi_level1 ,mouse_set_cpi0 
+40dd c000c0e0 beq mouse_dpi_level2 ,mouse_set_cpi1 
+40de c00140e4 beq mouse_dpi_level3 ,mouse_set_cpi2 
+40df c001c0e6 beq mouse_dpi_level4 ,mouse_set_cpi3 
+
+mouse_set_cpi1:
+40e0 6848c9d6 fetcht 1 ,mem_320x_dpi_1 
+40e1 202040e8 branch mouse_dpi_store 
+
+mouse_set_cpi0:
+40e2 6848c9d5 fetcht 1 ,mem_320x_dpi_0 
+40e3 202040e8 branch mouse_dpi_store 
+
+mouse_set_cpi2:
+40e4 6848c9d7 fetcht 1 ,mem_320x_dpi_2 
+40e5 202040e8 branch mouse_dpi_store 
+
+mouse_set_cpi3:
+40e6 6848c9d8 fetcht 1 ,mem_320x_dpi_3 
+40e7 202040e8 branch mouse_dpi_store 
+
+mouse_dpi_store:
+40e8 6fe0c92c fetch 1 ,mem_config_sensor_type 
+40e9 c00240f7 beq p3065_xy ,mouse_3065xy_set_dpi 
+40ea c002c0f7 beq mx8650 ,mouse_3065xy_set_dpi 
+40eb c00440f9 beq ka8 ,mouse_ka8_set_dpi 
+40ec c003c0f9 beq p6520 ,mouse_ka8_set_dpi 
+40ed c00340f7 beq p8009 ,mouse_3065xy_set_dpi 
+
+mouse_dpi_write:
+40ee 6048c9e1 storet 1 ,mem_mouse_cpi_count 
+40ef 58000006 setarg mouse_dpi_address 
+40f0 20405d65 call twspi_read 
+40f1 1fe104f8 and pdata ,0xf8 ,temp 
+40f2 6fe0c9e1 fetch 1 ,mem_mouse_cpi_count 
+40f3 9840fe00 iadd temp ,pdata 
+40f4 1fed7e00 lshift8 pdata ,pdata 
+40f5 1fe0fe06 add pdata ,mouse_dpi_address ,pdata 
+40f6 20205d5e branch twspi_write 
+
+mouse_3065xy_set_dpi:
+40f7 184085ff increase -1 ,temp 
+40f8 202040ee branch mouse_dpi_write 
+
+mouse_ka8_set_dpi:
+40f9 18408402 increase 2 ,temp 
+40fa 202040ee branch mouse_dpi_write 
+
+mouse_seting_3212_dpi:
+40fb 6fe0c997 fetch 1 ,mem_mouse_dpi 
+40fc c0004102 beq mouse_dpi_level1 ,mouse_set_p3212_cpi0 
+40fd c000c100 beq mouse_dpi_level2 ,mouse_set_p3212_cpi1 
+40fe c0014104 beq mouse_dpi_level3 ,mouse_set_p3212_cpi2 
+40ff c001c106 beq mouse_dpi_level4 ,mouse_set_p3212_cpi3 
+
+mouse_set_p3212_cpi1:
+4100 6fe0c9da fetch 1 ,mem_3212_dpi_1 
+4101 20204107 branch mouse_p3212_dpi 
+
+mouse_set_p3212_cpi0:
+4102 6fe0c9d9 fetch 1 ,mem_3212_dpi_0 
+4103 20204107 branch mouse_p3212_dpi 
+
+mouse_set_p3212_cpi2:
+4104 6fe0c9db fetch 1 ,mem_3212_dpi_2 
+4105 20204107 branch mouse_p3212_dpi 
+
+mouse_set_p3212_cpi3:
+4106 6fe0c9dc fetch 1 ,mem_3212_dpi_3 
+
+mouse_p3212_dpi:
+4107 67e0c9e1 store 1 ,mem_mouse_cpi_count 
+4108 1fed7e00 lshift8 pdata ,pdata 
+4109 1fe22200 copy pdata ,rega 
+410a 1fe0fe0d add pdata ,mouse_p3212_dpi_xaddress ,pdata 
+410b 20405d5e call twspi_write 
+410c 1a227e00 copy rega ,pdata 
+410d 1fe0fe0e add pdata ,mouse_p3212_dpi_yaddress ,pdata 
+410e 20205d5e branch twspi_write 
+
+mouse_seting_ka8g2_dpi:
+410f 6fe0c997 fetch 1 ,mem_mouse_dpi 
+4110 c0004116 beq mouse_dpi_level1 ,mouse_set_pka8g2_cpi0 
+4111 c000c114 beq mouse_dpi_level2 ,mouse_set_pka8g2_cpi1 
+4112 c0014118 beq mouse_dpi_level3 ,mouse_set_pka8g2_cpi2 
+4113 c001c11a beq mouse_dpi_level4 ,mouse_set_pka8g2_cpi3 
+
+mouse_set_pka8g2_cpi1:
+4114 6fe0c9de fetch 1 ,mem_ka8g2_dpi_1 
+4115 20204107 branch mouse_p3212_dpi 
+
+mouse_set_pka8g2_cpi0:
+4116 6fe0c9dd fetch 1 ,mem_ka8g2_dpi_0 
+4117 20204107 branch mouse_p3212_dpi 
+
+mouse_set_pka8g2_cpi2:
+4118 6fe0c9df fetch 1 ,mem_ka8g2_dpi_2 
+4119 20204107 branch mouse_p3212_dpi 
+
+mouse_set_pka8g2_cpi3:
+411a 6fe0c9e0 fetch 1 ,mem_ka8g2_dpi_3 
+411b 20204107 branch mouse_p3212_dpi 
+
+mouse_key:
+411c 20404155 call mouse_check_key_gpio 
+411d 2040412d call mouse_ghost_key_check 
+411e 20403ea0 call mouse_set_mult 
+411f 20404128 call mouse_24g_key 
+4120 1a227e00 copy rega ,pdata 
+4121 6848c8dc fetcht 1 ,mem_mouse_key_last 
+4122 67e0c8dc store 1 ,mem_mouse_key_last 
+4123 67e0c8d4 store 1 ,mem_mouse_key 
+4124 9842fe00 ixor temp ,pdata 
+4125 1fe67c00 sub pdata ,0 ,null 
+4126 20628000 rtn zero 
+4127 20207ec5 branch enable_user 
+
+mouse_24g_key:
+4128 c6930000 rtnmark0 mark_24g 
+4129 1a227e00 copy rega ,pdata 
+412a 207a0000 rtn blank 
+412b 67e0c8d4 store 1 ,mem_mouse_key 
+412c 20207ec5 branch enable_user 
+
+mouse_ghost_key_check:
+412d 704ba900 jam 0 ,mem_mouse_matrix_key_cow_count 
+412e 704baa00 jam 0 ,mem_mouse_matrix_key_row_count 
+412f 704bab00 jam 0 ,mem_mouse_ghost_flag 
+4130 1fe20400 copy pdata ,temp 
+4131 2040413d call mouse_ghost_key_check_l_bk 
+4132 20404140 call mouse_ghost_key_check_m_fw 
+4133 20404143 call mouse_ghost_key_check_bk_fw 
+4134 20404146 call mouse_ghost_key_check_lmr 
+4135 6fe0cbaa fetch 1 ,mem_mouse_matrix_key_row_count 
+4136 207a0000 rtn blank 
+4137 6fe0cba9 fetch 1 ,mem_mouse_matrix_key_cow_count 
+4138 207a0000 rtn blank 
+4139 704bab01 jam 1 ,mem_mouse_ghost_flag 
+413a 6fe0c8dc fetch 1 ,mem_mouse_key_last 
+413b 1fe22200 copy pdata ,rega 
+413c 20600000 rtn 
+
+mouse_ghost_key_check_l_bk:
+413d 18417e09 and temp ,mouse_l_bk_button ,pdata 
+413e c004c14e beq mouse_l_bk_button ,mouse_matrix_cow_more_than_one_key 
+413f 20600000 rtn 
+
+mouse_ghost_key_check_m_fw:
+4140 18417e14 and temp ,mouse_m_fw_button ,pdata 
+4141 c00a414e beq mouse_m_fw_button ,mouse_matrix_cow_more_than_one_key 
+4142 20600000 rtn 
+
+mouse_ghost_key_check_bk_fw:
+4143 18417e18 and temp ,mouse_bk_fw_button ,pdata 
+4144 c00c414c beq mouse_bk_fw_button ,mouse_matrix_row_more_than_one_key 
+4145 20600000 rtn 
+
+mouse_ghost_key_check_lmr:
+4146 18417e07 and temp ,mouse_lmr_button ,pdata 
+4147 c001c14c beq mouse_lr_button ,mouse_matrix_row_more_than_one_key 
+4148 c002c14c beq mouse_lm_button ,mouse_matrix_row_more_than_one_key 
+4149 c003414c beq mouse_rm_button ,mouse_matrix_row_more_than_one_key 
+414a c003c14c beq mouse_lmr_button ,mouse_matrix_row_more_than_one_key 
+414b 20600000 rtn 
+
+mouse_matrix_row_more_than_one_key:
+414c 704baa01 jam 1 ,mem_mouse_matrix_key_row_count 
+414d 20600000 rtn 
+
+mouse_matrix_cow_more_than_one_key:
+414e 704ba901 jam 1 ,mem_mouse_matrix_key_cow_count 
+414f 20600000 rtn 
+
+mouse_key_check_once:
+4150 20404161 call mouse_check_key_gpio_once 
+4151 20404155 call mouse_check_key_gpio 
+4152 58000000 setarg 0x00 
+4153 67e1cb9f store 3 ,mem_mouse_lkey_press_status 
+4154 20600000 rtn 
+
+mouse_check_key_gpio:
+4155 44e8401a bpatch patch1a_0 ,mem_patch1a 
+4156 6fe0cbf2 fetch 1 ,mem_sensor_shutdown_flag 
+4157 245a4161 ncall mouse_check_key_gpio_once ,blank 
+4158 da200000 arg 0 ,rega 
+4159 20404164 call mouse_check_lkey_gpio 
+415a 2040416a call mouse_check_rkey_gpio 
+415b 20404170 call mouse_check_mkey_gpio 
+415c 20404176 call mouse_check_bkkey_gpio 
+415d 2040418f call mouse_check_fwkey_gpio 
+415e 204041aa call mouse_check_customerkey_gpio 
+415f 1a227e00 copy rega ,pdata 
+4160 20600000 rtn 
+
+mouse_check_key_gpio_once:
+4161 58030303 setarg 0x030303 
+4162 67e1cb9f store 3 ,mem_mouse_lkey_press_status 
+4163 20600000 rtn 
+
+mouse_check_lkey_gpio:
+4164 704ba700 jam mouse_l_key ,mem_mouse_key_temp 
+4165 6848c91c fetcht 1 ,mem_lbutton_gpio 
+4166 6fe0cb9f fetch 1 ,mem_mouse_lkey_press_status 
+4167 204041c7 call mouse_check_key_connect_gnd 
+4168 67e0cb9f store 1 ,mem_mouse_lkey_press_status 
+4169 20600000 rtn 
+
+mouse_check_rkey_gpio:
+416a 704ba701 jam mouse_r_key ,mem_mouse_key_temp 
+416b 6848c91d fetcht 1 ,mem_rbutton_gpio 
+416c 6fe0cba0 fetch 1 ,mem_mouse_rkey_press_status 
+416d 204041c7 call mouse_check_key_connect_gnd 
+416e 67e0cba0 store 1 ,mem_mouse_rkey_press_status 
+416f 20600000 rtn 
+
+mouse_check_mkey_gpio:
+4170 704ba702 jam mouse_m_key ,mem_mouse_key_temp 
+4171 6848c91e fetcht 1 ,mem_mbutton_gpio 
+4172 6fe0cba1 fetch 1 ,mem_mouse_mkey_press_status 
+4173 204041c7 call mouse_check_key_connect_gnd 
+4174 67e0cba1 store 1 ,mem_mouse_mkey_press_status 
+4175 20600000 rtn 
+
+mouse_check_bkkey_gpio:
+4176 6fe0c911 fetch 1 ,mem_bk_button_gpio 
+4177 c17f8000 rtneq gpio_disable 
+4178 704ba703 jam mouse_bk_key ,mem_mouse_key_temp 
+4179 6fe0cba2 fetch 1 ,mem_mouse_bkkey_press_status 
+417a 1fe22600 copy pdata ,regc 
+417b 6848c911 fetcht 1 ,mem_bk_button_gpio 
+417c 6fe0c914 fetch 1 ,mem_matrix_public_gpio 
+417d c07fc18b beq gpio_disable ,mouse_3io6key_bk_check 
+417e 204060fd call gpio_get_bit 
+417f 2020c187 branch mouse_check_bk_button_connect_gnd ,true 
+4180 6848c914 fetcht 1 ,mem_matrix_public_gpio 
+4181 2040610d call gpio_out_active 
+4182 6848c911 fetcht 1 ,mem_bk_button_gpio 
+4183 6fe0cba2 fetch 1 ,mem_mouse_bkkey_press_status 
+4184 204041c7 call mouse_check_key_connect_gnd 
+
+mouse_check_bkkey_gpio_end:
+4185 67e0cba2 store 1 ,mem_mouse_bkkey_press_status 
+4186 202041a8 branch mouse_matrix_public_gpio_reset 
+
+mouse_check_bk_button_connect_gnd:
+4187 6848c914 fetcht 1 ,mem_matrix_public_gpio 
+4188 6fe0cba2 fetch 1 ,mem_mouse_bkkey_press_status 
+4189 204041c7 call mouse_check_key_connect_gnd 
+418a 20204185 branch mouse_check_bkkey_gpio_end 
+
+mouse_3io6key_bk_check:
+418b 204041d5 call mouse_3io6key_check 
+418c 67e0cba2 store 1 ,mem_mouse_bkkey_press_status 
+418d 6848c911 fetcht 1 ,mem_bk_button_gpio 
+418e 20203f96 branch mouse_gpio_config_input_pu 
+
+mouse_check_fwkey_gpio:
+418f 6fe0c912 fetch 1 ,mem_fw_button_gpio 
+4190 c17f8000 rtneq gpio_disable 
+4191 704ba704 jam mouse_fw_key ,mem_mouse_key_temp 
+4192 6fe0cba3 fetch 1 ,mem_mouse_fwkey_press_status 
+4193 1fe22600 copy pdata ,regc 
+4194 6848c912 fetcht 1 ,mem_fw_button_gpio 
+4195 6fe0c914 fetch 1 ,mem_matrix_public_gpio 
+4196 c07fc1a4 beq gpio_disable ,mouse_3io6key_fw_check 
+4197 204060fd call gpio_get_bit 
+4198 2020c1a0 branch mouse_check_fw_button_connect_gnd ,true 
+4199 6848c914 fetcht 1 ,mem_matrix_public_gpio 
+419a 2040610d call gpio_out_active 
+419b 6848c912 fetcht 1 ,mem_fw_button_gpio 
+419c 6fe0cba3 fetch 1 ,mem_mouse_fwkey_press_status 
+419d 204041c7 call mouse_check_key_connect_gnd 
+
+mouse_check_fwkey_gpio_end:
+419e 67e0cba3 store 1 ,mem_mouse_fwkey_press_status 
+419f 202041a8 branch mouse_matrix_public_gpio_reset 
+
+mouse_check_fw_button_connect_gnd:
+41a0 6848c914 fetcht 1 ,mem_matrix_public_gpio 
+41a1 6fe0cba3 fetch 1 ,mem_mouse_fwkey_press_status 
+41a2 204041c7 call mouse_check_key_connect_gnd 
+41a3 2020419e branch mouse_check_fwkey_gpio_end 
+
+mouse_3io6key_fw_check:
+41a4 204041d5 call mouse_3io6key_check 
+41a5 67e0cba3 store 1 ,mem_mouse_fwkey_press_status 
+41a6 6848c912 fetcht 1 ,mem_fw_button_gpio 
+41a7 20203f96 branch mouse_gpio_config_input_pu 
+
+mouse_matrix_public_gpio_reset:
+41a8 6848c914 fetcht 1 ,mem_matrix_public_gpio 
+41a9 20203f96 branch mouse_gpio_config_input_pu 
+
+mouse_check_customerkey_gpio:
+41aa 704b9c00 jam 0 ,mem_customer_key 
+41ab 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+41ac c40a8000 rtnbit0 mouse_enable_keyboard 
+41ad 6fe0c916 fetch 1 ,mem_customer_key_gpio 
+41ae c17f8000 rtneq gpio_disable 
+41af 704ba707 jam mouse_customer_key ,mem_mouse_key_temp 
+41b0 6848c916 fetcht 1 ,mem_customer_key_gpio 
+41b1 6fe0cba6 fetch 1 ,mem_mouse_customerkey_press_status 
+41b2 204041c7 call mouse_check_key_connect_gnd 
+41b3 67e0cba6 store 1 ,mem_mouse_customerkey_press_status 
+41b4 1a227e00 copy rega ,pdata 
+41b5 c283c1ba bbit1 mouse_customer_key ,mouse_customerkey_press 
+41b6 204041bd call mouse_customerkey_release 
+
+mouse_check_customerkey_gpio_exit:
+41b7 6fe0cb9d fetch 1 ,mem_customer_data_trigger 
+41b8 67e0cb9e store 1 ,mem_customer_data_trigger_last 
+41b9 20600000 rtn 
+
+mouse_customerkey_press:
+41ba 704b9d01 jam 1 ,mem_customer_data_trigger 
+41bb 204041c0 call mouse_customer_key_need_send 
+41bc 202041b7 branch mouse_check_customerkey_gpio_exit 
+
+mouse_customerkey_release:
+41bd 704b9d00 jam 0 ,mem_customer_data_trigger 
+41be 6fe0cb9e fetch 1 ,mem_customer_data_trigger_last 
+41bf 207a0000 rtn blank 
+
+mouse_customer_key_need_send:
+41c0 704b9c01 jam 1 ,mem_customer_key 
+41c1 20600000 rtn 
+
+mouse_check_matrix_button_connect_gnd:
+41c2 204060fd call gpio_get_bit 
+41c3 6848cba7 fetcht 1 ,mem_mouse_key_temp 
+41c4 18420e00 copy temp ,queue 
+41c5 2020c1d3 branch mouse_key_press ,true 
+41c6 202041d1 branch mouse_key_release 
+
+mouse_check_key_connect_gnd:
+41c7 1fe3fe00 lshift pdata ,pdata 
+41c8 1fe22400 copy pdata ,regb 
+41c9 204060fd call gpio_get_bit 
+41ca 7920a400 setflag true ,0 ,regb 
+41cb 1a417e07 and regb ,0x07 ,pdata 
+41cc 6848cba7 fetcht 1 ,mem_mouse_key_temp 
+41cd 18420e00 copy temp ,queue 
+41ce c003c1d3 beq 0x07 ,mouse_key_press 
+41cf c00041d1 beq 0x00 ,mouse_key_release 
+41d0 20600000 rtn 
+
+mouse_key_release:
+41d1 f93fa200 qset0 rega 
+41d2 20600000 rtn 
+
+mouse_key_press:
+41d3 f9202200 qset1 rega 
+41d4 20600000 rtn 
+
+mouse_3io6key_check:
+41d5 44e8c01a bpatch patch1a_1 ,mem_patch1a 
+41d6 1a627e00 copy regc ,pdata 
+41d7 67e0cba8 store 1 ,mem_mouse_key_status 
+41d8 1fe3fe00 lshift pdata ,pdata 
+41d9 1fe22400 copy pdata ,regb 
+41da 18422600 copy temp ,regc 
+41db 20403f94 call mouse_gpio_config_input_pd 
+41dc 1a620400 copy regc ,temp 
+41dd 204060fd call gpio_get_bit 
+41de 7d20a400 nsetflag true ,0 ,regb 
+41df 204041e1 call mouse_check_press 
+41e0 202041cb branch mouse_check_key_connect_gnd + 4 
+
+mouse_check_press:
+41e1 6848cba8 fetcht 1 ,mem_mouse_key_status 
+41e2 18410401 and_into 0x01 ,temp 
+41e3 1a417e01 and regb ,0x01 ,pdata 
+41e4 98467c00 isub temp ,null 
+41e5 2422c36f nbranch mouse_current_mult_update ,zero 
+41e6 20600000 rtn 
+
+mouse_init_sunt:
+41e7 44e9401a bpatch patch1a_2 ,mem_patch1a 
+41e8 20403fa5 call mouse_sensor_spi_init 
+41e9 20758000 rtn wake 
+
+mouse_init_sensor_wakeup:
+41ea 20404276 call mouse_sensor_poweron 
+
+mouse_init_sensor:
+41eb 204041f5 call mouse_read_sensor_id 
+41ec c01841fc beq p32xx_id1 ,mouse_init_p32xx_id2_judge 
+41ed c018c257 beq p3065_id1 ,mouse_init_p3065 
+41ee c02c4260 beq pka8g2_id1 ,mouse_ka8g2_id2_judge 
+41ef 204041f2 call mouse_twspi_reset 
+41f0 20001af4 nop 6900 
+41f1 202041eb branch mouse_init_sensor 
+
+mouse_twspi_reset:
+41f2 6fe0c923 fetch 1 ,mem_mouse_sensor_sclk_gpio 
+41f3 20405b55 call twspi_reset 
+41f4 20203faa branch mouse_spid_init_pin 
+
+mouse_read_sensor_id:
+41f5 58000001 setarg pan_reg_pid_h 
+41f6 20405d65 call twspi_read 
+41f7 67e0c9c7 store 1 ,mem_sensor_id2 
+41f8 58000000 setarg pan_reg_pid_l 
+41f9 20405d65 call twspi_read 
+41fa 67e0c9c6 store 1 ,mem_sensor_id1 
+41fb 20600000 rtn 
+
+mouse_init_p32xx_id2_judge:
+41fc 6fe0c9c7 fetch 1 ,mem_sensor_id2 
+41fd c02d4205 beq p_mx8650 ,mouse_mx8650_init_param 
+41fe c06c420b beq p8009_id2 ,mouse_8009_init_param 
+41ff c068c21a beq p3205_tj3t_id2 ,mouse_3205_3t_init_param 
+4200 c0694223 beq p3204_tj3l_id2 ,mouse_3204_3l_init_param 
+4201 c001422a beq p3212_id2 ,mouse_3212_init_param 
+4202 c02a422d beq pka8_id2 ,mouse_ka8_init_param_check 
+4203 c0284254 beq p6520a_id2 ,mouse_p6520_init_param 
+4204 202041eb branch mouse_init_sensor 
+
+mouse_mx8650_init_param:
+4205 70492c05 jam mx8650 ,mem_config_sensor_type 
+4206 20404272 call mouse_sensor_reset 
+4207 20407d85 call delay_10ms 
+4208 da604a3e arg mem_sensor_8650_init ,regc 
+4209 2040426b call mouse_sensor_wr_seq 
+420a 202040ce branch mouse_dpi_config 
+
+mouse_8009_init_param:
+420b 58000016 setarg 0x16 
+420c 20405d65 call twspi_read 
+420d 1fe67cbd sub pdata ,0xbd ,null 
+420e 2422c1e7 nbranch mouse_init_sunt ,zero 
+420f 58000019 setarg 0x19 
+4210 20405d65 call twspi_read 
+4211 1fe67c55 sub pdata ,0x55 ,null 
+4212 2422c1e7 nbranch mouse_init_sunt ,zero 
+4213 5800001b setarg 0x1b 
+4214 20405d65 call twspi_read 
+4215 1fe67c1d sub pdata ,0x1d ,null 
+4216 2422c1e7 nbranch mouse_init_sunt ,zero 
+4217 70492c06 jam p8009 ,mem_config_sensor_type 
+4218 da604a82 arg mem_sensor_8009_init ,regc 
+4219 2020426b branch mouse_sensor_wr_seq 
+
+mouse_3205_3t_init_param:
+421a 70492c00 jam p3205 ,mem_config_sensor_type 
+421b da6049f8 arg mem_sensor_3205_init ,regc 
+421c 2040426b call mouse_sensor_wr_seq 
+421d da604a02 arg mem_sensor_32xx_init ,regc 
+421e 2040426b call mouse_sensor_wr_seq 
+421f 58000943 setarg 0x0943 
+4220 20405d5e call twspi_write 
+4221 da604a1c arg mem_sensor_32xx_init_1 ,regc 
+4222 2020426b branch mouse_sensor_wr_seq 
+
+mouse_3204_3l_init_param:
+4223 70492c02 jam p3204 ,mem_config_sensor_type 
+4224 da6049ee arg mem_sensor_3204_init ,regc 
+4225 2040426b call mouse_sensor_wr_seq 
+4226 da604a02 arg mem_sensor_32xx_init ,regc 
+4227 2040426b call mouse_sensor_wr_seq 
+4228 da604a1c arg mem_sensor_32xx_init_1 ,regc 
+4229 2020426b branch mouse_sensor_wr_seq 
+
+mouse_3212_init_param:
+422a 70492c03 jam p3212 ,mem_config_sensor_type 
+422b da6049e4 arg mem_sensor_3212_init ,regc 
+422c 2020426b branch mouse_sensor_wr_seq 
+
+mouse_ka8_init_param_check:
+422d 20404269 call mouse_sensor_disable_wp 
+422e 58009a5b setarg 0x9a5b 
+422f 20405d5e call twspi_write 
+4230 5800000d setarg 0x0d 
+4231 20405d65 call twspi_read 
+4232 1fe67c12 sub pdata ,0x12 ,null 
+4233 2022c241 branch mouse_ka8ul_init_param ,zero 
+4234 1fe67c0a sub pdata ,0x0a ,null 
+4235 2422c244 nbranch mouse_ka8hd_sensor_judge ,zero 
+4236 5800000e setarg 0x0e 
+4237 20405d65 call twspi_read 
+4238 1fe67ce5 sub pdata ,0xe5 ,null 
+4239 2422c1eb nbranch mouse_init_sensor ,zero 
+423a 58000010 setarg 0x10 
+423b 20405d65 call twspi_read 
+423c 1fe67ca5 sub pdata ,0xa5 ,null 
+423d 2022c241 branch mouse_ka8ul_init_param ,zero 
+423e 20404251 call mouse_enable_ka8_sensor_wp 
+
+mouse_ka8_init_param:
+423f 70492c08 jam ka8 ,mem_config_sensor_type 
+4240 20600000 rtn 
+
+mouse_ka8ul_init_param:
+4241 70492c09 jam ka8_ul ,mem_config_sensor_type 
+4242 da604a64 arg mem_sensor_ka8ul_init ,regc 
+4243 2020426b branch mouse_sensor_wr_seq 
+
+mouse_ka8hd_sensor_judge:
+4244 1fe67c10 sub pdata ,0x10 ,null 
+4245 2422c1eb nbranch mouse_init_sensor ,zero 
+4246 5800000e setarg 0x0e 
+4247 20405d65 call twspi_read 
+4248 1fe67cc5 sub pdata ,0xc5 ,null 
+4249 2422c1eb nbranch mouse_init_sensor ,zero 
+424a 58000010 setarg 0x10 
+424b 20405d65 call twspi_read 
+424c 1fe67c38 sub pdata ,0x38 ,null 
+424d 2422c1eb nbranch mouse_init_sensor ,zero 
+
+mouse_ka8hd_init_param:
+424e 20404251 call mouse_enable_ka8_sensor_wp 
+424f 70492c0a jam ka8_hd ,mem_config_sensor_type 
+4250 20600000 rtn 
+
+mouse_enable_ka8_sensor_wp:
+4251 5800005b setarg 0x005b 
+4252 20405d5e call twspi_write 
+4253 20204267 branch mouse_sensor_enable_wp 
+
+mouse_p6520_init_param:
+4254 70492c07 jam p6520 ,mem_config_sensor_type 
+4255 da604aa8 arg mem_sensor_p6520_init ,regc 
+4256 2020426b branch mouse_sensor_wr_seq 
+
+mouse_init_p3065:
+4257 20404276 call mouse_sensor_poweron 
+4258 6fe0c9c7 fetch 1 ,mem_sensor_id2 
+4259 c038425e beq p3065_xy_id2 ,mouse_p3065xy_init_param 
+425a c000425c beq p3065_id2 ,mouse_p3065_init_param 
+425b 202041eb branch mouse_init_sensor 
+
+mouse_p3065_init_param:
+425c 70492c01 jam p3065 ,mem_config_sensor_type 
+425d 20600000 rtn 
+
+mouse_p3065xy_init_param:
+425e 70492c04 jam p3065_xy ,mem_config_sensor_type 
+425f 20600000 rtn 
+
+mouse_ka8g2_id2_judge:
+4260 20404276 call mouse_sensor_poweron 
+4261 6fe0c9c7 fetch 1 ,mem_sensor_id2 
+4262 c02cc264 beq pka8g2_id2 ,mouse_ka8g2_init_param 
+4263 202041fc branch mouse_init_p32xx_id2_judge 
+
+mouse_ka8g2_init_param:
+4264 70492c0b jam ka8g2 ,mem_config_sensor_type 
+4265 da604a92 arg mem_sensor_ka8g2_init ,regc 
+4266 2020426b branch mouse_sensor_wr_seq 
+
+mouse_sensor_enable_wp:
+4267 58000009 setarg 0x0009 
+4268 20205d5e branch twspi_write 
+
+mouse_sensor_disable_wp:
+4269 58005a09 setarg 0x5a09 
+426a 20205d5e branch twspi_write 
+
+mouse_sensor_wr_seq:
+426b efe10013 ifetch 2 ,regc 
+426c d840ffff arg 0xffff ,temp 
+426d 98467c00 isub temp ,null 
+426e 20628000 rtn zero 
+426f 20405d5e call twspi_write 
+4270 1a60a602 increase 2 ,regc 
+4271 2020426b branch mouse_sensor_wr_seq 
+
+mouse_sensor_reset:
+4272 58008006 setarg 0x8006 
+4273 20405d5e call twspi_write 
+4274 20002ee0 nop 12000 
+4275 20600000 rtn 
+
+mouse_sensor_poweron:
+4276 44e9c01a bpatch patch1a_3 ,mem_patch1a 
+4277 20403fa5 call mouse_sensor_spi_init 
+4278 20404272 call mouse_sensor_reset 
+4279 da604ab4 arg mem_sensor_poweron_init ,regc 
+427a 2040426b call mouse_sensor_wr_seq 
+427b 202040ce branch mouse_dpi_config 
+
+mouse_sensor_powerdown:
+427c 204041e7 call mouse_init_sunt 
+427d 20403fa5 call mouse_sensor_spi_init 
+427e 58000806 setarg 0x0806 
+427f 20205d5e branch twspi_write 
+
+mouse_check_sensor_data:
+4280 6fe0c4ae fetch 1 ,mem_spi_write_flash_sm 
+4281 c1800000 rtnne flash_sm_no_buys 
+4282 6fe0c92c fetch 1 ,mem_config_sensor_type 
+4283 c000428c beq p3205 ,mouse_p32xx_sensor_motion 
+4284 c000c28c beq p3065 ,mouse_p32xx_sensor_motion 
+4285 c004428c beq ka8 ,mouse_p32xx_sensor_motion 
+4286 c001428c beq p3204 ,mouse_p32xx_sensor_motion 
+4287 c001c2b0 beq p3212 ,mouse_p3212_sensor_motion 
+4288 c002428c beq p3065_xy ,mouse_p32xx_sensor_motion 
+4289 c00342d5 beq p8009 ,mouse_p8009_sensor_motion 
+428a c005c2ce beq ka8g2 ,mouse_pka8g2_sensor_motion 
+428b 2020428c branch mouse_p32xx_sensor_motion 
+
+mouse_p32xx_sensor_motion:
+428c 20404304 call mouse_clear_sensor_data 
+428d 78547c00 disable user 
+428e 6fe0c915 fetch 1 ,mem_sensor_motion_gpio 
+428f c07fc293 beq gpio_disable ,mouse_p32xx_sensor_motion_2 
+4290 6848c915 fetcht 1 ,mem_sensor_motion_gpio 
+4291 204060fd call gpio_get_bit 
+4292 24608000 nrtn true 
+
+mouse_p32xx_sensor_motion_2:
+4293 58000000 setarg pan_reg_pid_l 
+4294 20405d65 call twspi_read 
+4295 c09842a6 bne p32xx_id1 ,mouse_p3065_judge 
+
+mouse_p32xx_sensor_motion_1:
+4296 58000002 setarg pan_reg_motion_staus 
+4297 20405d65 call twspi_read 
+4298 c4038000 rtnbit0 7 
+4299 2040431b call mouse_read_sensor_common 
+429a 6fe0c8d5 fetch 1 ,mem_mouse_x 
+429b 20404313 call mouse_data_extsign 
+429c 67e148d5 store 2 ,mem_mouse_x 
+429d 6fe0c8d7 fetch 1 ,mem_mouse_y 
+429e 20404313 call mouse_data_extsign 
+429f 67e148d7 store 2 ,mem_mouse_y 
+42a0 6fe0c92d fetch 1 ,mem_config_sensor_angle 
+42a1 c00042a8 beq mouse_6clk_angle ,mouse_motion32xx_6clk_direction_selection 
+42a2 c000c2aa beq mouse_9clk_angle ,mouse_motion32xx_9clk_direction_selection 
+42a3 c00142ac beq mouse_12clk_angle ,mouse_motion32xx_12clk_direction_selection 
+42a4 c001c2ae beq mouse_3clk_angle ,mouse_motion32xx_3clk_direction_selection 
+42a5 20600000 rtn 
+
+mouse_p3065_judge:
+42a6 c018c296 beq p3065_id1 ,mouse_p32xx_sensor_motion_1 
+42a7 202041f2 branch mouse_twspi_reset 
+
+mouse_motion32xx_6clk_direction_selection:
+42a8 204042ed call mouse_motion_6clk_direction_dispose 
+42a9 20204322 branch mouse_sensor_sdio_low 
+
+mouse_motion32xx_9clk_direction_selection:
+42aa 204042f5 call mouse_motion_9clk_direction_dispose 
+42ab 20204322 branch mouse_sensor_sdio_low 
+
+mouse_motion32xx_12clk_direction_selection:
+42ac 204042f1 call mouse_motion_12clk_direction_dispose 
+42ad 20204322 branch mouse_sensor_sdio_low 
+
+mouse_motion32xx_3clk_direction_selection:
+42ae 204042fd call mouse_motion_3clk_direction_dispose 
+42af 20204322 branch mouse_sensor_sdio_low 
+
+mouse_p3212_sensor_motion:
+42b0 20404304 call mouse_clear_sensor_data 
+42b1 6fe0c915 fetch 1 ,mem_sensor_motion_gpio 
+42b2 c07fc2b6 beq gpio_disable ,mouse_p3212_sensor_motion_1 
+42b3 6848c915 fetcht 1 ,mem_sensor_motion_gpio 
+42b4 204060fd call gpio_get_bit 
+42b5 24608000 nrtn true 
+
+mouse_p3212_sensor_motion_1:
+42b6 58000000 setarg pan_reg_pid_l 
+42b7 20405d65 call twspi_read 
+42b8 c09841f2 bne p32xx_id1 ,mouse_twspi_reset 
+
+mouse_p3212_sensor_motion_2:
+42b9 58000002 setarg pan_reg_motion_staus 
+42ba 20405d65 call twspi_read 
+42bb c4038000 rtnbit0 7 
+42bc 2040431b call mouse_read_sensor_common 
+42bd 204042cc call mouse_read_3212sensor_xy_high 
+42be 67e0c8db store 1 ,mem_mouse_xy_h 
+42bf 1ff1fe00 rshift4 pdata ,pdata 
+42c0 20404317 call mouse_data_extsign_bit3 
+42c1 67e0c8d6 store 1 ,mem_mouse_x + 1 
+42c2 6fe0c8db fetch 1 ,mem_mouse_xy_h 
+42c3 1fe17e0f and pdata ,0x0f ,pdata 
+42c4 20404317 call mouse_data_extsign_bit3 
+42c5 67e0c8d8 store 1 ,mem_mouse_y + 1 
+42c6 6fe0c92d fetch 1 ,mem_config_sensor_angle 
+42c7 c00042ed beq mouse_6clk_angle ,mouse_motion_6clk_direction_dispose 
+42c8 c000c2f5 beq mouse_9clk_angle ,mouse_motion_9clk_direction_dispose 
+42c9 c00142f1 beq mouse_12clk_angle ,mouse_motion_12clk_direction_dispose 
+42ca c001c2fd beq mouse_3clk_angle ,mouse_motion_3clk_direction_dispose 
+42cb 20600000 rtn 
+
+mouse_read_3212sensor_xy_high:
+42cc 58000012 setarg 0x12 
+42cd 20205d65 branch twspi_read 
+
+mouse_pka8g2_sensor_motion:
+42ce 20404304 call mouse_clear_sensor_data 
+42cf 6fe0c915 fetch 1 ,mem_sensor_motion_gpio 
+42d0 c07fc2d4 beq gpio_disable ,mouse_pka8g2_sensor_motion_1 
+42d1 6848c915 fetcht 1 ,mem_sensor_motion_gpio 
+42d2 204060fd call gpio_get_bit 
+42d3 24608000 nrtn true 
+
+mouse_pka8g2_sensor_motion_1:
+42d4 202042b9 branch mouse_p3212_sensor_motion_2 
+
+mouse_p8009_sensor_motion:
+42d5 20404304 call mouse_clear_sensor_data 
+42d6 78547c00 disable user 
+42d7 58000002 setarg pan_reg_motion_staus 
+42d8 20405d65 call twspi_read 
+42d9 c4038000 rtnbit0 7 
+42da 58000008 setarg pan_reg_opration_state 
+42db 20405d65 call twspi_read 
+42dc 203a4299 branch mouse_p32xx_sensor_motion_1 + 3 ,blank 
+42dd 58000000 setarg 0 
+42de 67e348d5 store 6 ,mem_mouse_x 
+42df 20600000 rtn 
+
+mouse_sensor_set_angle:
+42e0 6fe0c929 fetch 1 ,mem_sensor_angle_default 
+42e1 67e0c92d store 1 ,mem_config_sensor_angle 
+42e2 6fe0c91a fetch 1 ,mem_select_sensor_angle_gpio 
+42e3 c17f8000 rtneq gpio_disable 
+42e4 6848c91a fetcht 1 ,mem_select_sensor_angle_gpio 
+42e5 20403f96 call mouse_gpio_config_input_pu 
+42e6 6848c91a fetcht 1 ,mem_select_sensor_angle_gpio 
+42e7 204060fd call gpio_get_bit 
+42e8 2040c2ea call mouse_sensor_switch_angle ,true 
+42e9 20203f94 branch mouse_gpio_config_input_pd 
+
+mouse_sensor_switch_angle:
+42ea 6fe0c92a fetch 1 ,mem_sensor_angle_switch 
+42eb 67e0c92d store 1 ,mem_config_sensor_angle 
+42ec 20600000 rtn 
+
+mouse_motion_6clk_direction_dispose:
+42ed 6fe148d5 fetch 2 ,mem_mouse_x 
+42ee 1fe67e00 sub pdata ,0 ,pdata 
+42ef 67e148d5 store 2 ,mem_mouse_x 
+42f0 20207ec5 branch enable_user 
+
+mouse_motion_12clk_direction_dispose:
+42f1 6fe148d7 fetch 2 ,mem_mouse_y 
+42f2 1fe67e00 sub pdata ,0 ,pdata 
+42f3 67e148d7 store 2 ,mem_mouse_y 
+42f4 20207ec5 branch enable_user 
+
+mouse_motion_9clk_direction_dispose:
+42f5 6fe148d7 fetch 2 ,mem_mouse_y 
+42f6 1fe67e00 sub pdata ,0 ,pdata 
+42f7 67e148d7 store 2 ,mem_mouse_y 
+42f8 6fe148d5 fetch 2 ,mem_mouse_x 
+42f9 1fe67e00 sub pdata ,0 ,pdata 
+42fa 67e148d5 store 2 ,mem_mouse_x 
+42fb 204042ff call mouse_sensor_data_swap_places 
+42fc 20207ec5 branch enable_user 
+
+mouse_motion_3clk_direction_dispose:
+42fd 204042ff call mouse_sensor_data_swap_places 
+42fe 20207ec5 branch enable_user 
+
+mouse_sensor_data_swap_places:
+42ff 6fe148d7 fetch 2 ,mem_mouse_y 
+4300 684948d5 fetcht 2 ,mem_mouse_x 
+4301 67e148d5 store 2 ,mem_mouse_x 
+4302 604948d7 storet 2 ,mem_mouse_y 
+4303 20600000 rtn 
+
+mouse_clear_sensor_data:
+4304 6fe0c9cd fetch 1 ,mem_mouse_move_flag 
+4305 205a431b call mouse_read_sensor_common ,blank 
+4306 7049cd01 jam 1 ,mem_mouse_move_flag 
+4307 20600000 rtn 
+
+mouse_clear_sensor_data_by_reset:
+4308 704abd01 jam 1 ,mem_mouse_clear_sensor_data_flag 
+4309 20401ac6 call le_set_config_more_data 
+
+mouse_init_sensor_reset:
+430a 202041e7 branch mouse_init_sunt 
+
+mouse_data_xy_release:
+430b 6fe0c915 fetch 1 ,mem_sensor_motion_gpio 
+430c c1ff8000 rtnne gpio_disable 
+430d 6fe0cabf fetch 1 ,mem_mouse_long_mult_flag 
+430e c1808000 rtnne 1 
+430f 58000000 setarg 0 
+4310 67e0cabf store 1 ,mem_mouse_long_mult_flag 
+4311 67e248d5 store 4 ,mem_mouse_x 
+4312 2020430a branch mouse_init_sensor_reset 
+
+mouse_data_extsign:
+4313 c4038000 rtnbit0 7 
+4314 d840ff00 arg 0xff00 ,temp 
+4315 9841fe00 ior temp ,pdata 
+4316 20600000 rtn 
+
+mouse_data_extsign_bit3:
+4317 c4018000 rtnbit0 3 
+4318 d84000f0 arg 0xf0 ,temp 
+4319 9841fe00 ior temp ,pdata 
+431a 20600000 rtn 
+
+mouse_read_sensor_common:
+431b dfe00003 arg pan_reg_delta_x ,pdata 
+431c 20405d65 call twspi_read 
+431d 67e148d5 store 2 ,mem_mouse_x 
+431e dfe00004 arg pan_reg_delta_y ,pdata 
+431f 20405d65 call twspi_read 
+4320 67e148d7 store 2 ,mem_mouse_y 
+4321 20600000 rtn 
+
+mouse_sensor_sdio_low:
+4322 6848c924 fetcht 1 ,mem_mouse_sensor_sdio_gpio 
+4323 204060fd call gpio_get_bit 
+4324 20608000 rtn true 
+4325 5800000a setarg 0x0a 
+4326 20405d65 call twspi_read 
+4327 200003e8 nop 1000 
+4328 20204322 branch mouse_sensor_sdio_low 
+
+mouse_set_sdio_high:
+4329 58008100 setarg 0x8100 
+432a 20205d5e branch twspi_write 
+
+mouse_buletooth_fast_conn_init:
+432b 704ad2ff jam 0xff ,mem_mouse_bluetooth_fast_conn_flag 
+432c 6fe0cbc4 fetch 1 ,mem_mouse_bluetooth_type 
+432d c280c32f bbit1 mode_4_mouse ,mouse_ble_fast_conn_init 
+432e c2804334 bbit1 mode_3_mouse ,mouse_bt_fast_conn_init 
+
+mouse_ble_fast_conn_init:
+432f 70448434 jam 0x34 ,mem_xrecord_mode 
+4330 580f0f0f setarg 0x0f0f0f 
+4331 67e1c37a store 3 ,mem_le_lap 
+4332 67e1c37d store 3 ,mem_le_lap + 3 
+4333 20203e24 branch mouse_start_reconnect 
+
+mouse_bt_fast_conn_init:
+4334 70448433 jam 0x33 ,mem_xrecord_mode 
+4335 d8c04979 arg mem_mouse_compare_addr_ff ,contr 
+4336 20404608 call mouse_load_bt_device 
+4337 20203e24 branch mouse_start_reconnect 
+
+mouse_buletooth_fast_conn_end:
+4338 44ea401a bpatch patch1a_4 ,mem_patch1a 
+4339 204045fd call mouse_select_reconn_device 
+433a 20404354 call mouse_bluetooth_fast_conn_disable 
+433b 6fe0c93d fetch 1 ,mem_device_flag 
+433c c000c33f beq mode_bt_device1 ,mouse_device1_check_auto_discover 
+433d c0014341 beq mode_bt_device2 ,mouse_device2_check_auto_discover 
+433e 20600000 rtn 
+
+mouse_device1_check_auto_discover:
+433f 6fe3493f fetch 6 ,mem_device1_addr 
+4340 20204342 branch mouse_device_check_auto_discover 
+
+mouse_device2_check_auto_discover:
+4341 6fe3495c fetch 6 ,mem_device2_addr 
+
+mouse_device_check_auto_discover:
+4342 684b4979 fetcht 6 ,mem_mouse_compare_addr_ff 
+4343 98467c00 isub temp ,null 
+4344 2022c593 branch mouse_start_discovery ,zero 
+4345 20203e1c branch mouse_start_reconnect_device 
+
+mouse_bt_fast_conn_send_device_name:
+4346 20404354 call mouse_bluetooth_fast_conn_disable 
+4347 6fe0c5ff fetch 1 ,mem_local_name_length 
+4348 1fe0fe03 increase 3 ,pdata 
+4349 1fe22200 copy pdata ,rega 
+434a 20404e1e call hid_malloc_tx_buff 
+434b 6fe144e1 fetch 2 ,mem_hid_int_remote_cid 
+434c e7e10005 istore 2 ,contw 
+434d 580004a1 setarg 0x04a1 
+434e e7e10005 istore 2 ,contw 
+434f 6fe0c5ff fetch 1 ,mem_local_name_length 
+4350 1fe0fe01 increase 1 ,pdata 
+4351 1fe27200 copy pdata ,loopcnt 
+4352 d8c045ff arg mem_local_name_length ,contr 
+4353 20207dd4 branch memcpy 
+
+mouse_bluetooth_fast_conn_disable:
+4354 704ad25a jam 0x5a ,mem_mouse_bluetooth_fast_conn_flag 
+4355 20600000 rtn 
+
+mouse_stop_bluetooth_mode:
+4356 6fe1478f fetch 2 ,mem_ui_state_map 
+4357 c283c362 bbit1 ui_state_bt_reconnect ,mouse_cancel_reconnect 
+4358 c284b281 bbit1 ui_state_ble_connected ,app_ble_disconnect 
+4359 c2803268 bbit1 ui_state_bt_connected ,app_bt_disconnect 
+435a 202045b6 branch mouse_stop_discovery 
+
+mouse_disconnect:
+435b 58000000 setarg 0 
+435c 67e14ac3 store 2 ,mem_mouse_no_data_timer 
+435d 6fe1478f fetch 2 ,mem_ui_state_map 
+435e c284b281 bbit1 ui_state_ble_connected ,app_ble_disconnect 
+435f 6fe1478f fetch 2 ,mem_ui_state_map 
+4360 c2803268 bbit1 ui_state_bt_connected ,app_bt_disconnect 
+4361 20600000 rtn 
+
+mouse_cancel_reconnect:
+4362 2040471c call mouse_bt_cannel_reconn_enable 
+4363 2020799c branch check_51cmd_bb_reconn_cancel 
+
+mouse_check_125hz:
+4364 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+4365 c40d8000 rtnbit0 mouse_enable_bt_125hz 
+
+mouse_bluetooth_125hz:
+4366 2434436c nbranch mouse_bluetooth_125hz_clear ,user 
+4367 6fe0cabe fetch 1 ,mem_bluetooth_125hz_cnt 
+4368 1fe0fe01 increase 1 ,pdata 
+4369 1fe17e0f and_into 0x0f ,pdata 
+436a 67e0cabe store 1 ,mem_bluetooth_125hz_cnt 
+436b 247a0000 nrtn blank 
+
+mouse_bluetooth_125hz_clear:
+436c 704abe00 jam 0 ,mem_bluetooth_125hz_cnt 
+436d 78547c00 disable user 
+436e 20600000 rtn 
+
+mouse_current_mult_update:
+436f 6fe0c915 fetch 1 ,mem_sensor_motion_gpio 
+4370 c1ff8000 rtnne gpio_disable 
+4371 70417700 jam 0 ,mem_lpm_mult 
+4372 704ac01e jam 30 ,mem_mouse_current_mult_timer 
+4373 20600000 rtn 
+
+mouse_priority_bb_event:
+4374 44eac01a bpatch patch1a_5 ,mem_patch1a 
+4375 1a627e00 copy regc ,pdata 
+4376 c00a4390 beq bt_evt_le_connected ,mouse_le_bb_event_connected 
+4377 c000c43a beq bt_evt_bb_connected ,mouse_bb_event_connected 
+4378 c00ac39f beq bt_evt_le_disconnected ,mouse_le_bb_disconnected 
+4379 c001443e beq bt_evt_bb_disconnected ,mouse_bb_disconnected 
+437a c002c461 beq bt_evt_setup_complete ,mouse_bt_event_setup_complete 
+437b c008458e beq bt_evt_button_long_pressed ,mouse_bb_event_discovery_btn 
+437c c0094464 beq bt_evt_hid_handshake ,mouse_bt_hid_handshake 
+437d c00332b6 beq bt_evt_hid_connected ,app_hid_connected 
+437e c0024472 beq bt_evt_reconn_failed ,mouse_bb_event_reconn_failed 
+437f c009c472 beq bt_evt_reconn_page_timeout ,mouse_bb_event_reconn_timeout 
+4380 c00cb25e beq bt_evt_switch_not_accept ,app_bt_role_switch 
+4381 c015c47d beq bt_evt_switch_success_master ,mouse_enter_sniff_check 
+4382 c010c483 beq bt_evt_sniff_not_accept ,mouse_sniff_not_accept 
+4383 c005448a beq bt_evt_pincode_req ,mouse_bb_event_pincode 
+4384 c017324c beq bt_evt_remote_unsniff ,app_start_auto_sniff 
+4385 c018c3aa beq bt_evt_le_pairing_success ,mouse_le_pairing_success 
+4386 c014c3ac beq bt_evt_le_enc_info ,mouse_le_enc_info 
+4387 c01943ae beq bt_evt_le_start_enc ,mouse_le_ll_start_encryt 
+4388 c01f43b9 beq bt_evt_le_pairing_complete ,mouse_le_pairing_complete 
+4389 c02043ba beq bt_evt_le_parse_conn_papa_update_rsp ,mouse_le_conn_param_update_rsp_recieved 
+438a c013c48c beq bt_evt_virtual_cable_unplug ,mouse_irtual_cable_unplug 
+438b c01cc896 beq bt_evt_24g_pairing_complete ,mouse_24g_pairing_complete 
+438c c01d4872 beq bt_evt_24g_attempt_fail ,mouse_24g_attempt_fail 
+438d c01e488d beq bt_evt_24g_attempt_success ,mouse_24g_attempt_success 
+438e c02243d0 beq bt_evt_le_parse_conn_param_accepted ,mouse_le_parse_conn_param_accepted 
+438f 20600000 rtn 
+
+mouse_le_bb_event_connected:
+4390 704abf00 jam 0 ,mem_mouse_long_mult_flag 
+4391 2040430a call mouse_init_sensor_reset 
+4392 704ad701 jam 1 ,mem_mouse_le_bb_connected_flag 
+4393 20404861 call mouse_24g_first_store_reconn_info 
+4394 6fe0cad8 fetch 1 ,mem_mouse_le_reconnect_flag 
+4395 243a4397 nbranch mouse_le_bb_event_connected_next ,blank 
+4396 704ad914 jam 0x14 ,mem_mouse_send_secutiry_request_timer 
+
+mouse_le_bb_event_connected_next:
+4397 6fe14482 fetch app_disc_rsn_size ,mem_app_disconn_reason_flag 
+4398 793ffe00 set0 app_disc_by_button ,pdata 
+4399 67e14482 store app_disc_rsn_size ,mem_app_disconn_reason_flag 
+439a 704b8800 jam 0 ,mem_mouse_direct_timer 
+439b 6fe14b01 fetch 2 ,mem_le_battery_level_updata_timer_init 
+439c 67e14b03 store 2 ,mem_le_battery_level_updata_timer 
+439d 20404584 call mouse_no_data_timer_init 
+439e 202045b6 branch mouse_stop_discovery 
+
+mouse_le_bb_disconnected:
+439f 704ad700 jam 0 ,mem_mouse_le_bb_connected_flag 
+43a0 58000006 setarg le_interval_7_5ms 
+43a1 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+43a2 c28dc3a4 bbit1 mouse_enable_bt_125hz ,mouse_le_bb_disconnected_next 
+43a3 58000007 setarg le_interval_8_75ms 
+
+mouse_le_bb_disconnected_next:
+43a4 67e14372 store 2 ,mem_le_interval_min 
+43a5 67e14374 store 2 ,mem_le_interval_min + 2 
+43a6 704b0500 jam le_lpm_enable ,mem_mouse_le_conn_param_reject 
+43a7 704abd00 jam 0 ,mem_mouse_clear_sensor_data_flag 
+43a8 20401ac8 call le_clr_config_more_data 
+43a9 2020443e branch mouse_bb_disconnected 
+
+mouse_le_pairing_success:
+43aa d8e00002 arg ll_pairing_success_flag ,queue 
+43ab 202043b5 branch mouse_le_enable_connect_flag 
+
+mouse_le_enc_info:
+
+mouse_updata_le_param:
+43ac 70095b12 jam bt_cmd_le_update_conn ,mem_fifo_temp 
+43ad 202078e5 branch ui_ipc_send_cmd 
+
+mouse_le_ll_start_encryt:
+43ae 6fe0cad8 fetch 1 ,mem_mouse_le_reconnect_flag 
+43af c000c3b1 beq 1 ,mouse_le_ll_reconn_start_encryt 
+43b0 202043b3 branch mouse_le_ll_enable_start_enc_flag 
+
+mouse_le_ll_reconn_start_encryt:
+43b1 204043ac call mouse_updata_le_param 
+43b2 704b8714 jam 20 ,mem_le_start_encrypt_timer 
+
+mouse_le_ll_enable_start_enc_flag:
+43b3 d8e00001 arg ll_start_enc_flag ,queue 
+43b4 202043b5 branch mouse_le_enable_connect_flag 
+
+mouse_le_enable_connect_flag:
+43b5 6fe0cb86 fetch 1 ,mem_le_connect_status_flag 
+43b6 f9207e00 qset1 pdata 
+43b7 67e0cb86 store 1 ,mem_le_connect_status_flag 
+43b8 20600000 rtn 
+
+mouse_le_pairing_complete:
+43b9 2020328f branch app_ble_store_reconn_info 
+
+mouse_le_conn_param_update_rsp_recieved:
+43ba 6fe143db fetch 2 ,mem_le_l2cap_signaling_conn_param_update_rsp_result 
+43bb c1000000 rtneq ble_signaling_connect_parameter_update_accepted 
+43bc 6fe08289 fetch 1 ,mem_le_tsniff 
+43bd 1feb7e00 rshift2 pdata ,pdata 
+43be 1fe67c0c sub pdata ,le_interval_15ms ,null 
+43bf 20610000 rtn positive 
+43c0 58000009 setarg le_interval_11_25ms 
+43c1 67e14372 store 2 ,mem_le_interval_min 
+43c2 67e14374 store 2 ,mem_le_interval_min + 2 
+43c3 204043ac call mouse_updata_le_param 
+
+mouse_le_conn_param_lpm_disable:
+43c4 704b0501 jam le_lpm_disable ,mem_mouse_le_conn_param_reject 
+43c5 20600000 rtn 
+
+mouse_le_conn_param_lpm_enable:
+43c6 704b0500 jam le_lpm_enable ,mem_mouse_le_conn_param_reject 
+43c7 20600000 rtn 
+
+mouse_le_bb_event_connect_complete:
+43c8 6fe0cad8 fetch 1 ,mem_mouse_le_reconnect_flag 
+43c9 247a0000 nrtn blank 
+43ca 6fe0c437 fetch 1 ,mem_le_att_handle 
+43cb 1fe67e22 sub pdata ,34 ,pdata 
+43cc 24628000 nrtn zero 
+43cd 704b8700 jam 0 ,mem_le_start_encrypt_timer 
+
+mouse_le_write_enable:
+43ce d8e00000 arg write_req_enable_flag ,queue 
+43cf 202043b5 branch mouse_le_enable_connect_flag 
+
+mouse_le_parse_conn_param_accepted:
+43d0 6fe082c1 fetch 1 ,mem_le_new_conninterval 
+43d1 1fe67c0c sub pdata ,le_interval_15ms ,null 
+43d2 242143c4 nbranch mouse_le_conn_param_lpm_disable ,positive 
+43d3 6fe082c3 fetch 1 ,mem_le_new_connslavelatency 
+43d4 6848cb9b fetcht 1 ,mem_lpm_mult_init 
+43d5 98467c00 isub temp ,null 
+43d6 202143da branch mouse_le_lpm_mult_reinit ,positive 
+43d7 6fe082c3 fetch 1 ,mem_le_new_connslavelatency 
+43d8 67e0c177 store 1 ,mem_lpm_mult 
+43d9 202043c6 branch mouse_le_conn_param_lpm_enable 
+
+mouse_le_lpm_mult_reinit:
+43da 6fe0cb9b fetch 1 ,mem_lpm_mult_init 
+43db 67e0c177 store 1 ,mem_lpm_mult 
+43dc 202043c6 branch mouse_le_conn_param_lpm_enable 
+
+mouse_le_clean_connect_flag:
+43dd 704b8600 jam 0 ,mem_le_connect_status_flag 
+43de 20600000 rtn 
+
+mouse_le:
+43df 44eb401a bpatch patch1a_6 ,mem_patch1a 
+43e0 20401b24 call le_fifo_check_nearly_full 
+43e1 247a0000 nrtn blank 
+43e2 6fe0cad2 fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
+43e3 c07fc3e7 beq 0xff ,mouse_le_next 
+43e4 6fe0cb86 fetch 1 ,mem_le_connect_status_flag 
+43e5 1fe17e03 and pdata ,0x03 ,pdata 
+43e6 c1818000 rtnne 0x03 
+
+mouse_le_next:
+43e7 6fe0cabd fetch 1 ,mem_mouse_clear_sensor_data_flag 
+43e8 205a4308 call mouse_clear_sensor_data_by_reset ,blank 
+43e9 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+43ea c280c411 bbit1 mouse_24g_pairing_flag ,mouse_le_send_empty_packet 
+43eb c2804411 bbit1 mouse_select_device_flag ,mouse_le_send_empty_packet 
+43ec c282c411 bbit1 mouse_bt_discovery_button_down_flag ,mouse_le_send_empty_packet 
+43ed c2834411 bbit1 mouse_bt_discovery_button_long_down_flag ,mouse_le_send_empty_packet 
+43ee 20403fb0 call mouse_motion 
+43ef 20404364 call mouse_check_125hz 
+43f0 24740000 nrtn user 
+43f1 2040436f call mouse_current_mult_update 
+43f2 2040430b call mouse_data_xy_release 
+43f3 2040405d call mouse_wheel_trigger 
+43f4 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+43f5 c30ac3f8 bbit0 mouse_enable_keyboard ,mouse_le_send_mouse_data 
+43f6 6fe0cb9c fetch 1 ,mem_customer_key 
+43f7 c000c3f9 beq 1 ,mouse_le_send_keyboard_package_data 
+
+mouse_le_send_mouse_data:
+43f8 20204413 branch mouse_fill_mouse_data_le 
+
+mouse_le_send_keyboard_package_data:
+43f9 6fe0cb9d fetch 1 ,mem_customer_data_trigger 
+43fa 203a4403 branch mouse_le_release_keyboard_data ,blank 
+43fb 6fe44bde fetch 8 ,mem_customer_key_press + 1 
+
+mouse_fill_keyboard_package_data_le:
+43fc 67e4095c store 8 ,mem_pdatatemp 
+43fd 6fe0cbdd fetch 1 ,mem_customer_key_press 
+43fe c001c405 beq kb_multikey_report_id ,mouse_fill_multimedia_key_data_le 
+43ff c0014408 beq kb_system_conctrl_report_id ,mouse_fill_systemctrl_key_data_le 
+4400 704af708 jam 8 ,mem_le_data_len 
+4401 68494af8 fetcht 2 ,mem_le_keyboard_handle 
+4402 20204418 branch mouse_fill_data_le 
+
+mouse_le_release_keyboard_data:
+4403 6fe44be7 fetch 8 ,mem_customer_key_release + 1 
+4404 202043fc branch mouse_fill_keyboard_package_data_le 
+
+mouse_fill_multimedia_key_data_le:
+4405 704af703 jam 3 ,mem_le_data_len 
+4406 68494afa fetcht 2 ,mem_le_multimedia_handle 
+4407 20204418 branch mouse_fill_data_le 
+
+mouse_fill_systemctrl_key_data_le:
+4408 704af702 jam 2 ,mem_le_data_len 
+4409 68494afc fetcht 2 ,mem_le_systemctrl_handle 
+440a 20204418 branch mouse_fill_data_le 
+
+mouse_fill_battery_level_le:
+440b da200001 arg 1 ,rega 
+440c 68494afe fetcht 2 ,mem_le_battery_level_handle 
+440d 20401e5f call le_att_malloc_tx_notify 
+440e 6fe0cb00 fetch 1 ,mem_le_battery_level_percentage 
+440f e7e08005 istore 1 ,contw 
+4410 20600000 rtn 
+
+mouse_le_send_empty_packet:
+4411 58000000 setarg 0 
+4412 67e3c8d4 store 7 ,mem_mouse_key 
+
+mouse_fill_mouse_data_le:
+4413 704af707 jam 7 ,mem_le_data_len 
+4414 6fe3c8d4 fetch 7 ,mem_mouse_key 
+4415 67e3895c store 7 ,mem_pdatatemp 
+4416 68494357 fetcht 2 ,mem_le_notify_handle 
+4417 20204418 branch mouse_fill_data_le 
+
+mouse_fill_data_le:
+4418 6fe0caf7 fetch 1 ,mem_le_data_len 
+4419 1fe22200 copy pdata ,rega 
+441a 20401e5f call le_att_malloc_tx_notify 
+441b 6848caf7 fetcht 1 ,mem_le_data_len 
+441c 18427200 copy temp ,loopcnt 
+441d d8c0095c arg mem_pdatatemp ,contr 
+441e 20207dd4 branch memcpy 
+
+mouse_check_51cmd_adv:
+441f 704ad800 jam 0 ,mem_mouse_le_reconnect_flag 
+4420 6fe1cadd fetch 3 ,mem_le_adv_ind 
+4421 67e1c3ec store 3 ,mem_le_adv_data + 4 
+4422 20404428 call mouse_le_check_adv_flag 
+4423 58000005 setarg adv_flag_bredr_not_supported | adv_flag_limited_discoverable 
+4424 e7e08006 istore 1 ,contr 
+4425 d8c04ae3 arg mem_le_adv_swift_pair ,contr 
+4426 2040442f call mouse_le_adv_data_update 
+4427 20207959 branch check_51cmd_adv 
+
+mouse_le_check_adv_flag:
+4428 da2043e8 arg mem_le_adv_data ,rega 
+
+mouse_le_check_adv_flag_loop:
+4429 efe08011 ifetch 1 ,rega 
+442a 207a0000 rtn blank 
+442b 98c0a200 iadd contr ,rega 
+442c efe08006 ifetch 1 ,contr 
+442d c1008000 rtneq 0x01 
+442e 20204429 branch mouse_le_check_adv_flag_loop 
+
+mouse_le_adv_data_update:
+442f d8a043f3 arg mem_le_adv_data + 11 ,contw 
+4430 df200013 arg 19 ,loopcnt 
+4431 20407dd4 call memcpy 
+4432 20201a6a branch le_modified_name_adv 
+
+mouse_bt_sniff_param_interval_setup:
+4433 5800000c setarg classic_interval_7_5ms 
+4434 67e14455 store 2 ,mem_sniff_param_interval 
+4435 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+4436 c38d8000 rtnbit1 mouse_enable_bt_125hz 
+4437 5800000e setarg classic_interval_8_75ms 
+4438 67e14455 store 2 ,mem_sniff_param_interval 
+4439 20600000 rtn 
+
+mouse_bb_event_connected:
+443a 704abf00 jam 0 ,mem_mouse_long_mult_flag 
+443b 2040430a call mouse_init_sensor_reset 
+443c 20404861 call mouse_24g_first_store_reconn_info 
+443d 202045b6 branch mouse_stop_discovery 
+
+mouse_bb_disconnected:
+443e 704b9000 jam 0 ,mem_mouse_enter_sniff_count 
+443f 704b9900 jam 0 ,mem_mouse_bt_send_first_package_flag 
+4440 20404433 call mouse_bt_sniff_param_interval_setup 
+4441 20404449 call mouse_bb_discon_clear_stack 
+4442 6fe14480 fetch app_disc_rsn_size ,mem_app_disconn_reason 
+4443 c283c450 bbit1 app_disc_ble ,mouse4_0_event_bb_disconn 
+4444 c2803238 bbit1 app_disc_by_button ,app_disconn_reason_clear 
+4445 c280c454 bbit1 app_disc_after_pairing ,mouse_event_light_state_pairing 
+4446 c2814457 bbit1 app_disc_after_reconn ,mouse_event_light_state_hibernate 
+4447 c281c457 bbit1 app_disc_after_sniff ,mouse_event_light_state_hibernate 
+4448 20204593 branch mouse_start_discovery 
+
+mouse_bb_discon_clear_stack:
+4449 58000000 setarg 0 
+444a 67e448dd store 8 ,mem_wheel_tb_old_pinlevel 
+444b e7e20005 istore 4 ,contw 
+444c 7049cd00 jam 0 ,mem_mouse_move_flag 
+444d 70445400 jam app_handshake_null ,mem_app_handshake_flag 
+444e 70432600 jam 0 ,mem_ltk_exists 
+444f 20600000 rtn 
+
+mouse4_0_event_bb_disconn:
+4450 204043dd call mouse_le_clean_connect_flag 
+4451 6fe14480 fetch app_disc_rsn_size ,mem_app_disconn_reason 
+4452 c2803238 bbit1 app_disc_by_button ,app_disconn_reason_clear 
+4453 20203e5a branch mouse_app_enter_hibernate 
+
+mouse_event_light_state_pairing:
+4454 c282c457 bbit1 app_disc_after_handshake ,mouse_event_light_state_hibernate 
+4455 c281c457 bbit1 app_disc_after_sniff ,mouse_event_light_state_hibernate 
+4456 20204593 branch mouse_start_discovery 
+
+mouse_event_light_state_hibernate:
+4457 6fe1478f fetch 2 ,mem_ui_state_map 
+4458 c2864593 bbit1 ui_state_btn_down ,mouse_start_discovery 
+4459 20403238 call app_disconn_reason_clear 
+445a 20404150 call mouse_key_check_once 
+445b 2040451c call mouse_commbination_key_process 
+445c 6fe0cbb0 fetch 1 ,mem_commbination_key_statue 
+445d c000be57 beq commbination_key_state_down ,mouse_delay_enter_hibernata 
+445e 6fe0cad5 fetch 1 ,mem_mouse_bluetooth_reconnect_timeout 
+445f 247a0000 nrtn blank 
+4460 20203e5a branch mouse_app_enter_hibernate 
+
+mouse_bt_event_setup_complete:
+4461 20600000 rtn 
+
+mouse_bt_send_first_package_timer_init:
+4462 704b9804 jam 4 ,mem_mouse_bt_send_first_package_timer 
+4463 20600000 rtn 
+
+mouse_bt_hid_handshake:
+4464 70445401 jam app_handshake_done ,mem_app_handshake_flag 
+4465 20403295 call app_lpm_mult_enable 
+4466 20403291 call app_bt_store_reconn_info 
+4467 58000000 setarg 0 
+4468 67e1478b store 2 ,mem_discovery_timeout_timer_count 
+4469 67e0c78d store 1 ,mem_hid_handshake_timer_count 
+446a 20404462 call mouse_bt_send_first_package_timer_init 
+446b 2020328d branch app_bt_enter_sniff 
+
+mouse_bt_hid_handshake_boot_check:
+446c 704b9100 jam 0 ,mem_mouse_bt_boot_mode 
+446d 6fe0c5f8 fetch 1 ,mem_l2cap_rcv_hidtype 
+446e 2feffe00 isolate1 0 ,pdata 
+446f 20608000 rtn true 
+4470 704b9101 jam 1 ,mem_mouse_bt_boot_mode 
+4471 20600000 rtn 
+
+mouse_bb_event_reconn_timeout:
+
+mouse_bb_event_reconn_failed:
+4472 6fe0cad2 fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
+4473 c07fc338 beq 0xff ,mouse_buletooth_fast_conn_end 
+4474 6fe1478f fetch 2 ,mem_ui_state_map 
+4475 c3860000 rtnbit1 ui_state_btn_down 
+4476 c3830000 rtnbit1 ui_state_bt_discovery 
+4477 c3858000 rtnbit1 ui_state_ble_adv 
+4478 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+4479 c3828000 rtnbit1 mouse_bt_discovery_button_down_flag 
+447a c299c593 bbit1 mouse_enable_bt_reconnect_timeout_enter_discovery ,mouse_start_discovery 
+447b c297c85e bbit1 mouse_enable_24g_first_auto_pairing ,mouse_24g_first_bb_event_reconn_timeout 
+447c 20203e5a branch mouse_app_enter_hibernate 
+
+mouse_enter_sniff_check:
+447d 6fe0cb90 fetch 1 ,mem_mouse_enter_sniff_count 
+447e c1810000 rtnne 2 
+447f 704b9000 jam 0 ,mem_mouse_enter_sniff_count 
+4480 20404433 call mouse_bt_sniff_param_interval_setup 
+4481 20404462 call mouse_bt_send_first_package_timer_init 
+4482 2020328d branch app_bt_enter_sniff 
+
+mouse_sniff_not_accept:
+4483 6fe0cb90 fetch 1 ,mem_mouse_enter_sniff_count 
+4484 c1010000 rtneq 2 
+4485 1fe0fe01 increase 1 ,pdata 
+4486 67e0cb90 store 1 ,mem_mouse_enter_sniff_count 
+4487 70445512 jam 0x12 ,mem_sniff_param_interval 
+4488 20404462 call mouse_bt_send_first_package_timer_init 
+4489 2020328d branch app_bt_enter_sniff 
+
+mouse_bb_event_pincode:
+448a 20405b4f call pincode_reinit 
+448b 2020325c branch app_bt_set_pincode 
+
+mouse_irtual_cable_unplug:
+448c 58000001 setarg 0x01 
+448d 67e30040 store 6 ,mem_plap 
+448e 7000e733 jam rec_3_mode ,mem_record_bt_mode 
+448f 202045cd branch mouse_unplug_clean_bdaddr 
+
+mouse_irtual_cable_unplug1:
+4490 5fffffff setarg -1 
+4491 67e30040 store 6 ,mem_plap 
+4492 7000e733 jam rec_3_mode ,mem_record_bt_mode 
+4493 704ad2ff jam 0xff ,mem_mouse_bluetooth_fast_conn_flag 
+4494 204045e2 call mouse_before_store_reconn_info 
+4495 70493eff jam 0xff ,mem_device1_type 
+4496 2020462e branch mouse_store_device_info_delay 
+
+mouse_bt:
+4497 44ebc01a bpatch patch1a_7 ,mem_patch1a 
+4498 20770000 rtn attempt 
+4499 6fe0c454 fetch 1 ,mem_app_handshake_flag 
+449a 207a0000 rtn blank 
+449b 20405352 call l2cap_malloc_is_fifo_nearly_full 
+449c 247a0000 nrtn blank 
+449d 6fe0cad2 fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
+449e c07fc346 beq 0xff ,mouse_bt_fast_conn_send_device_name 
+449f 6fe0cabd fetch 1 ,mem_mouse_clear_sensor_data_flag 
+44a0 205a4308 call mouse_clear_sensor_data_by_reset ,blank 
+44a1 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+44a2 c280c4ce bbit1 mouse_24g_pairing_flag ,mouse_send_empty_data 
+44a3 c28044ce bbit1 mouse_select_device_flag ,mouse_send_empty_data 
+44a4 c282c4ce bbit1 mouse_bt_discovery_button_down_flag ,mouse_send_empty_data 
+44a5 c28344ce bbit1 mouse_bt_discovery_button_long_down_flag ,mouse_send_empty_data 
+44a6 20403fb0 call mouse_motion 
+44a7 20404364 call mouse_check_125hz 
+44a8 24740000 nrtn user 
+44a9 2040436f call mouse_current_mult_update 
+44aa 2040430b call mouse_data_xy_release 
+44ab 2040405d call mouse_wheel_trigger 
+44ac 6fe0cb91 fetch 1 ,mem_mouse_bt_boot_mode 
+44ad c000c4bd beq 1 ,mouse_send_data_boot_mode 
+44ae 6fe0cb99 fetch 1 ,mem_mouse_bt_send_first_package_flag 
+44af 207a0000 rtn blank 
+44b0 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+44b1 c30ac4b4 bbit0 mouse_enable_keyboard ,mouse_send_data 
+44b2 6fe0cb9c fetch 1 ,mem_customer_key 
+44b3 c000c4d1 beq 1 ,mouse_bt_send_keyboard_packet 
+
+mouse_send_data:
+44b4 da200009 arg 9 ,rega 
+44b5 20404e1e call hid_malloc_tx_buff 
+44b6 6fe144e1 fetch 2 ,mem_hid_int_remote_cid 
+44b7 e7e10005 istore 2 ,contw 
+44b8 580002a1 setarg 0x02a1 
+44b9 e7e10005 istore 2 ,contw 
+44ba 6fe3c8d4 fetch 7 ,mem_mouse_key 
+44bb e7e38005 istore 7 ,contw 
+44bc 20600000 rtn 
+
+mouse_send_data_boot_mode:
+44bd 6fe0c8d4 fetch 1 ,mem_mouse_key 
+44be 67e0cb92 store 1 ,mem_mouse_bt_boot_data 
+44bf 6fe0c8d5 fetch 1 ,mem_mouse_x 
+44c0 e7e08005 istore 1 ,contw 
+44c1 6fe0c8d7 fetch 1 ,mem_mouse_y 
+44c2 e7e08005 istore 1 ,contw 
+44c3 6fe148d9 fetch 2 ,mem_mouse_z 
+44c4 e7e10005 istore 2 ,contw 
+44c5 da200007 arg 7 ,rega 
+44c6 20404e1e call hid_malloc_tx_buff 
+44c7 6fe144e1 fetch 2 ,mem_hid_int_remote_cid 
+44c8 e7e10005 istore 2 ,contw 
+44c9 580002a1 setarg 0x02a1 
+44ca e7e10005 istore 2 ,contw 
+44cb 6fe2cb92 fetch 5 ,mem_mouse_bt_boot_data 
+44cc e7e28005 istore 5 ,contw 
+44cd 20600000 rtn 
+
+mouse_send_empty_data:
+44ce 58000000 setarg 0 
+44cf 67e3c8d4 store 7 ,mem_mouse_key 
+44d0 202044b4 branch mouse_send_data 
+
+mouse_bt_send_keyboard_packet:
+44d1 6fe0cb9d fetch 1 ,mem_customer_data_trigger 
+44d2 203a44f3 branch mouse_bt_release_keyboard_data ,blank 
+44d3 6fe44bde fetch 8 ,mem_customer_key_press + 1 
+
+mouse_bt_send_keyboard_data:
+44d4 67e4095c store 8 ,mem_pdatatemp 
+44d5 6fe0cbdd fetch 1 ,mem_customer_key_press 
+44d6 c001c4e1 beq kb_multikey_report_id ,mouse_bt_send_multimedia_key_data 
+44d7 c00144ea beq kb_system_conctrl_report_id ,mouse_bt_send_systemctrl_key_data 
+44d8 da20000a arg 10 ,rega 
+44d9 20404e1e call hid_malloc_tx_buff 
+44da 6fe144e1 fetch 2 ,mem_hid_int_remote_cid 
+44db e7e10005 istore 2 ,contw 
+44dc 580001a1 setarg 0x01a1 
+44dd e7e10005 istore 2 ,contw 
+44de 6fe4095c fetch 8 ,mem_pdatatemp 
+44df e7e40005 istore 8 ,contw 
+44e0 20600000 rtn 
+
+mouse_bt_send_multimedia_key_data:
+44e1 da200004 arg 4 ,rega 
+44e2 20404e1e call hid_malloc_tx_buff 
+44e3 6fe144e1 fetch 2 ,mem_hid_int_remote_cid 
+44e4 e7e10005 istore 2 ,contw 
+44e5 580003a1 setarg 0x03a1 
+44e6 e7e10005 istore 2 ,contw 
+44e7 6fe1095c fetch 2 ,mem_pdatatemp 
+44e8 e7e10005 istore 2 ,contw 
+44e9 20600000 rtn 
+
+mouse_bt_send_systemctrl_key_data:
+44ea da200003 arg 3 ,rega 
+44eb 20404e1e call hid_malloc_tx_buff 
+44ec 6fe144e1 fetch 2 ,mem_hid_int_remote_cid 
+44ed e7e10005 istore 2 ,contw 
+44ee 580004a1 setarg 0x04a1 
+44ef e7e10005 istore 2 ,contw 
+44f0 6fe0895c fetch 1 ,mem_pdatatemp 
+44f1 e7e08005 istore 1 ,contw 
+44f2 20600000 rtn 
+
+mouse_bt_release_keyboard_data:
+44f3 6fe44be7 fetch 8 ,mem_customer_key_release + 1 
+44f4 202044d4 branch mouse_bt_send_keyboard_data 
+
+mouse_bb_event_timer:
+44f5 44ec401b bpatch patch1b_0 ,mem_patch1b 
+44f6 20403edc call mouse_adc_read 
+44f7 204049a3 call mouse_low_voltage_led_timer 
+44f8 204022e1 call g24_pair_timeout_timer 
+44f9 2040255f call g24_reconn_timeout_timer 
+44fa 2040480b call mouse_24g_long_sleep_param_update_timer 
+44fb 2040490b call mouse_device_poweron_timer 
+44fc 2040493c call mouse_dpi_led_blink_delay_timer 
+44fd 204040bc call mouse_dpi_key_check_long_press 
+44fe 2040450c call mouse_bt_discovery_check 
+44ff 2040451c call mouse_commbination_key_process 
+4500 2040453f call mouse_check_discovery_timeout_timer 
+4501 20404544 call mouse_check_direct_timeout_timer 
+4502 20404552 call mouse_le_enable_att_list_timer 
+4503 2040455f call mouse_le_battery_updata_timer 
+4504 20404555 call mouse_le_send_smp_security_request_timer 
+4505 2040456a call mouse_check_hid_handshake_timer 
+4506 2040456d call mouse_bt_check_sniff_req_timeout_timer 
+4507 20404572 call mouse_check_reconnect_delay_long_sleep 
+4508 20404575 call mouse_current_mult_update_timer 
+4509 20404062 call mouse_wheel_trigger_timer 
+450a 20404587 call mouse_store_information_delay_timer 
+450b 2020457c branch mouse_check_no_data_timeout_timer 
+
+mouse_bt_discovery_check:
+450c 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+450d c29bc50f bbit1 mouse_enable_pb_button_long_press_disconvery ,mouse_bt_discovery_by_pb_button 
+450e 20600000 rtn 
+
+mouse_bt_discovery_by_pb_button:
+450f 6fe0cbaf fetch 1 ,mem_select_device_button_statue 
+4510 c1808000 rtnne pb_button_state_down 
+4511 da604bac arg mem_bt_discovery_count ,regc 
+4512 da404514 arg mouse_long_button_bt_discovery ,regb 
+4513 202031fc branch timer_single_step 
+
+mouse_long_button_bt_discovery:
+4514 6fe0c93d fetch 1 ,mem_device_flag 
+4515 c1000000 rtneq mode_24g_device 
+4516 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+4517 c3830000 rtnbit1 mouse_bt_discovery_button_long_down_flag 
+4518 d8e00006 arg mouse_bt_discovery_button_long_down_flag ,queue 
+4519 2040472e call mouse_enable_function_flag 
+451a 204031e6 call app_evt_button_long_pressed 
+451b 2020458e branch mouse_bb_event_discovery_btn 
+
+mouse_commbination_key_process:
+451c 6fe0c93d fetch 1 ,mem_device_flag 
+451d c0004522 beq mode_24g_device ,mouse_24g_commbination_key_process 
+451e 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+451f c41a8000 rtnbit0 mouse_enable_commbination_key_by_bt_discovery 
+4520 6848cbdb fetcht 1 ,mem_mouse_commbination_key_bt 
+4521 20204525 branch mouse_commbination_key_start 
+
+mouse_24g_commbination_key_process:
+4522 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+4523 c4190000 rtnbit0 mouse_enable_commbination_key_by_24g_pairing 
+4524 6848cbdc fetcht 1 ,mem_mouse_commbination_key_24g 
+
+mouse_commbination_key_start:
+4525 6048cbae storet 1 ,mem_mouse_commbination_key 
+4526 20404155 call mouse_check_key_gpio 
+4527 1fe17e07 and pdata ,0x07 ,pdata 
+4528 6848cbae fetcht 1 ,mem_mouse_commbination_key 
+4529 98467c00 isub temp ,null 
+452a 2022c531 branch mouse_commbination_key_down ,zero 
+
+mouse_commbination_key_up:
+452b 6fe0c792 fetch 1 ,mem_ui_button_timeout 
+452c 67e0cbb1 store 1 ,mem_combination_ui_button_count 
+452d 6fe0cbb0 fetch 1 ,mem_commbination_key_statue 
+452e c1000000 rtneq commbination_key_state_up 
+452f 704bb000 jam commbination_key_state_up ,mem_commbination_key_statue 
+4530 20600000 rtn 
+
+mouse_commbination_key_down:
+4531 20404536 call mouse_combination_ui_timer 
+4532 6fe0cbb0 fetch 1 ,mem_commbination_key_statue 
+4533 c1008000 rtneq commbination_key_state_down 
+4534 704bb001 jam commbination_key_state_down ,mem_commbination_key_statue 
+4535 2020799c branch check_51cmd_bb_reconn_cancel 
+
+mouse_combination_ui_timer:
+4536 da404866 arg mouse_24g_start_pair_mode ,regb 
+4537 da604bb1 arg mem_combination_ui_button_count ,regc 
+4538 6fe0c93d fetch 1 ,mem_device_flag 
+4539 c00031fc beq mode_24g_device ,timer_single_step 
+453a da404514 arg mouse_long_button_bt_discovery ,regb 
+453b 204031fc call timer_single_step 
+453c 6fe0cbb1 fetch 1 ,mem_combination_ui_button_count 
+453d c000c720 beq 1 ,mouse_bt_discovery_button_down_enable 
+453e 20600000 rtn 
+
+mouse_check_discovery_timeout_timer:
+453f da604ad3 arg mem_mouse_discovery_timer ,regc 
+4540 da404542 arg mouse_check_discovery_timeout ,regb 
+4541 20203203 branch timer_single_step_2b 
+
+mouse_check_discovery_timeout:
+4542 204045b6 call mouse_stop_discovery 
+4543 20203e5a branch mouse_app_enter_hibernate 
+
+mouse_check_direct_timeout_timer:
+4544 da604b88 arg mem_mouse_direct_timer ,regc 
+4545 da40454a arg mouse_check_direct_timeout ,regb 
+4546 20403203 call timer_single_step_2b 
+4547 6fe0cb88 fetch 1 ,mem_mouse_direct_timer 
+4548 c000b275 beq 1 ,app_ble_stop_direct_adv 
+4549 20600000 rtn 
+
+mouse_check_direct_timeout:
+454a 6fe0cad2 fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
+454b c07fc338 beq 0xff ,mouse_buletooth_fast_conn_end 
+454c 6fe0cac1 fetch 1 ,mem_reconn_times 
+454d 243a474c nbranch mouse_polling_device ,blank 
+454e 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+454f c299c593 bbit1 mouse_enable_bt_reconnect_timeout_enter_discovery ,mouse_start_discovery 
+4550 c297c85e bbit1 mouse_enable_24g_first_auto_pairing ,mouse_24g_first_bb_event_reconn_timeout 
+4551 20203e5a branch mouse_app_enter_hibernate 
+
+mouse_le_enable_att_list_timer:
+4552 da604b87 arg mem_le_start_encrypt_timer ,regc 
+4553 da4043ce arg mouse_le_write_enable ,regb 
+4554 202031fc branch timer_single_step 
+
+mouse_le_send_smp_security_request_timer:
+4555 6fe0cad7 fetch 1 ,mem_mouse_le_bb_connected_flag 
+4556 207a0000 rtn blank 
+4557 da604ad9 arg mem_mouse_send_secutiry_request_timer ,regc 
+4558 da40455a arg mouse_le_pairing_sm_start_check ,regb 
+4559 202031fc branch timer_single_step 
+
+mouse_le_pairing_sm_start_check:
+455a 6fe0cad8 fetch 1 ,mem_mouse_le_reconnect_flag 
+455b 247a0000 nrtn blank 
+455c 6fe0c39b fetch 1 ,mem_le_pairing_state 
+455d c1800000 rtnne flag_le_pairing_null 
+455e 2020203d branch le_pairing_sm_start 
+
+mouse_le_battery_updata_timer:
+455f da604b03 arg mem_le_battery_level_updata_timer ,regc 
+4560 da404562 arg mouse_le_battery_level_updata ,regb 
+4561 202031fc branch timer_single_step 
+
+mouse_le_battery_level_updata:
+4562 6fe14b01 fetch 2 ,mem_le_battery_level_updata_timer_init 
+4563 67e14b03 store 2 ,mem_le_battery_level_updata_timer 
+4564 2020440b branch mouse_fill_battery_level_le 
+
+mouse_le_enable_att_list:
+4565 6fe0cb86 fetch 1 ,mem_le_connect_status_flag 
+4566 c3810000 rtnbit1 ll_pairing_success_flag 
+4567 204043ac call mouse_updata_le_param 
+4568 d8e00000 arg write_req_enable_flag ,queue 
+4569 202043b5 branch mouse_le_enable_connect_flag 
+
+mouse_check_hid_handshake_timer:
+456a da60478d arg mem_hid_handshake_timer_count ,regc 
+456b da404464 arg mouse_bt_hid_handshake ,regb 
+456c 202031fc branch timer_single_step 
+
+mouse_bt_check_sniff_req_timeout_timer:
+456d da604b98 arg mem_mouse_bt_send_first_package_timer ,regc 
+456e da404570 arg mouse_bt_send_first_package ,regb 
+456f 202031fc branch timer_single_step 
+
+mouse_bt_send_first_package:
+4570 704b9901 jam 1 ,mem_mouse_bt_send_first_package_flag 
+4571 20600000 rtn 
+
+mouse_check_reconnect_delay_long_sleep:
+4572 da604ad5 arg mem_mouse_bluetooth_reconnect_timeout ,regc 
+4573 da403e5a arg mouse_app_enter_hibernate ,regb 
+4574 202031fc branch timer_single_step 
+
+mouse_current_mult_update_timer:
+4575 da604ac0 arg mem_mouse_current_mult_timer ,regc 
+4576 da404578 arg mouse_current_mult_reinit ,regb 
+4577 202031fc branch timer_single_step 
+
+mouse_current_mult_reinit:
+4578 6fe0cb9b fetch 1 ,mem_lpm_mult_init 
+4579 67e0c177 store 1 ,mem_lpm_mult 
+457a 704abf01 jam 1 ,mem_mouse_long_mult_flag 
+457b 20600000 rtn 
+
+mouse_check_no_data_timeout_timer:
+457c 6fe0c92f fetch 1 ,mem_usb_addr 
+457d c3838000 rtnbit1 7 
+457e da604ac3 arg mem_mouse_no_data_timer ,regc 
+457f da404581 arg mouse_check_no_data_timeout ,regb 
+4580 20203203 branch timer_single_step_2b 
+
+mouse_check_no_data_timeout:
+4581 6fe0c93d fetch 1 ,mem_device_flag 
+4582 c0004820 beq mode_24g_device ,mouse_24g_hibernate_set 
+4583 2020435b branch mouse_disconnect 
+
+mouse_no_data_timer_init:
+4584 6fe14bcf fetch 2 ,mem_mouse_no_data_timeout 
+4585 67e14ac3 store 2 ,mem_mouse_no_data_timer 
+4586 20600000 rtn 
+
+mouse_store_information_delay_timer:
+4587 da6049c4 arg mem_store_information_delay_timer ,regc 
+4588 da40458a arg mouse_store_device_info_check ,regb 
+4589 202031fc branch timer_single_step 
+
+mouse_store_device_info_check:
+458a 20404631 call mouse_store_device_info 
+458b 6fe0cad6 fetch 1 ,mem_mouse_need_soft_reset 
+458c 243a46fe nbranch mouse_soft_reset ,blank 
+458d 20600000 rtn 
+
+mouse_bb_event_discovery_btn:
+458e 280ffe26 isolate1 mark_24g ,mark 
+458f 2040c831 call mouse_24g_stop ,true 
+4590 2040435b call mouse_disconnect 
+4591 204043dd call mouse_le_clean_connect_flag 
+4592 20204593 branch mouse_start_discovery 
+
+mouse_start_discovery:
+4593 44ecc01b bpatch patch1b_1 ,mem_patch1b 
+4594 20404354 call mouse_bluetooth_fast_conn_disable 
+4595 6fe1478f fetch 2 ,mem_ui_state_map 
+4596 c285c59f bbit1 ui_state_ble_adv ,mouse_start_discovery_norandom 
+4597 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+4598 c304459f bbit0 mouse_enable_ble_random_addre ,mouse_start_discovery_norandom 
+4599 6849499c fetcht 2 ,mem_random_addr_increase_count 
+459a 18408401 increase 1 ,temp 
+459b 6049499c storet 2 ,mem_random_addr_increase_count 
+459c 6049437b storet 2 ,mem_le_lap + 1 
+459d 180a7e00 random pdata 
+459e 67e0c37a store 1 ,mem_le_lap 
+
+mouse_start_discovery_norandom:
+459f 6fe1cada fetch 3 ,mem_mouse_le_lap_temp 
+45a0 67e1c37d store 3 ,mem_le_lap + 3 
+45a1 20403297 call app_lpm_mult_disable 
+45a2 6fe14794 fetch 2 ,mem_discovery_timeout 
+45a3 67e14ad3 store 2 ,mem_mouse_discovery_timer 
+45a4 7000bc06 jam 6 ,mem_connection_options 
+45a5 58000000 setarg 0 
+45a6 67e14ac3 store 2 ,mem_mouse_no_data_timer 
+45a7 67e0cb88 store 1 ,mem_mouse_direct_timer 
+45a8 67e0cad5 store 1 ,mem_mouse_bluetooth_reconnect_timeout 
+45a9 67e0cbb8 store 1 ,mem_mouse_device_poweron_timer_count 
+45aa 67e0cabd store 1 ,mem_mouse_clear_sensor_data_flag 
+45ab d8e00002 arg mouse_store_eeprom_flag ,queue 
+45ac 2040472e call mouse_enable_function_flag 
+45ad 20404722 call mouse_bt_discovery_button_down_disable 
+45ae 6fe0cbc4 fetch 1 ,mem_mouse_bluetooth_type 
+45af 2feffe01 isolate1 mode_4_mouse ,pdata 
+45b0 2040c41f call mouse_check_51cmd_adv ,true 
+45b1 6fe0cbc4 fetch 1 ,mem_mouse_bluetooth_type 
+45b2 2feffe00 isolate1 mode_3_mouse ,pdata 
+45b3 2040f92f call check_51cmd_start_discovery ,true 
+45b4 204049db call mouse_low_voltage_led_blink_disable 
+45b5 20204919 branch mouse_discover_setting_led_gpio 
+
+mouse_stop_discovery:
+45b6 44ed401b bpatch patch1b_2 ,mem_patch1b 
+45b7 d8e00006 arg mouse_bt_discovery_button_long_down_flag ,queue 
+45b8 20404732 call mouse_disable_function_flag 
+45b9 704ad500 jam 0 ,mem_mouse_bluetooth_reconnect_timeout 
+45ba 6fe0cbc4 fetch 1 ,mem_mouse_bluetooth_type 
+45bb 2feffe01 isolate1 mode_4_mouse ,pdata 
+45bc 2040c5c1 call mouse_stop_le_adv ,true 
+45bd 6fe0cbc4 fetch 1 ,mem_mouse_bluetooth_type 
+45be 2feffe00 isolate1 mode_3_mouse ,pdata 
+45bf 2040c5c3 call mouse_stop_bt3_discovery ,true 
+45c0 2020495f branch mouse_device_led_off 
+
+mouse_stop_le_adv:
+45c1 704b8800 jam 0 ,mem_mouse_direct_timer 
+45c2 2020795f branch check_51cmd_stop_adv 
+
+mouse_stop_bt3_discovery:
+45c3 58000000 setarg 0 
+45c4 67e14ad3 store 2 ,mem_mouse_discovery_timer 
+45c5 20207934 branch check_51cmd_stop_discovery 
+
+mouse_store_remote_bdaddr:
+45c6 44edc01b bpatch patch1b_3 ,mem_patch1b 
+45c7 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+45c8 c4010000 rtnbit0 mouse_store_eeprom_flag 
+45c9 20404913 call mouse_device_poweron_timer_init 
+45ca d8e00002 arg mouse_store_eeprom_flag ,queue 
+45cb 20404732 call mouse_disable_function_flag 
+45cc 204045cf call mouse_check_device_addr 
+
+mouse_unplug_clean_bdaddr:
+45cd 204045e2 call mouse_before_store_reconn_info 
+45ce 2020462e branch mouse_store_device_info_delay 
+
+mouse_check_device_addr:
+45cf 6fe080e7 fetch 1 ,mem_record_bt_mode 
+45d0 c01a45d3 beq rec_4_mode ,mouse_check_le_device_addr 
+45d1 c019c5d6 beq rec_3_mode ,mouse_check_bt_device_addr 
+45d2 20600000 rtn 
+
+mouse_check_le_device_addr:
+45d3 67e0cb89 store 1 ,mem_device_addr_temp 
+45d4 6fe30297 fetch 6 ,mem_le_plap 
+45d5 202045d8 branch mouse_check_bt_device_addr_common 
+
+mouse_check_bt_device_addr:
+45d6 67e0cb89 store 1 ,mem_device_addr_temp 
+45d7 6fe30040 fetch 6 ,mem_plap 
+
+mouse_check_bt_device_addr_common:
+45d8 67e34b8a store 6 ,mem_device_addr_temp + 1 
+45d9 6fe3cb89 fetch 7 ,mem_device_addr_temp 
+45da d8c0493e arg mem_device1_type ,contr 
+45db df200003 arg 3 ,loopcnt 
+
+mouse_check_device_addr_end:
+45dc e8438006 ifetcht 7 ,contr 
+45dd 98467c00 isub temp ,null 
+45de 2022c5f7 branch mouse_clean_addr ,zero 
+45df 18c08c16 increase 22 ,contr 
+45e0 c20045dc loop mouse_check_device_addr_end 
+45e1 20600000 rtn 
+
+mouse_before_store_reconn_info:
+45e2 da20493e arg mem_device1_type ,rega 
+45e3 6fe0c93d fetch 1 ,mem_device_flag 
+45e4 1fe0ffff increase -1 ,pdata 
+45e5 1feffe1d mul32 pdata ,29 ,pdata 
+45e6 9a20a200 iadd rega ,rega 
+45e7 6fe080e7 fetch 1 ,mem_record_bt_mode 
+45e8 e7e08011 istore 1 ,rega 
+45e9 c01a45ec beq rec_4_mode ,mouse_store_le_device 
+45ea c019c5f3 beq rec_3_mode ,mouse_store_bt_device 
+45eb 20600000 rtn 
+
+mouse_store_le_device:
+45ec 6fe30297 fetch 6 ,mem_le_plap 
+45ed e7e30005 istore 6 ,contw 
+45ee d8c04316 arg mem_le_ltk ,contr 
+45ef 20407d7f call memcpy16 
+45f0 6fe3437a fetch 6 ,mem_le_lap 
+45f1 e7e30005 istore 6 ,contw 
+45f2 20600000 rtn 
+
+mouse_store_bt_device:
+45f3 6fe30040 fetch 6 ,mem_plap 
+45f4 e7e30005 istore 6 ,contw 
+45f5 d8c041cb arg mem_link_key ,contr 
+45f6 20207d7f branch memcpy16 
+
+mouse_clean_addr:
+45f7 18c08dfa increase -6 ,contr 
+45f8 18c20a00 copy contr ,contw 
+45f9 684b4b8a fetcht 6 ,mem_device_addr_temp + 1 
+45fa 18408403 increase 3 ,temp 
+45fb e0430005 istoret 6 ,contw 
+45fc 20600000 rtn 
+
+mouse_select_reconn_device:
+45fd da20493e arg mem_device1_type ,rega 
+45fe 6fe0c93d fetch 1 ,mem_device_flag 
+45ff c1000000 rtneq mode_24g_device 
+4600 1fe0ffff increase -1 ,pdata 
+4601 1feffe1d mul32 pdata ,29 ,pdata 
+4602 9a20a200 iadd rega ,rega 
+4603 efe08011 ifetch 1 ,rega 
+4604 67e0c484 store 1 ,mem_xrecord_mode 
+4605 c019c608 beq rec_3_mode ,mouse_load_bt_device 
+4606 c01a460d beq rec_4_mode ,mouse_load_le_device 
+4607 20600000 rtn 
+
+mouse_load_bt_device:
+4608 efe30006 ifetch 6 ,contr 
+
+mouse_load_bt_device_end:
+4609 67e341dd store 6 ,mem_hci_plap 
+460a d8a041cb arg mem_link_key ,contw 
+460b 20407d7f call memcpy16 
+460c 202060d0 branch check_link_key_load 
+
+mouse_load_le_device:
+460d efe30006 ifetch 6 ,contr 
+
+mouse_load_le_device_end:
+460e 67e341dd store 6 ,mem_hci_plap 
+460f d8a04316 arg mem_le_ltk ,contw 
+4610 20407d7f call memcpy16 
+4611 efe30006 ifetch 6 ,contr 
+4612 67e3437a store 6 ,mem_le_lap 
+4613 20600000 rtn 
+
+mouse_app_initflag_check:
+4614 6fe14995 fetch 2 ,mem_store_flag 
+4615 d840aa55 arg eeprom_init_flag ,temp 
+4616 98467c00 isub temp ,null 
+4617 2022c622 branch mouse_load_device_info ,zero 
+4618 60494995 storet 2 ,mem_store_flag 
+4619 20404627 call mouse_ble_init_address 
+461a 6fe0cac5 fetch 1 ,mem_device_flag_temp 
+461b 67e0c93d store 1 ,mem_device_flag 
+461c 6fe0c92b fetch 1 ,mem_config_sensor_dpi 
+461d 67e0c997 store 1 ,mem_mouse_dpi 
+461e 6fe24891 fetch 4 ,mem_24g_fast_conn_addr 
+461f 67e24895 store 4 ,mem_24g_receiver_addr 
+4620 67e2483f store 4 ,mem_24g_addr 
+4621 20600000 rtn 
+
+mouse_load_device_info:
+4622 204045fd call mouse_select_reconn_device 
+4623 6fe24998 fetch 4 ,mem_mouse_24g_addr 
+4624 67e24895 store 4 ,mem_24g_receiver_addr 
+4625 67e2483f store 4 ,mem_24g_addr 
+4626 20600000 rtn 
+
+mouse_ble_init_address:
+4627 6fe3437a fetch 6 ,mem_le_lap 
+4628 67e34955 store 6 ,mem_device1_locall_addr 
+4629 1fe0ff00 add pdata ,0x0100 ,pdata 
+462a 67e34972 store 6 ,mem_device2_locall_addr 
+462b 1fe0ff00 add pdata ,0x0100 ,pdata 
+462c 67e3498f store 6 ,mem_device3_locall_addr 
+462d 20600000 rtn 
+
+mouse_store_device_info_delay:
+462e 6fe0c9c5 fetch 1 ,mem_store_information_delay_timer_init 
+462f 67e0c9c4 store 1 ,mem_store_information_delay_timer 
+4630 20600000 rtn 
+
+mouse_store_device_info:
+4631 44ee401b bpatch patch1b_4 ,mem_patch1b 
+4632 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+4633 c289c67f bbit1 mouse_enable_eeprom ,mouse_store_eeprom_device_info 
+4634 c2894643 bbit1 mouse_enable_flash ,mouse_store_flash_device_info 
+4635 20600000 rtn 
+
+mouse_load_flash_info_check:
+4636 20405daf call spid_init_flash 
+4637 2040464a call mouse_spid_flash_release_form_powerdown 
+4638 2040463d call mouse_information_flash_parameters 
+4639 20405dd2 call spid_read_flash 
+463a 20404651 call mouse_spid_flash_powerdown 
+463b 20404614 call mouse_app_initflag_check 
+463c 20203fa5 branch mouse_sensor_spi_init 
+
+mouse_information_flash_parameters:
+463d 580049bd setarg mem_mouse_information_end 
+463e d840493d arg mem_mouse_information_start ,temp 
+463f 98460400 isub temp ,temp 
+4640 6fe1c9bd fetch 3 ,mem_flash_base 
+4641 da20493d arg mem_mouse_information_start ,rega 
+4642 20600000 rtn 
+
+mouse_store_flash_device_info:
+4643 20405daf call spid_init_flash 
+4644 2040464a call mouse_spid_flash_release_form_powerdown 
+4645 2040465f call mouse_flash_erase_sector 
+4646 2040463d call mouse_information_flash_parameters 
+4647 20404662 call mouse_spid_write_flash 
+4648 20404651 call mouse_spid_flash_powerdown 
+4649 20203fa5 branch mouse_sensor_spi_init 
+
+mouse_spid_flash_release_form_powerdown:
+464a 700964ab jam flash_command_release_from_powerdown ,mem_temp 
+
+mouse_spid_write_flash_cmd:
+464b 2040623f call delay_nop100 
+464c 20405db4 call spid_unlock_flash 
+464d da2049c0 arg mem_write_flash_head_temp ,rega 
+464e 68488964 fetcht 1 ,mem_temp 
+464f 20404653 call mouse_spid_write_flash_cmd_common 
+4650 2020623f branch delay_nop100 
+
+mouse_spid_flash_powerdown:
+4651 700964b9 jam flash_command_powerdown ,mem_temp 
+4652 2020464b branch mouse_spid_write_flash_cmd 
+
+mouse_spid_write_flash_cmd_common:
+4653 e0408011 istoret 1 ,rega 
+4654 1ff10400 rshift16 pdata ,temp 
+4655 e0408005 istoret 1 ,contw 
+4656 1fec8400 rshift8 pdata ,temp 
+4657 e0408005 istoret 1 ,contw 
+4658 e7e08005 istore 1 ,contw 
+4659 1a227e00 deposit rega 
+465a 67f1008a store 2 ,core_spid_txaddr 
+465b 58000000 setarg 0 
+465c 67f1008e store 2 ,core_spid_rxlen 
+465d 70800602 jam spid_start ,core_misc_ctrl 
+465e 20205d6e branch wait_spid_done 
+
+mouse_flash_erase_sector:
+465f 6fe1c9bd fetch 3 ,mem_flash_base 
+4660 67e1c4a7 store 3 ,mem_spi_write_addr 
+4661 20205d8a branch spid_flash_erase_sector + 2 
+
+mouse_spid_write_flash:
+4662 1fe22600 copy pdata ,regc 
+4663 1a227e00 copy rega ,pdata 
+4664 1fe0fffc increase -4 ,pdata 
+4665 1fe22400 copy pdata ,regb 
+4666 efe20012 ifetch 4 ,regb 
+4667 67e249c0 store 4 ,mem_write_flash_head_temp 
+4668 1a627e00 copy regc ,pdata 
+4669 20405dc1 call spid_write_flash 
+466a 6fe249c0 fetch 4 ,mem_write_flash_head_temp 
+466b e7e20012 istore 4 ,regb 
+466c 20600000 rtn 
+
+mouse_flash_power_down:
+466d 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+466e c4090000 rtnbit0 mouse_enable_flash 
+466f 20404651 call mouse_spid_flash_powerdown 
+4670 20405b66 call twspi_enable 
+4671 6848c4b7 fetcht 1 ,mem_spi_cs_gpio 
+4672 20406109 call gpio_out_inactive 
+4673 6848c4bc fetcht 1 ,mem_spi_hold_gpio 
+4674 20203f94 branch mouse_gpio_config_input_pd 
+
+mouse_load_eeprom_info_check:
+4675 20405e42 call iicd_read_init_pin 
+4676 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+4677 2feffe09 isolate1 mouse_enable_2k_eeprom ,pdata 
+4678 2440de5c ncall clear_eeprom_size_2k ,true 
+4679 2040467b call mouse_eeprom_load_recon_info 
+467a 20204614 branch mouse_app_initflag_check 
+
+mouse_eeprom_load_recon_info:
+467b d8400080 arg 128 ,temp 
+467c da20493d arg mem_device_flag ,rega 
+467d da400000 arg mouse_info_eeprom_offect ,regb 
+467e 20205e79 branch iicd_read_eep_data 
+
+mouse_store_eeprom_device_info:
+467f d8400080 arg 128 ,temp 
+4680 da20493d arg mem_device_flag ,rega 
+4681 da400000 arg mouse_info_eeprom_offect ,regb 
+4682 20205e6b branch iicd_write_protect_eep_data 
+
+mouse_store_eerpom_dpi:
+4683 d8400001 arg 1 ,temp 
+4684 da204997 arg mem_mouse_dpi ,rega 
+4685 da40005a arg mouse_dpi_eeprom_offect ,regb 
+4686 20205e6b branch iicd_write_protect_eep_data 
+
+mouse_load_eeprom_dpi:
+4687 d8400001 arg 1 ,temp 
+4688 da204997 arg mem_mouse_dpi ,rega 
+4689 da40005a arg mouse_dpi_eeprom_offect ,regb 
+468a 20205e79 branch iicd_read_eep_data 
+
+mouse_idle:
+468b 44eec01b bpatch patch1b_5 ,mem_patch1b 
+468c 204049dd call mouse_low_voltage_led_no_enter_lpm 
+468d 204079a1 call ui_check_paring_button 
+468e 20404067 call mouse_dpi_check 
+468f 20404693 call mouse_select_device_check 
+4690 204046de call mouse_check_select_device_by_switch 
+4691 20404714 call mouse_bt_button_check 
+4692 20203fc8 branch mouse_wheel_check 
+
+mouse_select_device_check:
+4693 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+4694 c294c698 bbit1 mouse_enable_select_device_by_pb_button ,mouse_select_device_by_pb_button 
+4695 c29bc698 bbit1 mouse_enable_pb_button_long_press_disconvery ,mouse_select_device_by_pb_button 
+4696 20600000 rtn 
+
+mouse_select_device_by_pb_button_check_once:
+4697 704ba503 jam 0x03 ,mem_mouse_pbkey_press_status 
+
+mouse_select_device_by_pb_button:
+4698 6fe0c91f fetch 1 ,mem_config_select_device_button_gpio 
+4699 c17f8000 rtneq gpio_disable 
+469a da200000 arg 0 ,rega 
+469b 704ba706 jam mouse_pb_key ,mem_mouse_key_temp 
+469c 6848c91f fetcht 1 ,mem_config_select_device_button_gpio 
+469d 204046a8 call mouse_pb_button_check 
+469e 67e0cba5 store 1 ,mem_mouse_pbkey_press_status 
+469f 6fe0c914 fetch 1 ,mem_matrix_public_gpio 
+46a0 c07fc6a5 beq gpio_disable ,mouse_3io6key_pb_button_check_end 
+46a1 204041a8 call mouse_matrix_public_gpio_reset 
+
+mouse_select_device_by_pb_button_exit:
+46a2 1a227e00 copy rega ,pdata 
+46a3 c28346c9 bbit1 mouse_pb_key ,mouse_select_device_button_down 
+46a4 202046be branch mouse_select_device_button_up 
+
+mouse_3io6key_pb_button_check_end:
+46a5 6848c91f fetcht 1 ,mem_config_select_device_button_gpio 
+46a6 20403f96 call mouse_gpio_config_input_pu 
+46a7 202046a2 branch mouse_select_device_by_pb_button_exit 
+
+mouse_pb_button_check:
+46a8 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+46a9 c296c6b4 bbit1 mouse_enable_pb_button_connect_gnd ,mouse_pb_button_connect_gnd 
+46aa 6fe0cba5 fetch 1 ,mem_mouse_pbkey_press_status 
+46ab 1fe22600 copy pdata ,regc 
+46ac 6fe0c914 fetch 1 ,mem_matrix_public_gpio 
+46ad c07fc1d5 beq gpio_disable ,mouse_3io6key_check 
+46ae 6fe0cbab fetch 1 ,mem_mouse_ghost_flag 
+46af 243a46b1 nbranch mouse_select_device_by_pb_button_end ,blank 
+46b0 202046b6 branch mouse_pb_button_connect_matrix 
+
+mouse_select_device_by_pb_button_end:
+46b1 704baf00 jam pb_button_state_up ,mem_select_device_button_statue 
+46b2 704ba500 jam 0 ,mem_mouse_pbkey_press_status 
+46b3 20600000 rtn 
+
+mouse_pb_button_connect_gnd:
+46b4 6fe0cba5 fetch 1 ,mem_mouse_pbkey_press_status 
+46b5 202041c7 branch mouse_check_key_connect_gnd 
+
+mouse_pb_button_connect_matrix:
+46b6 204060fd call gpio_get_bit 
+46b7 6848c914 fetcht 1 ,mem_matrix_public_gpio 
+46b8 2020c6b4 branch mouse_pb_button_connect_gnd ,true 
+46b9 6848c914 fetcht 1 ,mem_matrix_public_gpio 
+46ba 2040610d call gpio_out_active 
+46bb 6848c91f fetcht 1 ,mem_config_select_device_button_gpio 
+46bc 6fe0cba5 fetch 1 ,mem_mouse_pbkey_press_status 
+46bd 202041c7 branch mouse_check_key_connect_gnd 
+
+mouse_select_device_button_up:
+46be 6fe0cbaf fetch 1 ,mem_select_device_button_statue 
+46bf c1000000 rtneq pb_button_state_up 
+46c0 704baf00 jam pb_button_state_up ,mem_select_device_button_statue 
+46c1 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+46c2 c39a0000 rtnbit1 mouse_enable_pb_button_short_press_enter_discovery 
+46c3 6fe0cbac fetch 1 ,mem_bt_discovery_count 
+46c4 1fe67c14 sub pdata ,20 ,null 
+46c5 244146f3 ncall mouse_ready_reconnection_by_button ,positive 
+46c6 6fe0c792 fetch 1 ,mem_ui_button_timeout 
+46c7 67e0cbac store 1 ,mem_bt_discovery_count 
+46c8 20600000 rtn 
+
+mouse_select_device_button_down:
+46c9 204046d5 call mouse_select_device_ghost_check 
+46ca 20740000 rtn user 
+46cb 6fe0cbaf fetch 1 ,mem_select_device_button_statue 
+46cc c1008000 rtneq pb_button_state_down 
+46cd 704baf01 jam pb_button_state_down ,mem_select_device_button_statue 
+46ce 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+46cf c29a4514 bbit1 mouse_enable_pb_button_short_press_enter_discovery ,mouse_long_button_bt_discovery 
+46d0 6fe0cb88 fetch 1 ,mem_mouse_direct_timer 
+46d1 207a0000 rtn blank 
+46d2 6fe0c906 fetch 1 ,mem_mouse_direct_timeout 
+46d3 67e0cb88 store 1 ,mem_mouse_direct_timer 
+46d4 20600000 rtn 
+
+mouse_select_device_ghost_check:
+46d5 78547c00 disable user 
+46d6 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+46d7 c3968000 rtnbit1 mouse_enable_pb_button_connect_gnd 
+46d8 6fe0cb9f fetch 1 ,mem_mouse_lkey_press_status 
+46d9 207a0000 rtn blank 
+46da 6fe0cba0 fetch 1 ,mem_mouse_rkey_press_status 
+46db 207a0000 rtn blank 
+46dc 78347c00 enable user 
+46dd 20600000 rtn 
+
+mouse_check_select_device_by_switch:
+46de 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+46df c29546e2 bbit1 mouse_enable_select_device_by_switch_gpio ,mouse_check_select_device_by_switch_gpio 
+46e0 c295bedc bbit1 mouse_enable_select_device_by_switch_adc ,mouse_adc_read 
+46e1 20600000 rtn 
+
+mouse_check_select_device_by_switch_gpio:
+46e2 6848c922 fetcht 1 ,mem_device_switch_gpio 
+46e3 20403f96 call mouse_gpio_config_input_pu 
+46e4 6848c922 fetcht 1 ,mem_device_switch_gpio 
+46e5 204060fd call gpio_get_bit 
+46e6 2020c6eb branch mouse_check_select_24gdevice ,true 
+
+mouse_select_btdevice:
+46e7 6fe0c93d fetch 1 ,mem_device_flag 
+46e8 c1008000 rtneq mode_bt_device1 
+46e9 70493d01 jam mode_bt_device1 ,mem_device_flag 
+46ea 20204356 branch mouse_stop_bluetooth_mode 
+
+mouse_check_select_24gdevice:
+46eb 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+46ec c315c6ef bbit0 mouse_enable_select_device_by_switch_adc ,mouse_check_select_24g_device 
+46ed 6fe348f3 fetch 6 ,mem_mouse_vdd_switch_gnd_full_vol 
+46ee 67e348e7 store 6 ,mem_mouse_vdd_calculate_set 
+
+mouse_check_select_24g_device:
+46ef 6fe0c93d fetch 1 ,mem_device_flag 
+46f0 c1000000 rtneq mode_24g_device 
+46f1 70493d00 jam mode_24g_device ,mem_device_flag 
+46f2 20204831 branch mouse_24g_stop 
+
+mouse_ready_reconnection_by_button:
+46f3 44ef401b bpatch patch1b_6 ,mem_patch1b 
+46f4 6fe0cbc5 fetch 1 ,mem_device_number 
+46f5 c1008000 rtneq 1 
+46f6 20404700 call mouse_select_device_number 
+46f7 6048c93d storet 1 ,mem_device_flag 
+
+mouse_store_device_number_before_reset:
+46f8 7041ca00 jam 0 ,mem_link_key_exists 
+46f9 20404718 call mouse_select_device_enable 
+46fa 20404356 call mouse_stop_bluetooth_mode 
+46fb 2040471a call mouse_select_device_disable 
+46fc 704ad601 jam 1 ,mem_mouse_need_soft_reset 
+46fd 2020462e branch mouse_store_device_info_delay 
+
+mouse_soft_reset:
+46fe 20404718 call mouse_select_device_enable 
+46ff 20205e29 branch soft_reset_chip 
+
+mouse_select_device_number:
+4700 6848c93d fetcht 1 ,mem_device_flag 
+4701 18408401 increase 1 ,temp 
+4702 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+4703 c288c707 bbit1 mouse_enable_24g ,mouse_select_device_number_24g 
+4704 18467c02 sub temp ,2 ,null 
+4705 2441470e ncall mouse_select_device_count_clean_bt ,positive 
+4706 20600000 rtn 
+
+mouse_select_device_number_24g:
+4707 6fe0cbc5 fetch 1 ,mem_device_number 
+4708 1fe0ffff increase -1 ,pdata 
+4709 98467c00 isub temp ,null 
+470a 2441470c ncall mouse_select_device_count_clean_24g ,positive 
+470b 20600000 rtn 
+
+mouse_select_device_count_clean_24g:
+470c d8400000 arg 0 ,temp 
+470d 20600000 rtn 
+
+mouse_select_device_count_clean_bt:
+470e d8400001 arg 1 ,temp 
+470f 20600000 rtn 
+
+mouse_store_device_number2eeprom:
+4710 d8400001 arg 1 ,temp 
+4711 da20493d arg mem_device_flag ,rega 
+4712 da400000 arg 0 ,regb 
+4713 20205e6b branch iicd_write_protect_eep_data 
+
+mouse_bt_button_check:
+4714 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+4715 c41a0000 rtnbit0 mouse_enable_pb_button_short_press_enter_discovery 
+4716 20404698 call mouse_select_device_by_pb_button 
+4717 20600000 rtn 
+
+mouse_select_device_enable:
+4718 d8e00000 arg mouse_select_device_flag ,queue 
+4719 2020472e branch mouse_enable_function_flag 
+
+mouse_select_device_disable:
+471a d8e00000 arg mouse_select_device_flag ,queue 
+471b 20204732 branch mouse_disable_function_flag 
+
+mouse_bt_cannel_reconn_enable:
+471c d8e00003 arg mouse_bt_cannel_reconn_flag ,queue 
+471d 2020472e branch mouse_enable_function_flag 
+
+mouse_bt_cannel_reconn_disable:
+471e d8e00003 arg mouse_bt_cannel_reconn_flag ,queue 
+471f 20204732 branch mouse_disable_function_flag 
+
+mouse_bt_discovery_button_down_enable:
+4720 d8e00005 arg mouse_bt_discovery_button_down_flag ,queue 
+4721 2020472e branch mouse_enable_function_flag 
+
+mouse_bt_discovery_button_down_disable:
+4722 d8e00005 arg mouse_bt_discovery_button_down_flag ,queue 
+4723 20204732 branch mouse_disable_function_flag 
+
+mouse_adc_read_enable:
+4724 d8e00014 arg mouse_enable_adc ,queue 
+4725 2020472e branch mouse_enable_function_flag 
+
+mouse_24g_set_250hz:
+4726 d8e00018 arg mouse_enable_24g_250hz ,queue 
+4727 2020472e branch mouse_enable_function_flag 
+
+mouse_24g_search_dongle_enable:
+4728 d8e00016 arg mouse_enable_24g_search_dongle ,queue 
+4729 2020472e branch mouse_enable_function_flag 
+
+mouse_16m_enable:
+472a d8e0000c arg mouse_enable_16m ,queue 
+472b 2020472e branch mouse_enable_function_flag 
+
+mouse_dpi_4level_enable:
+472c d8e0001c arg mouse_enable_dpi_level_4 ,queue 
+472d 2020472e branch mouse_enable_function_flag 
+
+mouse_enable_function_flag:
+472e 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+472f f9207e00 qset1 pdata 
+4730 67e44bbc store mouse_flag_len ,mem_mouse_flag 
+4731 20600000 rtn 
+
+mouse_disable_function_flag:
+4732 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+4733 f93ffe00 qset0 pdata 
+4734 67e44bbc store mouse_flag_len ,mem_mouse_flag 
+4735 20600000 rtn 
+
+mouse_customer_key_enable:
+4736 d8e00015 arg mouse_enable_keyboard ,queue 
+4737 2040472e call mouse_enable_function_flag 
+4738 58000000 setarg 0 
+4739 67e44bdd store 8 ,mem_customer_key_press 
+473a 67e44be6 store 8 ,mem_customer_key_release 
+473b 6fe0c90e fetch 1 ,mem_mouse_enable_flag 
+473c 1fe17ec0 and pdata ,0xc0 ,pdata 
+473d c0204743 beq 0x40 ,mouse_customer_key_ctrl_alt_a 
+473e c0404745 beq 0x80 ,mouse_customer_ac_home 
+473f c060474a beq 0xc0 ,mouse_customer_key_play 
+4740 58070008 setarg 0x070008 
+
+mouse_customer_standrad_key_set:
+4741 67e44bde store 8 ,mem_customer_key_press + 1 
+4742 20600000 rtn 
+
+mouse_customer_key_ctrl_alt_a:
+4743 58040005 setarg 0x040005 
+4744 20204741 branch mouse_customer_standrad_key_set 
+
+mouse_customer_ac_home:
+4745 58022303 setarg 0x022303 
+
+mouse_customer_media_key_set:
+4746 67e44bdd store 8 ,mem_customer_key_press 
+4747 58000003 setarg 0x03 
+4748 67e44be6 store 8 ,mem_customer_key_release 
+4749 20600000 rtn 
+
+mouse_customer_key_play:
+474a 5800cd03 setarg 0x00cd03 
+474b 20204746 branch mouse_customer_media_key_set 
+
+mouse_polling_device:
+474c 44efc01b bpatch patch1b_7 ,mem_patch1b 
+474d 6fe0cac1 fetch 1 ,mem_reconn_times 
+474e 1fe0ffff increase -1 ,pdata 
+474f 67e0cac1 store 1 ,mem_reconn_times 
+4750 6848c93d fetcht 1 ,mem_device_flag 
+4751 18467c01 sub temp ,1 ,null 
+4752 2442c700 ncall mouse_select_device_number ,zero 
+4753 6048c93d storet 1 ,mem_device_flag 
+4754 7041ca00 jam 0 ,mem_link_key_exists 
+4755 20404710 call mouse_store_device_number2eeprom 
+4756 204045e2 call mouse_before_store_reconn_info 
+4757 20203e1c branch mouse_start_reconnect_device 
+
+mouse_drawing_optima:
+4758 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+4759 c41c0000 rtnbit0 mouse_enable_smoother 
+475a 6fe248d5 fetch 4 ,mem_mouse_x 
+475b 207a0000 rtn blank 
+475c 204047fb call mouse_data_abs_check 
+475d 58000003 setarg 0x03 
+475e 204047f1 call mouse_pdata_greater_than_check 
+475f 205a47ed call mouse_disable_asm ,blank 
+4760 245a47ef ncall mouse_enable_asm ,blank 
+4761 58000002 setarg 0x02 
+4762 204047f6 call mouse_data_less_than_check 
+4763 205a47ed call mouse_disable_asm ,blank 
+4764 6fe0c9ce fetch 1 ,mem_mouse_asm_flag 
+4765 c000c76b beq 1 ,mouse_drawing_optima_modify 
+
+mouse_drawing_optima_init:
+4766 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+4767 c41c0000 rtnbit0 mouse_enable_smoother 
+4768 df200005 arg 5 ,loopcnt 
+4769 d8a049ce arg mem_mouse_asm_flag ,contw 
+476a 20207d9b branch clear_mem 
+
+mouse_drawing_optima_modify:
+476b 2040477f call mouse_drawing_optima_xy_offset_modify 
+476c 6fe149cf fetch 2 ,mem_mouse_x_pre 
+476d 67e109f8 store 2 ,mem_data_pre 
+476e 6fe148d5 fetch 2 ,mem_mouse_x 
+476f 67e109fa store 2 ,mem_data_current 
+4770 204047b7 call mouse_drawing_optima_data_x 
+4771 6fe109f8 fetch 2 ,mem_data_pre 
+4772 67e149cf store 2 ,mem_mouse_x_pre 
+4773 6fe109fa fetch 2 ,mem_data_current 
+4774 67e148d5 store 2 ,mem_mouse_x 
+4775 6fe149d1 fetch 2 ,mem_mouse_y_pre 
+4776 67e109f8 store 2 ,mem_data_pre 
+4777 6fe148d7 fetch 2 ,mem_mouse_y 
+4778 67e109fa store 2 ,mem_data_current 
+4779 204047bf call mouse_drawing_optima_data_y 
+477a 6fe109f8 fetch 2 ,mem_data_pre 
+477b 67e149d1 store 2 ,mem_mouse_y_pre 
+477c 6fe109fa fetch 2 ,mem_data_current 
+477d 67e148d7 store 2 ,mem_mouse_y 
+477e 20600000 rtn 
+
+mouse_drawing_optima_xy_offset_modify:
+477f 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+4780 c41c8000 rtnbit0 mouse_enable_xy_offset 
+4781 6fe149cf fetch 2 ,mem_mouse_x_pre 
+4782 67e109ff store 2 ,mem_data_value 
+4783 20404792 call mouse_pre_xy_data_judge 
+4784 67e149cf store 2 ,mem_mouse_x_pre 
+4785 6fe148d5 fetch 2 ,mem_mouse_x 
+4786 67e109ff store 2 ,mem_data_value 
+4787 204047a0 call mouse_current_xy_data_judge 
+4788 67e148d5 store 2 ,mem_mouse_x 
+4789 6fe149d1 fetch 2 ,mem_mouse_y_pre 
+478a 67e109ff store 2 ,mem_data_value 
+478b 20404792 call mouse_pre_xy_data_judge 
+478c 67e149d1 store 2 ,mem_mouse_y_pre 
+478d 6fe148d7 fetch 2 ,mem_mouse_y 
+478e 67e109ff store 2 ,mem_data_value 
+478f 204047a0 call mouse_current_xy_data_judge 
+4790 67e148d7 store 2 ,mem_mouse_y 
+4791 20600000 rtn 
+
+mouse_pre_xy_data_judge:
+4792 6fe08a00 fetch 1 ,mem_data_value + 1 
+4793 203a4795 branch mouse_pre_xy_pdata_offset ,blank 
+4794 2020479a branch mouse_pre_xy_ndata_offset 
+
+mouse_pre_xy_pdata_offset:
+4795 6fe089ff fetch 1 ,mem_data_value 
+4796 204047ad call mouse_pre_xy_get_0_4_times 
+4797 67e089ff store 1 ,mem_data_value 
+
+mouse_xy_data_offset_new:
+4798 6fe109ff fetch 2 ,mem_data_value 
+4799 20600000 rtn 
+
+mouse_pre_xy_ndata_offset:
+479a 6fe089ff fetch 1 ,mem_data_value 
+479b 204047e9 call mouse_pdata_invert 
+479c 204047ad call mouse_pre_xy_get_0_4_times 
+479d 205a7ecf call disable_blank ,blank 
+479e 204047e5 call mouse_pdata_get_new_value 
+479f 20204798 branch mouse_xy_data_offset_new 
+
+mouse_current_xy_data_judge:
+47a0 6fe08a00 fetch 1 ,mem_data_value + 1 
+47a1 203a47a3 branch mouse_current_xy_pdata_offset ,blank 
+47a2 202047a7 branch mouse_current_xy_ndata_offset 
+
+mouse_current_xy_pdata_offset:
+47a3 6fe089ff fetch 1 ,mem_data_value 
+47a4 204047b2 call mouse_current_xy_get_0_6_times 
+47a5 67e089ff store 1 ,mem_data_value 
+47a6 20204798 branch mouse_xy_data_offset_new 
+
+mouse_current_xy_ndata_offset:
+47a7 6fe089ff fetch 1 ,mem_data_value 
+47a8 204047e9 call mouse_pdata_invert 
+47a9 204047b2 call mouse_current_xy_get_0_6_times 
+47aa 205a7ecf call disable_blank ,blank 
+47ab 204047e5 call mouse_pdata_get_new_value 
+47ac 20204798 branch mouse_xy_data_offset_new 
+
+mouse_pre_xy_get_0_4_times:
+47ad 1feffe04 mul32 pdata ,4 ,pdata 
+47ae 1fe6fc05 div pdata ,5 
+47af 20407e64 call wait_div_end 
+47b0 1807fe00 quotient pdata 
+47b1 20600000 rtn 
+
+mouse_current_xy_get_0_6_times:
+47b2 1feffe0c mul32 pdata ,12 ,pdata 
+47b3 1fe6fc0a div pdata ,10 
+47b4 20407e64 call wait_div_end 
+47b5 1807fe00 quotient pdata 
+47b6 20600000 rtn 
+
+mouse_drawing_optima_data_x:
+47b7 6fe109f8 fetch 2 ,mem_data_pre 
+47b8 684909fa fetcht 2 ,mem_data_current 
+47b9 9840fe00 iadd temp ,pdata 
+47ba 6848c9d3 fetcht 1 ,mem_mouse_data_xtemp 
+47bb 9840fe00 iadd temp ,pdata 
+47bc 1fe10401 and pdata ,0x01 ,temp 
+47bd 6048c9d3 storet 1 ,mem_mouse_data_xtemp 
+47be 202047c7 branch mouse_drawing_optima_data 
+
+mouse_drawing_optima_data_y:
+47bf 6fe109f8 fetch 2 ,mem_data_pre 
+47c0 684909fa fetcht 2 ,mem_data_current 
+47c1 9840fe00 iadd temp ,pdata 
+47c2 6848c9d4 fetcht 1 ,mem_mouse_data_ytemp 
+47c3 9840fe00 iadd temp ,pdata 
+47c4 1fe10401 and pdata ,0x01 ,temp 
+47c5 6048c9d4 storet 1 ,mem_mouse_data_ytemp 
+47c6 202047c7 branch mouse_drawing_optima_data 
+
+mouse_drawing_optima_data:
+47c7 67e189fc store 3 ,mem_data_sum 
+47c8 2feffe10 isolate1 16 ,pdata 
+47c9 2020c7d1 branch mouse_data_sum_overflow ,true 
+47ca 6fe089fd fetch 1 ,mem_data_sum + 1 
+47cb c07fc7d8 beq 0xff ,mouse_data_sum_n 
+47cc 6fe089fc fetch 1 ,mem_data_sum 
+
+mouse_data_store_pre:
+47cd 1fe37e00 rshift pdata ,pdata 
+47ce 67e109f8 store 2 ,mem_data_pre 
+47cf 67e109fa store 2 ,mem_data_current 
+47d0 20600000 rtn 
+
+mouse_data_sum_overflow:
+47d1 6fe089fd fetch 1 ,mem_data_sum + 1 
+47d2 c00047d5 beq 0 ,mouse_data_sum_overflow_p 
+47d3 6fe189fc fetch 3 ,mem_data_sum 
+47d4 202047cd branch mouse_data_store_pre 
+
+mouse_data_sum_overflow_p:
+47d5 7009fe00 jam 0 ,mem_data_sum + 2 
+47d6 6fe089fc fetch 1 ,mem_data_sum 
+47d7 202047cd branch mouse_data_store_pre 
+
+mouse_data_sum_n:
+47d8 6fe089fc fetch 1 ,mem_data_sum 
+47d9 204047e3 call mouse_pdata_get_half 
+47da 67e089f8 store 1 ,mem_data_pre 
+47db 67e089fa store 1 ,mem_data_current 
+47dc 203a47e1 branch mouse_data_zero ,blank 
+47dd 580000ff setarg 0xff 
+
+mouse_data_set_direction:
+47de 67e089f9 store 1 ,mem_data_pre + 1 
+47df 67e089fb store 1 ,mem_data_current + 1 
+47e0 20600000 rtn 
+
+mouse_data_zero:
+47e1 58000000 setarg 0 
+47e2 202047de branch mouse_data_set_direction 
+
+mouse_pdata_get_half:
+47e3 204047e9 call mouse_pdata_invert 
+47e4 1fe37e00 rshift pdata ,pdata 
+
+mouse_pdata_get_new_value:
+47e5 204047ea call mouse_rega_in_out 
+47e6 1fe67e00 sub pdata ,0 ,pdata 
+47e7 67e089ff store 1 ,mem_data_value 
+47e8 20600000 rtn 
+
+mouse_pdata_invert:
+47e9 1fe67e00 sub pdata ,0 ,pdata 
+
+mouse_rega_in_out:
+47ea 67e08970 store 1 ,mem_rega 
+47eb 6fe08970 fetch 1 ,mem_rega 
+47ec 20600000 rtn 
+
+mouse_disable_asm:
+47ed 7049ce00 jam 0 ,mem_mouse_asm_flag 
+47ee 20600000 rtn 
+
+mouse_enable_asm:
+47ef 7049ce01 jam 1 ,mem_mouse_asm_flag 
+47f0 20600000 rtn 
+
+mouse_pdata_greater_than_check:
+47f1 9a267c00 isub rega ,null 
+47f2 24217ecf nbranch disable_blank ,positive 
+47f3 9a467c00 isub regb ,null 
+47f4 24217ecf nbranch disable_blank ,positive 
+47f5 20207ed1 branch enable_blank 
+
+mouse_data_less_than_check:
+47f6 9a267c00 isub rega ,null 
+47f7 24610000 nrtn positive 
+47f8 9a467c00 isub regb ,null 
+47f9 24610000 nrtn positive 
+47fa 20207ed1 branch enable_blank 
+
+mouse_data_abs_check:
+47fb 6fe148d5 fetch 2 ,mem_mouse_x 
+47fc 20404802 call mouse_data_abs 
+47fd 1fe22200 copy pdata ,rega 
+47fe 6fe148d7 fetch 2 ,mem_mouse_y 
+47ff 20404802 call mouse_data_abs 
+4800 1fe22400 copy pdata ,regb 
+4801 20600000 rtn 
+
+mouse_data_abs:
+4802 67e109fa store 2 ,mem_data_current 
+4803 6fe089fb fetch 1 ,mem_data_current + 1 
+4804 c07fc808 beq 0xff ,mouse_data_reversal 
+4805 6fe089fa fetch 1 ,mem_data_current 
+
+mouse_data_abs_store:
+4806 1fe17eff and_into 0xff ,pdata 
+4807 20600000 rtn 
+
+mouse_data_reversal:
+4808 6fe109fa fetch 2 ,mem_data_current 
+4809 1fe67e00 sub pdata ,0 ,pdata 
+480a 20204806 branch mouse_data_abs_store 
+
+mouse_24g_long_sleep_param_update_timer:
+480b da6048c8 arg mem_24g_long_sleep_param_update_timer ,regc 
+480c da40480e arg mouse_24g_long_sleep_normal_param ,regb 
+480d 202031fc branch timer_single_step 
+
+mouse_24g_long_sleep_normal_param:
+480e 6fe248bc fetch 4 ,mem_24g_long_sleep_set1 
+480f 67e2485f store 4 ,mem_24g_enter_hibernate 
+4810 704abf01 jam 1 ,mem_mouse_long_mult_flag 
+4811 20600000 rtn 
+
+mouse_24g_long_sleep_set:
+4812 6fe0cbf3 fetch 1 ,mem_24g_long_sleep_set_level 
+4813 c000481a beq 0x00 ,mouse_24g_long_sleep_set_30ms 
+4814 c000c81c beq 0x01 ,mouse_24g_long_sleep_set_50ms 
+4815 c0014817 beq 0x02 ,mouse_24g_long_sleep_set_80ms 
+4816 c001c81e beq 0x03 ,mouse_24g_long_sleep_set_100ms 
+
+mouse_24g_long_sleep_set_80ms:
+4817 580ea600 setarg 0x0ea600 
+
+mouse_24g_long_sleep_set_end:
+4818 67e248bc store 4 ,mem_24g_long_sleep_set1 
+4819 20600000 rtn 
+
+mouse_24g_long_sleep_set_30ms:
+481a 5805e740 setarg 0x05e740 
+481b 20204818 branch mouse_24g_long_sleep_set_end 
+
+mouse_24g_long_sleep_set_50ms:
+481c 580927c0 setarg 0x0927c0 
+481d 20204818 branch mouse_24g_long_sleep_set_end 
+
+mouse_24g_long_sleep_set_100ms:
+481e 58124f80 setarg 0x124f80 
+481f 20204818 branch mouse_24g_long_sleep_set_end 
+
+mouse_24g_hibernate_set:
+4820 7048a900 jam 0 ,mem_24g_attempt_fail_flag 
+4821 20402659 call g24_transmit_next_packet 
+4822 5fffffff setarg -1 
+4823 67e2485f store 4 ,mem_24g_enter_hibernate 
+4824 58000000 setarg 0 
+4825 67e3c8d4 store 7 ,mem_mouse_key 
+4826 704bf201 jam 1 ,mem_sensor_shutdown_flag 
+4827 2040427c call mouse_sensor_powerdown 
+4828 20403e6a call mouse_setgpio_hibernate 
+4829 202026bc branch g24_long_sleep 
+
+mouse_wakeup_24g:
+482a 6fe0cbf2 fetch 1 ,mem_sensor_shutdown_flag 
+482b 245a41ea ncall mouse_init_sensor_wakeup ,blank 
+482c 704bf200 jam 0 ,mem_sensor_shutdown_flag 
+482d 20202658 branch g24_transmit_no_ack 
+
+mouse_24g_transmit_start:
+482e 6fe0cbf2 fetch 1 ,mem_sensor_shutdown_flag 
+482f 243a2633 nbranch g24_short_sleep ,blank 
+4830 2020262f branch g24_transmit_start_next 
+
+mouse_24g_stop:
+4831 793f8026 set0 mark_24g ,mark 
+4832 7048a500 jam state_24g_stop ,mem_24g_conn_sm 
+4833 d8e00001 arg mouse_24g_pairing_flag ,queue 
+4834 20204732 branch mouse_disable_function_flag 
+
+mouse_24g_start_mode:
+4835 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+4836 c308c842 bbit0 mouse_enable_24g ,mouse_24g_mode_setup_error 
+4837 20403e28 call mouse_wakeup_from_power_check 
+4838 20344845 branch mouse_24g_reconn_dongle_start ,user 
+4839 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+483a c298484b bbit1 mouse_enable_auto_24g_paring ,mouse_24g_reconn_general_dongle 
+483b c318c84b bbit0 mouse_enable_24g_power_on_pairing ,mouse_24g_reconn_general_dongle 
+483c 20404150 call mouse_key_check_once 
+483d 1fe17e07 and pdata ,0x07 ,pdata 
+483e 6848cbdc fetcht 1 ,mem_mouse_commbination_key_24g 
+483f 98467c00 isub temp ,null 
+4840 2022c866 branch mouse_24g_start_pair_mode ,zero 
+4841 2020484b branch mouse_24g_reconn_general_dongle 
+
+mouse_24g_mode_setup_error:
+4842 6fe0cac1 fetch 1 ,mem_reconn_times 
+4843 243a474c nbranch mouse_polling_device ,blank 
+4844 20600000 rtn 
+
+mouse_24g_reconn_dongle_start:
+4845 6fe14889 fetch 2 ,mem_24g_reconn_timeout_init 
+4846 67e1488b store 2 ,mem_24g_reconn_timeout 
+4847 70488f03 jam receiver_and_3_0_addr ,mem_24g_reconn_type 
+4848 20202562 branch g24_reconn_start 
+
+mouse_24g_first_start_auto_pair_mode:
+4849 20403e28 call mouse_wakeup_from_power_check 
+484a 20344855 branch mouse_24g_first_start_reconn ,user 
+
+mouse_24g_reconn_general_dongle:
+484b 70493d00 jam mode_24g_device ,mem_device_flag 
+484c 6fe14bcb fetch 2 ,mem_mouse_24g_power_on_fast_conn_timer 
+484d 67e1488b store 2 ,mem_24g_reconn_timeout 
+484e 70488f02 jam fast_conn_and_3_0_addr ,mem_24g_reconn_type 
+484f 20202562 branch g24_reconn_start 
+
+mouse_24g_start_auto_pair:
+4850 20404919 call mouse_discover_setting_led_gpio 
+4851 6fe14885 fetch 2 ,mem_24g_pair_timeout_init 
+4852 67e1488b store 2 ,mem_24g_reconn_timeout 
+4853 70488f04 jam pair_and_3_0_addr ,mem_24g_reconn_type 
+4854 20202562 branch g24_reconn_start 
+
+mouse_24g_first_start_reconn:
+4855 6fe0c93d fetch 1 ,mem_device_flag 
+4856 c0004845 beq mode_24g_device ,mouse_24g_reconn_dongle_start 
+4857 20404354 call mouse_bluetooth_fast_conn_disable 
+4858 20204859 branch mouse_24g_first_bluetooth_reconnect 
+
+mouse_24g_first_bluetooth_reconnect:
+4859 20404831 call mouse_24g_stop 
+485a 2040495b call mouse_device_led_all_off 
+485b 70493d01 jam mode_bt_device1 ,mem_device_flag 
+485c 204045fd call mouse_select_reconn_device 
+485d 20203e1c branch mouse_start_reconnect_device 
+
+mouse_24g_first_bb_event_reconn_timeout:
+485e 20403e28 call mouse_wakeup_from_power_check 
+485f 20343e5a branch mouse_app_enter_hibernate ,user 
+4860 20204593 branch mouse_start_discovery 
+
+mouse_24g_first_store_reconn_info:
+4861 20403e28 call mouse_wakeup_from_power_check 
+4862 20740000 rtn user 
+4863 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+4864 c297c62e bbit1 mouse_enable_24g_first_auto_pairing ,mouse_store_device_info_delay 
+4865 20600000 rtn 
+
+mouse_24g_start_pair_mode:
+4866 d8e00001 arg mouse_24g_pairing_flag ,queue 
+4867 2040472e call mouse_enable_function_flag 
+4868 58000000 setarg 0 
+4869 67e1488b store 2 ,mem_24g_reconn_timeout 
+486a 204045b6 call mouse_stop_discovery 
+486b 204049db call mouse_low_voltage_led_blink_disable 
+486c 20404919 call mouse_discover_setting_led_gpio 
+486d 70483901 jam type_ms ,mem_24g_data_type 
+486e 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+486f c30aa2e4 bbit0 mouse_enable_keyboard ,g24_pair_start 
+4870 70483902 jam type_kb ,mem_24g_data_type 
+4871 202022e4 branch g24_pair_start 
+
+mouse_24g_attempt_fail:
+4872 6fe0c8a9 fetch 1 ,mem_24g_attempt_fail_flag 
+4873 243a4820 nbranch mouse_24g_hibernate_set ,blank 
+4874 6fe0c88f fetch 1 ,mem_24g_reconn_type 
+4875 c001487f beq fast_conn_and_3_0_addr ,mouse_24g_fast_conn_attempt_fail 
+4876 c0024883 beq pair_and_3_0_addr ,mouse_24g_auto_pair_attempt_fail 
+4877 c001c888 beq receiver_and_3_0_addr ,mouse_reconn_dongle_attempt_fail 
+
+mouse_24g_attempt_fail_enter_hibernate:
+4878 2040495f call mouse_device_led_off 
+4879 20404831 call mouse_24g_stop 
+487a 6fe0cac1 fetch 1 ,mem_reconn_times 
+487b 243a474c nbranch mouse_polling_device ,blank 
+487c 6fe0c93d fetch 1 ,mem_device_flag 
+487d c0003e5a beq mode_24g_device ,mouse_app_enter_hibernate 
+487e 20600000 rtn 
+
+mouse_24g_fast_conn_attempt_fail:
+487f 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+4880 c297c850 bbit1 mouse_enable_24g_first_auto_pairing ,mouse_24g_start_auto_pair 
+4881 c2984850 bbit1 mouse_enable_auto_24g_paring ,mouse_24g_start_auto_pair 
+4882 20204845 branch mouse_24g_reconn_dongle_start 
+
+mouse_24g_auto_pair_attempt_fail:
+4883 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+4884 c317c878 bbit0 mouse_enable_24g_first_auto_pairing ,mouse_24g_attempt_fail_enter_hibernate 
+4885 6fe0cbc5 fetch 1 ,mem_device_number 
+4886 c000c878 beq 1 ,mouse_24g_attempt_fail_enter_hibernate 
+4887 20204859 branch mouse_24g_first_bluetooth_reconnect 
+
+mouse_reconn_dongle_attempt_fail:
+4888 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+4889 c317c878 bbit0 mouse_enable_24g_first_auto_pairing ,mouse_24g_attempt_fail_enter_hibernate 
+488a c289c878 bbit1 mouse_enable_eeprom ,mouse_24g_attempt_fail_enter_hibernate 
+488b c2894878 bbit1 mouse_enable_flash ,mouse_24g_attempt_fail_enter_hibernate 
+488c 20204851 branch mouse_24g_start_auto_pair + 1 
+
+mouse_24g_attempt_success:
+488d 2040430a call mouse_init_sensor_reset 
+488e 704abf00 jam 0 ,mem_mouse_long_mult_flag 
+488f 7048a500 jam 0 ,mem_24g_conn_sm 
+4890 70488f00 jam 0 ,mem_24g_reconn_type 
+4891 6fe24895 fetch 4 ,mem_24g_receiver_addr 
+4892 6fe24891 fetch 4 ,mem_24g_fast_conn_addr 
+4893 98467c00 isub temp ,null 
+4894 20628000 rtn zero 
+4895 20204861 branch mouse_24g_first_store_reconn_info 
+
+mouse_24g_pairing_complete:
+4896 d8e00001 arg mouse_24g_pairing_flag ,queue 
+4897 20404732 call mouse_disable_function_flag 
+4898 20404913 call mouse_device_poweron_timer_init 
+4899 58000000 setarg 0 
+489a 67e14887 store 2 ,mem_24g_pair_timeout 
+489b 67e1488b store 2 ,mem_24g_reconn_timeout 
+489c 67e0c8a5 store 1 ,mem_24g_conn_sm 
+489d 67e0c9cd store 1 ,mem_mouse_move_flag 
+489e 67e0c88f store 1 ,mem_24g_reconn_type 
+489f 2040430a call mouse_init_sensor_reset 
+48a0 2040431b call mouse_read_sensor_common 
+48a1 6fe2483f fetch 4 ,mem_24g_addr 
+48a2 67e24895 store 4 ,mem_24g_receiver_addr 
+48a3 67e24998 store 4 ,mem_mouse_24g_addr 
+48a4 2020462e branch mouse_store_device_info_delay 
+
+mouse_24g_package_data:
+48a5 c6930000 rtnmark0 mark_24g 
+48a6 20403fb0 call mouse_motion 
+48a7 24740000 nrtn user 
+48a8 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+48a9 c30ac8ac bbit0 mouse_enable_keyboard ,mouse_24g_mouse_package_data 
+48aa 6fe0cb9c fetch 1 ,mem_customer_key 
+48ab 243a48c1 nbranch mouse_24g_keyboard_package_data ,blank 
+
+mouse_24g_mouse_package_data:
+48ac 2040430b call mouse_data_xy_release 
+48ad 6fe0c839 fetch 1 ,mem_24g_data_type 
+48ae c280c8bb bbit1 1 ,mouse_24g_mouse_package_data_now 
+48af 6848c7ca fetcht 1 ,mem_24g_txbuf + 1 
+48b0 6fe0c8d4 fetch 1 ,mem_mouse_key 
+48b1 9841fe00 ior temp ,pdata 
+48b2 67e0c8d4 store 1 ,mem_mouse_key 
+48b3 6848c7cf fetcht 1 ,mem_24g_txbuf + 6 
+48b4 6fe0c8d9 fetch 1 ,mem_mouse_z 
+48b5 9840fe00 iadd temp ,pdata 
+48b6 67e0c8d9 store 1 ,mem_mouse_z 
+48b7 6848c7d0 fetcht 1 ,mem_24g_txbuf + 7 
+48b8 6fe0c8da fetch 1 ,mem_mouse_tz 
+48b9 9840fe00 iadd temp ,pdata 
+48ba 67e0c8da store 1 ,mem_mouse_tz 
+
+mouse_24g_mouse_package_data_now:
+48bb 70483901 jam type_ms ,mem_24g_data_type 
+48bc da200007 arg 7 ,rega 
+48bd da4048d4 arg mem_mouse_key ,regb 
+48be 6fe148d9 fetch 2 ,mem_mouse_z 
+48bf 207a0000 rtn blank 
+48c0 202026e8 branch g24_transmit_by_interrupt_enable 
+
+mouse_24g_keyboard_package_data:
+48c1 70483902 jam type_kb ,mem_24g_data_type 
+48c2 da200009 arg 9 ,rega 
+48c3 6fe0cb9d fetch 1 ,mem_customer_data_trigger 
+48c4 243a48c7 nbranch mouse_customer_key_press ,blank 
+48c5 da404be6 arg mem_customer_key_release ,regb 
+48c6 20600000 rtn 
+
+mouse_customer_key_press:
+48c7 da404bdd arg mem_customer_key_press ,regb 
+48c8 20600000 rtn 
+
+mouse_24g_search_dongle_init:
+48c9 58000000 setarg 0 
+48ca 67e1cbb5 store 3 ,mem_mouse_search_dongle_action 
+48cb 20600000 rtn 
+
+mouse_24g_search_dongle:
+48cc 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+48cd c40b0000 rtnbit0 mouse_enable_24g_search_dongle 
+48ce 6fe0cabf fetch 1 ,mem_mouse_long_mult_flag 
+48cf 207a0000 rtn blank 
+48d0 6fe0c8ab fetch 1 ,mem_24g_abort_pac 
+48d1 207a0000 rtn blank 
+48d2 6fe0cbb2 fetch 1 ,mem_mouse_search_dongle_interval 
+48d3 1fe0fe01 increase 1 ,pdata 
+48d4 1fe17e03 and_into 3 ,pdata 
+48d5 67e0cbb2 store 1 ,mem_mouse_search_dongle_interval 
+48d6 247a0000 nrtn blank 
+48d7 704bb300 jam 0 ,mem_mouse_search_dongle_ch 
+
+mouse_24g_search_dongle_loop:
+48d8 6fe0cbb3 fetch 1 ,mem_mouse_search_dongle_ch 
+48d9 1fe0fe01 increase 1 ,pdata 
+48da 67e0cbb3 store 1 ,mem_mouse_search_dongle_ch 
+48db 1fe67c08 sub pdata ,g24_ch_number ,null 
+48dc 242148e3 nbranch mouse_24g_search_dongle_loop_end ,positive 
+48dd 204025a3 call g24_reconn_data_prep 
+48de 20402662 call g24_transmit_receive_ack 
+48df 242c48e9 nbranch mouse_24g_search_dongle_loop_retry ,sync 
+48e0 2437c8e9 nbranch mouse_24g_search_dongle_loop_retry ,user3 
+48e1 204048fb call mouse_g24_ackpayload_parse 
+48e2 204048f2 call mouse_24g_search_dongle_success 
+
+mouse_24g_search_dongle_loop_end:
+48e3 204025a0 call g24_txbuf_clear 
+48e4 6fe0cbb4 fetch 1 ,mem_mouse_search_dongle_count 
+48e5 1fe0fe01 increase 1 ,pdata 
+48e6 67e0cbb4 store 1 ,mem_mouse_search_dongle_count 
+48e7 c00848eb beq g24_ch_poll_count ,mouse_24g_search_dongle_check 
+48e8 20600000 rtn 
+
+mouse_24g_search_dongle_loop_retry:
+48e9 20402281 call g24_ch 
+48ea 202048d8 branch mouse_24g_search_dongle_loop 
+
+mouse_24g_search_dongle_check:
+48eb 704bb400 jam 0 ,mem_mouse_search_dongle_count 
+48ec 6fe0cbb5 fetch 1 ,mem_mouse_search_dongle_action 
+48ed c3800000 rtnbit1 g24_disconn_state 
+48ee 79207e00 set1 g24_disconn_state ,pdata 
+48ef 67e0cbb5 store 1 ,mem_mouse_search_dongle_action 
+48f0 6fe14bcd fetch 2 ,mem_mouse_24g_search_dongle_time_init 
+48f1 20204820 branch mouse_24g_hibernate_set 
+
+mouse_24g_search_dongle_success:
+48f2 6fe0c8ab fetch 1 ,mem_24g_abort_pac 
+48f3 203a48c9 branch mouse_24g_search_dongle_init ,blank 
+48f4 704bb400 jam 0 ,mem_mouse_search_dongle_count 
+48f5 6fe0cbb5 fetch 1 ,mem_mouse_search_dongle_action 
+48f6 c4000000 rtnbit0 g24_disconn_state 
+48f7 793ffe00 set0 g24_disconn_state ,pdata 
+48f8 67e0cbb5 store 1 ,mem_mouse_search_dongle_action 
+48f9 20404584 call mouse_no_data_timer_init 
+48fa 202041ea branch mouse_init_sensor_wakeup 
+
+mouse_g24_ackpayload_parse:
+48fb 20402679 call g24_ackpayload_parse 
+48fc 6fe0c7a8 fetch 1 ,mem_24g_rxbuf + 1 
+48fd 2fe1f008 compare 0x08 ,pdata ,0xf8 
+48fe 24608000 nrtn true 
+48ff 6fe0c7a9 fetch 1 ,mem_24g_rxbuf + 2 
+4900 c07fc820 beq 0xff ,mouse_24g_hibernate_set 
+4901 20600000 rtn 
+
+mouse_24g_before_lpm_sleep:
+4902 6fe0c93d fetch 1 ,mem_device_flag 
+4903 c0801468 bne mode_24g_device ,lpm_sleep_skip_cb_function 
+4904 6fe0c87a fetch 1 ,mem_24g_disable_fec1 
+4905 207a0000 rtn blank 
+
+mouse_peripheral_clock_off:
+4906 70804202 jam 2 ,core_clksel 
+4907 6ff08138 fetch 1 ,core_lpm_ctrl 
+4908 1fe17efc and pdata ,0xfc ,pdata 
+4909 67f0804c store 1 ,core_lpm_reg 
+490a 2020154c branch lpm_write_ctrl 
+
+mouse_device_poweron_timer:
+490b 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+490c c4100000 rtnbit0 mouse_enable_power_on_led 
+490d 6fe0cbb8 fetch 1 ,mem_mouse_device_poweron_timer_count 
+490e 207a0000 rtn blank 
+490f 1fe0ffff increase -1 ,pdata 
+4910 67e0cbb8 store 1 ,mem_mouse_device_poweron_timer_count 
+4911 203a495f branch mouse_device_led_off ,blank 
+4912 2020496d branch mouse_device_led_on 
+
+mouse_device_poweron_timer_init:
+4913 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+4914 c4100000 rtnbit0 mouse_enable_power_on_led 
+4915 204049db call mouse_low_voltage_led_blink_disable 
+4916 6fe0cbd1 fetch 1 ,mem_mouse_device_poweron_timer_count_init 
+4917 67e0cbb8 store 1 ,mem_mouse_device_poweron_timer_count 
+4918 20600000 rtn 
+
+mouse_discover_setting_led_gpio:
+4919 704bb800 jam 0 ,mem_mouse_device_poweron_timer_count 
+491a 6fe14bd5 fetch 2 ,mem_mouse_disconvey_led_blink_time 
+491b 67e14935 store 2 ,mem_mouse_on_time 
+491c 67e14937 store 2 ,mem_mouse_off_time 
+
+mouse_setting_led_gpio_comman:
+491d 6fe0c93d fetch 1 ,mem_device_flag 
+491e c0004922 beq mode_24g_device ,mouse_device_led_24g 
+491f c000c924 beq mode_bt_device1 ,mouse_device_led_bt1 
+4920 c0014926 beq mode_bt_device2 ,mouse_device_led_bt2 
+4921 20600000 rtn 
+
+mouse_device_led_24g:
+4922 6fe0c919 fetch 1 ,mem_config_device_24g_led_gpio 
+4923 20204927 branch mouse_led_blink 
+
+mouse_device_led_bt1:
+4924 6fe0c926 fetch 1 ,mem_config_device_bt1_led_gpio 
+4925 20204927 branch mouse_led_blink 
+
+mouse_device_led_bt2:
+4926 6fe0c927 fetch 1 ,mem_config_device_bt2_led_gpio 
+
+mouse_led_blink:
+4927 67e08964 store 1 ,mem_temp 
+4928 2040495f call mouse_device_led_off 
+4929 6fe08964 fetch 1 ,mem_temp 
+492a 67e0c934 store 1 ,mem_mouse_struct_led_gpio 
+492b da200000 arg 0 ,rega 
+492c 70493201 jam ui_led_state_blink_start ,mem_mouse_led_type 
+492d 20207871 branch ui_led_blink_start_global 
+
+mouse_dpi_led_blink_delay:
+492e 6fe0c928 fetch 1 ,mem_dpi_led_gpio 
+492f c17f8000 rtneq gpio_disable 
+4930 6fe14ad3 fetch 2 ,mem_mouse_discovery_timer 
+4931 247a0000 nrtn blank 
+4932 6fe14887 fetch 2 ,mem_24g_pair_timeout 
+4933 247a0000 nrtn blank 
+4934 6fe1488b fetch 2 ,mem_24g_reconn_timeout 
+4935 247a0000 nrtn blank 
+4936 6fe0cbb8 fetch 1 ,mem_mouse_device_poweron_timer_count 
+4937 247a0000 nrtn blank 
+4938 6fe0cbd2 fetch 1 ,mem_mouse_dpi_led_delay_count_init 
+4939 203a493f branch mouse_dpi_led_blink_init ,blank 
+493a 67e0cbb9 store 1 ,mem_mouse_dpi_led_delay_count 
+493b 20600000 rtn 
+
+mouse_dpi_led_blink_delay_timer:
+493c da604bb9 arg mem_mouse_dpi_led_delay_count ,regc 
+493d da40493f arg mouse_dpi_led_blink_init ,regb 
+493e 202031fc branch timer_single_step 
+
+mouse_dpi_led_blink_init:
+493f 6fe0c928 fetch 1 ,mem_dpi_led_gpio 
+4940 67e0c934 store 1 ,mem_mouse_struct_led_gpio 
+4941 6fe14bd3 fetch 2 ,mem_mouse_dpi_led_blink_time 
+4942 67e14935 store 2 ,mem_mouse_on_time 
+4943 67e14937 store 2 ,mem_mouse_off_time 
+4944 da200000 arg 0 ,rega 
+4945 6848c997 fetcht 1 ,mem_mouse_dpi 
+4946 18408401 increase 1 ,temp 
+4947 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+4948 c30e494c bbit0 mouse_enable_dpi_level_4 ,mouse_dpi_led_blink_init_end 
+4949 18408401 increase 1 ,temp 
+494a 18467c04 sub temp ,4 ,null 
+494b 2441494f ncall mouse_dpi_led_blink_count_clean ,positive 
+
+mouse_dpi_led_blink_init_end:
+494c 6048c933 storet 1 ,mem_mouse_blink_count 
+494d 70493201 jam ui_led_state_blink_start ,mem_mouse_led_type 
+494e 20600000 rtn 
+
+mouse_dpi_led_blink_count_clean:
+494f d8400001 arg 1 ,temp 
+4950 20600000 rtn 
+
+mouse_check_dpi_blink:
+4951 78547c00 disable user 
+4952 6fe0c928 fetch 1 ,mem_dpi_led_gpio 
+4953 6848c934 fetcht 1 ,mem_mouse_struct_led_gpio 
+4954 98467c00 isub temp ,null 
+4955 24628000 nrtn zero 
+4956 6fe0c933 fetch 1 ,mem_mouse_blink_count 
+4957 207a0000 rtn blank 
+4958 7048fd00 jam 0 ,mem_adc_low_volatage_led_blink_enable 
+4959 78347c00 enable user 
+495a 20600000 rtn 
+
+mouse_device_led_all_off:
+495b 2040496b call mouse_dpi_led_off 
+495c 20404964 call mouse_device_24g_led_off 
+495d 20404967 call mouse_device_bt1_led_off 
+495e 20204969 branch mouse_device_bt2_led_off 
+
+mouse_device_led_off:
+495f 6fe0c93d fetch 1 ,mem_device_flag 
+4960 c0004964 beq mode_24g_device ,mouse_device_24g_led_off 
+4961 c000c967 beq mode_bt_device1 ,mouse_device_bt1_led_off 
+4962 c0014969 beq mode_bt_device2 ,mouse_device_bt2_led_off 
+4963 20600000 rtn 
+
+mouse_device_24g_led_off:
+4964 704bbb00 jam 0 ,mem_24g_device_led_status 
+4965 6848c919 fetcht 1 ,mem_config_device_24g_led_gpio 
+4966 20204978 branch mouse_led_off 
+
+mouse_device_bt1_led_off:
+4967 6848c926 fetcht 1 ,mem_config_device_bt1_led_gpio 
+4968 20204978 branch mouse_led_off 
+
+mouse_device_bt2_led_off:
+4969 6848c927 fetcht 1 ,mem_config_device_bt2_led_gpio 
+496a 20204978 branch mouse_led_off 
+
+mouse_dpi_led_off:
+496b 6848c928 fetcht 1 ,mem_dpi_led_gpio 
+496c 20204978 branch mouse_led_off 
+
+mouse_device_led_on:
+496d 6fe0c93d fetch 1 ,mem_device_flag 
+496e c0004972 beq mode_24g_device ,mouse_device_24g_led_on 
+496f c000c974 beq mode_bt_device1 ,mouse_device_bt1_led_on 
+4970 c0014976 beq mode_bt_device2 ,mouse_device_bt2_led_on 
+4971 20600000 rtn 
+
+mouse_device_24g_led_on:
+4972 6848c919 fetcht 1 ,mem_config_device_24g_led_gpio 
+4973 2020497c branch mouse_led_on 
+
+mouse_device_bt1_led_on:
+4974 6848c926 fetcht 1 ,mem_config_device_bt1_led_gpio 
+4975 2020497c branch mouse_led_on 
+
+mouse_device_bt2_led_on:
+4976 6848c927 fetcht 1 ,mem_config_device_bt2_led_gpio 
+4977 2020497c branch mouse_led_on 
+
+mouse_led_off:
+4978 44f0401c bpatch patch1c_0 ,mem_patch1c 
+4979 6048c934 storet 1 ,mem_mouse_struct_led_gpio 
+497a da200000 arg 0 ,rega 
+497b 2020786c branch ui_led_off_global 
+
+mouse_led_on:
+497c 44f0c01c bpatch patch1c_1 ,mem_patch1c 
+497d 6048c934 storet 1 ,mem_mouse_struct_led_gpio 
+497e da200000 arg 0 ,rega 
+497f 20207867 branch ui_led_on_global 
+
+mouse_ui_led_off_static:
+4980 6fe0c919 fetch 1 ,mem_config_device_24g_led_gpio 
+4981 98467c00 isub temp ,null 
+4982 2042c99f call mouse_clear_24g_led_statue ,zero 
+4983 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+4984 c3126109 bbit0 mouse_enable_4_led ,gpio_out_inactive 
+4985 20404990 call mouse_check_bt2_led_off 
+4986 20404994 call mouse_check_dpi_led_off 
+4987 20404998 call mouse_check_low_v_led_off 
+4988 6fe0cbba fetch 1 ,mem_mouse_led_off_4_led 
+4989 203a6109 branch gpio_out_inactive ,blank 
+498a 704bba00 jam 0 ,mem_mouse_led_off_4_led 
+498b 20206121 branch gpio_set_high_impedance 
+
+mouse_ui_led_on_static:
+498c 6fe0c919 fetch 1 ,mem_config_device_24g_led_gpio 
+498d 98467c00 isub temp ,null 
+498e 2042c9a1 call mouse_set_24g_led_statue ,zero 
+498f 2020610d branch gpio_out_active 
+
+mouse_check_bt2_led_off:
+4990 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+4991 c4130000 rtnbit0 mouse_enable_bt2_for_4_led 
+4992 6fe0c927 fetch 1 ,mem_config_device_bt2_led_gpio 
+4993 2020499b branch mouse_check_1gpio_2led_off 
+
+mouse_check_dpi_led_off:
+4994 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+4995 c4128000 rtnbit0 mouse_enable_dpi_for_4_led 
+4996 6fe0c928 fetch 1 ,mem_dpi_led_gpio 
+4997 2020499b branch mouse_check_1gpio_2led_off 
+
+mouse_check_low_v_led_off:
+4998 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+4999 c4138000 rtnbit0 mouse_enable_low_v_for_4_led 
+499a 6fe0c925 fetch 1 ,mem_config_low_voltage_alarm_gpio 
+
+mouse_check_1gpio_2led_off:
+499b 98467c00 isub temp ,null 
+499c 24628000 nrtn zero 
+499d 704bba01 jam 1 ,mem_mouse_led_off_4_led 
+499e 20600000 rtn 
+
+mouse_clear_24g_led_statue:
+499f 704bbb00 jam 0 ,mem_24g_device_led_status 
+49a0 20600000 rtn 
+
+mouse_set_24g_led_statue:
+49a1 704bbb01 jam 1 ,mem_24g_device_led_status 
+49a2 20600000 rtn 
+
+mouse_low_voltage_led_timer:
+49a3 6fe14ad3 fetch 2 ,mem_mouse_discovery_timer 
+49a4 247a0000 nrtn blank 
+49a5 6fe14887 fetch 2 ,mem_24g_pair_timeout 
+49a6 247a0000 nrtn blank 
+49a7 6fe1488b fetch 2 ,mem_24g_reconn_timeout 
+49a8 247a0000 nrtn blank 
+49a9 6fe0cbb8 fetch 1 ,mem_mouse_device_poweron_timer_count 
+49aa 247a0000 nrtn blank 
+49ab 20404951 call mouse_check_dpi_blink 
+49ac 20740000 rtn user 
+49ad 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+49ae c4108000 rtnbit0 mouse_enable_low_voltage_led 
+49af c4020000 rtnbit0 mouse_low_voltage_flag 
+49b0 c291c9c9 bbit1 mouse_enable_low_voltage_led_blink_n_second ,mouse_low_voltage_led_blink_new_data 
+49b1 6fe0c8fc fetch 1 ,mem_adc_low_volatage_led_timer_count 
+49b2 1fe0fe01 increase 1 ,pdata 
+49b3 67e0c8fc store 1 ,mem_adc_low_volatage_led_timer_count 
+49b4 1fe67c14 sub pdata ,20 ,null 
+49b5 244149bb ncall mouse_adc_low_volatage_led_timer_count_clean ,positive 
+49b6 c00149bd beq 2 ,mouse_low_voltage_led_on 
+49b7 c00249c3 beq 4 ,mouse_low_voltage_led_off 
+49b8 c00349bd beq 6 ,mouse_low_voltage_led_on 
+49b9 c00449c3 beq 8 ,mouse_low_voltage_led_off 
+49ba 20600000 rtn 
+
+mouse_adc_low_volatage_led_timer_count_clean:
+49bb 7048fc01 jam 1 ,mem_adc_low_volatage_led_timer_count 
+49bc 202049c3 branch mouse_low_voltage_led_off 
+
+mouse_low_voltage_led_on:
+49bd 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+49be c291496d bbit1 mouse_enable_low_voltage_use_mode_led ,mouse_device_led_on 
+49bf 6fe0c925 fetch 1 ,mem_config_low_voltage_alarm_gpio 
+49c0 c17f8000 rtneq gpio_disable 
+49c1 6848c925 fetcht 1 ,mem_config_low_voltage_alarm_gpio 
+49c2 2020497c branch mouse_led_on 
+
+mouse_low_voltage_led_off:
+49c3 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+49c4 c291495f bbit1 mouse_enable_low_voltage_use_mode_led ,mouse_device_led_off 
+49c5 6fe0c925 fetch 1 ,mem_config_low_voltage_alarm_gpio 
+49c6 c17f8000 rtneq gpio_disable 
+49c7 6848c925 fetcht 1 ,mem_config_low_voltage_alarm_gpio 
+49c8 20204978 branch mouse_led_off 
+
+mouse_low_voltage_led_blink_new_data:
+49c9 6fe14bcf fetch 2 ,mem_mouse_no_data_timeout 
+49ca 68494ac3 fetcht 2 ,mem_mouse_no_data_timer 
+49cb 98460400 isub temp ,temp 
+49cc 6fe14bd9 fetch 2 ,mem_adc_low_volatage_led_blink_timer 
+49cd 98467c00 isub temp ,null 
+49ce 242149db nbranch mouse_low_voltage_led_blink_disable ,positive 
+49cf 6fe0c8fd fetch 1 ,mem_adc_low_volatage_led_blink_enable 
+49d0 247a0000 nrtn blank 
+49d1 7048fd01 jam 1 ,mem_adc_low_volatage_led_blink_enable 
+49d2 202049d3 branch mouse_low_voltage_led_blink_init 
+
+mouse_low_voltage_led_blink_init:
+49d3 6fe14bd7 fetch 2 ,mem_mouse_low_v_led_blink_time 
+49d4 67e14935 store 2 ,mem_mouse_on_time 
+49d5 67e14937 store 2 ,mem_mouse_off_time 
+49d6 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+49d7 c291491d bbit1 mouse_enable_low_voltage_use_mode_led ,mouse_setting_led_gpio_comman 
+49d8 6fe0c925 fetch 1 ,mem_config_low_voltage_alarm_gpio 
+49d9 c17f8000 rtneq gpio_disable 
+49da 20204927 branch mouse_led_blink 
+
+mouse_low_voltage_led_blink_disable:
+49db 7048fd00 jam 0 ,mem_adc_low_volatage_led_blink_enable 
+49dc 202049c3 branch mouse_low_voltage_led_off 
+
+mouse_low_voltage_led_no_enter_lpm:
+49dd 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+49de c4108000 rtnbit0 mouse_enable_low_voltage_led 
+49df c4020000 rtnbit0 mouse_low_voltage_flag 
+49e0 c291c9ef bbit1 mouse_enable_low_voltage_led_blink_n_second ,mouse_low_voltage_led_no_enter_lpm_blink 
+49e1 6fe0c8fc fetch 1 ,mem_adc_low_volatage_led_timer_count 
+49e2 1fe67c0a sub pdata ,10 ,null 
+49e3 202149eb branch mouse_lpm_mode_clear ,positive 
+
+mouse_low_voltage_led_no_enter_lpm_next:
+49e4 6fe0c93d fetch 1 ,mem_device_flag 
+49e5 c00049e8 beq mode_24g_device ,g24_transmit_by_interrupt_exit_check 
+49e6 70409901 jam 1 ,mem_lpm_mode 
+49e7 20600000 rtn 
+
+g24_transmit_by_interrupt_exit_check:
+49e8 6fe44bbc fetch mouse_flag_len ,mem_mouse_flag 
+49e9 c38c0000 rtnbit1 mouse_enable_24g_250hz 
+49ea 202026d7 branch g24_transmit_by_interrupt_exit 
+
+mouse_lpm_mode_clear:
+49eb 6fe0c93d fetch 1 ,mem_device_flag 
+49ec c00026e8 beq mode_24g_device ,g24_transmit_by_interrupt_enable 
+49ed 70409900 jam 0 ,mem_lpm_mode 
+49ee 20600000 rtn 
+
+mouse_low_voltage_led_no_enter_lpm_blink:
+49ef 6fe0c8fd fetch 1 ,mem_adc_low_volatage_led_blink_enable 
+49f0 243a49eb nbranch mouse_lpm_mode_clear ,blank 
+49f1 202049e4 branch mouse_low_voltage_led_no_enter_lpm_next 
+
+mouse_store_signal_rssi:
+49f2 20401293 call rssi_hex2dec 
+49f3 6fe08018 fetch 1 ,mem_rssi 
+49f4 202025e9 branch rssi_signal 
+
+mouse_le_transmit:
+49f5 204049f2 call mouse_store_signal_rssi 
+49f6 202026f5 branch power_ctrl_start 
+
+mouse_bt_slave_match:
+49f7 204049f2 call mouse_store_signal_rssi 
+49f8 6fe08030 fetch 1 ,mem_state 
+49f9 2feffe00 isolate1 state_inconn ,pdata 
+49fa 24608000 nrtn true 
+49fb 6fe08047 fetch 1 ,mem_arq 
+49fc 2feffe03 isolate1 wack ,pdata 
+49fd 2040a72b call power_ctrl_pac_succ_decrs ,true 
+49fe 2440a727 ncall power_ctrl_pac_succ_incrs ,true 
+49ff 202026f5 branch power_ctrl_start 
+
+mouse_le_set_lpm_mult:
+4a00 6fe0cb86 fetch 1 ,mem_le_connect_status_flag 
+4a01 2fe00603 compare 3 ,pdata ,3 
+4a02 2420fecf nbranch disable_blank ,true 
+4a03 20403295 call app_lpm_mult_enable 
+4a04 20207ed1 branch enable_blank 
+
+mouse_bt_set_lpm_mult:
+4a05 20405355 call l2cap_malloc_is_fifo_empty 
+4a06 247a0000 nrtn blank 
+4a07 70008801 jam 1 ,mem_current_sniff_attempt 
+4a08 70008900 jam 0 ,mem_current_sniff_timeout 
+4a09 20207ed1 branch enable_blank 
+
+mouse_set_lpm_mult:
+4a0a 6fe1478f fetch 2 ,mem_ui_state_map 
+4a0b c284ca00 bbit1 ui_state_ble_connected ,mouse_le_set_lpm_mult 
+4a0c 20204a05 branch mouse_bt_set_lpm_mult 
+
+remote_car_init:
+4a0d 20758000 rtn wake 
+4a0e 204061da call keyscan_key_init 
+4a0f 58004ac1 setarg remote_car_g24_package_data 
+4a10 67e1489f store 2 ,mem_cb_24g_transmit_data 
+4a11 58004a50 setarg remote_car_process_lpm_before 
+4a12 67e148a3 store 2 ,mem_cb_24g_lpm_before 
+4a13 58004a4b setarg remote_car_le_before_hibernate 
+4a14 67e1445d store 2 ,mem_cb_before_hibernate 
+4a15 58004a8b setarg remote_car_scale_process_idle 
+4a16 67e14465 store 2 ,mem_cb_idle_process 
+4a17 58004a8d setarg remote_car_scale_process_bb_event 
+4a18 67e14467 store 2 ,mem_cb_bb_event_process 
+4a19 58004aa6 setarg remote_car_event_timer 
+4a1a 67e1446f store 2 ,mem_cb_event_timer 
+4a1b 58004a40 setarg remote_car_power_off_signal 
+4a1c 67e14995 store 2 ,mem_remote_car_power_off_cb 
+4a1d 58004a30 setarg remote_car_soft_switch_power_on_signal 
+4a1e 67e14999 store 2 ,mem_remote_car_power_standby_cb 
+4a1f 44f1401c bpatch patch1c_2 ,mem_patch1c 
+4a20 20405e59 call set_eeprom_size_2k 
+4a21 20404a47 call remote_car_init_environment 
+4a22 204079a5 call queue_init 
+4a23 6fe0c965 fetch 1 ,mem_remote_car_config_soft_switch_enable 
+4a24 67e0c8d4 store 1 ,mem_remote_car_hard_soft_switch 
+4a25 c0004a2f beq hard_switch ,remote_car_hard_switch_power_on_signal 
+4a26 6fe0c966 fetch 1 ,mem_remote_car_config_soft_switch_gpio 
+4a27 67e0c793 store 1 ,mem_ui_button_gpio 
+
+remote_car_soft_switch_power_on_init:
+4a28 20404a40 call remote_car_ui_led_init 
+4a29 20407826 call ui_button_init 
+4a2a 20407830 call ui_button_polling 
+4a2b 70499101 jam power_starting ,mem_remote_car_power_state 
+4a2c 6fe1478f fetch 2 ,mem_ui_state_map 
+4a2d c3860000 rtnbit1 ui_state_btn_down 
+4a2e 20203289 branch app_enter_hibernate 
+
+remote_car_hard_switch_power_on_signal:
+4a2f 70499102 jam power_standby ,mem_remote_car_power_state 
+
+remote_car_soft_switch_power_on_signal:
+4a30 20404a40 call remote_car_ui_led_init 
+4a31 da200000 arg 0 ,rega 
+4a32 20407871 call ui_led_blink_start_global 
+4a33 20404a3c call remote_car_set_24g_addr_eeprom 
+4a34 20405e79 call iicd_read_eep_data 
+4a35 204026ec call g24_factory_check 
+4a36 203422e4 branch g24_pair_start ,user 
+4a37 6fe2483f fetch 4 ,mem_24g_addr 
+4a38 67e24895 store 4 ,mem_24g_receiver_addr 
+4a39 6fe14889 fetch 2 ,mem_24g_reconn_timeout_init 
+4a3a 67e1488b store 2 ,mem_24g_reconn_timeout 
+4a3b 20202562 branch g24_reconn_start 
+
+remote_car_set_24g_addr_eeprom:
+4a3c d8400004 arg 4 ,temp 
+4a3d da20483f arg mem_24g_addr ,rega 
+4a3e da400000 arg remote_info_eeprom_offect ,regb 
+4a3f 20600000 rtn 
+
+remote_car_power_off_signal:
+
+remote_car_ui_led_init:
+4a40 44f1c01c bpatch patch1c_3 ,mem_patch1c 
+4a41 6fe0c963 fetch 1 ,mem_remote_car_config_connect_led_gpio 
+4a42 c0ffca45 bne invalid_pin_num ,remote_car_pairing_led_gpio_set 
+
+remote_car_ui_led_init_1:
+4a43 6848c940 fetcht 1 ,mem_remote_car_led_map 
+4a44 2020610d branch gpio_config_output 
+
+remote_car_pairing_led_gpio_set:
+4a45 67e0c940 store 1 ,mem_remote_car_led_map 
+4a46 20204a43 branch remote_car_ui_led_init_1 
+
+remote_car_init_environment:
+4a47 2040260e call g24_transmit_init 
+
+remote_no_data_timer_init:
+4a48 6fe1498d fetch 2 ,mem_remote_car_no_data_timeout 
+4a49 67e1498f store 2 ,mem_remote_car_no_data_timer 
+4a4a 20600000 rtn 
+
+remote_car_le_before_hibernate:
+4a4b 20404a50 call remote_car_process_lpm_before 
+
+remote_gpio_set_before_hibernate:
+4a4c 6fe0c936 fetch 1 ,mem_remote_style_struct_led_gpio 
+4a4d 79207e07 set1 7 ,pdata 
+4a4e d840003f arg gpcfg_output_high ,temp 
+4a4f 2020612b branch gpio_config_function 
+
+remote_car_process_lpm_before:
+4a50 20406136 call gpio_set_before_lpm 
+4a51 202061ff branch keyscan_process_lpm_before 
+
+remote_car_key_scan_process:
+4a52 2040620b call keyscan_key_process 
+4a53 20404a63 call get_remote_key_state 
+4a54 20404a56 call remote_conn_led_state 
+4a55 20204a71 branch send_data 
+
+remote_conn_led_state:
+4a56 6fe0c99c fetch 1 ,mem_remote_car_24g_status 
+4a57 c1808000 rtnne work_paired 
+4a58 6fe249a0 fetch 4 ,mem_remote_car_motor1_key0_press_state 
+4a59 203a4a5d branch remote_car_stop_state ,blank 
+4a5a 7049a600 jam 0 ,mem_remote_car_no_data_check 
+4a5b 78347c00 enable user 
+4a5c 20207976 branch check_51cmd_led_on 
+
+remote_car_stop_state:
+4a5d 6fe0c9a6 fetch 1 ,mem_remote_car_no_data_check 
+4a5e c17f8000 rtneq 0xff 
+4a5f 1fe0fe01 pincrease 1 
+4a60 67e0c9a6 store 1 ,mem_remote_car_no_data_check 
+4a61 78547c00 disable user 
+4a62 20207974 branch check_51cmd_led_off 
+
+get_remote_key_state:
+4a63 684944ca fetcht 2 ,mem_key_value_retention 
+4a64 18417e01 and temp ,0x01 ,pdata 
+4a65 18430400 rshift temp ,temp 
+4a66 67e0c9a0 store 1 ,mem_remote_car_motor1_key0_press_state 
+4a67 18417e01 and temp ,0x01 ,pdata 
+4a68 18430400 rshift temp ,temp 
+4a69 67e0c9a1 store 1 ,mem_remote_car_motor1_key1_press_state 
+4a6a 18417e01 and temp ,0x01 ,pdata 
+4a6b 18430400 rshift temp ,temp 
+4a6c 67e0c9a2 store 1 ,mem_remote_car_motor2_key2_press_state 
+4a6d 18417e01 and temp ,0x01 ,pdata 
+4a6e 18430400 rshift temp ,temp 
+4a6f 67e0c9a3 store 1 ,mem_remote_car_motor2_key3_press_state 
+4a70 20600000 rtn 
+
+send_data:
+4a71 44f2401c bpatch patch1c_4 ,mem_patch1c 
+4a72 20404a81 call remote_car_fb_check 
+4a73 20404a86 call remote_car_lr_check 
+4a74 20404a77 call remote_car_no_data_timeout_check 
+4a75 24740000 nrtn user 
+4a76 20204abd branch remote_car_send_key 
+
+remote_car_no_data_timeout_check:
+4a77 6fe0c99c fetch 1 ,mem_remote_car_24g_status 
+4a78 c1808000 rtnne work_paired 
+4a79 6fe0c9a6 fetch 1 ,mem_remote_car_no_data_check 
+4a7a 207a0000 rtn blank 
+4a7b 1fe67c01 sub pdata ,1 ,null 
+4a7c 24610000 nrtn positive 
+4a7d 6fe14889 fetch 2 ,mem_24g_reconn_timeout_init 
+4a7e 67e1488b store 2 ,mem_24g_reconn_timeout 
+4a7f 78347c00 enable user 
+4a80 20600000 rtn 
+
+remote_car_fb_check:
+4a81 6fe0c9a0 fetch 1 ,mem_remote_car_motor1_key0_press_state 
+4a82 243a4ab1 nbranch remote_car_send_motor1_key0_press ,blank 
+4a83 6fe0c9a1 fetch 1 ,mem_remote_car_motor1_key1_press_state 
+4a84 243a4ab3 nbranch remote_car_send_motor1_key1_press ,blank 
+4a85 20204ab9 branch remote_car_send_motor1_key0_rel 
+
+remote_car_lr_check:
+4a86 6fe0c9a2 fetch 1 ,mem_remote_car_motor2_key2_press_state 
+4a87 243a4ab5 nbranch remote_car_send_motor2_key2_press ,blank 
+4a88 6fe0c9a3 fetch 1 ,mem_remote_car_motor2_key3_press_state 
+4a89 243a4ab7 nbranch remote_car_send_motor2_key3_press ,blank 
+4a8a 20204abb branch remote_car_send_motor2_key2_rel 
+
+remote_car_scale_process_idle:
+4a8b 20404a9b call remote_car_24g_status_process 
+4a8c 20204a52 branch remote_car_key_scan_process 
+
+remote_car_scale_process_bb_event:
+4a8d 1a627e00 copy regc ,pdata 
+4a8e c016b2b1 beq bt_evt_button_up ,app_event_button_up 
+4a8f c0083299 beq bt_evt_button_long_pressed ,app_button_long_pressed 
+4a90 c01cca95 beq bt_evt_24g_pairing_complete ,remote_car_24g_pairing_complete 
+4a91 c01e4a97 beq bt_evt_24g_attempt_success ,remote_car_24g_attempt_success 
+4a92 c01d4a94 beq bt_evt_24g_attempt_fail ,remote_car_24g_attempt_fail 
+4a93 20600000 rtn 
+
+remote_car_24g_attempt_fail:
+4a94 202025a0 branch g24_txbuf_clear 
+
+remote_car_24g_pairing_complete:
+4a95 20404a3c call remote_car_set_24g_addr_eeprom 
+4a96 20405e6b call iicd_write_protect_eep_data 
+
+remote_car_24g_attempt_success:
+4a97 7048a500 jam 0 ,mem_24g_conn_sm 
+4a98 70499d01 jam work_paired ,mem_remote_car_24g_auto_work_step 
+4a99 70499e01 jam work_paired ,mem_remote_car_24g_pair_success_flag 
+4a9a 20600000 rtn 
+
+remote_car_24g_status_process:
+4a9b 6fe0c99d fetch 1 ,mem_remote_car_24g_auto_work_step 
+4a9c c1000000 rtneq power_on 
+4a9d 6fe0c99c fetch 1 ,mem_remote_car_24g_status 
+4a9e c1008000 rtneq work_paired 
+4a9f 70499c01 jam work_paired ,mem_remote_car_24g_status 
+
+remote_car_scale_process_paired:
+4aa0 da200000 arg 0 ,rega 
+4aa1 2020786c branch ui_led_off_global 
+
+remote_car_scale_process_shutdown:
+4aa2 da200000 arg 0 ,rega 
+4aa3 2040786c call ui_led_off_global 
+4aa4 20404a40 call remote_car_ui_led_init 
+4aa5 20203289 branch app_enter_hibernate 
+
+remote_car_event_timer:
+4aa6 2040320a call app_power_timer 
+4aa7 204022e1 call g24_pair_timeout_timer 
+4aa8 2040255f call g24_reconn_timeout_timer 
+4aa9 20204aaa branch remote_car_no_data_timer 
+
+remote_car_no_data_timer:
+4aaa 6fe0c967 fetch 1 ,mem_remote_car_config_timeout_shutdown_enable 
+4aab 207a0000 rtn blank 
+4aac 6fe0c4ca fetch 1 ,mem_key_value_retention 
+4aad 243a4a48 nbranch remote_no_data_timer_init ,blank 
+4aae da60498f arg mem_remote_car_no_data_timer ,regc 
+4aaf da404aa2 arg remote_car_scale_process_shutdown ,regb 
+4ab0 20203203 branch timer_single_step_2b 
+
+remote_car_send_motor1_key0_press:
+4ab1 70496e01 jam motor_positive ,mem_remote_car_24g_motor1_payload 
+4ab2 20600000 rtn 
+
+remote_car_send_motor1_key1_press:
+4ab3 70496e02 jam motor_negative ,mem_remote_car_24g_motor1_payload 
+4ab4 20600000 rtn 
+
+remote_car_send_motor2_key2_press:
+4ab5 70497001 jam motor_positive ,mem_remote_car_24g_motor2_payload 
+4ab6 20600000 rtn 
+
+remote_car_send_motor2_key3_press:
+4ab7 70497002 jam motor_negative ,mem_remote_car_24g_motor2_payload 
+4ab8 20600000 rtn 
+
+remote_car_send_motor1_key0_rel:
+
+remote_car_send_motor1_key1_rel:
+4ab9 70496e00 jam motor_stop ,mem_remote_car_24g_motor1_payload 
+4aba 20600000 rtn 
+
+remote_car_send_motor2_key2_rel:
+
+remote_car_send_motor2_key3_rel:
+4abb 70497000 jam motor_stop ,mem_remote_car_24g_motor2_payload 
+4abc 20600000 rtn 
+
+remote_car_send_key:
+4abd da204968 arg mem_remote_car_24g_motor_packet ,rega 
+4abe 202079aa branch queue_push 
+
+remote_car_send_attack:
+4abf da204975 arg mem_remote_car_24g_fire_packet ,rega 
+4ac0 202079aa branch queue_push 
+
+remote_car_g24_package_data:
+4ac1 6fe0c99e fetch 1 ,mem_remote_car_24g_pair_success_flag 
+4ac2 c000cacb beq work_paired ,remote_car_g24_send_empty 
+4ac3 da20497e arg mem_remote_car_24g_tx_temp ,rega 
+4ac4 204079c1 call queue_pop 
+4ac5 24344ad0 nbranch remote_car_moto_data ,user 
+
+remote_car_g24_package_data_continue:
+4ac6 d8c0497e arg mem_remote_car_24g_tx_temp ,contr 
+4ac7 efe08006 ifetch 1 ,contr 
+4ac8 1fe22200 copy pdata ,rega 
+4ac9 da40497f arg mem_remote_car_24g_tx_temp + 1 ,regb 
+4aca 20600000 rtn 
+
+remote_car_g24_send_empty:
+4acb 70499e00 jam 0 ,mem_remote_car_24g_pair_success_flag 
+4acc 78347c00 enable user 
+4acd da200001 arg 1 ,rega 
+4ace da40499f arg mem_remote_car_empty_packet ,regb 
+4acf 20600000 rtn 
+
+remote_car_moto_data:
+4ad0 6fe0c981 fetch 1 ,mem_remote_car_24g_tx_temp + 3 
+4ad1 c0024ad4 beq car_cmd_l_r_motor_control ,remote_car_moto_data_next 
+4ad2 c002cad4 beq car_cmd_f_b_motor_control ,remote_car_moto_data_next 
+4ad3 20600000 rtn 
+
+remote_car_moto_data_next:
+4ad4 6fe0c984 fetch 1 ,mem_remote_car_24g_tx_temp + 6 
+4ad5 243a4adb nbranch remote_car_moto_data_enable_user ,blank 
+4ad6 6fe0c986 fetch 1 ,mem_remote_car_24g_tx_temp + 8 
+4ad7 243a4adb nbranch remote_car_moto_data_enable_user ,blank 
+4ad8 6fe0c988 fetch 1 ,mem_remote_car_24g_tx_temp + 10 
+4ad9 243a4adb nbranch remote_car_moto_data_enable_user ,blank 
+4ada 20600000 rtn 
+
+remote_car_moto_data_enable_user:
+4adb 78347c00 enable user 
+4adc 20204ac6 branch remote_car_g24_package_data_continue 
+
+remote_car_default_init:
+4add 70479214 jam 0x14 ,mem_ui_button_timeout 
+4ade 70478601 jam 0x01 ,mem_ui_button_last_state 
+4adf 5800060f setarg 0x060f 
+4ae0 67e148d5 store 2 ,mem_remote_car_queue_each_size 
+4ae1 580048d5 setarg mem_remote_car_queue_each_size 
+4ae2 67e1448c store 2 ,mem_queue_ptr 
+4ae3 70409901 jam 0x01 ,mem_lpm_mode 
+4ae4 70415b06 jam 0x06 ,mem_lpm_overhead 
+4ae5 70417802 jam 0x02 ,mem_lpm_mult_timeout 
+4ae6 7048d400 jam 0x00 ,mem_remote_car_hard_soft_switch 
+4ae7 58004934 setarg mem_remote_style_led_type 
+4ae8 67e1448f store 2 ,mem_ui_led_struct_ptr 
+4ae9 70448e01 jam 0x01 ,mem_ui_led_struct_num 
+4aea 704935ff jam 0xff ,mem_remote_style_blink_count 
+4aeb 58000296 setarg 0x0296 
+4aec 67e14937 store 2 ,mem_remote_style_on_time 
+4aed 5800073a setarg 0x073a 
+4aee 67e14939 store 2 ,mem_remote_style_off_time 
+4aef 58004991 setarg mem_remote_car_soft_power 
+4af0 67e144cc store 2 ,mem_power_param_ptr 
+4af1 58000c0c setarg 0x0c0c 
+4af2 67e14993 store 2 ,mem_remote_car_power_off_timeout 
+4af3 58004948 setarg mem_remote_car_keyscan 
+4af4 67e144c8 store 2 ,mem_keyscan_ptr 
+4af5 70496500 jam 0x00 ,mem_remote_car_config_soft_switch_enable 
+4af6 704963ff jam 0xff ,mem_remote_car_config_connect_led_gpio 
+4af7 704966ff jam 0xff ,mem_remote_car_config_soft_switch_gpio 
+4af8 70496100 jam 0x00 ,mem_remote_car_config_key_map 
+4af9 70496200 jam 0x00 ,mem_remote_car_config_layout 
+4afa 70496400 jam 0x00 ,mem_remote_car_config_check_way 
+4afb 70496701 jam 0x01 ,mem_remote_car_config_timeout_shutdown_enable 
+4afc 58004e55 setarg 0x4e55 
+4afd 67e14954 store 2 ,mem_current_vdd_value_default_mid_x 
+4afe 67e14956 store 2 ,mem_current_vdd_value_default_mid_y 
+4aff 58000007 setarg 0x0007 
+4b00 67e1495a store 2 ,mem_current_vdd_default_range 
+4b01 7044a202 jam 0x02 ,mem_adc_config_flag 
+4b02 38035a0c setsect 0 ,0x35a0c 
+4b03 3804011a setsect 1 ,0x11a 
+4b04 38080060 setsect 2 ,0x60 
+4b05 380c0028 setsect 3 ,0x28 
+4b06 67e4c968 store 9 ,mem_remote_car_24g_motor_packet 
+4b07 3802000a setsect 0 ,0x2000a 
+4b08 38040002 setsect 1 ,0x02 
+4b09 e7e20005 istore 4 ,contw 
+4b0a 38035a08 setsect 0 ,0x35a08 
+4b0b 3804019a setsect 1 ,0x19a 
+4b0c 38080000 setsect 2 ,0x00 
+4b0d 380c0000 setsect 3 ,0x00 
+4b0e 67e4c975 store 9 ,mem_remote_car_24g_fire_packet 
+4b0f 58000064 setarg 0x0064 
+4b10 67e1498d store 2 ,mem_remote_car_no_data_timeout 
+4b11 7041e800 jam tx_power_0db ,mem_tx_power 
+4b12 70483901 jam 0x01 ,mem_24g_data_type 
+4b13 7048ac06 jam 0x06 ,mem_24g_max_retry 
+4b14 70485e01 jam 0x01 ,mem_24g_pair_switch 
+4b15 70489000 jam 0x00 ,mem_24g_fast_conn_enable 
+4b16 204022d0 call g24_rx_window_init 
+4b17 2040261a call g24_interval_param_8ms 
+4b18 204022b5 call g24_chmap_param_init 
+4b19 204022db call g24_pair_param_init 
+4b1a 58000708 setarg 0x0708 
+4b1b 67e14885 store 2 ,mem_24g_pair_timeout_init 
+4b1c 58000050 setarg 0x0050 
+4b1d 67e14889 store 2 ,mem_24g_reconn_timeout_init 
+4b1e 580a7700 setarg 0x0a7700 
+4b1f 67e1c8b4 store 3 ,mem_24g_long_sleep_set 
+4b20 58604800 setarg 0x604800 
+4b21 67e1c85f store 3 ,mem_24g_enter_hibernate 
+4b22 20203174 branch app_sys_param_init 
+
+shutter_init:
+4b23 20406e5e call enable_authrom 
+4b24 20758000 rtn wake 
+4b25 58004ba8 setarg shutter_le_before_hibernate 
+4b26 67e1445d store 2 ,mem_cb_before_hibernate 
+4b27 58004ba6 setarg shutter_process_lpm_before 
+4b28 67e1445f store 2 ,mem_cb_before_lpm 
+4b29 58003289 setarg app_enter_hibernate 
+4b2a 67e14469 store 2 ,mem_cb_discovry_timeout 
+4b2b 58004ba4 setarg shutter_process_idle 
+4b2c 67e14465 store 2 ,mem_cb_idle_process 
+4b2d 58004b53 setarg shutter_process_bb_event 
+4b2e 67e14467 store 2 ,mem_cb_bb_event_process 
+4b2f 58004b4d setarg shutter_le_scale_lpm_lock 
+4b30 67e1445b store 2 ,mem_cb_check_wakelock 
+4b31 58004c15 setarg ble_shutter_receive_data 
+4b32 67e1446b store 2 ,mem_cb_att_write 
+4b33 58004b8a setarg shutter_le_bb_event_timer 
+4b34 67e1446f store 2 ,mem_cb_event_timer 
+4b35 58004bf0 setarg shutter_key_change 
+4b36 67e147eb store 2 ,mem_cb_shutter_keycan 
+4b37 58004c2c setarg shutter_soft_swtich_power_on 
+4b38 67e147e6 store 2 ,mem_shutter_soft_switch_poweron_callback_function 
+4b39 58004c2d setarg shutter_soft_swtich_power_off 
+4b3a 67e147e8 store 2 ,mem_shutter_soft_switch_poweroff_callback_function 
+4b3b 20404b48 call shutter_set_ble_version 
+4b3c 20401a55 call le_modified_name 
+4b3d 20404c18 call shutter_init_param 
+4b3e 204061da call keyscan_key_init 
+4b3f 204079a5 call queue_init 
+4b40 2040785b call ui_led_init_global 
+4b41 44f2c01c bpatch patch1c_5 ,mem_patch1c 
+4b42 20404c25 call shutter_load_buffer_config_form_datarom 
+4b43 6fe0c7e1 fetch 1 ,mem_shutter_hard_soft_switch_case 
+4b44 c0004b4a beq hard_switch ,shutter_hart_swtich_power_on 
+4b45 6fe0c7e2 fetch 1 ,mem_shutter_soft_switch_button_gpio 
+4b46 67e0c793 store 1 ,mem_ui_button_gpio 
+4b47 20204c34 branch ui_soft_swtich_init 
+
+shutter_set_ble_version:
+4b48 7045fa07 jam 7 ,mem_lmp_version 
+4b49 20600000 rtn 
+
+shutter_hart_swtich_power_on:
+4b4a 704793ff jam ui_button_gpio_disable ,mem_ui_button_gpio 
+4b4b 7047e301 jam ss_state_power_on ,mem_shutter_soft_switch_power_state 
+4b4c 20204bc3 branch shutter_start_reconnect 
+
+shutter_le_scale_lpm_lock:
+4b4d 6fe0c7e3 fetch 1 ,mem_shutter_soft_switch_power_state 
+4b4e c001324f beq ss_state_power_off ,app_get_lpm_wake_lock 
+4b4f 2040535f call l2cap_malloc_get_full_map 
+4b50 6fe0c4e9 fetch 1 ,mem_used_map 
+4b51 243a324f nbranch app_get_lpm_wake_lock ,blank 
+4b52 20203251 branch app_put_lpm_wake_lock 
+
+shutter_process_bb_event:
+4b53 1a627e00 copy regc ,pdata 
+4b54 c00a4b5c beq bt_evt_le_connected ,ble_shutter_process_baseband_connect 
+4b55 c00acb60 beq bt_evt_le_disconnected ,ble_shutter_process_baseband_disconnect 
+4b56 c01fcb63 beq bt_evt_le_reconnect_complete ,ble_shutter_process_reconnect_complete 
+4b57 c0204b69 beq bt_evt_le_parse_conn_papa_update_rsp ,ble_shutter_process_parse_connect_parameter_update_response 
+4b58 c0084b6f beq bt_evt_button_long_pressed ,shutter_process_soft_swtich_button_long_press 
+4b59 c0164b70 beq bt_evt_button_down ,shutter_process_soft_swtich_button_down 
+4b5a c016cb7b beq bt_evt_button_up ,shutter_process_soft_swtich_button_up 
+4b5b 20600000 rtn 
+
+ble_shutter_process_baseband_connect:
+4b5c 20404baa call shutter_stop_bluetooth_discovery 
+4b5d 58000000 setarg 0 
+4b5e 67e147bb store 2 ,mem_ble_shutter_reconn_timer 
+4b5f 20203287 branch app_led_off 
+
+ble_shutter_process_baseband_disconnect:
+4b60 204079a5 call queue_init 
+4b61 7047b400 jam 0 ,mem_ble_shutter_enable_notify 
+4b62 20204bc3 branch shutter_start_reconnect 
+
+ble_shutter_process_reconnect_complete:
+4b63 204079a5 call queue_init 
+4b64 7047b401 jam 1 ,mem_ble_shutter_enable_notify 
+4b65 6fe447c5 fetch 8 ,mem_ble_shutter_interval_min 
+4b66 67e44372 store 8 ,mem_le_interval_min 
+4b67 20403295 call app_lpm_mult_enable 
+4b68 20201f04 branch le_l2cap_tx_update_req 
+
+ble_shutter_process_parse_connect_parameter_update_response:
+4b69 6fe143db fetch 2 ,mem_le_l2cap_signaling_conn_param_update_rsp_result 
+4b6a c1000000 rtneq ble_signaling_connect_parameter_update_accepted 
+4b6b 6fe447cd fetch 8 ,mem_ble_shutter_interval_min_new 
+4b6c 207a0000 rtn blank 
+4b6d 67e44372 store 8 ,mem_le_interval_min 
+4b6e 20201f04 branch le_l2cap_tx_update_req 
+
+shutter_process_soft_swtich_button_long_press:
+4b6f 20204c45 branch ui_soft_switch_botton_long_press 
+
+shutter_process_soft_swtich_button_down:
+4b70 6fe0c7e1 fetch 1 ,mem_shutter_hard_soft_switch_case 
+4b71 c1000000 rtneq hard_switch 
+4b72 6fe0c7e3 fetch 1 ,mem_shutter_soft_switch_power_state 
+4b73 c1808000 rtnne ss_state_power_on 
+4b74 20404b76 call shutter_store_currenct_led_state 
+4b75 20203285 branch app_led_on 
+
+shutter_store_currenct_led_state:
+4b76 7049e301 jam 1 ,mem_shutter_soft_swtich_botton_down 
+4b77 df20000b arg 11 ,loopcnt 
+4b78 d8a049e4 arg mem_shutter_soft_swtich_led_struct_temp ,contw 
+4b79 d8c049cd arg mem_shutter_led_struct_app_led ,contr 
+4b7a 20207dd4 branch memcpy 
+
+shutter_process_soft_swtich_button_up:
+4b7b 6fe0c7e1 fetch 1 ,mem_shutter_hard_soft_switch_case 
+4b7c c1000000 rtneq hard_switch 
+4b7d 6fe0c7e3 fetch 1 ,mem_shutter_soft_switch_power_state 
+4b7e c000cb80 beq ss_state_power_on ,shutter_load_currenct_led_state 
+4b7f 20204c41 branch ui_soft_switch_botton_up 
+
+shutter_load_currenct_led_state:
+4b80 6fe0c9e3 fetch 1 ,mem_shutter_soft_swtich_botton_down 
+4b81 c1808000 rtnne 1 
+4b82 7049e300 jam 0 ,mem_shutter_soft_swtich_botton_down 
+4b83 6fe1478f fetch 2 ,mem_ui_state_map 
+4b84 c2803287 bbit1 ui_state_bt_connected ,app_led_off 
+4b85 c284b287 bbit1 ui_state_ble_connected ,app_led_off 
+4b86 df20000b arg 11 ,loopcnt 
+4b87 d8c049e4 arg mem_shutter_soft_swtich_led_struct_temp ,contr 
+4b88 d8a049cd arg mem_shutter_led_struct_app_led ,contw 
+4b89 20207dd4 branch memcpy 
+
+shutter_le_bb_event_timer:
+4b8a 20404b8d call shutter_check_sleep_timer 
+4b8b 20404b94 call shutter_check_power_off_timer 
+4b8c 20204b9f branch ble_shutter_reconn_timer 
+
+shutter_check_sleep_timer:
+4b8d da6047df arg mem_shutter_sleep_timer ,regc 
+4b8e da404b90 arg shutter_sleep_timeout ,regb 
+4b8f 20203203 branch timer_single_step_2b 
+
+shutter_sleep_timeout:
+4b90 7047e302 jam ss_state_power_off ,mem_shutter_soft_switch_power_state 
+4b91 20403287 call app_led_off 
+4b92 20404bd4 call shutter_disconnect_current_connection 
+4b93 20204c31 branch shutter_wait_power_off 
+
+shutter_check_power_off_timer:
+4b94 da6049f0 arg mem_shutter_power_off_timer ,regc 
+4b95 da404b97 arg shutter_check_power_off_timeout ,regb 
+4b96 202031fc branch timer_single_step 
+
+shutter_check_power_off_timeout:
+4b97 6fe1478f fetch 2 ,mem_ui_state_map 
+4b98 c284cc31 bbit1 ui_state_ble_connected ,shutter_wait_power_off 
+4b99 c2804c31 bbit1 ui_state_bt_connected ,shutter_wait_power_off 
+4b9a 6fe0c9cd fetch 1 ,mem_shutter_led_struct_app_led_type 
+4b9b c000cc31 beq ui_led_state_blink_start ,shutter_wait_power_off 
+4b9c c0024c31 beq ui_led_state_blink_lighting ,shutter_wait_power_off 
+4b9d c002cc31 beq ui_led_state_blink_darking ,shutter_wait_power_off 
+4b9e 20203289 branch app_enter_hibernate 
+
+ble_shutter_reconn_timer:
+4b9f 6fe0c7e3 fetch 1 ,mem_shutter_soft_switch_power_state 
+4ba0 c1808000 rtnne ss_state_power_on 
+4ba1 da6047bb arg mem_ble_shutter_reconn_timer ,regc 
+4ba2 da404bb1 arg shutter_start_bluetooth_discovery ,regb 
+4ba3 20203203 branch timer_single_step_2b 
+
+shutter_process_idle:
+4ba4 20404c01 call shutter_send_data_to_master 
+4ba5 2020620b branch keyscan_key_process 
+
+shutter_process_lpm_before:
+4ba6 20406136 call gpio_set_before_lpm 
+4ba7 202061ff branch keyscan_process_lpm_before 
+
+shutter_le_before_hibernate:
+4ba8 20406136 call gpio_set_before_lpm 
+4ba9 20206e62 branch disable_authrom 
+
+shutter_stop_bluetooth_discovery:
+4baa 6fe0c7a7 fetch 1 ,mem_shutter_bluetooth_type 
+4bab c2804bad bbit1 ble_shutter ,ble_shutter_stop_bluetooth_discovery 
+4bac 20600000 rtn 
+
+ble_shutter_stop_bluetooth_discovery:
+4bad 6fe147db fetch 2 ,mem_ble_shutter_connect_timeout 
+4bae 67e147dd store 2 ,mem_shutter_sleep_timeout 
+4baf 67e147df store 2 ,mem_shutter_sleep_timer 
+4bb0 20203277 branch app_ble_stop_adv 
+
+shutter_start_bluetooth_discovery:
+4bb1 6fe0c7e3 fetch 1 ,mem_shutter_soft_switch_power_state 
+4bb2 c1808000 rtnne ss_state_power_on 
+4bb3 6fe0c7a7 fetch 1 ,mem_shutter_bluetooth_type 
+4bb4 c2804bb6 bbit1 ble_shutter ,ble_shutter_start_discovery 
+4bb5 20600000 rtn 
+
+ble_shutter_start_discovery:
+4bb6 6fe1478f fetch 2 ,mem_ui_state_map 
+4bb7 c3848000 rtnbit1 ui_state_ble_connected 
+4bb8 6fe147d9 fetch 2 ,mem_ble_shutter_discovery_timeout 
+4bb9 67e147dd store 2 ,mem_shutter_sleep_timeout 
+4bba 67e147df store 2 ,mem_shutter_sleep_timer 
+4bbb 6fe147b7 fetch 2 ,mem_ble_shutter_discovery_adv_interval 
+4bbc 20404c56 call shutter_ble_adv_interval_set 
+4bbd 20403283 call app_led_start_blink 
+4bbe 6fe247c1 fetch 4 ,mem_ble_shutter_discovery_blink_on_time 
+4bbf 67e249d0 store 4 ,mem_shutter_led_struct_app_led_on_time 
+4bc0 6fe1478f fetch 2 ,mem_ui_state_map 
+4bc1 c3858000 rtnbit1 ui_state_ble_adv 
+4bc2 20203279 branch app_ble_start_adv 
+
+shutter_start_reconnect:
+4bc3 6fe0c7e3 fetch 1 ,mem_shutter_soft_switch_power_state 
+4bc4 c1808000 rtnne ss_state_power_on 
+4bc5 6fe0c7a7 fetch 1 ,mem_shutter_bluetooth_type 
+4bc6 c2804bc8 bbit1 ble_shutter ,ble_shutter_start_reconnect 
+4bc7 20600000 rtn 
+
+ble_shutter_start_reconnect:
+4bc8 6fe147bb fetch 2 ,mem_ble_shutter_reconn_timer 
+4bc9 684947b9 fetcht 2 ,mem_ble_shutter_reconn_timeout 
+4bca 604947bb storet 2 ,mem_ble_shutter_reconn_timer 
+4bcb 247a0000 nrtn blank 
+4bcc 6fe147b5 fetch 2 ,mem_ble_shutter_reconn_adv_interval 
+4bcd 20404c56 call shutter_ble_adv_interval_set 
+4bce 20403283 call app_led_start_blink 
+4bcf 6fe247bd fetch 4 ,mem_ble_shutter_reconn_blink_on_time 
+4bd0 67e249d0 store 4 ,mem_shutter_led_struct_app_led_on_time 
+4bd1 6fe1478f fetch 2 ,mem_ui_state_map 
+4bd2 c3858000 rtnbit1 ui_state_ble_adv 
+4bd3 20203279 branch app_ble_start_adv 
+
+shutter_disconnect_current_connection:
+4bd4 6fe1478f fetch 2 ,mem_ui_state_map 
+4bd5 c284b281 bbit1 ui_state_ble_connected ,app_ble_disconnect 
+4bd6 20204baa branch shutter_stop_bluetooth_discovery 
+
+shutter_check_data_enable:
+4bd7 20407ec7 call disable_user 
+4bd8 6fe1478f fetch 2 ,mem_ui_state_map 
+4bd9 c284cbdb bbit1 ui_state_ble_connected ,shutter_check_ble_data_enable 
+4bda 20600000 rtn 
+
+shutter_check_ble_data_enable:
+4bdb 6fe0c7b4 fetch 1 ,mem_ble_shutter_enable_notify 
+4bdc 207a0000 rtn blank 
+4bdd 20207ec5 branch enable_user 
+
+shutter_check_bluetooth_conn:
+4bde 20407ec7 call disable_user 
+4bdf 6fe1478f fetch 2 ,mem_ui_state_map 
+4be0 c3800000 rtnbit1 ui_state_bt_connected 
+4be1 c3848000 rtnbit1 ui_state_ble_connected 
+4be2 20207ec5 branch enable_user 
+
+shutter_change_bluetooth_status_bt_disconn:
+4be3 6fe0c7a7 fetch 1 ,mem_shutter_bluetooth_type 
+4be4 c2804be6 bbit1 ble_shutter ,ble_shutter_change_bluetooth_status_bt_disconn 
+4be5 20600000 rtn 
+
+ble_shutter_change_bluetooth_status_bt_disconn:
+4be6 20204bc3 branch shutter_start_reconnect 
+
+shutter_check_send_data:
+4be7 78567c00 disable user2 
+4be8 6fe147dd fetch 2 ,mem_shutter_sleep_timeout 
+4be9 67e147df store 2 ,mem_shutter_sleep_timer 
+4bea 20404bde call shutter_check_bluetooth_conn 
+4beb 20344be3 branch shutter_change_bluetooth_status_bt_disconn ,user 
+4bec 20404bd7 call shutter_check_data_enable 
+4bed 24740000 nrtn user 
+4bee 78367c00 enable user2 
+4bef 20600000 rtn 
+
+shutter_key_change:
+4bf0 20404be7 call shutter_check_send_data 
+4bf1 24760000 nrtn user2 
+4bf2 1a227e00 deposit rega 
+4bf3 203a4bf7 branch shutter_key_release ,blank 
+
+shutter_key_press:
+4bf4 20403285 call app_led_on 
+4bf5 da6047f5 arg mem_key0_press ,regc 
+4bf6 20204bf9 branch push_queue_press_or_release 
+
+shutter_key_release:
+4bf7 20403287 call app_led_off 
+4bf8 da60481d arg mem_key0_release ,regc 
+
+push_queue_press_or_release:
+4bf9 dfe00005 arg max_queue_num ,pdata 
+4bfa 98effe00 imul32 queue ,pdata 
+4bfb 9a60a600 iadd regc ,regc 
+
+push_buffer_in_queue:
+4bfc efe08013 ifetch 1 ,regc 
+4bfd 207a0000 rtn blank 
+4bfe 20404c0d call queue_push_one_byte 
+4bff 1a60a601 increase 1 ,regc 
+4c00 20204bfc branch push_buffer_in_queue 
+
+shutter_send_data_to_master:
+4c01 6fe1478f fetch 2 ,mem_ui_state_map 
+4c02 c284cc04 bbit1 ui_state_ble_connected ,pop_queue_to_ble_data 
+4c03 20600000 rtn 
+
+pop_queue_to_ble_data:
+4c04 20401b24 call le_fifo_check_nearly_full 
+4c05 247a0000 nrtn blank 
+4c06 20404c10 call queue_pop_one_byte 
+4c07 24740000 nrtn user 
+4c08 1fe0ffff pincrease -1 
+4c09 1feffe05 mul32 pdata ,shutter_ble_data_buffer ,pdata 
+4c0a d8404845 arg mem_ble_data_buffer1 ,temp 
+4c0b 98408c00 iadd temp ,contr 
+4c0c 20204c5a branch le_send_notify_from_list 
+
+queue_push_one_byte:
+4c0d 67e0895c store 1 ,mem_pdatatemp 
+4c0e da20095c arg mem_pdatatemp ,rega 
+4c0f 202079aa branch queue_push 
+
+queue_pop_one_byte:
+4c10 da20095c arg mem_pdatatemp ,rega 
+4c11 204079c1 call queue_pop 
+4c12 24740000 nrtn user 
+4c13 6fe0895c fetch 1 ,mem_pdatatemp 
+4c14 20600000 rtn 
+
+ble_shutter_receive_data:
+4c15 6fe14437 fetch 2 ,mem_le_att_handle 
+4c16 c00c4b63 beq gatt_keyboard_write_handle ,ble_shutter_process_reconnect_complete 
+4c17 20600000 rtn 
+
+shutter_init_param:
+4c18 58000002 setarg 0x02 
+4c19 67e0c9ef store 1 ,mem_shutter_power_off_timeout 
+4c1a 58200008 setarg 0x00200008 
+4c1b 67e247c5 store 4 ,mem_ble_shutter_interval_min 
+4c1c 592c0005 setarg 0x012c0005 
+4c1d e7e20005 istore 4 ,contw 
+4c1e 70438017 jam 0x17 ,mem_le_local_mtu 
+4c1f 5800001b setarg 0x1b 
+4c20 67e143d1 store 2 ,mem_le_pairing_handle 
+4c21 20401ac2 call le_set_config_fixed_ltk 
+4c22 20401ade call le_set_fixed_ltk 
+4c23 20401aeb call le_set_justwork 
+4c24 20201aca branch le_set_config_read_authentication 
+
+shutter_load_buffer_config_form_datarom:
+4c25 df200028 arg ble_key_value_list_size ,loopcnt 
+4c26 d8a04845 arg mem_ble_data_buffer1 ,contw 
+4c27 d8c09e57 arg ble_shutter_key_value_list ,contr 
+4c28 20207dc7 branch memcpy_fast 
+
+shutter_load_ble_gatt_form_datarom:
+4c29 df20017e arg ble_gatt_list_size ,loopcnt 
+4c2a d8c09af2 arg ble_shutter_gatt_list ,contr 
+4c2b 20207dc7 branch memcpy_fast 
+
+shutter_soft_swtich_power_on:
+4c2c 20204bc3 branch shutter_start_reconnect 
+
+shutter_soft_swtich_power_off:
+4c2d da200000 arg 0 ,rega 
+4c2e da6049d8 arg mem_shutter_power_off_led_style ,regc 
+4c2f 20407877 call ui_led_set_style_global 
+4c30 20404bd4 call shutter_disconnect_current_connection 
+
+shutter_wait_power_off:
+4c31 6fe0c9ef fetch 1 ,mem_shutter_power_off_timeout 
+4c32 67e0c9f0 store 1 ,mem_shutter_power_off_timer 
+4c33 20600000 rtn 
+
+ui_soft_swtich_init:
+4c34 58000000 setarg ss_state_power_up 
+4c35 20404c3c call ui_soft_swtich_init_power_on_time 
+4c36 70478601 jam ui_button_state_up ,mem_ui_button_last_state 
+4c37 20407826 call ui_button_init 
+4c38 20407830 call ui_button_polling 
+4c39 6fe1478f fetch 2 ,mem_ui_state_map 
+4c3a c3860000 rtnbit1 ui_state_btn_down 
+4c3b 20203289 branch app_enter_hibernate 
+
+ui_soft_swtich_init_power_on_time:
+4c3c 684944cc fetcht 2 ,mem_power_param_ptr 
+4c3d e7e08002 istore 1 ,temp 
+4c3e efe08005 ifetch 1 ,contw 
+4c3f 67e0c792 store 1 ,mem_ui_button_timeout 
+4c40 20600000 rtn 
+
+ui_soft_switch_botton_up:
+4c41 6fe144cc fetch 2 ,mem_power_param_ptr 
+4c42 efe0803f ifetch 1 ,pdata 
+4c43 c1800000 rtnne ss_state_power_up 
+4c44 20203289 branch app_enter_hibernate 
+
+ui_soft_switch_botton_long_press:
+4c45 684944cc fetcht 2 ,mem_power_param_ptr 
+4c46 efe08002 ifetch 1 ,temp 
+4c47 c000cc50 beq ss_state_power_on ,ui_soft_switch_power_off 
+
+ui_soft_switch_power_on:
+4c48 58000001 setarg ss_state_power_on 
+4c49 684944cc fetcht 2 ,mem_power_param_ptr 
+4c4a e7e08002 istore 1 ,temp 
+4c4b 18408c02 add temp ,ss_power_off_time ,contr 
+4c4c efe08006 ifetch 1 ,contr 
+4c4d e7e08012 istore 1 ,mem_ui_button_timeout 
+4c4e efe10006 ifetch 2 ,contr 
+4c4f 20207e7a branch callback_func 
+
+ui_soft_switch_power_off:
+4c50 58000002 setarg ss_state_power_off 
+4c51 20404c3c call ui_soft_swtich_init_power_on_time 
+4c52 18408c05 add temp ,ss_power_off_cb ,contr 
+4c53 efe10006 ifetch 2 ,contr 
+4c54 203a3289 branch app_enter_hibernate ,blank 
+4c55 20207e7a branch callback_func 
+
+shutter_ble_adv_interval_set:
+4c56 67e14159 store 2 ,mem_lpm_interval 
+4c57 1fe0fffc increase -4 ,pdata 
+4c58 67e14428 store 2 ,mem_le_adv_interval 
+4c59 20600000 rtn 
+
+le_send_notify_from_list:
+4c5a efe08006 ifetch 1 ,contr 
+4c5b 1fe22200 copy pdata ,rega 
+4c5c e8410006 ifetcht 2 ,contr 
+4c5d 20407d5e call store_contr 
+4c5e 20401e5f call le_att_malloc_tx_notify 
+4c5f 1a227200 copy rega ,loopcnt 
+4c60 20407d58 call get_contr 
+4c61 20207dd4 branch memcpy 
+
+shutter_default_init:
+4c62 6fe149f1 fetch 2 ,mem_shutter_key_conf0_temp 
+4c63 67e147ed store 2 ,mem_shutter_key_conf0 
+4c64 6fe0c9f3 fetch 1 ,mem_shutter_led_struct_app_led_gpio_temp 
+4c65 67e0c9cf store 1 ,mem_shutter_led_struct_app_led_gpio 
+4c66 67e0c9da store 1 ,mem_shutter_power_off_led_style_gpio 
+4c67 6fe0c9f4 fetch 1 ,mem_shutter_hard_soft_switch_case_temp 
+4c68 67e0c7e1 store 1 ,mem_shutter_hard_soft_switch_case 
+4c69 6fe0c9f5 fetch 1 ,mem_shutter_soft_switch_button_gpio_temp 
+4c6a 67e0c7e2 store 1 ,mem_shutter_soft_switch_button_gpio 
+4c6b 7047a701 jam 0x01 ,mem_shutter_bluetooth_type 
+4c6c 58000030 setarg 0x0030 
+4c6d 67e147b2 store 2 ,mem_classic_shutter_random_mac_offset_addr 
+4c6e 58000000 setarg 0x0000 
+4c6f 67e147a8 store 2 ,mem_shutter_config_eeprom_offset_addr 
+4c70 58000001 setarg 0x0001 
+4c71 67e147f5 store 2 ,mem_key0_press 
+4c72 67e147fa store 2 ,mem_key1_press 
+4c73 58000006 setarg 0x0006 
+4c74 67e1481d store 2 ,mem_key0_release 
+4c75 67e14822 store 2 ,mem_key1_release 
+4c76 58000007 setarg 0x0007 
+4c77 67e147ff store 2 ,mem_key2_press 
+4c78 58000008 setarg 0x0008 
+4c79 67e14827 store 2 ,mem_key2_release 
+4c7a 580047e3 setarg mem_shutter_soft_switch_power_state 
+4c7b 67e144cc store 2 ,mem_power_param_ptr 
+4c7c 58201400 setarg 0x201400 
+4c7d 67e1c7e3 store 3 ,mem_shutter_soft_switch_power_state 
+4c7e 70409901 jam 0x01 ,mem_lpm_mode 
+4c7f 58000100 setarg 0x0100 
+4c80 67e14159 store 2 ,mem_lpm_interval 
+4c81 70415b08 jam 0x08 ,mem_lpm_overhead 
+4c82 70417705 jam 0x05 ,mem_lpm_mult 
+4c83 70417802 jam 0x02 ,mem_lpm_mult_timeout 
+4c84 58000030 setarg 0x0030 
+4c85 67e14455 store 2 ,mem_sniff_param_interval 
+4c86 58000001 setarg 0x0001 
+4c87 e7e10005 istore 2 ,contw 
+4c88 7046440a jam 0x0a ,mem_unsniff2sniff_timer 
+4c89 58000096 setarg 0x0096 
+4c8a 67e147bd store 2 ,mem_ble_shutter_reconn_blink_on_time 
+4c8b e7e10005 istore 2 ,contw 
+4c8c 58000296 setarg 0x0296 
+4c8d 67e147c1 store 2 ,mem_ble_shutter_discovery_blink_on_time 
+4c8e e7e10005 istore 2 ,contw 
+4c8f 38000010 setsect 0 ,0x10 
+4c90 38048008 setsect 1 ,0x8008 
+4c91 380ac000 setsect 2 ,0x2c000 
+4c92 380c0004 setsect 3 ,0x04 
+4c93 67e447cd store 8 ,mem_ble_shutter_interval_min_new 
+4c94 70448e01 jam 0x01 ,mem_ui_led_struct_num 
+4c95 580049cd setarg mem_shutter_led_struct_app_led 
+4c96 67e1448f store 2 ,mem_ui_led_struct_ptr 
+4c97 58000000 setarg 0x0000 
+4c98 67e149cd store 2 ,mem_shutter_led_struct_app_led 
+4c99 380001a0 setsect 0 ,0x1a0 
+4c9a 38040068 setsect 1 ,0x68 
+4c9b 38080000 setsect 2 ,0x00 
+4c9c 380c0000 setsect 3 ,0x00 
+4c9d 67e449d0 store 8 ,mem_shutter_led_struct_app_led_on_time 
+4c9e 58000301 setarg 0x0301 
+4c9f 67e149d8 store 2 ,mem_shutter_power_off_led_style 
+4ca0 380001a0 setsect 0 ,0x1a0 
+4ca1 380400e8 setsect 1 ,0xe8 
+4ca2 38080000 setsect 2 ,0x00 
+4ca3 380c0000 setsect 3 ,0x00 
+4ca4 67e449db store 8 ,mem_shutter_power_off_led_style_on_time 
+4ca5 5800000e setarg 0x000e 
+4ca6 67e147b5 store 2 ,mem_ble_shutter_reconn_adv_interval 
+4ca7 58000140 setarg 0x0140 
+4ca8 67e147b7 store 2 ,mem_ble_shutter_discovery_adv_interval 
+4ca9 67e14428 store 2 ,mem_le_adv_interval 
+4caa 58000050 setarg 0x0050 
+4cab 67e147b9 store 2 ,mem_ble_shutter_reconn_timeout 
+4cac 70443207 jam 0x07 ,mem_le_adv_channel_map 
+4cad 70442700 jam 0x00 ,mem_le_adv_enable 
+4cae 380000fb setsect 0 ,0xfb 
+4caf 3806c212 setsect 1 ,0x2c212 
+4cb0 3808800f setsect 2 ,0x800f 
+4cb1 380c0021 setsect 3 ,0x21 
+4cb2 67e4444c store 8 ,mem_local_rx_max_octets 
+4cb3 38000bb8 setsect 0 ,0x0bb8 
+4cb4 380402ee setsect 1 ,0x02ee 
+4cb5 67e247d9 store 4 ,mem_ble_shutter_discovery_timeout 
+4cb6 580048fe setarg mem_queue_each_size 
+4cb7 67e1448c store 2 ,mem_queue_ptr 
+4cb8 58002001 setarg 0x2001 
+4cb9 67e148fe store 2 ,mem_queue_each_size 
+4cba 7043e71f jam 0x1f ,mem_le_adv_data_len 
+4cbb 38010102 setsect 0 ,0x10102 
+4cbc 380480c1 setsect 1 ,0x80c1 
+4cbd 38098120 setsect 2 ,0x18120 
+4cbe 380c640c setsect 3 ,0x640c 
+4cbf 67e4c3e8 store 9 ,mem_le_adv_data 
+4cc0 380003c1 setsect 0 ,0x3c1 
+4cc1 e7e10005 istore 2 ,contw 
+4cc2 7044071f jam 0x1f ,mem_le_scan_data_len 
+4cc3 3802090d setsect 0 ,0x2090d 
+4cc4 38074c15 setsect 1 ,0x34c15 
+4cc5 380a8532 setsect 2 ,0x28532 
+4cc6 380dd1d5 setsect 3 ,0x1d1d5 
+4cc7 67e4c408 store 9 ,mem_le_scan_data 
+4cc8 38026574 setsect 0 ,0x26574 
+4cc9 3804001c setsect 1 ,0x1c 
+4cca e7e18005 istore 3 ,contw 
+4ccb 580047ea setarg mem_shutter_keyscan 
+4ccc 67e144c8 store 2 ,mem_keyscan_ptr 
+4ccd 7047ea02 jam 0x02 ,mem_shutter_key_num 
+4cce 70447f17 jam 0x17 ,mem_app_connection_options 
+4ccf 58004923 setarg mem_shutter_nv_data 
+4cd0 67e14489 store 2 ,mem_nv_data_ptr 
+4cd1 70448b05 jam 0x05 ,mem_nv_data_number 
+4cd2 58002540 setarg 0x2540 
+4cd3 67e140b2 store 2 ,mem_class 
+4cd4 58040003 setarg 0x040003 
+4cd5 67e1c768 store 3 ,mem_lmp_io_cap_payload_iocap 
+4cd6 70476f03 jam 0x03 ,mem_ssp_mode_flag 
+4cd7 70476701 jam 0x01 ,mem_ssp_enable 
+4cd8 70479101 jam 0x01 ,mem_ui_profile_supported 
+4cd9 70415f00 jam 0x00 ,mem_ptt 
+4cda 3803ffff setsect 0 ,0x3ffff 
+4cdb 3806fe23 setsect 1 ,0x2fe23 
+4cdc 380999d9 setsect 2 ,0x199d9 
+4cdd 380c020d setsect 3 ,0x20d 
+4cde 67e440a0 store 8 ,mem_features 
+4cdf 58009af2 setarg 0x9af2 
+4ce0 67e14396 store 2 ,mem_ui_le_uuid_table 
+4ce1 7040d801 jam 0x01 ,mem_eir_enable 
+4ce2 38010306 setsect 0 ,0x10306 
+4ce3 38040004 setsect 1 ,0x4 
+4ce4 38082010 setsect 2 ,0x2010 
+4ce5 380c9040 setsect 3 ,0x9040 
+4ce6 67e4c665 store 9 ,mem_all_uuid_16bits 
+4ce7 38020011 setsect 0 ,0x20011 
+4ce8 38040044 setsect 1 ,0x44 
+4ce9 e7e28005 istore 5 ,contw 
+4cea 70467b00 jam 0x00 ,mem_all_uuid_128bits 
+4ceb 58009c70 setarg 0x9c70 
+4cec 67e14663 store 2 ,mem_ui_uuid_table 
+4ced 7040c518 jam 0x18 ,mem_fcomp_div 
+4cee 20403174 call app_sys_param_init 
+4cef df20001e arg 30 ,loopcnt 
+4cf0 d8a042f8 arg mem_le_name ,contw 
+4cf1 20407d9b call clear_mem 
+4cf2 7042f70b jam 0x0b ,mem_le_name_len 
+4cf3 58204241 setarg 0x204241 
+4cf4 67e1c2f8 store 3 ,mem_le_name 
+4cf5 58756853 setarg 0x756853 
+4cf6 e7e18005 istore 3 ,contw 
+4cf7 58657474 setarg 0x657474 
+4cf8 e7e18005 istore 3 ,contw 
+4cf9 58003372 setarg 0x3372 
+4cfa e7e10005 istore 2 ,contw 
+4cfb 6fe0c9f6 fetch 1 ,mem_shutter_le_name_len 
+4cfc 207a0000 rtn blank 
+4cfd 67e0c2f7 store 1 ,mem_le_name_len 
+4cfe 1fe27200 copy pdata ,loopcnt 
+4cff d8c049f7 arg mem_shutter_le_name ,contr 
+4d00 d8a042f8 arg mem_le_name ,contw 
+4d01 20207dd4 branch memcpy 
+
+rf_debug_rx_gpio_low:
+4d02 6fe0c4d7 fetch 1 ,mem_rf_debug_rx_gpio 
+
+rf_debug_gpio_low:
+4d03 d840003e arg gpcfg_output_low ,temp 
+4d04 2020612b branch gpio_config_function 
+
+rf_debug_rx_on_line:
+
+rf_debug_rx_gpio_high:
+4d05 6fe0c4d7 fetch 1 ,mem_rf_debug_rx_gpio 
+
+rf_debug_gpio_high:
+4d06 d840003f arg gpcfg_output_high ,temp 
+4d07 2020612b branch gpio_config_function 
+
+rf_debug_rx_gpio_h_l_h:
+4d08 20404d05 call rf_debug_rx_gpio_high 
+
+rf_debug_rx_gpio_l_h:
+4d09 20404d02 call rf_debug_rx_gpio_low 
+4d0a 20204d05 branch rf_debug_rx_gpio_high 
+
+rf_debug_rx_gpio_l_h_l:
+
+rf_debug_shutdown_radio_line:
+4d0b 20404d09 call rf_debug_rx_gpio_l_h 
+
+rf_debug_rx_crc_line:
+4d0c 20204d02 branch rf_debug_rx_gpio_low 
+
+rf_debug_rx_sync_line:
+4d0d 20204d09 branch rf_debug_rx_gpio_l_h 
+
+rf_debug_rx_crc_fail_line:
+4d0e 20404d09 call rf_debug_rx_gpio_l_h 
+4d0f 20204d0b branch rf_debug_rx_gpio_l_h_l 
+
+rf_debug_rx_match_line:
+
+rf_debug_rx_crc_error_line:
+
+rf_debug_rx_sync_timeout_line:
+4d10 20204d02 branch rf_debug_rx_gpio_low 
+
+rf_debug_tx_off_line:
+
+rf_debug_tx_gpio_low:
+4d11 6fe0c4d8 fetch 1 ,mem_rf_debug_tx_gpio 
+4d12 20204d03 branch rf_debug_gpio_low 
+
+rf_debug_tx_on_line:
+
+rf_debug_tx_gpio_high:
+4d13 6fe0c4d8 fetch 1 ,mem_rf_debug_tx_gpio 
+4d14 20204d06 branch rf_debug_gpio_high 
+
+rf_debug_tx_gpio_l_h_l:
+4d15 20404d11 call rf_debug_tx_gpio_low 
+4d16 20404d13 call rf_debug_tx_gpio_high 
+4d17 20204d11 branch rf_debug_tx_gpio_low 
+
+hci_init:
+4d18 20800000 clear_stack 
+4d19 20404d22 call hci_init_clksel 
+4d1a 20404d2c call hci_init_uart_default_config 
+4d1b 20404d40 call hci_init_uart_config 
+4d1c 20404d5f call hci_init_pwm_default_config 
+4d1d 20404d63 call hci_init_pwm 
+4d1e 7009fc01 jam 1 ,mem_hci_command_complete_num_hci_command_packet 
+4d1f 7009f904 jam hci_h4_type_event ,mem_hci_event_head_type 
+
+hci_process_loop:
+4d20 20404d6e call hci_process_check_uart_rx 
+4d21 20204d20 branch hci_process_loop 
+
+hci_init_clksel:
+4d22 6fe08a2c fetch 1 ,mem_tmp_buffer + efuse_offset_hci_boot_clksel 
+4d23 c283cd2a bbit1 7 ,hci_init_clksel_xtal 
+
+hci_init_clksel_dpll:
+4d24 708a01ff jam 0xff ,core_clkpll_ctrl1 
+4d25 20000064 nop 100 
+4d26 708a020e jam 0x0e ,core_clkpll_ctrl2 
+4d27 708a0003 jam 0x03 ,core_clkpll_ctrl0 
+4d28 70804205 jam clksel_dpll ,core_clksel 
+4d29 20600000 rtn 
+
+hci_init_clksel_xtal:
+4d2a 70804204 jam clksel_xtal ,core_clksel 
+4d2b 20600000 rtn 
+
+hci_init_uart_default_config:
+4d2c 20404d30 call hci_init_uart_default_config_tx 
+4d2d 20404d34 call hci_init_uart_default_config_rx 
+4d2e 20404d38 call hci_init_uart_default_config_rts 
+4d2f 20204d3c branch hci_init_uart_default_config_cts 
+
+hci_init_uart_default_config_tx:
+4d30 6fe0c7a7 fetch 1 ,mem_hci_uart_tx_gpio 
+4d31 247a0000 nrtn blank 
+4d32 7047a70d jam hci_uart_tx_gpio_num ,mem_hci_uart_tx_gpio 
+4d33 20600000 rtn 
+
+hci_init_uart_default_config_rx:
+4d34 6fe0c7a8 fetch 1 ,mem_hci_uart_rx_gpio 
+4d35 247a0000 nrtn blank 
+4d36 7047a80e jam hci_uart_rx_gpio_num ,mem_hci_uart_rx_gpio 
+4d37 20600000 rtn 
+
+hci_init_uart_default_config_rts:
+4d38 6fe0c7a9 fetch 1 ,mem_hci_uart_rts_gpio 
+4d39 247a0000 nrtn blank 
+4d3a 7047a909 jam hci_uart_rts_gpio_num ,mem_hci_uart_rts_gpio 
+4d3b 20600000 rtn 
+
+hci_init_uart_default_config_cts:
+4d3c 6fe0c7aa fetch 1 ,mem_hci_uart_cts_gpio 
+4d3d 247a0000 nrtn blank 
+4d3e 7047aa0a jam hci_uart_cts_gpio_num ,mem_hci_uart_cts_gpio 
+4d3f 20600000 rtn 
+
+hci_init_uart_config:
+4d40 58001800 setarg mem_h5rx_buf 
+4d41 67e1095c store 2 ,mem_pdatatemp 
+4d42 58001bff setarg mem_h5rx_buf_end 
+4d43 e7e10005 istore 2 ,contw 
+4d44 58001c00 setarg mem_h5tx_buf 
+4d45 e7e10005 istore 2 ,contw 
+4d46 58001fff setarg mem_h5tx_buf_end 
+4d47 e7e10005 istore 2 ,contw 
+4d48 6fe4095c fetch 8 ,mem_pdatatemp 
+4d49 20405f56 call uarta_init_dma_mem 
+4d4a 6fe08a2c fetch 1 ,mem_tmp_buffer + efuse_offset_hci_boot_clksel 
+4d4b 2feffe07 isolate1 7 ,pdata 
+4d4c 2040df7d call uart_clock_select_main_freq_crystal ,true 
+4d4d 2440df81 ncall uart_clock_select_main_freq_dpll ,true 
+4d4e d841c200 arg 115200 ,temp 
+4d4f 20405f6e call uarta_calc_baud_rate_config 
+4d50 6fe0c7a7 fetch 1 ,mem_hci_uart_tx_gpio 
+4d51 d8400008 arg gpcfg_uart_txd ,temp 
+4d52 2040612c call gpio_config_function_int 
+4d53 6fe0c7a8 fetch 1 ,mem_hci_uart_rx_gpio 
+4d54 d8400049 arg gpcfg_uart_rxd | gpcfg_pullup ,temp 
+4d55 2040612c call gpio_config_function_int 
+4d56 6fe0c7a9 fetch 1 ,mem_hci_uart_rts_gpio 
+4d57 d840000a arg gpcfg_uart_rts ,temp 
+4d58 2040612c call gpio_config_function_int 
+4d59 6fe0c7aa fetch 1 ,mem_hci_uart_cts_gpio 
+4d5a d840000b arg gpcfg_uart_cts ,temp 
+4d5b 2040612c call gpio_config_function_int 
+4d5c d8400081 arg fun_uart_control_enable | fun_uart_control_setting_rate_baud ,temp 
+4d5d 60588060 storet 1 ,core_uart_ctrl 
+4d5e 20207e77 branch clean_mem 
+
+hci_init_pwm_default_config:
+4d5f 6fe0c7ab fetch 1 ,mem_hci_pwm_12mhz_gpio 
+4d60 247a0000 nrtn blank 
+4d61 7047ab0c jam hci_pmw_12mhz_gpio_num ,mem_hci_pwm_12mhz_gpio 
+4d62 20600000 rtn 
+
+hci_init_pwm:
+4d63 6fe0c7ab fetch 1 ,mem_hci_pwm_12mhz_gpio 
+4d64 d8400010 arg gpcfg_pwm_out0 ,temp 
+4d65 2040612c call gpio_config_function_int 
+4d66 da200040 arg 0x40 ,rega 
+4d67 20406239 call pwm_init 
+4d68 da200000 arg 0 ,rega 
+4d69 da400000 arg 0 ,regb 
+4d6a 58000000 setarg 0 
+4d6b 20406272 call pwm_duty_cycle_set 
+4d6c d8e00000 arg 0 ,queue 
+4d6d 20206285 branch pwm_set_select 
+
+hci_process_check_uart_rx:
+4d6e 6ff10112 fetch 2 ,core_uart_rxitems 
+4d6f 1fe0a3fc add pdata ,-4 ,rega 
+4d70 24610000 nrtn positive 
+4d71 20405f9d call uarta_prepare_rx 
+4d72 efe08003 ifetch 1 ,contru 
+4d73 c000cd76 beq hci_h4_type_cmd ,hci_parse_packet_cmd 
+4d74 20407d85 call delay_10ms 
+4d75 20205fad branch uarta_clear_current_rx 
+
+hci_parse_packet_cmd:
+4d76 efe10003 ifetch 2 ,contru 
+4d77 67e109fd store 2 ,mem_hci_opcode 
+4d78 d84003ff arg 0x3ff ,temp 
+4d79 98410400 iand temp ,temp 
+4d7a 604909f6 storet 2 ,mem_hci_opcode_ocf 
+4d7b 1feb7e00 rshift2 pdata ,pdata 
+4d7c 1fecfe00 rshift8 pdata ,pdata 
+4d7d 67e089f8 store 1 ,mem_hci_opcode_ogf 
+4d7e efe08003 ifetch 1 ,contru 
+4d7f 1fe0ffff pincrease -1 
+4d80 9a267c00 isub rega ,null 
+4d81 20610000 rtn positive 
+4d82 20404d84 call hci_parse_complete_packet 
+4d83 20204ddf branch hci_drop_current_packet 
+
+hci_parse_complete_packet:
+4d84 6fe089f8 fetch 1 ,mem_hci_opcode_ogf 
+4d85 c01fcd87 beq hci_ogf_vendor_specific_debug ,hci_parse_packet_cmd_ogf_vendorspecific_debug 
+4d86 20204dcb branch hci_send_event_command_complete_error_command_nuknown 
+
+hci_parse_packet_cmd_ogf_vendorspecific_debug:
+4d87 44f3401c bpatch patch1c_6 ,mem_patch1c 
+4d88 6fe089f6 fetch 1 ,mem_hci_opcode_ocf 
+4d89 c0004dca beq hci_vendor_cmd_reset ,hci_normal_reply 
+4d8a c000cd92 beq hci_vendor_cmd_chipid ,phci_grp_vendor_chipid 
+4d8b c0014d97 beq hci_vendor_cmd_baud ,phci_grp_vendor_baud 
+4d8c c001cda5 beq hci_vendor_cmd_patch ,phci_grp_vendor_patch 
+4d8d c0024daf beq hci_vendor_cmd_patch_done ,phci_grp_vendor_done 
+4d8e c002cdca beq hci_vendor_cmd_echo ,hci_normal_reply 
+4d8f c0084dc0 beq hci_vendor_cmd_mem ,phci_grp_vendor_mem 
+4d90 c00a4dc6 beq hci_vendor_cmd_set_flow_control ,phci_grp_vendor_flow_control 
+4d91 20204dca branch hci_normal_reply 
+
+phci_grp_vendor_chipid:
+4d92 7009ff00 jam command_succeeded ,mem_hci_command_complete_return_parameter 
+4d93 6ff10000 fetch 2 ,core_chipid 
+4d94 67e10a00 store 2 ,mem_hci_command_complete_return_parameter_chip_id 
+4d95 df200003 arg 3 ,loopcnt 
+4d96 20204dd2 branch hci_send_event_command_complete 
+
+phci_grp_vendor_baud:
+4d97 efe10003 ifetch 2 ,contu 
+4d98 67f10052 store 2 ,core_uart_baud 
+4d99 20600000 rtn 
+
+phci_grp_vendor_patch_common:
+4d9a efe08003 ifetch 1 ,contu 
+4d9b 1fe20400 copy pdata ,temp 
+4d9c 67f08024 store 1 ,core_ucode_low 
+4d9d efe08003 ifetch 1 ,contu 
+4d9e 98408400 iadd temp ,temp 
+4d9f 79207e07 set1 7 ,pdata 
+4da0 67f08023 store 1 ,core_ucode_ctrl 
+4da1 efe08003 ifetch 1 ,contu 
+4da2 98408400 iadd temp ,temp 
+4da3 1fe27200 copy pdata ,loopcnt 
+4da4 20600000 rtn 
+
+phci_grp_vendor_patch:
+4da5 20404d9a call phci_grp_vendor_patch_common 
+
+phci_grp_vendor_patch_loop:
+4da6 efe08003 ifetch 1 ,contu 
+4da7 67f08025 store 1 ,core_ucode_data 
+4da8 98408400 iadd temp ,temp 
+4da9 c2004da6 loop phci_grp_vendor_patch_loop 
+
+phci_grp_vendor_patch_check_sum:
+4daa 184104ff and temp ,0xff ,temp 
+4dab efe08003 ifetch 1 ,contu 
+4dac 98467c00 isub temp ,null 
+4dad 2422cdbe nbranch phci_grp_vendor_patch_bad ,zero 
+4dae 20204dca branch hci_normal_reply 
+
+phci_grp_vendor_done:
+4daf df200020 arg 0x20 ,loopcnt 
+4db0 d8a04000 arg mem_patch00 ,contw 
+4db1 d8400000 arg 0 ,temp 
+
+phci_grp_vendor_done_loop:
+4db2 efe08003 ifetch 1 ,contu 
+4db3 e7e08005 istore 1 ,contw 
+4db4 98408400 iadd temp ,temp 
+4db5 c2004db2 loop phci_grp_vendor_done_loop 
+4db6 184104ff and temp ,0xff ,temp 
+4db7 efe08003 ifetch 1 ,contu 
+4db8 98467c00 isub temp ,null 
+4db9 2422cdbe nbranch phci_grp_vendor_patch_bad ,zero 
+4dba 70802300 jam 0 ,core_ucode_ctrl 
+4dbb 20404dca call hci_normal_reply 
+4dbc 20407e7c call wait_uarttx 
+4dbd 20200801 branch soft_reset 
+
+phci_grp_vendor_patch_bad:
+4dbe 70802300 jam 0 ,core_ucode_ctrl 
+4dbf 20204dcb branch hci_send_event_command_complete_error_command_nuknown 
+
+phci_grp_vendor_mem:
+4dc0 efe08003 ifetch 1 ,contu 
+4dc1 1fe27200 copy pdata ,loopcnt 
+4dc2 efe10003 ifetch 2 ,contu 
+4dc3 1fe20a00 copy pdata ,contw 
+4dc4 20405ff3 call uart_copy_rx_bytes 
+4dc5 20204dca branch hci_normal_reply 
+
+phci_grp_vendor_flow_control:
+4dc6 6ff08060 fetch 1 ,core_uart_ctrl 
+4dc7 79207e04 set1 bit_uart_control_flow_control ,pdata 
+4dc8 67f08060 store 1 ,core_uart_ctrl 
+4dc9 20204dca branch hci_normal_reply 
+
+hci_normal_reply:
+4dca 20204dcf branch hci_send_event_command_complete_without_payload 
+
+hci_send_event_command_complete_error_command_nuknown:
+4dcb 7009ff01 jam command_unknown ,mem_hci_command_complete_return_parameter 
+4dcc 20204dd0 branch hci_send_event_command_complete_without_payload + 1 
+
+hci_send_event_command_complete_error_command_disallowed:
+4dcd 7009ff0c jam command_disallowed ,mem_hci_command_complete_return_parameter 
+4dce 20204dd0 branch hci_send_event_command_complete_without_payload + 1 
+
+hci_send_event_command_complete_without_payload:
+4dcf 7009ff00 jam command_succeeded ,mem_hci_command_complete_return_parameter 
+4dd0 df200001 arg 1 ,loopcnt 
+4dd1 20204dd2 branch hci_send_event_command_complete 
+
+hci_send_event_command_complete:
+4dd2 7009fa0e jam hci_event_command_complete ,mem_hci_event_head_event_code 
+4dd3 1f20fe03 add loopcnt ,3 ,pdata 
+4dd4 67e089fb store 1 ,mem_hci_event_para_total_length 
+4dd5 20404ddb call hci_prepare_send_event 
+4dd6 6fe189fc fetch 3 ,mem_hci_command_complete_num_hci_command_packet 
+4dd7 e7e18003 istore 3 ,contwu 
+4dd8 d8c009ff arg mem_hci_command_complete_return_parameter ,contr 
+4dd9 20405fd9 call uart_copy_tx_bytes 
+4dda 20205fb9 branch uarta_send_register_pop 
+
+hci_prepare_send_event:
+4ddb 20405fb5 call uarta_prepare_tx_register_push 
+4ddc 6fe189f9 fetch 3 ,mem_hci_event_head_type 
+4ddd e7e18003 istore 3 ,contwu 
+4dde 20600000 rtn 
+
+hci_drop_current_packet:
+4ddf 20405f9d call uarta_prepare_rx 
+4de0 18608603 increase 3 ,contru 
+4de1 efe08003 ifetch 1 ,contru 
+4de2 98608600 iadd contru ,contru 
+4de3 20205fa9 branch uarta_rxdone 
+
+cmd_exit:
+4de4 7041db00 jam 0 ,mem_hci_cmd 
+4de5 20600000 rtn 
+
+cmd_check_plap:
+4de6 6fe341dd fetch 6 ,mem_hci_plap 
+4de7 684b0040 fetcht 6 ,mem_plap 
+4de8 98467c00 isub temp ,null 
+4de9 20600000 rtn 
+
+hid_rx_process:
+4dea 44f3c01c bpatch patch1c_7 ,mem_patch1c 
+4deb 6fe10315 fetch 2 ,mem_l2cap_payload_ptr 
+4dec 1fe20c00 copy pdata ,contr 
+4ded efe08006 ifetch 1 ,contr 
+4dee 67e0c5f8 store 1 ,mem_l2cap_rcv_hidtype 
+4def 1fe1040f and pdata ,0x0f ,temp 
+4df0 1ff1fe00 rshift4 pdata ,pdata 
+4df1 c004ce0b beq hid_type_set_idle ,hid_rx_process_handshake 
+4df2 c003ce0b beq hid_type_set_protocol ,hid_rx_process_handshake 
+4df3 c0054e1a beq hid_type_data ,hid_rx_process_data 
+4df4 c002ce03 beq hid_type_set_report ,hid_rx_process_set_report 
+4df5 c000cdf7 beq hid_type_control ,hid_rx_process_hid_control 
+4df6 20600000 rtn 
+
+hid_rx_process_hid_control:
+4df7 18427e00 copy temp ,pdata 
+4df8 c002cdfb beq hid_control_p_virtualcableunplug ,hid_rx_process_virtual_cable_unplug 
+4df9 c001ce02 beq hid_control_p_suspend ,hid_rx_process_suspend 
+4dfa 20600000 rtn 
+
+hid_rx_process_virtual_cable_unplug:
+4dfb 70095b27 jam bt_evt_virtual_cable_unplug ,mem_fifo_temp 
+4dfc 204078dc call ui_ipc_send_event 
+4dfd 6fe0c09a fetch 1 ,mem_device_option 
+4dfe c1840000 rtnne dvc_op_mouse 
+4dff 18427e00 copy temp ,pdata 
+4e00 c002c48c beq hid_control_p_virtualcableunplug ,mouse_irtual_cable_unplug 
+4e01 20600000 rtn 
+
+hid_rx_process_suspend:
+4e02 20600000 rtn 
+
+hid_rx_process_set_report:
+4e03 20404e1a call hid_rx_process_data 
+4e04 da200001 arg 0x01 ,rega 
+4e05 20404e1e call hid_malloc_tx_buff 
+4e06 6fe144df fetch 2 ,mem_hid_ctrl_remote_cid 
+4e07 e7e10005 istore 2 ,contw 
+4e08 58000000 setarg 0x00 
+4e09 e7e08005 istore 1 ,contw 
+4e0a 20600000 rtn 
+
+hid_rx_process_handshake:
+4e0b da200001 arg 1 ,rega 
+4e0c 20404e1e call hid_malloc_tx_buff 
+4e0d 6fe144df fetch 2 ,mem_hid_ctrl_remote_cid 
+4e0e e7e10005 istore 2 ,contw 
+4e0f 58000000 setarg 0 
+4e10 e7e08005 istore 1 ,contw 
+4e11 70095001 jam 1 ,mem_ui_data_txbuff_length 
+4e12 6fe0c4e5 fetch 1 ,mem_hid_control_state 
+4e13 79207e06 set1 l2cap_channel_hid_handshake_done ,pdata 
+4e14 67e0c4e5 store 1 ,mem_hid_control_state 
+4e15 70095b12 jam bt_evt_hid_handshake ,mem_fifo_temp 
+4e16 204078dc call ui_ipc_send_event 
+4e17 6fe0c09a fetch 1 ,mem_device_option 
+4e18 c1840000 rtnne dvc_op_mouse 
+4e19 2020446c branch mouse_bt_hid_handshake_boot_check 
+
+hid_rx_process_data:
+4e1a efe08006 ifetch 1 ,contr 
+4e1b c000ce1d beq hid_report_id_kb ,hid_rx_process_data_hid_kb 
+4e1c 20600000 rtn 
+
+hid_rx_process_data_hid_kb:
+4e1d 20600000 rtn 
+
+hid_malloc_tx_buff:
+4e1e 204052fb call l2cap_malloc 
+4e1f 1a220400 copy rega ,temp 
+4e20 60488950 storet 1 ,mem_ui_data_txbuff_length 
+4e21 1fe20a00 copy pdata ,contw 
+4e22 1a227e00 copy rega ,pdata 
+4e23 e7e10005 istore 2 ,contw 
+4e24 20600000 rtn 
+
+l2cap_init:
+4e25 2035ce2a branch l2cap_init_wake ,wake 
+
+l2cap_init_work:
+4e26 580045f9 setarg mem_l2cap_xmem_end 
+4e27 d8a044d9 arg mem_l2cap_xmem_start ,contw 
+4e28 98a67200 isub contw ,loopcnt 
+4e29 20407d9b call clear_mem 
+
+l2cap_init_wake:
+4e2a 44f4401d bpatch patch1d_0 ,mem_patch1d 
+4e2b 58000424 setarg mem_sdp_mem_end 
+4e2c d8a003e4 arg mem_sdp_mem_start ,contw 
+4e2d 98a67200 isub contw ,loopcnt 
+4e2e 20407d9b call clear_mem 
+4e2f 5800037a setarg mem_l2cap_mem_end 
+4e30 d8a0030e arg mem_l2cap_mem_start ,contw 
+4e31 98a67200 isub contw ,loopcnt 
+4e32 20407d9b call clear_mem 
+4e33 202053c9 branch l2cap_lpm_load_txbuf 
+
+process_rx_l2cap_pkt:
+4e34 44f4c01d bpatch patch1d_1 ,mem_patch1d 
+4e35 18c20400 copy contr ,temp 
+4e36 18420c00 copy temp ,contr 
+4e37 efe10006 ifetch 2 ,contr 
+4e38 67e10317 store 2 ,mem_l2cap_rx_pkt_length 
+4e39 efe10006 ifetch 2 ,contr 
+4e3a 67e10319 store 2 ,mem_l2cap_rx_cid 
+4e3b 18c27e00 deposit contr 
+4e3c 67e10315 store 2 ,mem_l2cap_payload_ptr 
+4e3d 6fe0c78e fetch 1 ,memui_reconnect_mode 
+4e3e c0004e40 beq no_reconnection ,l2cap_rx_multiplexing 
+4e3f 202051ab branch ml2cap_rx_multiplexing 
+
+l2cap_rx_multiplexing:
+4e40 6fe10317 fetch 2 ,mem_l2cap_rx_pkt_length 
+4e41 203a4eb8 branch l2cap_rx_reset_state ,blank 
+4e42 44f5401d bpatch patch1d_2 ,mem_patch1d 
+4e43 6fe08319 fetch 1 ,mem_l2cap_rx_cid 
+4e44 c000ce56 beq l2cap_signal_channel ,l2cap_call_proc_signal 
+
+l2cap_rx_multiplexing0:
+4e45 c0284e98 beq l2cap_sdp_channel ,l2cap_call_proc_sdp 
+4e46 c028ceb1 beq l2cap_rfcomm_channel ,l2cap_call_proc_rfcomm 
+4e47 c0294eaf beq l2cap_hid_control_channel ,l2cap_call_proc_hid 
+4e48 c029ceaf beq l2cap_hid_interrupt_channel ,l2cap_call_proc_hid 
+4e49 20204eb8 branch l2cap_rx_reset_state 
+
+l2cap_check_map:
+4e4a 44f5c01d bpatch patch1d_3 ,mem_patch1d 
+4e4b 2040535f call l2cap_malloc_get_full_map 
+4e4c 6fe0c4e9 fetch 1 ,mem_used_map 
+4e4d c0007ed1 beq 0 ,set_pdata_0 
+4e4e c000fed1 beq 1 ,set_pdata_0 
+4e4f c0017ed1 beq 2 ,set_pdata_0 
+4e50 c001fed1 beq 3 ,set_pdata_0 
+4e51 c040fed1 beq 0x81 ,set_pdata_0 
+4e52 c0607ed1 beq 0xc0 ,set_pdata_0 
+4e53 c0407ed1 beq 0x80 ,set_pdata_0 
+4e54 c0207ed1 beq 0x40 ,set_pdata_0 
+4e55 20600000 rtn 
+
+l2cap_call_proc_signal:
+4e56 20404e4a call l2cap_check_map 
+4e57 247a0000 nrtn blank 
+
+l2cap_call_proc_signal0:
+4e58 20405369 call l2cap_malloc_signal_channel 
+4e59 20404ebd call l2cap_process_signal_pkt 
+4e5a 68490320 fetcht 2 ,mem_l2cap_signal_tx_length 
+4e5b 203a4eb7 branch l2cap_call_proc_no_reply ,blank 
+4e5c 20405372 call l2cap_get_signal_tx_buff 
+4e5d 6fe10320 fetch 2 ,mem_l2cap_signal_tx_length 
+4e5e e7e10005 istore 2 ,contw 
+4e5f 18007e01 force l2cap_signal_channel ,pdata 
+4e60 e7e10005 istore 2 ,contw 
+4e61 20204eb8 branch l2cap_rx_reset_state 
+
+l2cap_call_proc_sigal_pending:
+4e62 6fe0c5f7 fetch 1 ,mem_l2cap_pending_item 
+4e63 207a0000 rtn blank 
+4e64 1fe22200 copy pdata ,rega 
+4e65 44f6401d bpatch patch1d_4 ,mem_patch1d 
+4e66 6fe20386 fetch 4 ,mem_l2cap_sdpres_delay_time 
+4e67 d8400100 arg 0x100 ,temp 
+4e68 98408400 iadd temp ,temp 
+4e69 1c427e00 copy clkn_bt ,pdata 
+4e6a 98467c00 isub temp ,null 
+4e6b 24610000 nrtn positive 
+4e6c 7045f700 jam 0 ,mem_l2cap_pending_item 
+4e6d 1a227e00 copy rega ,pdata 
+4e6e c0284e70 beq l2cap_sdp_channel ,l2cap_sdp_conn_succ 
+4e6f 2020137c branch assert 
+
+l2cap_sdp_conn_succ:
+4e70 d9000000 arg 0 ,debug 
+4e71 20405369 call l2cap_malloc_signal_channel 
+4e72 20404f36 call restore_l2cap_req_param 
+4e73 20405374 call l2cap_get_signal_tx_payload 
+4e74 20407d61 call save_cont_pointers 
+4e75 20404f69 call send_connection_sdp_res 
+4e76 20405372 call l2cap_get_signal_tx_buff 
+4e77 5800000c setarg 0x000c 
+4e78 e7e10005 istore 2 ,contw 
+4e79 18007e01 force l2cap_signal_channel ,pdata 
+4e7a e7e10005 istore 2 ,contw 
+4e7b 20204eb8 branch l2cap_rx_reset_state 
+
+l2cap_reset_sdp_map:
+4e7c 44f6c01d bpatch patch1d_5 ,mem_patch1d 
+4e7d 6fe10326 fetch 2 ,mem_sdp_tx_pkt_length 
+4e7e 1fe0fe04 increase 4 ,pdata 
+4e7f 20407f27 call rshift7 
+4e80 1fe08401 add pdata ,1 ,temp 
+4e81 d8c044f3 arg mem_tx_fifo3 ,contr 
+4e82 efe18006 ifetch 3 ,contr 
+4e83 207a0000 rtn blank 
+4e84 67e1898e store 3 ,mem_tx_fifo_map_temp 
+4e85 6fe0898e fetch 1 ,mem_tx_fifo_map_temp 
+4e86 1fe22200 copy pdata ,rega 
+4e87 20404e8b call check_l2cap_map 
+4e88 1a427e00 copy regb ,pdata 
+4e89 67e0c4f3 store 1 ,mem_tx_fifo3 
+4e8a 20600000 rtn 
+
+check_l2cap_map:
+4e8b d8e00000 arg 0 ,queue 
+4e8c da400000 arg 0 ,regb 
+
+check_l2cap_map_loop:
+4e8d 18e67c07 sub queue ,7 ,null 
+4e8e 24610000 nrtn positive 
+4e8f aa2fffff qisolate1 rega 
+4e90 2020ce92 branch check_l2cap_map_used ,true 
+4e91 20204e96 branch check_l2cap_map_used2 
+
+check_l2cap_map_used:
+4e92 18427e00 copy temp ,pdata 
+4e93 203a4e96 branch check_l2cap_map_used2 ,blank 
+4e94 f9202400 qset1 regb 
+4e95 184085ff increase -1 ,temp 
+
+check_l2cap_map_used2:
+4e96 18e08e01 increase 1 ,queue 
+4e97 20204e8d branch check_l2cap_map_loop 
+
+l2cap_call_proc_sdp:
+4e98 20405355 call l2cap_malloc_is_fifo_empty 
+4e99 247a0000 nrtn blank 
+4e9a 20404e4a call l2cap_check_map 
+4e9b 247a0000 nrtn blank 
+4e9c 20405376 call l2cap_malloc_sdp_channel 
+4e9d 20406e5e call enable_authrom 
+4e9e 2040672f call sdp_process 
+4e9f 20406e62 call disable_authrom 
+4ea0 20404e7c call l2cap_reset_sdp_map 
+4ea1 20204ea8 branch l2cap_call_proc_sdp_common 
+
+ml2cap_call_proc_sdp:
+4ea2 20405355 call l2cap_malloc_is_fifo_empty 
+4ea3 247a0000 nrtn blank 
+4ea4 20405376 call l2cap_malloc_sdp_channel 
+4ea5 20406e5e call enable_authrom 
+4ea6 2040672f call sdp_process 
+4ea7 20406e62 call disable_authrom 
+
+l2cap_call_proc_sdp_common:
+4ea8 2040537f call l2cap_get_sdp_tx_buff 
+4ea9 6fe10326 fetch 2 ,mem_sdp_tx_pkt_length 
+4eaa 203a4eb7 branch l2cap_call_proc_no_reply ,blank 
+4eab e7e10005 istore 2 ,contw 
+4eac 6fe144db fetch 2 ,mem_sdp_remote_cid 
+4ead e7e10005 istore 2 ,contw 
+4eae 20204eb8 branch l2cap_rx_reset_state 
+
+l2cap_call_proc_hid:
+4eaf 20404dea call hid_rx_process 
+4eb0 20204eb8 branch l2cap_rx_reset_state 
+
+l2cap_call_proc_rfcomm:
+4eb1 44f7401d bpatch patch1d_6 ,mem_patch1d 
+4eb2 70033500 jam rfcomm_malloc_succeed ,mem_rfcomm_malloc_fail_flag 
+4eb3 204063a9 call rfcomm_rx_process 
+4eb4 6fe08335 fetch 1 ,mem_rfcomm_malloc_fail_flag 
+4eb5 c1008000 rtneq rfcomm_malloc_fail 
+4eb6 20204eb8 branch l2cap_rx_reset_state 
+
+l2cap_call_proc_no_reply:
+4eb7 20405345 call l2cap_malloc_discard 
+
+l2cap_rx_reset_state:
+4eb8 58000000 setarg 0 
+4eb9 67e10317 store 2 ,mem_l2cap_rx_pkt_length 
+4eba 67e10319 store 2 ,mem_l2cap_rx_cid 
+4ebb 70031b01 jam l2cap_rx_done ,mem_l2cap_rx_done 
+4ebc 20600000 rtn 
+
+l2cap_process_signal_pkt:
+4ebd 44f7c01d bpatch patch1d_7 ,mem_patch1d 
+4ebe 20405374 call l2cap_get_signal_tx_payload 
+4ebf 18002400 force 0 ,regb 
+4ec0 6fe10317 fetch 2 ,mem_l2cap_rx_pkt_length 
+4ec1 1fe22600 copy pdata ,regc 
+4ec2 6fe10315 fetch 2 ,mem_l2cap_payload_ptr 
+4ec3 98000c00 iforce contr 
+
+l2cap_process_signal_pkt_loop:
+4ec4 20404ecc call l2cap_process_one_signal 
+4ec5 1a627e00 deposit regc 
+4ec6 1a60a7fc increase -4 ,regc 
+4ec7 1fe0fffc increase -4 ,pdata 
+4ec8 243a4ec4 nbranch l2cap_process_signal_pkt_loop ,blank 
+4ec9 1a427e00 copy regb ,pdata 
+4eca 67e10320 store 2 ,mem_l2cap_signal_tx_length 
+4ecb 20600000 rtn 
+
+l2cap_process_one_signal:
+4ecc 44f8401e bpatch patch1e_0 ,mem_patch1e 
+4ecd efe08006 ifetch 1 ,contr 
+4ece c000cf05 beq signal_cmd_reject ,l2cap_proc_signal_cmd_reject 
+4ecf c0014f0d beq signal_connect_req ,l2cap_proc_signal_connect_req 
+4ed0 c001cf91 beq signal_connect_rsp ,l2cap_proc_signal_connect_rsp 
+4ed1 c0024fc1 beq signal_config_req ,l2cap_proc_signal_config_req 
+4ed2 c002d05e beq signal_config_rsp ,l2cap_proc_signal_config_rsp 
+4ed3 c0035087 beq signal_disconnect_req ,l2cap_proc_signal_disconnect_req 
+4ed4 c003d0d7 beq signal_disconnect_rsp ,l2cap_proc_signal_disconnect_rsp 
+4ed5 c004510c beq signal_echo_req ,l2cap_proc_signal_echo_req 
+4ed6 c004d11c beq signal_echo_rsp ,l2cap_proc_signal_echo_rsp 
+4ed7 c0054edb beq signal_info_req ,l2cap_proc_signal_info_req 
+4ed8 c005d11d beq signal_info_rsp ,l2cap_proc_signal_info_rsp 
+4ed9 2040511e call l2cap_reject_command 
+
+l2cap_process_one_signal_rtn:
+4eda 20600000 rtn 
+
+l2cap_proc_signal_info_req:
+4edb efe08006 ifetch 1 ,contr 
+4edc 1fe20e00 copy pdata ,queue 
+4edd efe10006 ifetch 2 ,contr 
+4ede 1fe22200 copy pdata ,rega 
+4edf 1a627e00 copy regc ,pdata 
+4ee0 9a262600 isub rega ,regc 
+4ee1 5800000b setarg signal_info_rsp 
+4ee2 e7e08005 istore 1 ,contw 
+4ee3 18e27e00 copy queue ,pdata 
+4ee4 e7e08005 istore 1 ,contw 
+4ee5 efe10006 ifetch 2 ,contr 
+
+l2cap_proc_signal_info_req_reply:
+4ee6 c0014ee9 beq l2cap_sig_ext_featrue ,l2cap_proc_signal_info_req_ext 
+4ee7 c001ceef beq l2cap_sig_fix_featrue ,l2cap_proc_signal_info_req_fix 
+4ee8 20600000 rtn 
+
+l2cap_proc_signal_info_req_ext:
+4ee9 58020008 setarg 0x020008 
+4eea e7e30005 istore 6 ,contw 
+4eeb 58000280 setarg 0x0280 
+4eec e7e20005 istore 4 ,contw 
+4eed 18007e0c force 12 ,pdata 
+4eee 20204ef4 branch l2cap_proc_signal_info_req_common 
+
+l2cap_proc_signal_info_req_fix:
+4eef 5803000c setarg 0x3000c 
+4ef0 e7e30005 istore 6 ,contw 
+4ef1 58000006 setarg 0x0006 
+4ef2 e7e40005 istore 8 ,contw 
+4ef3 18007e10 force 16 ,pdata 
+
+l2cap_proc_signal_info_req_common:
+4ef4 9a40a400 iadd regb ,regb 
+4ef5 20204eda branch l2cap_process_one_signal_rtn 
+
+ml2cap_proc_signal_info_req:
+4ef6 efe08006 ifetch 1 ,contr 
+4ef7 1fe20e00 copy pdata ,queue 
+4ef8 efe10006 ifetch 2 ,contr 
+4ef9 1fe22200 copy pdata ,rega 
+4efa efe10006 ifetch 2 ,contr 
+4efb 67e10964 store 2 ,mem_temp 
+4efc 1a627e00 copy regc ,pdata 
+4efd 9a262600 isub rega ,regc 
+4efe 20405374 call l2cap_get_signal_tx_payload 
+4eff 5800000b setarg signal_info_rsp 
+4f00 e7e08005 istore 1 ,contw 
+4f01 18e27e00 copy queue ,pdata 
+4f02 e7e08005 istore 1 ,contw 
+4f03 6fe10964 fetch 2 ,mem_temp 
+4f04 20204ee6 branch l2cap_proc_signal_info_req_reply 
+
+l2cap_proc_signal_cmd_reject:
+4f05 efe08006 ifetch 1 ,contr 
+4f06 1fe20e00 copy pdata ,queue 
+4f07 efe10006 ifetch 2 ,contr 
+4f08 1fe22200 copy pdata ,rega 
+4f09 98c08c00 iadd contr ,contr 
+4f0a 1a627e00 copy regc ,pdata 
+4f0b 9a262600 isub rega ,regc 
+
+l2cap_proc_signal_cmd_reject_rtn:
+4f0c 20204eda branch l2cap_process_one_signal_rtn 
+
+l2cap_proc_signal_connect_req:
+4f0d 20407d61 call save_cont_pointers 
+4f0e 20407d66 call load_cont_pointers 
+4f0f d9000000 arg 0 ,debug 
+4f10 efe08006 ifetch 1 ,contr 
+4f11 1fe20e00 copy pdata ,queue 
+4f12 efe10006 ifetch 2 ,contr 
+4f13 1fe22200 copy pdata ,rega 
+4f14 efe10006 ifetch 2 ,contr 
+4f15 1fe20400 copy pdata ,temp 
+4f16 efe10006 ifetch 2 ,contr 
+4f17 1fe21600 copy pdata ,timeup 
+4f18 44f8c01e bpatch patch1e_1 ,mem_patch1e 
+4f19 18427e00 copy temp ,pdata 
+4f1a c000cf20 beq psm_sdp ,l2cap_proc_signal_connect_req_sdp 
+4f1b c001cf42 beq psm_rfcomm ,l2cap_proc_signal_connect_req_rfcomm 
+4f1c c008cf4e beq psm_hid_control ,l2cap_proc_signal_connect_req_hid_ctrl 
+4f1d c009cf59 beq psm_hid_interrupt ,l2cap_proc_signal_connect_req_hid_int 
+4f1e 2040511e call l2cap_reject_command 
+4f1f 20204f90 branch l2cap_proc_signal_connect_req_rtn 
+
+l2cap_proc_signal_connect_req_sdp:
+4f20 20407d61 call save_cont_pointers 
+4f21 d8400050 arg l2cap_sdp_channel ,temp 
+4f22 6fe144db fetch 2 ,mem_sdp_remote_cid 
+4f23 243a4f8a nbranch already_connected ,blank 
+4f24 19627e00 copy timeup ,pdata 
+4f25 67e144db store 2 ,mem_sdp_remote_cid 
+4f26 1c427e00 copy clkn_bt ,pdata 
+4f27 67e20386 store 4 ,mem_l2cap_sdpres_delay_time 
+4f28 20404f2a call store_l2cap_req_param 
+4f29 20204f65 branch send_connection_pending 
+
+store_l2cap_req_param:
+4f2a 60490384 storet 2 ,mem_psm 
+4f2b 19627e00 deposit timeup 
+4f2c 67e1037a store 2 ,mem_scid 
+4f2d 1a227e00 deposit rega 
+4f2e 67e1037c store 2 ,mem_cmd_length 
+4f2f 1a427e00 deposit regb 
+4f30 67e1037e store 2 ,mem_tt2 
+4f31 1a627e00 deposit regc 
+4f32 67e10380 store 2 ,mem_tt3 
+4f33 18e27e00 deposit queue 
+4f34 67e10382 store 2 ,mem_id 
+4f35 20600000 rtn 
+
+restore_l2cap_req_param:
+4f36 68490384 fetcht 2 ,mem_psm 
+4f37 6fe1037a fetch 2 ,mem_scid 
+4f38 1fe21600 copy pdata ,timeup 
+4f39 6fe1037c fetch 2 ,mem_cmd_length 
+4f3a 1fe22200 copy pdata ,rega 
+4f3b 6fe1037e fetch 2 ,mem_tt2 
+4f3c 1fe22400 copy pdata ,regb 
+4f3d 6fe10380 fetch 2 ,mem_tt3 
+4f3e 1fe22600 copy pdata ,regc 
+4f3f 6fe10382 fetch 2 ,mem_id 
+4f40 1fe20e00 copy pdata ,queue 
+4f41 20600000 rtn 
+
+l2cap_proc_signal_connect_req_rfcomm:
+4f42 20407d61 call save_cont_pointers 
+4f43 58000051 setarg l2cap_rfcomm_channel 
+4f44 d8400051 arg l2cap_rfcomm_channel ,temp 
+4f45 6fe144dd fetch 2 ,mem_rfcomm_remote_cid 
+4f46 243a4f8a nbranch already_connected ,blank 
+4f47 19627e00 copy timeup ,pdata 
+4f48 67e144dd store 2 ,mem_rfcomm_remote_cid 
+4f49 6fe0c4e4 fetch 1 ,mem_rfcomm_state 
+4f4a 79207e00 set1 l2cap_channel_state_conn_req ,pdata 
+4f4b 79207e01 set1 l2cap_channel_state_conn_res ,pdata 
+4f4c 67e0c4e4 store 1 ,mem_rfcomm_state 
+4f4d 20204f6d branch send_connection_res 
+
+l2cap_proc_signal_connect_req_hid_ctrl:
+4f4e 20407d61 call save_cont_pointers 
+4f4f d8400052 arg l2cap_hid_control_channel ,temp 
+4f50 6fe144df fetch 2 ,mem_hid_ctrl_remote_cid 
+4f51 243a4f8a nbranch already_connected ,blank 
+4f52 19627e00 copy timeup ,pdata 
+4f53 67e144df store 2 ,mem_hid_ctrl_remote_cid 
+4f54 6fe0c4e5 fetch 1 ,mem_hid_control_state 
+4f55 79207e00 set1 l2cap_channel_state_conn_req ,pdata 
+4f56 79207e01 set1 l2cap_channel_state_conn_res ,pdata 
+4f57 67e0c4e5 store 1 ,mem_hid_control_state 
+4f58 20204f6d branch send_connection_res 
+
+l2cap_proc_signal_connect_req_hid_int:
+4f59 20407d61 call save_cont_pointers 
+4f5a 1b427e00 deposit clke 
+4f5b d8400053 arg l2cap_hid_interrupt_channel ,temp 
+4f5c 6fe144e1 fetch 2 ,mem_hid_int_remote_cid 
+4f5d 243a4f8a nbranch already_connected ,blank 
+4f5e 19627e00 copy timeup ,pdata 
+4f5f 67e144e1 store 2 ,mem_hid_int_remote_cid 
+4f60 6fe0c4e6 fetch 1 ,mem_hid_interrupt_state 
+4f61 79207e00 set1 l2cap_channel_state_conn_req ,pdata 
+4f62 79207e01 set1 l2cap_channel_state_conn_res ,pdata 
+4f63 67e0c4e6 store 1 ,mem_hid_interrupt_state 
+4f64 20204f6d branch send_connection_res 
+
+send_connection_pending:
+4f65 58000001 setarg l2cap_connect_pending 
+4f66 67e1032e store 2 ,meml2cap_t1 
+4f67 7045f750 jam l2cap_sdp_channel ,mem_l2cap_pending_item 
+4f68 20204f6f branch send_connection_res0 
+
+send_connection_sdp_res:
+4f69 6fe0c4e3 fetch 1 ,mem_sdp_state 
+4f6a 79207e00 set1 l2cap_channel_state_conn_req ,pdata 
+4f6b 79207e01 set1 l2cap_channel_state_conn_res ,pdata 
+4f6c 67e0c4e3 store 1 ,mem_sdp_state 
+
+send_connection_res:
+4f6d 58000000 setarg l2cap_connect_successful 
+4f6e 67e1032e store 2 ,meml2cap_t1 
+
+send_connection_res0:
+4f6f 44f9401e bpatch patch1e_2 ,mem_patch1e 
+4f70 20407d66 call load_cont_pointers 
+4f71 58000003 setarg signal_connect_rsp 
+4f72 e7e08005 istore 1 ,contw 
+4f73 18e27e00 copy queue ,pdata 
+4f74 e7e08005 istore 1 ,contw 
+4f75 58000008 setarg 0x0008 
+4f76 e7e10005 istore 2 ,contw 
+4f77 18427e00 copy temp ,pdata 
+4f78 e7e10005 istore 2 ,contw 
+4f79 19627e00 copy timeup ,pdata 
+4f7a e7e10005 istore 2 ,contw 
+4f7b 6fe1032e fetch 2 ,meml2cap_t1 
+4f7c c000cf85 beq l2cap_connect_pending ,connect_pending 
+4f7d 290c0000 isolate0 0 ,debug 
+4f7e 2020cf80 branch connect_suc ,true 
+4f7f 58000004 setarg l2cap_connect_refused_no_resources 
+
+connect_suc:
+4f80 e7e10005 istore 2 ,contw 
+4f81 18007e00 force 0x0000 ,pdata 
+4f82 e7e10005 istore 2 ,contw 
+4f83 5800000c setarg 12 
+4f84 20204f8c branch connect_req_update_byte_counts 
+
+connect_pending:
+4f85 e7e10005 istore 2 ,contw 
+4f86 18007e02 force 0x0002 ,pdata 
+4f87 e7e10005 istore 2 ,contw 
+4f88 5800000c setarg 12 
+4f89 20204f8c branch connect_req_update_byte_counts 
+
+already_connected:
+4f8a 79201000 set1 0 ,debug 
+4f8b 20204f6d branch send_connection_res 
+
+connect_req_update_byte_counts:
+4f8c 9a40a400 iadd regb ,regb 
+4f8d 1a627e00 copy regc ,pdata 
+4f8e 9a262600 isub rega ,regc 
+4f8f 20204f90 branch l2cap_proc_signal_connect_req_rtn 
+
+l2cap_proc_signal_connect_req_rtn:
+4f90 20204eda branch l2cap_process_one_signal_rtn 
+
+l2cap_proc_signal_connect_rsp:
+4f91 efe08006 ifetch 1 ,contr 
+4f92 1fe20e00 copy pdata ,queue 
+4f93 efe10006 ifetch 2 ,contr 
+4f94 1fe22200 copy pdata ,rega 
+4f95 1a627e00 copy regc ,pdata 
+4f96 9a262600 isub rega ,regc 
+4f97 efe10006 ifetch 2 ,contr 
+4f98 1fe21600 copy pdata ,timeup 
+4f99 efe10006 ifetch 2 ,contr 
+4f9a 1fe20400 copy pdata ,temp 
+4f9b 44f9c01e bpatch patch1e_3 ,mem_patch1e 
+4f9c 58000050 setarg l2cap_sdp_channel 
+4f9d 98467c00 isub temp ,null 
+4f9e 2022cfa9 branch l2cap_proc_signal_connect_rsp_sdp ,zero 
+4f9f 58000051 setarg l2cap_rfcomm_channel 
+4fa0 98467c00 isub temp ,null 
+4fa1 2022cfaf branch l2cap_proc_signal_connect_rsp_rfcomm ,zero 
+4fa2 58000052 setarg l2cap_hid_control_channel 
+4fa3 98467c00 isub temp ,null 
+4fa4 2022cfbb branch l2cap_proc_signal_connect_rsp_hid_ctrl ,zero 
+4fa5 58000053 setarg l2cap_hid_interrupt_channel 
+4fa6 98467c00 isub temp ,null 
+4fa7 2022cfb5 branch l2cap_proc_signal_connect_rsp_hid_int ,zero 
+4fa8 20600000 rtn 
+
+l2cap_proc_signal_connect_rsp_sdp:
+4fa9 19627e00 copy timeup ,pdata 
+4faa 67e144db store 2 ,mem_sdp_remote_cid 
+4fab 6fe0c4e3 fetch 1 ,mem_sdp_state 
+4fac 79207e01 set1 l2cap_channel_state_conn_res ,pdata 
+4fad 67e0c4e3 store 1 ,mem_sdp_state 
+4fae 20204eda branch l2cap_process_one_signal_rtn 
+
+l2cap_proc_signal_connect_rsp_rfcomm:
+4faf 19627e00 copy timeup ,pdata 
+4fb0 67e144dd store 2 ,mem_rfcomm_remote_cid 
+4fb1 6fe0c4e4 fetch 1 ,mem_rfcomm_state 
+4fb2 79207e01 set1 l2cap_channel_state_conn_res ,pdata 
+4fb3 67e0c4e4 store 1 ,mem_rfcomm_state 
+4fb4 20600000 rtn 
+
+l2cap_proc_signal_connect_rsp_hid_int:
+4fb5 19627e00 copy timeup ,pdata 
+4fb6 67e144df store 2 ,mem_hid_ctrl_remote_cid 
+4fb7 6fe0c4e6 fetch 1 ,mem_hid_interrupt_state 
+4fb8 79207e01 set1 l2cap_channel_state_conn_res ,pdata 
+4fb9 67e0c4e6 store 1 ,mem_hid_interrupt_state 
+4fba 20600000 rtn 
+
+l2cap_proc_signal_connect_rsp_hid_ctrl:
+4fbb 19627e00 copy timeup ,pdata 
+4fbc 67e144e1 store 2 ,mem_hid_int_remote_cid 
+4fbd 6fe0c4e5 fetch 1 ,mem_hid_control_state 
+4fbe 79207e01 set1 l2cap_channel_state_conn_res ,pdata 
+4fbf 67e0c4e5 store 1 ,mem_hid_control_state 
+4fc0 20600000 rtn 
+
+l2cap_proc_signal_config_req:
+4fc1 efe08006 ifetch 1 ,contr 
+4fc2 1fe20e00 copy pdata ,queue 
+4fc3 efe10006 ifetch 2 ,contr 
+4fc4 1fe22200 copy pdata ,rega 
+4fc5 1a627e00 copy regc ,pdata 
+4fc6 9a262600 isub rega ,regc 
+4fc7 efe10006 ifetch 2 ,contr 
+4fc8 1fe20400 copy pdata ,temp 
+4fc9 18422200 copy temp ,rega 
+4fca 44fa401e bpatch patch1e_4 ,mem_patch1e 
+4fcb 58000050 setarg l2cap_sdp_channel 
+4fcc 98467c00 isub temp ,null 
+4fcd 2022cfd8 branch l2cap_proc_signal_config_req_sdp ,zero 
+4fce 58000051 setarg l2cap_rfcomm_channel 
+4fcf 98467c00 isub temp ,null 
+4fd0 2022cff6 branch l2cap_proc_signal_config_req_rfcomm ,zero 
+4fd1 58000052 setarg l2cap_hid_control_channel 
+4fd2 98467c00 isub temp ,null 
+4fd3 2022cfe2 branch l2cap_proc_signal_config_req_hid_ctrl ,zero 
+4fd4 58000053 setarg l2cap_hid_interrupt_channel 
+4fd5 98467c00 isub temp ,null 
+4fd6 2022cfec branch l2cap_proc_signal_config_req_hid_int ,zero 
+4fd7 2020511e branch l2cap_reject_command 
+
+l2cap_proc_signal_config_req_sdp:
+4fd8 18a21600 copy contw ,timeup 
+4fd9 6fe0c4e3 fetch 1 ,mem_sdp_state 
+4fda 79207e04 set1 l2cap_channel_state_rcv_cfg_req ,pdata 
+4fdb 79207e03 set1 l2cap_channel_state_snd_cfg_res ,pdata 
+4fdc 67e0c4e3 store 1 ,mem_sdp_state 
+4fdd 19620a00 copy timeup ,contw 
+4fde d9600050 arg l2cap_sdp_channel ,timeup 
+4fdf 6fe144db fetch 2 ,mem_sdp_remote_cid 
+4fe0 1fe20400 copy pdata ,temp 
+4fe1 20204fff branch l2cap_send_config_rsp 
+
+l2cap_proc_signal_config_req_hid_ctrl:
+4fe2 18a21600 copy contw ,timeup 
+4fe3 6fe0c4e5 fetch 1 ,mem_hid_control_state 
+4fe4 79207e04 set1 l2cap_channel_state_rcv_cfg_req ,pdata 
+4fe5 79207e03 set1 l2cap_channel_state_snd_cfg_res ,pdata 
+4fe6 67e0c4e5 store 1 ,mem_hid_control_state 
+4fe7 19620a00 copy timeup ,contw 
+4fe8 d9600052 arg l2cap_hid_control_channel ,timeup 
+4fe9 6fe144df fetch 2 ,mem_hid_ctrl_remote_cid 
+4fea 1fe20400 copy pdata ,temp 
+4feb 20204fff branch l2cap_send_config_rsp 
+
+l2cap_proc_signal_config_req_hid_int:
+4fec 18a21600 copy contw ,timeup 
+4fed 6fe0c4e6 fetch 1 ,mem_hid_interrupt_state 
+4fee 79207e04 set1 l2cap_channel_state_rcv_cfg_req ,pdata 
+4fef 79207e03 set1 l2cap_channel_state_snd_cfg_res ,pdata 
+4ff0 67e0c4e6 store 1 ,mem_hid_interrupt_state 
+4ff1 19620a00 copy timeup ,contw 
+4ff2 d9600053 arg l2cap_hid_interrupt_channel ,timeup 
+4ff3 6fe144e1 fetch 2 ,mem_hid_int_remote_cid 
+4ff4 1fe20400 copy pdata ,temp 
+4ff5 20204fff branch l2cap_send_config_rsp 
+
+l2cap_proc_signal_config_req_rfcomm:
+4ff6 18a21600 copy contw ,timeup 
+4ff7 6fe0c4e4 fetch 1 ,mem_rfcomm_state 
+4ff8 79207e04 set1 l2cap_channel_state_rcv_cfg_req ,pdata 
+4ff9 79207e03 set1 l2cap_channel_state_snd_cfg_res ,pdata 
+4ffa 67e0c4e4 store 1 ,mem_rfcomm_state 
+4ffb 19620a00 copy timeup ,contw 
+4ffc d9600051 arg l2cap_rfcomm_channel ,timeup 
+4ffd 6fe144dd fetch 2 ,mem_rfcomm_remote_cid 
+4ffe 1fe20400 copy pdata ,temp 
+
+l2cap_send_config_rsp:
+4fff 44fac01e bpatch patch1e_5 ,mem_patch1e 
+5000 58000005 setarg signal_config_rsp 
+5001 e7e08005 istore 1 ,contw 
+5002 18e27e00 copy queue ,pdata 
+5003 e7e08005 istore 1 ,contw 
+5004 58000006 setarg 0x0006 
+5005 e7e10005 istore 2 ,contw 
+5006 18427e00 copy temp ,pdata 
+5007 e7e10005 istore 2 ,contw 
+5008 18007e00 force 0x00 ,pdata 
+5009 e7e10005 istore 2 ,contw 
+500a 18007e00 force l2cap_config_success ,pdata 
+500b e7e10005 istore 2 ,contw 
+500c 18007e0a force 10 ,pdata 
+500d 9a40a400 iadd regb ,regb 
+500e 60490333 storet 2 ,mem_config_req_dest_cid 
+500f 18e27e00 copy queue ,pdata 
+5010 67e08332 store 1 ,mem_config_identifier 
+5011 18007e50 force l2cap_sdp_channel ,pdata 
+5012 a961fe00 icompare 0xff ,timeup 
+5013 2020d015 branch l2cap_send_config_rsp_is_sdp ,true 
+5014 1fe0fe01 increase 1 ,pdata 
+
+l2cap_send_config_rsp_is_sdp:
+5015 20600000 rtn 
+
+l2cap_check_channel_state:
+5016 78547c00 disable user 
+5017 c3810000 rtnbit1 l2cap_channel_state_snd_cfg_req ,pdata 
+5018 c4000000 rtnbit0 l2cap_channel_state_conn_req ,pdata 
+5019 c4008000 rtnbit0 l2cap_channel_state_conn_res ,pdata 
+501a 79207e02 set1 l2cap_channel_state_snd_cfg_req ,pdata 
+501b 18c20a00 copy contr ,contw 
+501c 18a08bff increase -1 ,contw 
+501d e7e08005 istore 1 ,contw 
+501e 78347c00 enable user 
+501f 20600000 rtn 
+
+l2cap_send_config_req:
+
+l2cap_send_config_req_sdp:
+5020 6fe0c4e3 fetch 1 ,mem_sdp_state 
+5021 20405016 call l2cap_check_channel_state 
+5022 24345027 nbranch l2cap_send_config_req_rfcomm ,user 
+5023 70033150 jam l2cap_sdp_channel ,mem_send_config_req 
+5024 6fe144db fetch 2 ,mem_sdp_remote_cid 
+5025 67e10333 store 2 ,mem_config_req_dest_cid 
+5026 2020503b branch l2cap_generate_config_req 
+
+l2cap_send_config_req_rfcomm:
+5027 6fe0c4e4 fetch 1 ,mem_rfcomm_state 
+5028 20405016 call l2cap_check_channel_state 
+5029 2434502e nbranch l2cap_send_config_req_hid_ctrl ,user 
+502a 70033151 jam l2cap_rfcomm_channel ,mem_send_config_req 
+502b 6fe144dd fetch 2 ,mem_rfcomm_remote_cid 
+502c 67e10333 store 2 ,mem_config_req_dest_cid 
+502d 2020503b branch l2cap_generate_config_req 
+
+l2cap_send_config_req_hid_ctrl:
+502e 6fe0c4e5 fetch 1 ,mem_hid_control_state 
+502f 20405016 call l2cap_check_channel_state 
+5030 24345035 nbranch l2cap_send_config_req_hid_int ,user 
+5031 70033152 jam l2cap_hid_control_channel ,mem_send_config_req 
+5032 6fe144df fetch 2 ,mem_hid_ctrl_remote_cid 
+5033 67e10333 store 2 ,mem_config_req_dest_cid 
+5034 2020503b branch l2cap_generate_config_req 
+
+l2cap_send_config_req_hid_int:
+5035 6fe0c4e6 fetch 1 ,mem_hid_interrupt_state 
+5036 20405016 call l2cap_check_channel_state 
+5037 24740000 nrtn user 
+5038 70033153 jam l2cap_hid_interrupt_channel ,mem_send_config_req 
+5039 6fe144e1 fetch 2 ,mem_hid_int_remote_cid 
+503a 67e10333 store 2 ,mem_config_req_dest_cid 
+
+l2cap_generate_config_req:
+503b 44fb401e bpatch patch1e_6 ,mem_patch1e 
+503c 204052f5 call l2cap_get_req_id 
+503d 20405369 call l2cap_malloc_signal_channel 
+503e 18002400 force 0 ,regb 
+503f 20405374 call l2cap_get_signal_tx_payload 
+5040 18007e04 force signal_config_req ,pdata 
+5041 e7e08005 istore 1 ,contw 
+5042 6fe0c4e8 fetch 1 ,mem_ml2cap_comm_id 
+5043 e7e08005 istore 1 ,contw 
+5044 58000008 setarg 0x0008 
+5045 e7e10005 istore 2 ,contw 
+5046 6fe10333 fetch 2 ,mem_config_req_dest_cid 
+5047 e7e10005 istore 2 ,contw 
+5048 58000000 setarg 0x0000 
+5049 e7e10005 istore 2 ,contw 
+504a 18007e01 force 1 ,pdata 
+504b e7e08005 istore 1 ,contw 
+504c 18007e02 force 2 ,pdata 
+504d e7e08005 istore 1 ,contw 
+504e 6fe08331 fetch 1 ,mem_send_config_req 
+504f c028d053 beq l2cap_rfcomm_channel ,l2cap_generate_config_req_rfcomm 
+5050 58000030 setarg l2cap_config_mtu_sdp 
+5051 e7e10005 istore 2 ,contw 
+5052 20205055 branch l2cap_generate_config_req_done 
+
+l2cap_generate_config_req_rfcomm:
+5053 580003e3 setarg l2cap_config_mtu_rfcomm 
+5054 e7e10005 istore 2 ,contw 
+
+l2cap_generate_config_req_done:
+5055 d840000c arg 0x0c ,temp 
+5056 60490320 storet 2 ,mem_l2cap_signal_tx_length 
+5057 20405372 call l2cap_get_signal_tx_buff 
+5058 6fe10320 fetch 2 ,mem_l2cap_signal_tx_length 
+5059 e7e10005 istore 2 ,contw 
+505a 18007e01 force l2cap_signal_channel ,pdata 
+505b e7e10005 istore 2 ,contw 
+505c 70033100 jam 0 ,mem_send_config_req 
+
+l2cap_proc_signal_config_req_rtn:
+505d 20204eda branch l2cap_process_one_signal_rtn 
+
+l2cap_proc_signal_config_rsp:
+505e 18c08c01 increase 1 ,contr 
+505f efe10006 ifetch 2 ,contr 
+5060 1fe22200 copy pdata ,rega 
+5061 1a627e00 copy regc ,pdata 
+5062 9a262600 isub rega ,regc 
+5063 efe10006 ifetch 2 ,contr 
+5064 1fe22200 copy pdata ,rega 
+5065 44fbc01e bpatch patch1e_7 ,mem_patch1e 
+5066 58000050 setarg l2cap_sdp_channel 
+5067 9a267c00 isub rega ,null 
+5068 2022d076 branch l2cap_proc_signal_config_rsp_sdp ,zero 
+5069 58000051 setarg l2cap_rfcomm_channel 
+506a 9a267c00 isub rega ,null 
+506b 2022d07a branch l2cap_proc_signal_config_rsp_rfcomm ,zero 
+506c 58000052 setarg l2cap_hid_control_channel 
+506d 9a267c00 isub rega ,null 
+506e 2022d07e branch l2cap_proc_signal_config_rsp_hid_ctrl ,zero 
+506f 58000053 setarg l2cap_hid_interrupt_channel 
+5070 9a267c00 isub rega ,null 
+5071 2022d082 branch l2cap_proc_signal_config_rsp_hid_int ,zero 
+5072 18c08c02 increase 2 ,contr 
+5073 efe10006 ifetch 2 ,contr 
+5074 98007c00 iforce null 
+5075 20204eda branch l2cap_process_one_signal_rtn 
+
+l2cap_proc_signal_config_rsp_sdp:
+5076 6fe0c4e3 fetch 1 ,mem_sdp_state 
+5077 79207e05 set1 l2cap_channel_state_rcv_cfg_res ,pdata 
+5078 67e0c4e3 store 1 ,mem_sdp_state 
+5079 20204eda branch l2cap_process_one_signal_rtn 
+
+l2cap_proc_signal_config_rsp_rfcomm:
+507a 6fe0c4e4 fetch 1 ,mem_rfcomm_state 
+507b 79207e05 set1 l2cap_channel_state_rcv_cfg_res ,pdata 
+507c 67e0c4e4 store 1 ,mem_rfcomm_state 
+507d 20204eda branch l2cap_process_one_signal_rtn 
+
+l2cap_proc_signal_config_rsp_hid_ctrl:
+507e 6fe0c4e5 fetch 1 ,mem_hid_control_state 
+507f 79207e05 set1 l2cap_channel_state_rcv_cfg_res ,pdata 
+5080 67e0c4e5 store 1 ,mem_hid_control_state 
+5081 20204eda branch l2cap_process_one_signal_rtn 
+
+l2cap_proc_signal_config_rsp_hid_int:
+5082 6fe0c4e6 fetch 1 ,mem_hid_interrupt_state 
+5083 79207e05 set1 l2cap_channel_state_rcv_cfg_res ,pdata 
+5084 67e0c4e6 store 1 ,mem_hid_interrupt_state 
+5085 70095b06 jam bt_evt_hid_connected ,mem_fifo_temp 
+5086 202078dc branch ui_ipc_send_event 
+
+l2cap_proc_signal_disconnect_req:
+5087 efe08006 ifetch 1 ,contr 
+5088 1fe20e00 copy pdata ,queue 
+5089 efe10006 ifetch 2 ,contr 
+508a 1fe22200 copy pdata ,rega 
+508b 1a627e00 copy regc ,pdata 
+508c 9a262600 isub rega ,regc 
+508d efe10006 ifetch 2 ,contr 
+508e 1fe22200 copy pdata ,rega 
+508f efe10006 ifetch 2 ,contr 
+5090 1fe21600 copy pdata ,timeup 
+5091 1a220400 copy rega ,temp 
+5092 20407d61 call save_cont_pointers 
+5093 44fc401f bpatch patch1f_0 ,mem_patch1f 
+5094 58000050 setarg l2cap_sdp_channel 
+5095 98467c00 isub temp ,null 
+5096 2022d0ae branch l2cap_proc_signal_disconnect_req_sdp ,zero 
+5097 58000051 setarg l2cap_rfcomm_channel 
+5098 98467c00 isub temp ,null 
+5099 2022d0be branch l2cap_proc_signal_disconnect_req_rfcomm ,zero 
+509a 58000052 setarg l2cap_hid_control_channel 
+509b 98467c00 isub temp ,null 
+509c 2022d0a2 branch l2cap_proc_signal_disconnect_req_hid_ctrl ,zero 
+509d 58000053 setarg l2cap_hid_interrupt_channel 
+509e 98467c00 isub temp ,null 
+509f 2022d0a8 branch l2cap_proc_signal_disconnect_req_hid_int ,zero 
+50a0 2040511e call l2cap_reject_command 
+50a1 202050d3 branch l2cap_proc_signal_disconnect_req_err_rtn 
+
+l2cap_proc_signal_disconnect_req_hid_ctrl:
+50a2 19620400 copy timeup ,temp 
+50a3 6fe144df fetch 2 ,mem_hid_ctrl_remote_cid 
+50a4 98467c00 isub temp ,null 
+50a5 2022d0b4 branch l2cap_disconnect_hid_control_now ,zero 
+50a6 2040511e call l2cap_reject_command 
+50a7 202050d3 branch l2cap_proc_signal_disconnect_req_err_rtn 
+
+l2cap_proc_signal_disconnect_req_hid_int:
+50a8 19620400 copy timeup ,temp 
+50a9 6fe144e1 fetch 2 ,mem_hid_int_remote_cid 
+50aa 98467c00 isub temp ,null 
+50ab 2022d0b6 branch l2cap_disconnect_hid_interrupt_now ,zero 
+50ac 2040511e call l2cap_reject_command 
+50ad 202050d3 branch l2cap_proc_signal_disconnect_req_err_rtn 
+
+l2cap_proc_signal_disconnect_req_sdp:
+50ae 19620400 copy timeup ,temp 
+50af 6fe144db fetch 2 ,mem_sdp_remote_cid 
+50b0 98467c00 isub temp ,null 
+50b1 2022d0ba branch l2cap_disconnect_sdp_now ,zero 
+50b2 2040511e call l2cap_reject_command 
+50b3 202050d3 branch l2cap_proc_signal_disconnect_req_err_rtn 
+
+l2cap_disconnect_hid_control_now:
+50b4 20405135 call l2cap_reset_hid_ctrl_state 
+50b5 202050c6 branch l2cap_send_disconnect_rsp_pkt 
+
+l2cap_disconnect_hid_interrupt_now:
+50b6 2040513b call l2cap_reset_hid_int_state 
+50b7 6fe144df fetch 2 ,mem_hid_ctrl_remote_cid 
+50b8 203a50c6 branch l2cap_send_disconnect_rsp_pkt ,blank 
+50b9 202050c6 branch l2cap_send_disconnect_rsp_pkt 
+
+l2cap_disconnect_sdp_now:
+50ba 20405130 call l2cap_reset_sdp_channel_state 
+50bb 6fe08339 fetch 1 ,mem_upper_sm_ss 
+50bc 243a50c6 nbranch l2cap_send_disconnect_rsp_pkt ,blank 
+50bd 202050c6 branch l2cap_send_disconnect_rsp_pkt 
+
+l2cap_proc_signal_disconnect_req_rfcomm:
+50be 19620400 copy timeup ,temp 
+50bf 6fe144dd fetch 2 ,mem_rfcomm_remote_cid 
+50c0 98467c00 isub temp ,null 
+50c1 2022d0c4 branch l2cap_disconnect_rfcomm_now ,zero 
+50c2 2040511e call l2cap_reject_command 
+50c3 202050d3 branch l2cap_proc_signal_disconnect_req_err_rtn 
+
+l2cap_disconnect_rfcomm_now:
+50c4 2040512b call l2cap_reset_rfcomm_channel_state 
+50c5 202050c6 branch l2cap_send_disconnect_rsp_pkt 
+
+l2cap_send_disconnect_rsp_pkt:
+50c6 20407d66 call load_cont_pointers 
+50c7 58000007 setarg signal_disconnect_rsp 
+50c8 e7e08005 istore 1 ,contw 
+50c9 18e27e00 copy queue ,pdata 
+50ca e7e08005 istore 1 ,contw 
+50cb 58000004 setarg 0x0004 
+50cc e7e10005 istore 2 ,contw 
+50cd 1a227e00 copy rega ,pdata 
+50ce e7e10005 istore 2 ,contw 
+50cf 19627e00 copy timeup ,pdata 
+50d0 e7e10005 istore 2 ,contw 
+50d1 18007e08 force 8 ,pdata 
+50d2 202050d5 branch l2cap_proc_signal_disconnect_req_rtn 
+
+l2cap_proc_signal_disconnect_req_err_rtn:
+50d3 20407d66 call load_cont_pointers 
+50d4 202050d5 branch l2cap_proc_signal_disconnect_req_rtn 
+
+l2cap_proc_signal_disconnect_req_rtn:
+50d5 9a40a400 iadd regb ,regb 
+50d6 20204eda branch l2cap_process_one_signal_rtn 
+
+l2cap_proc_signal_disconnect_rsp:
+50d7 efe08006 ifetch 1 ,contr 
+50d8 1fe20e00 copy pdata ,queue 
+50d9 efe10006 ifetch 2 ,contr 
+50da 1fe22200 copy pdata ,rega 
+50db 1a627e00 copy regc ,pdata 
+50dc 9a262600 isub rega ,regc 
+50dd efe10006 ifetch 2 ,contr 
+50de 1fe21600 copy pdata ,timeup 
+50df efe10006 ifetch 2 ,contr 
+50e0 1fe20400 copy pdata ,temp 
+50e1 20407d61 call save_cont_pointers 
+50e2 44fcc01f bpatch patch1f_1 ,mem_patch1f 
+50e3 58000050 setarg l2cap_sdp_channel 
+50e4 98467c00 isub temp ,null 
+50e5 2022d0f1 branch l2cap_proc_signal_disconnect_rsp_sdp ,zero 
+50e6 58000051 setarg l2cap_rfcomm_channel 
+50e7 98467c00 isub temp ,null 
+50e8 2022d0f7 branch l2cap_proc_signal_disconnect_rsp_rfcomm ,zero 
+50e9 58000052 setarg l2cap_hid_control_channel 
+50ea 98467c00 isub temp ,null 
+50eb 2022d0fd branch l2cap_proc_signal_disconnect_rsp_hid_ctrl ,zero 
+50ec 58000053 setarg l2cap_hid_interrupt_channel 
+50ed 98467c00 isub temp ,null 
+50ee 2022d103 branch l2cap_proc_signal_disconnect_rsp_hid_int ,zero 
+50ef 2040511e call l2cap_reject_command 
+50f0 2020510b branch l2cap_proc_signal_disconnect_rsp_err_rtn 
+
+l2cap_proc_signal_disconnect_rsp_sdp:
+50f1 18422200 copy temp ,rega 
+50f2 19620400 copy timeup ,temp 
+50f3 6fe144db fetch 2 ,mem_sdp_remote_cid 
+50f4 98467c00 isub temp ,null 
+50f5 2042d130 call l2cap_reset_sdp_channel_state ,zero 
+50f6 20205109 branch l2cap_proc_signal_disconnect_rsp_rtn 
+
+l2cap_proc_signal_disconnect_rsp_rfcomm:
+50f7 18422200 copy temp ,rega 
+50f8 19620400 copy timeup ,temp 
+50f9 6fe144dd fetch 2 ,mem_rfcomm_remote_cid 
+50fa 98467c00 isub temp ,null 
+50fb 2042d12b call l2cap_reset_rfcomm_channel_state ,zero 
+50fc 20205109 branch l2cap_proc_signal_disconnect_rsp_rtn 
+
+l2cap_proc_signal_disconnect_rsp_hid_ctrl:
+50fd 18422200 copy temp ,rega 
+50fe 19620400 copy timeup ,temp 
+50ff 6fe144df fetch 2 ,mem_hid_ctrl_remote_cid 
+5100 98467c00 isub temp ,null 
+5101 2042d135 call l2cap_reset_hid_ctrl_state ,zero 
+5102 20205109 branch l2cap_proc_signal_disconnect_rsp_rtn 
+
+l2cap_proc_signal_disconnect_rsp_hid_int:
+5103 18422200 copy temp ,rega 
+5104 19620400 copy timeup ,temp 
+5105 6fe144e1 fetch 2 ,mem_hid_int_remote_cid 
+5106 98467c00 isub temp ,null 
+5107 2042d13b call l2cap_reset_hid_int_state ,zero 
+5108 20205109 branch l2cap_proc_signal_disconnect_rsp_rtn 
+
+l2cap_proc_signal_disconnect_rsp_rtn:
+5109 20407d66 call load_cont_pointers 
+510a 20204eda branch l2cap_process_one_signal_rtn 
+
+l2cap_proc_signal_disconnect_rsp_err_rtn:
+510b 20204eda branch l2cap_process_one_signal_rtn 
+
+l2cap_proc_signal_echo_req:
+510c efe08006 ifetch 1 ,contr 
+510d 1fe20e00 copy pdata ,queue 
+510e efe10006 ifetch 2 ,contr 
+510f 1fe22200 copy pdata ,rega 
+5110 98c08c00 iadd contr ,contr 
+5111 58000009 setarg 9 
+5112 e7e08005 istore 1 ,contw 
+5113 18e27e00 copy queue ,pdata 
+5114 e7e08005 istore 1 ,contw 
+5115 18007e00 force 0x0000 ,pdata 
+5116 e7e10005 istore 2 ,contw 
+5117 18007e04 force 4 ,pdata 
+5118 9a40a400 iadd regb ,regb 
+5119 1a627e00 copy regc ,pdata 
+511a 9a262600 isub rega ,regc 
+511b 20204eda branch l2cap_process_one_signal_rtn 
+
+l2cap_proc_signal_echo_rsp:
+511c 20204eda branch l2cap_process_one_signal_rtn 
+
+l2cap_proc_signal_info_rsp:
+511d 20204eda branch l2cap_process_one_signal_rtn 
+
+l2cap_reject_command:
+511e 18002400 force 0 ,regb 
+511f 20405374 call l2cap_get_signal_tx_payload 
+5120 58000001 setarg signal_cmd_reject 
+5121 e7e08005 istore 1 ,contw 
+5122 18e27e00 copy queue ,pdata 
+5123 e7e08005 istore 1 ,contw 
+5124 58000002 setarg 2 
+5125 e7e10005 istore 2 ,contw 
+5126 58000000 setarg cmd_not_understood 
+5127 e7e10005 istore 2 ,contw 
+5128 1a40a406 increase 6 ,regb 
+5129 da600004 arg 4 ,regc 
+512a 20204eda branch l2cap_process_one_signal_rtn 
+
+l2cap_reset_rfcomm_channel_state:
+512b 58000000 setarg 0 
+512c 67e1032c store 2 ,mem_rfcomm_tx_pkt_length 
+512d 67e144dd store 2 ,mem_rfcomm_remote_cid 
+512e 7044e400 jam 0 ,mem_rfcomm_state 
+512f 20600000 rtn 
+
+l2cap_reset_sdp_channel_state:
+5130 58000000 setarg 0 
+5131 67e10326 store 2 ,mem_sdp_tx_pkt_length 
+5132 67e144db store 2 ,mem_sdp_remote_cid 
+5133 7044e300 jam 0 ,mem_sdp_state 
+5134 20600000 rtn 
+
+l2cap_reset_hid_ctrl_state:
+5135 58000000 setarg 0 
+5136 67e144df store 2 ,mem_hid_ctrl_remote_cid 
+5137 7044e500 jam 0 ,mem_hid_control_state 
+5138 6fe0c4e6 fetch 1 ,mem_hid_interrupt_state 
+5139 c0005141 beq 0 ,l2cap_reset_hid_disconnected 
+513a 20600000 rtn 
+
+l2cap_reset_hid_int_state:
+513b 58000000 setarg 0 
+513c 67e144e1 store 2 ,mem_hid_int_remote_cid 
+513d 7044e600 jam 0 ,mem_hid_interrupt_state 
+513e 6fe0c4e5 fetch 1 ,mem_hid_control_state 
+513f c0005141 beq 0 ,l2cap_reset_hid_disconnected 
+5140 20600000 rtn 
+
+l2cap_reset_hid_disconnected:
+5141 70095b07 jam bt_evt_hid_disconnected ,mem_fifo_temp 
+5142 202078dc branch ui_ipc_send_event 
+
+l2cap_disconnect_interrupt_req:
+5143 6fe08330 fetch 1 ,mem_control_tasks 
+5144 793ffe00 set0 l2cap_disconnect_interrupt ,pdata 
+5145 67e08330 store 1 ,mem_control_tasks 
+5146 6fe144e1 fetch 2 ,mem_hid_int_remote_cid 
+5147 207a0000 rtn blank 
+5148 20405369 call l2cap_malloc_signal_channel 
+5149 6fe144e1 fetch 2 ,mem_hid_int_remote_cid 
+514a 1fe22200 copy pdata ,rega 
+514b 18002453 force l2cap_hid_interrupt_channel ,regb 
+514c 20205156 branch l2cap_generate_disconnect_req 
+
+l2cap_disconnect_control_req:
+514d 6fe08330 fetch 1 ,mem_control_tasks 
+514e 793ffe07 set0 l2cap_disconnect_control ,pdata 
+514f 67e08330 store 1 ,mem_control_tasks 
+5150 6fe144df fetch 2 ,mem_hid_ctrl_remote_cid 
+5151 207a0000 rtn blank 
+5152 20405369 call l2cap_malloc_signal_channel 
+5153 6fe144df fetch 2 ,mem_hid_ctrl_remote_cid 
+5154 1fe22200 copy pdata ,rega 
+5155 18002452 force l2cap_hid_control_channel ,regb 
+
+l2cap_generate_disconnect_req:
+5156 204052f5 call l2cap_get_req_id 
+5157 20405374 call l2cap_get_signal_tx_payload 
+5158 18007e06 force signal_disconnect_req ,pdata 
+5159 e7e08005 istore 1 ,contw 
+515a 6fe0c4e8 fetch 1 ,mem_ml2cap_comm_id 
+515b e7e08005 istore 1 ,contw 
+515c 58000004 setarg 0x0004 
+515d e7e10005 istore 2 ,contw 
+515e 1a227e00 copy rega ,pdata 
+515f e7e10005 istore 2 ,contw 
+5160 1a427e00 copy regb ,pdata 
+5161 e7e10005 istore 2 ,contw 
+5162 18000408 force 0x08 ,temp 
+5163 2020519a branch ml2cap_send_signal 
+
+ml2cap_send_signal_connect_req:
+5164 44fd401f bpatch patch1f_2 ,mem_patch1f 
+5165 204052f5 call l2cap_get_req_id 
+5166 20405374 call l2cap_get_signal_tx_payload 
+5167 58000002 setarg signal_connect_req 
+5168 e7e08005 istore 1 ,contw 
+5169 6fe0c4e8 fetch 1 ,mem_ml2cap_comm_id 
+516a e7e08005 istore 1 ,contw 
+516b 58000004 setarg 0x0004 
+516c e7e10005 istore 2 ,contw 
+516d 18427e00 copy temp ,pdata 
+516e e7e10005 istore 2 ,contw 
+516f 19627e00 copy timeup ,pdata 
+5170 e7e10005 istore 2 ,contw 
+5171 d8400008 arg 8 ,temp 
+5172 2020519a branch ml2cap_send_signal 
+
+ml2cap_send_signal_config_req:
+5173 44fdc01f bpatch patch1f_3 ,mem_patch1f 
+5174 204052f5 call l2cap_get_req_id 
+5175 20405374 call l2cap_get_signal_tx_payload 
+5176 58000004 setarg signal_config_req 
+5177 e7e08005 istore 1 ,contw 
+5178 6fe0c4e8 fetch 1 ,mem_ml2cap_comm_id 
+5179 e7e08005 istore 1 ,contw 
+517a 58000008 setarg 0x0008 
+517b e7e10005 istore 2 ,contw 
+517c 18427e00 copy temp ,pdata 
+517d e7e10005 istore 2 ,contw 
+517e 58000000 setarg 0x0000 
+517f e7e10005 istore 2 ,contw 
+5180 58000001 setarg 0x01 
+5181 e7e08005 istore 1 ,contw 
+5182 58000002 setarg 0x02 
+5183 e7e08005 istore 1 ,contw 
+5184 580003e3 setarg l2cap_config_mtu_rfcomm 
+5185 e7e10005 istore 2 ,contw 
+5186 d840000c arg 0xc ,temp 
+5187 2020519a branch ml2cap_send_signal 
+
+ml2cap_send_signal_disconn_req:
+5188 44fe401f bpatch patch1f_4 ,mem_patch1f 
+5189 204052f5 call l2cap_get_req_id 
+518a 20405374 call l2cap_get_signal_tx_payload 
+518b 58000006 setarg signal_disconnect_req 
+518c e7e08005 istore 1 ,contw 
+518d 6fe0c4e8 fetch 1 ,mem_ml2cap_comm_id 
+518e 1fe0fe01 increase 1 ,pdata 
+518f 18a22200 copy contw ,rega 
+5190 67e0c4e8 store 1 ,mem_ml2cap_comm_id 
+5191 1a220a00 copy rega ,contw 
+5192 e7e08005 istore 1 ,contw 
+5193 58000004 setarg 0x0004 
+5194 e7e10005 istore 2 ,contw 
+5195 18427e00 copy temp ,pdata 
+5196 e7e10005 istore 2 ,contw 
+5197 19627e00 copy timeup ,pdata 
+5198 e7e10005 istore 2 ,contw 
+5199 d8400008 arg 0x8 ,temp 
+
+ml2cap_send_signal:
+519a 60490320 storet 2 ,mem_l2cap_signal_tx_length 
+519b 18427e00 copy temp ,pdata 
+519c 203a5345 branch l2cap_malloc_discard ,blank 
+519d 20405372 call l2cap_get_signal_tx_buff 
+519e 6fe10320 fetch 2 ,mem_l2cap_signal_tx_length 
+519f e7e10005 istore 2 ,contw 
+51a0 18007e01 force l2cap_signal_channel ,pdata 
+51a1 e7e10005 istore 2 ,contw 
+51a2 20600000 rtn 
+
+msdp_send_req_done:
+51a3 6fe10326 fetch 2 ,mem_sdp_tx_pkt_length 
+51a4 203a137c branch assert ,blank 
+51a5 2040537f call l2cap_get_sdp_tx_buff 
+51a6 6fe10326 fetch 2 ,mem_sdp_tx_pkt_length 
+51a7 e7e10005 istore 2 ,contw 
+51a8 6fe144db fetch 2 ,mem_sdp_remote_cid 
+51a9 e7e10005 istore 2 ,contw 
+51aa 20600000 rtn 
+
+ml2cap_rx_multiplexing:
+51ab 6fe10317 fetch 2 ,mem_l2cap_rx_pkt_length 
+51ac 203a4eb8 branch l2cap_rx_reset_state ,blank 
+51ad 44fec01f bpatch patch1f_5 ,mem_patch1f 
+51ae 6fe08319 fetch 1 ,mem_l2cap_rx_cid 
+51af c000d1b5 beq l2cap_signal_channel ,ml2cap_call_proc_signal 
+51b0 c0284ea2 beq l2cap_sdp_channel ,ml2cap_call_proc_sdp 
+51b1 c028ceb1 beq l2cap_rfcomm_channel ,l2cap_call_proc_rfcomm 
+51b2 c0294eaf beq l2cap_hid_control_channel ,l2cap_call_proc_hid 
+51b3 c029ceaf beq l2cap_hid_interrupt_channel ,l2cap_call_proc_hid 
+51b4 20204eb8 branch l2cap_rx_reset_state 
+
+ml2cap_call_proc_signal:
+51b5 20405369 call l2cap_malloc_signal_channel 
+51b6 18002400 force 0 ,regb 
+51b7 20405374 call l2cap_get_signal_tx_payload 
+51b8 1fe20a00 copy pdata ,contw 
+51b9 6fe10317 fetch 2 ,mem_l2cap_rx_pkt_length 
+51ba 1fe22600 copy pdata ,regc 
+51bb 6fe10315 fetch 2 ,mem_l2cap_payload_ptr 
+51bc 98000c00 iforce contr 
+
+ml2cap_proc_one_comm_loop:
+51bd 204051c3 call ml2cap_proc_one_comm 
+51be 1a60a7fc increase -4 ,regc 
+51bf 2422d1bd nbranch ml2cap_proc_one_comm_loop ,zero 
+51c0 1a420400 copy regb ,temp 
+51c1 2040519a call ml2cap_send_signal 
+51c2 20204eb8 branch l2cap_rx_reset_state 
+
+ml2cap_proc_one_comm:
+51c3 efe08006 ifetch 1 ,contr 
+51c4 c00151ce beq signal_connect_req ,ml2cap_proc_signal_connect_req 
+51c5 c000d1d1 beq signal_cmd_reject ,ml2cap_proc_signal_cmd_reject 
+51c6 c001d1db beq signal_connect_rsp ,ml2cap_proc_signal_connect_rsp 
+51c7 c002d217 beq signal_config_rsp ,ml2cap_proc_signal_config_rsp 
+51c8 c0025249 beq signal_config_req ,ml2cap_proc_signal_config_req 
+51c9 c003d2ce beq signal_disconnect_rsp ,ml2cap_proc_signal_disconn_rsp 
+51ca c003529c beq signal_disconnect_req ,ml2cap_proc_signal_disconn_req 
+51cb c004510c beq signal_echo_req ,l2cap_proc_signal_echo_req 
+51cc c0054ef6 beq signal_info_req ,ml2cap_proc_signal_info_req 
+51cd 202052e9 branch ml2cap_proc_send_reject 
+
+ml2cap_proc_signal_connect_req:
+51ce 20407d61 call save_cont_pointers 
+51cf 20407d66 call load_cont_pointers 
+51d0 20204f0d branch l2cap_proc_signal_connect_req 
+
+ml2cap_proc_signal_cmd_reject:
+51d1 efe08006 ifetch 1 ,contr 
+51d2 1fe20e00 copy pdata ,queue 
+51d3 efe10006 ifetch 2 ,contr 
+51d4 1fe22200 copy pdata ,rega 
+51d5 1a627e00 copy regc ,pdata 
+51d6 9a262600 isub rega ,regc 
+
+mvptr:
+51d7 efe08006 ifetch 1 ,contr 
+51d8 1a20a3ff increase -1 ,rega 
+51d9 2422d1d7 nbranch mvptr ,zero 
+51da 20600000 rtn 
+
+ml2cap_proc_signal_connect_rsp:
+51db efe08006 ifetch 1 ,contr 
+51dc 1fe20e00 copy pdata ,queue 
+51dd efe10006 ifetch 2 ,contr 
+51de 1fe22200 copy pdata ,rega 
+51df efe10006 ifetch 2 ,contr 
+51e0 1fe21600 copy pdata ,timeup 
+51e1 efe10006 ifetch 2 ,contr 
+51e2 1fe20400 copy pdata ,temp 
+51e3 efe10006 ifetch 2 ,contr 
+51e4 1fe67c00 sub pdata ,0 ,null 
+51e5 2022d1ed branch ml2cap_proc_signal_connect_rsp_sucessful ,zero 
+51e6 c00151e9 beq l2cap_connect_refused_psm_unsupported ,ml2cap_proc_signal_connect_refused_result 
+51e7 c00251e9 beq l2cap_connect_refused_no_resources ,ml2cap_proc_signal_connect_refused_result 
+51e8 202051eb branch ml2cap_proc_signal_connect_rsp_mnosucc 
+
+ml2cap_proc_signal_connect_refused_result:
+51e9 70095b16 jam bt_evt_ml2cap_conn_refused ,mem_fifo_temp 
+51ea 204078dc call ui_ipc_send_event 
+
+ml2cap_proc_signal_connect_rsp_mnosucc:
+51eb efe10006 ifetch 2 ,contr 
+51ec 20205214 branch mnosucc 
+
+ml2cap_proc_signal_connect_rsp_sucessful:
+51ed 20407d61 call save_cont_pointers 
+51ee 44ff401f bpatch patch1f_6 ,mem_patch1f 
+51ef 58000050 setarg l2cap_sdp_channel 
+51f0 98467c00 isub temp ,null 
+51f1 2022d1fc branch ml2cap_proc_signal_connect_rsp_sdp ,zero 
+51f2 58000051 setarg l2cap_rfcomm_channel 
+51f3 98467c00 isub temp ,null 
+51f4 2022d202 branch ml2cap_proc_signal_connect_rsp_rfcomm ,zero 
+51f5 58000053 setarg l2cap_hid_interrupt_channel 
+51f6 98467c00 isub temp ,null 
+51f7 2022d20e branch ml2cap_proc_signal_connect_rsp_hid_int ,zero 
+51f8 58000052 setarg l2cap_hid_control_channel 
+51f9 98467c00 isub temp ,null 
+51fa 2022d208 branch ml2cap_proc_signal_connect_rsp_hid_ctrl ,zero 
+51fb 20205214 branch mnosucc 
+
+ml2cap_proc_signal_connect_rsp_sdp:
+51fc 19627e00 copy timeup ,pdata 
+51fd 67e144db store 2 ,mem_sdp_remote_cid 
+51fe 6fe0c4e3 fetch 1 ,mem_sdp_state 
+51ff 79207e01 set1 l2cap_channel_state_conn_res ,pdata 
+5200 67e0c4e3 store 1 ,mem_sdp_state 
+5201 20205213 branch mnosucc1 
+
+ml2cap_proc_signal_connect_rsp_rfcomm:
+5202 19627e00 copy timeup ,pdata 
+5203 67e144dd store 2 ,mem_rfcomm_remote_cid 
+5204 6fe0c4e4 fetch 1 ,mem_rfcomm_state 
+5205 79207e01 set1 l2cap_channel_state_conn_res ,pdata 
+5206 67e0c4e4 store 1 ,mem_rfcomm_state 
+5207 20205213 branch mnosucc1 
+
+ml2cap_proc_signal_connect_rsp_hid_ctrl:
+5208 19627e00 copy timeup ,pdata 
+5209 67e144df store 2 ,mem_hid_ctrl_remote_cid 
+520a 6fe0c4e5 fetch 1 ,mem_hid_control_state 
+520b 79207e01 set1 l2cap_channel_state_conn_res ,pdata 
+520c 67e0c4e5 store 1 ,mem_hid_control_state 
+520d 20205213 branch mnosucc1 
+
+ml2cap_proc_signal_connect_rsp_hid_int:
+520e 19627e00 copy timeup ,pdata 
+520f 67e144e1 store 2 ,mem_hid_int_remote_cid 
+5210 6fe0c4e6 fetch 1 ,mem_hid_interrupt_state 
+5211 79207e01 set1 l2cap_channel_state_conn_res ,pdata 
+5212 67e0c4e6 store 1 ,mem_hid_interrupt_state 
+
+mnosucc1:
+5213 20407d66 call load_cont_pointers 
+
+mnosucc:
+5214 1a627e00 copy regc ,pdata 
+5215 9a262600 isub rega ,regc 
+5216 20600000 rtn 
+
+ml2cap_proc_signal_config_rsp:
+5217 efe08006 ifetch 1 ,contr 
+5218 1fe20e00 copy pdata ,queue 
+5219 efe10006 ifetch 2 ,contr 
+521a 1fe22200 copy pdata ,rega 
+521b 1a627e00 copy regc ,pdata 
+521c 9a262600 isub rega ,regc 
+521d efe10006 ifetch 2 ,contr 
+521e 1fe21600 copy pdata ,timeup 
+521f efe10006 ifetch 2 ,contr 
+5220 efe10006 ifetch 2 ,contr 
+5221 243a5243 nbranch mcrsdone1 ,blank 
+5222 20407d61 call save_cont_pointers 
+5223 19620400 copy timeup ,temp 
+5224 44ffc01f bpatch patch1f_7 ,mem_patch1f 
+5225 58000050 setarg l2cap_sdp_channel 
+5226 98467c00 isub temp ,null 
+5227 2022d231 branch ml2cap_proc_signal_config_rsp_sdp ,zero 
+5228 58000051 setarg l2cap_rfcomm_channel 
+5229 98467c00 isub temp ,null 
+522a 2022d235 branch ml2cap_proc_signal_config_rsp_rfcomm ,zero 
+522b 58000052 setarg l2cap_hid_control_channel 
+522c 98467c00 isub temp ,null 
+522d 2022d239 branch ml2cap_proc_signal_config_rsp_hid_ctrl ,zero 
+522e 58000053 setarg l2cap_hid_interrupt_channel 
+522f 98467c00 isub temp ,null 
+5230 2022d23d branch ml2cap_proc_signal_config_rsp_hid_int ,zero 
+
+ml2cap_proc_signal_config_rsp_sdp:
+5231 6fe0c4e3 fetch 1 ,mem_sdp_state 
+5232 79207e05 set1 l2cap_channel_state_rcv_cfg_res ,pdata 
+5233 67e0c4e3 store 1 ,mem_sdp_state 
+5234 20600000 rtn 
+
+ml2cap_proc_signal_config_rsp_rfcomm:
+5235 6fe0c4e4 fetch 1 ,mem_rfcomm_state 
+5236 79207e05 set1 l2cap_channel_state_rcv_cfg_res ,pdata 
+5237 67e0c4e4 store 1 ,mem_rfcomm_state 
+5238 20600000 rtn 
+
+ml2cap_proc_signal_config_rsp_hid_ctrl:
+5239 6fe0c4e5 fetch 1 ,mem_hid_control_state 
+523a 79207e05 set1 l2cap_channel_state_rcv_cfg_res ,pdata 
+523b 67e0c4e5 store 1 ,mem_hid_control_state 
+523c 20600000 rtn 
+
+ml2cap_proc_signal_config_rsp_hid_int:
+523d 6fe0c4e6 fetch 1 ,mem_hid_interrupt_state 
+523e 79207e05 set1 l2cap_channel_state_rcv_cfg_res ,pdata 
+523f 67e0c4e6 store 1 ,mem_hid_interrupt_state 
+5240 70095b06 jam bt_evt_hid_connected ,mem_fifo_temp 
+5241 202078dc branch ui_ipc_send_event 
+
+mcfrsdone:
+5242 20407d66 call load_cont_pointers 
+
+mcrsdone1:
+5243 1a20a3fa increase -6 ,rega 
+
+mloop2:
+5244 2022d248 branch mcrsdone ,zero 
+5245 18c08c01 increase 1 ,contr 
+5246 1a20a3ff increase -1 ,rega 
+5247 20205244 branch mloop2 
+
+mcrsdone:
+5248 20600000 rtn 
+
+ml2cap_proc_signal_config_req:
+5249 efe08006 ifetch 1 ,contr 
+524a 1fe20e00 copy pdata ,queue 
+524b efe10006 ifetch 2 ,contr 
+524c 1fe22200 copy pdata ,rega 
+524d 1a627e00 copy regc ,pdata 
+524e 9a262600 isub rega ,regc 
+524f efe10006 ifetch 2 ,contr 
+5250 18c08c02 increase 2 ,contr 
+5251 1fe20400 copy pdata ,temp 
+5252 58000005 setarg signal_config_rsp 
+5253 e7e08005 istore 1 ,contw 
+5254 18e27e00 copy queue ,pdata 
+5255 e7e08005 istore 1 ,contw 
+5256 1a20a202 increase 2 ,rega 
+5257 1a227e00 copy rega ,pdata 
+5258 e7e10005 istore 2 ,contw 
+5259 20407d61 call save_cont_pointers 
+525a 47004020 bpatchx patch20_0 ,mem_patch20 
+525b 58000050 setarg l2cap_sdp_channel 
+525c 98467c00 isub temp ,null 
+525d 2022d268 branch ml2cap_proc_signal_config_req_sdp ,zero 
+525e 58000051 setarg l2cap_rfcomm_channel 
+525f 98467c00 isub temp ,null 
+5260 2022d279 branch ml2cap_proc_signal_config_req_rfcomm ,zero 
+5261 58000052 setarg l2cap_hid_control_channel 
+5262 98467c00 isub temp ,null 
+5263 2022d27f branch ml2cap_proc_signal_config_req_hid_ctrl ,zero 
+5264 58000053 setarg l2cap_hid_interrupt_channel 
+5265 98467c00 isub temp ,null 
+5266 2022d285 branch ml2cap_proc_signal_config_req_hid_int ,zero 
+5267 2020528a branch mcfgrq_done 
+
+ml2cap_proc_signal_config_req_sdp:
+5268 6fe0c4e3 fetch 1 ,mem_sdp_state 
+5269 79207e04 set1 l2cap_channel_state_rcv_cfg_req ,pdata 
+526a 79207e03 set1 l2cap_channel_state_snd_cfg_res ,pdata 
+526b 67e0c4e3 store 1 ,mem_sdp_state 
+526c c2815276 bbit1 l2cap_channel_state_snd_cfg_req ,ml2cap_proc_signal_config_req_sdp_nsndreq 
+526d 68488330 fetcht 1 ,mem_control_tasks 
+526e 79200406 set1 l2cap_init_config_req ,temp 
+526f 60488330 storet 1 ,mem_control_tasks 
+5270 18e27e00 copy queue ,pdata 
+5271 1fe0fe01 increase 1 ,pdata 
+5272 67e08332 store 1 ,mem_config_identifier 
+5273 6fe0c4e3 fetch 1 ,mem_sdp_state 
+5274 79207e02 set1 l2cap_channel_state_snd_cfg_req ,pdata 
+5275 67e0c4e3 store 1 ,mem_sdp_state 
+
+ml2cap_proc_signal_config_req_sdp_nsndreq:
+5276 6fe144db fetch 2 ,mem_sdp_remote_cid 
+5277 67e10333 store 2 ,mem_config_req_dest_cid 
+5278 2020528a branch mcfgrq_done 
+
+ml2cap_proc_signal_config_req_rfcomm:
+5279 6fe0c4e4 fetch 1 ,mem_rfcomm_state 
+527a 79207e04 set1 l2cap_channel_state_rcv_cfg_req ,pdata 
+527b 79207e03 set1 l2cap_channel_state_snd_cfg_res ,pdata 
+527c 67e0c4e4 store 1 ,mem_rfcomm_state 
+527d 6fe144dd fetch 2 ,mem_rfcomm_remote_cid 
+527e 2020528a branch mcfgrq_done 
+
+ml2cap_proc_signal_config_req_hid_ctrl:
+527f 6fe0c4e5 fetch 1 ,mem_hid_control_state 
+5280 79207e04 set1 l2cap_channel_state_rcv_cfg_req ,pdata 
+5281 79207e03 set1 l2cap_channel_state_snd_cfg_res ,pdata 
+5282 67e0c4e5 store 1 ,mem_hid_control_state 
+5283 6fe144df fetch 2 ,mem_hid_ctrl_remote_cid 
+5284 2020528a branch mcfgrq_done 
+
+ml2cap_proc_signal_config_req_hid_int:
+5285 6fe0c4e6 fetch 1 ,mem_hid_interrupt_state 
+5286 79207e04 set1 l2cap_channel_state_rcv_cfg_req ,pdata 
+5287 79207e03 set1 l2cap_channel_state_snd_cfg_res ,pdata 
+5288 67e0c4e6 store 1 ,mem_hid_interrupt_state 
+5289 6fe144e1 fetch 2 ,mem_hid_int_remote_cid 
+
+mcfgrq_done:
+528a 1fe21600 copy pdata ,timeup 
+528b 20407d66 call load_cont_pointers 
+528c 19627e00 copy timeup ,pdata 
+528d e7e10005 istore 2 ,contw 
+528e 18007e00 force 0x0000 ,pdata 
+528f e7e10005 istore 2 ,contw 
+5290 18007e00 force 0x0000 ,pdata 
+5291 e7e10005 istore 2 ,contw 
+5292 18007e0a force 10 ,pdata 
+5293 9a40a400 iadd regb ,regb 
+5294 1a20a3fa increase -6 ,rega 
+
+mloop1:
+5295 2022d29b branch mcrqdone ,zero 
+5296 efe08006 ifetch 1 ,contr 
+5297 e7e08005 istore 1 ,contw 
+5298 1a40a401 increase 1 ,regb 
+5299 1a20a3ff increase -1 ,rega 
+529a 20205295 branch mloop1 
+
+mcrqdone:
+529b 20600000 rtn 
+
+ml2cap_proc_signal_disconn_req:
+529c efe08006 ifetch 1 ,contr 
+529d 1fe20e00 copy pdata ,queue 
+529e efe10006 ifetch 2 ,contr 
+529f 1fe22200 copy pdata ,rega 
+52a0 1a627e00 copy regc ,pdata 
+52a1 9a262600 isub rega ,regc 
+52a2 efe10006 ifetch 2 ,contr 
+52a3 1fe22200 copy pdata ,rega 
+52a4 efe10006 ifetch 2 ,contr 
+52a5 1fe21600 copy pdata ,timeup 
+52a6 20407d61 call save_cont_pointers 
+52a7 4700c020 bpatchx patch20_1 ,mem_patch20 
+52a8 58000050 setarg l2cap_sdp_channel 
+52a9 1a220400 copy rega ,temp 
+52aa 98467c00 isub temp ,null 
+52ab 2022d2b5 branch ml2cap_proc_signal_disconn_sdp ,zero 
+52ac 58000052 setarg l2cap_hid_control_channel 
+52ad 1a220400 copy rega ,temp 
+52ae 98467c00 isub temp ,null 
+52af 2022d2ba branch ml2cap_proc_signal_disconn_hid_ctrl ,zero 
+52b0 58000053 setarg l2cap_hid_interrupt_channel 
+52b1 1a220400 copy rega ,temp 
+52b2 98467c00 isub temp ,null 
+52b3 2022d2bc branch ml2cap_proc_signal_disconn_hid_int ,zero 
+52b4 202052be branch mclsrfc 
+
+ml2cap_proc_signal_disconn_sdp:
+52b5 58000000 setarg 0x0000 
+52b6 67e10326 store 2 ,mem_sdp_tx_pkt_length 
+52b7 67e144db store 2 ,mem_sdp_remote_cid 
+52b8 67e0c4e3 store 1 ,mem_sdp_state 
+52b9 202052c0 branch mclssdp 
+
+ml2cap_proc_signal_disconn_hid_ctrl:
+52ba 20405135 call l2cap_reset_hid_ctrl_state 
+52bb 202052c0 branch mclssdp 
+
+ml2cap_proc_signal_disconn_hid_int:
+52bc 2040513b call l2cap_reset_hid_int_state 
+52bd 202052c0 branch mclssdp 
+
+mclsrfc:
+52be 58000000 setarg 0x0000 
+52bf 67e1032c store 2 ,mem_rfcomm_tx_pkt_length 
+
+mclssdp:
+52c0 20407d66 call load_cont_pointers 
+52c1 58000007 setarg signal_disconnect_rsp 
+52c2 e7e08005 istore 1 ,contw 
+52c3 18e27e00 copy queue ,pdata 
+52c4 e7e08005 istore 1 ,contw 
+52c5 58000004 setarg 0x0004 
+52c6 e7e10005 istore 2 ,contw 
+52c7 1a227e00 copy rega ,pdata 
+52c8 e7e10005 istore 2 ,contw 
+52c9 19627e00 copy timeup ,pdata 
+52ca e7e10005 istore 2 ,contw 
+52cb 18007e08 force 8 ,pdata 
+52cc 9a40a400 iadd regb ,regb 
+52cd 20600000 rtn 
+
+ml2cap_proc_signal_disconn_rsp:
+52ce efe08006 ifetch 1 ,contr 
+52cf 1fe20e00 copy pdata ,queue 
+52d0 efe10006 ifetch 2 ,contr 
+52d1 1fe22200 copy pdata ,rega 
+52d2 efe10006 ifetch 2 ,contr 
+52d3 1fe21600 copy pdata ,timeup 
+52d4 efe10006 ifetch 2 ,contr 
+52d5 1fe20400 copy pdata ,temp 
+52d6 20407d61 call save_cont_pointers 
+52d7 47014020 bpatchx patch20_2 ,mem_patch20 
+52d8 6fe0c4e8 fetch 1 ,mem_ml2cap_comm_id 
+52d9 a8e1fe00 icompare 0xff ,queue 
+52da 2420d2e5 nbranch mdisdone ,true 
+52db 58000050 setarg l2cap_sdp_channel 
+52dc 98467c00 isub temp ,null 
+52dd 2022d2e2 branch ml2cap_proc_signal_disconn_rsp_sdp ,zero 
+52de 58000051 setarg l2cap_rfcomm_channel 
+52df 98467c00 isub temp ,null 
+52e0 2022d2e5 branch ml2cap_proc_signal_disconn_rsp_rfcomm ,zero 
+52e1 202052e5 branch mdisdone 
+
+ml2cap_proc_signal_disconn_rsp_sdp:
+52e2 7044db00 jam 0 ,mem_sdp_remote_cid 
+52e3 7044e300 jam 0 ,mem_sdp_state 
+52e4 202052e5 branch mdisdone 
+
+ml2cap_proc_signal_disconn_rsp_rfcomm:
+
+mdisdone:
+52e5 20407d66 call load_cont_pointers 
+52e6 1a627e00 copy regc ,pdata 
+52e7 9a262600 isub rega ,regc 
+52e8 20600000 rtn 
+
+ml2cap_proc_send_reject:
+52e9 58000001 setarg signal_cmd_reject 
+52ea e7e08005 istore 1 ,contw 
+52eb efe08006 ifetch 1 ,contr 
+52ec e7e08005 istore 1 ,contw 
+52ed 58000002 setarg 0x0002 
+52ee e7e10005 istore 2 ,contw 
+52ef 58000000 setarg 0x0000 
+52f0 e7e10005 istore 2 ,contw 
+52f1 58000006 setarg 0x0006 
+52f2 9a40a400 iadd regb ,regb 
+52f3 18002604 force 4 ,regc 
+52f4 20600000 rtn 
+
+l2cap_get_req_id:
+52f5 6fe0c4e8 fetch 1 ,mem_ml2cap_comm_id 
+52f6 1fe0fe01 increase 1 ,pdata 
+52f7 c08052f9 bne 0 ,l2cap_get_req_id_ok 
+52f8 1fe0fe01 increase 1 ,pdata 
+
+l2cap_get_req_id_ok:
+52f9 67e0c4e8 store 1 ,mem_ml2cap_comm_id 
+52fa 20600000 rtn 
+
+l2cap_malloc:
+
+bt_l2cap_malloc:
+52fb db001800 arg mem_tx_buff0 ,regd 
+52fc dd600080 arg mem_bt_l2cap_tx_buff_size ,rege 
+52fd 20407ec5 call enable_user 
+52fe 20205303 branch host_l2cap_malloc 
+
+ble_l2cap_malloc:
+52ff 6b0143de fetchr regd ,2 ,mem_ble_l2cap_tx_buff0_ptr 
+5300 6d6143e0 fetchr rege ,2 ,mem_ble_l2cap_tx_buff_size_ptr 
+5301 20407ec7 call disable_user 
+5302 20205303 branch host_l2cap_malloc 
+
+host_l2cap_malloc:
+5303 4701c020 bpatchx patch20_3 ,mem_patch20 
+5304 2040534f call l2cap_malloc_is_fifo_full 
+5305 243a137c nbranch assert ,blank 
+5306 2040535f call l2cap_malloc_get_full_map 
+5307 df200008 arg 8 ,loopcnt 
+
+host_l2cap_malloc_loop:
+5308 6848c4e9 fetcht 1 ,mem_used_map 
+5309 1f260e08 sub loopcnt ,8 ,queue 
+530a a84fffff qisolate1 temp 
+530b 2020d310 branch host_l2cap_malloc_next_buffer ,true 
+530c 20405317 call host_l2cap_malloc_check_buffer_enough 
+530d 24215310 nbranch host_l2cap_malloc_next_buffer ,positive 
+530e 2040532d call host_l2cap_malloc_into_fifo 
+530f 20205314 branch host_l2cap_malloc_succ 
+
+host_l2cap_malloc_next_buffer:
+5310 1d627e00 copy rege ,pdata 
+5311 9b00b000 iadd regd ,regd 
+5312 c2005308 loop host_l2cap_malloc_loop 
+5313 2020137c branch assert 
+
+host_l2cap_malloc_succ:
+5314 1b027e00 copy regd ,pdata 
+5315 1b020a00 copy regd ,contw 
+5316 20600000 rtn 
+
+host_l2cap_malloc_check_buffer_enough:
+5317 47024020 bpatchx patch20_4 ,mem_patch20 
+5318 1f260e08 sub loopcnt ,8 ,queue 
+5319 d8400000 arg 0 ,temp 
+531a d9600000 arg 0 ,timeup 
+
+host_l2cap_malloc_check_buffer_enough_loop:
+531b 18e27e00 copy queue ,pdata 
+531c c0045328 beq 8 ,host_l2cap_malloc_check_buffer_enough_end 
+531d 6fe0c4e9 fetch 1 ,mem_used_map 
+531e afefffff qisolate1 pdata 
+531f 2020d328 branch host_l2cap_malloc_check_buffer_enough_end ,true 
+5320 f9201600 qset1 timeup 
+5321 1d627e00 copy rege ,pdata 
+5322 98408400 iadd temp ,temp 
+5323 18e08e01 increase 1 ,queue 
+5324 1a227e00 copy rega ,pdata 
+5325 98467c00 isub temp ,null 
+5326 2022d328 branch host_l2cap_malloc_check_buffer_enough_end ,zero 
+5327 2021531b branch host_l2cap_malloc_check_buffer_enough_loop ,positive 
+
+host_l2cap_malloc_check_buffer_enough_end:
+5328 18427e00 copy temp ,pdata 
+5329 9a267c00 isub rega ,null 
+532a 24628000 nrtn zero 
+532b f9201600 qset1 timeup 
+532c 20600000 rtn 
+
+host_l2cap_malloc_into_fifo:
+532d 4702c020 bpatchx patch20_5 ,mem_patch20 
+532e 2040534f call l2cap_malloc_is_fifo_full 
+532f 243a137c nbranch assert ,blank 
+5330 20405355 call l2cap_malloc_is_fifo_empty 
+5331 203a5336 branch host_l2cap_malloc_into_fifo_no_push ,blank 
+5332 6fe4c4ed fetch 9 ,mem_tx_fifo1 
+5333 67e4c4ea store 9 ,mem_tx_fifo0 
+5334 58000000 setarg 0 
+5335 e7e18005 istore 3 ,contw 
+
+host_l2cap_malloc_into_fifo_no_push:
+5336 6160c4f3 storer timeup ,1 ,mem_tx_fifo3_map 
+5337 630144f4 storer regd ,2 ,mem_tx_fifo3_ptr 
+5338 20600000 rtn 
+
+l2cap_malloc_fifo_out:
+5339 47034020 bpatchx patch20_6 ,mem_patch20 
+533a 20405358 call l2cap_malloc_fifo_get_first_ptr 
+533b 18c08c01 increase 1 ,contr 
+533c efe10006 ifetch 2 ,contr 
+533d 20600000 rtn 
+
+l2cap_malloc_free:
+533e 4703c020 bpatchx patch20_7 ,mem_patch20 
+533f 20405358 call l2cap_malloc_fifo_get_first_ptr 
+5340 18c20a00 copy contr ,contw 
+5341 18c20400 copy contr ,temp 
+5342 58000000 setarg 0 
+5343 e7e18005 istore 3 ,contw 
+5344 20600000 rtn 
+
+l2cap_malloc_discard:
+5345 47044021 bpatchx patch21_0 ,mem_patch21 
+5346 20405355 call l2cap_malloc_is_fifo_empty 
+5347 203a137c branch assert ,blank 
+5348 6fe1c4f0 fetch 3 ,mem_tx_fifo2 
+5349 67e1c4f3 store 3 ,mem_tx_fifo3 
+534a 6fe1c4ed fetch 3 ,mem_tx_fifo1 
+534b 67e1c4f0 store 3 ,mem_tx_fifo2 
+534c 6fe1c4ea fetch 3 ,mem_tx_fifo0 
+534d 67e1c4ed store 3 ,mem_tx_fifo1 
+534e 20600000 rtn 
+
+l2cap_malloc_is_fifo_full:
+534f 4704c021 bpatchx patch21_1 ,mem_patch21 
+5350 6fe1c4ea fetch 3 ,mem_tx_fifo0 
+5351 20600000 rtn 
+
+l2cap_malloc_is_fifo_nearly_full:
+5352 47054021 bpatchx patch21_2 ,mem_patch21 
+5353 6fe1c4ed fetch 3 ,mem_tx_fifo1 
+5354 20600000 rtn 
+
+l2cap_malloc_is_fifo_empty:
+5355 4705c021 bpatchx patch21_3 ,mem_patch21 
+5356 6fe1c4f3 fetch 3 ,mem_tx_fifo3 
+5357 20600000 rtn 
+
+l2cap_malloc_fifo_get_first_ptr:
+5358 20405355 call l2cap_malloc_is_fifo_empty 
+5359 203a535d branch l2cap_malloc_fifo_get_first_ptr_empty ,blank 
+535a d8c044ea arg mem_tx_fifo0 ,contr 
+
+l2cap_malloc_free_loop:
+535b efe18006 ifetch 3 ,contr 
+535c 203a535b branch l2cap_malloc_free_loop ,blank 
+
+l2cap_malloc_fifo_get_first_ptr_empty:
+535d 18c08dfd increase -3 ,contr 
+535e 20600000 rtn 
+
+l2cap_malloc_get_full_map:
+535f 47064021 bpatchx patch21_4 ,mem_patch21 
+5360 df200004 arg 4 ,loopcnt 
+5361 d8c044ea arg mem_tx_fifo0_map ,contr 
+5362 d8400000 arg 0 ,temp 
+
+l2cap_malloc_get_full_map_loop:
+5363 efe18006 ifetch 3 ,contr 
+5364 1fe17eff and pdata ,0xff ,pdata 
+5365 98418400 ior temp ,temp 
+5366 c2005363 loop l2cap_malloc_get_full_map_loop 
+5367 6048c4e9 storet 1 ,mem_used_map 
+5368 20600000 rtn 
+
+l2cap_malloc_signal_channel:
+5369 4706c021 bpatchx patch21_5 ,mem_patch21 
+536a da20007f arg l2cap_signal_malloc_size ,rega 
+536b 204052fb call l2cap_malloc 
+536c 67e1031c store 2 ,mem_l2cap_signal_tx_buff_ptr 
+536d 1fe0fe04 increase 4 ,pdata 
+536e 67e1031e store 2 ,mem_l2cap_signal_tx_payload_ptr 
+536f 58000000 setarg 0 
+5370 67e10320 store 2 ,mem_l2cap_signal_tx_length 
+5371 20600000 rtn 
+
+l2cap_get_signal_tx_buff:
+5372 6fe1031c fetch 2 ,mem_l2cap_signal_tx_buff_ptr 
+5373 20205393 branch l2cap_util_pdata_to_contw 
+
+l2cap_get_signal_tx_payload:
+5374 6fe1031e fetch 2 ,mem_l2cap_signal_tx_payload_ptr 
+5375 20205393 branch l2cap_util_pdata_to_contw 
+
+l2cap_malloc_sdp_channel:
+5376 47074021 bpatchx patch21_6 ,mem_patch21 
+5377 da2000fa arg sdp_malloc_size ,rega 
+5378 204052fb call l2cap_malloc 
+5379 67e10322 store 2 ,mem_sdp_tx_buff_ptr 
+537a 1fe0fe04 increase 4 ,pdata 
+537b 67e10324 store 2 ,mem_sdp_tx_payload_ptr 
+537c 58000000 setarg 0 
+537d 67e10326 store 2 ,mem_sdp_tx_pkt_length 
+537e 20600000 rtn 
+
+l2cap_get_sdp_tx_buff:
+537f 6fe10322 fetch 2 ,mem_sdp_tx_buff_ptr 
+5380 20205393 branch l2cap_util_pdata_to_contw 
+
+l2cap_get_sdp_tx_payload:
+5381 6fe10324 fetch 2 ,mem_sdp_tx_payload_ptr 
+5382 20205393 branch l2cap_util_pdata_to_contw 
+
+l2cap_malloc_rfcomm_channel:
+5383 4707c021 bpatchx patch21_7 ,mem_patch21 
+5384 20407d3b call push_stack 
+5385 70033501 jam rfcomm_malloc_fail ,mem_rfcomm_malloc_fail_flag 
+5386 2040534f call l2cap_malloc_is_fifo_full 
+5387 247a0000 nrtn blank 
+5388 da20007f arg rfcomm_malloc_size ,rega 
+5389 204052fb call l2cap_malloc 
+538a 67e10328 store 2 ,mem_rfcomm_tx_buff_ptr 
+538b 1fe0fe04 increase 4 ,pdata 
+538c 67e1032a store 2 ,mem_rfcomm_tx_payload_ptr 
+538d 58000000 setarg 0 
+538e 67e1032c store 2 ,mem_rfcomm_tx_pkt_length 
+538f 70033500 jam rfcomm_malloc_succeed ,mem_rfcomm_malloc_fail_flag 
+5390 20207d47 branch pop_stack 
+
+l2cap_get_rfcomm_tx_buff:
+5391 6fe10328 fetch 2 ,mem_rfcomm_tx_buff_ptr 
+5392 20205393 branch l2cap_util_pdata_to_contw 
+
+l2cap_util_pdata_to_contw:
+5393 203a137c branch assert ,blank 
+5394 1fe20a00 copy pdata ,contw 
+5395 20600000 rtn 
+
+l2cap_lpm_save_calc_len:
+5396 47084022 bpatchx patch22_0 ,mem_patch22 
+5397 da400000 arg 0 ,regb 
+5398 da2044ea arg mem_tx_fifo0_map ,rega 
+5399 1a20a3fe increase -2 ,rega 
+
+l2cap_lpm_save_calc_len_loop:
+539a 1a20a202 increase 2 ,rega 
+539b 580044f6 setarg mem_tx_fifo_end 
+539c 9a267c00 isub rega ,null 
+539d 2022d3a6 branch l2cap_lpm_save_calc_len_end ,zero 
+539e efe08011 ifetch 1 ,rega 
+539f 1a20a201 increase 1 ,rega 
+53a0 203a539a branch l2cap_lpm_save_calc_len_loop ,blank 
+53a1 e8410011 ifetcht 2 ,rega 
+53a2 efe10002 ifetch 2 ,temp 
+53a3 9a40a400 iadd regb ,regb 
+53a4 1a40a404 increase 4 ,regb 
+53a5 2020539a branch l2cap_lpm_save_calc_len_loop 
+
+l2cap_lpm_save_calc_len_end:
+53a6 1a427e00 copy regb ,pdata 
+53a7 20600000 rtn 
+
+l2cap_lpm_get_wake_lock:
+53a8 d8e0000c arg wake_lock_l2cap_tx ,queue 
+53a9 20201566 branch lpm_get_wake_lock 
+
+l2cap_lpm_put_wake_lock:
+53aa d8e0000c arg wake_lock_l2cap_tx ,queue 
+53ab 2020156a branch lpm_put_wake_lock 
+
+l2cap_lpm_save_txbuf:
+53ac 4708c022 bpatchx patch22_1 ,mem_patch22 
+53ad 2040535f call l2cap_malloc_get_full_map 
+53ae 6fe0c4e9 fetch 1 ,mem_used_map 
+53af 207a0000 rtn blank 
+53b0 20405396 call l2cap_lpm_save_calc_len 
+53b1 d8400100 arg l2cap_lpm_txbuf_len ,temp 
+53b2 98467c00 isub temp ,null 
+53b3 202153a8 branch l2cap_lpm_get_wake_lock ,positive 
+53b4 204053aa call l2cap_lpm_put_wake_lock 
+53b5 d8a044f6 arg mem_l2cap_lpm_txbuf ,contw 
+53b6 da2044ea arg mem_tx_fifo0 ,rega 
+
+l2cap_lpm_save_txbuf_loop:
+53b7 580044f6 setarg mem_tx_fifo_end 
+53b8 9a267c00 isub rega ,null 
+53b9 20628000 rtn zero 
+53ba efe08011 ifetch 1 ,rega 
+53bb 1a20a201 increase 1 ,rega 
+53bc 243a53c0 nbranch l2cap_lpm_save_txbuf_nempty ,blank 
+53bd e7e10005 istore 2 ,contw 
+53be 1a20a202 increase 2 ,rega 
+53bf 202053b7 branch l2cap_lpm_save_txbuf_loop 
+
+l2cap_lpm_save_txbuf_nempty:
+53c0 efe10011 ifetch 2 ,rega 
+53c1 1a20a202 increase 2 ,rega 
+53c2 1fe20c00 copy pdata ,contr 
+53c3 efe10006 ifetch 2 ,contr 
+53c4 e7e10005 istore 2 ,contw 
+53c5 1fe27200 copy pdata ,loopcnt 
+53c6 1f20f202 increase 2 ,loopcnt 
+53c7 20407dd4 call memcpy 
+53c8 202053b7 branch l2cap_lpm_save_txbuf_loop 
+
+l2cap_lpm_load_txbuf:
+53c9 47094022 bpatchx patch22_2 ,mem_patch22 
+53ca 2040535f call l2cap_malloc_get_full_map 
+53cb 6fe0c4e9 fetch 1 ,mem_used_map 
+53cc 207a0000 rtn blank 
+53cd da2044eb arg mem_tx_fifo0_ptr ,rega 
+53ce 1a20a3fd increase -3 ,rega 
+53cf d8c044f6 arg mem_l2cap_lpm_txbuf ,contr 
+
+l2cap_lpm_load_txbuf_loop:
+53d0 1a20a203 increase 3 ,rega 
+53d1 580044f7 setarg mem_tx_fifo_end + 1 
+53d2 9a267c00 isub rega ,null 
+53d3 20628000 rtn zero 
+53d4 efe10006 ifetch 2 ,contr 
+53d5 203a53d0 branch l2cap_lpm_load_txbuf_loop ,blank 
+53d6 1fe0fe04 increase 4 ,pdata 
+53d7 1fe27200 copy pdata ,loopcnt 
+53d8 18c22400 copy contr ,regb 
+53d9 efe10011 ifetch 2 ,rega 
+53da 1fe20a00 copy pdata ,contw 
+53db 1a420c00 copy regb ,contr 
+53dc 18c08dfe increase -2 ,contr 
+53dd 20407dd4 call memcpy 
+53de 202053d0 branch l2cap_lpm_load_txbuf_loop 
+
+init_lmp:
+53df 20758000 rtn wake 
+
+init_lmp_work:
+53e0 4709c022 bpatchx patch22_3 ,mem_patch22 
+53e1 58000000 setarg 0 
+53e2 67e08048 store 1 ,mem_lmp_to_send 
+53e3 67e08055 store 1 ,mem_conn_sm 
+53e4 67e08078 store 1 ,mem_lmo_opcode1 
+53e5 67e0807c store 1 ,mem_lmo_opcode2 
+53e6 67e0c15d store 1 ,mem_esco_addr 
+53e7 67e080bc store 1 ,mem_connection_options 
+53e8 67e08877 store 1 ,mem_pairing_auth 
+53e9 67e1c647 store 3 ,mem_encapsulated_major_type 
+53ea 67e0c64a store 1 ,mem_remote_br_sc_support 
+53eb 70464500 jam switch_flag_init ,mem_switch_flag 
+53ec 70030c00 jam 0 ,mem_switch_fail_master_count 
+53ed 7003ab00 jam null_encryp ,mem_wait_encryption 
+
+init_lmp_reinit:
+53ee 70087700 jam 0 ,mem_pairing_auth 
+53ef 70087600 jam 0 ,mem_sp_localsm 
+53f0 7003a500 jam 0 ,mem_lmp_conn_state 
+
+parse_rx_done:
+53f1 20600000 rtn 
+
+parse_lmp:
+53f2 470a4022 bpatchx patch22_4 ,mem_patch22 
+53f3 2054da82 call setlocalsm_master ,master 
+53f4 2454da86 ncall setlocalsm_slave ,master 
+53f5 20405a3f call lmo_fifo_check 
+53f6 247a0000 nrtn blank 
+53f7 6fe0804c fetch 1 ,mem_state_map 
+53f8 c4030000 rtnbit0 smap_rxlmp 
+53f9 793ffe06 set0 smap_rxlmp ,pdata 
+53fa 793f8001 set0 mark_rxbuf_inuse ,mark 
+53fb 67e0804c store 1 ,mem_state_map 
+53fc 6fe080ce fetch 1 ,mem_rxbuf 
+53fd 6848804c fetcht 1 ,mem_state_map 
+53fe 2feffe00 isolate1 smap_lmptidinit ,pdata 
+53ff 79208401 setflag true ,smap_lmptid ,temp 
+5400 6048804c storet 1 ,mem_state_map 
+5401 18410402 and_into 0x2 ,temp 
+5402 6048807f storet 1 ,mem_lmo_tid2 
+5403 6848804c fetcht 1 ,mem_state_map 
+5404 1fe37e00 rshift pdata ,pdata 
+5405 67e0807d store 1 ,mem_lmi_opcode2 
+5406 470ac022 bpatchx patch22_5 ,mem_patch22 
+5407 6fe0807d fetch 1 ,mem_lmi_opcode2 
+5408 c03fd454 beq lmp_escape ,parse_lmp_escape 
+5409 c001d4c0 beq lmp_accepted ,parse_lmp_accepted 
+540a c00254d1 beq lmp_not_accepted ,parse_lmp_not_accepted 
+540b c01e5447 beq lmp_set_afh ,parse_lmp_set_afh 
+540c c002d443 beq lmp_clkoffset_req ,parse_lmp_clkoffset_req 
+540d c007d6f7 beq lmp_encryption_mode_req ,parse_lmp_encryption_mode_req 
+540e c0085536 beq lmp_encryption_key_size_req ,parse_lmp_crypt_key 
+540f c011d555 beq lmp_auto_rate ,parse_lmp_auto_rate 
+5410 c01cd710 beq lmp_test_control ,parse_lmp_test_control 
+5411 c01c570b beq lmp_test_activate ,parse_lmp_test_activate 
+5412 c018d53b beq lmp_setup_complete ,parse_lmp_setup_complete 
+5413 c01bd5d7 beq lmp_supervision_timeout ,parse_lmp_supervision_timeout 
+5414 c013d5d3 beq lmp_features_req ,parse_lmp_features_req 
+5415 c019d5d0 beq lmp_host_connection_req ,parse_lmp_conn_req 
+5416 c012d5d5 beq lmp_version_req ,parse_lmp_version_req 
+5417 c0135551 beq lmp_version_res ,parse_lmp_version_res 
+5418 c003d54a beq lmp_detach ,parse_lmp_detach 
+5419 c016d541 beq lmp_max_slot ,parse_lmp_max_slot 
+541a c0175542 beq lmp_max_slot_req ,parse_lmp_max_slot_req 
+541b c000d5cc beq lmp_name_req ,parse_lmp_name_req 
+541c c00155b7 beq lmp_name_res ,parse_lmp_name_res 
+541d c0145702 beq lmp_features_res ,parse_lmp_features_res 
+541e c004d5ad beq lmp_comb_key ,parse_lmp_comb_key 
+541f c005d574 beq lmp_au_rand ,parse_lmp_au_rand 
+5420 c0045556 beq lmp_in_rand ,parse_lmp_in_rand 
+5421 c0065586 beq lmp_sres ,parse_lmp_sres 
+5422 c00fd54d beq lmp_incr_power_req ,parse_lmp_incr_power 
+5423 c010554f beq lmp_decr_power_req ,parse_lmp_decr_power 
+5424 c010d5f1 beq lmp_max_power ,parse_lmp_max_power 
+5425 c01155f1 beq lmp_min_power ,parse_lmp_min_power 
+5426 c01ad5f2 beq lmp_page_mode_req ,parse_lmp_page_mode_req 
+5427 c01b55f3 beq lmp_page_scan_mode_req ,parse_lmp_page_scan_mode_req 
+5428 c01255f1 beq lmp_preferred_rate ,parse_lmp_preferred_rate 
+5429 c01a55f4 beq lmp_slot_offset ,parse_lmp_slot_offset 
+542a c00bd5fd beq lmp_sniff_req ,parse_lmp_sniff_req 
+542b c008d617 beq lmp_start_encryption_req ,parse_lmp_start_encryption_req 
+542c c0095624 beq lmp_stop_encryption_req ,parse_lmp_stop_encryption_req 
+542d c009d626 beq lmp_switch_req ,parse_lmp_switch_req 
+542e c006d636 beq lmp_temp_rand ,parse_lmp_temp_rand 
+542f c0075636 beq lmp_temp_key ,parse_lmp_temp_key 
+5430 c017d5d1 beq lmp_timing_accuracy_req ,parse_lmp_timing_accuracy_req 
+5431 c0185636 beq lmp_timing_accuracy_res ,parse_lmp_timing_accuracy_res 
+5432 c0055636 beq lmp_unit_key ,parse_lmp_unit_key 
+5433 c00c5637 beq lmp_unsniff_req ,parse_lmp_unsniff_req 
+5434 c0195636 beq lmp_use_semi_permanent_key ,parse_lmp_use_semi_permanend_key 
+5435 c01ed63c beq lmp_encapsulated_header ,parse_lmp_encapsulated_header 
+5436 c01f5685 beq lmp_encapsulated_payload ,parse_lmp_encapsulated_payload 
+5437 c01fd67e beq lmp_simple_pairing_confirm ,parse_simple_pairing_confirm 
+5438 c02056c8 beq lmp_simple_pairing_number ,parse_lmp_simple_pairing_number 
+5439 c020d6d9 beq lmp_dhkey_check ,parse_dhkey_check 
+543a c00356f6 beq lmp_clkoffset_res ,parse_lmp_clkoffset_res 
+543b c01d5445 beq lmp_enc_key_size_mask_req ,parse_enc_key_size_mask_req 
+543c c0155441 beq lmp_quality_of_service_req ,parse_quality_of_server_req 
+543d c014d442 beq lmp_quality_of_service ,parse_quality_of_server 
+
+reject_unknown_packet:
+543e 70007e19 jam unknown_lmp_pdu ,mem_lmo_reason2 
+
+reject_lmp_packet:
+543f 70007c04 jam lmp_not_accepted ,mem_lmo_opcode2 
+5440 20600000 rtn 
+
+parse_quality_of_server_req:
+5441 2020554b branch accept_lmp_msg 
+
+parse_quality_of_server:
+5442 20600000 rtn 
+
+parse_lmp_clkoffset_req:
+5443 70007c06 jam lmp_clkoffset_res ,mem_lmo_opcode2 
+5444 20600000 rtn 
+
+parse_enc_key_size_mask_req:
+5445 70007c3b jam lmp_enc_key_size_mask_res ,mem_lmo_opcode2 
+5446 20600000 rtn 
+
+parse_lmp_set_afh:
+5447 6fe200cf fetch 4 ,mem_rxbuf + 1 
+5448 1fe3fe00 lshift pdata ,pdata 
+5449 67e240d9 store 4 ,mem_afh_instant 
+544a 6fe080d3 fetch 1 ,mem_rxbuf + 5 
+544b 67e0c0e0 store 1 ,mem_afh_new_mod 
+544c 6fe280d4 fetch 5 ,mem_rxbuf + 6 
+544d 67e2c0ee store 5 ,mem_afh_map_new 
+544e 6fe280d9 fetch 5 ,mem_rxbuf + 11 
+544f e7e28005 istore 5 ,contw 
+5450 6fe08031 fetch 1 ,mem_mode 
+5451 79207e03 set1 afh_change ,pdata 
+5452 67e08031 store 1 ,mem_mode 
+5453 20600000 rtn 
+
+parse_lmp_escape:
+5454 470b4022 bpatchx patch22_6 ,mem_patch22 
+5455 6fe080cf fetch 1 ,mem_rxbuf + 1 
+5456 79207e07 set1 7 ,pdata 
+5457 67e0807d store 1 ,mem_lmi_opcode2 
+5458 c040d479 beq lmp_ext_accepted ,parse_lmpext_accepted 
+5459 c041547e beq lmp_not_accepted_ext ,parse_lmpext_not_accepted 
+545a c04ad5d8 beq lmp_sniff_subrating_req ,parse_lmp_sniff_subrating_req 
+545b c04b55f1 beq lmp_sniff_subrating_res ,parse_lmp_sniff_subrating_res 
+545c c045d5e6 beq lmp_packet_type_table_req ,parse_lmpext_packet_type_table_req 
+545d c041d494 beq lmp_ext_features_req ,parse_lmpext_features_req 
+545e c04254b6 beq lmp_ext_features_res ,parse_lmpext_features_res 
+545f c048546b beq lmp_ext_chn_classification_req ,parse_lmpext_chn_classification_req 
+5460 c04bd48d beq lmp_pause_encryption_req ,parse_lmpext_pause_encrypt 
+5461 c04c5492 beq lmp_resume_encryption_req ,parse_lmpext_resume_encrypt 
+5462 c04cd46e beq lmp_io_cap_req ,parse_lmpext_iocap_req 
+5463 c04d5471 beq lmp_io_cap_res ,parse_lmpext_iocap_res 
+5464 c050d469 beq lmp_ping_req ,parse_lmpext_ping_req 
+5465 c1420000 rtneq lmp_ext_features_res 
+
+reject_unknown_ext_packet:
+5466 70007c82 jam lmp_not_accepted_ext ,mem_lmo_opcode2 
+5467 70007e19 jam unknown_lmp_pdu ,mem_lmo_reason2 
+5468 20600000 rtn 
+
+parse_lmpext_ping_req:
+5469 70007ca2 jam lmp_ping_res ,mem_lmo_opcode2 
+546a 20600000 rtn 
+
+parse_lmpext_chn_classification_req:
+546b 70007c82 jam lmp_not_accepted_ext ,mem_lmo_opcode2 
+546c 70007e2e jam not_support_chn_classification ,mem_lmo_reason2 
+546d 20600000 rtn 
+
+parse_lmpext_iocap_req:
+546e 20405473 call iocap_lmpext_load 
+546f 70007c9a jam lmp_io_cap_res ,mem_lmo_opcode2 
+5470 20600000 rtn 
+
+parse_lmpext_iocap_res:
+5471 20405473 call iocap_lmpext_load 
+5472 20205477 branch iocap_lmpext_common 
+
+iocap_lmpext_load:
+5473 d8a0476b arg mem_sp_iocap_remote ,contw 
+5474 6fe180d0 fetch 3 ,mem_rxbuf + 2 
+5475 e7e18005 istore 3 ,contw 
+5476 20600000 rtn 
+
+iocap_lmpext_common:
+5477 2020f0d3 branch master_set_mem_master_sp_flag ,true 
+5478 20600000 rtn 
+
+parse_lmpext_accepted:
+5479 6fe080d1 fetch 1 ,mem_rxbuf + 3 
+547a 79207e07 set1 7 ,pdata 
+547b 67e0839d store 1 ,mem_lmi_accepted_opcode 
+547c c045d483 beq lmp_packet_type_table_req ,parse_lmpext_accepted_ptt 
+547d 20600000 rtn 
+
+parse_lmpext_not_accepted:
+547e 6fe080d1 fetch 1 ,mem_rxbuf + 3 
+547f 79207e07 set1 7 ,pdata 
+5480 67e0839d store 1 ,mem_lmi_accepted_opcode 
+5481 c045d487 beq lmp_packet_type_table_req ,parse_lmpext_not_accepted_ptt 
+5482 20600000 rtn 
+
+parse_lmpext_accepted_ptt:
+5483 6fe0c15f fetch 1 ,mem_ptt 
+5484 6848804c fetcht 1 ,mem_state_map 
+5485 7d3a0405 nsetflag blank ,smap_edr ,temp 
+5486 6048804c storet 1 ,mem_state_map 
+
+parse_lmpext_not_accepted_ptt:
+5487 6fe08030 fetch 1 ,mem_state 
+5488 c4028000 rtnbit0 state_init_seq 
+5489 793ffe05 set0 state_init_seq ,pdata 
+548a 67e08030 store 1 ,mem_state 
+548b 70007c31 jam lmp_setup_complete ,mem_lmo_opcode2 
+548c 20600000 rtn 
+
+parse_lmpext_pause_encrypt:
+548d 2434d490 nbranch parse_lmpext_pause_encrypt_slave ,master 
+548e 70007c12 jam lmp_stop_encryption_req ,mem_lmo_opcode2 
+548f 20205a6e branch tid_reply 
+
+parse_lmpext_pause_encrypt_slave:
+5490 70007c97 jam lmp_pause_encryption_req ,mem_lmo_opcode2 
+5491 20600000 rtn 
+
+parse_lmpext_resume_encrypt:
+5492 20405a6e call tid_reply 
+5493 2020574d branch lmp_start_encryption 
+
+parse_lmpext_features_req:
+5494 efe08006 ifetch 1 ,contr 
+5495 67e083a1 store 1 ,mem_ext_features_page 
+5496 c000d499 beq 1 ,parse_lmpext_features_req_page1 
+5497 c001549e beq 2 ,parse_lmpext_features_req_page2 
+5498 20600000 rtn 
+
+parse_lmpext_features_req_page1:
+5499 70007c84 jam lmp_ext_features_res ,mem_lmo_opcode2 
+549a 18c08c01 increase 1 ,contr 
+549b efe08006 ifetch 1 ,contr 
+549c c281d4b0 bbit1 lmp_features_ext_page1_sc_host_bit ,remote_support_br_sc_host 
+549d 202054b3 branch remote_not_support_br_sc_host 
+
+parse_lmpext_features_req_page2:
+549e 70007c84 jam lmp_ext_features_res ,mem_lmo_opcode2 
+549f 18c08c01 increase 1 ,contr 
+54a0 efe10006 ifetch 2 ,contr 
+54a1 c28454a3 bbit1 lmp_features_ext_page2_sc_controller_bit ,remote_support_br_sc_controller 
+54a2 202054ac branch remote_not_support_br_sc_controller 
+
+remote_support_br_sc_controller:
+54a3 6fe0c64a fetch 1 ,mem_remote_br_sc_support 
+54a4 79207e01 set1 remote_br_sc_controller_bit ,pdata 
+54a5 204054ae call set_remote_br_sc_support 
+54a6 6fe0c64a fetch 1 ,mem_remote_br_sc_support 
+54a7 c1818000 rtnne 3 
+54a8 6fe0c6bb fetch 1 ,mem_secure_connections_enable 
+54a9 c4008000 rtnbit0 secure_connections_br_bit 
+54aa 70464802 jam encapsulated_minor_type_p256 ,mem_encapsulated_minor_type 
+54ab 20600000 rtn 
+
+remote_not_support_br_sc_controller:
+54ac 6fe0c64a fetch 1 ,mem_remote_br_sc_support 
+54ad 793ffe01 set0 remote_br_sc_controller_bit ,pdata 
+
+set_remote_br_sc_support:
+54ae 67e0c64a store 1 ,mem_remote_br_sc_support 
+54af 20600000 rtn 
+
+remote_support_br_sc_host:
+54b0 6fe0c64a fetch 1 ,mem_remote_br_sc_support 
+54b1 79207e00 set1 remote_br_sc_host_bit ,pdata 
+54b2 202054ae branch set_remote_br_sc_support 
+
+remote_not_support_br_sc_host:
+54b3 6fe0c64a fetch 1 ,mem_remote_br_sc_support 
+54b4 793ffe00 set0 remote_br_sc_host_bit ,pdata 
+54b5 202054ae branch set_remote_br_sc_support 
+
+parse_lmpext_features_res:
+54b6 684880d2 fetcht 1 ,mem_rxbuf + 4 
+54b7 18410401 and temp ,0x1 ,temp 
+54b8 604883a4 storet 1 ,mem_remote_sppcap 
+54b9 6fe0c1db fetch 1 ,mem_hci_cmd 
+54ba c0a8d4bc bne hci_cmd_wait_remote_ext_feature ,parse_lmpext_features_res_not_hci 
+54bb 7041db00 jam 0 ,mem_hci_cmd 
+
+parse_lmpext_features_res_not_hci:
+54bc 6fe08055 fetch 1 ,mem_conn_sm 
+54bd c18a8000 rtnne conn_sm_wait_features_ext 
+54be 70005504 jam conn_sm_send_conn_req ,mem_conn_sm 
+54bf 20205a9e branch process_conn_sm 
+
+parse_lmp_accepted:
+54c0 470bc022 bpatchx patch22_7 ,mem_patch22 
+54c1 6fe080cf fetch 1 ,mem_rxbuf + 1 
+54c2 67e0839d store 1 ,mem_lmi_accepted_opcode 
+54c3 c019d4e7 beq lmp_host_connection_req ,parse_lmp_accepted_hostconn 
+54c4 c00454f6 beq lmp_in_rand ,parse_lmp_accepted_inrand 
+54c5 c007d4fd beq lmp_encryption_mode_req ,parse_lmp_accepted_enc_mode 
+54c6 c0085503 beq lmp_encryption_key_size_req ,parse_lmp_accepted_enc_keysize 
+54c7 c008d504 beq lmp_start_encryption_req ,parse_lmp_accepted_start_enc 
+54c8 c009550c beq lmp_stop_encryption_req ,parse_lmp_accepted_stop_enc 
+54c9 c00c5525 beq lmp_unsniff_req ,parse_lmp_accepted_unsniff_req 
+54ca c00bd528 beq lmp_sniff_req ,parse_lmp_accepted_sniff_req 
+54cb c009d4de beq lmp_switch_req ,parse_lmp_accepted_switch 
+54cc c01ed651 beq lmp_encapsulated_header ,parse_lmp_accepted_encapsulated_header 
+54cd c01f56b2 beq lmp_encapsulated_payload ,parse_lmp_accepted_encapsulated_payload 
+54ce c0205653 beq lmp_simple_pairing_number ,parse_lmp_accepted_simple_pairing_number 
+54cf c020d670 beq lmp_dhkey_check ,parse_lmp_accepted_dhkey_check 
+54d0 20600000 rtn 
+
+parse_lmp_not_accepted:
+54d1 470c4023 bpatchx patch23_0 ,mem_patch23 
+54d2 6fe080cf fetch 1 ,mem_rxbuf + 1 
+54d3 67e0839d store 1 ,mem_lmi_accepted_opcode 
+54d4 c000d51c beq lmp_name_req ,parse_lmp_not_accepted_name_req 
+54d5 c019d4f1 beq lmp_host_connection_req ,parse_lmp_not_accepted_hostconn 
+54d6 c005d50d beq lmp_au_rand ,parse_lmp_not_accepted_aurand 
+54d7 c0045513 beq lmp_in_rand ,parse_lmp_not_accepted_inrand 
+54d8 c009d4e1 beq lmp_switch_req ,parse_lmp_not_accepted_switch 
+54d9 c020551d beq lmp_simple_pairing_number ,parse_lmp_not_accepted_simple_pairing_number 
+54da c020d520 beq lmp_dhkey_check ,parse_lmp_not_accepted_dhkey_check 
+54db c00c5523 beq lmp_unsniff_req ,parse_lmp_not_accepted_unsniff_req 
+54dc c00bd534 beq lmp_sniff_req ,parse_lmp_not_acdcept_sniff_req 
+54dd 20600000 rtn 
+
+parse_lmp_accepted_switch:
+54de 70095b20 jam bt_evt_switch_accept ,mem_fifo_temp 
+54df 204078dc call ui_ipc_send_event 
+54e0 202009dd branch role_switch_prepare0 
+
+parse_lmp_not_accepted_switch:
+54e1 70095b19 jam bt_evt_switch_not_accept ,mem_fifo_temp 
+54e2 204078dc call ui_ipc_send_event 
+54e3 70464502 jam switch_flag_not_accept ,mem_switch_flag 
+54e4 58000050 setarg timer_switch_waite 
+54e5 d8e00006 arg switch_wait_timer ,queue 
+54e6 20207ddb branch timer_init 
+
+parse_lmp_accepted_hostconn:
+54e7 6fe083a5 fetch 1 ,mem_lmp_conn_state 
+54e8 79207e00 set1 received_conn_req ,pdata 
+54e9 67e083a5 store 1 ,mem_lmp_conn_state 
+54ea 70095b01 jam bt_evt_bb_connected ,mem_fifo_temp 
+54eb 204078dc call ui_ipc_send_event 
+54ec 70007c8b jam lmp_packet_type_table_req ,mem_lmo_opcode2 
+
+parse_lmp_accepted_hostconn_ctn:
+54ed 6fe08055 fetch 1 ,mem_conn_sm 
+54ee c082d3f1 bne conn_sm_wait_conn_accept ,parse_rx_done 
+54ef 70005506 jam conn_sm_auth_pair ,mem_conn_sm 
+54f0 20600000 rtn 
+
+parse_lmp_not_accepted_hostconn:
+54f1 70039e0b jam acl_connection_already_exists ,mem_disconn_reason_send 
+54f2 70007c07 jam lmp_detach ,mem_lmo_opcode2 
+54f3 70005500 jam conn_sm_standby ,mem_conn_sm 
+54f4 2020d3f1 branch parse_rx_done ,true 
+54f5 20600000 rtn 
+
+parse_lmp_accepted_inrand:
+54f6 6fe0c1ca fetch 1 ,mem_link_key_exists 
+54f7 247a0000 nrtn blank 
+54f8 20400c5c call clear_linkkey 
+54f9 2040574b call lmp_generate_key 
+54fa 20748000 rtn master 
+54fb 79200021 set1 mark_slave_in_rand_accepted ,mark 
+54fc 20600000 rtn 
+
+parse_lmp_accepted_enc_mode:
+54fd 24748000 nrtn master 
+54fe 70007c10 jam lmp_encryption_key_size_req ,mem_lmo_opcode2 
+54ff 6fe0804c fetch 1 ,mem_state_map 
+5500 c4010000 rtnbit0 smap_encryption 
+5501 70007c12 jam lmp_stop_encryption_req ,mem_lmo_opcode2 
+5502 20600000 rtn 
+
+parse_lmp_accepted_enc_keysize:
+5503 2020574d branch lmp_start_encryption 
+
+parse_lmp_accepted_start_enc:
+5504 204057a9 call send_create_conn_start_l2cap_timer_sm 
+5505 6fe08030 fetch 1 ,mem_state 
+5506 c3820000 rtnbit1 state_conn_comp 
+5507 70007c31 jam lmp_setup_complete ,mem_lmo_opcode2 
+5508 6fe08055 fetch 1 ,mem_conn_sm 
+5509 c1850000 rtnne conn_sm_encrypt_wait 
+550a 7000550b jam conn_sm_encrypt_wait_clear ,mem_conn_sm 
+550b 20600000 rtn 
+
+parse_lmp_accepted_stop_enc:
+550c 20600000 rtn 
+
+parse_lmp_not_accepted_aurand:
+
+parse_lmp_not_accepted_aurand_send_detach:
+550d 6fe0c09a fetch 1 ,mem_device_option 
+550e 1fe67c08 sub pdata ,dvc_op_mouse ,null 
+550f 2042be57 call mouse_delay_enter_hibernata ,zero 
+5510 70007c07 jam lmp_detach ,mem_lmo_opcode2 
+5511 70039e13 jam other_end_terminated ,mem_disconn_reason_send 
+5512 20600000 rtn 
+
+parse_lmp_not_accepted_inrand:
+5513 6fe080d0 fetch 1 ,mem_rxbuf + 2 
+5514 c0035519 beq key_missing ,parse_lmp_inrand_key_missing 
+5515 c18c0000 rtnne pairing_not_allowed 
+5516 70039e18 jam pairing_not_allowed ,mem_disconn_reason_send 
+5517 70007c07 jam lmp_detach ,mem_lmo_opcode2 
+5518 20600000 rtn 
+
+parse_lmp_inrand_key_missing:
+5519 70039e06 jam key_missing ,mem_disconn_reason_send 
+551a 70007c07 jam lmp_detach ,mem_lmo_opcode2 
+551b 20600000 rtn 
+
+parse_lmp_not_accepted_name_req:
+551c 20600000 rtn 
+
+parse_lmp_not_accepted_simple_pairing_number:
+551d 70087000 jam sp_stat_null ,mem_sp_state 
+551e 70007c07 jam lmp_detach ,mem_lmo_opcode2 
+551f 202053f1 branch parse_rx_done 
+
+parse_lmp_not_accepted_dhkey_check:
+5520 70087000 jam sp_stat_null ,mem_sp_state 
+5521 70007c07 jam lmp_detach ,mem_lmo_opcode2 
+5522 202053f1 branch parse_rx_done 
+
+parse_lmp_not_accepted_unsniff_req:
+5523 70095b24 jam bt_evt_unsniff_not_accept ,mem_fifo_temp 
+5524 202078dc branch ui_ipc_send_event 
+
+parse_lmp_accepted_unsniff_req:
+5525 70095b23 jam bt_evt_unsniff_accept ,mem_fifo_temp 
+5526 204078dc call ui_ipc_send_event 
+5527 20200f12 branch sniff_exit 
+
+parse_lmp_accepted_sniff_req:
+5528 70095b22 jam bt_evt_sniff_accept ,mem_fifo_temp 
+5529 204078dc call ui_ipc_send_event 
+552a 58000000 setarg 0 
+552b 67e10075 store 2 ,mem_dsniff 
+552c 6fe14455 fetch 2 ,mem_sniff_param_interval 
+552d 1fe3fe00 lshift pdata ,pdata 
+552e 67e10032 store 2 ,mem_tsniff 
+552f 6fe0c457 fetch 1 ,mem_sniff_param_attempt 
+5530 67e08073 store 1 ,mem_sniff_attempt 
+5531 6fe0c459 fetch 1 ,mem_sniff_param_timeout 
+5532 67e08074 store 1 ,mem_sniff_timeout 
+5533 20200ef1 branch sniff_init 
+
+parse_lmp_not_acdcept_sniff_req:
+5534 70095b21 jam bt_evt_sniff_not_accept ,mem_fifo_temp 
+5535 202078dc branch ui_ipc_send_event 
+
+parse_lmp_crypt_key:
+5536 684880cf fetcht 1 ,mem_rxbuf + 1 
+5537 18467c06 sub temp ,6 ,null 
+5538 202156ec branch lmp_reject_pdu_not_allowed ,positive 
+5539 60488054 storet 1 ,mem_key_size 
+553a 2020554b branch accept_lmp_msg 
+
+parse_lmp_setup_complete:
+553b 6fe083a5 fetch 1 ,mem_lmp_conn_state 
+553c 79207e02 set1 received_setup_complete ,pdata 
+553d 67e083a5 store 1 ,mem_lmp_conn_state 
+553e c3818000 rtnbit1 sent_setup_complete 
+553f 70007c31 jam lmp_setup_complete ,mem_lmo_opcode2 
+5540 202053f1 branch parse_rx_done 
+
+parse_lmp_max_slot:
+5541 20600000 rtn 
+
+parse_lmp_max_slot_req:
+5542 6fe0c0d7 fetch 1 ,mem_max_slot 
+5543 684880cf fetcht 1 ,mem_rxbuf + 1 
+5544 98467c00 isub temp ,null 
+5545 2021554b branch accept_lmp_msg ,positive 
+5546 70007c04 jam lmp_not_accepted ,mem_lmo_opcode2 
+5547 70007e1f jam unspecified_error ,mem_lmo_reason2 
+5548 70007d2e jam lmp_max_slot_req ,mem_lmi_opcode2 
+5549 20600000 rtn 
+
+parse_lmp_detach:
+554a 202058c0 branch prepare_disconnect 
+
+accept_lmp_msg:
+554b 70007c03 jam lmp_accepted ,mem_lmo_opcode2 
+554c 20600000 rtn 
+
+parse_lmp_incr_power:
+554d 70007c21 jam lmp_max_power ,mem_lmo_opcode2 
+554e 20600000 rtn 
+
+parse_lmp_decr_power:
+554f 70007c22 jam lmp_min_power ,mem_lmo_opcode2 
+5550 20600000 rtn 
+
+parse_lmp_version_res:
+5551 6fe08055 fetch 1 ,mem_conn_sm 
+5552 c1098000 rtneq conn_sm_wait_version 
+5553 70005502 jam conn_sm_send_features ,mem_conn_sm 
+5554 20600000 rtn 
+
+parse_lmp_auto_rate:
+5555 20600000 rtn 
+
+parse_lmp_in_rand:
+5556 6fe0c6b9 fetch 1 ,mem_sc_only_mode 
+5557 243a555f nbranch parse_lmp_in_rand_not_accept ,blank 
+5558 20405748 call lmp_copy_rand 
+5559 7003a801 jam pincode_state_wait_pincode ,mem_pincode_state 
+555a 70095b0a jam bt_evt_pincode_req ,mem_fifo_temp 
+555b 204078dc call ui_ipc_send_event 
+555c 20405a76 call tid_check 
+555d 2420d750 nbranch lmp_accept_inrand ,true 
+555e 2434d563 nbranch parse_lmp_inrand_res ,master 
+
+parse_lmp_in_rand_not_accept:
+555f 70007c04 jam lmp_not_accepted ,mem_lmo_opcode2 
+5560 70007d08 jam lmp_in_rand ,mem_lmi_opcode2 
+5561 70007e23 jam transaction_collision ,mem_lmo_reason2 
+5562 20600000 rtn 
+
+parse_lmp_inrand_res:
+5563 6fe0804b fetch 1 ,mem_op 
+5564 79207e02 set1 op_inrand_req ,pdata 
+5565 67e0804b store 1 ,mem_op 
+5566 20600000 rtn 
+
+pop_tid_follow:
+5567 6848804c fetcht 1 ,mem_state_map 
+5568 7d3a0401 nsetflag blank ,smap_lmptid ,temp 
+5569 6048804c storet 1 ,mem_state_map 
+556a 20600000 rtn 
+
+push_tid_follow:
+556b 6fe0807f fetch 1 ,mem_lmo_tid2 
+556c 1fe37e00 rshift pdata ,pdata 
+556d 1fe17e01 and_into 1 ,pdata 
+556e 20600000 rtn 
+
+parse_lmp_au_rand_moudle:
+556f 6fe0c48b fetch 1 ,mem_nv_data_number 
+5570 207a0000 rtn blank 
+5571 6fe08877 fetch 1 ,mem_pairing_auth 
+5572 205a60af call load_device_list ,blank 
+5573 20600000 rtn 
+
+parse_lmp_au_rand:
+5574 2040556f call parse_lmp_au_rand_moudle 
+5575 2040556b call push_tid_follow 
+5576 67e083a9 store 1 ,mem_sres_tid 
+5577 6fe0c648 fetch 1 ,mem_encapsulated_minor_type 
+5578 c0015581 beq encapsulated_minor_type_p256 ,parse_lmp_au_rand_256 
+5579 20405748 call lmp_copy_rand 
+557a 70007c0c jam lmp_sres ,mem_lmo_opcode2 
+
+parse_lmp_au_rand_common:
+557b 6fe0c1ca fetch 1 ,mem_link_key_exists 
+557c 247a0000 nrtn blank 
+557d 6fe08030 fetch 1 ,mem_state 
+557e c3830000 rtnbit1 state_combkey 
+557f 70007e06 jam key_missing ,mem_lmo_reason2 
+5580 2020543f branch reject_lmp_packet 
+
+parse_lmp_au_rand_256:
+5581 70007c0b jam lmp_au_rand ,mem_lmo_opcode2 
+5582 d8a008f0 arg mem_sp_random_remote ,contw 
+5583 d8c000cf arg mem_rxbuf + 1 ,contr 
+5584 20407d7f call memcpy16 
+5585 2020557b branch parse_lmp_au_rand_common 
+
+parse_lmp_sres:
+5586 6fe0c648 fetch 1 ,mem_encapsulated_minor_type 
+5587 c0015596 beq encapsulated_minor_type_p256 ,parse_lmp_sres_256 
+5588 da200040 arg mem_plap ,rega 
+5589 20406ba6 call function_e1 
+558a 684a0454 fetcht 4 ,mem_input_store 
+558b 6fe200cf fetch 4 ,mem_rxbuf + 1 
+558c 98467c00 isub temp ,null 
+558d 2022d591 branch authentication_ok ,zero 
+
+authentication_fail:
+558e 70007c07 jam lmp_detach ,mem_lmo_opcode2 
+558f 70039e05 jam authentication_failure_error ,mem_disconn_reason_send 
+5590 20600000 rtn 
+
+authentication_ok:
+5591 20406ca4 call copy_aco 
+5592 2040559f call authentication_ok_common 
+5593 6fe0c767 fetch 1 ,mem_ssp_enable 
+5594 203a5671 branch pairing_success ,blank 
+5595 20600000 rtn 
+
+parse_lmp_sres_256:
+5596 6fe200cf fetch 4 ,mem_rxbuf + 1 
+5597 684a091c fetcht 4 ,mema 
+5598 98467c00 isub temp ,null 
+5599 2022d59b branch authentication_ok_256 ,zero 
+559a 2020558e branch authentication_fail 
+
+authentication_ok_256:
+559b 2040559f call authentication_ok_common 
+559c 6fe0c6bb fetch 1 ,mem_secure_connections_enable 
+559d c280d671 bbit1 secure_connections_br_bit ,pairing_success 
+559e 20600000 rtn 
+
+authentication_ok_common:
+559f 204009b4 call linkkey_ready 
+55a0 6fe0804b fetch 1 ,mem_op 
+55a1 2feffe01 isolate1 op_auth_req ,pdata 
+55a2 793ffe01 set0 op_auth_req ,pdata 
+55a3 67e0804b store 1 ,mem_op 
+55a4 6fe08055 fetch 1 ,mem_conn_sm 
+55a5 c00cd5a8 beq conn_sm_auth_wait ,authentication_ok_conn_sm 
+55a6 c00c55a8 beq conn_sm_pairing_wait ,authentication_ok_conn_sm 
+55a7 20600000 rtn 
+
+authentication_ok_conn_sm:
+55a8 6fe08877 fetch 1 ,mem_pairing_auth 
+55a9 c1800000 rtnne defalt_pairing_auth 
+55aa 6fe0804c fetch 1 ,mem_state_map 
+55ab c3810000 rtnbit1 smap_encryption 
+55ac 20205b35 branch host_create_conn_encrypt 
+
+parse_lmp_comb_key:
+55ad da2000cf arg mem_rxbuf + 1 ,rega 
+55ae da400444 arg mem_kinit ,regb 
+55af d8a00424 arg mem_random_number ,contw 
+55b0 20406c70 call xor16 
+55b1 da200040 arg mem_plap ,rega 
+55b2 20405a94 call generate_linkkey 
+55b3 70007c0b jam lmp_au_rand ,mem_lmo_opcode2 
+55b4 6fe08030 fetch 1 ,mem_state 
+55b5 c303574b bbit0 state_combkey ,lmp_generate_key 
+55b6 20600000 rtn 
+
+parse_lmp_name_res:
+55b7 6fe100ae fetch 2 ,mem_len 
+55b8 1fe0f3fd add pdata ,-3 ,loopcnt 
+55b9 684880cf fetcht 1 ,mem_rxbuf + 1 
+55ba 58000a01 setarg mem_tmp_buffer 
+55bb 98408a00 iadd temp ,contw 
+55bc d8c000d1 arg mem_rxbuf + 3 ,contr 
+55bd 20407dd4 call memcpy 
+55be 68488053 fetcht 1 ,mem_name_offset 
+55bf 6fe080d0 fetch 1 ,mem_rxbuf + 2 
+55c0 98467e00 isub temp ,pdata 
+55c1 1fe67c0e sub pdata ,14 ,null 
+55c2 202155c7 branch parse_lmp_name_res_end ,positive 
+55c3 1840fe0e add temp ,14 ,pdata 
+55c4 67e08053 store 1 ,mem_name_offset 
+55c5 70007c01 jam lmp_name_req ,mem_lmo_opcode2 
+55c6 20600000 rtn 
+
+parse_lmp_name_res_end:
+55c7 6fe0804c fetch 1 ,mem_state_map 
+55c8 79207e03 set1 smap_name_res ,pdata 
+55c9 67e0804c store 1 ,mem_state_map 
+55ca c2825755 bbit1 smap_name_req ,lmp_disconnect 
+55cb 20600000 rtn 
+
+parse_lmp_name_req:
+55cc 6fe080cf fetch 1 ,mem_rxbuf + 1 
+55cd 67e0807d store 1 ,mem_lmi_opcode2 
+55ce 70007c02 jam lmp_name_res ,mem_lmo_opcode2 
+55cf 20600000 rtn 
+
+parse_lmp_conn_req:
+55d0 2020554b branch accept_lmp_msg 
+
+parse_lmp_timing_accuracy_req:
+55d1 70007c30 jam lmp_timing_accuracy_res ,mem_lmo_opcode2 
+55d2 20600000 rtn 
+
+parse_lmp_features_req:
+55d3 70007c28 jam lmp_features_res ,mem_lmo_opcode2 
+55d4 20600000 rtn 
+
+parse_lmp_version_req:
+55d5 70007c26 jam lmp_version_res ,mem_lmo_opcode2 
+55d6 20600000 rtn 
+
+parse_lmp_supervision_timeout:
+55d7 20600000 rtn 
+
+parse_lmp_sniff_subrating_req:
+55d8 6fe10032 fetch 2 ,mem_tsniff 
+55d9 98000400 iforce temp 
+55da 6fe080d0 fetch 1 ,mem_rxbuf + 2 
+55db 67e08092 store 1 ,mem_subsniff_rate 
+55dc 984f8400 imul32 temp ,temp 
+55dd 6fe100d1 fetch 2 ,mem_rxbuf + 3 
+55de 1fe3fe00 lshift pdata ,pdata 
+55df 67e10093 store 2 ,mem_subsniff_tcmax 
+55e0 6fe200d3 fetch 4 ,mem_rxbuf + 5 
+55e1 1fe3fe00 lshift pdata ,pdata 
+55e2 67e2008e store 4 ,mem_subsniff_instant 
+55e3 18427e00 deposit temp 
+55e4 67e10095 store 2 ,mem_subsniff_tsniff 
+55e5 20600000 rtn 
+
+parse_lmpext_packet_type_table_req:
+55e6 6848c15f fetcht 1 ,mem_ptt 
+55e7 6fe080d0 fetch 1 ,mem_rxbuf + 2 
+55e8 9842fc00 ixor temp ,null 
+55e9 2422d466 nbranch reject_unknown_ext_packet ,zero 
+55ea 2feffe00 isolate1 0 ,pdata 
+55eb 6fe0804c fetch 1 ,mem_state_map 
+55ec 7920fe05 setflag true ,smap_edr ,pdata 
+55ed 67e0804c store 1 ,mem_state_map 
+55ee 70007c81 jam lmp_ext_accepted ,mem_lmo_opcode2 
+55ef 70007d8b jam lmp_packet_type_table_req ,mem_lmi_opcode2 
+55f0 20600000 rtn 
+
+parse_lmp_sniff_subrating_res:
+
+parse_lmp_preferred_rate:
+
+parse_lmp_max_power:
+
+parse_lmp_min_power:
+55f1 20600000 rtn 
+
+parse_lmp_page_mode_req:
+55f2 2020554b branch accept_lmp_msg 
+
+parse_lmp_page_scan_mode_req:
+55f3 2020554b branch accept_lmp_msg 
+
+parse_lmp_slot_offset:
+55f4 6fe100cf fetch 2 ,mem_rxbuf + 1 
+55f5 67e100c0 store 2 ,mem_slot_offset 
+55f6 20600000 rtn 
+
+parse_lmp_sniff_req_check_sniff_para:
+55f7 6fe100d2 fetch 2 ,mem_rxbuf + 4 
+55f8 6848c177 fetcht 1 ,mem_lpm_mult 
+55f9 984ffe00 imul32 temp ,pdata 
+55fa d8400640 arg 0x640 ,temp 
+55fb 98467c00 isub temp ,null 
+55fc 20600000 rtn 
+
+parse_lmp_sniff_req:
+55fd 6fe100d4 fetch 2 ,mem_rxbuf + 6 
+55fe 203a56ec branch lmp_reject_pdu_not_allowed ,blank 
+55ff 204055f7 call parse_lmp_sniff_req_check_sniff_para 
+5600 202156ec branch lmp_reject_pdu_not_allowed ,positive 
+5601 6fe0c09a fetch 1 ,mem_device_option 
+5602 1fe67c0a sub pdata ,dvc_op_module ,null 
+5603 2042bc4c call module_set_lpm_mult_2 ,zero 
+5604 6fe08030 fetch 1 ,mem_state 
+5605 c280d6ec bbit1 state_insniff ,lmp_reject_pdu_not_allowed 
+5606 6fe100d0 fetch 2 ,mem_rxbuf + 2 
+5607 1fe3fe00 lshift pdata ,pdata 
+5608 67e10075 store 2 ,mem_dsniff 
+5609 6fe100d2 fetch 2 ,mem_rxbuf + 4 
+560a 1fe3fe00 lshift pdata ,pdata 
+560b 67e10032 store 2 ,mem_tsniff 
+560c 6fe100d4 fetch 2 ,mem_rxbuf + 6 
+560d 67e08073 store 1 ,mem_sniff_attempt 
+560e 98000400 iforce temp 
+560f 6fe100d6 fetch 2 ,mem_rxbuf + 8 
+5610 67e08074 store 1 ,mem_sniff_timeout 
+5611 98467c00 isub temp ,null 
+5612 24215614 nbranch set_big_value_to_attempt ,positive 
+5613 67e08073 store 1 ,mem_sniff_attempt 
+
+set_big_value_to_attempt:
+5614 70007c03 jam lmp_accepted ,mem_lmo_opcode2 
+5615 70007d17 jam lmp_sniff_req ,mem_lmi_opcode2 
+5616 20600000 rtn 
+
+parse_lmp_start_encryption_req:
+5617 6fe0c648 fetch 1 ,mem_encapsulated_minor_type 
+5618 c001561d beq encapsulated_minor_type_p256 ,parse_lmp_start_encryption_req_256 
+5619 2040554b call accept_lmp_msg 
+561a 20405748 call lmp_copy_rand 
+561b 20406ba9 call function_e3 
+561c 20200ee1 branch start_encryption 
+
+parse_lmp_start_encryption_req_256:
+561d 2040554b call accept_lmp_msg 
+561e 20400ee1 call start_encryption 
+
+calc_kc:
+561f 20407537 call function_h3 
+5620 d8a00062 arg mem_kc ,contw 
+5621 d8c00910 arg mem_sp_calc_result_high ,contr 
+5622 df200010 arg 0x10 ,loopcnt 
+5623 20207ed9 branch reverse_byte 
+
+parse_lmp_stop_encryption_req:
+5624 2040554b call accept_lmp_msg 
+5625 20200eeb branch stop_encryption 
+
+parse_lmp_switch_req:
+5626 6fe200cf fetch 4 ,mem_rxbuf + 1 
+5627 1fe3fe00 lshift pdata ,pdata 
+5628 2034d630 branch parse_lmp_switch_accept ,master 
+5629 6848c1ca fetcht 1 ,mem_link_key_exists 
+562a 243a562d nbranch parse_lmp_switch_req_clear_mark ,blank 
+
+parse_lmp_switch_req_not_accept:
+562b 70007d13 jam lmp_switch_req ,mem_lmi_opcode2 
+562c 202056ec branch lmp_reject_pdu_not_allowed 
+
+parse_lmp_switch_req_clear_mark:
+562d 70007c34 jam lmp_slot_offset ,mem_lmo_opcode2 
+562e 70005500 jam 0 ,mem_conn_sm 
+562f 202009db branch role_switch_prepare 
+
+parse_lmp_switch_accept:
+5630 204009db call role_switch_prepare 
+5631 79200022 set1 mark_reconn_recieve_switch ,mark 
+5632 6fe080bc fetch 1 ,mem_connection_options 
+5633 793ffe02 set0 connection_switch ,pdata 
+5634 67e080bc store 1 ,mem_connection_options 
+5635 2020554b branch accept_lmp_msg 
+
+parse_lmp_temp_rand:
+
+parse_lmp_temp_key:
+
+parse_lmp_timing_accuracy_res:
+
+parse_lmp_unit_key:
+
+parse_lmp_use_semi_permanend_key:
+5636 20600000 rtn 
+
+parse_lmp_unsniff_req:
+5637 70007c03 jam lmp_accepted ,mem_lmo_opcode2 
+5638 70007d18 jam lmp_unsniff_req ,mem_lmi_opcode2 
+5639 70095b2e jam bt_evt_remote_unsniff ,mem_fifo_temp 
+563a 204078dc call ui_ipc_send_event 
+563b 20200f12 branch sniff_exit 
+
+parse_lmp_encapsulated_header:
+563c 70087900 jam 0 ,mem_sp_remote_key_recv_count 
+563d 6fe080cf fetch 1 ,mem_rxbuf + 1 
+563e 67e0c647 store 1 ,mem_encapsulated_major_type 
+563f c080d6ec bne encapsulated_major_type ,lmp_reject_pdu_not_allowed 
+5640 684880d0 fetcht 1 ,mem_rxbuf + 2 
+5641 6048c648 storet 1 ,mem_encapsulated_minor_type 
+5642 6fe0c6b9 fetch 1 ,mem_sc_only_mode 
+5643 203a5646 branch parse_lmp_encapsulated_header2 ,blank 
+5644 18467c02 sub temp ,encapsulated_minor_type_p256 ,null 
+5645 2422d58e nbranch authentication_fail ,zero 
+
+parse_lmp_encapsulated_header2:
+5646 6fe080d1 fetch 1 ,mem_rxbuf + 3 
+5647 c020564a beq encapsulated_len_p256 ,parse_lmp_encapsulated_header3 
+5648 c018564a beq encapsulated_len_p192 ,parse_lmp_encapsulated_header3 
+5649 202056ec branch lmp_reject_pdu_not_allowed 
+
+parse_lmp_encapsulated_header3:
+564a 67e0c649 store 1 ,mem_encapsulated_len 
+564b 20405a7f call check_localsm 
+564c 2020d64e branch parse_lmp_encapsulated_header_master ,true 
+564d 70087001 jam sp_stat_key_recv ,mem_sp_state 
+
+parse_lmp_encapsulated_header_master:
+564e 70007c03 jam lmp_accepted ,mem_lmo_opcode2 
+564f 70007d3d jam lmp_encapsulated_header ,mem_lmi_opcode2 
+5650 202053f1 branch parse_rx_done 
+
+parse_lmp_accepted_encapsulated_header:
+5651 70007c3e jam lmp_encapsulated_payload ,mem_lmo_opcode2 
+5652 20600000 rtn 
+
+parse_lmp_accepted_simple_pairing_number:
+5653 6fe0c76f fetch 1 ,mem_ssp_mode_flag 
+5654 c000d65a beq ssp_mode_ssp_pin_flag ,parse_lmp_accepted_simple_pairing_number_ssp_pin 
+5655 c001565e beq ssp_mode_passkey_entry_flag ,parse_lmp_accepted_simple_pairing_number_passkey 
+
+parse_lmp_accepted_simple_pairing_number_common:
+5656 20405a7f call check_localsm 
+5657 20608000 rtn true 
+5658 70087008 jam sp_stat_confirm_recv ,mem_sp_state 
+5659 20600000 rtn 
+
+parse_lmp_accepted_simple_pairing_number_ssp_pin:
+565a 2040735d call g_noninit_number_confirm 
+565b 70095b35 jam bt_evt_bt_gkey_generate ,mem_fifo_temp 
+565c 204078dc call ui_ipc_send_event 
+565d 20205656 branch parse_lmp_accepted_simple_pairing_number_common 
+
+parse_lmp_accepted_simple_pairing_number_passkey:
+565e 20405a7f call check_localsm 
+565f 20608000 rtn true 
+5660 6fe0c770 fetch 1 ,mem_authentication_passkey_times 
+5661 c009d66e beq 19 ,authentication_passkey_end 
+5662 1fe0fe01 increase 1 ,pdata 
+5663 67e0c770 store 1 ,mem_authentication_passkey_times 
+
+authentication_passkey:
+5664 70087201 jam sp_flag_commit ,mem_sp_flag 
+5665 70087004 jam sp_stat_commit_calc ,mem_sp_state 
+5666 6fe0c770 fetch 1 ,mem_authentication_passkey_times 
+5667 1fe20e00 copy pdata ,queue 
+5668 6fe34797 fetch 6 ,mem_pin 
+5669 afefffff qisolate1 pdata 
+566a 58000080 setarg 0x80 
+566b 7920fe00 setflag true ,0 ,pdata 
+566c 67e0c771 store 1 ,mem_passkey_1bit 
+566d 20600000 rtn 
+
+authentication_passkey_end:
+566e 70087008 jam sp_stat_confirm_recv ,mem_sp_state 
+566f 20600000 rtn 
+
+parse_lmp_accepted_dhkey_check:
+5670 20405676 call parse_lmp_accepted_dhkey_check_common 
+
+pairing_success:
+5671 6fe0c772 fetch 1 ,mem_flag_pairing_state 
+5672 207a0000 rtn blank 
+5673 70477200 jam flag_pairing_state_not_pairing ,mem_flag_pairing_state 
+5674 70095b38 jam bt_evt_bt_pairing_success ,mem_fifo_temp 
+5675 202078dc branch ui_ipc_send_event 
+
+parse_lmp_accepted_dhkey_check_common:
+5676 20405a7f call check_localsm 
+5677 2440f367 ncall g_noninit_192 ,true 
+5678 2040f377 call g_init_192 ,true 
+5679 20405a7f call check_localsm 
+567a 20608000 rtn true 
+567b 7008700c jam sp_stat_link_key_calc ,mem_sp_state 
+567c 70087201 jam sp_flag_commit ,mem_sp_flag 
+567d 20600000 rtn 
+
+parse_simple_pairing_confirm:
+567e d8a00930 arg mem_sp_confirm_remote ,contw 
+567f d8c000cf arg mem_rxbuf + 1 ,contr 
+5680 20407d7f call memcpy16 
+5681 6fe0c76f fetch 1 ,mem_ssp_mode_flag 
+5682 c1010000 rtneq ssp_mode_passkey_entry_flag 
+5683 202070d3 branch master_set_mem_master_sp_flag 
+5684 20600000 rtn 
+
+parse_lmp_encapsulated_payload:
+5685 6fe0c648 fetch 1 ,mem_encapsulated_minor_type 
+5686 c000d69b beq encapsulated_minor_type_p192 ,parse_lmp_encapsulated_payload_192 
+5687 c0015689 beq encapsulated_minor_type_p256 ,parse_lmp_encapsulated_payload_256 
+5688 202056ec branch lmp_reject_pdu_not_allowed 
+
+parse_lmp_encapsulated_payload_256:
+5689 6fe08871 fetch 1 ,mem_master_sp_state 
+568a c003d68d beq sp_stat_random_send ,parse_encapsulated_payload_256_master 
+568b 6fe08870 fetch 1 ,mem_sp_state 
+568c c080d6ec bne sp_stat_key_recv ,lmp_reject_pdu_not_allowed 
+
+parse_encapsulated_payload_256_master:
+568d 6fe08879 fetch 1 ,mem_sp_remote_key_recv_count 
+568e 1fe60a30 sub pdata ,0x30 ,contw 
+568f 242156ec nbranch lmp_reject_pdu_not_allowed ,positive 
+5690 d8a00880 arg mem_le_pubkey_remote_x_256 ,contw 
+5691 98a08a00 iadd contw ,contw 
+5692 6fe400cf fetch 8 ,mem_rxbuf + 1 
+5693 e7e40005 istore 8 ,contw 
+5694 6fe400d7 fetch 8 ,mem_rxbuf + 9 
+5695 e7e40005 istore 8 ,contw 
+5696 6fe08879 fetch 1 ,mem_sp_remote_key_recv_count 
+5697 1fe0fe10 increase 16 ,pdata 
+5698 67e08879 store 1 ,mem_sp_remote_key_recv_count 
+5699 c0a0554b bne encapsulated_len_p256 ,accept_lmp_msg 
+569a 202056ac branch parse_lmp_encapsulated_payload_completed 
+
+parse_lmp_encapsulated_payload_192:
+569b 6fe08871 fetch 1 ,mem_master_sp_state 
+569c c003d69f beq sp_stat_random_send ,parse_encapsulated_payload_192_master 
+569d 6fe08870 fetch 1 ,mem_sp_state 
+569e c080d6ec bne sp_stat_key_recv ,lmp_reject_pdu_not_allowed 
+
+parse_encapsulated_payload_192_master:
+569f 6fe08879 fetch 1 ,mem_sp_remote_key_recv_count 
+56a0 1fe60a20 sub pdata ,0x20 ,contw 
+56a1 242156ec nbranch lmp_reject_pdu_not_allowed ,positive 
+56a2 d8a00888 arg mem_sp_pubkey_remote ,contw 
+56a3 98a08a00 iadd contw ,contw 
+56a4 6fe400cf fetch 8 ,mem_rxbuf + 1 
+56a5 e7e40005 istore 8 ,contw 
+56a6 6fe400d7 fetch 8 ,mem_rxbuf + 9 
+56a7 e7e40005 istore 8 ,contw 
+56a8 6fe08879 fetch 1 ,mem_sp_remote_key_recv_count 
+56a9 1fe0fe10 increase 16 ,pdata 
+56aa 67e08879 store 1 ,mem_sp_remote_key_recv_count 
+56ab c098554b bne encapsulated_len_p192 ,accept_lmp_msg 
+
+parse_lmp_encapsulated_payload_completed:
+56ac 20405a7f call check_localsm 
+56ad 2020d54b branch accept_lmp_msg ,true 
+56ae 70087a01 jam sp_key_valid ,mem_sp_remote_key_invalid 
+56af 70087002 jam sp_stat_key_generate ,mem_sp_state 
+56b0 70087201 jam sp_flag_commit ,mem_sp_flag 
+56b1 2020554b branch accept_lmp_msg 
+
+parse_lmp_accepted_encapsulated_payload:
+56b2 6fe0c648 fetch 1 ,mem_encapsulated_minor_type 
+56b3 c000d6b6 beq encapsulated_minor_type_p192 ,parse_lmp_accepted_encapsulated_payload_192 
+56b4 c00156ba beq encapsulated_minor_type_p256 ,parse_lmp_accepted_encapsulated_payload_256 
+56b5 20600000 rtn 
+
+parse_lmp_accepted_encapsulated_payload_192:
+56b6 6fe08878 fetch 1 ,mem_sp_local_key_send_count 
+56b7 c01856be beq encapsulated_len_p192 ,parse_lmp_encapsulated_payload_all_accepted 
+56b8 70007c3e jam lmp_encapsulated_payload ,mem_lmo_opcode2 
+56b9 20600000 rtn 
+
+parse_lmp_accepted_encapsulated_payload_256:
+56ba 6fe08878 fetch 1 ,mem_sp_local_key_send_count 
+56bb c02056be beq encapsulated_len_p256 ,parse_lmp_encapsulated_payload_all_accepted 
+56bc 70007c3e jam lmp_encapsulated_payload ,mem_lmo_opcode2 
+56bd 20600000 rtn 
+
+parse_lmp_encapsulated_payload_all_accepted:
+56be 20405a7f call check_localsm 
+56bf 2020d6c7 branch parse_lmp_encapsulated_payload_all_accepted_master ,true 
+56c0 6fe0c76f fetch 1 ,mem_ssp_mode_flag 
+56c1 c00156c5 beq ssp_mode_passkey_entry_flag ,parse_lmp_encapsulated_payload_all_accepted_get_passkey 
+56c2 70087201 jam sp_flag_commit ,mem_sp_flag 
+56c3 70087004 jam sp_stat_commit_calc ,mem_sp_state 
+56c4 202053f1 branch parse_rx_done 
+
+parse_lmp_encapsulated_payload_all_accepted_get_passkey:
+56c5 70095b36 jam bt_evt_bt_get_passkey ,mem_fifo_temp 
+56c6 202078dc branch ui_ipc_send_event 
+
+parse_lmp_encapsulated_payload_all_accepted_master:
+56c7 202053f1 branch parse_rx_done 
+
+parse_lmp_simple_pairing_number:
+56c8 6fe08871 fetch 1 ,mem_master_sp_state 
+56c9 c003d6cc beq sp_stat_random_send ,parse_lmp_simple_pairing_number_master 
+56ca 6fe08870 fetch 1 ,mem_sp_state 
+56cb c08356ec bne sp_stat_random_recv ,lmp_reject_pdu_not_allowed 
+
+parse_lmp_simple_pairing_number_master:
+56cc d8a008f0 arg mem_sp_random_remote ,contw 
+56cd 6fe400cf fetch 8 ,mem_rxbuf + 1 
+56ce e7e40005 istore 8 ,contw 
+56cf 6fe400d7 fetch 8 ,mem_rxbuf + 9 
+56d0 e7e40005 istore 8 ,contw 
+56d1 20405a7f call check_localsm 
+56d2 2020d6d6 branch parse_lmp_simple_pairing_number_master0 ,true 
+56d3 70087007 jam sp_stat_random_send ,mem_sp_state 
+56d4 70087201 jam sp_flag_commit ,mem_sp_flag 
+56d5 2020554b branch accept_lmp_msg 
+
+parse_lmp_simple_pairing_number_master0:
+56d6 70087104 jam sp_stat_commit_calc ,mem_master_sp_state 
+56d7 202070d3 branch master_set_mem_master_sp_flag 
+56d8 202056ec branch lmp_reject_pdu_not_allowed 
+
+parse_dhkey_check:
+56d9 6fe08871 fetch 1 ,mem_master_sp_state 
+56da c005d6dd beq sp_stat_confirm_send ,parse_dhkey_check_master 
+56db 6fe08870 fetch 1 ,mem_sp_state 
+56dc c08456ec bne sp_stat_confirm_recv ,lmp_reject_pdu_not_allowed 
+
+parse_dhkey_check_master:
+56dd d8a00920 arg mem_sp_check_result ,contw 
+56de d8c000cf arg mem_rxbuf + 1 ,contr 
+56df 20407d7f call memcpy16 
+56e0 20405a7f call check_localsm 
+56e1 2020d6e9 branch parse_dhkey_check_master0 ,true 
+56e2 6fe0c76f fetch 1 ,mem_ssp_mode_flag 
+56e3 c000d6ee beq ssp_mode_ssp_pin_flag ,number_comparison_mode 
+
+number_comparison_successed:
+56e4 70476e00 jam 0 ,mem_flag_mode_ssp_pin 
+56e5 70087009 jam sp_stat_confirm_check ,mem_sp_state 
+56e6 70087201 jam sp_flag_commit ,mem_sp_flag 
+56e7 70007d41 jam lmp_dhkey_check ,mem_lmi_opcode2 
+56e8 202053f1 branch parse_rx_done 
+
+parse_dhkey_check_master0:
+56e9 70087109 jam sp_stat_confirm_check ,mem_master_sp_state 
+56ea 70087301 jam sp_flag_commit ,mem_master_sp_flag 
+56eb 202053f1 branch parse_rx_done 
+
+lmp_reject_pdu_not_allowed:
+56ec 70007e24 jam pdu_not_allowed ,mem_lmo_reason2 
+56ed 2020543f branch reject_lmp_packet 
+
+number_comparison_mode:
+56ee 6fe0c76e fetch 1 ,mem_flag_mode_ssp_pin 
+56ef c283d6f3 bbit1 flag_mode_ssp_pin_reviceve_comparison_bit ,comparison_result 
+56f0 79207e06 set1 flag_mode_ssp_pin_recieve_dhkey_bit ,pdata 
+56f1 67e0c76e store 1 ,mem_flag_mode_ssp_pin 
+56f2 20600000 rtn 
+
+comparison_result:
+56f3 c28056e4 bbit1 flag_mode_ssp_pin_comparison_result_bit ,number_comparison_successed 
+56f4 70476e00 jam 0 ,mem_flag_mode_ssp_pin 
+56f5 202056ec branch lmp_reject_pdu_not_allowed 
+
+parse_lmp_clkoffset_res:
+56f6 202053f1 branch parse_rx_done 
+
+parse_lmp_encryption_mode_req:
+56f7 6fe080bc fetch 1 ,mem_connection_options 
+56f8 793ffe01 set0 connection_encrypt ,pdata 
+56f9 67e080bc store 1 ,mem_connection_options 
+56fa 2040554b call accept_lmp_msg 
+56fb 24748000 nrtn master 
+56fc 6fe080cf fetch 1 ,mem_rxbuf + 1 
+56fd 6848804b fetcht 1 ,mem_op 
+56fe 793a0404 setflag blank ,op_stop_enc ,temp 
+56ff 7d3a0405 nsetflag blank ,op_start_enc ,temp 
+5700 6048804b storet 1 ,mem_op 
+5701 20600000 rtn 
+
+parse_lmp_features_res:
+5702 684c00cf fetcht 8 ,mem_rxbuf + 1 
+
+parse_lmp_features_res_not_hci:
+5703 6fe08055 fetch 1 ,mem_conn_sm 
+5704 c1818000 rtnne conn_sm_wait_features_res 
+5705 6fe080bc fetch 1 ,mem_connection_options 
+5706 c3025709 bbit0 connection_feature_ext ,parse_lmp_send_conn 
+5707 70005514 jam conn_sm_send_features_ext ,mem_conn_sm 
+5708 20600000 rtn 
+
+parse_lmp_send_conn:
+5709 70005504 jam conn_sm_send_conn_req ,mem_conn_sm 
+570a 20600000 rtn 
+
+parse_lmp_test_activate:
+570b 6fe080e3 fetch 1 ,mem_debug_config 
+570c 67e08a5b store 1 ,mem_test_mode_old_debug_config 
+570d 70007c03 jam lmp_accepted ,mem_lmo_opcode2 
+570e 70007d38 jam lmp_test_activate ,mem_lmi_opcode2 
+570f 20600000 rtn 
+
+parse_lmp_test_control:
+5710 70007c03 jam lmp_accepted ,mem_lmo_opcode2 
+5711 70007d39 jam lmp_test_control ,mem_lmi_opcode2 
+5712 18007209 force 9 ,loopcnt 
+5713 d8c000cf arg mem_rxbuf + 1 ,contr 
+5714 d8a00a52 arg mem_temp_payload ,contw 
+
+parse_lmp_test_xor:
+5715 efe08006 ifetch 1 ,contr 
+5716 1fe2fe55 xor_into 0x55 ,pdata 
+5717 e7e08005 istore 1 ,contw 
+5718 c2005715 loop parse_lmp_test_xor 
+5719 6fe08a52 fetch 1 ,test_mode_scenario 
+571a 68488a51 fetcht 1 ,mem_tester_emulate 
+571b 793f8407 set0 tester_no_whitening ,temp 
+571c 793f8404 set0 tester_pattern_test ,temp 
+571d c07fd729 beq exit_test_mode ,parse_lmp_test_control_exit 
+571e c0005742 beq pause_test_mode ,parse_lmp_test_control_pause 
+571f c002d736 beq closed_loop_back_acl ,parse_lmp_test_control_loopback 
+5720 c003d735 beq acl_without_whitening ,parse_lmp_test_control_loopback_nowhite 
+5721 c0035736 beq closed_loop_back_sco ,parse_lmp_test_control_loopback 
+5722 c0045735 beq sco_without_whitening ,parse_lmp_test_control_loopback_nowhite 
+5723 c000d72e beq zero_pattern ,parse_lmp_test_control_pattern 
+5724 c001572e beq one_pattern ,parse_lmp_test_control_pattern 
+5725 c001d72e beq alt_pattern ,parse_lmp_test_control_pattern 
+5726 c004d72e beq alt2_pattern ,parse_lmp_test_control_pattern 
+5727 c002572e beq pseudorandom ,parse_lmp_test_control_pattern 
+5728 20600000 rtn 
+
+parse_lmp_test_control_exit:
+5729 6fe08a51 fetch 1 ,mem_tester_emulate 
+572a 79207e03 set1 tester_exit ,pdata 
+572b 79207e02 set1 tester_change ,pdata 
+572c 67e08a51 store 1 ,mem_tester_emulate 
+572d 20600000 rtn 
+
+parse_lmp_test_control_pattern:
+572e 79200404 set1 tester_pattern_test ,temp 
+572f 7000e405 jam 5 ,mem_lch_code 
+5730 6fe10a59 fetch 2 ,test_mode_data_length 
+5731 98007200 iforce loopcnt 
+5732 67e100ae store 2 ,mem_len 
+5733 d8a000ce arg mem_rxbuf ,contw 
+5734 20407e48 call pn9 
+
+parse_lmp_test_control_loopback_nowhite:
+5735 79200407 set1 tester_no_whitening ,temp 
+
+parse_lmp_test_control_loopback:
+5736 79200402 set1 tester_change ,temp 
+5737 18007e00 force 0 ,pdata 
+5738 67e0800b store 1 ,mem_slave_rcvcnt 
+5739 67e109fa store 2 ,mem_tst_pktcnt_crc 
+573a 67e109fc store 2 ,mem_tst_pktcnt_dmh 
+573b 67e109f8 store 2 ,mem_tst_pktcnt_hec 
+573c 67e109f6 store 2 ,mem_tst_pktcnt_sync 
+573d 6fe08a53 fetch 1 ,test_mode_hopping_mode 
+573e 2fe1fe00 compare fixed_freq ,pdata ,0xff 
+573f 79208406 setflag true ,tester_fixed_freq ,temp 
+5740 60488a51 storet 1 ,mem_tester_emulate 
+5741 20600000 rtn 
+
+parse_lmp_test_control_pause:
+5742 793f8011 set0 mark_testmode ,mark 
+5743 700a5100 jam 0 ,mem_tester_emulate 
+5744 6fe080e3 fetch 1 ,mem_debug_config 
+5745 793ffe06 set0 debug_tx_pattern ,pdata 
+5746 67e080e3 store 1 ,mem_debug_config 
+5747 20600000 rtn 
+
+lmp_copy_rand:
+5748 d8c000cf arg mem_rxbuf + 1 ,contr 
+5749 d8a00424 arg mem_random_number ,contw 
+574a 20207d7f branch memcpy16 
+
+lmp_generate_key:
+574b 70007c09 jam lmp_comb_key ,mem_lmo_opcode2 
+574c 20600000 rtn 
+
+lmp_start_encryption:
+574d 24748000 nrtn master 
+574e 70007c11 jam lmp_start_encryption_req ,mem_lmo_opcode2 
+574f 20600000 rtn 
+
+lmp_accept_inrand:
+5750 da2040a8 arg mem_lap ,rega 
+5751 20406b73 call generate_kinit 
+5752 70007c03 jam lmp_accepted ,mem_lmo_opcode2 
+5753 70007d08 jam lmp_in_rand ,mem_lmi_opcode2 
+5754 20600000 rtn 
+
+lmp_disconnect:
+5755 7000720a jam 10 ,mem_conn_timer 
+5756 70007c07 jam lmp_detach ,mem_lmo_opcode2 
+5757 70039e16 jam local_host ,mem_disconn_reason_send 
+5758 20600000 rtn 
+
+send_lmp:
+5759 470cc023 bpatchx patch23_1 ,mem_patch23 
+575a 78547c00 disable user 
+575b 20405a44 call lmo_fifo_process 
+575c 6fe08048 fetch 1 ,mem_lmp_to_send 
+575d 207a0000 rtn blank 
+575e c283d78e bbit1 7 ,send_lmp_escape 
+
+send_lmp0:
+575f c000d8d8 beq lmp_name_req ,send_lmp_name_req 
+5760 c0015859 beq lmp_name_res ,send_lmp_name_res 
+5761 c001d79a beq lmp_accepted ,send_lmp_accepted 
+5762 c00257b0 beq lmp_not_accepted ,send_lmp_not_accepted 
+5763 c013d944 beq lmp_features_req ,send_lmp_features_req 
+5764 c014587d beq lmp_features_res ,send_lmp_features_res 
+5765 c0185869 beq lmp_timing_accuracy_res ,send_lmp_timing_accuracy_res 
+5766 c012d93f beq lmp_version_req ,send_lmp_version_req 
+5767 c0135878 beq lmp_version_res ,send_lmp_version_res 
+5768 c018d92c beq lmp_setup_complete ,send_lmp_setup_complete 
+5769 c01bd8d3 beq lmp_supervision_timeout ,send_lmp_superto 
+576a c019d8c5 beq lmp_host_connection_req ,send_lmp_no_payload 
+576b c00459c6 beq lmp_in_rand ,send_lmp_inrand 
+576c c004d9bc beq lmp_comb_key ,send_lmp_comb_key 
+576d c005d9d1 beq lmp_au_rand ,send_lmp_aurand 
+576e c00659de beq lmp_sres ,send_lmp_sres 
+576f c007d8cb beq lmp_encryption_mode_req ,send_lmp_encryption_mode_req 
+5770 c0085a14 beq lmp_encryption_key_size_req ,send_lmp_encryption_key_size_req 
+5771 c008da0a beq lmp_start_encryption_req ,send_lmp_start_encryption 
+5772 c003d8bb beq lmp_detach ,send_lmp_detach 
+5773 c01558e7 beq lmp_quality_of_service_req ,send_lmp_quality_of_service_req 
+5774 c00558e8 beq lmp_unit_key ,send_lmp_unit_key 
+5775 c00fd925 beq lmp_incr_power_req ,send_lmp_inc_power 
+5776 c003586e beq lmp_clkoffset_res ,send_lmp_clkoffset_res 
+5777 c010d8c8 beq lmp_max_power ,send_lmp_nopayload_reply 
+5778 c016d91b beq lmp_max_slot ,send_lmp_max_slot 
+5779 c0175920 beq lmp_max_slot_req ,send_lmp_max_slot_req 
+577a c01158c8 beq lmp_min_power ,send_lmp_nopayload_reply 
+577b c01a58e9 beq lmp_slot_offset ,send_lmp_slot_offset 
+577c c009d8fe beq lmp_switch_req ,send_lmp_switch_req 
+577d c00bd90d beq lmp_sniff_req ,send_lmp_sniff_req 
+577e c0095a11 beq lmp_stop_encryption_req ,send_lmp_stop_encryption_req 
+577f c017d913 beq lmp_timing_accuracy_req ,send_lmp_timing_accuracy_req 
+5780 c00c5918 beq lmp_unsniff_req ,send_lmp_unsniff_req 
+5781 c01ed967 beq lmp_encapsulated_header ,send_lmp_encapsulated_header 
+5782 c01f596f beq lmp_encapsulated_payload ,send_lmp_encapsulated_payload 
+5783 c01fd98a beq lmp_simple_pairing_confirm ,send_lmp_simple_pairing_comfirm 
+5784 c0205994 beq lmp_simple_pairing_number ,send_lmp_simple_pairing_number 
+5785 c020d9a9 beq lmp_dhkey_check ,send_lmp_dhkey_check 
+5786 c011d9b8 beq lmp_auto_rate ,send_lmp_auto_rate 
+5787 c01dd9b3 beq lmp_enc_key_size_mask_res ,send_lmp_enc_key_size_mask_res 
+5788 c002d9b9 beq lmp_clkoffset_req ,send_lmp_clkoffset_req 
+5789 c014d9ba beq lmp_quality_of_service ,send_lmp_quality_of_service 
+578a c01c59bb beq lmp_test_activate ,send_lmp_test_activate 
+578b c01cd8de beq lmp_test_control ,send_lmp_test_control 
+
+send_lmp_error:
+578c 2020137c branch assert 
+578d 20600000 rtn 
+
+send_lmp_escape:
+578e c040d7bd beq lmp_ext_accepted ,send_lmpext_accepted 
+578f c041d882 beq lmp_ext_features_req ,send_lmpext_features_req 
+5790 c04257ec beq lmp_ext_features_res ,send_lmpext_features_res 
+5791 c04157c6 beq lmp_not_accepted_ext ,send_lmpext_not_accepted 
+5792 c045d88f beq lmp_packet_type_table_req ,send_lmpext_packet_type_table_req 
+5793 c04bd8b7 beq lmp_pause_encryption_req ,send_lmpext_pause_encryption_req 
+5794 c04cd84a beq lmp_io_cap_req ,send_lmp_io_cap_req 
+5795 c04d5819 beq lmp_io_cap_res ,send_lmpext_io_cap_res 
+5796 c04ad84f beq lmp_sniff_subrating_req ,send_lmpext_sniff_subrating_req 
+5797 c04b5850 beq lmp_sniff_subrating_res ,send_lmpext_sniff_subrating_res 
+5798 c05157e9 beq lmp_ping_res ,send_lmpext_ping_res 
+5799 2020137c branch assert 
+
+send_lmp_accepted:
+579a 18007e02 force 2 ,pdata 
+579b 20405a1a call msg_send_lmp 
+579c 6fe08049 fetch 1 ,mem_lmi_opcode 
+579d e7e08005 istore 1 ,contw 
+579e 20405a29 call send_lmp_follow 
+579f 470d4023 bpatchx patch23_2 ,mem_patch23 
+57a0 6fe08049 fetch 1 ,mem_lmi_opcode 
+57a1 c00457d0 beq lmp_in_rand ,send_lmp_accepted_inrand 
+57a2 c007d7d4 beq lmp_encryption_mode_req ,send_lmp_accepted_enc_mode 
+57a3 c00857df beq lmp_encryption_key_size_req ,send_lmp_accepted_enc_key 
+57a4 c00bd7af beq lmp_sniff_req ,send_lmp_accept_sniff_req 
+57a5 c019d7e2 beq lmp_host_connection_req ,send_lmp_accepted_connection 
+57a6 c020d7e8 beq lmp_dhkey_check ,send_lmp_accept_dhkey_check 
+57a7 c008d7a9 beq lmp_start_encryption_req ,send_create_conn_start_l2cap_timer_sm 
+57a8 20600000 rtn 
+
+send_create_conn_start_l2cap_timer_sm:
+57a9 6fe08055 fetch 1 ,mem_conn_sm 
+57aa 207a0000 rtn blank 
+57ab 7000551b jam conn_sm_wait_done ,mem_conn_sm 
+57ac 5800000c setarg timer_enpt_waite 
+57ad d8e00007 arg enpt_delay_timer ,queue 
+57ae 20207ddb branch timer_init 
+
+send_lmp_accept_sniff_req:
+57af 20200ef1 branch sniff_init 
+
+send_lmp_not_accepted:
+57b0 18007e03 force 3 ,pdata 
+57b1 20405a1a call msg_send_lmp 
+57b2 6fe08049 fetch 1 ,mem_lmi_opcode 
+57b3 c005d7b8 beq lmp_au_rand ,send_not_accept_aurand 
+57b4 e7e08005 istore 1 ,contw 
+57b5 6fe0804a fetch 1 ,mem_lmo_reason 
+57b6 e7e08005 istore 1 ,contw 
+57b7 20205a29 branch send_lmp_follow 
+
+send_not_accept_aurand:
+57b8 e7e08005 istore 1 ,contw 
+57b9 6fe0804a fetch 1 ,mem_lmo_reason 
+57ba e7e08005 istore 1 ,contw 
+57bb d84003a9 arg mem_sres_tid ,temp 
+57bc 20205a65 branch special_tid_store 
+
+send_lmpext_accepted:
+57bd 18000e04 force 4 ,queue 
+57be 20405a22 call send_lmpext 
+57bf 5800007f setarg lmp_escape 
+57c0 e7e08005 istore 1 ,contw 
+57c1 6fe08049 fetch 1 ,mem_lmi_opcode 
+57c2 793ffe07 set0 7 ,pdata 
+57c3 e7e08005 istore 1 ,contw 
+57c4 6fe08049 fetch 1 ,mem_lmi_opcode 
+57c5 20205a29 branch send_lmp_follow 
+
+send_lmpext_not_accepted:
+57c6 18000e05 force 5 ,queue 
+57c7 20405a22 call send_lmpext 
+57c8 5800007f setarg lmp_escape 
+57c9 e7e08005 istore 1 ,contw 
+57ca 6fe08049 fetch 1 ,mem_lmi_opcode 
+57cb 793ffe07 set0 7 ,pdata 
+57cc e7e08005 istore 1 ,contw 
+57cd 6fe0804a fetch 1 ,mem_lmo_reason 
+57ce e7e08005 istore 1 ,contw 
+57cf 20205a29 branch send_lmp_follow 
+
+send_lmp_accepted_inrand:
+57d0 20400c5c call clear_linkkey 
+57d1 20405a76 call tid_check 
+57d2 20608000 rtn true 
+57d3 2020574b branch lmp_generate_key 
+
+send_lmp_accepted_enc_mode:
+57d4 6fe0804b fetch 1 ,mem_op 
+57d5 c282d7db bbit1 op_start_enc ,send_lmp_accepted_enc_start 
+57d6 c4020000 rtnbit0 op_stop_enc 
+57d7 70007c12 jam lmp_stop_encryption_req ,mem_lmo_opcode2 
+57d8 793ffe04 set0 op_stop_enc ,pdata 
+57d9 20405a6e call tid_reply 
+57da 202057dd branch send_lmp_accepted_enc_exit 
+
+send_lmp_accepted_enc_start:
+57db 70007c10 jam lmp_encryption_key_size_req ,mem_lmo_opcode2 
+57dc 793ffe05 set0 op_start_enc ,pdata 
+
+send_lmp_accepted_enc_exit:
+57dd 67e0804b store 1 ,mem_op 
+57de 20600000 rtn 
+
+send_lmp_accepted_enc_key:
+57df 20405a7f call check_localsm 
+57e0 2020d74d branch lmp_start_encryption ,true 
+57e1 20600000 rtn 
+
+send_lmp_accepted_connection:
+57e2 70007c8b jam lmp_packet_type_table_req ,mem_lmo_opcode2 
+57e3 6fe083a5 fetch 1 ,mem_lmp_conn_state 
+57e4 79207e00 set1 received_conn_req ,pdata 
+57e5 67e083a5 store 1 ,mem_lmp_conn_state 
+57e6 70095b01 jam bt_evt_bb_connected ,mem_fifo_temp 
+57e7 202078dc branch ui_ipc_send_event 
+
+send_lmp_accept_dhkey_check:
+57e8 20600000 rtn 
+
+send_lmpext_ping_res:
+57e9 18000e02 force 2 ,queue 
+57ea 20405a22 call send_lmpext 
+57eb 20205a32 branch send_lmp_reply 
+
+send_lmpext_features_res:
+57ec 1fe22200 copy pdata ,rega 
+57ed 20405802 call check_ssp_enable 
+57ee 6fe083a1 fetch 1 ,mem_ext_features_page 
+57ef c000d7f2 beq 1 ,send_lmpext_features_res1 
+57f0 c00157fa beq 2 ,send_lmpext_features_res2 
+57f1 20600000 rtn 
+
+send_lmpext_features_res1:
+57f2 1a227e00 copy rega ,pdata 
+57f3 18000e0c force 12 ,queue 
+57f4 20405a22 call send_lmpext 
+57f5 58000001 setarg 0x01 
+57f6 e7e08005 istore 1 ,contw 
+57f7 6fe103a2 fetch 2 ,mem_lmpext_ssp_enable 
+57f8 e7e48005 istore 9 ,contw 
+57f9 20205a32 branch send_lmp_reply 
+
+send_lmpext_features_res2:
+57fa 1a227e00 copy rega ,pdata 
+57fb 18000e0c force 12 ,queue 
+57fc 20405a22 call send_lmpext 
+57fd 58000002 setarg 0x02 
+57fe e7e08005 istore 1 ,contw 
+57ff 58010002 setarg 0x010002 
+5800 e7e48005 istore 9 ,contw 
+5801 20205a32 branch send_lmp_reply 
+
+check_ssp_enable:
+5802 6fe0c767 fetch 1 ,mem_ssp_enable 
+5803 203a5806 branch ssp_disable ,blank 
+5804 2040580c call ssp_enable 
+5805 20205813 branch check_br_sc_enable 
+
+ssp_disable:
+5806 6fe0c0a6 fetch 1 ,mem_features + 6 
+5807 793ffe03 set0 param_featrue_ssp ,pdata 
+5808 67e0c0a6 store 1 ,mem_features + 6 
+5809 58000001 setarg 0x1 
+580a 67e103a2 store 2 ,mem_lmpext_ssp_enable 
+580b 20206f37 branch sp_clear_flags 
+
+ssp_enable:
+580c 470dc023 bpatchx patch23_3 ,mem_patch23 
+580d 6fe0c0a6 fetch 1 ,mem_features + 6 
+580e 79207e03 set1 param_featrue_ssp ,pdata 
+580f 67e0c0a6 store 1 ,mem_features + 6 
+5810 58000101 setarg param_lmpext_ssp_enable 
+5811 67e103a2 store 2 ,mem_lmpext_ssp_enable 
+5812 20600000 rtn 
+
+check_br_sc_enable:
+5813 6fe0c6bb fetch 1 ,mem_secure_connections_enable 
+5814 c280d816 bbit1 secure_connections_br_bit ,br_sc_enable 
+5815 20600000 rtn 
+
+br_sc_enable:
+5816 58000902 setarg 0x0902 
+5817 67e103a2 store 2 ,mem_lmpext_ssp_enable 
+5818 20600000 rtn 
+
+send_lmpext_io_cap_res:
+5819 18000e05 force 5 ,queue 
+581a 20405a22 call send_lmpext 
+581b 6fe1c768 fetch 3 ,mem_lmp_io_cap_payload_iocap 
+581c e7e18005 istore 3 ,contw 
+581d 20405a32 call send_lmp_reply 
+581e 70477201 jam flag_pairing_state_pairing ,mem_flag_pairing_state 
+581f 6fe0c768 fetch 1 ,mem_lmp_io_cap_payload_iocap 
+5820 c000d82a beq io_capability_display_yesno ,responder_iocap_display_yesno 
+5821 c0015824 beq io_capability_keyboard_only ,responder_iocap_keyboard_only 
+5822 c001d830 beq io_capability_no_input_no_output ,responder_iocap_no_input_no_output 
+5823 20600000 rtn 
+
+responder_iocap_keyboard_only:
+5824 6fe0c76b fetch 1 ,mem_sp_iocap_remote 
+5825 c000583c beq io_capability_display_only ,responder_iocap_keyboard_only_initiator_iocap_display_only 
+5826 c000d83c beq io_capability_display_yesno ,responder_iocap_keyboard_only_initiator_iocap_display_yesno 
+5827 c001583c beq io_capability_keyboard_only ,responder_iocap_keyboard_only_initiator_iocap_keyboard_only 
+5828 c001d836 beq io_capability_no_input_no_output ,responder_iocap_keyboard_only_initiator_iocap_no_input_no_output 
+5829 20600000 rtn 
+
+responder_iocap_display_yesno:
+582a 6fe0c76b fetch 1 ,mem_sp_iocap_remote 
+582b c0005836 beq io_capability_display_only ,responder_iocap_display_yesno_initiator_iocap_display_only 
+582c c000d83a beq io_capability_display_yesno ,responder_iocap_display_yesno_initiator_iocap_display_yesno 
+582d c001583c beq io_capability_keyboard_only ,responder_iocap_display_yesno_initiator_iocap_keyboard_only 
+582e c001d836 beq io_capability_no_input_no_output ,responder_iocap_display_yesno_initiator_iocap_no_input_no_output 
+582f 20600000 rtn 
+
+responder_iocap_no_input_no_output:
+5830 6fe0c76b fetch 1 ,mem_sp_iocap_remote 
+5831 c0005836 beq io_capability_display_only ,responder_iocap_no_input_no_output_initiator_iocap_display_only 
+5832 c000d836 beq io_capability_display_yesno ,responder_iocap_no_input_no_output_initiator_iocap_display_yesno 
+5833 c0015836 beq io_capability_keyboard_only ,responder_iocap_no_input_no_output_initiator_iocap_keyboard_only 
+5834 c001d836 beq io_capability_no_input_no_output ,responder_iocap_no_input_no_output_initiator_iocap_no_input_no_output 
+5835 20600000 rtn 
+
+responder_iocap_keyboard_only_initiator_iocap_no_input_no_output:
+
+responder_iocap_display_yesno_initiator_iocap_no_input_no_output:
+
+responder_iocap_display_yesno_initiator_iocap_display_only:
+
+responder_iocap_no_input_no_output_initiator_iocap_display_only:
+
+responder_iocap_no_input_no_output_initiator_iocap_display_yesno:
+
+responder_iocap_no_input_no_output_initiator_iocap_keyboard_only:
+
+responder_iocap_no_input_no_output_initiator_iocap_no_input_no_output:
+
+set_ssp_mode_justwork:
+5836 70476f03 jam ssp_mode_just_work_flag ,mem_ssp_mode_flag 
+5837 6fe0c646 fetch 1 ,mem_classic_bt_flag 
+5838 c2803268 bbit1 flag_ssp_reject_justwork ,app_bt_disconnect 
+5839 20600000 rtn 
+
+responder_iocap_display_yesno_initiator_iocap_display_yesno:
+
+set_ssp_mode_numeric_comparison:
+583a 70476f01 jam ssp_mode_ssp_pin_flag ,mem_ssp_mode_flag 
+583b 20600000 rtn 
+
+responder_iocap_keyboard_only_initiator_iocap_display_yesno:
+
+responder_iocap_keyboard_only_initiator_iocap_keyboard_only:
+
+responder_iocap_keyboard_only_initiator_iocap_display_only:
+
+responder_iocap_display_yesno_initiator_iocap_keyboard_only:
+
+set_ssp_mode_passkey:
+583c 70476f02 jam ssp_mode_passkey_entry_flag ,mem_ssp_mode_flag 
+583d 20600000 rtn 
+
+classic_bt_set_reject_justwork_flag:
+583e d8e00000 arg flag_ssp_reject_justwork ,queue 
+583f 20205842 branch classic_bluetooth_set_flag 
+
+classic_bt_clr_reject_justwork_flag:
+5840 d8e00000 arg flag_ssp_reject_justwork ,queue 
+5841 20205846 branch classic_bluetooth_clr_flag 
+
+classic_bluetooth_set_flag:
+5842 6fe0c646 fetch 1 ,mem_classic_bt_flag 
+5843 f9207e00 qset1 pdata 
+5844 67e0c646 store 1 ,mem_classic_bt_flag 
+5845 20600000 rtn 
+
+classic_bluetooth_clr_flag:
+5846 6fe0c646 fetch 1 ,mem_classic_bt_flag 
+5847 f93ffe00 qset0 pdata 
+5848 67e0c646 store 1 ,mem_classic_bt_flag 
+5849 20600000 rtn 
+
+send_lmp_io_cap_req:
+584a 18000e05 force 5 ,queue 
+584b 20405a22 call send_lmpext 
+584c 6fe1c768 fetch 3 ,mem_lmp_io_cap_payload_iocap 
+584d e7e18005 istore 3 ,contw 
+584e 20205a34 branch send_lmp_request 
+
+send_lmpext_sniff_subrating_req:
+584f 20600000 rtn 
+
+send_lmpext_sniff_subrating_res:
+5850 18000e09 force 9 ,queue 
+5851 20405a22 call send_lmpext 
+5852 6fe08092 fetch 1 ,mem_subsniff_rate 
+5853 e7e08005 istore 1 ,contw 
+5854 6fe10093 fetch 2 ,mem_subsniff_tcmax 
+5855 e7e10005 istore 2 ,contw 
+5856 6fe2008e fetch 4 ,mem_subsniff_instant 
+5857 e7e20005 istore 4 ,contw 
+5858 20205a32 branch send_lmp_reply 
+
+send_lmp_name_res:
+5859 18007e11 force 17 ,pdata 
+585a 20405a1a call msg_send_lmp 
+585b 6fe08049 fetch 1 ,mem_lmi_opcode 
+585c 1fe20400 copy pdata ,temp 
+585d c0005861 beq 0x00 ,send_lmp_name_res_offset_ok 
+585e c0075861 beq 0x0e ,send_lmp_name_res_offset_ok 
+585f c00e5861 beq 0x1c ,send_lmp_name_res_offset_ok 
+5860 20600000 rtn 
+
+send_lmp_name_res_offset_ok:
+5861 e7e08005 istore 1 ,contw 
+5862 6fe0c5ff fetch 1 ,mem_local_name_length 
+5863 e7e08005 istore 1 ,contw 
+5864 df20000e arg 14 ,loopcnt 
+5865 58004600 setarg mem_local_name 
+5866 98408c00 iadd temp ,contr 
+5867 20407dd4 call memcpy 
+5868 20205a32 branch send_lmp_reply 
+
+send_lmp_timing_accuracy_res:
+5869 18007e03 force 3 ,pdata 
+586a 20405a1a call msg_send_lmp 
+586b 58000114 setarg 0x0114 
+586c e7e10005 istore 2 ,contw 
+586d 20205a32 branch send_lmp_reply 
+
+send_lmp_clkoffset_res:
+586e 18007e03 force 3 ,pdata 
+586f 20405a1a call msg_send_lmp 
+5870 6fe200b4 fetch 4 ,mem_clke_bt 
+5871 9c467e00 isub clkn_bt ,pdata 
+5872 2034d874 branch send_lmp_clkoffset_res_master ,master 
+5873 1fe67e00 sub pdata ,0 ,pdata 
+
+send_lmp_clkoffset_res_master:
+5874 1feb7e00 rshift2 pdata ,pdata 
+5875 793ffe0f set0 15 ,pdata 
+5876 e7e10005 istore 2 ,contw 
+5877 20205a32 branch send_lmp_reply 
+
+send_lmp_version_res:
+5878 18007e06 force 6 ,pdata 
+5879 20405a1a call msg_send_lmp 
+587a 6fe2c5fa fetch 5 ,mem_lmp_version 
+587b e7e28005 istore 5 ,contw 
+587c 20205a32 branch send_lmp_reply 
+
+send_lmp_features_res:
+587d 18007e09 force 9 ,pdata 
+587e 20405a1a call msg_send_lmp 
+587f 6fe440a0 fetch 8 ,mem_features 
+5880 e7e40005 istore 8 ,contw 
+5881 20205a32 branch send_lmp_reply 
+
+send_lmpext_features_req:
+5882 20405802 call check_ssp_enable 
+5883 6fe08048 fetch 1 ,mem_lmp_to_send 
+5884 18000e0c force 12 ,queue 
+5885 20405a22 call send_lmpext 
+5886 58000001 setarg 0x01 
+5887 e7e08005 istore 1 ,contw 
+5888 6fe103a2 fetch 2 ,mem_lmpext_ssp_enable 
+5889 e7e10005 istore 2 ,contw 
+588a 58000000 setarg 0 
+588b e7e18005 istore 3 ,contw 
+588c 58000000 setarg 0x00 
+588d e7e20005 istore 4 ,contw 
+588e 20205a34 branch send_lmp_request 
+
+send_lmpext_packet_type_table_req:
+588f 18000e03 force 3 ,queue 
+5890 20405a22 call send_lmpext 
+5891 6fe0c15f fetch 1 ,mem_ptt 
+5892 e7e08005 istore 1 ,contw 
+5893 78547c00 disable user 
+5894 20405a34 call send_lmp_request 
+5895 24740000 nrtn user 
+5896 24748000 nrtn master 
+5897 6fe0c0df fetch 1 ,mem_afh_cfg 
+5898 c4000000 rtnbit0 afh_cfg_on 
+5899 2040589b call afh_init 
+589a 202058a5 branch afh_open_all_channels 
+
+afh_init:
+589b 7040df03 jam 0x3 ,mem_afh_cfg 
+589c 58000000 setarg 0 
+589d 67e24149 store 4 ,mem_afh_timer 
+589e d8a040e1 arg mem_afh_map_lo ,contw 
+589f 204058a9 call afh_reset_map 
+58a0 d8a040ee arg mem_afh_map_new ,contw 
+58a1 204058a9 call afh_reset_map 
+58a2 d8a0414d arg mem_afh_classify_channel_map ,contw 
+58a3 204058a9 call afh_reset_map 
+58a4 202058b0 branch afh_clear_error_counter 
+
+afh_open_all_channels:
+58a5 d8a040ee arg mem_afh_map_new ,contw 
+58a6 204058a9 call afh_reset_map 
+58a7 204058b0 call afh_clear_error_counter 
+58a8 202058b3 branch afh_set_send_flag 
+
+afh_reset_map:
+58a9 58ffffff setarg 0xffffff 
+58aa e7e18005 istore 3 ,contw 
+58ab e7e18005 istore 3 ,contw 
+58ac e7e18005 istore 3 ,contw 
+58ad 5800007f setarg 0x7f 
+58ae e7e08005 istore 1 ,contw 
+58af 20600000 rtn 
+
+afh_clear_error_counter:
+58b0 58000000 setarg 0 
+58b1 67e140dd store 2 ,mem_afh_error_total 
+58b2 20600000 rtn 
+
+afh_set_send_flag:
+58b3 6fe0c0df fetch 1 ,mem_afh_cfg 
+58b4 79207e02 set1 send_lmp_set_afh ,pdata 
+58b5 67e0c0df store 1 ,mem_afh_cfg 
+58b6 20600000 rtn 
+
+send_lmpext_pause_encryption_req:
+58b7 18000e02 force 2 ,queue 
+58b8 20405a22 call send_lmpext 
+58b9 2434da32 nbranch send_lmp_reply ,master 
+58ba 20205a34 branch send_lmp_request 
+
+send_lmp_detach:
+58bb 18007e02 force 2 ,pdata 
+58bc 20405a1a call msg_send_lmp 
+58bd 6fe0839e fetch 1 ,mem_disconn_reason_send 
+58be e7e08005 istore 1 ,contw 
+58bf 20405a34 call send_lmp_request 
+
+prepare_disconnect:
+58c0 6fe0804b fetch 1 ,mem_op 
+58c1 79207e03 set1 op_disconn ,pdata 
+58c2 67e0804b store 1 ,mem_op 
+58c3 70007232 jam 50 ,mem_conn_timer 
+58c4 20600000 rtn 
+
+send_lmp_no_payload:
+58c5 18007e01 force 1 ,pdata 
+58c6 20405a1a call msg_send_lmp 
+58c7 20205a34 branch send_lmp_request 
+
+send_lmp_nopayload_reply:
+58c8 18007e01 force 1 ,pdata 
+58c9 20405a1a call msg_send_lmp 
+58ca 20205a32 branch send_lmp_reply 
+
+send_lmp_encryption_mode_req:
+58cb 18007e02 force 2 ,pdata 
+58cc 20405a1a call msg_send_lmp 
+58cd 6fe0804c fetch 1 ,mem_state_map 
+58ce 2fec0002 isolate0 smap_encryption ,pdata 
+58cf 7920fe00 setflag true ,0 ,pdata 
+58d0 1fe17e01 and_into 1 ,pdata 
+58d1 e7e08005 istore 1 ,contw 
+58d2 20205a34 branch send_lmp_request 
+
+send_lmp_superto:
+58d3 18007e03 force 3 ,pdata 
+58d4 20405a1a call msg_send_lmp 
+58d5 6fe10051 fetch 2 ,mem_supervision_to 
+58d6 e7e10005 istore 2 ,contw 
+58d7 20205a34 branch send_lmp_request 
+
+send_lmp_name_req:
+58d8 700072fa jam 250 ,mem_conn_timer 
+58d9 18007e02 force 2 ,pdata 
+58da 20405a1a call msg_send_lmp 
+58db 6fe08053 fetch 1 ,mem_name_offset 
+58dc e7e08005 istore 1 ,contw 
+58dd 20205a34 branch send_lmp_request 
+
+send_lmp_test_control:
+58de 18007e0a force 10 ,pdata 
+58df 20405a1a call msg_send_lmp 
+58e0 d8c00a52 arg mem_temp_payload ,contr 
+58e1 18007209 force 9 ,loopcnt 
+
+send_lmp_test_control_loop:
+58e2 efe08006 ifetch 1 ,contr 
+58e3 1fe2fe55 xor_into 0x55 ,pdata 
+58e4 e7e08005 istore 1 ,contw 
+58e5 c20058e2 loop send_lmp_test_control_loop 
+58e6 20205a34 branch send_lmp_request 
+
+send_lmp_quality_of_service_req:
+58e7 20205a34 branch send_lmp_request 
+
+send_lmp_unit_key:
+58e8 20205a34 branch send_lmp_request 
+
+send_lmp_slot_offset:
+58e9 20748000 rtn master 
+58ea 2040104a call calc_slot_offset 
+58eb 18007e09 force 9 ,pdata 
+58ec 20405a1a call msg_send_lmp 
+58ed 6fe100c0 fetch 2 ,mem_slot_offset 
+58ee e7e10005 istore 2 ,contw 
+58ef 6fe1c0a8 fetch 3 ,mem_lap 
+58f0 e7e18005 istore 3 ,contw 
+58f1 6fe0c0ab fetch 1 ,mem_uap 
+58f2 e7e08005 istore 1 ,contw 
+58f3 6fe140ac fetch 2 ,mem_nap 
+58f4 e7e10005 istore 2 ,contw 
+58f5 c581d8fa bmark0 mark_switch_initiated ,send_lmp_slot_offset_reply 
+58f6 793f8003 set0 mark_switch_initiated ,mark 
+58f7 20405a34 call send_lmp_request 
+58f8 70007c13 jam lmp_switch_req ,mem_lmo_opcode2 
+58f9 20600000 rtn 
+
+send_lmp_slot_offset_reply:
+58fa 20405a32 call send_lmp_reply 
+58fb 70007c03 jam lmp_accepted ,mem_lmo_opcode2 
+58fc 70007d13 jam lmp_switch_req ,mem_lmi_opcode2 
+58fd 20600000 rtn 
+
+send_lmp_switch_req:
+58fe d8400200 arg 0x200 ,temp 
+58ff 2034d902 branch switch_on_native ,master 
+5900 1d027e00 deposit clke_bt 
+5901 20205903 branch switch_slack 
+
+switch_on_native:
+5902 1c427e00 deposit clkn_bt 
+
+switch_slack:
+5903 1c227e00 deposit bt_clk 
+5904 9840fe00 iadd temp ,pdata 
+5905 1fe17ffc and_into 0x1fc ,pdata 
+5906 67e20034 store 4 ,mem_sniff_anchor 
+5907 18007e05 force 5 ,pdata 
+5908 20405a1a call msg_send_lmp 
+5909 6fe20034 fetch 4 ,mem_sniff_anchor 
+590a 1fe37e00 rshift pdata ,pdata 
+590b e7e20005 istore 4 ,contw 
+590c 20205a34 branch send_lmp_request 
+
+send_lmp_sniff_req:
+590d 18007e0a force 10 ,pdata 
+590e 20405a1a call msg_send_lmp 
+590f d8c003ac arg mem_sniff_payload ,contr 
+5910 efe48006 ifetch 9 ,contr 
+5911 e7e48005 istore 9 ,contw 
+5912 20205a34 branch send_lmp_request 
+
+send_lmp_timing_accuracy_req:
+5913 18007e03 force 3 ,pdata 
+5914 20405a1a call msg_send_lmp 
+5915 58000114 setarg 0x0114 
+5916 e7e10005 istore 2 ,contw 
+5917 20205a34 branch send_lmp_request 
+
+send_lmp_unsniff_req:
+5918 18007e01 force 1 ,pdata 
+5919 20405a1a call msg_send_lmp 
+591a 20205a34 branch send_lmp_request 
+
+send_lmp_max_slot:
+591b 18007e02 force 2 ,pdata 
+591c 20405a1a call msg_send_lmp 
+591d 6fe0c0d7 fetch 1 ,mem_max_slot 
+591e e7e08005 istore 1 ,contw 
+591f 20205a34 branch send_lmp_request 
+
+send_lmp_max_slot_req:
+5920 18007e02 force 2 ,pdata 
+5921 20405a1a call msg_send_lmp 
+5922 58000005 setarg 0x05 
+5923 e7e08005 istore 1 ,contw 
+5924 20205a34 branch send_lmp_request 
+
+send_lmp_inc_power:
+5925 18007e02 force 2 ,pdata 
+5926 20405a1a call msg_send_lmp 
+5927 58000000 setarg 0x00 
+5928 e7e08005 istore 1 ,contw 
+5929 20205a34 branch send_lmp_request 
+
+send_lmp_setup_complete_by_module:
+592a 70007c2e jam lmp_max_slot_req ,mem_lmo_opcode2 
+592b 20600000 rtn 
+
+send_lmp_setup_complete:
+592c 6fe0c09a fetch 1 ,mem_device_option 
+592d 1fe67c0a sub pdata ,dvc_op_module ,null 
+592e 2042d92a call send_lmp_setup_complete_by_module ,zero 
+592f 6fe08030 fetch 1 ,mem_state 
+5930 79207e04 set1 state_conn_comp ,pdata 
+5931 67e08030 store 1 ,mem_state 
+5932 1c427e00 copy clkn_bt ,pdata 
+5933 67e203bc store 4 ,mem_aurand_send_delay_time 
+5934 6fe083a5 fetch 1 ,mem_lmp_conn_state 
+5935 c281d93d bbit1 sent_setup_complete ,send_lmp_setup_complete_has_sent 
+5936 79207e03 set1 sent_setup_complete ,pdata 
+5937 67e083a5 store 1 ,mem_lmp_conn_state 
+5938 70095b05 jam bt_evt_setup_complete ,mem_fifo_temp 
+5939 204078dc call ui_ipc_send_event 
+593a 18007e01 force 1 ,pdata 
+593b 20405a1a call msg_send_lmp 
+593c 20205a34 branch send_lmp_request 
+
+send_lmp_setup_complete_has_sent:
+593d 70004800 jam 0 ,mem_lmp_to_send 
+593e 20600000 rtn 
+
+send_lmp_version_req:
+593f 18007e06 force 6 ,pdata 
+5940 20405a1a call msg_send_lmp 
+5941 6fe2c5fa fetch 5 ,mem_lmp_version 
+5942 e7e28005 istore 5 ,contw 
+5943 20205a34 branch send_lmp_request 
+
+send_lmp_features_req:
+5944 18007e09 force 9 ,pdata 
+5945 20405a1a call msg_send_lmp 
+5946 6fe440a0 fetch 8 ,mem_features 
+5947 e7e40005 istore 8 ,contw 
+5948 20205a34 branch send_lmp_request 
+
+sp_master_send_io_cap_get:
+5949 70087301 jam sp_flag_commit ,mem_master_sp_flag 
+594a 6fe0c6bc fetch 1 ,mem_sp_local_key_invalid 
+594b c1808000 rtnne sp_key_valid 
+594c 70087113 jam sp_master_stat_start_done ,mem_master_sp_state 
+594d 20600000 rtn 
+
+sp_master_send_io_cap_send:
+594e 20405a72 call tid_initiate 
+594f 70007c99 jam lmp_io_cap_req ,mem_lmo_opcode2 
+5950 70087103 jam sp_stat_key_send ,mem_master_sp_state 
+5951 20600000 rtn 
+
+sp_master_send_lmp_encapsulated_header:
+5952 20405a72 call tid_initiate 
+5953 70007c3d jam lmp_encapsulated_header ,mem_lmo_opcode2 
+5954 70087107 jam sp_stat_random_send ,mem_master_sp_state 
+5955 20600000 rtn 
+
+sp_master_commitment_compare:
+5956 da200910 arg mem_sp_calc_result_high ,rega 
+5957 da400930 arg mem_sp_confirm_remote ,regb 
+5958 df200010 arg 16 ,loopcnt 
+5959 20407e66 call string_compare 
+595a 2022d95f branch sp_master_commitment_compare_success ,zero 
+595b 70087100 jam sp_stat_null ,mem_master_sp_state 
+595c 204070d5 call master_clear_mem_master_sp_flag 
+595d 70007d40 jam lmp_simple_pairing_number ,mem_lmi_opcode2 
+595e 202056ec branch lmp_reject_pdu_not_allowed 
+
+sp_master_commitment_compare_success:
+595f 7008710a jam sp_stat_confirm_calc ,mem_master_sp_state 
+5960 204070d3 call master_set_mem_master_sp_flag 
+5961 70007d40 jam lmp_simple_pairing_number ,mem_lmi_opcode2 
+5962 2020554b branch accept_lmp_msg 
+
+sp_master_send_lmp_simple_pairing_number:
+5963 70007c40 jam lmp_simple_pairing_number ,mem_lmo_opcode2 
+5964 20600000 rtn 
+
+sp_send_lmp_encapsulated_header:
+5965 70007c3d jam lmp_encapsulated_header ,mem_lmo_opcode2 
+5966 20600000 rtn 
+
+send_lmp_encapsulated_header:
+5967 70087800 jam 0 ,mem_sp_local_key_send_count 
+5968 18007e04 force 4 ,pdata 
+5969 20405a1a call msg_send_lmp 
+596a 6fe1c647 fetch 3 ,mem_encapsulated_major_type 
+596b e7e18005 istore 3 ,contw 
+596c 20405a7f call check_localsm 
+596d 2020da34 branch send_lmp_request ,true 
+596e 20205a32 branch send_lmp_reply 
+
+send_lmp_encapsulated_payload:
+596f 6fe0c648 fetch 1 ,mem_encapsulated_minor_type 
+5970 c0015973 beq encapsulated_minor_type_p256 ,send_lmp_encapsulated_payload_256 
+5971 c000d978 beq encapsulated_minor_type_p192 ,send_lmp_encapsulated_payload_192 
+5972 20600000 rtn 
+
+send_lmp_encapsulated_payload_256:
+5973 18007e11 force 17 ,pdata 
+5974 20405a1a call msg_send_lmp 
+5975 6fe08878 fetch 1 ,mem_sp_local_key_send_count 
+5976 d8c046df arg mem_sc_pubkey_local_x_256 ,contr 
+5977 2020597c branch send_lmp_encapsulated_payload_common 
+
+send_lmp_encapsulated_payload_192:
+5978 18007e11 force 17 ,pdata 
+5979 20405a1a call msg_send_lmp 
+597a 6fe08878 fetch 1 ,mem_sp_local_key_send_count 
+597b d8c04737 arg mem_sp_pubkey_local ,contr 
+
+send_lmp_encapsulated_payload_common:
+597c 98c08c00 iadd contr ,contr 
+597d efe40006 ifetch 8 ,contr 
+597e e7e40005 istore 8 ,contw 
+597f efe40006 ifetch 8 ,contr 
+5980 e7e40005 istore 8 ,contw 
+5981 6fe08878 fetch 1 ,mem_sp_local_key_send_count 
+5982 1fe0fe10 increase 16 ,pdata 
+5983 67e08878 store 1 ,mem_sp_local_key_send_count 
+5984 20405a7f call check_localsm 
+5985 2020da34 branch send_lmp_request ,true 
+5986 20205a32 branch send_lmp_reply 
+
+sp_send_lmp_simple_pairing_comfirm:
+5987 70087006 jam sp_stat_random_recv ,mem_sp_state 
+5988 70007c3f jam lmp_simple_pairing_confirm ,mem_lmo_opcode2 
+5989 20600000 rtn 
+
+send_lmp_simple_pairing_comfirm:
+598a 18007e11 force 17 ,pdata 
+598b 20405a1a call msg_send_lmp 
+598c d8c00910 arg mem_sp_calc_result_high ,contr 
+598d efe40006 ifetch 8 ,contr 
+598e e7e40005 istore 8 ,contw 
+598f efe40006 ifetch 8 ,contr 
+5990 e7e40005 istore 8 ,contw 
+5991 20205a32 branch send_lmp_reply 
+
+sp_send_lmp_simple_pairing_number:
+5992 70007c40 jam lmp_simple_pairing_number ,mem_lmo_opcode2 
+5993 20600000 rtn 
+
+send_lmp_simple_pairing_number:
+5994 20405a7f call check_localsm 
+5995 2040efe9 call sp_local_random_key_generator ,true 
+5996 18007e11 force 17 ,pdata 
+5997 20405a1a call msg_send_lmp 
+5998 d8c008e0 arg mem_sp_random_local ,contr 
+5999 efe40006 ifetch 8 ,contr 
+599a e7e40005 istore 8 ,contw 
+599b efe40006 ifetch 8 ,contr 
+599c e7e40005 istore 8 ,contw 
+599d 20405a7f call check_localsm 
+599e 2420da32 nbranch send_lmp_reply ,true 
+599f 2020da34 branch send_lmp_request ,true 
+
+master_sp_sm_end:
+59a0 7008710f jam sp_stat_done ,mem_master_sp_state 
+
+sp_aurand_send:
+59a1 20405a72 call tid_initiate 
+59a2 70007c0b jam lmp_au_rand ,mem_lmo_opcode2 
+59a3 20405a8a call check_localsm_master 
+59a4 2020f037 branch sp_master_key_prarm_push ,true 
+59a5 20207041 branch sp_link_key_prarm_push 
+
+master_sp_send_lmp_dhkey_check:
+59a6 20405a6e call tid_reply 
+
+sp_send_lmp_dhkey_check:
+59a7 70007c41 jam lmp_dhkey_check ,mem_lmo_opcode2 
+59a8 20600000 rtn 
+
+send_lmp_dhkey_check:
+59a9 18007e11 force 17 ,pdata 
+59aa 20405a1a call msg_send_lmp 
+59ab d8c00910 arg mem_sp_calc_result_high ,contr 
+59ac efe40006 ifetch 8 ,contr 
+59ad e7e40005 istore 8 ,contw 
+59ae efe40006 ifetch 8 ,contr 
+59af e7e40005 istore 8 ,contw 
+59b0 20405a7f call check_localsm 
+59b1 2420da32 nbranch send_lmp_reply ,true 
+59b2 2020da34 branch send_lmp_request ,true 
+
+send_lmp_enc_key_size_mask_res:
+59b3 18007e03 force 3 ,pdata 
+59b4 20405a1a call msg_send_lmp 
+59b5 5800fffe setarg 0xfffe 
+59b6 e7e10005 istore 2 ,contw 
+59b7 20205a32 branch send_lmp_reply 
+
+send_lmp_auto_rate:
+59b8 20205a34 branch send_lmp_request 
+
+send_lmp_clkoffset_req:
+59b9 20205a34 branch send_lmp_request 
+
+send_lmp_quality_of_service:
+59ba 20205a34 branch send_lmp_request 
+
+send_lmp_test_activate:
+59bb 20205a34 branch send_lmp_request 
+
+send_lmp_comb_key:
+59bc 20405a8e call generate_random_number 
+59bd da2040a8 arg mem_lap ,rega 
+59be 20405a94 call generate_linkkey 
+59bf 18007e11 force 17 ,pdata 
+59c0 20405a1a call msg_send_lmp 
+59c1 da200444 arg mem_kinit ,rega 
+59c2 da400424 arg mem_random_number ,regb 
+59c3 20406c70 call xor16 
+59c4 2434da29 nbranch send_lmp_follow ,master 
+59c5 20205a2f branch send_lmp_tid 
+
+send_lmp_inrand:
+59c6 20405a8e call generate_random_number 
+59c7 da200040 arg mem_plap ,rega 
+59c8 20406b73 call generate_kinit 
+
+send_lmp_rand:
+59c9 18007e11 force 17 ,pdata 
+59ca 20405a1a call msg_send_lmp 
+59cb d8c00424 arg mem_random_number ,contr 
+59cc 20407d7f call memcpy16 
+59cd 6fe08055 fetch 1 ,mem_conn_sm 
+59ce c00cda34 beq conn_sm_auth_wait ,send_lmp_request 
+59cf c00c5a34 beq conn_sm_pairing_wait ,send_lmp_request 
+59d0 20205a2f branch send_lmp_tid 
+
+send_lmp_aurand:
+59d1 6fe0c648 fetch 1 ,mem_encapsulated_minor_type 
+59d2 c00159dc beq encapsulated_minor_type_p256 ,send_lmp_aurand_256 
+59d3 6fe08877 fetch 1 ,mem_pairing_auth 
+59d4 203a59d9 branch send_lmp_aurand_notpairing ,blank 
+
+send_lmp_aurand2:
+59d5 20405a7f call check_localsm 
+59d6 2040da72 call tid_initiate ,true 
+59d7 2440da6e ncall tid_reply ,true 
+59d8 202059da branch send_lmp_aurand_common 
+
+send_lmp_aurand_notpairing:
+59d9 20405a72 call tid_initiate 
+
+send_lmp_aurand_common:
+59da 20405a8e call generate_random_number 
+59db 202059c9 branch send_lmp_rand 
+
+send_lmp_aurand_256:
+59dc 70007c0c jam lmp_sres ,mem_lmo_opcode2 
+59dd 202059d5 branch send_lmp_aurand2 
+
+send_lmp_sres:
+59de 6fe0c648 fetch 1 ,mem_encapsulated_minor_type 
+59df c00159f8 beq encapsulated_minor_type_p256 ,send_lmp_sres_256 
+59e0 da2040a8 arg mem_lap ,rega 
+59e1 20406ba6 call function_e1 
+59e2 18007e05 force 5 ,pdata 
+59e3 20405a1a call msg_send_lmp 
+59e4 6fe20454 fetch 4 ,mem_input_store 
+59e5 e7e20005 istore 4 ,contw 
+59e6 d84003a9 arg mem_sres_tid ,temp 
+59e7 20405a65 call special_tid_store 
+59e8 20406ca4 call copy_aco 
+59e9 20405a7f call check_localsm 
+59ea 2020d9ef branch send_lmp_sres_master ,true 
+59eb 7003ab01 jam done_encryp ,mem_wait_encryption 
+59ec 6fe08877 fetch 1 ,mem_pairing_auth 
+59ed 207a0000 rtn blank 
+59ee 70007c0b jam lmp_au_rand ,mem_lmo_opcode2 
+
+send_lmp_sres_master:
+59ef 6fe0c1ca fetch 1 ,mem_link_key_exists 
+59f0 207a0000 rtn blank 
+
+send_lmp_sres_startenc:
+59f1 20405a7f call check_localsm 
+59f2 2420d9f4 nbranch send_lmp_sres_startenc_slave ,true 
+59f3 20600000 rtn 
+
+send_lmp_sres_startenc_slave:
+59f4 c6908000 rtnmark0 mark_slave_in_rand_accepted 
+59f5 793f8021 set0 mark_slave_in_rand_accepted ,mark 
+59f6 70007c0f jam lmp_encryption_mode_req ,mem_lmo_opcode2 
+59f7 20600000 rtn 
+
+send_lmp_sres_256:
+59f8 2040755f call function_h4 
+59f9 20407584 call function_h5 
+59fa 18007e05 force 5 ,pdata 
+59fb 20405a1a call msg_send_lmp 
+59fc 6fe20918 fetch 4 ,memb 
+59fd e7e20005 istore 4 ,contw 
+59fe d84003a9 arg mem_sres_tid ,temp 
+59ff 20405a65 call special_tid_store 
+5a00 20405a07 call copy_aco_256 
+5a01 20405a7f call check_localsm 
+5a02 2020d9ef branch send_lmp_sres_master ,true 
+5a03 7003ab01 jam done_encryp ,mem_wait_encryption 
+5a04 6fe08877 fetch 1 ,mem_pairing_auth 
+5a05 207a0000 rtn blank 
+5a06 202059ef branch send_lmp_sres_master 
+
+copy_aco_256:
+5a07 6fe40910 fetch 8 ,mem_sp_calc_result_high 
+5a08 67e446ad store 8 ,mem_ccm_iv 
+5a09 20600000 rtn 
+
+send_lmp_start_encryption:
+5a0a 20405a8e call generate_random_number 
+5a0b 20406ba9 call function_e3 
+5a0c 18007e11 force 17 ,pdata 
+5a0d 20405a1a call msg_send_lmp 
+5a0e d8c00424 arg mem_random_number ,contr 
+5a0f 20407d7f call memcpy16 
+5a10 20205a2f branch send_lmp_tid 
+
+send_lmp_stop_encryption_req:
+5a11 18007e01 force 1 ,pdata 
+5a12 20405a1a call msg_send_lmp 
+5a13 20205a2f branch send_lmp_tid 
+
+send_lmp_encryption_key_size_req:
+5a14 18007e02 force 2 ,pdata 
+5a15 20405a1a call msg_send_lmp 
+5a16 18007e10 force 16 ,pdata 
+5a17 e7e08005 istore 1 ,contw 
+5a18 67e08054 store 1 ,mem_key_size 
+5a19 20205a2f branch send_lmp_tid 
+
+msg_send_lmp:
+5a1a 1fe9fe00 lshift3 pdata ,pdata 
+5a1b 1fe1fe07 or_into 0x07 ,pdata 
+5a1c 67e0838a store 1 ,mem_lmo_header_length 
+5a1d df200011 arg 17 ,loopcnt 
+5a1e d8a0038c arg mem_lmo_payload ,contw 
+5a1f 20407d9b call clear_mem 
+5a20 d8a0038c arg mem_lmo_payload ,contw 
+5a21 20600000 rtn 
+
+send_lmpext:
+5a22 1fe1227f and pdata ,0x7f ,rega 
+5a23 7000487f jam lmp_escape ,mem_lmp_to_send 
+5a24 18e27e00 deposit queue 
+5a25 20405a1a call msg_send_lmp 
+5a26 1a227e00 deposit rega 
+5a27 e7e08005 istore 1 ,contw 
+5a28 20600000 rtn 
+
+send_lmp_follow:
+5a29 6fe08048 fetch 1 ,mem_lmp_to_send 
+5a2a 1fe3fe00 lshift pdata ,pdata 
+5a2b 6848804c fetcht 1 ,mem_state_map 
+5a2c 284ffe01 isolate1 smap_lmptid ,temp 
+5a2d 7920fe00 setflag true ,0 ,pdata 
+5a2e 20205a39 branch send_lmp_exit 
+
+send_lmp_tid:
+5a2f 6848804c fetcht 1 ,mem_state_map 
+5a30 18410401 and_into 1 ,temp 
+5a31 20205a35 branch send_lmp_end 
+
+send_lmp_reply:
+5a32 18000400 force 0 ,temp 
+5a33 20205a35 branch send_lmp_end 
+
+send_lmp_request:
+5a34 18000401 force 1 ,temp 
+
+send_lmp_end:
+5a35 6fe08048 fetch 1 ,mem_lmp_to_send 
+5a36 1fe3fe00 lshift pdata ,pdata 
+5a37 7934fe00 setflag master ,0 ,pdata 
+5a38 9842fe00 ixor temp ,pdata 
+
+send_lmp_exit:
+5a39 67e0838b store 1 ,mem_lmo_header_opcode 
+5a3a 67e0c5f9 store 1 ,mem_lmo_header_opcode_x 
+5a3b 70004800 jam 0 ,mem_lmp_to_send 
+5a3c 20405a4a call lmo_fifo_process_lmo0empty 
+5a3d 78347c00 enable user 
+5a3e 20600000 rtn 
+
+lmo_fifo_check:
+5a3f 6fe0807c fetch 1 ,mem_lmo_opcode2 
+5a40 207a0000 rtn blank 
+5a41 20405a44 call lmo_fifo_process 
+5a42 6fe0807c fetch 1 ,mem_lmo_opcode2 
+5a43 20600000 rtn 
+
+lmo_fifo_process:
+5a44 470e4023 bpatchx patch23_4 ,mem_patch23 
+5a45 6fe08048 fetch 1 ,mem_lmp_to_send 
+5a46 203a5a4a branch lmo_fifo_process_lmo0empty ,blank 
+5a47 6fe08078 fetch 1 ,mem_lmo_opcode1 
+5a48 247a0000 nrtn blank 
+5a49 20205a54 branch lmo_fifo_process_lmo2to1 
+
+lmo_fifo_process_lmo0empty:
+5a4a 6fe08078 fetch 1 ,mem_lmo_opcode1 
+5a4b 203a5a5a branch lmo_fifo_process_lmo1_empty ,blank 
+5a4c 6fe18078 fetch 3 ,mem_lmo_opcode1 
+5a4d 67e18048 store 3 ,mem_lmp_to_send 
+5a4e 6848807b fetcht 1 ,mem_lmo_tid1 
+5a4f 6fe0804c fetch 1 ,mem_state_map 
+5a50 793ffe01 set0 smap_lmptid ,pdata 
+5a51 9841fe00 ior temp ,pdata 
+5a52 67e0804c store 1 ,mem_state_map 
+5a53 70007800 jam 0 ,mem_lmo_opcode1 
+
+lmo_fifo_process_lmo2to1:
+5a54 6fe0807c fetch 1 ,mem_lmo_opcode2 
+5a55 207a0000 rtn blank 
+5a56 6fe2007c fetch 4 ,mem_lmo_opcode2 
+5a57 67e20078 store 4 ,mem_lmo_opcode1 
+5a58 70007c00 jam 0 ,mem_lmo_opcode2 
+5a59 20600000 rtn 
+
+lmo_fifo_process_lmo1_empty:
+5a5a 6fe0807c fetch 1 ,mem_lmo_opcode2 
+5a5b 207a0000 rtn blank 
+5a5c 6fe1807c fetch 3 ,mem_lmo_opcode2 
+5a5d 67e18048 store 3 ,mem_lmp_to_send 
+5a5e 6848807f fetcht 1 ,mem_lmo_tid2 
+5a5f 6fe0804c fetch 1 ,mem_state_map 
+5a60 793ffe01 set0 smap_lmptid ,pdata 
+5a61 9841fe00 ior temp ,pdata 
+5a62 67e0804c store 1 ,mem_state_map 
+5a63 70007c00 jam 0 ,mem_lmo_opcode2 
+5a64 20600000 rtn 
+
+special_tid_store:
+5a65 470ec023 bpatchx patch23_5 ,mem_patch23 
+5a66 6fe0804c fetch 1 ,mem_state_map 
+5a67 1fe22600 copy pdata ,regc 
+5a68 efe08002 ifetch 1 ,temp 
+5a69 20405567 call pop_tid_follow 
+5a6a 20405a29 call send_lmp_follow 
+5a6b 1a627e00 copy regc ,pdata 
+5a6c 67e0804c store 1 ,mem_state_map 
+5a6d 20600000 rtn 
+
+tid_reply:
+5a6e 6848804c fetcht 1 ,mem_state_map 
+5a6f 793f8400 set0 smap_lmptidinit ,temp 
+5a70 6048804c storet 1 ,mem_state_map 
+5a71 20600000 rtn 
+
+tid_initiate:
+5a72 6848804c fetcht 1 ,mem_state_map 
+5a73 79200400 set1 smap_lmptidinit ,temp 
+5a74 6048804c storet 1 ,mem_state_map 
+5a75 20600000 rtn 
+
+tid_check:
+5a76 7d34fe01 nsetflag master ,smap_lmptid ,pdata 
+5a77 6848804c fetcht 1 ,mem_state_map 
+5a78 9842fe00 ixor temp ,pdata 
+5a79 2feffe01 isolate1 smap_lmptid ,pdata 
+5a7a 20600000 rtn 
+
+tid_set_reply:
+5a7b 6fe0804c fetch 1 ,mem_state_map 
+5a7c 7934fe01 setflag master ,smap_lmptid ,pdata 
+5a7d 67e0804c store 1 ,mem_state_map 
+5a7e 20600000 rtn 
+
+check_localsm:
+5a7f 6fe08876 fetch 1 ,mem_sp_localsm 
+5a80 2fe0fe01 compare local_statemachine ,pdata ,0x7f 
+5a81 20600000 rtn 
+
+setlocalsm_master:
+5a82 6fe08876 fetch 1 ,mem_sp_localsm 
+5a83 79207e07 set1 7 ,pdata 
+5a84 67e08876 store 1 ,mem_sp_localsm 
+5a85 20600000 rtn 
+
+setlocalsm_slave:
+5a86 6fe08876 fetch 1 ,mem_sp_localsm 
+5a87 793ffe07 set0 7 ,pdata 
+5a88 67e08876 store 1 ,mem_sp_localsm 
+5a89 20600000 rtn 
+
+check_localsm_master:
+5a8a 6fe08876 fetch 1 ,mem_sp_localsm 
+5a8b 2feffe07 isolate1 7 ,pdata 
+5a8c 67e08876 store 1 ,mem_sp_localsm 
+5a8d 20600000 rtn 
+
+generate_random_number:
+5a8e d8a00424 arg mem_random_number ,contw 
+
+generate_random:
+5a8f 18007210 force 16 ,loopcnt 
+
+generate_random_another:
+
+generate_random_loop:
+5a90 180a7e00 random pdata 
+5a91 e7e08005 istore 1 ,contw 
+5a92 c2005a90 loop generate_random_another 
+5a93 20600000 rtn 
+
+generate_linkkey:
+5a94 20406b77 call function_e21 
+5a95 da2041cb arg mem_link_key ,rega 
+5a96 da400454 arg mem_input_store ,regb 
+5a97 efe40011 ifetch 8 ,rega 
+5a98 68488030 fetcht 1 ,mem_state 
+5a99 7d3a0406 nsetflag blank ,state_combkey ,temp 
+5a9a 60488030 storet 1 ,mem_state 
+5a9b 1a220a00 copy rega ,contw 
+5a9c 20406c70 call xor16 
+5a9d 202009c6 branch generate_linkkey_continue 
+
+process_conn_sm:
+5a9e 470f4023 bpatchx patch23_6 ,mem_patch23 
+5a9f 20405a3f call lmo_fifo_check 
+5aa0 247a0000 nrtn blank 
+
+process_conn_sm_continue:
+5aa1 6fe08055 fetch 1 ,mem_conn_sm 
+5aa2 207a0000 rtn blank 
+5aa3 c0025af2 beq conn_sm_send_conn_req ,host_create_conn_send_conn_req 
+5aa4 c002daf8 beq conn_sm_wait_conn_accept ,host_create_conn_wait_accept 
+5aa5 c0015ae9 beq conn_sm_send_features ,host_create_conn_send_features 
+5aa6 c001db00 beq conn_sm_wait_features_res ,host_create_conn_waiting 
+5aa7 c0075aec beq conn_sm_send_switch ,host_create_conn_send_switch 
+5aa8 c0035b1c beq conn_sm_auth_pair ,host_create_conn_auth_pair 
+5aa9 c003db34 beq conn_sm_auth_pair_wait ,host_create_conn_auth_pair_wait 
+5aaa c004db35 beq conn_sm_encrypt ,host_create_conn_encrypt 
+5aab c0055b3e beq conn_sm_encrypt_wait ,host_create_conn_encrypt_wait 
+5aac c005db42 beq conn_sm_encrypt_wait_clear ,host_create_conn_encrypt_wait_clear 
+5aad c0065b0a beq conn_sm_send_setup_complete ,host_create_conn_send_setup_complete 
+5aae c006db0d beq conn_sm_wait_setup_complete ,host_create_conn_wait_setup_complete 
+5aaf c007db13 beq conn_sm_detach_delay ,host_create_conn_master_detach 
+5ab0 c0095adc beq conn_sm_send_version ,host_create_conn_send_version 
+5ab1 c009db00 beq conn_sm_wait_version ,host_create_conn_waiting 
+5ab2 c0085adf beq conn_sm_wait_switch_after_host_connection ,host_creat_conn_wait_switch 
+5ab3 c00a5ad9 beq conn_sm_send_features_ext ,host_creat_conn_send_feat_ext 
+5ab4 c00adb00 beq conn_sm_wait_features_ext ,host_create_conn_waiting 
+5ab5 c00b5ad3 beq conn_sm_pairing ,host_create_conn_pairing 
+5ab6 c00c5ad8 beq conn_sm_pairing_wait ,host_create_conn_pairing_wait 
+5ab7 c00bdacc beq conn_sm_auth ,host_create_conn_auth 
+5ab8 c00cdad2 beq conn_sm_auth_wait ,host_create_conn_auth_wait 
+5ab9 c00d5abd beq conn_sm_done ,host_create_conn_done 
+5aba c00ddac7 beq conn_sm_wait_done ,host_create_conn_done_wait 
+5abb 70005500 jam conn_sm_standby ,mem_conn_sm 
+5abc 20600000 rtn 
+
+host_create_conn_done:
+5abd 6fe083a5 fetch 1 ,mem_lmp_conn_state 
+5abe c4010000 rtnbit0 received_setup_complete 
+5abf c4018000 rtnbit0 sent_setup_complete 
+5ac0 70005500 jam conn_sm_standby ,mem_conn_sm 
+5ac1 20405ac3 call host_conn_judge_encrypt 
+5ac2 2020660d branch scheduler_start_upper_sm 
+
+host_conn_judge_encrypt:
+5ac3 6fe080bc fetch 1 ,mem_connection_options 
+5ac4 c4008000 rtnbit0 connection_encrypt 
+5ac5 7000550a jam conn_sm_encrypt_wait ,mem_conn_sm 
+5ac6 20600000 rtn 
+
+host_create_conn_done_wait:
+5ac7 d8e00007 arg enpt_delay_timer ,queue 
+5ac8 20407de9 call timer_check 
+5ac9 247a0000 nrtn blank 
+5aca 7000551a jam conn_sm_done ,mem_conn_sm 
+5acb 20600000 rtn 
+
+host_create_conn_auth:
+5acc 6fe080bc fetch 1 ,mem_connection_options 
+5acd 793ffe00 set0 connection_auth ,pdata 
+5ace 67e080bc store 1 ,mem_connection_options 
+5acf 70005519 jam conn_sm_auth_wait ,mem_conn_sm 
+5ad0 70007c0b jam lmp_au_rand ,mem_lmo_opcode2 
+5ad1 20600000 rtn 
+
+host_create_conn_auth_wait:
+5ad2 20600000 rtn 
+
+host_create_conn_pairing:
+5ad3 6fe083a8 fetch 1 ,mem_pincode_state 
+5ad4 c1810000 rtnne pincode_state_pincode_ready 
+5ad5 20405b44 call host_auth 
+5ad6 70005518 jam conn_sm_pairing_wait ,mem_conn_sm 
+5ad7 20600000 rtn 
+
+host_create_conn_pairing_wait:
+5ad8 20600000 rtn 
+
+host_creat_conn_send_feat_ext:
+5ad9 70005515 jam conn_sm_wait_features_ext ,mem_conn_sm 
+5ada 70007c83 jam lmp_ext_features_req ,mem_lmo_opcode2 
+5adb 20600000 rtn 
+
+host_create_conn_send_version:
+5adc 70005513 jam conn_sm_wait_version ,mem_conn_sm 
+5add 70007c25 jam lmp_version_req ,mem_lmo_opcode2 
+5ade 20600000 rtn 
+
+host_creat_conn_wait_switch:
+5adf 6fe0c645 fetch 1 ,mem_switch_flag 
+5ae0 c1000000 rtneq switch_flag_init 
+5ae1 c000dae7 beq switch_flag_accept ,host_create_conn_switch_accept 
+5ae2 d8e00006 arg switch_wait_timer ,queue 
+5ae3 20407de9 call timer_check 
+5ae4 247a0000 nrtn blank 
+5ae5 70464500 jam switch_flag_init ,mem_switch_flag 
+5ae6 20205b01 branch host_create_conn_switch 
+
+host_create_conn_switch_accept:
+5ae7 20748000 rtn master 
+5ae8 20205b1c branch host_create_conn_auth_pair 
+
+host_create_conn_send_features:
+5ae9 70005503 jam conn_sm_wait_features_res ,mem_conn_sm 
+5aea 70007c27 jam lmp_features_req ,mem_lmo_opcode2 
+5aeb 20600000 rtn 
+
+host_create_conn_send_switch:
+5aec 70007c13 jam lmp_switch_req ,mem_lmo_opcode2 
+5aed 79200003 set1 mark_switch_initiated ,mark 
+5aee 70005505 jam conn_sm_wait_conn_accept ,mem_conn_sm 
+5aef 580001ff setarg 0x1ff 
+5af0 67e103a6 store 2 ,mem_soft_timer 
+5af1 20600000 rtn 
+
+host_create_conn_send_conn_req:
+5af2 70005505 jam conn_sm_wait_conn_accept ,mem_conn_sm 
+5af3 580000ff setarg 0xff 
+5af4 67e103a6 store 2 ,mem_soft_timer 
+5af5 793f8022 set0 mark_reconn_recieve_switch ,mark 
+5af6 70007c33 jam lmp_host_connection_req ,mem_lmo_opcode2 
+5af7 202053ee branch init_lmp_reinit 
+
+host_create_conn_wait_accept:
+5af8 c6110000 rtnmark1 mark_reconn_recieve_switch 
+5af9 6fe103a6 fetch 2 ,mem_soft_timer 
+5afa 1fe0ffff increase -1 ,pdata 
+5afb 2022dafe branch host_create_conn_resend ,zero 
+5afc 67e103a6 store 2 ,mem_soft_timer 
+5afd 20600000 rtn 
+
+host_create_conn_resend:
+5afe 7000550e jam conn_sm_send_switch ,mem_conn_sm 
+5aff 20600000 rtn 
+
+host_create_conn_waiting:
+5b00 20600000 rtn 
+
+host_create_conn_switch:
+5b01 6fe083a5 fetch 1 ,mem_lmp_conn_state 
+5b02 c4018000 rtnbit0 sent_setup_complete 
+5b03 c4010000 rtnbit0 received_setup_complete 
+5b04 6fe080bc fetch 1 ,mem_connection_options 
+5b05 793ffe02 set0 connection_switch ,pdata 
+5b06 67e080bc store 1 ,mem_connection_options 
+5b07 70007c13 jam lmp_switch_req ,mem_lmo_opcode2 
+5b08 70005510 jam conn_sm_wait_switch_after_host_connection ,mem_conn_sm 
+5b09 20600000 rtn 
+
+host_create_conn_send_setup_complete:
+5b0a 7000550d jam conn_sm_wait_setup_complete ,mem_conn_sm 
+5b0b 70007c31 jam lmp_setup_complete ,mem_lmo_opcode2 
+5b0c 20600000 rtn 
+
+host_create_conn_wait_setup_complete:
+5b0d 6fe083a5 fetch 1 ,mem_lmp_conn_state 
+5b0e c4010000 rtnbit0 received_setup_complete 
+5b0f 70005500 jam conn_sm_standby ,mem_conn_sm 
+5b10 20600000 rtn 
+
+host_create_conn_wait_setup_complete_rtn:
+5b11 70005506 jam conn_sm_auth_pair ,mem_conn_sm 
+5b12 20600000 rtn 
+
+host_create_conn_master_detach:
+5b13 6fe103a6 fetch 2 ,mem_soft_timer 
+5b14 1fe0ffff increase -1 ,pdata 
+5b15 203a5b18 branch host_create_conn_send_detach ,blank 
+5b16 67e103a6 store 2 ,mem_soft_timer 
+5b17 20600000 rtn 
+
+host_create_conn_send_detach:
+5b18 70007c07 jam lmp_detach ,mem_lmo_opcode2 
+5b19 70039e16 jam local_host ,mem_disconn_reason_send 
+5b1a 70005500 jam 0 ,mem_conn_sm 
+5b1b 20600000 rtn 
+
+host_create_conn_auth_pair:
+5b1c 6fe080bc fetch 1 ,mem_connection_options 
+5b1d c2815b01 bbit1 connection_switch ,host_create_conn_switch 
+5b1e c2805b21 bbit1 connection_auth ,host_create_conn_auth_pair_true 
+
+host_create_conn_sm_done:
+5b1f 7000551a jam conn_sm_done ,mem_conn_sm 
+5b20 20600000 rtn 
+
+host_create_conn_auth_pair_true:
+5b21 6fe0c1ca fetch 1 ,mem_link_key_exists 
+5b22 203a5b2d branch host_create_conn_auth_pair_nokey ,blank 
+5b23 6fe083a5 fetch 1 ,mem_lmp_conn_state 
+5b24 c4018000 rtnbit0 sent_setup_complete 
+5b25 c4010000 rtnbit0 received_setup_complete 
+5b26 6fe203bc fetch 4 ,mem_aurand_send_delay_time 
+5b27 d8400064 arg 100 ,temp 
+5b28 98408400 iadd temp ,temp 
+5b29 1c427e00 copy clkn_bt ,pdata 
+5b2a 98467c00 isub temp ,null 
+5b2b 24610000 nrtn positive 
+5b2c 20205acc branch host_create_conn_auth 
+
+host_create_conn_auth_pair_nokey:
+5b2d 70005516 jam conn_sm_pairing ,mem_conn_sm 
+5b2e 70479604 jam 4 ,mem_pin_length 
+5b2f 58003030 setarg 0x3030 
+5b30 67e14797 store 2 ,mem_pin 
+5b31 e7e10005 istore 2 ,contw 
+5b32 7003a802 jam pincode_state_pincode_ready ,mem_pincode_state 
+5b33 20205ad3 branch host_create_conn_pairing 
+
+host_create_conn_auth_pair_wait:
+5b34 20600000 rtn 
+
+host_create_conn_encrypt:
+5b35 6fe080bc fetch 1 ,mem_connection_options 
+5b36 c280db39 bbit1 connection_encrypt ,host_create_conn_encrypt_start 
+5b37 7000551a jam conn_sm_done ,mem_conn_sm 
+5b38 20600000 rtn 
+
+host_create_conn_encrypt_start:
+5b39 6fe080bc fetch 1 ,mem_connection_options 
+5b3a 793ffe01 set0 connection_encrypt ,pdata 
+5b3b 67e080bc store 1 ,mem_connection_options 
+5b3c 70007c0f jam lmp_encryption_mode_req ,mem_lmo_opcode2 
+5b3d 20600000 rtn 
+
+host_create_conn_encrypt_wait:
+5b3e 6fe083ab fetch 1 ,mem_wait_encryption 
+5b3f 207a0000 rtn blank 
+5b40 70005500 jam conn_sm_standby ,mem_conn_sm 
+5b41 20205b39 branch host_create_conn_encrypt_start 
+
+host_create_conn_encrypt_wait_clear:
+5b42 7000550c jam conn_sm_send_setup_complete ,mem_conn_sm 
+5b43 20600000 rtn 
+
+host_auth:
+5b44 6fe0804b fetch 1 ,mem_op 
+5b45 c2815b49 bbit1 op_inrand_req ,remote_auth 
+5b46 20405a72 call tid_initiate 
+5b47 70007c08 jam lmp_in_rand ,mem_lmo_opcode2 
+5b48 20204de4 branch cmd_exit 
+
+remote_auth:
+5b49 6fe0804b fetch 1 ,mem_op 
+5b4a 793ffe02 set0 op_inrand_req ,pdata 
+5b4b 67e0804b store 1 ,mem_op 
+5b4c 20405750 call lmp_accept_inrand 
+5b4d 20405a7b call tid_set_reply 
+5b4e 20204de4 branch cmd_exit 
+
+pincode_reinit:
+5b4f 58000004 setarg 4 
+5b50 67e0c796 store 1 ,mem_pin_length 
+5b51 58003030 setarg 0x3030 
+5b52 e7e10005 istore 2 ,contw 
+5b53 e7e10005 istore 2 ,contw 
+5b54 20600000 rtn 
+
+twspi_reset:
+5b55 470fc023 bpatchx patch23_7 ,mem_patch23 
+5b56 1fe17eff and_into 0xff ,pdata 
+5b57 d8a08070 arg core_gpio_conf ,contw 
+5b58 98a08a00 iadd contw ,contw 
+5b59 18a22200 copy contw ,rega 
+5b5a d840003e arg gpcfg_output_low ,temp 
+5b5b e0408005 istoret 1 ,contw 
+5b5c 20405b62 call twspi_disable 
+5b5d 2000001e nop 30 
+5b5e 1a220a00 copy rega ,contw 
+5b5f d840003f arg gpcfg_output_high ,temp 
+5b60 e0408005 istoret 1 ,contw 
+5b61 20205b66 branch twspi_enable 
+
+twspi_disable:
+5b62 6ff08085 fetch 1 ,core_aes_en 
+5b63 1fe17efb and_into 0xfb ,pdata 
+5b64 67f08085 store 1 ,core_aes_en 
+5b65 20600000 rtn 
+
+twspi_enable:
+5b66 6ff08085 fetch 1 ,core_aes_en 
+5b67 1fe1fe04 or_into 0x04 ,pdata 
+5b68 67f08085 store 1 ,core_aes_en 
+5b69 20600000 rtn 
+
+aes_disable:
+5b6a 6ff08085 fetch 1 ,core_aes_en 
+5b6b 1fe17efd and_into 0xfd ,pdata 
+5b6c 67f08085 store 1 ,core_aes_en 
+5b6d 20600000 rtn 
+
+read_function_aes:
+5b6e 24345b72 nbranch read_function ,user 
+5b6f 6ff08085 fetch 1 ,core_aes_en 
+5b70 1fe1fe02 or_into 0x2 ,pdata 
+5b71 67f08085 store 1 ,core_aes_en 
+
+read_function:
+5b72 18427c00 copy temp ,null 
+5b73 2022db75 branch read_fuction_zero ,zero 
+5b74 1a627a00 copy regc ,pc 
+
+read_fuction_zero:
+5b75 2fcc0000 isolate0 0 ,null 
+5b76 20205c92 branch set_ucode_status 
+
+get_block_header:
+5b77 18000404 force 4 ,temp 
+
+get_block_header0:
+5b78 da2002eb arg mem_ucode_buf ,rega 
+5b79 20405b6a call aes_disable 
+5b7a 20405b72 call read_function 
+5b7b da2055aa arg 0x55aa ,rega 
+5b7c 6fe102eb fetch 2 ,mem_ucode_buf 
+5b7d e8410006 ifetcht 2 ,contr 
+5b7e 9a267c00 isub rega ,null 
+5b7f 20600000 rtn 
+
+read_first_block:
+5b80 d8400002 arg 2 ,temp 
+5b81 da2002f1 arg mem_ucode_ptr ,rega 
+5b82 20405b72 call read_function 
+5b83 6fe102f1 fetch 2 ,mem_ucode_ptr 
+5b84 67e102e4 store 2 ,mem_addr_mi 
+5b85 20545b87 call get_iv ,user 
+5b86 20600000 rtn 
+
+get_iv:
+5b87 d8400010 arg 16 ,temp 
+5b88 da2002f3 arg mem_ucode_keybuf ,rega 
+5b89 20405b6a call aes_disable 
+5b8a 20405b72 call read_function 
+
+set_iv:
+5b8b d8c002f3 arg mem_ucode_keybuf ,contr 
+5b8c df200010 arg 16 ,loopcnt 
+5b8d 20406e1a call aes_load_data 
+5b8e 20406dca call aes_init 
+5b8f 20406e36 call aes_clear_data 
+5b90 20206dc4 branch do_aes_cbc 
+
+load_storage:
+5b91 58000000 setarg 0 
+5b92 67e10985 store 2 ,mem_queue 
+5b93 7856fc00 disable match 
+5b94 20405b77 call get_block_header 
+5b95 24628000 nrtn zero 
+5b96 70802380 jam 0x80 ,core_ucode_ctrl 
+5b97 70802200 jam 0 ,core_ucode_hi 
+5b98 70802400 jam 0 ,core_ucode_low 
+5b99 da208025 arg core_ucode_data ,rega 
+5b9a 20405b6e call read_function_aes 
+5b9b 70802300 jam 0x0 ,core_ucode_ctrl 
+
+load_storage_loop:
+5b9c d8400006 arg 6 ,temp 
+5b9d 20405b78 call get_block_header0 
+5b9e 2422dbb8 nbranch load_data_checksum_compare ,zero 
+5b9f efe10006 ifetch 2 ,contr 
+5ba0 98002200 iforce rega 
+5ba1 20405b72 call read_function 
+5ba2 20405baf call load_data_checksum_calc 
+5ba3 20205b9c branch load_storage_loop 
+
+load_data_checksum:
+5ba4 da20aa55 arg 0xaa55 ,rega 
+5ba5 6fe102eb fetch 2 ,mem_ucode_buf 
+5ba6 9a267c00 isub rega ,null 
+5ba7 24628000 nrtn zero 
+5ba8 da2055aa arg 0x55aa ,rega 
+5ba9 6fe102ed fetch 2 ,mem_ucode_len 
+5baa 9a267c00 isub rega ,null 
+5bab 24628000 nrtn zero 
+5bac 6fe102ef fetch 2 ,mem_sched_addr 
+5bad 67e10970 store 2 ,mem_rega 
+5bae 20600000 rtn 
+
+load_data_checksum_calc:
+5baf 6fe10985 fetch 2 ,mem_queue 
+5bb0 df200006 arg 6 ,loopcnt 
+5bb1 d8c002eb arg mem_ucode_buf ,contr 
+5bb2 20407ed3 call cal_sum 
+5bb3 6f2102ed fetchr loopcnt ,2 ,mem_ucode_len 
+5bb4 1a220c00 copy rega ,contr 
+5bb5 20407ed3 call cal_sum 
+5bb6 67e10985 store 2 ,mem_queue 
+5bb7 20600000 rtn 
+
+load_data_checksum_compare:
+5bb8 20405ba4 call load_data_checksum 
+5bb9 2022db9c branch load_storage_loop ,zero 
+5bba 6fe10970 fetch 2 ,mem_rega 
+5bbb 68490985 fetcht 2 ,mem_queue 
+5bbc 98467c00 isub temp ,null 
+5bbd 24628000 nrtn zero 
+5bbe 7836fc00 enable match 
+5bbf 20600000 rtn 
+
+load_storage_efuse:
+5bc0 6fe08a04 fetch 1 ,mem_tmp_buffer + efuse_offset_offset 
+5bc1 d8c00a01 arg mem_tmp_buffer ,contr 
+5bc2 98c08c00 iadd contr ,contr 
+5bc3 70802380 jam 0x80 ,core_ucode_ctrl 
+5bc4 70802200 jam 0 ,core_ucode_hi 
+5bc5 70802400 jam 0 ,core_ucode_low 
+5bc6 da208025 arg core_ucode_data ,rega 
+5bc7 ef208006 ifetchr loopcnt ,1 ,contr 
+5bc8 1f267c00 sub loopcnt ,0 ,null 
+5bc9 2442dbd6 ncall load_efuse_read_code ,zero 
+5bca 70802300 jam 0x0 ,core_ucode_ctrl 
+
+load_storage_efuse_loop:
+5bcb efe08006 ifetch 1 ,contr 
+5bcc 207a0000 rtn blank 
+5bcd 1fe27200 copy pdata ,loopcnt 
+5bce ea410006 ifetchr regb ,2 ,contr 
+5bcf 1a420a00 copy regb ,contw 
+5bd0 20407dd6 call memcpy_loop 
+5bd1 20205bcb branch load_storage_efuse_loop 
+
+load_efuse_read_code_loop:
+5bd2 efe08006 ifetch 1 ,contr 
+5bd3 e7e08011 istore 1 ,rega 
+5bd4 c2005bd2 loop load_efuse_read_code_loop 
+5bd5 20600000 rtn 
+
+load_efuse_read_code:
+5bd6 20407ec9 call enable_user2 
+5bd7 1f220400 copy loopcnt ,temp 
+5bd8 24345bd2 nbranch load_efuse_read_code_loop ,user 
+
+load_efuse_read_code_loop_enc:
+5bd9 18467c00 sub temp ,0 ,null 
+5bda 20628000 rtn zero 
+5bdb 20405be0 call load_efuse_store_code 
+5bdc 20406dc4 call do_aes_cbc 
+5bdd 184085f0 add temp ,-16 ,temp 
+5bde 20215bd9 branch load_efuse_read_code_loop_enc ,positive 
+5bdf 20600000 rtn 
+
+load_efuse_store_code:
+5be0 1800700c force regidx_result ,regext_index 
+5be1 18427200 copy temp ,loopcnt 
+
+load_efuse_store_code_loop:
+5be2 efe20006 ifetch 4 ,contr 
+5be3 9de2fe00 ixor regext ,pdata 
+5be4 1fe25e00 copy pdata ,regext 
+5be5 e7e08011 istore 1 ,rega 
+5be6 1fecfe00 rshift8 pdata ,pdata 
+5be7 e7e08011 istore 1 ,rega 
+5be8 1fecfe00 rshift8 pdata ,pdata 
+5be9 e7e08011 istore 1 ,rega 
+5bea 1fecfe00 rshift8 pdata ,pdata 
+5beb e7e08011 istore 1 ,rega 
+5bec 1f00f001 increase 1 ,regext_index 
+5bed 2f000600 compare 0 ,regext_index ,0x3 
+5bee 20608000 rtn true 
+5bef 1f20f3fc add loopcnt ,-4 ,loopcnt 
+5bf0 20628000 rtn zero 
+5bf1 20215be2 branch load_efuse_store_code_loop ,positive 
+5bf2 20600000 rtn 
+
+run_efuse_code:
+5bf3 dfa00000 arg 0 ,pc 
+5bf4 20600000 rtn 
+
+loadcode:
+5bf5 20407e77 call clean_mem 
+5bf6 70805025 jam 0x25 ,core_clkoff 
+5bf7 78347c00 enable user 
+5bf8 7041e300 jam 0 ,mem_loadcode_times 
+
+load_efuse:
+5bf9 20405c58 call loadcode_timeout 
+5bfa 24215c90 nbranch loadcode_error ,positive 
+5bfb 58000000 setarg 0 
+5bfc da200a01 arg mem_tmp_buffer ,rega 
+5bfd d8400040 arg 64 ,temp 
+5bfe 20405f00 call efuse_read_data 
+5bff 20405c68 call loadcode_efuse_check 
+5c00 24345bf9 nbranch load_efuse ,user 
+5c01 20405cb0 call app_read_efuse_app_vsel 
+5c02 78547c00 disable user 
+5c03 6fe08a01 fetch 1 ,mem_tmp_buffer + efuse_offset_ucode 
+5c04 c301dc17 bbit0 ucode_flag_enc ,loadcode_efuse 
+5c05 20406e33 call regext_clear 
+5c06 70800608 jam lock_otp ,core_misc_ctrl 
+5c07 7920002b set1 mark_otp_encrypt ,mark 
+5c08 18007004 force regidx_key ,regext_index 
+5c09 20406e37 call aes_clear 
+5c0a 18007004 force regidx_key ,regext_index 
+5c0b 6de20a3d fetchr regext ,4 ,mem_tmp_buffer + efuse_offset_key_addr 
+5c0c 58f1ab8f setarg 0xf1ab8f 
+5c0d 67e202f3 store 4 ,mem_ucode_keybuf 
+5c0e 1febfe00 lshift2 pdata ,pdata 
+5c0f e7e20005 istore 4 ,contw 
+5c10 1fe3fe00 lshift pdata ,pdata 
+5c11 e7e20005 istore 4 ,contw 
+5c12 1febfe00 lshift2 pdata ,pdata 
+5c13 e7e20005 istore 4 ,contw 
+5c14 20405b6a call aes_disable 
+5c15 20405b8b call set_iv 
+5c16 78347c00 enable user 
+
+loadcode_efuse:
+5c17 6fe20a01 fetch 4 ,mem_tmp_buffer 
+5c18 203a5c1e branch loadcode_iic ,blank 
+5c19 67e1c4ce store 3 ,mem_efuse_header 
+5c1a 20407ecb call disable_user2 
+5c1b 20405ceb call app_lpm_peripheral_lock_check 
+5c1c 20405bc0 call load_storage_efuse 
+5c1d 20565bf3 call run_efuse_code ,user2 
+
+loadcode_iic:
+5c1e 7041e300 jam 0 ,mem_loadcode_times 
+
+loadcode_iic_loop:
+5c1f 6fe08a01 fetch 1 ,mem_tmp_buffer + efuse_offset_ucode 
+5c20 c2815c3d bbit1 ucode_flag_skip_eep ,loadcode_spi 
+5c21 20405c58 call loadcode_timeout 
+5c22 24215c2a nbranch loadcode_iic_eeprom_2k ,positive 
+5c23 20405c36 call iicd_load_gpio_init 
+5c24 20405e5c call clear_eeprom_size_2k 
+5c25 20405c8a call loadcode_iic_by_eeprom 
+5c26 2436dc1f nbranch loadcode_iic_loop ,match 
+5c27 6fe082e1 fetch 1 ,mem_ucode_status 
+5c28 c3005c1f bbit0 0 ,loadcode_iic_loop 
+5c29 20205c4c branch loadcode_hci 
+
+loadcode_iic_eeprom_2k:
+5c2a 7041e300 jam 0 ,mem_loadcode_times 
+
+loadcode_iic_eeprom_2k_loop:
+5c2b 6fe08a01 fetch 1 ,mem_tmp_buffer + efuse_offset_ucode 
+5c2c c2815c3d bbit1 ucode_flag_skip_eep ,loadcode_spi 
+5c2d 20405c58 call loadcode_timeout 
+5c2e 24215c3d nbranch loadcode_spi ,positive 
+5c2f 20405c36 call iicd_load_gpio_init 
+5c30 20405e59 call set_eeprom_size_2k 
+5c31 20405c8a call loadcode_iic_by_eeprom 
+5c32 2436dc2b nbranch loadcode_iic_eeprom_2k_loop ,match 
+5c33 6fe082e1 fetch 1 ,mem_ucode_status 
+5c34 c3005c2b bbit0 0 ,loadcode_iic_eeprom_2k_loop 
+5c35 20205c4c branch loadcode_hci 
+
+iicd_load_gpio_init:
+5c36 6fe0c4c5 fetch 1 ,mem_eeprom_sda_gpio 
+5c37 6848c4c4 fetcht 1 ,mem_eeprom_scl_gpio 
+5c38 98467c00 isub temp ,null 
+5c39 2422de42 nbranch iicd_read_init_pin ,zero 
+
+iicd_load_default_gpio:
+5c3a 58000102 setarg 0x000102 
+5c3b 67e1c4c3 store 3 ,mem_eeprom_wp_gpio 
+5c3c 20205e42 branch iicd_read_init_pin 
+
+loadcode_spi:
+5c3d 7041e300 jam 0 ,mem_loadcode_times 
+
+loadcode_spi_loop:
+5c3e 6fe08a01 fetch 1 ,mem_tmp_buffer + efuse_offset_ucode 
+5c3f c280dc4c bbit1 ucode_flag_skip_flash ,loadcode_hci 
+5c40 20405c58 call loadcode_timeout 
+5c41 24215c4c nbranch loadcode_hci ,positive 
+5c42 20405daf call spid_init_flash 
+5c43 200000c8 nop 200 
+5c44 20405dbd call spid_flash_release_form_powerdown 
+5c45 20000064 nop 100 
+5c46 da605df1 arg spid_load_flash ,regc 
+5c47 20405b80 call read_first_block 
+5c48 20405b91 call load_storage 
+5c49 2436dc3e nbranch loadcode_spi_loop ,match 
+5c4a 6fe082e1 fetch 1 ,mem_ucode_status 
+5c4b c3005c3e bbit0 0 ,loadcode_spi_loop 
+
+loadcode_hci:
+5c4c 6fe08a01 fetch 1 ,mem_tmp_buffer + efuse_offset_ucode 
+5c4d c3005c50 bbit0 ucode_flag_hci ,clear_key_buf 
+5c4e 20405c50 call clear_key_buf 
+5c4f 20204d18 branch hci_init 
+
+clear_key_buf:
+5c50 58000000 setarg 0 
+5c51 67e20a3d store 4 ,mem_tmp_buffer + efuse_offset_key_addr 
+5c52 67e402f3 store 8 ,mem_ucode_keybuf 
+5c53 e7e40005 istore 8 ,contw 
+5c54 18007004 force regidx_key ,regext_index 
+5c55 20406e37 call aes_clear 
+5c56 70805021 jam 0x21 ,core_clkoff 
+5c57 20600000 rtn 
+
+loadcode_timeout:
+5c58 20405c5e call loadcode_error_delay 
+5c59 6fe0c1e3 fetch 1 ,mem_loadcode_times 
+5c5a 1fe0fe01 increase 1 ,pdata 
+5c5b 1fe67c03 sub pdata ,3 ,null 
+5c5c 67e0c1e3 store 1 ,mem_loadcode_times 
+5c5d 20600000 rtn 
+
+loadcode_error_delay:
+5c5e 6fe0c1e3 fetch 1 ,mem_loadcode_times 
+5c5f 207a0000 rtn blank 
+5c60 6fe08a2c fetch 1 ,mem_tmp_buffer + efuse_offset_loadcode_delay 
+5c61 1fe17e40 and_into 0x40 ,pdata 
+5c62 207a0000 rtn blank 
+5c63 20207d89 branch delay_50ms 
+
+loadcode_efuse_check_xor:
+5c64 1ff18400 rshift4 pdata ,temp 
+5c65 1fe17e0f and pdata ,0x0f ,pdata 
+5c66 9842fe00 ixor temp ,pdata 
+5c67 20600000 rtn 
+
+loadcode_efuse_check:
+5c68 6fe20a01 fetch 4 ,mem_tmp_buffer 
+5c69 207a0000 rtn blank 
+5c6a 6fe08a01 fetch 1 ,mem_tmp_buffer + efuse_offset_ucode 
+5c6b 20405c64 call loadcode_efuse_check_xor 
+5c6c c087fec7 bne 0x0f ,disable_user 
+5c6d 6fe08a02 fetch 1 ,mem_tmp_buffer + efuse_offset_device_lock 
+5c6e 20405c64 call loadcode_efuse_check_xor 
+5c6f c087fec7 bne 0x0f ,disable_user 
+
+loadcode_efuse_check_sum:
+5c70 6fe08a01 fetch 1 ,mem_tmp_buffer 
+5c71 e8408006 ifetcht 1 ,contr 
+5c72 9840fe00 iadd temp ,pdata 
+5c73 e8408006 ifetcht 1 ,contr 
+5c74 9840fe00 iadd temp ,pdata 
+5c75 e8408006 ifetcht 1 ,contr 
+5c76 9840a200 iadd temp ,rega 
+5c77 dfe00a01 arg mem_tmp_buffer ,pdata 
+5c78 98408c00 iadd temp ,contr 
+5c79 1a227e00 copy rega ,pdata 
+5c7a ef208006 ifetchr loopcnt ,1 ,contr 
+5c7b 9f20fe00 iadd loopcnt ,pdata 
+5c7c 20407ed3 call cal_sum 
+5c7d 20405c83 call loadcode_efuse_check_sum_loop 
+5c7e e8408006 ifetcht 1 ,contr 
+5c7f 1fe17eff and pdata ,0xff ,pdata 
+5c80 98467c00 isub temp ,null 
+5c81 2422fec7 nbranch disable_user ,zero 
+5c82 20600000 rtn 
+
+loadcode_efuse_check_sum_loop:
+5c83 ef208006 ifetchr loopcnt ,1 ,contr 
+5c84 1f267c00 sub loopcnt ,0 ,null 
+5c85 20628000 rtn zero 
+5c86 9f20fe00 iadd loopcnt ,pdata 
+5c87 1f20f202 increase 2 ,loopcnt 
+5c88 20407ed3 call cal_sum 
+5c89 20205c83 branch loadcode_efuse_check_sum_loop 
+
+loadcode_iic_by_eeprom:
+5c8a 58000000 setarg 0x0 
+5c8b 67e102e4 store 2 ,mem_addr_mi 
+5c8c da605e7f arg iicd_read_eep ,regc 
+5c8d 20405e2b call iic_init_600khz 
+5c8e 20405b80 call read_first_block 
+5c8f 20205b91 branch load_storage 
+
+loadcode_error:
+5c90 20405c50 call clear_key_buf 
+5c91 20205d33 branch app_lpm_mpu_lock_br_ble 
+
+set_ucode_status:
+5c92 6fe082e1 fetch 1 ,mem_ucode_status 
+5c93 1fe3fe00 lshift pdata ,pdata 
+5c94 7920fe00 setflag true ,0 ,pdata 
+5c95 2a2c000f isolate0 15 ,rega 
+5c96 20608000 rtn true 
+5c97 67e082e1 store 1 ,mem_ucode_status 
+5c98 20600000 rtn 
+
+decrypt_code:
+5c99 6ff08085 fetch 1 ,core_aes_en 
+5c9a c4008000 rtnbit0 1 
+5c9b 20205c9f branch decrypt_code_skip 
+
+decrypt_code_loop:
+5c9c 6ff0812c fetch 1 ,core_dma_status 
+5c9d afefffff qisolate1 pdata 
+5c9e 20608000 rtn true 
+
+decrypt_code_skip:
+5c9f 6ff08108 fetch 1 ,core_misc_status 
+5ca0 c300dc9c bbit0 1 ,decrypt_code_loop 
+5ca1 20406dc4 call do_aes_cbc 
+5ca2 20205c9c branch decrypt_code_loop 
+
+load_ucode:
+5ca3 6fe141a6 fetch 2 ,mem_patch_ptr 
+5ca4 207a0000 rtn blank 
+5ca5 70802380 jam 0x80 ,core_ucode_ctrl 
+5ca6 70802200 jam 0 ,core_ucode_hi 
+5ca7 70802400 jam 0 ,core_ucode_low 
+5ca8 684941a8 fetcht 2 ,mem_patch_len 
+5ca9 184bf200 lshift2 temp ,loopcnt 
+5caa 98000c00 iforce contr 
+
+load_ucode_loop:
+5cab efe08006 ifetch 1 ,contr 
+5cac 67f08025 store 1 ,core_ucode_data 
+5cad c2005cab loop load_ucode_loop 
+5cae 70802300 jam 0x0 ,core_ucode_ctrl 
+5caf 20600000 rtn 
+
+app_read_efuse_app_vsel:
+5cb0 6fe08a31 fetch 1 ,mem_tmp_buffer + efuse_offset_app_vsel 
+5cb1 1fe17e0f and_into 0x0f ,pdata 
+5cb2 2feffe03 isolate1 3 ,pdata 
+5cb3 7920fe04 setflag true ,4 ,pdata 
+5cb4 1fe3fe00 lshift pdata ,pdata 
+5cb5 67e0c182 store 1 ,mem_lpm_ctrl3 
+5cb6 20201554 branch lpm_write_sel_vdd 
+
+app_read_efuse_sys_config:
+5cb7 6fe08a2c fetch 1 ,mem_tmp_buffer + efuse_offset_device_option 
+5cb8 1fe17e0f and_into 0x0f ,pdata 
+5cb9 207a0000 rtn blank 
+5cba 67e0c09a store 1 ,mem_device_option 
+5cbb 6fe08a2d fetch 1 ,mem_tmp_buffer + efuse_offset_xtal_offset 
+5cbc 67e0c17b store 1 ,mem_lpm_ctrim 
+5cbd 6fe08a2e fetch 1 ,mem_tmp_buffer + efuse_offset_xtal_cnt 
+5cbe 67e0c17d store 1 ,mem_lpm_xtalcnt 
+5cbf 20600000 rtn 
+
+app_read_efuse_dig_aon_vsel:
+5cc0 6fe08a2c fetch 1 ,mem_tmp_buffer + efuse_offset_dig_aon_vsel 
+5cc1 1fe17e30 and_into 0x30 ,pdata 
+5cc2 1ff1fe00 rshift4 pdata ,pdata 
+5cc3 207a0000 rtn blank 
+5cc4 67e0c4d2 store 1 ,mem_dig_aon_vsel 
+5cc5 20600000 rtn 
+
+app_read_efuse_syn_afc_cfg1:
+5cc6 6fe08a32 fetch 1 ,mem_tmp_buffer + efuse_offset_tx_vco_current 
+5cc7 1fe17e0f and_into 0x0f ,pdata 
+5cc8 207a0000 rtn blank 
+5cc9 67e0c4d3 store 1 ,mem_syn_afc_cfg1 
+5cca 20600000 rtn 
+
+app_read_efuse_rf_ldo_cfg1:
+5ccb 6fe08a32 fetch 1 ,mem_tmp_buffer + efuse_offset_ldo_cfg1 
+5ccc 1fe17e30 and_into 0x30 ,pdata 
+5ccd 1ff1fe00 rshift4 pdata ,pdata 
+5cce 207a0000 rtn blank 
+5ccf 67e0c4d4 store 1 ,mem_rf_ldo_cfg1 
+5cd0 20600000 rtn 
+
+app_read_efuse_rc_cal:
+5cd1 6fe08a33 fetch 1 ,mem_tmp_buffer + efuse_offset_rc_cal 
+5cd2 207a0000 rtn blank 
+5cd3 67e0c4d5 store 1 ,mem_rc_cal 
+5cd4 20600000 rtn 
+
+app_read_efuse_agc:
+5cd5 6fe08a32 fetch 1 ,mem_tmp_buffer + efuse_offset_agc_sel 
+5cd6 c283dcde bbit1 7 ,app_disable_soft_agc 
+5cd7 7041eb88 jam 0x88 ,mem_gain_table 
+5cd8 7041ec66 jam 0x66 ,mem_gain_table + 1 
+5cd9 7041ed44 jam 0x44 ,mem_gain_table + 2 
+5cda 6fe10a2f fetch 2 ,mem_tmp_buffer + efuse_offset_agc_table 
+5cdb 207a0000 rtn blank 
+5cdc 67e141ec store 2 ,mem_gain_table + 1 
+5cdd 20600000 rtn 
+
+app_disable_soft_agc:
+5cde 7041eaff jam 0xff ,mem_gain_fix 
+5cdf 6fe08a32 fetch 1 ,mem_tmp_buffer + efuse_offset_agc_sec_en 
+5ce0 1fe17e40 and_into 0x40 ,pdata 
+5ce1 1fe97e00 rshift3 pdata ,pdata 
+5ce2 67e0c1ee store 1 ,mem_gain_second_agc_en 
+5ce3 20600000 rtn 
+
+app_lpm_efuse_lock_prep:
+5ce4 70800273 jam 0x73 ,0x8002 
+5ce5 37d98200 until null ,lpo_edge 
+5ce6 37d98200 until null ,lpo_edge 
+5ce7 6ff10120 fetch 2 ,core_ucode_flag 
+5ce8 793ffe0d set0 13 ,pdata 
+5ce9 67f1004c store 2 ,core_lpm_reg 
+5cea 20205d4e branch lpm_write2_ctrl_option 
+
+app_lpm_peripheral_lock_check:
+5ceb 6fe08a02 fetch 1 ,mem_tmp_buffer + efuse_offset_device_lock 
+5cec 1fe17e0f and pdata ,0x0f ,pdata 
+5ced c0055cf8 beq dvc_op_module ,app_lpm_peripheral_lock_module 
+5cee c000dcf8 beq dvc_op_hci ,app_lpm_peripheral_lock_hci 
+5cef c0025cfb beq dvc_op_dongle ,app_lpm_peripheral_lock_dongle 
+5cf0 c0045d00 beq dvc_op_mouse ,app_lpm_peripheral_lock_mouse 
+5cf1 c004dd05 beq dvc_op_shutter ,app_lpm_peripheral_lock_shutter 
+5cf2 c005dd0a beq dvc_op_ali_mesh ,app_lpm_peripheral_lock_mesh 
+5cf3 c0065cf8 beq dvc_op_hci_boot ,app_lpm_peripheral_lock_hciboot 
+5cf4 c006dd0d beq dvc_op_remote_car ,app_lpm_peripheral_lock_remote_car 
+5cf5 c0075d12 beq dvc_op_car ,app_lpm_peripheral_lock_car 
+5cf6 c007dd17 beq dvc_op_antilost ,app_lpm_peripheral_lock_antilost 
+5cf7 20600000 rtn 
+
+app_lpm_peripheral_lock_module:
+
+app_lpm_peripheral_lock_hci:
+
+app_lpm_peripheral_lock_hciboot:
+5cf8 20405ce4 call app_lpm_efuse_lock_prep 
+5cf9 20405d1c call app_lpm_mpu_lock_mesh 
+5cfa 20205d3d branch lpm_write_lock 
+
+app_lpm_peripheral_lock_dongle:
+5cfb 20405ce4 call app_lpm_efuse_lock_prep 
+5cfc dfe03814 arg module_init ,pdata 
+5cfd d8404c50 arg ui_soft_switch_power_off ,temp 
+5cfe 20405d22 call app_mpu_s0_lock 
+5cff 20205d3d branch lpm_write_lock 
+
+app_lpm_peripheral_lock_mouse:
+5d00 20405ce4 call app_lpm_efuse_lock_prep 
+5d01 dfe032b9 arg antilost_init ,pdata 
+5d02 d8403c71 arg module_set_state ,temp 
+5d03 20405d22 call app_mpu_s0_lock 
+5d04 20205d3d branch lpm_write_lock 
+
+app_lpm_peripheral_lock_shutter:
+5d05 20405ce4 call app_lpm_efuse_lock_prep 
+5d06 dfe032b9 arg antilost_init ,pdata 
+5d07 d8404adb arg remote_car_moto_data_enable_user ,temp 
+5d08 20405d22 call app_mpu_s0_lock 
+5d09 20205d3d branch lpm_write_lock 
+
+app_lpm_peripheral_lock_mesh:
+5d0a 20405ce4 call app_lpm_efuse_lock_prep 
+5d0b 20405d25 call app_lpm_mpu_lock_app 
+5d0c 20205d3d branch lpm_write_lock 
+
+app_lpm_peripheral_lock_remote_car:
+5d0d 20405ce4 call app_lpm_efuse_lock_prep 
+5d0e dfe032b9 arg antilost_init ,pdata 
+5d0f d84049ef arg mouse_low_voltage_led_no_enter_lpm_blink ,temp 
+5d10 20405d22 call app_mpu_s0_lock 
+5d11 20205d3d branch lpm_write_lock 
+
+app_lpm_peripheral_lock_car:
+5d12 20405ce4 call app_lpm_efuse_lock_prep 
+5d13 dfe0369a arg dongle_init ,pdata 
+5d14 d8404c50 arg ui_soft_switch_power_off ,temp 
+5d15 20405d22 call app_mpu_s0_lock 
+5d16 20205d3d branch lpm_write_lock 
+
+app_lpm_peripheral_lock_antilost:
+5d17 20405ce4 call app_lpm_efuse_lock_prep 
+5d18 dfe0345e arg car_init ,pdata 
+5d19 d8404c50 arg ui_soft_switch_power_off ,temp 
+5d1a 20405d22 call app_mpu_s0_lock 
+5d1b 20205d3d branch lpm_write_lock 
+
+app_lpm_mpu_lock_mesh:
+5d1c dfe02735 arg ali_mesh_access_layer_resolve_message ,pdata 
+5d1d d840314b arg ali_mesh_upper_transport_layer_clear_tx_buffer ,temp 
+5d1e 20205d22 branch app_mpu_s0_lock 
+
+app_lpm_mpu_lock_module:
+5d1f 20405ce4 call app_lpm_efuse_lock_prep 
+5d20 dfe03814 arg module_init ,pdata 
+5d21 d8403c71 arg module_set_state ,temp 
+
+app_mpu_s0_lock:
+5d22 67f10013 store 2 ,core_mpu_s0_saddr 
+5d23 60590015 storet 2 ,core_mpu_s0_eaddr 
+5d24 20600000 rtn 
+
+app_lpm_mpu_lock_app:
+5d25 dfe032b9 arg antilost_init ,pdata 
+5d26 d8404c50 arg ui_soft_switch_power_off ,temp 
+5d27 20205d22 branch app_mpu_s0_lock 
+
+app_lpm_mpu_lock_br:
+5d28 dfe053f2 arg parse_lmp ,pdata 
+5d29 d8405b49 arg remote_auth ,temp 
+5d2a 20205d2d branch app_mpu_s1_lock 
+
+app_lpm_mpu_lock_ble:
+5d2b dfe01c7d arg le_parse_att ,pdata 
+5d2c d840217c arg le_send_ll_one_lenth ,temp 
+
+app_mpu_s1_lock:
+5d2d 67f10017 store 2 ,core_mpu_s1_saddr 
+5d2e 60590019 storet 2 ,core_mpu_s1_eaddr 
+5d2f 20600000 rtn 
+
+app_lpm_mpu_lock_24g:
+5d30 dfe02181 arg g24_prep ,pdata 
+5d31 d8402733 arg power_ctrl_pac_succ_cnt_reinit ,temp 
+5d32 20205d2d branch app_mpu_s1_lock 
+
+app_lpm_mpu_lock_br_ble:
+5d33 20405d28 call app_lpm_mpu_lock_br 
+5d34 dfe01c7d arg le_parse_att ,pdata 
+5d35 d840217c arg le_send_ll_one_lenth ,temp 
+5d36 20205d22 branch app_mpu_s0_lock 
+
+app_lpm_mpu_mode_lock:
+5d37 6fe08a03 fetch 1 ,mem_tmp_buffer + efuse_offset_peripherals_lock 
+5d38 1fe17ec0 and pdata ,0xc0 ,pdata 
+5d39 c0605d33 beq 0xc0 ,app_lpm_mpu_lock_br_ble 
+5d3a c2835d2b bbit1 efuse_le_lock_bit ,app_lpm_mpu_lock_ble 
+5d3b c283dd28 bbit1 efuse_br_lock_bit ,app_lpm_mpu_lock_br 
+5d3c 20600000 rtn 
+
+lpm_write_lock:
+5d3d 20405d37 call app_lpm_mpu_mode_lock 
+5d3e 6fe08a03 fetch 1 ,mem_tmp_buffer + efuse_offset_peripherals_lock 
+5d3f 1fe1221f and pdata ,0x1f ,rega 
+5d40 6fe08a01 fetch 1 ,mem_tmp_buffer + efuse_offset_ucode 
+5d41 1fe17e0f and pdata ,0x0f ,pdata 
+5d42 68488a02 fetcht 1 ,mem_tmp_buffer + efuse_offset_device_lock 
+5d43 1841040f and temp ,0x0f ,temp 
+5d44 18520400 lshift4 temp ,temp 
+5d45 9841fe00 ior temp ,pdata 
+5d46 1a2d2200 lshift8 rega ,rega 
+5d47 9a21fe00 ior rega ,pdata 
+5d48 79207e0d set1 lpmreg_rom_lock_bit ,pdata 
+5d49 79207e0e set1 lpmreg_ice_mode_bit ,pdata 
+5d4a 67f2004c store 4 ,core_lpm_reg 
+5d4b 20405d4e call lpm_write2_ctrl_option 
+5d4c 70801108 jam 8 ,core_encrypt 
+5d4d 20600000 rtn 
+
+lpm_write2_ctrl_option:
+5d4e 58000002 setarg lpmreg_sel_option 
+
+lpm_write2:
+5d4f 37d98200 until null ,lpo_edge 
+5d50 67f08012 store 1 ,core_lpm_wr2 
+5d51 37d98200 until null ,lpo_edge 
+5d52 37d98200 until null ,lpo_edge 
+5d53 20600000 rtn 
+
+spid_init:
+5d54 47104024 bpatchx patch24_0 ,mem_patch24 
+
+spid_init_common:
+5d55 6fe0c486 fetch 1 ,mem_spi_init_clk 
+5d56 67f08086 store 1 ,core_spid_ctrl 
+5d57 6fe0c487 fetch 1 ,mem_spi_init_delay_time 
+5d58 67f08087 store 1 ,core_spid_delay 
+5d59 580002e2 setarg mem_spid_tbuf 
+5d5a 67f1008a store 2 ,core_spid_txaddr 
+5d5b 580002e7 setarg mem_spid_rbuf 
+5d5c 67f1008c store 2 ,core_spid_rxaddr 
+5d5d 20205b62 branch twspi_disable 
+
+twspi_write:
+
+spid_write_reg:
+5d5e 79207e07 set1 7 ,pdata 
+5d5f 67e102e2 store 2 ,mem_spid_tbuf 
+5d60 4710c024 bpatchx patch24_1 ,mem_patch24 
+5d61 70808802 jam 2 ,core_spid_txlen 
+5d62 70808e00 jam 0 ,core_spid_rxlen 
+5d63 70800602 jam spid_start ,core_misc_ctrl 
+5d64 20205d6e branch wait_spid_done 
+
+twspi_read:
+
+spid_read_reg:
+5d65 18000401 force 1 ,temp 
+
+spid_read_regs:
+5d66 67e082e2 store 1 ,mem_spid_tbuf 
+5d67 47114024 bpatchx patch24_2 ,mem_patch24 
+5d68 70808801 jam 1 ,core_spid_txlen 
+5d69 6059008e storet 2 ,core_spid_rxlen 
+5d6a 70800602 jam spid_start ,core_misc_ctrl 
+5d6b 20405d6e call wait_spid_done 
+5d6c 6fe082e7 fetch 1 ,mem_spid_rbuf 
+5d6d 20600000 rtn 
+
+wait_spid_done:
+5d6e 6fe140dd fetch 2 ,mem_afh_error_total 
+5d6f 1fe0fe01 increase 1 ,pdata 
+5d70 67e140dd store 2 ,mem_afh_error_total 
+5d71 6ff0812c fetch 1 ,core_dma_status 
+5d72 c301dd6e bbit0 spid_done ,wait_spid_done 
+5d73 20600000 rtn 
+
+flash_write:
+5d74 78547c00 disable user 
+5d75 1fe22400 copy pdata ,regb 
+5d76 6fe0c4ae fetch 1 ,mem_spi_write_flash_sm 
+5d77 c1800000 rtnne flash_sm_no_buys 
+5d78 78347c00 enable user 
+5d79 1a427e00 copy regb ,pdata 
+5d7a 20205d82 branch spid_flash_write_start 
+
+flash_write_spi_sm_timer:
+5d7b 6fe0c4ae fetch 1 ,mem_spi_write_flash_sm 
+5d7c c000dd82 beq flash_sm_start ,spid_flash_write_start 
+5d7d c0015d88 beq flash_sm_erase_sector ,spid_flash_erase_sector 
+5d7e c001dd90 beq flash_sm_wait_erase_sector ,spid_flash_wait_erase_sector 
+5d7f c0025d94 beq flash_sm_write_data ,spid_flash_write_data 
+5d80 c002dd9a beq flash_sm_wait_write_data ,spid_flash_wait_write_data 
+5d81 20600000 rtn 
+
+spid_flash_write_start:
+5d82 67e1c4a7 store 3 ,mem_spi_write_addr 
+5d83 1a227e00 copy rega ,pdata 
+5d84 67e144aa store 2 ,mem_spi_write_ptr 
+5d85 604944ac storet 2 ,mem_spi_write_len 
+5d86 7044ae02 jam flash_sm_erase_sector ,mem_spi_write_flash_sm 
+5d87 20205daf branch spid_init_flash 
+
+spid_flash_erase_sector:
+5d88 20405daf call spid_init_flash 
+5d89 7044ae03 jam flash_sm_wait_erase_sector ,mem_spi_write_flash_sm 
+5d8a 20405db4 call spid_unlock_flash 
+5d8b da2002e2 arg mem_spid_tbuf ,rega 
+5d8c 70808804 jam 4 ,core_spid_txlen 
+5d8d 6fe1c4a7 fetch 3 ,mem_spi_write_addr 
+5d8e d8400020 arg flash_command_sector_erase ,temp 
+5d8f 20205dc5 branch spid_write_flash_common 
+
+spid_flash_wait_erase_sector:
+5d90 20405daf call spid_init_flash 
+5d91 20405de8 call wait_spid_flash_done 
+5d92 7044ae04 jam flash_sm_write_data ,mem_spi_write_flash_sm 
+5d93 20600000 rtn 
+
+spid_flash_write_data:
+5d94 20405daf call spid_init_flash 
+5d95 7044ae05 jam flash_sm_wait_write_data ,mem_spi_write_flash_sm 
+5d96 20405db4 call spid_unlock_flash 
+5d97 20405da7 call spid_flash_data_preserve 
+5d98 20405dc1 call spid_write_flash 
+5d99 20205da2 branch spid_flash_data_recover 
+
+spid_flash_wait_write_data:
+5d9a 20405daf call spid_init_flash 
+5d9b 20405db4 call spid_unlock_flash 
+5d9c 58000005 setarg flash_read_satus 
+5d9d 20405d65 call spid_read_reg 
+5d9e c3800000 rtnbit1 flash_status_wip 
+5d9f 7044ae00 jam flash_sm_no_buys ,mem_spi_write_flash_sm 
+5da0 6fe14473 fetch 2 ,mem_cb_spi_flash_write_complate 
+5da1 20207e7a branch callback_func 
+
+spid_flash_data_recover:
+5da2 6fe20964 fetch 4 ,mem_temp 
+5da3 684944aa fetcht 2 ,mem_spi_write_ptr 
+
+spid_flash_data_recover_comm:
+5da4 184085fc increase -4 ,temp 
+5da5 e7e20002 istore 4 ,temp 
+5da6 20600000 rtn 
+
+spid_flash_data_preserve:
+5da7 684944aa fetcht 2 ,mem_spi_write_ptr 
+5da8 18422200 copy temp ,rega 
+5da9 184085fc increase -4 ,temp 
+5daa efe20002 ifetch 4 ,temp 
+5dab 67e20964 store 4 ,mem_temp 
+5dac 684944ac fetcht 2 ,mem_spi_write_len 
+5dad 6fe1c4a7 fetch 3 ,mem_spi_write_addr 
+5dae 20600000 rtn 
+
+spid_init_flash:
+5daf 20405e13 call spi_gpio_init 
+5db0 20405b62 call twspi_disable 
+5db1 58000000 setarg 0 
+5db2 67e202e2 store 4 ,mem_spid_tbuf 
+5db3 20600000 rtn 
+
+spid_unlock_flash:
+5db4 7002e206 jam flash_command_write_enable ,mem_spid_tbuf 
+
+spid_sendcmd_common:
+5db5 58000000 setarg 0 
+5db6 67f1008e store 2 ,core_spid_rxlen 
+5db7 58000001 setarg 1 
+5db8 67f10088 store 2 ,core_spid_txlen 
+5db9 580002e2 setarg mem_spid_tbuf 
+5dba 67f1008a store 2 ,core_spid_txaddr 
+5dbb 70800602 jam spid_start ,core_misc_ctrl 
+5dbc 20205d6e branch wait_spid_done 
+
+spid_flash_release_form_powerdown:
+5dbd 7002e2ab jam flash_command_release_from_powerdown ,mem_spid_tbuf 
+5dbe 20205db5 branch spid_sendcmd_common 
+
+spid_flash_powerdown:
+5dbf 7002e2b9 jam flash_command_powerdown ,mem_spid_tbuf 
+5dc0 20205db5 branch spid_sendcmd_common 
+
+spid_write_flash:
+5dc1 18408404 increase 4 ,temp 
+5dc2 60590088 storet 2 ,core_spid_txlen 
+5dc3 d8400002 arg flash_command_write_data ,temp 
+5dc4 1a20a3fc increase -4 ,rega 
+
+spid_write_flash_common:
+5dc5 e0408011 istoret 1 ,rega 
+5dc6 1ff10400 rshift16 pdata ,temp 
+5dc7 e0408005 istoret 1 ,contw 
+5dc8 1fec8400 rshift8 pdata ,temp 
+5dc9 e0408005 istoret 1 ,contw 
+5dca e7e08005 istore 1 ,contw 
+5dcb 1a227e00 deposit rega 
+5dcc 67f1008a store 2 ,core_spid_txaddr 
+5dcd 58000000 setarg 0 
+5dce 67f1008e store 2 ,core_spid_rxlen 
+5dcf 70800602 jam spid_start ,core_misc_ctrl 
+5dd0 20405d6e call wait_spid_done 
+5dd1 20205de8 branch wait_spid_flash_done 
+
+spid_read_flash:
+5dd2 6059008e storet 2 ,core_spid_rxlen 
+5dd3 1ff10400 rshift16 pdata ,temp 
+5dd4 604882e3 storet 1 ,mem_addr_hi 
+5dd5 1fec8400 rshift8 pdata ,temp 
+5dd6 604882e4 storet 1 ,mem_addr_mi 
+5dd7 67e082e5 store 1 ,mem_addr_lo 
+5dd8 58000004 setarg 4 
+5dd9 67f10088 store 2 ,core_spid_txlen 
+5dda 7002e203 jam flash_command_read_data ,mem_spid_tbuf 
+5ddb 580002e2 setarg mem_spid_tbuf 
+5ddc 67f1008a store 2 ,core_spid_txaddr 
+5ddd 1a227e00 deposit rega 
+5dde 67f1008c store 2 ,core_spid_rxaddr 
+5ddf 6ff08086 fetch 1 ,core_spid_ctrl 
+5de0 2a2c000f isolate0 15 ,rega 
+5de1 7920fe06 setflag true ,6 ,pdata 
+5de2 67f08086 store 1 ,core_spid_ctrl 
+5de3 70800602 jam spid_start ,core_misc_ctrl 
+
+spid_read_flash_wait:
+5de4 6ff0812c fetch 1 ,core_dma_status 
+5de5 c283dde4 bbit1 7 ,spid_read_flash_wait 
+5de6 d8e00003 arg spid_done ,queue 
+5de7 20205d6e branch wait_spid_done 
+
+wait_spid_flash_done:
+5de8 580007d0 setarg 2000 
+5de9 2040137f call sleep 
+5dea 20405db4 call spid_unlock_flash 
+5deb 580002e7 setarg mem_spid_rbuf 
+5dec 67f1008c store 2 ,core_spid_rxaddr 
+5ded 58000005 setarg flash_read_satus 
+5dee 20405d65 call spid_read_reg 
+5def c2805de8 bbit1 flash_status_wip ,wait_spid_flash_done 
+5df0 20600000 rtn 
+
+spid_load_flash:
+5df1 6059008e storet 2 ,core_spid_rxlen 
+5df2 58000004 setarg 4 
+5df3 67f10088 store 2 ,core_spid_txlen 
+5df4 7002e203 jam 3 ,mem_spid_tbuf 
+5df5 580002e2 setarg mem_spid_tbuf 
+5df6 67f1008a store 2 ,core_spid_txaddr 
+5df7 1a227e00 deposit rega 
+5df8 67f1008c store 2 ,core_spid_rxaddr 
+5df9 6ff08086 fetch 1 ,core_spid_ctrl 
+5dfa 2a2c000f isolate0 15 ,rega 
+5dfb 7920fe06 setflag true ,6 ,pdata 
+5dfc 67f08086 store 1 ,core_spid_ctrl 
+5dfd 70800602 jam spid_start ,core_misc_ctrl 
+
+spi_load_flash_wait:
+5dfe 6ff0812c fetch 1 ,core_dma_status 
+5dff c283ddfe bbit1 7 ,spi_load_flash_wait 
+5e00 d8e00003 arg spid_done ,queue 
+5e01 20405c99 call decrypt_code 
+5e02 20405d6e call wait_spid_done 
+5e03 2feffe02 isolate1 spid_crcok ,pdata 
+5e04 20405c92 call set_ucode_status 
+5e05 6fe082e3 fetch 1 ,mem_addr_hi 
+5e06 1ff02400 lshift16 pdata ,regb 
+5e07 6fe082e4 fetch 1 ,mem_addr_mi 
+5e08 1fed7e00 lshift8 pdata ,pdata 
+5e09 9a41a400 ior regb ,regb 
+5e0a 6fe082e5 fetch 1 ,mem_addr_lo 
+5e0b 9a41fe00 ior regb ,pdata 
+5e0c 9840fe00 iadd temp ,pdata 
+5e0d 67e082e5 store 1 ,mem_addr_lo 
+5e0e 1fecfe00 rshift8 pdata ,pdata 
+5e0f 67e082e4 store 1 ,mem_addr_mi 
+5e10 1fecfe00 rshift8 pdata ,pdata 
+5e11 67e082e3 store 1 ,mem_addr_hi 
+5e12 20600000 rtn 
+
+spi_gpio_init:
+5e13 6fe0c4b7 fetch 1 ,mem_spi_cs_gpio 
+5e14 6848c4b9 fetcht 1 ,mem_spi_so_gpio 
+5e15 98467c00 isub temp ,null 
+5e16 2422de18 nbranch spi_pin_set ,zero 
+5e17 20405e24 call spi_gpio_default_init 
+
+spi_pin_set:
+5e18 6fe0c4b7 fetch 1 ,mem_spi_cs_gpio 
+5e19 d8400020 arg gpcfg_spid_ncs ,temp 
+5e1a 2040612c call gpio_config_function_int 
+5e1b 6fe0c4ba fetch 1 ,mem_spi_sclk_gpio 
+5e1c d8400021 arg gpcfg_spid_sck ,temp 
+5e1d 2040612c call gpio_config_function_int 
+5e1e 6fe0c4b8 fetch 1 ,mem_spi_si_gpio 
+5e1f d8400022 arg gpcfg_spid_mosi ,temp 
+5e20 2040612c call gpio_config_function_int 
+5e21 6fe0c4b9 fetch 1 ,mem_spi_so_gpio 
+5e22 d840001f arg gpcfg_spid_miso ,temp 
+5e23 2020612c branch gpio_config_function_int 
+
+spi_gpio_default_init:
+5e24 58100d0e setarg 0x100d0e 
+5e25 67e1c4b7 store 3 ,mem_spi_cs_gpio 
+5e26 5812110f setarg 0x12110f 
+5e27 e7e18005 istore 3 ,contw 
+5e28 20600000 rtn 
+
+soft_reset_chip:
+5e29 70801001 jam 1 ,core_reset 
+5e2a 20600000 rtn 
+
+iic_init_600khz:
+5e2b 70809105 jam 5 ,core_iicd_scl_low 
+5e2c 70809207 jam 7 ,core_iicd_scl_high 
+5e2d 70809307 jam 7 ,core_iicd_start_setup 
+5e2e 70809407 jam 7 ,core_iicd_start_hold 
+5e2f 70809507 jam 7 ,core_iicd_stop_setup 
+5e30 70809605 jam 5 ,core_iicd_data_setup 
+5e31 70809700 jam 0 ,core_iicd_data_hold 
+5e32 20600000 rtn 
+
+iic_init_360khz:
+5e33 7080910c jam 12 ,core_iicd_scl_low 
+5e34 7080920d jam 13 ,core_iicd_scl_high 
+5e35 7080930d jam 13 ,core_iicd_start_setup 
+5e36 7080940d jam 13 ,core_iicd_start_hold 
+5e37 7080950d jam 13 ,core_iicd_stop_setup 
+5e38 7080960c jam 12 ,core_iicd_data_setup 
+5e39 70809700 jam 0 ,core_iicd_data_hold 
+5e3a 20600000 rtn 
+
+iicd_init_pin:
+5e3b 20405e70 call iicd_eeprom_write_enable 
+
+iicd_init_pin_scl_sda:
+5e3c 6fe0c4c4 fetch 1 ,mem_eeprom_scl_gpio 
+5e3d d840006c arg gpcfg_iic_scl | gpcfg_pullup ,temp 
+5e3e 2040612c call gpio_config_function_int 
+5e3f 6fe0c4c5 fetch 1 ,mem_eeprom_sda_gpio 
+5e40 d840006d arg gpcfg_iic_sda | gpcfg_pullup ,temp 
+5e41 2020612c branch gpio_config_function_int 
+
+iicd_read_init_pin:
+5e42 20405e77 call iicd_eeprom_write_disable 
+5e43 20205e3c branch iicd_init_pin_scl_sda 
+
+wait_iicd_done:
+5e44 6ff0812c fetch 1 ,core_dma_status 
+5e45 c302de44 bbit0 iicd_done ,wait_iicd_done 
+5e46 20600000 rtn 
+
+iicd_read_data:
+5e47 67e082e6 store 1 ,mem_iicd_addr 
+5e48 580002e6 setarg mem_iicd_addr 
+5e49 67f1009a store 2 ,core_iicd_txaddr 
+5e4a 58000001 setarg 1 
+5e4b 67f10098 store 2 ,core_iicd_txlen 
+5e4c 6059009e storet 2 ,core_iicd_rxlen 
+5e4d 6231009c storer rega ,2 ,core_iicd_rxaddr 
+5e4e 70809001 jam 1 ,core_iicd_ctrl 
+5e4f 70800604 jam iicd_start ,core_misc_ctrl 
+5e50 20205e44 branch wait_iicd_done 
+
+iic_write_data:
+5e51 58000000 setarg 0 
+5e52 67f1009e store 2 ,core_iicd_rxlen 
+5e53 67f1009c store 2 ,core_iicd_rxaddr 
+5e54 60590098 storet 2 ,core_iicd_txlen 
+5e55 6231009a storer rega ,2 ,core_iicd_txaddr 
+5e56 70809001 jam 1 ,core_iicd_ctrl 
+5e57 70800604 jam iicd_start ,core_misc_ctrl 
+5e58 20205e44 branch wait_iicd_done 
+
+set_eeprom_size_2k:
+5e59 79200028 set1 mark_eeprom_size ,mark 
+5e5a 70448508 jam 0x08 ,mem_eeprom_block_size 
+5e5b 20600000 rtn 
+
+clear_eeprom_size_2k:
+5e5c 793f8028 set0 mark_eeprom_size ,mark 
+5e5d 70448520 jam 0x20 ,mem_eeprom_block_size 
+5e5e 20600000 rtn 
+
+iicd_read_eep_data_size_2k:
+5e5f 6fe0c47b fetch 1 ,mem_eeprom_base 
+5e60 9a40fe00 iadd regb ,pdata 
+5e61 67e082e4 store 1 ,mem_addr_mi 
+5e62 20205e66 branch iicd_read_eep_size_2k 
+
+iicd_read_eep_size_2k_lcadcode:
+5e63 6fe102e4 fetch 2 ,mem_addr_mi 
+5e64 1ff0fe00 byteswap pdata ,pdata 
+5e65 67e082e4 store 1 ,mem_addr_mi 
+
+iicd_read_eep_size_2k:
+5e66 58000003 setarg 3 
+5e67 67f10098 store 2 ,core_iicd_txlen 
+5e68 7002e3a0 jam 0xa0 ,mem_iicd_tbuf 
+5e69 7002e5a1 jam 0xa1 ,mem_iicd_tbuf + 2 
+5e6a 20205e85 branch iicd_read_eep_common 
+
+iicd_write_protect_eep_data:
+5e6b 60490964 storet 2 ,mem_temp 
+5e6c 20405e70 call iicd_eeprom_write_enable 
+5e6d 68490964 fetcht 2 ,mem_temp 
+5e6e 20405e9f call iicd_write_eep_data 
+5e6f 20205e77 branch iicd_eeprom_write_disable 
+
+iicd_eeprom_write_enable:
+5e70 6fe0c4c3 fetch 1 ,mem_eeprom_wp_gpio 
+5e71 c17f8000 rtneq gpio_disable 
+5e72 c3035e75 bbit0 6 ,iicd_wp_gpio_output_low 
+5e73 580249f0 setarg 150000 
+5e74 2040137f call sleep 
+
+iicd_wp_gpio_output_low:
+5e75 6848c4c3 fetcht 1 ,mem_eeprom_wp_gpio 
+5e76 2020610d branch gpio_out_active 
+
+iicd_eeprom_write_disable:
+5e77 6848c4c3 fetcht 1 ,mem_eeprom_wp_gpio 
+5e78 20206109 branch gpio_out_inactive 
+
+iicd_read_eep_data:
+5e79 4711c024 bpatchx patch24_3 ,mem_patch24 
+5e7a c5145e5f bmark1 mark_eeprom_size ,iicd_read_eep_data_size_2k 
+5e7b 6fe1447b fetch 2 ,mem_eeprom_base 
+5e7c 9a40fe00 iadd regb ,pdata 
+5e7d 1ff0fe00 byteswap pdata ,pdata 
+5e7e 67e102e4 store 2 ,mem_addr_mi 
+
+iicd_read_eep:
+5e7f 47124024 bpatchx patch24_4 ,mem_patch24 
+5e80 c5145e63 bmark1 mark_eeprom_size ,iicd_read_eep_size_2k_lcadcode 
+5e81 58000004 setarg 4 
+5e82 67f10098 store 2 ,core_iicd_txlen 
+5e83 7002e3a0 jam 0xa0 ,mem_iicd_tbuf 
+5e84 7002e6a1 jam 0xa1 ,mem_iicd_tbuf + 3 
+
+iicd_read_eep_common:
+5e85 580002e3 setarg mem_iicd_tbuf 
+5e86 67f1009a store 2 ,core_iicd_txaddr 
+5e87 6059009e storet 2 ,core_iicd_rxlen 
+5e88 6231009c storer rega ,2 ,core_iicd_rxaddr 
+5e89 58000002 setarg 2 
+5e8a 2a2c000f isolate0 15 ,rega 
+5e8b 7920fe00 setflag true ,0 ,pdata 
+5e8c 67f08090 store 1 ,core_iicd_ctrl 
+5e8d 70800604 jam iicd_start ,core_misc_ctrl 
+5e8e d8e00005 arg iicd_done ,queue 
+5e8f 20405c99 call decrypt_code 
+5e90 20405e44 call wait_iicd_done 
+5e91 2feffe04 isolate1 iicd_crcok ,pdata 
+5e92 20405c92 call set_ucode_status 
+5e93 c5145e9a bmark1 mark_eeprom_size ,iicd_read_eep_load_code_size_2k 
+5e94 6fe102e4 fetch 2 ,mem_addr_mi 
+5e95 1ff0fe00 byteswap pdata ,pdata 
+5e96 9840fe00 iadd temp ,pdata 
+5e97 1ff0fe00 byteswap pdata ,pdata 
+5e98 67e102e4 store 2 ,mem_addr_mi 
+5e99 20600000 rtn 
+
+iicd_read_eep_load_code_size_2k:
+5e9a 6fe082e4 fetch 1 ,mem_addr_mi 
+5e9b 9840fe00 iadd temp ,pdata 
+5e9c 1ff0fe00 byteswap pdata ,pdata 
+5e9d 67e102e4 store 2 ,mem_addr_mi 
+5e9e 20600000 rtn 
+
+iicd_write_eep_data:
+5e9f 6fe1447b fetch 2 ,mem_eeprom_base 
+5ea0 9a40fe00 iadd regb ,pdata 
+
+iicd_write_ota_data:
+5ea1 67e1095c store 2 ,mem_pdatatemp 
+5ea2 4712c024 bpatchx patch24_5 ,mem_patch24 
+5ea3 60490964 storet 2 ,mem_temp 
+5ea4 6221097b storer rega ,2 ,mem_contr 
+
+iicd_write_eep_loop:
+5ea5 20405eb4 call iicd_eep_transparency 
+5ea6 68490974 fetcht 2 ,mem_regb 
+5ea7 6a21097b fetchr rega ,2 ,mem_contr 
+5ea8 6fe1095c fetch 2 ,mem_pdatatemp 
+5ea9 20405ed5 call iicd_write_eep 
+5eaa 6fe10974 fetch 2 ,mem_regb 
+5eab 6849097b fetcht 2 ,mem_contr 
+5eac 98408400 iadd temp ,temp 
+5ead 6049097b storet 2 ,mem_contr 
+5eae 6849095c fetcht 2 ,mem_pdatatemp 
+5eaf 98408400 iadd temp ,temp 
+5eb0 6049095c storet 2 ,mem_pdatatemp 
+5eb1 6fe10964 fetch 2 ,mem_temp 
+5eb2 243a5ea5 nbranch iicd_write_eep_loop ,blank 
+5eb3 20600000 rtn 
+
+iicd_eep_transparency:
+5eb4 47134024 bpatchx patch24_6 ,mem_patch24 
+5eb5 6fe0c485 fetch 1 ,mem_eeprom_block_size 
+5eb6 1fe0ffff increase -1 ,pdata 
+5eb7 6849095c fetcht 2 ,mem_pdatatemp 
+5eb8 9841fe00 ior temp ,pdata 
+5eb9 1fe0fe01 increase 1 ,pdata 
+5eba 67e18978 store 3 ,mem_regc 
+5ebb 6fe10964 fetch 2 ,mem_temp 
+5ebc 9840fe00 iadd temp ,pdata 
+5ebd 68498978 fetcht 3 ,mem_regc 
+5ebe 98467e00 isub temp ,pdata 
+5ebf 24215ec6 nbranch iicd_eep_deal_short_packet ,positive 
+5ec0 67e10964 store 2 ,mem_temp 
+5ec1 6fe18978 fetch 3 ,mem_regc 
+5ec2 6849095c fetcht 2 ,mem_pdatatemp 
+5ec3 98467e00 isub temp ,pdata 
+5ec4 67e10974 store 2 ,mem_regb 
+5ec5 20600000 rtn 
+
+iicd_eep_deal_short_packet:
+5ec6 6fe10964 fetch 2 ,mem_temp 
+5ec7 67e10974 store 2 ,mem_regb 
+5ec8 58000000 setarg 0 
+5ec9 67e10964 store 2 ,mem_temp 
+5eca 20600000 rtn 
+
+iicd_write_eep_size_2k:
+5ecb 1a427e00 copy regb ,pdata 
+5ecc 18408402 increase 2 ,temp 
+5ecd 60590098 storet 2 ,core_iicd_txlen 
+5ece 1a20a3fe increase -2 ,rega 
+5ecf e8418011 ifetcht 3 ,rega 
+5ed0 18422400 copy temp ,regb 
+5ed1 d84000a0 arg 0xa0 ,temp 
+5ed2 e0408011 istoret 1 ,rega 
+5ed3 e7e08005 istore 1 ,contw 
+5ed4 20205ee2 branch iicd_write_eep_common 
+
+iicd_write_eep:
+5ed5 1fe22400 copy pdata ,regb 
+5ed6 4713c024 bpatchx patch24_7 ,mem_patch24 
+5ed7 c5145ecb bmark1 mark_eeprom_size ,iicd_write_eep_size_2k 
+5ed8 1a427e00 copy regb ,pdata 
+5ed9 18408403 increase 3 ,temp 
+5eda 60590098 storet 2 ,core_iicd_txlen 
+5edb 1a20a3fd increase -3 ,rega 
+5edc e8418011 ifetcht 3 ,rega 
+5edd 18422400 copy temp ,regb 
+5ede d84000a0 arg 0xa0 ,temp 
+5edf e0408011 istoret 1 ,rega 
+5ee0 1ff0fe00 byteswap pdata ,pdata 
+5ee1 e7e10005 istore 2 ,contw 
+
+iicd_write_eep_common:
+5ee2 6231009a storer rega ,2 ,core_iicd_txaddr 
+5ee3 58000000 setarg 0 
+5ee4 67f1009e store 2 ,core_iicd_rxlen 
+5ee5 70809001 jam 1 ,core_iicd_ctrl 
+5ee6 70800604 jam iicd_start ,core_misc_ctrl 
+5ee7 20405e44 call wait_iicd_done 
+5ee8 e2418011 istorer regb ,3 ,rega 
+
+iic_check_eeprom_standby:
+5ee9 47144025 bpatchx patch25_0 ,mem_patch25 
+5eea 7002e600 jam 0 ,mem_iicd_tbuf + 3 
+
+iic_check_eeprom_standby_wait:
+5eeb 58000001 setarg 1 
+5eec 67f10098 store 2 ,core_iicd_txlen 
+5eed 7002e3a0 jam 0xa0 ,mem_iicd_tbuf 
+5eee 580002e3 setarg mem_iicd_tbuf 
+5eef 67f1009a store 2 ,core_iicd_txaddr 
+5ef0 58000000 setarg 0 
+5ef1 67f1009e store 2 ,core_iicd_rxlen 
+5ef2 67f1009c store 2 ,core_iicd_rxaddr 
+5ef3 58000003 setarg 3 
+5ef4 67f08090 store 1 ,core_iicd_ctrl 
+5ef5 70800604 jam iicd_start ,core_misc_ctrl 
+5ef6 20405e44 call wait_iicd_done 
+5ef7 6ff0812c fetch 1 ,core_dma_status 
+5ef8 c4030000 rtnbit0 iicd_ack 
+5ef9 200005dc nop 1500 
+5efa 6fe082e6 fetch 1 ,mem_iicd_tbuf + 3 
+5efb 1fe0fe01 increase 1 ,pdata 
+5efc 67e082e6 store 1 ,mem_iicd_tbuf + 3 
+5efd 1fe67c28 sub pdata ,40 ,null 
+5efe 24610000 nrtn positive 
+5eff 20205eeb branch iic_check_eeprom_standby_wait 
+
+efuse_read_data:
+5f00 18427200 copy temp ,loopcnt 
+5f01 1fe20400 copy pdata ,temp 
+5f02 4714c025 bpatchx patch25_1 ,mem_patch25 
+5f03 18498400 lshift3 temp ,temp 
+5f04 20405f3c call efuse_vdd_on 
+5f05 70804780 jam 0x80 ,core_efuse_ctrl 
+
+efuse_read_loop:
+5f06 70804786 jam 0x86 ,core_efuse_ctrl 
+5f07 60590045 storet 2 ,core_efuse_addr 
+5f08 18408408 increase 8 ,temp 
+5f09 70804787 jam 0x87 ,core_efuse_ctrl 
+5f0a 6ff08007 fetch 1 ,core_efuse_rdata 
+5f0b e7e08011 istore 1 ,rega 
+5f0c 1a20a201 increase 1 ,rega 
+5f0d c2005f06 loop efuse_read_loop 
+5f0e 70804786 jam 0x86 ,core_efuse_ctrl 
+5f0f 70804780 jam 0x80 ,core_efuse_ctrl 
+5f10 70804700 jam 0x0 ,core_efuse_ctrl 
+5f11 20205f44 branch efuse_vdd_off 
+
+efuse_program:
+5f12 20405f34 call efuse_vdd_fsource_on 
+5f13 70804780 jam 0x80 ,core_efuse_ctrl 
+5f14 18498400 lshift3 temp ,temp 
+5f15 1a220c00 copy rega ,contr 
+
+efuse_program_loop:
+5f16 efe08006 ifetch 1 ,contr 
+5f17 da400008 arg 8 ,regb 
+
+efuse_program_bit_loop:
+5f18 1fe17c01 and pdata ,1 ,null 
+5f19 2442df50 ncall efuse_program_bit ,zero 
+5f1a 1fe37e00 rshift pdata ,pdata 
+5f1b 18408401 increase 1 ,temp 
+5f1c 1a40a5ff increase -1 ,regb 
+5f1d 2422df18 nbranch efuse_program_bit_loop ,zero 
+5f1e c2005f16 loop efuse_program_loop 
+5f1f 70804780 jam 0x80 ,core_efuse_ctrl 
+5f20 70804700 jam 0x0 ,core_efuse_ctrl 
+5f21 20205f44 branch efuse_vdd_off 
+
+efuse_pa_vdd_set:
+5f22 6ff10a14 fetch 2 ,core_rf_ldo_cfg8 
+5f23 67e1095c store 2 ,mem_pdatatemp 
+5f24 708a146a jam 0x6a ,core_rf_ldo_cfg8 
+5f25 708a150b jam 0x0b ,core_rf_ldo_cfg9 
+5f26 20600000 rtn 
+
+efuse_pa_vdd_recover:
+5f27 6fe1095c fetch 2 ,mem_pdatatemp 
+5f28 67f10a14 store 2 ,core_rf_ldo_cfg8 
+5f29 20600000 rtn 
+
+efuse_lna_pa_ldo_on:
+5f2a 20405f22 call efuse_pa_vdd_set 
+5f2b 6ff08a0a fetch 1 ,core_rf_ldo_en0 
+5f2c 79207e01 set1 1 ,pdata 
+5f2d 67f08a0a store 1 ,core_rf_ldo_en0 
+5f2e 200000c8 nop 200 
+5f2f 6ff08a0b fetch 1 ,core_rf_ldo_en1 
+5f30 79207e00 set1 0 ,pdata 
+5f31 67f08a0b store 1 ,core_rf_ldo_en1 
+5f32 200007d0 nop 2000 
+5f33 20600000 rtn 
+
+efuse_vdd_fsource_on:
+5f34 20405f2a call efuse_lna_pa_ldo_on 
+5f35 6ff08a0b fetch 1 ,core_rf_ldo_en1 
+5f36 793ffe05 set0 5 ,pdata 
+5f37 79207e04 set1 4 ,pdata 
+5f38 79207e03 set1 3 ,pdata 
+5f39 67f08a0b store 1 ,core_rf_ldo_en1 
+5f3a 200001f4 nop 500 
+5f3b 20600000 rtn 
+
+efuse_vdd_on:
+5f3c 20405f2a call efuse_lna_pa_ldo_on 
+5f3d 6ff08a0b fetch 1 ,core_rf_ldo_en1 
+5f3e 79207e05 set1 5 ,pdata 
+5f3f 79207e04 set1 4 ,pdata 
+5f40 793ffe03 set0 3 ,pdata 
+5f41 67f08a0b store 1 ,core_rf_ldo_en1 
+5f42 200001f4 nop 500 
+5f43 20600000 rtn 
+
+efuse_vdd_off:
+5f44 47154025 bpatchx patch25_2 ,mem_patch25 
+5f45 6ff08a0b fetch 1 ,core_rf_ldo_en1 
+5f46 793ffe05 set0 5 ,pdata 
+5f47 793ffe04 set0 4 ,pdata 
+5f48 793ffe03 set0 3 ,pdata 
+5f49 793ffe00 set0 0 ,pdata 
+5f4a 67f08a0b store 1 ,core_rf_ldo_en1 
+5f4b 200000c8 nop 200 
+5f4c 6ff08a0a fetch 1 ,core_rf_ldo_en0 
+5f4d 793ffe01 set0 1 ,pdata 
+5f4e 67f08a0a store 1 ,core_rf_ldo_en0 
+5f4f 20205f27 branch efuse_pa_vdd_recover 
+
+efuse_program_bit:
+5f50 70804780 jam 0x80 ,core_efuse_ctrl 
+5f51 2000000a nop 10 
+5f52 60590045 storet 2 ,core_efuse_addr 
+5f53 70804781 jam 0x81 ,core_efuse_ctrl 
+5f54 2000006e nop 110 
+5f55 20600000 rtn 
+
+uarta_init_dma_mem:
+5f56 20407ec5 call enable_user 
+5f57 20205f5a branch uart_init_dma_mem 
+
+uartb_init_dma_mem:
+5f58 20407ec7 call disable_user 
+5f59 20205f5a branch uart_init_dma_mem 
+
+uart_init_dma_mem:
+5f5a 1ff10400 rshift16 pdata ,temp 
+5f5b 20545f8d call uarta_init_rx ,user 
+5f5c 24545f91 ncall uartb_init_rx ,user 
+5f5d 1fef7e00 rshift32 pdata ,pdata 
+5f5e 1ff10400 rshift16 pdata ,temp 
+5f5f 20545f85 call uarta_init_tx ,user 
+5f60 24545f89 ncall uartb_init_tx ,user 
+5f61 24345f66 nbranch uartb_init_dma_turn_on_clk ,user 
+5f62 6ff10050 fetch 2 ,core_clkoff 
+5f63 793ffe0f set0 clock_off_uart ,pdata 
+5f64 67f10050 store 2 ,core_clkoff 
+5f65 20600000 rtn 
+
+uartb_init_dma_turn_on_clk:
+5f66 6ff10050 fetch 2 ,core_clkoff 
+5f67 793ffe0e set0 clock_off_uartb ,pdata 
+5f68 67f10050 store 2 ,core_clkoff 
+5f69 20600000 rtn 
+
+uarta_init_baud_rate:
+5f6a 67f10052 store uart_baud_len ,core_uart_baud 
+5f6b 20600000 rtn 
+
+uartb_init_baud_rate:
+5f6c 67f10062 store uart_baud_len ,core_uartb_baud 
+5f6d 20600000 rtn 
+
+uarta_calc_baud_rate_config:
+5f6e 20405f72 call uart_calc_baud_rate_config 
+5f6f 20205f6a branch uarta_init_baud_rate 
+
+uartb_calc_baud_rate_config:
+5f70 20405f72 call uart_calc_baud_rate_config 
+5f71 20205f6c branch uartb_init_baud_rate 
+
+uart_calc_baud_rate_config:
+5f72 20405f77 call uart_calc_baud_rate_config_choice_uart_clock 
+5f73 9846fc00 idiv temp 
+5f74 20407e64 call wait_div_end 
+5f75 1807fe00 quotient pdata 
+5f76 20600000 rtn 
+
+uart_calc_baud_rate_config_choice_uart_clock:
+5f77 6ff08043 fetch 1 ,core_uart_clksel 
+5f78 c3005f7b bbit0 uart_clock_select_bit ,uart_calc_baud_rate_config_choice_uart_clock_crystal 
+5f79 5adc6c00 setarg uart_clock_freq_48m 
+5f7a 20600000 rtn 
+
+uart_calc_baud_rate_config_choice_uart_clock_crystal:
+5f7b 596e3600 setarg uart_clock_freq_24m 
+5f7c 20600000 rtn 
+
+uart_clock_select_main_freq_crystal:
+5f7d 6ff08043 fetch 1 ,core_uart_clksel 
+5f7e 1fe17efe and pdata ,uart_clock_select_crystal ,pdata 
+5f7f 67f08043 store 1 ,core_uart_clksel 
+5f80 20600000 rtn 
+
+uart_clock_select_main_freq_dpll:
+5f81 6ff08043 fetch 1 ,core_uart_clksel 
+5f82 1fe1fe01 or pdata ,uart_clock_select_dpll ,pdata 
+5f83 67f08043 store 1 ,core_uart_clksel 
+5f84 20600000 rtn 
+
+uarta_init_tx:
+5f85 67f1005a store 2 ,core_uart_tsaddr 
+5f86 67f1005e store 2 ,core_uart_twptr 
+5f87 6059005c storet 2 ,core_uart_teaddr 
+5f88 20600000 rtn 
+
+uartb_init_tx:
+5f89 67f1006a store 2 ,core_uartb_tsaddr 
+5f8a 67f1006e store 2 ,core_uartb_twptr 
+5f8b 6059006c storet 2 ,core_uartb_teaddr 
+5f8c 20600000 rtn 
+
+uarta_init_rx:
+5f8d 67f10054 store 2 ,core_uart_rsaddr 
+5f8e 67f10058 store 2 ,core_uart_rrptr 
+5f8f 60590056 storet 2 ,core_uart_readdr 
+5f90 20600000 rtn 
+
+uartb_init_rx:
+5f91 67f10064 store 2 ,core_uartb_rsaddr 
+5f92 67f10068 store 2 ,core_uartb_rrptr 
+5f93 60590066 storet 2 ,core_uartb_readdr 
+5f94 20600000 rtn 
+
+uarta_prepare_tx:
+5f95 6951005a fetchr contus ,2 ,core_uart_tsaddr 
+5f96 6a11005c fetchr contue ,2 ,core_uart_teaddr 
+5f97 6871005e fetchr contu ,2 ,core_uart_twptr 
+5f98 20600000 rtn 
+
+uartb_prepare_tx:
+5f99 6951006a fetchr contus ,2 ,core_uartb_tsaddr 
+5f9a 6a11006c fetchr contue ,2 ,core_uartb_teaddr 
+5f9b 6871006e fetchr contu ,2 ,core_uartb_twptr 
+5f9c 20600000 rtn 
+
+uarta_prepare_rx:
+5f9d 69510054 fetchr contus ,2 ,core_uart_rsaddr 
+5f9e 6a110056 fetchr contue ,2 ,core_uart_readdr 
+5f9f 68710058 fetchr contu ,2 ,core_uart_rrptr 
+5fa0 20600000 rtn 
+
+uartb_prepare_rx:
+5fa1 69510064 fetchr contus ,2 ,core_uartb_rsaddr 
+5fa2 6a110066 fetchr contue ,2 ,core_uartb_readdr 
+5fa3 68710068 fetchr contu ,2 ,core_uartb_rrptr 
+5fa4 20600000 rtn 
+
+uarta_send:
+5fa5 6071005e storer contu ,2 ,core_uart_twptr 
+5fa6 20600000 rtn 
+
+uartb_send:
+5fa7 6071006e storer contu ,2 ,core_uartb_twptr 
+5fa8 20600000 rtn 
+
+uarta_rxdone:
+5fa9 60710058 storer contu ,2 ,core_uart_rrptr 
+5faa 20600000 rtn 
+
+uartb_rxdone:
+5fab 60710068 storer contu ,2 ,core_uartb_rrptr 
+5fac 20600000 rtn 
+
+uarta_clear_current_rx:
+5fad 20405f9d call uarta_prepare_rx 
+5fae 6ff10112 fetch 2 ,core_uart_rxitems 
+5faf 98608600 iadd contu ,contu 
+5fb0 20205fa9 branch uarta_rxdone 
+
+uartb_clear_current_rx:
+5fb1 20405fa1 call uartb_prepare_rx 
+5fb2 6ff10158 fetch 2 ,core_uartb_rxitems 
+5fb3 98608600 iadd contu ,contu 
+5fb4 20205fab branch uartb_rxdone 
+
+uarta_prepare_tx_register_push:
+5fb5 20405fbd call uart_register_push 
+5fb6 20205f95 branch uarta_prepare_tx 
+
+uartb_prepare_tx_register_push:
+5fb7 20405fbd call uart_register_push 
+5fb8 20205f99 branch uartb_prepare_tx 
+
+uarta_send_register_pop:
+5fb9 20405fa5 call uarta_send 
+5fba 20205fc1 branch uart_register_pop 
+
+uartb_send_register_pop:
+5fbb 20405fa7 call uartb_send 
+5fbc 20205fc1 branch uart_register_pop 
+
+uart_register_push:
+5fbd 60610983 storer contu ,2 ,mem_contu 
+5fbe 61410981 storer contus ,2 ,mem_contue 
+5fbf 6201097f storer contue ,2 ,mem_contus 
+5fc0 20600000 rtn 
+
+uart_register_pop:
+5fc1 68610983 fetchr contu ,2 ,mem_contu 
+5fc2 69410981 fetchr contus ,2 ,mem_contue 
+5fc3 6a01097f fetchr contue ,2 ,mem_contus 
+5fc4 20600000 rtn 
+
+uart_copy_tx_bytes_fast:
+5fc5 1f227e00 deposit loopcnt 
+5fc6 207a0000 rtn blank 
+
+uart_copy_tx_bytes_fast_loop:
+5fc7 1f20f3f8 increase -8 ,loopcnt 
+5fc8 20415fd3 call uart_tx_8_bytes ,positive 
+5fc9 20628000 rtn zero 
+5fca 20215fc7 branch uart_copy_tx_bytes_fast_loop ,positive 
+5fcb 1f20f208 increase 8 ,loopcnt 
+
+uart_copy_tx_bytes_fast_loop_four:
+5fcc 1f20f3fc increase -4 ,loopcnt 
+5fcd 20415fd6 call uart_tx_4_bytes ,positive 
+5fce 20628000 rtn zero 
+5fcf 20215fcc branch uart_copy_tx_bytes_fast_loop_four ,positive 
+5fd0 1f20f204 increase 4 ,loopcnt 
+5fd1 20205fd9 branch uart_copy_tx_bytes 
+
+uart_tx_16_bytes:
+5fd2 20405fd3 call uart_tx_8_bytes 
+
+uart_tx_8_bytes:
+5fd3 efe40006 ifetch 8 ,contr 
+5fd4 e7e40003 istore 8 ,contu 
+5fd5 20600000 rtn 
+
+uart_tx_4_bytes:
+5fd6 efe20006 ifetch 4 ,contr 
+5fd7 e7e20003 istore 4 ,contu 
+5fd8 20600000 rtn 
+
+uart_copy_tx_bytes:
+5fd9 1f227e00 deposit loopcnt 
+5fda 207a0000 rtn blank 
+
+uart_copy_tx_bytes_loop:
+5fdb efe08006 ifetch 1 ,contr 
+5fdc e7e08003 istore 1 ,contu 
+5fdd c2005fdb loop uart_copy_tx_bytes_loop 
+5fde 20600000 rtn 
+
+uart_copy_rx_bytes_fast:
+5fdf 1f227e00 deposit loopcnt 
+5fe0 207a0000 rtn blank 
+
+uart_copy_rx_bytes_fast_loop:
+5fe1 1f20f3f8 increase -8 ,loopcnt 
+5fe2 20415fed call uart_rx_8_bytes ,positive 
+5fe3 20628000 rtn zero 
+5fe4 20215fe1 branch uart_copy_rx_bytes_fast_loop ,positive 
+5fe5 1f20f208 increase 8 ,loopcnt 
+
+uart_copy_rx_bytes_fast_loop_four:
+5fe6 1f20f3fc increase -4 ,loopcnt 
+5fe7 20415ff0 call uart_rx_4_bytes ,positive 
+5fe8 20628000 rtn zero 
+5fe9 20215fe6 branch uart_copy_rx_bytes_fast_loop_four ,positive 
+5fea 1f20f204 increase 4 ,loopcnt 
+5feb 20205ff3 branch uart_copy_rx_bytes 
+
+uart_rx_16_bytes:
+5fec 20405fed call uart_rx_8_bytes 
+
+uart_rx_8_bytes:
+5fed efe40003 ifetch 8 ,contu 
+5fee e7e40005 istore 8 ,contw 
+5fef 20600000 rtn 
+
+uart_rx_4_bytes:
+5ff0 efe20003 ifetch 4 ,contu 
+5ff1 e7e20005 istore 4 ,contw 
+5ff2 20600000 rtn 
+
+uart_copy_rx_bytes:
+5ff3 1f227e00 deposit loopcnt 
+5ff4 207a0000 rtn blank 
+
+uart_copy_rx_bytes_loop:
+5ff5 efe08003 ifetch 1 ,contu 
+5ff6 e7e08005 istore 1 ,contw 
+5ff7 c2005ff5 loop uart_copy_rx_bytes_loop 
+5ff8 20600000 rtn 
+
+app_store_nvram_event:
+5ff9 70095b3d jam bt_evt_store_nvram ,mem_fifo_temp 
+5ffa 202078dc branch ui_ipc_send_event 
+
+check_51cmd_store_reconn_info:
+
+check_51cmd_update_device_record:
+5ffb 4715c025 bpatchx patch25_3 ,mem_patch25 
+5ffc 6fe0c48b fetch 1 ,mem_nv_data_number 
+5ffd 207a0000 rtn blank 
+5ffe 204060a0 call check_nvram 
+5fff 2042e0a6 call init_device_list ,zero 
+6000 20407ecb call disable_user2 
+6001 2040602f call nvram_find_addr_from_bd_list 
+
+write_device_record:
+6002 6fe0c48b fetch 1 ,mem_nv_data_number 
+6003 1fe22600 icopy regc 
+6004 68494489 fetcht 2 ,mem_nv_data_ptr 
+6005 604900ee storet 2 ,mem_list_item_ptr 
+
+write_device_loop_find:
+6006 1a627e00 copy regc ,pdata 
+6007 203a5ff9 branch app_store_nvram_event ,blank 
+6008 1a60a7ff increase -1 ,regc 
+6009 18422200 copy temp ,rega 
+600a efe08011 ifetch 1 ,rega 
+600b 684880e6 fetcht 1 ,mem_select_list_item 
+600c 98467c00 isub temp ,null 
+600d 2042e016 call set_index_finded_device ,zero 
+600e 20216012 branch write_device_loop_find0 ,positive 
+600f efe08011 ifetch 1 ,rega 
+6010 1fe0fe01 increase 1 ,pdata 
+6011 e7e08011 istore 1 ,rega 
+
+write_device_loop_find0:
+6012 684900ee fetcht 2 ,mem_list_item_ptr 
+6013 18408422 increase nv_data_len ,temp 
+6014 604900ee storet 2 ,mem_list_item_ptr 
+6015 20206006 branch write_device_loop_find 
+
+set_index_finded_device:
+6016 58000000 setarg 0 
+6017 e7e08011 istore 1 ,rega 
+6018 6fe080e7 fetch 1 ,mem_temp_reconn_record 
+6019 e7e08005 istore 1 ,contw 
+601a c099e024 bne rec_3_mode ,set_index_finded_device_ble_mode 
+601b da4041cb arg mem_link_key ,regb 
+
+set_index_find_device_master_addr:
+601c efe30006 ifetch 6 ,contr 
+601d e7e40005 istore 8 ,contw 
+601e 58000000 setarg 0 
+601f e7e40005 istore 8 ,contw 
+6020 1a420c00 copy regb ,contr 
+
+store_rec_data_common:
+6021 20407d7f call memcpy16 
+6022 18007c01 force 1 ,null 
+6023 20600000 rtn 
+
+set_index_finded_device_ble_mode:
+6024 c01b6028 beq rec_4_mode_random_resolvable_private_address ,set_index_finded_device_irk 
+6025 c01be02c beq rec_4_mode_random_non_resolvable_private_address ,set_index_finded_device_ediv 
+6026 da404316 arg mem_le_ltk ,regb 
+6027 2020601c branch set_index_find_device_master_addr 
+
+set_index_finded_device_irk:
+6028 d8c043ac arg mem_le_irk ,contr 
+6029 20407d7f call memcpy16 
+
+store_ble_rec_data_common:
+602a d8c04316 arg mem_le_ltk ,contr 
+602b 20206021 branch store_rec_data_common 
+
+set_index_finded_device_ediv:
+602c d8c043a4 arg mem_le_rand ,contr 
+602d 20407d7f call memcpy16 
+602e 2020602a branch store_ble_rec_data_common 
+
+nvram_find_addr_from_bd_list:
+602f 20407ec7 call disable_user 
+6030 6fe0c48b fetch 1 ,mem_nv_data_number 
+6031 207a0000 rtn blank 
+6032 47164025 bpatchx patch25_4 ,mem_patch25 
+6033 6fe1478f fetch 2 ,mem_ui_state_map 
+6034 c2806052 bbit1 ui_state_bt_connected ,find_addr_from_bd_list_spp_mode 
+6035 c4048000 rtnbit0 ui_state_ble_connected 
+
+find_addr_from_bd_list_ble_mode:
+6036 6fe0c36a fetch 1 ,mem_le_conn_peer_addr_type 
+6037 c000604b beq master_public_addr ,find_addr_from_bd_list_public_device_addr 
+6038 6fe0829c fetch 1 ,mem_le_plap + 5 
+6039 2fe180c0 compare 0xc0 ,pdata ,0xc0 
+603a 2020e03e branch find_addr_from_bd_list_static_addr ,true 
+603b 2fe18040 compare 0x40 ,pdata ,0xc0 
+603c 2020e050 branch find_addr_from_bd_list_random_addr ,true 
+603d 20206045 branch find_addr_from_bd_list_random_non_resolvable_private_address_sc_or_legacy 
+
+find_addr_from_bd_list_static_addr:
+603e 20366042 branch find_addr_from_bd_list_static_addr_reconnect ,user2 
+603f 6fe0c34e fetch 1 ,mem_le_preq_init_key_distribution 
+6040 c300e04b bbit0 le_initator_irk_bit ,find_addr_from_bd_list_public_device_addr 
+6041 20206045 branch find_addr_from_bd_list_static_addr_sc_or_legacy 
+
+find_addr_from_bd_list_static_addr_reconnect:
+6042 2040604b call find_addr_from_bd_list_public_device_addr 
+6043 20740000 rtn user 
+6044 20206045 branch find_addr_from_bd_list_static_addr_sc_or_legacy 
+
+find_addr_from_bd_list_static_addr_sc_or_legacy:
+
+find_addr_from_bd_list_random_non_resolvable_private_address_sc_or_legacy:
+6045 6fe0c39d fetch 1 ,mem_le_pairing_mode 
+6046 c283e048 bbit1 le_pairing_mode_secure_connect_bit ,find_addr_from_bd_list_random_non_resolvable_private_address_sc 
+6047 2020604e branch find_addr_from_bd_list_random_non_resolvable_private_address 
+
+find_addr_from_bd_list_static_addr_sc:
+
+find_addr_from_bd_list_random_non_resolvable_private_address_sc:
+6048 6fe30297 fetch 6 ,mem_le_plap 
+6049 67e443a4 store 8 ,mem_le_rand 
+604a 2020604e branch find_addr_from_bd_list_random_non_resolvable_private_address 
+
+find_addr_from_bd_list_public_device_addr:
+604b 7000e735 jam rec_4_mode_static_address ,mem_temp_reconn_record 
+604c 6fe30297 fetch 6 ,mem_le_plap 
+604d 20206054 branch find_addr_from_bd_list_common 
+
+find_addr_from_bd_list_random_non_resolvable_private_address:
+604e 7000e737 jam rec_4_mode_random_non_resolvable_private_address ,mem_temp_reconn_record 
+604f 20206054 branch find_addr_from_bd_list_common 
+
+find_addr_from_bd_list_random_addr:
+6050 7000e736 jam rec_4_mode_random_resolvable_private_address ,mem_temp_reconn_record 
+6051 20206054 branch find_addr_from_bd_list_common 
+
+find_addr_from_bd_list_spp_mode:
+6052 7000e733 jam rec_3_mode ,mem_temp_reconn_record 
+6053 6fe30040 fetch 6 ,mem_plap 
+
+find_addr_from_bd_list_common:
+6054 67e300e8 store 6 ,mem_temp_lap 
+6055 6fe14489 fetch 2 ,mem_nv_data_ptr 
+6056 e840803f ifetcht 1 ,pdata 
+6057 1fe0fe01 pincrease 1 
+6058 67e100ee store 2 ,mem_list_item_ptr 
+6059 604880e6 storet 1 ,mem_select_list_item 
+605a 6fe0c48b fetch 1 ,mem_nv_data_number 
+605b 1fe22600 icopy regc 
+
+nvram_find_addr_from_list:
+605c 6fe100ee fetch 2 ,mem_list_item_ptr 
+605d 1fe22200 copy pdata ,rega 
+605e 2040606c call nvram_find_addr_from_list_compare 
+605f 20740000 rtn user 
+6060 684900ee fetcht 2 ,mem_list_item_ptr 
+6061 18408422 increase nv_data_len ,temp 
+6062 604900ee storet 2 ,mem_list_item_ptr 
+6063 184085ff increase -1 ,temp 
+6064 efe08002 ifetch 1 ,temp 
+6065 67e080e6 store 1 ,mem_select_list_item 
+6066 1a60a7ff increase -1 ,regc 
+6067 2422e05c nbranch nvram_find_addr_from_list ,zero 
+6068 6fe0c48b fetch 1 ,mem_nv_data_number 
+6069 1fe0ffff pincrease decreased_one 
+606a 67e080e6 store 1 ,mem_select_list_item 
+606b 20600000 rtn 
+
+nvram_find_addr_from_list_compare:
+606c 6fe080e7 fetch 1 ,mem_temp_reconn_record 
+606d c099e073 bne rec_3_mode ,find_addr_from_list_compare_ble_mode 
+
+find_master_addr_from_list_compare:
+606e da4000e7 arg mem_temp_reconn_record ,regb 
+606f df200007 arg 7 ,loopcnt 
+6070 20407e66 call string_compare 
+6071 2022fec5 branch enable_user ,zero 
+6072 20600000 rtn 
+
+find_addr_from_list_compare_ble_mode:
+6073 c01b6076 beq rec_4_mode_random_resolvable_private_address ,find_irk_form_list_compare 
+6074 c01be091 beq rec_4_mode_random_non_resolvable_private_address ,find_ediv_form_list_compare 
+6075 2020606e branch find_master_addr_from_list_compare 
+
+find_irk_form_list_compare:
+6076 e8408011 ifetcht 1 ,rega 
+6077 98467c00 isub temp ,null 
+6078 24628000 nrtn zero 
+6079 d8a0098e arg mem_le_prand ,contw 
+607a df200010 arg 16 ,loopcnt 
+607b 20407d9b call clear_mem 
+607c 6fe1829a fetch 3 ,mem_le_plap + 3 
+607d 67e1898e store 3 ,mem_le_prand 
+607e 20406088 call genernate_master_macaddress 
+607f 6fe109ab fetch 2 ,mem_le_aes_128 + 13 
+6080 1ff0fe00 byteswap pdata ,pdata 
+6081 1fed0400 lshift8 pdata ,temp 
+6082 efe08006 ifetch 1 ,contr 
+6083 9840fe00 iadd temp ,pdata 
+6084 68498297 fetcht 3 ,mem_le_plap 
+6085 98467c00 isub temp ,null 
+6086 2022fec5 branch enable_user ,zero 
+6087 20600000 rtn 
+
+genernate_master_macaddress:
+6088 d8c0098e arg mem_le_prand ,contr 
+6089 20406e28 call load_data128 
+608a efe08011 ifetch 1 ,rega 
+608b 20406e29 call load_regext 
+608c 18006c38 force 0x38 ,aes_ctrl 
+608d 18006c00 force 0x0 ,aes_ctrl 
+608e 20406dbf call wait_aes 
+608f d8a0099e arg mem_le_aes_128 ,contw 
+6090 20206e3c branch store_aes_result 
+
+find_ediv_form_list_compare:
+6091 e8408011 ifetcht 1 ,rega 
+6092 98467c00 isub temp ,null 
+6093 24628000 nrtn zero 
+6094 18c22200 copy contr ,rega 
+6095 18c0a608 add contr ,8 ,regc 
+6096 da4043a4 arg mem_le_rand ,regb 
+6097 df200008 arg 8 ,loopcnt 
+6098 20407e66 call string_compare 
+6099 2022fec5 branch enable_user ,zero 
+609a 1a622200 copy regc ,rega 
+609b da4043ac arg mem_le_irk ,regb 
+609c df200008 arg 8 ,loopcnt 
+609d 20407e66 call string_compare 
+609e 2022fec5 branch enable_user ,zero 
+609f 20600000 rtn 
+
+check_nvram:
+60a0 6fe14489 fetch 2 ,mem_nv_data_ptr 
+60a1 e840803f ifetcht 1 ,pdata 
+60a2 1fe0fe22 pincrease nv_data_len 
+60a3 efe0803f ifetch 1 ,pdata 
+60a4 98467c00 isub temp ,null 
+60a5 20600000 rtn 
+
+init_device_list:
+60a6 6fe0c48b fetch 1 ,mem_nv_data_number 
+60a7 1fe27200 icopy loopcnt 
+60a8 68494489 fetcht 2 ,mem_nv_data_ptr 
+60a9 58000000 setarg 0 
+
+init_device_list_loop:
+60aa e7e08002 istore 1 ,temp 
+60ab 18408422 increase nv_data_len ,temp 
+60ac 1fe0fe01 pincrease 1 
+60ad c20060aa loop init_device_list_loop 
+60ae 20600000 rtn 
+
+load_device_list:
+60af 4716c025 bpatchx patch25_5 ,mem_patch25 
+60b0 20407ec9 call enable_user2 
+60b1 2040602f call nvram_find_addr_from_bd_list 
+60b2 6fe08030 fetch 1 ,mem_state 
+60b3 79347e06 setflag user ,state_combkey ,pdata 
+60b4 67e08030 store 1 ,mem_state 
+60b5 243460ba nbranch clear_key_exists ,user 
+60b6 1a208c0a add rega ,10 ,contr 
+60b7 d8a041cb arg mem_link_key ,contw 
+60b8 20407d7f call memcpy16 
+60b9 202060d0 branch check_link_key_load 
+
+clear_key_exists:
+60ba 7041ca00 jam 0 ,mem_link_key_exists 
+60bb 20600000 rtn 
+
+load_device_list_mode_4:
+60bc 20407ec9 call enable_user2 
+60bd 2040602f call nvram_find_addr_from_bd_list 
+60be 243460c7 nbranch clear_ltk_exists ,user 
+60bf 6fe100ee fetch 2 ,mem_list_item_ptr 
+60c0 1fe08c01 add pdata ,1 ,contr 
+60c1 d8a043ac arg mem_le_irk ,contw 
+60c2 20407d7f call memcpy16 
+60c3 d8a04316 arg mem_le_ltk ,contw 
+60c4 20407d7f call memcpy16 
+60c5 70432601 jam 1 ,mem_ltk_exists 
+60c6 20600000 rtn 
+
+clear_ltk_exists:
+60c7 70432600 jam 0 ,mem_ltk_exists 
+60c8 20600000 rtn 
+
+eeprom_store_le_reconn_info:
+60c9 7000e734 jam rec_4_mode ,mem_record_bt_mode 
+60ca 202060cc branch eeprom_store_reconn_info 
+
+eeprom_store_bd_reconn_info:
+60cb 7000e733 jam rec_3_mode ,mem_record_bt_mode 
+
+eeprom_store_reconn_info:
+60cc 6fe0c09a fetch 1 ,mem_device_option 
+60cd c0055ffb beq dvc_op_module ,check_51cmd_update_device_record 
+60ce c00445c6 beq dvc_op_mouse ,mouse_store_remote_bdaddr 
+60cf 20600000 rtn 
+
+check_link_key_load:
+60d0 6fe441cb fetch 8 ,mem_link_key 
+60d1 684c41d3 fetcht 8 ,mem_link_key + 8 
+60d2 9841fe00 ior temp ,pdata 
+60d3 207a0000 rtn blank 
+60d4 7041ca01 jam 1 ,mem_link_key_exists 
+60d5 20600000 rtn 
+
+gpio_set_wake_by_current_state:
+60d6 47174025 bpatchx patch25_6 ,mem_patch25 
+60d7 79200407 set1 gpio_active_bit ,temp 
+60d8 204060fd call gpio_get_bit 
+60d9 7d208407 nsetflag true ,gpio_active_bit ,temp 
+
+gpio_set_wake:
+60da 4717c025 bpatchx patch25_7 ,mem_patch25 
+60db 18467cff sub temp ,ui_button_gpio_disable ,null 
+60dc 20628000 rtn zero 
+60dd 284c0007 isolate0 gpio_active_bit ,temp 
+60de 18410e1f and temp ,0x1f ,queue 
+60df 6fe2009e fetch 4 ,mem_gpio_wakeup_low 
+60e0 f920fe00 qsetflag true ,pdata 
+60e1 67e2009e store 4 ,mem_gpio_wakeup_low 
+60e2 6fe200a2 fetch 4 ,mem_gpio_wakeup_high 
+60e3 fd20fe00 nqsetflag true ,pdata 
+60e4 67e200a2 store 4 ,mem_gpio_wakeup_high 
+60e5 20600000 rtn 
+
+gpio_clr_wake:
+60e6 47184026 bpatchx patch26_0 ,mem_patch26 
+60e7 18467cff sub temp ,ui_button_gpio_disable ,null 
+60e8 20628000 rtn zero 
+60e9 284c0007 isolate0 gpio_active_bit ,temp 
+60ea 18410e1f and temp ,0x1f ,queue 
+60eb 6fe2009e fetch 4 ,mem_gpio_wakeup_low 
+60ec f93ffe00 qset0 pdata 
+60ed 67e2009e store 4 ,mem_gpio_wakeup_low 
+60ee 6fe200a2 fetch 4 ,mem_gpio_wakeup_high 
+60ef f93ffe00 qset0 pdata 
+60f0 67e200a2 store 4 ,mem_gpio_wakeup_high 
+60f1 20600000 rtn 
+
+gpio_config_input_nowake:
+60f2 204060e6 call gpio_clr_wake 
+60f3 202060f7 branch gpio_config_input_without_wake 
+
+gpio_config_input:
+60f4 18467cff sub temp ,ui_button_gpio_disable ,null 
+60f5 20628000 rtn zero 
+60f6 2455e0da ncall gpio_set_wake ,wake 
+
+gpio_config_input_without_wake:
+60f7 20406124 call gpio_addr 
+60f8 58000000 setarg 0 
+60f9 284ffe07 isolate1 gpio_active_bit ,temp 
+60fa 7d20fe06 nsetflag true ,6 ,pdata 
+60fb 7920fe07 setflag true ,7 ,pdata 
+60fc 2020611f branch gpio_write 
+
+gpio_get_bit:
+60fd d8a0811c arg core_gpio_in ,contw 
+60fe 18410e07 and temp ,0x07 ,queue 
+60ff 18497e00 rshift3 temp ,pdata 
+6100 1fe17e03 and_into 3 ,pdata 
+6101 98a08a00 iadd contw ,contw 
+6102 efe08005 ifetch 1 ,contw 
+6103 284ffe07 isolate1 gpio_active_bit ,temp 
+6104 2020e107 branch gpio_get_bit_reverse ,true 
+6105 afec0000 qisolate0 pdata 
+6106 20600000 rtn 
+
+gpio_get_bit_reverse:
+6107 afefffff qisolate1 pdata 
+6108 20600000 rtn 
+
+gpio_out_inactive:
+6109 18467cff sub temp ,ui_button_gpio_disable ,null 
+610a 20628000 rtn zero 
+610b 2fcffe07 isolate1 gpio_active_bit ,null 
+610c 20206110 branch gpio_out_flag 
+
+gpio_config_output:
+
+gpio_out_active:
+610d 18467cff sub temp ,ui_button_gpio_disable ,null 
+610e 20628000 rtn zero 
+610f 2fcc0007 isolate0 gpio_active_bit ,null 
+
+gpio_out_flag:
+6110 58000000 setarg 0 
+6111 7d20fe07 nsetflag true ,gpio_active_bit ,pdata 
+6112 98428400 ixor temp ,temp 
+
+gpio_out:
+6113 20406124 call gpio_addr 
+6114 5800003f setarg gpcfg_output_high 
+6115 284ffe07 isolate1 gpio_active_bit ,temp 
+6116 7920fe00 setflag true ,0 ,pdata 
+6117 2020611f branch gpio_write 
+
+gpio_check_active:
+6118 20406124 call gpio_addr 
+6119 efe08005 ifetch 1 ,contw 
+611a c280611d bbit1 0 ,gpio_check_active_high 
+611b 284c0007 isolate0 gpio_active_bit ,temp 
+611c 20600000 rtn 
+
+gpio_check_active_high:
+611d 284ffe07 isolate1 gpio_active_bit ,temp 
+611e 20600000 rtn 
+
+gpio_write:
+611f e7e08005 istore 1 ,contw 
+6120 20600000 rtn 
+
+gpio_set_high_impedance:
+6121 20406124 call gpio_addr 
+6122 58000000 setarg gpcfg_high_impedance 
+6123 2020611f branch gpio_write 
+
+gpio_addr:
+6124 18417e3f and temp ,0x3f ,pdata 
+6125 d8a08070 arg core_gpio_conf ,contw 
+6126 98a08a00 iadd contw ,contw 
+6127 20600000 rtn 
+
+gpio_config_param:
+6128 1fe104ff and pdata ,0xff ,temp 
+6129 1fecfe00 rshift8 pdata ,pdata 
+612a 2020612c branch gpio_config_function_int 
+
+gpio_config_function:
+612b c4038000 rtnbit0 gpio_active_bit 
+
+gpio_config_function_int:
+612c 1fe17e3f and_into 0x3f ,pdata 
+612d d8a08070 arg core_gpio_conf ,contw 
+612e 98a08a00 iadd contw ,contw 
+612f e0408005 istoret 1 ,contw 
+6130 20600000 rtn 
+
+gpio_get_config:
+6131 1841043f and_into 0x3f ,temp 
+6132 58008070 setarg core_gpio_conf 
+6133 98408c00 iadd temp ,contr 
+6134 efe08006 ifetch 1 ,contr 
+6135 20600000 rtn 
+
+gpio_set_before_lpm:
+6136 df200014 arg 20 ,loopcnt 
+6137 d8c08070 arg core_gpio_conf ,contr 
+
+setgpio_loop:
+6138 18c20a00 copy contr ,contw 
+6139 efe08006 ifetch 1 ,contr 
+613a c001614a beq gpcfg_qspi_ncs ,setgpio_pullup 
+613b c001e14a beq gpcfg_qspi_sck ,setgpio_pullup 
+613c c002614a beq gpcfg_qspi_io0 ,setgpio_pullup 
+613d c002e14a beq gpcfg_qspi_io1 ,setgpio_pullup 
+613e c003614a beq gpcfg_qspi_io2 ,setgpio_pullup 
+613f c003e14a beq gpcfg_qspi_io3 ,setgpio_pullup 
+6140 c00fe14a beq gpcfg_spid_miso ,setgpio_pullup 
+6141 c010614a beq gpcfg_spid_ncs ,setgpio_pullup 
+6142 c010e14a beq gpcfg_spid_sck ,setgpio_pullup 
+6143 c011614a beq gpcfg_spid_mosi ,setgpio_pullup 
+6144 c011e14a beq gpcfg_spid_sdio ,setgpio_pullup 
+6145 c016614a beq gpcfg_iic_scl ,setgpio_pullup 
+6146 c016e14a beq gpcfg_iic_sda ,setgpio_pullup 
+6147 c000614a beq gpcfg_input ,setgpio_pullup 
+
+setgpio_loop_end:
+6148 c2006138 loop setgpio_loop 
+6149 20600000 rtn 
+
+setgpio_pullup:
+614a 58000040 setarg gpcfg_pullup 
+614b e7e08005 istore 1 ,contw 
+614c 20206148 branch setgpio_loop_end 
+
+setgpio_pulldown:
+614d 58000080 setarg gpcfg_pulldown 
+614e e7e08005 istore 1 ,contw 
+614f 20206148 branch setgpio_loop_end 
+
+adc_init_data:
+6150 4718c026 bpatchx patch26_1 ,mem_patch26 
+
+adc_init_cal_data:
+6151 6fe40a34 fetch 8 ,mem_tmp_buffer + efuse_offset_adc 
+6152 203a615d branch adc_init_cal_data_default ,blank 
+6153 d8c00a34 arg mem_tmp_buffer + efuse_offset_adc ,contr 
+6154 d8a04492 arg mem_3v_adc_io_data ,contw 
+6155 df200003 arg 3 ,loopcnt 
+
+adc_init_cal_data_loop:
+6156 efe18006 ifetch 3 ,contr 
+6157 1ff20400 lshift4 pdata ,temp 
+6158 e0410005 istoret 2 ,contw 
+6159 1fec8400 rshift8 pdata ,temp 
+615a e0410005 istoret 2 ,contw 
+615b c2006156 loop adc_init_cal_data_loop 
+615c 20600000 rtn 
+
+adc_init_cal_data_default:
+615d 5800469a setarg 0x469a 
+615e 67e14492 store 2 ,mem_3v_adc_io_data 
+615f 5800ab77 setarg 0xab77 
+6160 67e14498 store 2 ,mem_1v_adc_io_data 
+6161 580073d0 setarg 0x73d0 
+6162 67e1449c store 2 ,mem_3v_adc_vinlpm_data 
+6163 58009658 setarg 0x9658 
+6164 67e14496 store 2 ,mem_2v_adc_vinlpm_data 
+6165 20600000 rtn 
+
+enable_adc:
+6166 47194026 bpatchx patch26_2 ,mem_patch26 
+6167 6a508a12 fetchr regb ,1 ,core_rf_ldo_cfg6 
+6168 708a123d jam 0x3d ,core_rf_ldo_cfg6 
+6169 708a11aa jam 0xaa ,core_rf_ldo_cfg5 
+616a 708a0a0c jam 0x0c ,core_rf_ldo_en0 
+616b 6ff08a09 fetch 1 ,core_clkpll_cfg6 
+616c 79207e07 set1 7 ,pdata 
+616d 67f08a09 store 1 ,core_clkpll_cfg6 
+616e 708a0b04 jam 0x04 ,core_rf_ldo_en1 
+616f 2000003c nop 60 
+6170 708a1600 jam 0 ,core_syn_en 
+6171 708a1706 jam 6 ,core_rx_en0 
+6172 20406182 call read_adc_mode 
+6173 67f08a97 store 1 ,core_gpadc_ctrl 
+6174 7080dc03 jam 0x03 ,core_sum_ctrl 
+6175 2000003c nop 60 
+6176 6ff08053 fetch 1 ,core_sum_en 
+6177 79207e07 set1 7 ,pdata 
+6178 67f08053 store 1 ,core_sum_en 
+6179 200003e8 nop 1000 
+617a 6ff10150 fetch 2 ,core_adc_sum 
+617b 67e144a4 store 2 ,mem_adc_current_value 
+617c 6ff08053 fetch 1 ,core_sum_en 
+617d 793ffe07 set0 7 ,pdata 
+617e 67f08053 store 1 ,core_sum_en 
+617f 708a9700 jam 0 ,core_gpadc_ctrl 
+6180 62508a12 storer regb ,1 ,core_rf_ldo_cfg6 
+6181 20600000 rtn 
+
+read_adc_mode:
+6182 6fe0c4a2 fetch 1 ,mem_adc_config_flag 
+6183 c0006189 beq adc_config_vinlpm ,adc_mode_vdcdc 
+6184 c000e18b beq adc_config_hvin ,adc_adc_mode_vbat 
+
+adc_check_gpio:
+6185 6fe0c4a3 fetch 1 ,mem_adc_channel 
+6186 1fe9fe00 lshift3 pdata ,pdata 
+6187 1fe1fe07 or pdata ,7 ,pdata 
+6188 20600000 rtn 
+
+adc_mode_vdcdc:
+6189 58000057 setarg 0x57 
+618a 20600000 rtn 
+
+adc_adc_mode_vbat:
+618b 5800004f setarg 0x4f 
+618c 20600000 rtn 
+
+vdd_calculate_by_mode:
+618d 4719c026 bpatchx patch26_3 ,mem_patch26 
+618e 6fe0c4a2 fetch 1 ,mem_adc_config_flag 
+618f c0006193 beq adc_config_vinlpm ,vdd_calculate_vinlpm 
+6190 c000e199 beq adc_config_hvin ,vdd_calculate_hvin 
+6191 c001619f beq adc_config_gpio ,vdd_calculate_io 
+6192 20600000 rtn 
+
+vdd_calculate_vinlpm:
+6193 58000064 setarg 100 
+6194 67e144a0 store 2 ,mem_reference_voltage 
+6195 6849449c fetcht 2 ,mem_3v_adc_vinlpm_data 
+6196 6fe14496 fetch 2 ,mem_2v_adc_vinlpm_data 
+6197 da60012c arg 300 ,regc 
+6198 202061a4 branch vdd_calculate 
+
+vdd_calculate_hvin:
+6199 58000064 setarg 100 
+619a 67e144a0 store 2 ,mem_reference_voltage 
+619b 6849449a fetcht 2 ,mem_3v_adc_hvin_data 
+619c 6fe14494 fetch 2 ,mem_2v_adc_hvin_data 
+619d da60012c arg 300 ,regc 
+619e 202061a4 branch vdd_calculate 
+
+vdd_calculate_io:
+619f 580000c8 setarg 200 
+61a0 67e144a0 store 2 ,mem_reference_voltage 
+61a1 68494492 fetcht 2 ,mem_3v_adc_io_data 
+61a2 6fe14498 fetch 2 ,mem_1v_adc_io_data 
+61a3 da60012c arg 300 ,regc 
+
+vdd_calculate:
+61a4 98462200 isub temp ,rega 
+61a5 6fe144a4 fetch 2 ,mem_adc_current_value 
+61a6 98467e00 isub temp ,pdata 
+61a7 242161b1 nbranch vdd_calculate1 ,positive 
+61a8 684944a0 fetcht 2 ,mem_reference_voltage 
+61a9 984fa400 imul32 temp ,regb 
+61aa 1a627e00 copy regc ,pdata 
+61ab 9a2ffe00 imul32 rega ,pdata 
+61ac 9a467e00 isub regb ,pdata 
+
+vdd_calculate2:
+61ad 9a26fc00 idiv rega 
+61ae 20407e64 call wait_div_end 
+61af 1807fe00 quotient pdata 
+61b0 20600000 rtn 
+
+vdd_calculate1:
+61b1 18427e00 copy temp ,pdata 
+61b2 684944a4 fetcht 2 ,mem_adc_current_value 
+61b3 98467e00 isub temp ,pdata 
+61b4 684944a0 fetcht 2 ,mem_reference_voltage 
+61b5 984fa400 imul32 temp ,regb 
+61b6 1a627e00 copy regc ,pdata 
+61b7 9a2ffe00 imul32 rega ,pdata 
+61b8 9a40fe00 iadd regb ,pdata 
+61b9 202061ad branch vdd_calculate2 
+
+adc_bat_percent_lowpower_out:
+61ba efe40011 ifetch 8 ,rega 
+61bb 67e4095c store 8 ,mem_pdatatemp 
+61bc 6fe1095c fetch 2 ,mem_pdatatemp 
+61bd 6849095e fetcht 2 ,mem_pdatatemp + 2 
+61be 98462200 isub temp ,rega 
+61bf 6fe10962 fetch 2 ,mem_pdatatemp + 6 
+61c0 98462400 isub temp ,regb 
+61c1 68490960 fetcht 2 ,mem_pdatatemp + 4 
+61c2 98467c00 isub temp ,null 
+61c3 244161ca ncall adc_set_low_power_flag ,positive 
+61c4 1a4ffe64 mul32 regb ,100 ,pdata 
+61c5 9a26fc00 idiv rega 
+61c6 20407e64 call wait_div_end 
+61c7 1807fe00 quotient pdata 
+61c8 205a61d2 call adc_set_no_power_flag ,blank 
+61c9 20600000 rtn 
+
+adc_set_low_power_flag:
+61ca 6fe0c4a6 fetch 1 ,mem_adc_power_flag 
+61cb 79207e00 set1 0 ,pdata 
+61cc 67e0c4a6 store 1 ,mem_adc_power_flag 
+61cd 20600000 rtn 
+
+adc_clear_low_power_flag:
+61ce 6fe0c4a6 fetch 1 ,mem_adc_power_flag 
+61cf 793ffe00 set0 0 ,pdata 
+61d0 67e0c4a6 store 1 ,mem_adc_power_flag 
+61d1 20600000 rtn 
+
+adc_set_no_power_flag:
+61d2 6848c4a6 fetcht 1 ,mem_adc_power_flag 
+61d3 79200401 set1 1 ,temp 
+61d4 6048c4a6 storet 1 ,mem_adc_power_flag 
+61d5 20600000 rtn 
+
+adc_clear_no_power_flag:
+61d6 6848c4a6 fetcht 1 ,mem_adc_power_flag 
+61d7 793f8401 set0 1 ,temp 
+61d8 6048c4a6 storet 1 ,mem_adc_power_flag 
+61d9 20600000 rtn 
+
+keyscan_key_init:
+61da 6fe144c8 fetch 2 ,mem_key_num_ptr 
+61db efe0803f ifetch 1 ,pdata 
+
+keyscan_key_init_next:
+61dc 207a0000 rtn blank 
+61dd 1fe27200 copy pdata ,loopcnt 
+61de 6fe144c8 fetch 2 ,mem_keyscan_ptr 
+61df 1fe0fe03 increase 3 ,pdata 
+61e0 1fe22200 copy pdata ,rega 
+
+keyscan_key_init_lp1:
+61e1 e8408011 ifetcht 1 ,rega 
+61e2 204060f4 call gpio_config_input 
+61e3 1a20a201 increase key_conf_struct_len ,rega 
+61e4 c20061e1 loop keyscan_key_init_lp1 
+
+keyscan_key_init_end:
+61e5 20600000 rtn 
+
+keyscan_scan_key:
+61e6 6fe144c8 fetch 2 ,mem_keyscan_ptr 
+61e7 1fe0fe03 increase 3 ,pdata 
+61e8 1fe22200 copy pdata ,rega 
+61e9 18002400 force 0 ,regb 
+61ea 58000000 setarg 0 
+61eb 67e109de store 2 ,mem_key_value_temp 
+
+keyscan_scan_key_lp1:
+61ec e8408011 ifetcht 1 ,rega 
+61ed 204060fd call gpio_get_bit 
+61ee 471a4026 bpatchx patch26_4 ,mem_patch26 
+61ef 6fe109de fetch 2 ,mem_key_value_temp 
+61f0 1a420e00 copy regb ,queue 
+61f1 f920fe00 qsetflag true ,pdata 
+61f2 67e109de store 2 ,mem_key_value_temp 
+61f3 1a20a201 increase key_conf_struct_len ,rega 
+61f4 1a40a401 increase 1 ,regb 
+61f5 6fe144c8 fetch 2 ,mem_key_num_ptr 
+61f6 efe0803f ifetch 1 ,pdata 
+
+keyscan_scan_key_lp1_next:
+61f7 9a42fc00 ixor regb ,null 
+61f8 2422e1ec nbranch keyscan_scan_key_lp1 ,zero 
+61f9 6fe109de fetch 2 ,mem_key_value_temp 
+61fa 684944ca fetcht 2 ,mem_key_value_retention 
+61fb 9842fc00 ixor temp ,null 
+61fc 20628000 rtn zero 
+61fd 78347c00 enable user 
+61fe 20600000 rtn 
+
+keyscan_process_lpm_before:
+61ff 6fe144c8 fetch 2 ,mem_key_num_ptr 
+6200 efe0803f ifetch 1 ,pdata 
+
+keyscan_process_lpm_before_next:
+6201 207a0000 rtn blank 
+6202 1fe27200 copy pdata ,loopcnt 
+6203 6fe144c8 fetch 2 ,mem_keyscan_ptr 
+6204 1fe0fe03 increase 3 ,pdata 
+6205 1fe22200 copy pdata ,rega 
+
+keyscan_process_lpm_before_lp1:
+6206 e8408011 ifetcht 1 ,rega 
+6207 204060d6 call gpio_set_wake_by_current_state 
+6208 1a20a201 increase key_conf_struct_len ,rega 
+6209 c2006206 loop keyscan_process_lpm_before_lp1 
+
+keyscan_process_lpm_before_end:
+620a 20600000 rtn 
+
+keyscan_key_process:
+620b d8e00009 arg key_scan_timer ,queue 
+620c 20407de9 call timer_check 
+620d 247a0000 nrtn blank 
+620e 58000020 setarg 0x20 
+620f d8e00009 arg key_scan_timer ,queue 
+6210 20407ddb call timer_init 
+6211 78547c00 disable user 
+6212 204061ff call keyscan_process_lpm_before 
+6213 471ac026 bpatchx patch26_5 ,mem_patch26 
+6214 6fe144c8 fetch 2 ,mem_key_num_ptr 
+6215 efe0803f ifetch 1 ,pdata 
+
+keyscan_key_process_next:
+6216 207a0000 rtn blank 
+6217 204061e6 call keyscan_scan_key 
+6218 24347855 nbranch lpm_button_clean_wake_lock ,user 
+6219 20407853 call lpm_button_get_wake_lock 
+621a 78547c00 disable user 
+621b 6fe109de fetch 2 ,mem_key_value_temp 
+621c 67e109e5 store 2 ,mem_key_value_temp4 
+621d 7009e700 jam 0 ,mem_key_value_temp6 
+621e 18000e00 force 0 ,queue 
+
+keyscan_key_lp1:
+621f 6fe144ca fetch 2 ,mem_key_value_retention 
+6220 1fe30400 rshift pdata ,temp 
+6221 604944ca storet 2 ,mem_key_value_retention 
+6222 1fe17e01 and pdata ,0x01 ,pdata 
+6223 684909e5 fetcht 2 ,mem_key_value_temp4 
+6224 18412201 and temp ,0x01 ,rega 
+6225 18430400 rshift temp ,temp 
+6226 604909e5 storet 2 ,mem_key_value_temp4 
+6227 9a22fc00 ixor rega ,null 
+6228 2442e234 ncall keyscan_send_key_data ,zero 
+6229 6fe144c8 fetch 2 ,mem_key_num_ptr 
+622a efe0803f ifetch 1 ,pdata 
+
+keyscan_key_lp1_next:
+622b 684889e7 fetcht 1 ,mem_key_value_temp6 
+622c 18408401 increase 1 ,temp 
+622d 604889e7 storet 1 ,mem_key_value_temp6 
+622e 18420e00 copy temp ,queue 
+622f 98e2fc00 ixor queue ,null 
+6230 2422e21f nbranch keyscan_key_lp1 ,zero 
+6231 6fe109de fetch 2 ,mem_key_value_temp 
+6232 67e144ca store 2 ,mem_key_value_retention 
+6233 20600000 rtn 
+
+keyscan_send_key_data:
+6234 471b4026 bpatchx patch26_6 ,mem_patch26 
+6235 6fe144c8 fetch 2 ,mem_keyscan_ptr 
+6236 1fe0fe01 increase 1 ,pdata 
+6237 efe1003f ifetch 2 ,pdata 
+6238 20207e7a branch callback_func 
+
+pwm_init:
+6239 6ff08042 fetch 1 ,core_clksel 
+623a 9a21fe00 ior rega ,pdata 
+623b 67f08042 store 1 ,core_clksel 
+623c 6ff10050 fetch 2 ,core_clkoff 
+623d 793ffe0d set0 clock_off_pwm ,pdata 
+623e 67f10050 store 2 ,core_clkoff 
+
+delay_nop100:
+623f 20000064 nop 100 
+6240 20600000 rtn 
+
+pwm_clk_set:
+6241 6ff08042 fetch 1 ,core_clksel 
+6242 c2836246 bbit1 6 ,pwm_24m_clk_set 
+6243 c283e248 bbit1 7 ,pwm_33k_clk_set 
+
+pwm_12m_clk_set:
+6244 58b71b00 setarg pwm_12mhz 
+6245 20600000 rtn 
+
+pwm_24m_clk_set:
+6246 596e3600 setarg pwm_24mhz 
+6247 20600000 rtn 
+
+pwm_33k_clk_set:
+6248 580080e8 setarg pwm_33khz 
+6249 20600000 rtn 
+
+pwm_cont_set:
+624a 6fe0895d fetch 1 ,mem_pdatatemp + 1 
+624b c282624e bbit1 4 ,pwm_cont_set1 
+624c c3026255 bbit0 4 ,pwm_cont_set0 
+624d 20600000 rtn 
+
+pwm_cont_set1:
+624e 78347c00 enable user 
+624f 1fe10e0f and pdata ,0x0f ,queue 
+6250 2040625c call pwm_set_value 
+6251 1807a400 quotient regb 
+6252 18427e00 copy temp ,pdata 
+6253 9a462200 isub regb ,rega 
+6254 20600000 rtn 
+
+pwm_cont_set0:
+6255 78547c00 disable user 
+6256 1fe10e0f and pdata ,0x0f ,queue 
+6257 2040625c call pwm_set_value 
+6258 1807a200 quotient rega 
+6259 18427e00 copy temp ,pdata 
+625a 9a262400 isub rega ,regb 
+625b 20600000 rtn 
+
+pwm_set_value:
+625c 6ff080d8 fetch 1 ,core_pwm_init 
+625d f9347e00 qsetflag user ,pdata 
+625e 67f080d8 store 1 ,core_pwm_init 
+625f 20600000 rtn 
+
+pwm_out_set:
+6260 6849895e fetcht 3 ,mem_pdatatemp + 2 
+6261 20406241 call pwm_clk_set 
+6262 9846fc00 idiv temp 
+6263 20407e64 call wait_div_end 
+6264 18078400 quotient temp 
+6265 6fe08961 fetch 1 ,mem_pdatatemp + 5 
+6266 984ffe00 imul32 temp ,pdata 
+6267 1fe6fc64 div pdata ,100 
+6268 20407e64 call wait_div_end 
+6269 2040624a call pwm_cont_set 
+626a 6fe0895d fetch 1 ,mem_pdatatemp + 1 
+626b 20406272 call pwm_duty_cycle_set 
+626c 6fe0895c fetch 1 ,mem_pdatatemp 
+626d 6848895d fetcht 1 ,mem_pdatatemp + 1 
+626e 1841040f and_into 0x0f ,temp 
+626f 184d0400 lshift8 temp ,temp 
+6270 9841fe00 ior temp ,pdata 
+6271 2020627b branch pwm_enable 
+
+pwm_duty_cycle_set:
+6272 1fe17e0f and_into 0x0f ,pdata 
+6273 d8a080a0 arg core_pwm_pcnt0 ,contw 
+6274 1feffe04 mul32 pdata ,4 ,pdata 
+6275 98a08a00 iadd contw ,contw 
+6276 1a227e00 copy rega ,pdata 
+6277 e7e10005 istore 2 ,contw 
+6278 1a427e00 copy regb ,pdata 
+6279 e7e10005 istore 2 ,contw 
+627a 20600000 rtn 
+
+pwm_enable:
+627b 78347c00 enable user 
+627c 20406290 call pwm_srst_set 
+627d 20206280 branch pwm_gpio_set 
+
+pwm_disable:
+627e 78547c00 disable user 
+627f 2040628b call pwm_select_channel 
+
+pwm_gpio_set:
+6280 18427e00 copy temp ,pdata 
+6281 1fed7e00 lshift8 pdata ,pdata 
+6282 18e08410 add queue ,gpcfg_pwm_out0 ,temp 
+6283 9841fe00 ior temp ,pdata 
+6284 20406128 call gpio_config_param 
+
+pwm_set_select:
+6285 6ff08084 fetch 1 ,core_pwm_en 
+6286 70808400 jam 0x00 ,core_pwm_en 
+6287 200004b0 nop 1200 
+6288 f9347e00 qsetflag user ,pdata 
+6289 67f08084 store 1 ,core_pwm_en 
+628a 20600000 rtn 
+
+pwm_select_channel:
+628b 1fe20400 copy pdata ,temp 
+628c 1fecfe00 rshift8 pdata ,pdata 
+628d 1fe20e00 copy pdata ,queue 
+628e 20600000 rtn 
+
+pwm_srst_powerdown:
+628f 78547c00 disable user 
+
+pwm_srst_set:
+6290 2040628b call pwm_select_channel 
+6291 6ff080dd fetch 1 ,core_pwm_srst 
+6292 fd347e00 nqsetflag user ,pdata 
+6293 67f080dd store 1 ,core_pwm_srst 
+6294 20206280 branch pwm_gpio_set 
+
+wdt_init_config:
+6295 d8402710 arg 0x2710 ,temp 
+6296 984ffe00 imul32 temp ,pdata 
+6297 d841312d arg 0x1312d ,temp 
+6298 9846fc00 idiv temp 
+6299 20407e64 call wait_div_end 
+629a 18078400 quotient temp 
+629b 58000800 setarg 2048 
+629c 98467e00 isub temp ,pdata 
+629d 1fe20400 copy pdata ,temp 
+629e 1841040f and_into 0x0f ,temp 
+629f 6058800b storet 1 ,core_write_wdt2 
+62a0 1fe20400 copy pdata ,temp 
+62a1 18518400 rshift4 temp ,temp 
+62a2 60588004 storet 1 ,core_write_wdt 
+62a3 20600000 rtn 
+
+wdt_set_enable:
+62a4 78367c00 enable user2 
+62a5 202062a7 branch wdt_init_set 
+
+wdt_set_disable:
+62a6 78567c00 disable user2 
+
+wdt_init_set:
+62a7 6ff08043 fetch 1 ,core_config 
+62a8 79367e03 setflag user2 ,3 ,pdata 
+62a9 67f08043 store 1 ,core_config 
+62aa 20600000 rtn 
+
+nec61212_init:
+62ab d8400031 arg fun_nec_enable | fun_nec_clk_divide_24 ,temp 
+
+nec_init_config:
+62ac 67f200ca store 4 ,core_nec_start_addr 
+62ad 67f100ce store 2 ,core_nec_rptr 
+62ae 605880d0 storet 1 ,core_nec_control 
+62af 20600000 rtn 
+
+nec_check_rxbuff_size:
+62b0 6ff10130 fetch 2 ,core_nec_rxitem 
+62b1 20600000 rtn 
+
+nec_prepare_read:
+62b2 687100ce fetchr contu ,2 ,core_nec_rptr 
+62b3 695100ca fetchr contus ,2 ,core_nec_start_addr 
+62b4 6a1100cc fetchr contue ,2 ,core_nec_end_addr 
+62b5 20600000 rtn 
+
+nec_read_done:
+62b6 607100ce storer contu ,2 ,core_nec_rptr 
+62b7 20600000 rtn 
+
+nec_parse_nec61212:
+62b8 20407ec5 call enable_user 
+62b9 dd600000 arg 0 ,rege 
+62ba 204062b0 call nec_check_rxbuff_size 
+62bb c00162fa beq 2 ,nec_parse_nec61212_check_timeout 
+62bc 1fe67c04 sub pdata ,4 ,null 
+62bd 20610000 rtn positive 
+62be 204062b2 call nec_prepare_read 
+62bf e8410003 ifetcht 2 ,contu 
+62c0 5800a654 setarg nec61212_data2repeat_time 
+62c1 20406303 call nec_check_pulse_range_legal_default_deviation 
+62c2 242162e8 nbranch nec_parse_nec61212_check_repeat_data ,positive 
+62c3 1b020400 copy regd ,temp 
+62c4 58017f8e setarg nec61212_repeat2repeat_time 
+62c5 20406303 call nec_check_pulse_range_legal_default_deviation 
+62c6 242162e8 nbranch nec_parse_nec61212_check_repeat_data ,positive 
+62c7 1b020400 copy regd ,temp 
+62c8 58002328 setarg nec61212_boot_code_start_time 
+62c9 20406303 call nec_check_pulse_range_legal_default_deviation 
+62ca 202162df branch nec_parse_nec61212_error_data ,positive 
+62cb e8410003 ifetcht 2 ,contu 
+62cc 58001194 setarg nec61212_boot_code_end_time 
+62cd 20406303 call nec_check_pulse_range_legal_default_deviation 
+62ce 202162df branch nec_parse_nec61212_error_data ,positive 
+62cf 204062b0 call nec_check_rxbuff_size 
+62d0 1fe67c85 sub pdata ,133 ,null 
+62d1 20610000 rtn positive 
+62d2 df200020 arg 32 ,loopcnt 
+
+nec_parse_nec61212_data:
+62d3 e8410003 ifetcht 2 ,contu 
+62d4 58000230 setarg nec61212_data_bit_1_start_time 
+62d5 20406303 call nec_check_pulse_range_legal_default_deviation 
+62d6 202162df branch nec_parse_nec61212_error_data ,positive 
+62d7 e8410003 ifetcht 2 ,contu 
+62d8 5800069a setarg nec61212_data_bit_1_end_time 
+62d9 20406303 call nec_check_pulse_range_legal_default_deviation 
+62da 242162e4 nbranch nec_parse_nec61212_add_bit1 ,positive 
+62db 1b020400 copy regd ,temp 
+62dc 58000230 setarg nec61212_data_bit_0_end_time 
+62dd 20406303 call nec_check_pulse_range_legal_default_deviation 
+62de 242162e5 nbranch nec_parse_nec61212_add_bit0 ,positive 
+
+nec_parse_nec61212_error_data:
+62df 1b020400 copy regd ,temp 
+62e0 5800ffff setarg nec61212_timeout_time 
+62e1 98467c00 isub temp ,null 
+62e2 2022e2ff branch nec_parse_nec61212_check_timeout_cb ,zero 
+62e3 202062b6 branch nec_read_done 
+
+nec_parse_nec61212_add_bit1:
+62e4 79205620 set1 32 ,rege 
+
+nec_parse_nec61212_add_bit0:
+62e5 1d635600 rshift rege ,rege 
+62e6 c20062d3 loop nec_parse_nec61212_data 
+62e7 202062f3 branch nec_parse_nec61212_check_stop_bit 
+
+nec_parse_nec61212_check_repeat_data:
+62e8 204062b0 call nec_check_rxbuff_size 
+62e9 1fe67c07 sub pdata ,7 ,null 
+62ea 20610000 rtn positive 
+62eb e8410003 ifetcht 2 ,contu 
+62ec 58002328 setarg nec61212_repeat_start_time 
+62ed 20406303 call nec_check_pulse_range_legal_default_deviation 
+62ee 202162df branch nec_parse_nec61212_error_data ,positive 
+62ef e8410003 ifetcht 2 ,contu 
+62f0 580008ca setarg nec61212_repeat_end_time 
+62f1 20406303 call nec_check_pulse_range_legal_default_deviation 
+62f2 202162df branch nec_parse_nec61212_error_data ,positive 
+
+nec_parse_nec61212_check_stop_bit:
+62f3 e8410003 ifetcht 2 ,contu 
+62f4 58000230 setarg nec61212_stop_time 
+62f5 20406303 call nec_check_pulse_range_legal_default_deviation 
+62f6 202162df branch nec_parse_nec61212_error_data ,positive 
+62f7 204062b6 call nec_read_done 
+62f8 1a627e00 copy regc ,pdata 
+62f9 20207e7a branch callback_func 
+
+nec_parse_nec61212_check_timeout:
+62fa 204062b2 call nec_prepare_read 
+62fb e8410003 ifetcht 2 ,contu 
+62fc 5800ffff setarg nec61212_timeout_time 
+62fd 98467c00 isub temp ,null 
+62fe 24628000 nrtn zero 
+
+nec_parse_nec61212_check_timeout_cb:
+62ff 204062b6 call nec_read_done 
+6300 20407ec7 call disable_user 
+6301 1a627e00 copy regc ,pdata 
+6302 20207e7a branch callback_func 
+
+nec_check_pulse_range_legal_default_deviation:
+6303 6a40c4d6 fetchr regb ,1 ,mem_nec_decode_error_value 
+
+nec_check_pulse_range_legal:
+6304 18423000 copy temp ,regd 
+6305 9a4fa400 imul32 regb ,regb 
+6306 18438400 lshift temp ,temp 
+6307 98462200 isub temp ,rega 
+6308 2441630c ncall nec_check_pulse_range_legal_data_negative ,positive 
+6309 1a2ffe64 mul32 rega ,100 ,pdata 
+630a 9a467c00 isub regb ,null 
+630b 20600000 rtn 
+
+nec_check_pulse_range_legal_data_negative:
+630c 1a262200 sub rega ,0 ,rega 
+630d 20600000 rtn 
+
+select_system_clk_24m:
+630e 7041f018 jam system_clk_24m ,mem_system_clk 
+630f 70804201 jam clksel_dpll_24m ,core_clksel 
+6310 58001d4b setarg 7499 
+6311 67f10040 store 2 ,core_halfslot 
+
+calc_new_param:
+6312 df20000b arg 11 ,loopcnt 
+6313 da200155 arg mem_param_tx_setup ,rega 
+
+calc_new_param_loop:
+6314 efe10011 ifetch 2 ,rega 
+6315 1fe3fe00 lshift pdata ,pdata 
+6316 e7e10011 istore 2 ,rega 
+6317 1a20a202 increase 2 ,rega 
+6318 c2006314 loop calc_new_param_loop 
+6319 20600000 rtn 
+
+calc_new_le_time:
+631a 1b63b600 lshift stop_watch ,stop_watch 
+631b 20600000 rtn 
+
+select_system_clk_12m_xtal:
+631c 70804204 jam clksel_xtal ,core_clksel 
+
+select_system_clk_12m_common:
+631d 7041f00c jam system_clk_12m ,mem_system_clk 
+631e 58000ea5 setarg 3749 
+631f 67f10040 store 2 ,core_halfslot 
+6320 20600000 rtn 
+
+select_system_clk_12m_dpll:
+6321 70804205 jam clksel_dpll ,core_clksel 
+6322 2020631d branch select_system_clk_12m_common 
+
+rfcomm_init:
+6323 20758000 rtn wake 
+6324 70465500 jam 0 ,mem_rfcomm_send_more_pkt 
+6325 7003c003 jam bits9600 ,memremoterpnbitrate 
+6326 7003c103 jam databits8 ,memremoteprndatabits 
+6327 7003c511 jam 0x11 ,memremoteprnxon 
+6328 7003c613 jam 0x13 ,memremoteprnxoff 
+6329 58000000 setarg 0 
+632a 67e183c2 store 3 ,memremoteprnstopbit 
+632b 67e0c4e7 store 1 ,mem_spp_state 
+632c 70478e00 jam 0 ,memui_reconnect_mode 
+
+rfcomm_init_spp:
+632d 58000000 setarg 0 
+632e 67e0c4e7 store 1 ,mem_spp_state 
+632f 67e0c652 store 1 ,mem_remote_spp_channel 
+6330 67e0c64b store 1 ,mem_pn_dlci 
+6331 6fe0c659 fetch 1 ,mem_rfcomm_credit_flag 
+6332 c000e335 beq credit_enable ,rfcomm_init_spp_with_credit 
+6333 70465750 jam 0x50 ,mem_credit_given 
+6334 20600000 rtn 
+
+rfcomm_init_spp_with_credit:
+6335 70465700 jam 0x00 ,mem_credit_given 
+6336 20600000 rtn 
+
+set_cr_bit:
+6337 18418402 or_into 0x02 ,temp 
+6338 20600000 rtn 
+
+rfcomm_calculate_fcs_sabm:
+6339 18427e00 copy temp ,pdata 
+633a 1fedfe00 reverse pdata ,pdata 
+633b 67e0c650 store 1 ,memfcstemp3 
+633c 18007e3f force ini_tx_sabm ,pdata 
+633d 1fedfe00 reverse pdata ,pdata 
+633e 67e0c64f store 1 ,memfcstemp2 
+633f 18007e01 force 0x01 ,pdata 
+6340 1fedfe00 reverse pdata ,pdata 
+6341 67e0c64e store 1 ,memfcstemp1 
+6342 2040636f call caculate_fcs 
+6343 18427e00 copy temp ,pdata 
+6344 20600000 rtn 
+
+rfcomm_calculate_fcs_ua:
+6345 1fedfe00 reverse pdata ,pdata 
+6346 67e0c650 store 1 ,memfcstemp3 
+6347 18007e73 force rsp_tx_ua ,pdata 
+6348 1fedfe00 reverse pdata ,pdata 
+6349 67e0c64f store 1 ,memfcstemp2 
+634a 18007e01 force 0x01 ,pdata 
+634b 1fedfe00 reverse pdata ,pdata 
+634c 67e0c64e store 1 ,memfcstemp1 
+634d 2020636f branch caculate_fcs 
+
+rfcomm_calculate_fcs_dlci0:
+634e 6fe0c651 fetch 1 ,mem_rfcomm_initiator 
+634f 203a6352 branch rfcomm_calculate_fcs_dlci0_res ,blank 
+6350 58000070 setarg 0x70 
+6351 20600000 rtn 
+
+rfcomm_calculate_fcs_dlci0_res:
+6352 580000aa setarg 0xaa 
+6353 20600000 rtn 
+
+rfcomm_save_fcs_uih:
+6354 1fedfe00 reverse pdata ,pdata 
+6355 67e0c650 store 1 ,memfcstemp3 
+6356 18007eef force rsp_rx_uih ,pdata 
+6357 20406363 call caculate_uihdata_fcs 
+6358 684903ca fetcht 2 ,mem_contw_temp 
+6359 18420a00 copy temp ,contw 
+635a e7e08005 istore 1 ,contw 
+635b 18a20400 copy contw ,temp 
+635c 604903ca storet 2 ,mem_contw_temp 
+635d 18007eff force rsp_rx_uih_wdata ,pdata 
+635e 20406363 call caculate_uihdata_fcs 
+635f 684903ca fetcht 2 ,mem_contw_temp 
+6360 18420a00 copy temp ,contw 
+6361 e7e08005 istore 1 ,contw 
+6362 20600000 rtn 
+
+caculate_uihdata_fcs:
+6363 1fedfe00 reverse pdata ,pdata 
+6364 67e0c64f store 1 ,memfcstemp2 
+6365 6fe1464f fetch 2 ,memfcstemp2 
+6366 1fed7e00 lshift8 pdata ,pdata 
+6367 67e183c7 store 3 ,mem_mod2div_temp 
+6368 da200107 arg 0x107 ,rega 
+6369 da40000f arg 0xf ,regb 
+636a 2040637c call mod2div 
+636b 1fe2fed7 xor_into 0xd7 ,pdata 
+636c 1fe47e00 invert pdata ,pdata 
+636d 1fedfe00 reverse pdata ,pdata 
+636e 20600000 rtn 
+
+caculate_fcs:
+636f 6fe1c64e fetch 3 ,memfcstemp1 
+6370 67e183c7 store 3 ,mem_mod2div_temp 
+6371 da200107 arg 0x107 ,rega 
+6372 da40000f arg 0xf ,regb 
+6373 2040637c call mod2div 
+6374 1fed7e00 lshift8 pdata ,pdata 
+6375 da400007 arg 0x7 ,regb 
+6376 2040637c call mod2div 
+6377 1fe2fe2b xor_into 0x2b ,pdata 
+6378 1fe47e00 invert pdata ,pdata 
+6379 1fedfe00 reverse pdata ,pdata 
+637a 1fe20400 copy pdata ,temp 
+637b 20600000 rtn 
+
+mod2div:
+637c da600000 arg 0 ,regc 
+637d 1a427200 copy regb ,loopcnt 
+637e 20407d30 call right_shift_n 
+637f 1fe20400 icopy temp 
+
+mod2div_loop:
+6380 18427e00 copy temp ,pdata 
+6381 1a63a600 lshift regc ,regc 
+6382 c3046385 bbit0 8 ,mod2div_not_enough_reduction 
+6383 9a228400 ixor rega ,temp 
+6384 1a60a601 increase 1 ,regc 
+
+mod2div_not_enough_reduction:
+6385 18438400 lshift temp ,temp 
+6386 6fe183c7 fetch 3 ,mem_mod2div_temp 
+6387 1a40a5ff increase -1 ,regb 
+6388 2a41feff compare 0xff ,regb ,0xff 
+6389 2020e38f branch mod2div_end ,true 
+638a 1a427200 copy regb ,loopcnt 
+638b 20407d30 call right_shift_n 
+638c 2feffe00 isolate1 0 ,pdata 
+638d 79208400 setflag true ,0 ,temp 
+638e 20206380 branch mod2div_loop 
+
+mod2div_end:
+638f 18437e00 rshift temp ,pdata 
+6390 20600000 rtn 
+
+get_rfcomm_snd_adss:
+6391 6848c64b fetcht 1 ,mem_pn_dlci 
+
+dlci_to_address_cmd:
+6392 184b8400 lshift2 temp ,temp 
+6393 79200400 set1 rfcomm_address_ext_len ,temp 
+6394 6fe0c651 fetch 1 ,mem_rfcomm_initiator 
+6395 245a6337 ncall set_cr_bit ,blank 
+6396 604883e0 storet 1 ,mem_rfcomm_send_adss 
+6397 20600000 rtn 
+
+channel_to_dlci:
+6398 18438400 lshift temp ,temp 
+6399 6fe0c651 fetch 1 ,mem_rfcomm_initiator 
+639a 793a0400 setflag blank ,0 ,temp 
+639b 20600000 rtn 
+
+rfcomm_rx_process_dlci0_sabm:
+639c 684883cf fetcht 1 ,mem_current_channel 
+639d 7003d1d7 jam 0xd7 ,mem_current_fcs 
+639e 204064d5 call rfcomm_send_ua 
+639f 6fe0c4e4 fetch 1 ,mem_rfcomm_state 
+63a0 79207e06 set1 l2cap_channel_rfcomm_only_sabm ,pdata 
+63a1 79207e07 set1 l2cap_channel_rfcomm_only_ua ,pdata 
+63a2 67e0c4e4 store 1 ,mem_rfcomm_state 
+63a3 70465100 jam 0 ,mem_rfcomm_initiator 
+63a4 202064b6 branch rfcomm_rx_process_end 
+
+rfcomm_rx_process_dlci0_ua:
+63a5 6fe0c4e4 fetch 1 ,mem_rfcomm_state 
+63a6 79207e07 set1 l2cap_channel_rfcomm_only_ua ,pdata 
+63a7 67e0c4e4 store 1 ,mem_rfcomm_state 
+63a8 202064b6 branch rfcomm_rx_process_end 
+
+rfcomm_rx_process:
+63a9 471bc026 bpatchx patch26_7 ,mem_patch26 
+63aa 6fe0c78e fetch 1 ,memui_reconnect_mode 
+63ab c00063ad beq no_reconnection ,rfcomm_rx_process_remote_page 
+63ac 2020646b branch rfcomm_rx_process_reconn 
+
+rfcomm_rx_process_remote_page:
+63ad 6fe10315 fetch 2 ,mem_l2cap_payload_ptr 
+63ae 1fe20c00 copy pdata ,contr 
+63af 204063d7 call get_rfcomm_head_struct 
+63b0 6fe083cf fetch 1 ,mem_current_channel 
+63b1 c00063b3 beq 0 ,parse_dlci0_rp 
+63b2 20206437 branch parse_uih_rp 
+
+parse_dlci0_rp:
+63b3 471c4027 bpatchx patch27_0 ,mem_patch27 
+63b4 6fe083d0 fetch 1 ,mem_current_frame_type 
+63b5 c01fe39c beq rfcomm_frame_type_sabm ,rfcomm_rx_process_dlci0_sabm 
+63b6 c039e3a5 beq rfcomm_frame_type_ua ,rfcomm_rx_process_dlci0_ua 
+63b7 c077e3ba beq rfcomm_frame_type_uih ,parse_dlci0_rp_uih 
+63b8 c029e463 beq rfcomm_frame_type_disconn ,parse_uih_rp_spp_disconn_send_event 
+63b9 20600000 rtn 
+
+parse_dlci0_rp_uih:
+63ba 6fe103d4 fetch 2 ,mem_rfcomm_uih_payload_ptr 
+63bb 1fe20c00 copy pdata ,contr 
+63bc 204063e2 call get_rfcomm_uih_head_struct 
+63bd 6fe083d6 fetch 1 ,mem_uih_cmd_type 
+63be c020e3c4 beq uih_param_neg_cmd ,parse_dlci0_rp_uih_pn_cmd 
+63bf c02063cc beq uih_param_neg_res ,parse_dlci0_rp_uih_pn_res 
+63c0 c038e405 beq uih_modem_status_cmd ,parse_dlci0_rp_uih_ms_cmd 
+63c1 c0386411 beq uih_modem_status_res ,parse_dlci0_rp_uih_ms_res 
+63c2 c024e41c beq uih_param_cmd_remove_port ,parse_dlci0_rp_uih_cmd_port 
+63c3 202064b6 branch rfcomm_rx_process_end 
+
+parse_dlci0_rp_uih_pn_cmd:
+63c4 204063ce call parse_dlci0_rp_uih_pn_res_common 
+63c5 202063c6 branch parse_dlci0_rp_uih_pn_cmd_spp 
+
+parse_dlci0_rp_uih_pn_cmd_spp:
+63c6 6fe0c4e7 fetch 1 ,mem_spp_state 
+63c7 79207e00 set1 rfcomm_channel_state_pn_cmd ,pdata 
+63c8 79207e01 set1 rfcomm_channel_state_pn_res ,pdata 
+63c9 67e0c4e7 store 1 ,mem_spp_state 
+63ca 204064ff call rfcomm_send_param_neg_res 
+63cb 202064b6 branch rfcomm_rx_process_end 
+
+parse_dlci0_rp_uih_pn_res:
+63cc 204063ce call parse_dlci0_rp_uih_pn_res_common 
+63cd 202064b6 branch rfcomm_rx_process_end 
+
+parse_dlci0_rp_uih_pn_res_common:
+63ce 204063ea call get_param_payload_ptr 
+63cf 202063f6 branch get_rfcomm_prarmer_negotiation 
+
+get_rfcomm_param_modem_status:
+63d0 204063ea call get_param_payload_ptr 
+63d1 efe08006 ifetch 1 ,contr 
+63d2 1fe97e00 rshift3 pdata ,pdata 
+63d3 67e0c658 store 1 ,mem_ms_channel 
+63d4 efe08006 ifetch 1 ,contr 
+63d5 67e083db store 1 ,mem_ms_param 
+63d6 20600000 rtn 
+
+get_rfcomm_head_struct:
+63d7 efe08006 ifetch 1 ,contr 
+63d8 67e083ce store 1 ,mem_current_adss 
+63d9 1fe97e00 rshift3 pdata ,pdata 
+63da 67e083cf store 1 ,mem_current_channel 
+63db efe08006 ifetch 1 ,contr 
+63dc 67e083d0 store 1 ,mem_current_frame_type 
+
+get_rfcomm_current_length:
+63dd 204063ed call get_rfcomm_length_common 
+63de 604903d2 storet 2 ,mem_current_length 
+63df 18c27e00 copy contr ,pdata 
+63e0 67e103d4 store 2 ,mem_rfcomm_uih_payload_ptr 
+63e1 20600000 rtn 
+
+get_rfcomm_uih_head_struct:
+63e2 efe08006 ifetch 1 ,contr 
+63e3 1fe37e00 rshift pdata ,pdata 
+63e4 67e083d6 store 1 ,mem_uih_cmd_type 
+63e5 204063ed call get_rfcomm_length_common 
+63e6 604903d7 storet 2 ,mem_uih_length 
+63e7 18c27e00 copy contr ,pdata 
+63e8 67e103d9 store 2 ,mem_param_payload_ptr 
+63e9 20600000 rtn 
+
+get_param_payload_ptr:
+63ea 6fe103d9 fetch 2 ,mem_param_payload_ptr 
+63eb 1fe20c00 copy pdata ,contr 
+63ec 20600000 rtn 
+
+get_rfcomm_length_common:
+63ed efe08006 ifetch 1 ,contr 
+63ee 1fe20400 copy pdata ,temp 
+63ef 18430400 rshift temp ,temp 
+63f0 c3800000 rtnbit1 0 
+63f1 efe08006 ifetch 1 ,contr 
+63f2 1fe9fe00 lshift3 pdata ,pdata 
+63f3 1ff27e00 lshift4 pdata ,pdata 
+63f4 98408400 iadd temp ,temp 
+63f5 20600000 rtn 
+
+get_rfcomm_prarmer_negotiation:
+63f6 efe08006 ifetch 1 ,contr 
+63f7 67e0c64b store 1 ,mem_pn_dlci 
+63f8 efe08006 ifetch 1 ,contr 
+63f9 67e083dc store 1 ,mem_pn_credit_flow_type_info 
+63fa efe08006 ifetch 1 ,contr 
+63fb 67e083dd store 1 ,mem_pn_priority 
+63fc efe08006 ifetch 1 ,contr 
+63fd 67e083de store 1 ,mem_pn_acknowledg_timer 
+63fe efe10006 ifetch 2 ,contr 
+63ff 67e1464c store 2 ,mem_pn_max_frame_size 
+6400 efe08006 ifetch 1 ,contr 
+6401 67e083df store 1 ,mem_pn_max_retrans 
+6402 efe08006 ifetch 1 ,contr 
+6403 67e0c656 store 1 ,mem_remote_credits 
+6404 20600000 rtn 
+
+parse_dlci0_rp_uih_ms_cmd:
+6405 204063d0 call get_rfcomm_param_modem_status 
+6406 20206407 branch parse_dlci0_rp_uih_ms_cmd_spp 
+
+parse_dlci0_rp_uih_ms_cmd_spp:
+6407 6fe0c4e7 fetch 1 ,mem_spp_state 
+6408 79207e05 set1 rfcomm_channel_state_rcv_ms_cmd ,pdata 
+6409 79207e06 set1 rfcomm_channel_state_snd_ms_res ,pdata 
+640a 67e0c4e7 store 1 ,mem_spp_state 
+640b 6848c64b fetcht 1 ,mem_pn_dlci 
+640c 184b8400 lshift2 temp ,temp 
+640d 18418403 or_into 3 ,temp 
+640e 20406530 call rfcomm_send_modem_status_res 
+640f 70465503 jam more_pkt_msc_cmd_spp ,mem_rfcomm_send_more_pkt 
+6410 202064b6 branch rfcomm_rx_process_end 
+
+parse_dlci0_rp_uih_ms_res:
+6411 70095b08 jam bt_evt_spp_connected ,mem_fifo_temp 
+6412 204078dc call ui_ipc_send_event 
+6413 204063d0 call get_rfcomm_param_modem_status 
+6414 6fe0c658 fetch 1 ,mem_ms_channel 
+6415 1fe67c01 sub pdata ,1 ,null 
+6416 2022e418 branch parse_dlci0_rp_uih_ms_res_spp ,zero 
+6417 2020137c branch assert 
+
+parse_dlci0_rp_uih_ms_res_spp:
+6418 6fe0c4e7 fetch 1 ,mem_spp_state 
+6419 79207e07 set1 rfcomm_channel_state_rcv_ms_res ,pdata 
+641a 67e0c4e7 store 1 ,mem_spp_state 
+641b 202064b6 branch rfcomm_rx_process_end 
+
+parse_dlci0_rp_uih_cmd_port:
+641c 204063ea call get_param_payload_ptr 
+641d efe08006 ifetch 1 ,contr 
+641e 67e0898e store 1 ,mem_rpn_dlci 
+641f 20405383 call l2cap_malloc_rfcomm_channel 
+6420 20405391 call l2cap_get_rfcomm_tx_buff 
+6421 5800000e setarg 0x000e 
+6422 e7e10005 istore 2 ,contw 
+6423 6fe144dd fetch 2 ,mem_rfcomm_remote_cid 
+6424 e7e10005 istore 2 ,contw 
+6425 6fe0c651 fetch 1 ,mem_rfcomm_initiator 
+6426 1fe3fe00 lshift pdata ,pdata 
+6427 79207e00 set1 0 ,pdata 
+6428 e7e08005 istore 1 ,contw 
+6429 471cc027 bpatchx patch27_1 ,mem_patch27 
+642a 580015ef setarg 0x15ef 
+642b e7e10005 istore 2 ,contw 
+642c 58001191 setarg 0x1191 
+642d e7e10005 istore 2 ,contw 
+642e 6fe0898e fetch 1 ,mem_rpn_dlci 
+642f e7e08005 istore 1 ,contw 
+6430 58000007 setarg 0x000007 
+6431 e7e28005 istore 5 ,contw 
+6432 58000001 setarg 0x01 
+6433 e7e10005 istore 2 ,contw 
+6434 2040634e call rfcomm_calculate_fcs_dlci0 
+6435 e7e08005 istore 1 ,contw 
+6436 20600000 rtn 
+
+parse_uih_rp:
+6437 20206438 branch parse_uih_rp_spp 
+
+parse_uih_rp_spp:
+6438 471d4027 bpatchx patch27_2 ,mem_patch27 
+6439 6fe083d0 fetch 1 ,mem_current_frame_type 
+643a c039e440 beq rfcomm_frame_type_ua ,parse_uih_rp_spp_ua 
+643b c01fe444 beq rfcomm_frame_type_sabm ,parse_uih_rp_spp_sabm 
+643c c077e45e beq rfcomm_frame_type_uih ,parse_uih_spp_uih 
+643d c07fe456 beq rfcomm_frame_type_uih_credits ,parse_uih_spp_uih_credits 
+643e c029e465 beq rfcomm_frame_type_disconn ,parse_uih_rp_spp_disconn 
+643f 20600000 rtn 
+
+parse_uih_rp_spp_ua:
+6440 6fe0c4e7 fetch 1 ,mem_spp_state 
+6441 79207e03 set1 rfcomm_channel_state_ua ,pdata 
+6442 67e0c4e7 store 1 ,mem_spp_state 
+6443 202064b6 branch rfcomm_rx_process_end 
+
+parse_uih_rp_spp_sabm:
+6444 6fe0c4e7 fetch 1 ,mem_spp_state 
+6445 79207e03 set1 rfcomm_channel_state_ua ,pdata 
+6446 79207e02 set1 rfcomm_channel_state_sabm ,pdata 
+6447 67e0c4e7 store 1 ,mem_spp_state 
+6448 6fe083ce fetch 1 ,mem_current_adss 
+6449 20406345 call rfcomm_calculate_fcs_ua 
+644a 67e083d1 store 1 ,mem_current_fcs 
+644b 204064d5 call rfcomm_send_ua 
+644c 6fe083ce fetch 1 ,mem_current_adss 
+644d 1feb7e00 rshift2 pdata ,pdata 
+644e 67e0c64b store 1 ,mem_pn_dlci 
+644f 1febfe00 lshift2 pdata ,pdata 
+6450 793ffe01 set0 rfcomm_address_cr ,pdata 
+6451 79207e00 set1 rfcomm_address_ext_len ,pdata 
+6452 d8404653 arg mem_hiufcs_spp ,temp 
+6453 604903ca storet 2 ,mem_contw_temp 
+6454 20406354 call rfcomm_save_fcs_uih 
+6455 202064b6 branch rfcomm_rx_process_end 
+
+parse_uih_spp_uih_credits:
+6456 6fe103d4 fetch 2 ,mem_rfcomm_uih_payload_ptr 
+6457 1fe20c00 copy pdata ,contr 
+6458 1fe0fe01 increase 1 ,pdata 
+6459 67e103d4 store 2 ,mem_rfcomm_uih_payload_ptr 
+645a efe08006 ifetch 1 ,contr 
+645b 6848c656 fetcht 1 ,mem_remote_credits 
+645c 9840fe00 iadd temp ,pdata 
+645d 67e0c656 store 1 ,mem_remote_credits 
+
+parse_uih_spp_uih:
+645e 20406561 call rfcomm_increase_credit_given 
+
+parse_uih_spp_uih_cont:
+645f 20406391 call get_rfcomm_snd_adss 
+6460 20406547 call rfcomm_send_uih_without_payload 
+6461 2040656a call spp_process_rx_data 
+6462 202064b6 branch rfcomm_rx_process_end 
+
+parse_uih_rp_spp_disconn_send_event:
+6463 70095b09 jam bt_evt_spp_disconnected ,mem_fifo_temp 
+6464 204078dc call ui_ipc_send_event 
+
+parse_uih_rp_spp_disconn:
+6465 2040632d call rfcomm_init_spp 
+6466 6fe083ce fetch 1 ,mem_current_adss 
+6467 20406345 call rfcomm_calculate_fcs_ua 
+6468 67e083d1 store 1 ,mem_current_fcs 
+6469 204064d5 call rfcomm_send_ua 
+646a 202064b6 branch rfcomm_rx_process_end 
+
+rfcomm_rx_process_reconn:
+646b 6fe10315 fetch 2 ,mem_l2cap_payload_ptr 
+646c 1fe20c00 copy pdata ,contr 
+646d 204063d7 call get_rfcomm_head_struct 
+646e 6fe083cf fetch 1 ,mem_current_channel 
+646f c0006471 beq 0 ,parse_dlci0_reconn 
+6470 202064a5 branch parse_uih_reconn 
+
+parse_dlci0_reconn:
+6471 471dc027 bpatchx patch27_3 ,mem_patch27 
+6472 6fe083d0 fetch 1 ,mem_current_frame_type 
+6473 c01fe39c beq rfcomm_frame_type_sabm ,rfcomm_rx_process_dlci0_sabm 
+6474 c039e3a5 beq rfcomm_frame_type_ua ,rfcomm_rx_process_dlci0_ua 
+6475 c077e477 beq rfcomm_frame_type_uih ,parse_dlci0_reconn_uih 
+6476 202064b6 branch rfcomm_rx_process_end 
+
+parse_dlci0_reconn_uih:
+6477 6fe103d4 fetch 2 ,mem_rfcomm_uih_payload_ptr 
+6478 1fe20c00 copy pdata ,contr 
+6479 204063e2 call get_rfcomm_uih_head_struct 
+647a 6fe083d6 fetch 1 ,mem_uih_cmd_type 
+647b c020e480 beq uih_param_neg_cmd ,parse_dlci0_reconn_uih_pn_cmd 
+647c c0206480 beq uih_param_neg_res ,parse_dlci0_reconn_uih_pn_cmd 
+647d c038e48b beq uih_modem_status_cmd ,parse_dlci0_reconn_uih_ms_cmd 
+647e c038649b beq uih_modem_status_res ,parse_dlci0_reconn_uih_ms_res 
+647f 202064b6 branch rfcomm_rx_process_end 
+
+parse_dlci0_reconn_uih_pn_cmd:
+6480 204063ce call parse_dlci0_rp_uih_pn_res_common 
+6481 6fe0c64b fetch 1 ,mem_pn_dlci 
+6482 1fe37e00 rshift pdata ,pdata 
+6483 6848c652 fetcht 1 ,mem_remote_spp_channel 
+6484 98467c00 isub temp ,null 
+6485 2022e487 branch parse_dlci0_reconn_uih_pn_cmd_spp ,zero 
+6486 2020137c branch assert 
+
+parse_dlci0_reconn_uih_pn_cmd_spp:
+6487 6fe0c4e7 fetch 1 ,mem_spp_state 
+6488 79207e01 set1 rfcomm_channel_state_pn_res ,pdata 
+6489 67e0c4e7 store 1 ,mem_spp_state 
+648a 202064b6 branch rfcomm_rx_process_end 
+
+parse_dlci0_reconn_uih_ms_cmd:
+648b 204063d0 call get_rfcomm_param_modem_status 
+648c 6fe0c658 fetch 1 ,mem_ms_channel 
+648d 6848c652 fetcht 1 ,mem_remote_spp_channel 
+648e 98467c00 isub temp ,null 
+648f 2022e492 branch parse_dlci0_reconn_uih_ms_cmd_spp ,zero 
+6490 2020137c branch assert 
+6491 202064b6 branch rfcomm_rx_process_end 
+
+parse_dlci0_reconn_uih_ms_cmd_spp:
+6492 6fe0c4e7 fetch 1 ,mem_spp_state 
+6493 79207e05 set1 rfcomm_channel_state_rcv_ms_cmd ,pdata 
+6494 79207e06 set1 rfcomm_channel_state_snd_ms_res ,pdata 
+6495 67e0c4e7 store 1 ,mem_spp_state 
+6496 6848c64b fetcht 1 ,mem_pn_dlci 
+6497 184b8400 lshift2 temp ,temp 
+6498 18418403 or_into 3 ,temp 
+6499 20406530 call rfcomm_send_modem_status_res 
+649a 202064b6 branch rfcomm_rx_process_end 
+
+parse_dlci0_reconn_uih_ms_res:
+649b 204063d0 call get_rfcomm_param_modem_status 
+649c 6fe0c658 fetch 1 ,mem_ms_channel 
+649d 6848c652 fetcht 1 ,mem_remote_spp_channel 
+649e 98467c00 isub temp ,null 
+649f 2022e4a1 branch parse_dlci0_reconn_uih_ms_res_spp ,zero 
+64a0 2020137c branch assert 
+
+parse_dlci0_reconn_uih_ms_res_spp:
+64a1 6fe0c4e7 fetch 1 ,mem_spp_state 
+64a2 79207e07 set1 rfcomm_channel_state_rcv_ms_res ,pdata 
+64a3 67e0c4e7 store 1 ,mem_spp_state 
+64a4 202064b6 branch rfcomm_rx_process_end 
+
+parse_uih_reconn:
+64a5 6fe083cf fetch 1 ,mem_current_channel 
+64a6 6848c652 fetcht 1 ,mem_remote_spp_channel 
+64a7 98467c00 isub temp ,null 
+64a8 2022e4ab branch parse_uih_reconn_spp ,zero 
+64a9 2020137c branch assert 
+64aa 202064b6 branch rfcomm_rx_process_end 
+
+parse_uih_reconn_spp:
+64ab 6fe083d0 fetch 1 ,mem_current_frame_type 
+64ac c039e4b0 beq rfcomm_frame_type_ua ,parse_uih_reconn_spp_ua 
+64ad c077e45e beq rfcomm_frame_type_uih ,parse_uih_spp_uih 
+64ae c07fe456 beq rfcomm_frame_type_uih_credits ,parse_uih_spp_uih_credits 
+64af c029e4b5 beq rfcomm_frame_type_disconn ,parse_uih_reconn_spp_disconn 
+
+parse_uih_reconn_spp_ua:
+64b0 6fe0c4e7 fetch 1 ,mem_spp_state 
+64b1 79207e03 set1 rfcomm_channel_state_ua ,pdata 
+64b2 67e0c4e7 store 1 ,mem_spp_state 
+64b3 202064b6 branch rfcomm_rx_process_end 
+
+parse_uih_reconn_spp_sabm:
+64b4 202064b4 branch parse_uih_reconn_spp_sabm 
+
+parse_uih_reconn_spp_disconn:
+64b5 20206465 branch parse_uih_rp_spp_disconn 
+
+rfcomm_rx_process_end:
+64b6 20600000 rtn 
+
+rfcomm_send_more_pkt:
+64b7 6fe0c655 fetch 1 ,mem_rfcomm_send_more_pkt 
+64b8 207a0000 rtn blank 
+64b9 c001e4bb beq more_pkt_msc_cmd_spp ,rfcomm_send_more_pkt_msc_cmd_spp 
+64ba 2020137c branch assert 
+
+rfcomm_send_more_pkt_msc_cmd_spp:
+64bb 70465500 jam 0 ,mem_rfcomm_send_more_pkt 
+64bc 20405383 call l2cap_malloc_rfcomm_channel 
+64bd d8400001 arg spp_slave_channel ,temp 
+64be 6848c64b fetcht 1 ,mem_pn_dlci 
+64bf 184b8400 lshift2 temp ,temp 
+
+rfcomm_send_more_pkt_msc_cmd_spp0:
+64c0 18418403 or_into 0x03 ,temp 
+64c1 da2000aa arg 0xaa ,rega 
+64c2 2040651b call rfcomm_send_modem_status_cmd 
+64c3 20405391 call l2cap_get_rfcomm_tx_buff 
+64c4 18a20c00 copy contw ,contr 
+64c5 efe10006 ifetch 2 ,contr 
+64c6 203a137c branch assert ,blank 
+64c7 20600000 rtn 
+
+rfcomm_send_sabm:
+64c8 20405391 call l2cap_get_rfcomm_tx_buff 
+64c9 58000004 setarg 0x0004 
+64ca e7e10005 istore 2 ,contw 
+64cb 6fe144dd fetch 2 ,mem_rfcomm_remote_cid 
+64cc e7e10005 istore 2 ,contw 
+64cd 6fe083ce fetch 1 ,mem_current_adss 
+64ce e7e08005 istore 1 ,contw 
+64cf 471e4027 bpatchx patch27_4 ,mem_patch27 
+64d0 5800013f setarg 0x013f 
+64d1 e7e10005 istore 2 ,contw 
+64d2 6fe083d1 fetch 1 ,mem_current_fcs 
+64d3 e7e08005 istore 1 ,contw 
+64d4 20600000 rtn 
+
+rfcomm_send_ua:
+64d5 20405383 call l2cap_malloc_rfcomm_channel 
+64d6 20405391 call l2cap_get_rfcomm_tx_buff 
+64d7 58000004 setarg 0x0004 
+64d8 e7e10005 istore 2 ,contw 
+64d9 6fe144dd fetch 2 ,mem_rfcomm_remote_cid 
+64da e7e10005 istore 2 ,contw 
+64db 6fe083ce fetch 1 ,mem_current_adss 
+64dc e7e08005 istore 1 ,contw 
+64dd 471ec027 bpatchx patch27_5 ,mem_patch27 
+64de 58000173 setarg 0x0173 
+64df e7e10005 istore 2 ,contw 
+64e0 6fe083d1 fetch 1 ,mem_current_fcs 
+64e1 e7e08005 istore 1 ,contw 
+64e2 20600000 rtn 
+
+rfcomm_send_param_neg_cmd:
+64e3 20405391 call l2cap_get_rfcomm_tx_buff 
+64e4 5800000e setarg 0x000e 
+64e5 e7e10005 istore 2 ,contw 
+64e6 6fe144dd fetch 2 ,mem_rfcomm_remote_cid 
+64e7 e7e10005 istore 2 ,contw 
+64e8 6fe0c651 fetch 1 ,mem_rfcomm_initiator 
+64e9 1fe3fe00 lshift pdata ,pdata 
+64ea 79207e00 set1 0 ,pdata 
+64eb e7e08005 istore 1 ,contw 
+64ec 471f4027 bpatchx patch27_6 ,mem_patch27 
+64ed 580015ef setarg 0x15ef 
+64ee e7e10005 istore 2 ,contw 
+64ef 58001183 setarg 0x1183 
+64f0 e7e10005 istore 2 ,contw 
+64f1 18427e00 copy temp ,pdata 
+64f2 e7e08005 istore 1 ,contw 
+64f3 580000f0 setarg 0x0000f0 
+64f4 e7e18005 istore 3 ,contw 
+64f5 5800007f setarg rfcomm_max_frame_size 
+64f6 e7e10005 istore 2 ,contw 
+64f7 58000000 setarg 0 
+64f8 e7e08005 istore 1 ,contw 
+64f9 58000001 setarg 0x01 
+64fa e7e08005 istore 1 ,contw 
+64fb 2040634e call rfcomm_calculate_fcs_dlci0 
+64fc e7e08005 istore 1 ,contw 
+64fd 70465710 jam 0x10 ,mem_credit_given 
+64fe 20600000 rtn 
+
+rfcomm_send_param_neg_res:
+64ff 20405383 call l2cap_malloc_rfcomm_channel 
+6500 20405391 call l2cap_get_rfcomm_tx_buff 
+6501 5800000e setarg 0x000e 
+6502 e7e10005 istore 2 ,contw 
+6503 6fe144dd fetch 2 ,mem_rfcomm_remote_cid 
+6504 e7e10005 istore 2 ,contw 
+6505 6fe0c651 fetch 1 ,mem_rfcomm_initiator 
+6506 1fe3fe00 lshift pdata ,pdata 
+6507 79207e00 set1 0 ,pdata 
+6508 e7e08005 istore 1 ,contw 
+6509 471fc027 bpatchx patch27_7 ,mem_patch27 
+650a 580015ef setarg 0x15ef 
+650b e7e10005 istore 2 ,contw 
+650c 58001181 setarg 0x1181 
+650d e7e10005 istore 2 ,contw 
+650e 6fe0c64b fetch 1 ,mem_pn_dlci 
+650f e7e08005 istore 1 ,contw 
+6510 580000e0 setarg 0x0000e0 
+6511 e7e18005 istore 3 ,contw 
+6512 6fe1465a fetch 2 ,mem_rfcomm_max_frame_size 
+6513 e7e10005 istore 2 ,contw 
+6514 58000000 setarg 0x00 
+6515 e7e08005 istore 1 ,contw 
+6516 6fe0c65c fetch 1 ,mem_rfcomm_credit_init_data 
+6517 e7e08005 istore 1 ,contw 
+6518 2040634e call rfcomm_calculate_fcs_dlci0 
+6519 e7e08005 istore 1 ,contw 
+651a 20600000 rtn 
+
+rfcomm_send_modem_status_cmd:
+651b 20405391 call l2cap_get_rfcomm_tx_buff 
+651c 58000008 setarg 0x0008 
+651d e7e10005 istore 2 ,contw 
+651e 6fe144dd fetch 2 ,mem_rfcomm_remote_cid 
+651f e7e10005 istore 2 ,contw 
+6520 6fe0c651 fetch 1 ,mem_rfcomm_initiator 
+6521 1fe3fe00 lshift pdata ,pdata 
+6522 79207e00 set1 0 ,pdata 
+6523 e7e08005 istore 1 ,contw 
+6524 47204028 bpatchx patch28_0 ,mem_patch28 
+6525 580009ef setarg 0x09ef 
+6526 e7e10005 istore 2 ,contw 
+6527 580005e3 setarg 0x05e3 
+6528 e7e10005 istore 2 ,contw 
+6529 18427e00 copy temp ,pdata 
+652a e7e08005 istore 1 ,contw 
+652b 5800008d setarg 0x8d 
+652c e7e08005 istore 1 ,contw 
+652d 2040634e call rfcomm_calculate_fcs_dlci0 
+652e e7e08005 istore 1 ,contw 
+652f 20600000 rtn 
+
+rfcomm_send_modem_status_res:
+6530 20405383 call l2cap_malloc_rfcomm_channel 
+6531 20405391 call l2cap_get_rfcomm_tx_buff 
+6532 58000008 setarg 0x0008 
+6533 e7e10005 istore 2 ,contw 
+6534 6fe144dd fetch 2 ,mem_rfcomm_remote_cid 
+6535 e7e10005 istore 2 ,contw 
+6536 18421600 copy temp ,timeup 
+6537 6fe0c651 fetch 1 ,mem_rfcomm_initiator 
+6538 1fe3fe00 lshift pdata ,pdata 
+6539 79207e00 set1 0 ,pdata 
+653a e7e08005 istore 1 ,contw 
+653b 4720c028 bpatchx patch28_1 ,mem_patch28 
+653c 580009ef setarg 0x09ef 
+653d e7e10005 istore 2 ,contw 
+653e 580005e1 setarg 0x05e1 
+653f e7e10005 istore 2 ,contw 
+6540 19627e00 copy timeup ,pdata 
+6541 e7e08005 istore 1 ,contw 
+6542 5800008d setarg 0x8d 
+6543 e7e08005 istore 1 ,contw 
+6544 2040634e call rfcomm_calculate_fcs_dlci0 
+6545 e7e08005 istore 1 ,contw 
+6546 20600000 rtn 
+
+rfcomm_send_uih_without_payload:
+6547 47214028 bpatchx patch28_2 ,mem_patch28 
+6548 6fe0c657 fetch 1 ,mem_credit_given 
+6549 207a0000 rtn blank 
+654a 6ff10112 fetch 2 ,core_uart_rxitems 
+654b 247a0000 nrtn blank 
+654c 1a227e00 copy rega ,pdata 
+654d 67e0895d store 1 ,mem_pdatatemp + 1 
+654e 6048895c storet 1 ,mem_pdatatemp 
+654f 2040534f call l2cap_malloc_is_fifo_full 
+6550 247a0000 nrtn blank 
+6551 20405383 call l2cap_malloc_rfcomm_channel 
+6552 20405391 call l2cap_get_rfcomm_tx_buff 
+6553 58000005 setarg 0x05 
+6554 e7e10005 istore 2 ,contw 
+6555 6fe144dd fetch 2 ,mem_rfcomm_remote_cid 
+6556 e7e10005 istore 2 ,contw 
+6557 6fe083e0 fetch 1 ,mem_rfcomm_send_adss 
+6558 e7e08005 istore 1 ,contw 
+6559 580001ff setarg 0x01ff 
+655a e7e10005 istore 2 ,contw 
+655b 6fe0c657 fetch 1 ,mem_credit_given 
+655c e7e08005 istore 1 ,contw 
+655d 6fe0c654 fetch 1 ,mem_hiufcs_spp_wcredits 
+655e e7e08005 istore 1 ,contw 
+655f 70465700 jam 0 ,mem_credit_given 
+6560 20600000 rtn 
+
+rfcomm_increase_credit_given:
+6561 4721c028 bpatchx patch28_3 ,mem_patch28 
+6562 6fe0c659 fetch 1 ,mem_rfcomm_credit_flag 
+6563 c1008000 rtneq credit_enable 
+6564 6fe103d2 fetch 2 ,mem_current_length 
+6565 207a0000 rtn blank 
+6566 6fe0c657 fetch 1 ,mem_credit_given 
+6567 1fe0fe01 increase 1 ,pdata 
+6568 67e0c657 store 1 ,mem_credit_given 
+6569 20600000 rtn 
+
+spp_process_rx_data:
+656a 6fe1465d fetch 2 ,mem_cb_receive_spp_data 
+656b 20207e7a branch callback_func 
+
+spp_tx_rfcomm_packet:
+656c 47224028 bpatchx patch28_4 ,mem_patch28 
+656d 6fe0c656 fetch 1 ,mem_remote_credits 
+656e 207a0000 rtn blank 
+656f 1fe0ffff increase -1 ,pdata 
+6570 67e0c656 store 1 ,mem_remote_credits 
+6571 6fe1464c fetch 2 ,mem_pn_max_frame_size 
+6572 684947ac fetcht 2 ,mem_current_packet_length 
+6573 98467c00 isub temp ,null 
+6574 20216576 branch ssp_tx_rfcomm_from_uart ,positive 
+6575 67e147ac store 2 ,mem_current_packet_length 
+
+ssp_tx_rfcomm_from_uart:
+6576 6fe0c657 fetch 1 ,mem_credit_given 
+6577 203a657e branch ssp_tx_rfcomm_from_uart_without_credit ,blank 
+6578 7003e301 jam 1 ,mem_rfcomm_send_offset 
+6579 6fe0c654 fetch 1 ,mem_hiufcs_spp_wcredits 
+657a 67e083e2 store 1 ,mem_rfcomm_send_fcs 
+657b 580000ff setarg rsp_rx_uih_wdata 
+657c 67e083e1 store 1 ,mem_rfcomm_send_frame_type 
+657d 20206583 branch ssp_tx_rfcomm_from_uart_common 
+
+ssp_tx_rfcomm_from_uart_without_credit:
+657e 7003e300 jam 0 ,mem_rfcomm_send_offset 
+657f 6fe0c653 fetch 1 ,mem_hiufcs_spp 
+6580 67e083e2 store 1 ,mem_rfcomm_send_fcs 
+6581 580000ef setarg rsp_tx_uih 
+6582 67e083e1 store 1 ,mem_rfcomm_send_frame_type 
+
+ssp_tx_rfcomm_from_uart_common:
+6583 4722c028 bpatchx patch28_5 ,mem_patch28 
+6584 6fe147ac fetch 2 ,mem_current_packet_length 
+6585 1fe67c7f sub pdata ,127 ,null 
+6586 2021658a branch ssp_tx_rfcomm_from_uart_common0 ,positive 
+6587 6fe083e3 fetch 1 ,mem_rfcomm_send_offset 
+6588 1fe0fe01 increase 1 ,pdata 
+6589 67e083e3 store 1 ,mem_rfcomm_send_offset 
+
+ssp_tx_rfcomm_from_uart_common0:
+658a 20406391 call get_rfcomm_snd_adss 
+658b 6fe147ac fetch 2 ,mem_current_packet_length 
+658c 1fe0fe08 increase 8 ,pdata 
+658d 684883e3 fetcht 1 ,mem_rfcomm_send_offset 
+658e 9840a200 iadd temp ,rega 
+658f 204052fb call l2cap_malloc 
+6590 67e10328 store 2 ,mem_rfcomm_tx_buff_ptr 
+6591 1fe0fe04 increase 4 ,pdata 
+6592 67e1032a store 2 ,mem_rfcomm_tx_payload_ptr 
+6593 1fe20a00 copy pdata ,contw 
+6594 6fe083e0 fetch 1 ,mem_rfcomm_send_adss 
+6595 e7e08005 istore 1 ,contw 
+6596 6fe083e1 fetch 1 ,mem_rfcomm_send_frame_type 
+6597 e7e08005 istore 1 ,contw 
+6598 204065b4 call ssp_tx_write_length 
+6599 204065c5 call ssp_tx_write_given_credit 
+659a 47234028 bpatchx patch28_6 ,mem_patch28 
+659b 6fe1465f fetch 2 ,mem_nl_rx_data_src 
+659c 1fe20600 copy pdata ,contu 
+659d 6fe147ac fetch 2 ,mem_current_packet_length 
+659e 1fe27200 copy pdata ,loopcnt 
+659f 20405fdf call uart_copy_rx_bytes_fast 
+65a0 18a20400 copy contw ,temp 
+65a1 18627e00 copy contu ,pdata 
+65a2 67e1465f store 2 ,mem_nl_rx_data_src 
+65a3 18420a00 copy temp ,contw 
+65a4 6fe083e2 fetch 1 ,mem_rfcomm_send_fcs 
+65a5 e7e08005 istore 1 ,contw 
+65a6 6fe10328 fetch 2 ,mem_rfcomm_tx_buff_ptr 
+65a7 1fe20a00 copy pdata ,contw 
+65a8 6fe147ac fetch 2 ,mem_current_packet_length 
+65a9 684883e3 fetcht 1 ,mem_rfcomm_send_offset 
+65aa 9840fe00 iadd temp ,pdata 
+65ab 1fe0fe04 increase 4 ,pdata 
+65ac e7e10005 istore 2 ,contw 
+65ad 6fe144dd fetch 2 ,mem_rfcomm_remote_cid 
+65ae e7e10005 istore 2 ,contw 
+65af 70465700 jam 0 ,mem_credit_given 
+65b0 6fe14661 fetch 2 ,mem_nl_rx_len_all 
+65b1 c0003969 beq 0 ,module_hci_command_tx_spp_tx_complete 
+65b2 7009d100 jam hci_not_discard_packet ,mem_module_temp_nl_discard_packet 
+65b3 20600000 rtn 
+
+ssp_tx_write_length:
+65b4 4723c028 bpatchx patch28_7 ,mem_patch28 
+65b5 6fe147ac fetch 2 ,mem_current_packet_length 
+65b6 1fe67c7f sub pdata ,0x7f ,null 
+65b7 242165bc nbranch ssp_tx_write_long_packet ,positive 
+65b8 1fe3fe00 lshift pdata ,pdata 
+65b9 79207e00 set1 0 ,pdata 
+65ba e7e08005 istore 1 ,contw 
+65bb 20600000 rtn 
+
+ssp_tx_write_long_packet:
+65bc 6fe147ac fetch 2 ,mem_current_packet_length 
+65bd 1fe97e00 rshift3 pdata ,pdata 
+65be 1ff18400 rshift4 pdata ,temp 
+65bf 1fe17e7f and_into 0x7f ,pdata 
+65c0 1fe3fe00 lshift pdata ,pdata 
+65c1 793ffe00 set0 0 ,pdata 
+65c2 e7e08005 istore 1 ,contw 
+65c3 e0408005 istoret 1 ,contw 
+65c4 20600000 rtn 
+
+ssp_tx_write_given_credit:
+65c5 6fe0c657 fetch 1 ,mem_credit_given 
+65c6 207a0000 rtn blank 
+65c7 e7e08005 istore 1 ,contw 
+65c8 20600000 rtn 
+
+scheduler_process:
+65c9 47244029 bpatchx patch29_0 ,mem_patch29 
+65ca 204078f2 call check_51cmd 
+65cb 20403184 call app_process_bb_event 
+65cc 20405a9e call process_conn_sm 
+65cd 4724c029 bpatchx patch29_1 ,mem_patch29 
+65ce 204070d7 call sp_calc_sequence 
+65cf 204070b0 call simple_pairing_sequence 
+65d0 204070c1 call master_simple_paring_sequence 
+65d1 2040534f call l2cap_malloc_is_fifo_full 
+65d2 247a0000 nrtn blank 
+65d3 20404e62 call l2cap_call_proc_sigal_pending 
+65d4 2040534f call l2cap_malloc_is_fifo_full 
+65d5 247a0000 nrtn blank 
+65d6 47254029 bpatchx patch29_2 ,mem_patch29 
+65d7 20406613 call process_upper_sm 
+65d8 20405020 call l2cap_send_config_req 
+65d9 204064b7 call rfcomm_send_more_pkt 
+
+scheduler_process0:
+65da 204065dd call scheduler_tx_disconnect_hid 
+65db 4725c029 bpatchx patch29_3 ,mem_patch29 
+65dc 20203180 branch app_process_bt 
+
+scheduler_tx_disconnect_hid:
+65dd 6fe08330 fetch 1 ,mem_control_tasks 
+65de c2805143 bbit1 l2cap_disconnect_interrupt ,l2cap_disconnect_interrupt_req 
+65df c283d14d bbit1 l2cap_disconnect_control ,l2cap_disconnect_control_req 
+65e0 20600000 rtn 
+
+scheduler_tx_l2cap_pkt:
+65e1 47264029 bpatchx patch29_4 ,mem_patch29 
+65e2 20405355 call l2cap_malloc_is_fifo_empty 
+65e3 207a0000 rtn blank 
+65e4 6fe0804b fetch 1 ,mem_op 
+65e5 c3830000 rtnbit1 op_txl2cap 
+65e6 20405339 call l2cap_malloc_fifo_out 
+65e7 67e100be store 2 ,mem_txptr 
+65e8 1fe20c00 copy pdata ,contr 
+65e9 efe10006 ifetch 2 ,contr 
+65ea 1fe0fe04 increase 4 ,pdata 
+65eb 67e141e6 store 2 ,mem_tx_len 
+65ec 7041e506 jam 6 ,mem_tx_lch 
+65ed 4726c029 bpatchx patch29_5 ,mem_patch29 
+65ee 6fe144d9 fetch 2 ,mem_l2cap_tx_multi_offset 
+65ef 203a65fc branch scheduler_tx_l2cap_start_pkt ,blank 
+65f0 6fe0804b fetch 1 ,mem_op 
+65f1 c4038000 rtnbit0 op_pkt_comp 
+65f2 793ffe07 set0 op_pkt_comp ,pdata 
+65f3 67e0804b store 1 ,mem_op 
+65f4 7041e505 jam 5 ,mem_tx_lch 
+65f5 684944d9 fetcht 2 ,mem_l2cap_tx_multi_offset 
+65f6 6fe100be fetch 2 ,mem_txptr 
+65f7 9840fe00 iadd temp ,pdata 
+65f8 67e100be store 2 ,mem_txptr 
+65f9 6fe141e6 fetch 2 ,mem_tx_len 
+65fa 98467e00 isub temp ,pdata 
+65fb 67e141e6 store 2 ,mem_tx_len 
+
+scheduler_tx_l2cap_start_pkt:
+65fc 6fe141e6 fetch 2 ,mem_tx_len 
+65fd 203a137c branch assert ,blank 
+65fe d8400104 arg l2cap_max_pkt_len ,temp 
+65ff 98467e00 isub temp ,pdata 
+6600 2022e607 branch scheduler_tx_l2cap_last_pkt ,zero 
+6601 24216607 nbranch scheduler_tx_l2cap_last_pkt ,positive 
+6602 604941e6 storet 2 ,mem_tx_len 
+6603 6fe144d9 fetch 2 ,mem_l2cap_tx_multi_offset 
+6604 9840fe00 iadd temp ,pdata 
+6605 67e144d9 store 2 ,mem_l2cap_tx_multi_offset 
+6606 20206609 branch scheduler_tx_l2cap_pkt_end 
+
+scheduler_tx_l2cap_last_pkt:
+6607 58000000 setarg 0 
+6608 67e144d9 store 2 ,mem_l2cap_tx_multi_offset 
+
+scheduler_tx_l2cap_pkt_end:
+6609 6fe0804b fetch 1 ,mem_op 
+660a 79207e06 set1 op_txl2cap ,pdata 
+660b 67e0804b store 1 ,mem_op 
+660c 20600000 rtn 
+
+scheduler_start_upper_sm:
+660d 6fe0c791 fetch 1 ,mem_ui_profile_supported 
+660e c2806611 bbit1 support_hid ,scheduler_start_upper_sm_hid 
+660f 70033801 jam uppersm_reconn_sdp_conn ,mem_upper_sm_reconn 
+6610 20600000 rtn 
+
+scheduler_start_upper_sm_hid:
+6611 7003380f jam uppersm_reconn_hid_ctrl_conn ,mem_upper_sm_reconn 
+6612 20600000 rtn 
+
+process_upper_sm:
+6613 6fe0c78e fetch 1 ,memui_reconnect_mode 
+6614 243a6619 nbranch process_upper_sm_reconn ,blank 
+
+process_upper_sm_remote_page:
+6615 6fe08337 fetch 1 ,mem_upper_sm_remote_page 
+6616 207a0000 rtn blank 
+6617 70033700 jam 0 ,mem_upper_sm_remote_page 
+
+process_upper_sm_rp_wait:
+6618 20600000 rtn 
+
+process_upper_sm_reconn:
+6619 47274029 bpatchx patch29_6 ,mem_patch29 
+661a 6fe08338 fetch 1 ,mem_upper_sm_reconn 
+661b 207a0000 rtn blank 
+661c c000e639 beq uppersm_reconn_sdp_conn ,process_upper_sm_reconn_sdp_conn 
+661d c0016692 beq uppersm_reconn_sdp_conn_wait ,process_upper_sm_reconn_sdp_conn_wait 
+661e c001e63f beq uppersm_reconn_sdp_cfg ,process_upper_sm_reconn_sdp_cfg 
+661f c0026696 beq uppersm_reconn_sdp_cfg_wait ,process_upper_sm_reconn_sdp_cfg_wait 
+6620 c01de649 beq uppersm_reconn_ss_spp ,process_upper_sm_reconn_ss_spp 
+6621 c01e6699 beq uppersm_reconn_ss_spp_wait ,process_upper_sm_reconn_ss_spp_wait 
+6622 c006e64e beq uppersm_reconn_sdp_disconn ,process_upper_sm_reconn_sdp_disconn 
+6623 c007669e beq uppersm_reconn_sdp_disconn_wait ,process_upper_sm_reconn_sdp_disconn_wait 
+6624 c007e651 beq uppersm_reconn_hid_ctrl_conn ,process_upper_sm_reconn_hid_ctrl_conn 
+6625 c00866a4 beq uppersm_reconn_hid_ctrl_conn_wait ,process_upper_sm_reconn_hid_ctrl_conn_wait 
+6626 c008e657 beq uppersm_reconn_hid_ctrl_cfg ,process_upper_sm_reconn_hid_ctrl_cfg 
+6627 c00966a8 beq uppersm_reconn_hid_ctrl_cfg_wait ,process_upper_sm_reconn_hid_ctrl_cfg_wait 
+6628 c009e65d beq uppersm_reconn_hid_int_conn ,process_upper_sm_reconn_hid_int_conn 
+6629 c00a66ac beq uppersm_reconn_hid_int_conn_wait ,process_upper_sm_reconn_hid_int_conn_wait 
+662a c00ae663 beq uppersm_reconn_hid_int_cfg ,process_upper_sm_reconn_hid_int_cfg 
+662b c00b66b0 beq uppersm_reconn_hid_int_cfg_wait ,process_upper_sm_reconn_hid_int_cfg_wait 
+662c c00be669 beq uppersm_reconn_rfcomm_conn ,process_upper_sm_reconn_rfcomm_conn 
+662d c00c66b5 beq uppersm_reconn_rfcomm_conn_wait ,process_upper_sm_reconn_rfcomm_conn_wait 
+662e c00ce66f beq uppersm_reconn_rfcomm_cfg ,process_upper_sm_reconn_rfcomm_cfg 
+662f c00d66b9 beq uppersm_reconn_rfcomm_cfg_wait ,process_upper_sm_reconn_rfcomm_cfg_wait 
+6630 c00de675 beq uppersm_reconn_rfcomm_sabm ,process_upper_sm_reconn_rfcomm_sabm 
+6631 c00e66bd beq uppersm_reconn_rfcomm_sabm_wait ,process_upper_sm_reconn_rfcomm_sabm_wait 
+6632 c00ee67b beq uppersm_reconn_spp_cmd_pn ,process_upper_sm_reconn_spp_cmd_pn 
+6633 c00f66c2 beq uppersm_reconn_spp_cmd_pn_wait ,process_upper_sm_reconn_spp_cmd_pn_wait 
+6634 c00fe681 beq uppersm_reconn_spp_sabm ,process_upper_sm_reconn_spp_sabm 
+6635 c01066c6 beq uppersm_reconn_spp_sabm_wait ,process_upper_sm_reconn_spp_sabm_wait 
+6636 c010e68c beq uppersm_reconn_spp_cmd_ms ,process_upper_sm_reconn_spp_cmd_ms 
+6637 c01166ca beq uppersm_reconn_spp_cmd_ms_wait ,process_upper_sm_reconn_spp_cmd_ms_wait 
+
+process_upper_sm_reconn_wait:
+6638 20600000 rtn 
+
+process_upper_sm_reconn_sdp_conn:
+6639 204066d5 call upper_sm_send_sdp_conn 
+663a 70033802 jam uppersm_reconn_sdp_conn_wait ,mem_upper_sm_reconn 
+663b 6fe0c4e3 fetch 1 ,mem_sdp_state 
+663c 79207e00 set1 l2cap_channel_state_conn_req ,pdata 
+663d 67e0c4e3 store 1 ,mem_sdp_state 
+663e 20600000 rtn 
+
+process_upper_sm_reconn_sdp_cfg:
+663f 70033804 jam uppersm_reconn_sdp_cfg_wait ,mem_upper_sm_reconn 
+6640 6fe0c4e3 fetch 1 ,mem_sdp_state 
+6641 c3810000 rtnbit1 l2cap_channel_state_snd_cfg_req 
+6642 70033803 jam uppersm_reconn_sdp_cfg ,mem_upper_sm_reconn 
+6643 204066dc call upper_sm_send_sdp_cfg 
+6644 70033804 jam uppersm_reconn_sdp_cfg_wait ,mem_upper_sm_reconn 
+6645 6fe0c4e3 fetch 1 ,mem_sdp_state 
+6646 79207e02 set1 l2cap_channel_state_snd_cfg_req ,pdata 
+6647 67e0c4e3 store 1 ,mem_sdp_state 
+6648 20600000 rtn 
+
+process_upper_sm_reconn_ss_spp:
+6649 20405355 call l2cap_malloc_is_fifo_empty 
+664a 247a0000 nrtn blank 
+664b 204066eb call upper_sm_send_ss_spp 
+664c 7003383c jam uppersm_reconn_ss_spp_wait ,mem_upper_sm_reconn 
+664d 20600000 rtn 
+
+process_upper_sm_reconn_sdp_disconn:
+664e 204066e1 call upper_sm_send_sdp_disconn 
+664f 7003380e jam uppersm_reconn_sdp_disconn_wait ,mem_upper_sm_reconn 
+6650 20600000 rtn 
+
+process_upper_sm_reconn_hid_ctrl_conn:
+6651 204066fb call upper_sm_send_hid_ctrl_conn 
+6652 70033810 jam uppersm_reconn_hid_ctrl_conn_wait ,mem_upper_sm_reconn 
+6653 6fe0c4e5 fetch 1 ,mem_hid_control_state 
+6654 79207e00 set1 l2cap_channel_state_conn_req ,pdata 
+6655 67e0c4e5 store 1 ,mem_hid_control_state 
+6656 20600000 rtn 
+
+process_upper_sm_reconn_hid_ctrl_cfg:
+6657 20406702 call upper_sm_send_hid_ctrl_cfg 
+6658 70033812 jam uppersm_reconn_hid_ctrl_cfg_wait ,mem_upper_sm_reconn 
+6659 6fe0c4e5 fetch 1 ,mem_hid_control_state 
+665a 79207e02 set1 l2cap_channel_state_snd_cfg_req ,pdata 
+665b 67e0c4e5 store 1 ,mem_hid_control_state 
+665c 20600000 rtn 
+
+process_upper_sm_reconn_hid_int_conn:
+665d 20406707 call upper_sm_send_hid_int_conn 
+665e 70033814 jam uppersm_reconn_hid_int_conn_wait ,mem_upper_sm_reconn 
+665f 6fe0c4e6 fetch 1 ,mem_hid_interrupt_state 
+6660 79207e00 set1 l2cap_channel_state_conn_req ,pdata 
+6661 67e0c4e6 store 1 ,mem_hid_interrupt_state 
+6662 20600000 rtn 
+
+process_upper_sm_reconn_hid_int_cfg:
+6663 2040670e call upper_sm_send_hid_int_cfg 
+6664 70033816 jam uppersm_reconn_hid_int_cfg_wait ,mem_upper_sm_reconn 
+6665 6fe0c4e6 fetch 1 ,mem_hid_interrupt_state 
+6666 79207e02 set1 l2cap_channel_state_snd_cfg_req ,pdata 
+6667 67e0c4e6 store 1 ,mem_hid_interrupt_state 
+6668 20600000 rtn 
+
+process_upper_sm_reconn_rfcomm_conn:
+6669 204066ef call upper_sm_send_rfcomm_conn 
+666a 70033818 jam uppersm_reconn_rfcomm_conn_wait ,mem_upper_sm_reconn 
+666b 6fe0c4e4 fetch 1 ,mem_rfcomm_state 
+666c 79207e00 set1 l2cap_channel_state_conn_req ,pdata 
+666d 67e0c4e4 store 1 ,mem_rfcomm_state 
+666e 20600000 rtn 
+
+process_upper_sm_reconn_rfcomm_cfg:
+666f 204066f6 call upper_sm_send_rfcomm_cfg 
+6670 7003381a jam uppersm_reconn_rfcomm_cfg_wait ,mem_upper_sm_reconn 
+6671 6fe0c4e4 fetch 1 ,mem_rfcomm_state 
+6672 79207e02 set1 l2cap_channel_state_snd_cfg_req ,pdata 
+6673 67e0c4e4 store 1 ,mem_rfcomm_state 
+6674 20600000 rtn 
+
+process_upper_sm_reconn_rfcomm_sabm:
+6675 20406713 call upper_sm_send_rfcomm_sabm 
+6676 7003381c jam uppersm_reconn_rfcomm_sabm_wait ,mem_upper_sm_reconn 
+6677 6fe0c4e4 fetch 1 ,mem_rfcomm_state 
+6678 79207e06 set1 l2cap_channel_rfcomm_only_sabm ,pdata 
+6679 67e0c4e4 store 1 ,mem_rfcomm_state 
+667a 20600000 rtn 
+
+process_upper_sm_reconn_spp_cmd_pn:
+667b 2040671a call upper_sm_send_spp_cmd_pn 
+667c 6fe0c4e7 fetch 1 ,mem_spp_state 
+667d 79207e00 set1 rfcomm_channel_state_pn_cmd ,pdata 
+667e 67e0c4e7 store 1 ,mem_spp_state 
+667f 7003381e jam uppersm_reconn_spp_cmd_pn_wait ,mem_upper_sm_reconn 
+6680 20600000 rtn 
+
+process_upper_sm_reconn_spp_sabm:
+6681 20406720 call upper_sm_send_spp_sabm 
+6682 6fe0c4e7 fetch 1 ,mem_spp_state 
+6683 79207e02 set1 rfcomm_channel_state_sabm ,pdata 
+6684 67e0c4e7 store 1 ,mem_spp_state 
+6685 70033820 jam uppersm_reconn_spp_sabm_wait ,mem_upper_sm_reconn 
+6686 6fe0c652 fetch 1 ,mem_remote_spp_channel 
+6687 1fe9fe00 lshift3 pdata ,pdata 
+6688 1fe1fe03 or_into 3 ,pdata 
+6689 d8404653 arg mem_hiufcs_spp ,temp 
+668a 604903ca storet 2 ,mem_contw_temp 
+668b 20206354 branch rfcomm_save_fcs_uih 
+
+process_upper_sm_reconn_spp_cmd_ms:
+668c 2040672a call upper_sm_send_spp_cmd_ms 
+668d 6fe0c4e7 fetch 1 ,mem_spp_state 
+668e 79207e04 set1 rfcomm_channel_state_snd_ms_cmd ,pdata 
+668f 67e0c4e7 store 1 ,mem_spp_state 
+6690 70033822 jam uppersm_reconn_spp_cmd_ms_wait ,mem_upper_sm_reconn 
+6691 20600000 rtn 
+
+process_upper_sm_reconn_sdp_conn_wait:
+6692 6fe0c4e3 fetch 1 ,mem_sdp_state 
+6693 c4008000 rtnbit0 l2cap_channel_state_conn_res 
+6694 70033803 jam uppersm_reconn_sdp_cfg ,mem_upper_sm_reconn 
+6695 20206619 branch process_upper_sm_reconn 
+
+process_upper_sm_reconn_sdp_cfg_wait:
+6696 6fe0c4e3 fetch 1 ,mem_sdp_state 
+6697 c19f8000 rtnne l2cap_channel_setup_complete 
+6698 7003383b jam uppersm_reconn_ss_spp ,mem_upper_sm_reconn 
+
+process_upper_sm_reconn_ss_spp_wait:
+6699 6fe08336 fetch 1 ,mem_message_to_uppersm 
+669a c18b8000 rtnne recieve_ss_reasult_hf 
+669b 70033600 jam 0 ,mem_message_to_uppersm 
+669c 7003380d jam uppersm_reconn_sdp_disconn ,mem_upper_sm_reconn 
+669d 20206619 branch process_upper_sm_reconn 
+
+process_upper_sm_reconn_sdp_disconn_wait:
+669e 6fe0c4e3 fetch 1 ,mem_sdp_state 
+669f 247a0000 nrtn blank 
+66a0 6fe0c791 fetch 1 ,mem_ui_profile_supported 
+66a1 c28066cd bbit1 support_hid ,process_upper_sm_reconn_setup_hid 
+66a2 c28366cf bbit1 support_spp ,process_upper_sm_reconn_setup_rfcomm 
+66a3 202066d3 branch process_upper_sm_reconn_termination 
+
+process_upper_sm_reconn_hid_ctrl_conn_wait:
+66a4 6fe0c4e5 fetch 1 ,mem_hid_control_state 
+66a5 c4008000 rtnbit0 l2cap_channel_state_conn_res 
+66a6 70033811 jam uppersm_reconn_hid_ctrl_cfg ,mem_upper_sm_reconn 
+66a7 20206619 branch process_upper_sm_reconn 
+
+process_upper_sm_reconn_hid_ctrl_cfg_wait:
+66a8 6fe0c4e5 fetch 1 ,mem_hid_control_state 
+66a9 c19f8000 rtnne l2cap_channel_setup_complete 
+66aa 70033813 jam uppersm_reconn_hid_int_conn ,mem_upper_sm_reconn 
+66ab 20206619 branch process_upper_sm_reconn 
+
+process_upper_sm_reconn_hid_int_conn_wait:
+66ac 6fe0c4e6 fetch 1 ,mem_hid_interrupt_state 
+66ad c4008000 rtnbit0 l2cap_channel_state_conn_res 
+66ae 70033815 jam uppersm_reconn_hid_int_cfg ,mem_upper_sm_reconn 
+66af 20206619 branch process_upper_sm_reconn 
+
+process_upper_sm_reconn_hid_int_cfg_wait:
+66b0 6fe0c4e6 fetch 1 ,mem_hid_interrupt_state 
+66b1 c19f8000 rtnne l2cap_channel_setup_complete 
+66b2 6fe0c791 fetch 1 ,mem_ui_profile_supported 
+66b3 c28366cf bbit1 support_spp ,process_upper_sm_reconn_setup_rfcomm 
+66b4 202066d3 branch process_upper_sm_reconn_termination 
+
+process_upper_sm_reconn_rfcomm_conn_wait:
+66b5 6fe0c4e4 fetch 1 ,mem_rfcomm_state 
+66b6 c4008000 rtnbit0 l2cap_channel_state_conn_res 
+66b7 70033819 jam uppersm_reconn_rfcomm_cfg ,mem_upper_sm_reconn 
+66b8 20206619 branch process_upper_sm_reconn 
+
+process_upper_sm_reconn_rfcomm_cfg_wait:
+66b9 6fe0c4e4 fetch 1 ,mem_rfcomm_state 
+66ba c19f8000 rtnne l2cap_channel_setup_complete 
+66bb 7003381b jam uppersm_reconn_rfcomm_sabm ,mem_upper_sm_reconn 
+66bc 20206619 branch process_upper_sm_reconn 
+
+process_upper_sm_reconn_rfcomm_sabm_wait:
+66bd 6fe0c4e4 fetch 1 ,mem_rfcomm_state 
+66be c1ff8000 rtnne l2cap_channel_rfcomm_dlci0_opened 
+66bf 6fe0c791 fetch 1 ,mem_ui_profile_supported 
+66c0 c28366d1 bbit1 support_spp ,process_upper_sm_reconn_setup_spp 
+66c1 202066d3 branch process_upper_sm_reconn_termination 
+
+process_upper_sm_reconn_spp_cmd_pn_wait:
+66c2 6fe0c4e7 fetch 1 ,mem_spp_state 
+66c3 c4008000 rtnbit0 rfcomm_channel_state_pn_res 
+66c4 7003381f jam uppersm_reconn_spp_sabm ,mem_upper_sm_reconn 
+66c5 20206619 branch process_upper_sm_reconn 
+
+process_upper_sm_reconn_spp_sabm_wait:
+66c6 6fe0c4e7 fetch 1 ,mem_spp_state 
+66c7 c4018000 rtnbit0 rfcomm_channel_state_ua 
+66c8 70033821 jam uppersm_reconn_spp_cmd_ms ,mem_upper_sm_reconn 
+66c9 20206619 branch process_upper_sm_reconn 
+
+process_upper_sm_reconn_spp_cmd_ms_wait:
+66ca 6fe0c4e7 fetch 1 ,mem_spp_state 
+66cb c1ff8000 rtnne rfcomm_channel_setup_complete 
+66cc 202066d3 branch process_upper_sm_reconn_termination 
+
+process_upper_sm_reconn_setup_hid:
+66cd 7003380f jam uppersm_reconn_hid_ctrl_conn ,mem_upper_sm_reconn 
+66ce 20206619 branch process_upper_sm_reconn 
+
+process_upper_sm_reconn_setup_rfcomm:
+66cf 70033817 jam uppersm_reconn_rfcomm_conn ,mem_upper_sm_reconn 
+66d0 20206619 branch process_upper_sm_reconn 
+
+process_upper_sm_reconn_setup_spp:
+66d1 7003381d jam uppersm_reconn_spp_cmd_pn ,mem_upper_sm_reconn 
+66d2 20206619 branch process_upper_sm_reconn 
+
+process_upper_sm_reconn_termination:
+66d3 70033800 jam 0 ,mem_upper_sm_reconn 
+66d4 20600000 rtn 
+
+upper_sm_send_sdp_conn:
+66d5 4727c029 bpatchx patch29_7 ,mem_patch29 
+66d6 20405369 call l2cap_malloc_signal_channel 
+66d7 58000001 setarg psm_sdp 
+66d8 1fe20400 copy pdata ,temp 
+66d9 58000050 setarg l2cap_sdp_channel 
+66da 1fe21600 copy pdata ,timeup 
+66db 20205164 branch ml2cap_send_signal_connect_req 
+
+upper_sm_send_sdp_cfg:
+66dc 4728402a bpatchx patch2a_0 ,mem_patch2a 
+66dd 20405369 call l2cap_malloc_signal_channel 
+66de 6fe144db fetch 2 ,mem_sdp_remote_cid 
+66df 1fe20400 copy pdata ,temp 
+66e0 20205173 branch ml2cap_send_signal_config_req 
+
+upper_sm_send_sdp_disconn:
+66e1 4728c02a bpatchx patch2a_1 ,mem_patch2a 
+66e2 20405369 call l2cap_malloc_signal_channel 
+66e3 6fe144db fetch 2 ,mem_sdp_remote_cid 
+66e4 1fe20400 copy pdata ,temp 
+66e5 d9600050 arg l2cap_sdp_channel ,timeup 
+66e6 20405188 call ml2cap_send_signal_disconn_req 
+66e7 6fe0c4e3 fetch 1 ,mem_sdp_state 
+66e8 793ffe05 set0 l2cap_channel_state_rcv_cfg_res ,pdata 
+66e9 67e0c4e3 store 1 ,mem_sdp_state 
+66ea 20600000 rtn 
+
+upper_sm_send_ss_spp:
+66eb 4729402a bpatchx patch2a_2 ,mem_patch2a 
+66ec 20405376 call l2cap_malloc_sdp_channel 
+66ed 20406a56 call sdp_send_spp_request 
+66ee 202051a3 branch msdp_send_req_done 
+
+upper_sm_send_rfcomm_conn:
+66ef 4729c02a bpatchx patch2a_3 ,mem_patch2a 
+66f0 20405369 call l2cap_malloc_signal_channel 
+66f1 58000003 setarg psm_rfcomm 
+66f2 1fe20400 copy pdata ,temp 
+66f3 58000051 setarg l2cap_rfcomm_channel 
+66f4 1fe21600 copy pdata ,timeup 
+66f5 20205164 branch ml2cap_send_signal_connect_req 
+
+upper_sm_send_rfcomm_cfg:
+66f6 472a402a bpatchx patch2a_4 ,mem_patch2a 
+66f7 20405369 call l2cap_malloc_signal_channel 
+66f8 6fe144dd fetch 2 ,mem_rfcomm_remote_cid 
+66f9 1fe20400 copy pdata ,temp 
+66fa 20205173 branch ml2cap_send_signal_config_req 
+
+upper_sm_send_hid_ctrl_conn:
+66fb 472ac02a bpatchx patch2a_5 ,mem_patch2a 
+66fc 20405369 call l2cap_malloc_signal_channel 
+66fd 58000011 setarg psm_hid_control 
+66fe 1fe20400 copy pdata ,temp 
+66ff 58000052 setarg l2cap_hid_control_channel 
+6700 1fe21600 copy pdata ,timeup 
+6701 20205164 branch ml2cap_send_signal_connect_req 
+
+upper_sm_send_hid_ctrl_cfg:
+6702 472b402a bpatchx patch2a_6 ,mem_patch2a 
+6703 20405369 call l2cap_malloc_signal_channel 
+6704 6fe144df fetch 2 ,mem_hid_ctrl_remote_cid 
+6705 1fe20400 copy pdata ,temp 
+6706 20205173 branch ml2cap_send_signal_config_req 
+
+upper_sm_send_hid_int_conn:
+6707 472bc02a bpatchx patch2a_7 ,mem_patch2a 
+6708 20405369 call l2cap_malloc_signal_channel 
+6709 58000013 setarg psm_hid_interrupt 
+670a 1fe20400 copy pdata ,temp 
+670b 58000053 setarg l2cap_hid_interrupt_channel 
+670c 1fe21600 copy pdata ,timeup 
+670d 20205164 branch ml2cap_send_signal_connect_req 
+
+upper_sm_send_hid_int_cfg:
+670e 472c402b bpatchx patch2b_0 ,mem_patch2b 
+670f 20405369 call l2cap_malloc_signal_channel 
+6710 6fe144e1 fetch 2 ,mem_hid_int_remote_cid 
+6711 1fe20400 copy pdata ,temp 
+6712 20205173 branch ml2cap_send_signal_config_req 
+
+upper_sm_send_rfcomm_sabm:
+6713 472cc02b bpatchx patch2b_1 ,mem_patch2b 
+6714 20405383 call l2cap_malloc_rfcomm_channel 
+6715 7003ce03 jam 3 ,mem_current_adss 
+6716 7003d11c jam 0x1c ,mem_current_fcs 
+6717 204064c8 call rfcomm_send_sabm 
+6718 70465101 jam 1 ,mem_rfcomm_initiator 
+6719 20600000 rtn 
+
+upper_sm_send_spp_cmd_pn:
+671a 472d402b bpatchx patch2b_2 ,mem_patch2b 
+671b 20405383 call l2cap_malloc_rfcomm_channel 
+671c 6848c652 fetcht 1 ,mem_remote_spp_channel 
+671d 20406398 call channel_to_dlci 
+671e 6048c64b storet 1 ,mem_pn_dlci 
+671f 202064e3 branch rfcomm_send_param_neg_cmd 
+
+upper_sm_send_spp_sabm:
+6720 472dc02b bpatchx patch2b_3 ,mem_patch2b 
+6721 20405383 call l2cap_malloc_rfcomm_channel 
+6722 6848c64b fetcht 1 ,mem_pn_dlci 
+6723 20406392 call dlci_to_address_cmd 
+6724 20406339 call rfcomm_calculate_fcs_sabm 
+6725 67e083d1 store 1 ,mem_current_fcs 
+6726 6848c64b fetcht 1 ,mem_pn_dlci 
+6727 20406392 call dlci_to_address_cmd 
+6728 604883ce storet 1 ,mem_current_adss 
+6729 202064c8 branch rfcomm_send_sabm 
+
+upper_sm_send_spp_cmd_ms:
+672a 472e402b bpatchx patch2b_4 ,mem_patch2b 
+672b 20405383 call l2cap_malloc_rfcomm_channel 
+672c 6848c64b fetcht 1 ,mem_pn_dlci 
+672d 20406392 call dlci_to_address_cmd 
+672e 2020651b branch rfcomm_send_modem_status_cmd 
+
+sdp_process:
+672f 472ec02b bpatchx patch2b_5 ,mem_patch2b 
+6730 6fe10315 fetch 2 ,mem_l2cap_payload_ptr 
+6731 98000c00 iforce contr 
+6732 efe08006 ifetch 1 ,contr 
+6733 1fe22400 copy pdata ,regb 
+6734 67e083ee store 1 ,mem_sdp_pduid 
+6735 efe10006 ifetch 2 ,contr 
+6736 67e103ef store 2 ,mem_sdp_transactionid 
+6737 efe08006 ifetch 1 ,contr 
+6738 1fed1600 lshift8 pdata ,timeup 
+6739 efe08006 ifetch 1 ,contr 
+673a 99609600 iadd timeup ,timeup 
+673b 472f402b bpatchx patch2b_6 ,mem_patch2b 
+673c 18c20400 copy contr ,temp 
+673d df200004 arg 4 ,loopcnt 
+673e d8a003fd arg mem_sdp_handle_list ,contw 
+673f 20407d8c call memset0 
+6740 18420c00 copy temp ,contr 
+6741 1a427e00 deposit regb 
+6742 c000e8d8 beq sdp_error_res ,sdp_process_error_res 
+6743 c001674a beq sdp_search_req ,sdp_process_ss_req 
+6744 c001e8d8 beq sdp_search_res ,sdp_process_ss_res 
+6745 c0026772 beq sdp_attribute_req ,sdp_process_sa_req 
+6746 c002e8d8 beq sdp_attribute_res ,sdp_process_sa_res 
+6747 c0036820 beq sdp_searchattrib_req ,sdp_process_ssa_req 
+6748 c003e8d8 beq sdp_searchattrib_res ,sdp_process_ssa_res 
+6749 202068df branch sdp_insufficient_resource 
+
+sdp_process_ss_req:
+674a 472fc02b bpatchx patch2b_7 ,mem_patch2b 
+674b 204068ee call ask_serviceclassid 
+674c 2841fe01 compare 1 ,temp ,0xff 
+674d 2020e95e branch ss_empty_rsp ,true 
+674e 2841feff compare 0xff ,temp ,0xff 
+674f 2020e8e2 branch sdp_invalid_request_syntax ,true 
+6750 efe10006 ifetch 2 ,contr 
+6751 67e103f5 store 2 ,mem_sdp_record_maxcnt 
+6752 196097fe increase -2 ,timeup 
+6753 196097ff increase -1 ,timeup 
+6754 2422e8dc nbranch sdp_invalid_pdu_size ,zero 
+6755 d96003e4 arg mem_sdp_uuid_search_ptr ,timeup 
+6756 efe1000b ifetch 2 ,timeup 
+6757 207a0000 rtn blank 
+6758 204069a0 call search_all_uuid 
+6759 20405381 call l2cap_get_sdp_tx_payload 
+675a 18007e03 force 3 ,pdata 
+675b e7e08005 istore 1 ,contw 
+675c 6fe103ef fetch 2 ,mem_sdp_transactionid 
+675d e7e10005 istore 2 ,contw 
+675e 18ebfe00 lshift2 queue ,pdata 
+675f 1fe0fe05 add pdata ,5 ,pdata 
+6760 1fe0a605 add pdata ,5 ,regc 
+6761 1ff0fe00 byteswap pdata ,pdata 
+6762 e7e10005 istore 2 ,contw 
+6763 18e27e00 deposit queue 
+6764 1ff0fe00 byteswap pdata ,pdata 
+6765 e7e10005 istore 2 ,contw 
+6766 e7e10005 istore 2 ,contw 
+6767 d8c003fd arg mem_sdp_handle_list ,contr 
+6768 18e27200 copy queue ,loopcnt 
+6769 2022e76d branch ss_req_blank ,zero 
+
+ss_req_loop:
+676a efe20006 ifetch 4 ,contr 
+676b e7e20005 istore 4 ,contw 
+676c c200676a loop ss_req_loop 
+
+ss_req_blank:
+676d 18007e00 force 0 ,pdata 
+676e e7e08005 istore 1 ,contw 
+676f 1a627e00 deposit regc 
+6770 67e10326 store 2 ,mem_sdp_tx_pkt_length 
+6771 20600000 rtn 
+
+sdp_process_sa_req:
+6772 4730402c bpatchx patch2c_0 ,mem_patch2c 
+6773 efe20006 ifetch 4 ,contr 
+6774 67e203f7 store 4 ,mem_sdp_record_handle 
+6775 196097fc increase -4 ,timeup 
+6776 2040684c call sdp_store_maxbyte 
+6777 67e103f3 store 2 ,mem_sdp_attribute_maxbyte 
+6778 196097fe increase -2 ,timeup 
+6779 20406946 call dataelementtype6 
+677a 2022e8e2 branch sdp_invalid_request_syntax ,zero 
+677b 2a21fe05 compare 5 ,rega ,0xff 
+677c 2020e780 branch sa_judge_wholerange ,true 
+
+sa_isnot_wholerange:
+677d d8a003fd arg mem_sdp_attrib_list ,contw 
+677e 18000e00 force 0 ,queue 
+677f 2020678f branch sa_req_loop 
+
+sa_judge_wholerange:
+6780 efe08006 ifetch 1 ,contr 
+6781 c08568e2 bne sdp_attribute_range ,sdp_invalid_request_syntax 
+6782 efe10006 ifetch 2 ,contr 
+6783 243a678d nbranch sa_judge_wholerange_false1 ,blank 
+6784 efe08006 ifetch 1 ,contr 
+6785 c0ffe78b bne 0xff ,sa_judge_wholerange_false2 
+6786 efe08006 ifetch 1 ,contr 
+6787 c0ffe789 bne 0xff ,sa_judge_wholerange_false3 
+6788 202067d6 branch sa_req_all 
+
+sa_judge_wholerange_false3:
+6789 18c08dfb increase -5 ,contr 
+678a 2020677d branch sa_isnot_wholerange 
+
+sa_judge_wholerange_false2:
+678b 18c08dfc increase -4 ,contr 
+678c 2020677d branch sa_isnot_wholerange 
+
+sa_judge_wholerange_false1:
+678d 18c08dfd increase -3 ,contr 
+678e 2020677d branch sa_isnot_wholerange 
+
+sa_req_loop:
+678f efe08006 ifetch 1 ,contr 
+6790 c004e7a4 beq sdp_attribute_id ,sa_req_one_id 
+6791 c0056792 beq sdp_attribute_range ,sa_req_range 
+
+sa_req_range:
+6792 efe10006 ifetch 2 ,contr 
+6793 e7e10005 istore 2 ,contw 
+6794 18e08e01 increase 1 ,queue 
+6795 1ff0a400 byteswap pdata ,regb 
+6796 efe10006 ifetch 2 ,contr 
+6797 1ff0fe00 byteswap pdata ,pdata 
+
+sa_req_range_id_increase:
+6798 1a40a401 increase 1 ,regb 
+6799 9a467c00 isub regb ,null 
+679a 242167a1 nbranch sa_req_range_id_finish ,positive 
+679b 1fe22600 copy pdata ,regc 
+679c 1a50fe00 byteswap regb ,pdata 
+679d e7e10005 istore 2 ,contw 
+679e 18e08e01 increase 1 ,queue 
+679f 1a627e00 copy regc ,pdata 
+67a0 20206798 branch sa_req_range_id_increase 
+
+sa_req_range_id_finish:
+67a1 196097fb increase -5 ,timeup 
+67a2 1a20a3fb increase -5 ,rega 
+67a3 202067a9 branch sa_req_check_next_id 
+
+sa_req_one_id:
+67a4 efe10006 ifetch 2 ,contr 
+67a5 e7e10005 istore 2 ,contw 
+67a6 18e08e01 increase 1 ,queue 
+67a7 196097fd increase -3 ,timeup 
+67a8 1a20a3fd increase -3 ,rega 
+
+sa_req_check_next_id:
+67a9 242168e2 nbranch sdp_invalid_request_syntax ,positive 
+67aa 2422e78f nbranch sa_req_loop ,zero 
+67ab 196097ff increase -1 ,timeup 
+67ac 2422e8e2 nbranch sdp_invalid_request_syntax ,zero 
+67ad 20405381 call l2cap_get_sdp_tx_payload 
+67ae 18a08a0a increase 10 ,contw 
+67af da2003fd arg mem_sdp_attrib_list ,rega 
+
+sa_req_handle_attributelist_next:
+67b0 18e27e00 copy queue ,pdata 
+67b1 203a67c3 branch sa_req_handle_attributelist_end ,blank 
+67b2 efe10011 ifetch 2 ,rega 
+67b3 203a67c3 branch sa_req_handle_attributelist_end ,blank 
+67b4 98002400 iforce regb 
+67b5 6fe203f7 fetch 4 ,mem_sdp_record_handle 
+67b6 98000400 iforce temp 
+67b7 20406a05 call search_handle_attrib 
+67b8 18c27e00 copy contr ,pdata 
+67b9 203a67c0 branch sa_req_handle_attributelist_notfound ,blank 
+67ba 18c08dfd increase -3 ,contr 
+67bb efe18006 ifetch 3 ,contr 
+67bc e7e18005 istore 3 ,contw 
+67bd 20406979 call sdp_data_len 
+67be 98007200 iforce loopcnt 
+67bf 20407dd4 call memcpy 
+
+sa_req_handle_attributelist_notfound:
+67c0 1a20a202 increase 2 ,rega 
+67c1 18e08fff increase -1 ,queue 
+67c2 202067b0 branch sa_req_handle_attributelist_next 
+
+sa_req_handle_attributelist_end:
+67c3 da200005 arg sdp_attribute_res ,rega 
+67c4 204068a2 call ssa_req_range_lastfreg_common 
+67c5 6fe10326 fetch 2 ,mem_sdp_tx_pkt_length 
+67c6 c005e961 beq 11 ,sa_empty_rsp 
+67c7 202068b8 branch ssa_req_range_attrbutes_length_no_continue 
+
+sdp_store_continue_common:
+67c8 efe08006 ifetch 1 ,contr 
+67c9 c00067cc beq 0 ,sdp_store_continue_0byte 
+67ca c000e7ce beq 1 ,sdp_store_continue_1byte 
+67cb c00167d1 beq 2 ,sdp_store_continue_2byte 
+
+sdp_store_continue_0byte:
+67cc 196097ff increase -1 ,timeup 
+67cd 202067d4 branch sdp_store_continue_end 
+
+sdp_store_continue_1byte:
+67ce efe08006 ifetch 1 ,contr 
+67cf 196097fe increase -2 ,timeup 
+67d0 202067d4 branch sdp_store_continue_end 
+
+sdp_store_continue_2byte:
+67d1 efe10006 ifetch 2 ,contr 
+67d2 1ff0fe00 byteswap pdata ,pdata 
+67d3 196097fd increase -3 ,timeup 
+
+sdp_store_continue_end:
+67d4 67e103ec store 2 ,mem_sdp_continue_byte 
+67d5 20600000 rtn 
+
+sa_req_all:
+67d6 196097fb increase -5 ,timeup 
+67d7 204067c8 call sdp_store_continue_common 
+67d8 2422e8dc nbranch sdp_invalid_pdu_size ,zero 
+67d9 684a03f7 fetcht 4 ,mem_sdp_record_handle 
+67da 204069cf call search_handle 
+67db 2422e8d9 nbranch sdp_invalid_service_record_handle ,zero 
+67dc 18c22200 copy contr ,rega 
+67dd 20405381 call l2cap_get_sdp_tx_payload 
+67de 1a220c00 copy rega ,contr 
+67df 18a08a03 increase 3 ,contw 
+67e0 18c21600 copy contr ,timeup 
+67e1 20406980 call sdp_get_data 
+67e2 1fe22200 copy pdata ,rega 
+67e3 6fe103ec fetch 2 ,mem_sdp_continue_byte 
+67e4 1fe22400 copy pdata ,regb 
+67e5 1a227e00 copy rega ,pdata 
+67e6 9a462400 isub regb ,regb 
+67e7 6fe103f3 fetch 2 ,mem_sdp_attribute_maxbyte 
+67e8 9a467c00 isub regb ,null 
+67e9 24216805 nbranch sa_req_all_fragment_sdp ,positive 
+67ea 78547c00 disable user 
+67eb 6fe103ec fetch 2 ,mem_sdp_continue_byte 
+67ec 203a67f8 branch sa_req_all_fisrt_fragment ,blank 
+67ed 99608c00 iadd timeup ,contr 
+67ee 1a40a403 increase 3 ,regb 
+67ef 1a427200 copy regb ,loopcnt 
+67f0 1f227e00 copy loopcnt ,pdata 
+67f1 1fe0fe03 increase 3 ,pdata 
+67f2 1ff0fe00 byteswap pdata ,pdata 
+67f3 e7e10005 istore 2 ,contw 
+67f4 1f227e00 copy loopcnt ,pdata 
+67f5 1ff0fe00 byteswap pdata ,pdata 
+67f6 e7e10005 istore 2 ,contw 
+67f7 20206813 branch sa_req_all_answer_attributelist_full_loop 
+
+sa_req_all_fisrt_fragment:
+67f8 1a20f206 add rega ,6 ,loopcnt 
+67f9 203467fc branch sa_req_all_parlength_continue_byte ,user 
+67fa 1f30fe00 byteswap loopcnt ,pdata 
+67fb 202067ff branch sa_req_all_parlength_continue_byte_end 
+
+sa_req_all_parlength_continue_byte:
+67fc 1f227e00 copy loopcnt ,pdata 
+67fd 1fe0fe02 increase 2 ,pdata 
+67fe 1ff0fe00 byteswap pdata ,pdata 
+
+sa_req_all_parlength_continue_byte_end:
+67ff e7e10005 istore 2 ,contw 
+6800 1f20f3fd increase -3 ,loopcnt 
+6801 1f30fe00 byteswap loopcnt ,pdata 
+6802 e7e10005 istore 2 ,contw 
+6803 19620c00 copy timeup ,contr 
+6804 20206813 branch sa_req_all_answer_attributelist_full_loop 
+
+sa_req_all_fragment_sdp:
+6805 78347c00 enable user 
+6806 6fe103f3 fetch 2 ,mem_sdp_attribute_maxbyte 
+6807 1fe22200 copy pdata ,rega 
+6808 1a227200 copy rega ,loopcnt 
+6809 6fe103ec fetch 2 ,mem_sdp_continue_byte 
+680a 203a67f8 branch sa_req_all_fisrt_fragment ,blank 
+680b 99608c00 iadd timeup ,contr 
+680c 1a227e00 copy rega ,pdata 
+680d 1fe0fe05 increase 5 ,pdata 
+680e 1ff0fe00 byteswap pdata ,pdata 
+680f e7e10005 istore 2 ,contw 
+6810 1a227e00 copy rega ,pdata 
+6811 1ff0fe00 byteswap pdata ,pdata 
+6812 e7e10005 istore 2 ,contw 
+
+sa_req_all_answer_attributelist_full_loop:
+6813 20407dd4 call memcpy 
+6814 2434681c nbranch sa_req_all_last_frag_continue ,user 
+6815 18007e02 force 2 ,pdata 
+6816 e7e08005 istore 1 ,contw 
+6817 18c27e00 copy contr ,pdata 
+6818 99667e00 isub timeup ,pdata 
+6819 1ff0fe00 byteswap pdata ,pdata 
+681a e7e10005 istore 2 ,contw 
+681b 2020681e branch sa_req_all_frag_end 
+
+sa_req_all_last_frag_continue:
+681c 18007e00 force 0 ,pdata 
+681d e7e08005 istore 1 ,contw 
+
+sa_req_all_frag_end:
+681e da200005 arg sdp_attribute_res ,rega 
+681f 202068ce branch ssa_req_range_common 
+
+sdp_process_ssa_req:
+6820 4730c02c bpatchx patch2c_1 ,mem_patch2c 
+6821 204068ee call ask_serviceclassid 
+6822 2841feff compare 0xff ,temp ,0xff 
+6823 2020e8e2 branch sdp_invalid_request_syntax ,true 
+6824 2040684c call sdp_store_maxbyte 
+6825 67e103f3 store 2 ,mem_sdp_attribute_maxbyte 
+6826 196097fe increase -2 ,timeup 
+6827 20406946 call dataelementtype6 
+6828 d8a003fd arg mem_sdp_attrib_list ,contw 
+6829 18000e00 force 0 ,queue 
+
+ssa_req_loop:
+682a efe08006 ifetch 1 ,contr 
+682b c0056854 beq sdp_attribute_range ,ssa_req_range 
+682c efe10006 ifetch 2 ,contr 
+682d e7e10005 istore 2 ,contw 
+682e 18e08e01 increase 1 ,queue 
+682f 196097fd increase -3 ,timeup 
+6830 1a20a3fd increase -3 ,rega 
+6831 242168e2 nbranch sdp_invalid_request_syntax ,positive 
+6832 2422e82a nbranch ssa_req_loop ,zero 
+6833 196097ff increase -1 ,timeup 
+6834 2422e8e2 nbranch sdp_invalid_request_syntax ,zero 
+6835 20405381 call l2cap_get_sdp_tx_payload 
+6836 18a08a0d increase 13 ,contw 
+6837 6fe103e4 fetch 2 ,mem_sdp_uuid_search_ptr 
+6838 98002600 iforce regc 
+6839 da2003fd arg mem_sdp_attrib_list ,rega 
+
+ssa_req_attributelist_next:
+683a efe10011 ifetch 2 ,rega 
+683b 203a6847 branch ssa_req_attributelist_end ,blank 
+683c 98002400 iforce regb 
+683d 204069e4 call search_attrib 
+683e 203a6845 branch ssa_req_attributelist_notfound ,blank 
+683f 18c08dfd increase -3 ,contr 
+6840 efe18006 ifetch 3 ,contr 
+6841 e7e18005 istore 3 ,contw 
+6842 20406979 call sdp_data_len 
+6843 98007200 iforce loopcnt 
+6844 20407dd4 call memcpy 
+
+ssa_req_attributelist_notfound:
+6845 1a20a202 increase 2 ,rega 
+6846 2020683a branch ssa_req_attributelist_next 
+
+ssa_req_attributelist_end:
+6847 204068a1 call ssa_req_range_lastfreg 
+6848 6fe10326 fetch 2 ,mem_sdp_tx_pkt_length 
+6849 c0076964 beq 14 ,ssa_empty_rsp 
+684a 204068b8 call ssa_req_range_attrbutes_length_no_continue 
+684b 202068b8 branch ssa_req_range_attrbutes_length_no_continue 
+
+sdp_store_maxbyte:
+684c efe10006 ifetch 2 ,contr 
+684d 1ff0fe00 byteswap pdata ,pdata 
+684e 1fe0fffd increase -3 ,pdata 
+684f d84000c8 arg 200 ,temp 
+6850 98467c00 isub temp ,null 
+6851 24610000 nrtn positive 
+6852 580000c8 setarg 200 
+6853 20600000 rtn 
+
+ssa_req_range:
+6854 18c08c04 increase 4 ,contr 
+6855 196097fb increase -5 ,timeup 
+6856 1a20a3fb increase -5 ,rega 
+6857 2422e8e2 nbranch sdp_invalid_request_syntax ,zero 
+6858 204067c8 call sdp_store_continue_common 
+6859 2422e8dc nbranch sdp_invalid_pdu_size ,zero 
+685a d96003e4 arg mem_sdp_uuid_search_ptr ,timeup 
+685b 204069a0 call search_all_uuid 
+685c 18e27e00 deposit queue 
+685d 203a6964 branch ssa_empty_rsp ,blank 
+685e 67e08421 store 1 ,mem_handle_humber 
+685f 1a427e00 copy regb ,pdata 
+6860 67e1041f store 2 ,mem_sdp_all_length 
+6861 d8e00000 arg 0 ,queue 
+6862 da200000 arg 0 ,rega 
+6863 20405381 call l2cap_get_sdp_tx_payload 
+6864 18a08a0a increase 10 ,contw 
+
+ssa_req_range_find_handle:
+6865 2040688a call ssa_req_range_get_length 
+6866 2434137c nbranch assert ,user 
+6867 18c21600 copy contr ,timeup 
+6868 1fe22600 copy pdata ,regc 
+6869 9a20a200 iadd rega ,rega 
+686a 6fe103ec fetch 2 ,mem_sdp_continue_byte 
+686b 1fe22400 copy pdata ,regb 
+686c 203a6893 branch ssa_req_range_first_freg ,blank 
+
+ssa_req_range_later_freg_with_continue:
+686d 1a227e00 copy rega ,pdata 
+686e 9a462400 isub regb ,regb 
+686f 2022e885 branch ssa_req_range_next_handle ,zero 
+6870 24216885 nbranch ssa_req_range_next_handle ,positive 
+6871 6fe103f3 fetch 2 ,mem_sdp_attribute_maxbyte 
+6872 9a467c00 isub regb ,null 
+6873 2022e87c branch ssa_req_range_maxbyte_with_continue ,zero 
+6874 2421687c nbranch ssa_req_range_maxbyte_with_continue ,positive 
+
+ssa_req_range_send_not_maxbyte:
+6875 1a427200 copy regb ,loopcnt 
+6876 2040687f call ssa_req_range_maxbyte_with_continue_cpy 
+6877 6fe08421 fetch 1 ,mem_handle_humber 
+6878 18e08e01 increase 1 ,queue 
+6879 98e67c00 isub queue ,null 
+687a 2022e8a1 branch ssa_req_range_lastfreg ,zero 
+687b 202068be branch ssa_req_range_freg_with_continue 
+
+ssa_req_range_maxbyte_with_continue:
+687c 1fe27200 copy pdata ,loopcnt 
+687d 2040687f call ssa_req_range_maxbyte_with_continue_cpy 
+687e 202068be branch ssa_req_range_freg_with_continue 
+
+ssa_req_range_maxbyte_with_continue_cpy:
+687f 18a08bfd increase -3 ,contw 
+6880 1f220400 copy loopcnt ,temp 
+6881 1a627e00 copy regc ,pdata 
+6882 9a467e00 isub regb ,pdata 
+6883 99608c00 iadd timeup ,contr 
+6884 20207dd4 branch memcpy 
+
+ssa_req_range_next_handle:
+6885 6fe08421 fetch 1 ,mem_handle_humber 
+6886 18e08e01 increase 1 ,queue 
+6887 98e67c00 isub queue ,null 
+6888 20628000 rtn zero 
+6889 20206865 branch ssa_req_range_find_handle 
+
+ssa_req_range_get_length:
+688a 20407ec7 call disable_user 
+688b d8c003fd arg mem_sdp_handle_list ,contr 
+688c 18ebfe00 lshift2 queue ,pdata 
+688d 98c08c00 iadd contr ,contr 
+688e e8420006 ifetcht 4 ,contr 
+688f 204069cf call search_handle 
+6890 24628000 nrtn zero 
+6891 20406979 call sdp_data_len 
+6892 20207ec5 branch enable_user 
+
+ssa_req_range_first_freg:
+6893 6fe103f3 fetch 2 ,mem_sdp_attribute_maxbyte 
+6894 9a267c00 isub rega ,null 
+6895 242168ad nbranch ssa_req_range_firstfreg_maxbyte_with_continue ,positive 
+6896 1a227200 copy rega ,loopcnt 
+6897 1f220400 copy loopcnt ,temp 
+6898 19620c00 copy timeup ,contr 
+6899 20407dd4 call memcpy 
+689a 6fe1041f fetch 2 ,mem_sdp_all_length 
+689b 9a267c00 isub rega ,null 
+689c 2022e89f branch ssa_req_range_freg_no_continue ,zero 
+
+ssa_req_range_firstfreg_not_maxbyte_with_continue:
+689d 204068be call ssa_req_range_freg_with_continue 
+689e 202068b2 branch ssa_req_range_attrbutes_length 
+
+ssa_req_range_freg_no_continue:
+689f 204068a1 call ssa_req_range_lastfreg 
+68a0 202068b2 branch ssa_req_range_attrbutes_length 
+
+ssa_req_range_lastfreg:
+68a1 da200007 arg sdp_searchattrib_res ,rega 
+
+ssa_req_range_lastfreg_common:
+68a2 18007e00 force 0 ,pdata 
+68a3 e7e08005 istore 1 ,contw 
+68a4 204068ce call ssa_req_range_common 
+68a5 68490326 fetcht 2 ,mem_sdp_tx_pkt_length 
+68a6 184085fb increase -5 ,temp 
+68a7 1850fe00 byteswap temp ,pdata 
+68a8 e7e10005 istore 2 ,contw 
+68a9 184085fd increase -3 ,temp 
+68aa 1850fe00 byteswap temp ,pdata 
+68ab e7e10005 istore 2 ,contw 
+68ac 20600000 rtn 
+
+ssa_req_range_firstfreg_maxbyte_with_continue:
+68ad 1fe27200 copy pdata ,loopcnt 
+68ae 1f220400 copy loopcnt ,temp 
+68af 19620c00 copy timeup ,contr 
+68b0 20407dd4 call memcpy 
+68b1 204068be call ssa_req_range_freg_with_continue 
+
+ssa_req_range_attrbutes_length:
+68b2 58000036 setarg 0x36 
+68b3 e7e08005 istore 1 ,contw 
+68b4 6fe1041f fetch 2 ,mem_sdp_all_length 
+68b5 1ff0fe00 byteswap pdata ,pdata 
+68b6 e7e10005 istore 2 ,contw 
+68b7 20600000 rtn 
+
+ssa_req_range_attrbutes_length_no_continue:
+68b8 58000036 setarg 0x36 
+68b9 e7e08005 istore 1 ,contw 
+68ba 184085fd increase -3 ,temp 
+68bb 1850fe00 byteswap temp ,pdata 
+68bc e7e10005 istore 2 ,contw 
+68bd 20600000 rtn 
+
+ssa_req_range_freg_with_continue:
+68be da200007 arg sdp_searchattrib_res ,rega 
+68bf 58000002 setarg 2 
+68c0 e7e08005 istore 1 ,contw 
+68c1 6fe103ec fetch 2 ,mem_sdp_continue_byte 
+68c2 98408400 iadd temp ,temp 
+68c3 1850fe00 byteswap temp ,pdata 
+68c4 e7e10005 istore 2 ,contw 
+68c5 204068ce call ssa_req_range_common 
+68c6 68490326 fetcht 2 ,mem_sdp_tx_pkt_length 
+68c7 184085fb increase -5 ,temp 
+68c8 1850fe00 byteswap temp ,pdata 
+68c9 e7e10005 istore 2 ,contw 
+68ca 184085fb increase -5 ,temp 
+68cb 1850fe00 byteswap temp ,pdata 
+68cc e7e10005 istore 2 ,contw 
+68cd 20600000 rtn 
+
+ssa_req_range_common:
+68ce 6fe10324 fetch 2 ,mem_sdp_tx_payload_ptr 
+68cf 98a67e00 isub contw ,pdata 
+68d0 1fe67e00 sub pdata ,0 ,pdata 
+68d1 67e10326 store 2 ,mem_sdp_tx_pkt_length 
+68d2 20405381 call l2cap_get_sdp_tx_payload 
+68d3 1a227e00 copy rega ,pdata 
+68d4 e7e08005 istore 1 ,contw 
+68d5 6fe103ef fetch 2 ,mem_sdp_transactionid 
+68d6 e7e10005 istore 2 ,contw 
+68d7 20600000 rtn 
+
+sdp_process_ssa_res:
+
+sdp_process_ss_res:
+
+sdp_process_sa_res:
+
+sdp_process_error_res:
+68d8 20600000 rtn 
+
+sdp_invalid_service_record_handle:
+68d9 58000200 setarg 0x0200 
+68da 67e1041d store 2 ,mem_sdp_error_code 
+68db 202068e4 branch sdp_error_response 
+
+sdp_invalid_pdu_size:
+68dc 58000400 setarg 0x0400 
+68dd 67e1041d store 2 ,mem_sdp_error_code 
+68de 202068e4 branch sdp_error_response 
+
+sdp_insufficient_resource:
+68df 58000600 setarg 0x0600 
+68e0 67e1041d store 2 ,mem_sdp_error_code 
+68e1 202068e4 branch sdp_error_response 
+
+sdp_invalid_request_syntax:
+68e2 58000300 setarg 0x0300 
+68e3 67e1041d store 2 ,mem_sdp_error_code 
+
+sdp_error_response:
+68e4 20405381 call l2cap_get_sdp_tx_payload 
+68e5 e7e08005 istore 1 ,contw 
+68e6 6fe103ef fetch 2 ,mem_sdp_transactionid 
+68e7 e7e10005 istore 2 ,contw 
+68e8 58000200 setarg 0x0200 
+68e9 e7e10005 istore 2 ,contw 
+68ea 6fe1041d fetch 2 ,mem_sdp_error_code 
+68eb e7e10005 istore 2 ,contw 
+68ec 70032607 jam 7 ,mem_sdp_tx_pkt_length 
+68ed 20600000 rtn 
+
+ask_serviceclassid:
+68ee da400000 arg 0 ,regb 
+68ef 18000400 force 0 ,temp 
+68f0 d8a003e4 arg mem_sdp_uuid_search_ptr ,contw 
+68f1 20406946 call dataelementtype6 
+68f2 2022e944 branch asksrv_error ,zero 
+
+classidloop:
+68f3 1a40a401 increase 1 ,regb 
+68f4 efe08006 ifetch 1 ,contr 
+68f5 1a20a3ff increase -1 ,rega 
+68f6 196097ff increase -1 ,timeup 
+68f7 2fe1f018 compare 0x18 ,pdata ,0xf8 
+68f8 2420e944 nbranch asksrv_error ,true 
+68f9 2fe00e04 compare 0x04 ,pdata ,0x07 
+68fa 2420e911 nbranch cmp032 ,true 
+68fb 18000401 force 1 ,temp 
+
+skip2bytes:
+68fc efe08006 ifetch 1 ,contr 
+68fd 1a20a3ff increase -1 ,rega 
+68fe 196097ff increase -1 ,timeup 
+68ff c0806905 bne 0x00 ,frstbwrong 
+6900 efe08006 ifetch 1 ,contr 
+6901 1a20a3ff increase -1 ,rega 
+6902 196097ff increase -1 ,timeup 
+6903 c0006916 beq 0x00 ,cmpuuid 
+6904 20206908 branch scndbwrong 
+
+frstbwrong:
+6905 18c08c01 increase 1 ,contr 
+6906 1a20a3ff increase -1 ,rega 
+6907 196097ff increase -1 ,timeup 
+
+scndbwrong:
+6908 18c08c02 increase 2 ,contr 
+6909 1a20a3fe increase -2 ,rega 
+690a 196097fe increase -2 ,timeup 
+690b 2841fe00 compare 0x00 ,temp ,0xff 
+690c 2020e93e branch loopornot ,true 
+690d 18c08c0c increase 12 ,contr 
+690e 1a20a3f4 increase -12 ,rega 
+690f 196097f4 increase -12 ,timeup 
+6910 2020693e branch loopornot 
+
+cmp032:
+6911 2fe00e02 compare 0x02 ,pdata ,0x07 
+6912 2420e914 nbranch cmp016 ,true 
+6913 202068fc branch skip2bytes 
+
+cmp016:
+6914 2fe00e01 compare 0x01 ,pdata ,0x07 
+6915 2420e944 nbranch asksrv_error ,true 
+
+cmpuuid:
+6916 1a20a3fe increase -2 ,rega 
+6917 196097fe increase -2 ,timeup 
+6918 efe10006 ifetch 2 ,contr 
+6919 1a467c04 sub regb ,4 ,null 
+691a 2022e91c branch uuidsize ,zero 
+691b e7e10005 istore 2 ,contw 
+
+uuidsize:
+691c 2841fe00 compare 0x00 ,temp ,0xff 
+691d 2020e93e branch loopornot ,true 
+691e 18c20400 copy contr ,temp 
+691f efe08006 ifetch 1 ,contr 
+6920 c0806937 bne 0x00 ,wrong12b 
+6921 efe08006 ifetch 1 ,contr 
+6922 c0806937 bne 0x00 ,wrong12b 
+6923 efe08006 ifetch 1 ,contr 
+6924 c0886937 bne 0x10 ,wrong12b 
+6925 efe08006 ifetch 1 ,contr 
+6926 c0806937 bne 0x00 ,wrong12b 
+6927 efe08006 ifetch 1 ,contr 
+6928 c0c06937 bne 0x80 ,wrong12b 
+6929 efe08006 ifetch 1 ,contr 
+692a c0806937 bne 0x00 ,wrong12b 
+692b efe08006 ifetch 1 ,contr 
+692c c0806937 bne 0x00 ,wrong12b 
+692d efe08006 ifetch 1 ,contr 
+692e c0c06937 bne 0x80 ,wrong12b 
+692f efe08006 ifetch 1 ,contr 
+6930 c0afe937 bne 0x5f ,wrong12b 
+6931 efe08006 ifetch 1 ,contr 
+6932 c0cde937 bne 0x9b ,wrong12b 
+6933 efe08006 ifetch 1 ,contr 
+6934 c09a6937 bne 0x34 ,wrong12b 
+6935 efe08006 ifetch 1 ,contr 
+6936 c07de93c beq 0xfb ,chck12dn 
+
+wrong12b:
+6937 18420c00 copy temp ,contr 
+
+wrong12b1:
+6938 18c08c0c increase 12 ,contr 
+6939 18000e00 force 0x00 ,queue 
+693a 18000400 force 0x00 ,temp 
+693b 2020693c branch chck12dn 
+
+chck12dn:
+693c 196097f4 increase -12 ,timeup 
+693d 1a20a3f4 increase -12 ,rega 
+
+loopornot:
+693e 18000400 force 0x00 ,temp 
+693f 2a21fe00 compare 0x00 ,rega ,0xff 
+6940 2420e8f3 nbranch classidloop ,true 
+6941 18007e00 force 0 ,pdata 
+6942 e7e10005 istore 2 ,contw 
+6943 20600000 rtn 
+
+asksrv_error:
+6944 d84000ff arg 0xff ,temp 
+6945 20600000 rtn 
+
+dataelementtype6:
+6946 4732402c bpatchx patch2c_4 ,mem_patch2c 
+6947 efe08006 ifetch 1 ,contr 
+6948 196097ff increase -1 ,timeup 
+6949 2fe1f030 compare 0x30 ,pdata ,0xf8 
+694a 2420e95c nbranch dsize_error ,true 
+694b 2fe00e07 compare 0x07 ,pdata ,0x07 
+694c 2020e955 branch dsize32 ,true 
+694d 2fe00e06 compare 0x06 ,pdata ,0x07 
+694e 2020e957 branch dsize16 ,true 
+694f 2fe00e05 compare 0x05 ,pdata ,0x07 
+6950 2420e95c nbranch dsize_error ,true 
+6951 efe08006 ifetch 1 ,contr 
+6952 1fe22200 copy pdata ,rega 
+6953 196097ff increase -1 ,timeup 
+6954 2020695a branch dsize 
+
+dsize32:
+6955 18c08c02 increase 2 ,contr 
+6956 196097fe increase -2 ,timeup 
+
+dsize16:
+6957 efe10006 ifetch 2 ,contr 
+6958 1ff0a200 byteswap pdata ,rega 
+6959 196097fe increase -2 ,timeup 
+
+dsize:
+695a 18007e01 force 0x01 ,pdata 
+695b 20600000 rtn 
+
+dsize_error:
+695c 18007e00 force 0x00 ,pdata 
+695d 20600000 rtn 
+
+ss_empty_rsp:
+695e 58000003 setarg sdp_search_res 
+695f 67e083ee store 1 ,mem_sdp_pduid 
+6960 20206966 branch empty_response 
+
+sa_empty_rsp:
+6961 58000005 setarg sdp_attribute_res 
+6962 67e083ee store 1 ,mem_sdp_pduid 
+6963 20206966 branch empty_response 
+
+ssa_empty_rsp:
+6964 58000007 setarg sdp_searchattrib_res 
+6965 67e083ee store 1 ,mem_sdp_pduid 
+
+empty_response:
+6966 20405381 call l2cap_get_sdp_tx_payload 
+6967 6fe083ee fetch 1 ,mem_sdp_pduid 
+6968 1fe22400 copy pdata ,regb 
+6969 e7e08005 istore 1 ,contw 
+696a 6fe103ef fetch 2 ,mem_sdp_transactionid 
+696b e7e10005 istore 2 ,contw 
+696c 58000500 setarg 0x0500 
+696d e7e10005 istore 2 ,contw 
+696e 2a41fe05 compare sdp_attribute_res ,regb ,0xff 
+696f 2020e975 branch fullsearch ,true 
+6970 2a41fe07 compare sdp_searchattrib_res ,regb ,0xff 
+6971 2020e975 branch fullsearch ,true 
+6972 58000000 setarg 0x000000 
+6973 e7e28005 istore 5 ,contw 
+6974 20206977 branch outempty 
+
+fullsearch:
+6975 58350200 setarg 0x350200 
+6976 e7e28005 istore 5 ,contw 
+
+outempty:
+6977 7003260a jam 10 ,mem_sdp_tx_pkt_length 
+6978 20600000 rtn 
+
+sdp_data_len:
+6979 20407d5b call store_contw 
+697a 20407d5e call store_contr 
+697b 20406980 call sdp_get_data 
+697c 20407d55 call get_contw 
+697d 20407d58 call get_contr 
+697e 18427e00 copy temp ,pdata 
+697f 20600000 rtn 
+
+sdp_get_data:
+6980 efe08006 ifetch 1 ,contr 
+6981 1fe17207 and pdata ,0x7 ,loopcnt 
+6982 1fe97e00 rshift3 pdata ,pdata 
+6983 c080698a bne 0 ,sdp_get_data_type_not0 
+
+sdp_get_data_type0:
+6984 18007e01 force 1 ,pdata 
+6985 18000401 force 1 ,temp 
+6986 20600000 rtn 
+
+sdp_get_data_type_not0_sizeindex01234:
+6987 20407d35 call left_shift_n 
+6988 1fe08401 add pdata ,1 ,temp 
+6989 20600000 rtn 
+
+sdp_get_data_type_not0:
+698a 1f227e00 deposit loopcnt 
+698b 1fe67c04 sub pdata ,4 ,null 
+698c 20216987 branch sdp_get_data_type_not0_sizeindex01234 ,positive 
+698d c002e991 beq 5 ,sdp_get_data_type_not0_sizeindex5 
+698e c0036994 beq 6 ,sdp_get_data_type_not0_sizeindex6 
+698f c003e998 beq 7 ,sdp_get_data_type_not0_sizeindex7 
+6990 20600000 rtn 
+
+sdp_get_data_type_not0_sizeindex5:
+6991 efe08006 ifetch 1 ,contr 
+6992 1fe08402 add pdata ,2 ,temp 
+6993 20600000 rtn 
+
+sdp_get_data_type_not0_sizeindex6:
+6994 efe10006 ifetch 2 ,contr 
+6995 1ff0fe00 byteswap pdata ,pdata 
+6996 1fe08403 add pdata ,3 ,temp 
+6997 20600000 rtn 
+
+sdp_get_data_type_not0_sizeindex7:
+6998 efe10006 ifetch 2 ,contr 
+6999 1ff0fe00 byteswap pdata ,pdata 
+699a e8410006 ifetcht 2 ,contr 
+699b 18508400 byteswap temp ,temp 
+699c 18500400 lshift16 temp ,temp 
+699d 9840fe00 iadd temp ,pdata 
+699e 1fe08405 add pdata ,5 ,temp 
+699f 20600000 rtn 
+
+search_all_uuid:
+69a0 4732c02c bpatchx patch2c_5 ,mem_patch2c 
+69a1 18000e00 force 0 ,queue 
+69a2 da400000 arg 0 ,regb 
+69a3 d8a003fd arg mem_sdp_handle_list ,contw 
+
+search_all_uuid_llop:
+69a4 efe1000b ifetch 2 ,timeup 
+69a5 207a0000 rtn blank 
+69a6 204069ab call search_uuid 
+69a7 18e27e00 copy queue ,pdata 
+69a8 c1038000 rtneq sdp_max_handle_number 
+69a9 19609602 increase 2 ,timeup 
+69aa 202069a4 branch search_all_uuid_llop 
+
+search_uuid:
+69ab 98002600 iforce regc 
+69ac 6fe14663 fetch 2 ,mem_ui_uuid_table 
+69ad 98000c00 iforce contr 
+
+search_uuid_next:
+69ae 18e27e00 copy queue ,pdata 
+69af c1038000 rtneq sdp_max_handle_number 
+69b0 78547c00 disable user 
+69b1 efe08006 ifetch 1 ,contr 
+69b2 207a0000 rtn blank 
+69b3 98007200 iforce loopcnt 
+
+search_uuid_loop:
+69b4 efe10006 ifetch 2 ,contr 
+69b5 9a667c00 isub regc ,null 
+69b6 2422e9b8 nbranch search_uuid_not_found ,zero 
+69b7 78347c00 enable user 
+
+search_uuid_not_found:
+69b8 c20069b4 loop search_uuid_loop 
+69b9 e8420006 ifetcht 4 ,contr 
+69ba 18c22200 copy contr ,rega 
+69bb 243469cb nbranch search_uuid_nomatch ,user 
+69bc d8c003fd arg mem_sdp_handle_list ,contr 
+69bd df200007 arg sdp_max_handle_number ,loopcnt 
+
+search_uuid_check_same_handle:
+69be efe20006 ifetch 4 ,contr 
+69bf 203a69c4 branch search_uuid_store_handle ,blank 
+69c0 98467c00 isub temp ,null 
+69c1 2022e9cb branch search_uuid_nomatch ,zero 
+69c2 c20069be loop search_uuid_check_same_handle 
+69c3 20600000 rtn 
+
+search_uuid_store_handle:
+69c4 e0420005 istoret 4 ,contw 
+69c5 18e08e01 increase 1 ,queue 
+69c6 1a220c00 copy rega ,contr 
+69c7 20406979 call sdp_data_len 
+69c8 9a40a400 iadd regb ,regb 
+69c9 98c08c00 iadd contr ,contr 
+69ca 202069ae branch search_uuid_next 
+
+search_uuid_nomatch:
+69cb 1a220c00 copy rega ,contr 
+69cc 20406980 call sdp_get_data 
+69cd 98c08c00 iadd contr ,contr 
+69ce 202069ae branch search_uuid_next 
+
+search_handle:
+69cf 4733402c bpatchx patch2c_6 ,mem_patch2c 
+69d0 6fe14663 fetch 2 ,mem_ui_uuid_table 
+69d1 98000c00 iforce contr 
+
+search_handle_loop:
+69d2 efe08006 ifetch 1 ,contr 
+69d3 203a7ec1 branch disable_zero ,blank 
+69d4 1fe3fe00 lshift pdata ,pdata 
+69d5 98c08c00 iadd contr ,contr 
+69d6 efe20006 ifetch 4 ,contr 
+69d7 98467c00 isub temp ,null 
+69d8 20628000 rtn zero 
+69d9 18a27e00 deposit contw 
+69da 67e1097d store 2 ,mem_contw 
+69db 604c0964 storet 8 ,mem_temp 
+69dc 20406980 call sdp_get_data 
+69dd 98c08c00 iadd contr ,contr 
+69de 18c27e00 copy contr ,pdata 
+69df 6849097d fetcht 2 ,mem_contw 
+69e0 18420a00 copy temp ,contw 
+69e1 684c0964 fetcht 8 ,mem_temp 
+69e2 1fe20c00 copy pdata ,contr 
+69e3 202069d2 branch search_handle_loop 
+
+search_attrib:
+69e4 4733c02c bpatchx patch2c_7 ,mem_patch2c 
+69e5 6fe14663 fetch 2 ,mem_ui_uuid_table 
+69e6 98000c00 iforce contr 
+
+search_attrib_next:
+69e7 efe08006 ifetch 1 ,contr 
+69e8 203a6a02 branch search_attrib_end ,blank 
+69e9 98007200 iforce loopcnt 
+
+search_attrib_loop:
+69ea efe10006 ifetch 2 ,contr 
+69eb 9a667c00 isub regc ,null 
+69ec 2022e9f2 branch search_attrib_found_uuid ,zero 
+69ed c20069ea loop search_attrib_loop 
+69ee 18c08c04 increase 4 ,contr 
+69ef 20406980 call sdp_get_data 
+69f0 98c08c00 iadd contr ,contr 
+69f1 202069e7 branch search_attrib_next 
+
+search_attrib_found_uuid:
+69f2 1f20f3ff increase -1 ,loopcnt 
+69f3 1f23fe00 lshift loopcnt ,pdata 
+69f4 98c08c00 iadd contr ,contr 
+69f5 18c08c04 increase 4 ,contr 
+69f6 20406980 call sdp_get_data 
+69f7 98c09600 iadd contr ,timeup 
+
+search_attrib_loop_attribs:
+69f8 18c08c01 increase 1 ,contr 
+69f9 efe10006 ifetch 2 ,contr 
+69fa 9a467c00 isub regb ,null 
+69fb 2022fecf branch disable_blank ,zero 
+69fc 20406979 call sdp_data_len 
+69fd 98c08c00 iadd contr ,contr 
+69fe 19627e00 deposit timeup 
+69ff 98c67c00 isub contr ,null 
+6a00 2022ea02 branch search_attrib_end ,zero 
+6a01 202069f8 branch search_attrib_loop_attribs 
+
+search_attrib_end:
+6a02 18000c00 force 0 ,contr 
+6a03 18007e00 force 0 ,pdata 
+6a04 20600000 rtn 
+
+search_handle_attrib:
+6a05 4734402d bpatchx patch2d_0 ,mem_patch2d 
+6a06 6fe14663 fetch 2 ,mem_ui_uuid_table 
+6a07 98000c00 iforce contr 
+
+search_handle_attrib_next:
+6a08 efe08006 ifetch 1 ,contr 
+6a09 203a6a1e branch search_handle_attrib_end ,blank 
+6a0a 1fe3fe00 lshift pdata ,pdata 
+6a0b 98c08c00 iadd contr ,contr 
+6a0c efe20006 ifetch 4 ,contr 
+6a0d 98467c00 isub temp ,null 
+6a0e 2022ea12 branch search_handl_attrib_found_handle ,zero 
+6a0f 20406980 call sdp_get_data 
+6a10 98c08c00 iadd contr ,contr 
+6a11 20206a08 branch search_handle_attrib_next 
+
+search_handl_attrib_found_handle:
+6a12 20406980 call sdp_get_data 
+6a13 98c09600 iadd contr ,timeup 
+
+search_handle_attrib_loop_attribs:
+6a14 18c08c01 increase 1 ,contr 
+6a15 efe10006 ifetch 2 ,contr 
+6a16 9a467c00 isub regb ,null 
+6a17 20628000 rtn zero 
+6a18 20406979 call sdp_data_len 
+6a19 98c08c00 iadd contr ,contr 
+6a1a 19627e00 deposit timeup 
+6a1b 98c67c00 isub contr ,null 
+6a1c 2022ea1e branch search_handle_attrib_end ,zero 
+6a1d 20206a14 branch search_handle_attrib_loop_attribs 
+
+search_handle_attrib_end:
+6a1e 18000c00 force 0 ,contr 
+6a1f 20600000 rtn 
+
+search_rfcomm_cn:
+6a20 da400400 arg 0x0400 ,regb 
+6a21 20406a12 call search_handl_attrib_found_handle 
+6a22 da400300 arg 0x0300 ,regb 
+6a23 20406a2b call search_uuid_in_data 
+6a24 24740000 nrtn user 
+6a25 1a267c03 sub rega ,3 ,null 
+6a26 20217ec7 branch disable_user ,positive 
+6a27 efe08006 ifetch 1 ,contr 
+6a28 c0847ec7 bne 0x08 ,disable_user 
+6a29 efe08006 ifetch 1 ,contr 
+6a2a 20600000 rtn 
+
+search_uuid_in_data:
+6a2b 4734c02d bpatchx patch2d_1 ,mem_patch2d 
+6a2c 20406980 call sdp_get_data 
+6a2d 1fe22200 copy pdata ,rega 
+
+search_uuid_in_data_loop:
+6a2e efe08006 ifetch 1 ,contr 
+6a2f 1fe17207 and pdata ,0x7 ,loopcnt 
+6a30 1fe97e00 rshift3 pdata ,pdata 
+6a31 1fe67c03 sub pdata ,3 ,null 
+6a32 2022ea47 branch search_uuid_in_data_found_uuid ,zero 
+6a33 1f227e00 copy loopcnt ,pdata 
+6a34 c002ea3e beq 5 ,search_uuid_in_data_found_element_index5 
+6a35 c0036a41 beq 6 ,search_uuid_in_data_found_element_index6 
+6a36 c003ea44 beq 7 ,search_uuid_in_data_found_element_index7 
+6a37 18c08dff increase -1 ,contr 
+6a38 20406980 call sdp_get_data 
+6a39 98c08c00 iadd contr ,contr 
+6a3a 1a227e00 copy rega ,pdata 
+6a3b 98462200 isub temp ,rega 
+6a3c 2022fec7 branch disable_user ,zero 
+6a3d 20206a2e branch search_uuid_in_data_loop 
+
+search_uuid_in_data_found_element_index5:
+6a3e 1a20a3fe increase -2 ,rega 
+6a3f 18c08c01 increase 1 ,contr 
+6a40 20206a2e branch search_uuid_in_data_loop 
+
+search_uuid_in_data_found_element_index6:
+6a41 1a20a3fd increase -3 ,rega 
+6a42 18c08c02 increase 2 ,contr 
+6a43 20206a2e branch search_uuid_in_data_loop 
+
+search_uuid_in_data_found_element_index7:
+6a44 1a20a3fb increase -5 ,rega 
+6a45 18c08c04 increase 4 ,contr 
+6a46 20206a2e branch search_uuid_in_data_loop 
+
+search_uuid_in_data_found_uuid:
+6a47 1a20a3ff increase -1 ,rega 
+6a48 1f227e00 copy loopcnt ,pdata 
+6a49 c000ea50 beq 1 ,search_uuid_in_data_type_uuid_16 
+6a4a c0016a4e beq 2 ,search_uuid_in_data_type_uuid_32 
+6a4b c0026a4d beq 4 ,search_uuid_in_data_type_uuid_128 
+6a4c 20207ec7 branch disable_user 
+
+search_uuid_in_data_type_uuid_128:
+6a4d 1a20a3f4 increase -12 ,rega 
+
+search_uuid_in_data_type_uuid_32:
+6a4e efe10006 ifetch 2 ,contr 
+6a4f 1a20a3fe increase -2 ,rega 
+
+search_uuid_in_data_type_uuid_16:
+6a50 efe10006 ifetch 2 ,contr 
+6a51 9a467c00 isub regb ,null 
+6a52 2022fec5 branch enable_user ,zero 
+6a53 1a20a3fe increase -2 ,rega 
+6a54 2022fec7 branch disable_user ,zero 
+6a55 20206a2e branch search_uuid_in_data_loop 
+
+sdp_send_spp_request:
+6a56 20405381 call l2cap_get_sdp_tx_payload 
+6a57 1fe20a00 copy pdata ,contw 
+6a58 58000006 setarg 6 
+6a59 e7e08005 istore 1 ,contw 
+6a5a 5800006e setarg sdp_tid_spp 
+6a5b e7e10005 istore 2 ,contw 
+6a5c 58000f00 setarg 0x0f00 
+6a5d e7e10005 istore 2 ,contw 
+6a5e 581a0535 setarg 0x1a0535 
+6a5f e7e18005 istore 3 ,contw 
+6a60 58000111 setarg 0x0111 
+6a61 1ff07e00 lshift16 pdata ,pdata 
+6a62 e7e20005 istore 4 ,contw 
+6a63 58002600 setarg 0x2600 
+6a64 e7e10005 istore 2 ,contw 
+6a65 58000335 setarg 0x0335 
+6a66 e7e10005 istore 2 ,contw 
+6a67 58000009 setarg 0x0009 
+6a68 e7e10005 istore 2 ,contw 
+6a69 58000004 setarg 0x0004 
+6a6a e7e10005 istore 2 ,contw 
+6a6b 70032614 jam 0x14 ,mem_sdp_tx_pkt_length 
+6a6c 20600000 rtn 
+
+function_g2:
+6a6d 4735402d bpatchx patch2d_2 ,mem_patch2d 
+6a6e 7004a750 jam 80 ,mem_aes_cmac_data_length 
+6a6f d8a004a8 arg memdat ,contw 
+6a70 d8c04337 arg mem_le_srand ,contr 
+6a71 20407d7f call memcpy16 
+6a72 d8c046df arg mem_sc_pubkey_local_x_256 ,contr 
+6a73 20407d7d call memcpy32 
+6a74 d8c00880 arg mem_le_pubkey_remote_x_256 ,contr 
+6a75 20407d7d call memcpy32 
+6a76 20406b28 call inverse_memdat 
+6a77 d8c00277 arg mem_le_mrand ,contr 
+6a78 20406b23 call store_inverse_k 
+6a79 20406aee call function_aes_cmac 
+6a7a d8a009be arg mem_aes_cmac_temp ,contw 
+6a7b 20406b1f call load_inverse_result 
+6a7c 580f4240 setarg 1000000 
+6a7d 1fe22200 copy pdata ,rega 
+6a7e 6fe209be fetch 4 ,mem_aes_cmac_temp 
+6a7f 9a26fc00 idiv rega 
+6a80 20407e64 call wait_div_end 
+6a81 18077e00 remainder pdata 
+6a82 67e2087c store 4 ,mem_gkey 
+6a83 20600000 rtn 
+
+function_f6_eb:
+6a84 7004a741 jam 65 ,mem_aes_cmac_data_length 
+6a85 d8a004a8 arg memdat ,contw 
+6a86 20406ad3 call store_addr_common_a 
+6a87 20406ace call store_addr_common_b 
+6a88 6fe1c351 fetch 3 ,mem_le_pres + 1 
+6a89 e7e18005 istore 3 ,contw 
+6a8a 20406a94 call get_r 
+6a8b d8c00277 arg mem_le_mrand ,contr 
+6a8c 20407d7f call memcpy16 
+6a8d d8c04337 arg mem_le_srand ,contr 
+6a8e 20407d7f call memcpy16 
+6a8f 20406b28 call inverse_memdat 
+6a90 d8c009de arg mem_le_mackey ,contr 
+6a91 d8a0098e arg mem_aes_cmac_k ,contw 
+6a92 20407d7f call memcpy16 
+6a93 20206aee branch function_aes_cmac 
+
+get_r:
+6a94 6fe2439e fetch 4 ,mem_le_tk 
+6a95 e7e20005 istore 4 ,contw 
+6a96 20407d94 call memset0_4 
+6a97 20207d91 branch memset0_8 
+
+function_f6_ea:
+6a98 4735c02d bpatchx patch2d_3 ,mem_patch2d 
+6a99 7004a741 jam 65 ,mem_aes_cmac_data_length 
+6a9a d8a004a8 arg memdat ,contw 
+6a9b 20406ace call store_addr_common_b 
+6a9c 20406ad3 call store_addr_common_a 
+6a9d 6fe1c34a fetch 3 ,mem_le_preq + 1 
+6a9e e7e18005 istore 3 ,contw 
+6a9f 20406a94 call get_r 
+6aa0 d8c04337 arg mem_le_srand ,contr 
+6aa1 20407d7f call memcpy16 
+6aa2 d8c00277 arg mem_le_mrand ,contr 
+6aa3 20407d7f call memcpy16 
+6aa4 20406b28 call inverse_memdat 
+6aa5 d8c009de arg mem_le_mackey ,contr 
+6aa6 d8a0098e arg mem_aes_cmac_k ,contw 
+6aa7 20407d7f call memcpy16 
+6aa8 20406aee call function_aes_cmac 
+6aa9 d8a009be arg mem_aes_cmac_temp ,contw 
+6aaa 20206b1f branch load_inverse_result 
+
+function_f5:
+6aab 7004a720 jam 32 ,mem_aes_cmac_data_length 
+6aac d8c008c0 arg mem_le_dhkey_256 ,contr 
+6aad d8a004a8 arg memdat ,contw 
+6aae 20407d7d call memcpy32 
+6aaf 20406b28 call inverse_memdat 
+6ab0 d8c00860 arg mem_le_slat ,contr 
+6ab1 20406b23 call store_inverse_k 
+6ab2 20406aee call function_aes_cmac 
+6ab3 d8a0098e arg mem_aes_cmac_k ,contw 
+6ab4 20406e3c call store_aes_result 
+6ab5 d8400001 arg 1 ,temp 
+6ab6 20406abd call function_f5_common 
+6ab7 d8a04316 arg mem_le_ltk ,contw 
+6ab8 20406b1f call load_inverse_result 
+6ab9 d8400000 arg 0 ,temp 
+6aba 20406abd call function_f5_common 
+6abb d8a009de arg mem_le_mackey ,contw 
+6abc 20206e3c branch store_aes_result 
+
+function_f5_common:
+6abd 4736402d bpatchx patch2d_4 ,mem_patch2d 
+6abe 7004a735 jam 53 ,mem_aes_cmac_data_length 
+6abf 58000100 setarg 0x100 
+6ac0 67e104a8 store 2 ,memdat 
+6ac1 20406ace call store_addr_common_b 
+6ac2 20406ad3 call store_addr_common_a 
+6ac3 d8c04337 arg mem_le_srand ,contr 
+6ac4 20407d7f call memcpy16 
+6ac5 d8c00277 arg mem_le_mrand ,contr 
+6ac6 20407d7f call memcpy16 
+6ac7 58006c65 setarg 0x6c65 
+6ac8 e7e10005 istore 2 ,contw 
+6ac9 58006274 setarg 0x6274 
+6aca e7e10005 istore 2 ,contw 
+6acb e0408005 istoret 1 ,contw 
+6acc 20406b28 call inverse_memdat 
+6acd 20206aee branch function_aes_cmac 
+
+store_addr_common_b:
+6ace 6fe3437a fetch 6 ,mem_le_lap 
+6acf e7e30005 istore 6 ,contw 
+6ad0 6fe0c371 fetch 1 ,mem_le_conn_own_addr_type 
+6ad1 e7e08005 istore 1 ,contw 
+6ad2 20600000 rtn 
+
+store_addr_common_a:
+6ad3 6fe30297 fetch 6 ,mem_le_plap 
+6ad4 e7e30005 istore 6 ,contw 
+6ad5 6fe0c36a fetch 1 ,mem_le_conn_peer_addr_type 
+6ad6 e7e08005 istore 1 ,contw 
+6ad7 20600000 rtn 
+
+function_f4_ca:
+6ad8 7004a741 jam 65 ,mem_aes_cmac_data_length 
+6ad9 6fe0c771 fetch 1 ,mem_passkey_1bit 
+6ada 67e084a8 store 1 ,memdat 
+6adb d8c046df arg mem_sc_pubkey_local_x_256 ,contr 
+6adc 20407d7d call memcpy32 
+6add d8c00880 arg mem_le_pubkey_remote_x_256 ,contr 
+6ade 20407d7d call memcpy32 
+6adf 20406b28 call inverse_memdat 
+6ae0 d8c00277 arg mem_le_mrand ,contr 
+6ae1 20406b23 call store_inverse_k 
+6ae2 20206aee branch function_aes_cmac 
+
+function_f4_cb:
+6ae3 7004a741 jam 65 ,mem_aes_cmac_data_length 
+6ae4 6fe0c771 fetch 1 ,mem_passkey_1bit 
+6ae5 67e084a8 store 1 ,memdat 
+6ae6 d8c00880 arg mem_le_pubkey_remote_x_256 ,contr 
+6ae7 20407d7d call memcpy32 
+6ae8 d8c046df arg mem_sc_pubkey_local_x_256 ,contr 
+6ae9 20407d7d call memcpy32 
+6aea 20406b28 call inverse_memdat 
+6aeb d8c04337 arg mem_le_srand ,contr 
+6aec 20406b23 call store_inverse_k 
+6aed 20206aee branch function_aes_cmac 
+
+function_aes_cmac:
+6aee 4736c02d bpatchx patch2d_5 ,mem_patch2d 
+6aef 20406b3d call function_aes_cmac_generate_subkey 
+6af0 6fe084a7 fetch 1 ,mem_aes_cmac_data_length 
+6af1 1fe20400 copy pdata ,temp 
+
+function_ceil16:
+6af2 1fe0fe0f increase 15 ,pdata 
+6af3 1ff1fe00 rshift4 pdata ,pdata 
+6af4 1fe22400 copy pdata ,regb 
+6af5 203a6b00 branch function_aes_cmac_set_flag_0_balnk ,blank 
+6af6 18417e0f and temp ,0x0f ,pdata 
+6af7 243a6b03 nbranch function_aes_cmac_set_flag_0 ,blank 
+6af8 da60099e arg mem_aes_cmac_k1 ,regc 
+6af9 dfe004a8 arg memdat ,pdata 
+6afa 1fe0fff0 increase -16 ,pdata 
+6afb 9840a200 iadd temp ,rega 
+6afc d8a009ce arg mem_aes_cmac_m_last ,contw 
+6afd df200004 arg 4 ,loopcnt 
+6afe 20407da4 call xor_loop 
+6aff 20206b0e branch function_aes_cmac_aes 
+
+function_aes_cmac_set_flag_0_balnk:
+6b00 da400001 arg 1 ,regb 
+6b01 da200000 arg 0 ,rega 
+6b02 20206b04 branch function_aes_cmac_set_flag_0_common 
+
+function_aes_cmac_set_flag_0:
+6b03 1841220f and temp ,0x0f ,rega 
+
+function_aes_cmac_set_flag_0_common:
+6b04 dfe004a8 arg memdat ,pdata 
+6b05 9840fe00 iadd temp ,pdata 
+6b06 9a260c00 isub rega ,contr 
+6b07 d8a009be arg mem_aes_cmac_temp ,contw 
+6b08 20406b63 call function_aes_cmac_padding 
+6b09 da6009ae arg mem_aes_cmac_k2 ,regc 
+6b0a da2009be arg mem_aes_cmac_temp ,rega 
+6b0b d8a009ce arg mem_aes_cmac_m_last ,contw 
+6b0c df200004 arg 4 ,loopcnt 
+6b0d 20407da4 call xor_loop 
+
+function_aes_cmac_aes:
+6b0e 20406e36 call aes_clear_data 
+6b0f 20406dca call aes_init 
+6b10 d8c004a8 arg memdat ,contr 
+
+function_aes_cmac_aes_loop:
+6b11 1a40a5ff increase -1 ,regb 
+6b12 1a427e00 deposit regb 
+6b13 203a6b17 branch function_aes_cmac_aes_loop_end ,blank 
+6b14 20406e28 call load_data128 
+6b15 20406dc4 call do_aes_cbc 
+6b16 20206b11 branch function_aes_cmac_aes_loop 
+
+function_aes_cmac_aes_loop_end:
+6b17 d8a009be arg mem_aes_cmac_temp ,contw 
+6b18 20406e3c call store_aes_result 
+6b19 d8c009ce arg mem_aes_cmac_m_last ,contr 
+6b1a 20406e28 call load_data128 
+6b1b 20406dca call aes_init 
+6b1c d8c009be arg mem_aes_cmac_temp ,contr 
+6b1d 20406e28 call load_data128 
+6b1e 20206dc4 branch do_aes_cbc 
+
+load_inverse_result:
+6b1f 18a22200 copy contw ,rega 
+6b20 20406e3c call store_aes_result 
+6b21 df200010 arg 16 ,loopcnt 
+6b22 20207dac branch inverse_data 
+
+store_inverse_k:
+6b23 d8a0098e arg mem_aes_cmac_k ,contw 
+6b24 20407d7f call memcpy16 
+
+inverse_k:
+6b25 df200010 arg 16 ,loopcnt 
+6b26 da20098e arg mem_aes_cmac_k ,rega 
+6b27 20207dac branch inverse_data 
+
+inverse_memdat:
+6b28 6fe084a7 fetch 1 ,mem_aes_cmac_data_length 
+6b29 1fe27200 copy pdata ,loopcnt 
+6b2a da2004a8 arg memdat ,rega 
+6b2b 20207dac branch inverse_data 
+
+bn_lshift_0_inverse:
+6b2c efe08011 ifetch 1 ,rega 
+6b2d 1fe3fe00 lshift pdata ,pdata 
+6b2e 2a6ffe00 isolate1 0 ,regc 
+6b2f 7920fe00 setflag true ,0 ,pdata 
+6b30 2feffe08 isolate1 8 ,pdata 
+6b31 7920a600 setflag true ,0 ,regc 
+6b32 e7e08011 istore 1 ,rega 
+6b33 1a20a3ff increase -1 ,rega 
+6b34 c2006b2c loop bn_lshift_0_inverse 
+6b35 20600000 rtn 
+
+function_aes_cmac_k1_inverse:
+6b36 da20099e arg mem_aes_cmac_k1 ,rega 
+
+function_aes_cmac_inverse_common:
+6b37 1a20a20f increase 15 ,rega 
+6b38 18007210 force 16 ,loopcnt 
+6b39 18002600 force 0 ,regc 
+6b3a 20206b2c branch bn_lshift_0_inverse 
+
+function_aes_cmac_k2_inverse:
+6b3b da2009ae arg mem_aes_cmac_k2 ,rega 
+6b3c 20206b37 branch function_aes_cmac_inverse_common 
+
+function_aes_cmac_generate_subkey:
+6b3d d8c0098e arg mem_aes_cmac_k ,contr 
+6b3e 20406e26 call load_key 
+6b3f 18007008 force regidx_xor ,regext_index 
+6b40 20406e37 call aes_clear 
+6b41 20406e36 call aes_clear_data 
+6b42 20406dc1 call do_aes_ocb 
+6b43 d8a0099e arg mem_aes_cmac_k1 ,contw 
+6b44 20406e3c call store_aes_result 
+
+function_aes_cmac_k1:
+6b45 4737402d bpatchx patch2d_6 ,mem_patch2d 
+6b46 6fe0899e fetch 1 ,mem_aes_cmac_k1 
+6b47 2feffe07 isolate1 7 ,pdata 
+6b48 2420eb4e nbranch function_aes_cmac_k1_0 ,true 
+6b49 20406b36 call function_aes_cmac_k1_inverse 
+6b4a da60099e arg mem_aes_cmac_k1 ,regc 
+6b4b d8a0099e arg mem_aes_cmac_k1 ,contw 
+6b4c 20406b58 call function_aes_cmac_xor_rb 
+6b4d 20206b4f branch function_aes_cmac_k2 
+
+function_aes_cmac_k1_0:
+6b4e 20406b36 call function_aes_cmac_k1_inverse 
+
+function_aes_cmac_k2:
+6b4f d8c0099e arg mem_aes_cmac_k1 ,contr 
+6b50 d8a009ae arg mem_aes_cmac_k2 ,contw 
+6b51 20407d7f call memcpy16 
+6b52 6fe089ae fetch 1 ,mem_aes_cmac_k2 
+6b53 2feffe07 isolate1 7 ,pdata 
+6b54 2420eb3b nbranch function_aes_cmac_k2_inverse ,true 
+6b55 20406b3b call function_aes_cmac_k2_inverse 
+6b56 da6009ae arg mem_aes_cmac_k2 ,regc 
+6b57 d8a009ae arg mem_aes_cmac_k2 ,contw 
+
+function_aes_cmac_xor_rb:
+6b58 df200003 arg 3 ,loopcnt 
+
+function_aes_cmac_xor_rb_loop:
+6b59 d8400000 arg 0 ,temp 
+6b5a 20406b5f call function_aes_cmac_xor_loop_common 
+6b5b 1a60a604 increase 4 ,regc 
+6b5c c2006b59 loop function_aes_cmac_xor_rb_loop 
+6b5d d8408700 arg 0x8700 ,temp 
+6b5e 18500400 lshift16 temp ,temp 
+
+function_aes_cmac_xor_loop_common:
+6b5f efe20013 ifetch 4 ,regc 
+6b60 9842fe00 ixor temp ,pdata 
+6b61 e7e20005 istore 4 ,contw 
+6b62 20600000 rtn 
+
+function_aes_cmac_padding:
+6b63 4737c02d bpatchx patch2d_7 ,mem_patch2d 
+6b64 df200010 arg 16 ,loopcnt 
+6b65 dfe00000 arg 0 ,pdata 
+
+function_aes_cmac_padding_loop:
+6b66 9a267c00 isub rega ,null 
+6b67 2022eb6e branch function_aes_cmac_padding_beq_length ,zero 
+6b68 20216b71 branch function_aes_cmac_padding_big_length ,positive 
+6b69 e8408006 ifetcht 1 ,contr 
+6b6a e0408005 istoret 1 ,contw 
+
+function_aes_cmac_padding_loop2:
+6b6b 1fe0fe01 increase 1 ,pdata 
+6b6c c2006b66 loop function_aes_cmac_padding_loop 
+6b6d 20600000 rtn 
+
+function_aes_cmac_padding_beq_length:
+6b6e d8400080 arg 0x80 ,temp 
+
+function_aes_cmac_padding_common:
+6b6f e0408005 istoret 1 ,contw 
+6b70 20206b6b branch function_aes_cmac_padding_loop2 
+
+function_aes_cmac_padding_big_length:
+6b71 d8400000 arg 0 ,temp 
+6b72 20206b6f branch function_aes_cmac_padding_common 
+
+generate_kinit:
+6b73 20406b86 call function_e22 
+6b74 d8c00454 arg mem_input_store ,contr 
+6b75 d8a00444 arg mem_kinit ,contw 
+6b76 20207d7f branch memcpy16 
+
+function_e21:
+6b77 78547c00 disable user 
+6b78 20406c7d call function_expand 
+6b79 d8c00424 arg mem_random_number ,contr 
+6b7a d8a00464 arg mem_x ,contw 
+6b7b 1800720f force 15 ,loopcnt 
+6b7c 20407dd4 call memcpy 
+6b7d efe08006 ifetch 1 ,contr 
+6b7e 1fe2fe06 xor_into 6 ,pdata 
+6b7f e7e08005 istore 1 ,contw 
+6b80 58000474 setarg mem_y 
+6b81 67e10498 store 2 ,memp_ar_input 
+6b82 58000464 setarg mem_x 
+6b83 67e10496 store 2 ,memp_ar_key 
+6b84 79200012 set1 mark_ar2 ,mark 
+6b85 20206bc6 branch function_ar 
+
+function_e22:
+6b86 6848c796 fetcht 1 ,mem_pin_length 
+6b87 18002410 force 16 ,regb 
+6b88 1840a606 add temp ,6 ,regc 
+6b89 1a667c10 sub regc ,16 ,null 
+6b8a 20216b8c branch function_e22_pin_init ,positive 
+6b8b 18002610 force 16 ,regc 
+
+function_e22_pin_init:
+6b8c d8a00464 arg mem_x ,contw 
+
+function_e22_genx_pin:
+6b8d d8c04797 arg mem_pin ,contr 
+6b8e 18427200 copy temp ,loopcnt 
+6b8f 78547c00 disable user 
+
+function_e22_genx_loop:
+6b90 efe08006 ifetch 1 ,contr 
+6b91 e7e08005 istore 1 ,contw 
+6b92 1a40a5ff increase -1 ,regb 
+6b93 2022eb9a branch function_e22_genx_end ,zero 
+6b94 c2006b90 loop function_e22_genx_loop 
+6b95 20346b8d branch function_e22_genx_pin ,user 
+6b96 78347c00 enable user 
+6b97 18007206 force 6 ,loopcnt 
+6b98 1a220c00 copy rega ,contr 
+6b99 20206b90 branch function_e22_genx_loop 
+
+function_e22_genx_end:
+6b9a d8c00424 arg mem_random_number ,contr 
+6b9b d8a00474 arg mem_y ,contw 
+6b9c 20407d7f call memcpy16 
+6b9d 6fe08483 fetch 1 ,mem_y15 
+6b9e 9a62fe00 ixor regc ,pdata 
+6b9f 67e08483 store 1 ,mem_y15 
+6ba0 58000474 setarg mem_y 
+6ba1 67e10498 store 2 ,memp_ar_input 
+6ba2 58000464 setarg mem_x 
+6ba3 67e10496 store 2 ,memp_ar_key 
+6ba4 79200012 set1 mark_ar2 ,mark 
+6ba5 20206bc6 branch function_ar 
+
+function_e1:
+6ba6 78547c00 disable user 
+6ba7 20406c7d call function_expand 
+6ba8 20206bb0 branch function_hash 
+
+function_e3:
+6ba9 da200056 arg mem_aco ,rega 
+6baa 78347c00 enable user 
+6bab 20406c7d call function_expand 
+6bac 20406bb0 call function_hash 
+6bad d8c00454 arg mem_input_store ,contr 
+6bae d8a00062 arg mem_kc ,contw 
+6baf 20207d7f branch memcpy16 
+
+function_hash:
+6bb0 58000424 setarg mem_random_number 
+6bb1 67e10498 store 2 ,memp_ar_input 
+6bb2 580041cb setarg mem_link_key 
+6bb3 67e10496 store 2 ,memp_ar_key 
+6bb4 793f8012 set0 mark_ar2 ,mark 
+6bb5 20406bc6 call function_ar 
+6bb6 da200454 arg mem_input_store ,rega 
+6bb7 da400424 arg mem_random_number ,regb 
+6bb8 d8a00464 arg mem_x ,contw 
+6bb9 20406c70 call xor16 
+6bba da200464 arg mem_x ,rega 
+6bbb da400474 arg mem_y ,regb 
+6bbc 1a420a00 copy regb ,contw 
+6bbd 78347c00 enable user 
+6bbe 20406c6e call add16 
+6bbf 20406c88 call key_offset 
+6bc0 58000474 setarg mem_y 
+6bc1 67e10498 store 2 ,memp_ar_input 
+6bc2 58000464 setarg mem_x 
+6bc3 67e10496 store 2 ,memp_ar_key 
+6bc4 79200012 set1 mark_ar2 ,mark 
+6bc5 20206bc6 branch function_ar 
+
+function_ar:
+6bc6 70049a00 jam 0 ,mem_ar_hround 
+6bc7 6fe10496 fetch 2 ,memp_ar_key 
+6bc8 98000c00 iforce contr 
+6bc9 d8a00484 arg mem_key_store ,contw 
+6bca 20407d7f call memcpy16 
+6bcb 6fe10498 fetch 2 ,memp_ar_input 
+6bcc 98000c00 iforce contr 
+6bcd d8a00454 arg mem_input_store ,contw 
+6bce 20407d7f call memcpy16 
+
+function_ar_loop:
+6bcf 20406bed call key_scheduling 
+6bd0 78547c00 disable user 
+6bd1 c5896bd7 bmark0 mark_ar2 ,function_ar_original 
+6bd2 6fe0849a fetch 1 ,mem_ar_hround 
+6bd3 c0826bd7 bne 4 ,function_ar_original 
+6bd4 6fe10498 fetch 2 ,memp_ar_input 
+6bd5 98002400 iforce regb 
+6bd6 20406c1f call xor_mod32_ar2 
+
+function_ar_original:
+6bd7 20406c1e call xor_mod32 
+6bd8 20406c31 call el_boxes 
+6bd9 6fe0849a fetch 1 ,mem_ar_hround 
+6bda 1fe0fe01 increase 1 ,pdata 
+6bdb 67e0849a store 1 ,mem_ar_hround 
+6bdc 20406bed call key_scheduling 
+6bdd 78347c00 enable user 
+6bde 20406c1e call xor_mod32 
+6bdf 20406c40 call pht 
+6be0 20406c4f call permute 
+6be1 20406c40 call pht 
+6be2 20406c4f call permute 
+6be3 20406c40 call pht 
+6be4 20406c4f call permute 
+6be5 20406c40 call pht 
+6be6 6fe0849a fetch 1 ,mem_ar_hround 
+6be7 1fe0fe01 increase 1 ,pdata 
+6be8 67e0849a store 1 ,mem_ar_hround 
+6be9 c0886bcf bne 16 ,function_ar_loop 
+6bea 20406bed call key_scheduling 
+6beb 78547c00 disable user 
+6bec 20206c1e branch xor_mod32 
+
+key_scheduling:
+6bed 6fe0849a fetch 1 ,mem_ar_hround 
+6bee d8c00484 arg mem_key_store ,contr 
+6bef 203a6c14 branch key_sched_zero ,blank 
+6bf0 98002400 iforce regb 
+6bf1 18007211 force 17 ,loopcnt 
+6bf2 18c20a00 copy contr ,contw 
+
+key_rotateloop:
+6bf3 efe08006 ifetch 1 ,contr 
+6bf4 1fe98400 lshift3 pdata ,temp 
+6bf5 1feb7e00 rshift2 pdata ,pdata 
+6bf6 1fe97e00 rshift3 pdata ,pdata 
+6bf7 9841fe00 ior temp ,pdata 
+6bf8 e7e08005 istore 1 ,contw 
+6bf9 c2006bf3 loop key_rotateloop 
+6bfa 58000484 setarg mem_key_store 
+6bfb 9a408c00 iadd regb ,contr 
+6bfc 18007210 force 16 ,loopcnt 
+6bfd d8a00434 arg mem_round_key ,contw 
+
+key_select_octet_loop:
+6bfe efe08006 ifetch 1 ,contr 
+6bff e7e08005 istore 1 ,contw 
+6c00 28c1fe95 compare mem_key_store_end ,contr ,0xff 
+6c01 2420ec03 nbranch key_select_octet_nwrap ,true 
+6c02 18c08def increase -17 ,contr 
+
+key_select_octet_nwrap:
+6c03 c2006bfe loop key_select_octet_loop 
+6c04 18002200 force 0 ,rega 
+6c05 1a40a7ff add regb ,-1 ,regc 
+6c06 1a6ba600 lshift2 regc ,regc 
+6c07 1a6ba600 lshift2 regc ,regc 
+6c08 20406e5e call enable_authrom 
+6c09 58009000 setarg mem_b_box 
+6c0a 9a60a600 iadd regc ,regc 
+6c0b d8a00434 arg mem_round_key ,contw 
+6c0c 18007210 force 16 ,loopcnt 
+
+bias_round_key_loop:
+6c0d e8408013 ifetcht 1 ,regc 
+6c0e efe08005 ifetch 1 ,contw 
+6c0f 9840fe00 iadd temp ,pdata 
+6c10 e7e08005 istore 1 ,contw 
+6c11 1a60a601 increase 1 ,regc 
+6c12 c2006c0d loop bias_round_key_loop 
+6c13 20206e62 branch disable_authrom 
+
+key_sched_zero:
+6c14 18007210 force 16 ,loopcnt 
+6c15 18000400 force 0 ,temp 
+
+create_byte_16_loop:
+6c16 efe08006 ifetch 1 ,contr 
+6c17 98428400 ixor temp ,temp 
+6c18 c2006c16 loop create_byte_16_loop 
+6c19 18427e00 deposit temp 
+6c1a e7e08006 istore 1 ,contr 
+6c1b d8c00484 arg mem_key_store ,contr 
+6c1c d8a00434 arg mem_round_key ,contw 
+6c1d 20207d7f branch memcpy16 
+
+xor_mod32:
+6c1e da400434 arg mem_round_key ,regb 
+
+xor_mod32_ar2:
+6c1f 18007210 force 16 ,loopcnt 
+6c20 da200454 arg mem_input_store ,rega 
+6c21 1a220a00 copy rega ,contw 
+
+xor_mod32_loop:
+6c22 e8408011 ifetcht 1 ,rega 
+6c23 efe08012 ifetch 1 ,regb 
+6c24 9842e000 ixor temp ,alarm 
+6c25 1f212603 and loopcnt ,3 ,regc 
+6c26 24346c28 nbranch xor_mod32_invert ,user 
+6c27 1a62a603 xor_into 3 ,regc 
+
+xor_mod32_invert:
+6c28 1a662601 sub regc ,1 ,regc 
+6c29 20216c2b branch xor_even ,positive 
+6c2a 9840e000 iadd temp ,alarm 
+
+xor_even:
+6c2b 1e027e00 deposit alarm 
+6c2c e7e08005 istore 1 ,contw 
+6c2d 1a20a201 increase 1 ,rega 
+6c2e 1a40a401 increase 1 ,regb 
+6c2f c2006c22 loop xor_mod32_loop 
+6c30 20600000 rtn 
+
+el_boxes:
+6c31 20406e5e call enable_authrom 
+6c32 18007210 force 16 ,loopcnt 
+6c33 da200454 arg mem_input_store ,rega 
+
+el_box_loop:
+6c34 efe08011 ifetch 1 ,rega 
+6c35 d8c09100 arg mem_e_box ,contr 
+6c36 1f212603 and loopcnt ,3 ,regc 
+6c37 1a667c01 sub regc ,1 ,null 
+6c38 20216c3a branch e_boxes ,positive 
+6c39 d8c09200 arg mem_l_box ,contr 
+
+e_boxes:
+6c3a 98c08c00 iadd contr ,contr 
+6c3b efe08006 ifetch 1 ,contr 
+6c3c e7e08011 istore 1 ,rega 
+6c3d 1a20a201 increase 1 ,rega 
+6c3e c2006c34 loop el_box_loop 
+6c3f 20206e62 branch disable_authrom 
+
+pht:
+6c40 18007208 force 8 ,loopcnt 
+6c41 d8c00454 arg mem_input_store ,contr 
+6c42 18c20a00 copy contr ,contw 
+
+pht_loop:
+6c43 efe08006 ifetch 1 ,contr 
+6c44 98002200 iforce rega 
+6c45 efe08006 ifetch 1 ,contr 
+6c46 98002400 iforce regb 
+6c47 1a23fe00 lshift rega ,pdata 
+6c48 9a40fe00 iadd regb ,pdata 
+6c49 e7e08005 istore 1 ,contw 
+6c4a 1a227e00 deposit rega 
+6c4b 9a40fe00 iadd regb ,pdata 
+6c4c e7e08005 istore 1 ,contw 
+6c4d c2006c43 loop pht_loop 
+6c4e 20600000 rtn 
+
+permute:
+6c4f 588ae42c setarg 0x8ae42c 
+6c50 98000400 iforce temp 
+6c51 18007207 force 7 ,loopcnt 
+6c52 20406c5e call permute_exchange 
+6c53 580d751b setarg 0xd751b 
+6c54 98000400 iforce temp 
+6c55 18007205 force 5 ,loopcnt 
+6c56 20406c5e call permute_exchange 
+6c57 6fe08463 fetch 1 ,mem_input_store + 15 
+6c58 98002200 iforce rega 
+6c59 6fe08457 fetch 1 ,mem_input_store + 3 
+6c5a 67e08463 store 1 ,mem_input_store + 15 
+6c5b 1a227e00 deposit rega 
+6c5c 67e08457 store 1 ,mem_input_store + 3 
+6c5d 20600000 rtn 
+
+permute_exchange:
+6c5e 1841240f and temp ,0xf ,regb 
+
+permute_loop:
+6c5f 18417e0f and temp ,0xf ,pdata 
+6c60 d8a00454 arg mem_input_store ,contw 
+6c61 98a08a00 iadd contw ,contw 
+6c62 efe08005 ifetch 1 ,contw 
+6c63 98002600 iforce regc 
+6c64 1a227e00 deposit rega 
+6c65 e7e08005 istore 1 ,contw 
+6c66 1a622200 copy regc ,rega 
+6c67 18518400 rshift4 temp ,temp 
+6c68 c2006c5f loop permute_loop 
+6c69 58000454 setarg mem_input_store 
+6c6a 9a408a00 iadd regb ,contw 
+6c6b 1a227e00 deposit rega 
+6c6c e7e08005 istore 1 ,contw 
+6c6d 20600000 rtn 
+
+add16:
+6c6e 78347c00 enable user 
+6c6f 20206c71 branch xor_add16 
+
+xor16:
+6c70 78547c00 disable user 
+
+xor_add16:
+6c71 18007210 force 16 ,loopcnt 
+
+xoradd_loop:
+6c72 e8408011 ifetcht 1 ,rega 
+6c73 efe08012 ifetch 1 ,regb 
+6c74 20346c77 branch xoradd_add ,user 
+6c75 9842fe00 ixor temp ,pdata 
+6c76 20206c78 branch xoradd_store 
+
+xoradd_add:
+6c77 9840fe00 iadd temp ,pdata 
+
+xoradd_store:
+6c78 e7e08005 istore 1 ,contw 
+6c79 1a20a201 increase 1 ,rega 
+6c7a 1a40a401 increase 1 ,regb 
+6c7b c2006c72 loop xoradd_loop 
+6c7c 20600000 rtn 
+
+function_expand:
+6c7d d8a00474 arg mem_y ,contw 
+6c7e efe30011 ifetch 6 ,rega 
+6c7f e7e30005 istore 6 ,contw 
+6c80 20346c83 branch expand_12 ,user 
+6c81 efe30011 ifetch 6 ,rega 
+6c82 20206c84 branch expand_cont 
+
+expand_12:
+6c83 efe30006 ifetch 6 ,contr 
+
+expand_cont:
+6c84 e7e30005 istore 6 ,contw 
+6c85 efe20011 ifetch 4 ,rega 
+6c86 e7e20005 istore 4 ,contw 
+6c87 20600000 rtn 
+
+key_offset:
+6c88 d8c041cb arg mem_link_key ,contr 
+6c89 d8a00464 arg mem_x ,contw 
+6c8a d8400000 arg 0 ,temp 
+6c8b 588395a7 setarg 0x8395a7 
+6c8c 20406ca9 call concatenate_temp24 
+6c8d 58b3c1df setarg 0xb3c1df 
+6c8e 20406ca9 call concatenate_temp24 
+6c8f 5800e5e9 setarg 0xe5e9 
+6c90 20406caa call concatenate_temp16 
+6c91 18422800 copy temp ,regab 
+6c92 78547c00 disable user 
+6c93 20406c97 call key_addxor 
+6c94 1a820400 copy regab ,temp 
+6c95 78347c00 enable user 
+6c96 20206c97 branch key_addxor 
+
+key_addxor:
+6c97 18007208 force 8 ,loopcnt 
+
+key_addxor_loop:
+6c98 efe08006 ifetch 1 ,contr 
+6c99 2f200201 compare 1 ,loopcnt ,1 
+6c9a 20346c9e branch key_high ,user 
+6c9b 2020ec9f branch key_xor ,true 
+
+key_add:
+6c9c 9840fe00 iadd temp ,pdata 
+6c9d 20206ca0 branch key_store 
+
+key_high:
+6c9e 2020ec9c branch key_add ,true 
+
+key_xor:
+6c9f 9842fe00 ixor temp ,pdata 
+
+key_store:
+6ca0 e7e08005 istore 1 ,contw 
+6ca1 184c8400 rshift8 temp ,temp 
+6ca2 c2006c98 loop key_addxor_loop 
+6ca3 20600000 rtn 
+
+copy_aco:
+6ca4 6fe30458 fetch 6 ,mem_input_store + 4 
+6ca5 67e30056 store 6 ,mem_aco 
+6ca6 efe30006 ifetch 6 ,contr 
+6ca7 e7e30005 istore 6 ,contw 
+6ca8 20600000 rtn 
+
+concatenate_temp24:
+6ca9 184d0400 lshift8 temp ,temp 
+
+concatenate_temp16:
+6caa 18500400 lshift16 temp ,temp 
+6cab 98418400 ior temp ,temp 
+6cac 20600000 rtn 
+
+loop1:
+6cad 20206cad branch loop1 
+
+generate_stk:
+6cae 4738402e bpatchx patch2e_0 ,mem_patch2e 
+6caf 20406dcd call function_s1 
+6cb0 d8a04316 arg mem_le_ltk ,contw 
+6cb1 20206e3c branch store_aes_result 
+
+authenticate_rconfirm:
+6cb2 d8a04337 arg mem_le_srand ,contw 
+6cb3 2034ecb5 branch authenticate_mconfirm ,master 
+6cb4 d8a00277 arg mem_le_mrand ,contw 
+
+authenticate_mconfirm:
+6cb5 18c22200 copy contr ,rega 
+6cb6 20407d7f call memcpy16 
+6cb7 20406de2 call function_c1 
+6cb8 d8c04327 arg mem_le_rconfirm ,contr 
+6cb9 20206e55 branch compare_res 
+
+generate_confirm:
+6cba da200277 arg mem_le_mrand ,rega 
+6cbb 2034ecbd branch generate_mrand ,master 
+6cbc da204337 arg mem_le_srand ,rega 
+
+generate_mrand:
+6cbd 1a220a00 copy rega ,contw 
+6cbe 20405a8f call generate_random 
+6cbf 20206de2 branch function_c1 
+
+generate_sk:
+6cc0 d8c04384 arg mem_le_skdm ,contr 
+6cc1 20406e28 call load_data128 
+6cc2 d8c04316 arg mem_le_ltk ,contr 
+6cc3 20406e29 call load_regext 
+6cc4 18006c38 force 0x38 ,aes_ctrl 
+6cc5 18006c00 force 0x0 ,aes_ctrl 
+6cc6 20406dbf call wait_aes 
+6cc7 d8a002c7 arg mem_le_sk ,contw 
+6cc8 20206e3c branch store_aes_result 
+
+ccm_b0:
+6cc9 18007008 force regidx_xor ,regext_index 
+6cca 18007e49 force 0x49 ,pdata 
+6ccb 20206cd0 branch iv_common 
+
+first_block_counter:
+6ccc 18007e49 force 0x49 ,pdata 
+6ccd 20206ccf branch first_block 
+
+first_block_data:
+6cce 18007e01 force 1 ,pdata 
+
+first_block:
+6ccf 18007000 force regidx_data ,regext_index 
+
+iv_common:
+6cd0 184d5e00 lshift8 temp ,regext 
+6cd1 9de1de00 ior regext ,regext 
+6cd2 1f00f001 increase 1 ,regext_index 
+6cd3 184cde00 rshift8 temp ,regext 
+6cd4 1df15e00 rshift16 regext ,regext 
+6cd5 6fe146ad fetch 2 ,mem_ccm_iv 
+6cd6 1ff07e00 lshift16 pdata ,pdata 
+6cd7 9de1de00 ior regext ,regext 
+6cd8 1f00f001 increase 1 ,regext_index 
+6cd9 ede20006 ifetchr regext ,4 ,contr 
+6cda 1f00f001 increase 1 ,regext_index 
+6cdb efe10006 ifetch 2 ,contr 
+6cdc 1a30de00 byteswap rega ,regext 
+6cdd 1df05e00 lshift16 regext ,regext 
+6cde 9de1de00 ior regext ,regext 
+6cdf 1f00f001 increase 1 ,regext_index 
+6ce0 20600000 rtn 
+
+generate_mic:
+6ce1 1a608c01 add regc ,1 ,contr 
+6ce2 efe08006 ifetch 1 ,contr 
+6ce3 98002200 iforce rega 
+6ce4 20406ccc call first_block_counter 
+6ce5 20406dc1 call do_aes_ocb 
+6ce6 18007000 force regidx_data ,regext_index 
+6ce7 efe08013 ifetch 1 ,regc 
+6ce8 1fe17e03 and_into 0x3 ,pdata 
+6ce9 1ff05e00 lshift16 pdata ,regext 
+6cea 79205e08 set1 8 ,regext 
+6ceb 20406e31 call clear_hidata 
+6cec 20406dc4 call do_aes_cbc 
+6ced 1a227200 copy rega ,loopcnt 
+6cee 1a608c02 add regc ,2 ,contr 
+6cef 20406e10 call padding_data 
+
+generate_mic_loop:
+6cf0 20406e1a call aes_load_data 
+6cf1 20406dc4 call do_aes_cbc 
+6cf2 1f227e00 deposit loopcnt 
+6cf3 203a6cf5 branch generate_mic_end ,blank 
+6cf4 20206cf0 branch generate_mic_loop 
+
+generate_mic_end:
+6cf5 1800700c force regidx_result ,regext_index 
+6cf6 1de27e00 deposit regext 
+6cf7 67e2026f store 4 ,mem_le_mic 
+6cf8 20600000 rtn 
+
+aes_crypt_data:
+6cf9 1a20a201 increase 1 ,rega 
+6cfa 20406cce call first_block_data 
+6cfb 1a620c00 copy regc ,contr 
+6cfc 20406e24 call aes_load_xor 
+6cfd 20406dc7 call do_aes_ctr 
+6cfe 20406e43 call store_enc_data 
+6cff 1a60a610 increase 16 ,regc 
+6d00 1a40a5f0 increase -16 ,regb 
+6d01 20216cf9 branch aes_crypt_data ,positive 
+6d02 20600000 rtn 
+
+ccm_br_enc_new:
+6d03 20406db4 call ccm_init_common 
+6d04 4738c02e bpatchx patch2e_1 ,mem_patch2e 
+6d05 d8c00062 arg mem_kc ,contr 
+6d06 20406e26 call load_key 
+6d07 7080d500 jam 0 ,core_ccm_aad0 
+6d08 18217e0f and type ,0x0f ,pdata 
+6d09 1fe9fe00 lshift3 pdata ,pdata 
+6d0a 9881fe00 ior am_addr ,pdata 
+6d0b 67f080d6 store 1 ,core_ccm_aad1 
+6d0c 6fe0c1e4 fetch 1 ,mem_llid 
+6d0d 67f080d7 store 1 ,core_ccm_aad2 
+6d0e 627100d1 storer regc ,2 ,core_ccm_input_playload_addr 
+6d0f 627100d3 storer regc ,2 ,core_ccm_output_playload_addr 
+6d10 6a2146b5 fetchr rega ,2 ,mem_ccm_len 
+6d11 684ac69f fetcht 5 ,mem_ccm_pcnt_tx 
+6d12 20406d25 call ccm_br_check_0_length_continuation 
+6d13 20406cc9 call ccm_b0 
+6d14 70800a02 jam 2 ,core_ccm_ctrl 
+6d15 70800a03 jam 3 ,core_ccm_ctrl 
+6d16 6fe146b5 fetch 2 ,mem_ccm_len 
+6d17 67f100da store 2 ,core_ccm_inptr 
+6d18 1fe0fe04 increase 4 ,pdata 
+6d19 67e146b5 store 2 ,mem_ccm_len 
+6d1a 1a627e00 copy regc ,pdata 
+6d1b 9a20a200 iadd rega ,rega 
+6d1c 20406dbb call wait_ccm_done 
+6d1d df00000c arg regidx_result ,regext_index 
+6d1e e5e20011 istorer regext ,4 ,rega 
+6d1f 65e2026f storer regext ,4 ,mem_le_mic 
+6d20 20600000 rtn 
+
+ccm_br_pcnt_tx_add:
+6d21 6fe2c69f fetch 5 ,mem_ccm_pcnt_tx 
+6d22 1fe0fe01 increase 1 ,pdata 
+6d23 67e2c69f store 5 ,mem_ccm_pcnt_tx 
+6d24 20206d2b branch ccm_br_pcnt_tx_set 
+
+ccm_br_check_0_length_continuation:
+6d25 6fe0c1e4 fetch 1 ,mem_llid 
+6d26 c1808000 rtnne llid_l2cap_cont 
+6d27 6fe146b5 fetch 2 ,mem_ccm_len 
+6d28 247a0000 nrtn blank 
+6d29 79200424 set1 br_ccm_0_length_continuation ,temp 
+6d2a 20600000 rtn 
+
+ccm_br_pcnt_tx_set:
+6d2b 6fe0c6a3 fetch 1 ,mem_ccm_pcnt_tx + 4 
+6d2c 1fe17e0f and pdata ,0x0f ,pdata 
+6d2d 1fe1fe20 or pdata ,0x20 ,pdata 
+6d2e 67e0c6a3 store 1 ,mem_ccm_pcnt_tx + 4 
+6d2f 20600000 rtn 
+
+ccm_br_pcnt_rx_set:
+6d30 6fe0c6a8 fetch 1 ,mem_ccm_pcnt_rx + 4 
+6d31 1fe17e0f and pdata ,0x0f ,pdata 
+6d32 67e0c6a8 store 1 ,mem_ccm_pcnt_rx + 4 
+6d33 20600000 rtn 
+
+ccm_br_decrypt_new:
+6d34 18a27e00 copy contw ,pdata 
+6d35 684900ae fetcht 2 ,mem_len 
+6d36 18408404 increase 4 ,temp 
+6d37 98467e00 isub temp ,pdata 
+6d38 67e146b7 store 2 ,mem_ccm_rx_ptr 
+6d39 67f100d1 store 2 ,core_ccm_input_playload_addr 
+6d3a 67f100d3 store 2 ,core_ccm_output_playload_addr 
+6d3b 20407ecb call disable_user2 
+6d3c 20406db4 call ccm_init_common 
+6d3d d8c00062 arg mem_kc ,contr 
+6d3e 20406e26 call load_key 
+6d3f 7080d500 jam 0 ,core_ccm_aad0 
+6d40 6fe08019 fetch 1 ,mem_rx_type 
+6d41 1fe17e0f and pdata ,0x0f ,pdata 
+6d42 1fe9fe00 lshift3 pdata ,pdata 
+6d43 9881fe00 ior am_addr ,pdata 
+6d44 67f080d6 store 1 ,core_ccm_aad1 
+6d45 6fe080e4 fetch 1 ,mem_lch_code 
+6d46 1fe17e03 and pdata ,0x3 ,pdata 
+6d47 67e0c1e4 store 1 ,mem_llid 
+6d48 67f080d7 store 1 ,core_ccm_aad2 
+6d49 6a2100ae fetchr rega ,2 ,mem_len 
+6d4a 622146b5 storer rega ,2 ,mem_ccm_len 
+6d4b 6fe146b7 fetch 2 ,mem_ccm_rx_ptr 
+6d4c 9a208c00 iadd rega ,contr 
+6d4d 18007000 force regidx_data ,regext_index 
+6d4e ede20006 ifetchr regext ,4 ,contr 
+6d4f 65e20273 storer regext ,4 ,mem_le_peer_mic 
+6d50 684ac6a4 fetcht 5 ,mem_ccm_pcnt_rx 
+6d51 20406d25 call ccm_br_check_0_length_continuation 
+6d52 20406cc9 call ccm_b0 
+6d53 70800a06 jam 6 ,core_ccm_ctrl 
+6d54 70800a07 jam 7 ,core_ccm_ctrl 
+6d55 6fe100ae fetch 2 ,mem_len 
+6d56 67f100da store 2 ,core_ccm_inptr 
+6d57 20406dbb call wait_ccm_done 
+6d58 6ff08108 fetch 1 ,core_misc_status 
+6d59 c4038000 rtnbit0 7 
+6d5a 20207ec9 branch enable_user2 
+
+ccm_br_pcnt_rx_add:
+6d5b c6078000 rtnmark1 mark_old_packet 
+6d5c 684a0273 fetcht 4 ,mem_le_peer_mic 
+6d5d 604a46a9 storet 4 ,mem_ccm_last_mic 
+6d5e 6fe2c6a4 fetch 5 ,mem_ccm_pcnt_rx 
+6d5f 1fe0fe01 increase 1 ,pdata 
+6d60 67e2c6a4 store 5 ,mem_ccm_pcnt_rx 
+6d61 20206d30 branch ccm_br_pcnt_rx_set 
+
+le_decrypt_new:
+6d62 20406db4 call ccm_init_common 
+6d63 7080d500 jam 0 ,core_ccm_aad0 
+6d64 7080d601 jam 1 ,core_ccm_aad1 
+6d65 6fe0816b fetch 1 ,mem_le_rxbuf_data_header 
+6d66 1fe17e03 and_into 0x3 ,pdata 
+6d67 67f080d7 store 1 ,core_ccm_aad2 
+6d68 5800016d setarg mem_le_rxbuf_data_payload 
+6d69 67f100d1 store 2 ,core_ccm_input_playload_addr 
+6d6a 67f100d3 store 2 ,core_ccm_output_playload_addr 
+6d6b 6a20816c fetchr rega ,1 ,mem_le_rxbuf_data_length 
+6d6c 1a20a3fc increase -4 ,rega 
+6d6d 24217ecf nbranch disable_blank ,positive 
+6d6e 6220816c storer rega ,1 ,mem_le_rxbuf_data_length 
+6d6f 5800016d setarg mem_le_rxbuf_data_payload 
+6d70 9a208c00 iadd rega ,contr 
+6d71 18007000 force regidx_data ,regext_index 
+6d72 ede20006 ifetchr regext ,4 ,contr 
+6d73 65e20273 storer regext ,4 ,mem_le_peer_mic 
+6d74 684ac6a4 fetcht 5 ,mem_ccm_pcnt_rx 
+6d75 20406cc9 call ccm_b0 
+6d76 70800a06 jam 6 ,core_ccm_ctrl 
+6d77 70800a07 jam 7 ,core_ccm_ctrl 
+6d78 6fe0816c fetch 1 ,mem_le_rxbuf_data_length 
+6d79 67f100da store 2 ,core_ccm_inptr 
+6d7a 20406dbb call wait_ccm_done 
+6d7b 6ff08108 fetch 1 ,core_misc_status 
+6d7c c303fecf bbit0 7 ,disable_blank 
+6d7d 684a0273 fetcht 4 ,mem_le_peer_mic 
+6d7e 6fe246a9 fetch 4 ,mem_ccm_last_mic 
+6d7f 98467e00 isub temp ,pdata 
+6d80 207a0000 rtn blank 
+6d81 604a46a9 storet 4 ,mem_ccm_last_mic 
+6d82 6fe2c6a4 fetch 5 ,mem_ccm_pcnt_rx 
+6d83 1fe0fe01 increase 1 ,pdata 
+6d84 79207e27 set1 le_ccm_directionbit ,pdata 
+6d85 67e2c6a4 store 5 ,mem_ccm_pcnt_rx 
+6d86 18007e00 force 0 ,pdata 
+6d87 20600000 rtn 
+
+le_encrypt_new:
+6d88 20406d8f call le_encrypt_new_start 
+6d89 580041f7 setarg mem_le_txpayload 
+6d8a 9a20a200 iadd rega ,rega 
+6d8b 20406dbb call wait_ccm_done 
+6d8c df00000c arg regidx_result ,regext_index 
+6d8d e5e20011 istorer regext ,4 ,rega 
+6d8e 20600000 rtn 
+
+le_encrypt_new_start:
+6d8f 20406db4 call ccm_init_common 
+6d90 4739402e bpatchx patch2e_2 ,mem_patch2e 
+6d91 7080d500 jam 0 ,core_ccm_aad0 
+6d92 7080d601 jam 1 ,core_ccm_aad1 
+6d93 6fe0c1f5 fetch 1 ,mem_le_txheader 
+6d94 1fe17e03 and_into 0x3 ,pdata 
+6d95 67f080d7 store 1 ,core_ccm_aad2 
+6d96 6fe1097b fetch 2 ,mem_contr 
+6d97 67f100d1 store 2 ,core_ccm_input_playload_addr 
+6d98 580041f7 setarg mem_le_txpayload 
+6d99 67f100d3 store 2 ,core_ccm_output_playload_addr 
+6d9a 6a20c1f6 fetchr rega ,1 ,mem_le_txlen 
+6d9b 684ac69f fetcht 5 ,mem_ccm_pcnt_tx 
+6d9c 20406cc9 call ccm_b0 
+6d9d 70800a02 jam 2 ,core_ccm_ctrl 
+6d9e 70800a03 jam 3 ,core_ccm_ctrl 
+6d9f 6fe0c1f6 fetch 1 ,mem_le_txlen 
+6da0 67f100da store 2 ,core_ccm_inptr 
+6da1 1fe0fe04 increase 4 ,pdata 
+6da2 67e0c1f6 store 1 ,mem_le_txlen 
+6da3 6fe2c69f fetch 5 ,mem_ccm_pcnt_tx 
+6da4 1fe0fe01 increase 1 ,pdata 
+6da5 793ffe27 set0 le_ccm_directionbit ,pdata 
+6da6 67e2c69f store 5 ,mem_ccm_pcnt_tx 
+6da7 20600000 rtn 
+
+ccm_wait_enc:
+6da8 6ff1011a fetch 2 ,core_ccm_outptr 
+6da9 98467c00 isub temp ,null 
+6daa 20628000 rtn zero 
+6dab 247a0000 nrtn blank 
+6dac 20206da8 branch ccm_wait_enc 
+
+ccm_check_enc_done:
+6dad 6ff08108 fetch 1 ,core_misc_status 
+6dae c303137c bbit0 6 ,assert 
+
+ccm_enc_done:
+6daf 580041f7 setarg mem_le_txpayload 
+6db0 98408a00 iadd temp ,contw 
+6db1 df00000c arg regidx_result ,regext_index 
+6db2 e5e20005 istorer regext ,4 ,contw 
+6db3 20206dbd branch ccm_ctrl_clr 
+
+ccm_init_common:
+6db4 4739c02e bpatchx patch2e_3 ,mem_patch2e 
+6db5 1800700c force regidx_result ,regext_index 
+6db6 20406e37 call aes_clear 
+6db7 20406e36 call aes_clear_data 
+6db8 58000000 setarg 0 
+6db9 67f100da store 2 ,core_ccm_inptr 
+6dba 20600000 rtn 
+
+wait_ccm_done:
+6dbb 6ff08108 fetch 1 ,core_misc_status 
+6dbc c3036dbb bbit0 6 ,wait_ccm_done 
+
+ccm_ctrl_clr:
+6dbd 70800a00 jam 0 ,core_ccm_ctrl 
+6dbe 20600000 rtn 
+
+wait_aes:
+6dbf 243bedbf nbranch wait_aes ,aes_ready 
+6dc0 20600000 rtn 
+
+do_aes_ocb:
+6dc1 18006c30 force 0x30 ,aes_ctrl 
+6dc2 18006c00 force 0x0 ,aes_ctrl 
+6dc3 20206dbf branch wait_aes 
+
+do_aes_cbc:
+6dc4 18006c32 force 0x32 ,aes_ctrl 
+6dc5 18006c02 force 0x2 ,aes_ctrl 
+6dc6 20206dbf branch wait_aes 
+
+do_aes_ctr:
+6dc7 18006c34 force 0x34 ,aes_ctrl 
+6dc8 18006c04 force 0x4 ,aes_ctrl 
+6dc9 20206dbf branch wait_aes 
+
+aes_init:
+6dca 18006c01 force 1 ,aes_ctrl 
+6dcb 18006c00 force 0 ,aes_ctrl 
+6dcc 20600000 rtn 
+
+function_s1:
+6dcd 18007000 force regidx_data ,regext_index 
+6dce 6fe20277 fetch 4 ,mem_le_mrand 
+6dcf 98005e00 iforce regext 
+6dd0 1f00f001 increase 1 ,regext_index 
+6dd1 efe20006 ifetch 4 ,contr 
+6dd2 98005e00 iforce regext 
+6dd3 1f00f001 increase 1 ,regext_index 
+6dd4 6fe24337 fetch 4 ,mem_le_srand 
+6dd5 98005e00 iforce regext 
+6dd6 1f00f001 increase 1 ,regext_index 
+6dd7 efe20006 ifetch 4 ,contr 
+6dd8 98005e00 iforce regext 
+6dd9 1f00f001 increase 1 ,regext_index 
+6dda 20406e37 call aes_clear 
+6ddb 1f00f1fc increase -4 ,regext_index 
+6ddc 6fe2439e fetch 4 ,mem_le_tk 
+6ddd 1fe25e00 copy pdata ,regext 
+6dde 1f00f004 increase 4 ,regext_index 
+6ddf 18006c38 force 0x38 ,aes_ctrl 
+6de0 18006c08 force 0x8 ,aes_ctrl 
+6de1 20206dbf branch wait_aes 
+
+function_c1:
+6de2 473a402e bpatchx patch2e_4 ,mem_patch2e 
+6de3 6fe3437a fetch 6 ,mem_le_lap 
+6de4 684b0297 fetcht 6 ,mem_le_plap 
+6de5 2034ede8 branch function_c1_master ,master 
+6de6 6fe30297 fetch 6 ,mem_le_plap 
+6de7 684b437a fetcht 6 ,mem_le_lap 
+
+function_c1_master:
+6de8 18007008 force regidx_xor ,regext_index 
+6de9 18425e00 copy temp ,regext 
+6dea 1f00f001 increase 1 ,regext_index 
+6deb 184f5e00 rshift32 temp ,regext 
+6dec 1ff07e00 lshift16 pdata ,pdata 
+6ded 9de1de00 ior regext ,regext 
+6dee 1f00f001 increase 1 ,regext_index 
+6def 1fef5e00 rshift32 pdata ,regext 
+6df0 1f00f001 increase 1 ,regext_index 
+6df1 18005e00 force 0 ,regext 
+6df2 18007e00 force 0 ,pdata 
+6df3 6fe0c36a fetch 1 ,mem_le_conn_peer_addr_type 
+6df4 6848c42b fetcht 1 ,mem_le_adv_own_addr_type 
+6df5 2434edf8 nbranch function_c1_irat ,master 
+6df6 6fe0c371 fetch 1 ,mem_le_conn_own_addr_type 
+6df7 6848c36a fetcht 1 ,mem_le_conn_peer_addr_type 
+
+function_c1_irat:
+6df8 67e0c347 store 1 ,mem_le_iat 
+6df9 6048c348 storet 1 ,mem_le_rat 
+6dfa 18007000 force regidx_data ,regext_index 
+6dfb da404347 arg mem_le_iat ,regb 
+6dfc 18007204 force 4 ,loopcnt 
+
+function_c1_loop1:
+6dfd efe20011 ifetch 4 ,rega 
+6dfe e8420012 ifetcht 4 ,regb 
+6dff 9842de00 ixor temp ,regext 
+6e00 1f00f001 increase 1 ,regext_index 
+6e01 1a20a204 increase 4 ,rega 
+6e02 1a40a404 increase 4 ,regb 
+6e03 c2006dfd loop function_c1_loop1 
+6e04 20406e37 call aes_clear 
+6e05 1f00f1fc increase -4 ,regext_index 
+6e06 6fe2439e fetch 4 ,mem_le_tk 
+6e07 1fe25e00 copy pdata ,regext 
+6e08 1f00f004 increase 4 ,regext_index 
+6e09 18006c38 force 0x38 ,aes_ctrl 
+6e0a 18006c0c force 0xc ,aes_ctrl 
+6e0b 20406dbf call wait_aes 
+6e0c 20406e36 call aes_clear_data 
+6e0d 18006c3a force 0x3a ,aes_ctrl 
+6e0e 18006c08 force 0x8 ,aes_ctrl 
+6e0f 20206dbf branch wait_aes 
+
+padding_data:
+6e10 2f200600 compare 0 ,loopcnt ,3 
+6e11 20608000 rtn true 
+6e12 18c27e00 deposit contr 
+6e13 9f208a00 iadd loopcnt ,contw 
+6e14 18007e00 force 0 ,pdata 
+
+padding_loop:
+6e15 e7e08005 istore 1 ,contw 
+6e16 1f20f201 increase 1 ,loopcnt 
+6e17 2f200600 compare 0 ,loopcnt ,3 
+6e18 20608000 rtn true 
+6e19 20206e15 branch padding_loop 
+
+aes_load_data:
+6e1a 18007000 force regidx_data ,regext_index 
+
+load_data_loop:
+6e1b 1f227e00 deposit loopcnt 
+6e1c 203a6e1f branch load_data_padding ,blank 
+6e1d efe20006 ifetch 4 ,contr 
+6e1e 1f20f3fc increase -4 ,loopcnt 
+
+load_data_padding:
+6e1f 98005e00 iforce regext 
+6e20 1f00f001 increase 1 ,regext_index 
+6e21 2f001e04 compare regidx_key ,regext_index ,0xf 
+6e22 20608000 rtn true 
+6e23 20206e1b branch load_data_loop 
+
+aes_load_xor:
+6e24 18007008 force regidx_xor ,regext_index 
+6e25 20206e29 branch load_regext 
+
+load_key:
+6e26 18007004 force regidx_key ,regext_index 
+6e27 20206e29 branch load_regext 
+
+load_data128:
+6e28 18007000 force regidx_data ,regext_index 
+
+load_regext:
+6e29 18007204 force 4 ,loopcnt 
+
+load_regext_loop:
+6e2a efe20006 ifetch 4 ,contr 
+6e2b 98005e00 iforce regext 
+6e2c 1f00f001 increase 1 ,regext_index 
+6e2d c2006e2a loop load_regext_loop 
+6e2e 20600000 rtn 
+
+load_sk:
+6e2f d8c002c7 arg mem_le_sk ,contr 
+6e30 20206e26 branch load_key 
+
+clear_hidata:
+6e31 18007204 force 4 ,loopcnt 
+6e32 20206e39 branch clear_data_rest 
+
+regext_clear:
+6e33 18007000 force 0 ,regext_index 
+6e34 18007210 force 16 ,loopcnt 
+6e35 20206e38 branch clear_loop 
+
+aes_clear_data:
+6e36 18007000 force regidx_data ,regext_index 
+
+aes_clear:
+6e37 18007204 force 4 ,loopcnt 
+
+clear_loop:
+6e38 18005e00 force 0 ,regext 
+
+clear_data_rest:
+6e39 1f00f001 increase 1 ,regext_index 
+6e3a c2006e38 loop clear_loop 
+6e3b 20600000 rtn 
+
+store_aes_result:
+6e3c 1800700c force regidx_result ,regext_index 
+6e3d 18007204 force 4 ,loopcnt 
+
+send_aes_result_loop:
+6e3e 1de27e00 deposit regext 
+6e3f e7e20005 istore 4 ,contw 
+6e40 1f00f001 increase 1 ,regext_index 
+6e41 c2006e3e loop send_aes_result_loop 
+6e42 20600000 rtn 
+
+store_enc_data:
+6e43 1800700c force regidx_result ,regext_index 
+6e44 1a620a00 copy regc ,contw 
+6e45 1a40f201 add regb ,1 ,loopcnt 
+6e46 1f267c0f sub loopcnt ,15 ,null 
+6e47 20216e49 branch store_enc_loop ,positive 
+6e48 18007210 force 16 ,loopcnt 
+
+store_enc_loop:
+6e49 1de27e00 deposit regext 
+6e4a 1f267c03 sub loopcnt ,3 ,null 
+6e4b 20216e51 branch store_enc_byte ,positive 
+6e4c e7e20005 istore 4 ,contw 
+6e4d 1f20f3fc increase -4 ,loopcnt 
+6e4e 20628000 rtn zero 
+6e4f 1f00f001 increase 1 ,regext_index 
+6e50 20206e49 branch store_enc_loop 
+
+store_enc_byte:
+6e51 e7e08005 istore 1 ,contw 
+6e52 1fecfe00 rshift8 pdata ,pdata 
+6e53 c2006e51 loop store_enc_byte 
+6e54 20600000 rtn 
+
+compare_res:
+6e55 1800700c force regidx_result ,regext_index 
+6e56 18007204 force 4 ,loopcnt 
+
+compare_res_loop:
+6e57 efe20006 ifetch 4 ,contr 
+6e58 9de67c00 isub regext ,null 
+6e59 24628000 nrtn zero 
+6e5a 1f00f001 increase 1 ,regext_index 
+6e5b c2006e57 loop compare_res_loop 
+6e5c 18007c00 force 0 ,null 
+6e5d 20600000 rtn 
+
+enable_authrom:
+6e5e 6ff08050 fetch 1 ,core_clkoff 
+6e5f 793ffe00 set0 clock_off_auth_rom ,pdata 
+6e60 67f08050 store 1 ,core_clkoff 
+6e61 20600000 rtn 
+
+disable_authrom:
+6e62 6ff08050 fetch 1 ,core_clkoff 
+6e63 79207e00 set1 clock_off_auth_rom ,pdata 
+6e64 67f08050 store 1 ,core_clkoff 
+6e65 20600000 rtn 
+
+init_memp:
+6e66 d8a00748 arg mem_p ,contw 
+6e67 3803ffff setsect 0 ,0x3ffff 
+6e68 3807ffff setsect 1 ,0x3ffff 
+6e69 380bffff setsect 2 ,0x3ffff 
+6e6a 380ffbff setsect 3 ,0x3fbff 
+6e6b e7e48005 istore 9 ,contw 
+6e6c 3803ffff setsect 0 ,0x3ffff 
+6e6d 3807ffff setsect 1 ,0x3ffff 
+6e6e 380bffff setsect 2 ,0x3ffff 
+6e6f 380fffff setsect 3 ,0x3ffff 
+6e70 e7e48005 istore 9 ,contw 
+6e71 3803ffff setsect 0 ,0x3ffff 
+6e72 3807ffff setsect 1 ,0x3ffff 
+6e73 380bcfff setsect 2 ,0x3cfff 
+6e74 380fffff setsect 3 ,0x3ffff 
+6e75 e7e48005 istore 9 ,contw 
+6e76 3803ffff setsect 0 ,0x3ffff 
+6e77 3807ffff setsect 1 ,0x3ffff 
+6e78 380bffef setsect 2 ,0x3ffef 
+6e79 380fffff setsect 3 ,0x3ffff 
+6e7a e7e48005 istore 9 ,contw 
+6e7b 3803ffff setsect 0 ,0x3ffff 
+6e7c 3807ffff setsect 1 ,0x3ffff 
+6e7d 380bffff setsect 2 ,0x3ffff 
+6e7e 380fffff setsect 3 ,0x3ffff 
+6e7f e7e48005 istore 9 ,contw 
+6e80 3803ffff setsect 0 ,0x3ffff 
+6e81 38066c7f setsect 1 ,0x26c7f 
+6e82 3808146b setsect 2 ,0x146b 
+6e83 380f7bb3 setsect 3 ,0x37bb3 
+6e84 e7e48005 istore 9 ,contw 
+6e85 3801feb8 setsect 0 ,0x1feb8 
+6e86 38050c12 setsect 1 ,0x10c12 
+6e87 380ab722 setsect 2 ,0x2b722 
+6e88 380e9fa6 setsect 3 ,0x29fa6 
+6e89 e7e48005 istore 9 ,contw 
+6e8a 3800e70f setsect 0 ,0xe70f 
+6e8b 38056720 setsect 1 ,0x16720 
+6e8c 3808519e setsect 2 ,0x519e 
+6e8d 380d9084 setsect 3 ,0x19084 
+6e8e e7e48005 istore 9 ,contw 
+6e8f 38031012 setsect 0 ,0x31012 
+6e90 380760bf setsect 1 ,0x360bf 
+6e91 380bf0af setsect 2 ,0x3f0af 
+6e92 380c03d3 setsect 3 ,0x3d3 
+6e93 e7e48005 istore 9 ,contw 
+6e94 3803a188 setsect 0 ,0x3a188 
+6e95 38043ad0 setsect 1 ,0x3ad0 
+6e96 380bcbf2 setsect 2 ,0x3cbf2 
+6e97 380e43d9 setsect 3 ,0x243d9 
+6e98 e7e48005 istore 9 ,contw 
+6e99 3802b030 setsect 0 ,0x2b030 
+6e9a 38076a03 setsect 1 ,0x36a03 
+6e9b 38091188 setsect 2 ,0x11188 
+6e9c 380de520 setsect 3 ,0x1e520 
+6e9d e7e48005 istore 9 ,contw 
+6e9e 3803a11e setsect 0 ,0x3a11e 
+6e9f 3804fe5d setsect 1 ,0xfe5d 
+6ea0 3808dd57 setsect 2 ,0xdd57 
+6ea1 380dac93 setsect 3 ,0x1ac93 
+6ea2 e7e48005 istore 9 ,contw 
+6ea3 380011ed setsect 0 ,0x11ed 
+6ea4 380618c4 setsect 1 ,0x218c4 
+6ea5 38088da7 setsect 2 ,0x8da7 
+6ea6 380e57ff setsect 3 ,0x257ff 
+6ea7 e7e48005 istore 9 ,contw 
+6ea8 3803192b setsect 0 ,0x3192b 
+6ea9 38074641 setsect 1 ,0x34641 
+6eaa 3809be0c setsect 2 ,0x1be0c 
+6eab 380f66ad setsect 3 ,0x366ad 
+6eac e7e48005 istore 9 ,contw 
+6ead 38001f83 setsect 0 ,0x1f83 
+6eae 38055a23 setsect 1 ,0x15a23 
+6eaf 380bf9b0 setsect 2 ,0x3f9b0 
+6eb0 380c3949 setsect 3 ,0x3949 
+6eb1 e7e48005 istore 9 ,contw 
+6eb2 38013a51 setsect 0 ,0x13a51 
+6eb3 380553fd setsect 1 ,0x153fd 
+6eb4 380b372a setsect 2 ,0x3372a 
+6eb5 380cf1bb setsect 3 ,0xf1bb 
+6eb6 e7e48005 istore 9 ,contw 
+6eb7 3803ae85 setsect 0 ,0x3ae85 
+6eb8 3805eed9 setsect 1 ,0x1eed9 
+6eb9 38089e66 setsect 2 ,0x9e66 
+6eba 380c01a8 setsect 3 ,0x1a8 
+6ebb e7e40005 istore 8 ,contw 
+6ebc 20600000 rtn 
+
+init_memp_256:
+6ebd d8a007e0 arg mem_p_256 ,contw 
+6ebe 3803ffff setsect 0 ,0x3ffff 
+6ebf 3807ffff setsect 1 ,0x3ffff 
+6ec0 380bffff setsect 2 ,0x3ffff 
+6ec1 380fffff setsect 3 ,0x3ffff 
+6ec2 e7e48005 istore 9 ,contw 
+6ec3 3803ffff setsect 0 ,0x3ffff 
+6ec4 3804003f setsect 1 ,0x3f 
+6ec5 38080000 setsect 2 ,0x0 
+6ec6 380c0000 setsect 3 ,0x0 
+6ec7 e7e48005 istore 9 ,contw 
+6ec8 38000000 setsect 0 ,0x0 
+6ec9 38040000 setsect 1 ,0x0 
+6eca 38081000 setsect 2 ,0x1000 
+6ecb 380c0000 setsect 3 ,0x0 
+6ecc e7e48005 istore 9 ,contw 
+6ecd 3803ff00 setsect 0 ,0x3ff00 
+6ece 3807ffff setsect 1 ,0x3ffff 
+6ecf 380bffcf setsect 2 ,0x3ffcf 
+6ed0 380fffff setsect 3 ,0x3ffff 
+6ed1 e7e48005 istore 9 ,contw 
+6ed2 3803ffff setsect 0 ,0x3ffff 
+6ed3 3807ffff setsect 1 ,0x3ffff 
+6ed4 380bffff setsect 2 ,0x3ffff 
+6ed5 380c03ff setsect 3 ,0x3ff 
+6ed6 e7e48005 istore 9 ,contw 
+6ed7 38000000 setsect 0 ,0x0 
+6ed8 38040000 setsect 1 ,0x0 
+6ed9 38080000 setsect 2 ,0x0 
+6eda 380c0000 setsect 3 ,0x0 
+6edb e7e48005 istore 9 ,contw 
+6edc 38010000 setsect 0 ,0x10000 
+6edd 38040000 setsect 1 ,0x0 
+6ede 380bf000 setsect 2 ,0x3f000 
+6edf 380fffff setsect 3 ,0x3ffff 
+6ee0 e7e48005 istore 9 ,contw 
+6ee1 380296ff setsect 0 ,0x296ff 
+6ee2 38062630 setsect 1 ,0x22630 
+6ee3 380b945d setsect 2 ,0x3945d 
+6ee4 380fd284 setsect 3 ,0x3d284 
+6ee5 e7e48005 istore 9 ,contw 
+6ee6 380333a0 setsect 0 ,0x333a0 
+6ee7 38044b7a setsect 1 ,0x4b7a 
+6ee8 380837d8 setsect 2 ,0x37d8 
+6ee9 380fc9dc setsect 3 ,0x3c9dc 
+6eea e7e48005 istore 9 ,contw 
+6eeb 3803a440 setsect 0 ,0x3a440 
+6eec 3805b958 setsect 1 ,0x1b958 
+6eed 380b8bce setsect 2 ,0x38bce 
+6eee 380d091f setsect 3 ,0x1091f 
+6eef e7e48005 istore 9 ,contw 
+6ef0 3802e12c setsect 0 ,0x2e12c 
+6ef1 3805f47c setsect 1 ,0x1f47c 
+6ef2 380b56b1 setsect 2 ,0x356b1 
+6ef3 380efd47 setsect 3 ,0x2fd47 
+6ef4 e7e48005 istore 9 ,contw 
+6ef5 38006837 setsect 0 ,0x6837 
+6ef6 3806ed90 setsect 1 ,0x2ed90 
+6ef7 3809ecec setsect 2 ,0x1ecec 
+6ef8 380dacc5 setsect 3 ,0x1acc5 
+6ef9 e7e48005 istore 9 ,contw 
+6efa 38023357 setsect 0 ,0x23357 
+6efb 38058af3 setsect 1 ,0x18af3 
+6efc 3808f9e1 setsect 2 ,0xf9e1 
+6efd 380d29f0 setsect 3 ,0x129f0 
+6efe e7e48005 istore 9 ,contw 
+6eff 3802e7eb setsect 0 ,0x2e7eb 
+6f00 3807e6e3 setsect 1 ,0x3e6e3 
+6f01 380be1a7 setsect 2 ,0x3e1a7 
+6f02 380d0b8b setsect 3 ,0x10b8b 
+6f03 e7e48005 istore 9 ,contw 
+6f04 38024fe3 setsect 0 ,0x24fe3 
+6f05 380420ef setsect 1 ,0x20ef 
+6f06 3809b5a6 setsect 2 ,0x1b5a6 
+6f07 380cdc2f setsect 3 ,0xdc2f 
+6f08 e7e48005 istore 9 ,contw 
+6f09 38013860 setsect 0 ,0x13860 
+6f0a 3806bd69 setsect 1 ,0x2bd69 
+6f0b 3808391a setsect 2 ,0x391a 
+6f0c 380db222 setsect 3 ,0x1b222 
+6f0d e7e48005 istore 9 ,contw 
+6f0e 20600000 rtn 
+
+publickey_init:
+6f0f 6fe0c767 fetch 1 ,mem_ssp_enable 
+6f10 243a6f2a nbranch sp_initialize ,blank 
+6f11 202075ac branch sp_initialize_256 
+
+sp_calc_sequence_256_check:
+6f12 473ac02e bpatchx patch2e_5 ,mem_patch2e 
+6f13 6fe0c767 fetch 1 ,mem_ssp_enable 
+6f14 207a0000 rtn blank 
+6f15 6fe0c6bc fetch 1 ,mem_sp_local_key_invalid 
+6f16 c1808000 rtnne sp_key_valid 
+6f17 6fe0c6bb fetch 1 ,mem_secure_connections_enable 
+6f18 207a0000 rtn blank 
+6f19 6fe0c6be fetch 1 ,mem_sc_local_key_invalid 
+6f1a c1018000 rtneq sp_key_valid_256 
+6f1b 6fe1478f fetch 2 ,mem_ui_state_map 
+6f1c c2806f20 bbit1 ui_state_bt_connected ,stop_publickey_calc_256 
+6f1d 6fe0c6bd fetch 1 ,mem_sc_calc 
+6f1e c00075ac beq sp_calc_standby ,sp_initialize_256 
+6f1f 20600000 rtn 
+
+stop_publickey_calc_256:
+6f20 7046bd00 jam sp_calc_standby ,mem_sc_calc 
+6f21 20600000 rtn 
+
+sp_br_secure_connection_enable:
+6f22 6fe0c6bb fetch 1 ,mem_secure_connections_enable 
+6f23 79207e01 set1 secure_connections_br_bit ,pdata 
+6f24 67e0c6bb store 1 ,mem_secure_connections_enable 
+6f25 20600000 rtn 
+
+sp_br_secure_connection_disable:
+6f26 6fe0c6bb fetch 1 ,mem_secure_connections_enable 
+6f27 793ffe01 set0 secure_connections_br_bit ,pdata 
+6f28 67e0c6bb store 1 ,mem_secure_connections_enable 
+6f29 20600000 rtn 
+
+sp_initialize:
+6f2a 473b402e bpatchx patch2e_6 ,mem_patch2e 
+6f2b 6fe0c767 fetch 1 ,mem_ssp_enable 
+6f2c 243a7066 nbranch sp_pubkey_calc ,blank 
+
+sp_reset:
+6f2d 20406f37 call sp_clear_flags 
+6f2e 7046bc00 jam sp_key_invalid ,mem_sp_local_key_invalid 
+6f2f 70087400 jam sp_calc_standby ,mem_sp_calc 
+6f30 20600000 rtn 
+
+sp_wait_pubkey_calc_done:
+6f31 6fe0c767 fetch 1 ,mem_ssp_enable 
+6f32 207a0000 rtn blank 
+6f33 6fe0c6bc fetch 1 ,mem_sp_local_key_invalid 
+6f34 c1008000 rtneq sp_key_valid 
+6f35 204070d7 call sp_calc_sequence 
+6f36 20206f31 branch sp_wait_pubkey_calc_done 
+
+sp_clear_flags:
+6f37 473bc02e bpatchx patch2e_7 ,mem_patch2e 
+6f38 58000880 setarg mem_sp_state_end 
+6f39 d8a00870 arg mem_sp_state_start ,contw 
+6f3a 98a67200 isub contw ,loopcnt 
+6f3b 20407d9b call clear_mem 
+6f3c 58004773 setarg mem_sp_state_xmem_end 
+6f3d d8a0476b arg mem_sp_state_xmem ,contw 
+6f3e 98a67200 isub contw ,loopcnt 
+6f3f 20207d9b branch clear_mem 
+
+sp_generate_local_key:
+6f40 70087201 jam sp_flag_commit ,mem_sp_flag 
+6f41 6fe0c648 fetch 1 ,mem_encapsulated_minor_type 
+6f42 c0016f45 beq encapsulated_minor_type_p256 ,sp_generate_local_key0_256 
+6f43 c000ef50 beq encapsulated_minor_type_p192 ,sp_generate_local_key0_192 
+6f44 20600000 rtn 
+
+sp_generate_local_key0_256:
+6f45 6fe0c6be fetch 1 ,mem_sc_local_key_invalid 
+6f46 c001ef48 beq sp_key_valid_256 ,sp_start_send_pubkey_256 
+6f47 202075cd branch sp_pubkey_calc_256 
+
+sp_start_send_pubkey_256:
+6f48 204075ec call sp_dhkey_calc_256 
+6f49 6fe08871 fetch 1 ,mem_master_sp_state 
+6f4a 247a0000 nrtn blank 
+6f4b 70087003 jam sp_stat_key_send ,mem_sp_state 
+6f4c 20600000 rtn 
+
+sp_master_generate_local_key:
+6f4d 6fe0c6bc fetch 1 ,mem_sp_local_key_invalid 
+6f4e c000f085 beq sp_key_valid ,sp_dhkey_calc 
+6f4f 2020137c branch assert 
+
+sp_generate_local_key0_192:
+6f50 6fe0c6bc fetch 1 ,mem_sp_local_key_invalid 
+6f51 c000ef53 beq sp_key_valid ,sp_start_send_pubkey 
+6f52 20207066 branch sp_pubkey_calc 
+
+sp_start_send_pubkey:
+6f53 20407085 call sp_dhkey_calc 
+6f54 6fe08871 fetch 1 ,mem_master_sp_state 
+6f55 247a0000 nrtn blank 
+6f56 70087003 jam sp_stat_key_send ,mem_sp_state 
+6f57 20600000 rtn 
+
+sp_calc_check_publickey_256:
+6f58 20406f73 call sp_calc_b256 
+6f59 da2008a0 arg mem_le_pubkey_remote_y_256 ,rega 
+6f5a d8a00728 arg mem_t7_256 ,contw 
+6f5b 204077cc call bn_sqrmod_256 
+6f5c da200880 arg mem_le_pubkey_remote_x_256 ,rega 
+6f5d d8a006e8 arg mem_t2_256 ,contw 
+6f5e 204077cc call bn_sqrmod_256 
+6f5f da2006e8 arg mem_t2_256 ,rega 
+6f60 da400880 arg mem_le_pubkey_remote_x_256 ,regb 
+6f61 d8a006e8 arg mem_t2_256 ,contw 
+6f62 20407734 call bn_mulmod_256 
+6f63 da200800 arg mem_a_256 ,rega 
+6f64 da400880 arg mem_le_pubkey_remote_x_256 ,regb 
+6f65 d8a00708 arg mem_t3_256 ,contw 
+6f66 20407734 call bn_mulmod_256 
+6f67 da200708 arg mem_t3_256 ,rega 
+6f68 da4006e8 arg mem_t2_256 ,regb 
+6f69 d8a006e8 arg mem_t2_256 ,contw 
+6f6a 204077d0 call bn_addmod_256 
+6f6b da2006c8 arg mem_t0_256 ,rega 
+6f6c da4006e8 arg mem_t2_256 ,regb 
+6f6d d8a006c8 arg mem_t0_256 ,contw 
+6f6e 204077d0 call bn_addmod_256 
+6f6f df200020 arg 32 ,loopcnt 
+6f70 da200728 arg mem_t7_256 ,rega 
+6f71 da4006c8 arg mem_t0_256 ,regb 
+6f72 20207e66 branch string_compare 
+
+sp_calc_b256:
+6f73 da200840 arg mem_gy_256 ,rega 
+6f74 d8a006c8 arg mem_t0_256 ,contw 
+6f75 204077cc call bn_sqrmod_256 
+6f76 da200820 arg mem_gx_256 ,rega 
+6f77 d8a006e8 arg mem_t2_256 ,contw 
+6f78 204077cc call bn_sqrmod_256 
+6f79 da2006e8 arg mem_t2_256 ,rega 
+6f7a da400820 arg mem_gx_256 ,regb 
+6f7b d8a006e8 arg mem_t2_256 ,contw 
+6f7c 20407734 call bn_mulmod_256 
+6f7d da200800 arg mem_a_256 ,rega 
+6f7e da400820 arg mem_gx_256 ,regb 
+6f7f d8a00708 arg mem_t3_256 ,contw 
+6f80 20407734 call bn_mulmod_256 
+6f81 da200708 arg mem_t3_256 ,rega 
+6f82 da4006e8 arg mem_t2_256 ,regb 
+6f83 d8a006e8 arg mem_t2_256 ,contw 
+6f84 204077d0 call bn_addmod_256 
+6f85 da2006c8 arg mem_t0_256 ,rega 
+6f86 da4006e8 arg mem_t2_256 ,regb 
+6f87 d8a006c8 arg mem_t0_256 ,contw 
+6f88 202077e9 branch bn_submod_256 
+
+sp_calc_check_publickey:
+6f89 20406fa4 call sp_calc_b 
+6f8a da2008a8 arg mem_sp_pubkey_remote_y ,rega 
+6f8b d8a00728 arg mem_t7_256 ,contw 
+6f8c 204071a3 call bn_sqrmod 
+6f8d da200888 arg mem_sp_pubkey_remote_x ,rega 
+6f8e d8a006e8 arg mem_t2_256 ,contw 
+6f8f 204071a3 call bn_sqrmod 
+6f90 da2006e8 arg mem_t2_256 ,rega 
+6f91 da400888 arg mem_sp_pubkey_remote_x ,regb 
+6f92 d8a006e8 arg mem_t2_256 ,contw 
+6f93 20407181 call bn_mulmod 
+6f94 da200760 arg mem_a ,rega 
+6f95 da400888 arg mem_sp_pubkey_remote_x ,regb 
+6f96 d8a00708 arg mem_t3_256 ,contw 
+6f97 20407181 call bn_mulmod 
+6f98 da200708 arg mem_t3_256 ,rega 
+6f99 da4006e8 arg mem_t2_256 ,regb 
+6f9a d8a006e8 arg mem_t2_256 ,contw 
+6f9b 20407150 call bn_addmod 
+6f9c da2006c8 arg mem_t0_256 ,rega 
+6f9d da4006e8 arg mem_t2_256 ,regb 
+6f9e d8a006c8 arg mem_t0_256 ,contw 
+6f9f 20407150 call bn_addmod 
+6fa0 df200018 arg 24 ,loopcnt 
+6fa1 da200728 arg mem_t7_256 ,rega 
+6fa2 da4006c8 arg mem_t0_256 ,regb 
+6fa3 20207e66 branch string_compare 
+
+sp_calc_b:
+6fa4 da2007a8 arg mem_gy ,rega 
+6fa5 d8a006c8 arg mem_t0_256 ,contw 
+6fa6 204071a3 call bn_sqrmod 
+6fa7 da200790 arg mem_gx ,rega 
+6fa8 d8a006e8 arg mem_t2_256 ,contw 
+6fa9 204071a3 call bn_sqrmod 
+6faa da2006e8 arg mem_t2_256 ,rega 
+6fab da400790 arg mem_gx ,regb 
+6fac d8a006e8 arg mem_t2_256 ,contw 
+6fad 20407181 call bn_mulmod 
+6fae da200760 arg mem_a ,rega 
+6faf da400790 arg mem_gx ,regb 
+6fb0 d8a00708 arg mem_t3_256 ,contw 
+6fb1 20407181 call bn_mulmod 
+6fb2 da200708 arg mem_t3_256 ,rega 
+6fb3 da4006e8 arg mem_t2_256 ,regb 
+6fb4 d8a006e8 arg mem_t2_256 ,contw 
+6fb5 20407150 call bn_addmod 
+6fb6 da2006c8 arg mem_t0_256 ,rega 
+6fb7 da4006e8 arg mem_t2_256 ,regb 
+6fb8 d8a006c8 arg mem_t0_256 ,contw 
+6fb9 20207153 branch bn_submod 
+
+sp_calculate_commitment:
+6fba 6fe0c648 fetch 1 ,mem_encapsulated_minor_type 
+6fbb c0016fbe beq encapsulated_minor_type_p256 ,sp_calculate_commitment_256 
+6fbc c000efce beq encapsulated_minor_type_p192 ,sp_calculate_commitment_192 
+6fbd 20600000 rtn 
+
+sp_calculate_commitment_256:
+6fbe 6fe0c6bd fetch 1 ,mem_sc_calc 
+6fbf c0806fec bne sp_calc_standby ,sp_calculate_commitment_wait_dhkey_calc 
+6fc0 20406fe9 call sp_local_random_key_generator 
+6fc1 d8a00940 arg mem_sp_prarm_stack ,contw 
+6fc2 580008f0 setarg mem_sp_random_local_end 
+6fc3 e7e10005 istore 2 ,contw 
+6fc4 580046ff setarg mem_sc_pubkey_local_x_256 + 32 
+6fc5 e7e10005 istore 2 ,contw 
+6fc6 580008a0 setarg mem_le_pubkey_remote_x_256 + 32 
+6fc7 e7e10005 istore 2 ,contw 
+
+sp_calculate_commitment0_256:
+6fc8 20407495 call function_f1_256 
+6fc9 6fe08871 fetch 1 ,mem_master_sp_state 
+6fca c0026fe6 beq sp_stat_commit_calc ,master_sp_calculate_commitment0 
+6fcb 70087201 jam sp_flag_commit ,mem_sp_flag 
+6fcc 70087005 jam sp_stat_commit_send ,mem_sp_state 
+6fcd 20600000 rtn 
+
+sp_calculate_commitment_192:
+6fce 6fe08874 fetch 1 ,mem_sp_calc 
+6fcf c0806fec bne sp_calc_standby ,sp_calculate_commitment_wait_dhkey_calc 
+6fd0 20406fe9 call sp_local_random_key_generator 
+6fd1 d8a00940 arg mem_sp_prarm_stack ,contw 
+6fd2 580008f0 setarg mem_sp_random_local_end 
+6fd3 e7e10005 istore 2 ,contw 
+6fd4 5800474f setarg mem_sp_pubkey_local_x_end 
+6fd5 e7e10005 istore 2 ,contw 
+6fd6 580008a0 setarg mem_sp_pubkey_remote_x_end 
+6fd7 e7e10005 istore 2 ,contw 
+6fd8 20206fe0 branch sp_calculate_commitment0 
+
+master_sp_calculate_commitment:
+6fd9 d8a00940 arg mem_sp_prarm_stack ,contw 
+6fda 58000900 setarg mem_sp_random_remote_end 
+6fdb e7e10005 istore 2 ,contw 
+6fdc 580008a0 setarg mem_sp_pubkey_remote_x_end 
+6fdd e7e10005 istore 2 ,contw 
+6fde 5800474f setarg mem_sp_pubkey_local_x_end 
+6fdf e7e10005 istore 2 ,contw 
+
+sp_calculate_commitment0:
+6fe0 204073bc call function_f1_192 
+6fe1 6fe08871 fetch 1 ,mem_master_sp_state 
+6fe2 c0026fe6 beq sp_stat_commit_calc ,master_sp_calculate_commitment0 
+6fe3 70087201 jam sp_flag_commit ,mem_sp_flag 
+6fe4 70087005 jam sp_stat_commit_send ,mem_sp_state 
+6fe5 20600000 rtn 
+
+master_sp_calculate_commitment0:
+6fe6 70087114 jam sp_stat_commitment_compare ,mem_master_sp_state 
+6fe7 20406f4d call sp_master_generate_local_key 
+6fe8 202070d3 branch master_set_mem_master_sp_flag 
+
+sp_local_random_key_generator:
+6fe9 d8a008e0 arg mem_sp_random_local ,contw 
+6fea 18000e08 force 8 ,queue 
+6feb 2020709d branch random_generator 
+
+sp_calculate_commitment_wait_dhkey_calc:
+6fec 70087201 jam sp_flag_commit ,mem_sp_flag 
+6fed 20600000 rtn 
+
+sp_confirm_check:
+6fee 6fe0c648 fetch 1 ,mem_encapsulated_minor_type 
+6fef c0016ff4 beq encapsulated_minor_type_p256 ,sp_confirm_check_256 
+6ff0 c000eff7 beq encapsulated_minor_type_p192 ,sp_confirm_check_192 
+
+sp_confirm_check_wait:
+6ff1 70087009 jam sp_stat_confirm_check ,mem_sp_state 
+6ff2 70087201 jam sp_flag_commit ,mem_sp_flag 
+6ff3 20600000 rtn 
+
+sp_confirm_check_256:
+6ff4 6fe0887b fetch 1 ,mem_sp_dhkey_invalid 
+6ff5 c081eff1 bne sp_key_valid_256 ,sp_confirm_check_wait 
+6ff6 20206ff9 branch sp_confirm_check_common 
+
+sp_confirm_check_192:
+6ff7 6fe0887b fetch 1 ,mem_sp_dhkey_invalid 
+6ff8 c080eff1 bne sp_key_valid ,sp_confirm_check_wait 
+
+sp_confirm_check_common:
+6ff9 d8a005e9 arg mem_addr_value ,contw 
+6ffa 6fe340a8 fetch 6 ,mem_lap 
+6ffb e7e30005 istore 6 ,contw 
+6ffc 6fe30040 fetch 6 ,mem_plap 
+6ffd e7e30005 istore 6 ,contw 
+6ffe 6fe1c76b fetch 3 ,mem_sp_iocap_remote 
+6fff e7e18005 istore 3 ,contw 
+7000 204074b4 call function_f3a 
+7001 da200910 arg mem_sp_calc_result_high ,rega 
+7002 da400920 arg mem_sp_check_result ,regb 
+7003 18000e04 force 4 ,queue 
+7004 204070a2 call compare4 
+7005 2420f012 nbranch sp_confirm_check_failed ,true 
+7006 20407009 call sp_confirm_check_success 
+7007 70007d41 jam lmp_dhkey_check ,mem_lmi_opcode2 
+7008 20205a7b branch tid_set_reply 
+
+sp_confirm_check_success:
+7009 6fe08871 fetch 1 ,mem_master_sp_state 
+700a c004f00f beq sp_stat_confirm_check ,sp_confirm_check_success_master 
+700b 7008700a jam sp_stat_confirm_calc ,mem_sp_state 
+700c 70087201 jam sp_flag_commit ,mem_sp_flag 
+700d 70007c03 jam lmp_accepted ,mem_lmo_opcode2 
+700e 20600000 rtn 
+
+sp_confirm_check_success_master:
+700f 70007c03 jam lmp_accepted ,mem_lmo_opcode2 
+7010 70087115 jam sp_state_end ,mem_master_sp_state 
+7011 202070d3 branch master_set_mem_master_sp_flag 
+
+sp_confirm_check_failed:
+7012 6fe08871 fetch 1 ,mem_master_sp_state 
+7013 c004f018 beq sp_stat_confirm_check ,sp_confirm_check_failed_master 
+7014 70087000 jam sp_stat_null ,mem_sp_state 
+7015 70007c04 jam lmp_not_accepted ,mem_lmo_opcode2 
+7016 70007e05 jam authentication_failure_error ,mem_lmo_reason2 
+7017 20600000 rtn 
+
+sp_confirm_check_failed_master:
+7018 70007c04 jam lmp_not_accepted ,mem_lmo_opcode2 
+7019 70087100 jam sp_stat_null ,mem_master_sp_state 
+701a 20600000 rtn 
+
+sp_confirm_calc:
+701b 6fe0c648 fetch 1 ,mem_encapsulated_minor_type 
+701c c001701f beq encapsulated_minor_type_p256 ,sp_confirm_calc_256 
+701d c000f023 beq encapsulated_minor_type_p192 ,sp_confirm_calc_192 
+701e 20600000 rtn 
+
+sp_confirm_calc_256:
+701f 6fe0887b fetch 1 ,mem_sp_dhkey_invalid 
+7020 c001f027 beq sp_key_valid_256 ,sp_confirm_calc_ready 
+7021 7008710a jam sp_stat_confirm_calc ,mem_master_sp_state 
+7022 202070d3 branch master_set_mem_master_sp_flag 
+
+sp_confirm_calc_192:
+7023 6fe08875 fetch 1 ,mem_sp_dh_ready 
+7024 c000f027 beq sp_flag_commit ,sp_confirm_calc_ready 
+7025 7008710a jam sp_stat_confirm_calc ,mem_master_sp_state 
+7026 202070d3 branch master_set_mem_master_sp_flag 
+
+sp_confirm_calc_ready:
+7027 d8a005e9 arg mem_addr_value ,contw 
+7028 6fe30040 fetch 6 ,mem_plap 
+7029 e7e30005 istore 6 ,contw 
+702a 6fe340a8 fetch 6 ,mem_lap 
+702b e7e30005 istore 6 ,contw 
+702c 6fe1c768 fetch 3 ,mem_lmp_io_cap_payload_iocap 
+702d e7e18005 istore 3 ,contw 
+702e 204074f7 call function_f3b 
+702f 6fe08871 fetch 1 ,mem_master_sp_state 
+7030 c0057034 beq sp_stat_confirm_calc ,sp_confirm_calc_master 
+7031 7008700b jam sp_stat_confirm_send ,mem_sp_state 
+7032 70087201 jam sp_flag_commit ,mem_sp_flag 
+7033 20600000 rtn 
+
+sp_confirm_calc_master:
+7034 7008710b jam sp_stat_confirm_send ,mem_master_sp_state 
+7035 70087301 jam sp_flag_commit ,mem_master_sp_flag 
+7036 20600000 rtn 
+
+sp_master_key_prarm_push:
+7037 d8a00940 arg mem_sp_prarm_stack ,contw 
+7038 6fe30040 fetch 6 ,mem_plap 
+7039 e7e30005 istore 6 ,contw 
+703a 6fe340a8 fetch 6 ,mem_lap 
+703b e7e30005 istore 6 ,contw 
+703c 580008f0 setarg mem_sp_random_local_end 
+703d e7e10005 istore 2 ,contw 
+703e 58000900 setarg mem_sp_random_remote_end 
+703f e7e10005 istore 2 ,contw 
+7040 2020704b branch sp_link_key_calc 
+
+sp_link_key_prarm_push:
+7041 7008700f jam sp_stat_done ,mem_sp_state 
+7042 d8a00940 arg mem_sp_prarm_stack ,contw 
+7043 6fe340a8 fetch 6 ,mem_lap 
+7044 e7e30005 istore 6 ,contw 
+7045 6fe30040 fetch 6 ,mem_plap 
+7046 e7e30005 istore 6 ,contw 
+7047 58000900 setarg mem_sp_random_remote_end 
+7048 e7e10005 istore 2 ,contw 
+7049 580008f0 setarg mem_sp_random_local_end 
+704a e7e10005 istore 2 ,contw 
+
+sp_link_key_calc:
+704b d8a005e9 arg mem_addr_value ,contw 
+704c 6fe30940 fetch 6 ,mem_sp_prarm_stack 
+704d e7e30005 istore 6 ,contw 
+704e 6fe30946 fetch 6 ,mem_sp_prarm_stack + 6 
+704f e7e30005 istore 6 ,contw 
+7050 2040750b call function_f2 
+7051 7041ca01 jam 1 ,mem_link_key_exists 
+7052 d8a041cb arg mem_link_key ,contw 
+7053 d8c00910 arg mem_sp_calc_result_high ,contr 
+7054 20407d7f call memcpy16 
+7055 202009c6 branch generate_linkkey_continue 
+
+sp_debug_private:
+7056 d8a0471f arg mem_sp_private_key ,contw 
+7057 380118ff setsect 0 ,0x118ff 
+7058 3807fd29 setsect 1 ,0x3fd29 
+7059 3809ed2e setsect 2 ,0x1ed2e 
+705a 380cad89 setsect 3 ,0xad89 
+705b e7e48005 istore 9 ,contw 
+705c 38030c14 setsect 0 ,0x30c14 
+705d 380475b3 setsect 1 ,0x75b3 
+705e 380805df setsect 2 ,0x5df 
+705f 380f709c setsect 3 ,0x3709c 
+7060 e7e48005 istore 9 ,contw 
+7061 3802918d setsect 0 ,0x2918d 
+7062 380457e1 setsect 1 ,0x57e1 
+7063 38080079 setsect 2 ,0x79 
+7064 e7e30005 istore 6 ,contw 
+7065 20600000 rtn 
+
+sp_pubkey_calc:
+7066 473c402f bpatchx patch2f_0 ,mem_patch2f 
+7067 6fe0c6bc fetch 1 ,mem_sp_local_key_invalid 
+7068 c1800000 rtnne sp_key_invalid 
+7069 6fe08874 fetch 1 ,mem_sp_calc 
+706a c1800000 rtnne sp_calc_standby 
+706b d8a0471f arg mem_sp_private_key ,contw 
+706c 18000e0b force 11 ,queue 
+706d 2040709d call random_generator 
+706e 180a7e00 random pdata 
+706f 1fe37e00 rshift pdata ,pdata 
+7070 e7e10005 istore 2 ,contw 
+7071 6fe0c6ba fetch 1 ,mem_sp_debug_mode 
+7072 245a7056 ncall sp_debug_private ,blank 
+7073 d8a00580 arg mem_k ,contw 
+7074 d8c0471f arg mem_sp_private_key ,contr 
+7075 20407d7e call memcpy24 
+7076 d8a004a8 arg mem_ax ,contw 
+7077 d8c00790 arg mem_gx ,contr 
+7078 20407d7c call memcpy48 
+7079 d8a004d8 arg mem_az ,contw 
+707a 20407d8b call bn_zero 
+707b 7004d801 jam 1 ,mem_az 
+707c 20407479 call eckp_calc_init 
+707d 70087401 jam sp_calc_pubkey ,mem_sp_calc 
+707e 20600000 rtn 
+
+sp_pubkey_generated:
+707f d8a04737 arg mem_sp_pubkey_local ,contw 
+7080 d8c004f0 arg mem_bx ,contr 
+7081 20407d7c call memcpy48 
+7082 7046bc01 jam sp_key_valid ,mem_sp_local_key_invalid 
+7083 70087400 jam sp_calc_standby ,mem_sp_calc 
+7084 20600000 rtn 
+
+sp_dhkey_calc:
+7085 473cc02f bpatchx patch2f_1 ,mem_patch2f 
+7086 6fe0887b fetch 1 ,mem_sp_dhkey_invalid 
+7087 c1800000 rtnne sp_key_invalid 
+7088 6fe08874 fetch 1 ,mem_sp_calc 
+7089 c1800000 rtnne sp_calc_standby 
+708a d8a00580 arg mem_k ,contw 
+708b d8c0471f arg mem_sp_private_key ,contr 
+708c 20407d7e call memcpy24 
+708d d8a004a8 arg mem_ax ,contw 
+708e d8c00888 arg mem_sp_pubkey_remote ,contr 
+708f 20407d7c call memcpy48 
+7090 d8a004d8 arg mem_az ,contw 
+7091 20407d8b call bn_zero 
+7092 7004d801 jam 1 ,mem_az 
+7093 20407479 call eckp_calc_init 
+7094 70087402 jam sp_calc_dhkey ,mem_sp_calc 
+7095 20600000 rtn 
+
+sp_dhkey_generated:
+7096 70087501 jam sp_flag_commit ,mem_sp_dh_ready 
+7097 d8a008c8 arg mem_sp_dhkey ,contw 
+7098 d8c004f0 arg mem_bx ,contr 
+7099 20407d7e call memcpy24 
+709a 70087b01 jam sp_key_valid ,mem_sp_dhkey_invalid 
+709b 70087400 jam sp_calc_standby ,mem_sp_calc 
+709c 20600000 rtn 
+
+random_generator:
+709d 18e08fff increase -1 ,queue 
+709e 24610000 nrtn positive 
+709f 180a7e00 random pdata 
+70a0 e7e10005 istore 2 ,contw 
+70a1 2020709d branch random_generator 
+
+compare4:
+70a2 18e08fff increase -1 ,queue 
+70a3 242170ae nbranch compare4_success ,positive 
+70a4 efe20011 ifetch 4 ,rega 
+70a5 1fe20400 copy pdata ,temp 
+70a6 efe20012 ifetch 4 ,regb 
+70a7 9842fe00 iflip temp ,pdata 
+70a8 2422f0ac nbranch compare4_failed ,zero 
+70a9 1a20a204 increase 4 ,rega 
+70aa 1a40a404 increase 4 ,regb 
+70ab 202070a2 branch compare4 
+
+compare4_failed:
+70ac 7840fc00 disable true 
+70ad 20600000 rtn 
+
+compare4_success:
+70ae 7820fc00 enable true 
+70af 20600000 rtn 
+
+simple_pairing_sequence:
+70b0 473d402f bpatchx patch2f_2 ,mem_patch2f 
+70b1 6fe08872 fetch 1 ,mem_sp_flag 
+70b2 207a0000 rtn blank 
+70b3 20405a3f call lmo_fifo_check 
+70b4 247a0000 nrtn blank 
+70b5 70087200 jam sp_flag_standby ,mem_sp_flag 
+70b6 6fe08870 fetch 1 ,mem_sp_state 
+70b7 c001d965 beq sp_stat_key_send ,sp_send_lmp_encapsulated_header 
+70b8 c002d987 beq sp_stat_commit_send ,sp_send_lmp_simple_pairing_comfirm 
+70b9 c003d992 beq sp_stat_random_send ,sp_send_lmp_simple_pairing_number 
+70ba c005d9a7 beq sp_stat_confirm_send ,sp_send_lmp_dhkey_check 
+70bb c0016f40 beq sp_stat_key_generate ,sp_generate_local_key 
+70bc c0026fba beq sp_stat_commit_calc ,sp_calculate_commitment 
+70bd c004efee beq sp_stat_confirm_check ,sp_confirm_check 
+70be c005701b beq sp_stat_confirm_calc ,sp_confirm_calc 
+70bf c0067041 beq sp_stat_link_key_calc ,sp_link_key_prarm_push 
+70c0 20600000 rtn 
+
+master_simple_paring_sequence:
+70c1 473dc02f bpatchx patch2f_3 ,mem_patch2f 
+70c2 6fe08873 fetch 1 ,mem_master_sp_flag 
+70c3 207a0000 rtn blank 
+70c4 20405a3f call lmo_fifo_check 
+70c5 247a0000 nrtn blank 
+70c6 70087300 jam sp_flag_standby ,mem_master_sp_flag 
+70c7 6fe08871 fetch 1 ,mem_master_sp_state 
+70c8 c0095949 beq sp_master_stat_start_skip ,sp_master_send_io_cap_get 
+70c9 c009d94e beq sp_master_stat_start_done ,sp_master_send_io_cap_send 
+70ca c001d952 beq sp_stat_key_send ,sp_master_send_lmp_encapsulated_header 
+70cb c0026fd9 beq sp_stat_commit_calc ,master_sp_calculate_commitment 
+70cc c00a5956 beq sp_stat_commitment_compare ,sp_master_commitment_compare 
+70cd c003d963 beq sp_stat_random_send ,sp_master_send_lmp_simple_pairing_number 
+70ce c005701b beq sp_stat_confirm_calc ,sp_confirm_calc 
+70cf c005d9a6 beq sp_stat_confirm_send ,master_sp_send_lmp_dhkey_check 
+70d0 c004efee beq sp_stat_confirm_check ,sp_confirm_check 
+70d1 c00ad9a0 beq sp_state_end ,master_sp_sm_end 
+70d2 20600000 rtn 
+
+master_set_mem_master_sp_flag:
+70d3 70087301 jam sp_flag_commit ,mem_master_sp_flag 
+70d4 20600000 rtn 
+
+master_clear_mem_master_sp_flag:
+70d5 70087300 jam sp_flag_standby ,mem_master_sp_flag 
+70d6 20600000 rtn 
+
+sp_calc_sequence:
+70d7 473e402f bpatchx patch2f_4 ,mem_patch2f 
+70d8 6fe0c767 fetch 1 ,mem_ssp_enable 
+70d9 207a0000 rtn blank 
+70da 6fe08874 fetch 1 ,mem_sp_calc 
+70db 207a0000 rtn blank 
+70dc 1fe0fe80 increase 0x80 ,pdata 
+70dd 67e08874 store 1 ,mem_sp_calc 
+70de c3838000 rtnbit1 7 
+70df 6fe084a5 fetch 1 ,mem_ec_loopc 
+70e0 203a70e2 branch sp_calc_sequence_done ,blank 
+70e1 20207484 branch eckp_calc 
+
+sp_calc_sequence_done:
+70e2 204072ce call ecunmapz 
+70e3 6fe08874 fetch 1 ,mem_sp_calc 
+70e4 c000f07f beq sp_calc_pubkey ,sp_pubkey_generated 
+70e5 c0017096 beq sp_calc_dhkey ,sp_dhkey_generated 
+70e6 20600000 rtn 
+
+bn_testbit:
+70e7 1fe10e07 and pdata ,7 ,queue 
+70e8 1fe97e00 rshift3 pdata ,pdata 
+70e9 98c08c00 iadd contr ,contr 
+70ea efe08006 ifetch 1 ,contr 
+70eb afec0000 qisolate0 pdata 
+70ec 20600000 rtn 
+
+ec_copy:
+70ed 20407d7e call memcpy24 
+70ee 20407d7e call memcpy24 
+70ef 20207d7e branch memcpy24 
+
+bn_eq_zero:
+70f0 efe40006 ifetch 8 ,contr 
+70f1 247a0000 nrtn blank 
+70f2 efe40006 ifetch 8 ,contr 
+70f3 247a0000 nrtn blank 
+70f4 efe40006 ifetch 8 ,contr 
+70f5 20600000 rtn 
+
+bn_eq_0:
+70f6 efe20011 ifetch 4 ,rega 
+70f7 98000400 iforce temp 
+70f8 efe20012 ifetch 4 ,regb 
+70f9 98467c00 isub temp ,null 
+70fa 24628000 nrtn zero 
+70fb 1a20a204 increase 4 ,rega 
+70fc 1a40a404 increase 4 ,regb 
+70fd c20070f6 loop bn_eq_0 
+70fe 20600000 rtn 
+
+bn_bigeq:
+70ff 18007206 force 6 ,loopcnt 
+7100 1a20a214 increase 20 ,rega 
+7101 1a40a414 increase 20 ,regb 
+
+bn_bigeq_0:
+7102 efe20012 ifetch 4 ,regb 
+7103 98000400 iforce temp 
+7104 efe20011 ifetch 4 ,rega 
+7105 98467e00 isub temp ,pdata 
+7106 24610000 nrtn positive 
+7107 247a0000 nrtn blank 
+7108 1a20a3fc increase -4 ,rega 
+7109 1a40a5fc increase -4 ,regb 
+710a c2007102 loop bn_bigeq_0 
+710b 20600000 rtn 
+
+bn_add:
+710c 18007206 force 6 ,loopcnt 
+710d 18002600 force 0 ,regc 
+
+bn_add_0:
+710e efe20011 ifetch 4 ,rega 
+710f 98000400 iforce temp 
+7110 efe20012 ifetch 4 ,regb 
+7111 9840fe00 iadd temp ,pdata 
+7112 9a60fe00 iadd regc ,pdata 
+7113 e7e20005 istore 4 ,contw 
+7114 2feffe20 isolate1 32 ,pdata 
+7115 7920a600 setflag true ,0 ,regc 
+7116 1a20a204 increase 4 ,rega 
+7117 1a40a404 increase 4 ,regb 
+7118 c200710e loop bn_add_0 
+7119 20600000 rtn 
+
+bn_sub:
+711a 18007206 force 6 ,loopcnt 
+711b 18002600 force 0 ,regc 
+
+bn_sub_0:
+711c efe20012 ifetch 4 ,regb 
+711d 98000400 iforce temp 
+711e efe20011 ifetch 4 ,rega 
+711f 98467e00 isub temp ,pdata 
+7120 9a667e00 isub regc ,pdata 
+7121 e7e20005 istore 4 ,contw 
+7122 2feffe20 isolate1 32 ,pdata 
+7123 7920a600 setflag true ,0 ,regc 
+7124 1a20a204 increase 4 ,rega 
+7125 1a40a404 increase 4 ,regb 
+7126 c200711c loop bn_sub_0 
+7127 20600000 rtn 
+
+bn_rshift6:
+7128 18007206 force 6 ,loopcnt 
+7129 1a20a214 increase 20 ,rega 
+
+bn_rshift:
+712a 18002600 force 0 ,regc 
+
+bn_rshift_0:
+712b efe20011 ifetch 4 ,rega 
+712c 2feffe00 isolate1 0 ,pdata 
+712d 7920a601 setflag true ,1 ,regc 
+712e 1fe37e00 rshift pdata ,pdata 
+712f 2a6ffe00 isolate1 0 ,regc 
+7130 7920fe1f setflag true ,31 ,pdata 
+7131 e7e20011 istore 4 ,rega 
+7132 1a20a3fc increase -4 ,rega 
+7133 1a632600 rshift regc ,regc 
+7134 c200712b loop bn_rshift_0 
+7135 20600000 rtn 
+
+bn_lshift:
+7136 18007206 force 6 ,loopcnt 
+7137 18002600 force 0 ,regc 
+
+bn_lshift_0:
+7138 efe20011 ifetch 4 ,rega 
+7139 2feffe1f isolate1 31 ,pdata 
+713a 7920a601 setflag true ,1 ,regc 
+713b 1fe3fe00 lshift pdata ,pdata 
+713c 2a6ffe00 isolate1 0 ,regc 
+713d 7920fe00 setflag true ,0 ,pdata 
+713e e7e20011 istore 4 ,rega 
+713f 1a20a204 increase 4 ,rega 
+7140 1a632600 rshift regc ,regc 
+7141 c2007138 loop bn_lshift_0 
+7142 20600000 rtn 
+
+bn_lshiftmod:
+7143 20407136 call bn_lshift 
+
+bn_lshiftmod_ismod:
+7144 2a6ffe00 isolate1 0 ,regc 
+7145 2020f14c branch bn_lshiftmod_0 ,true 
+7146 da400748 arg mem_p ,regb 
+7147 1a222600 copy rega ,regc 
+7148 1a20a3e8 increase -24 ,rega 
+7149 204070ff call bn_bigeq 
+714a 24610000 nrtn positive 
+714b 1a622200 copy regc ,rega 
+
+bn_lshiftmod_0:
+714c 1a20a3e8 increase -24 ,rega 
+714d da400748 arg mem_p ,regb 
+714e 1a220a00 copy rega ,contw 
+714f 2020711a branch bn_sub 
+
+bn_addmod:
+7150 2040710c call bn_add 
+7151 18a22200 copy contw ,rega 
+7152 20207144 branch bn_lshiftmod_ismod 
+
+bn_submod:
+7153 2040711a call bn_sub 
+7154 2a6c0000 isolate0 0 ,regc 
+7155 20608000 rtn true 
+7156 da400748 arg mem_p ,regb 
+7157 18a0a3e8 add contw ,-24 ,rega 
+7158 1a220a00 copy rega ,contw 
+7159 2020710c branch bn_add 
+
+bn_p192mod:
+715a 18a21600 copy contw ,timeup 
+715b 1a226000 copy rega ,alarm 
+715c da4005d8 arg mem_tmp2 ,regb 
+715d 1a420a00 copy regb ,contw 
+715e 1a208c18 add rega ,24 ,contr 
+715f efe40006 ifetch 8 ,contr 
+7160 e7e40005 istore 8 ,contw 
+7161 e7e40005 istore 8 ,contw 
+7162 18007e00 force 0 ,pdata 
+7163 e7e40005 istore 8 ,contw 
+7164 19620a00 copy timeup ,contw 
+7165 20407150 call bn_addmod 
+7166 da4005d8 arg mem_tmp2 ,regb 
+7167 1a420a00 copy regb ,contw 
+7168 18007e00 force 0 ,pdata 
+7169 e7e40005 istore 8 ,contw 
+716a 1e008c20 add alarm ,32 ,contr 
+716b efe40006 ifetch 8 ,contr 
+716c e7e40005 istore 8 ,contw 
+716d e7e40005 istore 8 ,contw 
+716e 19622200 copy timeup ,rega 
+716f 1a220a00 copy rega ,contw 
+7170 20407150 call bn_addmod 
+7171 da4005d8 arg mem_tmp2 ,regb 
+7172 1a420a00 copy regb ,contw 
+7173 1e008c28 add alarm ,40 ,contr 
+7174 efe40006 ifetch 8 ,contr 
+7175 e7e40005 istore 8 ,contw 
+7176 e7e40005 istore 8 ,contw 
+7177 e7e40005 istore 8 ,contw 
+7178 19622200 copy timeup ,rega 
+7179 1a220a00 copy rega ,contw 
+717a 20207150 branch bn_addmod 
+
+bn_load:
+717b 18007206 force 6 ,loopcnt 
+
+bn_load_0:
+717c efe20006 ifetch 4 ,contr 
+717d 98005e00 iforce regext 
+717e 1f00f001 increase 1 ,regext_index 
+717f c200717c loop bn_load_0 
+7180 20600000 rtn 
+
+bn_mulmod:
+7181 18a21600 copy contw ,timeup 
+7182 d8a005a8 arg mem_tmp1 ,contw 
+7183 20407d8b call bn_zero 
+7184 d8a005a8 arg mem_tmp1 ,contw 
+7185 1a220c00 copy rega ,contr 
+7186 18007000 force 0 ,regext_index 
+7187 2040717b call bn_load 
+7188 1a420c00 copy regb ,contr 
+7189 2040717b call bn_load 
+718a 18002400 force 0 ,regb 
+
+bn_mulmod_1:
+718b 18000400 force 0 ,temp 
+718c 18002606 force 6 ,regc 
+
+bn_mulmod_0:
+718d efe20005 ifetch 4 ,contw 
+718e 98002200 iforce rega 
+718f 1a427000 copy regb ,regext_index 
+7190 1de27e00 deposit regext 
+7191 1a627000 copy regc ,regext_index 
+7192 9deffe00 imul32 regext ,pdata 
+7193 9a20fe00 iadd rega ,pdata 
+7194 9840fe00 iadd temp ,pdata 
+7195 e7e20005 istore 4 ,contw 
+7196 1fef0400 rshift32 pdata ,temp 
+7197 1a60a601 increase 1 ,regc 
+7198 2a61fe0c compare 12 ,regc ,0xff 
+7199 2420f18d nbranch bn_mulmod_0 ,true 
+719a 18427e00 deposit temp 
+719b e7e20005 istore 4 ,contw 
+719c 18a08be8 increase -24 ,contw 
+719d 1a40a401 increase 1 ,regb 
+719e 2a41fe06 compare 6 ,regb ,0xff 
+719f 2420f18b nbranch bn_mulmod_1 ,true 
+71a0 da2005a8 arg mem_tmp1 ,rega 
+71a1 19620a00 copy timeup ,contw 
+71a2 2020715a branch bn_p192mod 
+
+bn_sqrmod:
+71a3 1a222400 copy rega ,regb 
+71a4 20207181 branch bn_mulmod 
+
+bn_rshifteven:
+71a5 1a226000 copy rega ,alarm 
+
+bn_rshifteven_1:
+71a6 1e022200 copy alarm ,rega 
+71a7 efe08011 ifetch 1 ,rega 
+71a8 2feffe00 isolate1 0 ,pdata 
+71a9 20608000 rtn true 
+71aa 20407128 call bn_rshift6 
+71ab efe08012 ifetch 1 ,regb 
+71ac 2fec0000 isolate0 0 ,pdata 
+71ad 2020f1b5 branch bn_rshifteven_0 ,true 
+71ae da200748 arg mem_p ,rega 
+71af 1a420a00 copy regb ,contw 
+71b0 2040710c call bn_add 
+71b1 efe08012 ifetch 1 ,regb 
+71b2 9a60fe00 iadd regc ,pdata 
+71b3 e7e08012 istore 1 ,regb 
+71b4 1a40a5e8 increase -24 ,regb 
+
+bn_rshifteven_0:
+71b5 1a40a218 add regb ,24 ,rega 
+71b6 18007207 force 7 ,loopcnt 
+71b7 2040712a call bn_rshift 
+71b8 202071a6 branch bn_rshifteven_1 
+
+bn_invmod:
+71b9 18a21600 copy contw ,timeup 
+71ba d8a00608 arg mem_tmp0 ,contw 
+71bb 20407d8b call bn_zero 
+71bc 18007e00 force 0 ,pdata 
+71bd 67e205c0 store 4 ,mem_tmp5 
+71be 67e20620 store 4 ,mem_t2 
+71bf 70060801 jam 1 ,mem_tmp0 
+71c0 d8a005a8 arg mem_tmp1 ,contw 
+71c1 20407d8b call bn_zero 
+71c2 d8c00748 arg mem_p ,contr 
+71c3 d8a005d8 arg mem_tmp2 ,contw 
+71c4 20407d7e call memcpy24 
+71c5 1a220c00 copy rega ,contr 
+71c6 d8a005f0 arg mem_tmp3 ,contw 
+71c7 20407d7e call memcpy24 
+
+bn_invmod_2:
+71c8 d8c005f0 arg mem_tmp3 ,contr 
+71c9 204070f0 call bn_eq_zero 
+71ca 203a71f1 branch bn_invmod_0 ,blank 
+71cb da2005f0 arg mem_tmp3 ,rega 
+71cc da400608 arg mem_tmp0 ,regb 
+71cd 204071a5 call bn_rshifteven 
+71ce da2005d8 arg mem_tmp2 ,rega 
+71cf da4005a8 arg mem_tmp1 ,regb 
+71d0 204071a5 call bn_rshifteven 
+71d1 da2005f0 arg mem_tmp3 ,rega 
+71d2 da4005d8 arg mem_tmp2 ,regb 
+71d3 204070ff call bn_bigeq 
+71d4 202171e3 branch bn_invmod_1 ,positive 
+71d5 da2005d8 arg mem_tmp2 ,rega 
+71d6 da4005f0 arg mem_tmp3 ,regb 
+71d7 1a220a00 copy rega ,contw 
+71d8 2040711a call bn_sub 
+71d9 da200608 arg mem_tmp0 ,rega 
+71da da4005a8 arg mem_tmp1 ,regb 
+71db 1a420a00 copy regb ,contw 
+71dc 2040710c call bn_add 
+71dd efe08011 ifetch 1 ,rega 
+71de 9a60a600 iadd regc ,regc 
+71df efe08012 ifetch 1 ,regb 
+71e0 9a60fe00 iadd regc ,pdata 
+71e1 e7e08012 istore 1 ,regb 
+71e2 202071c8 branch bn_invmod_2 
+
+bn_invmod_1:
+71e3 da2005f0 arg mem_tmp3 ,rega 
+71e4 da4005d8 arg mem_tmp2 ,regb 
+71e5 1a220a00 copy rega ,contw 
+71e6 2040711a call bn_sub 
+71e7 da2005a8 arg mem_tmp1 ,rega 
+71e8 da400608 arg mem_tmp0 ,regb 
+71e9 1a420a00 copy regb ,contw 
+71ea 2040710c call bn_add 
+71eb efe08011 ifetch 1 ,rega 
+71ec 9a60a600 iadd regc ,regc 
+71ed efe08012 ifetch 1 ,regb 
+71ee 9a60fe00 iadd regc ,pdata 
+71ef e7e08012 istore 1 ,regb 
+71f0 202071c8 branch bn_invmod_2 
+
+bn_invmod_0:
+71f1 d8a00608 arg mem_tmp0 ,contw 
+71f2 20407d8b call bn_zero 
+71f3 6fe085c0 fetch 1 ,mem_tmp5 
+71f4 67e08608 store 1 ,mem_tmp0 
+71f5 67e08610 store 1 ,mem_tmp0a 
+71f6 da200608 arg mem_tmp0 ,rega 
+71f7 da4005a8 arg mem_tmp1 ,regb 
+71f8 1a420a00 copy regb ,contw 
+71f9 20407150 call bn_addmod 
+71fa da200748 arg mem_p ,rega 
+71fb da4005a8 arg mem_tmp1 ,regb 
+71fc 19620a00 copy timeup ,contw 
+71fd 20207153 branch bn_submod 
+
+ecdbl:
+71fe da200568 arg mem_cz ,rega 
+71ff d8a00620 arg mem_t2 ,contw 
+7200 204071a3 call bn_sqrmod 
+7201 da200620 arg mem_t2 ,rega 
+7202 d8a00638 arg mem_t3 ,contw 
+7203 204071a3 call bn_sqrmod 
+7204 da200760 arg mem_a ,rega 
+7205 da400638 arg mem_t3 ,regb 
+7206 d8a00638 arg mem_t3 ,contw 
+7207 20407181 call bn_mulmod 
+7208 da200538 arg mem_cx ,rega 
+7209 d8a00620 arg mem_t2 ,contw 
+720a 204071a3 call bn_sqrmod 
+720b d8c00620 arg mem_t2 ,contr 
+720c d8a005f0 arg mem_t1 ,contw 
+720d 20407d7e call memcpy24 
+720e da2005f0 arg mem_t1 ,rega 
+720f 20407143 call bn_lshiftmod 
+7210 da200620 arg mem_t2 ,rega 
+7211 da4005f0 arg mem_t1 ,regb 
+7212 d8a00620 arg mem_t2 ,contw 
+7213 20407150 call bn_addmod 
+7214 da200620 arg mem_t2 ,rega 
+7215 da400638 arg mem_t3 ,regb 
+7216 d8a00620 arg mem_t2 ,contw 
+7217 20407150 call bn_addmod 
+7218 d8c00538 arg mem_cx ,contr 
+7219 d8a005f0 arg mem_t1 ,contw 
+721a 20407d7e call memcpy24 
+721b da200550 arg mem_cy ,rega 
+721c d8a00638 arg mem_t3 ,contw 
+721d 204071a3 call bn_sqrmod 
+721e da2005f0 arg mem_t1 ,rega 
+721f 20407143 call bn_lshiftmod 
+7220 da2005f0 arg mem_t1 ,rega 
+7221 20407143 call bn_lshiftmod 
+7222 da2005f0 arg mem_t1 ,rega 
+7223 da400638 arg mem_t3 ,regb 
+7224 d8a005f0 arg mem_t1 ,contw 
+7225 20407181 call bn_mulmod 
+7226 da200638 arg mem_t3 ,rega 
+7227 d8a00608 arg mem_t0 ,contw 
+7228 204071a3 call bn_sqrmod 
+7229 da200608 arg mem_t0 ,rega 
+722a 20407143 call bn_lshiftmod 
+722b da200608 arg mem_t0 ,rega 
+722c 20407143 call bn_lshiftmod 
+722d da200608 arg mem_t0 ,rega 
+722e 20407143 call bn_lshiftmod 
+722f d8c00550 arg mem_cy ,contr 
+7230 d8a00638 arg mem_t3 ,contw 
+7231 20407d7e call memcpy24 
+7232 da200638 arg mem_t3 ,rega 
+7233 20407143 call bn_lshiftmod 
+7234 da200638 arg mem_t3 ,rega 
+7235 da400568 arg mem_cz ,regb 
+7236 d8a00568 arg mem_cz ,contw 
+7237 20407181 call bn_mulmod 
+7238 da200620 arg mem_t2 ,rega 
+7239 d8a00638 arg mem_t3 ,contw 
+723a 204071a3 call bn_sqrmod 
+723b da200638 arg mem_t3 ,rega 
+723c da4005f0 arg mem_t1 ,regb 
+723d d8a00638 arg mem_t3 ,contw 
+723e 20407153 call bn_submod 
+723f da200638 arg mem_t3 ,rega 
+7240 da4005f0 arg mem_t1 ,regb 
+7241 d8a00538 arg mem_cx ,contw 
+7242 20407153 call bn_submod 
+7243 da2005f0 arg mem_t1 ,rega 
+7244 da400538 arg mem_cx ,regb 
+7245 d8a00638 arg mem_t3 ,contw 
+7246 20407153 call bn_submod 
+7247 da200638 arg mem_t3 ,rega 
+7248 da400620 arg mem_t2 ,regb 
+7249 d8a00638 arg mem_t3 ,contw 
+724a 20407181 call bn_mulmod 
+724b da200638 arg mem_t3 ,rega 
+724c da400608 arg mem_t0 ,regb 
+724d d8a00550 arg mem_cy ,contw 
+724e 20207153 branch bn_submod 
+
+ecadd:
+724f da2004d8 arg mem_az ,rega 
+7250 d8a00650 arg mem_t7 ,contw 
+7251 204071a3 call bn_sqrmod 
+7252 da200538 arg mem_cx ,rega 
+7253 da400650 arg mem_t7 ,regb 
+7254 d8a00608 arg mem_t0 ,contw 
+7255 20407181 call bn_mulmod 
+7256 da2004d8 arg mem_az ,rega 
+7257 da400650 arg mem_t7 ,regb 
+7258 d8a00650 arg mem_t7 ,contw 
+7259 20407181 call bn_mulmod 
+725a da200550 arg mem_cy ,rega 
+725b da400650 arg mem_t7 ,regb 
+725c d8a005f0 arg mem_t1 ,contw 
+725d 20407181 call bn_mulmod 
+725e da200568 arg mem_cz ,rega 
+725f d8a00650 arg mem_t7 ,contw 
+7260 204071a3 call bn_sqrmod 
+7261 da2004a8 arg mem_ax ,rega 
+7262 da400650 arg mem_t7 ,regb 
+7263 d8a00620 arg mem_t2 ,contw 
+7264 20407181 call bn_mulmod 
+7265 da200568 arg mem_cz ,rega 
+7266 da400650 arg mem_t7 ,regb 
+7267 d8a00650 arg mem_t7 ,contw 
+7268 20407181 call bn_mulmod 
+7269 da2004c0 arg mem_ay ,rega 
+726a da400650 arg mem_t7 ,regb 
+726b d8a00638 arg mem_t3 ,contw 
+726c 20407181 call bn_mulmod 
+726d da200608 arg mem_t0 ,rega 
+726e da400620 arg mem_t2 ,regb 
+726f d8a00650 arg mem_t7 ,contw 
+7270 20407153 call bn_submod 
+7271 da200608 arg mem_t0 ,rega 
+7272 da400620 arg mem_t2 ,regb 
+7273 d8a00608 arg mem_t0 ,contw 
+7274 20407150 call bn_addmod 
+7275 da2005f0 arg mem_t1 ,rega 
+7276 da400638 arg mem_t3 ,regb 
+7277 d8a00620 arg mem_t2 ,contw 
+7278 20407153 call bn_submod 
+7279 da2005f0 arg mem_t1 ,rega 
+727a da400638 arg mem_t3 ,regb 
+727b d8a005f0 arg mem_t1 ,contw 
+727c 20407150 call bn_addmod 
+727d da2005f0 arg mem_t1 ,rega 
+727e da400650 arg mem_t7 ,regb 
+727f d8a005f0 arg mem_t1 ,contw 
+7280 20407181 call bn_mulmod 
+7281 da200568 arg mem_cz ,rega 
+7282 da4004d8 arg mem_az ,regb 
+7283 d8a00638 arg mem_t3 ,contw 
+7284 20407181 call bn_mulmod 
+7285 da200638 arg mem_t3 ,rega 
+7286 da400650 arg mem_t7 ,regb 
+7287 d8a00568 arg mem_cz ,contw 
+7288 20407181 call bn_mulmod 
+7289 da200650 arg mem_t7 ,rega 
+728a d8a00650 arg mem_t7 ,contw 
+728b 204071a3 call bn_sqrmod 
+728c da200650 arg mem_t7 ,rega 
+728d da400608 arg mem_t0 ,regb 
+728e d8a00638 arg mem_t3 ,contw 
+728f 20407181 call bn_mulmod 
+7290 da200650 arg mem_t7 ,rega 
+7291 da4005f0 arg mem_t1 ,regb 
+7292 d8a005f0 arg mem_t1 ,contw 
+7293 20407181 call bn_mulmod 
+7294 da200620 arg mem_t2 ,rega 
+7295 d8a00538 arg mem_cx ,contw 
+7296 204071a3 call bn_sqrmod 
+7297 da200538 arg mem_cx ,rega 
+7298 da400638 arg mem_t3 ,regb 
+7299 d8a00538 arg mem_cx ,contw 
+729a 20407153 call bn_submod 
+729b d8c00538 arg mem_cx ,contr 
+729c d8a00650 arg mem_t7 ,contw 
+729d 20407d7e call memcpy24 
+729e da200650 arg mem_t7 ,rega 
+729f 20407143 call bn_lshiftmod 
+72a0 da200638 arg mem_t3 ,rega 
+72a1 da400650 arg mem_t7 ,regb 
+72a2 d8a00638 arg mem_t3 ,contw 
+72a3 20407153 call bn_submod 
+72a4 da200638 arg mem_t3 ,rega 
+72a5 da400620 arg mem_t2 ,regb 
+72a6 d8a00620 arg mem_t2 ,contw 
+72a7 20407181 call bn_mulmod 
+72a8 da200620 arg mem_t2 ,rega 
+72a9 da4005f0 arg mem_t1 ,regb 
+72aa d8a00550 arg mem_cy ,contw 
+72ab 20407153 call bn_submod 
+72ac da200550 arg mem_cy ,rega 
+72ad da400748 arg mem_p ,regb 
+72ae d8a00550 arg mem_cy ,contw 
+72af 18002600 force 0 ,regc 
+72b0 6fe08550 fetch 1 ,mem_cy 
+72b1 2feffe00 isolate1 0 ,pdata 
+72b2 2040f10c call bn_add ,true 
+72b3 1a626000 copy regc ,alarm 
+72b4 da200550 arg mem_cy ,rega 
+72b5 20407128 call bn_rshift6 
+72b6 6fe08567 fetch 1 ,mem_cy5 
+72b7 2e0ffe00 isolate1 0 ,alarm 
+72b8 7920fe07 setflag true ,7 ,pdata 
+72b9 67e08567 store 1 ,mem_cy5 
+72ba 20600000 rtn 
+
+eckp_0:
+72bb 6fe084a5 fetch 1 ,mem_ec_loopc 
+72bc 1fe0ffff increase -1 ,pdata 
+72bd 24610000 nrtn positive 
+72be 67e084a5 store 1 ,mem_ec_loopc 
+72bf 6fe084a4 fetch 1 ,mem_ec_infinite 
+72c0 205a71fe call ecdbl ,blank 
+72c1 6fe084a5 fetch 1 ,mem_ec_loopc 
+72c2 d8c00580 arg mem_k ,contr 
+72c3 204070e7 call bn_testbit 
+72c4 2020f2bb branch eckp_0 ,true 
+72c5 6fe084a4 fetch 1 ,mem_ec_infinite 
+72c6 243a72c9 nbranch eckp_1 ,blank 
+72c7 2040724f call ecadd 
+72c8 202072bb branch eckp_0 
+
+eckp_1:
+72c9 7004a400 jam 0 ,mem_ec_infinite 
+72ca d8c004a8 arg mem_ax ,contr 
+72cb d8a00538 arg mem_cx ,contw 
+72cc 204070ed call ec_copy 
+72cd 202072bb branch eckp_0 
+
+ecunmapz:
+72ce da200568 arg mem_cz ,rega 
+72cf d8a00638 arg mem_t3 ,contw 
+72d0 204071b9 call bn_invmod 
+72d1 da200638 arg mem_t3 ,rega 
+72d2 d8a005f0 arg mem_t1 ,contw 
+72d3 204071a3 call bn_sqrmod 
+72d4 da200538 arg mem_cx ,rega 
+72d5 da4005f0 arg mem_t1 ,regb 
+72d6 d8a004f0 arg mem_bx ,contw 
+72d7 20407181 call bn_mulmod 
+72d8 da200638 arg mem_t3 ,rega 
+72d9 da4005f0 arg mem_t1 ,regb 
+72da d8a00620 arg mem_t2 ,contw 
+72db 20407181 call bn_mulmod 
+72dc da200550 arg mem_cy ,rega 
+72dd da400620 arg mem_t2 ,regb 
+72de d8a00508 arg mem_by ,contw 
+72df 20207181 branch bn_mulmod 
+
+sha_endian_swap2:
+72e0 efe20006 ifetch 4 ,contr 
+72e1 18002204 force 4 ,rega 
+72e2 18a08a03 increase 3 ,contw 
+
+sha_endian_loop:
+72e3 e7e08005 istore 1 ,contw 
+72e4 1fecfe00 rshift8 pdata ,pdata 
+72e5 18a08bfe increase -2 ,contw 
+72e6 1a20a3ff increase -1 ,rega 
+72e7 2422f2e3 nbranch sha_endian_loop ,zero 
+72e8 18a08a05 increase 5 ,contw 
+72e9 c20072e0 loop sha_endian_swap2 
+72ea 20600000 rtn 
+
+sha_getw:
+72eb 18ebfe00 lshift2 queue ,pdata 
+72ec 99608c00 iadd timeup ,contr 
+72ed efe20006 ifetch 4 ,contr 
+72ee 20600000 rtn 
+
+sha_r:
+72ef 18006010 force 16 ,alarm 
+72f0 d96004a8 arg memdat ,timeup 
+
+sha_r_loop:
+72f1 1e008ff9 add alarm ,-7 ,queue 
+72f2 204072eb call sha_getw 
+72f3 98000400 iforce temp 
+72f4 1e008ff0 add alarm ,-16 ,queue 
+72f5 204072eb call sha_getw 
+72f6 98408400 iadd temp ,temp 
+72f7 1e008ffe add alarm ,-2 ,queue 
+72f8 204072eb call sha_getw 
+72f9 1fee7e01 shasx pdata ,1 ,pdata 
+72fa 98408400 iadd temp ,temp 
+72fb 1e008ff1 add alarm ,-15 ,queue 
+72fc 204072eb call sha_getw 
+72fd 1fee7e00 shasx pdata ,0 ,pdata 
+72fe 98408400 iadd temp ,temp 
+72ff 1e0bfe00 lshift2 alarm ,pdata 
+7300 99608a00 iadd timeup ,contw 
+7301 e0420005 istoret 4 ,contw 
+7302 1e00e001 increase 1 ,alarm 
+7303 2e01fe40 compare 64 ,alarm ,0xff 
+7304 2420f2f1 nbranch sha_r_loop ,true 
+7305 20600000 rtn 
+
+sha_init:
+7306 d8c007c0 arg memh0 ,contr 
+7307 18007007 force 7 ,regext_index 
+
+sha_init_0:
+7308 efe20006 ifetch 4 ,contr 
+7309 98005e00 iforce regext 
+730a 1f00f1ff increase -1 ,regext_index 
+730b 20217308 branch sha_init_0 ,positive 
+730c 20600000 rtn 
+
+sha:
+730d 473ec02f bpatchx patch2f_5 ,mem_patch2f 
+730e 204072ef call sha_r 
+730f d8a005a8 arg memahbak ,contw 
+7310 18007000 force 0 ,regext_index 
+
+sha_0:
+7311 1de27e00 deposit regext 
+7312 e7e20005 istore 4 ,contw 
+7313 1f00f001 increase 1 ,regext_index 
+7314 2f01fe08 compare 8 ,regext_index ,0xff 
+7315 2420f311 nbranch sha_0 ,true 
+7316 20406e5e call enable_authrom 
+7317 d9609300 arg memk ,timeup 
+7318 de0004a8 arg memdat ,alarm 
+7319 18007240 force 64 ,loopcnt 
+
+sha_loop:
+731a e8420030 ifetcht 4 ,alarm 
+731b efe2000b ifetch 4 ,timeup 
+731c 19609604 increase 4 ,timeup 
+731d 1e00e004 increase 4 ,alarm 
+731e 9840fe00 iadd temp ,pdata 
+731f 18007007 force 7 ,regext_index 
+7320 9de08400 iadd regext ,temp 
+7321 18007004 force 4 ,regext_index 
+7322 1dee7e03 shasx regext ,3 ,pdata 
+7323 98408400 iadd temp ,temp 
+7324 18007005 force 5 ,regext_index 
+7325 1de27e00 deposit regext 
+7326 18007006 force 6 ,regext_index 
+7327 9de2fe00 ixor regext ,pdata 
+7328 18007004 force 4 ,regext_index 
+7329 9de17e00 iand regext ,pdata 
+732a 18007006 force 6 ,regext_index 
+732b 9de2fe00 ixor regext ,pdata 
+732c 98408400 iadd temp ,temp 
+732d 18007007 force 7 ,regext_index 
+732e 18425e00 copy temp ,regext 
+732f 18007003 force 3 ,regext_index 
+7330 1de27e00 deposit regext 
+7331 9840de00 iadd temp ,regext 
+7332 18007000 force 0 ,regext_index 
+7333 1de27e00 deposit regext 
+7334 18007001 force 1 ,regext_index 
+7335 9de10400 iand regext ,temp 
+7336 9de1fe00 ior regext ,pdata 
+7337 18007002 force 2 ,regext_index 
+7338 9de17e00 iand regext ,pdata 
+7339 98418400 ior temp ,temp 
+733a 18007000 force 0 ,regext_index 
+733b 1dee7e02 shasx regext ,2 ,pdata 
+733c 9840fe00 iadd temp ,pdata 
+733d 18007007 force 7 ,regext_index 
+733e 9de0de00 iadd regext ,regext 
+733f 980efc00 regexrot 
+7340 c200731a loop sha_loop 
+7341 d8c005a8 arg memahbak ,contr 
+7342 18007000 force 0 ,regext_index 
+
+sha_1:
+7343 efe20006 ifetch 4 ,contr 
+7344 9de0de00 iadd regext ,regext 
+7345 1f00f001 increase 1 ,regext_index 
+7346 2f01fe08 compare 8 ,regext_index ,0xff 
+7347 2420f343 nbranch sha_1 ,true 
+7348 20206e62 branch disable_authrom 
+
+sha_result:
+7349 d8a00900 arg memresult ,contw 
+734a 18007007 force 7 ,regext_index 
+
+sha_regext_save:
+734b 1de27e00 deposit regext 
+734c e7e20005 istore 4 ,contw 
+734d 1f00f1ff increase -1 ,regext_index 
+734e 2021734b branch sha_regext_save ,positive 
+734f 20600000 rtn 
+
+pad_xor:
+7350 d8a004a8 arg memdat ,contw 
+7351 18c08dfc increase -4 ,contr 
+7352 1f262210 sub loopcnt ,16 ,rega 
+
+pad_xor_0:
+7353 efe20006 ifetch 4 ,contr 
+7354 9842fe00 ixor temp ,pdata 
+7355 e7e20005 istore 4 ,contw 
+7356 18c08df8 increase -8 ,contr 
+7357 c2007353 loop pad_xor_0 
+7358 1a227200 copy rega ,loopcnt 
+7359 18427e00 deposit temp 
+
+pad_xor_1:
+735a e7e20005 istore 4 ,contw 
+735b c200735a loop pad_xor_1 
+735c 20600000 rtn 
+
+g_noninit_number_confirm:
+735d 6fe0c648 fetch 1 ,mem_encapsulated_minor_type 
+735e c0017364 beq encapsulated_minor_type_p256 ,g_noninit_number_confirm_256 
+735f c000f361 beq encapsulated_minor_type_p192 ,g_noninit_number_confirm_192 
+7360 20600000 rtn 
+
+g_noninit_number_confirm_192:
+7361 20407369 call g_noninit0_192 
+7362 20407349 call sha_result 
+7363 2020738f branch g_common0 
+
+g_noninit_number_confirm_256:
+7364 204073a3 call g_noninit0_256 
+7365 20407349 call sha_result 
+7366 2020738f branch g_common0 
+
+g_noninit_192:
+7367 20407369 call g_noninit0_192 
+7368 2020738f branch g_common0 
+
+g_noninit0_192:
+7369 d8c008a0 arg mem_sp_pubkey_remote_x_end ,contr 
+736a d8a004a8 arg memdat ,contw 
+736b 18007206 force 6 ,loopcnt 
+736c 2040748d call memcpy_dword_swap 
+736d d8c0474f arg mem_sp_pubkey_local_x_end ,contr 
+736e 18007206 force 6 ,loopcnt 
+736f 2040748d call memcpy_dword_swap 
+7370 d8c00900 arg mem_sp_random_remote_end ,contr 
+7371 2040748c call memcpy_dword_swap4 
+7372 20407306 call sha_init 
+7373 2040730d call sha 
+7374 d8c008f0 arg mem_sp_random_local_end ,contr 
+7375 d8a004a8 arg memdat ,contw 
+7376 20207386 branch g_common_192 
+
+g_init_192:
+7377 d8c0474f arg mem_sp_pubkey_local_x_end ,contr 
+7378 d8a004a8 arg memdat ,contw 
+7379 18007206 force 6 ,loopcnt 
+737a 2040748d call memcpy_dword_swap 
+737b d8c008a0 arg mem_sp_pubkey_remote_x_end ,contr 
+737c 18007206 force 6 ,loopcnt 
+737d 2040748d call memcpy_dword_swap 
+737e d8c008f0 arg mem_sp_random_local_end ,contr 
+737f 2040748c call memcpy_dword_swap4 
+7380 20407306 call sha_init 
+7381 2040730d call sha 
+7382 d8c00900 arg mem_sp_random_remote_end ,contr 
+7383 d8a004a8 arg memdat ,contw 
+7384 20407386 call g_common_192 
+7385 2020738f branch g_common0 
+
+g_common_192:
+7386 2040748c call memcpy_dword_swap4 
+7387 58800000 setarg 0x800000 
+7388 1fed7e00 lshift8 pdata ,pdata 
+7389 e7e20005 istore 4 ,contw 
+738a 18007205 force 5 ,loopcnt 
+738b 20407d8c call memset0 
+738c 58000280 setarg 640 
+738d e7e20005 istore 4 ,contw 
+738e 2020730d branch sha 
+
+g_common0:
+738f 6fe20900 fetch 4 ,memresult 
+7390 da2003e8 arg 1000 ,rega 
+7391 9a26fc00 idiv rega 
+7392 20407e64 call wait_div_end 
+7393 18077e00 remainder pdata 
+7394 67e2087c store 4 ,mem_gkey 
+7395 1807fe00 quotient pdata 
+7396 da2003e8 arg 1000 ,rega 
+7397 9a26fc00 idiv rega 
+7398 20407e64 call wait_div_end 
+7399 18077e00 remainder pdata 
+739a da2003e8 arg 1000 ,rega 
+739b 9a2ffe00 imul32 rega ,pdata 
+739c 684a087c fetcht 4 ,mem_gkey 
+739d 9840fe00 iadd temp ,pdata 
+739e 67e2087c store 4 ,mem_gkey 
+739f 20600000 rtn 
+
+noninit_number_confirm:
+73a0 204073a3 call g_noninit0_256 
+73a1 20407349 call sha_result 
+73a2 2020738f branch g_common0 
+
+g_noninit0_256:
+73a3 d8c008a0 arg mem_le_pubkey_remote_x_256 + 32 ,contr 
+73a4 d8a004a8 arg memdat ,contw 
+73a5 18007208 force 8 ,loopcnt 
+73a6 2040748d call memcpy_dword_swap 
+73a7 d8c046ff arg mem_sc_pubkey_local_x_256 + 32 ,contr 
+73a8 18007208 force 8 ,loopcnt 
+73a9 2040748d call memcpy_dword_swap 
+73aa 20407306 call sha_init 
+73ab 2040730d call sha 
+73ac d8c00900 arg mem_sp_random_remote_end ,contr 
+73ad d8a004a8 arg memdat ,contw 
+73ae 2040748c call memcpy_dword_swap4 
+73af d8c008f0 arg mem_sp_random_local_end ,contr 
+73b0 202073b1 branch g_common_256 
+
+g_common_256:
+73b1 2040748c call memcpy_dword_swap4 
+73b2 58800000 setarg 0x800000 
+73b3 1fed7e00 lshift8 pdata ,pdata 
+73b4 e7e20005 istore 4 ,contw 
+73b5 18007203 force 3 ,loopcnt 
+73b6 20407d8c call memset0 
+73b7 58000300 setarg 768 
+73b8 e7e20005 istore 4 ,contw 
+73b9 2020730d branch sha 
+
+function_f1_192_no_key:
+73ba 70477100 jam 0 ,mem_passkey_1bit 
+73bb 202073be branch function_f1_192_common 
+
+function_f1_192:
+73bc 6fe0c76f fetch 1 ,mem_ssp_mode_flag 
+73bd c08173ba bne ssp_mode_passkey_entry_flag ,function_f1_192_no_key 
+
+function_f1_192_common:
+73be 473f402f bpatchx patch2f_6 ,mem_patch2f 
+73bf 58363636 setarg 0x363636 
+73c0 1fed0400 lshift8 pdata ,temp 
+73c1 18418436 or_into 0x36 ,temp 
+73c2 6fe10940 fetch 2 ,mem_sp_prarm_stack 
+73c3 1fe20c00 copy pdata ,contr 
+73c4 18007204 force 4 ,loopcnt 
+73c5 20407350 call pad_xor 
+73c6 20407306 call sha_init 
+73c7 2040730d call sha 
+73c8 6fe10942 fetch 2 ,mem_sp_prarm_stack + 2 
+73c9 1fe20c00 copy pdata ,contr 
+73ca d8a004a8 arg memdat ,contw 
+73cb 18007206 force 6 ,loopcnt 
+73cc 2040748d call memcpy_dword_swap 
+73cd 6fe10944 fetch 2 ,mem_sp_prarm_stack + 4 
+73ce 1fe20c00 copy pdata ,contr 
+73cf 18007206 force 6 ,loopcnt 
+73d0 2040748d call memcpy_dword_swap 
+73d1 58800000 setarg 0x800000 
+73d2 e7e18005 istore 3 ,contw 
+73d3 6fe0c771 fetch 1 ,mem_passkey_1bit 
+73d4 e7e08005 istore 1 ,contw 
+73d5 18007e00 force 0 ,pdata 
+73d6 e7e40005 istore 8 ,contw 
+73d7 58000388 setarg 0x0388 
+73d8 e7e20005 istore 4 ,contw 
+
+function_f1_common2:
+73d9 2040730d call sha 
+73da 20407349 call sha_result 
+73db d8c00900 arg memresult ,contr 
+73dc d8a005c8 arg memahsave ,contw 
+73dd 20407d7d call memcpy32 
+73de 585c5c5c setarg 0x5c5c5c 
+73df 1fed0400 lshift8 pdata ,temp 
+73e0 1841845c or_into 0x5c ,temp 
+73e1 6fe10940 fetch 2 ,mem_sp_prarm_stack 
+73e2 1fe20c00 copy pdata ,contr 
+73e3 18007204 force 4 ,loopcnt 
+73e4 20407350 call pad_xor 
+73e5 20407306 call sha_init 
+73e6 2040730d call sha 
+73e7 d8c005e8 arg memahsave_end ,contr 
+73e8 d8a004a8 arg memdat ,contw 
+73e9 18007208 force 8 ,loopcnt 
+73ea 2040748d call memcpy_dword_swap 
+73eb 58800000 setarg 0x800000 
+73ec 1fed7e00 lshift8 pdata ,pdata 
+73ed e7e20005 istore 4 ,contw 
+73ee 20407d8b call bn_zero 
+73ef 58000300 setarg 0x0300 
+73f0 e7e20005 istore 4 ,contw 
+73f1 2040730d call sha 
+73f2 20207349 branch sha_result 
+
+function_f2_192:
+73f3 58363636 setarg 0x363636 
+73f4 1fed0400 lshift8 pdata ,temp 
+73f5 18418436 or_into 0x36 ,temp 
+73f6 d8c008e0 arg mem_sp_dhkey_end ,contr 
+73f7 18007206 force 6 ,loopcnt 
+73f8 20407350 call pad_xor 
+73f9 20407306 call sha_init 
+73fa 2040730d call sha 
+73fb 6fe1094c fetch 2 ,mem_sp_prarm_stack + 12 
+73fc 1fe20c00 copy pdata ,contr 
+73fd d8a004a8 arg memdat ,contw 
+73fe 2040748c call memcpy_dword_swap4 
+73ff 6fe1094e fetch 2 ,mem_sp_prarm_stack + 14 
+7400 1fe20c00 copy pdata ,contr 
+7401 2040748c call memcpy_dword_swap4 
+7402 5862746c setarg 0x62746c 
+7403 1fed7e00 lshift8 pdata ,pdata 
+7404 1fe1fe6b or_into 0x6b ,pdata 
+7405 e7e20005 istore 4 ,contw 
+7406 d8c005f5 arg mem_addr_value_end ,contr 
+7407 18007203 force 3 ,loopcnt 
+7408 2040748d call memcpy_dword_swap 
+7409 58800000 setarg 0x800000 
+740a 1fed7e00 lshift8 pdata ,pdata 
+740b e7e20005 istore 4 ,contw 
+740c 18007e00 force 0 ,pdata 
+740d e7e40005 istore 8 ,contw 
+740e 58000380 setarg 0x0380 
+740f e7e20005 istore 4 ,contw 
+7410 2040730d call sha 
+7411 20407349 call sha_result 
+7412 d8c00900 arg memresult ,contr 
+7413 d8a005c8 arg memahsave ,contw 
+7414 20407d7d call memcpy32 
+7415 585c5c5c setarg 0x5c5c5c 
+7416 1fed0400 lshift8 pdata ,temp 
+7417 1841845c or_into 0x5c ,temp 
+7418 d8c008e0 arg mem_sp_dhkey_end ,contr 
+7419 18007206 force 6 ,loopcnt 
+741a 20407350 call pad_xor 
+741b 20407306 call sha_init 
+741c 2040730d call sha 
+741d d8c005e8 arg memahsave_end ,contr 
+741e d8a004a8 arg memdat ,contw 
+741f 18007208 force 8 ,loopcnt 
+7420 2040748d call memcpy_dword_swap 
+7421 58800000 setarg 0x800000 
+7422 1fed7e00 lshift8 pdata ,pdata 
+7423 e7e20005 istore 4 ,contw 
+7424 20407d8b call bn_zero 
+7425 58000300 setarg 0x0300 
+7426 e7e20005 istore 4 ,contw 
+7427 2040730d call sha 
+7428 20207349 branch sha_result 
+
+function_f3a_192:
+7429 6fe0c76f fetch 1 ,mem_ssp_mode_flag 
+742a c081743a bne ssp_mode_passkey_entry_flag ,function_f3a_no_pin 
+
+function_f3a_common:
+742b 473fc02f bpatchx patch2f_7 ,mem_patch2f 
+742c 58363636 setarg 0x363636 
+742d 1fed0400 lshift8 pdata ,temp 
+742e 18418436 or_into 0x36 ,temp 
+742f d8c008e0 arg mem_sp_dhkey_end ,contr 
+7430 18007206 force 6 ,loopcnt 
+7431 20407350 call pad_xor 
+7432 20407306 call sha_init 
+7433 2040730d call sha 
+7434 d8c00900 arg mem_sp_random_remote_end ,contr 
+7435 d8a004a8 arg memdat ,contw 
+7436 2040748c call memcpy_dword_swap4 
+7437 d8c008f0 arg mem_sp_random_local_end ,contr 
+7438 2040748c call memcpy_dword_swap4 
+7439 2020744f branch function_f3_common 
+
+function_f3a_no_pin:
+743a 58000000 setarg 0 
+743b 67e24797 store 4 ,mem_pin 
+743c 2020742b branch function_f3a_common 
+
+function_f3b_no_pin:
+743d 58000000 setarg 0 
+743e 67e24797 store 4 ,mem_pin 
+743f 20207442 branch function_f3b_common 
+
+function_f3b_192:
+7440 6fe0c76f fetch 1 ,mem_ssp_mode_flag 
+7441 c081743d bne ssp_mode_passkey_entry_flag ,function_f3b_no_pin 
+
+function_f3b_common:
+7442 58363636 setarg 0x363636 
+7443 1fed0400 lshift8 pdata ,temp 
+7444 18418436 or_into 0x36 ,temp 
+7445 d8c008e0 arg mem_sp_dhkey_end ,contr 
+7446 18007206 force 6 ,loopcnt 
+7447 20407350 call pad_xor 
+7448 20407306 call sha_init 
+7449 2040730d call sha 
+744a d8c008f0 arg mem_sp_random_local_end ,contr 
+744b d8a004a8 arg memdat ,contw 
+744c 2040748c call memcpy_dword_swap4 
+744d d8c00900 arg mem_sp_random_remote_end ,contr 
+744e 2040748c call memcpy_dword_swap4 
+
+function_f3_common:
+744f 58000000 setarg 0x0 
+7450 e7e40005 istore 8 ,contw 
+7451 e7e20005 istore 4 ,contw 
+7452 6fe24797 fetch 4 ,mem_pin 
+7453 e7e20005 istore 4 ,contw 
+7454 18a20400 copy contw ,temp 
+7455 7005e880 jam 0x80 ,mem_addr_padding 
+7456 18420a00 copy temp ,contw 
+7457 d8c005f8 arg mem_addr_iocap_end ,contr 
+7458 2040748c call memcpy_dword_swap4 
+7459 2040730d call sha 
+745a d8a004a8 arg memdat ,contw 
+745b 18007207 force 7 ,loopcnt 
+745c 20407d8c call memset0 
+745d e7e20005 istore 4 ,contw 
+745e 580003f8 setarg 0x03F8 
+745f e7e20005 istore 4 ,contw 
+7460 2040730d call sha 
+7461 20407349 call sha_result 
+7462 d8c00900 arg memresult ,contr 
+7463 d8a005c8 arg memahsave ,contw 
+7464 20407d7d call memcpy32 
+7465 585c5c5c setarg 0x5c5c5c 
+7466 1fed0400 lshift8 pdata ,temp 
+7467 1841845c or_into 0x5c ,temp 
+7468 d8c008e0 arg mem_sp_dhkey_end ,contr 
+7469 18007206 force 6 ,loopcnt 
+746a 20407350 call pad_xor 
+746b 20407306 call sha_init 
+746c 2040730d call sha 
+746d d8c005e8 arg memahsave_end ,contr 
+746e d8a004a8 arg memdat ,contw 
+746f 18007208 force 8 ,loopcnt 
+7470 2040748d call memcpy_dword_swap 
+7471 58800000 setarg 0x800000 
+7472 1fed7e00 lshift8 pdata ,pdata 
+7473 e7e20005 istore 4 ,contw 
+7474 20407d8b call bn_zero 
+7475 58000300 setarg 0x0300 
+7476 e7e20005 istore 4 ,contw 
+7477 2040730d call sha 
+7478 20207349 branch sha_result 
+
+eckp_calc_init:
+7479 7004a5c0 jam 192 ,mem_ec_loopc 
+
+eckp_calc_init_1:
+747a 6fe084a5 fetch 1 ,mem_ec_loopc 
+747b 207a0000 rtn blank 
+747c 1fe0ffff increase -1 ,pdata 
+747d 67e084a5 store 1 ,mem_ec_loopc 
+747e d8c00580 arg mem_k ,contr 
+747f 204070e7 call bn_testbit 
+7480 2020f47a branch eckp_calc_init_1 ,true 
+7481 d8c004a8 arg mem_ax ,contr 
+7482 d8a00538 arg mem_cx ,contw 
+7483 202070ed branch ec_copy 
+
+eckp_calc:
+7484 204071fe call ecdbl 
+7485 6fe084a5 fetch 1 ,mem_ec_loopc 
+7486 1fe0ffff increase -1 ,pdata 
+7487 67e084a5 store 1 ,mem_ec_loopc 
+7488 d8c00580 arg mem_k ,contr 
+7489 204070e7 call bn_testbit 
+748a 20608000 rtn true 
+748b 2020724f branch ecadd 
+
+memcpy_dword_swap4:
+748c 18007204 force 4 ,loopcnt 
+
+memcpy_dword_swap:
+748d 18c08dfc increase -4 ,contr 
+
+memcpy_dword_swap_loop:
+748e efe20006 ifetch 4 ,contr 
+748f e7e20005 istore 4 ,contw 
+7490 18c08df8 increase -8 ,contr 
+7491 c200748e loop memcpy_dword_swap_loop 
+7492 20600000 rtn 
+
+function_f1_no_key_256:
+7493 70477100 jam 0 ,mem_passkey_1bit 
+7494 20207497 branch function_f1_common_256 
+
+function_f1_256:
+7495 6fe0c76f fetch 1 ,mem_ssp_mode_flag 
+7496 c0817493 bne ssp_mode_passkey_entry_flag ,function_f1_no_key_256 
+
+function_f1_common_256:
+7497 58363636 setarg 0x363636 
+7498 1fed0400 lshift8 pdata ,temp 
+7499 18418436 or_into 0x36 ,temp 
+749a 6fe10940 fetch 2 ,mem_sp_prarm_stack 
+749b 1fe20c00 copy pdata ,contr 
+749c 18007204 force 4 ,loopcnt 
+749d 20407350 call pad_xor 
+749e 20407306 call sha_init 
+749f 2040730d call sha 
+74a0 6fe10942 fetch 2 ,mem_sp_prarm_stack + 2 
+74a1 1fe20c00 copy pdata ,contr 
+74a2 d8a004a8 arg memdat ,contw 
+74a3 18007208 force 8 ,loopcnt 
+74a4 2040748d call memcpy_dword_swap 
+74a5 6fe10944 fetch 2 ,mem_sp_prarm_stack + 4 
+74a6 1fe20c00 copy pdata ,contr 
+74a7 18007208 force 8 ,loopcnt 
+74a8 2040748d call memcpy_dword_swap 
+74a9 2040730d call sha 
+74aa d8a004a8 arg memdat ,contw 
+74ab 58800000 setarg 0x800000 
+74ac e7e18005 istore 3 ,contw 
+74ad 6fe0c771 fetch 1 ,mem_passkey_1bit 
+74ae e7e08005 istore 1 ,contw 
+74af df200007 arg 7 ,loopcnt 
+74b0 20407d8c call memset0 
+74b1 58000408 setarg 0x0408 
+74b2 e7e20005 istore 4 ,contw 
+74b3 202073d9 branch function_f1_common2 
+
+function_f3a:
+74b4 6fe0c648 fetch 1 ,mem_encapsulated_minor_type 
+74b5 c00174b8 beq encapsulated_minor_type_p256 ,function_f3a_256 
+74b6 c000f429 beq encapsulated_minor_type_p192 ,function_f3a_192 
+74b7 20600000 rtn 
+
+function_f3a_256:
+74b8 6fe0c76f fetch 1 ,mem_ssp_mode_flag 
+74b9 c08174f1 bne ssp_mode_passkey_entry_flag ,function_f3a_no_pin_256 
+
+function_f3a_common_256:
+74ba 58363636 setarg 0x363636 
+74bb 1fed0400 lshift8 pdata ,temp 
+74bc 18418436 or_into 0x36 ,temp 
+74bd d8c008e0 arg mem_sp_dhkey_end ,contr 
+74be 18007208 force 8 ,loopcnt 
+74bf 20407350 call pad_xor 
+74c0 20407306 call sha_init 
+74c1 2040730d call sha 
+74c2 d8c00900 arg mem_sp_random_remote_end ,contr 
+74c3 d8a004a8 arg memdat ,contw 
+74c4 2040748c call memcpy_dword_swap4 
+74c5 d8c008f0 arg mem_sp_random_local_end ,contr 
+74c6 2040748c call memcpy_dword_swap4 
+
+function_f3_common_256:
+74c7 58000000 setarg 0x0 
+74c8 e7e40005 istore 8 ,contw 
+74c9 e7e20005 istore 4 ,contw 
+74ca 6fe24797 fetch 4 ,mem_pin 
+74cb e7e20005 istore 4 ,contw 
+74cc 18a20400 copy contw ,temp 
+74cd 7005e880 jam 0x80 ,mem_addr_padding 
+74ce 18420a00 copy temp ,contw 
+74cf d8c005f8 arg mem_addr_iocap_end ,contr 
+74d0 2040748c call memcpy_dword_swap4 
+74d1 2040730d call sha 
+74d2 d8a004a8 arg memdat ,contw 
+74d3 18007207 force 7 ,loopcnt 
+74d4 20407d8c call memset0 
+74d5 e7e20005 istore 4 ,contw 
+74d6 580003f8 setarg 0x03F8 
+74d7 e7e20005 istore 4 ,contw 
+74d8 2040730d call sha 
+74d9 20407349 call sha_result 
+74da d8c00900 arg memresult ,contr 
+74db d8a005c8 arg memahsave ,contw 
+74dc 20407d7d call memcpy32 
+74dd 585c5c5c setarg 0x5c5c5c 
+74de 1fed0400 lshift8 pdata ,temp 
+74df 1841845c or_into 0x5c ,temp 
+74e0 d8c008e0 arg mem_sp_dhkey_end ,contr 
+74e1 18007208 force 8 ,loopcnt 
+
+sha_end_common:
+74e2 20407350 call pad_xor 
+74e3 20407306 call sha_init 
+74e4 2040730d call sha 
+74e5 d8c005e8 arg memahsave_end ,contr 
+74e6 d8a004a8 arg memdat ,contw 
+74e7 18007208 force 8 ,loopcnt 
+74e8 2040748d call memcpy_dword_swap 
+74e9 58800000 setarg 0x800000 
+74ea 1fed7e00 lshift8 pdata ,pdata 
+74eb e7e20005 istore 4 ,contw 
+74ec 20407d8b call bn_zero 
+74ed 58000300 setarg 0x0300 
+74ee e7e20005 istore 4 ,contw 
+74ef 2040730d call sha 
+74f0 20207349 branch sha_result 
+
+function_f3a_no_pin_256:
+74f1 58000000 setarg 0 
+74f2 67e24797 store 4 ,mem_pin 
+74f3 202074ba branch function_f3a_common_256 
+
+function_f3b_no_pin_256:
+74f4 58000000 setarg 0 
+74f5 67e24797 store 4 ,mem_pin 
+74f6 202074fd branch function_f3b_common_256 
+
+function_f3b:
+74f7 6fe0c648 fetch 1 ,mem_encapsulated_minor_type 
+74f8 c00174fb beq encapsulated_minor_type_p256 ,function_f3b_256 
+74f9 c000f440 beq encapsulated_minor_type_p192 ,function_f3b_192 
+74fa 20600000 rtn 
+
+function_f3b_256:
+74fb 6fe0c76f fetch 1 ,mem_ssp_mode_flag 
+74fc c08174f4 bne ssp_mode_passkey_entry_flag ,function_f3b_no_pin_256 
+
+function_f3b_common_256:
+74fd 58363636 setarg 0x363636 
+74fe 1fed0400 lshift8 pdata ,temp 
+74ff 18418436 or_into 0x36 ,temp 
+7500 d8c008e0 arg mem_sp_dhkey_end ,contr 
+7501 18007208 force 8 ,loopcnt 
+7502 20407350 call pad_xor 
+7503 20407306 call sha_init 
+7504 2040730d call sha 
+7505 d8c008f0 arg mem_sp_random_local_end ,contr 
+7506 d8a004a8 arg memdat ,contw 
+7507 2040748c call memcpy_dword_swap4 
+7508 d8c00900 arg mem_sp_random_remote_end ,contr 
+7509 2040748c call memcpy_dword_swap4 
+750a 202074c7 branch function_f3_common_256 
+
+function_f2:
+750b 6fe0c648 fetch 1 ,mem_encapsulated_minor_type 
+750c c001750f beq encapsulated_minor_type_p256 ,function_f2_256 
+750d c000f3f3 beq encapsulated_minor_type_p192 ,function_f2_192 
+750e 20600000 rtn 
+
+function_f2_256:
+750f 58363636 setarg 0x363636 
+7510 1fed0400 lshift8 pdata ,temp 
+7511 18418436 or_into 0x36 ,temp 
+7512 d8c008e0 arg mem_sp_dhkey_end ,contr 
+7513 18007208 force 8 ,loopcnt 
+7514 20407350 call pad_xor 
+7515 20407306 call sha_init 
+7516 2040730d call sha 
+7517 6fe1094c fetch 2 ,mem_sp_prarm_stack + 12 
+7518 1fe20c00 copy pdata ,contr 
+7519 d8a004a8 arg memdat ,contw 
+751a 2040748c call memcpy_dword_swap4 
+751b 6fe1094e fetch 2 ,mem_sp_prarm_stack + 14 
+751c 1fe20c00 copy pdata ,contr 
+751d 2040748c call memcpy_dword_swap4 
+751e 5862746c setarg 0x62746c 
+751f 1fed7e00 lshift8 pdata ,pdata 
+7520 1fe1fe6b or_into 0x6b ,pdata 
+7521 e7e20005 istore 4 ,contw 
+7522 d8c005f5 arg mem_addr_value_end ,contr 
+7523 18007203 force 3 ,loopcnt 
+7524 2040748d call memcpy_dword_swap 
+7525 58800000 setarg 0x800000 
+7526 1fed7e00 lshift8 pdata ,pdata 
+7527 e7e20005 istore 4 ,contw 
+7528 18007e00 force 0 ,pdata 
+7529 e7e40005 istore 8 ,contw 
+752a 58000380 setarg 0x0380 
+752b e7e20005 istore 4 ,contw 
+752c 2040730d call sha 
+752d 20407349 call sha_result 
+752e d8c00900 arg memresult ,contr 
+752f d8a005c8 arg memahsave ,contw 
+7530 20407d7d call memcpy32 
+7531 585c5c5c setarg 0x5c5c5c 
+7532 1fed0400 lshift8 pdata ,temp 
+7533 1841845c or_into 0x5c ,temp 
+7534 d8c008e0 arg mem_sp_dhkey_end ,contr 
+7535 18007208 force 8 ,loopcnt 
+7536 202074e2 branch sha_end_common 
+
+function_h3:
+7537 6fe340a8 fetch 6 ,mem_lap 
+7538 67e305e9 store 6 ,mem_addr_value 
+7539 6fe30040 fetch 6 ,mem_plap 
+753a e7e30005 istore 6 ,contw 
+753b 58363636 setarg 0x363636 
+753c 1fed0400 lshift8 pdata ,temp 
+753d 18418436 or_into 0x36 ,temp 
+753e d8c041db arg mem_link_key + 16 ,contr 
+753f 18007204 force 4 ,loopcnt 
+7540 20407350 call pad_xor 
+7541 20407306 call sha_init 
+7542 2040730d call sha 
+7543 58627461 setarg 0x627461 
+7544 1fed7e00 lshift8 pdata ,pdata 
+7545 1fe1fe6b or_into 0x6b ,pdata 
+7546 67e204a8 store 4 ,memdat 
+7547 d8c005f5 arg mem_addr_value + 12 ,contr 
+7548 18007203 force 3 ,loopcnt 
+7549 2040748d call memcpy_dword_swap 
+754a d8c046b5 arg mem_ccm_iv + 8 ,contr 
+754b df200002 arg 2 ,loopcnt 
+754c 2040748d call memcpy_dword_swap 
+754d 58800000 setarg 0x800000 
+754e 1fed7e00 lshift8 pdata ,pdata 
+754f e7e20005 istore 4 ,contw 
+7550 df200004 arg 4 ,loopcnt 
+7551 20407d8c call memset0 
+7552 580002c0 setarg 704 
+7553 e7e20005 istore 4 ,contw 
+7554 2040730d call sha 
+7555 20407349 call sha_result 
+7556 d8c00900 arg memresult ,contr 
+7557 d8a005c8 arg memahsave ,contw 
+7558 20407d7d call memcpy32 
+7559 585c5c5c setarg 0x5c5c5c 
+755a 1fed0400 lshift8 pdata ,temp 
+755b 1841845c or_into 0x5c ,temp 
+755c d8c041db arg mem_link_key + 16 ,contr 
+755d 18007204 force 4 ,loopcnt 
+755e 202074e2 branch sha_end_common 
+
+function_h4:
+755f 6fe340a8 fetch 6 ,mem_lap 
+7560 67e305e9 store 6 ,mem_addr_value 
+7561 6fe30040 fetch 6 ,mem_plap 
+7562 e7e30005 istore 6 ,contw 
+7563 58363636 setarg 0x363636 
+7564 1fed0400 lshift8 pdata ,temp 
+7565 18418436 or_into 0x36 ,temp 
+7566 d8c041db arg mem_link_key + 16 ,contr 
+7567 18007204 force 4 ,loopcnt 
+7568 20407350 call pad_xor 
+7569 20407306 call sha_init 
+756a 2040730d call sha 
+756b 58627464 setarg 0x627464 
+756c 1fed7e00 lshift8 pdata ,pdata 
+756d 1fe1fe6b or_into 0x6b ,pdata 
+756e 67e204a8 store 4 ,memdat 
+756f d8c005f5 arg mem_addr_value + 12 ,contr 
+7570 18007203 force 3 ,loopcnt 
+7571 2040748d call memcpy_dword_swap 
+7572 58800000 setarg 0x800000 
+7573 1fed7e00 lshift8 pdata ,pdata 
+7574 e7e20005 istore 4 ,contw 
+7575 df200005 arg 5 ,loopcnt 
+7576 20407d8c call memset0 
+7577 58000280 setarg 640 
+7578 e7e20005 istore 4 ,contw 
+7579 2040730d call sha 
+757a 20407349 call sha_result 
+757b d8c00900 arg memresult ,contr 
+757c d8a005c8 arg memahsave ,contw 
+757d 20407d7d call memcpy32 
+757e 585c5c5c setarg 0x5c5c5c 
+757f 1fed0400 lshift8 pdata ,temp 
+7580 1841845c or_into 0x5c ,temp 
+7581 d8c041db arg mem_link_key + 16 ,contr 
+7582 18007204 force 4 ,loopcnt 
+7583 202074e2 branch sha_end_common 
+
+function_h5:
+7584 d8c00910 arg mem_sp_calc_result_high ,contr 
+7585 d8a00454 arg mem_input_store ,contw 
+7586 20407d7f call memcpy16 
+7587 58000900 setarg mem_sp_random_remote + 16 
+7588 67e10940 store 2 ,mem_sp_prarm_stack 
+7589 58000434 setarg mem_random_number + 16 
+758a e7e10005 istore 2 ,contw 
+758b 58363636 setarg 0x363636 
+758c 1fed0400 lshift8 pdata ,temp 
+758d 18418436 or_into 0x36 ,temp 
+758e d8c00464 arg mem_input_store + 16 ,contr 
+758f 18007204 force 4 ,loopcnt 
+7590 20407350 call pad_xor 
+7591 20407306 call sha_init 
+7592 2040730d call sha 
+7593 d8a004a8 arg memdat ,contw 
+7594 6fe10940 fetch 2 ,mem_sp_prarm_stack 
+7595 1fe20c00 copy pdata ,contr 
+7596 2040748c call memcpy_dword_swap4 
+7597 6fe10942 fetch 2 ,mem_sp_prarm_stack + 2 
+7598 1fe20c00 copy pdata ,contr 
+7599 2040748c call memcpy_dword_swap4 
+759a 58800000 setarg 0x800000 
+759b 1fed7e00 lshift8 pdata ,pdata 
+759c e7e20005 istore 4 ,contw 
+759d df200003 arg 3 ,loopcnt 
+759e 20407d8c call memset0 
+759f 58000300 setarg 768 
+75a0 e7e20005 istore 4 ,contw 
+75a1 2040730d call sha 
+75a2 20407349 call sha_result 
+75a3 d8c00900 arg memresult ,contr 
+75a4 d8a005c8 arg memahsave ,contw 
+75a5 20407d7d call memcpy32 
+75a6 585c5c5c setarg 0x5c5c5c 
+75a7 1fed0400 lshift8 pdata ,temp 
+75a8 1841845c or_into 0x5c ,temp 
+75a9 d8c00464 arg mem_input_store + 16 ,contr 
+75aa 18007204 force 4 ,loopcnt 
+75ab 202074e2 branch sha_end_common 
+
+sp_initialize_256:
+75ac 47404030 bpatchx patch30_0 ,mem_patch30 
+75ad 6fe0c6bb fetch 1 ,mem_secure_connections_enable 
+75ae 243a75cd nbranch sp_pubkey_calc_256 ,blank 
+
+sc_reset:
+75af 7046bd00 jam sp_calc_standby ,mem_sc_calc 
+75b0 7046be00 jam sp_key_invalid ,mem_sc_local_key_invalid 
+75b1 20600000 rtn 
+
+sp_wait_pubkey_calc_256_done:
+75b2 6fe0c6bb fetch 1 ,mem_secure_connections_enable 
+75b3 207a0000 rtn blank 
+75b4 6fe0c6be fetch 1 ,mem_sc_local_key_invalid 
+75b5 c1018000 rtneq sp_key_valid_256 
+75b6 20407602 call sp_calc_sequence_256 
+75b7 202075b2 branch sp_wait_pubkey_calc_256_done 
+
+sp_debug_private_256:
+75b8 d8a046bf arg mem_sc_private_key_256 ,contw 
+75b9 38001abd setsect 0 ,0x1abd 
+75ba 3805b34f setsect 1 ,0x1b34f 
+75bb 38099b8a setsect 2 ,0x19b8a 
+75bc 380e6562 setsect 3 ,0x26562 
+75bd e7e48005 istore 9 ,contw 
+75be 380340b7 setsect 0 ,0x340b7 
+75bf 38041efa setsect 1 ,0x1efa 
+75c0 3808aff6 setsect 2 ,0xaff6 
+75c1 380cfd41 setsect 3 ,0xfd41 
+75c2 e7e48005 istore 9 ,contw 
+75c3 3803d210 setsect 0 ,0x3d210 
+75c4 38066cf8 setsect 1 ,0x26cf8 
+75c5 380b874c setsect 2 ,0x3874c 
+75c6 380f157c setsect 3 ,0x3157c 
+75c7 e7e48005 istore 9 ,contw 
+75c8 3802d4a3 setsect 0 ,0x2d4a3 
+75c9 3807d27d setsect 1 ,0x3d27d 
+75ca 38080003 setsect 2 ,0x3 
+75cb e7e28005 istore 5 ,contw 
+75cc 20600000 rtn 
+
+sp_pubkey_calc_256:
+75cd 6fe0c6be fetch 1 ,mem_sc_local_key_invalid 
+75ce c1800000 rtnne sp_key_invalid 
+75cf 6fe0c6bd fetch 1 ,mem_sc_calc 
+75d0 c1800000 rtnne sp_calc_standby 
+75d1 20406ebd call init_memp_256 
+75d2 d8a046bf arg mem_sc_private_key_256 ,contw 
+75d3 18000e0f force 15 ,queue 
+75d4 2040709d call random_generator 
+75d5 180a7e00 random pdata 
+75d6 1fe37e00 rshift pdata ,pdata 
+75d7 e7e10005 istore 2 ,contw 
+75d8 6fe0c6ba fetch 1 ,mem_sp_debug_mode 
+75d9 245a75b8 ncall sp_debug_private_256 ,blank 
+75da d8a00628 arg mem_k_256 ,contw 
+75db d8c046bf arg mem_sc_private_key_256 ,contr 
+75dc 20407d7d call memcpy32 
+75dd d8a00508 arg mem_ax_256 ,contw 
+75de d8c00820 arg mem_gx_256 ,contr 
+75df 20407d72 call memcpy64 
+75e0 d8a00548 arg mem_az_256 ,contw 
+75e1 20407d97 call clear_mem_256 
+75e2 70054801 jam 1 ,mem_az_256 
+75e3 2040761a call eckp_calc_init_256 
+75e4 7046bd03 jam sp_calc_pubkey_256 ,mem_sc_calc 
+75e5 20600000 rtn 
+
+sp_pubkey_generated_256:
+75e6 d8a046df arg mem_sc_pubkey_local_x_256 ,contw 
+75e7 d8c00568 arg mem_bx_256 ,contr 
+75e8 20407d72 call memcpy64 
+75e9 7046be03 jam sp_key_valid_256 ,mem_sc_local_key_invalid 
+75ea 7046bd00 jam sp_calc_standby ,mem_sc_calc 
+75eb 20600000 rtn 
+
+sp_dhkey_calc_256:
+75ec 6fe0887b fetch 1 ,mem_sp_dhkey_invalid 
+75ed c1800000 rtnne sp_key_invalid 
+75ee 6fe0c6bd fetch 1 ,mem_sc_calc 
+75ef c1800000 rtnne sp_calc_standby 
+75f0 d8a00628 arg mem_k_256 ,contw 
+75f1 d8c046bf arg mem_sc_private_key_256 ,contr 
+75f2 20407d7d call memcpy32 
+75f3 d8a00508 arg mem_ax_256 ,contw 
+75f4 d8c00880 arg mem_le_pubkey_remote_x_256 ,contr 
+75f5 20407d72 call memcpy64 
+75f6 d8a00548 arg mem_az_256 ,contw 
+75f7 20407d97 call clear_mem_256 
+75f8 70054801 jam 1 ,mem_az_256 
+75f9 2040761a call eckp_calc_init_256 
+75fa 7046bd04 jam sp_calc_dhkey_256 ,mem_sc_calc 
+75fb 20600000 rtn 
+
+sp_dhkey_generated_256:
+75fc d8a008c0 arg mem_le_dhkey_256 ,contw 
+75fd d8c00568 arg mem_bx_256 ,contr 
+75fe 20407d7d call memcpy32 
+75ff 70087b03 jam sp_key_valid_256 ,mem_sp_dhkey_invalid 
+7600 7046bd00 jam sp_calc_standby ,mem_sc_calc 
+7601 20600000 rtn 
+
+sp_calc_sequence_256:
+7602 6fe0c6bb fetch 1 ,mem_secure_connections_enable 
+7603 207a0000 rtn blank 
+7604 6fe0c6bd fetch 1 ,mem_sc_calc 
+7605 207a0000 rtn blank 
+7606 1fe0fe80 increase 0x80 ,pdata 
+7607 67e0c6bd store 1 ,mem_sc_calc 
+7608 c3838000 rtnbit1 7 
+7609 6fe104a5 fetch 2 ,mem_ec_loopc 
+760a 203a760c branch sp_calc_sequence_done_256 ,blank 
+760b 20207612 branch eckp_calc_256 
+
+sp_calc_sequence_done_256:
+760c 4740c030 bpatchx patch30_1 ,mem_patch30 
+760d 20407627 call ecunmapz_256 
+760e 6fe0c6bd fetch 1 ,mem_sc_calc 
+760f c001f5e6 beq sp_calc_pubkey_256 ,sp_pubkey_generated_256 
+7610 c00275fc beq sp_calc_dhkey_256 ,sp_dhkey_generated_256 
+7611 20600000 rtn 
+
+eckp_calc_256:
+7612 20407639 call ecdbl_256 
+7613 6fe104a5 fetch 2 ,mem_ec_loopc 
+7614 1fe0ffff increase -1 ,pdata 
+7615 67e104a5 store 2 ,mem_ec_loopc 
+7616 d8c00628 arg mem_k_256 ,contr 
+7617 204070e7 call bn_testbit 
+7618 20608000 rtn true 
+7619 2020768a branch ecadd_256 
+
+eckp_calc_init_256:
+761a 47414030 bpatchx patch30_2 ,mem_patch30 
+761b 58000100 setarg 256 
+761c 67e104a5 store 2 ,mem_ec_loopc 
+
+eckp_calc_init_256_1:
+761d 6fe104a5 fetch 2 ,mem_ec_loopc 
+761e 207a0000 rtn blank 
+761f 1fe0ffff increase -1 ,pdata 
+7620 67e104a5 store 2 ,mem_ec_loopc 
+7621 d8c00628 arg mem_k_256 ,contr 
+7622 204070e7 call bn_testbit 
+7623 2020f61d branch eckp_calc_init_256_1 ,true 
+7624 d8c00508 arg mem_ax_256 ,contr 
+7625 d8a005c8 arg mem_cx_256 ,contw 
+7626 20207d71 branch memcpy96 
+
+ecunmapz_256:
+7627 da200608 arg mem_cz_256 ,rega 
+7628 d8a00708 arg mem_t3_256 ,contw 
+7629 204076f6 call bn_invmod_256 
+762a da200708 arg mem_t3_256 ,rega 
+762b d8a006a8 arg mem_t1_256 ,contw 
+762c 204077cc call bn_sqrmod_256 
+762d da2005c8 arg mem_cx_256 ,rega 
+762e da4006a8 arg mem_t1_256 ,regb 
+762f d8a00568 arg mem_bx_256 ,contw 
+7630 20407734 call bn_mulmod_256 
+7631 da200708 arg mem_t3_256 ,rega 
+7632 da4006a8 arg mem_t1_256 ,regb 
+7633 d8a006e8 arg mem_t2_256 ,contw 
+7634 20407734 call bn_mulmod_256 
+7635 da2005e8 arg mem_cy_256 ,rega 
+7636 da4006e8 arg mem_t2_256 ,regb 
+7637 d8a00588 arg mem_by_256 ,contw 
+7638 20207734 branch bn_mulmod_256 
+
+ecdbl_256:
+7639 da200608 arg mem_cz_256 ,rega 
+763a d8a006e8 arg mem_t2_256 ,contw 
+763b 204077cc call bn_sqrmod_256 
+763c da2006e8 arg mem_t2_256 ,rega 
+763d d8a00708 arg mem_t3_256 ,contw 
+763e 204077cc call bn_sqrmod_256 
+763f da200800 arg mem_a_256 ,rega 
+7640 da400708 arg mem_t3_256 ,regb 
+7641 d8a00708 arg mem_t3_256 ,contw 
+7642 20407734 call bn_mulmod_256 
+7643 da2005c8 arg mem_cx_256 ,rega 
+7644 d8a006e8 arg mem_t2_256 ,contw 
+7645 204077cc call bn_sqrmod_256 
+7646 d8c006e8 arg mem_t2_256 ,contr 
+7647 d8a006a8 arg mem_t1_256 ,contw 
+7648 20407d7d call memcpy32 
+7649 da2006a8 arg mem_t1_256 ,rega 
+764a 204077d3 call bn_lshiftmod_256 
+764b da2006e8 arg mem_t2_256 ,rega 
+764c da4006a8 arg mem_t1_256 ,regb 
+764d d8a006e8 arg mem_t2_256 ,contw 
+764e 204077d0 call bn_addmod_256 
+764f da2006e8 arg mem_t2_256 ,rega 
+7650 da400708 arg mem_t3_256 ,regb 
+7651 d8a006e8 arg mem_t2_256 ,contw 
+7652 204077d0 call bn_addmod_256 
+7653 d8c005c8 arg mem_cx_256 ,contr 
+7654 d8a006a8 arg mem_t1_256 ,contw 
+7655 20407d7d call memcpy32 
+7656 da2005e8 arg mem_cy_256 ,rega 
+7657 d8a00708 arg mem_t3_256 ,contw 
+7658 204077cc call bn_sqrmod_256 
+7659 da2006a8 arg mem_t1_256 ,rega 
+765a 204077d3 call bn_lshiftmod_256 
+765b da2006a8 arg mem_t1_256 ,rega 
+765c 204077d3 call bn_lshiftmod_256 
+765d da2006a8 arg mem_t1_256 ,rega 
+765e da400708 arg mem_t3_256 ,regb 
+765f d8a006a8 arg mem_t1_256 ,contw 
+7660 20407734 call bn_mulmod_256 
+7661 da200708 arg mem_t3_256 ,rega 
+7662 d8a006c8 arg mem_t0_256 ,contw 
+7663 204077cc call bn_sqrmod_256 
+7664 da2006c8 arg mem_t0_256 ,rega 
+7665 204077d3 call bn_lshiftmod_256 
+7666 da2006c8 arg mem_t0_256 ,rega 
+7667 204077d3 call bn_lshiftmod_256 
+7668 da2006c8 arg mem_t0_256 ,rega 
+7669 204077d3 call bn_lshiftmod_256 
+766a d8c005e8 arg mem_cy_256 ,contr 
+766b d8a00708 arg mem_t3_256 ,contw 
+766c 20407d7d call memcpy32 
+766d da200708 arg mem_t3_256 ,rega 
+766e 204077d3 call bn_lshiftmod_256 
+766f da200708 arg mem_t3_256 ,rega 
+7670 da400608 arg mem_cz_256 ,regb 
+7671 d8a00608 arg mem_cz_256 ,contw 
+7672 20407734 call bn_mulmod_256 
+7673 da2006e8 arg mem_t2_256 ,rega 
+7674 d8a00708 arg mem_t3_256 ,contw 
+7675 204077cc call bn_sqrmod_256 
+7676 da200708 arg mem_t3_256 ,rega 
+7677 da4006a8 arg mem_t1_256 ,regb 
+7678 d8a00708 arg mem_t3_256 ,contw 
+7679 204077e9 call bn_submod_256 
+767a da200708 arg mem_t3_256 ,rega 
+767b da4006a8 arg mem_t1_256 ,regb 
+767c d8a005c8 arg mem_cx_256 ,contw 
+767d 204077e9 call bn_submod_256 
+767e da2006a8 arg mem_t1_256 ,rega 
+767f da4005c8 arg mem_cx_256 ,regb 
+7680 d8a00708 arg mem_t3_256 ,contw 
+7681 204077e9 call bn_submod_256 
+7682 da200708 arg mem_t3_256 ,rega 
+7683 da4006e8 arg mem_t2_256 ,regb 
+7684 d8a00708 arg mem_t3_256 ,contw 
+7685 20407734 call bn_mulmod_256 
+7686 da200708 arg mem_t3_256 ,rega 
+7687 da4006c8 arg mem_t0_256 ,regb 
+7688 d8a005e8 arg mem_cy_256 ,contw 
+7689 202077e9 branch bn_submod_256 
+
+ecadd_256:
+768a da200548 arg mem_az_256 ,rega 
+768b d8a00728 arg mem_t7_256 ,contw 
+768c 204077cc call bn_sqrmod_256 
+768d da2005c8 arg mem_cx_256 ,rega 
+768e da400728 arg mem_t7_256 ,regb 
+768f d8a006c8 arg mem_t0_256 ,contw 
+7690 20407734 call bn_mulmod_256 
+7691 da200548 arg mem_az_256 ,rega 
+7692 da400728 arg mem_t7_256 ,regb 
+7693 d8a00728 arg mem_t7_256 ,contw 
+7694 20407734 call bn_mulmod_256 
+7695 da2005e8 arg mem_cy_256 ,rega 
+7696 da400728 arg mem_t7_256 ,regb 
+7697 d8a006a8 arg mem_t1_256 ,contw 
+7698 20407734 call bn_mulmod_256 
+7699 da200608 arg mem_cz_256 ,rega 
+769a d8a00728 arg mem_t7_256 ,contw 
+769b 204077cc call bn_sqrmod_256 
+769c da200508 arg mem_ax_256 ,rega 
+769d da400728 arg mem_t7_256 ,regb 
+769e d8a006e8 arg mem_t2_256 ,contw 
+769f 20407734 call bn_mulmod_256 
+76a0 da200608 arg mem_cz_256 ,rega 
+76a1 da400728 arg mem_t7_256 ,regb 
+76a2 d8a00728 arg mem_t7_256 ,contw 
+76a3 20407734 call bn_mulmod_256 
+76a4 da200528 arg mem_ay_256 ,rega 
+76a5 da400728 arg mem_t7_256 ,regb 
+76a6 d8a00708 arg mem_t3_256 ,contw 
+76a7 20407734 call bn_mulmod_256 
+76a8 da4006c8 arg mem_t0_256 ,regb 
+76a9 da2006e8 arg mem_t2_256 ,rega 
+76aa d8a00728 arg mem_t7_256 ,contw 
+76ab 204077e9 call bn_submod_256 
+76ac da2006c8 arg mem_t0_256 ,rega 
+76ad da4006e8 arg mem_t2_256 ,regb 
+76ae d8a006c8 arg mem_t0_256 ,contw 
+76af 204077d0 call bn_addmod_256 
+76b0 da4006a8 arg mem_t1_256 ,regb 
+76b1 da200708 arg mem_t3_256 ,rega 
+76b2 d8a006e8 arg mem_t2_256 ,contw 
+76b3 204077e9 call bn_submod_256 
+76b4 da2006a8 arg mem_t1_256 ,rega 
+76b5 da400708 arg mem_t3_256 ,regb 
+76b6 d8a006a8 arg mem_t1_256 ,contw 
+76b7 204077d0 call bn_addmod_256 
+76b8 da2006a8 arg mem_t1_256 ,rega 
+76b9 da400728 arg mem_t7_256 ,regb 
+76ba d8a006a8 arg mem_t1_256 ,contw 
+76bb 20407734 call bn_mulmod_256 
+76bc da200608 arg mem_cz_256 ,rega 
+76bd da400548 arg mem_az_256 ,regb 
+76be d8a00708 arg mem_t3_256 ,contw 
+76bf 20407734 call bn_mulmod_256 
+76c0 da200708 arg mem_t3_256 ,rega 
+76c1 da400728 arg mem_t7_256 ,regb 
+76c2 d8a00608 arg mem_cz_256 ,contw 
+76c3 20407734 call bn_mulmod_256 
+76c4 da200728 arg mem_t7_256 ,rega 
+76c5 d8a00728 arg mem_t7_256 ,contw 
+76c6 204077cc call bn_sqrmod_256 
+76c7 da200728 arg mem_t7_256 ,rega 
+76c8 da4006c8 arg mem_t0_256 ,regb 
+76c9 d8a00708 arg mem_t3_256 ,contw 
+76ca 20407734 call bn_mulmod_256 
+76cb da200728 arg mem_t7_256 ,rega 
+76cc da4006a8 arg mem_t1_256 ,regb 
+76cd d8a006a8 arg mem_t1_256 ,contw 
+76ce 20407734 call bn_mulmod_256 
+76cf da2006e8 arg mem_t2_256 ,rega 
+76d0 d8a005c8 arg mem_cx_256 ,contw 
+76d1 204077cc call bn_sqrmod_256 
+76d2 da2005c8 arg mem_cx_256 ,rega 
+76d3 da400708 arg mem_t3_256 ,regb 
+76d4 d8a005c8 arg mem_cx_256 ,contw 
+76d5 204077e9 call bn_submod_256 
+76d6 d8c005c8 arg mem_cx_256 ,contr 
+76d7 d8a00728 arg mem_t7_256 ,contw 
+76d8 20407d7d call memcpy32 
+76d9 da200728 arg mem_t7_256 ,rega 
+76da 204077d3 call bn_lshiftmod_256 
+76db da200708 arg mem_t3_256 ,rega 
+76dc da400728 arg mem_t7_256 ,regb 
+76dd d8a00708 arg mem_t3_256 ,contw 
+76de 204077e9 call bn_submod_256 
+76df da200708 arg mem_t3_256 ,rega 
+76e0 da4006e8 arg mem_t2_256 ,regb 
+76e1 d8a006e8 arg mem_t2_256 ,contw 
+76e2 20407734 call bn_mulmod_256 
+76e3 da2006e8 arg mem_t2_256 ,rega 
+76e4 da4006a8 arg mem_t1_256 ,regb 
+76e5 d8a005e8 arg mem_cy_256 ,contw 
+76e6 204077e9 call bn_submod_256 
+76e7 da2005e8 arg mem_cy_256 ,rega 
+76e8 da4007e0 arg mem_p_256 ,regb 
+76e9 d8a005e8 arg mem_cy_256 ,contw 
+76ea 18002600 force 0 ,regc 
+76eb 6fe085e8 fetch 1 ,mem_cy_256 
+76ec 2feffe00 isolate1 0 ,pdata 
+76ed 2040f7ce call bn_add_256 ,true 
+76ee 1a626000 copy regc ,alarm 
+76ef da2005e8 arg mem_cy_256 ,rega 
+76f0 204077fe call bn_rshift_256 
+76f1 6fe08607 fetch 1 ,mem_cy5_256 
+76f2 2e0ffe00 isolate1 0 ,alarm 
+76f3 7920fe07 setflag true ,7 ,pdata 
+76f4 67e08607 store 1 ,mem_cy5_256 
+76f5 20600000 rtn 
+
+bn_invmod_256:
+76f6 18a21600 copy contw ,timeup 
+76f7 d8a006c8 arg mem_tmp0_256 ,contw 
+76f8 20407d97 call clear_mem_256 
+76f9 18007e00 force 0 ,pdata 
+76fa 67e206e8 store 4 ,mem_t2_256 
+76fb 7006c801 jam 1 ,mem_tmp0_256 
+76fc d8a00648 arg mem_tmp1_256 ,contw 
+76fd 20407d99 call clear_mem_512 
+76fe d8c007e0 arg mem_p_256 ,contr 
+76ff d8a00688 arg mem_tmp2_256 ,contw 
+7700 20407d7d call memcpy32 
+7701 1a220c00 copy rega ,contr 
+7702 d8a006a8 arg mem_tmp3_256 ,contw 
+7703 20407d7d call memcpy32 
+
+bn_invmod_256_2:
+7704 d8c006a8 arg mem_tmp3_256 ,contr 
+7705 20407808 call bn_eq_zero_256 
+7706 203a772d branch bn_invmod_256_0 ,blank 
+7707 da2006a8 arg mem_tmp3_256 ,rega 
+7708 da4006c8 arg mem_tmp0_256 ,regb 
+7709 2040780b call bn_rshifteven_256 
+770a da200688 arg mem_tmp2_256 ,rega 
+770b da400648 arg mem_tmp1_256 ,regb 
+770c 2040780b call bn_rshifteven_256 
+770d da2006a8 arg mem_tmp3_256 ,rega 
+770e da400688 arg mem_tmp2_256 ,regb 
+770f 20407804 call bn_bigeq_256 
+7710 2021771f branch bn_invmod_256_1 ,positive 
+7711 da200688 arg mem_tmp2_256 ,rega 
+7712 da4006a8 arg mem_tmp3_256 ,regb 
+7713 1a220a00 copy rega ,contw 
+7714 204077fc call bn_sub_256 
+7715 da2006c8 arg mem_tmp0_256 ,rega 
+7716 da400648 arg mem_tmp1_256 ,regb 
+7717 1a420a00 copy regb ,contw 
+7718 204077ce call bn_add_256 
+7719 efe08011 ifetch 1 ,rega 
+771a 9a60a600 iadd regc ,regc 
+771b efe08012 ifetch 1 ,regb 
+771c 9a60fe00 iadd regc ,pdata 
+771d e7e08012 istore 1 ,regb 
+771e 20207704 branch bn_invmod_256_2 
+
+bn_invmod_256_1:
+771f da2006a8 arg mem_tmp3_256 ,rega 
+7720 da400688 arg mem_tmp2_256 ,regb 
+7721 1a220a00 copy rega ,contw 
+7722 204077fc call bn_sub_256 
+7723 da200648 arg mem_tmp1_256 ,rega 
+7724 da4006c8 arg mem_tmp0_256 ,regb 
+7725 1a420a00 copy regb ,contw 
+7726 204077ce call bn_add_256 
+7727 efe08011 ifetch 1 ,rega 
+7728 9a60a600 iadd regc ,regc 
+7729 efe08012 ifetch 1 ,regb 
+772a 9a60fe00 iadd regc ,pdata 
+772b e7e08012 istore 1 ,regb 
+772c 20207704 branch bn_invmod_256_2 
+
+bn_invmod_256_0:
+772d da200648 arg mem_tmp1_256 ,rega 
+772e 19620a00 copy timeup ,contw 
+772f 2040775d call bn_p256mod 
+7730 da2007e0 arg mem_p_256 ,rega 
+7731 19622400 copy timeup ,regb 
+7732 19620a00 copy timeup ,contw 
+7733 202077e9 branch bn_submod_256 
+
+bn_mulmod_256:
+7734 18a21600 copy contw ,timeup 
+7735 18007000 force 0 ,regext_index 
+7736 d8a00648 arg mem_tmp1_256 ,contw 
+7737 20407d99 call clear_mem_512 
+7738 d8a0099e arg mem_regext ,contw 
+7739 20407d99 call clear_mem_512 
+773a 1a220c00 copy rega ,contr 
+773b 70099e00 jam 0 ,mem_regext 
+773c 58000000 setarg 0 
+773d 204077c6 call bn_load_mem 
+773e 1a420c00 copy regb ,contr 
+773f 204077ca call bn_load_256 
+7740 18000e00 force 0 ,queue 
+7741 d8a00648 arg mem_tmp1_256 ,contw 
+
+bn_mulmod_256_1:
+7742 d840099e arg mem_regext ,temp 
+7743 18e22400 copy queue ,regb 
+7744 1a4bfe00 lshift2 regb ,pdata 
+7745 9840a400 iadd temp ,regb 
+7746 18000400 force 0 ,temp 
+7747 18002600 force 0 ,regc 
+
+bn_mulmod_256_0:
+7748 efe20005 ifetch 4 ,contw 
+7749 98002200 iforce rega 
+774a efe20012 ifetch 4 ,regb 
+774b 1a627000 copy regc ,regext_index 
+774c 9deffe00 imul32 regext ,pdata 
+774d 9a20fe00 iadd rega ,pdata 
+774e 9840fe00 iadd temp ,pdata 
+774f e7e20005 istore 4 ,contw 
+7750 1fef0400 rshift32 pdata ,temp 
+7751 1a60a601 increase 1 ,regc 
+7752 2a61fe08 compare 8 ,regc ,0xff 
+7753 2420f748 nbranch bn_mulmod_256_0 ,true 
+7754 18427e00 deposit temp 
+7755 e7e20005 istore 4 ,contw 
+7756 18a08be0 increase -32 ,contw 
+7757 18e08e01 increase 1 ,queue 
+7758 28e1fe08 compare 8 ,queue ,0xff 
+7759 2420f742 nbranch bn_mulmod_256_1 ,true 
+775a da200648 arg mem_tmp1_256 ,rega 
+775b 19620a00 copy timeup ,contw 
+775c 2020775d branch bn_p256mod 
+
+bn_p256mod:
+775d 4741c030 bpatchx patch30_3 ,mem_patch30 
+775e 18a21600 copy contw ,timeup 
+775f 1a226000 copy rega ,alarm 
+7760 da400688 arg mem_tmp2_256 ,regb 
+7761 1a420a00 copy regb ,contw 
+7762 20407d94 call memset0_4 
+7763 e7e40005 istore 8 ,contw 
+7764 1a208c2c add rega ,44 ,contr 
+7765 20407d79 call memcpy8 
+7766 20407d75 call memcpy12 
+7767 1a422200 copy regb ,rega 
+7768 204077d3 call bn_lshiftmod_256 
+7769 da400688 arg mem_tmp2_256 ,regb 
+776a 1e022200 copy alarm ,rega 
+776b 19620a00 copy timeup ,contw 
+776c 204077d0 call bn_addmod_256 
+776d da400688 arg mem_tmp2_256 ,regb 
+776e 1a420a00 copy regb ,contw 
+776f 20407d94 call memset0_4 
+7770 e7e40005 istore 8 ,contw 
+7771 1e008c30 add alarm ,48 ,contr 
+7772 20407d7f call memcpy16 
+7773 20407d94 call memset0_4 
+7774 1a422200 copy regb ,rega 
+7775 204077d3 call bn_lshiftmod_256 
+7776 da400688 arg mem_tmp2_256 ,regb 
+7777 19622200 copy timeup ,rega 
+7778 1a220a00 copy rega ,contw 
+7779 204077d0 call bn_addmod_256 
+777a da400688 arg mem_tmp2_256 ,regb 
+777b 1a420a00 copy regb ,contw 
+777c 1e008c20 add alarm ,32 ,contr 
+777d 20407d75 call memcpy12 
+777e 20407d94 call memset0_4 
+777f e7e40005 istore 8 ,contw 
+7780 1e008c38 add alarm ,56 ,contr 
+7781 20407d79 call memcpy8 
+7782 19622200 copy timeup ,rega 
+7783 1a220a00 copy rega ,contw 
+7784 204077d0 call bn_addmod_256 
+7785 da400688 arg mem_tmp2_256 ,regb 
+7786 1a420a00 copy regb ,contw 
+7787 1e008c24 add alarm ,36 ,contr 
+7788 20407d75 call memcpy12 
+7789 1e008c34 add alarm ,52 ,contr 
+778a 20407d75 call memcpy12 
+778b 1e008c34 add alarm ,52 ,contr 
+778c 20407d76 call memcpy4 
+778d 1e008c20 add alarm ,32 ,contr 
+778e 20407d76 call memcpy4 
+778f 19622200 copy timeup ,rega 
+7790 1a220a00 copy rega ,contw 
+7791 204077d0 call bn_addmod_256 
+7792 da400688 arg mem_tmp2_256 ,regb 
+7793 1a420a00 copy regb ,contw 
+7794 1e008c2c add alarm ,44 ,contr 
+7795 20407d75 call memcpy12 
+7796 20407d94 call memset0_4 
+7797 e7e40005 istore 8 ,contw 
+7798 1e008c20 add alarm ,32 ,contr 
+7799 20407d76 call memcpy4 
+779a 1e008c28 add alarm ,40 ,contr 
+779b 20407d76 call memcpy4 
+779c 19622200 copy timeup ,rega 
+779d 1a220a00 copy rega ,contw 
+779e 204077e9 call bn_submod_256 
+779f da400688 arg mem_tmp2_256 ,regb 
+77a0 1a420a00 copy regb ,contw 
+77a1 1e008c30 add alarm ,48 ,contr 
+77a2 20407d79 call memcpy8 
+77a3 20407d79 call memcpy8 
+77a4 18007e00 force 0 ,pdata 
+77a5 e7e40005 istore 8 ,contw 
+77a6 1e008c24 add alarm ,36 ,contr 
+77a7 20407d76 call memcpy4 
+77a8 1e008c2c add alarm ,44 ,contr 
+77a9 20407d76 call memcpy4 
+77aa 19622200 copy timeup ,rega 
+77ab 1a220a00 copy rega ,contw 
+77ac 204077e9 call bn_submod_256 
+77ad da400688 arg mem_tmp2_256 ,regb 
+77ae 1a420a00 copy regb ,contw 
+77af 1e008c34 add alarm ,52 ,contr 
+77b0 20407d75 call memcpy12 
+77b1 1e008c20 add alarm ,32 ,contr 
+77b2 20407d75 call memcpy12 
+77b3 20407d94 call memset0_4 
+77b4 1e008c30 add alarm ,48 ,contr 
+77b5 20407d76 call memcpy4 
+77b6 19622200 copy timeup ,rega 
+77b7 1a220a00 copy rega ,contw 
+77b8 204077e9 call bn_submod_256 
+77b9 da400688 arg mem_tmp2_256 ,regb 
+77ba 1a420a00 copy regb ,contw 
+77bb 1e008c38 add alarm ,56 ,contr 
+77bc 20407d79 call memcpy8 
+77bd 20407d94 call memset0_4 
+77be 1e008c24 add alarm ,36 ,contr 
+77bf 20407d75 call memcpy12 
+77c0 20407d94 call memset0_4 
+77c1 1e008c34 add alarm ,52 ,contr 
+77c2 20407d76 call memcpy4 
+77c3 19622200 copy timeup ,rega 
+77c4 1a220a00 copy rega ,contw 
+77c5 202077e9 branch bn_submod_256 
+
+bn_load_mem:
+77c6 18007220 force 32 ,loopcnt 
+77c7 d8a0099e arg mem_regext ,contw 
+77c8 98a08a00 iadd contw ,contw 
+77c9 20207dd4 branch memcpy 
+
+bn_load_256:
+77ca 18007208 force 8 ,loopcnt 
+77cb 2020717c branch bn_load_0 
+
+bn_sqrmod_256:
+77cc 1a222400 copy rega ,regb 
+77cd 20207734 branch bn_mulmod_256 
+
+bn_add_256:
+77ce 18007208 force 8 ,loopcnt 
+77cf 2020710d branch bn_add + 1 
+
+bn_addmod_256:
+77d0 204077ce call bn_add_256 
+77d1 18a22200 copy contw ,rega 
+77d2 202077d4 branch bn_lshiftmod_ismod_256 
+
+bn_lshiftmod_256:
+77d3 20407801 call bn_lshift_256 
+
+bn_lshiftmod_ismod_256:
+77d4 2a6ffe00 isolate1 0 ,regc 
+77d5 2020f7dd branch bn_lshiftmod_p_256 ,true 
+77d6 da4007e0 arg mem_p_256 ,regb 
+77d7 1a222600 copy rega ,regc 
+77d8 1a20a3e0 increase -32 ,rega 
+77d9 20407804 call bn_bigeq_256 
+77da 24610000 nrtn positive 
+77db 1a622200 copy regc ,rega 
+77dc 202077e5 branch sub_p2_256 
+
+bn_lshiftmod_p_256:
+77dd 204077e5 call sub_p2_256 
+77de 1a222600 copy rega ,regc 
+77df 1a20a3e0 increase -32 ,rega 
+77e0 da4007e0 arg mem_p_256 ,regb 
+77e1 20407804 call bn_bigeq_256 
+77e2 24610000 nrtn positive 
+77e3 1a622200 copy regc ,rega 
+77e4 202077e5 branch sub_p2_256 
+
+sub_p2_256:
+77e5 1a20a3e0 increase -32 ,rega 
+77e6 da4007e0 arg mem_p_256 ,regb 
+77e7 1a220a00 copy rega ,contw 
+77e8 202077fc branch bn_sub_256 
+
+bn_submod_256:
+77e9 204077fc call bn_sub_256 
+77ea 2020f7f3 branch bn_submod_256_np ,true 
+77eb 18a0a3e0 add contw ,-32 ,rega 
+77ec da4007e0 arg mem_p_256 ,regb 
+77ed 20407804 call bn_bigeq_256 
+77ee 24610000 nrtn positive 
+77ef da4007e0 arg mem_p_256 ,regb 
+77f0 18a0a3e0 add contw ,-32 ,rega 
+77f1 1a220a00 copy rega ,contw 
+77f2 202077fc branch bn_sub_256 
+
+bn_submod_256_np:
+77f3 18a0a3e0 add contw ,-32 ,rega 
+77f4 da4007e0 arg mem_p_256 ,regb 
+77f5 1a220a00 copy rega ,contw 
+77f6 204077ce call bn_add_256 
+77f7 20608000 rtn true 
+77f8 18a0a3e0 add contw ,-32 ,rega 
+77f9 da4007e0 arg mem_p_256 ,regb 
+77fa 1a220a00 copy rega ,contw 
+77fb 202077ce branch bn_add_256 
+
+bn_sub_256:
+77fc 18007208 force 8 ,loopcnt 
+77fd 2020711b branch bn_sub + 1 
+
+bn_rshift_256:
+77fe 18007208 force 8 ,loopcnt 
+77ff 1a20a21c increase 28 ,rega 
+7800 2020712a branch bn_rshift 
+
+bn_lshift_256:
+7801 18007208 force 8 ,loopcnt 
+7802 18002600 force 0 ,regc 
+7803 20207138 branch bn_lshift_0 
+
+bn_bigeq_256:
+7804 18007208 force 8 ,loopcnt 
+7805 1a20a21c increase 28 ,rega 
+7806 1a40a41c increase 28 ,regb 
+7807 20207102 branch bn_bigeq_0 
+
+bn_eq_zero_256:
+7808 efe40006 ifetch 8 ,contr 
+7809 247a0000 nrtn blank 
+780a 202070f0 branch bn_eq_zero 
+
+bn_rshifteven_256:
+780b 1a226000 copy rega ,alarm 
+
+bn_rshifteven_256_1:
+780c 1e022200 copy alarm ,rega 
+780d efe08011 ifetch 1 ,rega 
+780e 2feffe00 isolate1 0 ,pdata 
+780f 20608000 rtn true 
+7810 204077fe call bn_rshift_256 
+7811 efe08012 ifetch 1 ,regb 
+7812 2fec0000 isolate0 0 ,pdata 
+7813 2020f81b branch bn_rshifteven_256_0 ,true 
+7814 da2007e0 arg mem_p_256 ,rega 
+7815 1a420a00 copy regb ,contw 
+7816 204077ce call bn_add_256 
+7817 efe08012 ifetch 1 ,regb 
+7818 9a60fe00 iadd regc ,pdata 
+7819 e7e08012 istore 1 ,regb 
+781a 1a40a5e0 increase -32 ,regb 
+
+bn_rshifteven_256_0:
+781b 1a40a220 add regb ,32 ,rega 
+781c 18007209 force 9 ,loopcnt 
+781d 2040712a call bn_rshift 
+781e 2020780c branch bn_rshifteven_256_1 
+
+ui_init:
+781f 20401597 call lpm_disable_exen_output 
+7820 20758000 rtn wake 
+7821 20407826 call ui_button_init 
+7822 204078cc call ui_timer_init 
+7823 2020785b branch ui_led_init_global 
+
+ui_dispatch:
+7824 2040787c call ui_led_dispatch 
+7825 202078bb branch ui_timer_check 
+
+ui_button_init:
+7826 6fe0c793 fetch 1 ,mem_ui_button_gpio 
+7827 c17f8000 rtneq ui_button_gpio_disable 
+7828 98000400 iforce temp 
+7829 2040610d call gpio_config_output 
+782a 6848c793 fetcht 1 ,mem_ui_button_gpio 
+782b 20406109 call gpio_out_inactive 
+782c 20000064 nop 100 
+782d 6848c793 fetcht 1 ,mem_ui_button_gpio 
+782e 204060f4 call gpio_config_input 
+782f 20207830 branch ui_button_polling 
+
+ui_button_polling:
+7830 47424030 bpatchx patch30_4 ,mem_patch30 
+7831 6fe0c793 fetch 1 ,mem_ui_button_gpio 
+7832 c17f8000 rtneq ui_button_gpio_disable 
+7833 1fe20400 copy pdata ,temp 
+7834 204060fd call gpio_get_bit 
+7835 2420f842 nbranch ui_button_up ,true 
+
+ui_button_down:
+7836 2040784c call ui_button_check_long_press 
+7837 6fe1478f fetch 2 ,mem_ui_state_map 
+7838 79207e0c set1 ui_state_btn_down ,pdata 
+7839 67e1478f store 2 ,mem_ui_state_map 
+783a 6fe0c786 fetch 1 ,mem_ui_button_last_state 
+783b c1000000 rtneq ui_button_state_down 
+783c 70478600 jam ui_button_state_down ,mem_ui_button_last_state 
+783d 6fe0c792 fetch 1 ,mem_ui_button_timeout 
+783e 67e0c785 store 1 ,mem_ui_button_timer 
+783f 20407853 call lpm_button_get_wake_lock 
+7840 70095b2c jam bt_evt_button_down ,mem_fifo_temp 
+7841 202078dc branch ui_ipc_send_event 
+
+ui_button_up:
+7842 6fe1478f fetch 2 ,mem_ui_state_map 
+7843 793ffe0c set0 ui_state_btn_down ,pdata 
+7844 67e1478f store 2 ,mem_ui_state_map 
+7845 6fe0c786 fetch 1 ,mem_ui_button_last_state 
+7846 c1008000 rtneq ui_button_state_up 
+7847 70478601 jam ui_button_state_up ,mem_ui_button_last_state 
+7848 70478500 jam 0 ,mem_ui_button_timer 
+7849 20407855 call lpm_button_clean_wake_lock 
+784a 70095b2d jam bt_evt_button_up ,mem_fifo_temp 
+784b 202078dc branch ui_ipc_send_event 
+
+ui_button_check_long_press:
+784c 6fe0c785 fetch 1 ,mem_ui_button_timer 
+784d 207a0000 rtn blank 
+784e 1fe0ffff increase -1 ,pdata 
+784f 67e0c785 store 1 ,mem_ui_button_timer 
+7850 247a0000 nrtn blank 
+7851 70095b10 jam bt_evt_button_long_pressed ,mem_fifo_temp 
+7852 202078dc branch ui_ipc_send_event 
+
+lpm_button_get_wake_lock:
+7853 d8e00007 arg wake_lock_button ,queue 
+7854 20201566 branch lpm_get_wake_lock 
+
+lpm_button_clean_wake_lock:
+7855 d8e00007 arg wake_lock_button ,queue 
+7856 2020156a branch lpm_put_wake_lock 
+
+calc_curr_struct_prt:
+7857 6fe1448f fetch 2 ,mem_ui_led_struct_ptr 
+7858 1a2fa40b mul32 rega ,led_offset_length ,regb 
+7859 9a40a400 iadd regb ,regb 
+785a 20600000 rtn 
+
+ui_led_init_global:
+785b 6fe0c48e fetch 1 ,mem_ui_led_struct_num 
+785c 207a0000 rtn blank 
+785d 1fe27200 copy pdata ,loopcnt 
+785e 6fe1448f fetch 2 ,mem_ui_led_struct_ptr 
+785f 1fe22400 copy pdata ,regb 
+
+ui_led_init_loop:
+7860 1a40a602 add regb ,led_offset_led_gpio ,regc 
+7861 e8408013 ifetcht 1 ,regc 
+7862 2040610d call gpio_config_output 
+7863 20407885 call ui_led_off_static 
+7864 1a40a40b increase led_offset_length ,regb 
+7865 c2007860 loop ui_led_init_loop 
+7866 20600000 rtn 
+
+ui_led_on_global:
+7867 20407857 call calc_curr_struct_prt 
+7868 58000002 setarg ui_led_state_lighting 
+7869 e7e08012 istore 1 ,regb 
+786a 204078b5 call ui_led_stop_timer 
+786b 2020788a branch ui_led_on_static 
+
+ui_led_blink_stop_global:
+
+ui_led_off_global:
+786c 20407857 call calc_curr_struct_prt 
+786d 58000003 setarg ui_led_state_darking 
+786e e7e08012 istore 1 ,regb 
+786f 204078b5 call ui_led_stop_timer 
+7870 20207885 branch ui_led_off_static 
+
+ui_led_blink_start_global:
+7871 20407857 call calc_curr_struct_prt 
+7872 58000001 setarg ui_led_state_blink_start 
+7873 e7e08012 istore 1 ,regb 
+7874 580000ff setarg led_infinite_flash_num 
+7875 e7e08005 istore 1 ,contw 
+7876 20207885 branch ui_led_off_static 
+
+ui_led_set_style_global:
+7877 20407857 call calc_curr_struct_prt 
+7878 df20000b arg led_offset_length ,loopcnt 
+7879 1a620c00 copy regc ,contr 
+787a 1a420a00 copy regb ,contw 
+787b 20207dc7 branch memcpy_fast 
+
+ui_led_dispatch:
+787c 6fe0c48e fetch 1 ,mem_ui_led_struct_num 
+787d 207a0000 rtn blank 
+787e da200000 arg 0 ,rega 
+
+ui_led_blink_polling:
+787f 2040788f call ui_led_change_style_by_type 
+7880 1a20a201 increase 1 ,rega 
+7881 6fe0c48e fetch 1 ,mem_ui_led_struct_num 
+7882 9a267c00 isub rega ,null 
+7883 20628000 rtn zero 
+7884 2020787f branch ui_led_blink_polling 
+
+ui_led_off_static:
+7885 1a40a602 add regb ,led_offset_led_gpio ,regc 
+7886 e8408013 ifetcht 1 ,regc 
+7887 6fe0c09a fetch 1 ,mem_device_option 
+7888 c0044980 beq dvc_op_mouse ,mouse_ui_led_off_static 
+7889 20206109 branch gpio_out_inactive 
+
+ui_led_on_static:
+788a 1a40a602 add regb ,led_offset_led_gpio ,regc 
+788b e8408013 ifetcht 1 ,regc 
+788c 6fe0c09a fetch 1 ,mem_device_option 
+788d c004498c beq dvc_op_mouse ,mouse_ui_led_on_static 
+788e 2020610d branch gpio_out_active 
+
+ui_led_change_style_by_type:
+788f 1a208e0b add rega ,ui_led_blink ,queue 
+7890 20407de9 call timer_check 
+7891 247a0000 nrtn blank 
+7892 20407857 call calc_curr_struct_prt 
+7893 efe08012 ifetch 1 ,regb 
+7894 c001788a beq ui_led_state_lighting ,ui_led_on_static 
+7895 c001f885 beq ui_led_state_darking ,ui_led_off_static 
+7896 c0007885 beq ui_led_state_blink_stop ,ui_led_off_static 
+7897 c002f8a3 beq ui_led_state_blink_darking ,ui_led_blink_state_darking 
+
+ui_led_blink_state_lighting:
+7898 2040788a call ui_led_on_static 
+7899 1a40a607 add regb ,led_offset_cb_ledon ,regc 
+789a 20407d3b call push_stack 
+789b efe10013 ifetch 2 ,regc 
+789c 20407e7a call callback_func 
+789d 20407d47 call pop_stack 
+789e 58000005 setarg ui_led_state_blink_darking 
+789f e7e08012 istore 1 ,regb 
+78a0 1a40a603 add regb ,led_offset_on_time ,regc 
+78a1 efe10013 ifetch 2 ,regc 
+78a2 202078b3 branch ui_led_blink_timer_start 
+
+ui_led_blink_state_darking:
+78a3 20407885 call ui_led_off_static 
+78a4 1a40a609 add regb ,led_offset_cb_ledoff ,regc 
+78a5 20407d3b call push_stack 
+78a6 efe10013 ifetch 2 ,regc 
+78a7 20407e7a call callback_func 
+78a8 20407d47 call pop_stack 
+78a9 1a40a601 add regb ,led_offset_blink_count ,regc 
+78aa efe08013 ifetch 1 ,regc 
+78ab c07ff8af beq led_infinite_flash_num ,ui_led_blink_infinite 
+78ac 1fe0ffff increase -1 ,pdata 
+78ad e7e08013 istore 1 ,regc 
+78ae 203a786c branch ui_led_blink_stop_global ,blank 
+
+ui_led_blink_infinite:
+78af 58000004 setarg ui_led_state_blink_lighting 
+78b0 e7e08012 istore 1 ,regb 
+78b1 1a40a605 add regb ,led_offset_off_time ,regc 
+78b2 efe10013 ifetch 2 ,regc 
+
+ui_led_blink_timer_start:
+78b3 1a208e0b add rega ,ui_led_blink ,queue 
+78b4 20207ddb branch timer_init 
+
+ui_led_stop_timer:
+78b5 58000000 setarg 0 
+78b6 202078b3 branch ui_led_blink_timer_start 
+
+ui_timer_timeout:
+78b7 58001000 setarg 0x1000 
+78b8 1ff07e00 lshift16 pdata ,pdata 
+78b9 9a40a400 iadd regb ,regb 
+78ba 20600000 rtn 
+
+ui_timer_check:
+78bb 4742c030 bpatchx patch30_5 ,mem_patch30 
+78bc da200000 arg 0 ,rega 
+78bd 684a4787 fetcht 4 ,mem_ui_timer_last_btclk 
+78be 1c422400 copy clkn_bt ,regb 
+78bf 1a427e00 copy regb ,pdata 
+78c0 98467c00 isub temp ,null 
+78c1 244178b7 ncall ui_timer_timeout ,positive 
+
+ui_timer_check_loop:
+78c2 1a427e00 copy regb ,pdata 
+78c3 184084a0 increase 160 ,temp 
+78c4 184084a0 increase 160 ,temp 
+78c5 98467c00 isub temp ,null 
+78c6 242178cf nbranch ui_timer_check_end ,positive 
+78c7 1a20a201 increase 1 ,rega 
+78c8 1a217e0f and rega ,0x0f ,pdata 
+78c9 243a78c2 nbranch ui_timer_check_loop ,blank 
+78ca da200000 arg 0 ,rega 
+78cb 204078d5 call ui_timer_check_send_evt 
+
+ui_timer_init:
+78cc 1c427e00 copy clkn_bt ,pdata 
+78cd 67e24787 store 4 ,mem_ui_timer_last_btclk 
+78ce 20600000 rtn 
+
+ui_timer_check_end:
+78cf 1a227e00 copy rega ,pdata 
+78d0 207a0000 rtn blank 
+78d1 18408560 increase -160 ,temp 
+78d2 18408560 increase -160 ,temp 
+78d3 793f841c set0 28 ,temp 
+78d4 604a4787 storet 4 ,mem_ui_timer_last_btclk 
+
+ui_timer_check_send_evt:
+78d5 202031ee branch app_evt_timer 
+
+ui_ipc_get_lock:
+78d6 70477301 jam 1 ,mem_ipc_lock_bt 
+
+ui_ipc_get_lock_wait:
+78d7 6fe0c774 fetch 1 ,mem_ipc_lock_c51 
+78d8 243a78d7 nbranch ui_ipc_get_lock_wait ,blank 
+78d9 20600000 rtn 
+
+ui_ipc_put_lock:
+78da 70477300 jam 0 ,mem_ipc_lock_bt 
+78db 20600000 rtn 
+
+ui_ipc_send_event:
+78dc 47434030 bpatchx patch30_6 ,mem_patch30 
+78dd 204078d6 call ui_ipc_get_lock 
+78de 1a227e00 copy rega ,pdata 
+78df 67e20953 store 4 ,mem_ipc_rega_temp 
+78e0 da204775 arg mem_ipc_fifo_bt2c51 ,rega 
+78e1 20407e96 call fifo_in 
+78e2 6fe20953 fetch 4 ,mem_ipc_rega_temp 
+78e3 1fe22200 copy pdata ,rega 
+78e4 202078da branch ui_ipc_put_lock 
+
+ui_ipc_send_cmd:
+78e5 4743c030 bpatchx patch30_7 ,mem_patch30 
+78e6 204078d6 call ui_ipc_get_lock 
+78e7 1a227e00 copy rega ,pdata 
+78e8 67e20953 store 4 ,mem_ipc_rega_temp 
+78e9 da20477d arg mem_ipc_fifo_c512bt ,rega 
+78ea 20407e96 call fifo_in 
+78eb 6fe20953 fetch 4 ,mem_ipc_rega_temp 
+78ec 1fe22200 copy pdata ,rega 
+78ed 202078da branch ui_ipc_put_lock 
+
+ui_ipc_clean_all_fifo:
+78ee 58000000 setarg 0 
+78ef 67e4477d store util_fifo_len ,mem_ipc_fifo_c512bt 
+78f0 67e44775 store util_fifo_len ,mem_ipc_fifo_bt2c51 
+78f1 20600000 rtn 
+
+check_51cmd:
+78f2 47444031 bpatchx patch31_0 ,mem_patch31 
+78f3 6fe0c1db fetch 1 ,mem_hci_cmd 
+78f4 247a0000 nrtn blank 
+78f5 da20477d arg mem_ipc_fifo_c512bt ,rega 
+78f6 20407eae call fifo_is_empty 
+78f7 207a0000 rtn blank 
+78f8 70095200 jam ipc_continue_process ,mem_ipc_skip_continue_proc 
+78f9 204078fd call check_51cmd_once 
+78fa 6fe08952 fetch 1 ,mem_ipc_skip_continue_proc 
+78fb 203a78f2 branch check_51cmd ,blank 
+78fc 20600000 rtn 
+
+check_51cmd_once:
+78fd 204078d6 call ui_ipc_get_lock 
+78fe da20477d arg mem_ipc_fifo_c512bt ,rega 
+78ff 20407ea2 call fifo_out 
+7900 1fe20400 copy pdata ,temp 
+7901 204078da call ui_ipc_put_lock 
+7902 4744c031 bpatchx patch31_1 ,mem_patch31 
+7903 18427e00 copy temp ,pdata 
+7904 207a0000 rtn blank 
+7905 c000f92f beq bt_cmd_start_discovery ,check_51cmd_start_discovery 
+7906 c0017934 beq bt_cmd_stop_discovery ,check_51cmd_stop_discovery 
+7907 c001f93a beq bt_cmd_reconnect ,check_51cmd_reconnect 
+7908 c006f959 beq bt_cmd_start_adv ,check_51cmd_adv 
+7909 c007795f beq bt_cmd_stop_adv ,check_51cmd_stop_adv 
+790a c007f964 beq bt_cmd_start_direct_adv ,check_51cmd_direct_adv 
+790b c008796a beq bt_cmd_stop_direct_adv ,check_51cmd_stop_direct_adv 
+790c c009f974 beq bt_cmd_led_off ,check_51cmd_led_off 
+790d c00a7976 beq bt_cmd_led_on ,check_51cmd_led_on 
+790e c00af978 beq bt_cmd_led_blink ,check_51cmd_led_start_blink 
+790f c00b7982 beq bt_cmd_le_start_conn ,check_51cmd_le_start_con 
+7910 c00bf985 beq bt_cmd_le_start_scan ,check_51cmd_start_scan 
+7911 c00c7987 beq bt_cmd_le_stop_scan ,check_51cmd_stop_scan 
+7912 c00cf98a beq bt_cmd_enter_hibernate ,check_51cmd_hibernate 
+7913 c00f799c beq bt_cmd_bb_reconn_cancel ,check_51cmd_bb_reconn_cancel 
+7914 67e0895b store 1 ,mem_fifo_temp 
+7915 20405a3f call lmo_fifo_check 
+7916 243a792d nbranch check_51cmd_restore ,blank 
+
+check_51cmd_once_continue:
+7917 6fe0895b fetch 1 ,mem_fifo_temp 
+7918 c584f928 bmark0 mark_context ,check_51cmd_check_idle 
+7919 47454031 bpatchx patch31_2 ,mem_patch31 
+791a 6fe0895b fetch 1 ,mem_fifo_temp 
+791b c002793c beq bt_cmd_disconnect ,check_51cmd_disconnect 
+791c c002f93f beq bt_cmd_enter_sniff ,check_51cmd_enter_sniff 
+791d c003794a beq bt_cmd_exit_sniff ,check_51cmd_exit_sniff 
+791e c005794c beq bt_cmd_set_pin_code ,check_51cmd_pincode 
+791f c008f96f beq bt_cmd_le_disconnect ,check_51cmd_le_disconnect 
+7920 c00df992 beq bt_cmd_le_smp_security_request ,check_51cmd_le_smp_sec_req 
+7921 c0097973 beq bt_cmd_le_update_conn ,check_51cmd_ble_update_connect_param 
+7922 c00ef993 beq bt_cmd_role_switch ,check_51cmd_role_switch 
+7923 c00fe0c9 beq bt_cmd_store_reconn_info_le ,eeprom_store_le_reconn_info 
+7924 c01060cb beq bt_cmd_store_reconn_info_bt ,eeprom_store_bd_reconn_info 
+7925 c010f99e beq bt_cmd_dhkey_not_accept ,check_51cmd_dhkey_not_accept 
+7926 c012dffb beq bt_cmd_store_reconn_info ,check_51cmd_store_reconn_info 
+7927 20600000 rtn 
+
+check_51cmd_check_idle:
+7928 67e0895b store 1 ,mem_fifo_temp 
+7929 20400a5f call context_check_idle 
+792a 2022f92d branch check_51cmd_restore ,zero 
+792b 20400a67 call context_search_plap 
+792c 24628000 nrtn zero 
+
+check_51cmd_restore:
+792d 70095201 jam ipc_skip_continue_process ,mem_ipc_skip_continue_proc 
+792e 202078e5 branch ui_ipc_send_cmd 
+
+check_51cmd_start_discovery:
+792f 6fe1478f fetch 2 ,mem_ui_state_map 
+7930 79207e06 set1 ui_state_bt_discovery ,pdata 
+7931 67e1478f store 2 ,mem_ui_state_map 
+7932 70409b03 jam 3 ,mem_scan_mode 
+7933 20600000 rtn 
+
+check_51cmd_stop_discovery:
+7934 70478d00 jam 0 ,mem_hid_handshake_timer_count 
+7935 70409b00 jam 0 ,mem_scan_mode 
+7936 6fe1478f fetch 2 ,mem_ui_state_map 
+7937 793ffe06 set0 ui_state_bt_discovery ,pdata 
+7938 67e1478f store 2 ,mem_ui_state_map 
+7939 20600000 rtn 
+
+check_51cmd_reconnect:
+793a 7041db05 jam hci_cmd_create_conn ,mem_hci_cmd 
+793b 20600000 rtn 
+
+check_51cmd_disconnect:
+793c 70007c07 jam lmp_detach ,mem_lmo_opcode2 
+793d 70039e13 jam other_end_terminated ,mem_disconn_reason_send 
+793e 20600000 rtn 
+
+check_51cmd_enter_sniff:
+793f 70007c17 jam lmp_sniff_req ,mem_lmo_opcode2 
+7940 d8a003ac arg mem_sniff_payload ,contw 
+7941 58000000 setarg 0 
+7942 2d0ffe1b isolate1 27 ,clke_bt 
+7943 7920fe01 setflag true ,1 ,pdata 
+7944 e7e08005 istore 1 ,contw 
+7945 58000000 setarg 0 
+7946 e7e10005 istore 2 ,contw 
+7947 6fe34455 fetch 6 ,mem_sniff_param_interval 
+7948 e7e30005 istore 6 ,contw 
+7949 20600000 rtn 
+
+check_51cmd_exit_sniff:
+794a 70007c18 jam lmp_unsniff_req ,mem_lmo_opcode2 
+794b 20600000 rtn 
+
+check_51cmd_pincode:
+794c 7003a802 jam pincode_state_pincode_ready ,mem_pincode_state 
+794d 6fe0804b fetch 1 ,mem_op 
+794e c2817952 bbit1 op_inrand_req ,check_51cmd_pincode_pair_passive 
+794f 20405a72 call tid_initiate 
+7950 70007c08 jam lmp_in_rand ,mem_lmo_opcode2 
+7951 20600000 rtn 
+
+check_51cmd_pincode_pair_passive:
+7952 793ffe02 set0 op_inrand_req ,pdata 
+7953 67e0804b store 1 ,mem_op 
+7954 20405750 call lmp_accept_inrand 
+7955 58000000 setarg 0 
+7956 7934fe01 setflag master ,smap_lmptid ,pdata 
+7957 67e0807f store 1 ,mem_lmo_tid2 
+7958 20600000 rtn 
+
+check_51cmd_adv:
+7959 70442701 jam on ,mem_le_adv_enable 
+795a 70442a00 jam adv_ind ,mem_le_adv_type 
+795b 6fe1478f fetch 2 ,mem_ui_state_map 
+795c 79207e0b set1 ui_state_ble_adv ,pdata 
+795d 67e1478f store 2 ,mem_ui_state_map 
+795e 20600000 rtn 
+
+check_51cmd_stop_adv:
+795f 6fe1478f fetch 2 ,mem_ui_state_map 
+7960 793ffe0b set0 ui_state_ble_adv ,pdata 
+7961 67e1478f store 2 ,mem_ui_state_map 
+7962 70442700 jam off ,mem_le_adv_enable 
+7963 20600000 rtn 
+
+check_51cmd_direct_adv:
+7964 70442701 jam on ,mem_le_adv_enable 
+7965 70442a01 jam adv_direct_ind ,mem_le_adv_type 
+7966 6fe1478f fetch 2 ,mem_ui_state_map 
+7967 79207e0b set1 ui_state_ble_adv ,pdata 
+7968 67e1478f store 2 ,mem_ui_state_map 
+7969 20600000 rtn 
+
+check_51cmd_stop_direct_adv:
+796a 6fe1478f fetch 2 ,mem_ui_state_map 
+796b 793ffe0b set0 ui_state_ble_adv ,pdata 
+796c 67e1478f store 2 ,mem_ui_state_map 
+796d 70442700 jam off ,mem_le_adv_enable 
+796e 20600000 rtn 
+
+check_51cmd_le_disconnect:
+796f 58000014 setarg 20 
+7970 67e102b5 store 2 ,mem_le_superto 
+7971 67e14394 store 2 ,mem_le_init_superto 
+7972 20202134 branch le_send_terminate_ind_user_terminated 
+
+check_51cmd_ble_update_connect_param:
+7973 20201f04 branch le_l2cap_tx_update_req 
+
+check_51cmd_led_off:
+7974 da200000 arg 0 ,rega 
+7975 2020786c branch ui_led_off_global 
+
+check_51cmd_led_on:
+7976 da200000 arg 0 ,rega 
+7977 20207867 branch ui_led_on_global 
+
+check_51cmd_led_start_blink:
+7978 da200000 arg 0 ,rega 
+7979 20407857 call calc_curr_struct_prt 
+797a efe08012 ifetch 1 ,regb 
+797b c000f97f beq ui_led_state_blink_start ,check_51cmd_led_start_blink_in_blink 
+797c c002797f beq ui_led_state_blink_lighting ,check_51cmd_led_start_blink_in_blink 
+797d c002f97f beq ui_led_state_blink_darking ,check_51cmd_led_start_blink_in_blink 
+797e 20207871 branch ui_led_blink_start_global 
+
+check_51cmd_led_start_blink_in_blink:
+797f efe08006 ifetch 1 ,contr 
+7980 c17f8000 rtneq led_infinite_flash_num 
+7981 20207871 branch ui_led_blink_start_global 
+
+check_51cmd_le_start_con:
+7982 7043e201 jam on ,mem_le_scan_enable 
+7983 7041db1b jam hci_cmd_le_create_conn ,mem_hci_cmd 
+7984 20600000 rtn 
+
+check_51cmd_start_scan:
+7985 7043e201 jam on ,mem_le_scan_enable 
+7986 20600000 rtn 
+
+check_51cmd_stop_scan:
+7987 7043e200 jam off ,mem_le_scan_enable 
+7988 7041db00 jam 0 ,mem_hci_cmd 
+7989 20600000 rtn 
+
+check_51cmd_hibernate:
+798a 6fe1445d fetch 2 ,mem_cb_before_hibernate 
+798b 20407e7a call callback_func 
+798c 6fe0c793 fetch 1 ,mem_ui_button_gpio 
+798d c07ff990 beq ui_button_gpio_disable ,check_51cmd_hibernate_btn_disabled 
+798e 1fe20400 copy pdata ,temp 
+798f 204060f4 call gpio_config_input 
+
+check_51cmd_hibernate_btn_disabled:
+7990 204078ee call ui_ipc_clean_all_fifo 
+7991 20201459 branch lpm_hibernate 
+
+check_51cmd_le_smp_sec_req:
+7992 20201f46 branch le_send_smp_security_request 
+
+check_51cmd_role_switch:
+7993 70007c34 jam lmp_slot_offset ,mem_lmo_opcode2 
+7994 79200003 set1 mark_switch_initiated ,mark 
+7995 24748000 nrtn master 
+7996 70464500 jam switch_flag_init ,mem_switch_flag 
+7997 70007c13 jam lmp_switch_req ,mem_lmo_opcode2 
+7998 6fe080bc fetch 1 ,mem_connection_options 
+7999 793ffe02 set0 connection_switch ,pdata 
+799a 67e080bc store 1 ,mem_connection_options 
+799b 20600000 rtn 
+
+check_51cmd_bb_reconn_cancel:
+799c 18000e03 force page_length_timer ,queue 
+799d 20207dda branch timer_stop 
+
+check_51cmd_dhkey_not_accept:
+799e 20405a7b call tid_set_reply 
+799f 70007d41 jam lmp_dhkey_check ,mem_lmi_opcode2 
+79a0 202056ec branch lmp_reject_pdu_not_allowed 
+
+ui_check_paring_button:
+79a1 6fe0c78f fetch 1 ,mem_ui_state_map 
+79a2 c4060000 rtnbit0 ui_state_btn_down 
+79a3 c4038000 rtnbit0 ui_state_bt_reconnect 
+79a4 2020799c branch check_51cmd_bb_reconn_cancel 
+
+queue_init:
+79a5 6fe1448c fetch 2 ,mem_queue_ptr 
+79a6 1fe08a02 add pdata ,queue_offset_curr_num ,contw 
+79a7 58000000 setarg 0 
+79a8 e7e18005 istore 3 ,contw 
+79a9 20600000 rtn 
+
+queue_push:
+79aa 20407ec7 call disable_user 
+79ab 204079f4 call queue_full 
+79ac 207a0000 rtn blank 
+79ad 6fe1448c fetch 2 ,mem_queue_ptr 
+79ae 1fe0a402 add pdata ,queue_offset_curr_num ,regb 
+79af e8408012 ifetcht 1 ,regb 
+79b0 18408401 increase 1 ,temp 
+79b1 e0408012 istoret 1 ,regb 
+79b2 e840803f ifetcht 1 ,pdata 
+79b3 18427200 copy temp ,loopcnt 
+79b4 1fe0a404 add pdata ,queue_offset_write_ptr ,regb 
+79b5 efe08012 ifetch 1 ,regb 
+79b6 984ffe00 imul32 temp ,pdata 
+79b7 98c08a00 iadd contr ,contw 
+79b8 1a220c00 copy rega ,contr 
+
+calc_queue_next_ptr:
+79b9 20407dd4 call memcpy 
+79ba 204079f8 call queue_get_size 
+79bb 1fe0ffff pincrease -1 
+79bc e8408012 ifetcht 1 ,regb 
+79bd 18408401 increase 1 ,temp 
+79be 98410400 iand temp ,temp 
+79bf e0408012 istoret 1 ,regb 
+79c0 20207ec5 branch enable_user 
+
+queue_pop:
+79c1 20407ec7 call disable_user 
+79c2 204079f0 call queue_empty 
+79c3 207a0000 rtn blank 
+79c4 6fe1448c fetch 2 ,mem_queue_ptr 
+79c5 1fe0a402 add pdata ,queue_offset_curr_num ,regb 
+79c6 e8408012 ifetcht 1 ,regb 
+79c7 184085ff increase -1 ,temp 
+79c8 e0408012 istoret 1 ,regb 
+79c9 e840803f ifetcht 1 ,pdata 
+79ca 18427200 copy temp ,loopcnt 
+79cb 1fe0a403 add pdata ,queue_offset_read_ptr ,regb 
+79cc efe08012 ifetch 1 ,regb 
+79cd 984ffe00 imul32 temp ,pdata 
+79ce 98c08c00 iadd contr ,contr 
+79cf 18c08c01 increase 1 ,contr 
+79d0 1a220a00 copy rega ,contw 
+79d1 202079b9 branch calc_queue_next_ptr 
+
+queue_get_new_ele:
+79d2 20407ec7 call disable_user 
+79d3 204079f0 call queue_empty 
+79d4 207a0000 rtn blank 
+79d5 6fe1448c fetch 2 ,mem_queue_ptr 
+79d6 e840803f ifetcht 1 ,pdata 
+79d7 18427200 copy temp ,loopcnt 
+79d8 1fe0a403 add pdata ,queue_offset_read_ptr ,regb 
+79d9 efe08012 ifetch 1 ,regb 
+79da 984ffe00 imul32 temp ,pdata 
+79db 98c08c00 iadd contr ,contr 
+79dc 18c08c01 increase 1 ,contr 
+79dd 18c22400 copy contr ,regb 
+79de 1a220a00 copy rega ,contw 
+79df 20407dd4 call memcpy 
+79e0 20207ec5 branch enable_user 
+
+queue_store_new_ele:
+79e1 20407ec7 call disable_user 
+79e2 204079f0 call queue_empty 
+79e3 207a0000 rtn blank 
+79e4 6fe1448c fetch 2 ,mem_queue_ptr 
+79e5 e840803f ifetcht 1 ,pdata 
+79e6 18427200 copy temp ,loopcnt 
+79e7 1fe0a403 add pdata ,queue_offset_read_ptr ,regb 
+79e8 efe08012 ifetch 1 ,regb 
+79e9 984ffe00 imul32 temp ,pdata 
+79ea 98c08c00 iadd contr ,contr 
+79eb 18c08a02 add contr ,2 ,contw 
+79ec 1a220c00 copy rega ,contr 
+79ed 1f20f3ff increase -1 ,loopcnt 
+79ee 20407dd4 call memcpy 
+79ef 20207ec5 branch enable_user 
+
+queue_empty:
+79f0 6fe1448c fetch 2 ,mem_queue_ptr 
+79f1 1fe08c02 add pdata ,queue_offset_curr_num ,contr 
+79f2 efe08006 ifetch 1 ,contr 
+79f3 20600000 rtn 
+
+queue_full:
+79f4 204079f8 call queue_get_size 
+79f5 e8408006 ifetcht 1 ,contr 
+79f6 98467e00 isub temp ,pdata 
+79f7 20600000 rtn 
+
+queue_get_size:
+79f8 6fe1448c fetch 2 ,mem_queue_ptr 
+79f9 1fe08c01 add pdata ,queue_offset_length ,contr 
+79fa efe08006 ifetch 1 ,contr 
+79fb 20600000 rtn 
+
+usb_isr:
+79fc 4745c031 bpatchx patch31_3 ,mem_patch31 
+79fd 6ff08c23 fetch 1 ,core_usb_status 
+79fe 2feffe03 isolate1 usb_status_reset ,pdata 
+79ff 2040fa08 call usb_init ,true 
+7a00 6ff08c23 fetch 1 ,core_usb_status 
+7a01 67f08c23 store 1 ,core_usb_status 
+7a02 67e089f6 store 1 ,mem_usb_status 
+7a03 20407a68 call usb_nak_state_judge 
+7a04 20407a90 call usb_rx 
+7a05 20407c81 call usb0_tx 
+7a06 20407cc9 call usb_tx 
+7a07 20207a60 branch usb_nak_state 
+
+usb_init:
+7a08 47464031 bpatchx patch31_4 ,mem_patch31 
+7a09 20406e5e call enable_authrom 
+7a0a 20407a27 call usb_init_param 
+7a0b 708c0000 jam 0x00 ,core_usb_config 
+7a0c 20002710 nop 10000 
+7a0d 708c18c0 jam 0xc0 ,core_usb_trig 
+7a0e 6ff10050 fetch 2 ,core_clkoff 
+7a0f 793ffe0a set0 clock_off_usb ,pdata 
+7a10 67f10050 store 2 ,core_clkoff 
+7a11 708c1100 jam 0x0 ,core_usb_hmode 
+7a12 708c003c jam 0x3c ,core_usb_config 
+7a13 58000a4f setarg mem_usb_rxbuf 
+7a14 67f10c03 store 2 ,core_usb_rx_saddr 
+7a15 67f10c07 store 2 ,core_usb_rxptr 
+7a16 58000a8f setarg mem_usb_rxbuf_end 
+7a17 67f10c05 store 2 ,core_usb_rx_eaddr 
+7a18 708c1104 jam 0x4 ,core_usb_hmode 
+7a19 708c0200 jam 0 ,core_usb_addr 
+7a1a 708c23ff jam 0xff ,core_usb_status 
+7a1b 58000c4b setarg mem_usb_clear_mem_end 
+7a1c d8a00b59 arg mem_usb_clear_mem_start ,contw 
+7a1d 98a67200 isub contw ,loopcnt 
+7a1e 20207d9b branch clear_mem 
+
+usb_offline_check_init:
+7a1f 68488b58 fetcht 1 ,mem_usb_offline_check_gpio 
+7a20 202060f4 branch gpio_config_input 
+
+usb_offline_state:
+7a21 6fe08bfa fetch 1 ,mem_usb_device_enumeration_endflag 
+7a22 207a0000 rtn blank 
+7a23 68488b58 fetcht 1 ,mem_usb_offline_check_gpio 
+7a24 204060fd call gpio_get_bit 
+7a25 2020fa08 branch usb_init ,true 
+7a26 20600000 rtn 
+
+usb_init_param:
+7a27 700b5702 jam dev_default ,mem_usb0_state 
+7a28 58000000 setarg 0x0 
+7a29 67e08a92 store 1 ,mem_remain 
+7a2a 67e10b51 store 2 ,mem_usb_zero_packet 
+7a2b 1fe0fe01 pincrease 1 
+7a2c 67e10b53 store 2 ,mem_usb_ones_packet 
+7a2d 1fe0fe01 pincrease 1 
+7a2e 67e10b55 store 2 ,mem_usb_two_packet 
+7a2f d8a00ae6 arg mem_string0 ,contw 
+7a30 58030404 setarg 0x030404 
+7a31 e7e18005 istore 3 ,contw 
+7a32 58000409 setarg 0x0409 
+7a33 e7e10005 istore 2 ,contw 
+7a34 d8a00aeb arg mem_string1 ,contw 
+7a35 38015906 setsect 0 ,0x15906 
+7a36 380610d2 setsect 1 ,0x210d2 
+7a37 38090494 setsect 2 ,0x10494 
+7a38 380c0001 setsect 3 ,0x1 
+7a39 e7e48005 istore 9 ,contw 
+7a3a d8a00b09 arg mem_string2 ,contw 
+7a3b 3801570f setsect 0 ,0x1570f 
+7a3c 38055c9a setsect 1 ,0x15c9a 
+7a3d 380a56c6 setsect 2 ,0x256c6 
+7a3e 380dcdcd setsect 3 ,0x1cdcd 
+7a3f e7e48005 istore 9 ,contw 
+7a40 38014420 setsect 0 ,0x14420 
+7a41 38065d99 setsect 1 ,0x25d99 
+7a42 380a5636 setsect 2 ,0x25636 
+7a43 380c0001 setsect 3 ,0x1 
+7a44 e7e38005 istore 7 ,contw 
+7a45 d8a00b27 arg mem_string3 ,contw 
+7a46 3801620a setsect 0 ,0x1620a 
+7a47 38040c8c setsect 1 ,0xc8c 
+7a48 380b0333 setsect 2 ,0x30333 
+7a49 380cc0c0 setsect 3 ,0xc0c0 
+7a4a e7e48005 istore 9 ,contw 
+7a4b 38003130 setsect 0 ,0x3130 
+7a4c e7e10005 istore 2 ,contw 
+7a4d 580099a4 setarg usb_kbdata_vendor_define_addr 
+7a4e 67e10a93 store 2 ,mem_hidreportdesc_kb 
+7a4f 580099ff setarg usb_msdata_addr 
+7a50 67e10a95 store 2 ,mem_hidreportdesc_m 
+7a51 d8c09aa3 arg usb_devicedata_addr ,contr 
+7a52 d8a00a97 arg mem_devicedesc ,contw 
+7a53 df200013 arg 19 ,loopcnt 
+7a54 20407dd4 call memcpy 
+7a55 d8c09ab6 arg usb_confdata_addr ,contr 
+7a56 d8a00aaa arg mem_confdesc ,contw 
+7a57 df20003c arg 60 ,loopcnt 
+7a58 20407dd4 call memcpy 
+
+usb_config_cb:
+7a59 6fe10b45 fetch 2 ,mem_cb_usb_config 
+7a5a 20207e7a branch callback_func 
+
+usb_tx_interval_config:
+7a5b 6fe08b47 fetch 1 ,mem_usb_tx_interval 
+7a5c 207a0000 rtn blank 
+7a5d 67e08acc store 1 ,mem_confdesc + 34 
+7a5e 67e08ae5 store 1 ,mem_confdesc + 59 
+7a5f 20600000 rtn 
+
+usb_nak_state:
+7a60 d8e00000 arg timer_nak ,queue 
+7a61 20407de9 call timer_check 
+7a62 247a0000 nrtn blank 
+7a63 6fe08bfb fetch 1 ,mem_usb_wakestate_onetime_flag 
+7a64 247a0000 nrtn blank 
+7a65 6fe08bfa fetch 1 ,mem_usb_device_enumeration_endflag 
+7a66 245a7d1f ncall usb_mac_wakeup_judge ,blank 
+7a67 20600000 rtn 
+
+usb_nak_state_judge:
+7a68 6fe089f6 fetch 1 ,mem_usb_status 
+7a69 c2817a6b bbit1 usb_status_nak ,usb_nak_state_timer_init 
+7a6a 20600000 rtn 
+
+usb_nak_state_timer_init:
+7a6b 20407a70 call usb0_attached_state_judge 
+7a6c 20407de8 call timer_reinit 
+7a6d 58000280 setarg timer_nak_delay 
+7a6e d8e00000 arg timer_nak ,queue 
+7a6f 20207ddb branch timer_init 
+
+usb0_attached_state_judge:
+7a70 6fe08bec fetch 1 ,mem_usb_state 
+7a71 c0817a75 bne usb_connected ,usb_clear_halt_dispose 
+7a72 700bfb00 jam 0 ,mem_usb_wakestate_onetime_flag 
+7a73 700bfc00 jam 0 ,mem_usb_mac_wakeup_trig 
+7a74 20600000 rtn 
+
+usb_clear_halt_dispose:
+7a75 6fe08bfe fetch 1 ,mem_usb_clear_halt 
+7a76 207a0000 rtn blank 
+7a77 700bfe00 jam 0 ,mem_usb_clear_halt 
+7a78 700bec02 jam usb_connected ,mem_usb_state 
+7a79 700bfa01 jam 1 ,mem_usb_device_enumeration_endflag 
+7a7a 20600000 rtn 
+
+usb_rx_no_data:
+7a7b 6fe089f6 fetch 1 ,mem_usb_status 
+7a7c c2807a9d bbit1 usb_status_setup ,usb_class_type 
+7a7d 20600000 rtn 
+
+usb_rx_data:
+7a7e 6ff08c24 fetch 1 ,core_usb_txbusy 
+7a7f c3830000 rtnbit1 usb_status_rxempty 
+7a80 69510c03 fetchr contus ,2 ,core_usb_rx_saddr 
+7a81 6a110c05 fetchr contue ,2 ,core_usb_rx_eaddr 
+7a82 68710c07 fetchr contu ,2 ,core_usb_rxptr 
+7a83 efe10003 ifetch 2 ,contu 
+7a84 1fec8400 rshift8 pdata ,temp 
+7a85 18518400 rshift4 temp ,temp 
+7a86 d8c00fff arg 0xfff ,contr 
+7a87 98c17200 iand contr ,loopcnt 
+7a88 1f222200 copy loopcnt ,rega 
+
+usb_rx_read:
+7a89 efe08003 ifetch 1 ,contu 
+7a8a e7e08005 istore 1 ,contw 
+7a8b c2007a89 loop usb_rx_read 
+7a8c 60710c07 storer contu ,2 ,core_usb_rxptr 
+7a8d 622109f8 storer rega ,2 ,mem_usb_read_len 
+7a8e 20600000 rtn 
+
+usb_data_rx:
+7a8f 20600000 rtn 
+
+usb_rx:
+7a90 4746c031 bpatchx patch31_5 ,mem_patch31 
+7a91 6fe089f6 fetch 1 ,mem_usb_status 
+7a92 c4028000 rtnbit0 usb_status_rxready 
+7a93 d8a00b59 arg mem_usb_setup ,contw 
+7a94 20407a7e call usb_rx_data 
+7a95 18427e00 copy temp ,pdata 
+7a96 c0007a98 beq 0 ,usb0_rx 
+7a97 20207a8f branch usb_data_rx 
+
+usb0_rx:
+7a98 6fe089f8 fetch 1 ,mem_usb_read_len 
+7a99 c0007a7b beq 0x00 ,usb_rx_no_data 
+7a9a c000faa4 beq 0x01 ,usb_out_one_byte 
+7a9b 1fe67c07 sub pdata ,7 ,null 
+7a9c 20610000 rtn positive 
+
+usb_class_type:
+7a9d 47474031 bpatchx patch31_6 ,mem_patch31 
+7a9e 793f8023 set0 mark_isstr ,mark 
+7a9f 6fe08b59 fetch 1 ,mem_usb_setup_bmrequesttype 
+7aa0 1fe17e80 and_into 0x80 ,pdata 
+7aa1 c0407aa8 beq in_device ,usb_in_device 
+7aa2 c0007ab0 beq out_device ,usb_out_device 
+7aa3 2020137c branch assert 
+
+usb_out_one_byte:
+7aa4 6fe08b59 fetch 1 ,mem_usb_setup 
+7aa5 c3838000 rtnbit1 7 
+7aa6 20407c56 call usb_get_led_status 
+7aa7 20207ad6 branch usb0_reply_zerolen 
+
+usb_in_device:
+7aa8 6fe08b59 fetch 1 ,mem_usb_setup_bmrequesttype 
+7aa9 1ff1fe00 rshift4 pdata ,pdata 
+7aaa 1fe37e00 rshift pdata ,pdata 
+7aab 1fe17e03 and_into 0x03 ,pdata 
+7aac c0007ab8 beq standard_req ,usb_in_standard_req 
+7aad c000fabe beq class_req ,usb_in_class_req 
+7aae c0017ac3 beq manufacturer_req ,usb_in_manufacturer_req 
+7aaf 2020137c branch assert 
+
+usb_out_device:
+7ab0 6fe08b59 fetch 1 ,mem_usb_setup_bmrequesttype 
+7ab1 1ff1fe00 rshift4 pdata ,pdata 
+7ab2 1fe37e00 rshift pdata ,pdata 
+7ab3 1fe17e03 and_into 0x03 ,pdata 
+7ab4 c0007ac4 beq standard_req ,usb_out_standard_req 
+7ab5 c000facc beq class_req ,usb_out_class_req 
+7ab6 c0017ad1 beq manufacturer_req ,usb_out_manufacturer_req 
+7ab7 2020137c branch assert 
+
+usb_in_standard_req:
+7ab8 6fe08b5a fetch 1 ,mem_usb_setup_brequest 
+7ab9 c0047ad8 beq get_configuration ,usb0_request_get_configuration 
+7aba c0037aee beq get_descriptor ,usb0_request_get_descriptor 
+7abb c0057b33 beq get_interface ,usb0_request_get_interface 
+7abc c0007b45 beq get_status ,usb0_request_get_status 
+7abd 20207ad2 branch usb0_force_stall 
+
+usb_in_class_req:
+7abe 6fe08b5a fetch 1 ,mem_usb_setup_brequest 
+7abf c0017b7a beq get_idle ,usb_get_idle 
+7ac0 c000fb7e beq get_report ,usb_get_report 
+7ac1 c001fb8f beq get_protocol ,usb_get_protocol_req 
+7ac2 20207ad2 branch usb0_force_stall 
+
+usb_in_manufacturer_req:
+7ac3 20207ad2 branch usb0_force_stall 
+
+usb_out_standard_req:
+7ac4 6fe08b5a fetch 1 ,mem_usb_setup_brequest 
+7ac5 c000fb99 beq clear_feature ,usb0_request_clear_feature 
+7ac6 c001fbc8 beq set_feature ,usb0_request_set_feature 
+7ac7 c002fbf3 beq set_address ,usb0_request_set_address 
+7ac8 c004fc0c beq set_configuration ,usb0_request_set_configuration 
+7ac9 c005fc27 beq set_interface ,usb0_request_set_interface 
+7aca c003fad2 beq set_descriptor ,usb0_force_stall 
+7acb 20207ad2 branch usb0_force_stall 
+
+usb_out_class_req:
+7acc 6fe08b5a fetch 1 ,mem_usb_setup_brequest 
+7acd c0057c38 beq set_idle ,usb_set_idle 
+7ace c004fc4a beq set_report ,usb_set_report 
+7acf c005fc68 beq set_protocol ,usb_set_protocol_req 
+7ad0 20207ad2 branch usb0_force_stall 
+
+usb_out_manufacturer_req:
+7ad1 20207ad2 branch usb0_force_stall 
+
+usb0_force_stall:
+7ad2 6ff08c19 fetch 1 ,core_usb_stall 
+7ad3 79207e00 set1 0 ,pdata 
+7ad4 67f08c19 store 1 ,core_usb_stall 
+7ad5 20207ad6 branch usb0_reply_zerolen 
+
+usb0_reply_zerolen:
+7ad6 708c1810 jam 0x10 ,core_usb_trig 
+7ad7 20600000 rtn 
+
+usb0_request_get_configuration:
+7ad8 6fe08b59 fetch 1 ,mem_usb_setup_bmrequesttype 
+7ad9 c0c07ad2 bne in_device ,usb0_force_stall 
+7ada 6fe08b5d fetch 1 ,mem_usb_setup_windex 
+7adb c0807ad2 bne 0 ,usb0_force_stall 
+7adc 6fe08b5e fetch 1 ,mem_usb_setup_windex + 1 
+7add c0807ad2 bne 0 ,usb0_force_stall 
+7ade 6fe08b5f fetch 1 ,mem_usb_setup_blength 
+7adf c080fad2 bne 1 ,usb0_force_stall 
+7ae0 6fe08b60 fetch 1 ,mem_usb_setup_blengthh 
+7ae1 c0807ad2 bne 0 ,usb0_force_stall 
+7ae2 6fe08b5b fetch 1 ,mem_usb_setup_bvalue 
+7ae3 c0807ad2 bne 0 ,usb0_force_stall 
+7ae4 6fe08b5c fetch 1 ,mem_usb_setup_bvalue + 1 
+7ae5 c0807ad2 bne 0 ,usb0_force_stall 
+7ae6 6fe08b57 fetch 1 ,mem_usb0_state 
+7ae7 c0027aea beq dev_configured ,usb0_request_get_cfg_dev_cfg 
+7ae8 c001faec beq dev_address ,usb0_request_get_cfg_dev_addr 
+7ae9 20207ad2 branch usb0_force_stall 
+
+usb0_request_get_cfg_dev_cfg:
+7aea da400001 arg 1 ,regb 
+7aeb 20207b5f branch usb_send_ones_packet 
+
+usb0_request_get_cfg_dev_addr:
+7aec da400001 arg 1 ,regb 
+7aed 20207b5d branch usb_send_zero_packet 
+
+usb0_request_get_descriptor:
+7aee 4747c031 bpatchx patch31_7 ,mem_patch31 
+7aef 6fe08b5c fetch 1 ,mem_usb_setup_bvalueh 
+7af0 c000fb01 beq dsc_device ,dsc_device_info 
+7af1 c0017b1a beq dsc_config ,dsc_config_info 
+7af2 c001fb1d beq dsc_string ,dsc_string_info 
+7af3 c010faf6 beq dsc_hid ,dsc_hid_info 
+7af4 c0117b2b beq dsc_hid_report ,dsc_hid_report_info 
+7af5 20207ad2 branch usb0_force_stall 
+
+dsc_hid_info:
+7af6 700be900 jam 0 ,mem_usb_get_protocol_flag 
+7af7 6fe08b5d fetch 1 ,mem_usb_setup_windex 
+7af8 c0007afb beq 0 ,dsc_hid_info_interface0 
+7af9 c000fafe beq 1 ,dsc_hid_info_interface1 
+7afa 20207ad2 branch usb0_force_stall 
+
+dsc_hid_info_interface0:
+7afb 6a408abd fetchr regb ,1 ,mem_confdesc + 19 
+7afc da200abd arg mem_confdesc + 19 ,rega 
+7afd 20207c77 branch usb0_respond 
+
+dsc_hid_info_interface1:
+7afe 6a408ad6 fetchr regb ,1 ,mem_confdesc + 44 
+7aff da200ad6 arg mem_confdesc + 44 ,rega 
+7b00 20207c77 branch usb0_respond 
+
+dsc_device_info:
+7b01 6fe08bfd fetch 1 ,mem_usb_set_high_addr_flag 
+7b02 245a7b12 ncall usb_set_high_addr ,blank 
+7b03 58000a97 setarg mem_devicedesc 
+7b04 68488a97 fetcht 1 ,mem_devicedesc 
+
+dsc_info_set_data_len:
+7b05 67e10bf4 store 2 ,mem_dsc_info_data_pointer 
+7b06 60488bf6 storet 1 ,mem_dsc_info_len 
+7b07 6fe08b5f fetch 1 ,mem_usb_setup_blength 
+7b08 98467c00 isub temp ,null 
+7b09 24217b10 nbranch dsc_info_set_current_data_len ,positive 
+
+dsc_info_set_initial_data_len:
+7b0a 6fe08bf6 fetch 1 ,mem_dsc_info_len 
+
+dsc_info_set_data_size_completed:
+7b0b 98002400 iforce regb 
+7b0c 6fe10bf4 fetch 2 ,mem_dsc_info_data_pointer 
+7b0d 1fe0fe01 add pdata ,1 ,pdata 
+7b0e 98002200 iforce rega 
+7b0f 20207c77 branch usb0_respond 
+
+dsc_info_set_current_data_len:
+7b10 6fe08b5f fetch 1 ,mem_usb_setup_blength 
+7b11 20207b0b branch dsc_info_set_data_size_completed 
+
+usb_set_high_addr:
+7b12 6ff08c02 fetch 1 ,core_usb_addr 
+7b13 245a7b16 ncall usb0_set_addr ,blank 
+7b14 700bfd00 jam 0 ,mem_usb_set_high_addr_flag 
+7b15 20600000 rtn 
+
+usb0_set_addr:
+7b16 6ff08c02 fetch 1 ,core_usb_addr 
+7b17 79207e07 set1 7 ,pdata 
+7b18 67f08c02 store 1 ,core_usb_addr 
+7b19 20600000 rtn 
+
+dsc_config_info:
+7b1a 58000aaa setarg mem_confdesc 
+7b1b 68488aaa fetcht 1 ,mem_confdesc 
+7b1c 20207b05 branch dsc_info_set_data_len 
+
+dsc_string_info:
+7b1d 6fe08b5b fetch 1 ,mem_usb_setup_bvalue 
+7b1e 1fe67c03 sub pdata ,3 ,null 
+7b1f 24217ad2 nbranch usb0_force_stall ,positive 
+7b20 6fe08b5b fetch 1 ,mem_usb_setup_bvalue 
+7b21 da200ae6 arg mem_string0 ,rega 
+7b22 c0007c75 beq 0 ,usb0_respond_length 
+7b23 79200023 set1 mark_isstr ,mark 
+7b24 da200aeb arg mem_string1 ,rega 
+7b25 c000fc75 beq 1 ,usb0_respond_length 
+7b26 da200b09 arg mem_string2 ,rega 
+7b27 c0017c75 beq 2 ,usb0_respond_length 
+7b28 da200b27 arg mem_string3 ,rega 
+7b29 c001fc75 beq 3 ,usb0_respond_length 
+7b2a 20600000 rtn 
+
+dsc_hid_report_info:
+7b2b 6fe10b5d fetch 2 ,mem_usb_setup_windex 
+7b2c c000fb2f beq 1 ,dsc_hid_report_info0 
+7b2d 6a210a93 fetchr rega ,2 ,mem_hidreportdesc_kb 
+7b2e 20207c75 branch usb0_respond_length 
+
+dsc_hid_report_info0:
+7b2f 700bfa01 jam 1 ,mem_usb_device_enumeration_endflag 
+7b30 700bec01 jam usb_got_report_req ,mem_usb_state 
+7b31 6a210a95 fetchr rega ,2 ,mem_hidreportdesc_m 
+7b32 20207c75 branch usb0_respond_length 
+
+usb0_request_get_interface:
+7b33 6fe08b57 fetch 1 ,mem_usb0_state 
+7b34 c0827ad2 bne dev_configured ,usb0_force_stall 
+7b35 6fe08b59 fetch 1 ,mem_usb_setup_bmrequesttype 
+7b36 c0c0fad2 bne in_interface ,usb0_force_stall 
+7b37 6fe08b5b fetch 1 ,mem_usb_setup_bvalue 
+7b38 c0807ad2 bne 0 ,usb0_force_stall 
+7b39 6fe08b5c fetch 1 ,mem_usb_setup_bvalueh 
+7b3a c0807ad2 bne 0 ,usb0_force_stall 
+7b3b 6fe08b5f fetch 1 ,mem_usb_setup_blength 
+7b3c c080fad2 bne 1 ,usb0_force_stall 
+7b3d 6fe08b60 fetch 1 ,mem_usb_setup_blengthh 
+7b3e c0807ad2 bne 0 ,usb0_force_stall 
+7b3f 6fe08b5d fetch 1 ,mem_usb_setup_windex 
+7b40 c0807ad2 bne 0 ,usb0_force_stall 
+7b41 6fe08b5e fetch 1 ,mem_usb_setup_windex + 1 
+7b42 c0807ad2 bne 0 ,usb0_force_stall 
+7b43 da400001 arg 1 ,regb 
+7b44 20207b5d branch usb_send_zero_packet 
+
+usb0_request_get_status:
+7b45 6fe08b57 fetch 1 ,mem_usb0_state 
+7b46 c0017ad2 beq dev_default ,usb0_force_stall 
+7b47 6fe08b5b fetch 1 ,mem_usb_setup_bvalue 
+7b48 c0807ad2 bne 0 ,usb0_force_stall 
+7b49 6fe08b5c fetch 1 ,mem_usb_setup_bvalueh 
+7b4a c0807ad2 bne 0 ,usb0_force_stall 
+7b4b 6fe08b5f fetch 1 ,mem_usb_setup_blength 
+7b4c c0817ad2 bne 2 ,usb0_force_stall 
+7b4d 6fe08b60 fetch 1 ,mem_usb_setup_blengthh 
+7b4e c0807ad2 bne 0 ,usb0_force_stall 
+7b4f 6fe08b5e fetch 1 ,mem_usb_setup_windex + 1 
+7b50 c0807ad2 bne 0 ,usb0_force_stall 
+7b51 6fe08b59 fetch 1 ,mem_usb_setup_bmrequesttype 
+7b52 c0407b58 beq in_device ,usb0_get_status_in_device 
+7b53 c040fb63 beq in_interface ,usb0_get_status_in_interface 
+7b54 c0417b67 beq in_endpoint ,usb0_get_status_in_endpoint 
+7b55 20207ad2 branch usb0_force_stall 
+
+usb0_sdsystem_dispose:
+7b56 700bef01 jam 1 ,mem_sdsystem_wakeup_flag 
+7b57 20207b61 branch usb_send_two_packet 
+
+usb0_get_status_in_device:
+7b58 6fe08b5d fetch 1 ,mem_usb_setup_windex 
+7b59 c0807ad2 bne 0 ,usb0_force_stall 
+7b5a da400002 arg 2 ,regb 
+7b5b 6fe08bed fetch 1 ,mem_usb_remote_wakeup 
+7b5c c000fb56 beq 0x01 ,usb0_sdsystem_dispose 
+
+usb_send_zero_packet:
+7b5d da200b51 arg mem_usb_zero_packet ,rega 
+7b5e 20207c77 branch usb0_respond 
+
+usb_send_ones_packet:
+7b5f da200b53 arg mem_usb_ones_packet ,rega 
+7b60 20207c77 branch usb0_respond 
+
+usb_send_two_packet:
+7b61 da200b55 arg mem_usb_two_packet ,rega 
+7b62 20207c77 branch usb0_respond 
+
+usb0_get_status_in_interface:
+7b63 6fe08b57 fetch 1 ,mem_usb0_state 
+7b64 c0827ad2 bne dev_configured ,usb0_force_stall 
+7b65 da400002 arg 2 ,regb 
+7b66 20207b5d branch usb_send_zero_packet 
+
+usb0_get_status_in_endpoint:
+7b67 6fe08b57 fetch 1 ,mem_usb0_state 
+7b68 c0827ad2 bne dev_configured ,usb0_force_stall 
+7b69 6fe08b5d fetch 1 ,mem_usb_setup_windex 
+7b6a c040fb74 beq in_ep1 ,usb0_get_status_in_ep_in_ep1 
+7b6b c0417b76 beq in_ep2 ,usb0_get_status_in_ep_in_ep2 
+7b6c c041fb78 beq in_ep3 ,usb0_get_status_in_ep_in_ep3 
+7b6d 1fe17e7f and_into 0x7f ,pdata 
+7b6e c0007b70 beq 0x00 ,usb0_get_status_in_ep_in_ep0 
+7b6f 20207ad2 branch usb0_force_stall 
+
+usb0_get_status_in_ep_in_ep0:
+7b70 6fe08bf0 fetch 1 ,mem_usb_ep0_stall_status 
+
+usb0_get_status_in_ep_in_ack:
+7b71 da400002 arg 2 ,regb 
+7b72 c000fb5f beq 1 ,usb_send_ones_packet 
+7b73 20207b5d branch usb_send_zero_packet 
+
+usb0_get_status_in_ep_in_ep1:
+7b74 6fe08bf1 fetch 1 ,mem_usb_ep1_stall_status 
+7b75 20207b71 branch usb0_get_status_in_ep_in_ack 
+
+usb0_get_status_in_ep_in_ep2:
+7b76 6fe08bf2 fetch 1 ,mem_usb_ep2_stall_status 
+7b77 20207b71 branch usb0_get_status_in_ep_in_ack 
+
+usb0_get_status_in_ep_in_ep3:
+7b78 6fe08bf3 fetch 1 ,mem_usb_ep3_stall_status 
+7b79 20207b71 branch usb0_get_status_in_ep_in_ack 
+
+usb_get_idle:
+7b7a 700be701 jam 1 ,mem_usb_idle_flag 
+7b7b da200be8 arg mem_usb_idle_rate ,rega 
+7b7c da400001 arg 1 ,regb 
+7b7d 20207c77 branch usb0_respond 
+
+usb_get_report:
+7b7e 6fe10b5b fetch 2 ,mem_usb_setup_bvalue 
+7b7f d84001ba arg pc_get_report ,temp 
+7b80 98467c00 isub temp ,null 
+7b81 2422fad2 nbranch usb0_force_stall ,zero 
+
+usb_get_report_dispose:
+7b82 6fe08be4 fetch 1 ,mem_usb0_data_ready_report 
+7b83 243a7b8c nbranch usb_get_report_data_success ,blank 
+7b84 700ba100 jam pc_get_nondata ,mem_usb0_get_report_data 
+
+usb_get_report_send_data:
+7b85 6fe08b5f fetch 1 ,mem_usb_setup_blength 
+7b86 98002400 iforce regb 
+7b87 da200ba1 arg mem_usb0_get_report_data ,rega 
+7b88 20407c77 call usb0_respond 
+
+usb_get_report_data_release:
+7b89 d8a00ba1 arg mem_usb0_get_report_data ,contw 
+7b8a df200008 arg 8 ,loopcnt 
+7b8b 20207d8c branch memset0 
+
+usb_get_report_data_success:
+7b8c 700be400 jam 0 ,mem_usb0_data_ready_report 
+7b8d 700ba101 jam pc_get_data ,mem_usb0_get_report_data 
+7b8e 20207b85 branch usb_get_report_send_data 
+
+usb_get_protocol_req:
+7b8f 6fe08b5f fetch 1 ,mem_usb_setup_blength 
+7b90 c080fad2 bne 1 ,usb0_force_stall 
+7b91 700be901 jam 1 ,mem_usb_get_protocol_flag 
+7b92 da400001 arg 1 ,regb 
+7b93 6fe08beb fetch 1 ,mem_usb_set_protocol_value 
+7b94 c0007b97 beq 0 ,usb_get_report_protocol 
+7b95 c000fb98 beq 1 ,usb_get_boot_protocol 
+7b96 20207b5d branch usb_send_zero_packet 
+
+usb_get_report_protocol:
+7b97 20207b5f branch usb_send_ones_packet 
+
+usb_get_boot_protocol:
+7b98 20207b5d branch usb_send_zero_packet 
+
+usb0_request_clear_feature:
+7b99 6fe08b57 fetch 1 ,mem_usb0_state 
+7b9a c0827ad2 bne dev_configured ,usb0_force_stall 
+7b9b 6fe08b5f fetch 1 ,mem_usb_setup_blength 
+7b9c c0807ad2 bne 0 ,usb0_force_stall 
+7b9d 6fe08b60 fetch 1 ,mem_usb_setup_blengthh 
+7b9e c0807ad2 bne 0 ,usb0_force_stall 
+7b9f 6fe08b5c fetch 1 ,mem_usb_setup_bvalueh 
+7ba0 c0807ad2 bne 0 ,usb0_force_stall 
+7ba1 6fe08b5e fetch 1 ,mem_usb_setup_windex + 1 
+7ba2 c0807ad2 bne 0 ,usb0_force_stall 
+7ba3 6fe08b59 fetch 1 ,mem_usb_setup_bmrequesttype 
+7ba4 c0007ba8 beq out_device ,usb0_request_clear_feature_out_device 
+7ba5 c000fbb5 beq out_interface ,usb0_request_clear_feature_out_interface 
+7ba6 c0017bb6 beq out_endpoint ,usb0_request_clear_feature_out_endpoint 
+7ba7 20207ad2 branch usb0_force_stall 
+
+usb0_request_clear_feature_out_device:
+7ba8 6fe08b5b fetch 1 ,mem_usb_setup_bvalue 
+7ba9 c080fad2 bne device_remote_wakeup ,usb0_force_stall 
+7baa 6ff08c00 fetch 1 ,core_usb_config 
+7bab 793ffe07 set0 7 ,pdata 
+7bac 67f08c00 store 1 ,core_usb_config 
+7bad 700bed00 jam 0 ,mem_usb_remote_wakeup 
+7bae 700bee01 jam 1 ,mem_usb_clear_remote_wakeup 
+7baf 6fe08bef fetch 1 ,mem_sdsystem_wakeup_flag 
+7bb0 203a7ad6 branch usb0_reply_zerolen ,blank 
+7bb1 700bef00 jam 0 ,mem_sdsystem_wakeup_flag 
+7bb2 700bee00 jam 0 ,mem_usb_clear_remote_wakeup 
+7bb3 700bec02 jam usb_connected ,mem_usb_state 
+7bb4 20207ad6 branch usb0_reply_zerolen 
+
+usb0_request_clear_feature_out_interface:
+7bb5 20207ad2 branch usb0_force_stall 
+
+usb0_request_clear_feature_out_endpoint:
+7bb6 6fe08b5b fetch 1 ,mem_usb_setup_bvalue 
+7bb7 c0807ad2 bne endpoint_halt ,usb0_force_stall 
+7bb8 6fe08b5d fetch 1 ,mem_usb_setup_windex 
+7bb9 c040fbc1 beq in_ep1 ,usb0_force_stall_ep1_in_off 
+7bba c0417bc4 beq in_ep2 ,usb0_force_stall_ep2_in_off 
+7bbb c041fbc6 beq in_ep3 ,usb0_force_stall_ep3_in_off 
+7bbc 1fe17e7f and_into 0x7f ,pdata 
+7bbd c0007bbf beq 0x00 ,usb0_force_stall_ep0_in_off 
+7bbe 20207ad2 branch usb0_force_stall 
+
+usb0_force_stall_ep0_in_off:
+7bbf 700bf000 jam 0 ,mem_usb_ep0_stall_status 
+7bc0 20207ad6 branch usb0_reply_zerolen 
+
+usb0_force_stall_ep1_in_off:
+7bc1 700bf100 jam 0 ,mem_usb_ep1_stall_status 
+
+usb0_force_stall_ep1_in_off_reply:
+7bc2 700bfe01 jam 1 ,mem_usb_clear_halt 
+7bc3 20207ad6 branch usb0_reply_zerolen 
+
+usb0_force_stall_ep2_in_off:
+7bc4 700bf200 jam 0 ,mem_usb_ep2_stall_status 
+7bc5 20207bc2 branch usb0_force_stall_ep1_in_off_reply 
+
+usb0_force_stall_ep3_in_off:
+7bc6 700bf300 jam 0 ,mem_usb_ep3_stall_status 
+7bc7 20207bc2 branch usb0_force_stall_ep1_in_off_reply 
+
+usb0_request_set_feature:
+7bc8 6fe08b5f fetch 1 ,mem_usb_setup_blength 
+7bc9 c0807ad2 bne 0 ,usb0_force_stall 
+7bca 6fe08b60 fetch 1 ,mem_usb_setup_blengthh 
+7bcb c0807ad2 bne 0 ,usb0_force_stall 
+7bcc 6fe08b59 fetch 1 ,mem_usb_setup_bmrequesttype 
+7bcd c0007bd1 beq out_device ,usb0_request_set_feature_out_device 
+7bce c000fbdf beq out_interface ,usb0_request_set_feature_out_interface 
+7bcf c0017be0 beq out_endpoint ,usb0_request_set_feature_out_endpoint 
+7bd0 20207ad2 branch usb0_force_stall 
+
+usb0_request_set_feature_out_device:
+7bd1 6fe08b5b fetch 1 ,mem_usb_setup_bvalue 
+7bd2 c080fad2 bne device_remote_wakeup ,usb0_force_stall 
+7bd3 20403779 call dongle_set_pc_sleep_flag 
+7bd4 6ff08c00 fetch 1 ,core_usb_config 
+7bd5 79207e07 set1 7 ,pdata 
+7bd6 67f08c00 store 1 ,core_usb_config 
+7bd7 700bed01 jam 1 ,mem_usb_remote_wakeup 
+7bd8 700bec03 jam usb_sleep ,mem_usb_state 
+7bd9 700be500 jam 0 ,mem_usb_tx_win_enable 
+7bda 20407ad6 call usb0_reply_zerolen 
+
+usb_wakeup_timer_reinit:
+7bdb 20407de8 call timer_reinit 
+7bdc 58001388 setarg timer_wakeup_delay 
+7bdd d8e0000f arg timer_wakeup ,queue 
+7bde 20207ddb branch timer_init 
+
+usb0_request_set_feature_out_interface:
+7bdf 20207ad2 branch usb0_force_stall 
+
+usb0_request_set_feature_out_endpoint:
+7be0 6fe08b5b fetch 1 ,mem_usb_setup_bvalue 
+7be1 c0807ad2 bne endpoint_halt ,usb0_force_stall 
+7be2 6fe08b5c fetch 1 ,mem_usb_setup_bvalueh 
+7be3 c0807ad2 bne 0 ,usb0_force_stall 
+7be4 6fe08b5d fetch 1 ,mem_usb_setup_windex 
+7be5 c040fbed beq in_ep1 ,usb0_force_stall_ep1_in_on 
+7be6 c0417bef beq in_ep2 ,usb0_force_stall_ep2_in_on 
+7be7 c041fbf1 beq in_ep3 ,usb0_force_stall_ep3_in_on 
+7be8 1fe17e7f and_into 0x7f ,pdata 
+7be9 c0007beb beq 0x00 ,usb0_force_stall_ep0_in_on 
+7bea 20207ad2 branch usb0_force_stall 
+
+usb0_force_stall_ep0_in_on:
+7beb 700bf001 jam 1 ,mem_usb_ep0_stall_status 
+7bec 20207ad6 branch usb0_reply_zerolen 
+
+usb0_force_stall_ep1_in_on:
+7bed 700bf101 jam 1 ,mem_usb_ep1_stall_status 
+7bee 20207ad6 branch usb0_reply_zerolen 
+
+usb0_force_stall_ep2_in_on:
+7bef 700bf201 jam 1 ,mem_usb_ep2_stall_status 
+7bf0 20207ad6 branch usb0_reply_zerolen 
+
+usb0_force_stall_ep3_in_on:
+7bf1 700bf301 jam 1 ,mem_usb_ep3_stall_status 
+7bf2 20207ad6 branch usb0_reply_zerolen 
+
+usb0_request_set_address:
+7bf3 6fe08b59 fetch 1 ,mem_usb_setup_bmrequesttype 
+7bf4 c0807ad2 bne out_device ,usb0_force_stall 
+7bf5 6fe08b5d fetch 1 ,mem_usb_setup_windex 
+7bf6 c0807ad2 bne 0 ,usb0_force_stall 
+7bf7 6fe08b5e fetch 1 ,mem_usb_setup_windex + 1 
+7bf8 c0807ad2 bne 0 ,usb0_force_stall 
+7bf9 6fe08b5f fetch 1 ,mem_usb_setup_blength 
+7bfa c0807ad2 bne 0 ,usb0_force_stall 
+7bfb 6fe08b60 fetch 1 ,mem_usb_setup_blengthh 
+7bfc c0807ad2 bne 0 ,usb0_force_stall 
+7bfd 6fe08b5c fetch 1 ,mem_usb_setup_bvalueh 
+7bfe c0807ad2 bne 0 ,usb0_force_stall 
+7bff 6fe08b5b fetch 1 ,mem_usb_setup_bvalue 
+7c00 1fe17e80 and_into 0x80 ,pdata 
+7c01 c0807ad2 bne 0 ,usb0_force_stall 
+7c02 6fe08b5b fetch 1 ,mem_usb_setup_bvalue 
+7c03 c0807c0a bne 0 ,usb_usb0_state_set_dev_addr 
+
+usb_usb0_state_set_dev_default:
+7c04 700b5702 jam dev_default ,mem_usb0_state 
+
+usb0_request_set_wait_address:
+7c05 6fe08b5b fetch 1 ,mem_usb_setup_bvalue 
+7c06 67f08c02 store 1 ,core_usb_addr 
+7c07 20407ad6 call usb0_reply_zerolen 
+7c08 700bfd01 jam 1 ,mem_usb_set_high_addr_flag 
+7c09 20600000 rtn 
+
+usb_usb0_state_set_dev_addr:
+7c0a 700b5703 jam dev_address ,mem_usb0_state 
+7c0b 20207c05 branch usb0_request_set_wait_address 
+
+usb0_request_set_configuration:
+7c0c 6fe08b57 fetch 1 ,mem_usb0_state 
+7c0d c0017ad2 beq dev_default ,usb0_force_stall 
+7c0e 6fe08b59 fetch 1 ,mem_usb_setup_bmrequesttype 
+7c0f c0807ad2 bne out_device ,usb0_force_stall 
+7c10 6fe08b5d fetch 1 ,mem_usb_setup_windex 
+7c11 c0807ad2 bne 0 ,usb0_force_stall 
+7c12 6fe08b5e fetch 1 ,mem_usb_setup_windex + 1 
+7c13 c0807ad2 bne 0 ,usb0_force_stall 
+7c14 6fe08b5f fetch 1 ,mem_usb_setup_blength 
+7c15 c0807ad2 bne 0 ,usb0_force_stall 
+7c16 6fe08b60 fetch 1 ,mem_usb_setup_blengthh 
+7c17 c0807ad2 bne 0 ,usb0_force_stall 
+7c18 6fe08b5c fetch 1 ,mem_usb_setup_bvalue + 1 
+7c19 c0807ad2 bne 0 ,usb0_force_stall 
+7c1a 6fe08b5b fetch 1 ,mem_usb_setup_bvalue 
+7c1b 1fe67c01 sub pdata ,usb_max_num_cfg ,null 
+7c1c 24217ad2 nbranch usb0_force_stall ,positive 
+7c1d 6fe08b57 fetch 1 ,mem_usb0_state 
+7c1e c001fc21 beq dev_address ,usb0_request_set_cfg_addr_state 
+7c1f c0027c21 beq dev_configured ,usb0_request_set_cfg_cfg_state 
+7c20 20207ad2 branch usb0_force_stall 
+
+usb0_request_set_cfg_addr_state:
+
+usb0_request_set_cfg_cfg_state:
+7c21 6fe08b5b fetch 1 ,mem_usb_setup_bvalue 
+7c22 c0007c25 beq 0 ,usb0_request_set_cfg_stay_addr_state 
+7c23 700b5704 jam dev_configured ,mem_usb0_state 
+7c24 20207ad6 branch usb0_reply_zerolen 
+
+usb0_request_set_cfg_stay_addr_state:
+7c25 700b5703 jam dev_address ,mem_usb0_state 
+7c26 20207ad6 branch usb0_reply_zerolen 
+
+usb0_request_set_interface:
+7c27 6fe08b57 fetch 1 ,mem_usb0_state 
+7c28 c0827ad2 bne dev_configured ,usb0_force_stall 
+7c29 6fe08b59 fetch 1 ,mem_usb_setup_bmrequesttype 
+7c2a c080fad2 bne out_interface ,usb0_force_stall 
+7c2b 6fe08b5b fetch 1 ,mem_usb_setup_bvalue 
+7c2c c0807ad2 bne 0 ,usb0_force_stall 
+7c2d 6fe08b5c fetch 1 ,mem_usb_setup_bvalueh 
+7c2e c0807ad2 bne 0 ,usb0_force_stall 
+7c2f 6fe08b5f fetch 1 ,mem_usb_setup_blength 
+7c30 c0807ad2 bne 0 ,usb0_force_stall 
+7c31 6fe08b60 fetch 1 ,mem_usb_setup_blengthh 
+7c32 c0807ad2 bne 0 ,usb0_force_stall 
+7c33 6fe08b5d fetch 1 ,mem_usb_setup_windex 
+7c34 c0807ad2 bne 0 ,usb0_force_stall 
+7c35 6fe08b5e fetch 1 ,mem_usb_setup_windex + 1 
+7c36 c0807ad2 bne 0 ,usb0_force_stall 
+7c37 20207ad6 branch usb0_reply_zerolen 
+
+usb_set_idle:
+7c38 47484032 bpatchx patch32_0 ,mem_patch32 
+7c39 700be701 jam 1 ,mem_usb_idle_flag 
+7c3a 6fe08b5c fetch 1 ,mem_usb_setup_bvalueh 
+7c3b 67e08be8 store 1 ,mem_usb_idle_rate 
+7c3c 6fe08b5d fetch 1 ,mem_usb_setup_windex 
+7c3d 1fe67c01 sub pdata ,1 ,null 
+7c3e 2042fc46 call usb_clear_remote_wakeup_set0 ,zero 
+7c3f 6fe08bec fetch 1 ,mem_usb_state 
+7c40 c0827ad6 bne usb_resume ,usb0_reply_zerolen 
+7c41 700bec02 jam usb_connected ,mem_usb_state 
+7c42 20407ad6 call usb0_reply_zerolen 
+7c43 20007530 nop 30000 
+7c44 20007530 nop 30000 
+7c45 20600000 rtn 
+
+usb_clear_remote_wakeup_set0:
+7c46 700bfa01 jam 1 ,mem_usb_device_enumeration_endflag 
+7c47 700bee00 jam 0 ,mem_usb_clear_remote_wakeup 
+7c48 700bec04 jam usb_resume ,mem_usb_state 
+7c49 20600000 rtn 
+
+usb_set_report:
+7c4a d8a00b61 arg mem_usb0_set_report_data ,contw 
+7c4b 20407a7e call usb_rx_data 
+7c4c 700be301 jam 1 ,mem_usb0_get_set_report 
+7c4d 20407c5a call usb_set_report_resume_judge 
+7c4e 6fe10b5b fetch 2 ,mem_usb_setup_bvalue 
+7c4f 67e10be1 store 2 ,mem_usb_setup_bvalue_temp 
+7c50 20407ad6 call usb0_reply_zerolen 
+7c51 6fe0c09a fetch 1 ,mem_device_option 
+7c52 c1820000 rtnne dvc_op_dongle 
+7c53 6fe08be5 fetch 1 ,mem_usb_tx_win_enable 
+7c54 207a0000 rtn blank 
+7c55 6fe08b61 fetch 1 ,mem_usb0_set_report_data 
+
+usb_get_led_status:
+7c56 67e0c8ce store 1 ,mem_24g_led_status 
+7c57 700be500 jam 0 ,mem_usb_tx_win_enable 
+7c58 7048be03 jam kb_led_ackpayload ,mem_24g_ackpayload_enable 
+7c59 20600000 rtn 
+
+usb_set_report_resume_judge:
+7c5a 6fe10b5b fetch 2 ,mem_usb_setup_bvalue 
+7c5b d8400200 arg pc_set_report_bvalue ,temp 
+7c5c 98467c00 isub temp ,null 
+7c5d 24628000 nrtn zero 
+7c5e 6fe10b5d fetch 2 ,mem_usb_setup_windex 
+7c5f d8400000 arg pc_set_report_windex ,temp 
+7c60 98467c00 isub temp ,null 
+7c61 24628000 nrtn zero 
+7c62 6fe10b5f fetch 2 ,mem_usb_setup_blength 
+7c63 d8400001 arg pc_set_report_blength ,temp 
+7c64 98467c00 isub temp ,null 
+7c65 24628000 nrtn zero 
+7c66 700be501 jam 1 ,mem_usb_tx_win_enable 
+7c67 20600000 rtn 
+
+usb_set_protocol_req:
+7c68 6fe08b5f fetch 1 ,mem_usb_setup_blength 
+7c69 c0807ad2 bne 0 ,usb0_force_stall 
+7c6a 6fe08b5b fetch 1 ,mem_usb_setup_bvalue 
+7c6b c0007c6e beq boot_protocol ,usb_set_boot_protocol 
+7c6c c000fc71 beq report_protocol ,usb_set_report_protocol 
+7c6d 20207ad2 branch usb0_force_stall 
+
+usb_set_boot_protocol:
+7c6e 700bea00 jam 0 ,mem_usb_set_protocol_status 
+7c6f 700beb01 jam 1 ,mem_usb_set_protocol_value 
+7c70 20207ad6 branch usb0_reply_zerolen 
+
+usb_set_report_protocol:
+7c71 700be601 jam 1 ,mem_usb_tx_mac_enable 
+7c72 700bea01 jam 1 ,mem_usb_set_protocol_status 
+7c73 700beb00 jam 0 ,mem_usb_set_protocol_value 
+7c74 20207ad6 branch usb0_reply_zerolen 
+
+usb0_respond_length:
+7c75 ea408011 ifetchr regb ,1 ,rega 
+7c76 1a20a201 increase 1 ,rega 
+
+usb0_respond:
+7c77 4748c032 bpatchx patch32_1 ,mem_patch32 
+7c78 7920000e set1 mark_usb_first_resp ,mark 
+7c79 c591fc7c bmark0 mark_isstr ,usb0_respond_nostr 
+7c7a 1a40a401 increase 1 ,regb 
+7c7b 1a43a400 lshift regb ,regb 
+
+usb0_respond_nostr:
+7c7c 62210a90 storer rega ,2 ,mem_bufptr 
+7c7d 62408a92 storer regb ,1 ,mem_remain 
+7c7e 20207c81 branch usb0_tx 
+
+usb_no_respond_data:
+7c7f d8e00000 arg 0 ,queue 
+7c80 20207cc1 branch usb_trig 
+
+usb0_tx:
+7c81 47494032 bpatchx patch32_2 ,mem_patch32 
+7c82 6ff08c24 fetch 1 ,core_usb_txbusy 
+7c83 c3800000 rtnbit1 0 
+7c84 6fe08a92 fetch 1 ,mem_remain 
+7c85 207a0000 rtn blank 
+7c86 1fe27200 copy pdata ,loopcnt 
+7c87 98000400 iforce temp 
+7c88 6fe10b5f fetch 2 ,mem_usb_setup_blength 
+7c89 1fe67c40 sub pdata ,ep0_packet_size ,null 
+7c8a 20217c8f branch usb0_tx_short ,positive 
+7c8b 1f267c40 sub loopcnt ,ep0_packet_size ,null 
+7c8c 20217c93 branch usb0_tx_info ,positive 
+7c8d 18007240 force ep0_packet_size ,loopcnt 
+7c8e 20207c93 branch usb0_tx_info 
+
+usb0_tx_short:
+7c8f 9f267c00 isub loopcnt ,null 
+7c90 20217c93 branch usb0_tx_info ,positive 
+7c91 98007200 iforce loopcnt 
+7c92 67e08a92 store 1 ,mem_remain 
+
+usb0_tx_info:
+7c93 6fe08a92 fetch 1 ,mem_remain 
+7c94 9f267e00 isub loopcnt ,pdata 
+7c95 67e08a92 store 1 ,mem_remain 
+7c96 1f20ffff add loopcnt ,-1 ,pdata 
+7c97 67e089fa store 1 ,mem_usb_txbuf 
+7c98 c591fca5 bmark0 mark_isstr ,usb0_tx_nostr 
+7c99 1fe37e00 rshift pdata ,pdata 
+7c9a 1f20ffff add loopcnt ,-1 ,pdata 
+7c9b 67e089fa store 1 ,mem_usb_txbuf 
+7c9c c5877ca5 bmark0 mark_usb_first_resp ,usb0_tx_nostr 
+7c9d 793f800e set0 mark_usb_first_resp ,mark 
+7c9e e0408005 istoret 1 ,contw 
+7c9f 58000003 setarg 3 
+7ca0 e7e08005 istore 1 ,contw 
+7ca1 1f20f3ff increase -1 ,loopcnt 
+7ca2 1f227e00 copy loopcnt ,pdata 
+7ca3 2422fca5 nbranch usb0_tx_nostr ,zero 
+7ca4 1f20f201 increase 1 ,loopcnt 
+
+usb0_tx_nostr:
+7ca5 6fe10a90 fetch 2 ,mem_bufptr 
+7ca6 1fe20c00 copy pdata ,contr 
+
+usb0_tx0:
+7ca7 efe08006 ifetch 1 ,contr 
+7ca8 e7e08005 istore 1 ,contw 
+7ca9 c591fcac bmark0 mark_isstr ,usb0_tx1 
+7caa 58000000 setarg 0 
+7cab e7e08005 istore 1 ,contw 
+
+usb0_tx1:
+7cac c2007ca7 loop usb0_tx0 
+7cad 18c27e00 copy contr ,pdata 
+7cae 67e10a90 store 2 ,mem_bufptr 
+7caf 580009fa setarg mem_usb_txbuf 
+7cb0 67f10c09 store 2 ,core_usb_tx_saddr0 
+7cb1 d8e00000 arg 0 ,queue 
+7cb2 20407cc1 call usb_trig 
+7cb3 6fe08a92 fetch 1 ,mem_remain 
+7cb4 247a0000 nrtn blank 
+7cb5 6fe08bec fetch 1 ,mem_usb_state 
+7cb6 c1808000 rtnne usb_got_report_req 
+7cb7 700bec02 jam usb_connected ,mem_usb_state 
+7cb8 20600000 rtn 
+
+usb_tx_ep1:
+7cb9 d8e00001 arg 1 ,queue 
+7cba da200a3b arg mem_usb_txbuf1 ,rega 
+7cbb 62310c0b storer rega ,2 ,core_usb_tx_saddr1 
+
+usb_tx_buf:
+7cbc 1f20ffff add loopcnt ,-1 ,pdata 
+7cbd e7e08011 istore 1 ,rega 
+
+usb_tx_loop:
+7cbe efe08006 ifetch 1 ,contr 
+7cbf e7e08005 istore 1 ,contw 
+7cc0 c2007cbe loop usb_tx_loop 
+
+usb_trig:
+7cc1 58000000 setarg 0 
+7cc2 f9207e00 qset1 pdata 
+7cc3 67f08c18 store 1 ,core_usb_trig 
+7cc4 20600000 rtn 
+
+usb_tx_ep2:
+7cc5 d8e00002 arg 2 ,queue 
+7cc6 da200a45 arg mem_usb_txbuf2 ,rega 
+7cc7 62310c0d storer rega ,2 ,core_usb_tx_saddr2 
+7cc8 20207cbc branch usb_tx_buf 
+
+usb_tx:
+7cc9 4749c032 bpatchx patch32_3 ,mem_patch32 
+7cca 6fe08bf9 fetch 1 ,mem_usb_tx_enable 
+7ccb 207a0000 rtn blank 
+7ccc 6fe08bfa fetch 1 ,mem_usb_device_enumeration_endflag 
+7ccd 203a7ced branch usb_tx_fifo_release ,blank 
+7cce 6fe08bec fetch 1 ,mem_usb_state 
+7ccf c001fd27 beq usb_sleep ,usb_windows_wakeup 
+7cd0 c0817ced bne usb_connected ,usb_tx_fifo_release 
+7cd1 6fe08bee fetch 1 ,mem_usb_clear_remote_wakeup 
+7cd2 243a7ced nbranch usb_tx_fifo_release ,blank 
+7cd3 20407cd5 call usb_tx_data_ep1 
+7cd4 20207ce0 branch usb_tx_data_ep2 
+
+usb_tx_data_ep1:
+7cd5 6ff08c24 fetch 1 ,core_usb_txbusy 
+7cd6 c3808000 rtnbit1 1 
+7cd7 6fe08bf9 fetch 1 ,mem_usb_tx_enable 
+7cd8 c4008000 rtnbit0 1 
+7cd9 6fe08bf9 fetch 1 ,mem_usb_tx_enable 
+7cda 793ffe01 set0 1 ,pdata 
+7cdb 67e08bf9 store 1 ,mem_usb_tx_enable 
+7cdc 6fe08bf7 fetch 1 ,mem_usb_ep1_data 
+7cdd 207a0000 rtn blank 
+7cde c0087d0f beq usb_ep1_kb ,usb_tx_kb_normal_data 
+7cdf 2020137c branch assert 
+
+usb_tx_data_ep2:
+7ce0 6ff08c24 fetch 1 ,core_usb_txbusy 
+7ce1 c3810000 rtnbit1 2 
+7ce2 6fe08bf9 fetch 1 ,mem_usb_tx_enable 
+7ce3 c4010000 rtnbit0 2 
+7ce4 6fe08bf9 fetch 1 ,mem_usb_tx_enable 
+7ce5 793ffe02 set0 2 ,pdata 
+7ce6 67e08bf9 store 1 ,mem_usb_tx_enable 
+7ce7 6fe08bf8 fetch 1 ,mem_usb_ep2_data 
+7ce8 207a0000 rtn blank 
+7ce9 c0107cf0 beq usb_ep2_ms ,usb_tx_ms_data 
+7cea c010fd0b beq usb_ep2_multikey ,usb_tx_kb_multikey_data 
+7ceb c0117d13 beq usb_ep2_systemkey ,usb_tx_kb_systemkey_data 
+7cec 2020137c branch assert 
+
+usb_tx_fifo_release:
+7ced d8a00bff arg mem_usb_mouse_data ,contw 
+7cee df200008 arg 8 ,loopcnt 
+7cef 20207d8c branch memset0 
+
+usb_tx_ms_data:
+7cf0 6fe08be7 fetch 1 ,mem_usb_idle_flag 
+7cf1 68488be9 fetcht 1 ,mem_usb_get_protocol_flag 
+7cf2 98417e00 iand temp ,pdata 
+7cf3 203a7d07 branch usb_tx_ms_data_normal_mode ,blank 
+7cf4 68488bea fetcht 1 ,mem_usb_set_protocol_status 
+7cf5 9840fe00 iadd temp ,pdata 
+7cf6 c000fcf8 beq mac_boot_mode ,usb_tx_ms_data_mac_boot_mode 
+7cf7 20207d07 branch usb_tx_ms_data_normal_mode 
+
+usb_tx_ms_data_mac_boot_mode:
+7cf8 700bf800 jam 0 ,mem_usb_ep2_data 
+
+usb_tx_ms_data_mac_boot_regroup:
+7cf9 6fe08c00 fetch 1 ,mem_usb_mouse_data + 1 
+7cfa c0017d08 beq r_key ,usb_tx_mac_boot_ms_regroup_r_or_lrkey 
+7cfb c001fd08 beq lr_key ,usb_tx_mac_boot_ms_regroup_r_or_lrkey 
+7cfc 6fe08c00 fetch 1 ,mem_usb_mouse_data + 1 
+7cfd 67e08bff store 1 ,mem_usb_mouse_data 
+7cfe 6fe08c01 fetch 1 ,mem_usb_mouse_data + 2 
+7cff e7e08005 istore 1 ,contw 
+7d00 6fe08c03 fetch 1 ,mem_usb_mouse_data + 4 
+7d01 e7e08005 istore 1 ,contw 
+7d02 6fe08c05 fetch 1 ,mem_usb_mouse_data + 6 
+7d03 e7e08005 istore 1 ,contw 
+7d04 df200004 arg 4 ,loopcnt 
+7d05 d8c00bff arg mem_usb_mouse_data ,contr 
+7d06 20207cc5 branch usb_tx_ep2 
+
+usb_tx_ms_data_normal_mode:
+7d07 700bf800 jam 0 ,mem_usb_ep2_data 
+
+usb_tx_mac_boot_ms_regroup_r_or_lrkey:
+7d08 df200008 arg 8 ,loopcnt 
+7d09 d8c00bff arg mem_usb_mouse_data ,contr 
+7d0a 20207cc5 branch usb_tx_ep2 
+
+usb_tx_kb_multikey_data:
+7d0b 700bf800 jam 0 ,mem_usb_ep2_data 
+7d0c df200003 arg 3 ,loopcnt 
+7d0d d8c00c1f arg mem_usb_kb_multikey ,contr 
+7d0e 20207cc5 branch usb_tx_ep2 
+
+usb_tx_kb_normal_data:
+7d0f 700bf700 jam 0 ,mem_usb_ep1_data 
+7d10 df200008 arg 8 ,loopcnt 
+7d11 d8c00c0f arg mem_usb_kb_data ,contr 
+7d12 20207cb9 branch usb_tx_ep1 
+
+usb_tx_kb_systemkey_data:
+7d13 700bf800 jam 0 ,mem_usb_ep2_data 
+7d14 df200002 arg 2 ,loopcnt 
+7d15 d8c00c2f arg mem_usb_kb_system ,contr 
+7d16 20207cc5 branch usb_tx_ep2 
+
+usb_inwake_state_tx_dispose:
+7d17 6fe08bec fetch 1 ,mem_usb_state 
+7d18 c0017d1a beq usb_connected ,usb_mac_wakeup_trig 
+7d19 20600000 rtn 
+
+usb_mac_wakeup_trig:
+7d1a 6ff08c00 fetch 1 ,core_usb_config 
+7d1b 79207e07 set1 7 ,pdata 
+7d1c 67f08c00 store 1 ,core_usb_config 
+7d1d 700bfc01 jam 1 ,mem_usb_mac_wakeup_trig 
+7d1e 20600000 rtn 
+
+usb_mac_wakeup_judge:
+7d1f 6fe08bec fetch 1 ,mem_usb_state 
+7d20 c1018000 rtneq usb_sleep 
+7d21 c0017d23 beq usb_connected ,usb_mac_wakeup 
+7d22 20600000 rtn 
+
+usb_mac_wakeup:
+7d23 6fe08bfc fetch 1 ,mem_usb_mac_wakeup_trig 
+7d24 207a0000 rtn blank 
+7d25 700bfb01 jam 1 ,mem_usb_wakestate_onetime_flag 
+7d26 20207d2a branch usb_wakeup 
+
+usb_windows_wakeup:
+7d27 d8e0000f arg timer_wakeup ,queue 
+7d28 20407de9 call timer_check 
+7d29 247a0000 nrtn blank 
+
+usb_wakeup:
+7d2a 6ff08c00 fetch 1 ,core_usb_config 
+7d2b c4038000 rtnbit0 7 
+7d2c 708c00fc jam 0xfc ,core_usb_config 
+7d2d 20007530 nop 30000 
+7d2e 708c003c jam 0x3c ,core_usb_config 
+7d2f 20600000 rtn 
+
+right_shift_n:
+7d30 1f267c00 sub loopcnt ,0 ,null 
+7d31 20628000 rtn zero 
+
+right_shift_n_loop:
+7d32 1fe37e00 rshift pdata ,pdata 
+7d33 c2007d32 loop right_shift_n_loop 
+7d34 20600000 rtn 
+
+left_shift_n:
+7d35 18007e01 force 1 ,pdata 
+7d36 1f267c00 sub loopcnt ,0 ,null 
+7d37 20628000 rtn zero 
+
+left_shift_n_loop:
+7d38 1fe3fe00 lshift pdata ,pdata 
+7d39 c2007d38 loop left_shift_n_loop 
+7d3a 20600000 rtn 
+
+push_stack:
+7d3b 60a1097d storer contw ,2 ,mem_contw 
+7d3c 604c0964 storet 8 ,mem_temp 
+7d3d 6162096c storer timeup ,4 ,mem_timeup 
+7d3e 20407d43 call push_stack_rega_b_c 
+7d3f 60c1097b storer contr ,2 ,mem_contr 
+7d40 67210987 storer loopcnt ,2 ,mem_loopcnt 
+7d41 60e10985 storer queue ,2 ,mem_queue 
+7d42 20600000 rtn 
+
+push_stack_rega_b_c:
+7d43 62220970 storer rega ,4 ,mem_rega 
+7d44 62420974 storer regb ,4 ,mem_regb 
+7d45 62618978 storer regc ,3 ,mem_regc 
+7d46 20600000 rtn 
+
+pop_stack:
+7d47 6fe1097d fetch 2 ,mem_contw 
+7d48 98000a00 iforce contw 
+7d49 684c0964 fetcht 8 ,mem_temp 
+7d4a 6962096c fetchr timeup ,4 ,mem_timeup 
+7d4b 20407d51 call pop_stack_rega_b_c 
+7d4c 6f210987 fetchr loopcnt ,2 ,mem_loopcnt 
+7d4d 68e10985 fetchr queue ,2 ,mem_queue 
+7d4e 6fe1097b fetch 2 ,mem_contr 
+7d4f 98000c00 iforce contr 
+7d50 20600000 rtn 
+
+pop_stack_rega_b_c:
+7d51 6a220970 fetchr rega ,4 ,mem_rega 
+7d52 6a420974 fetchr regb ,4 ,mem_regb 
+7d53 6a618978 fetchr regc ,3 ,mem_regc 
+7d54 20600000 rtn 
+
+get_contw:
+7d55 6fe1097d fetch 2 ,mem_contw 
+7d56 1fe20a00 copy pdata ,contw 
+7d57 20600000 rtn 
+
+get_contr:
+7d58 6fe1097b fetch 2 ,mem_contr 
+7d59 1fe20c00 copy pdata ,contr 
+7d5a 20600000 rtn 
+
+store_contw:
+7d5b 18a27e00 copy contw ,pdata 
+7d5c 67e1097d store 2 ,mem_contw 
+7d5d 20600000 rtn 
+
+store_contr:
+7d5e 18c27e00 copy contr ,pdata 
+7d5f 67e1097b store 2 ,mem_contr 
+7d60 20600000 rtn 
+
+save_cont_pointers:
+7d61 18a27e00 copy contw ,pdata 
+7d62 67e10959 store 2 ,mem_hold_contw 
+7d63 18c27e00 copy contr ,pdata 
+7d64 67e10957 store 2 ,mem_hold_contr 
+7d65 20600000 rtn 
+
+load_cont_pointers:
+7d66 6fe10959 fetch 2 ,mem_hold_contw 
+7d67 1fe20a00 copy pdata ,contw 
+7d68 6fe10957 fetch 2 ,mem_hold_contr 
+7d69 1fe20c00 copy pdata ,contr 
+7d6a 20600000 rtn 
+
+get_diff:
+7d6b 98462200 isub temp ,rega 
+7d6c 20610000 rtn positive 
+7d6d da200100 arg 0x100 ,rega 
+7d6e 9a20fe00 iadd rega ,pdata 
+7d6f 98462200 isub temp ,rega 
+7d70 20600000 rtn 
+
+memcpy96:
+7d71 20407d7d call memcpy32 
+
+memcpy64:
+7d72 20407d7d call memcpy32 
+7d73 20207d7d branch memcpy32 
+
+memcpy20:
+7d74 20407d79 call memcpy8 
+
+memcpy12:
+7d75 20407d79 call memcpy8 
+
+memcpy4:
+7d76 efe20006 ifetch 4 ,contr 
+7d77 e7e20005 istore 4 ,contw 
+7d78 20600000 rtn 
+
+memcpy8:
+7d79 efe40006 ifetch 8 ,contr 
+7d7a e7e40005 istore 8 ,contw 
+7d7b 20600000 rtn 
+
+memcpy48:
+7d7c 20407d7f call memcpy16 
+
+memcpy32:
+7d7d 20407d79 call memcpy8 
+
+memcpy24:
+7d7e 20407d79 call memcpy8 
+
+memcpy16:
+7d7f 20407d79 call memcpy8 
+7d80 20207d79 branch memcpy8 
+
+delay:
+7d81 1fe0ffff increase -1 ,pdata 
+7d82 20000026 nop 38 
+7d83 243a7d81 nbranch delay ,blank 
+7d84 20600000 rtn 
+
+delay_10ms:
+7d85 df20000a arg 10 ,loopcnt 
+
+delay_ms_wait:
+7d86 20002ee0 nop 12000 
+7d87 c2007d86 loop delay_ms_wait 
+7d88 20600000 rtn 
+
+delay_50ms:
+7d89 df200032 arg 50 ,loopcnt 
+7d8a 20207d86 branch delay_ms_wait 
+
+bn_zero:
+7d8b 18007203 force 3 ,loopcnt 
+
+memset0:
+7d8c 18007e00 force 0 ,pdata 
+
+memset8:
+7d8d e7e40005 istore 8 ,contw 
+7d8e c2007d8d loop memset8 
+7d8f 20600000 rtn 
+
+memset0_16:
+7d90 20407d91 call memset0_8 
+
+memset0_8:
+7d91 18007e00 force 0 ,pdata 
+7d92 e7e40005 istore 8 ,contw 
+7d93 20600000 rtn 
+
+memset0_4:
+7d94 18007e00 force 0 ,pdata 
+7d95 e7e20005 istore 4 ,contw 
+7d96 20600000 rtn 
+
+clear_mem_256:
+7d97 18007204 force 4 ,loopcnt 
+7d98 20207d8c branch memset0 
+
+clear_mem_512:
+7d99 18007208 force 8 ,loopcnt 
+7d9a 20207d8c branch memset0 
+
+clear_mem:
+7d9b 1f227e00 deposit loopcnt 
+7d9c 207a0000 rtn blank 
+7d9d 58000000 setarg 0 
+
+clear_mem_loop:
+7d9e e7e08005 istore 1 ,contw 
+7d9f c2007d9e loop clear_mem_loop 
+7da0 20600000 rtn 
+
+clear_temp_block:
+7da1 df200020 arg 32 ,loopcnt 
+7da2 d8a0098e arg mem_temp_block0 ,contw 
+7da3 20207d9b branch clear_mem 
+
+xor_loop:
+7da4 efe20013 ifetch 4 ,regc 
+7da5 e8420011 ifetcht 4 ,rega 
+7da6 9842fe00 ixor temp ,pdata 
+7da7 e7e20005 istore 4 ,contw 
+7da8 1a20a204 increase 4 ,rega 
+7da9 1a60a604 increase 4 ,regc 
+7daa c2007da4 loop xor_loop 
+7dab 20600000 rtn 
+
+inverse_data:
+7dac 474a4032 bpatchx patch32_4 ,mem_patch32 
+7dad 1f227e00 copy loopcnt ,pdata 
+7dae 1fe67c01 sub pdata ,1 ,null 
+7daf 20610000 rtn positive 
+7db0 9a20a400 iadd rega ,regb 
+7db1 1a40a5ff increase -1 ,regb 
+7db2 1f237200 rshift loopcnt ,loopcnt 
+
+inverse_loop:
+7db3 e8408011 ifetcht 1 ,rega 
+7db4 efe08012 ifetch 1 ,regb 
+7db5 e7e08011 istore 1 ,rega 
+7db6 e0408012 istoret 1 ,regb 
+7db7 1a40a5ff increase -1 ,regb 
+7db8 1a20a201 increase 1 ,rega 
+7db9 c2007db3 loop inverse_loop 
+7dba 20600000 rtn 
+
+le2be_6byte:
+
+inverse_data_6byte:
+7dbb 1fef0400 rshift32 pdata ,temp 
+7dbc 20407dc1 call inverse_data_4byte 
+7dbd 18508400 byteswap temp ,temp 
+7dbe 1ff07e00 lshift16 pdata ,pdata 
+7dbf 9841fe00 ior temp ,pdata 
+7dc0 20600000 rtn 
+
+le2be_4byte:
+
+inverse_data_4byte:
+7dc1 1ff10c00 rshift16 pdata ,contr 
+7dc2 18d08c00 byteswap contr ,contr 
+7dc3 1ff0fe00 byteswap pdata ,pdata 
+7dc4 1ff07e00 lshift16 pdata ,pdata 
+7dc5 98c1fe00 ior contr ,pdata 
+7dc6 20600000 rtn 
+
+memcpy_fast:
+7dc7 1f227e00 deposit loopcnt 
+7dc8 207a0000 rtn blank 
+
+memcpy_fast_loop:
+7dc9 1f20f3f8 increase -8 ,loopcnt 
+7dca 20417d79 call memcpy8 ,positive 
+7dcb 20628000 rtn zero 
+7dcc 20217dc9 branch memcpy_fast_loop ,positive 
+7dcd 1f20f208 increase 8 ,loopcnt 
+
+memcpy_fast_loop_four:
+7dce 1f20f3fc increase -4 ,loopcnt 
+7dcf 20417d76 call memcpy4 ,positive 
+7dd0 20628000 rtn zero 
+7dd1 20217dce branch memcpy_fast_loop_four ,positive 
+7dd2 1f20f204 increase 4 ,loopcnt 
+7dd3 20207dd4 branch memcpy 
+
+memcpy:
+7dd4 1f227e00 deposit loopcnt 
+7dd5 207a0000 rtn blank 
+
+memcpy_loop:
+7dd6 efe08006 ifetch 1 ,contr 
+7dd7 e7e08005 istore 1 ,contw 
+7dd8 c2007dd6 loop memcpy_loop 
+7dd9 20600000 rtn 
+
+timer_stop:
+7dda 58000000 setarg 0 
+
+timer_init:
+7ddb 1c430400 rshift clkn_bt ,temp 
+7ddc 604a409c storet 4 ,mem_last_clkn 
+7ddd d8a041aa arg mem_timers ,contw 
+7dde 98000400 iforce temp 
+7ddf 18e3fe00 lshift queue ,pdata 
+7de0 98a08a00 iadd contw ,contw 
+7de1 e0410005 istoret 2 ,contw 
+7de2 474ac032 bpatchx patch32_5 ,mem_patch32 
+7de3 20600000 rtn 
+
+timer_check_timeout:
+7de4 d9600800 arg 0x800 ,timeup 
+7de5 19701600 lshift16 timeup ,timeup 
+7de6 9960fe00 iadd timeup ,pdata 
+7de7 20600000 rtn 
+
+timer_reinit:
+7de8 d8e00000 arg 0 ,queue 
+
+timer_check:
+7de9 474b4032 bpatchx patch32_6 ,mem_patch32 
+7dea 684a409c fetcht 4 ,mem_last_clkn 
+7deb 1c437e00 rshift clkn_bt ,pdata 
+7dec 67e2409c store 4 ,mem_last_clkn 
+7ded 98467c00 isub temp ,null 
+7dee 24417de4 ncall timer_check_timeout ,positive 
+7def 98461600 isub temp ,timeup 
+7df0 19620400 copy timeup ,temp 
+7df1 d8c041aa arg mem_timers ,contr 
+7df2 18c20a00 copy contr ,contw 
+7df3 df200010 arg 16 ,loopcnt 
+
+timer_loop:
+7df4 efe10006 ifetch 2 ,contr 
+7df5 98467e00 isub temp ,pdata 
+7df6 20217df8 branch timer_counting ,positive 
+7df7 18007e00 force 0 ,pdata 
+
+timer_counting:
+7df8 e7e10005 istore 2 ,contw 
+7df9 c2007df4 loop timer_loop 
+7dfa d8c041aa arg mem_timers ,contr 
+7dfb 18e3fe00 lshift queue ,pdata 
+7dfc 98c08c00 iadd contr ,contr 
+7dfd efe10006 ifetch 2 ,contr 
+7dfe 20600000 rtn 
+
+clk_add:
+7dff 98408400 iadd temp ,temp 
+7e00 18427200 copy temp ,loopcnt 
+7e01 6fe10163 fetch 2 ,mem_param_rt_rthalfslot 
+7e02 9f267e00 isub loopcnt ,pdata 
+7e03 20610000 rtn positive 
+7e04 1fe67e00 sub pdata ,0 ,pdata 
+7e05 18510400 rshift16 temp ,temp 
+7e06 18408401 increase 1 ,temp 
+7e07 18500400 lshift16 temp ,temp 
+7e08 98418400 ior temp ,temp 
+7e09 20600000 rtn 
+
+clk_diff_rt:
+7e0a 20407e0c call clk_diff 
+7e0b 20207e19 branch clk2rt 
+
+clk_diff:
+7e0c 78547c00 disable user 
+7e0d 98467e00 isub temp ,pdata 
+7e0e 20217e11 branch clk_diff_pos ,positive 
+7e0f 78347c00 enable user 
+7e10 1fe67e00 sub pdata ,0 ,pdata 
+
+clk_diff_pos:
+7e11 c4078000 rtnbit0 15 
+7e12 1fe22800 copy pdata ,regab 
+7e13 d8410000 arg 0x10000 ,temp 
+7e14 6fe10163 fetch 2 ,mem_param_rt_rthalfslot 
+7e15 98467e00 isub temp ,pdata 
+7e16 9a80fe00 iadd regab ,pdata 
+7e17 793ffe40 set0 64 ,pdata 
+7e18 20600000 rtn 
+
+clk2rt:
+7e19 68490163 fetcht 2 ,mem_param_rt_rthalfslot 
+7e1a 98000c00 iforce contr 
+7e1b 1ff17e00 rshift16 pdata ,pdata 
+7e1c 984ffe00 imul32 temp ,pdata 
+7e1d 98c0fe00 iadd contr ,pdata 
+7e1e 20600000 rtn 
+
+clk2lpo:
+7e1f 1fed7e00 lshift8 pdata ,pdata 
+7e20 1ff27e00 lshift4 pdata ,pdata 
+7e21 6849c174 fetcht 3 ,mem_clks_per_lpo 
+7e22 9846fc00 idiv temp 
+7e23 20407e64 call wait_div_end 
+7e24 18078400 quotient temp 
+7e25 20600000 rtn 
+
+clk2bt:
+7e26 68490163 fetcht 2 ,mem_param_rt_rthalfslot 
+7e27 9846fc00 idiv temp 
+7e28 20407e61 call get_div_result 
+7e29 1ff07e00 lshift16 pdata ,pdata 
+7e2a 18070400 remainder temp 
+7e2b 98418400 ior temp ,temp 
+7e2c 20600000 rtn 
+
+string2dec_from_uart:
+7e2d d8400000 arg 0 ,temp 
+
+string2dec_from_uart_done:
+7e2e 18422800 copy temp ,regab 
+7e2f efe08003 ifetch 1 ,contu 
+7e30 20407e39 call uchar2dialog 
+7e31 1a820400 copy regab ,temp 
+7e32 20407e73 call swap 
+7e33 da40000a arg 10 ,regb 
+7e34 9a4ffe00 imul32 regb ,pdata 
+7e35 9840fe00 iadd temp ,pdata 
+7e36 1fe20400 copy pdata ,temp 
+7e37 c2007e2e loop string2dec_from_uart_done 
+7e38 20600000 rtn 
+
+uchar2dialog:
+7e39 d840003a arg 0x3a ,temp 
+7e3a 98467c00 isub temp ,null 
+7e3b 24217e42 nbranch uchar2dialog_number ,positive 
+7e3c d8400061 arg 0x61 ,temp 
+7e3d 98467c00 isub temp ,null 
+7e3e 20217e45 branch uchar2dialog_a2f ,positive 
+7e3f d8400037 arg 0x37 ,temp 
+7e40 98467e00 isub temp ,pdata 
+7e41 20600000 rtn 
+
+uchar2dialog_number:
+7e42 d8400030 arg 0x30 ,temp 
+7e43 98467e00 isub temp ,pdata 
+7e44 20600000 rtn 
+
+uchar2dialog_a2f:
+7e45 d8400057 arg 0x57 ,temp 
+7e46 98467e00 isub temp ,pdata 
+7e47 20600000 rtn 
+
+pn9:
+7e48 18426000 copy temp ,alarm 
+7e49 580001ff setarg 0x1ff 
+7e4a 18002400 force 0 ,regb 
+
+pn9_loop:
+7e4b 1fe92200 rshift3 pdata ,rega 
+7e4c 1a232200 rshift rega ,rega 
+7e4d 9a22a200 ixor rega ,rega 
+7e4e 2a2ffe00 isolate1 0 ,rega 
+7e4f 7920fe09 setflag true ,9 ,pdata 
+7e50 18430400 rshift temp ,temp 
+7e51 2feffe00 isolate1 0 ,pdata 
+7e52 79208407 setflag true ,7 ,temp 
+7e53 1fe37e00 rshift pdata ,pdata 
+7e54 1a40a401 increase 1 ,regb 
+7e55 2a400e00 compare 0 ,regb ,0x7 
+7e56 2420fe4b nbranch pn9_loop ,true 
+7e57 e0408005 istoret 1 ,contw 
+7e58 c2007e4b loop pn9_loop 
+7e59 1e020400 copy alarm ,temp 
+7e5a 20600000 rtn 
+
+calc_average:
+7e5b 58000000 setarg 0 
+7e5c 1f222200 copy loopcnt ,rega 
+
+calc_average_loop:
+7e5d e8410006 ifetcht 2 ,contr 
+7e5e 9840fe00 iadd temp ,pdata 
+7e5f c2007e5d loop calc_average_loop 
+7e60 9a26fc00 idiv rega 
+
+get_div_result:
+7e61 20407e64 call wait_div_end 
+7e62 1807fe00 quotient pdata 
+7e63 20600000 rtn 
+
+wait_div_end:
+7e64 207a8000 rtn modone 
+7e65 20207e64 branch wait_div_end 
+
+compare_loop:
+
+string_compare:
+7e66 efe08011 ifetch 1 ,rega 
+7e67 e8408012 ifetcht 1 ,regb 
+7e68 98467c00 isub temp ,null 
+7e69 24628000 nrtn zero 
+7e6a 1a20a201 increase 1 ,rega 
+7e6b 1a40a401 increase 1 ,regb 
+7e6c c2007e66 loop string_compare 
+7e6d 18007c00 force 0 ,null 
+7e6e 20600000 rtn 
+
+ceiling:
+7e6f 98467c00 isub temp ,null 
+7e70 24610000 nrtn positive 
+7e71 18427e00 deposit temp 
+7e72 20600000 rtn 
+
+swap:
+7e73 9840fe00 iadd temp ,pdata 
+7e74 98460400 isub temp ,temp 
+7e75 98467e00 isub temp ,pdata 
+7e76 20600000 rtn 
+
+clean_mem:
+7e77 df200200 arg 0x200 ,loopcnt 
+7e78 d8a04000 arg 0x4000 ,contw 
+7e79 20207d8c branch memset0 
+
+callback_func:
+7e7a 207a0000 rtn blank 
+7e7b 1fe27a00 copy pdata ,pc 
+
+wait_uarttx:
+7e7c 6ff1010e fetch 2 ,core_uart_txitems 
+7e7d 243a7e7c nbranch wait_uarttx ,blank 
+7e7e 20600000 rtn 
+
+ice_break:
+7e7f 70820301 jam 0x1 ,core_ice_ctrl 
+7e80 20600000 rtn 
+
+ice_setbp:
+7e81 67f10205 store 2 ,core_ice_break0 
+7e82 6ff08203 fetch 1 ,core_ice_ctrl 
+7e83 79207e04 set1 4 ,pdata 
+7e84 67f08203 store 1 ,core_ice_ctrl 
+7e85 20600000 rtn 
+
+ice_setbp2:
+7e86 67f10207 store 2 ,core_ice_break1 
+7e87 6ff08203 fetch 1 ,core_ice_ctrl 
+7e88 79207e06 set1 6 ,pdata 
+7e89 67f08203 store 1 ,core_ice_ctrl 
+7e8a 20600000 rtn 
+
+ice_set_write_bp:
+7e8b 67f10205 store 2 ,core_ice_break0 
+7e8c 70820330 jam 0x30 ,core_ice_ctrl 
+7e8d 20600000 rtn 
+
+test_enable_white:
+7e8e 6ff08043 fetch 1 ,core_config 
+7e8f 793ffe04 set0 whiteoff_bit ,pdata 
+7e90 67f08043 store 1 ,core_config 
+7e91 20600000 rtn 
+
+check_uart_tx_buff:
+7e92 6ff1010e fetch 2 ,core_uart_txitems 
+7e93 d8400200 arg uart_air_control_threshold ,temp 
+
+pdata_sub_temp:
+7e94 98467c00 isub temp ,null 
+7e95 20600000 rtn 
+
+fifo_in:
+7e96 474bc032 bpatchx patch32_7 ,mem_patch32 
+7e97 e8440011 ifetcht util_fifo_len ,rega 
+7e98 18417eff and temp ,0xff ,pdata 
+7e99 243a7e9c nbranch fifo_in_push ,blank 
+7e9a 184cfe00 rshift8 temp ,pdata 
+7e9b e7e40011 istore util_fifo_len ,rega 
+
+fifo_in_push:
+7e9c 1a20a207 increase util_fifo_len + util_fifo_offset ,rega 
+7e9d efe08011 ifetch 1 ,rega 
+7e9e 243a137c nbranch assert ,blank 
+7e9f 6fe0895b fetch 1 ,mem_fifo_temp 
+7ea0 e7e08011 istore 1 ,rega 
+7ea1 20600000 rtn 
+
+fifo_out:
+7ea2 474c4033 bpatchx patch33_0 ,mem_patch33 
+7ea3 df200008 arg util_fifo_len ,loopcnt 
+7ea4 efe40011 ifetch util_fifo_len ,rega 
+7ea5 207a0000 rtn blank 
+
+fifo_out_loop:
+7ea6 efe08011 ifetch 1 ,rega 
+7ea7 243a7eab nbranch fifo_out_end ,blank 
+7ea8 1a20a201 increase 1 ,rega 
+7ea9 c2007ea6 loop fifo_out_loop 
+7eaa 2020137c branch assert 
+
+fifo_out_end:
+7eab d8400000 arg 0 ,temp 
+7eac e0408011 istoret 1 ,rega 
+7ead 20600000 rtn 
+
+fifo_is_empty:
+7eae efe40011 ifetch util_fifo_len ,rega 
+7eaf 20600000 rtn 
+
+fifo_is_full:
+7eb0 efe08011 ifetch 1 ,rega 
+7eb1 20600000 rtn 
+
+fifo_is_near_full:
+7eb2 efe10011 ifetch 2 ,rega 
+7eb3 20600000 rtn 
+
+fifo_content_count:
+7eb4 d8400000 arg 0 ,temp 
+
+fifo_content_count_loop:
+7eb5 6fe08006 fetch 1 ,contr 
+7eb6 c2007eb5 loop fifo_content_count_loop ,blank 
+7eb7 18408401 increase 1 ,temp 
+7eb8 c2007eb5 loop fifo_content_count_loop 
+7eb9 18427e00 copy temp ,pdata 
+7eba 20600000 rtn 
+
+not_greater_than:
+7ebb 98467c00 isub temp ,null 
+7ebc 24610000 nrtn positive 
+
+copy_temp2pdata:
+7ebd 18427e00 copy temp ,pdata 
+7ebe 20600000 rtn 
+
+disable_positive:
+7ebf 18007dff force -1 ,null 
+7ec0 20600000 rtn 
+
+enable_positive:
+
+disable_zero:
+7ec1 18007c01 force 1 ,null 
+7ec2 20600000 rtn 
+
+enable_zero:
+7ec3 18007c00 force 0 ,null 
+7ec4 20600000 rtn 
+
+enable_user:
+7ec5 78347c00 enable user 
+7ec6 20600000 rtn 
+
+disable_user:
+7ec7 78547c00 disable user 
+7ec8 20600000 rtn 
+
+enable_user2:
+7ec9 78367c00 enable user2 
+7eca 20600000 rtn 
+
+disable_user2:
+7ecb 78567c00 disable user2 
+7ecc 20600000 rtn 
+
+enable_user7:
+7ecd 7838fc00 enable user7 
+7ece 20600000 rtn 
+
+disable_blank:
+7ecf 58000001 setarg 1 
+7ed0 20600000 rtn 
+
+enable_blank:
+
+set_pdata_0:
+7ed1 58000000 setarg 0 
+7ed2 20600000 rtn 
+
+cal_sum:
+7ed3 1f267c00 sub loopcnt ,0 ,null 
+7ed4 20628000 rtn zero 
+
+cal_sum_loop:
+7ed5 e8408006 ifetcht 1 ,contr 
+7ed6 9840fe00 iadd temp ,pdata 
+7ed7 c2007ed5 loop cal_sum_loop 
+7ed8 20600000 rtn 
+
+reverse_byte:
+7ed9 1f227e00 copy loopcnt ,pdata 
+7eda 207a0000 rtn blank 
+7edb 18c27e00 copy contr ,pdata 
+7edc 9f20fe00 iadd loopcnt ,pdata 
+7edd 1fe0ffff increase -1 ,pdata 
+7ede 1fe20c00 copy pdata ,contr 
+
+reverse_loop:
+7edf efe08006 ifetch 1 ,contr 
+7ee0 18c08dfe increase -2 ,contr 
+7ee1 e7e08005 istore 1 ,contw 
+7ee2 c2007edf loop reverse_loop 
+7ee3 20600000 rtn 
+
+calc_k12:
+7ee4 19622400 copy timeup ,regb 
+
+calc_k:
+7ee5 da609420 arg mem_local_sig ,regc 
+7ee6 18007224 force 36 ,loopcnt 
+7ee7 18005600 force 0 ,rege 
+7ee8 18006e00 force 0 ,regf 
+
+rxcal_k1_loop:
+7ee9 20407ef9 call complex_mult16to8 
+7eea 52207e00 preload rega 
+7eeb 9d60d600 iadd rege ,rege 
+7eec 50407e00 preload temp 
+7eed 9ee0ee00 iadd regf ,regf 
+7eee 1a40a404 increase 4 ,regb 
+7eef 1a60a602 increase 2 ,regc 
+7ef0 c2007ee9 loop rxcal_k1_loop 
+7ef1 55607e00 preload rege 
+7ef2 d8400024 arg 36 ,temp 
+7ef3 20407f45 call signed_div 
+7ef4 e7e20005 istore 4 ,contw 
+7ef5 56e07e00 preload regf 
+7ef6 20407f45 call signed_div 
+7ef7 e7e20005 istore 4 ,contw 
+7ef8 20600000 rtn 
+
+complex_mult16to8:
+7ef9 edc10012 ifetchr nap ,2 ,regb 
+7efa eb808013 ifetchr fhs_misc ,1 ,regc 
+7efb 20407f2a call signed_ext16by8 
+7efc 98482200 imults temp ,rega 
+7efd eb808006 ifetchr fhs_misc ,1 ,contr 
+7efe 20347f00 branch complex_not_conj ,user 
+7eff 1b863800 sub fhs_misc ,0 ,fhs_misc 
+
+complex_not_conj:
+7f00 1a408c02 add regb ,2 ,contr 
+7f01 edc10006 ifetchr nap ,2 ,contr 
+7f02 20407f2a call signed_ext16by8 
+7f03 98483000 imults temp ,regd 
+7f04 52207e00 preload rega 
+7f05 9b062200 isub regd ,rega 
+7f06 edc10012 ifetchr nap ,2 ,regb 
+7f07 55c07e00 preload nap 
+7f08 98483000 imults temp ,regd 
+7f09 edc10006 ifetchr nap ,2 ,contr 
+7f0a eb808013 ifetchr fhs_misc ,1 ,regc 
+7f0b 20407f2a call signed_ext16by8 
+7f0c 98480400 imults temp ,temp 
+7f0d 53007e00 preload regd 
+7f0e 98408400 iadd temp ,temp 
+7f0f 20600000 rtn 
+
+complex_mult32to32:
+7f10 efe20012 ifetch 4 ,regb 
+7f11 ea220013 ifetchr rega ,4 ,regc 
+7f12 9a285600 imults rega ,rege 
+7f13 ea220006 ifetchr rega ,4 ,contr 
+7f14 52206e00 aligned rega ,regf 
+7f15 1a408c04 add regb ,4 ,contr 
+7f16 efe20006 ifetch 4 ,contr 
+7f17 9a280400 imults rega ,temp 
+7f18 55607e00 preload rege 
+7f19 98465600 isub temp ,rege 
+7f1a efe20012 ifetch 4 ,regb 
+7f1b 9ee86e00 imults regf ,regf 
+7f1c efe20006 ifetch 4 ,contr 
+7f1d ea220013 ifetchr rega ,4 ,regc 
+7f1e 9a287e00 imults rega ,pdata 
+7f1f 9ee0ee00 iadd regf ,regf 
+7f20 20600000 rtn 
+
+lshift14:
+7f21 1ff07e00 lshift16 pdata ,pdata 
+
+rshift2:
+7f22 1feb7e00 rshift2 pdata ,pdata 
+7f23 20600000 rtn 
+
+lshift6:
+7f24 1fed7e00 lshift8 pdata ,pdata 
+7f25 20207f22 branch rshift2 
+
+calc_vok:
+7f26 9feffe00 imul32 pdata ,pdata 
+
+rshift7:
+7f27 1ff1fe00 rshift4 pdata ,pdata 
+7f28 1fe97e00 rshift3 pdata ,pdata 
+7f29 20600000 rtn 
+
+signed_ext16by8:
+7f2a 55c07e00 preload nap 
+7f2b 53800400 aligned fhs_misc ,temp 
+7f2c 20600000 rtn 
+
+abs32:
+7f2d c40f8000 rtnbit0 31 
+7f2e 18000400 force 0 ,temp 
+7f2f 79200420 set1 32 ,temp 
+7f30 184085ff increase -1 ,temp 
+7f31 9842fe00 ixor temp ,pdata 
+7f32 1fe0fe01 pincrease 1 
+7f33 20600000 rtn 
+
+sqrt:
+7f34 98002200 iforce rega 
+7f35 db000000 arg 0 ,regd 
+7f36 7920301e set1 30 ,regd 
+7f37 da400000 arg 0 ,regb 
+7f38 df200010 arg 16 ,loopcnt 
+
+sqrt_loop:
+7f39 1b027e00 deposit regd 
+7f3a 9a40fe00 iadd regb ,pdata 
+7f3b 1a432400 rshift regb ,regb 
+7f3c 9a267e00 isub rega ,pdata 
+7f3d 2022ff3f branch sqrt_less ,zero 
+7f3e 20217f42 branch sqrt_greater ,positive 
+
+sqrt_less:
+7f3f 1fe62200 sub pdata ,0 ,rega 
+7f40 1b027e00 deposit regd 
+7f41 9a41a400 ior regb ,regb 
+
+sqrt_greater:
+7f42 1b0b3000 rshift2 regd ,regd 
+7f43 c2007f39 loop sqrt_loop 
+7f44 20600000 rtn 
+
+signed_div:
+7f45 793f802c set0 mark_temp ,mark 
+7f46 c31fff49 bbit0 63 ,signed_div_unsigna 
+7f47 7920002c set1 mark_temp ,mark 
+7f48 1fe67e00 sub pdata ,0 ,pdata 
+
+signed_div_unsigna:
+7f49 284c003f isolate0 63 ,temp 
+7f4a 2020ff4d branch signed_div_unsignb ,true 
+7f4b 7940002c setflip mark_temp ,mark 
+7f4c 18460400 sub temp ,0 ,temp 
+
+signed_div_unsignb:
+7f4d 9846fc00 idiv temp 
+7f4e 20407e61 call get_div_result 
+7f4f c6960000 rtnmark0 mark_temp 
+7f50 1fe67e00 sub pdata ,0 ,pdata 
+7f51 20600000 rtn 
+
+clear_wake:
+7f52 58000000 setarg 0 
+7f53 79207e13 set1 19 ,pdata 
+7f54 67e4009e store 8 ,mem_gpio_wakeup_low 
+7f55 20600000 rtn 
+
Index: output/ramcode.rom
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/output/ramcode.rom	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/output/ramcode.rom	(working copy)
@@ -0,0 +1,42 @@
+c0000004
+c0458023
+c0730016
+2020137e
+20800000
+20400007
+20200804
+20403166
+6fe0c09a
+c004800b
+20600000
+58000640
+67e147b5
+58000640
+67e147b7
+20758000
+58000002
+67e147f5
+67e147fa
+58010210
+67e1c354
+20600000
+20404c25
+6fe0c7e1
+c0004b4a
+6fe0c7e2
+67e0c793
+58000000
+20404c3c
+70478601
+20407826
+20407830
+6fe08989
+c3014c48
+20204c39
+20406e5e
+7047da04
+7047dc0b
+708a0e0b
+708a0f05
+708a8390
+20201252
Index: output/romcode.rom
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/output/romcode.rom	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/output/romcode.rom	(working copy)
@@ -0,0 +1,30720 @@
+204013e1
+44804000
+20800000
+20403166
+20401246
+20405e33
+20401386
+20404e25
+4480c000
+20406323
+204053df
+2040781f
+20403150
+44814000
+2055b15d
+20406f0f
+20406f31
+20559484
+4481c000
+204070d7
+20407602
+20406f12
+20401b3f
+20400838
+2040317b
+44824000
+20400890
+20400b05
+20400b77
+20400821
+2040217e
+204014ac
+20200812
+20400826
+c6848000
+793f8009
+20400a30
+2020165e
+4482c000
+20400a6b
+2422882f
+20400a17
+1a208c01
+efe08006
+c28015cb
+c2808969
+20200bdc
+20400a38
+1f227c00
+20628000
+20400a17
+6fe08030
+c28188d3
+6fe08031
+c2808969
+20200bdc
+6fe0c1db
+207a0000
+c0008848
+c001084d
+c0018850
+c0028855
+c00d8845
+20400a64
+20628000
+20400a67
+20628000
+7041db00
+20600000
+7002e01b
+7041db00
+20600000
+7920001c
+793f801e
+70008cff
+70008a1f
+20200843
+793f801c
+18003600
+20200843
+20400a67
+20628000
+18000401
+7000bd05
+2020085c
+44834000
+6fe341dd
+20000001
+70478e01
+70005503
+2020085b
+18000425
+4483c000
+6fe080a7
+203a0862
+1fe9fe00
+1ff27e00
+1fe0ffff
+67e0c0ae
+67e080a6
+70008b1f
+793f800c
+20400a48
+24228884
+2040135f
+67e08077
+6048807c
+6fe341dd
+67e30040
+44844001
+20407de8
+6848807c
+18007e00
+2841fe01
+7d20fe05
+79207e03
+67e08030
+70095b03
+204078dc
+18007e00
+7920fe04
+67e0804c
+58000000
+79207e01
+67e08031
+7834fc00
+20400a30
+7854fc00
+18000e03
+6fe140c1
+20407ddb
+20200843
+4484c001
+6fe341dd
+67e30040
+2841fe01
+2020888a
+20200843
+d8a00a01
+df200008
+20407d8c
+70095b04
+204078dc
+20200843
+c68e0000
+18000e01
+20407de9
+7d3a001c
+243a0896
+20600000
+44854001
+684940c3
+18000e04
+20400f40
+20740000
+204010f6
+18004800
+20618000
+793f800b
+793f8000
+1c40c201
+280ffe1e
+7920c802
+2c200400
+242088bf
+4485c001
+6fe08012
+1fe0fe01
+67e08012
+2040112a
+20401124
+20401144
+20401340
+20401345
+20401353
+20400e7c
+204008b2
+2020089d
+44864001
+6fe0808a
+1fe0ffff
+67e0808a
+20610000
+70008a1f
+6fe0808c
+1fe0ffff
+67e0808c
+20610000
+7940001e
+70008cff
+20600000
+4486c001
+2040112a
+2040111e
+20401144
+2040134a
+204012d5
+204012fb
+202c08c9
+204008b2
+202008a0
+44874001
+2040127f
+2040135b
+20400d43
+793f8001
+c6858000
+6fe08013
+1fe0fe01
+67e08013
+20600000
+4487c001
+7834fc00
+78387c00
+6fe140bd
+203a08db
+18000e08
+20407de9
+247a0000
+44884002
+684940bf
+18000e28
+20400f40
+20340914
+18000e03
+20407de9
+243a08f0
+6fe0804c
+c28208e6
+202008e9
+d8a00a01
+df200008
+20407d8c
+4488c002
+70003000
+204053e0
+70478e00
+70095b13
+204078dc
+20200914
+44894002
+18001600
+34730200
+6fe080a8
+1fe0ffff
+9c42fe00
+2fe00600
+242088f0
+18827e00
+67e080e5
+18004c00
+18004800
+4489c002
+20218914
+2040112e
+69610157
+34730200
+448a4002
+6fe200a8
+98004200
+1fe0fe01
+67e200a8
+280ffe0c
+7920c802
+2c200400
+24208928
+6fe0800c
+1fe0fe01
+67e0800c
+20401124
+20401340
+20401345
+20401353
+20400e7c
+2040091a
+202008fc
+448ac002
+7854fc00
+6fe140bd
+207a0000
+18000e08
+20207ddb
+448b4002
+6fe0808b
+1fe0ffff
+67e0808b
+20610000
+70008b1f
+6fe080a6
+1fe0ffff
+67e080a6
+20610000
+7940000c
+6fe0c0ae
+67e080a6
+20600000
+448bc002
+2040111e
+2040134a
+204012d5
+204012fb
+202c0930
+2040091a
+20200901
+20400e7c
+6fe0800d
+1fe0fe01
+67e0800d
+18003600
+6fe200a8
+448c4003
+2040133e
+2040112e
+1cc0cc01
+1c2143fd
+1c8149fc
+20401124
+20401340
+20401345
+20401353
+1c427e00
+67e200b0
+18000800
+18000202
+2040135b
+20400f8a
+448cc003
+2040133c
+1c21c202
+1c8149fc
+2040111e
+2040134a
+204012d5
+204012fb
+204c0e7c
+202c0955
+6fe08010
+203a08fc
+1fe0ffff
+67e08010
+20200936
+448d4003
+6fe0800e
+1fe0fe01
+67e0800e
+20400c42
+79200033
+20400aff
+202c0961
+793f8033
+20400c62
+243a095a
+202008fc
+448dc003
+793f8033
+6fe08030
+793ffe03
+67e08030
+20400c4d
+7854fc00
+20600000
+448e4003
+7834fc00
+78387c00
+204009e3
+20740000
+2040133e
+1c40c201
+20401134
+18004803
+204065e1
+20400c96
+20401124
+20401340
+20401345
+20401353
+20400f86
+448ec003
+204053f2
+20400af1
+24368982
+20401378
+20400f4c
+6fe0800f
+1fe0fe01
+67e0800f
+448f4003
+204065c9
+2040098d
+24748000
+20400f1c
+243a098a
+7854fc00
+20600000
+20400c96
+20400ae7
+20200979
+20368990
+2040136f
+2021099e
+204009a9
+2434099e
+6fe0804c
+c4020000
+c3818000
+6fe0804b
+c3818000
+204009b0
+247a0000
+6fe080bd
+1fe0ffff
+67e080bd
+247a0000
+20205755
+448fc003
+20400c6a
+7854fc00
+6fe0804c
+c28209a4
+20600000
+6fe0804c
+c3818000
+d8a00a01
+df200008
+20207d8c
+44904004
+78347c00
+6fe0804b
+c4018000
+204009b0
+247a0000
+20207ec7
+6fe08072
+1fe0ffff
+67e08072
+20600000
+4490c004
+6fe08030
+c28389bd
+6fe08877
+203a09bd
+70087700
+70095b18
+204078dc
+202009bd
+44914004
+20400a61
+6fe08030
+79207e07
+67e08030
+7041ca01
+6fe08055
+c08b09c5
+20600000
+70087701
+6fe08030
+793ffe07
+67e08030
+20600000
+4491c004
+78547c00
+6fe10032
+d840ffff
+98467c00
+24628000
+6fe20034
+203809d5
+9d067e00
+202009d6
+9c467e00
+1fe67c04
+24610000
+18007e00
+67e10032
+20207ec5
+1fe20400
+604a0034
+44924004
+70464501
+5800ffff
+67e10032
+70007301
+20600000
+4492c004
+204009cb
+24740000
+78547c00
+70001120
+793f800b
+793f8031
+2040133e
+20400af3
+c50589f8
+20400c62
+243a09ea
+c5188a02
+44934004
+78547c00
+1c427e00
+67e240d1
+78387c00
+7834fc00
+70095b2a
+202078dc
+4493c004
+2040133c
+d8200010
+20400ae9
+79200031
+793f800b
+6fe08077
+98000800
+70001102
+202009ea
+6fe200b4
+1fe0fe08
+67e200b4
+78587c00
+7854fc00
+20401035
+20400c42
+44944005
+20400c89
+20368a0f
+20400c62
+243a0a09
+202009f0
+6fe08031
+793ffe01
+67e08031
+20401378
+2040105d
+78347c00
+70095b2b
+202078dc
+4494c005
+79200009
+1a227e00
+67e1001e
+18007258
+d8a00287
+1a208c01
+efe08006
+1a220c00
+c2807dd4
+d8a00030
+20407dd4
+78577c00
+6fe08077
+98000800
+70008801
+20348a29
+70008801
+6fe08030
+c4008000
+6fe08073
+67e08088
+6fe08074
+67e08089
+20600000
+44954005
+6fe1001e
+98000a00
+18007258
+d8c00287
+203b7dd4
+d8c00030
+20207dd4
+df200001
+68488015
+18408401
+2841fe01
+24208a3e
+d8400000
+60488015
+184ffe58
+da204040
+9a20a200
+efe08011
+c2808a46
+c3800000
+c3818000
+c2000a3a
+20600000
+4495c005
+da600a77
+20400a6e
+24628000
+1a227e00
+67e1001e
+18007c00
+20600000
+20400f49
+20208a58
+6fe1001e
+1fe08a17
+6fe08047
+e7e08005
+da600ab7
+20200a6e
+6fe08047
+2feffe03
+20208a5d
+18007c01
+20600000
+18007c00
+20600000
+da600ab4
+20200a6e
+6849001e
+da600adc
+20200a6e
+6848c1dc
+da600a82
+20200a6e
+44964005
+684b41dd
+da600a7b
+20200a6e
+da600a88
+20200a6e
+da600ad3
+4496c005
+da204040
+df200001
+efe08011
+1a627a00
+1a20a258
+c2000a71
+18007c01
+20600000
+c2800a73
+c2818a73
+18007c00
+20600000
+c2818a7d
+c3000a73
+1a208c10
+efe30006
+98467c00
+20628000
+20200a73
+c3000a73
+1a208c16
+efe08006
+98467c00
+20628000
+20200a73
+c3008a73
+20400ac0
+20400aa4
+98467e00
+1fe0fe01
+20210a9e
+18c22400
+67e48964
+6fe0c6bd
+243a0a96
+6fe48964
+1a420c00
+1fe0fe05
+20200a99
+6fe48964
+1a420c00
+1fe0fe14
+24210a73
+18424200
+20400acc
+18007c00
+20600000
+98002400
+1a208c02
+efe10006
+203a0a9a
+20400acc
+20200a89
+1ff11600
+196c9600
+20228aae
+29601e0f
+24608000
+18511600
+196c9600
+24628000
+7920041c
+20600000
+18511600
+196c9600
+29601e0f
+24608000
+79207e1c
+20600000
+c3000a73
+18007c00
+20600000
+c3000a73
+1a208c01
+efe08006
+c2800a73
+1a208c17
+efe08006
+c3018a73
+18007c00
+20600000
+1a208c01
+e8408006
+1c427e00
+284ffe01
+1a208c04
+e8420006
+20608000
+1a208c08
+efe30006
+20401073
+1d027e00
+20600000
+1a208c02
+1a208a04
+efe10006
+98409600
+19627e00
+e7e20005
+202016b1
+c3008a73
+20400ac0
+9b60fe00
+9b60fe00
+98e0fe00
+98467c00
+24210a73
+18007c00
+20600000
+c3000a73
+18427e00
+9a267c00
+203f0a73
+1a208c01
+efe08006
+c2800a73
+efe08011
+793ffe07
+e7e08011
+20200a73
+44974005
+2040133e
+1c40c201
+20401134
+18004803
+20401124
+20401340
+20401345
+20401353
+20200f86
+4497c005
+2040133c
+1c40c201
+20401134
+18004803
+2040111e
+20400c37
+204012da
+2040134a
+204012d5
+204012fb
+246c0000
+2040127f
+20200d40
+44984006
+6fe080e5
+98000800
+18000201
+20400ae7
+20200af1
+6fe0c09b
+c4000000
+18000e04
+20407de9
+247a0000
+684940b5
+18000e04
+20400f40
+20740000
+20400b15
+18000e04
+6fe140b7
+242c7ddb
+180a7e00
+9ea17e00
+20207ddb
+4498c006
+7000e500
+78587c00
+78577c00
+204010f6
+1c4143fc
+18004801
+2040112a
+2040111e
+7940001d
+6fe08006
+1fe0fe01
+67e08006
+20401144
+204012d5
+20401302
+246c0000
+44994006
+18003600
+2040114b
+6fe08007
+1fe0fe01
+67e08007
+2040112a
+2040133c
+1c21c202
+18004801
+20401124
+20401144
+20401340
+2040134e
+1c427e00
+67e200b0
+20401353
+18000202
+18000800
+2040135b
+20400f8a
+20400b3f
+1c2143fd
+1cc0cc01
+20600000
+4499c006
+6fe0c0d8
+207a0000
+d8a000f0
+6fe0c5ff
+1fe27200
+1fe0fe01
+e7e08005
+18a20400
+1fe0fe01
+67e141e6
+18420a00
+58000009
+e7e08005
+d8c04600
+20407dd4
+da60467b
+df200004
+20400b61
+da604665
+df200001
+20400b61
+1800020a
+7041e502
+580000f0
+67e100be
+2040133c
+20401124
+20401340
+2040134e
+20401353
+2040135b
+20400f8a
+20600000
+18a20400
+1a620c00
+efe08006
+207a0000
+1fe3fe00
+c2000b65
+1fe22200
+1fe0fe02
+1fe20e00
+6fe141e6
+98e0fe00
+67e141e6
+18420a00
+1a227e00
+1fe0fe01
+e7e08005
+1a620c00
+efe08006
+efe08006
+e7e08005
+1a227200
+20207dd4
+6fe0c09b
+c4008000
+18000e05
+20407de9
+247a0000
+684940b9
+18000e28
+20400f40
+20740000
+18000800
+70001008
+793f800b
+20400b87
+18000e05
+6fe140bb
+20207ddb
+449a4006
+78587c00
+204010f6
+6fe08008
+1fe0fe01
+67e08008
+18004c00
+20401134
+1c40c201
+18004802
+449ac006
+2040111e
+204012d5
+20401302
+246c0000
+2040114b
+6fe08009
+1fe0fe01
+67e08009
+18003600
+2040133c
+1c21c202
+18004801
+20401124
+20401340
+2040134e
+20401353
+20400e7c
+18000800
+69610157
+35330200
+1d01d003
+1c2143fd
+449b4006
+1cc0cc01
+2040111e
+204012d5
+204012f5
+242c0bb1
+2040135b
+20400d43
+c5058bb8
+449bc006
+6fe08010
+207a0000
+1fe0ffff
+67e08010
+2040133e
+20200ba8
+449c4007
+793fd001
+79205000
+6fe0800a
+1fe0fe01
+67e0800a
+2040133c
+1c21c202
+20401124
+20401340
+2040134e
+20401353
+20400e7c
+2d000603
+20208bc9
+37cb8200
+20200bc5
+6fe200b4
+1fe1fe03
+1fe25000
+449cc007
+6fe300c7
+67e30040
+20400c42
+20400c89
+20368bd5
+20400c62
+243a0bd0
+20600000
+449d4007
+20400c4d
+20400a48
+24628000
+70003100
+2040105d
+20200a30
+449dc007
+2040106f
+20400c01
+20740000
+449e4007
+204065c9
+20400d38
+24368bf0
+6fe14477
+20407e7a
+20401378
+204065e1
+20400c96
+20400f7b
+20400f4c
+204053f2
+6fe0800b
+1fe0fe01
+67e0800b
+2040105d
+449ec007
+204014f5
+2040136f
+20210bf9
+204009a9
+24340bf9
+20400f1c
+243a0be0
+20600000
+449f4007
+700a5100
+7000e300
+20400c6a
+793f8011
+20407e8e
+6fe08030
+20600000
+204009cb
+24740000
+18820400
+2040135f
+67e080e5
+18420800
+70001120
+449fc007
+2040133e
+18000202
+20400f73
+1c427e00
+67e200b0
+20400f86
+2040133c
+7837fc00
+20400d19
+202c0c1a
+2040114b
+20400c62
+243a0c08
+c6820000
+70007c34
+79200003
+20600000
+78387c00
+20400c42
+204010f6
+44a04008
+20400aff
+202c0c26
+20400c62
+243a0c1d
+78587c00
+1d027e00
+67e240d1
+20600000
+7834fc00
+c5820c2c
+793f8004
+70007c03
+70007d33
+20405a7b
+18827e00
+67e08077
+18007e00
+67e30038
+6fe08031
+79207e01
+67e08031
+20401378
+7854fc00
+78347c00
+20600000
+44a0c008
+7856fc00
+793f8005
+793f800a
+793f8010
+793f800f
+6fe08047
+793ffe05
+79207e04
+67e08047
+20600000
+44a14008
+70001120
+70004750
+6fe140c6
+67e1003e
+1c427e00
+67e240d1
+20780000
+1d027e00
+67e240d1
+20600000
+44a1c008
+204053ee
+20400c66
+67e08046
+58000000
+67e1030e
+58001c80
+67e10051
+6fe08030
+79207e00
+67e08030
+70004b00
+70004c00
+70009d00
+20201378
+44a24008
+18007e00
+67e441cb
+e7e40005
+204009c7
+20200a61
+6fe08011
+1fe0ffff
+67e08011
+20600000
+6fe0c0d6
+1fe0fe01
+67e0c0d6
+20600000
+44a2c008
+6fe0c1db
+c0018c6f
+6fe08048
+c0808c73
+20404de6
+24228c73
+204009a6
+7041db00
+44a34008
+2040323e
+20400f12
+70095b02
+204078dc
+204053e0
+20404e26
+20406f37
+6fe08030
+793ffe00
+67e08030
+70478e00
+6fe0804c
+2fe18000
+20208c83
+793f8001
+6fe08047
+c3018c85
+6fe0804b
+c4030000
+793f8002
+20600000
+44a3c008
+6fe080c3
+207a0000
+1fe20800
+20400d38
+24768000
+18000200
+20400f7b
+18827e00
+67e08077
+18007e00
+67e080c3
+20600000
+44a44009
+6fe08030
+c3010ca3
+18000207
+c5838ca2
+20400f49
+24208ca3
+20370ca3
+20400ce4
+58000002
+67e140cf
+20600000
+24770000
+44a4c009
+20400a50
+24228cb4
+6fe08047
+c3018cbd
+c5028cc1
+6fe080e3
+c2830cc7
+6fe140cf
+1fe0ffff
+67e140cf
+203a0cb2
+6fe0c0cc
+98000200
+20600000
+44a54009
+20400eb7
+20400f49
+20208cbd
+20405759
+20340ccb
+6fe0804b
+c2830cd7
+c5028cc1
+6fe080e3
+c2830cc7
+18000201
+20748000
+18000200
+20600000
+44a5c009
+6fe08019
+98000200
+c1808000
+18000200
+20600000
+6fe08a58
+1fe1020f
+79200005
+20600000
+18000213
+20400ce4
+20400ddd
+207a0000
+7041e403
+6fe0838a
+1fe17ff8
+1fe97e00
+67e146b5
+1fe22200
+da60038b
+20206d03
+20400ced
+20400ce4
+20400ddd
+207a0000
+6fe0c1e5
+1fe17e03
+67e0c1e4
+6fe141e6
+1fe22200
+67e146b5
+6fe100be
+1fe22600
+20206d03
+44a64009
+68488047
+79200403
+60488047
+18227e00
+67e0c0cc
+5800ffff
+67e140cf
+20600000
+44a6c009
+6fe0804c
+2feffe05
+6fe141e6
+20208d03
+18000203
+1fe67c11
+20610000
+18000204
+1fe67c1b
+20610000
+1800020a
+1fe67c79
+20610000
+1800020b
+1fe67cb7
+20610000
+1800020e
+1fe67ce0
+20610000
+1800020f
+20600000
+18000203
+1fe67c11
+20610000
+18000204
+1fe67c36
+20610000
+1800020a
+d840016f
+98467c00
+24610000
+1800020e
+d84002a7
+98467c00
+24610000
+1800020f
+20600000
+6fe08030
+c3008d18
+6fe10032
+203a0d18
+24370d1a
+2040133e
+1d00c201
+78287c00
+6fe1003e
+1fe37e00
+6849015d
+9840fe00
+20401313
+2040113c
+18004803
+2040111e
+20400c37
+204012da
+44a74009
+6fe1003e
+1fe37e00
+20401313
+204012d5
+7826fc00
+6fe1003e
+6849015b
+9840b600
+37c18400
+1b420400
+604b0097
+7846fc00
+246c0000
+6fe1015b
+1fe25200
+1c225000
+20359444
+20600000
+44a7c009
+20400d13
+242c114b
+2040127f
+c5888d40
+6fe109f6
+1fe0fe01
+67e109f6
+20404d0d
+1c230400
+18419c40
+44a8400a
+7823fc00
+78257c00
+7825fc00
+09800003
+198cfe00
+67e080ac
+09800004
+08008007
+19827e00
+67e08019
+09800003
+198cfe00
+67e080ad
+6fe08019
+1fe67c03
+20210d58
+c0038d58
+6fe0804c
+2feffe05
+7920aa01
+44a8c00a
+09800008
+7845fc00
+78457c00
+20230e5f
+c5888d61
+6fe109f8
+1fe0fe01
+67e109f8
+44a9400a
+6fe080ac
+2fe00e00
+7920800a
+20208d6f
+a8800e00
+20208d6d
+c5838e7c
+6fe08047
+793ffe05
+79207e04
+67e08047
+20404d10
+7836fc00
+44a9c00a
+6fe08019
+1fe20200
+c5050d7e
+684880ad
+6fe08047
+793ffe00
+284ffe00
+7920fe00
+284ffe01
+7920fe01
+67e08047
+284c0001
+20208d7e
+20400eb7
+44aa400a
+d8400000
+2040130b
+18217e0f
+c0008d9a
+c0000e7c
+c0010e88
+684880ad
+6fe08047
+a8400800
+24208d8c
+c5850d8b
+c3038d8c
+7920000f
+44aac00a
+18227e00
+c0018d9c
+c0020da0
+c0040d9f
+d8400004
+2040130b
+c0050d9b
+c0058d9e
+d8400008
+2040130b
+c0070d9b
+c0078d9e
+20600000
+20200e7c
+79200010
+78267c00
+20200da1
+79200010
+79202a02
+7826fc00
+44ab400a
+c5198e7c
+c5008e7c
+2aac0001
+20208dae
+7843fc00
+7826fc00
+78467c00
+1c409602
+34530400
+242c0e6b
+79200010
+7823fc00
+44abc00a
+78277c00
+7824fc00
+09800003
+198cfe00
+67e080e4
+09800005
+c5080db9
+19897200
+1f297200
+20200dbc
+09800005
+19837200
+09800003
+44ac400b
+1f227e00
+67e100ae
+203a0dd4
+20400ddd
+203a0dc4
+1f20f204
+1f227e00
+9ea67c00
+20210e6b
+44acc00b
+793f8000
+6fe080e4
+1fe17e03
+d8a000ce
+c0018de2
+c5088dd2
+6fe080e4
+1fe17e03
+c0010de7
+c0008dfb
+20200e6b
+d8a01000
+20200e0c
+20400ddd
+203a0e10
+58000000
+67e146b5
+09800020
+1fef7e00
+1fecfe00
+67e20273
+20200e10
+6fe0804c
+c3017ed1
+6fe0c648
+c0817ed1
+20207ecf
+6fe100ae
+1fe67c11
+24210e6b
+c5078e4c
+20200e0c
+44ad400b
+c5078e4c
+6fe100ae
+d84002e0
+98467c00
+20210e6b
+6fe08314
+c3000df1
+c3008df6
+20200e7c
+70031201
+6fe1030e
+c0800e7c
+d8a01000
+20200e0c
+70031202
+6fe10310
+c0800e7c
+d8a01400
+20200e0c
+44adc00b
+c5078e4c
+6fe100ae
+d84002e0
+98467c00
+20210e6b
+6fe08312
+c0008e05
+c0010e09
+20200e7c
+d8a01000
+6fe1030e
+98a08a00
+20200e0c
+d8a01400
+6fe10310
+98a08a00
+09800008
+19897e00
+e7e08005
+c2000e0c
+44ae400b
+09800010
+20230e65
+20400ddd
+20407ec9
+245a6d34
+24360e6c
+20404d0c
+6fe0c5f6
+c0008e6c
+c5088e39
+c5078e79
+6fe080e4
+2fe00603
+20208e39
+6fe100ae
+203a0e39
+44aec00b
+6fe08312
+c0008e26
+c0010e30
+2020137c
+6fe1030e
+684900ae
+9840fe00
+67e1030e
+207a0000
+68491000
+18408404
+98467c00
+20428f6b
+20200e39
+6fe10310
+684900ae
+9840fe00
+67e10310
+207a0000
+68491400
+18408404
+98467c00
+20428f6f
+44af400b
+6848804c
+6fe080e4
+2fe00603
+79208406
+7d208407
+6048804c
+24208e42
+79200001
+c5888e4c
+284ffe06
+20208e4c
+6fe109fa
+1fe0fe01
+67e109fa
+79200005
+793f8407
+793f8001
+6048804c
+44afc00b
+20400ddd
+245a6d5b
+684880ad
+6fe08047
+79207e05
+284ffe02
+7920fe02
+280ffe0a
+7920fe07
+67e08047
+6fe100ae
+243a0e7c
+6fe0804c
+793ffe07
+67e0804c
+6fe080e4
+2fe00e01
+20200e7c
+44b0400c
+7856fc00
+6fe1001a
+1fe0fe01
+67e1001a
+20200e7c
+6fe1001c
+1fe0fe01
+67e1001c
+20400e6d
+c5888e6b
+79200005
+20200e7c
+20200e65
+44b0c00c
+6fe080e4
+2fe00603
+24208e75
+6848804c
+793f8406
+6048804c
+20600000
+6848804c
+793f8407
+6048804c
+20600000
+6fe08047
+79207e05
+67e08047
+44b1400c
+784efc00
+784e7c00
+7846fc00
+78467c00
+7844fc00
+78477c00
+7843fc00
+2030914b
+37d38200
+20000064
+2020114b
+44b1c00c
+7824fc00
+78267c00
+09800048
+2feffe3a
+79208000
+1c020400
+57e04000
+57e03c00
+782afc00
+380bffff
+380cffff
+20000020
+29a80000
+1d827e00
+67e180c7
+1da27e00
+67e080ca
+18424000
+20208e9d
+20200e6b
+44b2400c
+09800048
+57e03e00
+57e00800
+57e05c00
+57e02400
+18007e00
+09800010
+20230e6b
+20404d0c
+5ffffffc
+9a417e00
+67e200b4
+1ba27e00
+67e180c4
+1b827e00
+67e080c2
+18827e00
+67e080c3
+1dc27e00
+67e100cb
+1c227e00
+08008220
+28201e02
+7920800b
+20200e7c
+44b2c00c
+6fe08047
+c4018000
+793ffe03
+79407e06
+67e08047
+20400ddd
+245a6d21
+6fe0c0cc
+c0098ece
+c1038000
+6fe0804b
+c4030000
+793ffe06
+79207e07
+67e0804b
+793f8002
+6fe144d9
+247a0000
+6fe0804b
+793ffe07
+67e0804b
+2020533e
+44b3400c
+6fe0c5f9
+1fe37e00
+c0088ee1
+c0090eeb
+c00c0f12
+c03f8ed9
+c1818000
+6fe0838c
+c0088edc
+20600000
+6fe0838c
+79207e07
+20600000
+20748000
+6fe08030
+c3820000
+70007c31
+20600000
+44b3c00c
+6fe0804c
+79207e02
+67e0804c
+70801101
+18007e00
+67e2c6a4
+79207e25
+67e2c69f
+20600000
+44b4400d
+6fe0804c
+793ffe02
+67e0804c
+70801100
+20600000
+44b4c00d
+1c40a203
+20348ef5
+1d00a203
+68490032
+1a227e00
+793ffe1b
+9846fc00
+6fe10075
+20407e64
+18072600
+9a667e00
+20210eff
+9840fe00
+9a20fe00
+67e20034
+70464500
+6fe08030
+79207e01
+67e08030
+6fe08073
+67e08088
+58000000
+67e1c16e
+67e1c171
+67e0c15e
+70095b0b
+204078dc
+6fe140c8
+67e1003e
+24748000
+18808fff
+20600000
+44b5400d
+6fe08030
+c4008000
+793ffe01
+67e08030
+6fe140c6
+67e1003e
+7855fc00
+70095b0c
+202078dc
+44b5c00d
+78377c00
+6fe08030
+c2808f29
+c6088000
+6fe08047
+c3818000
+6fe08048
+247a0000
+6fe0804b
+c3830000
+18007e00
+20600000
+c3010f33
+6fe08088
+c0010f2f
+6fe08047
+c2818f3c
+c5840f3c
+24348f3c
+6fe08048
+243a0f3c
+20200f27
+6fe08088
+c0808f3c
+6fe08089
+203a0f3c
+1fe0ffff
+67e08089
+6fe08047
+c3818000
+24768000
+6fe08088
+1fe0ffff
+67e08088
+20600000
+44b6400d
+78487c00
+18423600
+20400a6d
+78547c00
+24628000
+18003600
+78347c00
+20600000
+6fe0c15d
+a881fe00
+20600000
+44b6c00d
+793f8001
+70031b00
+6fe08314
+207a0000
+2feffe00
+d8c01000
+2040ce34
+44b7400d
+6fe0831b
+c0008f5f
+70031b00
+6fe08314
+c4008000
+d8c01400
+20404e34
+6fe0831b
+c0008f65
+20600000
+6fe08314
+793ffe00
+67e08314
+58000000
+67e1030e
+20600000
+6fe08314
+793ffe01
+67e08314
+58000000
+67e10310
+20600000
+6fe08314
+79207e00
+67e08314
+20600000
+6fe08314
+79207e01
+67e08314
+20600000
+44b7c00d
+1d00c201
+2040113c
+18004803
+20401124
+20401340
+2040134e
+20201353
+44b8400e
+2040133c
+1d027e00
+684a40d1
+98467e00
+c1808000
+28203e00
+24208f85
+6fe08019
+207a0000
+20400f73
+28203e10
+20208e7c
+1c230400
+18419c40
+44b8c00e
+7823fc00
+78257c00
+782dfc00
+793f8010
+18827e00
+08008603
+18227e00
+08008604
+6fe08047
+08008004
+08008603
+78247c00
+08008608
+784dfc00
+78447c00
+78457c00
+793faa02
+d8400000
+2040130b
+44b9400e
+18217e1f
+c0098fce
+c0000e7c
+c0008e7c
+c0010faf
+c0018fdd
+c0020fe3
+c0040fe2
+d8400004
+2040130b
+c0050fdf
+c0058fe5
+d8400008
+2040130b
+c0078fe5
+20200fdf
+44b9c00e
+6fe080e5
+1fe20800
+6fe0808d
+1fe23800
+6fe1c0b2
+1fe23a00
+6fe140ac
+1fe25c00
+7824fc00
+782e7c00
+1c022200
+20401134
+782afc00
+20000020
+1c221600
+6fe200b0
+1fe24200
+53c07e00
+79207e3a
+08008648
+53e07e00
+08008648
+19624200
+1a224000
+78247c00
+08008610
+78447c00
+20200e7c
+78477c00
+20200fd2
+44ba400e
+20400ddd
+243a0fcc
+78277c00
+7824fc00
+782e7c00
+6fe0838a
+1fe105f8
+d8c0038a
+18408408
+18497200
+efe08006
+08008608
+c2000fd9
+2020100f
+782e7c00
+20200fe8
+782e7c00
+79200010
+20200fe8
+79202a02
+782efc00
+20200fe8
+79202a02
+782efc00
+79200010
+44bac00e
+6fe0804c
+c3028ffd
+18267c03
+20210ffd
+78477c00
+784e7c00
+782efc00
+7843fc00
+79202a01
+2aaffe02
+20208ff7
+580abeee
+08008614
+20200ffb
+585faeba
+08008618
+58000012
+08008606
+7823fc00
+79200010
+78277c00
+7824fc00
+c502901d
+6fe0c1e5
+08008603
+6fe141e6
+98007200
+c5081007
+08008605
+20201008
+0800860d
+1f227e00
+203a100f
+6fe100be
+98000c00
+efe08006
+08008608
+c200100c
+44bb400e
+20400ddd
+203a1014
+6fe2026f
+08008620
+78247c00
+08008610
+78447c00
+20400ce4
+6fe0804c
+c3028e7c
+18007e00
+08008606
+20200e7c
+44bbc00e
+c5081025
+6fe080e4
+08008603
+6fe080ae
+98002600
+08008605
+2020102a
+6fe080e4
+08008603
+6fe100ae
+98002600
+0800860d
+d8c01000
+1a627c00
+20229031
+efe08006
+08008608
+1a60a7ff
+2020102b
+6fe109fc
+1fe0fe01
+67e109fc
+2020100f
+6fe200b4
+1fe0a207
+6fe100c0
+243a103b
+1a20a3fd
+20201043
+1feffe0c
+68590040
+18408401
+98467e00
+24211042
+1a20a3ff
+2020103e
+1fe67e00
+37d18200
+2c400600
+24209043
+98005200
+1a225000
+98005200
+20600000
+44bc400f
+37d10200
+1b427e00
+98000c00
+1ff17e00
+9c467200
+1f217203
+24229054
+18007e00
+20201058
+68490163
+18007e00
+9840fe00
+c2001056
+98c0fe00
+1fe6fc0c
+20407e61
+67e100c0
+20600000
+44bcc00f
+1b427e00
+1b220400
+98467c00
+7d217e2c
+98460400
+6fe10163
+284c000f
+2020906b
+18426000
+d8410000
+6fe10163
+98467e00
+9e008400
+604b028f
+207b0000
+604b0038
+20600000
+78587c00
+6fe3028f
+203b1073
+6fe30038
+9b20e000
+1e00e00a
+6fe10163
+9e067e00
+2fec000f
+2020907f
+58010000
+6b010163
+9b067e00
+9e00e000
+1e023400
+20600000
+18007c00
+2020107d
+203b10a9
+58402c17
+67e189ee
+19317e00
+1fe90400
+df200030
+58000000
+67e189f1
+18437e00
+9842fe00
+1fe17e03
+c300908e
+1fe0ffff
+d8a009f1
+98a08a00
+efe08005
+1fe0fe01
+e7e08005
+18430400
+c2001089
+da2009f3
+da4009ee
+da600000
+df200003
+efe08011
+e8408012
+984ffe00
+9a60a600
+1a20a3ff
+1a40a401
+c2001099
+6fe089ef
+1fed7e00
+1ff27e00
+9a66fc00
+20407e64
+1807fe00
+67f10938
+67e109f4
+20600000
+6fe109f4
+67f10938
+20600000
+58402d19
+67e189ee
+192f7e00
+1fe90400
+df200020
+20201087
+44bd400f
+2040115d
+1c227e00
+1fe17f80
+2c800e03
+242090bb
+1fe97e00
+9ae0fe00
+202010bc
+1ae27e00
+1fe6fc4f
+782afc00
+20407e64
+18072200
+1a2085d8
+202110c4
+1a238400
+202010c6
+18438400
+18408401
+44bdc00f
+6fe08031
+c30190d7
+6fe240d9
+9c267c00
+202110d7
+204010f6
+6fe0c0e0
+207a0000
+6fe08031
+79207e02
+67e08031
+6fe2c0ee
+67e2c0e1
+efe28006
+67e2c0e6
+204010fb
+6fe08031
+c4010000
+2c2ffe01
+202090f3
+18492200
+18410e07
+580040e1
+9a20a200
+efe08011
+afec0000
+202090e4
+18427e00
+202010f0
+6fe0c0eb
+98002400
+1c227e00
+1fe17f80
+1fe97e00
+9ae0fe00
+9a46fc00
+580040f9
+20407e64
+18072200
+9a208c00
+efe08006
+67e0c0ec
+98000400
+20600000
+6fe0c0ec
+98000400
+20600000
+6fe08031
+793ffe02
+793ffe03
+67e08031
+20600000
+44be400f
+d8a040f9
+1800720a
+20407d8c
+d8a040f9
+18002600
+18000e02
+6fe2c0e1
+98000400
+28e1fe02
+20209107
+18430400
+284c0000
+2020910b
+1a627e00
+e7e08005
+184b0400
+1a60a602
+2a61fc28
+24209114
+6fe2c0e6
+98000400
+28e1fe02
+20209114
+18430400
+1a667c4e
+20211107
+18002601
+18e08fff
+24229102
+da2040f9
+18a27e00
+9a267e00
+67e0c0eb
+20600000
+44bec00f
+204010b2
+6fe080e3
+c3029123
+684883a0
+2020118b
+44bf400f
+204010b2
+6fe080e3
+c3021129
+6848839f
+20201201
+18005a00
+6fe1c0af
+98005800
+20600000
+44bfc00f
+6fe0c1e0
+1fe25a00
+6fe1c1dd
+1fe25800
+20600000
+44c04010
+6fe140ac
+1fe25c00
+6fe0c0ab
+1fe25a00
+6fe1c0a8
+1fe25800
+20600000
+44c0c010
+6fe10044
+1fe25c00
+6fe08043
+1fe25a00
+6fe18040
+1fe25800
+20600000
+c5101147
+c68e8000
+c68f8000
+1d815900
+782afc00
+20000020
+20600000
+44c14010
+20404d0b
+18002a08
+18002a00
+7850fc00
+78507c00
+782f7c00
+70890005
+20000002
+70890000
+2040115d
+708a1600
+708a0a10
+6ff08a09
+793ffe07
+67f08a09
+708a0b00
+2020129e
+44c1c010
+70890005
+20000002
+70890000
+6fe0c0c5
+c00c1164
+c0041179
+708a10aa
+708a11aa
+708a1215
+708a0a78
+6ff08a09
+79207e07
+67f08a09
+708a0b04
+2000003c
+708a167a
+708a1700
+708a1800
+708a1900
+708a1a00
+708a112a
+708a0a78
+6ff08a09
+793ffe07
+67f08a09
+708a4300
+20600000
+708a8be6
+708a10aa
+708a11aa
+708a1215
+708a0a78
+6ff08a09
+79207e07
+67f08a09
+708a0b04
+2000003c
+708a163a
+708a1700
+708a1800
+708a1900
+708a1a00
+708a112a
+708a0a38
+20201174
+44c24010
+6fe0c0c5
+1fe67c18
+20429196
+2442919c
+60488017
+1840fe00
+c5169194
+1840fe01
+204011c1
+20201081
+708a4300
+708a3d04
+708a3e00
+708a8403
+708a8940
+20600000
+708a4330
+708a3d06
+708a3e00
+708a8420
+708a8915
+20600000
+44c2c010
+20404d05
+6fe0c1ea
+c07f91ab
+d8c041eb
+98c08c00
+efe08006
+67f08961
+70896027
+6848c1ee
+6ff08960
+9841fe00
+67f08960
+708a10aa
+708a112a
+708a1213
+708a0a7f
+6ff08a09
+793ffe07
+67f08a09
+2000003c
+708a171f
+708a18f8
+708a1918
+708a1000
+708a1120
+2000000a
+70890004
+20000002
+7089000c
+20600000
+44c34010
+d8c00960
+98c0fe00
+6848c0c5
+202011d0
+44c3c010
+6fe0c0c5
+1fe67c18
+204291f3
+244291fa
+58000960
+9a20fe00
+1fe3fe00
+6848c0c5
+184f8403
+18438400
+9846fc00
+20407e64
+1807fe00
+67f08a3f
+18077e00
+1ff07e00
+1fed7e00
+9846fc00
+20407e64
+1807fe00
+67f08a42
+1fecfe00
+67f08a41
+1fecfe00
+67f08a40
+68588a43
+184104f0
+60588a43
+2000000c
+6fe0c0c5
+c00c11e7
+c00411ed
+1841840c
+60588a43
+2000000c
+18418403
+60588a43
+20600000
+1841843c
+60588a43
+2000000c
+18418433
+60588a43
+20600000
+708a4300
+708a3d12
+708a3e00
+708a8403
+708a8ba6
+708a8940
+20600000
+708a4330
+708a3d15
+708a3e00
+708a8420
+708a8ba6
+708a8915
+20600000
+44c44011
+708a3d12
+60488017
+1840a202
+204011c6
+200003c0
+44c4c011
+708a10aa
+708a112a
+708a1210
+708a0a7f
+6ff08a09
+793ffe07
+67f08a09
+708a0b07
+2000003c
+708a190d
+708a1af9
+708a1000
+708a1120
+2000000a
+70890001
+20000002
+70890003
+44c54011
+6fe0c1e8
+c0019229
+c002922e
+c0031231
+c0039234
+c0051237
+c041923a
+c042923d
+c04a1240
+c04f1243
+708a396a
+708a3a07
+708a14a3
+708a1507
+20600000
+708a3966
+708a3a0b
+708a14aa
+708a150a
+20600000
+708a396c
+708a3a0d
+2020122b
+708a396b
+708a3a0f
+2020122b
+708a39a7
+708a3a0f
+2020122b
+708a39b6
+708a3a0f
+2020122b
+708a3968
+708a3a05
+20201226
+708a3960
+708a3a05
+20201226
+708a3953
+708a3a01
+20201226
+708a394c
+708a3a00
+20201226
+70804206
+6fe140ca
+c3071247
+98000c00
+d8408a00
+efe08006
+c07f9251
+98418a00
+efe08006
+e7e08005
+2020124b
+44c5c011
+708a0305
+708a7a94
+20401279
+20401273
+2040126c
+708a8be6
+708a8390
+708a0e0b
+708a0f05
+70896876
+70896976
+6fe0c0c5
+c0841260
+708a0834
+708a01ff
+20000064
+708a020e
+708a0003
+20401224
+708a9a2b
+708a9b13
+204012d3
+2000000a
+70804205
+7041f00c
+2020165e
+6fe0c4d3
+203a1271
+1fe1fe20
+67f08a87
+20600000
+708a8729
+20600000
+6fe0c4d4
+203a1277
+67f08a0d
+20600000
+708a0d00
+20600000
+6fe0c4d5
+203a127d
+67f08a6c
+20600000
+708a6cd3
+20600000
+44c64011
+70015420
+6ff089a0
+67e0c1e9
+1fe67cfc
+24610000
+1fe67c7f
+20610000
+6ff089a3
+1fe1040f
+18438400
+1ff1fe00
+98408400
+184f8403
+6fe0c1e9
+1fe67eff
+9840fe00
+1fe0fffb
+67e08154
+20600000
+6fe08154
+20401297
+67e08018
+20600000
+1fe17eff
+1fe6fc0a
+20407e61
+1ff27e00
+18070400
+9841fe00
+20600000
+6fe0c1ea
+c17f8000
+242c12c4
+6fe0c1e9
+1fe67cf0
+242112c8
+1fe67c7f
+202112c8
+6a308961
+6fe0c1ea
+c1000000
+d8c041eb
+98c08c00
+efe08006
+9a267c00
+24628000
+18c08dfe
+e8408006
+1851fe00
+1a31a400
+9a462400
+18417e0f
+1a21220f
+9a262200
+1a23fe00
+9a40a400
+1a4fa403
+6848c1e9
+18417e80
+207a0000
+58000100
+98460400
+1a427e00
+98467e00
+20610000
+1fe17eff
+c17f8000
+c17f0000
+6fe0c1ea
+c00092cd
+c00112cf
+202012cd
+6fe0c1ea
+c00012cf
+c00092cb
+7041ea02
+20600000
+7041ea00
+20600000
+7041ea01
+20600000
+58000f0f
+20201543
+5800080f
+20201543
+44c6c011
+78507c00
+7830fc00
+782b7c00
+202011a2
+44c74011
+20400ddd
+243a12ea
+6fe0804c
+2feffe02
+7920fe00
+67f08011
+d8c00062
+efe48006
+98006400
+efe38006
+98006600
+6fe08054
+1fe0e9ff
+782d7c00
+20600000
+70801100
+20600000
+1b427e00
+67e30097
+7846fc00
+242c114b
+6fe1015b
+1fe25200
+1d00d001
+1d0151fc
+20600000
+7826fc00
+37cb8400
+202c12ec
+2d000402
+242092f6
+202012ec
+44c7c011
+69610159
+7826fc00
+34730400
+7846fc00
+242c114b
+20600000
+44c84012
+7826fc00
+37c18400
+7846fc00
+242c114b
+6fe1015b
+1fe25200
+1d0151fc
+20600000
+44c8c012
+98002200
+1c227e00
+98409600
+19627e00
+67e240d1
+1a227e00
+20600000
+1fe20400
+44c94012
+18427e00
+20407e26
+1c307e00
+79207e2c
+20407e0c
+793ffe2c
+20401367
+20407e0c
+20740000
+20407e19
+98003600
+37c18200
+20600000
+44c9c012
+20381327
+35330200
+1d020400
+2020132a
+20371329
+34730200
+1c420400
+20341336
+28400601
+24209322
+44ca4012
+6fe08030
+c4000000
+6fe240d1
+98467e00
+24610000
+1fe67cff
+20211322
+20600000
+28400603
+24209322
+2020132d
+44cac012
+69610157
+20201322
+78547c00
+20201339
+78347c00
+20201339
+44cb4012
+204012da
+7850fc00
+78307c00
+20600000
+44cbc012
+69610155
+34730200
+782b7c00
+20600000
+44cc4013
+6961015f
+34730200
+20600000
+44ccc013
+69610155
+35330200
+782b7c00
+20600000
+44cd4013
+20404d13
+51207e00
+782efc00
+79202a00
+08008648
+784efc00
+20600000
+1ca20400
+18418460
+18421c00
+20600000
+44cdc013
+6fe0c098
+1fe0fe01
+c0839364
+18007e01
+67e0c098
+98000800
+20600000
+1b220400
+20748000
+1b420400
+20600000
+1c427e00
+20748000
+1d027e00
+20600000
+44ce4013
+684a004d
+2040136b
+98461600
+19627e00
+68490051
+18438400
+98467e00
+20600000
+44cec013
+2040136b
+67e2004d
+20600000
+44cf4013
+2020137c
+2020137e
+207a0000
+1fe37e00
+1fe0fffd
+1fe0ffff
+24229382
+18007e00
+20600000
+df200010
+d8a00000
+20407d8c
+d8a00287
+df20000a
+20407d8c
+70087400
+70095b00
+7002df00
+7000e300
+7003a500
+7000bc00
+700a5100
+700a5c00
+589e8b33
+67e1c0af
+70008d60
+7040d705
+70001402
+58000e43
+67e10155
+58000600
+67e10157
+58000600
+67e10159
+58000d00
+67e1015f
+580003bb
+67e1015b
+58000500
+67e1015d
+580007d0
+67e10161
+58000ea6
+67e10163
+580001e0
+67e10165
+58000120
+67e10167
+5800011a
+67e10169
+58001400
+67e143de
+58000100
+67e143e0
+20406e66
+58000880
+d8a00870
+98a67200
+20407d9b
+44cfc013
+20758000
+7045fa09
+5800050e
+67e145fb
+58000008
+67e145fd
+7044d17f
+58000024
+67e140b5
+67e140b9
+58000200
+67e140b7
+67e140bb
+58000020
+67e140c3
+67e140bf
+58002000
+67e140c1
+58000480
+67e140c6
+58000c00
+67e140c8
+58000c3f
+67e1417e
+58000333
+e7e10005
+5824109d
+67e1c183
+20407f52
+58000000
+67e141e6
+1c437e00
+67e2409c
+20600000
+70804206
+70804201
+2000000a
+58001d4a
+67f10040
+20600000
+5800ee21
+67f10050
+6ff2011c
+67e2098a
+6ff0813b
+67e08989
+6ff0813e
+c301dbf5
+7835fc00
+c30393f2
+7855fc00
+1ce27e00
+243a13f2
+6ff0813b
+c28113f2
+d85fffff
+2020147f
+6ff20134
+67f2004c
+6ff08135
+1fe17ee0
+67f0804d
+2040155b
+6ff1813c
+67f1804c
+efe08006
+1fe1feef
+e7e08005
+2040154e
+6ff0804f
+79207e04
+67f0804f
+2040154e
+20559424
+6ff0804e
+793ffe03
+67f0804e
+2040154e
+2435dbf5
+2040140c
+c6958000
+70800608
+20600000
+6fe1c4ce
+207a0000
+67e18a01
+20205ceb
+6fe0c4d2
+c0009418
+c001141c
+c0019420
+6fe0c183
+1fe17ee0
+67e0c183
+20600000
+6fe0c183
+1fe17ee0
+1fe1fe1d
+20201416
+6fe0c183
+1fe17ee0
+1fe1fe1b
+20201416
+6fe0c183
+1fe17ee0
+1fe1fe17
+20201416
+6fe0c1a5
+67f08086
+d8c04186
+d8a08070
+20407d74
+6fe4419d
+98000000
+6ff40140
+67e4009e
+20205ca3
+18027e00
+67e4419d
+d8c08070
+d8a04186
+20407d74
+6ff08086
+67e0c1a5
+2020155d
+6ff08085
+1ff1fe00
+243a143f
+6fe1c174
+247a0000
+6ff08085
+1fe1fec0
+67f08085
+70800680
+6ff0812d
+c4008000
+6ff18149
+67e1c174
+20600000
+44d04014
+1b427e00
+20407e0a
+684a4164
+18467cff
+20610000
+1fed7e00
+1ff27e00
+9846fc00
+20407e61
+d84000c8
+20407e6f
+67e08096
+24341453
+1fe67e00
+6849c174
+9840fe00
+67e1c174
+58000000
+67e24164
+20600000
+d85fffff
+6fe0c17b
+793ffe07
+67e0c17b
+44d0c014
+2040155d
+6fe0c15c
+67e0c181
+6fe0c17f
+79207e07
+67e0c17f
+44d14014
+204012d1
+6fe14479
+20407e7a
+6fe24164
+9840fe00
+67e24164
+2040142e
+20401410
+6fe24182
+1fe22400
+6fe2c17d
+67f2004c
+1fef2200
+37d98200
+1b227e00
+67e34168
+70800502
+37d98200
+37d98200
+1a227e00
+67f0804f
+70800502
+37d98200
+37d98200
+6252004c
+70800520
+37d98200
+37d98200
+605a004c
+70800510
+37df8200
+44d1c014
+58000000
+1ce27c00
+2022948f
+6ff0813c
+6858813d
+98467c00
+2021148d
+18427e00
+9ce67e00
+1fe0fe01
+1fe0fe0a
+37d98200
+9e20fe00
+684a4160
+9840fe00
+6849c174
+984ffe00
+1fecfe00
+1ff1fe00
+1fe0fe6e
+68490163
+9846fc00
+20407e61
+1ff07e00
+18070400
+9841fe00
+684b4168
+20407dff
+18423200
+6fe34048
+20401073
+1b427e00
+67e3095c
+1ce27e00
+e7e08005
+6ff0811d
+1fe1fef0
+e7e08005
+20600000
+44d24014
+20401436
+6fe1c174
+207a0000
+6fe0c099
+207a0000
+6fe0c767
+203a14b6
+6fe0c6bc
+207a0000
+6fe0c6bd
+247a0000
+da600ab7
+20400a6e
+20628000
+2040156e
+247a0000
+6fe0c040
+2fe00e03
+242094e2
+6fe14042
+207a0000
+20758000
+44d2c014
+6848809d
+6fe14042
+984ffe00
+18518400
+184b0400
+98467e00
+684a4044
+9840fe00
+6848c15b
+98467e00
+1ff06000
+44d34014
+6fe1404e
+1fe37e00
+20407e26
+1e027e00
+20407e0c
+1b420400
+20407e0a
+20740000
+20407e1f
+44d3c014
+6fe0c17d
+98467c00
+20211456
+604a4160
+204031b6
+204053ac
+684a4160
+20201464
+44d44015
+6fe0c040
+c3800000
+c3818000
+6fe0c767
+203a14ea
+6fe0c6bc
+207a0000
+6fe0c427
+243a14ee
+6fe0c09b
+207a0000
+6fe14159
+207a0000
+6848c15b
+98467e00
+d8401d4c
+984ffe00
+202014d8
+44d4c015
+7855fc00
+6fe08030
+c4008000
+24369517
+20401512
+6fe140c8
+67e1003e
+6fe08047
+c2819525
+c5869525
+20405355
+243a1525
+6fe0c646
+c2809525
+6fe14471
+20407e7a
+243a1525
+70009d00
+c5869525
+6fe0c179
+203a1529
+1fe0ffff
+67e0c179
+20600000
+d8e00001
+20205842
+d8e00001
+20205846
+70415e00
+6fe1c16e
+1fe0fe01
+67e1c16e
+20600000
+44d54015
+684940c8
+18430400
+6fe1003e
+9840fe00
+67e1003e
+70009d00
+6fe1c171
+1fe0fe01
+67e1c171
+6fe0c15e
+1fe0fe01
+67e0c15e
+20600000
+70009d00
+6fe0c178
+67e0c179
+20600000
+6848c177
+6048809d
+20600000
+6fe0c17d
+247a0000
+70804206
+58000f0c
+20401543
+58030d40
+2040137f
+37d98200
+1e226000
+204012d1
+70804204
+2000000a
+37d98200
+1e227e00
+9e067e00
+1fe0fe30
+d84000ff
+20407e6f
+67e0c17d
+20007530
+20007530
+20007530
+20600000
+d8a00fff
+98a10a00
+6fe0c17a
+1fe17ef0
+1fed7e00
+98a1fe00
+67f1004c
+efe10006
+e7e10005
+58000001
+2020154f
+58000002
+37d98200
+67f08005
+37d98200
+37d98200
+20600000
+6ff20134
+67f2004c
+6ff08134
+1fe17e41
+6848c182
+9841fe00
+67f0804c
+58000020
+2020154f
+44d5c015
+6fe2009e
+67f2004c
+58000004
+2040154f
+6fe200a2
+67f2004c
+58000008
+2020154f
+6fe14157
+f9207e00
+67e14157
+20600000
+6fe14157
+f93ffe00
+67e14157
+20600000
+44d64015
+204031b4
+6fe14157
+1fe22200
+6fe0804c
+2feffe06
+7920a20b
+6fe08078
+6848807c
+9840fe00
+68488048
+9840fe00
+7d3a220a
+6fe1c4f3
+7d3a2201
+6fe1030e
+68490310
+9840fe00
+7d3a220d
+6fe44775
+7d3a220f
+6fe4477d
+7d3a220e
+6fe0c1db
+7d3a2208
+6fe0c09a
+2fe1fe0a
+2040958d
+1a227e00
+67e14157
+20600000
+6ff10112
+7d3a2206
+6ff1010e
+7d3a2205
+20600000
+6ff20138
+793ffe1b
+67f2004c
+2040154c
+2020137c
+6ff2013c
+793ffe14
+67f2004c
+2020154e
+474cc033
+7855fc00
+70029d01
+70028703
+70029e01
+5fffffff
+67e102a1
+18007e00
+67e0829f
+67e082aa
+67e1c16e
+67e1c171
+20401901
+7041f501
+7041f600
+7002bc01
+7002bd01
+70443500
+202019dc
+474d4033
+7834fc00
+70028803
+70443701
+70099e01
+5800ffff
+67e109a0
+18007e00
+67e2c6a4
+79207e27
+67e2c69f
+2020159b
+474dc033
+7854fc00
+58000017
+67e14382
+1fe0fe04
+67e14444
+70028801
+70442700
+70009d00
+20401626
+6fe102b5
+67e14394
+6fe10289
+1feffe05
+1ff1fe00
+67e102b5
+2020159b
+474e4033
+20401651
+6fe08287
+2feffe04
+79208032
+20403182
+6fe08288
+c28095d4
+202015e6
+474ec033
+7834fc00
+204019d3
+202115e3
+204016a2
+20401916
+7856fc00
+204017d4
+24768000
+6fe08005
+1fe0fe01
+67e08005
+204018c7
+7854fc00
+20600000
+2040161a
+7854fc00
+20600000
+474f4033
+7043dd00
+793f8030
+20407602
+20402064
+78577c00
+204019d3
+2021161a
+6fe082bc
+20401637
+204016a2
+204016fa
+242c160c
+2040162a
+203695f7
+c51815f7
+20201606
+474fc033
+6fe0c3dd
+1fe0fe01
+67e0c3dd
+c0061606
+204018c7
+20401916
+6fe082bd
+20401637
+204017e2
+20401979
+6fe1446d
+20407e7a
+2040160f
+20341614
+47504034
+2040202a
+20402021
+204078f2
+6fe082aa
+c281961a
+4750c034
+20401aa6
+2020105d
+78547c00
+c5157ec5
+c514fec5
+c5187ec5
+20600000
+47514034
+78377c00
+204017d8
+203695f7
+c51815f7
+20201606
+4751c034
+20401621
+20403243
+20401626
+20402072
+70095b15
+202078dc
+d8a044e9
+20407d90
+70029d00
+70028800
+70028700
+47524034
+70439c00
+70439b00
+20206f37
+4752c034
+6fe08005
+1fe0fe01
+67e08005
+6fe08287
+c3818000
+79207e03
+67e08287
+6fe14394
+67e102b5
+58000000
+67e243bc
+20600000
+1fe20400
+47534034
+18427e00
+c2801651
+c2809640
+c3011651
+c283964e
+c2811646
+20201651
+20401651
+7920002d
+793f802f
+70890103
+70892084
+20600000
+20401651
+7920002f
+793f802e
+70890105
+70892080
+70893020
+7089340a
+20600000
+20401646
+7920002e
+20600000
+4753c034
+783b7c00
+793f802d
+793f802f
+70890101
+70892080
+708925a7
+70893003
+70893358
+7089340a
+70893740
+708a6d09
+20600000
+47544035
+785b7c00
+793f8032
+70890100
+70892080
+708925a3
+70893003
+70893368
+70893409
+70893728
+708a6d09
+20600000
+7844fc00
+7843fc00
+6fe182af
+98001e00
+6fe08016
+1fed8400
+79200401
+18431c00
+20600000
+2040167c
+2040118b
+6fe1015d
+2040137f
+202011a2
+20369207
+c5181207
+2040167c
+20201201
+4754c035
+2040115d
+6fe082df
+243a168f
+6fe08016
+1fe67c24
+20211689
+18000400
+c1128000
+18000418
+c1130000
+1800044e
+20600000
+1fe67c0a
+2021168c
+1fe0fe01
+1fe3fe00
+1fe08402
+20600000
+6fe08016
+1fe38400
+20600000
+d84001f4
+207a0000
+d84000fa
+c1008000
+d8400096
+c1010000
+d8400064
+c1018000
+d840004b
+c1020000
+d8400032
+c1028000
+d8400028
+c1030000
+d8400014
+20600000
+47554035
+78287c00
+6fe202ab
+98001200
+204010ac
+204016d8
+58000200
+203496ac
+6fe10295
+1fe37e00
+6849015d
+9840fe00
+20401313
+1b427e00
+20600000
+4755c035
+20407d43
+67210987
+1a208c01
+efe08006
+c4000000
+1a208a1a
+efe10005
+1fe0fe01
+e7e10005
+20401844
+20401869
+20401872
+204016c2
+20407d51
+6f210987
+20600000
+1a208c19
+efe08006
+1a208a18
+e8408005
+9840fe00
+1fe67c24
+202116ca
+1fe0ffdb
+e7e08005
+20600000
+1a208c30
+efe28006
+18000400
+18007225
+c30016d2
+18408401
+1fe37e00
+c20016d0
+1840ffff
+1a208a22
+e7e08005
+20600000
+47564035
+6fe0829f
+98000e00
+684a82b7
+a84fffff
+202096ed
+6fe082a9
+98e67e00
+202116e3
+1fe60fff
+202016de
+18e27200
+18000e00
+a84fffff
+202096e8
+1f20f201
+1f227e00
+203a16ed
+18e08e01
+1f20f3ff
+202016e5
+18e27e00
+67e08016
+20600000
+203496f3
+37c18200
+20600000
+d9600ea0
+34730200
+20600000
+78487c00
+6fe143e5
+1fe21600
+20201700
+4756c035
+20401764
+78287c00
+6fe10295
+684a43bc
+98409600
+20401673
+47574035
+2040166a
+c5979708
+783cfc00
+2000001e
+2040166a
+19699600
+7856fc00
+7826fc00
+7830fc00
+78507c00
+19623600
+37c18400
+20371711
+1b420400
+604b0097
+242c179f
+4757c035
+78287c00
+d8404ea9
+6fe0c1f0
+984fb600
+20404d0d
+2037171e
+204017a3
+6fe08287
+c301971e
+684b0097
+20559444
+2040127f
+7823fc00
+7824fc00
+09800008
+19897e00
+67e0816b
+09800008
+19897e00
+67e0816c
+1fe27200
+20229743
+c519172f
+09800008
+19897e00
+e7e08005
+c200172a
+20201743
+18a22400
+204018c0
+6a20816c
+1a20a3fc
+24211797
+20401769
+1a420a00
+d8400000
+6f20816c
+1f20f3fc
+20229741
+09800008
+19897e00
+e7e08005
+18408401
+18417c0f
+20429786
+c200173a
+2040178e
+1a420a00
+47584036
+09800018
+1fef7e00
+1ff17e00
+e7e18005
+78287c00
+204017b1
+2023179b
+c5991755
+6fe0816c
+203a1755
+1fe0fffc
+67e0816c
+20406dbb
+6ff08108
+c3039797
+1800700c
+65e20273
+20404d0c
+7836fc00
+793f8030
+20406dbd
+6fe082bc
+7d3e7e07
+67e082bc
+4758c036
+68488017
+1840a202
+c5169761
+1840a202
+7846fc00
+2040115d
+202011c6
+c6990000
+20406e2f
+1800700c
+20406e37
+20206e36
+7080d500
+7080d601
+6fe0816b
+1fe17e03
+67f080d7
+5800016d
+67f100d1
+67f100d3
+6a20816c
+1a20a3fc
+684ac6a4
+280ffe0f
+2040977c
+20406cc9
+58000000
+67f100da
+70800a06
+70800a07
+20600000
+18467c00
+20229781
+184085ff
+79200427
+20600000
+58ffffff
+1ff07e00
+d840ffff
+98418400
+20600000
+18a22400
+6fe0816c
+1fe0fffc
+98467c00
+20628000
+605900da
+1a420a00
+20600000
+09800020
+1fef7e00
+1fecfe00
+e7e20005
+18a22400
+18007000
+1fe25e00
+605900da
+20600000
+202017a1
+204017b1
+20400e7c
+20201755
+20404d0e
+c518179f
+79200030
+20201758
+793f8030
+202017a1
+20406dbd
+20200e7c
+c51797a9
+c51697ad
+6fe10165
+1fe25200
+1c225000
+20600000
+6fe10169
+1fe25200
+1c20d001
+20600000
+6fe10167
+1fe25200
+1c225000
+20600000
+6fe0816c
+1fe08405
+18498400
+6fe082bc
+c51797b8
+c28017ba
+c28097bb
+203e17bd
+202017c0
+202017c5
+18430400
+202017c5
+18408403
+18438400
+202017c2
+18408403
+18498400
+58000028
+98408400
+202017c5
+6fe0c1f0
+984f8400
+da204e20
+9a2ffe00
+98460400
+1b627e00
+98463600
+20600000
+204017e4
+68488017
+2040118b
+204011a2
+78287c00
+d960157c
+20201701
+47594036
+6fe082bd
+20401637
+204017e4
+6fe082bc
+20401637
+68488017
+2040118b
+204011a2
+78287c00
+d960157c
+c5979701
+d9602134
+20201701
+204017e4
+20200e7c
+4759c036
+2040166a
+20401678
+20404d13
+79202a00
+782efc00
+78307c00
+7850fc00
+204016f0
+785d7c00
+c5179826
+c5169838
+19317e00
+1fecfe00
+1ff1fe00
+08008628
+7823fc00
+7824fc00
+475a4036
+6fe0c1f5
+08008608
+efe08006
+1fe27200
+08008608
+1f267c00
+20229805
+6ff0800a
+203a1801
+c519181b
+d8c041f7
+efe08006
+08008608
+c2001802
+78247c00
+08008618
+78447c00
+c597980c
+7843fc00
+58000000
+08008603
+37d38200
+20000064
+784efc00
+785c7c00
+2040115d
+20404d11
+6fe0c1f5
+1fe17e03
+c1818000
+6fe0c39c
+c0011901
+c1828000
+6fe0c1f7
+c00298fc
+20600000
+1f20f3fc
+1f220400
+20406da8
+d8c041f7
+efe08006
+08008608
+c200181f
+20406dad
+1de27e00
+08008620
+20201805
+df20000a
+5800003c
+08008608
+c2001827
+784efc00
+783c7c00
+19317e00
+1ff17e00
+1ff1fe00
+08008620
+c5171835
+58000001
+08008605
+783d7c00
+202017f4
+58000000
+08008605
+202017f4
+6fe0c1f0
+1fe37200
+20000002
+c200183a
+19317e00
+1fecfe00
+1ff18400
+18427e00
+08008608
+18427e00
+08008628
+202017f4
+da601848
+da40185c
+d8e00005
+202018a0
+1a208c04
+e8420006
+1a208c37
+efe08006
+1a208a2b
+e7e08005
+efe10006
+1febfe00
+98409600
+1a208a04
+19627e00
+e7e20005
+efe10006
+1febfe00
+1a208a02
+e7e10005
+efe20006
+1a208a2c
+e7e20005
+202019df
+efe08011
+793ffe03
+e7e08011
+6fe102b5
+67e14394
+62210970
+70095b44
+204078dc
+6a210970
+1a208c2e
+efe10006
+67e14394
+20600000
+da600000
+da40186d
+d8e00006
+202018a0
+1a208c37
+efe28006
+1a208a30
+e7e28005
+202016cc
+da600000
+da401876
+d8e00007
+202018a0
+1a208c37
+efe08006
+20401883
+e7e08005
+1a208c38
+efe08006
+20401891
+e7e08005
+62210970
+70095b42
+204078dc
+6a210970
+20600000
+205a188b
+1a208a35
+24748000
+6848c442
+284ffe07
+7920fe07
+1a208a36
+20600000
+1a208c35
+efe08006
+24748000
+1a208c36
+efe08006
+20600000
+205a189a
+6848c442
+284ffe07
+7920fe07
+1a208a36
+24748000
+793ffe07
+1a208a35
+20600000
+1a208c36
+efe08006
+24748000
+1a208c35
+efe08006
+20600000
+efe08011
+afec0000
+20608000
+1a208c1a
+e8410006
+1a208c20
+efe10006
+98467e00
+202298af
+242118b4
+1fe67c01
+202298ad
+20600000
+1a627e00
+20207e7a
+efe08011
+f93ffe00
+e7e08011
+1a427e00
+20207e7a
+1a208c1a
+efe10006
+1a208c20
+efe10006
+98467e00
+d840ffff
+98467c00
+202298af
+d840f000
+98467c00
+242118af
+20600000
+6848829e
+6fe0816b
+1fe37e00
+9842fe00
+2feffe02
+7920800f
+20600000
+475ac036
+204019dc
+c6180000
+204018ee
+6fe0816b
+2feffe04
+7920802a
+1fe37e00
+9842fe00
+2feffe02
+7920800f
+c6078000
+6fe0816c
+203a18e0
+6fe08287
+c30218e0
+684a0273
+6fe246a9
+98467c00
+2022937c
+604a46a9
+6fe2c6a4
+1fe0fe01
+79207e27
+67e2c6a4
+6848829e
+79400402
+6048829e
+6fe0c3c0
+c4030000
+475b4036
+6fe0816c
+207a0000
+6fe0816b
+2fe00601
+20209ed7
+2fe00602
+20209ec5
+20600000
+475bc036
+6848829e
+284c0005
+20608000
+6fe0816b
+1fe3fe00
+9842fe00
+c4018000
+793f8405
+79400403
+6048829e
+28400603
+24608000
+20600000
+6fe08287
+79207e04
+67e08287
+79200032
+20600000
+475c4037
+70439c00
+dfe00000
+67e246a9
+67e2c69f
+79207e27
+67e2c6a4
+6fe08287
+793ffe04
+67e08287
+793f8032
+20600000
+da200001
+6fe0816b
+c3830000
+da200000
+20600000
+18c20a00
+68494444
+18a20c00
+20600000
+475cc037
+6fe0829e
+c3828000
+20401937
+20401b0d
+203a195b
+efe10006
+e8410006
+18422200
+9a267e00
+20401912
+20407ebb
+1fe20400
+e8208006
+1a227e00
+98c0fe00
+67e1097b
+2040194b
+2040195d
+20401b0d
+efe10006
+1fe22200
+18c22600
+e8410006
+18422400
+9a467e00
+20401912
+20407ebb
+9a40fe00
+e7e10013
+9a267c00
+24628000
+20201b26
+2040193e
+c6148000
+6fe0c3c0
+c3011949
+20401b10
+203a1949
+20201947
+20401b0d
+203a1949
+efe10006
+e8410006
+98462200
+20401912
+18427e00
+9a267c00
+20211949
+79200029
+20600000
+793f8029
+20600000
+1a227e00
+207a0000
+d8200001
+20600000
+475d4037
+18408401
+20401a0e
+18c08dfe
+efe10006
+d8402902
+98467c00
+24628000
+18c08c01
+18c22200
+efe08006
+20600000
+18000400
+18000201
+475dc037
+6048c1f6
+6848829e
+79200405
+18417efc
+9821fe00
+67e0829e
+1fe17e1f
+280ffe29
+7920fe04
+67e0c1f5
+6fe0c1f5
+28200601
+2420996d
+6fe0c1f6
+207a0000
+c5191973
+6f20c1f6
+6fe1097b
+1fe20c00
+d8a041f7
+20207dc7
+20406e2f
+20206d8f
+d8e00000
+20201566
+d8e00000
+2020156a
+475e4037
+c6078000
+c6180000
+6fe0816b
+1fe17e03
+67e0c3d3
+6fe0816c
+207a0000
+5800016d
+67e143d8
+475ec037
+6fe0c3d3
+c001a0b8
+20401993
+24341975
+20401977
+58000000
+67e143d6
+6fe143d8
+1fe08c02
+475f4037
+efe10006
+c0021c7d
+c0031f39
+c0029efb
+20600000
+6fe0c3d3
+c00119a2
+c00099b9
+20600000
+20407ec5
+d8400004
+9fe67c00
+20628000
+d8400005
+9fe67c00
+20628000
+d8400006
+9fe67c00
+20628000
+20207ec7
+6fe143d8
+1fe20c00
+efe10006
+67e143d4
+efe10006
+20401997
+24740000
+6848816c
+604943d6
+6fe143d4
+1fe0fe04
+98467c00
+2022fec5
+6f20816c
+d8a01000
+6fe143d8
+1fe20c00
+20407dc7
+20207ec7
+20407ec5
+6fe143d6
+247a0000
+20207ec7
+204019b5
+24740000
+6fe143d6
+d8a01000
+98a0a200
+6848816c
+9840fe00
+67e143d6
+6f20816c
+1a220a00
+6fe143d8
+1fe20c00
+20407dc7
+58001000
+67e143d8
+6fe143d4
+1fe0fe04
+684943d6
+98467c00
+2022fec5
+20207ec7
+20407d5e
+d8a04359
+20201ebf
+6fe1446b
+20207e7a
+684a02a3
+2040136b
+98461600
+19627e00
+684902b5
+18520400
+18438400
+98467e00
+20600000
+2040136b
+67e202a3
+20600000
+475fc037
+1a208c50
+efe08006
+20401692
+1a208c02
+efe10006
+984ffe00
+68490163
+984ffe00
+d84f4240
+9846fc00
+d8400682
+6fe0c1f0
+984f8400
+1a208c2b
+efe08006
+984ffe00
+9840fe00
+67e243bc
+6fe140c8
+20407e64
+18078400
+9840fe00
+1a208a0e
+e7e10005
+20600000
+47604038
+6fe1099e
+98002400
+6fe109a0
+98002600
+6fe14396
+98000c00
+78347c00
+20600000
+efe10006
+1fe17eff
+207a0000
+9a467c00
+24610000
+9a667c00
+20628000
+20211a0c
+18007c01
+20600000
+18007e00
+20600000
+20401a11
+20229a1e
+20600000
+4760c038
+6fe14396
+98000c00
+efe10006
+1fe17eff
+207a0000
+98467c00
+20628000
+efe08006
+98c08c00
+efe08006
+98c08c00
+20201a14
+efe08006
+98c08c00
+20600000
+47614038
+6fe14396
+98000c00
+efe10006
+1fe17eff
+207a0000
+efe08006
+98c08c00
+18c08dfe
+efe10006
+98467c00
+20628000
+efe08006
+98c08c00
+20201a24
+6fe14396
+98000c00
+efe10006
+1fe17eff
+207a0000
+1fe08401
+efe08006
+98c08c00
+efe08006
+98c08c00
+18c20a00
+20201a32
+6fe109b4
+20201a40
+4761c038
+6fe14396
+98000c00
+efe10006
+1fe17eff
+203a1a4b
+98467c00
+20229a4c
+efe08006
+98c08c00
+efe08006
+98c08c00
+20201a41
+20207ecf
+efe08006
+67e089ba
+1fe27200
+d8a009bb
+20407dc7
+efe08006
+67e089b3
+20407d5e
+20207ed1
+47624038
+20401a58
+20201a6a
+d8402a00
+20401a21
+207a0000
+efe08006
+18c20a00
+6848c2f7
+18427200
+98467c00
+24211a67
+98460400
+d8c042f8
+20407dc7
+18427200
+24429aa2
+20600000
+1fe27200
+d8c042f8
+20207dc7
+da604407
+da2043e8
+20401a77
+58000000
+79347e00
+67e0895c
+da604427
+da204408
+20401a77
+20740000
+6fe0895c
+203a137c
+20600000
+4762c038
+20407ec5
+20407da1
+da400000
+d8a0098f
+20401a91
+6fe0c2f7
+1fe08401
+9a40a200
+1a20a202
+1a267c1f
+24211a8f
+e0408005
+d8400009
+e0408005
+98007200
+20407dc7
+1a222400
+1a427e00
+67e0898e
+d8c0098e
+5fffffe0
+9a608a00
+20207d7d
+20407ec7
+20201a89
+efe08011
+207a0000
+1fe0fe01
+e8408006
+18467c09
+20229aa0
+9a40a400
+1a220c00
+98007200
+20407dc7
+18c22200
+1a227e00
+9a667c00
+20610000
+20201a91
+9a20a200
+20201a9c
+58000020
+e7e08005
+c2001aa2
+20600000
+47634038
+7855fc00
+20371aaa
+24369ab8
+20401512
+6fe140c8
+67e10295
+24369525
+c5079525
+6fe0816c
+243a1525
+6fe0c1f6
+243a1525
+6fe0c3c0
+c2829525
+6fe08287
+c2829525
+20201504
+684940c8
+18430400
+6fe10295
+9840fe00
+67e10295
+2020151d
+d8e00000
+20201ad6
+d8e00000
+20201ada
+d8e00001
+20201ad6
+d8e00001
+20201ada
+d8e00002
+20201ad6
+d8e00002
+20201ada
+d8e00003
+20201ad6
+d8e00003
+20201ada
+d8e00004
+20201ad6
+d8e00004
+20201ada
+d8e00005
+20201ad6
+d8e00005
+20201ada
+6fe0c3c0
+f9207e00
+67e0c3c0
+20600000
+6fe0c3c0
+f93ffe00
+67e0c3c0
+20600000
+58112233
+67e1c3c1
+58445566
+e7e18005
+58778899
+e7e18005
+58001122
+e7e18005
+58334455
+e7e18005
+58000066
+e7e08005
+20600000
+59000302
+67e24350
+58010010
+67e1c354
+70439d01
+20600000
+da200000
+d8200001
+20201b02
+d8200003
+20401b02
+1a427e00
+e7e08005
+20600000
+18000202
+1a20a204
+20401b02
+1a20a3fc
+1a227e00
+e7e10005
+1a427e00
+e7e10005
+20600000
+4763c038
+1a20a205
+204052ff
+1a20a3fb
+1a227e00
+e7e10005
+58000000
+e7e10005
+18227e00
+e7e08005
+20600000
+20405339
+1fe20c00
+20600000
+6fe144f1
+20600000
+20401b15
+1fe20c00
+20600000
+6fe144f4
+20600000
+20401b0d
+18c08c05
+20600000
+20401b0d
+18c08c09
+20600000
+20401b12
+18c08c09
+20600000
+20401b12
+18c08c05
+20600000
+2020534f
+20205352
+20205355
+2020533e
+67e4444c
+20201b39
+184122ff
+20401b2d
+184ca200
+20201b33
+6220c442
+2a2ffe01
+20409b35
+2a2ffe02
+20409b37
+20600000
+6220c443
+20201b2e
+d8e00008
+20201b3b
+d8e0000b
+20201b3b
+d8e00005
+20201b3b
+6fe4443a
+f9207e00
+67e4443a
+20600000
+7002bc01
+7002bd01
+20401651
+20401b45
+20401bc3
+2020165e
+47644039
+6fe0c3e2
+c1808000
+d8e00002
+20407de9
+247a0000
+6fe143e3
+684943e5
+98467e00
+d8e00002
+20407ddb
+7854fc00
+20401be4
+20401b64
+24768000
+4764c039
+6fe3016d
+67e30297
+6fe08002
+1fe0fe01
+67e08002
+20401b6b
+20748000
+20401c0b
+24768000
+6fe08004
+1fe0fe01
+67e08004
+6fe48173
+67e48a01
+20600000
+47654039
+20401c56
+204016f6
+6fe08001
+1fe0fe01
+67e08001
+20600000
+4765c039
+6fe082e0
+c18d8000
+6fe30297
+684b436b
+98467c00
+24628000
+20400a48
+24628000
+20401b7b
+204015ae
+7041db00
+7002d700
+7043e200
+7002e000
+20200a30
+47664039
+18007fff
+38080001
+67e282b7
+da200287
+204016cc
+18007204
+d8a002ab
+20405a90
+6fe14378
+67e102b5
+180a7e00
+1fe17e0f
+1fe67c04
+20211b86
+67e082a0
+67e085a8
+4766c039
+684941f3
+60490289
+18422600
+1c40fe07
+9a66fc00
+20407e64
+18072200
+9a267e00
+9a60fe00
+684941f1
+9840fe00
+67e2028b
+9c462200
+1a20a3fa
+da402205
+6fe0c371
+7d3a2406
+6fe0c36a
+7d3a2407
+1a427e00
+67e141f5
+6fe3437a
+e7e30005
+6fe30297
+e7e30005
+6fe202ab
+e7e20005
+180a7e00
+e7e10005
+180a7e00
+e7e08005
+18007e02
+e7e08005
+1a2b7e00
+e7e10005
+1a6b7e00
+e7e10005
+47674039
+58000000
+e7e10005
+6fe14378
+e7e10005
+6fe282b7
+e7e28005
+6fe082a0
+d84000a0
+9841fe00
+e7e08005
+204017e2
+580041f5
+1fe08c12
+efe18006
+67e182af
+20600000
+70001624
+70098e00
+6fe0c427
+207a0000
+d8e00000
+20407de9
+247a0000
+4767c039
+78287c00
+20401be4
+20401c56
+20401bed
+24369bd7
+6fe08003
+1fe0fe01
+67e08003
+6fe0816b
+1fe17e0f
+c0019c1c
+c0029c2e
+4768403a
+6fe0898e
+6848c432
+98467c00
+24229bc5
+180a7e00
+d84001ff
+98417e00
+1fe0fefa
+20407d81
+d8e00000
+6fe14428
+20207ddb
+4768c03a
+7854fc00
+588e89be
+1fed7e00
+1fe1fed6
+98001200
+58555555
+67e182af
+202010ac
+4769403a
+6fe0c42a
+6848c42b
+18520400
+184b8400
+98408400
+6048c1f5
+c0009bfe
+6848c3e7
+1840fe06
+67e0c1f6
+6fe3437a
+67e341f7
+18427200
+d8c043e8
+20407dc7
+20201c04
+5800000c
+67e0c1f6
+6fe3437a
+67e341f7
+6fe341dd
+e7e30005
+4769c03a
+6fe08000
+1fe0fe01
+67e08000
+db600708
+7856fc00
+202017cd
+476a403a
+6fe0c433
+c1808000
+6fe08000
+1fe0fe01
+67e08000
+d8400c03
+6fe0c434
+7d3a0406
+1a227e00
+7d3a0407
+604941f5
+6fe3437a
+e7e30005
+6fe30297
+e7e30005
+202017cd
+6fe30173
+684b437a
+98467c00
+24628000
+d8400004
+6fe0c42b
+7d3a0406
+6048c1f5
+6848c407
+1840fe06
+67e0c1f6
+6fe3437a
+67e341f7
+d8c04408
+18427200
+20407dc7
+204017e2
+20201bd7
+6fe30173
+684b437a
+98467c00
+24628000
+2040190d
+6220c36a
+6fe3016d
+67e30297
+6fe40179
+67e402ab
+68490181
+476ac03a
+184b8400
+6fe10183
+1febfe00
+67e10289
+67e2028b
+98467e00
+1fe0d1fe
+6fe48185
+67e482b3
+6fe0818e
+1fe1041f
+604882a0
+1ff18400
+18430400
+604882d7
+da200287
+204019df
+da200287
+204016cc
+204015ba
+20400a48
+24628000
+476b403a
+2040105d
+20401f18
+70095b14
+204078dc
+20200a30
+476bc03a
+6fe08016
+c0129c5c
+c0131c62
+c0139c68
+20201c68
+6848c432
+284ffe01
+20209c73
+284ffe02
+20209c78
+20201c6e
+6848c432
+284ffe02
+20209c78
+284ffe00
+20209c6e
+20201c73
+6848c432
+284ffe00
+20209c6e
+284ffe01
+20209c73
+20201c78
+70001625
+6fe0898e
+79207e00
+67e0898e
+20600000
+70001626
+6fe0898e
+79207e01
+67e0898e
+20600000
+70001627
+6fe0898e
+79207e02
+67e0898e
+20600000
+efe18006
+67e1c436
+c0011c94
+c0019c9c
+c0021c9f
+c0031cc8
+c0041d15
+c0051d93
+c0061dc2
+c0081dd8
+c0091e1b
+c00b1e3f
+c00c1e52
+c00f1e57
+c0291e5b
+20600000
+18002203
+20401e80
+58000002
+e7e08005
+6fe14380
+e7e10005
+20600000
+20401c9c
+18002203
+20401e80
+58000003
+e7e08005
+6fe14380
+e7e10005
+20600000
+1fecfe00
+67e14382
+20600000
+20401eb0
+20407ec5
+20201ca2
+d9600003
+204019f9
+20401a02
+203a1cc6
+24211cc3
+18c08dfe
+20407d5e
+20407d55
+24341cb6
+20407d43
+20407ec7
+6162096c
+18002214
+20401e80
+6962096c
+20407d51
+58000005
+e7e08005
+58000001
+e7e08005
+20407d58
+efe10006
+1fe17eff
+e7e10005
+efe08006
+1fe27200
+20407dd4
+20407d5b
+196097ff
+20229cc6
+efe08006
+98c08c00
+20201ca4
+efe08006
+98c08c00
+20201cc0
+20341e74
+20201ea3
+20401eb0
+efe10006
+67e1435a
+20407d5e
+d8a009a2
+6fe143d4
+1fe0fff9
+20401ec1
+20201cdb
+78547c00
+6849099e
+6fe109a0
+98467c00
+24211cd8
+18427e00
+c1800000
+78347c00
+7002d801
+20201e75
+20401cd1
+20740000
+6849435a
+58002800
+98467c00
+20229ce2
+20201e74
+70443900
+6849099e
+60490964
+20401a3e
+243a1e74
+68490964
+20401a3e
+243a1cfb
+18c22200
+6fe089b3
+1fe27200
+684889a2
+98467c00
+24229cf7
+da4009a3
+20407e66
+20229cfe
+6fe109bb
+6849435a
+98467c00
+20229d06
+6fe10964
+1fe0fe01
+67e10964
+20201ce7
+6fe0c439
+c0009d06
+20201e74
+6fe109bb
+6849435a
+98467c00
+24229cf7
+70443901
+68490964
+604909b6
+20201cf7
+6fe0c439
+c0001cf7
+70443902
+68490964
+184085ff
+604909b8
+da200005
+20401e80
+58000007
+e7e08005
+6fe109b6
+e7e10005
+6fe109b8
+e7e10005
+20600000
+20401eb0
+20401ebd
+20201d18
+6849099e
+60490964
+204019f9
+20401a11
+18c08dfe
+18c27e00
+67e109b4
+684909a3
+58002a00
+98467c00
+20229d7f
+58002803
+98467c00
+24229d6b
+d9600002
+20401e86
+24211d48
+68490964
+20401a3c
+243a1d48
+20401e8a
+24229d46
+24341d4a
+78547c00
+da200014
+20401e80
+58000009
+e7e08005
+18a26000
+18a08a01
+20401d58
+20401e82
+20401a3c
+20401d5f
+6fe089ba
+1fe0a205
+e2208030
+1a267c07
+2442fec9
+2042fecb
+20401eb5
+9a26fc00
+20407e64
+18079600
+196097ff
+20229d48
+20401e82
+20201d27
+20341e74
+20201ea3
+20401e95
+20401e82
+20401a3c
+20401e09
+243a1d48
+20407d55
+6fe10964
+1fe0ffff
+e7e10005
+20401e9f
+20401d5f
+196097ff
+20229d48
+20201d46
+6fe10964
+e7e10005
+6fe089b3
+1fe27200
+20407d58
+20407dc7
+20207d5b
+20407d55
+6fe10964
+e7e10005
+20407d5b
+6fe089ba
+1fe27200
+20407d55
+20407d58
+9f260c00
+18c08dff
+20407dc7
+20207d5b
+20401a21
+203a1e74
+18c22600
+18c08dfb
+efe10006
+67e10964
+da200014
+20401e80
+58000009
+e7e08005
+efe08013
+1fe27200
+1fe0fe02
+e7e08005
+6fe10964
+e7e10005
+1a608c01
+20407dc7
+20407d5b
+20201ea3
+d8402a00
+20401a21
+207a0000
+18c08dfb
+efe10006
+67e10964
+da200014
+20401e80
+58000009
+e7e08005
+6fe0c2f7
+1fe27200
+1fe0fe02
+e7e08005
+6fe10964
+e7e10005
+d8c042f8
+20407dc7
+20407d5b
+20201ea3
+20401e39
+68494437
+6fe0c3c0
+c2819db8
+20401a11
+24229e74
+20541dbe
+20740000
+20401a1e
+18c08dfe
+efe10006
+d8402a00
+98467c00
+20229dae
+efe08006
+1fe67c16
+20211da5
+18007e16
+1fe22600
+20407d5e
+1a60a201
+20401e80
+5800000b
+e7e08005
+1a627200
+20407d58
+20207dd4
+20407d5e
+6fe0c2f7
+1fe0a201
+20401e80
+5800000b
+e7e08005
+6fe0c2f7
+1fe27200
+d8c042f8
+20207dd4
+6fe143d1
+98467c00
+24229d97
+24341d97
+7002d805
+20201e75
+18c08dfe
+efe10006
+c2871dbc
+20207ec7
+efe10006
+67e109a2
+da200014
+20401e80
+5800000d
+e7e08005
+6fe109a2
+98002200
+68494437
+20401a0e
+203a1e74
+efe08006
+9a267200
+24211e74
+1f267c16
+20211dd3
+18007216
+1a227e00
+98c08c00
+20407dc7
+20407d5b
+20201ea3
+20401eb0
+20401ebd
+20201ddb
+d9600002
+6849099e
+60490964
+20401a11
+18c08dfe
+18c27e00
+67e109b4
+20401e86
+24211e11
+68490964
+20401a3c
+243a1e14
+20401e8a
+24229e07
+19627e00
+c0001e14
+24341dfd
+78547c00
+da200014
+20401e80
+58000011
+e7e08005
+6fe089b3
+1fe0a204
+e2208005
+20407d5b
+1a267c06
+2442fec9
+2042fecb
+20401eb5
+9a26fc00
+20407e64
+18079600
+20201e03
+20401e0b
+243a1e14
+6fe10964
+1fe0ffff
+67e109b8
+20401e9a
+6fe10964
+67e109b6
+20401e95
+196097ff
+20401e82
+20201de2
+6fe089ba
+20201e0c
+6fe089b3
+20361e0f
+1fe0fffe
+20600000
+1fe0fff0
+20600000
+6fe10964
+67e109b8
+20201e18
+6fe10964
+1fe0ffff
+67e109b8
+20201e18
+20341e74
+20401e9a
+20201ea3
+18c22200
+6fe143d4
+1fe0a5fd
+204019d1
+20401e39
+68494437
+20401a11
+24229e37
+20541e33
+20740000
+6fe0c3c0
+c3021e2e
+68494437
+6fe143d1
+98467c00
+24229e2e
+20401e39
+24341e2e
+20201dbc
+18002201
+20401e80
+58000013
+e7e08005
+20600000
+18c08dfe
+efe10006
+c2879dbc
+20207ec7
+7002d801
+20201e75
+20407ec7
+6fe0c39d
+c1000000
+6fe0c040
+c3820000
+20207ec5
+18c0a202
+6fe143d4
+1fe0a5fb
+204019d1
+20201e44
+6fe143d4
+1fe22200
+20401e80
+58000017
+e7e08005
+6fe14437
+e7e10005
+6fe143d4
+1fe0f3fb
+6fe143d8
+1fe08c07
+efe10006
+e7e10005
+20207dc7
+18002201
+20401e80
+58000019
+e7e08005
+20600000
+6fe0c435
+793ffe00
+67e0c435
+20600000
+18c22200
+6fe143d4
+1fe0a5fd
+202019d1
+18422600
+1a20a203
+20401e80
+1a20a3fd
+5800001b
+e7e08005
+1a620400
+e0410005
+20600000
+6fe0c435
+79207e00
+67e0c435
+18422600
+1a20a203
+20401e80
+1a20a3fd
+5800001d
+e7e08005
+1a620400
+e0410005
+20600000
+7002d80a
+18002205
+20401e80
+58000001
+e7e08005
+6fe0c436
+e7e08005
+6fe14437
+e7e10005
+6fe082d8
+e7e08005
+20600000
+18002404
+20201af9
+68490964
+18408401
+60490964
+20600000
+68490964
+6fe109a0
+98467c00
+20600000
+684889a2
+da2009a3
+6fe089ba
+1fe27200
+98467c00
+24628000
+da4009bb
+20207e66
+6848c359
+da20435a
+20201e8c
+6fe089b3
+67e08a01
+1fe27200
+20407d58
+20207dc7
+20407d55
+6fe109b6
+e7e10005
+6fe109b8
+e7e10005
+6fe08a01
+1fe27200
+20407dc7
+20207d5b
+476c403b
+20407d55
+20401b1d
+18a27e00
+98c62200
+20401b20
+1a227e00
+e7e10006
+1a20a204
+20401b12
+1a227e00
+e7e08006
+20600000
+1fecfe00
+67e1099e
+efe10006
+67e109a0
+20600000
+6fe14382
+1fe0fffe
+68494380
+184085fe
+20407ebb
+d84000f0
+20407ebb
+20600000
+20407d5e
+d8a009a2
+6fe143d4
+1fe0fffb
+e7e08005
+1fe27200
+20407d58
+20207dc7
+6fe1016f
+c1820000
+6fe0c435
+79207e01
+67e0c435
+6fe18171
+67e1c436
+7920000f
+c0091ee0
+c0291ee5
+c00c1e52
+c0011c94
+c00f1e57
+793f800f
+6fe0c435
+793ffe01
+67e0c435
+20600000
+6fe0c435
+c4008000
+7920000f
+20401eef
+20401ef5
+20541ed3
+6fe0c436
+c0091e1f
+20600000
+20401ee5
+20201ee2
+20401ef5
+24740000
+20201e1f
+20401ee8
+da200174
+202019d1
+6fe0816c
+1fe0a5f9
+1fe0fffc
+67e143d6
+6849016d
+604943d4
+20600000
+6a40816c
+6fe143d6
+9a408400
+604943d6
+da20016d
+202019d1
+20407ec7
+6fe143d6
+684943d4
+98467c00
+24628000
+20207ec5
+efe08006
+e8408006
+e8410006
+c0099f00
+20600000
+efe10006
+67e143db
+70095b40
+202078dc
+da20000c
+da600012
+20401f0c
+58000008
+e7e10005
+6fe44372
+e7e40005
+20600000
+20401f14
+da400005
+20401af9
+1a627e00
+e7e08005
+6fe0c3da
+e7e08005
+20600000
+6fe0c3da
+1fe0fe01
+67e0c3da
+c1800000
+7043da01
+20600000
+6fe0c39d
+c0001f29
+c0009f2c
+c0011f2e
+c0409f22
+c0411f24
+c0419f27
+20600000
+7043530d
+20201f2a
+7043530d
+70435101
+20600000
+7043530d
+20201f2f
+70435300
+70435103
+20600000
+70435305
+20201f2a
+70435305
+70435100
+20600000
+6fe0c6bb
+79207e00
+67e0c6bb
+20600000
+6fe0c6bb
+793ffe00
+67e0c6bb
+20600000
+efe08006
+c0009f4d
+c0019f74
+c0021f95
+c0029fa2
+c003a00a
+c0041ff6
+c004a006
+c005200a
+c005a00a
+c006200b
+c006a010
+20600000
+18002202
+204020b6
+5800000b
+e7e08005
+6fe0c353
+e7e08005
+20600000
+67e0c349
+efe30006
+e7e30005
+6fe0c39d
+c0001fa7
+20401f6f
+6fe0c6b9
+203a1f59
+6fe0c34c
+c301b281
+6fe0c39d
+c303b281
+70439b03
+6fe0c34a
+c0001f61
+c0009f61
+c0019f61
+6fe0c39d
+c0011f64
+c1418000
+dfe00000
+67e2439e
+20600000
+6fe0c3c0
+c2801f6d
+da20439e
+1a220a00
+df200003
+20405a90
+6fe143a0
+1fe17e07
+67e143a0
+70095b34
+202078dc
+18002207
+204020b6
+6fe3c350
+e7e38005
+20600000
+70439b05
+d8a04327
+20407d7f
+6fe0c39d
+c0419f7c
+c0021f7f
+c0421f81
+20201f84
+70439802
+70439908
+20600000
+70095b43
+202078dc
+6fe2439e
+203a1f7f
+20201f7c
+70439b06
+6fe0c39d
+c2839f8d
+20406cba
+18002211
+204020b6
+58000003
+e7e08005
+20206e3c
+d8a04337
+20405a8f
+20406ae3
+18002211
+204020b6
+58000003
+e7e08005
+20206b1f
+18c22200
+6fe0c39d
+c2839fa9
+1a220c00
+20406cb2
+20229fbe
+7002d904
+18002202
+204020b6
+58000005
+e7e08005
+6fe082d9
+e7e08005
+18000e0a
+20407dda
+70439b00
+70095b30
+202078dc
+7002d905
+20201f9c
+d8a00277
+1a220c00
+20407d7f
+6fe0c39d
+c0419fb5
+c0421fb5
+20406a6d
+20401fc3
+6fe0c39d
+c1c10000
+70095b3b
+202078dc
+20406ad8
+d8a009be
+20406b1f
+da2009be
+da404327
+df200010
+20407e66
+24229f9b
+20201fc3
+20406cae
+70095b31
+204078dc
+70432601
+70439b09
+18002211
+204020b6
+58000004
+e7e08005
+d8c04337
+20207d7f
+18002211
+204020b6
+58000006
+e7e08005
+6fe0c3c0
+c2809fd1
+d8c04316
+20207d7f
+d8c043c1
+20207d7f
+d8a043a2
+1800720a
+20405a90
+1800220b
+204020b6
+58000007
+e7e08005
+6fe143a2
+e7e10005
+6fe443a4
+e7e40005
+20600000
+18002211
+204020b6
+58000008
+e7e08005
+58000000
+e7e40005
+e7e40005
+20600000
+18002208
+204020b6
+58000009
+e7e08005
+6fe0c371
+e7e08005
+6fe3437a
+e7e30005
+20600000
+7002d908
+20201f9c
+6fe0c355
+6848c355
+98417e00
+20600000
+d8a043ac
+20407d7f
+20401ff2
+2fec0001
+20209ff0
+6fe0c09a
+c1850000
+20402000
+24740000
+2020328f
+20407ec7
+6fe0c36a
+c1000000
+6fe0c34e
+c4008000
+20207ec5
+20401ff2
+2fec0001
+20209ff0
+20600000
+20600000
+d8a00880
+20407d72
+70439802
+70439901
+20600000
+d8a00930
+20407d7f
+70439906
+70439802
+20600000
+18002241
+204020b6
+5800000c
+e7e08005
+d8c046df
+20207d72
+20406a84
+18002211
+204020b6
+5800000d
+e7e08005
+20206b1f
+6fe0c39b
+c17f8000
+d8400003
+98467c00
+24610000
+d8e0000a
+20407de9
+247a0000
+20201ff0
+476cc03b
+20401b24
+247a0000
+6fe0c39b
+c0002037
+c000a03d
+c0012037
+c001a03f
+c004a043
+c005a053
+c0062055
+c006a05c
+20600000
+6fe0c39c
+c1820000
+70439cff
+70439bff
+70095b3f
+202078dc
+70439b02
+20201f46
+70439b04
+58017700
+d8e0000a
+20207ddb
+6fe0c39c
+c0022046
+20600000
+6fe0c39d
+c283a051
+70439b0b
+20401fc9
+70095b29
+204078dc
+6fe0c09a
+c1850000
+20402000
+20740000
+2020328f
+70439b0c
+2020204a
+70439b0c
+20201fd3
+6fe0c34f
+6848c356
+98417e00
+2fec0001
+2020a05e
+70439b0d
+20201fdf
+20401fe7
+2020205e
+18000e0a
+20407dda
+70439cff
+70439bff
+70095b3e
+202078dc
+476d403b
+6fe0c39d
+c4038000
+6fe0c398
+c1810000
+70439800
+6fe0c399
+c000a0ac
+c00120b3
+c001a0a4
+c0032089
+c003a080
+c0042076
+20600000
+70439800
+70439900
+70439a00
+20600000
+6fe0c770
+1fe20e00
+1fe0fe01
+67e0c770
+6fe2439e
+afefffff
+58000080
+7920fe00
+67e0c771
+202020a8
+6fe0c39a
+70439a00
+c000a085
+70439802
+20600000
+70095b31
+204078dc
+70439b09
+2020201b
+6fe0887b
+c001a08d
+70439802
+20600000
+20406aab
+6fe0c39d
+c041a092
+c0422092
+20401f61
+20406a98
+da2009be
+da400930
+df200010
+20407e66
+2022a09a
+7002d90b
+20201f9c
+20406f58
+2422a098
+70432601
+6fe0c39d
+c040a085
+c041a085
+c0422085
+70439802
+70439907
+20600000
+6fe0c39d
+c041a0a9
+c04220a9
+70477100
+20201f84
+70477000
+c1420000
+20201f64
+70439802
+6fe0c6be
+c001a0b0
+20600000
+70439902
+70087b00
+202075ec
+70439802
+70439903
+20202015
+18002406
+20201af9
+6fe0816d
+c00020cf
+c000a0d7
+c00120df
+c001a0e3
+c0022102
+c002a107
+c003210b
+c003a110
+c0042111
+c004a112
+c0052113
+c005a117
+c0062118
+c006a11a
+c009211b
+c009a11c
+c00a211d
+c00aa11f
+c00b212a
+c00c212b
+6a60816d
+2020214e
+efe48006
+67e482be
+efe10006
+67e102a7
+6fe08287
+79207e05
+67e08287
+20600000
+efe28006
+67e282be
+efe10006
+67e102a7
+6fe08287
+79207e06
+67e08287
+20600000
+58000014
+67e102b5
+67e14394
+20600000
+efe40006
+67e443a4
+efe10006
+67e143a2
+efe40006
+67e44384
+efe20006
+67e246ad
+2040213b
+476dc03b
+6fe0c39b
+c004a0f5
+6fe0c3c0
+c280a0f8
+6fe0c48b
+245a60bc
+6fe0c326
+c00020fd
+70439c01
+20402149
+20206cc0
+70432601
+d8c043c1
+d8a04316
+20407d7f
+202020f5
+476e403b
+70439c00
+70439b00
+70095b41
+202078dc
+efe40006
+67e4438c
+efe20006
+67e246b1
+20206cc0
+6fe08287
+79207e04
+67e08287
+20600000
+20748000
+70095b32
+204078dc
+70439c04
+2020214c
+20600000
+20202153
+20600000
+70439c02
+2040215a
+70095b33
+202078dc
+20600000
+20748000
+2020215c
+20600000
+20202168
+20600000
+2040211f
+2020216c
+efe40006
+67e44444
+6fe14444
+68494450
+20407ebb
+67e14444
+6fe14448
+6849444c
+20407ebb
+67e14448
+20600000
+20202172
+efe10006
+67e102be
+efe10006
+67e102a7
+207a0000
+6fe08287
+79207e07
+67e08287
+20600000
+da600013
+da200002
+da400002
+20401af4
+1a627e00
+e7e08005
+20600000
+d8a0438c
+18007208
+20405a90
+d8a046b1
+18007204
+20405a90
+da20000d
+da400004
+20401af4
+6fe4438c
+e7e40005
+6fe246b1
+e7e20005
+20600000
+70439c05
+da400005
+2020217c
+da400006
+2020217c
+da200002
+da400007
+20401af4
+e2608005
+20600000
+da200009
+da400009
+20401af4
+6fe4443a
+1fe1fe01
+e7e40005
+20600000
+da40000b
+2020217c
+da200006
+da40000c
+20401af4
+6fe2c5fa
+e7e28005
+20600000
+da200002
+da40000d
+20401af4
+58000006
+e7e08005
+20600000
+da400013
+2020217c
+da400014
+2020216d
+da400015
+da200009
+20401af4
+6fe4444c
+e7e40005
+20600000
+da200003
+da400017
+20401af4
+6fe0c442
+1fe17e07
+e7e08005
+6fe0c443
+1fe17e07
+e7e08005
+20600000
+da200001
+20201af4
+476ec03b
+c513a3e1
+20202622
+7844fc00
+7843fc00
+58555555
+98001e00
+6fe0c83d
+2020166f
+476f403b
+6fe0c867
+20401637
+6fe2483f
+98001200
+204010ac
+2040115d
+6848c83d
+20401674
+20402181
+c597a195
+783cfc00
+2000001e
+20402181
+7857fc00
+7826fc00
+7830fc00
+78507c00
+78287c00
+6fe1483b
+98003600
+37c18400
+242c21ef
+20404d0d
+c517a1a4
+6fe0c87a
+243a21a4
+7846fc00
+7825fc00
+7823fc00
+7824fc00
+204021ec
+67e0c85d
+6848c85c
+98467c00
+2422a1f1
+476fc03b
+7858fc00
+280ffe2f
+2040a1de
+2038a1f1
+204021ec
+67e0c7a7
+c513a1b7
+6fe0c7a7
+6848c839
+a8400e00
+2420a1f1
+204021ec
+280ffe2f
+2040a1e7
+e7e08005
+1fe97e00
+1fe67c1f
+242121f1
+1fe27200
+2022a1c3
+204021ec
+e7e08005
+c20021c0
+c513a1c8
+18a22200
+204021ec
+67e0c882
+1a220a00
+09800018
+1fef7e00
+1ff17e00
+e7e18005
+6fe0c87a
+243a21dc
+7845fc00
+280ffe27
+2040a5e5
+202321f1
+20404d0c
+7837fc00
+2040175c
+4770403c
+c6138000
+6fe0c882
+6848c8d1
+98467c00
+20417ebd
+202025e9
+7846fc00
+202021cf
+204021ec
+1fe67c01
+20217ecd
+1fe0fffe
+c513a1e5
+203a7ecd
+1fe0ffff
+67e08964
+20600000
+1fe17e07
+68488964
+18498400
+9841fe00
+20600000
+09800008
+19897e00
+20600000
+280ffe27
+2040a601
+2040165e
+784dfc00
+7845fc00
+20200e7c
+2040115d
+6848c83d
+20201201
+4770c03c
+6fe0c868
+20401637
+6fe2483f
+98001200
+20402181
+204021f5
+79202a00
+782efc00
+78307c00
+7850fc00
+20404d13
+785d7c00
+c517a229
+c516a23b
+19317e00
+1fecfe00
+1ff1fe00
+08008628
+c517a210
+6fe0c87a
+243a2210
+784efc00
+782dfc00
+7823fc00
+7824fc00
+6fe0c83a
+98007200
+d8c047e9
+efe08006
+08008608
+c2002215
+78247c00
+08008618
+78447c00
+c597a21f
+7843fc00
+58000000
+08008603
+37d38200
+20000064
+785d7c00
+784efc00
+6fe0c87a
+243a2226
+784dfc00
+785c7c00
+2040115d
+20204d11
+df20000a
+5800003c
+08008608
+c200222a
+784efc00
+783c7c00
+19317e00
+1ff17e00
+1ff1fe00
+08008620
+c5172238
+58000001
+08008605
+783d7c00
+2020220b
+58000000
+08008605
+2020220b
+6fe0c1f0
+1fe37200
+20000002
+c200223d
+19317e00
+1fecfe00
+1ff18400
+18427e00
+08008608
+18427e00
+08008628
+2020220b
+6fe0c868
+c2812266
+6fe0c838
+1fe0fe03
+67e0c83a
+6fe0c85c
+67e0c7e9
+6fe0c839
+e7e08005
+6fe0c838
+1fe9fe00
+6848c82e
+18410403
+18438400
+9841fe00
+6848c82f
+9840fe00
+e7e08005
+6fe0c838
+98007200
+d8c047c9
+20407dd4
+c6938000
+6fe08154
+e7e08005
+6fe0c868
+c3810000
+6fe0c83a
+1fe0fe01
+67e0c83a
+20600000
+6fe0c838
+1fe0fe04
+c593a26a
+1fe0fe01
+67e0c83a
+6fe0c85c
+67e0c7e9
+6fe0c83a
+1fe0fffe
+e7e08005
+6fe0c839
+e7e08005
+58000000
+20202251
+6fe0c7a8
+1fe97e00
+67e0c82d
+1fe0fe01
+d8c047a8
+98c08c00
+efe18006
+67e1c830
+6fe0c7a8
+1fe37e00
+1fe17e03
+67e0c836
+20600000
+6848c83e
+20402285
+6048c83e
+20600000
+20402289
+18408401
+18410403
+20600000
+6fe0c83f
+1fe17e03
+1fefa204
+58004843
+9a20fe00
+98408c00
+efe08006
+67e0c83d
+20600000
+67e2483f
+da200000
+df200004
+d8c0483f
+efe08006
+9a20a200
+c2002296
+1a227e00
+67e1485a
+6fe0c85a
+6848c85b
+9840fe00
+67e0c85c
+20600000
+20407ec7
+684a4853
+1c427e00
+98467c00
+244122af
+1fe22400
+6fe24853
+6848c857
+98408400
+1a427e00
+98467c00
+24610000
+793ffe1c
+67e24853
+20207ec5
+20628000
+79207e1c
+20600000
+58000000
+67e24853
+20600000
+38001300
+3805908b
+380b6150
+380c3d20
+67e4c843
+38003a1a
+3804c453
+3808d312
+380c0001
+e7e38005
+6fe0c869
+207a0000
+d8c0486a
+d8a04843
+20207d7f
+584e001e
+67e1c86b
+58032303
+e7e18005
+58250642
+e7e18005
+58094c06
+e7e18005
+583c0927
+e7e18005
+70486901
+20600000
+d8406978
+c513a2d6
+d84012c0
+6fe0c867
+c30122d6
+d8402ee0
+6049483b
+20600000
+70486701
+70486801
+20600000
+70487f4e
+58101520
+67e1c87b
+58000005
+e7e08005
+20600000
+da604887
+da402683
+20203203
+79200026
+6fe0c8a5
+793ffe02
+79207e01
+67e0c8a5
+58000000
+67e1488b
+6fe14885
+67e14887
+70488400
+20402322
+70482e00
+6fe0c87f
+67e0c83d
+6fe0c880
+67e0c1e8
+6fe2487b
+20202292
+4771403c
+6fe0c883
+c07fa344
+c000a2fe
+c0012300
+c001a306
+c002230c
+20600000
+7047c9ff
+2020230d
+6fe0c85e
+203a2304
+6fe248ad
+20402292
+7047c9aa
+2020230d
+7047c955
+6fe0c85e
+203a230d
+6fe24895
+67e247cb
+2020230f
+7047c922
+6fe248ad
+67e247cb
+6fe0c839
+1fe17e07
+67e0c7ca
+7047cf00
+70483807
+20402247
+20402662
+246c0000
+24778000
+204025a0
+20402679
+4771c03c
+6fe0c883
+c17f8000
+c000a327
+c0012329
+c001a32f
+c0022337
+20600000
+70488302
+6fe0c85e
+207a0000
+70488301
+20600000
+70488302
+2020265e
+6fe0c85e
+203a232d
+6fe2480f
+67e24895
+70488303
+2020265e
+6fe0c85e
+203a2335
+6fe2480f
+684a48ad
+98467c00
+24628000
+70488304
+2020265e
+6fe0c85e
+203a233d
+6fe2480f
+684a4895
+98467c00
+24628000
+704883ff
+70095b39
+204078dc
+58000000
+67e14887
+6fe2480f
+20402292
+6fe0c8a5
+793ffe01
+67e0c8a5
+2020265e
+7048c301
+7048c200
+20600000
+6fe0c8c2
+c3808000
+79207e01
+67e0c8c2
+58000000
+67e1c882
+67e248d9
+7048be01
+202022ef
+7048be01
+70483808
+d8c04885
+d8a047c9
+20207d79
+204023fa
+20402187
+2437a3fa
+20402367
+2040242c
+204023d6
+20403805
+6fe0c85e
+207a0000
+6fe248d9
+207a0000
+20202292
+204023fa
+202021f1
+7048cf05
+d8c047a7
+d8a04895
+20407d79
+4772403c
+6fe0c897
+c0552372
+c02aa37f
+c011239c
+c07fa5be
+20600000
+6fe0c898
+c000a376
+c001237c
+20600000
+70488201
+70488501
+70488680
+6fe340a8
+67e34887
+20600000
+70488301
+70488502
+20202378
+6fe0c85e
+203a2385
+6fe24899
+684a40a8
+98467c00
+24628000
+6fe0c898
+c000a389
+c0012394
+20600000
+6fe0c882
+c000a38c
+20600000
+70488202
+6fe0c85e
+203a2377
+70488501
+70488680
+6fe248d9
+67e24887
+20207ec5
+6fe0c883
+c000a397
+20600000
+70488302
+6fe0c85e
+203a237d
+70488502
+20202390
+6fe0c85e
+203a23a2
+6fe24899
+684a48d9
+98467c00
+24628000
+6fe0c898
+c000a3a6
+c00123b1
+20600000
+6fe0c882
+c00123a9
+20600000
+204023ca
+20402377
+6fe0c884
+1fe1fe01
+67e0c884
+58000000
+67e14882
+20600000
+6fe0c883
+c08023b4
+20600000
+204023d0
+2040237d
+6fe0c884
+1fe1fe02
+67e0c884
+204023ae
+202037ff
+6fe0c8c3
+c1808000
+6fe0c8bd
+247a0000
+6fe0c7aa
+c000a3c3
+c00123c7
+20600000
+6fe0c8d8
+c4000000
+7857fc00
+20600000
+6fe0c8d8
+c4008000
+202023c5
+6fe0c8bd
+247a0000
+6fe0c8d8
+1fe1fe01
+67e0c8d8
+20600000
+6fe0c8bd
+247a0000
+6fe0c8d8
+1fe1fe02
+67e0c8d8
+20600000
+6fe0c884
+207a0000
+6fe0c898
+c000a3ca
+c00123d0
+20600000
+79200027
+6fe0c1e8
+67e0c8d0
+204022d0
+202025f4
+6fe1488d
+20207e7a
+70483800
+6fe0c8be
+207a0000
+6fe1488f
+20207e7a
+20402429
+2437a3fa
+2040241b
+243423fa
+6fe0c82d
+203a23fa
+1fe0fe02
+98007200
+d8c047a7
+d8a04895
+20407dd4
+7048c000
+6fe0c8bd
+205a2436
+6fe0c897
+c000a3ff
+c001240e
+c07fa3fd
+d8a047a7
+df200042
+20207d9b
+204023d8
+202025be
+204023ca
+2040255c
+6fe0c8b7
+6848c895
+284ffe03
+7920fe00
+67e0c8b7
+c000a414
+6fe0c8bf
+6848c895
+284ffe04
+7920fe00
+67e0c8bf
+6fe14891
+20207e7a
+204023d0
+6848c895
+284ffe03
+2020a419
+6fe14893
+20207e7a
+6fe0c09a
+1fe67c0e
+2042b4f0
+6fe2489f
+202025c4
+6fe2489f
+202025c8
+20407ec7
+6fe0c836
+6848c837
+98467c00
+2442fec5
+6fe0c836
+67e0c837
+6fe1c830
+6849c833
+98467c00
+2442fec5
+6fe1c830
+67e1c833
+20600000
+204023fa
+20402187
+24778000
+6fe0c7a7
+67e0c839
+20402274
+6fe0c7a8
+2feffe00
+2020a435
+204023e3
+20402247
+204021f8
+202021f1
+7048c101
+58000280
+d8e00008
+20207ddb
+7048c001
+7048c400
+704857ff
+202022b2
+4772c03c
+6fe0c8c0
+207a0000
+204022a0
+24740000
+2040244b
+6fe0c8c4
+1fe0fe01
+1fe17e01
+67e0c8c4
+c0002450
+c000a453
+20600000
+6fe0c8cf
+207a0000
+1fe0ffff
+67e0c8cf
+20600000
+6fe0c8cf
+247a0000
+20202493
+6fe0c8cf
+247a0000
+20202348
+6fe0c8d7
+247a0000
+6fe0c8d5
+205a2483
+6fe0c8d2
+c3800000
+79207e00
+67e0c8d2
+7048d101
+7048d600
+58000000
+67e148d3
+70485760
+202022b2
+6fe0c8c3
+c1000000
+6fe0c8d7
+247a0000
+6fe0c8d5
+247a0000
+6fe0c8d1
+207a0000
+204022a0
+24740000
+6fe148d3
+1fe0fe01
+67e148d3
+d84007d0
+98467c00
+2021247f
+2040244b
+6fe0c8d6
+1fe0fe01
+1fe17e01
+67e0c8d6
+c000247c
+c000a348
+20600000
+6fe0c8cf
+243a2348
+20202544
+7048d501
+20202544
+7048d100
+20600000
+7048d101
+20600000
+6fe0c8c2
+c3800000
+79207e00
+67e0c8c2
+6fe0c8d0
+67e0c1e8
+7048be00
+700bf900
+7048b701
+70482e00
+6fe240a8
+20402292
+20402281
+202023fa
+7048be00
+7048c300
+7048c200
+20600000
+6fe0c8c3
+c1800000
+20402485
+20402547
+202023e8
+4773403c
+6fe0c8c3
+c1808000
+2040234b
+20402359
+6fe0c8bd
+247a0000
+6fe0c884
+207a0000
+7048c000
+20402493
+20402436
+202022b2
+6fe0c8c2
+c3838000
+79207e07
+67e0c8c2
+7048c400
+7048be01
+58000000
+67e1c8ea
+67e3c8c7
+20402536
+24628000
+6fe0c83e
+67e0c8c6
+6fe0c83d
+67e0c8c5
+20600000
+4773c03c
+6fe0c8c3
+c1838000
+204024a9
+204024df
+20402429
+2437a3fa
+20402536
+2042a3ea
+6fe0c8b7
+205a2481
+7048c300
+6fe0c8c2
+79207e00
+67e0c8c2
+6fe0c8be
+1fe67c02
+2442a534
+204023fa
+20402436
+20402536
+2022a4d8
+6fe2483f
+684a48e1
+98467c00
+2022a4db
+6fe2483f
+684a48dd
+98467c00
+2022a4dd
+20600000
+6fe0c8c6
+67e0c83e
+20600000
+6fe0c8cc
+202024d9
+6fe0c8c9
+202024d9
+6fe0c8c4
+1fe0fe01
+1fe17e03
+67e0c8c4
+c0002502
+c000a51c
+c00124e8
+c001a51c
+20600000
+20402377
+6fe248dd
+203a24df
+20402292
+6fe0c8ca
+205a24fd
+6fe0c8c8
+67e0c83d
+6848c8eb
+6a2148f1
+204025ca
+6048c8eb
+204025d2
+6048c8e8
+18467c50
+24610000
+6848c8c9
+20402285
+6048c8c9
+67e0c8c8
+20600000
+7048ca01
+d8400000
+20402289
+67e0c8c8
+20600000
+2040237d
+6fe248e1
+203a24df
+20402292
+6fe0c8cd
+205a2517
+6fe0c8cb
+67e0c83d
+6848c8ec
+6a2148f3
+204025ca
+6048c8ec
+204025d2
+6048c8e9
+18467c50
+24610000
+6848c8cc
+20402285
+6048c8cc
+67e0c8cb
+20600000
+7048cd01
+d8400000
+20402289
+67e0c8cb
+20600000
+20402377
+6fe240a8
+20402292
+6fe0c8c7
+205a2530
+6fe0c8c5
+67e0c83d
+6848c8ea
+6a2148ef
+204025ca
+6048c8ea
+204025d2
+6048c8e7
+18467c50
+24610000
+6848c8c6
+20402285
+6048c8c6
+67e0c8c5
+20600000
+7048c701
+6fe0c8c5
+67e0c83d
+20600000
+7048be00
+20600000
+6fe2483f
+684a40a8
+98467c00
+20600000
+6fe0c8be
+c1010000
+6fe0c8c1
+207a0000
+d8e00008
+20407de9
+247a0000
+7048c100
+7048cf00
+20402456
+7048c307
+7048c200
+202023fa
+6fe0c8b7
+c000a608
+6fe0c8bf
+c000a55a
+684a48b8
+1c427e00
+98467c00
+244122af
+1fe22400
+6fe248b8
+6848c8bc
+98408400
+1a427e00
+98467c00
+24610000
+793ffe1c
+67e248b8
+7048b701
+20202281
+7048bf00
+20202281
+1c427e00
+67e248b8
+20600000
+da60488b
+da402683
+20203203
+4774403d
+79200026
+6fe0c8a5
+793ffe01
+79207e02
+67e0c8a5
+6fe0c890
+203a2577
+6fe0c88f
+c000a56f
+c001256f
+c001a57e
+c002257e
+6fe0c880
+67e0c1e8
+6848c899
+6048c83e
+6fe24891
+20402587
+6048c899
+20600000
+7041e803
+6848c89a
+6048c83e
+6fe24895
+20402587
+6048c89a
+20600000
+7041e803
+6848c89b
+6048c83e
+6fe248ad
+20402587
+6048c89b
+20600000
+6fe2480f
+67e24895
+20402292
+20202281
+4774c03d
+204025a3
+20402662
+242c25aa
+2437a5aa
+20402679
+6fe0c8a5
+793ffe02
+67e0c8a5
+58000000
+67e14887
+67e1488d
+67e1488b
+6fe2487b
+684a483f
+98467c00
+2022a2e4
+6fe248ad
+684a483f
+98467c00
+2042a585
+70095b3c
+204078dc
+df200004
+d8a047c9
+20207d8c
+7047c9ff
+6fe0c839
+67e0c7ca
+6fe248ad
+67e247cb
+70483806
+20202247
+6fe0c890
+203a2281
+6fe1488d
+1fe0fe01
+67e1488d
+2feffe03
+6fe0c88f
+c000a5b6
+c00125b8
+c001a5ba
+c00225bc
+20202577
+2020a577
+2020256f
+2020a57e
+2020256f
+2020a57e
+20202577
+2020a2ef
+2020257e
+6fe0c898
+c000a5c2
+c00125c6
+20600000
+6fe24899
+67e248d9
+67e248dd
+20600000
+6fe24899
+67e248d9
+67e248e1
+20600000
+1a227e00
+98408a00
+6fe08018
+e7e08005
+18408401
+6fe0c881
+98410400
+20600000
+6fe0c881
+1fe0fe01
+67e10987
+1fe27200
+1a220c00
+dfe00000
+e8408006
+9840fe00
+c20025d8
+68490987
+9846fc00
+20407e64
+18078400
+c6138000
+18427e00
+c6930000
+20401297
+1fe20400
+20600000
+2040127f
+20201293
+6fe1489d
+202025fb
+1fe22200
+6848c89c
+6fe1489d
+98408a00
+1a227e00
+e7e08005
+18408401
+6fe0c881
+98410400
+6048c89c
+20600000
+6fe148ed
+204025fb
+6fe148ef
+204025fb
+6fe148f1
+204025fb
+6fe148f3
+207a0000
+1fe20a00
+6fe0c881
+1fe0fe01
+1fe27200
+20207d9b
+204025e5
+207a0000
+6848c8e6
+6a2148ed
+204025ca
+6048c8e6
+20600000
+6a2148ed
+204025d2
+6048c8e5
+18467c50
+24610000
+20202281
+6fe240a8
+67e248ad
+204022d0
+202025e7
+58002fb2
+67e1c8b1
+58100c0c
+67e1c857
+5800bb80
+67e1c8b4
+7048ca05
+20600000
+5800f80c
+67e1c8b1
+581c1919
+67e1c857
+58017700
+67e1c8b4
+7048ca0b
+20600000
+c6930000
+6fe0c8a5
+c280a2f6
+c2812589
+6fe0c8c1
+c000a6cd
+4775403d
+20402638
+243426a8
+2040264d
+204026f5
+6fe0c09a
+c004482e
+6fe448b4
+67e4485f
+6fe148c6
+67e148c8
+204026c2
+24740000
+20407f52
+6fe1c8b1
+202026bf
+2040263b
+24740000
+20202247
+6fe1489f
+20407e7a
+20342641
+6fe3c7ca
+207a0000
+20207ec5
+7048ab00
+1a20fe01
+67e0c838
+20402649
+67e0c7c9
+1a420c00
+1a227200
+20207dd4
+6fe0c839
+1fe17e07
+67e0c839
+20600000
+7048aa00
+6961015f
+34730200
+20402662
+6fe0c82f
+c000a658
+242c2670
+2437a670
+20402679
+6fe0c09a
+c004482a
+20402727
+204025a0
+6fe0c82e
+1fe0fe01
+67e0c82e
+2040269b
+58000000
+67e0c8a6
+67e148a7
+20600000
+7857fc00
+204021f8
+6fe0c82f
+c000a1f1
+18002a00
+6fe2483f
+98001200
+204010ac
+68488017
+2040118b
+204011a2
+20402190
+2057a1f1
+20600000
+6fe0c8ab
+247a0000
+6fe148a7
+1fe0fe01
+67e148a7
+6fe0c8a8
+c2822680
+20402685
+2020264e
+20402274
+6fe0c82d
+207a0000
+98007200
+d8c047a9
+d8a0480d
+20207dd4
+58000000
+67e148a7
+7048a901
+70095b3a
+202078dc
+4775c03d
+6848c8aa
+6fe0c8ca
+98467c00
+242126a3
+18408401
+6048c8aa
+6fe0c8ca
+c002a692
+6fe0c8aa
+c003269d
+c006269d
+20600000
+6fe0c8aa
+c001a69d
+c003269d
+20600000
+c517a699
+67e0c7ea
+20600000
+67e0c7eb
+20600000
+6fe0c839
+c4020000
+6fe0c839
+793ffe04
+67e0c839
+20402696
+2040272b
+20202281
+2040271b
+2040272b
+20202281
+6fe148a1
+20207e7a
+6fe0c8ab
+205a26ae
+6fe0c8c1
+c1008000
+204026a6
+202026bc
+70483901
+7048ab01
+20402649
+67e0c7c9
+58000000
+67e3c7ca
+6fe248ad
+67e247d1
+7048380c
+6fe0c839
+79207e03
+67e0c839
+20402247
+2020262b
+204026c2
+24740000
+6fe4485f
+20407e1f
+604a4160
+20201464
+4776403d
+78347c00
+20401436
+6fe1c174
+203a7ec7
+6fe0c099
+203a7ec7
+6fe0c8c1
+c000fec7
+6fe148a3
+20207e7a
+204022a0
+24740000
+204026e2
+6fe148c2
+1fe0fe01
+67e148c2
+684948c4
+98467c00
+2042a6d7
+20202628
+7048c100
+58000000
+67e148c2
+58000064
+67e148c4
+7048c000
+6fe0c858
+67e0c857
+20600000
+6fe0c859
+202026de
+6fe0c8c0
+1fe0fe01
+67e0c8c0
+c00226e0
+c002a6dc
+20600000
+7048c101
+58000000
+67e148c2
+20600000
+df200002
+d8c0483f
+20407ec5
+5800ffff
+e8410006
+98467c00
+2442fec7
+c20026f0
+20600000
+4776c03d
+6fe1478f
+c3858000
+c3838000
+c3830000
+6a21489d
+204025d2
+6048c8cb
+6fe0c8d0
+c5132700
+6fe0c8d3
+98467c00
+2421271a
+6fe0c8cd
+1fe67c02
+24212708
+6fe0c8cd
+c000271b
+20600000
+6fe0c8cd
+6848c8ce
+98467c00
+24628000
+7048cd00
+6848c8cb
+6fe0c8cf
+c5132711
+6fe0c8d2
+98467c00
+24610000
+6fe0c8cc
+c0002722
+1fe0ffff
+67e0c8cc
+c0002722
+7041e800
+20600000
+7048cd00
+6fe0c8cc
+c0012720
+1fe0fe01
+67e0c8cc
+c000a718
+7041e806
+20600000
+7041e885
+20600000
+7048cc01
+7048cd00
+20600000
+6fe0c8cd
+1fe0fe01
+67e0c8cd
+20600000
+6fe0c8cd
+1fe67c02
+24412733
+6fe0c8cd
+c1000000
+1fe0ffff
+67e0c8cd
+20600000
+7048cd03
+20600000
+6fe08be0
+67e089f6
+1e020c00
+20407d7e
+2040278d
+6fe149ef
+20207e7a
+6fe089f7
+c0002744
+c0402d95
+c0412e95
+c068a791
+c06827ab
+c06aa7ab
+20600000
+d8c009fb
+d8a04b19
+20407d7f
+70496b00
+20402b0e
+20402b00
+2040275f
+20402750
+20402755
+70496b00
+6fe149f1
+20207e7a
+6fe08c3a
+70496b04
+c1008000
+70496b00
+20600000
+58000080
+67e08a10
+58000003
+e7e08005
+58000000
+e7e08005
+6fe189f8
+e7e18005
+700a0f06
+2020305d
+6fe14a15
+c3810000
+20402e14
+1a20a606
+5fffffff
+e7e40013
+e7e40005
+efe10011
+e7e10013
+1a427e00
+9a20a200
+c2002762
+6fe14a11
+20207e7a
+58000082
+67e08a10
+58000004
+e7e08005
+6fe089f9
+e7e08005
+700a0f03
+2020305d
+58000082
+67e08a10
+5800004e
+e7e08005
+6fe109f9
+e7e10005
+700a0f04
+2020305d
+58000082
+67e08a10
+58000060
+e7e08005
+6fe209f9
+e7e20005
+700a0f06
+2020305d
+5800005e
+67e08a10
+58000000
+e7e08005
+6fe109f9
+e7e10005
+700a0f04
+2020305d
+6f208be0
+1e022200
+da400050
+202029e6
+204027ac
+24740000
+6fe109fb
+d840f01f
+98467c00
+2022a7c0
+d840f010
+98467c00
+2022a7c4
+d840f011
+98467c00
+2022a7cd
+d840f012
+98467c00
+2022a7d6
+d8400534
+98467c00
+2022a7b7
+d8400533
+98467c00
+2022a7ba
+d8400123
+98467c00
+2022a7bd
+6fe149f5
+20207e7a
+20600000
+20407ec7
+6fe109f8
+d84001a8
+98467c00
+24628000
+6848c7a7
+6fe089fa
+98467c00
+20628000
+67e0c7a7
+20207ec5
+20402828
+6fe14a05
+20207e7a
+20402828
+6fe14a07
+20207e7a
+20402822
+6fe14a09
+20207e7a
+20402824
+6fe209fd
+67e247a9
+20202859
+2040281e
+204027ef
+207a0000
+6fe089fd
+204027eb
+684c09fd
+e0440005
+6fe14a13
+20207e7a
+20402820
+204027ef
+207a0000
+700a0459
+6fe089fd
+204027eb
+6fe409fd
+e7e40005
+202027cb
+204027e8
+204027ef
+207a0000
+6fe089fd
+207a0000
+204027eb
+d8400000
+e0408005
+6fe089f6
+1fe67c08
+2042a7e2
+202027cb
+204027ef
+6fe089fe
+204027eb
+d8400000
+e0408005
+20600000
+6fe089f6
+c003a828
+20202826
+1fe0ffff
+1fe9fe00
+98a08a00
+20600000
+20402e14
+1a20a204
+6fe0ca2d
+9a4ffe00
+9a20a200
+efe10011
+1fe20a00
+20600000
+580000d3
+67e08a10
+580001a8
+e7e10005
+6fe0c7a7
+e7e08005
+e0410005
+20600000
+d8e00000
+d8400003
+da20f009
+20202830
+da200100
+20202830
+d8e00000
+da20f004
+20202835
+d8e00000
+da200534
+20202830
+d8e00000
+da200533
+20202830
+d8e00000
+20402ecb
+da200121
+20202835
+d8e00000
+20402ed9
+da200122
+20202835
+18438400
+18418411
+da20f009
+20202835
+2040283c
+5800f009
+e7e10005
+20600000
+df200008
+2020282a
+df200008
+2020282a
+df200006
+2020282a
+df200004
+2020282a
+df200002
+2020282a
+df200001
+2020282a
+1f20fe06
+67e08a0f
+204027f7
+d8c009fd
+20407dd4
+2020305d
+2040283c
+e2210005
+e0408005
+700a0f07
+2020283a
+2040283c
+e2210005
+e0410005
+700a0f08
+2020283a
+20402f2f
+2020305d
+6fe0c935
+67e08c14
+580000f0
+67e10c35
+6fe0c7a8
+1fe0fe01
+67e0c7a8
+c060284b
+580000d4
+67e08a10
+580001a8
+e7e10005
+6fe0c7a8
+e7e08005
+20600000
+7047a880
+20600000
+1c420400
+6fe247ad
+98467c00
+2041285f
+20402866
+98467c00
+20610000
+2040285a
+6fe247a9
+1fe0fe01
+67e247a9
+2020286a
+1c427e00
+67e247ad
+6fe0c7b0
+1fe17e0f
+67e0c7b0
+20600000
+20628000
+1fe22400
+58100000
+1fed7e00
+98408400
+1a427e00
+20600000
+df200014
+1fe0fea0
+c2002867
+20600000
+20402e14
+1a20a204
+704a2d00
+20402f25
+efe10011
+203a2872
+1fe26000
+2040287c
+20402f2a
+6fe0ca2d
+1fe0fe01
+67e0ca2d
+6848ca17
+98467e00
+20628000
+1a427e00
+9a20a200
+2020286d
+df200028
+1f227e00
+67e08c00
+efe08030
+245a2886
+1e00e008
+6fe08c00
+1fe27200
+c200287d
+20600000
+e8440030
+604c09fd
+6fe08a04
+c02ca8a0
+684a47a9
+6fe209fe
+98467c00
+6fe08a04
+2022a890
+20600000
+67e089f9
+6fe149fb
+20407e7a
+1e027e00
+67e10c08
+68e0ca2d
+e8408030
+20402816
+684889f9
+68e0ca2d
+20402803
+6fe10c08
+1fe26000
+58000000
+e7e08030
+202027cb
+6fe247a9
+d840003c
+9846fc00
+20407e64
+18077e00
+247a0000
+6fe247a9
+d8454600
+98467e00
+d8493a80
+9846fc00
+20407e64
+18077e00
+d8415180
+9846fc00
+20407e64
+18072200
+18078e00
+58000000
+f9207e00
+68488a00
+98417e00
+207a0000
+1a227e00
+d840003c
+9846fc00
+20407e64
+18078400
+580001e0
+98408400
+6fe109fe
+98467c00
+24628000
+6fe08a03
+20202890
+4777403d
+700a7414
+6fe0c98f
+67e08a75
+6fe08bff
+1fe0fe0b
+1fe0f3fe
+67e08a76
+1fe0ffff
+e7e08005
+5800002a
+e7e08005
+d8c04b58
+20407dc7
+6fe1478f
+2feffe09
+2040b017
+6a210c02
+204028d7
+202079aa
+1a208c02
+efe10006
+67e1448c
+da200a74
+20600000
+da6028de
+20202e1f
+1a208c16
+efe08006
+c1808000
+58000002
+1a208a16
+e7e08005
+20202a1a
+204028f3
+1840fe0d
+67e0c7b1
+2040290a
+1840fe09
+e7e08005
+580000ff
+e7e08005
+6fe40bec
+e7e40005
+1a220c00
+18427200
+20407dd4
+20202951
+580ea801
+67e18bec
+58000007
+67e08bef
+6fe0c8d4
+67e08bf0
+6fe08a75
+67e08bf1
+6fe08a74
+2feffe07
+20402901
+67e08bf2
+60488bf3
+20600000
+da200a79
+d8400012
+58000021
+24608000
+da200a8b
+68488a76
+184085ee
+58000022
+20600000
+d8a047b2
+58000002
+e7e08005
+58000001
+e7e08005
+58000002
+e7e08005
+20600000
+d8401827
+58000003
+e7e08005
+58000003
+e7e08005
+e0410005
+20600000
+2020291a
+20401651
+20401be4
+20402924
+24768000
+6fe08002
+1fe0fe01
+67e08002
+6fe149ed
+20407e7a
+2020165e
+6fe149f7
+20207e7a
+20402928
+202016f6
+6fe0c7d1
+1fe0fe01
+67e0c7d1
+67e08016
+c1940000
+7047d125
+70001625
+20600000
+6fe0816b
+1fe17e0f
+c0002935
+c0012935
+20600000
+e8408006
+18467c06
+20610000
+18467c25
+24610000
+1840a3fa
+18c0a406
+e8408012
+18467c01
+20610000
+18467c1e
+24610000
+18427e00
+207a0000
+4777c03d
+efe08006
+c07fac6a
+c0152f3d
+c003ace2
+1840fe01
+9a267c00
+20610000
+9a40a400
+18467fff
+9a20a200
+1a227e00
+207a0000
+2020293c
+6fe08000
+1fe0fe01
+67e08000
+4778403e
+20401651
+df200027
+d8c041f5
+d8a00a97
+20407dc7
+70001625
+db600708
+7856fc00
+20401be4
+2040296d
+180a7e00
+d84001ff
+98417e00
+1fe0fe64
+20407d81
+6fe08016
+1fe0fe01
+67e08016
+c094295d
+df200027
+d8a041f5
+d8c00a97
+20407dc7
+2020165e
+d8400002
+6048c1f5
+6848c7b1
+1840fe06
+67e0c1f6
+6fe3437a
+67e341f7
+18427200
+d8c047b2
+20407dc7
+202017e2
+4778c03e
+68490be1
+6fe08be0
+18420c00
+da2048f5
+de004905
+20402bb1
+20407ec7
+1a627e00
+9e008c00
+684a4905
+6fe10bfd
+1fe22200
+df20000a
+efe20011
+203a2993
+98467c00
+20628000
+1a20a204
+c2002986
+6fe10bfd
+1fe20a00
+1fe08c04
+df200024
+20407dc7
+e0420005
+20207ec5
+e0420011
+20207ec5
+2040299c
+204029a0
+204029a7
+204029ab
+204029af
+204029b0
+202029b4
+d840001a
+da2049d3
+da400000
+20205e79
+d8400013
+da204976
+da40001a
+20405e79
+6fe0c986
+67e0ca31
+20600000
+d8400010
+da204b19
+da40002d
+20205e79
+d8400010
+da204827
+da40003d
+20205e79
+20600000
+d8400003
+da204b52
+da40004e
+20205e79
+6fe14a15
+c3810000
+d8400040
+da20098e
+da400051
+20405e79
+20402e14
+d8c0098e
+1a20a206
+1a220a00
+20407d7f
+1a427e00
+9a20a200
+c20029bd
+20600000
+204029c6
+204029ca
+202029ce
+d8400013
+da204976
+da40001a
+20205e6b
+d8400010
+da204b19
+da40002d
+20205e6b
+d8400010
+da204827
+da40003d
+20205e6b
+d8400003
+da204b52
+da40004e
+20205e6b
+204029db
+d8400040
+da20098e
+da400051
+20205e6b
+20402e14
+d8a0098e
+1a20a206
+1a220c00
+20407d7f
+1a427e00
+9a20a200
+c20029de
+20600000
+d8400000
+202029ee
+d8400001
+202029ee
+d8400002
+202029ee
+d8400003
+202029ee
+d8400004
+202029ee
+4779403e
+20407d3b
+6fe0ca15
+c2807d47
+20405fb7
+580000aa
+e7e08003
+58000003
+e7e08003
+1f20fe04
+e7e08003
+e0410003
+e2410003
+1a220c00
+20405fc5
+580000bb
+e7e08003
+20405fbb
+20207d47
+6fe0ca15
+c3800000
+70807b0c
+70807c4d
+20402a0c
+d84e1000
+20405f70
+20405f7d
+d8400081
+60588061
+20600000
+58001c00
+67e1095c
+58001c01
+e7e10005
+58001c02
+e7e10005
+58001fff
+e7e10005
+6fe4095c
+20205f58
+20402a26
+20202a1e
+20402a8d
+20202a83
+7047d201
+20600000
+7047d200
+20600000
+da402a22
+da200015
+d8e0000d
+20202a78
+6fe0c96b
+c1800000
+da602a2a
+20202e1f
+da402a37
+da20001d
+d8e0000e
+20202a78
+1a208c1a
+efe08006
+c4008000
+204028d7
+204079d2
+24740000
+6fe08a76
+1fe0fffe
+67e08a76
+6fe08a74
+79407e07
+e7e08012
+202028e5
+6fe0c96b
+c0002a3b
+c0012a76
+20202a65
+da602a3d
+20202e1f
+204028d7
+204079d2
+24740000
+6fe08a74
+1fe0ffff
+e7e08012
+c2832a58
+1fe17e3f
+205a2a5f
+6a210c02
+1a208c1a
+efe08006
+c2812a4f
+c4000000
+d8a047b1
+d8c00a76
+20407d7d
+20202951
+da200a74
+204079c1
+204079f0
+247a0000
+6a210c02
+1a208a16
+58000000
+e7e08005
+20202a1c
+1fe17e3f
+247a0000
+6a210c02
+1a208a16
+58000000
+e7e08005
+202079a5
+da200a74
+204079c1
+204079f0
+247a0000
+700a7454
+202079aa
+20402c41
+20402c4d
+20402c5b
+20402a6e
+24628000
+6fe0c96b
+c001aa72
+c000aa74
+20600000
+6fe0c7d5
+1fe0ffff
+67e0c7d5
+20600000
+7047d658
+20202a1c
+7047d606
+20202a1c
+20402cc0
+20202951
+180a7e00
+1fe17e07
+9a20a200
+6fe0c7d2
+c1808000
+20407de9
+247a0000
+1a227e00
+20407ddb
+1a427e00
+20207e7a
+da6047d3
+da402a86
+20203203
+6fe0c96b
+c1808000
+6fe0c96e
+79207e00
+67e0c96e
+70496b03
+20202a96
+da6047d6
+da402a90
+202031fc
+6fe0c96b
+c001aa96
+c000aa94
+20600000
+7047d506
+20202a1a
+7047d506
+20202a1a
+20402a9e
+20402aa6
+20402aab
+20402ab0
+20402ab8
+20202abc
+20402ac9
+d8c04847
+df20000f
+20402b37
+20402b51
+d8c00900
+d8a04837
+20207d7f
+20402acc
+20402b51
+d8c00900
+d8a047e7
+20207d7f
+20402acc
+20402b51
+d8c00900
+d8a04817
+20207d7f
+6fe44807
+67e447df
+6fe4480f
+67e447d7
+d8c047d7
+da204837
+de0047f7
+20202b9f
+d8c04807
+da204837
+de004807
+20202b9f
+d8c047f7
+df200010
+20402b34
+d8c04860
+df200009
+20402b37
+20402b51
+d8c00900
+d8a04827
+20207d7f
+20402aca
+d8c04807
+20202b33
+20402ac7
+d8c0480f
+20202b33
+d8c049d3
+df200004
+20402b3a
+d8c049d7
+df200006
+20402b3a
+d8c049dd
+df200010
+20202b34
+20402ae1
+da204973
+da400900
+df20000b
+efe10011
+e8410012
+9842fe00
+e7e10011
+1a20a202
+1a40a402
+c2002ad9
+20600000
+d8c047f7
+df200010
+20402b34
+d8c04856
+df20000a
+20402b37
+20202b51
+d8c04976
+d8a04894
+20407d7f
+d8c04894
+da2048a4
+de0048b4
+20402ba1
+de0048c4
+da400001
+58000000
+20402ba3
+6fe0c8d3
+1fe17e7f
+67e0c8d4
+de0048e5
+da400002
+58000010
+da2048c4
+20402ba3
+de0048d5
+da400003
+58000010
+da2048e5
+20202ba3
+d8c04b19
+da2048f5
+de004905
+20402ba1
+d8c04915
+da204905
+de004925
+58000004
+20402bb1
+6fe0c934
+1fe17e3f
+79207e06
+67e0c935
+20600000
+d8c04976
+da204936
+de004946
+20402ba1
+d8c04956
+da204946
+de00495b
+58000005
+20402bb1
+20402ff3
+6fe1478f
+c3848000
+70442701
+20600000
+da204b59
+6fe3cb5f
+20202b21
+da200c0c
+6fe38c12
+67e38bc7
+58000000
+67e28bbe
+20402b2a
+6fe30bce
+e8430011
+9842fe00
+e7e30011
+20600000
+6fe24a2e
+67e20bc3
+d8c048d5
+20406e26
+d8c00bbe
+20406e28
+20406dc1
+d8a00bce
+20206e3c
+df200008
+20402b41
+20402b90
+20202b3e
+20402b41
+20407dd4
+20202b3e
+20402b41
+20402b90
+5800002c
+e7e08005
+18a27e00
+67e1487a
+20600000
+18c20400
+1f222200
+6fe1487a
+1fe20a00
+6fe0c869
+205a2b4a
+18420c00
+1a227200
+20600000
+70486901
+20402b4e
+d8a00abe
+20600000
+df200020
+d8a00abe
+20207d8c
+20402b6e
+da400010
+da200abe
+6f24486a
+204029e4
+20402b89
+58000abe
+67e14881
+20407306
+6fe14881
+1fe20c00
+d8a004a8
+20407d72
+2040730d
+6fe14881
+1fe0fe40
+67e14881
+6fe0c87e
+1fe0ffff
+67e0c87e
+243a2b5a
+20407349
+da200900
+df200020
+20407dac
+da400011
+da200900
+df200020
+202029e4
+70486900
+6fe1487a
+1fe20a00
+d8400080
+e0408005
+d8400abe
+98467e00
+67e4486a
+1fe98400
+604c4872
+1ff1a600
+1a6b2600
+1fe17e3f
+1fe67c37
+24412b87
+1a60fe01
+67e0c87e
+1fefa240
+1ff22600
+1a60a7ff
+58000aba
+9a20a200
+6fe24872
+e7e20011
+20600000
+1a60a601
+20600000
+da200abe
+df200004
+20407dac
+1a20a202
+1a60a7ff
+2422ab8a
+20600000
+efe08006
+1ff18400
+20402b99
+e0408005
+1fe1040f
+20402b99
+e0408005
+c2002b90
+20600000
+18467c09
+20212b9d
+18408457
+20600000
+18408430
+20600000
+58000020
+20202bb1
+58000010
+20202bb1
+6848c883
+18408401
+98408400
+604884a7
+1a220c00
+1fe27200
+20407dc7
+6848c883
+18427200
+20407dd4
+1a427e00
+e7e08005
+da2048b4
+20202bb4
+67e084a7
+1fe27200
+20407dc7
+1a220c00
+d8a0098e
+20407d7f
+da400012
+da2004a8
+6f2084a7
+204029e4
+da400013
+da20098e
+df200010
+204029e4
+20406aee
+1e020a00
+20406e3c
+da400014
+1e022200
+df200010
+202029e4
+68488beb
+20202bc9
+18000401
+18007000
+6fe10bde
+1fe20c00
+efe18006
+1fed7e00
+9841de00
+1f00f001
+efe20006
+1fe25e00
+1f00f001
+efe20006
+1fe25e00
+1f00f001
+1a30de00
+1df05e00
+efe10006
+9de1de00
+20600000
+6fe08be0
+1fe22200
+20402bc6
+20406dc1
+1800700c
+1de27e00
+1a227200
+68490be1
+18420c00
+20406e10
+20206cf0
+700beb19
+20202bea
+700beb09
+20202bea
+67e08be0
+60490be1
+4779c03e
+20402bdb
+18007008
+98005e00
+1800700d
+1de27e00
+18007009
+98005e00
+18002200
+18422600
+20402bc8
+20406dc7
+20402c29
+604c0be3
+6fe08be0
+1fe22400
+20402c31
+68488be0
+6fe10be1
+9840a200
+684c0be3
+e0420011
+6fe08beb
+1fe67e09
+207a0000
+e0440011
+20600000
+700beb19
+20202c0b
+700beb09
+20202c0b
+67e08be0
+60490be1
+18422600
+1fe22400
+9a608c00
+477a403e
+efe40006
+18007008
+98005e00
+18007009
+1fef7e00
+98005e00
+18002200
+20402bc8
+20406dc7
+20402c29
+604c0be3
+20402c31
+20402bdb
+20402c29
+6fe08beb
+c00cac26
+604a0be7
+6fe20be3
+684a0be7
+98467e00
+20600000
+6fe40be3
+98467e00
+20600000
+1800700c
+1de27e00
+1800700d
+1de20400
+18500400
+18500400
+98418400
+20600000
+1a20a201
+20402bc8
+1a620c00
+20406e24
+20406dc7
+20406e43
+1a60a610
+1a40a5f0
+20212c31
+20600000
+70496b01
+70496c00
+7047d201
+58001770
+67e147d3
+20600000
+580001a8
+67e10bec
+6fe0c96d
+e7e08005
+6fe249d3
+20407dc1
+e7e20005
+6fe3437a
+e7e30005
+6fe1c96e
+e7e18005
+20600000
+20402c4f
+20202951
+7047b115
+58000014
+67e0c7b2
+5800002b
+e7e08005
+58000000
+e7e08005
+d8c00bec
+20407d7f
+6fe14971
+e7e10005
+20600000
+6fe0ca15
+c3818000
+20402c5f
+20202951
+7047b11d
+2040290a
+20402912
+20402c64
+20202c56
+58000015
+e7e08005
+58000016
+e7e08005
+e0410005
+20600000
+1840f3ff
+20402d2e
+24740000
+efe08006
+c0002c72
+c0012c8d
+c0032cac
+20600000
+20402c7f
+24740000
+20402a98
+20402c77
+20202cd6
+d8400012
+20402cae
+58000001
+e7e08005
+6fe149db
+e7e10005
+d8c04807
+20207d7f
+20407ec7
+e8410006
+d8a04807
+20407d7f
+6fe149db
+98467c00
+24628000
+6fe0c96c
+c3808000
+79207e01
+67e0c96c
+70496b02
+20402cd2
+20207ec5
+18c22200
+6fe0c96b
+c1000000
+6fe0c96c
+c4008000
+c3810000
+1a220c00
+df200016
+d8a04973
+20407dd4
+20402ad5
+68494973
+6fe149db
+98467c00
+24628000
+20402cda
+6fe0c96c
+79207e02
+67e0c96c
+20402ae8
+6fe0c986
+67e0ca31
+20402ca5
+20202cde
+d8400006
+20402cae
+58000003
+e7e08005
+6fe349d7
+e7e30005
+20600000
+da400012
+20202d18
+477ac03e
+20402ccc
+58008fff
+67e1498d
+20402a1a
+1840fe09
+67e0c7b1
+2040290a
+1840fe05
+e7e08005
+580000ff
+e7e08005
+580001a8
+1ff0fe00
+e7e10005
+6fe08bfc
+e7e08005
+20600000
+6fe24989
+243a2cc3
+20202ccc
+1c427e00
+684a4989
+98460400
+6fe1498d
+98467c00
+20610000
+20402a1c
+6fe149f3
+20207e7a
+1c427e00
+67e24989
+20600000
+18c0a3fd
+da400001
+202029e4
+df200001
+da400002
+da20496c
+202029e6
+6f20c7b1
+da400003
+da2047b2
+202029e6
+df200001
+da400004
+da20496c
+202029e6
+6f20c7b1
+da400005
+da2047b2
+202029e6
+20402d26
+24740000
+6fe08bef
+c0032d16
+6fe0c96b
+c1000000
+c1018000
+6fe10bf0
+684949db
+98467c00
+24628000
+da200bf2
+da400007
+20402d38
+20740000
+477b403e
+6fe08bef
+c0002cf7
+c0012cfb
+c0022d0a
+20600000
+6fe149db
+67e10a78
+d8c00a78
+20202c72
+6fe0c96b
+c1000000
+6fe0c96c
+c4008000
+c3810000
+d8c00a7a
+df200014
+d8a04975
+20407dd4
+20402ae1
+da204975
+da400900
+df20000a
+20402ad9
+20202c9c
+6fe0c96b
+c1808000
+70496b02
+d8400003
+20402cae
+58000005
+e7e08005
+6fe149db
+e7e10005
+58000001
+e7e08005
+20600000
+d8c00bf0
+da400008
+477bc03e
+efe08006
+18c22200
+6848c8d4
+98467c00
+24628000
+20402ccc
+20402d38
+20740000
+700c3a01
+68488a79
+18408401
+d8c00a7a
+20202f3e
+d8a00bec
+20407d7f
+da200bec
+df200010
+20407dac
+df200010
+d8c00bec
+20202d2e
+20407ec7
+e8410006
+580001a8
+1ff0fe00
+98467c00
+24628000
+efe08006
+67e08bfc
+20407ec5
+20202ccf
+477c403f
+20402d71
+20202d3b
+1a208c01
+e8408006
+1851fe00
+c000ad6b
+1fe67c04
+24217ec5
+1fe27200
+20402d61
+18410e0f
+98e67c00
+2042ad5a
+18e08fff
+6fe08a78
+afefffff
+2020fec5
+f9207e00
+67e08a78
+1a208c02
+efe08006
+1fe27200
+1a427e00
+98effe00
+d8a00a7a
+98a08a00
+20407dc7
+6fe08a78
+9a667c00
+2442fec5
+2422ad66
+20402d92
+20207ec7
+1fe0ffff
+9a4ffe00
+1a208c02
+e8408006
+9840fe00
+67e08a79
+20600000
+da600000
+1f208fff
+f9202600
+c2002d62
+20600000
+6fe10a74
+1fe20a00
+d8c00a76
+df200021
+20207dc7
+efe08006
+1fe27200
+67e08a79
+d8a00a7a
+20407dd4
+20207ec7
+70499032
+20402d80
+68494991
+98467c00
+2022ad84
+18467c00
+2022ad84
+684949b2
+98467c00
+2022ad87
+18467c00
+2022ad87
+20402d92
+20402d80
+20202d84
+efe08011
+207a0000
+79207e08
+20600000
+67e14991
+58004991
+20202d8a
+67e149b2
+580049b2
+20202d8a
+67e10a74
+1fe20c00
+d8a00a76
+df200021
+20207dc7
+da604990
+da402d92
+202031fc
+d8a04991
+df200042
+20207d9b
+6fe089f8
+c024ad9a
+c00dada3
+c00e2daa
+20600000
+20402d9d
+6fe14a0d
+20207e7a
+58000080
+67e08a10
+5800004a
+e7e08005
+700a0f02
+2020305d
+20402dc8
+6fe14a15
+c3810000
+20402dd2
+20402ddb
+6fe14a11
+20207e7a
+20402dc8
+6fe14a15
+c3810000
+20402dd2
+684909fb
+184cfe00
+1ff1fe00
+c0062db8
+20402dbd
+24740000
+58000000
+e7e10011
+6fe14a11
+20207e7a
+5fffffff
+e7e40011
+e7e40005
+6fe14a11
+20207e7a
+df200008
+efe10011
+da40ffff
+9a467c00
+2022fec5
+98467c00
+2022fec5
+1a20a202
+c2002dbe
+20407ec7
+20600000
+58000080
+67e08a10
+5800001f
+e7e08005
+58000000
+e7e08005
+6fe309f9
+e7e30005
+700a0f09
+2020305d
+20402e14
+1a20a206
+6fe109f9
+68494987
+18508400
+98467e00
+9a4ffe00
+9a20a200
+20600000
+684909fb
+df200008
+efe10011
+203a2de5
+da40ffff
+9a467c00
+2022ade5
+1a20a202
+c2002ddd
+20600000
+18508400
+e0410011
+20600000
+20406e66
+58002930
+67e149ed
+58002e18
+67e14465
+58002f9f
+67e14a0b
+580029c3
+67e149f1
+580029d6
+67e14a11
+580029d2
+67e14a0f
+58002e1d
+67e1446f
+5800273c
+67e149ef
+58002926
+67e149f7
+5800300b
+67e1446b
+58003014
+67e14467
+7047d124
+2040284b
+477cc03f
+20402a01
+20402e28
+da204976
+da400000
+df200001
+204029e6
+20402995
+20402e10
+6fe0c976
+c07fac3b
+20402b0e
+20402b00
+20402ae8
+202027ff
+6fe349d7
+20407dbb
+67e3437a
+20600000
+6f20ca17
+6a214a18
+6a414a1a
+20600000
+2040284d
+20402a16
+20403086
+204028dc
+20202919
+20402a18
+20202d8f
+20402e14
+20402f25
+1a627e00
+20407e7a
+20402f2a
+1a427e00
+9a20a200
+c2002e20
+20600000
+7080723f
+7080716c
+7080706d
+20205e5c
+477d403f
+6fe08c14
+c283ae31
+704b2900
+20203021
+20402e37
+20740000
+20402e58
+20740000
+20402e68
+20202e75
+20407ec7
+df200003
+da200c15
+20407dac
+6a218c15
+1a21041f
+6048ca20
+6fe0ca27
+98467c00
+24217ec5
+1a31fe00
+1fe37e00
+1fe1041f
+6048ca1f
+1ff1fe00
+1fe37e00
+da201fff
+9a210400
+1fe22400
+6fe14a1d
+98467c00
+2442ae54
+60494a1d
+1a4cfe00
+1ff1fe00
+1fe37e00
+67e0ca1c
+67e0cb29
+20600000
+58000000
+67e24a21
+704a2600
+20600000
+20407ec7
+6fe0ca1f
+1fe20e00
+6fe24a21
+afefffff
+2020fec5
+f9207e00
+67e24a21
+6848ca20
+1840f201
+1f208fff
+afefffff
+24608000
+c2002e62
+704a2501
+20600000
+6fe08c0a
+1fe0fffa
+1fe27200
+6848ca26
+98408400
+6048ca26
+6fe14a28
+98000a00
+6fe0ca1f
+1feffe0c
+98a08a00
+d8c00c18
+20207dd4
+6fe0ca25
+c1000000
+58000000
+67e2ca21
+68490c0e
+18508400
+5800e000
+98410400
+6fe14a1d
+9841fe00
+1ff0fe00
+67e10c0e
+2020302b
+6fe08a0f
+1fe08401
+1fe27200
+60488bff
+6fe08c14
+793ffe07
+67e0cb61
+d8c00a10
+20407dc7
+20202fdb
+1a208404
+1a227200
+60488bff
+d8a04b65
+20407dc7
+6fe08c14
+79207e07
+67e0cb61
+20202fdb
+6fe089f8
+c000ae9c
+c0012ea2
+c0212ea7
+c0262eaa
+c02f2eb0
+20600000
+da602e9e
+20202f14
+6fe149f9
+20407e7a
+67e089f9
+2020276d
+da602ea4
+20202f14
+2040276d
+6fe149fb
+20207e7a
+20402785
+6fe149fd
+20207e7a
+6fe109f9
+20402ebf
+67e089fe
+20402775
+6fe149ff
+20207e7a
+6fe14a2a
+684909fb
+98467c00
+20628000
+6fe109fb
+20402ed1
+67e08a03
+6fe109fb
+67e14a2a
+6fe14a01
+20407e7a
+604909f9
+2040277d
+6fe14a03
+20207e7a
+207a0000
+1feffe64
+d840ffff
+9846fc00
+20407e64
+18070400
+184c8400
+1807fe00
+18467cff
+24628000
+1fe0fe01
+20600000
+dfe0ffff
+984ffe00
+1fe6fc64
+20407e64
+18078400
+20600000
+d8400320
+98462200
+20402ee0
+1a227e00
+9846fc00
+20407e64
+1807fe00
+20600000
+18422200
+20402ee0
+1a227e00
+984ffe00
+d8400320
+98408400
+20600000
+58004e20
+d8400320
+98467e00
+1fe6fc64
+20407e64
+18078400
+20600000
+d8e00000
+6f20ca17
+20407ec7
+6fe14987
+98467c00
+2022aef3
+1ff0fe00
+1fe0fe01
+1ff0fe00
+18e08e01
+c2002eeb
+20600000
+704a2c00
+60e0ca2d
+20402f2f
+20207ec5
+d8e00000
+da600000
+20402e14
+20407ec7
+6fe14a15
+c3012f0a
+efe10011
+98467c00
+2042af08
+1a427e00
+9a20a200
+18e08e01
+c2002efb
+1a627e00
+207a0000
+67e0ca2c
+20207ec5
+f9202600
+20600000
+1a208c06
+de000008
+efe10006
+98467c00
+2022af12
+1e00e1ff
+2022af00
+20202f0c
+20402f08
+20202f00
+d8e00000
+6fe0ca2c
+203a2f20
+1fe22400
+6f20ca17
+60e0ca2d
+aa4fffff
+2040af20
+68e0ca2d
+18e08e01
+c2002f19
+20600000
+20402f25
+20402f2f
+1a627e00
+20407e7a
+20202f2a
+67210c00
+62210c02
+62410c04
+62610c06
+20600000
+6f210c00
+6a210c02
+6a410c04
+6a610c06
+20600000
+477dc03f
+6fe14987
+1ff0fe00
+98e0fe00
+1ff0fe00
+67e14b55
+20402e14
+18e27e00
+9a4ffe00
+9a20a200
+1a208c17
+efe10006
+67e1448c
+20600000
+700c3a00
+18467c0c
+20610000
+18467c1e
+24610000
+477e403f
+20402f97
+20402f65
+24740000
+20402b1f
+20402f8e
+6fe08c0a
+d8400c12
+20402c09
+24628000
+477ec03f
+68490c12
+20402ee7
+20342f72
+df20001d
+d8a00a98
+d8c00c0b
+20407dd4
+20402f5b
+df20001d
+d8c00a98
+d8a00c0b
+20407dd4
+6fe14a0b
+20207e7a
+20402ef7
+20342f72
+704a2cff
+5800ffcf
+98467c00
+2022af72
+5800ffff
+98467c00
+2022af72
+20600000
+20407ec7
+68488c0b
+1851fe00
+1fe97e00
+6a20ca31
+1a212201
+9a267c00
+24628000
+1841047f
+6fe0c8d4
+98467c00
+24628000
+20207ec5
+da204a32
+df20000a
+68490c10
+efe10011
+203a2f7c
+98467c00
+2022af7d
+1a20a205
+c2002f74
+da204a32
+e0410011
+60490c35
+1a20a602
+efe18013
+67e18c37
+20202f82
+20402f8b
+6fe18c37
+68498c0d
+98467c00
+20610000
+e0418013
+20402f8b
+20402fee
+20202e2c
+da200c0d
+df200003
+20207dac
+20402f91
+d8c048e5
+20206e26
+d8a00c28
+58000000
+e7e08005
+6fe30c0c
+e7e40005
+20202fe9
+1840fff4
+67e08c0a
+df20001d
+d8a00c0b
+20407d9b
+1840f3ff
+d8a00c0b
+20207dc7
+20402fb6
+24740000
+20402fcb
+700a740a
+6fe08c0a
+1fe0840d
+60488a76
+184085ff
+e0408005
+5800002a
+e7e08005
+1840f3ff
+6fe38c0b
+d8c00c0b
+20407dd4
+6fe1478f
+2feffe09
+2040afb3
+da200a74
+202079aa
+6fe08c3a
+c1010000
+20203017
+20407ec7
+6fe08c3a
+c1008000
+6fe14a15
+c3808000
+6fe0c96b
+c1800000
+68490c10
+20402ee7
+24740000
+20402fd0
+24740000
+20402fd3
+6fe08c0c
+207a0000
+1fe0ffff
+207a0000
+67e08c0c
+58004a8c
+67e1448c
+20207ec5
+20402f8e
+6fe08c0a
+d8400c12
+20402be8
+20202b1f
+58004a64
+67e10bfd
+20202978
+df200002
+da200c12
+da400021
+204029e6
+6f208be0
+6a210be1
+da400021
+202029e4
+477f403f
+20402fdf
+20402fe8
+202028c3
+6fe08bff
+1fe0a202
+1fe0fe04
+67e08bff
+d8404b5f
+20202fe5
+20402f8e
+1a227e00
+20202be8
+20202b1c
+6fe24a2e
+e7e20005
+18a0fff3
+67e10bde
+20600000
+6fe08c0a
+1fe0f20b
+da200c0b
+da400020
+202029e4
+7043e714
+58000002
+67e0c3e8
+58000001
+e7e08005
+58000006
+e7e08005
+58000003
+e7e08005
+58000003
+e7e08005
+58001828
+e7e10005
+5800000c
+e7e08005
+58000016
+e7e08005
+58001828
+e7e10005
+58000000
+e7e08005
+6fe44963
+e7e40005
+20600000
+6fe14437
+c007300e
+20600000
+1a420400
+efe08011
+c0003012
+20600000
+700a9702
+20202f3e
+1a627e00
+c00ab279
+20600000
+20401b24
+247a0000
+6fe08a76
+1fe0a3ff
+d8400010
+20401e5f
+58000000
+e7e08005
+d8c00a79
+20207d7d
+c3033024
+2040304a
+20203026
+20403057
+20203026
+6fe08c0a
+1fe0fff9
+de000c15
+20407ec7
+20203038
+6fe08c14
+c303302f
+2040304a
+20203031
+20403057
+20203031
+6fe0cb29
+245a7ec5
+205a7ec7
+6fe0ca26
+1fe0fffc
+704a2600
+de004bc6
+1e020400
+20403044
+24628000
+df200001
+da200be0
+da400040
+204029e6
+20403047
+24740000
+6fe10be1
+1fe26000
+20202735
+24342c09
+1fe0fffc
+20202c07
+58004b2a
+67e10bfd
+20202978
+2040304d
+d8c04b19
+20206e26
+d8a00c28
+58000001
+e7e08005
+6fe0cb29
+d8400000
+7d3a0407
+e0408005
+6fe38c0d
+e7e38005
+20202fe9
+2040305a
+d8c04827
+20206e26
+d8a00c28
+58000002
+2020304f
+477fc03f
+2040314b
+2040314c
+2040311b
+20403066
+20740000
+2040307e
+da200c43
+202079aa
+20407ec7
+d8400002
+6fe0c96b
+98408400
+6fe08c3a
+1fe67c02
+79228407
+6fe08c3a
+1fe67c01
+79228406
+60488c43
+6fe4cb58
+67e48c47
+6fe08a10
+c1ea0000
+6fe0c96b
+c0807ec5
+6fe08a13
+67e08c46
+6fe08c43
+1fe0fe01
+79207e05
+67e08c43
+20600000
+6fe08a0f
+1fe27200
+67e08c50
+6fe08c14
+67e08c51
+d8a00c56
+d8c00a10
+20207dd4
+da603088
+20202e1f
+1a208c16
+efe08006
+247a0000
+efe10006
+67e1448c
+da200c43
+204079d2
+24740000
+6a210c02
+68488c43
+18417e0f
+203a30ca
+1a208a16
+58000001
+e7e08005
+204030b4
+68488c43
+204030ba
+1a208a19
+e7e08005
+1a208c1a
+efe08006
+284ffe07
+7920fe02
+1a208a1a
+e7e08005
+79200404
+184085ff
+e0408012
+68488c43
+284ffe04
+2420b0cf
+68488c50
+60488a0f
+18427200
+d8a00a10
+d8c00c56
+20407dd4
+18467c0f
+242130b1
+20202e82
+6fe20c52
+67e20c3e
+202030f0
+6fe08c51
+67e08c14
+6fe48c47
+67e4cb58
+67e48c0b
+20600000
+58000003
+204030c7
+6fe08c46
+284ffe05
+20608000
+58000001
+204030c7
+58000000
+284ffe06
+24608000
+58000002
+204030c7
+20207ed1
+1a208a1a
+e7e08005
+20600000
+58000000
+1a208a19
+e7e08005
+da200c43
+202079c1
+20403113
+20403127
+6fe4cb58
+67e48c47
+204030e8
+58000000
+67e0cb29
+20403109
+68488a0f
+60488c50
+18427200
+d8c00a10
+d8a00c56
+20407dd4
+18467c0f
+242130e2
+da200c44
+204079e1
+20202e82
+2040312f
+6fe20c3e
+67e20c52
+da200c44
+204079e1
+202030f0
+6fe08c50
+1fe27200
+67e08a0f
+6fe08c51
+67e08c14
+d8c00c56
+d8a00a10
+20207dd4
+2040313c
+58000a10
+67e10c3b
+204030b4
+20403113
+20403127
+68488a0f
+5800000c
+20407ebb
+1fe22200
+18427e00
+9a267e00
+67e08a0f
+6fe10c3b
+1fe20c00
+9a208400
+60490c3b
+20402e8c
+6fe08a0f
+207a0000
+6fe08c40
+1fe0fe01
+67e08c40
+2040313c
+202030f3
+6fe08c14
+c303310d
+2040304a
+2020310e
+20403057
+6fe08a0f
+1fe08404
+60488a0f
+d8400a10
+20202be8
+6fe1cb52
+1fe0fe01
+67e1cb52
+6fe0c98f
+1fe0fe01
+67e0c98f
+6fe14a0f
+20207e7a
+6fe0ca31
+1ff27e00
+1fe9fe00
+6848c8d4
+9841fe00
+67e0cb58
+6fe0cb57
+67e0cb59
+6fe14b55
+67e14b5d
+6fe10c35
+67e14b5f
+6fe1cb52
+67e1cb5a
+da204b5a
+df200003
+20407dac
+6fe44b59
+67e40c0c
+20600000
+6fe08a0f
+1fe6fc0c
+20407e64
+18078400
+18077e00
+205a3149
+60488c41
+700c4000
+6fe1cb52
+d8401fff
+98417e00
+67e10c3e
+20600000
+6fe10c3e
+1ff27e00
+1fe3fe00
+68488c40
+9841fe00
+1ff27e00
+1fe3fe00
+68488c41
+9841fe00
+67e1cb62
+df200003
+da204b62
+20207dac
+184085ff
+20600000
+20600000
+da200a10
+6f208a0f
+da400041
+202029e6
+44d6c015
+6fe0c09a
+203a3150
+c002369a
+c007b2b9
+c004cb23
+c0053814
+c007345e
+c006ca0d
+c0064d18
+c005ade8
+c0043c75
+20600000
+700a5100
+7000e300
+7000e400
+58000000
+67e28870
+6fe0c09a
+203a315d
+c005383d
+20600000
+20758000
+20405cb7
+20405cc0
+20405cc6
+20405ccb
+20405cd1
+20405cd5
+20406150
+6fe0c09a
+c004cc62
+c00236a5
+c0043cb8
+c006cadd
+20600000
+7041efff
+580041ef
+67e140ca
+704793ff
+70417a88
+70417cce
+20600000
+20407824
+204078f2
+20403184
+6fe14465
+20207e7a
+6fe14463
+20207e7a
+6fe14461
+20207e7a
+44d74015
+da204775
+20407ea2
+207a0000
+1fe22600
+2040318d
+202031b2
+da600000
+20600000
+c000b19f
+c00831e6
+c002b1c3
+c00931ca
+c00331e2
+c0023223
+c0013228
+c009b223
+c00a31d9
+c00ab1dd
+c001b1bc
+c005b1ce
+c00631d5
+c00b31ea
+c00c31b8
+c01531a8
+c015b1a6
+20600000
+6fe1478f
+79207e00
+67e1478f
+6fe14482
+793ffe00
+67e14482
+20207934
+70030c00
+20600000
+6fe0830c
+1fe0fe01
+67e0830c
+1fe67c01
+2021325e
+70030c00
+6fe14482
+79207e09
+67e14482
+20203268
+6fe14467
+20207e7a
+6fe1445b
+20207e7a
+6fe1445f
+20207e7a
+6fe14482
+79207e01
+67e14482
+20203291
+6fe1478f
+79207e07
+67e1478f
+6fe14482
+79207e02
+67e14482
+20600000
+6fe1478f
+79207e01
+67e1478f
+6fe14482
+79207e04
+67e14482
+20600000
+6fe1478f
+79207e03
+67e1478f
+20600000
+6fe1478f
+79207e05
+67e1478f
+6fe14482
+79207e03
+67e14482
+20600000
+6fe1478f
+793ffe05
+67e1478f
+20600000
+6fe1478f
+79207e09
+67e1478f
+20600000
+70443500
+6fe1478f
+793ffe09
+67e1478f
+20203297
+6fe1478f
+79207e02
+67e1478f
+20600000
+6fe14482
+79207e00
+67e14482
+20600000
+6fe14482
+79207e08
+67e14482
+20203268
+67e0830d
+44d7c015
+6fe0830d
+207a0000
+1fe0ffff
+67e0830d
+20407830
+20403255
+20403216
+2040321c
+20405d7b
+6fe1446f
+20407e7a
+202031ef
+efe08013
+207a0000
+1fe0ffff
+e7e08013
+247a0000
+1a427e00
+20207e7a
+efe10013
+207a0000
+1fe0ffff
+e7e10013
+247a0000
+1a427e00
+20207e7a
+684944cc
+1840a601
+da40320e
+202031fc
+204032ad
+c000b211
+20203289
+58000002
+e7e08013
+1840a408
+efe10012
+20207e7a
+da60447d
+da403219
+202031fc
+20400a5f
+2022b28d
+20600000
+da60478b
+da40321f
+20203203
+2040326f
+20403287
+6fe14469
+20207e7a
+2040323b
+6fe1478f
+793ffe07
+67e1478f
+20600000
+70447d00
+6fe1478f
+c283b22d
+2fec0001
+2040b18b
+44d84016
+6fe1478f
+793ffe00
+793ffe01
+793ffe02
+793ffe03
+793ffe07
+67e1478f
+20203297
+20403238
+20203289
+58000000
+67e14480
+20600000
+58000000
+67e14482
+20600000
+6fe14482
+67e14480
+58000000
+67e14482
+20600000
+6fe14482
+79207e07
+67e14480
+58000000
+67e14482
+20600000
+6fe0c78f
+2feffe05
+20600000
+6fe0c644
+67e0c47d
+20600000
+d8e00009
+20201566
+d8e00009
+2020156a
+70447e05
+2020324f
+da60447e
+da403251
+202031fc
+7045f601
+20600000
+7045f600
+20600000
+70095b0a
+202078e5
+70095b1d
+202078e5
+44d8c016
+6fe0c47f
+67e080bc
+70030b01
+70095b03
+202078e5
+70095b1e
+202078e5
+70095b04
+202078e5
+6fe14794
+67e1478b
+20403283
+70095b01
+202078e5
+58000000
+67e1478b
+70095b02
+202078e5
+70095b0f
+202078e5
+70095b10
+202078e5
+70095b0e
+202078e5
+70095b0d
+202078e5
+70095b17
+202078e5
+70095b18
+202078e5
+70095b16
+202078e5
+70095b11
+202078e5
+70095b15
+202078e5
+70095b14
+202078e5
+70095b13
+202078e5
+70095b19
+202078e5
+70095b06
+202078e5
+70095b05
+202078e5
+70095b1f
+202078e5
+70095b20
+202078e5
+70095b25
+202078e5
+7920000d
+20600000
+793f800d
+20600000
+204032ad
+c00132a3
+58000001
+e7e08013
+1840a203
+1840a406
+e8408011
+1a60a601
+e0408013
+20203214
+58000000
+e7e08013
+6fe1478f
+c304b2a9
+20402134
+20403281
+684944cc
+1840a202
+1840a404
+2020329f
+684944cc
+1840a600
+efe08013
+20600000
+204032ad
+c08032b4
+20203289
+1840a40a
+20203214
+58000002
+67e0c78d
+20600000
+20758000
+580032e8
+67e1445d
+580061ff
+67e1445f
+58003395
+67e14465
+58003394
+67e14461
+58003303
+67e14467
+58003340
+67e1446f
+580032ea
+67e1446d
+580032f5
+67e1445b
+580033a1
+67e1446b
+44d94016
+2040343a
+204032e6
+204061da
+2040344c
+2040785b
+20407826
+580033ab
+67e14873
+5800339c
+67e1486a
+58003398
+67e1486c
+580032f1
+67e1486e
+58003441
+67e147b6
+58003443
+67e147b8
+58003448
+67e147c1
+58003445
+67e147c3
+6fe1478f
+c3860000
+20203289
+7045fa07
+20600000
+20403425
+20203289
+20401b24
+247a0000
+da2009d2
+204079c1
+24740000
+d8c009d2
+20204c5a
+6fe148a4
+67e1489e
+70486001
+2020342e
+6fe0c8aa
+c000b2fe
+6fe1478f
+c304b2fe
+6fe0c8ab
+c000b24f
+6fe0c80d
+243a324f
+20203251
+6fe0c8a8
+6848c8a9
+9841fe00
+c000b24f
+20203251
+1a627e00
+c016b2b1
+c0083299
+c00a337d
+c00ab386
+c020330b
+c0223315
+20600000
+20403311
+6fe143db
+c000b31b
+70489702
+70489c3c
+20600000
+6fe08287
+c3828000
+704a6301
+20600000
+6fe0ca63
+207a0000
+704a6300
+6fe102c3
+203a3330
+20600000
+6fe14376
+203a332e
+70489701
+684948c1
+6fe14372
+9840fe00
+67e14372
+1fe22200
+6fe14374
+9840fe00
+67e14374
+9a20fe00
+1fe30400
+6fe148cd
+9846fc00
+20407e61
+67e14376
+70489d01
+20600000
+70489703
+20600000
+70417700
+70489d00
+6fe102c1
+684948cb
+98467c00
+79212200
+6fe148cd
+684902c1
+98467e00
+79212201
+2a200603
+20608000
+6fe448cb
+67e44372
+70489d01
+20600000
+2040320a
+20403357
+2040335c
+20403373
+20403368
+20403362
+20403350
+20403349
+20203377
+da604a65
+da40334c
+20203203
+da200001
+2040786c
+6fe148ae
+2020627e
+da604a64
+da403353
+202031fc
+2040344e
+2040344e
+2040344e
+20203458
+da6048a6
+da40335a
+202031fc
+7048a700
+20600000
+da6048a0
+da40335f
+20203203
+da6047cc
+da4047ab
+20203430
+da60489c
+da403365
+202031fc
+6fe14376
+67e0c177
+20600000
+da60489d
+da40336b
+202031fc
+6fe08287
+2fe0c000
+2420b371
+70489701
+20403295
+20201f04
+70489d01
+20600000
+da60489e
+da403376
+20203203
+20203299
+da60489a
+da40337a
+20203203
+6fe148b4
+67e1489a
+2020344e
+6fe148b4
+67e1489a
+58000000
+67e148a0
+67e1489e
+204033fc
+20403425
+70417700
+20203277
+58000000
+67e2489a
+67e1c897
+67e143db
+7048ad01
+6fe148a4
+67e1489e
+6fe14a67
+67e14a65
+204079a5
+6fe0c866
+c1000000
+2040342e
+2020340e
+202033a8
+6fe0c866
+c1810000
+202033a8
+da6047da
+20403421
+da6047d3
+20203423
+70442700
+da6047e8
+20403421
+da6047e1
+2020339b
+6fe0c436
+c00933a4
+20600000
+6fe14437
+c006b3d6
+c005b411
+20600000
+6fe0c860
+207a0000
+2020620b
+1a227e00
+203a33b0
+18e27e00
+c00033b3
+20600000
+18e27e00
+c00033bb
+20600000
+7048aa01
+da604804
+20403421
+da6047fd
+20403423
+6fe1478f
+c304b3d2
+202033c1
+7048aa00
+202033bd
+6fe0c8a7
+c1808000
+7048a605
+20600000
+6fe0c8a7
+1fe0fe01
+67e0c8a7
+c000b3c7
+c00133cb
+20600000
+204033fc
+70487e01
+da604879
+202033e4
+7048a700
+70487e02
+da604879
+204033e4
+6fe0c8ab
+c000b3f1
+20600000
+6fe148a4
+67e1489e
+204033fc
+2020342e
+44d9c016
+2040356d
+efe08011
+c001b3dc
+c003b3e0
+20600000
+6fe0c8ab
+c00033f1
+c000b3fc
+20600000
+efe08012
+c000b404
+c0003409
+20600000
+44da4016
+6fe0c898
+2feffe00
+24608000
+1a608c06
+efe10006
+1ff0fe00
+1fe0f205
+1a608c03
+20403561
+e7e08006
+1a622200
+202079aa
+6fe0c866
+207a0000
+7048ab01
+da6047f6
+20403421
+da6047ef
+20403423
+70488d04
+70489001
+da604888
+202033e4
+6fe0c8ab
+207a0000
+7048ab00
+20403425
+70488d04
+70489000
+da604888
+202033e4
+7048ac01
+70488d07
+70489001
+da604888
+202033e4
+7048ac00
+70488d07
+70489000
+da604888
+202033e4
+6fe0c8ac
+207a0000
+202033f1
+efe10011
+67e14898
+2feffe00
+24608000
+6fe0c8ad
+207a0000
+7048ad00
+6fe448c3
+67e44372
+704a6403
+70488d07
+70489d1e
+6fe0c8ac
+67e0c890
+da604888
+202033e4
+da200001
+20203424
+da200000
+2020342b
+da200000
+2040786c
+da200001
+2040786c
+6fe148ae
+2020627e
+20407857
+df200007
+20207879
+da6047c5
+da4047a7
+20403435
+20403423
+6fe148a2
+67e148a0
+20203279
+efe10012
+67e14159
+efe10006
+67e14428
+20600000
+da200000
+20406239
+6fe348ae
+67e3095c
+20406260
+6fe148ae
+2020627e
+7048a801
+20600000
+7048a800
+20600000
+7048a900
+6fe148ae
+2020627e
+7048a901
+6fe348ae
+67e3095c
+20206260
+7044a200
+20600000
+2040618d
+67e148bd
+da2048b7
+204061ba
+67e0c8b6
+58000065
+c000345d
+1fe67c64
+2421345b
+67e0c890
+70488d05
+da604888
+202033e4
+70489064
+20203458
+20203299
+20406e5e
+20758000
+58003654
+67e1488d
+58002354
+67e1488f
+58003686
+67e14891
+580034da
+67e1445d
+580034da
+67e1445f
+58003289
+67e14469
+580034dc
+67e14465
+580034fd
+67e14467
+5800324f
+67e1445b
+58003567
+67e1446b
+58003527
+67e1446f
+44dac016
+204034c0
+204034ea
+204079a5
+70417702
+704c6400
+6fe0ca26
+67e0c8f5
+c0003489
+6fe0ca27
+67e0c793
+70442700
+20407826
+20407830
+704a4e01
+6fe1478f
+c3860000
+20203289
+202034a7
+704a4e02
+70442701
+58000020
+20404c56
+d8a042ff
+6fe0c37a
+1fe104f0
+18518400
+204034a1
+e0408005
+1fe1040f
+204034a1
+e0408005
+20401a58
+6848c2f7
+18427200
+d8a043ea
+d8c042f8
+20407dd4
+6848c2f7
+18427200
+d8a0440a
+d8c042f8
+20207dd4
+18467c09
+202134a5
+18408437
+20600000
+18408430
+20600000
+6fe0ca1b
+c0ffb4b9
+6fe0ca19
+c0ffb4bc
+6fe0ca24
+c0ffb4be
+6fe0c987
+1fe27200
+58004988
+1fe22200
+1a220c00
+efe08006
+18c22200
+c07fb4b7
+1fe20400
+2040610d
+c20034b1
+20600000
+6fe44a1b
+67e4498a
+202034a9
+67e0c988
+202034ab
+67e0c989
+202034ad
+20403650
+da200000
+20406239
+204034a7
+204034f2
+204034d8
+202034c7
+6fe0cc51
+1fe27200
+58004c52
+1fe22200
+1a220c00
+efe08006
+18c22200
+c07fb4d2
+1fe20400
+67e0cc56
+204034d4
+c20034cb
+20600000
+6fe0cc56
+c17f8000
+98000400
+2020610d
+704a2a64
+20600000
+202061ff
+2020620b
+204034f4
+204034df
+202034db
+6fe1478f
+c3848000
+6fe0cc64
+c000b4e4
+20600000
+6fe0ca45
+c1008000
+704a4501
+204034ee
+204034f0
+20203507
+6fe14c69
+67e14c6b
+704c6d00
+20600000
+58000000
+202034eb
+da200000
+2020786c
+da200000
+20207871
+6fe1478f
+c4048000
+20401b24
+247a0000
+da204973
+204079c1
+24740000
+d8c04973
+20204c5a
+1a627e00
+c016b2b1
+c0083299
+c00a3503
+c00ab50d
+20600000
+204034ee
+204034f0
+793f8027
+20203509
+6fe14a46
+67e14a48
+704a2914
+70409900
+20403277
+20203295
+79200027
+204034ea
+20403604
+204035f8
+58000000
+67e2c9f7
+58000004
+2040627e
+58000005
+2040627e
+58000014
+2040627e
+58000015
+2040627e
+58000016
+2040627e
+58000007
+2040627e
+204079a5
+7049b90a
+7049bb0a
+7049bd0a
+70417702
+58000020
+20404c56
+20203279
+204035a5
+204035a8
+204035ab
+2040320a
+2040353d
+20403537
+2040352f
+20203532
+da604c65
+da400000
+202031fc
+da604c6b
+da403535
+20203203
+704c6d01
+20600000
+da604a48
+da40353a
+20203203
+704a4502
+704c6400
+20203511
+6fe0ca23
+207a0000
+da604a29
+da403542
+202031fc
+6fe0ca28
+67e0ca29
+6fe0ca2c
+247a0000
+2040618d
+67e14a43
+da204a3d
+204061ba
+6848ca2a
+98467c00
+2021354f
+67e0ca2a
+1fe20400
+6048ca2b
+6fe0ca25
+98467c00
+2041355a
+6048ca36
+df200006
+d8c04a31
+20403561
+67e0ca37
+da204a2e
+202079aa
+6fe0ca2d
+247a0000
+704a2d01
+da200001
+20207871
+da200001
+2020786c
+da200000
+efe08006
+9a20a200
+c2003562
+1a217eff
+20600000
+6fe0c436
+c009356a
+20600000
+6fe14437
+c00a3581
+20600000
+44db4016
+efe28011
+67e289de
+6fe109de
+d8406b5a
+98467c00
+24628000
+6fe109e1
+1ff0fe00
+67e109e1
+1fe27200
+1a20a205
+1a220c00
+d8a009e3
+20407dd4
+efe08006
+67e089ed
+da2009e0
+da4009e3
+20600000
+58000000
+67e2c9ad
+67e2c9b2
+2040356d
+1a420c00
+d8a049ad
+df20000a
+20407dd4
+44dbc016
+efe08011
+c00135b4
+c001b5c9
+c00235d0
+c002b5d0
+c0033640
+c003b641
+c0043644
+20600000
+20403581
+6fe089e0
+c0023598
+c002b598
+20600000
+6fe0c9ad
+245a359f
+6fe0c9af
+245a35a1
+6fe0c9b1
+245a35a3
+20600000
+704c4e05
+20600000
+704c4f05
+20600000
+704c5005
+20600000
+da604c4e
+da4035ae
+202031fc
+da604c4f
+da4035b0
+202031fc
+da604c50
+da4035b2
+202031fc
+7049ad00
+202035d0
+7049af00
+202035d0
+7049b100
+202035d0
+6fe0c9ad
+67e0c9b8
+6fe0c9ae
+67e0c9ba
+202035da
+6fe0c9ad
+67e0c9ba
+202035e8
+6fe0c9b9
+204035c1
+6fe0c9ae
+67e0c9b8
+202035e6
+c00135c5
+c001b5c7
+67e0c9b9
+20600000
+7049b905
+20600000
+7049b90a
+20600000
+6fe0c9ad
+204035c1
+6fe0c9b9
+20403634
+20403637
+70095d00
+20206272
+6fe0ca4b
+247a0000
+6fe349ad
+67e349b8
+6fe0c9b9
+6848c9bb
+98417e00
+6848c9bd
+98417e00
+205a35ec
+44dc4017
+6fe1478f
+2feffe09
+2440b4ea
+204035e6
+204035e8
+202035e1
+6fe0c9b8
+6848c9ba
+9840fe00
+243a7976
+20207974
+d8c049b8
+202035ee
+d8c049ba
+202035f3
+d8c049bc
+20203610
+704a2c00
+20600000
+efe08006
+c00035f8
+c000b5fc
+c0013600
+20600000
+efe08006
+c0003604
+c0013608
+c000b60c
+20600000
+6848cc52
+20406109
+6848cc53
+20206109
+6848cc52
+2040610d
+6848cc53
+20206109
+6848cc52
+20406109
+6848cc53
+2020610d
+6848cc54
+20406109
+6848cc55
+20206109
+6848cc54
+2040610d
+6848cc55
+20206109
+6848cc54
+20406109
+6848cc55
+2020610d
+44dcc017
+efe08006
+c000361d
+c000b616
+c0013618
+20600000
+7049d600
+20203619
+7049d601
+efe08006
+67e0c9d8
+efe40012
+20203622
+efe08012
+2040627e
+1a40a401
+efe08012
+2020627e
+67e449d9
+704a2c01
+6fe0c9d6
+c0003630
+6fe0c9da
+67e0c9db
+6fe0c9d9
+2040627e
+6fe0c9d8
+20403634
+67e0c9e0
+6fe349db
+67e3095c
+20206260
+6fe0c9d9
+67e0c9db
+6fe0c9da
+20203629
+1feffe05
+1fe0fe32
+20600000
+d8402ee0
+984ffe00
+1fe6fc64
+20407e64
+18078400
+18422200
+58002ee0
+98462400
+20600000
+20600000
+6fe449ad
+67e449f7
+20600000
+6fe0ca14
+67e0ca0a
+6fe0ca15
+67e0ca0b
+6fe0ca16
+67e0ca0c
+df20000d
+d8c04a05
+20403561
+67e0ca12
+da204a02
+202079aa
+58000000
+67e44885
+204023dc
+2020243a
+20403658
+20403660
+2040366f
+2020368d
+2040243e
+6fe0c8c3
+c1808000
+6fe0cc65
+243a2493
+6fe0ca45
+c0012493
+20600000
+6fe0c8c3
+c1800000
+20402497
+2037b66d
+6fe0cc6d
+207a0000
+6fe0cc6e
+1fe0fe01
+67e0cc6e
+c002366d
+20402281
+204023e8
+2437b664
+704c6e00
+20600000
+6fe0c8c3
+c1808000
+2040234b
+20403683
+20402359
+6fe0c884
+243a367c
+2040253a
+6fe0c8c1
+207a0000
+58000000
+67e248dd
+20600000
+7048c000
+da200000
+2040786c
+20402493
+204022b2
+6fe240a8
+20202292
+6fe248dd
+207a0000
+20202292
+6fe1478f
+c3848000
+6fe14a46
+67e14a48
+704c6401
+da204898
+20203593
+6fe0cc6d
+207a0000
+20403695
+24740000
+6fe1c85f
+20407e1f
+604a4160
+20201464
+78347c00
+20401436
+6fe1c174
+203a7ec7
+202034da
+580036cc
+67e1488d
+5800379c
+67e14891
+580037ad
+67e14893
+58003773
+67e1488f
+580036d8
+67e10b45
+20207a08
+6fe08a2b
+67e0c8f5
+204036c7
+6fe0c915
+2feffe05
+2020b6ae
+6fe0c915
+2feffe06
+2040a2c4
+6fe0c915
+1fe17e0f
+67e0c1e8
+20403174
+704881ff
+58000c4b
+67e148ed
+58000d4b
+67e148ef
+58000e4b
+67e148f1
+58000f4b
+67e148f3
+70488085
+70493e00
+7048d800
+204022d8
+204023dc
+204022db
+204022b5
+6fe0c91f
+67e08b47
+6fe4c916
+67e48b48
+20600000
+7040c518
+6fe0c915
+c4038000
+7040c508
+20600000
+6fe0c8bd
+c0003763
+c000b6fd
+20600000
+d8400001
+da2048f5
+5800002a
+20205f00
+df200001
+da2048f5
+d840002a
+20205f12
+6fe0c915
+c28236dc
+6fe0c8f5
+c0ad36e0
+7048f55a
+6ff21aac
+79207e1d
+67e20aa0
+204036f7
+20407a5b
+204036e4
+202036ed
+6fe08b48
+207a0000
+6fe0c8f5
+c02d36eb
+6fe20b49
+67e20aa0
+20600000
+6fe20b4d
+202036e9
+6fe0c8f5
+c02d36f3
+580099a4
+67e10a93
+700ac41a
+20600000
+580099bf
+67e10a93
+700ac43f
+20600000
+6fe0c920
+207a0000
+d8c04920
+d8a00b09
+df20001e
+20207dd4
+20402493
+2040376b
+2040249c
+2040372f
+202036fe
+20403705
+20403714
+20203723
+6fe0c914
+207a0000
+d8e0000b
+20407de9
+247a0000
+70491400
+58000001
+67e08bff
+58000000
+e7e38005
+700bf820
+6fe08bf9
+79207e02
+67e08bf9
+20600000
+6fe0c912
+207a0000
+d8e0000e
+20407de9
+247a0000
+70491200
+d8a00c0f
+df200002
+20407d8c
+700c0f00
+700bf710
+6fe08bf9
+79207e01
+67e08bf9
+20600000
+6fe0c913
+207a0000
+d8e0000c
+20407de9
+247a0000
+70491300
+d8a00c1f
+df200002
+20407d8c
+700c1f03
+700bf821
+20203710
+44dd4017
+6fe08bed
+205a377d
+204079fc
+6fe08be3
+207a0000
+700be300
+6fe10be1
+d84002ba
+98467c00
+24628000
+6fe08b61
+c1dd0000
+6fe08b62
+c0503744
+c050b74a
+c0533756
+c053b758
+c054b75e
+700be400
+20600000
+6fe08b63
+c040b747
+20203742
+20402348
+700be401
+20600000
+6fe08b63
+c000b74f
+c0423752
+c053b754
+20203742
+6fe0c884
+67e08ba2
+20203748
+20402494
+2020374f
+700ba2a1
+20203748
+700ba215
+20203748
+6fe0c8c3
+c000375c
+c000b754
+20600000
+700ba2a0
+20203748
+700ba200
+700ba300
+700ba401
+700ba507
+20203748
+2040243a
+2040243e
+20402464
+2040376b
+2040249c
+204024b9
+2040372f
+20203764
+44ddc017
+6fe0c8c3
+c1800000
+20402497
+20403702
+6fe0c8bd
+247a0000
+2020253a
+6fe0c839
+c000b776
+c001377f
+6fe0c93f
+c2803785
+20203781
+6fe0c09a
+c1820000
+70493f03
+20600000
+70493f00
+20600000
+6fe0c93f
+c280b789
+6fe0c8be
+c000b790
+c001b794
+20600000
+6fe0c93f
+793ffe00
+67e0c93f
+2020378c
+6fe0c93f
+793ffe01
+67e0c93f
+70483801
+580000ff
+67e0c7c9
+20600000
+7048be01
+204023bb
+24778000
+20202354
+6fe0c7a9
+c000b790
+c07fb790
+700be500
+70483801
+6fe0c8ce
+67e0c7c9
+20600000
+58000001
+67e08bff
+6fe3c898
+e7e38005
+6fe0c898
+245a37a5
+6fe0c898
+205a37a9
+2020370f
+70491401
+58000180
+d8e0000b
+20207ddb
+70491400
+58000000
+d8e0000b
+20207ddb
+6fe0c898
+c00037b2
+c00137e5
+c001b7cd
+202023fa
+6fe0c89a
+67e0c8be
+70489a00
+d8a00c0f
+d8c04899
+df200008
+20407dd4
+6fe40c0f
+245a37c5
+6fe40c0f
+205a37c9
+6fe40c0f
+67e448f6
+684c48fe
+98467c00
+2442b71e
+6fe448f6
+67e448fe
+202023fa
+70491201
+58000180
+d8e0000e
+20207ddb
+70491200
+58000000
+d8e0000e
+20207ddb
+d8a00c1f
+d8c04898
+df200003
+20407dd4
+6fe10c20
+245a37dd
+6fe10c20
+205a37e1
+6fe18c1f
+67e1c906
+6849c909
+98467c00
+2442b72d
+6fe1c906
+67e1c909
+202023fa
+70491301
+58000180
+d8e0000c
+20207ddb
+70491300
+58000000
+d8e0000c
+20207ddb
+d8a00c2f
+d8c04898
+df200002
+20407dd4
+6fe10c2f
+245a37f5
+6fe10c2f
+205a37f9
+6fe10c2f
+67e1490c
+6849490f
+98467c00
+2442b7fd
+6fe1490c
+67e1490f
+202023fa
+70491301
+58000180
+d8e0000c
+20207ddb
+70491300
+58000000
+d8e0000c
+20207ddb
+700bf822
+20203710
+6fe0c09a
+c1820000
+6fe0c8f5
+c12d0000
+70493e01
+20600000
+6fe0c09a
+c1820000
+6fe0c93e
+207a0000
+70096400
+7048f55a
+204036d4
+204036d0
+6fe08964
+1fe0fe01
+67e08964
+c07fde29
+6fe0c8f5
+c0ad380a
+20205e29
+20758000
+20401a55
+5800385b
+67e14465
+58003848
+67e14463
+5800385f
+67e14467
+58003844
+67e1445b
+58003998
+67e1446d
+58003b94
+67e1465d
+58003c37
+67e1446b
+58003c4e
+67e1446f
+20403858
+44de4017
+2040382b
+2040383f
+20203baa
+6ff08060
+793ffe00
+67f08060
+6fe447b7
+20405f56
+6fe147bf
+20405f6a
+20405f7d
+70807d08
+70807e49
+7080790a
+70807a0b
+d8400081
+6fe147c6
+2feffe00
+79208404
+60588060
+20600000
+20403858
+2020382b
+6848c7ab
+2040610d
+204038c2
+6848c7a9
+202060f4
+6848c7a9
+204060fd
+2420b251
+2020324f
+2040384a
+20203c5e
+6fe0c78f
+c3023858
+58003eff
+684a47ce
+98408400
+1c427e00
+98467c00
+24610000
+6fe1478f
+c282b858
+6fe147c6
+c3850000
+20403c61
+2040328d
+1c427e00
+67e247ce
+20600000
+20403c5e
+2040534f
+247a0000
+202038c7
+1a627e00
+c000b8af
+c001387e
+c00238b2
+c002b89f
+c0043885
+c004b88c
+c00538a5
+c005b891
+c006389d
+c009b8b2
+c00a38ab
+c00ab8a1
+c010b8a6
+c011b8a7
+c01238aa
+c0183bf2
+c018bbf4
+c0193c02
+c019bc00
+c01a3bec
+c01abbd5
+c01b3bea
+c01bbbf6
+c01c3bf8
+c01dbbd5
+c01ebbcc
+c020b8b4
+c02138b6
+c021bbea
+20600000
+20403858
+6fe0c772
+245a3bf6
+204038b2
+6fe1478f
+c4020000
+2020388c
+6fe1478f
+79207e04
+67e1478f
+6fe0c7b4
+67e0c177
+204038c2
+20203b7f
+6fe1478f
+c4020000
+793ffe04
+67e1478f
+20203b83
+20403858
+6fe14042
+1fe37e00
+68494455
+98467c00
+2422b898
+20203295
+6fe147c6
+c3848000
+6ff10112
+245a3c65
+2020328b
+20403c63
+20203297
+20403858
+202038b9
+20401ac8
+7047c800
+204038b2
+20203b85
+2020325c
+20203c63
+6fe147c6
+c304b28d
+20203c67
+20203c67
+204038b9
+6fe0c7b5
+67e0c177
+20203b81
+70476e00
+20403c63
+20203c67
+2040392f
+202038b7
+20402162
+20201f46
+20203c18
+6848c7ab
+2020610d
+204038bb
+202038c2
+6fe0c7ae
+2feffe00
+2040b26f
+6fe0c7ae
+2feffe01
+2040b277
+20600000
+6848c7ab
+20206109
+6fe0c659
+c1000000
+20206547
+6ff0810b
+c28138c4
+20405f9d
+efe08003
+c080b8dd
+6ff10112
+1fe67c02
+20610000
+efe08003
+67e089cf
+e8408003
+18622200
+604889d0
+18408403
+6ff10112
+98460400
+24610000
+7009d101
+204038eb
+6fe089d1
+c1000000
+202038e6
+20407d85
+20403bdb
+202038e0
+44dec017
+20405f9d
+6ff10112
+207a0000
+98608600
+202038ea
+20405f9d
+18608602
+efe08003
+98608600
+20205fa9
+44df4017
+6fe089cf
+c000391d
+c000b922
+c0013927
+c001b93c
+c0023946
+c002b94a
+c004b96c
+c005b9c3
+c00639c4
+c006b9e8
+c00739eb
+c007b9f3
+c00839fb
+c008b9ff
+c0093a03
+c00aba07
+c0133a0c
+c0143a11
+c014ba21
+c0153a2a
+c015ba5d
+c0163a63
+c0183a6a
+c018ba74
+c0193a85
+c019ba90
+c01a3abd
+c01abac0
+c01b3ac9
+c01bbad2
+c01c3ad5
+c0203add
+c0213ae7
+c0243aec
+c024baf7
+c028bafd
+c030bb01
+c03b3b10
+c03bbb16
+c03c3b1b
+c03d3b51
+c0483b5f
+c048bb64
+c0493b68
+c049bb6d
+c04a3b71
+c07fbb77
+20203b79
+6fe089d0
+c0833b79
+efe30003
+67e340a8
+20203b7c
+6fe089d0
+c0833b79
+efe30003
+67e3437a
+20203b7c
+6fe089d0
+c080bb79
+e8408003
+6048c7b6
+20403b7c
+6fe1478f
+c3848000
+c3800000
+6fe0c7ae
+2feffe00
+2420b935
+6848c7b6
+18417e03
+67e0c09b
+6fe0c7ae
+2feffe01
+24608000
+6848c7b6
+284ffe02
+2020b279
+20203277
+6fe089d0
+1fe67c43
+24213b79
+67e0c5ff
+df200008
+20407d8c
+6f2089d0
+d8a04600
+20405fdf
+20203b7c
+dfe0001d
+d8a042f7
+20403ac3
+20201a55
+6fe0c78f
+c3023b79
+20403249
+2020b95a
+7009d100
+20403858
+6fe0c656
+207a0000
+6fe14661
+243a3958
+6fe089d0
+67e14661
+67e1465f
+6061465f
+2040395c
+2020656c
+7009d100
+20203c48
+20403962
+6fe14661
+684947ac
+98467e00
+67e14661
+20600000
+6fe14661
+6849465a
+20407ebb
+6849464c
+20407ebb
+67e147ac
+20600000
+7009d101
+7009cf05
+20203b7c
+6fe1478f
+c304bb79
+204039c0
+20343b79
+7009d100
+6fe147c6
+c2843991
+6fe0c7c8
+247a0000
+7009d101
+efe10003
+67e147c9
+606147cb
+6fe089d0
+1fe0fffe
+24213b79
+2022bb79
+67e0c7c8
+684947c9
+184085ff
+20401a11
+203a3994
+e8420006
+59280302
+98467c00
+2422b994
+efe08006
+67e0c7cd
+1fe17e30
+203a3994
+7009d100
+20401ac6
+20403998
+20403998
+20403998
+6fe147c6
+c4040000
+7009d101
+20403c6b
+20203b7c
+7047c800
+7009d101
+20403c6b
+20203b79
+6fe0c7c8
+207a0000
+20401b24
+247a0000
+204039bb
+44dfc017
+6fe14380
+20407ebb
+1fe20400
+6fe0c435
+c3800000
+1840fffd
+d84000fb
+20407ebb
+6848c7c8
+20407ebb
+1fe22200
+18427e00
+9a267e00
+67e0c7c8
+204039b6
+6fe147cb
+1fe20600
+1a227200
+20405fdf
+18627e00
+67e147cb
+6fe0c7c8
+247a0000
+20203c69
+684947c9
+6fe0c7cd
+c2829e68
+c2821e5f
+20600000
+d8400017
+6fe147c6
+c3808000
+68494382
+20600000
+6fe147c6
+c2811e39
+20207ec7
+20203bae
+efe08003
+c040b9d1
+c04139d3
+c041b9d5
+1fe22200
+20406f26
+204075af
+1a227e00
+c00039d7
+c000b9da
+c00139e4
+c001b9e6
+20203b79
+20406f22
+202039da
+20406f22
+202039e4
+20406f22
+202039e6
+20406f2d
+70476700
+20203b7c
+58000003
+67e0c76f
+67e0c768
+58000000
+67e0c769
+58000004
+67e0c76a
+2040580c
+70476701
+20203b7c
+58000002
+202039db
+58000001
+202039db
+dfe00010
+d8a04796
+20203ac3
+efe08003
+6848c7c6
+7d3a0400
+6048c7c6
+68588060
+7d3a0404
+60588060
+20203b7c
+6f2089d0
+20407e2d
+20405f72
+67e147bf
+20403b7c
+20407e7c
+6fe147bf
+20205f6a
+da200002
+da4047a7
+d8400000
+20203b87
+6fe1478f
+c3003b79
+20403b7c
+20203268
+6fe1478f
+c304bb79
+20403b7c
+20203281
+6fe089d0
+c081bb79
+efe18003
+67e1c0b2
+20203b7c
+6f2089d0
+6fe14489
+1fe20a00
+20405fdf
+20203b7c
+6fe1478f
+c284baec
+c3003b79
+efe08003
+6848c76e
+793a0400
+79200407
+6048c76e
+20403b7c
+6fe0c76e
+c2833a1d
+20600000
+c28056e4
+70476e00
+70095b21
+202078e5
+6fe0c78f
+c4020000
+6fe0c659
+c1000000
+efe08003
+6848c657
+98408400
+6048c657
+20600000
+df200040
+d8a043e7
+20407d9b
+58000000
+67e08974
+1a220600
+18627e00
+67e10978
+20403a58
+6fe08974
+68488964
+18408401
+9840fe00
+67e08974
+1fe67c1f
+24213a44
+6848c3e7
+580043e8
+9840fe00
+67e1097d
+68488964
+18408401
+6fe0c3e7
+9840fe00
+67e0c3e7
+20203a4d
+6848c407
+58004408
+9840fe00
+67e1097d
+68488964
+18408401
+6fe0c407
+9840fe00
+67e0c407
+6fe1097d
+1fe20a00
+6fe10978
+1fe20600
+18427200
+20405fdf
+6fe089d0
+68488974
+98467c00
+2422ba30
+20203b7c
+efe08003
+67e08964
+efe08003
+67e08970
+20600000
+d8400000
+da200002
+6fe147c3
+67e1098e
+da40098e
+20203b87
+6fe089d0
+c080bb79
+efe08003
+67e0c7c1
+58000000
+67e147c3
+20203b7c
+6fe089d0
+c0823b79
+6fe1478f
+c284bb51
+efe20003
+67e24797
+70479604
+70477000
+20403b7c
+20205664
+6fe089d0
+c081bb79
+efe08003
+c0003a7a
+c000ba80
+20203b79
+20403b7c
+e8408003
+efe08003
+c0016121
+7d3a0407
+202060f4
+20403b7c
+e8408003
+efe08003
+203a610d
+20206109
+6fe089d0
+c080bb79
+e8408003
+204060fd
+58000000
+7d20fe00
+da200001
+67e1098e
+da40098e
+d8400000
+20203b87
+efe08003
+1fe20400
+c040ba9f
+c0413aa3
+c041baa8
+c0423aac
+67e0c39d
+204075af
+20401f35
+6fe0c39d
+c0003ab0
+c000bab3
+c0013ab5
+c0023ab7
+20203b79
+6048c39d
+20401f31
+7043530d
+20203ab1
+6048c39d
+20401f31
+7043530d
+70435101
+20203b7c
+6048c39d
+20401f31
+7043530d
+20203abb
+6048c39d
+20401f31
+7043530d
+20203ab9
+70435300
+70435103
+20203b7c
+70435301
+20203ab1
+70435305
+20203abb
+70435305
+20203ab9
+70435102
+20203b7c
+70435100
+20203b7c
+dfe0001f
+d8a043e7
+20203ac3
+dfe0001f
+d8a04407
+20203ac3
+6f2089d0
+9f267c00
+24213b79
+e7208005
+20405fdf
+20203b7c
+6fe1478f
+c304bb79
+6fe089d0
+c0843b79
+efe40003
+67e44372
+70095b12
+204078e5
+20203b7c
+efe10003
+67e14428
+20203b7c
+6fe0c39d
+203a3b79
+6fe0c39b
+c0803b79
+6fe0c39c
+c0803b79
+20407992
+20203b7c
+6fe089d0
+c082bb79
+efe08003
+67e0c7af
+efe20003
+67e247b0
+6848c7af
+2040610d
+20403c35
+20203b7c
+6fe089d0
+c080bb79
+efe08003
+67e0c1e8
+20203b7c
+efe08003
+c000baf5
+6fe0c399
+c001baf3
+c0033af3
+c003baf3
+20203b79
+70439a01
+20203b7c
+20401f9b
+20203b7c
+6fe089d0
+c080bb79
+20403b7c
+efe08003
+203a5840
+2020583e
+20403b7c
+20407e7c
+70801001
+2020137e
+6fe089d0
+c0003b79
+efe08003
+203a3b0e
+6fe089d0
+c082bb79
+efe20003
+d84f4240
+98467c00
+20213b79
+67e2439e
+20401abe
+20203b7c
+20401ac0
+20203b7c
+e8410003
+20401a11
+18c08bfe
+58000000
+e7e10005
+20203b7c
+20403b1f
+20403b4d
+58000000
+e7e10005
+20203c0f
+efe08003
+20403b23
+20403b2a
+20203c0f
+20403b4a
+58280002
+e7e18005
+20600000
+67e0895c
+20403b4a
+59280302
+e7e20005
+6fe0895c
+e7e18005
+20600000
+20401a30
+efe08003
+1fe1721f
+1fe22200
+2a2ffe07
+7920840f
+2a2ffe06
+7920840e
+e0410005
+1f227e00
+e7e08005
+20405ff3
+20403b4d
+58000000
+e7e10005
+184104ff
+184085ff
+20401a11
+18c08c04
+efe08006
+c2823b42
+c282bb42
+18408401
+20600000
+20401a30
+2a2ffe05
+7920840f
+e0410005
+5a290202
+e7e40005
+184085ff
+20600000
+20401a30
+e0410005
+20600000
+efe08003
+1fe27200
+e7e08005
+20205ff3
+6fe0c39b
+c082bb79
+6fe0c39d
+c0023b5d
+c0423b57
+20203b79
+70439802
+70439908
+20203b5a
+efe20003
+67e2439e
+20203b7c
+20403b5a
+20201f84
+6fe089d0
+c0813b79
+e8410003
+20401b29
+20203b7c
+d8400000
+da200002
+da404075
+20203b87
+6fe089d0
+c0843b79
+efe40003
+20401b27
+20203b7c
+ea208003
+ea410003
+d8400000
+20203b87
+6f2089d0
+1f20f3fe
+efe10003
+1fe20a00
+20405fdf
+20203b7c
+70409900
+20203b7c
+d8400001
+da200000
+20203b87
+d8400000
+da200000
+20203b87
+7009cf00
+20203bab
+7009cf02
+20203bab
+7009cf03
+20203bab
+7009cf05
+20203bab
+6fe089cf
+1fe22600
+7009cf06
+58000002
+9a20fe00
+20403c1e
+1a627e00
+e7e08003
+e0408003
+1a227200
+1a420c00
+20405fd9
+20203c28
+20403858
+7009cf07
+6fe083d2
+207a0000
+20403c1e
+6fe083d2
+1fe27200
+6fe103d4
+1fe20c00
+20405fc5
+20203c28
+7009cf08
+1f20fe02
+20403c1e
+6fe109fa
+e7e10003
+6fe109f8
+1fe20c00
+20405fc5
+18c27e00
+67e109f8
+20203c28
+7009cf09
+58000000
+20403c1e
+20203c28
+7009cf0a
+58000001
+20403c1e
+20403bbf
+6fe1478f
+d8e00002
+afefffff
+79208403
+d8e00009
+afefffff
+79208405
+6fe0c78f
+d8e00004
+afefffff
+79208404
+e0408003
+20203c28
+d8400000
+6fe0c09b
+d8e00000
+afefffff
+79208400
+d8e00001
+afefffff
+79208401
+6fe0c427
+d8e00000
+afefffff
+79208402
+20600000
+7009cf0d
+6fe0c48b
+1feffe22
+1fe27200
+20403c1e
+6fe14489
+1fe20c00
+20405fc5
+20203c28
+7009cf0e
+58000004
+20403c1e
+6fe2087c
+e7e20003
+20203c28
+7009cf0f
+6ff10112
+d8400040
+20407ebb
+1fe22200
+1fe27200
+20405f9d
+d8a0098e
+20405fdf
+1a227e00
+1a227200
+20403c1e
+d8c0098e
+20405fc5
+20203c28
+7009cf10
+20203bab
+7009cf11
+58000004
+20403c1e
+6fe2439e
+e7e20003
+20203c28
+da200180
+20203bf9
+da200080
+20203bf9
+da200101
+20203bf9
+da200001
+70476e00
+7009cf14
+58000002
+20403c1e
+1a227e00
+e7e10003
+20203c28
+da600000
+20203c03
+da600001
+7009cf15
+58000001
+20403c1e
+1a627e00
+e7e08003
+20203c28
+7009cf1d
+58000004
+20403c1e
+6fe2087c
+e7e20003
+20203c28
+60490964
+7009cf29
+58000002
+20403c1e
+68490964
+e0410003
+20203c28
+7009cf2b
+20203bab
+7009cf40
+58000002
+20403c1e
+6fe14075
+e7e10003
+20203c28
+7009ce02
+67e089d0
+604c0964
+44e04018
+20403c2a
+684c0964
+20405fb5
+6fe189ce
+e7e18003
+20600000
+44e0c018
+20205fb9
+20403c33
+20608000
+20403c31
+6fe247b0
+1feb7e00
+207a0000
+20207d81
+6848c7af
+2020610d
+6848c7af
+20206118
+6848c7af
+20206109
+622109f8
+624109f6
+6fe14437
+67e109fa
+204039c0
+20740000
+684909f6
+6fe0c7c5
+20407ebb
+1fe27200
+18427e00
+9f267e00
+67e109f6
+20403b9f
+6fe109f6
+207a0000
+20203c3d
+6fe147c6
+c3848000
+20403c65
+2020328b
+70417702
+20600000
+6fe0c7c1
+207a0000
+6fe0c7c2
+207a0000
+1fe0ffff
+67e0c7c2
+247a0000
+7047c205
+20406166
+2040618d
+1fe6fc64
+20407e61
+18070400
+67e0c7c3
+6048c7c4
+20600000
+20407e92
+20213258
+2020325a
+d8e0000a
+20203c71
+d8e0000a
+20203c6d
+d8e00009
+20203c71
+d8e00009
+20203c6d
+d8e00008
+20203c71
+d8e00008
+20203c6d
+6fe147c6
+f93ffe00
+67e147c6
+20600000
+6fe147c6
+f9207e00
+67e147c6
+20600000
+20406e5e
+20403ca6
+204041e7
+204040ce
+20758000
+20404766
+20403c83
+2040427c
+6fe0c92f
+c3838000
+6fe1478f
+c2864593
+204046de
+20203e15
+58004902
+67e14479
+580048a5
+67e1489f
+580048cc
+67e148a1
+58003e80
+67e148a3
+580043df
+67e14461
+58004497
+67e14463
+58003e7b
+67e1445f
+58004374
+67e14467
+5800468b
+67e14465
+58003e5e
+67e1445d
+580043c8
+67e1446b
+580044f5
+67e1446f
+58003fa9
+67e14473
+58003e4d
+67e1445b
+580049f5
+67e1446d
+580049f7
+67e14477
+58004a0a
+67e14471
+20600000
+20758000
+2040260e
+204022b5
+20403f60
+20403dd6
+20401ac2
+20401aeb
+20401ade
+20401aca
+6fe44bbc
+c289c675
+c2894636
+20600000
+7040c508
+6fe44bbc
+c3860000
+7040c518
+20600000
+700b58ff
+704793ff
+7047921e
+7049c505
+58004932
+67e1448f
+70448e01
+58004ac6
+67e1489d
+70483901
+6fe14902
+67e14794
+6fe14904
+67e14885
+6fe0c907
+67e14889
+6fe2c909
+67e2c8cf
+6fe0c908
+67e0c880
+6fe44bbc
+247a0000
+58020800
+67e1cbbc
+58800700
+e7e18005
+58000300
+e7e10005
+70409901
+6fe0c90e
+2feffe00
+2040c724
+6fe0c90e
+2feffe02
+2040c726
+6fe0c90e
+2feffe01
+2040c728
+6fe0c90e
+2feffe03
+2040c72a
+6fe0c90e
+2feffe04
+2040c72c
+6fe0c90e
+2feffe05
+2040c736
+6fe0c869
+245a22c4
+20403cb3
+6fe0c90f
+1fe10407
+6048c4a3
+1fe97e00
+1fe10401
+6048c869
+1fe37e00
+1fe10403
+6048c901
+1feb7e00
+1fe17e03
+20404812
+6fe0c910
+1fe10403
+6048c929
+1feb7e00
+1fe10403
+6048c92a
+1feb7e00
+1fe10401
+6048c92b
+6048c997
+1fe37e00
+1fe10401
+6048c87a
+1fe37e00
+1fe17e03
+67e0cbc5
+44e14018
+580b0c0a
+67e1c91c
+58ffffff
+e7e18005
+580607ff
+e7e18005
+58ffffff
+e7e18005
+7048fb0a
+58000064
+67e14bd9
+20403ebc
+58001770
+67e14bcf
+704bd114
+58000190
+67e14bd7
+67e14bd3
+580003e8
+67e14bd5
+70488107
+7048ce7d
+7041e800
+70489001
+58000f0f
+67e14891
+67e14893
+6fe140a8
+67e140ac
+d8a0437a
+d8c040a8
+df200006
+20407ed9
+704b9b20
+70493e34
+6fe3437a
+67e34955
+704bc402
+7043e71f
+58050102
+67e1c3e8
+58120303
+e7e18005
+58190318
+e7e18005
+580003c2
+e7e10005
+5806ff06
+67e1cae3
+58000300
+e7e18005
+58090c80
+e7e18005
+58355442
+e7e18005
+5820322e
+e7e18005
+58756f4d
+e7e18005
+58006573
+e7e10005
+7044071f
+d8c04aea
+d8a04408
+df20000d
+20407dd4
+6fe0c408
+1fe0ffff
+67e0c2f7
+d8c0440a
+d8a042f8
+df20000b
+20407dd4
+58070007
+67e1c372
+58002000
+e7e18005
+5800012c
+e7e10005
+58181203
+67e1cadd
+580000ff
+67e1cae0
+380000fb
+3806c212
+3808800f
+380c0021
+67e4444c
+70443207
+58000015
+67e14af8
+58000019
+67e14357
+5800001d
+67e14afa
+58000021
+67e14afc
+58000030
+67e14afe
+58000022
+67e143d1
+704b0196
+70493d00
+204022d8
+204022db
+58604800
+67e1c85f
+5800012c
+67e148c6
+58000050
+67e148c4
+58000005
+67e14bcb
+58000708
+67e14bcd
+58010403
+67e1c9d5
+582a2002
+e7e18005
+5822153f
+e7e18005
+58114433
+e7e18005
+58265a09
+67e1c9e4
+58041934
+e7e18005
+58000009
+e7e10005
+5800ffff
+e7e10005
+580d5a09
+67e1c9f8
+58ed1d10
+e7e18005
+5800807d
+e7e10005
+5800ffff
+e7e10005
+58ff5a09
+67e1ca3e
+5840ab27
+e7e18005
+589b56b3
+e7e18005
+5812a8e6
+e7e18005
+58bec0a9
+e7e18005
+58afa5e6
+e7e18005
+58a121a0
+e7e18005
+5810b802
+e7e18005
+58a70bb9
+e7e18005
+58d0b5ff
+e7e18005
+58ff00b6
+e7e18005
+58000900
+e7e18005
+5800ffff
+e7e10005
+580d5a09
+67e1ca64
+58c50e10
+e7e18005
+58109a5b
+e7e18005
+58421138
+e7e18005
+58412828
+e7e18005
+58394923
+e7e18005
+584bb04a
+e7e18005
+58904ca0
+e7e18005
+5809704d
+e7e18005
+58ffff00
+e7e18005
+5846a509
+67e1ca92
+58101934
+e7e18005
+58690760
+e7e18005
+58207d04
+e7e18005
+5809007e
+e7e18005
+58220d00
+e7e18005
+58ff220e
+e7e18005
+704aa7ff
+580b5a09
+67e1cab4
+580009f3
+e7e18005
+5800ffff
+e7e10005
+20203174
+58009468
+67e14663
+58009732
+67e14396
+58002580
+67e1c0b2
+70417803
+70415b08
+704baf00
+704baf00
+704bb000
+58000200
+67e14159
+70438017
+70438217
+58000a77
+67e14486
+38000306
+38044440
+38090000
+380c4408
+67e4c665
+38001224
+38044000
+38080000
+e7e28005
+3803ffff
+3806fe23
+380999d9
+380c020d
+67e440a0
+58004b06
+67e143de
+58000010
+67e143e0
+2040495b
+20404913
+20403ecf
+6fe44bbc
+c30dbe02
+7044550c
+58000006
+67e14372
+67e14374
+2040261a
+6fe44bbc
+c30c3e06
+20402612
+6fe0c93d
+67e0cac5
+6fe1c37d
+67e1cada
+6fe0c901
+1fe17efe
+67e0c901
+67e0c4a2
+58000000
+67e3c8d4
+6fe0c792
+67e0cbac
+67e0cbad
+20401a55
+202042e0
+44e1c018
+6fe44bbc
+c297c849
+6fe0c93d
+c0004835
+20403e28
+2434432b
+44e24018
+da20493e
+6fe0c93d
+1fe0ffff
+1feffe1d
+9a20a200
+efe08011
+67e0c484
+6fe0c484
+c019be32
+c01a3e3e
+20204593
+44e2c018
+78547c00
+6fe44bbc
+c305be2f
+6fe08989
+c3013e2f
+78347c00
+6fe0cac2
+67e0cac1
+20600000
+68494bc9
+6fe0cad2
+c07fbe36
+68494bc6
+604940c1
+6fe341dd
+203a326a
+70447f17
+6fe0c767
+243a3260
+70447f04
+20203260
+704ad801
+6848cbc8
+6fe0cad2
+c07fbe43
+6848c906
+6048cb88
+20403297
+6fe1cae0
+67e1c3ec
+20404428
+58000004
+e7e08006
+d8c04408
+2040442f
+20207959
+c513324f
+6fe0cabd
+203a324f
+6fe0cb05
+c000b24f
+6fe144db
+243a324f
+6fe0c8e5
+243a324f
+20203251
+6fe0c906
+67e0cad5
+20600000
+44e34018
+20404272
+2040427c
+20203289
+44e3c018
+6ff20138
+79207e1a
+67f2004c
+2040154c
+20406e62
+2040495b
+20404055
+20403e6a
+2040466d
+6848c915
+202060e6
+44e44019
+20404329
+20407f52
+20403e80
+20403e72
+6848c91b
+20403f96
+20203f98
+d8c08070
+df200013
+efe08006
+243a3e79
+58000040
+18c08bff
+e7e08005
+c2003e74
+20600000
+c6130000
+20403e80
+6fe0809d
+247a0000
+202060e6
+44e4c019
+20403fc8
+6fe0c923
+d840003f
+2040612c
+20405b62
+6848c91c
+204060da
+6848c91d
+204060da
+6848c91e
+204060da
+6848c911
+204060da
+6848c912
+204060da
+6848c913
+204060da
+6848c91f
+204060da
+6848c916
+204060da
+6848c917
+204060d6
+6848c918
+204060d6
+6848c920
+204060d6
+6848c921
+204060d6
+6848c915
+202060da
+6fe1478f
+c284bea5
+6fe1478f
+c2803ea8
+20600000
+1a227e00
+243a1ad2
+20201ad4
+1a227e00
+243a150e
+20201510
+6fe0c4a2
+c1810000
+44e54019
+6848c4a3
+18467c03
+20213eb9
+18408405
+6048c900
+18422200
+20406131
+c01fc9a1
+2040499f
+1a220400
+20206121
+18408404
+6048c900
+20203eb3
+6fe0c901
+c0013ec5
+c0003eca
+70490100
+582c0172
+67e1c8e7
+58014001
+e7e18005
+20600000
+585d0099
+67e1c8e7
+58007100
+e7e18005
+20600000
+58c8012c
+67e1c8e7
+5800dc00
+e7e18005
+20600000
+6fe44bbc
+c40a0000
+7048f901
+c3970000
+c3958000
+7048f900
+20600000
+6fe0c8fa
+1fe0fe01
+67e0c8fa
+6848c8fb
+98467c00
+20600000
+6fe44bbc
+c40a0000
+20403eab
+6fe0c8f9
+203a3ef3
+6fe0c4a2
+c0013ee8
+7048f903
+20403ed6
+20213eea
+20403eef
+20203ef9
+7048f902
+20203ef9
+20403ead
+7044a202
+6fe0cbbb
+245a3eef
+20203ef9
+7048fa00
+6fe0c901
+67e0c4a2
+20600000
+6fe0c4a2
+c0813ef7
+6fe0cbbb
+247a0000
+20403ed6
+24610000
+44e5c019
+6fe0cbbb
+247a0000
+7048fa00
+20406166
+2040618d
+67e148ed
+6fe0c4a2
+c0813f08
+684948ed
+184ffe08
+1fe6fc0a
+20407e61
+9840fe00
+67e148ed
+da2048e7
+20403f1a
+6fe0c4a6
+c2813f5c
+c280bf5e
+c3003f12
+7048fe01
+20203f10
+d8e00004
+2020472e
+d8e00004
+20404732
+7048fc0c
+6fe0c8fe
+207a0000
+7048fe00
+6848c925
+20204978
+44e64019
+efe40011
+67e4095c
+6fe0c8f9
+c0003f32
+c0013f21
+c001bf51
+6fe44bbc
+c3173f27
+6fe10962
+684948ef
+98467c00
+24213f54
+6fe44bbc
+c315bf32
+7048ff00
+6fe10962
+684948f1
+98467c00
+24213f30
+204046e7
+20203f32
+204046eb
+20203f32
+20403f58
+204061d6
+204061ce
+6fe10962
+6849095e
+98467c00
+244161d2
+68490960
+98467c00
+244161ca
+6fe10962
+6849095c
+98467c00
+20213f4d
+6849095e
+98467e00
+24213f4f
+203a3f4f
+1fefa264
+6fe1095c
+6849095e
+98460400
+1a227e00
+9846fc00
+20407e61
+67e0cb00
+20600000
+704b0064
+20600000
+704b0000
+20600000
+6fe0c4a2
+c0013f21
+20203f32
+6848c4a6
+79200402
+6048c4a6
+20600000
+6848c4a6
+793f8402
+6048c4a6
+20600000
+7048ff01
+20600000
+2040495b
+20203e5a
+6848c4c3
+2040610d
+20407a1f
+6848c91c
+20403f96
+6848c91d
+20403f96
+6848c91e
+20403f96
+6848c911
+20403f96
+6848c912
+20403f96
+6848c913
+20403f96
+6848c914
+20403f96
+6848c91f
+20403f96
+6848c916
+20403f96
+6848c917
+20403f96
+6848c918
+20403f96
+6848c920
+20403f96
+6848c921
+20403f96
+6848c915
+20403f96
+6848c922
+20403f96
+6848c925
+2040610d
+6848c919
+2040610d
+6848c926
+2040610d
+6848c927
+2040610d
+6848c928
+2040610d
+6848c91a
+20203f96
+18467cff
+20628000
+18410e7f
+6ff2011c
+afefffff
+2020bf96
+20203f94
+79200407
+202060f4
+793f8407
+202060f4
+6fe1cbef
+67e1895c
+df200014
+d8400000
+6fe1895c
+2feffe00
+2040e121
+6fe1895c
+1fe3fe00
+67e1895c
+18408401
+c2003f9c
+20600000
+20403faa
+70448673
+20403fa9
+20205b66
+20205d54
+6fe0c923
+d8400021
+2040612c
+6fe0c924
+d8400023
+2020612c
+44e6c019
+78547c00
+58000000
+67e348d5
+20404280
+20403fbe
+20403fc3
+2040411c
+6fe0c8d4
+1fe17e1f
+67e0c8d4
+24344766
+20404758
+20204584
+6fe0c8e4
+207a0000
+67e0c8d9
+7048e400
+20207ec5
+6fe0c8e0
+207a0000
+67e0c8da
+7048e000
+20207ec5
+20403fd5
+20404011
+6fe0c8de
+6848c8dd
+67e0c8dd
+98467c00
+2422b253
+6fe0c8e2
+6848c8e1
+67e0c8e1
+98467c00
+2422b253
+20600000
+6fe0c920
+c17f8000
+da200000
+6848c920
+204060fd
+7920a200
+6848c921
+204060fd
+7920a201
+1a227e00
+67e0c8de
+c000bfe5
+c0013fe9
+6fe0c8df
+c283bff5
+20600000
+6fe0c8dd
+c0003fed
+c001bfef
+20600000
+6fe0c8dd
+c0003ff1
+c001bff3
+20600000
+7048df82
+20600000
+7048df81
+20600000
+7048df80
+20600000
+7048df83
+20600000
+6fe0c8df
+793ffe07
+67e0c8df
+c0003ffd
+c000c000
+c0014003
+c001c006
+20600000
+6fe0c8de
+c001c009
+20600000
+6fe0c8de
+c0004009
+20600000
+6fe0c8de
+c001c00d
+20600000
+6fe0c8de
+c000400d
+20600000
+6fe0c8e0
+1fe0fe01
+67e0c8e0
+20600000
+6fe0c8e0
+1fe0ffff
+67e0c8e0
+20600000
+6fe0c917
+c17f8000
+da200000
+6848c917
+204060fd
+7920a200
+6848c918
+204060fd
+7920a201
+1a227e00
+67e0c8e2
+c000c021
+c0014025
+6fe0c8e3
+c283c031
+20600000
+6fe0c8e1
+c0004029
+c001c02b
+20600000
+6fe0c8e1
+c000402d
+c001c02f
+20600000
+7048e382
+20600000
+7048e381
+20600000
+7048e380
+20600000
+7048e383
+20600000
+6fe0c8e3
+793ffe07
+67e0c8e3
+c0004039
+c000c03c
+c001403f
+c001c042
+20600000
+6fe0c8e2
+c001c045
+20600000
+6fe0c8e2
+c0004045
+20600000
+6fe0c8e2
+c001c049
+20600000
+6fe0c8e2
+c0004049
+20600000
+6fe0c8e4
+1fe0fe01
+67e0c8e4
+20600000
+6fe0c8e4
+1fe0ffff
+67e0c8e4
+20600000
+6848c917
+204060d6
+6848c918
+204060d6
+6848c920
+204060d6
+6848c921
+202060d6
+6848c917
+20403f8d
+6848c918
+20403f8d
+6848c920
+20403f8d
+6848c921
+20203f8d
+6fe148d9
+207a0000
+7048e501
+7048e60a
+20600000
+da6048e6
+da404065
+202031fc
+7048e500
+20600000
+6fe44bbc
+c2974076
+6fe0c913
+c17f8000
+da200000
+704ba705
+6848c913
+20404079
+67e0cba4
+6fe0c914
+c07fc082
+204041a8
+1a227e00
+c282c092
+20204099
+6fe0c8ff
+203a4099
+20204092
+6fe44bbc
+c2964088
+6fe0cba4
+1fe22600
+6fe0c914
+c07fc1d5
+6fe0cbab
+243a4085
+2020408a
+6848c913
+20403f96
+20204073
+7049e200
+704ba400
+20600000
+6fe0cba4
+202041c7
+204060fd
+6848c914
+2020c088
+6848c914
+2040610d
+6848c913
+6fe0cba4
+202041c7
+6fe0c9e2
+c1008000
+7049e201
+6fe44bbc
+c3940000
+c39b0000
+202040a9
+6fe0c9e2
+c1000000
+7049e200
+6fe44bbc
+c29440a0
+c29b40a0
+20600000
+6fe0c9e3
+243a40a4
+6fe0cbad
+245a40a9
+7049e300
+6fe0c792
+67e0cbad
+67e0cbac
+20600000
+44e74019
+204040b2
+20740000
+6fe0c997
+1fe0fe01
+1fe17e03
+67e0c997
+204040d5
+2020462e
+78547c00
+6fe44bbc
+c3960000
+c3970000
+6fe0cb9f
+207a0000
+6fe0cba0
+207a0000
+78347c00
+20600000
+6fe44bbc
+c29440c0
+c29b40c7
+20600000
+6fe0c9e2
+c1808000
+da604bad
+da4040c5
+202031fc
+7049e301
+202046f3
+6fe0c9e2
+c1808000
+da604bac
+da4040cc
+202031fc
+7049e301
+20204514
+202040d8
+6fe44bbc
+c38e0000
+6fe0c997
+c1818000
+70499700
+20600000
+44e7c019
+204040cf
+2040492e
+6fe0c92c
+c001c0fb
+c005c10f
+6fe0c997
+c00040e2
+c000c0e0
+c00140e4
+c001c0e6
+6848c9d6
+202040e8
+6848c9d5
+202040e8
+6848c9d7
+202040e8
+6848c9d8
+202040e8
+6fe0c92c
+c00240f7
+c002c0f7
+c00440f9
+c003c0f9
+c00340f7
+6048c9e1
+58000006
+20405d65
+1fe104f8
+6fe0c9e1
+9840fe00
+1fed7e00
+1fe0fe06
+20205d5e
+184085ff
+202040ee
+18408402
+202040ee
+6fe0c997
+c0004102
+c000c100
+c0014104
+c001c106
+6fe0c9da
+20204107
+6fe0c9d9
+20204107
+6fe0c9db
+20204107
+6fe0c9dc
+67e0c9e1
+1fed7e00
+1fe22200
+1fe0fe0d
+20405d5e
+1a227e00
+1fe0fe0e
+20205d5e
+6fe0c997
+c0004116
+c000c114
+c0014118
+c001c11a
+6fe0c9de
+20204107
+6fe0c9dd
+20204107
+6fe0c9df
+20204107
+6fe0c9e0
+20204107
+20404155
+2040412d
+20403ea0
+20404128
+1a227e00
+6848c8dc
+67e0c8dc
+67e0c8d4
+9842fe00
+1fe67c00
+20628000
+20207ec5
+c6930000
+1a227e00
+207a0000
+67e0c8d4
+20207ec5
+704ba900
+704baa00
+704bab00
+1fe20400
+2040413d
+20404140
+20404143
+20404146
+6fe0cbaa
+207a0000
+6fe0cba9
+207a0000
+704bab01
+6fe0c8dc
+1fe22200
+20600000
+18417e09
+c004c14e
+20600000
+18417e14
+c00a414e
+20600000
+18417e18
+c00c414c
+20600000
+18417e07
+c001c14c
+c002c14c
+c003414c
+c003c14c
+20600000
+704baa01
+20600000
+704ba901
+20600000
+20404161
+20404155
+58000000
+67e1cb9f
+20600000
+44e8401a
+6fe0cbf2
+245a4161
+da200000
+20404164
+2040416a
+20404170
+20404176
+2040418f
+204041aa
+1a227e00
+20600000
+58030303
+67e1cb9f
+20600000
+704ba700
+6848c91c
+6fe0cb9f
+204041c7
+67e0cb9f
+20600000
+704ba701
+6848c91d
+6fe0cba0
+204041c7
+67e0cba0
+20600000
+704ba702
+6848c91e
+6fe0cba1
+204041c7
+67e0cba1
+20600000
+6fe0c911
+c17f8000
+704ba703
+6fe0cba2
+1fe22600
+6848c911
+6fe0c914
+c07fc18b
+204060fd
+2020c187
+6848c914
+2040610d
+6848c911
+6fe0cba2
+204041c7
+67e0cba2
+202041a8
+6848c914
+6fe0cba2
+204041c7
+20204185
+204041d5
+67e0cba2
+6848c911
+20203f96
+6fe0c912
+c17f8000
+704ba704
+6fe0cba3
+1fe22600
+6848c912
+6fe0c914
+c07fc1a4
+204060fd
+2020c1a0
+6848c914
+2040610d
+6848c912
+6fe0cba3
+204041c7
+67e0cba3
+202041a8
+6848c914
+6fe0cba3
+204041c7
+2020419e
+204041d5
+67e0cba3
+6848c912
+20203f96
+6848c914
+20203f96
+704b9c00
+6fe44bbc
+c40a8000
+6fe0c916
+c17f8000
+704ba707
+6848c916
+6fe0cba6
+204041c7
+67e0cba6
+1a227e00
+c283c1ba
+204041bd
+6fe0cb9d
+67e0cb9e
+20600000
+704b9d01
+204041c0
+202041b7
+704b9d00
+6fe0cb9e
+207a0000
+704b9c01
+20600000
+204060fd
+6848cba7
+18420e00
+2020c1d3
+202041d1
+1fe3fe00
+1fe22400
+204060fd
+7920a400
+1a417e07
+6848cba7
+18420e00
+c003c1d3
+c00041d1
+20600000
+f93fa200
+20600000
+f9202200
+20600000
+44e8c01a
+1a627e00
+67e0cba8
+1fe3fe00
+1fe22400
+18422600
+20403f94
+1a620400
+204060fd
+7d20a400
+204041e1
+202041cb
+6848cba8
+18410401
+1a417e01
+98467c00
+2422c36f
+20600000
+44e9401a
+20403fa5
+20758000
+20404276
+204041f5
+c01841fc
+c018c257
+c02c4260
+204041f2
+20001af4
+202041eb
+6fe0c923
+20405b55
+20203faa
+58000001
+20405d65
+67e0c9c7
+58000000
+20405d65
+67e0c9c6
+20600000
+6fe0c9c7
+c02d4205
+c06c420b
+c068c21a
+c0694223
+c001422a
+c02a422d
+c0284254
+202041eb
+70492c05
+20404272
+20407d85
+da604a3e
+2040426b
+202040ce
+58000016
+20405d65
+1fe67cbd
+2422c1e7
+58000019
+20405d65
+1fe67c55
+2422c1e7
+5800001b
+20405d65
+1fe67c1d
+2422c1e7
+70492c06
+da604a82
+2020426b
+70492c00
+da6049f8
+2040426b
+da604a02
+2040426b
+58000943
+20405d5e
+da604a1c
+2020426b
+70492c02
+da6049ee
+2040426b
+da604a02
+2040426b
+da604a1c
+2020426b
+70492c03
+da6049e4
+2020426b
+20404269
+58009a5b
+20405d5e
+5800000d
+20405d65
+1fe67c12
+2022c241
+1fe67c0a
+2422c244
+5800000e
+20405d65
+1fe67ce5
+2422c1eb
+58000010
+20405d65
+1fe67ca5
+2022c241
+20404251
+70492c08
+20600000
+70492c09
+da604a64
+2020426b
+1fe67c10
+2422c1eb
+5800000e
+20405d65
+1fe67cc5
+2422c1eb
+58000010
+20405d65
+1fe67c38
+2422c1eb
+20404251
+70492c0a
+20600000
+5800005b
+20405d5e
+20204267
+70492c07
+da604aa8
+2020426b
+20404276
+6fe0c9c7
+c038425e
+c000425c
+202041eb
+70492c01
+20600000
+70492c04
+20600000
+20404276
+6fe0c9c7
+c02cc264
+202041fc
+70492c0b
+da604a92
+2020426b
+58000009
+20205d5e
+58005a09
+20205d5e
+efe10013
+d840ffff
+98467c00
+20628000
+20405d5e
+1a60a602
+2020426b
+58008006
+20405d5e
+20002ee0
+20600000
+44e9c01a
+20403fa5
+20404272
+da604ab4
+2040426b
+202040ce
+204041e7
+20403fa5
+58000806
+20205d5e
+6fe0c4ae
+c1800000
+6fe0c92c
+c000428c
+c000c28c
+c004428c
+c001428c
+c001c2b0
+c002428c
+c00342d5
+c005c2ce
+2020428c
+20404304
+78547c00
+6fe0c915
+c07fc293
+6848c915
+204060fd
+24608000
+58000000
+20405d65
+c09842a6
+58000002
+20405d65
+c4038000
+2040431b
+6fe0c8d5
+20404313
+67e148d5
+6fe0c8d7
+20404313
+67e148d7
+6fe0c92d
+c00042a8
+c000c2aa
+c00142ac
+c001c2ae
+20600000
+c018c296
+202041f2
+204042ed
+20204322
+204042f5
+20204322
+204042f1
+20204322
+204042fd
+20204322
+20404304
+6fe0c915
+c07fc2b6
+6848c915
+204060fd
+24608000
+58000000
+20405d65
+c09841f2
+58000002
+20405d65
+c4038000
+2040431b
+204042cc
+67e0c8db
+1ff1fe00
+20404317
+67e0c8d6
+6fe0c8db
+1fe17e0f
+20404317
+67e0c8d8
+6fe0c92d
+c00042ed
+c000c2f5
+c00142f1
+c001c2fd
+20600000
+58000012
+20205d65
+20404304
+6fe0c915
+c07fc2d4
+6848c915
+204060fd
+24608000
+202042b9
+20404304
+78547c00
+58000002
+20405d65
+c4038000
+58000008
+20405d65
+203a4299
+58000000
+67e348d5
+20600000
+6fe0c929
+67e0c92d
+6fe0c91a
+c17f8000
+6848c91a
+20403f96
+6848c91a
+204060fd
+2040c2ea
+20203f94
+6fe0c92a
+67e0c92d
+20600000
+6fe148d5
+1fe67e00
+67e148d5
+20207ec5
+6fe148d7
+1fe67e00
+67e148d7
+20207ec5
+6fe148d7
+1fe67e00
+67e148d7
+6fe148d5
+1fe67e00
+67e148d5
+204042ff
+20207ec5
+204042ff
+20207ec5
+6fe148d7
+684948d5
+67e148d5
+604948d7
+20600000
+6fe0c9cd
+205a431b
+7049cd01
+20600000
+704abd01
+20401ac6
+202041e7
+6fe0c915
+c1ff8000
+6fe0cabf
+c1808000
+58000000
+67e0cabf
+67e248d5
+2020430a
+c4038000
+d840ff00
+9841fe00
+20600000
+c4018000
+d84000f0
+9841fe00
+20600000
+dfe00003
+20405d65
+67e148d5
+dfe00004
+20405d65
+67e148d7
+20600000
+6848c924
+204060fd
+20608000
+5800000a
+20405d65
+200003e8
+20204322
+58008100
+20205d5e
+704ad2ff
+6fe0cbc4
+c280c32f
+c2804334
+70448434
+580f0f0f
+67e1c37a
+67e1c37d
+20203e24
+70448433
+d8c04979
+20404608
+20203e24
+44ea401a
+204045fd
+20404354
+6fe0c93d
+c000c33f
+c0014341
+20600000
+6fe3493f
+20204342
+6fe3495c
+684b4979
+98467c00
+2022c593
+20203e1c
+20404354
+6fe0c5ff
+1fe0fe03
+1fe22200
+20404e1e
+6fe144e1
+e7e10005
+580004a1
+e7e10005
+6fe0c5ff
+1fe0fe01
+1fe27200
+d8c045ff
+20207dd4
+704ad25a
+20600000
+6fe1478f
+c283c362
+c284b281
+c2803268
+202045b6
+58000000
+67e14ac3
+6fe1478f
+c284b281
+6fe1478f
+c2803268
+20600000
+2040471c
+2020799c
+6fe44bbc
+c40d8000
+2434436c
+6fe0cabe
+1fe0fe01
+1fe17e0f
+67e0cabe
+247a0000
+704abe00
+78547c00
+20600000
+6fe0c915
+c1ff8000
+70417700
+704ac01e
+20600000
+44eac01a
+1a627e00
+c00a4390
+c000c43a
+c00ac39f
+c001443e
+c002c461
+c008458e
+c0094464
+c00332b6
+c0024472
+c009c472
+c00cb25e
+c015c47d
+c010c483
+c005448a
+c017324c
+c018c3aa
+c014c3ac
+c01943ae
+c01f43b9
+c02043ba
+c013c48c
+c01cc896
+c01d4872
+c01e488d
+c02243d0
+20600000
+704abf00
+2040430a
+704ad701
+20404861
+6fe0cad8
+243a4397
+704ad914
+6fe14482
+793ffe00
+67e14482
+704b8800
+6fe14b01
+67e14b03
+20404584
+202045b6
+704ad700
+58000006
+6fe44bbc
+c28dc3a4
+58000007
+67e14372
+67e14374
+704b0500
+704abd00
+20401ac8
+2020443e
+d8e00002
+202043b5
+70095b12
+202078e5
+6fe0cad8
+c000c3b1
+202043b3
+204043ac
+704b8714
+d8e00001
+202043b5
+6fe0cb86
+f9207e00
+67e0cb86
+20600000
+2020328f
+6fe143db
+c1000000
+6fe08289
+1feb7e00
+1fe67c0c
+20610000
+58000009
+67e14372
+67e14374
+204043ac
+704b0501
+20600000
+704b0500
+20600000
+6fe0cad8
+247a0000
+6fe0c437
+1fe67e22
+24628000
+704b8700
+d8e00000
+202043b5
+6fe082c1
+1fe67c0c
+242143c4
+6fe082c3
+6848cb9b
+98467c00
+202143da
+6fe082c3
+67e0c177
+202043c6
+6fe0cb9b
+67e0c177
+202043c6
+704b8600
+20600000
+44eb401a
+20401b24
+247a0000
+6fe0cad2
+c07fc3e7
+6fe0cb86
+1fe17e03
+c1818000
+6fe0cabd
+205a4308
+6fe44bbc
+c280c411
+c2804411
+c282c411
+c2834411
+20403fb0
+20404364
+24740000
+2040436f
+2040430b
+2040405d
+6fe44bbc
+c30ac3f8
+6fe0cb9c
+c000c3f9
+20204413
+6fe0cb9d
+203a4403
+6fe44bde
+67e4095c
+6fe0cbdd
+c001c405
+c0014408
+704af708
+68494af8
+20204418
+6fe44be7
+202043fc
+704af703
+68494afa
+20204418
+704af702
+68494afc
+20204418
+da200001
+68494afe
+20401e5f
+6fe0cb00
+e7e08005
+20600000
+58000000
+67e3c8d4
+704af707
+6fe3c8d4
+67e3895c
+68494357
+20204418
+6fe0caf7
+1fe22200
+20401e5f
+6848caf7
+18427200
+d8c0095c
+20207dd4
+704ad800
+6fe1cadd
+67e1c3ec
+20404428
+58000005
+e7e08006
+d8c04ae3
+2040442f
+20207959
+da2043e8
+efe08011
+207a0000
+98c0a200
+efe08006
+c1008000
+20204429
+d8a043f3
+df200013
+20407dd4
+20201a6a
+5800000c
+67e14455
+6fe44bbc
+c38d8000
+5800000e
+67e14455
+20600000
+704abf00
+2040430a
+20404861
+202045b6
+704b9000
+704b9900
+20404433
+20404449
+6fe14480
+c283c450
+c2803238
+c280c454
+c2814457
+c281c457
+20204593
+58000000
+67e448dd
+e7e20005
+7049cd00
+70445400
+70432600
+20600000
+204043dd
+6fe14480
+c2803238
+20203e5a
+c282c457
+c281c457
+20204593
+6fe1478f
+c2864593
+20403238
+20404150
+2040451c
+6fe0cbb0
+c000be57
+6fe0cad5
+247a0000
+20203e5a
+20600000
+704b9804
+20600000
+70445401
+20403295
+20403291
+58000000
+67e1478b
+67e0c78d
+20404462
+2020328d
+704b9100
+6fe0c5f8
+2feffe00
+20608000
+704b9101
+20600000
+6fe0cad2
+c07fc338
+6fe1478f
+c3860000
+c3830000
+c3858000
+6fe44bbc
+c3828000
+c299c593
+c297c85e
+20203e5a
+6fe0cb90
+c1810000
+704b9000
+20404433
+20404462
+2020328d
+6fe0cb90
+c1010000
+1fe0fe01
+67e0cb90
+70445512
+20404462
+2020328d
+20405b4f
+2020325c
+58000001
+67e30040
+7000e733
+202045cd
+5fffffff
+67e30040
+7000e733
+704ad2ff
+204045e2
+70493eff
+2020462e
+44ebc01a
+20770000
+6fe0c454
+207a0000
+20405352
+247a0000
+6fe0cad2
+c07fc346
+6fe0cabd
+205a4308
+6fe44bbc
+c280c4ce
+c28044ce
+c282c4ce
+c28344ce
+20403fb0
+20404364
+24740000
+2040436f
+2040430b
+2040405d
+6fe0cb91
+c000c4bd
+6fe0cb99
+207a0000
+6fe44bbc
+c30ac4b4
+6fe0cb9c
+c000c4d1
+da200009
+20404e1e
+6fe144e1
+e7e10005
+580002a1
+e7e10005
+6fe3c8d4
+e7e38005
+20600000
+6fe0c8d4
+67e0cb92
+6fe0c8d5
+e7e08005
+6fe0c8d7
+e7e08005
+6fe148d9
+e7e10005
+da200007
+20404e1e
+6fe144e1
+e7e10005
+580002a1
+e7e10005
+6fe2cb92
+e7e28005
+20600000
+58000000
+67e3c8d4
+202044b4
+6fe0cb9d
+203a44f3
+6fe44bde
+67e4095c
+6fe0cbdd
+c001c4e1
+c00144ea
+da20000a
+20404e1e
+6fe144e1
+e7e10005
+580001a1
+e7e10005
+6fe4095c
+e7e40005
+20600000
+da200004
+20404e1e
+6fe144e1
+e7e10005
+580003a1
+e7e10005
+6fe1095c
+e7e10005
+20600000
+da200003
+20404e1e
+6fe144e1
+e7e10005
+580004a1
+e7e10005
+6fe0895c
+e7e08005
+20600000
+6fe44be7
+202044d4
+44ec401b
+20403edc
+204049a3
+204022e1
+2040255f
+2040480b
+2040490b
+2040493c
+204040bc
+2040450c
+2040451c
+2040453f
+20404544
+20404552
+2040455f
+20404555
+2040456a
+2040456d
+20404572
+20404575
+20404062
+20404587
+2020457c
+6fe44bbc
+c29bc50f
+20600000
+6fe0cbaf
+c1808000
+da604bac
+da404514
+202031fc
+6fe0c93d
+c1000000
+6fe44bbc
+c3830000
+d8e00006
+2040472e
+204031e6
+2020458e
+6fe0c93d
+c0004522
+6fe44bbc
+c41a8000
+6848cbdb
+20204525
+6fe44bbc
+c4190000
+6848cbdc
+6048cbae
+20404155
+1fe17e07
+6848cbae
+98467c00
+2022c531
+6fe0c792
+67e0cbb1
+6fe0cbb0
+c1000000
+704bb000
+20600000
+20404536
+6fe0cbb0
+c1008000
+704bb001
+2020799c
+da404866
+da604bb1
+6fe0c93d
+c00031fc
+da404514
+204031fc
+6fe0cbb1
+c000c720
+20600000
+da604ad3
+da404542
+20203203
+204045b6
+20203e5a
+da604b88
+da40454a
+20403203
+6fe0cb88
+c000b275
+20600000
+6fe0cad2
+c07fc338
+6fe0cac1
+243a474c
+6fe44bbc
+c299c593
+c297c85e
+20203e5a
+da604b87
+da4043ce
+202031fc
+6fe0cad7
+207a0000
+da604ad9
+da40455a
+202031fc
+6fe0cad8
+247a0000
+6fe0c39b
+c1800000
+2020203d
+da604b03
+da404562
+202031fc
+6fe14b01
+67e14b03
+2020440b
+6fe0cb86
+c3810000
+204043ac
+d8e00000
+202043b5
+da60478d
+da404464
+202031fc
+da604b98
+da404570
+202031fc
+704b9901
+20600000
+da604ad5
+da403e5a
+202031fc
+da604ac0
+da404578
+202031fc
+6fe0cb9b
+67e0c177
+704abf01
+20600000
+6fe0c92f
+c3838000
+da604ac3
+da404581
+20203203
+6fe0c93d
+c0004820
+2020435b
+6fe14bcf
+67e14ac3
+20600000
+da6049c4
+da40458a
+202031fc
+20404631
+6fe0cad6
+243a46fe
+20600000
+280ffe26
+2040c831
+2040435b
+204043dd
+20204593
+44ecc01b
+20404354
+6fe1478f
+c285c59f
+6fe44bbc
+c304459f
+6849499c
+18408401
+6049499c
+6049437b
+180a7e00
+67e0c37a
+6fe1cada
+67e1c37d
+20403297
+6fe14794
+67e14ad3
+7000bc06
+58000000
+67e14ac3
+67e0cb88
+67e0cad5
+67e0cbb8
+67e0cabd
+d8e00002
+2040472e
+20404722
+6fe0cbc4
+2feffe01
+2040c41f
+6fe0cbc4
+2feffe00
+2040f92f
+204049db
+20204919
+44ed401b
+d8e00006
+20404732
+704ad500
+6fe0cbc4
+2feffe01
+2040c5c1
+6fe0cbc4
+2feffe00
+2040c5c3
+2020495f
+704b8800
+2020795f
+58000000
+67e14ad3
+20207934
+44edc01b
+6fe44bbc
+c4010000
+20404913
+d8e00002
+20404732
+204045cf
+204045e2
+2020462e
+6fe080e7
+c01a45d3
+c019c5d6
+20600000
+67e0cb89
+6fe30297
+202045d8
+67e0cb89
+6fe30040
+67e34b8a
+6fe3cb89
+d8c0493e
+df200003
+e8438006
+98467c00
+2022c5f7
+18c08c16
+c20045dc
+20600000
+da20493e
+6fe0c93d
+1fe0ffff
+1feffe1d
+9a20a200
+6fe080e7
+e7e08011
+c01a45ec
+c019c5f3
+20600000
+6fe30297
+e7e30005
+d8c04316
+20407d7f
+6fe3437a
+e7e30005
+20600000
+6fe30040
+e7e30005
+d8c041cb
+20207d7f
+18c08dfa
+18c20a00
+684b4b8a
+18408403
+e0430005
+20600000
+da20493e
+6fe0c93d
+c1000000
+1fe0ffff
+1feffe1d
+9a20a200
+efe08011
+67e0c484
+c019c608
+c01a460d
+20600000
+efe30006
+67e341dd
+d8a041cb
+20407d7f
+202060d0
+efe30006
+67e341dd
+d8a04316
+20407d7f
+efe30006
+67e3437a
+20600000
+6fe14995
+d840aa55
+98467c00
+2022c622
+60494995
+20404627
+6fe0cac5
+67e0c93d
+6fe0c92b
+67e0c997
+6fe24891
+67e24895
+67e2483f
+20600000
+204045fd
+6fe24998
+67e24895
+67e2483f
+20600000
+6fe3437a
+67e34955
+1fe0ff00
+67e34972
+1fe0ff00
+67e3498f
+20600000
+6fe0c9c5
+67e0c9c4
+20600000
+44ee401b
+6fe44bbc
+c289c67f
+c2894643
+20600000
+20405daf
+2040464a
+2040463d
+20405dd2
+20404651
+20404614
+20203fa5
+580049bd
+d840493d
+98460400
+6fe1c9bd
+da20493d
+20600000
+20405daf
+2040464a
+2040465f
+2040463d
+20404662
+20404651
+20203fa5
+700964ab
+2040623f
+20405db4
+da2049c0
+68488964
+20404653
+2020623f
+700964b9
+2020464b
+e0408011
+1ff10400
+e0408005
+1fec8400
+e0408005
+e7e08005
+1a227e00
+67f1008a
+58000000
+67f1008e
+70800602
+20205d6e
+6fe1c9bd
+67e1c4a7
+20205d8a
+1fe22600
+1a227e00
+1fe0fffc
+1fe22400
+efe20012
+67e249c0
+1a627e00
+20405dc1
+6fe249c0
+e7e20012
+20600000
+6fe44bbc
+c4090000
+20404651
+20405b66
+6848c4b7
+20406109
+6848c4bc
+20203f94
+20405e42
+6fe44bbc
+2feffe09
+2440de5c
+2040467b
+20204614
+d8400080
+da20493d
+da400000
+20205e79
+d8400080
+da20493d
+da400000
+20205e6b
+d8400001
+da204997
+da40005a
+20205e6b
+d8400001
+da204997
+da40005a
+20205e79
+44eec01b
+204049dd
+204079a1
+20404067
+20404693
+204046de
+20404714
+20203fc8
+6fe44bbc
+c294c698
+c29bc698
+20600000
+704ba503
+6fe0c91f
+c17f8000
+da200000
+704ba706
+6848c91f
+204046a8
+67e0cba5
+6fe0c914
+c07fc6a5
+204041a8
+1a227e00
+c28346c9
+202046be
+6848c91f
+20403f96
+202046a2
+6fe44bbc
+c296c6b4
+6fe0cba5
+1fe22600
+6fe0c914
+c07fc1d5
+6fe0cbab
+243a46b1
+202046b6
+704baf00
+704ba500
+20600000
+6fe0cba5
+202041c7
+204060fd
+6848c914
+2020c6b4
+6848c914
+2040610d
+6848c91f
+6fe0cba5
+202041c7
+6fe0cbaf
+c1000000
+704baf00
+6fe44bbc
+c39a0000
+6fe0cbac
+1fe67c14
+244146f3
+6fe0c792
+67e0cbac
+20600000
+204046d5
+20740000
+6fe0cbaf
+c1008000
+704baf01
+6fe44bbc
+c29a4514
+6fe0cb88
+207a0000
+6fe0c906
+67e0cb88
+20600000
+78547c00
+6fe44bbc
+c3968000
+6fe0cb9f
+207a0000
+6fe0cba0
+207a0000
+78347c00
+20600000
+6fe44bbc
+c29546e2
+c295bedc
+20600000
+6848c922
+20403f96
+6848c922
+204060fd
+2020c6eb
+6fe0c93d
+c1008000
+70493d01
+20204356
+6fe44bbc
+c315c6ef
+6fe348f3
+67e348e7
+6fe0c93d
+c1000000
+70493d00
+20204831
+44ef401b
+6fe0cbc5
+c1008000
+20404700
+6048c93d
+7041ca00
+20404718
+20404356
+2040471a
+704ad601
+2020462e
+20404718
+20205e29
+6848c93d
+18408401
+6fe44bbc
+c288c707
+18467c02
+2441470e
+20600000
+6fe0cbc5
+1fe0ffff
+98467c00
+2441470c
+20600000
+d8400000
+20600000
+d8400001
+20600000
+d8400001
+da20493d
+da400000
+20205e6b
+6fe44bbc
+c41a0000
+20404698
+20600000
+d8e00000
+2020472e
+d8e00000
+20204732
+d8e00003
+2020472e
+d8e00003
+20204732
+d8e00005
+2020472e
+d8e00005
+20204732
+d8e00014
+2020472e
+d8e00018
+2020472e
+d8e00016
+2020472e
+d8e0000c
+2020472e
+d8e0001c
+2020472e
+6fe44bbc
+f9207e00
+67e44bbc
+20600000
+6fe44bbc
+f93ffe00
+67e44bbc
+20600000
+d8e00015
+2040472e
+58000000
+67e44bdd
+67e44be6
+6fe0c90e
+1fe17ec0
+c0204743
+c0404745
+c060474a
+58070008
+67e44bde
+20600000
+58040005
+20204741
+58022303
+67e44bdd
+58000003
+67e44be6
+20600000
+5800cd03
+20204746
+44efc01b
+6fe0cac1
+1fe0ffff
+67e0cac1
+6848c93d
+18467c01
+2442c700
+6048c93d
+7041ca00
+20404710
+204045e2
+20203e1c
+6fe44bbc
+c41c0000
+6fe248d5
+207a0000
+204047fb
+58000003
+204047f1
+205a47ed
+245a47ef
+58000002
+204047f6
+205a47ed
+6fe0c9ce
+c000c76b
+6fe44bbc
+c41c0000
+df200005
+d8a049ce
+20207d9b
+2040477f
+6fe149cf
+67e109f8
+6fe148d5
+67e109fa
+204047b7
+6fe109f8
+67e149cf
+6fe109fa
+67e148d5
+6fe149d1
+67e109f8
+6fe148d7
+67e109fa
+204047bf
+6fe109f8
+67e149d1
+6fe109fa
+67e148d7
+20600000
+6fe44bbc
+c41c8000
+6fe149cf
+67e109ff
+20404792
+67e149cf
+6fe148d5
+67e109ff
+204047a0
+67e148d5
+6fe149d1
+67e109ff
+20404792
+67e149d1
+6fe148d7
+67e109ff
+204047a0
+67e148d7
+20600000
+6fe08a00
+203a4795
+2020479a
+6fe089ff
+204047ad
+67e089ff
+6fe109ff
+20600000
+6fe089ff
+204047e9
+204047ad
+205a7ecf
+204047e5
+20204798
+6fe08a00
+203a47a3
+202047a7
+6fe089ff
+204047b2
+67e089ff
+20204798
+6fe089ff
+204047e9
+204047b2
+205a7ecf
+204047e5
+20204798
+1feffe04
+1fe6fc05
+20407e64
+1807fe00
+20600000
+1feffe0c
+1fe6fc0a
+20407e64
+1807fe00
+20600000
+6fe109f8
+684909fa
+9840fe00
+6848c9d3
+9840fe00
+1fe10401
+6048c9d3
+202047c7
+6fe109f8
+684909fa
+9840fe00
+6848c9d4
+9840fe00
+1fe10401
+6048c9d4
+202047c7
+67e189fc
+2feffe10
+2020c7d1
+6fe089fd
+c07fc7d8
+6fe089fc
+1fe37e00
+67e109f8
+67e109fa
+20600000
+6fe089fd
+c00047d5
+6fe189fc
+202047cd
+7009fe00
+6fe089fc
+202047cd
+6fe089fc
+204047e3
+67e089f8
+67e089fa
+203a47e1
+580000ff
+67e089f9
+67e089fb
+20600000
+58000000
+202047de
+204047e9
+1fe37e00
+204047ea
+1fe67e00
+67e089ff
+20600000
+1fe67e00
+67e08970
+6fe08970
+20600000
+7049ce00
+20600000
+7049ce01
+20600000
+9a267c00
+24217ecf
+9a467c00
+24217ecf
+20207ed1
+9a267c00
+24610000
+9a467c00
+24610000
+20207ed1
+6fe148d5
+20404802
+1fe22200
+6fe148d7
+20404802
+1fe22400
+20600000
+67e109fa
+6fe089fb
+c07fc808
+6fe089fa
+1fe17eff
+20600000
+6fe109fa
+1fe67e00
+20204806
+da6048c8
+da40480e
+202031fc
+6fe248bc
+67e2485f
+704abf01
+20600000
+6fe0cbf3
+c000481a
+c000c81c
+c0014817
+c001c81e
+580ea600
+67e248bc
+20600000
+5805e740
+20204818
+580927c0
+20204818
+58124f80
+20204818
+7048a900
+20402659
+5fffffff
+67e2485f
+58000000
+67e3c8d4
+704bf201
+2040427c
+20403e6a
+202026bc
+6fe0cbf2
+245a41ea
+704bf200
+20202658
+6fe0cbf2
+243a2633
+2020262f
+793f8026
+7048a500
+d8e00001
+20204732
+6fe44bbc
+c308c842
+20403e28
+20344845
+6fe44bbc
+c298484b
+c318c84b
+20404150
+1fe17e07
+6848cbdc
+98467c00
+2022c866
+2020484b
+6fe0cac1
+243a474c
+20600000
+6fe14889
+67e1488b
+70488f03
+20202562
+20403e28
+20344855
+70493d00
+6fe14bcb
+67e1488b
+70488f02
+20202562
+20404919
+6fe14885
+67e1488b
+70488f04
+20202562
+6fe0c93d
+c0004845
+20404354
+20204859
+20404831
+2040495b
+70493d01
+204045fd
+20203e1c
+20403e28
+20343e5a
+20204593
+20403e28
+20740000
+6fe44bbc
+c297c62e
+20600000
+d8e00001
+2040472e
+58000000
+67e1488b
+204045b6
+204049db
+20404919
+70483901
+6fe44bbc
+c30aa2e4
+70483902
+202022e4
+6fe0c8a9
+243a4820
+6fe0c88f
+c001487f
+c0024883
+c001c888
+2040495f
+20404831
+6fe0cac1
+243a474c
+6fe0c93d
+c0003e5a
+20600000
+6fe44bbc
+c297c850
+c2984850
+20204845
+6fe44bbc
+c317c878
+6fe0cbc5
+c000c878
+20204859
+6fe44bbc
+c317c878
+c289c878
+c2894878
+20204851
+2040430a
+704abf00
+7048a500
+70488f00
+6fe24895
+6fe24891
+98467c00
+20628000
+20204861
+d8e00001
+20404732
+20404913
+58000000
+67e14887
+67e1488b
+67e0c8a5
+67e0c9cd
+67e0c88f
+2040430a
+2040431b
+6fe2483f
+67e24895
+67e24998
+2020462e
+c6930000
+20403fb0
+24740000
+6fe44bbc
+c30ac8ac
+6fe0cb9c
+243a48c1
+2040430b
+6fe0c839
+c280c8bb
+6848c7ca
+6fe0c8d4
+9841fe00
+67e0c8d4
+6848c7cf
+6fe0c8d9
+9840fe00
+67e0c8d9
+6848c7d0
+6fe0c8da
+9840fe00
+67e0c8da
+70483901
+da200007
+da4048d4
+6fe148d9
+207a0000
+202026e8
+70483902
+da200009
+6fe0cb9d
+243a48c7
+da404be6
+20600000
+da404bdd
+20600000
+58000000
+67e1cbb5
+20600000
+6fe44bbc
+c40b0000
+6fe0cabf
+207a0000
+6fe0c8ab
+207a0000
+6fe0cbb2
+1fe0fe01
+1fe17e03
+67e0cbb2
+247a0000
+704bb300
+6fe0cbb3
+1fe0fe01
+67e0cbb3
+1fe67c08
+242148e3
+204025a3
+20402662
+242c48e9
+2437c8e9
+204048fb
+204048f2
+204025a0
+6fe0cbb4
+1fe0fe01
+67e0cbb4
+c00848eb
+20600000
+20402281
+202048d8
+704bb400
+6fe0cbb5
+c3800000
+79207e00
+67e0cbb5
+6fe14bcd
+20204820
+6fe0c8ab
+203a48c9
+704bb400
+6fe0cbb5
+c4000000
+793ffe00
+67e0cbb5
+20404584
+202041ea
+20402679
+6fe0c7a8
+2fe1f008
+24608000
+6fe0c7a9
+c07fc820
+20600000
+6fe0c93d
+c0801468
+6fe0c87a
+207a0000
+70804202
+6ff08138
+1fe17efc
+67f0804c
+2020154c
+6fe44bbc
+c4100000
+6fe0cbb8
+207a0000
+1fe0ffff
+67e0cbb8
+203a495f
+2020496d
+6fe44bbc
+c4100000
+204049db
+6fe0cbd1
+67e0cbb8
+20600000
+704bb800
+6fe14bd5
+67e14935
+67e14937
+6fe0c93d
+c0004922
+c000c924
+c0014926
+20600000
+6fe0c919
+20204927
+6fe0c926
+20204927
+6fe0c927
+67e08964
+2040495f
+6fe08964
+67e0c934
+da200000
+70493201
+20207871
+6fe0c928
+c17f8000
+6fe14ad3
+247a0000
+6fe14887
+247a0000
+6fe1488b
+247a0000
+6fe0cbb8
+247a0000
+6fe0cbd2
+203a493f
+67e0cbb9
+20600000
+da604bb9
+da40493f
+202031fc
+6fe0c928
+67e0c934
+6fe14bd3
+67e14935
+67e14937
+da200000
+6848c997
+18408401
+6fe44bbc
+c30e494c
+18408401
+18467c04
+2441494f
+6048c933
+70493201
+20600000
+d8400001
+20600000
+78547c00
+6fe0c928
+6848c934
+98467c00
+24628000
+6fe0c933
+207a0000
+7048fd00
+78347c00
+20600000
+2040496b
+20404964
+20404967
+20204969
+6fe0c93d
+c0004964
+c000c967
+c0014969
+20600000
+704bbb00
+6848c919
+20204978
+6848c926
+20204978
+6848c927
+20204978
+6848c928
+20204978
+6fe0c93d
+c0004972
+c000c974
+c0014976
+20600000
+6848c919
+2020497c
+6848c926
+2020497c
+6848c927
+2020497c
+44f0401c
+6048c934
+da200000
+2020786c
+44f0c01c
+6048c934
+da200000
+20207867
+6fe0c919
+98467c00
+2042c99f
+6fe44bbc
+c3126109
+20404990
+20404994
+20404998
+6fe0cbba
+203a6109
+704bba00
+20206121
+6fe0c919
+98467c00
+2042c9a1
+2020610d
+6fe44bbc
+c4130000
+6fe0c927
+2020499b
+6fe44bbc
+c4128000
+6fe0c928
+2020499b
+6fe44bbc
+c4138000
+6fe0c925
+98467c00
+24628000
+704bba01
+20600000
+704bbb00
+20600000
+704bbb01
+20600000
+6fe14ad3
+247a0000
+6fe14887
+247a0000
+6fe1488b
+247a0000
+6fe0cbb8
+247a0000
+20404951
+20740000
+6fe44bbc
+c4108000
+c4020000
+c291c9c9
+6fe0c8fc
+1fe0fe01
+67e0c8fc
+1fe67c14
+244149bb
+c00149bd
+c00249c3
+c00349bd
+c00449c3
+20600000
+7048fc01
+202049c3
+6fe44bbc
+c291496d
+6fe0c925
+c17f8000
+6848c925
+2020497c
+6fe44bbc
+c291495f
+6fe0c925
+c17f8000
+6848c925
+20204978
+6fe14bcf
+68494ac3
+98460400
+6fe14bd9
+98467c00
+242149db
+6fe0c8fd
+247a0000
+7048fd01
+202049d3
+6fe14bd7
+67e14935
+67e14937
+6fe44bbc
+c291491d
+6fe0c925
+c17f8000
+20204927
+7048fd00
+202049c3
+6fe44bbc
+c4108000
+c4020000
+c291c9ef
+6fe0c8fc
+1fe67c0a
+202149eb
+6fe0c93d
+c00049e8
+70409901
+20600000
+6fe44bbc
+c38c0000
+202026d7
+6fe0c93d
+c00026e8
+70409900
+20600000
+6fe0c8fd
+243a49eb
+202049e4
+20401293
+6fe08018
+202025e9
+204049f2
+202026f5
+204049f2
+6fe08030
+2feffe00
+24608000
+6fe08047
+2feffe03
+2040a72b
+2440a727
+202026f5
+6fe0cb86
+2fe00603
+2420fecf
+20403295
+20207ed1
+20405355
+247a0000
+70008801
+70008900
+20207ed1
+6fe1478f
+c284ca00
+20204a05
+20758000
+204061da
+58004ac1
+67e1489f
+58004a50
+67e148a3
+58004a4b
+67e1445d
+58004a8b
+67e14465
+58004a8d
+67e14467
+58004aa6
+67e1446f
+58004a40
+67e14995
+58004a30
+67e14999
+44f1401c
+20405e59
+20404a47
+204079a5
+6fe0c965
+67e0c8d4
+c0004a2f
+6fe0c966
+67e0c793
+20404a40
+20407826
+20407830
+70499101
+6fe1478f
+c3860000
+20203289
+70499102
+20404a40
+da200000
+20407871
+20404a3c
+20405e79
+204026ec
+203422e4
+6fe2483f
+67e24895
+6fe14889
+67e1488b
+20202562
+d8400004
+da20483f
+da400000
+20600000
+44f1c01c
+6fe0c963
+c0ffca45
+6848c940
+2020610d
+67e0c940
+20204a43
+2040260e
+6fe1498d
+67e1498f
+20600000
+20404a50
+6fe0c936
+79207e07
+d840003f
+2020612b
+20406136
+202061ff
+2040620b
+20404a63
+20404a56
+20204a71
+6fe0c99c
+c1808000
+6fe249a0
+203a4a5d
+7049a600
+78347c00
+20207976
+6fe0c9a6
+c17f8000
+1fe0fe01
+67e0c9a6
+78547c00
+20207974
+684944ca
+18417e01
+18430400
+67e0c9a0
+18417e01
+18430400
+67e0c9a1
+18417e01
+18430400
+67e0c9a2
+18417e01
+18430400
+67e0c9a3
+20600000
+44f2401c
+20404a81
+20404a86
+20404a77
+24740000
+20204abd
+6fe0c99c
+c1808000
+6fe0c9a6
+207a0000
+1fe67c01
+24610000
+6fe14889
+67e1488b
+78347c00
+20600000
+6fe0c9a0
+243a4ab1
+6fe0c9a1
+243a4ab3
+20204ab9
+6fe0c9a2
+243a4ab5
+6fe0c9a3
+243a4ab7
+20204abb
+20404a9b
+20204a52
+1a627e00
+c016b2b1
+c0083299
+c01cca95
+c01e4a97
+c01d4a94
+20600000
+202025a0
+20404a3c
+20405e6b
+7048a500
+70499d01
+70499e01
+20600000
+6fe0c99d
+c1000000
+6fe0c99c
+c1008000
+70499c01
+da200000
+2020786c
+da200000
+2040786c
+20404a40
+20203289
+2040320a
+204022e1
+2040255f
+20204aaa
+6fe0c967
+207a0000
+6fe0c4ca
+243a4a48
+da60498f
+da404aa2
+20203203
+70496e01
+20600000
+70496e02
+20600000
+70497001
+20600000
+70497002
+20600000
+70496e00
+20600000
+70497000
+20600000
+da204968
+202079aa
+da204975
+202079aa
+6fe0c99e
+c000cacb
+da20497e
+204079c1
+24344ad0
+d8c0497e
+efe08006
+1fe22200
+da40497f
+20600000
+70499e00
+78347c00
+da200001
+da40499f
+20600000
+6fe0c981
+c0024ad4
+c002cad4
+20600000
+6fe0c984
+243a4adb
+6fe0c986
+243a4adb
+6fe0c988
+243a4adb
+20600000
+78347c00
+20204ac6
+70479214
+70478601
+5800060f
+67e148d5
+580048d5
+67e1448c
+70409901
+70415b06
+70417802
+7048d400
+58004934
+67e1448f
+70448e01
+704935ff
+58000296
+67e14937
+5800073a
+67e14939
+58004991
+67e144cc
+58000c0c
+67e14993
+58004948
+67e144c8
+70496500
+704963ff
+704966ff
+70496100
+70496200
+70496400
+70496701
+58004e55
+67e14954
+67e14956
+58000007
+67e1495a
+7044a202
+38035a0c
+3804011a
+38080060
+380c0028
+67e4c968
+3802000a
+38040002
+e7e20005
+38035a08
+3804019a
+38080000
+380c0000
+67e4c975
+58000064
+67e1498d
+7041e800
+70483901
+7048ac06
+70485e01
+70489000
+204022d0
+2040261a
+204022b5
+204022db
+58000708
+67e14885
+58000050
+67e14889
+580a7700
+67e1c8b4
+58604800
+67e1c85f
+20203174
+20406e5e
+20758000
+58004ba8
+67e1445d
+58004ba6
+67e1445f
+58003289
+67e14469
+58004ba4
+67e14465
+58004b53
+67e14467
+58004b4d
+67e1445b
+58004c15
+67e1446b
+58004b8a
+67e1446f
+58004bf0
+67e147eb
+58004c2c
+67e147e6
+58004c2d
+67e147e8
+20404b48
+20401a55
+20404c18
+204061da
+204079a5
+2040785b
+44f2c01c
+20404c25
+6fe0c7e1
+c0004b4a
+6fe0c7e2
+67e0c793
+20204c34
+7045fa07
+20600000
+704793ff
+7047e301
+20204bc3
+6fe0c7e3
+c001324f
+2040535f
+6fe0c4e9
+243a324f
+20203251
+1a627e00
+c00a4b5c
+c00acb60
+c01fcb63
+c0204b69
+c0084b6f
+c0164b70
+c016cb7b
+20600000
+20404baa
+58000000
+67e147bb
+20203287
+204079a5
+7047b400
+20204bc3
+204079a5
+7047b401
+6fe447c5
+67e44372
+20403295
+20201f04
+6fe143db
+c1000000
+6fe447cd
+207a0000
+67e44372
+20201f04
+20204c45
+6fe0c7e1
+c1000000
+6fe0c7e3
+c1808000
+20404b76
+20203285
+7049e301
+df20000b
+d8a049e4
+d8c049cd
+20207dd4
+6fe0c7e1
+c1000000
+6fe0c7e3
+c000cb80
+20204c41
+6fe0c9e3
+c1808000
+7049e300
+6fe1478f
+c2803287
+c284b287
+df20000b
+d8c049e4
+d8a049cd
+20207dd4
+20404b8d
+20404b94
+20204b9f
+da6047df
+da404b90
+20203203
+7047e302
+20403287
+20404bd4
+20204c31
+da6049f0
+da404b97
+202031fc
+6fe1478f
+c284cc31
+c2804c31
+6fe0c9cd
+c000cc31
+c0024c31
+c002cc31
+20203289
+6fe0c7e3
+c1808000
+da6047bb
+da404bb1
+20203203
+20404c01
+2020620b
+20406136
+202061ff
+20406136
+20206e62
+6fe0c7a7
+c2804bad
+20600000
+6fe147db
+67e147dd
+67e147df
+20203277
+6fe0c7e3
+c1808000
+6fe0c7a7
+c2804bb6
+20600000
+6fe1478f
+c3848000
+6fe147d9
+67e147dd
+67e147df
+6fe147b7
+20404c56
+20403283
+6fe247c1
+67e249d0
+6fe1478f
+c3858000
+20203279
+6fe0c7e3
+c1808000
+6fe0c7a7
+c2804bc8
+20600000
+6fe147bb
+684947b9
+604947bb
+247a0000
+6fe147b5
+20404c56
+20403283
+6fe247bd
+67e249d0
+6fe1478f
+c3858000
+20203279
+6fe1478f
+c284b281
+20204baa
+20407ec7
+6fe1478f
+c284cbdb
+20600000
+6fe0c7b4
+207a0000
+20207ec5
+20407ec7
+6fe1478f
+c3800000
+c3848000
+20207ec5
+6fe0c7a7
+c2804be6
+20600000
+20204bc3
+78567c00
+6fe147dd
+67e147df
+20404bde
+20344be3
+20404bd7
+24740000
+78367c00
+20600000
+20404be7
+24760000
+1a227e00
+203a4bf7
+20403285
+da6047f5
+20204bf9
+20403287
+da60481d
+dfe00005
+98effe00
+9a60a600
+efe08013
+207a0000
+20404c0d
+1a60a601
+20204bfc
+6fe1478f
+c284cc04
+20600000
+20401b24
+247a0000
+20404c10
+24740000
+1fe0ffff
+1feffe05
+d8404845
+98408c00
+20204c5a
+67e0895c
+da20095c
+202079aa
+da20095c
+204079c1
+24740000
+6fe0895c
+20600000
+6fe14437
+c00c4b63
+20600000
+58000002
+67e0c9ef
+58200008
+67e247c5
+592c0005
+e7e20005
+70438017
+5800001b
+67e143d1
+20401ac2
+20401ade
+20401aeb
+20201aca
+df200028
+d8a04845
+d8c09e57
+20207dc7
+df20017e
+d8c09af2
+20207dc7
+20204bc3
+da200000
+da6049d8
+20407877
+20404bd4
+6fe0c9ef
+67e0c9f0
+20600000
+58000000
+20404c3c
+70478601
+20407826
+20407830
+6fe1478f
+c3860000
+20203289
+684944cc
+e7e08002
+efe08005
+67e0c792
+20600000
+6fe144cc
+efe0803f
+c1800000
+20203289
+684944cc
+efe08002
+c000cc50
+58000001
+684944cc
+e7e08002
+18408c02
+efe08006
+e7e08012
+efe10006
+20207e7a
+58000002
+20404c3c
+18408c05
+efe10006
+203a3289
+20207e7a
+67e14159
+1fe0fffc
+67e14428
+20600000
+efe08006
+1fe22200
+e8410006
+20407d5e
+20401e5f
+1a227200
+20407d58
+20207dd4
+6fe149f1
+67e147ed
+6fe0c9f3
+67e0c9cf
+67e0c9da
+6fe0c9f4
+67e0c7e1
+6fe0c9f5
+67e0c7e2
+7047a701
+58000030
+67e147b2
+58000000
+67e147a8
+58000001
+67e147f5
+67e147fa
+58000006
+67e1481d
+67e14822
+58000007
+67e147ff
+58000008
+67e14827
+580047e3
+67e144cc
+58201400
+67e1c7e3
+70409901
+58000100
+67e14159
+70415b08
+70417705
+70417802
+58000030
+67e14455
+58000001
+e7e10005
+7046440a
+58000096
+67e147bd
+e7e10005
+58000296
+67e147c1
+e7e10005
+38000010
+38048008
+380ac000
+380c0004
+67e447cd
+70448e01
+580049cd
+67e1448f
+58000000
+67e149cd
+380001a0
+38040068
+38080000
+380c0000
+67e449d0
+58000301
+67e149d8
+380001a0
+380400e8
+38080000
+380c0000
+67e449db
+5800000e
+67e147b5
+58000140
+67e147b7
+67e14428
+58000050
+67e147b9
+70443207
+70442700
+380000fb
+3806c212
+3808800f
+380c0021
+67e4444c
+38000bb8
+380402ee
+67e247d9
+580048fe
+67e1448c
+58002001
+67e148fe
+7043e71f
+38010102
+380480c1
+38098120
+380c640c
+67e4c3e8
+380003c1
+e7e10005
+7044071f
+3802090d
+38074c15
+380a8532
+380dd1d5
+67e4c408
+38026574
+3804001c
+e7e18005
+580047ea
+67e144c8
+7047ea02
+70447f17
+58004923
+67e14489
+70448b05
+58002540
+67e140b2
+58040003
+67e1c768
+70476f03
+70476701
+70479101
+70415f00
+3803ffff
+3806fe23
+380999d9
+380c020d
+67e440a0
+58009af2
+67e14396
+7040d801
+38010306
+38040004
+38082010
+380c9040
+67e4c665
+38020011
+38040044
+e7e28005
+70467b00
+58009c70
+67e14663
+7040c518
+20403174
+df20001e
+d8a042f8
+20407d9b
+7042f70b
+58204241
+67e1c2f8
+58756853
+e7e18005
+58657474
+e7e18005
+58003372
+e7e10005
+6fe0c9f6
+207a0000
+67e0c2f7
+1fe27200
+d8c049f7
+d8a042f8
+20207dd4
+6fe0c4d7
+d840003e
+2020612b
+6fe0c4d7
+d840003f
+2020612b
+20404d05
+20404d02
+20204d05
+20404d09
+20204d02
+20204d09
+20404d09
+20204d0b
+20204d02
+6fe0c4d8
+20204d03
+6fe0c4d8
+20204d06
+20404d11
+20404d13
+20204d11
+20800000
+20404d22
+20404d2c
+20404d40
+20404d5f
+20404d63
+7009fc01
+7009f904
+20404d6e
+20204d20
+6fe08a2c
+c283cd2a
+708a01ff
+20000064
+708a020e
+708a0003
+70804205
+20600000
+70804204
+20600000
+20404d30
+20404d34
+20404d38
+20204d3c
+6fe0c7a7
+247a0000
+7047a70d
+20600000
+6fe0c7a8
+247a0000
+7047a80e
+20600000
+6fe0c7a9
+247a0000
+7047a909
+20600000
+6fe0c7aa
+247a0000
+7047aa0a
+20600000
+58001800
+67e1095c
+58001bff
+e7e10005
+58001c00
+e7e10005
+58001fff
+e7e10005
+6fe4095c
+20405f56
+6fe08a2c
+2feffe07
+2040df7d
+2440df81
+d841c200
+20405f6e
+6fe0c7a7
+d8400008
+2040612c
+6fe0c7a8
+d8400049
+2040612c
+6fe0c7a9
+d840000a
+2040612c
+6fe0c7aa
+d840000b
+2040612c
+d8400081
+60588060
+20207e77
+6fe0c7ab
+247a0000
+7047ab0c
+20600000
+6fe0c7ab
+d8400010
+2040612c
+da200040
+20406239
+da200000
+da400000
+58000000
+20406272
+d8e00000
+20206285
+6ff10112
+1fe0a3fc
+24610000
+20405f9d
+efe08003
+c000cd76
+20407d85
+20205fad
+efe10003
+67e109fd
+d84003ff
+98410400
+604909f6
+1feb7e00
+1fecfe00
+67e089f8
+efe08003
+1fe0ffff
+9a267c00
+20610000
+20404d84
+20204ddf
+6fe089f8
+c01fcd87
+20204dcb
+44f3401c
+6fe089f6
+c0004dca
+c000cd92
+c0014d97
+c001cda5
+c0024daf
+c002cdca
+c0084dc0
+c00a4dc6
+20204dca
+7009ff00
+6ff10000
+67e10a00
+df200003
+20204dd2
+efe10003
+67f10052
+20600000
+efe08003
+1fe20400
+67f08024
+efe08003
+98408400
+79207e07
+67f08023
+efe08003
+98408400
+1fe27200
+20600000
+20404d9a
+efe08003
+67f08025
+98408400
+c2004da6
+184104ff
+efe08003
+98467c00
+2422cdbe
+20204dca
+df200020
+d8a04000
+d8400000
+efe08003
+e7e08005
+98408400
+c2004db2
+184104ff
+efe08003
+98467c00
+2422cdbe
+70802300
+20404dca
+20407e7c
+20200801
+70802300
+20204dcb
+efe08003
+1fe27200
+efe10003
+1fe20a00
+20405ff3
+20204dca
+6ff08060
+79207e04
+67f08060
+20204dca
+20204dcf
+7009ff01
+20204dd0
+7009ff0c
+20204dd0
+7009ff00
+df200001
+20204dd2
+7009fa0e
+1f20fe03
+67e089fb
+20404ddb
+6fe189fc
+e7e18003
+d8c009ff
+20405fd9
+20205fb9
+20405fb5
+6fe189f9
+e7e18003
+20600000
+20405f9d
+18608603
+efe08003
+98608600
+20205fa9
+7041db00
+20600000
+6fe341dd
+684b0040
+98467c00
+20600000
+44f3c01c
+6fe10315
+1fe20c00
+efe08006
+67e0c5f8
+1fe1040f
+1ff1fe00
+c004ce0b
+c003ce0b
+c0054e1a
+c002ce03
+c000cdf7
+20600000
+18427e00
+c002cdfb
+c001ce02
+20600000
+70095b27
+204078dc
+6fe0c09a
+c1840000
+18427e00
+c002c48c
+20600000
+20600000
+20404e1a
+da200001
+20404e1e
+6fe144df
+e7e10005
+58000000
+e7e08005
+20600000
+da200001
+20404e1e
+6fe144df
+e7e10005
+58000000
+e7e08005
+70095001
+6fe0c4e5
+79207e06
+67e0c4e5
+70095b12
+204078dc
+6fe0c09a
+c1840000
+2020446c
+efe08006
+c000ce1d
+20600000
+20600000
+204052fb
+1a220400
+60488950
+1fe20a00
+1a227e00
+e7e10005
+20600000
+2035ce2a
+580045f9
+d8a044d9
+98a67200
+20407d9b
+44f4401d
+58000424
+d8a003e4
+98a67200
+20407d9b
+5800037a
+d8a0030e
+98a67200
+20407d9b
+202053c9
+44f4c01d
+18c20400
+18420c00
+efe10006
+67e10317
+efe10006
+67e10319
+18c27e00
+67e10315
+6fe0c78e
+c0004e40
+202051ab
+6fe10317
+203a4eb8
+44f5401d
+6fe08319
+c000ce56
+c0284e98
+c028ceb1
+c0294eaf
+c029ceaf
+20204eb8
+44f5c01d
+2040535f
+6fe0c4e9
+c0007ed1
+c000fed1
+c0017ed1
+c001fed1
+c040fed1
+c0607ed1
+c0407ed1
+c0207ed1
+20600000
+20404e4a
+247a0000
+20405369
+20404ebd
+68490320
+203a4eb7
+20405372
+6fe10320
+e7e10005
+18007e01
+e7e10005
+20204eb8
+6fe0c5f7
+207a0000
+1fe22200
+44f6401d
+6fe20386
+d8400100
+98408400
+1c427e00
+98467c00
+24610000
+7045f700
+1a227e00
+c0284e70
+2020137c
+d9000000
+20405369
+20404f36
+20405374
+20407d61
+20404f69
+20405372
+5800000c
+e7e10005
+18007e01
+e7e10005
+20204eb8
+44f6c01d
+6fe10326
+1fe0fe04
+20407f27
+1fe08401
+d8c044f3
+efe18006
+207a0000
+67e1898e
+6fe0898e
+1fe22200
+20404e8b
+1a427e00
+67e0c4f3
+20600000
+d8e00000
+da400000
+18e67c07
+24610000
+aa2fffff
+2020ce92
+20204e96
+18427e00
+203a4e96
+f9202400
+184085ff
+18e08e01
+20204e8d
+20405355
+247a0000
+20404e4a
+247a0000
+20405376
+20406e5e
+2040672f
+20406e62
+20404e7c
+20204ea8
+20405355
+247a0000
+20405376
+20406e5e
+2040672f
+20406e62
+2040537f
+6fe10326
+203a4eb7
+e7e10005
+6fe144db
+e7e10005
+20204eb8
+20404dea
+20204eb8
+44f7401d
+70033500
+204063a9
+6fe08335
+c1008000
+20204eb8
+20405345
+58000000
+67e10317
+67e10319
+70031b01
+20600000
+44f7c01d
+20405374
+18002400
+6fe10317
+1fe22600
+6fe10315
+98000c00
+20404ecc
+1a627e00
+1a60a7fc
+1fe0fffc
+243a4ec4
+1a427e00
+67e10320
+20600000
+44f8401e
+efe08006
+c000cf05
+c0014f0d
+c001cf91
+c0024fc1
+c002d05e
+c0035087
+c003d0d7
+c004510c
+c004d11c
+c0054edb
+c005d11d
+2040511e
+20600000
+efe08006
+1fe20e00
+efe10006
+1fe22200
+1a627e00
+9a262600
+5800000b
+e7e08005
+18e27e00
+e7e08005
+efe10006
+c0014ee9
+c001ceef
+20600000
+58020008
+e7e30005
+58000280
+e7e20005
+18007e0c
+20204ef4
+5803000c
+e7e30005
+58000006
+e7e40005
+18007e10
+9a40a400
+20204eda
+efe08006
+1fe20e00
+efe10006
+1fe22200
+efe10006
+67e10964
+1a627e00
+9a262600
+20405374
+5800000b
+e7e08005
+18e27e00
+e7e08005
+6fe10964
+20204ee6
+efe08006
+1fe20e00
+efe10006
+1fe22200
+98c08c00
+1a627e00
+9a262600
+20204eda
+20407d61
+20407d66
+d9000000
+efe08006
+1fe20e00
+efe10006
+1fe22200
+efe10006
+1fe20400
+efe10006
+1fe21600
+44f8c01e
+18427e00
+c000cf20
+c001cf42
+c008cf4e
+c009cf59
+2040511e
+20204f90
+20407d61
+d8400050
+6fe144db
+243a4f8a
+19627e00
+67e144db
+1c427e00
+67e20386
+20404f2a
+20204f65
+60490384
+19627e00
+67e1037a
+1a227e00
+67e1037c
+1a427e00
+67e1037e
+1a627e00
+67e10380
+18e27e00
+67e10382
+20600000
+68490384
+6fe1037a
+1fe21600
+6fe1037c
+1fe22200
+6fe1037e
+1fe22400
+6fe10380
+1fe22600
+6fe10382
+1fe20e00
+20600000
+20407d61
+58000051
+d8400051
+6fe144dd
+243a4f8a
+19627e00
+67e144dd
+6fe0c4e4
+79207e00
+79207e01
+67e0c4e4
+20204f6d
+20407d61
+d8400052
+6fe144df
+243a4f8a
+19627e00
+67e144df
+6fe0c4e5
+79207e00
+79207e01
+67e0c4e5
+20204f6d
+20407d61
+1b427e00
+d8400053
+6fe144e1
+243a4f8a
+19627e00
+67e144e1
+6fe0c4e6
+79207e00
+79207e01
+67e0c4e6
+20204f6d
+58000001
+67e1032e
+7045f750
+20204f6f
+6fe0c4e3
+79207e00
+79207e01
+67e0c4e3
+58000000
+67e1032e
+44f9401e
+20407d66
+58000003
+e7e08005
+18e27e00
+e7e08005
+58000008
+e7e10005
+18427e00
+e7e10005
+19627e00
+e7e10005
+6fe1032e
+c000cf85
+290c0000
+2020cf80
+58000004
+e7e10005
+18007e00
+e7e10005
+5800000c
+20204f8c
+e7e10005
+18007e02
+e7e10005
+5800000c
+20204f8c
+79201000
+20204f6d
+9a40a400
+1a627e00
+9a262600
+20204f90
+20204eda
+efe08006
+1fe20e00
+efe10006
+1fe22200
+1a627e00
+9a262600
+efe10006
+1fe21600
+efe10006
+1fe20400
+44f9c01e
+58000050
+98467c00
+2022cfa9
+58000051
+98467c00
+2022cfaf
+58000052
+98467c00
+2022cfbb
+58000053
+98467c00
+2022cfb5
+20600000
+19627e00
+67e144db
+6fe0c4e3
+79207e01
+67e0c4e3
+20204eda
+19627e00
+67e144dd
+6fe0c4e4
+79207e01
+67e0c4e4
+20600000
+19627e00
+67e144df
+6fe0c4e6
+79207e01
+67e0c4e6
+20600000
+19627e00
+67e144e1
+6fe0c4e5
+79207e01
+67e0c4e5
+20600000
+efe08006
+1fe20e00
+efe10006
+1fe22200
+1a627e00
+9a262600
+efe10006
+1fe20400
+18422200
+44fa401e
+58000050
+98467c00
+2022cfd8
+58000051
+98467c00
+2022cff6
+58000052
+98467c00
+2022cfe2
+58000053
+98467c00
+2022cfec
+2020511e
+18a21600
+6fe0c4e3
+79207e04
+79207e03
+67e0c4e3
+19620a00
+d9600050
+6fe144db
+1fe20400
+20204fff
+18a21600
+6fe0c4e5
+79207e04
+79207e03
+67e0c4e5
+19620a00
+d9600052
+6fe144df
+1fe20400
+20204fff
+18a21600
+6fe0c4e6
+79207e04
+79207e03
+67e0c4e6
+19620a00
+d9600053
+6fe144e1
+1fe20400
+20204fff
+18a21600
+6fe0c4e4
+79207e04
+79207e03
+67e0c4e4
+19620a00
+d9600051
+6fe144dd
+1fe20400
+44fac01e
+58000005
+e7e08005
+18e27e00
+e7e08005
+58000006
+e7e10005
+18427e00
+e7e10005
+18007e00
+e7e10005
+18007e00
+e7e10005
+18007e0a
+9a40a400
+60490333
+18e27e00
+67e08332
+18007e50
+a961fe00
+2020d015
+1fe0fe01
+20600000
+78547c00
+c3810000
+c4000000
+c4008000
+79207e02
+18c20a00
+18a08bff
+e7e08005
+78347c00
+20600000
+6fe0c4e3
+20405016
+24345027
+70033150
+6fe144db
+67e10333
+2020503b
+6fe0c4e4
+20405016
+2434502e
+70033151
+6fe144dd
+67e10333
+2020503b
+6fe0c4e5
+20405016
+24345035
+70033152
+6fe144df
+67e10333
+2020503b
+6fe0c4e6
+20405016
+24740000
+70033153
+6fe144e1
+67e10333
+44fb401e
+204052f5
+20405369
+18002400
+20405374
+18007e04
+e7e08005
+6fe0c4e8
+e7e08005
+58000008
+e7e10005
+6fe10333
+e7e10005
+58000000
+e7e10005
+18007e01
+e7e08005
+18007e02
+e7e08005
+6fe08331
+c028d053
+58000030
+e7e10005
+20205055
+580003e3
+e7e10005
+d840000c
+60490320
+20405372
+6fe10320
+e7e10005
+18007e01
+e7e10005
+70033100
+20204eda
+18c08c01
+efe10006
+1fe22200
+1a627e00
+9a262600
+efe10006
+1fe22200
+44fbc01e
+58000050
+9a267c00
+2022d076
+58000051
+9a267c00
+2022d07a
+58000052
+9a267c00
+2022d07e
+58000053
+9a267c00
+2022d082
+18c08c02
+efe10006
+98007c00
+20204eda
+6fe0c4e3
+79207e05
+67e0c4e3
+20204eda
+6fe0c4e4
+79207e05
+67e0c4e4
+20204eda
+6fe0c4e5
+79207e05
+67e0c4e5
+20204eda
+6fe0c4e6
+79207e05
+67e0c4e6
+70095b06
+202078dc
+efe08006
+1fe20e00
+efe10006
+1fe22200
+1a627e00
+9a262600
+efe10006
+1fe22200
+efe10006
+1fe21600
+1a220400
+20407d61
+44fc401f
+58000050
+98467c00
+2022d0ae
+58000051
+98467c00
+2022d0be
+58000052
+98467c00
+2022d0a2
+58000053
+98467c00
+2022d0a8
+2040511e
+202050d3
+19620400
+6fe144df
+98467c00
+2022d0b4
+2040511e
+202050d3
+19620400
+6fe144e1
+98467c00
+2022d0b6
+2040511e
+202050d3
+19620400
+6fe144db
+98467c00
+2022d0ba
+2040511e
+202050d3
+20405135
+202050c6
+2040513b
+6fe144df
+203a50c6
+202050c6
+20405130
+6fe08339
+243a50c6
+202050c6
+19620400
+6fe144dd
+98467c00
+2022d0c4
+2040511e
+202050d3
+2040512b
+202050c6
+20407d66
+58000007
+e7e08005
+18e27e00
+e7e08005
+58000004
+e7e10005
+1a227e00
+e7e10005
+19627e00
+e7e10005
+18007e08
+202050d5
+20407d66
+202050d5
+9a40a400
+20204eda
+efe08006
+1fe20e00
+efe10006
+1fe22200
+1a627e00
+9a262600
+efe10006
+1fe21600
+efe10006
+1fe20400
+20407d61
+44fcc01f
+58000050
+98467c00
+2022d0f1
+58000051
+98467c00
+2022d0f7
+58000052
+98467c00
+2022d0fd
+58000053
+98467c00
+2022d103
+2040511e
+2020510b
+18422200
+19620400
+6fe144db
+98467c00
+2042d130
+20205109
+18422200
+19620400
+6fe144dd
+98467c00
+2042d12b
+20205109
+18422200
+19620400
+6fe144df
+98467c00
+2042d135
+20205109
+18422200
+19620400
+6fe144e1
+98467c00
+2042d13b
+20205109
+20407d66
+20204eda
+20204eda
+efe08006
+1fe20e00
+efe10006
+1fe22200
+98c08c00
+58000009
+e7e08005
+18e27e00
+e7e08005
+18007e00
+e7e10005
+18007e04
+9a40a400
+1a627e00
+9a262600
+20204eda
+20204eda
+20204eda
+18002400
+20405374
+58000001
+e7e08005
+18e27e00
+e7e08005
+58000002
+e7e10005
+58000000
+e7e10005
+1a40a406
+da600004
+20204eda
+58000000
+67e1032c
+67e144dd
+7044e400
+20600000
+58000000
+67e10326
+67e144db
+7044e300
+20600000
+58000000
+67e144df
+7044e500
+6fe0c4e6
+c0005141
+20600000
+58000000
+67e144e1
+7044e600
+6fe0c4e5
+c0005141
+20600000
+70095b07
+202078dc
+6fe08330
+793ffe00
+67e08330
+6fe144e1
+207a0000
+20405369
+6fe144e1
+1fe22200
+18002453
+20205156
+6fe08330
+793ffe07
+67e08330
+6fe144df
+207a0000
+20405369
+6fe144df
+1fe22200
+18002452
+204052f5
+20405374
+18007e06
+e7e08005
+6fe0c4e8
+e7e08005
+58000004
+e7e10005
+1a227e00
+e7e10005
+1a427e00
+e7e10005
+18000408
+2020519a
+44fd401f
+204052f5
+20405374
+58000002
+e7e08005
+6fe0c4e8
+e7e08005
+58000004
+e7e10005
+18427e00
+e7e10005
+19627e00
+e7e10005
+d8400008
+2020519a
+44fdc01f
+204052f5
+20405374
+58000004
+e7e08005
+6fe0c4e8
+e7e08005
+58000008
+e7e10005
+18427e00
+e7e10005
+58000000
+e7e10005
+58000001
+e7e08005
+58000002
+e7e08005
+580003e3
+e7e10005
+d840000c
+2020519a
+44fe401f
+204052f5
+20405374
+58000006
+e7e08005
+6fe0c4e8
+1fe0fe01
+18a22200
+67e0c4e8
+1a220a00
+e7e08005
+58000004
+e7e10005
+18427e00
+e7e10005
+19627e00
+e7e10005
+d8400008
+60490320
+18427e00
+203a5345
+20405372
+6fe10320
+e7e10005
+18007e01
+e7e10005
+20600000
+6fe10326
+203a137c
+2040537f
+6fe10326
+e7e10005
+6fe144db
+e7e10005
+20600000
+6fe10317
+203a4eb8
+44fec01f
+6fe08319
+c000d1b5
+c0284ea2
+c028ceb1
+c0294eaf
+c029ceaf
+20204eb8
+20405369
+18002400
+20405374
+1fe20a00
+6fe10317
+1fe22600
+6fe10315
+98000c00
+204051c3
+1a60a7fc
+2422d1bd
+1a420400
+2040519a
+20204eb8
+efe08006
+c00151ce
+c000d1d1
+c001d1db
+c002d217
+c0025249
+c003d2ce
+c003529c
+c004510c
+c0054ef6
+202052e9
+20407d61
+20407d66
+20204f0d
+efe08006
+1fe20e00
+efe10006
+1fe22200
+1a627e00
+9a262600
+efe08006
+1a20a3ff
+2422d1d7
+20600000
+efe08006
+1fe20e00
+efe10006
+1fe22200
+efe10006
+1fe21600
+efe10006
+1fe20400
+efe10006
+1fe67c00
+2022d1ed
+c00151e9
+c00251e9
+202051eb
+70095b16
+204078dc
+efe10006
+20205214
+20407d61
+44ff401f
+58000050
+98467c00
+2022d1fc
+58000051
+98467c00
+2022d202
+58000053
+98467c00
+2022d20e
+58000052
+98467c00
+2022d208
+20205214
+19627e00
+67e144db
+6fe0c4e3
+79207e01
+67e0c4e3
+20205213
+19627e00
+67e144dd
+6fe0c4e4
+79207e01
+67e0c4e4
+20205213
+19627e00
+67e144df
+6fe0c4e5
+79207e01
+67e0c4e5
+20205213
+19627e00
+67e144e1
+6fe0c4e6
+79207e01
+67e0c4e6
+20407d66
+1a627e00
+9a262600
+20600000
+efe08006
+1fe20e00
+efe10006
+1fe22200
+1a627e00
+9a262600
+efe10006
+1fe21600
+efe10006
+efe10006
+243a5243
+20407d61
+19620400
+44ffc01f
+58000050
+98467c00
+2022d231
+58000051
+98467c00
+2022d235
+58000052
+98467c00
+2022d239
+58000053
+98467c00
+2022d23d
+6fe0c4e3
+79207e05
+67e0c4e3
+20600000
+6fe0c4e4
+79207e05
+67e0c4e4
+20600000
+6fe0c4e5
+79207e05
+67e0c4e5
+20600000
+6fe0c4e6
+79207e05
+67e0c4e6
+70095b06
+202078dc
+20407d66
+1a20a3fa
+2022d248
+18c08c01
+1a20a3ff
+20205244
+20600000
+efe08006
+1fe20e00
+efe10006
+1fe22200
+1a627e00
+9a262600
+efe10006
+18c08c02
+1fe20400
+58000005
+e7e08005
+18e27e00
+e7e08005
+1a20a202
+1a227e00
+e7e10005
+20407d61
+47004020
+58000050
+98467c00
+2022d268
+58000051
+98467c00
+2022d279
+58000052
+98467c00
+2022d27f
+58000053
+98467c00
+2022d285
+2020528a
+6fe0c4e3
+79207e04
+79207e03
+67e0c4e3
+c2815276
+68488330
+79200406
+60488330
+18e27e00
+1fe0fe01
+67e08332
+6fe0c4e3
+79207e02
+67e0c4e3
+6fe144db
+67e10333
+2020528a
+6fe0c4e4
+79207e04
+79207e03
+67e0c4e4
+6fe144dd
+2020528a
+6fe0c4e5
+79207e04
+79207e03
+67e0c4e5
+6fe144df
+2020528a
+6fe0c4e6
+79207e04
+79207e03
+67e0c4e6
+6fe144e1
+1fe21600
+20407d66
+19627e00
+e7e10005
+18007e00
+e7e10005
+18007e00
+e7e10005
+18007e0a
+9a40a400
+1a20a3fa
+2022d29b
+efe08006
+e7e08005
+1a40a401
+1a20a3ff
+20205295
+20600000
+efe08006
+1fe20e00
+efe10006
+1fe22200
+1a627e00
+9a262600
+efe10006
+1fe22200
+efe10006
+1fe21600
+20407d61
+4700c020
+58000050
+1a220400
+98467c00
+2022d2b5
+58000052
+1a220400
+98467c00
+2022d2ba
+58000053
+1a220400
+98467c00
+2022d2bc
+202052be
+58000000
+67e10326
+67e144db
+67e0c4e3
+202052c0
+20405135
+202052c0
+2040513b
+202052c0
+58000000
+67e1032c
+20407d66
+58000007
+e7e08005
+18e27e00
+e7e08005
+58000004
+e7e10005
+1a227e00
+e7e10005
+19627e00
+e7e10005
+18007e08
+9a40a400
+20600000
+efe08006
+1fe20e00
+efe10006
+1fe22200
+efe10006
+1fe21600
+efe10006
+1fe20400
+20407d61
+47014020
+6fe0c4e8
+a8e1fe00
+2420d2e5
+58000050
+98467c00
+2022d2e2
+58000051
+98467c00
+2022d2e5
+202052e5
+7044db00
+7044e300
+202052e5
+20407d66
+1a627e00
+9a262600
+20600000
+58000001
+e7e08005
+efe08006
+e7e08005
+58000002
+e7e10005
+58000000
+e7e10005
+58000006
+9a40a400
+18002604
+20600000
+6fe0c4e8
+1fe0fe01
+c08052f9
+1fe0fe01
+67e0c4e8
+20600000
+db001800
+dd600080
+20407ec5
+20205303
+6b0143de
+6d6143e0
+20407ec7
+20205303
+4701c020
+2040534f
+243a137c
+2040535f
+df200008
+6848c4e9
+1f260e08
+a84fffff
+2020d310
+20405317
+24215310
+2040532d
+20205314
+1d627e00
+9b00b000
+c2005308
+2020137c
+1b027e00
+1b020a00
+20600000
+47024020
+1f260e08
+d8400000
+d9600000
+18e27e00
+c0045328
+6fe0c4e9
+afefffff
+2020d328
+f9201600
+1d627e00
+98408400
+18e08e01
+1a227e00
+98467c00
+2022d328
+2021531b
+18427e00
+9a267c00
+24628000
+f9201600
+20600000
+4702c020
+2040534f
+243a137c
+20405355
+203a5336
+6fe4c4ed
+67e4c4ea
+58000000
+e7e18005
+6160c4f3
+630144f4
+20600000
+47034020
+20405358
+18c08c01
+efe10006
+20600000
+4703c020
+20405358
+18c20a00
+18c20400
+58000000
+e7e18005
+20600000
+47044021
+20405355
+203a137c
+6fe1c4f0
+67e1c4f3
+6fe1c4ed
+67e1c4f0
+6fe1c4ea
+67e1c4ed
+20600000
+4704c021
+6fe1c4ea
+20600000
+47054021
+6fe1c4ed
+20600000
+4705c021
+6fe1c4f3
+20600000
+20405355
+203a535d
+d8c044ea
+efe18006
+203a535b
+18c08dfd
+20600000
+47064021
+df200004
+d8c044ea
+d8400000
+efe18006
+1fe17eff
+98418400
+c2005363
+6048c4e9
+20600000
+4706c021
+da20007f
+204052fb
+67e1031c
+1fe0fe04
+67e1031e
+58000000
+67e10320
+20600000
+6fe1031c
+20205393
+6fe1031e
+20205393
+47074021
+da2000fa
+204052fb
+67e10322
+1fe0fe04
+67e10324
+58000000
+67e10326
+20600000
+6fe10322
+20205393
+6fe10324
+20205393
+4707c021
+20407d3b
+70033501
+2040534f
+247a0000
+da20007f
+204052fb
+67e10328
+1fe0fe04
+67e1032a
+58000000
+67e1032c
+70033500
+20207d47
+6fe10328
+20205393
+203a137c
+1fe20a00
+20600000
+47084022
+da400000
+da2044ea
+1a20a3fe
+1a20a202
+580044f6
+9a267c00
+2022d3a6
+efe08011
+1a20a201
+203a539a
+e8410011
+efe10002
+9a40a400
+1a40a404
+2020539a
+1a427e00
+20600000
+d8e0000c
+20201566
+d8e0000c
+2020156a
+4708c022
+2040535f
+6fe0c4e9
+207a0000
+20405396
+d8400100
+98467c00
+202153a8
+204053aa
+d8a044f6
+da2044ea
+580044f6
+9a267c00
+20628000
+efe08011
+1a20a201
+243a53c0
+e7e10005
+1a20a202
+202053b7
+efe10011
+1a20a202
+1fe20c00
+efe10006
+e7e10005
+1fe27200
+1f20f202
+20407dd4
+202053b7
+47094022
+2040535f
+6fe0c4e9
+207a0000
+da2044eb
+1a20a3fd
+d8c044f6
+1a20a203
+580044f7
+9a267c00
+20628000
+efe10006
+203a53d0
+1fe0fe04
+1fe27200
+18c22400
+efe10011
+1fe20a00
+1a420c00
+18c08dfe
+20407dd4
+202053d0
+20758000
+4709c022
+58000000
+67e08048
+67e08055
+67e08078
+67e0807c
+67e0c15d
+67e080bc
+67e08877
+67e1c647
+67e0c64a
+70464500
+70030c00
+7003ab00
+70087700
+70087600
+7003a500
+20600000
+470a4022
+2054da82
+2454da86
+20405a3f
+247a0000
+6fe0804c
+c4030000
+793ffe06
+793f8001
+67e0804c
+6fe080ce
+6848804c
+2feffe00
+79208401
+6048804c
+18410402
+6048807f
+6848804c
+1fe37e00
+67e0807d
+470ac022
+6fe0807d
+c03fd454
+c001d4c0
+c00254d1
+c01e5447
+c002d443
+c007d6f7
+c0085536
+c011d555
+c01cd710
+c01c570b
+c018d53b
+c01bd5d7
+c013d5d3
+c019d5d0
+c012d5d5
+c0135551
+c003d54a
+c016d541
+c0175542
+c000d5cc
+c00155b7
+c0145702
+c004d5ad
+c005d574
+c0045556
+c0065586
+c00fd54d
+c010554f
+c010d5f1
+c01155f1
+c01ad5f2
+c01b55f3
+c01255f1
+c01a55f4
+c00bd5fd
+c008d617
+c0095624
+c009d626
+c006d636
+c0075636
+c017d5d1
+c0185636
+c0055636
+c00c5637
+c0195636
+c01ed63c
+c01f5685
+c01fd67e
+c02056c8
+c020d6d9
+c00356f6
+c01d5445
+c0155441
+c014d442
+70007e19
+70007c04
+20600000
+2020554b
+20600000
+70007c06
+20600000
+70007c3b
+20600000
+6fe200cf
+1fe3fe00
+67e240d9
+6fe080d3
+67e0c0e0
+6fe280d4
+67e2c0ee
+6fe280d9
+e7e28005
+6fe08031
+79207e03
+67e08031
+20600000
+470b4022
+6fe080cf
+79207e07
+67e0807d
+c040d479
+c041547e
+c04ad5d8
+c04b55f1
+c045d5e6
+c041d494
+c04254b6
+c048546b
+c04bd48d
+c04c5492
+c04cd46e
+c04d5471
+c050d469
+c1420000
+70007c82
+70007e19
+20600000
+70007ca2
+20600000
+70007c82
+70007e2e
+20600000
+20405473
+70007c9a
+20600000
+20405473
+20205477
+d8a0476b
+6fe180d0
+e7e18005
+20600000
+2020f0d3
+20600000
+6fe080d1
+79207e07
+67e0839d
+c045d483
+20600000
+6fe080d1
+79207e07
+67e0839d
+c045d487
+20600000
+6fe0c15f
+6848804c
+7d3a0405
+6048804c
+6fe08030
+c4028000
+793ffe05
+67e08030
+70007c31
+20600000
+2434d490
+70007c12
+20205a6e
+70007c97
+20600000
+20405a6e
+2020574d
+efe08006
+67e083a1
+c000d499
+c001549e
+20600000
+70007c84
+18c08c01
+efe08006
+c281d4b0
+202054b3
+70007c84
+18c08c01
+efe10006
+c28454a3
+202054ac
+6fe0c64a
+79207e01
+204054ae
+6fe0c64a
+c1818000
+6fe0c6bb
+c4008000
+70464802
+20600000
+6fe0c64a
+793ffe01
+67e0c64a
+20600000
+6fe0c64a
+79207e00
+202054ae
+6fe0c64a
+793ffe00
+202054ae
+684880d2
+18410401
+604883a4
+6fe0c1db
+c0a8d4bc
+7041db00
+6fe08055
+c18a8000
+70005504
+20205a9e
+470bc022
+6fe080cf
+67e0839d
+c019d4e7
+c00454f6
+c007d4fd
+c0085503
+c008d504
+c009550c
+c00c5525
+c00bd528
+c009d4de
+c01ed651
+c01f56b2
+c0205653
+c020d670
+20600000
+470c4023
+6fe080cf
+67e0839d
+c000d51c
+c019d4f1
+c005d50d
+c0045513
+c009d4e1
+c020551d
+c020d520
+c00c5523
+c00bd534
+20600000
+70095b20
+204078dc
+202009dd
+70095b19
+204078dc
+70464502
+58000050
+d8e00006
+20207ddb
+6fe083a5
+79207e00
+67e083a5
+70095b01
+204078dc
+70007c8b
+6fe08055
+c082d3f1
+70005506
+20600000
+70039e0b
+70007c07
+70005500
+2020d3f1
+20600000
+6fe0c1ca
+247a0000
+20400c5c
+2040574b
+20748000
+79200021
+20600000
+24748000
+70007c10
+6fe0804c
+c4010000
+70007c12
+20600000
+2020574d
+204057a9
+6fe08030
+c3820000
+70007c31
+6fe08055
+c1850000
+7000550b
+20600000
+20600000
+6fe0c09a
+1fe67c08
+2042be57
+70007c07
+70039e13
+20600000
+6fe080d0
+c0035519
+c18c0000
+70039e18
+70007c07
+20600000
+70039e06
+70007c07
+20600000
+20600000
+70087000
+70007c07
+202053f1
+70087000
+70007c07
+202053f1
+70095b24
+202078dc
+70095b23
+204078dc
+20200f12
+70095b22
+204078dc
+58000000
+67e10075
+6fe14455
+1fe3fe00
+67e10032
+6fe0c457
+67e08073
+6fe0c459
+67e08074
+20200ef1
+70095b21
+202078dc
+684880cf
+18467c06
+202156ec
+60488054
+2020554b
+6fe083a5
+79207e02
+67e083a5
+c3818000
+70007c31
+202053f1
+20600000
+6fe0c0d7
+684880cf
+98467c00
+2021554b
+70007c04
+70007e1f
+70007d2e
+20600000
+202058c0
+70007c03
+20600000
+70007c21
+20600000
+70007c22
+20600000
+6fe08055
+c1098000
+70005502
+20600000
+20600000
+6fe0c6b9
+243a555f
+20405748
+7003a801
+70095b0a
+204078dc
+20405a76
+2420d750
+2434d563
+70007c04
+70007d08
+70007e23
+20600000
+6fe0804b
+79207e02
+67e0804b
+20600000
+6848804c
+7d3a0401
+6048804c
+20600000
+6fe0807f
+1fe37e00
+1fe17e01
+20600000
+6fe0c48b
+207a0000
+6fe08877
+205a60af
+20600000
+2040556f
+2040556b
+67e083a9
+6fe0c648
+c0015581
+20405748
+70007c0c
+6fe0c1ca
+247a0000
+6fe08030
+c3830000
+70007e06
+2020543f
+70007c0b
+d8a008f0
+d8c000cf
+20407d7f
+2020557b
+6fe0c648
+c0015596
+da200040
+20406ba6
+684a0454
+6fe200cf
+98467c00
+2022d591
+70007c07
+70039e05
+20600000
+20406ca4
+2040559f
+6fe0c767
+203a5671
+20600000
+6fe200cf
+684a091c
+98467c00
+2022d59b
+2020558e
+2040559f
+6fe0c6bb
+c280d671
+20600000
+204009b4
+6fe0804b
+2feffe01
+793ffe01
+67e0804b
+6fe08055
+c00cd5a8
+c00c55a8
+20600000
+6fe08877
+c1800000
+6fe0804c
+c3810000
+20205b35
+da2000cf
+da400444
+d8a00424
+20406c70
+da200040
+20405a94
+70007c0b
+6fe08030
+c303574b
+20600000
+6fe100ae
+1fe0f3fd
+684880cf
+58000a01
+98408a00
+d8c000d1
+20407dd4
+68488053
+6fe080d0
+98467e00
+1fe67c0e
+202155c7
+1840fe0e
+67e08053
+70007c01
+20600000
+6fe0804c
+79207e03
+67e0804c
+c2825755
+20600000
+6fe080cf
+67e0807d
+70007c02
+20600000
+2020554b
+70007c30
+20600000
+70007c28
+20600000
+70007c26
+20600000
+20600000
+6fe10032
+98000400
+6fe080d0
+67e08092
+984f8400
+6fe100d1
+1fe3fe00
+67e10093
+6fe200d3
+1fe3fe00
+67e2008e
+18427e00
+67e10095
+20600000
+6848c15f
+6fe080d0
+9842fc00
+2422d466
+2feffe00
+6fe0804c
+7920fe05
+67e0804c
+70007c81
+70007d8b
+20600000
+20600000
+2020554b
+2020554b
+6fe100cf
+67e100c0
+20600000
+6fe100d2
+6848c177
+984ffe00
+d8400640
+98467c00
+20600000
+6fe100d4
+203a56ec
+204055f7
+202156ec
+6fe0c09a
+1fe67c0a
+2042bc4c
+6fe08030
+c280d6ec
+6fe100d0
+1fe3fe00
+67e10075
+6fe100d2
+1fe3fe00
+67e10032
+6fe100d4
+67e08073
+98000400
+6fe100d6
+67e08074
+98467c00
+24215614
+67e08073
+70007c03
+70007d17
+20600000
+6fe0c648
+c001561d
+2040554b
+20405748
+20406ba9
+20200ee1
+2040554b
+20400ee1
+20407537
+d8a00062
+d8c00910
+df200010
+20207ed9
+2040554b
+20200eeb
+6fe200cf
+1fe3fe00
+2034d630
+6848c1ca
+243a562d
+70007d13
+202056ec
+70007c34
+70005500
+202009db
+204009db
+79200022
+6fe080bc
+793ffe02
+67e080bc
+2020554b
+20600000
+70007c03
+70007d18
+70095b2e
+204078dc
+20200f12
+70087900
+6fe080cf
+67e0c647
+c080d6ec
+684880d0
+6048c648
+6fe0c6b9
+203a5646
+18467c02
+2422d58e
+6fe080d1
+c020564a
+c018564a
+202056ec
+67e0c649
+20405a7f
+2020d64e
+70087001
+70007c03
+70007d3d
+202053f1
+70007c3e
+20600000
+6fe0c76f
+c000d65a
+c001565e
+20405a7f
+20608000
+70087008
+20600000
+2040735d
+70095b35
+204078dc
+20205656
+20405a7f
+20608000
+6fe0c770
+c009d66e
+1fe0fe01
+67e0c770
+70087201
+70087004
+6fe0c770
+1fe20e00
+6fe34797
+afefffff
+58000080
+7920fe00
+67e0c771
+20600000
+70087008
+20600000
+20405676
+6fe0c772
+207a0000
+70477200
+70095b38
+202078dc
+20405a7f
+2440f367
+2040f377
+20405a7f
+20608000
+7008700c
+70087201
+20600000
+d8a00930
+d8c000cf
+20407d7f
+6fe0c76f
+c1010000
+202070d3
+20600000
+6fe0c648
+c000d69b
+c0015689
+202056ec
+6fe08871
+c003d68d
+6fe08870
+c080d6ec
+6fe08879
+1fe60a30
+242156ec
+d8a00880
+98a08a00
+6fe400cf
+e7e40005
+6fe400d7
+e7e40005
+6fe08879
+1fe0fe10
+67e08879
+c0a0554b
+202056ac
+6fe08871
+c003d69f
+6fe08870
+c080d6ec
+6fe08879
+1fe60a20
+242156ec
+d8a00888
+98a08a00
+6fe400cf
+e7e40005
+6fe400d7
+e7e40005
+6fe08879
+1fe0fe10
+67e08879
+c098554b
+20405a7f
+2020d54b
+70087a01
+70087002
+70087201
+2020554b
+6fe0c648
+c000d6b6
+c00156ba
+20600000
+6fe08878
+c01856be
+70007c3e
+20600000
+6fe08878
+c02056be
+70007c3e
+20600000
+20405a7f
+2020d6c7
+6fe0c76f
+c00156c5
+70087201
+70087004
+202053f1
+70095b36
+202078dc
+202053f1
+6fe08871
+c003d6cc
+6fe08870
+c08356ec
+d8a008f0
+6fe400cf
+e7e40005
+6fe400d7
+e7e40005
+20405a7f
+2020d6d6
+70087007
+70087201
+2020554b
+70087104
+202070d3
+202056ec
+6fe08871
+c005d6dd
+6fe08870
+c08456ec
+d8a00920
+d8c000cf
+20407d7f
+20405a7f
+2020d6e9
+6fe0c76f
+c000d6ee
+70476e00
+70087009
+70087201
+70007d41
+202053f1
+70087109
+70087301
+202053f1
+70007e24
+2020543f
+6fe0c76e
+c283d6f3
+79207e06
+67e0c76e
+20600000
+c28056e4
+70476e00
+202056ec
+202053f1
+6fe080bc
+793ffe01
+67e080bc
+2040554b
+24748000
+6fe080cf
+6848804b
+793a0404
+7d3a0405
+6048804b
+20600000
+684c00cf
+6fe08055
+c1818000
+6fe080bc
+c3025709
+70005514
+20600000
+70005504
+20600000
+6fe080e3
+67e08a5b
+70007c03
+70007d38
+20600000
+70007c03
+70007d39
+18007209
+d8c000cf
+d8a00a52
+efe08006
+1fe2fe55
+e7e08005
+c2005715
+6fe08a52
+68488a51
+793f8407
+793f8404
+c07fd729
+c0005742
+c002d736
+c003d735
+c0035736
+c0045735
+c000d72e
+c001572e
+c001d72e
+c004d72e
+c002572e
+20600000
+6fe08a51
+79207e03
+79207e02
+67e08a51
+20600000
+79200404
+7000e405
+6fe10a59
+98007200
+67e100ae
+d8a000ce
+20407e48
+79200407
+79200402
+18007e00
+67e0800b
+67e109fa
+67e109fc
+67e109f8
+67e109f6
+6fe08a53
+2fe1fe00
+79208406
+60488a51
+20600000
+793f8011
+700a5100
+6fe080e3
+793ffe06
+67e080e3
+20600000
+d8c000cf
+d8a00424
+20207d7f
+70007c09
+20600000
+24748000
+70007c11
+20600000
+da2040a8
+20406b73
+70007c03
+70007d08
+20600000
+7000720a
+70007c07
+70039e16
+20600000
+470cc023
+78547c00
+20405a44
+6fe08048
+207a0000
+c283d78e
+c000d8d8
+c0015859
+c001d79a
+c00257b0
+c013d944
+c014587d
+c0185869
+c012d93f
+c0135878
+c018d92c
+c01bd8d3
+c019d8c5
+c00459c6
+c004d9bc
+c005d9d1
+c00659de
+c007d8cb
+c0085a14
+c008da0a
+c003d8bb
+c01558e7
+c00558e8
+c00fd925
+c003586e
+c010d8c8
+c016d91b
+c0175920
+c01158c8
+c01a58e9
+c009d8fe
+c00bd90d
+c0095a11
+c017d913
+c00c5918
+c01ed967
+c01f596f
+c01fd98a
+c0205994
+c020d9a9
+c011d9b8
+c01dd9b3
+c002d9b9
+c014d9ba
+c01c59bb
+c01cd8de
+2020137c
+20600000
+c040d7bd
+c041d882
+c04257ec
+c04157c6
+c045d88f
+c04bd8b7
+c04cd84a
+c04d5819
+c04ad84f
+c04b5850
+c05157e9
+2020137c
+18007e02
+20405a1a
+6fe08049
+e7e08005
+20405a29
+470d4023
+6fe08049
+c00457d0
+c007d7d4
+c00857df
+c00bd7af
+c019d7e2
+c020d7e8
+c008d7a9
+20600000
+6fe08055
+207a0000
+7000551b
+5800000c
+d8e00007
+20207ddb
+20200ef1
+18007e03
+20405a1a
+6fe08049
+c005d7b8
+e7e08005
+6fe0804a
+e7e08005
+20205a29
+e7e08005
+6fe0804a
+e7e08005
+d84003a9
+20205a65
+18000e04
+20405a22
+5800007f
+e7e08005
+6fe08049
+793ffe07
+e7e08005
+6fe08049
+20205a29
+18000e05
+20405a22
+5800007f
+e7e08005
+6fe08049
+793ffe07
+e7e08005
+6fe0804a
+e7e08005
+20205a29
+20400c5c
+20405a76
+20608000
+2020574b
+6fe0804b
+c282d7db
+c4020000
+70007c12
+793ffe04
+20405a6e
+202057dd
+70007c10
+793ffe05
+67e0804b
+20600000
+20405a7f
+2020d74d
+20600000
+70007c8b
+6fe083a5
+79207e00
+67e083a5
+70095b01
+202078dc
+20600000
+18000e02
+20405a22
+20205a32
+1fe22200
+20405802
+6fe083a1
+c000d7f2
+c00157fa
+20600000
+1a227e00
+18000e0c
+20405a22
+58000001
+e7e08005
+6fe103a2
+e7e48005
+20205a32
+1a227e00
+18000e0c
+20405a22
+58000002
+e7e08005
+58010002
+e7e48005
+20205a32
+6fe0c767
+203a5806
+2040580c
+20205813
+6fe0c0a6
+793ffe03
+67e0c0a6
+58000001
+67e103a2
+20206f37
+470dc023
+6fe0c0a6
+79207e03
+67e0c0a6
+58000101
+67e103a2
+20600000
+6fe0c6bb
+c280d816
+20600000
+58000902
+67e103a2
+20600000
+18000e05
+20405a22
+6fe1c768
+e7e18005
+20405a32
+70477201
+6fe0c768
+c000d82a
+c0015824
+c001d830
+20600000
+6fe0c76b
+c000583c
+c000d83c
+c001583c
+c001d836
+20600000
+6fe0c76b
+c0005836
+c000d83a
+c001583c
+c001d836
+20600000
+6fe0c76b
+c0005836
+c000d836
+c0015836
+c001d836
+20600000
+70476f03
+6fe0c646
+c2803268
+20600000
+70476f01
+20600000
+70476f02
+20600000
+d8e00000
+20205842
+d8e00000
+20205846
+6fe0c646
+f9207e00
+67e0c646
+20600000
+6fe0c646
+f93ffe00
+67e0c646
+20600000
+18000e05
+20405a22
+6fe1c768
+e7e18005
+20205a34
+20600000
+18000e09
+20405a22
+6fe08092
+e7e08005
+6fe10093
+e7e10005
+6fe2008e
+e7e20005
+20205a32
+18007e11
+20405a1a
+6fe08049
+1fe20400
+c0005861
+c0075861
+c00e5861
+20600000
+e7e08005
+6fe0c5ff
+e7e08005
+df20000e
+58004600
+98408c00
+20407dd4
+20205a32
+18007e03
+20405a1a
+58000114
+e7e10005
+20205a32
+18007e03
+20405a1a
+6fe200b4
+9c467e00
+2034d874
+1fe67e00
+1feb7e00
+793ffe0f
+e7e10005
+20205a32
+18007e06
+20405a1a
+6fe2c5fa
+e7e28005
+20205a32
+18007e09
+20405a1a
+6fe440a0
+e7e40005
+20205a32
+20405802
+6fe08048
+18000e0c
+20405a22
+58000001
+e7e08005
+6fe103a2
+e7e10005
+58000000
+e7e18005
+58000000
+e7e20005
+20205a34
+18000e03
+20405a22
+6fe0c15f
+e7e08005
+78547c00
+20405a34
+24740000
+24748000
+6fe0c0df
+c4000000
+2040589b
+202058a5
+7040df03
+58000000
+67e24149
+d8a040e1
+204058a9
+d8a040ee
+204058a9
+d8a0414d
+204058a9
+202058b0
+d8a040ee
+204058a9
+204058b0
+202058b3
+58ffffff
+e7e18005
+e7e18005
+e7e18005
+5800007f
+e7e08005
+20600000
+58000000
+67e140dd
+20600000
+6fe0c0df
+79207e02
+67e0c0df
+20600000
+18000e02
+20405a22
+2434da32
+20205a34
+18007e02
+20405a1a
+6fe0839e
+e7e08005
+20405a34
+6fe0804b
+79207e03
+67e0804b
+70007232
+20600000
+18007e01
+20405a1a
+20205a34
+18007e01
+20405a1a
+20205a32
+18007e02
+20405a1a
+6fe0804c
+2fec0002
+7920fe00
+1fe17e01
+e7e08005
+20205a34
+18007e03
+20405a1a
+6fe10051
+e7e10005
+20205a34
+700072fa
+18007e02
+20405a1a
+6fe08053
+e7e08005
+20205a34
+18007e0a
+20405a1a
+d8c00a52
+18007209
+efe08006
+1fe2fe55
+e7e08005
+c20058e2
+20205a34
+20205a34
+20205a34
+20748000
+2040104a
+18007e09
+20405a1a
+6fe100c0
+e7e10005
+6fe1c0a8
+e7e18005
+6fe0c0ab
+e7e08005
+6fe140ac
+e7e10005
+c581d8fa
+793f8003
+20405a34
+70007c13
+20600000
+20405a32
+70007c03
+70007d13
+20600000
+d8400200
+2034d902
+1d027e00
+20205903
+1c427e00
+1c227e00
+9840fe00
+1fe17ffc
+67e20034
+18007e05
+20405a1a
+6fe20034
+1fe37e00
+e7e20005
+20205a34
+18007e0a
+20405a1a
+d8c003ac
+efe48006
+e7e48005
+20205a34
+18007e03
+20405a1a
+58000114
+e7e10005
+20205a34
+18007e01
+20405a1a
+20205a34
+18007e02
+20405a1a
+6fe0c0d7
+e7e08005
+20205a34
+18007e02
+20405a1a
+58000005
+e7e08005
+20205a34
+18007e02
+20405a1a
+58000000
+e7e08005
+20205a34
+70007c2e
+20600000
+6fe0c09a
+1fe67c0a
+2042d92a
+6fe08030
+79207e04
+67e08030
+1c427e00
+67e203bc
+6fe083a5
+c281d93d
+79207e03
+67e083a5
+70095b05
+204078dc
+18007e01
+20405a1a
+20205a34
+70004800
+20600000
+18007e06
+20405a1a
+6fe2c5fa
+e7e28005
+20205a34
+18007e09
+20405a1a
+6fe440a0
+e7e40005
+20205a34
+70087301
+6fe0c6bc
+c1808000
+70087113
+20600000
+20405a72
+70007c99
+70087103
+20600000
+20405a72
+70007c3d
+70087107
+20600000
+da200910
+da400930
+df200010
+20407e66
+2022d95f
+70087100
+204070d5
+70007d40
+202056ec
+7008710a
+204070d3
+70007d40
+2020554b
+70007c40
+20600000
+70007c3d
+20600000
+70087800
+18007e04
+20405a1a
+6fe1c647
+e7e18005
+20405a7f
+2020da34
+20205a32
+6fe0c648
+c0015973
+c000d978
+20600000
+18007e11
+20405a1a
+6fe08878
+d8c046df
+2020597c
+18007e11
+20405a1a
+6fe08878
+d8c04737
+98c08c00
+efe40006
+e7e40005
+efe40006
+e7e40005
+6fe08878
+1fe0fe10
+67e08878
+20405a7f
+2020da34
+20205a32
+70087006
+70007c3f
+20600000
+18007e11
+20405a1a
+d8c00910
+efe40006
+e7e40005
+efe40006
+e7e40005
+20205a32
+70007c40
+20600000
+20405a7f
+2040efe9
+18007e11
+20405a1a
+d8c008e0
+efe40006
+e7e40005
+efe40006
+e7e40005
+20405a7f
+2420da32
+2020da34
+7008710f
+20405a72
+70007c0b
+20405a8a
+2020f037
+20207041
+20405a6e
+70007c41
+20600000
+18007e11
+20405a1a
+d8c00910
+efe40006
+e7e40005
+efe40006
+e7e40005
+20405a7f
+2420da32
+2020da34
+18007e03
+20405a1a
+5800fffe
+e7e10005
+20205a32
+20205a34
+20205a34
+20205a34
+20205a34
+20405a8e
+da2040a8
+20405a94
+18007e11
+20405a1a
+da200444
+da400424
+20406c70
+2434da29
+20205a2f
+20405a8e
+da200040
+20406b73
+18007e11
+20405a1a
+d8c00424
+20407d7f
+6fe08055
+c00cda34
+c00c5a34
+20205a2f
+6fe0c648
+c00159dc
+6fe08877
+203a59d9
+20405a7f
+2040da72
+2440da6e
+202059da
+20405a72
+20405a8e
+202059c9
+70007c0c
+202059d5
+6fe0c648
+c00159f8
+da2040a8
+20406ba6
+18007e05
+20405a1a
+6fe20454
+e7e20005
+d84003a9
+20405a65
+20406ca4
+20405a7f
+2020d9ef
+7003ab01
+6fe08877
+207a0000
+70007c0b
+6fe0c1ca
+207a0000
+20405a7f
+2420d9f4
+20600000
+c6908000
+793f8021
+70007c0f
+20600000
+2040755f
+20407584
+18007e05
+20405a1a
+6fe20918
+e7e20005
+d84003a9
+20405a65
+20405a07
+20405a7f
+2020d9ef
+7003ab01
+6fe08877
+207a0000
+202059ef
+6fe40910
+67e446ad
+20600000
+20405a8e
+20406ba9
+18007e11
+20405a1a
+d8c00424
+20407d7f
+20205a2f
+18007e01
+20405a1a
+20205a2f
+18007e02
+20405a1a
+18007e10
+e7e08005
+67e08054
+20205a2f
+1fe9fe00
+1fe1fe07
+67e0838a
+df200011
+d8a0038c
+20407d9b
+d8a0038c
+20600000
+1fe1227f
+7000487f
+18e27e00
+20405a1a
+1a227e00
+e7e08005
+20600000
+6fe08048
+1fe3fe00
+6848804c
+284ffe01
+7920fe00
+20205a39
+6848804c
+18410401
+20205a35
+18000400
+20205a35
+18000401
+6fe08048
+1fe3fe00
+7934fe00
+9842fe00
+67e0838b
+67e0c5f9
+70004800
+20405a4a
+78347c00
+20600000
+6fe0807c
+207a0000
+20405a44
+6fe0807c
+20600000
+470e4023
+6fe08048
+203a5a4a
+6fe08078
+247a0000
+20205a54
+6fe08078
+203a5a5a
+6fe18078
+67e18048
+6848807b
+6fe0804c
+793ffe01
+9841fe00
+67e0804c
+70007800
+6fe0807c
+207a0000
+6fe2007c
+67e20078
+70007c00
+20600000
+6fe0807c
+207a0000
+6fe1807c
+67e18048
+6848807f
+6fe0804c
+793ffe01
+9841fe00
+67e0804c
+70007c00
+20600000
+470ec023
+6fe0804c
+1fe22600
+efe08002
+20405567
+20405a29
+1a627e00
+67e0804c
+20600000
+6848804c
+793f8400
+6048804c
+20600000
+6848804c
+79200400
+6048804c
+20600000
+7d34fe01
+6848804c
+9842fe00
+2feffe01
+20600000
+6fe0804c
+7934fe01
+67e0804c
+20600000
+6fe08876
+2fe0fe01
+20600000
+6fe08876
+79207e07
+67e08876
+20600000
+6fe08876
+793ffe07
+67e08876
+20600000
+6fe08876
+2feffe07
+67e08876
+20600000
+d8a00424
+18007210
+180a7e00
+e7e08005
+c2005a90
+20600000
+20406b77
+da2041cb
+da400454
+efe40011
+68488030
+7d3a0406
+60488030
+1a220a00
+20406c70
+202009c6
+470f4023
+20405a3f
+247a0000
+6fe08055
+207a0000
+c0025af2
+c002daf8
+c0015ae9
+c001db00
+c0075aec
+c0035b1c
+c003db34
+c004db35
+c0055b3e
+c005db42
+c0065b0a
+c006db0d
+c007db13
+c0095adc
+c009db00
+c0085adf
+c00a5ad9
+c00adb00
+c00b5ad3
+c00c5ad8
+c00bdacc
+c00cdad2
+c00d5abd
+c00ddac7
+70005500
+20600000
+6fe083a5
+c4010000
+c4018000
+70005500
+20405ac3
+2020660d
+6fe080bc
+c4008000
+7000550a
+20600000
+d8e00007
+20407de9
+247a0000
+7000551a
+20600000
+6fe080bc
+793ffe00
+67e080bc
+70005519
+70007c0b
+20600000
+20600000
+6fe083a8
+c1810000
+20405b44
+70005518
+20600000
+20600000
+70005515
+70007c83
+20600000
+70005513
+70007c25
+20600000
+6fe0c645
+c1000000
+c000dae7
+d8e00006
+20407de9
+247a0000
+70464500
+20205b01
+20748000
+20205b1c
+70005503
+70007c27
+20600000
+70007c13
+79200003
+70005505
+580001ff
+67e103a6
+20600000
+70005505
+580000ff
+67e103a6
+793f8022
+70007c33
+202053ee
+c6110000
+6fe103a6
+1fe0ffff
+2022dafe
+67e103a6
+20600000
+7000550e
+20600000
+20600000
+6fe083a5
+c4018000
+c4010000
+6fe080bc
+793ffe02
+67e080bc
+70007c13
+70005510
+20600000
+7000550d
+70007c31
+20600000
+6fe083a5
+c4010000
+70005500
+20600000
+70005506
+20600000
+6fe103a6
+1fe0ffff
+203a5b18
+67e103a6
+20600000
+70007c07
+70039e16
+70005500
+20600000
+6fe080bc
+c2815b01
+c2805b21
+7000551a
+20600000
+6fe0c1ca
+203a5b2d
+6fe083a5
+c4018000
+c4010000
+6fe203bc
+d8400064
+98408400
+1c427e00
+98467c00
+24610000
+20205acc
+70005516
+70479604
+58003030
+67e14797
+e7e10005
+7003a802
+20205ad3
+20600000
+6fe080bc
+c280db39
+7000551a
+20600000
+6fe080bc
+793ffe01
+67e080bc
+70007c0f
+20600000
+6fe083ab
+207a0000
+70005500
+20205b39
+7000550c
+20600000
+6fe0804b
+c2815b49
+20405a72
+70007c08
+20204de4
+6fe0804b
+793ffe02
+67e0804b
+20405750
+20405a7b
+20204de4
+58000004
+67e0c796
+58003030
+e7e10005
+e7e10005
+20600000
+470fc023
+1fe17eff
+d8a08070
+98a08a00
+18a22200
+d840003e
+e0408005
+20405b62
+2000001e
+1a220a00
+d840003f
+e0408005
+20205b66
+6ff08085
+1fe17efb
+67f08085
+20600000
+6ff08085
+1fe1fe04
+67f08085
+20600000
+6ff08085
+1fe17efd
+67f08085
+20600000
+24345b72
+6ff08085
+1fe1fe02
+67f08085
+18427c00
+2022db75
+1a627a00
+2fcc0000
+20205c92
+18000404
+da2002eb
+20405b6a
+20405b72
+da2055aa
+6fe102eb
+e8410006
+9a267c00
+20600000
+d8400002
+da2002f1
+20405b72
+6fe102f1
+67e102e4
+20545b87
+20600000
+d8400010
+da2002f3
+20405b6a
+20405b72
+d8c002f3
+df200010
+20406e1a
+20406dca
+20406e36
+20206dc4
+58000000
+67e10985
+7856fc00
+20405b77
+24628000
+70802380
+70802200
+70802400
+da208025
+20405b6e
+70802300
+d8400006
+20405b78
+2422dbb8
+efe10006
+98002200
+20405b72
+20405baf
+20205b9c
+da20aa55
+6fe102eb
+9a267c00
+24628000
+da2055aa
+6fe102ed
+9a267c00
+24628000
+6fe102ef
+67e10970
+20600000
+6fe10985
+df200006
+d8c002eb
+20407ed3
+6f2102ed
+1a220c00
+20407ed3
+67e10985
+20600000
+20405ba4
+2022db9c
+6fe10970
+68490985
+98467c00
+24628000
+7836fc00
+20600000
+6fe08a04
+d8c00a01
+98c08c00
+70802380
+70802200
+70802400
+da208025
+ef208006
+1f267c00
+2442dbd6
+70802300
+efe08006
+207a0000
+1fe27200
+ea410006
+1a420a00
+20407dd6
+20205bcb
+efe08006
+e7e08011
+c2005bd2
+20600000
+20407ec9
+1f220400
+24345bd2
+18467c00
+20628000
+20405be0
+20406dc4
+184085f0
+20215bd9
+20600000
+1800700c
+18427200
+efe20006
+9de2fe00
+1fe25e00
+e7e08011
+1fecfe00
+e7e08011
+1fecfe00
+e7e08011
+1fecfe00
+e7e08011
+1f00f001
+2f000600
+20608000
+1f20f3fc
+20628000
+20215be2
+20600000
+dfa00000
+20600000
+20407e77
+70805025
+78347c00
+7041e300
+20405c58
+24215c90
+58000000
+da200a01
+d8400040
+20405f00
+20405c68
+24345bf9
+20405cb0
+78547c00
+6fe08a01
+c301dc17
+20406e33
+70800608
+7920002b
+18007004
+20406e37
+18007004
+6de20a3d
+58f1ab8f
+67e202f3
+1febfe00
+e7e20005
+1fe3fe00
+e7e20005
+1febfe00
+e7e20005
+20405b6a
+20405b8b
+78347c00
+6fe20a01
+203a5c1e
+67e1c4ce
+20407ecb
+20405ceb
+20405bc0
+20565bf3
+7041e300
+6fe08a01
+c2815c3d
+20405c58
+24215c2a
+20405c36
+20405e5c
+20405c8a
+2436dc1f
+6fe082e1
+c3005c1f
+20205c4c
+7041e300
+6fe08a01
+c2815c3d
+20405c58
+24215c3d
+20405c36
+20405e59
+20405c8a
+2436dc2b
+6fe082e1
+c3005c2b
+20205c4c
+6fe0c4c5
+6848c4c4
+98467c00
+2422de42
+58000102
+67e1c4c3
+20205e42
+7041e300
+6fe08a01
+c280dc4c
+20405c58
+24215c4c
+20405daf
+200000c8
+20405dbd
+20000064
+da605df1
+20405b80
+20405b91
+2436dc3e
+6fe082e1
+c3005c3e
+6fe08a01
+c3005c50
+20405c50
+20204d18
+58000000
+67e20a3d
+67e402f3
+e7e40005
+18007004
+20406e37
+70805021
+20600000
+20405c5e
+6fe0c1e3
+1fe0fe01
+1fe67c03
+67e0c1e3
+20600000
+6fe0c1e3
+207a0000
+6fe08a2c
+1fe17e40
+207a0000
+20207d89
+1ff18400
+1fe17e0f
+9842fe00
+20600000
+6fe20a01
+207a0000
+6fe08a01
+20405c64
+c087fec7
+6fe08a02
+20405c64
+c087fec7
+6fe08a01
+e8408006
+9840fe00
+e8408006
+9840fe00
+e8408006
+9840a200
+dfe00a01
+98408c00
+1a227e00
+ef208006
+9f20fe00
+20407ed3
+20405c83
+e8408006
+1fe17eff
+98467c00
+2422fec7
+20600000
+ef208006
+1f267c00
+20628000
+9f20fe00
+1f20f202
+20407ed3
+20205c83
+58000000
+67e102e4
+da605e7f
+20405e2b
+20405b80
+20205b91
+20405c50
+20205d33
+6fe082e1
+1fe3fe00
+7920fe00
+2a2c000f
+20608000
+67e082e1
+20600000
+6ff08085
+c4008000
+20205c9f
+6ff0812c
+afefffff
+20608000
+6ff08108
+c300dc9c
+20406dc4
+20205c9c
+6fe141a6
+207a0000
+70802380
+70802200
+70802400
+684941a8
+184bf200
+98000c00
+efe08006
+67f08025
+c2005cab
+70802300
+20600000
+6fe08a31
+1fe17e0f
+2feffe03
+7920fe04
+1fe3fe00
+67e0c182
+20201554
+6fe08a2c
+1fe17e0f
+207a0000
+67e0c09a
+6fe08a2d
+67e0c17b
+6fe08a2e
+67e0c17d
+20600000
+6fe08a2c
+1fe17e30
+1ff1fe00
+207a0000
+67e0c4d2
+20600000
+6fe08a32
+1fe17e0f
+207a0000
+67e0c4d3
+20600000
+6fe08a32
+1fe17e30
+1ff1fe00
+207a0000
+67e0c4d4
+20600000
+6fe08a33
+207a0000
+67e0c4d5
+20600000
+6fe08a32
+c283dcde
+7041eb88
+7041ec66
+7041ed44
+6fe10a2f
+207a0000
+67e141ec
+20600000
+7041eaff
+6fe08a32
+1fe17e40
+1fe97e00
+67e0c1ee
+20600000
+70800273
+37d98200
+37d98200
+6ff10120
+793ffe0d
+67f1004c
+20205d4e
+6fe08a02
+1fe17e0f
+c0055cf8
+c000dcf8
+c0025cfb
+c0045d00
+c004dd05
+c005dd0a
+c0065cf8
+c006dd0d
+c0075d12
+c007dd17
+20600000
+20405ce4
+20405d1c
+20205d3d
+20405ce4
+dfe03814
+d8404c50
+20405d22
+20205d3d
+20405ce4
+dfe032b9
+d8403c71
+20405d22
+20205d3d
+20405ce4
+dfe032b9
+d8404adb
+20405d22
+20205d3d
+20405ce4
+20405d25
+20205d3d
+20405ce4
+dfe032b9
+d84049ef
+20405d22
+20205d3d
+20405ce4
+dfe0369a
+d8404c50
+20405d22
+20205d3d
+20405ce4
+dfe0345e
+d8404c50
+20405d22
+20205d3d
+dfe02735
+d840314b
+20205d22
+20405ce4
+dfe03814
+d8403c71
+67f10013
+60590015
+20600000
+dfe032b9
+d8404c50
+20205d22
+dfe053f2
+d8405b49
+20205d2d
+dfe01c7d
+d840217c
+67f10017
+60590019
+20600000
+dfe02181
+d8402733
+20205d2d
+20405d28
+dfe01c7d
+d840217c
+20205d22
+6fe08a03
+1fe17ec0
+c0605d33
+c2835d2b
+c283dd28
+20600000
+20405d37
+6fe08a03
+1fe1221f
+6fe08a01
+1fe17e0f
+68488a02
+1841040f
+18520400
+9841fe00
+1a2d2200
+9a21fe00
+79207e0d
+79207e0e
+67f2004c
+20405d4e
+70801108
+20600000
+58000002
+37d98200
+67f08012
+37d98200
+37d98200
+20600000
+47104024
+6fe0c486
+67f08086
+6fe0c487
+67f08087
+580002e2
+67f1008a
+580002e7
+67f1008c
+20205b62
+79207e07
+67e102e2
+4710c024
+70808802
+70808e00
+70800602
+20205d6e
+18000401
+67e082e2
+47114024
+70808801
+6059008e
+70800602
+20405d6e
+6fe082e7
+20600000
+6fe140dd
+1fe0fe01
+67e140dd
+6ff0812c
+c301dd6e
+20600000
+78547c00
+1fe22400
+6fe0c4ae
+c1800000
+78347c00
+1a427e00
+20205d82
+6fe0c4ae
+c000dd82
+c0015d88
+c001dd90
+c0025d94
+c002dd9a
+20600000
+67e1c4a7
+1a227e00
+67e144aa
+604944ac
+7044ae02
+20205daf
+20405daf
+7044ae03
+20405db4
+da2002e2
+70808804
+6fe1c4a7
+d8400020
+20205dc5
+20405daf
+20405de8
+7044ae04
+20600000
+20405daf
+7044ae05
+20405db4
+20405da7
+20405dc1
+20205da2
+20405daf
+20405db4
+58000005
+20405d65
+c3800000
+7044ae00
+6fe14473
+20207e7a
+6fe20964
+684944aa
+184085fc
+e7e20002
+20600000
+684944aa
+18422200
+184085fc
+efe20002
+67e20964
+684944ac
+6fe1c4a7
+20600000
+20405e13
+20405b62
+58000000
+67e202e2
+20600000
+7002e206
+58000000
+67f1008e
+58000001
+67f10088
+580002e2
+67f1008a
+70800602
+20205d6e
+7002e2ab
+20205db5
+7002e2b9
+20205db5
+18408404
+60590088
+d8400002
+1a20a3fc
+e0408011
+1ff10400
+e0408005
+1fec8400
+e0408005
+e7e08005
+1a227e00
+67f1008a
+58000000
+67f1008e
+70800602
+20405d6e
+20205de8
+6059008e
+1ff10400
+604882e3
+1fec8400
+604882e4
+67e082e5
+58000004
+67f10088
+7002e203
+580002e2
+67f1008a
+1a227e00
+67f1008c
+6ff08086
+2a2c000f
+7920fe06
+67f08086
+70800602
+6ff0812c
+c283dde4
+d8e00003
+20205d6e
+580007d0
+2040137f
+20405db4
+580002e7
+67f1008c
+58000005
+20405d65
+c2805de8
+20600000
+6059008e
+58000004
+67f10088
+7002e203
+580002e2
+67f1008a
+1a227e00
+67f1008c
+6ff08086
+2a2c000f
+7920fe06
+67f08086
+70800602
+6ff0812c
+c283ddfe
+d8e00003
+20405c99
+20405d6e
+2feffe02
+20405c92
+6fe082e3
+1ff02400
+6fe082e4
+1fed7e00
+9a41a400
+6fe082e5
+9a41fe00
+9840fe00
+67e082e5
+1fecfe00
+67e082e4
+1fecfe00
+67e082e3
+20600000
+6fe0c4b7
+6848c4b9
+98467c00
+2422de18
+20405e24
+6fe0c4b7
+d8400020
+2040612c
+6fe0c4ba
+d8400021
+2040612c
+6fe0c4b8
+d8400022
+2040612c
+6fe0c4b9
+d840001f
+2020612c
+58100d0e
+67e1c4b7
+5812110f
+e7e18005
+20600000
+70801001
+20600000
+70809105
+70809207
+70809307
+70809407
+70809507
+70809605
+70809700
+20600000
+7080910c
+7080920d
+7080930d
+7080940d
+7080950d
+7080960c
+70809700
+20600000
+20405e70
+6fe0c4c4
+d840006c
+2040612c
+6fe0c4c5
+d840006d
+2020612c
+20405e77
+20205e3c
+6ff0812c
+c302de44
+20600000
+67e082e6
+580002e6
+67f1009a
+58000001
+67f10098
+6059009e
+6231009c
+70809001
+70800604
+20205e44
+58000000
+67f1009e
+67f1009c
+60590098
+6231009a
+70809001
+70800604
+20205e44
+79200028
+70448508
+20600000
+793f8028
+70448520
+20600000
+6fe0c47b
+9a40fe00
+67e082e4
+20205e66
+6fe102e4
+1ff0fe00
+67e082e4
+58000003
+67f10098
+7002e3a0
+7002e5a1
+20205e85
+60490964
+20405e70
+68490964
+20405e9f
+20205e77
+6fe0c4c3
+c17f8000
+c3035e75
+580249f0
+2040137f
+6848c4c3
+2020610d
+6848c4c3
+20206109
+4711c024
+c5145e5f
+6fe1447b
+9a40fe00
+1ff0fe00
+67e102e4
+47124024
+c5145e63
+58000004
+67f10098
+7002e3a0
+7002e6a1
+580002e3
+67f1009a
+6059009e
+6231009c
+58000002
+2a2c000f
+7920fe00
+67f08090
+70800604
+d8e00005
+20405c99
+20405e44
+2feffe04
+20405c92
+c5145e9a
+6fe102e4
+1ff0fe00
+9840fe00
+1ff0fe00
+67e102e4
+20600000
+6fe082e4
+9840fe00
+1ff0fe00
+67e102e4
+20600000
+6fe1447b
+9a40fe00
+67e1095c
+4712c024
+60490964
+6221097b
+20405eb4
+68490974
+6a21097b
+6fe1095c
+20405ed5
+6fe10974
+6849097b
+98408400
+6049097b
+6849095c
+98408400
+6049095c
+6fe10964
+243a5ea5
+20600000
+47134024
+6fe0c485
+1fe0ffff
+6849095c
+9841fe00
+1fe0fe01
+67e18978
+6fe10964
+9840fe00
+68498978
+98467e00
+24215ec6
+67e10964
+6fe18978
+6849095c
+98467e00
+67e10974
+20600000
+6fe10964
+67e10974
+58000000
+67e10964
+20600000
+1a427e00
+18408402
+60590098
+1a20a3fe
+e8418011
+18422400
+d84000a0
+e0408011
+e7e08005
+20205ee2
+1fe22400
+4713c024
+c5145ecb
+1a427e00
+18408403
+60590098
+1a20a3fd
+e8418011
+18422400
+d84000a0
+e0408011
+1ff0fe00
+e7e10005
+6231009a
+58000000
+67f1009e
+70809001
+70800604
+20405e44
+e2418011
+47144025
+7002e600
+58000001
+67f10098
+7002e3a0
+580002e3
+67f1009a
+58000000
+67f1009e
+67f1009c
+58000003
+67f08090
+70800604
+20405e44
+6ff0812c
+c4030000
+200005dc
+6fe082e6
+1fe0fe01
+67e082e6
+1fe67c28
+24610000
+20205eeb
+18427200
+1fe20400
+4714c025
+18498400
+20405f3c
+70804780
+70804786
+60590045
+18408408
+70804787
+6ff08007
+e7e08011
+1a20a201
+c2005f06
+70804786
+70804780
+70804700
+20205f44
+20405f34
+70804780
+18498400
+1a220c00
+efe08006
+da400008
+1fe17c01
+2442df50
+1fe37e00
+18408401
+1a40a5ff
+2422df18
+c2005f16
+70804780
+70804700
+20205f44
+6ff10a14
+67e1095c
+708a146a
+708a150b
+20600000
+6fe1095c
+67f10a14
+20600000
+20405f22
+6ff08a0a
+79207e01
+67f08a0a
+200000c8
+6ff08a0b
+79207e00
+67f08a0b
+200007d0
+20600000
+20405f2a
+6ff08a0b
+793ffe05
+79207e04
+79207e03
+67f08a0b
+200001f4
+20600000
+20405f2a
+6ff08a0b
+79207e05
+79207e04
+793ffe03
+67f08a0b
+200001f4
+20600000
+47154025
+6ff08a0b
+793ffe05
+793ffe04
+793ffe03
+793ffe00
+67f08a0b
+200000c8
+6ff08a0a
+793ffe01
+67f08a0a
+20205f27
+70804780
+2000000a
+60590045
+70804781
+2000006e
+20600000
+20407ec5
+20205f5a
+20407ec7
+20205f5a
+1ff10400
+20545f8d
+24545f91
+1fef7e00
+1ff10400
+20545f85
+24545f89
+24345f66
+6ff10050
+793ffe0f
+67f10050
+20600000
+6ff10050
+793ffe0e
+67f10050
+20600000
+67f10052
+20600000
+67f10062
+20600000
+20405f72
+20205f6a
+20405f72
+20205f6c
+20405f77
+9846fc00
+20407e64
+1807fe00
+20600000
+6ff08043
+c3005f7b
+5adc6c00
+20600000
+596e3600
+20600000
+6ff08043
+1fe17efe
+67f08043
+20600000
+6ff08043
+1fe1fe01
+67f08043
+20600000
+67f1005a
+67f1005e
+6059005c
+20600000
+67f1006a
+67f1006e
+6059006c
+20600000
+67f10054
+67f10058
+60590056
+20600000
+67f10064
+67f10068
+60590066
+20600000
+6951005a
+6a11005c
+6871005e
+20600000
+6951006a
+6a11006c
+6871006e
+20600000
+69510054
+6a110056
+68710058
+20600000
+69510064
+6a110066
+68710068
+20600000
+6071005e
+20600000
+6071006e
+20600000
+60710058
+20600000
+60710068
+20600000
+20405f9d
+6ff10112
+98608600
+20205fa9
+20405fa1
+6ff10158
+98608600
+20205fab
+20405fbd
+20205f95
+20405fbd
+20205f99
+20405fa5
+20205fc1
+20405fa7
+20205fc1
+60610983
+61410981
+6201097f
+20600000
+68610983
+69410981
+6a01097f
+20600000
+1f227e00
+207a0000
+1f20f3f8
+20415fd3
+20628000
+20215fc7
+1f20f208
+1f20f3fc
+20415fd6
+20628000
+20215fcc
+1f20f204
+20205fd9
+20405fd3
+efe40006
+e7e40003
+20600000
+efe20006
+e7e20003
+20600000
+1f227e00
+207a0000
+efe08006
+e7e08003
+c2005fdb
+20600000
+1f227e00
+207a0000
+1f20f3f8
+20415fed
+20628000
+20215fe1
+1f20f208
+1f20f3fc
+20415ff0
+20628000
+20215fe6
+1f20f204
+20205ff3
+20405fed
+efe40003
+e7e40005
+20600000
+efe20003
+e7e20005
+20600000
+1f227e00
+207a0000
+efe08003
+e7e08005
+c2005ff5
+20600000
+70095b3d
+202078dc
+4715c025
+6fe0c48b
+207a0000
+204060a0
+2042e0a6
+20407ecb
+2040602f
+6fe0c48b
+1fe22600
+68494489
+604900ee
+1a627e00
+203a5ff9
+1a60a7ff
+18422200
+efe08011
+684880e6
+98467c00
+2042e016
+20216012
+efe08011
+1fe0fe01
+e7e08011
+684900ee
+18408422
+604900ee
+20206006
+58000000
+e7e08011
+6fe080e7
+e7e08005
+c099e024
+da4041cb
+efe30006
+e7e40005
+58000000
+e7e40005
+1a420c00
+20407d7f
+18007c01
+20600000
+c01b6028
+c01be02c
+da404316
+2020601c
+d8c043ac
+20407d7f
+d8c04316
+20206021
+d8c043a4
+20407d7f
+2020602a
+20407ec7
+6fe0c48b
+207a0000
+47164025
+6fe1478f
+c2806052
+c4048000
+6fe0c36a
+c000604b
+6fe0829c
+2fe180c0
+2020e03e
+2fe18040
+2020e050
+20206045
+20366042
+6fe0c34e
+c300e04b
+20206045
+2040604b
+20740000
+20206045
+6fe0c39d
+c283e048
+2020604e
+6fe30297
+67e443a4
+2020604e
+7000e735
+6fe30297
+20206054
+7000e737
+20206054
+7000e736
+20206054
+7000e733
+6fe30040
+67e300e8
+6fe14489
+e840803f
+1fe0fe01
+67e100ee
+604880e6
+6fe0c48b
+1fe22600
+6fe100ee
+1fe22200
+2040606c
+20740000
+684900ee
+18408422
+604900ee
+184085ff
+efe08002
+67e080e6
+1a60a7ff
+2422e05c
+6fe0c48b
+1fe0ffff
+67e080e6
+20600000
+6fe080e7
+c099e073
+da4000e7
+df200007
+20407e66
+2022fec5
+20600000
+c01b6076
+c01be091
+2020606e
+e8408011
+98467c00
+24628000
+d8a0098e
+df200010
+20407d9b
+6fe1829a
+67e1898e
+20406088
+6fe109ab
+1ff0fe00
+1fed0400
+efe08006
+9840fe00
+68498297
+98467c00
+2022fec5
+20600000
+d8c0098e
+20406e28
+efe08011
+20406e29
+18006c38
+18006c00
+20406dbf
+d8a0099e
+20206e3c
+e8408011
+98467c00
+24628000
+18c22200
+18c0a608
+da4043a4
+df200008
+20407e66
+2022fec5
+1a622200
+da4043ac
+df200008
+20407e66
+2022fec5
+20600000
+6fe14489
+e840803f
+1fe0fe22
+efe0803f
+98467c00
+20600000
+6fe0c48b
+1fe27200
+68494489
+58000000
+e7e08002
+18408422
+1fe0fe01
+c20060aa
+20600000
+4716c025
+20407ec9
+2040602f
+6fe08030
+79347e06
+67e08030
+243460ba
+1a208c0a
+d8a041cb
+20407d7f
+202060d0
+7041ca00
+20600000
+20407ec9
+2040602f
+243460c7
+6fe100ee
+1fe08c01
+d8a043ac
+20407d7f
+d8a04316
+20407d7f
+70432601
+20600000
+70432600
+20600000
+7000e734
+202060cc
+7000e733
+6fe0c09a
+c0055ffb
+c00445c6
+20600000
+6fe441cb
+684c41d3
+9841fe00
+207a0000
+7041ca01
+20600000
+47174025
+79200407
+204060fd
+7d208407
+4717c025
+18467cff
+20628000
+284c0007
+18410e1f
+6fe2009e
+f920fe00
+67e2009e
+6fe200a2
+fd20fe00
+67e200a2
+20600000
+47184026
+18467cff
+20628000
+284c0007
+18410e1f
+6fe2009e
+f93ffe00
+67e2009e
+6fe200a2
+f93ffe00
+67e200a2
+20600000
+204060e6
+202060f7
+18467cff
+20628000
+2455e0da
+20406124
+58000000
+284ffe07
+7d20fe06
+7920fe07
+2020611f
+d8a0811c
+18410e07
+18497e00
+1fe17e03
+98a08a00
+efe08005
+284ffe07
+2020e107
+afec0000
+20600000
+afefffff
+20600000
+18467cff
+20628000
+2fcffe07
+20206110
+18467cff
+20628000
+2fcc0007
+58000000
+7d20fe07
+98428400
+20406124
+5800003f
+284ffe07
+7920fe00
+2020611f
+20406124
+efe08005
+c280611d
+284c0007
+20600000
+284ffe07
+20600000
+e7e08005
+20600000
+20406124
+58000000
+2020611f
+18417e3f
+d8a08070
+98a08a00
+20600000
+1fe104ff
+1fecfe00
+2020612c
+c4038000
+1fe17e3f
+d8a08070
+98a08a00
+e0408005
+20600000
+1841043f
+58008070
+98408c00
+efe08006
+20600000
+df200014
+d8c08070
+18c20a00
+efe08006
+c001614a
+c001e14a
+c002614a
+c002e14a
+c003614a
+c003e14a
+c00fe14a
+c010614a
+c010e14a
+c011614a
+c011e14a
+c016614a
+c016e14a
+c000614a
+c2006138
+20600000
+58000040
+e7e08005
+20206148
+58000080
+e7e08005
+20206148
+4718c026
+6fe40a34
+203a615d
+d8c00a34
+d8a04492
+df200003
+efe18006
+1ff20400
+e0410005
+1fec8400
+e0410005
+c2006156
+20600000
+5800469a
+67e14492
+5800ab77
+67e14498
+580073d0
+67e1449c
+58009658
+67e14496
+20600000
+47194026
+6a508a12
+708a123d
+708a11aa
+708a0a0c
+6ff08a09
+79207e07
+67f08a09
+708a0b04
+2000003c
+708a1600
+708a1706
+20406182
+67f08a97
+7080dc03
+2000003c
+6ff08053
+79207e07
+67f08053
+200003e8
+6ff10150
+67e144a4
+6ff08053
+793ffe07
+67f08053
+708a9700
+62508a12
+20600000
+6fe0c4a2
+c0006189
+c000e18b
+6fe0c4a3
+1fe9fe00
+1fe1fe07
+20600000
+58000057
+20600000
+5800004f
+20600000
+4719c026
+6fe0c4a2
+c0006193
+c000e199
+c001619f
+20600000
+58000064
+67e144a0
+6849449c
+6fe14496
+da60012c
+202061a4
+58000064
+67e144a0
+6849449a
+6fe14494
+da60012c
+202061a4
+580000c8
+67e144a0
+68494492
+6fe14498
+da60012c
+98462200
+6fe144a4
+98467e00
+242161b1
+684944a0
+984fa400
+1a627e00
+9a2ffe00
+9a467e00
+9a26fc00
+20407e64
+1807fe00
+20600000
+18427e00
+684944a4
+98467e00
+684944a0
+984fa400
+1a627e00
+9a2ffe00
+9a40fe00
+202061ad
+efe40011
+67e4095c
+6fe1095c
+6849095e
+98462200
+6fe10962
+98462400
+68490960
+98467c00
+244161ca
+1a4ffe64
+9a26fc00
+20407e64
+1807fe00
+205a61d2
+20600000
+6fe0c4a6
+79207e00
+67e0c4a6
+20600000
+6fe0c4a6
+793ffe00
+67e0c4a6
+20600000
+6848c4a6
+79200401
+6048c4a6
+20600000
+6848c4a6
+793f8401
+6048c4a6
+20600000
+6fe144c8
+efe0803f
+207a0000
+1fe27200
+6fe144c8
+1fe0fe03
+1fe22200
+e8408011
+204060f4
+1a20a201
+c20061e1
+20600000
+6fe144c8
+1fe0fe03
+1fe22200
+18002400
+58000000
+67e109de
+e8408011
+204060fd
+471a4026
+6fe109de
+1a420e00
+f920fe00
+67e109de
+1a20a201
+1a40a401
+6fe144c8
+efe0803f
+9a42fc00
+2422e1ec
+6fe109de
+684944ca
+9842fc00
+20628000
+78347c00
+20600000
+6fe144c8
+efe0803f
+207a0000
+1fe27200
+6fe144c8
+1fe0fe03
+1fe22200
+e8408011
+204060d6
+1a20a201
+c2006206
+20600000
+d8e00009
+20407de9
+247a0000
+58000020
+d8e00009
+20407ddb
+78547c00
+204061ff
+471ac026
+6fe144c8
+efe0803f
+207a0000
+204061e6
+24347855
+20407853
+78547c00
+6fe109de
+67e109e5
+7009e700
+18000e00
+6fe144ca
+1fe30400
+604944ca
+1fe17e01
+684909e5
+18412201
+18430400
+604909e5
+9a22fc00
+2442e234
+6fe144c8
+efe0803f
+684889e7
+18408401
+604889e7
+18420e00
+98e2fc00
+2422e21f
+6fe109de
+67e144ca
+20600000
+471b4026
+6fe144c8
+1fe0fe01
+efe1003f
+20207e7a
+6ff08042
+9a21fe00
+67f08042
+6ff10050
+793ffe0d
+67f10050
+20000064
+20600000
+6ff08042
+c2836246
+c283e248
+58b71b00
+20600000
+596e3600
+20600000
+580080e8
+20600000
+6fe0895d
+c282624e
+c3026255
+20600000
+78347c00
+1fe10e0f
+2040625c
+1807a400
+18427e00
+9a462200
+20600000
+78547c00
+1fe10e0f
+2040625c
+1807a200
+18427e00
+9a262400
+20600000
+6ff080d8
+f9347e00
+67f080d8
+20600000
+6849895e
+20406241
+9846fc00
+20407e64
+18078400
+6fe08961
+984ffe00
+1fe6fc64
+20407e64
+2040624a
+6fe0895d
+20406272
+6fe0895c
+6848895d
+1841040f
+184d0400
+9841fe00
+2020627b
+1fe17e0f
+d8a080a0
+1feffe04
+98a08a00
+1a227e00
+e7e10005
+1a427e00
+e7e10005
+20600000
+78347c00
+20406290
+20206280
+78547c00
+2040628b
+18427e00
+1fed7e00
+18e08410
+9841fe00
+20406128
+6ff08084
+70808400
+200004b0
+f9347e00
+67f08084
+20600000
+1fe20400
+1fecfe00
+1fe20e00
+20600000
+78547c00
+2040628b
+6ff080dd
+fd347e00
+67f080dd
+20206280
+d8402710
+984ffe00
+d841312d
+9846fc00
+20407e64
+18078400
+58000800
+98467e00
+1fe20400
+1841040f
+6058800b
+1fe20400
+18518400
+60588004
+20600000
+78367c00
+202062a7
+78567c00
+6ff08043
+79367e03
+67f08043
+20600000
+d8400031
+67f200ca
+67f100ce
+605880d0
+20600000
+6ff10130
+20600000
+687100ce
+695100ca
+6a1100cc
+20600000
+607100ce
+20600000
+20407ec5
+dd600000
+204062b0
+c00162fa
+1fe67c04
+20610000
+204062b2
+e8410003
+5800a654
+20406303
+242162e8
+1b020400
+58017f8e
+20406303
+242162e8
+1b020400
+58002328
+20406303
+202162df
+e8410003
+58001194
+20406303
+202162df
+204062b0
+1fe67c85
+20610000
+df200020
+e8410003
+58000230
+20406303
+202162df
+e8410003
+5800069a
+20406303
+242162e4
+1b020400
+58000230
+20406303
+242162e5
+1b020400
+5800ffff
+98467c00
+2022e2ff
+202062b6
+79205620
+1d635600
+c20062d3
+202062f3
+204062b0
+1fe67c07
+20610000
+e8410003
+58002328
+20406303
+202162df
+e8410003
+580008ca
+20406303
+202162df
+e8410003
+58000230
+20406303
+202162df
+204062b6
+1a627e00
+20207e7a
+204062b2
+e8410003
+5800ffff
+98467c00
+24628000
+204062b6
+20407ec7
+1a627e00
+20207e7a
+6a40c4d6
+18423000
+9a4fa400
+18438400
+98462200
+2441630c
+1a2ffe64
+9a467c00
+20600000
+1a262200
+20600000
+7041f018
+70804201
+58001d4b
+67f10040
+df20000b
+da200155
+efe10011
+1fe3fe00
+e7e10011
+1a20a202
+c2006314
+20600000
+1b63b600
+20600000
+70804204
+7041f00c
+58000ea5
+67f10040
+20600000
+70804205
+2020631d
+20758000
+70465500
+7003c003
+7003c103
+7003c511
+7003c613
+58000000
+67e183c2
+67e0c4e7
+70478e00
+58000000
+67e0c4e7
+67e0c652
+67e0c64b
+6fe0c659
+c000e335
+70465750
+20600000
+70465700
+20600000
+18418402
+20600000
+18427e00
+1fedfe00
+67e0c650
+18007e3f
+1fedfe00
+67e0c64f
+18007e01
+1fedfe00
+67e0c64e
+2040636f
+18427e00
+20600000
+1fedfe00
+67e0c650
+18007e73
+1fedfe00
+67e0c64f
+18007e01
+1fedfe00
+67e0c64e
+2020636f
+6fe0c651
+203a6352
+58000070
+20600000
+580000aa
+20600000
+1fedfe00
+67e0c650
+18007eef
+20406363
+684903ca
+18420a00
+e7e08005
+18a20400
+604903ca
+18007eff
+20406363
+684903ca
+18420a00
+e7e08005
+20600000
+1fedfe00
+67e0c64f
+6fe1464f
+1fed7e00
+67e183c7
+da200107
+da40000f
+2040637c
+1fe2fed7
+1fe47e00
+1fedfe00
+20600000
+6fe1c64e
+67e183c7
+da200107
+da40000f
+2040637c
+1fed7e00
+da400007
+2040637c
+1fe2fe2b
+1fe47e00
+1fedfe00
+1fe20400
+20600000
+da600000
+1a427200
+20407d30
+1fe20400
+18427e00
+1a63a600
+c3046385
+9a228400
+1a60a601
+18438400
+6fe183c7
+1a40a5ff
+2a41feff
+2020e38f
+1a427200
+20407d30
+2feffe00
+79208400
+20206380
+18437e00
+20600000
+6848c64b
+184b8400
+79200400
+6fe0c651
+245a6337
+604883e0
+20600000
+18438400
+6fe0c651
+793a0400
+20600000
+684883cf
+7003d1d7
+204064d5
+6fe0c4e4
+79207e06
+79207e07
+67e0c4e4
+70465100
+202064b6
+6fe0c4e4
+79207e07
+67e0c4e4
+202064b6
+471bc026
+6fe0c78e
+c00063ad
+2020646b
+6fe10315
+1fe20c00
+204063d7
+6fe083cf
+c00063b3
+20206437
+471c4027
+6fe083d0
+c01fe39c
+c039e3a5
+c077e3ba
+c029e463
+20600000
+6fe103d4
+1fe20c00
+204063e2
+6fe083d6
+c020e3c4
+c02063cc
+c038e405
+c0386411
+c024e41c
+202064b6
+204063ce
+202063c6
+6fe0c4e7
+79207e00
+79207e01
+67e0c4e7
+204064ff
+202064b6
+204063ce
+202064b6
+204063ea
+202063f6
+204063ea
+efe08006
+1fe97e00
+67e0c658
+efe08006
+67e083db
+20600000
+efe08006
+67e083ce
+1fe97e00
+67e083cf
+efe08006
+67e083d0
+204063ed
+604903d2
+18c27e00
+67e103d4
+20600000
+efe08006
+1fe37e00
+67e083d6
+204063ed
+604903d7
+18c27e00
+67e103d9
+20600000
+6fe103d9
+1fe20c00
+20600000
+efe08006
+1fe20400
+18430400
+c3800000
+efe08006
+1fe9fe00
+1ff27e00
+98408400
+20600000
+efe08006
+67e0c64b
+efe08006
+67e083dc
+efe08006
+67e083dd
+efe08006
+67e083de
+efe10006
+67e1464c
+efe08006
+67e083df
+efe08006
+67e0c656
+20600000
+204063d0
+20206407
+6fe0c4e7
+79207e05
+79207e06
+67e0c4e7
+6848c64b
+184b8400
+18418403
+20406530
+70465503
+202064b6
+70095b08
+204078dc
+204063d0
+6fe0c658
+1fe67c01
+2022e418
+2020137c
+6fe0c4e7
+79207e07
+67e0c4e7
+202064b6
+204063ea
+efe08006
+67e0898e
+20405383
+20405391
+5800000e
+e7e10005
+6fe144dd
+e7e10005
+6fe0c651
+1fe3fe00
+79207e00
+e7e08005
+471cc027
+580015ef
+e7e10005
+58001191
+e7e10005
+6fe0898e
+e7e08005
+58000007
+e7e28005
+58000001
+e7e10005
+2040634e
+e7e08005
+20600000
+20206438
+471d4027
+6fe083d0
+c039e440
+c01fe444
+c077e45e
+c07fe456
+c029e465
+20600000
+6fe0c4e7
+79207e03
+67e0c4e7
+202064b6
+6fe0c4e7
+79207e03
+79207e02
+67e0c4e7
+6fe083ce
+20406345
+67e083d1
+204064d5
+6fe083ce
+1feb7e00
+67e0c64b
+1febfe00
+793ffe01
+79207e00
+d8404653
+604903ca
+20406354
+202064b6
+6fe103d4
+1fe20c00
+1fe0fe01
+67e103d4
+efe08006
+6848c656
+9840fe00
+67e0c656
+20406561
+20406391
+20406547
+2040656a
+202064b6
+70095b09
+204078dc
+2040632d
+6fe083ce
+20406345
+67e083d1
+204064d5
+202064b6
+6fe10315
+1fe20c00
+204063d7
+6fe083cf
+c0006471
+202064a5
+471dc027
+6fe083d0
+c01fe39c
+c039e3a5
+c077e477
+202064b6
+6fe103d4
+1fe20c00
+204063e2
+6fe083d6
+c020e480
+c0206480
+c038e48b
+c038649b
+202064b6
+204063ce
+6fe0c64b
+1fe37e00
+6848c652
+98467c00
+2022e487
+2020137c
+6fe0c4e7
+79207e01
+67e0c4e7
+202064b6
+204063d0
+6fe0c658
+6848c652
+98467c00
+2022e492
+2020137c
+202064b6
+6fe0c4e7
+79207e05
+79207e06
+67e0c4e7
+6848c64b
+184b8400
+18418403
+20406530
+202064b6
+204063d0
+6fe0c658
+6848c652
+98467c00
+2022e4a1
+2020137c
+6fe0c4e7
+79207e07
+67e0c4e7
+202064b6
+6fe083cf
+6848c652
+98467c00
+2022e4ab
+2020137c
+202064b6
+6fe083d0
+c039e4b0
+c077e45e
+c07fe456
+c029e4b5
+6fe0c4e7
+79207e03
+67e0c4e7
+202064b6
+202064b4
+20206465
+20600000
+6fe0c655
+207a0000
+c001e4bb
+2020137c
+70465500
+20405383
+d8400001
+6848c64b
+184b8400
+18418403
+da2000aa
+2040651b
+20405391
+18a20c00
+efe10006
+203a137c
+20600000
+20405391
+58000004
+e7e10005
+6fe144dd
+e7e10005
+6fe083ce
+e7e08005
+471e4027
+5800013f
+e7e10005
+6fe083d1
+e7e08005
+20600000
+20405383
+20405391
+58000004
+e7e10005
+6fe144dd
+e7e10005
+6fe083ce
+e7e08005
+471ec027
+58000173
+e7e10005
+6fe083d1
+e7e08005
+20600000
+20405391
+5800000e
+e7e10005
+6fe144dd
+e7e10005
+6fe0c651
+1fe3fe00
+79207e00
+e7e08005
+471f4027
+580015ef
+e7e10005
+58001183
+e7e10005
+18427e00
+e7e08005
+580000f0
+e7e18005
+5800007f
+e7e10005
+58000000
+e7e08005
+58000001
+e7e08005
+2040634e
+e7e08005
+70465710
+20600000
+20405383
+20405391
+5800000e
+e7e10005
+6fe144dd
+e7e10005
+6fe0c651
+1fe3fe00
+79207e00
+e7e08005
+471fc027
+580015ef
+e7e10005
+58001181
+e7e10005
+6fe0c64b
+e7e08005
+580000e0
+e7e18005
+6fe1465a
+e7e10005
+58000000
+e7e08005
+6fe0c65c
+e7e08005
+2040634e
+e7e08005
+20600000
+20405391
+58000008
+e7e10005
+6fe144dd
+e7e10005
+6fe0c651
+1fe3fe00
+79207e00
+e7e08005
+47204028
+580009ef
+e7e10005
+580005e3
+e7e10005
+18427e00
+e7e08005
+5800008d
+e7e08005
+2040634e
+e7e08005
+20600000
+20405383
+20405391
+58000008
+e7e10005
+6fe144dd
+e7e10005
+18421600
+6fe0c651
+1fe3fe00
+79207e00
+e7e08005
+4720c028
+580009ef
+e7e10005
+580005e1
+e7e10005
+19627e00
+e7e08005
+5800008d
+e7e08005
+2040634e
+e7e08005
+20600000
+47214028
+6fe0c657
+207a0000
+6ff10112
+247a0000
+1a227e00
+67e0895d
+6048895c
+2040534f
+247a0000
+20405383
+20405391
+58000005
+e7e10005
+6fe144dd
+e7e10005
+6fe083e0
+e7e08005
+580001ff
+e7e10005
+6fe0c657
+e7e08005
+6fe0c654
+e7e08005
+70465700
+20600000
+4721c028
+6fe0c659
+c1008000
+6fe103d2
+207a0000
+6fe0c657
+1fe0fe01
+67e0c657
+20600000
+6fe1465d
+20207e7a
+47224028
+6fe0c656
+207a0000
+1fe0ffff
+67e0c656
+6fe1464c
+684947ac
+98467c00
+20216576
+67e147ac
+6fe0c657
+203a657e
+7003e301
+6fe0c654
+67e083e2
+580000ff
+67e083e1
+20206583
+7003e300
+6fe0c653
+67e083e2
+580000ef
+67e083e1
+4722c028
+6fe147ac
+1fe67c7f
+2021658a
+6fe083e3
+1fe0fe01
+67e083e3
+20406391
+6fe147ac
+1fe0fe08
+684883e3
+9840a200
+204052fb
+67e10328
+1fe0fe04
+67e1032a
+1fe20a00
+6fe083e0
+e7e08005
+6fe083e1
+e7e08005
+204065b4
+204065c5
+47234028
+6fe1465f
+1fe20600
+6fe147ac
+1fe27200
+20405fdf
+18a20400
+18627e00
+67e1465f
+18420a00
+6fe083e2
+e7e08005
+6fe10328
+1fe20a00
+6fe147ac
+684883e3
+9840fe00
+1fe0fe04
+e7e10005
+6fe144dd
+e7e10005
+70465700
+6fe14661
+c0003969
+7009d100
+20600000
+4723c028
+6fe147ac
+1fe67c7f
+242165bc
+1fe3fe00
+79207e00
+e7e08005
+20600000
+6fe147ac
+1fe97e00
+1ff18400
+1fe17e7f
+1fe3fe00
+793ffe00
+e7e08005
+e0408005
+20600000
+6fe0c657
+207a0000
+e7e08005
+20600000
+47244029
+204078f2
+20403184
+20405a9e
+4724c029
+204070d7
+204070b0
+204070c1
+2040534f
+247a0000
+20404e62
+2040534f
+247a0000
+47254029
+20406613
+20405020
+204064b7
+204065dd
+4725c029
+20203180
+6fe08330
+c2805143
+c283d14d
+20600000
+47264029
+20405355
+207a0000
+6fe0804b
+c3830000
+20405339
+67e100be
+1fe20c00
+efe10006
+1fe0fe04
+67e141e6
+7041e506
+4726c029
+6fe144d9
+203a65fc
+6fe0804b
+c4038000
+793ffe07
+67e0804b
+7041e505
+684944d9
+6fe100be
+9840fe00
+67e100be
+6fe141e6
+98467e00
+67e141e6
+6fe141e6
+203a137c
+d8400104
+98467e00
+2022e607
+24216607
+604941e6
+6fe144d9
+9840fe00
+67e144d9
+20206609
+58000000
+67e144d9
+6fe0804b
+79207e06
+67e0804b
+20600000
+6fe0c791
+c2806611
+70033801
+20600000
+7003380f
+20600000
+6fe0c78e
+243a6619
+6fe08337
+207a0000
+70033700
+20600000
+47274029
+6fe08338
+207a0000
+c000e639
+c0016692
+c001e63f
+c0026696
+c01de649
+c01e6699
+c006e64e
+c007669e
+c007e651
+c00866a4
+c008e657
+c00966a8
+c009e65d
+c00a66ac
+c00ae663
+c00b66b0
+c00be669
+c00c66b5
+c00ce66f
+c00d66b9
+c00de675
+c00e66bd
+c00ee67b
+c00f66c2
+c00fe681
+c01066c6
+c010e68c
+c01166ca
+20600000
+204066d5
+70033802
+6fe0c4e3
+79207e00
+67e0c4e3
+20600000
+70033804
+6fe0c4e3
+c3810000
+70033803
+204066dc
+70033804
+6fe0c4e3
+79207e02
+67e0c4e3
+20600000
+20405355
+247a0000
+204066eb
+7003383c
+20600000
+204066e1
+7003380e
+20600000
+204066fb
+70033810
+6fe0c4e5
+79207e00
+67e0c4e5
+20600000
+20406702
+70033812
+6fe0c4e5
+79207e02
+67e0c4e5
+20600000
+20406707
+70033814
+6fe0c4e6
+79207e00
+67e0c4e6
+20600000
+2040670e
+70033816
+6fe0c4e6
+79207e02
+67e0c4e6
+20600000
+204066ef
+70033818
+6fe0c4e4
+79207e00
+67e0c4e4
+20600000
+204066f6
+7003381a
+6fe0c4e4
+79207e02
+67e0c4e4
+20600000
+20406713
+7003381c
+6fe0c4e4
+79207e06
+67e0c4e4
+20600000
+2040671a
+6fe0c4e7
+79207e00
+67e0c4e7
+7003381e
+20600000
+20406720
+6fe0c4e7
+79207e02
+67e0c4e7
+70033820
+6fe0c652
+1fe9fe00
+1fe1fe03
+d8404653
+604903ca
+20206354
+2040672a
+6fe0c4e7
+79207e04
+67e0c4e7
+70033822
+20600000
+6fe0c4e3
+c4008000
+70033803
+20206619
+6fe0c4e3
+c19f8000
+7003383b
+6fe08336
+c18b8000
+70033600
+7003380d
+20206619
+6fe0c4e3
+247a0000
+6fe0c791
+c28066cd
+c28366cf
+202066d3
+6fe0c4e5
+c4008000
+70033811
+20206619
+6fe0c4e5
+c19f8000
+70033813
+20206619
+6fe0c4e6
+c4008000
+70033815
+20206619
+6fe0c4e6
+c19f8000
+6fe0c791
+c28366cf
+202066d3
+6fe0c4e4
+c4008000
+70033819
+20206619
+6fe0c4e4
+c19f8000
+7003381b
+20206619
+6fe0c4e4
+c1ff8000
+6fe0c791
+c28366d1
+202066d3
+6fe0c4e7
+c4008000
+7003381f
+20206619
+6fe0c4e7
+c4018000
+70033821
+20206619
+6fe0c4e7
+c1ff8000
+202066d3
+7003380f
+20206619
+70033817
+20206619
+7003381d
+20206619
+70033800
+20600000
+4727c029
+20405369
+58000001
+1fe20400
+58000050
+1fe21600
+20205164
+4728402a
+20405369
+6fe144db
+1fe20400
+20205173
+4728c02a
+20405369
+6fe144db
+1fe20400
+d9600050
+20405188
+6fe0c4e3
+793ffe05
+67e0c4e3
+20600000
+4729402a
+20405376
+20406a56
+202051a3
+4729c02a
+20405369
+58000003
+1fe20400
+58000051
+1fe21600
+20205164
+472a402a
+20405369
+6fe144dd
+1fe20400
+20205173
+472ac02a
+20405369
+58000011
+1fe20400
+58000052
+1fe21600
+20205164
+472b402a
+20405369
+6fe144df
+1fe20400
+20205173
+472bc02a
+20405369
+58000013
+1fe20400
+58000053
+1fe21600
+20205164
+472c402b
+20405369
+6fe144e1
+1fe20400
+20205173
+472cc02b
+20405383
+7003ce03
+7003d11c
+204064c8
+70465101
+20600000
+472d402b
+20405383
+6848c652
+20406398
+6048c64b
+202064e3
+472dc02b
+20405383
+6848c64b
+20406392
+20406339
+67e083d1
+6848c64b
+20406392
+604883ce
+202064c8
+472e402b
+20405383
+6848c64b
+20406392
+2020651b
+472ec02b
+6fe10315
+98000c00
+efe08006
+1fe22400
+67e083ee
+efe10006
+67e103ef
+efe08006
+1fed1600
+efe08006
+99609600
+472f402b
+18c20400
+df200004
+d8a003fd
+20407d8c
+18420c00
+1a427e00
+c000e8d8
+c001674a
+c001e8d8
+c0026772
+c002e8d8
+c0036820
+c003e8d8
+202068df
+472fc02b
+204068ee
+2841fe01
+2020e95e
+2841feff
+2020e8e2
+efe10006
+67e103f5
+196097fe
+196097ff
+2422e8dc
+d96003e4
+efe1000b
+207a0000
+204069a0
+20405381
+18007e03
+e7e08005
+6fe103ef
+e7e10005
+18ebfe00
+1fe0fe05
+1fe0a605
+1ff0fe00
+e7e10005
+18e27e00
+1ff0fe00
+e7e10005
+e7e10005
+d8c003fd
+18e27200
+2022e76d
+efe20006
+e7e20005
+c200676a
+18007e00
+e7e08005
+1a627e00
+67e10326
+20600000
+4730402c
+efe20006
+67e203f7
+196097fc
+2040684c
+67e103f3
+196097fe
+20406946
+2022e8e2
+2a21fe05
+2020e780
+d8a003fd
+18000e00
+2020678f
+efe08006
+c08568e2
+efe10006
+243a678d
+efe08006
+c0ffe78b
+efe08006
+c0ffe789
+202067d6
+18c08dfb
+2020677d
+18c08dfc
+2020677d
+18c08dfd
+2020677d
+efe08006
+c004e7a4
+c0056792
+efe10006
+e7e10005
+18e08e01
+1ff0a400
+efe10006
+1ff0fe00
+1a40a401
+9a467c00
+242167a1
+1fe22600
+1a50fe00
+e7e10005
+18e08e01
+1a627e00
+20206798
+196097fb
+1a20a3fb
+202067a9
+efe10006
+e7e10005
+18e08e01
+196097fd
+1a20a3fd
+242168e2
+2422e78f
+196097ff
+2422e8e2
+20405381
+18a08a0a
+da2003fd
+18e27e00
+203a67c3
+efe10011
+203a67c3
+98002400
+6fe203f7
+98000400
+20406a05
+18c27e00
+203a67c0
+18c08dfd
+efe18006
+e7e18005
+20406979
+98007200
+20407dd4
+1a20a202
+18e08fff
+202067b0
+da200005
+204068a2
+6fe10326
+c005e961
+202068b8
+efe08006
+c00067cc
+c000e7ce
+c00167d1
+196097ff
+202067d4
+efe08006
+196097fe
+202067d4
+efe10006
+1ff0fe00
+196097fd
+67e103ec
+20600000
+196097fb
+204067c8
+2422e8dc
+684a03f7
+204069cf
+2422e8d9
+18c22200
+20405381
+1a220c00
+18a08a03
+18c21600
+20406980
+1fe22200
+6fe103ec
+1fe22400
+1a227e00
+9a462400
+6fe103f3
+9a467c00
+24216805
+78547c00
+6fe103ec
+203a67f8
+99608c00
+1a40a403
+1a427200
+1f227e00
+1fe0fe03
+1ff0fe00
+e7e10005
+1f227e00
+1ff0fe00
+e7e10005
+20206813
+1a20f206
+203467fc
+1f30fe00
+202067ff
+1f227e00
+1fe0fe02
+1ff0fe00
+e7e10005
+1f20f3fd
+1f30fe00
+e7e10005
+19620c00
+20206813
+78347c00
+6fe103f3
+1fe22200
+1a227200
+6fe103ec
+203a67f8
+99608c00
+1a227e00
+1fe0fe05
+1ff0fe00
+e7e10005
+1a227e00
+1ff0fe00
+e7e10005
+20407dd4
+2434681c
+18007e02
+e7e08005
+18c27e00
+99667e00
+1ff0fe00
+e7e10005
+2020681e
+18007e00
+e7e08005
+da200005
+202068ce
+4730c02c
+204068ee
+2841feff
+2020e8e2
+2040684c
+67e103f3
+196097fe
+20406946
+d8a003fd
+18000e00
+efe08006
+c0056854
+efe10006
+e7e10005
+18e08e01
+196097fd
+1a20a3fd
+242168e2
+2422e82a
+196097ff
+2422e8e2
+20405381
+18a08a0d
+6fe103e4
+98002600
+da2003fd
+efe10011
+203a6847
+98002400
+204069e4
+203a6845
+18c08dfd
+efe18006
+e7e18005
+20406979
+98007200
+20407dd4
+1a20a202
+2020683a
+204068a1
+6fe10326
+c0076964
+204068b8
+202068b8
+efe10006
+1ff0fe00
+1fe0fffd
+d84000c8
+98467c00
+24610000
+580000c8
+20600000
+18c08c04
+196097fb
+1a20a3fb
+2422e8e2
+204067c8
+2422e8dc
+d96003e4
+204069a0
+18e27e00
+203a6964
+67e08421
+1a427e00
+67e1041f
+d8e00000
+da200000
+20405381
+18a08a0a
+2040688a
+2434137c
+18c21600
+1fe22600
+9a20a200
+6fe103ec
+1fe22400
+203a6893
+1a227e00
+9a462400
+2022e885
+24216885
+6fe103f3
+9a467c00
+2022e87c
+2421687c
+1a427200
+2040687f
+6fe08421
+18e08e01
+98e67c00
+2022e8a1
+202068be
+1fe27200
+2040687f
+202068be
+18a08bfd
+1f220400
+1a627e00
+9a467e00
+99608c00
+20207dd4
+6fe08421
+18e08e01
+98e67c00
+20628000
+20206865
+20407ec7
+d8c003fd
+18ebfe00
+98c08c00
+e8420006
+204069cf
+24628000
+20406979
+20207ec5
+6fe103f3
+9a267c00
+242168ad
+1a227200
+1f220400
+19620c00
+20407dd4
+6fe1041f
+9a267c00
+2022e89f
+204068be
+202068b2
+204068a1
+202068b2
+da200007
+18007e00
+e7e08005
+204068ce
+68490326
+184085fb
+1850fe00
+e7e10005
+184085fd
+1850fe00
+e7e10005
+20600000
+1fe27200
+1f220400
+19620c00
+20407dd4
+204068be
+58000036
+e7e08005
+6fe1041f
+1ff0fe00
+e7e10005
+20600000
+58000036
+e7e08005
+184085fd
+1850fe00
+e7e10005
+20600000
+da200007
+58000002
+e7e08005
+6fe103ec
+98408400
+1850fe00
+e7e10005
+204068ce
+68490326
+184085fb
+1850fe00
+e7e10005
+184085fb
+1850fe00
+e7e10005
+20600000
+6fe10324
+98a67e00
+1fe67e00
+67e10326
+20405381
+1a227e00
+e7e08005
+6fe103ef
+e7e10005
+20600000
+20600000
+58000200
+67e1041d
+202068e4
+58000400
+67e1041d
+202068e4
+58000600
+67e1041d
+202068e4
+58000300
+67e1041d
+20405381
+e7e08005
+6fe103ef
+e7e10005
+58000200
+e7e10005
+6fe1041d
+e7e10005
+70032607
+20600000
+da400000
+18000400
+d8a003e4
+20406946
+2022e944
+1a40a401
+efe08006
+1a20a3ff
+196097ff
+2fe1f018
+2420e944
+2fe00e04
+2420e911
+18000401
+efe08006
+1a20a3ff
+196097ff
+c0806905
+efe08006
+1a20a3ff
+196097ff
+c0006916
+20206908
+18c08c01
+1a20a3ff
+196097ff
+18c08c02
+1a20a3fe
+196097fe
+2841fe00
+2020e93e
+18c08c0c
+1a20a3f4
+196097f4
+2020693e
+2fe00e02
+2420e914
+202068fc
+2fe00e01
+2420e944
+1a20a3fe
+196097fe
+efe10006
+1a467c04
+2022e91c
+e7e10005
+2841fe00
+2020e93e
+18c20400
+efe08006
+c0806937
+efe08006
+c0806937
+efe08006
+c0886937
+efe08006
+c0806937
+efe08006
+c0c06937
+efe08006
+c0806937
+efe08006
+c0806937
+efe08006
+c0c06937
+efe08006
+c0afe937
+efe08006
+c0cde937
+efe08006
+c09a6937
+efe08006
+c07de93c
+18420c00
+18c08c0c
+18000e00
+18000400
+2020693c
+196097f4
+1a20a3f4
+18000400
+2a21fe00
+2420e8f3
+18007e00
+e7e10005
+20600000
+d84000ff
+20600000
+4732402c
+efe08006
+196097ff
+2fe1f030
+2420e95c
+2fe00e07
+2020e955
+2fe00e06
+2020e957
+2fe00e05
+2420e95c
+efe08006
+1fe22200
+196097ff
+2020695a
+18c08c02
+196097fe
+efe10006
+1ff0a200
+196097fe
+18007e01
+20600000
+18007e00
+20600000
+58000003
+67e083ee
+20206966
+58000005
+67e083ee
+20206966
+58000007
+67e083ee
+20405381
+6fe083ee
+1fe22400
+e7e08005
+6fe103ef
+e7e10005
+58000500
+e7e10005
+2a41fe05
+2020e975
+2a41fe07
+2020e975
+58000000
+e7e28005
+20206977
+58350200
+e7e28005
+7003260a
+20600000
+20407d5b
+20407d5e
+20406980
+20407d55
+20407d58
+18427e00
+20600000
+efe08006
+1fe17207
+1fe97e00
+c080698a
+18007e01
+18000401
+20600000
+20407d35
+1fe08401
+20600000
+1f227e00
+1fe67c04
+20216987
+c002e991
+c0036994
+c003e998
+20600000
+efe08006
+1fe08402
+20600000
+efe10006
+1ff0fe00
+1fe08403
+20600000
+efe10006
+1ff0fe00
+e8410006
+18508400
+18500400
+9840fe00
+1fe08405
+20600000
+4732c02c
+18000e00
+da400000
+d8a003fd
+efe1000b
+207a0000
+204069ab
+18e27e00
+c1038000
+19609602
+202069a4
+98002600
+6fe14663
+98000c00
+18e27e00
+c1038000
+78547c00
+efe08006
+207a0000
+98007200
+efe10006
+9a667c00
+2422e9b8
+78347c00
+c20069b4
+e8420006
+18c22200
+243469cb
+d8c003fd
+df200007
+efe20006
+203a69c4
+98467c00
+2022e9cb
+c20069be
+20600000
+e0420005
+18e08e01
+1a220c00
+20406979
+9a40a400
+98c08c00
+202069ae
+1a220c00
+20406980
+98c08c00
+202069ae
+4733402c
+6fe14663
+98000c00
+efe08006
+203a7ec1
+1fe3fe00
+98c08c00
+efe20006
+98467c00
+20628000
+18a27e00
+67e1097d
+604c0964
+20406980
+98c08c00
+18c27e00
+6849097d
+18420a00
+684c0964
+1fe20c00
+202069d2
+4733c02c
+6fe14663
+98000c00
+efe08006
+203a6a02
+98007200
+efe10006
+9a667c00
+2022e9f2
+c20069ea
+18c08c04
+20406980
+98c08c00
+202069e7
+1f20f3ff
+1f23fe00
+98c08c00
+18c08c04
+20406980
+98c09600
+18c08c01
+efe10006
+9a467c00
+2022fecf
+20406979
+98c08c00
+19627e00
+98c67c00
+2022ea02
+202069f8
+18000c00
+18007e00
+20600000
+4734402d
+6fe14663
+98000c00
+efe08006
+203a6a1e
+1fe3fe00
+98c08c00
+efe20006
+98467c00
+2022ea12
+20406980
+98c08c00
+20206a08
+20406980
+98c09600
+18c08c01
+efe10006
+9a467c00
+20628000
+20406979
+98c08c00
+19627e00
+98c67c00
+2022ea1e
+20206a14
+18000c00
+20600000
+da400400
+20406a12
+da400300
+20406a2b
+24740000
+1a267c03
+20217ec7
+efe08006
+c0847ec7
+efe08006
+20600000
+4734c02d
+20406980
+1fe22200
+efe08006
+1fe17207
+1fe97e00
+1fe67c03
+2022ea47
+1f227e00
+c002ea3e
+c0036a41
+c003ea44
+18c08dff
+20406980
+98c08c00
+1a227e00
+98462200
+2022fec7
+20206a2e
+1a20a3fe
+18c08c01
+20206a2e
+1a20a3fd
+18c08c02
+20206a2e
+1a20a3fb
+18c08c04
+20206a2e
+1a20a3ff
+1f227e00
+c000ea50
+c0016a4e
+c0026a4d
+20207ec7
+1a20a3f4
+efe10006
+1a20a3fe
+efe10006
+9a467c00
+2022fec5
+1a20a3fe
+2022fec7
+20206a2e
+20405381
+1fe20a00
+58000006
+e7e08005
+5800006e
+e7e10005
+58000f00
+e7e10005
+581a0535
+e7e18005
+58000111
+1ff07e00
+e7e20005
+58002600
+e7e10005
+58000335
+e7e10005
+58000009
+e7e10005
+58000004
+e7e10005
+70032614
+20600000
+4735402d
+7004a750
+d8a004a8
+d8c04337
+20407d7f
+d8c046df
+20407d7d
+d8c00880
+20407d7d
+20406b28
+d8c00277
+20406b23
+20406aee
+d8a009be
+20406b1f
+580f4240
+1fe22200
+6fe209be
+9a26fc00
+20407e64
+18077e00
+67e2087c
+20600000
+7004a741
+d8a004a8
+20406ad3
+20406ace
+6fe1c351
+e7e18005
+20406a94
+d8c00277
+20407d7f
+d8c04337
+20407d7f
+20406b28
+d8c009de
+d8a0098e
+20407d7f
+20206aee
+6fe2439e
+e7e20005
+20407d94
+20207d91
+4735c02d
+7004a741
+d8a004a8
+20406ace
+20406ad3
+6fe1c34a
+e7e18005
+20406a94
+d8c04337
+20407d7f
+d8c00277
+20407d7f
+20406b28
+d8c009de
+d8a0098e
+20407d7f
+20406aee
+d8a009be
+20206b1f
+7004a720
+d8c008c0
+d8a004a8
+20407d7d
+20406b28
+d8c00860
+20406b23
+20406aee
+d8a0098e
+20406e3c
+d8400001
+20406abd
+d8a04316
+20406b1f
+d8400000
+20406abd
+d8a009de
+20206e3c
+4736402d
+7004a735
+58000100
+67e104a8
+20406ace
+20406ad3
+d8c04337
+20407d7f
+d8c00277
+20407d7f
+58006c65
+e7e10005
+58006274
+e7e10005
+e0408005
+20406b28
+20206aee
+6fe3437a
+e7e30005
+6fe0c371
+e7e08005
+20600000
+6fe30297
+e7e30005
+6fe0c36a
+e7e08005
+20600000
+7004a741
+6fe0c771
+67e084a8
+d8c046df
+20407d7d
+d8c00880
+20407d7d
+20406b28
+d8c00277
+20406b23
+20206aee
+7004a741
+6fe0c771
+67e084a8
+d8c00880
+20407d7d
+d8c046df
+20407d7d
+20406b28
+d8c04337
+20406b23
+20206aee
+4736c02d
+20406b3d
+6fe084a7
+1fe20400
+1fe0fe0f
+1ff1fe00
+1fe22400
+203a6b00
+18417e0f
+243a6b03
+da60099e
+dfe004a8
+1fe0fff0
+9840a200
+d8a009ce
+df200004
+20407da4
+20206b0e
+da400001
+da200000
+20206b04
+1841220f
+dfe004a8
+9840fe00
+9a260c00
+d8a009be
+20406b63
+da6009ae
+da2009be
+d8a009ce
+df200004
+20407da4
+20406e36
+20406dca
+d8c004a8
+1a40a5ff
+1a427e00
+203a6b17
+20406e28
+20406dc4
+20206b11
+d8a009be
+20406e3c
+d8c009ce
+20406e28
+20406dca
+d8c009be
+20406e28
+20206dc4
+18a22200
+20406e3c
+df200010
+20207dac
+d8a0098e
+20407d7f
+df200010
+da20098e
+20207dac
+6fe084a7
+1fe27200
+da2004a8
+20207dac
+efe08011
+1fe3fe00
+2a6ffe00
+7920fe00
+2feffe08
+7920a600
+e7e08011
+1a20a3ff
+c2006b2c
+20600000
+da20099e
+1a20a20f
+18007210
+18002600
+20206b2c
+da2009ae
+20206b37
+d8c0098e
+20406e26
+18007008
+20406e37
+20406e36
+20406dc1
+d8a0099e
+20406e3c
+4737402d
+6fe0899e
+2feffe07
+2420eb4e
+20406b36
+da60099e
+d8a0099e
+20406b58
+20206b4f
+20406b36
+d8c0099e
+d8a009ae
+20407d7f
+6fe089ae
+2feffe07
+2420eb3b
+20406b3b
+da6009ae
+d8a009ae
+df200003
+d8400000
+20406b5f
+1a60a604
+c2006b59
+d8408700
+18500400
+efe20013
+9842fe00
+e7e20005
+20600000
+4737c02d
+df200010
+dfe00000
+9a267c00
+2022eb6e
+20216b71
+e8408006
+e0408005
+1fe0fe01
+c2006b66
+20600000
+d8400080
+e0408005
+20206b6b
+d8400000
+20206b6f
+20406b86
+d8c00454
+d8a00444
+20207d7f
+78547c00
+20406c7d
+d8c00424
+d8a00464
+1800720f
+20407dd4
+efe08006
+1fe2fe06
+e7e08005
+58000474
+67e10498
+58000464
+67e10496
+79200012
+20206bc6
+6848c796
+18002410
+1840a606
+1a667c10
+20216b8c
+18002610
+d8a00464
+d8c04797
+18427200
+78547c00
+efe08006
+e7e08005
+1a40a5ff
+2022eb9a
+c2006b90
+20346b8d
+78347c00
+18007206
+1a220c00
+20206b90
+d8c00424
+d8a00474
+20407d7f
+6fe08483
+9a62fe00
+67e08483
+58000474
+67e10498
+58000464
+67e10496
+79200012
+20206bc6
+78547c00
+20406c7d
+20206bb0
+da200056
+78347c00
+20406c7d
+20406bb0
+d8c00454
+d8a00062
+20207d7f
+58000424
+67e10498
+580041cb
+67e10496
+793f8012
+20406bc6
+da200454
+da400424
+d8a00464
+20406c70
+da200464
+da400474
+1a420a00
+78347c00
+20406c6e
+20406c88
+58000474
+67e10498
+58000464
+67e10496
+79200012
+20206bc6
+70049a00
+6fe10496
+98000c00
+d8a00484
+20407d7f
+6fe10498
+98000c00
+d8a00454
+20407d7f
+20406bed
+78547c00
+c5896bd7
+6fe0849a
+c0826bd7
+6fe10498
+98002400
+20406c1f
+20406c1e
+20406c31
+6fe0849a
+1fe0fe01
+67e0849a
+20406bed
+78347c00
+20406c1e
+20406c40
+20406c4f
+20406c40
+20406c4f
+20406c40
+20406c4f
+20406c40
+6fe0849a
+1fe0fe01
+67e0849a
+c0886bcf
+20406bed
+78547c00
+20206c1e
+6fe0849a
+d8c00484
+203a6c14
+98002400
+18007211
+18c20a00
+efe08006
+1fe98400
+1feb7e00
+1fe97e00
+9841fe00
+e7e08005
+c2006bf3
+58000484
+9a408c00
+18007210
+d8a00434
+efe08006
+e7e08005
+28c1fe95
+2420ec03
+18c08def
+c2006bfe
+18002200
+1a40a7ff
+1a6ba600
+1a6ba600
+20406e5e
+58009000
+9a60a600
+d8a00434
+18007210
+e8408013
+efe08005
+9840fe00
+e7e08005
+1a60a601
+c2006c0d
+20206e62
+18007210
+18000400
+efe08006
+98428400
+c2006c16
+18427e00
+e7e08006
+d8c00484
+d8a00434
+20207d7f
+da400434
+18007210
+da200454
+1a220a00
+e8408011
+efe08012
+9842e000
+1f212603
+24346c28
+1a62a603
+1a662601
+20216c2b
+9840e000
+1e027e00
+e7e08005
+1a20a201
+1a40a401
+c2006c22
+20600000
+20406e5e
+18007210
+da200454
+efe08011
+d8c09100
+1f212603
+1a667c01
+20216c3a
+d8c09200
+98c08c00
+efe08006
+e7e08011
+1a20a201
+c2006c34
+20206e62
+18007208
+d8c00454
+18c20a00
+efe08006
+98002200
+efe08006
+98002400
+1a23fe00
+9a40fe00
+e7e08005
+1a227e00
+9a40fe00
+e7e08005
+c2006c43
+20600000
+588ae42c
+98000400
+18007207
+20406c5e
+580d751b
+98000400
+18007205
+20406c5e
+6fe08463
+98002200
+6fe08457
+67e08463
+1a227e00
+67e08457
+20600000
+1841240f
+18417e0f
+d8a00454
+98a08a00
+efe08005
+98002600
+1a227e00
+e7e08005
+1a622200
+18518400
+c2006c5f
+58000454
+9a408a00
+1a227e00
+e7e08005
+20600000
+78347c00
+20206c71
+78547c00
+18007210
+e8408011
+efe08012
+20346c77
+9842fe00
+20206c78
+9840fe00
+e7e08005
+1a20a201
+1a40a401
+c2006c72
+20600000
+d8a00474
+efe30011
+e7e30005
+20346c83
+efe30011
+20206c84
+efe30006
+e7e30005
+efe20011
+e7e20005
+20600000
+d8c041cb
+d8a00464
+d8400000
+588395a7
+20406ca9
+58b3c1df
+20406ca9
+5800e5e9
+20406caa
+18422800
+78547c00
+20406c97
+1a820400
+78347c00
+20206c97
+18007208
+efe08006
+2f200201
+20346c9e
+2020ec9f
+9840fe00
+20206ca0
+2020ec9c
+9842fe00
+e7e08005
+184c8400
+c2006c98
+20600000
+6fe30458
+67e30056
+efe30006
+e7e30005
+20600000
+184d0400
+18500400
+98418400
+20600000
+20206cad
+4738402e
+20406dcd
+d8a04316
+20206e3c
+d8a04337
+2034ecb5
+d8a00277
+18c22200
+20407d7f
+20406de2
+d8c04327
+20206e55
+da200277
+2034ecbd
+da204337
+1a220a00
+20405a8f
+20206de2
+d8c04384
+20406e28
+d8c04316
+20406e29
+18006c38
+18006c00
+20406dbf
+d8a002c7
+20206e3c
+18007008
+18007e49
+20206cd0
+18007e49
+20206ccf
+18007e01
+18007000
+184d5e00
+9de1de00
+1f00f001
+184cde00
+1df15e00
+6fe146ad
+1ff07e00
+9de1de00
+1f00f001
+ede20006
+1f00f001
+efe10006
+1a30de00
+1df05e00
+9de1de00
+1f00f001
+20600000
+1a608c01
+efe08006
+98002200
+20406ccc
+20406dc1
+18007000
+efe08013
+1fe17e03
+1ff05e00
+79205e08
+20406e31
+20406dc4
+1a227200
+1a608c02
+20406e10
+20406e1a
+20406dc4
+1f227e00
+203a6cf5
+20206cf0
+1800700c
+1de27e00
+67e2026f
+20600000
+1a20a201
+20406cce
+1a620c00
+20406e24
+20406dc7
+20406e43
+1a60a610
+1a40a5f0
+20216cf9
+20600000
+20406db4
+4738c02e
+d8c00062
+20406e26
+7080d500
+18217e0f
+1fe9fe00
+9881fe00
+67f080d6
+6fe0c1e4
+67f080d7
+627100d1
+627100d3
+6a2146b5
+684ac69f
+20406d25
+20406cc9
+70800a02
+70800a03
+6fe146b5
+67f100da
+1fe0fe04
+67e146b5
+1a627e00
+9a20a200
+20406dbb
+df00000c
+e5e20011
+65e2026f
+20600000
+6fe2c69f
+1fe0fe01
+67e2c69f
+20206d2b
+6fe0c1e4
+c1808000
+6fe146b5
+247a0000
+79200424
+20600000
+6fe0c6a3
+1fe17e0f
+1fe1fe20
+67e0c6a3
+20600000
+6fe0c6a8
+1fe17e0f
+67e0c6a8
+20600000
+18a27e00
+684900ae
+18408404
+98467e00
+67e146b7
+67f100d1
+67f100d3
+20407ecb
+20406db4
+d8c00062
+20406e26
+7080d500
+6fe08019
+1fe17e0f
+1fe9fe00
+9881fe00
+67f080d6
+6fe080e4
+1fe17e03
+67e0c1e4
+67f080d7
+6a2100ae
+622146b5
+6fe146b7
+9a208c00
+18007000
+ede20006
+65e20273
+684ac6a4
+20406d25
+20406cc9
+70800a06
+70800a07
+6fe100ae
+67f100da
+20406dbb
+6ff08108
+c4038000
+20207ec9
+c6078000
+684a0273
+604a46a9
+6fe2c6a4
+1fe0fe01
+67e2c6a4
+20206d30
+20406db4
+7080d500
+7080d601
+6fe0816b
+1fe17e03
+67f080d7
+5800016d
+67f100d1
+67f100d3
+6a20816c
+1a20a3fc
+24217ecf
+6220816c
+5800016d
+9a208c00
+18007000
+ede20006
+65e20273
+684ac6a4
+20406cc9
+70800a06
+70800a07
+6fe0816c
+67f100da
+20406dbb
+6ff08108
+c303fecf
+684a0273
+6fe246a9
+98467e00
+207a0000
+604a46a9
+6fe2c6a4
+1fe0fe01
+79207e27
+67e2c6a4
+18007e00
+20600000
+20406d8f
+580041f7
+9a20a200
+20406dbb
+df00000c
+e5e20011
+20600000
+20406db4
+4739402e
+7080d500
+7080d601
+6fe0c1f5
+1fe17e03
+67f080d7
+6fe1097b
+67f100d1
+580041f7
+67f100d3
+6a20c1f6
+684ac69f
+20406cc9
+70800a02
+70800a03
+6fe0c1f6
+67f100da
+1fe0fe04
+67e0c1f6
+6fe2c69f
+1fe0fe01
+793ffe27
+67e2c69f
+20600000
+6ff1011a
+98467c00
+20628000
+247a0000
+20206da8
+6ff08108
+c303137c
+580041f7
+98408a00
+df00000c
+e5e20005
+20206dbd
+4739c02e
+1800700c
+20406e37
+20406e36
+58000000
+67f100da
+20600000
+6ff08108
+c3036dbb
+70800a00
+20600000
+243bedbf
+20600000
+18006c30
+18006c00
+20206dbf
+18006c32
+18006c02
+20206dbf
+18006c34
+18006c04
+20206dbf
+18006c01
+18006c00
+20600000
+18007000
+6fe20277
+98005e00
+1f00f001
+efe20006
+98005e00
+1f00f001
+6fe24337
+98005e00
+1f00f001
+efe20006
+98005e00
+1f00f001
+20406e37
+1f00f1fc
+6fe2439e
+1fe25e00
+1f00f004
+18006c38
+18006c08
+20206dbf
+473a402e
+6fe3437a
+684b0297
+2034ede8
+6fe30297
+684b437a
+18007008
+18425e00
+1f00f001
+184f5e00
+1ff07e00
+9de1de00
+1f00f001
+1fef5e00
+1f00f001
+18005e00
+18007e00
+6fe0c36a
+6848c42b
+2434edf8
+6fe0c371
+6848c36a
+67e0c347
+6048c348
+18007000
+da404347
+18007204
+efe20011
+e8420012
+9842de00
+1f00f001
+1a20a204
+1a40a404
+c2006dfd
+20406e37
+1f00f1fc
+6fe2439e
+1fe25e00
+1f00f004
+18006c38
+18006c0c
+20406dbf
+20406e36
+18006c3a
+18006c08
+20206dbf
+2f200600
+20608000
+18c27e00
+9f208a00
+18007e00
+e7e08005
+1f20f201
+2f200600
+20608000
+20206e15
+18007000
+1f227e00
+203a6e1f
+efe20006
+1f20f3fc
+98005e00
+1f00f001
+2f001e04
+20608000
+20206e1b
+18007008
+20206e29
+18007004
+20206e29
+18007000
+18007204
+efe20006
+98005e00
+1f00f001
+c2006e2a
+20600000
+d8c002c7
+20206e26
+18007204
+20206e39
+18007000
+18007210
+20206e38
+18007000
+18007204
+18005e00
+1f00f001
+c2006e38
+20600000
+1800700c
+18007204
+1de27e00
+e7e20005
+1f00f001
+c2006e3e
+20600000
+1800700c
+1a620a00
+1a40f201
+1f267c0f
+20216e49
+18007210
+1de27e00
+1f267c03
+20216e51
+e7e20005
+1f20f3fc
+20628000
+1f00f001
+20206e49
+e7e08005
+1fecfe00
+c2006e51
+20600000
+1800700c
+18007204
+efe20006
+9de67c00
+24628000
+1f00f001
+c2006e57
+18007c00
+20600000
+6ff08050
+793ffe00
+67f08050
+20600000
+6ff08050
+79207e00
+67f08050
+20600000
+d8a00748
+3803ffff
+3807ffff
+380bffff
+380ffbff
+e7e48005
+3803ffff
+3807ffff
+380bffff
+380fffff
+e7e48005
+3803ffff
+3807ffff
+380bcfff
+380fffff
+e7e48005
+3803ffff
+3807ffff
+380bffef
+380fffff
+e7e48005
+3803ffff
+3807ffff
+380bffff
+380fffff
+e7e48005
+3803ffff
+38066c7f
+3808146b
+380f7bb3
+e7e48005
+3801feb8
+38050c12
+380ab722
+380e9fa6
+e7e48005
+3800e70f
+38056720
+3808519e
+380d9084
+e7e48005
+38031012
+380760bf
+380bf0af
+380c03d3
+e7e48005
+3803a188
+38043ad0
+380bcbf2
+380e43d9
+e7e48005
+3802b030
+38076a03
+38091188
+380de520
+e7e48005
+3803a11e
+3804fe5d
+3808dd57
+380dac93
+e7e48005
+380011ed
+380618c4
+38088da7
+380e57ff
+e7e48005
+3803192b
+38074641
+3809be0c
+380f66ad
+e7e48005
+38001f83
+38055a23
+380bf9b0
+380c3949
+e7e48005
+38013a51
+380553fd
+380b372a
+380cf1bb
+e7e48005
+3803ae85
+3805eed9
+38089e66
+380c01a8
+e7e40005
+20600000
+d8a007e0
+3803ffff
+3807ffff
+380bffff
+380fffff
+e7e48005
+3803ffff
+3804003f
+38080000
+380c0000
+e7e48005
+38000000
+38040000
+38081000
+380c0000
+e7e48005
+3803ff00
+3807ffff
+380bffcf
+380fffff
+e7e48005
+3803ffff
+3807ffff
+380bffff
+380c03ff
+e7e48005
+38000000
+38040000
+38080000
+380c0000
+e7e48005
+38010000
+38040000
+380bf000
+380fffff
+e7e48005
+380296ff
+38062630
+380b945d
+380fd284
+e7e48005
+380333a0
+38044b7a
+380837d8
+380fc9dc
+e7e48005
+3803a440
+3805b958
+380b8bce
+380d091f
+e7e48005
+3802e12c
+3805f47c
+380b56b1
+380efd47
+e7e48005
+38006837
+3806ed90
+3809ecec
+380dacc5
+e7e48005
+38023357
+38058af3
+3808f9e1
+380d29f0
+e7e48005
+3802e7eb
+3807e6e3
+380be1a7
+380d0b8b
+e7e48005
+38024fe3
+380420ef
+3809b5a6
+380cdc2f
+e7e48005
+38013860
+3806bd69
+3808391a
+380db222
+e7e48005
+20600000
+6fe0c767
+243a6f2a
+202075ac
+473ac02e
+6fe0c767
+207a0000
+6fe0c6bc
+c1808000
+6fe0c6bb
+207a0000
+6fe0c6be
+c1018000
+6fe1478f
+c2806f20
+6fe0c6bd
+c00075ac
+20600000
+7046bd00
+20600000
+6fe0c6bb
+79207e01
+67e0c6bb
+20600000
+6fe0c6bb
+793ffe01
+67e0c6bb
+20600000
+473b402e
+6fe0c767
+243a7066
+20406f37
+7046bc00
+70087400
+20600000
+6fe0c767
+207a0000
+6fe0c6bc
+c1008000
+204070d7
+20206f31
+473bc02e
+58000880
+d8a00870
+98a67200
+20407d9b
+58004773
+d8a0476b
+98a67200
+20207d9b
+70087201
+6fe0c648
+c0016f45
+c000ef50
+20600000
+6fe0c6be
+c001ef48
+202075cd
+204075ec
+6fe08871
+247a0000
+70087003
+20600000
+6fe0c6bc
+c000f085
+2020137c
+6fe0c6bc
+c000ef53
+20207066
+20407085
+6fe08871
+247a0000
+70087003
+20600000
+20406f73
+da2008a0
+d8a00728
+204077cc
+da200880
+d8a006e8
+204077cc
+da2006e8
+da400880
+d8a006e8
+20407734
+da200800
+da400880
+d8a00708
+20407734
+da200708
+da4006e8
+d8a006e8
+204077d0
+da2006c8
+da4006e8
+d8a006c8
+204077d0
+df200020
+da200728
+da4006c8
+20207e66
+da200840
+d8a006c8
+204077cc
+da200820
+d8a006e8
+204077cc
+da2006e8
+da400820
+d8a006e8
+20407734
+da200800
+da400820
+d8a00708
+20407734
+da200708
+da4006e8
+d8a006e8
+204077d0
+da2006c8
+da4006e8
+d8a006c8
+202077e9
+20406fa4
+da2008a8
+d8a00728
+204071a3
+da200888
+d8a006e8
+204071a3
+da2006e8
+da400888
+d8a006e8
+20407181
+da200760
+da400888
+d8a00708
+20407181
+da200708
+da4006e8
+d8a006e8
+20407150
+da2006c8
+da4006e8
+d8a006c8
+20407150
+df200018
+da200728
+da4006c8
+20207e66
+da2007a8
+d8a006c8
+204071a3
+da200790
+d8a006e8
+204071a3
+da2006e8
+da400790
+d8a006e8
+20407181
+da200760
+da400790
+d8a00708
+20407181
+da200708
+da4006e8
+d8a006e8
+20407150
+da2006c8
+da4006e8
+d8a006c8
+20207153
+6fe0c648
+c0016fbe
+c000efce
+20600000
+6fe0c6bd
+c0806fec
+20406fe9
+d8a00940
+580008f0
+e7e10005
+580046ff
+e7e10005
+580008a0
+e7e10005
+20407495
+6fe08871
+c0026fe6
+70087201
+70087005
+20600000
+6fe08874
+c0806fec
+20406fe9
+d8a00940
+580008f0
+e7e10005
+5800474f
+e7e10005
+580008a0
+e7e10005
+20206fe0
+d8a00940
+58000900
+e7e10005
+580008a0
+e7e10005
+5800474f
+e7e10005
+204073bc
+6fe08871
+c0026fe6
+70087201
+70087005
+20600000
+70087114
+20406f4d
+202070d3
+d8a008e0
+18000e08
+2020709d
+70087201
+20600000
+6fe0c648
+c0016ff4
+c000eff7
+70087009
+70087201
+20600000
+6fe0887b
+c081eff1
+20206ff9
+6fe0887b
+c080eff1
+d8a005e9
+6fe340a8
+e7e30005
+6fe30040
+e7e30005
+6fe1c76b
+e7e18005
+204074b4
+da200910
+da400920
+18000e04
+204070a2
+2420f012
+20407009
+70007d41
+20205a7b
+6fe08871
+c004f00f
+7008700a
+70087201
+70007c03
+20600000
+70007c03
+70087115
+202070d3
+6fe08871
+c004f018
+70087000
+70007c04
+70007e05
+20600000
+70007c04
+70087100
+20600000
+6fe0c648
+c001701f
+c000f023
+20600000
+6fe0887b
+c001f027
+7008710a
+202070d3
+6fe08875
+c000f027
+7008710a
+202070d3
+d8a005e9
+6fe30040
+e7e30005
+6fe340a8
+e7e30005
+6fe1c768
+e7e18005
+204074f7
+6fe08871
+c0057034
+7008700b
+70087201
+20600000
+7008710b
+70087301
+20600000
+d8a00940
+6fe30040
+e7e30005
+6fe340a8
+e7e30005
+580008f0
+e7e10005
+58000900
+e7e10005
+2020704b
+7008700f
+d8a00940
+6fe340a8
+e7e30005
+6fe30040
+e7e30005
+58000900
+e7e10005
+580008f0
+e7e10005
+d8a005e9
+6fe30940
+e7e30005
+6fe30946
+e7e30005
+2040750b
+7041ca01
+d8a041cb
+d8c00910
+20407d7f
+202009c6
+d8a0471f
+380118ff
+3807fd29
+3809ed2e
+380cad89
+e7e48005
+38030c14
+380475b3
+380805df
+380f709c
+e7e48005
+3802918d
+380457e1
+38080079
+e7e30005
+20600000
+473c402f
+6fe0c6bc
+c1800000
+6fe08874
+c1800000
+d8a0471f
+18000e0b
+2040709d
+180a7e00
+1fe37e00
+e7e10005
+6fe0c6ba
+245a7056
+d8a00580
+d8c0471f
+20407d7e
+d8a004a8
+d8c00790
+20407d7c
+d8a004d8
+20407d8b
+7004d801
+20407479
+70087401
+20600000
+d8a04737
+d8c004f0
+20407d7c
+7046bc01
+70087400
+20600000
+473cc02f
+6fe0887b
+c1800000
+6fe08874
+c1800000
+d8a00580
+d8c0471f
+20407d7e
+d8a004a8
+d8c00888
+20407d7c
+d8a004d8
+20407d8b
+7004d801
+20407479
+70087402
+20600000
+70087501
+d8a008c8
+d8c004f0
+20407d7e
+70087b01
+70087400
+20600000
+18e08fff
+24610000
+180a7e00
+e7e10005
+2020709d
+18e08fff
+242170ae
+efe20011
+1fe20400
+efe20012
+9842fe00
+2422f0ac
+1a20a204
+1a40a404
+202070a2
+7840fc00
+20600000
+7820fc00
+20600000
+473d402f
+6fe08872
+207a0000
+20405a3f
+247a0000
+70087200
+6fe08870
+c001d965
+c002d987
+c003d992
+c005d9a7
+c0016f40
+c0026fba
+c004efee
+c005701b
+c0067041
+20600000
+473dc02f
+6fe08873
+207a0000
+20405a3f
+247a0000
+70087300
+6fe08871
+c0095949
+c009d94e
+c001d952
+c0026fd9
+c00a5956
+c003d963
+c005701b
+c005d9a6
+c004efee
+c00ad9a0
+20600000
+70087301
+20600000
+70087300
+20600000
+473e402f
+6fe0c767
+207a0000
+6fe08874
+207a0000
+1fe0fe80
+67e08874
+c3838000
+6fe084a5
+203a70e2
+20207484
+204072ce
+6fe08874
+c000f07f
+c0017096
+20600000
+1fe10e07
+1fe97e00
+98c08c00
+efe08006
+afec0000
+20600000
+20407d7e
+20407d7e
+20207d7e
+efe40006
+247a0000
+efe40006
+247a0000
+efe40006
+20600000
+efe20011
+98000400
+efe20012
+98467c00
+24628000
+1a20a204
+1a40a404
+c20070f6
+20600000
+18007206
+1a20a214
+1a40a414
+efe20012
+98000400
+efe20011
+98467e00
+24610000
+247a0000
+1a20a3fc
+1a40a5fc
+c2007102
+20600000
+18007206
+18002600
+efe20011
+98000400
+efe20012
+9840fe00
+9a60fe00
+e7e20005
+2feffe20
+7920a600
+1a20a204
+1a40a404
+c200710e
+20600000
+18007206
+18002600
+efe20012
+98000400
+efe20011
+98467e00
+9a667e00
+e7e20005
+2feffe20
+7920a600
+1a20a204
+1a40a404
+c200711c
+20600000
+18007206
+1a20a214
+18002600
+efe20011
+2feffe00
+7920a601
+1fe37e00
+2a6ffe00
+7920fe1f
+e7e20011
+1a20a3fc
+1a632600
+c200712b
+20600000
+18007206
+18002600
+efe20011
+2feffe1f
+7920a601
+1fe3fe00
+2a6ffe00
+7920fe00
+e7e20011
+1a20a204
+1a632600
+c2007138
+20600000
+20407136
+2a6ffe00
+2020f14c
+da400748
+1a222600
+1a20a3e8
+204070ff
+24610000
+1a622200
+1a20a3e8
+da400748
+1a220a00
+2020711a
+2040710c
+18a22200
+20207144
+2040711a
+2a6c0000
+20608000
+da400748
+18a0a3e8
+1a220a00
+2020710c
+18a21600
+1a226000
+da4005d8
+1a420a00
+1a208c18
+efe40006
+e7e40005
+e7e40005
+18007e00
+e7e40005
+19620a00
+20407150
+da4005d8
+1a420a00
+18007e00
+e7e40005
+1e008c20
+efe40006
+e7e40005
+e7e40005
+19622200
+1a220a00
+20407150
+da4005d8
+1a420a00
+1e008c28
+efe40006
+e7e40005
+e7e40005
+e7e40005
+19622200
+1a220a00
+20207150
+18007206
+efe20006
+98005e00
+1f00f001
+c200717c
+20600000
+18a21600
+d8a005a8
+20407d8b
+d8a005a8
+1a220c00
+18007000
+2040717b
+1a420c00
+2040717b
+18002400
+18000400
+18002606
+efe20005
+98002200
+1a427000
+1de27e00
+1a627000
+9deffe00
+9a20fe00
+9840fe00
+e7e20005
+1fef0400
+1a60a601
+2a61fe0c
+2420f18d
+18427e00
+e7e20005
+18a08be8
+1a40a401
+2a41fe06
+2420f18b
+da2005a8
+19620a00
+2020715a
+1a222400
+20207181
+1a226000
+1e022200
+efe08011
+2feffe00
+20608000
+20407128
+efe08012
+2fec0000
+2020f1b5
+da200748
+1a420a00
+2040710c
+efe08012
+9a60fe00
+e7e08012
+1a40a5e8
+1a40a218
+18007207
+2040712a
+202071a6
+18a21600
+d8a00608
+20407d8b
+18007e00
+67e205c0
+67e20620
+70060801
+d8a005a8
+20407d8b
+d8c00748
+d8a005d8
+20407d7e
+1a220c00
+d8a005f0
+20407d7e
+d8c005f0
+204070f0
+203a71f1
+da2005f0
+da400608
+204071a5
+da2005d8
+da4005a8
+204071a5
+da2005f0
+da4005d8
+204070ff
+202171e3
+da2005d8
+da4005f0
+1a220a00
+2040711a
+da200608
+da4005a8
+1a420a00
+2040710c
+efe08011
+9a60a600
+efe08012
+9a60fe00
+e7e08012
+202071c8
+da2005f0
+da4005d8
+1a220a00
+2040711a
+da2005a8
+da400608
+1a420a00
+2040710c
+efe08011
+9a60a600
+efe08012
+9a60fe00
+e7e08012
+202071c8
+d8a00608
+20407d8b
+6fe085c0
+67e08608
+67e08610
+da200608
+da4005a8
+1a420a00
+20407150
+da200748
+da4005a8
+19620a00
+20207153
+da200568
+d8a00620
+204071a3
+da200620
+d8a00638
+204071a3
+da200760
+da400638
+d8a00638
+20407181
+da200538
+d8a00620
+204071a3
+d8c00620
+d8a005f0
+20407d7e
+da2005f0
+20407143
+da200620
+da4005f0
+d8a00620
+20407150
+da200620
+da400638
+d8a00620
+20407150
+d8c00538
+d8a005f0
+20407d7e
+da200550
+d8a00638
+204071a3
+da2005f0
+20407143
+da2005f0
+20407143
+da2005f0
+da400638
+d8a005f0
+20407181
+da200638
+d8a00608
+204071a3
+da200608
+20407143
+da200608
+20407143
+da200608
+20407143
+d8c00550
+d8a00638
+20407d7e
+da200638
+20407143
+da200638
+da400568
+d8a00568
+20407181
+da200620
+d8a00638
+204071a3
+da200638
+da4005f0
+d8a00638
+20407153
+da200638
+da4005f0
+d8a00538
+20407153
+da2005f0
+da400538
+d8a00638
+20407153
+da200638
+da400620
+d8a00638
+20407181
+da200638
+da400608
+d8a00550
+20207153
+da2004d8
+d8a00650
+204071a3
+da200538
+da400650
+d8a00608
+20407181
+da2004d8
+da400650
+d8a00650
+20407181
+da200550
+da400650
+d8a005f0
+20407181
+da200568
+d8a00650
+204071a3
+da2004a8
+da400650
+d8a00620
+20407181
+da200568
+da400650
+d8a00650
+20407181
+da2004c0
+da400650
+d8a00638
+20407181
+da200608
+da400620
+d8a00650
+20407153
+da200608
+da400620
+d8a00608
+20407150
+da2005f0
+da400638
+d8a00620
+20407153
+da2005f0
+da400638
+d8a005f0
+20407150
+da2005f0
+da400650
+d8a005f0
+20407181
+da200568
+da4004d8
+d8a00638
+20407181
+da200638
+da400650
+d8a00568
+20407181
+da200650
+d8a00650
+204071a3
+da200650
+da400608
+d8a00638
+20407181
+da200650
+da4005f0
+d8a005f0
+20407181
+da200620
+d8a00538
+204071a3
+da200538
+da400638
+d8a00538
+20407153
+d8c00538
+d8a00650
+20407d7e
+da200650
+20407143
+da200638
+da400650
+d8a00638
+20407153
+da200638
+da400620
+d8a00620
+20407181
+da200620
+da4005f0
+d8a00550
+20407153
+da200550
+da400748
+d8a00550
+18002600
+6fe08550
+2feffe00
+2040f10c
+1a626000
+da200550
+20407128
+6fe08567
+2e0ffe00
+7920fe07
+67e08567
+20600000
+6fe084a5
+1fe0ffff
+24610000
+67e084a5
+6fe084a4
+205a71fe
+6fe084a5
+d8c00580
+204070e7
+2020f2bb
+6fe084a4
+243a72c9
+2040724f
+202072bb
+7004a400
+d8c004a8
+d8a00538
+204070ed
+202072bb
+da200568
+d8a00638
+204071b9
+da200638
+d8a005f0
+204071a3
+da200538
+da4005f0
+d8a004f0
+20407181
+da200638
+da4005f0
+d8a00620
+20407181
+da200550
+da400620
+d8a00508
+20207181
+efe20006
+18002204
+18a08a03
+e7e08005
+1fecfe00
+18a08bfe
+1a20a3ff
+2422f2e3
+18a08a05
+c20072e0
+20600000
+18ebfe00
+99608c00
+efe20006
+20600000
+18006010
+d96004a8
+1e008ff9
+204072eb
+98000400
+1e008ff0
+204072eb
+98408400
+1e008ffe
+204072eb
+1fee7e01
+98408400
+1e008ff1
+204072eb
+1fee7e00
+98408400
+1e0bfe00
+99608a00
+e0420005
+1e00e001
+2e01fe40
+2420f2f1
+20600000
+d8c007c0
+18007007
+efe20006
+98005e00
+1f00f1ff
+20217308
+20600000
+473ec02f
+204072ef
+d8a005a8
+18007000
+1de27e00
+e7e20005
+1f00f001
+2f01fe08
+2420f311
+20406e5e
+d9609300
+de0004a8
+18007240
+e8420030
+efe2000b
+19609604
+1e00e004
+9840fe00
+18007007
+9de08400
+18007004
+1dee7e03
+98408400
+18007005
+1de27e00
+18007006
+9de2fe00
+18007004
+9de17e00
+18007006
+9de2fe00
+98408400
+18007007
+18425e00
+18007003
+1de27e00
+9840de00
+18007000
+1de27e00
+18007001
+9de10400
+9de1fe00
+18007002
+9de17e00
+98418400
+18007000
+1dee7e02
+9840fe00
+18007007
+9de0de00
+980efc00
+c200731a
+d8c005a8
+18007000
+efe20006
+9de0de00
+1f00f001
+2f01fe08
+2420f343
+20206e62
+d8a00900
+18007007
+1de27e00
+e7e20005
+1f00f1ff
+2021734b
+20600000
+d8a004a8
+18c08dfc
+1f262210
+efe20006
+9842fe00
+e7e20005
+18c08df8
+c2007353
+1a227200
+18427e00
+e7e20005
+c200735a
+20600000
+6fe0c648
+c0017364
+c000f361
+20600000
+20407369
+20407349
+2020738f
+204073a3
+20407349
+2020738f
+20407369
+2020738f
+d8c008a0
+d8a004a8
+18007206
+2040748d
+d8c0474f
+18007206
+2040748d
+d8c00900
+2040748c
+20407306
+2040730d
+d8c008f0
+d8a004a8
+20207386
+d8c0474f
+d8a004a8
+18007206
+2040748d
+d8c008a0
+18007206
+2040748d
+d8c008f0
+2040748c
+20407306
+2040730d
+d8c00900
+d8a004a8
+20407386
+2020738f
+2040748c
+58800000
+1fed7e00
+e7e20005
+18007205
+20407d8c
+58000280
+e7e20005
+2020730d
+6fe20900
+da2003e8
+9a26fc00
+20407e64
+18077e00
+67e2087c
+1807fe00
+da2003e8
+9a26fc00
+20407e64
+18077e00
+da2003e8
+9a2ffe00
+684a087c
+9840fe00
+67e2087c
+20600000
+204073a3
+20407349
+2020738f
+d8c008a0
+d8a004a8
+18007208
+2040748d
+d8c046ff
+18007208
+2040748d
+20407306
+2040730d
+d8c00900
+d8a004a8
+2040748c
+d8c008f0
+202073b1
+2040748c
+58800000
+1fed7e00
+e7e20005
+18007203
+20407d8c
+58000300
+e7e20005
+2020730d
+70477100
+202073be
+6fe0c76f
+c08173ba
+473f402f
+58363636
+1fed0400
+18418436
+6fe10940
+1fe20c00
+18007204
+20407350
+20407306
+2040730d
+6fe10942
+1fe20c00
+d8a004a8
+18007206
+2040748d
+6fe10944
+1fe20c00
+18007206
+2040748d
+58800000
+e7e18005
+6fe0c771
+e7e08005
+18007e00
+e7e40005
+58000388
+e7e20005
+2040730d
+20407349
+d8c00900
+d8a005c8
+20407d7d
+585c5c5c
+1fed0400
+1841845c
+6fe10940
+1fe20c00
+18007204
+20407350
+20407306
+2040730d
+d8c005e8
+d8a004a8
+18007208
+2040748d
+58800000
+1fed7e00
+e7e20005
+20407d8b
+58000300
+e7e20005
+2040730d
+20207349
+58363636
+1fed0400
+18418436
+d8c008e0
+18007206
+20407350
+20407306
+2040730d
+6fe1094c
+1fe20c00
+d8a004a8
+2040748c
+6fe1094e
+1fe20c00
+2040748c
+5862746c
+1fed7e00
+1fe1fe6b
+e7e20005
+d8c005f5
+18007203
+2040748d
+58800000
+1fed7e00
+e7e20005
+18007e00
+e7e40005
+58000380
+e7e20005
+2040730d
+20407349
+d8c00900
+d8a005c8
+20407d7d
+585c5c5c
+1fed0400
+1841845c
+d8c008e0
+18007206
+20407350
+20407306
+2040730d
+d8c005e8
+d8a004a8
+18007208
+2040748d
+58800000
+1fed7e00
+e7e20005
+20407d8b
+58000300
+e7e20005
+2040730d
+20207349
+6fe0c76f
+c081743a
+473fc02f
+58363636
+1fed0400
+18418436
+d8c008e0
+18007206
+20407350
+20407306
+2040730d
+d8c00900
+d8a004a8
+2040748c
+d8c008f0
+2040748c
+2020744f
+58000000
+67e24797
+2020742b
+58000000
+67e24797
+20207442
+6fe0c76f
+c081743d
+58363636
+1fed0400
+18418436
+d8c008e0
+18007206
+20407350
+20407306
+2040730d
+d8c008f0
+d8a004a8
+2040748c
+d8c00900
+2040748c
+58000000
+e7e40005
+e7e20005
+6fe24797
+e7e20005
+18a20400
+7005e880
+18420a00
+d8c005f8
+2040748c
+2040730d
+d8a004a8
+18007207
+20407d8c
+e7e20005
+580003f8
+e7e20005
+2040730d
+20407349
+d8c00900
+d8a005c8
+20407d7d
+585c5c5c
+1fed0400
+1841845c
+d8c008e0
+18007206
+20407350
+20407306
+2040730d
+d8c005e8
+d8a004a8
+18007208
+2040748d
+58800000
+1fed7e00
+e7e20005
+20407d8b
+58000300
+e7e20005
+2040730d
+20207349
+7004a5c0
+6fe084a5
+207a0000
+1fe0ffff
+67e084a5
+d8c00580
+204070e7
+2020f47a
+d8c004a8
+d8a00538
+202070ed
+204071fe
+6fe084a5
+1fe0ffff
+67e084a5
+d8c00580
+204070e7
+20608000
+2020724f
+18007204
+18c08dfc
+efe20006
+e7e20005
+18c08df8
+c200748e
+20600000
+70477100
+20207497
+6fe0c76f
+c0817493
+58363636
+1fed0400
+18418436
+6fe10940
+1fe20c00
+18007204
+20407350
+20407306
+2040730d
+6fe10942
+1fe20c00
+d8a004a8
+18007208
+2040748d
+6fe10944
+1fe20c00
+18007208
+2040748d
+2040730d
+d8a004a8
+58800000
+e7e18005
+6fe0c771
+e7e08005
+df200007
+20407d8c
+58000408
+e7e20005
+202073d9
+6fe0c648
+c00174b8
+c000f429
+20600000
+6fe0c76f
+c08174f1
+58363636
+1fed0400
+18418436
+d8c008e0
+18007208
+20407350
+20407306
+2040730d
+d8c00900
+d8a004a8
+2040748c
+d8c008f0
+2040748c
+58000000
+e7e40005
+e7e20005
+6fe24797
+e7e20005
+18a20400
+7005e880
+18420a00
+d8c005f8
+2040748c
+2040730d
+d8a004a8
+18007207
+20407d8c
+e7e20005
+580003f8
+e7e20005
+2040730d
+20407349
+d8c00900
+d8a005c8
+20407d7d
+585c5c5c
+1fed0400
+1841845c
+d8c008e0
+18007208
+20407350
+20407306
+2040730d
+d8c005e8
+d8a004a8
+18007208
+2040748d
+58800000
+1fed7e00
+e7e20005
+20407d8b
+58000300
+e7e20005
+2040730d
+20207349
+58000000
+67e24797
+202074ba
+58000000
+67e24797
+202074fd
+6fe0c648
+c00174fb
+c000f440
+20600000
+6fe0c76f
+c08174f4
+58363636
+1fed0400
+18418436
+d8c008e0
+18007208
+20407350
+20407306
+2040730d
+d8c008f0
+d8a004a8
+2040748c
+d8c00900
+2040748c
+202074c7
+6fe0c648
+c001750f
+c000f3f3
+20600000
+58363636
+1fed0400
+18418436
+d8c008e0
+18007208
+20407350
+20407306
+2040730d
+6fe1094c
+1fe20c00
+d8a004a8
+2040748c
+6fe1094e
+1fe20c00
+2040748c
+5862746c
+1fed7e00
+1fe1fe6b
+e7e20005
+d8c005f5
+18007203
+2040748d
+58800000
+1fed7e00
+e7e20005
+18007e00
+e7e40005
+58000380
+e7e20005
+2040730d
+20407349
+d8c00900
+d8a005c8
+20407d7d
+585c5c5c
+1fed0400
+1841845c
+d8c008e0
+18007208
+202074e2
+6fe340a8
+67e305e9
+6fe30040
+e7e30005
+58363636
+1fed0400
+18418436
+d8c041db
+18007204
+20407350
+20407306
+2040730d
+58627461
+1fed7e00
+1fe1fe6b
+67e204a8
+d8c005f5
+18007203
+2040748d
+d8c046b5
+df200002
+2040748d
+58800000
+1fed7e00
+e7e20005
+df200004
+20407d8c
+580002c0
+e7e20005
+2040730d
+20407349
+d8c00900
+d8a005c8
+20407d7d
+585c5c5c
+1fed0400
+1841845c
+d8c041db
+18007204
+202074e2
+6fe340a8
+67e305e9
+6fe30040
+e7e30005
+58363636
+1fed0400
+18418436
+d8c041db
+18007204
+20407350
+20407306
+2040730d
+58627464
+1fed7e00
+1fe1fe6b
+67e204a8
+d8c005f5
+18007203
+2040748d
+58800000
+1fed7e00
+e7e20005
+df200005
+20407d8c
+58000280
+e7e20005
+2040730d
+20407349
+d8c00900
+d8a005c8
+20407d7d
+585c5c5c
+1fed0400
+1841845c
+d8c041db
+18007204
+202074e2
+d8c00910
+d8a00454
+20407d7f
+58000900
+67e10940
+58000434
+e7e10005
+58363636
+1fed0400
+18418436
+d8c00464
+18007204
+20407350
+20407306
+2040730d
+d8a004a8
+6fe10940
+1fe20c00
+2040748c
+6fe10942
+1fe20c00
+2040748c
+58800000
+1fed7e00
+e7e20005
+df200003
+20407d8c
+58000300
+e7e20005
+2040730d
+20407349
+d8c00900
+d8a005c8
+20407d7d
+585c5c5c
+1fed0400
+1841845c
+d8c00464
+18007204
+202074e2
+47404030
+6fe0c6bb
+243a75cd
+7046bd00
+7046be00
+20600000
+6fe0c6bb
+207a0000
+6fe0c6be
+c1018000
+20407602
+202075b2
+d8a046bf
+38001abd
+3805b34f
+38099b8a
+380e6562
+e7e48005
+380340b7
+38041efa
+3808aff6
+380cfd41
+e7e48005
+3803d210
+38066cf8
+380b874c
+380f157c
+e7e48005
+3802d4a3
+3807d27d
+38080003
+e7e28005
+20600000
+6fe0c6be
+c1800000
+6fe0c6bd
+c1800000
+20406ebd
+d8a046bf
+18000e0f
+2040709d
+180a7e00
+1fe37e00
+e7e10005
+6fe0c6ba
+245a75b8
+d8a00628
+d8c046bf
+20407d7d
+d8a00508
+d8c00820
+20407d72
+d8a00548
+20407d97
+70054801
+2040761a
+7046bd03
+20600000
+d8a046df
+d8c00568
+20407d72
+7046be03
+7046bd00
+20600000
+6fe0887b
+c1800000
+6fe0c6bd
+c1800000
+d8a00628
+d8c046bf
+20407d7d
+d8a00508
+d8c00880
+20407d72
+d8a00548
+20407d97
+70054801
+2040761a
+7046bd04
+20600000
+d8a008c0
+d8c00568
+20407d7d
+70087b03
+7046bd00
+20600000
+6fe0c6bb
+207a0000
+6fe0c6bd
+207a0000
+1fe0fe80
+67e0c6bd
+c3838000
+6fe104a5
+203a760c
+20207612
+4740c030
+20407627
+6fe0c6bd
+c001f5e6
+c00275fc
+20600000
+20407639
+6fe104a5
+1fe0ffff
+67e104a5
+d8c00628
+204070e7
+20608000
+2020768a
+47414030
+58000100
+67e104a5
+6fe104a5
+207a0000
+1fe0ffff
+67e104a5
+d8c00628
+204070e7
+2020f61d
+d8c00508
+d8a005c8
+20207d71
+da200608
+d8a00708
+204076f6
+da200708
+d8a006a8
+204077cc
+da2005c8
+da4006a8
+d8a00568
+20407734
+da200708
+da4006a8
+d8a006e8
+20407734
+da2005e8
+da4006e8
+d8a00588
+20207734
+da200608
+d8a006e8
+204077cc
+da2006e8
+d8a00708
+204077cc
+da200800
+da400708
+d8a00708
+20407734
+da2005c8
+d8a006e8
+204077cc
+d8c006e8
+d8a006a8
+20407d7d
+da2006a8
+204077d3
+da2006e8
+da4006a8
+d8a006e8
+204077d0
+da2006e8
+da400708
+d8a006e8
+204077d0
+d8c005c8
+d8a006a8
+20407d7d
+da2005e8
+d8a00708
+204077cc
+da2006a8
+204077d3
+da2006a8
+204077d3
+da2006a8
+da400708
+d8a006a8
+20407734
+da200708
+d8a006c8
+204077cc
+da2006c8
+204077d3
+da2006c8
+204077d3
+da2006c8
+204077d3
+d8c005e8
+d8a00708
+20407d7d
+da200708
+204077d3
+da200708
+da400608
+d8a00608
+20407734
+da2006e8
+d8a00708
+204077cc
+da200708
+da4006a8
+d8a00708
+204077e9
+da200708
+da4006a8
+d8a005c8
+204077e9
+da2006a8
+da4005c8
+d8a00708
+204077e9
+da200708
+da4006e8
+d8a00708
+20407734
+da200708
+da4006c8
+d8a005e8
+202077e9
+da200548
+d8a00728
+204077cc
+da2005c8
+da400728
+d8a006c8
+20407734
+da200548
+da400728
+d8a00728
+20407734
+da2005e8
+da400728
+d8a006a8
+20407734
+da200608
+d8a00728
+204077cc
+da200508
+da400728
+d8a006e8
+20407734
+da200608
+da400728
+d8a00728
+20407734
+da200528
+da400728
+d8a00708
+20407734
+da4006c8
+da2006e8
+d8a00728
+204077e9
+da2006c8
+da4006e8
+d8a006c8
+204077d0
+da4006a8
+da200708
+d8a006e8
+204077e9
+da2006a8
+da400708
+d8a006a8
+204077d0
+da2006a8
+da400728
+d8a006a8
+20407734
+da200608
+da400548
+d8a00708
+20407734
+da200708
+da400728
+d8a00608
+20407734
+da200728
+d8a00728
+204077cc
+da200728
+da4006c8
+d8a00708
+20407734
+da200728
+da4006a8
+d8a006a8
+20407734
+da2006e8
+d8a005c8
+204077cc
+da2005c8
+da400708
+d8a005c8
+204077e9
+d8c005c8
+d8a00728
+20407d7d
+da200728
+204077d3
+da200708
+da400728
+d8a00708
+204077e9
+da200708
+da4006e8
+d8a006e8
+20407734
+da2006e8
+da4006a8
+d8a005e8
+204077e9
+da2005e8
+da4007e0
+d8a005e8
+18002600
+6fe085e8
+2feffe00
+2040f7ce
+1a626000
+da2005e8
+204077fe
+6fe08607
+2e0ffe00
+7920fe07
+67e08607
+20600000
+18a21600
+d8a006c8
+20407d97
+18007e00
+67e206e8
+7006c801
+d8a00648
+20407d99
+d8c007e0
+d8a00688
+20407d7d
+1a220c00
+d8a006a8
+20407d7d
+d8c006a8
+20407808
+203a772d
+da2006a8
+da4006c8
+2040780b
+da200688
+da400648
+2040780b
+da2006a8
+da400688
+20407804
+2021771f
+da200688
+da4006a8
+1a220a00
+204077fc
+da2006c8
+da400648
+1a420a00
+204077ce
+efe08011
+9a60a600
+efe08012
+9a60fe00
+e7e08012
+20207704
+da2006a8
+da400688
+1a220a00
+204077fc
+da200648
+da4006c8
+1a420a00
+204077ce
+efe08011
+9a60a600
+efe08012
+9a60fe00
+e7e08012
+20207704
+da200648
+19620a00
+2040775d
+da2007e0
+19622400
+19620a00
+202077e9
+18a21600
+18007000
+d8a00648
+20407d99
+d8a0099e
+20407d99
+1a220c00
+70099e00
+58000000
+204077c6
+1a420c00
+204077ca
+18000e00
+d8a00648
+d840099e
+18e22400
+1a4bfe00
+9840a400
+18000400
+18002600
+efe20005
+98002200
+efe20012
+1a627000
+9deffe00
+9a20fe00
+9840fe00
+e7e20005
+1fef0400
+1a60a601
+2a61fe08
+2420f748
+18427e00
+e7e20005
+18a08be0
+18e08e01
+28e1fe08
+2420f742
+da200648
+19620a00
+2020775d
+4741c030
+18a21600
+1a226000
+da400688
+1a420a00
+20407d94
+e7e40005
+1a208c2c
+20407d79
+20407d75
+1a422200
+204077d3
+da400688
+1e022200
+19620a00
+204077d0
+da400688
+1a420a00
+20407d94
+e7e40005
+1e008c30
+20407d7f
+20407d94
+1a422200
+204077d3
+da400688
+19622200
+1a220a00
+204077d0
+da400688
+1a420a00
+1e008c20
+20407d75
+20407d94
+e7e40005
+1e008c38
+20407d79
+19622200
+1a220a00
+204077d0
+da400688
+1a420a00
+1e008c24
+20407d75
+1e008c34
+20407d75
+1e008c34
+20407d76
+1e008c20
+20407d76
+19622200
+1a220a00
+204077d0
+da400688
+1a420a00
+1e008c2c
+20407d75
+20407d94
+e7e40005
+1e008c20
+20407d76
+1e008c28
+20407d76
+19622200
+1a220a00
+204077e9
+da400688
+1a420a00
+1e008c30
+20407d79
+20407d79
+18007e00
+e7e40005
+1e008c24
+20407d76
+1e008c2c
+20407d76
+19622200
+1a220a00
+204077e9
+da400688
+1a420a00
+1e008c34
+20407d75
+1e008c20
+20407d75
+20407d94
+1e008c30
+20407d76
+19622200
+1a220a00
+204077e9
+da400688
+1a420a00
+1e008c38
+20407d79
+20407d94
+1e008c24
+20407d75
+20407d94
+1e008c34
+20407d76
+19622200
+1a220a00
+202077e9
+18007220
+d8a0099e
+98a08a00
+20207dd4
+18007208
+2020717c
+1a222400
+20207734
+18007208
+2020710d
+204077ce
+18a22200
+202077d4
+20407801
+2a6ffe00
+2020f7dd
+da4007e0
+1a222600
+1a20a3e0
+20407804
+24610000
+1a622200
+202077e5
+204077e5
+1a222600
+1a20a3e0
+da4007e0
+20407804
+24610000
+1a622200
+202077e5
+1a20a3e0
+da4007e0
+1a220a00
+202077fc
+204077fc
+2020f7f3
+18a0a3e0
+da4007e0
+20407804
+24610000
+da4007e0
+18a0a3e0
+1a220a00
+202077fc
+18a0a3e0
+da4007e0
+1a220a00
+204077ce
+20608000
+18a0a3e0
+da4007e0
+1a220a00
+202077ce
+18007208
+2020711b
+18007208
+1a20a21c
+2020712a
+18007208
+18002600
+20207138
+18007208
+1a20a21c
+1a40a41c
+20207102
+efe40006
+247a0000
+202070f0
+1a226000
+1e022200
+efe08011
+2feffe00
+20608000
+204077fe
+efe08012
+2fec0000
+2020f81b
+da2007e0
+1a420a00
+204077ce
+efe08012
+9a60fe00
+e7e08012
+1a40a5e0
+1a40a220
+18007209
+2040712a
+2020780c
+20401597
+20758000
+20407826
+204078cc
+2020785b
+2040787c
+202078bb
+6fe0c793
+c17f8000
+98000400
+2040610d
+6848c793
+20406109
+20000064
+6848c793
+204060f4
+20207830
+47424030
+6fe0c793
+c17f8000
+1fe20400
+204060fd
+2420f842
+2040784c
+6fe1478f
+79207e0c
+67e1478f
+6fe0c786
+c1000000
+70478600
+6fe0c792
+67e0c785
+20407853
+70095b2c
+202078dc
+6fe1478f
+793ffe0c
+67e1478f
+6fe0c786
+c1008000
+70478601
+70478500
+20407855
+70095b2d
+202078dc
+6fe0c785
+207a0000
+1fe0ffff
+67e0c785
+247a0000
+70095b10
+202078dc
+d8e00007
+20201566
+d8e00007
+2020156a
+6fe1448f
+1a2fa40b
+9a40a400
+20600000
+6fe0c48e
+207a0000
+1fe27200
+6fe1448f
+1fe22400
+1a40a602
+e8408013
+2040610d
+20407885
+1a40a40b
+c2007860
+20600000
+20407857
+58000002
+e7e08012
+204078b5
+2020788a
+20407857
+58000003
+e7e08012
+204078b5
+20207885
+20407857
+58000001
+e7e08012
+580000ff
+e7e08005
+20207885
+20407857
+df20000b
+1a620c00
+1a420a00
+20207dc7
+6fe0c48e
+207a0000
+da200000
+2040788f
+1a20a201
+6fe0c48e
+9a267c00
+20628000
+2020787f
+1a40a602
+e8408013
+6fe0c09a
+c0044980
+20206109
+1a40a602
+e8408013
+6fe0c09a
+c004498c
+2020610d
+1a208e0b
+20407de9
+247a0000
+20407857
+efe08012
+c001788a
+c001f885
+c0007885
+c002f8a3
+2040788a
+1a40a607
+20407d3b
+efe10013
+20407e7a
+20407d47
+58000005
+e7e08012
+1a40a603
+efe10013
+202078b3
+20407885
+1a40a609
+20407d3b
+efe10013
+20407e7a
+20407d47
+1a40a601
+efe08013
+c07ff8af
+1fe0ffff
+e7e08013
+203a786c
+58000004
+e7e08012
+1a40a605
+efe10013
+1a208e0b
+20207ddb
+58000000
+202078b3
+58001000
+1ff07e00
+9a40a400
+20600000
+4742c030
+da200000
+684a4787
+1c422400
+1a427e00
+98467c00
+244178b7
+1a427e00
+184084a0
+184084a0
+98467c00
+242178cf
+1a20a201
+1a217e0f
+243a78c2
+da200000
+204078d5
+1c427e00
+67e24787
+20600000
+1a227e00
+207a0000
+18408560
+18408560
+793f841c
+604a4787
+202031ee
+70477301
+6fe0c774
+243a78d7
+20600000
+70477300
+20600000
+47434030
+204078d6
+1a227e00
+67e20953
+da204775
+20407e96
+6fe20953
+1fe22200
+202078da
+4743c030
+204078d6
+1a227e00
+67e20953
+da20477d
+20407e96
+6fe20953
+1fe22200
+202078da
+58000000
+67e4477d
+67e44775
+20600000
+47444031
+6fe0c1db
+247a0000
+da20477d
+20407eae
+207a0000
+70095200
+204078fd
+6fe08952
+203a78f2
+20600000
+204078d6
+da20477d
+20407ea2
+1fe20400
+204078da
+4744c031
+18427e00
+207a0000
+c000f92f
+c0017934
+c001f93a
+c006f959
+c007795f
+c007f964
+c008796a
+c009f974
+c00a7976
+c00af978
+c00b7982
+c00bf985
+c00c7987
+c00cf98a
+c00f799c
+67e0895b
+20405a3f
+243a792d
+6fe0895b
+c584f928
+47454031
+6fe0895b
+c002793c
+c002f93f
+c003794a
+c005794c
+c008f96f
+c00df992
+c0097973
+c00ef993
+c00fe0c9
+c01060cb
+c010f99e
+c012dffb
+20600000
+67e0895b
+20400a5f
+2022f92d
+20400a67
+24628000
+70095201
+202078e5
+6fe1478f
+79207e06
+67e1478f
+70409b03
+20600000
+70478d00
+70409b00
+6fe1478f
+793ffe06
+67e1478f
+20600000
+7041db05
+20600000
+70007c07
+70039e13
+20600000
+70007c17
+d8a003ac
+58000000
+2d0ffe1b
+7920fe01
+e7e08005
+58000000
+e7e10005
+6fe34455
+e7e30005
+20600000
+70007c18
+20600000
+7003a802
+6fe0804b
+c2817952
+20405a72
+70007c08
+20600000
+793ffe02
+67e0804b
+20405750
+58000000
+7934fe01
+67e0807f
+20600000
+70442701
+70442a00
+6fe1478f
+79207e0b
+67e1478f
+20600000
+6fe1478f
+793ffe0b
+67e1478f
+70442700
+20600000
+70442701
+70442a01
+6fe1478f
+79207e0b
+67e1478f
+20600000
+6fe1478f
+793ffe0b
+67e1478f
+70442700
+20600000
+58000014
+67e102b5
+67e14394
+20202134
+20201f04
+da200000
+2020786c
+da200000
+20207867
+da200000
+20407857
+efe08012
+c000f97f
+c002797f
+c002f97f
+20207871
+efe08006
+c17f8000
+20207871
+7043e201
+7041db1b
+20600000
+7043e201
+20600000
+7043e200
+7041db00
+20600000
+6fe1445d
+20407e7a
+6fe0c793
+c07ff990
+1fe20400
+204060f4
+204078ee
+20201459
+20201f46
+70007c34
+79200003
+24748000
+70464500
+70007c13
+6fe080bc
+793ffe02
+67e080bc
+20600000
+18000e03
+20207dda
+20405a7b
+70007d41
+202056ec
+6fe0c78f
+c4060000
+c4038000
+2020799c
+6fe1448c
+1fe08a02
+58000000
+e7e18005
+20600000
+20407ec7
+204079f4
+207a0000
+6fe1448c
+1fe0a402
+e8408012
+18408401
+e0408012
+e840803f
+18427200
+1fe0a404
+efe08012
+984ffe00
+98c08a00
+1a220c00
+20407dd4
+204079f8
+1fe0ffff
+e8408012
+18408401
+98410400
+e0408012
+20207ec5
+20407ec7
+204079f0
+207a0000
+6fe1448c
+1fe0a402
+e8408012
+184085ff
+e0408012
+e840803f
+18427200
+1fe0a403
+efe08012
+984ffe00
+98c08c00
+18c08c01
+1a220a00
+202079b9
+20407ec7
+204079f0
+207a0000
+6fe1448c
+e840803f
+18427200
+1fe0a403
+efe08012
+984ffe00
+98c08c00
+18c08c01
+18c22400
+1a220a00
+20407dd4
+20207ec5
+20407ec7
+204079f0
+207a0000
+6fe1448c
+e840803f
+18427200
+1fe0a403
+efe08012
+984ffe00
+98c08c00
+18c08a02
+1a220c00
+1f20f3ff
+20407dd4
+20207ec5
+6fe1448c
+1fe08c02
+efe08006
+20600000
+204079f8
+e8408006
+98467e00
+20600000
+6fe1448c
+1fe08c01
+efe08006
+20600000
+4745c031
+6ff08c23
+2feffe03
+2040fa08
+6ff08c23
+67f08c23
+67e089f6
+20407a68
+20407a90
+20407c81
+20407cc9
+20207a60
+47464031
+20406e5e
+20407a27
+708c0000
+20002710
+708c18c0
+6ff10050
+793ffe0a
+67f10050
+708c1100
+708c003c
+58000a4f
+67f10c03
+67f10c07
+58000a8f
+67f10c05
+708c1104
+708c0200
+708c23ff
+58000c4b
+d8a00b59
+98a67200
+20207d9b
+68488b58
+202060f4
+6fe08bfa
+207a0000
+68488b58
+204060fd
+2020fa08
+20600000
+700b5702
+58000000
+67e08a92
+67e10b51
+1fe0fe01
+67e10b53
+1fe0fe01
+67e10b55
+d8a00ae6
+58030404
+e7e18005
+58000409
+e7e10005
+d8a00aeb
+38015906
+380610d2
+38090494
+380c0001
+e7e48005
+d8a00b09
+3801570f
+38055c9a
+380a56c6
+380dcdcd
+e7e48005
+38014420
+38065d99
+380a5636
+380c0001
+e7e38005
+d8a00b27
+3801620a
+38040c8c
+380b0333
+380cc0c0
+e7e48005
+38003130
+e7e10005
+580099a4
+67e10a93
+580099ff
+67e10a95
+d8c09aa3
+d8a00a97
+df200013
+20407dd4
+d8c09ab6
+d8a00aaa
+df20003c
+20407dd4
+6fe10b45
+20207e7a
+6fe08b47
+207a0000
+67e08acc
+67e08ae5
+20600000
+d8e00000
+20407de9
+247a0000
+6fe08bfb
+247a0000
+6fe08bfa
+245a7d1f
+20600000
+6fe089f6
+c2817a6b
+20600000
+20407a70
+20407de8
+58000280
+d8e00000
+20207ddb
+6fe08bec
+c0817a75
+700bfb00
+700bfc00
+20600000
+6fe08bfe
+207a0000
+700bfe00
+700bec02
+700bfa01
+20600000
+6fe089f6
+c2807a9d
+20600000
+6ff08c24
+c3830000
+69510c03
+6a110c05
+68710c07
+efe10003
+1fec8400
+18518400
+d8c00fff
+98c17200
+1f222200
+efe08003
+e7e08005
+c2007a89
+60710c07
+622109f8
+20600000
+20600000
+4746c031
+6fe089f6
+c4028000
+d8a00b59
+20407a7e
+18427e00
+c0007a98
+20207a8f
+6fe089f8
+c0007a7b
+c000faa4
+1fe67c07
+20610000
+47474031
+793f8023
+6fe08b59
+1fe17e80
+c0407aa8
+c0007ab0
+2020137c
+6fe08b59
+c3838000
+20407c56
+20207ad6
+6fe08b59
+1ff1fe00
+1fe37e00
+1fe17e03
+c0007ab8
+c000fabe
+c0017ac3
+2020137c
+6fe08b59
+1ff1fe00
+1fe37e00
+1fe17e03
+c0007ac4
+c000facc
+c0017ad1
+2020137c
+6fe08b5a
+c0047ad8
+c0037aee
+c0057b33
+c0007b45
+20207ad2
+6fe08b5a
+c0017b7a
+c000fb7e
+c001fb8f
+20207ad2
+20207ad2
+6fe08b5a
+c000fb99
+c001fbc8
+c002fbf3
+c004fc0c
+c005fc27
+c003fad2
+20207ad2
+6fe08b5a
+c0057c38
+c004fc4a
+c005fc68
+20207ad2
+20207ad2
+6ff08c19
+79207e00
+67f08c19
+20207ad6
+708c1810
+20600000
+6fe08b59
+c0c07ad2
+6fe08b5d
+c0807ad2
+6fe08b5e
+c0807ad2
+6fe08b5f
+c080fad2
+6fe08b60
+c0807ad2
+6fe08b5b
+c0807ad2
+6fe08b5c
+c0807ad2
+6fe08b57
+c0027aea
+c001faec
+20207ad2
+da400001
+20207b5f
+da400001
+20207b5d
+4747c031
+6fe08b5c
+c000fb01
+c0017b1a
+c001fb1d
+c010faf6
+c0117b2b
+20207ad2
+700be900
+6fe08b5d
+c0007afb
+c000fafe
+20207ad2
+6a408abd
+da200abd
+20207c77
+6a408ad6
+da200ad6
+20207c77
+6fe08bfd
+245a7b12
+58000a97
+68488a97
+67e10bf4
+60488bf6
+6fe08b5f
+98467c00
+24217b10
+6fe08bf6
+98002400
+6fe10bf4
+1fe0fe01
+98002200
+20207c77
+6fe08b5f
+20207b0b
+6ff08c02
+245a7b16
+700bfd00
+20600000
+6ff08c02
+79207e07
+67f08c02
+20600000
+58000aaa
+68488aaa
+20207b05
+6fe08b5b
+1fe67c03
+24217ad2
+6fe08b5b
+da200ae6
+c0007c75
+79200023
+da200aeb
+c000fc75
+da200b09
+c0017c75
+da200b27
+c001fc75
+20600000
+6fe10b5d
+c000fb2f
+6a210a93
+20207c75
+700bfa01
+700bec01
+6a210a95
+20207c75
+6fe08b57
+c0827ad2
+6fe08b59
+c0c0fad2
+6fe08b5b
+c0807ad2
+6fe08b5c
+c0807ad2
+6fe08b5f
+c080fad2
+6fe08b60
+c0807ad2
+6fe08b5d
+c0807ad2
+6fe08b5e
+c0807ad2
+da400001
+20207b5d
+6fe08b57
+c0017ad2
+6fe08b5b
+c0807ad2
+6fe08b5c
+c0807ad2
+6fe08b5f
+c0817ad2
+6fe08b60
+c0807ad2
+6fe08b5e
+c0807ad2
+6fe08b59
+c0407b58
+c040fb63
+c0417b67
+20207ad2
+700bef01
+20207b61
+6fe08b5d
+c0807ad2
+da400002
+6fe08bed
+c000fb56
+da200b51
+20207c77
+da200b53
+20207c77
+da200b55
+20207c77
+6fe08b57
+c0827ad2
+da400002
+20207b5d
+6fe08b57
+c0827ad2
+6fe08b5d
+c040fb74
+c0417b76
+c041fb78
+1fe17e7f
+c0007b70
+20207ad2
+6fe08bf0
+da400002
+c000fb5f
+20207b5d
+6fe08bf1
+20207b71
+6fe08bf2
+20207b71
+6fe08bf3
+20207b71
+700be701
+da200be8
+da400001
+20207c77
+6fe10b5b
+d84001ba
+98467c00
+2422fad2
+6fe08be4
+243a7b8c
+700ba100
+6fe08b5f
+98002400
+da200ba1
+20407c77
+d8a00ba1
+df200008
+20207d8c
+700be400
+700ba101
+20207b85
+6fe08b5f
+c080fad2
+700be901
+da400001
+6fe08beb
+c0007b97
+c000fb98
+20207b5d
+20207b5f
+20207b5d
+6fe08b57
+c0827ad2
+6fe08b5f
+c0807ad2
+6fe08b60
+c0807ad2
+6fe08b5c
+c0807ad2
+6fe08b5e
+c0807ad2
+6fe08b59
+c0007ba8
+c000fbb5
+c0017bb6
+20207ad2
+6fe08b5b
+c080fad2
+6ff08c00
+793ffe07
+67f08c00
+700bed00
+700bee01
+6fe08bef
+203a7ad6
+700bef00
+700bee00
+700bec02
+20207ad6
+20207ad2
+6fe08b5b
+c0807ad2
+6fe08b5d
+c040fbc1
+c0417bc4
+c041fbc6
+1fe17e7f
+c0007bbf
+20207ad2
+700bf000
+20207ad6
+700bf100
+700bfe01
+20207ad6
+700bf200
+20207bc2
+700bf300
+20207bc2
+6fe08b5f
+c0807ad2
+6fe08b60
+c0807ad2
+6fe08b59
+c0007bd1
+c000fbdf
+c0017be0
+20207ad2
+6fe08b5b
+c080fad2
+20403779
+6ff08c00
+79207e07
+67f08c00
+700bed01
+700bec03
+700be500
+20407ad6
+20407de8
+58001388
+d8e0000f
+20207ddb
+20207ad2
+6fe08b5b
+c0807ad2
+6fe08b5c
+c0807ad2
+6fe08b5d
+c040fbed
+c0417bef
+c041fbf1
+1fe17e7f
+c0007beb
+20207ad2
+700bf001
+20207ad6
+700bf101
+20207ad6
+700bf201
+20207ad6
+700bf301
+20207ad6
+6fe08b59
+c0807ad2
+6fe08b5d
+c0807ad2
+6fe08b5e
+c0807ad2
+6fe08b5f
+c0807ad2
+6fe08b60
+c0807ad2
+6fe08b5c
+c0807ad2
+6fe08b5b
+1fe17e80
+c0807ad2
+6fe08b5b
+c0807c0a
+700b5702
+6fe08b5b
+67f08c02
+20407ad6
+700bfd01
+20600000
+700b5703
+20207c05
+6fe08b57
+c0017ad2
+6fe08b59
+c0807ad2
+6fe08b5d
+c0807ad2
+6fe08b5e
+c0807ad2
+6fe08b5f
+c0807ad2
+6fe08b60
+c0807ad2
+6fe08b5c
+c0807ad2
+6fe08b5b
+1fe67c01
+24217ad2
+6fe08b57
+c001fc21
+c0027c21
+20207ad2
+6fe08b5b
+c0007c25
+700b5704
+20207ad6
+700b5703
+20207ad6
+6fe08b57
+c0827ad2
+6fe08b59
+c080fad2
+6fe08b5b
+c0807ad2
+6fe08b5c
+c0807ad2
+6fe08b5f
+c0807ad2
+6fe08b60
+c0807ad2
+6fe08b5d
+c0807ad2
+6fe08b5e
+c0807ad2
+20207ad6
+47484032
+700be701
+6fe08b5c
+67e08be8
+6fe08b5d
+1fe67c01
+2042fc46
+6fe08bec
+c0827ad6
+700bec02
+20407ad6
+20007530
+20007530
+20600000
+700bfa01
+700bee00
+700bec04
+20600000
+d8a00b61
+20407a7e
+700be301
+20407c5a
+6fe10b5b
+67e10be1
+20407ad6
+6fe0c09a
+c1820000
+6fe08be5
+207a0000
+6fe08b61
+67e0c8ce
+700be500
+7048be03
+20600000
+6fe10b5b
+d8400200
+98467c00
+24628000
+6fe10b5d
+d8400000
+98467c00
+24628000
+6fe10b5f
+d8400001
+98467c00
+24628000
+700be501
+20600000
+6fe08b5f
+c0807ad2
+6fe08b5b
+c0007c6e
+c000fc71
+20207ad2
+700bea00
+700beb01
+20207ad6
+700be601
+700bea01
+700beb00
+20207ad6
+ea408011
+1a20a201
+4748c032
+7920000e
+c591fc7c
+1a40a401
+1a43a400
+62210a90
+62408a92
+20207c81
+d8e00000
+20207cc1
+47494032
+6ff08c24
+c3800000
+6fe08a92
+207a0000
+1fe27200
+98000400
+6fe10b5f
+1fe67c40
+20217c8f
+1f267c40
+20217c93
+18007240
+20207c93
+9f267c00
+20217c93
+98007200
+67e08a92
+6fe08a92
+9f267e00
+67e08a92
+1f20ffff
+67e089fa
+c591fca5
+1fe37e00
+1f20ffff
+67e089fa
+c5877ca5
+793f800e
+e0408005
+58000003
+e7e08005
+1f20f3ff
+1f227e00
+2422fca5
+1f20f201
+6fe10a90
+1fe20c00
+efe08006
+e7e08005
+c591fcac
+58000000
+e7e08005
+c2007ca7
+18c27e00
+67e10a90
+580009fa
+67f10c09
+d8e00000
+20407cc1
+6fe08a92
+247a0000
+6fe08bec
+c1808000
+700bec02
+20600000
+d8e00001
+da200a3b
+62310c0b
+1f20ffff
+e7e08011
+efe08006
+e7e08005
+c2007cbe
+58000000
+f9207e00
+67f08c18
+20600000
+d8e00002
+da200a45
+62310c0d
+20207cbc
+4749c032
+6fe08bf9
+207a0000
+6fe08bfa
+203a7ced
+6fe08bec
+c001fd27
+c0817ced
+6fe08bee
+243a7ced
+20407cd5
+20207ce0
+6ff08c24
+c3808000
+6fe08bf9
+c4008000
+6fe08bf9
+793ffe01
+67e08bf9
+6fe08bf7
+207a0000
+c0087d0f
+2020137c
+6ff08c24
+c3810000
+6fe08bf9
+c4010000
+6fe08bf9
+793ffe02
+67e08bf9
+6fe08bf8
+207a0000
+c0107cf0
+c010fd0b
+c0117d13
+2020137c
+d8a00bff
+df200008
+20207d8c
+6fe08be7
+68488be9
+98417e00
+203a7d07
+68488bea
+9840fe00
+c000fcf8
+20207d07
+700bf800
+6fe08c00
+c0017d08
+c001fd08
+6fe08c00
+67e08bff
+6fe08c01
+e7e08005
+6fe08c03
+e7e08005
+6fe08c05
+e7e08005
+df200004
+d8c00bff
+20207cc5
+700bf800
+df200008
+d8c00bff
+20207cc5
+700bf800
+df200003
+d8c00c1f
+20207cc5
+700bf700
+df200008
+d8c00c0f
+20207cb9
+700bf800
+df200002
+d8c00c2f
+20207cc5
+6fe08bec
+c0017d1a
+20600000
+6ff08c00
+79207e07
+67f08c00
+700bfc01
+20600000
+6fe08bec
+c1018000
+c0017d23
+20600000
+6fe08bfc
+207a0000
+700bfb01
+20207d2a
+d8e0000f
+20407de9
+247a0000
+6ff08c00
+c4038000
+708c00fc
+20007530
+708c003c
+20600000
+1f267c00
+20628000
+1fe37e00
+c2007d32
+20600000
+18007e01
+1f267c00
+20628000
+1fe3fe00
+c2007d38
+20600000
+60a1097d
+604c0964
+6162096c
+20407d43
+60c1097b
+67210987
+60e10985
+20600000
+62220970
+62420974
+62618978
+20600000
+6fe1097d
+98000a00
+684c0964
+6962096c
+20407d51
+6f210987
+68e10985
+6fe1097b
+98000c00
+20600000
+6a220970
+6a420974
+6a618978
+20600000
+6fe1097d
+1fe20a00
+20600000
+6fe1097b
+1fe20c00
+20600000
+18a27e00
+67e1097d
+20600000
+18c27e00
+67e1097b
+20600000
+18a27e00
+67e10959
+18c27e00
+67e10957
+20600000
+6fe10959
+1fe20a00
+6fe10957
+1fe20c00
+20600000
+98462200
+20610000
+da200100
+9a20fe00
+98462200
+20600000
+20407d7d
+20407d7d
+20207d7d
+20407d79
+20407d79
+efe20006
+e7e20005
+20600000
+efe40006
+e7e40005
+20600000
+20407d7f
+20407d79
+20407d79
+20407d79
+20207d79
+1fe0ffff
+20000026
+243a7d81
+20600000
+df20000a
+20002ee0
+c2007d86
+20600000
+df200032
+20207d86
+18007203
+18007e00
+e7e40005
+c2007d8d
+20600000
+20407d91
+18007e00
+e7e40005
+20600000
+18007e00
+e7e20005
+20600000
+18007204
+20207d8c
+18007208
+20207d8c
+1f227e00
+207a0000
+58000000
+e7e08005
+c2007d9e
+20600000
+df200020
+d8a0098e
+20207d9b
+efe20013
+e8420011
+9842fe00
+e7e20005
+1a20a204
+1a60a604
+c2007da4
+20600000
+474a4032
+1f227e00
+1fe67c01
+20610000
+9a20a400
+1a40a5ff
+1f237200
+e8408011
+efe08012
+e7e08011
+e0408012
+1a40a5ff
+1a20a201
+c2007db3
+20600000
+1fef0400
+20407dc1
+18508400
+1ff07e00
+9841fe00
+20600000
+1ff10c00
+18d08c00
+1ff0fe00
+1ff07e00
+98c1fe00
+20600000
+1f227e00
+207a0000
+1f20f3f8
+20417d79
+20628000
+20217dc9
+1f20f208
+1f20f3fc
+20417d76
+20628000
+20217dce
+1f20f204
+20207dd4
+1f227e00
+207a0000
+efe08006
+e7e08005
+c2007dd6
+20600000
+58000000
+1c430400
+604a409c
+d8a041aa
+98000400
+18e3fe00
+98a08a00
+e0410005
+474ac032
+20600000
+d9600800
+19701600
+9960fe00
+20600000
+d8e00000
+474b4032
+684a409c
+1c437e00
+67e2409c
+98467c00
+24417de4
+98461600
+19620400
+d8c041aa
+18c20a00
+df200010
+efe10006
+98467e00
+20217df8
+18007e00
+e7e10005
+c2007df4
+d8c041aa
+18e3fe00
+98c08c00
+efe10006
+20600000
+98408400
+18427200
+6fe10163
+9f267e00
+20610000
+1fe67e00
+18510400
+18408401
+18500400
+98418400
+20600000
+20407e0c
+20207e19
+78547c00
+98467e00
+20217e11
+78347c00
+1fe67e00
+c4078000
+1fe22800
+d8410000
+6fe10163
+98467e00
+9a80fe00
+793ffe40
+20600000
+68490163
+98000c00
+1ff17e00
+984ffe00
+98c0fe00
+20600000
+1fed7e00
+1ff27e00
+6849c174
+9846fc00
+20407e64
+18078400
+20600000
+68490163
+9846fc00
+20407e61
+1ff07e00
+18070400
+98418400
+20600000
+d8400000
+18422800
+efe08003
+20407e39
+1a820400
+20407e73
+da40000a
+9a4ffe00
+9840fe00
+1fe20400
+c2007e2e
+20600000
+d840003a
+98467c00
+24217e42
+d8400061
+98467c00
+20217e45
+d8400037
+98467e00
+20600000
+d8400030
+98467e00
+20600000
+d8400057
+98467e00
+20600000
+18426000
+580001ff
+18002400
+1fe92200
+1a232200
+9a22a200
+2a2ffe00
+7920fe09
+18430400
+2feffe00
+79208407
+1fe37e00
+1a40a401
+2a400e00
+2420fe4b
+e0408005
+c2007e4b
+1e020400
+20600000
+58000000
+1f222200
+e8410006
+9840fe00
+c2007e5d
+9a26fc00
+20407e64
+1807fe00
+20600000
+207a8000
+20207e64
+efe08011
+e8408012
+98467c00
+24628000
+1a20a201
+1a40a401
+c2007e66
+18007c00
+20600000
+98467c00
+24610000
+18427e00
+20600000
+9840fe00
+98460400
+98467e00
+20600000
+df200200
+d8a04000
+20207d8c
+207a0000
+1fe27a00
+6ff1010e
+243a7e7c
+20600000
+70820301
+20600000
+67f10205
+6ff08203
+79207e04
+67f08203
+20600000
+67f10207
+6ff08203
+79207e06
+67f08203
+20600000
+67f10205
+70820330
+20600000
+6ff08043
+793ffe04
+67f08043
+20600000
+6ff1010e
+d8400200
+98467c00
+20600000
+474bc032
+e8440011
+18417eff
+243a7e9c
+184cfe00
+e7e40011
+1a20a207
+efe08011
+243a137c
+6fe0895b
+e7e08011
+20600000
+474c4033
+df200008
+efe40011
+207a0000
+efe08011
+243a7eab
+1a20a201
+c2007ea6
+2020137c
+d8400000
+e0408011
+20600000
+efe40011
+20600000
+efe08011
+20600000
+efe10011
+20600000
+d8400000
+6fe08006
+c2007eb5
+18408401
+c2007eb5
+18427e00
+20600000
+98467c00
+24610000
+18427e00
+20600000
+18007dff
+20600000
+18007c01
+20600000
+18007c00
+20600000
+78347c00
+20600000
+78547c00
+20600000
+78367c00
+20600000
+78567c00
+20600000
+7838fc00
+20600000
+58000001
+20600000
+58000000
+20600000
+1f267c00
+20628000
+e8408006
+9840fe00
+c2007ed5
+20600000
+1f227e00
+207a0000
+18c27e00
+9f20fe00
+1fe0ffff
+1fe20c00
+efe08006
+18c08dfe
+e7e08005
+c2007edf
+20600000
+19622400
+da609420
+18007224
+18005600
+18006e00
+20407ef9
+52207e00
+9d60d600
+50407e00
+9ee0ee00
+1a40a404
+1a60a602
+c2007ee9
+55607e00
+d8400024
+20407f45
+e7e20005
+56e07e00
+20407f45
+e7e20005
+20600000
+edc10012
+eb808013
+20407f2a
+98482200
+eb808006
+20347f00
+1b863800
+1a408c02
+edc10006
+20407f2a
+98483000
+52207e00
+9b062200
+edc10012
+55c07e00
+98483000
+edc10006
+eb808013
+20407f2a
+98480400
+53007e00
+98408400
+20600000
+efe20012
+ea220013
+9a285600
+ea220006
+52206e00
+1a408c04
+efe20006
+9a280400
+55607e00
+98465600
+efe20012
+9ee86e00
+efe20006
+ea220013
+9a287e00
+9ee0ee00
+20600000
+1ff07e00
+1feb7e00
+20600000
+1fed7e00
+20207f22
+9feffe00
+1ff1fe00
+1fe97e00
+20600000
+55c07e00
+53800400
+20600000
+c40f8000
+18000400
+79200420
+184085ff
+9842fe00
+1fe0fe01
+20600000
+98002200
+db000000
+7920301e
+da400000
+df200010
+1b027e00
+9a40fe00
+1a432400
+9a267e00
+2022ff3f
+20217f42
+1fe62200
+1b027e00
+9a41a400
+1b0b3000
+c2007f39
+20600000
+793f802c
+c31fff49
+7920002c
+1fe67e00
+284c003f
+2020ff4d
+7940002c
+18460400
+9846fc00
+20407e61
+c6960000
+1fe67e00
+20600000
+58000000
+79207e13
+67e4009e
+20600000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00008120
Index: output/sched.rom
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/output/sched.rom	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/output/sched.rom	(working copy)
@@ -0,0 +1,94 @@
+mem_patch00:
+01   #mem_patch00
+00   #mem_patch01
+00   #mem_patch02
+00   #mem_patch03
+00   #mem_patch04
+00   #mem_patch05
+00   #mem_patch06
+00   #mem_patch07
+00   #mem_patch08
+00   #mem_patch09
+00   #mem_patch0a
+00   #mem_patch0b
+00   #mem_patch0c
+00   #mem_patch0d
+00   #mem_patch0e
+00   #mem_patch0f
+00   #mem_patch10
+08   #mem_patch11
+00   #mem_patch12
+00   #mem_patch13
+00   #mem_patch14
+00   #mem_patch15
+00   #mem_patch16
+00   #mem_patch17
+00   #mem_patch18
+00   #mem_patch19
+00   #mem_patch1a
+00   #mem_patch1b
+40   #mem_patch1c
+00   #mem_patch1d
+00   #mem_patch1e
+00   #mem_patch1f
+00   #mem_patch20
+00   #mem_patch21
+00   #mem_patch22
+00   #mem_patch23
+00   #mem_patch24
+00   #mem_patch25
+00   #mem_patch26
+00   #mem_patch27
+00   #mem_patch28
+00   #mem_patch29
+00   #mem_patch2a
+00   #mem_patch2b
+00   #mem_patch2c
+00   #mem_patch2d
+00   #mem_patch2e
+00   #mem_patch2f
+00   #mem_patch30
+00   #mem_patch31
+00   #mem_patch32
+00   #mem_patch33
+00   #mem_patch34
+00   #mem_patch35
+00   #mem_patch36
+00   #mem_patch37
+00   #mem_patch38
+00   #mem_patch39
+00   #mem_patch3a
+00   #mem_patch3b
+00   #mem_patch3c
+00   #mem_patch3d
+00   #mem_patch3e
+00   #mem_patch3f
+
+
+
+mem_le_lap:17 31 20 98 07 2a
+mem_le_name_len:
+'AB Shutter3
+
+#mem_shutter_key_conf0_temp
+#2 mem_shutter_key_conf0_temp
+#1 mem_shutter_led_struct_app_led_gpio_temp
+#1 mem_shutter_hard_soft_switch_case_temp
+#1 mem_shutter_soft_switch_button_gpio_temp
+mem_shutter_key_conf0_temp:12 07 04 01 07
+
+
+
+#with eeprom
+mem_device_option:09
+mem_lpm_ctrim:1f		#xtal offset
+mem_lpm_xtalcnt:70
+#mem_dig_aon_vsel:00
+#hw agc
+mem_gain_fix:ff
+#mem_gain_second_agc_en:00
+
+mem_tx_power:06
+
+
+
Index: program/app.prog
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/program/app.prog	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/program/app.prog	(working copy)
@@ -0,0 +1,592 @@
+app_init:
+	bpatch patch15_5,mem_patch15
+	fetch 1,mem_device_option
+	branch app_init,blank				/* wait ram to be initialized */
+	beq dvc_op_dongle,dongle_init
+	beq dvc_op_antilost,antilost_init
+	beq dvc_op_shutter,shutter_init
+	beq dvc_op_module,module_init
+	beq dvc_op_car,car_init
+	beq dvc_op_remote_car,remote_car_init
+	beq dvc_op_hci_boot,hci_init
+	beq dvc_op_ali_mesh,ali_mesh_init
+ifdef COMPLIE_TEST_CODE	
+	beq dvc_op_test,test_init
+endif	
+	beq dvc_op_mouse,mouse_init
+	rtn
+	
+app_lpm_init:
+	jam 0,mem_tester_emulate
+	jam 0,mem_debug_config
+	jam 0, mem_lch_code
+	setarg 0
+	store 5,mem_sp_state_start
+	fetch 1,mem_device_option
+	branch app_lpm_init,blank				/* wait ram to be initialized */
+	beq dvc_op_module,module_lpm_init
+app_lpm_init0:
+	rtn
+
+app_param_init:
+	rtn wake
+	call app_read_efuse_sys_config
+	call app_read_efuse_dig_aon_vsel
+	call app_read_efuse_syn_afc_cfg1
+	call app_read_efuse_rf_ldo_cfg1
+	call app_read_efuse_rc_cal
+	call app_read_efuse_agc
+	call adc_init_data
+	fetch 1,mem_device_option
+	beq dvc_op_shutter,shutter_default_init
+	beq dvc_op_dongle,dongle_default_init
+	beq dvc_op_mouse,mouse_default_init
+	beq dvc_op_remote_car,remote_car_default_init
+	rtn
+
+app_sys_param_init:	
+	jam 0xff,mem_rf_init_data
+	setarg mem_rf_init_data
+	store 2,mem_rf_init_ptr
+	//sys init
+	jam 0xff,mem_ui_button_gpio
+	jam 0x88,mem_lpm_xtal_ib
+	jam 0xce,mem_lpm_padding
+	rtn
+
+
+	
+app_process_idle:
+	call ui_dispatch
+	call check_51cmd
+	call app_process_bb_event
+	fetch 2,mem_cb_idle_process
+	branch callback_func
+	
+app_process_bt:
+	fetch 2,mem_cb_bt_process
+	branch callback_func
+	
+app_process_ble:
+	fetch 2,mem_cb_le_process
+	branch callback_func
+
+app_process_bb_event:
+	bpatch patch15_6,mem_patch15
+	//return if c51 need to process bb event
+	arg mem_ipc_fifo_bt2c51,rega
+	call fifo_out
+	rtn blank
+	//reaching here mains c51 cannot get bb event.
+	copy pdata,regc
+	call app_event_normal_process
+	branch app_process_bb_event_priority
+	
+app_discard_event:
+	arg 0,regc
+	rtn
+
+//************************************************//
+//*APP BB EVENT NORMAL PROCESS**//
+//************************************************//
+app_event_normal_process:
+	beq BT_EVT_BB_CONNECTED,app_evt_bt_conn
+	beq BT_EVT_BUTTON_LONG_PRESSED,app_evt_button_long_pressed
+	beq BT_EVT_SETUP_COMPLETE,app_evt_setup_complete
+	beq BT_EVT_HID_HANDSHAKE,app_evt_hid_handshake
+	beq BT_EVT_HID_CONNECTED,app_bb_event_hid_connected
+	beq BT_EVT_RECONN_FAILED,app_bb_event_reconn_failed
+	beq BT_EVT_BB_DISCONNECTED,app_bb_event_bb_disconn
+	beq BT_EVT_RECONN_PAGE_TIMEOUT,app_bb_event_reconn_failed	
+	beq BT_EVT_LE_CONNECTED,app_le_event_bb_connected
+	beq BT_EVT_LE_DISCONNECTED,app_le_event_bb_disconn
+	beq BT_EVT_RECONN_STARTED,app_event_reconn_start
+	beq BT_EVT_ENTER_SNIFF,app_event_enter_sniff
+	beq BT_EVT_EXIT_SNIFF,app_event_exit_sniff
+	
+	beq BT_EVT_ML2CAP_CONN_REFUSED,app_event_ml2cap_conn_refused
+	beq BT_EVT_LINKKEY_GENERATE,app_event_linkkey_generate
+	beq BT_EVT_SWITCH_FAIL_MASTER,app_event_switch_fail_master
+	beq BT_EVT_SWITCH_SUCCESS_MASTER,app_event_switch_success
+	rtn
+
+
+app_evt_bt_conn:
+	fetch 2,mem_ui_state_map
+	set1 UI_STATE_BT_CONNECTED,pdata
+	store 2,mem_ui_state_map
+	fetch APP_DISC_RSN_SIZE,mem_app_disconn_reason_flag
+	set0 APP_DISC_BY_BUTTON ,pdata
+	store APP_DISC_RSN_SIZE,mem_app_disconn_reason_flag
+	branch check_51cmd_stop_discovery
+
+app_event_switch_success:
+	jam 0,mem_switch_fail_master_count
+	rtn	
+
+app_event_switch_fail_master:
+	fetch 1,mem_switch_fail_master_count
+	increase 1,pdata
+	store 1,mem_switch_fail_master_count
+	sub pdata,1,null
+	branch app_bt_role_switch,positive
+	jam 0,mem_switch_fail_master_count
+	fetch APP_DISC_RSN_SIZE,mem_app_disconn_reason_flag
+	set1 APP_DISC_SWITCH_FAIL,pdata
+	store APP_DISC_RSN_SIZE,mem_app_disconn_reason_flag
+	branch app_bt_disconnect
+	
+app_process_bb_event_priority:
+	fetch 2,mem_cb_bb_event_process
+	branch callback_func
+
+app_check_wake_lock:
+	fetch 2,mem_cb_check_wakelock
+	branch callback_func
+	
+app_will_enter_lpm:
+	fetch 2,mem_cb_before_lpm
+	branch callback_func
+
+app_event_linkkey_generate:
+	fetch APP_DISC_RSN_SIZE,mem_app_disconn_reason_flag
+	set1 APP_DISC_AFTER_PAIRING ,pdata
+	store APP_DISC_RSN_SIZE,mem_app_disconn_reason_flag
+	branch app_bt_store_reconn_info
+	
+app_event_reconn_start:
+	fetch 2,mem_ui_state_map
+	set1 UI_STATE_BT_RECONNECT,pdata
+	store 2,mem_ui_state_map
+	fetch APP_DISC_RSN_SIZE,mem_app_disconn_reason_flag
+	set1 APP_DISC_AFTER_RECONN,pdata
+	store APP_DISC_RSN_SIZE,mem_app_disconn_reason_flag
+	rtn
+
+app_evt_setup_complete:
+	fetch 2,mem_ui_state_map
+	set1 UI_STATE_BT_SETUP_COMPLETE,pdata
+	store 2,mem_ui_state_map
+	fetch APP_DISC_RSN_SIZE,mem_app_disconn_reason_flag
+	set1 APP_DISC_AFTER_SETUP_DONE,pdata
+	store APP_DISC_RSN_SIZE,mem_app_disconn_reason_flag
+	rtn
+
+app_evt_hid_handshake:
+	fetch 2,mem_ui_state_map
+	set1 UI_STATE_BT_HID_HANDSHAKE,pdata
+	store 2,mem_ui_state_map
+	rtn
+	
+app_event_enter_sniff:
+	fetch 2,mem_ui_state_map
+	set1 UI_STATE_BT_SNIFF,pdata
+	store 2,mem_ui_state_map
+	fetch APP_DISC_RSN_SIZE,mem_app_disconn_reason_flag
+	set1 APP_DISC_AFTER_SNIFF,pdata
+	store APP_DISC_RSN_SIZE,mem_app_disconn_reason_flag
+	rtn
+	
+app_event_exit_sniff:
+	fetch 2,mem_ui_state_map
+	set0 UI_STATE_BT_SNIFF,pdata
+	store 2,mem_ui_state_map
+	rtn
+
+app_le_event_bb_connected:
+	fetch 2,mem_ui_state_map
+	set1 UI_STATE_BLE_CONNECTED,pdata
+	store 2,mem_ui_state_map
+	rtn
+	
+app_le_event_bb_disconn:
+	jam 0,mem_le_l2cap_att_states
+	fetch 2,mem_ui_state_map
+	set0 UI_STATE_BLE_CONNECTED,pdata
+	store 2,mem_ui_state_map
+	branch app_lpm_mult_disable
+	
+app_bb_event_hid_connected:
+	fetch 2,mem_ui_state_map
+	set1 UI_STATE_BT_HID_CONN,pdata
+	store 2,mem_ui_state_map
+	rtn
+
+app_evt_button_long_pressed:
+	fetch APP_DISC_RSN_SIZE,mem_app_disconn_reason_flag
+	set1 APP_DISC_BY_BUTTON,pdata
+	store APP_DISC_RSN_SIZE,mem_app_disconn_reason_flag
+	rtn
+	
+app_event_ml2cap_conn_refused:
+	fetch APP_DISC_RSN_SIZE,mem_app_disconn_reason_flag
+	set1 APP_DISC_L2CAP_REFUSED,pdata
+	store APP_DISC_RSN_SIZE,mem_app_disconn_reason_flag
+	branch  app_bt_disconnect
+
+
+app_evt_timer:
+	store 1,mem_app_evt_timer_count
+app_evt_100ms_loop:
+	bpatch patch15_7,mem_patch15
+	fetch 1,mem_app_evt_timer_count
+	rtn blank
+	increase -1,pdata
+	store 1,mem_app_evt_timer_count
+	call ui_button_polling
+	call app_lpm_wake_auto_lock_timer
+	call app_unsniff_delay_timer
+	call app_discovery_timer
+	call flash_write_spi_sm_timer
+ifdef SPI2	
+	call flash_write_spi2_sm_timer
+endif	
+	fetch 2,mem_cb_event_timer
+	call callback_func
+	branch app_evt_100ms_loop
+
+
+//regc:timer addr
+//regb:timer up call back fuction
+timer_single_step:
+	ifetch 1,regc
+	rtn blank
+	pincrease -1
+	istore 1,regc
+	nrtn blank
+	copy regb,pdata
+	branch callback_func
+
+//regc:timer addr
+//regb:timer up call back fuction
+timer_single_step_2B:
+	ifetch 2,regc
+	rtn blank
+	pincrease -1
+	istore 2,regc
+	nrtn blank
+	copy regb,pdata
+	branch callback_func
+	
+app_power_timer:
+	fetcht 2,mem_power_param_ptr
+	add temp,power_timer_offset,regc
+	arg app_power_timer_timeout,regb
+	branch timer_single_step
+	
+app_power_timer_timeout:
+	call app_got_power_state_common
+	beq POWER_STARTING,app_enter_power_stanby_state
+app_enter_power_off_state:
+	branch app_enter_hibernate
+app_enter_power_stanby_state:
+	setarg POWER_STANDBY
+	istore 1,regc
+	add temp,power_standby_cb_offset,regb
+app_power_cb_common:
+	ifetch 2,regb
+	branch callback_func
+
+app_unsniff_delay_timer:
+	arg mem_unsniff2sniff_timer_count,regc
+	arg app_unsniff_delay_timeout,regb
+	branch timer_single_step
+	
+app_unsniff_delay_timeout:
+	call context_check_idle
+	branch app_bt_enter_sniff,zero
+	rtn
+
+
+app_discovery_timer:
+	arg mem_discovery_timeout_timer_count,regc
+	arg app_discovery_timeout,regb
+	branch timer_single_step_2B
+	
+app_discovery_timeout:
+	call app_bt_stop_discovery
+	call app_led_off
+	fetch 2,mem_cb_discovry_timeout
+	branch callback_func
+
+	
+app_bb_event_reconn_failed:
+	call app_disconn_reason_flag_clear
+app_clear_reconnect_flag:
+	fetch 2,mem_ui_state_map
+	set0 UI_STATE_BT_RECONNECT,pdata
+	store 2,mem_ui_state_map
+	rtn
+
+app_bb_event_bb_disconn:
+	jam 0,mem_unsniff2sniff_timer_count
+	fetch 2,mem_ui_state_map
+	bbit1 UI_STATE_BT_RECONNECT,app_bb_event_bb_reconn_disconn
+	isolate0 UI_STATE_BT_SETUP_COMPLETE,pdata
+ 	call app_discard_event,true
+app_bb_event_bb_reconn_disconn:
+	bpatch patch16_0,mem_patch16
+	fetch 2,mem_ui_state_map
+	set0 UI_STATE_BT_CONNECTED,pdata
+	set0 UI_STATE_BT_SETUP_COMPLETE,pdata
+	set0 UI_STATE_BT_HID_CONN,pdata
+	set0 UI_STATE_BT_HID_HANDSHAKE,pdata
+	set0 UI_STATE_BT_RECONNECT,pdata
+	store 2,mem_ui_state_map
+	branch app_lpm_mult_disable
+	
+app_bb_hibernate:
+	call app_disconn_reason_clear
+	branch app_enter_hibernate
+
+	
+app_disconn_reason_clear:
+	setarg 0
+	store APP_DISC_RSN_SIZE,mem_app_disconn_reason
+	rtn
+app_disconn_reason_flag_clear:
+	setarg 0
+	store APP_DISC_RSN_SIZE,mem_app_disconn_reason_flag
+	rtn
+
+app_disconn_reason_collect_bt:
+	fetch APP_DISC_RSN_SIZE,mem_app_disconn_reason_flag
+	store APP_DISC_RSN_SIZE,mem_app_disconn_reason
+	setarg 0
+	store APP_DISC_RSN_SIZE,mem_app_disconn_reason_flag
+	rtn
+	
+app_disconn_reason_collect_ble:
+	fetch APP_DISC_RSN_SIZE,mem_app_disconn_reason_flag
+	set1 APP_DISC_BLE,pdata
+	store APP_DISC_RSN_SIZE,mem_app_disconn_reason
+	setarg 0
+	store APP_DISC_RSN_SIZE,mem_app_disconn_reason_flag
+	rtn
+
+	
+//************************************************//
+//********APP SHARED FUNCSIONS*******//
+//************************************************//
+
+
+app_check_sniff:
+	fetch 1,mem_ui_state_map
+	isolate1 UI_STATE_BT_SNIFF,pdata
+	rtn
+
+//*****************************************//
+//*****************API********************//
+//*****************************************//
+app_start_auto_sniff:
+	fetch 1,mem_unsniff2sniff_timer
+	store 1,mem_unsniff2sniff_timer_count
+	rtn
+	
+app_get_lpm_wake_lock:
+	arg wake_lock_app,queue
+	branch lpm_get_wake_lock
+
+app_put_lpm_wake_lock:
+	arg wake_lock_app,queue
+	branch lpm_put_wake_lock
+	
+app_lpm_wake_auto_lock:
+	jam  LPM_WAKE_UP_DELAY_TIMER,mem_wake_up_delay_timer
+	branch app_get_lpm_wake_lock
+	
+app_lpm_wake_auto_lock_timer:
+	arg mem_wake_up_delay_timer,regc
+	arg app_put_lpm_wake_lock,regb
+	branch timer_single_step
+
+app_l2cap_flow_control_enable:
+	jam L2CAP_FLOW_CTRL_ENABLE,mem_l2cap_flow_ctrl_flag
+	rtn
+
+app_l2cap_flow_control_disable:
+	jam L2CAP_FLOW_CTRL_DISABLE,mem_l2cap_flow_ctrl_flag
+	rtn
+	
+app_bt_set_pincode:
+	jam BT_CMD_SET_PIN_CODE,mem_fifo_temp
+	branch ui_ipc_send_cmd
+
+app_bt_role_switch:
+	jam BT_CMD_ROLE_SWITCH,mem_fifo_temp
+	branch ui_ipc_send_cmd
+	
+app_bt_start_reconnect:
+	bpatch patch16_1,mem_patch16
+	fetch 1,mem_app_connection_options
+	store 1,mem_connection_options
+	jam APP_FLAG_RECONNECT,mem_reconnect_flag
+	jam BT_CMD_RECONNECT,mem_fifo_temp
+	branch ui_ipc_send_cmd	
+	
+app_bt_reconnect_cancel:
+	jam BT_CMD_BB_RECONN_CANCEL,mem_fifo_temp
+	branch ui_ipc_send_cmd
+	
+app_bt_disconnect:
+	jam BT_CMD_DISCONNECT,mem_fifo_temp
+	branch ui_ipc_send_cmd	
+
+app_bt_start_discovery_short:
+	fetch 2,mem_discovery_timeout
+	store 2,mem_discovery_timeout_timer_count
+app_bt_start_discovery_led_blink:
+	call app_led_start_blink
+app_bt_start_discovery:
+	jam BT_CMD_START_DISCOVERY,mem_fifo_temp
+	branch ui_ipc_send_cmd
+
+app_bt_stop_discovery:
+	setarg 0
+	store 2,mem_discovery_timeout_timer_count
+	jam BT_CMD_STOP_DISCOVERY,mem_fifo_temp
+	branch ui_ipc_send_cmd
+	
+app_ble_start_direct_adv:
+	jam BT_CMD_START_DIRECT_ADV,mem_fifo_temp
+	branch ui_ipc_send_cmd
+
+app_ble_stop_direct_adv:
+	jam BT_CMD_STOP_DIRECT_ADV,mem_fifo_temp
+	branch ui_ipc_send_cmd
+	
+app_ble_stop_adv:
+	jam BT_CMD_STOP_ADV,mem_fifo_temp
+	branch ui_ipc_send_cmd
+	
+app_ble_start_adv:	
+	jam BT_CMD_START_ADV,mem_fifo_temp
+	branch ui_ipc_send_cmd
+	
+app_ble_start_scan:
+	jam BT_CMD_LE_START_SCAN,mem_fifo_temp
+	branch ui_ipc_send_cmd
+	
+app_ble_stop_scan:
+	jam BT_CMD_LE_STOP_SCAN,mem_fifo_temp
+	branch ui_ipc_send_cmd
+	
+app_ble_start_conn:
+	jam BT_CMD_LE_START_CONN,mem_fifo_temp
+	branch ui_ipc_send_cmd
+	
+app_ble_disconnect:
+	jam BT_CMD_LE_DISCONNECT,mem_fifo_temp
+	branch ui_ipc_send_cmd
+	
+app_led_start_blink:	
+	jam BT_CMD_LED_BLINK,mem_fifo_temp
+	branch ui_ipc_send_cmd
+
+app_led_on:
+	jam BT_CMD_LED_ON,mem_fifo_temp
+	branch ui_ipc_send_cmd
+	
+app_led_stop_blink:
+app_led_off:
+	jam BT_CMD_LED_OFF,mem_fifo_temp
+	branch ui_ipc_send_cmd
+	
+app_enter_hibernate:
+	jam BT_CMD_ENTER_HIBERNATE,mem_fifo_temp 
+	branch ui_ipc_send_cmd
+	
+app_bt_sniff_exit:
+	jam BT_CMD_EXIT_SNIFF,mem_fifo_temp
+	branch  ui_ipc_send_cmd
+	
+app_bt_enter_sniff:
+	jam BT_CMD_ENTER_SNIFF,mem_fifo_temp
+	branch ui_ipc_send_cmd
+
+app_ble_store_reconn_info:
+	jam BT_CMD_STORE_RECONN_INFO_LE,mem_fifo_temp
+	branch ui_ipc_send_cmd
+
+app_bt_store_reconn_info:
+	jam BT_CMD_STORE_RECONN_INFO_BT,mem_fifo_temp
+	branch ui_ipc_send_cmd
+
+app_store_reconn_info:
+	jam BT_CMD_STORE_RECONN_INFO,mem_fifo_temp
+	branch ui_ipc_send_cmd
+
+app_lpm_mult_enable:
+	set1 mark_lpm_mult_enable,mark
+	rtn
+
+app_lpm_mult_disable:
+	set0 mark_lpm_mult_enable,mark
+	rtn
+
+
+/*
+
+mem_power_param struct
+{
+	usigned char     mem_power_state
+	usigned char     mem_power_timer
+	usigned char	 mem_power_off_timeout
+	usigned char	 mem_power_starting_timeout
+	usigned long	 mem_power_off_cb
+	usigned long	 mem_power_starting_cb
+	usigned long	 mem_power_standby_cb
+	usigned long 	 mem_ui_butten_up_cb
+}
+    	functions:power state switching by mem_app_power_timer timeout or by button_long_pressed event
+    	(power off -> power starting->power standby->power off) and power timer initialization 
+ input parameters:mem_power_param_ptr should be point to the variable(mem_power_param) address where the input parameters stored in with its format
+output parameters:switched power state will be stored in variable mem_power_state*/
+app_button_long_pressed:
+	call app_got_power_state_common
+	beq POWER_STANDBY,app_power_shutting_down
+app_power_starting:
+	setarg POWER_STARTING
+	istore 1,regc
+	add temp,power_starting_timeout_offset,rega
+	add temp,power_starting_cb_offset,regb
+app_power_common:
+	ifetcht 1,rega
+	increase 1,regc
+	istoret 1,regc
+	branch app_power_cb_common
+	
+app_power_shutting_down:
+	setarg POWER_OFF
+	istore 1,regc
+	fetch 2,mem_ui_state_map
+	bbit0 UI_STATE_BLE_CONNECTED,app_power_off_end
+	call le_send_terminate_ind_user_terminated
+	call app_ble_disconnect
+app_power_off_end:
+	fetcht 2,mem_power_param_ptr
+	add temp,power_off_timeout_offset,rega
+	add temp,power_off_cb_offset,regb
+	branch app_power_common
+	
+app_got_power_state_common:
+	fetcht 2,mem_power_param_ptr
+	add temp,power_state_offset,regc
+	ifetch 1,regc
+	rtn
+
+app_event_button_up:
+	call app_got_power_state_common
+	bne POWER_OFF,app_power_release
+	branch app_enter_hibernate
+app_power_release:
+	add temp,ui_butten_up_cb_offset,regb
+	branch app_power_cb_common
+
+
+app_hid_connected:
+	setarg HID_HANDSHAKE_TIMEOUT
+	store 1,mem_hid_handshake_timer_count
+	rtn
+
+
Index: program/app_antiLost.prog
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/program/app_antiLost.prog	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/program/app_antiLost.prog	(working copy)
@@ -0,0 +1,609 @@
+ifdef COMPILE_ANTILOST
+antilost_init:
+	rtn wake	
+	setarg antilost_le_before_hibernate
+	store 2,mem_cb_before_hibernate
+	setarg keyscan_process_lpm_before
+	store 2,mem_cb_before_lpm
+	setarg antilost_idle_process	//
+	store 2,mem_cb_idle_process
+	setarg antilost_le_conn_process	//
+	store 2,mem_cb_le_process
+	setarg antilost_bb_event_process 
+	store 2,mem_cb_bb_event_process
+	setarg antilost_le_bb_event_timer
+	store 2,mem_cb_event_timer
+	setarg antilost_le_notification
+	store 2,mem_cb_ble_transmit
+	setarg antilost_lpm_lock_process
+	store 2,mem_cb_check_wakelock
+	setarg antilost_le_receive_data_process
+	store 2,mem_cb_att_write
+	bpatch patch16_2,mem_patch16
+	
+	call antilost_buzzer_pwm_init
+	call antilost_set_ble_version
+	call keyscan_key_init
+	call antilost_adc_init
+	call ui_led_init_global
+	call ui_button_init
+	setarg antilost_key_up_down
+	store 2,mem_cb_antl_key
+	setarg antilost_power_off_cb
+	store 2,mem_antl_power_off_cb
+	setarg antilost_power_starting_cb
+	store 2,mem_antl_power_starting_cb
+	setarg antilost_power_standby_cb
+	store 2,mem_antl_power_standby_cb
+	setarg antilost_led_on_cb
+	store 2,mem_antl_led_cb_on
+	setarg antilost_led_off_cb
+	store 2,mem_antl_led_cb_off
+	setarg antilost_buzzer_on
+	store 2,mem_antl_buzzer_cb_on
+	setarg antilost_buzzer_off
+	store 2,mem_antl_buzzer_cb_off
+	fetch 2,mem_ui_state_map
+	rtnbit1 UI_STATE_BTN_DOWN
+	branch app_enter_hibernate
+
+antilost_set_ble_version:
+	//set ble version  4.1 
+	jam 7,mem_lmp_version
+	rtn
+
+
+antilost_le_before_hibernate:
+	call antilost_led_buzzer_stop_blink
+	branch  app_enter_hibernate
+
+antilost_le_notification:
+	call le_fifo_check_nearly_full
+	nrtn blank
+	arg mem_temp_block5,rega
+	call queue_pop
+	nrtn user
+	arg mem_temp_block5,contr
+	branch le_send_notify_from_list
+
+antilost_power_standby_cb:
+	fetch 2,mem_antl_le_sleep_timeout
+	store 2,mem_antl_le_sleep_timer
+	jam 1,mem_antl_key_scan_enable
+	branch antilost_fast_adv_start
+	
+antilost_lpm_lock_process:
+	fetch 1,mem_antl_key_state
+	beq 1,antilost_lpm_ctrl_for_led_buzzer
+	fetch 2,mem_ui_state_map
+	bbit0 UI_STATE_BLE_CONNECTED,antilost_lpm_ctrl_for_led_buzzer
+	fetch 1,mem_antl_lost_mode
+	beq 1,app_get_lpm_wake_lock
+	fetch 1, mem_antl_queue_curr_num
+	nbranch app_get_lpm_wake_lock,blank 
+	branch app_put_lpm_wake_lock
+	
+antilost_lpm_ctrl_for_led_buzzer:
+	fetch 1,mem_antl_led_state
+	fetcht 1,mem_antl_buzzer_state
+	ior temp,pdata
+	beq 1,app_get_lpm_wake_lock
+	branch app_put_lpm_wake_lock
+
+antilost_bb_event_process:
+	copy regc,pdata
+	beq BT_EVT_BUTTON_UP,app_event_button_up
+	beq BT_EVT_BUTTON_LONG_PRESSED,app_button_long_pressed
+	beq BT_EVT_LE_CONNECTED,antilost_le_process_conn
+	beq BT_EVT_LE_DISCONNECTED,antilost_le_process_discon
+	beq BT_EVT_LE_PARSE_CONN_PAPA_UPDATE_RSP,antilost_le_conn_param_update_rsp_recieved
+	beq BT_EVT_LE_PARSE_CONN_PARAM_ACCEPTED,antilost_le_conn_param_accepted
+	rtn
+antilost_le_conn_param_update_rsp_recieved:
+	call antilost_le_conn_param_updata_judge
+	fetch 2,mem_le_l2cap_signaling_conn_param_update_rsp_result
+	beq BLE_SIGNALING_CONNECT_PARAMETER_UPDATE_REJECTED,antilost_le_conn_param_rejected
+antilost_le_conn_param_updata_procedure_sucsess:
+	jam CONN_PARAM_UPDATA_PROCEDURE_COMPLETE,mem_antl_conn_updata_procedure_state
+	jam 60,mem_antl_conn_update_timer
+	rtn
+antilost_le_conn_param_updata_judge:
+	fetch 1,mem_le_state
+	rtnbit1 lestate_update_param
+	jam 1,mem_lestate_update_param_flag
+	rtn
+
+	
+antilost_le_conn_param_accepted:
+	fetch 1,mem_lestate_update_param_flag
+	rtn blank
+	jam 0,mem_lestate_update_param_flag
+	fetch 2,mem_le_new_connslavelatency
+	branch antilost_master_nonsupport_latency,blank
+	rtn
+
+antilost_le_conn_param_rejected:
+	fetch 2,mem_le_latency
+	branch antilost_conn_param_updata_procedure_faild,blank
+antilost_conn_param_retransimiting:
+	jam CONN_PARAM_UPDATA_PROCEDURE_STARTING,mem_antl_conn_updata_procedure_state
+	fetcht 2,mem_interval_increment
+	fetch 2,mem_le_interval_min
+	iadd temp,pdata
+	store 2,mem_le_interval_min
+	copy pdata,rega
+	fetch 2,mem_le_interval_max
+	iadd temp,pdata
+	store 2,mem_le_interval_max
+	iadd rega,pdata
+	rshift pdata,temp
+	fetch 2,mem_antl_le_unnormal_interval_max
+	idiv temp
+	call get_div_result
+	store 2,mem_le_latency
+	jam 1,mem_antl_send_updata_le_param_timer
+	rtn
+antilost_conn_param_updata_procedure_faild:
+	jam CONN_PARAM_UPDATA_PROCEDURE_FAILD,mem_antl_conn_updata_procedure_state
+	rtn
+
+antilost_master_nonsupport_latency:
+	jam 0,mem_lpm_mult
+	jam 0,mem_antl_send_updata_le_param_timer
+	fetch 2,mem_le_new_conninterval	//interval from master
+	fetcht 2,mem_antl_le_unnormal_interval_min
+	isub temp,null
+	setflag positive,0,rega 
+	fetch 2,mem_antl_le_unnormal_interval_max //local intervalmax
+	fetcht 2,mem_le_new_conninterval//interval form master
+	isub temp,pdata
+	setflag positive,1,rega
+	compare	0x03,rega,0x03
+	rtn true //return if the new conn_interval in range through conn_interval_min to conn_interval_max already
+	fetch 8,mem_antl_le_unnormal_interval_min
+	store 8,mem_le_interval_min
+	jam 1,mem_antl_send_updata_le_param_timer
+	rtn                               
+
+
+antilost_le_bb_event_timer:
+	call app_power_timer
+	call antilost_double_click_timer
+	call antilost_le_fast_adv_timer
+	call antilost_le_sleep_timer
+	call antilost_app_updata_le_param_timer
+	call antilost_conn_update_timer
+	call antilost_conn_battery_send_timer
+	call antilost_disconn_buzzer_on_timer
+	branch antilost_adc_check_timer
+
+antilost_disconn_buzzer_on_timer:
+	arg mem_antl_disconn_buzzer_on_timer,regc
+	arg antilost_disconn_buzzer_off,regb
+	branch timer_single_step_2B
+
+antilost_disconn_buzzer_off:
+	arg 1,rega
+	call ui_led_blink_stop_global
+	fetch 2,mem_buzzer_pwm_conf
+	branch pwm_disable
+
+
+antilost_conn_battery_send_timer:
+	arg mem_antilost_conn_battery_send_timer,regc
+	arg antilost_conn_battery_send,regb
+	branch timer_single_step
+antilost_conn_battery_send:
+	call antilost_battery_process
+	call antilost_battery_process
+	call antilost_battery_process
+	branch antilost_battery_calculate_end //send twice to combat the failure of reception first time
+
+	
+antilost_double_click_timer:
+	arg mem_double_click_timer,regc
+	arg antilost_double_click_timeout,regb
+	branch timer_single_step
+antilost_double_click_timeout:
+	jam 0,mem_butten_click_cnt
+	rtn
+antilost_le_fast_adv_timer:
+	arg mem_antl_fast_adv_timer,regc
+	arg antilost_le_fast_adv_timeout,regb
+	branch timer_single_step_2B
+antilost_le_fast_adv_timeout:
+	arg mem_antl_slow_adv_led_style,regc
+	arg mem_antl_slow_adv_lpm_interval,regb
+	branch antilost_adv_start_common
+	
+
+antilost_conn_update_timer:
+	arg mem_antl_conn_update_timer,regc
+	arg antilost_conn_update_timer_time_out,regb
+	branch timer_single_step
+	
+antilost_conn_update_timer_time_out:
+	fetch 2,mem_le_latency
+	store 1,mem_lpm_mult
+	rtn
+antilost_app_updata_le_param_timer:
+	arg mem_antl_send_updata_le_param_timer,regc
+	arg antilost_app_updata_le_param_timeout,regb
+	branch timer_single_step
+antilost_app_updata_le_param_timeout:
+	fetch 1,mem_le_state
+	compare 0,pdata,0x60
+	nbranch antilost_wait_for_updata_param_instant_expire,true
+	jam CONN_PARAM_UPDATA_PROCEDURE_STARTING,mem_antl_conn_updata_procedure_state
+	call  app_lpm_mult_enable
+	branch le_l2cap_tx_update_req	
+antilost_wait_for_updata_param_instant_expire:
+	jam 1,mem_antl_send_updata_le_param_timer
+	rtn
+	
+antilost_le_sleep_timer:
+	arg mem_antl_le_sleep_timer,regc
+	arg antilost_le_sleep_timer_timeout,regb
+	branch timer_single_step_2B
+
+
+antilost_le_sleep_timer_timeout:
+	branch app_button_long_pressed
+
+antilost_adc_check_timer:
+	arg mem_adc_timer,regc
+	arg antilost_adc_check_timer_timeout,regb
+	branch timer_single_step_2B
+antilost_adc_check_timer_timeout:
+	fetch 2,mem_adc_timeout
+	store 2,mem_adc_timer
+	branch antilost_battery_process
+
+
+antilost_le_process_conn:
+	fetch 2,mem_adc_timeout
+	store 2,mem_adc_timer
+	setarg 0
+	store 2,mem_antl_fast_adv_timer
+	store 2,mem_antl_le_sleep_timer
+	call antilost_alert_off
+	call antilost_led_buzzer_stop_blink
+	jam 0,mem_lpm_mult
+	branch app_ble_stop_adv
+	                                                      
+
+antilost_le_process_discon:
+	setarg 0
+	store 4,mem_adc_timer
+	store 3,mem_antl_conn_updata_procedure_state
+	store 2,mem_le_l2cap_signaling_conn_param_update_rsp_result
+	
+	jam 1,mem_alarm_config_notfy_cnt
+	fetch 2,mem_antl_le_sleep_timeout
+	store 2,mem_antl_le_sleep_timer
+
+	fetch 2,mem_antl_disconn_buzzer_on_timeout
+	store 2,mem_antl_disconn_buzzer_on_timer
+	
+	call queue_init
+	fetch 1,mem_antl_power_state
+	rtneq POWER_OFF
+	call antilost_fast_adv_start
+	branch antilost_on_off_alarm_after_disconn
+
+
+antilost_le_conn_process:
+//bpatch
+	branch antilost_key_process
+
+antilost_idle_process:
+
+	fetch 1,mem_antl_power_state
+	rtnne POWER_STANDBY
+	branch antilost_key_process
+
+
+//////////////////////////////////////////////////////////////////////////////////////////
+/////SOFT WTICH////////
+antilost_power_starting_cb:
+	arg mem_antl_power_starting_buzzer_style,regc
+	call antilost_buzzer_configuration
+	arg mem_antl_power_starting_led_style,regc
+antilost_power_common:
+	branch antilost_led_configuration
+
+antilost_power_off_cb:
+	jam OFF,mem_le_adv_enable
+	arg mem_antl_power_off_buzzer_style,regc
+	call antilost_buzzer_configuration
+	arg mem_antl_power_off_led_style,regc
+	branch antilost_power_common
+	
+antilost_le_receive_data_process:
+	fetch 1,mem_le_att_opcode
+	beq ATTOP_WRITE_REQUEST,antilost_le_parse_att_write_request
+	rtn
+antilost_le_parse_att_write_request:
+	fetch 2,mem_le_att_handle
+//	beq  ATT_WRITE_REQUEST_HANDLE,antilost_key_data_send
+	beq NEW_SPEC_WRITE_HANDLE,antilost_cmd_parse_for_application
+	beq NEW_SPEC_NOTIFICATION_ENABLE_HANDLE,antilost_notify_alarm_config_first_time
+	rtn
+/////////////////////////////////////////////////////////
+
+
+/////////key scan
+antilost_key_process:
+	fetch 1,mem_antl_key_scan_enable
+	rtn blank
+	branch keyscan_key_process
+
+	//queue = key index
+	//rega =1 press, =0 release
+antilost_key_up_down:
+	copy rega,pdata
+	branch antilost_key_is_up,blank
+antilost_key_is_down:
+	copy queue,pdata
+	beq 0,antilost_key0_down
+	rtn
+antilost_key_is_up:
+	copy queue,pdata
+	beq 0,antilost_key0_up
+	rtn
+
+antilost_key0_down:
+	jam 1,mem_antl_key_state
+	arg mem_antl_key_buzzer_style,regc
+	call antilost_buzzer_configuration
+	arg mem_antl_key_led_style,regc
+	call antilost_led_configuration
+	fetch 2,mem_ui_state_map
+	bbit0 UI_STATE_BLE_CONNECTED,antilost_butten_down_while_disconn
+	branch antilost_butten_down_after_conn
+	
+antilost_key0_up:
+	jam 0,mem_antl_key_state
+	branch antilost_double_click_timer_init
+
+//////////////process for double-click
+
+antilost_double_click_timer_init:
+	fetch 1,mem_butten_click_cnt
+	rtnne 1
+	jam 5,mem_double_click_timer
+	rtn
+
+antilost_butten_down_after_conn:
+	fetch 1,mem_butten_click_cnt
+	pincrease 1
+	store 1,mem_butten_click_cnt
+	beq 1,antilost_click_once
+	beq 2,antilost_click_twice
+	rtn
+antilost_click_once:
+	call antilost_alert_off
+	jam OPCODE1_BUTTEN_CLICK_ONCE,mem_antl_key0_press+5//5 represent opcode offset
+	arg mem_antl_key0_press,regc
+	branch antilost_prepare_data_and_send
+antilost_click_twice:
+	jam 0,mem_butten_click_cnt
+	jam OPCODE2_BUTTEN_DOUBLE_CLICK,mem_antl_key0_press+5
+	arg mem_antl_key0_press,regc
+	call antilost_prepare_data_and_send
+	fetch 1,mem_antl_lost_mode
+	beq 1,antilost_alert_on
+	rtn   //rtn should be retaind
+	
+antilost_butten_down_while_disconn:
+	fetch 2,mem_antl_le_sleep_timeout
+	store 2,mem_antl_le_sleep_timer
+	call antilost_alert_off
+	branch antilost_fast_adv_start
+	
+///////////////////////NEW App Spcecific///////
+antilost_cmd_parse_for_application:
+	bpatch patch16_3,mem_patch16
+	call le_app_receive_data
+	ifetch 1,rega
+	beq OPCODE3_ANTL_START_ALRAM,antilost_on_of_alram
+	beq OPCODE7_ANTL_CONFIG_ALRAM,antilost_configuration_for_alram
+	rtn
+
+antilost_on_of_alram:
+	fetch 1,mem_antl_lost_mode
+	beq ANTI_LE_ALARM_OFF,antilost_alert_on
+	beq ANTI_LE_ALARM_ON,antilost_alert_off
+	rtn
+
+antilost_configuration_for_alram:
+	ifetch 1,regb
+	beq 1,antilost_set_start_alarm_after_disconn
+	beq 0,antilost_set_no_alarm_after_disconn
+	rtn
+/////////////////check////////////////////////
+
+/*input: 1)package data addr in regc
+output:no
+function:calculate check_out value and send data*/
+//mem_temp_block5
+antilost_prepare_data_and_send:
+	bpatch patch16_4,mem_patch16
+	fetch 1,mem_client_characteristic_configuration_descriptor
+	isolate1 NOTIFICATION_ENABLE_BIT,pdata
+	nrtn true
+	add regc,6,contr
+	ifetch 2,contr
+	byteswap pdata,pdata
+	add pdata,5,loopcnt
+	add regc,3,contr
+	call calc_check_sum_start
+	istore 1,contr
+	copy regc,rega
+	branch queue_push
+
+/////////////////NEW APP SPECIFIC check end////////////////////
+
+
+/////////alarm//////////////////////////////
+antilost_alert_on:
+	fetch 1,mem_antl_power_state
+	rtn blank
+	jam 1,mem_antl_lost_mode
+	arg mem_antl_alert_buzzer_stlye,regc
+	call antilost_buzzer_configuration
+	arg mem_antl_alert_led_stlye,regc
+	call antilost_led_configuration
+	jam OPCODE4_CURRENT_ALARM_STATE,mem_antl_key0_release+5//5 represent opcode offset
+	jam 1,mem_antl_key0_release+8 //8 represent data offset,digit 1 represent alarm is on at present
+	arg mem_antl_key0_release,regc
+	branch antilost_prepare_data_and_send
+antilost_alert_off:
+	fetch 1,mem_antl_lost_mode
+	rtn blank
+	jam 0,mem_antl_lost_mode
+	call antilost_led_buzzer_stop_blink
+	jam OPCODE4_CURRENT_ALARM_STATE,mem_antl_key0_release+5//5 represent opcode offset
+	jam 0,mem_antl_key0_release+8 //8 represent data offset,digit 0 represent alarm is off at present
+	arg mem_antl_key0_release,regc
+	branch antilost_prepare_data_and_send
+
+antilost_set_start_alarm_after_disconn:
+	jam 1,mem_alarm_config
+	jam OPCODE7_ANTL_CONFIG_ALRAM,mem_antl_key0_release+5
+	jam 1,mem_antl_key0_release+8
+	arg mem_antl_key0_release,regc
+	branch antilost_prepare_data_and_send
+antilost_set_no_alarm_after_disconn:
+	jam 0,mem_alarm_config
+	jam OPCODE7_ANTL_CONFIG_ALRAM,mem_antl_key0_release+5
+	jam 0,mem_antl_key0_release+8
+	arg mem_antl_key0_release,regc
+	branch antilost_prepare_data_and_send
+antilost_on_off_alarm_after_disconn:
+	fetch 1,mem_alarm_config
+	rtn blank
+	branch antilost_alert_on
+	
+antilost_notify_alarm_config_first_time:
+	ifetch 2,rega
+	store 2,mem_client_characteristic_configuration_descriptor
+	isolate1 NOTIFICATION_ENABLE_BIT,pdata
+	nrtn true
+	fetch 1,mem_alarm_config_notfy_cnt
+	rtn blank
+	jam 0,mem_alarm_config_notfy_cnt
+	fetch 8,mem_antl_le_interval_min
+	store 8,mem_le_interval_min
+	jam 3,mem_antilost_conn_battery_send_timer
+	jam OPCODE7_ANTL_CONFIG_ALRAM,mem_antl_key0_release+5
+	jam 30,mem_antl_send_updata_le_param_timer
+	fetch 1,mem_alarm_config
+	store 1,mem_antl_key0_release+8
+	arg mem_antl_key0_release,regc
+	branch antilost_prepare_data_and_send
+
+//////////////alarm end//////////////////////////
+//sytle address in regc
+antilost_buzzer_configuration:
+	arg 1,rega
+	branch antilost_configuration_common
+antilost_led_configuration:
+	arg 0,rega
+antilost_configuration_common:
+	branch antilost_led_buzzer_style_configuration
+	
+antilost_led_buzzer_stop_blink:
+	arg 0,rega
+	call ui_led_blink_stop_global
+	arg 1,rega
+	call ui_led_blink_stop_global
+	fetch 2,mem_buzzer_pwm_conf
+	branch pwm_disable
+	
+antilost_led_buzzer_style_configuration:
+	call calc_curr_struct_prt
+	arg 7,loopcnt
+	branch ui_led_set_style_global+2
+
+
+
+antilost_fast_adv_start:
+	arg mem_antl_fast_adv_led_style,regc
+	arg mem_antl_lpm_interval,regb
+antilost_adv_start_common:
+	call antilost_adv_interval_lpm_interval_set
+	call antilost_led_configuration
+	fetch 2,mem_antl_fast_adv_timeout
+	store 2,mem_antl_fast_adv_timer
+	branch app_ble_start_adv
+	
+antilost_adv_interval_lpm_interval_set:
+	ifetch 2,regb
+	store 2,mem_lpm_interval
+	ifetch 2,contr
+	store 2,mem_le_adv_interval
+	rtn
+///////////////beep////////////
+antilost_buzzer_pwm_init:
+	arg 0,rega //sys clk 12mhz
+	call pwm_init
+	fetch 6,mem_buzzer_pwm_conf
+	store 6,mem_pdatatemp
+	call pwm_out_set
+	fetch 2,mem_buzzer_pwm_conf
+	branch pwm_disable
+	
+antilost_led_on_cb:
+	jam 1,mem_antl_led_state
+	rtn	
+antilost_led_off_cb:
+	jam 0,mem_antl_led_state
+	rtn
+
+
+
+antilost_buzzer_off:
+	jam 0,mem_antl_buzzer_state
+	fetch 2,mem_buzzer_pwm_conf
+	branch pwm_disable
+	
+antilost_buzzer_on:
+	jam 1,mem_antl_buzzer_state
+	fetch 6,mem_buzzer_pwm_conf
+	store 6,mem_pdatatemp
+	branch pwm_out_set
+
+////////////////beep end///////////////////////////
+/////////////adc start////////////////////////
+antilost_adc_init:
+	jam 0,mem_adc_config_flag
+	rtn
+	
+antilost_battery_process:
+	call vdd_calculate_by_mode
+	store 2,mem_battery_current_voltage
+	arg mem_battery_calculate_set,rega
+	call adc_bat_percent_lowpower_out
+	store 1,mem_voltage_remain_percent //for debug
+	setarg 0x65
+	beq 0,antilost_low_battery
+	sub pdata,0x64,null
+	nbranch antilost_full_battery,positive
+	store 1,mem_antl_key0_release+8
+antilost_battery_calculate_end:
+	jam OPCODE5_BATTER_INFORMATION,mem_antl_key0_release+5
+	arg mem_antl_key0_release,regc
+	branch antilost_prepare_data_and_send
+antilost_full_battery:
+	jam 100,mem_antl_key0_release+8
+	branch antilost_battery_calculate_end
+
+antilost_low_battery:
+	branch app_button_long_pressed
+else
+antilost_init:
+	rtn
+endif
+
+
Index: program/app_car.prog
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/program/app_car.prog	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/program/app_car.prog	(working copy)
@@ -0,0 +1,800 @@
+ifdef COMPILE_CAR
+
+car_init:
+	call enable_authrom
+	rtn wake
+	setarg car_g24_receive_process
+	store 2,mem_cb_24g_receive_process
+	
+	setarg g24_bind_ackpayload_prep
+	store 2,mem_cb_24g_ackpayload
+	
+	setarg car_g24_cb_data_device1
+	store 2,mem_cb_24g_data_device1
+
+	setarg car_le_before_hibernate
+	store 2,mem_cb_before_hibernate
+	
+	setarg car_le_process_lpm_before
+	store 2,mem_cb_before_lpm	
+	
+	setarg app_enter_hibernate
+	store 2,mem_cb_discovry_timeout
+	
+	setarg car_scale_process_idle	
+	store 2,mem_cb_idle_process	
+	
+	setarg car_scale_process_bb_event 
+	store 2,mem_cb_bb_event_process	
+	
+	setarg app_get_lpm_wake_lock
+	store 2,mem_cb_check_wakelock
+	
+	setarg car_le_receive_data
+	store 2,mem_cb_att_write
+	
+	setarg car_le_bb_event_timer
+	store 2,mem_cb_event_timer
+	
+	bpatch patch16_5,mem_patch16
+	call car_init_environment
+	call car_lpm_timer_enable
+	call queue_init
+	jam 2,mem_lpm_mult
+	jam POWER_ON,mem_car_24g_received_pac
+	fetch 1,mem_car_config_soft_switch_enable
+	store 1,mem_car_hard_soft_switch
+	beq HARD_SWITCH, car_hard_switch_power_on_signal
+	fetch 1,mem_car_config_soft_switch_gpio
+	store 1,mem_ui_button_gpio
+	jam OFF,mem_le_adv_enable
+car_soft_switch_power_on_init:
+	call ui_button_init
+	call ui_button_polling
+	jam POWER_STARTING,mem_car_power_state
+	fetch 2,mem_ui_state_map
+	rtnbit1 UI_STATE_BTN_DOWN
+ 	branch app_enter_hibernate
+
+car_power_off_signal:	
+	branch car_ui_led_init
+	
+car_hard_switch_power_on_signal:
+	jam POWER_STANDBY,mem_car_power_state
+car_soft_switch_power_on_signal:
+	jam ON,mem_le_adv_enable
+	setarg FAST_ADV_INTERVAL_VALUE_CAR
+	call shutter_ble_adv_interval_set
+car_le_modified_name_adv:
+	arg mem_le_name+7,contw
+	fetch 1,mem_le_lap
+car_name_loop:
+	and pdata,0xF0,temp
+	rshift4 temp,temp
+	call car_hex_to_ascii
+	istoret 1, contw
+	and pdata,0x0F,temp
+	call car_hex_to_ascii
+	istoret 1, contw
+	call le_modified_name_att_list
+	fetcht 1,mem_le_name_len
+	copy temp,loopcnt
+	arg mem_le_adv_data+2,contw
+	arg mem_le_name,contr
+	call memcpy
+car_le_modified_name_scan:
+	fetcht 1,mem_le_name_len
+	copy temp,loopcnt
+	arg mem_le_scan_data+2,contw
+	arg mem_le_name,contr
+	branch memcpy
+car_hex_to_ascii:
+	sub temp,9,null
+	branch car_hex_num,positive
+	add temp,55,temp
+	rtn
+car_hex_num:	
+	add temp,48,temp
+	rtn
+
+car_ui_led_init:
+	fetch 1,mem_car_config_blood_led1_gpio
+	bne INVALID_PIN_NUM,car_blood_led_gpio_set
+car_ui_led_init_1:
+	fetch 1,mem_car_config_pairing_led_gpio
+	bne INVALID_PIN_NUM,car_pairing_led_gpio_set
+car_ui_led_init_2:
+	fetch 1,mem_car_config_low_voltage_led_gpio
+	bne INVALID_PIN_NUM,car_low_voltage_led_gpio_set
+car_ui_led_init_3:
+	fetch 1, mem_car_led_num
+	copy pdata,loopcnt
+	setarg mem_car_led_map
+	copy pdata,rega
+car_in_lp1:
+	copy rega,contr
+	ifetch 1,contr
+	copy contr,rega
+	beq INVALID_PIN_NUM,car_in_lp1_end
+	copy pdata,temp
+	call gpio_config_output
+car_in_lp1_end:
+	loop car_in_lp1
+car_ui_led_init_end:
+	rtn
+car_blood_led_gpio_set:
+	fetch 8,mem_car_config_blood_led1_gpio
+	store 8,mem_car_led_map+2
+	branch car_ui_led_init_1
+car_pairing_led_gpio_set:
+	store 1,mem_car_led_map
+	branch car_ui_led_init_2
+car_low_voltage_led_gpio_set:
+	store 1,mem_car_led_map+1
+	branch car_ui_led_init_3
+
+car_init_environment:
+	
+	call car_g24_init
+	arg 0,rega
+	call pwm_init
+	call car_ui_led_init
+	call car_start_blink
+	call car_init_adc_hvin
+	branch car_motor_init
+
+car_motor_init:
+	fetch 1, mem_car_motor_gpio_num
+	copy pdata,loopcnt
+	setarg mem_car_motor_gpio_map
+	copy pdata,rega
+p_in_lp1:
+	copy rega,contr
+	ifetch 1,contr
+	copy contr,rega
+	beq INVALID_PIN_NUM,p_in_lp1_end
+	copy pdata,temp
+	store 1, mem_car_gpio
+	call car_ui_gpio_init
+p_in_lp1_end:
+	loop p_in_lp1
+p_car_ui_led_init_end:
+	rtn
+
+car_ui_gpio_init:
+	fetch 1,mem_car_gpio
+	rtneq UI_BUTTON_GPIO_DISABLE
+	iforce temp
+	branch gpio_config_output
+
+	
+car_init_adc_hvin:
+	jam 100,mem_car_notify_vdd_value_last
+	rtn
+	
+car_le_before_hibernate:
+car_le_process_lpm_before:
+	branch keyscan_process_lpm_before
+
+car_key_scan_process:
+	branch keyscan_key_process
+
+car_scale_process_idle:
+	call car_le_send_packet
+	call car_g24_status_process
+	branch car_key_scan_process
+
+car_g24_status_process:
+	fetch 2,mem_ui_state_map
+	rtnbit1 UI_STATE_BLE_CONNECTED
+	fetch 1,mem_car_24g_received_pac
+	beq WORK_PAIRED,car_g24_connected_event
+	rtn
+car_g24_connected_event:
+	fetch 1,mem_car_24g_status
+	rtneq WORK_PAIRED
+	jam WORK_PAIRED,mem_car_24g_status
+	call car_lpm_timer_disable
+	call car_stop_blink
+	branch car_g24_connected
+
+car_lpm_timer_enable:
+	fetch 2,mem_car_enter_lpm_timer_count	
+	store 2,mem_car_enter_lpm_timer
+	jam 0,mem_car_enter_lpm_flag
+	rtn
+
+	
+car_lpm_timer_disable:
+	setarg 0
+	branch car_lpm_timer_enable+1
+
+
+car_stop_blink:
+	arg 0,rega
+	branch ui_led_blink_stop_global
+	
+	
+car_start_blink:
+	arg 0,rega
+	branch ui_led_blink_start_global
+	
+
+
+
+
+car_le_send_packet:
+	fetch 2,mem_ui_state_map
+	rtnbit0 UI_STATE_BLE_CONNECTED
+	call le_fifo_check_nearly_full
+	nrtn blank
+	arg mem_car_pop_queue_buff,rega
+	call queue_pop
+	nrtn user
+	arg mem_car_pop_queue_buff,contr
+	branch le_send_notify_from_list
+ 
+car_scale_process_bb_event:
+	copy regc,pdata
+	beq BT_EVT_BUTTON_UP,app_event_button_up
+	beq BT_EVT_BUTTON_LONG_PRESSED,app_button_long_pressed
+	beq BT_EVT_LE_CONNECTED,car_scale_event_le_conn
+	beq BT_EVT_LE_DISCONNECTED,car_scale_event_le_discon
+	rtn
+
+car_scale_event_le_conn:
+	call car_lpm_timer_disable
+	call car_stop_blink
+	set0 mark_24g_rxmode,mark
+	branch car_scale_process_conn
+car_g24_connected:
+	fetch 2,mem_car_24g_no_data_timeout_count
+	store 2,mem_car_24g_no_data_timeout_timer
+car_scale_process_conn:
+	jam 0x14,mem_car_notify_vdd_timer
+	jam 0,mem_lpm_mode
+	call app_ble_stop_adv
+	branch app_lpm_mult_enable
+
+
+car_scale_event_le_discon:
+	set1 mark_24g_rxmode,mark
+	call car_lpm_timer_enable
+	call car_fb_motor_stop
+	call car_lr_motor_stop
+car_g24_disconnect:
+	setarg 0
+	store 5,mem_car_led_control
+	setarg 4
+	call pwm_disable
+	setarg 5
+	call pwm_disable
+	setarg 20
+	call pwm_disable
+	setarg 21
+	call pwm_disable
+	setarg 22
+	call pwm_disable
+	setarg 7
+	call pwm_disable
+	call queue_init
+	jam 10,mem_motor1_speed
+	jam 10,mem_motor2_speed
+	jam 10,mem_motor3_speed
+//	jam 1,mem_lpm_mode
+	jam 2,mem_lpm_mult
+	setarg FAST_ADV_INTERVAL_VALUE_CAR
+	call shutter_ble_adv_interval_set
+	branch app_ble_start_adv
+
+car_le_bb_event_timer:
+	call car_moto1_blank_data_timer
+	call car_moto2_blank_data_timer
+	call car_moto3_blank_data_timer
+	call app_power_timer
+	call car_notify_vdd_timer
+	call car_24g_no_data_timeout_timer
+	call car_24g_bind_enable_timer
+	branch car_enter_lpm_timer
+
+car_24g_bind_enable_timer:
+	arg mem_car_24g_bind_enable_delay_count,regc
+	arg 0,regb
+	branch timer_single_step
+
+car_enter_lpm_timer:
+	arg mem_car_enter_lpm_timer,regc
+	arg car_enter_lpm_enable,regb
+	branch timer_single_step_2B
+car_enter_lpm_enable:
+	jam 1,mem_car_enter_lpm_flag
+	rtn
+	
+car_24g_no_data_timeout_timer:
+	arg mem_car_24g_no_data_timeout_timer,regc
+	arg car_24g_no_data_timer_timeout,regb
+	branch timer_single_step_2B
+car_24g_no_data_timer_timeout:
+	jam WORK_SEARCH,mem_car_24g_status
+	jam POWER_ON,mem_car_24g_received_pac
+	branch car_g24_disconnect
+
+car_notify_vdd_timer:
+	fetch 1,mem_car_config_bat_notify_enable
+	rtn blank
+	arg mem_car_notify_vdd_timer,regc
+	arg car_notify_vdd,regb
+	branch timer_single_step
+car_notify_vdd:
+	fetch 1,mem_car_notify_vdd_count
+	store 1,mem_car_notify_vdd_timer
+ 	fetch 1,mem_car_working_flag
+ 	nrtn blank
+car_read_hvin:
+	call vdd_calculate_by_mode
+	store 2,mem_vdd_now_vol
+	arg mem_vdd_calculate_set,rega
+	call adc_bat_percent_lowpower_out
+	fetcht 1,mem_car_notify_vdd_value_last
+	isub temp,null
+	branch car_notify_vdd_next2,positive
+	store 1,mem_car_notify_vdd_value_last
+	copy pdata,temp
+car_notify_vdd_next2:
+	storet 1,mem_car_notify_vdd_percent
+	fetch 1,mem_car_config_low_voltage_percent
+	isub temp,null
+	call car_enter_low_bat,positive
+	storet 1,mem_notify_bat_payload 
+	arg 6,loopcnt
+	arg mem_notify_bat_head,contr
+	call calc_check_sum_start
+	store 1,mem_notify_bat_check_sum
+	arg mem_notify_bat_packet,rega
+	branch queue_push
+car_enter_low_bat:
+	fetch 1,mem_low_bat_flag
+	nrtn blank
+	jam 1,mem_low_bat_flag
+	arg 1,rega
+	branch ui_led_blink_start_global
+car_low_bat_led_off:
+	arg 1,rega
+	branch ui_led_blink_stop_global
+
+////////////////////////check sum////////////////////////
+//loopcnt = sum number,contr = ptr
+calc_check_sum_start:
+	arg 0,rega
+calc_check_sum_loop:
+	ifetch 1,contr
+	iadd rega,rega
+	loop calc_check_sum_loop
+calc_check_sum_and:
+	and rega,0xff,pdata
+	rtn
+
+car_le_receive_data:	
+	fetch 1,mem_le_att_opcode
+	beq ATTOP_WRITE_REQUEST,car_le_parse_att_write_request
+	rtn
+car_le_parse_att_write_request:
+	fetch 2,mem_le_att_handle
+	beq ATT_CAR_CONTROL_HANDLE,car_control_le_receive
+	rtn
+
+/*
+*	typedef struct
+*	{
+*		2byte	packet_head				(mem_app_receive_temp)
+*		1byte	packet_cmd				(mem_app_receive_temp+2)
+*		2byte	packet_payload_length	(mem_app_receive_temp+3)
+*		10byte	packet_payload			(mem_app_receive_temp+5)
+*		1byte	packet_check_sum		(mem_app_receive_temp+15)
+*	}
+*/
+le_app_receive_data:
+	bpatch patch16_6,mem_patch16
+	ifetch 5,rega
+	store 5,mem_app_receive_temp
+	fetch 2,mem_app_receive_temp
+	arg LE_RECEIVE_PACKET_HEAD,temp
+	isub temp,null
+	nrtn zero
+	fetch 2,mem_app_receive_temp+3
+	byteswap pdata,pdata
+	store 2,mem_app_receive_temp+3
+	copy pdata,loopcnt
+	increase 5,rega
+	copy rega,contr
+	arg mem_app_receive_temp+5,contw
+	call memcpy
+	ifetch 1,contr
+	store 1,mem_app_receive_temp+15
+	arg mem_app_receive_temp+2,rega
+	arg mem_app_receive_temp+5,regb
+	rtn
+
+car_control_le_receive:
+	setarg 0
+	store 5,mem_le_receive_payload
+	store 5,mem_le_receive_payload+5
+	call le_app_receive_data
+	copy regb,contr
+	arg mem_le_receive_payload,contw
+	arg 10,loopcnt
+	call memcpy
+car_receive_cmd_select:
+	bpatch patch16_7,mem_patch16
+	ifetch 1,rega
+	beq CAR_CMD_OLD_CAR_CONTROL,car_drive_old
+	beq CAR_CMD_OLD_SPEED_CONTROL,car_speed_set_old
+	beq CAR_CMD_L_R_MOTOR_CONTROL,car_motor_control
+	beq CAR_CMD_F_B_MOTOR_CONTROL,car_motor_control
+	beq CAR_CMD_IR_CONTROL,car_ir_data_rx_from_app
+	beq CAR_CMD_LED_CONTROL,car_led_control_receive
+	beq CAR_CMD_DEVICE_INFO,car_info_request
+	rtn
+
+car_24g_receive_data:
+	call car_control_le_receive
+	fetch 1,mem_app_receive_temp+2	//cmd
+	beq CAR_CMD_L_R_MOTOR_CONTROL,car_24g_receive_data_next
+	beq CAR_CMD_F_B_MOTOR_CONTROL,car_24g_receive_data_next
+	rtn
+car_24g_receive_data_next:
+	fetch 1,mem_le_receive_payload	//moto1
+	ncall car_moto1_enable_blank_data_timer,blank
+	fetch 1,mem_le_receive_payload+2	//moto2
+	ncall car_moto2_enable_blank_data_timer,blank
+	fetch 1,mem_le_receive_payload+4	//moto3
+	ncall car_moto3_enable_blank_data_timer,blank
+	rtn
+
+car_moto1_enable_blank_data_timer:
+	jam 5,mem_car_moto1_blank_timer
+	rtn
+car_moto2_enable_blank_data_timer:
+	jam 5,mem_car_moto2_blank_timer
+	rtn
+car_moto3_enable_blank_data_timer:
+	jam 5,mem_car_moto3_blank_timer
+	rtn
+
+car_moto1_blank_data_timer:
+	arg mem_car_moto1_blank_timer,regc
+	arg car_moto1_blank_data,regb
+	branch timer_single_step
+car_moto2_blank_data_timer:	
+	arg mem_car_moto2_blank_timer,regc
+	arg car_moto2_blank_data,regb
+	branch timer_single_step
+car_moto3_blank_data_timer:		
+	arg mem_car_moto3_blank_timer,regc
+	arg car_moto3_blank_data,regb
+	branch timer_single_step
+
+car_moto1_blank_data:
+	jam 0,mem_le_receive_payload
+	branch car_motor_control
+car_moto2_blank_data:
+	jam 0,mem_le_receive_payload+2
+	branch car_motor_control
+car_moto3_blank_data:
+	jam 0,mem_le_receive_payload+4
+	branch car_motor_control
+	
+	
+///////////////////////Motor//////////////////////////////////////////
+
+car_drive_old:	
+	fetch 1,mem_le_receive_payload
+	store 1,mem_motor1_status
+	fetch 1,mem_le_receive_payload+1
+	store 1,mem_motor2_status
+	branch car_motor_control_common
+
+
+	
+car_left_right_control_old:
+	fetch 1,mem_le_receive_payload
+	store 1,mem_motor2_status
+	branch car_motor2_control
+car_front_back_control_old:
+	fetch 1,mem_motor1_speed
+	call car_reset_old_speed
+	fetch 1,mem_le_receive_payload+1
+	store 1,mem_motor1_status
+	branch car_motor1_control
+car_reset_old_speed:
+	beq SPEED_LEVEL_2,car_reset_old_speed2
+	beq SPEED_LEVEL_3,car_reset_old_speed3
+	store 1,mem_motor1_speed
+	rtn
+car_reset_old_speed2:
+	jam SPEED_LEVEL_5,mem_motor1_speed
+	rtn
+car_reset_old_speed3:
+	jam SPEED_LEVEL_10,mem_motor1_speed
+	rtn
+car_speed_set_old:
+	fetch 1,mem_le_receive_payload
+	call car_reset_old_speed
+	fetch 1,mem_motor1_speed
+	call car_motor_speed_duty_setting
+	call car_motor_speed_duty_transform
+	jam 0x00,mem_pdatatemp+1	//pwm channel0
+	branch pwm_duty_cycle_set
+
+car_motor_control:
+	fetch 1,mem_car_24g_go_die_flag
+	nrtn blank
+	fetch 6,mem_le_receive_payload
+	store 6,mem_motor1_status
+	fetch 1,mem_motor1_speed
+	fetcht 1,mem_motor2_speed
+	iand temp,pdata
+	fetcht 1,mem_motor3_speed
+	iand temp,pdata
+	call car_motor_working_flag,blank	
+car_motor_control_common:
+	bpatch patch17_0,mem_patch17
+	fetch 2,mem_ui_state_map
+	isolate1 UI_STATE_BLE_CONNECTED,pdata
+	ncall car_lpm_timer_enable,true
+	call car_motor1_control
+	call car_motor2_control
+	branch car_conn_led_state
+
+car_conn_led_state:
+	fetch 1,mem_motor1_status
+	fetcht 1,mem_motor2_status
+	iadd temp,pdata
+	nbranch check_51cmd_led_on,blank
+	branch check_51cmd_led_off	
+
+car_motor1_control:
+	arg mem_motor1_status,contr
+	branch car_motor1_status_select
+car_motor2_control:
+	arg mem_motor2_status,contr
+	branch car_motor2_status_select
+car_motor3_control:
+	arg mem_motor3_status,contr
+	branch car_motor_status_select
+car_motor_working_flag:
+	jam 0,mem_car_working_flag
+	rtn
+
+car_motor1_status_select:
+	ifetch 1,contr
+	beq TURN_FRONT,car_lr_motor_stop
+	beq TURN_LEFT,car_lr_motor_left
+	beq TURN_RIGHT,car_lr_motor_right
+	rtn
+car_motor2_status_select:
+	ifetch 1,contr
+	beq MOTOR_STOP,car_fb_motor_stop
+	beq GO_BACK,car_fb_motor_front
+	beq GO_FRONT,car_fb_motor_back
+	rtn
+
+car_lr_motor_stop:
+	fetcht 1,mem_car_motor_left_gpio
+	call gpio_out_inactive
+	fetcht 1,mem_car_motor_right_gpio
+	branch gpio_out_inactive
+car_lr_motor_left:
+	fetcht 1,mem_car_motor_left_gpio
+	call gpio_out_active
+	fetcht 1,mem_car_motor_right_gpio
+	branch gpio_out_inactive
+car_lr_motor_right:
+	fetcht 1,mem_car_motor_left_gpio
+	call gpio_out_inactive
+	fetcht 1,mem_car_motor_right_gpio
+	branch gpio_out_active
+car_fb_motor_stop:
+	fetcht 1,mem_car_motor_front_gpio
+	call gpio_out_inactive
+	fetcht 1,mem_car_motor_back_gpio
+	branch gpio_out_inactive
+car_fb_motor_front:
+	fetcht 1,mem_car_motor_front_gpio
+	call gpio_out_active
+	fetcht 1,mem_car_motor_back_gpio
+	branch gpio_out_inactive
+car_fb_motor_back:
+	fetcht 1,mem_car_motor_front_gpio
+	call gpio_out_inactive
+	fetcht 1,mem_car_motor_back_gpio
+	branch gpio_out_active
+
+	
+
+
+car_motor_status_select:
+	bpatch patch17_1,mem_patch17
+	ifetch 1,contr
+	beq MOTOR_STOP,car_motor_stop
+	beq GO_FRONT,car_motor_positive
+	beq GO_BACK,car_motor_negative
+	rtn
+car_motor_positive:
+	jam 0,mem_motor_select_p_n
+	branch car_motor_negative+1
+car_motor_negative:
+	jam 1,mem_motor_select_p_n
+	ifetch 1,contr
+	store 1,mem_car_motor_speed
+	ifetch 8,regb
+	branch car_motor_work
+
+car_motor_stop:
+	ifetch 1,regb
+	call pwm_disable
+	increase 1,regb
+	ifetch 1,regb
+	branch pwm_disable
+car_motor_work:
+	store 8,mem_motor_pwm_pin1_set
+	jam 1,mem_car_working_flag
+	fetch 1,mem_motor_select_p_n
+	beq 0,car_motor_select_positive
+car_motor_select_negative:
+	fetch 1,mem_motor_pwm_pin2_set
+	store 1,mem_motor_pwm_pin_set
+	fetch 1,mem_motor_pwm_pin1_set
+car_motor_work_next:
+	call pwm_disable
+	fetch 1,mem_car_motor_speed
+	call car_motor_speed_duty_setting
+	store 1,mem_motor_pwm_dute_set
+	fetch 6,mem_motor_pwm_pin_set
+	store 6,mem_pdatatemp
+	branch pwm_out_set
+car_motor_select_positive:
+	fetch 1,mem_motor_pwm_pin1_set
+	store 1,mem_motor_pwm_pin_set
+	fetch 1,mem_motor_pwm_pin2_set
+	branch car_motor_work_next
+
+car_motor_speed_duty_setting:
+	mul32 pdata,5,pdata
+	add pdata,50,pdata
+	rtn
+car_motor_speed_duty_transform:
+	arg 12000,temp
+	imul32 temp,pdata
+	div pdata,100
+	call wait_div_end
+	quotient temp
+	copy temp,rega
+	setarg 12000
+	isub temp,regb
+	rtn
+
+car_ir_data_rx_from_app:
+	rtn
+
+car_led_control_receive:
+	fetch 8,mem_le_receive_payload
+	store 8,mem_car_led_control
+	rtn
+
+car_info_request:
+	fetch 1,mem_car_config_device_select
+	store 1,mem_car_info_request_payload
+	fetch 1,mem_car_config_motor_layout
+	store 1,mem_car_info_request_payload+1
+	fetch 1,mem_car_config_ir_enable
+	store 1,mem_car_info_request_payload+2
+	arg 13,loopcnt
+	arg mem_car_info_request_head,contr
+	call calc_check_sum_start
+	store 1,mem_car_info_request_checksum
+	arg mem_car_info_request,rega
+	branch queue_push
+
+
+/************************************G24 CAR RX FUNC START**************************************/
+car_g24_init:
+	setarg 0
+	store 8,mem_24g_bind_payload
+	call g24_receive_init
+	branch g24_mode_switch_init
+
+car_g24_receive_process:
+	call car_g24_mode_switch
+	call car_g24_work_mode
+	call car_g24_bind_mode
+	branch car_g24_lpm_dipatch
+
+car_g24_mode_switch:
+	call g24_mode_switch_bind_work
+car_g24_bind_mode_enable:
+	fetch 1,mem_24g_work_mode
+	rtnne DONGLE_BIND
+	fetch 1,mem_car_24g_bind_enable_delay_count	//after power on 10s,enable bind
+	nbranch g24_switch_work_mode,blank
+	fetch 1,mem_car_24g_status	//after paired,disable bind mode
+	beq WORK_SEARCH,g24_switch_work_mode
+	rtn
+
+car_g24_work_mode:
+	fetch 1,mem_24g_work_mode
+	rtnne DONGLE_WORK
+	call g24_work_mode_start
+	branch car_g24_ch_polling_clear,user3
+car_g24_receive_ch_polling:
+	fetch 1,mem_car_enter_lpm_flag
+	rtn blank
+	fetch 1,mem_car_24g_ch_polling
+	increase 1,pdata
+	store 1,mem_car_24g_ch_polling
+	beq 4,car_g24_ch_polling_clear
+	call g24_ch
+	call g24_receive_packet_start
+	nbranch car_g24_receive_ch_polling,user3
+car_g24_ch_polling_clear:
+	jam 0,mem_car_24g_ch_polling
+	rtn
+
+car_g24_bind_mode:
+	fetch 1,mem_24g_work_mode
+	rtnne DONGLE_BIND
+	call g24_bind_init
+	call car_g24_bind_device_addr
+	call g24_bind_data_process
+	fetch 1,mem_24g_bind_device_status
+	nbranch car_g24_bind_mode_exit,blank
+	call g24_nodata_process
+	fetch 1,mem_24g_nodata_timer_enable
+	rtn blank
+	setarg 0
+	store 4,mem_24g_device1_addr
+	rtn
+
+car_g24_bind_mode_exit:
+	jam 0,mem_24g_mode_switch
+	arg 0,rega
+	call ui_led_off_global
+	call g24_switch_work_mode
+	call g24_timer_init
+	fetch 4,mem_lap
+	branch g24_update_addr_and_synccrc8
+	
+car_g24_bind_device_addr:
+	fetch 4,mem_24g_device1_addr
+	rtn blank
+	branch g24_update_addr_and_synccrc8
+
+car_g24_cb_data_device1:
+	fetch 2,mem_ui_state_map
+	rtnbit1 UI_STATE_BLE_CONNECTED
+	fetch 2,mem_car_24g_no_data_timeout_count
+	store 2,mem_car_24g_no_data_timeout_timer
+	jam WORK_PAIRED,mem_car_24g_received_pac
+	arg mem_24g_rxdata_temp+3,rega
+	branch car_24g_receive_data
+
+car_g24_lpm_dipatch:
+	fetch 1,mem_car_enter_lpm_flag
+	rtn blank
+	call car_g24_lpm_wait
+	nrtn user
+	fetch 3,mem_24g_enter_hibernate	//about 1000ms
+	call clk2lpo
+	storet 4,mem_sleep_counter
+  	branch lpm_sleep
+car_g24_lpm_wait:
+	enable user
+	call lpo_calibration
+	fetch 3,mem_clks_per_lpo
+	branch disable_user,blank
+	branch car_le_process_lpm_before
+
+endif
+
+
+
Index: program/app_dongle.prog
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/program/app_dongle.prog	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/program/app_dongle.prog	(working copy)
@@ -0,0 +1,528 @@
+ifdef COMPILE_DONGLE
+
+dongle_init:
+	setarg dongle_dispatch
+	store 2,mem_cb_24g_receive_process
+	setarg dongle_g24_mouse
+	store 2,mem_cb_24g_data_device1
+	setarg dongle_g24_kb
+	store 2,mem_cb_24g_data_device2
+	setarg dongle_ackpayload_prep
+	store 2,mem_cb_24g_ackpayload
+	setarg dongle_usb_config
+	store 2,mem_cb_usb_config
+	branch usb_init
+
+
+dongle_default_init:
+	//sys init
+	fetch 1,mem_tmp_buffer+DONGLE_KB_BIND_EFUSE_OFFECT
+	store 1,mem_dg_kb_bind_flag
+	call dongle_xtal_select
+	fetch 1,mem_dg_sys_config
+	isolate1 DG_ENABLE_EEPROM,pdata
+	branch dongle_default_no_eeprom,true
+	fetch 1,mem_dg_sys_config
+	isolate1 DG_ENABLE_NEW_CHMAP,pdata
+	call g24_chamap_param_update,true
+dongle_default_no_eeprom:	
+	fetch 1,mem_dg_sys_config
+	and_into 0x0f,pdata	//bit4-0
+	store 1,mem_tx_power
+	call app_sys_param_init
+	//24g init
+	jam 0xff,mem_rssi_buff_index
+	setarg mem_dg_rssi_noise_buffer
+	store 2,mem_rssi_noise_buffer_ptr
+	setarg mem_dg_rssi_noise_dg_buffer
+	store 2,mem_rssi_noise_self_buffer_ptr
+	setarg mem_dg_rssi_noise_ms_buffer
+	store 2,mem_rssi_noise_device1_buffer_ptr
+	setarg mem_dg_rssi_noise_kb_buffer
+	store 2,mem_rssi_noise_device2_buffer_ptr
+	jam TX_POWER_F5DB,mem_24g_pair_tx_power
+	jam 0,mem_dg_kb_bind_success
+	jam 0,mem_24g_bind_device_living
+	call g24_enable_1M
+	call g24_receive_init
+	call g24_pair_param_init
+	call g24_chmap_param_init
+	//usb init
+	fetch 1,mem_dg_usb_tx_interval
+	store 1,mem_usb_tx_interval
+	fetch 9,mem_dg_usb_vid_pid
+	store 9,mem_usb_vid_pid
+	rtn
+	
+dongle_xtal_select:
+	jam XTAL_24M,mem_fcomp_div
+	fetch 1,mem_dg_sys_config
+	rtnbit0 DG_ENABLE_XTAL_24M
+	jam XTAL_16M,mem_fcomp_div
+	rtn
+
+dongle_dispatch:
+	fetch 1,mem_24g_pair_mode
+	beq 0x00,dongle_auto_bind
+	beq 0x01,dongle_pc_bind
+//	beq 0x0f,dongle_all_powerful
+	rtn
+
+
+dongle_read_kb_bind_status:
+	arg 1,temp
+	arg mem_dg_kb_bind_flag,rega
+	setarg DONGLE_KB_BIND_EFUSE_OFFECT
+	branch efuse_read_data
+
+dongle_write_kb_bind_status:
+	arg 1,loopcnt
+	arg mem_dg_kb_bind_flag,rega
+	arg DONGLE_KB_BIND_EFUSE_OFFECT,temp
+	branch efuse_program
+
+dongle_usb_config:
+	fetch 1,mem_dg_sys_config
+	bbit1 DG_ENABLE_KB_ICON,dongle_usb_config_kb
+	fetch 1,mem_dg_kb_bind_flag
+	bne DONGLE_KB_BIND_SUCCESS,dongle_usb_config_param
+dongle_usb_config_kb:
+	jam DONGLE_KB_BIND_SUCCESS,mem_dg_kb_bind_flag
+	fetch 4,USB_DEVICEDATA_ADDR+9
+	set1 29,pdata
+	store 4,mem_devicedesc+9
+dongle_usb_config_param:
+	call dongle_usb_device_name
+	call usb_tx_interval_config
+	call dongle_usb_vid_pid_config
+	branch dongle_usb_hid_icon_config
+
+dongle_usb_vid_pid_config:
+	fetch 1,mem_usb_vid_pid
+	rtn blank
+	fetch 1,mem_dg_kb_bind_flag
+	beq DONGLE_KB_BIND_SUCCESS,dongle_usb_vid_pid_for_suit
+dongle_usb_vid_pid_for_mouse_only_auto_pair:	
+	fetch 4,mem_usb_vid_pid+1
+dongle_usb_vid_pid_store:	
+	store 4,mem_devicedesc+9
+	rtn
+dongle_usb_vid_pid_for_suit:
+	fetch 4,mem_usb_vid_pid+5
+	branch dongle_usb_vid_pid_store
+
+dongle_usb_hid_icon_config:
+	fetch 1,mem_dg_kb_bind_flag
+	beq DONGLE_KB_BIND_SUCCESS,dongle_usb_kb_hidreportdesc
+	setarg USB_KBDATA_VENDOR_DEFINE_ADDR
+	store 2,mem_hidreportdesc_kb
+	jam 0x1a,mem_confdesc+26//hid_descriptor--keyboard length
+	rtn
+dongle_usb_kb_hidreportdesc:
+	setarg USB_KBDATA_ADDR
+	store 2,mem_hidreportdesc_kb
+	jam 0x3f,mem_confdesc+26//hid_descriptor--keyboard length	
+	rtn
+
+dongle_usb_device_name:
+	fetch 1,mem_dg_usb_device_name
+	rtn blank
+	arg mem_dg_usb_device_name,contr
+	arg mem_string2,contw
+	arg 30,loopcnt
+	branch memcpy
+
+
+//dongle_all_powerful:
+//	call g24_switch_work_mode
+//dongle_all_powerful_loop:
+//	call dongle_work_mode_auto
+//	call dongle_usb_dispatch
+//	branch dongle_all_powerful_loop
+
+dongle_pc_bind:
+	call g24_switch_work_mode
+dongle_pc_bind_loop:	
+	call dongle_work_mode_auto
+	call g24_bind_mode_auto
+	call dongle_usb_dispatch
+	branch dongle_pc_bind_loop
+
+dongle_g24_blank_data_process:
+	call dongle_g24_ms_blank_data
+	call dongle_g24_kb_blank_data
+	branch dongle_g24_kb_mul_blank_data
+
+dongle_g24_ms_blank_data:
+	fetch 1,mem_dg_ms_blank_data_enable
+	rtn blank
+	arg TIMER_MS_BLANK,queue
+	call timer_check
+	nrtn blank
+	jam 0,mem_dg_ms_blank_data_enable
+	setarg MS_REPORT_ID
+	store 1,mem_usb_mouse_data
+	setarg 0
+	istore 7,contw
+dongle_usb_tx_ms_data:
+	jam USB_EP2_MS,mem_usb_ep2_data
+dongle_usb_tx_enable_ep2:
+	fetch 1,mem_usb_tx_enable
+	set1 2,pdata
+	store 1,mem_usb_tx_enable
+	rtn
+
+dongle_g24_kb_blank_data:
+	fetch 1,mem_dg_kb_blank_data_enable
+	rtn blank
+	arg TIMER_KB_BLANK,queue
+	call timer_check
+	nrtn blank
+	jam 0,mem_dg_kb_blank_data_enable
+	arg mem_usb_kb_data,contw
+	arg 2,loopcnt
+	call memset0
+dongle_usb_tx_kb_data:	
+	jam KB_NORMAL_REPORT_ID,mem_usb_kb_data
+dongle_usb_tx_enable_ep1:
+	jam USB_EP1_KB,mem_usb_ep1_data
+	fetch 1,mem_usb_tx_enable
+	set1 1,pdata
+	store 1,mem_usb_tx_enable
+	rtn
+
+dongle_g24_kb_mul_blank_data:
+	fetch 1,mem_dg_kb_mul_blank_data_enable
+	rtn blank
+	arg TIMER_KB_MUL_BLANK,queue
+	call timer_check
+	nrtn blank
+	jam 0,mem_dg_kb_mul_blank_data_enable
+	arg mem_usb_kb_multikey,contw
+	arg 2,loopcnt
+	call memset0
+	jam KB_MULTIKEY_REPORT_ID,mem_usb_kb_multikey
+dongle_usb_tx_multikey_data:
+	jam USB_EP2_MULTIKEY,mem_usb_ep2_data
+	branch dongle_usb_tx_enable_ep2
+
+dongle_usb_dispatch:
+	bpatch patch17_2,mem_patch17
+	fetch 1,mem_usb_remote_wakeup
+	call dongle_clear_pc_sleep_flag,blank
+	call usb_isr
+	fetch 1,mem_usb0_get_set_report
+	rtn blank
+	jam 0,mem_usb0_get_set_report
+	fetch 2,mem_usb_setup_bValue_temp
+	arg PC_SET_REPORT,temp
+	isub temp,null
+	nrtn zero
+	//get usb host command
+	fetch 1,mem_usb0_set_report_data
+	rtnne PC_REPORT_ID
+	fetch 1,mem_usb0_set_report_data+1
+	beq COMMAND_MODE,dongle_dispose_cmd_mode
+	beq COMMAND_BIND,dongle_dispose_cmd_bind
+	beq COMMAND_CURRENT_PROJECT,dongle_dispose_cmd_current_project
+	beq COMMAND_CURRENT_MODE,dongle_dispose_cmd_current_mode
+	beq COMMAND_CURRENT_FW_VERSION,dongle_dispose_cmd_current_fw_version
+//	beq COMMAND_USER_DEFINED,dongle_dispose_cmd_user_defined
+dongle_usb0_data_ready_report_set0:
+	jam 0,mem_usb0_data_ready_report
+	rtn
+
+dongle_dispose_cmd_mode:
+	fetch 1,mem_usb0_set_report_data+2
+	beq COM_MODE_BIND,dongle_enter_bind_mode
+	branch dongle_usb0_data_ready_report_set0
+dongle_enter_bind_mode:
+	call g24_bind_mode_enable
+dongle_usb0_data_ready_report_set1:
+	jam 1,mem_usb0_data_ready_report
+	rtn
+
+dongle_dispose_cmd_bind:
+	fetch 1,mem_usb0_set_report_data+2
+	beq COM_BIND_GET,dongle_dispose_cmd_get_bind
+	beq COM_BIND_EXIT,dongle_dispose_cmd_exit_bind
+	beq COM_READ_MODE,dongle_dispose_cmd_read_mode
+	branch dongle_usb0_data_ready_report_set0
+dongle_dispose_cmd_get_bind:
+	fetch 1,mem_24g_bind_device_status
+	store 1,mem_usb0_get_report_data+1
+	branch dongle_usb0_data_ready_report_set1
+dongle_dispose_cmd_exit_bind:
+	call g24_work_mode_enable
+	branch dongle_dispose_cmd_get_bind
+dongle_dispose_cmd_read_mode:
+dongle_dispose_in_bind_mode:
+	jam COMMAND_BIND,mem_usb0_get_report_data+1
+	branch dongle_usb0_data_ready_report_set1	
+
+dongle_dispose_cmd_current_project:
+	jam PRODUCT_ID,mem_usb0_get_report_data+1
+	branch dongle_usb0_data_ready_report_set1
+
+dongle_dispose_cmd_current_mode:
+	fetch 1,mem_24g_work_mode
+	beq DONGLE_WORK,dongle_dispose_in_work_mode
+	beq DONGLE_BIND,dongle_dispose_in_bind_mode
+	rtn
+dongle_dispose_in_work_mode:
+	jam COMMAND_MODE,mem_usb0_get_report_data+1
+	branch dongle_usb0_data_ready_report_set1
+	
+dongle_dispose_cmd_current_fw_version:
+	jam FW_VERSION0,mem_usb0_get_report_data+1
+	jam FW_VERSION1,mem_usb0_get_report_data+2
+	jam FW_VERSION2,mem_usb0_get_report_data+3
+	jam FW_VERSION3,mem_usb0_get_report_data+4
+	branch dongle_usb0_data_ready_report_set1
+
+//dongle_dispose_cmd_user_defined:
+//	call g24_ackpayload_disable
+//	fetch 1,mem_usb0_set_report_data+2
+//	beq 0xff,soft_reset_chip
+//	rtn
+
+dongle_auto_bind:
+	call g24_mode_switch_init
+dongle_auto_bind_loop:
+	call g24_mode_switch_bind_work
+	call g24_mode_switch_bind_search
+	call dongle_work_mode_auto
+	call g24_bind_mode_auto
+	call g24_search_mode_auto
+	call dongle_usb_dispatch
+	branch dongle_auto_bind_loop
+
+dongle_work_mode_auto:
+	bpatch patch17_3,mem_patch17
+	fetch 1,mem_24g_work_mode
+	rtnne DONGLE_WORK
+	call g24_work_mode_start
+	call dongle_g24_blank_data_process
+	fetch 1,mem_24g_pair_mode
+	nrtn blank
+	branch g24_nodata_process
+
+dongle_ackpayload_prep:
+	fetch 1,mem_24g_data_type
+	beq DATATYPE_DEVICE1,dongle_ackpayload_prep_mouse
+	beq DATATYPE_DEVICE2,dongle_ackpayload_prep_keyboard
+dongle_ackpayload_prep_mouse:
+	fetch 1,mem_dg_pc_sleep_flag
+	bbit1 0,dongle_pc_sleep_ackpayload_prep_mouse
+	branch dongle_ackpayload_prep_end
+
+dongle_set_pc_sleep_flag:
+	fetch 1,mem_device_option
+	rtnne dvc_op_dongle
+	jam 3,mem_dg_pc_sleep_flag
+	rtn
+dongle_clear_pc_sleep_flag:
+	jam 0,mem_dg_pc_sleep_flag
+	rtn
+
+dongle_ackpayload_prep_keyboard:
+	fetch 1,mem_dg_pc_sleep_flag
+	bbit1 1,dongle_pc_sleep_ackpayload_prep_keyboard
+dongle_ackpayload_prep_end:
+	fetch 1,mem_24g_ackpayload_enable
+	beq BIND_ACKPAYLOAD,dongle_g24_bind_ackpayload_prep
+	beq KB_LED_ACKPAYLOAD,dongle_g24_kb_led_ackpayload_prep
+	rtn
+
+dongle_pc_sleep_ackpayload_prep_mouse:
+	fetch 1,mem_dg_pc_sleep_flag
+	set0 0,pdata
+	store 1,mem_dg_pc_sleep_flag
+	branch dongle_pc_sleep_ackpayload_prep
+
+dongle_pc_sleep_ackpayload_prep_keyboard:
+	fetch 1,mem_dg_pc_sleep_flag
+	set0 1,pdata
+	store 1,mem_dg_pc_sleep_flag
+dongle_pc_sleep_ackpayload_prep:
+	jam 0x01,mem_24g_datalen
+	setarg 0xff
+	store 1,mem_24g_txbuf
+	rtn
+
+
+dongle_g24_bind_ackpayload_prep:
+	jam 1,mem_24g_ackpayload_enable
+	call g24_binding_device_check	//works on auto pair only
+	nrtn user3
+	branch g24_bind_ackpayload_prep
+
+dongle_g24_kb_led_ackpayload_prep:
+	fetch 1,mem_24g_rxbuf+2
+	beq DATATYPE_DEVICE1,dongle_g24_bind_ackpayload_prep
+	beq DATATYPE_ATTEMP,dongle_g24_bind_ackpayload_prep
+	jam 0,mem_usb_tx_win_enable
+	jam 0x01,mem_24g_datalen
+	fetch 1,mem_24g_led_status
+	store 1,mem_24g_txbuf
+	rtn
+
+dongle_g24_mouse:
+	setarg MS_REPORT_ID
+	store 1,mem_usb_mouse_data	//report id
+	fetch 7,mem_24g_rxdata_temp+3	//key
+	istore 7,contw
+	fetch 1,mem_24g_rxdata_temp+3	//key
+	ncall dongle_g24_ms_enable_blank_data_forcibly,blank//get kb data
+	fetch 1,mem_24g_rxdata_temp+3	//key
+	call dongle_g24_ms_disable_blank_data_forcibly,blank
+	branch dongle_usb_tx_ms_data
+
+dongle_g24_ms_enable_blank_data_forcibly:
+	jam 1,mem_dg_ms_blank_data_enable
+	setarg TIMER_MS_BLANK_DELAY
+	arg TIMER_MS_BLANK,queue
+	branch timer_init
+
+dongle_g24_ms_disable_blank_data_forcibly:
+	jam 0,mem_dg_ms_blank_data_enable
+	setarg 0
+	arg TIMER_MS_BLANK,queue
+	branch timer_init
+
+dongle_g24_kb:
+	fetch 1,mem_24g_rxdata_temp+3
+	beq 0,dongle_g24_kb_type0	//normal key
+	beq 2,dongle_g24_kb_type2	//system key
+	beq 3,dongle_g24_kb_type3	//multikey
+	branch g24_rx_interrupt_clear
+
+dongle_g24_kb_type0:
+	fetch 1,mem_24g_rxdata_temp+5
+	store 1,mem_24g_ackpayload_enable
+	jam 0,mem_24g_rxdata_temp+5
+	arg mem_usb_kb_data,contw
+	arg mem_24g_rxdata_temp+4,contr
+	arg 8,loopcnt
+	call memcpy
+	fetch 8,mem_usb_kb_data
+	ncall dongle_g24_kb_enable_blank_data_forcibly,blank//get kb data
+	fetch 8,mem_usb_kb_data	
+	call dongle_g24_kb_disable_blank_data_forcibly,blank
+	fetch 8,mem_usb_kb_data
+	store 8,mem_dg_kb_data_sta_data
+	fetcht 8,mem_dg_kb_data_last_data
+	isub temp,null
+	ncall dongle_usb_tx_enable_ep1,zero
+	fetch 8,mem_dg_kb_data_sta_data
+	store 8,mem_dg_kb_data_last_data
+	branch g24_rx_interrupt_clear
+
+dongle_g24_kb_enable_blank_data_forcibly:
+	jam 1,mem_dg_kb_blank_data_enable
+	setarg TIMER_KB_BLANK_DELAY
+	arg TIMER_KB_BLANK,queue
+	branch timer_init
+
+dongle_g24_kb_disable_blank_data_forcibly:
+	jam 0,mem_dg_kb_blank_data_enable
+	setarg 0
+	arg TIMER_KB_BLANK,queue
+	branch timer_init
+
+dongle_g24_kb_type3:
+	arg mem_usb_kb_multikey,contw
+	arg mem_24g_rxdata_temp+3,contr
+	arg 3,loopcnt
+	call memcpy
+	fetch 2,mem_usb_kb_multikey+1
+	ncall dongle_g24_kb_mul_enable_blank_data_forcibly,blank//get multikey data
+	fetch 2,mem_usb_kb_multikey+1
+	call dongle_g24_kb_mul_disable_blank_data_forcibly,blank
+	fetch 3,mem_usb_kb_multikey
+	store 3,mem_dg_kb_multikey_sta_data
+	fetcht 3,mem_dg_kb_multikey_last_data
+	isub temp,null
+	ncall dongle_usb_tx_multikey_data,zero
+	fetch 3,mem_dg_kb_multikey_sta_data
+	store 3,mem_dg_kb_multikey_last_data
+	branch g24_rx_interrupt_clear
+
+dongle_g24_kb_mul_enable_blank_data_forcibly:
+	jam 1,mem_dg_kb_mul_blank_data_enable
+	setarg TIMER_KB_MUL_BLANK_DELAY
+	arg TIMER_KB_MUL_BLANK,queue
+	branch timer_init
+	
+dongle_g24_kb_mul_disable_blank_data_forcibly:
+	jam 0,mem_dg_kb_mul_blank_data_enable
+	setarg 0
+	arg TIMER_KB_MUL_BLANK,queue
+	branch timer_init
+
+dongle_g24_kb_type2:
+	arg mem_usb_kb_system,contw
+	arg mem_24g_rxdata_temp+3,contr
+	arg 2,loopcnt
+	call memcpy
+	fetch 2,mem_usb_kb_system
+	ncall dongle_g24_kb_sys_enable_blank_data_forcibly,blank
+	fetch 2,mem_usb_kb_system
+	call dongle_g24_kb_sys_disable_blank_data_forcibly,blank
+	fetch 2,mem_usb_kb_system
+	store 2,mem_dg_kb_system_sta_data
+	fetcht 2,mem_dg_kb_system_last_data
+	isub temp,null
+	ncall dongle_usb_tx_sys_data,zero
+	fetch 2,mem_dg_kb_system_sta_data
+	store 2,mem_dg_kb_system_last_data
+	branch g24_rx_interrupt_clear
+
+dongle_g24_kb_sys_enable_blank_data_forcibly:
+	jam 1,mem_dg_kb_mul_blank_data_enable
+	setarg TIMER_KB_MUL_BLANK_DELAY
+	arg TIMER_KB_MUL_BLANK,queue
+	branch timer_init
+dongle_g24_kb_sys_disable_blank_data_forcibly:
+	jam 0,mem_dg_kb_mul_blank_data_enable
+	setarg 0
+	arg TIMER_KB_MUL_BLANK,queue
+	branch timer_init
+
+dongle_usb_tx_sys_data:
+	jam USB_EP2_SYSTEMKEY,mem_usb_ep2_data
+	branch dongle_usb_tx_enable_ep2
+
+
+dongle_g24_store_dvc2_bind_flag:
+	fetch 1,mem_device_option
+	rtnne dvc_op_dongle
+	fetch 1,mem_dg_kb_bind_flag
+	rtneq DONGLE_KB_BIND_SUCCESS
+dongle_prep_soft_reset:
+	jam 1,mem_dg_kb_bind_success
+	rtn
+
+
+dongle_kb_bind_soft_reset:
+	fetch 1,mem_device_option
+	rtnne dvc_op_dongle
+	fetch 1,mem_dg_kb_bind_success
+	rtn blank
+	jam 0,mem_temp
+dongle_wirte_efuse_bind_status:	
+	jam DONGLE_KB_BIND_SUCCESS,mem_dg_kb_bind_flag
+	call dongle_write_kb_bind_status
+	call dongle_read_kb_bind_status
+	fetch 1,mem_temp
+	increase 1,pdata
+	store 1,mem_temp
+	beq 0xff,soft_reset_chip
+	fetch 1,mem_dg_kb_bind_flag
+	bne DONGLE_KB_BIND_SUCCESS,dongle_wirte_efuse_bind_status
+	branch soft_reset_chip
+
+
+endif
+
+
Index: program/app_esl.prog
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/program/app_esl.prog	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/program/app_esl.prog	(working copy)
@@ -0,0 +1,887 @@
+
+ifdef COMPILE_ESL
+/**************************************INFO LOG FUNC0******************************************/
+eink_log_push_2Bdec:
+	arg 2,debug
+	call eink_log_hex2dec
+	jam 0,mem_eink_log_hex2dec_ptr
+eink_log_push_2Bdec_loop:
+	setarg mem_eink_log_hex2dec
+	fetcht 1,mem_eink_log_hex2dec_ptr
+	iadd temp,contr
+	ifetch 1,contr
+	and_into 0xf,pdata
+	call eink_log_num
+	fetch 1,mem_eink_log_hex2dec_ptr
+	increase 1,pdata
+	store 1,mem_eink_log_hex2dec_ptr
+	fetch 1,mem_eink_log_hex2dec_len
+	increase -1,pdata
+	store 1,mem_eink_log_hex2dec_len
+	nbranch eink_log_push_2Bdec_loop,blank
+	rtn
+
+eink_log_push:
+	fetch 1,mem_eink_log_last_letter	//if(last_letter != letter)
+	fetcht 1,mem_eink_log_letter
+	isub temp,null
+	nbranch eink_log_push_real,zero
+
+	fetch 1,mem_eink_log_last_cmd	//if(last_cmd != cmd)
+	fetcht 1,mem_eink_log_cmd
+	isub temp,null
+	nbranch eink_log_push_real,zero
+	
+	fetch 1,mem_eink_log_last_ch	//if(last_ch != ch)
+	fetcht 1,mem_eink_log_ch
+	isub temp,null
+	nbranch eink_log_push_real,zero
+	
+	fetch 1,mem_eink_log_last_star
+	rtneq CHAR_ASTERISK					//if(last_star == '*')    *:0x2A
+	setarg CHAR_ASTERISK
+	call eink_log_font
+	jam CHAR_ASTERISK,mem_eink_log_last_star
+	rtn
+	
+eink_log_push_real:
+	fetch 1,mem_eink_log_letter
+	call eink_log_font
+
+	fetch 1,mem_eink_log_cmd
+	call eink_log_num
+
+	call eink_log_minus
+
+	fetch 1,mem_eink_log_ch
+	call eink_log_num
+
+	call eink_log_minus
+
+	fetch 1,mem_eink_log_rssi
+	call eink_log_num
+
+	fetch 5,mem_eink_log_info
+	store 5,mem_eink_log_last_info
+	jam 0,mem_eink_log_last_star
+	rtn
+	
+
+/* print 1 byte of pdata to ring buffer screen log*/
+eink_log:
+	compare CHAR_ASTERISK,pdata,0xFF     //if(last_star == '*') *:0x2A
+	ncall eink_log_clear_last,true
+
+	copy pdata,regc
+	fetch 1,mem_eink_log_front
+	copy pdata,rega						//front -> rega
+	fetch 1,mem_eink_log_end				
+	copy pdata,regb						//end -> regb
+       
+	increase 1,rega						//front =+ 1
+	div rega,EINK_LOG_MAX				// front%20
+	call wait_div_end
+	remainder temp						//temp = front%30
+	copy temp,pdata
+	icompare 0xFF,regb					//if( front%30 == end)
+	branch eink_log_full,true
+	branch eink_log_not_full
+
+eink_log_num:
+	jam 1,mem_eink_log_is_byte		//set is  byte
+	branch eink_log
+eink_log_font:
+	jam 0,mem_eink_log_is_byte		//set is not byte
+	branch eink_log
+
+eink_log_clear_last:
+	jam 0,mem_eink_log_last_star
+	jam 0,mem_eink_log_last_letter
+	jam 0,mem_eink_log_last_cmd
+	jam 0,mem_eink_log_last_ch
+	rtn
+
+eink_log_full:
+	fetch 1,mem_eink_log_front				//ringbuf[front] = cmd;
+	arg mem_eink_log_ring_buffer,rega
+	iadd rega,rega
+	copy regc,pdata
+	istore 1,rega
+	call eink_log_set_byte_flag					//modify is-byte flag
+		
+	fetch 1,mem_eink_log_front				//front = (front + 1)%BUF_LEN;
+	increase 1,pdata
+	div pdata,EINK_LOG_MAX
+	call wait_div_end
+	remainder temp
+	storet 1,mem_eink_log_front
+
+	fetch 1, mem_eink_log_end					//end = (end + 1)%BUF_LEN;
+	increase 1,pdata
+	div pdata,EINK_LOG_MAX
+	call wait_div_end
+	remainder temp
+	storet 1,mem_eink_log_end
+	rtn
+
+eink_log_not_full:
+	fetch 1,mem_eink_log_front				//ringbuf[front] = cmd;
+	arg mem_eink_log_ring_buffer,rega
+	iadd rega,rega
+	copy regc,pdata
+	istore 1,rega
+	call eink_log_set_byte_flag					//modify is-byte flag
+
+	fetch 1,mem_eink_log_front				//front = (front + 1)%BUF_LEN;
+	increase 1, pdata
+	div pdata,EINK_LOG_MAX
+	call wait_div_end
+	remainder temp
+	storet 1,mem_eink_log_front
+	rtn
+
+eink_log_set_byte_flag:
+ 	fetch 1,mem_eink_log_front				//modify is-byte flag
+ 	div pdata,8
+ 	call wait_div_end
+ 	quotient pdata
+ 	remainder temp
+	arg mem_eink_log_ring_buffer_flag,regc
+	iadd regc,regc
+	ifetch 1,regc                       //now regc is flag byte addr
+	copy pdata,rega                //now pdata and rega is flag byte data
+
+	fetch 1,mem_eink_log_is_byte		//modify bit of is-byte 
+	call eink_log_set_flag_font,blank
+	ncall eink_log_set_flag_byte,blank
+
+	copy rega,pdata					//save back to mem
+ 	istore 1,regc
+	rtn
+
+eink_log_set_flag_font:
+	copy temp,queue
+	disable user
+	qsetflag user,rega
+	rtn
+eink_log_set_flag_byte:
+ 	copy temp,queue
+ 	enable user
+	qsetflag user,rega
+ 	rtn
+
+//rega:src buff
+//debug:length
+eink_log_hex2dec:
+	arg mem_eink_log_hex2dec,regc
+eink_log_calc_loop:
+	call eink_log_hex2dec_Rptr
+	call bcd2
+	call eink_log_hex2dec_Rcnt
+	disable user
+eink_log_bcd_loop:
+	ifetch 1,regb
+	and_into 0x1f,pdata
+	branch eink_log_do_store,user
+	branch eink_log_skip_prefix,blank
+eink_log_do_store:
+	and_into 0xf,pdata
+	call eink_store_barcode
+	enable user
+eink_log_skip_prefix:
+	increase 1,regb
+	loop eink_log_bcd_loop
+	deposit regc
+	arg mem_eink_log_hex2dec,contr
+	isub contr,pdata
+	store 1,mem_eink_log_hex2dec_len
+	copy pdata,loopcnt
+	arg mem_eink_log_hex2dec,contw
+eink_display_dec_loop:
+	arg 0x2e,temp
+	ifetch 1,contw
+	add pdata,0x30,temp
+	istoret 1,contw
+	loop eink_display_dec_loop
+	rtn
+
+eink_store_barcode:
+	istore 1,regc
+	increase 1,regc
+	rtn	
+
+eink_log_hex2dec_Rptr:
+	copy debug,pdata
+	beq 1,rega_read_1byte
+	beq 2,rega_read_2bytes
+	rtn
+rega_read_1byte:
+	ifetch 1,rega
+	rtn
+rega_read_2bytes:
+	ifetch 2,rega
+	rtn
+
+eink_log_hex2dec_Rcnt:
+	copy debug,pdata
+	beq 1,bcd_read_1byte
+	beq 2,bcd_read_2bytes
+	rtn
+bcd_read_1byte:
+	arg 3,loopcnt
+	arg mem_bcd+5,regb
+	rtn
+bcd_read_2bytes:
+	arg 5,loopcnt
+	arg mem_bcd+3,regb	
+	rtn
+
+eink_log_break:
+	setarg LETTER_B					//'B'
+	call eink_log_font
+	arg mem_parse_cnt,rega
+	call eink_log_push_2Bdec
+	call eink_log_minus				//'-'
+	fetch 1,mem_esl_24g_current_ch
+	call eink_log_num
+	call eink_log_minus				//'-'
+	fetch 1,mem_esl_24g_behavior
+	branch eink_log_num
+
+eink_log_supervision_timeout:
+	call eink_log_break
+eink_log_fail:
+	setarg LETTER_F					//'F'
+	call eink_log_font
+	fetch 2,mem_rx_cnt
+	branch eink_log_fail_rx_null,blank
+	isolate1 mark_24g_old_packet,mark
+	branch eink_log_fail_old_pac,true
+eink_log_fail_rx_lost:	
+	setarg EINK_LOG_RX_LOST
+	branch eink_log_num	
+eink_log_fail_rx_null:
+	setarg EINK_LOG_RX_NULL
+	branch eink_log_num
+eink_log_fail_old_pac:
+	setarg EINK_LOG_OLD_PAC
+	branch eink_log_num
+
+
+eink_log_minus:
+	setarg CHAR_MINUS
+	branch eink_log_font
+
+eink_log_s:
+	setarg LETTER_S					//'S'
+	branch eink_log_font
+
+eink_set_orig:
+	arg mem_eink_orig,regb
+	branch eink_wr_seq
+
+eink_init_seq:
+	arg mem_eink_init_offset,regb
+	call eink_wr_seq
+	arg mem_eink_init,regb
+eink_wr_seq:
+	ifetch 8,regb
+	rtneq 0xff
+	and pdata,0xff,regc
+	call eink_spid_cmd
+	add regc,2,pdata
+	iadd regb,regb
+	branch eink_wr_seq
+
+	// pdata[7:0] data length pdata [15:8] command pdata[63:16] data
+eink_spid_cmd:
+	and pdata,0xff,rega
+	rshift8 pdata,pdata
+	store 7,mem_spid_tbuf
+eink_spid_data:
+	setarg mem_spid_tbuf
+	call eink_spid_buf
+	call start_spid
+eink_spid_end:
+	fetcht 1,mem_cs
+	branch gpio_out_inactive
+
+
+	// pdata: tx buffer, rega is data length	
+eink_spid_buf:
+	store 2,core_spid_txaddr
+	fetcht 1,mem_cs
+	call gpio_out_active
+	fetcht 1,mem_dc
+	call gpio_out_active
+	setarg 1
+	store 2,core_spid_txlen
+	call start_spid
+	fetcht 1,mem_dc
+	call gpio_out_inactive
+	deposit rega
+	branch eink_spid_end,blank
+	store 2,core_spid_txlen
+	fetch 2,core_spid_txaddr
+	increase 1,pdata
+	store 2,core_spid_txaddr
+	rtn
+
+start_spid:
+	jam spid_start,core_misc_ctrl
+	branch wait_spid_done
+
+
+/**********************************RLE UNCOMPRESS FUNC***********************************/
+uncompress_init:
+	jam 0,mem_uncom_image_att_flag
+	jam 0,mem_uncom_fliter_data_flag
+	arg 0x20,loopcnt
+	arg mem_uncom_the_first_two_buff,contw
+	call memset0
+	setarg mem_uncom_clear_once_end
+	arg mem_uncom_clear_once_start,contw
+	isub contw,loopcnt
+	call clear_mem
+	setarg mem_esl_24g_rxpayload
+	arg UNCOM_SRC_INDEX,temp
+	iadd temp,pdata
+	store 2,mem_uncom_src_end
+uncompress_mem_clear_everytime:
+	setarg mem_uncom_clear_everytime_end
+	arg mem_uncom_clear_everytime_start,contw
+	isub contw,loopcnt
+	branch clear_mem
+
+uncompress_dispatch:
+	//fetch 1,mem_uncom_image_att_flag
+	//beq 0,umcompress_image_att
+	fetch 1,mem_uncom_fliter_data_flag
+	beq 1,uncompress_fliter_redundant_data
+	call uncompress_start
+	fetch 2,mem_uncom_current_len
+	rtn blank
+	call uncompress_image
+	branch wait_spid_done  //should wait spi write data finish
+	
+uncompress_fliter_redundant_data:
+	jam 0,mem_uncom_fliter_data_flag
+	call uncompress_start
+	fetchr loopcnt,1,mem_uncom_current_len
+	arg mem_uncom_the_first_two_buff,contw
+	arg mem_uncom_dest+1,contr
+	call memcpy
+	/******************reuse temp********************/	
+	fetch 2,mem_uncom_total_len
+	fetcht 1,mem_uncom_fliter_datalen
+	isub temp,pdata
+	store 2,mem_uncom_total_len
+	fetch 2,mem_uncom_current_len
+	isub temp,pdata
+	store 2,mem_uncom_current_len
+	fetchr loopcnt,1,mem_uncom_current_len
+	setarg mem_uncom_the_first_two_buff
+	iadd temp,contr
+	arg mem_uncom_dest+1,contw
+	call memcpy
+	/******************reuse temp********************/	
+	branch uncompress_image
+
+
+umcompress_image_att:
+	call uncompress_start
+	setarg mem_uncom_the_first_two_buff
+	fetcht 1,mem_uncom_the_first_two_index
+	iadd temp,contw
+	fetchr loopcnt,1,mem_uncom_current_len
+	arg mem_uncom_dest+1,contr
+	call memcpy
+	fetch 1,mem_uncom_the_first_two_index
+	branch umcompress_image_att_index,blank
+	jam 1,mem_uncom_image_att_flag
+	fetch 2,mem_uncom_total_len
+	pincrease -62	//UNCOM_IMAGE_ATT_LENTH
+	store 2,mem_uncom_total_len
+	store 2,mem_uncom_current_len
+	arg mem_uncom_the_first_two_buff,contr
+	arg mem_uncom_image_att_buf,contw
+	arg UNCOM_IMAGE_ATT_LENTH,loopcnt
+	call memcpy
+	fetchr loopcnt,1,mem_uncom_current_len
+	arg mem_uncom_the_first_two_buff+UNCOM_IMAGE_ATT_LENTH,contr
+	arg mem_uncom_dest+1,contw
+	call memcpy
+	branch uncompress_image
+
+
+umcompress_image_att_index:
+	fetch 1,mem_uncom_current_len
+	store 1,mem_uncom_the_first_two_index
+	rtn
+
+uncompress_start:
+	setarg 0
+	store 3,mem_uncom_dest_index
+	call uncompress_left_check
+	fetch 1,mem_uncom_src_index
+	beq UNCOM_SRC_LENGTH,uncompress_end
+uncompress_loop:
+	call uncompress_read_head
+	fetch 1,mem_uncom_block_head
+	branch uncompress_end,blank
+	bbit1 7,uncompress_original
+uncompress_repetition:
+	jam 1,mem_uncom_repetitive
+	fetcht 2,mem_uncom_block_body_ptr
+	fetch 2,mem_uncom_src_end
+	isub temp,null
+	nbranch repetition_overflow,positive
+	fetchr rega,1,mem_uncom_block_len
+	call uncompress_repetition_memcpy
+	fetch 1,mem_uncom_src_index
+	sub pdata,UNCOM_SRC_INDEX,null
+	branch uncompress_loop,positive
+uncompress_repetition_end:
+uncompress_original_end:
+	jam 0,mem_uncom_repetitive
+	jam 0,mem_uncom_left_len
+uncompress_end:
+	fetch 2,mem_uncom_dest_index
+	store 2,mem_uncom_current_len
+	rtn
+
+repetition_overflow:
+	fetch 1,mem_uncom_block_len
+	store 1,mem_uncom_left_len
+	branch uncompress_end
+
+uncompress_original:
+	jam 2,mem_uncom_repetitive
+	fetcht 2,mem_uncom_block_body_ptr
+	fetch 2,mem_uncom_src_end
+	isub temp,null
+	nbranch original_overflow_head_left,positive
+
+	fetch 1,mem_uncom_block_len
+	iadd temp,temp
+	fetch 2,mem_uncom_src_end
+	isub temp,temp
+	nbranch original_overflow_body_left,positive
+
+	fetchr rega,1,mem_uncom_block_len
+	call uncompress_original_memcpy
+	fetch 1,mem_uncom_src_index
+	sub pdata,UNCOM_SRC_INDEX,null
+	branch uncompress_loop,positive
+	branch uncompress_original_end
+
+original_overflow_head_left:
+	fetch 1,mem_uncom_block_len
+	store 1,mem_uncom_left_len
+	branch uncompress_end
+
+original_overflow_body_left:
+	sub temp,0,temp
+	increase -1,temp
+	storet 1,mem_uncom_left_len
+	fetch 1,mem_uncom_block_len
+	isub temp,pdata
+	store 1,mem_uncom_block_len
+	fetchr rega,1,mem_uncom_block_len
+	call uncompress_original_memcpy
+	branch uncompress_end
+
+uncompress_left_check:
+	fetch 1,mem_uncom_left_len
+	rtn blank
+	fetch 1,mem_uncom_repetitive
+	beq 2,uncompress_left_original
+uncompress_left_repetition:
+	fetchr rega,1,mem_uncom_left_len
+uncompress_repetition_memcpy:
+	copy rega,loopcnt
+	call uncompress_dest_contw
+repetition_memcpy_loop:
+	call uncompress_src_contr
+	ifetch 1,contr
+	istore 1,contw
+	loop repetition_memcpy_loop
+	call uncompress_src_index_add_one
+	/******************reuse temp********************/
+	copy rega,temp
+	call uncompress_dest_index_add_len
+	branch uncompress_total_len_add_len
+	/******************reuse temp********************/
+
+uncompress_left_original:
+	fetch 1,mem_uncom_left_len
+	sub pdata,UNCOM_SRC_INDEX,null
+	nbranch uncompress_left_original_continue,positive
+	fetchr rega,1,mem_uncom_left_len
+uncompress_original_memcpy:
+	copy rega,loopcnt
+	call uncompress_dest_contw
+	call uncompress_src_contr
+	call memcpy
+	/******************reuse temp********************/
+	copy rega,temp
+	call uncompress_src_index_add_len
+	call uncompress_dest_index_add_len
+	branch uncompress_total_len_add_len
+	/******************reuse temp********************/
+
+uncompress_left_original_continue:
+	fetch 1,mem_uncom_left_len
+	increase -32,pdata	//24g data len
+	store 1,mem_uncom_left_len
+	arg 32,rega			//24g data len
+	branch uncompress_original_memcpy
+
+uncompress_read_head:
+	call uncompress_src_contr
+	ifetch 1,contr
+	store 1,mem_uncom_block_head
+	and_into 0x7f,pdata
+	store 1,mem_uncom_block_len
+	copy contr,pdata
+	store 2,mem_uncom_block_body_ptr
+uncompress_src_index_add_one:
+	fetch 1,mem_uncom_src_index
+	increase 1,pdata
+	store 1,mem_uncom_src_index
+	rtn
+
+uncompress_src_contr:
+	setarg mem_esl_24g_rxpayload
+	fetcht 1,mem_uncom_src_index
+	iadd temp,contr
+	rtn
+
+uncompress_dest_contw:
+	setarg mem_uncom_dest
+	pincrease 1
+	fetcht 2,mem_uncom_dest_index
+	iadd temp,contw
+	rtn
+
+uncompress_src_index_add_len:
+	fetch 1,mem_uncom_src_index
+	iadd temp,pdata
+	store 1,mem_uncom_src_index
+	rtn
+
+uncompress_total_len_add_len:
+	fetch 2,mem_uncom_total_len
+	iadd temp,pdata
+	store 2,mem_uncom_total_len
+	rtn
+
+uncompress_dest_index_add_len:
+	fetch 2,mem_uncom_dest_index
+	iadd temp,pdata
+	store 2,mem_uncom_dest_index
+	rtn
+
+
+uncompress_eink_type:
+	jam 0x24,mem_uncom_dest
+	rtnmark0 mark_eink_red
+	jam 0x26,mem_uncom_dest
+	rtn	
+
+uncompress_image:
+	setarg mem_uncom_dest
+	store 2,mem_eink_head
+	fetch 2,mem_image_ptr
+	call eink_set_orig,blank
+	call uncompress_eink_type
+	fetcht 2,mem_uncom_current_len
+	copy temp,rega
+	fetch 2,mem_image_ptr
+	copy pdata,regb
+	iadd temp,pdata
+	store 2,mem_image_ptr
+	fetcht 2,mem_eink_size
+	isub temp,pdata
+	nbranch esl_write_full,positive
+	bmark1 mark_eink_red,uncompress_image_red
+uncompress_image_black:
+	store 2,mem_uncom_current_len	//red ram length
+	fetch 2,mem_eink_size
+	isub regb,rega		//black ram left length
+	fetch 2,mem_uncom_current_len
+	branch uncompress_image_black_end,blank
+	call esl_write_ram
+	call wait_spid_done	//wait write eink ram done
+	fetch 2,mem_uncom_current_len
+	fetcht 1,mem_uncom_fliter_datalen
+	isub temp,pdata
+	store 2,mem_uncom_current_len
+	copy pdata,loopcnt
+	setarg mem_uncom_dest+1
+	fetcht 1,mem_uncom_fliter_datalen
+	iadd temp,pdata
+	iadd rega,contr
+	arg mem_uncom_dest+1,contw
+	call memcpy
+	branch uncompress_image
+
+uncompress_image_red:
+	copy rega,pdata
+	fetcht 1,mem_uncom_fliter_datalen
+	isub temp,rega
+	branch esl_write_ram
+
+uncompress_image_black_end:
+	jam 1,mem_uncom_fliter_data_flag
+	branch esl_write_ram
+
+
+esl_write_ram:
+	bmark1 mark_eink_red,lost_last_packet
+esl_write_ram_start:
+	call image_ptr_clear
+	set1 mark_eink_red,mark
+esl_write_full:	
+	fetch 2,mem_eink_head
+	call eink_spid_buf
+	jam spid_start,core_misc_ctrl
+	rtn
+	
+image_ptr_clear:
+	setarg 0
+	store 2,mem_image_ptr
+	rtn	
+	
+lost_last_packet:
+	call esl_write_ram_start
+	jam STATE_DATA_FINISH,mem_update_state
+	rtn
+	
+bcd2:
+	store 8,mem_pdatatemp
+	force 0x20,pdata
+	force 8,loopcnt
+	arg mem_bcd,contw
+lpo_clear:	
+	istore 1,contw
+	loop lpo_clear
+	arg mem_bcd,contw
+	increase 7,contw
+	fetch 8,mem_pdatatemp
+bcd_loop:
+	div pdata,10
+	call wait_div_end
+	remainder pdata
+	or_into 0x30,pdata
+	istore 1,contw
+	increase -2,contw
+	quotient pdata
+	rtn blank
+	branch bcd_loop
+
+
+/**************************************INFO DISPALY FUNC******************************************/
+eink_chksum:
+	ifetch 1,rega
+	imul32 temp,pdata
+	iadd regb,regb
+	increase 1,temp
+	increase -1,rega
+	setarg mem_barcode_start
+	isub rega,null
+	nbranch eink_chksum,zero
+	div regb,47
+	call wait_div_end
+	remainder pdata
+	branch eink_store_barcode
+	// pdata: 0-9, 37=dot, 47=start/stop
+eink_display_barcode_byte:
+	arg mem_code93,contr
+	iadd contr,contr
+	ifetchr debug,1,contr
+	arg 7,queue
+eink_display_barcode_byte_loop:
+	call eink_setxy
+	qisolate1 debug
+	call eink_display_barcode_x
+	increase -1,queue
+	branch eink_display_barcode_byte_loop,positive
+	call eink_setxy
+	isolate1 0,null
+eink_display_barcode_x:
+	setarg 0x100
+	iadd timeup,timeup
+	setarg 0
+	branch eink_display_barcode_blank,true
+	setarg -1
+eink_display_barcode_blank:
+	store 4,mem_spid_tbuf+1
+	jam 0x24,mem_spid_tbuf
+	arg 4,rega
+	branch eink_spid_data
+	
+eink_clear_loop:
+	arg 32,rega
+	call eink_spid_data
+	increase -32,regb
+	branch eink_clear_loop,positive
+	rtn
+	
+eink_log_battery_vol:
+	arg 2,debug
+	arg mem_battery_vol,rega
+	call eink_log_hex2dec
+	fetch 2,mem_eink_log_hex2dec+1
+	store 2,mem_eink_log_hex2dec+2
+	jam CHAR_DOT,mem_eink_log_hex2dec+1
+	jam 4,mem_eink_log_hex2dec_len	//'2.78'
+	branch eink_display_dec+1
+
+eink_log_broadcast_rssi:
+	fetch 1,mem_rssi_save	//broadcast
+	sub pdata,95,pdata
+	ncall enable_blank,positive
+	store 1,mem_rssi_temp
+	arg 1,debug
+	arg mem_rssi_temp,rega
+	branch eink_display_dec
+eink_log_unicast_rssi:
+	fetch 1,mem_esl_24g_rssi_save	//unicast
+	branch eink_log_broadcast_rssi+1
+eink_log_push_zero:
+	arg 1,debug
+	arg mem_eink_log_push_zero,rega
+	branch eink_display_dec
+
+eink_display_dec:
+	call eink_log_hex2dec
+	fetchr loopcnt,1,mem_eink_log_hex2dec_len
+	arg mem_eink_log_hex2dec,alarm
+	branch eink_display_str
+
+
+	// timeup is yx 24 bit
+eink_setxy:
+	and timeup,0xff,pdata
+	store 1,mem_eink_setxy+2
+	fetch 2,mem_eink_xy+1
+	rshift8 timeup,temp
+	isub temp,pdata
+	store 2,mem_eink_setxy+5
+	arg mem_eink_setxy,regb
+	branch eink_wr_seq
+
+eink_display_dot:
+	setarg CHAR_DOT
+	branch eink_display_font
+
+eink_display_comma:
+	setarg CHAR_COMMA
+	call eink_display_font
+	setarg 0x300
+	iadd timeup,timeup
+	rtn
+
+eink_display_space:
+	setarg CHAR_SPACE
+	branch eink_display_font
+	
+
+	// alarm points to bytes, loopcnt is length
+eink_display_str:
+	ifetch 1,alarm
+	call eink_display_font
+	increase 1,alarm
+	loop eink_display_str
+	rtn
+	// pdata:0-ff
+eink_display_byte:
+	and pdata,0xf,type
+	rshift4 pdata,pdata
+	call eink_display_hex
+	deposit type
+
+	// pdata:0-f
+eink_display_hex:
+	pincrease 0x30
+	sub pdata,0x39,null
+	branch eink_display_font,positive
+	pincrease 0x27
+
+	// pdata:char 0-9 for digit, > 65 for A-Z, timeup is yx
+eink_display_font:
+	arg 3,debug
+	beq 0x20,eink_display_font_space
+	beq 0x2e,eink_display_font_dot
+	beq 0x2c,eink_display_font_comma
+	arg 8,debug
+	beq 0x40,eink_display_font_at
+	beq 0x3e,eink_display_font_greater
+	beq 0x25,eink_display_font_percent
+	arg 6,debug
+	beq 0x3a,eink_display_font_colon
+	beq 0x2d,eink_display_font_minus
+	beq 0x2a,eink_display_font_asterisk
+	beq 0x23,eink_display_font_pound
+	sub pdata,0x39,null
+	branch eink_display_digit,positive
+	increase -97,pdata
+	arg 8,debug
+	branch eink_display_cont
+eink_display_font_percent:
+	setarg 45
+	branch eink_display_cont
+eink_display_font_asterisk:
+	setarg 44
+	branch eink_display_cont
+eink_display_font_greater:
+	setarg 43
+	branch eink_display_cont
+eink_display_font_at:
+	setarg 42
+	branch eink_display_cont
+eink_display_font_comma:
+	setarg 41
+	branch eink_display_cont
+eink_display_font_dot:
+	setarg 40
+	branch eink_display_cont
+eink_display_font_space:
+	setarg 39
+	branch eink_display_cont
+eink_display_font_pound:
+	setarg 38
+	branch eink_display_cont
+eink_display_font_colon:
+	setarg 37
+	branch eink_display_cont
+eink_display_font_minus:
+	setarg 36
+	arg 5,debug
+	branch eink_display_cont
+eink_display_digit:
+	increase -22,pdata
+eink_display_cont:
+	lshift3 pdata,pdata
+	arg mem_eink_font,temp
+	iadd temp,regext
+eink_display_font_loop:
+	call eink_setxy
+	ifetch 1,regext
+	pinvert
+	store 1,mem_spid_tbuf+1
+	jam 0x24,mem_spid_tbuf
+	arg 1,rega
+	call eink_spid_data
+	setarg 0x100
+	iadd timeup,timeup
+	increase 1,regext
+	increase -1,debug
+	nbranch eink_display_font_loop,zero
+	rtn
+
+
+
+endif
+
Index: program/app_module.prog
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/program/app_module.prog	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/program/app_module.prog	(working copy)
@@ -0,0 +1,1791 @@
+
+ifdef COMPILE_MODULE
+
+module_init:	
+	rtn wake
+	call le_modified_name
+	setarg module_process_idle
+	store 2,mem_cb_idle_process
+	setarg module_bt_conn_process
+	store 2,mem_cb_bt_process
+	setarg module_process_bb_event
+	store 2,mem_cb_bb_event_process
+	setarg module_lpm_lock
+	store 2,mem_cb_check_wakelock
+	setarg module_hci_cmd_transmit_le_notify
+	store 2,mem_cb_ble_transmit
+	setarg module_hci_event_receive_spp_data
+	store 2,mem_cb_receive_spp_data
+	setarg module_le_receive_data
+	store 2,mem_cb_att_write
+	setarg module_bb_event_timer
+	store 2,mem_cb_event_timer
+
+ifdef COMPILE_WECHAT
+	setarg module_wechat_rx_push_data
+	store 2,mem_module_wechat_rx_push_data_cb
+endif
+	call module_spp_clear_last_transmite_clock
+	bpatch patch17_4,mem_patch17
+	call module_lpm_uart_init
+	call module_gpio_init
+	branch module_hci_event_enter_standby_mode
+
+/*
+	function name:uart init by mem
+	input:
+		mem_module_uart_rx_buffer、mem_module_uart_rx_buffer_end
+		mem_module_uart_tx_buffer、mem_module_uart_tx_buffer_end
+		mem_module_uarta_baud_rate
+		bit0 of mem_module_flag
+*/
+module_lpm_uart_init:
+	fetch 1,core_uart_ctrl
+	set0 BIT_UART_CONTROL_ENABLE,pdata
+	store 1,core_uart_ctrl
+	fetch 8,mem_module_uart_rx_buffer
+	call uarta_init_dma_mem
+	fetch uart_baud_len,mem_module_uarta_baud_rate
+	call uarta_init_baud_rate
+	call uart_clock_select_main_freq_crystal
+	jam gpcfg_uart_txd,core_gpio_conf+HCI_UART_TX_GPIO_NUM
+	jam gpcfg_uart_rxd|gpcfg_pullup,core_gpio_conf+HCI_UART_RX_GPIO_NUM
+	jam gpcfg_uart_rts,core_gpio_conf+HCI_UART_RTS_GPIO_NUM
+	jam gpcfg_uart_cts,core_gpio_conf+HCI_UART_CTS_GPIO_NUM
+
+	arg FUN_UART_CONTROL_ENABLE|FUN_UART_CONTROL_SETTING_RATE_BAUD,temp
+	fetch 2,mem_module_flag
+	isolate1 MODULE_FLAG_UART_FLOW_CONTROL,pdata
+	setflag true,BIT_UART_CONTROL_FLOW_CONTROL,temp
+	storet 1,core_uart_ctrl
+	rtn
+
+/*
+	function:init uart & spp clock by lpm wake
+*/
+module_lpm_init:
+	call module_spp_clear_last_transmite_clock
+	branch module_lpm_uart_init
+
+
+
+/*
+	function name:module_gpio_init
+	init connect state & lpm wake up
+*/
+module_gpio_init:
+	fetcht 1,mem_module_connect_state_gpio
+	call gpio_config_output
+	call module_set_conn_pin_low
+	fetcht 1,mem_module_wake_up_gpio
+	branch gpio_config_input
+
+module_lpm_lock:
+	fetcht 1,mem_module_wake_up_gpio
+	call gpio_get_bit
+	nbranch app_put_lpm_wake_lock,true
+	branch app_get_lpm_wake_lock
+
+
+/*
+	function name:BT connect process callback
+	check sniff timer & check uart Tx buffer from SPP Credit
+*/
+module_bt_conn_process:
+	call module_spp_enter_sniff
+	branch module_control_air_flow
+
+module_spp_enter_sniff:
+	fetch 1,mem_ui_state_map
+	bbit0 UI_STATE_BT_SPP_CONN,module_spp_clear_last_transmite_clock
+	setarg 0x3eff
+	fetcht 4,mem_last_transmite_clock
+	iadd temp,temp
+	copy clkn_bt,pdata
+	isub temp,null
+	nrtn positive
+	fetch 2,mem_ui_state_map
+	bbit1 UI_STATE_BT_SNIFF,module_spp_clear_last_transmite_clock
+	fetch 2,mem_module_flag
+	rtnbit1 MOUDLE_TASK_SNIFF
+	call module_set_sniff_task_flag
+	call app_bt_enter_sniff
+module_spp_clear_last_transmite_clock:
+	copy clkn_bt,pdata
+	store 4,mem_last_transmite_clock
+	rtn
+
+/*
+	function name:chip idle process callback
+	check uart Tx buffer from SPP Credit&check l2cap fifo&check uart rx data
+*/
+module_process_idle:
+	call module_control_air_flow
+	call l2cap_malloc_is_fifo_full
+	nrtn blank
+	branch module_process_check_hci_command_complete
+
+	
+module_process_bb_event:
+	copy regc,pdata
+	beq BT_EVT_BB_CONNECTED,module_process_bb_conn
+	beq BT_EVT_BB_DISCONNECTED,module_process_bb_event_disconned
+	beq BT_EVT_RECONN_FAILED,module_process_reconn_fail
+	beq BT_EVT_SETUP_COMPLETE,module_process_setup_complete
+	beq BT_EVT_SPP_CONNECTED,module_process_spp_connected
+	beq BT_EVT_SPP_DISCONNECTED,module_process_spp_disconnected
+	beq BT_EVT_PINCODE_REQ,module_process_evt_pincode_req
+	beq BT_EVT_ENTER_SNIFF,module_process_enter_sniff
+	beq BT_EVT_EXIT_SNIFF,module_process_exit_sniff
+	beq BT_EVT_RECONN_PAGE_TIMEOUT,module_process_page_time_out
+	beq BT_EVT_LE_CONNECTED,module_process_le_conn
+	beq BT_EVT_LE_DISCONNECTED,module_process_bb_even_le_disconn
+	beq BT_EVT_SNIFF_NOT_ACCEPT,module_process_sniff_not_accept
+	beq BT_EVT_UNSNIFF_ACCEPT,module_process_unsniff_accept
+	beq BT_EVT_UNSNIFF_NOT_ACCEPT,module_process_unsniff_not_accept
+	beq BT_EVT_LE_PAIRING_FAIL,module_hci_event_le_pairing_fail
+	beq BT_EVT_LE_PAIRING_SUCCESS,module_hci_event_le_pairing_success
+	beq BT_EVT_LE_START_ENC,module_hci_event_start_enc
+	beq BT_EVT_LE_PAUSE_ENC,module_hci_event_pause_enc
+	beq BT_EVT_LE_TK_GENERATE,module_hci_event_le_tk
+	beq BT_EVT_BT_GKEY_GENERATE,module_hci_event_gkey_generate
+	beq BT_EVT_BT_GET_PASSKEY,module_hci_event_passkey_entry_mode
+	beq BT_EVT_BT_PAIRING_FAIL,module_hci_event_bt_pairing_fail	
+	beq BT_EVT_BT_PAIRING_SUCCESS,module_hci_event_bt_pairing_success
+ifdef SECURE_CONNECTION	
+	beq BT_EVT_LE_GKEY_GENERATE,module_hci_event_gkey_generate
+endif
+	beq BT_EVT_STORE_NVRAM,module_hci_event_store_device
+	beq BT_EVT_LE_LTK_LOST,module_process_ble_ltk_lost
+	beq BT_EVT_LE_UPDATE_PHY,module_process_ble_update_phy
+	beq BT_EVT_LE_GET_PASSKEY,module_hci_event_passkey_entry_mode
+	rtn
+
+	
+module_process_bb_event_disconned:
+	call module_spp_clear_last_transmite_clock
+	fetch 1,mem_flag_pairing_state
+	ncall module_hci_event_bt_pairing_fail,blank
+	call module_disconn_start
+	fetch 2,mem_ui_state_map
+	rtnbit0 UI_STATE_BT_SPP_CONN
+	branch  module_spp_disconnected
+
+module_process_spp_connected:
+	fetch 2,mem_ui_state_map
+	set1 UI_STATE_BT_SPP_CONN,pdata
+	store 2,mem_ui_state_map
+	fetch 1,mem_module_spp_lpm_mult
+	store 1,mem_lpm_mult
+	call module_set_conn_pin_low
+	branch module_hci_event_spp_connect
+
+module_process_spp_disconnected:
+//	branch module_spp_disconnected
+module_spp_disconnected:
+	fetch 2,mem_ui_state_map
+	rtnbit0 UI_STATE_BT_SPP_CONN
+	set0 UI_STATE_BT_SPP_CONN ,pdata
+	store 2,mem_ui_state_map
+	branch module_hci_event_spp_disconnect
+
+
+module_process_enter_sniff:
+
+module_sniff_param_check:
+	call module_spp_clear_last_transmite_clock
+	//fetch 1,mem_context
+	//rtnbit0 state_insniff
+	fetch 2,mem_context+coffset_tsniff
+	rshift pdata,pdata
+	fetcht 2,mem_sniff_param_interval
+	isub temp,null
+	nbranch module_sniff_param_check_unsniff,zero
+	branch app_lpm_mult_enable
+module_sniff_param_check_unsniff:
+	fetch 2,mem_module_flag
+	rtnbit1 MOUDLE_TASK_UNSNIFF
+	fetch 2,core_uart_rxitems    //*
+	ncall module_set_unsniff_task_flag,blank    //*加这两句话
+	branch app_bt_sniff_exit
+
+module_process_exit_sniff:
+	call module_clear_sniff_task_flag
+	branch app_lpm_mult_disable
+ 	
+module_process_setup_complete:
+	call module_spp_clear_last_transmite_clock
+	branch module_conn_start
+	
+module_process_bb_even_le_disconn:
+	call le_clr_config_more_data
+	jam 0,mem_module_hci_notify_len
+	call module_disconn_start
+	branch module_hci_event_le_disconnect
+
+module_process_evt_pincode_req:
+	branch  app_bt_set_pincode
+	
+
+module_process_sniff_not_accept:
+	branch module_clear_sniff_task_flag
+
+
+module_process_unsniff_accept:
+	fetch 2,mem_module_flag
+	bbit0 MOUDLE_TASK_UNSNIFF,app_bt_enter_sniff
+	branch module_clear_unsniff_task_flag
+
+	
+module_process_unsniff_not_accept:
+	branch module_clear_unsniff_task_flag
+
+	
+module_process_le_conn:
+//	call le_send_att_exchange_mtu_requset
+	call module_conn_start
+	fetch 1,mem_module_le_lpm_mult
+	store 1,mem_lpm_mult
+	branch module_hci_event_le_connect
+
+
+module_process_bb_conn:
+	jam 0,mem_flag_mode_ssp_pin
+	call module_clear_sniff_task_flag
+	branch module_clear_unsniff_task_flag
+
+module_process_page_time_out:
+module_process_reconn_fail:
+module_disconn_start:
+	call module_start_adv_discovery_by_command
+	branch module_set_conn_pin_high
+
+
+module_process_ble_ltk_lost:
+	call le_send_reject_ind
+	branch le_send_smp_security_request
+
+module_process_ble_update_phy:
+	branch module_hci_event_le_update_phy
+
+
+module_set_conn_pin_high:
+	fetcht 1,mem_module_connect_state_gpio
+	branch gpio_out_active
+
+module_conn_start:
+	call module_stop_adv_discovery
+	branch module_set_conn_pin_low
+	
+module_stop_adv_discovery:
+	fetch 1,mem_module_state
+	isolate1 MOUDLE_STATE_BT_BIT,pdata
+	call app_bt_stop_discovery,true
+	fetch 1,mem_module_state
+	isolate1 MOUDLE_STATE_BLE_BIT,pdata
+	call app_ble_stop_adv,true
+	rtn
+module_set_conn_pin_low:
+	fetcht 1,mem_module_connect_state_gpio
+	branch gpio_out_inactive
+
+module_process_with_credit:
+	fetch 1,mem_rfcomm_credit_flag
+	rtneq CREDIT_DISABLE
+	branch rfcomm_send_uih_without_payload
+
+/*
+	function name:check hci command complete
+	hci command format:
+	typedef struct HciFormat
+	{
+		uint8_t HciType;
+		uint8_t HciOpcode;
+		uint8_t HciPayloadLen;
+		uint8_t HciPayload[HciPayloadLen];
+	}
+*/
+module_process_check_hci_command_complete:
+	fetch 1,core_uart_status
+	bbit1 UART_STATUS_RX_FIFO_EMPTY,module_process_with_credit  //rx no data
+	call uarta_prepare_rx
+	ifetch 1,contru
+	bne 0x01,module_hci_in_excp	//HciType != 0x01
+	fetch 2,core_uart_rxitems
+	sub pdata,2,null
+	rtn positive
+	ifetch 1,contru
+	store 1,mem_module_uart_opcode
+	ifetcht 1,contru
+	copy contru,rega
+	storet 1,mem_module_uart_len
+	add temp,3,temp
+	fetch 2,core_uart_rxitems
+	isub temp,temp
+	nrtn positive
+	jam HCI_DISCARD_PACKET,mem_module_temp_nl_discard_packet
+	call module_hci_cmd_control
+	fetch 1,mem_module_temp_nl_discard_packet
+	rtneq HCI_NOT_DISCARD_PACKET
+	branch module_hci_dicard_packet //discard this packet
+
+module_hci_in_excp:
+	call delay_10ms
+	call module_hci_event_invalid_packet
+	branch module_hci_release_except
+
+
+module_hci_release_except:
+	bpatch patch17_5,mem_patch17
+	call uarta_prepare_rx
+	fetch 2,core_uart_rxitems
+	rtn blank
+	iadd contru,contru
+	branch module_hci_dicard_bytes
+
+module_hci_dicard_packet:
+	call uarta_prepare_rx
+	increase 2,contu
+	ifetch 1,contu
+	iadd contu,contu
+module_hci_dicard_bytes:
+	branch uarta_rxdone
+	
+/*********************HCI CONTROL*********************/
+module_hci_cmd_control:
+	bpatch patch17_6,mem_patch17
+	fetch 1,mem_module_uart_opcode
+	beq HCI_CMD_SET_BT_ADDR_REQ,module_hci_cmd_set_bt_addr
+	beq HCI_CMD_SET_LE_ADDR_REQ,module_hci_cmd_set_le_addr
+	beq HCI_CMD_SET_VISIBILITY_REQ,module_hci_cmd_set_visibility	
+	beq HCI_CMD_SET_BT_NAME_REQ,module_hci_cmd_set_bt_name
+	beq HCI_CMD_SET_LE_NAME_REQ,module_hci_cmd_set_le_name
+	beq HCI_CMD_SPP_DATA_REQ,module_hci_cmd_receive_spp_data
+	beq HCI_CMD_LE_DATA_REQ,module_hci_cmd_receive_le_data
+	beq HCI_CMD_STATUS_IRQ,module_hci_cmd_inquire_status
+	beq HCI_CMD_SET_PAIRING_REQ,module_hci_cmd_set_pairing_mode
+	beq HCI_CMD_SET_PINCODE_REQ,module_hci_cmd_set_pincode	
+	beq HCI_CMD_SET_UARTCONTROL_REQ,module_hci_cmd_set_uart_control_mode
+	beq HCI_CMD_SET_UART_BAUD_REQ,module_hci_cmd_set_uart_baud
+	beq HCI_CMD_VERSION_REQ,module_hci_cmd_version_request
+	beq HCI_CMD_BT_DISCONNECT,module_hci_cmd_bt_disconnect
+	beq HCI_CMD_BLE_DISCONNECT,module_hci_cmd_ble_disconnect
+	beq HCI_CMD_SET_COD,module_hci_cmd_set_cod
+	beq HCI_CMD_SET_NVRAM_REQ,module_hci_cmd_set_nvram
+	beq HCI_CMD_CONFIRM_GKEY,module_hci_cmd_confirm_gkey
+	beq HCI_CMD_SET_CREDIT_GIVEN,module_hci_cmd_set_credit_given
+	beq HCI_CMD_AUTO_ADV_SCAN,module_hci_cmd_auto_adv
+	beq HCI_CMD_POWER_REQ,module_hci_cmd_power_request
+	beq HCI_CMD_POWER_SET,module_hci_cmd_power_set
+	beq HCI_CMD_PASSKEY_ENTRY,module_hci_cmd_passkey_entry
+	beq HCI_CMD_SET_GPIO,module_hci_cmd_set_gpio
+	beq HCI_CMD_READ_GPIO,module_hci_cmd_read_gpio
+	beq HCI_CMD_LE_SET_PAIRING,module_hci_cmd_le_set_pairing_mode
+	beq HCI_CMD_LE_SET_ADV_DATA,module_hci_cmd_le_set_adv_data
+	beq HCI_CMD_LE_SET_SCAN_DATA,module_hci_cmd_le_set_scan_data
+	beq HCI_CMD_LE_SEND_CONN_UPDATE_REQ,module_hci_cmd_le_send_conn_update_req
+	beq HCI_CMD_LE_SET_ADV_PARM,module_hci_cmd_set_le_adv_parameter
+	beq HCI_CMD_LE_START_PAIRING,module_hci_cmd_le_start_pairing
+	beq HCI_CMD_SET_WAKE_GPIO,module_hci_cmd_set_wake_gpio
+	beq HCI_CMD_SET_TX_POWER,module_hci_cmd_set_tx_power
+	beq HCI_CMD_LE_CONFIRM_GKEY,module_hci_cmd_le_confirm_gkey
+	beq HCI_CMD_REJECT_JUSTWORK,module_hci_cmd_set_reject_justwork_flag
+	beq HCI_CMD_RESET_CHIP_REQ,module_hci_cmd_reset_chip
+	beq HCI_CMD_LE_SET_FIXED_PASSKEY,module_hci_cmd_le_set_fixed_passkey
+	beq HCI_CMD_DELETE_CUSTOMIZE_SERVICE,module_hci_cmd_delete_customize_service
+	beq HCI_CMD_ADD_SERVICE_UUID,module_hci_cmd_add_service_uuid
+	beq HCI_CMD_ADD_CHARACTERISTIC_UUID,module_hci_cmd_add_characteristic_uuid
+	beq HCI_CMD_PASSKEY_ENTRY_INPUT,module_hci_cmd_le_passkey_entry_input
+	beq HCI_CMD_BLE_SET_PHY,module_hci_cmd_ble_set_phy
+	beq HCI_CMD_BLE_READ_CURRENT_PHY,module_hci_cmd_ble_read_current_phy
+	beq HCI_CMD_BLE_SET_DLE,module_hci_cmd_ble_set_dle
+	beq HCI_CMD_READ_CHIP_DATA,module_hci_cmd_read_chip_data
+	beq HCI_CMD_WRITE_CHIP_DATA,module_hci_cmd_write_chip_data
+ifdef COMPILE_WECHAT
+	beq HCI_CMD_WECHAT_SEND_DATA,module_hci_cmd_wechat_send_data
+endif
+	beq HCI_CMD_CLOSE_LPM,module_hci_cmd_close_lpm
+	branch  module_hci_event_receive_invalid_cmd
+
+/*********************HCI COMMAND*********************/
+
+//command opcode 0x00
+module_hci_cmd_set_bt_addr:
+	fetch 1,mem_module_uart_len
+	bne 6,module_hci_event_receive_invalid_cmd
+	ifetch 6,contru
+	store 6,mem_lap
+	branch module_hci_event_receive_valid_cmd
+
+//command opcode 0x01
+module_hci_cmd_set_le_addr:
+	fetch 1,mem_module_uart_len
+	bne 6,module_hci_event_receive_invalid_cmd
+	ifetch 6,contru
+	store 6,mem_le_lap
+	branch module_hci_event_receive_valid_cmd
+
+
+//command opcode 0x02
+module_hci_cmd_set_visibility:
+	fetch 1,mem_module_uart_len
+	bne 1,module_hci_event_receive_invalid_cmd
+	ifetcht 1,contru
+	storet 1,mem_module_bluetooth_stauts_by_command
+	call module_hci_event_receive_valid_cmd
+	fetch 2,mem_ui_state_map
+	rtnbit1 UI_STATE_BLE_CONNECTED
+	rtnbit1 UI_STATE_BT_CONNECTED
+module_start_adv_discovery_by_command:
+	fetch 1,mem_module_state
+	isolate1 MOUDLE_STATE_BT_BIT,pdata
+	nbranch moudle_start_adv_by_command,true
+	fetcht 1,mem_module_bluetooth_stauts_by_command
+	and temp,0x03,pdata
+	store 1,mem_scan_mode
+moudle_start_adv_by_command:
+	fetch 1,mem_module_state
+	isolate1 MOUDLE_STATE_BLE_BIT,pdata
+	nrtn true
+	fetcht 1,mem_module_bluetooth_stauts_by_command
+	isolate1 2,temp
+	branch app_ble_start_adv,true
+	branch app_ble_stop_adv
+
+
+//command opcode 0x03
+module_hci_cmd_set_bt_name:
+	fetch 1,mem_module_uart_len
+	sub pdata,67,null
+	nbranch module_hci_event_receive_invalid_cmd,positive
+	store 1,mem_local_name_length
+	arg 8,loopcnt
+	call memset0
+	fetchr loopcnt,1,mem_module_uart_len
+	arg mem_local_name,contw
+	call uart_copy_rx_bytes_fast
+	branch module_hci_event_receive_valid_cmd
+
+
+//command opcode 0x04
+module_hci_cmd_set_le_name:
+	arg 29,pdata
+	arg mem_le_name_len,contw
+	call module_hci_cmd_receive_store_mem
+	branch le_modified_name
+
+
+//command opcode 0x05
+module_hci_cmd_receive_spp_data:
+	fetch 1,mem_ui_state_map
+	bbit0 UI_STATE_BT_SPP_CONN,module_hci_event_receive_invalid_cmd
+	call app_check_sniff
+	branch module_hci_cmd_spp_exit_sniff,true
+	jam HCI_NOT_DISCARD_PACKET,mem_module_temp_nl_discard_packet
+	call module_spp_clear_last_transmite_clock
+	fetch 1,mem_remote_credits
+	rtn blank
+	fetch 2,mem_nl_rx_len_all
+	nbranch module_hci_cmd_pass_init_ng_rx_len_all,blank
+	fetch 1,mem_module_uart_len
+	store 2,mem_nl_rx_len_all
+
+	store 2,mem_nl_rx_data_src
+	storer contru,2,mem_nl_rx_data_src
+module_hci_cmd_pass_init_ng_rx_len_all:
+	call module_hci_cmd_get_current_packet_len_and_remain_len
+	branch spp_tx_rfcomm_packet
+	
+module_hci_cmd_spp_exit_sniff:
+	jam HCI_NOT_DISCARD_PACKET,mem_module_temp_nl_discard_packet
+	branch module_exit_sniff
+
+module_hci_cmd_get_current_packet_len_and_remain_len:
+	call module_hci_cmd_get_current_patcket_len
+	fetch 2,mem_nl_rx_len_all
+	fetcht 2,mem_current_packet_length
+	isub temp,pdata
+	store 2,mem_nl_rx_len_all
+	rtn
+
+module_hci_cmd_get_current_patcket_len:
+	fetch 2,mem_nl_rx_len_all
+	fetcht 2,mem_rfcomm_max_frame_size	//接收最大能力?
+	call not_greater_than
+	fetcht 2,mem_pn_max_frame_size		//发送最大能力?
+	call not_greater_than
+	store 2,mem_current_packet_length
+	rtn
+
+module_hci_command_tx_spp_tx_complete:
+	jam HCI_DISCARD_PACKET,mem_module_temp_nl_discard_packet
+	jam HCI_CMD_SPP_DATA_REQ,mem_module_uart_opcode
+	branch module_hci_event_receive_valid_cmd
+
+
+//command opcode 0x09
+module_hci_cmd_receive_le_data:
+	fetch 2,mem_ui_state_map
+	bbit0 UI_STATE_BLE_CONNECTED,module_hci_event_receive_invalid_cmd
+	call module_check_ble_encrypt_state
+	branch module_hci_event_receive_invalid_cmd,user
+	jam HCI_NOT_DISCARD_PACKET,mem_module_temp_nl_discard_packet 
+	fetch 2,mem_module_flag
+	bbit1 MODULE_FLAG_BLE_DATA_FINISH,module_hci_cmd_receive_le_data_finish
+	fetch 1,mem_module_hci_notify_len
+	nrtn blank
+	jam HCI_DISCARD_PACKET,mem_module_temp_nl_discard_packet 
+	ifetch 2,contru		//handle
+	store 2,mem_module_hci_notify_handle
+	storer contru,2,mem_module_hci_nofiy_addr
+	fetch 1,mem_module_uart_len
+	pincrease -2
+	nbranch module_hci_event_receive_invalid_cmd,positive
+	branch module_hci_event_receive_invalid_cmd,zero
+	store 1,mem_module_hci_notify_len
+	fetcht 2,mem_module_hci_notify_handle
+	increase -1,temp
+	call le_att_get_handle_ptr2
+	branch module_hci_cmd_transmit_handle_error,blank
+	ifetcht 4,contr		//flag
+	setarg 0x01280302
+	isub temp,null
+	nbranch module_hci_cmd_transmit_handle_error,zero
+	ifetch 1,contr
+	store 1,mem_module_hci_notify_type
+	and_into 0x30,pdata
+	branch module_hci_cmd_transmit_handle_error,blank
+	jam HCI_NOT_DISCARD_PACKET,mem_module_temp_nl_discard_packet
+	call le_set_config_more_data
+	call module_hci_cmd_transmit_le_notify
+	call module_hci_cmd_transmit_le_notify
+	call module_hci_cmd_transmit_le_notify
+	fetch 2,mem_module_flag
+	rtnbit0 MODULE_FLAG_BLE_DATA_FINISH
+module_hci_cmd_receive_le_data_finish:
+	jam HCI_DISCARD_PACKET,mem_module_temp_nl_discard_packet 
+	call module_clear_le_tx_data_flag
+	branch module_hci_event_receive_valid_cmd
+
+module_hci_cmd_transmit_handle_error:
+	jam 0,mem_module_hci_notify_len
+	jam HCI_DISCARD_PACKET,mem_module_temp_nl_discard_packet 
+	call module_clear_le_tx_data_flag
+	branch module_hci_event_receive_invalid_cmd
+
+module_hci_cmd_transmit_le_notify:
+	fetch 1,mem_module_hci_notify_len
+	rtn blank
+	call le_fifo_check_nearly_full
+	nrtn blank				//no fifo
+	call module_get_le_remote_mtu
+	bpatch patch17_7,mem_patch17
+	fetch 2,mem_le_local_mtu
+	call not_greater_than
+	copy pdata,temp
+	fetch 1,mem_le_l2cap_att_states
+	rtnbit1 BLE_L2CAP_RECV_CONFIRMATION_PACKET
+	add temp,-3,pdata		//sub handle and opcode
+	arg 251,temp
+	call not_greater_than
+	fetcht 1,mem_module_hci_notify_len
+	call not_greater_than
+	copy pdata,rega
+	copy temp,pdata
+	isub rega,pdata
+	store 1,mem_module_hci_notify_len
+	call module_hci_cmd_transmit_le_notify_malloc_l2cap
+	fetch 2,mem_module_hci_nofiy_addr
+	copy pdata,contru
+	copy rega,loopcnt
+	call uart_copy_rx_bytes_fast
+	copy contru,pdata
+	store 2,mem_module_hci_nofiy_addr
+	fetch 1,mem_module_hci_notify_len
+	nrtn blank
+	branch module_set_le_tx_data_flag
+
+module_hci_cmd_transmit_le_notify_malloc_l2cap:
+	fetcht 2,mem_module_hci_notify_handle
+	fetch 1,mem_module_hci_notify_type
+	bbit1 BIT_CHARACTERISTIC_INDICATE,le_att_malloc_tx_indication
+	bbit1 BIT_CHARACTERISTIC_NOTIFY,le_att_malloc_tx_notify
+	rtn
+
+
+//output: temp is master mtu
+module_get_le_remote_mtu:
+	arg 0x17,temp
+	fetch 2,mem_module_flag
+	rtnbit1 MODULE_FLAG_BLE_SEND_MTU23
+	fetcht 2,mem_le_remote_mtu
+	rtn
+
+module_check_ble_encrypt_state:
+	fetch 2,mem_module_flag
+	bbit1 MODULE_FLAG_BLE_DATA_ENCRYPT,le_check_encrypt_state
+	branch disable_user
+	
+
+//command opcode 0x0b
+module_hci_cmd_inquire_status:
+	branch module_hci_event_status_res
+
+
+//command opcode 0x0c
+module_hci_cmd_set_pairing_mode:
+	ifetch 1,contru
+	beq BR_PAIRING_MODE_SECURE_CONNECT_JUSTWORK,module_hci_pairing_just_work_sc
+	beq BR_PAIRING_MODE_SECURE_CONNECT_PASSKEY,module_hci_pairing_passkey_sc
+	beq BR_PAIRING_MODE_SECURE_CONNECT_NUMERIC,module_hci_pairing_numeric_comparison_sc
+
+	copy pdata,rega
+	call sp_br_secure_connection_disable
+	call sc_reset
+	copy rega,pdata
+	beq BR_PAIRING_MODE_PINCODE,module_hci_pairing_pincode_mode
+	beq BR_PAIRING_MODE_JUSTWORK,module_hci_pairing_just_work_mode
+	beq BR_PAIRING_MODE_PASSKEY,module_hci_pairing_passkey
+	beq BR_PAIRING_MODE_NUMERIC,module_hci_pairing_numeric_comparison
+	branch module_hci_event_receive_invalid_cmd
+
+module_hci_pairing_just_work_sc:
+	call sp_br_secure_connection_enable
+	branch module_hci_pairing_just_work_mode
+	
+module_hci_pairing_passkey_sc:
+	call sp_br_secure_connection_enable
+	branch module_hci_pairing_passkey
+
+module_hci_pairing_numeric_comparison_sc:
+	call sp_br_secure_connection_enable
+	branch module_hci_pairing_numeric_comparison
+	
+module_hci_pairing_pincode_mode:
+	call sp_reset
+	jam 0,mem_ssp_enable
+	branch module_hci_event_receive_valid_cmd
+	
+module_hci_pairing_just_work_mode:
+	setarg IO_CAPABILITY_NO_INPUT_NO_OUTPUT
+module_hci_sspairing_mode:
+	store 1,mem_ssp_mode_flag
+	store 1,mem_lmp_io_cap_payload_iocap
+	setarg OOB_DATA_PRESENT_NOT_PRESENT
+	store 1,mem_lmp_io_cap_payload_oob_auth_data
+	setarg AUTH_REQ_MITM_PROTECTION_NOT_REQUIRED_GENERAL_BONDING
+	store 1,mem_lmp_io_cap_payload_auth_req
+	call ssp_enable
+	jam 1,mem_ssp_enable
+	branch module_hci_event_receive_valid_cmd
+module_hci_pairing_passkey:
+	setarg IO_CAPABILITY_KEYBOARD_ONLY
+	branch module_hci_sspairing_mode
+
+module_hci_pairing_numeric_comparison:
+	setarg IO_CAPABILITY_DISPLAY_YESNO
+	branch module_hci_sspairing_mode
+
+
+//command opcode 0x0d
+module_hci_cmd_set_pincode:
+	arg 16,pdata
+	arg mem_pin_length,contw
+	branch module_hci_cmd_receive_store_mem
+
+
+//command opcode 0x0e
+module_hci_cmd_set_uart_control_mode:
+	ifetch 1,contru
+	fetcht 1,mem_module_flag
+	nsetflag blank,MODULE_FLAG_UART_FLOW_CONTROL,temp
+	storet 1,mem_module_flag
+	fetcht 1,core_uart_ctrl
+	nsetflag blank,BIT_UART_CONTROL_FLOW_CONTROL,temp
+	storet 1,core_uart_ctrl
+ 	branch module_hci_event_receive_valid_cmd
+
+ 	
+//command opcode 0x0f
+module_hci_cmd_set_uart_baud:
+	fetchr loopcnt,1,mem_module_uart_len
+	call string2dec_from_uart
+	call uart_calc_baud_rate_config
+	store uart_baud_len,mem_module_uarta_baud_rate
+	call module_hci_event_receive_valid_cmd
+	call wait_uarttx
+	fetch uart_baud_len,mem_module_uarta_baud_rate
+	branch uarta_init_baud_rate
+
+
+//command opcode 0x10
+module_hci_cmd_version_request:
+	arg 2,rega
+	arg mem_soft_version_num,regb
+	arg 0,temp
+	branch module_hci_event_set_cmd
+
+
+//command opcode 0x11
+module_hci_cmd_bt_disconnect:
+	fetch 2,mem_ui_state_map
+	bbit0 UI_STATE_BT_CONNECTED,module_hci_event_receive_invalid_cmd
+module_hci_cmd_bt_disconnect_doing:
+	call module_hci_event_receive_valid_cmd
+	branch app_bt_disconnect
+
+	
+//command opcode 0x12
+module_hci_cmd_ble_disconnect:
+	fetch 2,mem_ui_state_map
+	bbit0 UI_STATE_BLE_CONNECTED,module_hci_event_receive_invalid_cmd
+module_hci_cmd_ble_disconnect_doing:
+	call module_hci_event_receive_valid_cmd
+	branch app_ble_disconnect
+
+
+//command opcode 0x15
+module_hci_cmd_set_cod:
+	fetch 1,mem_module_uart_len
+	bne 3,module_hci_event_receive_invalid_cmd
+	ifetch 3,contru
+	store 3,mem_class
+	branch module_hci_event_receive_valid_cmd
+	
+
+//command opcode 0x26
+module_hci_cmd_set_nvram:
+	fetchr loopcnt,1,mem_module_uart_len
+	fetch 2,mem_nv_data_ptr
+	icopy contw
+	call uart_copy_rx_bytes_fast
+	branch module_hci_event_receive_valid_cmd
+
+
+//command opcode 0x28
+module_hci_cmd_confirm_gkey:
+	fetch 2,mem_ui_state_map
+	bbit1 UI_STATE_BLE_CONNECTED,module_hci_cmd_le_confirm_gkey
+	bbit0 UI_STATE_BT_CONNECTED,module_hci_event_receive_invalid_cmd	
+	ifetch 1,contru
+	fetcht 1,mem_flag_mode_ssp_pin
+	setflag blank,FLAG_MODE_SSP_PIN_COMPARISON_RESULT_BIT,temp
+	set1 FLAG_MODE_SSP_PIN_REVICEVE_COMPARISON_BIT ,temp
+	storet 1,mem_flag_mode_ssp_pin
+
+	call module_hci_event_receive_valid_cmd
+
+	fetch 1,mem_flag_mode_ssp_pin
+	bbit1 FLAG_MODE_SSP_PIN_RECIEVE_DHKEY_BIT,module_hci_cmd_spp_number_comparison_result_is1
+	rtn
+
+module_hci_cmd_spp_number_comparison_result_is1:
+	bbit1 FLAG_MODE_SSP_PIN_COMPARISON_RESULT_BIT,number_comparison_successed
+	jam 0,mem_flag_mode_ssp_pin
+	jam BT_CMD_DHKEY_NOT_ACCEPT,mem_fifo_temp
+	branch ui_ipc_send_cmd
+
+
+//command opcode 0x29
+module_hci_cmd_set_credit_given:
+	fetch 1,mem_ui_state_map
+	rtnbit0 UI_STATE_BT_SPP_CONN
+	fetch 1,mem_rfcomm_credit_flag
+	rtneq CREDIT_DISABLE
+	ifetch 1,contru
+	fetcht 1,mem_credit_given
+	iadd temp,temp
+	storet 1,mem_credit_given
+	rtn
+
+
+//command opcode 0x2a
+module_hci_cmd_auto_adv:
+	arg 0x40,loopcnt
+	arg mem_le_adv_data_len,contw
+	call clear_mem
+	setarg 0
+	store 1,mem_regb
+	copy rega,contru
+module_hci_cmd_auto_adv_loop:
+	copy contru,pdata
+	store 2,mem_regc
+	call module_hci_cmd_auto_adv_adv_analys
+
+	fetch 1,mem_regb
+	fetcht 1,mem_temp
+	increase 1,temp
+	iadd temp,pdata
+	store 1,mem_regb
+
+	sub pdata,31,null
+	nbranch module_hci_cmd_auto_adv_store_scan,positive
+module_hci_cmd_auto_adv_store_adv:
+	fetcht 1,mem_le_adv_data_len
+	setarg mem_le_adv_data
+	iadd temp,pdata
+	store 2,mem_contw
+	fetcht 1,mem_temp
+	increase 1,temp
+	fetch 1,mem_le_adv_data_len
+	iadd temp,pdata
+	store 1,mem_le_adv_data_len
+	branch module_hci_cmd_auto_adv_store_common
+module_hci_cmd_auto_adv_store_scan:
+	fetcht 1,mem_le_scan_data_len
+	setarg mem_le_scan_data
+	iadd temp,pdata
+	store 2,mem_contw
+	fetcht 1,mem_temp
+	increase 1,temp
+	fetch 1,mem_le_scan_data_len
+	iadd temp,pdata
+	store 1,mem_le_scan_data_len
+module_hci_cmd_auto_adv_store_common:
+	fetch 2,mem_contw
+	copy pdata,contw
+	fetch 2,mem_regc
+	copy pdata,contru
+
+	copy temp,loopcnt
+	call uart_copy_rx_bytes_fast
+
+	fetch 1,mem_module_uart_len
+	fetcht 1,mem_regb
+	isub temp,null
+	nbranch  module_hci_cmd_auto_adv_loop,zero
+	branch module_hci_event_receive_valid_cmd
+
+//block of adv len in mem_temp
+module_hci_cmd_auto_adv_adv_analys:
+	ifetch 1,contru
+	store 1,mem_temp
+	ifetch 1,contru
+	store 1,mem_rega
+	rtn
+
+
+//command opcode 0x2b
+module_hci_cmd_power_request:
+	arg 0,temp
+	arg 2,rega
+	fetch 2,mem_module_vdd_quotient
+	store 2,mem_event_cmd_response_content
+	arg mem_event_cmd_response_content,regb
+	branch module_hci_event_set_cmd
+
+
+//command opcode 0x2c
+module_hci_cmd_power_set:
+	fetch 1,mem_module_uart_len
+	bne 1,module_hci_event_receive_invalid_cmd
+	ifetch 1,contru
+	store 1,mem_module_read_vdd_flag
+	setarg 0x00
+	store 2,mem_module_vdd_quotient
+	branch module_hci_event_receive_valid_cmd
+
+
+//command opcode 0x30
+module_hci_cmd_passkey_entry:
+	fetch 1,mem_module_uart_len
+	bne 4,module_hci_event_receive_invalid_cmd
+	fetch 2,mem_ui_state_map
+	bbit1 UI_STATE_BLE_CONNECTED,module_hci_cmd_le_passkey_entry_input
+	ifetch 4,contru
+	store 4,mem_pin
+	jam 4,mem_pin_length
+	jam 0,mem_authentication_passkey_times
+	call module_hci_event_receive_valid_cmd
+	branch authentication_passkey
+
+
+//command opcode 0x31
+module_hci_cmd_set_gpio:
+	fetch 1,mem_module_uart_len
+	bne 3,module_hci_event_receive_invalid_cmd
+	ifetch 1,contru
+	beq HCI_CMD_CONFIG_GPIO_INPUT,module_set_gpio_input
+	beq HCI_CMD_CONFIG_GPIO_OUTPUT,module_set_gpio_output
+	branch module_hci_event_receive_invalid_cmd
+
+module_set_gpio_input:
+	call module_hci_event_receive_valid_cmd
+	ifetcht 1,contru
+	ifetch 1,contru
+	beq GPIO_INPUT_HIGH_IMPEDANCE,gpio_set_high_impedance
+	nsetflag blank,7,temp
+	branch gpio_config_input
+
+module_set_gpio_output:
+	call module_hci_event_receive_valid_cmd
+	ifetcht 1,contru
+	ifetch 1,contru	
+	branch gpio_out_active,blank
+	branch gpio_out_inactive
+
+
+//command opcode 0x32
+module_hci_cmd_read_gpio:
+	fetch 1,mem_module_uart_len
+	bne 1,module_hci_event_receive_invalid_cmd
+	ifetcht 1,contru
+	call gpio_get_bit
+	setarg 0x0
+	nsetflag true,0,pdata
+	arg 1,rega
+	store 2,mem_event_cmd_response_content
+	arg mem_event_cmd_response_content,regb
+	arg 0,temp
+	branch module_hci_event_set_cmd
+
+
+//command opcode 0x33
+module_hci_cmd_le_set_pairing_mode:
+	ifetch 1,contru
+	copy pdata,temp
+ifdef SECURE_CONNECTION
+	beq LE_PAIRING_MODE_SECURE_CONNECT_JUSTWORK,module_le_set_pairing_mode_secure_justwork
+	beq LE_PAIRING_MODE_SECURE_CONNECT_NUMERIC,module_le_set_pairing_mode_secure_numeric
+	beq LE_PAIRING_MODE_SECURE_CONNECT_PASSKEY,module_le_set_pairing_mode_secure_passkey
+	beq LE_PAIRING_MODE_SECURE_CONNECT_PASSKEY_RES_INPUT,module_le_set_pairing_mode_secure_passkey_res_input
+endif
+	store 1,mem_le_pairing_mode
+	call sc_reset
+	call le_secure_connection_disable
+	fetch 1,mem_le_pairing_mode
+	beq LE_PAIRING_MODE_NONE, module_le_set_no_pairing
+	beq LE_PAIRING_MODE_LAGACY_JUSTWORK,module_le_set_pairing_mode_lagacy_just_work
+	beq LE_PAIRING_MODE_LAGACY_PASSKEY,module_le_set_pairing_mode_lagacy_passkey
+	beq LE_PAIRING_MODE_LAGACY_PASSKEY_RES_INPUT,module_le_set_pairing_mode_lagacy_passkey_res_input
+	branch module_hci_event_receive_invalid_cmd
+		
+ifdef SECURE_CONNECTION	
+module_le_set_pairing_mode_secure_justwork:
+	storet 1,mem_le_pairing_mode
+	call le_secure_connection_enable
+	jam FLAG_LE_BONDING_MITM_SECURE,mem_le_pres_auth
+	branch module_le_set_noinputnooutput
+module_le_set_pairing_mode_secure_numeric:
+	storet 1,mem_le_pairing_mode
+	call le_secure_connection_enable
+	jam FLAG_LE_BONDING_MITM_SECURE,mem_le_pres_auth
+	jam FLAG_IOCAP_DISPLAYYESNO,mem_le_pres_iocap
+	branch module_hci_event_receive_valid_cmd	
+module_le_set_pairing_mode_secure_passkey:	
+	storet 1,mem_le_pairing_mode
+	call le_secure_connection_enable
+	jam FLAG_LE_BONDING_MITM_SECURE,mem_le_pres_auth
+	branch module_le_set_displayonly
+module_le_set_pairing_mode_secure_passkey_res_input:
+	storet 1,mem_le_pairing_mode
+	call le_secure_connection_enable
+	jam FLAG_LE_BONDING_MITM_SECURE,mem_le_pres_auth
+	branch module_le_set_keboadonly
+
+endif
+
+module_le_set_no_pairing:
+	jam FLAG_LE_NO_BONDING_NO_MITM,mem_le_pres_auth
+module_le_set_noinputnooutput:	
+	jam FLAG_IOCAP_NOINPUTNOOUTPUT,mem_le_pres_iocap
+	branch module_hci_event_receive_valid_cmd	
+module_le_set_pairing_mode_lagacy_just_work:
+	jam FLAG_LE_BONDING_NO_MITM,mem_le_pres_auth
+	branch module_le_set_noinputnooutput
+module_le_set_pairing_mode_lagacy_passkey:
+	jam FLAG_LE_BONDING_MITM,mem_le_pres_auth
+	branch module_le_set_displayonly
+module_le_set_pairing_mode_lagacy_passkey_res_input:
+	jam FLAG_LE_BONDING_MITM,mem_le_pres_auth
+	branch module_le_set_keboadonly
+module_le_set_keboadonly:	
+	jam FLAG_IOCAP_KEYBOARDONLY,mem_le_pres_iocap
+	branch module_hci_event_receive_valid_cmd	
+module_le_set_displayonly:	
+	jam FLAG_IOCAP_DISPLAYONLY,mem_le_pres_iocap
+	branch module_hci_event_receive_valid_cmd	
+
+
+//command opcode 0x34
+module_hci_cmd_le_set_adv_data:
+	arg 31,pdata
+	arg mem_le_adv_data_len,contw
+	branch module_hci_cmd_receive_store_mem
+
+
+//command opcode 0x35
+module_hci_cmd_le_set_scan_data:
+	arg 31,pdata
+	arg mem_le_scan_data_len,contw
+	branch module_hci_cmd_receive_store_mem
+
+/*
+	input:contw is store mem ptr
+	pdata is max length
+*/
+module_hci_cmd_receive_store_mem:
+	fetchr loopcnt,1,mem_module_uart_len
+	isub loopcnt,null
+	nbranch module_hci_event_receive_invalid_cmd,positive
+	istorer loopcnt,1,contw
+	call uart_copy_rx_bytes_fast
+	branch module_hci_event_receive_valid_cmd	
+
+	
+//command opcode 0x36
+module_hci_cmd_le_send_conn_update_req:
+	fetch 2,mem_ui_state_map
+	bbit0 UI_STATE_BLE_CONNECTED,module_hci_event_receive_invalid_cmd
+	fetch 1,mem_module_uart_len
+	bne 0x08,module_hci_event_receive_invalid_cmd
+	ifetch 8,contru
+	store 8,mem_le_interval_min
+	jam BT_CMD_LE_UPDATE_CONN,mem_fifo_temp
+	call  ui_ipc_send_cmd
+	branch module_hci_event_receive_valid_cmd
+
+
+//command opcode 0x37
+module_hci_cmd_set_le_adv_parameter:
+	ifetch 2,contru
+	store 2,mem_le_adv_interval
+	branch module_hci_event_receive_valid_cmd
+	
+	
+//command opcode 0x38
+module_hci_cmd_le_start_pairing:
+	fetch 1,mem_le_pairing_mode
+	branch module_hci_event_receive_invalid_cmd,blank
+	fetch 1,mem_le_pairing_state
+	bne FLAG_LE_PAIRING_NULL,module_hci_event_receive_invalid_cmd
+	fetch 1,mem_le_enc_state
+	bne FLAG_LE_ENC_NULL,module_hci_event_receive_invalid_cmd
+	call check_51cmd_le_smp_sec_req
+	branch module_hci_event_receive_valid_cmd	
+
+
+//command opcode 0x40
+module_hci_cmd_set_wake_gpio:
+	fetch 1,mem_module_uart_len
+	bne 5,module_hci_event_receive_invalid_cmd
+	ifetch 1,contru
+	store 1,mem_module_mcu_wake_pin
+	ifetch 4,contru
+	store 4, mem_module_mcu_wake_delay_us
+	fetcht 1,mem_module_mcu_wake_pin
+	call gpio_config_output
+	call module_set_mcu_wake_pin_low
+	branch module_hci_event_receive_valid_cmd
+	
+
+//command opcode 0x42
+module_hci_cmd_set_tx_power:
+	fetch 1,mem_module_uart_len
+	bne 0x01,module_hci_event_receive_invalid_cmd
+	ifetch 1,contru
+	store 1,mem_tx_power
+	branch module_hci_event_receive_valid_cmd
+
+
+//command opcode 0x48
+module_hci_cmd_le_confirm_gkey:
+	ifetch 1,contru
+	beq 0x01,module_hci_cmd_le_confirm_gkey_fail
+	fetch 1,mem_le_secure_connect_state
+	beq LE_SC_STAT_SEND_PUBLIC_KEY,module_hci_cmd_le_confirm_gkey_ok
+	beq LE_SC_STAT_RECEIVE_DHKEY,module_hci_cmd_le_confirm_gkey_ok
+	beq LE_SC_STAT_WAIT_CONFIRM_GKEY,module_hci_cmd_le_confirm_gkey_ok
+	branch module_hci_event_receive_invalid_cmd		
+module_hci_cmd_le_confirm_gkey_ok:
+	jam FLAG_LE_SC_CONFRIM_GKEY_OK,mem_le_sc_confirm_gkey_flag
+	branch module_hci_event_receive_valid_cmd	
+	
+module_hci_cmd_le_confirm_gkey_fail:
+	call le_send_pairing_confirm_value_failed
+	branch module_hci_event_receive_valid_cmd
+
+
+//command opcode 0x49
+module_hci_cmd_set_reject_justwork_flag:
+	fetch 1,mem_module_uart_len
+	bne 0x01,module_hci_event_receive_invalid_cmd
+	call module_hci_event_receive_valid_cmd
+	ifetch 1,contru
+	branch classic_bt_clr_reject_justwork_flag,blank
+	branch classic_bt_set_reject_justwork_flag
+
+
+//command opcode 0x51
+module_hci_cmd_reset_chip:
+	call module_hci_event_receive_valid_cmd
+	call wait_uarttx
+	jam 0x01,core_reset // rest YC1021
+	branch loop
+
+
+//command opcode 0x61
+module_hci_cmd_le_set_fixed_passkey:
+	fetch 1,mem_module_uart_len
+	beq 0,module_hci_event_receive_invalid_cmd
+	ifetch 1,contru
+	branch module_hci_cmd_le_set_random_passkey,blank
+	fetch 1,mem_module_uart_len
+	bne 5,module_hci_event_receive_invalid_cmd
+	ifetch 4,contru
+	arg 1000000,temp
+	isub temp,null
+	branch module_hci_event_receive_invalid_cmd,positive
+	store 4,mem_le_tk
+	call le_set_config_fixed_tk
+	branch module_hci_event_receive_valid_cmd
+
+module_hci_cmd_le_set_random_passkey:
+	call le_clr_config_fixed_tk
+	branch module_hci_event_receive_valid_cmd
+
+
+//command opcode 0x76
+module_hci_cmd_delete_customize_service:
+	ifetcht 2,contru
+	call le_att_get_handle_ptr2
+	add contr,-2,contw
+	setarg 0x0000
+	istore 2,contw
+	branch module_hci_event_receive_valid_cmd
+
+
+//command opcode 0x77
+module_hci_cmd_add_service_uuid:
+	call module_hci_cmd_add_service_uuid_set_uuid
+	call uart_copy_rx_bytes_len_data
+	setarg 0x0000
+	istore 2,contw
+	branch module_hci_event_uuid_handle
+
+
+
+//command opcode 0x78
+module_hci_cmd_add_characteristic_uuid:
+	ifetch 1,contru	//Characteristic
+	call module_hci_cmd_add_characteristic_uuid_set_handle
+	call module_hci_cmd_add_characteristic_uuid_set_uuid
+	branch module_hci_event_uuid_handle
+
+
+module_hci_cmd_add_service_uuid_set_uuid:
+	call le_att_creat_new_handle
+	setarg 0x280002
+	istore 3,contw
+	rtn
+
+
+module_hci_cmd_add_characteristic_uuid_set_handle:
+	store 1,mem_pdatatemp
+	call le_att_creat_new_handle
+	setarg 0x01280302
+	istore 4,contw
+	fetch 1,mem_pdatatemp
+	istore 3,contw
+	rtn
+
+
+module_hci_cmd_add_characteristic_uuid_set_uuid:
+	call le_att_get_last_handle
+	ifetch 1,contru
+	and pdata,0x1f,loopcnt
+	copy pdata,rega
+	isolate1 BIT_OF_WRITE_AUTHENTICATED,rega
+	setflag true,BIT_OF_ATT_HANDLE_WRITE_AUTHENTICATED,temp
+	isolate1 BIT_OF_READ_AUTHENTICATED,rega
+	setflag true,BIT_OF_ATT_HANDLE_READ_AUTHENTICATED,temp
+	istoret 2,contw
+	copy loopcnt,pdata
+	istore 1,contw
+	call uart_copy_rx_bytes
+	call uart_copy_rx_bytes_len_data		//data
+	setarg 0
+	istore 2,contw
+	and temp,0xff,temp
+	increase -1,temp
+	call le_att_get_handle_ptr2
+	add contr,4,contr
+	ifetch 1,contr		//characteristic data
+	bbit1 BIT_CHARACTERISTIC_NOTIFY,module_hci_cmd_add_characteristic_uuid_set_ccc_uuid
+	bbit1 BIT_CHARACTERISTIC_INDICATE,module_hci_cmd_add_characteristic_uuid_set_ccc_uuid
+	increase 1,temp
+	rtn
+
+
+module_hci_cmd_add_characteristic_uuid_set_ccc_uuid:
+	call le_att_get_last_handle
+	isolate1 BIT_OF_NOTIFY_AUTHENTICATED,rega
+	setflag true,BIT_OF_ATT_HANDLE_WRITE_AUTHENTICATED,temp
+	istoret 2,contw
+	setarg 0x02290202
+	istore 8,contw
+	increase -1,temp
+	rtn
+
+
+le_att_creat_new_handle:
+	call le_att_get_last_handle
+	istoret 2,contw
+	rtn
+
+
+uart_copy_rx_bytes_len_data:
+	ifetch 1,contru
+	copy pdata,loopcnt
+	istore 1,contw
+	branch uart_copy_rx_bytes
+
+
+//command opcode 0x7a
+module_hci_cmd_le_passkey_entry_input:
+	fetch 1,mem_le_pairing_state
+	bne FLAG_LE_PAIRING_RECEIVE_PAIRING_CONFIRM,module_hci_event_receive_invalid_cmd
+	fetch 1,mem_le_pairing_mode
+	beq LE_PAIRING_MODE_LAGACY_PASSKEY_RES_INPUT,module_hci_cmd_passkey_entry_res_input
+	beq LE_PAIRING_MODE_SECURE_CONNECT_PASSKEY_RES_INPUT,module_hci_cmd_passkey_entry_sc_res_input
+	branch module_hci_event_receive_invalid_cmd
+
+module_hci_cmd_passkey_entry_sc_res_input:
+	jam LE_SP_FLAG_COMMIT_256,mem_le_secure_connect_flag
+	jam LE_SC_STAT_PASSKEY_WAIT_CONFIRM,mem_le_secure_connect_state	
+	branch module_hci_cmd_receive_ble_passkey
+
+module_hci_cmd_receive_ble_passkey:
+	ifetch 4,contru
+	store 4,mem_le_tk
+	branch module_hci_event_receive_valid_cmd
+	
+module_hci_cmd_passkey_entry_res_input:
+	call module_hci_cmd_receive_ble_passkey
+	branch le_send_smp_pairing_confirm
+
+
+
+//command opcode 0x90
+module_hci_cmd_ble_set_phy:
+	fetch 1,mem_module_uart_len
+	bne 2,module_hci_event_receive_invalid_cmd
+	ifetcht 2,contru
+	call le_set_phys
+	branch module_hci_event_receive_valid_cmd
+
+
+//command opcode 0x91
+module_hci_cmd_ble_read_current_phy:
+	arg 0,temp
+	arg 2,rega
+	arg mem_context+coffset_le_rx_phy,regb
+	branch module_hci_event_set_cmd
+
+
+//command opcode 0x92
+module_hci_cmd_ble_set_dle:
+	fetch 1,mem_module_uart_len
+	bne 8,module_hci_event_receive_invalid_cmd
+	ifetch 8,contru
+	call le_set_dle
+	branch module_hci_event_receive_valid_cmd
+
+
+//command opcode 0x93
+module_hci_cmd_read_chip_data:
+	ifetchr rega,1,contru
+	ifetchr regb,2,contru
+	arg 0,temp
+	branch module_hci_event_set_cmd
+
+
+//command opcode 0x94
+module_hci_cmd_write_chip_data:
+	fetchr loopcnt,1,mem_module_uart_len
+	increase -2,loopcnt
+	ifetch 2,contru
+	copy pdata,contw
+	call uart_copy_rx_bytes_fast
+	branch module_hci_event_receive_valid_cmd
+
+ifdef COMPILE_WECHAT
+//command opcode 0x95
+module_hci_cmd_wechat_send_data:
+	fetch 2,mem_ui_state_map
+	bbit0 UI_STATE_BLE_CONNECTED,module_hci_event_receive_invalid_cmd
+	fetchr loopcnt,1,mem_module_uart_len
+	arg mem_module_wechat_local_data_buffer,contw
+	call uart_copy_rx_bytes_fast
+	fetchr regb,1,mem_module_uart_len
+	arg mem_module_wechat_local_data_buffer,rega
+	call wechat_air_sync_send_wechat_packet
+	jam HCI_NOT_DISCARD_PACKET,mem_module_temp_nl_discard_packet 
+	rtn user
+	jam HCI_DISCARD_PACKET,mem_module_temp_nl_discard_packet 
+	branch module_hci_event_receive_valid_cmd
+endif
+
+
+//command opcode 0xff
+module_hci_cmd_close_lpm:
+	jam 0,mem_lpm_mode
+	branch module_hci_event_receive_valid_cmd
+	
+
+/*********************HCI EVENT*********************/
+
+module_hci_event_receive_invalid_cmd:
+	arg 1,temp
+	arg 0,rega
+	branch module_hci_event_set_cmd
+
+
+module_hci_event_receive_valid_cmd:
+	arg 0,temp
+	arg 0,rega
+	branch module_hci_event_set_cmd
+
+
+//event opcode 0x00
+module_hci_event_spp_connect:
+	jam  HCI_EVENT_SPP_CONN_REP,mem_module_uart_opcode
+	branch module_hci_event_enter_standby_mode_len0
+
+
+//event opcode 0x02
+module_hci_event_le_connect:
+	jam  HCI_EVENT_LE_CONN_REP,mem_module_uart_opcode
+	branch module_hci_event_enter_standby_mode_len0
+
+
+//event opcode 0x03
+module_hci_event_spp_disconnect:
+	jam  HCI_EVENT_SPP_DIS_REP,mem_module_uart_opcode
+	branch module_hci_event_enter_standby_mode_len0
+
+
+//event opcode 0x05
+module_hci_event_le_disconnect:
+	jam  HCI_EVENT_LE_DIS_REP,mem_module_uart_opcode
+	branch module_hci_event_enter_standby_mode_len0
+
+
+//event opcode 0x06
+//input:
+//	temp: success 0; fail 1
+//	rega:Response Content length
+//	regb:Response Content address
+module_hci_event_set_cmd:
+	fetch 1,mem_module_uart_opcode
+	copy pdata,regc
+	jam  HCI_EVENT_CMD_RES,mem_module_uart_opcode
+	setarg 2
+	iadd rega,pdata
+	call module_hci_prepare_tx
+	copy regc,pdata
+	istore 1,contwu
+	istoret 1,contwu
+	copy rega,loopcnt
+	copy regb,contr
+	call uart_copy_tx_bytes
+	branch module_hci_transmit_tx
+
+
+//event opcode 0x07
+module_hci_event_receive_spp_data:
+//	call p_nl_clear_last_transmite_clock
+	call module_spp_clear_last_transmite_clock
+	jam HCI_EVENT_SPP_DATA_REP,mem_module_uart_opcode
+	fetch 1,mem_current_length
+	rtn blank
+	call module_hci_prepare_tx
+	fetch 1,mem_current_length
+	copy pdata,loopcnt
+	fetch 2,mem_rfcomm_uih_payload_ptr
+	copy pdata,contr
+	call uart_copy_tx_bytes_fast
+	branch module_hci_transmit_tx
+
+
+//event opcode 0x08
+//loopcnt pdata is data length
+module_hci_event_receive_le_data:
+	jam HCI_EVENT_LE_DATA_REP,mem_module_uart_opcode
+	add loopcnt,2,pdata
+	call module_hci_prepare_tx
+	fetch 2,mem_module_le_rx_data_handle // Attribute handle
+	istore 2,contwu
+	fetch 2,mem_module_le_rx_data_address
+	icopy contr
+	call uart_copy_tx_bytes_fast
+	copy contr,pdata
+	store 2,mem_module_le_rx_data_address
+	branch module_hci_transmit_tx
+
+
+//event opcode 0x09
+module_hci_event_enter_standby_mode:
+	jam HCI_EVENT_STANDBY_REP,mem_module_uart_opcode
+module_hci_event_enter_standby_mode_len0:
+	setarg 0
+	call module_hci_prepare_tx
+	branch module_hci_transmit_tx
+
+
+//event opcode 0x0a
+module_hci_event_status_res:
+	jam HCI_EVENT_STATUS_RES,mem_module_uart_opcode
+	setarg 1
+	call module_hci_prepare_tx
+	
+	call module_hci_read_bt_status
+	
+	fetch 2,mem_ui_state_map	
+	arg UI_STATE_BT_HID_CONN,queue
+	qisolate1 pdata
+	setflag true,3,temp
+
+	arg UI_STATE_BLE_CONNECTED,queue
+	qisolate1 pdata
+	setflag true,5,temp	
+	
+	fetch 1,mem_ui_state_map
+	arg UI_STATE_BT_SPP_CONN,queue
+	qisolate1 pdata
+	setflag true,4,temp	
+	
+	istoret 1,contwu
+	branch module_hci_transmit_tx
+
+//	temp: bit0 3.0 inquiry;bit1 3.0 scan;bit2 ble adv;
+
+module_hci_read_bt_status:
+	arg 0,temp
+	fetch 1,mem_scan_mode
+	arg inq_scan_mode,queue
+	qisolate1 pdata
+	setflag true,0,temp
+	arg page_scan_mode,queue
+	qisolate1 pdata
+	setflag true,1,temp	
+
+	fetch 1,mem_le_adv_enable
+	arg 0,queue
+	qisolate1 pdata
+	setflag true,2,temp	
+	rtn
+
+
+//event opcode 0x0d
+module_hci_event_store_device:
+	jam HCI_EVENT_NVRAM_REP,mem_module_uart_opcode
+	fetch 1,mem_nv_data_number
+	mul32 pdata,34,pdata
+	icopy loopcnt
+	call module_hci_prepare_tx
+	fetch 2,mem_nv_data_ptr
+	icopy contr
+	call uart_copy_tx_bytes_fast
+	branch module_hci_transmit_tx
+
+
+//event opcode 0x0e
+module_hci_event_gkey_generate:
+	jam HCI_EVENT_GKEY,mem_module_uart_opcode
+	setarg 4
+	call module_hci_prepare_tx
+	fetch 4,mem_gkey
+	istore 4,contwu
+	branch module_hci_transmit_tx
+
+
+//event opcode 0x0f
+module_hci_event_invalid_packet:
+	jam HCI_EVENT_INVALID_PACKET,mem_module_uart_opcode
+	fetch 2,core_uart_rxitems
+	arg 0x40,temp
+	call not_greater_than
+	copy pdata,rega
+	copy pdata,loopcnt
+	call uarta_prepare_rx
+	arg mem_module_rx_error_data_buffer,contw
+	call uart_copy_rx_bytes_fast
+	copy rega,pdata
+	copy rega,loopcnt
+	call module_hci_prepare_tx
+	arg mem_module_rx_error_data_buffer,contr
+	call uart_copy_tx_bytes_fast
+	branch module_hci_transmit_tx
+
+
+//event opcode 0x10
+module_hci_event_passkey_entry_mode:
+	jam  HCI_EVENT_GET_PASSKEY,mem_module_uart_opcode
+	branch module_hci_event_enter_standby_mode_len0
+
+
+//event opcode 0x11
+module_hci_event_le_tk:
+	jam HCI_EVENT_LE_TK,mem_module_uart_opcode
+	setarg 4
+	call module_hci_prepare_tx
+	fetch 4,mem_le_tk
+	istore 4,contwu
+	branch module_hci_transmit_tx
+
+
+//event opcode 0x14
+module_hci_event_le_pairing_fail:
+	arg FLAG_BLE_PAIRING_FAIL,rega
+	branch module_hci_event_pairing_completed
+
+module_hci_event_le_pairing_success:
+	arg FLAG_BLE_PAIRING_SUCCESS,rega
+	branch module_hci_event_pairing_completed
+
+module_hci_event_bt_pairing_fail:
+	arg FLAG_BT_PAIRING_FAIL,rega
+	branch module_hci_event_pairing_completed
+
+module_hci_event_bt_pairing_success:
+	arg FLAG_BT_PAIRING_SUCCESS,rega
+
+module_hci_event_pairing_completed:
+	jam 0,mem_flag_mode_ssp_pin
+	jam HCI_EVENT_LE_PAIRING_STATE,mem_module_uart_opcode
+	setarg 2
+	call module_hci_prepare_tx
+	copy rega,pdata
+	istore 2,contwu
+	branch module_hci_transmit_tx
+
+
+//event opcode 0x15
+module_hci_event_pause_enc:
+	arg FLAG_EVENT_PAUSE_ENC,regc
+	branch module_hci_event_enc
+
+module_hci_event_start_enc:
+	arg FLAG_EVENT_START_ENC,regc
+
+module_hci_event_enc:
+	jam HCI_EVENT_LE_ENCRYPTION_STATE,mem_module_uart_opcode
+	setarg 1
+	call module_hci_prepare_tx
+	copy regc,pdata
+	istore 1,contwu
+	branch module_hci_transmit_tx
+
+
+//event opcode 0x1d
+module_hci_event_le_gkey:
+	jam HCI_EVENT_LE_GKEY,mem_module_uart_opcode
+	setarg 4
+	call module_hci_prepare_tx
+	fetch 4,mem_gkey
+	istore 4,contwu
+	branch module_hci_transmit_tx
+
+
+//event opcode 0x29
+//input:temp uuid number
+module_hci_event_uuid_handle:
+	storet 2,mem_temp
+	jam HCI_EVENT_UUID_HANDLE,mem_module_uart_opcode
+	setarg 2
+	call module_hci_prepare_tx
+	fetcht 2,mem_temp
+	istoret 2,contwu
+	branch module_hci_transmit_tx
+
+
+//event opcode 0x2B
+module_hci_event_le_input_passkey:
+	jam HCI_EVENT_LE_INPUT_GKEY,mem_module_uart_opcode
+	branch module_hci_event_enter_standby_mode_len0
+
+
+//event opcode 0x40
+module_hci_event_le_update_phy:
+	jam HCI_BLE_UPDATE_PHY_EVENT,mem_module_uart_opcode
+	setarg 2
+	call module_hci_prepare_tx
+	fetch 2,mem_context+coffset_le_rx_phy
+	istore 2,contwu
+	branch module_hci_transmit_tx
+
+ifdef COMPILE_WECHAT
+//event opcode 0x41
+module_wechat_rx_push_data:
+module_hci_event_ble_wechat_receive_push_data:
+	call wechat_air_sync_check_push_data_struct
+	nrtn user
+	jam HCI_BLE_WECHAT_RECEIVE_PUSH_DATA,mem_module_uart_opcode
+	copy loopcnt,pdata
+	call module_hci_prepare_tx
+	copy regc,contr
+	call uart_copy_tx_bytes_fast
+	branch module_hci_transmit_tx
+endif
+	
+
+//****************************************************************//
+	//module_hci_prepare_tx
+	//function:write hci packet header
+	//input: pdata-----packet length  (1byte)
+	//input: mem_uart_opcode------opcode (1byte)
+	//output:contwu --- pointer to packet payload
+	//use reg: contwu,pdata
+//****************************************************************//	
+module_hci_prepare_tx:
+	jam 0x02,mem_module_uart_cmd
+	store 1,mem_module_uart_len
+	storet 8,mem_temp
+	bpatch patch18_0,mem_patch18
+	call module_set_mcu_wake_pin_high_delay
+	fetcht 8,mem_temp
+	call uarta_prepare_tx_register_push
+	fetch 3,mem_module_uart_cmd
+	istore 3,contwu
+	rtn
+
+module_hci_transmit_tx:
+	bpatch patch18_1,mem_patch18
+	branch uarta_send_register_pop
+
+module_set_mcu_wake_pin_high_delay:
+	call module_check_mcu_wake_pin_high
+	rtn true
+module_set_mcu_wake_pin_h_delay:
+	call module_set_mcu_wake_pin_high
+	fetch 4,mem_module_mcu_wake_delay_us
+	rshift2 pdata,pdata
+	rtn blank
+	branch delay
+
+module_set_mcu_wake_pin_high:
+	fetcht 1,mem_module_mcu_wake_pin
+	branch gpio_out_active
+
+module_check_mcu_wake_pin_high:
+	fetcht 1,mem_module_mcu_wake_pin
+	branch gpio_check_active
+
+module_set_mcu_wake_pin_low:
+	fetcht 1,mem_module_mcu_wake_pin
+	branch gpio_out_inactive
+
+
+
+/*********************hci command end*********************/
+
+/*********************hci ble receive data start*********************/
+
+//rega is le rx data address
+//regb is le rx data length
+//mem_le_att_handle is write handle
+module_le_receive_data:
+	storer rega,2,mem_module_le_rx_data_address
+	storer regb,2,mem_module_le_rx_data_len
+	fetch 2,mem_le_att_handle
+	store 2,mem_module_le_rx_data_handle
+	call module_check_ble_encrypt_state
+	rtn user
+	
+module_le_receive_data_ok:	
+	fetcht 2,mem_module_le_rx_data_len
+	fetch 1,mem_module_ble_data_uart_max_length
+	call not_greater_than
+	copy pdata,loopcnt
+	copy temp,pdata
+	isub loopcnt,pdata
+	store 2,mem_module_le_rx_data_len
+	call module_hci_event_receive_le_data
+	fetch 2,mem_module_le_rx_data_len
+	rtn blank
+	branch module_le_receive_data_ok
+
+/*********************hci ble receive data end*********************/
+
+module_exit_sniff:
+	fetch 2,mem_module_flag
+	rtnbit1 MOUDLE_TASK_UNSNIFF
+	call module_set_unsniff_task_flag	
+	branch app_bt_sniff_exit
+
+
+module_set_lpm_mult_2:
+	jam 2,mem_lpm_mult
+	rtn
+
+
+
+module_bb_event_timer:
+//	branch module_read_vdd_timer
+
+module_read_vdd_timer:
+	fetch 1,mem_module_read_vdd_flag
+	rtn blank
+	fetch 1,mem_module_read_vdd_count
+	rtn blank
+	increase -1,pdata
+	store 1,mem_module_read_vdd_count
+	nrtn blank
+	jam FLAG_MODULE_READ_VDD_COUNT,mem_module_read_vdd_count
+	call enable_adc
+	call vdd_calculate_by_mode
+	div pdata,0x64
+	call get_div_result
+	remainder temp
+	store 1,mem_module_vdd_quotient
+	storet 1,mem_module_vdd_remainder
+	rtn	
+	
+
+module_control_air_flow:
+	call check_uart_tx_buff
+	branch app_l2cap_flow_control_enable,positive
+	branch app_l2cap_flow_control_disable
+
+
+/**************module state *******************/
+module_set_sniff_task_flag:
+	arg MOUDLE_TASK_SNIFF,queue
+	branch module_set_state
+
+module_clear_sniff_task_flag:
+	arg MOUDLE_TASK_SNIFF,queue
+	branch module_clr_state
+
+module_set_unsniff_task_flag:
+	arg MOUDLE_TASK_UNSNIFF,queue
+	branch module_set_state
+
+module_clear_unsniff_task_flag:
+	arg MOUDLE_TASK_UNSNIFF,queue
+	branch module_clr_state
+
+module_set_le_tx_data_flag:
+	arg MODULE_FLAG_BLE_DATA_FINISH,queue
+	branch module_set_state
+	
+module_clear_le_tx_data_flag:
+	arg MODULE_FLAG_BLE_DATA_FINISH,queue
+	branch module_clr_state
+
+module_clr_state:
+	fetch 2,mem_module_flag
+	qset0 pdata
+	store 2,mem_module_flag
+	rtn
+
+module_set_state:
+	fetch 2,mem_module_flag
+	qset1 pdata
+	store 2,mem_module_flag
+	rtn
+	
+/**************module state end*******************/
+
+endif
Index: program/app_mouse.prog
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/program/app_mouse.prog	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/program/app_mouse.prog	(working copy)
@@ -0,0 +1,4765 @@
+
+ifdef COMPILE_MOUSE
+mouse_init:
+	call enable_authrom
+	call mouse_setting_config
+	call mouse_init_sunt
+	call mouse_dpi_config
+	rtn wake
+	call mouse_drawing_optima_init
+	call mouse_cb_fuction
+	call mouse_sensor_powerdown
+	fetch 1,mem_usb_addr
+	rtnbit1 7
+mouse_init_wireless:	
+	fetch 2,mem_ui_state_map
+	bbit1 UI_STATE_BTN_DOWN,mouse_start_discovery
+	call mouse_check_select_device_by_switch
+	branch mouse_start_work
+
+
+mouse_cb_fuction:
+	setarg mouse_24g_before_lpm_sleep
+	store 2,mem_cb_before_lpm_sleep
+	setarg mouse_24g_package_data
+	store 2,mem_cb_24g_transmit_data
+	setarg mouse_24g_search_dongle
+	store 2,mem_cb_24g_search_receiver
+	setarg mouse_lpm_before_common
+	store 2,mem_cb_24g_lpm_before
+	setarg mouse_le
+	store 2,mem_cb_le_process
+	setarg mouse_bt
+	store 2,mem_cb_bt_process
+	setarg mouse_process_lpm_before
+	store 2,mem_cb_before_lpm
+	setarg mouse_priority_bb_event
+	store 2,mem_cb_bb_event_process
+	setarg mouse_idle
+	store 2,mem_cb_idle_process
+	setarg mouse_before_hibernate
+	store 2,mem_cb_before_hibernate
+	setarg mouse_le_bb_event_connect_complete
+	store 2,mem_cb_att_write	
+	setarg mouse_bb_event_timer
+	store 2,mem_cb_event_timer
+	setarg mouse_spi_write_flash_cb
+	store 2,mem_cb_spi_flash_write_complate
+	setarg mouse_lpm_check_wake_lock
+	store 2,mem_cb_check_wakelock
+	setarg mouse_le_transmit
+	store 2,mem_cb_ble_transmit
+	setarg mouse_bt_slave_match
+	store 2,mem_cb_bt_slave_match
+	setarg mouse_set_lpm_mult
+	store 2,mem_cb_bt_set_mult
+	rtn
+
+
+mouse_setting_config:
+	rtn wake
+	call g24_transmit_init
+	call g24_chmap_param_init
+	call mouse_gpio_init
+	call mouse_param_init
+	call le_set_config_fixed_ltk
+	call le_set_justwork
+	call le_set_fixed_ltk
+	call le_set_config_read_authentication
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit1 MOUSE_ENABLE_EEPROM,mouse_load_eeprom_info_check
+	bbit1 MOUSE_ENABLE_FLASH,mouse_load_flash_info_check
+	rtn
+	
+mouse_xtal_init:
+	jam 0x08,mem_fcomp_div		// 0x08--16M 
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit1 MOUSE_ENABLE_16M
+	jam 0x18,mem_fcomp_div		// 0x18--24M
+	rtn
+
+mouse_default_init:
+	jam 0xff,mem_usb_offline_check_gpio
+	jam 0xff,mem_ui_button_gpio
+	jam 0x1e,mem_ui_button_timeout
+	jam 5,mem_store_information_delay_timer_init
+
+	setarg mem_mouse_led_type
+	store 2,mem_ui_led_struct_ptr
+	jam 1,mem_ui_led_struct_num
+
+	setarg mem_mouse_rssi_signal_buf
+	store 2,mem_rssi_signal_buf_ptr
+
+	jam 1,mem_24g_data_type
+	
+	fetch 2,mem_mouse_discovery_timeout
+	store 2,mem_discovery_timeout
+
+	fetch 2,mem_mouse_24g_pair_timeout_init
+	store 2,mem_24g_pair_timeout_init
+
+	fetch 1,mem_mouse_24g_reconn_timeout_init
+	store 2,mem_24g_reconn_timeout_init
+
+	fetch 5,mem_rssi_dis_min_24g_init
+	store 5,mem_rssi_dis_min_24g
+
+	fetch 1,mem_mouse_24g_pair_tx_power
+	store 1,mem_24g_pair_tx_power
+
+
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	nrtn blank
+
+	
+// mouse.dat no configuration parameters
+	setarg 0x020800					//enable poweron direct  & 24g
+	store 3,mem_mouse_flag			
+	setarg 0x800700					// adc led use mode led
+	istore 3,contw
+	setarg 0x0300
+	istore 2,contw
+ 
+	jam 1,mem_lpm_mode
+	fetch 1,mem_mouse_enable_flag
+	isolate1 MOUSE_ADC_ENABLE,pdata
+	call mouse_adc_read_enable,true
+
+	fetch 1,mem_mouse_enable_flag
+	isolate1 MOUSE_24G_250HZ_ENABLE,pdata
+	call mouse_24g_set_250Hz,true
+	fetch 1,mem_mouse_enable_flag
+	isolate1 MOUSE_SEARCH_DONGLE_ENABLE,pdata
+	call mouse_24g_search_dongle_enable,true
+	fetch 1,mem_mouse_enable_flag
+	isolate1 MOUSE_CLK_16M_ENABLE,pdata
+	call mouse_16M_enable,true
+	fetch 1,mem_mouse_enable_flag
+	isolate1 MOUSE_DPI_4_LEVEL_ENABLE,pdata
+	call mouse_dpi_4level_enable,true
+	fetch 1,mem_mouse_enable_flag
+	isolate1 MOUSE_KEYBOARD_ENABLE,pdata
+	call mouse_customer_key_enable,true
+	
+	fetch 1,mem_24g_ch_map_update
+	ncall g24_chamap_param_update,blank
+
+	call mouse_xtal_init
+
+	fetch 1,mem_mouse_global_setup
+	and pdata,0x07,temp
+	storet 1,mem_adc_channel
+	rshift3 pdata,pdata
+	and pdata,0x01,temp
+	storet 1,mem_24g_ch_map_update
+	rshift pdata,pdata
+	and pdata,0x03,temp
+	storet 1,mem_adc_config_flag_init
+	rshift2 pdata,pdata
+	and pdata,0x03,pdata
+	call mouse_24g_long_sleep_set
+
+	fetch 1,mem_mouse_global_setup1
+	and pdata,0x03,temp
+	storet 1,mem_sensor_angle_default
+	rshift2 pdata,pdata
+	and pdata,0x03,temp
+	storet 1,mem_sensor_angle_switch
+	rshift2 pdata,pdata
+	and pdata,0x01,temp
+	storet 1,mem_config_sensor_dpi
+	storet 1,mem_mouse_dpi
+	rshift pdata,pdata
+	and pdata,0x01,temp
+	storet 1,mem_24g_disable_fec1
+	rshift pdata,pdata
+	and pdata,0x03,pdata
+	store 1,mem_device_number
+
+	bpatch patch18_2,mem_patch18
+	setarg 0x0b0c0a
+	store 3,mem_lbutton_gpio
+	setarg 0xffffff
+	istore 3,contw
+	setarg 0x0607ff			// clk-07  sdio--06
+	istore 3,contw
+	setarg 0xffffff
+	istore 3,contw
+
+	
+/* adc*/
+	jam 0x0a,mem_adc_read_time_init
+	setarg 0x0064
+	store 2,mem_adc_low_volatage_led_blink_timer
+	call mouse_adc_vol_init	
+/****/
+	setarg 0x1770
+	store 2,mem_mouse_no_data_timeout				// 10min
+	jam 0x14,mem_mouse_device_poweron_timer_count_init	// 2s
+	setarg 0x0190
+	store 2,mem_mouse_low_v_led_blink_time			// 200ms on,200ms off
+	store 2,mem_mouse_dpi_led_blink_time
+	setarg 0x03e8
+	store 2,mem_mouse_disconvey_led_blink_time
+	jam 0x07,mem_rssi_buff_index
+	jam 125,mem_power_ctrl_pac_succ_cnt_init
+	jam TX_POWER_0DB,mem_tx_power
+
+	jam 0x01,mem_24g_fast_conn_enable
+	setarg 0x0f0f
+	store 2,mem_24g_fast_conn_addr
+	store 2,mem_24g_fast_conn_addr+2
+	
+//ble
+	fetch 2,mem_lap
+	store 2,mem_lap+4
+
+	arg mem_le_lap,contw
+	arg mem_lap,contr
+	arg 0x06,loopcnt
+	call reverse_byte
+	
+	jam 0x20,mem_lpm_mult_init
+	jam 0x34,mem_device1_type
+	fetch 6,mem_le_lap
+	store 6,mem_device1_locall_addr
+	jam 0x02,mem_mouse_bluetooth_type
+
+	jam 0x1f,mem_le_adv_data_len
+	
+	setarg 0x050102
+	store 3,mem_le_adv_data
+	setarg 0x120303
+	istore 3,contw
+	setarg 0x190318
+	istore 3,contw
+	setarg 0x03c2
+	istore 2,contw
+
+	setarg 0x06ff06
+	store 3,mem_le_adv_swift_pair
+	setarg 0x000300
+	istore 3,contw
+	setarg 0x090c80
+	istore 3,contw
+
+	setarg 0x355442		// BT5.2 Mouse
+	istore 3,contw
+	setarg 0x20322e
+	istore 3,contw
+	setarg 0x756f4d
+	istore 3,contw
+	setarg 0x6573
+	istore 2,contw
+
+	jam 0x1f,mem_le_scan_data_len
+	arg mem_le_adv_swift_pair+7,contr
+	arg mem_le_scan_data,contw
+	arg 13,loopcnt
+	call memcpy
+
+	fetch 1,mem_le_scan_data
+	increase -1,pdata
+	store 1,mem_le_name_len
+
+	arg mem_le_scan_data+2,contr
+	arg mem_le_name_len+1,contw
+	arg 11,loopcnt
+	call memcpy
+
+	setarg 0x070007
+	store 3,mem_le_interval_min
+	setarg 0x002000
+	istore 3,contw
+	setarg 0x012c
+	istore 2,contw
+
+	setarg 0x181203
+	store 3,mem_le_adv_ind
+
+	setarg 0x0000ff
+	store 3,mem_le_adv_direct_ind
+
+	setsect 0,0xfb
+	setsect 1,0x2c212
+	setsect 2,0x800f
+	setsect 3,0x21
+	store 8,mem_local_rx_max_octets
+
+	jam 0x07,mem_le_adv_channel_map
+
+	setarg 0x0015
+	store 2,mem_le_keyboard_handle
+	setarg 0x0019
+	store 2,mem_le_notify_handle
+	setarg 0x001d
+	store 2,mem_le_multimedia_handle
+	setarg 0x0021
+	store 2,mem_le_systemctrl_handle
+	setarg 0x0030
+	store 2,mem_le_battery_level_handle
+	setarg 0x0022
+	store 2,mem_le_pairing_handle
+
+	jam 0x96,mem_le_battery_level_updata_timer_init
+
+// 24g
+	jam MODE_24G_DEVICE,mem_device_flag
+	call g24_enable_1M
+	call g24_pair_param_init
+	
+	setarg 0x604800
+	store 3,mem_24g_enter_hibernate
+	setarg 0x012c
+	store 2,mem_24g_long_sleep_param_update_timer_init
+	setarg 0x0050
+	store 2,mem_24g_transmit_by_interrupt_exit_count_init
+	setarg 0x05
+	store 2,mem_mouse_24g_power_on_fast_conn_timer	// 200ms
+	setarg 0x0708									//search dongle 3min
+	store 2,mem_mouse_24g_search_dongle_time_init
+
+	
+// sensor
+	setarg 0x010403
+	store 3,mem_mouse_dpi_seting
+	setarg 0x2a2002
+	istore 3,contw
+	setarg 0x22153f
+	istore 3,contw
+	setarg 0x114433
+	istore 3,contw
+
+	setarg 0x265a09
+	store 3,mem_sensor_3212_init
+	setarg 0x041934
+	istore 3,contw
+	setarg 0x0009
+	istore 2,contw
+	setarg 0xffff
+	istore 2,contw
+
+	setarg 0x0d5a09
+	store 3,mem_sensor_3205_init
+	setarg 0xed1d10
+	istore 3,contw
+	setarg 0x807d
+	istore 2,contw
+	setarg 0xffff
+	istore 2,contw
+
+	setarg 0xff5a09
+	store 3,mem_sensor_8650_init
+	setarg 0x40ab27
+	istore 3,contw
+	setarg 0x9b56b3
+	istore 3,contw
+	setarg 0x12a8e6
+	istore 3,contw
+	setarg 0xbec0a9
+	istore 3,contw
+	setarg 0xafa5e6
+	istore 3,contw
+	setarg 0xa121a0
+	istore 3,contw
+	setarg 0x10b802
+	istore 3,contw
+	setarg 0xa70bb9
+	istore 3,contw
+	setarg 0xd0b5ff
+	istore 3,contw
+	setarg 0xff00b6
+	istore 3,contw
+	setarg 0x000900
+	istore 3,contw
+	setarg 0xffff
+	istore 2,contw
+
+	setarg 0x0d5a09
+	store 3,mem_sensor_ka8ul_init
+	setarg 0xc50e10
+	istore 3,contw
+	setarg 0x109a5b
+	istore 3,contw
+	setarg 0x421138
+	istore 3,contw
+	setarg 0x412828
+	istore 3,contw
+	setarg 0x394923
+	istore 3,contw
+	setarg 0x4bb04a
+	istore 3,contw
+	setarg 0x904ca0
+	istore 3,contw
+	setarg 0x09704d
+	istore 3,contw
+	setarg 0xffff00
+	istore 3,contw
+
+	setarg 0x46a509
+	store 3,mem_sensor_ka8g2_init
+	setarg 0x101934
+	istore 3,contw
+	setarg 0x690760
+	istore 3,contw
+	setarg 0x207d04
+	istore 3,contw
+	setarg 0x09007e
+	istore 3,contw
+	setarg 0x220d00
+	istore 3,contw
+	setarg 0xff220e
+	istore 3,contw
+	jam 0xff,mem_sensor_ka8g2_init+21
+		
+	setarg 0x0b5a09
+	store 3,mem_sensor_poweron_init
+	setarg 0x0009f3
+	istore 3,contw
+	setarg 0xffff
+	istore 2,contw
+
+	//sys init
+	branch app_sys_param_init
+	
+
+mouse_param_init:
+	setarg MOUSE_BT_SDP_ADDR				//bt sdp start address
+	store 2,mem_ui_uuid_table
+	setarg MOUSE_BLE_ATT_LIST_ADDR				//ble attlist start address
+	store 2,mem_ui_le_uuid_table
+	setarg 0x2580
+	store 3,mem_class
+	jam 3,mem_lpm_mult_timeout
+	jam 8,mem_lpm_overhead
+	jam DPI_BUTTON_STATE_UP,mem_select_device_button_statue
+	jam PB_BUTTON_STATE_UP,mem_select_device_button_statue
+	jam COMMBINATION_KEY_STATE_UP,mem_commbination_key_statue	
+	setarg 0x0200
+	store 2,mem_lpm_interval
+	jam 0x17,mem_le_local_mtu
+	jam 0x17,mem_le_remote_mtu
+//===========init spi param==============================
+	setarg 0x0a77
+	store 2,mem_spi_init_clk
+//===========all 16bit uuid==================================
+	setsect 0,0x306
+	setsect 1,0x4440
+	setsect 2,0x10000
+	setsect 3,0x4408
+	store 9,mem_all_uuid_16bits
+	setsect 0,0x1224
+	setsect 1,0x4000
+	setsect 2,0x0
+	istore 5,contw
+//===========features=====================================
+	setsect 0,0x3ffff
+	setsect 1,0x2fe23
+	setsect 2,0x199d9
+	setsect 3,0x20d
+	store 8,mem_features
+//======================================================	
+	setarg mem_le_tx_buffer0_omemalloc
+	store 2,mem_ble_l2cap_tx_buff0_ptr
+	setarg MOUSE_BLE_L2CAP_TXBUFF_SIZE
+	store 2,mem_ble_l2cap_tx_buff_size_ptr
+	
+	call mouse_device_led_all_off
+	call mouse_device_poweron_timer_init
+	call mouse_adc_gpio_mux_init
+
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit0 MOUSE_ENABLE_BT_125Hz,mouse_param_init_intervl_end
+	jam CLASSIC_INTERVAL_7_5MS,mem_sniff_param_interval
+	setarg LE_INTERVAL_7_5MS
+	store 2,mem_le_interval_min
+	store 2,mem_le_interval_min+2
+mouse_param_init_intervl_end:
+	call g24_interval_param_8ms
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit0 MOUSE_ENABLE_24G_250Hz,mouse_24g_short_sleep_set_end
+	call g24_interval_param_4ms
+mouse_24g_short_sleep_set_end:
+	fetch 1,mem_device_flag
+	store 1,mem_device_flag_temp
+	fetch 3,mem_le_lap+3
+	store 3,mem_mouse_le_lap_temp
+	fetch 1,mem_adc_config_flag_init
+	and pdata,0xfe,pdata		// hvin = vinlpm
+	store 1,mem_adc_config_flag_init
+	store 1,mem_adc_config_flag
+	setarg 0
+	store 7,mem_mouse_key
+	fetch 1,mem_ui_button_timeout
+	store 1,mem_bt_discovery_count
+	store 1,mem_select_device_count
+	call le_modified_name
+	branch mouse_sensor_set_angle
+
+
+mouse_start_work:
+	bpatch patch18_3,mem_patch18
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit1 MOUSE_ENABLE_24G_FIRST_AUTO_PAIRING, mouse_24g_first_start_auto_pair_mode
+	fetch 1,mem_device_flag
+	beq MODE_24G_DEVICE,mouse_24g_start_mode
+	call mouse_wakeup_from_power_check	// wake from hibernate :enble user
+	nbranch mouse_buletooth_fast_conn_init,user
+mouse_start_reconnect_device:
+	bpatch patch18_4,mem_patch18
+	arg mem_device1_type,rega
+	fetch 1,mem_device_flag
+	increase -1,pdata
+	mul32 pdata,29,pdata
+	iadd rega,rega
+	ifetch 1,rega
+	store 1,mem_xrecord_mode
+mouse_start_reconnect:	
+	fetch 1,mem_xrecord_mode
+	beq REC_3_MODE,mouse3_0_check_reconn_target
+	beq REC_4_MODE,mouse4_0_check_reconn_target
+	branch mouse_start_discovery
+
+
+mouse_wakeup_from_power_check:
+	bpatch patch18_5,mem_patch18
+	disable user
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit0 MOUSE_ENABLE_WAKEUP_FROM_POWER,mouse_wakeup_from_power
+	fetch 1,mem_wakup_from_power_flag
+	bbit0 BIT_POWER_ON,mouse_wakeup_from_power
+	enable user		// mouse power on
+mouse_wakeup_from_power:
+	fetch 1,mem_reconn_times_init
+	store 1,mem_reconn_times
+	rtn
+
+
+mouse3_0_check_reconn_target:
+	fetcht 2,mem_mouse_fast_page_to
+	fetch 1,mem_mouse_bluetooth_fast_conn_flag
+	beq 0xff,mouse3_0_check_reconn_target_next
+	fetcht 2,mem_mouse_page_to
+mouse3_0_check_reconn_target_next:	
+	storet 2,mem_page_to
+	fetch 6,mem_hci_plap
+	branch app_bt_start_discovery_short,blank
+	jam 0x17,mem_app_connection_options  //ssp
+	fetch 1,mem_ssp_enable
+	nbranch app_bt_start_reconnect,blank
+	jam 0x04,mem_app_connection_options  //no ssp
+	branch app_bt_start_reconnect
+	
+mouse4_0_check_reconn_target:
+	jam 1,mem_mouse_le_reconnect_flag
+	fetcht 1,mem_mouse_fast_direct_timeout
+	fetch 1,mem_mouse_bluetooth_fast_conn_flag
+	beq 0xff,mouse4_0_check_reconn_target_next
+	fetcht 1,mem_mouse_direct_timeout
+mouse4_0_check_reconn_target_next:	
+	storet 1,mem_mouse_direct_timer
+	call app_lpm_mult_disable
+	fetch 3,mem_le_adv_direct_ind
+	store 3,mem_le_adv_data+4
+	call mouse_le_check_adv_flag
+	setarg ADV_FLAG_BREDR_NOT_SUPPORTED
+	istore 1,contr
+	arg mem_le_scan_data,contr
+	call mouse_le_adv_data_update
+	branch check_51cmd_adv
+
+
+/*****************system clk***********************************/
+mouse_lpm_check_wake_lock:
+	bmark1 mark_24g,app_get_lpm_wake_lock
+	fetch 1,mem_mouse_clear_sensor_data_flag
+	branch app_get_lpm_wake_lock,blank
+	fetch 1,mem_mouse_le_conn_param_reject
+	beq LE_LPM_DISABLE,app_get_lpm_wake_lock
+	fetch 2,mem_sdp_remote_cid
+	nbranch app_get_lpm_wake_lock,blank
+	fetch 1,mem_mouse_wheel_trigger
+	nbranch app_get_lpm_wake_lock,blank
+	branch app_put_lpm_wake_lock
+
+mouse_delay_enter_hibernata:
+	fetch 1,mem_mouse_direct_timeout
+	store 1,mem_mouse_bluetooth_reconnect_timeout
+	rtn
+
+
+mouse_app_enter_hibernate:
+	bpatch patch18_6,mem_patch18
+	call mouse_sensor_reset
+	call mouse_sensor_powerdown
+	branch app_enter_hibernate
+
+	
+mouse_before_hibernate:
+	bpatch patch18_7,mem_patch18
+	fetch 4,core_lpm_ctrl
+	set1 26,pdata
+	store 4,core_lpm_reg
+	call lpm_write_ctrl
+	call disable_authrom
+	call mouse_device_led_all_off
+	call mouse_before_hibernate_wheel_gpio_set
+	call mouse_setgpio_hibernate
+	call mouse_flash_power_down
+	fetcht 1,mem_sensor_motion_gpio
+	branch gpio_clr_wake
+
+
+mouse_setgpio_hibernate:
+	bpatch patch19_0,mem_patch19
+	call mouse_set_sdio_high
+	call clear_wake
+	call mouse_lpm_before_common
+	call mouse_gpio_pu_idle
+	fetcht 1,mem_mouse_reuse_2ice_gpio
+	call mouse_gpio_config_input_pu
+	branch mouse_gpio_set_high_impedance
+
+//set all unused gpio to pull up mode to save power	
+mouse_gpio_pu_idle:
+	arg core_gpio_conf,contr
+	arg 19,loopcnt
+mouse_gpio_pu_idle_loop:
+	ifetch 1,contr
+	nbranch mouse_gpio_pu_idle_configured,blank
+	setarg 0x40
+	add contr,-1,contw
+	istore 1,contw
+mouse_gpio_pu_idle_configured:
+	loop mouse_gpio_pu_idle_loop
+	rtn
+	
+mouse_process_lpm_before:
+	rtnmark1 mark_24g
+	call mouse_lpm_before_common
+	fetch 1,mem_lpm_current_mult
+	nrtn blank					// 7.5ms, no gpio wakeup
+	branch gpio_clr_wake
+
+mouse_lpm_before_common:
+	bpatch patch19_1,mem_patch19
+	
+	call mouse_wheel_check
+	fetch 1,mem_mouse_sensor_sclk_gpio		//set sdio high
+ 	arg gpcfg_output_high,temp
+ 	call gpio_config_function_int
+	call twspi_disable
+	
+	fetcht 1,mem_lbutton_gpio
+	call gpio_set_wake
+	fetcht 1,mem_rbutton_gpio
+	call gpio_set_wake
+	fetcht 1,mem_mbutton_gpio
+	call gpio_set_wake
+
+	fetcht 1,mem_bk_button_gpio
+	call gpio_set_wake
+	fetcht 1,mem_fw_button_gpio
+	call gpio_set_wake
+	fetcht 1,mem_dpi_button_gpio
+	call gpio_set_wake
+	fetcht 1,mem_config_select_device_button_gpio
+	call gpio_set_wake
+
+	fetcht 1,mem_customer_key_gpio
+	call gpio_set_wake
+	
+	fetcht 1,mem_whee_a_data_gpio
+	call gpio_set_wake_by_current_state
+	fetcht 1,mem_whee_b_data_gpio
+	call gpio_set_wake_by_current_state
+	fetcht 1,mem_whee_ta_data_gpio
+	call gpio_set_wake_by_current_state
+	fetcht 1,mem_whee_tb_data_gpio
+	call gpio_set_wake_by_current_state
+	fetcht 1,mem_sensor_motion_gpio
+	branch gpio_set_wake
+
+
+//short mult: no key 
+mouse_set_mult:
+	fetch 2,mem_ui_state_map
+	bbit1 UI_STATE_BLE_CONNECTED,mouse_set_ble_mult
+	fetch 2,mem_ui_state_map
+	bbit1 UI_STATE_BT_CONNECTED,mouse_set_bt_mult
+	rtn
+mouse_set_ble_mult:
+	copy rega,pdata
+	nbranch le_set_config_short_mult,blank
+	branch le_clr_config_short_mult
+mouse_set_bt_mult:
+	copy rega,pdata
+	nbranch classic_bt_set_mult_short_flag,blank
+	branch classic_bt_clr_mult_short_flag
+
+/*****************system clk***********************************/
+	
+	
+/****************************adc**************************************/	
+mouse_adc_gpio_set:
+	fetch 1,mem_adc_config_flag
+	rtnne ADC_CONFIG_GPIO
+mouse_adc_gpio_check_output:
+	bpatch patch19_2,mem_patch19
+	fetcht 1,mem_adc_channel
+	sub temp,3,null
+	branch mouse_adc_gpio_4_7_set,positive
+	increase 5,temp
+	storet 1,mem_adc_channel_gpio
+mouse_adc_gpio_set_next:
+	copy temp,rega
+	call gpio_get_config
+	beq gpcfg_output_high,mouse_set_24g_led_statue
+	call mouse_clear_24g_led_statue
+	copy rega,temp
+	branch gpio_set_high_impedance
+
+mouse_adc_gpio_4_7_set:
+	increase 4,temp
+	storet 1,mem_adc_channel_gpio
+	branch mouse_adc_gpio_set_next
+
+mouse_adc_vol_init:
+	fetch 1,mem_adc_config_flag_init
+	beq ADC_CONFIG_GPIO,mouse_adc_gpio_vol_init
+	beq ADC_CONFIG_VINLPM,mouse_adc_gpio_vinlpm_init
+	jam ADC_CONFIG_VINLPM,mem_adc_config_flag_init
+	setarg 0x2c0172		// 0x0172--3.7V  0x012c--3.0V  0x0140--3.2V  0x014a--3.3V
+	store 3,mem_mouse_vdd_full_vol
+	setarg 0x014001
+	istore 3,contw
+	rtn
+mouse_adc_gpio_vol_init:	
+	setarg 0x5d0099		// 0x0099--1.5V   0x005d--0.9V  0x0068--1.0V  0x0071--1.1V
+	store 3,mem_mouse_vdd_full_vol
+	setarg 0x007100
+	istore 3,contw
+	rtn
+mouse_adc_gpio_vinlpm_init:
+	setarg 0xc8012c		// 0x012c--3.0V  0x00c8--2.0V  0x00dc--2.2V
+	store 3,mem_mouse_vdd_full_vol
+	setarg 0x00dc00
+	istore 3,contw
+	rtn
+	
+
+
+mouse_adc_gpio_mux_init:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit0 MOUSE_ENABLE_ADC
+	jam MOUSE_ADC_CHECK_MULTIPLE,mem_adc_mux_status
+	rtnbit1 MOUSE_ENABLE_DPI_KEY_CONNECT_ADC
+	rtnbit1 MOUSE_ENABLE_SELECT_DEVICE_BY_SWITCH_ADC
+	jam MOUSE_ADC_CHECK_BATTERY_ONLY,mem_adc_mux_status
+	rtn
+
+mouse_adc_read_interval:	
+	fetch 1,mem_adc_read_timer
+	increase 1,pdata
+	store 1,mem_adc_read_timer
+	fetcht 1,mem_adc_read_time_init	//1s read adc
+	isub temp,null
+	rtn
+
+
+mouse_adc_read:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit0 MOUSE_ENABLE_ADC
+	call mouse_adc_gpio_set
+	fetch 1,mem_adc_mux_status
+	branch mouse_adc_read_battery,blank
+	fetch 1,mem_adc_config_flag
+	beq ADC_CONFIG_GPIO,mouse_adc_read_gpio_mux_start	// gpio + dpi/switch
+	jam MOUSE_ADC_CHECK_VINLPM_MULTIPLE,mem_adc_mux_status
+	call mouse_adc_read_interval					// vinlpm + dpi/switch
+	branch  mouse_adc_read_gpio, positive
+	call mouse_adc_read_vinlpm
+	branch mouse_adc_read_start
+
+mouse_adc_read_gpio_mux_start:
+	jam MOUSE_ADC_CHECK_GPIO_MULTIPLE,mem_adc_mux_status
+	branch mouse_adc_read_start
+
+mouse_adc_read_gpio:
+	call mouse_adc_gpio_check_output
+	jam ADC_CONFIG_GPIO,mem_adc_config_flag
+	fetch 1,mem_24g_device_led_status
+	ncall mouse_adc_read_vinlpm,blank
+	branch mouse_adc_read_start
+	
+mouse_adc_read_vinlpm:
+	jam 0,mem_adc_read_timer
+	fetch 1,mem_adc_config_flag_init
+	store 1,mem_adc_config_flag
+	rtn	
+	
+mouse_adc_read_battery:		// only get battery
+	fetch 1,mem_adc_config_flag
+	bne ADC_CONFIG_GPIO,mouse_adc_read_battery_start
+	fetch 1,mem_24g_device_led_status
+	nrtn blank
+mouse_adc_read_battery_start:
+	call mouse_adc_read_interval
+	nrtn positive
+mouse_adc_read_start:
+	bpatch patch19_3,mem_patch19
+	fetch 1,mem_24g_device_led_status
+	nrtn blank
+	jam 0,mem_adc_read_timer
+	call enable_adc
+	call vdd_calculate_by_mode
+	store 2,mem_mouse_vdd_now_vol
+	fetch 1,mem_adc_config_flag
+	bne ADC_CONFIG_GPIO, mouse_adc_data_process
+	fetcht 2,mem_mouse_vdd_now_vol	// BAT= 1.5V, R = 200k, a = a*1.8
+	mul32 temp,8,pdata
+	div pdata,10
+	call get_div_result
+	iadd temp,pdata
+	store 2,mem_mouse_vdd_now_vol
+mouse_adc_data_process:	
+	arg mem_mouse_vdd_calculate_set,rega
+	call mouse_adc_bat_percent_lowpower_out
+	fetch 1,mem_adc_power_flag
+	bbit1 2,mouse_adc_button_press
+	bbit1 1,mouse_power_down
+	bbit0 0,mouse_adc_no_low_voltage
+	jam 1,mem_mouse_adc_last_low_voltage_flag
+	branch mouse_adc_low_voltage
+	
+mouse_adc_low_voltage:
+	arg MOUSE_LOW_VOLTAGE_FLAG,queue
+	branch mouse_enable_function_flag
+mouse_adc_no_low_voltage:
+	arg MOUSE_LOW_VOLTAGE_FLAG,queue
+	call mouse_disable_function_flag
+	jam 12,mem_adc_low_volatage_led_timer_count
+	fetch 1,mem_mouse_adc_last_low_voltage_flag
+	rtn blank
+	jam 0,mem_mouse_adc_last_low_voltage_flag
+	fetcht 1,mem_config_low_voltage_alarm_gpio
+	branch mouse_led_off
+
+
+
+mouse_adc_bat_percent_lowpower_out:
+	bpatch patch19_4,mem_patch19
+	ifetch 8,rega
+	store 8,mem_pdatatemp
+	fetch 1,mem_adc_mux_status
+	beq MOUSE_ADC_CHECK_BATTERY_ONLY,mouse_adc_bat_percent_lowpower_out_battery
+	beq MOUSE_ADC_CHECK_GPIO_MULTIPLE,mouse_adc_bat_percent_lowpower_out_gpio_multiple
+	beq MOUSE_ADC_CHECK_VINLPM_MULTIPLE,mouse_adc_bat_percent_lowpower_out_vinlpm_multiple
+mouse_adc_bat_percent_lowpower_out_gpio_multiple:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit0 MOUSE_ENABLE_DPI_KEY_CONNECT_ADC,mouse_adc_bat_percent_lowpower_out_gpio_switch
+	fetch 2,mem_pdatatemp+6		               	//now voltage
+	fetcht 2,mem_mouse_vdd_button_press_vol	// button press check
+	isub temp,null
+	nbranch mouse_adc_set_button_press_flag,positive
+	
+mouse_adc_bat_percent_lowpower_out_gpio_switch:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit0 MOUSE_ENABLE_SELECT_DEVICE_BY_SWITCH_ADC,mouse_adc_bat_percent_lowpower_out_battery
+	jam 0,mem_mouse_adc_button_press_flag
+	fetch 2,mem_pdatatemp+6				    	        //now voltage	
+	fetcht 2,mem_mouse_vdd_switch_gnd_24g_vol	// switch mode check
+	isub temp,null
+	nbranch mouse_select_24gdevice,positive
+	call mouse_select_btdevice
+	branch mouse_adc_bat_percent_lowpower_out_battery
+
+mouse_select_24gdevice:
+	call mouse_check_select_24gdevice
+	branch mouse_adc_bat_percent_lowpower_out_battery
+
+
+mouse_adc_bat_percent_lowpower_out_battery:	
+	call mouse_adc_clear_button_press_flag
+	call adc_clear_no_power_flag
+	call adc_clear_low_power_flag
+	fetch 2,mem_pdatatemp+6
+	fetcht 2,mem_pdatatemp+2	        //shutdown voltage
+	isub temp,null
+	ncall adc_set_no_power_flag,positive
+
+	fetcht 2,mem_pdatatemp+4		//low voltage
+	isub temp,null
+	ncall adc_set_low_power_flag,positive
+
+mouse_adc_bat_level_set:
+	fetch 2,mem_pdatatemp+6		//now voltage	
+	fetcht 2,mem_pdatatemp		//full voltage
+	isub temp,null
+	branch mouse_adc_bat_level_100_percent,positive		// now >= full
+	fetcht 2,mem_pdatatemp+2	        //shutdown voltage
+	isub temp,pdata
+	nbranch mouse_adc_bat_level_0_percent,positive		// now < shutdown
+	branch mouse_adc_bat_level_0_percent,blank			// now = shutdown
+	mul32 pdata,100,rega								// (now - shutdown)*100 /(full - shutdown)
+	fetch 2,mem_pdatatemp
+	fetcht 2,mem_pdatatemp+2
+	isub temp,temp
+	copy rega,pdata
+	idiv temp
+	call get_div_result
+	store 1,mem_le_battery_level_percentage
+	rtn
+
+mouse_adc_bat_level_100_percent:
+	jam 100,mem_le_battery_level_percentage
+	rtn
+mouse_adc_bat_level_0_percent:	
+	jam 0,mem_le_battery_level_percentage
+	rtn
+
+	
+mouse_adc_bat_percent_lowpower_out_vinlpm_multiple:
+	fetch 1,mem_adc_config_flag
+	beq ADC_CONFIG_GPIO,mouse_adc_bat_percent_lowpower_out_gpio_multiple
+	branch mouse_adc_bat_percent_lowpower_out_battery
+	
+
+mouse_adc_set_button_press_flag:
+	fetcht 1,mem_adc_power_flag
+	set1 2,temp
+	storet 1,mem_adc_power_flag
+	rtn	
+
+mouse_adc_clear_button_press_flag:
+	fetcht 1,mem_adc_power_flag
+	set0 2,temp
+	storet 1,mem_adc_power_flag
+	rtn		
+
+mouse_adc_button_press:
+	jam 1,mem_mouse_adc_button_press_flag
+	rtn
+
+mouse_power_down:
+	call mouse_device_led_all_off
+	branch mouse_app_enter_hibernate
+	
+/****************************adc**************************************/	
+
+/****************************gpio******************************************/
+mouse_gpio_init:
+	fetcht 1,mem_eeprom_wp_gpio
+	call gpio_config_output
+	call usb_offline_check_init
+	fetcht 1,mem_lbutton_gpio
+	call mouse_gpio_config_input_pu
+	fetcht 1,mem_rbutton_gpio
+	call mouse_gpio_config_input_pu
+	fetcht 1,mem_mbutton_gpio
+	call mouse_gpio_config_input_pu
+	fetcht 1,mem_bk_button_gpio
+	call mouse_gpio_config_input_pu
+	fetcht 1,mem_fw_button_gpio
+	call mouse_gpio_config_input_pu
+	fetcht 1,mem_dpi_button_gpio
+	call mouse_gpio_config_input_pu
+
+	fetcht 1,mem_matrix_public_gpio
+	call mouse_gpio_config_input_pu
+
+	fetcht 1,mem_config_select_device_button_gpio
+	call mouse_gpio_config_input_pu
+
+	fetcht 1,mem_customer_key_gpio
+	call mouse_gpio_config_input_pu
+
+	fetcht 1,mem_whee_a_data_gpio
+	call mouse_gpio_config_input_pu
+
+	fetcht 1,mem_whee_b_data_gpio
+	call mouse_gpio_config_input_pu
+
+	fetcht 1,mem_whee_ta_data_gpio
+	call mouse_gpio_config_input_pu
+	fetcht 1,mem_whee_tb_data_gpio
+	call mouse_gpio_config_input_pu
+
+	fetcht 1,mem_sensor_motion_gpio
+	call mouse_gpio_config_input_pu
+
+	fetcht 1,mem_device_switch_gpio
+	call mouse_gpio_config_input_pu
+	
+	fetcht 1,mem_config_low_voltage_alarm_gpio
+	call gpio_config_output
+
+	fetcht 1,mem_config_device_24g_led_gpio
+	call gpio_config_output
+
+	fetcht 1,mem_config_device_bt1_led_gpio
+	call gpio_config_output
+	
+	fetcht 1,mem_config_device_bt2_led_gpio
+	call gpio_config_output
+
+	fetcht 1,mem_dpi_led_gpio
+	call gpio_config_output
+
+	fetcht 1,mem_select_sensor_angle_gpio
+	branch mouse_gpio_config_input_pu
+
+
+mouse_gpio_set_pupd_by_input:
+	sub temp,UI_BUTTON_GPIO_DISABLE,null
+	rtn zero
+	and temp,0x7f,queue
+	fetch 4,core_gpio_in
+	qisolate1 pdata
+	branch mouse_gpio_config_input_pu,true
+	branch mouse_gpio_config_input_pd
+
+	
+mouse_gpio_config_input_pd:
+	set1 gpio_active_bit,temp
+	branch gpio_config_input
+
+mouse_gpio_config_input_pu:
+	set0 gpio_active_bit,temp
+	branch gpio_config_input
+
+mouse_gpio_set_high_impedance:
+	fetch 3,mem_mouse_set_high_impedance_bit_set
+	store 3,mem_pdatatemp
+	arg 20,loopcnt
+	arg 0,temp
+mouse_gpio_set_high_impedance_bit_loop:	
+	fetch 3,mem_pdatatemp
+	isolate1 0,pdata
+	call gpio_set_high_impedance,true
+	fetch 3,mem_pdatatemp
+	lshift pdata,pdata
+	store 3,mem_pdatatemp
+	increase 1,temp
+	loop mouse_gpio_set_high_impedance_bit_loop
+	rtn
+
+
+
+/****************************gpio******************************************/
+
+/*******************spi*****************************/
+mouse_sensor_spi_init:
+	call mouse_spid_init_pin
+	jam 0x73,mem_spi_init_clk
+//	jam 0x1e,mem_spi_init_delay_time
+	call mouse_spi_init
+	branch twspi_enable
+	
+mouse_spi_write_flash_cb:
+mouse_spi_init:
+	branch spid_init
+	
+mouse_spid_init_pin:
+	fetch 1,mem_mouse_sensor_sclk_gpio
+ 	arg gpcfg_spid_sck,temp
+ 	call gpio_config_function_int
+ 	fetch 1,mem_mouse_sensor_sdio_gpio
+ 	arg gpcfg_spid_sdio,temp
+ 	branch gpio_config_function_int
+
+
+/*******************spi*****************************/
+
+
+
+
+mouse_motion:
+	bpatch patch19_5,mem_patch19
+	disable user
+	setarg 0
+	store 6,mem_mouse_x
+	call mouse_check_sensor_data
+	call mouse_zwheel
+	call mouse_t_zwheel
+	call mouse_key
+	fetch 1,mem_mouse_key
+	and_into 0x1f,pdata
+	store 1,mem_mouse_key
+	nbranch mouse_drawing_optima_init,user
+	call mouse_drawing_optima
+	branch mouse_no_data_timer_init
+
+	
+
+/*******************wheel*************************/
+mouse_zwheel:
+	fetch 1,mem_mouse_z_data
+	rtn blank	
+	store 1,mem_mouse_z
+	jam 0,mem_mouse_z_data
+	branch enable_user
+	
+mouse_t_zwheel:
+	fetch 1,mem_mouse_tz_data
+	rtn blank	
+	store 1,mem_mouse_tz
+	jam 0,mem_mouse_tz_data
+	branch enable_user
+
+mouse_wheel_check:
+	call mouse_t_wheel_scan
+	call mouse_wheel_scan
+	fetch 1,mem_wheel_tb_new_pinlevel
+	fetcht 1,mem_wheel_tb_old_pinlevel
+	store 1,mem_wheel_tb_old_pinlevel
+	isub temp,null
+	nbranch app_lpm_wake_auto_lock,zero
+	fetch 1,mem_mwheel_b_new_pinlevel
+	fetcht 1,mem_mwheel_b_old_pinlevel
+	store 1,mem_mwheel_b_old_pinlevel
+	isub temp,null
+	nbranch app_lpm_wake_auto_lock,zero
+	rtn
+mouse_t_wheel_scan:
+	fetch 1,mem_whee_ta_data_gpio
+	rtneq GPIO_DISABLE
+	arg 0,rega
+	fetcht 1,mem_whee_ta_data_gpio
+	call gpio_get_bit
+	setflag true,0,rega
+	fetcht 1,mem_whee_tb_data_gpio
+	call gpio_get_bit
+	setflag true,1,rega
+	copy rega,pdata
+	store 1,mem_wheel_tb_new_pinlevel
+	beq 0x01,mouse_t_wheel_scan_judge1
+	beq 0x02,mouse_t_wheel_scan_judge2
+	fetch 1,mem_wheel_tog
+	bbit1 7,mouse_t_wheel_scan_judge3
+	rtn
+
+mouse_t_wheel_scan_judge1:
+	fetch 1,mem_wheel_tb_old_pinlevel
+	beq 0,mouse_t_wheel_scan_judge11
+	beq 3,mouse_t_wheel_scan_judge12
+	rtn
+mouse_t_wheel_scan_judge2:
+	fetch 1,mem_wheel_tb_old_pinlevel
+	beq 0,mouse_t_wheel_scan_judge21
+	beq 3,mouse_t_wheel_scan_judge22
+	rtn
+mouse_t_wheel_scan_judge11:
+	jam 0x82,mem_wheel_tog
+	rtn
+mouse_t_wheel_scan_judge12:
+	jam 0x81,mem_wheel_tog
+	rtn
+mouse_t_wheel_scan_judge21:
+	jam 0x80,mem_wheel_tog
+	rtn
+mouse_t_wheel_scan_judge22:
+	jam 0x83,mem_wheel_tog
+	rtn
+mouse_t_wheel_scan_judge3:
+	fetch 1,mem_wheel_tog
+	set0 7,pdata
+	store 1,mem_wheel_tog
+	beq 0,mouse_t_wheel_scan_judge30
+	beq 1,mouse_t_wheel_scan_judge31
+	beq 2,mouse_t_wheel_scan_judge32
+	beq 3,mouse_t_wheel_scan_judge33
+	rtn
+mouse_t_wheel_scan_judge30:
+	fetch 1,mem_wheel_tb_new_pinlevel
+	beq 3,mouse_wheel_t_forward
+	rtn
+mouse_t_wheel_scan_judge31:
+	fetch 1,mem_wheel_tb_new_pinlevel
+	beq 0,mouse_wheel_t_forward
+	rtn
+mouse_t_wheel_scan_judge32:
+	fetch 1,mem_wheel_tb_new_pinlevel
+	beq 3,mouse_wheel_t_back
+	rtn
+mouse_t_wheel_scan_judge33:
+	fetch 1,mem_wheel_tb_new_pinlevel
+	beq 0,mouse_wheel_t_back
+	rtn
+mouse_wheel_t_forward:
+	fetch 1,mem_mouse_tz_data
+	increase 1,pdata
+	store 1,mem_mouse_tz_data
+	rtn
+mouse_wheel_t_back:
+	fetch 1,mem_mouse_tz_data
+	increase -1,pdata
+	store 1,mem_mouse_tz_data
+	rtn
+
+
+mouse_wheel_scan:
+	fetch 1,mem_whee_a_data_gpio
+	rtneq GPIO_DISABLE
+	arg 0,rega
+	fetcht 1,mem_whee_a_data_gpio
+	call gpio_get_bit
+	setflag true,0,rega
+	fetcht 1,mem_whee_b_data_gpio
+	call gpio_get_bit
+	setflag true,1,rega
+	copy rega,pdata
+	store 1,mem_mwheel_b_new_pinlevel
+	beq 0x01,mouse_wheel_scan_judge1
+	beq 0x02,mouse_wheel_scan_judge2
+	fetch 1,mem_mwheel_tog
+	bbit1 7,mouse_wheel_scan_judge3
+	rtn
+
+mouse_wheel_scan_judge1:
+	fetch 1,mem_mwheel_b_old_pinlevel
+	beq 0,mouse_wheel_scan_judge11
+	beq 3,mouse_wheel_scan_judge12
+	rtn
+mouse_wheel_scan_judge2:
+	fetch 1,mem_mwheel_b_old_pinlevel
+	beq 0,mouse_wheel_scan_judge21
+	beq 3,mouse_wheel_scan_judge22
+	rtn
+mouse_wheel_scan_judge11:
+	jam 0x82,mem_mwheel_tog
+	rtn
+mouse_wheel_scan_judge12:
+	jam 0x81,mem_mwheel_tog
+	rtn
+mouse_wheel_scan_judge21:
+	jam 0x80,mem_mwheel_tog
+	rtn
+mouse_wheel_scan_judge22:
+	jam 0x83,mem_mwheel_tog
+	rtn
+mouse_wheel_scan_judge3:
+	fetch 1,mem_mwheel_tog
+	set0 7,pdata
+	store 1,mem_mwheel_tog
+	beq 0,mouse_wheel_scan_judge30
+	beq 1,mouse_wheel_scan_judge31
+	beq 2,mouse_wheel_scan_judge32
+	beq 3,mouse_wheel_scan_judge33
+	rtn
+mouse_wheel_scan_judge30:
+	fetch 1,mem_mwheel_b_new_pinlevel
+	beq 3,mouse_wheel_forward
+	rtn
+mouse_wheel_scan_judge31:
+	fetch 1,mem_mwheel_b_new_pinlevel
+	beq 0,mouse_wheel_forward
+	rtn
+mouse_wheel_scan_judge32:
+	fetch 1,mem_mwheel_b_new_pinlevel
+	beq 3,mouse_wheel_back
+	rtn
+mouse_wheel_scan_judge33:
+	fetch 1,mem_mwheel_b_new_pinlevel
+	beq 0,mouse_wheel_back
+	rtn
+mouse_wheel_forward:
+	fetch 1,mem_mouse_z_data
+	increase 1,pdata
+	store 1,mem_mouse_z_data
+	rtn
+mouse_wheel_back:
+	fetch 1,mem_mouse_z_data
+	increase -1,pdata
+	store 1,mem_mouse_z_data
+	rtn
+
+
+mouse_wheel_gpio_set_wake:
+	fetcht 1,mem_whee_a_data_gpio
+	call gpio_set_wake_by_current_state
+	fetcht 1,mem_whee_b_data_gpio
+	call gpio_set_wake_by_current_state
+	fetcht 1,mem_whee_ta_data_gpio
+	call gpio_set_wake_by_current_state
+	fetcht 1,mem_whee_tb_data_gpio
+	branch gpio_set_wake_by_current_state
+	
+mouse_before_hibernate_wheel_gpio_set:
+	fetcht 1,mem_whee_a_data_gpio
+	call mouse_gpio_set_pupd_by_input
+	fetcht 1,mem_whee_b_data_gpio
+	call mouse_gpio_set_pupd_by_input
+	fetcht 1,mem_whee_ta_data_gpio
+	call mouse_gpio_set_pupd_by_input
+	fetcht 1,mem_whee_tb_data_gpio
+	branch mouse_gpio_set_pupd_by_input
+
+mouse_wheel_trigger:
+	fetch 2,mem_mouse_z
+	rtn blank
+	jam 1,mem_mouse_wheel_trigger
+	jam 10,mem_mouse_wheel_trigger_timer
+	rtn
+
+mouse_wheel_trigger_timer:
+	arg mem_mouse_wheel_trigger_timer,regc
+	arg mouse_wheel_trigger_disable,regb
+	branch timer_single_step
+mouse_wheel_trigger_disable:
+	jam 0,mem_mouse_wheel_trigger
+	rtn
+
+
+/*
+mouse_set_qdecoder_x:
+	arg MOUSE_DEFAULT_XA_GPIO,temp
+	call mouse_gpio_config_input_pu
+	arg MOUSE_DEFAULT_XA_GPIO,temp
+	call gpio_get_bit
+	rtn true
+	fetch 1,core_qdec_cntx
+	set1 4,pdata
+	store 1,core_qdec_cntx
+	rtn
+*/	
+	
+/*******************wheel*************************/
+
+
+
+/********************dpi******************************/
+mouse_dpi_check:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit1 MOUSE_ENABLE_DPI_KEY_CONNECT_ADC,mouse_dpi_check_connect_adc
+	fetch 1,mem_dpi_button_gpio
+	rtneq GPIO_DISABLE
+	arg 0,rega
+	jam MOUSE_DPI_KEY,mem_mouse_key_temp
+	fetcht 1,mem_dpi_button_gpio
+	call mouse_dpi_key_check
+	store 1,mem_mouse_dpikey_press_status
+	fetch 1,mem_matrix_public_gpio
+	beq GPIO_DISABLE,mouse_3io6key_dpi_check_end
+	call mouse_matrix_public_gpio_reset
+mouse_dpi_check_exit:	
+	copy rega,pdata
+	bbit1 MOUSE_DPI_KEY,mouse_dpi_down
+	branch mouse_dpi_up
+
+mouse_dpi_check_connect_adc:
+	fetch 1,mem_mouse_adc_button_press_flag
+	branch mouse_dpi_up,blank
+	branch mouse_dpi_down
+	
+mouse_dpi_key_check:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit1 MOUSE_ENABLE_DPI_KEY_CONNECT_GND,mouse_dpi_key_connect_gnd
+	fetch 1,mem_mouse_dpikey_press_status
+	copy pdata,regc
+	fetch 1,mem_matrix_public_gpio
+	beq GPIO_DISABLE,mouse_3io6key_check
+	fetch 1,mem_mouse_ghost_flag
+	nbranch mouse_dpi_check_end,blank
+	branch mouse_dpi_key_connect_matrix	
+
+mouse_3io6key_dpi_check_end:
+	fetcht 1,mem_dpi_button_gpio
+	call mouse_gpio_config_input_pu
+	branch mouse_dpi_check_exit
+
+mouse_dpi_check_end:
+	jam DPI_BUTTON_STATE_UP,mem_mouse_dpi_button_state
+	jam 0,mem_mouse_dpikey_press_status
+	rtn
+
+mouse_dpi_key_connect_gnd:
+	fetch 1,mem_mouse_dpikey_press_status
+	branch mouse_check_key_connect_gnd
+
+mouse_dpi_key_connect_matrix:
+	call gpio_get_bit
+	fetcht 1,mem_matrix_public_gpio
+	branch mouse_dpi_key_connect_gnd,true
+	fetcht 1,mem_matrix_public_gpio
+	call gpio_out_active
+	fetcht 1,mem_dpi_button_gpio
+	fetch 1,mem_mouse_dpikey_press_status
+	branch mouse_check_key_connect_gnd
+
+
+mouse_dpi_down:
+	fetch 1,mem_mouse_dpi_button_state
+	rtneq DPI_BUTTON_STATE_DOWN
+	jam DPI_BUTTON_STATE_DOWN,mem_mouse_dpi_button_state
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit1 MOUSE_ENABLE_SELECT_DEVICE_BY_DPI_BUTTON
+	rtnbit1 MOUSE_ENABLE_DPI_KEY_LONG_PRESS_DISCONVERY
+	branch mouse_dpi_process
+
+mouse_dpi_up:
+	fetch 1,mem_mouse_dpi_button_state
+	rtneq DPI_BUTTON_STATE_UP
+	jam DPI_BUTTON_STATE_UP,mem_mouse_dpi_button_state
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit1 MOUSE_ENABLE_SELECT_DEVICE_BY_DPI_BUTTON,mouse_dpi_up_next
+	bbit1 MOUSE_ENABLE_DPI_KEY_LONG_PRESS_DISCONVERY,mouse_dpi_up_next
+	rtn
+mouse_dpi_up_next:	
+	fetch 1,mem_mouse_dpi_long_press_flag
+	nbranch mouse_dpi_up_after_long_press,blank
+	fetch 1,mem_select_device_count
+	ncall mouse_dpi_process,blank
+mouse_dpi_up_after_long_press:	
+	jam 0,mem_mouse_dpi_long_press_flag
+	fetch 1,mem_ui_button_timeout
+	store 1,mem_select_device_count	
+	store 1,mem_bt_discovery_count	
+	rtn
+	
+mouse_dpi_process:	
+	bpatch patch19_6,mem_patch19
+	call mouse_dpi_ghost_check
+	rtn user
+	fetch 1,mem_mouse_dpi
+	increase 1,pdata
+	and pdata,0x03,pdata
+	store 1,mem_mouse_dpi
+	call mouse_seting_dpi
+	branch mouse_store_device_info_delay
+
+mouse_dpi_ghost_check:
+	disable user
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit1 MOUSE_ENABLE_DPI_KEY_CONNECT_GND
+	rtnbit1 MOUSE_ENABLE_DPI_KEY_CONNECT_ADC
+	fetch 1,mem_mouse_lkey_press_status
+	rtn blank
+	fetch 1,mem_mouse_rkey_press_status
+	rtn blank
+	enable user
+	rtn
+	
+
+mouse_dpi_key_check_long_press:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit1 MOUSE_ENABLE_SELECT_DEVICE_BY_DPI_BUTTON,mouse_select_device_by_dpi_button
+	bbit1 MOUSE_ENABLE_DPI_KEY_LONG_PRESS_DISCONVERY,mouse_discovery_by_dpi_button
+	rtn
+
+
+mouse_select_device_by_dpi_button:
+	fetch 1,mem_mouse_dpi_button_state
+	rtnne DPI_BUTTON_STATE_DOWN	
+	arg mem_select_device_count,regc
+	arg mouse_ready_reconnection_by_dpi_button,regb
+	branch timer_single_step
+
+mouse_ready_reconnection_by_dpi_button:
+	jam 1,mem_mouse_dpi_long_press_flag
+	branch mouse_ready_reconnection_by_button
+
+mouse_discovery_by_dpi_button:
+	fetch 1,mem_mouse_dpi_button_state
+	rtnne DPI_BUTTON_STATE_DOWN	
+	arg mem_bt_discovery_count,regc
+	arg mouse_long_dpi_button_bt_discovery,regb
+	branch timer_single_step
+
+mouse_long_dpi_button_bt_discovery:
+	jam 1,mem_mouse_dpi_long_press_flag
+	branch mouse_long_button_bt_discovery
+
+
+
+mouse_dpi_config:
+	branch mouse_seting_sensor_type
+
+
+mouse_setting_dpi_4_level:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit1 MOUSE_ENABLE_DPI_LEVEL_4
+	fetch 1,mem_mouse_dpi
+	rtnne MOUSE_DPI_LEVEL4
+	jam MOUSE_DPI_LEVEL1,mem_mouse_dpi
+	rtn
+	
+
+mouse_seting_dpi:
+	bpatch patch19_7,mem_patch19
+	call mouse_setting_dpi_4_level
+	call mouse_dpi_led_blink_delay
+mouse_seting_sensor_type:
+	fetch 1,mem_config_sensor_type
+	beq P3212,mouse_seting_3212_dpi
+	beq KA8G2,mouse_seting_ka8g2_dpi
+	fetch 1,mem_mouse_dpi
+	beq MOUSE_DPI_LEVEL1,mouse_set_cpi0		//1200
+	beq MOUSE_DPI_LEVEL2,mouse_set_cpi1		//1600
+	beq MOUSE_DPI_LEVEL3,mouse_set_cpi2		//800
+	beq MOUSE_DPI_LEVEL4,mouse_set_cpi3		//1000
+mouse_set_cpi1:	//320x+8009
+	fetcht 1,mem_320x_dpi_1
+	branch mouse_dpi_store
+mouse_set_cpi0:
+	fetcht 1,mem_320x_dpi_0
+	branch mouse_dpi_store
+mouse_set_cpi2:
+	fetcht 1,mem_320x_dpi_2
+	branch mouse_dpi_store
+mouse_set_cpi3:
+	fetcht 1,mem_320x_dpi_3
+	branch mouse_dpi_store
+
+mouse_dpi_store:
+	fetch 1,mem_config_sensor_type
+	beq P3065_XY,mouse_3065xy_set_dpi
+	beq MX8650,mouse_3065xy_set_dpi
+	beq KA8,mouse_ka8_set_dpi
+	beq P6520,mouse_ka8_set_dpi
+	beq P8009,mouse_3065xy_set_dpi
+mouse_dpi_write:		// 3205  1  2  3  4
+	storet 1,mem_mouse_cpi_count
+	setarg MOUSE_DPI_ADDRESS
+	call twspi_read
+	and pdata,0xf8,temp
+	fetch 1,mem_mouse_cpi_count
+	iadd temp,pdata
+	lshift8 pdata,pdata
+	add pdata,MOUSE_DPI_ADDRESS,pdata
+	branch twspi_write
+
+mouse_3065xy_set_dpi:	// 0 1 2 3
+	increase -1,temp
+	branch mouse_dpi_write
+
+mouse_ka8_set_dpi:	// 3 4 5 6
+	increase 2,temp
+	branch mouse_dpi_write
+
+mouse_seting_3212_dpi:
+	fetch 1,mem_mouse_dpi
+	beq MOUSE_DPI_LEVEL1,mouse_set_p3212_cpi0	//1200
+	beq MOUSE_DPI_LEVEL2,mouse_set_p3212_cpi1	//1600
+	beq MOUSE_DPI_LEVEL3,mouse_set_p3212_cpi2	//2400
+	beq MOUSE_DPI_LEVEL4,mouse_set_p3212_cpi3	//800
+mouse_set_p3212_cpi1:
+	fetch 1,mem_3212_dpi_1
+	branch mouse_p3212_dpi
+mouse_set_p3212_cpi0:
+	fetch 1,mem_3212_dpi_0
+	branch mouse_p3212_dpi
+mouse_set_p3212_cpi2:
+	fetch 1,mem_3212_dpi_2
+	branch mouse_p3212_dpi
+mouse_set_p3212_cpi3:
+	fetch 1,mem_3212_dpi_3
+mouse_p3212_dpi:
+	store 1,mem_mouse_cpi_count
+	lshift8 pdata,pdata
+	copy pdata,rega
+	add pdata,MOUSE_P3212_DPI_XADDRESS,pdata
+  	call twspi_write
+ 	copy rega,pdata
+  	add pdata,MOUSE_P3212_DPI_YADDRESS,pdata
+	branch twspi_write
+
+mouse_seting_ka8g2_dpi:
+	fetch 1,mem_mouse_dpi
+	beq MOUSE_DPI_LEVEL1,mouse_set_pka8g2_cpi0		//1600
+	beq MOUSE_DPI_LEVEL2,mouse_set_pka8g2_cpi1		//2400
+	beq MOUSE_DPI_LEVEL3,mouse_set_pka8g2_cpi2		//3200
+	beq MOUSE_DPI_LEVEL4,mouse_set_pka8g2_cpi3		//800
+mouse_set_pka8g2_cpi1:
+	fetch 1,mem_ka8g2_dpi_1
+	branch mouse_p3212_dpi
+
+mouse_set_pka8g2_cpi0:
+	fetch 1,mem_ka8g2_dpi_0
+	branch mouse_p3212_dpi
+	
+mouse_set_pka8g2_cpi2:
+	fetch 1,mem_ka8g2_dpi_2
+	branch mouse_p3212_dpi
+
+mouse_set_pka8g2_cpi3:
+	fetch 1,mem_ka8g2_dpi_3
+	branch mouse_p3212_dpi
+
+		
+/********************dpi******************************/		
+
+
+/***********************key******************************/
+
+mouse_key:
+	call mouse_check_key_gpio
+	call mouse_ghost_key_check
+	call mouse_set_mult
+	call mouse_24g_key
+	copy rega,pdata
+	fetcht 1,mem_mouse_key_last
+	store 1,mem_mouse_key_last
+	store 1,mem_mouse_key
+	ixor temp,pdata
+	sub pdata,0,null
+	rtn zero
+	branch enable_user
+
+mouse_24g_key:
+	rtnmark0 mark_24g
+	copy rega,pdata
+	rtn blank
+	store 1,mem_mouse_key
+	branch enable_user
+
+mouse_ghost_key_check:
+	jam 0,mem_mouse_matrix_key_cow_count
+	jam 0,mem_mouse_matrix_key_row_count
+	jam 0,mem_mouse_ghost_flag
+	copy pdata,temp
+	call mouse_ghost_key_check_L_BK
+	call mouse_ghost_key_check_M_FW
+	call mouse_ghost_key_check_BK_FW
+	call mouse_ghost_key_check_LMR
+	fetch 1,mem_mouse_matrix_key_row_count
+	rtn blank
+	fetch 1,mem_mouse_matrix_key_cow_count
+	rtn blank
+	jam 1,mem_mouse_ghost_flag
+	fetch 1,mem_mouse_key_last		// matrix have ghost key
+	copy pdata,rega
+	rtn
+
+mouse_ghost_key_check_L_BK:
+	and temp,MOUSE_L_BK_BUTTON,pdata
+	beq MOUSE_L_BK_BUTTON,mouse_matrix_cow_more_than_one_key
+	rtn
+mouse_ghost_key_check_M_FW:
+	and temp,MOUSE_M_FW_BUTTON,pdata
+	beq MOUSE_M_FW_BUTTON,mouse_matrix_cow_more_than_one_key
+	rtn
+mouse_ghost_key_check_BK_FW:
+	and temp,MOUSE_BK_FW_BUTTON,pdata
+	beq MOUSE_BK_FW_BUTTON,mouse_matrix_row_more_than_one_key
+	rtn	
+
+mouse_ghost_key_check_LMR:
+	and temp,MOUSE_LMR_BUTTON,pdata	// key LMR press
+	beq MOUSE_LR_BUTTON,mouse_matrix_row_more_than_one_key
+	beq MOUSE_LM_BUTTON,mouse_matrix_row_more_than_one_key
+	beq MOUSE_RM_BUTTON,mouse_matrix_row_more_than_one_key
+	beq MOUSE_LMR_BUTTON,mouse_matrix_row_more_than_one_key
+	rtn
+
+
+mouse_matrix_row_more_than_one_key:
+	jam 1,mem_mouse_matrix_key_row_count
+	rtn
+
+mouse_matrix_cow_more_than_one_key:
+	jam 1,mem_mouse_matrix_key_cow_count
+	rtn
+
+mouse_key_check_once:
+	call mouse_check_key_gpio_once
+	call mouse_check_key_gpio
+	setarg 0x00
+	store 3,mem_mouse_lkey_press_status
+	rtn
+	
+mouse_check_key_gpio:
+	bpatch patch1a_0,mem_patch1a
+	fetch 1,mem_sensor_shutdown_flag
+	ncall mouse_check_key_gpio_once,blank
+	arg 0,rega
+	call mouse_check_lkey_gpio
+	call mouse_check_rkey_gpio
+	call mouse_check_mkey_gpio
+	call mouse_check_bkkey_gpio
+	call mouse_check_fwkey_gpio
+	call mouse_check_customerkey_gpio
+	copy rega,pdata
+	rtn
+
+mouse_check_key_gpio_once:
+	setarg 0x030303
+	store 3,mem_mouse_lkey_press_status
+	rtn
+
+mouse_check_lkey_gpio:
+	jam MOUSE_L_KEY,mem_mouse_key_temp
+	fetcht 1,mem_lbutton_gpio
+	fetch 1,mem_mouse_lkey_press_status
+	call mouse_check_key_connect_gnd
+	store 1,mem_mouse_lkey_press_status
+	rtn
+
+mouse_check_rkey_gpio:
+	jam MOUSE_R_KEY,mem_mouse_key_temp
+	fetcht 1,mem_rbutton_gpio
+	fetch 1,mem_mouse_rkey_press_status
+	call mouse_check_key_connect_gnd
+	store 1,mem_mouse_rkey_press_status
+	rtn
+	
+mouse_check_mkey_gpio:
+	jam MOUSE_M_KEY,mem_mouse_key_temp
+	fetcht 1,mem_mbutton_gpio
+	fetch 1,mem_mouse_mkey_press_status
+	call mouse_check_key_connect_gnd
+	store 1,mem_mouse_mkey_press_status
+	rtn
+
+mouse_check_bkkey_gpio:
+	fetch 1,mem_bk_button_gpio
+	rtneq GPIO_DISABLE
+	jam MOUSE_BK_KEY,mem_mouse_key_temp
+	fetch 1,mem_mouse_bkkey_press_status
+	copy pdata,regc
+	fetcht 1,mem_bk_button_gpio
+	fetch 1,mem_matrix_public_gpio
+	beq GPIO_DISABLE,mouse_3io6key_bk_check
+	call gpio_get_bit
+	branch mouse_check_bk_button_connect_gnd,true
+	fetcht 1,mem_matrix_public_gpio
+	call gpio_out_active
+	fetcht 1,mem_bk_button_gpio
+	fetch 1,mem_mouse_bkkey_press_status
+	call mouse_check_key_connect_gnd
+mouse_check_bkkey_gpio_end:	
+	store 1,mem_mouse_bkkey_press_status
+	branch mouse_matrix_public_gpio_reset
+
+mouse_check_bk_button_connect_gnd:
+	fetcht 1,mem_matrix_public_gpio
+	fetch 1,mem_mouse_bkkey_press_status
+	call mouse_check_key_connect_gnd
+	branch mouse_check_bkkey_gpio_end
+
+mouse_3io6key_bk_check:
+	call mouse_3io6key_check
+	store 1,mem_mouse_bkkey_press_status
+	fetcht 1,mem_bk_button_gpio
+	branch mouse_gpio_config_input_pu
+
+
+mouse_check_fwkey_gpio:
+	fetch 1,mem_fw_button_gpio
+	rtneq GPIO_DISABLE
+	jam MOUSE_FW_KEY,mem_mouse_key_temp
+	fetch 1,mem_mouse_fwkey_press_status
+	copy pdata,regc
+	fetcht 1,mem_fw_button_gpio
+	fetch 1,mem_matrix_public_gpio
+	beq GPIO_DISABLE,mouse_3io6key_fw_check
+	call gpio_get_bit
+	branch mouse_check_fw_button_connect_gnd,true
+	fetcht 1,mem_matrix_public_gpio
+	call gpio_out_active
+	fetcht 1,mem_fw_button_gpio
+	fetch 1,mem_mouse_fwkey_press_status
+	call mouse_check_key_connect_gnd
+mouse_check_fwkey_gpio_end:	
+	store 1,mem_mouse_fwkey_press_status
+	branch mouse_matrix_public_gpio_reset
+
+mouse_check_fw_button_connect_gnd:
+	fetcht 1,mem_matrix_public_gpio
+	fetch 1,mem_mouse_fwkey_press_status
+	call mouse_check_key_connect_gnd
+	branch mouse_check_fwkey_gpio_end	
+
+mouse_3io6key_fw_check:
+	call mouse_3io6key_check
+	store 1,mem_mouse_fwkey_press_status
+	fetcht 1,mem_fw_button_gpio
+	branch mouse_gpio_config_input_pu
+
+
+mouse_matrix_public_gpio_reset:	
+	fetcht 1,mem_matrix_public_gpio
+	branch mouse_gpio_config_input_pu
+
+mouse_check_customerkey_gpio:
+	jam 0,mem_customer_key
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit0 MOUSE_ENABLE_KEYBOARD
+	fetch 1,mem_customer_key_gpio
+	rtneq GPIO_DISABLE
+	jam MOUSE_CUSTOMER_KEY,mem_mouse_key_temp
+	fetcht 1,mem_customer_key_gpio
+	fetch 1,mem_mouse_customerkey_press_status
+	call mouse_check_key_connect_gnd
+	store 1,mem_mouse_customerkey_press_status
+	copy rega,pdata
+	bbit1 MOUSE_CUSTOMER_KEY,mouse_customerkey_press
+	call mouse_customerkey_release
+mouse_check_customerkey_gpio_exit:
+	fetch 1,mem_customer_data_trigger
+	store 1,mem_customer_data_trigger_last
+	rtn
+
+
+mouse_customerkey_press:
+	jam 1,mem_customer_data_trigger
+	call mouse_customer_key_need_send
+	branch mouse_check_customerkey_gpio_exit
+
+mouse_customerkey_release:
+	jam 0,mem_customer_data_trigger
+	fetch 1,mem_customer_data_trigger_last
+	rtn blank
+mouse_customer_key_need_send:	
+	jam 1,mem_customer_key
+	rtn	
+
+
+mouse_check_matrix_button_connect_gnd:	
+	call gpio_get_bit
+	fetcht 1,mem_mouse_key_temp
+	copy temp,queue	
+	branch  mouse_key_press,true
+	branch mouse_key_release
+
+mouse_check_key_connect_gnd:	
+	lshift pdata,pdata
+	copy pdata,regb
+	call gpio_get_bit
+	setflag true,0,regb
+	and regb,0x07,pdata
+	fetcht 1,mem_mouse_key_temp
+	copy temp,queue
+	beq 0x07,mouse_key_press		//  about 17~22ms three times
+	beq 0x00,mouse_key_release
+	rtn
+
+mouse_key_release:
+	qset0 rega
+	rtn		
+
+mouse_key_press:
+	qset1 rega
+	rtn
+
+mouse_3io6key_check:
+	bpatch patch1a_1,mem_patch1a
+	copy regc,pdata
+	store 1,mem_mouse_key_status
+	lshift pdata,pdata
+	copy pdata,regb
+	copy temp,regc
+	call mouse_gpio_config_input_pd
+	copy regc,temp
+	call gpio_get_bit
+	nsetflag true,0,regb
+	call mouse_check_press
+	branch mouse_check_key_connect_gnd+4
+
+mouse_check_press:
+	fetcht 1,mem_mouse_key_status
+	and_into 0x01,temp
+	and regb,0x01,pdata
+	isub temp,null
+	nbranch mouse_current_mult_update,zero
+	rtn
+	
+/*************************key***************************************/
+
+/**********************sensor******************************/	
+mouse_init_sunt:
+	bpatch patch1a_2,mem_patch1a
+	call mouse_sensor_spi_init
+	rtn wake
+mouse_init_sensor_wakeup:	
+	call mouse_sensor_poweron
+mouse_init_sensor:
+	call mouse_read_sensor_id
+	beq P32XX_ID1,mouse_init_p32xx_id2_judge
+	beq P3065_ID1,mouse_init_p3065
+	beq PKA8G2_ID1,mouse_ka8g2_id2_judge
+	call mouse_twspi_reset
+	nop 6900
+	branch mouse_init_sensor
+mouse_twspi_reset:
+	fetch 1,mem_mouse_sensor_sclk_gpio
+	call twspi_reset 
+	branch mouse_spid_init_pin
+
+mouse_read_sensor_id:
+	setarg PAN_REG_PID_H
+	call twspi_read
+	store 1,mem_sensor_id2
+	setarg PAN_REG_PID_L
+	call twspi_read
+	store 1,mem_sensor_id1
+	rtn
+
+	
+
+mouse_init_p32xx_id2_judge:
+	fetch 1,mem_sensor_id2
+	beq P_MX8650,mouse_mx8650_init_param
+	beq P8009_ID2,mouse_8009_init_param
+	beq P3205_TJ3T_ID2,mouse_3205_3t_init_param
+	beq P3204_TJ3L_ID2,mouse_3204_3l_init_param
+	beq P3212_ID2,mouse_3212_init_param
+	beq PKA8_ID2,mouse_ka8_init_param_check
+	beq P6520A_ID2,mouse_p6520_init_param
+	branch mouse_init_sensor
+	
+mouse_mx8650_init_param:
+	jam MX8650,mem_config_sensor_type
+	call mouse_sensor_reset
+	call delay_10ms
+	arg mem_sensor_8650_init,regc
+	call mouse_sensor_wr_seq
+	branch mouse_dpi_config
+
+mouse_8009_init_param:
+	setarg 0x16
+	call twspi_read
+	sub pdata,0xbd,null 
+	nbranch mouse_init_sunt,zero
+	setarg 0x19
+	call twspi_read
+	sub pdata,0x55,null 
+	nbranch mouse_init_sunt,zero
+	setarg 0x1b
+	call twspi_read
+	sub pdata,0x1d,null 
+	nbranch mouse_init_sunt,zero
+	jam P8009,mem_config_sensor_type
+	arg mem_sensor_8009_init,regc
+	branch mouse_sensor_wr_seq
+
+mouse_3205_3t_init_param:
+	jam P3205,mem_config_sensor_type
+	arg mem_sensor_3205_init,regc
+	call mouse_sensor_wr_seq
+	arg mem_sensor_32xx_init,regc
+	call mouse_sensor_wr_seq
+	setarg 0x0943
+	call twspi_write
+	arg mem_sensor_32xx_init_1,regc
+	branch mouse_sensor_wr_seq	
+
+mouse_3204_3l_init_param:
+	jam P3204,mem_config_sensor_type
+	arg mem_sensor_3204_init,regc
+	call mouse_sensor_wr_seq
+	arg mem_sensor_32xx_init,regc
+	call mouse_sensor_wr_seq
+	arg mem_sensor_32xx_init_1,regc
+	branch mouse_sensor_wr_seq	
+
+mouse_3212_init_param:
+	jam P3212,mem_config_sensor_type
+	arg mem_sensor_3212_init,regc
+	branch mouse_sensor_wr_seq
+
+mouse_ka8_init_param_check:	
+	call mouse_sensor_disable_wp
+	setarg 0x9a5b
+	call twspi_write
+	setarg 0x0d
+	call twspi_read
+	sub pdata,0x12,null
+	branch mouse_ka8ul_init_param,zero
+	sub pdata,0x0a,null
+	nbranch mouse_ka8hd_sensor_judge,zero
+	setarg 0x0e
+	call twspi_read
+	sub pdata,0xe5,null
+	nbranch mouse_init_sensor,zero
+	setarg 0x10
+	call twspi_read
+	sub pdata,0xa5,null
+	branch mouse_ka8ul_init_param,zero
+	call mouse_enable_ka8_sensor_wp
+mouse_ka8_init_param:
+	jam KA8,mem_config_sensor_type	
+	rtn
+mouse_ka8ul_init_param:
+	jam KA8_UL,mem_config_sensor_type	
+	arg mem_sensor_ka8ul_init,regc
+	branch mouse_sensor_wr_seq
+mouse_ka8hd_sensor_judge:
+	sub pdata,0x10,null
+	nbranch mouse_init_sensor,zero
+	setarg 0x0e
+	call twspi_read
+	sub pdata,0xc5,null
+	nbranch mouse_init_sensor,zero
+	setarg 0x10
+	call twspi_read
+	sub pdata,0x38,null
+	nbranch mouse_init_sensor,zero
+mouse_ka8hd_init_param:
+	call mouse_enable_ka8_sensor_wp
+	jam KA8_HD,mem_config_sensor_type
+	rtn
+mouse_enable_ka8_sensor_wp:
+	setarg 0x005b
+	call twspi_write
+	branch mouse_sensor_enable_wp
+	
+mouse_p6520_init_param:
+	jam P6520,mem_config_sensor_type
+	arg mem_sensor_p6520_init,regc
+	branch mouse_sensor_wr_seq
+	
+mouse_init_p3065:
+	call mouse_sensor_poweron
+	fetch 1,mem_sensor_id2
+	beq P3065_XY_ID2,mouse_p3065xy_init_param
+	beq P3065_ID2,mouse_p3065_init_param
+	branch mouse_init_sensor
+	
+mouse_p3065_init_param:	
+	jam P3065,mem_config_sensor_type
+	rtn
+
+mouse_p3065xy_init_param:
+	jam P3065_XY,mem_config_sensor_type
+	rtn
+	
+mouse_ka8g2_id2_judge:
+	call mouse_sensor_poweron
+	fetch 1,mem_sensor_id2
+	beq PKA8G2_ID2,mouse_ka8g2_init_param
+	branch mouse_init_p32xx_id2_judge
+mouse_ka8g2_init_param:
+	jam KA8G2,mem_config_sensor_type
+	arg mem_sensor_ka8g2_init,regc
+	branch mouse_sensor_wr_seq
+	
+mouse_sensor_enable_wp:
+	setarg 0x0009
+	branch twspi_write
+mouse_sensor_disable_wp:
+	setarg 0x5a09
+	branch twspi_write
+
+mouse_sensor_wr_seq:
+	ifetch 2,regc
+	arg 0xffff,temp
+	isub temp,null
+	rtn zero
+	call twspi_write
+	increase 2,regc
+	branch mouse_sensor_wr_seq
+
+mouse_sensor_reset:
+	setarg 0x8006		// reset to factory settings
+	call twspi_write
+	nop 12000
+	rtn
+	
+mouse_sensor_poweron:
+	bpatch patch1a_3,mem_patch1a
+	call mouse_sensor_spi_init
+	call mouse_sensor_reset
+	arg mem_sensor_poweron_init,regc
+	call mouse_sensor_wr_seq
+	branch mouse_dpi_config
+
+mouse_sensor_powerdown:
+	call mouse_init_sunt
+	call mouse_sensor_spi_init
+	setarg 0x0806
+	branch twspi_write
+/*********sensor init*************/	
+
+
+
+/*********sensor motion*************/
+mouse_check_sensor_data:
+	fetch 1,mem_spi_write_flash_sm
+	rtnne FLASH_SM_NO_BUYS
+	fetch 1,mem_config_sensor_type
+	beq P3205,mouse_p32xx_sensor_motion
+	beq P3065,mouse_p32xx_sensor_motion
+	beq KA8,mouse_p32xx_sensor_motion
+	beq P3204,mouse_p32xx_sensor_motion
+	beq P3212,mouse_p3212_sensor_motion
+	beq P3065_xy,mouse_p32xx_sensor_motion
+	beq P8009,mouse_p8009_sensor_motion	
+	beq KA8G2,mouse_pka8g2_sensor_motion
+	branch mouse_p32xx_sensor_motion
+
+
+mouse_p32xx_sensor_motion:
+	call mouse_clear_sensor_data
+	disable user
+	fetch 1,mem_sensor_motion_gpio
+	beq GPIO_DISABLE,mouse_p32xx_sensor_motion_2
+	fetcht 1,mem_sensor_motion_gpio
+	call gpio_get_bit
+	nrtn true
+mouse_p32xx_sensor_motion_2:
+	setarg PAN_REG_PID_L
+	call twspi_read
+	bne P32XX_ID1,mouse_p3065_judge   
+mouse_p32xx_sensor_motion_1:
+	setarg PAN_REG_MOTION_STAUS
+	call twspi_read
+	rtnbit0 7
+	call mouse_read_sensor_common
+	fetch 1,mem_mouse_x
+	call mouse_data_extsign
+	store 2,mem_mouse_x
+	fetch 1,mem_mouse_y
+	call mouse_data_extsign
+	store 2,mem_mouse_y
+	fetch 1,mem_config_sensor_angle
+	beq MOUSE_6CLK_ANGLE,mouse_motion32xx_6clk_direction_selection
+	beq MOUSE_9CLK_ANGLE,mouse_motion32xx_9clk_direction_selection
+	beq MOUSE_12CLK_ANGLE,mouse_motion32xx_12clk_direction_selection
+	beq MOUSE_3CLK_ANGLE,mouse_motion32xx_3clk_direction_selection
+	rtn
+
+mouse_p3065_judge:
+	beq P3065_ID1,mouse_p32xx_sensor_motion_1
+	branch mouse_twspi_reset
+	
+mouse_motion32xx_6clk_direction_selection:
+	call mouse_motion_6clk_direction_dispose
+	branch mouse_sensor_sdio_low
+mouse_motion32xx_9clk_direction_selection:
+	call mouse_motion_9clk_direction_dispose
+	branch mouse_sensor_sdio_low
+mouse_motion32xx_12clk_direction_selection:
+	call mouse_motion_12clk_direction_dispose
+	branch mouse_sensor_sdio_low
+mouse_motion32xx_3clk_direction_selection:
+	call mouse_motion_3clk_direction_dispose
+	branch mouse_sensor_sdio_low
+
+
+	
+mouse_p3212_sensor_motion:
+	call mouse_clear_sensor_data
+	fetch 1,mem_sensor_motion_gpio
+	beq GPIO_DISABLE,mouse_p3212_sensor_motion_1
+	fetcht 1,mem_sensor_motion_gpio
+	call gpio_get_bit
+	nrtn true
+mouse_p3212_sensor_motion_1:	
+	setarg PAN_REG_PID_L
+	call twspi_read
+	bne P32XX_ID1,mouse_twspi_reset
+mouse_p3212_sensor_motion_2:
+	setarg PAN_REG_MOTION_STAUS
+	call twspi_read
+	rtnbit0 7
+	call mouse_read_sensor_common
+	call mouse_read_3212sensor_xy_high
+	store 1,mem_mouse_xy_h
+	rshift4 pdata,pdata
+	call mouse_data_extsign_bit3
+	store 1,mem_mouse_x+1
+	fetch 1,mem_mouse_xy_h
+	and pdata,0x0f,pdata
+	call mouse_data_extsign_bit3
+	store 1,mem_mouse_y+1
+	fetch 1,mem_config_sensor_angle
+	beq MOUSE_6CLK_ANGLE,mouse_motion_6clk_direction_dispose
+	beq MOUSE_9CLK_ANGLE,mouse_motion_9clk_direction_dispose
+	beq MOUSE_12CLK_ANGLE,mouse_motion_12clk_direction_dispose
+	beq MOUSE_3CLK_ANGLE,mouse_motion_3clk_direction_dispose
+	rtn
+
+mouse_read_3212sensor_xy_high:
+	setarg 0x12
+	branch twspi_read
+
+mouse_pka8g2_sensor_motion:
+	call mouse_clear_sensor_data
+	fetch 1,mem_sensor_motion_gpio
+	beq GPIO_DISABLE,mouse_pka8g2_sensor_motion_1
+	fetcht 1,mem_sensor_motion_gpio
+	call gpio_get_bit
+	nrtn true
+mouse_pka8g2_sensor_motion_1:
+	branch mouse_p3212_sensor_motion_2
+
+
+mouse_p8009_sensor_motion:
+	call mouse_clear_sensor_data
+	disable user
+	setarg PAN_REG_MOTION_STAUS
+	call twspi_read
+	rtnbit0 7
+	setarg PAN_REG_OPRATION_STATE
+	call twspi_read
+	branch mouse_p32xx_sensor_motion_1+3,blank
+	setarg 0
+	store 6,mem_mouse_x
+	rtn
+
+
+
+mouse_sensor_set_angle:
+	fetch 1,mem_sensor_angle_default
+	store 1,mem_config_sensor_angle
+	fetch 1,mem_select_sensor_angle_gpio
+	rtneq GPIO_DISABLE
+	fetcht 1,mem_select_sensor_angle_gpio
+	call mouse_gpio_config_input_pu
+	fetcht 1,mem_select_sensor_angle_gpio
+	call gpio_get_bit
+	call mouse_sensor_switch_angle,true
+	branch mouse_gpio_config_input_pd
+mouse_sensor_switch_angle:
+	fetch 1,mem_sensor_angle_switch
+	store 1,mem_config_sensor_angle
+	rtn
+	
+mouse_motion_6clk_direction_dispose:
+	fetch 2,mem_mouse_x
+	sub pdata,0,pdata
+	store 2,mem_mouse_x
+	branch enable_user
+mouse_motion_12clk_direction_dispose:
+	fetch 2,mem_mouse_y
+	sub pdata,0,pdata
+	store 2,mem_mouse_y
+	branch enable_user
+mouse_motion_9clk_direction_dispose:
+	fetch 2,mem_mouse_y
+	sub pdata,0,pdata
+	store 2,mem_mouse_y
+	fetch 2,mem_mouse_x
+	sub pdata,0,pdata
+	store 2,mem_mouse_x
+	call mouse_sensor_data_swap_places
+	branch enable_user
+mouse_motion_3clk_direction_dispose:
+	call mouse_sensor_data_swap_places
+	branch enable_user
+
+mouse_sensor_data_swap_places:
+	fetch 2, mem_mouse_y
+	fetcht 2,mem_mouse_x
+	store 2,mem_mouse_x
+	storet 2,mem_mouse_y
+	rtn
+
+	
+mouse_clear_sensor_data:
+	fetch 1,mem_mouse_move_flag
+	call mouse_read_sensor_common,blank
+	jam 1,mem_mouse_move_flag
+	rtn
+
+mouse_clear_sensor_data_by_reset:
+	jam 1,mem_mouse_clear_sensor_data_flag
+	call le_set_config_more_data
+mouse_init_sensor_reset:
+	branch mouse_init_sunt
+
+mouse_data_xy_release:
+	fetch 1,mem_sensor_motion_gpio
+	rtnne GPIO_DISABLE
+	fetch 1,mem_mouse_long_mult_flag
+	rtnne 1
+	setarg 0
+	store 1,mem_mouse_long_mult_flag
+	store 4,mem_mouse_x
+	branch mouse_init_sensor_reset
+
+mouse_data_extsign:
+	rtnbit0 7
+	arg 0xff00,temp
+	ior temp,pdata
+	rtn
+
+mouse_data_extsign_bit3:
+	rtnbit0 3
+	arg 0xf0,temp
+	ior temp,pdata
+	rtn
+
+mouse_read_sensor_common:
+	arg PAN_REG_DELTA_X,pdata
+	call twspi_read
+	store 2,mem_mouse_x
+	arg PAN_REG_DELTA_Y,pdata
+	call twspi_read
+	store 2,mem_mouse_y
+	rtn
+
+	/* sdio high will cost extra 9mA */
+mouse_sensor_sdio_low:
+	fetcht 1,mem_mouse_sensor_sdio_gpio
+	call gpio_get_bit
+	rtn true
+	setarg 0x0a
+	call twspi_read
+	nop 1000
+	branch mouse_sensor_sdio_low
+
+mouse_set_sdio_high:		// make sdio high to make 100uA less
+	setarg 0x8100
+	branch twspi_write
+	
+/****************************sensor*************************/
+
+/*******************mouse fast connect******************/
+mouse_buletooth_fast_conn_init:
+	jam 0xff,mem_mouse_bluetooth_fast_conn_flag
+	fetch 1,mem_mouse_bluetooth_type
+	bbit1 MODE_4_MOUSE,mouse_ble_fast_conn_init
+	bbit1 MODE_3_MOUSE,mouse_bt_fast_conn_init
+mouse_ble_fast_conn_init:	
+	jam 0x34,mem_xrecord_mode
+	setarg 0x0f0f0f
+	store 3,mem_le_lap
+	store 3,mem_le_lap+3
+	branch mouse_start_reconnect
+
+mouse_bt_fast_conn_init:
+	jam 0x33,mem_xrecord_mode
+	arg mem_mouse_compare_addr_ff,contr
+	call mouse_load_bt_device
+	branch mouse_start_reconnect
+
+mouse_buletooth_fast_conn_end:
+	bpatch patch1a_4,mem_patch1a
+	call mouse_select_reconn_device
+	call mouse_bluetooth_fast_conn_disable
+	fetch 1,mem_device_flag
+	beq MODE_BT_DEVICE1,mouse_device1_check_auto_discover
+	beq MODE_BT_DEVICE2,mouse_device2_check_auto_discover
+	rtn
+mouse_device1_check_auto_discover:
+	fetch 6,mem_device1_addr
+	branch mouse_device_check_auto_discover
+mouse_device2_check_auto_discover:
+	fetch 6,mem_device2_addr
+mouse_device_check_auto_discover:	
+	fetcht 6,mem_mouse_compare_addr_ff
+	isub temp,null
+	branch mouse_start_discovery ,zero
+	branch mouse_start_reconnect_device
+
+mouse_bt_fast_conn_send_device_name:
+	call mouse_bluetooth_fast_conn_disable
+	fetch 1,mem_local_name_length
+	increase 3,pdata
+	copy pdata,rega
+	call hid_malloc_tx_buff
+	fetch 2,mem_hid_int_remote_cid
+	istore 2,contw
+	setarg 0x04a1		// report id = 4
+	istore 2,contw
+	fetch 1,mem_local_name_length
+	increase 1,pdata
+	copy pdata,loopcnt
+	arg mem_local_name_length,contr
+	branch memcpy
+
+mouse_bluetooth_fast_conn_disable:
+	jam 0x5a,mem_mouse_bluetooth_fast_conn_flag
+	rtn	
+/*******************mouse fast connect******************/
+
+mouse_stop_bluetooth_mode:
+	fetch 2,mem_ui_state_map
+	bbit1 UI_STATE_BT_RECONNECT,mouse_cancel_reconnect
+	bbit1 UI_STATE_BLE_CONNECTED,app_ble_disconnect
+	bbit1 UI_STATE_BT_CONNECTED,app_bt_disconnect
+	branch mouse_stop_discovery
+
+mouse_disconnect:
+	setarg 0
+	store 2,mem_mouse_no_data_timer
+	fetch 2,mem_ui_state_map
+	bbit1 UI_STATE_BLE_CONNECTED,app_ble_disconnect
+	fetch 2,mem_ui_state_map
+	bbit1 UI_STATE_BT_CONNECTED,app_bt_disconnect
+	rtn
+	
+mouse_cancel_reconnect:
+	call mouse_bt_cannel_reconn_enable
+	branch check_51cmd_bb_reconn_cancel
+
+mouse_check_125Hz:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit0 MOUSE_ENABLE_BT_125Hz
+mouse_bluetooth_125Hz:
+	nbranch mouse_bluetooth_125hz_clear,user
+	fetch 1,mem_bluetooth_125hz_cnt
+	increase 1,pdata
+	and_into 0x0f,pdata
+	store 1,mem_bluetooth_125hz_cnt
+	nrtn blank
+mouse_bluetooth_125hz_clear:
+	jam 0,mem_bluetooth_125hz_cnt
+	disable user
+	rtn
+
+
+mouse_current_mult_update:
+	fetch 1,mem_sensor_motion_gpio
+	rtnne GPIO_DISABLE
+	jam 0,mem_lpm_mult
+	jam 30,mem_mouse_current_mult_timer
+	rtn
+
+
+mouse_priority_bb_event:	
+	bpatch patch1a_5,mem_patch1a
+	copy regc,pdata
+	beq BT_EVT_LE_CONNECTED,mouse_le_bb_event_connected
+	beq BT_EVT_BB_CONNECTED,mouse_bb_event_connected
+	beq BT_EVT_LE_DISCONNECTED,mouse_le_bb_disconnected
+	beq BT_EVT_BB_DISCONNECTED,mouse_bb_disconnected
+	beq BT_EVT_SETUP_COMPLETE,mouse_bt_event_setup_complete
+	beq BT_EVT_BUTTON_LONG_PRESSED,mouse_bb_event_discovery_btn
+	beq BT_EVT_HID_HANDSHAKE,mouse_bt_hid_handshake
+	beq BT_EVT_HID_CONNECTED,app_hid_connected
+	beq BT_EVT_RECONN_FAILED,mouse_bb_event_reconn_failed
+	beq BT_EVT_RECONN_PAGE_TIMEOUT,mouse_bb_event_reconn_timeout
+	beq BT_EVT_SWITCH_NOT_ACCEPT,app_bt_role_switch	
+	beq BT_EVT_SWITCH_SUCCESS_MASTER,mouse_enter_sniff_check
+	beq BT_EVT_SNIFF_NOT_ACCEPT,mouse_sniff_not_accept
+	beq BT_EVT_PINCODE_REQ,mouse_bb_event_pincode
+	beq BT_EVT_REMOTE_UNSNIFF,app_start_auto_sniff
+	beq BT_EVT_LE_PAIRING_SUCCESS,mouse_le_pairing_success
+	beq BT_EVT_LE_ENC_INFO,mouse_le_enc_info
+	beq BT_EVT_LE_START_ENC,mouse_le_ll_start_encryt
+	beq BT_EVT_LE_PAIRING_COMPLETE,mouse_le_pairing_complete
+	beq BT_EVT_LE_PARSE_CONN_PAPA_UPDATE_RSP,mouse_le_conn_param_update_rsp_recieved
+	beq BT_EVT_VIRTUAL_CABLE_UNPLUG,mouse_irtual_cable_unplug
+	beq BT_EVT_24G_PAIRING_COMPLETE,mouse_24g_pairing_complete
+	beq BT_EVT_24G_ATTEMPT_FAIL,mouse_24g_attempt_fail
+	beq BT_EVT_24G_ATTEMPT_SUCCESS,mouse_24g_attempt_success
+	beq BT_EVT_LE_PARSE_CONN_PARAM_ACCEPTED,mouse_le_parse_conn_param_accepted
+	rtn
+
+/***************************le*************************/
+mouse_le_bb_event_connected:
+	jam 0,mem_mouse_long_mult_flag
+	call mouse_init_sensor_reset
+	jam 1,mem_mouse_le_bb_connected_flag
+	call mouse_24g_first_store_reconn_info
+	fetch 1,mem_mouse_le_reconnect_flag
+	nbranch mouse_le_bb_event_connected_next,blank
+	jam 0x14,mem_mouse_send_secutiry_request_timer
+mouse_le_bb_event_connected_next:
+	fetch APP_DISC_RSN_SIZE,mem_app_disconn_reason_flag
+	set0 APP_DISC_BY_BUTTON ,pdata
+	store APP_DISC_RSN_SIZE,mem_app_disconn_reason_flag
+	jam 0,mem_mouse_direct_timer
+	fetch 2,mem_le_battery_level_updata_timer_init
+	store 2,mem_le_battery_level_updata_timer
+	call mouse_no_data_timer_init
+	branch mouse_stop_discovery
+
+mouse_le_bb_disconnected:
+	jam 0,mem_mouse_le_bb_connected_flag
+	setarg LE_INTERVAL_7_5MS
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit1 MOUSE_ENABLE_BT_125Hz,mouse_le_bb_disconnected_next
+	setarg LE_INTERVAL_8_75MS
+mouse_le_bb_disconnected_next:	
+	store 2,mem_le_interval_min
+	store 2,mem_le_interval_min+2
+	jam LE_LPM_ENABLE,mem_mouse_le_conn_param_reject
+	jam 0,mem_mouse_clear_sensor_data_flag
+	call le_clr_config_more_data
+	branch mouse_bb_disconnected
+
+mouse_le_pairing_success:
+	arg LL_PAIRING_SUCCESS_FLAG,queue
+	branch mouse_le_enable_connect_flag
+
+mouse_le_enc_info:
+mouse_updata_le_param:
+	jam BT_CMD_LE_UPDATE_CONN,mem_fifo_temp
+	branch ui_ipc_send_cmd
+	
+mouse_le_ll_start_encryt:
+	fetch 1,mem_mouse_le_reconnect_flag
+	beq 1,mouse_le_ll_reconn_start_encryt
+	branch mouse_le_ll_enable_start_enc_flag
+mouse_le_ll_reconn_start_encryt:
+	call mouse_updata_le_param
+	jam 20,mem_le_start_encrypt_timer
+mouse_le_ll_enable_start_enc_flag:
+	arg LL_START_ENC_FLAG,queue
+	branch mouse_le_enable_connect_flag
+
+mouse_le_enable_connect_flag:
+	fetch 1,mem_le_connect_status_flag
+	qset1 pdata
+	store 1,mem_le_connect_status_flag
+	rtn
+
+mouse_le_pairing_complete:
+	branch app_ble_store_reconn_info
+
+mouse_le_conn_param_update_rsp_recieved:
+	fetch 2,mem_le_l2cap_signaling_conn_param_update_rsp_result
+	rtneq BLE_SIGNALING_CONNECT_PARAMETER_UPDATE_ACCEPTED
+	fetch 1,mem_le_tsniff
+	rshift2 pdata,pdata
+	sub pdata,LE_INTERVAL_15MS,null
+	rtn positive
+	setarg LE_INTERVAL_11_25MS
+	store 2,mem_le_interval_min
+	store 2,mem_le_interval_min+2
+	call mouse_updata_le_param
+mouse_le_conn_param_lpm_disable:
+	jam LE_LPM_DISABLE,mem_mouse_le_conn_param_reject
+	rtn
+
+mouse_le_conn_param_lpm_enable:
+	jam LE_LPM_ENABLE,mem_mouse_le_conn_param_reject
+	rtn
+
+mouse_le_bb_event_connect_complete:
+	fetch 1,mem_mouse_le_reconnect_flag
+	nrtn blank
+	fetch 1,mem_le_att_handle
+	sub pdata,34,pdata
+	nrtn zero
+	jam 0,mem_le_start_encrypt_timer
+mouse_le_write_enable:	
+	arg WRITE_REQ_ENABLE_FLAG,queue
+	branch mouse_le_enable_connect_flag
+
+mouse_le_parse_conn_param_accepted:
+	fetch 1,mem_le_new_conninterval
+	sub pdata,LE_INTERVAL_15MS,null
+	nbranch mouse_le_conn_param_lpm_disable,positive
+	fetch 1,mem_le_new_connslavelatency
+	fetcht 1,mem_lpm_mult_init
+	isub temp,null
+	branch mouse_le_lpm_mult_reinit,positive
+	fetch 1,mem_le_new_connslavelatency
+	store 1,mem_lpm_mult
+	branch mouse_le_conn_param_lpm_enable
+mouse_le_lpm_mult_reinit:
+	fetch 1,mem_lpm_mult_init
+	store 1,mem_lpm_mult
+	branch mouse_le_conn_param_lpm_enable
+	
+/*
+mouse_le_disable_connect_flag:
+	fetch 1,mem_le_connect_status_flag
+	qset0 pdata
+	store 1,mem_le_connect_status_flag
+	rtn
+*/
+mouse_le_clean_connect_flag:
+	jam 0,mem_le_connect_status_flag
+	rtn
+
+/*
+mouse_le_reconn_write_enable_timer_reinit:
+	fetch 1,mem_mouse_le_reconnect_flag
+	rtn blank
+	fetch 1,mem_le_connect_status_flag
+	and pdata,0x03,pdata
+	rtneq 0x03
+	jam 2,mem_le_start_encrypt_timer
+	rtn
+*/
+mouse_le:
+	bpatch patch1a_6,mem_patch1a
+	call le_fifo_check_nearly_full
+	nrtn blank
+	fetch 1,mem_mouse_bluetooth_fast_conn_flag
+	beq 0xff,mouse_le_next
+	fetch 1,mem_le_connect_status_flag
+	and pdata,0x03,pdata
+	rtnne 0x03
+mouse_le_next:	
+	fetch 1,mem_mouse_clear_sensor_data_flag
+	call mouse_clear_sensor_data_by_reset,blank
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit1 MOUSE_24G_PAIRING_FLAG,mouse_le_send_empty_packet
+	bbit1 MOUSE_SELECT_DEVICE_FLAG,mouse_le_send_empty_packet
+	bbit1 MOUSE_BT_DISCOVERY_BUTTON_DOWN_FLAG,mouse_le_send_empty_packet
+	bbit1 MOUSE_BT_DISCOVERY_BUTTON_LONG_DOWN_FLAG,mouse_le_send_empty_packet
+	call mouse_motion
+	call mouse_check_125Hz
+	nrtn user
+	call mouse_current_mult_update
+	call mouse_data_xy_release
+	call mouse_wheel_trigger
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit0 MOUSE_ENABLE_KEYBOARD,mouse_le_send_mouse_data
+	fetch 1,mem_customer_key
+	beq 1,mouse_le_send_keyboard_package_data		
+mouse_le_send_mouse_data:
+	branch mouse_fill_mouse_data_le
+
+
+mouse_le_send_keyboard_package_data:
+	fetch 1,mem_customer_data_trigger
+	branch mouse_le_release_keyboard_data,blank
+	fetch 8,mem_customer_key_press+1
+mouse_fill_keyboard_package_data_le:
+	store 8,mem_pdatatemp
+	fetch 1,mem_customer_key_press
+	beq KB_MULTIKEY_REPORT_ID,mouse_fill_multimedia_key_data_le
+	beq KB_SYSTEM_CONCTRL_REPORT_ID,mouse_fill_systemctrl_key_data_le
+	jam 8,mem_le_data_len
+	fetcht 2,mem_le_keyboard_handle
+	branch mouse_fill_data_le
+	
+
+mouse_le_release_keyboard_data:
+	fetch 8,mem_customer_key_release+1
+	branch mouse_fill_keyboard_package_data_le
+
+mouse_fill_multimedia_key_data_le:
+	jam 3,mem_le_data_len
+	fetcht 2,mem_le_multimedia_handle
+	branch mouse_fill_data_le
+
+mouse_fill_systemctrl_key_data_le:
+	jam 2,mem_le_data_len
+	fetcht 2,mem_le_systemctrl_handle
+	branch mouse_fill_data_le
+
+mouse_fill_battery_level_le:
+	arg 1,rega
+	fetcht 2,mem_le_battery_level_handle
+	call le_att_malloc_tx_notify
+	fetch 1,mem_le_battery_level_percentage
+	istore 1,contw
+	rtn
+
+
+mouse_le_send_empty_packet:
+	setarg 0
+	store 7,mem_mouse_key
+mouse_fill_mouse_data_le:
+	jam 7,mem_le_data_len
+	fetch 7,mem_mouse_key
+	store 7,mem_pdatatemp
+	fetcht 2,mem_le_notify_handle
+	branch mouse_fill_data_le
+
+mouse_fill_data_le:
+	fetch 1,mem_le_data_len
+	copy pdata,rega
+	call le_att_malloc_tx_notify
+	fetcht 1,mem_le_data_len
+	copy temp,loopcnt
+	arg mem_pdatatemp,contr
+	branch memcpy	
+
+mouse_check_51cmd_adv:
+	jam 0,mem_mouse_le_reconnect_flag
+	fetch 3,mem_le_adv_ind
+	store 3,mem_le_adv_data+4
+	call mouse_le_check_adv_flag
+	setarg ADV_FLAG_BREDR_NOT_SUPPORTED |ADV_FLAG_LIMITED_DISCOVERABLE
+	istore 1,contr
+	arg mem_le_adv_swift_pair,contr
+	call mouse_le_adv_data_update
+	branch check_51cmd_adv
+
+mouse_le_check_adv_flag:
+	arg mem_le_adv_data,rega
+mouse_le_check_adv_flag_loop:
+	ifetch 1,rega	//length
+	rtn blank
+	iadd contr,rega
+	ifetch 1,contr	//type
+	rtneq 0x01
+	branch mouse_le_check_adv_flag_loop
+	
+mouse_le_adv_data_update:
+	arg mem_le_adv_data+11,contw
+	arg 19,loopcnt
+	call memcpy
+	branch le_modified_name_adv
+	
+/***************************le*************************/
+
+
+/***********************bt****************************/	
+mouse_bt_sniff_param_interval_setup:
+	setarg CLASSIC_INTERVAL_7_5MS
+	store 2,mem_sniff_param_interval
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit1 MOUSE_ENABLE_BT_125Hz
+	setarg CLASSIC_INTERVAL_8_75MS
+	store 2,mem_sniff_param_interval
+	rtn
+
+mouse_bb_event_connected:
+	jam 0,mem_mouse_long_mult_flag
+	call mouse_init_sensor_reset
+	call mouse_24g_first_store_reconn_info
+	branch mouse_stop_discovery
+
+mouse_bb_disconnected:
+	jam 0,mem_mouse_enter_sniff_count
+	jam 0,mem_mouse_bt_send_first_package_flag
+	call mouse_bt_sniff_param_interval_setup
+	call mouse_bb_discon_clear_stack
+	fetch APP_DISC_RSN_SIZE,mem_app_disconn_reason
+	bbit1 APP_DISC_BLE,mouse4_0_event_bb_disconn
+	bbit1 APP_DISC_BY_BUTTON,app_disconn_reason_clear
+	bbit1 APP_DISC_AFTER_PAIRING,mouse_event_light_state_pairing
+	bbit1 APP_DISC_AFTER_RECONN,mouse_event_light_state_hibernate
+	bbit1 APP_DISC_AFTER_SNIFF,mouse_event_light_state_hibernate
+	branch mouse_start_discovery
+mouse_bb_discon_clear_stack:
+	setarg 0
+	store 8,mem_wheel_tb_old_pinlevel
+	istore 4,contw             //clean wheel statue
+	jam 0,mem_mouse_move_flag
+	jam APP_HANDSHAKE_NULL,mem_app_handshake_flag
+	jam 0,mem_ltk_exists
+	rtn
+
+mouse4_0_event_bb_disconn:
+	call mouse_le_clean_connect_flag
+	fetch APP_DISC_RSN_SIZE,mem_app_disconn_reason
+	bbit1 APP_DISC_BY_BUTTON,app_disconn_reason_clear
+	branch mouse_app_enter_hibernate
+
+
+mouse_event_light_state_pairing:
+	bbit1 APP_DISC_AFTER_HANDSHAKE,mouse_event_light_state_hibernate
+	bbit1 APP_DISC_AFTER_SNIFF,mouse_event_light_state_hibernate
+	branch mouse_start_discovery
+mouse_event_light_state_hibernate:
+	fetch 2,mem_ui_state_map
+	bbit1 UI_STATE_BTN_DOWN,mouse_start_discovery
+	call app_disconn_reason_clear
+
+	call mouse_key_check_once	//mult_key pair
+	call mouse_commbination_key_process
+	fetch 1,mem_commbination_key_statue
+	beq COMMBINATION_KEY_STATE_DOWN,mouse_delay_enter_hibernata
+	
+	fetch 1,mem_mouse_bluetooth_reconnect_timeout
+	nrtn blank
+	branch mouse_app_enter_hibernate
+
+
+mouse_bt_event_setup_complete:
+	rtn
+
+mouse_bt_send_first_package_timer_init:
+	jam 4,mem_mouse_bt_send_first_package_timer
+	rtn
+
+mouse_bt_hid_handshake:
+	jam APP_HANDSHAKE_DONE,mem_app_handshake_flag
+	call app_lpm_mult_enable
+	call app_bt_store_reconn_info
+	setarg 0
+	store 2,mem_discovery_timeout_timer_count
+	store 1,mem_hid_handshake_timer_count
+	call mouse_bt_send_first_package_timer_init
+	branch app_bt_enter_sniff
+
+mouse_bt_hid_handshake_boot_check:	
+	jam 0,mem_mouse_bt_boot_mode
+	fetch 1,mem_l2cap_rcv_hidtype
+	isolate1 0,pdata
+	rtn true
+	jam 1,mem_mouse_bt_boot_mode	//boot mode
+	rtn
+
+	
+mouse_bb_event_reconn_timeout:
+mouse_bb_event_reconn_failed:
+	fetch 1,mem_mouse_bluetooth_fast_conn_flag
+	beq 0xff,mouse_buletooth_fast_conn_end
+	fetch 2,mem_ui_state_map
+	rtnbit1 UI_STATE_BTN_DOWN
+	rtnbit1 UI_STATE_BT_DISCOVERY
+	rtnbit1 UI_STATE_BLE_ADV
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit1 MOUSE_BT_DISCOVERY_BUTTON_DOWN_FLAG
+	bbit1 MOUSE_ENABLE_BT_RECONNECT_TIMEOUT_ENTER_DISCOVERY,mouse_start_discovery
+	bbit1 MOUSE_ENABLE_24G_FIRST_AUTO_PAIRING,mouse_24g_first_bb_event_reconn_timeout
+	branch mouse_app_enter_hibernate
+
+mouse_enter_sniff_check:
+	fetch 1,mem_mouse_enter_sniff_count
+	rtnne 2
+	jam 0,mem_mouse_enter_sniff_count
+	call mouse_bt_sniff_param_interval_setup
+	call mouse_bt_send_first_package_timer_init
+	branch app_bt_enter_sniff
+
+mouse_sniff_not_accept:
+	fetch 1,mem_mouse_enter_sniff_count
+	rtneq 2
+	increase 1,pdata
+	store 1,mem_mouse_enter_sniff_count
+	jam 0x12,mem_sniff_param_interval	//89Hz
+	call mouse_bt_send_first_package_timer_init
+	branch app_bt_enter_sniff
+
+mouse_bb_event_pincode:
+	call pincode_reinit
+	branch app_bt_set_pincode
+
+mouse_irtual_cable_unplug:
+	setarg 0x01
+	store 6,mem_plap
+	jam REC_3_MODE,mem_record_bt_mode
+	branch mouse_unplug_clean_bdaddr
+
+mouse_irtual_cable_unplug1:
+	setarg -1
+	store 6,mem_plap
+	jam REC_3_MODE,mem_record_bt_mode
+	jam 0xff,mem_mouse_bluetooth_fast_conn_flag
+	call mouse_before_store_reconn_info
+	jam 0xff,mem_device1_type
+	branch mouse_store_device_info_delay
+
+mouse_bt:
+	bpatch patch1a_7,mem_patch1a
+	rtn attempt
+	fetch 1,mem_app_handshake_flag
+	rtn blank
+	call l2cap_malloc_is_fifo_nearly_full
+	nrtn blank
+	fetch 1,mem_mouse_bluetooth_fast_conn_flag
+	beq 0xff,mouse_bt_fast_conn_send_device_name	
+	fetch 1,mem_mouse_clear_sensor_data_flag
+	call mouse_clear_sensor_data_by_reset,blank
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit1 MOUSE_24G_PAIRING_FLAG,mouse_send_empty_data
+	bbit1 MOUSE_SELECT_DEVICE_FLAG,mouse_send_empty_data
+	bbit1 MOUSE_BT_DISCOVERY_BUTTON_DOWN_FLAG,mouse_send_empty_data
+	bbit1 MOUSE_BT_DISCOVERY_BUTTON_LONG_DOWN_FLAG,mouse_send_empty_data
+	call mouse_motion
+	call mouse_check_125Hz
+	nrtn user
+	call mouse_current_mult_update
+	call mouse_data_xy_release
+	call mouse_wheel_trigger
+	fetch 1,mem_mouse_bt_boot_mode
+	beq 1,mouse_send_data_boot_mode	//boot
+	fetch 1,mem_mouse_bt_send_first_package_flag
+	rtn blank
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit0 MOUSE_ENABLE_KEYBOARD,mouse_send_data
+	fetch 1,mem_customer_key
+	beq 1,mouse_bt_send_keyboard_packet
+mouse_send_data:
+	arg 9,rega
+	call hid_malloc_tx_buff
+	fetch 2,mem_hid_int_remote_cid
+	istore 2,contw
+	setarg 0x02a1
+	istore 2,contw
+	fetch 7,mem_mouse_key
+	istore 7,contw
+	rtn
+
+mouse_send_data_boot_mode:
+	fetch 1,mem_mouse_key
+	store 1,mem_mouse_bt_boot_data
+	fetch 1,mem_mouse_x
+	istore 1,contw
+	fetch 1,mem_mouse_y
+	istore 1,contw
+	fetch 2,mem_mouse_z
+	istore 2,contw
+	arg 7,rega
+	call hid_malloc_tx_buff
+	fetch 2,mem_hid_int_remote_cid
+	istore 2,contw
+	setarg 0x02a1		// pid:02  mouse
+	istore 2,contw
+	fetch 5,mem_mouse_bt_boot_data
+	istore 5,contw
+	rtn
+
+mouse_send_empty_data:
+	setarg 0
+	store 7,mem_mouse_key
+	branch mouse_send_data
+
+
+mouse_bt_send_keyboard_packet:
+	fetch 1,mem_customer_data_trigger
+	branch mouse_bt_release_keyboard_data,blank
+	fetch 8,mem_customer_key_press+1
+mouse_bt_send_keyboard_data:
+	store 8,mem_pdatatemp
+	fetch 1,mem_customer_key_press
+	beq KB_MULTIKEY_REPORT_ID,mouse_bt_send_multimedia_key_data
+	beq KB_SYSTEM_CONCTRL_REPORT_ID,mouse_bt_send_systemctrl_key_data
+	arg 10,rega
+	call hid_malloc_tx_buff
+	fetch 2,mem_hid_int_remote_cid
+	istore 2,contw
+	setarg 0x01a1		// pid:01  standard key
+	istore 2,contw
+	fetch 8,mem_pdatatemp
+	istore 8,contw
+	rtn
+
+mouse_bt_send_multimedia_key_data:
+	arg 4,rega
+	call hid_malloc_tx_buff
+	fetch 2,mem_hid_int_remote_cid
+	istore 2,contw
+	setarg 0x03a1		// pid:03  multimedia key
+	istore 2,contw
+	fetch 2,mem_pdatatemp
+	istore 2,contw
+	rtn	
+
+mouse_bt_send_systemctrl_key_data:
+	arg 3,rega
+	call hid_malloc_tx_buff
+	fetch 2,mem_hid_int_remote_cid
+	istore 2,contw
+	setarg 0x04a1		// pid:04  systemctrl key	
+	istore 2,contw
+	fetch 1,mem_pdatatemp
+	istore 1,contw
+	rtn		
+
+mouse_bt_release_keyboard_data:
+	fetch 8,mem_customer_key_release+1
+	branch mouse_bt_send_keyboard_data	
+/*******************bt****************************/
+
+
+
+/********************mouse 100ms timer*****************/
+mouse_bb_event_timer:
+	bpatch patch1b_0,mem_patch1b
+	call mouse_adc_read
+	call mouse_low_voltage_led_timer
+	//24g
+	call g24_pair_timeout_timer
+	call g24_reconn_timeout_timer
+	call mouse_24g_long_sleep_param_update_timer
+	//led
+	call mouse_device_poweron_timer
+	call mouse_dpi_led_blink_delay_timer
+	//poll
+	call mouse_dpi_key_check_long_press
+	call mouse_bt_discovery_check
+	call mouse_commbination_key_process
+	call mouse_check_discovery_timeout_timer
+	//ble
+	call mouse_check_direct_timeout_timer
+	call mouse_le_enable_att_list_timer
+	call mouse_le_battery_updata_timer
+	call mouse_le_send_smp_security_request_timer
+	//bt
+	call mouse_check_hid_handshake_timer
+	call mouse_bt_check_sniff_req_timeout_timer
+	call mouse_check_reconnect_delay_long_sleep		//delete 3.0,reconnect fail
+	call mouse_current_mult_update_timer
+	call mouse_wheel_trigger_timer
+	call mouse_store_information_delay_timer
+	branch mouse_check_no_data_timeout_timer
+
+
+
+
+mouse_bt_discovery_check:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit1 MOUSE_ENABLE_PB_BUTTON_LONG_PRESS_DISCONVERY,mouse_bt_discovery_by_pb_button
+	rtn
+
+mouse_bt_discovery_by_pb_button:
+	fetch 1,mem_select_device_button_statue
+	rtnne PB_BUTTON_STATE_DOWN
+	arg mem_bt_discovery_count,regc
+	arg mouse_long_button_bt_discovery,regb
+	branch timer_single_step
+		
+mouse_long_button_bt_discovery:
+	fetch 1,mem_device_flag
+	rtneq MODE_24G_DEVICE
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit1 MOUSE_BT_DISCOVERY_BUTTON_LONG_DOWN_FLAG
+	arg MOUSE_BT_DISCOVERY_BUTTON_LONG_DOWN_FLAG,queue
+	call mouse_enable_function_flag
+	call app_evt_button_long_pressed
+	branch mouse_bb_event_discovery_btn
+
+		
+mouse_commbination_key_process:
+	fetch 1,mem_device_flag
+	beq MODE_24G_DEVICE,mouse_24g_commbination_key_process
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit0 MOUSE_ENABLE_COMMBINATION_KEY_BY_BT_DISCOVERY
+	fetcht 1,mem_mouse_commbination_key_bt
+	branch mouse_commbination_key_start
+
+mouse_24g_commbination_key_process:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit0 MOUSE_ENABLE_COMMBINATION_KEY_BY_24G_PAIRING
+	fetcht 1,mem_mouse_commbination_key_24g
+mouse_commbination_key_start:
+	storet 1,mem_mouse_commbination_key
+	call mouse_check_key_gpio
+	and pdata,0x07,pdata
+	fetcht 1,mem_mouse_commbination_key
+	isub temp,null
+	branch mouse_commbination_key_down,zero
+mouse_commbination_key_up:
+	fetch 1,mem_ui_button_timeout
+	store 1,mem_combination_ui_button_count	//combination key timer init 
+	fetch 1,mem_commbination_key_statue
+	rtneq COMMBINATION_KEY_STATE_UP
+	jam COMMBINATION_KEY_STATE_UP,mem_commbination_key_statue	
+	rtn
+		
+mouse_commbination_key_down:
+	call mouse_combination_ui_timer
+	fetch 1,mem_commbination_key_statue
+	rtneq COMMBINATION_KEY_STATE_DOWN
+	jam COMMBINATION_KEY_STATE_DOWN,mem_commbination_key_statue
+	branch check_51cmd_bb_reconn_cancel
+
+
+mouse_combination_ui_timer:
+	arg mouse_24g_start_pair_mode,regb
+	arg mem_combination_ui_button_count,regc
+	fetch 1,mem_device_flag
+	beq MODE_24G_DEVICE,timer_single_step
+	arg mouse_long_button_bt_discovery,regb
+	call timer_single_step
+	fetch 1,mem_combination_ui_button_count
+	beq 1,mouse_bt_discovery_button_down_enable	// ble release key press
+	rtn
+
+
+
+mouse_check_discovery_timeout_timer:	
+	arg mem_mouse_discovery_timer,regc
+	arg mouse_check_discovery_timeout,regb
+	branch timer_single_step_2B
+
+mouse_check_discovery_timeout:
+	call mouse_stop_discovery
+	branch mouse_app_enter_hibernate
+
+
+mouse_check_direct_timeout_timer:	
+	arg mem_mouse_direct_timer,regc
+	arg mouse_check_direct_timeout,regb
+	call timer_single_step_2B
+	fetch 1,mem_mouse_direct_timer
+	beq 1,app_ble_stop_direct_adv
+	rtn
+
+mouse_check_direct_timeout:
+	fetch 1,mem_mouse_bluetooth_fast_conn_flag
+	beq 0xff,mouse_buletooth_fast_conn_end
+	fetch 1,mem_reconn_times
+	nbranch mouse_polling_device,blank
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit1 MOUSE_ENABLE_BT_RECONNECT_TIMEOUT_ENTER_DISCOVERY,mouse_start_discovery
+	bbit1 MOUSE_ENABLE_24G_FIRST_AUTO_PAIRING,mouse_24g_first_bb_event_reconn_timeout
+	branch mouse_app_enter_hibernate
+	
+mouse_le_enable_att_list_timer:
+	arg mem_le_start_encrypt_timer,regc
+	arg mouse_le_write_enable,regb
+	branch timer_single_step
+
+mouse_le_send_smp_security_request_timer:
+	fetch 1,mem_mouse_le_bb_connected_flag
+	rtn blank
+	arg mem_mouse_send_secutiry_request_timer,regc
+	arg mouse_le_pairing_sm_start_check,regb
+	branch timer_single_step
+mouse_le_pairing_sm_start_check:
+	fetch 1,mem_mouse_le_reconnect_flag
+	nrtn blank
+	fetch 1,mem_le_pairing_state
+	rtnne FLAG_LE_PAIRING_NULL
+	branch le_pairing_sm_start
+
+mouse_le_battery_updata_timer:
+	arg mem_le_battery_level_updata_timer,regc
+	arg mouse_le_battery_level_updata,regb
+	branch timer_single_step
+
+mouse_le_battery_level_updata:
+	fetch 2,mem_le_battery_level_updata_timer_init
+	store 2,mem_le_battery_level_updata_timer
+	branch mouse_fill_battery_level_le
+	
+mouse_le_enable_att_list:	
+	fetch 1,mem_le_connect_status_flag
+	rtnbit1 LL_PAIRING_SUCCESS_FLAG
+	call mouse_updata_le_param
+	arg WRITE_REQ_ENABLE_FLAG,queue
+	branch mouse_le_enable_connect_flag
+
+mouse_check_hid_handshake_timer:
+	arg mem_hid_handshake_timer_count,regc
+	arg mouse_bt_hid_handshake,regb
+	branch timer_single_step
+	
+mouse_bt_check_sniff_req_timeout_timer:
+	arg mem_mouse_bt_send_first_package_timer,regc
+	arg mouse_bt_send_first_package,regb
+	branch timer_single_step
+mouse_bt_send_first_package:
+	jam 1,mem_mouse_bt_send_first_package_flag
+	rtn
+
+mouse_check_reconnect_delay_long_sleep:
+	arg mem_mouse_bluetooth_reconnect_timeout,regc
+	arg mouse_app_enter_hibernate,regb
+	branch timer_single_step
+
+
+mouse_current_mult_update_timer:
+	arg mem_mouse_current_mult_timer,regc
+	arg mouse_current_mult_reinit,regb
+	branch timer_single_step
+mouse_current_mult_reinit:
+	fetch 1,mem_lpm_mult_init
+	store 1,mem_lpm_mult
+	jam 1,mem_mouse_long_mult_flag
+	rtn
+
+
+mouse_check_no_data_timeout_timer:	
+	fetch 1,mem_usb_addr
+	rtnbit1 7
+	arg mem_mouse_no_data_timer,regc
+	arg mouse_check_no_data_timeout,regb
+	branch timer_single_step_2B
+
+mouse_check_no_data_timeout:
+	fetch 1,mem_device_flag
+	beq MODE_24G_DEVICE,mouse_24g_hibernate_set
+	branch mouse_disconnect
+	
+mouse_no_data_timer_init:
+	fetch 2,mem_mouse_no_data_timeout
+	store 2,mem_mouse_no_data_timer
+	rtn
+
+mouse_store_information_delay_timer:
+	arg mem_store_information_delay_timer,regc
+	arg mouse_store_device_info_check,regb
+	branch timer_single_step
+
+mouse_store_device_info_check:
+	call mouse_store_device_info
+	fetch 1,mem_mouse_need_soft_reset
+	nbranch mouse_soft_reset,blank
+	rtn
+
+mouse_bb_event_discovery_btn:
+	isolate1 mark_24g,mark
+	call mouse_24g_stop,true
+	call mouse_disconnect
+	call mouse_le_clean_connect_flag
+	branch mouse_start_discovery
+	
+mouse_start_discovery:
+	bpatch patch1b_1,mem_patch1b
+	call mouse_bluetooth_fast_conn_disable
+	fetch 2,mem_ui_state_map
+	bbit1 UI_STATE_BLE_ADV,mouse_start_discovery_norandom
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit0 MOUSE_ENABLE_BLE_RANDOM_ADDRE,mouse_start_discovery_norandom
+	fetcht 2,mem_random_addr_increase_count
+	increase 1,temp
+	storet 2,mem_random_addr_increase_count
+	storet 2,mem_le_lap+1
+	random pdata					//random ble addr
+	store 1,mem_le_lap
+mouse_start_discovery_norandom:
+	fetch 3,mem_mouse_le_lap_temp
+	store 3,mem_le_lap+3
+	call app_lpm_mult_disable
+	fetch 2,mem_discovery_timeout
+	store 2,mem_mouse_discovery_timer
+	jam 6,mem_connection_options
+	setarg 0
+	store 2,mem_mouse_no_data_timer
+	store 1,mem_mouse_direct_timer
+	store 1,mem_mouse_bluetooth_reconnect_timeout
+	store 1,mem_mouse_device_poweron_timer_count
+	store 1,mem_mouse_clear_sensor_data_flag
+	arg MOUSE_STORE_EEPROM_FLAG,queue
+	call mouse_enable_function_flag
+	call mouse_bt_discovery_button_down_disable
+	fetch 1,mem_mouse_bluetooth_type
+	isolate1 MODE_4_MOUSE,pdata
+	call mouse_check_51cmd_adv,true
+	fetch 1,mem_mouse_bluetooth_type
+	isolate1 MODE_3_MOUSE,pdata
+	call check_51cmd_start_discovery,true
+	call mouse_low_voltage_led_blink_disable
+	branch mouse_discover_setting_led_gpio
+
+
+mouse_stop_discovery:
+	bpatch patch1b_2,mem_patch1b
+	arg MOUSE_BT_DISCOVERY_BUTTON_LONG_DOWN_FLAG,queue
+	call mouse_disable_function_flag
+	jam 0,mem_mouse_bluetooth_reconnect_timeout
+	fetch 1,mem_mouse_bluetooth_type
+	isolate1 MODE_4_MOUSE,pdata
+	call mouse_stop_le_adv,true
+	fetch 1,mem_mouse_bluetooth_type
+	isolate1 MODE_3_MOUSE,pdata
+	call mouse_stop_bt3_discovery,true
+	branch mouse_device_led_off
+mouse_stop_le_adv:
+	jam 0,mem_mouse_direct_timer
+	branch check_51cmd_stop_adv
+mouse_stop_bt3_discovery:
+	setarg 0
+	store 2,mem_mouse_discovery_timer
+	branch check_51cmd_stop_discovery
+
+mouse_store_remote_bdaddr:
+	bpatch patch1b_3,mem_patch1b
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit0 MOUSE_STORE_EEPROM_FLAG
+	call mouse_device_poweron_timer_init
+	arg MOUSE_STORE_EEPROM_FLAG,queue
+	call mouse_disable_function_flag
+	call mouse_check_device_addr
+mouse_unplug_clean_bdaddr:
+	call mouse_before_store_reconn_info
+	branch mouse_store_device_info_delay
+
+	
+mouse_check_device_addr:
+	fetch 1,mem_record_bt_mode
+	beq REC_4_MODE,mouse_check_le_device_addr
+	beq REC_3_MODE,mouse_check_bt_device_addr
+	rtn
+mouse_check_le_device_addr:
+	store 1,mem_device_addr_temp
+	fetch 6,mem_le_plap
+	branch mouse_check_bt_device_addr_common
+mouse_check_bt_device_addr:
+	store 1,mem_device_addr_temp
+	fetch 6,mem_plap
+mouse_check_bt_device_addr_common:
+	store 6,mem_device_addr_temp+1
+	fetch 7,mem_device_addr_temp
+	arg mem_device1_type,contr
+	arg 3,loopcnt
+mouse_check_device_addr_end:
+	ifetcht 7,contr
+	isub temp,null
+	branch mouse_clean_addr,zero
+	increase 22,contr
+	loop mouse_check_device_addr_end
+	rtn
+mouse_before_store_reconn_info:
+	arg mem_device1_type,rega
+	fetch 1,mem_device_flag
+	increase -1,pdata
+	mul32 pdata,29,pdata
+	iadd rega,rega
+	fetch 1,mem_record_bt_mode
+	istore 1,rega
+	beq REC_4_MODE,mouse_store_le_device
+	beq REC_3_MODE,mouse_store_bt_device
+	rtn
+	
+mouse_store_le_device:
+	fetch 6,mem_le_plap
+	istore 6,contw
+	arg mem_le_ltk,contr
+	call memcpy16
+	fetch 6,mem_le_lap
+	istore 6,contw
+	rtn
+mouse_store_bt_device:
+	fetch 6,mem_plap
+	istore 6,contw
+	arg mem_link_key,contr
+	branch memcpy16
+
+mouse_clean_addr:
+	increase -6,contr
+	copy contr,contw
+	fetcht 6,mem_device_addr_temp+1
+	increase 3,temp
+	istoret 6,contw
+	rtn
+	
+mouse_select_reconn_device:
+	arg mem_device1_type,rega
+	fetch 1,mem_device_flag
+	rtneq MODE_24G_DEVICE
+	increase -1,pdata
+	mul32 pdata,29,pdata
+	iadd rega,rega
+	ifetch 1,rega
+	store 1,mem_xrecord_mode
+	beq REC_3_MODE,mouse_load_bt_device
+	beq REC_4_MODE,mouse_load_le_device
+	rtn
+
+mouse_load_bt_device:
+	ifetch 6,contr
+mouse_load_bt_device_end:
+	store 6,mem_hci_plap
+	arg mem_link_key,contw
+	call memcpy16
+	branch check_link_key_load
+
+mouse_load_le_device:
+	ifetch 6,contr
+mouse_load_le_device_end:
+	store 6,mem_hci_plap
+	arg mem_le_ltk,contw
+	call memcpy16
+	ifetch 6,contr
+	store 6,mem_le_lap
+	rtn
+
+
+
+mouse_app_initflag_check:
+	fetch 2,mem_store_flag
+	arg EEPROM_INIT_FLAG,temp
+	isub temp,null
+	branch mouse_load_device_info,zero
+	storet 2,mem_store_flag
+	call mouse_ble_init_address
+	fetch 1,mem_device_flag_temp
+	store 1,mem_device_flag
+	fetch 1,mem_config_sensor_dpi
+	store 1,mem_mouse_dpi
+	fetch 4,mem_24g_fast_conn_addr
+	store 4,mem_24g_receiver_addr
+	store 4,mem_24g_addr	
+	rtn
+
+mouse_load_device_info:
+	call mouse_select_reconn_device
+	fetch 4,mem_mouse_24g_addr
+	store 4,mem_24g_receiver_addr
+	store 4,mem_24g_addr
+	rtn
+	
+mouse_ble_init_address:
+	fetch 6,mem_le_lap
+	store 6,mem_device1_locall_addr
+	add pdata,0x0100,pdata
+	store 6,mem_device2_locall_addr
+	add pdata,0x0100,pdata
+	store 6,mem_device3_locall_addr
+	rtn
+	
+
+mouse_store_device_info_delay:	
+	fetch 1,mem_store_information_delay_timer_init
+	store 1,mem_store_information_delay_timer
+	rtn
+
+mouse_store_device_info:
+	bpatch patch1b_4,mem_patch1b
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit1 MOUSE_ENABLE_EEPROM,mouse_store_eeprom_device_info
+	bbit1 MOUSE_ENABLE_FLASH,mouse_store_flash_device_info
+	rtn
+
+mouse_load_flash_info_check:
+	call spid_init_flash
+	call mouse_spid_flash_release_form_powerdown
+	call mouse_information_flash_parameters
+	call spid_read_flash
+	call mouse_spid_flash_powerdown
+	call mouse_app_initflag_check
+	branch mouse_sensor_spi_init
+
+
+mouse_information_flash_parameters:
+	setarg mem_mouse_information_end
+	arg mem_mouse_information_start,temp
+	isub temp,temp
+	fetch 3,mem_flash_base
+	arg mem_mouse_information_start,rega
+	rtn
+	
+mouse_store_flash_device_info:
+	call spid_init_flash
+	call mouse_spid_flash_release_form_powerdown
+	call mouse_flash_erase_sector
+
+	call mouse_information_flash_parameters
+	call mouse_spid_write_flash
+	call mouse_spid_flash_powerdown
+	branch mouse_sensor_spi_init
+
+mouse_spid_flash_release_form_powerdown:
+	jam FLASH_COMMAND_RELEASE_FROM_POWERDOWN,mem_temp
+mouse_spid_write_flash_cmd:
+	call delay_nop100
+	call spid_unlock_flash
+	arg mem_write_flash_head_temp,rega
+	fetcht 1,mem_temp
+	call mouse_spid_write_flash_cmd_common
+	branch delay_nop100
+
+mouse_spid_flash_powerdown:
+	jam FLASH_COMMAND_POWERDOWN,mem_temp
+	branch mouse_spid_write_flash_cmd
+
+mouse_spid_write_flash_cmd_common:
+	istoret 1,rega
+	rshift16 pdata,temp
+	istoret 1,contw
+	rshift8 pdata,temp
+	istoret 1,contw
+	istore 1,contw
+	deposit rega
+	store 2,core_spid_txaddr
+	setarg 0
+	store 2,core_spid_rxlen
+	jam spid_start,core_misc_ctrl
+	branch wait_spid_done
+		
+mouse_flash_erase_sector:
+	fetch 3,mem_flash_base
+	store 3,mem_spi_write_addr
+	branch spid_flash_erase_sector+2
+
+mouse_spid_write_flash:
+	copy pdata,regc
+	copy rega,pdata
+	increase -4,pdata
+	copy pdata,regb
+	ifetch 4,regb
+	store 4,mem_write_flash_head_temp
+	copy regc,pdata
+	call spid_write_flash
+	fetch 4,mem_write_flash_head_temp
+	istore 4,regb
+	rtn
+
+mouse_flash_power_down:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit0 MOUSE_ENABLE_FLASH
+	call mouse_spid_flash_powerdown
+	call twspi_enable	// 2 wire mode
+	fetcht 1,mem_spi_cs_gpio		//disable flash
+	call gpio_out_inactive
+	fetcht 1,mem_spi_hold_gpio
+	branch mouse_gpio_config_input_pd
+
+mouse_load_eeprom_info_check:
+	call iicd_read_init_pin
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	isolate1 MOUSE_ENABLE_2K_EEPROM,pdata
+	ncall clear_eeprom_size_2k,true
+	call mouse_eeprom_load_recon_info
+	branch mouse_app_initflag_check
+
+mouse_eeprom_load_recon_info:
+	arg 128,temp
+	arg mem_device_flag,rega
+	arg MOUSE_INFO_EEPROM_OFFECT,regb
+	branch iicd_read_eep_data
+
+mouse_store_eeprom_device_info:
+	arg 128,temp
+	arg mem_device_flag,rega
+	arg MOUSE_INFO_EEPROM_OFFECT,regb
+	branch iicd_write_protect_eep_data
+
+
+mouse_store_eerpom_dpi:
+	arg 1,temp
+	arg mem_mouse_dpi,rega
+	arg MOUSE_DPI_EEPROM_OFFECT,regb
+	branch iicd_write_protect_eep_data
+
+mouse_load_eeprom_dpi:
+	arg 1,temp
+	arg mem_mouse_dpi,rega
+	arg MOUSE_DPI_EEPROM_OFFECT,regb
+	branch iicd_read_eep_data
+
+
+
+mouse_idle:
+	bpatch patch1b_5,mem_patch1b
+	call mouse_low_voltage_led_no_enter_lpm
+	call ui_check_paring_button
+	call mouse_dpi_check
+	call mouse_select_device_check
+	call mouse_check_select_device_by_switch
+	call mouse_bt_button_check
+	branch mouse_wheel_check
+	
+mouse_select_device_check:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit1 MOUSE_ENABLE_SELECT_DEVICE_BY_PB_BUTTON,mouse_select_device_by_pb_button
+	bbit1 MOUSE_ENABLE_PB_BUTTON_LONG_PRESS_DISCONVERY,mouse_select_device_by_pb_button
+	rtn
+
+mouse_select_device_by_pb_button_check_once:
+	jam 0x03,mem_mouse_pbkey_press_status
+mouse_select_device_by_pb_button:	
+	fetch 1,mem_config_select_device_button_gpio
+	rtneq GPIO_DISABLE
+	arg 0,rega
+	jam MOUSE_PB_KEY,mem_mouse_key_temp
+	fetcht 1,mem_config_select_device_button_gpio
+	call mouse_pb_button_check
+	store 1,mem_mouse_pbkey_press_status
+	fetch 1,mem_matrix_public_gpio
+	beq GPIO_DISABLE,mouse_3io6key_pb_button_check_end	
+	call mouse_matrix_public_gpio_reset
+mouse_select_device_by_pb_button_exit:	
+	copy rega,pdata
+	bbit1 MOUSE_PB_KEY,mouse_select_device_button_down
+	branch mouse_select_device_button_up
+
+mouse_3io6key_pb_button_check_end:
+	fetcht 1,mem_config_select_device_button_gpio
+	call mouse_gpio_config_input_pu
+	branch mouse_select_device_by_pb_button_exit
+
+
+mouse_pb_button_check:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit1 MOUSE_ENABLE_PB_BUTTON_CONNECT_GND,mouse_pb_button_connect_gnd
+	fetch 1,mem_mouse_pbkey_press_status
+	copy pdata,regc
+	fetch 1,mem_matrix_public_gpio
+	beq GPIO_DISABLE,mouse_3io6key_check
+	fetch 1,mem_mouse_ghost_flag
+	nbranch mouse_select_device_by_pb_button_end,blank
+	branch mouse_pb_button_connect_matrix
+
+mouse_select_device_by_pb_button_end:
+	jam PB_BUTTON_STATE_UP,mem_select_device_button_statue
+	jam 0,mem_mouse_pbkey_press_status
+	rtn
+
+mouse_pb_button_connect_gnd:
+	fetch 1,mem_mouse_pbkey_press_status
+	branch mouse_check_key_connect_gnd
+
+mouse_pb_button_connect_matrix:
+	call gpio_get_bit
+	fetcht 1,mem_matrix_public_gpio
+	branch mouse_pb_button_connect_gnd,true
+	fetcht 1,mem_matrix_public_gpio
+	call gpio_out_active
+	fetcht 1,mem_config_select_device_button_gpio
+	fetch 1,mem_mouse_pbkey_press_status
+	branch mouse_check_key_connect_gnd
+	
+mouse_select_device_button_up:
+	fetch 1,mem_select_device_button_statue
+	rtneq PB_BUTTON_STATE_UP
+	jam PB_BUTTON_STATE_UP,mem_select_device_button_statue	
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit1 MOUSE_ENABLE_PB_BUTTON_SHORT_PRESS_ENTER_DISCOVERY
+	fetch 1,mem_bt_discovery_count
+	sub pdata,20,null
+	ncall mouse_ready_reconnection_by_button,positive		// press button less than 30-20=1000ms
+	fetch 1,mem_ui_button_timeout
+	store 1,mem_bt_discovery_count
+	rtn
+
+mouse_select_device_button_down:
+	call mouse_select_device_ghost_check
+	rtn user
+	fetch 1,mem_select_device_button_statue
+	rtneq PB_BUTTON_STATE_DOWN
+	jam PB_BUTTON_STATE_DOWN,mem_select_device_button_statue
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit1 MOUSE_ENABLE_PB_BUTTON_SHORT_PRESS_ENTER_DISCOVERY,mouse_long_button_bt_discovery
+	fetch 1,mem_mouse_direct_timer
+	rtn blank
+	fetch 1,mem_mouse_direct_timeout
+	store 1,mem_mouse_direct_timer
+	rtn
+
+mouse_select_device_ghost_check:
+	disable user
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit1 MOUSE_ENABLE_PB_BUTTON_CONNECT_GND
+	fetch 1,mem_mouse_lkey_press_status
+	rtn blank
+	fetch 1,mem_mouse_rkey_press_status
+	rtn blank
+	enable user
+	rtn
+	
+
+
+mouse_check_select_device_by_switch:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit1 MOUSE_ENABLE_SELECT_DEVICE_BY_SWITCH_GPIO,mouse_check_select_device_by_switch_gpio
+	bbit1 MOUSE_ENABLE_SELECT_DEVICE_BY_SWITCH_ADC,mouse_adc_read
+	rtn
+mouse_check_select_device_by_switch_gpio:	
+	fetcht 1,mem_device_switch_gpio
+	call mouse_gpio_config_input_pu
+	fetcht 1,mem_device_switch_gpio
+	call gpio_get_bit
+	branch mouse_check_select_24gdevice,true
+mouse_select_btdevice:
+	fetch 1,mem_device_flag
+	rtneq MODE_BT_DEVICE1
+	jam MODE_BT_DEVICE1,mem_device_flag
+	branch mouse_stop_bluetooth_mode
+	
+	
+mouse_check_select_24gdevice:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit0 MOUSE_ENABLE_SELECT_DEVICE_BY_SWITCH_ADC,mouse_check_select_24g_device
+	fetch 6,mem_mouse_vdd_switch_gnd_full_vol
+	store 6,mem_mouse_vdd_calculate_set
+mouse_check_select_24g_device:	
+	fetch 1,mem_device_flag
+	rtneq MODE_24G_DEVICE
+	jam MODE_24G_DEVICE,mem_device_flag
+	branch mouse_24g_stop
+
+	
+
+mouse_ready_reconnection_by_button:
+	bpatch patch1b_6,mem_patch1b
+	fetch 1,mem_device_number
+	rtneq 1		// 1channel
+	call mouse_select_device_number
+	storet 1,mem_device_flag
+mouse_store_device_number_before_reset:	
+	jam 0,mem_link_key_exists
+	call mouse_select_device_enable
+	call mouse_stop_bluetooth_mode
+	call mouse_select_device_disable
+	jam 1,mem_mouse_need_soft_reset
+	branch mouse_store_device_info_delay
+
+
+mouse_soft_reset:
+	call mouse_select_device_enable
+	branch soft_reset_chip
+
+mouse_select_device_number:
+	fetcht 1,mem_device_flag
+	increase 1,temp
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit1 MOUSE_ENABLE_24G,mouse_select_device_number_24g
+	sub temp,2,null
+	ncall mouse_select_device_count_clean_bt,positive
+	rtn
+	
+mouse_select_device_number_24g:	
+	fetch 1,mem_device_number
+	increase -1,pdata
+	isub temp,null
+	ncall mouse_select_device_count_clean_24g,positive
+	rtn
+
+mouse_select_device_count_clean_24g:
+	arg 0,temp
+	rtn
+mouse_select_device_count_clean_bt:
+	arg 1,temp
+	rtn
+
+
+mouse_store_device_number2eeprom:
+	arg 1,temp
+	arg mem_device_flag,rega
+	arg 0,regb
+	branch iicd_write_protect_eep_data
+		
+
+mouse_bt_button_check:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit0 MOUSE_ENABLE_PB_BUTTON_SHORT_PRESS_ENTER_DISCOVERY
+	call mouse_select_device_by_pb_button
+	rtn
+
+
+
+
+mouse_select_device_enable:
+	arg MOUSE_SELECT_DEVICE_FLAG,queue
+	branch mouse_enable_function_flag
+mouse_select_device_disable:
+	arg MOUSE_SELECT_DEVICE_FLAG,queue
+	branch mouse_disable_function_flag
+mouse_bt_cannel_reconn_enable:
+	arg MOUSE_BT_CANNEL_RECONN_FLAG,queue
+	branch mouse_enable_function_flag
+mouse_bt_cannel_reconn_disable:
+	arg MOUSE_BT_CANNEL_RECONN_FLAG,queue
+	branch mouse_disable_function_flag
+mouse_bt_discovery_button_down_enable:
+	arg MOUSE_BT_DISCOVERY_BUTTON_DOWN_FLAG,queue
+	branch mouse_enable_function_flag
+mouse_bt_discovery_button_down_disable:
+	arg MOUSE_BT_DISCOVERY_BUTTON_DOWN_FLAG,queue
+	branch mouse_disable_function_flag
+
+mouse_adc_read_enable:
+	arg MOUSE_ENABLE_ADC,queue
+	branch mouse_enable_function_flag
+
+mouse_24g_set_250Hz:
+	arg MOUSE_ENABLE_24G_250Hz,queue
+	branch mouse_enable_function_flag
+
+mouse_24g_search_dongle_enable:
+	arg MOUSE_ENABLE_24G_SEARCH_DONGLE,queue
+	branch mouse_enable_function_flag
+	
+mouse_16M_enable:
+	arg MOUSE_ENABLE_16M,queue
+	branch mouse_enable_function_flag
+	
+mouse_dpi_4level_enable:
+	arg MOUSE_ENABLE_DPI_LEVEL_4,queue
+	branch mouse_enable_function_flag
+
+
+mouse_enable_function_flag:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	qset1 pdata
+	store MOUSE_FLAG_LEN,mem_mouse_flag
+	rtn
+
+mouse_disable_function_flag:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	qset0 pdata
+	store MOUSE_FLAG_LEN,mem_mouse_flag
+	rtn
+
+mouse_customer_key_enable:
+	arg MOUSE_ENABLE_KEYBOARD,queue
+	call mouse_enable_function_flag
+	setarg 0
+	store 8,mem_customer_key_press
+	store 8,mem_customer_key_release
+	fetch 1,mem_mouse_enable_flag	// 00--win+d     01--ctrl+alt+a    02--AC home    03--play
+	and pdata,0xc0,pdata
+	beq 0x40,mouse_customer_key_ctrl_alt_a
+	beq 0x80,mouse_customer_AC_home
+	beq 0xc0,mouse_customer_key_play
+	setarg 0x070008
+mouse_customer_standrad_key_set:	
+	store 8,mem_customer_key_press+1		// win + d
+	rtn
+
+mouse_customer_key_ctrl_alt_a:
+	setarg 0x040005
+	branch mouse_customer_standrad_key_set
+
+	
+mouse_customer_AC_home:
+	setarg 0x022303
+mouse_customer_media_key_set:	
+	store 8,mem_customer_key_press
+	setarg 0x03
+	store 8,mem_customer_key_release
+	rtn
+	
+mouse_customer_key_play:
+	setarg 0x00cd03
+	branch mouse_customer_media_key_set
+
+	
+
+
+
+	
+mouse_polling_device:
+	bpatch patch1b_7,mem_patch1b
+	fetch 1,mem_reconn_times
+	increase -1,pdata
+	store 1,mem_reconn_times
+	fetcht 1,mem_device_flag
+	sub temp,1,null
+	ncall mouse_select_device_number,zero
+	storet 1,mem_device_flag
+	jam 0,mem_link_key_exists
+	call mouse_store_device_number2eeprom
+	call mouse_before_store_reconn_info
+	branch mouse_start_reconnect_device
+	
+
+
+//notice: need to call p_mouse_drawing_optima_init when waked from mult
+mouse_drawing_optima:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit0 MOUSE_ENABLE_SMOOTHER
+	fetch 4,mem_mouse_x
+	rtn blank
+	call mouse_data_abs_check
+	setarg 0x03	//asm_flag enable condition
+	call mouse_pdata_greater_than_check
+	call mouse_disable_asm,blank
+	ncall mouse_enable_asm,blank
+	setarg 0x02	//asm_flag disable condition
+	call mouse_data_less_than_check
+	call mouse_disable_asm,blank
+	fetch 1,mem_mouse_asm_flag
+	beq 1,mouse_drawing_optima_modify
+mouse_drawing_optima_init:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit0 MOUSE_ENABLE_SMOOTHER
+	arg 5,loopcnt
+	arg mem_mouse_asm_flag,contw
+	branch clear_mem
+
+mouse_drawing_optima_modify:
+	call mouse_drawing_optima_xy_offset_modify
+	fetch 2,mem_mouse_x_pre
+	store 2,mem_data_pre
+	fetch 2,mem_mouse_x
+	store 2,mem_data_current
+	call mouse_drawing_optima_data_x
+	fetch 2,mem_data_pre
+	store 2,mem_mouse_x_pre
+	fetch 2,mem_data_current
+	store 2,mem_mouse_x
+
+	fetch 2,mem_mouse_y_pre
+	store 2,mem_data_pre
+	fetch 2,mem_mouse_y
+	store 2,mem_data_current
+	call mouse_drawing_optima_data_y
+	fetch 2,mem_data_pre
+	store 2,mem_mouse_y_pre
+	fetch 2,mem_data_current
+	store 2,mem_mouse_y
+	rtn
+
+mouse_drawing_optima_xy_offset_modify:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit0 MOUSE_ENABLE_XY_OFFSET
+	fetch 2,mem_mouse_x_pre
+	store 2,mem_data_value
+	call mouse_pre_xy_data_judge
+	store 2,mem_mouse_x_pre
+	fetch 2,mem_mouse_x
+	store 2,mem_data_value
+	call mouse_current_xy_data_judge
+	store 2,mem_mouse_x
+	fetch 2,mem_mouse_y_pre
+	store 2,mem_data_value
+	call mouse_pre_xy_data_judge
+	store 2,mem_mouse_y_pre
+	fetch 2,mem_mouse_y
+	store 2,mem_data_value
+	call mouse_current_xy_data_judge
+	store 2,mem_mouse_y
+	rtn
+
+mouse_pre_xy_data_judge:	
+	fetch 1,mem_data_value+1
+	branch mouse_pre_xy_pdata_offset,blank
+	branch mouse_pre_xy_ndata_offset
+
+mouse_pre_xy_pdata_offset:
+	fetch 1,mem_data_value
+	call mouse_pre_xy_get_0_4_times
+	store 1,mem_data_value
+mouse_xy_data_offset_new:
+	fetch 2,mem_data_value
+	rtn
+mouse_pre_xy_ndata_offset:
+	fetch 1,mem_data_value
+	call mouse_pdata_invert
+	call mouse_pre_xy_get_0_4_times
+	call disable_blank,blank
+	call mouse_pdata_get_new_value
+	branch mouse_xy_data_offset_new
+	
+mouse_current_xy_data_judge:
+	fetch 1,mem_data_value+1
+	branch mouse_current_xy_pdata_offset,blank
+	branch mouse_current_xy_ndata_offset
+mouse_current_xy_pdata_offset:
+	fetch 1,mem_data_value
+	call mouse_current_xy_get_0_6_times
+	store 1,mem_data_value
+	branch mouse_xy_data_offset_new
+mouse_current_xy_ndata_offset:	
+	fetch 1,mem_data_value
+	call mouse_pdata_invert
+	call mouse_current_xy_get_0_6_times
+	call disable_blank,blank
+	call mouse_pdata_get_new_value
+	branch mouse_xy_data_offset_new
+	
+mouse_pre_xy_get_0_4_times:
+	mul32 pdata,4,pdata
+	div pdata,5
+	call wait_div_end
+	quotient pdata
+	rtn
+mouse_current_xy_get_0_6_times:	//0.6 times
+	mul32 pdata,12,pdata
+	div pdata,10
+	call wait_div_end
+	quotient pdata
+	rtn	
+	
+mouse_drawing_optima_data_x:
+	fetch 2,mem_data_pre
+	fetcht 2,mem_data_current
+	iadd temp,pdata
+	fetcht 1,mem_mouse_data_xtemp
+	iadd temp,pdata
+	and pdata,0x01,temp
+	storet 1,mem_mouse_data_xtemp
+	branch mouse_drawing_optima_data
+
+mouse_drawing_optima_data_y:
+	fetch 2,mem_data_pre
+	fetcht 2,mem_data_current
+	iadd temp,pdata
+	fetcht 1,mem_mouse_data_ytemp
+	iadd temp,pdata
+	and pdata,0x01,temp
+	storet 1,mem_mouse_data_ytemp
+	branch mouse_drawing_optima_data
+
+/**********
+input:data_pre,data_current
+output:data_pre,data_current after optima
+***********/
+mouse_drawing_optima_data:
+	store 3,mem_data_sum
+	isolate1 16,pdata
+	branch mouse_data_sum_overflow,true
+	fetch 1,mem_data_sum+1
+	beq 0xff,mouse_data_sum_n
+	fetch 1,mem_data_sum
+mouse_data_store_pre:
+	rshift pdata,pdata
+	store 2,mem_data_pre
+	store 2,mem_data_current
+	rtn
+mouse_data_sum_overflow:
+	fetch 1,mem_data_sum+1	//sum positive
+	beq 0,mouse_data_sum_overflow_p
+	fetch 3,mem_data_sum	
+	branch mouse_data_store_pre
+mouse_data_sum_overflow_p:
+	jam 0,mem_data_sum+2
+	fetch 1,mem_data_sum
+	branch mouse_data_store_pre
+
+mouse_data_sum_n:
+	fetch 1,mem_data_sum	//sum negetive
+	call mouse_pdata_get_half
+	store 1,mem_data_pre
+	store 1,mem_data_current
+	branch mouse_data_zero,blank
+	setarg 0xff
+mouse_data_set_direction:	
+	store 1,mem_data_pre+1
+	store 1,mem_data_current+1
+	rtn
+mouse_data_zero:
+	setarg 0
+	branch mouse_data_set_direction
+
+mouse_pdata_get_half:
+	call mouse_pdata_invert
+	rshift pdata,pdata
+mouse_pdata_get_new_value:	
+	call mouse_rega_in_out
+	sub pdata,0,pdata
+	store 1,mem_data_value	
+	rtn
+
+mouse_pdata_invert:
+	sub pdata,0,pdata
+mouse_rega_in_out:	
+	store 1,mem_rega
+	fetch 1,mem_rega
+	rtn
+
+mouse_disable_asm:
+	jam 0,mem_mouse_asm_flag
+	rtn
+mouse_enable_asm:
+	jam 1,mem_mouse_asm_flag
+	rtn
+
+//rega mouse_x, regb mouse_y, pdata refer
+mouse_pdata_greater_than_check:
+	isub rega,null
+	nbranch disable_blank,positive
+	isub regb,null
+	nbranch disable_blank,positive
+	branch enable_blank
+mouse_data_less_than_check:
+	isub rega,null
+	nrtn positive
+	isub regb,null
+	nrtn positive
+	branch enable_blank
+
+mouse_data_abs_check:
+	fetch 2,mem_mouse_x
+	call mouse_data_abs
+	copy pdata,rega
+	fetch 2,mem_mouse_y
+	call mouse_data_abs
+	copy pdata,regb
+	rtn
+
+/***********
+input: data_current
+output:pdata,abs
+************/
+mouse_data_abs:
+	store 2,mem_data_current
+	fetch 1,mem_data_current+1
+	beq 0xff,mouse_data_reversal
+	fetch 1,mem_data_current
+mouse_data_abs_store:
+	and_into 0xff,pdata
+	//output:pdata
+	rtn
+mouse_data_reversal:
+	fetch 2,mem_data_current
+	sub pdata,0,pdata
+	branch mouse_data_abs_store
+
+mouse_24g_long_sleep_param_update_timer:
+	arg mem_24g_long_sleep_param_update_timer,regc
+	arg mouse_24g_long_sleep_normal_param,regb
+	branch timer_single_step
+mouse_24g_long_sleep_normal_param:
+	fetch 4,mem_24g_long_sleep_set1
+	store 4,mem_24g_enter_hibernate
+	jam 1,mem_mouse_long_mult_flag
+	rtn
+
+
+mouse_24g_long_sleep_set:
+	fetch 1,mem_24g_long_sleep_set_level
+	beq 0x00,mouse_24g_long_sleep_set_30ms
+	beq 0x01,mouse_24g_long_sleep_set_50ms
+	beq 0x02,mouse_24g_long_sleep_set_80ms
+	beq 0x03,mouse_24g_long_sleep_set_100ms
+mouse_24g_long_sleep_set_80ms:
+	setarg 0x0ea600
+mouse_24g_long_sleep_set_end:	
+	store 4,mem_24g_long_sleep_set1
+	rtn
+mouse_24g_long_sleep_set_30ms:
+	setarg 0x05e740
+	branch mouse_24g_long_sleep_set_end
+mouse_24g_long_sleep_set_50ms:
+	setarg 0x0927c0
+	branch mouse_24g_long_sleep_set_end
+mouse_24g_long_sleep_set_100ms:
+	setarg 0x124f80
+	branch mouse_24g_long_sleep_set_end
+
+	
+
+mouse_24g_hibernate_set:
+	jam 0,mem_24g_attempt_fail_flag
+	call g24_transmit_next_packet
+	setarg -1
+	store 4,mem_24g_enter_hibernate
+	setarg 0
+	store 7,mem_mouse_key
+	jam 1,mem_sensor_shutdown_flag
+	call mouse_sensor_powerdown
+	call mouse_setgpio_hibernate
+	branch g24_long_sleep
+
+mouse_wakeup_24g:
+	fetch 1,mem_sensor_shutdown_flag
+	ncall mouse_init_sensor_wakeup,blank
+	jam 0,mem_sensor_shutdown_flag
+	branch g24_transmit_no_ack
+
+mouse_24g_transmit_start:
+	fetch 1,mem_sensor_shutdown_flag
+	nbranch g24_short_sleep,blank
+	branch g24_transmit_start_next
+
+
+mouse_24g_stop:
+	set0 mark_24g,mark
+	jam STATE_24G_STOP,mem_24g_conn_sm
+	arg MOUSE_24G_PAIRING_FLAG,queue
+	branch mouse_disable_function_flag
+
+
+mouse_24g_start_mode:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit0 MOUSE_ENABLE_24G,mouse_24g_mode_setup_error
+	call mouse_wakeup_from_power_check	// wake from hibernate :enble user
+	branch mouse_24g_reconn_dongle_start,user
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit1 MOUSE_ENABLE_AUTO_24G_PARING,mouse_24g_reconn_general_dongle
+	bbit0 MOUSE_ENABLE_24G_POWER_ON_PAIRING,mouse_24g_reconn_general_dongle
+	call mouse_key_check_once
+	and pdata,0x07,pdata
+	fetcht 1,mem_mouse_commbination_key_24g
+	isub temp,null
+	branch mouse_24g_start_pair_mode,zero
+	branch mouse_24g_reconn_general_dongle
+
+mouse_24g_mode_setup_error:
+	fetch 1,mem_reconn_times
+	nbranch mouse_polling_device,blank
+	rtn
+
+mouse_24g_reconn_dongle_start:
+	fetch 2,mem_24g_reconn_timeout_init
+	store 2,mem_24g_reconn_timeout
+	jam RECEIVER_AND_3_0_ADDR,mem_24g_reconn_type
+	branch g24_reconn_start
+
+
+mouse_24g_first_start_auto_pair_mode:
+	call mouse_wakeup_from_power_check
+	branch mouse_24g_first_start_reconn,user  	// wake from hibernate :enble user
+mouse_24g_reconn_general_dongle:	
+	jam MODE_24G_DEVICE,mem_device_flag
+	fetch 2,mem_mouse_24g_power_on_fast_conn_timer
+	store 2,mem_24g_reconn_timeout
+	jam FAST_CONN_AND_3_0_ADDR,mem_24g_reconn_type
+	branch g24_reconn_start
+
+mouse_24g_start_auto_pair:
+	call mouse_discover_setting_led_gpio
+	fetch 2,mem_24g_pair_timeout_init
+	store 2,mem_24g_reconn_timeout
+	jam PAIR_AND_3_0_ADDR,mem_24g_reconn_type
+	branch g24_reconn_start
+
+
+mouse_24g_first_start_reconn:
+	fetch 1,mem_device_flag
+	beq MODE_24G_DEVICE,mouse_24g_reconn_dongle_start
+	call mouse_bluetooth_fast_conn_disable
+	branch mouse_24g_first_bluetooth_reconnect
+	
+mouse_24g_first_bluetooth_reconnect:
+	call mouse_24g_stop
+	call mouse_device_led_all_off
+	jam MODE_BT_DEVICE1,mem_device_flag
+	call mouse_select_reconn_device
+	branch mouse_start_reconnect_device
+
+mouse_24g_first_bb_event_reconn_timeout:
+	call mouse_wakeup_from_power_check
+	branch mouse_app_enter_hibernate,user
+	branch mouse_start_discovery
+
+
+mouse_24g_first_store_reconn_info:
+	call mouse_wakeup_from_power_check
+	rtn user
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit1 MOUSE_ENABLE_24G_FIRST_AUTO_PAIRING,mouse_store_device_info_delay
+	rtn
+
+mouse_24g_start_pair_mode:
+	arg MOUSE_24G_PAIRING_FLAG,queue
+	call mouse_enable_function_flag
+	setarg 0
+	store 2,mem_24g_reconn_timeout	
+	call mouse_stop_discovery
+	call mouse_low_voltage_led_blink_disable
+	call mouse_discover_setting_led_gpio
+	jam TYPE_MS,mem_24g_data_type
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit0 MOUSE_ENABLE_KEYBOARD,g24_pair_start
+	jam TYPE_KB,mem_24g_data_type
+	branch g24_pair_start
+
+	
+mouse_24g_attempt_fail:
+	fetch 1,mem_24g_attempt_fail_flag
+	nbranch mouse_24g_hibernate_set,blank
+	fetch 1,mem_24g_reconn_type
+	beq FAST_CONN_AND_3_0_ADDR,mouse_24g_fast_conn_attempt_fail
+	beq PAIR_AND_3_0_ADDR,mouse_24g_auto_pair_attempt_fail
+	beq RECEIVER_AND_3_0_ADDR,mouse_reconn_dongle_attempt_fail
+mouse_24g_attempt_fail_enter_hibernate:
+	call mouse_device_led_off
+	call mouse_24g_stop
+	fetch 1,mem_reconn_times
+	nbranch mouse_polling_device,blank
+	fetch 1,mem_device_flag
+	beq MODE_24G_DEVICE,mouse_app_enter_hibernate
+	rtn
+
+mouse_24g_fast_conn_attempt_fail:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag 
+	bbit1 MOUSE_ENABLE_24G_FIRST_AUTO_PAIRING,mouse_24g_start_auto_pair
+	bbit1 MOUSE_ENABLE_AUTO_24G_PARING,mouse_24g_start_auto_pair
+	branch mouse_24g_reconn_dongle_start
+
+
+mouse_24g_auto_pair_attempt_fail:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag 
+	bbit0 MOUSE_ENABLE_24G_FIRST_AUTO_PAIRING,mouse_24g_attempt_fail_enter_hibernate
+	fetch 1,mem_device_number
+	beq 1,mouse_24g_attempt_fail_enter_hibernate		//24g first mode and only 2.4g device
+	branch mouse_24g_first_bluetooth_reconnect
+
+mouse_reconn_dongle_attempt_fail:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit0 MOUSE_ENABLE_24G_FIRST_AUTO_PAIRING,mouse_24g_attempt_fail_enter_hibernate
+	bbit1 MOUSE_ENABLE_EEPROM,mouse_24g_attempt_fail_enter_hibernate
+	bbit1 MOUSE_ENABLE_FLASH,mouse_24g_attempt_fail_enter_hibernate
+	branch mouse_24g_start_auto_pair+1
+
+		
+mouse_24g_attempt_success:
+	call mouse_init_sensor_reset
+	jam 0,mem_mouse_long_mult_flag
+	jam 0,mem_24g_conn_sm
+	jam 0,mem_24g_reconn_type
+	fetch 4,mem_24g_receiver_addr
+	fetch 4,mem_24g_fast_conn_addr
+	isub temp,null
+	rtn zero
+	branch mouse_24g_first_store_reconn_info
+	
+mouse_24g_pairing_complete:
+	arg MOUSE_24G_PAIRING_FLAG,queue
+	call mouse_disable_function_flag
+	call mouse_device_poweron_timer_init
+	setarg 0
+	store 2,mem_24g_pair_timeout
+	store 2,mem_24g_reconn_timeout
+	store 1,mem_24g_conn_sm
+	store 1,mem_mouse_move_flag
+	store 1,mem_24g_reconn_type
+
+	call mouse_init_sensor_reset
+	call mouse_read_sensor_common
+	fetch 4,mem_24g_addr
+	store 4,mem_24g_receiver_addr
+	store 4,mem_mouse_24g_addr
+	branch mouse_store_device_info_delay
+
+mouse_24g_package_data:
+	rtnmark0 mark_24g
+	call mouse_motion
+	nrtn user
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit0 MOUSE_ENABLE_KEYBOARD,mouse_24g_mouse_package_data
+	fetch 1,mem_customer_key
+	nbranch mouse_24g_keyboard_package_data,blank
+mouse_24g_mouse_package_data:
+	call mouse_data_xy_release
+	fetch 1,mem_24g_data_type
+	bbit1 1,mouse_24g_mouse_package_data_now	// last package is keyboard data
+	fetcht 1,mem_24g_txbuf+1
+	fetch 1,mem_mouse_key
+	ior temp,pdata
+	store 1,mem_mouse_key
+	fetcht 1,mem_24g_txbuf+6
+	fetch 1,mem_mouse_z
+	iadd temp,pdata
+	store 1,mem_mouse_z
+	fetcht 1,mem_24g_txbuf+7
+	fetch 1,mem_mouse_tz
+	iadd temp,pdata
+	store 1,mem_mouse_tz	
+mouse_24g_mouse_package_data_now:	
+	jam TYPE_MS,mem_24g_data_type
+	arg 7,rega	//length
+	arg mem_mouse_key,regb //tx buff
+	fetch 2,mem_mouse_z
+	rtn blank
+	branch g24_transmit_by_interrupt_enable
+
+mouse_24g_keyboard_package_data:
+	jam TYPE_KB,mem_24g_data_type
+	arg 9,rega	//length
+	fetch 1,mem_customer_data_trigger
+	nbranch mouse_customer_key_press,blank
+	arg mem_customer_key_release,regb	//tx buff
+	rtn
+mouse_customer_key_press:
+	arg mem_customer_key_press,regb
+	rtn
+
+
+
+/**************************************g24 search receiver*****************************************/
+
+mouse_24g_search_dongle_init:
+	setarg 0
+	store 3,mem_mouse_search_dongle_action
+	rtn
+
+mouse_24g_search_dongle:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit0 MOUSE_ENABLE_24G_SEARCH_DONGLE
+	fetch 1,mem_mouse_long_mult_flag
+	rtn blank
+	fetch 1,mem_24g_abort_pac
+	rtn blank
+	fetch 1,mem_mouse_search_dongle_interval
+	increase 1,pdata
+	and_into 3,pdata
+	store 1,mem_mouse_search_dongle_interval
+	nrtn blank	//400ms
+	jam 0,mem_mouse_search_dongle_ch
+mouse_24g_search_dongle_loop:
+	fetch 1,mem_mouse_search_dongle_ch
+	increase 1,pdata
+	store 1,mem_mouse_search_dongle_ch
+	sub pdata,G24_CH_NUMBER,null
+	nbranch mouse_24g_search_dongle_loop_end,positive
+	call g24_reconn_data_prep
+	call g24_transmit_receive_ack
+	nbranch mouse_24g_search_dongle_loop_retry,sync
+	nbranch mouse_24g_search_dongle_loop_retry,user3
+	call mouse_g24_ackpayload_parse
+	call mouse_24g_search_dongle_success
+mouse_24g_search_dongle_loop_end:
+	call g24_txbuf_clear
+	fetch 1,mem_mouse_search_dongle_count
+	increase 1,pdata
+	store 1,mem_mouse_search_dongle_count
+	beq G24_CH_POLL_COUNT,mouse_24g_search_dongle_check
+	rtn
+
+mouse_24g_search_dongle_loop_retry:
+	call g24_ch
+	branch mouse_24g_search_dongle_loop
+
+mouse_24g_search_dongle_check:
+	jam 0,mem_mouse_search_dongle_count
+	fetch 1,mem_mouse_search_dongle_action
+	rtnbit1 G24_DISCONN_STATE
+	set1 G24_DISCONN_STATE,pdata
+	store 1,mem_mouse_search_dongle_action
+	fetch 2,mem_mouse_24g_search_dongle_time_init		//3min
+//	store 2,mem_mouse_no_data_timer
+//	branch mouse_sensor_powerdown
+	branch mouse_24g_hibernate_set
+
+
+mouse_24g_search_dongle_success:
+	fetch 1,mem_24g_abort_pac
+	branch mouse_24g_search_dongle_init,blank
+	jam 0,mem_mouse_search_dongle_count
+	fetch 1,mem_mouse_search_dongle_action
+	rtnbit0 G24_DISCONN_STATE
+	set0 G24_DISCONN_STATE,pdata
+	store 1,mem_mouse_search_dongle_action
+	call mouse_no_data_timer_init
+	branch mouse_init_sensor_wakeup
+
+mouse_g24_ackpayload_parse:
+	call g24_ackpayload_parse
+	fetch 1,mem_24g_rxbuf+1
+	compare 0x08,pdata,0xf8
+	nrtn true
+	fetch 1,mem_24g_rxbuf+2		// pc sleep mouse ackpayload: 01 08 ff
+	beq 0xff,mouse_24g_hibernate_set
+	rtn
+
+/**************************************g24 search receiver*****************************************/
+
+
+/**************************************g24 new process start********************************************/
+mouse_24g_before_lpm_sleep:
+	fetch 1,mem_device_flag
+	bne MODE_24G_DEVICE,lpm_sleep_skip_cb_function
+	fetch 1,mem_24g_disable_fec1
+	rtn blank
+mouse_peripheral_clock_off:
+	jam 2,core_clksel			//use rc clock
+	fetch 1,core_lpm_ctrl		//close xtal en reg
+	and pdata,0xfc,pdata
+	store 1,core_lpm_reg
+	branch lpm_write_ctrl
+
+/**************************************g24 new process end********************************************/
+
+
+/*******************led*************************/
+mouse_device_poweron_timer:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit0 MOUSE_ENABLE_POWER_ON_LED
+	fetch 1,mem_mouse_device_poweron_timer_count
+	rtn blank
+	increase -1,pdata
+	store 1,mem_mouse_device_poweron_timer_count
+	branch mouse_device_led_off,blank
+	branch mouse_device_led_on
+	
+mouse_device_poweron_timer_init:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit0 MOUSE_ENABLE_POWER_ON_LED
+	call mouse_low_voltage_led_blink_disable
+	fetch 1,mem_mouse_device_poweron_timer_count_init
+	store 1,mem_mouse_device_poweron_timer_count
+	rtn	
+
+	
+mouse_discover_setting_led_gpio:
+	jam 0,mem_mouse_device_poweron_timer_count
+	fetch 2,mem_mouse_disconvey_led_blink_time
+	store 2,mem_mouse_on_time
+	store 2,mem_mouse_off_time	
+mouse_setting_led_gpio_comman:
+	fetch 1,mem_device_flag
+	beq MODE_24G_DEVICE,mouse_device_led_24g
+	beq MODE_BT_DEVICE1,mouse_device_led_bt1
+	beq MODE_BT_DEVICE2,mouse_device_led_bt2
+	rtn
+mouse_device_led_24g:
+	fetch 1,mem_config_device_24g_led_gpio
+	branch mouse_led_blink
+mouse_device_led_bt1:
+	fetch 1,mem_config_device_bt1_led_gpio
+	branch mouse_led_blink
+mouse_device_led_bt2:
+	fetch 1,mem_config_device_bt2_led_gpio
+mouse_led_blink:
+	store 1,mem_temp
+	call mouse_device_led_off
+	fetch 1,mem_temp
+	store 1,mem_mouse_struct_led_gpio
+	arg 0,rega
+	jam UI_LED_STATE_BLINK_START,mem_mouse_led_type
+	branch ui_led_blink_start_global
+
+
+mouse_dpi_led_blink_delay:
+	fetch 1,mem_dpi_led_gpio
+	rtneq GPIO_DISABLE
+	fetch 2,mem_mouse_discovery_timer
+	nrtn blank
+	fetch 2,mem_24g_pair_timeout
+	nrtn blank
+	fetch 2,mem_24g_reconn_timeout
+	nrtn blank
+	fetch 1,mem_mouse_device_poweron_timer_count
+	nrtn blank
+	fetch 1,mem_mouse_dpi_led_delay_count_init
+	branch mouse_dpi_led_blink_init,blank
+	store 1,mem_mouse_dpi_led_delay_count  //delay 1s led blink
+	rtn
+
+
+mouse_dpi_led_blink_delay_timer:
+	arg mem_mouse_dpi_led_delay_count,regc
+	arg mouse_dpi_led_blink_init,regb
+	branch timer_single_step	
+	
+mouse_dpi_led_blink_init:
+	fetch 1,mem_dpi_led_gpio
+	store 1,mem_mouse_struct_led_gpio
+	fetch 2,mem_mouse_dpi_led_blink_time
+	store 2,mem_mouse_on_time
+	store 2,mem_mouse_off_time
+	arg 0,rega
+	fetcht 1,mem_mouse_dpi
+	increase 1,temp
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit0 MOUSE_ENABLE_DPI_LEVEL_4,mouse_dpi_led_blink_init_end
+	increase 1,temp
+	sub temp,4,null
+	ncall mouse_dpi_led_blink_count_clean,positive		// blink count:2 3 4 1
+mouse_dpi_led_blink_init_end:	
+	storet 1,mem_mouse_blink_count
+	jam UI_LED_STATE_BLINK_START,mem_mouse_led_type
+	rtn
+
+mouse_dpi_led_blink_count_clean:
+	arg 1,temp
+	rtn
+
+mouse_check_dpi_blink:
+	disable user
+	fetch 1,mem_dpi_led_gpio
+	fetcht 1,mem_mouse_struct_led_gpio
+	isub temp,null
+	nrtn zero
+	fetch 1,mem_mouse_blink_count
+	rtn blank
+	jam 0,mem_adc_low_volatage_led_blink_enable
+	enable user
+	rtn
+
+mouse_device_led_all_off:
+	call mouse_dpi_led_off
+	call mouse_device_24g_led_off
+	call mouse_device_bt1_led_off
+	branch mouse_device_bt2_led_off
+
+mouse_device_led_off:
+	fetch 1,mem_device_flag
+	beq MODE_24G_DEVICE,mouse_device_24g_led_off
+	beq MODE_BT_DEVICE1,mouse_device_bt1_led_off
+	beq MODE_BT_DEVICE2,mouse_device_bt2_led_off
+	rtn
+
+mouse_device_24g_led_off:
+	jam 0,mem_24g_device_led_status
+	fetcht 1,mem_config_device_24g_led_gpio
+	branch mouse_led_off
+
+mouse_device_bt1_led_off:
+	fetcht 1,mem_config_device_bt1_led_gpio
+	branch mouse_led_off
+	
+mouse_device_bt2_led_off:
+	fetcht 1,mem_config_device_bt2_led_gpio
+	branch mouse_led_off
+
+mouse_dpi_led_off:
+	fetcht 1,mem_dpi_led_gpio
+	branch mouse_led_off
+
+mouse_device_led_on:
+	fetch 1,mem_device_flag
+	beq MODE_24G_DEVICE,mouse_device_24g_led_on
+	beq MODE_BT_DEVICE1,mouse_device_bt1_led_on
+	beq MODE_BT_DEVICE2,mouse_device_bt2_led_on
+	rtn
+
+mouse_device_24g_led_on:
+	fetcht 1,mem_config_device_24g_led_gpio
+	branch mouse_led_on
+mouse_device_bt1_led_on:
+	fetcht 1,mem_config_device_bt1_led_gpio
+	branch mouse_led_on
+mouse_device_bt2_led_on:
+	fetcht 1,mem_config_device_bt2_led_gpio
+	branch mouse_led_on
+
+mouse_led_off:
+	bpatch patch1c_0,mem_patch1c
+	storet 1,mem_mouse_struct_led_gpio
+	arg 0,rega
+	branch ui_led_off_global
+mouse_led_on:
+	bpatch patch1c_1,mem_patch1c
+	storet 1,mem_mouse_struct_led_gpio
+	arg 0,rega
+	branch ui_led_on_global
+
+mouse_ui_led_off_static:
+	fetch 1,mem_config_device_24g_led_gpio
+	isub temp,null
+	call mouse_clear_24g_led_statue,zero
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit0 MOUSE_ENABLE_4_LED,gpio_out_inactive
+	call mouse_check_bt2_led_off
+	call mouse_check_dpi_led_off
+	call mouse_check_low_v_led_off
+	fetch 1,mem_mouse_led_off_4_led
+	branch gpio_out_inactive,blank
+	jam 0,mem_mouse_led_off_4_led
+	branch gpio_set_high_impedance
+
+mouse_ui_led_on_static:
+	fetch 1,mem_config_device_24g_led_gpio
+	isub temp,null
+	call mouse_set_24g_led_statue,zero
+	branch gpio_out_active 
+
+
+mouse_check_bt2_led_off:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit0 MOUSE_ENABLE_BT2_FOR_4_LED
+	fetch 1,mem_config_device_bt2_led_gpio
+	branch mouse_check_1gpio_2led_off
+mouse_check_dpi_led_off:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit0 MOUSE_ENABLE_DPI_FOR_4_LED
+	fetch 1,mem_dpi_led_gpio
+	branch mouse_check_1gpio_2led_off
+mouse_check_low_v_led_off:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit0 MOUSE_ENABLE_LOW_V_FOR_4_LED
+	fetch 1,mem_config_low_voltage_alarm_gpio
+mouse_check_1gpio_2led_off:
+	isub temp,null
+	nrtn zero
+	jam 1,mem_mouse_led_off_4_led
+	rtn
+
+mouse_clear_24g_led_statue:
+	jam 0,mem_24g_device_led_status
+	rtn
+
+mouse_set_24g_led_statue:
+	jam 1,mem_24g_device_led_status
+	rtn
+
+mouse_low_voltage_led_timer:
+	fetch 2,mem_mouse_discovery_timer
+	nrtn blank
+	fetch 2,mem_24g_pair_timeout
+	nrtn blank
+	fetch 2,mem_24g_reconn_timeout
+	nrtn blank
+	fetch 1,mem_mouse_device_poweron_timer_count
+	nrtn blank
+	call mouse_check_dpi_blink
+	rtn user
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit0 MOUSE_ENABLE_LOW_VOLTAGE_LED
+	rtnbit0 MOUSE_LOW_VOLTAGE_FLAG
+	bbit1 MOUSE_ENABLE_LOW_VOLTAGE_LED_BLINK_N_SECOND,mouse_low_voltage_led_blink_new_data
+	fetch 1,mem_adc_low_volatage_led_timer_count
+	increase 1,pdata
+	store 1,mem_adc_low_volatage_led_timer_count
+	sub pdata,20,null
+	ncall mouse_adc_low_volatage_led_timer_count_clean,positive
+	beq 2,mouse_low_voltage_led_on
+	beq 4,mouse_low_voltage_led_off
+	beq 6,mouse_low_voltage_led_on
+	beq 8,mouse_low_voltage_led_off
+	rtn
+mouse_adc_low_volatage_led_timer_count_clean:
+	jam 1,mem_adc_low_volatage_led_timer_count
+	branch mouse_low_voltage_led_off
+mouse_low_voltage_led_on:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit1 MOUSE_ENABLE_LOW_VOLTAGE_USE_MODE_LED,mouse_device_led_on
+	fetch 1,mem_config_low_voltage_alarm_gpio
+	rtneq GPIO_DISABLE
+	fetcht 1,mem_config_low_voltage_alarm_gpio
+	branch mouse_led_on
+mouse_low_voltage_led_off:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit1 MOUSE_ENABLE_LOW_VOLTAGE_USE_MODE_LED,mouse_device_led_off
+	fetch 1,mem_config_low_voltage_alarm_gpio
+	rtneq GPIO_DISABLE
+	fetcht 1,mem_config_low_voltage_alarm_gpio
+	branch mouse_led_off
+
+mouse_low_voltage_led_blink_new_data:
+	fetch 2,mem_mouse_no_data_timeout
+	fetcht 2,mem_mouse_no_data_timer
+	isub temp,temp
+	fetch 2,mem_adc_low_volatage_led_blink_timer
+	isub temp,null
+	nbranch mouse_low_voltage_led_blink_disable,positive
+	fetch 1,mem_adc_low_volatage_led_blink_enable
+	nrtn blank
+	jam 1,mem_adc_low_volatage_led_blink_enable
+	branch mouse_low_voltage_led_blink_init
+	
+mouse_low_voltage_led_blink_init:
+	fetch 2,mem_mouse_low_v_led_blink_time
+	store 2,mem_mouse_on_time
+	store 2,mem_mouse_off_time
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit1 MOUSE_ENABLE_LOW_VOLTAGE_USE_MODE_LED,mouse_setting_led_gpio_comman
+	fetch 1,mem_config_low_voltage_alarm_gpio
+	rtneq GPIO_DISABLE
+	branch mouse_led_blink
+
+mouse_low_voltage_led_blink_disable:
+	jam 0,mem_adc_low_volatage_led_blink_enable
+	branch mouse_low_voltage_led_off
+
+
+mouse_low_voltage_led_no_enter_lpm:	
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit0 MOUSE_ENABLE_LOW_VOLTAGE_LED
+	rtnbit0 MOUSE_LOW_VOLTAGE_FLAG
+	bbit1 MOUSE_ENABLE_LOW_VOLTAGE_LED_BLINK_N_SECOND,mouse_low_voltage_led_no_enter_lpm_blink
+	fetch 1,mem_adc_low_volatage_led_timer_count
+	sub pdata,10,null
+	branch mouse_lpm_mode_clear,positive
+mouse_low_voltage_led_no_enter_lpm_next:	
+	fetch 1,mem_device_flag
+	beq MODE_24G_DEVICE,g24_transmit_by_interrupt_exit_check
+	jam 1,mem_lpm_mode
+	rtn
+
+g24_transmit_by_interrupt_exit_check:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag	
+	rtnbit1 MOUSE_ENABLE_24G_250Hz	
+	branch g24_transmit_by_interrupt_exit
+
+mouse_lpm_mode_clear:
+	fetch 1,mem_device_flag
+	beq MODE_24G_DEVICE,g24_transmit_by_interrupt_enable
+	jam 0,mem_lpm_mode
+	rtn
+
+mouse_low_voltage_led_no_enter_lpm_blink:
+	fetch 1,mem_adc_low_volatage_led_blink_enable
+	nbranch mouse_lpm_mode_clear,blank
+	branch mouse_low_voltage_led_no_enter_lpm_next
+	
+	
+/*******************led*************************/	
+mouse_store_signal_rssi:
+	call rssi_hex2dec
+	fetch 1,mem_rssi
+	branch rssi_signal
+
+mouse_le_transmit:
+	call mouse_store_signal_rssi
+	branch power_ctrl_start
+
+mouse_bt_slave_match:
+	call mouse_store_signal_rssi
+	fetch 1,mem_state
+	isolate1 state_inconn,pdata
+	nrtn true
+	fetch 1,mem_arq
+	isolate1 wack,pdata
+	call power_ctrl_pac_succ_decrs,true
+	ncall power_ctrl_pac_succ_incrs,true
+	branch power_ctrl_start
+
+mouse_le_set_lpm_mult:
+	fetch 1,mem_le_connect_status_flag
+	compare 3,pdata,3
+	nbranch disable_blank,true
+	call app_lpm_mult_enable
+	branch enable_blank
+
+mouse_bt_set_lpm_mult:
+	call l2cap_malloc_is_fifo_empty
+	nrtn blank
+	jam 1,mem_current_sniff_attempt
+	jam 0,mem_current_sniff_timeout
+	branch enable_blank
+
+mouse_set_lpm_mult:
+	fetch 2,mem_ui_state_map
+	bbit1 UI_STATE_BLE_CONNECTED,mouse_le_set_lpm_mult
+	branch mouse_bt_set_lpm_mult
+
+endif
+
+
+
Index: program/app_remote_car.prog
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/program/app_remote_car.prog	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/program/app_remote_car.prog	(working copy)
@@ -0,0 +1,393 @@
+ifdef COMPILE_REMOTE_CAR
+
+remote_car_init:
+	rtn wake	
+	call keyscan_key_init
+	setarg remote_car_g24_package_data
+	store 2,mem_cb_24g_transmit_data
+
+	setarg remote_car_process_lpm_before
+	store 2,mem_cb_24g_lpm_before
+	
+	setarg remote_car_le_before_hibernate
+	store 2,mem_cb_before_hibernate
+	
+	setarg remote_car_scale_process_idle
+	store 2,mem_cb_idle_process	
+	
+	setarg remote_car_scale_process_bb_event
+	store 2,mem_cb_bb_event_process
+
+	setarg remote_car_event_timer
+	store 2,mem_cb_event_timer
+	
+	setarg remote_car_power_off_signal
+	store 2,mem_remote_car_power_off_cb
+	
+	setarg remote_car_soft_switch_power_on_signal
+	store 2,mem_remote_car_power_standby_cb
+	
+	
+	bpatch patch1c_2,mem_patch1c
+	call set_eeprom_size_2k
+	call remote_car_init_environment
+
+	call queue_init
+	fetch 1,mem_remote_car_config_soft_switch_enable
+	store 1,mem_remote_car_hard_soft_switch
+	beq HARD_SWITCH, remote_car_hard_switch_power_on_signal
+	fetch 1,mem_remote_car_config_soft_switch_gpio
+	store 1,mem_ui_button_gpio
+remote_car_soft_switch_power_on_init:
+	call remote_car_ui_led_init
+	call ui_button_init
+	call ui_button_polling
+	jam POWER_STARTING,mem_remote_car_power_state
+	fetch 2,mem_ui_state_map
+	rtnbit1 UI_STATE_BTN_DOWN
+	branch app_enter_hibernate
+
+
+
+remote_car_hard_switch_power_on_signal:
+	jam POWER_STANDBY,mem_remote_car_power_state
+remote_car_soft_switch_power_on_signal:
+	call remote_car_ui_led_init
+	arg 0,rega
+	call ui_led_blink_start_global
+	call remote_car_set_24g_addr_eeprom
+	call iicd_read_eep_data
+	call g24_factory_check
+	branch g24_pair_start,user
+	fetch 4,mem_24g_addr
+	store 4,mem_24g_receiver_addr
+	fetch 2,mem_24g_reconn_timeout_init
+	store 2,mem_24g_reconn_timeout
+	branch g24_reconn_start
+
+remote_car_set_24g_addr_eeprom:
+	arg 4,temp
+	arg mem_24g_addr,rega
+	arg REMOTE_INFO_EEPROM_OFFECT,regb
+	rtn
+
+
+remote_car_power_off_signal:	
+remote_car_ui_led_init:
+	bpatch patch1c_3,mem_patch1c
+	fetch 1,mem_remote_car_config_connect_led_gpio
+	bne INVALID_PIN_NUM,remote_car_pairing_led_gpio_set
+remote_car_ui_led_init_1:
+	fetcht 1, mem_remote_car_led_map
+	branch gpio_config_output
+remote_car_pairing_led_gpio_set:
+	store 1,mem_remote_car_led_map
+	branch remote_car_ui_led_init_1
+
+
+remote_car_init_environment:
+	call g24_transmit_init
+remote_no_data_timer_init:
+	fetch 2,mem_remote_car_no_data_timeout
+	store 2,mem_remote_car_no_data_timer
+	rtn
+
+remote_car_le_before_hibernate:
+	call remote_car_process_lpm_before
+remote_gpio_set_before_hibernate:
+	fetch 1,mem_remote_style_struct_led_gpio
+	set1 7,pdata
+	arg gpcfg_output_high,temp
+	branch gpio_config_function
+
+remote_car_process_lpm_before:
+	call gpio_set_before_lpm
+	branch keyscan_process_lpm_before
+
+remote_car_key_scan_process:
+	call keyscan_key_process
+	call get_remote_key_state
+	call remote_conn_led_state
+	branch send_data
+
+remote_conn_led_state:
+	fetch 1,mem_remote_car_24g_status
+	rtnne WORK_PAIRED
+	fetch 4,mem_remote_car_motor1_key0_press_state
+	branch remote_car_stop_state,blank
+	jam 0,mem_remote_car_no_data_check
+	enable user
+	branch check_51cmd_led_on
+remote_car_stop_state:
+	fetch 1,mem_remote_car_no_data_check
+	rtneq 0xff
+	pincrease 1
+	store 1,mem_remote_car_no_data_check
+	disable user
+	branch check_51cmd_led_off
+
+	
+get_remote_key_state:
+	fetcht 2,mem_key_value_retention
+	and temp,0x01,pdata
+	rshift temp,temp
+	store 1,mem_remote_car_motor1_key0_press_state
+	and temp,0x01,pdata
+	rshift temp,temp
+	store 1,mem_remote_car_motor1_key1_press_state
+	and temp,0x01,pdata
+	rshift temp,temp
+	store 1,mem_remote_car_motor2_key2_press_state
+	and temp,0x01,pdata
+	rshift temp,temp
+	store 1,mem_remote_car_motor2_key3_press_state
+	rtn
+send_data:
+	bpatch patch1c_4,mem_patch1c
+	call remote_car_fb_check
+	call remote_car_lr_check
+	call remote_car_no_data_timeout_check
+	nrtn user
+	branch remote_car_send_key 
+
+
+remote_car_no_data_timeout_check:
+	fetch 1,mem_remote_car_24g_status
+	rtnne WORK_PAIRED
+	fetch 1,mem_remote_car_no_data_check
+	rtn blank
+	sub pdata,1,null
+	nrtn positive
+	fetch 2,mem_24g_reconn_timeout_init
+	store 2,mem_24g_reconn_timeout
+	enable user
+	rtn
+
+
+	
+remote_car_fb_check:
+	fetch 1,mem_remote_car_motor1_key0_press_state
+	nbranch remote_car_send_motor1_key0_press,blank
+	fetch 1,mem_remote_car_motor1_key1_press_state
+	nbranch remote_car_send_motor1_key1_press,blank
+	branch remote_car_send_motor1_key0_rel
+	
+remote_car_lr_check:
+	fetch 1,mem_remote_car_motor2_key2_press_state
+	nbranch remote_car_send_motor2_key2_press,blank
+	fetch 1,mem_remote_car_motor2_key3_press_state
+	nbranch remote_car_send_motor2_key3_press,blank
+	branch remote_car_send_motor2_key2_rel
+
+
+remote_car_scale_process_idle:
+	call remote_car_24g_status_process
+	branch remote_car_key_scan_process
+
+remote_car_scale_process_bb_event:
+	copy regc,pdata
+	beq BT_EVT_BUTTON_UP,app_event_button_up
+	beq BT_EVT_BUTTON_LONG_PRESSED,app_button_long_pressed
+	beq BT_EVT_24G_PAIRING_COMPLETE,remote_car_24g_pairing_complete
+	beq BT_EVT_24G_ATTEMPT_SUCCESS,remote_car_24g_attempt_success
+	beq BT_EVT_24G_ATTEMPT_FAIL,remote_car_24g_attempt_fail
+	rtn
+
+remote_car_24g_attempt_fail:
+	branch g24_txbuf_clear
+
+remote_car_24g_pairing_complete:
+	call remote_car_set_24g_addr_eeprom
+	call iicd_write_protect_eep_data
+remote_car_24g_attempt_success:
+	jam 0,mem_24g_conn_sm
+	jam WORK_PAIRED,mem_remote_car_24g_auto_work_step
+	jam WORK_PAIRED,mem_remote_car_24g_pair_success_flag
+	rtn
+
+remote_car_24g_status_process:
+	fetch 1,mem_remote_car_24g_auto_work_step
+	rtneq POWER_ON
+	fetch 1,mem_remote_car_24g_status
+	rtneq WORK_PAIRED
+	jam WORK_PAIRED,mem_remote_car_24g_status
+remote_car_scale_process_paired:
+	arg 0,rega
+	branch ui_led_off_global
+remote_car_scale_process_shutdown:
+	arg 0,rega
+	call ui_led_off_global
+	call remote_car_ui_led_init
+	branch app_enter_hibernate
+	
+remote_car_event_timer:
+	call app_power_timer
+	call g24_pair_timeout_timer
+	call g24_reconn_timeout_timer	
+	branch remote_car_no_data_timer
+
+remote_car_no_data_timer:
+	fetch 1,mem_remote_car_config_timeout_shutdown_enable
+	rtn blank
+	fetch 1,mem_key_value_retention
+	nbranch remote_no_data_timer_init,blank
+	arg mem_remote_car_no_data_timer,regc
+	arg remote_car_scale_process_shutdown,regb
+	branch timer_single_step_2B
+
+
+//cross key,control front-back motor layout
+remote_car_send_motor1_key0_press:	//front
+	jam MOTOR_POSITIVE,mem_remote_car_24g_motor1_payload
+	rtn
+remote_car_send_motor1_key1_press:	//back
+	jam MOTOR_NEGATIVE,mem_remote_car_24g_motor1_payload
+	rtn
+remote_car_send_motor2_key2_press:	//left
+	jam MOTOR_POSITIVE,mem_remote_car_24g_motor2_payload
+	rtn
+remote_car_send_motor2_key3_press:	//right
+	jam MOTOR_NEGATIVE,mem_remote_car_24g_motor2_payload
+	rtn
+
+
+remote_car_send_motor1_key0_rel:
+remote_car_send_motor1_key1_rel:
+	jam MOTOR_STOP,mem_remote_car_24g_motor1_payload
+	rtn
+remote_car_send_motor2_key2_rel:
+remote_car_send_motor2_key3_rel:
+	jam MOTOR_STOP,mem_remote_car_24g_motor2_payload
+	rtn
+	
+remote_car_send_key:
+	arg mem_remote_car_24g_motor_packet,rega
+	branch queue_push
+remote_car_send_attack:
+	arg mem_remote_car_24g_fire_packet,rega
+	branch queue_push
+
+remote_car_g24_package_data:
+	fetch 1,mem_remote_car_24g_pair_success_flag
+	beq WORK_PAIRED,remote_car_g24_send_empty
+	arg mem_remote_car_24g_tx_temp,rega
+	call queue_pop
+	nbranch remote_car_moto_data,user
+remote_car_g24_package_data_continue:
+	arg mem_remote_car_24g_tx_temp,contr
+	ifetch 1,contr
+	copy pdata,rega
+	arg mem_remote_car_24g_tx_temp+1,regb
+	//rega: length
+	//regb: tx buffer
+	rtn
+	
+remote_car_g24_send_empty:
+	jam 0,mem_remote_car_24g_pair_success_flag
+	enable user
+	arg 1,rega
+	arg mem_remote_car_empty_packet,regb
+	rtn
+	
+remote_car_moto_data:
+	fetch 1,mem_remote_car_24g_tx_temp+3	//cmd
+	beq CAR_CMD_L_R_MOTOR_CONTROL,remote_car_moto_data_next
+	beq CAR_CMD_F_B_MOTOR_CONTROL,remote_car_moto_data_next
+	rtn
+remote_car_moto_data_next:
+	fetch 1,mem_remote_car_24g_tx_temp+6	//data moto1
+	nbranch remote_car_moto_data_enable_user,blank
+	fetch 1,mem_remote_car_24g_tx_temp+8	//data moto2
+	nbranch remote_car_moto_data_enable_user,blank
+	fetch 1,mem_remote_car_24g_tx_temp+10	//data moto3
+	nbranch remote_car_moto_data_enable_user,blank
+	rtn
+remote_car_moto_data_enable_user:
+	enable user
+	branch remote_car_g24_package_data_continue
+
+
+
+/*************remote car default_init starting*********************/
+remote_car_default_init:
+	jam 0x14,mem_ui_button_timeout
+	jam 0x01,mem_ui_button_last_state
+	setarg 0x060f
+	store 2,mem_remote_car_queue_each_size
+	setarg mem_remote_car_queue_each_size
+	store 2,mem_queue_ptr
+	jam 0x01,mem_lpm_mode
+	jam 0x06,mem_lpm_overhead
+	jam 0x02,mem_lpm_mult_timeout
+	jam 0x00,mem_remote_car_hard_soft_switch
+	setarg mem_remote_style_led_type
+	store 2,mem_ui_led_struct_ptr
+	jam 0x01,mem_ui_led_struct_num
+	jam 0xff,mem_remote_style_blink_count
+	setarg 0x0296
+	store 2,mem_remote_style_on_time
+	setarg 0x073a
+	store 2,mem_remote_style_off_time
+	setarg mem_remote_car_soft_power
+	store 2,mem_power_param_ptr
+	setarg 0x0c0c
+	store 2,mem_remote_car_power_off_timeout
+	setarg mem_remote_car_keyscan
+	store 2,mem_keyscan_ptr
+	jam 0x00,mem_remote_car_config_soft_switch_enable
+	jam 0xff,mem_remote_car_config_connect_led_gpio
+	jam 0xff,mem_remote_car_config_soft_switch_gpio
+	jam 0x00,mem_remote_car_config_key_map
+	jam 0x00,mem_remote_car_config_layout
+	jam 0x00,mem_remote_car_config_check_way
+	jam 0x01,mem_remote_car_config_timeout_shutdown_enable
+	setarg 0x4e55
+	store 2,mem_current_vdd_value_default_mid_x
+	store 2,mem_current_vdd_value_default_mid_y
+	setarg 0x0007
+	store 2,mem_current_vdd_default_range
+	jam 0x02,mem_adc_config_flag
+	setsect 0,0x35a0c
+	setsect 1,0x11a
+	setsect 2,0x60
+	setsect 3,0x28
+	store 9,mem_remote_car_24g_motor_packet
+	setsect 0,0x2000a
+	setsect 1,0x02
+	istore 4,contw
+	setsect 0,0x35a08
+	setsect 1,0x19a
+	setsect 2,0x00
+	setsect 3,0x00
+	store 9,mem_remote_car_24g_fire_packet
+	setarg 0x0064
+	store 2,mem_remote_car_no_data_timeout
+	jam TX_POWER_0DB,mem_tx_power
+	jam 0x01,mem_24g_data_type		//24g init
+	jam 0x06,mem_24g_max_retry
+	jam 0x01,mem_24g_pair_switch
+	jam 0x00,mem_24g_fast_conn_enable
+	call g24_rx_window_init
+	call g24_interval_param_8ms
+	call g24_chmap_param_init
+	call g24_pair_param_init
+	setarg 0x0708
+	store 2,mem_24g_pair_timeout_init
+	setarg 0x0050
+	store 2,mem_24g_reconn_timeout_init
+	setarg 0x0a7700
+	store 3,mem_24g_long_sleep_set
+	setarg 0x604800
+	store 3,mem_24g_enter_hibernate
+	branch app_sys_param_init
+
+/*************remote car default_init ending*********************/
+
+else
+remote_car_init:
+	rtn
+endif
+
+
+
+
Index: program/app_shutter.prog
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/program/app_shutter.prog	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/program/app_shutter.prog	(working copy)
@@ -0,0 +1,1026 @@
+
+ifdef COMPILE_SHUTTER
+
+//define CLASSIC_SHUTTER_FUCTION
+
+shutter_init:
+	call enable_authrom
+	rtn wake
+	setarg shutter_le_before_hibernate
+	store 2,mem_cb_before_hibernate
+
+	setarg shutter_process_lpm_before
+	store 2,mem_cb_before_lpm
+	
+	setarg app_enter_hibernate
+	store 2,mem_cb_discovry_timeout
+	
+	setarg shutter_process_idle
+	store 2,mem_cb_idle_process
+		
+	setarg shutter_process_bb_event 
+	store 2,mem_cb_bb_event_process
+
+	setarg shutter_le_scale_lpm_lock
+	store 2,mem_cb_check_wakelock
+	
+	setarg ble_shutter_receive_data
+	store 2,mem_cb_att_write
+
+	setarg shutter_le_bb_event_timer
+	store 2,mem_cb_event_timer
+
+	setarg shutter_key_change
+	store 2,mem_cb_shutter_keycan
+
+	setarg shutter_soft_swtich_power_on
+	store 2,mem_shutter_soft_switch_poweron_callback_function
+	setarg shutter_soft_swtich_power_off
+	store 2,mem_shutter_soft_switch_poweroff_callback_function
+
+	call shutter_set_ble_version
+	call le_modified_name
+	call shutter_init_param	
+	call keyscan_key_init
+	call queue_init
+	call ui_led_init_global
+	
+	bpatch patch1c_5,mem_patch1c
+	call shutter_load_buffer_config_form_DataRom
+ifdef CLASSIC_SHUTTER_FUCTION
+	call shutter_load_bluetooth_config_by_eeprom
+	call shutter_random_mac_addr
+	call classic_shutter_load_reconn_info
+endif
+	fetch 1, mem_shutter_hard_soft_switch_case
+	beq HARD_SWITCH, shutter_hart_swtich_power_on
+	fetch 1,mem_shutter_soft_switch_button_gpio
+	store 1,mem_ui_button_gpio
+	branch ui_soft_swtich_init
+
+shutter_set_ble_version:
+	//set ble version  4.1 
+	jam 7,mem_lmp_version
+	rtn
+
+/**************hard swtich function**************/
+shutter_hart_swtich_power_on:
+	jam UI_BUTTON_GPIO_DISABLE,mem_ui_button_gpio
+	jam SS_STATE_POWER_ON,mem_shutter_soft_switch_power_state
+	branch shutter_start_reconnect
+/****************************/
+
+/**************lpm lock callback function**************/
+shutter_le_scale_lpm_lock:
+	fetch 1,mem_shutter_soft_switch_power_state
+	beq SS_STATE_POWER_OFF,app_get_lpm_wake_lock
+	call l2cap_malloc_get_full_map
+	fetch 1,mem_used_map
+	nbranch app_get_lpm_wake_lock,blank
+	branch app_put_lpm_wake_lock
+/****************************/
+
+/**************c512bt event callback function*************/
+shutter_process_bb_event:
+	copy regc,pdata
+	
+ifdef CLASSIC_SHUTTER_FUCTION
+/**************classic shutter event*****************/
+	beq BT_EVT_BB_CONNECTED,classic_shutter_process_baseband_connect
+	beq BT_EVT_BB_DISCONNECTED,classic_shutter_process_baseband_disconnect
+	beq BT_EVT_RECONN_FAILED,classic_shutter_process_reconnect_failed
+	beq BT_EVT_SETUP_COMPLETE,classic_shutter_process_setup_complete
+	beq BT_EVT_HID_CONNECTED,app_hid_connected
+	beq BT_EVT_HID_DISCONNECTED,classic_shutter_process_hid_disconnect
+	beq BT_EVT_HID_HANDSHAKE,classic_shutter_process_hid_handshake
+	beq BT_EVT_RECONN_PAGE_TIMEOUT,classic_shutter_process_reconnect_page_timeout
+	beq BT_EVT_VIRTUAL_CABLE_UNPLUG,classic_shutter_process_virtual_cable_unplug
+	beq BT_EVT_REMOTE_UNSNIFF,classic_shutter_process_remote_unsniff
+	beq BT_EVT_STORE_NVRAM,classic_shutter_process_store_reconnect_information
+endif
+/**************ble shutter event*****************/
+	beq BT_EVT_LE_CONNECTED,ble_shutter_process_baseband_connect
+	beq BT_EVT_LE_DISCONNECTED,ble_shutter_process_baseband_disconnect
+	beq BT_EVT_LE_RECONNECT_COMPLETE,ble_shutter_process_reconnect_complete
+	beq BT_EVT_LE_PARSE_CONN_PAPA_UPDATE_RSP,ble_shutter_process_parse_connect_parameter_update_response
+/***************soft swtich event****************/
+	beq BT_EVT_BUTTON_LONG_PRESSED,shutter_process_soft_swtich_button_long_press
+	beq BT_EVT_BUTTON_DOWN,shutter_process_soft_swtich_button_down
+	beq BT_EVT_BUTTON_UP,shutter_process_soft_swtich_button_up
+	rtn
+/****************************/
+
+ifdef CLASSIC_SHUTTER_FUCTION
+/******************classic shutter event**********************/
+classic_shutter_process_baseband_connect:
+	jam 0,mem_classic_shutter_hid_disconn_count
+	jam 0,mem_classic_shutter_cable_unplug_conut	
+	rtn
+
+
+classic_shutter_process_baseband_disconnect:
+	call classic_shutter_disconnect_clear_flag
+	branch classic_shutter_process_reconnect_failed
+
+classic_shutter_disconnect_clear_flag:
+	jam APP_HANDSHAKE_NULL,mem_app_handshake_flag
+	jam 0,mem_hid_handshake_timer_count
+	jam 0,mem_unsniff2sniff_timer_count
+	jam 0,mem_classic_shutter_cable_unplug_conut
+	jam 0,mem_classic_shutter_hid_disconn_count
+	branch queue_init
+
+
+classic_shutter_process_reconnect_failed:
+	call app_disconn_reason_clear
+	branch shutter_start_bluetooth_discovery
+
+
+classic_shutter_process_setup_complete:
+	call shutter_stop_bluetooth_discovery
+	branch app_led_stop_blink
+
+
+classic_shutter_process_hid_disconnect:
+	jam 0,mem_classic_shutter_cable_unplug_conut	
+	setarg FLAG_SHUTTER_HID_DISCONN_TIMEOUT
+	store 1,mem_classic_shutter_hid_disconn_count
+	rtn
+
+
+classic_shutter_process_hid_handshake:
+	fetch 1,mem_app_handshake_flag
+	rtneq APP_HANDSHAKE_DONE
+	jam APP_HANDSHAKE_DONE,mem_app_handshake_flag
+	call app_lpm_mult_enable
+	call app_store_reconn_info
+	call shutter_stop_bluetooth_discovery
+	call app_led_off
+	branch app_bt_enter_sniff
+
+
+classic_shutter_process_reconnect_page_timeout:
+	branch classic_shutter_process_reconnect_failed
+
+
+classic_shutter_process_virtual_cable_unplug:
+	setarg FLAG_SHUTTER_CABLE_UNPLUG_TIMEOUT
+	store 1,mem_classic_shutter_cable_unplug_conut
+	rtn
+
+
+classic_shutter_process_remote_unsniff:
+	branch app_start_auto_sniff
+
+
+/***************classic shutter store reconn info***********************/
+classic_shutter_process_store_reconnect_information:
+	arg NVRAM_EEPROM_OFFSET,regb
+	fetch 1,mem_nv_data_number
+	mul32 pdata,34,temp
+	fetch 2,mem_nv_data_ptr
+	copy pdata,rega
+	branch iicd_write_eep_data
+
+classic_shutter_load_reconn_info:
+	arg NVRAM_EEPROM_OFFSET,regb
+	fetch 1,mem_shutter_bluetooth_type
+	rtnbit0 CLASSIC_SHUTTER
+	fetch 1,mem_nv_data_number
+	rtn blank
+	mul32 pdata,34,temp
+	fetch 2,mem_nv_data_ptr
+	copy pdata,rega
+	branch iicd_read_eep_data
+/**************************************/
+endif
+/******************ble shutter event**********************/
+ble_shutter_process_baseband_connect:
+	call shutter_stop_bluetooth_discovery
+	setarg 0
+	store 2,mem_ble_shutter_reconn_timer
+	branch app_led_off
+
+
+ble_shutter_process_baseband_disconnect:
+	call queue_init
+	jam 0,mem_ble_shutter_enable_notify
+	branch shutter_start_reconnect
+
+
+ble_shutter_process_reconnect_complete:
+	call queue_init
+	jam 1,mem_ble_shutter_enable_notify
+	fetch 8,mem_ble_shutter_interval_min
+	store 8,mem_le_interval_min
+	call app_lpm_mult_enable
+	branch le_l2cap_tx_update_req
+
+
+ble_shutter_process_parse_connect_parameter_update_response:
+	fetch 2,mem_le_l2cap_signaling_conn_param_update_rsp_result
+	rtneq BLE_SIGNALING_CONNECT_PARAMETER_UPDATE_ACCEPTED
+	fetch 8,mem_ble_shutter_interval_min_new
+	rtn blank
+	store 8,mem_le_interval_min
+	branch le_l2cap_tx_update_req
+/**************************************/
+
+/******************soft swtich event**********************/
+shutter_process_soft_swtich_button_long_press:
+	branch ui_soft_switch_botton_long_press
+
+shutter_process_soft_swtich_button_down:
+	fetch 1,mem_shutter_hard_soft_switch_case
+	rtneq HARD_SWITCH
+	fetch 1,mem_shutter_soft_switch_power_state
+	rtnne SS_STATE_POWER_ON
+	call shutter_store_currenct_led_state
+	branch app_led_on
+	
+shutter_store_currenct_led_state:
+	jam 1,mem_shutter_soft_swtich_botton_down
+	arg 11,loopcnt
+	arg mem_shutter_soft_swtich_led_struct_temp,contw
+	arg mem_shutter_led_struct_app_led,contr
+	branch memcpy
+	
+shutter_process_soft_swtich_button_up:
+	fetch 1,mem_shutter_hard_soft_switch_case
+	rtneq HARD_SWITCH
+	fetch 1,mem_shutter_soft_switch_power_state
+	beq SS_STATE_POWER_ON,shutter_load_currenct_led_state
+	branch ui_soft_switch_botton_up
+
+shutter_load_currenct_led_state:
+	fetch 1,mem_shutter_soft_swtich_botton_down
+	rtnne 1
+	jam 0,mem_shutter_soft_swtich_botton_down
+	fetch 2,mem_ui_state_map
+	bbit1 UI_STATE_BT_CONNECTED,app_led_off
+	bbit1 UI_STATE_BLE_CONNECTED,app_led_off
+	arg 11,loopcnt
+	arg mem_shutter_soft_swtich_led_struct_temp,contr
+	arg mem_shutter_led_struct_app_led,contw
+	branch memcpy
+	
+/**************************************/
+
+
+shutter_le_bb_event_timer:
+/**************shutter check sleep timer**********************/
+	call shutter_check_sleep_timer
+/************************************/
+/**************soft reset power off timer**********************/
+	call shutter_check_power_off_timer
+/************************************/
+
+ifdef CLASSIC_SHUTTER_FUCTION
+/**************classic shutter timer**********************/
+	call classic_shutter_check_unplug_timer
+	call classic_shutter_hid_handshake_timer
+	call classic_shutter_hid_disconn_timer
+/************************************/
+endif
+/**************ble shutter timer**********************/
+	branch ble_shutter_reconn_timer
+/************************************/
+
+/**************shutter check sleep timer**********************/
+shutter_check_sleep_timer:
+	arg mem_shutter_sleep_timer,regc
+	arg shutter_sleep_timeout,regb
+	branch timer_single_step_2B
+shutter_sleep_timeout:
+	jam SS_STATE_POWER_OFF,mem_shutter_soft_switch_power_state
+	call app_led_off
+	call shutter_disconnect_current_connection
+	branch shutter_wait_power_off
+
+/**************soft reset power off timer**********************/
+shutter_check_power_off_timer:
+	arg mem_shutter_power_off_timer,regc
+	arg shutter_check_power_off_timeout,regb
+	branch timer_single_step
+
+shutter_check_power_off_timeout:
+	fetch 2,mem_ui_state_map
+	bbit1 UI_STATE_BLE_CONNECTED,shutter_wait_power_off
+	bbit1 UI_STATE_BT_CONNECTED,shutter_wait_power_off
+	fetch 1,mem_shutter_led_struct_app_led_type
+	beq UI_LED_STATE_BLINK_START,shutter_wait_power_off
+	beq UI_LED_STATE_BLINK_LIGHTING,shutter_wait_power_off
+	beq UI_LED_STATE_BLINK_DARKING,shutter_wait_power_off
+	branch app_enter_hibernate
+/************************************/
+ifdef CLASSIC_SHUTTER_FUCTION
+/**************classic shutter timer**********************/
+classic_shutter_check_unplug_timer:
+	arg mem_classic_shutter_cable_unplug_conut,regc
+	arg classic_shutter_unplug_timeout,regb
+	branch timer_single_step
+	
+classic_shutter_unplug_timeout:
+	fetch 1,mem_CONTROL_tasks
+	set1  L2CAP_DISCONNECT_INTERRUPT, pdata
+	set1  L2CAP_DISCONNECT_CONTROL, pdata
+	store 1,mem_CONTROL_tasks	
+	rtn
+
+classic_shutter_hid_handshake_timer:
+	arg mem_hid_handshake_timer_count,regc
+	arg classic_shutter_process_hid_handshake,regb
+	branch timer_single_step
+
+classic_shutter_hid_disconn_timer:
+	arg mem_classic_shutter_hid_disconn_count,regc
+	arg app_bt_disconnect,regb
+	branch timer_single_step
+
+/************************************/
+endif
+/**************ble shutter timer**********************/
+ble_shutter_reconn_timer:
+	fetch 1,mem_shutter_soft_switch_power_state
+	rtnne SS_STATE_POWER_ON
+	arg mem_ble_shutter_reconn_timer,regc
+	arg shutter_start_bluetooth_discovery,regb
+	branch timer_single_step_2B
+/************************************/
+
+shutter_process_idle:
+	call shutter_send_data_to_master
+	branch keyscan_key_process
+
+
+shutter_process_lpm_before:
+	call gpio_set_before_lpm
+	branch keyscan_process_lpm_before
+
+shutter_le_before_hibernate:
+	call gpio_set_before_lpm
+	branch disable_authrom
+
+//////////////////////////////////////////////////////////////////////////////////////////
+
+
+/****************shutter bluetooth control**********************/
+shutter_stop_bluetooth_discovery:
+	fetch 1,mem_shutter_bluetooth_type
+ifdef CLASSIC_SHUTTER_FUCTION	
+	bbit1 CLASSIC_SHUTTER,classic_shutter_stop_bluetooth_discovery
+endif	
+	bbit1 BLE_SHUTTER,ble_shutter_stop_bluetooth_discovery
+	rtn
+
+ble_shutter_stop_bluetooth_discovery:
+	fetch 2,mem_ble_shutter_connect_timeout
+	store 2,mem_shutter_sleep_timeout
+	store 2,mem_shutter_sleep_timer
+	branch app_ble_stop_adv
+	
+ifdef CLASSIC_SHUTTER_FUCTION	
+classic_shutter_stop_bluetooth_discovery:
+	fetch 2,mem_classic_shutter_connect_timeout
+	store 2,mem_shutter_sleep_timeout
+	store 2,mem_shutter_sleep_timer
+	branch app_bt_stop_discovery
+endif
+
+shutter_start_bluetooth_discovery:
+	fetch 1,mem_shutter_soft_switch_power_state
+	rtnne SS_STATE_POWER_ON
+	fetch 1,mem_shutter_bluetooth_type
+ifdef CLASSIC_SHUTTER_FUCTION	
+	bbit1 CLASSIC_SHUTTER,classic_shutter_start_discovery
+endif
+	bbit1 BLE_SHUTTER,ble_shutter_start_discovery
+	rtn
+ifdef CLASSIC_SHUTTER_FUCTION
+classic_shutter_start_discovery:
+	fetch 2,mem_classic_shutter_discovery_timeout,
+	store 2,mem_shutter_sleep_timeout
+	store 2,mem_shutter_sleep_timer
+	branch app_bt_start_discovery_short
+endif
+ble_shutter_start_discovery:
+	fetch 2,mem_ui_state_map
+	rtnbit1 UI_STATE_BLE_CONNECTED
+	fetch 2,mem_ble_shutter_discovery_timeout
+	store 2,mem_shutter_sleep_timeout
+	store 2,mem_shutter_sleep_timer
+	fetch 2,mem_ble_shutter_discovery_adv_interval
+	call shutter_ble_adv_interval_set
+	call app_led_start_blink
+	fetch 4,mem_ble_shutter_discovery_blink_on_time
+	store 4,mem_shutter_led_struct_app_led_on_time
+	fetch 2,mem_ui_state_map
+	rtnbit1 UI_STATE_BLE_ADV
+	branch app_ble_start_adv
+
+
+shutter_start_reconnect:
+	fetch 1,mem_shutter_soft_switch_power_state
+	rtnne SS_STATE_POWER_ON
+	fetch 1,mem_shutter_bluetooth_type
+ifdef CLASSIC_SHUTTER_FUCTION	
+	bbit1 CLASSIC_SHUTTER,classic_shutter_start_reconnect
+endif
+	bbit1 BLE_SHUTTER,ble_shutter_start_reconnect
+	rtn
+ifdef CLASSIC_SHUTTER_FUCTION
+classic_shutter_start_reconnect:
+	call app_check_reconn_target
+	branch shutter_start_bluetooth_discovery,blank
+	call app_led_on	
+	call app_bt_stop_discovery
+	branch app_bt_start_reconnect	
+endif
+ble_shutter_start_reconnect:
+	fetch 2,mem_ble_shutter_reconn_timer
+	fetcht 2,mem_ble_shutter_reconn_timeout
+	storet 2,mem_ble_shutter_reconn_timer
+	nrtn blank
+	fetch 2,mem_ble_shutter_reconn_adv_interval
+	call shutter_ble_adv_interval_set
+	call app_led_start_blink
+	fetch 4,mem_ble_shutter_reconn_blink_on_time
+	store 4,mem_shutter_led_struct_app_led_on_time
+	fetch 2,mem_ui_state_map
+	rtnbit1 UI_STATE_BLE_ADV
+	branch app_ble_start_adv
+
+shutter_disconnect_current_connection:
+	fetch 2,mem_ui_state_map
+	bbit1 UI_STATE_BLE_CONNECTED,app_ble_disconnect
+ifdef CLASSIC_SHUTTER_FUCTION
+	bbit1 UI_STATE_BT_CONNECTED,app_bt_disconnect
+endif
+	branch shutter_stop_bluetooth_discovery
+/**************************************/
+ifdef CLASSIC_SHUTTER_FUCTION
+/******************classic shutter load reconnect*********************/
+app_check_reconn_target:
+	fetch 1,mem_nv_data_number
+	copy pdata,loopcnt
+	fetch 2,mem_nv_data_ptr
+	copy pdata,rega
+app_check_reconn_target_loop:
+	ifetch 2,rega
+	beq 0,found_reconn_device
+	increase NV_DATA_LEN,rega
+	loop app_check_reconn_target_loop
+	branch enable_blank
+
+found_reconn_device:
+	ifetch 6,contr
+	store 6,mem_hci_plap
+	increase 10,contr
+	arg mem_link_key,contw
+	call  memcpy16
+	call check_link_key_load
+	branch disable_blank
+	
+/**************************************/
+endif
+/////////////////////////////////////////////////////////////////////////
+//output:if user is enable,mean,can send data
+shutter_check_data_enable:
+	call disable_user
+	fetch 2,mem_ui_state_map
+ifdef CLASSIC_SHUTTER_FUCTION
+	bbit1 UI_STATE_BT_CONNECTED,shutter_check_bt_data_enable
+endif
+	bbit1 UI_STATE_BLE_CONNECTED,shutter_check_ble_data_enable
+	rtn
+
+ifdef CLASSIC_SHUTTER_FUCTION
+shutter_check_bt_data_enable:
+	fetch 1,mem_hid_interrupt_state
+	rtnne 0x3f	
+	branch enable_user
+endif	
+
+shutter_check_ble_data_enable:
+	fetch 1,mem_ble_shutter_enable_notify
+	rtn blank
+	branch enable_user
+/////////////////////////////////////////////////////////////////////////
+
+/////////////////////////////////////////////////////////////////////////
+//output:if user is enable,mean,bluetooth disconnect
+shutter_check_bluetooth_conn:
+	call disable_user
+	fetch 2,mem_ui_state_map
+	rtnbit1 UI_STATE_BT_CONNECTED
+	rtnbit1 UI_STATE_BLE_CONNECTED
+	branch enable_user
+/////////////////////////////////////////////////////////////////////////
+
+/////////////////////////////////////////////////////////////////////////
+shutter_change_bluetooth_status_bt_disconn:
+	fetch 1,mem_shutter_bluetooth_type
+ifdef CLASSIC_SHUTTER_FUCTION
+	bbit1 CLASSIC_SHUTTER,classic_shutter_change_bluetooth_status_bt_disconn
+endif
+	bbit1 BLE_SHUTTER,ble_shutter_change_bluetooth_status_bt_disconn
+	rtn
+ifdef CLASSIC_SHUTTER_FUCTION	
+classic_shutter_change_bluetooth_status_bt_disconn:
+	fetch 1,mem_scan_mode
+	rtnne 0x03
+	branch shutter_start_reconnect
+endif
+ble_shutter_change_bluetooth_status_bt_disconn:
+	branch shutter_start_reconnect
+
+/////////////////////////////////////////////////////////////////////////
+
+shutter_check_send_data:
+	disable user2
+	fetch 2,mem_shutter_sleep_timeout
+	store 2,mem_shutter_sleep_timer
+
+	call shutter_check_bluetooth_conn
+	branch shutter_change_bluetooth_status_bt_disconn,user
+	
+	call shutter_check_data_enable
+	nrtn user
+	enable user2
+	rtn
+
+//queue = key index
+//rega =1 press, =0 release
+shutter_key_change:
+	call shutter_check_send_data
+	nrtn user2
+	deposit rega
+	branch shutter_key_release,blank
+shutter_key_press:
+	call app_led_on
+	arg mem_key0_press,regc
+	branch push_queue_press_or_release
+
+shutter_key_release:
+	call app_led_off
+	arg mem_key0_release,regc
+
+push_queue_press_or_release:
+	arg MAX_QUEUE_NUM,pdata
+	imul32 queue,pdata
+	iadd regc,regc
+	
+//input:regc the address that want push to queue buffer
+push_buffer_in_queue:
+	ifetch 1,regc
+	rtn blank
+	call queue_push_one_byte
+	increase 1,regc
+	branch push_buffer_in_queue
+
+
+shutter_send_data_to_master:
+	fetch 2,mem_ui_state_map
+	bbit1 UI_STATE_BLE_CONNECTED,pop_queue_to_ble_data
+ifdef CLASSIC_SHUTTER_FUCTION	
+	bbit1 UI_STATE_BT_CONNECTED,pop_queue_to_classic_data
+endif
+	rtn
+
+pop_queue_to_ble_data:
+	call le_fifo_check_nearly_full
+	nrtn blank
+	call queue_pop_one_byte
+	nrtn user
+	pincrease -1
+	mul32 pdata,SHUTTER_BLE_DATA_BUFFER,pdata
+	arg mem_ble_data_buffer1,temp
+	iadd temp,contr
+	branch le_send_notify_from_list
+
+ifdef CLASSIC_SHUTTER_FUCTION
+pop_queue_to_classic_data:
+	call l2cap_malloc_is_fifo_nearly_full
+	nrtn blank
+	call queue_pop_one_byte
+	nrtn user
+	pincrease -1
+	mul32 pdata,SHUTTER_CLASSIC_DATA_BUFFER,pdata
+	arg mem_classic_data_buffer1,temp
+	iadd temp,contr
+	ifetch 5,contr
+	store 5,mem_classic_data_buffer
+classic_send_hid_data:
+	fetch 1,mem_classic_data_buffer
+	copy pdata,rega
+	call hid_malloc_tx_buff
+	fetch 2,mem_hid_int_remote_cid
+	istore 2,contw
+	setarg 0xa1
+	istore 1,contw
+	fetch 4,mem_classic_data_buffer + 1
+	istore 9,contw
+	rtn
+endif
+///////////queue function////////////
+//input:pdata is data that want push
+queue_push_one_byte:
+	store 1,mem_pdatatemp
+	arg mem_pdatatemp,rega
+	branch queue_push
+
+queue_pop_one_byte:
+	arg mem_pdatatemp,rega
+	call queue_pop
+	nrtn user
+	fetch 1,mem_pdatatemp
+	rtn
+
+///////////queue function ending////////////
+ble_shutter_receive_data:
+	fetch 2,mem_le_att_handle
+	beq GATT_KEYBOARD_WRITE_HANDLE,ble_shutter_process_reconnect_complete
+	rtn
+
+shutter_init_param:
+	setarg 0x02
+	store 1,mem_shutter_power_off_timeout
+/////////////ble connect interval//////////////
+	setarg 0x00200008
+	store 4,mem_ble_shutter_interval_min		//set min interval is 10ms,set max interval is 40ms
+	setarg 0x012c0005
+	istore 4,contw
+///////////////////////////////////////
+//////////////////MTU/////////////
+	jam 0x17,mem_le_local_mtu
+///////////////////////////////////////
+////////////////justwork/////////
+	setarg 0x1b
+ 	store 2,mem_le_pairing_handle
+ 	call le_set_config_fixed_ltk
+	call le_set_fixed_ltk
+	call le_set_justwork
+	branch le_set_config_read_authentication
+///////////////////////////////////////
+
+shutter_load_buffer_config_form_DataRom:
+///////load data Rom/////////
+ifdef CLASSIC_SHUTTER_FUCTION	
+	arg BT_KEY_VALUE_LIST_SIZE,loopcnt
+	arg mem_classic_data_buffer1,contw
+	arg CLASSIC_SHUTTER_KEY_VALUE_LIST,contr
+	call memcpy_fast
+endif
+	arg BLE_KEY_VALUE_LIST_SIZE,loopcnt
+	arg mem_ble_data_buffer1,contw
+	arg BLE_SHUTTER_KEY_VALUE_LIST,contr
+	branch memcpy_fast
+
+shutter_load_ble_gatt_form_DataRom:
+	arg BLE_GATT_LIST_SIZE,loopcnt
+	arg BLE_SHUTTER_GATT_LIST,contr
+	branch memcpy_fast
+
+ifdef CLASSIC_SHUTTER_FUCTION
+shutter_load_bt_sdp_form_DataRom:
+	arg BT_SDP_LIST_SIZE,loopcnt
+	arg CLASSIC_SHUTTER_SDP_LIST,contr
+	branch memcpy_fast
+
+shutter_load_bluetooth_config_store_name:
+	fetch 1,mem_shutter_config_data_temp
+	copy pdata,loopcnt
+	store 1,mem_le_name_len
+	call memcpy_fast
+	fetch 1,mem_shutter_config_data_temp
+	copy pdata,loopcnt
+	store 1,mem_local_name_length
+	call memcpy_fast
+	ifetch 1,contr
+	store 1,mem_shutter_key_num
+	ifetch 1,contr
+	store 1,mem_shutter_hard_soft_switch_case
+	rtn
+
+shutter_load_bluetooth_config_by_eeprom:
+	fetch 1,mem_shutter_bluetooth_type
+	rtnbit0 CLASSIC_SHUTTER
+	arg 3,temp
+	fetch 2,mem_shutter_config_eeprom_offset_addr
+	copy pdata,regb
+	arg mem_shutter_config_eeprom_start_flag,rega
+	call iicd_read_eep_data
+	fetcht 2,mem_shutter_config_eeprom_start_flag
+	setarg SHUTTER_EEPROM_CONFIG_CRC
+	isub temp,null
+	nrtn zero
+	fetch 1,mem_shutter_config_user_size
+	rtn blank
+	copy pdata,temp
+	fetch 2,mem_shutter_config_eeprom_offset_addr
+	add pdata,3,regb
+	arg mem_shutter_config_data_temp,rega
+	call iicd_read_eep_data
+	branch shutter_store_config
+
+shutter_store_config:
+	call shutter_load_bluetooth_config_store_name
+shutter_load_bluetooth_config_custom:
+	ifetch 2,contr
+	rtn blank
+	copy pdata,contw
+	ifetcht 1,contr
+	copy temp,loopcnt
+	call memcpy
+	branch shutter_load_bluetooth_config_custom
+///////////////////////////////////////////////////////////////////
+
+//////////////////////////random mac address//////////////////////////////
+shutter_random_mac_addr:
+	fetch 1,mem_shutter_bluetooth_type
+	rtnbit0 CLASSIC_SHUTTER
+	fetch 2,mem_classic_shutter_random_mac_offset_addr
+	rtn blank
+	copy pdata,regb
+	arg 4,temp
+	arg mem_shutter_random_mac_data_temp,rega
+	call iicd_read_eep_data
+	fetch 1,mem_shutter_random_mac_data_temp
+	bne 1,shutter_write_random_mac_addr_to_eeprom
+	branch shutter_write_random_mac_addr
+shutter_write_random_mac_addr_to_eeprom:
+	setarg 1
+	store 1,mem_shutter_random_mac_data_temp
+	force 3,loopcnt
+	call generate_random_loop
+	fetch 2,mem_classic_shutter_random_mac_offset_addr
+	copy pdata,regb
+	arg 4,temp
+	arg mem_shutter_random_mac_data_temp,rega
+	call iicd_write_eep_data
+shutter_write_random_mac_addr:
+	fetch 3,mem_shutter_random_mac_data_temp + 1
+	store 3,mem_lap
+	store 3,mem_le_lap
+	rtn
+endif
+	
+/////////////////////////////////////////////////////////////////
+shutter_soft_swtich_power_on:
+	branch shutter_start_reconnect
+
+
+shutter_soft_swtich_power_off:
+	arg 0,rega
+	arg mem_shutter_power_off_led_style,regc
+	call ui_led_set_style_global
+	call shutter_disconnect_current_connection
+shutter_wait_power_off:
+	fetch 1,mem_shutter_power_off_timeout
+	store 1,mem_shutter_power_off_timer
+	rtn
+	
+
+/*************soft swtich ui config*********************/
+ui_soft_swtich_init:
+	setarg SS_STATE_POWER_UP
+	call ui_soft_swtich_init_power_on_time
+	jam UI_BUTTON_STATE_UP,mem_ui_button_last_state
+	call ui_button_init
+	call ui_button_polling
+	fetch 2,mem_ui_state_map
+	rtnbit1 UI_STATE_BTN_DOWN
+	branch app_enter_hibernate
+
+ui_soft_swtich_init_power_on_time:
+	fetcht 2,mem_power_param_ptr
+	istore 1,temp		//init power state 
+	ifetch 1,contw		//power on time
+	store 1,mem_ui_button_timeout
+	rtn
+
+
+ui_soft_switch_botton_up:
+	fetch 2,mem_power_param_ptr
+	ifetch 1,pdata
+	rtnne SS_STATE_POWER_UP
+	branch app_enter_hibernate
+
+
+ui_soft_switch_botton_long_press:
+	fetcht 2,mem_power_param_ptr
+	ifetch 1,temp
+	beq SS_STATE_POWER_ON,ui_soft_switch_power_off
+ui_soft_switch_power_on:
+	setarg SS_STATE_POWER_ON
+	fetcht 2,mem_power_param_ptr
+	istore 1,temp		//init power state 
+	add temp,SS_POWER_OFF_TIME,contr
+	ifetch 1,contr
+	istore 1,mem_ui_button_timeout
+	ifetch 2,contr
+	branch callback_func
+
+ui_soft_switch_power_off:
+	setarg SS_STATE_POWER_OFF
+	call ui_soft_swtich_init_power_on_time
+	add temp,SS_POWER_OFF_CB,contr
+	ifetch 2,contr
+	branch app_enter_hibernate,blank		//no call back function , just enter hibernate
+	branch callback_func
+	
+/*************soft swtich ui config ending*********************/
+
+//pdata:adv interval value
+shutter_ble_adv_interval_set:
+	store 2,mem_lpm_interval
+	increase -4,pdata
+	store 2,mem_le_adv_interval
+	rtn
+
+le_send_notify_from_list:
+	ifetch 1,contr	//length 
+	copy pdata,rega
+	ifetcht 2,contr	//handle
+	call store_contr
+	call le_att_malloc_tx_notify
+	copy rega,loopcnt
+	call get_contr
+	branch memcpy
+
+/*************shutter default_init starting*********************/
+shutter_default_init:
+	fetch 2,mem_shutter_key_conf0_temp
+	store 2,mem_shutter_key_conf0
+	fetch 1,mem_shutter_led_struct_app_led_gpio_temp
+	store 1,mem_shutter_led_struct_app_led_gpio
+	store 1,mem_shutter_power_off_led_style_gpio
+	fetch 1,mem_shutter_hard_soft_switch_case_temp
+	store 1,mem_shutter_hard_soft_switch_case
+	fetch 1,mem_shutter_soft_switch_button_gpio_temp
+	store 1,mem_shutter_soft_switch_button_gpio
+	jam 0x01,mem_shutter_bluetooth_type
+	setarg 0x0030
+	store 2,mem_classic_shutter_random_mac_offset_addr
+	setarg 0x0000
+	store 2,mem_shutter_config_eeprom_offset_addr
+	setarg 0x0001
+	store 2,mem_key0_press
+	store 2,mem_key1_press
+	setarg 0x0006
+	store 2,mem_key0_release
+	store 2,mem_key1_release
+	setarg 0x0007
+	store 2,mem_key2_press
+	setarg 0x0008
+	store 2,mem_key2_release
+	setarg mem_shutter_soft_switch_power_state
+	store 2,mem_power_param_ptr
+	setarg 0x201400
+	store 3,mem_shutter_soft_switch_power_state
+	jam 0x01,mem_lpm_mode
+	setarg 0x0100
+	store 2,mem_lpm_interval
+	jam 0x08,mem_lpm_overhead
+	jam 0x05,mem_lpm_mult
+	jam 0x02,mem_lpm_mult_timeout
+	setarg 0x0030
+	store 2,mem_sniff_param_interval
+	setarg 0x0001
+	istore 2,contw
+	jam 0x0a,mem_unsniff2sniff_timer
+	setarg 0x0096
+	store 2,mem_ble_shutter_reconn_blink_on_time
+	istore 2,contw
+	setarg 0x0296
+	store 2,mem_ble_shutter_discovery_blink_on_time
+	istore 2,contw
+	setsect 0,0x10
+	setsect 1,0x8008
+	setsect 2,0x2c000
+	setsect 3,0x04
+	store 8,mem_ble_shutter_interval_min_new
+	jam 0x01,mem_ui_led_struct_num
+	setarg mem_shutter_led_struct_app_led
+	store 2,mem_ui_led_struct_ptr
+	setarg 0x0000
+	store 2,mem_shutter_led_struct_app_led
+	setsect 0,0x1a0
+	setsect 1,0x68
+	setsect 2,0x00
+	setsect 3,0x00
+	store 8,mem_shutter_led_struct_app_led_on_time
+	setarg 0x0301
+	store 2,mem_shutter_power_off_led_style
+	setsect 0,0x1a0
+	setsect 1,0xe8
+	setsect 2,0x00
+	setsect 3,0x00
+	store 8,mem_shutter_power_off_led_style_on_time
+	setarg 0x000e
+	store 2,mem_ble_shutter_reconn_adv_interval
+	setarg 0x0140
+	store 2,mem_ble_shutter_discovery_adv_interval
+	store 2,mem_le_adv_interval
+	setarg 0x0050
+	store 2,mem_ble_shutter_reconn_timeout
+	jam 0x07,mem_le_adv_channel_map
+	jam 0x00,mem_le_adv_enable
+	setsect 0,0xfb
+	setsect 1,0x2c212
+	setsect 2,0x800f
+	setsect 3,0x21
+	store 8,mem_local_rx_max_octets
+	setsect 0,0x0bb8
+	setsect 1,0x02ee
+	store 4,mem_ble_shutter_discovery_timeout
+	setarg mem_queue_each_size
+	store 2,mem_queue_ptr
+	setarg 0x2001
+	store 2,mem_queue_each_size
+	jam 0x1f,mem_le_adv_data_len
+	setsect 0,0x10102
+	setsect 1,0x80c1
+	setsect 2,0x18120
+	setsect 3,0x640c
+	store 9,mem_le_adv_data
+	setsect 0,0x3c1
+	istore 2,contw
+	jam 0x1f,mem_le_scan_data_len
+	setsect 0,0x2090d
+	setsect 1,0x34c15
+	setsect 2,0x28532
+	setsect 3,0x1d1d5
+	store 9,mem_le_scan_data
+	setsect 0,0x26574
+	setsect 1,0x1c
+	istore 3,contw
+	setarg mem_shutter_keyscan
+	store 2,mem_keyscan_ptr
+	jam 0x02,mem_shutter_key_num
+	jam 0x17,mem_app_connection_options		//NVRAM CONFIG
+	setarg mem_shutter_nv_data
+	store 2,mem_nv_data_ptr
+	jam 0x05,mem_nv_data_number
+	setarg 0x2540
+	store 2,mem_class
+	setarg 0x040003
+	store 3,mem_lmp_io_cap_payload_iocap
+	jam 0x03,mem_ssp_mode_flag
+	jam 0x01,mem_ssp_enable
+	jam 0x01,mem_ui_profile_supported
+	jam 0x00,mem_ptt
+	setsect 0,0x3ffff
+	setsect 1,0x2fe23
+	setsect 2,0x199d9
+	setsect 3,0x20d
+	store 8,mem_features		//NVRAM CONFIG END
+	setarg 0x9af2	//BLE ATT LIST 
+	store 2,mem_ui_le_uuid_table	//BLE ATT LIST END
+	jam 0x01,mem_eir_enable	//BT SDP LIST
+	setsect 0,0x10306
+	setsect 1,0x4
+	setsect 2,0x2010
+	setsect 3,0x9040
+	store 9,mem_all_uuid_16bits
+	setsect 0,0x20011
+	setsect 1,0x44
+	istore 5,contw
+	jam 0x00,mem_all_uuid_128bits
+	setarg 0x9c70
+	store 2,mem_ui_uuid_table	//BT SDP LIST END
+	jam 0x18,mem_fcomp_div		//24M XTAL
+	call app_sys_param_init
+
+	//default name:AB Shutter3
+	arg 30,loopcnt
+	arg mem_le_name,contw
+	call clear_mem
+	jam 0x0b,mem_le_name_len
+	setarg 0x204241
+	store 3,mem_le_name
+	setarg 0x756853
+	istore 3,contw
+	setarg 0x657474
+	istore 3,contw
+	setarg 0x3372
+	istore 2,contw
+	fetch 1,mem_shutter_le_name_len
+	rtn blank
+	store 1,mem_le_name_len
+	copy pdata,loopcnt
+	arg mem_shutter_le_name,contr
+	arg mem_le_name,contw
+	branch memcpy
+	
+
+/*************shutter default_init ending*********************/
+
+
+
+
+
+else
+	branch assert
+	
+endif
Index: program/ble_protocol_stack/le.prog
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/program/ble_protocol_stack/le.prog	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/program/ble_protocol_stack/le.prog	(working copy)
@@ -0,0 +1,2003 @@
+ifdef COMPILE_LE
+//******************************************//
+//*************LE INIT ****************//
+//******************************************//
+
+le_init_conn:
+	bpatchx patch33_1,mem_patch33
+	disable wake
+	jam 1,mem_le_conn_handle
+	jam 3,mem_le_state
+	jam 1,mem_le_arq
+	setarg -1
+	store 2,mem_le_event_count
+	force 0,pdata
+	store 1,mem_le_ch
+	store 1,mem_le_op
+	store 3,mem_sniff_rcv
+	store 3,mem_sniff_lost
+	call le_clear_enc
+	jam 1,mem_le_txheader
+	jam 0,mem_le_txlen
+	jam FUN_RX_LL_1M_PHY,mem_le_rx_phy
+	jam FUN_TX_LL_1M_PHY,mem_le_tx_phy
+	jam 0,mem_le_l2cap_att_states
+	branch le_supervision_flush
+
+le_init_master:
+	bpatchx patch33_2,mem_patch33
+	enable master
+	jam lemode_master,mem_le_mode
+	jam 1,mem_le_att_handle
+	jam 1,mem_le_search_handle_start
+	setarg 0xffff
+	store 2,mem_le_search_handle_end
+	force 0,pdata
+	store 5,mem_ccm_pcnt_rx
+	set1 LE_CCM_DIRECTIONBIT,pdata
+	store 5,mem_ccm_pcnt_tx	
+	branch le_init_conn
+
+
+le_init_slave:
+	bpatchx patch33_3,mem_patch33
+	disable master
+ 	setarg 0x17
+ 	store 2,mem_le_remote_mtu
+	increase 4,pdata
+	store 2,mem_remote_rx_max_octets
+	jam lemode_slave,mem_le_mode
+	jam 0,mem_le_adv_enable
+	jam 0,mem_lpm_current_mult
+	call le_clear_pairing_state
+	fetch 2,mem_le_superto
+	store 2,mem_le_init_superto
+	fetch 2,mem_le_tsniff
+	mul32 pdata,5,pdata
+	rshift4 pdata,pdata
+	store 2,mem_le_superto			// vol.6 part B 4.5.2 only 6*conninterval before establish
+	branch le_init_conn
+	
+
+//******************************************//
+//*************LE main process*********//
+//******************************************//
+
+le_conn_dispatch:
+	bpatchx patch33_4,mem_patch33
+	call le_enable
+ 	fetch 1,mem_le_state
+ 	isolate1 lestate_encryption,pdata
+ 	setflag true,mark_ble_encryption,mark
+	call app_process_ble
+	fetch 1,mem_le_mode
+	bbit1 mode_master,le_master_dispatch
+	branch le_slave_dispatch
+	
+//******************************************//
+//***********LE master process*********//
+//******************************************//
+	
+le_master_dispatch:
+	bpatchx patch33_5,mem_patch33
+	enable master
+	call le_supervision_update
+	branch le_master_disconn,positive
+	call le_setup
+	call le_prepare_tx
+	disable match
+	call le_transmit_receive_sifs
+	nrtn match
+	fetch 1,mem_le_conn_rcv
+	increase 1,pdata
+	store 1,mem_le_conn_rcv
+	call le_acknowledge
+	disable master
+	rtn
+	
+le_master_disconn:
+	call le_disconnect
+	disable master
+	rtn
+	
+//******************************************//
+//***********LE slave process***********//
+//******************************************//
+le_slave_dispatch:
+	bpatchx patch33_6,mem_patch33
+	jam 0,mem_le_md_count
+	set0 mark_ble_crc_fail,mark
+ifdef SECURE_CONNECTION
+	call sp_calc_sequence_256
+	call le_secure_connect_sm
+endif
+	disable attempt
+	call le_supervision_update
+	branch le_slave_disconn,positive
+	fetch 1,mem_le_rx_phy
+	call le_enable_phy_by_pdata
+	call le_setup
+	call le_receive_slave
+	nbranch le_slave_unsync,sync	// vol.6 part B 4.5.1 respond even crc error
+	call le_got_first_packet
+	branch le_slave_match,match
+	bmark1 mark_ble_crc_fail,le_slave_crc_fail
+	branch le_slave_cont
+	
+
+le_slave_crc_fail:
+le_slave_match:
+	bpatchx patch33_7,mem_patch33
+	fetch 1,mem_le_md_count
+	pincrease 1
+	store 1,mem_le_md_count
+	beq LE_MD_MAX_COUNT,le_slave_cont
+	call le_acknowledge
+	call le_prepare_tx
+	fetch 1,mem_le_tx_phy
+	call le_enable_phy_by_pdata
+	call le_transmit_norx
+	call le_parse
+	fetch 2,mem_cb_ble_transmit
+	call callback_func
+	call le_check_md
+	branch le_slave_more_data,user
+le_slave_cont:
+	bpatchx patch34_0,mem_patch34
+	call le_pairing_sm
+ 	call le_check_paring_time
+	call check_51cmd
+	fetch 1,mem_le_op
+	bbit1 op_disconn,le_slave_disconn
+le_slave_unsync:
+	bpatchx patch34_1,mem_patch34
+	call le_lpm_set_mult
+	branch calc_clke_offset
+
+
+le_check_md:
+	disable user
+	bmark1 mark_ble_rx_md,enable_user
+	bmark1 mark_ble_tx_md,enable_user
+	bmark1 mark_ble_crc_fail,enable_user
+	rtn
+
+
+le_slave_more_data:
+	bpatchx patch34_2,mem_patch34
+	enable attempt
+	call le_transmit_receive_sifs_notx
+	branch le_slave_match,match
+	bmark1 mark_ble_crc_fail,le_slave_crc_fail
+	branch le_slave_cont
+
+le_slave_disconn:
+
+	//fall through
+le_disconnect:
+	bpatchx patch34_3,mem_patch34
+	call le_clear_connection_info
+	call app_disconn_reason_collect_ble
+ifdef SECURE_CONNECTION
+	call le_clear_pairing_state
+	call le_sc_state_clear
+endif
+	jam BT_EVT_LE_DISCONNECTED,mem_fifo_temp
+	branch ui_ipc_send_event
+
+le_clear_connection_info:
+	arg mem_used_map,contw
+	call memset0_16
+	jam 0,mem_le_conn_handle
+	jam lemode_idle,mem_le_mode
+	jam 0,mem_le_state
+le_clear_pairing_state:
+	bpatchx patch34_4,mem_patch34
+	jam FLAG_LE_ENC_NULL,mem_le_enc_state
+	jam FLAG_LE_PAIRING_NULL,mem_le_pairing_state
+	branch sp_clear_flags
+	
+le_got_first_packet:
+	bpatchx patch34_5,mem_patch34
+	fetch 1,mem_le_conn_rcv
+	increase 1,pdata
+	store 1,mem_le_conn_rcv
+	fetch 1,mem_le_state
+	rtnbit1 lestate_got_first_packet
+	set1 lestate_got_first_packet,pdata
+	store 1,mem_le_state
+	fetch 2,mem_le_init_superto
+	store 2,mem_le_superto
+	setarg 0
+	store 4,mem_le_transmit_window
+	rtn
+
+
+//input: pdata is phy mode
+//bit0 is le 1M phy
+//bit1 is le 2M phy
+//bit2 is le coded phy s2
+//bit7 is le coded phy s8
+le_enable_phy_by_pdata:
+	copy pdata,temp
+	bpatchx patch34_6,mem_patch34
+	copy temp,pdata
+	bbit1 BIT_LE_1M_PHY,le_enable
+	bbit1 BIT_LE_2M_PHY,le_enable_2M
+	bbit0 BIT_LE_CODED_PHY,le_enable
+	bbit1 BIT_LE_CODED_PHY_S8,le_enable_coded_s8
+	bbit1 BIT_LE_CODED_PHY_S2,le_enable_coded_s2
+	branch le_enable
+
+le_enable_2M:
+	call le_enable
+	set1 mark_ble_2M,mark
+	set0 mark_ble_lr,mark
+	jam 0x03,0x8901
+	jam 0x84,0x8920
+	rtn
+
+le_enable_coded_s2:
+le_enable_coded:
+	call le_enable
+	set1 mark_ble_lr,mark
+	set0 mark_ble_lr_s8,mark
+	jam 0x05,0x8901
+	jam 0x80,0x8920
+	jam 0x20,0x8930
+	jam 0x0a,0x8934
+	rtn
+
+le_enable_coded_s8:
+	call le_enable_coded
+	set1 mark_ble_lr_s8,mark
+	rtn
+
+le_enable:
+	bpatchx patch34_7,mem_patch34
+	enable le
+	set0 mark_ble_2M,mark
+	set0 mark_ble_lr,mark
+	jam 0x01,0x8901
+	jam 0x80,0x8920
+	jam 0xa7,0x8925
+	jam 0x03,0x8930
+	jam 0x58,0x8933
+	jam 0x0a,0x8934
+	jam 0x40,0x8937
+	jam 9,core_rx_bq_cfg0
+	rtn
+
+
+le_disable:
+	bpatchx patch35_0,mem_patch35
+	disable le
+	set0 mark_ble_encryption,mark
+	jam 0x00,0x8901
+	jam 0x80,0x8920
+	jam 0xa3,0x8925
+	jam 0x03,0x8930
+	jam 0x68,0x8933
+	jam 0x09,0x8934
+	jam 0x28,0x8937
+	jam 9,core_rx_bq_cfg0
+	rtn
+	
+le_prep:
+	disable enable_crc
+	disable enable_white
+	fetch 3,mem_le_crcinit
+	iforce crc24_init
+	fetch 1,mem_le_ch_mapped
+	reverse pdata,temp
+	set1 1,temp
+	rshift temp,white_init
+	rtn
+	
+
+le_rx_setfreq:
+	call le_setfreq
+le_rf_rx_enable:	
+	call set_freq_rx
+	fetch 2,mem_param_pll_setup
+	call sleep
+	branch rf_rx_enable
+
+le_tx_setfreq:
+	branch txon,match
+	bmark1 mark_ble_crc_fail,txon
+le_tx_setfreq0:
+	call le_setfreq
+	branch set_freq_tx
+le_setfreq:
+	bpatchx patch35_1,mem_patch35
+	call set_sync_on
+	fetch 1, mem_le_testtype
+	nbranch le_ctf_test,blank
+	fetch 1,mem_le_ch_mapped
+	sub pdata,36,null
+	branch le_ctf_normal,positive
+	force 0,temp
+	rtneq 37
+	force 24,temp
+	rtneq 38
+	force 78,temp
+	rtn
+	
+le_ctf_normal:
+	sub pdata,10,null
+	branch le_ctf_low,positive
+	increase 1,pdata
+	
+le_ctf_low:	
+	lshift pdata,pdata
+	add pdata,2,temp
+	rtn
+	
+le_ctf_test:
+	fetch 1,mem_le_ch_mapped
+	lshift pdata,temp
+	rtn
+
+le_sca_map:
+	arg 500,temp
+	rtn blank
+	arg 250,temp
+	rtneq 1
+	arg 150,temp
+	rtneq 2
+	arg 100,temp
+	rtneq 3
+	arg 75,temp
+	rtneq 4
+	arg 50,temp
+	rtneq 5
+	arg 40,temp
+	rtneq 6
+	arg 20,temp
+	rtn
+
+
+	
+le_setup:
+	bpatchx patch35_2,mem_patch35
+	enable swfine
+	fetch 4,mem_le_access
+	iforce access
+	call calc_mod_value_scale_le
+	call le_map_channel
+	setarg 0x200
+	branch le_setup_master,master
+	fetch 2,mem_le_receive_window
+	rshift pdata,pdata
+le_setup_master:
+	fetcht 2,mem_param_pll_setup
+	iadd temp,pdata
+	call ahead_window
+	deposit clke
+	rtn
+
+
+le_context_nextevent:
+	bpatchx patch35_3,mem_patch35
+	call push_stack_rega_b_c
+	storer loopcnt ,2,mem_loopcnt
+	add rega,coffset_mode,contr
+	ifetch 1,contr
+	rtnbit0 mode_le
+	add rega,coffset_le_event_cnt,contw
+	ifetch 2,contw
+	increase 1,pdata
+	istore 2,contw
+	call le_update_param
+	call le_update_channel_map
+	call le_update_phy	
+	call le_context_nexthop
+	call pop_stack_rega_b_c
+	fetchr loopcnt ,2,mem_loopcnt
+	rtn
+	
+le_context_nexthop:	
+	add rega,coffset_le_hop,contr
+	ifetch 1,contr
+	add rega,coffset_le_ch,contw
+	ifetcht 1,contw
+	iadd temp,pdata
+	sub pdata,36,null
+	branch le_nexthop_nowrap,positive
+	increase -37,pdata
+le_nexthop_nowrap:
+	istore 1,contw
+	rtn
+
+//input rega
+le_calc_channel_map:
+	add rega,coffset_le_channel_map,contr
+	ifetch 5,contr
+	force 0,temp
+	force 37,loopcnt
+le_count_channels_loop:
+	bbit0 0,le_count_channels_notused
+	increase 1,temp
+le_count_channels_notused:
+	rshift pdata,pdata
+	loop le_count_channels_loop
+	add temp,-1,pdata
+	add rega,coffset_le_channels,contw
+	istore 1,contw
+	rtn
+
+le_map_channel:
+	bpatchx patch35_4,mem_patch35
+	fetch 1,mem_le_ch
+	iforce queue
+	fetcht 5,mem_le_channel_map
+	qisolate1 temp
+	branch le_map_channel_end,true
+le_map_channel_next:
+	fetch 1,mem_le_channels
+	isub queue,pdata
+	branch le_map_channel_cont,positive
+	sub pdata,-1,queue
+	branch le_map_channel_next
+le_map_channel_cont:
+	copy queue,loopcnt
+	force 0,queue
+le_map_channel_loop:
+	qisolate1 temp
+	branch le_map_channel_skip,true
+	increase 1,loopcnt
+le_map_channel_skip:
+	deposit loopcnt
+	branch le_map_channel_end,blank
+	increase 1,queue
+	increase -1,loopcnt
+	branch le_map_channel_loop
+le_map_channel_end:
+	deposit queue
+	store 1,mem_le_ch_mapped
+	rtn
+
+
+le_wait_tx:
+	branch le_wait_master,master
+	until null,timeout
+	rtn
+	
+le_wait_master:
+	arg 0xea0,timeup
+	until clkn_rt,meet
+	rtn
+
+le_receive_adv:
+	disable swfine
+	fetch 2,mem_le_scan_window
+	copy pdata,timeup
+	branch le_receive_packet
+
+
+le_receive_slave:
+	bpatchx patch35_5,mem_patch35
+ 	call le_dec_init
+	enable swfine
+	fetch 2,mem_le_receive_window
+	fetcht 4,mem_le_transmit_window
+	iadd temp,timeup
+le_receive_packet:
+	call le_rx_setfreq
+le_receive_rxon:
+	bpatchx patch35_6,mem_patch35
+	call le_prep
+	bmark0 mark_ble_lr,le_receive_nolr
+	pulse dewhiten_code_calc
+	nop 30
+	call le_prep
+	lshift3 timeup,timeup
+le_receive_nolr:
+	disable match
+	enable decode_fec0
+	enable is_rx
+	disable is_tx
+	copy timeup,stop_watch
+	correlate null,timeout
+	branch le_receive_on_attempt,attempt
+	copy clke,temp
+	storet 6,mem_sync_clke
+le_receive_on_attempt:
+	nbranch le_unsync_end,sync
+	bpatchx patch35_7,mem_patch35
+	enable swfine
+	arg PARAM_T_IFS_150US+PARAM_20MS_INIT+PARAM_SYNC_TIME_DIFFERENCE,temp
+	fetch 1,mem_system_clk
+	imul32 temp,stop_watch
+	call rf_debug_rx_sync_line	//L-H
+	branch le_receive_skip,attempt
+	call calc_clke_all_modem
+	fetch 1,mem_le_state
+	bbit0 lestate_got_first_packet,le_receive_skip
+	fetcht 6,mem_sync_clke
+	call lpm_adjust_clk,wake
+le_receive_skip:
+	call save_rssi
+	enable enable_white
+	enable enable_crc
+	parse demod,bucket,8
+	rshift3 pwindow,pdata
+	store 1,mem_le_rxbuf_data_header
+	parse demod,bucket,8
+	rshift3 pwindow,pdata
+	store 1,mem_le_rxbuf_data_length
+ 	copy pdata,loopcnt
+	branch le_rx_nopayload,zero
+
+	bmark1 mark_ble_encryption,le_rx_dec
+
+le_rx_loop:
+	parse demod,bucket,8
+	rshift3 pwindow,pdata
+	istore 1,contw
+	loop le_rx_loop
+	branch le_rx_nopayload
+
+le_rx_dec: 
+	copy contw,regb
+	call le_check_retransmit	
+//	bmark1 mark_old_packet,le_retransmit_end_of_packet
+	fetchr rega, 1,mem_le_rxbuf_data_length
+	increase -4,rega
+	nbranch le_mic_error,positive
+//	storer rega, 1,mem_le_rxbuf_data_length
+	call le_dec_start	
+	copy regb,contw
+	arg 0,temp
+	fetchr loopcnt, 1,mem_le_rxbuf_data_length
+	increase -4,loopcnt
+	branch le_rx_dec_loop_end,zero
+le_rx_dec_loop:
+	
+	parse demod,bucket,8
+	rshift3 pwindow,pdata
+	istore 1,contw
+	increase 1,temp
+	and temp,0xf,null
+	call le_dec,zero
+	loop le_rx_dec_loop
+le_rx_dec_loop_end:
+	call le_dec_end	
+	copy regb,contw
+	
+
+le_rx_nopayload:
+	bpatchx patch36_0,mem_patch36
+	parse demod,bucket,24	
+	rshift32 pdata,pdata
+	rshift16 pdata,pdata
+	istore 3,contw
+	enable swfine
+	call le_set_until_tx_timer
+	branch le_crc_fail,crc_failed
+	bmark0 mark_ble_encryption,le_rx_match
+	fetch 1,mem_le_rxbuf_data_length
+	branch le_rx_match,blank
+	increase -4,pdata
+	store 1,mem_le_rxbuf_data_length
+	call wait_ccm_done
+ 	fetch 1,core_misc_status
+	bbit0 7, le_mic_error
+ 	force regidx_result,regext_index
+	storer regext, 4,mem_le_peer_mic
+le_rx_match:
+	call rf_debug_rx_crc_line	//L
+	enable match
+	set0 mark_ble_crc_fail,mark
+le_crc_fail_tx:
+	call ccm_ctrl_clr
+	fetch 1,mem_le_rx_phy
+	nsetflag ble_coded_info,BIT_LE_CODED_PHY_S8,pdata
+	store 1,mem_le_rx_phy
+le_match_set_txfreq:
+	bpatchx patch36_1,mem_patch36
+	fetcht 1,mem_last_freq
+	add temp,2,rega
+	bmark1 mark_ble_2M,le_match_set_txfreq_offset
+	add temp,2,rega
+le_match_set_txfreq_offset:
+	disable decode_fec0
+	call set_sync_on	
+	branch rf_tx_write_freq				/* set frequency to tx mode freq */
+	
+
+le_dec_init:
+	rtnmark0 mark_ble_encryption
+	call load_sk
+	force regidx_result,regext_index
+	call aes_clear
+	branch aes_clear_data
+	
+	
+le_dec_start:
+	jam 0,core_ccm_aad0 
+	jam 1,core_ccm_aad1
+	fetch 1,mem_le_rxbuf_data_header
+	and_into 0x3,pdata
+	store 1,core_ccm_aad2
+	
+	setarg mem_le_rxbuf_data_payload
+	store 2,core_ccm_input_playload_addr
+	store 2,core_ccm_output_playload_addr
+
+	fetchr rega, 1,mem_le_rxbuf_data_length
+	increase -4,rega
+
+	fetcht 5,mem_ccm_pcnt_rx	
+	isolate1 mark_old_packet,mark
+	call le_pcnt_rx_sub1,true
+	call ccm_b0
+	setarg 0
+	store 2,core_ccm_inptr
+	jam 6,core_ccm_ctrl
+	jam 7,core_ccm_ctrl	
+	rtn	
+
+le_pcnt_rx_sub1:
+	sub temp,0,null
+	branch le_pcnt_rx_sub1_0,zero
+	increase -1,temp
+	set1 LE_CCM_DIRECTIONBIT,temp
+	rtn
+
+le_pcnt_rx_sub1_0:
+	setarg 0xffffff
+	lshift16 pdata,pdata
+	arg 0xffff,temp
+	ior temp,temp
+	rtn
+
+le_dec:
+	copy contw,regb
+	fetch 1,mem_le_rxbuf_data_length
+	increase -4,pdata
+	isub temp,null
+	rtn zero
+	storet 2,core_ccm_inptr
+	copy regb,contw
+	rtn
+	
+le_dec_end://mic
+	parse demod,bucket,32
+	rshift32 pdata,pdata
+	rshift8 pdata,pdata
+	istore 4,contw
+	copy contw,regb
+//	store 4,mem_le_peer_mic
+	force regidx_data,regext_index
+	copy  pdata,regext
+	storet 2,core_ccm_inptr
+	rtn
+
+le_mic_error:
+	branch le_end_of_packet
+
+le_retransmit_end_of_packet:
+	call le_set_until_tx_timer	// start SIFS timer after last bit of crc
+	call end_of_packet
+	branch le_rx_match
+
+le_crc_fail:
+	call rf_debug_rx_crc_fail_line
+	bmark1 mark_ble_crc_fail,le_crc_fail_consecutive //two consecutive packets received with an invalid CRC match within a connection event shall close the event
+	set1 mark_ble_crc_fail,mark
+	branch le_crc_fail_tx
+	
+le_unsync_end:	
+le_crc_fail_consecutive:
+	set0 mark_ble_crc_fail,mark
+	branch le_end_of_packet
+
+le_end_of_packet:
+	call ccm_ctrl_clr
+	branch end_of_packet
+	
+calc_clke_all_modem:
+	bmark1 mark_ble_lr,calc_clke_modem_coded
+	bmark1 mark_ble_2M,calc_clke_modem_2M
+	fetch 2,mem_param_clke_cal_le_1m
+	copy pdata,clke_rt
+	copy bt_clk,clke_bt
+	rtn
+
+
+calc_clke_modem_coded:
+	fetch 2,mem_param_clke_cal_le_coded
+	copy pdata,clke_rt
+	add bt_clk,1,clke_bt
+	rtn
+
+calc_clke_modem_2M:
+	fetch 2,mem_param_clke_cal_le_2m
+	copy pdata,clke_rt
+	copy bt_clk,clke_bt
+	rtn
+
+
+le_set_until_tx_timer:
+	fetch 1,mem_le_rxbuf_data_length
+	add pdata,5,temp	//PDU Length
+	lshift3 temp,temp	//PDU bit size
+	fetch 1,mem_le_rx_phy
+	bmark1 mark_ble_lr,le_set_until_tx_timer_rx_lr
+	bbit1 BIT_LE_1M_PHY,le_set_until_tx_timer_rx_1M
+	bbit1 BIT_LE_2M_PHY,le_set_until_tx_timer_rx_2M
+le_set_until_tx_timer_rx_lr:
+	branch le_set_until_tx_timer_rx_coded_s2,ble_coded_info
+	branch le_set_until_tx_timer_rx_coded_s8
+
+le_set_until_tx_timer_rx_1M:
+	branch le_calc_stop_watch
+
+le_set_until_tx_timer_rx_2M:
+	rshift temp,temp
+	branch le_calc_stop_watch
+
+le_set_until_tx_timer_rx_coded_s2:
+	add temp,3,temp	//term2
+	lshift temp,temp
+	branch le_set_until_tx_timer_rx_coded
+
+le_set_until_tx_timer_rx_coded_s8:
+	add temp,3,temp	//term2
+	lshift3 temp,temp
+le_set_until_tx_timer_rx_coded:
+	setarg PARAM_CODED_C1_TERM1_TIME_40US
+	iadd temp,temp
+	branch le_calc_stop_watch
+
+le_calc_stop_watch:
+	fetch 1,mem_system_clk
+	imul32 temp,temp		//mips cpu
+	arg PARAM_20MS_INIT,rega
+	imul32 rega,pdata
+	isub temp,temp
+	copy stop_watch,pdata
+	isub temp,stop_watch
+	rtn
+
+le_transmit_receive_sifs_without_change_mode:
+	call le_transmit
+	fetcht 1,mem_last_freq
+	call set_freq_rx
+	call rf_rx_enable
+	enable swfine
+	arg 5500,timeup
+	branch le_receive_rxon
+
+
+le_transmit_receive_sifs:
+	bpatchx patch36_2,mem_patch36
+	fetch 1,mem_le_tx_phy
+	call le_enable_phy_by_pdata
+	call le_transmit
+le_transmit_receive_sifs_notx:
+	fetch 1,mem_le_rx_phy
+	call le_enable_phy_by_pdata
+
+	fetcht 1,mem_last_freq
+	call set_freq_rx
+	call rf_rx_enable
+	enable swfine
+	arg 5500,timeup
+	bmark0 mark_ble_lr,le_receive_rxon
+	arg 8500,timeup
+	branch le_receive_rxon
+
+le_transmit_norx:
+	call le_transmit
+	branch end_of_packet
+	
+le_transmit:
+	bpatchx patch36_3,mem_patch36
+	call le_prep
+	call le_tx_setfreq
+	call rf_debug_tx_on_line	//H
+	set1 TXGFSK,radio_ctrl
+	enable encode_fec0
+	enable is_tx
+	disable is_rx
+	call le_wait_tx
+	disable lr_s2en
+	bmark1 mark_ble_lr,le_transmit_lr
+	bmark1 mark_ble_2M,le_transmit_2M
+	rshift16 access,pdata
+	rshift8 pdata,pdata
+	rshift4 pdata,pdata
+	inject mod,40
+le_transmit_packet:
+	enable enable_white
+	enable enable_crc
+	bpatchx patch36_4,mem_patch36
+	fetch 1,mem_le_txheader
+	inject mod,8
+	ifetch 1,contr
+	copy pdata,loopcnt
+	inject mod,8
+	sub loopcnt,0,null
+	branch le_tr_nopayload,zero
+
+	fetch 1,core_ccm_ctrl
+	branch le_transmit_packet_not_enc,blank 
+	bmark1 mark_ble_encryption,le_transmit_packet_enc
+le_transmit_packet_not_enc:	
+	arg mem_le_txpayload,contr
+le_tr_loop:
+	ifetch 1,contr
+	inject mod,8
+	loop le_tr_loop
+	
+le_tr_nopayload:
+	enable enable_parity
+	inject mod,24
+	disable enable_parity
+	bmark0 mark_ble_lr,le_transmit_skip
+	disable enable_white
+	setarg 0
+	inject mod,3
+le_transmit_skip:
+	until null,tx_clear
+	nop 100          /* flush out the last bit */
+	disable encode_fec0
+	disable encode_fec3
+	call set_sync_on
+	call rf_debug_tx_off_line	//L
+le_check_start_pause_enc:
+	fetch 1,mem_le_txheader
+	and pdata,LLID_LE_LL,pdata
+	rtnne LLID_LE_LL
+	fetch 1,mem_le_enc_state
+	beq  FLAG_LE_ENC_PAUSE,le_clear_enc
+	rtnne FLAG_LE_SEND_START_ENC_REQ
+	fetch 1,mem_le_txpayload
+	beq LL_START_ENC_REQ,le_set_enc
+	rtn
+	
+
+le_transmit_packet_enc:
+	increase -4,loopcnt
+	copy loopcnt,temp	
+	call ccm_wait_enc	
+	arg mem_le_txpayload,contr
+le_transmit_packet_enc_loop:
+	ifetch 1,contr
+	inject mod,8
+	loop le_transmit_packet_enc_loop
+	call ccm_check_enc_done
+	copy regext,pdata
+	inject mod,32
+	branch le_tr_nopayload
+
+le_transmit_lr:
+	arg 10,loopcnt
+le_transmit_lr_preamble_loop:
+	setarg 0x3c
+	inject mod,8
+	loop le_transmit_lr_preamble_loop
+	disable encode_fec0
+	enable encode_fec3
+	rshift16 access,pdata
+	rshift16 pdata,pdata
+	rshift4 pdata,pdata
+	inject mod,32
+	bmark1 mark_ble_lr_s8,le_transmit_lr_s8
+le_transmit_lr_s2:
+	setarg 1
+	inject mod,5
+	enable lr_s2en
+	branch le_transmit_packet
+
+le_transmit_lr_s8:
+	setarg 0
+	inject mod,5
+	branch le_transmit_packet
+
+le_transmit_2M:
+	fetch 1,mem_system_clk
+	rshift pdata,loopcnt
+le_transmit_2M_dealy:
+	nop 2
+	loop le_transmit_2M_dealy
+//	nop 36	//2M 前端发送比1M快3us左右
+	rshift16 access,pdata
+	rshift8 pdata,pdata
+	rshift4 pdata,temp
+	copy temp,pdata
+	inject mod,8
+	copy temp,pdata
+	inject mod,40
+	branch le_transmit_packet
+	
+
+le_update_param:
+	arg le_update_param_ahead1_cb,regc
+	arg le_update_param_cb,regb
+	arg lestate_update_param,queue
+	branch le_check_update_flag
+
+le_update_param_ahead1_cb:
+	add rega,coffset_sniff_anchor,contr
+	ifetcht 4,contr
+	add rega,coffest_le_new_transmitwindowsize,contr
+	ifetch 1,contr
+	add rega,coffset_le_window_size,contw
+	istore 1,contw
+	ifetch 2,contr
+	lshift2 pdata,pdata
+	iadd temp,timeup	//add windowsize
+	add rega,coffset_sniff_anchor,contw  
+	deposit timeup
+	istore 4,contw
+	ifetch 2,contr
+	lshift2 pdata,pdata
+	add rega,coffset_tsniff,contw
+	istore 2,contw
+	ifetch 4,contr
+	add rega,coffset_le_slave_latency,contw
+	istore 4,contw
+	branch le_receive_window_size
+
+le_update_param_cb:
+	ifetch 1,rega
+	set0 lestate_got_first_packet,pdata
+	istore 1,rega
+	fetch 2,mem_le_superto
+	store 2,mem_le_init_superto
+	storer rega,2,mem_rega
+	jam BT_EVT_LE_PARSE_CONN_PARAM_ACCEPTED,mem_fifo_temp
+	call ui_ipc_send_event
+	fetchr rega,2,mem_rega
+	add rega,coffset_le_slave_superto,contr
+	ifetch 2,contr
+	store 2,mem_le_init_superto
+	rtn	
+
+le_update_channel_map:
+	arg 0,regc
+	arg le_update_channel_map_cb,regb
+	arg lestate_update_map,queue
+	branch le_check_update_flag
+	
+le_update_channel_map_cb:
+	add rega,coffset_le_new_map,contr
+	ifetch 5,contr
+	add rega,coffset_le_channel_map,contw
+	istore 5,contw
+	branch le_calc_channel_map
+	
+
+le_update_phy:
+	arg 0,regc
+	arg le_update_phy_cb,regb
+	arg lestate_update_phy,queue
+	branch le_check_update_flag
+	
+le_update_phy_cb:
+	add rega,coffset_le_new_m2s_phy,contr
+	ifetch 1,contr
+	call le_update_phy_cb_m2s
+	istore 1,contw
+	add rega,coffset_le_new_s2m_phy,contr
+	ifetch 1,contr
+	call le_update_phy_cb_s2m
+	istore 1,contw
+	storer rega,2,mem_rega
+	jam BT_EVT_LE_UPDATE_PHY,mem_fifo_temp
+	call ui_ipc_send_event
+	fetchr rega,2,mem_rega
+	rtn	
+
+le_update_phy_cb_m2s:
+	call le_update_phy_cb_m2s_no_change,blank
+	add rega,coffset_le_rx_phy,contw
+	nrtn master
+	fetcht 1,mem_le_tx_phys
+	isolate1 BIT_LE_CODED_PHY_S8,temp
+	setflag true,BIT_LE_CODED_PHY_S8,pdata
+	add rega,coffset_le_tx_phy,contw
+	rtn
+
+le_update_phy_cb_m2s_no_change:
+	add rega,coffset_le_rx_phy,contr
+	ifetch 1,contr
+	nrtn master
+	add rega,coffset_le_tx_phy,contr
+	ifetch 1,contr
+	rtn
+
+le_update_phy_cb_s2m:
+	call le_update_phy_cb_s2m_no_change,blank
+	fetcht 1,mem_le_tx_phys
+	isolate1 BIT_LE_CODED_PHY_S8,temp
+	setflag true,BIT_LE_CODED_PHY_S8,pdata
+	add rega,coffset_le_tx_phy,contw
+	nrtn master
+	set0 BIT_LE_CODED_PHY_S8,pdata
+	add rega,coffset_le_rx_phy,contw
+	rtn
+
+le_update_phy_cb_s2m_no_change:
+	add rega,coffset_le_tx_phy,contr
+	ifetch 1,contr
+	nrtn master
+	add rega,coffset_le_rx_phy,contr
+	ifetch 1,contr
+	rtn
+	
+
+//regb regc is cb function
+//queue is state flag
+le_check_update_flag:
+	ifetch 1,rega
+	qisolate0 pdata
+	rtn true
+	add rega,coffset_le_event_cnt,contr
+	ifetcht 2,contr
+	add rega,coffset_le_instant,contr
+	ifetch 2,contr
+	
+	isub temp,pdata
+	branch le_update,zero
+	nbranch le_check_update_small,positive
+	sub pdata,1,null
+	branch le_update_ahead1,zero
+	rtn
+	
+le_update_ahead1:
+	copy regc,pdata
+	branch callback_func
+
+le_update:
+	ifetch 1,rega
+	qset0 pdata
+	istore 1,rega
+	copy regb,pdata
+	branch callback_func
+	
+le_check_update_small:
+	add rega,coffset_le_event_cnt,contr
+	ifetch 2,contr
+	add rega,coffset_le_instant,contr
+	ifetch 2,contr
+	isub temp,pdata
+	arg 0xffff,temp
+	isub temp,null
+	branch le_update,zero
+	arg 0xf000,temp
+	isub temp,null
+	nbranch le_update,positive
+	rtn
+	
+
+le_check_retransmit:
+	fetcht 1,mem_le_arq
+	fetch 1,mem_le_rxbuf_data_header
+//	isolate1 md,pdata
+//	setflag true,mark_ble_rx_md,mark
+	rshift pdata,pdata
+	ixor temp,pdata
+	isolate1 nesn,pdata
+	setflag true,mark_old_packet,mark	/* retransmit */
+	rtn
+
+
+le_acknowledge:
+	bpatchx patch36_5,mem_patch36
+	call le_supervision_flush
+	rtnmark1 mark_ble_crc_fail
+	call le_check_wak
+	fetch 1,mem_le_rxbuf_data_header
+	isolate1 md,pdata
+	setflag true,mark_ble_rx_md,mark
+	rshift pdata,pdata
+	ixor temp,pdata
+	isolate1 nesn,pdata
+	setflag true,mark_old_packet,mark	/* retransmit */
+	rtnmark1 mark_old_packet
+	fetch 1,mem_le_rxbuf_data_length
+	branch le_ack_unenc,blank		/* empty packet, no decryption */
+	fetch 1,mem_le_state
+	bbit0 lestate_encryption,le_ack_unenc
+	fetcht 4,mem_le_peer_mic
+	fetch 4,mem_ccm_last_mic			
+	isub temp,null
+	branch assert,zero
+	storet 4,mem_ccm_last_mic
+	fetch 5,mem_ccm_pcnt_rx
+	increase 1,pdata
+	set1 LE_CCM_DIRECTIONBIT,pdata
+	store 5,mem_ccm_pcnt_rx
+	
+le_ack_unenc:
+	fetcht 1,mem_le_arq
+	setflip nesn,temp
+	storet 1,mem_le_arq
+	fetch 1,mem_le_configuration
+	rtnbit0 BIT_BLE_DEAL_BB_PACKET
+	bpatchx patch36_6,mem_patch36
+	fetch 1,mem_le_rxbuf_data_length
+	rtn blank		//empty packet
+	fetch 1,mem_le_rxbuf_data_header
+	compare LLID_CONTINUE,pdata,3
+	branch le_parse_writing_attribute_continue,true //ACL-U continue
+	compare LLID_START,pdata,3
+	branch le_parse_writing_attribute_start,true
+	rtn
+
+	
+le_check_wak:
+	bpatchx patch36_7,mem_patch36
+	fetcht 1,mem_le_arq
+	isolate0 wak,temp
+	rtn true
+	fetch 1,mem_le_rxbuf_data_header
+	lshift pdata,pdata
+	ixor temp,pdata
+	rtnbit0 sn			/* received NESN is same as SN, NAK */
+	set0 wak,temp
+	setflip sn,temp
+	storet 1,mem_le_arq
+	compare 3,temp,3
+	nrtn true
+	rtn
+	
+
+le_set_enc:
+	fetch 1,mem_le_state
+	set1 lestate_encryption,pdata
+	store 1,mem_le_state
+	set1 mark_ble_encryption,mark
+	rtn	
+	
+le_clear_enc:
+	bpatchx patch37_0,mem_patch37
+	jam FLAG_LE_ENC_NULL,mem_le_enc_state
+	arg 0,pdata
+	store 4,mem_ccm_last_mic
+	store 5,mem_ccm_pcnt_tx
+	set1 LE_CCM_DIRECTIONBIT,pdata
+	store 5,mem_ccm_pcnt_rx
+	fetch 1,mem_le_state
+	set0 lestate_encryption,pdata
+	store 1,mem_le_state
+	set0 mark_ble_encryption,mark
+	rtn
+
+
+
+
+le_scan_check_sender_addr_type:
+	arg 1,rega// sender_addr_type
+	fetch 1,mem_le_rxbuf_adv_connect_ind_header
+	rtnbit1 LE_SENDER_ADDR_BIT
+	arg 0,rega
+	rtn
+
+
+le_get_master_rx_max:
+	copy contr,contw
+	fetcht 2,mem_remote_rx_max_octets
+	copy contw,contr
+	rtn
+
+
+le_prepare_tx:
+	bpatchx patch37_1,mem_patch37
+	fetch 1,mem_le_arq
+	rtnbit1 wak
+	call le_check_tx_md
+	call le_fifo_get_first_tx_ptr	//no packet to send
+	branch le_send_empty,blank
+	ifetch 2,contr
+	ifetcht 2,contr
+	copy temp,rega
+	isub rega,pdata
+	call le_get_master_rx_max
+	call not_greater_than
+	copy pdata,temp
+	ifetchr type,1,contr
+	copy rega,pdata
+	iadd contr,pdata
+	store 2,mem_contr
+	call le_update_tx_type
+	call le_send_packet
+	
+	call le_fifo_get_first_tx_ptr
+	ifetch 2,contr
+	copy pdata,rega	//rega:total length
+	copy contr,regc
+	ifetcht 2,contr
+	copy temp,regb	//temp&regb is offset
+	isub regb,pdata
+	call le_get_master_rx_max
+	call not_greater_than
+	iadd regb,pdata
+	istore 2,regc
+	isub rega,null
+	nrtn zero
+	branch le_fifo_release_first_node
+
+	
+le_check_tx_md:
+	call le_check_continue
+	rtnmark1 mark_ble_tx_md
+	fetch 1,mem_le_configuration
+	bbit0 BIT_BLE_TRANSMIT_PACKET_BY_MD,le_clear_md
+	call le_fifo_get_second_tx_ptr	//no packet to send
+	branch le_clear_md,blank
+	branch le_set_md
+
+	
+le_check_continue:
+	call le_fifo_get_first_tx_ptr	//no packet to send
+	branch le_clear_md,blank
+	ifetch 2,contr				//pdata:length
+	ifetcht 2,contr				//temp:offest
+	isub temp,rega			//pdata:length - offset
+	call le_get_master_rx_max
+	copy temp,pdata
+	isub rega,null
+	branch le_clear_md,positive				//27 > length -offset
+le_set_md:
+	set1 mark_ble_tx_md,mark
+	rtn
+
+le_clear_md:
+	set0 mark_ble_tx_md,mark
+	rtn
+
+le_update_tx_type:
+	copy rega,pdata
+	rtn blank
+	arg LLID_CONTINUE,type
+	rtn
+
+
+le_att_check_notification_enable: // temp ->handle,output-> pdata,output :contr->rega
+	bpatchx patch37_2,mem_patch37
+	increase 1,temp
+	call le_att_get_handle_ptr
+	increase -2,contr
+	ifetch 2,contr
+	arg CLIENT_CHARACTERTIC_CONFIGURATION,temp
+	isub temp,null
+	nrtn zero
+	increase 1,contr
+	copy contr,rega
+	ifetch 1,contr
+	rtn
+	
+
+le_send_empty:
+	force 0,temp
+	force 1,type
+	
+le_send_packet:
+	bpatchx patch37_3,mem_patch37
+	storet 1,mem_le_txlen
+	fetcht 1,mem_le_arq
+	set1 wak,temp
+	and temp,0xfc,pdata
+	ior type,pdata
+	store 1,mem_le_arq
+	and_into 0x1f,pdata
+	isolate1 mark_ble_tx_md,mark
+	setflag true,md,pdata
+	store 1,mem_le_txheader
+
+	fetch 1,mem_le_txheader
+	compare 1,type,3
+	nbranch le_send_no_txlen,true
+	fetch 1,mem_le_txlen
+	rtn blank
+	
+le_send_no_txlen:	
+	bmark1 mark_ble_encryption,le_send_packet_enc
+	fetchr loopcnt,1,mem_le_txlen
+	fetch 2,mem_contr
+	copy pdata,contr
+	arg mem_le_txpayload,contw
+	branch memcpy_fast
+	
+le_send_packet_enc:
+	call load_sk
+	branch le_encrypt_new_start
+
+get_lpm_wake_ble_rx_lock:
+	arg wake_lock_ble_rx,queue
+	branch lpm_get_wake_lock
+
+put_lpm_wake_ble_rx_lock:
+	arg wake_lock_ble_rx,queue
+	branch lpm_put_wake_lock
+
+
+le_parse:
+	bpatchx patch37_4,mem_patch37
+	rtnmark1 mark_old_packet
+	rtnmark1 mark_ble_crc_fail
+	fetch 1,mem_le_rxbuf_data_header
+	and pdata,0x3,pdata
+	store 1,mem_le_packet_llid
+	fetch 1,mem_le_rxbuf_data_length
+	rtn blank							//empty rtn
+	setarg mem_le_rxbuf_data_payload
+	store 2,mem_le_payload_ptr
+	bpatchx patch37_5,mem_patch37
+	fetch 1,mem_le_packet_llid
+	beq LLID_LE_LL,le_parse_ll
+le_parse_l2cap:
+	call le_check_l2cap_complete
+	nbranch get_lpm_wake_ble_rx_lock,user
+	call put_lpm_wake_ble_rx_lock
+	setarg 0
+	store 2,mem_le_packet_len_recved
+	fetch 2,mem_le_payload_ptr
+	add pdata,2,contr	//l2cap length
+	bpatchx patch37_6,mem_patch37
+	ifetch 2,contr
+	beq LE_L2CAP_CID_ATT,le_parse_att
+	beq LE_L2CAP_CID_SMP,le_parse_smp
+	beq LE_L2CAP_CID_SIGNAL,le_parse_signaling
+	rtn
+
+
+le_check_l2cap_complete:
+	fetch 1,mem_le_packet_llid
+	beq LLID_START,le_check_l2cap_llid_start
+	beq LLID_CONTINUE,le_check_l2cap_llid_continue
+	rtn
+
+//input: pdata is CID number
+//output: 	if CID is legal ,enable user
+//		if ICD is illegal,disable user 
+le_check_l2cap_CID_legal:
+	call enable_user
+	arg LE_L2CAP_CID_ATT,temp
+	isub pdata,null
+	rtn zero
+	arg LE_L2CAP_CID_SIGNAL,temp
+	isub pdata,null
+	rtn zero
+	arg LE_L2CAP_CID_SMP,temp
+	isub pdata,null
+	rtn zero
+	branch disable_user
+
+	
+le_check_l2cap_llid_start:
+	fetch 2,mem_le_payload_ptr
+	copy pdata,contr
+	ifetch 2,contr
+	store 2,mem_le_l2cap_size
+	ifetch 2,contr			//CID
+	call le_check_l2cap_CID_legal
+	nrtn user		//CID error
+	fetcht 1,mem_le_rxbuf_data_length
+	storet 2,mem_le_packet_len_recved
+	fetch 2,mem_le_l2cap_size
+	increase 4,pdata		//CID:2 L2cap length 2
+	isub temp,null
+	branch enable_user,zero
+	fetchr loopcnt,1,mem_le_rxbuf_data_length
+	arg mem_le_l2cap_buf,contw
+	fetch 2,mem_le_payload_ptr
+	copy pdata,contr
+	call memcpy_fast
+	branch disable_user
+
+//no input
+//output: 	if CID is legal ,enable user
+//		if ICD is illegal,disable user 
+le_check_l2cap_continue_legal:
+	call enable_user
+	fetch 2,mem_le_packet_len_recved
+	nrtn blank
+	branch disable_user
+
+le_check_l2cap_llid_continue:
+	call le_check_l2cap_continue_legal
+	nrtn user		//check receive start packet
+	fetch 2,mem_le_packet_len_recved
+	arg mem_le_l2cap_buf,contw
+	iadd contw,rega
+	fetcht 1,mem_le_rxbuf_data_length
+	iadd temp,pdata
+	store 2,mem_le_packet_len_recved
+	fetchr loopcnt,1,mem_le_rxbuf_data_length
+	copy rega,contw
+	fetch 2,mem_le_payload_ptr
+	copy pdata,contr
+	call memcpy_fast
+	setarg mem_le_l2cap_buf
+	store 2,mem_le_payload_ptr		//update ptr->mem_le_l2capbuff
+	fetch 2,mem_le_l2cap_size
+	increase 4,pdata
+	fetcht 2,mem_le_packet_len_recved
+	isub temp,null
+	branch enable_user,zero
+	branch disable_user
+
+
+
+
+
+le_get_search_att_uuid:
+	call store_contr
+	arg mem_le_search_uuid_length,contw
+	branch le_get_search_common
+
+
+	/* rega pointers to data, regb is length */
+le_writeatt_cb:
+	fetch 2,mem_cb_att_write
+	branch callback_func
+	
+le_supervision_update:
+	fetcht 4,mem_le_supervision_timer
+	call get_clkbt
+	isub temp,timeup					/* and to 28 bits */
+	deposit timeup
+	fetcht 2,mem_le_superto
+	lshift4 temp,temp
+	lshift temp,temp
+	isub temp,pdata
+	rtn
+	
+le_supervision_flush:
+	call get_clkbt
+	store 4,mem_le_supervision_timer
+	rtn
+
+	
+//input rega
+le_receive_window_size:
+	bpatchx patch37_7,mem_patch37
+	add rega, coffset_le_peer_sca,contr
+	ifetch 1,contr
+	call le_sca_map
+	add rega, coffset_tsniff,contr
+	ifetch 2,contr
+	imul32 temp,pdata
+	fetcht 2,mem_param_rt_rthalfslot
+	imul32 temp,pdata
+	arg 1000000,temp
+	idiv temp
+	arg PARAM_WINDOWN_SIZE,temp
+	fetch 1,mem_system_clk
+	imul32 temp,temp
+	add rega, coffset_le_window_size,contr
+	ifetch 1,contr
+	imul32 temp,pdata
+	iadd temp,pdata
+	store 4,mem_le_transmit_window	
+	fetch 2,mem_rx_window_sniff
+	call wait_div_end
+	quotient temp
+	iadd temp,pdata
+	add rega, coffset_rx_window,contw
+	istore 2,contw
+	rtn
+
+	
+
+le_init_attlist_search:
+	bpatchx patch38_0,mem_patch38
+	fetch 2,mem_le_search_handle_start
+	iforce regb
+	fetch 2,mem_le_search_handle_end
+	iforce regc
+	fetch 2,mem_ui_le_uuid_table
+	iforce contr
+	enable user
+	rtn
+
+	/* return handle in pdata, blank:end of list, positive:in range */
+le_att_handle_inrange:
+	ifetch 2,contr
+	and_into 0xff,pdata
+	rtn blank
+	isub regb,null			/* less than start ? */
+	nrtn positive
+	isub regc,null			/* greater than end ? */
+	rtn zero
+	branch le_att_handle_blank,positive
+	force 1,null
+	rtn
+le_att_handle_blank:
+	force 0,pdata
+	rtn
+
+
+	/* handle in temp, return pointer in contr to length, blank not found */
+le_att_get_handle_ptr:
+	call le_att_get_handle_ptr2
+	branch le_att_get_handle_ptr_found,zero
+	rtn
+	
+le_att_get_handle_ptr2:
+	bpatchx patch38_1,mem_patch38
+	fetch 2,mem_ui_le_uuid_table
+	iforce contr
+le_att_get_handle_loop1:
+	ifetch 2,contr
+	and_into 0xff,pdata
+	rtn blank
+	isub temp,null
+	rtn zero
+	ifetch 1,contr
+	iadd contr,contr	
+	ifetch 1,contr			// length  
+	iadd contr,contr
+	branch le_att_get_handle_loop1
+le_att_get_handle_ptr_found:
+	ifetch 1,contr
+	iadd contr,contr	
+	rtn	
+
+
+
+le_att_get_short_uuid_ptr:
+	bpatchx patch38_2,mem_patch38
+	fetch 2,mem_ui_le_uuid_table
+	iforce contr
+le_att_get_short_uuid_loop:
+	ifetch 2,contr
+	and_into 0xff,pdata
+	rtn blank
+	ifetch 1,contr
+	iadd contr,contr
+	increase -2,contr
+	ifetch 2,contr
+	isub temp,null
+	rtn zero
+	ifetch 1,contr			 
+	iadd contr,contr
+	branch le_att_get_short_uuid_loop	
+
+
+//output:temp:new handle num
+//contr:address write data
+le_att_get_last_handle:
+	fetch 2,mem_ui_le_uuid_table
+	iforce contr
+le_att_get_last_handle_loop:
+	ifetch 2,contr
+	and_into 0xff,pdata
+	rtn blank
+	add pdata,1,temp
+	ifetch 1,contr
+	iadd contr,contr	
+	ifetch 1,contr			// length
+	iadd contr,contr
+	copy contr,contw
+	branch le_att_get_last_handle_loop
+
+
+le_att_get_handle_info_from_ptr:
+	fetch 2, mem_le_cur_attlist_start_ptr
+	branch le_att_get_handle_info_fast
+
+le_att_get_handle_info:
+	bpatchx patch38_3,mem_patch38
+	fetch 2,mem_ui_le_uuid_table
+le_att_get_handle_info_fast:
+	iforce contr
+le_att_get_handle_loop:
+	ifetch 2,contr
+	and_into 0xff,pdata
+	branch le_att_unfind_handle,blank
+	isub temp,null
+	branch le_att_finded_handle, zero
+	ifetch 1,contr			// length  
+	iadd contr,contr	
+	ifetch 1,contr			//length 
+	iadd contr,contr
+	branch le_att_get_handle_loop
+le_att_unfind_handle:
+	branch disable_blank
+
+le_att_finded_handle:
+	ifetch 1,contr
+	store 1,mem_le_cur_uuid_length
+	copy pdata,loopcnt
+	arg mem_le_cur_uuid,contw
+	call memcpy_fast
+	ifetch 1,contr
+	store 1,mem_le_curr_att_len
+	call store_contr
+	branch enable_blank
+
+	
+le_modified_name:
+	bpatchx patch38_4,mem_patch38
+	call le_modified_name_att_list
+	branch le_modified_name_adv
+
+le_modified_name_att_list:
+	arg UUID_CHRCTR_DEVICE_NAME,temp
+	call le_att_get_short_uuid_ptr
+	rtn blank
+	ifetch 1,contr						// attribute length
+	copy contr,contw
+	fetcht 1,mem_le_name_len
+	copy temp,loopcnt
+	isub temp,null
+	nbranch le_name_length_longer_than_att,positive
+	isub temp,temp
+	arg mem_le_name,contr
+	call memcpy_fast
+	copy temp,loopcnt
+	ncall memcpy_empty,zero
+	rtn
+le_name_length_longer_than_att:
+	copy pdata,loopcnt
+	arg mem_le_name,contr
+	branch memcpy_fast
+
+
+le_modified_name_adv:
+	arg mem_le_adv_data_len+32,regc
+	arg mem_le_adv_data,rega
+	call le_modified_name_adv_and_scan
+	setarg 0
+	setflag user,0,pdata
+	store 1,mem_pdatatemp
+	arg mem_le_scan_data_len+32,regc
+	arg mem_le_scan_data,rega
+	call le_modified_name_adv_and_scan
+	rtn user
+	fetch 1,mem_pdatatemp
+	branch assert,blank
+	rtn
+
+
+le_modified_name_adv_and_scan:
+	bpatchx patch38_5,mem_patch38
+	call enable_user
+	call clear_temp_block
+	arg 0,regb	//current length
+	arg mem_le_data_temp,contw
+	call le_modified_name_adv_loop
+	fetch 1,mem_le_name_len
+	add pdata,1,temp
+	iadd regb,rega	
+	increase 2,rega
+	sub rega,0x1f,null
+	nbranch le_modified_name_adv_and_scan_name_overflow,positive
+	istoret 1,contw		//store ble name length
+	arg GAP_ADTYPE_LOCAL_NAME_COMPLETE,temp
+	istoret 1,contw		//store ble name type
+	iforce loopcnt
+	call memcpy_fast
+	copy rega,regb
+le_modified_name_adv_and_scan_store_data:
+	deposit regb
+	store 1,mem_le_data_len_temp
+	arg mem_le_data_len_temp,contr
+	setarg -32
+	iadd regc,contw
+	branch memcpy32
+
+le_modified_name_adv_and_scan_name_overflow:
+	call disable_user
+	branch le_modified_name_adv_and_scan_store_data
+	
+le_modified_name_adv_loop:
+	ifetch 1,rega		//pdata:length
+	rtn blank			//length is zero,ending find
+	pincrease 1		//length += 1
+	ifetcht 1,contr		//pdata:type
+	sub temp,GAP_ADTYPE_LOCAL_NAME_COMPLETE,null
+	branch le_modified_name_adv_found_name,zero
+	iadd regb,regb	
+	copy rega,contr
+	iforce loopcnt
+	call memcpy_fast
+	copy contr,rega
+le_modified_name_adv_loop2:
+	deposit rega
+	isub regc,null
+	rtn positive
+	branch le_modified_name_adv_loop
+
+le_modified_name_adv_found_name:
+	iadd rega,rega
+	branch le_modified_name_adv_loop2
+
+
+memcpy_empty:
+	setarg SPACE
+	istore 1,contw
+	loop memcpy_empty
+	rtn
+
+	
+le_lpm_set_mult:
+	bpatchx patch38_6,mem_patch38
+	disable wake
+	branch le_lpm_set_mult_attempt,attempt
+	nbranch le_lpm_lost,match
+le_lpm_set_mult_attempt:
+	call lpm_match
+	fetch 2,mem_rx_window_sniff
+	store 2,mem_le_receive_window
+le_lpm_set_mult_attempt_match:
+	nbranch lpm_mult_short,match
+	bmark1 mark_old_packet,lpm_mult_short
+
+	fetch 1,mem_le_rxbuf_data_length
+	nbranch lpm_mult_short,blank		// rx not empty, short interval
+	fetch 1,mem_le_txlen
+	nbranch lpm_mult_short,blank		// tx not empty, short interval
+	
+	fetch 1,mem_le_configuration
+	bbit1 BIT_BLE_SHORT_MULT,lpm_mult_short	//check flag,if flag is 1,always short mult
+	
+	fetch 1,mem_le_state
+	bbit1 lestate_update_param,lpm_mult_short
+	branch lpm_mult_wait_timeout
+	
+le_lpm_lost:
+	fetcht 2,mem_rx_window_sniff
+	rshift temp,temp
+	fetch 2,mem_le_receive_window
+	iadd temp,pdata
+	store 2,mem_le_receive_window
+	branch lpm_lost
+
+///////////////////////////////BLE CONFIG//////////////////////////////////////////
+le_set_config_fixed_tk:
+	arg BIT_BLE_PASSKEY_FIXED_KEY,queue
+	branch le_set_config
+
+le_clr_config_fixed_tk:
+	arg BIT_BLE_PASSKEY_FIXED_KEY,queue
+	branch le_clr_config
+
+le_set_config_fixed_ltk:
+	arg BIT_BLE_PAIRING_FIXED_LTK,queue
+	branch le_set_config
+
+le_clr_config_fixed_ltk:
+	arg BIT_BLE_PAIRING_FIXED_LTK,queue
+	branch le_clr_config
+
+le_set_config_more_data:
+	arg BIT_BLE_TRANSMIT_PACKET_BY_MD,queue
+	branch le_set_config
+
+le_clr_config_more_data:
+	arg BIT_BLE_TRANSMIT_PACKET_BY_MD,queue
+	branch le_clr_config
+
+le_set_config_read_authentication:
+	arg BIT_BLE_READ_AUTH,queue
+	branch le_set_config
+
+le_clr_config_read_authentication:
+	arg BIT_BLE_READ_AUTH,queue
+	branch le_clr_config
+
+le_set_config_write_authentication:
+	arg BIT_BLE_WRITE_AUTH,queue
+	branch le_set_config
+
+le_clr_config_write_authentication:
+	arg BIT_BLE_WRITE_AUTH,queue
+	branch le_clr_config
+
+le_set_config_short_mult:
+	arg BIT_BLE_SHORT_MULT,queue
+	branch le_set_config
+
+le_clr_config_short_mult:
+	arg BIT_BLE_SHORT_MULT,queue
+	branch le_clr_config
+
+
+le_set_config:
+	fetch 1,mem_le_configuration
+	qset1 pdata
+	store 1,mem_le_configuration
+	rtn
+
+le_clr_config:
+	fetch 1,mem_le_configuration
+	qset0 pdata
+	store 1,mem_le_configuration
+	rtn
+
+le_set_fixed_ltk:
+	setarg 0x112233
+	store 3,mem_le_fixed_ltk
+	setarg 0x445566
+	istore 3,contw
+	setarg 0x778899
+	istore 3,contw
+	setarg 0x001122
+	istore 3,contw
+	setarg 0x334455
+	istore 3,contw
+	setarg 0x66
+	istore 1,contw
+	rtn
+
+
+le_set_justwork:
+	setarg 0x01000302
+	store 4,mem_le_pres
+	setarg 0x010010
+	store 3,mem_le_pres_max_keysize
+	jam 1,mem_le_pairing_mode
+	rtn
+
+/////////////////////////////////////////////////////////////////////////
+
+le_fifo_malloc_tx_empty:
+	arg 0,rega
+	arg LLID_EMPTY,type
+	branch le_fifo_malloc_tx
+
+
+//rega:len regb:ll opcode
+le_fifo_malloc_tx_ll:
+	arg LLID_LE_LL,type
+	call le_fifo_malloc_tx
+	copy regb,pdata
+	istore 1,contw
+	rtn
+	
+
+//rega:len regb:cid
+le_fifo_malloc_tx_l2cap:
+	force LLID_START,type
+	increase 4,rega
+	call le_fifo_malloc_tx
+	increase -4,rega
+	copy rega,pdata
+	istore 2,contw
+	copy regb,pdata
+	istore 2,contw
+	rtn
+
+
+//rega:len type:llid
+le_fifo_malloc_tx:
+	bpatchx patch38_7,mem_patch38
+	increase 5,rega
+	call ble_l2cap_malloc
+	increase -5,rega
+	copy rega,pdata
+	istore 2,contw				//lengh
+	setarg 0
+	istore 2,contw				//offset
+	copy type,pdata
+	istore 1,contw				//LLID
+	rtn
+
+
+le_fifo_get_first_tx_ptr:
+	call l2cap_malloc_fifo_out
+	copy pdata,contr
+	rtn
+
+le_fifo_get_second_tx_ptr:
+	fetch 2,mem_tx_fifo2_ptr
+	rtn
+
+le_fifo_get_last_tx_ptr:
+	call le_fifo_get_last_tx_ptr0
+	copy pdata,contr
+	rtn
+
+
+le_fifo_get_last_tx_ptr0:
+	fetch 2,mem_tx_fifo3_ptr
+	rtn
+
+
+le_fifo_get_first_l2cap_ptr:
+	call le_fifo_get_first_tx_ptr
+	increase 5,contr
+	rtn
+
+le_fifo_get_first_att_ptr:
+	call le_fifo_get_first_tx_ptr
+	increase 9,contr
+	rtn
+
+le_fifo_get_last_att_ptr:
+	call le_fifo_get_last_tx_ptr
+	increase 9,contr
+	rtn
+
+le_fifo_get_last_l2cap_ptr:
+	call le_fifo_get_last_tx_ptr
+	increase 5,contr
+	rtn
+
+
+le_fifo_check_full:
+	branch l2cap_malloc_is_fifo_full
+
+
+le_fifo_check_nearly_full:
+	branch l2cap_malloc_is_fifo_nearly_full
+
+	
+le_fifo_check_empty:
+	branch l2cap_malloc_is_fifo_empty
+
+
+le_fifo_release_first_node:
+	branch l2cap_malloc_free
+
+
+/*
+	function name:le_set_dle (data packet length extension)
+	input:pdata is dle params
+	bit0~bit15 max rx octets
+	bit16~bit31 max rx time
+	bit32~bit47 max tx octets
+	bit48~bit63 max tx time
+*/
+le_set_dle:
+	store 8,mem_local_rx_max_octets
+	branch le_set_feature_data_packet_length_extension
+
+
+/*
+	function name:le_set_phys
+	input:temp is tx & rx phys
+	bit0~bit7 is tx phys
+	bit8~bit15 is rx phys
+*/
+le_set_phys:
+	and temp,0xff,rega
+	call le_set_tx_phy
+	rshift8 temp,rega
+	branch le_set_rx_phy
+
+le_set_tx_phy:
+	storer rega,1,mem_le_tx_phys
+	isolate1 BIT_LE_2M_PHY,rega
+	call le_set_feature_2M_phy,true
+	isolate1 BIT_LE_CODED_PHY,rega
+	call le_set_feature_coded_phy,true
+	rtn
+
+le_set_rx_phy:
+	storer rega,1,mem_le_rx_phys
+	branch le_set_tx_phy+1
+
+
+le_set_feature_2M_phy:
+	arg BIT_LL_FEATURE_LE_2M_PHY,queue
+	branch le_set_feature
+
+
+le_set_feature_coded_phy:
+	arg BIT_LL_FEATURE_LE_CODED_PHY,queue
+	branch le_set_feature
+
+
+le_set_feature_data_packet_length_extension:
+	arg BIT_LL_FEATURE_LE_DATA_PACKET_LENGTH_EXTENSION,queue
+	branch le_set_feature
+
+
+le_set_feature:
+	fetch 8,mem_le_local_feature
+	qset1 pdata
+	store 8,mem_le_local_feature
+	rtn
+
+
+
Index: program/ble_protocol_stack/le_advertising.prog
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/program/ble_protocol_stack/le_advertising.prog	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/program/ble_protocol_stack/le_advertising.prog	(working copy)
@@ -0,0 +1,381 @@
+
+/*
+ble core spec advertising
+*/
+
+le_advertising_dispatch:
+	jam FUN_RX_LL_1M_PHY,mem_le_rx_phy
+	jam FUN_TX_LL_1M_PHY,mem_le_tx_phy
+	call le_enable
+	call le_scan
+	call le_adv
+	branch le_disable
+
+le_scan:
+	bpatchx patch39_0,mem_patch39
+	fetch 1,mem_le_scan_enable
+	rtnne LE_SCAN_ENABLE
+	arg le_scan_interval_timer,queue
+	call timer_check
+	nrtn blank
+	fetch 2,mem_le_scan_interval
+	fetcht 2,mem_le_scan_window
+	isub temp,pdata
+	arg le_scan_interval_timer,queue
+	call timer_init
+	disable master
+	call le_init_adv
+	call le_wait_adv
+	nrtn match
+	bpatchx patch39_1,mem_patch39
+	fetch 6,mem_le_rxbuf+2
+	store 6,mem_le_plap
+//	call le_scan_dongle
+
+	fetch 1,mem_le_adv_rcv
+	increase 1,pdata
+	store 1,mem_le_adv_rcv
+	call le_create_conn
+	rtn master
+	call le_send_scan_request
+	nrtn match
+	fetch 1,mem_le_scanrsp_rcv
+	increase 1,pdata
+	store 1,mem_le_scanrsp_rcv
+	fetch 9,mem_le_rxbuf+8
+	store 9,mem_tmp_buffer
+	rtn
+
+
+le_wait_adv:
+	bpatchx patch39_2,mem_patch39
+	call le_next_adv_channel
+	call le_receive_adv
+	fetch 1,mem_le_adv_waitcnt
+	increase 1,pdata
+	store 1,mem_le_adv_waitcnt
+	rtn
+
+
+le_create_conn:
+	bpatchx patch39_3,mem_patch39
+	fetch 1,mem_cmd_le_create_conn
+	rtnne hci_cmd_le_create_conn
+	fetch 6,mem_le_plap
+	fetcht 6,mem_le_conn_peer_addr
+	isub temp,null
+	nrtn zero
+	call context_new
+	nrtn zero
+	call le_connect_request
+	call le_init_master
+	jam 0,mem_hci_cmd
+	jam 0,mem_le_peer_sca
+	jam 0,mem_le_scan_enable
+	jam 0,mem_cmd_le_create_conn
+	branch context_save
+
+le_connect_request:
+	bpatchx patch39_4,mem_patch39
+	force -1,pdata
+	setsect 2,1
+	store 5,mem_le_channel_map
+	arg mem_le_state,rega	
+	call le_calc_channel_map	
+	force 4,loopcnt
+	arg mem_le_access,contw
+	call generate_random_loop	
+	fetch 2,mem_le_timeout
+	store 2,mem_le_superto
+le_con_req_hop_retry:
+	random pdata
+	and_into 0xf,pdata
+	sub pdata,4,null
+	branch le_con_req_hop_retry,positive
+	store 1,mem_le_hop
+	store 1,mem_tmp1
+	bpatchx patch39_5,mem_patch39
+	fetcht 2,mem_le_conn_interval
+	storet 2,mem_le_tsniff	
+	copy temp,regc			// tsniff in regc
+	add clkn_bt,7,pdata			// leave space for offset
+	idiv regc
+	call wait_div_end
+	remainder rega
+	isub rega,pdata
+	iadd regc,pdata
+	fetcht 2,mem_le_dsniff
+	iadd temp,pdata
+	store 4,mem_le_anchor
+	isub clkn_bt,rega
+	increase -6,rega			// window offset
+	arg 0x2205,regb			// length & CONN_REQ PDU
+	fetch 1,mem_le_conn_own_addr_type
+	nsetflag blank,LE_SENDER_ADDR_BIT,regb
+	fetch 1,mem_le_conn_peer_addr_type
+	nsetflag blank,LE_RECEIVER_ADDR_BIT,regb
+	copy regb,pdata
+	store 2,mem_le_txheader
+	fetch 6,mem_le_lap
+	istore 6,contw//own addr
+	fetch 6,mem_le_plap
+	istore 6,contw// peer addr
+	fetch 4,mem_le_access
+	istore 4,contw
+	random pdata
+	istore 2,contw				/* crc init */
+	random pdata
+	istore 1,contw
+	force 2,pdata				/* window size */	
+	istore 1,contw
+	rshift2 rega,pdata
+	istore 2,contw				/* window offset */
+	rshift2 regc,pdata			
+	istore 2,contw				/* conn Interval */
+	bpatchx patch39_6,mem_patch39
+	setarg 0					/* slave latency */
+	istore 2,contw
+	fetch 2,mem_le_timeout
+	istore 2,contw
+	fetch 5,mem_le_channel_map
+	istore 5,contw				/* channel map */
+	fetch 1,mem_le_hop
+	arg param_le_sca,temp
+	ior temp,pdata
+	istore 1,contw
+	call le_transmit_norx
+	setarg mem_le_txheader
+	add pdata,18,contr
+	ifetch 3,contr
+	store 3,mem_le_crcinit
+	rtn
+		
+
+
+le_adv:
+	jam 36,mem_le_ch_mapped
+	jam 0,mem_le_adv_channel_map_temp
+le_adv_loop:
+	fetch 1,mem_le_adv_enable
+	rtn blank
+	arg le_adv_interval_timer,queue
+	call timer_check
+	nrtn blank
+	bpatchx patch39_7,mem_patch39
+le_adv_loop_tx:
+	enable swfine
+	call le_init_adv
+	call le_next_adv_channel
+	call le_send_adv_ind
+	nbranch le_adv_not_match,match
+	fetch 1,mem_le_req_rcv
+	increase 1,pdata
+	store 1,mem_le_req_rcv
+	fetch 1,mem_le_rxbuf_adv_header
+	and pdata,0x0f,pdata
+	beq SCAN_REQ,le_send_scan_response
+	beq CONNECT_REQ,le_parse_connect_req
+le_adv_not_match:
+	bpatchx patch3a_0,mem_patch3a
+	fetch 1,mem_le_adv_channel_map_temp
+	fetcht 1,mem_le_adv_channel_map
+	isub temp,null
+	nbranch le_adv_loop,zero
+	random pdata 
+	arg 0x1ff,temp
+	iand temp,pdata
+	add pdata,250,pdata
+	call delay
+	arg le_adv_interval_timer,queue
+	fetch 2,mem_le_adv_interval
+	branch timer_init
+
+
+le_init_adv:
+	bpatchx patch3a_1,mem_patch3a
+	disable master
+le_adv_access:
+	setarg 0x8e89be
+	lshift8 pdata,pdata
+	or_into 0xd6,pdata
+	iforce access
+	setarg 0x555555
+	store 3,mem_le_crcinit
+	branch calc_mod_value_scale_le
+
+
+
+le_send_adv_ind:
+	bpatchx patch3a_2,mem_patch3a
+	fetch 1,mem_le_adv_type
+	fetcht 1,mem_le_adv_own_addr_type
+	lshift4 temp,temp
+	lshift2 temp,temp
+	iadd temp,temp
+	storet 1,mem_le_txheader
+	beq ADV_DIRECT_IND,le_send_adv_direct_ind
+	fetcht 1,mem_le_adv_data_len
+	add temp,6,pdata
+	store 1,mem_le_txlen
+	fetch 6,mem_le_lap
+	store 6,mem_le_txpayload
+	copy temp,loopcnt
+	arg mem_le_adv_data,contr
+	call memcpy_fast
+	branch le_send_adv_transmit
+
+le_send_adv_direct_ind:
+	setarg 12
+	store 1,mem_le_txlen
+	fetch 6,mem_le_lap
+	store 6,mem_le_txpayload
+	fetch 6,mem_hci_plap
+	istore 6,contw
+le_send_adv_transmit:
+	bpatchx patch3a_3,mem_patch3a
+	fetch 1,mem_le_adv_transmit
+	increase 1,pdata
+	store 1,mem_le_adv_transmit
+	arg 1800,stop_watch
+	disable match
+	branch le_transmit_receive_sifs_without_change_mode
+
+
+le_send_scan_request:
+	bpatchx patch3a_4,mem_patch3a
+	fetch 1,mem_le_scan_type
+	rtnne LE_SCAN_TYPE_ACTIVE
+	fetch 1,mem_le_adv_transmit
+	increase 1,pdata
+	store 1,mem_le_adv_transmit
+	arg 0x0c03,temp// length + SCAN_REQ PDU
+	fetch 1,mem_le_scan_own_addr_type
+	nsetflag blank,LE_SENDER_ADDR_BIT,temp
+	copy rega,pdata
+	nsetflag blank,LE_RECEIVER_ADDR_BIT,temp	
+	storet 2,mem_le_txheader
+	fetch 6,mem_le_lap
+	istore 6,contw
+	fetch 6,mem_le_plap
+	istore 6,contw
+	branch le_transmit_receive_sifs_without_change_mode
+
+le_send_scan_response:
+	fetch 6,mem_le_rxbuf_adv_scan_req_adv_address
+	fetcht 6,mem_le_lap
+	isub temp,null
+	nrtn zero
+	arg SCAN_RSP,temp
+	fetch 1,mem_le_adv_own_addr_type
+	nsetflag blank,LE_SENDER_ADDR_BIT,temp
+	storet 1,mem_le_txheader
+	fetcht 1,mem_le_scan_data_len
+	add temp,6,pdata
+	store 1,mem_le_txlen
+	fetch 6,mem_le_lap
+	store 6,mem_le_txpayload
+	arg mem_le_scan_data,contr
+	copy temp,loopcnt
+	call memcpy_fast
+	call le_transmit_norx
+	branch le_adv_not_match
+
+le_parse_connect_req:
+	fetch 6,mem_le_rxbuf_adv_connect_ind_adv_address
+	fetcht 6,mem_le_lap
+	isub temp,null
+	nrtn zero
+	call le_scan_check_sender_addr_type
+	storer rega,1,mem_le_conn_peer_addr_type
+	fetch 6,mem_le_rxbuf_adv_connect_ind_init_address
+	store 6,mem_le_plap
+	fetch 8,mem_le_rxbuf_adv_connect_ind_access_address
+	store 8,mem_le_access 	// and crcinit & window size
+	fetcht 2,mem_le_rxbuf_adv_connect_ind_win_offset	// transmit offset
+	bpatchx patch3a_5,mem_patch3a
+	lshift2 temp,temp
+	fetch 2,mem_le_rxbuf_adv_connect_ind_interval	// connInterval
+	lshift2 pdata,pdata
+	store 2,mem_le_tsniff
+	store 4,mem_le_anchor
+	isub temp,pdata
+	add pdata,-2,clke_bt
+	fetch 9,mem_le_rxbuf_adv_connect_ind_latency
+	store 9,mem_le_slave_latency// and super to & channel map
+	fetch 1,mem_le_rxbuf_adv_connect_ind_hop_and_sca
+	and pdata,0x1f,temp
+	storet 1,mem_le_hop
+	rshift4 pdata,temp
+	rshift temp,temp
+	storet 1,mem_le_peer_sca
+	arg mem_le_state,rega
+	call le_receive_window_size
+	arg mem_le_state,rega	
+	call le_calc_channel_map
+	call le_init_slave
+	call context_new
+	nrtn zero
+	bpatchx patch3a_6,mem_patch3a
+	call calc_clke_offset
+	call le_l2cap_reset_signaling_identifier
+	jam BT_EVT_LE_CONNECTED,mem_fifo_temp
+	call ui_ipc_send_event
+	branch context_save
+
+
+le_next_adv_channel:
+	bpatchx patch3a_7,mem_patch3a
+	fetch 1,mem_le_ch_mapped
+	beq 37,le_next_adv_channel_curr_channel_37
+	beq 38,le_next_adv_channel_curr_channel_38
+	beq 39,le_next_adv_channel_curr_channel_39
+	branch le_next_adv_channel_curr_channel_39
+
+le_next_adv_channel_curr_channel_37:
+	fetcht 1,mem_le_adv_channel_map
+	isolate1 BIT_ADV_CHANNEL_MAP_38,temp		//check 38 channel enable
+	branch set_le_next_adv_channel_38,true
+	isolate1 BIT_ADV_CHANNEL_MAP_39,temp		//check 39 channel enable
+	branch set_le_next_adv_channel_39,true
+	branch set_le_next_adv_channel_37
+
+
+le_next_adv_channel_curr_channel_38:
+	fetcht 1,mem_le_adv_channel_map
+	isolate1 BIT_ADV_CHANNEL_MAP_39,temp		//check 39 channel enable
+	branch set_le_next_adv_channel_39,true
+	isolate1 BIT_ADV_CHANNEL_MAP_37,temp		//check 37 channel enable
+	branch set_le_next_adv_channel_37,true
+	branch set_le_next_adv_channel_38
+
+
+le_next_adv_channel_curr_channel_39:
+	fetcht 1,mem_le_adv_channel_map
+	isolate1 BIT_ADV_CHANNEL_MAP_37,temp		//check 37 channel enable
+	branch set_le_next_adv_channel_37,true
+	isolate1 BIT_ADV_CHANNEL_MAP_38,temp		//check 38 channel enable
+	branch set_le_next_adv_channel_38,true
+	branch set_le_next_adv_channel_39
+
+set_le_next_adv_channel_37:
+	jam 37,mem_le_ch_mapped
+	fetch 1,mem_le_adv_channel_map_temp
+	set1 BIT_ADV_CHANNEL_MAP_37,pdata
+	store 1,mem_le_adv_channel_map_temp
+	rtn
+
+set_le_next_adv_channel_38:
+	jam 38,mem_le_ch_mapped
+	fetch 1,mem_le_adv_channel_map_temp
+	set1 BIT_ADV_CHANNEL_MAP_38,pdata
+	store 1,mem_le_adv_channel_map_temp
+	rtn
+
+set_le_next_adv_channel_39:
+	jam 39,mem_le_ch_mapped
+	fetch 1,mem_le_adv_channel_map_temp
+	set1 BIT_ADV_CHANNEL_MAP_39,pdata
+	store 1,mem_le_adv_channel_map_temp
+	rtn
+
+
Index: program/ble_protocol_stack/le_l2cap_att.prog
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/program/ble_protocol_stack/le_l2cap_att.prog	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/program/ble_protocol_stack/le_l2cap_att.prog	(working copy)
@@ -0,0 +1,874 @@
+
+
+le_parse_att:
+	ifetch 3,contr
+	store 3,mem_le_att_opcode
+	beq ATTOP_EXCHANGE_MTU_REQUEST,le_parse_att_exchange_mtu_request
+	beq ATTOP_EXCHANGE_MTU_RESPONSE,le_parse_att_exchange_mtu_response
+	beq ATTOP_FIND_INFORMATION_REQUEST,le_parse_att_find_information_request
+	beq ATTOP_FIND_BY_TYPE_VALUE_REQUEST,le_parse_att_find_by_type_value_request
+	beq ATTOP_READ_BY_TYPE_REQUEST,le_parse_att_read_by_type_request
+	beq ATTOP_READ_REQUEST,le_parse_att_read_request
+	beq ATTOP_READ_BLOB_REQUEST,le_parse_att_read_blob_request
+	beq ATTOP_READ_BY_GROUP_TYPE_REQUEST,le_parse_att_read_by_group_type_request
+	beq ATTOP_WRITE_REQUEST,le_parse_att_write_request
+	beq ATTOP_PREPARE_WRITE_REQUEST,le_parse_att_prepare_write_request
+	beq ATTOP_EXECUTE_WRITE_REQUEST,le_parse_att_execute_write_request
+	beq ATTOP_HANDLE_VALUE_CONFIRMATION,le_parse_handle_value_confirmation
+	beq ATTOP_WRITE_COMMAND,le_parse_att_write_command
+	rtn
+
+
+le_send_att_exchange_mtu_requset:
+	force 3,rega
+	call le_fifo_malloc_tx_l2cap_gatt
+	setarg ATTOP_EXCHANGE_MTU_REQUEST
+	istore 1,contw
+	fetch 2,mem_le_local_mtu
+	istore 2,contw
+	rtn
+
+
+le_parse_att_exchange_mtu_request:
+	call le_parse_att_exchange_mtu_response
+le_send_att_exchange_mtu_response:
+	force 3,rega
+	call le_fifo_malloc_tx_l2cap_gatt
+	setarg ATTOP_EXCHANGE_MTU_RESPONSE
+	istore 1,contw
+	fetch 2,mem_le_local_mtu
+	istore 2,contw
+	rtn
+
+le_parse_att_exchange_mtu_response:
+	rshift8 pdata,pdata
+	store 2,mem_le_remote_mtu
+	rtn
+
+le_parse_att_find_information_request:
+	call le_get_search_handle_start_end_common
+	call enable_user
+	branch le_send_att_find_information_response
+	
+le_send_att_find_information_response:
+	arg 3,timeup
+	call le_init_attlist_search
+le_send_att_find_information_res_loop:
+	call le_att_handle_inrange
+	branch le_send_att_find_information_res_end,blank
+	nbranch le_send_att_find_information_res_next,positive
+	increase -2,contr
+	call store_contr
+	call get_contw
+	nbranch le_send_att_find_information_res_store_info,user
+	call push_stack_rega_b_c
+	call disable_user
+	storer timeup,4,mem_timeup
+	force 20,rega
+	call le_fifo_malloc_tx_l2cap_gatt
+	fetchr timeup,4,mem_timeup
+	call pop_stack_rega_b_c
+	setarg ATTOP_FIND_INFORMATION_RESPONSE
+	istore 1,contw
+	setarg UUID_SIZE_16BIT
+	istore 1,contw
+le_send_att_find_information_res_store_info:
+	call get_contr
+	ifetch 2,contr
+	and_into 0xff,pdata
+	istore 2,contw
+	ifetch 1,contr
+	copy pdata,loopcnt
+	call memcpy
+	call store_contw
+	increase -1,timeup
+	branch le_send_att_find_information_res_end,zero
+le_send_att_find_information_res_cont:
+	ifetch 1,contr
+	iadd contr,contr
+	branch le_send_att_find_information_res_loop
+le_send_att_find_information_res_next:
+	ifetch 1,contr
+	iadd contr,contr
+	branch le_send_att_find_information_res_cont
+le_send_att_find_information_res_end:
+	branch le_send_att_error_response_notfound,user
+	branch le_send_auto_len_by_mem
+
+
+le_parse_att_find_by_type_value_request:
+	call le_get_search_handle_start_end_common
+	ifetch 2,contr
+	store 2,mem_le_search_uuid
+	call store_contr
+	arg mem_le_search_att_type_length,contw
+	fetch 2,mem_le_l2cap_size
+	increase -7,pdata
+	call le_get_search_common2
+	branch le_send_att_find_by_type_value_response
+
+
+le_start_end_handle_check_1:
+	disable user
+	fetcht 2,mem_le_search_handle_start
+	fetch 2,mem_le_search_handle_end
+	isub temp,null
+	nbranch le_start_end_handle_check_1_fail,positive
+	deposit temp
+	rtnne 0
+le_start_end_handle_check_1_fail:
+	enable user
+	jam ATT_ERR_INVALID_HANDLE,mem_le_err_code
+	branch le_send_att_error_response
+
+
+le_send_att_find_by_type_value_response:
+	call le_start_end_handle_check_1
+	rtn user
+	fetcht 2,mem_le_search_uuid
+	setarg UUID_GATT_PRIMARY_SERVICE
+	isub temp,null
+	branch le_send_att_find_by_type_value_res_primary,zero
+	branch le_send_att_error_response_notfound
+	
+
+le_send_att_find_by_type_value_res_primary:
+	jam LE_FIND_BY_TYPE_VAL_RES_NOT_FOUND,mem_le_search_res
+	fetcht 2,mem_le_search_handle_start
+	storet 2,mem_temp
+	call le_att_get_handle_info
+	nbranch le_send_att_error_response_notfound,blank
+le_send_att_find_primary_search_loop:
+	fetcht 2,mem_temp
+	call le_att_get_handle_info
+	nbranch le_send_att_error_response_notfound2,blank	
+	copy contr,rega
+	fetch 1,mem_le_curr_att_len
+	copy pdata,loopcnt
+	fetcht 1,mem_le_search_att_type_length
+	isub temp,null
+	nbranch le_send_att_find_primary_search_loop1,zero
+	arg mem_le_search_att_type,regb
+	call string_compare
+
+	branch le_send_att_find_primary_search_end_start_handle_found,zero
+
+	fetch 2,mem_le_cur_uuid
+	fetcht 2,mem_le_search_uuid
+	isub temp,null
+	branch le_send_att_find_primary_search_end_ending_handle_found,zero
+le_send_att_find_primary_search_loop1:
+	fetch 2,mem_temp
+	increase 1,pdata
+	store 2,mem_temp
+	branch le_send_att_find_primary_search_loop
+
+le_send_att_error_response_notfound2:
+	fetch 1,mem_le_search_res
+	beq LE_FIND_BY_TYPE_VAL_RES_FOUND_STARTING_HANDLE,le_send_att_find_primary_search_end_ending_handle_found
+	branch le_send_att_error_response_notfound
+
+	
+le_send_att_find_primary_search_end_start_handle_found:
+	fetch 2,mem_le_cur_uuid
+	fetcht 2,mem_le_search_uuid
+	isub temp,null
+	nbranch  le_send_att_find_primary_search_loop1,zero
+	jam LE_FIND_BY_TYPE_VAL_RES_FOUND_STARTING_HANDLE,mem_le_search_res
+//	copy rega,temp
+	fetcht 2,mem_temp
+	storet 2,mem_le_cur_handle_start
+	branch le_send_att_find_primary_search_loop1
+
+le_send_att_find_primary_search_end_ending_handle_found:
+	fetch 1,mem_le_search_res
+	beq LE_FIND_BY_TYPE_VAL_RES_NOT_FOUND,le_send_att_find_primary_search_loop1
+	jam LE_FIND_BY_TYPE_VAL_RES_FOUND_ENDING_HANDLE,mem_le_search_res
+	fetcht 2,mem_temp
+	increase -1,temp
+	storet 2,mem_le_cur_handle_end
+	
+le_send_att_find_primary_search_end:
+	arg 5,rega
+	call le_fifo_malloc_tx_l2cap_gatt
+	setarg ATTOP_FIND_BY_TYPE_VALUE_RESPONSE
+	istore 1,contw
+	fetch 2,mem_le_cur_handle_start
+	istore 2,contw
+	fetch 2,mem_le_cur_handle_end
+	istore 2,contw
+	rtn
+
+
+
+le_parse_att_read_by_type_request:
+	call le_get_search_handle_start_end_common
+	call le_get_search_att_type
+	branch le_send_att_read_by_type_response
+	
+le_send_att_read_by_type_response:
+	fetcht 2,mem_le_search_handle_start
+	storet 2,mem_temp
+	call le_init_attlist_search
+	call le_att_get_handle_ptr2
+	increase -2,contr
+	copy contr,pdata
+	store 2,mem_le_cur_attlist_start_ptr
+
+	fetcht 2,mem_le_search_att_type
+	setarg UUID_CHRCTR_DEVICE_NAME
+	isub temp,null
+	branch le_send_att_read_by_type_res_device_name,zero
+	setarg UUID_GATT_CHARACTERISTIC
+	isub temp,null
+	nbranch le_send_att_read_by_type_res_not_characteristic,zero
+	arg 2,timeup
+le_send_att_read_by_type_response_loop:
+	call le_att_check_handle_end
+	nbranch le_send_att_read_by_type_response_end,positive
+	fetcht 2,mem_temp
+	call le_att_get_handle_info_from_ptr
+	nbranch le_send_att_read_by_type_response_end,blank
+	call le_att_same_type
+	nbranch le_send_att_read_by_type_response_next_handle,zero
+	nbranch le_send_att_read_by_type_res_found_next,user
+	disable user
+	arg 20,rega
+	call le_fifo_malloc_tx_l2cap_gatt
+	setarg ATTOP_READ_BY_TYPE_RESPONSE
+	istore 1,contw
+	copy contw,alarm
+	increase 1,contw
+	
+	call le_send_att_read_by_type_write_properties
+	call le_att_next_handle
+	call le_att_get_handle_info_from_ptr
+	call le_send_att_read_by_type_write_uuid
+	fetch 1,mem_le_cur_uuid_length
+	add pdata,5,rega
+	istorer rega,1,alarm
+	
+	sub rega,7,null
+	ncall enable_user2,zero
+	call disable_user2,zero
+ 	call le_get_search_max_mtu_data
+	idiv rega
+	call wait_div_end
+	quotient timeup
+	increase -1,timeup
+	branch le_send_att_read_by_type_response_end,zero
+le_send_att_read_by_type_response_next_handle:
+	call le_att_next_handle
+	branch le_send_att_read_by_type_response_loop
+le_send_att_read_by_type_response_end:
+	branch le_send_att_error_response_notfound,user
+	branch le_send_auto_len_by_mem
+
+le_send_att_read_by_type_res_found_next:
+	call le_store_att_record
+	call le_att_next_handle
+	call le_att_get_handle_info_from_ptr
+	call le_send_att_read_by_type_res_check_pair_length_type
+	nbranch le_send_att_read_by_type_response_end,blank
+
+	call get_contw
+	fetch 2,mem_temp
+	increase -1,pdata
+	istore 2,contw
+	call le_write_att_record_common
+	call le_send_att_read_by_type_write_uuid
+	increase -1,timeup
+	branch le_send_att_read_by_type_response_end,zero
+	branch le_send_att_read_by_type_response_next_handle
+
+	
+le_send_att_read_by_type_write_properties:
+	fetch 2,mem_temp
+	istore 2,contw
+	
+	fetch 1,mem_le_curr_att_len
+	copy pdata,loopcnt
+	call get_contr
+	call memcpy_fast
+	branch store_contw
+le_send_att_read_by_type_write_uuid:
+	call get_contw
+	fetch 2,mem_temp
+	istore 2,contw
+	call store_contw
+	fetch 1,mem_le_cur_uuid_length
+	copy pdata,loopcnt
+	call get_contw	
+	call get_contr
+	isub loopcnt,contr
+	increase -1,contr
+	call memcpy_fast
+	branch store_contw
+
+
+
+le_send_att_read_by_type_res_not_characteristic:
+	call le_att_get_short_uuid_ptr
+	branch le_send_att_error_response_notfound,blank
+	copy contr,regc
+	increase -5,contr // point to handle
+	ifetch 2,contr
+	store 2,mem_temp
+	arg 20,rega
+	call le_fifo_malloc_tx_l2cap_gatt
+	setarg ATTOP_READ_BY_TYPE_RESPONSE
+	istore 1,contw
+	ifetch 1,regc
+	copy pdata,loopcnt
+	increase 2,pdata
+	istore 1,contw
+	fetch 2,mem_temp
+	istore 2,contw
+	add regc,1,contr
+	call memcpy_fast
+	call store_contw
+	branch le_send_auto_len_by_mem
+
+	
+
+le_send_att_read_by_type_res_device_name:
+	arg UUID_CHRCTR_DEVICE_NAME,temp
+	call le_att_get_short_uuid_ptr
+	rtn blank
+	increase -5,contr // point to handle
+	ifetch 2,contr		
+	store 2,mem_temp
+	arg 20,rega
+	call le_fifo_malloc_tx_l2cap_gatt
+	setarg ATTOP_READ_BY_TYPE_RESPONSE
+	istore 1,contw
+	fetch 1,mem_le_name_len
+	copy pdata,loopcnt
+	increase 2,pdata
+	istore 1,contw
+	fetch 2,mem_temp
+	istore 2,contw
+	arg mem_le_name,contr
+	call memcpy_fast
+	call store_contw
+	branch le_send_auto_len_by_mem
+
+
+
+le_parse_att_read_request:
+	call le_check_encrypt_state
+	fetcht 2,mem_le_att_handle
+	fetch 1,mem_le_configuration
+	bbit1 BIT_BLE_READ_AUTH,le_send_att_read_response_check_auth
+
+//input:temp is handle
+le_send_att_read_response:
+	call le_att_get_handle_ptr2
+	nbranch le_send_att_error_response_notfound,zero
+	call le_send_att_read_response_check_handle,user
+	rtn user
+	call le_att_get_handle_ptr_found
+	increase -2,contr
+	ifetch 2,contr
+	arg UUID_CHRCTR_DEVICE_NAME,temp
+	isub temp,null
+	branch le_send_device_name,zero
+	ifetch 1,contr
+	sub pdata,22,null
+	branch le_send_att_read_response_less,positive
+	force 22,pdata
+le_send_att_read_response_less:
+	copy pdata,regc
+	call store_contr
+	add regc,1,rega
+	call le_fifo_malloc_tx_l2cap_gatt
+	setarg ATTOP_READ_RESPONSE
+	istore 1,contw
+	copy regc,loopcnt
+	call get_contr
+	branch memcpy
+
+le_send_device_name:
+	call store_contr
+	fetch 1,mem_le_name_len
+	add pdata,1,rega
+	call le_fifo_malloc_tx_l2cap_gatt
+	setarg ATTOP_READ_RESPONSE
+	istore 1,contw
+	fetch 1,mem_le_name_len
+	copy pdata,loopcnt
+	arg mem_le_name,contr
+	branch memcpy
+	
+	
+le_send_att_read_response_check_auth:
+	fetch 2,mem_le_pairing_handle
+	isub temp,null
+	nbranch le_send_att_read_response,zero
+	nbranch le_send_att_read_response,user
+le_send_att_read_response_error_insufficient_auth:
+	jam ATT_ERR_INSUFFICIENT_AUTHENTICATION,mem_le_err_code
+	branch le_send_att_error_response
+
+le_send_att_read_response_check_handle:
+	increase -2,contr
+	ifetch 2,contr
+	bbit1 BIT_OF_ATT_HANDLE_READ_AUTHENTICATED,le_send_att_read_response_error_insufficient_auth
+	branch disable_user
+
+le_parse_att_read_blob_request:
+	ifetch 2,contr
+	store 2,mem_le_att_offset
+le_send_att_read_blob_response:
+	arg 20,rega
+	call le_fifo_malloc_tx_l2cap_gatt
+	setarg ATTOP_READ_BLOB_RESPONSE
+	istore 1,contw
+	fetch 2,mem_le_att_offset
+	iforce rega
+	fetcht 2,mem_le_att_handle
+	call le_att_get_handle_ptr 
+	branch le_send_att_error_response_notfound,blank
+	ifetch 1,contr
+	isub rega,loopcnt
+	nbranch le_send_att_error_response_notfound,positive
+	sub loopcnt,22,null
+	branch le_send_att_read_blob_response_less,positive
+	force 22,loopcnt
+le_send_att_read_blob_response_less:
+	deposit rega
+	iadd contr,contr
+	call memcpy_fast
+	call store_contw
+	branch le_send_auto_len_by_mem
+
+
+//查询server
+le_parse_att_read_by_group_type_request:
+	call le_get_search_handle_start_end_common
+ 	call le_get_search_att_type
+	branch le_send_att_read_by_group_type_response
+
+
+//mem_le_search_att_type
+//mem_le_search_handle_start
+//mem_le_search_handle_end
+le_send_att_read_by_group_type_response:
+	arg 2,timeup
+	fetcht 2,mem_le_search_handle_start
+	storet 2,mem_temp
+	call le_att_get_handle_ptr2
+	increase -2,contr
+	copy contr,pdata
+	store 2,mem_le_cur_attlist_start_ptr
+le_send_att_read_by_group_type_response_loop:
+	call le_att_check_handle_end		//check current handle >= ending handle
+	nbranch le_send_att_read_by_group_type_end0,positive
+	fetcht 2,mem_temp
+	call le_att_get_handle_info_from_ptr	//get current handle info
+	nbranch le_send_att_read_by_group_type_end1,blank
+
+	call le_att_same_type				//compair attr group type
+	nbranch le_send_att_read_by_group_type_next_handle,zero
+	copy timeup,pdata
+	beq 0,le_send_att_read_by_group_type_end1	//loop count
+	nbranch le_send_att_read_by_group_type_store_write_record,user		//un first
+	disable user
+	//first att uuid
+	arg 20,rega
+	call le_fifo_malloc_tx_l2cap_gatt
+	setarg ATTOP_READ_BY_GROUP_TYPE_RESPONSE
+	istore 1,contw
+	fetch 1,mem_le_curr_att_len
+	add pdata,4,rega
+	istorer rega,1,contw
+	call store_contw
+	sub rega,6,null
+	ncall enable_user2,zero
+	call disable_user2,zero
+ 	call le_get_search_max_mtu_data
+	idiv rega
+	call wait_div_end
+	quotient timeup
+	branch le_send_att_read_by_group_type_store_record
+le_send_att_read_by_group_type_store_write_record:
+	call le_send_att_read_by_group_type_check_pair_length_type
+	nbranch le_send_att_read_by_group_type_end1,blank
+	fetch 2,mem_temp
+	increase -1,pdata
+	store 2,mem_le_cur_handle_end
+	call le_write_att_record
+le_send_att_read_by_group_type_store_record:
+	fetch 2,mem_temp
+	store 2,mem_le_cur_handle_start
+	call le_store_att_record
+	increase -1,timeup
+//	branch le_send_att_read_by_group_type_last_find,zero		
+le_send_att_read_by_group_type_next_handle:
+	call le_att_next_handle
+	branch le_send_att_read_by_group_type_response_loop
+
+le_send_att_read_by_type_res_check_pair_length_type:
+	fetch 1,mem_le_cur_uuid_length
+	branch le_send_att_read_by_group_type_check_pair_length_type+1
+
+//output:blank is same
+le_send_att_read_by_group_type_check_pair_length_type:
+	fetch 1,mem_le_curr_att_len
+	branch le_send_att_read_by_group_type_check_pair_length_type_16byte,user2
+	increase -2,pdata
+	rtn
+
+le_send_att_read_by_group_type_check_pair_length_type_16byte:
+	increase -16,pdata
+	rtn
+
+le_send_att_read_by_group_type_end0:	//> att handle end
+	fetch 2,mem_temp
+	store 2,mem_le_cur_handle_end
+	branch le_send_att_read_by_group_type_end_common
+le_send_att_read_by_group_type_end1:	//>att max list handle or diff len 
+	fetch 2,mem_temp
+	increase -1,pdata
+	store 2,mem_le_cur_handle_end
+	branch le_send_att_read_by_group_type_end_common
+le_send_att_read_by_group_type_end_common:
+	branch le_send_att_error_response_notfound,user
+	call le_write_att_record
+	branch le_send_auto_len_by_mem
+
+
+
+
+le_parse_att_write_request:
+	copy contr,rega
+	fetch 2,mem_le_l2cap_size
+	add pdata,-3,regb
+	call le_writeatt_cb
+le_send_att_write_response_check_auth:
+	call le_check_encrypt_state
+	fetcht 2,mem_le_att_handle
+	call le_att_get_handle_ptr2
+	nbranch le_send_att_write_response_error_invalid_handle,zero
+	call le_send_att_write_response_check_handle,user
+	rtn user
+
+	fetch 1,mem_le_configuration
+	bbit0 BIT_BLE_WRITE_AUTH,le_send_att_write_response
+
+	fetcht 2,mem_le_att_handle
+	fetch 2,mem_le_pairing_handle
+	isub temp,null
+	nbranch le_send_att_write_response,zero
+	call le_check_encrypt_state
+	nbranch le_send_att_write_response,user
+	branch le_send_att_read_response_error_insufficient_auth
+
+
+le_send_att_write_response:
+	force 1,rega
+	call le_fifo_malloc_tx_l2cap_gatt
+	setarg ATTOP_WRITE_RESPONSE
+	istore 1,contw
+	rtn
+
+le_send_att_write_response_check_handle:
+	increase -2,contr
+	ifetch 2,contr
+	bbit1 BIT_OF_ATT_HANDLE_WRITE_AUTHENTICATED,le_send_att_read_response_error_insufficient_auth
+	branch disable_user
+
+le_send_att_write_response_error_invalid_handle:
+	jam ATT_ERR_INVALID_HANDLE,mem_le_err_code
+	branch le_send_att_error_response
+
+
+le_check_encrypt_state:
+	call disable_user
+	fetch 1,mem_le_pairing_mode
+	rtneq LE_PAIRING_MODE_NONE
+	fetch 1,mem_context
+	rtnbit1 lestate_encryption
+	branch enable_user
+
+
+le_parse_att_prepare_write_request:
+	add contr,2,rega
+	fetch 2,mem_le_l2cap_size
+	add pdata,-5,regb
+	call le_writeatt_cb
+	branch le_send_att_prepare_write_response
+
+
+le_send_att_prepare_write_response:
+	fetch 2,mem_le_l2cap_size
+	copy pdata,rega
+	call le_fifo_malloc_tx_l2cap_gatt
+	setarg ATTOP_PREPARE_WRITE_RESPONSE
+	istore 1,contw
+	fetch 2,mem_le_att_handle
+	istore 2,contw
+	fetch 2,mem_le_l2cap_size
+	add pdata,-5,loopcnt	
+	fetch 2,mem_le_payload_ptr
+	add pdata,7,contr
+	ifetch 2,contr		//offset
+	istore 2,contw
+	branch memcpy_fast
+
+
+
+le_parse_att_execute_write_request:
+
+le_send_att_execute_write_response:
+	force 1,rega
+	call le_fifo_malloc_tx_l2cap_gatt
+	setarg ATTOP_EXECUTE_WRITE_RESPONSE
+	istore 1,contw
+	rtn
+
+le_parse_handle_value_confirmation:
+	fetch 1,mem_le_l2cap_att_states
+	set0 BLE_L2CAP_RECV_CONFIRMATION_PACKET,pdata
+	store 1,mem_le_l2cap_att_states
+	rtn
+
+le_parse_att_write_command:
+	copy contr,rega
+	fetch 2,mem_le_l2cap_size
+	add pdata,-3,regb
+	branch le_writeatt_cb
+
+
+
+//rga:len temp:handle;rgea,regb,regc already used
+le_att_malloc_tx_notify:
+	copy temp,regc
+	increase 3,rega
+	call le_fifo_malloc_tx_l2cap_gatt
+	increase -3,rega
+	setarg ATTOP_HANDLE_VALUE_NOTIFICATION
+	istore 1,contw
+	copy regc,temp
+	istoret 2,contw
+	rtn
+
+//rga:len temp:handle;rgea,regb,regc already used
+le_att_malloc_tx_indication:
+	fetch 1,mem_le_l2cap_att_states
+	set1 BLE_L2CAP_SEND_INDICATION_PACKET,pdata
+	store 1,mem_le_l2cap_att_states
+	copy temp,regc
+	increase 3,rega
+	call le_fifo_malloc_tx_l2cap_gatt
+	increase -3,rega
+	setarg ATTOP_HANDLE_VALUE_INDICATION
+	istore 1,contw
+	copy regc,temp
+	istoret 2,contw
+	rtn
+
+
+///////////////////////////ATT common function////////////////////////////////////
+
+le_send_att_error_response_notfound:	
+	jam ATT_ERR_ATTRIBUTE_NOT_FOUND,mem_le_err_code
+le_send_att_error_response:	
+	force 5,rega
+	call le_fifo_malloc_tx_l2cap_gatt
+	setarg ATTOP_ERROR_RESPONSE
+	istore 1,contw
+	fetch 1,mem_le_att_opcode
+	istore 1,contw
+	fetch 2,mem_le_att_handle
+	istore 2,contw
+	fetch 1,mem_le_err_code
+	istore 1,contw
+	rtn
+
+
+le_fifo_malloc_tx_l2cap_gatt:
+	force LE_L2CAP_CID_ATT,regb
+	branch le_fifo_malloc_tx_l2cap
+
+
+le_att_next_handle:
+	fetcht 2,mem_temp
+	increase 1,temp
+	storet 2,mem_temp
+	rtn
+
+le_att_check_handle_end:
+	fetcht 2,mem_temp
+	fetch 2,mem_le_search_handle_end
+	isub temp,null
+	rtn
+
+
+le_att_same_type:
+	fetcht 1,mem_le_search_att_type_length
+	arg mem_le_search_att_type,rega
+le_att_check_same_common:
+	fetch 1,mem_le_cur_uuid_length
+	copy pdata,loopcnt
+	isub temp,null
+	nrtn zero
+	arg mem_le_cur_uuid ,regb
+	branch string_compare
+
+le_att_same_uuid:
+	fetcht 1,mem_le_search_uuid_length
+	arg mem_le_search_uuid,rega
+	branch le_att_check_same_common
+
+
+le_store_att_record:
+	fetch 1,mem_le_curr_att_len
+	store 1, mem_tmp_buffer
+	copy pdata,loopcnt
+	call get_contr
+	branch memcpy_fast
+
+
+le_write_att_record:
+	call get_contw
+	fetch 2,mem_le_cur_handle_start
+	istore 2,contw
+	fetch 2,mem_le_cur_handle_end
+	istore 2,contw
+le_write_att_record_common:
+	fetch 1,mem_tmp_buffer
+	copy pdata,loopcnt
+	call memcpy_fast
+	branch store_contw
+
+
+
+le_send_auto_len_by_mem:
+	bpatchx patch3b_0,mem_patch3b
+	call get_contw
+	call le_fifo_get_last_att_ptr
+	copy contw,pdata
+	isub contr,rega
+	call le_fifo_get_last_l2cap_ptr
+	copy rega,pdata
+	istore 2,contr
+	increase 4,rega
+	call le_fifo_get_last_tx_ptr
+	copy rega,pdata
+	istore 1,contr
+	rtn
+
+
+le_get_search_handle_start_end_common:
+	rshift8 pdata,pdata
+	store 2,mem_le_search_handle_start
+	ifetch 2,contr
+	store 2,mem_le_search_handle_end
+	rtn
+
+le_get_search_max_mtu_data:
+	fetch 2,mem_le_remote_mtu
+	increase -2,pdata
+	//-2原因
+	//uint8_t attribute opcode
+	//uint8_t length
+	fetcht 2,mem_le_local_mtu
+	increase -2,temp
+	call not_greater_than
+	arg 240,temp
+	call not_greater_than
+	//pdata is max mtu size
+	rtn
+
+le_get_search_att_type:
+	call store_contr
+	arg mem_le_search_att_type_length,contw
+le_get_search_common:	
+	fetch 2,mem_le_l2cap_size
+	increase -5,pdata
+le_get_search_common2:		
+	istore 1,contw
+	copy pdata,loopcnt
+	call get_contr
+	branch memcpy_fast	
+
+
+
+le_parse_writing_attribute_start:
+	fetch 2,mem_le_rxbuf_data_att_cid//CID
+	rtnne LE_L2CAP_CID_ATT
+	fetch 1,mem_le_l2cap_att_states
+	set1 BLE_L2CAP_DEAL_WITH_CONTINUE_PACKET,pdata
+	store 1,mem_le_l2cap_att_states
+	fetch 3,mem_le_rxbuf_data_att_opcode
+	store 3,mem_le_att_opcode
+	set1 mark_old_packet,mark
+	beq ATTOP_WRITE_REQUEST,le_parse_attribute_write_request
+	beq ATTOP_WRITE_COMMAND,le_parse_attribute_write_command
+	beq ATTOP_EXECUTE_WRITE_REQUEST,le_parse_att_execute_write_request
+	beq ATTOP_EXCHANGE_MTU_REQUEST,le_parse_att_exchange_mtu_request
+	beq ATTOP_HANDLE_VALUE_CONFIRMATION,le_parse_handle_value_confirmation
+	set0 mark_old_packet,mark
+le_clear_l2cap_att_states_deal_with_contiune_packet:
+	fetch 1,mem_le_l2cap_att_states
+	set0 BLE_L2CAP_DEAL_WITH_CONTINUE_PACKET,pdata
+	store 1,mem_le_l2cap_att_states
+	rtn
+
+le_parse_writing_attribute_continue:
+	fetch 1,mem_le_l2cap_att_states
+	rtnbit0 BLE_L2CAP_DEAL_WITH_CONTINUE_PACKET
+	set1 mark_old_packet,mark
+	call le_parse_l2cap_continue_common
+	call le_parse_attribute_check_complete_packet
+	call le_clear_l2cap_att_states_deal_with_contiune_packet,user
+	fetch 1,mem_le_att_opcode
+	beq ATTOP_WRITE_REQUEST,le_send_att_write_response_check_auth
+	rtn
+
+
+le_parse_attribute_write_request:
+	call le_parse_attribute_write_command
+	branch le_send_attribute_write_response_check_auth
+
+le_send_attribute_write_response_check_auth:
+	call le_parse_attribute_check_complete_packet
+	nrtn user
+	branch le_send_att_write_response_check_auth
+
+
+le_parse_attribute_write_command:
+	call le_parse_attribute_check_complete_packet_init
+	arg mem_le_rxbuf_data_att_write_payload,rega
+	branch le_writeatt_cb
+
+
+le_parse_attribute_check_complete_packet_init:
+	fetch 1,mem_le_rxbuf_data_att_write_length
+	add pdata,-7,regb
+	increase -4,pdata
+	store 2,mem_le_packet_len_recved	//payload length
+	fetcht 2,mem_le_rxbuf_data_att_write_l2cap_length	//l2cap length
+	storet 2,mem_le_l2cap_size
+	rtn
+
+
+le_parse_l2cap_continue_common:
+	fetchr regb,1,mem_le_rxbuf_data_continue_length
+	fetch 2,mem_le_packet_len_recved
+	iadd regb,temp
+	storet 2,mem_le_packet_len_recved
+	arg mem_le_rxbuf_data_continue_payload,rega
+	branch le_writeatt_cb
+
+
+//enable user,recevie complete packet
+le_parse_attribute_check_complete_packet:
+	call disable_user
+	fetch 2,mem_le_packet_len_recved
+	fetcht 2,mem_le_l2cap_size
+	isub temp,null
+	nrtn zero
+	branch enable_user
+
Index: program/ble_protocol_stack/le_l2cap_att_wechat.prog
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/program/ble_protocol_stack/le_l2cap_att_wechat.prog	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/program/ble_protocol_stack/le_l2cap_att_wechat.prog	(working copy)
@@ -0,0 +1,276 @@
+
+ifdef COMPILE_WECHAT
+
+/*
+	function name:le_l2cap_att_receive_data_check_wechat_air_sync_protocol
+	依据微信蓝牙外设协议1.0.4
+	输入:
+		rega is le rx data address
+		regb is le rx data length
+		mem_le_att_handle is write handle
+	输出:
+		user enable 是微信协议
+		disable不是微信协议
+*/
+le_l2cap_att_receive_data_check_wechat_air_sync_protocol:
+	call enable_user
+	fetch 2,mem_le_wechat_air_sync_ptr
+	rtn blank
+	arg le_l2cap_att_receive_data_deal_wechat_air_sync_protocol,regc
+	branch wechat_air_sync_calc_function
+le_l2cap_att_receive_data_deal_wechat_air_sync_protocol:
+	fetcht 2,mem_le_att_handle
+	fetch 1,mem_wechat_indication_handle
+	pincrease 1
+	isub temp,null
+	branch wechat_air_sync_enable_indicate_chara,zero
+	fetch 1,mem_wechat_write_handle
+	isub temp,null
+	branch wechat_air_sync_receive_wechat_data,zero
+	branch disable_user
+	
+wechat_air_sync_enable_indicate_chara:
+	call wechat_air_sync_reset_nSeq
+wechat_air_sync_send_request_auth:
+	call wechat_air_sync_init_authreq_base_request
+	arg mem_wechat_authreq_base_request,rega
+	arg ECI_REQ_AUTH_MESSAGE_LENGTH,loopcnt
+	arg ECI_REQ_AUTH,temp
+	branch wechat_air_sync_send_message
+
+wechat_air_sync_receive_wechat_data:
+	fetch 1,mem_wechat_receive_push_data
+	beq 1,wechat_air_sync_receive_wechat_data_contiune_packet
+	ifetch 2,rega
+	arg WECHAT_RX_HEAD,temp
+	isub temp,null
+	branch wechat_air_sync_receive_wechat_data_head_packet,zero
+wechat_air_sync_receive_wechat_data_contiune_packet:
+	fetch 2,mem_wechat_rx_len
+	iadd regb,pdata
+	store 2,mem_wechat_rx_len	
+	fetch 2,mem_wechat_rx_address
+	copy pdata,contw
+	copy rega,contr
+	copy regb,loopcnt
+	call memcpy_fast
+	copy contw,pdata
+	store 2,mem_wechat_rx_address
+	branch wechat_air_sync_receive_wechat_packet_complete
+
+
+wechat_air_sync_receive_wechat_data_head_packet:
+	fetch 2,mem_wechat_rx_buffer_ptr
+	copy pdata,contw
+	copy rega,contr
+	copy regb,loopcnt
+	call memcpy_fast
+	copy contw,pdata
+	store 2,mem_wechat_rx_address
+	storer regb,2,mem_wechat_rx_len
+	fetchr regc,2,mem_wechat_rx_buffer_ptr
+	add regc,WECHAT_PROTOCOL_MESSAGE_N_CMD_ID,contr
+	ifetch 2,contr
+	arg ECI_PUSH_RECEIVE_DATA,temp
+	isub temp,null
+	call wechat_air_sync_receive_wechat_push_data,zero
+	branch wechat_air_sync_receive_wechat_packet_complete
+
+wechat_air_sync_receive_wechat_push_data:
+	jam 1,mem_wechat_receive_push_data
+	rtn
+
+wechat_air_sync_receive_wechat_packet_complete:
+	fetch 2,mem_wechat_rx_len
+	fetchr regc,2,mem_wechat_rx_buffer_ptr
+	add regc,WECHAT_PROTOCOL_MESSAGE_N_LENGTH,contr
+	ifetcht 2,contr
+	byteswap temp,temp
+	isub temp,null
+	nrtn positive
+	jam 0,mem_wechat_receive_push_data
+	fetchr regc,2,mem_wechat_rx_buffer_ptr
+	add regc,WECHAT_PROTOCOL_MESSAGE_N_CMD_ID,contr
+	ifetch 2,contr
+	arg ECI_RESPONSE_AUTH,temp
+	isub temp,null
+	branch wechat_air_sync_receive_wechat_data_auth_respone,zero
+	arg ECI_PUSH_RECEIVE_DATA,temp
+	isub temp,null
+	branch wechat_air_sync_receive_wechat_data_push_receive_data,zero
+	rtn
+
+wechat_air_sync_receive_wechat_data_auth_respone:
+wechat_air_sync_wechat_send_request_init:
+	call wechat_air_sync_init_authreq_base_request
+	arg mem_wechat_initreq_base_request,rega
+	arg ECI_REQ_INIT_MESSAGE_LENGTH,loopcnt
+	arg ECI_REQ_INIT,temp
+	branch wechat_air_sync_send_message
+
+
+//接收数据的回调，可以使用wechat_air_sync_check_push_data_struct解析函数
+wechat_air_sync_receive_wechat_data_push_receive_data:
+
+	fetch 2,mem_wechat_rx_push_data_cb
+	branch callback_func
+
+/*
+数据解析默认函数，不能保证全部数据格式都能解析
+输出:disable user is no data
+	loopcnt is data length
+	contr is data ptr
+*/
+wechat_air_sync_check_push_data_struct:
+	call disable_user
+	fetchr regc,2,mem_wechat_rx_buffer_ptr
+	add regc,WECHAT_PROTOCOL_MESSAGE_PAYLOAD,contr
+	ifetch 2,contr
+	rtnne TAG_RecvDataPush_BasePush
+	ifetch 1,contr
+	rtnne TAG_RecvDataPush_Data
+	ifetch 1,contr
+	rtn blank
+	copy pdata,loopcnt
+	copy contr,regc
+	branch enable_user
+
+
+wechat_air_sync_send_message:
+	call enable_user2
+wechat_air_sync_send_message_without_payload:
+	fetch 2,mem_wechat_tx_buffer_ptr
+	store 2,mem_wechat_tx_address
+	copy pdata,contw
+	setarg WECHAT_HEAD_MAGIC_NUMBER
+	istore 1,contw			//bMagicNumber
+	setarg WECAHT_HEAD_VERSION
+	istore 1,contw			//bVer
+	add loopcnt,8,regd	//nLength
+	byteswap regd,pdata
+	istore 2,contw			//nLength
+	istoret 2,contw			//nCmdId
+	fetcht 2,mem_wechat_tx_nSeq
+	istoret 2,contw			//Tx nSeq
+	copy contw,regc
+	copy rega,contr
+	call memcpy_fast,user2
+	storer regd,2,mem_wechat_tx_len
+	branch wechat_air_sync_update_nSeq
+	
+wechat_air_sync_update_nSeq:
+	byteswap temp,pdata
+	pincrease 1
+	byteswap pdata,pdata
+	nbranch wechat_air_sync_store_nSeq,blank
+wechat_air_sync_reset_nSeq:
+	setarg 0x0100
+wechat_air_sync_store_nSeq:
+	store 2,mem_wechat_tx_nSeq
+	rtn
+
+
+wechat_air_sync_init_authreq_base_request:
+	setarg 0x000a
+	store 2,mem_wechat_authreq_base_request
+	setarg 0x048084
+	lshift8 pdata,pdata
+	or pdata,0x18,pdata
+	store 4,mem_wechat_authreq_protocol_version
+	setarg 0x0120
+	store 2,mem_wechat_authreq_auth_protocol
+	setarg 0x0228
+	store 2,mem_wechat_authreq_eam_mac_no_encrypt
+	setarg 0x063a
+	store 2,mem_wechat_authreq_mac_address
+	fetch 6,mem_le_lap
+	call inverse_data_6Byte
+	store 6,mem_wechat_authreq_device_address
+	rtn
+
+wechat_air_sync_ble_transmit_wechat_message:
+	fetch 1,mem_le_l2cap_att_states
+	rtnbit1 BLE_L2CAP_RECV_CONFIRMATION_PACKET
+	call le_fifo_check_nearly_full
+	nrtn blank				//no fifo
+	fetch 2,mem_le_wechat_air_sync_ptr
+	rtn blank
+	arg wechat_air_sync_ble_send_wechat_message,regc
+	branch wechat_air_sync_calc_function
+
+wechat_air_sync_ble_send_wechat_message:
+	call module_get_le_remote_mtu
+	fetch 2,mem_wechat_tx_len
+	rtn blank
+	add temp,-3,pdata		//sub handle and opcode
+	fetcht 2,mem_wechat_tx_len
+	call not_greater_than
+	copy pdata,rega
+	copy temp,pdata
+	isub rega,pdata
+	store 2,mem_wechat_tx_len
+	fetcht 1,mem_wechat_indication_handle
+	call le_att_malloc_tx_indication
+	fetch 2,mem_wechat_tx_address
+	copy pdata,contr
+	copy rega,loopcnt
+	call memcpy_fast
+	copy contr,pdata
+	store 2,mem_wechat_tx_address
+	rtn
+
+
+wechat_air_sync_calc_function:
+	call wechat_air_sync_load_in_local_buffer
+	copy regc,pdata
+	call callback_func
+	branch wechat_air_sync_store_in_global_buffer
+
+
+wechat_air_sync_load_in_local_buffer:
+	fetch 2,mem_le_wechat_air_sync_ptr
+	rtn blank
+	copy pdata,contr
+	arg WECHAT_AIR_SYNC_STRUCT_SIZE,loopcnt
+	arg mem_wechat_indication_handle,contw
+	branch memcpy_fast
+
+wechat_air_sync_store_in_global_buffer:
+	fetch 2,mem_le_wechat_air_sync_ptr
+	rtn blank
+	copy pdata,contw
+	arg WECHAT_AIR_SYNC_STRUCT_SIZE,loopcnt
+	arg mem_wechat_indication_handle,contr
+	branch memcpy_fast
+
+
+//input:rega is data ptr
+//regb is data length
+wechat_air_sync_send_wechat_packet:
+	call enable_user
+	fetch 2,mem_le_wechat_air_sync_ptr
+	rtn blank
+	arg wechat_air_sync_send_wechat_packet_cb,regc
+	branch wechat_air_sync_calc_function
+
+wechat_air_sync_send_wechat_packet_cb:
+	fetch 2,mem_wechat_tx_len
+	nrtn blank
+	call disable_user
+	call disable_user2
+	add regb,6,loopcnt
+	arg ECI_REQ_SEND_DATA,temp
+	call wechat_air_sync_send_message_without_payload
+	copy regc,contw
+	setarg 0x12000a
+	istore 3,contw
+	istorer regb,1,contw
+	copy rega,contr
+	copy regb,loopcnt
+	call memcpy_fast
+	setarg 0x0018
+	istore 2,contw
+	rtn
+
+endif
+
Index: program/ble_protocol_stack/le_l2cap_signalling.prog
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/program/ble_protocol_stack/le_l2cap_signalling.prog	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/program/ble_protocol_stack/le_l2cap_signalling.prog	(working copy)
@@ -0,0 +1,54 @@
+
+
+le_parse_signaling:
+	ifetch 1,contr
+	ifetcht 1,contr //id
+	ifetcht 2,contr //length
+	beq L2CAP_CONNECTION_PARAMETER_UPDATE_RESPONSE,le_l2cap_parse_conn_parameter_update_rsp
+	rtn
+le_l2cap_parse_conn_parameter_update_rsp:
+	ifetch 2,contr	//result
+	store 2,mem_le_l2cap_signaling_conn_param_update_rsp_result
+	jam BT_EVT_LE_PARSE_CONN_PAPA_UPDATE_RSP,mem_fifo_temp
+	branch ui_ipc_send_event
+
+
+//mem_le_interval_min:the ptr that connection parameter,
+//include 	ConnIntervalMin,ConnIntervalMax,
+//		ConnSlaveLatency,ConnSupervisionTimeout
+le_l2cap_tx_update_req:
+	arg 0x0c,rega
+	arg L2CAP_CONNECTION_PARAMETER_UPDATE_REQUEST,regc
+	call le_fifo_malloc_tx_l2cap_signaling
+	setarg 0x08
+	istore 2,contw
+	fetch 8,mem_le_interval_min
+	istore 8,contw
+	rtn
+
+
+//rega:len regc:signaling opcode
+le_fifo_malloc_tx_l2cap_signaling:
+	call le_l2cap_update_signaling_identifier
+	arg LE_L2CAP_CID_SIGNAL,regb
+	call le_fifo_malloc_tx_l2cap
+	copy regc,pdata
+	istore 1,contw
+	fetch 1,mem_le_signaling_identifier
+	istore 1,contw
+	rtn
+
+
+le_l2cap_update_signaling_identifier:
+	fetch 1,mem_le_signaling_identifier
+	//beq 0xff,le_l2cap_signaling_identifier_set_1
+	pincrease 1
+	store 1,mem_le_signaling_identifier
+	rtnne 0
+	
+le_l2cap_reset_signaling_identifier:
+	jam 1,mem_le_signaling_identifier
+	rtn
+
+
+
Index: program/ble_protocol_stack/le_l2cap_smp.prog
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/program/ble_protocol_stack/le_l2cap_smp.prog	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/program/ble_protocol_stack/le_l2cap_smp.prog	(working copy)
@@ -0,0 +1,611 @@
+
+le_pairing_mode_init:
+	fetch  1,mem_le_pairing_mode
+	beq LE_PAIRING_MODE_NONE, le_set_no_pairing
+	beq LE_PAIRING_MODE_LAGACY_JUSTWORK,le_set_pairing_mode_lagacy_just_work
+	beq LE_PAIRING_MODE_LAGACY_PASSKEY,le_set_pairing_mode_lagacy_passkey
+ifdef SECURE_CONNECTION
+	beq LE_PAIRING_MODE_SECURE_CONNECT_JUSTWORK,le_set_pairing_mode_secure_justwork
+	beq LE_PAIRING_MODE_SECURE_CONNECT_NUMERIC,le_set_pairing_mode_secure_numeric
+	beq LE_PAIRING_MODE_SECURE_CONNECT_PASSKEY,le_set_pairing_mode_secure_passkey
+endif
+	rtn
+
+ifdef SECURE_CONNECTION	
+le_set_pairing_mode_secure_justwork:
+	jam FLAG_LE_BONDING_MITM_SECURE,mem_le_pres_auth
+	branch le_set_noinputnooutput
+le_set_pairing_mode_secure_numeric:
+	jam FLAG_LE_BONDING_MITM_SECURE,mem_le_pres_auth
+	jam FLAG_IOCAP_DISPLAYYESNO,mem_le_pres_iocap
+	rtn
+le_set_pairing_mode_secure_passkey:	
+	jam FLAG_LE_BONDING_MITM_SECURE,mem_le_pres_auth
+	branch le_set_displayonly
+endif
+le_set_no_pairing:
+	jam FLAG_LE_NO_BONDING_NO_MITM,mem_le_pres_auth
+le_set_noinputnooutput:	
+	jam FLAG_IOCAP_NOINPUTNOOUTPUT,mem_le_pres_iocap
+	rtn
+le_set_pairing_mode_lagacy_just_work:
+	jam FLAG_LE_BONDING_MITM,mem_le_pres_auth
+	branch le_set_noinputnooutput
+le_set_pairing_mode_lagacy_passkey:
+	jam FLAG_LE_BONDING_MITM,mem_le_pres_auth
+le_set_displayonly:	
+	jam FLAG_IOCAP_DISPLAYONLY,mem_le_pres_iocap
+	rtn
+
+	
+le_secure_connection_enable:
+	fetch 1,mem_secure_connections_enable
+	set1 SECURE_CONNECTIONS_LE_BIT,pdata
+	store 1,mem_secure_connections_enable
+	rtn
+	
+le_secure_connection_disable:
+	fetch 1,mem_secure_connections_enable
+	set0 SECURE_CONNECTIONS_LE_BIT,pdata
+	store 1,mem_secure_connections_enable
+	rtn
+
+le_parse_smp:
+	ifetch 1,contr
+	beq SMP_PAIRING_REQUEST,le_parse_smp_pairing_request
+//	beq SMP_PAIRING_RESPONSE,le_parse_smp_pairing_response
+	beq SMP_PAIRING_CONFIRM,le_parse_smp_pairing_confirm
+	beq SMP_PAIRING_RANDOM,le_parse_smp_pairing_random
+	beq SMP_PAIRING_FAILED,le_parse_smp_pairing_failed
+//	beq SMP_ENCRYPTION_INFORMATION,le_parse_smp_encryption_information
+	beq SMP_MASTER_IDENTIFICATION,le_parse_smp_master_identification
+	beq SMP_IDENTITY_INFORMATION,le_parse_smp_identity_information
+	beq SMP_IDENTITY_ADDRESS_INFORMATION,le_parse_smp_identity_address_information
+	beq SMP_SIGNING_INFORMATION,le_parse_smp_signing_information
+	beq SMP_SECURITY_REQUEST,le_parse_smp_security_request
+ifdef SECURE_CONNECTION
+	beq SMP_PAIRING_PUBLIC_KEY,le_parse_smp_public_key
+	beq SMP_PAIRING_DHKEY_CHECK,le_parse_smp_dhkey_check
+endif
+	rtn
+
+
+
+le_send_smp_security_request:
+	force 2,rega
+	call le_fifo_malloc_tx_l2cap_smp
+	setarg SMP_SECURITY_REQUEST
+	istore 1,contw
+	fetch 1,mem_le_pres_auth
+	istore 1,contw
+	rtn
+		
+le_parse_smp_pairing_request:
+	store 1,mem_le_preq
+	ifetch 6,contr
+	istore 6,contw
+	fetch 1,mem_le_pairing_mode
+	beq  LE_PAIRING_MODE_NONE,le_smp_pairing_fail_reason_not_support_pairing
+	call le_send_smp_pairing_response
+	fetch 1,mem_sc_only_mode
+	branch le_parse_smp_pairing_request2, blank
+	fetch 1,mem_le_preq_auth
+	bbit0  LE_AUTH_SECURE_CONNECTION_PAIRING_BIT,app_ble_disconnect
+	fetch 1,mem_le_pairing_mode
+	bbit0 LE_PAIRING_MODE_SECURE_CONNECT_BIT,app_ble_disconnect
+le_parse_smp_pairing_request2:	
+	jam FLAG_LE_PAIRING_RCV_PAIRING_REQ,mem_le_pairing_state
+	fetch 1,mem_le_preq_iocap
+	beq  FLAG_IOCAP_DISPlAYONLY,le_set_tk_0
+	beq  FLAG_IOCAP_DISPLAYYESNO,le_set_tk_0
+	beq  FLAG_IOCAP_NOINPUTNOOUTPUT,le_set_tk_0
+	fetch 1,mem_le_pairing_mode	
+	beq LE_PAIRING_MODE_LAGACY_PASSKEY,le_parse_smp_pairing_req_passkey
+	rtneq LE_PAIRING_MODE_SECURE_CONNECT_PASSKEY
+le_set_tk_0:
+	arg 0,pdata
+	store 4,mem_le_tk
+	rtn
+
+le_parse_smp_pairing_req_passkey:
+	fetch 1,mem_le_configuration
+	bbit1 BIT_BLE_PASSKEY_FIXED_KEY,le_parse_smp_pairing_req_fixed_passkey
+le_genernate_tk:
+	arg mem_le_tk,rega
+	copy rega,contw
+	arg 3,loopcnt
+	call generate_random_loop
+	fetch 2,mem_le_tk + 2
+	and_into 0x7,pdata
+	store 2,mem_le_tk + 2
+le_parse_smp_pairing_req_fixed_passkey:
+	jam BT_EVT_LE_TK_GENERATE,mem_fifo_temp
+	branch ui_ipc_send_event
+
+
+
+le_send_smp_pairing_response:
+	force 7,rega
+	call le_fifo_malloc_tx_l2cap_smp
+	fetch 7,mem_le_pres
+	istore 7,contw
+	rtn
+		
+
+le_parse_smp_pairing_confirm:
+ifdef SECURE_CONNECTION
+	jam FLAG_LE_PAIRING_RECEIVE_PAIRING_CONFIRM,mem_le_pairing_state
+	arg mem_le_rconfirm,contw
+	call memcpy16
+	fetch 1,mem_le_pairing_mode
+	beq LE_PAIRING_MODE_SECURE_CONNECT_PASSKEY,le_parse_smp_pairing_confirm_secure_passkey
+	beq LE_PAIRING_MODE_LAGACY_PASSKEY_RES_INPUT,le_parse_smp_pairing_confirm_passkey_res_input
+	beq LE_PAIRING_MODE_SECURE_CONNECT_PASSKEY_RES_INPUT,le_parse_smp_pairing_confirm_sc_passkey_res_input
+endif
+	branch le_send_smp_pairing_confirm
+ifdef SECURE_CONNECTION
+le_parse_smp_pairing_confirm_secure_passkey:
+	jam LE_SP_FLAG_COMMIT_256,mem_le_secure_connect_flag
+	jam LE_SC_STAT_PASSKEY_WAIT_CONFIRM,mem_le_secure_connect_state	
+	rtn
+endif
+
+
+le_parse_smp_pairing_confirm_passkey_res_input:
+	jam BT_EVT_LE_GET_PASSKEY,mem_fifo_temp
+	branch ui_ipc_send_event
+
+
+le_parse_smp_pairing_confirm_sc_passkey_res_input:
+	fetch 4,mem_le_tk
+	branch le_parse_smp_pairing_confirm_passkey_res_input,blank
+	branch le_parse_smp_pairing_confirm_secure_passkey
+
+
+le_send_smp_pairing_confirm:
+	jam FLAG_LE_PAIRING_SEND_PAIRING_CONFIRM,mem_le_pairing_state
+ifdef SECURE_CONNECTION
+	fetch 1,mem_le_pairing_mode
+	bbit1 LE_PAIRING_MODE_SECURE_CONNECT_BIT,le_send_smp_pairing_confirm_sc
+endif
+	call generate_confirm
+	force 17,rega
+	call le_fifo_malloc_tx_l2cap_smp
+	setarg SMP_PAIRING_CONFIRM
+	istore 1,contw
+	branch  store_aes_result
+
+	
+ifdef SECURE_CONNECTION
+le_send_smp_pairing_confirm_sc:
+	arg mem_le_srand,contw	
+	call generate_random
+	call function_f4_cb
+	force 17,rega
+	call le_fifo_malloc_tx_l2cap_smp
+	setarg SMP_PAIRING_CONFIRM
+	istore 1,contw
+	branch  load_inverse_result
+
+endif
+
+	
+le_parse_smp_pairing_random:	
+ifdef SECURE_CONNECTION
+	copy contr,rega
+	fetch 1,mem_le_pairing_mode
+	bbit1 LE_PAIRING_MODE_SECURE_CONNECT_BIT,le_parse_smp_pairing_random_sc
+	copy rega,contr
+endif
+	call authenticate_rconfirm
+	branch le_parse_smp_pairing_random_success,zero
+le_send_pairing_confirm_value_failed:
+	jam PAIRING_FAILED_CONFIRM_VALUE_FAILED,mem_le_ll_pairing_fail_reason
+le_send_pairing_failed:
+	force 2,rega
+	call le_fifo_malloc_tx_l2cap_smp
+	setarg SMP_PAIRING_FAILED
+	istore 1,contw
+	fetch 1,mem_le_ll_pairing_fail_reason
+	istore 1,contw	
+le_parse_smp_pairing_failed:
+	force smp_pairing_timer,queue
+	call timer_stop
+	jam FLAG_LE_PAIRING_NULL,mem_le_pairing_state
+	jam BT_EVT_LE_PAIRING_FAIL,mem_fifo_temp
+	branch ui_ipc_send_event
+
+le_smp_pairing_fail_reason_not_support_pairing:
+	jam PAIRING_FAILED_PAIRING_NOT_SUPPORTED,mem_le_ll_pairing_fail_reason
+	branch le_send_pairing_failed
+	
+	
+ifdef SECURE_CONNECTION	
+le_parse_smp_pairing_random_sc:
+	arg mem_le_mrand,contw
+	copy rega,contr
+	call memcpy16	
+	fetch 1,mem_le_pairing_mode
+	beq LE_PAIRING_MODE_SECURE_CONNECT_PASSKEY,le_parse_smp_pairing_random_sc_passkey
+	beq LE_PAIRING_MODE_SECURE_CONNECT_PASSKEY_RES_INPUT,le_parse_smp_pairing_random_sc_passkey
+	call function_g2
+	call le_send_smp_pairing_random
+	fetch 1,mem_le_pairing_mode
+	rtnne LE_PAIRING_MODE_SECURE_CONNECT_NUMERIC
+	jam BT_EVT_LE_GKEY_GENERATE,mem_fifo_temp
+	branch ui_ipc_send_event	
+	
+le_parse_smp_pairing_random_sc_passkey:
+	call function_f4_ca
+	arg mem_AES_CMAC_temp,contw
+	call load_inverse_result	
+	arg mem_AES_CMAC_temp,rega
+	arg mem_le_rconfirm ,regb
+	arg 16,loopcnt
+	call string_compare
+	nbranch le_send_pairing_confirm_value_failed,zero
+	branch le_send_smp_pairing_random
+endif
+	
+le_parse_smp_pairing_random_success:
+	call generate_stk
+	jam BT_EVT_LE_PAIRING_SUCCESS,mem_fifo_temp
+	call ui_ipc_send_event
+	jam 1,mem_ltk_exists
+	jam FLAG_LE_PAIRING_AFTER_AUTH,mem_le_pairing_state
+	
+le_send_smp_pairing_random:
+	force 17,rega
+	call le_fifo_malloc_tx_l2cap_smp
+	setarg SMP_PAIRING_RANDOM
+	istore 1,contw
+	arg mem_le_srand,contr
+	branch memcpy16
+
+le_send_smp_encryption_information:
+	force 17,rega
+	call le_fifo_malloc_tx_l2cap_smp
+	setarg SMP_ENCRYPTION_INFORMATION
+	istore 1,contw
+	fetch 1,mem_le_configuration
+	bbit1 BIT_BLE_PAIRING_FIXED_LTK,le_send_fixed_ltk
+	arg mem_le_ltk,contr
+	branch memcpy16
+
+le_send_fixed_ltk:
+	arg mem_le_fixed_ltk,contr
+	branch memcpy16
+
+
+le_send_smp_master_identification:
+	arg mem_le_ediv,contw
+	force 10,loopcnt
+	call generate_random_loop
+	force 11,rega
+	call le_fifo_malloc_tx_l2cap_smp
+	setarg SMP_MASTER_IDENTIFICATION
+	istore 1,contw
+	fetch 2,mem_le_ediv
+	istore 2,contw
+	fetch 8,mem_le_rand
+	istore 8,contw
+	rtn
+
+le_send_smp_identity_information:
+	force 17,rega
+	call le_fifo_malloc_tx_l2cap_smp
+	setarg SMP_IDENTITY_INFORMATION
+	istore 1,contw
+	setarg 0
+	istore 8,contw
+	istore 8,contw
+	rtn
+	
+
+le_send_smp_identity_address_information:
+	force 8,rega
+	call le_fifo_malloc_tx_l2cap_smp
+	setarg SMP_IDENTITY_ADDRESS_INFORMATION
+	istore 1,contw
+	fetch 1,mem_le_conn_own_addr_type
+	istore 1,contw
+	fetch 6,mem_le_lap	
+	istore 6,contw
+	rtn	
+
+
+le_send_pairing_fail_unspecified_reason:
+	jam PAIRING_FAILED_UNSPECIFIED_REASON,mem_le_ll_pairing_fail_reason
+	branch le_send_pairing_failed
+
+le_check_init_key_distribution:
+	fetch 1,mem_le_pres_init_key_distribution
+	fetcht 1,mem_le_pres_init_key_distribution
+	iand temp,pdata
+	rtn	
+
+le_parse_smp_identity_information:
+	arg mem_le_irk,contw
+	call memcpy16
+	call le_check_init_key_distribution
+	isolate0 LE_INITATOR_IRK_BIT,pdata
+	branch le_send_pairing_fail_unspecified_reason,true
+	fetch 1,mem_device_option
+	rtnne dvc_op_module
+	call le_check_master_addr_type
+	nrtn user
+	branch app_ble_store_reconn_info
+
+//output:user is enable ,random addr type
+le_check_master_addr_type:
+	call disable_user
+	fetch 1,mem_le_conn_peer_addr_type
+	rtneq MASTER_PUBLIC_ADDR
+	fetch 1,mem_le_preq_init_key_distribution
+	rtnbit0 LE_INITATOR_IRK_BIT
+	branch enable_user
+
+le_parse_smp_identity_address_information:
+	call le_check_init_key_distribution
+	isolate0 LE_INITATOR_IRK_BIT,pdata
+	branch le_send_pairing_fail_unspecified_reason,true
+	rtn
+
+le_parse_smp_master_identification:
+le_parse_smp_signing_information:	
+le_parse_smp_security_request:
+	rtn
+	
+ifdef SECURE_CONNECTION
+le_parse_smp_public_key:
+	arg mem_le_pubkey_remote_x_256,contw	
+	call memcpy64
+	jam LE_SP_FLAG_COMMIT_256,mem_le_secure_connect_flag
+	jam LE_SC_STAT_RECEIVE_PUBLIC_KEY,mem_le_secure_connect_state
+	rtn
+
+le_parse_smp_dhkey_check:
+	arg mem_sp_confirm_remote,contw
+	call memcpy16	
+	jam LE_SC_STAT_RECEIVE_DHKEY,mem_le_secure_connect_state
+	jam LE_SP_FLAG_COMMIT_256,mem_le_secure_connect_flag
+	rtn	
+
+le_send_smp_pairing_public_key:
+	force 65,rega
+	call le_fifo_malloc_tx_l2cap_smp
+	setarg SMP_PAIRING_PUBLIC_KEY
+	istore 1,contw	
+	arg mem_sc_pubkey_local_x_256,contr
+	branch memcpy64
+	
+le_send_smp_pairing_dhkey_check:
+	call function_f6_eb	
+	force 17,rega
+	call le_fifo_malloc_tx_l2cap_smp
+	setarg SMP_PAIRING_DHKEY_CHECK
+	istore 1,contw
+	branch load_inverse_result
+	
+endif
+
+le_check_paring_time:
+	fetch 1,mem_le_pairing_state
+	rtneq FLAG_LE_PAIRING_END
+	arg FLAG_LE_PAIRING_RCV_PAIRING_REQ,temp
+	isub temp,null
+	nrtn positive
+	arg smp_pairing_timer,queue
+	call timer_check
+	nrtn blank
+	branch le_send_pairing_fail_unspecified_reason
+
+le_pairing_sm:
+	bpatchx patch3b_1,mem_patch3b
+	call le_fifo_check_nearly_full
+	nrtn blank	
+	fetch 1,mem_le_pairing_state
+	beq FLAG_LE_PAIRING_NULL,le_pairing_sm_null
+	beq FLAG_LE_PAIRING_START,le_pairing_sm_start
+	beq FLAG_LE_PAIRING_SEND_RECURITY_REQ,le_pairing_sm_send_sec_req
+	beq FLAG_LE_PAIRING_RCV_PAIRING_REQ,le_pairing_sm_rcv_pairing_req
+	beq FLAG_LE_PAIRING_AFTER_AUTH,le_pairing_sm_after_auth
+	beq FLAG_LE_PARING_SEND_ENC_INFORMATION,le_pairng_sm_send_enc_information
+	beq FLAG_LE_PARING_SEND_MASTER_IDENTIFICATION,le_pairng_sm_send_master_indentification
+	beq FLAG_LE_PARING_SEND_INDENTITY_INFORMATION,le_pairng_sm_send_indentity_information
+	rtn
+
+le_pairing_sm_null:
+le_pairing_sm_send_sec_req:
+	fetch 1,mem_le_enc_state
+	rtnne FLAG_LE_SEND_START_ENC_RSP
+	jam FLAG_LE_ENC_END,mem_le_enc_state
+	jam FLAG_LE_PAIRING_END,mem_le_pairing_state
+	jam BT_EVT_LE_RECONNECT_COMPLETE ,mem_fifo_temp
+	branch ui_ipc_send_event	
+	
+	
+le_pairing_sm_start:
+	jam FLAG_LE_PAIRING_SEND_RECURITY_REQ,mem_le_pairing_state
+	branch le_send_smp_security_request
+
+le_pairing_sm_rcv_pairing_req:
+	jam FLAG_LE_PAIRING_WAIT_STK_GENERATION,mem_le_pairing_state
+	setarg TIMER_SMP_PAIRING_TIMEOUT
+	arg smp_pairing_timer,queue
+	branch timer_init
+	
+le_pairing_sm_after_auth:
+	fetch 1,mem_le_enc_state
+	beq FLAG_LE_SEND_START_ENC_RSP,le_pairing_sm_after_auth_start_enc
+	rtn
+	
+le_pairing_sm_after_auth_start_enc:
+	fetch 1,mem_le_pairing_mode
+	bbit1 LE_PAIRING_MODE_SECURE_CONNECT_BIT,le_pairing_sm_after_auth_start_enc_sc
+
+	jam FLAG_LE_PARING_SEND_ENC_INFORMATION,mem_le_pairing_state
+	call le_send_smp_encryption_information
+le_pairing_sm_after_auth_start_enc_common:
+	jam BT_EVT_LE_ENC_INFO,mem_fifo_temp
+	call ui_ipc_send_event
+	fetch 1,mem_device_option
+	rtnne dvc_op_module
+	call le_check_master_addr_type
+	rtn user
+	branch app_ble_store_reconn_info
+
+le_pairing_sm_after_auth_start_enc_sc:
+	jam FLAG_LE_PARING_SEND_MASTER_IDENTIFICATION,mem_le_pairing_state
+	branch le_pairing_sm_after_auth_start_enc_common
+
+le_pairng_sm_send_enc_information:	
+	jam FLAG_LE_PARING_SEND_MASTER_IDENTIFICATION,mem_le_pairing_state
+	branch le_send_smp_master_identification
+
+le_pairng_sm_send_master_indentification:	
+	fetch 1,mem_le_preq_resp_key_distribution
+	fetcht 1,mem_le_pres_resp_key_distribution
+	iand temp,pdata
+	isolate0 LE_INITATOR_IRK_BIT,pdata
+	branch le_parse_start_enc_rsp_after_auth_end,true
+	jam FLAG_LE_PARING_SEND_INDENTITY_INFORMATION,mem_le_pairing_state
+	branch le_send_smp_identity_information
+
+le_pairng_sm_send_indentity_information:		
+	call le_send_smp_identity_address_information
+	branch le_parse_start_enc_rsp_after_auth_end
+
+
+le_parse_start_enc_rsp_after_auth_end:
+	force smp_pairing_timer,queue
+	call timer_stop
+	jam FLAG_LE_ENC_END,mem_le_enc_state
+	jam FLAG_LE_PAIRING_END,mem_le_pairing_state
+	jam BT_EVT_LE_PAIRING_COMPLETE ,mem_fifo_temp
+	branch ui_ipc_send_event	
+	
+
+ifdef SECURE_CONNECTION
+
+le_secure_connect_sm:
+	bpatchx patch3b_2,mem_patch3b
+	fetch 1,mem_le_pairing_mode
+	rtnbit0 LE_PAIRING_MODE_SECURE_CONNECT_BIT
+	fetch 1,mem_le_secure_connect_flag
+	rtnne LE_SP_FLAG_COMMIT_256
+	jam SP_FLAG_STANDBY,mem_le_secure_connect_flag
+	fetch 1,mem_le_secure_connect_state
+	beq  LE_SC_STAT_RECEIVE_PUBLIC_KEY,le_sc_sm_receive_public_key
+	beq LE_SC_STAT_WAIT_SEND_PUBLIC_KEY,le_sc_sm_wait_send_public_key
+	beq LE_SC_STAT_SEND_PUBLIC_KEY,le_sc_sm_send_public_key
+	beq LE_SC_STAT_RECEIVE_DHKEY,le_sc_sm_receive_dhkey
+	beq LE_SC_STAT_WAIT_CONFIRM_GKEY,le_sc_sm_wait_confirm_gkey
+	beq  LE_SC_STAT_PASSKEY_WAIT_CONFIRM,le_sc_sm_passkey_wait_confirm
+	rtn	
+
+le_sc_state_clear:
+	jam SP_FLAG_STANDBY,mem_le_secure_connect_flag
+	jam LE_SC_STAT_NULL,mem_le_secure_connect_state
+	jam FLAG_LE_SC_CONFRIM_NULL,mem_le_sc_confirm_gkey_flag
+	rtn
+	
+le_sc_sm_passkey_wait_confirm:
+	fetch 1,mem_authentication_passkey_times
+	copy pdata,queue
+	increase 1,pdata
+	store 1,mem_authentication_passkey_times
+	fetch 4,mem_le_tk
+	qisolate1 pdata
+	setarg 0x80
+	setflag true,0,pdata
+	store 1,mem_passkey_1bit
+	branch le_sc_sm_ready_send_pairing_confirm
+	
+le_sc_sm_wait_confirm_gkey:
+	fetch 1,mem_le_sc_confirm_gkey_flag
+	jam FLAG_LE_SC_CONFRIM_NULL,mem_le_sc_confirm_gkey_flag
+	beq FLAG_LE_SC_CONFRIM_GKEY_OK,le_sc_confirm_gkey_ok
+	jam LE_SP_FLAG_COMMIT_256,mem_le_secure_connect_flag
+	rtn
+	
+le_sc_confirm_gkey_ok:
+	jam BT_EVT_LE_PAIRING_SUCCESS,mem_fifo_temp
+	call ui_ipc_send_event	
+	jam FLAG_LE_PAIRING_AFTER_AUTH,mem_le_pairing_state
+	branch le_send_smp_pairing_dhkey_check
+
+le_sc_sm_receive_dhkey:
+	fetch 1,mem_sp_dhkey_invalid
+	beq SP_KEY_VALID_256,le_dhkey_ready
+	jam LE_SP_FLAG_COMMIT_256,mem_le_secure_connect_flag
+	rtn
+
+le_dhkey_ready:
+	call function_f5
+	fetch 1,mem_le_pairing_mode
+	beq LE_PAIRING_MODE_SECURE_CONNECT_PASSKEY ,le_dhkey_ready_common
+	beq LE_PAIRING_MODE_SECURE_CONNECT_PASSKEY_RES_INPUT ,le_dhkey_ready_common
+	call le_set_tk_0 
+le_dhkey_ready_common:
+	call function_f6_ea
+	arg mem_AES_CMAC_temp,rega
+	arg mem_sp_confirm_remote ,regb
+	arg 16,loopcnt
+	call string_compare
+	branch le_dhkey_check_ok,zero
+le_dhkey_check_fail:	
+	jam PAIRING_FAILED_DHKEY_CHECK_FAILED,mem_le_ll_pairing_fail_reason
+	branch le_send_pairing_failed
+
+	
+le_dhkey_check_ok:
+	call sp_calc_check_publickey_256
+	nbranch le_dhkey_check_fail,zero
+	jam 1,mem_ltk_exists
+	fetch 1,mem_le_pairing_mode
+	beq LE_PAIRING_MODE_SECURE_CONNECT_JUSTWORK,le_sc_confirm_gkey_ok
+	beq LE_PAIRING_MODE_SECURE_CONNECT_PASSKEY ,le_sc_confirm_gkey_ok	
+	beq LE_PAIRING_MODE_SECURE_CONNECT_PASSKEY_RES_INPUT ,le_sc_confirm_gkey_ok	
+	jam LE_SP_FLAG_COMMIT_256,mem_le_secure_connect_flag
+	jam LE_SC_STAT_WAIT_CONFIRM_GKEY,mem_le_secure_connect_state	
+	rtn	
+
+le_sc_sm_send_public_key:
+	fetch 1,mem_le_pairing_mode
+	beq LE_PAIRING_MODE_SECURE_CONNECT_PASSKEY,le_sc_sm_send_public_key_passkey
+	beq LE_PAIRING_MODE_SECURE_CONNECT_PASSKEY_RES_INPUT,le_sc_sm_send_public_key_passkey
+	jam 0,mem_passkey_1bit
+le_sc_sm_ready_send_pairing_confirm:
+	branch le_send_smp_pairing_confirm
+
+le_sc_sm_send_public_key_passkey:
+	jam 0,mem_authentication_passkey_times
+	rtneq LE_PAIRING_MODE_SECURE_CONNECT_PASSKEY_RES_INPUT
+	branch le_parse_smp_pairing_req_passkey
+
+	
+le_sc_sm_receive_public_key:
+	jam LE_SP_FLAG_COMMIT_256,mem_le_secure_connect_flag
+	fetch 1,mem_sc_local_key_invalid
+	beq SP_KEY_VALID_256,le_public_key_ready
+	rtn
+	
+le_public_key_ready:
+	jam LE_SC_STAT_WAIT_SEND_PUBLIC_KEY,mem_le_secure_connect_state	
+	jam SP_KEY_INVALID,mem_sp_dhkey_invalid
+	branch sp_dhkey_calc_256	
+
+le_sc_sm_wait_send_public_key:
+	jam LE_SP_FLAG_COMMIT_256,mem_le_secure_connect_flag
+	jam LE_SC_STAT_SEND_PUBLIC_KEY,mem_le_secure_connect_state
+	branch le_send_smp_pairing_public_key
+
+endif
+
+
+le_fifo_malloc_tx_l2cap_smp:
+	force LE_L2CAP_CID_SMP,regb
+	branch le_fifo_malloc_tx_l2cap
+
+
Index: program/ble_protocol_stack/le_ll.prog
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/program/ble_protocol_stack/le_ll.prog	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/program/ble_protocol_stack/le_ll.prog	(working copy)
@@ -0,0 +1,339 @@
+
+le_parse_ll:
+	fetch 1,mem_le_rxbuf_data_ll_opcode
+	beq LL_CONNECTION_UPDATE_IND,le_parse_connection_update_ind
+	beq LL_CHANNEL_MAP_IND,le_parse_channel_map_ind
+	beq LL_TERMINATE_IND,le_parse_terminate_ind
+	beq LL_ENC_REQ,le_parse_enc_req
+	beq LL_ENC_RSP,le_parse_enc_rsp
+	beq LL_START_ENC_REQ,le_parse_start_enc_req
+	beq LL_START_ENC_RSP,le_parse_start_enc_rsp
+	beq LL_UNKNOWN_RSP,le_parse_unknown_rsp
+	beq LL_FEATURE_REQ,le_parse_feature_req
+	beq LL_FEATURE_RSP,le_parse_feature_rsp
+	beq LL_PAUSE_ENC_REQ,le_parse_pause_enc_req
+	beq LL_PAUSE_ENC_RSP,le_parse_pause_enc_rsp
+	beq LL_VERSION_IND,le_parse_version_ind
+	beq LL_REJECT_IND,le_parse_reject_ind
+	beq LL_PING_REQ,le_parse_ping_req
+	beq LL_PING_RSP,le_parse_ping_rsp
+	beq LL_LENGTH_REQ,le_parse_length_req
+	beq LL_LENGTH_RSP,le_parse_length_rsp
+	beq LL_PHY_REQ,le_parse_phy_req
+	beq LL_PHY_UPDATE_IND,le_parse_phy_update_ind
+	fetchr regc,1,mem_le_rxbuf_data_ll_opcode
+	branch le_send_unknown_rsp
+
+
+//LL Opcode:0x00
+le_parse_connection_update_ind:
+	ifetch 9,contr
+	store 9,mem_le_new_param
+	ifetch 2,contr
+	store 2,mem_le_instant
+	fetch 1,mem_le_state
+	set1 lestate_update_param,pdata
+	store 1,mem_le_state
+	rtn
+
+
+//LL Opcode:0x01
+le_parse_channel_map_ind:
+	ifetch 5,contr
+	store 5,mem_le_new_map
+	ifetch 2,contr
+	store 2,mem_le_instant
+le_update_map_enable:
+	fetch 1,mem_le_state
+	set1 lestate_update_map,pdata
+	store 1,mem_le_state
+	rtn
+
+
+//LL Opcode:0x02
+le_parse_terminate_ind:
+	setarg 20 // 200ms
+	store 2,mem_le_superto
+	store 2,mem_le_init_superto
+	rtn
+
+
+//LL Opcode:0x03
+le_parse_enc_req:
+	ifetch 8,contr
+	store 8,mem_le_rand
+	ifetch 2,contr
+	store 2,mem_le_ediv
+	ifetch 8,contr
+	store 8,mem_le_skdm
+	ifetch 4,contr
+	store 4,mem_ccm_ivm
+	call le_send_enc_rsp
+	bpatchx patch3b_3,mem_patch3b
+	fetch 1,mem_le_pairing_state
+	beq FLAG_LE_PAIRING_AFTER_AUTH,le_parse_enc_req_after_auth
+	fetch 1,mem_le_configuration
+	bbit1  BIT_BLE_PAIRING_FIXED_LTK,le_parse_enc_req_fixed_ltk
+	fetch 1,mem_nv_data_number
+	ncall load_device_list_mode_4,blank
+	fetch 1,mem_ltk_exists
+	beq 0,le_ltk_lost
+le_parse_enc_req_after_auth:
+	jam FLAG_LE_RCV_ENC_START,mem_le_enc_state
+	call  le_send_start_enc_req
+	branch generate_sk
+le_parse_enc_req_fixed_ltk:
+	jam 1,mem_ltk_exists
+	arg mem_le_fixed_ltk,contr
+	arg mem_le_ltk,contw
+	call memcpy16
+	branch le_parse_enc_req_after_auth
+le_ltk_lost:
+	bpatchx patch3b_4,mem_patch3b
+	jam FLAG_LE_ENC_NULL,mem_le_enc_state
+	jam FLAG_LE_ENC_NULL,mem_le_pairing_state
+	jam BT_EVT_LE_LTK_LOST,mem_fifo_temp
+	branch ui_ipc_send_event
+
+//LL Opcode:0x04
+le_parse_enc_rsp:
+	ifetch 8,contr
+	store 8,mem_le_skds
+	ifetch 4,contr
+	store 4,mem_ccm_ivs
+	branch generate_sk
+
+
+//LL Opcode:0x05
+le_parse_start_enc_req:
+	fetch 1,mem_le_state
+	set1 lestate_encryption,pdata
+	store 1,mem_le_state
+	rtn
+
+//LL Opcode:0x06
+le_parse_start_enc_rsp:
+	rtn master
+	jam BT_EVT_LE_START_ENC,mem_fifo_temp
+	call ui_ipc_send_event	
+	jam FLAG_LE_SEND_START_ENC_RSP,mem_le_enc_state
+	branch le_send_start_enc_rsp
+
+
+//LL Opcode:0x07
+le_parse_unknown_rsp:
+	rtn
+
+
+//LL Opcode:0x08
+le_parse_feature_req:
+	branch le_send_feature_rsp
+
+
+//LL Opcode:0x09
+le_parse_feature_rsp:
+	rtn
+
+
+//LL Opcode:0x0a
+le_parse_pause_enc_req:
+	jam FLAG_LE_ENC_PAUSE,mem_le_enc_state
+	call le_send_pause_enc_rsp	
+	jam BT_EVT_LE_PAUSE_ENC,mem_fifo_temp
+	branch ui_ipc_send_event	
+
+
+//LL Opcode:0x0b
+le_parse_pause_enc_rsp:
+	rtn
+
+
+//LL Opcode:0x0c
+le_parse_version_ind:
+	rtn master
+	branch le_send_version_ind
+
+
+//LL Opcode:0x0d
+le_parse_reject_ind:
+	rtn
+
+
+//LL Opcode:0x13
+le_parse_ping_req:
+	branch le_send_ping_rsp
+
+
+//LL Opcode:0x14
+le_parse_ping_rsp:
+	rtn
+
+
+le_parse_length_req:
+	call le_parse_length_rsp
+	branch le_send_data_length_res
+
+le_parse_length_rsp:
+	ifetch 8,contr
+	store 8,mem_remote_rx_max_octets
+	fetch 2,mem_remote_rx_max_octets
+	fetcht 2,mem_local_tx_max_octets
+	call not_greater_than
+	store 2,mem_remote_rx_max_octets
+	
+	fetch 2,mem_remote_tx_max_octets
+	fetcht 2,mem_local_rx_max_octets
+	call not_greater_than
+	store 2,mem_remote_tx_max_octets
+	rtn
+
+
+//LL Opcode:0x16
+le_parse_phy_req:
+	branch le_send_phy_rsp
+
+
+//LL Opcode:0x18
+le_parse_phy_update_ind:
+	ifetch 2,contr
+	store 2,mem_le_new_m2s_phy
+	ifetch 2,contr
+	store 2,mem_le_instant
+	rtn blank
+	fetch 1,mem_le_state
+	set1 lestate_update_phy,pdata
+	store 1,mem_le_state	
+	rtn
+
+
+///////////////////send ll packet//////////////
+//LL Opcode:0x02
+le_send_terminate_ind_user_terminated:
+	arg ERROR_REMOTE_USER_TERMINATED_CONNECTION,regc
+
+//regc:The ErrorCode field shall be set to inform the remote device why the connection is about to be terminated.
+le_send_terminate_ind:
+	arg 2,rega
+	arg LL_TERMINATE_IND,regb
+	call le_fifo_malloc_tx_ll
+	copy regc,pdata
+	istore 1,contw
+	rtn
+
+
+//LL Opcode:0x04
+le_send_enc_rsp:
+	arg mem_le_skds,contw
+	force 8,loopcnt
+	call generate_random_loop
+	arg mem_ccm_ivs,contw
+	force 4,loopcnt
+	call generate_random_loop
+	arg 13,rega
+	arg LL_ENC_RSP,regb
+	call le_fifo_malloc_tx_ll
+	fetch 8,mem_le_skds
+	istore 8,contw
+	fetch 4,mem_ccm_ivs
+	istore 4,contw
+	rtn
+
+
+//LL Opcode:0x05
+le_send_start_enc_req:
+	jam FLAG_LE_SEND_START_ENC_REQ,mem_le_enc_state
+	arg LL_START_ENC_REQ,regb
+	branch le_send_ll_one_lenth
+
+
+//LL Opcode:0x06
+le_send_start_enc_rsp:
+	arg LL_START_ENC_RSP,regb
+	branch le_send_ll_one_lenth
+
+
+//LL Opcode:0x07
+//input:regc is receive ll opcode
+le_send_unknown_rsp:
+	arg 2,rega
+	arg LL_UNKNOWN_RSP,regb
+	call le_fifo_malloc_tx_ll
+	istorer regc,1,contw
+	rtn	
+
+
+//LL Opcode:0x09
+le_send_feature_rsp:
+	arg 9,rega
+	arg LL_FEATURE_RSP,regb
+	call le_fifo_malloc_tx_ll
+	fetch 8,mem_le_local_feature
+	or pdata,FUN_LL_FEATURE_LE_ENCRYPTION,pdata
+	istore 8,contw
+	rtn
+
+
+//LL Opcode:0x0B
+le_send_pause_enc_rsp:
+	arg LL_PAUSE_ENC_RSP,regb
+	branch le_send_ll_one_lenth
+
+
+//LL Opcode:0x0C
+le_send_version_ind:
+	arg 6,rega
+	arg LL_VERSION_IND,regb
+	call le_fifo_malloc_tx_ll
+	fetch 5,mem_lmp_version
+	istore 5,contw
+	rtn
+
+//LL Opcode:0x0D
+le_send_reject_ind:
+	arg 2,rega
+	arg LL_REJECT_IND,regb
+	call le_fifo_malloc_tx_ll
+	setarg LE_ERR_PIN_OR_KEY_MISSING
+	istore 1,contw
+	rtn		
+
+
+//LL Opcode:0x13
+le_send_ping_rsp:
+	arg LL_PING_RSP,regb
+	branch le_send_ll_one_lenth
+	
+le_send_data_length_req:
+	arg LL_LENGTH_REQ,regb
+	branch le_send_data_length
+
+le_send_data_length_res:
+	arg LL_LENGTH_RSP,regb
+le_send_data_length:
+	arg 9,rega
+	call le_fifo_malloc_tx_ll
+	fetch 8,mem_local_rx_max_octets
+	istore 8,contw
+	rtn
+
+
+//LL Opcode:0x17
+le_send_phy_rsp:
+	arg 3,rega
+	arg LL_PHY_RSP,regb
+	call le_fifo_malloc_tx_ll
+	fetch 1,mem_le_tx_phys
+	and pdata,0x07,pdata
+	istore 1,contw
+	fetch 1,mem_le_rx_phys
+	and pdata,0x07,pdata
+	istore 1,contw
+	rtn		
+
+
+//regb:ll opcode
+le_send_ll_one_lenth:
+	arg 1,rega
+	branch le_fifo_malloc_tx_ll
+
+
Index: program/bt.prog
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/program/bt.prog	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/program/bt.prog	(working copy)
@@ -0,0 +1,4604 @@
+define FPGA
+define ROMCODE
+define PATCH
+//define RAM_VERSION
+//define CLK24M
+//define ACL_DEBUG
+define SECURE_CONNECTION
+define DEBUG_RF_INIT
+
+define SIMPLE_PAIRING
+define COMPILE_RFCOMM
+define COMPILE_SHUTTER
+define COMPILE_ANTILOST
+define COMPILE_MOUSE
+define COMPILE_MODULE
+define COMPILE_USB
+define COMPILE_DONGLE
+define COMPILE_LE
+define COMPILE_24G
+define COMPILE_CAR
+define COMPILE_REMOTE_CAR
+//define COMPILE_SIM_API
+//define COMPILE_ESL
+//define COMPILE_WECHAT
+//define COMPLIE_TEST
+//define COMPLIE_TEST_CODE
+INCLUDE "bt_format"
+
+org 0x0000		// start from patch ram address start
+ifdef SIM
+include sim.prog
+else
+include patch.prog
+endif
+
+/******************************************/
+/***********   ROM Start   ***************/
+/******************************************/
+
+org 0x800		// start from rom address start
+start:
+	call lpmstate
+
+soft_reset:
+	bpatch patch00_0,mem_patch00
+	clear_stack
+	call app_param_init
+	call initialize_radio
+	call iic_init_360khz
+	call init_param
+	call l2cap_init
+	bpatch patch00_1,mem_patch00
+	call rfcomm_init
+	call init_lmp
+	call ui_init
+	call app_init
+	bpatch patch00_2,mem_patch00
+	call app_lpm_init,wake
+ifdef SIMPLE_PAIRING
+	call publickey_init
+	call sp_wait_pubkey_calc_done
+else
+	call sp_reset
+ifdef SECURE_CONNECTION
+	call publickey_init
+endif
+endif
+	call lpm_recover_clk,wake
+main_loop:	
+	bpatch patch00_3,mem_patch00
+ifdef SIMPLE_PAIRING
+	call sp_calc_sequence
+endif
+ifdef SECURE_CONNECTION
+	call sp_calc_sequence_256
+endif
+ifdef SIMPLE_PAIRING
+ifdef SECURE_CONNECTION
+	call sp_calc_sequence_256_check
+endif
+endif
+	call le_advertising_dispatch
+	call idle_dispatch
+	call app_process_idle
+	bpatch patch00_4,mem_patch00
+	call inquiry_dispatch
+	call inquiry_scan_dispatch
+	call page_scan_dispatch
+	call connection_dispatch
+	call g24_dispatch
+	call lpm_dispatch
+	branch main_loop
+
+connection_dispatch:
+	call connection_incontext
+	rtnmark0 mark_context
+	set0 mark_context,mark
+	call context_save
+	branch le_disable
+	
+connection_incontext:
+	bpatch patch00_5,mem_patch00
+	call context_search_insniff
+	nbranch connection_nosniff,zero
+	call context_load
+	add rega,coffset_mode,contr
+	ifetch 1,contr
+	bbit1 mode_le,le_conn_dispatch
+	bbit1 mode_master, master_dispatch
+	branch slave_dispatch
+connection_nosniff:
+	call context_get_next
+	copy loopcnt,null
+	rtn zero
+	call context_load
+	fetch 1,mem_state
+	bbit1 state_inpage,master_page
+	fetch 1,mem_mode
+	bbit1 mode_master, master_dispatch
+	branch slave_dispatch
+
+
+
+/**************************************/
+/**************idle dispatch*********/
+/**************************************/
+	
+idle_dispatch:
+	fetch 1,mem_hci_cmd
+	rtn blank
+	beq hci_cmd_inquiry,idle_inquiry
+	beq hci_cmd_inquiry_cancel,idle_inquiry_cancel
+	beq hci_cmd_remote_name_req,idle_remote_name_req
+	beq hci_cmd_create_conn,idle_create_conn
+	beq hci_cmd_le_create_conn,idle_le_create_conn
+	call context_search_conn_handle
+	rtn zero
+	call context_search_plap
+	rtn zero
+idle_exit:
+	jam 0,mem_hci_cmd
+	rtn
+
+idle_le_create_conn:
+	jam hci_cmd_le_create_conn,mem_cmd_le_create_conn
+	jam 0,mem_hci_cmd
+	rtn
+	
+idle_inquiry:
+	set1 mark_inquiry_on,mark
+	set0 mark_inquiry_trainb,mark
+	jam param_ninquiry,mem_ninqy_index
+	jam 31,mem_nfreq_index_inq
+	branch idle_exit
+
+idle_inquiry_cancel:
+	set0 mark_inquiry_on,mark
+	force 0,stop_watch
+	branch idle_exit
+
+idle_remote_name_req:
+	call context_search_plap
+	rtn zero
+	force LMP_NAME_REQ,temp
+	jam 5,mem_nameres_cnt
+	branch idle_start_page
+
+idle_create_conn:
+	bpatch patch00_6,mem_patch00
+idle_create_conn_device:
+	fetch 6,mem_hci_plap
+//	branch idle_exit,blank
+	nop 1
+	jam RECONNECT_HID,memui_reconnect_mode
+	//jam HS_INIT_CALL,mem_hs_mode //init as master
+	jam CONN_SM_WAIT_FEATURES_RES,mem_conn_sm
+	branch idle_create_conn_cont
+	
+idle_create_conn_cont:
+	force LMP_VERSION_REQ,temp
+idle_start_page:
+	bpatch patch00_7,mem_patch00
+	fetch 1,mem_page_mode
+	branch idle_page_mode_r0,blank
+	lshift3 pdata,pdata
+	lshift4 pdata,pdata
+	increase -1,pdata
+idle_page_mode_r0:
+	store 1,mem_npage
+	store 1,mem_npage_index
+	jam 31,mem_nfreq_index_page
+	set0 mark_page_trainb,mark
+	call context_new
+	nbranch idle_page_fail,zero
+	call get_free_amaddr
+	store 1,mem_amaddr
+	storet 1,mem_lmo_opcode2
+	fetch 6,mem_hci_plap
+	store 6,mem_plap
+	bpatch patch01_0,mem_patch01
+	call timer_reinit
+	fetcht 1,mem_lmo_opcode2
+	force 0,pdata
+	compare LMP_NAME_REQ,temp,0xff
+	nsetflag true,state_init_seq,pdata
+	set1 state_inpage,pdata
+	store 1,mem_state
+	jam BT_EVT_RECONN_STARTED,mem_fifo_temp
+	call ui_ipc_send_event
+	force 0,pdata
+	setflag true,smap_name_req,pdata
+	store 1,mem_state_map
+	setarg 0
+	set1 mode_master,pdata
+	store 1,mem_mode
+	enable master
+	call context_save
+	disable master
+	force page_length_timer,queue
+	fetch 2,mem_page_to
+	call timer_init
+	branch idle_exit
+idle_page_fail:
+	bpatch patch01_1,mem_patch01
+	fetch 6,mem_hci_plap
+	store 6,mem_plap
+	compare LMP_NAME_REQ,temp,0xff
+	branch idle_name_fail,true
+	branch idle_exit
+idle_name_fail:
+	arg mem_tmp_buffer,contw
+	arg 8,loopcnt
+	call memset0
+	jam BT_EVT_RECONN_FAILED,mem_fifo_temp
+	call ui_ipc_send_event
+	branch idle_exit
+	
+
+/******************************************/
+/**************  Inquiry  *****************/
+/******************************************/
+
+inquiry_dispatch:
+	rtnmark0 mark_inquiry_on
+	force inquiry_length_timer,queue
+	call timer_check
+	nsetflag blank,mark_inquiry_on,mark
+	nbranch inquiry_start,blank
+	rtn
+	
+
+
+inquiry_start:
+	bpatch patch01_2,mem_patch01
+	fetcht 2,mem_inq_window
+	force 4,queue
+	call sniff_check_window
+	rtn user
+	call afh_clear
+	force 0,freq_mode
+inquiry_restart:
+	rtn timeout
+	set0 mark_fhs_already_good,mark
+	set0 mark_fhs_eir,mark
+inquiry_rx_restart:
+	add clkn_bt,1,bt_clk
+	isolate1 mark_inquiry_trainb,mark
+	setflag true,2,freq_mode
+	compare 0x00,bt_clk,0x02      /* see if this is even slot */
+	nbranch inquiry_receive,true
+
+inquiry_transmit:
+	bpatch patch01_3,mem_patch01
+	fetch 1,mem_inquiry_transmit
+	increase 1,pdata
+	store 1,mem_inquiry_transmit
+	call fetch_giac
+	call tx_radio_freq
+	call fetch_diac
+	call start_transmitter	/* get ready for that id packet */
+	call start_tx_native
+	call send_access_word
+	call end_of_packet
+	call inquiry_check_train
+	branch inquiry_restart
+
+inquiry_check_train:
+	bpatch patch01_4,mem_patch01
+	fetch 1,mem_nfreq_index_inq
+	increase -1,pdata
+	store 1,mem_nfreq_index_inq
+	rtn positive  /* if it's time to incremnt N */
+	jam 31,mem_nfreq_index_inq
+	fetch 1,mem_ninqy_index
+	increase -1,pdata
+	store 1,mem_ninqy_index
+	rtn positive      /* if it's time to change train */
+	setflip mark_inquiry_trainb,mark
+	jam param_ninquiry,mem_ninqy_index
+	rtn
+
+inquiry_receive:
+	bpatch patch01_5,mem_patch01
+	call fetch_giac
+	call rx_radio_freq
+	call fetch_diac
+	call start_rx_native
+	call start_receiver	/* get ready for that id packet */
+	call wait_access_clkn_rt
+	branch inquiry_sync,sync   /* try look for id packet again if not found */
+	call inquiry_check_train
+	branch inquiry_rx_restart
+inquiry_sync:
+	bpatch patch01_6,mem_patch01
+	call save_rssi
+	call scan_mode_whiten
+	call receive_packet_whitened
+	set0 mark_rxbuf_inuse,mark
+	rtnmark0 mark_fhs_already_good
+inquiry_receive_rtn:
+inquiry_receive_eir_rtn:
+	fetch 1,mem_inquiry_rcv
+	increase 1,pdata
+	store 1,mem_inquiry_rcv
+	rtn
+		
+/******************************************/
+/**************  Master Dispatch  *************/
+/******************************************/
+
+
+
+master_page:
+	bpatch patch01_7,mem_patch01
+	enable master
+	enable clknt
+	fetch 2,mem_page_interval
+	branch master_page_no_interval,blank
+	force page_interval_timer,queue
+	call timer_check               
+	nrtn blank
+master_page_no_interval:
+	bpatch patch02_0,mem_patch02
+	fetcht 2,mem_page_window
+	force 40,queue
+	call sniff_check_window
+	branch page_exit,user
+	force page_length_timer,queue
+	call timer_check
+	nbranch page_start,blank
+	fetch 1,mem_state_map
+	bbit1 smap_name_req,master_npage_timeout
+	branch master_page_timeout
+master_npage_timeout:
+	arg mem_tmp_buffer,contw
+	arg 8,loopcnt
+	call memset0
+master_page_timeout:
+	bpatch patch02_1,mem_patch02
+	jam 0,mem_state
+	call init_lmp_work
+	jam 0,memui_reconnect_mode
+	jam BT_EVT_RECONN_PAGE_TIMEOUT,mem_fifo_temp
+	call ui_ipc_send_event	
+	branch page_exit
+
+page_start:
+	bpatch patch02_2,mem_patch02
+	force 0,timeup
+	until clkn_rt,meet
+	fetch 1,mem_page_clk
+	increase -1,pdata
+	ixor clkn_bt,pdata
+	compare 0,pdata,3
+	nbranch page_start,true
+	deposit am_addr
+	store 1,mem_fhs_am_addr
+	force 0,N_tx_slot
+	force 0,freq_mode
+
+page_restart:
+	bpatch patch02_3,mem_patch02
+	branch page_exit,timeout
+	call fetch_page_bt_adr
+	fetchr timeup,2,mem_param_rf_setup
+	until clkn_rt,meet         /* wait for the start_receiver time against native real clk  */
+page_rx_restart:
+	bpatch patch02_4,mem_patch02
+	fetch 4,mem_page_clk    /* deposit clk_estimate */
+	iforce bt_clk
+	increase 1,pdata
+	store 4,mem_page_clk
+	isolate1 mark_page_trainb,mark
+	setflag true,2,freq_mode
+	compare 0x00,bt_clk,0x02      /* see if this is even slot */
+	nbranch page_receive,true
+	fetch 1, mem_page_transmit
+	increase 1,pdata
+	store 1, mem_page_transmit
+	call tx_radio_freq
+	call start_transmitter	/* get ready for that id packet */
+	call start_tx_native
+	call send_access_word
+	call end_of_packet
+	call page_check_train
+	branch page_restart	
+page_exit:
+	bpatch patch02_5,mem_patch02
+	disable master
+	fetch 2,mem_page_interval      
+	rtn blank
+	force page_interval_timer,queue
+	branch timer_init              
+
+page_check_train:
+	bpatch patch02_6,mem_patch02
+	fetch 1,mem_nfreq_index_page
+	increase -1,pdata
+	store 1,mem_nfreq_index_page
+	rtn positive
+	jam 31,mem_nfreq_index_page
+	fetch 1,mem_npage_index
+	increase -1,pdata                 /* increment N */
+	store 1,mem_npage_index
+	rtn positive      			/* if it's time to change train */
+	setflip mark_page_trainb,mark             /* change train */
+	fetch 1,mem_npage
+	store 1,mem_npage_index
+	rtn
+	
+page_receive:
+	bpatch patch02_7,mem_patch02
+	call rx_radio_freq
+	call start_rx_native
+	call start_receiver	/* get ready for that id packet */
+	call wait_access_clkn_rt	/* try id look for id packet again */
+	branch page_sync,sync         /* restart if didn't receive anything */
+	call page_check_train
+	branch page_rx_restart
+page_sync:
+	call end_of_packet
+	fetch 1, mem_page_rcv
+	increase 1,pdata
+	store 1, mem_page_rcv
+	force 0,stop_watch
+	fetch 4,mem_page_clk
+page_send_fhs:
+	bpatch patch03_0,mem_patch03
+	call rf_setup_time_master_slot
+	call fetch_page_bt_adr
+	increase 1,N_tx_slot
+page_send_fhs_continue:
+	and_into 0x1fd,bt_clk
+	and_into 0x1fc,freq_mode               /* master response = x00, even_train settin must remain the same */
+	call tx_radio_freq
+	call start_transmitter	/* get ready for that id packet */
+	call start_tx_native
+	call send_access_word
+	deposit clkn_bt
+	store 4,mem_clkn_bt
+	force 0,am_addr
+	force type_fhs,type
+	call scan_mode_whiten
+	call transmit_packet_whitened
+page_wait_fhs_reply:
+	bpatch patch03_1,mem_patch03
+	call rf_setup_time_slave_slot
+	or_into 0x02,bt_clk
+	and_into 0x1fc,freq_mode               /* master response sequence = x00, even train setting must be preserved */
+	call rx_radio_freq
+	call start_rx_native
+	call start_receiver	/* get ready for that id packet */
+	call wait_access_clkn_rt	/* look for that reply */
+	call end_of_packet,sync              /* id reply is enough */
+	branch page_wait_fhs_reply_ok,sync           /* no reply then send fhs again */
+	fetch 1,mem_fhs_wait_counter
+	branch page_restart,blank
+	increase -1,pdata
+	store 1,mem_fhs_wait_counter
+	branch page_send_fhs
+	
+page_wait_fhs_reply_ok:
+	bpatch patch03_2,mem_patch03
+	fetch 1, mem_page_rcv_fhs
+	increase 1,pdata
+	store 1, mem_page_rcv_fhs
+	call prepare_newconn
+master_newconn_loop:
+	set1 mark_first_packet,mark
+	call master_newconn_once
+	branch newconn_poll_responded,sync
+	set0 mark_first_packet,mark
+	call new_conn_timeout
+	nbranch master_newconn_loop,blank
+	branch page_restart
+
+newconn_poll_responded:
+	bpatch patch03_3,mem_patch03
+	set0 mark_first_packet,mark
+	fetch 1,mem_state
+	set0 state_inpage,pdata
+	store 1,mem_state
+	call newconn_init
+	disable master
+	rtn
+	
+
+master_dispatch:
+	bpatch patch03_4,mem_patch03
+	enable master
+	enable clknt
+	call role_switch_master
+	rtn user
+	call rf_setup_time_master_slot
+	add clkn_bt,1,bt_clk
+	call fetch_self_bt_adr
+	force 0x03,freq_mode
+	call scheduler_tx_l2cap_pkt
+	call prepare_tx
+	call tx_radio_freq
+	call start_transmitter
+	call start_tx_native
+	call send_access_word
+	call transmit_packet
+master_loop:
+	bpatch patch03_5,mem_patch03
+	call parse_lmp
+	call master_conn_recv_packet
+	nbranch master_notmatch,match
+	call supervision_flush
+	call parse_l2cap
+	fetch 1,mem_master_rcvcnt
+	increase 1,pdata
+	store 1,mem_master_rcvcnt
+master_notmatch:
+	bpatch patch03_6,mem_patch03
+	call scheduler_process
+	call check_master_disconnect
+	nrtn master					/* disconnected */
+	call check_attempt
+	nbranch master_attempt,blank
+master_exit:
+	disable master
+	rtn
+
+master_attempt:
+	call prepare_tx
+	call master_conn_send_packet
+	branch master_loop
+
+
+check_master_disconnect:
+	branch check_master_match,match
+	call supervision_update
+	branch master_disconnect,positive
+check_master_match:
+	call check_disconnect_timeout
+	nbranch master_disconnect,user
+	fetch 1,mem_state_map
+	rtnbit0 smap_name_req
+	rtnbit1 smap_name_res
+	fetch 1,mem_op
+	rtnbit1 op_disconn
+	call conn_timer_expired
+	nrtn blank
+	fetch 1,mem_nameres_cnt
+	increase -1,pdata
+	store 1,mem_nameres_cnt
+	nrtn blank
+	branch lmp_disconnect
+
+master_disconnect:
+	bpatch patch03_7,mem_patch03
+	call quit_connection
+	disable master
+	fetch 1,mem_state_map
+	bbit1 smap_name_req,master_name_disconnect
+	rtn
+	
+master_name_disconnect:
+	fetch 1,mem_state_map
+	rtnbit1 smap_name_res
+master_name_error:
+	arg mem_tmp_buffer,contw
+	arg 8,loopcnt
+	branch memset0
+	
+check_disconnect_timeout:
+	bpatch patch04_0,mem_patch04
+	enable user
+	fetch 1,mem_op
+	rtnbit0 op_disconn
+	call conn_timer_expired
+	nrtn blank
+	branch disable_user
+
+conn_timer_expired:
+	fetch 1,mem_conn_timer
+	increase -1,pdata
+	store 1,mem_conn_timer
+	rtn
+
+linkkey_ready:
+	bpatch patch04_1,mem_patch04
+	fetch 1,mem_state
+	bbit1 state_linkkey,linkkey_set
+	fetch 1,mem_pairing_auth
+	branch linkkey_set,blank
+	jam DEFALT_PAIRING_AUTH,mem_pairing_auth
+	jam BT_EVT_LINKKEY_GENERATE,mem_fifo_temp
+	call ui_ipc_send_event
+	branch linkkey_set
+linkkey_set:
+	bpatch patch04_2,mem_patch04
+	call context_traverse_linkkey
+	fetch 1,mem_state
+	set1 state_linkkey,pdata
+	store 1,mem_state
+	jam 1,mem_link_key_exists
+	fetch 1,mem_conn_sm
+	bne CONN_SM_PAIRING,linkkey_set_continue
+linkkey_set_continue:
+	rtn
+
+generate_linkkey_continue:
+	jam PAIRING_AUTH,mem_pairing_auth
+clear_linkstate:
+	fetch 1,mem_state
+	set0 state_linkkey,pdata
+	store 1,mem_state
+	rtn
+	
+
+	/* rtn user if switch */
+role_switch_check:
+	bpatch patch04_3,mem_patch04
+	disable user
+	fetch 2,mem_tsniff
+	arg 0xffff,temp
+	isub temp,null
+	nrtn zero
+	fetch 4,mem_sniff_anchor
+	branch role_switch_clkn,clknt
+	isub clke_bt,pdata
+	branch role_switch_clke
+role_switch_clkn:
+	isub clkn_bt,pdata
+role_switch_clke:
+	sub pdata,4,null
+	nrtn positive
+	force 0,pdata
+	store 2,mem_tsniff
+	branch enable_user
+
+
+	/* pdata: switch instant, set tsniff=0 for special sniff */	
+role_switch_prepare:
+	copy pdata,temp
+	storet 4,mem_sniff_anchor
+role_switch_prepare0:
+	bpatch patch04_4,mem_patch04
+	jam SWITCH_FLAG_ACCEPT,mem_switch_flag
+	setarg 0xffff
+	store 2,mem_tsniff
+	jam 1,mem_sniff_attempt
+	rtn
+
+
+role_switch_master:
+	bpatch patch04_5,mem_patch04
+	call role_switch_check
+	nrtn user
+	disable user
+	jam param_newconnto,mem_newconnto_counter
+	set0 mark_fhs_already_good,mark
+	set0 mark_role_switch_receive_fhs,mark
+roles_waitfhs_loop:
+	call rf_setup_time_master_slot
+	call master_recv_packet
+	bmark1 mark_fhs_already_good,roles_replyto_fhs
+	call new_conn_timeout
+	nbranch roles_waitfhs_loop,blank
+	bmark1 mark_role_switch_receive_fhs,roles_replyto_fhs_rcvd
+role_switch_fail_master:
+	bpatch patch04_6,mem_patch04
+	disable user
+	deposit clkn_bt
+	store 4,mem_next_btclk
+	enable clknt
+	enable master
+	jam BT_EVT_SWITCH_FAIL_MASTER,mem_fifo_temp
+	branch ui_ipc_send_event
+	
+roles_replyto_fhs:
+	bpatch patch04_7,mem_patch04
+	call rf_setup_time_slave_slot
+	arg type_id,type
+	call master_send_packet
+	set1 mark_role_switch_receive_fhs,mark
+	set0 mark_fhs_already_good,mark
+	fetch 1,mem_amaddr
+	iforce am_addr	//use current LT_ADDR
+	jam 2,mem_newconnto_counter
+	branch roles_waitfhs_loop
+
+roles_replyto_fhs_rcvd:
+	fetch 4,mem_clke_bt		//wait for 2 fhs,need 2.5ms
+	pincrease 8
+	store 4,mem_clke_bt
+	disable clknt
+	disable master
+	call apply_switch_clke
+	call prepare_newconn
+roles_newconns_loop:
+	bpatch patch05_0,mem_patch05
+	call slave_newconn_once
+	branch roles_newconns_responded,match
+	call new_conn_timeout
+	nbranch roles_newconns_loop,blank
+	branch role_switch_fail_master
+roles_newconns_responded:
+	fetch 1,mem_mode
+	set0 mode_master,pdata
+	store 1,mem_mode
+	call supervision_flush
+	call calc_clke_offset
+	enable user
+	jam BT_EVT_SWITCH_SUCCESS_MASTER,mem_fifo_temp
+	branch ui_ipc_send_event
+
+
+
+
+context_load:
+	bpatch patch05_1,mem_patch05
+	set1 mark_context,mark
+	deposit rega
+	store 2,mem_context_ptr
+	force context_size,loopcnt
+	arg mem_le_state,contw
+	add rega,coffset_mode,contr
+	ifetch 1,contr
+	copy rega,contr
+	bbit1 mode_le,memcpy
+	arg mem_state,contw
+	call memcpy
+	disable attempt
+	fetch 1,mem_amaddr
+	iforce am_addr
+	jam 1,mem_current_sniff_attempt
+	branch context_load_master,master
+	jam 1,mem_current_sniff_attempt
+context_load_master:
+	fetch 1,mem_state
+	rtnbit0 state_insniff
+	fetch 1,mem_sniff_attempt
+	store 1,mem_current_sniff_attempt
+	fetch 1,mem_sniff_timeout
+	store 1,mem_current_sniff_timeout
+	rtn
+	
+context_save:
+	bpatch patch05_2,mem_patch05
+	fetch 2,mem_context_ptr
+	iforce contw
+	force context_size,loopcnt
+	arg mem_le_state,contr
+	branch memcpy,le
+	arg mem_state,contr
+	branch memcpy
+
+	
+
+context_get_next:
+	arg context_num,loopcnt
+	fetcht 1,mem_current_context
+context_get_next_loop:
+	increase 1,temp
+	compare context_num,temp,0xff
+	nbranch context_get_next_cont,true
+	arg 0,temp
+context_get_next_cont:
+	storet 1,mem_current_context
+	mul32 temp,context_size,pdata
+	arg mem_context,rega
+	iadd rega,rega
+	ifetch 1,rega
+	bbit1 state_insniff,context_get_next_sniff
+	rtnbit1 state_inconn
+	rtnbit1 state_inpage
+context_get_next_sniff:
+	loop context_get_next_loop
+	rtn
+	
+context_new:
+	bpatch patch05_3,mem_patch05
+	arg context_search_empty,regc
+	call context_search
+	nrtn zero					// all occupied
+	deposit rega
+	store 2,mem_context_ptr
+	force 0,null
+	rtn
+	
+	//return zero if anyone's wack is 1.
+	//return nzero if all wack is 0
+context_check_all_wack:
+	call check_esco_amaddr
+	branch context_check_esco_wack,true
+	fetch 2,mem_context_ptr
+	add pdata,coffset_arq,contw
+	fetch 1,mem_arq
+	istore 1,contw
+	arg context_check_a_wack,regc
+	branch context_search
+
+context_check_esco_wack:
+	fetch 1,mem_arq
+	isolate1 wack,pdata
+	branch context_esco_wack,true
+	force 1,null
+	rtn
+context_esco_wack:
+	force 0,null
+	rtn
+	
+	//rtn nzero if idle(no conn)
+context_check_idle:
+	arg context_check_inconn,regc
+	branch context_search
+	
+context_traverse_linkkey:
+	fetcht 2,mem_context_ptr
+	arg context_traverse_clearkey,regc
+	branch context_search
+	
+	
+	/* return zero if conn handle is found */
+context_search_conn_handle:
+	fetcht 1,mem_hci_conn_handle
+context_search_conn_handle2:
+	arg context_search_handle,regc
+	branch context_search
+	/* return zero if plap is found */
+context_search_plap:
+	bpatch patch05_4,mem_patch05
+	fetcht 6,mem_hci_plap
+context_search_plap2:
+	arg context_search_lap,regc
+	branch context_search
+	/* return zero if sniff anchor is meet and rega pointers to context */
+context_search_insniff:
+	arg context_search_sniff,regc
+	branch context_search
+	/* return zero if sniff window is in content with current transaction */
+context_search_sniff_window:
+	arg context_search_window,regc
+context_search:
+	bpatch patch05_5,mem_patch05
+	arg mem_context,rega
+	arg context_num,loopcnt
+context_search_loop:
+	ifetch 1,rega
+	copy regc,pc
+context_search_next:
+	increase context_size,rega
+	loop context_search_loop
+	force 1,null
+	rtn
+
+context_search_empty:
+	bbit1 state_inconn,context_search_next
+	bbit1 state_inpage,context_search_next
+	force 0,null
+	rtn
+	
+context_search_lap:
+	bbit1 state_inpage,context_search_lap_cont
+	bbit0 state_inconn,context_search_next
+context_search_lap_cont:
+	add rega,coffset_plap,contr
+	ifetch 6,contr
+	isub temp,null
+	rtn zero
+	branch context_search_next
+
+context_search_handle:
+	bbit0 state_inconn,context_search_next
+	add rega,coffset_conn_handle,contr
+	ifetch 1,contr
+	isub temp,null
+	rtn zero
+	branch context_search_next
+
+context_search_sniff:
+	bbit0 state_insniff,context_search_next
+context_search_sniff_loop:
+	call context_get_anchor
+	call sign_pdata_temp
+	isub temp,pdata
+	increase 1,pdata
+	branch context_search_sniff_miss,positive
+	copy contr,regb
+	store 9,mem_temp
+	fetch 1,mem_sc_calc
+	nbranch context_search_sniff_sc,blank
+	fetch 9,mem_temp
+	copy regb,contr
+	increase 5,pdata  
+	branch context_search_meet1
+context_search_sniff_sc:
+	fetch 9,mem_temp
+	copy regb,contr	
+	increase 20,pdata  
+context_search_meet1:
+	nbranch context_search_next,positive
+context_search_meet:
+	copy temp,bt_clk
+	call context_next_anchor
+	force 0,null
+	rtn
+	
+	
+context_search_sniff_miss:
+	iforce regb
+	add rega,coffset_tsniff,contr
+	ifetch 2,contr
+	branch context_search_meet,blank
+	call context_next_anchor
+	branch context_search_sniff_loop
+
+sign_pdata_temp:
+	rshift16 pdata,timeup    
+	rshift8 timeup,timeup    
+	branch sign_pdata_temp_p0,zero    
+	compare 0xf,timeup,0xf    
+	nrtn true    
+	rshift16 temp,timeup    
+	rshift8 timeup,timeup    
+	nrtn zero    
+	set1 28,temp    
+	rtn
+sign_pdata_temp_p0:    
+	rshift16 temp,timeup    
+	rshift8 timeup,timeup    
+	compare 0xf,timeup,0xf    
+	nrtn true    
+	set1 28,pdata    
+	rtn
+
+context_check_inconn:
+	bbit0 state_inconn,context_search_next
+	force 0,null 				// found
+	rtn
+	
+context_check_a_wack:
+	bbit0 state_inconn,context_search_next
+	add rega,coffset_mode,contr
+	ifetch 1,contr
+	bbit1 mode_le,context_search_next
+	add rega,coffset_arq,contr
+	ifetch 1,contr
+	bbit0 wack,context_search_next
+	force 0,null 				// found
+	rtn
+
+context_get_anchor:
+	add rega,coffset_mode,contr
+	ifetcht 1,contr
+	deposit clkn_bt
+	isolate1 mode_master,temp
+	add rega,coffset_sniff_anchor,contr
+	ifetcht 4,contr
+	rtn true
+	add rega,coffset_clk_offset,contr
+	ifetch 6,contr
+	call calc_clke2
+	deposit clke_bt
+	rtn
+
+context_next_anchor:
+	add rega,coffset_tsniff,contr
+	add rega,coffset_sniff_anchor,contw
+	ifetch 2,contr
+	iadd temp,timeup			/* wrap to 28 bits */
+	deposit timeup
+	istore 4,contw
+	branch le_context_nextevent
+	
+
+context_search_window:
+	bbit0 state_insniff,context_search_next
+	call context_get_anchor
+	iadd stop_watch,pdata
+	iadd stop_watch,pdata
+	iadd queue,pdata
+	isub temp,null
+	nbranch context_search_next,positive
+	force 0,null
+	rtn
+
+context_traverse_clearkey:
+	bbit0 state_inconn,context_search_next
+	deposit temp
+	isub rega,null
+	branch context_search_next,null
+	add rega,coffset_mode,contr
+	ifetch 1,contr
+	bbit1 mode_le,context_search_next
+	ifetch 1,rega
+	set0 state_linkkey,pdata
+	istore 1,rega
+	branch context_search_next
+
+	
+master_conn_send_packet:
+	bpatch patch05_6,mem_patch05
+	call rf_setup_time_master_slot
+master_send_packet:
+	add clkn_bt,1,bt_clk          /* master start to use native clock */
+	call fetch_self_bt_adr
+	force 0x03,freq_mode          /* we are in connection!! */
+	call tx_radio_freq
+	call start_transmitter
+	call start_tx_native
+	call send_access_word
+	branch transmit_packet
+
+master_conn_recv_packet:
+	bpatch patch05_7,mem_patch05
+	call rf_setup_time_slave_slot
+master_recv_packet:
+	add clkn_bt,1,bt_clk          /* master start to use native clock */
+	call fetch_self_bt_adr
+	force 0x03,freq_mode          /* we are in connection!! */
+	call rx_radio_freq
+	call init_rx_packet_flags
+	call prep_crypt
+	call start_rx_native	/* start listening at start_rx time */
+	call start_receiver
+master_rx_conn_finish_packet:
+	call wait_access_clkn_rt	/* master use native clock */
+	nrtn sync
+	call save_rssi
+	branch receive_packet
+	
+	
+
+master_newconn_once:
+	bpatch patch06_0,mem_patch06
+	fetch 1,mem_fhs_am_addr
+	iforce am_addr			//review
+	force type_poll,type
+	call master_conn_send_packet
+	branch master_conn_recv_packet
+
+
+
+
+
+
+/******************************************/
+/************* Inquiry Scan ***************/
+/******************************************/
+
+inquiry_scan_dispatch:
+	fetch 1,mem_scan_mode
+	rtnbit0 inq_scan_mode
+	force iscan_interval_timer,queue
+	call timer_check
+	nrtn blank
+	fetcht 2,mem_iscan_window
+	force 4,queue
+	call sniff_check_window
+	rtn user
+	call inquiry_scan_start
+	force iscan_interval_timer,queue
+	fetch 2,mem_iscan_interval
+	nbranch timer_init,sync
+	random pdata				/* inquiry scan backoff */
+	iand mask3ff,pdata
+	branch timer_init
+	
+
+inquiry_scan_start:
+	bpatch patch06_1,mem_patch06
+	jam 0,mem_fhs_am_addr
+	disable clknt
+	disable attempt
+	call afh_clear
+	and clkn_bt,0x1fc,bt_clk      /* freeze the clock, set bit[1] 0, this is version 1.1 */
+	force 0x01,freq_mode     /* slave in inquiry scan, kind of same as inquriy_response, this is version 1.1 */
+	call fetch_giac
+	call rx_radio_freq
+	setflip mark_inquiry_state,mark
+	fetch 1,mem_inquiryscan_waitcnt
+	increase 1,pdata
+	store 1,mem_inquiryscan_waitcnt
+	call fetch_diac
+	call start_receiver	/* get ready for that id packet */
+	call wait_access_forever	/* until there is timeout, or matched (true) */
+	nrtn sync
+	bpatch patch06_2,mem_patch06
+	force 0,stop_watch
+	call shutdown_radio	/* must have heard */
+	fetch 1,mem_inquiryscan_rcvcnt
+	increase 1,pdata
+	store 1,mem_inquiryscan_rcvcnt
+	call fetch_giac
+	call rf_setup_time_slave_slot
+	or_into 0x002,bt_clk               /* put clk(1) to 1 */
+	force 0x01,freq_mode               /* slave in inquriy and page, response only */
+	call tx_radio_freq
+	call fetch_diac
+	call start_transmitter	/* get ready for that id packet */
+	call start_tx_external
+	deposit clkn_bt
+	store 4,mem_clkn_bt
+	call send_access_word
+	force type_fhs,type
+	force 0,am_addr                       /* put 0 into am_addr field for fhs */
+	call scan_mode_whiten
+	call transmit_packet_whitened
+	call send_eir
+	and_into 0x1fd,bt_clk                 /* put clk(1) back to 0 */
+	increase 1,N_tx_slot
+	rtn
+
+send_eir:
+	bpatch patch06_3,mem_patch06
+	fetch 1,mem_eir_enable
+	rtn blank
+	arg mem_eir,contw
+	fetch 1,mem_local_name_length
+	copy pdata,loopcnt
+	increase 1,pdata
+	istore 1,contw	
+	copy contw,temp
+	increase 1,pdata
+	store 2,mem_tx_len	
+	copy temp,contw
+	setarg 0x09  //type:name
+	istore 1,contw		
+	arg  mem_local_name,contr
+	call memcpy       //name
+
+	arg mem_all_uuid_128bits,regc
+	arg 4,loopcnt
+	call get_all_uuid
+	arg mem_all_uuid_16bits,regc
+	arg 1,loopcnt
+	call get_all_uuid
+
+	force type_dm3,type		/* DM3 */
+	jam 2,mem_tx_lch
+	setarg mem_eir
+	store 2,mem_txptr
+	call rf_setup_time_slave_slot
+	call tx_radio_freq
+	call start_transmitter	/* get ready for that id packet */
+	call start_tx_external
+	call send_access_word
+	call scan_mode_whiten
+	call transmit_packet_whitened
+	rtn
+
+
+get_all_uuid:
+	copy contw,temp
+	copy regc,contr
+	ifetch 1,contr
+	rtn blank
+lshift_loop:
+	lshift pdata,pdata
+	loop lshift_loop
+	copy pdata,rega
+	increase 2,pdata
+	copy pdata,queue
+	fetch 2,mem_tx_len
+	iadd queue,pdata
+	store 2,mem_tx_len
+	copy temp,contw
+	copy rega,pdata
+	increase 1,pdata
+	istore 1,contw
+	copy regc,contr
+	ifetch 1,contr
+	ifetch 1,contr	//fetch type
+	istore 1,contw
+	copy rega,loopcnt
+	branch memcpy  //copy uuid
+	
+/******************************************/
+/******** Slave dispatch ***********/
+/******************************************/
+
+page_scan_dispatch:	
+	fetch 1,mem_scan_mode
+	rtnbit0 page_scan_mode
+	force pscan_interval_timer,queue
+	call timer_check
+	nrtn blank
+	fetcht 2,mem_pscan_window
+	force 40,queue
+	call sniff_check_window
+	rtn user
+	force 0,am_addr
+	jam param_pagerespto,mem_fhs_wait_counter
+	set0 mark_fhs_already_good,mark
+	call page_scan_start
+	force pscan_interval_timer,queue
+	fetch 2,mem_pscan_interval
+	branch timer_init
+	
+
+page_scan_start:
+	bpatch patch06_4,mem_patch06
+	disable clknt
+	call afh_clear
+	fetch 1,mem_pagescan_waitcnt
+	increase 1,pdata
+	store 1,mem_pagescan_waitcnt
+	force 0,N_tx_slot
+	call fetch_self_bt_adr
+	add clkn_bt,1,bt_clk      /* freeze the clock on native clock until scan window is up */
+	force 0x02, freq_mode     /* slave in inquiry and page, not response */
+	bpatch patch06_5,mem_patch06
+	call rx_radio_freq
+	call start_receiver	/* wait for that id packet from master */
+	call wait_access_forever
+	nrtn sync                          /* pscan window timeout occured, back to dispatch */
+	call shutdown_radio	/* got the id packet */
+	fetch 1,mem_pagescan_rcvcnt
+	increase 1,pdata
+	store 1,mem_pagescan_rcvcnt
+	force 0,stop_watch
+	call rf_setup_time_slave_slot
+	or_into 0x002,bt_clk               /* put clk(1) to 1 */
+	force 0x01,freq_mode               /* slave in inquriy and page, response only */
+	call tx_radio_freq
+	call start_transmitter
+	call start_tx_external
+	call send_access_word
+	call end_of_packet
+	force 0,am_addr
+	fetchr timeup,2,mem_param_rf_setup
+	until clke_rt,meet
+	or_into 0x03,clke_bt
+	and_into 0x1fd,bt_clk
+page_scan_wait_fhs_restart:
+	bpatch patch06_6,mem_patch06
+	increase 1,N_tx_slot
+	call rx_radio_freq
+	call start_receiver
+	call wait_access_mhalfbnd
+	nbranch page_scan_wait_fhs_again,sync	/* go back if didn't find access code */
+	call scan_mode_whiten
+	call receive_packet_whitened
+	bmark1 mark_fhs_already_good,page_scan_reply_to_fhs
+page_scan_wait_fhs_again:
+	bpatch patch06_7,mem_patch06
+	fetch 1,mem_fhs_wait_counter
+	rtn blank
+	increase -1,pdata
+	store 1,mem_fhs_wait_counter
+	call rf_setup_time_master_slot	/* set up expiration time */
+	branch page_scan_wait_fhs_restart
+
+
+page_scan_reply_to_fhs:
+	bpatch patch07_0,mem_patch07
+	set0 1,clke_bt
+	set1 0,clke_bt
+	fetch 1,mem_pagescan_rcvfhscnt
+	increase 1,pdata
+	store 1,mem_pagescan_rcvfhscnt
+	call rf_setup_time_slave_slot
+	or_into 0x02,bt_clk
+	call tx_radio_freq
+	call start_transmitter
+	call start_tx_external
+	call send_access_word
+	call end_of_packet
+slave_apply_clke_bt:
+	compare 0x03,clke_bt,0x03
+	branch slave_apply_clke_bt_now,true
+	until null,mhalfbnd
+	branch slave_apply_clke_bt
+slave_apply_clke_bt_now:
+	fetch 4,mem_clke_bt
+	or_into 0x03,pdata
+	icopy clke_bt
+
+start_slave_connection:
+	bpatch patch07_1,mem_patch07
+	fetch 6,extm_lap
+	store 6,mem_plap
+	call prepare_newconn
+slave_newconn_loop:
+	call slave_newconn_once
+	branch sconn_successful,match     /* we were talked to */
+	call new_conn_timeout
+	nbranch slave_newconn_loop,blank
+	rtn
+
+	
+sconn_successful:
+	bpatch patch07_2,mem_patch07
+	call newconn_init
+	call context_new
+	nrtn zero
+	jam 0,mem_mode
+	call calc_clke_offset
+	branch context_save
+
+
+
+
+slave_dispatch:
+	bpatch patch07_3,mem_patch07
+	call calc_clke
+	call role_switch_slave
+	rtn user
+slave_loop:
+	bpatch patch07_4,mem_patch07
+	call scheduler_process
+	call slave_conn_recv_packet	/* go listen for a packet */
+	nbranch slave_notmatch,match
+	fetch 2,mem_cb_bt_slave_match
+	call callback_func
+	call supervision_flush
+	call scheduler_tx_l2cap_pkt
+	call prepare_tx
+	call slave_conn_send_packet
+	call parse_l2cap
+	call parse_lmp
+	fetch 1,mem_slave_rcvcnt
+	increase 1,pdata
+	store 1,mem_slave_rcvcnt
+	call calc_clke_offset
+slave_notmatch:
+	bpatch patch07_5,mem_patch07
+	call lpm_set_mult
+	call supervision_update
+	branch slave_disconnect,positive
+	call check_disconnect_timeout
+	nbranch slave_disconnect,user
+	call check_attempt
+	nbranch slave_loop,blank
+	rtn
+
+slave_disconnect:
+	bpatch patch07_6,mem_patch07
+	jam 0,mem_tester_emulate
+	jam 0,mem_debug_config
+	call quit_connection
+	set0 mark_testmode,mark
+	call test_enable_white
+	fetch 1,mem_state
+	rtn
+
+
+role_switch_slave:
+	call role_switch_check
+	nrtn user
+	copy am_addr,temp
+	call get_free_amaddr
+	store 1,mem_fhs_am_addr
+	copy temp,am_addr
+	jam param_newconnto,mem_newconnto_counter
+roles_sendfhs_loop:
+	bpatch patch07_7,mem_patch07
+	call rf_setup_time_master_slot
+	force type_fhs,type
+	call slave_send_access
+	deposit clkn_bt
+	store 4,mem_clkn_bt
+	call transmit_packet
+	call rf_setup_time_slave_slot
+	enable user3
+	call slave_receive_access
+	branch roles_got_fhs_reply,sync
+	call shutdown_radio
+	call new_conn_timeout
+	nbranch roles_sendfhs_loop,blank
+	rtnmark0 mark_accept_switch
+	jam LMP_SLOT_OFFSET,mem_lmo_opcode2
+	set1 mark_switch_initiated,mark
+	rtn
+roles_got_fhs_reply:
+	enable clknt
+	call prepare_newconn
+	call afh_clear
+roles_newconn_loop:
+	bpatch patch08_0,mem_patch08
+	call master_newconn_once
+	branch roles_newconn_responded,sync
+	call new_conn_timeout
+	nbranch roles_newconn_loop,blank
+	disable clknt
+	deposit clke_bt
+	store 4,mem_next_btclk
+	rtn
+roles_newconn_responded:
+	enable master
+	bmark0 mark_accept_switch,roles_newconn_nolmp
+	set0 mark_accept_switch,mark
+	jam LMP_ACCEPTED,mem_lmo_opcode2
+	jam LMP_HOST_CONNECTION_REQ,mem_lmi_opcode2
+	call tid_set_reply
+roles_newconn_nolmp:
+	deposit am_addr
+	store 1,mem_amaddr
+	force 0,pdata
+	store 6,mem_clk_offset
+	fetch 1,mem_mode
+	set1 mode_master,pdata
+	store 1,mem_mode
+	call supervision_flush
+	disable master
+	enable user
+	rtn
+
+	
+
+init_rx_packet_flags:
+	bpatch patch08_1,mem_patch08
+	disable match
+	set0 mark_loopback,mark
+	set0 mark_am_addr_broadcast,mark          /* initialize slave flags */
+	set0 mark_longpacket,mark
+	set0 mark_old_packet,mark
+	fetch 1,mem_arq    /* mem_arq + am_addr */
+	set0 arqnx,pdata
+	set1 flowx,pdata
+	store 1,mem_arq
+	rtn
+
+prepare_newconn:
+	bpatch patch08_2,mem_patch08
+	jam param_newconnto,mem_newconnto_counter
+	jam param_newconn_arq,mem_arq
+	fetch 2,mem_rx_window_init
+	store 2,mem_rx_window
+	deposit clkn_bt
+	store 4,mem_next_btclk
+	rtn clknt
+	deposit clke_bt
+	store 4,mem_next_btclk
+	rtn
+
+newconn_init:
+	bpatch patch08_3,mem_patch08
+	call init_lmp_reinit
+	call new_conn_handle
+	store 1,mem_conn_handle
+	setarg 0
+	store 2,mem_l2cap_rxbuff1_len
+	setarg param_supervision_to
+	store 2,mem_supervision_to
+	fetch 1,mem_state
+	set1 state_inconn,pdata
+	store 1,mem_state
+	jam 0,mem_op
+	jam 0,mem_state_map
+	jam 0,mem_lpm_current_mult
+	branch supervision_flush
+	
+
+clear_linkkey:
+	bpatch patch08_4,mem_patch08
+	force 0,pdata
+	store 8,mem_link_key
+	istore 8,contw
+	call clear_linkstate
+	branch context_traverse_linkkey
+	
+new_conn_timeout:
+	fetch 1,mem_newconnto_counter
+	increase -1,pdata
+	store 1,mem_newconnto_counter
+	rtn
+
+new_conn_handle:
+	fetch 1,mem_handle_num
+	increase 1,pdata
+	store 1,mem_handle_num
+	rtn
+
+
+quit_connection:
+	bpatch patch08_5,mem_patch08
+	fetch 1,mem_hci_cmd
+	beq hci_cmd_remote_name_req,quit_connection_name
+	fetch 1,mem_lmp_to_send
+	bne LMP_NAME_REQ,quit_connection_cont
+quit_connection_name:
+	call cmd_check_plap
+	nbranch quit_connection_cont,zero
+	call master_name_error
+	jam 0,mem_hci_cmd
+quit_connection_cont:
+	bpatch patch08_6,mem_patch08
+	call app_disconn_reason_collect_bt
+	call sniff_exit
+	jam BT_EVT_BB_DISCONNECTED,mem_fifo_temp
+	call ui_ipc_send_event
+	call init_lmp_work
+	call l2cap_init_work
+ifdef SIMPLE_PAIRING
+	call sp_clear_flags
+endif
+	fetch 1,mem_state
+	set0 state_inconn,pdata
+	store 1,mem_state
+	jam 0,memui_reconnect_mode
+
+	fetch 1,mem_state_map
+	compare 0x0,pdata,0xc0
+	branch quit_connection_not_clear_mark,true
+	set0 mark_rxbuf_inuse,mark
+quit_connection_not_clear_mark:
+	fetch 1,mem_arq
+	bbit0 wack,quit_connection_not_clear_tx
+quit_connection_not_clear_tx:
+	fetch 1,mem_op
+	rtnbit0 op_txl2cap
+	set0 mark_tx_l2cap,mark
+	rtn
+
+slave_newconn_once:
+	bpatch patch08_7,mem_patch08
+	fetch 1,extm_newconn_am_addr
+	rtn blank     
+	icopy am_addr
+	call slave_conn_recv_packet
+	nrtn match
+	force type_null,type
+	call slave_conn_send_packet
+	deposit am_addr
+	store 1,mem_amaddr                 /* now the new am_addr is official */
+	force 0,pdata
+	store 1,extm_newconn_am_addr
+	rtn
+
+
+/******************************************/
+/********  Time consuming task  ***********/
+/******************************************/
+prepare_tx:
+	bpatch patch09_0,mem_patch09
+	fetch 1,mem_state
+	bbit0 state_insco,prepare_tx_not_sco
+	force type_hv3,type
+	bmark0 mark_esco,prepare_tx_not_esco
+	call check_esco_amaddr
+	nbranch prepare_tx_not_sco,true
+	branch prepare_tx_not_sco,attempt	
+	call set_wait_ack					/* send esco only at the first attempt */
+	setarg 2		/* esco only has 1 retry */
+	store 2,mem_retransmission_cnt
+	rtn
+
+prepare_tx_not_esco:
+	nrtn attempt						/* send sco only at the first attempt */
+prepare_tx_not_sco:
+	bpatch patch09_1,mem_patch09
+	call context_check_all_wack			 //abandon mark_retransmit, use context_check_all_wack instead.
+	nbranch prepare_tx_no_retransmit,zero
+	fetch 1,mem_arq
+	bbit0 wack,prepare_tx_pollnull		/* other wack, tx buffer in use, but not me */
+prepare_tx_retransmit:
+	bmark1 mark_loopback,prepare_tx_loopback
+	fetch 1,mem_debug_config
+	bbit1 debug_tx_pattern,prepare_tx_txpat
+	fetch 2,mem_retransmission_cnt
+	increase -1,pdata
+	store 2,mem_retransmission_cnt
+	branch prepare_tx_nomore_retransmit,blank
+	fetch 1,mem_last_type
+	iforce type
+	rtn
+
+prepare_tx_nomore_retransmit:
+	bpatch patch09_2,mem_patch09
+	call clear_got_tx
+prepare_tx_no_retransmit:
+	call check_esco_amaddr
+	branch prepare_tx_pollnull,true
+	call send_lmp
+	branch prepare_tx_sendlmp,user
+	fetch 1,mem_op
+	bbit1 op_txl2cap,prepare_tx_sendl2cap
+	bmark1 mark_loopback,prepare_tx_loopback
+	fetch 1,mem_debug_config
+	bbit1 debug_tx_pattern,prepare_tx_txpat
+prepare_tx_pollnull:
+	force type_poll,type				/* POLL for master */
+	rtn master
+	force type_null,type				/* default is NULL */
+	rtn
+prepare_tx_loopback:
+	bpatch patch09_3,mem_patch09
+	fetch 1,mem_rx_type
+	iforce type
+	rtnne 1
+	force type_null,type
+	rtn
+prepare_tx_txpat:
+	fetch 1,test_mode_packet_type
+	and pdata,0xf,type
+	set1 mark_loopback,mark
+	rtn
+prepare_tx_sendlmp:
+	force type_lmp,type
+	call set_wait_ack
+prepare_tx_ccm_edr_lmp:
+	call check_enc_ccm
+	rtn blank		
+	jam 3,mem_llid
+	fetch 1,mem_lmo_header_length
+	and pdata,0x1f8,pdata
+	rshift3 pdata,pdata
+	store 2,mem_ccm_len
+	copy pdata,rega
+	arg mem_lmo_header_opcode,regc
+	branch ccm_br_enc_new	
+
+	
+prepare_tx_sendl2cap:
+	call tx_l2cap_type
+	call set_wait_ack
+prepare_tx_ccm_edr:
+	call check_enc_ccm
+	rtn blank		
+	fetch 1,mem_tx_lch
+	and_into 3,pdata
+	store 1,mem_llid
+	fetch 2,mem_tx_len
+	copy pdata,rega
+	store 2,mem_ccm_len
+	fetch 2,mem_txptr
+	copy pdata,regc
+	branch ccm_br_enc_new
+	
+	
+set_wait_ack:
+	bpatch patch09_4,mem_patch09
+	fetcht 1,mem_arq
+	set1 wack,temp
+	storet 1,mem_arq
+	deposit type
+	store 1,mem_last_type
+	setarg 0xffff
+	store 2,mem_retransmission_cnt
+	rtn
+
+tx_l2cap_type:
+	bpatch patch09_5,mem_patch09
+	fetch 1,mem_state_map
+	isolate1 smap_edr,pdata
+	fetch 2,mem_tx_len
+	branch tx_l2cap_type_edr,true
+	force type_dm1,type		/* DM1 */
+	sub pdata,17,null			
+	rtn positive
+	force type_dh1,type		/* DH1 */
+	sub pdata,27,null				
+	rtn positive
+	force type_dm3,type		/* DM3 */
+	sub pdata,121,null
+	rtn positive
+	force type_dh3,type		/* DH3 */
+	sub pdata,183,null
+	rtn positive	
+	force type_dm5,type		/* DM5 */
+	sub pdata,224,null
+	rtn positive
+	force type_dh5,type		/* DH5 */
+	rtn
+tx_l2cap_type_edr:
+	force type_dm1,type
+	sub pdata,17,null
+	rtn positive
+	force type_dh1,type		/*2-DH1*/
+	sub pdata,54,null
+	rtn positive
+	force type_dm3,type		/*2-DH3*/
+	arg 367,temp
+	isub temp,null
+	nrtn positive
+	force type_dm5,type		/*2-DH5*/
+	arg 679,temp
+	isub temp,null
+	nrtn positive
+	force type_dh5,type		/*3-DH5*/
+	rtn
+
+
+/******************************************/
+/***********  Receive Packet  *************/
+/******************************************/
+
+
+
+slave_receive_master_slot:
+	fetch 1,mem_state
+	bbit0 state_insniff,slave_receive_notsniff
+	fetch 2,mem_tsniff
+	branch slave_receive_notsniff,blank		/* role switch */
+	nbranch slave_receive_sniff,attempt
+slave_receive_notsniff:
+	call rf_setup_time_master_slot
+slave_receive_access:
+	add clke_bt,1,bt_clk
+slave_receive_sniff:
+	enable swfine
+	fetch 2,mem_rx_window
+	rshift pdata,pdata
+	fetcht 2,mem_param_pll_setup
+	iadd temp,pdata
+	call ahead_window
+	call fetch_extm_bt_adr
+	force 0x03,freq_mode          /* connection hop */
+	call rx_radio_freq
+	call init_rx_packet_flags
+	call prep_crypt
+	bpatch patch09_6,mem_patch09
+	fetch 2,mem_rx_window
+	rshift pdata,pdata
+	call ahead_window
+	call start_receiver
+	enable decode_fec0
+	fetch 2,mem_rx_window
+	fetcht 2,mem_param_clke_cal
+	iadd temp,stop_watch
+	correlate null,timeout
+	copy clke,temp
+	storet 6,mem_sync_clke
+	disable decode_fec0
+	nrtn sync
+	fetch 2,mem_param_clke_cal
+	copy pdata,clke_rt
+	copy bt_clk,clke_bt
+	branch lpm_adjust_clk,wake
+	rtn
+
+
+slave_conn_recv_packet:
+	bpatch patch09_7,mem_patch09
+	call slave_receive_master_slot
+	nbranch shutdown_radio,sync
+	call save_rssi
+	bmark0 mark_testmode,receive_packet
+	fetch 2,mem_tst_pktcnt_sync
+	increase 1,pdata
+	store 2,mem_tst_pktcnt_sync
+receive_packet:
+	call rf_debug_rx_sync_line	//L-H
+	rshift bt_clk,temp
+	or temp,0x40,white_init
+receive_packet_whitened:
+	bpatch patch0a_0,mem_patch0a
+	enable enable_white
+	enable enable_hec
+	enable decode_fec1
+	parse demod,bucket,3  /* get am_addr */
+	rshift8 pwindow,pdata
+	store 1,mem_temp_am_addr
+	parse demod,bucket,4  /* get type */
+	inject bucket,7       /* align up to pwindow */
+	copy pwindow,pdata
+	store 1,mem_rx_type
+	parse demod,bucket,3  /* get arq */
+	rshift8 pwindow,pdata
+	store 1,mem_temp_arq
+	fetch 1,mem_rx_type
+	sub pdata,3,null
+	branch receive_packet_noedr,positive
+	beq 7,receive_packet_noedr		/* esco packet */
+	fetch 1,mem_state_map
+	isolate1 smap_edr,pdata
+	setflag true,PSK,radio_ctrl
+receive_packet_noedr:
+	bpatch patch0a_1,mem_patch0a
+	parse demod,bucket,8   /* cycle thru hec */
+	disable decode_fec1
+	disable enable_hec   /* at this moment, 1 seqn + 8 hec is in shift */
+	branch error_header,crc_failed  /* if hec error, nothing is valid */
+	bmark0 mark_testmode,receive_packet_amchk
+	fetch 2,mem_tst_pktcnt_hec
+	increase 1,pdata
+	store 2,mem_tst_pktcnt_hec
+receive_packet_amchk:	
+	bpatch patch0a_2,mem_patch0a
+	fetch 1,mem_temp_am_addr
+	compare 0,pdata,0x07           /* check for broadcast */
+	setflag true,mark_am_addr_broadcast,mark   /* received a broadcast message, can fire ar_addr if during unpark_req */
+	branch am_addr_ok,true
+	icompare 0x07,am_addr
+	branch am_addr_match,true
+	bmark0 mark_esco,end_of_packet
+	fetch 1,mem_arq    /* mem_arq + am_addr */
+	set0 arqnx,pdata
+	set1 flowx,pdata
+	store 1,mem_arq
+am_addr_match:
+	call rf_debug_rx_match_line	//L
+	enable match
+am_addr_ok:
+	bpatch patch0a_3,mem_patch0a
+	fetch 1,mem_rx_type
+	icopy type
+	bmark1 mark_am_addr_broadcast,arqn_bypass        /* arqn doesn't make sense */
+	fetcht 1,mem_temp_arq
+	fetch 1,mem_arq
+	set0 flow,pdata
+	isolate1 flow,temp
+	setflag true,flow,pdata
+	isolate1 arqn,temp
+	setflag true,arqn,pdata
+	store 1,mem_arq
+	isolate0 arqn,temp
+	branch arqn_bypass,true
+	call clear_got_tx
+arqn_bypass:
+	bpatch patch0a_4,mem_patch0a
+	arg 0,temp
+	call reserve_slot
+	and type,0xf,pdata
+	beq type_poll,process_poll
+	beq type_null,end_of_packet	/* null */
+	beq type_fhs,process_fhs
+	fetcht 1,mem_temp_arq
+	fetch 1,mem_arq
+	icompare 0x04,temp    /* bit 2 is seqn */
+	nbranch rx_type_dispatch,true   /* different then it's new */
+	bmark0 mark_am_addr_broadcast,failed_seqn         /* seqn failed, and not broadcast */
+	bbit0 bcast1,rx_type_dispatch           /* first broadcast never fail seqn */
+failed_seqn:
+	set1 mark_old_packet,mark
+rx_type_dispatch:
+	bpatch patch0a_5,mem_patch0a
+	deposit type
+	beq type_dm1, process_dm1
+	beq type_dh1, process_dh1
+	beq type_3dh1, process_3dh1
+	arg 4,temp
+	call reserve_slot
+	beq type_dm3, process_dm3
+	beq type_dh3, process_dh3
+	arg 8,temp
+	call reserve_slot
+	beq type_dm5, process_dm5
+	beq type_dh5, process_dh5
+	rtn
+
+
+
+
+process_poll:
+	branch end_of_packet
+
+process_dm3:
+process_dm5:
+	set1 mark_longpacket,mark
+process_dm1:
+	enable decode_fec2
+	branch process_dmh
+	
+process_dh3:
+process_dh5:
+	set1 mark_longpacket,mark
+process_3dh1:
+	set1 PSK3M,radio_ctrl
+process_dh1:
+	enable decode_fec0
+process_dmh:
+	bpatch patch0a_6,mem_patch0a
+	bmark1 mark_first_packet,end_of_packet
+	bmark1 mark_rxbuf_inuse,end_of_packet			/* buffer in use, nack */
+	isolate0 PSK,radio_ctrl
+	branch process_dmh_noedr,true
+	disable enable_white
+	enable decode_fec0
+	disable decode_fec2
+	add clkn_bt,2,timeup
+	correlate clkn_bt,meet
+	nbranch error_payload,sync
+	set1 mark_longpacket,mark
+	enable enable_white
+process_dmh_noedr:
+	bpatch patch0a_7,mem_patch0a
+	enable encrypt
+	enable enable_crc
+	parse demod,bucket,3  /* parse in lch+l2cap flow */
+	rshift8 pwindow,pdata
+	store 1,mem_lch_code		/* for loopback */
+	parse demod,bucket,5  /* parse in 5 bit packetlength */
+	bmark1 mark_longpacket,process_dmh_long
+	rshift3 pwindow,loopcnt
+	rshift3 loopcnt,loopcnt
+	branch process_dmh_common
+process_dmh_long:
+	parse demod,bucket,5		/* multi slot packet length of dh3 dh5 dm3 dm5 */
+	rshift pwindow,loopcnt
+	parse demod,bucket,3  /* undefined+bit 9 of length */
+process_dmh_common:	
+	bpatch patch0b_0,mem_patch0b
+	deposit loopcnt
+	store 2,mem_len
+	branch process_dmh_data_0,blank
+	call check_enc_ccm
+	branch process_dmh_common2,blank
+process_dmh_common2_ccm:
+	increase 4,loopcnt
+	deposit loopcnt
+process_dmh_common2:	
+	isub mask3ff,null
+	branch error_payload,positive	/* packet too large, discard */
+	bpatch patch0b_1,mem_patch0b
+	set0 mark_fhs_eir,mark
+	fetch 1,mem_lch_code
+	and_into 0x03,pdata
+	arg mem_rxbuf,contw //lmp_data or test packet
+	beq LLID_LMP,process_lmp
+	bmark1 mark_testmode,process_dmh_common2_testmode
+	//non-HCI mode
+	fetch 1,mem_lch_code
+	and_into 0x03,pdata
+	beq LLID_L2CAP_START,process_dmh_data_l2cap_start_pkt
+	beq LLID_L2CAP_CONT,process_dmh_data_l2cap_continue_pkt
+	branch error_payload
+	
+process_dmh_common2_testmode:	
+	arg mem_l2cap_rxbuff1,contw
+	branch process_dmh_data	
+
+process_dmh_data_0:
+	call check_enc_ccm
+	branch process_dmh_data_end,blank
+	setarg 0
+	store 2,mem_ccm_len
+	parse demod,bucket,32
+	rshift32 pdata,pdata
+	rshift8 pdata,pdata
+	store 4,mem_le_peer_mic
+	branch process_dmh_data_end
+	
+//blank not enc_ccm
+check_enc_ccm:
+	fetch 1,mem_state_map
+	bbit0 smap_encryption,enable_blank
+	fetch 1,mem_encapsulated_minor_type
+	bne ENCAPSULATED_MINOR_TYPE_P256,enable_blank
+	branch disable_blank
+	
+process_lmp:
+	fetch 2,mem_len
+	sub pdata,17,null		//lmp buffer size
+	nbranch error_payload,positive
+	bmark1 mark_old_packet,ack_payload
+	branch process_dmh_data
+
+	
+process_dmh_data_l2cap_start_pkt:
+	bpatch patch0b_2,mem_patch0b
+	bmark1 mark_old_packet,ack_payload
+	fetch 2,mem_len
+	arg 0x2e0,temp //l2cap buffer size
+	isub temp,null
+	branch error_payload,positive
+	fetch 1,mem_l2cap_rxbuff_inuse
+	bbit0 L2CAP_INUSE_BUFF1,process_dmh_data_into_buff1
+	bbit0 L2CAP_INUSE_BUFF2,process_dmh_data_into_buff2
+	branch end_of_packet
+process_dmh_data_into_buff1:
+	jam 1,mem_l2cap_rxbuff_new //new data in buff 1
+	fetch 2,mem_l2cap_rxbuff1_len
+	bne 0,end_of_packet			//baseband head error
+	arg mem_l2cap_rxbuff1,contw
+	branch process_dmh_data
+process_dmh_data_into_buff2:
+	jam 2,mem_l2cap_rxbuff_new //new data in buff 2
+	fetch 2,mem_l2cap_rxbuff2_len
+	bne 0,end_of_packet
+	arg mem_l2cap_rxbuff2,contw
+	branch process_dmh_data
+	
+process_dmh_data_l2cap_continue_pkt:
+	bpatch patch0b_3,mem_patch0b
+	bmark1 mark_old_packet,ack_payload
+	fetch 2,mem_len
+	arg 0x2e0,temp //l2cap buffer size
+	isub temp,null
+	branch error_payload,positive
+	fetch 1,mem_l2cap_rxbuff_new
+	beq 1,process_dmh_data_l2cap_continue_pkt1
+	beq 2,process_dmh_data_l2cap_continue_pkt2
+	branch end_of_packet
+process_dmh_data_l2cap_continue_pkt1:
+	arg mem_l2cap_rxbuff1,contw
+	fetch 2,mem_l2cap_rxbuff1_len
+	iadd contw,contw
+	branch process_dmh_data
+process_dmh_data_l2cap_continue_pkt2:
+	arg mem_l2cap_rxbuff2,contw
+	fetch 2,mem_l2cap_rxbuff2_len
+	iadd contw,contw
+process_dmh_data:	
+	parse demod,bucket,8
+	rshift3 pwindow,pdata
+	istore 1,contw
+	loop process_dmh_data
+process_dmh_data_end:	
+	bpatch patch0b_4,mem_patch0b
+	parse demod,bucket,16  /* cycle through the crc */
+	branch error_payload_crc,crc_failed
+	call check_enc_ccm
+	call enable_user2
+	ncall ccm_br_decrypt_new,blank
+	nbranch error_mic_error,user2
+	call rf_debug_rx_crc_line	//L
+
+	fetch 1,mem_l2cap_flow_ctrl_flag
+	beq L2CAP_FLOW_CTRL_ENABLE,flow_ctrl
+
+	bmark1 mark_testmode,process_dmh_cont
+	bmark1 mark_old_packet,redundant_payload
+	fetch 1,mem_lch_code
+	compare 3,pdata,3
+	branch process_dmh_cont,true
+	fetch 2,mem_len
+	branch process_dmh_cont,blank
+	bpatch patch0b_5,mem_patch0b
+	fetch 1,mem_l2cap_rxbuff_new
+	beq 1,process_l2cap_pass_crc_buff1
+	beq 2,process_l2cap_pass_crc_buff2
+	branch assert
+process_l2cap_pass_crc_buff1:
+	fetch 2,mem_l2cap_rxbuff1_len
+	fetcht 2,mem_len
+	iadd temp,pdata
+	store 2,mem_l2cap_rxbuff1_len
+	rtn blank
+	fetcht 2,mem_l2cap_rxbuff1// l2cap payload length
+	increase 4,temp
+	isub temp,null
+	call l2cap_buff1_inuse,zero //l2cap pkts not ended
+	branch process_dmh_cont
+process_l2cap_pass_crc_buff2:
+	fetch 2,mem_l2cap_rxbuff2_len
+	fetcht 2,mem_len
+	iadd temp,pdata
+	store 2,mem_l2cap_rxbuff2_len
+	rtn blank
+	fetcht 2,mem_l2cap_rxbuff2// l2cap payload length 
+	add temp,4,temp
+	isub temp,null
+	call l2cap_buff2_inuse,zero //l2cap pkts not ended
+//	branch process_dmh_cont
+process_dmh_cont:
+	bpatch patch0b_6,mem_patch0b
+	fetcht 1,mem_state_map
+	fetch 1,mem_lch_code
+	compare 3,pdata,0x03
+	setflag true,smap_rxlmp,temp
+	nsetflag true,smap_rxl2cap,temp
+	storet 1,mem_state_map
+	nbranch process_dmh_cont_rxbuf_not_use,true
+	set1 mark_rxbuf_inuse,mark
+process_dmh_cont_rxbuf_not_use:
+	bmark0 mark_testmode,ack_payload
+	isolate1 smap_rxlmp,temp
+	branch ack_payload,true
+	fetch 2,mem_tst_pktcnt_crc
+	increase 1,pdata
+	store 2,mem_tst_pktcnt_crc
+	set1 mark_loopback,mark
+	set0 smap_rxl2cap,temp
+	set0 mark_rxbuf_inuse,mark
+	storet 1,mem_state_map
+ack_payload:
+	bpatch patch0b_7,mem_patch0b
+	call check_enc_ccm
+	ncall ccm_br_pcnt_rx_add,blank
+	fetcht 1,mem_temp_arq
+	fetch 1,mem_arq
+	set1 arqnx,pdata
+	isolate1 seqn,temp            /* if accept, seqn always copies from the header */
+	setflag true,seqn,pdata
+	isolate1 mark_am_addr_broadcast,mark
+	setflag true,bcast1,pdata
+	store 1,mem_arq
+	fetch 2,mem_len
+	nbranch end_of_packet,blank
+	fetch 1,mem_state_map
+	set0 smap_rxl2cap,pdata//better to do this in l2cap_flow_ctrl_stop
+	store 1,mem_state_map
+	fetch 1,mem_lch_code
+	compare 0x01,pdata,0x07
+	//call l2cap_flow_ctrl_stop,true
+	branch end_of_packet
+	
+error_header:
+	bpatch patch0c_0,mem_patch0c
+	disable match
+	fetch 2,mem_rx_hec_err
+	increase 1,pdata
+	store 2,mem_rx_hec_err
+	branch end_of_packet
+error_payload_crc:
+	fetch 2,mem_rx_crc_err
+	increase 1,pdata
+	store 2,mem_rx_crc_err
+	call discard_pkt
+	bmark0 mark_testmode,error_payload
+	set1 mark_loopback,mark
+error_payload:
+	branch end_of_packet
+
+flow_ctrl:
+error_mic_error:
+	branch error_payload_crc
+
+	
+discard_pkt:
+	bpatch patch0c_1,mem_patch0c
+	fetch 1,mem_lch_code
+	compare 3,pdata,0x03
+	nbranch discard_pkt_l2cap,true
+discard_pkt_lmp:	
+	fetcht 1,mem_state_map
+	set0 smap_rxlmp,temp
+	storet 1,mem_state_map
+	rtn
+discard_pkt_l2cap:
+//	isolate1 mark_testmode,mark
+//	setflag true,mark_loopback,mark
+	fetcht 1,mem_state_map
+	set0 smap_rxl2cap,temp
+	storet 1,mem_state_map
+	rtn
+
+redundant_payload:
+	fetch 1,mem_arq
+	set1 arqnx,pdata
+	store 1,mem_arq
+end_of_packet:
+	bpatch patch0c_2,mem_patch0c
+	disable encode_fec0
+	disable encode_fec2
+	disable decode_fec0
+	disable decode_fec2
+	disable enable_crc
+	disable encrypt
+	disable enable_white
+	branch shutdown_radio,is_rx
+	until null,tx_clear
+	nop 100          /* flush out the last bit */
+	branch shutdown_radio
+	
+process_fhs:
+	bpatch patch0c_3,mem_patch0c
+	enable enable_crc
+	enable decode_fec2
+	parse demod,bucket,72
+	isolate1 58,pdata
+	setflag true,mark_fhs_eir,mark
+	copy bt_adr,temp             /* save current address to aside */
+	ialigned bt_adr            /* send it to access gen */
+	ialigned fhs0			/* get fhs_misc */
+	pulse recalc                /* calc the lap just received from the other guy */
+	setsect 2,0xfffff             /* preset ms of shift reg as big mask */
+	setsect 3,0x0ffff             /* preset ms of shift reg as big mask */
+	nop 32                       /* 30 cycles after recalc */
+	iverify fhs_parity             /* check fhs_parity against ls 34 bits at shift reg, with msb 36 bits as mask */
+	deposit lap
+	store 3,extm_lap
+	deposit uap
+	store 1,extm_uap
+	copy temp,bt_adr             /* put the address back */
+	branch fhs_parity_ok,true     /* fhs parity failed */
+	branch error_payload
+fhs_parity_ok:
+	bpatch patch0c_4,mem_patch0c
+	parse demod,bucket,72
+	ialigned fhs1                   /* give host the information on class and fhs_misc */
+	ialigned am_addr                /* store the am_addr the master assigned us */
+	ialigned nap
+	ialigned regb                   /* store external clock in regb according to clock format */
+	force 0,pdata
+	parse demod,bucket,16  /* cycle through the crc */
+	branch error_payload,crc_failed
+	call rf_debug_rx_crc_line	//L
+	setarg 0x0ffffffc
+	iand regb,pdata
+	store 4,mem_clke_bt
+	deposit fhs_class
+	store 3,extm_class
+	deposit fhs_misc
+	store 1,extm_fhs_misc
+	deposit am_addr
+	store 1,extm_newconn_am_addr
+	deposit nap
+	store 2,extm_nap
+	deposit bt_clk
+	inject rxf,32
+	compare type_fhs,type,0x0f         /* see if this was fhs packet */
+	setflag true,mark_fhs_already_good,mark
+	branch end_of_packet
+
+clear_got_tx:
+	bpatch patch0c_5,mem_patch0c
+	fetch 1,mem_arq
+	rtnbit0 wack
+	set0 wack,pdata
+	setflip seqnx,pdata
+	store 1,mem_arq
+	call check_enc_ccm
+	ncall ccm_br_pcnt_tx_add,blank
+	fetch 1,mem_last_type
+	beq type_lmp,clear_got_txlmp
+	rtneq type_hv3
+	fetch 1,mem_op
+	rtnbit0 op_txl2cap,pdata
+	set0 op_txl2cap,pdata
+	set1 op_pkt_comp,pdata
+	store 1,mem_op
+	set0 mark_tx_l2cap,mark
+	fetch 2,mem_l2cap_tx_multi_offset
+	nrtn blank
+	fetch 1,mem_op
+	set0 op_pkt_comp,pdata
+	store 1,mem_op
+	branch l2cap_malloc_free
+
+clear_got_txlmp:
+	bpatch patch0c_6,mem_patch0c
+	fetch 1,mem_lmo_header_opcode_x
+	rshift pdata,pdata
+	beq LMP_START_ENCRYPTION_REQ,start_encryption
+	beq LMP_STOP_ENCRYPTION_REQ,stop_encryption
+	beq LMP_UNSNIFF_REQ, sniff_exit
+	beq LMP_ESCAPE,clear_lmp_escape
+	rtnne LMP_ACCEPTED
+	fetch 1,mem_lmo_payload
+	beq LMP_START_ENCRYPTION_REQ,clear_send_setup_complete
+	rtn
+
+clear_lmp_escape:
+	fetch 1,mem_lmo_payload
+	set1 7,pdata
+	rtn
+clear_send_setup_complete:
+	rtn master
+	fetch 1,mem_state
+	rtnbit1 state_conn_comp
+	jam LMP_SETUP_COMPLETE,mem_lmo_opcode2
+	rtn
+	
+	
+start_encryption:
+	bpatch patch0c_7,mem_patch0c
+	fetch 1,mem_state_map
+	set1 smap_encryption,pdata
+	store 1,mem_state_map
+	jam 1,core_encrypt
+	force 0,pdata
+	store 5,mem_ccm_pcnt_rx
+	set1 BR_CCM_DIRECTIONBIT,pdata
+	store 5,mem_ccm_pcnt_tx	
+	rtn	
+
+stop_encryption:
+	bpatch patch0d_0,mem_patch0d
+	fetch 1,mem_state_map
+	set0 smap_encryption,pdata
+	store 1,mem_state_map
+	jam 0,core_encrypt
+	rtn
+
+
+sniff_init:
+	bpatch patch0d_1,mem_patch0d
+	add clkn_bt,3,rega
+	branch sniff_init_master,master
+	add clke_bt,3,rega
+sniff_init_master:
+	fetcht 2,mem_tsniff
+	deposit rega
+	set0 27,pdata
+	idiv temp
+	fetch 2,mem_dsniff
+	call wait_div_end
+	remainder regc
+	isub regc,pdata
+	branch sniff_init_nowrap,positive
+	iadd temp,pdata
+sniff_init_nowrap:
+	iadd rega,pdata
+	store 4,mem_sniff_anchor
+	jam SWITCH_FLAG_INIT,mem_switch_flag
+	fetch 1,mem_state
+	set1 state_insniff,pdata
+	store 1,mem_state
+	fetch 1,mem_sniff_attempt
+	store 1,mem_current_sniff_attempt
+	setarg 0
+	store 3,mem_sniff_rcv
+	store 3,mem_sniff_lost
+	store 1,mem_sniff_unint_lost
+	jam BT_EVT_ENTER_SNIFF,mem_fifo_temp
+	call ui_ipc_send_event
+	fetch 2,mem_rx_window_sniff
+	store 2,mem_rx_window
+	nrtn master
+	add am_addr,-1,queue
+	rtn
+
+sniff_exit:
+	bpatch patch0d_2,mem_patch0d
+	fetch 1,mem_state
+	rtnbit0 state_insniff
+	set0 state_insniff,pdata
+	store 1,mem_state
+	fetch 2,mem_rx_window_init
+	store 2,mem_rx_window
+	disable wake
+	jam BT_EVT_EXIT_SNIFF,mem_fifo_temp
+	branch ui_ipc_send_event
+
+
+check_attempt:
+	bpatch patch0d_3,mem_patch0d
+	enable attempt
+	fetch 1,mem_state
+	bbit1 state_insniff,check_attempt_sniff
+	rtnmark1 mark_testmode						/* pdata won't be blank now, try attempt */
+	fetch 1,mem_arq
+	rtnbit1 wack
+	fetch 1,mem_lmp_to_send
+	nrtn blank
+	fetch 1,mem_op
+	rtnbit1 op_txl2cap
+check_attempt_nomore:
+	force 0,pdata
+	rtn
+
+check_attempt_sniff:
+	bbit0 state_insco,check_attempt_not_sco
+	fetch 1,mem_current_sniff_attempt
+	beq 2,check_attempt_sniff_restore_sco
+	fetch 1,mem_arq
+	bbit1 wack,check_attempt_notimeout
+	bmark0 mark_esco_rxok,check_attempt_notimeout
+check_attempt_sniff_restore_sco:
+	nbranch check_attempt_notimeout,master
+	fetch 1,mem_lmp_to_send
+	nbranch check_attempt_notimeout,blank
+check_attempt_sco_master:
+	branch check_attempt_nomore
+
+
+
+
+
+	
+check_attempt_not_sco:
+	fetch 1,mem_current_sniff_attempt
+	bne 1,check_attempt_notimeout
+	fetch 1,mem_current_sniff_timeout
+	branch check_attempt_notimeout,blank
+	increase -1,pdata
+	store 1,mem_current_sniff_timeout
+	fetch 1,mem_arq
+	rtnbit1 wack						// waiting for next ack
+	nrtn match						// waiting for next poll
+check_attempt_notimeout:
+	fetch 1,mem_current_sniff_attempt
+	increase -1,pdata
+	store 1,mem_current_sniff_attempt
+	rtn
+
+
+
+
+
+
+
+
+
+	/* enable user if sniff window vialation, queue is extra overhead */
+sniff_check_window:
+	bpatch patch0d_4,mem_patch0d
+	disable swfine
+	copy temp,stop_watch
+	call context_search_sniff_window
+	disable user
+	nrtn zero
+	force 0,stop_watch
+	enable user
+	rtn
+
+	//return true if it is esco context
+check_esco_amaddr:
+	fetch 1,mem_esco_addr
+	icompare 0xff,am_addr
+	rtn
+	
+
+parse_l2cap:	
+	bpatch patch0d_5,mem_patch0d
+	set0 mark_rxbuf_inuse,mark 
+parse_l2cap_cont:
+	jam L2CAP_RX_CLEAR,mem_l2cap_rx_done
+	fetch 1,mem_l2cap_rxbuff_inuse
+	rtn blank
+	isolate1 L2CAP_INUSE_BUFF1,pdata
+	arg mem_l2cap_rxbuff1,contr
+	call process_rx_l2cap_pkt,true
+	bpatch patch0d_6,mem_patch0d
+	fetch 1,mem_l2cap_rx_done
+	beq L2CAP_RX_DONE,parse_l2cap_release_buff1
+	
+	jam L2CAP_RX_CLEAR,mem_l2cap_rx_done
+	fetch 1,mem_l2cap_rxbuff_inuse
+	rtnbit0 L2CAP_INUSE_BUFF2
+	arg mem_l2cap_rxbuff2,contr	
+	call process_rx_l2cap_pkt
+	fetch 1,mem_l2cap_rx_done
+	beq L2CAP_RX_DONE,parse_l2cap_release_buff2
+	rtn
+		
+parse_l2cap_release_buff1:
+	fetch 1,mem_l2cap_rxbuff_inuse
+	set0 L2CAP_INUSE_BUFF1,pdata
+	store 1,mem_l2cap_rxbuff_inuse
+	setarg 0
+	store 2,mem_l2cap_rxbuff1_len
+	rtn
+parse_l2cap_release_buff2:
+	fetch 1,mem_l2cap_rxbuff_inuse
+	set0 L2CAP_INUSE_BUFF2,pdata
+	store 1,mem_l2cap_rxbuff_inuse
+	setarg 0
+	store 2,mem_l2cap_rxbuff2_len
+	rtn
+
+l2cap_buff1_inuse:
+	fetch 1,mem_l2cap_rxbuff_inuse
+	set1 L2CAP_INUSE_BUFF1,pdata
+	store 1,mem_l2cap_rxbuff_inuse
+	rtn
+
+l2cap_buff2_inuse:
+	fetch 1,mem_l2cap_rxbuff_inuse
+	set1 L2CAP_INUSE_BUFF2,pdata
+	store 1,mem_l2cap_rxbuff_inuse
+	rtn
+
+/******************************************/
+/**********  Transmit Packet  *************/
+/******************************************/
+
+slave_send_access:
+	bpatch patch0d_7,mem_patch0d
+	add clke_bt,1,bt_clk          /* slave start to use native clock */
+	call fetch_extm_bt_adr
+	force 0x03,freq_mode          /* connection frequency */
+	call tx_radio_freq
+	call start_transmitter
+	call start_tx_external
+	branch send_access_word
+	
+
+slave_conn_send_packet:
+	bpatch patch0e_0,mem_patch0e
+	call rf_setup_time_slave_slot
+	deposit clke_bt
+	fetcht 4,mem_next_btclk
+	isub temp,pdata
+	rtnne 1					/* missed slave slot */
+	compare type_null,type,0x1f
+	nbranch slave_conn_send_access,true
+	fetch 1,mem_rx_type
+	rtn blank					/* null packet, do nothing */
+slave_conn_send_access:
+	call slave_send_access
+transmit_packet:
+	compare type_id,type,0x1f        /* is this id only ? */
+	branch end_of_packet,true
+	rshift bt_clk,temp
+	or temp,0x40,white_init
+transmit_packet_whitened:
+	bpatch patch0e_1,mem_patch0e
+	enable enable_white
+	enable enable_hec
+	enable encode_fec1
+	set0 mark_longpacket,mark
+	deposit am_addr
+	inject mod,3             /* am_addr, temp is disabled */
+	deposit type
+	inject mod,4
+	fetch 1,mem_arq   /* aka mem_arq */
+	inject bucket,4  /* align up to flowx, arqnx, seqnx */
+	inject mod,3
+	enable enable_parity
+	inject mod,8   /* transmit parity */
+	disable encode_fec1
+	disable enable_parity
+	disable enable_hec
+	set0 PSK3M,radio_ctrl
+	arg 0,temp
+	call reserve_slot
+	bpatch patch0e_2,mem_patch0e
+	and type,0x1f,pdata
+	beq type_lmp, transmit_lmp
+	beq type_null, end_of_packet
+	beq type_poll, end_of_packet
+	beq type_fhs, transmit_fhs  /* master mode fhs need got_tx and ack */
+	beq type_dm1, transmit_dm1
+	beq type_dh1, transmit_dh1
+	beq type_3dh1, transmit_3dh1
+	arg 4,temp
+	call reserve_slot
+	beq type_dm3, transmit_dm3
+	beq type_dh3, transmit_dh3
+	arg 8,temp
+	call reserve_slot
+	beq type_dh5, transmit_dh5
+	branch transmit_dm5	/* must be 14, dm5 */
+
+
+	
+transmit_fhs:
+	bpatch patch0e_3,mem_patch0e
+	fetch 1,mem_fhs_am_addr            /* this is the am_addr to assign to slave */
+	icopy am_addr
+	fetch 1,mem_fhs_misc
+	icopy fhs_misc    /* [7:6]SR [5:4]SP [3:1]PS [0]undef  */
+	fetch 3,mem_class   /* store away class */
+	icopy fhs_class
+	fetch 2,mem_nap
+	icopy nap
+	enable enable_crc
+	enable encode_fec2
+	copy bt_adr,rega
+	call fetch_self_bt_adr
+	pulse recalc
+	nop 32                    /* 30 cycles after recalc for sync word generation */
+	copy bt_clk,timeup
+	fetch 4,mem_clkn_bt
+	icopy bt_clk
+	preload fhs0
+	set1 58,pdata		/* eir */
+	inject mod,72
+	preload fhs1
+	inject mod,72
+	copy timeup,bt_clk
+	copy rega,bt_adr
+	enable enable_parity
+	inject mod,16   /* generate CRC */
+	disable enable_parity
+	branch end_of_packet
+
+transmit_lmp_ccm:
+	disable encrypt
+	branch transmit_lmp_common
+	
+transmit_lmp:
+	bpatch patch0e_4,mem_patch0e
+	call check_enc_ccm
+	nbranch transmit_lmp_ccm,blank
+	enable encrypt
+transmit_lmp_common:
+	enable enable_crc
+	enable encode_fec2
+	fetch 1,mem_lmo_header_length   /* this is the payload header */
+	and pdata,0x1f8,temp       /* temp is number of bits, check payload header format */
+	arg mem_lmo_header_length,contr
+	increase 8,temp   /* temp is in bits */
+	rshift3 temp,loopcnt
+transmit_lmp_loop:
+	ifetch 1,contr
+	inject mod,8
+	loop  transmit_lmp_loop
+	branch transmit_end
+
+
+transmit_dm1:
+	enable encode_fec2
+	branch transmit_dmh
+transmit_dm3:
+transmit_dm5:
+	enable encode_fec2
+	set1 mark_longpacket,mark
+	branch transmit_dmh
+
+transmit_3dh1:
+	set1 PSK3M,radio_ctrl
+transmit_dh1:
+	enable encode_fec0
+	branch transmit_dmh
+	
+transmit_dh3:
+transmit_dh5:
+	set1 PSK3M,radio_ctrl
+	enable encode_fec0
+	set1 mark_longpacket,mark
+
+transmit_dmh:
+	bpatch patch0e_5,mem_patch0e
+	fetch 1,mem_state_map
+	bbit0 smap_edr,transmit_noedr
+	sub type,3,null
+	branch transmit_noedr,positive
+	disable encrypt
+	disable encode_fec2
+	enable encode_fec0
+	disable enable_white
+	set1 PSK,radio_ctrl
+	isolate1 PSK3M,radio_ctrl
+	branch transmit_edr3m,true
+	setarg 0xabeee
+	inject mod,20
+	branch transmit_edr_sync_end
+transmit_edr3m:
+	setarg 0x5faeba
+	inject mod,24
+	setarg 0x12
+	inject mod,6
+transmit_edr_sync_end:	
+	enable enable_white
+	set1 mark_longpacket,mark
+transmit_noedr:
+	enable encrypt
+	enable enable_crc
+	bmark1 mark_loopback,transmit_loopback
+	fetch 1,mem_tx_lch
+	inject mod,3
+	fetch 2,mem_tx_len
+	iforce loopcnt
+	bmark1 mark_longpacket,transmit_long
+	inject mod,5
+	branch transmit_stuff
+transmit_long:	
+	inject mod,13
+transmit_stuff:
+	deposit loopcnt
+	branch transmit_end,blank
+	fetch 2,mem_txptr
+	iforce contr
+transmit_stuff_loop:
+	ifetch 1,contr
+	inject mod,8
+	loop transmit_stuff_loop
+//	branch transmit_end
+
+transmit_end:
+	bpatch patch0e_6,mem_patch0e
+	call check_enc_ccm
+	branch transmit_end2,blank
+	fetch 4,mem_le_mic  
+	inject mod,32
+transmit_end2:	
+	enable enable_parity
+	inject mod,16
+	disable enable_parity
+	call set_wait_ack
+	fetch 1,mem_state_map
+	bbit0 smap_edr,end_of_packet
+	force 0,pdata
+	inject mod,6				/* edr trailer */
+	branch end_of_packet
+
+
+transmit_loopback:
+	bpatch patch0e_7,mem_patch0e
+	bmark1 mark_longpacket,transmit_loopback_long
+transmit_loopback_short:
+	fetch 1,mem_lch_code
+	inject mod,3						/* LLID and FLOW */
+	fetch 1,mem_len	/* take packet length */
+	iforce regc
+	inject mod,5
+	branch transmit_loopback_cont
+transmit_loopback_long:
+	fetch 1,mem_lch_code
+	inject mod,3						/* LLID and FLOW */
+	fetch 2,mem_len	/* take packet length */
+	iforce regc
+	inject mod,13
+transmit_loopback_cont:
+	arg mem_l2cap_rxbuff1,contr
+transmit_loopback_loop:	
+	copy regc,null
+	branch transmit_loopback_end,zero
+	ifetch 1,contr
+	inject mod,8
+	increase -1,regc
+	branch transmit_loopback_loop
+transmit_loopback_end:
+	fetch 2,mem_tst_pktcnt_dmh
+	increase 1,pdata
+	store 2,mem_tst_pktcnt_dmh
+	branch transmit_end
+	
+
+apply_switch_clke:
+	fetch 4,mem_clke_bt
+	add pdata,7,rega
+	fetch 2,mem_slot_offset
+	nbranch apply_switch_nozero,blank
+	increase -3,rega
+	branch apply_switch_wait_loop
+apply_switch_nozero:
+	mul32 pdata,12,pdata
+	fetcht 2,core_halfslot
+	increase 1,temp
+apply_switch_loop:
+	isub temp,pdata
+	nbranch apply_switch_bt,positive
+	increase -1,rega
+	branch apply_switch_loop
+apply_switch_bt:
+	sub pdata,0,pdata
+apply_switch_wait_loop:
+	until null,oneslot
+	compare 0,clkn_bt,3
+	nbranch apply_switch_wait_loop,true
+	iforce clke_rt
+	copy rega,clke_bt
+	iforce clke_rt
+	rtn
+	
+
+calc_slot_offset:
+	bpatch patch0f_0,mem_patch0f
+	until null,halfslot
+	deposit clke
+	iforce contr
+	rshift16,pdata,pdata
+	isub clkn_bt,loopcnt
+	and_into 3,loopcnt			/* bt portion */
+	nbranch calc_bt_portion,zero
+	force 0,pdata
+	branch calc_skip_bt
+calc_bt_portion:
+	fetcht 2,mem_param_rt_rthalfslot
+	force 0,pdata
+calc_slot_offset_loop:
+	iadd temp,pdata
+	loop calc_slot_offset_loop
+calc_skip_bt:
+	iadd contr,pdata			/* add rt portion */
+	div pdata,12
+	call get_div_result
+	store 2,mem_slot_offset
+	rtn
+
+calc_clke_offset:
+	bpatch patch0f_1,mem_patch0f
+	deposit clke
+	copy clkn,temp
+	isub temp,null
+	nsetflag positive,44,pdata
+	isub temp,temp
+	fetch 2,mem_param_rt_rthalfslot
+	isolate0 15,temp
+	branch calc_clke_pos,true
+	copy temp,alarm
+	arg 0x10000,temp
+	fetch 2,mem_param_rt_rthalfslot
+	isub temp,pdata
+	iadd alarm,temp
+	
+calc_clke_pos:
+	storet 6,mem_le_clk_offset
+	rtn le
+	storet 6,mem_clk_offset
+	rtn
+
+calc_clke:
+	disable clknt
+	fetch 6,mem_le_clk_offset
+	branch calc_clke2,le
+	fetch 6,mem_clk_offset
+calc_clke2:
+	iadd clkn,alarm
+	increase 10,alarm
+	fetch 2,mem_param_rt_rthalfslot
+	isub alarm,pdata
+	isolate0 15,pdata
+	branch calc_clke_pos_adj,true
+	setarg 0x10000
+	fetchr regd,2,mem_param_rt_rthalfslot
+	isub regd,pdata
+	iadd alarm,alarm
+calc_clke_pos2:
+	copy alarm,clke
+	rtn
+calc_clke_pos_adj:		/* add 2 clock */
+	force 0,null
+	branch calc_clke_pos2
+	
+/******************************************/
+/********* RF related functions ***********/
+/******************************************/
+
+calc_mod_value_scale:
+	branch calc_mod_value_scale_le2,le
+	setarg 0x402c17
+	store 3,mem_scale_ratio
+	rshift16 access,pdata
+	rshift3 pdata,temp
+	arg 48,loopcnt
+calc_mod_value_scale_do:
+	setarg 0
+	store 3,mem_xcnt
+calc_mod_vs_loop:
+	rshift temp,pdata
+	ixor temp,pdata
+	and_into 3,pdata
+	bbit0 1,calc_mod_vs01
+	pincrease -1
+calc_mod_vs01:
+	arg mem_xcnt,contw
+	iadd contw,contw
+	ifetch 1,contw
+	pincrease 1
+	istore 1,contw
+	rshift temp,temp
+	loop calc_mod_vs_loop
+	arg mem_xcnt+2,rega
+	arg mem_scale_ratio,regb
+	arg 0,regc
+	arg 3,loopcnt
+calc_mod_vs_loop2:
+	ifetch 1,rega
+	ifetcht 1,regb
+	imul32 temp,pdata
+	iadd regc,regc
+	increase -1,rega
+	increase 1,regb
+	loop calc_mod_vs_loop2
+	fetch 1,mem_scale_ratio+1
+	lshift8 pdata,pdata
+	lshift4 pdata,pdata
+	idiv regc
+	call wait_div_end
+	quotient pdata
+	store 2,mod_value_scale1
+	store 2,mem_scale_ratio_temp
+	rtn
+
+calc_mod_value_scale_le2:
+	fetch 2,mem_scale_ratio_temp
+	store 2,mod_value_scale1
+	rtn
+
+calc_mod_value_scale_le:
+	setarg 0x402d19
+	store 3,mem_scale_ratio
+	rshift32 access,pdata
+	rshift3 pdata,temp
+	arg 32,loopcnt
+	branch calc_mod_value_scale_do
+
+calc_radio_freq:
+	bpatch patch0f_2,mem_patch0f
+	call set_sync_on
+	copy bt_clk,pdata
+	and_into 0x180,pdata
+	compare 3,freq_mode,0x07
+	nbranch freq_not_connection,true    /* don't do the hack if not in connection */
+	rshift3 pdata,pdata
+	iadd freq_index,pdata
+	branch do_hop_mod_now
+freq_not_connection:	
+	copy freq_index,pdata
+do_hop_mod_now:
+	div pdata,79
+	pulse recalc         /* now is good time to recalc id */
+	call wait_div_end
+	remainder rega
+	add rega,-40,temp
+	branch odd_half,positive
+	lshift rega,temp
+	branch freq_result
+odd_half:
+	lshift temp,temp
+	increase 1,temp
+freq_result:	
+	bpatch patch0f_3,mem_patch0f
+	fetch 1,mem_mode
+	bbit0 afh_change,afh_process_con
+afh_process_0:	
+	fetch 4, mem_afh_instant   
+	isub bt_clk, null
+	branch afh_process_con,positive
+	call afh_clear
+	fetch 1,mem_afh_new_mod
+	rtn blank
+	fetch 1,mem_mode
+	set1 afh_enable,pdata
+	store 1,mem_mode
+	fetch 5,mem_afh_map_new
+	store 5,mem_afh_map_lo
+	ifetch 5,contr
+	store 5,mem_afh_map_hi
+	call afh_process_freq_map
+afh_process_con:
+	fetch 1,mem_mode
+	rtnbit0 afh_enable
+	isolate1 1,bt_clk
+	branch afh_same_channel,true	/* at odd slot, use the same as last even */
+	rshift3 temp,rega
+	and temp,7,queue
+	setarg mem_afh_map_lo  
+	iadd rega, rega
+	ifetch 1, rega
+	qisolate0 pdata
+	branch afh_process_1,true		/* not in map, do afh */
+	deposit temp
+	branch afh_process_end
+afh_process_1:
+	fetch 1, mem_afh_used
+	iforce regb                     
+	deposit bt_clk
+	and_into 0x180, pdata
+	rshift3 pdata,pdata
+	iadd freq_index,pdata
+	idiv regb
+	setarg mem_afh_map     
+	call wait_div_end
+	remainder rega
+	iadd rega,contr
+	ifetch 1,contr
+afh_process_end:	
+	store 1,mem_afh_index
+	iforce temp  
+  	rtn
+
+afh_same_channel:
+	fetch 1, mem_afh_index           /* last afh index  */
+	iforce temp
+	rtn
+
+afh_clear:
+	fetch 1,mem_mode
+	set0 afh_enable,pdata
+	set0 afh_change,pdata
+	store 1,mem_mode
+	rtn
+/*
+fixed_frequency:
+	fetcht 1,mem_fixed_freq
+	rtn
+*/
+afh_process_freq_map:
+	bpatch patch0f_4,mem_patch0f
+	arg mem_afh_map,contw
+	force 10,loopcnt
+	call memset0
+	arg mem_afh_map,contw
+	force 0,regc
+	force 2,queue
+process_freq_3:	
+	fetch 5,mem_afh_map_lo
+	iforce temp
+	compare 2,queue,0xff
+	branch process_freq_1,true
+	rshift temp,temp
+process_freq_1:	
+	isolate0 0,temp
+	branch process_freq_0,true
+	deposit regc
+	istore 1,contw
+process_freq_0:
+	rshift2 temp,temp
+	increase 2,regc
+	compare 40,regc,0xfe
+	nbranch process_freq_2,true
+	fetch 5,mem_afh_map_hi
+	iforce temp
+	compare 2,queue,0xff
+	branch process_freq_2,true
+	rshift temp,temp
+process_freq_2:	
+	sub regc,78,null
+	branch process_freq_1,positive
+	force 1,regc
+	increase -1,queue
+	nbranch process_freq_3,zero
+	arg mem_afh_map,rega
+	deposit contw
+	isub rega,pdata
+	store 1,mem_afh_used
+	rtn
+
+rx_radio_freq:
+	bpatch patch0f_5,mem_patch0f
+	call calc_radio_freq
+	fetch 1,mem_debug_config
+	bbit0 debug_rx_fixed_freq,rx_radio_freq_now
+	fetcht 1,mem_rx_fixed_freq
+rx_radio_freq_now:
+	branch set_freq_rx
+	
+
+tx_radio_freq:
+	bpatch patch0f_6,mem_patch0f
+	call calc_radio_freq
+	fetch 1,mem_debug_config
+	bbit0 debug_tx_fixed_freq,tx_radio_freq_now
+	fetcht 1,mem_tx_fixed_freq
+tx_radio_freq_now:
+	branch set_freq_tx
+	
+
+fetch_giac:
+	force 0,uap
+	fetch 3,mem_glap
+	iforce lap
+	rtn
+
+fetch_page_bt_adr:
+	bpatch patch0f_7,mem_patch0f
+	fetch 1,mem_hci_puap
+	icopy uap
+	fetch 3,mem_hci_plap
+	icopy lap
+	rtn
+
+fetch_self_bt_adr:
+	bpatch patch10_0,mem_patch10
+	fetch 2,mem_nap
+	icopy nap
+	fetch 1,mem_uap
+	icopy uap
+	fetch 3,mem_lap
+	icopy lap                 /* copy self_adr,bt_adr */      /* use own address */
+	rtn
+
+fetch_extm_bt_adr:
+	bpatch patch10_1,mem_patch10
+	fetch 2,mem_pnap
+	icopy nap
+	fetch 1,mem_puap
+	icopy uap
+	fetch 3,mem_plap
+	icopy lap         
+	rtn
+
+
+fetch_diac:
+	bmark1 mark_all_diac,fetch_diac_do
+	rtnmark0 mark_inquiry_state
+	rtnmark0 mark_periodical_diac
+fetch_diac_do:
+	and_into -256,lap
+	pulse recalc
+	nop 32
+	rtn
+
+
+shutdown_radio:
+	bpatch patch10_2,mem_patch10
+	call rf_debug_shutdown_radio_line	//L-H-L
+	force 0x08,radio_ctrl
+	force 0,radio_ctrl
+	disable is_rx
+	disable is_tx
+	pulse packet_end
+	jam 0x5,modem_en
+	nop 2
+	jam 0x0,modem_en
+	call set_sync_on
+	jam 0,core_syn_en
+	jam 0x10,core_rf_ldo_en0
+	fetch 1,core_clkpll_cfg6
+	set0 7,pdata
+	store 1,core_clkpll_cfg6
+	jam 0,core_rf_ldo_en1
+	branch gain_control
+
+
+
+set_sync_on:
+	bpatch patch10_3,mem_patch10
+	jam 0x5,modem_en
+	nop 2
+	jam 0x0,modem_en					/* if called from tx or rx */
+	fetch 1,mem_fcomp_div
+	beq XTAL_24M,set_sync_on_24m
+	beq XTAL_16M,set_sync_on_16m
+set_sync_on_24m:
+	jam 0xaa,core_rf_ldo_cfg4
+	jam 0xaa,core_rf_ldo_cfg5
+	jam 0x15,core_rf_ldo_cfg6
+	
+	jam 0x78,core_rf_ldo_en0 //ldo en
+	fetch 1,core_clkpll_cfg6
+	set1 7,pdata
+	store 1,core_clkpll_cfg6
+	jam 0x04,core_rf_ldo_en1
+	nop 60
+	jam 0x7a,core_syn_en //module en
+	jam 0,core_rx_en0
+	jam 0,core_rx_en1    
+	jam 0,core_tx_en0
+	jam 0,core_tx_en1
+
+	jam 0x2a,core_rf_ldo_cfg5  //ldo bleeding current disable
+	jam 0x78,core_rf_ldo_en0
+set_sync_on_next:
+	fetch 1,core_clkpll_cfg6
+	set0 7,pdata
+	store 1,core_clkpll_cfg6
+	jam 0,core_syn_cal_ctrl
+	rtn
+
+set_sync_on_16m:
+	jam 0xe6,core_syn_aac_cfg1
+
+	jam 0xaa,core_rf_ldo_cfg4
+	jam 0xaa,core_rf_ldo_cfg5
+	jam 0x15,core_rf_ldo_cfg6
+	
+	jam 0x78,core_rf_ldo_en0 //ldo en
+	fetch 1,core_clkpll_cfg6
+	set1 7,pdata
+	store 1,core_clkpll_cfg6
+	jam 0x04,core_rf_ldo_en1
+	nop 60
+	jam 0x3a,core_syn_en //module en
+	jam 0,core_rx_en0                 
+	jam 0,core_rx_en1       
+	jam 0,core_tx_en0
+	jam 0,core_tx_en1
+
+	jam 0x2a,core_rf_ldo_cfg5  //ldo bleeding current disable
+	jam 0x38,core_rf_ldo_en0
+	branch set_sync_on_next
+
+set_freq_rx:
+	bpatch patch10_4,mem_patch10
+	
+	fetch 1,mem_fcomp_div
+	sub pdata,XTAL_24M,null
+	call rf_rx_write_freq_24m,zero
+	ncall rf_rx_write_freq_16m,zero
+
+	storet 1,mem_last_freq
+	add temp,0,pdata
+	bmark1 mark_ble_2M,set_rxfreq_2M_offset
+	add temp,1,pdata
+set_rxfreq_2M_offset:
+	call rf_rx_write_freq
+	branch calc_mod_value_scale
+
+
+rf_rx_write_freq_24m:
+	jam 0,core_syn_cal_ctrl
+	jam 0x04,core_syn_top_ctrl
+	jam 0,core_syn_mmd_cp_ctrl
+	jam 0x03,core_syn_cp_lpf_cfg
+	jam 0x40,core_syn_afc_cfg3
+	rtn
+rf_rx_write_freq_16m:
+	jam 0x30,core_syn_cal_ctrl
+	jam 0x06,core_syn_top_ctrl
+	jam 0,core_syn_mmd_cp_ctrl
+	jam 0x20,core_syn_cp_lpf_cfg
+	jam 0x15,core_syn_afc_cfg3
+	rtn
+
+rf_rx_enable:
+	bpatch patch10_5,mem_patch10
+	call rf_debug_rx_gpio_high
+	
+	fetch 1,mem_gain_fix
+	beq 0xff,rf_rx_enable_no_soft_agc 
+	arg mem_gain_table,contr
+	iadd contr,contr
+	ifetch 1,contr
+	store 1,core_rf_rx_gain_fix
+	jam 0x27,core_rf_rx_agc_ctrl
+	
+rf_rx_enable_no_soft_agc:
+	fetcht 1,mem_gain_second_agc_en	//0x00 or 0x08
+	fetch 1,core_rf_rx_agc_ctrl
+	ior temp,pdata
+	store 1,core_rf_rx_agc_ctrl
+
+	jam 0xaa,core_rf_ldo_cfg4 //ldo config set
+	jam 0x2a,core_rf_ldo_cfg5
+	jam 0x13,core_rf_ldo_cfg6
+	jam 0x7f,core_rf_ldo_en0
+	fetch 1,core_clkpll_cfg6
+	set0 7,pdata
+	store 1,core_clkpll_cfg6
+	nop 60
+	jam 0x1f,core_rx_en0
+	jam 0xf8,core_rx_en1
+	jam 0x18,core_tx_en0
+	jam 0x00,core_rf_ldo_cfg4
+	jam 0x20,core_rf_ldo_cfg5
+	nop 10
+	jam 0x04,modem_en
+	nop 2
+	jam 0x0c,modem_en
+	rtn
+
+
+	/* pdata is frequency, 00=2400Mhz */
+rf_rx_write_freq:
+	bpatch patch10_6,mem_patch10
+	arg 2400,contr
+	iadd contr,pdata
+	fetcht 1,mem_fcomp_div
+	branch rf_write_freq_calc
+
+	/* rega is frequency, 00=2400Mhz */
+rf_tx_write_freq:
+	bpatch patch10_7,mem_patch10
+	fetch 1,mem_fcomp_div
+	sub pdata,XTAL_24M,null
+	call rf_tx_write_freq_24m,zero
+	ncall rf_tx_write_freq_16m,zero
+	
+	setarg 2400
+	iadd rega,pdata
+	lshift pdata,pdata
+	fetcht 1,mem_fcomp_div
+	mul32 temp,0x03,temp
+rf_write_freq_calc:	
+	lshift temp,temp
+	idiv temp
+	call wait_div_end
+	quotient pdata
+	store 1,core_syn_divr_int
+	remainder pdata		
+	lshift16 pdata,pdata
+	lshift8 pdata,pdata
+	idiv temp
+	call wait_div_end
+	quotient pdata
+	store 1,core_syn_divr_int+3
+	rshift8 pdata,pdata
+	store 1,core_syn_divr_int+2
+	rshift8 pdata,pdata
+	store 1,core_syn_divr_int+1
+	fetcht 1,core_syn_cal_ctrl		//reg syn_cal_ctrl[3:0] = 2??￥b0000, reset
+	and_into 0xf0,temp
+	storet 1,core_syn_cal_ctrl
+	nop 12
+	fetch 1,mem_fcomp_div
+	beq XTAL_24M,rf_write_freq_calc_24m
+	beq XTAL_16M,rf_write_freq_calc_16m
+rf_write_freq_calc_24m:	
+	or_into 0x0c,temp
+	storet 1,core_syn_cal_ctrl
+	nop 12
+	or_into 0x03,temp
+	storet 1,core_syn_cal_ctrl
+	rtn
+
+rf_write_freq_calc_16m:
+	or_into 0x3c,temp
+	storet 1,core_syn_cal_ctrl
+	nop 12
+	or_into 0x33,temp
+	storet 1,core_syn_cal_ctrl
+	rtn
+
+
+rf_tx_write_freq_24m:
+	jam 0,core_syn_cal_ctrl
+	jam 0x12,core_syn_top_ctrl
+	jam 0,core_syn_mmd_cp_ctrl
+	jam 0x03,core_syn_cp_lpf_cfg
+	jam 0xa6,core_syn_aac_cfg1
+	jam 0x40,core_syn_afc_cfg3
+	rtn
+
+rf_tx_write_freq_16m:
+	jam 0x30,core_syn_cal_ctrl
+	jam 0x15,core_syn_top_ctrl
+	jam 0,core_syn_mmd_cp_ctrl
+	jam 0x20,core_syn_cp_lpf_cfg
+	jam 0xa6,core_syn_aac_cfg1
+	jam 0x15,core_syn_afc_cfg3
+	rtn
+
+
+set_freq_tx:
+	bpatch patch11_0,mem_patch11
+
+	jam 0x12,core_syn_top_ctrl
+	storet 1,mem_last_freq
+	add temp,2,rega
+	call rf_tx_write_freq
+	nop 0x3c0
+
+txon:
+	bpatch patch11_1,mem_patch11
+	
+	jam 0xaa,core_rf_ldo_cfg4 //ldo config set
+	jam 0x2a,core_rf_ldo_cfg5
+	jam 0x10,core_rf_ldo_cfg6
+	
+	jam 0x7f,core_rf_ldo_en0	//ldo en
+	fetch 1,core_clkpll_cfg6
+	set0 7,pdata
+	store 1,core_clkpll_cfg6
+	jam 0x07,core_rf_ldo_en1 
+	nop 60
+
+	jam 0x0d,core_tx_en0
+	jam 0xf9,core_tx_en1		// reg tx_en1[7:0] = 8??￥b11011001
+	jam 0x00,core_rf_ldo_cfg4
+	jam 0x20,core_rf_ldo_cfg5
+	nop 10
+	jam 0x01, modem_en
+	nop 2
+	jam 0x03, modem_en
+	
+	bpatch patch11_2,mem_patch11
+	fetch 1,mem_tx_power
+	beq TX_POWER_3DB,set_tx_power_3db
+	beq TX_POWER_5DB,set_tx_power_5db
+	beq TX_POWER_6DB,set_tx_power_6db
+	beq TX_POWER_7DB,set_tx_power_7db
+	beq TX_POWER_10DB,set_tx_power_10db
+	beq TX_POWER_F3DB,set_tx_power_f3db
+	beq TX_POWER_F5DB,set_tx_power_f5db
+	beq TX_POWER_F20DB,set_tx_power_f20db
+	beq TX_POWER_F30DB,set_tx_power_f30db
+set_tx_power_0db:
+	jam 0x6a,core_tx_pwr_ctrl0
+	jam 0x07,core_tx_pwr_ctrl1
+set_rf_ldo_cfg89:
+	jam 0xa3,core_rf_ldo_cfg8
+	jam 0x07,core_rf_ldo_cfg9
+	rtn
+
+set_tx_power_3db:
+	jam 0x66,core_tx_pwr_ctrl0
+	jam 0x0b,core_tx_pwr_ctrl1
+set_rf_ldo_cfg89_2:
+	jam 0xaa,core_rf_ldo_cfg8
+	jam 0x0a,core_rf_ldo_cfg9
+	rtn
+
+set_tx_power_5db:
+	jam 0x6c,core_tx_pwr_ctrl0
+	jam 0x0d,core_tx_pwr_ctrl1
+	branch set_rf_ldo_cfg89_2
+
+set_tx_power_6db:
+	jam 0x6b,core_tx_pwr_ctrl0
+	jam 0x0f,core_tx_pwr_ctrl1
+	branch set_rf_ldo_cfg89_2
+
+set_tx_power_7db:
+	jam 0xa7,core_tx_pwr_ctrl0
+	jam 0x0f,core_tx_pwr_ctrl1
+	branch set_rf_ldo_cfg89_2
+
+set_tx_power_10db:
+	jam 0xb6,core_tx_pwr_ctrl0
+	jam 0x0f,core_tx_pwr_ctrl1
+	branch set_rf_ldo_cfg89_2
+
+set_tx_power_f3db:
+	jam 0x68,core_tx_pwr_ctrl0
+	jam 0x05,core_tx_pwr_ctrl1
+	branch set_rf_ldo_cfg89
+	
+set_tx_power_f5db:
+	jam 0x60,core_tx_pwr_ctrl0
+	jam 0x05,core_tx_pwr_ctrl1
+	branch set_rf_ldo_cfg89
+
+set_tx_power_f20db:
+	jam 0x53,core_tx_pwr_ctrl0
+	jam 0x01,core_tx_pwr_ctrl1
+	branch set_rf_ldo_cfg89
+
+set_tx_power_f30db:
+	jam 0x4c,core_tx_pwr_ctrl0
+	jam 0x00,core_tx_pwr_ctrl1
+	branch set_rf_ldo_cfg89
+
+
+initialize_radio:
+	jam clksel_rc,core_clksel
+initialize_radio_wait:
+	fetch 2,mem_rf_init_ptr
+	bbit0 14,initialize_radio_wait
+	iforce contr
+	arg 0x8a00,temp
+initialize_radio_loop:
+	ifetch 1,contr
+	beq 0xff,initialize_radio_cont
+	ior temp,contw
+	ifetch 1,contr
+	istore 1,contw
+	branch initialize_radio_loop
+	
+initialize_radio_cont:
+	bpatch patch11_3,mem_patch11
+	jam 0x05,core_clkpll_cfg0
+	jam 0x94,core_rx_iqadc_cfg
+	call initialize_rc_cal
+	call initialize_rf_ldo_cfg1
+	call initialize_syn_afc_cfg1
+	jam 0xe6,core_syn_aac_cfg1
+
+	//optimize RX SX pn
+	jam 0x90,core_syn_pfd_lkd_cfg
+	jam 0x0b,core_rf_ldo_cfg2
+	jam 0x05,core_rf_ldo_cfg3
+
+	//Improve auto agc
+	jam 0x76,core_agc_wb_sat_th
+	jam 0x76,core_agc_nb_sat_th
+
+	fetch 1,mem_fcomp_div
+	bne XTAL_16M,initialize_radio_cont_next
+	jam 0x34,core_clkpll_cfg5		//16M XTAL
+initialize_radio_cont_next:
+	jam 0xff,core_clkpll_ctrl1
+	nop 100
+	jam 0x0e,core_clkpll_ctrl2
+	jam 0x03,core_clkpll_ctrl0
+	
+	call set_tx_power_0db
+	
+	jam 0x2b,core_tx_mixer_cfg1
+	jam 0x13,core_tx_mixer_cfg2
+
+	call init_lpm_ctrl
+	nop 10
+	jam clksel_dpll,core_clksel
+	jam SYSTEM_CLK_12M,mem_system_clk
+	branch le_disable
+
+
+initialize_syn_afc_cfg1:
+	fetch 1,mem_syn_afc_cfg1
+	branch initialize_syn_afc_cfg1_default,blank
+	or_into 0x20,pdata
+	store 1,core_syn_afc_cfg1
+	rtn
+initialize_syn_afc_cfg1_default:
+	jam 0x29,core_syn_afc_cfg1
+	rtn
+
+initialize_rf_ldo_cfg1:
+	fetch 1,mem_rf_ldo_cfg1
+	branch initialize_rf_ldo_cfg1_default,blank
+	store 1,core_rf_ldo_cfg1
+	rtn
+initialize_rf_ldo_cfg1_default:
+	jam 0x00,core_rf_ldo_cfg1
+	rtn
+
+initialize_rc_cal:
+	fetch 1,mem_rc_cal
+	branch initialize_rc_cal_default,blank
+	store 1,core_rx_bq_bw_cal
+	rtn
+initialize_rc_cal_default:
+	jam 0xd3,core_rx_bq_bw_cal
+	rtn
+
+
+
+	
+	
+save_rssi:
+	bpatch patch11_4,mem_patch11
+	jam 0x20,mem_rssi_hex
+	fetch 1,modem_rssi
+	store 1,mem_modem_rssi
+	sub pdata,0xfc,null
+	nrtn positive
+	sub pdata,0x7f,null
+	rtn positive
+
+	fetch 1,modem_gain
+	and pdata,0x0f,temp
+	lshift temp,temp
+	rshift4 pdata,pdata
+	iadd temp,temp
+	mul32 temp,3,temp
+	fetch 1,mem_modem_rssi
+	sub pdata,0xff,pdata
+	iadd temp,pdata 
+	increase -5,pdata
+	store 1,mem_rssi_hex
+	rtn
+
+rssi_hex2dec:
+	fetch 1,mem_rssi_hex
+	call bcd
+	store 1,mem_rssi			/* bcd value */
+	rtn
+
+bcd:
+	and_into 0xff,pdata
+	div pdata,10
+	call get_div_result
+	lshift4 pdata,pdata
+	remainder temp
+	ior temp,pdata
+	rtn
+
+gain_control:
+	fetch 1,mem_gain_fix
+	rtneq 0xff
+	nbranch  gain_increase,sync
+	fetch 1,mem_modem_rssi
+	sub pdata,0xf0,null
+	nbranch gain_descend,positive
+	sub pdata,0x7f,null
+	branch gain_descend,positive
+	
+	fetchr rega, 1,core_rf_rx_gain_fix
+	fetch 1,mem_gain_fix
+	rtneq 0	
+	arg mem_gain_table,contr
+	iadd contr,contr
+	ifetch 1,contr
+	isub rega,null
+	nrtn zero
+	increase -2,contr
+	ifetcht  1,contr
+	rshift4 temp,pdata
+	rshift4 rega,regb
+	isub regb,regb
+	and temp,0xf,pdata
+	and rega,0xf,rega
+	isub rega,rega
+	lshift rega,pdata
+	iadd regb,regb
+	mul32 regb,3,regb
+	fetcht 1,mem_modem_rssi
+	and temp,0x80,pdata
+	rtn blank
+add_negative:
+	setarg 0x100
+	isub temp,temp
+	copy regb,pdata
+	isub temp,pdata
+	rtn positive
+	and pdata,0xff,pdata
+	rtneq 0xff
+	rtneq 0xfe
+	
+gain_increase:	
+	fetch 1,mem_gain_fix
+	beq 1,set_rx_gain0
+	beq 2,set_rx_gain1
+//	beq 0,set_rx_gain0
+	branch set_rx_gain0
+	
+gain_descend:
+	fetch 1,mem_gain_fix
+	beq 0,set_rx_gain1
+	beq 1,set_rx_gain2
+//	beq 2,set_rx_gain2
+set_rx_gain2:
+	jam 2,mem_gain_fix
+	rtn
+
+set_rx_gain0:
+	jam 0,mem_gain_fix
+	rtn
+	
+set_rx_gain1:
+	jam 1,mem_gain_fix
+	rtn
+
+	
+xtal_fast_wake:
+	setarg 0xf0f
+	branch lpm_write_config
+
+init_lpm_ctrl:
+	setarg 0x80f
+	branch lpm_write_config
+
+
+
+start_receiver:
+	bpatch patch11_5,mem_patch11
+	disable is_tx
+	enable is_rx
+	pulse init_encrypt
+	branch rf_rx_enable
+
+prep_crypt:
+	bpatch patch11_6,mem_patch11
+	call check_enc_ccm
+	nbranch prep_crypt_ccm, blank	
+	fetch 1,mem_state_map
+	isolate1 smap_encryption,pdata
+	setflag true,0,pdata
+	store 1,core_encrypt
+	arg mem_kc,contr
+	ifetch 9,contr
+	iforce kc_ls
+	ifetch 7,contr
+	iforce kc_ms
+	fetch 1,mem_key_size
+	add pdata,-1,g1l
+	pulse kc_p_activate               /* immediately start calculating primary Key */
+	rtn
+
+prep_crypt_ccm:
+	jam 0,core_encrypt
+	rtn
+	
+wait_access_end:
+	deposit clke
+	store 6,mem_sync_clke
+	disable decode_fec0
+	nbranch shutdown_radio,sync
+	fetch 2,mem_param_clke_cal
+	copy pdata,clke_rt
+	increase 1,clke_bt
+	and_into 0x1fc,clke_bt
+	rtn
+
+
+
+wait_access_mhalfbnd:
+	enable decode_fec0
+wait_access_mhalfbnd_correlate:
+	correlate null,mhalfbnd    /* keep correlating until sync is found, or clke half */
+	branch wait_access_end,sync
+	compare 0x02,clke_bt,0x02
+	nbranch wait_access_mhalfbnd_correlate,true
+	branch wait_access_end
+
+wait_access_clkn_rt:
+	bpatch patch11_7,mem_patch11
+	fetchr timeup,2,mem_param_conn_access	/* found sync must occur within this time */
+	enable decode_fec0
+	correlate clkn_rt,meet    /* keep correlating until sync is found, or until clkn_rt timeup */
+	disable decode_fec0
+	nbranch shutdown_radio,sync
+	rtn
+
+wait_access_forever:
+	bpatch patch12_0,mem_patch12
+	enable decode_fec0
+	correlate null,timeout    /* keep correlating until sync is found, or timeout */
+	disable decode_fec0
+	nbranch shutdown_radio,sync
+	fetch 2,mem_param_clke_cal
+	copy pdata,clke_rt
+	and_into 0x1fc,clke_bt
+	rtn
+
+	/* reserve slots for mult-slot packet */
+reserve_slot:
+	bpatch patch12_1,mem_patch12
+	iforce rega
+	deposit bt_clk
+	iadd temp,timeup
+	copy timeup,pdata
+	store 4,mem_next_btclk
+	deposit rega
+	rtn
+
+	/* pdata = clks ahead of bt_clk */
+ahead_window:
+	copy pdata,temp
+	bpatch patch12_2,mem_patch12
+	copy temp,pdata
+	call clk2bt
+	lshift16 bt_clk,pdata
+	set1 44,pdata
+	call clk_diff
+	set0 44,pdata
+	call get_clk
+	call clk_diff
+	rtn user
+	call clk2rt
+	iforce stop_watch
+	until null,timeout
+	rtn
+
+
+setup_clk:
+	bpatch patch12_3,mem_patch12
+	branch setup_clkn,clknt
+	until clke_rt,meet
+skip_setup_clke:
+	copy clke_bt,temp
+	branch setup_clknbt
+setup_clkn:
+	branch skip_setup_clkn,attempt
+	until clkn_rt,meet
+skip_setup_clkn:
+	copy clkn_bt,temp
+setup_clknbt:
+	branch setup_clk11,user
+	compare 1,temp,3
+	nbranch setup_clk,true
+setup_complete:
+	bpatch patch12_4,mem_patch12
+	fetch 1,mem_state
+	rtnbit0 state_inconn
+	fetch 4,mem_next_btclk
+	isub temp,pdata
+	nrtn positive
+	sub pdata,0xff,null
+	branch setup_clk,positive
+	rtn
+setup_clk11:
+	compare 3,temp,3
+	nbranch setup_clk,true
+	branch setup_complete
+
+rf_setup_time:
+	bpatch patch12_5,mem_patch12
+	fetchr timeup,2,mem_param_rf_setup
+	branch setup_clk
+	
+rf_setup_time_slave_slot:
+	disable user
+	branch rf_setup_time
+
+rf_setup_time_master_slot:
+	enable user
+	branch rf_setup_time
+	
+start_transmitter:
+	bpatch patch12_6,mem_patch12
+	call prep_crypt
+	disable is_rx
+	enable is_tx
+	rtn
+
+
+
+start_tx_native:
+	bpatch patch12_7,mem_patch12
+	fetchr timeup,2,mem_param_tx_setup
+	until clkn_rt,meet         /* wait until start_tx time */
+	pulse init_encrypt
+	rtn
+
+start_rx_native:
+	bpatch patch13_0,mem_patch13
+	fetchr timeup,2,mem_param_rx_setup
+	until clkn_rt,meet
+	rtn
+
+
+start_tx_external:
+	bpatch patch13_1,mem_patch13
+	fetchr timeup,2,mem_param_tx_setup
+	until clke_rt,meet         /* wait until start_tx time */
+	pulse init_encrypt
+	rtn
+
+send_access_word:
+	bpatch patch13_2,mem_patch13
+	call rf_debug_tx_on_line	//H
+	preload access          /* load in access word ready to be sent */
+	enable encode_fec0
+	set1 TXGFSK,radio_ctrl
+	inject mod,72
+	disable encode_fec0
+	rtn
+
+
+scan_mode_whiten:
+	copy xin,temp
+	or_into 0x60,temp                /* extend xin with 5->1, 6->1 */
+	copy temp,white_init
+	rtn
+
+
+
+	/* return blank if free amaddr is found */
+get_free_amaddr:
+	bpatch patch13_3,mem_patch13
+	fetch 1,mem_current_amaddr
+	increase 1,pdata
+	bne param_esco_addr,get_free_amaddr_cont
+	force 1,pdata
+get_free_amaddr_cont:
+	store 1,mem_current_amaddr
+	iforce am_addr
+	rtn
+
+get_clk:
+	copy clkn,temp
+	rtn master
+	copy clke,temp
+	rtn
+
+get_clkbt:
+	deposit clkn_bt
+	rtn master
+	deposit clke_bt
+	rtn
+
+
+supervision_update:
+	bpatch patch13_4,mem_patch13
+	fetcht 4,mem_supervision_timer
+	call get_clkbt
+	isub temp,timeup					/* and to 28 bits */
+	deposit timeup
+	fetcht 2,mem_supervision_to
+	lshift temp,temp
+	isub temp,pdata
+	rtn
+	
+supervision_flush:
+	bpatch patch13_5,mem_patch13
+	call get_clkbt
+	store 4,mem_supervision_timer
+	rtn
+
+assert:
+	bpatch patch13_6,mem_patch13
+	branch assert
+	
+loop:
+	branch loop
+
+sleep:	
+	rtn blank
+	/* sleep pdata clocks, only even clocks are accurate */
+	rshift pdata,pdata
+	increase -3,pdata
+sleep_loop:	
+	increase -1,pdata
+	nbranch sleep_loop,zero
+	force 0,pdata
+	rtn
+
+
+
+init_param:
+	/* clear specified sched ram */
+	arg 0x10,loopcnt
+	arg 0,contw
+	call memset0
+	arg mem_le_state,contw
+	arg 10,loopcnt
+	call memset0
+	jam 0,mem_sp_calc
+	jam 0,mem_fifo_temp
+	jam 0,mem_le_testtype
+	jam 0,mem_debug_config
+	jam 0,mem_lmp_conn_state
+	jam 0,mem_connection_options
+	jam 0,mem_tester_emulate
+	jam 0,mem_tester_cnt
+	setarg param_glap
+	store 3,mem_glap
+	jam 0x60,mem_fhs_misc		/* R1 for 1.28s ps interval,P2 */
+	jam param_max_slot,mem_max_slot
+	jam 0x02,mem_fw_ver		/* set firmware version */
+
+	setarg param_tx_setup
+	store 2,mem_param_tx_setup
+	setarg param_rf_setup
+	store 2,mem_param_rf_setup
+	setarg param_conn_access
+	store 2,mem_param_conn_access
+	setarg param_rx_setup
+	store 2,mem_param_rx_setup
+	setarg param_clke_cal
+	store 2,mem_param_clke_cal
+	setarg param_pll_setup
+	store 2,mem_param_pll_setup
+	setarg param_dpll_start_delay
+	store 2,mem_param_dpll_start_delay
+	setarg param_rt_rthalfslot
+	store 2,mem_param_rt_rthalfslot
+	setarg param_clke_cal_le_1m
+	store 2,mem_param_clke_cal_le_1m
+	setarg param_clke_cal_le_2m
+	store 2,mem_param_clke_cal_le_2m
+	setarg param_clke_cal_le_coded
+	store 2,mem_param_clke_cal_le_coded
+	setarg mem_ble_tx_buff0
+	store 2,mem_ble_l2cap_tx_buff0_ptr
+	setarg mem_ble_l2cap_tx_buff_size
+	store 2,mem_ble_l2cap_tx_buff_size_ptr
+	
+	call init_memp	
+	setarg mem_sp_state_end
+	arg mem_sp_state_start,contw
+	isub contw,loopcnt
+	call clear_mem
+
+	bpatch patch13_7,mem_patch13
+	rtn wake
+	jam BLUETOOTH_CORE_SPECIFICATION_5_0,mem_lmp_version
+	setarg COMPANY_ID_YICHIP
+	store 2,mem_lmp_compid
+	setarg 0x08
+	store 2,mem_lmp_subversion	
+	jam 0x7f ,mem_seqi
+	
+	setarg 0x24
+	store 2,mem_iscan_window
+	store 2,mem_pscan_window
+	setarg 0x200
+	store 2,mem_iscan_interval
+	store 2,mem_pscan_interval
+	setarg 0x20
+	store 2,mem_inq_window
+	store 2,mem_page_window
+	setarg 0x2000
+	store 2,mem_page_to
+	setarg 0x480
+	store 2,mem_rx_window_init
+	setarg 0xc00
+	store 2,mem_rx_window_sniff
+
+	setarg 0xc3f
+	store 2,mem_lpm_xtalcnt+1
+	setarg 0x333
+	istore 2,contw
+	setarg 0x24109d
+	store 3,mem_lpm_ctrl3+1
+	
+	call clear_wake
+	setarg 0
+	store 2,mem_tx_len
+	rshift clkn_bt,pdata
+	store 4,mem_last_clkn
+	rtn
+
+clk24m_init:
+	jam 6,core_clksel
+	jam 1,core_clksel
+	nop 10
+	setarg 7498
+	store 2,core_halfslot
+	rtn
+
+
+ifdef COMPLIE_TEST_CODE
+
+test_init:
+	setarg test_proc
+	store 2,mem_cb_bt_process
+	setarg test_proc
+	store 2,mem_cb_idle_process
+	rtn
+
+test_proc:
+	fetch 1,mem_state
+	bbit0 state_insniff,check_test_cond
+	set1 mark_lpm_mult_enable,mark
+	fetch 6,mem_sniff_rcv
+	store 6,mem_local_name
+	rtn
+
+check_test_cond:
+	fetch 1,mem_tester_emulate
+	rtnbit0 tester_change
+	fetch 1,mem_tester_cnt
+	increase 1,pdata
+	store 1,mem_tester_cnt
+	rtnne 5
+	jam 0,mem_tester_cnt
+	fetch 1,mem_tester_emulate
+	set0 tester_change,pdata
+	store 1,mem_tester_emulate
+	bbit1 tester_exit,check_test_exit
+	isolate1 tester_no_whitening,pdata
+	call test_no_white,true
+	ncall test_enable_white,true
+	fetch 1,test_mode_packet_type
+	compare 0x20,pdata,0x30
+	fetch 1,mem_state_map
+	setflag true,smap_edr,pdata
+	store 1,mem_state_map
+	fetch 1,mem_tester_emulate
+	fetcht 1,mem_debug_config
+	isolate1 tester_pattern_test,pdata
+	setflag true,debug_tx_pattern,temp
+	isolate1 tester_fixed_freq,pdata
+	setflag true,debug_tx_fixed_freq,temp
+	setflag true,debug_rx_fixed_freq,temp
+	storet 1,mem_debug_config
+	fetch 1,test_mode_tx_freq
+	store 1,mem_tx_fixed_freq
+	fetch 1,test_mode_rx_freq
+	store 1,mem_rx_fixed_freq
+	set1 mark_testmode,mark
+	rtn
+	
+check_test_exit:
+	set0 mark_testmode,mark
+	jam 0,mem_tester_emulate
+	fetch 1,mem_test_mode_old_debug_config
+	store 1,mem_debug_config
+	branch test_enable_white
+
+endif
+
+/*****************************************LPO************************************************/
+
+lpmstate:
+	setarg 0xee21
+	store 2,core_clkoff			// disable unused peripherals
+	fetch 4,core_gpio_in
+	store 4,mem_saved_gpio_in
+	fetch 1,core_lpm_ctrl+3
+	store 1,mem_wakup_from_power_flag	//power up bit2 = 0
+	fetch 1,core_lpm_ldocnt
+	bbit0 gpio_latch,loadcode		// power up boot
+	enable wake
+	bbit0 cold_wake,lpmwake		
+	disable wake
+	deposit auxcnt
+	nbranch lpmwake,blank		// sleep interrupted, wakeup
+	fetch 1,core_lpm_ctrl+3
+	bbit1 reload_code,lpmwake
+	arg param_hibernate_clks,temp
+	branch lpm_enter_sleep
+lpmwake:
+	fetch 4,core_lpm_ctrl2
+	store 4,core_lpm_reg
+	fetch 1,core_lpm_ctrl2+1
+	and_into 0xe0,pdata			//digital aon ldo vout sel: 1.2v
+	store 1,core_lpm_reg+1
+	call lpm_write_ctrl3
+	fetch 3,core_lpm_xtalcnt
+	store 3,core_lpm_reg
+	ifetch 1,contr
+	or_into isogate_mask,pdata		// open all isolation gate&power switch
+	istore 1,contw
+	call lpm_write_ctrl2
+	fetch 1,core_lpm_isogate
+	set1 enable_retmem,pdata
+	store 1,core_lpm_isogate
+	call lpm_write_ctrl2
+	call lpm_load_context,wake
+	fetch 1,core_lpm_reg+2
+	set0 gpio_latch,pdata			// enable gpio fuction
+	store 1,core_lpm_reg+2
+	call lpm_write_ctrl2
+	nbranch loadcode,wake		// wakeup from hibernate
+	call lpm_save_mpu_lock
+	rtnmark0 mark_otp_encrypt
+	jam lock_otp,core_misc_ctrl	// disable further read/write of key
+	rtn 
+
+lpm_save_mpu_lock:
+	fetch 3,mem_efuse_header
+	rtn blank
+	store 3,mem_tmp_buffer
+	branch app_lpm_peripheral_lock_check
+
+lpm_ctrl3_cfg_dig_vsel:
+	fetch 1,mem_dig_aon_vsel
+	beq 1,lpm_ctrl3_cfg_vsel_108
+	beq 2,lpm_ctrl3_cfg_vsel_096
+	beq 3,lpm_ctrl3_cfg_vsel_084
+lpm_ctrl3_cfg_vsel_120:
+	fetch 1,mem_lpm_ctrl3+1
+	and_into 0xe0,pdata
+lpm_ctrl3_cfg_vsel_store:	
+	store 1,mem_lpm_ctrl3+1
+	rtn
+lpm_ctrl3_cfg_vsel_108:
+	fetch 1,mem_lpm_ctrl3+1
+	and_into 0xe0,pdata
+	or_into 0x1d,pdata
+	branch lpm_ctrl3_cfg_vsel_store
+lpm_ctrl3_cfg_vsel_096:
+	fetch 1,mem_lpm_ctrl3+1
+	and_into 0xe0,pdata
+	or_into 0x1b,pdata
+	branch lpm_ctrl3_cfg_vsel_store
+lpm_ctrl3_cfg_vsel_084:
+	fetch 1,mem_lpm_ctrl3+1
+	and_into 0xe0,pdata
+	or_into 0x17,pdata
+	branch lpm_ctrl3_cfg_vsel_store
+
+lpm_load_context:
+	fetch 1,mem_saved_spidctrl
+	store 1,core_spid_ctrl
+	arg mem_saved_gpio,contr
+	arg core_gpio_conf,contw
+	call memcpy20
+	fetch 8,mem_saved_mark
+	iforce mark
+	fetch 8,core_gpio_wakeup_low
+	store 8,mem_gpio_wakeup_low
+	branch load_ucode
+
+lpm_save_context:
+	deposit mark
+	store 8,mem_saved_mark
+	arg core_gpio_conf,contr
+	arg mem_saved_gpio,contw
+	call memcpy20
+	fetch 1,core_spid_ctrl
+	store 1,mem_saved_spidctrl
+	branch lpm_write_gpio_wakeup
+
+lpo_calibration:
+	fetch 1,core_aes_en
+	rshift4 pdata,pdata
+	nbranch lpo_cal_inited,blank
+	fetch 3,mem_clks_per_lpo
+	nrtn blank
+	fetch 1,core_aes_en
+	or_into 0xc0,pdata
+	store 1,core_aes_en
+	jam ccnt_start,core_misc_ctrl
+lpo_cal_inited:
+	fetch 1,core_perf_status
+	rtnbit0 1
+	fetch 3,core_clk_counter
+	store 3,mem_clks_per_lpo
+	rtn
+
+
+	/* temp is synced clke */
+lpm_adjust_clk:
+	bpatch patch14_0,mem_patch14
+	deposit clke
+	call clk_diff_rt
+	fetcht 4,mem_sleep_counter_all
+	sub temp,0xff,null
+	rtn positive				// interval too small
+	lshift8 pdata,pdata
+	lshift4 pdata,pdata
+	idiv temp
+	call get_div_result
+	arg param_lpm_adjmax,temp
+	call ceiling
+	store 1,mem_lpm_adjust
+	nbranch lpm_adjust_positive,user
+	sub pdata,0,pdata
+lpm_adjust_positive:
+	fetcht 3,mem_clks_per_lpo
+	iadd temp,pdata
+	store 3,mem_clks_per_lpo
+lpm_clear_counter:
+	setarg 0
+	store 4,mem_sleep_counter_all
+	rtn
+
+
+	/* temp is lpo counter for doze */
+//lpm_doze:
+//	fetch 1,mem_lpm_config+2
+//	set1 reload_code,pdata
+//	store 1,mem_lpm_config+2
+//	branch lpm_hibernate_normal
+	
+
+	/* no retention memory at all */
+lpm_hibernate:
+	arg param_hibernate_clks,temp
+	fetch 1,mem_lpm_config+1
+	set0 7,pdata					/* lowest lpo */
+	store 1,mem_lpm_config+1
+lpm_hibernate_normal:
+	bpatch patch14_1,mem_patch14
+	call lpm_write_gpio_wakeup
+	fetch 1,mem_lpm_hibernate_switch
+	store 1,mem_lpm_xtalcnt + 4
+	fetch 1,mem_lpm_xtalcnt + 2
+	set1 cold_wake,pdata
+	store 1,mem_lpm_xtalcnt + 2
+
+	/* temp is lpo clocks to sleep */
+lpm_sleep:
+	bpatch patch14_2,mem_patch14
+	call xtal_fast_wake
+	fetch 2,mem_cb_before_lpm_sleep
+	call callback_func
+lpm_sleep_skip_cb_function:
+	fetch 4,mem_sleep_counter_all
+	iadd temp,pdata
+	store 4,mem_sleep_counter_all
+	call lpm_save_context
+	call lpm_ctrl3_cfg_dig_vsel
+	fetch 4,mem_lpm_ctrl3
+	copy pdata,regb
+	fetch 5,mem_lpm_xtalcnt
+	store 4,core_lpm_reg
+	rshift32 pdata,rega
+	until null,lpo_edge
+	deposit clkn
+	store 6,mem_sleep_clkn
+	jam lpmreg_sel_ctrl2,core_lpm_wr
+	until null,lpo_edge
+	until null,lpo_edge
+	deposit rega
+	store 1,core_lpm_isogate
+	jam lpmreg_sel_ctrl2,core_lpm_wr
+	until null,lpo_edge
+	until null,lpo_edge
+	storer regb,4,core_lpm_reg
+	jam lpmreg_sel_ctrl3,core_lpm_wr
+lpm_enter_sleep:
+	until null,lpo_edge
+	until null,lpo_edge
+	storet 4,core_lpm_reg
+	jam lpmreg_sel_counter,core_lpm_wr
+	until null,never
+
+
+
+
+lpm_recover_clk:
+	bpatch patch14_3,mem_patch14
+	setarg 0
+	copy auxcnt,null
+	branch lpm_recover_timeout,zero
+	fetch 1,core_lpm_xtalcnt
+	fetcht 1,core_lpm_buckcnt
+	isub temp,null
+	branch lpm_recover_xtal,positive
+	deposit temp
+lpm_recover_xtal:
+	isub auxcnt,pdata
+	increase 1,pdata
+lpm_recover_timeout:
+	increase 10,pdata
+	until null,lpo_edge
+	iadd lpo_time,pdata
+	fetcht 4,mem_sleep_counter
+	iadd temp,pdata
+	fetcht 3,mem_clks_per_lpo
+	imul32 temp,pdata
+	rshift8 pdata,pdata
+	rshift4 pdata,pdata
+	increase param_lpm_fix,pdata
+	fetcht 2,mem_param_rt_rthalfslot
+	idiv temp
+	call get_div_result
+	lshift16 pdata,pdata
+	remainder temp
+	ior temp,pdata
+	fetcht 6,mem_sleep_clkn
+	call clk_add
+	copy temp,clkn
+	fetch 6,mem_context + coffset_clk_offset
+	call calc_clke2
+	deposit clke
+	store 6,mem_pdatatemp
+	deposit auxcnt
+	istore 1,contw
+	fetch 1,core_gpio_in1
+	or_into 0xf0,pdata
+	istore 1,contw
+	rtn
+	
+lpm_dispatch:
+	bpatch patch14_4,mem_patch14
+	call lpo_calibration
+	fetch 3,mem_clks_per_lpo
+	rtn blank
+	fetch 1,mem_lpm_mode
+	rtn blank
+	fetch 1,mem_ssp_enable
+	branch lpm_dispatch_next,blank
+	fetch 1,mem_sp_local_key_invalid	// simple pairing is not ready
+	rtn blank
+lpm_dispatch_next:
+	fetch 1,mem_sc_calc
+	nrtn blank	
+	arg context_check_a_wack,regc
+	call context_search
+	rtn zero
+	call lpm_check_wake_lock
+	nrtn blank
+	fetch 1,mem_context
+	compare 3,pdata,0x7							/* sco won't sleep */
+	nbranch lpm_dispatch_unconn,true
+	fetch 2,mem_context + coffset_tsniff		/* role switch */
+	rtn blank																
+	rtn wake
+	bpatch patch14_5,mem_patch14
+lpm_dispatch_next2:
+	fetcht 1,mem_lpm_current_mult
+	fetch 2,mem_context + coffset_tsniff
+	imul32 temp,pdata
+	rshift4 temp,temp
+	rshift2 temp,temp
+	isub temp,pdata
+	fetcht 4,mem_context + coffset_sniff_anchor
+	iadd temp,pdata
+	fetcht 1,mem_lpm_overhead
+	isub temp,pdata
+	lshift16 pdata,alarm
+	bpatch patch14_6,mem_patch14
+	fetch 2,mem_context + coffset_rx_window
+	rshift pdata,pdata
+	call clk2bt
+	deposit alarm
+	call clk_diff
+	copy clke,temp
+	call clk_diff_rt
+	rtn user
+lpm_dispatch_sleep:
+	call clk2lpo
+lpm_dispatch_lpo:
+	bpatch patch14_7,mem_patch14
+	fetch 1,mem_lpm_xtalcnt
+	isub temp,null
+	branch lpm_clear_counter,positive
+	storet 4,mem_sleep_counter
+	call app_will_enter_lpm
+	call l2cap_lpm_save_txbuf
+	fetcht 4,mem_sleep_counter
+	branch lpm_sleep
+	
+lpm_dispatch_unconn:
+	bpatch patch15_0,mem_patch15
+	fetch 1,mem_context
+	rtnbit1 state_inconn					// wont sleep in connection
+	rtnbit1 state_inpage					// wont sleep when paging
+	fetch 1,mem_ssp_enable
+	branch lpm_unconn_nossp,blank
+	fetch 1,mem_sp_local_key_invalid	// simple pairing is not ready
+	rtn blank
+lpm_unconn_nossp:
+	fetch 1,mem_le_adv_enable
+	nbranch lpm_unconn_cont,blank
+	fetch 1,mem_scan_mode
+	rtn blank
+lpm_unconn_cont:
+	fetch 2,mem_lpm_interval
+	rtn blank
+lpm_sleep_btclk:
+	fetcht 1,mem_lpm_overhead
+	isub temp,pdata
+	arg 7500,temp				/* 1.25ms */
+	imul32 temp,pdata
+	branch lpm_dispatch_sleep
+
+lpm_set_mult:
+	bpatch patch15_1,mem_patch15
+	disable wake
+	fetch 1,mem_state
+	rtnbit0 state_insniff
+	nbranch lpm_not_match,match
+	call lpm_match
+	fetch 2,mem_rx_window_sniff
+	store 2,mem_rx_window
+	fetch 1,mem_arq
+	bbit1 wack,lpm_mult_short
+	bmark0 mark_lpm_mult_enable,lpm_mult_short
+	call l2cap_malloc_is_fifo_empty
+	nbranch lpm_mult_short,blank
+	fetch 1,mem_classic_bt_flag
+	bbit1 SHORT_MULT_FLAG,lpm_mult_short
+lpm_mult_wait_timeout:
+	fetch 2,mem_cb_bt_set_mult
+	call callback_func
+	nbranch lpm_mult_short,blank
+	jam 0,mem_lpm_current_mult
+	bmark0 mark_lpm_mult_enable,lpm_mult_short
+	fetch 1,mem_lpm_mult_cnt
+	branch lpm_mult_long,blank
+	increase -1,pdata
+	store 1,mem_lpm_mult_cnt
+	rtn
+
+
+classic_bt_set_mult_short_flag:
+	arg SHORT_MULT_FLAG,queue
+	branch classic_bluetooth_set_flag
+	
+classic_bt_clr_mult_short_flag:
+	arg SHORT_MULT_FLAG,queue
+	branch classic_bluetooth_clr_flag
+
+
+
+lpm_match:
+	jam 0,mem_sniff_unint_lost
+	fetch 3,mem_sniff_rcv
+	increase 1,pdata
+	store 3,mem_sniff_rcv
+	rtn
+
+lpm_not_match:
+	bpatch patch15_2,mem_patch15
+	fetcht 2,mem_rx_window_sniff
+	rshift temp,temp
+	fetch 2,mem_rx_window
+	iadd temp,pdata
+	store 2,mem_rx_window
+lpm_lost:
+	jam 0,mem_lpm_current_mult
+	fetch 3,mem_sniff_lost
+	increase 1,pdata
+	store 3,mem_sniff_lost
+	fetch 1,mem_sniff_unint_lost
+	increase 1,pdata
+	store 1,mem_sniff_unint_lost
+	rtn
+
+lpm_mult_short:
+	jam 0,mem_lpm_current_mult
+	fetch 1,mem_lpm_mult_timeout
+	store 1,mem_lpm_mult_cnt
+	rtn
+
+lpm_mult_long:
+	fetcht 1,mem_lpm_mult
+	storet 1,mem_lpm_current_mult
+	rtn
+
+lpm_cal_xtal_startup:
+	fetch 1,mem_lpm_xtalcnt
+	nrtn blank
+	jam clksel_rc,core_clksel
+	setarg 0xf0c
+	call lpm_write_config
+	setarg 200000
+	call sleep
+	until null,lpo_edge
+	copy lpo_time,alarm
+	call xtal_fast_wake
+	jam clksel_xtal,core_clksel
+	nop 10
+	until null,lpo_edge
+	deposit lpo_time
+	isub alarm,pdata
+	increase 0x30,pdata
+	arg 0xff,temp
+	call ceiling
+	store 1,mem_lpm_xtalcnt
+	nop 30000
+	nop 30000
+	nop 30000
+	rtn
+
+//lpm_cal_xtal_startup_by_snooze:
+//	fetch 1,mem_lpm_xtalcnt
+//	nrtn blank
+//	jam 0xff,core_xtal_stable_time
+//	jam clksel_rc,core_clksel
+//	call xtal_fast_wake
+//	setarg 1000
+//	iadd lpo_time,alarm
+//	snooze
+//	deposit lpo_time
+//	nop 12000	//delay about 1ms
+//	nop 12000	//delay about 1ms
+//	nop 12000	//delay about 1ms
+//	nop 12000	//delay about 1ms
+//	nop 12000	//delay about 1ms
+//	nop 12000	//delay about 1ms
+//	nop 12000	//delay about 1ms
+//	nop 12000	//delay about 1ms
+//	nop 12000	//delay about 1ms
+//	isub alarm,pdata
+//	add pdata,0x30,pdata
+//	arg 0xff,temp
+//	call ceiling
+//	store 1,mem_lpm_xtalcnt
+//	nop 30000
+//	nop 30000
+//	nop 30000	//delay 90000 nop
+//	rtn
+
+
+
+	/* pdata is lpm_reg[11:0] */
+lpm_write_config:
+	arg 0xfff,contw
+	iand contw,contw
+	fetch 1,mem_lpm_config
+	and_into 0xf0,pdata
+	lshift8 pdata,pdata
+	ior contw,pdata
+	store 2,core_lpm_reg
+	ifetch 2,contr
+	istore 2,contw
+
+lpm_write_ctrl:
+	setarg lpmreg_sel_ctrl
+	branch lpm_write
+
+lpm_write_ctrl2:
+	setarg lpmreg_sel_ctrl2
+lpm_write:
+	until null,lpo_edge
+	store 1,core_lpm_wr
+	until null,lpo_edge
+	until null,lpo_edge
+	rtn
+
+lpm_write_sel_vdd:
+	fetch 4,core_lpm_ctrl2
+	store 4,core_lpm_reg
+	fetch 1,core_lpm_ctrl2
+	and_into 0x41,pdata
+	fetcht 1,mem_lpm_ctrl3
+	ior temp,pdata
+	store 1,core_lpm_reg
+lpm_write_ctrl3:
+	setarg lpmreg_sel_ctrl3
+	branch lpm_write
+
+
+lpm_write_gpio_wakeup:
+	bpatch patch15_3,mem_patch15
+	fetch 4,mem_gpio_wakeup_low
+	store 4,core_lpm_reg
+	setarg lpmreg_sel_gpiolow
+	call lpm_write
+	fetch 4,mem_gpio_wakeup_high
+	store 4,core_lpm_reg
+	setarg lpmreg_sel_gpiohigh
+	branch lpm_write
+
+lpm_get_wake_lock:
+	fetch 2,mem_lpm_wake_lock
+	qset1 pdata
+	store 2,mem_lpm_wake_lock
+	rtn
+
+lpm_put_wake_lock:
+	fetch 2,mem_lpm_wake_lock
+	qset0 pdata
+	store 2,mem_lpm_wake_lock
+	rtn
+
+
+
+lpm_check_wake_lock:
+	bpatch patch15_4,mem_patch15
+	call app_check_wake_lock
+	fetch 2,mem_lpm_wake_lock
+	copy pdata,rega
+	fetch 1,mem_state_map
+	isolate1 smap_rxlmp,pdata
+	setflag true,wake_lock_lmp_rx,rega
+	fetch 1,mem_lmo_opcode1
+	fetcht 1,mem_lmo_opcode2
+	iadd temp,pdata
+	fetcht 1,mem_lmp_to_send
+	iadd temp,pdata
+	nsetflag blank,wake_lock_lmp_tx,rega
+	fetch 3,mem_tx_fifo3
+	nsetflag blank,wake_lock_ble_tx,rega
+	fetch 2,mem_l2cap_rxbuff1_len
+	fetcht 2,mem_l2cap_rxbuff2_len
+	iadd temp,pdata
+	nsetflag blank,wake_lock_l2cap_rx,rega
+	fetch UTIL_FIFO_LEN,mem_ipc_fifo_bt2c51
+	nsetflag blank,wake_lock_ipc_bt2c51,rega
+	fetch UTIL_FIFO_LEN,mem_ipc_fifo_c512bt
+	nsetflag blank,wake_lock_ipc_c512bt,rega
+	fetch 1,mem_hci_cmd
+	nsetflag blank,wake_lock_cmd,rega
+	fetch 1,mem_device_option
+	compare dvc_op_module,pdata,0xff
+	call lpm_uart_wake_lock,true
+	copy rega,pdata
+	store 2,mem_lpm_wake_lock
+	rtn
+
+lpm_uart_wake_lock:
+	fetch 2,core_uart_rxitems
+	nsetflag blank,wake_lock_uart_rx ,rega
+	fetch 2,core_uart_txitems
+	nsetflag blank,wake_lock_uart_tx ,rega
+	rtn
+
+lpm_shut_down:
+	fetch 4,core_lpm_ctrl
+	set0 27,pdata
+	store 4,core_lpm_reg
+	call lpm_write_ctrl
+	branch assert
+	
+lpm_disable_exen_output:
+	fetch 4,core_lpm_xtalcnt
+	set0 20,pdata
+	store 4,core_lpm_reg
+	branch lpm_write_ctrl2
+
+
Index: program/debug.prog
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/program/debug.prog	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/program/debug.prog	(working copy)
@@ -0,0 +1,66 @@
+
+// Rf debug
+
+/*****************************************************************************************************************************************************************************************
+    txon     txoff       rxon		      sync             crc pass    shutdown radio          match
+     _________          ______________    _________________     ___        ___                     
+    |         |        |              |  |                 |   |   |      |   |                   
+    |	      |        |              |  |                 |   |   |      |   |                   
+____|tx data  |________|   rx window  |__| rx data         |___|   |______|   |_______       __________
+
+*****************************************************************************************************************************************************************************************/
+
+rf_debug_rx_gpio_low:
+	fetch 1,mem_rf_debug_rx_gpio
+rf_debug_gpio_low:
+	arg gpcfg_output_low,temp
+	branch gpio_config_function
+
+rf_debug_rx_on_line:
+rf_debug_rx_gpio_high:
+	fetch 1,mem_rf_debug_rx_gpio
+rf_debug_gpio_high:
+	arg gpcfg_output_high,temp
+	branch gpio_config_function
+
+rf_debug_rx_gpio_h_l_h:
+	call rf_debug_rx_gpio_high
+rf_debug_rx_gpio_l_h:
+	call rf_debug_rx_gpio_low
+	branch rf_debug_rx_gpio_high
+
+rf_debug_rx_gpio_l_h_l:
+rf_debug_shutdown_radio_line:
+	call rf_debug_rx_gpio_l_h
+rf_debug_rx_crc_line:
+	branch rf_debug_rx_gpio_low
+
+rf_debug_rx_sync_line:
+	branch rf_debug_rx_gpio_l_h
+
+rf_debug_rx_crc_fail_line:
+	call rf_debug_rx_gpio_l_h
+	branch rf_debug_rx_gpio_l_h_l
+
+rf_debug_rx_match_line:
+rf_debug_rx_crc_error_line:
+rf_debug_rx_sync_timeout_line:
+	branch rf_debug_rx_gpio_low
+
+
+rf_debug_tx_off_line:
+rf_debug_tx_gpio_low:
+	fetch 1,mem_rf_debug_tx_gpio
+	branch rf_debug_gpio_low
+
+rf_debug_tx_on_line:
+rf_debug_tx_gpio_high:
+	fetch 1,mem_rf_debug_tx_gpio
+	branch rf_debug_gpio_high
+
+rf_debug_tx_gpio_l_h_l:
+	call rf_debug_tx_gpio_low
+	call rf_debug_tx_gpio_high
+	branch rf_debug_tx_gpio_low
+
+	
Index: program/g24_protocol_stack/24g.prog
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/program/g24_protocol_stack/24g.prog	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/program/g24_protocol_stack/24g.prog	(working copy)
@@ -0,0 +1,530 @@
+
+
+g24_dispatch:
+	bpatchx patch3b_5,mem_patch3b
+	bmark1 mark_24g_rxmode,g24_receive_dispatch
+	branch g24_transmit_dispatch
+
+
+/****************************g24 base transceiver start********************************/
+
+g24_prep:
+	disable enable_crc
+	disable enable_white
+	setarg 0x555555
+	iforce crc24_init
+	fetch 1,mem_24g_ch
+	branch le_prep+5	
+
+g24_receive_packet:
+	bpatchx patch3b_6,mem_patch3b
+	fetch 1,mem_24g_rx_phy
+	call le_enable_phy_by_pdata
+	fetch 4,mem_24g_addr
+	iforce access
+	call calc_mod_value_scale_le
+	call set_sync_on
+	fetcht 1,mem_24g_ch
+	call le_rf_rx_enable
+g24_receive_rxon:
+	call g24_prep
+	bmark0 mark_ble_lr,g24_receive_nolr
+	pulse dewhiten_code_calc
+	nop 30
+	call g24_prep
+g24_receive_nolr:
+	disable user3
+	enable decode_fec0
+	enable is_rx
+	disable is_tx
+	enable swfine
+	fetch 2,mem_24g_rx_window
+	iforce stop_watch
+	correlate null,timeout
+	nbranch g24_sync_timeout,sync
+	call rf_debug_rx_sync_line
+	bmark1 mark_ble_lr,g24_receive_skip_fec1
+	fetch 1,mem_24g_disable_fec1
+	nbranch g24_receive_skip_fec1,blank
+	disable decode_fec0	
+	enable decode_fec1	//lr do not use fec1
+g24_receive_skip_fec1:
+	enable enable_white
+	enable enable_crc
+	call g24_receive_byte
+	store 1,mem_24g_get_syncword_crc8
+	fetcht 1,mem_24g_syncword_crc8
+	isub temp,null
+	nbranch g24_end_of_packet,zero
+	bpatchx patch3b_7,mem_patch3b
+	disable user7
+	isolate1 mark_ble_lr,mark
+	call g24_lr_receive_pdu_len,true
+	branch g24_end_of_packet,user7
+	call g24_receive_byte
+	store 1,mem_24g_rxbuf	//device id
+	bmark1 mark_24g_rxmode,g24_receive_skip
+	fetch 1,mem_24g_rxbuf
+	fetcht 1,mem_24g_data_type
+	icompare bits_data,temp
+	nbranch g24_end_of_packet,true
+g24_receive_skip:
+	call g24_receive_byte
+	isolate1 mark_ble_lr,mark
+	call g24_lr_receive_payload_len,true
+	istore 1,contw
+	rshift3 pdata,pdata
+	sub pdata,0x1f,null
+	nbranch g24_end_of_packet,positive	//max payload: 32bytes
+	copy pdata,loopcnt
+	branch g24rx_nopayload,zero
+g24rx_loop:
+	call g24_receive_byte
+	istore 1,contw
+	loop g24rx_loop
+g24rx_nopayload:
+	bmark1 mark_24g_rxmode,g24_receive_skip_rssi
+	copy contw,rega
+	call g24_receive_byte
+	store 1,mem_rssi_hex_received	//receive rssi hex
+	copy rega,contw
+g24_receive_skip_rssi:
+	parse demod,bucket,24
+	rshift32 pdata,pdata
+	rshift16 pdata,pdata
+	istore 3,contw
+	fetch 1,mem_24g_disable_fec1
+	nbranch g24_receive_skip_disable_fec1,blank
+	disable decode_fec1
+g24_receive_skip_next:
+	isolate1 mark_24g_rxmode,mark
+	call save_rssi_dec,true
+	branch g24_end_of_packet,crc_failed
+	call rf_debug_rx_crc_line	//L
+	enable user3
+	call le_match_set_txfreq
+	bpatchx patch3c_0,mem_patch3c
+	rtnmark1 mark_24g_rxmode
+	fetch 1,mem_rssi_hex_received
+	fetcht 1,mem_rssi_hex_received_max_value
+	isub temp,null
+	call copy_temp2pdata,positive
+	branch rssi_signal
+
+g24_receive_skip_disable_fec1:
+	disable decode_fec0
+	branch g24_receive_skip_next
+	
+
+g24_lr_receive_pdu_len:
+	call g24_receive_byte
+	sub pdata,1,null
+	branch enable_user7,positive
+	increase -2,pdata	//minus hec and pdu length
+	bmark1 mark_24g_rxmode,g24_lr_receive_pdu_norssi
+	branch enable_user7,blank
+	increase -1,pdata	//minus rssi_hex length
+g24_lr_receive_pdu_norssi:
+	store 1,mem_temp	//payload length
+	rtn
+
+g24_lr_receive_payload_len:
+	and_into 0x07,pdata	//pdata[7:3]:length
+	fetcht 1,mem_temp	//payload length
+	lshift3 temp,temp
+	ior temp,pdata
+	rtn
+	
+g24_receive_byte:
+	parse demod,bucket,8
+	rshift3 pwindow,pdata
+	rtn
+
+g24_sync_timeout:
+	isolate1 mark_24g_rxmode,mark
+	call rssi_noise,true
+g24_end_of_packet:
+	call le_disable
+	disable encode_fec1
+	disable decode_fec1
+	branch end_of_packet
+
+g24_set_freq_tx:
+	call set_sync_on
+	fetcht 1,mem_24g_ch
+	branch set_freq_tx
+
+g24_transmit:
+	bpatchx patch3c_1,mem_patch3c
+	fetch 1,mem_24g_tx_phy
+	call le_enable_phy_by_pdata
+	fetch 4,mem_24g_addr
+	iforce access
+	call g24_prep
+	call g24_set_freq_tx
+	set1 TXGFSK,radio_ctrl
+	enable encode_fec0
+	enable is_tx
+	disable is_rx
+	call rf_debug_tx_on_line
+	disable lr_s2en
+	bmark1 mark_ble_lr,g24_transmit_lr
+	bmark1 mark_ble_2M,g24_transmit_2M
+	rshift16 access,pdata
+	rshift8 pdata,pdata
+	rshift4 pdata,pdata
+	inject mod,40
+g24_transmit_packet:
+	bmark1 mark_ble_lr,g24_transmit_nolr
+	fetch 1,mem_24g_disable_fec1
+	nbranch g24_transmit_nolr,blank
+	disable encode_fec0	
+	enable encode_fec1	////lr use encode_fec3
+g24_transmit_nolr:
+	enable enable_white
+	enable enable_crc
+	fetch 1,mem_24g_txlen
+	iforce loopcnt
+	arg mem_24g_txpayload,contr
+g24tr_loop:
+	ifetch 1,contr
+	inject mod,8
+	loop g24tr_loop
+	enable enable_parity
+	inject mod,24	//crc
+	disable enable_parity
+	bmark0 mark_ble_lr,g24_transmit_skip
+	disable enable_white
+	setarg 0
+	inject mod,3
+g24_transmit_skip:	
+	until null,tx_clear
+	nop 100
+	disable lr_s2en
+	disable encode_fec0
+	fetch 1,mem_24g_disable_fec1
+	nbranch g24_transmit_skip_disable_fec1,blank
+	disable encode_fec1
+g24_transmit_skip_disable_fec1:
+	disable encode_fec3
+	call set_sync_on
+	branch rf_debug_tx_off_line
+
+g24_transmit_lr:
+	arg 10,loopcnt
+g24_transmit_lr_preamble_loop:
+	setarg 0x3c
+	inject mod,8
+	loop g24_transmit_lr_preamble_loop
+	disable encode_fec0
+	enable encode_fec3
+	rshift16 access,pdata
+	rshift16 pdata,pdata
+	rshift4 pdata,pdata
+	inject mod,32
+	bmark1 mark_ble_lr_s8,g24_transmit_lr_s8
+g24_transmit_lr_s2:
+	setarg 1
+	inject mod,5
+	enable lr_s2en
+	branch g24_transmit_packet
+
+g24_transmit_lr_s8:
+	setarg 0
+	inject mod,5
+	branch g24_transmit_packet
+
+g24_transmit_2M:
+	fetch 1,mem_system_clk
+	rshift pdata,loopcnt
+g24_transmit_2M_dealy:
+	nop 2
+	loop g24_transmit_2M_dealy
+//	nop 36	//2M 前端发送比1M快3us左右
+	rshift16 access,pdata
+	rshift8 pdata,pdata
+	rshift4 pdata,temp
+	copy temp,pdata
+	inject mod,8
+	copy temp,pdata
+	inject mod,40
+	branch g24_transmit_packet
+
+/****************************g24 base transceiver end********************************/
+
+
+
+/****************************g24 general func start********************************/
+
+g24_transmit_prep:
+	fetch 1,mem_24g_tx_phy
+	bbit1 BIT_LE_CODED_PHY,g24_lr_transmit_prep
+// total length
+	fetch 1,mem_24g_datalen
+	increase 3,pdata	//hec/type/control
+	store 1,mem_24g_txlen
+//hec
+	fetch 1,mem_24g_syncword_crc8
+	store 1,mem_24g_txpayload
+// data type
+	fetch 1,mem_24g_data_type
+	istore 1,contw
+//prepare 5bit payload length, 2bit PID, 1bit NO_ACK
+	fetch 1,mem_24g_datalen
+g24_transmit_prep_pdu:
+	lshift3 pdata,pdata
+	fetcht 1,mem_24g_pid
+	and temp,0x03,temp
+	lshift temp,temp
+	ior temp,pdata
+	fetcht 1,mem_24g_no_ack
+	iadd temp,pdata
+	istore 1,contw
+//prepare payload data
+	fetch 1,mem_24g_datalen
+	iforce loopcnt
+	arg mem_24g_txbuf,contr
+	call memcpy
+//rssi hex	
+	rtnmark0 mark_24g_rxmode
+	fetch 1,mem_rssi_hex
+	istore 1,contw
+	fetch 1,mem_24g_tx_phy
+	rtnbit1 BIT_LE_CODED_PHY
+	fetch 1,mem_24g_txlen
+	increase 1,pdata	//plus rssi_hex length
+	store 1,mem_24g_txlen
+	rtn
+	
+g24_lr_transmit_prep:
+// total length
+	fetch 1,mem_24g_datalen
+	increase 4,pdata	//hec/pdu/type/control
+	bmark0 mark_24g_rxmode,g24_lr_transmit_prep_skip
+	increase 1,pdata	//mem_rssi_hex
+g24_lr_transmit_prep_skip:
+	store 1,mem_24g_txlen
+//hec
+	fetch 1,mem_24g_syncword_crc8
+	store 1,mem_24g_txpayload
+// pdu length
+	fetch 1,mem_24g_txlen
+	increase -2,pdata	//minus hec and pdu length
+	istore 1,contw
+// data type
+	fetch 1,mem_24g_data_type
+	istore 1,contw
+	setarg 0
+	branch g24_transmit_prep_pdu
+
+g24_read_len_pid_crc:
+//read control
+	fetch 1,mem_24g_rxbuf+1
+	rshift3 pdata,pdata
+	store 1,mem_24g_rxdata_length
+//get crc
+	increase 1,pdata
+	arg mem_24g_rxbuf+1,contr
+	iadd contr,contr
+	ifetch 3,contr
+	store 3,mem_24g_sta_crc
+//read pid
+	fetch 1,mem_24g_rxbuf+1
+	rshift pdata,pdata
+	and pdata,0x03,pdata
+	store 1,mem_24g_sta_pid
+	rtn
+
+	
+g24_ch:
+	fetcht 1,mem_24g_current_ch_number
+	call g24_ch_map_size
+	storet 1,mem_24g_current_ch_number
+	rtn
+
+g24_ch_map_size:
+	call g24_ch_calc
+	increase 1,temp
+	and_into 3,temp //map size =4
+	rtn
+	
+g24_ch_calc:
+	fetch 1,mem_24g_addr	
+	and_into 0x03,pdata
+	mul32 pdata,4,rega			//24addr low bit0 bit1 ,00-map1,01-map2,10-map3,11-map4
+	setarg mem_24g_ch_map1
+	iadd rega,pdata
+	iadd temp,contr
+	ifetch 1,contr
+	store 1,mem_24g_ch
+	rtn
+
+
+g24_update_addr_and_synccrc8:
+	store 4,mem_24g_addr
+//output: 1BYTE crc8
+g24_syncword_crc8:
+	arg 0,rega
+	arg 4,loopcnt
+	arg mem_24g_addr,contr
+g24_syncword_crc8_loop:
+	ifetch 1,contr
+	iadd rega,rega
+	loop g24_syncword_crc8_loop
+	copy rega,pdata
+	store 2,mem_24g_syncword
+	fetch 1,mem_24g_syncword
+	fetcht 1,mem_24g_syncword+1
+	iadd temp,pdata
+	store 1,mem_24g_syncword_crc8
+	rtn
+
+
+g24_timer_check:
+	call disable_user
+	fetcht 4,mem_24g_tx_btclk
+	copy clkn_bt,pdata
+	isub temp,null
+	ncall g24_timer_timeout,positive
+	copy pdata,regb
+	fetch 4,mem_24g_tx_btclk
+	fetcht 1,mem_24g_interval
+	iadd temp,temp
+	copy regb,pdata
+	isub temp,null
+	nrtn positive
+	set0 28,pdata
+	store 4,mem_24g_tx_btclk
+	branch enable_user
+g24_timer_timeout:
+	rtn zero
+	set1 28,pdata
+	rtn
+g24_timer_init:
+	setarg 0
+	store 4,mem_24g_tx_btclk
+	rtn
+
+
+
+//mem_24g_ch_map1:00 13 2c 42
+//mem_24g_ch_map2:06 15 36 48
+//mem_24g_ch_map3:0f 1a 3a 4c
+//mem_24g_ch_map4:11 23 31 4d
+g24_chmap_param_init:
+	setsect 0,0x1300
+	setsect 1,0x1908b
+	setsect 2,0x36150
+	setsect 3,0x3d20
+	store 9,mem_24g_ch_map1
+	setsect 0,0x3a1a
+	setsect 1,0xc453
+	setsect 2,0xd312
+	setsect 3,0x1
+	istore 7,contw
+	fetch 1,mem_24g_ch_map_update
+	rtn blank
+	arg mem_24g_ch_update_map1,contr
+	arg mem_24g_ch_map1,contw
+	branch memcpy16
+
+
+
+//mem_24g_ch_update_map1:00 1e 00 4e
+//mem_24g_ch_update_map2:03 23 03 42
+//mem_24g_ch_update_map3:06 25 06 4c
+//mem_24g_ch_update_map4:09 27 09 3c
+g24_chamap_param_update:
+	setarg 0x4e001e
+	store 3,mem_24g_ch_update_map1+1
+	setarg 0x032303
+	istore 3,contw
+	setarg 0x250642
+	istore 3,contw
+	setarg 0x094c06
+	istore 3,contw
+	setarg 0x3c0927
+	istore 3,contw
+	jam 1,mem_24g_ch_map_update
+	rtn
+
+
+g24_rx_window_init:
+	arg 0x6978,temp
+	bmark1 mark_24g_rxmode,g24_rx_window_store
+	arg 0x12c0,temp
+	fetch 1,mem_24g_rx_phy
+	bbit0 2,g24_rx_window_store	//uncoded phy
+	arg 0x2ee0,temp
+g24_rx_window_store:	
+	storet 2,mem_24g_rx_window
+	rtn
+
+g24_enable_1M:
+	jam 0x01,mem_24g_rx_phy
+	jam 0x01,mem_24g_tx_phy
+	rtn
+
+//g24_enable_2M:
+//	jam 0x02,mem_24g_rx_phy
+//	jam 0x02,mem_24g_tx_phy
+//	rtn
+//	
+//g24_enable_coded_s2:
+//	jam 0x04,mem_24g_rx_phy
+//	jam 0x04,mem_24g_tx_phy
+//	rtn
+
+//g24_enable_coded_s8:
+//	jam 0x84,mem_24g_rx_phy
+//	jam 0x84,mem_24g_tx_phy
+//	rtn
+
+
+/****************************g24 general func end********************************/
+
+
+
+/****************************g24 sim start********************************/
+/*
+g24_sim_rx:
+	set1 mark_24g_rxmode,mark
+	jam 1,mem_24g_rx_phy	//0x01:1M/0x02:2M/0x04:S2/0x84:S8
+	fetch 1,mem_24g_rx_phy
+	call le_enable_phy_by_pdata
+	jam 0,mem_24g_ch
+	setarg 0x123456
+	store 3,mem_24g_addr
+	istore 1,contw
+	call g24_syncword_crc8
+	setarg 0x3000
+	store 2,mem_24g_rx_window
+g24_sim_rx_loop:
+	call g24_receive_packet
+	call g24_read_len_pid_crc
+	call g24_end_of_packet
+	branch g24_sim_rx_loop
+
+g24_sim_tx:
+	jam 1,mem_24g_tx_phy
+	fetch 1,mem_24g_tx_phy
+	call le_enable_phy_by_pdata
+	jam 0,mem_24g_ch
+	setarg 0x123456
+	store 3,mem_24g_addr
+	istore 1,contw
+	call g24_syncword_crc8
+	jam 1,mem_24g_datalen
+	jam 1,mem_24g_txbuf
+	jam 0x88,mem_rssi_hex
+	call g24_transmit_prep
+g24_sim_tx_loop:
+	call g24_transmit
+	call g24_end_of_packet
+	branch g24_sim_tx_loop
+
+*/
+
+/****************************g24 sim end********************************/
+
+	
Index: program/g24_protocol_stack/24g_pair.prog
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/program/g24_protocol_stack/24g_pair.prog	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/program/g24_protocol_stack/24g_pair.prog	(working copy)
@@ -0,0 +1,398 @@
+
+
+g24_pair_param_init:
+	jam 0x4e,mem_24g_pair_ch
+	setarg 0x101520
+	store 3,mem_24g_pair_addr
+	setarg 0x05
+	istore 1,contw
+	rtn
+
+
+
+/****************************g24 pair transmitter start********************************/
+
+g24_pair_timeout_timer:
+	arg mem_24g_pair_timeout,regc
+	arg g24_stop_24g_mode,regb
+	branch timer_single_step_2B
+
+g24_pair_start:
+	set1 mark_24g,mark
+	fetch 1,mem_24g_conn_sm
+	set0 STATE_24G_RECONN,pdata
+	set1 STATE_24G_PAIR,pdata
+	store 1,mem_24g_conn_sm
+	setarg 0
+	store 2,mem_24g_reconn_timeout
+	fetch 2,mem_24g_pair_timeout_init
+	store 2,mem_24g_pair_timeout
+	jam 0,mem_24g_pair_no_ack
+	call g24_pair_sm_reinit
+g24_pair_init_param:
+	jam 0,mem_24g_pid
+	fetch 1,mem_24g_pair_ch
+	store 1,mem_24g_ch
+	fetch 1,mem_24g_pair_tx_power
+	store 1,mem_tx_power
+	fetch 4,mem_24g_pair_addr
+	branch g24_update_addr_and_synccrc8
+
+
+g24_pair_dispatch:
+	bpatchx patch3c_2,mem_patch3c
+	fetch 1,mem_24g_pair_sm
+	beq STATE_24G_PAIRING_SUCCESS,g24_pair_exit
+	beq STATE_24G_PAIRING_1,g24_pair_sm_1
+	beq STATE_24G_PAIRING_2,g24_pair_sm_2
+	beq STATE_24G_PAIRING_3,g24_pair_sm_3
+	beq STATE_24G_PAIRING_4,g24_pair_sm_4
+	rtn
+
+g24_pair_sm_1:
+	jam DATATYPE_ATTEMP,mem_24g_txbuf
+	branch g24_pair_sm_prep
+
+g24_pair_sm_2:
+	fetch 1,mem_24g_pair_switch
+	branch g24_pair_sm_2_skip,blank
+	fetch 4,mem_24g_device_addr
+	call g24_update_addr_and_synccrc8	//use transmitter addr
+g24_pair_sm_2_skip:
+	jam DATATYPE_BIND,mem_24g_txbuf	
+	branch g24_pair_sm_prep
+
+g24_pair_sm_3:
+	jam DATATYPE_CONFIG,mem_24g_txbuf	
+	fetch 1,mem_24g_pair_switch
+	branch g24_pair_sm_prep,blank
+	fetch 4,mem_24g_receiver_addr		//prep receiver addr
+	store 4,mem_24g_txbuf+2
+	branch g24_pair_sm_common
+
+g24_pair_sm_4:
+	jam DATATYPE_OK,mem_24g_txbuf
+g24_pair_sm_prep:
+	fetch 4,mem_24g_device_addr
+	store 4,mem_24g_txbuf+2
+g24_pair_sm_common:
+	fetch 1,mem_24g_data_type
+	and_into bits_data,pdata
+	store 1,mem_24g_txbuf+1
+	jam 0,mem_24g_txbuf+6
+	jam 7,mem_24g_datalen
+	call g24_transmit_prep
+	call g24_transmit_receive_ack
+	nrtn sync
+	nrtn user3
+	call g24_txbuf_clear
+	call g24_ackpayload_parse
+	bpatchx patch3c_3,mem_patch3c
+	fetch 1,mem_24g_pair_sm
+	rtneq STATE_24G_PAIRING_SUCCESS
+	beq STATE_24G_PAIRING_1,g24_pair_sm_1_waiting_ack
+	beq STATE_24G_PAIRING_2,g24_pair_sm_2_waiting_ack
+	beq STATE_24G_PAIRING_3,g24_pair_sm_3_waiting_ack
+	beq STATE_24G_PAIRING_4,g24_pair_sm_4_waiting_ack
+	rtn
+
+g24_pair_sm_reinit:	
+	jam STATE_24G_PAIRING_2,mem_24g_pair_sm
+	fetch 1,mem_24g_pair_switch
+	rtn blank
+	jam STATE_24G_PAIRING_1,mem_24g_pair_sm
+	rtn
+
+g24_pair_sm_1_waiting_ack:
+	jam STATE_24G_PAIRING_2,mem_24g_pair_sm
+	branch g24_transmit_abandon
+	
+g24_pair_sm_2_waiting_ack:
+	fetch 1,mem_24g_pair_switch
+	branch g24_pair_sm_2_waiting_ack_skip,blank
+	fetch 4,mem_24g_rxpayload+2
+	store 4,mem_24g_receiver_addr
+g24_pair_sm_2_waiting_ack_skip:	
+	jam STATE_24G_PAIRING_3,mem_24g_pair_sm
+	branch g24_transmit_abandon
+
+g24_pair_sm_3_waiting_ack:
+	fetch 1,mem_24g_pair_switch
+	branch g24_pair_sm_3_waiting_ack_skip,blank
+	fetch 4,mem_24g_rxpayload+2
+	fetcht 4,mem_24g_device_addr
+	isub temp,null
+	nrtn zero
+g24_pair_sm_3_waiting_ack_skip:	
+	jam STATE_24G_PAIRING_4,mem_24g_pair_sm
+	branch g24_transmit_abandon	
+	
+g24_pair_sm_4_waiting_ack:
+	fetch 1,mem_24g_pair_switch
+	branch g24_pair_sm_4_waiting_ack_skip,blank
+	fetch 4,mem_24g_rxpayload+2
+	fetcht 4,mem_24g_receiver_addr
+	isub temp,null
+	nrtn zero
+g24_pair_sm_4_waiting_ack_skip:	
+	jam STATE_24G_PAIRING_SUCCESS,mem_24g_pair_sm
+	jam BT_EVT_24G_PAIRING_COMPLETE,mem_fifo_temp
+	call ui_ipc_send_event
+	setarg 0
+	store 2,mem_24g_pair_timeout
+	fetch 4,mem_24g_rxpayload+2
+	call g24_update_addr_and_synccrc8
+g24_pair_exit:
+	fetch 1,mem_24g_conn_sm
+	set0 STATE_24G_PAIR,pdata
+	store 1,mem_24g_conn_sm
+	branch g24_transmit_abandon
+
+
+
+
+/****************************g24 pair transmitter end********************************/
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+/****************************g24 pair receiver start********************************/
+
+
+g24_bind_mode_enable:
+	jam DONGLE_BIND,mem_24g_work_mode
+	jam CLEAR_INIT,mem_24g_mode_init
+	rtn
+
+g24_bind_init:
+	fetch 1,mem_24g_mode_init
+	rtnbit1 DONGLE_BIND
+	set1 DONGLE_BIND,pdata
+	store 1,mem_24g_mode_init
+	setarg 0
+	store 3,mem_24g_device1_bind_step
+	store 4,mem_24g_transmitter_addr
+	jam 1,mem_24g_ackpayload_enable
+	branch g24_pair_init_param
+
+
+g24_bind_ackpayload_prep:
+	jam 1,mem_24g_ackpayload_enable
+	jam 0x08,mem_24g_datalen
+	arg mem_24g_bind_payload,contr
+	arg mem_24g_txbuf,contw
+	branch memcpy8
+
+
+g24_bind_data_process:
+	call g24_rx_interrupt_clear
+	call g24_receive_packet
+	nbranch g24_rx_interrupt_clear,user3
+	call g24_bind_data_parse
+	call g24_transmit_ack
+	call g24_bind_device_status_check
+	call dongle_kb_bind_soft_reset	
+	fetch 1,mem_24g_pair_switch
+	rtn blank
+	fetch 4,mem_24g_transmitter_addr
+	rtn blank
+	branch g24_update_addr_and_synccrc8
+
+g24_bind_data_error:
+	call g24_rx_interrupt_clear
+	branch g24_end_of_packet
+
+g24_bind_data_parse:
+	jam BIND_MODE_CONTINUE,mem_24g_bind_mode_continue	//about 400ms
+	arg mem_24g_rxbuf,contr
+	arg mem_24g_rxdata_temp,contw
+	call memcpy8
+	bpatchx patch3c_4,mem_patch3c
+	fetch 1,mem_24g_rxdata_temp+2
+	beq DATATYPE_BIND,g24_bind_first_step	//bind step 1
+	beq DATATYPE_CONFIG,g24_bind_second_step
+	beq DATATYPE_OK,g24_bind_third_step
+	beq DATATYPE_ATTEMP,g24_data_attemp
+	rtn
+
+
+g24_bind_first_step:
+	fetch 1,mem_24g_rxdata_temp+3
+	beq DATATYPE_DEVICE1,g24_bind_first_step_device1
+	beq DATATYPE_DEVICE2,g24_bind_first_step_device2
+	rtn
+
+g24_bind_first_step_device1:
+	jam 1,mem_24g_device1_bind_step
+g24_bind_dvc1_payload_cfg:
+	jam DATATYPE_DEVICE1,mem_24g_bind_payload
+g24_bind_payload_cfg:
+	jam 0x80,mem_24g_bind_payload+1
+	fetch 6,mem_lap
+	store 6,mem_24g_bind_payload+2
+	rtn
+
+g24_bind_first_step_device2:
+	jam 1,mem_24g_device2_bind_step
+g24_bind_dvc2_payload_cfg:
+	jam DATATYPE_DEVICE2,mem_24g_bind_payload
+	branch g24_bind_payload_cfg
+
+
+g24_bind_second_step:
+	fetch 1,mem_24g_pair_switch
+	branch g24_bind_second_step_skip,blank
+	fetch 4,mem_24g_rxdata_temp+4
+	fetcht 4,mem_lap
+	isub temp,null
+	nrtn zero
+g24_bind_second_step_skip:	
+	fetch 1,mem_24g_rxdata_temp+3
+	beq DATATYPE_DEVICE1,g24_bind_second_step_device1
+	beq DATATYPE_DEVICE2,g24_bind_second_step_device2
+	rtn
+
+g24_bind_second_step_device1:
+	fetch 1,mem_24g_device1_bind_step
+	beq 1,g24_bind_dvc1_step_set2
+	rtn
+g24_bind_dvc1_step_set2:
+	jam 2,mem_24g_device1_bind_step
+	fetch 1,mem_24g_pair_switch
+	branch g24_bind_dvc1_payload_cfg,blank
+g24_bind_dvc1_payload_cfg_transmitter_addr:
+	jam DATATYPE_DEVICE1,mem_24g_bind_payload
+g24_bind_payload_cfg_transmitter_addr:
+	jam 0x80,mem_24g_bind_payload+1
+	fetch 4,mem_24g_transmitter_addr
+	store 4,mem_24g_bind_payload+2
+	branch enable_user
+
+g24_bind_second_step_device2:
+	fetch 1,mem_24g_device2_bind_step
+	beq 1,g24_bind_dvc2_step_set2
+	rtn
+g24_bind_dvc2_step_set2:
+	jam 2,mem_24g_device2_bind_step
+	fetch 1,mem_24g_pair_switch
+	branch g24_bind_dvc2_payload_cfg,blank	
+	jam DATATYPE_DEVICE2,mem_24g_bind_payload
+	branch g24_bind_payload_cfg_transmitter_addr
+
+
+g24_bind_third_step:
+	fetch 1,mem_24g_pair_switch
+	branch g24_bind_third_step_skip,blank
+	fetch 4,mem_24g_rxdata_temp+4
+	fetcht 4,mem_24g_transmitter_addr
+	isub temp,null
+	nrtn zero
+g24_bind_third_step_skip:
+	fetch 1,mem_24g_rxdata_temp+3
+	beq DATATYPE_DEVICE1,g24_bind_third_step_device1
+	beq DATATYPE_DEVICE2,g24_bind_third_step_device2
+	rtn
+
+g24_bind_third_step_device1:
+	fetch 1,mem_24g_device1_bind_step
+	beq 2,g24_bind_dvc1_step_success
+	rtn
+g24_bind_dvc1_step_success:
+	call g24_binding_dvc1_living	//works on auto pair only
+	call g24_bind_dvc1_payload_cfg
+	fetch 1,mem_24g_bind_device_status
+	or_into 0x01,pdata
+	store 1,mem_24g_bind_device_status
+g24_bind_exit:
+	setarg 0
+	store 2,mem_24g_device1_bind_step
+	rtn
+	
+g24_bind_third_step_device2:
+	fetch 1,mem_24g_device2_bind_step
+	bne 0,g24_bind_dvc2_step_success
+	rtn
+g24_bind_dvc2_step_success:
+	call g24_binding_dvc2_living	//works on auto pair only
+	call g24_bind_dvc2_payload_cfg
+	fetch 1,mem_24g_bind_device_status
+	or_into 0x02,pdata
+	store 1,mem_24g_bind_device_status
+	call g24_bind_exit
+	branch dongle_g24_store_dvc2_bind_flag
+
+g24_binding_device_check:	//works on auto pair
+	fetch 1,mem_24g_work_mode
+	rtnne DONGLE_BIND
+	fetch 1,mem_24g_pair_mode
+	nrtn blank
+	fetch 1,mem_24g_rxbuf+3
+	beq DATATYPE_DEVICE1,g24_binding_dvc1_status	//bit0
+	beq DATATYPE_DEVICE2,g24_binding_dvc2_status	//bit1
+	rtn
+g24_binding_dvc1_status:
+	fetch 1,mem_24g_bind_device_living
+	rtnbit0 0
+disable_user3:
+	disable user3
+	rtn 
+g24_binding_dvc2_status:
+	fetch 1,mem_24g_bind_device_living
+	rtnbit0 1
+	branch disable_user3
+
+g24_binding_dvc1_living:
+	fetch 1,mem_24g_pair_mode
+	nrtn blank
+	fetch 1,mem_24g_bind_device_living
+	or_into 0x01,pdata
+	store 1,mem_24g_bind_device_living
+	rtn
+
+g24_binding_dvc2_living:
+	fetch 1,mem_24g_pair_mode
+	nrtn blank
+	fetch 1,mem_24g_bind_device_living
+	or_into 0x02,pdata
+	store 1,mem_24g_bind_device_living
+	rtn
+
+
+g24_bind_device_status_check:
+	fetch 1,mem_24g_bind_device_status
+	rtn blank
+g24_bind_device_status:
+	fetch 1,mem_24g_rxdata_temp+3
+	beq DATATYPE_DEVICE1,g24_binding_dvc1_living
+	beq DATATYPE_DEVICE2,g24_binding_dvc2_living
+	rtn
+
+
+
+/****************************g24 pair receiver end********************************/
+
+
+
+
+
+
+
+
+
+
+
+
+
Index: program/g24_protocol_stack/24g_receiver.prog
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/program/g24_protocol_stack/24g_receiver.prog	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/program/g24_protocol_stack/24g_receiver.prog	(working copy)
@@ -0,0 +1,555 @@
+
+g24_receive_init:
+	set1 mark_24g_rxmode,mark
+	fetch 1,mem_tx_power
+	store 1,mem_tx_power_temp
+	call g24_rx_window_init
+	branch rssi_receiver_buff_init
+
+g24_receive_dispatch:
+	fetch 2,mem_cb_24g_receive_process
+	branch callback_func
+
+g24_ackpayload_prep:
+	jam 0,mem_24g_datalen
+	fetch 1,mem_24g_ackpayload_enable
+	rtn blank
+	fetch 2,mem_cb_24g_ackpayload
+	branch callback_func
+
+
+g24_receive_packet_start:
+	call g24_receive_transmit_ack
+	nbranch g24_rx_interrupt_clear,user3
+g24_receive_packet_parse:
+	call g24_receive_packet_parse_pid_crc
+	nbranch g24_rx_interrupt_clear,user
+	fetch 1,mem_24g_rxdata_length
+	branch g24_rx_interrupt_clear,blank
+	increase 2,pdata
+	iforce loopcnt
+	arg mem_24g_rxbuf,contr
+	arg mem_24g_rxdata_temp,contw
+	call memcpy
+	jam 0,mem_24g_mode_switch
+	fetch 1,mem_24g_pair_mode
+	call g24_enable_nodata_timer,blank
+	fetch 1,mem_24g_rxdata_temp+2
+	beq DATATYPE_DEVICE1,g24_data_device1	//mouse
+	beq DATATYPE_DEVICE2,g24_data_device2	//keyboard
+	beq DATATYPE_ATTEMP,g24_data_receive_attemp	//reconn packet
+g24_rx_interrupt_clear:
+	arg mem_24g_rxbuf,contw
+	arg 66,loopcnt
+	branch clear_mem
+
+g24_data_receive_attemp:
+	call g24_bind_device_status		//works on auto pair only
+	branch g24_data_attemp
+
+g24_data_device1:
+	call g24_binding_dvc1_living	//works on auto pair only
+	call g24_ch_timer_reinit
+	fetch 1,mem_24g_abort_packet
+	fetcht 1,mem_24g_rxdata_temp
+	isolate1 bit_abort,temp
+	setflag true,0,pdata
+	store 1,mem_24g_abort_packet
+	beq 1,g24_data_attemp_device1_abort
+	fetch 1,mem_24g_hop_packet
+	fetcht 1,mem_24g_rxdata_temp
+	isolate1 bit_hop,temp
+	setflag true,0,pdata
+	store 1,mem_24g_hop_packet
+	fetch 2,mem_cb_24g_data_device1
+	branch callback_func
+
+g24_data_device2:
+	call g24_binding_dvc2_living	//works on auto pair only
+	fetcht 1,mem_24g_rxdata_temp
+	isolate1 bit_abort,temp
+	branch g24_data_attemp_device2_abort,true
+	fetch 2,mem_cb_24g_data_device2
+	branch callback_func
+
+g24_data_attemp_device1_abort:
+	fetch 1,mem_device_option
+	sub pdata,dvc_op_car,null
+	call car_stop_blink,zero
+	fetch 4,mem_24g_rxdata_temp+10
+	branch g24_store_device1_addr
+g24_data_attemp_device2_abort:
+	fetch 4,mem_24g_rxdata_temp+10
+	branch g24_store_device2_addr	
+
+
+g24_receive_packet_parse_pid_crc:
+	call disable_user
+	fetch 1,mem_24g_sta_pid
+	fetcht 1,mem_24g_last_pid
+	isub temp,null
+	ncall enable_user,zero
+	fetch 1,mem_24g_sta_pid
+	store 1,mem_24g_last_pid
+	fetch 3,mem_24g_sta_crc
+	fetcht 3,mem_24g_last_crc
+	isub temp,null
+	ncall enable_user,zero
+	fetch 3,mem_24g_sta_crc
+	store 3,mem_24g_last_crc
+	rtn
+
+g24_receive_transmit_ack:
+	call g24_rx_interrupt_clear
+	call g24_receive_packet
+	nrtn user3
+g24_transmit_ack:
+//data type
+	fetch 1,mem_24g_rxbuf
+	store 1,mem_24g_data_type
+//read len pid crc
+	call g24_read_len_pid_crc
+//read ack
+	fetch 1,mem_24g_rxbuf+1
+	isolate1 bit_ack_24g,pdata
+	branch g24tx_no_ack,true
+g24tx_with_ack:
+	call g24_ackpayload_prep
+	call g24_transmit_prep
+	call g24_transmit
+g24tx_no_ack:
+	branch g24_end_of_packet
+
+
+g24_enable_nodata_timer:
+	jam 1,mem_24g_nodata_timer_enable
+g24_enable_nodata_timer_init:
+	setarg TIMER_NODATA_DELAY
+	arg TIMER_NODATA,queue
+	branch timer_init
+
+
+
+/****************************g24 receiver mode switch start********************************/
+
+g24_mode_switch_init:
+	jam 1,mem_24g_mode_switch
+	jam 0,mem_24g_time_slice
+	jam 0xff,mem_24g_interval
+	branch g24_timer_init
+	
+g24_mode_switch_bind_work:
+	bpatchx patch3c_5,mem_patch3c
+	fetch 1,mem_24g_mode_switch
+	rtn blank
+	call g24_timer_check
+	nrtn user	//80ms
+	call g24_bind_mode_continue
+	fetch 1,mem_24g_time_slice
+	increase 1,pdata
+	and_into 1,pdata
+	store 1,mem_24g_time_slice
+	beq 0,g24_work_mode_switch
+	beq 1,g24_bind_mode_switch
+	rtn
+
+g24_bind_mode_continue:
+	fetch 1,mem_24g_bind_mode_continue
+	rtn blank
+	increase -1,pdata
+	store 1,mem_24g_bind_mode_continue
+	rtn
+
+g24_work_mode_switch:
+	fetch 1,mem_24g_bind_mode_continue
+	nrtn blank
+	branch g24_switch_work_mode
+
+g24_bind_mode_switch:
+	fetch 1,mem_24g_bind_mode_continue
+	nrtn blank
+	branch g24_bind_mode_enable
+
+
+g24_mode_B_S_switch_init:	//bind and search
+	fetch 1,mem_24g_B_S_mode_switch_disable
+	nrtn blank
+	fetch 1,mem_24g_mode_B_S_switch_exit
+	call g24_mode_B_S_switch_start,blank
+	fetch 1,mem_24g_mode_B_S_switch_init
+	rtnbit1 0
+	set1 0,pdata
+	store 1,mem_24g_mode_B_S_switch_init
+	jam 1,mem_24g_mode_B_S_switch
+	jam 0,mem_24g_B_S_time_slice
+	setarg 0
+	store 2,mem_24g_mode_B_S_switch_cnt
+	jam 0x60,mem_24g_interval	//30ms
+	branch g24_timer_init
+
+g24_mode_switch_bind_search:
+	fetch 1,mem_24g_work_mode
+	rtneq DONGLE_WORK
+	fetch 1,mem_24g_B_S_mode_switch_disable
+	nrtn blank
+	fetch 1,mem_24g_mode_B_S_switch_exit
+	nrtn blank
+	fetch 1,mem_24g_mode_B_S_switch
+	rtn blank
+	call g24_timer_check
+	nrtn user
+	fetch 2,mem_24g_mode_B_S_switch_cnt
+	increase 1,pdata
+	store 2,mem_24g_mode_B_S_switch_cnt
+	arg 0x7d0,temp	//1min
+	isub temp,null
+	branch g24_mode_B_S_switch_exit,positive
+	call g24_bind_mode_continue
+	fetch 1,mem_24g_B_S_time_slice
+	increase 1,pdata
+	and_into 1,pdata
+	store 1,mem_24g_B_S_time_slice
+	beq 0,g24_mode_switch_search
+	beq 1,g24_bind_mode_enable
+	rtn
+
+g24_mode_switch_search:
+	fetch 1,mem_24g_bind_mode_continue
+	nbranch g24_bind_mode_enable,blank
+	branch g24_search_mode_enable
+
+g24_mode_B_S_switch_exit:
+	jam 1,mem_24g_mode_B_S_switch_exit
+	branch g24_search_mode_enable
+
+g24_mode_B_S_switch_stop:
+	jam 0,mem_24g_mode_B_S_switch
+	rtn
+g24_mode_B_S_switch_start:
+	jam 1,mem_24g_mode_B_S_switch
+	rtn
+
+
+
+/****************************g24 receiver mode switch end********************************/
+
+
+
+
+/****************************g24 receiver work mode start********************************/
+
+g24_work_init:
+	fetch 1,mem_24g_mode_init
+	rtnbit1 DONGLE_WORK
+	set1 DONGLE_WORK,pdata
+	store 1,mem_24g_mode_init
+	fetch 1,mem_tx_power_temp
+	store 1,mem_tx_power
+	jam 0,mem_24g_ackpayload_enable
+	jam 0,mem_usb_tx_enable
+	jam 1,mem_24g_abort_packet
+	jam 0,mem_24g_pid
+	fetch 4,mem_lap
+	call g24_update_addr_and_synccrc8
+	call g24_ch
+	branch g24_rx_interrupt_clear
+
+
+g24_switch_work_mode:
+	jam 0,mem_24g_ackpayload_enable
+g24_work_mode_enable:
+	jam DONGLE_WORK,mem_24g_work_mode
+	jam CLEAR_INIT,mem_24g_mode_init	
+	rtn
+
+
+g24_work_mode_start:
+	fetch 1,mem_24g_work_mode
+	rtnne DONGLE_WORK
+	call g24_work_init
+	call g24_ch_process
+	branch g24_receive_packet_start
+
+
+
+/****************************g24 receiver work mode end********************************/
+
+
+
+
+
+
+/****************************g24 receiver bind mode start********************************/
+
+g24_bind_mode_auto:
+	bpatchx patch3c_6,mem_patch3c
+	fetch 1,mem_24g_work_mode
+	rtnne DONGLE_BIND
+	call g24_bind_init
+	call g24_bind_data_process
+	fetch 1,mem_24g_pair_mode
+	nrtn blank
+	fetch 1,mem_24g_bind_device_status
+	rtn blank
+	jam 0,mem_24g_mode_switch
+	call g24_switch_work_mode
+	call g24_enable_nodata_timer
+	branch g24_timer_init
+
+
+/****************************g24 receiver bind mode end********************************/
+
+
+
+
+
+
+/****************************g24 receiver search mode start********************************/
+
+g24_search_mode_init:
+	fetch 1,mem_24g_mode_init
+	rtnbit1 DONGLE_SEARCH
+	set1 DONGLE_SEARCH,pdata
+	store 1,mem_24g_mode_init
+	jam 0,mem_24g_time_slice
+	jam 1,mem_24g_ackpayload_enable
+	setarg 0
+	store 3,mem_rssi_noise_self_index
+	store 7,mem_24g_self_config_ch_once
+	call g24_receiver_addr_check
+	nrtn zero
+	fetch 1,mem_24g_current_ch_number
+	store 1,mem_24g_self_ch_number
+	fetch 1,mem_24g_ch
+	store 1,mem_24g_self_last_ch
+	rtn
+
+
+g24_search_mode_auto:
+	bpatchx patch3c_7,mem_patch3c
+	fetch 1,mem_24g_work_mode
+	rtnne DONGLE_SEARCH
+	call g24_search_mode_init
+	call g24_auto_addr_ch_search
+	call g24_receive_transmit_ack
+	nbranch g24_rx_interrupt_clear,user3
+	//dongle addr,then parse rxdata
+	call g24_receiver_addr_check
+	call g24_receive_packet_parse,zero
+
+	fetch 1,mem_24g_abort_packet
+	call g24_mode_B_S_switch_stop,blank	//works on auto pair only
+	
+	//receive data,then go to paired
+	jam DONGLE_WORK,mem_24g_work_mode
+	fetch 1,mem_24g_mode_init
+	set1 DONGLE_WORK,pdata
+	store 1,mem_24g_mode_init
+
+	fetch 1,mem_24g_ackpayload_enable
+	sub pdata,2,null
+	ncall g24_ackpayload_disable,zero
+
+	call g24_rx_interrupt_clear
+	call g24_enable_nodata_timer
+	call g24_receiver_addr_check
+	branch g24_self_ch_num_reinit,zero
+	fetch 4,mem_24g_addr
+	fetcht 4,mem_24g_device2_addr
+	isub temp,null
+	branch g24_device2_ch_num_reinit,zero		
+	fetch 4,mem_24g_addr
+	fetcht 4,mem_24g_device1_addr
+	isub temp,null
+	branch g24_device1_ch_num_reinit,zero
+	rtn
+
+
+g24_self_ch_num_reinit:
+	fetch 1,mem_24g_self_ch_number
+g24_current_ch_num_reinit:
+	store 1,mem_24g_current_ch_number
+	rtn
+
+g24_device2_ch_num_reinit:
+	fetch 1,mem_24g_device2_ch_number
+	branch g24_current_ch_num_reinit
+
+g24_device1_ch_num_reinit:
+	fetch 1,mem_24g_device1_ch_number
+	branch g24_current_ch_num_reinit
+
+
+g24_auto_addr_ch_search:
+	fetch 1,mem_24g_time_slice
+	increase 1,pdata
+	and_into 3,pdata
+	store 1,mem_24g_time_slice
+	//pairing address and channel come first
+	beq 0,g24_auto_bind_config_device2
+	beq 1,g24_auto_bind_config_self
+	beq 2,g24_auto_bind_config_device1
+	beq 3,g24_auto_bind_config_self
+	rtn
+
+g24_auto_bind_config_device1:
+	call g24_bind_dvc1_payload_cfg
+	fetch 4,mem_24g_device1_addr
+	branch g24_auto_addr_ch_search,blank
+	call g24_update_addr_and_synccrc8
+	fetch 1,mem_24g_device1_config_ch_once
+	call g24_device1_config_ch_once,blank
+	fetch 1,mem_24g_device1_last_ch
+	store 1,mem_24g_ch
+	fetcht 1,mem_rssi_noise_device1_index
+	fetchr rega,2,mem_rssi_noise_device1_buffer_ptr
+	call rssi_store
+	storet 1,mem_rssi_noise_device1_index
+	call rssi_average
+	storet 1,mem_rssi_noise_device1_avg
+	sub temp,RSSI_THRESH_NOISE,null
+	nrtn positive
+	fetcht 1,mem_24g_device1_ch_number
+	call g24_ch_map_size
+	storet 1,mem_24g_device1_ch_number
+	store 1,mem_24g_device1_last_ch
+	rtn
+
+g24_device1_config_ch_once:
+	jam 1,mem_24g_device1_config_ch_once
+	arg 0,temp
+	call g24_ch_calc
+	store 1,mem_24g_device1_last_ch
+	rtn
+	
+g24_auto_bind_config_device2:
+	call g24_bind_dvc2_payload_cfg
+	fetch 4,mem_24g_device2_addr
+	branch g24_auto_addr_ch_search,blank
+	call g24_update_addr_and_synccrc8
+	fetch 1,mem_24g_device2_config_ch_once
+	call g24_device2_config_ch_once,blank
+	fetch 1,mem_24g_device2_last_ch
+	store 1,mem_24g_ch
+	fetcht 1,mem_rssi_noise_device2_index
+	fetchr rega,2,mem_rssi_noise_device2_buffer_ptr
+	call rssi_store
+	storet 1,mem_rssi_noise_device2_index
+	call rssi_average
+	storet 1,mem_rssi_noise_device2_avg
+	sub temp,RSSI_THRESH_NOISE,null
+	nrtn positive
+	fetcht 1,mem_24g_device2_ch_number
+	call g24_ch_map_size
+	storet 1,mem_24g_device2_ch_number
+	store 1,mem_24g_device2_last_ch
+	rtn
+
+g24_device2_config_ch_once:
+	jam 1,mem_24g_device2_config_ch_once
+	arg 0,temp
+	call g24_ch_calc
+	store 1,mem_24g_device2_last_ch
+	rtn	
+
+g24_auto_bind_config_self:
+	call g24_bind_dvc1_payload_cfg
+	fetch 4,mem_lap
+	call g24_update_addr_and_synccrc8
+	fetch 1,mem_24g_self_config_ch_once
+	call g24_self_config_ch_once,blank
+	fetch 1,mem_24g_self_last_ch
+	store 1,mem_24g_ch
+	fetcht 1,mem_rssi_noise_self_index
+	fetchr rega,2,mem_rssi_noise_self_buffer_ptr
+	call rssi_store
+	storet 1,mem_rssi_noise_self_index
+	call rssi_average
+	storet 1,mem_rssi_noise_self_avg
+	sub temp,RSSI_THRESH_NOISE,null
+	nrtn positive
+	fetcht 1,mem_24g_self_ch_number
+	call g24_ch_map_size
+	storet 1,mem_24g_self_ch_number
+	store 1,mem_24g_self_last_ch
+	rtn
+
+g24_self_config_ch_once:
+	jam 1,mem_24g_self_config_ch_once
+	fetch 1,mem_24g_self_last_ch
+	store 1,mem_24g_ch
+	rtn
+
+
+g24_ackpayload_disable:
+	jam 0,mem_24g_ackpayload_enable
+	rtn
+
+
+g24_receiver_addr_check:
+	fetch 4,mem_24g_addr
+	fetcht 4,mem_lap
+	isub temp,null
+	rtn
+
+/****************************g24 receiver search mode end********************************/
+
+
+
+
+
+
+/****************************g24 receiver nodata process start********************************/
+
+
+g24_nodata_process:
+	fetch 1,mem_24g_ackpayload_enable
+	rtneq 2
+	fetch 1,mem_24g_nodata_timer_enable
+	rtn blank
+	arg TIMER_NODATA,queue
+	call timer_check
+	nrtn blank
+	jam 0,mem_24g_nodata_timer_enable
+	jam 0,mem_24g_bind_mode_continue
+	call g24_mode_B_S_switch_init	//works on auto pair only	
+	//no data for more than 100ms,then go to search
+g24_search_mode_enable:	
+	jam DONGLE_SEARCH,mem_24g_work_mode
+	jam CLEAR_INIT,mem_24g_mode_init
+	branch g24_rx_interrupt_clear
+
+
+/****************************g24 receiver nodata process end********************************/
+
+
+g24_ch_process:
+	fetch 1,mem_24g_abort_packet
+	beq 1,rssi_noise_monitor
+	fetch 1,mem_24g_hop_packet
+	beq 1,g24_ch_receive_hop_pac
+	fetcht 4,mem_24g_hop_btclk
+	copy clkn_bt,pdata
+	isub temp,null
+	ncall g24_timer_timeout,positive
+	copy pdata,regb
+	fetch 4,mem_24g_hop_btclk
+	fetcht 1,mem_24g_hop_interval
+	iadd temp,temp
+	copy regb,pdata
+	isub temp,null
+	nrtn positive
+	set0 28,pdata
+	store 4,mem_24g_hop_btclk
+	jam 1,mem_24g_abort_packet
+	branch g24_ch
+
+g24_ch_receive_hop_pac:
+	jam 0,mem_24g_hop_packet
+	branch g24_ch
+
+g24_ch_timer_reinit:
+	copy clkn_bt,pdata
+	store 4,mem_24g_hop_btclk
+	rtn
+
Index: program/g24_protocol_stack/24g_reconn.prog
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/program/g24_protocol_stack/24g_reconn.prog	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/program/g24_protocol_stack/24g_reconn.prog	(working copy)
@@ -0,0 +1,161 @@
+
+/****************************g24 reconn transmitter start********************************/
+
+g24_reconn_timeout_timer:
+	arg mem_24g_reconn_timeout,regc
+	arg g24_stop_24g_mode,regb
+	branch timer_single_step_2B
+
+
+g24_reconn_start:
+	bpatchx patch3d_0,mem_patch3d
+	set1 mark_24g,mark
+	fetch 1,mem_24g_conn_sm
+	set0 STATE_24G_PAIR,pdata
+	set1 STATE_24G_RECONN,pdata
+	store 1,mem_24g_conn_sm
+	fetch 1,mem_24g_fast_conn_enable
+	branch g24_reconn_receiver_addr,blank
+	fetch 1,mem_24g_reconn_type
+	beq FAST_CONN_AND_RECEIVER,g24_reconn_fast_conn
+	beq FAST_CONN_AND_3_0_ADDR,g24_reconn_fast_conn
+	beq RECEIVER_AND_3_0_ADDR,g24_reconn_device_3_0_addr
+	beq PAIR_AND_3_0_ADDR,g24_reconn_device_3_0_addr
+g24_reconn_fast_conn:
+	fetch 1,mem_24g_pair_tx_power
+	store 1,mem_tx_power
+	fetcht 1,mem_24g_fast_conn_temp_ch
+	storet 1,mem_24g_current_ch_number
+	fetch 4,mem_24g_fast_conn_addr
+	call g24_ch_syncword_crc8_init
+	storet 1,mem_24g_fast_conn_temp_ch
+	rtn
+	 
+g24_reconn_receiver_addr:
+	jam TX_POWER_3DB,mem_tx_power
+	fetcht 1,mem_24g_receiver_temp_ch
+	storet 1,mem_24g_current_ch_number
+	fetch 4,mem_24g_receiver_addr
+	call g24_ch_syncword_crc8_init
+	storet 1,mem_24g_receiver_temp_ch
+	rtn
+
+g24_reconn_device_3_0_addr:
+	jam TX_POWER_3DB,mem_tx_power
+	fetcht 1,mem_24g_device_temp_ch
+	storet 1,mem_24g_current_ch_number
+	fetch 4,mem_24g_device_addr
+	call g24_ch_syncword_crc8_init
+	storet 1,mem_24g_device_temp_ch
+	rtn	
+
+g24_store_receiver_addr:
+	fetch 4,mem_24g_rxpayload+2
+	store 4,mem_24g_receiver_addr	
+g24_ch_syncword_crc8_init:	
+	call g24_update_addr_and_synccrc8
+	branch g24_ch
+
+
+g24_reconn_dispatch:
+	bpatchx patch3d_1,mem_patch3d
+	call g24_reconn_data_prep
+	call g24_transmit_receive_ack
+	nbranch g24_reconn_device_fail,sync
+	nbranch g24_reconn_device_fail,user3
+	call g24_ackpayload_parse
+g24_reconn_receiver_succ:
+	fetch 1,mem_24g_conn_sm
+	set0 STATE_24G_RECONN,pdata
+	store 1,mem_24g_conn_sm
+	setarg 0
+	store 2,mem_24g_pair_timeout
+	store 2,mem_24g_reconn_count
+	store 2,mem_24g_reconn_timeout	
+	fetch 4,mem_24g_pair_addr
+	fetcht 4,mem_24g_addr
+	isub temp,null
+	branch g24_pair_start,zero
+	fetch 4,mem_24g_device_addr
+	fetcht 4,mem_24g_addr
+	isub temp,null
+	call g24_store_receiver_addr,zero
+	jam BT_EVT_24G_ATTEMPT_SUCCESS,mem_fifo_temp
+	call ui_ipc_send_event
+g24_txbuf_clear:
+	arg 4,loopcnt
+	arg mem_24g_txbuf,contw
+	branch memset0
+
+g24_reconn_data_prep:
+	jam DATATYPE_ATTEMP,mem_24g_txbuf
+	fetch 1,mem_24g_data_type
+	store 1,mem_24g_txbuf+1
+	fetch 4,mem_24g_device_addr
+	store 4,mem_24g_txbuf+2
+	jam 6,mem_24g_datalen
+	branch g24_transmit_prep
+
+g24_reconn_device_fail:
+	fetch 1,mem_24g_fast_conn_enable
+	branch g24_ch,blank
+	fetch 2,mem_24g_reconn_count
+	increase 1,pdata
+	store 2,mem_24g_reconn_count
+	isolate1 3,pdata	// each 8 times switch
+	fetch 1,mem_24g_reconn_type
+	beq FAST_CONN_AND_RECEIVER,g24_reconn_fast_conn_and_receiver
+	beq FAST_CONN_AND_3_0_ADDR,g24_reconn_fast_conn_and_3_0
+	beq RECEIVER_AND_3_0_ADDR,g24_reconn_receiver_and_3_0
+	beq PAIR_AND_3_0_ADDR,g24_reconn_pair_and_3_0
+	branch g24_reconn_receiver_addr
+
+
+g24_reconn_fast_conn_and_receiver:
+	branch g24_reconn_receiver_addr,true
+	branch g24_reconn_fast_conn
+
+g24_reconn_fast_conn_and_3_0:
+	branch g24_reconn_device_3_0_addr,true
+	branch g24_reconn_fast_conn
+	
+g24_reconn_receiver_and_3_0:
+	branch g24_reconn_device_3_0_addr,true
+	branch g24_reconn_receiver_addr
+
+g24_reconn_pair_and_3_0:
+	branch g24_pair_init_param,true
+	branch g24_reconn_device_3_0_addr
+
+
+/****************************g24 reconn transmitter end********************************/
+
+
+
+
+
+/****************************g24 reconn receiver start********************************/
+
+g24_data_attemp:
+	fetch 1,mem_24g_rxdata_temp+3
+	beq DATATYPE_DEVICE1,g24_data_attemp_device1
+	beq DATATYPE_DEVICE2,g24_data_attemp_device2
+	rtn
+g24_data_attemp_device1:
+	fetch 4,mem_24g_rxdata_temp+4
+	store 4,mem_24g_transmitter_addr
+g24_store_device1_addr:
+	store 4,mem_24g_device1_addr
+	rtn
+g24_data_attemp_device2:
+	fetch 4,mem_24g_rxdata_temp+4
+	store 4,mem_24g_transmitter_addr	
+g24_store_device2_addr:
+	store 4,mem_24g_device2_addr
+	rtn
+
+/****************************g24 reconn receiver end********************************/
+
+
+
+
Index: program/g24_protocol_stack/24g_rssi.prog
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/program/g24_protocol_stack/24g_rssi.prog	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/program/g24_protocol_stack/24g_rssi.prog	(working copy)
@@ -0,0 +1,109 @@
+
+/****************************g24 rssi general start********************************/
+
+rssi_store:
+	copy rega,pdata
+	iadd temp,contw
+	fetch 1,mem_rssi
+	istore 1,contw
+	increase 1,temp
+	fetch 1,mem_rssi_buff_index	//buff len minus 1
+	iand temp,temp
+	rtn
+rssi_average:
+	fetch 1,mem_rssi_buff_index
+	increase 1,pdata
+	store 2,mem_loopcnt
+	copy pdata,loopcnt
+	copy rega,contr
+	arg 0,pdata
+rssi_average_loop:
+	ifetcht 1,contr
+	iadd temp,pdata
+	loop rssi_average_loop
+	fetcht 2,mem_loopcnt
+	idiv temp
+	call wait_div_end
+	quotient temp
+	rtnmark1 mark_24g_rxmode
+	copy temp,pdata
+	rtnmark0 mark_24g
+	call bcd
+	copy pdata,temp
+	rtn
+
+save_rssi_dec:
+	call save_rssi
+	branch rssi_hex2dec
+
+/****************************g24 rssi general end********************************/
+
+
+
+
+
+/****************************g24 transmitter rssi start********************************/
+rssi_transmitter_buff_init:
+	fetch 2,mem_rssi_signal_buf_ptr
+	branch rssi_buff_clear
+
+rssi_signal:
+	copy pdata,rega
+	fetcht 1,mem_rssi_signal_index
+	fetch 2,mem_rssi_signal_buf_ptr
+	iadd temp,contw
+	copy rega,pdata
+	istore 1,contw
+	increase 1,temp
+	fetch 1,mem_rssi_buff_index	//buff len minus 1
+	iand temp,temp
+	storet 1,mem_rssi_signal_index
+	rtn
+
+/****************************g24 transmitter rssi end********************************/
+
+
+
+
+
+/****************************g24 receiver rssi start********************************/
+
+rssi_receiver_buff_init:
+	fetch 2,mem_rssi_noise_buffer_ptr
+	call rssi_buff_clear
+	fetch 2,mem_rssi_noise_self_buffer_ptr
+	call rssi_buff_clear
+	fetch 2,mem_rssi_noise_device1_buffer_ptr
+	call rssi_buff_clear
+	fetch 2,mem_rssi_noise_device2_buffer_ptr
+rssi_buff_clear:
+	rtn blank
+	copy pdata,contw
+	fetch 1,mem_rssi_buff_index
+	increase 1,pdata
+	copy pdata,loopcnt
+	branch clear_mem
+
+
+rssi_noise:
+	call save_rssi_dec
+	rtn blank
+	fetcht 1,mem_rssi_noise_index
+	fetchr rega,2,mem_rssi_noise_buffer_ptr
+	call rssi_store
+	storet 1,mem_rssi_noise_index
+	rtn
+
+
+rssi_noise_monitor:
+	fetchr rega,2,mem_rssi_noise_buffer_ptr
+	call rssi_average
+	storet 1,mem_rssi_noise_avg
+	sub temp,RSSI_THRESH_NOISE,null
+	nrtn positive
+	branch g24_ch
+
+
+/****************************g24 receiver rssi end********************************/
+
+	
Index: program/g24_protocol_stack/24g_transmitter.prog
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/program/g24_protocol_stack/24g_transmitter.prog	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/program/g24_protocol_stack/24g_transmitter.prog	(working copy)
@@ -0,0 +1,380 @@
+
+
+g24_transmit_init:
+	fetch 4,mem_lap		//need to roll this address
+	store 4,mem_24g_device_addr
+	call g24_rx_window_init
+	branch rssi_transmitter_buff_init
+
+g24_interval_param_4ms:
+	setarg G24_4MS_INTERVAL_PARAM
+	store 3,mem_24g_short_sleep_set
+	setarg 0x100c0c
+	store 3,mem_24g_interval
+	setarg 0x00bb80
+	store 3,mem_24g_long_sleep_set
+	jam 5,mem_24g_fast_hop_count
+	rtn
+
+g24_interval_param_8ms:
+	setarg G24_8MS_INTERVAL_PARAM
+	store 3,mem_24g_short_sleep_set
+	setarg 0x1c1919
+	store 3,mem_24g_interval
+	setarg 0x017700
+	store 3,mem_24g_long_sleep_set
+	jam 11,mem_24g_fast_hop_count
+	rtn
+
+
+g24_transmit_dispatch:
+	rtnmark0 mark_24g
+	fetch 1,mem_24g_conn_sm
+	bbit1 STATE_24G_PAIR,g24_pair_dispatch
+	bbit1 STATE_24G_RECONN,g24_reconn_dispatch
+	fetch 1,mem_24g_transmit_by_interrupt
+	beq G24_TX_TIMER_INT_ENABLE,g24_transmit_by_interrupt
+g24_transmit_no_interrupt:
+	bpatchx patch3d_2,mem_patch3d
+	call g24_txdata_prep
+	nbranch g24_nodata_transmit,user
+g24_transmit_start:
+	call g24_transmit_process
+	call power_ctrl_start
+	fetch 1,mem_device_option
+	beq dvc_op_mouse,mouse_24g_transmit_start
+g24_transmit_start_next:	
+	fetch 8,mem_24g_long_sleep_set
+	store 8,mem_24g_enter_hibernate
+	fetch 2,mem_24g_long_sleep_param_update_timer_init
+	store 2,mem_24g_long_sleep_param_update_timer
+g24_short_sleep:
+	call g24_lpm_wait
+	nrtn user
+	call clear_wake
+	fetch 3,mem_24g_short_sleep_set
+	branch g24_long_seep2
+
+
+
+
+/****************************g24 transmitter data prep start********************************/
+
+g24_txdata_prep:
+	call g24_package_data
+	nrtn user
+	branch g24_transmit_prep
+
+
+g24_package_data:
+	fetch 2,mem_cb_24g_transmit_data
+	call callback_func
+	branch g24_accumulate_data,user
+	fetch 7,mem_24g_txbuf+1	//mouse data
+	rtn blank
+	branch enable_user	// retransmit
+	
+g24_accumulate_data:
+	jam 0,mem_24g_abort_pac
+	add rega,1,pdata
+	store 1,mem_24g_datalen
+	call g24_transmit_rf_ctrl_clear
+	store 1,mem_24g_txbuf
+	copy regb,contr
+	copy rega,loopcnt
+	branch memcpy
+
+g24_transmit_rf_ctrl_clear:	
+	fetch 1,mem_24g_data_type
+	and_into bits_data,pdata
+	store 1,mem_24g_data_type
+	rtn
+
+/****************************g24 transmitter data prep end********************************/
+
+
+
+
+/****************************g24 transmitter data transmit start********************************/
+
+g24_transmit_process:
+	jam 0,mem_24g_retry
+g24_transmit_loop:
+	fetchr timeup,2,mem_param_rx_setup
+	until clkn_rt,meet
+	call g24_transmit_receive_ack
+	fetch 1,mem_24g_no_ack	//tx noack
+	beq no_ack_24g,g24_transmit_no_ack
+	nbranch g24_retransmit,sync
+	nbranch g24_retransmit,user3
+	call g24_ackpayload_parse
+	fetch 1,mem_device_option
+	beq dvc_op_mouse,mouse_wakeup_24g
+g24_transmit_no_ack:
+	call power_ctrl_pac_succ_incrs
+g24_transmit_next_packet:
+	call g24_txbuf_clear
+	fetch 1,mem_24g_pid
+	increase 1,pdata
+	store 1,mem_24g_pid
+	call g24_hop_enable_packet
+g24_transmit_abandon:
+	setarg 0
+	store 1,mem_24g_ensure
+	store 2,mem_24g_txfail_cnt
+	rtn
+
+g24_transmit_receive_ack:
+	disable user3
+	call g24_transmit
+	fetch 1,mem_24g_no_ack
+	beq no_ack_24g,g24_end_of_packet
+	force 0,radio_ctrl
+	fetch 4,mem_24g_addr
+	iforce access
+	call calc_mod_value_scale_le	
+	fetcht 1,mem_last_freq
+	call set_freq_rx
+	call rf_rx_enable
+	call g24_receive_rxon
+	call g24_end_of_packet,user3
+	rtn
+
+g24_retransmit:
+	fetch 1,mem_24g_abort_pac
+	nrtn blank
+	fetch 2,mem_24g_txfail_cnt
+	increase 1,pdata
+	store 2,mem_24g_txfail_cnt	
+	fetch 1,mem_24g_txfail_cnt+1
+	bbit1 4,g24_tx_attempt_fail
+	call g24_transmit_hop_process
+	branch g24_transmit_loop
+
+
+g24_ackpayload_parse:
+	call g24_read_len_pid_crc
+	fetch 1,mem_24g_rxdata_length	//ack payload length 
+	rtn blank
+	iforce loopcnt
+	arg mem_24g_rxbuf+2,contr
+	arg mem_24g_rxpayload,contw	//ack payload buffer 
+	branch memcpy
+
+
+g24_tx_attempt_fail:
+	setarg 0
+	store 2,mem_24g_txfail_cnt
+	jam 1,mem_24g_attempt_fail_flag
+g24_stop_24g_mode:	
+	jam BT_EVT_24G_ATTEMPT_FAIL,mem_fifo_temp
+	branch ui_ipc_send_event
+
+/****************************g24 transmitter data transmit end********************************/
+
+
+
+
+
+/****************************g24 transmitter hop start********************************/
+
+g24_transmit_hop_process:
+	bpatchx patch3d_3,mem_patch3d
+	fetcht 1,mem_24g_retry
+	fetch 1,mem_24g_fast_hop_count			// 125Hz=11  250Hz=5
+	isub temp,null
+	nbranch g24_tx_fast_hop,positive		// >= (6+6)or(3+3) hop fast    fail packet count >= 2
+	increase 1,temp
+	storet 1,mem_24g_retry
+	fetch 1,mem_24g_fast_hop_count
+	beq 5,g24_transmit_hop_process_4ms
+	fetch 1,mem_24g_retry
+	beq 6,g24_hop_ch_disable
+	beq 12,g24_hop_ch_disable
+	rtn	
+
+
+g24_transmit_hop_process_4ms:
+	fetch 1,mem_24g_retry
+	beq 3,g24_hop_ch_disable
+	beq 6,g24_hop_ch_disable
+	rtn	
+
+
+
+g24_hop_ch_enable:
+	//fetch 1,mem_24g_data_type
+	//set1 bit_hop,pdata
+	//store 1,mem_24g_data_type
+	//update txpayload
+g24_txpayload_type_update:	
+	bmark1 mark_ble_lr,g24_lr_type_update
+	store 1,mem_24g_txpayload+OFFSET_DATA_TYPE
+	rtn
+g24_lr_type_update:
+	store 1,mem_24g_txpayload+OFFSET_LR_DATA_TYPE
+	rtn
+
+g24_hop_enable_packet:
+	fetch 1,mem_24g_data_type
+	rtnbit0 bit_hop
+g24_hop_ch_disable:
+	fetch 1,mem_24g_data_type
+	set0 bit_hop,pdata
+	store 1,mem_24g_data_type
+	call g24_txpayload_type_update
+	call power_ctrl_pac_succ_decrs
+	branch g24_ch
+
+g24_tx_fast_hop:
+	call power_ctrl_txpower_incrs
+	call power_ctrl_pac_succ_decrs
+	branch g24_ch
+	
+/****************************g24 transmitter hop end********************************/
+
+
+
+
+
+
+
+
+
+
+
+
+
+/****************************g24 transmitter long lpm prep start********************************/
+
+g24_search_receiver:
+	fetch 2,mem_cb_24g_search_receiver
+	branch callback_func
+
+g24_nodata_transmit:
+	fetch 1,mem_24g_abort_pac
+	call g24_send_abort_packet,blank
+	fetch 1,mem_24g_transmit_by_interrupt
+	rtneq G24_TX_TIMER_INT_ENABLE
+	call g24_search_receiver
+	branch g24_long_sleep
+
+g24_send_abort_packet:
+	jam TYPE_MS,mem_24g_data_type
+	jam 1,mem_24g_abort_pac
+	call g24_transmit_rf_ctrl_clear
+	store 1,mem_24g_txbuf
+	setarg 0
+	store 7,mem_24g_txbuf+1
+	fetch 4,mem_24g_device_addr
+	store 4,mem_24g_txbuf+8
+	jam 12,mem_24g_datalen
+	fetch 1,mem_24g_data_type
+	set1 bit_abort,pdata
+	store 1,mem_24g_data_type
+	call g24_transmit_prep
+	branch g24_transmit_start
+	
+g24_long_sleep:
+	call g24_lpm_wait
+	nrtn user
+	fetch 8,mem_24g_enter_hibernate
+g24_long_seep2:
+	call clk2lpo
+	storet 4,mem_sleep_counter
+	branch lpm_sleep
+
+g24_lpm_wait:
+	bpatchx patch3d_4,mem_patch3d
+	enable user
+	call lpo_calibration
+	fetch 3,mem_clks_per_lpo
+	branch disable_user,blank
+	fetch 1,mem_lpm_mode
+	branch disable_user,blank
+	fetch 1,mem_24g_transmit_by_interrupt
+	beq G24_TX_TIMER_INT_ENABLE,disable_user
+g24_setgpio_lpm_before:
+	fetch 2,mem_cb_24g_lpm_before
+	branch callback_func
+
+
+/****************************g24 transmitter long lpm prep end********************************/
+
+
+
+
+
+
+
+/****************************g24 transmit by interrupt start********************************/
+
+g24_transmit_by_interrupt:
+	call g24_timer_check
+	nrtn user
+	call g24_interval_calibrate
+	fetch 2,mem_24g_transmit_by_interrupt_exit_count
+	increase 1,pdata
+	store 2,mem_24g_transmit_by_interrupt_exit_count
+	fetcht 2,mem_24g_transmit_by_interrupt_exit_count_init
+	isub temp,null
+	call g24_transmit_by_interrupt_exit,zero
+	branch g24_transmit_no_interrupt
+
+	
+g24_transmit_by_interrupt_exit:
+	jam G24_TX_TIMER_INT_DISABLE,mem_24g_transmit_by_interrupt
+	setarg 0
+	store 2,mem_24g_transmit_by_interrupt_exit_count
+	setarg 100
+	store 2,mem_24g_transmit_by_interrupt_exit_count_init
+g24_interval_min:
+	jam 0,mem_24g_pac_index
+	fetch 1,mem_24g_interval_min
+g24_interval_store:
+	store 1,mem_24g_interval
+	rtn
+g24_interval_max:
+	fetch 1,mem_24g_interval_max
+	branch g24_interval_store
+	
+g24_interval_calibrate:
+	fetch 1,mem_24g_pac_index
+	increase 1,pdata
+	store 1,mem_24g_pac_index
+	beq 4,g24_interval_max
+	beq 5,g24_interval_min
+	rtn
+
+g24_transmit_by_interrupt_enable:
+	jam G24_TX_TIMER_INT_ENABLE,mem_24g_transmit_by_interrupt
+	setarg 0
+	store 2,mem_24g_transmit_by_interrupt_exit_count
+	rtn
+
+
+/****************************g24 transmit by interrupt end********************************/
+
+
+
+
+/****************************g24 transmitter fac check start********************************/
+
+g24_factory_check:
+	arg 2,loopcnt
+	arg mem_24g_addr,contr
+pdata_0xff_check:
+	call enable_user
+	setarg 0xffff
+pdata_0xff_check_loop:
+	ifetcht 2,contr
+	isub temp,null
+	ncall disable_user,zero
+	loop pdata_0xff_check_loop
+	rtn
+
+/****************************g24 transmitter fac check end********************************/
+
+
+
+	
Index: program/g24_protocol_stack/24g_txpower_ctrl.prog
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/program/g24_protocol_stack/24g_txpower_ctrl.prog	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/program/g24_protocol_stack/24g_txpower_ctrl.prog	(working copy)
@@ -0,0 +1,95 @@
+
+/****************************g24 transmitter tx power start********************************/
+
+power_ctrl_start:
+	bpatchx patch3d_5,mem_patch3d
+	fetch 2,mem_ui_state_map
+	rtnbit1 UI_STATE_BLE_ADV
+	rtnbit1 UI_STATE_BT_RECONNECT
+	rtnbit1 UI_STATE_BT_DISCOVERY
+	fetchr rega,2,mem_rssi_signal_buf_ptr
+	call rssi_average
+	storet 1,mem_rssi_avg_received
+	fetch 1,mem_rssi_dis_max_24g
+	bmark1 mark_24g,power_ctrl_start_next
+	fetch 1,mem_rssi_dis_max_ble
+power_ctrl_start_next:
+	isub temp,null
+	nbranch power_ctrl_txpower_incrs_force,positive
+	fetch 1,mem_power_ctrl_pac_succ_cnt
+	sub pdata,2,null
+	nbranch power_ctrl_txpower_decrs_check,positive
+	fetch 1,mem_power_ctrl_pac_succ_cnt
+	beq 0,power_ctrl_txpower_incrs
+	rtn
+
+power_ctrl_txpower_decrs_check:
+	fetch 1,mem_power_ctrl_pac_succ_cnt
+	fetcht 1,mem_power_ctrl_pac_succ_cnt_init
+	isub temp,null
+	nrtn zero
+	jam 0,mem_power_ctrl_pac_succ_cnt
+power_ctrl_txpower_decrs:
+	fetcht 1,mem_rssi_avg_received
+	fetch 1,mem_rssi_dis_min_24g
+	bmark1 mark_24g,power_ctrl_txpower_decrs_next
+	fetch 1,mem_rssi_dis_min_ble
+power_ctrl_txpower_decrs_next:	
+	isub temp,null
+	nrtn positive
+	fetch 1,mem_power_ctrl_level
+	beq 0,power_ctrl_decrs_level0
+	increase -1,pdata
+	store 1,mem_power_ctrl_level
+	beq 0,power_ctrl_decrs_level0
+power_ctrl_decrs_level1:
+power_ctrl_incrs_level1:	//0dBm
+	jam TX_POWER_0DB,mem_tx_power
+	rtn
+
+power_ctrl_txpower_incrs_force:
+	jam 0,mem_power_ctrl_pac_succ_cnt
+power_ctrl_txpower_incrs:
+	fetch 1,mem_power_ctrl_level
+	beq 2,power_ctrl_incrs_level2
+	increase 1,pdata
+	store 1,mem_power_ctrl_level
+	beq 1,power_ctrl_incrs_level1
+power_ctrl_incrs_level2:	//+6dBm
+	jam TX_POWER_6DB,mem_tx_power
+	rtn
+	
+power_ctrl_decrs_level0: //-5dBm
+	jam TX_POWER_f5DB,mem_tx_power
+	rtn
+
+power_ctrl_pac_succ_cnt_init:
+	jam 1,mem_power_ctrl_level
+	jam 0,mem_power_ctrl_pac_succ_cnt
+	rtn
+
+power_ctrl_pac_succ_incrs:
+	fetch 1,mem_power_ctrl_pac_succ_cnt
+	increase 1,pdata
+	store 1,mem_power_ctrl_pac_succ_cnt
+	rtn
+
+power_ctrl_pac_succ_decrs:
+	fetch 1,mem_power_ctrl_pac_succ_cnt
+	sub pdata,2,null
+	ncall power_ctrl_pac_succ_cnt_reinit,positive
+	fetch 1,mem_power_ctrl_pac_succ_cnt
+	rtneq 0
+	increase -1,pdata
+	store 1,mem_power_ctrl_pac_succ_cnt
+	rtn
+
+power_ctrl_pac_succ_cnt_reinit:
+	jam 3,mem_power_ctrl_pac_succ_cnt
+	rtn
+
+/****************************g24 transmitter tx power end********************************/
+
+
+
+
Index: program/hci_main.prog
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/program/hci_main.prog	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/program/hci_main.prog	(working copy)
@@ -0,0 +1,320 @@
+/*********************************/
+/**********   HCI  *****************/
+/*********************************/
+
+hci_init:
+	clear_stack		//清空堆栈
+	call hci_init_clksel
+	call hci_init_uart_default_config
+	call hci_init_uart_config
+	call hci_init_pwm_default_config
+	call hci_init_pwm
+
+	jam 1,mem_hci_command_complete_num_hci_command_packet
+	jam HCI_H4_TYPE_EVENT,mem_hci_event_head_type
+
+hci_process_loop:
+	call hci_process_check_uart_rx
+	branch hci_process_loop
+
+
+hci_init_clksel:
+	fetch 1,mem_tmp_buffer+EFUSE_OFFSET_HCI_BOOT_CLKSEL
+	bbit1 7,hci_init_clksel_xtal
+hci_init_clksel_dpll:
+	jam 0xff,core_clkpll_ctrl1
+	nop 100
+	jam 0x0e,core_clkpll_ctrl2
+	jam 0x03,core_clkpll_ctrl0
+	jam clksel_dpll,core_clksel
+	rtn
+	
+hci_init_clksel_xtal:
+	jam clksel_xtal,core_clksel
+	rtn
+
+hci_init_uart_default_config:
+	call hci_init_uart_default_config_tx
+	call hci_init_uart_default_config_rx
+	call hci_init_uart_default_config_rts
+	branch hci_init_uart_default_config_cts
+
+hci_init_uart_default_config_tx:
+	fetch 1,mem_hci_uart_tx_gpio
+	nrtn blank
+	jam HCI_UART_TX_GPIO_NUM,mem_hci_uart_tx_gpio
+	rtn	
+
+hci_init_uart_default_config_rx:
+	fetch 1,mem_hci_uart_rx_gpio
+	nrtn blank
+	jam HCI_UART_RX_GPIO_NUM,mem_hci_uart_rx_gpio
+	rtn	
+hci_init_uart_default_config_rts:
+	fetch 1,mem_hci_uart_rts_gpio
+	nrtn blank
+	jam HCI_UART_RTS_GPIO_NUM,mem_hci_uart_rts_gpio
+	rtn	
+hci_init_uart_default_config_cts:
+	fetch 1,mem_hci_uart_cts_gpio
+	nrtn blank
+	jam HCI_UART_CTS_GPIO_NUM,mem_hci_uart_cts_gpio
+	rtn	
+
+
+hci_init_uart_config:
+	setarg mem_h5rx_buf
+	store 2,mem_pdatatemp
+	setarg mem_h5rx_buf_end
+	istore 2,contw
+	setarg mem_h5tx_buf
+	istore 2,contw
+	setarg mem_h5tx_buf_end
+	istore 2,contw	
+	fetch 8,mem_pdatatemp
+	call uarta_init_dma_mem
+	fetch 1,mem_tmp_buffer+EFUSE_OFFSET_HCI_BOOT_CLKSEL
+	isolate1 7,pdata
+	call uart_clock_select_main_freq_crystal,true
+	ncall uart_clock_select_main_freq_dpll,true
+	arg 115200,temp
+	call uarta_calc_baud_rate_config
+	fetch 1,mem_hci_uart_tx_gpio
+	arg gpcfg_uart_txd,temp
+	call gpio_config_function_int
+	fetch 1,mem_hci_uart_rx_gpio
+	arg gpcfg_uart_rxd|gpcfg_pullup,temp
+	call gpio_config_function_int
+	fetch 1,mem_hci_uart_rts_gpio
+	arg gpcfg_uart_rts,temp
+	call gpio_config_function_int
+	fetch 1,mem_hci_uart_cts_gpio
+	arg gpcfg_uart_cts,temp
+	call gpio_config_function_int
+
+	arg FUN_UART_CONTROL_ENABLE|FUN_UART_CONTROL_SETTING_RATE_BAUD,temp
+	storet 1,core_uart_ctrl
+	branch clean_mem
+
+hci_init_pwm_default_config:
+	fetch 1,mem_hci_pwm_12mhz_gpio
+	nrtn blank
+	jam HCI_PMW_12MHZ_GPIO_NUM,mem_hci_pwm_12mhz_gpio
+	rtn	
+
+hci_init_pwm:
+	fetch 1,mem_hci_pwm_12mhz_gpio
+	arg gpcfg_pwm_out0,temp
+	call gpio_config_function_int
+	arg 0x40,rega
+	call pwm_init
+	arg 0,rega
+	arg 0,regb
+	setarg 0
+	call pwm_duty_cycle_set
+	arg 0,queue
+	branch pwm_set_select
+
+
+hci_process_check_uart_rx:
+	fetch 2,core_uart_rxitems
+	add pdata,-4,rega
+	nrtn positive
+	call uarta_prepare_rx
+	ifetch 1,contru
+	beq HCI_H4_TYPE_CMD,hci_parse_packet_cmd
+//	beq HCI_H4_TYPE_ACL,hci_parse_packet_acl
+	call delay_10ms
+	branch uarta_clear_current_rx
+
+//hci_parse_packet_acl:
+//	rtn
+hci_parse_packet_cmd:
+	ifetch 2,contru	// Opcode
+	store 2,mem_hci_opcode
+	arg 0x3ff,temp
+	iand temp,temp	//low 10bit
+	storet 2,mem_hci_opcode_ocf
+	rshift2 pdata,pdata
+	rshift8 pdata,pdata	//high 6bit
+	store 1,mem_hci_opcode_ogf
+	ifetch 1,contru	// parameter total length
+	pincrease -1		//大于等于
+	isub rega,null
+	rtn positive
+	call hci_parse_complete_packet
+	branch hci_drop_current_packet
+
+hci_parse_complete_packet:
+	fetch 1,mem_hci_opcode_ogf
+//	beq HCI_OGF_LINK_CONTROL,hci_parse_packet_cmd_ogf_link_control
+//	beq HCI_OGF_LINK_POLICY,hci_parse_packet_cmd_ogf_link_policy
+//	beq HCI_OGF_CONTROLLER_AND_BASEBAND,hci_parse_packet_cmd_ogf_controller_and_baseband
+//	beq HCI_OGF_INFOMATIONAL_PARAM,hci_parse_packet_cmd_ogf_infomational_parameters
+//	beq HCI_OGF_STATUS_PARAM,hci_parse_packet_cmd_ogf_status_parameters
+//	beq HCI_OGF_TEST,hci_parse_packet_cmd_ogf_testing
+//	beq HCI_OGF_LE_CONTROLLER,hci_parse_packet_cmd_ogf_le_controller
+	beq HCI_OGF_VENDOR_SPECIFIC_DEBUG,hci_parse_packet_cmd_ogf_vendorspecific_debug
+	branch hci_send_event_command_complete_error_command_nuknown
+
+//hci_parse_packet_cmd_ogf_link_control:
+//hci_parse_packet_cmd_ogf_link_policy:
+//hci_parse_packet_cmd_ogf_controller_and_baseband:
+//hci_parse_packet_cmd_ogf_infomational_parameters:
+//hci_parse_packet_cmd_ogf_status_parameters:
+//hci_parse_packet_cmd_ogf_testing:
+//hci_parse_packet_cmd_ogf_le_controller:
+
+hci_parse_packet_cmd_ogf_vendorspecific_debug:
+	bpatch patch1c_6,mem_patch1c
+	fetch 1,mem_hci_opcode_ocf
+	beq HCI_VENDOR_CMD_RESET,hci_normal_reply
+	beq HCI_VENDOR_CMD_CHIPID,phci_grp_vendor_chipid
+	beq HCI_VENDOR_CMD_BAUD,phci_grp_vendor_baud
+	beq HCI_VENDOR_CMD_PATCH,phci_grp_vendor_patch
+	beq HCI_VENDOR_CMD_PATCH_DONE,phci_grp_vendor_done
+	beq HCI_VENDOR_CMD_ECHO,hci_normal_reply
+	beq HCI_VENDOR_CMD_MEM,phci_grp_vendor_mem
+	beq HCI_VENDOR_CMD_SET_FLOW_CONTROL,phci_grp_vendor_flow_control
+	branch hci_normal_reply
+
+	
+phci_grp_vendor_chipid:
+	jam COMMAND_SUCCEEDED,mem_hci_command_complete_return_parameter
+	fetch 2,core_chipid
+	store 2,mem_hci_command_complete_return_parameter_chip_id
+	arg 3,loopcnt
+	branch hci_send_event_command_complete
+	
+phci_grp_vendor_baud:
+	ifetch 2,contu
+	store 2,core_uart_baud
+	rtn
+
+
+phci_grp_vendor_patch_common:
+	ifetch 1,contu
+	copy pdata,temp //check sum via temp
+	store 1,core_ucode_low
+	ifetch 1,contu
+	iadd temp,temp
+	set1 7,pdata
+	store 1,core_ucode_ctrl
+	ifetch 1,contu
+	iadd temp,temp
+	copy pdata,loopcnt
+	rtn
+	
+phci_grp_vendor_patch:
+	call phci_grp_vendor_patch_common
+phci_grp_vendor_patch_loop:
+	ifetch 1,contu
+	store 1,core_ucode_data
+	iadd temp,temp
+	loop phci_grp_vendor_patch_loop
+phci_grp_vendor_patch_check_sum:	
+	and temp,0xff,temp
+	ifetch 1,contu
+	isub temp,null
+	nbranch phci_grp_vendor_patch_bad,zero
+	branch hci_normal_reply
+
+phci_grp_vendor_done:
+	arg 0x20,loopcnt    //patch switch length
+	arg mem_patch00,contw
+	arg 0,temp //checksum
+phci_grp_vendor_done_loop:
+	ifetch 1,contu
+	istore 1,contw
+	iadd temp,temp
+	loop phci_grp_vendor_done_loop
+	and temp,0xff,temp
+	ifetch 1,contu
+	isub temp,null
+	nbranch phci_grp_vendor_patch_bad,zero
+	jam 0,core_ucode_ctrl
+	call hci_normal_reply
+	call wait_uarttx
+	branch soft_reset
+
+phci_grp_vendor_patch_bad:
+	jam 0,core_ucode_ctrl
+	branch hci_send_event_command_complete_error_command_nuknown
+	
+
+phci_grp_vendor_mem:
+	ifetch 1,contu
+	copy pdata,loopcnt
+	ifetch 2,contu
+	copy pdata,contw
+	call uart_copy_rx_bytes
+	branch hci_normal_reply
+
+phci_grp_vendor_flow_control:
+	fetch 1,core_uart_ctrl
+	set1 BIT_UART_CONTROL_FLOW_CONTROL,pdata
+	store 1,core_uart_ctrl
+	branch hci_normal_reply
+
+	
+hci_normal_reply:
+	branch hci_send_event_command_complete_without_payload
+
+hci_send_event_command_complete_error_command_nuknown:
+	jam COMMAND_UNKNOWN,mem_hci_command_complete_return_parameter
+	branch hci_send_event_command_complete_without_payload+1
+hci_send_event_command_complete_error_command_disallowed:
+	jam COMMAND_DISALLOWED,mem_hci_command_complete_return_parameter
+	branch hci_send_event_command_complete_without_payload+1
+hci_send_event_command_complete_without_payload:
+	jam COMMAND_SUCCEEDED,mem_hci_command_complete_return_parameter
+	arg 1,loopcnt
+	branch hci_send_event_command_complete
+
+/***************
+function:send command complete event to host
+input:
+mem_mesh_command_complete_num_hci_command_packet:
+Num Hci Command Packet Commonly used 1
+mem_mesh_hci_opcode:command opcode ,OCF & OGF
+loopcnt:return parameters data length
+mem_mesh_command_complete_return_parameter
+:return parameters data point
+***************/
+hci_send_event_command_complete:
+	jam HCI_EVENT_COMMAND_COMPLETE,mem_hci_event_head_event_code
+	add loopcnt,3,pdata
+	store 1,mem_hci_event_para_total_length
+	call hci_prepare_send_event
+	fetch 3,mem_hci_command_complete_num_hci_command_packet
+	istore 3,contwu
+//	copy rega,contr
+	arg mem_hci_command_complete_return_parameter,contr
+	call uart_copy_tx_bytes
+	branch uarta_send_register_pop
+
+//mem_mesh_event_head_event_code:event code
+//mem_mesh_event_para_total_length:parameter total length
+hci_prepare_send_event:
+	call uarta_prepare_tx_register_push
+	fetch 3,mem_hci_event_head_type
+	istore 3,contwu
+	rtn
+
+hci_drop_current_packet:
+	call uarta_prepare_rx
+	increase 3,contru
+	ifetch 1,contru
+	iadd contru,contru
+	branch uarta_rxdone
+
+cmd_exit:
+	jam 0,mem_hci_cmd
+	rtn
+
+cmd_check_plap:
+	fetch 6,mem_hci_plap
+	fetcht 6,mem_plap
+	isub temp,null
+	rtn
+
Index: program/hid.prog
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/program/hid.prog	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/program/hid.prog	(working copy)
@@ -0,0 +1,89 @@
+/**
+* the following API is to send the HID data
+* 
+*/
+
+/**
+* the following API is to process the hid  rx data
+* 
+*/
+//handle the hid data
+
+hid_rx_process:
+	bpatch patch1c_7,mem_patch1c
+	fetch 2,mem_l2cap_payload_ptr
+	copy pdata,contr
+	ifetch 1,contr
+	store 1,mem_l2cap_rcv_hidtype
+	and pdata,0x0f,temp
+	rshift4 pdata,pdata //hidtype
+	beq hid_type_set_idle,hid_rx_process_handshake
+	beq hid_type_set_protocol,hid_rx_process_handshake
+	beq hid_type_data,hid_rx_process_data
+	beq HID_TYPE_SET_REPORT,hid_rx_process_set_report
+	beq HID_TYPE_CONTROL,hid_rx_process_hid_control
+	rtn
+
+hid_rx_process_hid_control:
+	copy temp,pdata
+	beq HID_CONTROL_P_VIRTUALCABLEUNPLUG,hid_rx_process_virtual_cable_unplug
+	beq HID_CONTROL_P_SUSPEND,hid_rx_process_suspend
+	rtn
+	
+hid_rx_process_virtual_cable_unplug:
+	jam BT_EVT_VIRTUAL_CABLE_UNPLUG,mem_fifo_temp
+	call ui_ipc_send_event
+	fetch 1,mem_device_option
+	rtnne dvc_op_mouse
+	copy temp,pdata
+	beq HID_CONTROL_P_VIRTUALCABLEUNPLUG,mouse_irtual_cable_unplug
+	rtn
+hid_rx_process_suspend:
+	rtn
+
+hid_rx_process_set_report:
+	call hid_rx_process_data
+	arg 0x01,rega
+	call hid_malloc_tx_buff
+	fetch 2,mem_hid_ctrl_remote_cid
+	istore 2,contw
+	setarg 0x00
+	istore 1,contw
+	rtn
+
+hid_rx_process_handshake:
+	arg 1,rega//payload length
+	call hid_malloc_tx_buff
+	fetch 2,mem_hid_ctrl_remote_cid
+	istore 2,contw
+	setarg 0
+	istore 1,contw
+	jam 1,mem_ui_data_txbuff_length
+	fetch 1,mem_hid_control_state
+	set1 l2cap_channel_hid_handshake_done,pdata
+	store 1,mem_hid_control_state
+	jam BT_EVT_HID_HANDSHAKE,mem_fifo_temp
+	call ui_ipc_send_event
+	fetch 1,mem_device_option
+	rtnne dvc_op_mouse
+	branch mouse_bt_hid_handshake_boot_check
+	
+
+hid_rx_process_data:
+	ifetch 1,contr
+	beq HID_REPORT_ID_KB,hid_rx_process_data_hid_kb
+	rtn
+
+hid_rx_process_data_hid_kb:
+	rtn
+
+	
+hid_malloc_tx_buff:
+	call l2cap_malloc
+	copy rega,temp
+	storet 1,mem_ui_data_txbuff_length
+	copy pdata,contw
+	copy rega,pdata
+	istore 2,contw //hid payload length
+	rtn
+
Index: program/kscan_peipherals.prog
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/program/kscan_peipherals.prog	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/program/kscan_peipherals.prog	(working copy)
@@ -0,0 +1,152 @@
+
+
+
+ifdef COMPILE_KEYSCAN
+/****************************************key scan***************************************/
+/******the key_scan use explain******
+
+* First:call kscan_init
+* Second:call kscan_main
+* Finally: the key scanning reault is mem_kscan_value.
+
+******
+***************************************************************************************
+*/
+kscan_init:  
+	fetch 2,mem_kscan_ptr
+	copy pdata,regc
+	call kscan_row_num_select
+	branch kscan_col_num_select
+
+kscan_col_init:
+	setarg 0
+	add regc,KEYSCAN_OFFECT_SHIFT_COUNT,rega
+	istore 1,rega
+	add regc,KEYSCAN_OFFECT_COL_NUM,rega
+	ifetch 1,rega
+	branch kscan_value_init,blank
+	copy pdata,loopcnt
+	add regc,KEYSCAN_OFFECT_COL_CONF_PIN,regb
+kscan_col_loop: 
+	ifetcht 1, regb
+	call gpio_config_output
+	ifetcht 1, regb
+	call gpio_out_active
+	call kscan_value_init             
+	ifetcht 1,regb
+	call gpio_config_input
+	increase 1,regb
+	loop kscan_col_loop
+	rtn  
+kscan_row_num_select:          
+	add regc,KEYSCAN_OFFECT_ROW_NUM,contw
+	ifetch 1,contw 
+	rtn blank
+	copy pdata,loopcnt
+	add regc,KEYSCAN_OFFECT_ROW_CONF_PIN,rega
+	branch kscan_ioselect_input   
+kscan_col_num_select:           
+	add regc,KEYSCAN_OFFECT_COL_NUM,contw
+	ifetch 1,contw 
+	rtn blank
+	copy pdata,loopcnt
+	add regc,KEYSCAN_OFFECT_COL_CONF_PIN,rega
+	branch kscan_ioselect_input
+kscan_ioselect_input: 
+	ifetcht 1,rega
+	call gpio_config_input 
+	increase 1,rega
+	loop kscan_ioselect_input
+	rtn
+kscan_value_init:
+	setarg 0
+	add regc,KEYSCAN_OFFECT_ROW_COUNT,rega
+	istore 1,rega
+	add regc,KEYSCAN_OFFECT_ROW_CONF_PIN,rega
+kscan_save_vaule:
+	ifetcht 1,rega       
+	call gpio_get_bit   
+	add regc,KEYSCAN_OFFECT_VALUE_TEMP,temp
+	ifetch 2,temp
+ 	add regc,KEYSCAN_OFFECT_SHIFT_COUNT,contr
+	ifetcht 1,contr
+	copy temp,queue
+	qsetflag true,pdata
+
+	add regc,KEYSCAN_OFFECT_VALUE_TEMP,temp
+ 	istore 2,temp
+	increase 1,rega
+    
+	add regc,KEYSCAN_OFFECT_SHIFT_COUNT,contw
+	ifetch 1,contw 
+	increase 1,pdata
+	istore 1,contw
+    
+	add regc,KEYSCAN_OFFECT_ROW_COUNT,contw
+	ifetcht 1,contw 
+	increase 1,temp
+	istoret 1,contw
+	add regc,KEYSCAN_OFFECT_ROW_NUM,contw
+	ifetch 1,contw 
+	ixor temp,null  
+	nbranch kscan_save_vaule,zero
+	rtn       
+	
+	
+kscan_lpm_berfore:
+	fetch 2,mem_kscan_ptr
+	copy pdata,regc
+ 	add regc,KEYSCAN_OFFECT_ROW_NUM,contw
+ 	ifetch 1,contw 
+	copy pdata,loopcnt
+	add regc,KEYSCAN_OFFECT_COL_CONF_PIN,rega
+kscan_select_wake:    
+	ifetcht 1,rega
+	call gpio_set_wake   
+	increase 1,rega
+	loop kscan_select_wake
+	rtn
+
+kscan_clkn_bt_timer_check:
+	ifetcht 4,rega
+	copy clkn_bt,pdata
+	isub temp,null
+	rtn positive
+	setarg 0
+	istore 4,rega
+	rtn
+
+kscan_process:
+	fetch 2,mem_kscan_ptr
+	copy pdata,regc
+	add regc,KEYSCAN_OFFECT_BTCLK,rega
+	call kscan_clkn_bt_timer_check
+	ifetch 4,rega
+	add regc,KEYSCAN_OFFECT_BTCLK_INTERVAL,regb
+	ifetcht 1,regb
+	iadd temp,temp
+	copy clkn_bt,pdata
+	isub temp,null
+	nrtn positive
+	istore 4,rega
+	call kscan_col_init  
+	add regc,KEYSCAN_OFFECT_VALUE_TEMP,rega
+	ifetch 2,rega
+	add regc,KEYSCAN_OFFECT_LASVALUE,rega
+	ifetcht 2,rega
+	istore 2,rega
+	iand temp,pdata
+	add regc,KEYSCAN_OFFECT_VALUE,rega    
+	istore 2,rega 
+	rtn  
+
+endif
+	
+	
+
+
+
+	
+    
+	
+
Index: program/l2cap.prog
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/program/l2cap.prog	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/program/l2cap.prog	(working copy)
@@ -0,0 +1,1901 @@
+/************************************/
+/*initialize L2CAP related variables*/
+/************************************/
+l2cap_init:
+	branch l2cap_init_wake,wake
+l2cap_init_work:
+	setarg mem_l2cap_xmem_end
+	arg mem_l2cap_xmem_start,contw
+	isub contw,loopcnt
+	call clear_mem
+l2cap_init_wake:	
+	bpatch patch1d_0,mem_patch1d
+	setarg mem_sdp_mem_end
+	arg mem_sdp_mem_start,contw
+	isub contw,loopcnt
+	call clear_mem
+	setarg mem_l2cap_mem_end
+	arg mem_l2cap_mem_start,contw
+	isub contw,loopcnt
+	call clear_mem
+	branch l2cap_lpm_load_txbuf
+	
+process_rx_l2cap_pkt:
+	bpatch patch1d_1,mem_patch1d
+	copy contr,temp
+	//call l2cap_malloc_is_fifo_full
+	//nrtn blank
+	copy temp,contr
+	ifetch 2,contr
+	store 2,mem_l2cap_rx_pkt_length
+	ifetch 2,contr
+	store 2,mem_l2cap_rx_cid
+	deposit contr
+	store 2,mem_l2cap_payload_ptr
+	fetch 1,memui_reconnect_mode
+	beq NO_RECONNECTION,l2cap_rx_multiplexing
+	branch ml2cap_rx_multiplexing
+
+l2cap_rx_multiplexing:
+	fetch 2, mem_l2cap_rx_pkt_length
+	branch l2cap_rx_reset_state,blank
+	bpatch patch1d_2,mem_patch1d
+	fetch 1,mem_l2cap_rx_cid
+	beq L2CAP_signal_channel,l2cap_call_proc_signal
+l2cap_rx_multiplexing0:
+	beq L2CAP_SDP_channel,l2cap_call_proc_sdp
+	beq L2CAP_RFCOMM_channel,l2cap_call_proc_rfcomm
+	beq L2CAP_HID_Control_channel,l2cap_call_proc_hid
+	beq L2CAP_HID_Interrupt_channel,l2cap_call_proc_hid
+	branch l2cap_rx_reset_state
+
+l2cap_check_map:
+//	call l2cap_malloc_is_fifo_full
+//	nrtn blank
+	bpatch patch1d_3,mem_patch1d
+	call l2cap_malloc_get_full_map
+	fetch 1,mem_used_map
+	beq 0,set_pdata_0
+	beq 1,set_pdata_0
+	beq 2,set_pdata_0
+	beq 3,set_pdata_0
+	beq 0x81,set_pdata_0
+	beq 0xc0,set_pdata_0
+	beq 0x80,set_pdata_0
+	beq 0x40,set_pdata_0
+	rtn
+
+l2cap_call_proc_signal:
+	call l2cap_check_map
+	nrtn blank
+l2cap_call_proc_signal0:
+	call l2cap_malloc_signal_channel
+	call l2cap_process_signal_pkt
+	fetcht 2,mem_l2cap_signal_tx_length
+	branch l2cap_call_proc_no_reply,blank
+	call l2cap_get_signal_tx_buff
+	fetch 2,mem_l2cap_signal_tx_length
+	istore 2,contw
+	force L2CAP_signal_channel,pdata
+	istore 2,contw
+	branch l2cap_rx_reset_state
+	
+l2cap_call_proc_sigal_pending:
+	fetch 1,mem_l2cap_pending_item
+	rtn blank
+	copy pdata,rega
+	bpatch patch1d_4,mem_patch1d
+	fetch 4,mem_l2cap_sdpres_delay_time
+	arg 0x100,temp
+	iadd temp,temp
+	copy clkn_bt,pdata
+	isub temp,null
+	nrtn positive
+	jam 0,mem_l2cap_pending_item
+	copy rega,pdata
+	beq L2CAP_SDP_channel,l2cap_sdp_conn_succ
+	branch assert
+l2cap_sdp_conn_succ:
+	arg 0,debug
+	call l2cap_malloc_signal_channel
+	call restore_l2cap_req_param
+	call l2cap_get_signal_tx_payload
+	call save_cont_pointers
+	call send_connection_sdp_res
+	call l2cap_get_signal_tx_buff
+	//fetch 2,mem_l2cap_signal_tx_length
+	setarg 0x000c
+	istore 2,contw
+	force L2CAP_signal_channel,pdata
+	istore 2,contw
+	branch l2cap_rx_reset_state
+
+
+
+l2cap_reset_sdp_map:
+	bpatch patch1d_5,mem_patch1d
+	fetch 2,mem_sdp_tx_pkt_length
+	increase 4,pdata
+	call rshift7
+	add pdata,1,temp ///temp: how many128
+	arg mem_tx_fifo3,contr
+	ifetch 3,contr
+	rtn blank
+	store 3,mem_tx_fifo_map_temp
+	fetch 1,mem_tx_fifo_map_temp
+	copy pdata,rega
+	call check_l2cap_map
+	copy regb,pdata
+	store 1,mem_tx_fifo3
+	rtn
+
+check_l2cap_map:
+	arg 0,queue
+	arg 0,regb
+
+check_l2cap_map_loop:
+	sub queue,7,null
+	nrtn positive
+	qisolate1 rega
+	branch check_l2cap_map_used,true
+	branch check_l2cap_map_used2
+
+check_l2cap_map_used:
+	copy temp,pdata
+	branch check_l2cap_map_used2,blank
+	qset1 regb
+	increase -1,temp
+
+check_l2cap_map_used2:
+	increase 1,queue
+	branch check_l2cap_map_loop
+
+l2cap_call_proc_sdp:
+	call l2cap_malloc_is_fifo_empty
+	nrtn blank// not process this packet until fifo empty
+	call l2cap_check_map
+	nrtn blank
+	call l2cap_malloc_sdp_channel
+	call enable_authrom
+	call sdp_process
+	call disable_authrom
+	call l2cap_reset_sdp_map
+	branch l2cap_call_proc_sdp_common
+
+	
+ml2cap_call_proc_sdp:
+	call l2cap_malloc_is_fifo_empty
+	nrtn blank// not process this packet until fifo empty
+	call l2cap_malloc_sdp_channel
+	call enable_authrom
+	call sdp_process
+	call disable_authrom
+l2cap_call_proc_sdp_common:
+	call l2cap_get_sdp_tx_buff
+	fetch 2,mem_sdp_tx_pkt_length
+	branch l2cap_call_proc_no_reply,blank
+	istore 2,contw
+	fetch 2,mem_sdp_remote_cid
+	istore 2,contw
+	branch l2cap_rx_reset_state
+
+l2cap_call_proc_hid:
+	call hid_rx_process
+	branch l2cap_rx_reset_state
+
+l2cap_call_proc_rfcomm:
+	bpatch patch1d_6,mem_patch1d
+	jam RFCOMM_MALLOC_SUCCEED,mem_rfcomm_malloc_fail_flag
+	call rfcomm_rx_process
+	fetch 1,mem_rfcomm_malloc_fail_flag
+	rtneq RFCOMM_MALLOC_FAIL
+	branch l2cap_rx_reset_state
+l2cap_call_proc_no_reply:
+	call l2cap_malloc_discard
+	//fall through
+l2cap_rx_reset_state:
+	setarg 0
+	store 2,mem_l2cap_rx_pkt_length
+	store 2,mem_l2cap_rx_cid
+	jam L2CAP_RX_DONE,mem_l2cap_rx_done
+	rtn
+/* To process one L2CAP signalling pkt consisting of 1 or more signalling commands.	*/
+l2cap_process_signal_pkt:
+	bpatch patch1d_7,mem_patch1d
+	call l2cap_get_signal_tx_payload
+	force 0,regb
+	fetch 2,mem_l2cap_rx_pkt_length
+	copy pdata,regc
+	fetch 2,mem_l2cap_payload_ptr
+	iforce contr
+l2cap_process_signal_pkt_loop:
+	call l2cap_process_one_signal
+	deposit regc
+	increase -4,regc
+	increase -4,pdata
+	nbranch l2cap_process_signal_pkt_loop,blank
+	copy regb,pdata
+	store 2,mem_l2cap_signal_tx_length
+	rtn
+
+l2cap_process_one_signal:
+	bpatch patch1e_0,mem_patch1e
+	ifetch 1,contr
+	beq signal_cmd_reject,l2cap_proc_signal_cmd_reject
+	beq signal_connect_req,l2cap_proc_signal_connect_req
+	beq signal_connect_rsp,l2cap_proc_signal_connect_rsp
+	beq signal_config_req,l2cap_proc_signal_config_req
+	beq signal_config_rsp,l2cap_proc_signal_config_rsp
+	beq signal_disconnect_req,l2cap_proc_signal_disconnect_req
+	beq signal_disconnect_rsp,l2cap_proc_signal_disconnect_rsp
+	beq signal_echo_req,l2cap_proc_signal_echo_req
+	beq signal_echo_rsp,l2cap_proc_signal_echo_rsp
+	beq signal_info_req,l2cap_proc_signal_info_req
+	beq signal_info_rsp,l2cap_proc_signal_info_rsp
+	call l2cap_reject_command
+l2cap_process_one_signal_rtn:
+	rtn
+
+l2cap_proc_signal_info_req:
+	ifetch 1,contr //IDs
+	copy pdata,queue
+	ifetch 2,contr //length
+	copy pdata,rega
+	copy regc,pdata
+	isub rega,regc
+	setarg signal_info_rsp
+	istore 1,contw
+	copy queue,pdata
+	istore 1, contw
+	ifetch 2,contr 
+l2cap_proc_signal_info_req_reply:
+	beq L2CAP_SIG_EXT_FEATRUE,l2cap_proc_signal_info_req_ext
+	beq L2CAP_SIG_FIX_FEATRUE,l2cap_proc_signal_info_req_fix
+	rtn
+l2cap_proc_signal_info_req_ext:
+	setarg 0x020008
+	istore 6, contw
+	setarg 0x0280
+	istore 4, contw
+	force 12,pdata
+	branch l2cap_proc_signal_info_req_common
+l2cap_proc_signal_info_req_fix:
+	setarg 0x3000c
+	istore 6, contw
+	setarg 0x0006
+	istore 8, contw
+	force 16,pdata
+l2cap_proc_signal_info_req_common:
+	iadd regb,regb
+	branch l2cap_process_one_signal_rtn
+	
+ml2cap_proc_signal_info_req:
+	ifetch 1,contr //IDs
+	copy pdata,queue
+	ifetch 2,contr //length
+	copy pdata,rega
+	ifetch 2,contr
+	store 2,mem_temp
+	copy regc,pdata
+	isub rega,regc 
+	call l2cap_get_signal_tx_payload
+	setarg signal_info_rsp
+	istore 1,contw
+	copy queue,pdata
+	istore 1,contw 
+	fetch 2,mem_temp
+	branch l2cap_proc_signal_info_req_reply
+
+
+/*  Respond to the command reject signal sent from the remote BD.   */
+l2cap_proc_signal_cmd_reject:
+	ifetch 1,contr
+	copy pdata,queue
+	ifetch 2,contr
+	copy pdata,rega
+	iadd contr,contr
+	copy regc,pdata
+	isub rega,regc
+l2cap_proc_signal_cmd_reject_rtn:
+	branch l2cap_process_one_signal_rtn
+/* Respond to an L2CAP connection request from remote BD. (generate a connection_rsp)	*/
+l2cap_proc_signal_connect_req:
+	call save_cont_pointers
+	//fetch 6,mem_inquiry_bd_addr
+  	//store 6,mem_master_paged_bd_addr
+  	call load_cont_pointers
+	arg 0,debug
+	ifetch 1,contr
+	copy pdata,queue
+	ifetch 2,contr
+	copy pdata,rega
+	ifetch 2,contr
+	copy pdata,temp //PSM
+	ifetch 2,contr
+	copy pdata,timeup
+	bpatch patch1e_1,mem_patch1e
+	copy temp,pdata
+	beq PSM_SDP,l2cap_proc_signal_connect_req_sdp
+	beq PSM_RFCOMM,l2cap_proc_signal_connect_req_rfcomm
+	beq PSM_HID_control,l2cap_proc_signal_connect_req_hid_ctrl
+	beq PSM_HID_interrupt,l2cap_proc_signal_connect_req_hid_int
+	call l2cap_reject_command
+	branch l2cap_proc_signal_connect_req_rtn
+
+l2cap_proc_signal_connect_req_sdp:
+	call save_cont_pointers
+	arg L2CAP_SDP_channel,temp
+	fetch 2,mem_sdp_remote_cid
+	nbranch already_connected,blank
+	copy timeup,pdata
+	store 2,mem_sdp_remote_cid
+	copy clkn_bt,pdata
+	store 4,mem_l2cap_sdpres_delay_time
+	call store_l2cap_req_param
+	branch  send_connection_pending
+
+store_l2cap_req_param:
+	storet 2,mem_psm
+	deposit timeup
+	store 2,mem_scid
+	deposit rega
+	store 2,mem_cmd_length
+	deposit regb
+	store 2,mem_tt2
+	deposit regc
+	store 2,mem_tt3
+	deposit queue
+	store 2,mem_id
+	rtn
+
+restore_l2cap_req_param:
+	fetcht 2,mem_psm
+	fetch 2,mem_scid
+	copy pdata,timeup
+	fetch 2,mem_cmd_length
+	copy pdata,rega
+	fetch 2,mem_tt2
+	copy pdata,regb
+	fetch 2,mem_tt3
+	copy pdata,regc
+	fetch 2,mem_id
+	copy pdata,queue
+	rtn
+
+l2cap_proc_signal_connect_req_rfcomm:
+	call save_cont_pointers
+	setarg L2CAP_RFCOMM_channel
+	arg L2CAP_RFCOMM_channel,temp
+	fetch 2,mem_RFCOMM_remote_CID
+	nbranch already_connected,blank
+	copy timeup,pdata
+	store 2,mem_RFCOMM_remote_CID
+	fetch 1,mem_rfcomm_state
+	set1 L2CAP_CHANNEL_STATE_CONN_REQ,pdata
+	set1 L2CAP_CHANNEL_STATE_CONN_RES,pdata
+	store 1,mem_rfcomm_state
+	branch send_connection_res
+l2cap_proc_signal_connect_req_hid_ctrl:
+	call save_cont_pointers
+	arg L2CAP_HID_Control_channel,temp
+	fetch 2,mem_hid_ctrl_remote_cid
+	nbranch already_connected,blank
+	copy timeup,pdata
+	store 2,mem_hid_ctrl_remote_cid
+	fetch 1,mem_hid_control_state
+	set1 L2CAP_CHANNEL_STATE_CONN_REQ,pdata
+	set1 L2CAP_CHANNEL_STATE_CONN_RES,pdata
+	store 1,mem_hid_control_state
+	branch send_connection_res
+l2cap_proc_signal_connect_req_hid_int:
+	call save_cont_pointers
+	deposit clke
+	arg L2CAP_HID_Interrupt_channel,temp
+	fetch 2,mem_hid_int_remote_cid
+	nbranch already_connected,blank
+	copy timeup,pdata
+	store 2,mem_hid_int_remote_cid
+	fetch 1,mem_hid_interrupt_state
+	set1 L2CAP_CHANNEL_STATE_CONN_REQ,pdata
+	set1 L2CAP_CHANNEL_STATE_CONN_RES,pdata
+	store 1,mem_hid_interrupt_state
+	branch send_connection_res
+
+send_connection_pending:
+	setarg L2CAP_connect_pending
+	store 2,memL2CAP_T1
+	jam L2CAP_SDP_channel,mem_l2cap_pending_item
+	branch send_connection_res0
+send_connection_sdp_res:
+	fetch 1,mem_sdp_state
+	set1 L2CAP_CHANNEL_STATE_CONN_REQ,pdata
+	set1 L2CAP_CHANNEL_STATE_CONN_RES,pdata
+	store 1,mem_sdp_state
+send_connection_res:
+	setarg L2CAP_connect_successful
+	store 2,memL2CAP_T1
+send_connection_res0:
+	bpatch patch1e_2,mem_patch1e
+	call load_cont_pointers
+	setarg signal_connect_rsp
+	istore 1,contw
+	copy queue,pdata
+	istore 1,contw
+	setarg 0x0008
+	istore 2,contw
+	copy temp,pdata
+	istore 2,contw
+	copy timeup,pdata
+	istore 2,contw
+	fetch 2,memL2CAP_T1
+	beq L2CAP_connect_pending,connect_pending
+	isolate0 0,debug
+	branch connect_suc,true
+	setarg L2CAP_connect_refused_no_resources
+connect_suc:
+	istore 2,contw
+	force 0x0000,pdata
+	istore 2,contw
+	setarg 12
+	branch connect_req_update_byte_counts
+connect_pending:
+	istore 2,contw
+	force 0x0002,pdata
+	istore 2,contw
+	setarg 12
+	branch connect_req_update_byte_counts
+	
+already_connected:
+	set1 0,debug
+	branch send_connection_res
+connect_req_update_byte_counts:
+	iadd regb,regb
+	copy regc,pdata
+	isub rega,regc
+	branch l2cap_proc_signal_connect_req_rtn
+l2cap_proc_signal_connect_req_rtn:
+	branch l2cap_process_one_signal_rtn
+
+l2cap_proc_signal_connect_rsp:
+	ifetch 1,contr //identifier
+	copy pdata,queue
+	ifetch 2,contr //length
+	copy pdata,rega
+	copy regc,pdata
+	isub rega,regc
+	ifetch 2,contr //remote cid
+	copy pdata,timeup
+	ifetch 2,contr //local cid
+	copy pdata,temp
+	bpatch patch1e_3,mem_patch1e
+	setarg L2CAP_SDP_channel
+	isub temp,null
+	branch l2cap_proc_signal_connect_rsp_sdp,zero
+	setarg L2CAP_RFCOMM_channel
+	isub temp,null
+	branch l2cap_proc_signal_connect_rsp_rfcomm,zero
+	setarg L2CAP_HID_Control_channel
+	isub temp,null
+	branch l2cap_proc_signal_connect_rsp_hid_ctrl,zero
+	setarg L2CAP_HID_Interrupt_channel
+	isub temp,null
+	branch l2cap_proc_signal_connect_rsp_hid_int,zero
+	rtn
+
+l2cap_proc_signal_connect_rsp_sdp:
+	copy timeup,pdata
+	store 2,mem_sdp_remote_cid
+	fetch 1,mem_sdp_state
+	set1 L2CAP_CHANNEL_STATE_CONN_RES,pdata
+	store 1,mem_sdp_state
+	branch l2cap_process_one_signal_rtn
+l2cap_proc_signal_connect_rsp_rfcomm:
+	copy timeup,pdata
+	store 2,mem_rfcomm_remote_CID
+	fetch 1,mem_rfcomm_state
+	set1 L2CAP_CHANNEL_STATE_CONN_RES,pdata
+	store 1,mem_rfcomm_state
+	rtn
+l2cap_proc_signal_connect_rsp_hid_int:
+	copy timeup,pdata
+	store 2,mem_hid_ctrl_remote_cid
+	fetch 1,mem_hid_interrupt_state
+	set1 L2CAP_CHANNEL_STATE_CONN_RES,pdata
+	store 1,mem_hid_interrupt_state
+	rtn
+l2cap_proc_signal_connect_rsp_hid_ctrl:
+	copy timeup,pdata
+	store 2,mem_hid_int_remote_cid
+	fetch 1,mem_hid_control_state
+	set1 L2CAP_CHANNEL_STATE_CONN_RES,pdata
+	store 1,mem_hid_control_state
+	rtn
+
+l2cap_proc_signal_config_req:
+	ifetch 1,contr//identifier
+	copy pdata,queue
+	ifetch 2,contr//length
+	copy pdata,rega
+	copy regc,pdata
+	isub rega,regc
+	ifetch 2,contr//dest cid
+	copy pdata,temp
+	copy temp,rega
+	bpatch patch1e_4,mem_patch1e
+	setarg L2CAP_SDP_channel
+	isub temp,null
+	branch l2cap_proc_signal_config_req_sdp,zero
+	setarg L2CAP_RFCOMM_channel
+	isub temp,null
+	branch l2cap_proc_signal_config_req_rfcomm,zero
+	setarg L2CAP_HID_Control_channel
+	isub temp,null
+	branch l2cap_proc_signal_config_req_hid_ctrl,zero
+	setarg L2CAP_HID_Interrupt_channel
+	isub temp,null
+	branch l2cap_proc_signal_config_req_hid_int,zero
+	branch l2cap_reject_command
+	//branch L2CAP_proc_signal_config_req_rtn
+l2cap_proc_signal_config_req_sdp:
+	copy contw, timeup
+	fetch 1,mem_sdp_state
+	set1 L2CAP_CHANNEL_STATE_RCV_CFG_REQ,pdata
+	set1 L2CAP_CHANNEL_STATE_SND_CFG_RES,pdata
+	//set1 L2CAP_CHANNEL_STATE_SND_CFG_REQ,pdata
+	store 1,mem_sdp_state
+	copy timeup,contw
+	arg L2CAP_SDP_channel,timeup
+	fetch 2,mem_sdp_remote_cid
+	copy pdata,temp
+	branch l2cap_send_config_rsp
+l2cap_proc_signal_config_req_hid_ctrl:
+	copy contw, timeup
+	fetch 1,mem_hid_control_state
+	set1 L2CAP_CHANNEL_STATE_RCV_CFG_REQ,pdata
+	set1 L2CAP_CHANNEL_STATE_SND_CFG_RES,pdata
+	//set1 L2CAP_CHANNEL_STATE_SND_CFG_REQ,pdata
+	store 1,mem_hid_control_state
+	copy timeup,contw
+	arg L2CAP_HID_Control_channel,timeup
+	fetch 2,mem_hid_ctrl_remote_cid
+	copy pdata,temp
+	branch l2cap_send_config_rsp
+l2cap_proc_signal_config_req_hid_int:
+	copy contw, timeup
+	fetch 1,mem_hid_interrupt_state
+	set1 L2CAP_CHANNEL_STATE_RCV_CFG_REQ,pdata
+	set1 L2CAP_CHANNEL_STATE_SND_CFG_RES,pdata
+	//set1 L2CAP_CHANNEL_STATE_SND_CFG_REQ,pdata
+	store 1,mem_hid_interrupt_state
+	copy timeup,contw
+	arg L2CAP_HID_Interrupt_channel,timeup
+	fetch 2,mem_hid_int_remote_cid
+	copy pdata,temp
+	branch l2cap_send_config_rsp
+l2cap_proc_signal_config_req_rfcomm:
+	copy contw, timeup
+	fetch 1,mem_rfcomm_state
+	set1 L2CAP_CHANNEL_STATE_RCV_CFG_REQ,pdata
+	set1 L2CAP_CHANNEL_STATE_SND_CFG_RES,pdata
+	//set1 L2CAP_CHANNEL_STATE_SND_CFG_REQ,pdata
+	store 1,mem_rfcomm_state
+//	jam UPPERSM_RP_SDP_CONN,mem_upper_sm_remote_page
+	copy timeup,contw
+	arg L2CAP_RFCOMM_channel,timeup
+	fetch 2,mem_RFCOMM_remote_CID
+	copy pdata,temp
+l2cap_send_config_rsp:
+	bpatch patch1e_5,mem_patch1e
+	setarg  signal_config_rsp
+	istore 1,contw
+	copy queue,pdata
+	istore 1,contw
+	setarg 0x0006
+	istore 2,contw
+	copy temp,pdata
+	istore 2,contw
+	force 0x00,pdata
+	istore 2,contw
+	force L2CAP_config_success,pdata
+	istore 2,contw
+	force 10,pdata
+	iadd regb,regb
+	//copy temp,pdata
+	storet 2,mem_config_req_dest_CID
+	copy queue,pdata
+	store 1,mem_config_identifier
+	force L2CAP_SDP_channel,pdata
+	icompare 0xff,timeup
+	branch l2cap_send_config_rsp_is_sdp,true
+	increase 1,pdata
+l2cap_send_config_rsp_is_sdp:
+	//store 1,mem_send_config_req
+	rtn
+l2cap_check_channel_state:
+	disable user
+	rtnbit1 L2CAP_CHANNEL_STATE_SND_CFG_REQ,pdata
+	rtnbit0 L2CAP_CHANNEL_STATE_CONN_REQ,pdata
+	rtnbit0 L2CAP_CHANNEL_STATE_CONN_RES,pdata
+	set1 L2CAP_CHANNEL_STATE_SND_CFG_REQ,pdata
+	copy contr,contw
+	increase -1,contw
+	istore 1,contw
+	enable user
+	rtn
+l2cap_send_config_req:
+l2cap_send_config_req_sdp:
+	fetch 1,mem_sdp_state
+	call l2cap_check_channel_state
+	nbranch l2cap_send_config_req_rfcomm,user
+	jam L2CAP_SDP_channel,mem_send_config_req
+	fetch 2,mem_sdp_remote_cid
+	store 2,mem_config_req_dest_CID
+	branch l2cap_generate_config_req
+l2cap_send_config_req_rfcomm:
+	fetch 1,mem_rfcomm_state
+	call l2cap_check_channel_state
+	nbranch l2cap_send_config_req_hid_ctrl,user
+	jam L2CAP_RFCOMM_channel,mem_send_config_req
+	fetch 2,mem_RFCOMM_remote_CID
+	store 2,mem_config_req_dest_CID
+	branch l2cap_generate_config_req
+l2cap_send_config_req_hid_ctrl:
+	fetch 1,mem_hid_control_state
+	call l2cap_check_channel_state
+	nbranch l2cap_send_config_req_hid_int,user
+	jam L2CAP_HID_Control_channel,mem_send_config_req
+	fetch 2,mem_hid_ctrl_remote_cid
+	store 2,mem_config_req_dest_CID
+	branch l2cap_generate_config_req
+l2cap_send_config_req_hid_int:
+	fetch 1,mem_hid_interrupt_state
+	call l2cap_check_channel_state
+	nrtn user//End of sending config req
+	jam L2CAP_HID_Interrupt_channel,mem_send_config_req
+	fetch 2,mem_hid_int_remote_cid
+	store 2,mem_config_req_dest_CID
+	//branch L2CAP_generate_config_req
+
+l2cap_generate_config_req:
+	bpatch patch1e_6,mem_patch1e
+	call l2cap_get_req_id
+	call l2cap_malloc_signal_channel
+	force 0,regb
+	call l2cap_get_signal_tx_payload
+	force signal_config_req,pdata
+	istore 1,contw
+	fetch 1,mem_ML2CAP_comm_id
+	istore 1,contw
+	setarg 0x0008
+	istore 2,contw
+	fetch 2,mem_config_req_dest_CID
+	istore 2,contw
+	setarg 0x0000
+	istore 2,contw
+	force 1,pdata
+	istore 1,contw
+	force 2,pdata
+	istore 1,contw
+	fetch 1,mem_send_config_req
+	beq L2CAP_RFCOMM_channel,l2cap_generate_config_req_rfcomm
+	setarg L2CAP_config_MTU_SDP
+	istore 2,contw
+	branch l2cap_generate_config_req_done
+l2cap_generate_config_req_rfcomm:
+	setarg L2CAP_config_MTU_RFCOMM
+	istore 2,contw
+l2cap_generate_config_req_done:
+	arg 0x0c,temp
+	storet 2,mem_l2cap_signal_tx_length
+	call l2cap_get_signal_tx_buff
+	fetch 2,mem_l2cap_signal_tx_length
+	istore 2,contw
+	force L2CAP_signal_channel,pdata
+	istore 2,contw
+	jam 0,mem_send_config_req
+l2cap_proc_signal_config_req_rtn:
+	branch l2cap_process_one_signal_rtn
+
+l2cap_proc_signal_config_rsp:
+	increase 1,contr
+	ifetch 2,contr
+	copy pdata,rega
+	copy regc,pdata
+	isub rega,regc
+	ifetch 2,contr //source cid
+	copy pdata,rega
+	bpatch patch1e_7,mem_patch1e
+	setarg L2CAP_SDP_channel
+	isub rega,null
+	branch l2cap_proc_signal_config_rsp_sdp,zero
+	setarg L2CAP_RFCOMM_channel
+	isub rega,null
+	branch l2cap_proc_signal_config_rsp_rfcomm,zero
+	setarg L2CAP_HID_Control_channel
+	isub rega,null
+	branch l2cap_proc_signal_config_rsp_hid_ctrl,zero
+	setarg L2CAP_HID_Interrupt_channel
+	isub rega,null
+	branch l2cap_proc_signal_config_rsp_hid_int,zero
+	increase 2,contr
+	ifetch 2,contr
+	iforce null
+	branch l2cap_process_one_signal_rtn
+l2cap_proc_signal_config_rsp_sdp:
+	fetch 1,mem_sdp_state
+	set1 L2CAP_CHANNEL_STATE_RCV_CFG_RES,pdata
+	store 1,mem_sdp_state
+	branch l2cap_process_one_signal_rtn
+l2cap_proc_signal_config_rsp_rfcomm:
+	fetch 1,mem_rfcomm_state
+	set1 L2CAP_CHANNEL_STATE_RCV_CFG_RES,pdata
+	store 1,mem_rfcomm_state
+	branch l2cap_process_one_signal_rtn
+l2cap_proc_signal_config_rsp_hid_ctrl:
+	fetch 1,mem_hid_control_state
+	set1 L2CAP_CHANNEL_STATE_RCV_CFG_RES,pdata
+	store 1,mem_hid_control_state
+	branch l2cap_process_one_signal_rtn
+l2cap_proc_signal_config_rsp_hid_int:
+	fetch 1,mem_hid_interrupt_state
+	set1 L2CAP_CHANNEL_STATE_RCV_CFG_RES,pdata
+	store 1,mem_hid_interrupt_state
+	jam BT_EVT_HID_CONNECTED,mem_fifo_temp
+	branch ui_ipc_send_event
+	
+
+
+l2cap_proc_signal_disconnect_req:
+	ifetch 1,contr
+	copy pdata,queue
+	ifetch 2,contr
+	copy pdata,rega
+	copy regc,pdata
+	isub rega,regc
+	ifetch 2,contr
+	copy pdata,rega
+	ifetch 2,contr
+	copy pdata,timeup
+	copy rega,temp
+	call save_cont_pointers
+	bpatch patch1f_0,mem_patch1f
+	setarg L2CAP_SDP_channel
+	isub temp,null
+	branch l2cap_proc_signal_disconnect_req_sdp,zero
+	setarg L2CAP_RFCOMM_channel
+	isub temp,null
+	branch l2cap_proc_signal_disconnect_req_rfcomm,zero
+	setarg L2CAP_HID_Control_channel
+	isub temp,null
+	branch l2cap_proc_signal_disconnect_req_hid_ctrl,zero
+	setarg L2CAP_HID_Interrupt_channel
+	isub temp,null
+	branch l2cap_proc_signal_disconnect_req_hid_int,zero
+	call l2cap_reject_command
+	branch l2cap_proc_signal_disconnect_req_err_rtn
+l2cap_proc_signal_disconnect_req_hid_ctrl:
+	copy timeup,temp
+	fetch 2,mem_hid_ctrl_remote_cid
+	isub temp,null
+	branch l2cap_disconnect_hid_control_now,zero
+	call l2cap_reject_command
+	branch l2cap_proc_signal_disconnect_req_err_rtn
+l2cap_proc_signal_disconnect_req_hid_int:
+	copy timeup,temp
+	fetch 2,mem_hid_int_remote_cid
+	isub temp,null
+	branch l2cap_disconnect_hid_interrupt_now,zero
+	call l2cap_reject_command
+	branch l2cap_proc_signal_disconnect_req_err_rtn
+
+l2cap_proc_signal_disconnect_req_sdp:
+	copy timeup,temp
+	fetch 2,mem_sdp_remote_cid
+	isub temp,null
+	branch l2cap_disconnect_sdp_now,zero
+	call l2cap_reject_command
+	branch l2cap_proc_signal_disconnect_req_err_rtn
+l2cap_disconnect_hid_control_now:
+	call l2cap_reset_hid_ctrl_state
+	branch l2cap_send_disconnect_rsp_pkt
+l2cap_disconnect_hid_interrupt_now:
+	call l2cap_reset_hid_int_state
+	fetch 2, mem_hid_ctrl_remote_cid
+	branch l2cap_send_disconnect_rsp_pkt, blank
+	//set the flag,hid channel close
+	//should we set here?
+	//call HID_mem_lock
+	//fetch 1, mem_hid_cb1
+	//set1 HID_CB_APP_HID_DISCONNECTED,pdata
+	//store 1, mem_hid_cb1
+	//call HID_mem_unlock
+	branch l2cap_send_disconnect_rsp_pkt
+
+l2cap_disconnect_sdp_now:
+	call l2cap_reset_sdp_channel_state
+	fetch 1,mem_upper_sm_ss
+	nbranch l2cap_send_disconnect_rsp_pkt,blank
+	//jam LMP_ENCRYPTION_MODE_REQ,mem_lmo_opcode2
+	//jam UPPERSM_RP_SDP_CONN,mem_upper_sm_remote_page
+	branch l2cap_send_disconnect_rsp_pkt
+l2cap_proc_signal_disconnect_req_rfcomm:
+	copy timeup,temp
+	fetch 2, mem_RFCOMM_remote_CID
+	isub temp,null
+	branch l2cap_disconnect_rfcomm_now,zero
+	call l2cap_reject_command
+	branch l2cap_proc_signal_disconnect_req_err_rtn
+l2cap_disconnect_rfcomm_now:
+	call l2cap_reset_rfcomm_channel_state
+	branch l2cap_send_disconnect_rsp_pkt
+l2cap_send_disconnect_rsp_pkt:
+	call load_cont_pointers
+	setarg signal_disconnect_rsp
+	istore 1,contw
+	copy queue,pdata
+	istore 1,contw
+	setarg 0x0004
+	istore 2,contw
+	copy rega,pdata
+	istore 2,contw
+	copy timeup,pdata
+	istore 2,contw
+	force 8,pdata
+	branch l2cap_proc_signal_disconnect_req_rtn
+l2cap_proc_signal_disconnect_req_err_rtn:
+	call load_cont_pointers
+	branch l2cap_proc_signal_disconnect_req_rtn
+l2cap_proc_signal_disconnect_req_rtn:
+	iadd regb,regb
+	branch l2cap_process_one_signal_rtn
+l2cap_proc_signal_disconnect_rsp:
+	ifetch 1,contr
+	copy pdata,queue
+	ifetch 2,contr
+	copy pdata,rega
+	copy regc,pdata
+	isub rega,regc
+	ifetch 2,contr
+	copy pdata,timeup
+	ifetch 2,contr
+	copy pdata,temp
+	call save_cont_pointers
+	bpatch patch1f_1,mem_patch1f
+	setarg L2CAP_SDP_channel
+	isub temp,null
+	branch l2cap_proc_signal_disconnect_rsp_sdp,zero
+	setarg L2CAP_RFCOMM_channel
+	isub temp,null
+	branch l2cap_proc_signal_disconnect_rsp_rfcomm,zero
+	setarg L2CAP_HID_Control_channel
+	isub temp,null
+	branch l2cap_proc_signal_disconnect_rsp_hid_ctrl,zero
+	setarg L2CAP_HID_Interrupt_channel
+	isub temp,null
+	branch l2cap_proc_signal_disconnect_rsp_hid_int,zero
+	call l2cap_reject_command
+	branch l2cap_proc_signal_disconnect_rsp_err_rtn
+l2cap_proc_signal_disconnect_rsp_sdp:
+	copy temp,rega
+	copy timeup,temp
+	fetch 2,mem_sdp_remote_cid
+	isub temp,null
+	call l2cap_reset_sdp_channel_state,zero
+	branch l2cap_proc_signal_disconnect_rsp_rtn
+l2cap_proc_signal_disconnect_rsp_rfcomm:
+	copy temp,rega
+	copy timeup,temp
+	fetch 2,mem_rfcomm_remote_CID
+	isub temp,null
+	call l2cap_reset_rfcomm_channel_state,zero
+	branch l2cap_proc_signal_disconnect_rsp_rtn
+l2cap_proc_signal_disconnect_rsp_hid_ctrl:
+	copy temp,rega
+	copy timeup,temp
+	fetch 2,mem_hid_ctrl_remote_cid
+	isub temp,null
+	call  l2cap_reset_hid_ctrl_state,zero
+	branch l2cap_proc_signal_disconnect_rsp_rtn
+l2cap_proc_signal_disconnect_rsp_hid_int:
+	copy temp,rega
+	copy timeup,temp
+	fetch 2,mem_hid_int_remote_cid
+	isub temp,null
+	call l2cap_reset_hid_int_state,zero
+	branch l2cap_proc_signal_disconnect_rsp_rtn
+l2cap_proc_signal_disconnect_rsp_rtn:
+	call load_cont_pointers
+	branch l2cap_process_one_signal_rtn
+l2cap_proc_signal_disconnect_rsp_err_rtn:
+	branch l2cap_process_one_signal_rtn
+
+/* received an echo request from remote BD.  Will echo the 1st 1 byte back,		*/
+l2cap_proc_signal_echo_req:
+	ifetch 1,contr
+	copy pdata,queue
+	ifetch 2,contr
+	copy pdata,rega
+	iadd contr,contr
+	setarg 9
+	istore 1,contw
+	copy queue,pdata
+	istore 1,contw
+	force 0x0000,pdata
+	istore 2,contw
+	force 4,pdata
+	iadd regb,regb
+	copy regc,pdata
+	isub rega,regc
+	branch l2cap_process_one_signal_rtn
+l2cap_proc_signal_echo_rsp:
+	branch l2cap_process_one_signal_rtn
+
+l2cap_proc_signal_info_rsp:
+	branch l2cap_process_one_signal_rtn
+l2cap_reject_command:
+	force 0,regb
+	call l2cap_get_signal_tx_payload
+	setarg signal_cmd_reject
+	istore 1,contw
+	copy queue,pdata
+	istore 1,contw
+	setarg 2
+	istore 2,contw
+	setarg cmd_not_understood
+	istore 2,contw
+	increase 6,regb
+	arg 4,regc
+	branch l2cap_process_one_signal_rtn
+
+
+
+l2cap_reset_rfcomm_channel_state:
+	setarg 0
+	store 2,mem_RFCOMM_Tx_pkt_length
+	store 2,mem_RFCOMM_remote_CID
+	jam 0,mem_rfcomm_state
+	rtn
+l2cap_reset_sdp_channel_state:
+	setarg 0
+	store 2,mem_sdp_tx_pkt_length
+	store 2,mem_sdp_remote_cid
+	jam 0,mem_sdp_state
+	rtn
+l2cap_reset_hid_ctrl_state:
+	setarg 0
+	store 2,mem_hid_ctrl_remote_cid
+	jam 0,mem_hid_control_state
+	fetch 1,mem_hid_interrupt_state
+	beq 0,l2cap_reset_hid_disconnected
+	rtn
+
+l2cap_reset_hid_int_state:
+	setarg 0
+	store 2,mem_hid_int_remote_cid
+	jam 0,mem_hid_interrupt_state
+	fetch 1,mem_hid_control_state
+	beq 0,l2cap_reset_hid_disconnected
+	rtn
+	
+l2cap_reset_hid_disconnected:
+	jam BT_EVT_HID_DISCONNECTED,mem_fifo_temp
+	branch ui_ipc_send_event	
+
+l2cap_disconnect_interrupt_req:
+	fetch 1,mem_CONTROL_tasks
+	set0  L2CAP_DISCONNECT_INTERRUPT, pdata
+	store 1,mem_CONTROL_tasks
+	fetch 2, mem_hid_int_remote_cid
+	rtn blank
+	call l2cap_malloc_signal_channel
+	fetch 2, mem_hid_int_remote_cid
+	copy pdata,rega
+	force L2CAP_HID_Interrupt_channel,regb
+	branch l2cap_generate_disconnect_req
+l2cap_disconnect_control_req:
+	fetch 1,mem_CONTROL_tasks
+	set0  L2CAP_DISCONNECT_CONTROL, pdata
+	store 1,mem_CONTROL_tasks
+	fetch 2, mem_hid_ctrl_remote_cid
+	rtn blank
+	call l2cap_malloc_signal_channel
+	fetch 2, mem_hid_ctrl_remote_cid
+	copy pdata,rega
+	force L2CAP_HID_Control_channel,regb
+l2cap_generate_disconnect_req:
+	call l2cap_get_req_id
+	call l2cap_get_signal_tx_payload
+	force signal_disconnect_req,pdata
+	istore 1,contw
+	fetch  1,mem_ML2CAP_comm_id
+	istore 1,contw
+	setarg 0x0004
+	istore 2,contw
+	copy rega,pdata
+	istore 2,contw
+	copy regb,pdata
+	istore 2,contw
+	force 0x08,temp //signal tx length in temp
+	branch ml2cap_send_signal
+
+ml2cap_send_signal_connect_req:
+	bpatch patch1f_2,mem_patch1f
+	call l2cap_get_req_id
+	call l2cap_get_signal_tx_payload
+	setarg signal_connect_req
+	istore 1,contw
+	fetch 1,mem_ML2CAP_comm_id
+	istore 1,contw
+	setarg 0x0004
+	istore 2,contw
+	copy temp,pdata	 //PSM
+	istore 2,contw
+	copy timeup,pdata
+	istore 2,contw
+	arg 8,temp
+	branch ml2cap_send_signal
+ml2cap_send_signal_config_req:
+	bpatch patch1f_3,mem_patch1f
+	call l2cap_get_req_id
+	call l2cap_get_signal_tx_payload
+	setarg signal_config_req
+	istore 1,contw
+	fetch 1,mem_ML2CAP_comm_id
+	istore 1,contw
+	setarg 0x0008
+	istore 2,contw
+	/****modigy for nokia*****/
+	copy temp,pdata
+	/*setarg 0x0040*/
+	istore 2,contw
+	setarg 0x0000
+	istore 2,contw
+	setarg 0x01
+	istore 1,contw
+	setarg 0x02
+	istore 1,contw
+	setarg L2CAP_config_MTU_RFCOMM
+	istore 2,contw
+	arg 0xc,temp
+	branch ml2cap_send_signal
+ml2cap_send_signal_disconn_req:
+	bpatch patch1f_4,mem_patch1f
+	call l2cap_get_req_id
+	call l2cap_get_signal_tx_payload
+	setarg signal_disconnect_req
+	istore 1,contw
+	fetch 1,mem_ML2CAP_comm_id
+	increase 1,pdata
+	copy contw,rega
+	store 1,mem_ML2CAP_comm_id
+	copy rega,contw
+	istore 1,contw
+	setarg 0x0004
+	istore 2,contw
+	copy temp,pdata
+	istore 2,contw
+	copy timeup,pdata
+	istore 2,contw
+	arg 0x8,temp
+	//branch ml2cap_send_signal
+	//Fall through
+ml2cap_send_signal:
+	storet 2,mem_l2cap_signal_tx_length
+	copy temp,pdata
+	branch l2cap_malloc_discard,blank
+	call l2cap_get_signal_tx_buff
+	fetch 2,mem_l2cap_signal_tx_length
+	istore 2,contw //make sure that length is still in temp!
+	force L2CAP_signal_channel,pdata
+	istore 2,contw
+	rtn
+
+msdp_send_req_done:
+	fetch 2,mem_sdp_tx_pkt_length
+	branch assert,blank
+	call l2cap_get_sdp_tx_buff
+	fetch 2,mem_sdp_tx_pkt_length
+	istore 2,contw
+	fetch 2,mem_sdp_remote_cid
+	istore 2,contw
+	rtn
+ml2cap_rx_multiplexing:
+	fetch 2, mem_l2cap_rx_pkt_length
+	branch l2cap_rx_reset_state,blank
+	bpatch patch1f_5,mem_patch1f
+	fetch 1,mem_l2cap_rx_cid
+	beq L2CAP_signal_channel,ml2cap_call_proc_signal
+	beq L2CAP_SDP_channel,ml2cap_call_proc_sdp
+	beq L2CAP_RFCOMM_channel,l2cap_call_proc_rfcomm
+	beq L2CAP_HID_Control_channel,l2cap_call_proc_hid
+	beq L2CAP_HID_Interrupt_channel,l2cap_call_proc_hid
+	branch l2cap_rx_reset_state
+
+ml2cap_call_proc_signal:
+	call l2cap_malloc_signal_channel
+	force 0,regb
+	call l2cap_get_signal_tx_payload
+	copy pdata,contw
+	fetch 2,mem_l2cap_rx_pkt_length
+	copy pdata,regc
+	fetch 2,mem_l2cap_payload_ptr
+	iforce contr
+ml2cap_proc_one_comm_loop:
+	call ml2cap_proc_one_comm
+	increase -4,regc
+	nbranch ml2cap_proc_one_comm_loop,zero
+	copy regb,temp
+	call ml2cap_send_signal
+	branch l2cap_rx_reset_state
+	
+ml2cap_proc_one_comm:
+	ifetch 1,contr
+	beq signal_connect_req,ml2cap_proc_signal_connect_req
+	beq signal_cmd_reject,ml2cap_proc_signal_cmd_reject
+	beq signal_connect_rsp,ml2cap_proc_signal_connect_rsp
+	beq signal_config_rsp,ml2cap_proc_signal_config_rsp
+	beq signal_config_req,ml2cap_proc_signal_config_req
+	beq signal_disconnect_rsp,ml2cap_proc_signal_disconn_rsp
+	beq signal_disconnect_req,ml2cap_proc_signal_disconn_req
+	beq signal_echo_req,l2cap_proc_signal_echo_req
+	beq signal_info_req,ml2cap_proc_signal_info_req
+	branch ml2cap_proc_send_reject
+
+ml2cap_proc_signal_connect_req:
+	call save_cont_pointers
+	//jam NO_RECONNECTION,memui_reconnect_mode
+	call load_cont_pointers
+	branch l2cap_proc_signal_connect_req
+ml2cap_proc_signal_cmd_reject:
+	ifetch 1,contr
+	copy pdata,queue
+	ifetch 2,contr
+	copy pdata,rega
+	copy regc,pdata
+	isub rega,regc
+mvptr:
+	ifetch 1,contr
+	increase -1,rega
+	nbranch mvptr,zero
+	rtn
+ml2cap_proc_signal_connect_rsp:
+	ifetch 1,contr //id
+	copy pdata,queue
+	ifetch 2,contr
+	copy pdata,rega	//length
+	ifetch 2,contr
+	copy pdata,timeup	//destination	cid
+	ifetch 2,contr
+	copy pdata,temp	//source	cid
+	ifetch 2,contr 		// result
+	sub pdata,0,null
+	branch ml2cap_proc_signal_connect_rsp_sucessful,zero
+	beq L2CAP_connect_refused_PSM_unsupported,ml2cap_proc_signal_connect_refused_result
+	beq L2CAP_connect_refused_no_resources,ml2cap_proc_signal_connect_refused_result
+	branch ml2cap_proc_signal_connect_rsp_mnosucc
+ml2cap_proc_signal_connect_refused_result:
+	jam BT_EVT_ML2CAP_CONN_REFUSED,mem_fifo_temp
+	call ui_ipc_send_event
+ml2cap_proc_signal_connect_rsp_mnosucc:
+	ifetch 2,contr //reason
+	branch mnosucc
+ml2cap_proc_signal_connect_rsp_sucessful:
+	call save_cont_pointers
+	//fetch 1,mem_ML2CAP_comm_id
+	//icompare 0xff,queue
+	//nbranch mnosucc1,true
+	bpatch patch1f_6,mem_patch1f
+	setarg L2CAP_SDP_channel
+	isub temp,null
+	branch ml2cap_proc_signal_connect_rsp_sdp,zero
+	setarg L2CAP_RFCOMM_channel
+	isub temp,null
+	branch ml2cap_proc_signal_connect_rsp_rfcomm,zero
+	setarg L2CAP_HID_Interrupt_channel
+	isub temp,null
+	branch ml2cap_proc_signal_connect_rsp_hid_int,zero
+	setarg L2CAP_HID_Control_channel
+	isub temp,null
+	branch ml2cap_proc_signal_connect_rsp_hid_ctrl,zero
+	branch mnosucc
+ml2cap_proc_signal_connect_rsp_sdp:
+	copy timeup,pdata
+	store 2,mem_sdp_remote_cid
+	fetch 1,mem_sdp_state
+	set1 L2CAP_CHANNEL_STATE_CONN_RES,pdata
+	store 1,mem_sdp_state
+	branch mnosucc1
+ml2cap_proc_signal_connect_rsp_rfcomm:
+	copy timeup,pdata
+	store 2,mem_RFCOMM_remote_CID
+	fetch 1,mem_rfcomm_state
+	set1 L2CAP_CHANNEL_STATE_CONN_RES,pdata
+	store 1,mem_rfcomm_state
+	branch mnosucc1
+ml2cap_proc_signal_connect_rsp_hid_ctrl:
+	copy timeup,pdata
+	store 2,mem_hid_ctrl_remote_cid
+	fetch 1,mem_hid_control_state
+	set1 L2CAP_CHANNEL_STATE_CONN_RES,pdata
+	store 1,mem_hid_control_state
+	branch mnosucc1
+ml2cap_proc_signal_connect_rsp_hid_int:
+	copy timeup,pdata
+	store 2,mem_hid_int_remote_cid
+	fetch 1,mem_hid_interrupt_state
+	set1 L2CAP_CHANNEL_STATE_CONN_RES,pdata
+	store 1,mem_hid_interrupt_state
+	//branch mnosucc1
+
+mnosucc1:
+	call load_cont_pointers
+mnosucc:
+	copy regc,pdata
+	isub rega,regc
+	rtn
+
+ml2cap_proc_signal_config_rsp:
+	ifetch 1,contr		//	Ident
+	copy pdata,queue
+	ifetch 2,contr		//	SigLen
+	copy pdata,rega
+	copy regc,pdata
+	isub rega,regc
+	ifetch 2,contr		//	DestnCID
+	copy pdata,timeup
+	ifetch 2,contr
+	ifetch 2,contr		//	Get the result value, check success
+	nbranch mcrsdone1,blank
+	call save_cont_pointers
+	//fetch 1,mem_ML2CAP_comm_id
+	//icompare 0xff,queue
+	//nbranch mcfrsdone,true
+	copy timeup,temp
+	bpatch patch1f_7,mem_patch1f
+	setarg L2CAP_SDP_channel
+	isub temp,null
+	branch ml2cap_proc_signal_config_rsp_sdp,zero
+	setarg L2CAP_RFCOMM_channel
+	isub temp,null
+	branch ml2cap_proc_signal_config_rsp_rfcomm,zero
+	setarg L2CAP_HID_Control_channel
+	isub temp,null
+	branch ml2cap_proc_signal_config_rsp_hid_ctrl,zero
+	setarg L2CAP_HID_Interrupt_channel
+	isub temp,null
+	branch ml2cap_proc_signal_config_rsp_hid_int,zero
+ml2cap_proc_signal_config_rsp_sdp:
+	fetch 1,mem_sdp_state
+	set1 L2CAP_CHANNEL_STATE_RCV_CFG_RES,pdata
+	store 1,mem_sdp_state
+	rtn
+ml2cap_proc_signal_config_rsp_rfcomm:
+	fetch 1,mem_rfcomm_state
+	set1 L2CAP_CHANNEL_STATE_RCV_CFG_RES,pdata
+	store 1,mem_rfcomm_state
+	rtn
+ml2cap_proc_signal_config_rsp_hid_ctrl:
+	fetch 1,mem_hid_control_state
+	set1 L2CAP_CHANNEL_STATE_RCV_CFG_RES,pdata
+	store 1,mem_hid_control_state
+	rtn
+ml2cap_proc_signal_config_rsp_hid_int:
+	fetch 1,mem_hid_interrupt_state
+	set1 L2CAP_CHANNEL_STATE_RCV_CFG_RES,pdata
+	store 1,mem_hid_interrupt_state
+	jam BT_EVT_HID_CONNECTED,mem_fifo_temp
+	branch ui_ipc_send_event
+
+
+mcfrsdone:
+	call load_cont_pointers
+mcrsdone1:
+	increase -6,rega
+mloop2:
+	branch mcrsdone,zero
+	increase 1,contr
+	increase -1,rega
+	branch mloop2
+mcrsdone:
+	rtn
+ml2cap_proc_signal_config_req:
+	ifetch 1,contr		//	Ident
+	copy pdata,queue
+	ifetch 2,contr		//	SigLen
+	copy pdata,rega
+	copy regc,pdata
+	isub rega,regc
+	ifetch 2,contr		//	DestnCID
+	increase 2,contr
+	copy pdata,temp
+	setarg  signal_config_rsp
+	istore 1,contw
+	copy queue,pdata
+	istore 1,contw
+	increase 2,rega
+	copy rega,pdata
+	istore 2,contw
+	call save_cont_pointers
+	bpatchx patch20_0,mem_patch20
+	setarg L2CAP_SDP_channel
+	isub temp,null
+	branch ml2cap_proc_signal_config_req_sdp,zero
+	setarg L2CAP_RFCOMM_channel
+	isub temp,null
+	branch ml2cap_proc_signal_config_req_rfcomm,zero
+	setarg L2CAP_HID_Control_channel
+	isub temp,null
+	branch ml2cap_proc_signal_config_req_hid_ctrl,zero
+	setarg L2CAP_HID_Interrupt_channel
+	isub temp,null
+	branch ml2cap_proc_signal_config_req_hid_int,zero
+	branch mcfgrq_done
+ml2cap_proc_signal_config_req_sdp:
+	fetch 1,mem_sdp_state
+	set1 L2CAP_CHANNEL_STATE_RCV_CFG_REQ,pdata
+	set1 L2CAP_CHANNEL_STATE_SND_CFG_RES,pdata
+	store 1,mem_sdp_state
+	bbit1 L2CAP_CHANNEL_STATE_SND_CFG_REQ,ml2cap_proc_signal_config_req_sdp_nsndreq
+	fetcht 1,mem_CONTROL_tasks
+	set1 L2CAP_init_Config_Req,temp
+	storet 1,mem_CONTROL_tasks
+	copy queue,pdata
+	increase 1,pdata
+	store 1,mem_config_identifier
+	fetch 1,mem_sdp_state
+	set1 L2CAP_CHANNEL_STATE_SND_CFG_REQ,pdata
+	store 1,mem_sdp_state
+ml2cap_proc_signal_config_req_sdp_nsndreq:
+	fetch 2,mem_sdp_remote_cid
+	store 2,mem_config_req_dest_CID
+	branch mcfgrq_done
+ml2cap_proc_signal_config_req_rfcomm:
+	fetch 1,mem_rfcomm_state
+	set1 L2CAP_CHANNEL_STATE_RCV_CFG_REQ,pdata
+	set1 L2CAP_CHANNEL_STATE_SND_CFG_RES,pdata
+	store 1,mem_rfcomm_state
+	fetch 2,mem_RFCOMM_remote_CID
+	branch mcfgrq_done
+ml2cap_proc_signal_config_req_hid_ctrl:
+	fetch 1,mem_hid_control_state
+	set1 L2CAP_CHANNEL_STATE_RCV_CFG_REQ,pdata
+	set1 L2CAP_CHANNEL_STATE_SND_CFG_RES,pdata
+	store 1,mem_hid_control_state
+	fetch 2,mem_hid_ctrl_remote_cid
+	branch mcfgrq_done
+ml2cap_proc_signal_config_req_hid_int:
+	fetch 1,mem_hid_interrupt_state
+	set1 L2CAP_CHANNEL_STATE_RCV_CFG_REQ,pdata
+	set1 L2CAP_CHANNEL_STATE_SND_CFG_RES,pdata
+	store 1,mem_hid_interrupt_state
+	fetch 2,mem_hid_int_remote_cid
+	//branch mcfgrq_done
+
+mcfgrq_done:
+	copy pdata,timeup
+	call load_cont_pointers
+/*******for Nokia**************/
+	copy timeup,pdata
+	/*setarg 0x0040*/
+	istore 2,contw
+	force 0x0000,pdata
+	istore 2,contw
+	force 0x0000,pdata
+	istore 2,contw
+	force 10,pdata
+	iadd regb,regb
+	increase -6,rega
+mloop1:
+	branch mcrqdone,zero
+	ifetch 1,contr
+	istore 1,contw
+	increase 1,regb
+	increase -1,rega
+	branch mloop1
+mcrqdone:
+	rtn
+ml2cap_proc_signal_disconn_req:
+	ifetch 1,contr
+	copy pdata,queue
+	ifetch 2,contr
+	copy pdata,rega
+	copy regc,pdata
+	isub rega,regc
+
+	ifetch 2,contr
+	copy pdata,rega
+	ifetch 2,contr
+	copy pdata,timeup
+	call save_cont_pointers
+	bpatchx patch20_1,mem_patch20
+	setarg L2CAP_SDP_channel
+	copy rega,temp
+	isub temp,null
+	branch ml2cap_proc_signal_disconn_sdp,zero
+	setarg L2CAP_HID_Control_channel
+	copy rega,temp
+	isub temp,null
+	branch ml2cap_proc_signal_disconn_hid_ctrl,zero
+	setarg L2CAP_HID_Interrupt_channel
+	copy rega,temp
+	isub temp,null
+	branch ml2cap_proc_signal_disconn_hid_int,zero
+	branch mclsrfc
+ml2cap_proc_signal_disconn_sdp:
+	setarg 0x0000
+	store 2,mem_sdp_tx_pkt_length
+	store 2,mem_sdp_remote_cid
+	store 1,mem_sdp_state
+	branch mclssdp
+ml2cap_proc_signal_disconn_hid_ctrl:
+	call l2cap_reset_hid_ctrl_state
+	branch mclssdp
+ml2cap_proc_signal_disconn_hid_int:
+	call l2cap_reset_hid_int_state
+	//call HID_mem_lock
+	//fetch 1, mem_hid_cb1
+	//set1 HID_CB_APP_HID_DISCONNECTED,pdata
+	//store 1, mem_hid_cb1
+	//call HID_mem_unlock
+	branch mclssdp
+mclsrfc:
+	setarg 0x0000
+	store 2,mem_RFCOMM_Tx_pkt_length
+mclssdp:
+	call load_cont_pointers
+	setarg signal_disconnect_rsp
+	istore 1,contw
+	copy queue,pdata
+	istore 1,contw
+	setarg 0x0004
+	istore 2,contw
+	copy rega,pdata
+	istore 2,contw
+	copy timeup,pdata
+	istore 2,contw
+	force 8,pdata
+	iadd regb,regb
+	rtn
+
+ml2cap_proc_signal_disconn_rsp:
+	ifetch 1,contr
+	copy pdata,queue
+	ifetch 2,contr
+	copy pdata,rega
+	ifetch 2,contr
+	copy pdata,timeup
+	ifetch 2,contr
+	copy pdata,temp
+	call save_cont_pointers
+	bpatchx patch20_2,mem_patch20
+	fetch 1,mem_ML2CAP_comm_id
+	icompare 0xff,queue
+	nbranch mdisdone,true
+	setarg L2CAP_SDP_channel
+	isub temp,null
+	branch ml2cap_proc_signal_disconn_rsp_sdp,zero
+	setarg L2CAP_RFCOMM_channel
+	isub temp,null
+	branch ml2cap_proc_signal_disconn_rsp_rfcomm,zero
+	branch mdisdone
+ml2cap_proc_signal_disconn_rsp_sdp:
+	jam 0,mem_sdp_remote_cid
+	jam 0,mem_sdp_state
+	branch mdisdone
+ml2cap_proc_signal_disconn_rsp_rfcomm:
+	//
+	//
+mdisdone:
+	call load_cont_pointers
+	copy regc,pdata
+	isub rega,regc
+	rtn
+
+ml2cap_proc_send_reject:
+	setarg signal_cmd_reject
+	istore 1,contw
+	ifetch 1,contr
+	istore 1,contw
+	setarg 0x0002
+	istore 2,contw
+	setarg 0x0000
+	istore 2,contw
+	setarg 0x0006
+	iadd regb,regb
+	force 4,regc
+	rtn
+	
+//l2cap command id, 0 is not allowed
+l2cap_get_req_id:
+	fetch 1,mem_ML2CAP_comm_id
+	increase 1,pdata
+	bne 0,l2cap_get_req_id_ok
+	increase 1,pdata
+l2cap_get_req_id_ok:
+	store 1,mem_ML2CAP_comm_id
+	rtn
+
+
+/*********************************************************/
+//char* malloc(short len)
+//input: rega -> len
+//rtn: regb -> pbuff;return from pdata
+//val: queue -> i
+//val: timeup -> buff_cnt
+/*********************************************************/
+l2cap_malloc:
+bt_l2cap_malloc:
+	arg mem_tx_buff0,regd
+	arg mem_bt_l2cap_tx_buff_size,rege
+	call enable_user
+	branch host_l2cap_malloc
+
+ble_l2cap_malloc:
+	fetchr regd,2,mem_ble_l2cap_tx_buff0_ptr
+	fetchr rege,2,mem_ble_l2cap_tx_buff_size_ptr
+	call disable_user
+	branch host_l2cap_malloc
+
+/*
+	malloc l2cap buffer
+	input:
+	BT is enable user
+	BLE is disable user
+	rega is want malloc buffer size
+	regd is l2cap buffer start ptr
+	rege is l2cap buffer size
+	output:
+	pdata & contw is buffer ptr
+*/
+host_l2cap_malloc:
+	bpatchx patch20_3,mem_patch20
+	call l2cap_malloc_is_fifo_full
+	nbranch assert,blank//assert when fifo full
+	call l2cap_malloc_get_full_map
+	arg 8,loopcnt
+host_l2cap_malloc_loop:
+	fetcht 1,mem_used_map
+	sub loopcnt,8,queue
+	qisolate1 temp
+	branch host_l2cap_malloc_next_buffer,true//if(1 == (used_map & (1 << i)))goto next;
+	call host_l2cap_malloc_check_buffer_enough
+	nbranch host_l2cap_malloc_next_buffer,positive//if(buff_cnt <= 0)goto next;
+	call host_l2cap_malloc_into_fifo
+	branch host_l2cap_malloc_succ//return (pbuff);
+host_l2cap_malloc_next_buffer:
+	copy rege,pdata
+	iadd regd,regd		//pbuff += BUFF_SIZE;//point to next buff
+	loop host_l2cap_malloc_loop
+	branch assert	//return NULL
+host_l2cap_malloc_succ:
+	copy regd,pdata
+	copy regd,contw
+	rtn//return pointer via pdata
+
+/*********************************************************/
+//char is_size_enough(char buff_index, short len)
+//input: rega -> len
+//input: loopcnt -> 8-buff_index
+//rtn: positive is diable mean no buffer
+//positive is enable mean get buffer
+/*********************************************************/
+host_l2cap_malloc_check_buffer_enough:
+	bpatchx patch20_4,mem_patch20
+	sub loopcnt,8,queue
+	arg 0,temp
+	arg 0,timeup
+host_l2cap_malloc_check_buffer_enough_loop:
+	copy queue,pdata
+	beq 8,host_l2cap_malloc_check_buffer_enough_end
+	fetch 1,mem_used_map
+	qisolate1 pdata		//the buffer is used
+	branch host_l2cap_malloc_check_buffer_enough_end,true
+	qset1 timeup
+	copy rege,pdata
+	iadd temp,temp
+	increase 1,queue
+	copy rega,pdata
+	isub temp,null
+	branch host_l2cap_malloc_check_buffer_enough_end,zero//(max_size_fom_buff_index ==  len)
+	branch host_l2cap_malloc_check_buffer_enough_loop,positive//(max_size_fom_buff_index <  len)
+host_l2cap_malloc_check_buffer_enough_end:
+	copy temp,pdata
+	isub rega,null
+	nrtn zero
+	qset1 timeup
+	rtn
+
+/*********************************************************/
+//void buff_into_fifo(char buff_index, char buff_cnt, short len)
+//input: rega -> len
+//input: regc -> buff_index
+//input: timeup -> buff_cnt
+//val:temp ->   (fifo->map)
+/*********************************************************/
+host_l2cap_malloc_into_fifo:
+	bpatchx patch20_5,mem_patch20
+	call l2cap_malloc_is_fifo_full
+	nbranch assert,blank //fifo full
+	call l2cap_malloc_is_fifo_empty
+	branch host_l2cap_malloc_into_fifo_no_push,blank//fifo empty, no need to push
+	fetch 9,mem_tx_fifo1
+	store 9,mem_tx_fifo0
+	setarg 0
+	istore 3,contw//mem_tx_fifo3
+host_l2cap_malloc_into_fifo_no_push:
+	storer timeup,1,mem_tx_fifo3_map
+	storer regd,2,mem_tx_fifo3_ptr
+	rtn
+
+
+/*********************************************************/
+//void* l2cap_malloc_fifo_out(void)
+//output:len -> temp
+//output:ptr ->pdata
+//only get ptr,not free
+/*********************************************************/
+l2cap_malloc_fifo_out:
+	bpatchx patch20_6,mem_patch20
+	call l2cap_malloc_fifo_get_first_ptr
+	increase 1,contr
+	ifetch 2,contr //ptr ->pdata
+	rtn
+
+
+/*********************************************************/
+//void free_first_buff_in_fifo(void)
+//only free the first one
+/*********************************************************/
+l2cap_malloc_free:
+	bpatchx patch20_7,mem_patch20
+	call l2cap_malloc_fifo_get_first_ptr
+	copy contr,contw
+	copy contr,temp
+	setarg 0
+	istore 3,contw
+	rtn
+
+
+/*********************************************************/
+//void l2cap_malloc_discard(void)
+//discard the latest malloc
+/*********************************************************/
+l2cap_malloc_discard:
+	bpatchx patch21_0,mem_patch21
+	call l2cap_malloc_is_fifo_empty
+	branch assert,blank
+	fetch 3,mem_tx_fifo2
+	store 3,mem_tx_fifo3
+	fetch 3,mem_tx_fifo1
+	store 3,mem_tx_fifo2
+	fetch 3,mem_tx_fifo0
+	store 3,mem_tx_fifo1
+	rtn
+
+
+/*********************************************************/
+//bool fifo_is_full(void)
+//blank == 1: not full
+//blank == 0: full
+/*********************************************************/
+l2cap_malloc_is_fifo_full:
+	bpatchx patch21_1,mem_patch21
+	fetch 3,mem_tx_fifo0
+	rtn
+
+
+/*********************************************************/
+//bool fifo_nearly_full(void)
+//blank == 1: nearly full
+//blank == 0: not nearly full
+/*********************************************************/
+l2cap_malloc_is_fifo_nearly_full:
+	bpatchx patch21_2,mem_patch21
+	fetch 3,mem_tx_fifo1
+	rtn
+
+
+/*********************************************************/
+//bool fifo_is_empty(void)
+//blank == 1: empty
+//blank == 0: not empty
+/*********************************************************/
+l2cap_malloc_is_fifo_empty:
+	bpatchx patch21_3,mem_patch21
+	fetch 3,mem_tx_fifo3
+	rtn
+
+
+/*********************************************************/
+//char* l2cap_malloc_fifo_get_first_ptr(void)
+//output:contr  -->ptr
+/*********************************************************/	
+l2cap_malloc_fifo_get_first_ptr:
+	call l2cap_malloc_is_fifo_empty
+	branch l2cap_malloc_fifo_get_first_ptr_empty,blank // fifo is empty
+	arg mem_tx_fifo0,contr
+l2cap_malloc_free_loop:
+	ifetch 3,contr
+	branch l2cap_malloc_free_loop,blank
+l2cap_malloc_fifo_get_first_ptr_empty:
+	increase -3,contr
+	rtn
+
+
+/*********************************************************/
+//char* l2cap_malloc_get_full_map(void)
+//output:mem_used_map  -->full_map
+//add all maps into one
+/*********************************************************/	
+l2cap_malloc_get_full_map:
+	bpatchx patch21_4,mem_patch21
+	arg 4,loopcnt
+	arg mem_tx_fifo0_map,contr
+	arg 0,temp
+l2cap_malloc_get_full_map_loop:	
+	ifetch 3,contr
+	and pdata,0xff,pdata
+	ior temp,temp
+	loop l2cap_malloc_get_full_map_loop
+	storet 1,mem_used_map
+	rtn
+
+
+l2cap_malloc_signal_channel:
+	bpatchx patch21_5,mem_patch21
+	arg L2CAP_SIGNAL_MALLOC_SIZE,rega
+	call l2cap_malloc
+	store 2,mem_l2cap_signal_tx_buff_ptr
+	increase 4,pdata
+	store 2,mem_l2cap_signal_tx_payload_ptr
+	setarg 0
+	store 2,mem_l2cap_signal_tx_length
+	rtn
+
+l2cap_get_signal_tx_buff:
+	fetch 2,mem_l2cap_signal_tx_buff_ptr
+	branch l2cap_util_pdata_to_contw
+
+l2cap_get_signal_tx_payload:
+	fetch 2,mem_l2cap_signal_tx_payload_ptr
+	branch l2cap_util_pdata_to_contw
+
+
+l2cap_malloc_sdp_channel:
+	bpatchx patch21_6,mem_patch21
+	arg SDP_MALLOC_SIZE,rega
+	call l2cap_malloc
+	store 2,mem_sdp_tx_buff_ptr
+	increase 4,pdata
+	store 2,mem_sdp_tx_payload_ptr
+	setarg 0
+	store 2,mem_sdp_tx_pkt_length
+	rtn
+
+l2cap_get_sdp_tx_buff:
+	fetch 2,mem_sdp_tx_buff_ptr
+	branch l2cap_util_pdata_to_contw
+
+l2cap_get_sdp_tx_payload:
+	fetch 2,mem_sdp_tx_payload_ptr
+	branch l2cap_util_pdata_to_contw
+
+
+l2cap_malloc_rfcomm_channel:
+	bpatchx patch21_7,mem_patch21
+	call push_stack
+	jam RFCOMM_MALLOC_FAIL,mem_rfcomm_malloc_fail_flag
+	call l2cap_malloc_is_fifo_full
+	nrtn blank
+	arg RFCOMM_MALLOC_SIZE,rega
+	call l2cap_malloc
+	store 2,mem_rfcomm_tx_buff_ptr
+	increase 4,pdata
+	store 2,mem_rfcomm_tx_payload_ptr
+	setarg 0
+	store 2,mem_rfcomm_tx_pkt_length
+	jam RFCOMM_MALLOC_SUCCEED,mem_rfcomm_malloc_fail_flag
+	branch pop_stack
+
+l2cap_get_rfcomm_tx_buff:
+	fetch 2,mem_rfcomm_tx_buff_ptr
+	branch l2cap_util_pdata_to_contw
+	
+l2cap_util_pdata_to_contw:
+	branch assert,blank
+	copy pdata,contw
+	rtn
+	
+
+l2cap_lpm_save_calc_len:
+	bpatchx patch22_0,mem_patch22
+	arg 0,regb
+	arg mem_tx_fifo0_map,rega
+	increase -2,rega
+l2cap_lpm_save_calc_len_loop:
+	increase 2,rega
+	setarg mem_tx_fifo_end
+	isub rega,null
+	branch l2cap_lpm_save_calc_len_end,zero //end of 2lcap tx fifo
+	ifetch 1,rega
+	increase 1,rega
+	branch l2cap_lpm_save_calc_len_loop,blank
+	ifetcht 2,rega
+	ifetch 2,temp
+	iadd regb,regb
+	increase 4,regb //l2cap header len
+	branch l2cap_lpm_save_calc_len_loop
+l2cap_lpm_save_calc_len_end:
+	copy regb,pdata
+	rtn
+
+
+l2cap_lpm_get_wake_lock:
+	arg wake_lock_l2cap_tx,queue
+	branch lpm_get_wake_lock
+
+l2cap_lpm_put_wake_lock:
+	arg wake_lock_l2cap_tx,queue
+	branch lpm_put_wake_lock
+	
+l2cap_lpm_save_txbuf:
+	bpatchx patch22_1,mem_patch22
+	call l2cap_malloc_get_full_map
+	fetch 1,mem_used_map
+	rtn blank
+	call l2cap_lpm_save_calc_len
+	arg l2cap_lpm_txbuf_len,temp
+	isub temp,null
+	branch l2cap_lpm_get_wake_lock,positive //no enougth space to save l2cap tx data
+	call l2cap_lpm_put_wake_lock
+	arg mem_l2cap_lpm_txbuf,contw
+	arg mem_tx_fifo0,rega
+l2cap_lpm_save_txbuf_loop:
+	setarg mem_tx_fifo_end
+	isub rega,null
+	rtn zero //end of 2lcap tx fifo
+	ifetch 1,rega  //mem_tx_fifoX_map
+	increase 1,rega
+	nbranch l2cap_lpm_save_txbuf_nempty,blank
+	istore 2,contw // length = 0
+	increase 2,rega
+	branch l2cap_lpm_save_txbuf_loop
+l2cap_lpm_save_txbuf_nempty:
+	ifetch 2,rega //ptr
+	increase 2,rega
+	copy pdata,contr
+	ifetch 2,contr  //l2cap len
+	istore 2,contw
+	copy pdata,loopcnt
+	increase 2,loopcnt //add CID len
+	call memcpy
+	branch l2cap_lpm_save_txbuf_loop
+	
+l2cap_lpm_load_txbuf:
+	bpatchx patch22_2,mem_patch22
+	call l2cap_malloc_get_full_map
+	fetch 1,mem_used_map
+	rtn blank
+	arg mem_tx_fifo0_ptr,rega
+	increase -3,rega //mem_tx_fifo0_ptr -3
+	arg mem_l2cap_lpm_txbuf,contr
+l2cap_lpm_load_txbuf_loop:
+	increase 3,rega //mem_tx_fifoX_ptr
+	setarg mem_tx_fifo_end+1
+	isub rega,null
+	rtn zero //end of 2lcap tx fifo
+	ifetch 2,contr
+	branch l2cap_lpm_load_txbuf_loop,blank
+	increase 4,pdata //l2cap header len
+	copy pdata,loopcnt
+	copy contr,regb
+	ifetch 2,rega //ptr
+	copy pdata,contw
+	copy regb,contr
+	increase -2,contr
+	call memcpy
+	branch l2cap_lpm_load_txbuf_loop
+	
+
+
+	
Index: program/lmp.prog
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/program/lmp.prog	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/program/lmp.prog	(working copy)
@@ -0,0 +1,2744 @@
+	
+/******************************************/
+/*************   LMP Parse   **************/
+/******************************************/
+init_lmp:
+	rtn wake
+init_lmp_work:
+	bpatchx patch22_3,mem_patch22
+	setarg 0
+	store 1,mem_lmp_to_send
+	store 1,mem_conn_sm
+	store 1,mem_lmo_opcode1
+	store 1,mem_lmo_opcode2
+	store 1,mem_esco_addr
+	store 1,mem_connection_options
+	store 1,mem_pairing_auth
+	store 3,mem_encapsulated_major_type
+	store 1,mem_remote_br_sc_support
+	jam SWITCH_FLAG_INIT,mem_switch_flag
+	jam 0,mem_switch_fail_master_count
+	jam NULL_ENCRYP,mem_wait_encryption
+init_lmp_reinit:	
+	jam 0,mem_pairing_auth
+	jam 0,mem_sp_localsm
+	jam 0,mem_lmp_conn_state
+	//fall through
+parse_rx_done:
+	rtn
+
+parse_lmp:
+	bpatchx patch22_4,mem_patch22
+	call setlocalsm_master,master	//use this flag in hci
+	ncall setlocalsm_slave,master
+	call lmo_fifo_check
+	nrtn blank
+	fetch 1,mem_state_map
+	rtnbit0 smap_rxlmp
+	set0 smap_rxlmp,pdata
+	set0 mark_rxbuf_inuse,mark
+	store 1,mem_state_map
+	fetch 1,mem_rxbuf
+	fetcht 1,mem_state_map
+	isolate1 smap_lmptidinit,pdata
+	setflag true,smap_lmptid,temp
+	storet 1,mem_state_map
+	and_into 0x2,temp //smap_lmptid only
+	storet 1,mem_lmo_tid2
+	fetcht 1,mem_state_map
+	rshift pdata,pdata			/* align lmp_opcode */
+  	store 1,mem_lmi_opcode2
+	bpatchx patch22_5,mem_patch22
+  	fetch 1,mem_lmi_opcode2
+  	beq LMP_ESCAPE,parse_lmp_escape//multi
+  	beq LMP_ACCEPTED,parse_lmp_accepted//multi
+	beq LMP_NOT_ACCEPTED,parse_lmp_not_accepted//multi
+  	beq LMP_SET_AFH, parse_lmp_set_afh
+  	beq LMP_CLKOFFSET_REQ, parse_lmp_clkoffset_req
+ 	beq LMP_ENCRYPTION_MODE_REQ, parse_lmp_encryption_mode_req
+ 	beq LMP_ENCRYPTION_KEY_SIZE_REQ,parse_lmp_crypt_key
+	beq LMP_AUTO_RATE,parse_lmp_auto_rate
+	beq LMP_TEST_CONTROL,parse_lmp_test_control//multi
+	beq LMP_TEST_ACTIVATE,parse_lmp_test_activate
+	beq LMP_SETUP_COMPLETE,parse_lmp_setup_complete
+	beq LMP_SUPERVISION_TIMEOUT,parse_lmp_supervision_timeout
+	beq LMP_FEATURES_REQ,parse_lmp_features_req
+	beq LMP_HOST_CONNECTION_REQ,parse_lmp_conn_req
+	beq LMP_VERSION_REQ,parse_lmp_version_req
+	beq LMP_VERSION_RES,parse_lmp_version_res
+	beq LMP_DETACH,parse_lmp_detach
+	beq LMP_MAX_SLOT,parse_lmp_max_slot
+	beq LMP_MAX_SLOT_REQ,parse_lmp_max_slot_req
+	beq LMP_NAME_REQ,parse_lmp_name_req
+	beq LMP_NAME_RES,parse_lmp_name_res
+	beq LMP_FEATURES_RES,parse_lmp_features_res
+	beq LMP_COMB_KEY,parse_lmp_comb_key
+	beq LMP_AU_RAND, parse_lmp_au_rand
+	beq LMP_IN_RAND,parse_lmp_in_rand
+	beq LMP_SRES,parse_lmp_sres
+	beq LMP_INCR_POWER_REQ,parse_lmp_incr_power
+	beq LMP_DECR_POWER_REQ,parse_lmp_decr_power
+	beq LMP_MAX_POWER, parse_lmp_max_power
+	beq LMP_MIN_POWER, parse_lmp_min_power
+	beq LMP_PAGE_MODE_REQ, parse_lmp_page_mode_req
+	beq LMP_PAGE_SCAN_MODE_REQ, parse_lmp_page_scan_mode_req
+	beq LMP_PREFERRED_RATE, parse_lmp_preferred_rate
+	beq LMP_SLOT_OFFSET, parse_lmp_slot_offset
+	beq LMP_SNIFF_REQ, parse_lmp_sniff_req
+	beq LMP_START_ENCRYPTION_REQ, parse_lmp_start_encryption_req
+	beq LMP_STOP_ENCRYPTION_REQ, parse_lmp_stop_encryption_req
+	beq LMP_SWITCH_REQ, parse_lmp_switch_req
+	beq LMP_TEMP_RAND, parse_lmp_temp_rand
+	beq LMP_TEMP_KEY, parse_lmp_temp_key
+	beq LMP_TIMING_ACCURACY_REQ, parse_lmp_timing_accuracy_req
+	beq LMP_TIMING_ACCURACY_RES, parse_lmp_timing_accuracy_res
+	beq LMP_UNIT_KEY, parse_lmp_unit_key
+	beq LMP_UNSNIFF_REQ, parse_lmp_unsniff_req
+	beq LMP_USE_SEMI_PERMANENT_KEY, parse_lmp_use_semi_permanend_key
+	beq LMP_ENCAPSULATED_HEADER,parse_lmp_encapsulated_header
+	beq LMP_ENCAPSULATED_PAYLOAD,parse_lmp_encapsulated_payload
+	beq LMP_SIMPLE_PAIRING_CONFIRM,parse_simple_pairing_confirm
+	beq LMP_SIMPLE_PAIRING_NUMBER,parse_lmp_simple_pairing_number
+	beq LMP_DHKEY_CHECK,parse_dhkey_check
+	beq LMP_CLKOFFSET_RES, parse_lmp_clkoffset_res
+	beq LMP_ENC_KEY_SIZE_MASK_REQ,parse_enc_key_size_mask_req
+	beq LMP_QUALITY_OF_SERVICE_REQ,parse_quality_of_server_req
+	beq LMP_QUALITY_OF_SERVICE,parse_quality_of_server
+/* lmp is not recognized, check to see if we respond to all messages */ 
+/* rejecting the unrecognized message with PDU not recognized */
+reject_unknown_packet:
+	jam UNKNOWN_LMP_PDU,mem_lmo_reason2
+reject_lmp_packet:
+	jam LMP_NOT_ACCEPTED,mem_lmo_opcode2
+	rtn
+
+parse_quality_of_server_req:
+	branch accept_lmp_msg
+
+parse_quality_of_server:
+	rtn
+
+parse_lmp_clkoffset_req:
+	jam LMP_CLKOFFSET_RES,mem_lmo_opcode2
+	rtn	
+
+parse_enc_key_size_mask_req:
+	jam LMP_ENC_KEY_SIZE_MASK_RES,mem_lmo_opcode2
+	rtn
+	
+parse_lmp_set_afh:
+	fetch 4,mem_rxbuf+1
+	lshift pdata,pdata
+	store 4,mem_afh_instant
+	fetch 1,mem_rxbuf+5
+	store 1,mem_afh_new_mod
+	fetch 5,mem_rxbuf+6
+	store 5,mem_afh_map_new
+	fetch 5,mem_rxbuf+11
+	istore 5,contw
+	fetch 1,mem_mode
+	set1 afh_change,pdata
+	store 1,mem_mode
+	rtn
+parse_lmp_escape:
+	bpatchx patch22_6,mem_patch22
+	fetch 1,mem_rxbuf+1
+	set1 7,pdata
+	store 1,mem_lmi_opcode2
+	beq LMP_EXT_ACCEPTED,parse_lmpext_accepted
+	beq LMP_NOT_ACCEPTED_EXT,parse_lmpext_not_accepted
+	beq LMP_SNIFF_SUBRATING_REQ, parse_lmp_sniff_subrating_req
+	beq LMP_SNIFF_SUBRATING_RES, parse_lmp_sniff_subrating_res
+	beq LMP_PACKET_TYPE_TABLE_REQ,parse_lmpext_packet_type_table_req
+	beq LMP_EXT_FEATURES_REQ,parse_lmpext_features_req
+	beq LMP_EXT_FEATURES_RES,parse_lmpext_features_res
+	beq LMP_EXT_CHN_CLASSIFICATION_REQ,parse_lmpext_chn_classification_req
+	beq LMP_PAUSE_ENCRYPTION_REQ,parse_lmpext_pause_encrypt
+	beq LMP_RESUME_ENCRYPTION_REQ,parse_lmpext_resume_encrypt
+	beq LMP_IO_CAP_REQ,parse_lmpext_iocap_req
+	beq LMP_IO_CAP_RES,parse_lmpext_iocap_res
+	beq LMP_PING_REQ,parse_lmpext_ping_req
+	rtneq LMP_EXT_FEATURES_RES
+
+reject_unknown_ext_packet:
+	jam LMP_NOT_ACCEPTED_EXT,mem_lmo_opcode2
+	jam UNKNOWN_LMP_PDU,mem_lmo_reason2
+	rtn
+
+parse_lmpext_ping_req:
+	jam LMP_PING_RES,mem_lmo_opcode2
+	rtn
+	
+parse_lmpext_chn_classification_req:
+	jam LMP_NOT_ACCEPTED_EXT,mem_lmo_opcode2
+	jam NOT_SUPPORT_CHN_CLASSIFICATION,mem_lmo_reason2
+	rtn
+	
+parse_lmpext_iocap_req:
+	call iocap_lmpext_load
+	jam LMP_IO_CAP_RES,mem_lmo_opcode2
+	rtn
+
+parse_lmpext_iocap_res:
+	call iocap_lmpext_load
+	branch iocap_lmpext_common
+	
+iocap_lmpext_load:
+	arg      mem_sp_iocap_remote,contw
+	fetch 3, mem_rxbuf+2
+	istore    3,contw
+	rtn
+	
+iocap_lmpext_common:
+ifdef SIMPLE_PAIRING
+	branch master_set_mem_master_sp_flag,true//is un very ok to use master flag,but we have to add many codes if wo don't
+endif
+	rtn
+parse_lmpext_accepted:
+	fetch 1,mem_rxbuf+3
+	set1 7,pdata
+	store 1,mem_lmi_accepted_opcode
+	beq LMP_PACKET_TYPE_TABLE_REQ,parse_lmpext_accepted_ptt
+	rtn
+
+	
+parse_lmpext_not_accepted:
+	fetch 1,mem_rxbuf+3
+	set1 7,pdata
+	store 1,mem_lmi_accepted_opcode
+	beq LMP_PACKET_TYPE_TABLE_REQ,parse_lmpext_not_accepted_ptt
+	rtn
+
+parse_lmpext_accepted_ptt:
+	fetch 1,mem_ptt
+	fetcht 1,mem_state_map
+	nsetflag blank,smap_edr,temp
+	storet 1,mem_state_map
+parse_lmpext_not_accepted_ptt:
+	fetch 1,mem_state
+	rtnbit0 state_init_seq
+	set0 state_init_seq,pdata
+	store 1,mem_state
+	jam LMP_SETUP_COMPLETE,mem_lmo_opcode2
+	rtn
+
+parse_lmpext_pause_encrypt:
+	nbranch parse_lmpext_pause_encrypt_slave, master
+	jam LMP_STOP_ENCRYPTION_REQ,mem_lmo_opcode2
+	branch tid_reply
+
+parse_lmpext_pause_encrypt_slave:	
+	jam LMP_PAUSE_ENCRYPTION_REQ, mem_lmo_opcode2
+	rtn
+
+parse_lmpext_resume_encrypt:
+//trans file to pc may cause pause/resume encrypt
+//if ms is conn_sm_wait_end the controllor won't send ack after recieved start_encypt_accept
+	call tid_reply
+	branch lmp_start_encryption
+
+parse_lmpext_features_req:
+	ifetch 1,contr
+	store 1,mem_ext_features_page
+	beq 1,parse_lmpext_features_req_page1
+	beq 2,parse_lmpext_features_req_page2	
+	rtn
+	
+parse_lmpext_features_req_page1:
+	jam LMP_EXT_FEATURES_RES,mem_lmo_opcode2
+	increase 1,contr
+	ifetch 1,contr
+	bbit1 LMP_FEATURES_EXT_PAGE1_SC_HOST_BIT,remote_support_br_sc_host
+	branch remote_not_support_br_sc_host
+	
+parse_lmpext_features_req_page2:
+	jam LMP_EXT_FEATURES_RES,mem_lmo_opcode2
+	increase 1,contr
+	ifetch 2,contr
+	bbit1 LMP_FEATURES_EXT_PAGE2_SC_CONTROLLER_BIT,remote_support_br_sc_controller
+	branch remote_not_support_br_sc_controller
+	
+remote_support_br_sc_controller:
+	fetch 1,mem_remote_br_sc_support
+	set1 REMOTE_BR_SC_CONTROLLER_BIT,pdata
+	call set_remote_br_sc_support
+	
+	fetch 1,mem_remote_br_sc_support
+	rtnne 3
+	fetch 1,mem_secure_connections_enable
+	rtnbit0 SECURE_CONNECTIONS_BR_BIT
+ 	jam ENCAPSULATED_MINOR_TYPE_P256,mem_encapsulated_minor_type
+ 	rtn
+ 	
+remote_not_support_br_sc_controller:
+	fetch 1,mem_remote_br_sc_support
+	set0 REMOTE_BR_SC_CONTROLLER_BIT,pdata
+set_remote_br_sc_support:	
+	store  1,mem_remote_br_sc_support
+	rtn
+	 
+remote_support_br_sc_host:
+	fetch 1,mem_remote_br_sc_support
+	set1 REMOTE_BR_SC_HOST_BIT,pdata
+	branch set_remote_br_sc_support	
+	
+remote_not_support_br_sc_host:
+	fetch 1,mem_remote_br_sc_support
+	set0 REMOTE_BR_SC_HOST_BIT,pdata
+	branch set_remote_br_sc_support	
+	
+parse_lmpext_features_res:
+	fetcht 1,mem_rxbuf+4
+	and temp,0x1,temp
+	storet 1,mem_remote_sppcap
+	fetch 1,mem_hci_cmd
+	bne hci_cmd_wait_remote_ext_feature,parse_lmpext_features_res_not_hci
+	jam 0,mem_hci_cmd
+parse_lmpext_features_res_not_hci:
+	fetch 1,mem_conn_sm
+	rtnne CONN_SM_WAIT_FEATURES_EXT
+	jam CONN_SM_SEND_CONN_REQ,mem_conn_sm
+	branch process_conn_sm
+
+parse_lmp_accepted:
+	bpatchx patch22_7,mem_patch22
+	fetch 1,mem_rxbuf+1
+	store 1,mem_lmi_accepted_opcode
+	beq LMP_HOST_CONNECTION_REQ,parse_lmp_accepted_hostconn//ok
+	beq LMP_IN_RAND,parse_lmp_accepted_inrand//ok
+	beq LMP_ENCRYPTION_MODE_REQ,parse_lmp_accepted_enc_mode//ok
+	beq LMP_ENCRYPTION_KEY_SIZE_REQ,parse_lmp_accepted_enc_keysize//ok
+	beq LMP_START_ENCRYPTION_REQ,parse_lmp_accepted_start_enc//ok
+	beq LMP_STOP_ENCRYPTION_REQ,parse_lmp_accepted_stop_enc//ok
+	beq LMP_UNSNIFF_REQ,parse_lmp_accepted_unsniff_req//ok
+	beq LMP_SNIFF_REQ,parse_lmp_accepted_sniff_req//ok
+	beq LMP_SWITCH_REQ,parse_lmp_accepted_switch
+	// simple pairing 
+	beq LMP_ENCAPSULATED_HEADER,parse_lmp_accepted_encapsulated_header//ok
+	beq LMP_ENCAPSULATED_PAYLOAD,parse_lmp_accepted_encapsulated_payload//ok
+	beq LMP_SIMPLE_PAIRING_NUMBER,parse_lmp_accepted_simple_pairing_number//ok
+	beq LMP_DHKEY_CHECK,parse_lmp_accepted_dhkey_check//ok
+	rtn
+	
+parse_lmp_not_accepted:
+	bpatchx patch23_0,mem_patch23
+	fetch 1,mem_rxbuf+1
+	store 1,mem_lmi_accepted_opcode
+	beq LMP_NAME_REQ,parse_lmp_not_accepted_name_req//ok
+	beq LMP_HOST_CONNECTION_REQ,parse_lmp_not_accepted_hostconn//ok
+	beq LMP_AU_RAND,parse_lmp_not_accepted_aurand//ok
+	beq LMP_IN_RAND,parse_lmp_not_accepted_inrand//ok
+	beq LMP_SWITCH_REQ,parse_lmp_not_accepted_switch//ok
+	/* simple pairing support */
+	beq  LMP_SIMPLE_PAIRING_NUMBER,parse_lmp_not_accepted_simple_pairing_number//ok
+	beq  LMP_DHKEY_CHECK,parse_lmp_not_accepted_dhkey_check//ok
+	beq LMP_UNSNIFF_REQ,parse_lmp_not_accepted_unsniff_req
+	beq LMP_SNIFF_REQ,parse_lmp_not_acdcept_sniff_req
+	rtn
+
+parse_lmp_accepted_switch:
+	jam BT_EVT_SWITCH_ACCEPT,mem_fifo_temp
+	call ui_ipc_send_event
+	branch role_switch_prepare0
+	
+parse_lmp_not_accepted_switch:
+	jam BT_EVT_SWITCH_NOT_ACCEPT,mem_fifo_temp
+	call ui_ipc_send_event
+	jam SWITCH_FLAG_NOT_ACCEPT,mem_switch_flag
+	setarg TIMER_SWITCH_WAITE
+	arg switch_wait_timer,queue
+	branch timer_init
+
+
+parse_lmp_accepted_hostconn:
+	//fetch 1,mem_state
+	//rtnbit0 state_init_seq
+	fetch 1,mem_lmp_conn_state
+	set1 RECEIVED_CONN_REQ,pdata
+	store 1,mem_lmp_conn_state
+	jam BT_EVT_BB_CONNECTED,mem_fifo_temp
+	call ui_ipc_send_event
+	jam LMP_PACKET_TYPE_TABLE_REQ,mem_lmo_opcode2
+	//nbranch parse_lmp_accepted_hostconn_ctn,master
+parse_lmp_accepted_hostconn_ctn:
+	/* checking to see if we requested host connection */
+	fetch 1,mem_conn_sm
+	bne CONN_SM_WAIT_CONN_ACCEPT, parse_rx_done
+	//branch parse_lmp_accepted_hostconn_master,master
+	/* continuing on with host connection state machine */
+	jam CONN_SM_AUTH_PAIR,mem_conn_sm
+	rtn
+	//branch host_create_conn_auth_pair
+
+	/* we need to move fast and send au_rand...jumping to next part of state machine for conn */
+//parse_lmp_accepted_hostconn_master:
+	//jam CONN_SM_AUTH_PAIR ,mem_conn_sm
+//	rtn
+
+parse_lmp_not_accepted_hostconn:
+	jam ACL_CONNECTION_ALREADY_EXISTS,mem_disconn_reason_send
+	jam LMP_DETACH,mem_lmo_opcode2
+	/* clearing connection state machine */
+	jam CONN_SM_STANDBY,mem_conn_sm
+	/* sending error message to host */
+	branch parse_rx_done,true
+	rtn
+
+parse_lmp_accepted_inrand:
+	fetch 1,mem_link_key_exists
+	nrtn blank
+	call clear_linkkey
+	call  lmp_generate_key
+	rtn master
+	set1 mark_slave_in_rand_accepted,mark
+	rtn
+
+parse_lmp_accepted_enc_mode:
+	nrtn master
+	jam LMP_ENCRYPTION_KEY_SIZE_REQ,mem_lmo_opcode2
+	fetch 1,mem_state_map
+	rtnbit0 smap_encryption
+	jam LMP_STOP_ENCRYPTION_REQ,mem_lmo_opcode2
+	rtn
+
+parse_lmp_accepted_enc_keysize:
+	branch lmp_start_encryption
+	
+parse_lmp_accepted_start_enc:
+	call send_create_conn_start_l2cap_timer_sm
+	fetch 1,mem_state
+	rtnbit1 state_conn_comp
+	jam LMP_SETUP_COMPLETE,mem_lmo_opcode2
+	fetch 1,mem_conn_sm
+	rtnne CONN_SM_ENCRYPT_WAIT
+	jam CONN_SM_ENCRYPT_WAIT_CLEAR,mem_conn_sm
+	rtn
+	
+parse_lmp_accepted_stop_enc:
+	/* again this won't work with multipoint. keep track of anyone else encrypting */
+	//jam HOST_STOP_ENCRYPTION,message_queue_B0
+	//jam 1,message_queue_B1
+	//jam HOST_RETURN_SUCCESS,message_queue_B2
+	//fetch 1,mem_lmp_state2
+	//set1 MESSAGE_QUEUE,pdata
+	//store 1,mem_lmp_state2
+	rtn
+
+parse_lmp_not_accepted_aurand:	
+parse_lmp_not_accepted_aurand_send_detach:	
+	fetch 1,mem_device_option
+	sub pdata,dvc_op_mouse,null
+	call mouse_delay_enter_hibernata,zero
+	jam LMP_DETACH,mem_lmo_opcode2
+	jam OTHER_END_TERMINATED,mem_disconn_reason_send
+	rtn
+/*in pair remote cancel the pair*/
+parse_lmp_not_accepted_inrand:
+	fetch 1,mem_rxbuf+2
+	beq KEY_MISSING,parse_lmp_inrand_key_missing
+	rtnne PAIRING_NOT_ALLOWED
+	jam PAIRING_NOT_ALLOWED,mem_disconn_reason_send
+	jam LMP_DETACH,mem_lmo_opcode2
+	rtn	
+parse_lmp_inrand_key_missing:
+	jam KEY_MISSING,mem_disconn_reason_send
+	jam LMP_DETACH,mem_lmo_opcode2
+	rtn
+	
+parse_lmp_not_accepted_name_req:
+	rtn
+	
+parse_lmp_not_accepted_simple_pairing_number:
+	jam SP_STAT_NULL,mem_sp_state
+	jam LMP_DETACH,mem_lmo_opcode2
+	branch parse_rx_done
+	
+parse_lmp_not_accepted_dhkey_check:
+	jam SP_STAT_NULL,mem_sp_state
+	jam LMP_DETACH,mem_lmo_opcode2
+	branch parse_rx_done
+parse_lmp_not_accepted_unsniff_req:
+	jam BT_EVT_UNSNIFF_NOT_ACCEPT,mem_fifo_temp
+	branch ui_ipc_send_event
+	
+parse_lmp_accepted_unsniff_req:
+	jam BT_EVT_UNSNIFF_ACCEPT,mem_fifo_temp
+	call ui_ipc_send_event
+	branch sniff_exit
+	
+parse_lmp_accepted_sniff_req:
+	jam BT_EVT_SNIFF_ACCEPT,mem_fifo_temp
+	call ui_ipc_send_event
+	setarg 0
+	store 2,mem_dsniff
+	fetch 2,mem_sniff_param_interval
+	lshift pdata,pdata
+	store 2,mem_tsniff
+	fetch 1,mem_sniff_param_attempt
+	store 1,mem_sniff_attempt
+	fetch 1,mem_sniff_param_timeout
+	store 1,mem_sniff_timeout
+	branch sniff_init
+	
+parse_lmp_not_acdcept_sniff_req:
+	jam BT_EVT_SNIFF_NOT_ACCEPT,mem_fifo_temp
+	branch ui_ipc_send_event
+	
+parse_lmp_crypt_key:
+	fetcht 1,mem_rxbuf+1
+	sub temp,6,null
+	branch lmp_reject_pdu_not_allowed,positive
+	storet 1,mem_key_size
+	branch accept_lmp_msg
+	
+parse_lmp_setup_complete:
+	fetch 1,mem_lmp_conn_state
+	set1 RECEIVED_SETUP_COMPLETE,pdata
+	store 1,mem_lmp_conn_state
+	rtnbit1 SENT_SETUP_COMPLETE
+	jam LMP_SETUP_COMPLETE,mem_lmo_opcode2
+	branch parse_rx_done
+	
+parse_lmp_max_slot:
+	//jam LMP_MAX_SLOT,mem_lmi_opcode2
+	//branch accept_lmp_msg
+	rtn
+	
+parse_lmp_max_slot_req:
+	fetch 1,mem_max_slot
+	fetcht 1,mem_rxbuf+1
+	isub temp,null
+	//jam LMP_MAX_SLOT_REQ,mem_lmi_opcode2
+	branch accept_lmp_msg,positive
+	jam LMP_NOT_ACCEPTED,mem_lmo_opcode2
+	jam UNSPECIFIED_ERROR,mem_lmo_reason2
+	jam LMP_MAX_SLOT_REQ,mem_lmi_opcode2
+	rtn
+	
+parse_lmp_detach:
+	branch prepare_disconnect
+	
+accept_lmp_msg:
+	jam LMP_ACCEPTED,mem_lmo_opcode2
+	rtn
+
+parse_lmp_incr_power:
+	jam LMP_MAX_POWER,mem_lmo_opcode2
+	rtn
+
+parse_lmp_decr_power:
+	jam LMP_MIN_POWER,mem_lmo_opcode2
+	rtn
+	
+parse_lmp_version_res:
+	fetch 1,mem_conn_sm
+	rtneq CONN_SM_WAIT_VERSION
+	/* continuing on with host connection state machine */
+	jam CONN_SM_SEND_FEATURES ,mem_conn_sm
+	/* we need to move fast and send au_rand...jumping to next part of state machine for conn */
+	rtn
+
+
+parse_lmp_auto_rate:
+	rtn	
+
+parse_lmp_in_rand:
+	fetch 1,mem_sc_only_mode
+	nbranch parse_lmp_in_rand_not_accept,blank
+	
+	call lmp_copy_rand
+	jam pincode_state_wait_pincode,mem_pincode_state
+	jam BT_EVT_PINCODE_REQ,mem_fifo_temp
+	call ui_ipc_send_event
+
+	call tid_check
+	nbranch lmp_accept_inrand,true
+	nbranch parse_lmp_inrand_res,master // ignore this because of not ssp temporary
+parse_lmp_in_rand_not_accept:
+	jam LMP_NOT_ACCEPTED,mem_lmo_opcode2
+	jam LMP_IN_RAND,mem_lmi_opcode2
+	jam TRANSACTION_COLLISION,mem_lmo_reason2
+	rtn
+	
+parse_lmp_inrand_res:
+	fetch 1,mem_op
+	set1 op_inrand_req,pdata
+	store 1,mem_op
+	rtn
+
+//store current tid
+pop_tid_follow:
+	fetcht 1,mem_state_map
+	nsetflag blank,smap_lmptid,temp
+	storet 1,mem_state_map
+	rtn
+	
+//restore current tid
+push_tid_follow:
+	fetch 1,mem_lmo_tid2
+	rshift pdata,pdata
+	and_into 1,pdata
+	rtn
+
+parse_lmp_au_rand_moudle:
+	fetch 1,mem_nv_data_number
+	rtn blank
+	fetch 1,mem_pairing_auth
+	call load_device_list,blank
+	rtn	
+
+parse_lmp_au_rand:
+	call parse_lmp_au_rand_moudle
+	call push_tid_follow
+	store 1,mem_sres_tid
+	fetch 1,mem_encapsulated_minor_type
+	beq ENCAPSULATED_MINOR_TYPE_P256,parse_lmp_au_rand_256
+	call lmp_copy_rand
+	jam LMP_SRES,mem_lmo_opcode2
+parse_lmp_au_rand_common:	
+	fetch 1,mem_link_key_exists
+	nrtn blank
+	fetch 1,mem_state
+	rtnbit1 state_combkey		/* we have comb key, but not verified */
+	jam KEY_MISSING,mem_lmo_reason2
+	branch reject_lmp_packet
+	
+parse_lmp_au_rand_256:
+	jam LMP_AU_RAND,mem_lmo_opcode2
+	arg mem_sp_random_remote,contw
+	arg mem_rxbuf+1,contr
+	call memcpy16	
+	branch parse_lmp_au_rand_common
+
+	
+parse_lmp_sres:	
+	fetch 1,mem_encapsulated_minor_type
+	beq ENCAPSULATED_MINOR_TYPE_P256,parse_lmp_sres_256
+
+	arg mem_plap,rega
+	call function_e1
+	fetcht 4,mem_input_store
+	fetch 4,mem_rxbuf+1
+	isub temp,null
+	branch authentication_ok,zero
+authentication_fail:	
+	jam LMP_DETACH,mem_lmo_opcode2
+	jam AUTHENTICATION_FAILURE_ERROR,mem_disconn_reason_send	
+	rtn
+	
+authentication_ok:
+	call copy_aco
+	call authentication_ok_common
+	fetch 1,mem_ssp_enable
+	branch  pairing_success,blank
+	rtn
+
+parse_lmp_sres_256:
+	fetch 4,mem_rxbuf+1
+	fetcht 4,mema
+	isub temp,null
+	branch authentication_ok_256,zero
+	branch authentication_fail
+	
+authentication_ok_256:
+	call authentication_ok_common
+	fetch 1,mem_secure_connections_enable
+	bbit1  SECURE_CONNECTIONS_BR_BIT,pairing_success
+	rtn
+	
+	
+authentication_ok_common:
+	call linkkey_ready///save link key
+	fetch 1,mem_op
+	isolate1 op_auth_req,pdata
+	set0 op_auth_req,pdata
+	store 1,mem_op
+	fetch 1,mem_conn_sm
+	beq CONN_SM_AUTH_WAIT,authentication_ok_conn_sm
+	beq CONN_SM_PAIRING_WAIT,authentication_ok_conn_sm
+	rtn
+authentication_ok_conn_sm:
+	fetch 1,mem_pairing_auth
+	rtnne DEFALT_PAIRING_AUTH
+	fetch 1,mem_state_map
+	rtnbit1 smap_encryption
+	branch host_create_conn_encrypt
+
+parse_lmp_comb_key:
+	arg mem_rxbuf+1,rega
+	arg mem_kinit,regb
+	arg mem_random_number,contw
+	call xor16
+	arg mem_plap,rega
+	call generate_linkkey
+	jam LMP_AU_RAND,mem_lmo_opcode2
+	fetch 1,mem_state
+	bbit0 state_combkey,lmp_generate_key
+	rtn
+	
+parse_lmp_name_res:
+	fetch 2,mem_len
+	add pdata,-3,loopcnt	//for remote name length error
+	fetcht 1,mem_rxbuf+1
+	setarg mem_tmp_buffer
+	iadd temp,contw
+	arg mem_rxbuf+3,contr
+	call memcpy
+	fetcht 1,mem_name_offset
+	fetch 1,mem_rxbuf+2
+	isub temp,pdata
+	sub pdata,14,null
+	branch parse_lmp_name_res_end,positive
+	add temp,14,pdata
+	store 1,mem_name_offset
+	jam LMP_NAME_REQ,mem_lmo_opcode2
+	rtn
+parse_lmp_name_res_end:
+	fetch 1,mem_state_map
+	set1 smap_name_res,pdata
+	store 1,mem_state_map
+	bbit1 smap_name_req,lmp_disconnect
+	rtn
+parse_lmp_name_req:
+	fetch 1,mem_rxbuf+1
+	store 1,mem_lmi_opcode2 //offset 
+	jam LMP_NAME_RES,mem_lmo_opcode2
+	rtn
+
+parse_lmp_conn_req:
+	branch accept_lmp_msg
+
+parse_lmp_timing_accuracy_req:
+	jam LMP_TIMING_ACCURACY_RES,mem_lmo_opcode2
+	rtn
+
+parse_lmp_features_req:
+	jam LMP_FEATURES_RES,mem_lmo_opcode2
+	rtn
+
+parse_lmp_version_req:
+	jam LMP_VERSION_RES,mem_lmo_opcode2
+	rtn
+
+parse_lmp_supervision_timeout:
+//	fetch 2,mem_rxbuf+1
+//	store 2,mem_supervision_to
+	rtn
+	
+
+
+parse_lmp_sniff_subrating_req:
+	fetch 2,mem_tsniff
+	iforce temp
+	fetch 1,mem_rxbuf+2
+	store 1,mem_subsniff_rate
+	imul32 temp,temp
+	fetch 2,mem_rxbuf+3
+	lshift pdata,pdata
+	store 2,mem_subsniff_tcmax
+	fetch 4,mem_rxbuf+5
+	lshift pdata,pdata
+ 	store 4,mem_subsniff_instant
+	//product pdata
+	deposit temp
+	store 2,mem_subsniff_tsniff
+	rtn
+parse_lmpext_packet_type_table_req:
+	fetcht 1,mem_ptt
+	fetch 1,mem_rxbuf+2
+	ixor temp,null
+	nbranch reject_unknown_ext_packet,zero
+	isolate1 0,pdata
+	fetch 1,mem_state_map
+	setflag true,smap_edr,pdata
+	store 1,mem_state_map
+	jam LMP_EXT_ACCEPTED,mem_lmo_opcode2
+	jam LMP_PACKET_TYPE_TABLE_REQ,mem_lmi_opcode2
+	rtn
+
+	
+parse_lmp_sniff_subrating_res:
+parse_lmp_preferred_rate:
+parse_lmp_max_power:
+parse_lmp_min_power:
+	rtn
+parse_lmp_page_mode_req:
+	//jam LMP_PAGE_MODE_REQ,mem_lmi_opcode2
+	branch accept_lmp_msg
+parse_lmp_page_scan_mode_req:
+	//this can influence connection. need accepted
+	//jam LMP_PAGE_SCAN_MODE_REQ,mem_lmi_opcode2
+	branch accept_lmp_msg
+
+
+	
+parse_lmp_slot_offset:
+	fetch 2,mem_rxbuf+1
+	store 2,mem_slot_offset
+	rtn
+
+parse_lmp_sniff_req_check_sniff_para:
+	fetch 2,mem_rxbuf+4 /* tsniff */
+	fetcht 1,mem_lpm_mult
+	imul32 temp,pdata
+	arg 0x640,temp
+	isub temp,null
+//	branch lmp_reject_pdu_not_allowed,positive
+	rtn
+	
+parse_lmp_sniff_req:
+	fetch 2,mem_rxbuf+6
+	branch lmp_reject_pdu_not_allowed,blank
+	call parse_lmp_sniff_req_check_sniff_para
+	branch lmp_reject_pdu_not_allowed,positive
+	fetch 1,mem_device_option
+	sub pdata,dvc_op_module,null
+	call module_set_lpm_mult_2,zero
+	fetch 1,mem_state
+	bbit1 state_insniff,lmp_reject_pdu_not_allowed
+	fetch 2,mem_rxbuf+2 /* dsniff */
+	lshift pdata,pdata
+	store 2,mem_dsniff	
+	fetch 2,mem_rxbuf+4 /* tsniff */
+	lshift pdata,pdata
+	store 2,mem_tsniff
+	fetch 2,mem_rxbuf+6 /* sniff attempt */
+	store 1,mem_sniff_attempt
+	iforce temp
+	fetch 2,mem_rxbuf+8 /* sniff timeout */
+	store 1,mem_sniff_timeout
+	isub temp,null
+	nbranch set_big_value_to_attempt,positive
+	store 1,mem_sniff_attempt
+set_big_value_to_attempt:	
+	//call sniff_init
+	jam LMP_ACCEPTED,mem_lmo_opcode2
+	jam LMP_SNIFF_REQ,mem_lmi_opcode2
+	rtn
+
+parse_lmp_start_encryption_req:
+	fetch 1,mem_encapsulated_minor_type
+	beq ENCAPSULATED_MINOR_TYPE_P256,parse_lmp_start_encryption_req_256
+	call accept_lmp_msg
+	call lmp_copy_rand
+	call function_e3
+	branch start_encryption
+
+parse_lmp_start_encryption_req_256:
+	call accept_lmp_msg
+//	call lmp_copy_rand
+	call start_encryption
+calc_kc:	
+	call function_h3
+	arg mem_kc,contw
+	arg mem_sp_calc_result_high,contr
+	arg 0x10,loopcnt
+	branch reverse_byte
+	
+parse_lmp_stop_encryption_req:
+	call accept_lmp_msg
+	branch stop_encryption
+	
+
+parse_lmp_switch_req:
+	fetch 4,mem_rxbuf+1
+	lshift pdata,pdata
+	//branch parse_lmp_switch_req_not_accept
+	branch parse_lmp_switch_accept,master
+	fetcht 1,mem_link_key_exists
+	nbranch parse_lmp_switch_req_clear_mark,blank
+parse_lmp_switch_req_not_accept:
+	jam LMP_SWITCH_REQ,mem_lmi_opcode2
+	branch lmp_reject_pdu_not_allowed
+	
+parse_lmp_switch_req_clear_mark:
+	jam LMP_SLOT_OFFSET,mem_lmo_opcode2
+	jam 0,mem_conn_sm
+	branch role_switch_prepare
+
+parse_lmp_switch_accept:
+	call role_switch_prepare
+	set1 mark_reconn_recieve_switch,mark
+	fetch 1,mem_connection_options
+	set0 CONNECTION_SWITCH,pdata
+	store 1,mem_connection_options
+	branch accept_lmp_msg
+
+	
+
+parse_lmp_temp_rand:
+parse_lmp_temp_key:
+parse_lmp_timing_accuracy_res:	
+parse_lmp_unit_key:	
+parse_lmp_use_semi_permanend_key:
+	rtn
+
+	
+parse_lmp_unsniff_req:
+	jam LMP_ACCEPTED,mem_lmo_opcode2
+	jam LMP_UNSNIFF_REQ,mem_lmi_opcode2
+	jam BT_EVT_REMOTE_UNSNIFF,mem_fifo_temp
+	call ui_ipc_send_event
+	branch sniff_exit
+	
+parse_lmp_encapsulated_header:
+	jam 0,mem_sp_remote_key_recv_count
+	fetch 1,mem_rxbuf+1
+	store 1,mem_encapsulated_major_type
+	bne ENCAPSULATED_MAJOR_TYPE,lmp_reject_pdu_not_allowed
+	fetcht 1,mem_rxbuf+2
+	storet 1,mem_encapsulated_minor_type
+	
+	fetch 1,mem_sc_only_mode
+	branch parse_lmp_encapsulated_header2,blank
+	sub temp,ENCAPSULATED_MINOR_TYPE_P256,null
+	nbranch authentication_fail,zero
+parse_lmp_encapsulated_header2:
+	fetch 1,mem_rxbuf+3
+	beq ENCAPSULATED_LEN_P256,parse_lmp_encapsulated_header3
+	beq ENCAPSULATED_LEN_P192,parse_lmp_encapsulated_header3
+	branch lmp_reject_pdu_not_allowed
+
+parse_lmp_encapsulated_header3:
+	store 1,mem_encapsulated_len	
+	call check_localsm
+	branch parse_lmp_encapsulated_header_master,true
+	jam SP_STAT_KEY_RECV,mem_sp_state
+parse_lmp_encapsulated_header_master:
+	jam LMP_ACCEPTED,mem_lmo_opcode2
+	jam LMP_ENCAPSULATED_HEADER,mem_lmi_opcode2
+	branch parse_rx_done
+	
+	
+parse_lmp_accepted_encapsulated_header:
+	//jam LMP_ENCAPSULATED_PAYLOAD,mem_lmi_opcode2
+	//branch   accept_lmp_msg  	
+	jam LMP_ENCAPSULATED_PAYLOAD,mem_lmo_opcode2
+      //   branch   accept_lmp_msg  	
+         rtn
+parse_lmp_accepted_simple_pairing_number:
+	fetch 1,mem_ssp_mode_flag
+	beq SSP_MODE_SSP_PIN_FLAG,parse_lmp_accepted_simple_pairing_number_ssp_pin
+	beq SSP_MODE_PASSKEY_ENTRY_FLAG,parse_lmp_accepted_simple_pairing_number_passkey
+parse_lmp_accepted_simple_pairing_number_common:
+	call check_localsm
+	rtn true
+	jam SP_STAT_CONFIRM_RECV,mem_sp_state
+	rtn
+
+parse_lmp_accepted_simple_pairing_number_ssp_pin:
+	call g_noninit_number_confirm
+	jam BT_EVT_BT_GKEY_GENERATE,mem_fifo_temp
+	call ui_ipc_send_event
+	branch parse_lmp_accepted_simple_pairing_number_common
+
+
+parse_lmp_accepted_simple_pairing_number_passkey:
+	call check_localsm
+	rtn true
+	fetch 1,mem_authentication_passkey_times
+	beq 19,authentication_passkey_end
+	increase 1,pdata
+	store 1,mem_authentication_passkey_times
+//	branch p_authentication_passkey
+
+authentication_passkey:
+	jam SP_FLAG_COMMIT,mem_sp_flag
+	jam SP_STAT_COMMIT_CALC,mem_sp_state 
+	fetch 1,mem_authentication_passkey_times
+	copy pdata,queue
+	fetch 6,mem_pin
+	qisolate1 pdata
+	setarg 0x80
+	setflag true,0,pdata
+	store 1,mem_passkey_1bit
+	rtn
+
+authentication_passkey_end:	
+	jam SP_STAT_CONFIRM_RECV,mem_sp_state
+	rtn
+
+parse_lmp_accepted_dhkey_check:
+	call parse_lmp_accepted_dhkey_check_common
+pairing_success:
+	fetch 1,mem_flag_pairing_state
+	rtn blank
+	jam FLAG_PAIRING_STATE_NOT_PAIRING,mem_flag_pairing_state
+	jam BT_EVT_BT_PAIRING_SUCCESS,mem_fifo_temp
+	branch ui_ipc_send_event
+
+
+parse_lmp_accepted_dhkey_check_common:
+	call check_localsm
+ifdef SIMPLE_PAIRING
+	ncall g_noninit_192,true	//when be master  call g_init
+	call g_init_192,true
+endif
+	call check_localsm
+	rtn true
+	jam SP_STAT_LINK_KEY_CALC,mem_sp_state
+	jam SP_FLAG_COMMIT,mem_sp_flag
+	rtn
+
+parse_simple_pairing_confirm:
+	arg mem_sp_confirm_remote,contw
+	arg mem_rxbuf+1,contr
+	call memcpy16
+	fetch 1,mem_ssp_mode_flag
+	rtneq  SSP_MODE_PASSKEY_ENTRY_FLAG
+ifdef SIMPLE_PAIRING
+	branch master_set_mem_master_sp_flag
+endif
+	rtn
+	
+parse_lmp_encapsulated_payload:
+	fetch 1,mem_encapsulated_minor_type
+	beq ENCAPSULATED_MINOR_TYPE_P192,parse_lmp_encapsulated_payload_192
+	beq ENCAPSULATED_MINOR_TYPE_P256,parse_lmp_encapsulated_payload_256
+	branch lmp_reject_pdu_not_allowed
+
+parse_lmp_encapsulated_payload_256:
+	fetch 1,mem_master_sp_state
+	beq SP_STAT_RANDOM_SEND,parse_encapsulated_payload_256_master
+	fetch    1,mem_sp_state
+	bne SP_STAT_KEY_RECV,lmp_reject_pdu_not_allowed
+parse_encapsulated_payload_256_master:
+	fetch    1,mem_sp_remote_key_recv_count
+	sub      pdata,0x30,contw
+	nbranch  lmp_reject_pdu_not_allowed,positive
+	arg      mem_le_pubkey_remote_x_256,contw
+	iadd     contw,contw
+	fetch 8,mem_rxbuf+1
+	istore   8,contw
+	fetch 8,mem_rxbuf+9
+	istore   8,contw
+	fetch    1,mem_sp_remote_key_recv_count
+	increase 16,pdata
+	store    1,mem_sp_remote_key_recv_count
+	bne ENCAPSULATED_LEN_P256,accept_lmp_msg
+	branch parse_lmp_encapsulated_payload_completed
+
+parse_lmp_encapsulated_payload_192:
+	fetch 1,mem_master_sp_state
+	beq SP_STAT_RANDOM_SEND,parse_encapsulated_payload_192_master
+	fetch    1,mem_sp_state
+	bne SP_STAT_KEY_RECV,lmp_reject_pdu_not_allowed
+parse_encapsulated_payload_192_master:
+	fetch    1,mem_sp_remote_key_recv_count
+	sub      pdata,0x20,contw
+	nbranch  lmp_reject_pdu_not_allowed,positive
+	arg      mem_sp_pubkey_remote,contw
+	iadd     contw,contw
+	fetch 8,mem_rxbuf+1
+	istore   8,contw
+	fetch 8,mem_rxbuf+9
+	istore   8,contw
+	fetch    1,mem_sp_remote_key_recv_count
+	increase 16,pdata
+	store    1,mem_sp_remote_key_recv_count
+	bne ENCAPSULATED_LEN_P192,accept_lmp_msg
+parse_lmp_encapsulated_payload_completed:
+	call check_localsm
+	branch accept_lmp_msg,true
+	jam      SP_KEY_VALID,mem_sp_remote_key_invalid
+	jam      SP_STAT_KEY_GENERATE,mem_sp_state
+	jam      SP_FLAG_COMMIT,mem_sp_flag  
+	branch   accept_lmp_msg
+	
+	
+parse_lmp_accepted_encapsulated_payload: 
+	fetch 1,mem_encapsulated_minor_type
+	beq ENCAPSULATED_MINOR_TYPE_P192,parse_lmp_accepted_encapsulated_payload_192
+	beq ENCAPSULATED_MINOR_TYPE_P256,parse_lmp_accepted_encapsulated_payload_256
+	rtn
+	
+parse_lmp_accepted_encapsulated_payload_192:
+	fetch 1,mem_sp_local_key_send_count
+	beq	ENCAPSULATED_LEN_P192,parse_lmp_encapsulated_payload_all_accepted
+	jam LMP_ENCAPSULATED_PAYLOAD,mem_lmo_opcode2
+	rtn    
+	
+parse_lmp_accepted_encapsulated_payload_256:
+	fetch 1,mem_sp_local_key_send_count
+	beq	ENCAPSULATED_LEN_P256,parse_lmp_encapsulated_payload_all_accepted
+	jam LMP_ENCAPSULATED_PAYLOAD,mem_lmo_opcode2
+	rtn    
+	
+parse_lmp_encapsulated_payload_all_accepted:   
+	call check_localsm
+	branch parse_lmp_encapsulated_payload_all_accepted_master,true
+	fetch 1,mem_ssp_mode_flag
+	beq SSP_MODE_PASSKEY_ENTRY_FLAG,parse_lmp_encapsulated_payload_all_accepted_get_passkey
+	jam      SP_FLAG_COMMIT,mem_sp_flag
+	jam      SP_STAT_COMMIT_CALC,mem_sp_state 
+	branch   parse_rx_done
+
+parse_lmp_encapsulated_payload_all_accepted_get_passkey:
+	jam BT_EVT_BT_GET_PASSKEY,mem_fifo_temp
+	branch ui_ipc_send_event
+
+
+parse_lmp_encapsulated_payload_all_accepted_master:
+	//call sp_master_generate_local_key
+	branch   parse_rx_done   
+
+parse_lmp_simple_pairing_number:
+	fetch 1,mem_master_sp_state
+	beq SP_STAT_RANDOM_SEND,parse_lmp_simple_pairing_number_master
+	fetch    1,mem_sp_state
+	bne SP_STAT_RANDOM_RECV,lmp_reject_pdu_not_allowed
+parse_lmp_simple_pairing_number_master:
+	arg      mem_sp_random_remote,contw
+	fetch 8,mem_rxbuf+1
+	istore   8,contw
+	fetch 8,mem_rxbuf+9
+	istore   8,contw
+	call check_localsm
+	branch parse_lmp_simple_pairing_number_master0,true
+	jam      SP_STAT_RANDOM_SEND,mem_sp_state
+	jam      SP_FLAG_COMMIT,mem_sp_flag
+	branch accept_lmp_msg  
+parse_lmp_simple_pairing_number_master0:
+	jam SP_STAT_COMMIT_CALC,mem_master_sp_state
+ifdef SIMPLE_PAIRING
+	branch master_set_mem_master_sp_flag
+endif
+	branch lmp_reject_pdu_not_allowed	
+	
+parse_dhkey_check:
+	fetch    1,mem_master_sp_state
+	beq SP_STAT_CONFIRM_SEND,parse_dhkey_check_master
+	fetch    1,mem_sp_state
+	bne SP_STAT_CONFIRM_RECV,lmp_reject_pdu_not_allowed
+parse_dhkey_check_master:
+	arg mem_sp_check_result,contw
+	arg mem_rxbuf+1,contr
+	call memcpy16
+	call check_localsm
+	branch parse_dhkey_check_master0,true
+	fetch 1,mem_ssp_mode_flag
+	beq SSP_MODE_SSP_PIN_FLAG,number_comparison_mode
+number_comparison_successed:
+	jam 0,mem_flag_mode_ssp_pin
+	jam SP_STAT_CONFIRM_CHECK,mem_sp_state
+	jam SP_FLAG_COMMIT,mem_sp_flag
+	jam LMP_DHKey_Check,mem_lmi_opcode2
+	branch   parse_rx_done
+	
+parse_dhkey_check_master0:
+	jam      SP_STAT_CONFIRM_CHECK,mem_master_sp_state
+	jam      SP_FLAG_COMMIT,mem_master_sp_flag
+	branch   parse_rx_done
+	
+lmp_reject_pdu_not_allowed:
+	jam PDU_NOT_ALLOWED,mem_lmo_reason2
+	branch reject_lmp_packet
+
+number_comparison_mode:
+	fetch 1,mem_flag_mode_ssp_pin
+	bbit1 FLAG_MODE_SSP_PIN_REVICEVE_COMPARISON_BIT ,comparison_result
+	set1 FLAG_MODE_SSP_PIN_RECIEVE_DHKEY_BIT,pdata
+	store 1,mem_flag_mode_ssp_pin
+	rtn
+	
+comparison_result:
+	bbit1 FLAG_MODE_SSP_PIN_COMPARISON_RESULT_BIT,number_comparison_successed
+	jam 0,mem_flag_mode_ssp_pin
+	branch lmp_reject_pdu_not_allowed
+
+	
+parse_lmp_clkoffset_res:
+	branch parse_rx_done
+		
+parse_lmp_encryption_mode_req:
+	fetch 1,mem_connection_options
+	set0 CONNECTION_ENCRYPT,pdata
+	store 1,mem_connection_options
+	call accept_lmp_msg
+	nrtn master					/* do sth only if we're master */
+	fetch 1,mem_rxbuf+1
+	fetcht 1,mem_op
+	setflag blank,op_stop_enc,temp
+	nsetflag blank,op_start_enc,temp
+	storet 1,mem_op
+	rtn 
+	
+parse_lmp_features_res:
+	fetcht 8,mem_rxbuf+1		/*fix bcp(baoshijie) err*/
+parse_lmp_features_res_not_hci:	
+	fetch 1,mem_conn_sm
+	rtnne CONN_SM_WAIT_FEATURES_RES
+
+	fetch 1,mem_connection_options
+	bbit0 CONNECTION_FEATURE_EXT,parse_lmp_send_conn
+
+	jam CONN_SM_SEND_FEATURES_EXT,mem_conn_sm
+	rtn
+parse_lmp_send_conn:
+	jam CONN_SM_SEND_CONN_REQ,mem_conn_sm
+	rtn
+parse_lmp_test_activate:
+	fetch 1,mem_debug_config
+	store 1,mem_test_mode_old_debug_config
+	jam LMP_ACCEPTED,mem_lmo_opcode2
+	jam LMP_TEST_ACTIVATE,mem_lmi_opcode2
+	rtn
+parse_lmp_test_control:
+	/* the 9 test control parameters are XORed with 0x55 */
+	/* doing the XOR here and storing in mem_temp_payload */
+	jam LMP_ACCEPTED,mem_lmo_opcode2
+	jam LMP_TEST_CONTROL,mem_lmi_opcode2
+	force 9,loopcnt
+	arg mem_rxbuf+1,contr
+	arg mem_temp_payload,contw
+parse_lmp_test_xor:
+	ifetch 1,contr
+	xor_into 0x55,pdata
+	istore 1,contw
+	loop parse_lmp_test_xor
+	fetch 1,test_mode_scenario
+	fetcht 1,mem_tester_emulate
+	set0 tester_no_whitening,temp
+	set0 tester_pattern_test,temp
+	beq EXIT_TEST_MODE,	 parse_lmp_test_control_exit
+	beq PAUSE_TEST_MODE,	 parse_lmp_test_control_pause
+	beq CLOSED_LOOP_BACK_ACL,	 parse_lmp_test_control_loopback
+	beq ACL_WITHOUT_WHITENING,	 parse_lmp_test_control_loopback_nowhite
+	beq CLOSED_LOOP_BACK_SCO,	 parse_lmp_test_control_loopback
+	beq SCO_WITHOUT_WHITENING,	 parse_lmp_test_control_loopback_nowhite
+	beq ZERO_PATTERN,	 parse_lmp_test_control_pattern
+	beq ONE_PATTERN,	 parse_lmp_test_control_pattern
+	beq ALT_PATTERN,	 parse_lmp_test_control_pattern
+	beq ALT2_PATTERN,	 parse_lmp_test_control_pattern
+	beq PSEUDORANDOM,	 parse_lmp_test_control_pattern
+	rtn
+parse_lmp_test_control_exit:
+	/* restoring old parameters */
+	fetch 1,mem_tester_emulate
+	set1 tester_exit,pdata
+	set1 tester_change,pdata
+	store 1,mem_tester_emulate
+	rtn
+parse_lmp_test_control_pattern:
+	set1 tester_pattern_test,temp
+	jam 5,mem_lch_code
+	fetch 2,test_mode_data_length
+	iforce loopcnt
+	store 2,mem_len
+	arg mem_rxbuf,contw
+	call pn9
+parse_lmp_test_control_loopback_nowhite:
+	set1 tester_no_whitening,temp
+parse_lmp_test_control_loopback:
+	set1 tester_change,temp
+	force 0,pdata
+	store 1,mem_slave_rcvcnt
+	store 2,mem_tst_pktcnt_crc
+	store 2,mem_tst_pktcnt_dmh
+	store 2,mem_tst_pktcnt_hec
+	store 2,mem_tst_pktcnt_sync
+	fetch 1,test_mode_hopping_mode
+	compare FIXED_FREQ,pdata,0xff
+	setflag true,tester_fixed_freq,temp
+	storet 1,mem_tester_emulate
+	rtn
+
+parse_lmp_test_control_pause:
+	set0 mark_testmode,mark
+	jam 0,mem_tester_emulate
+	fetch 1,mem_debug_config
+	set0 debug_tx_pattern,pdata
+	store 1,mem_debug_config
+	rtn
+
+
+	
+	
+
+lmp_copy_rand:	
+	arg mem_rxbuf+1,contr
+	arg mem_random_number,contw
+	branch memcpy16
+
+lmp_generate_key:
+	jam LMP_COMB_KEY,mem_lmo_opcode2
+	rtn
+
+lmp_start_encryption:
+	nrtn master
+	jam LMP_START_ENCRYPTION_REQ,mem_lmo_opcode2
+	rtn
+	
+lmp_accept_inrand:
+	arg mem_lap,rega
+	call generate_kinit
+	jam LMP_ACCEPTED,mem_lmo_opcode2
+	jam LMP_IN_RAND,mem_lmi_opcode2
+	rtn
+
+lmp_disconnect:
+	jam 10,mem_conn_timer
+	jam LMP_DETACH,mem_lmo_opcode2
+	jam LOCAL_HOST,mem_disconn_reason_send	
+	rtn
+
+/*********************************/
+/*********lmp send*************/
+/********************************/
+	/* enable user if a lmp packet is to send */
+send_lmp:
+	bpatchx patch23_1,mem_patch23
+	disable user
+	call lmo_fifo_process
+	fetch 1,mem_lmp_to_send
+	rtn blank
+/* lmp message to be processed. this will either be because host??? */
+/* wants to send a lmp message or because one resulted from the LMP */
+/* processing section */
+/********* outgoing lmp lookup table *************/
+	bbit1 7,send_lmp_escape
+send_lmp0:
+	beq LMP_NAME_REQ,	 send_lmp_name_req
+	beq LMP_NAME_RES,	 send_lmp_name_res
+	beq LMP_ACCEPTED,	 send_lmp_accepted
+	beq LMP_NOT_ACCEPTED,	 send_lmp_not_accepted
+	beq LMP_FEATURES_REQ,	 send_lmp_features_req
+	beq LMP_FEATURES_RES,	 send_lmp_features_res
+	beq LMP_TIMING_ACCURACY_RES,	 send_lmp_timing_accuracy_res
+	beq LMP_VERSION_REQ,	 send_lmp_version_req
+	beq LMP_VERSION_RES,	 send_lmp_version_res
+	beq LMP_SETUP_COMPLETE,	 send_lmp_setup_complete
+	beq LMP_SUPERVISION_TIMEOUT,	 send_lmp_superto
+	beq LMP_HOST_CONNECTION_REQ,send_lmp_no_payload
+	beq LMP_IN_RAND,send_lmp_inrand
+	beq LMP_COMB_KEY,send_lmp_comb_key
+	beq LMP_AU_RAND,send_lmp_aurand
+	beq LMP_SRES,send_lmp_sres
+	beq LMP_ENCRYPTION_MODE_REQ,send_lmp_encryption_mode_req
+	beq LMP_ENCRYPTION_KEY_SIZE_REQ,send_lmp_encryption_key_size_req
+	beq LMP_START_ENCRYPTION_REQ,send_lmp_start_encryption
+	beq LMP_DETACH,send_lmp_detach
+	beq LMP_QUALITY_OF_SERVICE_REQ, send_lmp_quality_of_service_req
+	beq LMP_UNIT_KEY,send_lmp_unit_key
+	//Optional (O)
+	beq LMP_INCR_POWER_REQ,send_lmp_inc_power	
+	beq LMP_CLKOFFSET_RES, send_lmp_clkoffset_res	
+	beq LMP_MAX_POWER,send_lmp_nopayload_reply
+	beq LMP_MAX_SLOT, send_lmp_max_slot
+	beq LMP_MAX_SLOT_REQ, send_lmp_max_slot_req
+	beq LMP_MIN_POWER,send_lmp_nopayload_reply
+	beq LMP_SLOT_OFFSET, send_lmp_slot_offset
+	beq LMP_SWITCH_REQ, send_lmp_switch_req
+	beq LMP_SNIFF_REQ, send_lmp_sniff_req
+	beq LMP_STOP_ENCRYPTION_REQ, send_lmp_stop_encryption_req	
+	beq LMP_TIMING_ACCURACY_REQ, send_lmp_timing_accuracy_req
+	beq LMP_UNSNIFF_REQ, send_lmp_unsniff_req
+	beq LMP_ENCAPSULATED_HEADER,send_lmp_encapsulated_header
+	beq LMP_ENCAPSULATED_PAYLOAD,send_lmp_encapsulated_payload
+	beq LMP_SIMPLE_PAIRING_CONFIRM,send_lmp_simple_pairing_comfirm
+	beq LMP_SIMPLE_PAIRING_NUMBER,send_lmp_simple_pairing_number
+	beq LMP_DHKEY_CHECK,send_lmp_dhkey_check
+	beq LMP_AUTO_RATE,send_lmp_auto_rate
+	beq LMP_ENC_KEY_SIZE_MASK_RES,send_lmp_enc_key_size_mask_res
+	//master only must(M)
+	beq LMP_CLKOFFSET_REQ, send_lmp_clkoffset_req
+	beq LMP_QUALITY_OF_SERVICE, send_lmp_quality_of_service
+	beq LMP_TEST_ACTIVATE, send_lmp_test_activate
+	beq LMP_TEST_CONTROL, send_lmp_test_control
+send_lmp_error:
+	branch assert
+	rtn
+send_lmp_escape:
+	beq LMP_EXT_ACCEPTED,send_lmpext_accepted
+	beq LMP_EXT_FEATURES_REQ,send_lmpext_features_req
+	beq LMP_EXT_FEATURES_RES,send_lmpext_features_res
+	beq LMP_NOT_ACCEPTED_EXT,send_lmpext_not_accepted
+	beq LMP_PACKET_TYPE_TABLE_REQ,send_lmpext_packet_type_table_req
+	beq LMP_PAUSE_ENCRYPTION_REQ,send_lmpext_pause_encryption_req
+	beq LMP_IO_CAP_REQ,send_lmp_io_cap_req
+	beq LMP_IO_CAP_RES,send_lmpext_io_cap_res
+	beq LMP_SNIFF_SUBRATING_REQ,send_lmpext_sniff_subrating_req
+	beq LMP_SNIFF_SUBRATING_RES,send_lmpext_sniff_subrating_res
+	beq LMP_PING_RES,send_lmpext_ping_res
+	branch assert
+
+
+/******** LMP follow messages **********/
+/****** TID follow received packet  *******/
+
+send_lmp_accepted:
+	force 2,pdata
+	call msg_send_lmp
+	fetch 1,mem_lmi_opcode
+	istore 1,contw
+	call send_lmp_follow
+	bpatchx patch23_2,mem_patch23
+	fetch 1,mem_lmi_opcode
+	beq LMP_IN_RAND,send_lmp_accepted_inrand
+	beq LMP_ENCRYPTION_MODE_REQ,send_lmp_accepted_enc_mode
+	beq LMP_ENCRYPTION_KEY_SIZE_REQ,send_lmp_accepted_enc_key
+	beq LMP_SNIFF_REQ,send_lmp_accept_sniff_req
+	beq LMP_HOST_CONNECTION_REQ,send_lmp_accepted_connection
+	beq LMP_DHKEY_CHECK,send_lmp_accept_dhkey_check
+	beq LMP_START_ENCRYPTION_REQ,send_create_conn_start_l2cap_timer_sm  
+	rtn	
+		
+send_create_conn_start_l2cap_timer_sm:
+	fetch 1,mem_conn_sm
+	rtn blank
+	jam CONN_SM_WAIT_DONE,mem_conn_sm
+	setarg TIMER_ENPT_WAITE
+	arg enpt_delay_timer,queue
+	branch timer_init
+	
+send_lmp_accept_sniff_req:
+	branch sniff_init
+send_lmp_not_accepted:
+	force 3,pdata
+	call msg_send_lmp
+	fetch 1,mem_lmi_opcode
+	beq LMP_AU_RAND,send_not_accept_aurand
+	istore 1,contw
+	fetch 1,mem_lmo_reason
+	istore 1,contw
+	branch send_lmp_follow
+
+send_not_accept_aurand:
+	istore 1,contw
+	fetch 1,mem_lmo_reason
+	istore 1,contw
+	arg mem_sres_tid,temp
+	branch special_tid_store
+
+send_lmpext_accepted:	
+	force 4,queue
+	call send_lmpext
+	setarg LMP_ESCAPE
+	istore 1,contw
+	fetch 1,mem_lmi_opcode
+	set0 7,pdata
+	istore 1,contw
+	fetch 1,mem_lmi_opcode
+	branch send_lmp_follow
+
+send_lmpext_not_accepted:
+	force 5,queue
+	call send_lmpext
+	setarg LMP_ESCAPE
+	istore 1,contw
+	fetch 1,mem_lmi_opcode
+	set0 7,pdata
+	istore 1,contw
+	fetch 1,mem_lmo_reason
+	istore 1,contw
+	branch send_lmp_follow
+	
+
+send_lmp_accepted_inrand:
+	call clear_linkkey
+	call tid_check	
+	rtn true
+	branch lmp_generate_key
+
+send_lmp_accepted_enc_mode:
+	fetch 1,mem_op
+	bbit1 op_start_enc,send_lmp_accepted_enc_start
+	rtnbit0 op_stop_enc
+	jam LMP_STOP_ENCRYPTION_REQ,mem_lmo_opcode2
+	set0 op_stop_enc,pdata
+	call tid_reply
+	branch send_lmp_accepted_enc_exit
+send_lmp_accepted_enc_start:
+	jam LMP_ENCRYPTION_KEY_SIZE_REQ,mem_lmo_opcode2
+	set0 op_start_enc,pdata
+send_lmp_accepted_enc_exit:
+	store 1,mem_op
+	rtn
+
+send_lmp_accepted_enc_key:
+	call check_localsm
+	branch lmp_start_encryption,true
+	rtn
+
+send_lmp_accepted_connection:
+	jam LMP_PACKET_TYPE_TABLE_REQ,mem_lmo_opcode2
+	//jam LMP_SETUP_COMPLETE,mem_lmo_opcode2
+	fetch 1,mem_lmp_conn_state
+	set1 RECEIVED_CONN_REQ,pdata
+	store 1,mem_lmp_conn_state
+	jam BT_EVT_BB_CONNECTED,mem_fifo_temp
+	branch ui_ipc_send_event
+
+
+send_lmp_accept_dhkey_check:
+	rtn
+/******** LMP reply messages **********/
+/****** TID always set to remote  *******/
+
+
+send_lmpext_ping_res:
+	force 2,queue
+	call send_lmpext
+	branch send_lmp_reply	
+
+send_lmpext_features_res:
+	copy pdata,rega
+	call check_ssp_enable
+	fetch 1,mem_ext_features_page
+	beq 1,send_lmpext_features_res1
+	beq 2,send_lmpext_features_res2
+	rtn
+	
+send_lmpext_features_res1:	
+	copy rega,pdata
+	force 12,queue
+	call send_lmpext
+	setarg 0x01
+	istore 1,contw
+	fetch 2,mem_lmpext_ssp_enable
+	istore 9,contw
+	branch send_lmp_reply
+
+send_lmpext_features_res2:
+	copy rega,pdata
+	force 12,queue
+	call send_lmpext
+	setarg 0x02
+	istore 1,contw
+	setarg 0x010002
+	istore 9,contw
+	branch send_lmp_reply
+
+check_ssp_enable:
+	fetch 1,mem_ssp_enable 
+	branch ssp_disable, blank
+	call  ssp_enable
+	branch check_br_sc_enable
+
+ssp_disable:
+	fetch 1,mem_features+6
+	set0 param_featrue_ssp,pdata
+	store 1,mem_features+6
+	setarg 0x1
+	store 2,mem_lmpext_ssp_enable
+	branch sp_clear_flags
+	
+//default:featrue is enable,extfeature is disable
+ssp_enable:
+	bpatchx patch23_3,mem_patch23
+	fetch 1,mem_features+6
+	set1 param_featrue_ssp,pdata
+	store 1,mem_features+6
+	setarg param_lmpext_ssp_enable
+	store 2,mem_lmpext_ssp_enable
+	rtn
+	
+check_br_sc_enable:
+	fetch 1,mem_secure_connections_enable
+	bbit1  SECURE_CONNECTIONS_BR_BIT,br_sc_enable
+	rtn
+	
+br_sc_enable:
+	setarg 0x0902 //0x0902
+	store 2,mem_lmpext_ssp_enable
+	rtn
+
+send_lmpext_io_cap_res:     
+	force 5,queue
+         call send_lmpext
+       	fetch 3,mem_lmp_io_cap_payload_iocap
+         istore 3,contw
+	call send_lmp_reply
+	jam FLAG_PAIRING_STATE_PAIRING,mem_flag_pairing_state
+	fetch 1,mem_lmp_io_cap_payload_iocap
+	beq IO_CAPABILITY_DISPLAY_YESNO,responder_iocap_display_yesno
+	beq IO_CAPABILITY_KEYBOARD_ONLY,responder_iocap_keyboard_only
+	beq IO_CAPABILITY_NO_INPUT_NO_OUTPUT,responder_iocap_no_input_no_output
+	rtn
+
+responder_iocap_keyboard_only:
+	fetch 1,mem_sp_iocap_remote
+	beq IO_CAPABILITY_DISPLAY_ONLY,responder_iocap_keyboard_only_initiator_iocap_display_only
+	beq IO_CAPABILITY_DISPLAY_YESNO,responder_iocap_keyboard_only_initiator_iocap_display_yesno
+	beq IO_CAPABILITY_KEYBOARD_ONLY,responder_iocap_keyboard_only_initiator_iocap_keyboard_only
+	beq IO_CAPABILITY_NO_INPUT_NO_OUTPUT,responder_iocap_keyboard_only_initiator_iocap_no_input_no_output
+	rtn
+
+
+responder_iocap_display_yesno:
+	fetch 1,mem_sp_iocap_remote
+	beq IO_CAPABILITY_DISPLAY_ONLY,responder_iocap_display_yesno_initiator_iocap_display_only
+	beq IO_CAPABILITY_DISPLAY_YESNO,responder_iocap_display_yesno_initiator_iocap_display_yesno
+	beq IO_CAPABILITY_KEYBOARD_ONLY,responder_iocap_display_yesno_initiator_iocap_keyboard_only
+	beq IO_CAPABILITY_NO_INPUT_NO_OUTPUT,responder_iocap_display_yesno_initiator_iocap_no_input_no_output
+	rtn
+
+	
+responder_iocap_no_input_no_output:
+	fetch 1,mem_sp_iocap_remote
+	beq IO_CAPABILITY_DISPLAY_ONLY,responder_iocap_no_input_no_output_initiator_iocap_display_only
+	beq IO_CAPABILITY_DISPLAY_YESNO,responder_iocap_no_input_no_output_initiator_iocap_display_yesno
+	beq IO_CAPABILITY_KEYBOARD_ONLY,responder_iocap_no_input_no_output_initiator_iocap_keyboard_only
+	beq IO_CAPABILITY_NO_INPUT_NO_OUTPUT,responder_iocap_no_input_no_output_initiator_iocap_no_input_no_output
+	rtn
+
+responder_iocap_keyboard_only_initiator_iocap_no_input_no_output:
+responder_iocap_display_yesno_initiator_iocap_no_input_no_output:
+responder_iocap_display_yesno_initiator_iocap_display_only:
+responder_iocap_no_input_no_output_initiator_iocap_display_only:
+responder_iocap_no_input_no_output_initiator_iocap_display_yesno:
+responder_iocap_no_input_no_output_initiator_iocap_keyboard_only:
+responder_iocap_no_input_no_output_initiator_iocap_no_input_no_output:
+set_ssp_mode_justwork: 
+	jam SSP_MODE_JUST_WORK_FLAG,mem_ssp_mode_flag
+	fetch 1,mem_classic_bt_flag
+	bbit1 FLAG_SSP_REJECT_JUSTWORK,app_bt_disconnect
+	rtn
+
+responder_iocap_display_yesno_initiator_iocap_display_yesno:
+set_ssp_mode_numeric_comparison: 
+	jam SSP_MODE_SSP_PIN_FLAG,mem_ssp_mode_flag
+	rtn
+
+responder_iocap_keyboard_only_initiator_iocap_display_yesno:
+responder_iocap_keyboard_only_initiator_iocap_keyboard_only:	
+responder_iocap_keyboard_only_initiator_iocap_display_only:	
+responder_iocap_display_yesno_initiator_iocap_keyboard_only:
+set_ssp_mode_passkey: 
+	jam SSP_MODE_PASSKEY_ENTRY_FLAG,mem_ssp_mode_flag
+	rtn
+
+
+classic_bt_set_reject_justwork_flag:
+	arg FLAG_SSP_REJECT_JUSTWORK,queue
+	branch classic_bluetooth_set_flag
+
+classic_bt_clr_reject_justwork_flag:
+	arg FLAG_SSP_REJECT_JUSTWORK,queue
+	branch classic_bluetooth_clr_flag
+
+classic_bluetooth_set_flag:
+	fetch 1,mem_classic_bt_flag
+	qset1 pdata
+	store 1,mem_classic_bt_flag
+	rtn
+
+classic_bluetooth_clr_flag:
+	fetch 1,mem_classic_bt_flag
+	qset0 pdata
+	store 1,mem_classic_bt_flag
+	rtn
+
+         
+send_lmp_io_cap_req:
+	force 5,queue
+	call send_lmpext
+	fetch 3,mem_lmp_io_cap_payload_iocap
+	istore 3,contw
+	branch send_lmp_request
+	
+
+send_lmpext_sniff_subrating_req: 
+
+	rtn
+send_lmpext_sniff_subrating_res: 
+         force 9,queue
+         call send_lmpext
+         fetch 1,mem_subsniff_rate
+         istore 1,contw
+         fetch 2,mem_subsniff_tcmax
+         istore 2,contw
+         fetch 4,mem_subsniff_instant
+         istore 4,contw
+	branch send_lmp_reply
+
+send_lmp_name_res:
+	force 17,pdata
+	call msg_send_lmp
+	fetch 1,mem_lmi_opcode  /* loading name offset */
+	copy pdata,temp
+	beq 0x00,send_lmp_name_res_offset_ok
+	beq 0x0e,send_lmp_name_res_offset_ok
+	beq 0x1c,send_lmp_name_res_offset_ok
+	rtn
+send_lmp_name_res_offset_ok:
+	istore 1,contw	/* writing name offset */
+	fetch 1,mem_local_name_length
+	istore 1,contw	/* writing name length */
+	arg 14,loopcnt
+	setarg mem_local_name
+	iadd temp,contr	/* setting read location */
+	call memcpy
+	branch send_lmp_reply
+
+
+send_lmp_timing_accuracy_res:
+	force 3,pdata
+	call msg_send_lmp
+	setarg 0x0114
+	istore 2,contw
+	branch send_lmp_reply
+
+send_lmp_clkoffset_res:
+	// dopod s505 must wait for this res
+	force 3,pdata
+	call msg_send_lmp
+	fetch 4,mem_clke_bt
+	isub clkn_bt,pdata
+	branch send_lmp_clkoffset_res_master,master
+	sub pdata,0,pdata		/* our role is slave */
+send_lmp_clkoffset_res_master:	
+	// bit 16-2 of clkslave-clkmaster
+	rshift2 pdata,pdata
+	set0 15,pdata
+	istore 2,contw
+	branch send_lmp_reply
+
+send_lmp_version_res:
+	force 6,pdata
+	call msg_send_lmp
+	fetch 5,mem_lmp_version
+	istore 5,contw
+	branch send_lmp_reply
+
+send_lmp_features_res:
+	force 9,pdata
+	call msg_send_lmp
+	fetch 8,mem_features
+	istore 8,contw
+	branch send_lmp_reply  
+
+
+/******** LMP request messages **********/
+/****** TID always set to local initiated *******/
+	
+
+send_lmpext_features_req:
+	call check_ssp_enable
+	fetch 1,mem_lmp_to_send
+	force 12,queue
+	call send_lmpext
+	setarg 0x01
+	istore 1,contw
+	fetch 2,mem_lmpext_ssp_enable
+	istore 2,contw
+	setarg 0
+	istore 3,contw
+	setarg 0x00
+	istore 4,contw
+	branch send_lmp_request
+
+send_lmpext_packet_type_table_req:
+	force 3,queue
+	call send_lmpext
+	fetch 1,mem_ptt
+	istore 1,contw
+	disable user
+	call send_lmp_request
+	nrtn user
+	nrtn master
+	fetch 1,mem_afh_cfg
+	rtnbit0 AFH_CFG_ON
+	call afh_init
+	branch afh_open_all_channels
+	
+
+afh_init:
+	jam 0x3,mem_afh_cfg
+	setarg 0
+	store 4,mem_afh_timer
+	arg mem_afh_map_lo,contw
+	call afh_reset_map
+	arg mem_afh_map_new,contw
+	call afh_reset_map
+	arg mem_afh_classify_channel_map,contw
+	call afh_reset_map
+	branch afh_clear_error_counter
+afh_open_all_channels:
+	arg mem_afh_map_new,contw
+	call afh_reset_map
+	call afh_clear_error_counter
+	branch afh_set_send_flag
+
+
+afh_reset_map:
+	setarg 0xffffff
+	istore 3,contw
+	istore 3,contw
+	istore 3,contw
+	setarg 0x7f
+	istore 1,contw
+	rtn
+afh_clear_error_counter:
+	setarg 0
+	store 2,mem_afh_error_total
+	rtn
+afh_set_send_flag:
+	fetch 1,mem_afh_cfg
+	set1 send_lmp_set_afh,pdata
+	store 1,mem_afh_cfg
+	rtn
+
+
+send_lmpext_pause_encryption_req:
+	force 2,queue
+	call send_lmpext
+	nbranch send_lmp_reply,master
+	// assume slave will not send pause req firstly???
+	branch send_lmp_request
+
+
+	
+send_lmp_detach:
+	force 2,pdata
+	call msg_send_lmp
+	fetch 1,mem_disconn_reason_send
+	istore 1,contw
+	call send_lmp_request
+prepare_disconnect:
+	fetch 1,mem_op
+	set1 op_disconn,pdata
+	store 1,mem_op
+	jam 50,mem_conn_timer
+	rtn
+	
+
+send_lmp_no_payload:
+	force 1,pdata
+	call msg_send_lmp
+	branch send_lmp_request
+send_lmp_nopayload_reply:
+	force 1,pdata
+	call msg_send_lmp
+	branch send_lmp_reply
+	
+	
+send_lmp_encryption_mode_req:
+	force 2,pdata
+	call msg_send_lmp
+	fetch 1,mem_state_map
+	isolate0 smap_encryption,pdata
+	setflag true,0,pdata
+	and_into 1,pdata
+	istore 1,contw
+	branch send_lmp_request
+
+
+send_lmp_superto:
+	force 3,pdata
+	call msg_send_lmp
+	fetch 2,mem_supervision_to
+	istore 2,contw
+	branch send_lmp_request
+
+send_lmp_name_req:
+	jam 250,mem_conn_timer
+	force 2,pdata
+	call msg_send_lmp
+	fetch 1,mem_name_offset
+	istore 1,contw
+	branch send_lmp_request
+
+send_lmp_test_control:
+	force 10,pdata
+	call msg_send_lmp
+	arg mem_temp_payload,contr
+	force 9,loopcnt
+send_lmp_test_control_loop:	
+	ifetch 1,contr
+	xor_into 0x55,pdata
+	istore 1,contw
+	loop send_lmp_test_control_loop
+	branch send_lmp_request  
+
+send_lmp_quality_of_service_req:
+	branch send_lmp_request
+send_lmp_unit_key:
+	branch send_lmp_request
+
+send_lmp_slot_offset:
+	rtn master
+	call calc_slot_offset
+	force 9,pdata
+	call msg_send_lmp
+	fetch 2,mem_slot_offset
+	istore 2,contw
+	fetch 3,mem_lap
+	istore 3,contw
+	fetch 1,mem_uap
+	istore 1,contw
+	fetch 2,mem_nap
+	istore 2,contw
+	bmark0 mark_switch_initiated,send_lmp_slot_offset_reply
+	set0 mark_switch_initiated,mark
+	call send_lmp_request
+	jam LMP_SWITCH_REQ,mem_lmo_opcode2
+	rtn
+send_lmp_slot_offset_reply:
+	call send_lmp_reply
+	jam LMP_ACCEPTED,mem_lmo_opcode2
+	jam LMP_SWITCH_REQ,mem_lmi_opcode2
+	rtn
+	
+send_lmp_switch_req:
+	arg 0x200,temp
+	branch switch_on_native,master
+	deposit clke_bt
+	branch switch_slack
+switch_on_native:
+	deposit clkn_bt
+switch_slack:
+	deposit bt_clk
+	iadd temp,pdata
+	and_into 0x1fc,pdata
+	store 4,mem_sniff_anchor
+	force 5,pdata
+	call msg_send_lmp
+	fetch 4,mem_sniff_anchor		/* reused as switch instant */
+	rshift pdata,pdata
+	istore 4,contw
+	branch send_lmp_request
+
+send_lmp_sniff_req:
+	force 10,pdata
+	call msg_send_lmp
+	arg mem_sniff_payload,contr
+	ifetch 9,contr
+	istore 9,contw
+	branch send_lmp_request
+
+	
+send_lmp_timing_accuracy_req:
+/* default to TID_NORM_SEND */
+	force 3,pdata
+	call msg_send_lmp
+	setarg 0x0114
+	istore 2,contw
+	branch send_lmp_request
+	
+send_lmp_unsniff_req:
+//--------------------need to completa
+	force 1,pdata
+	call msg_send_lmp
+	//fetch 1,mem_unsniff_pending
+	//nbranch send_msg_done,blank
+	//jam 1,mem_unsniff_pending
+	//fetch 2,mem_sniff_attempt
+	//fetch 2,mem_nsniff_attempt
+	//lshift3 pdata,pdata
+	//lshift pdata,pdata
+	//store 1,mem_unsniff_cnt
+	branch send_lmp_request
+
+	
+send_lmp_max_slot:
+	force 2,pdata
+	call msg_send_lmp
+	fetch 1,mem_max_slot
+	istore 1,contw
+	branch send_lmp_request
+	
+	
+send_lmp_max_slot_req:
+	force 2,pdata
+	call msg_send_lmp
+	setarg 0x05		/*5 slot*/
+	istore 1,contw
+	branch send_lmp_request
+
+
+send_lmp_inc_power:
+	force 2,pdata
+	call msg_send_lmp
+	setarg 0x00		/*5 slot*/
+	istore 1,contw
+	branch send_lmp_request
+
+
+send_lmp_setup_complete_by_module:
+	jam LMP_MAX_SLOT_REQ,mem_lmo_opcode2
+	rtn
+send_lmp_setup_complete:
+	fetch 1,mem_device_option
+	sub pdata,dvc_op_module,null
+	call send_lmp_setup_complete_by_module,zero
+	fetch 1,mem_state
+	set1 state_conn_comp,pdata
+	store 1,mem_state
+	copy clkn_bt,pdata
+	store 4,mem_aurand_send_delay_time
+	fetch 1,mem_lmp_conn_state
+	bbit1 SENT_SETUP_COMPLETE,send_lmp_setup_complete_has_sent
+	set1 SENT_SETUP_COMPLETE,pdata
+	store 1,mem_lmp_conn_state
+	jam BT_EVT_SETUP_COMPLETE,mem_fifo_temp
+	call ui_ipc_send_event
+	force 1,pdata
+	call msg_send_lmp
+	branch send_lmp_request
+send_lmp_setup_complete_has_sent:
+	jam 0,mem_lmp_to_send
+	rtn
+	
+send_lmp_version_req:
+	force 6,pdata
+	call msg_send_lmp
+	fetch 5,mem_lmp_version
+	istore 5,contw
+	branch send_lmp_request
+
+send_lmp_features_req:
+	force 9,pdata
+	call msg_send_lmp
+	fetch 8,mem_features
+	istore 8,contw
+	branch send_lmp_request  
+
+sp_master_send_io_cap_get:
+	jam SP_FLAG_COMMIT,mem_master_sp_flag
+	fetch 1,mem_sp_local_key_invalid
+	rtnne SP_KEY_VALID
+	jam SP_MASTER_STAT_START_DONE,mem_master_sp_state
+	rtn
+
+sp_master_send_io_cap_send:
+	call tid_initiate
+	jam LMP_IO_CAP_REQ,mem_lmo_opcode2
+	jam SP_STAT_KEY_SEND,mem_master_sp_state
+	rtn
+	
+	
+sp_master_send_LMP_ENCAPSULATED_HEADER:
+	call tid_initiate
+	jam      LMP_ENCAPSULATED_HEADER,mem_lmo_opcode2
+	jam SP_STAT_RANDOM_SEND,mem_master_sp_state
+	rtn
+	
+sp_master_commitment_compare:
+	arg mem_sp_calc_result_high,rega
+	arg mem_sp_confirm_remote,regb
+	arg 16,loopcnt
+	call string_compare
+	branch sp_master_commitment_compare_success,zero
+	jam SP_STAT_NULL,mem_master_sp_state
+ifdef SIMPLE_PAIRING
+	call master_clear_mem_master_sp_flag
+endif
+	jam LMP_SIMPLE_PAIRING_NUMBER,mem_lmi_opcode2 
+	branch lmp_reject_pdu_not_allowed
+	
+sp_master_commitment_compare_success:
+	jam SP_STAT_CONFIRM_CALC,mem_master_sp_state
+ifdef SIMPLE_PAIRING
+	call master_set_mem_master_sp_flag
+endif
+	jam LMP_SIMPLE_PAIRING_NUMBER,mem_lmi_opcode2
+	branch accept_lmp_msg  
+	
+
+	
+sp_master_send_lmp_simple_pairing_number:
+	jam LMP_SIMPLE_PAIRING_NUMBER,mem_lmo_opcode2
+	rtn
+	
+
+
+sp_send_lmp_encapsulated_header:
+	// calculate the private & public key here
+	//jam      LMP_ENCAPSULATED_HEADER,mem_lmp_to_send
+	jam      LMP_ENCAPSULATED_HEADER,mem_lmo_opcode2
+	//jam      TID_PAIRING,mem_lmp_tid
+	rtn
+	//fetch 1,mem_tid_table
+	//set1 TID_PAIRING,pdata
+	//store 1,mem_tid_table
+     
+    
+send_lmp_encapsulated_header: 
+	jam 0,mem_sp_local_key_send_count
+	force 4,pdata
+	call msg_send_lmp
+	fetch 3,mem_encapsulated_major_type
+	istore 3,contw 
+	call check_localsm
+	branch send_lmp_request,true
+	branch send_lmp_reply
+
+
+send_lmp_encapsulated_payload:
+	fetch 1,mem_encapsulated_minor_type
+	beq ENCAPSULATED_MINOR_TYPE_P256,send_lmp_encapsulated_payload_256
+	beq ENCAPSULATED_MINOR_TYPE_P192,send_lmp_encapsulated_payload_192
+	rtn
+	
+send_lmp_encapsulated_payload_256:
+	 force 17,pdata
+	call msg_send_lmp
+	fetch 1,mem_sp_local_key_send_count
+	arg mem_sc_pubkey_local_x_256,contr
+	branch send_lmp_encapsulated_payload_common
+
+send_lmp_encapsulated_payload_192:
+	 force 17,pdata
+	call msg_send_lmp
+	fetch 1,mem_sp_local_key_send_count
+	arg mem_sp_pubkey_local,contr
+send_lmp_encapsulated_payload_common:
+	iadd contr,contr    
+	ifetch   8,contr
+	istore   8,contw
+	ifetch   8,contr
+	istore   8,contw
+	fetch    1,mem_sp_local_key_send_count
+	increase 16,pdata
+	store    1,mem_sp_local_key_send_count
+	call check_localsm
+	branch send_lmp_request,true
+	branch send_lmp_reply
+	//branch send_lmp_request
+	
+sp_send_lmp_simple_pairing_comfirm:
+        jam      SP_STAT_RANDOM_RECV,mem_sp_state
+        jam      LMP_SIMPLE_PAIRING_CONFIRM,mem_lmo_opcode2
+        rtn
+send_lmp_simple_pairing_comfirm:
+        //jam      SP_STAT_RANDOM_RECV,mem_sp_state
+        //jam      TID_PAIRING,mem_lmp_tid
+        force    17,pdata
+        call msg_send_lmp   
+        arg      mem_sp_calc_result_high,contr
+        ifetch   8,contr
+        istore   8,contw
+        ifetch   8,contr
+        istore   8,contw 
+        branch send_lmp_reply
+
+sp_send_lmp_simple_pairing_number:
+	jam      LMP_SIMPLE_PAIRING_NUMBER,mem_lmo_opcode2
+	rtn
+
+send_lmp_simple_pairing_number:
+	//jam      TID_PAIRING,mem_lmp_tid
+	call check_localsm
+ifdef SIMPLE_PAIRING
+	call sp_local_random_key_generator,true
+endif
+	force    17,pdata
+	call msg_send_lmp
+	arg      mem_sp_random_local,contr
+	ifetch   8,contr
+	istore   8,contw
+	ifetch   8,contr
+	istore   8,contw
+	call check_localsm
+	nbranch send_lmp_reply,true
+	branch send_lmp_request,true
+
+master_sp_sm_end:
+	//jam DEFAULT_STATEMACHINE,mem_sp_localsm
+	jam SP_STAT_DONE,mem_master_sp_state
+sp_aurand_send:
+	call tid_initiate
+	jam LMP_AU_RAND,mem_lmo_opcode2
+	call check_localsm_master
+ifdef SIMPLE_PAIRING
+	branch sp_master_key_prarm_push,true
+	branch sp_link_key_prarm_push
+endif
+master_sp_send_lmp_dhkey_check:
+	call tid_reply
+sp_send_lmp_dhkey_check: 
+	jam      LMP_DHKEY_CHECK,mem_lmo_opcode2
+	rtn
+send_lmp_dhkey_check: 
+	//jam      TID_PAIRING,mem_lmp_tid
+	force    17,pdata
+	call     msg_send_lmp
+	arg      mem_sp_calc_result_high,contr
+	ifetch   8,contr
+	istore   8,contw
+	ifetch   8,contr
+	istore   8,contw 
+	call check_localsm
+	nbranch send_lmp_reply,true
+	branch send_lmp_request,true
+
+send_lmp_enc_key_size_mask_res:
+	force 3,pdata
+	call msg_send_lmp   
+	setarg 0xfffe //enc key size mask
+	istore 2,contw
+	branch send_lmp_reply
+
+send_lmp_auto_rate:
+	branch send_lmp_request
+send_lmp_clkoffset_req:
+	branch send_lmp_request
+send_lmp_quality_of_service:
+	branch send_lmp_request
+send_lmp_test_activate:
+	branch send_lmp_request
+
+/******** LMP request/reply messages **********/
+/****** TID transaction specific *******/
+
+send_lmp_comb_key:
+	call generate_random_number
+	arg mem_lap,rega
+	call generate_linkkey
+	force 17,pdata
+	call msg_send_lmp
+	arg mem_kinit,rega
+	arg mem_random_number,regb
+	call xor16
+	nbranch send_lmp_follow,master
+	branch send_lmp_tid
+
+send_lmp_inrand:
+	call generate_random_number
+	arg mem_plap,rega
+	call generate_kinit
+send_lmp_rand:	/* used by in_rand,au_rand,start_encrypt */
+	force 17,pdata
+	call msg_send_lmp
+	arg mem_random_number,contr
+	call memcpy16
+	fetch 1,mem_conn_sm 
+	beq CONN_SM_AUTH_WAIT,send_lmp_request
+	beq CONN_SM_PAIRING_WAIT,send_lmp_request
+	branch send_lmp_tid
+
+send_lmp_aurand:
+	fetch 1,mem_encapsulated_minor_type
+	beq ENCAPSULATED_MINOR_TYPE_P256,send_lmp_aurand_256
+
+	fetch 1,mem_pairing_auth
+	branch send_lmp_aurand_notpairing,blank
+send_lmp_aurand2:
+	call check_localsm
+	call tid_initiate,true
+	ncall tid_reply,true
+	branch send_lmp_aurand_common
+send_lmp_aurand_notpairing:
+	call tid_initiate
+send_lmp_aurand_common:
+	call generate_random_number
+	branch send_lmp_rand
+
+send_lmp_aurand_256:
+	jam LMP_SRES,mem_lmo_opcode2
+	branch send_lmp_aurand2
+
+send_lmp_sres:
+	fetch 1,mem_encapsulated_minor_type
+	beq ENCAPSULATED_MINOR_TYPE_P256,send_lmp_sres_256
+
+	arg mem_lap,rega
+	call function_e1
+	force 5,pdata
+	call msg_send_lmp
+	fetch 4,mem_input_store
+	istore 4,contw
+	arg mem_sres_tid,temp
+	call special_tid_store
+	call copy_aco
+	call check_localsm
+	branch send_lmp_sres_master,true
+	jam DONE_ENCRYP,mem_wait_encryption
+	fetch 1,mem_pairing_auth
+	rtn blank
+	jam LMP_AU_RAND,mem_lmo_opcode2
+send_lmp_sres_master:
+	fetch 1,mem_link_key_exists
+	rtn blank
+send_lmp_sres_startenc:
+	call check_localsm
+	nbranch send_lmp_sres_startenc_slave,true
+	rtn
+	
+send_lmp_sres_startenc_slave:
+	rtnmark0 mark_slave_in_rand_accepted
+	set0 mark_slave_in_rand_accepted,mark
+	jam LMP_ENCRYPTION_MODE_REQ, mem_lmo_opcode2
+	rtn
+	
+send_lmp_sres_256:
+	call function_h4
+	call function_h5
+	force 5,pdata
+	call msg_send_lmp
+	fetch 4,memb
+	istore 4,contw
+	arg mem_sres_tid,temp
+	call special_tid_store
+	call copy_aco_256
+	call check_localsm
+	branch send_lmp_sres_master,true
+	jam DONE_ENCRYP,mem_wait_encryption
+	fetch 1,mem_pairing_auth
+	rtn blank
+	branch send_lmp_sres_master
+	
+copy_aco_256:
+	fetch 8,mem_sp_calc_result_high
+	store 8,mem_ccm_iv
+	rtn
+	
+send_lmp_start_encryption:
+	call generate_random_number
+	call function_e3
+	force 17,pdata
+	call msg_send_lmp
+	arg mem_random_number,contr
+	call memcpy16
+	branch send_lmp_tid
+
+send_lmp_stop_encryption_req:
+	force 1,pdata
+	call msg_send_lmp
+	branch send_lmp_tid
+
+send_lmp_encryption_key_size_req:
+	force 2,pdata
+	call msg_send_lmp
+	force 16,pdata
+	istore 1,contw
+	store 1,mem_key_size
+	branch send_lmp_tid
+
+msg_send_lmp:
+/* FLOW is set high and LMP is indicated */
+	lshift3 pdata,pdata
+	or_into 0x07,pdata
+	store 1,mem_lmo_header_length
+	arg 17,loopcnt
+	arg mem_lmo_payload,contw
+	call clear_mem
+	arg mem_lmo_payload,contw
+	rtn
+
+send_lmpext:
+	and pdata,0x7f,rega
+	jam LMP_ESCAPE,mem_lmp_to_send
+	deposit queue
+	call msg_send_lmp
+	deposit rega
+	istore 1,contw
+	rtn
+
+send_lmp_follow:
+	fetch 1,mem_lmp_to_send
+	lshift pdata,pdata
+	fetcht 1,mem_state_map
+	isolate1 smap_lmptid,temp
+	setflag true,0,pdata
+	branch send_lmp_exit
+
+
+send_lmp_tid:
+	fetcht 1,mem_state_map
+	and_into 1,temp
+	branch send_lmp_end
+
+send_lmp_reply:
+	force 0,temp
+	branch send_lmp_end
+	
+send_lmp_request:
+	force 1,temp
+send_lmp_end:
+	fetch 1,mem_lmp_to_send
+	lshift pdata,pdata
+	setflag master,0,pdata
+	ixor temp,pdata
+send_lmp_exit:
+	store 1,mem_lmo_header_opcode
+	store 1,mem_lmo_header_opcode_x
+	jam 0,mem_lmp_to_send
+	call lmo_fifo_process_lmo0empty
+	enable user
+	rtn
+
+//blank : not full 
+lmo_fifo_check:
+	fetch 1,mem_lmo_opcode2
+	rtn blank
+	call lmo_fifo_process
+	fetch 1,mem_lmo_opcode2
+	rtn
+
+lmo_fifo_process:
+	bpatchx patch23_4,mem_patch23
+	fetch 1,mem_lmp_to_send
+	branch lmo_fifo_process_lmo0empty,blank
+	fetch 1,mem_lmo_opcode1
+	nrtn blank
+	branch lmo_fifo_process_lmo2to1
+lmo_fifo_process_lmo0empty:
+	fetch 1,mem_lmo_opcode1
+	branch lmo_fifo_process_lmo1_empty,blank
+	fetch 3,mem_lmo_opcode1
+	store 3,mem_lmp_to_send//1=>0
+	fetcht 1,mem_lmo_tid1
+	fetch 1,mem_state_map
+	set0 smap_lmptid,pdata
+	ior temp,pdata
+	store 1,mem_state_map
+	jam 0,mem_lmo_opcode1
+lmo_fifo_process_lmo2to1:
+	fetch 1,mem_lmo_opcode2
+	rtn blank
+	fetch 4,mem_lmo_opcode2
+	store 4,mem_lmo_opcode1//2=>1
+	jam 0,mem_lmo_opcode2
+	rtn
+lmo_fifo_process_lmo1_empty:
+	fetch 1,mem_lmo_opcode2
+	rtn blank
+	fetch 3,mem_lmo_opcode2
+	store 3,mem_lmp_to_send//2=>0	
+	fetcht 1,mem_lmo_tid2
+	fetch 1,mem_state_map
+	set0 smap_lmptid,pdata
+	ior temp,pdata
+	store 1,mem_state_map
+	jam 0,mem_lmo_opcode2
+	rtn
+	
+//input:temp
+special_tid_store:
+	bpatchx patch23_5,mem_patch23
+	fetch 1,mem_state_map
+	copy pdata,regc
+	ifetch 1,temp
+	call pop_tid_follow
+	call send_lmp_follow
+	copy regc,pdata
+	store 1,mem_state_map
+	rtn
+	
+tid_reply:
+	fetcht 1,mem_state_map
+	set0 smap_lmptidinit,temp
+	storet 1,mem_state_map
+	rtn
+	
+tid_initiate:
+	fetcht 1,mem_state_map
+	set1 smap_lmptidinit,temp
+	storet 1,mem_state_map
+	rtn
+	
+	/* true if transaction from remote */
+tid_check:
+	nsetflag master,smap_lmptid,pdata //it is ok
+	fetcht 1,mem_state_map
+	ixor temp,pdata
+	isolate1 smap_lmptid,pdata
+	rtn	
+
+	/* set to remote */
+tid_set_reply:
+	fetch 1,mem_state_map
+	setflag master,smap_lmptid,pdata //it is ok
+	store 1,mem_state_map
+	rtn
+
+	/*rtn true when we lead lmp*/
+check_localsm:
+	fetch 1,mem_sp_localsm
+	compare 	LOCAL_STATEMACHINE,pdata,0x7f
+	rtn
+setlocalsm_master:
+	fetch 1,mem_sp_localsm
+	set1 7,pdata
+	store 1,mem_sp_localsm
+	rtn
+setlocalsm_slave:
+	fetch 1,mem_sp_localsm
+	set0 7,pdata
+	store 1,mem_sp_localsm
+	rtn
+check_localsm_master:
+	fetch 1,mem_sp_localsm
+	isolate1 7,pdata
+	store 1,mem_sp_localsm
+	rtn
+	
+generate_random_number:
+	/* generating a 16 byte random number,storing in ape_random_number */
+	arg mem_random_number,contw
+generate_random:
+	force 16,loopcnt
+generate_random_another:
+generate_random_loop:
+	random pdata
+	istore 1,contw
+	loop generate_random_another
+	rtn
+
+generate_linkkey:
+	call function_e21
+	arg mem_link_key,rega
+	arg mem_input_store,regb
+	ifetch 8,rega					/* check if already got comb key */
+	fetcht 1,mem_state
+	nsetflag blank,state_combkey,temp
+	storet 1,mem_state
+	copy rega,contw
+	call  xor16
+	branch generate_linkkey_continue
+
+/*********************************/
+/*********lmp send*************/
+/********************************/
+
+process_conn_sm:
+	//nrtn master
+	bpatchx patch23_6,mem_patch23
+
+	call lmo_fifo_check
+	nrtn blank
+process_conn_sm_continue:
+	fetch 1,mem_conn_sm
+	rtn blank
+	/* state machine begins in standby */
+	//beq CONN_SM_STANDBY, host_create_conn_begin
+	//beq CONN_SM_WAIT_PAGE, host_create_conn_wait_page
+	beq CONN_SM_SEND_CONN_REQ, host_create_conn_send_conn_req
+	beq CONN_SM_WAIT_CONN_ACCEPT, host_create_conn_wait_accept
+	beq CONN_SM_SEND_FEATURES, host_create_conn_send_features
+	beq CONN_SM_WAIT_FEATURES_RES, host_create_conn_waiting
+	beq CONN_SM_SEND_SWITCH,host_create_conn_send_switch
+	beq CONN_SM_AUTH_PAIR, host_create_conn_auth_pair
+	beq CONN_SM_AUTH_PAIR_WAIT, host_create_conn_auth_pair_wait
+	beq CONN_SM_ENCRYPT, host_create_conn_encrypt
+	beq CONN_SM_ENCRYPT_WAIT, host_create_conn_encrypt_wait
+	beq CONN_SM_ENCRYPT_WAIT_CLEAR, host_create_conn_encrypt_wait_clear
+	beq CONN_SM_SEND_SETUP_COMPLETE, host_create_conn_send_setup_complete
+	beq CONN_SM_WAIT_SETUP_COMPLETE, host_create_conn_wait_setup_complete
+	beq CONN_SM_DETACH_DELAY,host_create_conn_master_detach
+	beq CONN_SM_SEND_VERSION, host_create_conn_send_version
+	beq CONN_SM_WAIT_VERSION, host_create_conn_waiting
+	beq CONN_SM_WAIT_SWITCH_AFTER_HOST_CONNECTION, host_creat_conn_wait_switch
+	beq CONN_SM_SEND_FEATURES_EXT,host_creat_conn_send_feat_ext
+	beq CONN_SM_WAIT_FEATURES_EXT,host_create_conn_waiting
+	beq CONN_SM_PAIRING,host_create_conn_pairing
+	beq CONN_SM_PAIRING_WAIT,host_create_conn_pairing_wait
+	beq CONN_SM_AUTH,host_create_conn_auth
+	beq CONN_SM_AUTH_WAIT,host_create_conn_auth_wait
+	beq CONN_SM_DONE,host_create_conn_done
+	beq CONN_SM_WAIT_DONE,host_create_conn_done_wait
+	jam CONN_SM_STANDBY,mem_conn_sm
+	/* sending error message to host */
+	rtn
+host_create_conn_done:
+	fetch 1,mem_lmp_conn_state		
+	rtnbit0 RECEIVED_SETUP_COMPLETE
+	rtnbit0 SENT_SETUP_COMPLETE
+	jam CONN_SM_STANDBY,mem_conn_sm
+	call host_conn_judge_encrypt
+	branch scheduler_start_upper_sm
+	
+host_conn_judge_encrypt:
+	fetch 1,mem_connection_options
+	rtnbit0 CONNECTION_ENCRYPT
+	jam CONN_SM_ENCRYPT_WAIT,mem_conn_sm
+	rtn
+
+host_create_conn_done_wait:
+	arg enpt_delay_timer,queue
+	call timer_check
+	nrtn blank
+	jam CONN_SM_DONE,mem_conn_sm
+	rtn
+	
+host_create_conn_auth:
+	fetch 1,mem_connection_options
+	set0 CONNECTION_AUTH,pdata
+	store 1,mem_connection_options
+	jam CONN_SM_AUTH_WAIT,mem_conn_sm
+	jam LMP_AU_RAND,mem_lmo_opcode2
+	rtn 
+host_create_conn_auth_wait:
+	rtn
+host_create_conn_pairing:
+	fetch 1,mem_pincode_state
+	rtnne pincode_state_pincode_ready //wait for pincode
+	call host_auth
+	jam CONN_SM_PAIRING_WAIT,mem_conn_sm
+	rtn
+
+host_create_conn_pairing_wait:
+	rtn
+host_creat_conn_send_feat_ext:
+	jam CONN_SM_WAIT_FEATURES_EXT,mem_conn_sm
+	jam LMP_EXT_FEATURES_REQ,mem_lmo_opcode2
+	rtn
+host_create_conn_send_version:
+	jam CONN_SM_WAIT_VERSION,mem_conn_sm
+	jam LMP_VERSION_REQ,mem_lmo_opcode2
+	rtn 
+	
+host_creat_conn_wait_switch:
+	fetch 1,mem_switch_flag
+	rtneq SWITCH_FLAG_INIT
+	beq SWITCH_FLAG_ACCEPT,host_create_conn_switch_accept
+	arg switch_wait_timer,queue
+	call timer_check
+	nrtn blank
+	jam SWITCH_FLAG_INIT,mem_switch_flag
+	branch host_create_conn_switch
+host_create_conn_switch_accept:
+	rtn master
+	branch host_create_conn_auth_pair
+
+host_create_conn_send_features:
+	jam CONN_SM_WAIT_FEATURES_RES,mem_conn_sm
+	jam LMP_FEATURES_REQ,mem_lmo_opcode2
+	rtn 
+host_create_conn_send_switch:
+	jam LMP_SWITCH_REQ,mem_lmo_opcode2
+	set1 mark_switch_initiated,mark
+	jam CONN_SM_WAIT_CONN_ACCEPT,mem_conn_sm
+	setarg 0x1ff
+	store 2, mem_soft_timer
+	rtn
+
+host_create_conn_send_conn_req:
+	jam CONN_SM_WAIT_CONN_ACCEPT,mem_conn_sm
+	setarg 0xff
+	store 2,mem_soft_timer
+	set0 mark_reconn_recieve_switch,mark
+	jam LMP_HOST_CONNECTION_REQ,mem_lmo_opcode2
+	branch init_lmp_reinit
+host_create_conn_wait_accept:
+	rtnmark1 mark_reconn_recieve_switch
+	fetch 2,mem_soft_timer
+	increase -1,pdata
+	branch host_create_conn_resend,zero
+	store 2, mem_soft_timer
+	rtn
+host_create_conn_resend:
+	jam CONN_SM_SEND_SWITCH,mem_conn_sm
+	rtn
+host_create_conn_waiting:
+	/* we will exit waiting for connection request accepted, features res, or other commands to finish */
+	rtn 
+
+host_create_conn_switch:
+	fetch 1,mem_lmp_conn_state
+	rtnbit0 SENT_SETUP_COMPLETE
+	rtnbit0 RECEIVED_SETUP_COMPLETE
+	fetch 1,mem_connection_options
+	set0 CONNECTION_SWITCH,pdata
+	store 1,mem_connection_options
+	jam LMP_SWITCH_REQ,mem_lmo_opcode2
+	jam CONN_SM_WAIT_SWITCH_AFTER_HOST_CONNECTION,mem_conn_sm
+	rtn 
+
+host_create_conn_send_setup_complete:
+	jam CONN_SM_WAIT_SETUP_COMPLETE,mem_conn_sm	
+	jam LMP_SETUP_COMPLETE,mem_lmo_opcode2
+	rtn 
+
+host_create_conn_wait_setup_complete:
+	fetch 1,mem_lmp_conn_state
+	rtnbit0 RECEIVED_SETUP_COMPLETE
+	jam CONN_SM_STANDBY,mem_conn_sm	
+
+	rtn
+host_create_conn_wait_setup_complete_rtn:	
+	jam CONN_SM_AUTH_PAIR ,mem_conn_sm
+	rtn
+
+host_create_conn_master_detach:
+	fetch 2, mem_soft_timer
+	increase -1,pdata
+	branch host_create_conn_send_detach,blank//detach
+	store 2, mem_soft_timer
+	rtn 
+host_create_conn_send_detach:
+	jam LMP_DETACH,mem_lmo_opcode2
+	jam LOCAL_HOST,mem_disconn_reason_send
+	jam 0,mem_conn_sm
+	rtn
+host_create_conn_auth_pair:
+	/* checking whether or not to do m/s switch */
+	fetch 1,mem_connection_options
+	bbit1 CONNECTION_SWITCH,host_create_conn_switch
+	bbit1 CONNECTION_AUTH,host_create_conn_auth_pair_true
+host_create_conn_sm_done:
+	jam CONN_SM_DONE,mem_conn_sm
+	rtn
+host_create_conn_auth_pair_true:
+	fetch 1,mem_link_key_exists
+	branch host_create_conn_auth_pair_nokey,blank
+	fetch 1,mem_lmp_conn_state
+	rtnbit0 SENT_SETUP_COMPLETE
+	rtnbit0 RECEIVED_SETUP_COMPLETE
+	fetch 4,mem_aurand_send_delay_time
+	arg 100,temp
+	iadd temp,temp
+	copy clkn_bt,pdata
+	isub temp,null
+	nrtn positive
+	branch host_create_conn_auth
+
+host_create_conn_auth_pair_nokey:
+	jam CONN_SM_PAIRING,mem_conn_sm
+	jam 4,mem_pin_length
+	setarg 0x3030
+	store 2,mem_pin
+	istore 2,contw
+	jam pincode_state_pincode_ready,mem_pincode_state
+	branch host_create_conn_pairing
+
+host_create_conn_auth_pair_wait:
+	rtn
+host_create_conn_encrypt:
+	fetch 1,mem_connection_options
+	bbit1 CONNECTION_ENCRYPT,host_create_conn_encrypt_start
+	jam CONN_SM_DONE,mem_conn_sm
+	rtn 
+
+host_create_conn_encrypt_start:
+	fetch 1,mem_connection_options
+	set0 CONNECTION_ENCRYPT,pdata
+	store 1,mem_connection_options
+	jam LMP_ENCRYPTION_MODE_REQ,mem_lmo_opcode2  
+	rtn
+
+host_create_conn_encrypt_wait:
+	fetch 1, mem_wait_encryption
+	rtn blank
+	jam CONN_SM_STANDBY,mem_conn_sm
+	branch host_create_conn_encrypt_start 
+
+host_create_conn_encrypt_wait_clear:
+	jam CONN_SM_SEND_SETUP_COMPLETE,mem_conn_sm
+	rtn 
+
+host_auth:
+	fetch 1,mem_op
+	bbit1 op_inrand_req,remote_auth
+	call tid_initiate
+	jam LMP_IN_RAND,mem_lmo_opcode2
+	branch cmd_exit
+remote_auth:
+	fetch 1,mem_op
+	set0 op_inrand_req,pdata
+	store 1,mem_op
+	call lmp_accept_inrand
+	call tid_set_reply
+	branch cmd_exit
+
+pincode_reinit:
+	setarg 4
+	store 1,mem_pin_length
+	setarg 0x3030
+	istore 2,contw
+	istore 2,contw
+	rtn
+	
+
Index: program/mesh_protocol_stack/mesh_access_layer.prog
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/program/mesh_protocol_stack/mesh_access_layer.prog	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/program/mesh_protocol_stack/mesh_access_layer.prog	(working copy)
@@ -0,0 +1,143 @@
+
+/*
+	mesh协议中access layer
+	主要是负责mesh中access layer数据的解析
+*/
+
+/*
+	access layer解析指令集
+*/
+//input:alarm is upper transport access ptr
+ali_mesh_access_layer_resolve_message:
+	fetch 1,mem_ccm_data_len
+	store 1,mem_mesh_receive_model_message_payload_len
+	copy alarm,contr
+	call memcpy24
+	call logging_tx_info_receive_access_message
+	fetch 2,mem_mesh_cb_receive_access_message
+	branch callback_func
+
+ali_mesh_access_layer_check_access_message_opcode:
+	fetch 1,mem_mesh_receive_model_message_payload_opcode
+	beq MESH_MESSAGE_OPCODE_CONFIG_APPKEY_ADD,ali_mesh_access_layer_message_opcode_config_AppKey_Add
+	beq MESH_CONFIGURATION_AND_HEALTH_MESSAGE_OPCODE_HEADER,ali_mesh_access_layer_config_or_health_message_opcode
+	beq MESH_MODULE_MESSAGE_OPCODE_HEADER,ali_mesh_model_layer_check_model_message_opcode
+	beq VENDOR_MESSAGE_ATTR_SET,ali_mesh_ali_vendor_message_attribute_set
+	beq VENDOR_MESSAGE_ATTR_GET,ali_mesh_ali_vendor_message_opcode_attr_get
+	beq VENDOR_MESSAGE_ATTR_CONFIRMATION,ali_mesh_ali_vendor_message_opcode_attr_confrimation
+	rtn
+
+
+/*
+	接收到config AppKey Add指令
+*/
+ali_mesh_access_layer_message_opcode_config_AppKey_Add:
+	arg mem_mesh_receive_application_key,contr
+	arg mem_mesh_application_key,contw
+	call memcpy16
+	jam PAIRED_STATUS,mem_mesh_provisioned_flag
+	call ali_mesh_encrypt_base_function_k3
+	call ali_mesh_encrypt_base_function_k4
+	call ali_mesh_access_layer_finish_pairing_init_subscription_list
+	call ali_mesh_accesss_layer_check_message_type
+	call ali_mesh_access_layer_send_config_AppKey_status
+	jam PAIRED_STATUS,mem_mesh_provisioned_flag
+	fetch 2,mem_mesh_cb_receive_config_appkey_add
+	branch callback_func
+
+ali_mesh_accesss_layer_check_message_type:
+	fetch 1,mem_mesh_network_packet_type
+	jam RECEIVED_CONFIG_APPKEY_ADD,mem_mesh_provisioned_flag		//中间状态 APP配网时，需要回复数量多
+	rtneq MESH_MESSAGE_APP
+	jam PAIRED_STATUS,mem_mesh_provisioned_flag					//tmall配网不需要重传多次
+	rtn
+
+ali_mesh_access_layer_send_config_AppKey_status:
+	setarg MESH_CONFIGURATION_AND_HEALTH_MESSAGE_OPCODE_HEADER
+	store 1,mem_mesh_access_layer_payload
+	setarg MESH_MESSAGE_OPCODE_CONFIG_CONFIG_MODEL_PUBLICATION_SET
+	istore 1,contw
+	setarg STATUS_CODE_SUCCESS
+	istore 1,contw
+	fetch 3,mem_mesh_NETKeyindex_and_APPKeyindex
+	istore 3,contw
+	jam 6,mem_mesh_access_layer_payload_len
+	branch ali_mesh_upper_transport_layer_send_access_message
+
+
+ali_mesh_access_layer_finish_pairing_init_subscription_list:
+	fetch 2,mem_mesh_core_feature
+	rtnbit1 MESH_FEATURE_DISABLE_SUBSCRIPTION
+	call mesh_get_element_info_config
+ali_mesh_access_layer_finish_pairing_init_subscription_list_loop:
+	add rega,ELEMENT_DEVICE_SUBSCRIPTION_LABEL,regc
+	setarg -1
+	istore SUBSCRIPTION_MAX_COUNT,regc
+	istore SUBSCRIPTION_MAX_COUNT,contw
+	ifetch 2,rega		//read group address
+	istore 2,regc
+	copy regb,pdata
+	iadd rega,rega
+	loop ali_mesh_access_layer_finish_pairing_init_subscription_list_loop
+	fetch 2,mem_mesh_cb_subscriptuion_list_changed
+	branch callback_func
+
+
+/*
+	generic onoff status
+*/
+ali_mesh_access_layer_send_generic_onoff_status:
+	setarg MESH_MODULE_MESSAGE_OPCODE_HEADER
+	store 1,mem_mesh_access_layer_payload
+	setarg MESH_MODULE_MESSAGE_OPCODE_GENERIC_ONOFF_STATUS_NO_HEAD
+	istore 1,contw
+	fetch 1,mem_mesh_generic_onoff_set_payload_OnOff
+	istore 1,contw
+	jam 3,mem_mesh_access_layer_payload_len
+	branch ali_mesh_upper_transport_layer_send_access_message
+
+
+/*
+	light lightness status
+*/
+ali_mesh_access_layer_send_light_lightness_status:
+	setarg MESH_MODULE_MESSAGE_OPCODE_HEADER
+	store 1,mem_mesh_access_layer_payload
+	setarg MESH_MODULE_MESSAGE_OPCODE_LIGHT_LIGHTNESS_STATUS_NO_HEAD
+	istore 1,contw
+	fetch 2,mem_mesh_light_lightness_set_payload_lightness
+	istore 2,contw
+	jam 4,mem_mesh_access_layer_payload_len
+	branch ali_mesh_upper_transport_layer_send_access_message
+
+
+ali_mesh_access_layer_send_light_ctl_stauts:
+	setarg MESH_MODULE_MESSAGE_OPCODE_HEADER
+	store 1,mem_mesh_access_layer_payload
+	setarg MESH_MODULE_MESSAGE_OPCODE_LIGHT_CTL_STATUS_NO_HEAD
+	istore 1,contw
+	fetch 4,mem_mesh_CTL_Lightness
+	istore 4,contw
+	jam 6,mem_mesh_access_layer_payload_len
+	branch ali_mesh_upper_transport_layer_send_access_message
+
+
+
+ali_mesh_access_layer_send_scene_status:
+	setarg MESH_MODULE_MESSAGE_OPCODE_SCENE_STATUS
+	store 1,mem_mesh_access_layer_payload
+	setarg MESH_SUCCESS
+	istore 1,contw
+	fetch 2,mem_mesh_scene_recall_payload_scene_number
+	istore 2,contw
+	jam 4,mem_mesh_access_layer_payload_len
+	branch ali_mesh_upper_transport_layer_send_access_message
+
+
+
+logging_tx_info_receive_access_message:
+	fetchr loopcnt,1,mem_ccm_data_len
+	copy alarm,rega
+	arg MESH_ACCESS_RECEIVE_MESSAGE,regb
+	branch logging_tx_info
+
Index: program/mesh_protocol_stack/mesh_ali_vendor_message.prog
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/program/mesh_protocol_stack/mesh_ali_vendor_message.prog	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/program/mesh_protocol_stack/mesh_ali_vendor_message.prog	(working copy)
@@ -0,0 +1,504 @@
+
+/*
+	mesh协议中ali vendor message resolve
+	主要是阿里自定义attribute set 指令设置
+*/
+
+
+/*
+	主要是阿里定时设置模块指令解析
+	其他非标的指令设置
+*/
+ali_mesh_ali_vendor_message_attribute_set:
+	call ali_mesh_ali_vendor_message_attrbute_check_company_id_and_tid
+	nrtn user
+	fetch 2,mem_mesh_vendor_message_attr_type
+	arg VENDOR_MESSAGE_ATTR_TYPE_TIME,temp
+	isub temp,null	//设置设备的时间
+	branch ali_mesh_ali_vendor_message_opcode_timer_set_curr_time,zero
+	arg VENDOR_MESSAGE_ATTR_TYPE_TIMING,temp
+	isub temp,null
+	branch ali_mesh_ali_vendor_message_opcode_timer_set_timing,zero
+	arg VENDOR_MESSAGE_ATTR_TYPE_CYCLE_TIMING, temp
+	isub temp, null
+	branch ali_mesh_ali_vendor_message_opcode_timer_set_timing_cyclically, zero
+	arg VENDOR_MESSAGE_ATTR_TYPE_DELETE_TIMING,temp
+	isub temp,null
+	branch ali_mesh_ali_vendor_message_opcode_timer_delete_timing,zero
+	arg VENDOR_MESSAGE_ATTR_TYPE_MAIN_LIGHT,temp
+	isub temp,null	//主灯控制
+	branch ali_mesh_ali_vendor_message_attribute_set_main_light,zero
+	arg VENDOR_MESSAGE_ATTR_TYPE_BACKGROUND_LIGHT,temp
+	isub temp,null	//背光灯控制
+	branch ali_mesh_ali_vendor_message_attribute_set_background_light,zero
+	arg VENDOR_MESSAGE_ATTR_TYPE_COLOR,temp
+	isub temp,null	//颜色控制
+	branch ali_mesh_ali_vendor_message_attribute_set_color,zero
+	fetch 2,mem_mesh_cb_recv_vendor
+	branch callback_func
+
+ali_mesh_ali_vendor_message_opcode_attr_get:
+ali_mesh_ali_vendor_message_opcode_attr_confrimation:
+	rtn
+
+ali_mesh_ali_vendor_message_attrbute_check_company_id_and_tid:
+	call disable_user
+	fetch 2,mem_mesh_vendor_message_cid
+	arg VENDOR_MESSAGE_OPCODE_COMPANY_ID,temp
+	isub temp,null
+	nrtn zero
+	fetcht 1,mem_mesh_vendor_mesh_receive_tid
+	fetch 1,mem_mesh_vendor_message_tid
+	isub temp,null
+	rtn zero
+	store 1,mem_mesh_vendor_mesh_receive_tid
+	branch enable_user
+
+ali_mesh_ali_vendor_message_attribute_set_main_light:
+	call ali_mesh_ali_vendor_message_ack_attr_status_uint8
+	fetch 2,mem_mesh_cb_main_light_onoff_set
+	branch callback_func
+
+
+ali_mesh_ali_vendor_message_attribute_set_background_light:
+	call ali_mesh_ali_vendor_message_ack_attr_status_uint8
+	fetch 2,mem_mesh_cb_background_onoff_set
+	branch callback_func
+
+ali_mesh_ali_vendor_message_attribute_set_color:
+	call ali_mesh_ali_vendor_message_ack_attr_status_uint48
+	fetch 2,mem_mesh_cb_color_set
+	branch callback_func
+
+
+/*
+	阿里定时模块代码
+*/
+ali_mesh_ali_vendor_message_opcode_timer_set_curr_time:
+	call ali_mesh_ali_vendor_message_ack_attr_status_uint32
+
+	fetch 4,mem_mesh_vendor_message_current_time
+	store 4,mem_mesh_vendor_timer_current_time
+	branch ali_mesh_time_init_system_time
+
+
+ali_mesh_ali_vendor_message_opcode_timer_set_timing:
+	call ali_mesh_ali_vendor_message_ack_attr_status_uint64
+	call ali_mesh_ali_vendor_message_calc_timing_address
+	rtn blank
+	fetch 1,mem_mesh_vendor_timer_timing_index
+	call ali_mesh_vendor_timer_buffer_offset_cal
+	fetcht 8,mem_mesh_vendor_timer_timing_index
+	istoret 8,contw
+ali_mesh_ali_vendor_message_cb_timing_changed:
+	fetch 2,mem_mesh_cb_vendor_timing_changed
+	branch callback_func
+
+ali_mesh_ali_vendor_message_opcode_timer_set_timing_cyclically:
+	call ali_mesh_ali_vendor_message_ack_attr_status_uint56
+	call ali_mesh_ali_vendor_message_calc_timing_address
+	rtn blank
+	jam TIMER_CYCLICAL_FALG,mem_mesh_vendor_timer_timing_cyclic_flag
+	fetch 1,mem_mesh_vendor_timer_timing_index_cyclic
+	call ali_mesh_vendor_timer_buffer_offset_cal
+	fetch 8,mem_mesh_vendor_timer_timing_index_cyclic    //取8个Bytes，包括标识周期定时的flag
+	istore 8,contw
+	branch ali_mesh_ali_vendor_message_cb_timing_changed
+
+
+ali_mesh_ali_vendor_message_opcode_timer_delete_timing:
+	call ali_mesh_ali_vendor_message_opcode_timer_delete_timing_ack
+	call ali_mesh_ali_vendor_message_calc_timing_address
+	rtn blank
+	fetch 1,mem_mesh_vendor_timer_timing_index
+	rtn blank
+	call ali_mesh_vendor_timer_buffer_offset_cal
+	arg 0, temp
+	istoret 1, contw
+	fetch 1,mem_mesh_receive_model_message_payload_len
+	sub pdata,8,null
+	call ali_mesh_ali_vendor_message_opcode_timer_delete_timing_delete_second,zero
+	branch ali_mesh_ali_vendor_message_cb_timing_changed
+
+ali_mesh_ali_vendor_message_opcode_timer_delete_timing_delete_second:
+	call ali_mesh_ali_vendor_message_calc_timing_address
+	fetch 1,mem_mesh_vendor_timer_timing_index1
+	call ali_mesh_vendor_timer_buffer_offset_cal
+	arg 0, temp
+	istoret 1, contw
+	rtn
+
+
+ali_mesh_ali_vendor_message_opcode_timer_delete_timing_ack:
+	fetch 1,mem_mesh_receive_model_message_payload_len
+	beq 7,ali_mesh_ali_vendor_message_ack_attr_status_uint8
+	branch ali_mesh_ali_vendor_message_ack_attr_status_uint16
+
+ali_mesh_vendor_timer_buffer_offset_cal:
+	pincrease -1
+	lshift3 pdata,pdata
+	iadd contw,contw
+	rtn
+
+
+ali_mesh_ali_vendor_message_calc_timing_address:
+	call mesh_get_element_info_config
+	add rega,ELEMENT_DEVICE_VENDOR_TIME_PTR,rega
+	fetch 1,mem_mesh_receive_element_number
+	imul32 regb,pdata
+	iadd rega,rega
+	ifetch 2,rega
+	copy pdata,contw
+	rtn
+
+
+
+/*
+	阿里mesh自定义status,被动回复SET或者GET状态
+*/
+
+ali_mesh_ali_vendor_message_status_add_head:
+	setarg VENDOR_MESSAGE_ATTR_STATUS
+	store 1,mem_mesh_access_layer_payload
+	setarg VENDOR_MESSAGE_OPCODE_COMPANY_ID
+	istore 2,contw
+	fetch 1,mem_mesh_vendor_mesh_receive_tid
+	istore 1,contw
+	istoret 2,contw
+	rtn
+
+
+/*
+	阿里mesh自定义indication，主动上报状态给天猫精灵
+	DST:0x00f0
+*/
+//开关上电
+ali_mesh_ali_vendor_message_opcode_device_power_on:
+	arg 0,queue
+	arg VENDOR_MESSAGE_EVENT_DEVICE_POWER_ON,temp
+	arg VENDOR_ATTR_TYPE_EVENT_TRIGGER,rega
+	branch ali_mesh_ali_vendor_message_opcode_para_uint8
+
+
+//上报开关状态
+//input:temp is generic onoff status
+//0 GENERIC_ONOFF_CMD_OFF
+//1 GENERIC_ONOFF_CMD_ON
+//input:queue is element number
+//e.g 灯queue0
+//风扇灯中灯0，风扇1
+//风扇:0
+ali_mesh_ali_vendor_message_opcode_generic_OnOff:
+	arg VENDOR_ATTR_GENERIC_ONOFF_SERVER,rega
+	branch ali_mesh_ali_vendor_message_opcode_para_uint8
+
+//上报模式给天猫精灵
+//input: temp is scene server mode
+ali_mesh_ali_vendor_message_opcode_scene_server_first_element:
+	arg 0,queue
+//上报模式给天猫精灵
+//input: temp is scene server mode
+//queue is element_number
+ali_mesh_ali_vendor_message_opcode_scene_server:
+	arg VENDOR_ATTR_SCENE_SERVER,rega
+	branch ali_mesh_ali_vendor_message_opcode_para_uint16
+
+
+ali_mesh_ali_vendor_message_opcode_main_light_OnOff_first_element:
+	arg 0,queue
+//上报主灯开关状态
+//input:temp is generic onoff status
+//0 GENERIC_ONOFF_CMD_OFF
+//1 GENERIC_ONOFF_CMD_ON
+//input:queue is element number
+ali_mesh_ali_vendor_message_opcode_main_light_OnOff:
+	arg VENDOR_ATTR_MAIN_LIGHT_SERVER,rega
+	branch ali_mesh_ali_vendor_message_opcode_para_uint8
+
+ali_mesh_ali_vendor_message_opcode_background_light_OnOff_first_element:
+	arg 0,queue
+//上报背光灯开关状态
+//input:temp is generic onoff status
+//0 GENERIC_ONOFF_CMD_OFF
+//1 GENERIC_ONOFF_CMD_ON
+//input:queue is element number
+ali_mesh_ali_vendor_message_opcode_background_light_OnOff:
+	arg VENDOR_ATTR_BACKGROUND_LIGHT_ONOFF_SERVER,rega
+	branch ali_mesh_ali_vendor_message_opcode_para_uint8
+
+ali_mesh_ali_vendor_message_opcode_brightness_first_element:
+	arg 0,queue
+//上报灯的亮度
+//input:temp is bright ness 0-100
+ali_mesh_ali_vendor_message_opcode_brightness:
+	call ali_mesh_model_layer_message_calc_actual_lightness
+	arg VENDOR_ATTR_LIGHTNESS_LEVEL_SERVER,rega
+	branch ali_mesh_ali_vendor_message_opcode_para_uint16
+
+ali_mesh_ali_vendor_message_opcode_color_temperature_first_element:
+	arg 0,queue
+//上报灯的亮度
+//input:temp is bright ness 0-100
+ali_mesh_ali_vendor_message_opcode_color_temperature:
+	call ali_mesh_model_layer_message_calc_actual_temperature
+	arg VENDOR_ATTR_COLOR_TEMPERATURE_SERVER,rega
+	branch ali_mesh_ali_vendor_message_opcode_para_uint16
+
+
+//input:temp is timing index number
+ali_mesh_ali_vendor_message_opcode_timing_finish:
+	lshift temp,temp
+	or temp,VENDOR_MESSAGE_EVENT_FINISH_TIMING,temp
+	arg VENDOR_ATTR_TYPE_EVENT_TRIGGER,rega
+	branch ali_mesh_ali_vendor_message_opcode_para_uint16
+
+
+ali_mesh_ali_vendor_message_indication_info_add_head_event_trigger:
+	call ali_mesh_ali_vendor_message_indication_info_add_head
+	setarg VENDOR_ATTR_TYPE_EVENT_TRIGGER
+	istore 2,contw
+	rtn
+
+ali_mesh_ali_vendor_message_ack_attr_status_uint64:
+	arg 8,loopcnt
+	branch ali_mesh_ali_vendor_message_ack_attr_status
+
+ali_mesh_ali_vendor_message_ack_attr_status_uint56:
+	arg 8,loopcnt
+	branch ali_mesh_ali_vendor_message_ack_attr_status
+
+ali_mesh_ali_vendor_message_ack_attr_status_uint48:
+	arg 6,loopcnt
+	branch ali_mesh_ali_vendor_message_ack_attr_status
+
+ali_mesh_ali_vendor_message_ack_attr_status_uint32:
+	arg 4,loopcnt
+	branch ali_mesh_ali_vendor_message_ack_attr_status
+
+ali_mesh_ali_vendor_message_ack_attr_status_uint16:
+	arg 2,loopcnt
+	branch ali_mesh_ali_vendor_message_ack_attr_status
+
+ali_mesh_ali_vendor_message_ack_attr_status_uint8:
+	arg 1,loopcnt
+	branch ali_mesh_ali_vendor_message_ack_attr_status
+
+//input:loopcnt is attr length
+ali_mesh_ali_vendor_message_ack_attr_status:
+	add loopcnt,6,pdata
+	store 1,mem_mesh_access_layer_payload_len
+	call ali_mesh_ali_vendor_message_status_add_head
+	arg mem_mesh_vendor_attr_parameter,contr
+	call memcpy
+	branch ali_mesh_upper_transport_layer_send_access_message
+	
+
+
+//input:queue is element number
+//rega is vendor model attr
+//temp is vendor model attr parameter 
+ali_mesh_ali_vendor_message_opcode_para_uint8:
+	call ali_mesh_ali_vendor_message_indication_info_add_head
+	istorer rega,2,contw
+	istoret 1,contw
+	jam 7,mem_mesh_access_layer_payload_len
+	branch ali_mesh_ali_vendor_message_send_message
+
+
+//input:queue is element number
+//rega is vendor model attr
+//temp is vendor model attr parameter 
+ali_mesh_ali_vendor_message_opcode_para_uint16:
+	call ali_mesh_ali_vendor_message_indication_info_add_head
+	istorer rega,2,contw
+	istoret 2,contw
+	jam 8,mem_mesh_access_layer_payload_len
+	branch ali_mesh_ali_vendor_message_send_message
+
+
+//input:queue is element number
+ali_mesh_ali_vendor_message_send_message:
+	call ali_mesh_more_element_calc_queue_address
+	branch ali_mesh_upper_transport_layer_send_access_message_without_cleat_tx_buffer
+
+
+ali_mesh_ali_vendor_message_indication_info_add_head:
+	fetch 1,mem_mesh_transport_AID
+	store 1,mem_mesh_message_Transport_Head
+	setarg VENDOR_MESSAGE_TMALL_DST
+	store 2,mem_mesh_send_message_DST
+	fetch 1,mem_mesh_vendor_mesh_send_tid
+	pincrease 1
+	store 1,mem_mesh_vendor_mesh_send_tid
+	beq VENDOR_MESSAGE_SEND_TID_MAX,ali_mesh_ali_vendor_message_indication_info_reset_tid
+	setarg VENDOR_MESSAGE_ATTR_INDICATION
+	store 1,mem_mesh_access_layer_payload
+	setarg VENDOR_MESSAGE_OPCODE_COMPANY_ID
+	istore 2,contw
+	fetch 1,mem_mesh_vendor_mesh_send_tid
+	istore 1,contw
+	rtn
+
+ali_mesh_ali_vendor_message_indication_info_reset_tid:
+	jam VENDOR_MESSAGE_SEND_TID_MIN,mem_mesh_vendor_mesh_send_tid
+	rtn
+
+/*
+	阿里定时函数
+*/
+ali_mesh_time_function:
+	copy clkn_bt,temp
+	fetch 4,mem_system_time
+	isub temp,null
+	call ali_mesh_timer_timeout,positive
+	call ali_mesh_clkn_bt_add_1s
+	isub temp,null	
+	rtn positive
+	call ali_mesh_time_init_system_time_without_clk
+	fetch 4,mem_mesh_vendor_timer_current_time
+	pincrease 1
+	store 4,mem_mesh_vendor_timer_current_time
+	branch ali_mesh_ali_vendor_check_time
+
+
+ali_mesh_time_init_system_time:
+	copy clkn_bt,pdata
+ali_mesh_time_init_system_time_without_clk:
+	store 4,mem_system_time
+	fetch 1,mem_system_time+3
+	and_into 0x0f,pdata
+	store 1,mem_system_time+3
+	rtn
+
+ali_mesh_timer_timeout:
+	rtn zero
+	copy pdata,regb
+	setarg 0x100000
+	lshift8 pdata,pdata
+	iadd temp,temp
+	copy regb,pdata
+	rtn
+
+ali_mesh_clkn_bt_add_1s:
+	arg 20,loopcnt
+ali_mesh_time_loop:	
+	pincrease 160
+	loop ali_mesh_time_loop	
+	rtn
+
+ali_mesh_ali_vendor_check_time:
+	call mesh_get_element_info_config
+	add rega,ELEMENT_DEVICE_VENDOR_TIME_PTR,rega
+	jam 0,mem_mesh_receive_element_number
+
+ali_mesh_ali_vendor_check_time_loop:
+	call ali_mesh_more_element_push_stack
+	ifetch 2,rega
+	branch ali_mesh_ali_vendor_check_time_next_element,blank
+	copy pdata,alarm
+	call ali_mesh_ali_vendor_check_time_one_element
+ali_mesh_ali_vendor_check_time_next_element:
+	call ali_mesh_more_element_pop_stack
+	fetch 1,mem_mesh_receive_element_number
+	pincrease 1
+	store 1,mem_mesh_receive_element_number
+	fetcht 1,mem_mesh_element_number
+	isub temp,pdata
+	rtn zero	//check all
+	copy regb,pdata
+	iadd rega,rega
+	branch ali_mesh_ali_vendor_check_time_loop
+
+ali_mesh_ali_vendor_check_time_one_element:
+	arg 40,loopcnt
+//timer loop:input loopcnt timer count
+//alarm timer address
+//mem_mesh_receive_element_number:element number
+ali_mesh_ali_vendor_check_time_one_element_loop:
+	copy loopcnt,pdata
+	store 1,mem_mesh_loopcnt_tmep
+	ifetch 1,alarm
+	ncall ali_mesh_ali_vendor_had_timing,blank 
+	increase 8,alarm
+	fetch 1,mem_mesh_loopcnt_tmep
+	copy pdata,loopcnt
+	loop ali_mesh_ali_vendor_check_time_one_element_loop
+	rtn
+
+ali_mesh_ali_vendor_had_timing:
+	ifetcht 8, alarm
+	storet 8, mem_mesh_vendor_timer_timing_index_cyclic    //作为每次检测的临时存储
+	fetch 1,mem_mesh_vendor_timer_timing_attr_para
+	beq TIMER_CYCLICAL_FALG, ali_mesh_ali_vendor_had_timing_cyclically
+	fetcht 4,mem_mesh_vendor_timer_current_time
+	fetch 4, mem_mesh_vendor_timer_timing_time
+	isub temp,null
+	fetch 1, mem_mesh_vendor_timer_timing_attr_para
+	branch ali_mesh_ali_vendor_time_timeout,zero
+	rtn
+
+ali_mesh_ali_vendor_time_timeout:
+	store 1,mem_mesh_generic_onoff_set_payload_OnOff
+	
+	fetch 2,mem_mesh_cb_generic_onoff_set
+	call callback_func
+
+	copy alarm,pdata
+	store 2,mem_mesh_alarm_temp
+
+	fetchr queue,1,mem_mesh_receive_element_number
+	ifetcht 1,alarm
+	call ali_mesh_ali_vendor_message_opcode_timing_finish
+
+	fetcht 1,mem_mesh_generic_onoff_set_payload_OnOff
+	fetchr queue,1,mem_mesh_receive_element_number
+	call ali_mesh_ali_vendor_message_opcode_generic_OnOff
+
+	fetch 2,mem_mesh_alarm_temp
+	copy pdata,alarm
+	setarg 0
+	istore 1,alarm
+	branch ali_mesh_ali_vendor_message_cb_timing_changed
+
+
+ali_mesh_ali_vendor_had_timing_cyclically:
+	fetch 4, mem_mesh_vendor_timer_current_time
+	arg SECONDS_OF_MIN, temp
+	idiv temp
+	call wait_div_end
+	remainder pdata
+	nrtn blank
+
+	fetch 4, mem_mesh_vendor_timer_current_time
+	arg SECONDS_OF_FOUR_DAYS, temp
+	isub temp, pdata      //格林威治时间1970年01月01日为周四,  这里减去四天，为了与周一对齐
+
+	arg SECONDS_OF_WEEK, temp
+	idiv temp
+	call wait_div_end
+	remainder pdata     //pdata:本周走过的秒数
+	arg SECONDS_OF_DAY, temp
+	idiv temp
+	call wait_div_end
+	remainder rega     //rega:当天走过的秒数
+	quotient queue    //queue:当前是周几；0:周一；1:周二；... ...6:周日
+	
+	setarg 0    //clear pdata
+	qset1 pdata
+	fetcht 1, mem_mesh_vendor_timer_timing_weekdays_cyclic
+	iand temp, pdata
+	rtn blank
+	deposit rega
+	arg SECONDS_OF_MIN, temp
+	idiv temp
+	call wait_div_end
+	quotient temp
+	setarg EIGHT_HOURS_TIME_ZONE_OFFSET
+	iadd temp, temp
+	fetch 2, mem_mesh_vendor_timer_timing_time_cyclic
+	isub temp, null
+	nrtn zero
+	fetch 1, mem_mesh_vendor_timer_timing_attr_para_cyclic
+	branch ali_mesh_ali_vendor_time_timeout
+
+
Index: program/mesh_protocol_stack/mesh_bearer_layer.prog
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/program/mesh_protocol_stack/mesh_bearer_layer.prog	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/program/mesh_protocol_stack/mesh_bearer_layer.prog	(working copy)
@@ -0,0 +1,109 @@
+
+/*
+	mesh协议中bearer layer
+	主要是负责mesh中实际发送数据包内容
+*/
+
+ali_mesh_bearer_layer_send_packet_by_network_layer:
+	bpatchx patch3d_6,mem_patch3d
+	jam ADV_PAIRING_MESH_MESSAGE_DURATION,mem_mesh_queue_ele_duration
+	fetch 1,mem_mesh_gatt_package_send_msg_id
+	store 1,mem_mesh_queue_ele_gatt_msg_id
+
+	fetch 1,mem_mesh_lower_transport_layer_payload_len
+	pincrease 11
+	add pdata,-2,loopcnt
+	//长度+11的原因
+	//uint8_t AD length
+	//uint8_t AD type:GAP_ADTYPE_MESH_MESSAGE
+	//uint8_t IVI & NID
+	//uint8_t CTL & TTL
+	//uint24_t SEQ
+	//uint16_t SRC
+	//uint16_t DST
+	store 1,mem_mesh_queue_ele_len
+	pincrease -1
+	//-1的原因
+	//uint8_t AD length
+	istore 1,contw
+	setarg GAP_ADTYPE_MESH_MESSAGE
+	istore 1,contw
+	arg mem_mesh_send_upper_layer_IVI_and_NID,contr
+	call memcpy_fast
+	fetch 2,mem_ui_state_map
+	isolate1 UI_STATE_BLE_CONNECTED,pdata
+	call ali_mesh_send_ble_data,true
+	fetchr rega,2,mem_mesh_rega_temp
+	call ali_mesh_advertising_bearer_layer_init_queue_param
+	branch queue_push
+
+ali_mesh_advertising_bearer_layer_init_queue_param:
+	add rega,ELEMENT_DEVICE_QUEUE_BUFFER_PTR,contr
+	ifetch 2,contr
+	store 2,mem_queue_ptr
+	arg mem_mesh_queue_ele_temp,rega
+	rtn
+
+ali_mesh_advertising_bearer_layer_load_packet_from_advertising_queue:
+	arg ali_mesh_advertising_bearer_layer_load_packet_from_advertising_queue_deal,regc
+	branch ali_mesh_check_all_element_info
+
+ali_mesh_advertising_bearer_layer_load_packet_from_advertising_queue_deal:
+	add rega,ELEMENT_DEVICE_UPPER_ADV_FLAG,contr
+	ifetch 1,contr
+	rtnne PACKET_IN_BEARER
+	setarg PACKET_IN_ADVERTING
+	add rega,ELEMENT_DEVICE_UPPER_ADV_FLAG,contw
+	istore 1,contw
+	branch ali_mesh_control_ble_advertising_on_advertising
+
+
+/*
+	app 回复的发包拆包逻辑
+*/
+ali_mesh_advertising_bearer_layer_send_packet_by_app_bearer:
+	call ali_mesh_advertising_bearer_layer_generate_header
+	add temp,13,pdata
+	store 1,mem_mesh_adv_data_len
+	call ali_mesh_advertising_add_adtype_flags
+	add temp,9,pdata
+	istore 1,contw
+	setarg GAP_ADTYPE_MANUFACTURER_SPECIFIC
+	istore 1,contw
+	fetch 8,mem_mesh_receive_service_uuid_ios_data_company_id
+	istore 8,contw
+	copy rega,contr
+	copy temp,loopcnt
+	call memcpy
+	branch mesh_le_send_adv
+
+ali_mesh_advertising_bearer_layer_generate_header:
+	setarg COMPANY_ID_ALIBABA_AND_VID_GATT
+	store 3,mem_mesh_receive_service_uuid_ios_data_company_id
+	setarg PROVISIONING_SEND_IOS_DATA
+	store 1,mem_mesh_receive_service_uuid_ios_data_provisioning_type
+	fetch 1,mem_k2_NID
+	store 1,mem_mesh_receive_service_uuid_ios_data_NID
+	fetch 1,mem_mesh_queue_ele_gatt_msg_id
+	store 1,mem_mesh_receive_service_uuid_ios_data_msg_id
+	
+	fetch 1,mem_mesh_queue_ele_duration
+	isolate1 BIT_OF_APP_PACKAGE_NUM,pdata
+	call ali_mesh_advertising_bearer_layer_send_packet_by_app_bearer_calc_param
+	store 1,mem_mesh_receive_service_uuid_ios_data_package_num
+	storet 1,mem_mesh_receive_service_uuid_ios_data_length
+	rtn
+
+
+ali_mesh_advertising_bearer_layer_send_packet_by_app_bearer_calc_param:
+	arg mem_mesh_queue_ele_payload+2,rega
+	arg MAX_APP_MSSAGE_PAYLOAD_LENGTH,temp
+	setarg 0x21		//
+	nrtn true
+	arg mem_mesh_queue_ele_payload+20,rega		//MAX_APP_MSSAGE_PAYLOAD_LENGTH+2
+	fetcht 1,mem_mesh_queue_ele_len
+	increase -18,temp		//MAX_APP_MSSAGE_PAYLOAD_LENGTH
+	setarg 0x22
+	rtn
+
+
Index: program/mesh_protocol_stack/mesh_ble_core_advertising.prog
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/program/mesh_protocol_stack/mesh_ble_core_advertising.prog	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/program/mesh_protocol_stack/mesh_ble_core_advertising.prog	(working copy)
@@ -0,0 +1,155 @@
+
+
+
+//0x01 GAP_ADTYPE_FLAGS
+//input:no default write mem_mesh_adv_data
+ali_mesh_advertising_add_adtype_flags:
+	arg mem_mesh_adv_data,contw
+	setarg 0x02
+	istore 1,contw
+	setarg GAP_ADTYPE_FLAGS
+	istore 1,contw
+	setarg 0x02
+	istore 1,contw
+	rtn
+
+//0x01 GAP_ADTYPE_FLAGS
+//input:no default write mem_mesh_adv_data
+ali_mesh_advertising_add_adtype_16bit_complete:
+	arg MESH_PROVISIONING_UUID,temp
+	setarg 0x03
+	istore 1,contw
+	setarg GAP_ADTYPE_16BIT_COMPLETE
+	istore 1,contw
+	istoret 2,contw
+	rtn
+
+/*
+	mesh 硬件接收scan 扫描包
+*/
+mesh_receive_advertising:
+	branch mesh_le_scan_adv
+
+mesh_le_scan_adv:
+	call le_enable
+	call le_init_adv
+	call mesh_le_wait_adv
+	nrtn match
+	fetch 1,mem_le_adv_rcv
+	pincrease 1
+	store 1,mem_le_adv_rcv
+	fetch 2,mem_mesh_cb_receive_advertising
+	call callback_func
+	branch le_disable
+
+mesh_le_wait_adv:
+	fetch 2,mem_mesh_scan_selete_next_ch
+	branch callback_func
+
+mesh_le_wait_adv_cb:
+	call mesh_le_calc_next_scan_channel
+	branch le_receive_adv
+
+mesh_le_calc_next_scan_channel:
+	fetch 1,mem_mesh_adv_scan_channel
+	pincrease 1
+	store 1,mem_mesh_adv_scan_channel
+	store 1,mem_le_ch_mapped
+	rtnne 40
+	jam 37,mem_mesh_adv_scan_channel
+	jam 37,mem_le_ch_mapped
+	rtn
+
+
+/*
+	mesh 解析标准广播数据
+	只分析ADV_IND/ADV_NONCONN_IND两种广播包
+*/
+mesh_check_ble_rx_packet:
+	fetch 1,mem_le_rxbuf
+	and pdata,0x0f,pdata
+	beq ADV_IND,ali_mesh_match_advertising_packet
+	beq ADV_NONCONN_IND,ali_mesh_match_advertising_packet
+	rtn
+
+ali_mesh_match_advertising_packet:
+	ifetcht 1,contr	//length
+	sub temp,ADV_PACKET_MIN_LENGTH,null
+	rtn positive	//过滤短包，包长度太短导致解析错误
+	sub temp,ADV_PACKET_MAX_LENGTH,null
+	nrtn positive	//过滤长包，包长度太长导致内存覆盖
+	add temp,-6,rega	//rega:减去address length
+	add contr,6,regb	//regb:指针偏移到regb
+
+ali_mesh_find_adv_ind_packet:
+	ifetcht 1,regb //length
+	sub temp,AD_TYPE_MIN_LENGTH,null
+	rtn positive	//过滤短包，包长度太短导致解析错误
+	sub temp,AD_TYPE_MAX_LENGTH,null
+	nrtn positive	//过滤长包，包长度太长导致内存覆盖
+	copy temp,pdata
+	rtn blank
+	bpatchx patch3d_7,mem_patch3d
+	ifetch 1,contr
+	beq GAP_ADTYPE_MANUFACTURER_SPECIFIC,ali_mesh_receive_adtype_manufacturer_specific
+	beq GAP_ADTYPE_MESH_MESSAGE,ali_mesh_receive_adtype_mesh_message
+	beq GAP_ADTYPE_128BIT_COMPLETE,ali_mesh_receive_adtype_128bit_uuid_complete
+//按照广播格式查询所有扫描到的广播数据
+	add temp,1,pdata
+	isub rega,null
+	rtn positive
+	iadd regb,regb
+	sub temp,-1,pdata
+	iadd rega,rega
+	copy rega,pdata
+	rtn blank
+	branch ali_mesh_find_adv_ind_packet
+
+
+mesh_le_send_adv:
+	fetch 1,mem_le_adv_transmit
+	pincrease 1
+	store 1,mem_le_adv_transmit
+	bpatchx patch3e_0,mem_patch3e
+	call le_enable
+	arg 39,loopcnt
+	arg mem_le_txheader,contr
+	arg mem_le_txheader_mesh_temp,contw
+	call memcpy_fast
+	jam 37,mem_le_ch_mapped
+	arg 1800,stop_watch
+	disable match
+
+mesh_le_send_adv_loop:
+	call le_init_adv
+	call mesh_le_send_adv_nonconn_ind
+	random pdata 
+	arg 0x1ff,temp
+	iand temp,pdata
+	add pdata,100,pdata
+	call delay
+	fetch 1,mem_le_ch_mapped
+	pincrease 1
+	store 1,mem_le_ch_mapped
+	bne 40,mesh_le_send_adv_loop
+	
+	arg 39,loopcnt
+	arg mem_le_txheader,contw
+	arg mem_le_txheader_mesh_temp,contr
+	call memcpy_fast
+	branch le_disable
+
+mesh_le_send_adv_nonconn_ind:
+	arg ADV_NONCONN_IND,temp
+	storet 1,mem_le_txheader
+	fetcht 1,mem_mesh_adv_data_len
+	add temp,6,pdata
+	store 1,mem_le_txlen
+	fetch 6,mem_le_lap
+	store 6,mem_le_txpayload
+	copy temp,loopcnt
+	arg mem_mesh_adv_data,contr
+	call memcpy_fast
+	branch le_transmit_norx
+
+
Index: program/mesh_protocol_stack/mesh_chip_peripherals.prog
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/program/mesh_protocol_stack/mesh_chip_peripherals.prog	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/program/mesh_protocol_stack/mesh_chip_peripherals.prog	(working copy)
@@ -0,0 +1,260 @@
+
+//input:mem_mesh_mic_cache_ptr is cache buffer ptr
+//data ptr is store mem_ccm_data_ptr
+//data length is store mem_ccm_data_len
+//cache space size is TRANSPORT_MIC_CACHE_SPACE_SIZE
+//cache space num is TRANSPORT_MIC_CACHE_SPACE_NUM
+//output:user is enable ,mean new packet
+ali_mesh_base_adt_cache:
+	bpatchx patch3e_1,mem_patch3e
+	fetcht 2,mem_ccm_data_ptr
+	fetch 1,mem_ccm_data_len
+	copy temp,contr
+	arg mem_k4_SALT,rega
+	arg mem_k4_T,alarm
+	call ali_mesh_encrypt_base_function_AES_CMAC
+	call disable_user
+	copy regc,pdata
+	iadd alarm,contr
+	fetcht 4,mem_k4_T
+	fetch 2,mem_mesh_mic_cache_ptr
+	copy pdata,rega
+//	arg mem_mesh_access_message_mic_cache,rega
+	arg TRANSPORT_MIC_CACHE_SPACE_NUM,loopcnt
+ali_mesh_base_adt_cache_loop:
+	ifetch 4,rega
+	branch ali_mesh_base_adt_cache_empty_space,blank
+	isub temp,null
+	rtn zero
+	increase TRANSPORT_MIC_CACHE_SPACE_SIZE,rega
+	loop ali_mesh_base_adt_cache_loop
+	fetch 2,mem_mesh_mic_cache_ptr
+	copy pdata,contw
+	add pdata,TRANSPORT_MIC_CACHE_SPACE_SIZE,contr
+//	arg mem_mesh_access_message_mic_cache,contw
+//	arg mem_mesh_access_message_mic_cache+TRANSPORT_MIC_CACHE_SPACE_SIZE,contr
+	arg TRANSPORT_MIC_CACHE_TOTAL_SIZE,loopcnt
+	call memcpy_fast
+	istoret 4,contw
+	branch enable_user
+ali_mesh_base_adt_cache_empty_space:
+	istoret 4,rega
+	branch enable_user
+
+/*
+	iic 读写eeprom接口
+	三元组、network key、aapplication key、device key、reset count
+	SEQ
+*/
+ali_mesh_chip_peripherals_load_data_from_eep:
+	call ali_mesh_chip_peripherals_load_three_tuple_from_eep
+	call ali_mesh_chip_peripherals_load_network_key_from_eep
+	call ali_mesh_chip_peripherals_load_application_key_from_eep
+	call ali_mesh_chip_peripherals_load_device_key_from_eep
+	call ali_mesh_chip_peripherals_load_reset_count_from_eep
+	call ali_mesh_chip_peripherals_load_seq_from_eep
+	branch ali_mesh_chip_peripherals_load_subscription_from_eep
+
+ali_mesh_chip_peripherals_load_three_tuple_from_eep:
+	arg MESH_EEP_THREE_TUPLE_LENGTH,temp
+	arg mem_mesh_three_tuple_ProductID,rega
+	arg MESH_EEP_THREE_TUPLE_OFFSET,regb
+	branch iicd_read_eep_data
+
+ali_mesh_chip_peripherals_load_network_key_from_eep:
+	arg MESH_EEP_NETWORK_KEY_LENGTH,temp
+	arg mem_mesh_Network_Key,rega
+	arg MESH_EEP_NETWORK_KEY_OFFSET,regb
+	call iicd_read_eep_data
+	fetch 1,mem_mesh_last_IV_Index_byte
+	store 1,mem_mesh_IV_Index+3
+	rtn
+
+ali_mesh_chip_peripherals_load_application_key_from_eep:
+	arg MESH_EEP_APPLICATION_KEY_LENGTH,temp
+	arg mem_mesh_application_key,rega
+	arg MESH_EEP_APPLICATION_KEY_OFFSET,regb
+	branch iicd_read_eep_data
+
+ali_mesh_chip_peripherals_load_device_key_from_eep:
+	arg MESH_EEP_DEVICE_KEY_LENGTH,temp
+	arg mem_mesh_Device_Key,rega
+	arg MESH_EEP_DEVICE_KEY_OFFSET,regb
+	branch iicd_read_eep_data
+
+ali_mesh_chip_peripherals_load_reset_count_from_eep:
+	rtn
+
+ali_mesh_chip_peripherals_load_seq_from_eep:
+	arg MESH_EEP_SEQ_LENGTH,temp
+	arg mem_mesh_send_message_SEQ,rega
+	arg MESH_EEP_SEQ_OFFSET,regb
+	branch iicd_read_eep_data
+
+ali_mesh_chip_peripherals_load_subscription_from_eep:
+	fetch 2,mem_mesh_core_feature
+	rtnbit1 MESH_FEATURE_DISABLE_SUBSCRIPTION
+	arg MESH_EEP_SUBSCRIPTION_TOTAL_LENGTH,temp
+	arg mem_mesh_subscription_eep_temp,rega
+	arg MESH_EEP_SUBSCRIPTION_OFFSET,regb
+	call iicd_read_eep_data
+	call mesh_get_element_info_config
+	arg mem_mesh_subscription_eep_temp,contr
+	add rega,ELEMENT_DEVICE_SUBSCRIPTION_LABEL,rega
+ali_mesh_chip_peripherals_load_subscription_from_eep_loop:
+	copy rega,contw
+	call memcpy16
+	copy regb,pdata
+	iadd rega,rega
+	loop ali_mesh_chip_peripherals_load_subscription_from_eep_loop
+	rtn
+
+mesh_receive_config_appkey_add_cb:
+	call ali_mesh_chip_peripherals_save_network_key_from_eep
+	call ali_mesh_chip_peripherals_save_application_key_from_eep
+	branch ali_mesh_chip_peripherals_save_device_key_from_eep
+
+ali_mesh_chip_peripherals_save_network_key_from_eep:
+	arg MESH_EEP_NETWORK_KEY_LENGTH,temp
+	arg mem_mesh_Network_Key,rega
+	arg MESH_EEP_NETWORK_KEY_OFFSET,regb
+	branch iicd_write_protect_eep_data
+
+ali_mesh_chip_peripherals_save_application_key_from_eep:
+	arg MESH_EEP_APPLICATION_KEY_LENGTH,temp
+	arg mem_mesh_application_key,rega
+	arg MESH_EEP_APPLICATION_KEY_OFFSET,regb
+	branch iicd_write_protect_eep_data
+
+ali_mesh_chip_peripherals_save_device_key_from_eep:
+	arg MESH_EEP_DEVICE_KEY_LENGTH,temp
+	arg mem_mesh_Device_Key,rega
+	arg MESH_EEP_DEVICE_KEY_OFFSET,regb
+	branch iicd_write_protect_eep_data
+
+mesh_store_new_seq_data:
+ali_mesh_chip_peripherals_save_seq_from_eep:
+	arg MESH_EEP_SEQ_LENGTH,temp
+	arg mem_mesh_send_message_SEQ,rega
+	arg MESH_EEP_SEQ_OFFSET,regb
+	branch iicd_write_protect_eep_data
+
+mesh_store_new_subscriptuion_list_data:
+	call ali_mesh_chip_peripherals_save_subscriptuion_list_from_eep
+	arg MESH_EEP_SUBSCRIPTION_TOTAL_LENGTH,temp
+	arg mem_mesh_subscription_eep_temp,rega
+	arg MESH_EEP_SUBSCRIPTION_OFFSET,regb
+	branch iicd_write_protect_eep_data
+
+ali_mesh_chip_peripherals_save_subscriptuion_list_from_eep:
+	call mesh_get_element_info_config
+	arg mem_mesh_subscription_eep_temp,contw
+	add rega,ELEMENT_DEVICE_SUBSCRIPTION_LABEL,rega
+ali_mesh_chip_peripherals_save_subscriptuion_list_from_eep_loop:
+	copy rega,contr
+	call memcpy16
+	copy regb,pdata
+	iadd rega,rega
+	loop ali_mesh_chip_peripherals_save_subscriptuion_list_from_eep_loop
+	rtn
+
+//input:rega is tx data ptr
+//loopcnt is tx data length
+//regb is logging type
+logging_tx_debug:
+	arg LOGGING_DEBUG,temp
+	branch logging_tx_common
+
+
+//input:rega is tx data ptr
+//loopcnt is tx data length
+//regb is logging type
+logging_tx_info:
+	arg LOGGING_INFO,temp
+	branch logging_tx_common
+
+
+//input:rega is tx data ptr
+//loopcnt is tx data length
+//regb is logging type
+logging_tx_warning:
+	arg LOGGING_WARNING,temp
+	branch logging_tx_common
+
+
+//input:rega is tx data ptr
+//loopcnt is tx data length
+//regb is logging type
+logging_tx_error:
+	arg LOGGING_ERROR,temp
+	branch logging_tx_common
+
+
+//input:rega is tx data ptr
+//loopcnt is tx data length
+//regb is logging type
+logging_tx_critical:
+	arg LOGGING_CRITICAL,temp
+	branch logging_tx_common
+
+
+//input:rega is tx data ptr
+//loopcnt is tx data length
+//regb is logging type
+//temp is logging level
+logging_tx_common:
+	bpatchx patch3e_2,mem_patch3e
+	call push_stack
+	fetch 1,mem_mesh_core_feature
+	bbit1 MESH_FEATURE_DISABLE_LOG,pop_stack
+	call uartb_prepare_tx_register_push
+	setarg LUA_LOG_PACKET_HEADER
+	istore 1,contwu
+	setarg LUA_LOG_PAKCET_TYPE
+	istore 1,contwu
+	add loopcnt,4,pdata
+	istore 1,contwu
+	istorer temp,2,contwu
+	istorer regb,2,contwu
+	copy rega,contr
+	call uart_copy_tx_bytes_fast
+	setarg LUA_LOG_PACKET_TRAIL
+	istore 1,contwu
+	call uartb_send_register_pop
+	branch pop_stack
+
+/*
+	function name:uart init by mem
+	input:
+		mem_module_uart_rx_buffer、mem_module_uart_rx_buffer_end
+		mem_module_uart_tx_buffer、mem_module_uart_tx_buffer_end
+		mem_module_uarta_baud_rate
+		bit0 of mem_module_flag
+*/
+mesh_uart_init:
+	fetch 1,mem_mesh_core_feature
+	rtnbit1 MESH_FEATURE_DISABLE_LOG
+	jam gpcfg_uartb_txd,core_gpio_conf+11
+	jam gpcfg_uartb_rxd|gpcfg_pullup,core_gpio_conf+12
+	call mesh_uart_init_buffer
+	arg 921600,temp
+	call uartb_calc_baud_rate_config
+	call uart_clock_select_main_freq_crystal
+	arg FUN_UART_CONTROL_ENABLE|FUN_UART_CONTROL_SETTING_RATE_BAUD,temp
+	storet 1,core_uartb_ctrl
+	rtn
+
+mesh_uart_init_buffer:
+	setarg mem_mesh_uart_log_rx_buff
+	store 2,mem_pdatatemp
+	setarg mem_mesh_uart_log_rx_buff_end
+	istore 2,contw
+	setarg mem_mesh_uart_log_tx_buff
+	istore 2,contw
+	setarg mem_mesh_uart_log_tx_buff_end
+	istore 2,contw
+	fetch 8,mem_pdatatemp
+	branch uartb_init_dma_mem
+
+
+
Index: program/mesh_protocol_stack/mesh_control_ble_advertising.prog
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/program/mesh_protocol_stack/mesh_control_ble_advertising.prog	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/program/mesh_protocol_stack/mesh_control_ble_advertising.prog	(working copy)
@@ -0,0 +1,240 @@
+
+//
+//mesh控制ble advertising广播逻辑的主流程
+ali_mesh_control_ble_adv_process:
+	call ali_mesh_control_ble_adv_tmall_packet
+	branch ali_mesh_control_ble_adv_app_packet
+
+//mesh 控制ble advertising 广播timer流程
+ali_mesh_control_ble_adv_timer_process:
+	call ali_mesh_advertising_unprovisioned_timer_interval_timer
+	branch ali_mesh_advertising_unprovisioned_timer
+
+//mesh打开ble advertising
+ali_mesh_control_ble_advertising_on_advertising:
+	jam DEVICE_BEACON_ON,mem_mesh_advertising_unprovisioned_device_beacon_switch
+	rtn
+
+//mesh关闭ble advertising
+ali_mesh_control_ble_advertising_off_advertising:
+	jam DEVICE_BEACON_OFF,mem_mesh_advertising_unprovisioned_device_beacon_switch
+	rtn
+
+
+//下面为static function
+
+/*
+	mesh app控制包回复
+*/
+ali_mesh_control_ble_adv_app_packet:
+	arg ali_mesh_control_ble_adv_app_packet_paired,regb
+	arg MESH_ADV_APP_MESSAGE_INTERVAL,rega
+	arg mesh_ble_adv_app,queue
+	branch ali_mesh_chip_timer_check_with_random_timer
+
+ali_mesh_control_ble_adv_app_packet_paired:
+	fetch 1,mem_mesh_provisioned_flag
+	rtnne PAIRED_STATUS					//非配网状态，不需要发送
+	arg ali_mesh_control_ble_adv_app_packet_paired_deal,regc
+	branch ali_mesh_check_all_element_info
+
+
+/*
+	mesh控制发送unprovisioned device beacon advertising
+	配网阶段包已经配网后tmall回复包
+*/
+ali_mesh_control_ble_adv_tmall_packet:
+	arg ali_mesh_control_ble_adv_tmall_packet_send_package,regb
+	arg MESH_ADV_TMALL_MESSAGE_INTERVAL,rega
+	arg mesh_ble_adv_tmall,queue
+	branch ali_mesh_chip_timer_check_with_random_timer
+
+//app 回复包的格式
+ali_mesh_control_ble_adv_app_packet_paired_deal:
+	add rega,ELEMENT_DEVICE_TRAN_PACKAGE_TYPE,contr
+	ifetch 1,contr
+	rtnbit0 BIT_UPPER_TRAN_APP_MESSAGE
+	call ali_mesh_advertising_bearer_layer_init_queue_param
+	call queue_get_new_ele
+	nrtn user
+	fetch 1,mem_mesh_queue_ele_len
+	pincrease -2	//uint8_t AD length & uint8_t AD type:GAP_ADTYPE_MESH_MESSAGE
+	store 1,mem_mesh_queue_ele_len	
+	//不会小于一包数据
+	fetch 1,mem_mesh_queue_ele_duration
+	//生命周期不减少
+	setflip BIT_OF_APP_PACKAGE_NUM,pdata
+	istore 1,regb
+	branch ali_mesh_advertising_bearer_layer_send_packet_by_app_bearer
+
+
+//控制不同状态发包情况
+ali_mesh_control_ble_adv_tmall_packet_send_package:
+	fetch 1,mem_mesh_provisioned_flag
+	beq PAIRED_STATUS,ali_mesh_control_ble_advertising_send_paired_packet
+	beq PAIRING_STATUS,ali_mesh_control_ble_advertising_send_pairing_packet
+	branch ali_mesh_control_ble_advertising_send_device_beacon_packet
+
+
+ali_mesh_control_ble_advertising_send_paired_packet:
+	arg ali_mesh_control_ble_advertising_send_paired_packet_deal,regc
+	branch ali_mesh_check_all_element_info
+
+ali_mesh_control_ble_advertising_send_paired_packet_deal:
+	call ali_mesh_advertising_bearer_layer_init_queue_param
+	call queue_get_new_ele
+	nrtn user
+	fetch 1,mem_mesh_queue_ele_duration
+	pincrease -1
+	istore 1,regb
+	bbit1 BIT_OF_ADV_IN_OFF,ali_mesh_control_ble_advertising_send_paired_packet_adv_in_off
+	and pdata,0x3f,pdata	//不判断最高位
+	call ali_mesh_control_ble_advertising_send_paired_packet_end_duration,blank	//周期到丢弃
+	fetchr rega,2,mem_mesh_rega_temp
+	add rega,ELEMENT_DEVICE_TRAN_PACKAGE_TYPE,contr
+	ifetch 1,contr
+	bbit1 BIT_UUPER_TRAN_PROXY_MESSAGE,ali_mesh_control_ble_advertising_send_paired_packet_end_duration_proxy
+	rtnbit0 BIT_UPPER_TRAN_TMALL_MESSAGE
+	arg mem_mesh_adv_data_len,contw
+	arg mem_mesh_queue_ele_len,contr
+	call memcpy32
+	branch mesh_le_send_adv
+
+ali_mesh_control_ble_advertising_send_paired_packet_end_duration_proxy:
+	arg mem_mesh_queue_ele_duration,rega
+	call queue_pop
+	call queue_empty
+	nrtn blank
+	fetchr rega,2,mem_mesh_rega_temp
+	add rega,ELEMENT_DEVICE_UPPER_ADV_FLAG,contw
+	setarg NULL_PACKET_ADVERTISING
+	istore 1,contw
+	branch ali_mesh_control_ble_advertising_off_advertising
+
+
+ali_mesh_control_ble_advertising_send_paired_packet_adv_in_off:
+	and pdata,0x3f,pdata	//不判断最高位
+	nrtn blank
+	fetchr rega,2,mem_mesh_rega_temp
+	add rega,ELEMENT_DEVICE_UPPER_ADV_FLAG,contw
+	setarg NULL_PACKET_ADVERTISING
+	istore 1,contw
+	branch queue_init
+	
+
+ali_mesh_control_ble_advertising_send_paired_packet_end_duration:
+	arg mem_mesh_queue_ele_duration,rega
+	call queue_pop
+	call queue_empty
+	nrtn blank
+	//传入不广播数据
+	jam ADV_PAIRING_MESH_MESSAGE_INTERVAL,mem_mesh_queue_ele_duration
+	branch queue_push
+
+
+ali_mesh_control_ble_advertising_send_device_beacon_packet:
+	call ali_mesh_config_device_uuid_by_three_tuple
+	call ali_mesh_send_Unprovisioned_Beacons_tmall
+	call ali_mesh_advertising_send_Unprovisioned_Beacons_Gatt
+	call ali_mesh_control_ble_advertising_device_beacon_check_duration
+	nrtn zero			//in advertising beacon duration
+	fetch 1,mem_mesh_provisioned_flag
+	beq SILENCE_BEACON_STATUS,ali_mesh_end_advertising_silence_device_beacon_packet
+	beq UNPROVISIONED_BEACON_STATUS,ali_mesh_end_advertising_unprovisioned_device_beacon_packet
+	rtn
+
+//广播一次生存周期减1
+//output:zero is end of duration
+ali_mesh_control_ble_advertising_device_beacon_check_duration:
+	fetch 1,mem_mesh_advertising_unprovisioned_device_beacon_duration
+	add pdata,-1,pdata
+	store 1,mem_mesh_advertising_unprovisioned_device_beacon_duration
+	rtn
+
+//静默广播生存周期完成关闭广播
+ali_mesh_end_advertising_silence_device_beacon_packet:
+	jam ADV_SILENCE_DEVICE_BEACON_INTERVAL,mem_mesh_advertising_unprovisioned_device_beacon_interval
+	branch ali_mesh_control_ble_advertising_off_advertising
+	
+//未配网广播生存周期完成关闭广播
+ali_mesh_end_advertising_unprovisioned_device_beacon_packet:
+	jam ADV_UNPROVISIONED_DEVICE_BEACON_DURATION,mem_mesh_advertising_unprovisioned_device_beacon_interval
+	branch ali_mesh_control_ble_advertising_off_advertising
+
+
+ali_mesh_control_ble_advertising_send_pairing_packet:
+	call ali_mesh_advertising_timer
+	branch mesh_le_send_adv
+
+
+/*
+	注册定时器功能
+*/
+ali_mesh_chip_timer_check_with_random_timer:
+	random pdata
+	and pdata,0x07,pdata
+	iadd rega,rega
+//input:queue is timer id
+//rega is timer count
+//regb is cb ptr
+ali_mesh_chip_timer_check:
+	fetch 1,mem_mesh_advertising_unprovisioned_device_beacon_switch
+	rtnne DEVICE_BEACON_ON
+	call timer_check
+	nrtn blank
+	copy rega,pdata
+	call timer_init
+	copy regb,pdata
+	branch callback_func
+
+
+//静默广播定时器10min后进入静默广播状态
+ali_mesh_advertising_unprovisioned_timer:
+	arg mem_mesh_advertising_unprovisioned_device_beacon_timer,regc
+	arg ali_mesh_advertising_unprovisioned_timeout, regb
+	branch timer_single_step_2B
+
+//定时器超时如果当前处于未配网广播状态，进入静默广播
+ali_mesh_advertising_unprovisioned_timeout:
+	fetch 1,mem_mesh_provisioned_flag
+	rtnne UNPROVISIONED_BEACON_STATUS
+	fetch 1,mem_mesh_UUID_FeatureFlag
+	set1 BIT_SILENCE_ADV_FLAG,pdata
+	store 1,mem_mesh_UUID_FeatureFlag
+	jam SILENCE_BEACON_STATUS,mem_mesh_provisioned_flag
+	branch ali_mesh_send_silence_device_beacon_init_advertising
+
+
+//控制广播发送间隙的timer
+//不同状态广播间隔不一样
+ali_mesh_advertising_unprovisioned_timer_interval_timer:
+	arg mem_mesh_advertising_unprovisioned_device_beacon_interval,regc
+	arg ali_mesh_advertising_unprovisioned_timer_interval_timeout,regb
+	branch timer_single_step
+
+//控制广播发送超时
+//处于未配网广播或者静默广播状态，进入下一次广播
+//处于配网状态，清除配网状态
+ali_mesh_advertising_unprovisioned_timer_interval_timeout:
+	fetch 1,mem_mesh_provisioned_flag
+	beq SILENCE_BEACON_STATUS,ali_mesh_send_silence_device_beacon_init_advertising
+	beq UNPROVISIONED_BEACON_STATUS,ali_mesh_send_unprovisioned_device_beacon_init_advertising
+//	beq PAIRED_STATUS,ali_mesh_send_paired_packet_init_advertising
+	rtn
+
+//ali_mesh_send_paired_packet_init_advertising:
+//	jam NULL_PACKET_ADVERTISING,mem_mesh_upper_tran_layer_packet_advertising
+//	rtn
+
+//进入下一次未配网广播广播周期
+ali_mesh_send_unprovisioned_device_beacon_init_advertising:
+	jam ADV_UNPROVISIONED_DEVICE_BEACON_DURATION,mem_mesh_advertising_unprovisioned_device_beacon_duration
+	branch ali_mesh_control_ble_advertising_on_advertising
+
+//进入下一次静默广播广播周期
+ali_mesh_send_silence_device_beacon_init_advertising:
+	jam ADV_SILENCE_DEVICE_BEACON_DURATION,mem_mesh_advertising_unprovisioned_device_beacon_duration
+	branch ali_mesh_control_ble_advertising_on_advertising
+
+
+
Index: program/mesh_protocol_stack/mesh_encrypt_function.prog
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/program/mesh_protocol_stack/mesh_encrypt_function.prog	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/program/mesh_protocol_stack/mesh_encrypt_function.prog	(working copy)
@@ -0,0 +1,626 @@
+/*
+	mesh加密算法层，包含配网阶段的算法和配网后的算法
+*/
+
+
+/*
+	provision random输入，计算出provision confirmation等参数
+*/
+
+ali_mesh_encrypt_calc_random_data:
+	call ali_mesh_encrypt_calc_random_data_calc_ConfirmationKey
+	call ali_mesh_encrypt_calc_random_data_calc_AuthValueProv
+	call ali_mesh_encrypt_calc_random_data_calc_AuthValueDevice
+	call ali_mesh_encrypt_calc_random_data_calc_ConfirmationCloud
+	call ali_mesh_encrypt_calc_random_data_calc_ConfirmationDevice
+	branch ali_mesh_encrypt_calc_random_data_calc_DeviceKey
+
+//calc confirmation key
+//ConfirmationKey=SHA256(Random A||RandomB||"ConfirmationKey")[0:15]
+ali_mesh_encrypt_calc_random_data_calc_ConfirmationKey:
+	call ali_mesh_encrypt_load_randomAB_to_sha256
+	arg mem_mesh_sha256_ConfirmationKey_ascii,contr
+	arg 0xf,loopcnt
+	call ali_mesh_encrypt_base_function_sha256_load_data_without_hex2ascii
+	call ali_mesh_encrypt_base_function_sha256_calc
+	arg memresult,contr
+	arg mem_mesh_Confirmationkey,contw
+	branch memcpy16
+
+
+//calc Auth value prov
+//AuthValueProv = SHA256(PID,MAC,Secret,random B||random A)[0:15]
+ali_mesh_encrypt_calc_random_data_calc_AuthValueProv:
+	call ali_mesh_encrypt_load_three_tuple_to_sha256
+ifdef V1_2
+	call ali_mesh_encrypt_load_randomBA_to_sha256
+endif
+	call ali_mesh_encrypt_base_function_sha256_calc
+	arg memresult,contr
+	arg mem_mesh_AuthValueProv,contw
+	branch memcpy16
+
+//calc Auth Value Device
+//AuthValueDevice= SHA256(PID,MAC,Secret,random B||random A)[0:15]
+ali_mesh_encrypt_calc_random_data_calc_AuthValueDevice:
+	call ali_mesh_encrypt_load_three_tuple_to_sha256
+ifdef V1_2
+	call ali_mesh_encrypt_load_randomAB_to_sha256
+endif
+	call ali_mesh_encrypt_base_function_sha256_calc
+	arg memresult,contr
+	arg mem_mesh_AuthValueDevice,contw
+	branch memcpy16
+
+// calc Confirmation Cloud
+//Confirmation Cloud=AES-CMAC(Random B || Random A || AuthValueProv)
+//k=ConfirmationKey
+ali_mesh_encrypt_calc_random_data_calc_ConfirmationCloud:
+	fetch 8,mem_mesh_provisioning_random_A
+	store 8,mem_mesh_ConfirmationCloud_RandomA
+	fetch 8,mem_mesh_provisioning_random_B
+	store 8,mem_mesh_ConfirmationCloud_RandomB
+	
+	arg mem_mesh_calc_ConfirmationCloud_data,contr
+	arg mem_mesh_Confirmationkey,rega
+	arg mem_mesh_ConfirmationCloud,alarm
+	branch ali_mesh_encrypt_base_function_AES_CMAC_32Byte
+
+
+// calc confirmation Device
+//Confirmation Device=AES-CMAC(Random A || Random B || AuthValueDevice)
+//k=ConfirmationKey
+ali_mesh_encrypt_calc_random_data_calc_ConfirmationDevice:
+	arg mem_mesh_calc_ConfirmationDevice_data,contr
+	arg mem_mesh_Confirmationkey,rega
+	arg mem_mesh_ConfirmationDevice,alarm
+	branch ali_mesh_encrypt_base_function_AES_CMAC_32Byte
+
+
+//calc Device Key
+//DeviceKey = SHA256(ConfirmationCloud||"DeviceKey")[0:15]
+ali_mesh_encrypt_calc_random_data_calc_DeviceKey:
+	arg mem_mesh_ConfirmationCloud,contr
+	arg 0x10,loopcnt
+	call ali_mesh_encrypt_base_function_sha256_load_data_with_hex2ascii
+	arg mem_mesh_sha256_DeviceKey_ascii,contr
+	arg 9,loopcnt
+	call ali_mesh_encrypt_base_function_sha256_load_data_without_hex2ascii
+	call ali_mesh_encrypt_base_function_sha256_calc
+	arg memresult,contr
+	arg mem_mesh_Device_Key,contw
+	branch memcpy16
+
+
+ali_mesh_encrypt_load_randomBA_to_sha256:
+	call ali_mesh_encrypt_load_randomB_to_sha256
+ali_mesh_encrypt_load_randomA_to_sha256:
+	arg mem_mesh_provisioning_random_A,contr
+	branch ali_mesh_encrypt_base_function_sha256_load_data_64bit
+
+ali_mesh_encrypt_load_randomAB_to_sha256:
+	call ali_mesh_encrypt_load_randomA_to_sha256
+ali_mesh_encrypt_load_randomB_to_sha256:
+	arg mem_mesh_provisioning_random_B,contr
+	branch ali_mesh_encrypt_base_function_sha256_load_data_64bit
+
+
+ali_mesh_encrypt_load_three_tuple_to_sha256:
+	arg mem_mesh_three_tuple_ProductID,contr
+	arg 4,loopcnt
+	call ali_mesh_encrypt_base_function_sha256_load_data_with_hex2ascii_add_comma
+	arg mem_mesh_three_tuple_MAC,contr
+	arg 6,loopcnt
+	call ali_mesh_encrypt_base_function_sha256_load_data_with_hex2ascii_add_comma
+	arg mem_mesh_three_tuple_secret,contr
+	arg 0x10,loopcnt
+ifdef V1_2
+	branch ali_mesh_encrypt_base_function_sha256_load_data_with_hex2ascii_add_comma
+else
+	branch ali_mesh_encrypt_base_function_sha256_load_data_with_hex2ascii
+endif
+
+
+//calc provisioning data
+//Encrupted provisioning data = prov_data XOR SessionKey
+ali_mesh_encrypt_calc_provisioning_data:
+	call ali_mesh_encrypt_calc_provisioning_data_calc_SessionKey
+//	branch ali_mesh_encrypt_calc_provisioning_data_xor_prov_data
+ali_mesh_encrypt_calc_provisioning_data_xor_prov_data:
+	arg mem_mesh_Encrypt_Provisioning_Data,rega
+	arg memresult,regb
+	arg 0xb,loopcnt
+ali_mesh_encrypt_calc_provisioning_data_xor_prov_data_loop:
+	ifetch 2,rega
+	ifetcht 2,regb
+	ixor temp,pdata
+	istore 2,rega
+	increase 2,rega
+	increase 2,regb
+	loop ali_mesh_encrypt_calc_provisioning_data_xor_prov_data_loop
+	rtn
+
+
+//calc SessionKey
+//SessionKey = SHA256(ConfirmationCloud||"SessionKey")[0:15]
+//output:sessionKey in memresult
+ali_mesh_encrypt_calc_provisioning_data_calc_SessionKey:
+	arg mem_mesh_ConfirmationCloud,contr
+	arg 0x10,loopcnt
+	call ali_mesh_encrypt_base_function_sha256_load_data_with_hex2ascii
+	arg mem_mesh_sha256_SessionKey_ascii,contr
+	arg 0xa,loopcnt
+	call ali_mesh_encrypt_base_function_sha256_load_data_without_hex2ascii
+	branch ali_mesh_encrypt_base_function_sha256_calc
+
+
+
+ali_mesh_encrypt_calc_network_key_by_k2:
+	arg mem_mesh_Network_Key,contr
+	arg mem_k2_N,contw
+	call memcpy16
+
+/************k2 function*************/
+//input:mem_k2_N N data
+ali_mesh_encrypt_base_function_k2:
+/*******************generate T*************************/
+	arg mem_k2_N,contr
+	arg mem_k2_SALT,rega
+	arg mem_k2_T,alarm
+	call ali_mesh_encrypt_base_function_AES_CMAC_16Byte
+/*******************generate T1************************/
+	arg mem_k2_T1,alarm
+	arg 0x01,regb
+	setarg 0
+	call ali_mesh_encrypt_base_function_k2_AES_CMAC_T
+	fetch 1,mem_k2_T1+15
+	and pdata,0x7f,pdata
+	store 1,mem_k2_NID
+/*******************generate T2************************/
+	arg mem_k2_T2,alarm
+	arg 0x02,regb
+	setarg 0x10
+	arg mem_k2_T1,rega
+	call ali_mesh_encrypt_base_function_k2_AES_CMAC_T
+/*******************generate T3************************/
+	arg mem_k2_T3,alarm
+	arg 0x03,regb
+	setarg 0x10
+	arg mem_k2_T2,rega
+	branch ali_mesh_encrypt_base_function_k2_AES_CMAC_T
+
+ali_mesh_encrypt_base_function_k4:
+/*******************generate T*************************/
+	arg mem_mesh_application_key,contr
+	arg mem_k4_SALT,rega
+	arg mem_k4_T,alarm
+	call ali_mesh_encrypt_base_function_AES_CMAC_16Byte
+	arg mem_k4_id6_01,contr
+	arg mem_k4_T,rega
+	arg mem_k4_k4N,alarm
+	setarg 4
+	call ali_mesh_encrypt_base_function_AES_CMAC
+	fetch 1,mem_k4_k4N+15
+	and pdata,0x3f,pdata
+	set1 TRANSPORT_HEAD_BIT_AKF,pdata
+	store 1,mem_mesh_transport_AID
+	rtn
+
+ali_mesh_encrypt_base_function_k3:
+/*******************generate T*************************/
+	arg mem_mesh_Network_Key,contr
+	arg mem_k3_SALT,rega
+	arg mem_k3_T,alarm
+	call ali_mesh_encrypt_base_function_AES_CMAC_16Byte
+	arg mem_k3_id64_01,contr
+	arg mem_k3_T,rega
+	arg mem_k3_k4N,alarm
+	setarg 5
+	call ali_mesh_encrypt_base_function_AES_CMAC
+
+	call ali_mesh_proxy_init_adv
+	
+	fetch 2,mem_ui_state_map
+	rtnbit1 UI_STATE_BLE_CONNECTED
+	jam 1,mem_le_adv_enable
+	rtn
+
+
+//********* network PDU header obfuscation *********//
+ali_mesh_encrypt_obfuscation_deceypt_send_message:
+	arg mem_mesh_send_upper_layer_CTL_and_TTL,rega
+	fetch 7,mem_mesh_send_upper_layer_DST	
+	branch ali_mesh_encrypt_obfuscation_deceypt
+ali_mesh_encrypt_obfuscation_deceypt_recevie_message:
+	arg mem_mesh_message_TTL,rega
+	fetch 7,mem_mesh_message_DST
+ali_mesh_encrypt_obfuscation_deceypt:
+	store 7,mem_mesh_Privacy_Plaintext_Privacy_Random
+	setarg 0
+	store 5,mem_mesh_Privacy_Plaintext_Zero_String
+	call ali_mesh_encrypt_generate_PECB
+	fetch 6,mem_mesh_PECB
+	ifetcht 6,rega
+	ixor temp,pdata
+	istore 6,rega
+	rtn
+
+ali_mesh_encrypt_generate_PECB:
+ali_mesh_encrypt_generate_privacy_random:
+	fetch 4,mem_mesh_IV_Index
+	store 4,mem_mesh_Privacy_Plaintext_IV_Index
+// generate PECB with AES-128/ function e
+ali_mesh_encrypt_base_function_generate_PECB:
+	arg mem_k2_PrivacyKey,contr
+	call load_key
+	arg mem_mesh_Privacy_Plaintext,contr
+	call load_data128
+	call do_aes_ocb
+	arg mem_mesh_PECB,contw
+	branch store_aes_result
+
+
+/************sha256 function*************/
+//input  : (big endian)
+// data addr : contr
+// point : call clear_sha256_chunk
+ali_mesh_encrypt_base_function_sha256_load_data_64bit:
+	arg 8,loopcnt
+//input  : (big endian)
+// data addr : contr
+// data len : loopcnt
+// point : call clear_sha256_chunk
+ali_mesh_encrypt_base_function_sha256_load_data_with_hex2ascii:
+	call ali_mesh_encrypt_base_function_sha256_check_first_load_data
+	call ali_mesh_encrypt_base_function_hex2ascii
+	branch ali_mesh_encrypt_base_function_sha256_store_dataptr
+ali_mesh_encrypt_base_function_sha256_load_data_without_hex2ascii:
+	call ali_mesh_encrypt_base_function_sha256_check_first_load_data
+	call memcpy
+	branch ali_mesh_encrypt_base_function_sha256_store_dataptr
+ali_mesh_encrypt_base_function_sha256_load_data_with_hex2ascii_add_comma:
+	call ali_mesh_encrypt_base_function_sha256_check_first_load_data
+	call ali_mesh_encrypt_base_function_hex2ascii
+	setarg COMMA
+	istore 1,contw
+ali_mesh_encrypt_base_function_sha256_store_dataptr:
+	copy contw,pdata
+	store 2,mem_mesh_sha256_data_end_addr
+	rtn
+ali_mesh_encrypt_base_function_sha256_check_first_load_data:
+	copy contr,temp
+	copy loopcnt,rega
+	fetch 2,mem_mesh_sha256_data_end_addr
+	copy pdata,contw
+	fetch 1,mem_mesh_sha256_load_first_data_flag
+	call ali_mesh_encrypt_base_function_sha256_first_load_data,blank
+	copy temp,contr
+	copy rega,loopcnt
+	rtn
+ali_mesh_encrypt_base_function_sha256_first_load_data:
+	jam 1,mem_mesh_sha256_load_first_data_flag
+	call ali_mesh_encrypt_base_function_sha256_clear_data_chunk				//初始化sha256
+	arg mem_mesh_sha256_chunk_start,contw
+	rtn
+
+ali_mesh_encrypt_base_function_sha256_clear_data_chunk:
+	arg 0x20,loopcnt
+	arg mem_mesh_sha256_chunk_start,contw
+	branch memset0
+
+ // output :
+ // sha256 result : memresult(big endian)
+ali_mesh_encrypt_base_function_sha256_calc:
+ 	call ali_mesh_encrypt_base_function_sha256_load_data_end
+ 	arg MESH_ENCRYPT_SHA256_FUNCTION_INPUT,regb
+	arg mem_mesh_sha256_chunk_start,rega
+	fetchr loopcnt,8,mem_mesh_sha256_data_len_byte
+	call logging_tx_debug
+	call ali_mesh_encrypt_base_function_sha256_input_data_init_inverse
+
+	setarg mem_mesh_sha256_chunk_start
+	store 2,mem_mesh_sha256_chunk_ptr
+	call sha_init
+ali_mesh_encrypt_base_function_sha256_calc_loop:
+	fetch 2,mem_mesh_sha256_chunk_ptr
+	copy pdata,contr
+	arg memdat,contw
+	call memcpy64
+	call sha
+	fetch 2,mem_mesh_sha256_chunk_ptr
+	pincrease 64
+	store 2,mem_mesh_sha256_chunk_ptr
+	fetch 1,mem_mesh_sha256_chunk_count
+	pincrease -1
+	store 1,mem_mesh_sha256_chunk_count
+	nbranch ali_mesh_encrypt_base_function_sha256_calc_loop,blank
+	call sha_result
+	arg memresult,rega
+	arg 0x20,loopcnt
+	call inverse_data
+ 	arg MESH_ENCRYPT_SHA256_FUNCTION_RESULT,regb
+	arg memresult,rega
+	arg 0x20,loopcnt
+	branch logging_tx_debug
+
+
+ali_mesh_encrypt_base_function_sha256_load_data_end:
+	jam 0,mem_mesh_sha256_load_first_data_flag
+	fetch 2,mem_mesh_sha256_data_end_addr
+	copy pdata,contw
+	arg 0x80,temp	//第一个bit补1，后面补0
+	istoret 1,contw
+	arg mem_mesh_sha256_chunk_start,temp
+	isub temp,pdata
+	store 8,mem_mesh_sha256_data_len_byte
+	//计算bit数
+	lshift3 pdata,temp
+	storet 8,mem_mesh_sha256_data_len_bit
+	rshift4 pdata,regc
+	rshift2 regc,regc
+	and pdata,0x3f,pdata
+	sub pdata,55,null
+//55-(len mod 63)<0,内存填充448以后的，需要填充到第二块
+	ncall ali_mesh_encrypt_base_function_sha256_add_chunk,positive
+	add regc,1,pdata
+	store 1,mem_mesh_sha256_chunk_count
+	mul32 pdata,64,rega		//计算块的数量地址
+	lshift4 pdata,regc			//计算4byte包的数量
+	increase -1,regc			//最好一个包长度不交换
+	setarg mem_mesh_sha256_chunk_start + DECREASED_FOUR
+	iadd rega,rega
+	fetch 4,mem_mesh_sha256_data_len_bit
+	istore 4,rega
+	rtn
+
+
+//增加块数量
+ali_mesh_encrypt_base_function_sha256_add_chunk:
+	increase 1,regc
+	rtn
+	
+ali_mesh_encrypt_base_function_sha256_input_data_init_inverse:
+	arg mem_mesh_sha256_chunk_start,rega
+
+//每4个字节，需要高低位交换一下
+//input :
+// data addr : rega
+ali_mesh_encrypt_base_function_sha256_data_inverse_4Byte:
+	arg 4,loopcnt
+	call inverse_data
+	increase 2,rega	//下一块
+	add regc,-1,regc
+	nbranch ali_mesh_encrypt_base_function_sha256_data_inverse_4Byte,zero
+	rtn
+
+
+// input : 
+// data ptr : contr
+// data save ptr : contw 
+// data len : loopcnt
+ali_mesh_encrypt_base_function_hex2ascii:
+	ifetch 1,contr
+	rshift4 pdata,temp
+	call ali_mesh_encrypt_base_function_dialog2uchar
+	istoret 1,contw
+	and pdata,0x0f,temp
+	call ali_mesh_encrypt_base_function_dialog2uchar
+	istoret 1,contw
+	loop ali_mesh_encrypt_base_function_hex2ascii
+	rtn
+ali_mesh_encrypt_base_function_dialog2uchar:
+	sub temp,9,null
+	branch ali_mesh_encrypt_base_function_dialog2uchar_num,positive
+	add temp,87,temp
+	rtn
+ali_mesh_encrypt_base_function_dialog2uchar_num:	
+	add temp,48,temp
+	rtn
+
+
+ali_mesh_encrypt_base_function_AES_CMAC_32Byte:
+	setarg 0x20 
+	branch ali_mesh_encrypt_base_function_AES_CMAC
+
+ali_mesh_encrypt_base_function_AES_CMAC_16Byte:
+	setarg 0x10
+	branch ali_mesh_encrypt_base_function_AES_CMAC
+
+
+//pdata:data length
+//regb:last data
+ali_mesh_encrypt_base_function_k2_AES_CMAC_T:
+	fetcht 1,mem_k2_P_len
+	increase 1,temp
+	iadd temp,temp
+	storet 1,mem_AES_CMAC_data_length
+	copy rega,contr
+	copy pdata,loopcnt
+	call memcpy_fast
+	fetcht 1,mem_k2_P_len
+	copy temp,loopcnt
+	call memcpy
+	copy regb,pdata
+	istore 1,contw
+	arg mem_k2_T,rega
+	branch ali_mesh_encrypt_base_function_AES_CMAC + 3
+
+
+//input:
+//pdata:data length
+//contr:data prt
+//rega:key ptr
+//output:
+//alarm:output prt
+ali_mesh_encrypt_base_function_AES_CMAC:
+	store 1,mem_AES_CMAC_data_length
+	copy pdata,loopcnt
+	call memcpy_fast
+	copy rega,contr
+	arg mem_AES_CMAC_k,contw
+	call memcpy16
+ 	arg MESH_ENCRYPT_AES_CMAC_FUNCTION_INPUT_M,regb
+	arg memdat,rega
+	fetchr loopcnt,1,mem_AES_CMAC_data_length
+	call logging_tx_debug
+ 	arg MESH_ENCRYPT_AES_CMAC_FUNCTION_INPUT_K,regb
+	arg mem_AES_CMAC_k,rega
+	arg 16,loopcnt
+	call logging_tx_debug
+	call function_AES_CMAC
+	copy alarm,contw
+	call store_aes_result
+ 	arg MESH_ENCRYPT_AES_CMAC_FUNCTION_RESULT,regb
+	copy alarm,rega
+	arg 16,loopcnt
+	branch logging_tx_debug
+
+
+//////**AES-CCM**////////
+ali_B0_block_generate:
+ 	fetcht 1,mem_ccm_type
+ 	branch  ali_block_generate
+ali_A_block_generate:
+	force 0x01,temp
+ali_block_generate:
+	force regidx_data,regext_index
+	fetch 2,mem_nonce_ptr
+	copy pdata,contr
+	ifetch 3,contr
+	lshift8 pdata,pdata
+	ior temp, regext
+	increase 1,regext_index
+	ifetch 4,contr
+	copy pdata,regext
+	increase 1,regext_index
+	ifetch 4,contr
+	copy pdata,regext
+	increase 1,regext_index
+	byteswap rega,regext
+	lshift16 regext,regext
+	ifetch 2,contr
+	ior regext,regext
+	rtn
+ali_generate_mic:
+	fetch 1,mem_ccm_data_len
+	copy pdata,rega
+	call ali_B0_block_generate
+	call do_aes_ocb
+	force regidx_result,regext_index
+	deposit regext
+	copy rega,loopcnt
+	fetcht 2,mem_ccm_data_ptr
+	copy temp,contr
+	call padding_data
+	branch generate_mic_loop
+/*
+function name:ali_CCM_encrypt
+input:pdata is the encrypt data length
+temp is encrypt data ptr
+*/
+ali_CCM_encrypt_64Bit:
+	jam MIC_SIZE_64BIT,mem_ccm_type
+	branch ali_CCM_encrypt_function
+ali_CCM_encrypt:
+	jam MIC_SIZE_32BIT,mem_ccm_type
+	branch ali_CCM_encrypt_function
+ali_CCM_encrypt_function:
+	store 1,mem_ccm_data_len
+	storet 2,mem_ccm_data_ptr
+	bpatchx patch3e_3,mem_patch3e
+	call ali_generate_mic
+	force regidx_xor,regext_index
+	iforce regext
+	force regidx_result+1,regext_index
+	copy regext,pdata
+	force regidx_xor+1,regext_index
+	iforce regext
+	force 0,rega
+	copy temp,regc
+	call ali_A_block_generate
+	call do_aes_ctr
+	call ali_fetcht_ccm_mic
+	storet 8,mem_ccm_mic
+	fetch 1,mem_ccm_data_len
+	copy pdata,regb
+	call ali_aes_crypt_data
+	fetcht 1,mem_ccm_data_len
+	fetch 2,mem_ccm_data_ptr
+	iadd temp,rega
+	fetcht 8,mem_ccm_mic
+	istoret 4,rega
+	fetch 1,mem_ccm_type
+	sub pdata,MIC_SIZE_32BIT,pdata
+	rtn blank
+	istoret 8,rega
+	rtn
+/*
+function name:ali_CCM_decrypt_function
+input:pdata is the encrypt data length
+temp is encrypt data ptr
+*/
+ali_CCM_decrypt_64Bit:
+	jam MIC_SIZE_64BIT,mem_ccm_type
+	branch ali_CCM_decrypt_function
+ali_CCM_decrypt:
+	jam MIC_SIZE_32BIT,mem_ccm_type
+	branch ali_CCM_decrypt_function
+ali_CCM_decrypt_function:
+	store 1,mem_ccm_data_len
+	storet 2,mem_ccm_data_ptr
+	copy temp,regc
+	copy pdata,regb
+	iadd regc,contr
+	bpatchx patch3e_4,mem_patch3e
+	ifetch 8,contr
+	force regidx_xor,regext_index
+	iforce regext
+	force regidx_xor+1,regext_index
+	rshift32 pdata,pdata
+	iforce regext
+	force 0,rega
+	call ali_A_block_generate
+	call do_aes_ctr
+	call ali_fetcht_ccm_mic
+	storet 8,mem_ccm_mic
+	call ali_aes_crypt_data
+	call ali_generate_mic
+	call ali_fetcht_ccm_mic
+	fetch 1,mem_ccm_type
+	beq MIC_SIZE_64BIT,ali_CCM_decrypt_function_check_mic64
+	storet 4,mem_ccm_mic+4
+	fetch 4,mem_ccm_mic
+	fetcht 4,mem_ccm_mic+4
+	isub temp,pdata
+	rtn
+
+ali_CCM_decrypt_function_check_mic64:
+	fetch 8,mem_ccm_mic
+	isub temp,pdata
+	rtn
+
+ali_fetcht_ccm_mic:
+	force regidx_result,regext_index
+	deposit regext
+	force regidx_result+1,regext_index
+	copy regext,temp
+	lshift16 temp,temp
+	lshift16 temp,temp
+	ior temp,temp
+   	rtn
+ali_aes_crypt_data: 
+	increase 1,rega
+	call ali_A_block_generate
+	copy regc,contr
+	call aes_load_xor
+	call do_aes_ctr
+	call store_enc_data
+	increase 16,regc
+	increase -16,regb
+	branch ali_aes_crypt_data,positive
+	rtn
+//////**AES-CCM**////////
+
+
+
+
Index: program/mesh_protocol_stack/mesh_fast_pairing.prog
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/program/mesh_protocol_stack/mesh_fast_pairing.prog	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/program/mesh_protocol_stack/mesh_fast_pairing.prog	(working copy)
@@ -0,0 +1,530 @@
+
+
+/*
+	阿里极速配网协议配网阶段包的解析与组包
+*/
+
+
+/*
+	function name mesh_send_Unprovisioned_Beacons
+	input:three tuple data 
+	mem_mesh_three_tuple_ProductID
+	mem_mesh_three_tuple_MAC
+	mem_mesh_three_tuple_secret
+*/
+mesh_send_Unprovisioned_Beacons:
+	jam UNPROVISIONED_BEACON_STATUS,mem_mesh_provisioned_flag
+	jam 0x00,mem_mesh_Provisioning_State_Flag
+	jam 1,mem_mesh_advertising_unprovisioned_device_beacon_switch
+	setarg ADV_UNPROVISIONED_DEVICE_BEACON_TIMEOUT
+	store 2, mem_mesh_advertising_unprovisioned_device_beacon_timer
+	rtn
+
+//初始化UUID 三元组参数和feature Flag
+ali_mesh_config_device_uuid_by_three_tuple:
+	setarg COMPANY_IDENTIFIERS_ALIBABA
+	store 2,mem_mesh_Device_UUID
+	fetch 1,mem_mesh_Device_PID
+	istore 1,contw
+	fetch 4,mem_mesh_three_tuple_ProductID
+	call inverse_data_4Byte
+	istore 4,contw
+	fetch 6,mem_le_lap
+	istore 6,contw
+	fetch 3,mem_mesh_UUID_FeatureFlag
+	istore 3,contw
+	rtn
+
+ali_mesh_send_Unprovisioned_Beacons_tmall:
+	call ali_mesh_init_adv_data_tmall_Unprovisioned_beacons_package
+	branch mesh_le_send_adv
+
+ali_mesh_init_adv_data_tmall_Unprovisioned_beacons_package:
+//mem Beacon Tmall Length
+	jam 0x15,mem_mesh_adv_data_len
+	setarg 0x14
+	store 1,mem_mesh_adv_data
+	setarg GAP_ADTYPE_MESH_BEACON
+	istore 1,contw
+	setarg UNPROVISIONED_DEVICE_BEACON
+	istore 1,contw
+ali_mesh_advertising_send_Unprovisioned_Beacons_store_device_uuid:
+	arg mem_mesh_Device_UUID,contr
+	call memcpy16
+	fetch 2,mem_mesh_OOB_information
+	istore 2,contw
+	rtn
+
+
+ali_mesh_advertising_send_Unprovisioned_Beacons_Gatt:
+	fetch 1,mem_mesh_core_feature
+	rtnbit1 MESH_FEATURE_DISABLE_APP_PAIRING
+	call ali_mesh_init_adv_data_gatt_Unprovisioned_beacons_package
+	branch mesh_le_send_adv
+
+ali_mesh_init_adv_data_gatt_Unprovisioned_beacons_package:
+	jam 0x1d,mem_mesh_adv_data_len
+	call ali_mesh_advertising_add_adtype_flags
+	call ali_mesh_advertising_add_adtype_16bit_complete
+	call ali_mesh_advertising_add_adtype_service_data
+	branch ali_mesh_advertising_send_Unprovisioned_Beacons_store_device_uuid
+
+//input:temp is uuid MESH_PROVISIONING_UUID
+ali_mesh_advertising_add_adtype_service_data:
+	setarg 0x15
+	istore 1,contw
+	setarg GAP_ADTYPE_SERVICE_DATA
+	istore 1,contw
+	istoret 2,contw
+	rtn
+
+/*
+
+input:
+	temp is len
+	contr is read ptr
+*/
+
+ali_mesh_receive_adtype_manufacturer_specific:
+	add temp,-1,loopcnt
+	call ali_mesh_receive_provisioning_package_check_header
+	nrtn user
+	ifetch 1,contr	//provisioning type
+	beq PROVISIONING_RANDOM,ali_mesh_advertising_receive_Privisioning_Random
+	beq PROVISIONING_DATA,ali_mesh_advertising_receive_Privisioning_Data
+	beq PROVISIONING_IOS_DATA,ali_mesh_advertising_receive_Privisioning_ios_Data
+	rtn
+
+
+//receive provisioning random
+ali_mesh_advertising_receive_Privisioning_Random:
+	call ali_mesh_advertising_receive_Privisioning_Random_check_states
+	nrtn user
+ali_mesh_advertising_calc_encrypt_random_data:
+	call ali_mesh_encrypt_calc_random_data
+//	call mesh_reset_adv_timer
+	call ali_mesh_advertising_send_Provisioning_Confirmation
+	branch loggint_tx_info_send_confirmation_packet
+//send provisioning confirmation
+ali_mesh_advertising_send_Provisioning_Confirmation:
+	arg PROVISIONING_PACKET_CONFIRMATION_MAC+PROVISIONING_PACKET_CONFIRMATION_DEVICE,temp
+	call ali_mesh_advertising_send_packet_common
+	setarg PROVISIONING_CONFIRMATION
+	istore 1,contw
+	fetch 2,mem_mesh_three_tuple_MAC+4
+	istore 2,contw
+	arg mem_mesh_ConfirmationDevice,contr
+	branch memcpy16
+
+//output:disable user mean is cannot true package
+ali_mesh_advertising_receive_Privisioning_Random_check_states:
+	call disable_user
+	ifetcht 2,contr
+	arg mem_mesh_provisioning_random_A,contw
+	call memcpy16
+	fetch 2,mem_mesh_three_tuple_MAC+4
+	isub temp,null
+	nrtn zero									//MAC地址不对
+
+	//ios APP 配网会先发送config
+//	fetch 1,mem_mesh_provisioned_flag
+//	rtnne UNPROVISIONED_BEACON_STATUS	//不处于静默广播状态
+		
+	fetch 1,mem_mesh_Provisioning_State_Flag
+	rtnbit1 RECEIVE_PROVISIONING_RANDOM
+	set1 RECEIVE_PROVISIONING_RANDOM,pdata			// FLAG bit1:Provisioning Confirmation
+	store 1,mem_mesh_Provisioning_State_Flag
+
+	jam PAIRING_STATUS,mem_mesh_provisioned_flag		//
+
+	call loggint_tx_info_receive_random_packet
+	branch enable_user
+
+//receive provisioning data
+ali_mesh_advertising_receive_Privisioning_Data:
+	copy contr,rega
+	fetch 1,mem_mesh_provisioned_flag
+	rtneq PAIRED_STATUS	//不处于已配网状态
+	fetch 1,mem_mesh_Provisioning_State_Flag
+	rtnbit0 RECEIVE_PROVISIONING_RANDOM
+	rtnbit1 RECEIVE_PROVISIONING_DATA
+	copy rega,contr
+	arg 0x16,loopcnt
+	arg mem_mesh_Encrypt_Provisioning_Data,contw
+	call memcpy
+	//没有收到random，重复收到data
+	call ali_mesh_encrypt_calc_provisioning_data
+	
+	fetcht 2,mem_mesh_provisioning_data_Mac_addr
+	fetch 2,mem_mesh_three_tuple_MAC+4
+	isub temp,null
+	nrtn zero
+ali_mesh_resolve_Privisioning_Data_package:
+	call loggint_tx_info_receive_data_packet
+	fetch 1,mem_mesh_Provisioning_State_Flag
+	set1 RECEIVE_PROVISIONING_DATA,pdata
+	store 1,mem_mesh_Provisioning_State_Flag
+
+	call ali_mesh_encrypt_calc_network_key_by_k2
+
+	fetch 1,mem_mesh_last_IV_Index_byte
+	store 1,mem_mesh_IV_Index+3
+	call ali_mesh_advertising_send_Provisioning_Complete
+	branch loggint_tx_info_send_complete_packet
+
+
+//send provisioning complete
+ali_mesh_advertising_send_Provisioning_Complete:
+	arg PROVISIONING_PACKET_COMPLETE_MAC,temp
+	call ali_mesh_advertising_send_packet_common
+	setarg PROVISIONING_COMPLETE
+	istore 1, contw
+	fetch 6,mem_mesh_three_tuple_MAC
+	istore 6,contw
+	rtn
+
+ali_mesh_advertising_receive_Privisioning_ios_Data:
+	arg MAX_LENGTH_PRIVISIONING_CONTROL_MSG_ANDROID,regb
+	branch ali_mesh_resolve_app_control_msg_package
+
+//tmall send provisioning packet head
+//input:temp is data lenth,不包括type字节
+ali_mesh_advertising_send_packet_common:
+	bpatchx patch3e_5,mem_patch3e
+	call ali_mesh_advertising_reset_adv_timer
+	setarg 0x8fff		//about 11s
+	store 2,mem_mesh_send_packet_timeout
+	call ali_mesh_control_ble_advertising_on_advertising
+	add temp,PROVISIONING_PACKET_LENGTH_AD_TYPE_COMPANY_ID_VID_PROVISIONING_TYPE+PROVISIONING_PACKET_LENGTH_FLAGS,pdata
+	store 1,mem_mesh_adv_data_len
+	call ali_mesh_advertising_add_adtype_flags
+	add temp,PROVISIONING_PACKET_AD_TYPE_COMPANY_ID_VID_PROVISIONING_TYPE,pdata
+	istore 1,contw
+	setarg GAP_ADTYPE_MANUFACTURER_SPECIFIC
+	istore 1,contw
+	setarg COMPANY_IDENTIFIERS_ALIBABA
+	byteswap pdata,pdata
+	istore 2,contw
+	fetch 1,mem_mesh_receive_VID
+	istore 1,contw
+	rtn
+
+
+//压力测试时，成功率比较高的时间
+//mesh广播超时11s左右，一个包最多发送11s
+ali_mesh_advertising_timer:
+//未配网设备，不开启定时器
+	fetch 4,mem_mesh_adv_last_time
+	nbranch ali_mesh_advertising_check_adv_timer,blank
+	branch ali_mesh_advertising_reset_adv_timer
+
+/*
+	if(newTime - lastTime)>8fff(about 11s)
+		stop adv
+*/
+ali_mesh_advertising_check_adv_timer:
+	deposit clkn_bt
+	fetcht 4,mem_mesh_adv_last_time
+	isub temp,temp
+	fetch 2,mem_mesh_send_packet_timeout
+	isub temp,null
+	rtn positive
+ali_mesh_advertising_adv_timer_timeout:
+	call ali_mesh_control_ble_advertising_off_advertising
+	fetch 2,mem_mesh_cb_pairing_fail
+	branch callback_func
+ali_mesh_advertising_reset_adv_timer:
+	deposit  clkn_bt
+	store 4,mem_mesh_adv_last_time
+	rtn
+
+
+logging_tx_debug_receive_provisioning_packet:
+	add contr,-3,rega
+	arg MESH_RECEIVE_PROVISIONING_PACKET,regb
+	branch logging_tx_debug
+
+loggint_tx_info_receive_random_packet:
+	arg 1,loopcnt
+	arg MESH_RECEIVE_PROVISIONING_RANDOM_PACKET,regb
+	arg mem_mesh_Provisioning_State_Flag,rega
+	branch logging_tx_info
+
+loggint_tx_info_send_confirmation_packet:
+	fetchr loopcnt,1,mem_mesh_adv_data_len
+	arg MESH_SEND_PROVISIONING_CONFIRMATION_PACKET,regb
+	arg mem_mesh_adv_data,rega
+	branch logging_tx_info
+
+loggint_tx_info_receive_data_packet:
+	arg 1,loopcnt
+	arg MESH_RECEIVE_PROVISIONING_DATA_PACKET,regb
+	arg mem_mesh_Provisioning_State_Flag,rega
+	branch logging_tx_info
+
+
+loggint_tx_info_send_complete_packet:
+	fetchr loopcnt,1,mem_mesh_adv_data_len
+	arg MESH_SEND_PROVISIONING_COMPLETE_PACKET,regb
+	arg mem_mesh_adv_data,rega
+	branch logging_tx_info
+
+
+
+ali_mesh_receive_adtype_128bit_uuid_complete:
+	call ali_mesh_receive_adtype_128bit_uuid_complete_store_uuid
+	nrtn user		//check compand ID & VID
+	fetch 1,mem_mesh_receive_service_uuid_ios_data_provisioning_type
+	beq PROVISIONING_IOS_DATA,ali_mesh_ios_gatt_packet_parse_provisioning_app_control
+ali_mesh_ios_gatt_packet_pairing_type:
+	fetch 1,mem_mesh_provisioned_flag
+	rtneq PAIRED_STATUS		//pairing status
+	rtneq SILENCE_BEACON_STATUS	//silence beacon status
+	fetch 2,mem_mesh_receive_service_uuid_mac
+	fetcht 2,mem_mesh_three_tuple_MAC+4
+	isub temp,null
+	nrtn zero						//check Mac legel
+	arg mem_mesh_receive_service_uuid_msg_id,rega
+	arg MAX_LENGTH_PRIVISIONING_PAIRING_MSG_IOS,regb
+	call ali_mesh_app_control_package_check_integrity
+	rtn user
+	bpatchx patch3e_6,mem_patch3e
+	fetch 1,mem_mesh_receive_service_uuid_provisioning_type
+	beq PROVISIONING_RANDOM,ali_mesh_ios_gatt_packet_parse_provisioning_random
+	beq PROVISIONING_DATA,ali_mesh_ios_gatt_packet_parse_provisioning_data
+	beq PROVISIONING_CONFIG,ali_mesh_ios_gatt_packet_parse_provisioning_config
+	rtn
+
+
+ali_mesh_ios_gatt_packet_parse_provisioning_random:
+	fetch 2,mem_mesh_three_tuple_MAC+4
+	store 2,mem_mesh_gatt_package_receive_MAC
+	arg mem_mesh_gatt_package_receive_MAC,contr
+	branch ali_mesh_advertising_receive_Privisioning_Random
+
+
+ali_mesh_ios_gatt_packet_parse_provisioning_data:
+//后期看能不能复用优化代码
+	fetch 1,mem_mesh_provisioned_flag
+	rtneq PAIRED_STATUS	//不处于已配网状态	
+	fetch 1,mem_mesh_Provisioning_State_Flag
+	rtnbit0 RECEIVE_PROVISIONING_RANDOM
+	rtnbit1 RECEIVE_PROVISIONING_DATA
+	arg mem_mesh_gatt_package_receive_msg_payload,contr
+	arg 0x14,loopcnt
+	arg mem_mesh_KeyFresh_and_Update_flag,contw
+	call memcpy
+	call ali_mesh_encrypt_calc_provisioning_data_calc_SessionKey
+	arg mem_mesh_KeyFresh_and_Update_flag,rega
+	arg memresult,regb
+	arg 0x0a,loopcnt
+	call ali_mesh_encrypt_calc_provisioning_data_xor_prov_data_loop
+	branch ali_mesh_resolve_Privisioning_Data_package
+
+
+ali_mesh_ios_gatt_packet_parse_provisioning_config:
+	fetch 1,mem_mesh_provisioned_flag
+	rtnne UNPROVISIONED_BEACON_STATUS
+	jam PAIRING_STATUS,mem_mesh_provisioned_flag
+
+ali_mesh_ios_gatt_packet_send_provisioning_config_ack:
+	arg PROVISIONING_CONFIG_ACK_MAC+PROVISIONING_CONFIG_ACK_FIELD,temp
+	call ali_mesh_advertising_send_packet_common
+	setarg PROVISIONING_CONFIG_ACK
+	istore 1,contw
+	fetch 2,mem_mesh_three_tuple_MAC+4
+	istore 2,contw
+	setarg PROVISIONING_CONFIG_ACK_NOTE
+	istore 1,contw
+	rtn
+
+ali_mesh_ios_gatt_packet_parse_provisioning_app_control:
+//	fetch 1,mem_mesh_provisioned_flag
+//	rtnne PAIRED_STATUS		//not pairing status
+	arg mem_mesh_receive_service_uuid_ios_data_NID,contr
+	arg MAX_LENGTH_PRIVISIONING_CONTROL_MSG_IOS,regb
+ali_mesh_resolve_app_control_msg_package:
+	bpatchx patch3e_7,mem_patch3e
+	ifetch 1,contr
+	copy contr,rega
+	fetcht 1,mem_k2_NID
+	isub temp,null
+	nrtn zero
+	call ali_mesh_advertising_reset_adv_timer				//接收到正确的APP包，reset timer
+	call ali_mesh_app_control_package_check_integrity
+	rtn user
+	jam MESH_MESSAGE_APP,mem_mesh_network_packet_type
+	fetcht 1,mem_mesh_gatt_package_receive_msg_total_length
+	increase 1,temp
+	arg mem_mesh_gatt_package_receive_msg_payload,contr
+	branch ali_mesh_network_layer_recevice_network_pdu
+
+
+ali_mesh_receive_adtype_128bit_uuid_complete_store_uuid:
+	arg mem_mesh_receive_service_uuid_company_id,contw
+	call memcpy16
+	arg mem_mesh_receive_service_uuid_company_id,rega
+	arg 16,loopcnt
+	call inverse_data
+	arg 16,loopcnt
+	arg mem_mesh_receive_service_uuid_company_id,contr
+	branch ali_mesh_receive_provisioning_package_check_header
+
+ali_mesh_receive_provisioning_package_check_header:
+	call disable_user
+	ifetcht 2,contr
+	setarg COMPANY_IDENTIFIERS_ALIBABA
+	byteswap pdata,pdata
+	isub temp,null
+	nrtn zero	//判断company id和VID是否正确
+	ifetch 1,contr
+	store 1,mem_mesh_receive_VID
+	call enable_user
+	branch logging_tx_debug_receive_provisioning_packet
+
+
+/*
+input:
+	regb max payload data size
+	rega is packet ptr
+output:
+	enable user is mean old packet
+	mem_mesh_fast_gatt_ios_msg_payload is output payload ptr
+*/
+ali_mesh_app_control_package_check_integrity:
+	bpatchx patch3f_0,mem_patch3f
+	call ali_mesh_app_control_package_check_MsgId_legal
+	branch ali_mesh_app_control_package_check_rev_complete
+
+
+ali_mesh_app_control_package_check_rev_complete:
+	add rega,GATT_PACKAGE_PACKAGE_NUM,contr
+	ifetcht 1,contr
+	rshift4 temp,pdata
+	beq 1,ali_mesh_gatt_package_check_integrity_unsegment
+ali_mesh_gatt_package_check_integrity_segment:
+	sub pdata,MAX_GATT_PACKAGE_NUM,null
+	nbranch enable_user,positive	//分段过多,包接收错误，不解析
+	copy pdata,loopcnt
+	call ali_mesh_gatt_package_check_integrity_segment_expect_package_num
+	and temp,0x0f,queue
+	isub queue,null		//是否为最后一包
+	call ali_mesh_gatt_package_check_integrity_segment_calc_total_length,zero
+	increase -1,queue
+	fetch 1,mem_mesh_gatt_package_receive_msg_num
+	qisolate1 pdata
+	branch enable_user,true		//小包重传
+	qset1 pdata
+	store 1,mem_mesh_gatt_package_receive_msg_num
+	add rega,GATT_PACKAGE_LENGTH,contr
+	ifetch 1,contr
+	copy pdata,loopcnt
+	copy regb,pdata
+	imul32 queue,pdata
+	arg mem_mesh_gatt_package_receive_msg_payload,contw
+	iadd contw,contw
+	call memcpy_fast
+	fetch 1,mem_mesh_gatt_package_receive_msg_num
+	isub regc,null
+	ncall enable_user,zero
+	nbranch ali_mesh_gatt_package_store_receive_msg_buffer,zero		//没有接收完整
+ali_mesh_gatt_package_check_integrity_segment_complete:
+	call ali_mesh_gatt_package_clear_receive_msg_buffer				//complete packet 
+	branch disable_user
+
+//计算包长度regb*(总包数-1)+最后一包长度
+ali_mesh_gatt_package_check_integrity_segment_calc_total_length:
+	pincrease -1
+	imul32 regb,pdata
+	add rega,GATT_PACKAGE_LENGTH,contr
+	ifetcht 1,contr
+	iadd temp,pdata
+	store 1,mem_mesh_gatt_package_receive_msg_total_length
+	rtn
+
+ali_mesh_gatt_package_check_integrity_segment_expect_package_num:
+	arg 0,regc
+ali_mesh_gatt_package_check_integrity_segment_expect_package_num_loop:
+	add loopcnt,-1,queue
+	qset1 regc
+	loop ali_mesh_gatt_package_check_integrity_segment_expect_package_num_loop
+	rtn
+
+
+ali_mesh_gatt_package_store_receive_msg_buffer:
+	fetch 2,mem_mesh_gatt_package_receive_msg_buffer_ptr
+	copy pdata,contw
+	arg mem_mesh_gatt_package_receive_msg_buffer_temp,contr
+	arg 33,loopcnt
+	branch memcpy_fast
+
+//单包不保存，每次上报接收到数据
+ali_mesh_gatt_package_check_integrity_unsegment:
+	ifetch 1,contr
+	copy pdata,loopcnt
+	store 1,mem_mesh_gatt_package_receive_msg_total_length
+	arg mem_mesh_gatt_package_receive_msg_payload,contw
+	call memcpy
+	branch disable_user
+
+
+//检测MSG ID是否合法
+ali_mesh_app_control_package_check_MsgId_legal:
+	jam GATT_RECEIVE_TIMEOUT,mem_mesh_gatt_receive_msg_timer
+	call ali_mesh_gatt_package_get_MsgId
+	//检查第一块buffer的id
+	fetcht 2,mem_mesh_gatt_packet_receive_msg_buffer1
+	isub temp,null
+	//与接收到的id相等
+	branch ali_mesh_gatt_package_load_receive_msg_buffer1,zero
+	sub temp,0,null
+	//id=0 意味为空
+	branch ali_mesh_gatt_package_load_receive_msg_buffer1,zero
+	//检查第二块buffer的id
+	fetcht 2,mem_mesh_gatt_packet_receive_msg_buffer2
+	isub temp,null
+	//与接收到的id相等
+	branch ali_mesh_gatt_package_load_receive_msg_buffer2,zero
+	sub temp,0,null
+	//id=0 意味为空
+	branch ali_mesh_gatt_package_load_receive_msg_buffer2,zero
+	//last package not receive complete, new package receive ,discard last package
+	call ali_mesh_gatt_package_clear_receive_msg_buffer
+	call ali_mesh_gatt_package_get_MsgId
+	branch ali_mesh_gatt_package_load_receive_msg_buffer1
+
+//if MsgId=0,set MsgId=0x100
+ali_mesh_gatt_package_get_MsgId:
+	ifetch 1,rega
+	rtn blank
+	set1 8,pdata
+	rtn
+
+ali_mesh_gatt_package_load_receive_msg_buffer1:
+	store 2,mem_mesh_gatt_packet_receive_msg_buffer1
+	setarg mem_mesh_gatt_packet_receive_msg_buffer1
+	branch ali_mesh_gatt_package_load_receive_msg_buffer
+ali_mesh_gatt_package_load_receive_msg_buffer2:
+	store 2,mem_mesh_gatt_packet_receive_msg_buffer2
+	setarg mem_mesh_gatt_packet_receive_msg_buffer2
+	branch ali_mesh_gatt_package_load_receive_msg_buffer
+ali_mesh_gatt_package_load_receive_msg_buffer:
+	store 2,mem_mesh_gatt_package_receive_msg_buffer_ptr
+	copy pdata,contr
+	arg mem_mesh_gatt_package_receive_msg_buffer_temp,contw
+	arg GATT_RECEIVE_MSG_BUFFER_SIZE,loopcnt
+	branch memcpy_fast
+
+
+ali_mesh_gatt_package_receive_timer:
+	arg mem_mesh_gatt_receive_msg_timer,regc
+	arg ali_mesh_gatt_package_clear_receive_msg_buffer, regb
+	branch timer_single_step
+
+ali_mesh_gatt_package_clear_receive_msg_buffer:
+	arg mem_mesh_gatt_packet_receive_msg_buffer1,contw
+	arg GATT_RECEIVE_MSG_BUFFER_SIZE+GATT_RECEIVE_MSG_BUFFER_SIZE,loopcnt
+	branch clear_mem
+
+
+
Index: program/mesh_protocol_stack/mesh_health_message.prog
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/program/mesh_protocol_stack/mesh_health_message.prog	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/program/mesh_protocol_stack/mesh_health_message.prog	(working copy)
@@ -0,0 +1,118 @@
+
+/*
+	mesh里面configuration和health指令的解析
+*/
+
+ali_mesh_access_layer_config_or_health_message_opcode:
+	fetch 1,mem_mesh_configuration_health_message_opcode
+	beq MESH_MESSAGE_OPCODE_CONFIG_NODE_RESET_NO_HEAD,ali_mesh_access_layer_config_or_health_message_opcode_node_reset
+	beq MESH_MESSAGE_OPCODE_CONFIG_MODEL_SUBSCRIPTION_ADD_NO_HEAD,ali_mesh_message_config_modle_subscription_add
+	beq MESH_MESSAGE_OPCODE_CONFIG_MODEL_SUBSCRIPTION_DELETE_NO_HEAD,ali_mesh_message_config_modle_subscription_delete
+	rtn
+
+
+ali_mesh_access_layer_config_or_health_message_opcode_node_reset:
+	call ali_mesh_access_layer_send_config_node_reset_status
+	fetch 2,mem_mesh_cb_receive_node_reset
+	branch callback_func
+ali_mesh_access_layer_send_config_node_reset_status:
+	setarg MESH_CONFIGURATION_AND_HEALTH_MESSAGE_OPCODE_HEADER
+	store 1,mem_mesh_access_layer_payload
+	setarg MESH_MESSAGE_OPCODE_CONFIG_NODE_RESET_STATUS_NO_HEAD
+	istore 1,contw
+	jam 2,mem_mesh_access_layer_payload_len
+	branch ali_mesh_upper_transport_layer_send_access_message
+
+
+ali_mesh_message_config_modle_subscription_add:
+	call ali_mesh_message_config_modle_subscription_status
+	fetch 2,mem_mesh_core_feature
+	rtnbit1 MESH_FEATURE_DISABLE_SUBSCRIPTION
+	call ali_mesh_message_config_modle_subscription_check_element
+	call ali_mesh_message_config_modle_subscription_add_value_address
+	fetch 2,mem_mesh_cb_subscriptuion_list_changed
+	branch callback_func
+
+	
+ali_mesh_message_config_modle_subscription_delete:
+	call ali_mesh_message_config_modle_subscription_status
+	fetch 2,mem_mesh_core_feature
+	rtnbit1 MESH_FEATURE_DISABLE_SUBSCRIPTION
+	call ali_mesh_message_config_modle_subscription_check_element
+	fetcht 2,mem_mesh_subscription_value_address
+	rshift8 temp,pdata
+	rshift4 pdata,pdata
+	beq 0x0c,ali_mesh_message_config_modle_subscription_delete_group_addr
+	call ali_mesh_message_config_modle_subscription_check_value_address
+	nrtn user
+	setarg 0
+	istore 2,rega
+	fetch 2,mem_mesh_cb_subscriptuion_list_changed
+	branch callback_func
+
+ali_mesh_message_config_modle_subscription_delete_group_addr:
+	setarg -1
+	istore SUBSCRIPTION_MAX_COUNT,rega
+	istore SUBSCRIPTION_MAX_COUNT,contw
+	fetch 2,mem_mesh_cb_subscriptuion_list_changed
+	branch callback_func
+
+ali_mesh_message_config_modle_subscription_check_value_address:
+	arg SUBSCRIPTION_MAX_COUNT,loopcnt
+ali_mesh_message_config_modle_subscription_check_value_address_loop:
+	ifetch 2,rega
+	arg 0xffff,regb
+	isub regb,null
+	branch enable_user,zero
+	isub temp,null
+	branch enable_user,zero
+ali_mesh_message_config_modle_subscription_check_value_address_loop_empty:
+	increase 2,rega
+	loop ali_mesh_message_config_modle_subscription_check_value_address_loop
+	call disable_user
+	rtn
+
+
+ali_mesh_message_config_modle_subscription_status:
+	setarg MESH_CONFIGURATION_AND_HEALTH_MESSAGE_OPCODE_HEADER
+	store 1,mem_mesh_access_layer_payload
+	setarg MESH_MESSAGE_OPCODE_CONFIG_MODEL_SUBSCRIPTION_STATUS_NO_HEAD
+	istore 1,contw
+	setarg MESH_SUCCESS
+	istore 1,contw
+	fetch 6,mem_mesh_subscription_element_address
+	istore 6,contw
+	jam 9,mem_mesh_access_layer_payload_len
+	branch ali_mesh_upper_transport_layer_send_access_message_without_cleat_tx_buffer
+
+ali_mesh_message_config_modle_subscription_check_element:
+	call mesh_get_element_info_config
+	add rega,ELEMENT_DEVICE_SUBSCRIPTION_LABEL,rega
+	fetch 2,mem_mesh_subscription_element_address
+	fetcht 2,mem_mesh_Unicast_Address
+	byteswap temp,temp
+	isub temp,pdata
+	imul32 regb,pdata
+	iadd rega,rega
+	rtn
+
+ali_mesh_message_config_modle_subscription_add_value_address:
+	fetcht 2,mem_mesh_subscription_value_address
+	arg SUBSCRIPTION_MAX_COUNT,loopcnt
+ali_mesh_message_config_modle_subscription_add_value_address_loop:
+	ifetch 2,rega
+	branch ali_mesh_message_config_modle_subscription_add_value_address_in,blank
+	arg 0xffff,regb
+	isub regb,null
+	branch ali_mesh_message_config_modle_subscription_add_value_address_in,zero
+	increase 2,rega
+	loop ali_mesh_message_config_modle_subscription_add_value_address_loop
+	rtn
+
+ali_mesh_message_config_modle_subscription_add_value_address_in:
+	byteswap temp,temp	//地址高低位交换后存入eeprom
+	istoret 2,rega
+	rtn
+
+
+
Index: program/mesh_protocol_stack/mesh_init_function.prog
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/program/mesh_protocol_stack/mesh_init_function.prog	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/program/mesh_protocol_stack/mesh_init_function.prog	(working copy)
@@ -0,0 +1,108 @@
+
+/*
+	mesh init 函数操作
+*/
+ali_mesh_init:
+	call init_memp
+
+	setarg mesh_check_ble_rx_packet
+	store 2,mem_mesh_cb_receive_advertising
+
+	setarg mesh_idle_process
+	store 2,mem_cb_idle_process
+
+	setarg ali_mesh_network_layer_relay_access_message
+	store 2,mem_mesh_cb_network_relay
+
+	setarg mesh_receive_config_appkey_add_cb
+	store 2,mem_mesh_cb_receive_config_appkey_add
+
+	setarg mesh_store_new_subscriptuion_list_data
+	store 2,mem_mesh_cb_subscriptuion_list_changed
+
+	setarg mesh_store_new_seq_data
+	store 2,mem_mesh_cb_seq_changed
+
+	setarg mesh_cb_event_timer
+	store 2,mem_cb_event_timer
+
+	setarg ali_mesh_access_layer_check_access_message_opcode
+	store 2,mem_mesh_cb_receive_access_message
+
+	setarg mesh_le_wait_adv_cb
+	store 2,mem_mesh_scan_selete_next_ch
+
+	setarg mesh_le_receive_data
+	store 2,mem_cb_att_write
+
+	setarg ali_mesh_proxy_process_bb_event
+	store 2,mem_cb_bb_event_process
+
+	jam 36,mem_mesh_adv_scan_channel
+	call ali_mesh_ali_vendor_message_indication_info_reset_tid
+
+	bpatchx patch3f_1,mem_patch3f
+	call mesh_uart_init
+	call mesh_iic_init
+	arg mem_mesh_Network_Key,rega
+	arg MESH_CODE_INIT,regb
+	arg 1,loopcnt
+	call logging_tx_info
+
+	call ali_mesh_chip_peripherals_load_data_from_eep
+	call mesh_inverse_three_tuple_MAC
+	fetch 1,mem_mesh_Network_Key
+	beq 0xff,mesh_send_Unprovisioned_Beacons
+
+	call ali_mesh_encrypt_base_function_k3
+	call ali_mesh_encrypt_base_function_k4
+	call ali_mesh_encrypt_calc_network_key_by_k2
+	branch ali_mesh_ali_vendor_message_opcode_device_power_on
+
+
+mesh_inverse_three_tuple_MAC:
+	fetch 6,mem_mesh_three_tuple_MAC
+	call inverse_data_6Byte
+	store 6,mem_le_lap
+	rtn
+
+mesh_get_element_info_config:
+	fetchr loopcnt,1,mem_mesh_element_number
+	fetchr rega,2,mem_mesh_element_device_ptr
+	fetchr regb,2,mem_mesh_element_device_length
+	rtn
+
+
+mesh_idle_process:
+	call ali_mesh_time_function
+	call ali_mesh_control_ble_adv_process
+	call ali_mesh_upper_transport_layer_control_packet
+	call ali_mesh_advertising_bearer_layer_load_packet_from_advertising_queue
+	branch mesh_receive_advertising
+
+
+mesh_cb_event_timer:
+	call ali_mesh_control_ble_adv_timer_process
+	branch ali_mesh_gatt_package_receive_timer
+
+
+ali_mesh_check_all_element_info:
+	call mesh_get_element_info_config
+ali_mesh_check_all_element_info_loop:
+	call ali_mesh_more_element_push_stack
+	copy regc,pdata
+	call callback_func
+	call ali_mesh_more_element_pop_stack
+	copy regb,pdata
+	iadd rega,rega
+	loop ali_mesh_check_all_element_info_loop
+	rtn
+
+
+mesh_iic_init:
+//	jam 0,0x8081
+	jam gpcfg_output_high,core_gpio_conf+2
+	jam gpcfg_iic_scl|gpcfg_pullup,core_gpio_conf+1
+	jam gpcfg_iic_sda|gpcfg_pullup,core_gpio_conf+0
+	branch clear_eeprom_size_2k
+
Index: program/mesh_protocol_stack/mesh_lower_transport_layer.prog
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/program/mesh_protocol_stack/mesh_lower_transport_layer.prog	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/program/mesh_protocol_stack/mesh_lower_transport_layer.prog	(working copy)
@@ -0,0 +1,150 @@
+/*
+	mesh中接收到lower transport包判断
+	是Unsegmented包，直接上传到upper transport layer
+	是Segmented包，重组后上传到upper transport layer
+*/
+
+ali_mesh_lower_transport_layer_receive_lower_transport_PDU:
+	bpatchx patch3f_2,mem_patch3f
+	fetch 1,mem_mesh_message_Transport_Head
+	bbit1 TRANSPORT_HEAD_BIT_SEG,ali_mesh_lower_transport_layer_receive_lower_transport_PDU_segmented_message
+	jam 0,mem_mesh_ASZMIC
+	branch ali_mesh_upper_transport_layer_receive_unsegmented_access_message
+
+//segmented message reassembly
+ali_mesh_lower_transport_layer_receive_lower_transport_PDU_segmented_message:
+	call ali_mesh_lower_transport_layer_receive_SegAccMess_resolve_SZMIC_SeqZero_SegON
+	rtn user
+	call ali_mesh_lower_transport_layer_receive_segmented_access_message_check_blockAck
+	rtn user
+	call ali_mesh_lower_transport_layer_receive_segmented_access_message_store_segment
+	branch ali_mesh_lower_transport_layer_receive_segmented_access_message_decrypt_segment
+
+//提取SZMIC/SeqZero/SegO/SegN
+//分别存储到SZMIC、SegO、SegN、SeqZero
+ali_mesh_lower_transport_layer_receive_SegAccMess_resolve_SZMIC_SeqZero_SegON:
+	call disable_user
+	arg 3,loopcnt
+	arg mem_mesh_message_segment_access_SZMIC_SeqZero_SegO_SegN,rega
+	call inverse_data
+	fetchr rega, 3,mem_mesh_message_segment_access_SZMIC_SeqZero_SegO_SegN
+	and rega,0x1f,temp
+	storet 1,mem_mesh_segmented_access_message_SegN
+	fetch 1, mem_mesh_segmented_access_message_SegN_upper_limit
+	isub temp, null
+	nbranch enable_user, positive
+	
+	rshift4 rega,pdata
+	rshift pdata,pdata
+	and pdata,0x1f,temp
+	storet 1,mem_mesh_segmented_access_message_SegO
+	rshift4 pdata,pdata
+	rshift pdata,pdata
+	arg 0x1fff,rega
+	iand rega,temp
+	copy pdata,regb
+	fetch 2,mem_mesh_segmented_access_message_SeqZero
+	isub temp,null
+	ncall ali_mesh_lower_transport_layer_receive_segmented_access_message_recover_SeqZero,zero
+	storet 2,mem_mesh_segmented_access_message_SeqZero
+	rshift8 regb,pdata
+	rshift4 pdata,pdata
+	rshift pdata,pdata
+	store 1,mem_mesh_segmented_access_message_SZMIC
+	store 1,mem_mesh_ASZMIC
+	rtn
+
+ali_mesh_lower_transport_layer_receive_segmented_access_message_recover_SeqZero:
+	setarg 0
+	store 4,mem_mesh_segmented_access_message_BlockAck
+	jam 0,mem_mesh_segmented_access_message_current_length
+	rtn
+
+
+//检查blockAck标志,返回值mem_mesh_segmented_access_message_receive_finish
+//1表示收到成功
+ali_mesh_lower_transport_layer_receive_segmented_access_message_check_blockAck:
+	call disable_user
+	fetch 1,mem_mesh_segmented_access_message_SegO
+	copy pdata,queue
+	fetch 4,mem_mesh_segmented_access_message_BlockAck
+	qisolate1 pdata
+	branch enable_user,true
+	qset1 pdata
+	store 4,mem_mesh_segmented_access_message_BlockAck
+	fetcht 1,mem_mesh_segmented_access_message_SegN
+	add temp,1,loopcnt
+ali_mesh_lower_transport_layer_receive_segmented_access_message_check_blockAck_loop:
+	add loopcnt,-1,queue
+	qisolate1 pdata
+	nrtn true
+	loop ali_mesh_lower_transport_layer_receive_segmented_access_message_check_blockAck_loop
+	jam 1,mem_mesh_segmented_access_message_receive_finish
+	rtn
+
+
+//存储segment m内容，放到mem_mesh_segmented_access_message_SegO
+ali_mesh_lower_transport_layer_receive_segmented_access_message_store_segment:
+	fetch 1,mem_mesh_message_Transport_NetMIC_length
+	pincrease -6	//DST(2) Head(1) SZMIC_SeqZero_SegO_SegN(3)
+	copy pdata,loopcnt 
+	fetcht 1,mem_mesh_segmented_access_message_current_length
+	iadd temp,temp
+	storet 1,mem_mesh_segmented_access_message_current_length
+	fetch 2, mem_mesh_segmented_access_message_Segment_ptr
+	iforce contw
+	fetch 1,mem_mesh_segmented_access_message_SegO
+	mul32 pdata,12,pdata
+	iadd contw,contw
+	arg mem_mesh_message_Transport_segmented_access_messagePDU_Segment,contr
+	branch memcpy
+
+//判断是否收完包，收完包，clear中间标志
+ali_mesh_lower_transport_layer_receive_segmented_access_message_decrypt_segment:
+	fetch 1,mem_mesh_segmented_access_message_receive_finish
+	rtneq 0
+	setarg 0
+	store 5,mem_mesh_segmented_access_message_BlockAck
+	fetcht 2,mem_mesh_message_SEQ+1
+	byteswap temp,temp
+	setarg 0xe000
+	iand temp,temp
+	fetch 2,mem_mesh_segmented_access_message_SeqZero
+	ior temp,pdata
+	byteswap pdata,pdata
+	store 2,mem_mesh_message_SEQ+1	//计算Application Nonce需要使用到初始的SEQ
+	branch ali_mesh_upper_transport_layer_receive_segmented_access_message
+
+
+/*
+	mesh中发送lower transport layer判断
+	是Unsegmented message，直接下发到network transport layer
+//	是Segmented message，拆分后上传到network transport layer
+*/
+//Unsegmented access message写入SEG、AKF、AID
+ali_mesh_lower_transport_layer_send_unsegmented_access_message:
+	fetch 1,mem_mesh_upper_transport_layer_payload_len
+	add pdata,1,temp
+	copy pdata,loopcnt
+	storet 1,mem_mesh_lower_transport_layer_payload_len
+	fetch 1,mem_mesh_message_Transport_Head
+	set0 TRANSPORT_HEAD_BIT_SEG,pdata
+	store 1,mem_mesh_unsegmented_access_lower_transport_layer_head
+	arg mem_mesh_access_layer_payload,contr
+	call memcpy_fast
+	branch ali_mesh_network_layer_send_access_message
+
+//segmented access message写入SEG、AKF、AID
+//input:rega is current segment payload length
+//contr is current segment payload ptr
+ali_mesh_lower_transport_layer_send_segmented_access_message:
+	add rega,4,temp
+	copy rega,loopcnt
+	storet 1,mem_mesh_lower_transport_layer_payload_len
+	arg mem_mesh_segmented_access_lower_transport_layer_parameters,contw
+	call memcpy_fast
+	fetch 1,mem_mesh_message_Transport_Head
+	set1 TRANSPORT_HEAD_BIT_SEG,pdata
+	store 1,mem_mesh_segmented_access_lower_transport_layer_head
+	branch ali_mesh_network_layer_send_access_message
+
Index: program/mesh_protocol_stack/mesh_model_layer.prog
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/program/mesh_protocol_stack/mesh_model_layer.prog	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/program/mesh_protocol_stack/mesh_model_layer.prog	(working copy)
@@ -0,0 +1,136 @@
+
+
+/*
+	mesh model层指令解析总函数
+*/
+
+ali_mesh_model_layer_check_model_message_opcode:
+	fetch 1,mem_mesh_module_message_opcode
+ali_mesh_model_layer_check_generic_OnOff_message_opcde:
+	beq MESH_MODULE_MESSAGE_OPCODE_GENERIC_ONOFF_GET_NO_HEAD,ali_mesh_model_layer_message_opcode_generic_onoff_get
+	beq MESH_MODULE_MESSAGE_OPCODE_GENERIC_ONOFF_SET_NO_HEAD,ali_mesh_model_layer_message_opcde_generic_onoff_set
+	beq MESH_MODULE_MESSAGE_OPCODE_SCENE_RECALL_NO_HEAD,ali_mesh_model_layer_message_opcde_scene_recall
+	beq MESH_MODULE_MESSAGE_OPCODE_LIGHT_LIGHTNESS_SET_NO_HEAD,ali_mesh_model_layer_message_opcde_light_lightness_set
+	beq MESH_MODULE_MESSAGE_OPCODE_LIGHT_CTL_SET_NO_HEAD,ali_mesh_model_layer_message_opcde_light_ctl_set
+	rtn
+
+
+ali_mesh_model_layer_message_opcode_generic_onoff_get:
+	arg ali_mesh_model_layer_message_opcode_generic_onoff_get_cb,regc
+	branch ali_mesh_more_element_check_element_address
+ali_mesh_model_layer_message_opcode_generic_onoff_get_cb:
+	//input queue is element number
+	//output pdata is element generic OnOff status
+	fetch 2,mem_mesh_cb_generic_onoff_get
+	call callback_func
+	store 1,mem_mesh_generic_onoff_set_payload_OnOff
+	branch ali_mesh_access_layer_send_generic_onoff_status
+
+
+ali_mesh_model_layer_message_opcde_generic_onoff_set:
+	arg ali_mesh_model_layer_message_opcde_generic_onoff_set_cb,regc
+	branch ali_mesh_more_element_check_element_address
+ali_mesh_model_layer_message_opcde_generic_onoff_set_cb:
+	call ali_mesh_access_layer_send_generic_onoff_status
+	fetch 2,mem_mesh_cb_generic_onoff_set
+	branch callback_func
+
+
+//模式设置
+ali_mesh_model_layer_message_opcde_scene_recall:
+	call ali_mesh_access_layer_send_scene_status
+	fetch 2,mem_mesh_cb_scene_recall
+	branch callback_func
+
+
+ali_mesh_model_layer_message_opcde_light_lightness_set:
+	fetch 2,mem_mesh_light_lightness_set_payload_lightness
+	call ali_mesh_model_layer_message_calc_lightness
+	store 1,mem_mesh_light_lightness_calc_lightness
+	call ali_mesh_access_layer_send_light_lightness_status
+	fetch 2,mem_mesh_cb_light_lightness_set
+	branch callback_func
+
+
+ali_mesh_model_layer_message_opcde_light_ctl_set:
+	fetch 2,mem_mesh_last_CTL_Temperature
+	fetcht 2,mem_mesh_CTL_Temperature
+	isub temp,null
+	rtn zero
+
+	fetch 2,mem_mesh_CTL_Temperature
+	call ali_mesh_model_layer_message_calc_temperature
+	store 1,mem_mesh_CTL_calc_temperature
+
+	fetch 2,mem_mesh_CTL_Temperature
+	store 2,mem_mesh_last_CTL_Temperature
+	fetch 2,mem_mesh_cb_light_lightness_get
+	call callback_func
+	storet 2,mem_mesh_CTL_Lightness
+	call ali_mesh_access_layer_send_light_ctl_stauts
+	fetch 2,mem_mesh_cb_light_ctl_set
+	branch callback_func
+
+
+//input: pdata is lightness set by ali
+//output: pdata is lightness 0-100
+ali_mesh_model_layer_message_calc_lightness:
+	rtn blank
+	mul32 pdata,ALI_MESH_LIGHTNESS_LEVEL,pdata
+	arg ALI_MESH_LIGHTNESS_MAX,temp
+	idiv temp
+	call wait_div_end
+	remainder temp
+	rshift8 temp,temp
+	quotient pdata
+	sub temp,0xff,null
+	nrtn zero
+	pincrease 1
+	rtn
+
+
+//input: temp is lightness 0-100
+//output: temp is lightness set by ali
+ali_mesh_model_layer_message_calc_actual_lightness:
+	arg ALI_MESH_LIGHTNESS_MAX,pdata
+	imul32 temp,pdata
+	div pdata,ALI_MESH_LIGHTNESS_LEVEL
+	call wait_div_end
+	quotient temp
+	rtn
+
+//input: pdata is temperature set by ali
+//output: pdata is temperature 0-100
+ali_mesh_model_layer_message_calc_temperature:
+	arg ALI_MESH_TEMPERATURE_MIN,temp
+	isub temp,rega
+	call ali_mesh_model_layer_message_calc_temperature_k
+	copy rega,pdata
+	idiv temp
+	call wait_div_end
+	quotient pdata
+	rtn
+
+
+//input: temp is temperature 0-100
+//output: temp is temperature set by ali
+ali_mesh_model_layer_message_calc_actual_temperature:
+	copy temp,rega
+	call ali_mesh_model_layer_message_calc_temperature_k
+	copy rega,pdata
+	imul32 temp,pdata
+	arg ALI_MESH_TEMPERATURE_MIN,temp
+	iadd temp,temp
+	rtn
+
+ali_mesh_model_layer_message_calc_temperature_k:
+	setarg ALI_MESH_TEMPERATURE_MAX
+	arg ALI_MESH_TEMPERATURE_MIN,temp
+	isub temp,pdata
+	div pdata,ALI_MESH_TEMPERATURE_LEVEL
+	call wait_div_end
+	quotient temp
+	rtn
+
+
+
Index: program/mesh_protocol_stack/mesh_more_element_check.prog
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/program/mesh_protocol_stack/mesh_more_element_check.prog	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/program/mesh_protocol_stack/mesh_more_element_check.prog	(working copy)
@@ -0,0 +1,138 @@
+
+/*
+	多元素设置，检查是否发送给子元素的信息
+	输入:
+		temp is 包的DST地址
+*/
+ali_mesh_more_element_check_unicast_address:
+	arg 0,queue
+	fetchr loopcnt,1,mem_mesh_element_number
+	call disable_user
+	fetch 2,mem_mesh_Unicast_Address
+ali_mesh_more_element_check_unicast_address_loop:
+	isub temp,null
+	branch ali_mesh_more_element_found_unicast_address_element,zero
+	byteswap pdata,pdata
+	pincrease 1
+	byteswap pdata,pdata
+	increase 1,queue
+	loop ali_mesh_more_element_check_unicast_address_loop
+	rtn
+
+ali_mesh_more_element_found_unicast_address_element:
+	jam 0,mem_mesh_receive_group_address
+	storer queue,1,mem_mesh_receive_element_number
+	call ali_mesh_more_element_calc_queue_address
+	branch enable_user
+
+
+/*
+	多元素设置，检查是否发送给子元素组播的信息
+	输入:
+		temp is 包的DST地址
+*/
+ali_mesh_more_element_check_group_address:
+	arg 0,queue
+	arg 0,regc
+	call mesh_get_element_info_config
+	call disable_user
+ali_mesh_more_element_check_group_address_loop:
+	fetch 2,mem_mesh_core_feature
+	bbit0 MESH_FEATURE_DISABLE_SUBSCRIPTION,ali_mesh_more_element_check_subscription_address
+	ifetch 2,rega
+	isub temp,null
+	call ali_mesh_more_element_found_group_address_element,zero
+ali_mesh_more_element_check_address_common:
+	copy regb,pdata
+	iadd rega,rega
+	increase 1,queue
+	loop ali_mesh_more_element_check_group_address_loop
+	copy regc,pdata
+	rtn blank
+	store 1,mem_mesh_receive_group_address
+	branch enable_user
+
+ali_mesh_more_element_found_group_address_element:
+	qset1 regc
+	rtn
+
+ali_mesh_more_element_check_subscription_address:
+	add rega,ELEMENT_DEVICE_SUBSCRIPTION_LABEL,contr
+	arg SUBSCRIPTION_MAX_COUNT,alarm
+ali_mesh_more_element_check_subscription_address_loop:
+	ifetch 2,contr
+	isub temp,null
+	branch ali_mesh_more_element_found_subscription_address_element,zero
+	increase -1,alarm
+	branch ali_mesh_more_element_check_address_common,zero
+	branch ali_mesh_more_element_check_subscription_address_loop
+
+ali_mesh_more_element_found_subscription_address_element:
+	call ali_mesh_more_element_found_group_address_element
+	branch ali_mesh_more_element_check_address_common
+
+/*
+	多元素设置，检查哪些元素需要执行的操作
+	输入:
+		regc:对应的回调
+*/
+ali_mesh_more_element_check_element_address:
+	arg 0,queue
+	fetch 1,mem_mesh_receive_group_address
+	branch ali_mesh_more_element_check_element_address_no_group_address,blank
+	copy pdata,regb
+	fetchr loopcnt,1,mem_mesh_element_number
+ali_mesh_more_element_check_element_address_loop:
+	storer queue,1,mem_mesh_receive_element_number
+
+	qisolate1 regb
+	call ali_mesh_more_element_check_element_address_no_group_address,true
+	fetchr queue,1,mem_mesh_receive_element_number
+	increase 1,queue
+	loop ali_mesh_more_element_check_element_address_loop
+	rtn
+
+ali_mesh_more_element_check_element_address_no_group_address:
+	call ali_mesh_more_element_push_stack
+	call ali_mesh_more_element_calc_queue_address
+	copy regc,pdata
+	call callback_func
+	branch ali_mesh_more_element_pop_stack
+
+ali_mesh_more_element_push_stack:
+	storer loopcnt,2,mem_mesh_loopcnt_tmep
+	storer rega,2,mem_mesh_rega_temp
+	storer regb,2,mem_mesh_regb_temp
+	storer regc,2,mem_mesh_regc_temp
+	rtn
+
+ali_mesh_more_element_pop_stack:
+	fetchr loopcnt,2,mem_mesh_loopcnt_tmep
+	fetchr rega,2,mem_mesh_rega_temp
+	fetchr regb,2,mem_mesh_regb_temp
+	fetchr regc,2,mem_mesh_regc_temp
+	rtn
+
+
+/*
+	多元素设置，计算队列的指令长度
+	输入:
+		queue当前数据编号
+*/
+ali_mesh_more_element_calc_queue_address:
+	bpatchx patch3f_3,mem_patch3f
+	fetch 2,mem_mesh_Unicast_Address
+	byteswap pdata,pdata
+	iadd queue,pdata
+	byteswap pdata,pdata
+	store 2,mem_mesh_send_message_SRC
+	call mesh_get_element_info_config
+	copy queue,pdata
+	imul32 regb,pdata
+	iadd rega,rega
+	add rega,ELEMENT_DEVICE_UPPER_QUEUE_PTR,contr
+	ifetch 2,contr
+	store,2,mem_queue_ptr
+	rtn
+
+
Index: program/mesh_protocol_stack/mesh_network_layer.prog
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/program/mesh_protocol_stack/mesh_network_layer.prog	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/program/mesh_protocol_stack/mesh_network_layer.prog	(working copy)
@@ -0,0 +1,294 @@
+
+/*
+	mesh协议中network layer
+	主要是负责mesh中Network PDU内容合法性和解密
+*/
+
+ali_mesh_receive_adtype_mesh_message:
+	jam MESH_MESSAGE_TMALL,mem_mesh_network_packet_type
+
+/*
+	mesh中接收到network包处理函数
+*/
+//contr is read ptr
+//input:temp is len
+ali_mesh_network_layer_recevice_network_pdu:
+	sub temp,MESH_NETWORK_PACKET_MIN_LENGTH,null
+	rtn positive	//过滤短包，包长度太短导致解析错误
+	sub temp,MESH_NETWORK_PACKET_MAX_LENGTH,null
+	nrtn positive	//过滤长包，包长度太长导致内存覆盖
+	bpatchx patch3f_4,mem_patch3f
+	call ali_mesh_network_store_in_mem
+ali_mesh_network_layer_recevice_network_pdu_check_NID:
+	call ali_mesh_network_layer_check_NID_IVI
+	nrtn user
+ali_mesh_network_layer_recevice_network_pdu_deceypt_obfuscation:
+	call ali_mesh_encrypt_obfuscation_deceypt_recevie_message
+	//fetch 1,mem_mesh_message_TTL
+	//rtnbit1 BIT_CTL
+//	fetch 1,mem_mesh_message_TTL
+//	nrtn blank
+ali_mesh_network_layer_recevice_network_pdu_decrypt_NetMIC32:
+	call ali_mesh_network_load_network_nonce_and_EncryptionKey
+	fetch 1,mem_mesh_message_Transport_NetMIC_length
+	arg mem_mesh_message_DST,temp
+	call ali_CCM_decrypt
+	nrtn zero	//NetMIC error
+
+
+ali_mesh_network_layer_recevice_network_pdu_check_DST:
+	bpatchx patch3f_5,mem_patch3f
+	fetcht 2,mem_mesh_message_DST
+	call ali_mesh_more_element_check_unicast_address	//检查所有子元素的单播地址
+	branch ali_mesh_network_layer_recevice_network_pdu_check_SRC_and_SEQ,user
+	arg 29,loopcnt
+	arg mem_mesh_message_NID_temp,contw
+	arg mem_mesh_message_NID,contr
+	call memcpy
+	call ali_mesh_network_layer_recevice_network_pdu_check_DST_group_address
+	arg 29,loopcnt
+	arg mem_mesh_message_NID_temp,contr
+	arg mem_mesh_message_NID,contw
+	call memcpy
+	fetch 2,mem_mesh_cb_network_relay
+	branch callback_func
+
+ali_mesh_network_layer_recevice_network_pdu_check_DST_group_address:
+	call ali_mesh_more_element_check_group_address	//检查所有子元素的组播地址
+	branch ali_mesh_network_layer_recevice_network_pdu_check_SRC_and_SEQ,user
+	jam 0xff,mem_mesh_receive_group_address
+	setarg GROUP_ADDRESS_0XCFFF_little_endian
+	isub temp,null	//DST==0xCFFF Tmall规定的灯model的组播地址2
+	branch ali_mesh_network_layer_recevice_network_pdu_check_SRC_and_SEQ,zero
+	setarg GROUP_ADDRESS_0XFFFF_little_endian
+	isub temp,null	//DST==0xCFFF Tmall规定的82 01指令的组播地址，在线检测
+	branch ali_mesh_network_layer_recevice_network_pdu_check_SRC_and_SEQ,zero
+	rtn
+
+
+ali_mesh_network_layer_check_NID_IVI:
+	call disable_user
+	fetcht 1,mem_mesh_message_NID
+	rshift4 temp,pdata
+	rshift3 pdata,pdata
+	fetchr rega,1,mem_mesh_IV_Index+3
+	and rega,0x01,rega
+	isub rega,null
+	nrtn zero
+	and temp,0x7f,temp
+	fetch 1,mem_k2_NID
+	isub temp,null
+	nrtn zero	//判断NID是否相等;相等说明是同一个网络的包
+	branch enable_user
+
+//检查SRC和SEQ存储cache，是否有当前SRC设备信息
+ali_mesh_network_layer_recevice_network_pdu_check_SRC_and_SEQ:
+	arg mem_mesh_TMALL_cache_start,rega
+	arg CACHE_SPACE_NUM,loopcnt
+ali_mesh_network_layer_raverse_SRC_SEQ_cache:
+	fetcht 2,mem_mesh_message_SRC
+	ifetch 2,rega
+//cache存在空的空间,将SRC、SEQ存储到这个空间
+	branch ali_mesh_network_layer_find_empty_space,blank
+	
+	isub temp,null
+//cache已经存有该SRC的信息，导出SEQ信息
+	branch ali_mesh_network_layer_find_SRC_space,zero
+	increase CACHE_SPACE_SIZE,rega
+	loop ali_mesh_network_layer_raverse_SRC_SEQ_cache
+	arg mem_mesh_TMALL_cache_start,rega
+
+ali_mesh_network_layer_find_empty_space:
+	istoret 2,rega
+ali_mesh_network_layer_find_SRC_space:
+	storet 2,mem_mesh_send_message_DST
+	//接收时的SRC是发送时候的DST
+	add rega,2,regc
+	ifetch 3,regc
+	store 3,mem_mesh_last_message_SEQ
+	branch ali_mesh_network_layer_recevice_network_pdu_check_SEQ_legal
+
+
+//检查SEQ的合法性，过滤重复包
+ali_mesh_network_layer_recevice_network_pdu_check_SEQ_legal:
+//check SEQ
+	call ali_mesh_inverse_SEQ
+	//高低位交换
+	fetch 3,mem_mesh_last_message_SEQ
+	fetcht 3,mem_mesh_message_SEQ
+	isub temp,null
+	rtn positive	//lastMessageSEQ-currMessageSEQ>=0,返回
+	istoret 3,regc	
+	call ali_mesh_inverse_SEQ	//application nonce和Device nonce都需要用到SEQ
+	call logging_tx_debug_network_receive_packet
+	branch ali_mesh_lower_transport_layer_receive_lower_transport_PDU
+
+ali_mesh_inverse_SEQ:
+	arg mem_mesh_message_SEQ,rega
+	arg 3,loopcnt
+	branch inverse_data
+
+
+
+ali_mesh_network_load_network_nonce_and_EncryptionKey:
+	call ali_mesh_network_layer_load_network_nonce
+ali_mesh_upper_transport_layer_load_EncryptionKey:
+	arg mem_k2_EncryptionKey,contr
+	branch load_key
+ali_mesh_network_layer_load_network_nonce:
+	arg mem_mesh_Network_Nonce,contw
+	setarg NETWORK_NONCE
+	istore 1,contw
+	fetch 6,mem_mesh_message_TTL
+	istore 8,contw
+	branch mesh_generate_nonce
+
+
+ali_mesh_network_store_in_mem:
+	add temp,-12,pdata
+	//长度-12的原因
+	//uint8_t AD type:GAP_ADTYPE_MESH_MESSAGE
+	//uint8_t IVI & NID
+	//uint8_t CTL & TTL
+	//uint24_t SEQ
+	//uint16_t SRC
+	//uint32_t MIC
+	//AD_len减去上面内容，是实际DST & Transport PDU的长度
+	//问题:没有考虑MIC长度是64bit 的情况，目前不支持，后期支持需要修改
+	store 1,mem_mesh_message_Transport_NetMIC_length
+	arg 29,loopcnt
+	arg mem_mesh_message_NID,contw
+	call clear_mem
+	add temp,-1,loopcnt
+	arg mem_mesh_message_NID,contw
+	branch memcpy_fast
+	//统一copy到mem_mesh_message_NID
+
+ali_mesh_network_layer_relay_access_message:
+	call ali_mesh_network_layer_check_relay_states
+	nrtn user
+	call ali_mesh_network_layer_encrypt_relay_package
+	jam ADV_RELAY_MESH_MESSAGE_DURATION,mem_mesh_queue_ele_duration
+	fetch 1,mem_mesh_message_Transport_NetMIC_length
+	add pdata,13,temp
+	storet 1,mem_mesh_queue_ele_len
+	increase -1,temp
+	istoret 1,contw
+	setarg GAP_ADTYPE_MESH_MESSAGE
+	istore 1,contw
+	add temp,-1,loopcnt
+	fetch 7,mem_mesh_message_NID
+	arg mem_mesh_message_NID,contr
+	call memcpy
+	fetch 2,mem_ui_state_map
+	isolate1 UI_STATE_BLE_CONNECTED,pdata
+	call ali_mesh_send_ble_data_relay_package,true
+	arg mem_mesh_queue_ele_temp,rega
+	branch queue_push
+
+ali_mesh_send_ble_data_relay_package:
+	fetch 1,mem_mesh_network_packet_type
+	rtneq MESH_MESSAGE_PROXY
+	branch ali_mesh_send_ble_data
+
+//output:enable user is mean can relay packet
+ali_mesh_network_layer_check_relay_states:
+	call disable_user
+	fetch 1,mem_mesh_network_packet_type
+	rtneq MESH_MESSAGE_APP	//不relay APP的控制包
+	fetch 2,mem_mesh_core_feature
+	rtnbit1 MESH_FEATURE_DISABLE_RELAY
+	fetch 1,mem_mesh_provisioned_flag
+	rtnne PAIRED_STATUS	//无配网状态，不relay 接收到random就能解析数据
+	fetcht 2,mem_mesh_message_SRC
+	call ali_mesh_more_element_check_unicast_address
+	nrtn user					//不relay 元素的包的数据包
+	call ali_mesh_network_layer_check_network_mic_cache
+	nrtn user
+	call ali_mesh_network_layer_logging_tx_relay_info
+	fetch 1,mem_mesh_message_TTL
+	rtn blank
+	pincrease -1
+	rtn blank
+	store 1,mem_mesh_message_TTL
+	setarg mem_mesh_network_relay_queue
+	store 2,mem_queue_ptr
+	branch enable_user
+
+ali_mesh_network_layer_encrypt_relay_package:
+ 	call ali_mesh_network_load_network_nonce_and_EncryptionKey
+	fetch 1,mem_mesh_message_Transport_NetMIC_length
+	arg mem_mesh_message_DST,temp
+	call ali_CCM_encrypt
+	branch ali_mesh_encrypt_obfuscation_deceypt_recevie_message
+
+
+//user is enable ,mean new packet
+ali_mesh_network_layer_check_network_mic_cache:
+	setarg mem_mesh_transport_message_mic_cache
+	store 2,mem_mesh_mic_cache_ptr
+	branch ali_mesh_base_adt_cache
+
+
+ali_mesh_network_layer_logging_tx_relay_info:
+	arg 2,loopcnt
+	arg mem_mesh_message_DST,rega
+	arg MESH_NETWORK_RELAY_PACKET,regb
+	call logging_tx_info
+	fetchr loopcnt,1,mem_ccm_data_len
+	fetchr rega,2,mem_ccm_data_ptr
+	arg MESH_NETWORK_RELAY_PACKET,regb
+	branch logging_tx_debug
+
+
+/*
+	mesh中发送到network layer处理函数
+	不区分Unsegmented access message和Segmented access message
+	统一处理函数接口
+*/
+
+ali_mesh_network_layer_send_access_message:
+	bpatchx patch3f_6,mem_patch3f
+	call ali_mesh_network_layer_send_access_message_encrypt_NetMIC
+	call ali_mesh_network_layer_send_access_message_encrypt_obfuscation
+	branch ali_mesh_bearer_layer_send_packet_by_network_layer
+
+
+//DST在接收包时，已经写入mem_mesh_unsegmented_lower_transport_layer_DST
+//计算Netwrork MIC的值
+ali_mesh_network_layer_send_access_message_encrypt_NetMIC:
+	fetch 1,mem_mesh_lower_transport_layer_payload_len
+	add pdata,2,rega	//DST size
+	pincrease 4
+	store 1,mem_mesh_lower_transport_layer_payload_len
+	arg mem_mesh_send_upper_layer_DST,temp
+	branch ali_mesh_network_layer_encrypt_by_network_nonce
+
+//********* generate network nonce *********//
+//input:temp is encrypt ptr
+//rega is encrypt length
+ali_mesh_network_layer_encrypt_by_network_nonce:
+	call ali_mesh_network_load_network_nonce_and_EncryptionKey
+	copy rega,pdata
+	branch ali_CCM_encrypt
+
+
+ali_mesh_network_layer_send_access_message_encrypt_obfuscation:
+	branch ali_mesh_encrypt_obfuscation_deceypt_send_message
+
+
+
+mesh_generate_nonce:
+	fetch 4,mem_mesh_IV_Index
+	istore 4,contw
+	add contw,-13,pdata
+	store 2,mem_nonce_ptr
+	rtn
+
+logging_tx_debug_network_receive_packet:
+	fetch 1,mem_mesh_message_Transport_NetMIC_length
+	add pdata,11,loopcnt
+	arg mem_mesh_message_NID,rega
+	arg MESH_NETWORK_RECEIVE_PACKET,regb
+	branch logging_tx_debug
+
Index: program/mesh_protocol_stack/mesh_proxy_layer.prog
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/program/mesh_protocol_stack/mesh_proxy_layer.prog	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/program/mesh_protocol_stack/mesh_proxy_layer.prog	(working copy)
@@ -0,0 +1,81 @@
+
+
+/*
+	阿里 mesh proxy 层控制
+*/
+ali_mesh_proxy_init_adv:
+	jam 0x14,mem_le_adv_data_len
+	setarg 0x02
+	store 1,mem_le_adv_data
+	setarg GAP_ADTYPE_FLAGS
+	istore 1,contw
+	setarg 0x06
+	istore 1,contw
+	setarg 0x03
+	istore 1,contw
+	setarg GAP_ADTYPE_16BIT_COMPLETE
+	istore 1,contw
+	setarg MESH_PROXY_SERVICE
+	istore 2,contw
+	setarg 0x0c
+	istore 1,contw
+	setarg GAP_ADTYPE_SERVICE_DATA
+	istore 1,contw
+	setarg MESH_PROXY_SERVICE
+	istore 2,contw
+	setarg MESH_PROXY_SERVICE_DATA_ID_TYPE_NETWORK_ID
+	istore 1,contw
+	fetch 8,mem_mesh_network_id
+	istore 8,contw
+	rtn
+
+//rega is le rx data address
+//regb is le rx data length
+//mem_le_att_handle is write handle
+mesh_le_receive_data:
+/*	call uartb_prepare_tx
+	setarg 0x5555
+	istore 2,contwu
+	fetch 2,mem_le_att_handle
+	istore 2,contwu
+	copy regb,pdata
+	istore 2,contwu
+	copy rega,contr
+	copy regb,loopcnt
+	call uart_copy_tx_bytes
+	call uartb_send
+*/
+	fetch 2,mem_le_att_handle
+	beq MESH_PROXY_DATA_IN_HANDLE,ali_mesh_receive_ble_data_proxy_data_in
+	rtn
+
+ali_mesh_receive_ble_data_proxy_data_in:
+	copy regb,temp
+	ifetch 1,rega
+	beq MESH_PROXY_MESSAGE_TYPE_NETWORK_PDU,ali_mesh_network_layer_recevice_network_pdu_proxy_control
+	rtn
+
+ali_mesh_network_layer_recevice_network_pdu_proxy_control:
+	jam MESH_MESSAGE_PROXY,mem_mesh_network_packet_type_temp
+	branch ali_mesh_network_layer_recevice_network_pdu
+
+
+ali_mesh_proxy_process_bb_event:
+	copy regc,pdata
+	beq BT_EVT_LE_DISCONNECTED,app_ble_start_adv
+	rtn
+
+
+ali_mesh_send_ble_data:
+	call le_fifo_check_nearly_full
+	nrtn blank
+	fetch 1,mem_mesh_queue_ele_len
+	add pdata,-1,rega
+	arg MESH_PROXY_DATA_OUT_HANDLE,temp
+	call le_att_malloc_tx_notify
+	setarg MESH_PROXY_MESSAGE_TYPE_NETWORK_PDU
+	istore 1,contw
+	arg mem_mesh_queue_ele_payload+2,contr
+	branch memcpy32
+
+
Index: program/mesh_protocol_stack/mesh_upper_transport_layer.prog
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/program/mesh_protocol_stack/mesh_upper_transport_layer.prog	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/program/mesh_protocol_stack/mesh_upper_transport_layer.prog	(working copy)
@@ -0,0 +1,456 @@
+
+/*
+	mesh协议中upper transport layer
+	主要是负责mesh中upper transport layer数据的解密
+	Unsegmented access message和segmented access message
+	Control message
+*/
+
+/*
+	mesh中接收到unsegmented按照AKF标志，使用application nonce或者device nonce解密Unsegmented access message
+*/
+
+ali_mesh_upper_transport_layer_receive_unsegmented_access_message:
+	bbit0 TRANSPORT_HEAD_BIT_AKF,ali_mesh_uuper_transport_layer_decrypt_unsegment_access_by_device_key
+//application key和application nonce解密Unsegmented access message
+ali_mesh_uuper_transport_layer_decrypt_unsegment_access_by_application_key:
+	call ali_mesh_upper_transport_layer_load_application_nonce_and_application_key
+	branch ali_mesh_upper_transport_layer_decrypt_unsegmented_message
+//device key和device nonce解密Unsegmented access message
+ali_mesh_uuper_transport_layer_decrypt_unsegment_access_by_device_key:
+	call ali_mesh_upper_transport_layer_load_device_nonce_and_device_key
+	branch ali_mesh_upper_transport_layer_decrypt_unsegmented_message
+
+
+ali_mesh_upper_transport_layer_decrypt_unsegmented_message:
+	fetch 1,mem_mesh_message_Transport_NetMIC_length
+	pincrease -7	
+	//DST 16bit
+	//Head8bit (SEG 1bit /AKF 1bit/AID 6bit)
+	//Transport MIC 32bit
+	arg mem_mesh_message_Transport_unsegmented_access_messagePDU,alarm
+	call disable_user
+	branch ali_mesh_upper_transport_layer_decrypt_message
+
+
+/*
+	mesh中接收到segmented按照AKF标志，使用application nonce或者device nonce解密segmented access message
+*/
+ali_mesh_upper_transport_layer_receive_segmented_access_message:
+	fetch 1,mem_mesh_message_Transport_Head
+	bbit0 TRANSPORT_HEAD_BIT_AKF,ali_mesh_uuper_transport_layer_decrypt_segment_access_by_device_key
+ali_mesh_uuper_transport_layer_decrypt_segment_access_by_application_key:
+	call ali_mesh_upper_transport_layer_load_application_nonce_and_application_key
+	branch ali_mesh_upper_transport_layer_decrypt_segmented_message
+ali_mesh_uuper_transport_layer_decrypt_segment_access_by_device_key:
+	call ali_mesh_upper_transport_layer_load_device_nonce_and_device_key
+	branch ali_mesh_upper_transport_layer_decrypt_segmented_message
+
+
+ali_mesh_upper_transport_layer_decrypt_segmented_message:
+	fetch 1,mem_mesh_ASZMIC
+	ncall enable_user,blank
+	call disable_user,blank
+	fetch 1,mem_mesh_segmented_access_message_current_length
+	pincrease -4	//Transport MIC
+	jam 0,mem_mesh_segmented_access_message_current_length
+	arg mem_mesh_segmented_access_message_Segment,alarm
+
+//input:alarm:decrypt message ptr
+//pdata:decrypt message length
+ali_mesh_upper_transport_layer_decrypt_message:
+	copy alarm,temp
+	call ali_mesh_upper_transport_layer_decrypt_message_decrypt_transMIC
+	nrtn zero
+	arg 1,loopcnt
+	arg mem_ccm_data_len,rega
+	arg MESH_UPPER_RECEIVE_PACKET,regb
+	call logging_tx_info
+	call ali_mesh_upper_transport_layer_check_transport_mic_cache
+	nrtn user
+	fetch 2,mem_ccm_data_ptr
+	copy pdata,alarm
+	branch ali_mesh_access_layer_resolve_message
+
+ali_mesh_upper_transport_layer_decrypt_message_decrypt_transMIC:
+	nbranch ali_CCM_decrypt,user
+	pincrease -4
+	branch ali_CCM_decrypt_64Bit
+
+//user is enable ,mean new packet
+ali_mesh_upper_transport_layer_check_transport_mic_cache:
+	setarg mem_mesh_access_message_mic_cache
+	store 2,mem_mesh_mic_cache_ptr
+	branch ali_mesh_base_adt_cache
+
+
+//********* generate application nonce *********//
+ali_mesh_upper_transport_layer_load_application_nonce_and_application_key:
+	call ali_mesh_upper_transport_layer_load_application_nonce
+ali_mesh_upper_transport_layer_load_application_key:
+	arg mem_mesh_application_key,contr
+	branch load_key
+ali_mesh_upper_transport_layer_load_application_nonce:
+	arg mem_mesh_Application_Nonce,contw
+	setarg APPLICATION_NONCE
+	istore 1,contw
+	fetch 1,mem_mesh_ASZMIC
+	arg 0,temp
+	nsetflag blank,7,temp
+	istoret 1,contw
+	fetch 7,mem_mesh_message_SEQ
+	istore 7,contw
+	branch mesh_generate_nonce
+
+
+//********* generate device nonce *********//
+ali_mesh_upper_transport_layer_load_device_nonce_and_device_key:
+	call ali_mesh_upper_transport_layer_load_device_nonce
+ali_mesh_upper_transport_layer_load_device_key:
+	arg mem_mesh_Device_Key,contr
+	branch load_key
+ali_mesh_upper_transport_layer_load_device_nonce:
+	arg mem_mesh_Device_Nonce,contw
+	setarg DEVICE_NONCE
+	branch ali_mesh_upper_transport_layer_load_application_nonce + 2
+
+
+/*
+	mesh中upper transport layer，发送access layer传入的access  PDU
+*/
+// write data to // mem_mesh_access_layer_payload //
+// write data len to //mem_mesh_access_layer_payload_len //
+//upper层发送access mess，主要是计算transport MIC
+ali_mesh_upper_transport_layer_send_access_message:
+ali_mesh_upper_transport_layer_send_access_message_without_cleat_tx_buffer:
+	bpatchx patch3f_7,mem_patch3f
+	call ali_mesh_upper_transport_layer_clear_tx_buffer
+	call ali_mesh_loggint_tx_info_upper_send_packet
+	call ali_mesh_upper_transport_layer_send_access_message_add_NID_SRC_TTL_SEQ_DST
+
+	//queue control
+	call ali_mesh_upper_transport_layer_store_packet_header
+	rtn user
+	call ali_mesh_upper_transport_layer_store_unsegment_msg_original_access_pdu
+
+	arg mem_mesh_upper_tran_layer_queue_temp,rega
+	branch queue_push
+
+
+//output:user is enable mean send Attr Indication packet,but no in paired status
+ali_mesh_upper_transport_layer_store_packet_header:
+	call disable_user
+	arg UPPER_RETRY_COUNT_STATUS,temp
+	fetch 1,mem_mesh_provisioned_flag
+	iadd temp,temp		//APP 配网包，增加重传次数保证成功率
+	fetch 1,mem_mesh_network_packet_type
+	sub pdata,MESH_MESSAGE_PROXY,null
+	setflag zero,BIT_UPPER_FLAG_PROXY_CONTROL,temp
+	fetch 1,mem_mesh_network_packet_type
+	sub pdata,MESH_MESSAGE_APP,null
+	setflag zero,BIT_UPPER_FLAG_APP_CONTROL,temp
+	storet 1,mem_mesh_upper_tran_layer_temp_packet_flag
+	fetch 9,mem_mesh_send_upper_layer_IVI_and_NID
+	store 9,mem_mesh_upper_tran_layer_temp_packet_header_IVI_NID
+	fetch 1,mem_mesh_access_layer_payload_vendor_command
+	rtnne VENDOR_MESSAGE_ATTR_INDICATION
+	fetch 1,mem_mesh_provisioned_flag
+	bne PAIRED_STATUS,enable_user
+	fetch 1,mem_mesh_access_layer_payload_vendor_tid
+	store 1,mem_mesh_upper_tran_layer_temp_packet_TID
+	fetch 1,mem_mesh_upper_tran_layer_temp_packet_flag
+	pincrease UPPER_RETRY_COUNT_INDICATION
+	set1 BIT_UPPER_FLAG_VENDOR_INDICATION,pdata
+	store 1,mem_mesh_upper_tran_layer_temp_packet_flag
+	rtn
+
+
+ali_mesh_upper_transport_layer_store_unsegment_msg_original_access_pdu:
+	fetch 1,mem_mesh_access_layer_payload_len
+	copy pdata,loopcnt
+	store 1,mem_mesh_upper_tran_layer_temp_packet_length
+	fetch 1,mem_mesh_message_Transport_Head
+	store 1,mem_mesh_upper_tran_layer_temp_pakcet_AKF_AID
+	arg mem_mesh_upper_tran_layer_temp_pakcet_upper_tran_access_pdu,contw
+	arg mem_mesh_access_layer_payload,contr
+	branch memcpy
+
+
+/*
+	mesh中upper transport layer，控制包的发送和重传等
+*/
+ali_mesh_upper_transport_layer_control_packet:
+	arg ali_mesh_upper_transport_layer_control_packet_deal,regc
+	branch ali_mesh_check_all_element_info
+
+
+ali_mesh_upper_transport_layer_control_packet_deal:
+	add rega,ELEMENT_DEVICE_UPPER_ADV_FLAG,contr
+	ifetch 1,contr
+	nrtn blank
+	ifetch 2,contr
+	store 2,mem_queue_ptr
+	arg mem_mesh_upper_tran_layer_queue_temp,rega
+	call queue_get_new_ele
+	nrtn user													//查看发送队列有无数据
+	fetchr rega,2,mem_mesh_rega_temp
+
+	fetcht 1,mem_mesh_upper_tran_layer_temp_packet_flag
+	and temp,DATA_UPPER_FLAG_MAX_RETRY_COUNT,pdata
+	branch ali_mesh_upper_transport_layer_queue_pop,blank		//重传超时丢弃该包
+	add rega,ELEMENT_DEVICE_UPPER_ADV_FLAG,contw
+	setarg PACKET_IN_BEARER
+	istore 1,contw		//状态未丢弃
+
+	call ali_mesh_upper_transport_layer_control_packet_load_header	//加载packet header，message header
+
+	fetcht 1,mem_mesh_upper_tran_layer_temp_packet_flag
+	call ali_mesh_upper_transport_layer_control_packet_load_app_control	//APP控制还是tmall控制
+	add rega,ELEMENT_DEVICE_TRAN_PACKAGE_TID,contw
+	istore 1,contw
+
+	add rega,ELEMENT_DEVICE_TRAN_PACKAGE_TYPE,contr
+	ifetch 1,contr
+	isolate1 BIT_UPPER_FLAG_PROXY_CONTROL,temp
+	setflag true,BIT_UUPER_TRAN_PROXY_MESSAGE,pdata
+	add rega,ELEMENT_DEVICE_TRAN_PACKAGE_TYPE,contw
+	istore 1,contw
+
+	set1 BIT_UPPER_FLAG_RETRANSMIT,temp						//重传标志
+
+	increase -1,temp		//重传次数-1
+	istoret 1,regb			//存入队列位置
+	
+	fetcht 1,mem_mesh_upper_tran_layer_temp_packet_flag
+	isolate1 BIT_UPPER_FLAG_RETRANSMIT,temp
+	nbranch ali_mesh_upper_transport_layer_control_packet_encrypt_access,true
+	fetcht 1,mem_mesh_upper_tran_layer_temp_packet_length
+	storet 1,mem_mesh_upper_transport_layer_payload_len
+	copy temp,loopcnt
+	arg mem_mesh_access_layer_payload,contw
+	arg mem_mesh_upper_tran_layer_temp_pakcet_upper_tran_access_pdu,contr
+	call memcpy
+	sub temp,UNSEGMENTED_ACCESS_MESSAGE_MAX_UPPER_TRANSPORT_ACCESS_PDU_LEN,null
+	nbranch ali_mesh_upper_transport_layer_control_packet_segment_msg,positive
+ali_mesh_upper_transport_layer_control_packet_unsegment_msg:
+	branch ali_mesh_lower_transport_layer_send_unsegmented_access_message
+
+
+ali_mesh_upper_transport_layer_control_packet_segment_msg:
+	fetch 4,mem_mesh_upper_tran_layer_temp_segmented_pakcet_SeqZero
+	store 4,mem_mesh_segmented_lower_transport_layer_SegZero
+	branch ali_mesh_upper_transport_layer_split_segmented_msg_to_lower_tran_layer
+
+
+ali_mesh_upper_transport_layer_control_packet_load_header:
+	fetch 1,mem_mesh_upper_tran_layer_temp_pakcet_AKF_AID
+	store 1,mem_mesh_message_Transport_Head
+
+	fetch 9,mem_mesh_upper_tran_layer_temp_packet_header_IVI_NID
+	store 9,mem_mesh_send_upper_layer_IVI_and_NID
+	store 9,mem_mesh_message_NID
+	rtn
+
+
+ali_mesh_upper_transport_layer_control_packet_load_app_control:
+	setarg UPPER_TRAN_TMALL_AND_APP
+	call ali_mesh_store_tran_package_type
+	fetch 1,mem_mesh_upper_tran_layer_temp_packet_TID
+	isolate1 BIT_UPPER_FLAG_VENDOR_INDICATION,temp
+	rtn true		//indication packet send app & tmall
+	setarg UPPER_TRAN_TMALL_MESSAGE
+	call ali_mesh_store_tran_package_type
+	setarg 0
+	isolate1 BIT_UPPER_FLAG_APP_CONTROL,temp
+	nrtn true
+	setarg UPPER_TRAN_APP_MESSAGE
+	call ali_mesh_store_tran_package_type
+	branch enable_blank
+
+ali_mesh_store_tran_package_type:
+	add rega,ELEMENT_DEVICE_TRAN_PACKAGE_TYPE,contw
+	istore 1,contw
+	rtn
+
+
+ali_mesh_upper_transport_layer_queue_pop:
+	setarg 0
+	add rega,ELEMENT_DEVICE_TRAN_PACKAGE_TID,contw
+	istore 1,contw
+	arg mem_mesh_upper_tran_layer_queue_temp,rega
+	branch queue_pop
+
+ali_mesh_upper_transport_layer_control_packet_encrypt_access:
+	call ali_mesh_upper_transport_layer_send_access_message_calc_SEQ
+	call ali_mesh_upper_transport_layer_send_access_message_add_SEQ
+	fetch 9,mem_mesh_send_upper_layer_IVI_and_NID
+	store 9,mem_mesh_upper_tran_layer_temp_packet_header_IVI_NID
+	call ali_mesh_upper_transport_layer_control_packet_encrypt_access_load_payload
+	setarg 0
+	store 1,mem_mesh_ASZMIC
+	call ali_mesh_upper_transport_layer_calc_transport_mic
+
+	fetcht 1,mem_mesh_upper_transport_layer_payload_len
+	storet 1,mem_mesh_upper_tran_layer_temp_packet_length
+	copy temp,loopcnt
+	arg mem_mesh_access_layer_payload,contr
+	arg mem_mesh_upper_tran_layer_temp_pakcet_upper_tran_access_pdu,contw
+	call memcpy
+	
+	sub temp,UNSEGMENTED_ACCESS_MESSAGE_MAX_UPPER_TRANSPORT_ACCESS_PDU_LEN,null
+	nbranch ali_mesh_upper_transport_layer_control_packet_encrypt_access_segment_msg,positive
+ali_mesh_upper_transport_layer_control_packet_encrypt_access_unsegment_msg:
+//upper层发送unsegmented access mess，主要是计算transport MIC
+	arg mem_mesh_upper_tran_layer_temp_packet_transmit_delay,rega
+	call queue_store_new_ele
+	branch ali_mesh_lower_transport_layer_send_unsegmented_access_message
+
+ali_mesh_upper_transport_layer_control_packet_encrypt_access_segment_msg:
+	call ali_mesh_upper_transport_layer_send_segmented_access_message_get_SeqZero_SegON
+	fetch 4,mem_mesh_segmented_lower_transport_layer_SegZero
+	store 4,mem_mesh_upper_tran_layer_temp_segmented_pakcet_SeqZero
+	arg mem_mesh_upper_tran_layer_temp_packet_transmit_delay,rega
+	call queue_store_new_ele
+	branch ali_mesh_upper_transport_layer_split_segmented_msg_to_lower_tran_layer
+
+ali_mesh_upper_transport_layer_control_packet_encrypt_access_load_payload:
+	fetch 1,mem_mesh_upper_tran_layer_temp_packet_length
+	copy pdata,loopcnt
+	store 1,mem_mesh_access_layer_payload_len
+	fetch 1,mem_mesh_upper_tran_layer_temp_pakcet_AKF_AID
+	store 1,mem_mesh_message_Transport_Head
+	arg mem_mesh_upper_tran_layer_temp_pakcet_upper_tran_access_pdu,contr
+	arg mem_mesh_access_layer_payload,contw
+	branch memcpy
+
+ali_mesh_upper_transport_layer_split_segmented_msg_to_lower_tran_layer:
+	call ali_mesh_upper_transport_layer_send_segmented_access_message_calc_header
+	setarg mem_mesh_access_payload
+	store 2,mem_mesh_upper_transport_layer_payload_ptr
+ali_mesh_upper_transport_layer_send_segmented_access_message_loop:
+	call ali_mesh_upper_transport_layer_control_packet_load_header
+	call ali_mesh_upper_transport_layer_send_access_message_calc_SEQ
+	call ali_mesh_upper_transport_layer_send_access_message_add_SEQ
+
+	fetcht 1,mem_mesh_access_layer_payload_len
+	setarg SEGMENTED_ACCESS_MESSAGE_UNINT_PDU_LEN
+	call not_greater_than
+	copy pdata,rega
+	copy temp,pdata
+	isub rega,pdata
+	store 1,mem_mesh_access_layer_payload_len
+	fetch 2,mem_mesh_upper_transport_layer_payload_ptr
+	copy pdata,contr
+	iadd rega,temp
+	storet 2,mem_mesh_upper_transport_layer_payload_ptr
+	call ali_mesh_lower_transport_layer_send_segmented_access_message
+	fetch 1,mem_mesh_access_layer_payload_len
+	rtn blank
+	fetch 1,mem_mesh_segmented_lower_transport_layer_SegO
+	pincrease 1
+	store 1,mem_mesh_segmented_lower_transport_layer_SegO
+	call ali_mesh_upper_transport_layer_send_segmented_access_message_calc_header
+	branch ali_mesh_upper_transport_layer_send_segmented_access_message_loop
+
+
+
+//upper层计算transport mic值
+ali_mesh_upper_transport_layer_calc_transport_mic:
+	fetch 1,mem_mesh_message_Transport_Head
+	bbit0 TRANSPORT_HEAD_BIT_AKF,ali_mesh_upper_transport_layer_calc_transport_mic_by_DeviceKey
+ali_mesh_upper_transport_layer_calc_transport_mic_by_AppKey:
+	call ali_mesh_upper_transport_layer_load_application_nonce_and_application_key
+	branch ali_mesh_upper_transport_layer_calc_transport_mic_encrypt_AESCCM
+ali_mesh_upper_transport_layer_calc_transport_mic_by_DeviceKey:
+	call ali_mesh_upper_transport_layer_load_device_nonce_and_device_key
+ali_mesh_upper_transport_layer_calc_transport_mic_encrypt_AESCCM:
+	fetch 1,mem_mesh_access_layer_payload_len
+	add pdata,4,temp
+	storet 1,mem_mesh_upper_transport_layer_payload_len
+	arg mem_mesh_access_layer_payload,temp
+	branch ali_CCM_encrypt
+
+
+
+//累加SEQ的值
+ali_mesh_upper_transport_layer_send_access_message_calc_SEQ:
+	fetch 3,mem_mesh_send_message_SEQ
+	pincrease 1
+	store 3,mem_mesh_send_message_SEQ
+	fetch 1,mem_mesh_gatt_package_send_msg_id
+	pincrease 1
+	store 1,mem_mesh_gatt_package_send_msg_id
+	fetch 2,mem_mesh_cb_seq_changed
+	branch callback_func
+
+
+//存NID,TTL,SEQ,SRC,其中SEQ需要高低位交换
+ali_mesh_upper_transport_layer_send_access_message_add_NID_SRC_TTL_SEQ_DST:
+	fetch 1,mem_mesh_IV_Index+3
+	lshift4 pdata,pdata
+	lshift3 pdata,pdata
+	fetcht 1,mem_k2_NID
+	ior temp,pdata
+	store 1,mem_mesh_send_upper_layer_IVI_and_NID
+	fetch 1,mem_mesh_send_message_TTL
+	store 1,mem_mesh_send_upper_layer_CTL_and_TTL
+	fetch 2,mem_mesh_send_message_SRC
+	store 2,mem_mesh_send_upper_layer_SRC
+	fetch 2,mem_mesh_send_message_DST
+	store 2,mem_mesh_send_upper_layer_DST
+
+ali_mesh_upper_transport_layer_send_access_message_add_SEQ:
+	fetch 3,mem_mesh_send_message_SEQ
+	store 3,mem_mesh_send_upper_layer_SEQ
+	arg mem_mesh_send_upper_layer_SEQ,rega
+	arg 3,loopcnt
+	call inverse_data
+	fetch 8,mem_mesh_send_upper_layer_CTL_and_TTL
+	store 8,mem_mesh_message_TTL
+	rtn
+
+ali_mesh_upper_transport_layer_send_segmented_access_message_get_SeqZero_SegON:
+	fetch 1,mem_mesh_upper_transport_layer_payload_len
+	div pdata,SEGMENTED_ACCESS_MESSAGE_UNINT_PDU_LEN
+	call wait_div_end
+	quotient temp
+	remainder pdata
+	call ali_mesh_upper_transport_layer_send_segmented_access_message_sub_SegN_one,blank
+	storet 1,mem_mesh_segmented_lower_transport_layer_SegN
+	jam 0,mem_mesh_segmented_lower_transport_layer_SegO
+	fetch 3,mem_mesh_send_message_SEQ
+	arg 0x1fff,temp
+	iand temp,pdata
+	store 2,mem_mesh_segmented_lower_transport_layer_SegZero
+	rtn
+
+ali_mesh_upper_transport_layer_send_segmented_access_message_calc_header:
+	fetch 2,mem_mesh_segmented_lower_transport_layer_SegZero
+	lshift4 pdata,pdata
+	lshift pdata,pdata
+	fetcht 1,mem_mesh_segmented_lower_transport_layer_SegO
+	ior temp,pdata
+	lshift4 pdata,pdata
+	lshift pdata,pdata
+	fetcht 1,mem_mesh_segmented_lower_transport_layer_SegN
+	ior temp,pdata
+	store 3,mem_mesh_segmented_access_lower_transport_layer_SZMIC_SeqZero_SegO_SegN
+	arg 3,loopcnt
+	arg mem_mesh_segmented_access_lower_transport_layer_SZMIC_SeqZero_SegO_SegN,rega
+	branch inverse_data
+
+
+ali_mesh_upper_transport_layer_send_segmented_access_message_sub_SegN_one:
+	increase -1,temp
+	rtn
+
+ali_mesh_upper_transport_layer_clear_tx_buffer:
+	rtn
+
+
+ali_mesh_loggint_tx_info_upper_send_packet:
+	arg mem_mesh_access_layer_payload,rega
+	fetchr loopcnt,1,mem_mesh_access_layer_payload_len
+	arg MESH_UPPER_SEND_PACKET,regb
+	branch logging_tx_info
+
Index: program/patch.prog
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/program/patch.prog	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/program/patch.prog	(working copy)
@@ -0,0 +1,76 @@
+
+//	bbit1 8,pf_patch_ext
+	beq patch00_0,p_soft_reset
+	beq patch11_3,p_initialize_radio_cont
+	//beq patch13_7,p_init_param
+	//beq patch15_6,p_app_init
+	beq patch1c_6,p_shutter_init
+	branch loop
+
+//pf_patch_ext:
+//	beq patch36_1,p_le_receive_on_attempt
+//	branch loop
+
+p_soft_reset:
+	clear_stack
+	call p_app_param_init
+	branch soft_reset+3
+
+p_app_param_init:
+	call app_param_init
+	fetch 1,mem_device_option
+	beq dvc_op_shutter,p_shutter_default_init
+	rtn
+p_shutter_default_init:
+	setarg 0x0640
+	store 2,mem_ble_shutter_reconn_adv_interval
+	setarg 0x0640
+	store 2,mem_ble_shutter_discovery_adv_interval
+
+	rtn wake
+	//setarg mem_shutter_le_att_list
+	//store 2,mem_ui_le_uuid_table
+
+	setarg 0x0002
+	store 2,mem_key0_press
+	store 2,mem_key1_press
+	setarg 0x010210
+	store 3,mem_le_pres_max_keysize
+	rtn
+
+p_shutter_init:
+	call shutter_load_buffer_config_form_DataRom
+	fetch 1, mem_shutter_hard_soft_switch_case
+	beq HARD_SWITCH, shutter_hart_swtich_power_on
+	fetch 1,mem_shutter_soft_switch_button_gpio
+	store 1,mem_ui_button_gpio
+//	branch p_ui_soft_swtich_init
+p_ui_soft_swtich_init:
+	setarg SS_STATE_POWER_UP
+	call ui_soft_swtich_init_power_on_time
+	jam UI_BUTTON_STATE_UP,mem_ui_button_last_state
+	call ui_button_init
+	call ui_button_polling
+	fetch 1,mem_wakup_from_power_flag
+	bbit0 2,ui_soft_switch_power_on
+	branch ui_soft_swtich_init+5
+
+
+/********************rx fail patch************************/
+p_initialize_radio_cont:
+	call enable_authrom
+/*	setarg 0x0002
+	store 2,mem_key0_press
+	store 2,mem_key1_press
+	setarg 0x010210
+	store 3,mem_le_pres_max_keysize*/
+	jam 0x04,mem_ble_shutter_discovery_timeout+1
+	jam 0x0b,mem_ble_shutter_connect_timeout+1
+	jam 0x0b,core_rf_ldo_cfg2	//rx fail patch
+	jam 0x05,core_rf_ldo_cfg3
+	jam 0x90,core_syn_pfd_lkd_cfg
+	branch initialize_radio_cont+1
+
+
+
+	
Index: program/peripherals.prog
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/program/peripherals.prog	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/program/peripherals.prog	(working copy)
@@ -0,0 +1,3255 @@
+
+/* ===================== two wire SPI gpio ======================= */
+
+//pdata:gpio number
+twspi_reset:
+	bpatchx patch23_7,mem_patch23
+	and_into 0xff,pdata
+	arg core_gpio_conf,contw
+	iadd contw,contw
+	copy contw,rega
+	arg gpcfg_output_low,temp
+	istoret 1,contw
+	call twspi_disable
+	nop 30
+	copy rega,contw
+	arg gpcfg_output_high,temp
+	istoret 1,contw
+	branch twspi_enable
+
+twspi_disable:
+	fetch 1,core_aes_en
+	and_into 0xfb,pdata
+	store 1,core_aes_en
+	rtn
+
+twspi_enable:
+	fetch 1,core_aes_en
+	or_into 0x04,pdata
+	store 1,core_aes_en
+	rtn
+
+
+ifdef SPI2
+twspi2_reset:
+	and_into 0xff,pdata
+	arg core_gpio_conf,contw
+	iadd contw,contw
+	copy contw,rega
+	arg gpcfg_output_low,temp
+	istoret 1,contw
+	call twspi2_disable
+	nop 30
+	copy rega,contw
+	arg gpcfg_output_high,temp
+	istoret 1,contw
+	branch twspi2_enable
+
+twspi2_disable:
+	fetch 1,core_aes_en
+	and_into 0xf7,pdata
+	store 1,core_aes_en
+	rtn
+
+twspi2_enable:
+	fetch 1,core_aes_en
+	or_into 0x08,pdata
+	store 1,core_aes_en
+	rtn
+
+twspi2_write:
+	branch spid2_write_reg
+
+twspi2_read:
+	branch spid2_read_reg
+endif
+/* ===================== code loading ======================= */
+aes_disable:
+	fetch 1,core_aes_en
+	and_into 0xfd,pdata   	// disable aes
+	store 1,core_aes_en
+	rtn
+
+read_function_aes:
+	nbranch read_function,user
+	fetch 1,core_aes_en
+	or_into 0x2,pdata   	// enable aes 
+	store 1,core_aes_en
+read_function:
+	copy temp,null
+	branch read_fuction_zero,zero
+	copy regc,pc
+read_fuction_zero:
+	isolate0 0,null
+	branch set_ucode_status
+	
+/* return temp = block length */
+get_block_header:
+	force 4,temp
+get_block_header0:
+	arg mem_ucode_buf,rega
+	call aes_disable	// disable aes for header
+	call read_function
+	arg 0x55aa,rega
+	fetch 2,mem_ucode_buf
+	ifetcht 2,contr
+	isub rega,null
+	rtn	
+
+
+read_first_block:
+	arg 2,temp
+	arg mem_ucode_ptr,rega
+	call read_function
+	fetch 2,mem_ucode_ptr
+	store 2,mem_addr_mi
+	call get_iv,user
+	rtn
+	
+get_iv:
+	arg 16,temp
+	arg mem_ucode_keybuf,rega
+	call aes_disable	// disable aes for iv
+	call read_function
+set_iv:
+	arg mem_ucode_keybuf,contr
+	arg 16,loopcnt
+	call aes_load_data
+	call aes_init
+	call aes_clear_data
+	branch do_aes_cbc					/* generate first IV */
+
+load_storage:
+	setarg 0
+	store 2,mem_queue	//data checksum
+	disable match
+	call get_block_header
+	nrtn zero
+	jam 0x80, core_ucode_ctrl
+	jam 0,core_ucode_hi
+	jam 0,core_ucode_low
+	arg core_ucode_data,rega
+	call read_function_aes
+	jam 0x0, core_ucode_ctrl
+load_storage_loop:
+	arg 6,temp
+	call get_block_header0
+	nbranch load_data_checksum_compare,zero
+	ifetch 2,contr
+	iforce rega
+	call read_function
+	call load_data_checksum_calc
+	branch load_storage_loop
+
+load_data_checksum:
+	arg 0xaa55,rega
+	fetch 2,mem_ucode_buf
+	isub rega,null
+	nrtn zero
+	arg 0x55aa,rega
+	fetch 2,mem_ucode_len
+	isub rega,null
+	nrtn zero
+	fetch 2,mem_sched_addr
+	store 2,mem_rega	//data crc
+	rtn
+
+
+load_data_checksum_calc:
+	fetch 2,mem_queue
+	arg 6,loopcnt
+	arg mem_ucode_buf,contr
+	call cal_sum
+	fetchr loopcnt,2,mem_ucode_len
+	copy rega,contr
+	call cal_sum
+	store 2,mem_queue
+	rtn
+
+load_data_checksum_compare:
+	call load_data_checksum
+	branch load_storage_loop,zero
+	fetch 2,mem_rega	//receive crc
+	fetcht 2,mem_queue	//calc crc
+	isub temp,null
+	nrtn zero
+	enable match
+	rtn
+
+
+load_storage_efuse:
+	fetch 1,mem_tmp_buffer+EFUSE_OFFSET_OFFSET
+	arg mem_tmp_buffer,contr
+	iadd contr,contr	//code addr
+	jam 0x80,core_ucode_ctrl
+	jam 0,core_ucode_hi
+	jam 0,core_ucode_low
+	arg core_ucode_data,rega
+	ifetchr loopcnt,1,contr
+	sub loopcnt,0,null
+	ncall load_efuse_read_code,zero
+	jam 0x0,core_ucode_ctrl
+load_storage_efuse_loop:
+	ifetch 1,contr
+	rtn blank
+	copy pdata,loopcnt
+	ifetchr regb,2,contr
+	copy regb,contw
+	call memcpy_loop
+	branch load_storage_efuse_loop
+
+load_efuse_read_code_loop:
+	ifetch 1,contr
+	istore 1,rega
+	loop load_efuse_read_code_loop
+	rtn
+
+
+load_efuse_read_code:
+	call enable_user2
+	copy loopcnt,temp
+	nbranch load_efuse_read_code_loop,user
+load_efuse_read_code_loop_enc:
+	sub temp,0,null
+	rtn zero
+	call load_efuse_store_code
+	call do_aes_cbc
+	add temp,-16,temp
+	branch load_efuse_read_code_loop_enc,positive
+	rtn
+
+
+load_efuse_store_code:
+	force regidx_result,regext_index
+	copy temp,loopcnt
+load_efuse_store_code_loop:
+	ifetch 4,contr
+	ixor regext,pdata
+	copy pdata,regext
+	istore 1,rega
+	rshift8 pdata,pdata
+	istore 1,rega
+	rshift8 pdata,pdata
+	istore 1,rega
+	rshift8 pdata,pdata
+	istore 1,rega	
+	increase 1,regext_index
+	compare 0,regext_index,0x3
+	rtn true
+	add loopcnt,-4,loopcnt
+	rtn zero
+	branch load_efuse_store_code_loop,positive
+	rtn
+	
+
+	/* only load memory data from eeprom */
+//reload_eeprom:
+//	call clean_mem
+//	setarg 0x1000
+//	store 2,mem_addr_mi
+//	arg iicd_read_eep,regc
+//	arg 2,loopcnt
+//reload_eeprom_loop:
+//	call get_block_header
+//	nrtn zero
+//	fetch 2,mem_addr_mi
+//	byteswap pdata,pdata
+//	iadd temp,pdata
+//	byteswap pdata,pdata
+//	store 2,mem_addr_mi
+//	loop reload_eeprom_loop
+//	branch load_storage_loop
+
+run_efuse_code:
+	arg 0,pc
+	rtn
+
+
+loadcode:
+	call clean_mem
+	jam 0x25,core_clkoff			// disable debug uart
+
+	enable user
+	jam 0,mem_loadcode_times
+load_efuse:
+	call loadcode_timeout
+	nbranch loadcode_error,positive
+	setarg 0
+	arg mem_tmp_buffer,rega
+	arg 64,temp
+	call efuse_read_data
+	call loadcode_efuse_check
+	nbranch load_efuse,user
+	call app_read_efuse_app_vsel
+	
+	disable user
+	fetch 1,mem_tmp_buffer+EFUSE_OFFSET_UCODE
+	bbit0 UCODE_FLAG_ENC,loadcode_efuse
+	call regext_clear
+	jam lock_otp,core_misc_ctrl	// disable further read/write of key
+	set1 mark_otp_encrypt,mark	
+	force regidx_key,regext_index
+	call aes_clear
+	force regidx_key,regext_index
+	fetchr regext,4,mem_tmp_buffer+EFUSE_OFFSET_KEY_ADDR
+	setarg 0xf1ab8f //defualt iv
+	store 4,mem_ucode_keybuf
+	lshift2 pdata,pdata
+	istore 4,contw
+	lshift pdata,pdata
+	istore 4,contw
+	lshift2 pdata,pdata
+	istore 4,contw
+	call aes_disable	// disable aes for iv
+	call set_iv
+	enable user					// set user for aes
+loadcode_efuse:
+	fetch 4,mem_tmp_buffer
+	branch loadcode_iic,blank
+	store 3,mem_efuse_header
+	call disable_user2
+	call app_lpm_peripheral_lock_check
+	call load_storage_efuse
+	call run_efuse_code,user2
+loadcode_iic:
+	jam 0,mem_loadcode_times
+loadcode_iic_loop:
+	fetch 1,mem_tmp_buffer+EFUSE_OFFSET_UCODE
+	bbit1 UCODE_FLAG_SKIP_EEP,loadcode_spi
+	call loadcode_timeout
+	nbranch loadcode_iic_eeprom_2k,positive
+	call iicd_load_gpio_init
+	call clear_eeprom_size_2k
+	call loadcode_iic_by_eeprom
+	nbranch loadcode_iic_loop,match
+	fetch 1,mem_ucode_status
+	bbit0 0,loadcode_iic_loop			// crc error, try again
+	branch loadcode_hci
+
+loadcode_iic_eeprom_2k:
+	jam 0,mem_loadcode_times
+loadcode_iic_eeprom_2k_loop:
+	fetch 1,mem_tmp_buffer+EFUSE_OFFSET_UCODE
+	bbit1 UCODE_FLAG_SKIP_EEP,loadcode_spi
+	call loadcode_timeout
+	nbranch loadcode_spi,positive
+	call iicd_load_gpio_init
+	call set_eeprom_size_2k
+	call loadcode_iic_by_eeprom
+	nbranch loadcode_iic_eeprom_2k_loop,match
+	fetch 1,mem_ucode_status
+	bbit0 0,loadcode_iic_eeprom_2k_loop			// crc error, try again
+	branch loadcode_hci
+
+iicd_load_gpio_init:
+	fetch 1,mem_eeprom_sda_gpio
+	fetcht 1,mem_eeprom_scl_gpio
+	isub temp,null
+	nbranch iicd_read_init_pin,zero
+iicd_load_default_gpio:
+	setarg 0x000102
+	store 3,mem_eeprom_wp_gpio
+	branch iicd_read_init_pin
+	
+loadcode_spi:
+	jam 0,mem_loadcode_times
+loadcode_spi_loop:
+	fetch 1,mem_tmp_buffer+EFUSE_OFFSET_UCODE
+	bbit1 UCODE_FLAG_SKIP_FLASH, loadcode_hci
+	call loadcode_timeout
+	nbranch loadcode_hci,positive
+	call spid_init_flash
+	nop 200						// some flash will fail if no delay here
+	call spid_flash_release_form_powerdown
+	nop 100
+	arg spid_load_flash,regc
+	call read_first_block
+	call load_storage
+	nbranch loadcode_spi_loop,match
+	fetch 1,mem_ucode_status
+	bbit0 0,loadcode_spi_loop			// crc error, try again
+
+loadcode_hci:
+	fetch 1,mem_tmp_buffer+EFUSE_OFFSET_UCODE
+	bbit0 UCODE_FLAG_HCI,clear_key_buf
+	call clear_key_buf
+	branch hci_init
+	
+clear_key_buf:
+	setarg 0
+	store 4,mem_tmp_buffer+EFUSE_OFFSET_KEY_ADDR
+	store 8,mem_ucode_keybuf
+	istore 8,contw
+	force regidx_key,regext_index
+	call aes_clear
+	jam 0x21,core_clkoff		// enable debug uart
+	rtn
+
+
+//output: positive
+//1:continue load
+//0:load timeout
+loadcode_timeout:
+	call loadcode_error_delay
+	fetch 1,mem_loadcode_times
+	increase 1,pdata
+	sub pdata,3,null
+	store 1,mem_loadcode_times	
+	rtn
+
+loadcode_error_delay:
+	fetch 1,mem_loadcode_times
+	rtn blank
+	fetch 1,mem_tmp_buffer+EFUSE_OFFSET_LOADCODE_DELAY
+	and_into 0x40,pdata
+	rtn blank
+	branch delay_50ms
+
+
+//input pdata
+//output pdata
+loadcode_efuse_check_xor:
+	rshift4 pdata,temp
+	and pdata,0x0f,pdata
+	ixor temp,pdata
+	rtn
+
+loadcode_efuse_check:
+	fetch 4,mem_tmp_buffer
+	rtn blank
+ 	fetch 1,mem_tmp_buffer+EFUSE_OFFSET_UCODE
+	call loadcode_efuse_check_xor
+	bne 0x0f, disable_user
+	fetch 1,mem_tmp_buffer+EFUSE_OFFSET_DEVICE_LOCK
+	call loadcode_efuse_check_xor
+	bne 0x0f, disable_user
+
+loadcode_efuse_check_sum:
+	fetch 1,mem_tmp_buffer
+	ifetcht 1,contr
+	iadd temp,pdata
+	ifetcht 1,contr
+	iadd temp,pdata
+	ifetcht 1,contr
+	iadd temp,rega
+	arg mem_tmp_buffer,pdata
+	iadd temp,contr
+	copy rega,pdata
+	ifetchr loopcnt,1,contr
+	iadd loopcnt,pdata
+	call cal_sum
+	call loadcode_efuse_check_sum_loop
+	ifetcht 1,contr
+	and pdata,0xff,pdata
+	isub temp,null
+	nbranch disable_user,zero
+	rtn	
+	
+loadcode_efuse_check_sum_loop:	
+	ifetchr loopcnt,1,contr
+	sub loopcnt,0,null
+	rtn zero
+	iadd loopcnt,pdata
+	increase 2,loopcnt
+	call cal_sum
+	branch loadcode_efuse_check_sum_loop
+
+loadcode_iic_by_eeprom:
+	setarg 0x0
+	store 2,mem_addr_mi
+	arg iicd_read_eep,regc
+	call iic_init_600khz
+	call read_first_block
+	branch load_storage
+
+
+//loadcode_check_times:
+//	fetch 1,mem_loadcode_times
+//	increase 1,pdata
+//	sub pdata,3,null
+//	nbranch loadcode_error,positive
+//	store 1,mem_loadcode_times
+//	rtn
+
+loadcode_error:
+	call clear_key_buf
+	branch app_lpm_mpu_lock_br_ble
+
+
+/* true flag is set into status */
+set_ucode_status:
+	fetch 1,mem_ucode_status
+	lshift pdata,pdata
+	setflag true,0,pdata
+	isolate0 15,rega
+	rtn true
+	store 1,mem_ucode_status
+	rtn
+
+	/* queue is bit position of hw done status */
+decrypt_code:
+	fetch 1,core_aes_en
+	rtnbit0 1
+	branch decrypt_code_skip	/* skip to key generation at first for speed */
+decrypt_code_loop:
+	fetch 1,core_dma_status
+	qisolate1 pdata
+	rtn true
+decrypt_code_skip:
+	fetch 1,core_misc_status
+	bbit0 1,decrypt_code_loop
+	call do_aes_cbc
+	branch decrypt_code_loop
+
+	/* loopcnt is ucode instruction count, pdata is buffer ptr */
+//save_ucode:
+//	copy loopcnt,temp
+//	storet 2,mem_patch_len
+//	jam 0x80, core_ucode_ctrl
+//	jam 0,core_ucode_hi
+//	jam 0,core_ucode_low
+//	store 2,mem_patch_ptr
+//	iforce contw
+//	lshift2 loopcnt,loopcnt
+//save_ucode_loop:
+//	fetch 1,core_ucode_data
+//	istore 1,contw
+//	loop save_ucode_loop
+//	jam 0x0, core_ucode_ctrl
+//	rtn
+
+
+load_ucode:
+	fetch 2,mem_patch_ptr
+	rtn blank
+	jam 0x80, core_ucode_ctrl
+	jam 0,core_ucode_hi
+	jam 0,core_ucode_low
+	fetcht 2,mem_patch_len
+	lshift2 temp,loopcnt
+	iforce contr
+load_ucode_loop:
+	ifetch 1,contr
+	store 1,core_ucode_data
+	loop load_ucode_loop
+	jam 0x0, core_ucode_ctrl
+	rtn
+
+
+/* ===================== LOCK ======================= */
+
+app_read_efuse_app_vsel:
+	fetch 1,mem_tmp_buffer+EFUSE_OFFSET_APP_VSEL
+	and_into 0x0f,pdata
+	isolate1 3,pdata
+	setflag true,4,pdata
+	lshift pdata,pdata
+	store 1,mem_lpm_ctrl3
+	branch lpm_write_sel_vdd
+
+app_read_efuse_sys_config:
+	fetch 1,mem_tmp_buffer+EFUSE_OFFSET_DEVICE_OPTION
+	and_into 0x0f,pdata	//bit3-0
+	rtn blank
+	store 1,mem_device_option
+	fetch 1,mem_tmp_buffer+EFUSE_OFFSET_XTAL_OFFSET
+	store 1,mem_lpm_ctrim
+	fetch 1,mem_tmp_buffer+EFUSE_OFFSET_XTAL_CNT
+	store 1,mem_lpm_xtalcnt
+	rtn
+
+app_read_efuse_dig_aon_vsel:
+	fetch 1,mem_tmp_buffer+EFUSE_OFFSET_DIG_AON_VSEL
+	and_into 0x30,pdata	//bit5-4
+	rshift4 pdata,pdata
+	rtn blank
+	store 1,mem_dig_aon_vsel
+	rtn
+
+app_read_efuse_syn_afc_cfg1:
+	fetch 1,mem_tmp_buffer+EFUSE_OFFSET_TX_VCO_CURRENT
+	and_into 0x0f,pdata	//bit3-0
+	rtn blank
+	store 1,mem_syn_afc_cfg1
+	rtn
+
+app_read_efuse_rf_ldo_cfg1:
+	fetch 1,mem_tmp_buffer+EFUSE_OFFSET_LDO_CFG1
+	and_into 0x30,pdata	//bit5-4
+	rshift4 pdata,pdata
+	rtn blank
+	store 1,mem_rf_ldo_cfg1
+	rtn
+
+app_read_efuse_rc_cal:
+	fetch 1,mem_tmp_buffer+EFUSE_OFFSET_RC_CAL
+	rtn blank
+	store 1,mem_rc_cal
+	rtn
+
+app_read_efuse_agc:
+	fetch 1,mem_tmp_buffer+EFUSE_OFFSET_AGC_SEL
+	bbit1 7,app_disable_soft_agc	//bit7
+	jam 0x88,mem_gain_table
+	jam 0x66,mem_gain_table+1
+	jam 0x44,mem_gain_table+2
+	fetch 2,mem_tmp_buffer+EFUSE_OFFSET_AGC_TABLE
+	rtn blank
+	store 2,mem_gain_table+1
+	rtn
+
+app_disable_soft_agc:
+	jam 0xff,mem_gain_fix
+	fetch 1,mem_tmp_buffer+EFUSE_OFFSET_AGC_SEC_EN
+	and_into 0x40,pdata	//bit6
+	rshift3 pdata,pdata
+	store 1,mem_gain_second_agc_en	//0x00 or 0x08
+	rtn 
+
+
+app_lpm_efuse_lock_prep:
+	jam 0x73,0x8002
+	until null,lpo_edge
+	until null,lpo_edge
+	fetch 2,core_ucode_flag
+	set0 13,pdata
+	store 2,core_lpm_reg
+	branch lpm_write2_ctrl_option
+
+/* ===================== LOCK ======================= */
+
+app_lpm_peripheral_lock_check:
+	fetch 1,mem_tmp_buffer+EFUSE_OFFSET_DEVICE_LOCK
+	and pdata,0x0f,pdata
+	beq dvc_op_module,app_lpm_peripheral_lock_module
+	beq dvc_op_hci,app_lpm_peripheral_lock_hci
+	beq dvc_op_dongle,app_lpm_peripheral_lock_dongle
+ifdef COMPLIE_TEST_CODE
+	beq dvc_op_test,app_lpm_peripheral_lock_test
+endif	
+	beq dvc_op_mouse,app_lpm_peripheral_lock_mouse
+	beq dvc_op_shutter,app_lpm_peripheral_lock_shutter
+	beq dvc_op_ali_mesh,app_lpm_peripheral_lock_mesh
+	beq dvc_op_hci_boot,app_lpm_peripheral_lock_hciboot
+	beq dvc_op_remote_car,app_lpm_peripheral_lock_remote_car
+	beq dvc_op_car,app_lpm_peripheral_lock_car
+	beq dvc_op_antilost,app_lpm_peripheral_lock_antilost
+ifdef COMPILE_ESL
+	beq dvc_op_esl,app_lpm_peripheral_lock_esl
+endif	
+	rtn
+	
+app_lpm_peripheral_lock_module:
+app_lpm_peripheral_lock_hci:
+app_lpm_peripheral_lock_hciboot:
+	call app_lpm_efuse_lock_prep
+	call app_lpm_mpu_lock_mesh
+	branch lpm_write_lock
+	
+app_lpm_peripheral_lock_dongle:
+	call app_lpm_efuse_lock_prep
+	arg module_init,pdata //module
+	arg ui_soft_switch_power_off,temp  //shutter
+	call app_mpu_s0_lock
+	branch lpm_write_lock
+
+ifdef COMPLIE_TEST_CODE
+app_lpm_peripheral_lock_test:
+	call app_lpm_efuse_lock_prep
+	branch lpm_write_lock
+endif
+
+app_lpm_peripheral_lock_mouse:
+	call app_lpm_efuse_lock_prep
+	arg antilost_init,pdata //antilost
+	arg module_set_state,temp  //module
+	call app_mpu_s0_lock
+	branch lpm_write_lock
+	
+app_lpm_peripheral_lock_shutter:
+	call app_lpm_efuse_lock_prep
+	arg antilost_init,pdata  //antilost
+	arg remote_car_moto_data_enable_user,temp //car remote
+	call app_mpu_s0_lock
+	branch lpm_write_lock
+	
+app_lpm_peripheral_lock_mesh:
+	call app_lpm_efuse_lock_prep
+	call app_lpm_mpu_lock_app
+	branch lpm_write_lock
+	
+app_lpm_peripheral_lock_remote_car:
+	call app_lpm_efuse_lock_prep
+	arg antilost_init,pdata  //antilost
+	arg mouse_low_voltage_led_no_enter_lpm_blink,temp //mouse
+	call app_mpu_s0_lock
+	branch lpm_write_lock
+
+app_lpm_peripheral_lock_car:
+	call app_lpm_efuse_lock_prep
+	arg dongle_init,pdata  //dongle
+	arg ui_soft_switch_power_off,temp //shutter
+	call app_mpu_s0_lock
+	branch lpm_write_lock
+	
+app_lpm_peripheral_lock_antilost:
+	call app_lpm_efuse_lock_prep
+	arg car_init,pdata  //dongle
+	arg ui_soft_switch_power_off,temp //shutter
+	call app_mpu_s0_lock
+	branch lpm_write_lock
+
+app_lpm_mpu_lock_mesh:	
+	arg ali_mesh_access_layer_resolve_message,pdata
+	arg ali_mesh_upper_transport_layer_clear_tx_buffer,temp
+	branch app_mpu_s0_lock
+
+
+ifdef COMPILE_ESL
+app_lpm_peripheral_lock_esl:
+	call app_lpm_efuse_lock_prep
+	arg module_init,pdata //module
+	arg ui_soft_switch_power_off,temp  //shutter
+	call app_mpu_s0_lock
+	branch lpm_write_lock
+endif
+
+app_lpm_mpu_lock_module:
+	call app_lpm_efuse_lock_prep
+	arg module_init,pdata
+	arg module_set_state,temp
+app_mpu_s0_lock:
+	store 2,core_mpu_s0_saddr
+	storet 2,core_mpu_s0_eaddr
+	rtn
+	
+app_lpm_mpu_lock_app:	
+	arg antilost_init,pdata  //antilost
+	arg ui_soft_switch_power_off,temp //shutter
+	branch app_mpu_s0_lock
+
+app_lpm_mpu_lock_br:	
+	arg parse_lmp,pdata
+	arg remote_auth,temp
+	branch app_mpu_s1_lock
+
+app_lpm_mpu_lock_ble:	
+	arg le_parse_att,pdata
+	arg le_send_ll_one_lenth,temp
+app_mpu_s1_lock:
+	store 2,core_mpu_s1_saddr
+	storet 2,core_mpu_s1_eaddr
+	rtn
+	
+app_lpm_mpu_lock_24g:	
+	arg g24_prep,pdata
+	arg power_ctrl_pac_succ_cnt_reinit,temp
+	branch app_mpu_s1_lock
+	
+app_lpm_mpu_lock_br_ble:
+	call app_lpm_mpu_lock_br
+	arg le_parse_att,pdata
+	arg le_send_ll_one_lenth,temp
+	branch app_mpu_s0_lock
+
+app_lpm_mpu_mode_lock:
+	fetch 1,mem_tmp_buffer+EFUSE_OFFSET_PERIPHERALS_LOCK
+	and pdata,0xc0,pdata
+	beq 0xc0,app_lpm_mpu_lock_br_ble
+	bbit1 EFUSE_LE_LOCK_BIT,app_lpm_mpu_lock_ble
+	bbit1 EFUSE_BR_LOCK_BIT,app_lpm_mpu_lock_br
+	rtn
+
+
+lpm_write_lock:
+	call app_lpm_mpu_mode_lock
+	fetch 1,mem_tmp_buffer+EFUSE_OFFSET_PERIPHERALS_LOCK
+	and pdata,0x1f,rega
+	fetch 1,mem_tmp_buffer+EFUSE_OFFSET_UCODE
+	and pdata,0x0f,pdata
+	fetcht 1,mem_tmp_buffer+EFUSE_OFFSET_DEVICE_LOCK
+	and temp,0x0f,temp
+	lshift4 temp,temp
+	ior temp,pdata
+	lshift8 rega,rega
+	ior rega,pdata
+	set1 lpmreg_rom_lock_bit,pdata
+	set1 lpmreg_ice_mode_bit,pdata
+	store 4,core_lpm_reg
+	call lpm_write2_ctrl_option
+	jam 8,core_encrypt
+	rtn
+
+//lpm_rom_lock:
+//	fetch 2,core_ucode_flag
+//	set1 lpmreg_rom_lock_bit,pdata
+//	store 4,core_lpm_reg
+lpm_write2_ctrl_option:
+	setarg lpmreg_sel_option
+lpm_write2:
+	until null,lpo_edge
+	store 1,core_lpm_wr2
+	until null,lpo_edge
+	until null,lpo_edge
+	rtn
+
+//lpm_write_ice_disable:
+//	fetch 2,core_ucode_flag
+//	set0 lpmreg_ice_mode_bit,pdata
+//	store 4,core_lpm_reg
+//	branch lpm_write2_ctrl_option
+	
+
+/* ===================== SPI dma ======================= */
+
+spid_init:
+	bpatchx patch24_0,mem_patch24
+spid_init_common:
+	fetch 1,mem_spi_init_clk
+	store 1,core_spid_ctrl	// A7530 should at least 34, or write fail
+	fetch 1,mem_spi_init_delay_time
+	store 1,core_spid_delay	// 4us delay
+	setarg mem_spid_tbuf
+	store 2,core_spid_txaddr
+	setarg mem_spid_rbuf
+	store 2,core_spid_rxaddr
+	branch twspi_disable
+	
+
+twspi_write:
+/* pdata 6:0 is reg address, 15:8 is data to write */
+spid_write_reg:
+	set1 7,pdata
+	store 2,mem_spid_tbuf
+	bpatchx patch24_1,mem_patch24
+	jam 2,core_spid_txlen
+	jam 0,core_spid_rxlen
+	jam spid_start,core_misc_ctrl
+	branch wait_spid_done
+
+
+twspi_read:
+/* pdata 6:0 is reg address, temp is bytes to read */
+spid_read_reg:
+	force 1,temp
+spid_read_regs:	
+	store 1,mem_spid_tbuf
+	bpatchx patch24_2,mem_patch24
+	jam 1,core_spid_txlen
+	storet 2,core_spid_rxlen
+	jam spid_start,core_misc_ctrl
+	call wait_spid_done
+	fetch 1,mem_spid_rbuf
+	rtn
+
+
+wait_spid_done:
+	fetch 2,mem_afh_error_total
+	increase 1,pdata
+	store 2,mem_afh_error_total
+	fetch 1,core_dma_status
+	bbit0 spid_done,wait_spid_done
+	rtn
+
+	
+
+
+
+
+/**
+ ******************************************************************************
+ ** \brief  write flash
+ **
+ ** \param [in]  rega: 2byte write ptr    
+ **			pdata:3byte flash address  
+ ** 			temp:2byte write data length
+ **
+ ** \retval user  0: flash buys 1:write flash setting complate
+ **
+ ******************************************************************************/
+
+flash_write:
+	disable user
+	copy pdata,regb
+	fetch 1,mem_spi_write_flash_sm
+	rtnne FLASH_SM_NO_BUYS
+	enable user
+	copy regb,pdata
+	branch spid_flash_write_start
+
+
+flash_write_spi_sm_timer:
+	fetch 1,mem_spi_write_flash_sm 	
+	beq FLASH_SM_START,spid_flash_write_start
+	beq FLASH_SM_ERASE_SECTOR,spid_flash_erase_sector
+	beq FLASH_SM_WAIT_ERASE_SECTOR,spid_flash_wait_erase_sector
+	beq FLASH_SM_WRITE_DATA,spid_flash_write_data
+	beq FLASH_SM_WAIT_WRITE_DATA,spid_flash_wait_write_data
+	rtn
+
+spid_flash_write_start:
+	store 3,mem_spi_write_addr
+	copy rega,pdata
+	store 2,mem_spi_write_ptr
+	storet 2,mem_spi_write_len
+	jam FLASH_SM_ERASE_SECTOR,mem_spi_write_flash_sm
+	branch spid_init_flash
+spid_flash_erase_sector:
+	call spid_init_flash
+	jam FLASH_SM_WAIT_ERASE_SECTOR,mem_spi_write_flash_sm
+	call spid_unlock_flash
+	arg mem_spid_tbuf,rega
+	jam 4,core_spid_txlen
+	fetch 3,mem_spi_write_addr
+	arg FLASH_COMMAND_SECTOR_ERASE,temp
+	branch spid_write_flash_common
+	
+spid_flash_wait_erase_sector:
+	call spid_init_flash
+	call wait_spid_flash_done
+	jam FLASH_SM_WRITE_DATA,mem_spi_write_flash_sm
+	rtn
+
+
+spid_flash_write_data:
+	call spid_init_flash
+	jam FLASH_SM_WAIT_WRITE_DATA,mem_spi_write_flash_sm
+	call spid_unlock_flash
+	call spid_flash_data_preserve
+	call spid_write_flash
+	branch spid_flash_data_recover
+spid_flash_wait_write_data:
+	call spid_init_flash
+	call spid_unlock_flash
+	setarg FLASH_READ_SATUS
+	call spid_read_reg
+	rtnbit1 FLASH_STATUS_WIP
+	jam FLASH_SM_NO_BUYS,mem_spi_write_flash_sm
+	fetch 2,mem_cb_spi_flash_write_complate
+	branch callback_func
+spid_flash_data_recover:
+	fetch 4,mem_temp
+	fetcht 2,mem_spi_write_ptr
+spid_flash_data_recover_comm:
+	increase -4,temp
+	istore 4,temp
+	rtn
+spid_flash_data_preserve:
+	fetcht 2,mem_spi_write_ptr
+	copy temp,rega
+	increase -4,temp
+	ifetch 4,temp
+	store 4,mem_temp
+	fetcht 2,mem_spi_write_len
+	fetch 3,mem_spi_write_addr
+	rtn
+
+spid_init_flash:
+	call spi_gpio_init
+	call twspi_disable
+	setarg 0
+	store 4,mem_spid_tbuf
+	rtn
+
+spid_unlock_flash:
+	jam FLASH_COMMAND_WRITE_ENABLE,mem_spid_tbuf
+spid_sendcmd_common:	
+	setarg 0
+	store 2,core_spid_rxlen
+	setarg 1
+	store 2,core_spid_txlen
+	setarg mem_spid_tbuf
+	store 2,core_spid_txaddr
+	jam spid_start,core_misc_ctrl
+	branch wait_spid_done
+	
+spid_flash_release_form_powerdown:
+	jam FLASH_COMMAND_RELEASE_FROM_POWERDOWN,mem_spid_tbuf
+	branch spid_sendcmd_common
+	
+spid_flash_powerdown:
+	jam FLASH_COMMAND_POWERDOWN,mem_spid_tbuf
+	branch spid_sendcmd_common
+	
+/* pdata is flash address, rega pointers to txdata(4 ahead bytes should be left), temp is length */
+spid_write_flash:
+	increase 4,temp
+	storet 2,core_spid_txlen
+	arg FLASH_COMMAND_WRITE_DATA,temp
+	increase -4,rega
+
+spid_write_flash_common:
+	istoret 1,rega
+	rshift16 pdata,temp
+	istoret 1,contw
+	rshift8 pdata,temp
+	istoret 1,contw
+	istore 1,contw
+	deposit rega
+	store 2,core_spid_txaddr
+	setarg 0
+	store 2,core_spid_rxlen
+	jam spid_start,core_misc_ctrl
+	call wait_spid_done
+	branch wait_spid_flash_done
+
+
+/* temp is length, rega pointers to buf   */
+spid_read_flash:
+	storet 2,core_spid_rxlen
+	rshift16 pdata,temp
+	storet 1,mem_addr_hi
+	rshift8 pdata,temp
+	storet 1,mem_addr_mi
+	store 1,mem_addr_lo
+	setarg 4
+	store 2,core_spid_txlen
+	jam FLASH_COMMAND_READ_DATA,mem_spid_tbuf
+	setarg mem_spid_tbuf
+	store 2,core_spid_txaddr
+	deposit rega
+	store 2,core_spid_rxaddr
+	fetch 1,core_spid_ctrl
+	isolate0 15,rega
+	setflag true,6,pdata
+	store 1,core_spid_ctrl
+	jam spid_start,core_misc_ctrl
+spid_read_flash_wait:
+	fetch 1,core_dma_status
+	bbit1 7,spid_read_flash_wait			// waiting for spid write
+	arg spid_done,queue
+	branch wait_spid_done
+
+wait_spid_flash_done:
+	setarg 2000
+	call sleep
+	call spid_unlock_flash
+	setarg mem_spid_rbuf
+	store 2,core_spid_rxaddr
+	setarg FLASH_READ_SATUS
+	call spid_read_reg
+	bbit1 FLASH_STATUS_WIP,wait_spid_flash_done
+	rtn
+
+
+/* temp is length, rega pointers to buf  */
+spid_load_flash:
+	storet 2,core_spid_rxlen
+	setarg 4
+	store 2,core_spid_txlen
+	jam 3,mem_spid_tbuf
+	setarg mem_spid_tbuf
+	store 2,core_spid_txaddr
+	deposit rega
+	store 2,core_spid_rxaddr
+	fetch 1,core_spid_ctrl
+	isolate0 15,rega
+	setflag true,6,pdata
+	store 1,core_spid_ctrl
+	jam spid_start,core_misc_ctrl
+spi_load_flash_wait:
+	fetch 1,core_dma_status
+	bbit1 7,spi_load_flash_wait			// waiting for spid write
+	arg spid_done,queue
+	call decrypt_code
+	call wait_spid_done
+	isolate1 spid_crcok,pdata
+	call set_ucode_status
+	fetch 1,mem_addr_hi
+	lshift16 pdata,regb
+	fetch 1,mem_addr_mi
+	lshift8 pdata,pdata
+	ior regb,regb
+	fetch 1,mem_addr_lo
+	ior regb,pdata
+	iadd temp,pdata
+	store 1,mem_addr_lo
+	rshift8 pdata,pdata
+	store 1,mem_addr_mi
+	rshift8 pdata,pdata
+	store 1,mem_addr_hi
+	rtn
+	
+spi_gpio_init:
+	fetch 1,mem_spi_cs_gpio
+	fetcht 1,mem_spi_so_gpio
+	isub temp,null
+	nbranch spi_pin_set,zero
+	call spi_gpio_default_init
+	
+spi_pin_set:
+	fetch 1,mem_spi_cs_gpio
+	arg gpcfg_spid_ncs,temp
+	call gpio_config_function_int
+	fetch 1,mem_spi_sclk_gpio
+	arg gpcfg_spid_sck,temp
+	call gpio_config_function_int
+	fetch 1,mem_spi_si_gpio
+	arg gpcfg_spid_mosi,temp
+	call gpio_config_function_int
+	fetch 1,mem_spi_so_gpio
+	arg gpcfg_spid_miso,temp
+	branch gpio_config_function_int
+
+spi_gpio_default_init:
+	setarg 0x100d0e
+	store 3,mem_spi_cs_gpio
+	setarg 0x12110f
+	istore 3,contw
+	rtn
+
+
+/* ===================== SPI2 dma ======================= */
+ifdef SPI2
+spid2_init:
+
+spid2_init_common:
+	fetch 1,mem_spi_init_clk
+	store 1,core_spid2_ctrl	// A7530 should at least 34, or write fail
+	fetch 1,mem_spi_init_delay_time
+	store 1,core_spid2_delay	// 4us delay
+	setarg mem_spid2_tbuf
+	store 2,core_spid2_txaddr
+	setarg mem_spid2_rbuf
+	store 2,core_spid2_rxaddr
+	branch twspi2_disable
+	
+/* pdata 6:0 is reg address, 15:8 is data to write */
+spid2_write_reg:
+	set1 7,pdata
+	store 2,mem_spid2_tbuf
+	jam 2,core_spid2_txlen
+	jam 0,core_spid2_rxlen
+	jam spid2_start,core_misc_ctrl
+	branch wait_spid2_done
+	
+/* pdata 6:0 is reg address, temp is bytes to read */
+spid2_read_reg:
+	force 1,temp
+spid2_read_regs:
+	store 1,mem_spid2_tbuf
+	jam 1,core_spid2_txlen
+	storet 2,core_spid2_rxlen
+	jam spid2_start,core_misc_ctrl
+	call wait_spid2_done
+	fetch 1,mem_spid2_rbuf
+	rtn
+	
+wait_spid2_done:
+	fetch 2,mem_afh_error_total
+	increase 1,pdata
+	store 2,mem_afh_error_total
+	fetch 1,core_perf_status
+	bbit0 spid_done,wait_spid2_done
+	rtn
+	
+spid2_init_flash:
+	call spi2_gpio_init
+	setarg 0
+	store 4,mem_spid2_tbuf
+	rtn
+	
+spid2_unlock_flash:
+	setarg 0
+	store 2,core_spid2_rxlen
+	setarg 1
+	store 2,core_spid2_txlen
+	setarg mem_spid2_tbuf
+	store 2,core_spid2_txaddr
+	jam FLASH_COMMAND_WRITE_ENABLE,mem_spid2_tbuf
+	jam spid2_start,core_misc_ctrl
+	branch wait_spid2_done
+	
+flash_write_spi2_sm_timer:
+	fetch 1,mem_spi2_write_flash_sm 	
+	beq FLASH_SM_START,spid2_flash_write_start
+	beq FLASH_SM_ERASE_SECTOR,spid2_flash_erase_sector
+	beq FLASH_SM_WAIT_ERASE_SECTOR,spid2_flash_wait_erase_sector
+	beq FLASH_SM_WRITE_DATA,spid2_flash_write_data
+	beq FLASH_SM_WAIT_WRITE_DATA,spid2_flash_wait_write_data
+	rtn
+	
+spid2_flash_write_start:
+	store 3,mem_spi2_write_addr
+	copy rega,pdata
+	store 2,mem_spi2_write_ptr
+	storet 2,mem_spi2_write_len
+	jam FLASH_SM_ERASE_SECTOR,mem_spi2_write_flash_sm
+	branch spid2_init_flash
+	
+spid2_flash_erase_sector:
+	call spid2_init_flash
+	jam FLASH_SM_WAIT_ERASE_SECTOR,mem_spi2_write_flash_sm
+	call spid2_unlock_flash
+	arg mem_spid2_tbuf,rega
+	jam 4,core_spid2_txlen
+	fetch 3,mem_spi2_write_addr
+	arg FLASH_COMMAND_SECTOR_ERASE,temp
+	branch spid2_write_flash_common
+	
+spid2_flash_wait_erase_sector:
+	call spid2_init_flash
+	call wait_spid2_flash_done
+	jam FLASH_SM_WRITE_DATA,mem_spi2_write_flash_sm
+	rtn
+	
+spid2_flash_write_data:
+	call spid2_init_flash
+	jam FLASH_SM_WAIT_WRITE_DATA,mem_spi2_write_flash_sm
+	call spid2_unlock_flash
+	call spid2_flash_data_preserve
+	call spid2_write_flash
+	branch spid2_flash_data_recover
+	
+spid2_flash_wait_write_data:
+	call spid2_init_flash
+	call spid2_unlock_flash
+	setarg FLASH_READ_SATUS
+	call spid2_read_reg
+	rtnbit1 FLASH_STATUS_WIP
+	jam FLASH_SM_NO_BUYS,mem_spi2_write_flash_sm
+	fetch 2,mem_cb_spi2_flash_write_complate
+	branch callback_func
+	
+spid2_flash_data_recover:
+	fetch 4,mem_temp
+	fetcht 2,mem_spi2_write_ptr
+	branch spid_flash_data_recover_comm
+	
+spid2_flash_data_preserve:
+	fetcht 2,mem_spi2_write_ptr
+	copy temp,rega
+	increase -4,temp
+	ifetch 4,temp
+	store 4,mem_temp
+	fetcht 2,mem_spi2_write_len
+	fetch 3,mem_spi2_write_addr
+	rtn
+	
+spid2_write_flash:
+	increase 4,temp
+	storet 2,core_spid2_txlen
+	arg FLASH_COMMAND_WRITE_DATA,temp
+	increase -4,rega
+spid2_write_flash_common:
+	istoret 1,rega
+	rshift16 pdata,temp
+	istoret 1,contw
+	rshift8 pdata,temp
+	istoret 1,contw
+	istore 1,contw
+	deposit rega
+	store 2,core_spid2_txaddr
+	setarg 0
+	store 2,core_spid2_rxlen
+	jam spid2_start,core_misc_ctrl
+	call wait_spid2_done
+	branch wait_spid2_flash_done
+	
+spid2_read_flash:
+	storet 2,core_spid2_rxlen
+	rshift16 pdata,temp
+	storet 1,mem_addr_hi2
+	rshift8 pdata,temp
+	storet 1,mem_addr_mi2
+	store 1,mem_addr_lo2
+	setarg 4
+	store 2,core_spid2_txlen
+	jam FLASH_COMMAND_READ_DATA,mem_spid2_tbuf
+	setarg mem_spid2_tbuf
+	store 2,core_spid2_txaddr
+	deposit rega
+	store 2,core_spid2_rxaddr
+	fetch 1,core_spid2_ctrl
+	isolate0 15,rega
+	setflag true,6,pdata
+	store 1,core_spid2_ctrl
+	jam spid2_start,core_misc_ctrl
+spid2_read_flash_wait:
+	fetch 1,core_perf_status
+	bbit1 7,spid2_read_flash_wait			// waiting for spid write
+	arg spid_done,queue
+	branch wait_spid2_done
+	
+wait_spid2_flash_done:
+	setarg 2000
+	call sleep
+	call spid2_unlock_flash
+	setarg mem_spid2_rbuf
+	store 2,core_spid2_rxaddr
+	setarg FLASH_READ_SATUS
+	call spid2_read_reg
+	bbit1 FLASH_STATUS_WIP,wait_spid2_flash_done
+	rtn
+	
+spi2_gpio_init:
+	fetch 1,mem_spi2_cs_gpio
+	arg gpcfg_spid2_ncs,temp
+	call gpio_config_function_int
+	fetch 1,mem_spi2_sclk_gpio
+	arg gpcfg_spid2_sck,temp
+	call gpio_config_function_int
+	fetch 1,mem_spi2_si_gpio
+	arg gpcfg_spid2_mosi,temp
+	call gpio_config_function_int
+	fetch 1,mem_spi2_so_gpio
+	arg gpcfg_spid2_miso,temp
+	branch gpio_config_function_int
+	
+endif
+
+/*****************************************************************************
+*soft reset chip
+*****************************************************************************/
+soft_reset_chip:
+	jam 1,core_reset
+	rtn
+
+
+
+/* ===================== I2C dma ======================= */
+
+/* scl high time: scl_high + 2 clks, scl low time:scl_low + 6 clks
+data setup time: data_setup + 2 clks, data hold time: scl_low-setup-hold+4 clks */
+iic_init_600khz:
+	jam 5,core_iicd_scl_low
+ 	jam 7,core_iicd_scl_high
+	jam 7,core_iicd_start_setup
+	jam 7,core_iicd_start_hold
+	jam 7,core_iicd_stop_setup
+	jam 5,core_iicd_data_setup
+	jam 0,core_iicd_data_hold
+	rtn
+	
+iic_init_360khz:	//360khz
+	jam 12,core_iicd_scl_low
+	jam 13,core_iicd_scl_high
+	jam 13,core_iicd_start_setup
+	jam 13,core_iicd_start_hold
+	jam 13,core_iicd_stop_setup
+	jam 12,core_iicd_data_setup
+	jam 0,core_iicd_data_hold	
+  	rtn
+
+iicd_init_pin:
+	call iicd_eeprom_write_enable
+iicd_init_pin_scl_sda:
+	fetch 1,mem_eeprom_scl_gpio
+	arg gpcfg_iic_scl|gpcfg_pullup,temp
+	call gpio_config_function_int
+	fetch 1,mem_eeprom_sda_gpio
+	arg gpcfg_iic_sda|gpcfg_pullup,temp
+	branch gpio_config_function_int
+
+iicd_read_init_pin:
+	call iicd_eeprom_write_disable
+	branch iicd_init_pin_scl_sda
+
+wait_iicd_done:
+	fetch 1,core_dma_status
+	bbit0 iicd_done,wait_iicd_done
+	rtn
+
+	/* pdata is iic addr, rega points to buf, temp is length */
+iicd_read_data:
+	store 1,mem_iicd_addr
+	setarg mem_iicd_addr
+	store 2,core_iicd_txaddr
+	setarg 1
+	store 2,core_iicd_txlen
+	storet 2,core_iicd_rxlen
+	storer rega,2,core_iicd_rxaddr
+	jam 1,core_iicd_ctrl
+	jam iicd_start,core_misc_ctrl
+	branch wait_iicd_done
+
+	/* rega points to buf, temp is length */
+iic_write_data:
+	setarg 0
+	store 2,core_iicd_rxlen
+	store 2,core_iicd_rxaddr
+	storet 2,core_iicd_txlen
+	storer rega,2,core_iicd_txaddr
+	jam 1,core_iicd_ctrl
+	jam iicd_start,core_misc_ctrl
+	branch wait_iicd_done
+
+set_eeprom_size_2k:
+	set1 mark_eeprom_size,mark
+	jam 0x08,mem_eeprom_block_size
+	rtn
+
+clear_eeprom_size_2k:
+	set0 mark_eeprom_size,mark
+	jam 0x20,mem_eeprom_block_size
+	rtn
+
+
+iicd_read_eep_data_size_2k:
+ 	fetch 1,mem_eeprom_base
+	iadd regb,pdata
+	store 1,mem_addr_mi
+	branch iicd_read_eep_size_2k
+
+iicd_read_eep_size_2k_lcadcode:
+	fetch 2,mem_addr_mi
+	byteswap pdata,pdata
+	store 1,mem_addr_mi
+	
+//length:temp 
+//mem ptr:rega
+//eeprom addr:pdata
+iicd_read_eep_size_2k:
+ 	setarg 3
+	store 2,core_iicd_txlen
+	jam 0xa0,mem_iicd_tbuf
+	jam 0xa1,mem_iicd_tbuf+2
+	branch iicd_read_eep_common
+
+
+//length:temp 
+//mem ptr:rega
+//eeprom addr:regb
+iicd_write_protect_eep_data:
+	storet 2,mem_temp
+	call iicd_eeprom_write_enable
+	fetcht 2,mem_temp
+	call iicd_write_eep_data
+	branch iicd_eeprom_write_disable
+	
+iicd_eeprom_write_enable:
+	fetch 1,mem_eeprom_wp_gpio
+	rtneq GPIO_DISABLE
+	bbit0 6,iicd_wp_gpio_output_low
+	setarg 150000
+	call sleep
+iicd_wp_gpio_output_low:
+	fetcht 1,mem_eeprom_wp_gpio
+	branch gpio_out_active
+	
+iicd_eeprom_write_disable:
+	fetcht 1,mem_eeprom_wp_gpio
+	branch gpio_out_inactive
+	
+//length:temp 
+//mem ptr:rega
+//eeprom addr offset:regb
+iicd_read_eep_data:
+	bpatchx patch24_3,mem_patch24
+	bmark1 mark_eeprom_size,iicd_read_eep_data_size_2k
+	fetch 2,mem_eeprom_base
+	iadd regb,pdata
+	byteswap pdata,pdata
+	store 2,mem_addr_mi
+
+/* rega pointers to buf, temp is length  */
+iicd_read_eep:
+	bpatchx patch24_4,mem_patch24
+	bmark1 mark_eeprom_size,iicd_read_eep_size_2k_lcadcode
+	setarg 4
+	store 2,core_iicd_txlen
+	jam 0xa0,mem_iicd_tbuf
+	jam 0xa1,mem_iicd_tbuf+3
+iicd_read_eep_common:	
+	setarg mem_iicd_tbuf
+	store 2,core_iicd_txaddr
+	storet 2,core_iicd_rxlen
+	storer rega,2,core_iicd_rxaddr
+	setarg 2
+	isolate0 15,rega
+	setflag true,0,pdata
+	store 1,core_iicd_ctrl
+	jam iicd_start,core_misc_ctrl
+	arg iicd_done,queue
+	call decrypt_code
+	call wait_iicd_done
+	isolate1 iicd_crcok,pdata
+	call set_ucode_status
+	bmark1 mark_eeprom_size,iicd_read_eep_load_code_size_2k
+	fetch 2,mem_addr_mi
+	byteswap pdata,pdata
+	iadd temp,pdata
+	byteswap pdata,pdata
+	store 2,mem_addr_mi
+	rtn
+
+iicd_read_eep_load_code_size_2k:
+	fetch 1,mem_addr_mi
+	iadd temp,pdata
+	byteswap pdata,pdata
+	store 2,mem_addr_mi
+	rtn
+	
+
+//length:temp 
+//mem ptr:rega
+//eeprom addr offset:regb
+iicd_write_eep_data:
+	fetch 2,mem_eeprom_base
+	iadd regb,pdata
+
+//cuur ptr:pdata length:temp buf:rega
+iicd_write_ota_data:
+	store 2,mem_pdatatemp //curr ptr
+	bpatchx patch24_5,mem_patch24
+	storet 2,mem_temp	//len
+	storer rega,2,mem_contr
+iicd_write_eep_loop:
+	call iicd_eep_transparency
+
+	fetcht 2,mem_regb
+	fetchr rega,2,mem_contr
+	fetch 2,mem_pdatatemp
+	
+	call iicd_write_eep
+	
+	fetch 2,mem_regb
+	fetcht 2,mem_contr
+	iadd temp,temp
+	storet 2,mem_contr
+	fetcht 2,mem_pdatatemp
+	iadd temp,temp
+	storet 2,mem_pdatatemp
+	fetch 2,mem_temp
+	nbranch iicd_write_eep_loop,blank
+	rtn
+	
+//in:
+//1.size 2.len 3.src 4.des
+//mem_regc page's area
+//mem_pdatatemp curr ptr
+//mem_temp all len      
+//mem_regb curr len
+iicd_eep_transparency:
+	bpatchx patch24_6,mem_patch24
+	fetch 1,mem_eeprom_block_size
+	increase -1,pdata
+	fetcht 2,mem_pdatatemp
+	ior temp,pdata
+	increase 1,pdata
+	store 3,mem_regc
+
+	fetch 2,mem_temp
+	iadd temp,pdata
+
+	fetcht 3,mem_regc
+	isub temp,pdata
+	nbranch iicd_eep_deal_short_packet,positive
+	store 2,mem_temp
+	fetch 3,mem_regc
+	fetcht 2,mem_pdatatemp
+	isub temp,pdata
+	store 2,mem_regb
+	rtn
+iicd_eep_deal_short_packet:
+	fetch 2,mem_temp
+	store 2,mem_regb
+	setarg 0
+	store 2,mem_temp
+	rtn
+
+iicd_write_eep_size_2k:
+	copy regb,pdata
+	increase 2,temp
+	storet 2,core_iicd_txlen
+	increase -2,rega
+	ifetcht 3,rega
+	copy temp,regb
+	arg 0xa0,temp
+	istoret 1,rega
+	istore 1,contw
+	branch iicd_write_eep_common
+
+	/* pdata is eeprom address, rega pointers to txdata(3 ahead bytes should be left), temp is length */
+iicd_write_eep:
+	copy pdata,regb
+	bpatchx patch24_7,mem_patch24
+	bmark1 mark_eeprom_size,iicd_write_eep_size_2k
+	copy regb,pdata
+	increase 3,temp
+	storet 2,core_iicd_txlen
+	increase -3,rega
+	ifetcht 3,rega
+	copy temp,regb
+	arg 0xa0,temp
+	istoret 1,rega
+	byteswap pdata,pdata
+	istore 2,contw
+iicd_write_eep_common:	
+	storer rega,2,core_iicd_txaddr
+	setarg 0
+	store 2,core_iicd_rxlen
+	jam 1,core_iicd_ctrl
+	jam iicd_start,core_misc_ctrl
+	call wait_iicd_done
+	istorer regb,3,rega
+iic_check_eeprom_standby:
+	bpatchx patch25_0,mem_patch25
+	jam 0,mem_iicd_tbuf+3
+iic_check_eeprom_standby_wait:
+	setarg 1
+	store 2,core_iicd_txlen
+	jam 0xa0,mem_iicd_tbuf
+	setarg mem_iicd_tbuf
+	store 2,core_iicd_txaddr
+	setarg 0
+	store 2,core_iicd_rxlen
+	store 2,core_iicd_rxaddr
+	setarg 3
+	store 1,core_iicd_ctrl
+	jam iicd_start,core_misc_ctrl
+	call wait_iicd_done
+	fetch 1,core_dma_status
+	rtnbit0 iicd_ack
+	nop 1500
+	fetch 1,mem_iicd_tbuf+3
+	increase 1,pdata
+	store 1,mem_iicd_tbuf+3
+	sub pdata,40,null
+	nrtn positive//polling timeout 6ms
+	branch iic_check_eeprom_standby_wait
+
+/* ===================== efuse ======================= */
+//pdata: efuse address, rega :points to data, temp : count 
+efuse_read_data:
+	copy temp,loopcnt
+	copy pdata,temp
+	bpatchx patch25_1,mem_patch25
+	lshift3 temp,temp
+	call efuse_vdd_on
+	jam 0x80,core_efuse_ctrl
+efuse_read_loop:
+	jam 0x86,core_efuse_ctrl
+	storet 2,core_efuse_addr
+	increase 8,temp
+	jam 0x87,core_efuse_ctrl
+	fetch 1,core_efuse_rdata
+	istore 1,rega
+	increase 1,rega
+	loop efuse_read_loop
+	jam 0x86,core_efuse_ctrl
+	jam 0x80,core_efuse_ctrl
+	jam 0x0,core_efuse_ctrl
+	branch efuse_vdd_off
+
+//temp = efuse address, rega pointers data, loopcnt is count 
+efuse_program:
+	call efuse_vdd_fsource_on
+	jam 0x80,core_efuse_ctrl
+	lshift3 temp,temp
+	copy rega,contr
+efuse_program_loop:
+	ifetch 1,contr
+	arg 8,regb
+efuse_program_bit_loop:
+	and pdata,1,null
+	ncall efuse_program_bit,zero
+	rshift pdata,pdata
+	increase 1,temp
+	increase -1,regb
+	nbranch efuse_program_bit_loop,zero
+	loop efuse_program_loop
+	jam 0x80,core_efuse_ctrl
+	jam 0x0,core_efuse_ctrl
+	branch efuse_vdd_off
+    
+
+efuse_pa_vdd_set:
+	fetch 2,core_rf_ldo_cfg8
+	store 2,mem_pdatatemp
+	jam 0x6a,core_rf_ldo_cfg8
+	jam 0x0b,core_rf_ldo_cfg9
+	rtn
+
+efuse_pa_vdd_recover:
+	fetch 2,mem_pdatatemp
+	store 2,core_rf_ldo_cfg8
+	rtn
+
+efuse_lna_pa_ldo_on:
+	call efuse_pa_vdd_set
+	fetch 1,core_rf_ldo_en0
+	set1 1,pdata
+	store 1,core_rf_ldo_en0
+	nop 200
+	fetch 1,core_rf_ldo_en1
+	set1 0,pdata
+	store 1,core_rf_ldo_en1
+	nop 2000
+	rtn
+
+efuse_vdd_fsource_on:
+	call efuse_lna_pa_ldo_on
+	fetch 1,core_rf_ldo_en1
+	set0 5,pdata
+	set1 4,pdata
+	set1 3,pdata
+	store 1,core_rf_ldo_en1
+	nop 500
+	rtn
+	
+efuse_vdd_on:
+	call efuse_lna_pa_ldo_on
+	fetch 1,core_rf_ldo_en1
+	set1 5,pdata
+	set1 4,pdata
+	set0 3,pdata
+	store 1,core_rf_ldo_en1
+	nop 500
+	rtn
+	
+efuse_vdd_off:
+	bpatchx patch25_2,mem_patch25
+	fetch 1,core_rf_ldo_en1
+	set0 5,pdata
+	set0 4,pdata
+	set0 3,pdata
+	set0 0,pdata	
+	store 1,core_rf_ldo_en1
+	nop 200
+	fetch 1,core_rf_ldo_en0
+	set0 1,pdata
+	store 1,core_rf_ldo_en0
+	branch efuse_pa_vdd_recover
+
+efuse_program_bit:
+	jam 0x80,core_efuse_ctrl
+	nop 10
+	storet 2,core_efuse_addr
+	jam 0x81,core_efuse_ctrl
+	nop 110
+	rtn
+
+/* ===================== uart dma ======================= */
+uarta_init_dma_mem:
+	call enable_user
+	branch uart_init_dma_mem
+uartb_init_dma_mem:
+	call disable_user
+	branch uart_init_dma_mem
+/*
+function name:uart_init_dma_mem
+input:
+	pdata is dma memory config
+	bit[0-15]:rx start memory address
+	bit[16-31]:rx ending memory address
+	bit[32-47]:tx start memory address
+	bit[48-63]:tx ending memory address
+	user is choice uart road
+	enable is mean check uart A
+	disable user is mean check uart B
+*/
+uart_init_dma_mem:
+	rshift16 pdata,temp
+	call uarta_init_rx,user
+	ncall uartb_init_rx,user
+	rshift32 pdata,pdata
+	rshift16 pdata,temp
+	call uarta_init_tx,user
+	ncall uartb_init_tx,user
+	nbranch uartb_init_dma_turn_on_clk,user
+	fetch 2,core_clkoff
+	set0 CLOCK_OFF_UART,pdata
+	store 2,core_clkoff
+	rtn
+uartb_init_dma_turn_on_clk:
+	fetch 2,core_clkoff
+	set0 CLOCK_OFF_UARTB,pdata
+	store 2,core_clkoff
+	rtn
+
+
+/*
+function name:uarta_init_baud_rate
+input:
+	pdata is uart A baud rate
+*/
+uarta_init_baud_rate:
+	store uart_baud_len,core_uart_baud
+	rtn
+
+
+/*
+function name:uartb_init_baud_rate
+input:
+	uartb_init_baud_rate is uart B baud rate
+*/
+uartb_init_baud_rate:
+	store uart_baud_len,core_uartb_baud
+	rtn
+
+/*
+function name:uarta_calc_baud_rate_config
+input:
+	temp is uart A baud rate,Decimal data
+	E.g:115200 input arg 115200,temp
+*/
+uarta_calc_baud_rate_config:
+	call uart_calc_baud_rate_config
+	branch uarta_init_baud_rate
+
+/*
+function name:uartb_calc_baud_rate_config
+input:
+	temp is uart B baud rate,Decimal data
+	E.g:115200 input arg 115200,temp
+*/
+uartb_calc_baud_rate_config:
+	call uart_calc_baud_rate_config
+	branch uartb_init_baud_rate
+
+/*
+function name:uart_calc_baud_rate_config
+input:
+	temp is uart baud rate,Decimal data
+	E.g:115200 input arg 115200,temp
+output:
+	pdata is CPU config uart baud rate
+*/
+uart_calc_baud_rate_config:
+	call uart_calc_baud_rate_config_choice_uart_clock
+	idiv temp
+	call wait_div_end
+	quotient pdata
+	rtn
+
+uart_calc_baud_rate_config_choice_uart_clock:
+	fetch 1,core_uart_clksel
+	bbit0 UART_CLOCK_SELECT_BIT,uart_calc_baud_rate_config_choice_uart_clock_crystal
+	setarg uart_clock_freq_48M
+	rtn
+uart_calc_baud_rate_config_choice_uart_clock_crystal:
+	setarg uart_clock_freq_24M
+	rtn
+
+uart_clock_select_main_freq_crystal:
+	fetch 1,core_uart_clksel
+	and pdata,UART_CLOCK_SELECT_CRYSTAL,pdata
+	store 1,core_uart_clksel
+	rtn
+
+uart_clock_select_main_freq_dpll:
+	fetch 1,core_uart_clksel
+	or pdata,UART_CLOCK_SELECT_DPLL,pdata
+	store 1,core_uart_clksel
+	rtn
+
+
+	// pdata: tx buffer start, temp: tx buffer end
+uarta_init_tx:
+	store 2,core_uart_tsaddr
+	store 2,core_uart_twptr
+	storet 2,core_uart_teaddr
+	rtn
+
+	// pdata: tx buffer start, temp: tx buffer end
+uartb_init_tx:
+	store 2,core_uartb_tsaddr
+	store 2,core_uartb_twptr
+	storet 2,core_uartb_teaddr
+	rtn
+
+	// pdata: rx buffer start, temp: rx buffer end
+uarta_init_rx:
+	store 2,core_uart_rsaddr
+	store 2,core_uart_rrptr
+	storet 2,core_uart_readdr
+	rtn
+
+	// pdata: rx buffer start, temp: rx buffer end
+uartb_init_rx:
+	store 2,core_uartb_rsaddr
+	store 2,core_uartb_rrptr
+	storet 2,core_uartb_readdr
+	rtn
+
+
+uarta_prepare_tx:
+	fetchr contus,2,core_uart_tsaddr
+	fetchr contue,2,core_uart_teaddr
+	fetchr contu,2,core_uart_twptr
+	rtn
+
+uartb_prepare_tx:
+	fetchr contus,2,core_uartb_tsaddr
+	fetchr contue,2,core_uartb_teaddr
+	fetchr contu,2,core_uartb_twptr
+	rtn
+
+uarta_prepare_rx:
+	fetchr contus,2,core_uart_rsaddr
+	fetchr contue,2,core_uart_readdr
+	fetchr contu,2,core_uart_rrptr
+	rtn
+
+uartb_prepare_rx:
+	fetchr contus,2,core_uartb_rsaddr
+	fetchr contue,2,core_uartb_readdr
+	fetchr contu,2,core_uartb_rrptr
+	rtn
+
+uarta_send:
+	storer contu,2,core_uart_twptr
+	rtn
+
+uartb_send:
+	storer contu,2,core_uartb_twptr
+	rtn
+
+uarta_rxdone:
+	storer contu,2,core_uart_rrptr
+	rtn
+
+uartb_rxdone:
+	storer contu,2,core_uartb_rrptr
+	rtn
+
+uarta_clear_current_rx:
+	call uarta_prepare_rx
+	fetch 2,core_uart_rxitems
+	iadd contu,contu
+	branch uarta_rxdone
+
+uartb_clear_current_rx:
+	call uartb_prepare_rx
+	fetch 2,core_uartb_rxitems
+	iadd contu,contu
+	branch uartb_rxdone
+
+uarta_prepare_tx_register_push:
+	call uart_register_push
+	branch uarta_prepare_tx
+
+uartb_prepare_tx_register_push:
+	call uart_register_push
+	branch uartb_prepare_tx
+
+uarta_send_register_pop:
+	call uarta_send
+	branch uart_register_pop
+
+uartb_send_register_pop:
+	call uartb_send
+	branch uart_register_pop
+
+
+uart_register_push:
+	storer contu,2,mem_contu
+	storer contus,2,mem_contue
+	storer contue,2,mem_contus
+	rtn
+
+uart_register_pop:
+	fetchr contu,2,mem_contu
+	fetchr contus,2,mem_contue
+	fetchr contue,2,mem_contus
+	rtn
+
+
+uart_copy_tx_bytes_fast:
+	deposit loopcnt
+	rtn blank
+uart_copy_tx_bytes_fast_loop:
+	increase -8,loopcnt
+	call uart_tx_8_bytes,positive
+	rtn zero
+	branch uart_copy_tx_bytes_fast_loop,positive
+	increase 8,loopcnt
+uart_copy_tx_bytes_fast_loop_four:
+	increase -4,loopcnt
+	call uart_tx_4_bytes,positive
+	rtn zero
+	branch uart_copy_tx_bytes_fast_loop_four,positive
+	increase 4,loopcnt
+	branch uart_copy_tx_bytes
+
+uart_tx_16_bytes:
+	call uart_tx_8_bytes
+uart_tx_8_bytes:
+	ifetch 8,contr
+	istore 8,contu
+	rtn
+
+uart_tx_4_bytes:
+	ifetch 4,contr
+	istore 4,contu
+	rtn
+
+uart_copy_tx_bytes:
+	deposit loopcnt
+	rtn blank
+uart_copy_tx_bytes_loop:
+	ifetch 1,contr
+	istore 1,contu
+	loop uart_copy_tx_bytes_loop
+	rtn
+
+uart_copy_rx_bytes_fast:
+	deposit loopcnt
+	rtn blank
+uart_copy_rx_bytes_fast_loop:
+	increase -8,loopcnt
+	call uart_rx_8_bytes,positive
+	rtn zero
+	branch uart_copy_rx_bytes_fast_loop,positive
+	increase 8,loopcnt
+uart_copy_rx_bytes_fast_loop_four:
+	increase -4,loopcnt
+	call uart_rx_4_bytes,positive
+	rtn zero
+	branch uart_copy_rx_bytes_fast_loop_four,positive
+	increase 4,loopcnt
+	branch uart_copy_rx_bytes
+
+uart_rx_16_bytes:
+	call uart_rx_8_bytes
+uart_rx_8_bytes:
+	ifetch 8,contu
+	istore 8,contw
+	rtn
+
+uart_rx_4_bytes:
+	ifetch 4,contu
+	istore 4,contw
+	rtn
+
+
+uart_copy_rx_bytes:
+	deposit loopcnt
+	rtn blank
+uart_copy_rx_bytes_loop:
+	ifetch 1,contu
+	istore 1,contw
+	loop uart_copy_rx_bytes_loop
+	rtn
+
+
+/* ===================== eeprom data ======================= */
+
+app_store_nvram_event:
+	jam BT_EVT_STORE_NVRAM,mem_fifo_temp
+	branch ui_ipc_send_event
+
+check_51cmd_store_reconn_info:
+check_51cmd_update_device_record:
+	bpatchx patch25_3,mem_patch25
+	fetch 1,mem_nv_data_number
+	rtn blank		// not nv data
+	call check_nvram
+	call init_device_list,zero
+	call disable_user2
+	call nvram_find_addr_from_bd_list
+write_device_record:
+	fetch 1,mem_nv_data_number
+	icopy regc
+	fetcht 2,mem_nv_data_ptr
+	storet 2,mem_list_item_ptr
+write_device_loop_find:
+	copy regc,pdata
+	branch app_store_nvram_event,blank  //EEPROM
+	increase -1,regc
+	copy temp,rega
+	ifetch 1,rega
+	fetcht 1,mem_select_list_item
+	isub temp,null
+	call set_index_finded_device,zero
+	branch write_device_loop_find0,positive
+	ifetch 1,rega
+	increase 1,pdata
+	istore 1,rega
+write_device_loop_find0:
+	fetcht 2,mem_list_item_ptr
+	increase NV_DATA_LEN,temp
+	storet 2,mem_list_item_ptr
+	branch write_device_loop_find
+
+set_index_finded_device:
+	setarg 0
+	istore 1,rega
+	fetch 1,mem_temp_reconn_record
+	istore 1,contw	
+	bne REC_3_MODE,set_index_finded_device_ble_mode
+	arg mem_link_key,regb
+set_index_find_device_MASTER_ADDR:
+	ifetch 6,contr
+	istore 8,contw
+	setarg 0
+	istore 8,contw
+	copy regb,contr
+store_rec_data_common:
+	call memcpy16
+	force 1,null
+	rtn
+
+set_index_finded_device_ble_mode:
+	beq REC_4_MODE_RANDOM_RESOLVABLE_PRIVATE_ADDRESS,set_index_finded_device_IRK
+	beq REC_4_MODE_RANDOM_NON_RESOLVABLE_PRIVATE_ADDRESS,set_index_finded_device_EDIV
+	arg mem_le_ltk,regb
+	branch set_index_find_device_MASTER_ADDR
+
+set_index_finded_device_IRK:
+	arg mem_le_irk,contr
+	call memcpy16
+store_ble_rec_data_common:
+	arg mem_le_ltk,contr
+	branch store_rec_data_common
+
+set_index_finded_device_EDIV:
+	arg mem_le_rand,contr
+	call memcpy16
+	branch store_ble_rec_data_common
+
+
+//enable user2 reconnect
+//disable user2 pairing
+nvram_find_addr_from_bd_list:
+	call disable_user
+	fetch 1,mem_nv_data_number
+	rtn blank		// not nv data
+	bpatchx patch25_4,mem_patch25
+	fetch 2,mem_ui_state_map
+	bbit1 UI_STATE_BT_CONNECTED,find_addr_from_bd_list_SPP_mode
+	rtnbit0 UI_STATE_BLE_CONNECTED
+find_addr_from_bd_list_ble_mode:
+	fetch 1,mem_le_conn_peer_addr_type
+	beq MASTER_PUBLIC_ADDR,find_addr_from_bd_list_public_device_addr
+	fetch 1,mem_le_plap+5
+	compare 0xc0,pdata,0xc0
+	branch find_addr_from_bd_list_static_addr,true
+	compare 0x40,pdata,0xc0
+	branch find_addr_from_bd_list_random_addr,true
+	branch find_addr_from_bd_list_random_non_resolvable_private_address_sc_or_legacy
+
+find_addr_from_bd_list_static_addr:
+	branch find_addr_from_bd_list_static_addr_reconnect,user2
+	fetch 1,mem_le_preq_init_key_distribution
+	bbit0 LE_INITATOR_IRK_BIT,find_addr_from_bd_list_public_device_addr
+	branch find_addr_from_bd_list_static_addr_sc_or_legacy
+
+find_addr_from_bd_list_static_addr_reconnect:
+	call find_addr_from_bd_list_public_device_addr
+	rtn user
+	branch find_addr_from_bd_list_static_addr_sc_or_legacy
+
+
+find_addr_from_bd_list_static_addr_sc_or_legacy:
+find_addr_from_bd_list_random_non_resolvable_private_address_sc_or_legacy:
+	fetch 1,mem_le_pairing_mode
+	bbit1 LE_PAIRING_MODE_SECURE_CONNECT_BIT,find_addr_from_bd_list_random_non_resolvable_private_address_sc
+	branch find_addr_from_bd_list_random_non_resolvable_private_address
+
+find_addr_from_bd_list_static_addr_sc:
+find_addr_from_bd_list_random_non_resolvable_private_address_sc:
+	fetch 6,mem_le_plap
+	store 8,mem_le_rand
+	branch find_addr_from_bd_list_random_non_resolvable_private_address
+
+
+find_addr_from_bd_list_public_device_addr:
+	jam REC_4_MODE_STATIC_ADDRESS,mem_temp_reconn_record
+	fetch 6,mem_le_plap
+	branch find_addr_from_bd_list_common
+	
+find_addr_from_bd_list_random_non_resolvable_private_address:	
+	jam REC_4_MODE_RANDOM_NON_RESOLVABLE_PRIVATE_ADDRESS,mem_temp_reconn_record
+	branch find_addr_from_bd_list_common
+
+//input :pdata EDIV and rands
+find_addr_from_bd_list_random_addr:
+	jam REC_4_MODE_RANDOM_RESOLVABLE_PRIVATE_ADDRESS,mem_temp_reconn_record
+	branch find_addr_from_bd_list_common
+	
+//input :pdata EDIV and rands
+find_addr_from_bd_list_SPP_mode:
+	jam REC_3_MODE,mem_temp_reconn_record
+	fetch 6,mem_plap
+find_addr_from_bd_list_common:
+	store 6,mem_temp_lap
+	fetch 2,mem_nv_data_ptr
+	ifetcht 1,pdata
+	pincrease 1
+	store 2,mem_list_item_ptr
+	storet 1,mem_select_list_item
+	fetch 1,mem_nv_data_number
+	icopy regc
+nvram_find_addr_from_list:
+	fetch 2,mem_list_item_ptr
+	copy pdata,rega
+	call nvram_find_addr_from_list_compare
+	rtn user
+	fetcht 2,mem_list_item_ptr
+	increase NV_DATA_LEN,temp
+	storet 2,mem_list_item_ptr
+	increase -1,temp
+	ifetch 1,temp
+	store 1,mem_select_list_item
+	increase -1,regc
+	nbranch nvram_find_addr_from_list,zero
+	fetch 1,mem_nv_data_number
+	pincrease DECREASED_ONE
+	store 1,mem_select_list_item
+	rtn
+nvram_find_addr_from_list_compare:
+	fetch 1,mem_temp_reconn_record
+	bne REC_3_MODE,find_addr_from_list_compare_ble_mode
+find_master_addr_from_list_compare:
+	arg mem_temp_reconn_record,regb
+	arg 7,loopcnt
+	call string_compare
+	branch enable_user,zero
+	rtn
+
+find_addr_from_list_compare_ble_mode:
+	beq REC_4_MODE_RANDOM_RESOLVABLE_PRIVATE_ADDRESS,find_irk_form_list_compare
+	beq REC_4_MODE_RANDOM_NON_RESOLVABLE_PRIVATE_ADDRESS,find_ediv_form_list_compare
+	branch find_master_addr_from_list_compare
+
+find_irk_form_list_compare:
+	ifetcht 1,rega
+	isub temp,null
+	nrtn zero
+	arg mem_le_prand,contw
+	arg 16,loopcnt
+	call clear_mem
+	fetch 3,mem_le_plap+3
+	store 3,mem_le_prand
+	call genernate_master_MacAddress
+	fetch 2,mem_le_aes_128+13
+	byteswap pdata,pdata
+	lshift8 pdata,temp
+	ifetch 1,contr
+	iadd temp,pdata
+	fetcht 3,mem_le_plap
+	isub temp,null
+	branch enable_user,zero
+	rtn
+
+
+genernate_master_MacAddress:
+	arg mem_le_prand ,contr
+	call load_data128
+//	arg mem_le_irk,contr
+	ifetch 1,rega
+	call load_regext
+	force 0x38,aes_ctrl
+	force 0x0,aes_ctrl
+	call wait_aes
+	arg mem_le_aes_128,contw
+	branch store_aes_result
+
+find_ediv_form_list_compare:
+	ifetcht 1,rega
+	isub temp,null
+	nrtn zero
+	copy contr,rega
+	add contr,8,regc
+	arg mem_le_rand,regb
+	arg 8,loopcnt
+	call string_compare
+	branch enable_user,zero
+	copy regc,rega
+	arg mem_le_irk,regb
+	arg 8,loopcnt
+	call string_compare
+	branch enable_user,zero
+	rtn
+
+check_nvram:
+	fetch 2,mem_nv_data_ptr
+	ifetcht 1,pdata
+	pincrease NV_DATA_LEN
+	ifetch 1,pdata
+	isub temp,null
+	rtn
+
+init_device_list:
+	fetch 1,mem_nv_data_number
+	icopy loopcnt
+	fetcht 2,mem_nv_data_ptr
+	setarg 0
+init_device_list_loop:
+	istore 1,temp
+	increase NV_DATA_LEN,temp
+	pincrease 1
+	loop init_device_list_loop
+	rtn
+
+load_device_list:
+	bpatchx patch25_5,mem_patch25
+	call enable_user2
+	call nvram_find_addr_from_bd_list
+	fetch 1,mem_state
+	setflag user,state_combkey,pdata	/* we have link key */
+	store 1,mem_state
+	nbranch clear_key_exists,user
+	add rega,10,contr
+	arg mem_link_key,contw
+	call  memcpy16
+	branch check_link_key_load
+clear_key_exists:
+	jam 0,mem_link_key_exists
+	rtn
+
+load_device_list_mode_4:
+//	fetch 9,mem_le_ediv
+//	branch clear_ltk_exists,blank
+	call enable_user2
+	call nvram_find_addr_from_bd_list
+	nbranch clear_ltk_exists,user
+	fetch 2,mem_list_item_ptr
+	add pdata,1,contr
+	arg mem_le_irk,contw
+	call  memcpy16
+	arg mem_le_ltk,contw
+	call  memcpy16
+	jam 1,mem_ltk_exists
+	rtn
+
+clear_ltk_exists:
+	jam 0,mem_ltk_exists
+	rtn
+
+
+eeprom_store_le_reconn_info:
+	jam REC_4_MODE,mem_record_bt_mode
+	branch eeprom_store_reconn_info
+eeprom_store_bd_reconn_info:
+	jam REC_3_MODE,mem_record_bt_mode
+eeprom_store_reconn_info:
+	fetch 1,mem_device_option
+	beq dvc_op_module,check_51cmd_update_device_record
+	beq dvc_op_mouse,mouse_store_remote_bdaddr
+	rtn
+	
+
+check_link_key_load:
+	fetch 8,mem_link_key
+	fetcht 8,mem_link_key+8
+	ior temp,pdata
+	rtn blank
+	jam 1,mem_link_key_exists
+	rtn
+	
+
+/* =============== GPIO CONTROL ================= */
+
+
+//temp [4:0]=GPIO number, 0-31, 
+gpio_set_wake_by_current_state:
+	bpatchx patch25_6,mem_patch25
+	set1 gpio_active_bit,temp
+	call gpio_get_bit
+	nsetflag true,gpio_active_bit,temp
+
+//temp [4:0]=GPIO number, 0-31, [7]=0, low active
+gpio_set_wake:
+	bpatchx patch25_7,mem_patch25
+	sub temp,UI_BUTTON_GPIO_DISABLE,null
+	rtn zero
+	isolate0 gpio_active_bit,temp
+	and temp,0x1f,queue
+	fetch 4,mem_gpio_wakeup_low
+	qsetflag true,pdata
+	store 4,mem_gpio_wakeup_low
+	fetch 4,mem_gpio_wakeup_high
+	nqsetflag true,pdata
+	store 4,mem_gpio_wakeup_high
+	rtn
+	
+//temp [4:0]=GPIO number, 0-31, [7]=0, low active
+gpio_clr_wake:
+	bpatchx patch26_0,mem_patch26
+	sub temp,UI_BUTTON_GPIO_DISABLE,null
+	rtn zero
+	isolate0 gpio_active_bit,temp
+	and temp,0x1f,queue
+	fetch 4,mem_gpio_wakeup_low
+	qset0 pdata
+	store 4,mem_gpio_wakeup_low
+	fetch 4,mem_gpio_wakeup_high
+	qset0 pdata
+	store 4,mem_gpio_wakeup_high
+	rtn
+
+gpio_config_input_nowake:
+	call gpio_clr_wake
+	branch gpio_config_input_without_wake
+
+//temp [4:0]=GPIO number, 0-31, [7]=0, low active
+gpio_config_input:
+	sub temp,UI_BUTTON_GPIO_DISABLE,null
+	rtn zero
+	ncall gpio_set_wake,wake
+gpio_config_input_without_wake:
+	call gpio_addr
+	setarg 0
+	isolate1 gpio_active_bit,temp
+	nsetflag true,6,pdata
+	setflag true,7,pdata
+	branch gpio_write
+
+//temp is gpio number, return true if gpio active
+gpio_get_bit:
+	arg core_gpio_in,contw
+	and temp,0x07,queue
+	rshift3 temp,pdata
+	and_into 3,pdata
+	iadd contw,contw
+	ifetch 1,contw
+	isolate1 gpio_active_bit,temp
+	branch gpio_get_bit_reverse,true
+	qisolate0 pdata
+	rtn
+gpio_get_bit_reverse:
+	qisolate1 pdata
+	rtn
+
+//temp [5:0]=GPIO number, 0-39, [7]=0, low active. set gpio to inactive state
+gpio_out_inactive:
+	sub temp,UI_BUTTON_GPIO_DISABLE,null
+	rtn zero
+	isolate1 gpio_active_bit,null
+	branch gpio_out_flag
+
+gpio_config_output:
+gpio_out_active:
+	sub temp,UI_BUTTON_GPIO_DISABLE,null
+	rtn zero
+	isolate0 gpio_active_bit,null
+
+//temp is gpio number,  [7]=1,set out equa true flag if gpio active
+gpio_out_flag:
+	setarg 0
+	nsetflag true,gpio_active_bit,pdata
+	ixor temp,temp
+
+//temp is gpio number,0-31, [7]=out bit value
+gpio_out:
+	call gpio_addr
+	setarg gpcfg_output_high
+	isolate1 gpio_active_bit,temp
+	setflag true,0,pdata
+	branch gpio_write
+
+//check output status
+gpio_check_active:
+	call gpio_addr
+	ifetch 1,contw
+	bbit1 0,gpio_check_active_high
+	isolate0 gpio_active_bit,temp
+	rtn
+gpio_check_active_high:
+	isolate1 gpio_active_bit,temp
+	rtn
+
+//gpio_set_analog:
+//	call gpio_addr
+//	setarg gpcfg_no_ie
+gpio_write:
+	istore 1,contw
+	rtn
+
+gpio_set_high_impedance:
+	call gpio_addr
+	setarg gpcfg_high_impedance
+	branch gpio_write
+
+gpio_addr:
+	and temp,0x3f,pdata
+	arg core_gpio_conf,contw
+	iadd contw,contw
+	rtn
+
+gpio_config_param:
+	and pdata,0xff,temp
+	rshift8 pdata,pdata
+	branch gpio_config_function_int
+
+//pdata: gpio number bit7=1, temp: function type
+gpio_config_function:
+	rtnbit0 gpio_active_bit
+gpio_config_function_int:
+	and_into 0x3f,pdata
+	arg core_gpio_conf,contw
+	iadd contw,contw
+	istoret 1,contw
+	rtn
+
+//temp:gpio num
+gpio_get_config:
+	and_into 0x3f,temp
+	setarg core_gpio_conf
+	iadd temp,contr
+	ifetch 1,contr
+	rtn
+
+
+//The default as shutter and remote
+gpio_set_before_lpm:
+	arg 20,loopcnt
+	arg core_gpio_conf,contr
+setgpio_loop:
+	copy contr,contw
+	ifetch 1,contr
+	beq gpcfg_qspi_ncs,setgpio_pullup
+	beq gpcfg_qspi_sck,setgpio_pullup
+	beq gpcfg_qspi_io0,setgpio_pullup
+	beq gpcfg_qspi_io1,setgpio_pullup
+	beq gpcfg_qspi_io2,setgpio_pullup
+	beq gpcfg_qspi_io3,setgpio_pullup
+	beq gpcfg_spid_miso,setgpio_pullup
+	beq gpcfg_spid_ncs,setgpio_pullup
+	beq gpcfg_spid_sck,setgpio_pullup
+	beq gpcfg_spid_mosi,setgpio_pullup
+	beq gpcfg_spid_sdio,setgpio_pullup
+	beq gpcfg_iic_scl,setgpio_pullup
+	beq gpcfg_iic_sda,setgpio_pullup
+	beq gpcfg_input,setgpio_pullup
+setgpio_loop_end:
+	loop setgpio_loop
+	rtn
+setgpio_pullup:
+	setarg gpcfg_pullup
+	istore 1,contw
+	branch setgpio_loop_end
+setgpio_pulldown:
+	setarg gpcfg_pulldown
+	istore 1,contw	
+	branch setgpio_loop_end
+
+/*************************************ADC*************************************/
+
+
+//mem_adc_config_flag 0:vinlpm 1:Hvin 2: GPIO
+adc_init_data:
+	bpatchx patch26_1,mem_patch26
+adc_init_cal_data:
+	fetch 8,mem_tmp_buffer+EFUSE_OFFSET_ADC
+	branch adc_init_cal_data_default,blank
+	arg mem_tmp_buffer+EFUSE_OFFSET_ADC,contr
+	arg mem_3v_adc_io_data,contw
+	arg 3,loopcnt
+adc_init_cal_data_loop:	
+	ifetch 3,contr	
+	lshift4 pdata,temp
+	istoret 2,contw
+	rshift8 pdata,temp
+	istoret 2,contw
+	loop adc_init_cal_data_loop
+	rtn 
+	
+adc_init_cal_data_default:
+	setarg 0x469a
+	store 2,mem_3v_adc_io_data
+	setarg 0xab77
+	store 2,mem_1v_adc_io_data
+	setarg 0x73d0
+	store 2,mem_3v_adc_vinlpm_data
+	setarg 0x9658
+	store 2,mem_2v_adc_vinlpm_data
+	rtn	
+	
+enable_adc:
+	bpatchx patch26_2,mem_patch26
+	fetchr regb,1,core_rf_ldo_cfg6
+	jam 0x3d,core_rf_ldo_cfg6
+	jam 0xaa,core_rf_ldo_cfg5
+	jam 0x0c,core_rf_ldo_en0
+	fetch 1,core_clkpll_cfg6
+	set1 7,pdata
+	store 1,core_clkpll_cfg6
+	jam 0x04,core_rf_ldo_en1
+	nop 60
+	jam 0,core_syn_en
+	jam 6,core_rx_en0
+	call read_adc_mode
+	store 1,core_gpadc_ctrl
+	jam 0x03,core_sum_ctrl
+	nop 60
+	fetch 1,core_sum_en
+	set1 7,pdata
+	store 1,core_sum_en
+	nop 1000  // 1/24ms
+	fetch 2,core_adc_sum
+	store 2,mem_adc_current_value
+	fetch 1,core_sum_en
+	set0 7,pdata
+	store 1,core_sum_en
+	jam 0,core_gpadc_ctrl
+	storer regb,1,core_rf_ldo_cfg6
+	rtn
+
+	
+read_adc_mode:	
+	fetch 1,mem_adc_config_flag
+	beq ADC_CONFIG_VINLPM,adc_mode_vdcdc
+	beq ADC_CONFIG_HVIN,adc_adc_mode_vbat
+//	beq ADC_CONFIG_GPIO,adc_check_gpio
+adc_check_gpio:
+	fetch 1,mem_adc_channel
+	lshift3 pdata,pdata
+	or pdata,7,pdata
+	rtn
+
+adc_mode_vdcdc:
+	setarg 0x57
+	rtn
+	
+adc_adc_mode_vbat:
+	setarg 0x4f
+	rtn
+
+vdd_calculate_by_mode:
+	bpatchx patch26_3,mem_patch26
+	fetch 1,mem_adc_config_flag
+	beq ADC_CONFIG_VINLPM,vdd_calculate_vinlpm
+	beq ADC_CONFIG_HVIN,vdd_calculate_hvin
+	beq ADC_CONFIG_GPIO,vdd_calculate_io
+	rtn
+
+vdd_calculate_vinlpm:
+	setarg 100
+	store 2,mem_reference_voltage //diff
+	fetcht 2,mem_3v_adc_vinlpm_data
+	fetch 2,mem_2v_adc_vinlpm_data
+	arg 300,regc
+	branch vdd_calculate
+
+vdd_calculate_hvin:
+	setarg 100
+	store 2,mem_reference_voltage //diff
+	fetcht 2,mem_3v_adc_hvin_data
+	fetch 2,mem_2v_adc_hvin_data
+	arg 300,regc
+	branch vdd_calculate
+
+vdd_calculate_io:
+	setarg 200
+	store 2,mem_reference_voltage //diff
+	fetcht 2,mem_3v_adc_io_data
+	fetch 2,mem_1v_adc_io_data
+	arg 300,regc //max vol
+	
+vdd_calculate:
+	isub temp,rega
+	fetch 2,mem_adc_current_value
+	isub temp,pdata
+	nbranch vdd_calculate1,positive
+	fetcht 2,mem_reference_voltage
+	imul32 temp,regb
+	copy regc,pdata
+	imul32 rega,pdata
+	isub regb,pdata
+vdd_calculate2:
+	idiv rega
+	call wait_div_end
+	quotient pdata	
+	rtn
+
+vdd_calculate1:
+	copy temp,pdata
+	fetcht 2,mem_adc_current_value
+	isub temp,pdata
+	fetcht 2,mem_reference_voltage
+	imul32 temp,regb
+	copy regc,pdata
+	imul32 rega,pdata
+	iadd regb,pdata
+	branch vdd_calculate2
+
+
+/*	typedef struct
+*	{
+*		uint16 full_vol
+*		uint16 empty_vol
+*		uint16 low_vol
+*		uint16 now_vol
+*	}bat_calculate;
+*/
+//out:	pdata->bat percent
+adc_bat_percent_lowpower_out:
+	ifetch 8,rega
+	store 8,mem_pdatatemp
+	fetch 2,mem_pdatatemp
+	fetcht 2,mem_pdatatemp+2
+	isub temp,rega
+	fetch 2,mem_pdatatemp+6
+	isub temp,regb
+	fetcht 2,mem_pdatatemp+4
+	isub temp,null
+	ncall adc_set_low_power_flag,positive
+	mul32 regb,100,pdata
+	idiv rega
+	call wait_div_end
+	quotient pdata
+	call adc_set_no_power_flag,blank
+	rtn
+adc_set_low_power_flag:
+	fetch 1,mem_adc_power_flag
+	set1 0,pdata
+	store 1,mem_adc_power_flag
+	rtn
+
+adc_clear_low_power_flag:
+	fetch 1,mem_adc_power_flag
+	set0 0,pdata
+	store 1,mem_adc_power_flag
+	rtn	
+	
+adc_set_no_power_flag:
+	fetcht 1,mem_adc_power_flag
+	set1 1,temp
+	storet 1,mem_adc_power_flag
+	rtn
+
+adc_clear_no_power_flag:
+	fetcht 1,mem_adc_power_flag
+	set0 1,temp
+	storet 1,mem_adc_power_flag
+	rtn	
+
+
+
+/****************************************key scan***************************************/
+keyscan_key_init:
+	fetch 2,mem_key_num_ptr
+	ifetch 1,pdata
+keyscan_key_init_next:
+	rtn blank
+	copy pdata,loopcnt
+//	copy contr,rega
+	fetch 2,mem_keyscan_ptr
+	increase 3,pdata	//mem_key_conf0_pin
+	copy pdata,rega
+keyscan_key_init_lp1:
+	ifetcht 1, rega
+	call gpio_config_input
+	increase KEY_CONF_STRUCT_LEN,rega
+	loop keyscan_key_init_lp1
+keyscan_key_init_end:
+	rtn
+	
+keyscan_scan_key:
+	fetch 2,mem_keyscan_ptr
+	increase 3,pdata	//mem_key_conf0_pin
+	copy pdata,rega
+//	arg mem_key_conf0_pin,rega
+	force 0,regb
+	setarg 0
+	store 2,mem_key_value_temp
+keyscan_scan_key_lp1:
+	ifetcht 1, rega
+	call gpio_get_bit
+	bpatchx patch26_4,mem_patch26
+	fetch 2,mem_key_value_temp
+	copy regb,queue
+	qsetflag true,pdata
+	store 2, mem_key_value_temp
+	increase KEY_CONF_STRUCT_LEN,rega
+	increase 1,regb
+	fetch 2,mem_key_num_ptr
+	ifetch 1,pdata
+keyscan_scan_key_lp1_next:
+	ixor regb,null
+	nbranch keyscan_scan_key_lp1,zero
+	fetch 2,mem_key_value_temp
+	fetcht 2,mem_key_value_retention
+	ixor temp,null
+	rtn zero
+	enable user
+	rtn
+
+keyscan_process_lpm_before:
+	fetch 2,mem_key_num_ptr
+	ifetch 1,pdata
+keyscan_process_lpm_before_next:
+	rtn blank
+	copy pdata,loopcnt
+	fetch 2,mem_keyscan_ptr 
+	increase 3,pdata	//mem_key_conf0_pin
+	copy pdata,rega
+keyscan_process_lpm_before_lp1:
+	ifetcht 1, rega
+	call gpio_set_wake_by_current_state
+	increase KEY_CONF_STRUCT_LEN,rega
+	loop keyscan_process_lpm_before_lp1
+keyscan_process_lpm_before_end:
+	rtn
+
+keyscan_key_process:
+	arg key_scan_timer,queue
+	call timer_check
+	nrtn blank
+	setarg 0x20
+	arg key_scan_timer,queue
+	call timer_init
+	disable user
+	call keyscan_process_lpm_before
+	bpatchx patch26_5,mem_patch26
+	fetch 2,mem_key_num_ptr
+	ifetch 1,pdata
+keyscan_key_process_next:
+	rtn blank
+	call keyscan_scan_key
+	nbranch lpm_button_clean_wake_lock,user
+	call lpm_button_get_wake_lock
+	disable user
+	fetch 2,mem_key_value_temp
+	store 2,mem_key_value_temp4
+	jam 0,mem_key_value_temp6
+	force 0,queue
+keyscan_key_lp1:
+	fetch 2, mem_key_value_retention
+	rshift pdata,temp
+	storet 2,mem_key_value_retention
+	and pdata,0x01,pdata
+	fetcht 2, mem_key_value_temp4
+	and temp,0x01,rega
+	rshift temp,temp
+	storet 2,mem_key_value_temp4
+	ixor rega,null
+	ncall keyscan_send_key_data,zero
+	fetch 2,mem_key_num_ptr
+	ifetch 1,pdata
+keyscan_key_lp1_next:
+	fetcht 1, mem_key_value_temp6
+	increase 1,temp
+	storet 1, mem_key_value_temp6
+	copy temp,queue
+	ixor queue,null
+	nbranch keyscan_key_lp1,zero
+	fetch 2,mem_key_value_temp
+	store 2,mem_key_value_retention
+	rtn
+keyscan_send_key_data:
+	bpatchx patch26_6,mem_patch26
+	fetch 2,mem_keyscan_ptr
+	increase 1,pdata
+	ifetch 2,pdata
+	branch callback_func
+
+
+/*************************************pwm*************************************/
+
+//rega:clk select(0:system clk; 1:system clk undivied; 2:lpo)
+/*rega:clk select
+			0x00:select system clock 12M;
+			0x40:select undivied system clock 24M/48M;
+			0x80:select lpo clock:33K
+*/
+pwm_init:
+	fetch 1,core_clksel
+	ior rega,pdata
+	store 1,core_clksel
+	fetch 2,core_clkoff
+	set0 CLOCK_OFF_PWM,pdata
+	store 2,core_clkoff
+delay_nop100:
+	nop 100
+	rtn
+
+/*	typedef struct
+*	{
+*		uint8 gpio_num
+*		uint8 pwm_channel
+*		uint24 frequency
+*		uint8 duty_cycle   //0-100
+*	}PWM_Style;
+	addr: mem_pdatatemp
+*/
+pwm_clk_set:
+	fetch 1,core_clksel
+	bbit1 6,pwm_24m_clk_set
+	bbit1 7,pwm_33k_clk_set
+pwm_12m_clk_set:
+	setarg PWM_12MHZ
+	rtn
+pwm_24m_clk_set:
+	setarg PWM_24MHZ
+	rtn
+pwm_33k_clk_set:
+	setarg PWM_33KHZ
+	rtn
+/*
+	mem_pdatatemp+1:
+	bit0~bit2:pwm_channel
+	bit4:pwm_init_value(1:high;0:low)
+*/
+pwm_cont_set:
+	fetch 1,mem_pdatatemp+1
+	bbit1 4,pwm_cont_set1
+	bbit0 4,pwm_cont_set0
+	rtn
+pwm_cont_set1:
+	enable user
+	and pdata,0x0f,queue
+	call pwm_set_value
+	quotient regb
+	copy temp,pdata
+	isub regb,rega
+	rtn
+
+pwm_cont_set0:
+	disable user
+	and pdata,0x0f,queue
+	call pwm_set_value
+	quotient rega
+	copy temp,pdata
+	isub rega,regb
+	rtn
+
+pwm_set_value:
+	fetch 1,core_pwm_init
+   	qsetflag user,pdata
+	store 1,core_pwm_init
+	rtn
+
+pwm_out_set:
+	fetcht 3,mem_pdatatemp+2
+	call pwm_clk_set
+	idiv temp
+	call wait_div_end
+	quotient temp
+	fetch 1,mem_pdatatemp+5
+	imul32 temp,pdata
+	div pdata,100
+	call wait_div_end
+	call pwm_cont_set
+	fetch 1,mem_pdatatemp+1
+	call pwm_duty_cycle_set
+	fetch 1,mem_pdatatemp
+	fetcht 1,mem_pdatatemp+1
+	and_into 0x0f,temp
+	lshift8 temp,temp
+	ior temp,pdata
+	branch pwm_enable
+
+//rega:pcnt ;regb:ncnt ;pdata:pwm channel select
+pwm_duty_cycle_set:
+	and_into 0x0f,pdata
+	arg core_pwm_pcnt0,contw
+	mul32 pdata,4,pdata
+	iadd contw,contw
+	copy rega,pdata
+	istore 2,contw
+	copy regb,pdata
+	istore 2,contw
+	rtn
+
+
+//pdata:gpio select & pwm channel select
+/*********************************************
+setarg 0x0108
+0x01:pwm channel select
+0x08:gpio select
+*********************************************/
+pwm_enable:
+	enable user
+	call pwm_srst_set
+	branch pwm_gpio_set
+pwm_disable:
+	disable user
+	call pwm_select_channel
+pwm_gpio_set:
+	copy temp,pdata
+	lshift8 pdata,pdata
+	add queue,gpcfg_pwm_out0,temp
+	ior temp,pdata
+	call gpio_config_param
+pwm_set_select:
+	fetch 1,core_pwm_en
+	jam 0x00,core_pwm_en
+	nop 1200
+   	qsetflag user,pdata
+   	store 1,core_pwm_en
+	rtn
+pwm_select_channel:
+	copy pdata,temp
+	rshift8 pdata,pdata
+	copy pdata,queue
+	rtn
+	
+//pwm immediately stop set
+pwm_srst_powerdown:
+	disable user
+pwm_srst_set:
+	call pwm_select_channel
+	fetch 1,core_pwm_srst
+   	nqsetflag user,pdata
+   	store 1,core_pwm_srst
+	branch pwm_gpio_set
+
+
+
+/*************WATCH DOG API*************************/
+/*
+	function name:wdt_init_config 
+	input:kick dog time (pdata)
+*/
+wdt_init_config:
+	arg 0x2710,temp
+	imul32 temp,pdata
+	arg 0x1312d,temp
+	idiv temp
+	call wait_div_end
+	quotient temp
+	setarg 2048
+	isub temp,pdata
+	copy pdata,temp
+	and_into 0x0f,temp
+	storet 1,core_write_wdt2
+	copy pdata,temp
+	rshift4 temp,temp
+	storet 1,core_write_wdt
+	rtn
+
+wdt_set_enable:
+	enable user2
+	branch wdt_init_set
+wdt_set_disable:
+	disable user2
+wdt_init_set:
+	fetch 1,core_config
+   	setflag user2,3,pdata
+	store 1,core_config
+	rtn
+
+
+/*************NEC API*************************/
+/*
+	function name:nec_init_config 
+	input:
+		pdata is nec buffer address
+		bit[0-15]:rx start memory address
+		bit[16-31]:rx ending memory address
+		temp is nec control config
+		E.M 0x31 is 12M system clock is 2us temp
+*/
+nec61212_init:
+	arg FUN_NEC_ENABLE|FUN_NEC_CLK_DIVIDE_24,temp
+	
+
+nec_init_config:
+	store 4,core_nec_start_addr
+	store 2,core_nec_rptr
+	storet 1,core_nec_control
+	rtn
+
+//return:pdata is buffer size
+nec_check_rxbuff_size:
+	fetch 2,core_nec_rxitem
+	rtn
+/*	fetcht 2,core_nec_rptr
+	fetch 2,core_nec_wptr
+	isub temp,pdata
+	rtn positive
+	sub pdata,0,rega
+	fetcht 2,core_nec_start_addr
+	fetch 2,core_nec_end_addr
+	pincrease 1
+	isub temp,pdata
+	isub rega,pdata
+	rtn
+*/
+
+nec_prepare_read:
+	fetchr contu,2,core_nec_rptr
+	fetchr contus,2,core_nec_start_addr
+	fetchr contue,2,core_nec_end_addr
+	rtn
+
+nec_read_done:
+	storer contu,2,core_nec_rptr
+	rtn
+
+//regc is callback function
+//output
+//user is disable mean data stop
+//rege is 0 mean repeat
+//rege is no zero mean data
+nec_parse_nec61212:
+	call enable_user
+	arg 0,rege
+	call nec_check_rxbuff_size
+	beq 2,nec_parse_nec61212_check_timeout
+	sub pdata,4,null
+	rtn positive
+	call nec_prepare_read
+	ifetcht 2,contu
+	setarg NEC61212_DATA2REPEAT_TIME
+	call nec_check_pulse_range_legal_default_deviation
+	nbranch nec_parse_nec61212_check_repeat_data,positive
+	copy regd,temp
+	setarg NEC61212_REPEAT2REPEAT_TIME
+	call nec_check_pulse_range_legal_default_deviation
+	nbranch nec_parse_nec61212_check_repeat_data,positive
+	
+	copy regd,temp
+	setarg NEC61212_BOOT_CODE_START_TIME
+	call nec_check_pulse_range_legal_default_deviation
+	branch nec_parse_nec61212_error_data,positive
+	ifetcht 2,contu
+	setarg NEC61212_BOOT_CODE_END_TIME
+	call nec_check_pulse_range_legal_default_deviation
+	branch nec_parse_nec61212_error_data,positive
+	call nec_check_rxbuff_size
+	sub pdata,133,null
+	rtn positive
+	arg 32,loopcnt
+nec_parse_nec61212_data:
+	ifetcht 2,contu
+	setarg NEC61212_DATA_BIT_1_START_TIME
+	call nec_check_pulse_range_legal_default_deviation
+	branch nec_parse_nec61212_error_data,positive
+	ifetcht 2,contu
+	setarg NEC61212_DATA_BIT_1_END_TIME
+	call nec_check_pulse_range_legal_default_deviation
+	nbranch nec_parse_nec61212_add_bit1,positive
+	copy regd,temp
+	setarg NEC61212_DATA_BIT_0_END_TIME
+	call nec_check_pulse_range_legal_default_deviation
+	nbranch nec_parse_nec61212_add_bit0,positive
+
+
+nec_parse_nec61212_error_data:
+	copy regd,temp
+	setarg NEC61212_TIMEOUT_TIME
+	isub temp,null
+	branch nec_parse_nec61212_check_timeout_cb,zero
+	branch nec_read_done
+
+nec_parse_nec61212_add_bit1:
+	set1 32,rege
+nec_parse_nec61212_add_bit0:
+	rshift rege,rege
+	loop nec_parse_nec61212_data
+	branch nec_parse_nec61212_check_stop_bit
+
+nec_parse_nec61212_check_repeat_data:
+	call nec_check_rxbuff_size
+	sub pdata,7,null
+	rtn positive
+	ifetcht 2,contu
+	setarg NEC61212_REPEAT_START_TIME
+	call nec_check_pulse_range_legal_default_deviation
+	branch nec_parse_nec61212_error_data,positive
+	ifetcht 2,contu
+	setarg NEC61212_REPEAT_END_TIME
+	call nec_check_pulse_range_legal_default_deviation
+	branch nec_parse_nec61212_error_data,positive
+nec_parse_nec61212_check_stop_bit:
+	ifetcht 2,contu
+	setarg NEC61212_STOP_TIME
+	call nec_check_pulse_range_legal_default_deviation
+	branch nec_parse_nec61212_error_data,positive
+	call nec_read_done
+	copy regc,pdata
+	branch callback_func
+
+nec_parse_nec61212_check_timeout:
+	call nec_prepare_read
+	ifetcht 2,contu
+	setarg NEC61212_TIMEOUT_TIME
+	isub temp,null
+	nrtn zero
+nec_parse_nec61212_check_timeout_cb:
+	call nec_read_done
+	call disable_user
+	copy regc,pdata
+	branch callback_func
+
+
+
+//检查数据是否合法，宽度范围
+//输入:temp 当前实际检查到的时间 2us为单位
+//pdata 理论时间，us为单位
+nec_check_pulse_range_legal_default_deviation:
+	fetchr regb,1,mem_nec_decode_error_value
+
+//检查数据是否合法，宽度范围
+//输入:temp 当前实际检查到的时间 2us为单位
+//pdata 理论时间，us为单位
+//regb允许偏差值，百分比
+// |temp-pdata| / pdata < regb
+//输出:positive is 1 mean error
+//0 mean true
+nec_check_pulse_range_legal:
+	copy temp,regd
+	imul32 regb,regb		//换算成实际偏差
+	lshift temp,temp		//时间单位换算成us
+	isub temp,rega
+	ncall nec_check_pulse_range_legal_data_negative,positive
+	mul32 rega,100,pdata
+	isub regb,null
+	rtn
+
+nec_check_pulse_range_legal_data_negative:
+	sub rega,0,rega
+	rtn
+
+
+
+select_system_clk_24M:
+	jam SYSTEM_CLK_24M,mem_system_clk
+	jam clksel_dpll_24M,core_clksel
+	setarg 7499
+	store 2,core_halfslot
+calc_new_param:
+	arg 11,loopcnt
+	arg mem_param_tx_setup,rega
+calc_new_param_loop:
+	ifetch 2,rega
+	lshift pdata,pdata
+	istore 2,rega
+	increase 2,rega
+	loop calc_new_param_loop
+	rtn
+
+calc_new_le_time:
+	lshift stop_watch,stop_watch
+	rtn
+
+select_system_clk_12M_xtal:
+	jam clksel_xtal,core_clksel
+select_system_clk_12M_common:
+	jam SYSTEM_CLK_12M,mem_system_clk
+	setarg 3749
+	store 2,core_halfslot
+	rtn
+
+select_system_clk_12M_dpll:
+	jam clksel_dpll,core_clksel
+	branch select_system_clk_12M_common
+	
+
+/*****************************50HZ*****************************/
+/*
+(input):
+pdata:ac data buf start address
+temp:ac data buf length
+mem_ac_detect_gpio:choice gpio[0-19]
+mem_ac_detect_control:[7:2]ac detect clk divide number,[15:8]ac detect window (ms)
+
+(output):
+true=1,  50hz single disappear true=0,50hz detected
+
+*/
+ifdef AC_50HZ
+ac_50hz_check:
+	store 2,core_ac_saddr
+	storet 1,core_ac_buf_len
+	fetch 1,mem_ac_detect_gpio
+	arg gpcfg_ac_input,temp
+	call gpio_config_function_int
+	fetch 2,mem_ac_detect_control  
+	set1 0,pdata                 //ac detect enable[0]
+	store 2,core_ac_ctrl
+ac_50hz_check_wait:		
+	fetch 1,core_perf_status
+	isolate1 6,pdata
+	rtn 
+endif
+	
+
+
+
Index: program/peripherals_test/ac_50hz_test.prog
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/program/peripherals_test/ac_50hz_test.prog	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/program/peripherals_test/ac_50hz_test.prog	(working copy)
@@ -0,0 +1,22 @@
+ifdef COMPLIE_TEST
+
+p_50hz_init: 
+	jam 0x19,core_gpio_conf+2
+	jam 0x3e,core_gpio_conf+3	
+	jam 06,core_ac_buf_len
+	jam 0x00,core_ac_saddr	
+	jam 0x01,core_ac_saddr+1	
+	jam 20,core_ac_ctrl+1
+	jam 0x31,core_ac_ctrl	
+p_50hz_check:
+	fetch 1,core_perf_status
+	isolate1 6,pdata	
+	branch p_50hz_exit,true	
+	jam 0x3e,core_gpio_conf+3	
+	branch p_50hz_check
+p_50hz_exit: 
+	jam 0x3f,core_gpio_conf+3
+	branch p_50hz_check
+	
+endif
+
Index: program/peripherals_test/gpio_test.prog
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/program/peripherals_test/gpio_test.prog	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/program/peripherals_test/gpio_test.prog	(working copy)
@@ -0,0 +1,28 @@
+
+ifdef COMPLIE_TEST
+
+p_gpio_test:
+	arg 20,loopcnt
+	arg 0,rega
+p_gpio_test_loop:
+	copy rega,pdata
+	increase 1,rega
+	sub rega,20,null
+	call ice_break,zero
+	arg gpcfg_output_high,temp
+	call gpio_config_function_int
+	call delay_10ms
+	loop p_gpio_test_loop
+	branch assert
+	rtn
+
+endif
+
+
+
+
+
+
+
+
+
Index: program/peripherals_test/iic_test.prog
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/program/peripherals_test/iic_test.prog	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/program/peripherals_test/iic_test.prog	(working copy)
@@ -0,0 +1,577 @@
+
+ifdef COMPLIE_TEST
+
+
+p_iicd_init_25k:
+	jam 236,core_iicd_scl_low
+ 	jam 236,core_iicd_scl_high
+	jam 118,core_iicd_start_setup
+	jam 118,core_iicd_start_hold
+	jam 118,core_iicd_stop_setup
+	jam 118,core_iicd_data_setup
+	jam 0,core_iicd_data_hold
+	branch iicd_init_pin
+p_iicd_init_50k:
+	jam 116,core_iicd_scl_low
+ 	jam 116,core_iicd_scl_high
+	jam 58,core_iicd_start_setup
+	jam 58,core_iicd_start_hold
+	jam 58,core_iicd_stop_setup
+	jam 58,core_iicd_data_setup
+	jam 0,core_iicd_data_hold
+	branch iicd_init_pin
+p_iicd_init_100k:
+	jam 56,core_iicd_scl_low
+ 	jam 56,core_iicd_scl_high
+	jam 28,core_iicd_start_setup
+	jam 28,core_iicd_start_hold
+	jam 28,core_iicd_stop_setup
+	jam 28,core_iicd_data_setup
+	jam 0,core_iicd_data_hold
+	branch iicd_init_pin
+p_iicd_init_200k:
+	jam 26,core_iicd_scl_low
+ 	jam 26,core_iicd_scl_high
+	jam 12,core_iicd_start_setup
+	jam 12,core_iicd_start_hold
+	jam 12,core_iicd_stop_setup
+	jam 24,core_iicd_data_setup
+	jam 0,core_iicd_data_hold
+	branch iicd_init_pin
+p_iicd_init_400k:
+	jam 11,core_iicd_scl_low
+ 	jam 11,core_iicd_scl_high
+	jam 6,core_iicd_start_setup
+	jam 6,core_iicd_start_hold
+	jam 6,core_iicd_stop_setup
+	jam 11,core_iicd_data_setup
+	jam 0,core_iicd_data_hold
+	branch iicd_init_pin
+p_iicd_init_600k:
+	jam 6,core_iicd_scl_low
+ 	jam 6,core_iicd_scl_high
+	jam 3,core_iicd_start_setup
+	jam 3,core_iicd_start_hold
+	jam 3,core_iicd_stop_setup
+	jam 6,core_iicd_data_setup
+	jam 0,core_iicd_data_hold
+	branch iicd_init_pin
+p_iicd_init_750k:
+	jam 4,core_iicd_scl_low
+ 	jam 4,core_iicd_scl_high
+	jam 2,core_iicd_start_setup
+	jam 2,core_iicd_start_hold
+	jam 2,core_iicd_stop_setup
+	jam 4,core_iicd_data_setup
+	jam 0,core_iicd_data_hold
+	branch iicd_init_pin
+p_iicd_init_860k:
+	jam 3,core_iicd_scl_low
+ 	jam 3,core_iicd_scl_high
+	jam 1,core_iicd_start_setup
+	jam 1,core_iicd_start_hold
+	jam 1,core_iicd_stop_setup
+	jam 3,core_iicd_data_setup
+	jam 0,core_iicd_data_hold
+	branch iicd_init_pin
+
+//2Kb
+p_iic_eeprom_2k_test:
+	setarg 0x20
+	store 2,mem_iic_test_loopcnt
+	setarg 0
+	store 2,mem_iic_test_offset
+	branch p_iic_eeprom_test_loop
+
+//128K
+p_iic_eeprom_128k_test:
+	setarg 0x200
+	store 2,mem_iic_test_loopcnt
+	setarg 0
+	store 2,mem_iic_test_offset
+p_iic_eeprom_test_loop:	
+	arg 32,temp
+	isolate1 mark_eeprom_size,mark
+	call p_iic_2k_page_write,true
+	fetch 2,mem_iic_test_offset
+	copy pdata,regb
+	arg mem_iic_test_txbuf1,rega	//00
+	call iicd_write_eep_data
+	call delay_10ms
+
+	arg 32,temp
+	isolate1 mark_eeprom_size,mark
+	call p_iic_2k_page_write,true
+	fetch 2,mem_iic_test_offset
+	copy pdata,regb
+	arg mem_iic_test_rxbuf,rega
+	call iicd_read_eep_data
+
+	call delay_10ms
+	
+	fetch 3,core_iicd_remain
+	store 3,0x4fd0
+	arg mem_iic_test_rxbuf,contr
+	arg 0x4fe0,contw
+	arg 0x20,loopcnt
+	call memcpy
+
+	arg 32,loopcnt
+	isolate1 mark_eeprom_size,mark
+	call p_iic_2k_page_write_loopcnt,true	
+	arg mem_iic_test_txbuf1,rega
+	arg mem_iic_test_rxbuf,regb
+	call string_compare
+	ncall p_break_00,zero
+
+
+	arg 32,temp
+	isolate1 mark_eeprom_size,mark
+	call p_iic_2k_page_write,true
+	fetch 2,mem_iic_test_offset
+	copy pdata,regb
+	arg mem_iic_test_txbuf2,rega	//ff
+	call iicd_write_eep_data
+	call delay_10ms
+
+	arg 32,temp
+	isolate1 mark_eeprom_size,mark
+	call p_iic_2k_page_write,true
+	fetch 2,mem_iic_test_offset
+	copy pdata,regb
+	arg mem_iic_test_rxbuf,rega
+	call iicd_read_eep_data
+	call delay_10ms
+
+	fetch 3,core_iicd_remain
+	store 3,0x4fd0
+	arg mem_iic_test_rxbuf,contr
+	arg 0x4fe0,contw
+	arg 0x20,loopcnt
+	call memcpy
+
+	arg 32,loopcnt
+	isolate1 mark_eeprom_size,mark
+	call p_iic_2k_page_write_loopcnt,true
+	arg mem_iic_test_txbuf2,rega
+	arg mem_iic_test_rxbuf,regb
+	call string_compare
+	ncall p_break_ff,zero
+	
+	fetch 2,mem_iic_test_offset
+	isolate1 mark_eeprom_size,mark
+	ncall p_iic_128k_offset,true
+	call p_iic_2k_offset,true
+	store 2,mem_iic_test_offset
+
+	fetch 2,mem_iic_test_loopcnt
+	pincrease -1
+	store 2,mem_iic_test_loopcnt
+	nbranch p_iic_eeprom_test_loop,blank
+	rtn
+
+p_iic_2k_page_write:
+	arg 8,temp
+	rtn
+p_iic_2k_page_write_loopcnt:
+	arg 8,loopcnt
+	rtn
+
+p_iic_128k_offset:
+	pincrease 32
+	rtn
+p_iic_2k_offset:
+	pincrease 8
+	rtn	
+
+
+p_savelist2:
+	store 2,mem_pdatatemp
+	fetch 2,mem_seq
+	rtnbit1 9
+	lshift pdata,pdata
+	arg 0x4c00,contw
+	iadd contw,contw
+	fetch 2,mem_pdatatemp
+	istore 2,contw
+	fetch 2,mem_seq
+	increase 1,pdata
+	store 2,mem_seq
+	arg 0x1f0,temp
+	isub temp,null
+	rtn
+
+p_break_00:
+	call ice_break
+	arg 0x0000,temp
+	fetch 1,core_iicd_scl_low
+	ior temp,pdata
+	branch p_savelist2
+
+p_break_ff:
+	call ice_break
+	arg 0xff00,temp
+	fetch 1,core_iicd_scl_low
+	ior temp,pdata
+	branch p_savelist2
+
+
+p_iic_test_128k:		//5*2 = 10
+	setarg 0
+	store 2,mem_eeprom_base
+	call clear_eeprom_size_2k
+	jam gpcfg_output_low,core_gpio_conf
+
+	call p_iicd_init_25k
+	jam IIC_TEST_CNT,mem_iic_test_loopcnt2
+p_iic_test_128k_loop25k:
+	call p_iic_eeprom_128k_test
+	fetch 1,mem_iic_test_loopcnt2
+	pincrease -1
+	store 1,mem_iic_test_loopcnt2
+	nbranch p_iic_test_128k_loop25k,blank
+
+	call p_iicd_init_50k
+	jam IIC_TEST_CNT,mem_iic_test_loopcnt2
+p_iic_test_128k_loop50k:
+	call p_iic_eeprom_128k_test
+	fetch 1,mem_iic_test_loopcnt2
+	pincrease -1
+	store 1,mem_iic_test_loopcnt2
+	nbranch p_iic_test_128k_loop50k,blank
+
+	call p_iicd_init_100k
+	jam IIC_TEST_CNT,mem_iic_test_loopcnt2
+p_iic_test_128k_loop100k:
+	call p_iic_eeprom_128k_test
+	fetch 1,mem_iic_test_loopcnt2
+	pincrease -1
+	store 1,mem_iic_test_loopcnt2
+	nbranch p_iic_test_128k_loop100k,blank
+
+	call p_iicd_init_200k
+	jam IIC_TEST_CNT,mem_iic_test_loopcnt2
+p_iic_test_128k_loop200k:
+	call p_iic_eeprom_128k_test
+	fetch 1,mem_iic_test_loopcnt2
+	pincrease -1
+	store 1,mem_iic_test_loopcnt2
+	nbranch p_iic_test_128k_loop200k,blank
+
+	call p_iicd_init_400k
+	jam IIC_TEST_CNT,mem_iic_test_loopcnt2
+p_iic_test_128k_loop400k:
+	call p_iic_eeprom_128k_test
+	fetch 1,mem_iic_test_loopcnt2
+	pincrease -1
+	store 1,mem_iic_test_loopcnt2
+	nbranch p_iic_test_128k_loop400k,blank
+
+	call p_iicd_init_600k
+	jam IIC_TEST_CNT,mem_iic_test_loopcnt2
+p_iic_test_128k_loop600k:
+	call p_iic_eeprom_128k_test
+	fetch 1,mem_iic_test_loopcnt2
+	pincrease -1
+	store 1,mem_iic_test_loopcnt2
+	nbranch p_iic_test_128k_loop600k,blank
+
+	call p_iicd_init_750k
+	jam IIC_TEST_CNT,mem_iic_test_loopcnt2
+p_iic_test_128k_loop750k:
+	call p_iic_eeprom_128k_test
+	fetch 1,mem_iic_test_loopcnt2
+	pincrease -1
+	store 1,mem_iic_test_loopcnt2
+	nbranch p_iic_test_128k_loop750k,blank
+
+	call p_iicd_init_860k
+	jam IIC_TEST_CNT,mem_iic_test_loopcnt2
+p_iic_test_128k_loop860k:
+	call p_iic_eeprom_128k_test
+	fetch 1,mem_iic_test_loopcnt2
+	pincrease -1
+	store 1,mem_iic_test_loopcnt2
+	nbranch p_iic_test_128k_loop860k,blank
+
+//	call ice_break
+	rtn
+
+p_iic_test_2k:
+	setarg 0
+	store 2,mem_eeprom_base
+	call set_eeprom_size_2k
+	jam gpcfg_output_low,core_gpio_conf
+
+	call p_iicd_init_25k
+	jam IIC_TEST_CNT,mem_iic_test_loopcnt2
+p_iic_test_2k_loop25k:
+	call p_iic_eeprom_2k_test
+	fetch 1,mem_iic_test_loopcnt2
+	pincrease -1
+	store 1,mem_iic_test_loopcnt2
+	nbranch p_iic_test_2k_loop25k,blank
+
+	call p_iicd_init_50k
+	jam IIC_TEST_CNT,mem_iic_test_loopcnt2
+p_iic_test_2k_loop50k:
+	call p_iic_eeprom_2k_test
+	fetch 1,mem_iic_test_loopcnt2
+	pincrease -1
+	store 1,mem_iic_test_loopcnt2
+	nbranch p_iic_test_2k_loop50k,blank
+
+	call p_iicd_init_100k
+	jam IIC_TEST_CNT,mem_iic_test_loopcnt2
+p_iic_test_2k_loop100k:
+	call p_iic_eeprom_2k_test
+	fetch 1,mem_iic_test_loopcnt2
+	pincrease -1
+	store 1,mem_iic_test_loopcnt2
+	nbranch p_iic_test_2k_loop100k,blank
+
+	call p_iicd_init_200k
+	jam IIC_TEST_CNT,mem_iic_test_loopcnt2
+p_iic_test_2k_loop200k:
+	call p_iic_eeprom_2k_test
+	fetch 1,mem_iic_test_loopcnt2
+	pincrease -1
+	store 1,mem_iic_test_loopcnt2
+	nbranch p_iic_test_2k_loop200k,blank
+
+	call p_iicd_init_400k
+	jam IIC_TEST_CNT,mem_iic_test_loopcnt2
+p_iic_test_2k_loop400k:
+	call p_iic_eeprom_2k_test
+	fetch 1,mem_iic_test_loopcnt2
+	pincrease -1
+	store 1,mem_iic_test_loopcnt2
+	nbranch p_iic_test_2k_loop400k,blank
+
+	call p_iicd_init_600k
+	jam IIC_TEST_CNT,mem_iic_test_loopcnt2
+p_iic_test_2k_loop600k:
+	call p_iic_eeprom_2k_test
+	fetch 1,mem_iic_test_loopcnt2
+	pincrease -1
+	store 1,mem_iic_test_loopcnt2
+	nbranch p_iic_test_2k_loop600k,blank
+
+	call p_iicd_init_750k
+	jam IIC_TEST_CNT,mem_iic_test_loopcnt2
+p_iic_test_2k_loop750k:
+	call p_iic_eeprom_2k_test
+	fetch 1,mem_iic_test_loopcnt2
+	pincrease -1
+	store 1,mem_iic_test_loopcnt2
+	nbranch p_iic_test_2k_loop750k,blank
+
+	call p_iicd_init_860k
+	jam IIC_TEST_CNT,mem_iic_test_loopcnt2
+p_iic_test_2k_loop860k:
+	call p_iic_eeprom_2k_test
+	fetch 1,mem_iic_test_loopcnt2
+	pincrease -1
+	store 1,mem_iic_test_loopcnt2
+	nbranch p_iic_test_2k_loop860k,blank
+
+//	call ice_break
+	rtn
+
+
+delay_100ms:
+	call delay_10ms
+	call delay_10ms
+	call delay_10ms
+	call delay_10ms
+	call delay_10ms
+delay_50ms:	
+	call delay_10ms
+	call delay_10ms
+	call delay_10ms
+	call delay_10ms
+	branch delay_10ms
+
+/***************iic memory test****************/
+//clear_mem_5a:
+//	deposit loopcnt
+//	rtn blank
+//	setarg 0xa5
+//clear_mem_loop_5a:
+//	istore 1,contw
+//	loop clear_mem_loop_5a
+//	rtn
+
+//p_iic_memory_test:
+//	setarg 0
+//	store 2,mem_eeprom_base
+//	call clear_eeprom_size_2k
+//	jam gpcfg_output_low,core_gpio_conf
+
+//	call p_iicd_init_400k
+//	jam IIC_TEST_CNT,mem_iic_test_loopcnt2
+//p_iic_memory_test_loop:
+//	call p_iic_memory_test_nopatchmem
+//	fetch 1,mem_iic_test_loopcnt2
+//	pincrease -1
+//	store 1,mem_iic_test_loopcnt2
+//	nbranch p_iic_memory_test_loop,blank
+//	call ice_break
+//	rtn
+
+//p_iic_memory_test_nopatchmem:
+//	arg 0xffd,temp
+//	arg 0,regb
+//	arg 0x03,rega	//0x0003-0x0fff --> 0x1003-0x2000
+//	call iicd_write_eep_data
+
+//	call delay_100ms
+
+//	arg 0xffd,temp
+//	arg 0,regb
+//	arg 0x1003,rega
+//	call iicd_read_eep_data
+
+//	call delay_100ms
+
+//	arg 0xffd,loopcnt
+//	arg 0x03,rega
+//	arg 0x1003,regb
+//	call string_compare
+//	ncall ice_break,zero
+
+//	arg 0xffd,temp
+//	arg 0x2000,regb
+//	arg 0x1003,rega	//0x1003-0x2000 --> 0x0003-0x0fff
+//	call iicd_write_eep_data
+//	
+//	call delay_100ms
+
+//	arg 0xffd,temp
+//	arg 0x2000,regb
+//	arg 0x03,rega
+//	call iicd_read_eep_data
+
+//	call delay_100ms
+
+//	arg 0xffd,loopcnt
+//	arg 0x03,rega
+//	arg 0x1003,regb
+//	call string_compare
+//	ncall ice_break,zero
+
+
+//	arg 0x7e0,temp
+//	arg 0,regb
+//	arg 0x4040,rega	//0x4040-0x481f --> 0x4820-0x4fff 
+//	call iicd_write_eep_data
+//	
+//	call delay_100ms
+
+//	arg 0x7e0,temp
+//	arg 0,regb
+//	arg 0x4820,rega
+//	call iicd_read_eep_data
+
+//	call delay_100ms
+
+//	arg 0x7e0,loopcnt
+//	arg 0x4040,rega
+//	arg 0x4820,regb
+//	call string_compare
+//	ncall ice_break,zero
+
+//	arg 0x7e0,temp
+//	arg 0x2000,regb
+//	arg 0x4820,rega	//0x4820-0x4fff --> 0x4040-0x481f 
+//	call iicd_write_eep_data
+//	
+//	call delay_100ms
+
+//	arg 0x7e0,temp
+//	arg 0x2000,regb
+//	arg 0x4040,rega
+//	call iicd_read_eep_data
+
+//	call delay_100ms
+
+//	arg 0x7e0,loopcnt
+//	arg 0x4040,rega
+//	arg 0x4820,regb
+//	call string_compare
+//	ncall ice_break,zero
+
+//	rtn
+
+/***************iic memory test****************/
+
+
+/***************iic camera test****************/
+
+p_camera_mclk_init:
+	jam 0x05,mem_camera_pwm_conf		//pwm gpio5
+	jam 0x01,mem_camera_pwm_conf+1		//pwm channel1
+	jam 0x80,mem_camera_pwm_conf+2		//frequency 3MHz
+	jam 0x8d,mem_camera_pwm_conf+3
+	jam 0x5b,mem_camera_pwm_conf+4
+	jam 0x32,mem_camera_pwm_conf+5		//duty cycle 50%
+	arg 0,rega 							//sys clk 12mhz
+	call pwm_init
+	fetch 6,mem_camera_pwm_conf
+	store 6,mem_pdatatemp
+	branch pwm_out_set
+
+p_camera_RW_test:
+	call p_camera_mclk_init	//master clk:3MHz
+	call p_iicd_init_100k
+	jam 0x3e,0x8073	//gpio_power_down
+	jam 0x3f,0x8074	//gpio_reset
+	call p_camera_read_id
+	call p_camera_write_reg1
+	branch p_camera_read_reg1
+
+p_camera_write_reg1:	
+	jam 0x42,mem_camera_txbuf	//write addr
+	jam 0x01,mem_camera_txbuf+1	//register
+	jam 0xa6,mem_camera_txbuf+2	//data
+	arg mem_camera_txbuf,rega
+	arg 3,temp
+	branch iic_write_data
+
+p_camera_read_reg1:
+	jam 0x42,mem_camera_txbuf	//write addr
+	jam 0x01,mem_camera_txbuf+1	//register
+	jam 0x43,mem_camera_txbuf+2	//read addr
+	arg 1,temp
+	arg mem_camera_rxbuf,rega	//read buf
+	setarg mem_camera_txbuf
+	store 2,core_iicd_txaddr
+	setarg 3
+	store 2,core_iicd_txlen
+	storet 2,core_iicd_rxlen
+	storer rega,2,core_iicd_rxaddr
+	jam 3,core_iicd_ctrl
+	jam iicd_start,core_misc_ctrl
+	branch wait_iicd_done
+	
+p_camera_read_id:
+	jam 0x42,mem_camera_txbuf	//write addr
+	jam 0x00,mem_camera_txbuf+1	//register
+	jam 0x43,mem_camera_txbuf+2	//read addr
+	arg 1,temp
+	arg mem_camera_id,rega	//read buf
+	setarg mem_camera_txbuf
+	store 2,core_iicd_txaddr
+	setarg 3
+	store 2,core_iicd_txlen
+	storet 2,core_iicd_rxlen
+	storer rega,2,core_iicd_rxaddr
+	jam 3,core_iicd_ctrl
+	jam iicd_start,core_misc_ctrl
+	branch wait_iicd_done
+
+/***************iic camera test****************/
+
+endif
+
+
Index: program/peripherals_test/nec_test.prog
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/program/peripherals_test/nec_test.prog	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/program/peripherals_test/nec_test.prog	(working copy)
@@ -0,0 +1,61 @@
+
+ifdef COMPLIE_TEST
+
+	call pf_fpga_init
+	call mesh_uart_init
+	arg mem_mesh_Network_Key,rega
+	arg MESH_CODE_INIT,regb
+	arg 1,loopcnt
+	call logging_tx_info
+	setarg 0x1800
+	store 2,mem_pdatatemp
+	setarg 0x1c00
+	istore 2,contw
+	fetch 4,mem_pdatatemp
+	call nec61212_init
+	jam gpcfg_nec_input,core_gpio_conf+2
+	arg 0xff,regb
+	arg 1,loopcnt
+	call logging_tx_debug
+p_nec_loop:
+	arg p_nec_cb_test,regc
+	call nec_parse_nec61212
+	branch p_nec_loop
+
+pf_fpga_init:
+ 	jam clksel_xtal,core_clksel
+	rtn
+
+p_nec_cb_test:
+	nbranch p_nec_stop_packet,user
+	call uartb_prepare_tx
+	copy rege,pdata
+	branch p_nec_cb_test_repeat,blank
+	arg 0x11,temp
+	istoret 1,contwu
+	store 4,mem_nec_receive_data
+	jam 1,mem_nec_receive_flag
+	istore 4,contwu
+	branch uartb_send
+
+p_nec_cb_test_repeat:
+	fetch 1,mem_nec_receive_flag
+	rtn blank
+	arg 0x22,temp
+	istoret 1,contwu
+	fetch 4,mem_nec_receive_data
+	istore 4,contwu
+	branch uartb_send
+	
+
+p_nec_stop_packet:
+	jam 0,mem_nec_receive_flag
+	call uartb_prepare_tx
+	setarg -1
+	istore 4,contwu
+	branch uartb_send
+
+
+endif
+
+
Index: program/peripherals_test/shutter_zcode.rar
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: program/peripherals_test/shutter_zcode.rar
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: program/peripherals_test/spi_test.prog
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/program/peripherals_test/spi_test.prog	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/program/peripherals_test/spi_test.prog	(working copy)
@@ -0,0 +1,210 @@
+ifdef COMPLIE_TEST
+
+p_param_check_pass:
+	call ice_break
+	branch p_param_check_pass
+
+p_spid_flash_init:
+	call p_generate_spi_test_data_buff
+	fetch 1,core_clkoff+1
+	set0 4,pdata
+	store 1,core_clkoff+1
+	rtn
+p_spid2_flash_init:
+	call p_generate_spi2_test_data_buff
+	fetch 1,core_clkoff+1
+	set0 1,pdata
+	store 1,core_clkoff+1
+	rtn
+
+//spi test code start
+p_spid_flash_rw_test:
+	arg mem_spi_ctrl_test_param_buff,pdata
+	store 2,mem_spi_test_param_buff_addr
+p_spid_flash_rw_test_param_check:
+	fetch 2,mem_spi_test_param_buff_addr
+	copy pdata,rega
+	ifetch 1,rega
+	beq 0xff,p_param_check_pass
+	store 1,core_spid_ctrl
+	setarg 0x64
+	store 1,core_spid_delay
+//	jam 0x04,core_clksel		//clock select:04 ctystal,05 dpll, 06 rc
+p_spid_flash_start:
+	call p_spid_flash_init
+p_spid_flash_rw_test_loop:
+	call p_spid_erase_sector	
+	arg 100,loopcnt
+	copy loopcnt,regc
+p_spid_flash_rw_loop:
+	copy loopcnt,regc
+	call spid_unlock_flash
+	call p_spid_write_flash
+	call p_spid_read_flash
+	call p_spid_flash_base_increase
+	call p_flash_data_compare
+	loop p_spid_flash_rw_loop
+	fetch 2,mem_spi_test_param_buff_addr
+	increase 1,pdata
+	store 2,mem_spi_test_param_buff_addr
+	branch p_spid_flash_rw_test_param_check
+
+p_spid_erase_sector:
+	fetch 1,mem_spi_test_erase_count
+	increase 1,pdata
+	store 1,mem_spi_test_erase_count
+	setarg 0
+	store 3,mem_flash_test_base
+	fetch 3,mem_flash_test_base
+	store 3,mem_spi_write_addr
+	branch spid_flash_erase_sector
+p_spid_write_flash:
+	fetch 1,mem_spi_test_write_count
+	increase 1,pdata
+	store 1,mem_spi_test_write_count
+	arg 64,temp
+	arg mem_spi_test_data_buff,rega
+	fetch 3,mem_flash_test_base
+	branch spid_write_flash
+p_spid_read_flash:
+	fetch 1,mem_spi_test_read_count
+	increase 1,pdata
+	store 1,mem_spi_test_read_count
+	arg 64,temp
+	fetch 3,mem_flash_test_base
+	arg mem_spi_test_read_buff,rega
+	branch spid_read_flash
+p_spid_flash_base_increase:
+	fetch 3,mem_flash_base
+	arg 64,temp
+	iadd temp,pdata
+	store 3,mem_flash_base
+	rtn
+p_generate_spi_test_data_buff:
+	arg mem_spi_test_data_buff,contw
+	arg 32,loopcnt
+p_generate_spi_test_data_buff_loop:
+	fetch 4,mem_spi_test_write_buff
+	istore 4,contw
+	loop p_generate_spi_test_data_buff_loop
+	rtn
+p_flash_data_compare:
+	arg mem_spi_test_data_buff,rega
+	arg mem_spi_test_read_buff,regb
+	arg 64,loopcnt
+	call p_spid_data_compare
+	nbranch p_spid_data_error,blank
+	fetch 3,mem_spi_test_compare_data_count
+	increase 1,pdata
+	store 3,mem_spi_test_compare_data_count
+	copy regc,loopcnt
+	rtn
+p_spid_data_compare:
+	ifetch 1,rega
+	ifetcht 1,regb
+	isub temp,null
+	nrtn zero
+	increase 1,rega
+	increase 1,regb
+	loop p_spid_data_compare
+	force 0,pdata
+	rtn
+p_spid_data_error:
+	call ice_break
+	branch p_spid_data_error
+//spi test code end
+
+//spi2 test code start
+p_spid2_flash_rw_test:
+	arg mem_spi2_ctrl_test_param_buff,pdata
+	store 2,mem_spi2_test_param_buff_addr
+p_spid2_flash_rw_test_param_check:
+	fetch 2,mem_spi2_test_param_buff_addr
+	copy pdata,rega
+	ifetch 1,rega
+	beq 0xff,p_param_check_pass
+	store 1,core_spid2_ctrl
+	jam 0x0a,core_spid2_delay
+//	jam 0x04,core_clksel			//clock select:04 ctystal,05 dpll, 06 rc
+p_spid2_flash_start:
+	call p_spid2_flash_init
+p_spid2_flash_rw_test_loop:
+	call p_spid2_erase_sector	
+	arg 100,loopcnt
+	copy loopcnt,regc
+p_spid2_flash_rw_loop:
+	copy loopcnt,regc
+	call spid2_unlock_flash
+	call p_spid2_write_flash
+	call p_spid2_read_flash
+	call p_spid2_flash_base_increase
+	call p_flash2_data_compare
+	loop p_spid2_flash_rw_loop
+	branch p_spid2_flash_rw_test_param_check
+
+p_spid2_erase_sector:
+	setarg 0
+	store 3,mem_flash_test_base2
+	fetch 3,mem_flash_test_base2
+	store 3,mem_spi2_write_addr
+	branch spid2_flash_erase_sector
+p_spid2_write_flash:
+	fetch 1,mem_spi2_test_write_count
+	increase 1,pdata
+	store 1,mem_spi2_test_write_count
+	arg 64,temp
+	arg mem_spi2_test_data_buff,rega
+	fetch 3,mem_flash_test_base2
+	branch spid2_write_flash
+p_spid2_read_flash:
+	fetch 1,mem_spi2_test_read_count
+	increase 1,pdata
+	store 1,mem_spi2_test_read_count
+	arg 64,temp
+	fetch 3,mem_flash_test_base2
+	arg mem_spi2_test_read_buff,rega
+	branch spid2_read_flash
+p_spid2_flash_base_increase:
+	fetch 3,mem_flash_test_base2
+	arg 64,temp
+	iadd temp,pdata
+	store 3,mem_flash_test_base2
+	rtn
+p_generate_spi2_test_data_buff:
+	arg mem_spi2_test_data_buff,contw
+	arg 16,loopcnt
+p_generate_spi2_test_data_buff_loop:
+	fetch 4,mem_spi2_test_write_buff
+	istore 4,contw
+	loop p_generate_spi2_test_data_buff_loop
+	rtn
+p_flash2_data_compare:
+	arg mem_spi2_test_data_buff,rega
+	arg mem_spi2_test_read_buff,regb
+	arg 64,loopcnt
+	call p_spid2_data_compare
+	nbranch p_spid2_data_error,blank
+	fetch 3,mem_spi2_test_compare_data_count
+	increase 1,pdata
+	store 3,mem_spi2_test_compare_data_count
+	copy regc,loopcnt
+	rtn
+p_spid2_data_error:
+	call ice_break
+	branch p_spid2_data_error
+	
+p_spid2_data_compare:
+p_spid2_string_compare:
+	ifetch 1,rega
+	ifetcht 1,regb
+	isub temp,null
+	nrtn zero
+	increase 1,rega
+	increase 1,regb
+	loop p_spid2_string_compare
+	force 0,pdata
+	rtn
+//spi2 test code end
+
+endif
+
Index: program/peripherals_test/uart_test.prog
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/program/peripherals_test/uart_test.prog	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/program/peripherals_test/uart_test.prog	(working copy)
@@ -0,0 +1,258 @@
+
+ifdef COMPLIE_TEST
+
+	
+p_uart_test_init:
+
+	call uart_test_init_uart
+
+p_uart_test_main_loop:
+//	arg 100,loopcnt
+//	call delay_ms_wait
+	call p_uarta_test_receive_packet
+	call p_uartb_test_receive_packet
+	branch p_uart_test_main_loop
+	rtn
+
+p_uarta_test_receive_packet:
+	fetch 1,core_uart_status
+	rtnbit1 UART_STATUS_RX_FIFO_EMPTY
+	copy pdata,regb
+	call uarta_prepare_rx
+	ifetch 1,contru
+	bne 0x01,p_uart_test_hci_in_excp
+	fetch 2,core_uart_rxitems
+	sub pdata,2,null
+	rtn positive
+	ifetch 1,contru
+	store 1,mem_uart_test_opcode
+	ifetcht 1,contru
+	copy contru,rega
+	storet 1,mem_uart_test_len
+	add temp,3,temp
+	fetch 2,core_uart_rxitems
+	isub temp,temp
+	nrtn positive
+	call p_uart_test_hci_cmd_control
+	branch p_uart_test_hci_dicard_packet
+
+p_uart_test_hci_in_excp:
+	call delay_10ms
+	call uarta_prepare_tx_register_push
+	setarg 0x000f02
+	istore 3,contwu
+	call uarta_send_register_pop
+	branch p_uart_test_hci_release_except
+
+p_uart_test_hci_release_except:
+	call uarta_prepare_rx
+	fetch 2,core_uart_rxitems
+	iadd contru,contru
+	branch uarta_rxdone
+
+p_uart_test_hci_dicard_packet:
+	call uarta_prepare_rx
+	increase 2,contru
+	ifetch 1,contru
+	iadd contru,contru
+	branch uarta_rxdone
+
+p_uart_test_hci_cmd_control:
+	fetch 1,mem_uart_test_opcode
+	beq 0xfe,p_uart_test_hci_cmd_fe
+	beq 0xfd,p_uart_test_hci_cmd_modify_config
+	beq 0xfc,p_uart_test_hci_cmd_modify_parity
+	beq 0xfb,p_uart_test_hci_cmd_close_parity
+	beq 0xfa,p_uart_test_hci_cmd_set_stop_bit_size
+	rtn
+
+p_uart_test_hci_cmd_set_stop_bit_size:
+	fetch 1,core_uart_ctrl
+	and pdata,0xf7,pdata
+	ifetcht 1,contru
+	ior temp,pdata
+	store 1,core_uart_ctrl
+	rtn
+
+p_uart_test_hci_cmd_modify_parity:
+	fetch 1,core_uart_ctrl
+	and pdata,0xf9,pdata
+	ifetcht 1,contru
+	ior temp,pdata
+	store 1,core_uart_ctrl
+	rtn
+
+p_uart_test_hci_cmd_close_parity:
+	fetch 1,core_uart_ctrl
+	set0 BIT_UART_CONTROL_DATA_LENGTH,pdata
+	store 1,core_uart_ctrl
+	rtn
+
+p_uart_test_hci_cmd_modify_config:
+	fetchr loopcnt,1,mem_uart_test_len
+	call string2dec_from_uart
+	branch uarta_calc_baud_rate_config
+
+p_uart_test_hci_cmd_fe:
+	fetchr loopcnt,1,mem_uart_test_len
+	arg mem_uart_test_rx_buffer,contw
+	call uart_copy_rx_bytes_fast
+	call uarta_prepare_tx_register_push
+	setarg 0xfe01
+	istore 2,contwu
+	fetch 1,mem_uart_test_len
+	istore 1,contwu
+	copy pdata,loopcnt
+	arg mem_uart_test_rx_buffer,contr
+	call uart_copy_tx_bytes_fast
+	call uarta_send_register_pop
+	rtn
+
+
+
+p_uartb_test_receive_packet:
+	fetch 1,core_uart_status
+	rtnbit1 UARTB_STATUS_RX_FIFO_EMPTY
+	copy pdata,regb
+	call uartb_prepare_rx
+	ifetch 1,contru
+	bne 0x01,p_uartb_test_hci_in_excp
+	fetch 2,core_uartb_rxitems
+	sub pdata,2,null
+	rtn positive
+	ifetch 1,contru
+	store 1,mem_uart_test_opcode
+	ifetcht 1,contru
+	copy contru,rega
+	storet 1,mem_uart_test_len
+	add temp,3,temp
+	fetch 2,core_uartb_rxitems
+	isub temp,temp
+	nrtn positive
+	call p_uartb_test_hci_cmd_control
+	branch p_uartb_test_hci_dicard_packet
+
+p_uartb_test_hci_in_excp:
+	call delay_10ms
+	call uartb_prepare_tx_register_push
+	setarg 0x000f02
+	istore 3,contwu
+	call uartb_send_register_pop
+	branch p_uartb_test_hci_release_except
+
+p_uartb_test_hci_release_except:
+	call uartb_prepare_rx
+	fetch 2,core_uartb_rxitems
+	iadd contru,contru
+	branch uartb_rxdone
+
+p_uartb_test_hci_dicard_packet:
+	call uartb_prepare_rx
+	increase 2,contru
+	ifetch 1,contru
+	iadd contru,contru
+	branch uartb_rxdone
+
+p_uartb_test_hci_cmd_control:
+	fetch 1,mem_uart_test_opcode
+	beq 0xfe,p_uartb_test_hci_cmd_fe
+	beq 0xfd,p_uartb_test_hci_cmd_modify_config
+	beq 0xfc,p_uartb_test_hci_cmd_modify_parity
+	beq 0xfb,p_uartb_test_hci_cmd_close_parity
+	beq 0xfa,p_uartb_test_hci_cmd_set_stop_bit_size
+	rtn
+
+p_uartb_test_hci_cmd_set_stop_bit_size:
+	fetch 1,core_uartb_ctrl
+	and pdata,0xf7,pdata
+	ifetcht 1,contru
+	ior temp,pdata
+	store 1,core_uartb_ctrl
+	rtn
+
+p_uartb_test_hci_cmd_modify_parity:
+	fetch 1,core_uartb_ctrl
+	and pdata,0xf9,pdata
+	ifetcht 1,contru
+	ior temp,pdata
+	store 1,core_uartb_ctrl
+	rtn
+
+p_uartb_test_hci_cmd_close_parity:
+	fetch 1,core_uartb_ctrl
+	set0 BIT_UART_CONTROL_DATA_LENGTH,pdata
+	store 1,core_uartb_ctrl
+	rtn
+
+p_uartb_test_hci_cmd_modify_config:
+	fetchr loopcnt,1,mem_uart_test_len
+	call string2dec_from_uart
+	branch uartb_calc_baud_rate_config
+
+p_uartb_test_hci_cmd_fe:
+	fetchr loopcnt,1,mem_uart_test_len
+	arg mem_uart_test_rx_buffer,contw
+	call uart_copy_rx_bytes_fast
+	call uartb_prepare_tx_register_push
+	setarg 0xfe01
+	istore 2,contwu
+	fetch 1,mem_uart_test_len
+	istore 1,contwu
+	copy pdata,loopcnt
+	arg mem_uart_test_rx_buffer,contr
+	call uart_copy_tx_bytes_fast
+	call uartb_send_register_pop
+	rtn
+
+
+
+
+uart_test_init_uart:
+	call uart_test_init_uarta_mem
+	call uart_clock_select_main_freq_crystal
+	arg 115200,temp
+	call uarta_calc_baud_rate_config
+	jam gpcfg_uart_txd,core_gpio_conf
+	jam gpcfg_uart_rxd|gpcfg_pullup,core_gpio_conf+1
+	jam FUN_UART_CONTROL_SETTING_RATE_BAUD| FUN_UART_CONTROL_ENABLE,core_uart_ctrl
+
+	call uart_test_init_uartb_mem
+	call uart_clock_select_main_freq_crystal
+	arg 115200,temp
+	call uartb_calc_baud_rate_config
+	jam gpcfg_uartb_txd,core_gpio_conf+2
+	jam gpcfg_uartb_rxd|gpcfg_pullup,core_gpio_conf+3
+	jam FUN_UART_CONTROL_SETTING_RATE_BAUD| FUN_UART_CONTROL_ENABLE,core_uartb_ctrl
+
+	rtn
+
+uart_test_init_uarta_mem:
+	setarg 0x1c00
+	store 2,mem_uart_test_uarta_rx_start_address
+	setarg 0x1dff
+	istore 2,contw
+	setarg 0x1e00
+	istore 2,contw
+	setarg 0x1fff
+	istore 2,contw
+	call enable_user
+	fetch 8,mem_uart_test_uarta_rx_start_address
+	branch uart_init_dma_mem
+
+uart_test_init_uartb_mem:
+	setarg 0x1800
+	store 2,mem_uart_test_uarta_rx_start_address
+	setarg 0x19ff
+	istore 2,contw
+	setarg 0x1a00
+	istore 2,contw
+	setarg 0x1bff
+	istore 2,contw
+	call disable_user
+	fetch 8,mem_uart_test_uarta_rx_start_address
+	branch uart_init_dma_mem	
+
+
+endif
+
+
Index: program/peripherals_test/usb_test.prog
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/program/peripherals_test/usb_test.prog	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/program/peripherals_test/usb_test.prog	(working copy)
@@ -0,0 +1,183 @@
+ifdef COMPLIE_TEST
+
+p_usb_test:
+	call p_usb_init
+	branch usb_loop
+
+p_usb_init:
+	setarg mem_usb_txbuf
+	store 2,core_usb_tx_saddr0
+	setarg mem_usb_txbuf1
+	store 2,core_usb_tx_saddr1
+	setarg mem_usb_txbuf2
+	store 2,core_usb_tx_saddr2
+	branch usb_init+1
+usb_loop:
+	nop 10000
+	nop 10000
+	nop 10000
+	nop 10000
+	call p_usb_test_data
+	call usb_isr
+	branch usb_loop
+p_usb_test_data:
+	fetch 1,mem_usb_state
+	rtnne USB_CONNECTED
+	fetch 1,mem_usb_test_cnt
+	increase 1,pdata
+	store 1,mem_usb_test_cnt
+	sub pdata,50,null
+	branch p_x_right,positive
+	sub pdata,100,null
+	branch p_y_up,positive
+	sub pdata,150,null
+	branch p_x_left,positive
+	sub pdata,200,null
+	branch p_y_down,positive
+	rtn
+	
+p_x_right:
+	fetch 1,mem_usb_tx_enable
+	set1 2,pdata
+	store 1,mem_usb_tx_enable
+	jam USB_EP2_MS,mem_usb_ep2_data
+	setarg 1	//report id
+	store 1,mem_usb_mouse_data
+	setarg 0	//key
+	store 1,mem_usb_mouse_data+1
+	setarg 0x05	//x low
+	store 1,mem_usb_mouse_data+2
+	setarg 0	//x high
+	store 1,mem_usb_mouse_data+3
+	setarg 0	//y low
+	store 1,mem_usb_mouse_data+4
+	setarg 0	//y high
+	store 1,mem_usb_mouse_data+5
+	setarg 0	//wheel
+	store 1,mem_usb_mouse_data+6
+	setarg 0	//twheel
+	store 1,mem_usb_mouse_data+7
+	fetch 1,mem_usb_tx_enable
+	set1 1,pdata
+	store 1,mem_usb_tx_enable
+	jam USB_EP1_KB,mem_usb_ep1_data
+	fetch 1,mem_usb_test_kb
+	increase 1,pdata
+	store 1,mem_usb_test_kb
+	beq 1,p_q
+	beq 2,p_q_release
+	rtn
+
+p_q:	
+	jam 0x14,mem_usb_kb_data+3
+	rtn
+p_q_release:	
+	jam 0,mem_usb_kb_data+3
+	jam 0,mem_usb_test_kb
+	rtn
+	
+p_y_up:
+	fetch 1,mem_usb_tx_enable
+	set1 2,pdata
+	store 1,mem_usb_tx_enable
+	jam USB_EP2_MS,mem_usb_ep2_data
+	setarg 1	//report id
+	store 1,mem_usb_mouse_data
+	setarg 0	//key
+	store 1,mem_usb_mouse_data+1
+	setarg 0	//x low
+	store 1,mem_usb_mouse_data+2
+	setarg 0	//x high
+	store 1,mem_usb_mouse_data+3
+	setarg 0x05	//y low
+	store 1,mem_usb_mouse_data+4
+	setarg 0	//y high
+	store 1,mem_usb_mouse_data+5
+	setarg 0	//wheel
+	store 1,mem_usb_mouse_data+6
+	setarg 0	//twheel
+	store 1,mem_usb_mouse_data+7
+	fetch 1,mem_usb_tx_enable
+	set1 1,pdata
+	store 1,mem_usb_tx_enable
+	jam USB_EP1_KB,mem_usb_ep1_data
+	fetch 1,mem_usb_test_kb
+	increase 1,pdata
+	store 1,mem_usb_test_kb
+	beq 1,p_q
+	beq 2,p_q_release
+	rtn
+
+p_x_left:	
+	fetch 1,mem_usb_tx_enable
+	set1 2,pdata
+	store 1,mem_usb_tx_enable
+	jam USB_EP2_MS,mem_usb_ep2_data
+	setarg 1	//report id
+	store 1,mem_usb_mouse_data
+	setarg 0	//key
+	store 1,mem_usb_mouse_data+1
+	setarg 0xfb	//x
+	store 1,mem_usb_mouse_data+2
+	setarg 0xff	//x
+	store 1,mem_usb_mouse_data+3
+	setarg 0	//y low
+	store 1,mem_usb_mouse_data+4
+	setarg 0	//y high
+	store 1,mem_usb_mouse_data+5
+	setarg 0	//wheel
+	store 1,mem_usb_mouse_data+6
+	setarg 0	//twheel
+	store 1,mem_usb_mouse_data+7
+	fetch 1,mem_usb_tx_enable
+	set1 1,pdata
+	store 1,mem_usb_tx_enable
+	jam USB_EP1_KB,mem_usb_ep1_data
+	fetch 1,mem_usb_test_kb
+	increase 1,pdata
+	store 1,mem_usb_test_kb
+	beq 1,p_q
+	beq 2,p_q_release
+	rtn
+
+p_y_down:
+	fetch 1,mem_usb_test_cnt
+	beq 200,p_mem_set0
+	fetch 1,mem_usb_tx_enable
+	set1 2,pdata
+	store 1,mem_usb_tx_enable
+	jam USB_EP2_MS,mem_usb_ep2_data
+	setarg 1	//report id
+	store 1,mem_usb_mouse_data
+	setarg 0	//key
+	store 1,mem_usb_mouse_data+1
+	setarg 0	//x low
+	store 1,mem_usb_mouse_data+2
+	setarg 0	//x high
+	store 1,mem_usb_mouse_data+3
+	setarg 0xfb	//y
+	store 1,mem_usb_mouse_data+4
+	setarg 0xff	//y
+	store 1,mem_usb_mouse_data+5
+	setarg 0	//wheel
+	store 1,mem_usb_mouse_data+6
+	setarg 0	//twheel
+	store 1,mem_usb_mouse_data+7
+
+	fetch 1,mem_usb_tx_enable
+	set1 1,pdata
+	store 1,mem_usb_tx_enable
+	jam USB_EP1_KB,mem_usb_ep1_data
+	fetch 1,mem_usb_test_kb
+	increase 1,pdata
+	store 1,mem_usb_test_kb
+	beq 1,p_q
+	beq 2,p_q_release
+	rtn
+p_mem_set0:
+	jam 0,mem_usb_test_cnt
+	branch p_y_down+2
+
+endif
+
+
Index: program/rfcomm.prog
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/program/rfcomm.prog	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/program/rfcomm.prog	(working copy)
@@ -0,0 +1,873 @@
+
+ifdef COMPILE_RFCOMM
+rfcomm_init:
+	rtn wake
+	jam 0,mem_rfcomm_send_more_pkt
+	jam BITS9600,memRemoteRPNBitRate        
+	jam DATABITS8,memRemotePRNDataBits      
+	jam 0x11,memRemotePRNXon
+	jam 0x13,memRemotePRNXoff
+	setarg 0
+	store 3,memRemotePRNStopBit
+	store 1,mem_spp_state                  
+	jam 0,memui_reconnect_mode
+	//branch rfcomm_init_spp
+rfcomm_init_spp:
+	setarg 0
+	store 1,mem_spp_state
+	store 1,mem_remote_spp_channel
+	store 1,mem_pn_dlci
+	fetch 1,mem_rfcomm_credit_flag
+	beq CREDIT_ENABLE,rfcomm_init_spp_with_credit
+	jam 0x50,mem_credit_given
+	rtn
+
+rfcomm_init_spp_with_credit:
+	jam 0x00,mem_credit_given
+	rtn
+
+set_CR_bit:
+	or_into 0x02,temp
+	rtn
+
+
+/*below added by koufan*/
+
+/*rfcomm_send */
+
+
+
+	/*rfcomm_calculate_FCS_sabm*/
+	/*input: address in temp*/
+	/*output: FCS in pdata  */
+rfcomm_calculate_FCS_sabm:
+	copy temp,pdata
+	reverse pdata,pdata //address
+	store 1,memFCStemp3
+	force INI_TX_SABM,pdata
+	reverse pdata,pdata
+	store 1,memFCStemp2
+	force 0x01,pdata                        
+	reverse pdata,pdata
+	store 1,memFCStemp1
+	call caculate_fcs
+	copy temp,pdata                        
+	rtn
+rfcomm_calculate_FCS_ua:
+	reverse pdata,pdata //address
+	store 1,memFCStemp3
+	force   RSP_TX_UA, pdata
+	reverse pdata, pdata
+	store   1, memFCStemp2
+	force   0x01, pdata
+	reverse pdata, pdata
+	store   1, memFCStemp1
+	branch caculate_fcs
+	/* FCS return from temp                */
+rfcomm_calculate_FCS_dlci0:
+	fetch 1,mem_rfcomm_initiator
+	branch rfcomm_calculate_FCS_dlci0_res,blank
+	setarg 0x70 //FCS of initiator
+	rtn
+rfcomm_calculate_FCS_dlci0_res:
+	setarg 0xaa//FCS of responder
+	rtn
+	
+rfcomm_save_FCS_uih:
+	reverse pdata, pdata //address 
+	store 1,memFCStemp3                     /* contw distroided                    */
+	force RSP_RX_UIH,pdata 
+	call caculate_UIHdata_fcs
+	fetcht 2,mem_contw_temp
+	copy temp,contw
+	istore 1,contw                      /* save FCS for later use              */
+	copy contw,temp
+	storet 2,mem_contw_temp
+	force RSP_RX_UIH_WDATA,pdata             /* P/F =1 + RSP_RX_UIH                 */
+	call caculate_UIHdata_fcs
+	fetcht 2,mem_contw_temp
+	copy temp,contw
+	istore 1,contw             /* save FCS for later use              */
+	rtn	
+/**********************************************************************/
+/* This subroutine caculates the FCS for UIH data                     */
+/* Input:                                                             */
+/*        the address byte at memFCStemp3(bit reversed), control byte */
+/*        at pdata (not bit reversed)                                 */
+/* Output:                                                            */
+/*        pdata: the FCS                                              */
+/**********************************************************************/  
+caculate_UIHdata_fcs:
+	reverse pdata,pdata
+	store   1,memFCStemp2
+	fetch   2, memFCStemp2                     
+	lshift8 pdata,pdata
+	store 3,mem_mod2div_temp
+	arg     0x107,rega
+	arg 0xf,regb
+	call mod2div
+	xor_into     0xd7, pdata
+	invert  pdata,pdata
+	reverse pdata,pdata
+	rtn
+	
+/**********************************************************************/
+/* This subroutine caculates the FCS                                  */
+/* Input:                                                             */
+/*        the address byte at memFCStemp3, control byte at memFCStemp2*/  
+/*        lenght at memFCStemp1 (all above data are bit reversed)     */
+/* Output:                                                            */
+/*        temp: the FCS                                               */
+/**********************************************************************/     
+caculate_fcs:
+	fetch 3, memFCStemp1                    /* load 3 bytes start at memFCStemp1   */
+	store 3,mem_mod2div_temp
+	arg 0x107,rega
+	arg 0xf,regb  //24bit(memFCStemp1+..+memFCStemp3) - 9bit(rega) = 15bit
+	call mod2div
+	lshift8 pdata,pdata 
+	arg 0x7, regb  //16bit(lshift8 pdata,pdata ) - 9bit(rega) = 7bit
+	call mod2div
+	xor_into     0x2b, pdata		//0x3d
+	invert  pdata, pdata                        
+	reverse pdata, pdata                      /* FCS at pdata                        */
+	copy    pdata, temp
+	rtn
+
+mod2div:
+	arg 0,regc
+	copy regb,loopcnt
+	call right_shift_n // right shift pdata (regB)bit
+	icopy temp
+mod2div_loop:
+	//jam 1,0x1fff
+//mod2div_loop1:
+	//fetch 1,0x1fff
+	//nbranch mod2div_loop1,blank
+	copy temp,pdata
+	lshift regc,regc//quotient
+	bbit0 8, mod2div_not_enough_reduction//the high bit of 0x107
+	ixor rega,temp// temp----remainer
+	increase 1,regc// quotient
+mod2div_not_enough_reduction: //Minuend smaller than Subtrahend
+	lshift temp,temp
+	fetch 3,mem_mod2div_temp
+	increase -1,regb
+	compare 0xff,regb,0xff
+	branch mod2div_end,true
+	copy regb,loopcnt
+	call right_shift_n // right shift pdata (regb)bit
+	isolate1 0,pdata
+	setflag true,0,temp //move a new bit from Dividend(queue) into Minuend(pdata)
+	branch mod2div_loop
+mod2div_end:
+	//output:remainer in pdata
+	rshift  temp,pdata
+	rtn
+
+get_rfcomm_snd_adss:
+	fetcht 1,mem_pn_dlci
+dlci_to_address_cmd:
+	//input DLCI from temp
+	lshift2 temp,temp
+	set1 RFCOMM_ADDRESS_EXT_LEN,temp
+	fetch 1,mem_rfcomm_initiator
+	ncall set_CR_bit,blank
+	storet 1,mem_rfcomm_send_adss
+	rtn
+
+channel_to_dlci:
+	//input channel from temp
+	lshift temp,temp
+	fetch 1,mem_rfcomm_initiator
+	setflag blank,0,temp //direction in dlci
+	//output dlci to temp
+	rtn
+rfcomm_rx_process_DLCI0_sabm:
+	fetcht 1,mem_current_channel //address
+	jam 0xd7,mem_current_fcs //FCS
+	call rfcomm_send_ua
+	fetch 1,mem_rfcomm_state
+	set1 L2CAP_CHANNEL_RFCOMM_ONLY_SABM,pdata
+	set1 L2CAP_CHANNEL_RFCOMM_ONLY_UA,pdata
+	store 1,mem_rfcomm_state
+	jam 0,mem_rfcomm_initiator
+	branch rfcomm_rx_process_end
+rfcomm_rx_process_DLCI0_ua:
+	fetch 1,mem_rfcomm_state
+	set1 L2CAP_CHANNEL_RFCOMM_ONLY_UA,pdata
+	store 1,mem_rfcomm_state
+	branch rfcomm_rx_process_end
+
+	
+rfcomm_rx_process:
+	bpatchx patch26_7,mem_patch26
+	fetch 1,memui_reconnect_mode
+	beq NO_RECONNECTION,rfcomm_rx_process_remote_page
+	branch rfcomm_rx_process_reconn
+
+rfcomm_rx_process_remote_page:
+	fetch 2,mem_l2cap_payload_ptr
+	copy pdata,contr
+	call get_rfcomm_head_struct
+	fetch 1,mem_current_channel
+	beq 0,parse_dlci0_rp
+	branch parse_uih_rp
+parse_dlci0_rp:
+	bpatchx patch27_0,mem_patch27
+	fetch 1,mem_current_frame_type
+	beq RFCOMM_FRAME_TYPE_SABM,rfcomm_rx_process_DLCI0_sabm
+	beq RFCOMM_FRAME_TYPE_UA,rfcomm_rx_process_DLCI0_ua
+	beq RFCOMM_FRAME_TYPE_UIH,parse_DLCI0_rp_uih
+	beq RFCOMM_FRAME_TYPE_DISCONN,parse_uih_rp_spp_disconn_send_event
+	rtn
+
+
+parse_DLCI0_rp_uih:
+	fetch 2,mem_rfcomm_uih_payload_ptr
+	copy pdata,contr
+	call get_rfcomm_uih_head_struct
+	fetch 1,mem_uih_cmd_type
+	beq UIH_PARAM_NEG_CMD,parse_DLCI0_rp_uih_pn_cmd
+	beq UIH_PARAM_NEG_RES,parse_DLCI0_rp_uih_pn_res
+	beq UIH_MODEM_STATUS_CMD,parse_DLCI0_rp_uih_ms_cmd
+	beq UIH_MODEM_STATUS_RES,parse_DLCI0_rp_uih_ms_res
+	beq UIH_PARAM_CMD_REMOVE_PORT,parse_DLCI0_rp_uih_cmd_port	
+	branch rfcomm_rx_process_end
+	
+parse_DLCI0_rp_uih_pn_cmd:
+	call parse_DLCI0_rp_uih_pn_res_common
+
+	branch parse_DLCI0_rp_uih_pn_cmd_spp
+
+parse_DLCI0_rp_uih_pn_cmd_spp:
+	fetch 1,mem_spp_state
+	set1 RFCOMM_CHANNEL_STATE_PN_CMD,pdata
+	set1 RFCOMM_CHANNEL_STATE_PN_RES,pdata
+	store 1,mem_spp_state
+	call rfcomm_send_param_neg_res
+	branch rfcomm_rx_process_end
+	
+parse_DLCI0_rp_uih_pn_res:
+	call parse_DLCI0_rp_uih_pn_res_common
+	branch rfcomm_rx_process_end
+
+parse_DLCI0_rp_uih_pn_res_common:
+	call get_param_payload_ptr
+	branch  get_rfcomm_prarmer_negotiation
+
+get_rfcomm_param_modem_status:
+	call get_param_payload_ptr
+	ifetch 1,contr
+	rshift3 pdata,pdata
+	store 1,mem_ms_channel
+	ifetch 1,contr
+	store 1,mem_ms_param
+	rtn
+
+
+get_rfcomm_head_struct:
+	ifetch 1,contr
+	store 1,mem_current_adss
+	rshift3 pdata,pdata
+	store 1,mem_current_channel
+	ifetch 1,contr
+	store 1,mem_current_frame_type
+get_rfcomm_current_length:
+	call get_rfcomm_length_common
+	storet 2,mem_current_length
+	copy contr,pdata
+	store 2,mem_rfcomm_uih_payload_ptr
+	rtn
+
+get_rfcomm_uih_head_struct:
+	ifetch 1,contr
+	rshift pdata,pdata
+	store 1,mem_uih_cmd_type
+	call get_rfcomm_length_common
+	storet 2,mem_uih_length
+	copy contr,pdata
+	store 2,mem_param_payload_ptr
+	rtn
+
+
+get_param_payload_ptr:
+	fetch 2,mem_param_payload_ptr
+	copy pdata,contr
+	rtn
+
+get_rfcomm_length_common:
+	ifetch 1,contr
+	copy pdata,temp
+	rshift temp,temp
+	rtnbit1 0
+	ifetch 1,contr
+	lshift3 pdata,pdata
+	lshift4 pdata,pdata
+	iadd temp,temp
+	rtn
+
+get_rfcomm_prarmer_negotiation:
+	ifetch 1,contr
+	store 1,mem_pn_dlci
+	ifetch 1,contr
+	store 1,mem_pn_credit_flow_type_info
+	ifetch 1,contr
+	store 1,mem_pn_priority
+	ifetch 1,contr
+	store 1,mem_pn_acknowledg_timer
+	ifetch 2,contr
+	store 2,mem_pn_max_frame_size
+	ifetch 1,contr
+	store 1,mem_pn_max_retrans
+	ifetch 1,contr
+	store 1,mem_remote_credits
+	rtn
+
+
+parse_DLCI0_rp_uih_ms_cmd:
+	call get_rfcomm_param_modem_status
+
+	branch parse_DLCI0_rp_uih_ms_cmd_spp
+
+parse_DLCI0_rp_uih_ms_cmd_spp:
+	fetch 1,mem_spp_state
+	set1 RFCOMM_CHANNEL_STATE_RCV_MS_CMD,pdata
+	set1 RFCOMM_CHANNEL_STATE_SND_MS_RES,pdata
+	store 1,mem_spp_state
+	fetcht 1,mem_pn_dlci
+	lshift2 temp,temp
+	or_into 3,temp
+	call rfcomm_send_modem_status_res
+	jam MORE_PKT_MSC_CMD_SPP,mem_rfcomm_send_more_pkt
+	branch rfcomm_rx_process_end
+	
+parse_DLCI0_rp_uih_ms_res:
+	jam BT_EVT_SPP_CONNECTED,mem_fifo_temp
+	call ui_ipc_send_event
+	call get_rfcomm_param_modem_status
+	fetch 1,mem_ms_channel
+	sub pdata,1,null
+	branch parse_DLCI0_rp_uih_MS_RES_spp,zero
+	branch assert
+parse_DLCI0_rp_uih_ms_res_spp:
+	fetch 1,mem_spp_state
+	set1 RFCOMM_CHANNEL_STATE_RCV_MS_RES,pdata
+	store 1,mem_spp_state
+	branch rfcomm_rx_process_end
+
+parse_DLCI0_rp_uih_cmd_port:
+	call get_param_payload_ptr
+	ifetch 1,contr
+	store 1,mem_rpn_dlci
+	call l2cap_malloc_rfcomm_channel
+	call l2cap_get_rfcomm_tx_buff
+	setarg 0x000e
+	istore 2,contw //l2cap len
+	fetch 2,mem_rfcomm_remote_cid
+	istore 2,contw//cid
+	fetch 1,mem_rfcomm_initiator
+	//setarg 5
+	lshift pdata,pdata
+	set1 0,pdata //ext len
+	istore 1,contw //DLCI0 address
+	bpatchx patch27_1,mem_patch27
+	setarg 0x15ef
+	istore 2,contw
+	setarg 0x1191
+	istore 2,contw
+	//fetch 1,mem_pn_dlci
+	//setarg 0x0b
+	fetch 1,mem_rpn_dlci
+	istore 1,contw //DLCI
+	setarg 0x000007
+	istore 5,contw
+//	setarg 0 //max frame size
+//	istore 2,contw 
+	setarg 0x01 //max retrans
+	istore 2,contw
+//	setarg 0x00
+//	istore 1,contw // init credits
+	call rfcomm_calculate_FCS_dlci0
+	istore 1,contw
+	rtn
+
+
+
+parse_uih_rp:
+	branch parse_uih_rp_spp
+
+parse_uih_rp_spp:
+	bpatchx patch27_2,mem_patch27
+	fetch 1,mem_current_frame_type
+	beq RFCOMM_FRAME_TYPE_UA,parse_uih_rp_spp_ua
+	beq RFCOMM_FRAME_TYPE_SABM,parse_uih_rp_spp_sabm
+	beq RFCOMM_FRAME_TYPE_UIH,parse_uih_spp_uih
+	beq RFCOMM_FRAME_TYPE_UIH_CREDITS,parse_uih_spp_uih_credits
+	beq RFCOMM_FRAME_TYPE_DISCONN,parse_uih_rp_spp_disconn
+	rtn
+parse_uih_rp_spp_ua:
+	fetch 1,mem_spp_state
+	set1 RFCOMM_CHANNEL_STATE_UA,pdata
+	store 1,mem_spp_state
+	branch rfcomm_rx_process_end
+parse_uih_rp_spp_sabm:
+	fetch 1,mem_spp_state
+	set1 RFCOMM_CHANNEL_STATE_UA,pdata
+	set1 RFCOMM_CHANNEL_STATE_SABM,pdata
+	store 1,mem_spp_state
+	fetch 1,mem_current_adss
+	call rfcomm_calculate_FCS_ua
+	store 1,mem_current_fcs
+	call rfcomm_send_ua
+	fetch 1,mem_current_adss
+	rshift2 pdata,pdata
+	store 1,mem_pn_dlci
+	lshift2 pdata,pdata
+	set0 RFCOMM_ADDRESS_CR,pdata
+	set1 RFCOMM_ADDRESS_EXT_LEN,pdata 
+	arg mem_HIUfcs_spp,temp // mem_HIUfcs_HF_WCredits in regb++
+	storet 2,mem_contw_temp
+	call rfcomm_save_FCS_uih
+	branch rfcomm_rx_process_end
+	
+parse_uih_spp_uih_credits:
+	fetch 2,mem_rfcomm_uih_payload_ptr
+	copy pdata,contr
+	increase 1,pdata
+	store 2,mem_rfcomm_uih_payload_ptr
+	ifetch 1,contr //remote credits
+	fetcht 1,mem_remote_credits
+	iadd temp,pdata
+	store 1,mem_remote_credits
+parse_uih_spp_uih:
+	call rfcomm_increase_credit_given
+parse_uih_spp_uih_cont:
+	call get_rfcomm_snd_adss
+	call rfcomm_send_uih_without_payload
+	call spp_process_rx_data
+	branch rfcomm_rx_process_end
+
+parse_uih_rp_spp_disconn_send_event:
+	jam BT_EVT_SPP_DISCONNECTED,mem_fifo_temp
+	call ui_ipc_send_event	
+parse_uih_rp_spp_disconn:
+	call rfcomm_init_spp
+	fetch 1,mem_current_adss
+	call rfcomm_calculate_FCS_ua
+	store 1,mem_current_fcs
+	call rfcomm_send_ua
+	branch rfcomm_rx_process_end
+	
+///////////////////////////////////////////
+///////////////////////////////////////////
+///////////////////////////////////////////
+rfcomm_rx_process_reconn:
+	fetch 2,mem_l2cap_payload_ptr
+	copy pdata,contr
+	call get_rfcomm_head_struct
+	fetch 1,mem_current_channel
+	beq 0,parse_DLCI0_reconn
+	branch parse_uih_reconn
+		
+parse_DLCI0_reconn:
+	bpatchx patch27_3,mem_patch27
+	fetch 1,mem_current_frame_type
+	beq RFCOMM_FRAME_TYPE_SABM,rfcomm_rx_process_DLCI0_sabm
+	beq RFCOMM_FRAME_TYPE_UA,rfcomm_rx_process_DLCI0_ua
+	beq RFCOMM_FRAME_TYPE_UIH,parse_DLCI0_reconn_uih
+	branch rfcomm_rx_process_end
+parse_DLCI0_reconn_uih:
+	fetch 2,mem_rfcomm_uih_payload_ptr
+	copy pdata,contr
+	call get_rfcomm_uih_head_struct
+	fetch 1,mem_uih_cmd_type
+	beq UIH_PARAM_NEG_CMD,parse_DLCI0_reconn_uih_pn_cmd
+	beq UIH_PARAM_NEG_RES,parse_DLCI0_reconn_uih_pn_cmd
+	beq UIH_MODEM_STATUS_CMD,parse_DLCI0_reconn_uih_ms_cmd
+	beq UIH_MODEM_STATUS_RES,parse_DLCI0_reconn_uih_ms_res
+	branch rfcomm_rx_process_end
+
+parse_DLCI0_reconn_uih_pn_cmd:
+	call parse_DLCI0_rp_uih_pn_res_common
+	fetch 1,mem_pn_dlci
+	rshift pdata,pdata
+	fetcht 1,mem_remote_spp_channel
+	isub temp,null
+	branch parse_DLCI0_reconn_uih_pn_cmd_spp,zero
+	branch assert
+parse_DLCI0_reconn_uih_pn_cmd_spp:
+	fetch 1,mem_spp_state
+	set1 RFCOMM_CHANNEL_STATE_PN_RES,pdata
+	store 1,mem_spp_state
+	branch rfcomm_rx_process_end
+
+parse_DLCI0_reconn_uih_ms_cmd:
+	call get_rfcomm_param_modem_status
+	fetch 1,mem_ms_channel
+	fetcht 1,mem_remote_spp_channel
+	isub temp,null
+	branch parse_DLCI0_reconn_uih_ms_cmd_spp,zero
+	branch assert
+	branch rfcomm_rx_process_end
+parse_DLCI0_reconn_uih_ms_cmd_spp:
+	fetch 1,mem_spp_state
+	set1 RFCOMM_CHANNEL_STATE_RCV_MS_CMD,pdata
+	set1 RFCOMM_CHANNEL_STATE_SND_MS_RES,pdata
+	store 1,mem_spp_state
+	fetcht 1,mem_pn_dlci
+	lshift2 temp,temp
+	or_into 3,temp
+	call rfcomm_send_modem_status_res
+	branch rfcomm_rx_process_end
+	
+parse_DLCI0_reconn_uih_ms_res:
+	call get_rfcomm_param_modem_status
+	fetch 1,mem_ms_channel
+	fetcht 1,mem_remote_spp_channel
+	isub temp,null
+	branch parse_DLCI0_reconn_uih_ms_res_spp,zero
+	branch assert
+parse_DLCI0_reconn_uih_ms_res_spp:
+	fetch 1,mem_spp_state
+	set1 RFCOMM_CHANNEL_STATE_RCV_MS_RES,pdata
+	store 1,mem_spp_state
+	branch rfcomm_rx_process_end
+
+parse_uih_reconn:
+	fetch 1,mem_current_channel
+	fetcht 1,mem_remote_spp_channel
+	isub temp,null
+	branch parse_uih_reconn_spp,zero
+	branch assert
+	branch rfcomm_rx_process_end
+
+parse_uih_reconn_spp:
+	fetch 1,mem_current_frame_type
+	beq RFCOMM_FRAME_TYPE_UA,parse_uih_reconn_spp_ua
+	beq RFCOMM_FRAME_TYPE_UIH,parse_uih_spp_uih
+	beq RFCOMM_FRAME_TYPE_UIH_CREDITS,parse_uih_spp_uih_credits
+	beq RFCOMM_FRAME_TYPE_DISCONN,parse_uih_reconn_spp_disconn
+parse_uih_reconn_spp_ua:
+	fetch 1,mem_spp_state
+	set1 RFCOMM_CHANNEL_STATE_UA,pdata
+	store 1,mem_spp_state
+	branch rfcomm_rx_process_end
+parse_uih_reconn_spp_sabm:
+	branch parse_uih_reconn_spp_sabm//loop
+parse_uih_reconn_spp_disconn:
+	branch parse_uih_rp_spp_disconn
+rfcomm_rx_process_end:
+	rtn
+	
+rfcomm_send_more_pkt:
+	fetch 1,mem_rfcomm_send_more_pkt
+	rtn blank
+	beq MORE_PKT_MSC_CMD_SPP,rfcomm_send_more_pkt_msc_cmd_spp
+	branch assert
+	
+rfcomm_send_more_pkt_msc_cmd_spp:
+	jam 0,mem_rfcomm_send_more_pkt
+	call l2cap_malloc_rfcomm_channel
+	arg SPP_SLAVE_CHANNEL,temp
+	fetcht 1,mem_pn_dlci
+	lshift2 temp,temp
+rfcomm_send_more_pkt_msc_cmd_spp0:
+	or_into 0x03,temp
+	arg 0xaa,rega
+	call rfcomm_send_modem_status_cmd
+	call l2cap_get_rfcomm_tx_buff
+	copy contw,contr
+	ifetch 2, contr
+	branch assert,blank
+	rtn
+
+rfcomm_send_sabm:
+	call l2cap_get_rfcomm_tx_buff
+	setarg 0x0004
+	istore 2,contw //l2cap len
+	fetch 2,mem_rfcomm_remote_cid
+	istore 2,contw//cid
+	fetch 1,mem_current_adss
+	istore 1,contw //address
+	bpatchx patch27_4,mem_patch27
+	setarg 0x013f
+	istore 2,contw
+	fetch 1,mem_current_fcs
+	istore 1,contw
+	rtn
+rfcomm_send_ua:
+	call l2cap_malloc_rfcomm_channel
+	call l2cap_get_rfcomm_tx_buff
+	setarg 0x0004
+	istore 2,contw //l2cap len
+	fetch 2,mem_rfcomm_remote_cid
+	istore 2,contw//cid
+	fetch 1,mem_current_adss
+	istore 1,contw //address
+	bpatchx patch27_5,mem_patch27
+	setarg 0x0173
+	istore 2,contw
+	fetch 1,mem_current_fcs
+	istore 1,contw
+	rtn
+rfcomm_send_param_neg_cmd:
+	call l2cap_get_rfcomm_tx_buff
+	setarg 0x000e
+	istore 2,contw //l2cap len
+	fetch 2,mem_rfcomm_remote_cid
+	istore 2,contw//cid
+	fetch 1,mem_rfcomm_initiator
+	lshift pdata,pdata
+	set1 0,pdata //ext len
+	istore 1,contw //DLCI0 address
+	bpatchx patch27_6,mem_patch27
+	setarg 0x15ef
+	istore 2,contw
+	setarg 0x1183
+	istore 2,contw
+	copy temp,pdata //DLCI in temp
+	istore 1,contw
+	setarg 0x0000f0
+	istore 3,contw
+	setarg RFCOMM_MAX_FRAME_SIZE
+	istore 2,contw
+	setarg 0
+	istore 1,contw
+	setarg 0x01		//change here later
+	istore 1,contw
+	call rfcomm_calculate_FCS_dlci0
+	istore 1,contw
+	jam 0x10,mem_credit_given
+	rtn
+rfcomm_send_param_neg_res:
+	call l2cap_malloc_rfcomm_channel
+	call l2cap_get_rfcomm_tx_buff
+	setarg 0x000e
+	istore 2,contw //l2cap len
+	fetch 2,mem_rfcomm_remote_cid
+	istore 2,contw//cid
+	fetch 1,mem_rfcomm_initiator
+	lshift pdata,pdata
+	set1 0,pdata //ext len
+	istore 1,contw //DLCI0 address
+	bpatchx patch27_7,mem_patch27
+	setarg 0x15ef
+	istore 2,contw
+	setarg 0x1181
+	istore 2,contw
+	fetch 1,mem_pn_dlci
+	istore 1,contw //DLCI
+	setarg 0x0000e0
+	istore 3,contw
+	fetch 2,mem_rfcomm_max_frame_size
+	istore 2,contw 
+	setarg 0x00 //max retrans
+	istore 1,contw
+	fetch 1,mem_rfcomm_credit_init_data
+	istore 1,contw // init credits
+	call rfcomm_calculate_FCS_dlci0
+	istore 1,contw
+	rtn
+rfcomm_send_modem_status_cmd:
+	call l2cap_get_rfcomm_tx_buff
+	setarg 0x0008
+	istore 2,contw //l2cap len
+	fetch 2,mem_rfcomm_remote_cid
+	istore 2,contw//cid
+	fetch 1,mem_rfcomm_initiator
+	lshift pdata,pdata
+	set1 0,pdata //ext len
+	istore 1,contw //DLCI0 address
+	bpatchx patch28_0,mem_patch28
+	setarg 0x09ef
+	istore 2,contw
+	setarg 0x05e3
+	istore 2,contw
+	copy temp,pdata //DLCI adress
+	istore 1,contw
+	setarg 0x8d
+	istore 1,contw
+	call rfcomm_calculate_FCS_dlci0
+	istore 1,contw
+	rtn
+
+rfcomm_send_modem_status_res:
+	call l2cap_malloc_rfcomm_channel
+	call l2cap_get_rfcomm_tx_buff
+	setarg 0x0008
+	istore 2,contw //l2cap len
+	fetch 2,mem_rfcomm_remote_cid
+	istore 2,contw//cid
+	copy temp,timeup
+	fetch 1,mem_rfcomm_initiator
+	lshift pdata,pdata
+	set1 0,pdata //ext len
+	istore 1,contw //DLCI0 address
+	bpatchx patch28_1,mem_patch28
+	setarg 0x09ef
+	istore 2,contw
+	setarg 0x05e1
+	istore 2,contw
+	copy timeup,pdata //DLCI address in temp
+	istore 1,contw
+	setarg 0x8d
+	istore 1,contw
+	call rfcomm_calculate_FCS_dlci0
+	istore 1,contw
+	rtn
+
+rfcomm_send_uih_without_payload:
+	bpatchx patch28_2,mem_patch28
+	fetch 1,mem_credit_given
+	rtn blank
+	fetch 2,core_uart_rxitems
+	nrtn blank
+	copy rega,pdata
+	store 1,mem_pdatatemp+1
+	storet 1,mem_pdatatemp
+	call l2cap_malloc_is_fifo_full
+	nrtn blank
+	call l2cap_malloc_rfcomm_channel
+	call l2cap_get_rfcomm_tx_buff
+	setarg 0x05
+	istore 2,contw
+	fetch 2,mem_RFCOMM_remote_CID
+	istore 2,contw
+	fetch 1,mem_rfcomm_send_adss
+	istore 1,contw
+	setarg 0x01ff
+	istore 2,contw
+	fetch 1,mem_credit_given
+	istore 1,contw
+	fetch 1,mem_HIUfcs_SPP_WCredits
+	istore 1,contw
+	jam 0,mem_credit_given
+	rtn
+	
+rfcomm_increase_credit_given:
+	bpatchx patch28_3,mem_patch28
+	fetch 1,mem_rfcomm_credit_flag
+	rtneq CREDIT_ENABLE
+	fetch 2,mem_current_length
+	rtn blank
+	fetch 1,mem_credit_given
+	increase 1,pdata
+	store 1,mem_credit_given
+	rtn
+
+spp_process_rx_data:
+	fetch 2,mem_cb_receive_spp_data
+	branch callback_func
+
+spp_tx_rfcomm_packet:
+	bpatchx patch28_4,mem_patch28
+	//credit
+	fetch 1,mem_remote_credits
+	rtn blank
+	increase -1,pdata
+	store 1,mem_remote_credits
+	fetch 2,mem_pn_max_frame_size
+	fetcht 2,mem_current_packet_length
+	isub temp,null
+	branch ssp_tx_rfcomm_from_uart,positive
+	store 2,mem_current_packet_length
+ssp_tx_rfcomm_from_uart:
+	fetch 1,mem_credit_given
+	branch ssp_tx_rfcomm_from_uart_without_credit,blank
+	jam 1,mem_rfcomm_send_offset
+	fetch 1,mem_HIUfcs_SPP_WCredits
+	store 1,mem_rfcomm_send_fcs
+	setarg RSP_RX_UIH_WDATA
+	store 1,mem_rfcomm_send_frame_type
+	branch ssp_tx_rfcomm_from_uart_common
+ssp_tx_rfcomm_from_uart_without_credit:
+	jam 0,mem_rfcomm_send_offset
+	fetch 1,mem_HIUfcs_SPP
+	store 1,mem_rfcomm_send_fcs
+	setarg RSP_TX_UIH
+	store 1,mem_rfcomm_send_frame_type
+ssp_tx_rfcomm_from_uart_common:
+	bpatchx patch28_5,mem_patch28
+	fetch 2,mem_current_packet_length
+	sub pdata,127,null
+	branch ssp_tx_rfcomm_from_uart_common0,positive
+	fetch 1,mem_rfcomm_send_offset
+	increase 1,pdata
+	store 1,mem_rfcomm_send_offset
+ssp_tx_rfcomm_from_uart_common0:
+	call get_rfcomm_snd_adss
+	fetch 2,mem_current_packet_length
+	increase 8,pdata	//fcs + rfcommhead + l2caphead == 8
+	fetcht 1,mem_rfcomm_send_offset
+	iadd temp,rega
+	//rfcomm payload
+	call l2cap_malloc
+	store 2,mem_rfcomm_tx_buff_ptr
+	increase 4,pdata
+	store 2,mem_rfcomm_tx_payload_ptr
+	copy pdata,contw
+	fetch 1,mem_rfcomm_send_adss
+	istore 1,contw
+	fetch 1,mem_rfcomm_send_frame_type
+	istore 1,contw
+	call ssp_tx_write_length
+	call ssp_tx_write_given_credit
+	bpatchx patch28_6,mem_patch28
+	fetch 2,mem_nl_rx_data_src		//src
+	copy pdata,contu
+	fetch 2,mem_current_packet_length
+	copy pdata,loopcnt
+	call uart_copy_rx_bytes_fast
+	copy contw,temp
+	copy contu,pdata
+	store 2,mem_nl_rx_data_src
+	copy temp,contw	
+	fetch 1,mem_rfcomm_send_fcs
+	istore 1,contw
+	fetch 2,mem_rfcomm_tx_buff_ptr
+	copy pdata,contw
+	fetch 2,mem_current_packet_length
+	fetcht 1,mem_rfcomm_send_offset
+	iadd temp,pdata
+	increase 4,pdata
+	istore 2,contw
+	fetch 2,mem_rfcomm_remote_cid
+	istore 2,contw
+	jam 0,mem_credit_given	//whatever mem_credit_given is set to 0
+	fetch 2,mem_nl_rx_len_all
+	beq 0,module_hci_command_tx_spp_tx_complete
+	jam HCI_NOT_DISCARD_PACKET,mem_module_temp_nl_discard_packet
+	rtn
+
+ssp_tx_write_length:
+	bpatchx patch28_7,mem_patch28
+	fetch 2,mem_current_packet_length
+	sub pdata,0x7f,null
+	nbranch ssp_tx_write_long_packet,positive
+	lshift pdata,pdata
+	set1 0,pdata
+	istore 1,contw
+	rtn
+ssp_tx_write_long_packet:
+	fetch 2,mem_current_packet_length
+	rshift3 pdata,pdata
+	rshift4 pdata,temp
+	and_into 0x7f,pdata
+	lshift pdata,pdata
+	set0 0,pdata
+	istore 1,contw
+	istoret 1,contw
+	rtn
+ssp_tx_write_given_credit:
+	fetch 1,mem_credit_given
+	rtn blank
+	istore 1,contw
+	rtn
+
+	
+
+
+else
+
+endif
Index: program/scheduler.prog
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/program/scheduler.prog	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/program/scheduler.prog	(working copy)
@@ -0,0 +1,460 @@
+scheduler_process:
+	bpatchx patch29_0,mem_patch29
+	call check_51cmd
+	call app_process_bb_event
+	call process_conn_sm
+/* check the connection state sequence byte */
+	bpatchx patch29_1,mem_patch29
+ifdef SIMPLE_PAIRING
+	call sp_calc_sequence
+	call simple_pairing_sequence
+	call master_simple_paring_sequence
+endif
+//return if it is hci mode. 'cause the following is host part.
+//notify BB to tx a l2cap packet
+	call l2cap_malloc_is_fifo_full
+	nrtn blank
+	//for conn to MTK 
+	call l2cap_call_proc_sigal_pending
+	call l2cap_malloc_is_fifo_full
+	nrtn blank
+	bpatchx patch29_2,mem_patch29
+//to generat a new l2cap packet
+	call process_upper_sm
+	call l2cap_send_config_req
+ifdef COMPILE_RFCOMM
+	call rfcomm_send_more_pkt//use this function to send msc_cmd after msc_rep sent
+endif
+scheduler_process0:
+	call scheduler_tx_disconnect_hid //may not used
+	bpatchx patch29_3,mem_patch29
+//	call l2cap_malloc_is_fifo_full
+//	nrtn blank
+	branch app_process_bt
+	
+scheduler_tx_disconnect_hid:
+	fetch 1,mem_CONTROL_tasks		
+	bbit1 L2CAP_DISCONNECT_INTERRUPT,L2CAP_disconnect_interrupt_req
+	bbit1 L2CAP_DISCONNECT_CONTROL,L2CAP_disconnect_control_req
+	rtn
+	
+scheduler_tx_l2cap_pkt:
+	bpatchx patch29_4,mem_patch29
+	call l2cap_malloc_is_fifo_empty
+	rtn blank //empty
+	fetch 1,mem_op
+	rtnbit1 op_txl2cap
+	call l2cap_malloc_fifo_out
+	store 2,mem_txptr
+	copy pdata,contr
+	ifetch 2,contr
+	increase 4,pdata
+	store 2,mem_tx_len
+	jam 6,mem_tx_lch//start pkt
+	bpatchx patch29_5,mem_patch29
+	fetch 2,mem_l2cap_tx_multi_offset
+	branch scheduler_tx_l2cap_start_pkt,blank
+	fetch 1,mem_op
+	rtnbit0 op_pkt_comp
+	set0 op_pkt_comp,pdata
+	store 1,mem_op
+	jam 5,mem_tx_lch//continue pkt
+	fetcht 2,mem_l2cap_tx_multi_offset
+	fetch 2,mem_txptr
+	iadd temp,pdata
+	store 2,mem_txptr
+	fetch 2,mem_tx_len
+	isub temp,pdata
+	store 2,mem_tx_len
+scheduler_tx_l2cap_start_pkt:
+	fetch 2,mem_tx_len
+	branch assert,blank
+	arg l2cap_max_pkt_len,temp //max len of dh3 pkt
+	isub temp,pdata
+	branch scheduler_Tx_l2cap_last_pkt,zero
+	nbranch scheduler_Tx_l2cap_last_pkt,positive
+	storet 2,mem_tx_len //l2cap_max_pkt_len
+	fetch 2,mem_l2cap_tx_multi_offset
+	iadd temp,pdata
+	store 2,mem_l2cap_tx_multi_offset
+	branch scheduler_Tx_l2cap_pkt_end
+scheduler_Tx_l2cap_last_pkt:
+	setarg 0
+	store 2,mem_l2cap_tx_multi_offset
+scheduler_Tx_l2cap_pkt_end:
+	fetch 1,mem_op
+	set1 op_txl2cap,pdata
+	store 1,mem_op
+	rtn
+
+scheduler_start_upper_sm:
+	fetch 1,mem_UI_profile_supported
+	bbit1 support_HID,scheduler_start_upper_sm_hid
+	jam UPPERSM_RECONN_SDP_CONN,mem_upper_sm_reconn
+	rtn
+scheduler_start_upper_sm_hid:
+	jam UPPERSM_RECONN_HID_CTRL_CONN,mem_upper_sm_reconn
+	rtn
+	
+process_upper_sm:
+	fetch 1,memui_reconnect_mode
+	nbranch process_upper_sm_reconn,blank
+process_upper_sm_remote_page:
+	fetch 1,mem_upper_sm_remote_page
+	//beq UPPERSM_RP_IDLE,process_upper_sm_rp_idle
+	rtn blank
+	//nothing to do when remote page to create a connection.
+	jam 0,mem_upper_sm_remote_page
+process_upper_sm_rp_wait:
+	rtn
+
+
+process_upper_sm_reconn:
+	bpatchx patch29_6,mem_patch29
+	fetch 1,mem_upper_sm_reconn
+	rtn blank
+	beq UPPERSM_RECONN_SDP_CONN,process_upper_sm_reconn_sdp_conn
+	beq UPPERSM_RECONN_SDP_CONN_WAIT,process_upper_sm_reconn_sdp_conn_wait
+	beq UPPERSM_RECONN_SDP_CFG,process_upper_sm_reconn_sdp_cfg
+	beq UPPERSM_RECONN_SDP_CFG_WAIT,process_upper_sm_reconn_sdp_cfg_wait
+	beq UPPERSM_RECONN_SS_SPP,process_upper_sm_reconn_ss_spp
+	beq UPPERSM_RECONN_SS_SPP_WAIT,process_upper_sm_reconn_ss_spp_wait
+	beq UPPERSM_RECONN_SDP_DISCONN,process_upper_sm_reconn_sdp_disconn
+	beq UPPERSM_RECONN_SDP_DISCONN_WAIT,process_upper_sm_reconn_sdp_disconn_wait
+	beq UPPERSM_RECONN_HID_CTRL_CONN,process_upper_sm_reconn_hid_ctrl_conn
+	beq UPPERSM_RECONN_HID_CTRL_CONN_WAIT,process_upper_sm_reconn_hid_ctrl_conn_wait
+	beq UPPERSM_RECONN_HID_CTRL_CFG,process_upper_sm_reconn_hid_ctrl_cfg
+	beq UPPERSM_RECONN_HID_CTRL_CFG_WAIT,process_upper_sm_reconn_hid_ctrl_cfg_wait
+	beq UPPERSM_RECONN_HID_INT_CONN,process_upper_sm_reconn_hid_int_conn
+	beq UPPERSM_RECONN_HID_INT_CONN_WAIT,process_upper_sm_reconn_hid_int_conn_wait
+	beq UPPERSM_RECONN_HID_INT_CFG,process_upper_sm_reconn_hid_int_cfg
+	beq UPPERSM_RECONN_HID_INT_CFG_WAIT,process_upper_sm_reconn_hid_int_cfg_wait
+	beq UPPERSM_RECONN_RFCOMM_CONN,process_upper_sm_reconn_rfcomm_conn
+	beq UPPERSM_RECONN_RFCOMM_CONN_WAIT,process_upper_sm_reconn_rfcomm_conn_wait
+	beq UPPERSM_RECONN_RFCOMM_CFG,process_upper_sm_reconn_rfcomm_cfg
+	beq UPPERSM_RECONN_RFCOMM_CFG_WAIT,process_upper_sm_reconn_rfcomm_cfg_wait
+	beq UPPERSM_RECONN_RFCOMM_SABM,process_upper_sm_reconn_rfcomm_sabm
+	beq UPPERSM_RECONN_RFCOMM_SABM_WAIT,process_upper_sm_reconn_rfcomm_sabm_wait
+	beq UPPERSM_RECONN_SPP_CMD_PN,process_upper_sm_reconn_spp_cmd_pn
+	beq UPPERSM_RECONN_SPP_CMD_PN_WAIT,process_upper_sm_reconn_spp_cmd_pn_wait
+	beq UPPERSM_RECONN_SPP_SABM,process_upper_sm_reconn_spp_sabm
+	beq UPPERSM_RECONN_SPP_SABM_WAIT,process_upper_sm_reconn_spp_sabm_wait
+	beq UPPERSM_RECONN_SPP_CMD_MS,process_upper_sm_reconn_spp_cmd_ms
+	beq UPPERSM_RECONN_SPP_CMD_MS_WAIT,process_upper_sm_reconn_spp_cmd_ms_wait
+process_upper_sm_reconn_wait:
+	rtn
+process_upper_sm_reconn_sdp_conn:
+	call upper_sm_send_sdp_conn //return n-user if sending failed
+	jam UPPERSM_RECONN_SDP_CONN_WAIT,mem_upper_sm_reconn
+	fetch 1,mem_sdp_state
+	set1 L2CAP_CHANNEL_STATE_CONN_REQ,pdata
+	store 1,mem_sdp_state
+	rtn
+process_upper_sm_reconn_sdp_cfg:
+	jam UPPERSM_RECONN_SDP_CFG_WAIT,mem_upper_sm_reconn
+	fetch 1,mem_sdp_state
+	rtnbit1 L2CAP_CHANNEL_STATE_SND_CFG_REQ
+	jam UPPERSM_RECONN_SDP_CFG,mem_upper_sm_reconn
+	call upper_sm_send_sdp_cfg //return n-user if sending failed
+	jam UPPERSM_RECONN_SDP_CFG_WAIT,mem_upper_sm_reconn
+	fetch 1,mem_sdp_state
+	set1 L2CAP_CHANNEL_STATE_SND_CFG_REQ,pdata
+	store 1,mem_sdp_state
+	rtn
+process_upper_sm_reconn_ss_spp:
+	call l2cap_malloc_is_fifo_empty
+	nrtn blank
+	call upper_sm_send_ss_spp
+	jam UPPERSM_RECONN_SS_SPP_WAIT,mem_upper_sm_reconn
+	rtn
+process_upper_sm_reconn_sdp_disconn:
+	call upper_sm_send_sdp_disconn
+	jam UPPERSM_RECONN_SDP_DISCONN_WAIT,mem_upper_sm_reconn
+	rtn
+process_upper_sm_reconn_hid_ctrl_conn:
+	call upper_sm_send_hid_ctrl_conn
+	jam UPPERSM_RECONN_HID_CTRL_CONN_WAIT,mem_upper_sm_reconn
+	fetch 1,mem_hid_control_state
+	set1 L2CAP_CHANNEL_STATE_CONN_REQ,pdata
+	store 1,mem_hid_control_state
+	rtn
+process_upper_sm_reconn_hid_ctrl_cfg:    
+	call upper_sm_send_hid_ctrl_cfg
+	jam UPPERSM_RECONN_HID_CTRL_CFG_WAIT,mem_upper_sm_reconn
+	fetch 1,mem_hid_control_state
+	set1 L2CAP_CHANNEL_STATE_SND_CFG_REQ,pdata
+	store 1,mem_hid_control_state
+	rtn
+process_upper_sm_reconn_hid_int_conn:
+	call upper_sm_send_hid_int_conn
+	jam UPPERSM_RECONN_HID_INT_CONN_WAIT,mem_upper_sm_reconn
+	fetch 1,mem_hid_interrupt_state
+	set1 L2CAP_CHANNEL_STATE_CONN_REQ,pdata
+	store 1,mem_hid_interrupt_state
+	rtn
+process_upper_sm_reconn_hid_int_cfg:    
+	call upper_sm_send_hid_int_cfg
+	jam UPPERSM_RECONN_HID_INT_CFG_WAIT,mem_upper_sm_reconn
+	fetch 1,mem_hid_interrupt_state
+	set1 L2CAP_CHANNEL_STATE_SND_CFG_REQ,pdata
+	store 1,mem_hid_interrupt_state
+	rtn
+process_upper_sm_reconn_rfcomm_conn:
+	call upper_sm_send_rfcomm_conn
+	jam UPPERSM_RECONN_RFCOMM_CONN_WAIT,mem_upper_sm_reconn
+	fetch 1,mem_rfcomm_state
+	set1 L2CAP_CHANNEL_STATE_CONN_REQ,pdata
+	store 1,mem_rfcomm_state
+	rtn
+process_upper_sm_reconn_rfcomm_cfg: 
+	call upper_sm_send_rfcomm_cfg
+	jam UPPERSM_RECONN_RFCOMM_CFG_WAIT,mem_upper_sm_reconn
+	fetch 1,mem_rfcomm_state
+	set1 L2CAP_CHANNEL_STATE_SND_CFG_REQ,pdata
+	store 1,mem_rfcomm_state
+	rtn
+process_upper_sm_reconn_rfcomm_sabm:
+	call upper_sm_send_rfcomm_sabm
+	jam UPPERSM_RECONN_RFCOMM_SABM_WAIT,mem_upper_sm_reconn
+	fetch 1,mem_rfcomm_state
+	set1 L2CAP_CHANNEL_RFCOMM_ONLY_SABM,pdata
+	store 1,mem_rfcomm_state
+	rtn
+process_upper_sm_reconn_spp_cmd_pn: 
+	call upper_sm_send_spp_cmd_pn
+	fetch 1,mem_spp_state
+	set1 RFCOMM_CHANNEL_STATE_PN_CMD,pdata
+	store 1,mem_spp_state
+	jam UPPERSM_RECONN_SPP_CMD_PN_WAIT,mem_upper_sm_reconn
+	rtn
+process_upper_sm_reconn_spp_sabm:   
+	call upper_sm_send_spp_sabm
+	fetch 1,mem_spp_state
+	set1 RFCOMM_CHANNEL_STATE_SABM,pdata
+	store 1,mem_spp_state
+	jam UPPERSM_RECONN_SPP_SABM_WAIT,mem_upper_sm_reconn
+	fetch 1,mem_remote_spp_channel //address in pdata
+	lshift3 pdata,pdata
+	or_into 3,pdata
+	arg mem_HIUfcs_SPP,temp // mem_HIUfcs_spp_WCredits in regb++
+	storet 2,mem_contw_temp
+	branch rfcomm_save_FCS_uih
+process_upper_sm_reconn_spp_cmd_ms: 
+	call upper_sm_send_spp_cmd_ms
+	fetch 1,mem_spp_state
+	set1 RFCOMM_CHANNEL_STATE_SND_MS_CMD,pdata
+	store 1,mem_spp_state
+	jam UPPERSM_RECONN_SPP_CMD_MS_WAIT,mem_upper_sm_reconn
+	rtn
+
+process_upper_sm_reconn_sdp_conn_wait:
+	fetch 1,mem_sdp_state
+	rtnbit0 L2CAP_CHANNEL_STATE_CONN_RES
+	jam UPPERSM_RECONN_SDP_CFG,mem_upper_sm_reconn
+	branch process_upper_sm_reconn
+process_upper_sm_reconn_sdp_cfg_wait:
+	fetch 1,mem_sdp_state
+	rtnne L2CAP_CHANNEL_SETUP_COMPLETE
+	jam UPPERSM_RECONN_SS_SPP ,mem_upper_sm_reconn
+process_upper_sm_reconn_ss_spp_wait:
+	fetch 1,mem_message_to_uppersm
+	rtnne RECIEVE_SS_REASULT_HF
+	jam 0,mem_message_to_uppersm
+	jam UPPERSM_RECONN_SDP_DISCONN,mem_upper_sm_reconn
+	branch process_upper_sm_reconn
+process_upper_sm_reconn_sdp_disconn_wait:
+	fetch 1,mem_sdp_state
+	nrtn blank
+	fetch 1,mem_UI_profile_supported
+	bbit1 support_HID,process_upper_sm_reconn_setup_hid
+	bbit1 support_SPP,process_upper_sm_reconn_setup_rfcomm
+	branch process_upper_sm_reconn_termination
+process_upper_sm_reconn_hid_ctrl_conn_wait:
+	fetch 1,mem_hid_control_state
+	rtnbit0 L2CAP_CHANNEL_STATE_CONN_RES
+	jam UPPERSM_RECONN_HID_CTRL_CFG,mem_upper_sm_reconn
+	branch process_upper_sm_reconn
+process_upper_sm_reconn_hid_ctrl_cfg_wait:
+	fetch 1,mem_hid_control_state
+	rtnne L2CAP_CHANNEL_SETUP_COMPLETE
+	jam UPPERSM_RECONN_HID_INT_CONN,mem_upper_sm_reconn
+	branch process_upper_sm_reconn
+process_upper_sm_reconn_hid_int_conn_wait:  
+	fetch 1,mem_hid_interrupt_state
+	rtnbit0 L2CAP_CHANNEL_STATE_CONN_RES
+	jam UPPERSM_RECONN_HID_INT_CFG,mem_upper_sm_reconn
+	branch process_upper_sm_reconn
+process_upper_sm_reconn_hid_int_cfg_wait:  
+	fetch 1,mem_hid_interrupt_state
+	rtnne L2CAP_CHANNEL_SETUP_COMPLETE
+	fetch 1,mem_UI_profile_supported
+	bbit1 support_SPP,process_upper_sm_reconn_setup_rfcomm
+	branch process_upper_sm_reconn_termination
+process_upper_sm_reconn_rfcomm_conn_wait: 
+	fetch 1,mem_rfcomm_state
+	rtnbit0 L2CAP_CHANNEL_STATE_CONN_RES
+	jam UPPERSM_RECONN_RFCOMM_CFG,mem_upper_sm_reconn
+	branch process_upper_sm_reconn
+process_upper_sm_reconn_rfcomm_cfg_wait:
+	fetch 1,mem_rfcomm_state
+	rtnne L2CAP_CHANNEL_SETUP_COMPLETE
+	jam UPPERSM_RECONN_RFCOMM_SABM,mem_upper_sm_reconn
+	branch process_upper_sm_reconn
+process_upper_sm_reconn_rfcomm_sabm_wait:  
+	fetch 1,mem_rfcomm_state
+	rtnne L2CAP_CHANNEL_RFCOMM_DLCI0_OPENED
+	fetch 1,mem_UI_profile_supported
+	bbit1 support_SPP,process_upper_sm_reconn_setup_spp
+	branch process_upper_sm_reconn_termination
+process_upper_sm_reconn_spp_cmd_pn_wait:
+	fetch 1,mem_spp_state
+	rtnbit0 RFCOMM_CHANNEL_STATE_PN_RES
+	jam UPPERSM_RECONN_SPP_SABM,mem_upper_sm_reconn
+	branch process_upper_sm_reconn
+process_upper_sm_reconn_spp_sabm_wait:
+	fetch 1,mem_spp_state
+	rtnbit0 RFCOMM_CHANNEL_STATE_UA
+	jam UPPERSM_RECONN_SPP_CMD_MS ,mem_upper_sm_reconn
+	branch process_upper_sm_reconn
+process_upper_sm_reconn_spp_cmd_ms_wait: 
+	fetch 1,mem_spp_state
+	rtnne RFCOMM_CHANNEL_SETUP_COMPLETE
+	branch process_upper_sm_reconn_termination
+
+process_upper_sm_reconn_setup_hid:
+	jam UPPERSM_RECONN_HID_CTRL_CONN,mem_upper_sm_reconn
+	branch process_upper_sm_reconn
+
+process_upper_sm_reconn_setup_rfcomm:
+	jam UPPERSM_RECONN_RFCOMM_CONN,mem_upper_sm_reconn
+	branch process_upper_sm_reconn
+process_upper_sm_reconn_setup_spp:
+	jam UPPERSM_RECONN_SPP_CMD_PN,mem_upper_sm_reconn
+	branch process_upper_sm_reconn
+
+
+
+process_upper_sm_reconn_termination:
+	jam 0,mem_upper_sm_reconn
+	rtn
+upper_sm_send_sdp_conn:
+	bpatchx patch29_7,mem_patch29
+	call l2cap_malloc_signal_channel
+	setarg PSM_SDP
+	copy pdata,temp
+	setarg L2CAP_SDP_channel
+	copy pdata,timeup
+	branch ML2CAP_send_signal_connect_req
+	
+upper_sm_send_sdp_cfg:
+	bpatchx patch2a_0,mem_patch2a
+	call l2cap_malloc_signal_channel
+	fetch 2,mem_SDP_remote_CID
+	copy pdata,temp
+	branch ML2CAP_send_signal_config_req
+	
+upper_sm_send_sdp_disconn:
+	bpatchx patch2a_1,mem_patch2a
+	call l2cap_malloc_signal_channel
+	fetch 2,mem_SDP_remote_CID
+	copy pdata,temp
+	arg L2CAP_SDP_channel,timeup
+	call ML2CAP_send_signal_disconn_req
+	fetch 1,mem_sdp_state
+	set0 L2CAP_CHANNEL_STATE_RCV_CFG_RES ,pdata
+	store 1,mem_sdp_state
+	rtn
+//service search
+upper_sm_send_ss_spp:
+	bpatchx patch2a_2,mem_patch2a
+	call l2cap_malloc_sdp_channel
+	call sdp_send_spp_request
+	branch MSDP_send_req_done
+
+upper_sm_send_rfcomm_conn:
+	bpatchx patch2a_3,mem_patch2a
+	call l2cap_malloc_signal_channel
+	setarg PSM_RFCOMM
+	copy pdata,temp
+	setarg L2CAP_RFCOMM_channel
+	copy pdata,timeup
+	branch ML2CAP_send_signal_connect_req
+
+upper_sm_send_rfcomm_cfg:
+	bpatchx patch2a_4,mem_patch2a
+	call l2cap_malloc_signal_channel
+	fetch 2,mem_rfcomm_remote_cid
+	copy pdata,temp
+	branch ML2CAP_send_signal_config_req
+
+upper_sm_send_hid_ctrl_conn:
+	bpatchx patch2a_5,mem_patch2a
+	call l2cap_malloc_signal_channel
+	setarg PSM_HID_control
+	copy pdata,temp
+	setarg L2CAP_HID_Control_channel
+	copy pdata,timeup
+	branch ML2CAP_send_signal_connect_req
+
+upper_sm_send_hid_ctrl_cfg:
+	bpatchx patch2a_6,mem_patch2a
+	call l2cap_malloc_signal_channel
+	fetch 2,mem_hid_ctrl_remote_cid
+	copy pdata,temp
+	branch ML2CAP_send_signal_config_req
+
+upper_sm_send_hid_int_conn:
+	bpatchx patch2a_7,mem_patch2a
+	call l2cap_malloc_signal_channel
+	setarg PSM_HID_interrupt
+	copy pdata,temp
+	setarg L2CAP_HID_interrupt_channel
+	copy pdata,timeup
+	branch ML2CAP_send_signal_connect_req
+	
+upper_sm_send_hid_int_cfg:
+	bpatchx patch2b_0,mem_patch2b
+	call l2cap_malloc_signal_channel
+	fetch 2,mem_hid_int_remote_cid
+	copy pdata,temp
+	branch ML2CAP_send_signal_config_req
+
+upper_sm_send_rfcomm_sabm:
+	bpatchx patch2b_1,mem_patch2b
+	call l2cap_malloc_rfcomm_channel
+	//force 3,temp //address
+	jam 3,mem_current_adss
+	jam 0x1c,mem_current_fcs
+	call rfcomm_send_sabm
+	jam 1,mem_rfcomm_initiator
+	rtn
+
+upper_sm_send_spp_cmd_pn:
+	bpatchx patch2b_2,mem_patch2b
+	call l2cap_malloc_rfcomm_channel
+	fetcht 1,mem_remote_spp_channel
+	call channel_to_dlci
+	storet 1,mem_pn_dlci
+	branch rfcomm_send_param_neg_cmd
+
+upper_sm_send_spp_sabm:
+	bpatchx patch2b_3,mem_patch2b
+	call l2cap_malloc_rfcomm_channel
+	fetcht 1,mem_pn_dlci
+	call dlci_to_address_cmd
+	call rfcomm_calculate_FCS_sabm //sabm fcs use once only,not need to save
+	store 1,mem_current_fcs
+	fetcht 1,mem_pn_dlci
+	call dlci_to_address_cmd
+	storet 1,mem_current_adss
+	branch rfcomm_send_sabm
+
+upper_sm_send_spp_cmd_ms:
+	bpatchx patch2b_4,mem_patch2b
+	call l2cap_malloc_rfcomm_channel
+	fetcht 1,mem_pn_dlci
+	call dlci_to_address_cmd //address in temp
+	branch rfcomm_send_modem_status_cmd
+
+
+
Index: program/sdp.prog
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/program/sdp.prog	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/program/sdp.prog	(working copy)
@@ -0,0 +1,1206 @@
+/**********************************************************************/
+/* Subroutine: sdp_process                                         */
+/* Process Service Discovery Request                                  */
+/* Called from L2CAP, check PDUID, branch to different req processings*/
+/*                                                                    */  
+/* Input:       mem_L2CAP_Rx_payload                                  */
+/* Output:      mem_SDP_Tx_payload, mem_SDP_Tx_pkt_length	      */
+/*                                                                    */
+/**********************************************************************/     
+sdp_process:
+	bpatchx patch2b_5,mem_patch2b
+	fetch 2,mem_l2cap_payload_ptr
+	iforce contr
+//	ifetchr regb,1,contr				/* PDUID */
+//	storer regb,1,mem_sdp_pduid
+	ifetch 1,contr
+	copy pdata,regb
+	store 1,mem_sdp_pduid
+	ifetch 2,contr
+	store 2,mem_sdp_transactionid			/* save transaction id */
+	ifetch 1,contr				/* higher byte of parameter length */
+	lshift8 pdata,timeup				
+	ifetch 1,contr				/* lower byte of parameter length */
+	iadd timeup,timeup				/* parameter length stored in "timeup" */
+	bpatchx patch2b_6,mem_patch2b
+	copy contr,temp
+	arg 4,loopcnt
+	arg mem_sdp_handle_list,contw
+	call memset0
+	copy temp,contr 
+	deposit regb						/* PDUID  */
+	beq SDP_ERROR_RES,sdp_process_error_res
+	beq SDP_SEARCH_REQ,sdp_process_ss_req
+	beq SDP_SEARCH_RES,sdp_process_ss_res
+	beq SDP_ATTRIBUTE_REQ,sdp_process_sa_req
+	beq SDP_ATTRIBUTE_RES,sdp_process_sa_res
+	beq SDP_SEARCHATTRIB_REQ,sdp_process_ssa_req
+	beq SDP_SEARCHATTRIB_RES,sdp_process_ssa_res
+	branch sdp_insufficient_resource
+
+/**********************************************************************/
+/* ss_req			                              */
+/* Processing Service Search Request                                  */
+/* Call: ask_serviceclassid, empty_response                     */
+/*                                                                    */  
+/* Input:       mem_L2CAP_Rx_payload pointer in contr                 */
+/* Output:      mem_SDP_Tx_payload, mem_SDP_Tx_pkt_length	      */
+/*                                                                    */
+/**********************************************************************/     
+sdp_process_ss_req:
+	bpatchx patch2b_7,mem_patch2b
+	call ask_serviceclassid
+	compare 1,temp,0xff
+	branch ss_empty_rsp,true
+	compare 0xff,temp,0xff
+	branch sdp_invalid_request_syntax,true
+
+	ifetch 2,contr				/* max aservice record count */
+	store 2,mem_sdp_record_maxcnt
+	increase -2,timeup
+
+	increase -1,timeup				/* continuation state 1 byte (0) */
+	nbranch sdp_invalid_pdu_size,zero		/* invalid pdu size */
+	arg mem_sdp_uuid_search_ptr,timeup
+	ifetch 2,timeup
+	rtn blank
+	call search_all_uuid
+	call l2cap_get_sdp_tx_payload			/* put the pointer to Tx buffer  */
+	force 3,pdata						/* PDUID 3, Service Search Response */
+	istore 1,contw
+	fetch 2,mem_sdp_transactionid			/* write transaction id */
+	istore 2,contw
+	lshift2 queue,pdata
+	add pdata,5,pdata
+	add pdata,5,regc
+	byteswap pdata,pdata
+	istore 2,contw							/* write parLength */
+	deposit queue
+	byteswap pdata,pdata
+	istore 2,contw							/* write TotSrvRecCount */
+	istore 2,contw							/* write CurSrvRecCount */
+	arg mem_sdp_handle_list,contr
+	copy queue,loopcnt
+	branch ss_req_blank,zero
+ss_req_loop:	
+	ifetch 4,contr
+	istore 4,contw
+	loop ss_req_loop
+ss_req_blank:	
+	force 0,pdata
+	istore 1,contw							/* continuation state */
+	deposit regc
+	store 2,mem_sdp_tx_pkt_length
+//	branch assert,blank
+	rtn
+
+/**********************************************************************/
+/* sa_req			                              */
+/* Processing Service Attribute Request                               */
+/* Call: ask_attributeid, empty_response (if 3 stored attr.     */
+/* not asked) or answer_attributelist                              */  
+/* Input:       mem_L2CAP_Rx_payload pointer in contr                 */
+/* Output:      mem_SDP_Tx_payload, mem_SDP_Tx_pkt_length	      */
+/*                                                                    */
+/**********************************************************************/     
+sdp_process_sa_req:
+	bpatchx patch2c_0,mem_patch2c
+	ifetch 4,contr				/* service record handle */
+	store 4,mem_sdp_record_handle	 
+	increase -4,timeup
+	call sdp_store_maxbyte
+	store 2,mem_sdp_attribute_maxbyte
+	increase -2,timeup
+	call dataelementtype6		/* result: data size stored in rega */
+	branch sdp_invalid_request_syntax,zero
+	compare 5,rega,0xff  // length
+	//branch sa_req_all,true
+	branch sa_judge_wholerange,true
+sa_isnot_wholerange:
+	arg mem_sdp_attrib_list,contw
+	force 0,queue
+	branch sa_req_loop
+sa_judge_wholerange:
+	ifetch 1,contr
+	bne SDP_ATTRIBUTE_RANGE,sdp_invalid_request_syntax
+	ifetch 2,contr
+	nbranch sa_judge_wholerange_false1,blank
+	ifetch 1,contr
+	bne 0xff,sa_judge_wholerange_false2
+	ifetch 1,contr
+	bne 0xff,sa_judge_wholerange_false3		//also exist potential bug because mem_sdp_attrib_list length is only 7f
+	branch sa_req_all
+sa_judge_wholerange_false3:
+	increase -5,contr
+	branch sa_isnot_wholerange
+sa_judge_wholerange_false2:
+	increase -4,contr
+	branch sa_isnot_wholerange
+sa_judge_wholerange_false1:
+	increase -3,contr
+	branch sa_isnot_wholerange
+sa_req_loop:	
+	ifetch 1,contr
+	beq SDP_ATTRIBUTE_ID, sa_req_one_id
+	beq SDP_ATTRIBUTE_RANGE, sa_req_range
+sa_req_range:
+	ifetch 2, contr
+	istore 2, contw
+	increase 1,queue
+	byteswap pdata,regb
+	ifetch 2, contr
+	byteswap pdata,pdata
+sa_req_range_id_increase:	
+	increase 1, regb
+	isub regb, null
+	nbranch sa_req_range_id_finish,positive
+	copy pdata, regc
+	byteswap regb,pdata
+	istore 2, contw
+	increase 1,queue
+	copy regc, pdata
+	branch sa_req_range_id_increase
+sa_req_range_id_finish:
+	increase -5,timeup
+	increase -5,rega
+	branch sa_req_check_next_id
+sa_req_one_id:
+	ifetch 2,contr
+	istore 2,contw //save the attribute id in mem_sdp_attrib_list
+	increase 1,queue
+	increase -3,timeup
+	increase -3,rega
+sa_req_check_next_id:	
+	nbranch sdp_invalid_request_syntax,positive
+	nbranch sa_req_loop,zero //another attribute 
+	increase -1,timeup
+	nbranch sdp_invalid_request_syntax,zero
+	
+	call l2cap_get_sdp_tx_payload
+	increase 10,contw
+	arg mem_sdp_attrib_list,rega
+sa_req_handle_attributelist_next:
+	copy queue,pdata
+	branch sa_req_handle_attributelist_end,blank
+	ifetch 2,rega
+	branch sa_req_handle_attributelist_end,blank
+	iforce regb /* regb is the attribute ID */
+	fetch 4,mem_sdp_record_handle	
+	iforce temp
+	call search_handle_attrib
+	copy contr,pdata
+	branch sa_req_handle_attributelist_notfound,blank
+	increase -3,contr
+	ifetch 3,contr
+	istore 3,contw
+	call sdp_data_len
+	iforce loopcnt	
+	call memcpy
+sa_req_handle_attributelist_notfound:
+	increase 2,rega
+	increase -1, queue
+	branch sa_req_handle_attributelist_next
+
+sa_req_handle_attributelist_end:	
+	arg SDP_ATTRIBUTE_RES,rega
+	call ssa_req_range_lastfreg_common
+	fetch 2,mem_sdp_tx_pkt_length	
+	beq 11,sa_empty_rsp
+	branch  ssa_req_range_attrbutes_length_no_continue
+
+
+sdp_store_continue_common:
+	ifetch 1, contr
+	beq 0, sdp_store_continue_0byte
+	beq 1,sdp_store_continue_1byte
+	beq 2, sdp_store_continue_2byte
+sdp_store_continue_0byte:	
+	increase -1,timeup				/* continuation state byte (0) */
+	branch sdp_store_continue_end
+sdp_store_continue_1byte:
+	ifetch 1, contr
+	increase -2,timeup				/* continuation state byte (1) */
+	branch sdp_store_continue_end
+sdp_store_continue_2byte:
+	ifetch 2, contr
+	byteswap pdata,pdata
+	increase -3,timeup				/* continuation state byte (2) */
+sdp_store_continue_end:
+	store 2, mem_sdp_continue_byte	
+	rtn
+	
+sa_req_all:	
+	increase -5,timeup
+	call sdp_store_continue_common
+	nbranch sdp_invalid_pdu_size,zero
+	fetcht 4,mem_sdp_record_handle		
+	call search_handle
+	nbranch sdp_invalid_service_record_handle,zero
+	copy contr,rega
+	call l2cap_get_sdp_tx_payload
+	copy rega,contr
+	increase 3,contw//arg mem_SDP_Tx_payload+3,contw
+	copy contr,timeup //sdp start pointer
+	call sdp_get_data
+	copy pdata, rega //sdp total length
+//	fetchr regb,2,mem_sdp_continue_byte
+	fetch 2,mem_sdp_continue_byte
+	copy pdata,regb
+	copy rega,pdata
+	isub regb,regb //total_length - continue_byte in regb
+	fetch 2, mem_sdp_attribute_maxbyte
+	isub regb, null
+	nbranch sa_req_all_fragment_sdp, positive
+	// the last fragment
+	disable user
+	fetch 2, mem_sdp_continue_byte
+	branch sa_req_all_fisrt_fragment,blank
+	iadd timeup, contr //set the read pointer
+	increase 3,regb //include the total length field, 3 bytes
+	copy regb, loopcnt
+	copy loopcnt, pdata
+	increase 3, pdata
+	byteswap pdata,pdata
+	istore 2, contw
+	copy loopcnt, pdata
+	byteswap pdata,pdata
+	istore 2, contw
+	branch sa_req_all_answer_attributelist_full_loop
+sa_req_all_fisrt_fragment:
+	add rega,6,loopcnt
+	branch sa_req_all_parlength_continue_byte, user
+	byteswap loopcnt,pdata
+	branch sa_req_all_parlength_continue_byte_end
+sa_req_all_parlength_continue_byte:
+	copy loopcnt, pdata
+	increase 2, pdata
+	byteswap pdata,pdata
+sa_req_all_parlength_continue_byte_end:
+	istore 2,contw				/* ParLength */
+	increase -3,loopcnt
+	byteswap loopcnt,pdata			
+	istore 2,contw				/* AttrListByteCount */
+	copy timeup,contr
+	branch sa_req_all_answer_attributelist_full_loop
+sa_req_all_fragment_sdp:
+	enable user
+//	fetchr rega,2,mem_sdp_attribute_maxbyte
+	fetch 2,mem_sdp_attribute_maxbyte
+	copy pdata,rega
+	copy rega,loopcnt
+	fetch 2, mem_sdp_continue_byte
+	branch sa_req_all_fisrt_fragment,blank
+	iadd timeup, contr
+	copy rega,pdata
+	increase 5,pdata
+	byteswap pdata,pdata	
+	istore 2, contw
+	copy rega,pdata
+	byteswap pdata,pdata
+	istore 2, contw
+sa_req_all_answer_attributelist_full_loop:
+	call memcpy
+	nbranch sa_req_all_last_frag_continue, user
+	force 2,pdata
+	istore 1,contw
+	copy contr, pdata
+	isub timeup, pdata
+	byteswap pdata,pdata
+	istore 2, contw   // continuation length
+	branch sa_req_all_frag_end
+sa_req_all_last_frag_continue:
+	force 0,pdata
+	istore 1,contw
+sa_req_all_frag_end:	
+	arg SDP_ATTRIBUTE_RES,rega
+	branch ssa_req_range_common	
+	
+/**********************************************************************/
+/* ssa_req                          		      */
+/* Processing Service Search Attribute Request                        */
+/* Call: ask_serviceclassid, ask_attributeid, empty_response */
+/*       or answer_attributelist                                   */  
+/* Input:       contr                                                 */
+/* Output:      mem_SDP_Tx_payload, mem_SDP_Tx_pkt_length             */
+/*                                                                    */
+/**********************************************************************/     
+sdp_process_ssa_req:
+	bpatchx patch2c_1,mem_patch2c
+	call ask_serviceclassid
+	compare 0xff,temp,0xff
+	branch sdp_invalid_request_syntax,true
+	call sdp_store_maxbyte
+	store 2,mem_sdp_attribute_maxbyte
+	increase -2,timeup
+	call dataelementtype6
+	arg mem_sdp_attrib_list,contw
+	force 0,queue
+ssa_req_loop:	
+	ifetch 1,contr 
+	beq SDP_ATTRIBUTE_RANGE,ssa_req_range
+	ifetch 2,contr 
+	istore 2,contw //save the attribute id in mem_sdp_attrib_list
+	increase 1,queue
+	increase -3,timeup
+	increase -3,rega
+	nbranch sdp_invalid_request_syntax,positive
+	nbranch ssa_req_loop,zero
+	increase -1,timeup
+	nbranch sdp_invalid_request_syntax,zero
+	call l2cap_get_sdp_tx_payload
+	increase 13,contw//arg mem_SDP_Tx_payload+13,contw
+	fetch 2,mem_sdp_uuid_search_ptr
+	iforce regc
+	arg mem_sdp_attrib_list,rega
+ssa_req_attributelist_next:	
+	ifetch 2,rega
+	branch ssa_req_attributelist_end,blank
+	iforce regb						/* regb is the attribute ID */
+	call search_attrib
+	branch ssa_req_attributelist_notfound,blank
+	increase -3,contr
+	ifetch 3,contr
+	istore 3,contw
+	call sdp_data_len
+	iforce loopcnt	
+  	call memcpy
+ssa_req_attributelist_notfound:
+	increase 2,rega
+	branch ssa_req_attributelist_next
+
+ssa_req_attributelist_end:
+	call ssa_req_range_lastfreg
+	fetch 2,mem_sdp_tx_pkt_length	
+	beq 14,ssa_empty_rsp
+	call ssa_req_range_attrbutes_length_no_continue
+	branch ssa_req_range_attrbutes_length_no_continue
+
+
+sdp_store_maxbyte:	
+	ifetch 2,contr				 
+	byteswap pdata,pdata
+	increase -3,pdata	
+	arg 200,temp
+	isub temp,null
+	nrtn positive
+	setarg 200
+	rtn
+	
+
+ssa_req_range:
+	increase 4,contr
+	increase -5,timeup
+	increase -5,rega
+	nbranch sdp_invalid_request_syntax,zero
+	call 	sdp_store_continue_common
+	nbranch sdp_invalid_pdu_size,zero
+	arg mem_sdp_uuid_search_ptr,timeup
+	call search_all_uuid  
+	deposit queue
+	branch ssa_empty_rsp,blank
+	store 1,mem_handle_humber
+//	storer regb,2,mem_sdp_all_length
+	copy regb,pdata
+	store 2,mem_sdp_all_length
+	arg 0,queue
+	arg 0,rega
+	call l2cap_get_sdp_tx_payload
+	increase 10,contw 
+ssa_req_range_find_handle:
+	call ssa_req_range_get_length	
+	nbranch assert,user
+	copy contr,timeup
+	copy pdata,regc
+	iadd rega,rega
+//	copy pdata,rega 
+//	fetch 2,mem_sdp_all_length
+	fetch 2,mem_sdp_continue_byte
+	copy pdata,regb
+	branch ssa_req_range_first_freg,blank
+ssa_req_range_later_freg_with_continue:
+	copy rega,pdata
+	isub regb,regb //total_length - continue_byte in rega
+	branch ssa_req_range_next_handle,zero
+	nbranch ssa_req_range_next_handle,positive
+	fetch 2, mem_sdp_attribute_maxbyte
+	isub regb, null
+	branch ssa_req_range_maxbyte_with_continue,zero
+	nbranch ssa_req_range_maxbyte_with_continue, positive  
+	
+ // data length < =maxbyte 
+ssa_req_range_send_not_maxbyte:
+ 	copy regb,loopcnt
+	call ssa_req_range_maxbyte_with_continue_cpy
+ 	fetch 1,mem_handle_humber
+	increase 1,queue
+	isub queue,null
+	branch ssa_req_range_lastfreg,zero
+	branch ssa_req_range_freg_with_continue
+	
+ssa_req_range_maxbyte_with_continue:
+ 	copy pdata,loopcnt
+ 	call ssa_req_range_maxbyte_with_continue_cpy
+ 	branch ssa_req_range_freg_with_continue
+ 	
+ssa_req_range_maxbyte_with_continue_cpy:
+	increase -3,contw   
+	copy loopcnt,temp
+ 	copy regc,pdata
+	isub regb,pdata
+	iadd timeup,contr
+ 	branch memcpy
+
+ssa_req_range_next_handle:
+	fetch 1,mem_handle_humber
+	increase 1,queue
+	isub queue,null
+	rtn zero //
+	branch ssa_req_range_find_handle
+
+ssa_req_range_get_length:	
+	call disable_user
+	arg mem_sdp_handle_list,contr
+	lshift2 queue,pdata
+	iadd contr,contr
+	ifetcht 4, contr
+	call search_handle
+	nrtn zero
+	call sdp_data_len
+	branch enable_user
+
+ssa_req_range_first_freg:
+	fetch 2, mem_sdp_attribute_maxbyte
+	isub rega, null
+	nbranch ssa_req_range_firstfreg_maxbyte_with_continue,positive
+	copy rega,loopcnt
+	copy loopcnt,temp
+	copy timeup,contr
+	call memcpy
+	fetch 2,mem_sdp_all_length
+	isub rega,null
+	branch ssa_req_range_freg_no_continue,zero
+ssa_req_range_firstfreg_not_maxbyte_with_continue:
+	call ssa_req_range_freg_with_continue
+	branch ssa_req_range_attrbutes_length
+	
+ssa_req_range_freg_no_continue:
+	call ssa_req_range_lastfreg
+	branch ssa_req_range_attrbutes_length
+	
+ssa_req_range_lastfreg:
+	arg SDP_SEARCHATTRIB_RES,rega  //PUD ID
+ssa_req_range_lastfreg_common:
+	force 0,pdata
+	istore 1,contw
+	call ssa_req_range_common
+	fetcht 2,mem_sdp_tx_pkt_length
+	increase -5,temp
+	byteswap temp,pdata
+	istore 2, contw
+	increase -3,temp
+	byteswap temp,pdata
+	istore 2, contw  //attribute length
+	rtn
+
+ssa_req_range_firstfreg_maxbyte_with_continue:
+	copy pdata,loopcnt
+	copy loopcnt,temp
+	copy timeup,contr
+	call memcpy
+	call ssa_req_range_freg_with_continue
+ssa_req_range_attrbutes_length:	
+	setarg 0x36
+	istore 1,contw
+	fetch 2,mem_sdp_all_length
+	byteswap pdata,pdata
+	istore 2, contw 
+	rtn	
+
+ssa_req_range_attrbutes_length_no_continue:	
+	setarg 0x36
+	istore 1,contw
+	increase -3,temp
+	byteswap temp,pdata
+	istore 2, contw 
+	rtn	
+
+ssa_req_range_freg_with_continue:
+	arg SDP_SEARCHATTRIB_RES,rega  //PUD ID
+	setarg 2
+	istore 1,contw	
+	fetch 2,mem_sdp_continue_byte
+	iadd temp,temp
+	byteswap temp,pdata
+	istore 2,contw
+	call ssa_req_range_common
+	fetcht 2,mem_sdp_tx_pkt_length
+	increase -5,temp
+	byteswap temp,pdata
+	istore 2, contw
+	increase -5,temp
+	byteswap temp,pdata
+	istore 2, contw 
+	rtn	
+
+ssa_req_range_common:
+	fetch 2,mem_sdp_tx_payload_ptr
+	isub contw,pdata
+	sub pdata,0,pdata
+	store 2,mem_sdp_tx_pkt_length
+	call l2cap_get_sdp_tx_payload 
+	copy rega,pdata  //PUD ID
+	istore 1,contw
+	fetch 2,mem_sdp_transactionid
+	istore 2,contw
+	rtn
+
+
+
+
+/**********************************************************************/
+/* ssa_res			                      */
+/* Processing Service Search Attribute Response                       */
+/* Call: dataelementtype6, attribute_reading                    */
+/* Input:       contr                                                 */
+/* Output:      mem_sdp_record_handle,mem_sdp_search_failed           */
+/*                                                                    */
+/**********************************************************************/     
+sdp_process_ssa_res:
+sdp_process_ss_res:
+sdp_process_sa_res:
+sdp_process_error_res:
+	rtn
+/*
+sdp_process_ss_res:
+	bpatchx patch2c_2,mem_patch2c
+	ifetch 2,contr
+	ifetch 2,contr
+	byteswap pdata,pdata
+	bne 1,assert
+	ifetch 4,contr
+	store 4,mem_sdp_record_handle
+	fetchr regc,2,mem_sdp_l2capch_ptr
+	add regc,offset_lc_state,regc
+	ifetch 1,regc
+	set1 L2CAP_CHANNEL_STATE_RECV_SEARCH_RES,pdata
+	istore 1,regc
+	rtn
+	
+sdp_process_sa_res:
+	bpatchx patch2c_3,mem_patch2c
+	fetchr regc,2,mem_sdp_l2capch_ptr
+	add regc,offset_lc_state,regc
+	ifetch 1,regc
+	set1 L2CAP_CHANNEL_STATE_RECV_ATTRIB_RES,pdata
+	istore 1,regc
+	copy temp,contr
+	ifetch 2,contr
+	call search_rfcomm_cn
+	store 1,mem_profile_channel	
+	rtn
+*/
+
+				    
+
+sdp_invalid_service_record_handle:		
+	setarg 0x0200
+	store 2,mem_sdp_error_code
+	branch sdp_error_response
+sdp_invalid_pdu_size:				
+	setarg 0x0400
+	store 2,mem_sdp_error_code
+	branch sdp_error_response
+sdp_insufficient_resource:			
+	setarg 0x0600
+	store 2,mem_sdp_error_code
+	branch sdp_error_response
+sdp_invalid_request_syntax:			
+	setarg 0x0300
+	store 2,mem_sdp_error_code
+sdp_error_response:	
+	call l2cap_get_sdp_tx_payload
+	istore 1,contw
+	fetch 2,mem_sdp_transactionid			
+	istore 2,contw
+	setarg 0x0200					
+	istore 2,contw
+	fetch 2,mem_sdp_error_code			
+	istore 2,contw
+	jam  7,mem_sdp_tx_pkt_length
+	rtn
+
+
+//store uuid in mem_sdp_uuid_search_ptr,
+//return temp 0xff if wrong 
+ask_serviceclassid:  
+	arg 0,regb
+	force 0,temp					/* use "temp" to mark syntax error or to mark 128 bit uuid */
+	arg mem_sdp_uuid_search_ptr,contw
+	call dataelementtype6
+	branch asksrv_error,zero
+classidloop:
+	increase 1,regb
+	ifetch 1,contr
+	increase -1,rega
+	increase -1,timeup
+	compare 0x18,pdata,0xf8			/* 5 MSB: b00011: uuid */
+	nbranch asksrv_error,true
+	compare 0x04,pdata,0x07			/* 3 LSB: b100 128 bits uuid */
+	nbranch cmp032,true
+	force 1,temp					/* mark it as 128 bit uuid */
+skip2bytes:
+	ifetch 1,contr
+	increase -1,rega	
+	increase -1,timeup
+	bne 0x00, frstbwrong
+	ifetch 1,contr
+	increase -1,rega	
+	increase -1,timeup
+	beq 0x00, cmpuuid
+	branch scndbwrong
+frstbwrong:  
+	increase 1,contr
+	increase -1,rega	
+	increase -1,timeup
+scndbwrong:  
+	increase 2,contr				/* skip 2 bytes, first 2 bytes already wrong */
+	increase -2,rega	
+	increase -2,timeup
+	compare 0x00,temp,0xff                        /* 128 bits or 32 bits ? */
+	branch loopornot,true
+	increase 12,contr				/* skip 12 bytes, first 2 bytes already wrong */
+	increase -12,rega	
+	increase -12,timeup
+	branch loopornot
+cmp032:
+	compare 0x02,pdata,0x07			/* 3 LSB: b010 32 bits uuid */
+	nbranch cmp016,true
+	branch skip2bytes			
+cmp016:
+	compare 0x01,pdata,0x07			/* 3 LSB: b001 16 bit uuid */
+	nbranch asksrv_error,true
+cmpuuid:
+	increase -2,rega
+	increase -2,timeup
+	ifetch 2,contr				/* higher order byte */
+	sub regb,4,null
+	branch uuidsize,zero //max store uuids =3 
+	istore 2,contw
+uuidsize:
+	compare 0x00,temp,0xff			/* is this 128 bits uuid */
+	branch loopornot,true
+	copy contr,temp
+	ifetch 1,contr
+	bne 0x00, wrong12b
+	ifetch 1,contr
+	bne 0x00, wrong12b
+	ifetch 1,contr
+	bne 0x10, wrong12b
+	ifetch 1,contr
+	bne 0x00, wrong12b
+	ifetch 1,contr
+	bne 0x80, wrong12b
+	ifetch 1,contr
+	bne 0x00, wrong12b
+	ifetch 1,contr
+	bne 0x00, wrong12b
+	ifetch 1,contr
+	bne 0x80, wrong12b
+	ifetch 1,contr
+	bne 0x5f, wrong12b
+	ifetch 1,contr
+	bne 0x9b, wrong12b
+	ifetch 1,contr
+	bne 0x34, wrong12b
+	ifetch 1,contr
+	beq 0xfb, chck12dn
+wrong12b:
+	copy temp,contr  
+wrong12b1:
+	increase 12,contr				/* skip 12 bytes */
+	force 0x00,queue
+	force 0x00,temp
+	branch chck12dn
+
+chck12dn:
+	increase -12,timeup
+	increase -12,rega
+loopornot:
+	force 0x00,temp
+	compare 0x00,rega,0xff
+	nbranch classidloop,true
+	force 0,pdata
+	istore 2,contw			/* end list with null */
+	rtn
+asksrv_error:
+	arg 0xff,temp
+	rtn
+
+/**********************************************************************/
+/* Subroutine: dataelementtype6                                    */
+/* Parse Data Element Sequence, obtain the data size                  */
+/* Input:  SDP Rx Buf Pointer in contr, parameter count in timeup     */
+/* Output: data length in rega, data pointer in contr             */
+/*         and  parameter count in timeup, return with zero flag set: */
+/*         syntax error                                               */
+/**********************************************************************/     
+dataelementtype6:
+	bpatchx patch2c_4,mem_patch2c
+	ifetch 1,contr
+	increase -1,timeup
+	compare 0x30,pdata,0xf8			/* 5 MSB: b00110: type 6 */
+	nbranch dsize_error,true
+	compare 0x07,pdata,0x07			/* 3 LSB: b111: 32 bits */
+	branch dsize32,true
+	compare 0x06,pdata,0x07			/* 3 LSB: b110: 16 bits */
+	branch dsize16,true
+	compare 0x05,pdata,0x07			/* 3 LSB: b101: 8 bits */
+	nbranch dsize_error,true
+//	ifetchr rega,1,contr				/* data length in reg A */
+	ifetch 1,contr
+	copy pdata,rega
+	increase -1,timeup
+	branch dsize
+dsize32:
+	increase 2,contr				 
+	increase -2,timeup
+dsize16:
+	ifetch 2,contr
+	byteswap pdata,rega
+	increase -2,timeup
+dsize:
+	force 0x01,pdata
+	rtn
+dsize_error:
+	force 0x00,pdata
+	rtn
+
+/**********************************************************************/
+/* Subroutine: sa_empty_rsp                                      */
+/* Send empty response                                                */
+/*                                                                    */
+/* Input:       mem_sdp_pduid, mem_sdp_transactionid                  */
+/* Output:      mem_SDP_Tx_payload, mem_SDP_Tx_pkt_length             */
+/*                                                                    */
+/**********************************************************************/     
+ss_empty_rsp:
+	setarg SDP_SEARCH_RES
+	store 1, mem_sdp_pduid
+	branch empty_response
+sa_empty_rsp:
+	setarg SDP_ATTRIBUTE_RES
+	store 1, mem_sdp_pduid
+	branch empty_response
+ssa_empty_rsp:
+	setarg SDP_SEARCHATTRIB_RES
+	store 1, mem_sdp_pduid
+empty_response:
+	call l2cap_get_sdp_tx_payload			/* empty attribute list */
+//	fetchr regb,1,mem_sdp_pduid				/* PDUID */
+//	istorer regb,1,contw
+	fetch 1,mem_sdp_pduid
+	copy pdata,regb
+	istore 1,contw 
+	fetch 2,mem_sdp_transactionid			/* copy back transaction id */
+	istore 2,contw
+	setarg 0x0500
+	istore 2, contw
+	compare SDP_ATTRIBUTE_RES,regb,0xff			 
+	branch fullsearch,true
+	compare SDP_SEARCHATTRIB_RES,regb,0xff			 
+	branch fullsearch,true
+	setarg 0x000000
+	istore 5,contw
+	branch outempty
+
+fullsearch:					/* pduid must be 5 or 7 */
+	setarg 0x350200
+	istore 5,contw
+outempty:
+	jam 10,mem_sdp_tx_pkt_length
+	rtn
+
+//return length in pdata(whole element ,include header and data ), contr not change
+sdp_data_len:
+	call store_contw
+	call store_contr
+	call sdp_get_data
+	call get_contw
+	call get_contr
+	copy temp,pdata
+	rtn
+
+//return data length in pdata, contr is data pionter,return length in temp(whole element ,include header and data )
+sdp_get_data:
+	ifetch 1,contr
+	and pdata,0x7,loopcnt
+	rshift3 pdata,pdata
+	bne 0,sdp_get_data_type_not0
+sdp_get_data_type0:	
+	force 1,pdata
+	force 1,temp
+	rtn
+	
+sdp_get_data_type_not0_sizeindex01234:
+	call left_shift_n
+	add pdata,1,temp  //add header length
+	rtn
+sdp_get_data_type_not0:
+	deposit loopcnt
+	sub pdata,4,null
+	branch sdp_get_data_type_not0_sizeindex01234,positive
+	beq 5,sdp_get_data_type_not0_sizeindex5
+	beq 6,sdp_get_data_type_not0_sizeindex6
+	beq 7,sdp_get_data_type_not0_sizeindex7
+	rtn
+	
+sdp_get_data_type_not0_sizeindex5:
+	ifetch 1,contr
+	add pdata,2,temp  //add header length
+	rtn
+sdp_get_data_type_not0_sizeindex6:
+	ifetch 2,contr
+	byteswap pdata,pdata
+	add pdata,3,temp  //add header length
+	rtn
+sdp_get_data_type_not0_sizeindex7:
+	ifetch 2,contr	
+	byteswap pdata,pdata
+	ifetcht 2,contr	
+	byteswap temp,temp
+	lshift16 temp,temp
+	iadd temp,pdata
+	add pdata,5,temp  //add header length
+	rtn
+
+/* find with uuids
+input uuids pionter in timeup
+return handles in mem_sdp_handle_list; handles number in queue if found 
+return regb all length*/
+search_all_uuid:
+	bpatchx patch2c_5,mem_patch2c
+	force 0,queue
+	arg 0,regb
+	arg mem_sdp_handle_list,contw
+search_all_uuid_llop:
+	ifetch 2,timeup
+ 	rtn blank
+	call search_uuid
+	copy queue,pdata
+	rtneq SDP_MAX_HANDLE_NUMBER 
+	increase 2,timeup
+ 	branch search_all_uuid_llop
+	
+search_uuid:
+//	arg 0,regb
+	iforce regc
+//	force 0,queue
+	fetch 2, mem_ui_uuid_table
+	iforce contr
+search_uuid_next:
+	copy queue,pdata
+	rtneq SDP_MAX_HANDLE_NUMBER   
+	disable user
+	ifetch 1,contr
+	rtn blank
+	iforce loopcnt
+search_uuid_loop:	
+	ifetch 2,contr
+	isub regc,null
+	nbranch search_uuid_not_found,zero
+	enable user					// uuid match
+search_uuid_not_found:
+	loop search_uuid_loop
+	ifetcht 4,contr					// get handle 
+	copy contr,rega
+	nbranch search_uuid_nomatch,user
+	arg mem_sdp_handle_list,contr
+	arg SDP_MAX_HANDLE_NUMBER,loopcnt 
+search_uuid_check_same_handle:
+	ifetch 4,contr
+	branch search_uuid_store_handle,blank
+	isub temp,null
+	branch search_uuid_nomatch,zero
+	loop search_uuid_check_same_handle
+	rtn 
+search_uuid_store_handle:
+	istoret 4,contw
+	increase 1,queue
+	copy rega,contr
+	call sdp_data_len
+	iadd regb,regb
+	iadd contr,contr		 
+	branch search_uuid_next
+search_uuid_nomatch:	
+	copy rega,contr
+	call sdp_get_data
+	iadd contr,contr			// next paragraph 
+	branch search_uuid_next
+
+/* temp is handle,
+return zero  if found
+return data pointer in contr 
+*/
+search_handle:
+	bpatchx patch2c_6,mem_patch2c
+	fetch 2,mem_ui_uuid_table
+	iforce contr
+search_handle_loop:	
+	ifetch 1,contr
+	branch disable_zero,blank
+	lshift pdata,pdata
+	iadd contr,contr
+	ifetch 4,contr
+	isub temp,null
+	rtn zero
+	deposit contw
+	store 2,mem_contw
+	storet 8,mem_temp
+	call sdp_get_data
+	iadd contr,contr
+	copy contr,pdata
+	fetcht 2,mem_contw
+	copy temp,contw
+	fetcht 8,mem_temp
+	copy pdata,contr
+	branch search_handle_loop
+
+/**
+* input regb and regc.regb is the attribute ID and regc is UUID.
+* set contr if find attribute or 0 if not
+*/
+search_attrib:
+	bpatchx patch2c_7,mem_patch2c
+	fetch 2,mem_ui_uuid_table
+	iforce contr
+search_attrib_next:
+	ifetch 1,contr
+	branch search_attrib_end, blank
+	iforce loopcnt
+search_attrib_loop:	
+	ifetch 2,contr
+	isub regc,null						/* regc is UUID, compare it */
+	branch search_attrib_found_uuid,zero
+	loop search_attrib_loop
+	increase 4,contr
+	call sdp_get_data
+	iadd contr,contr			/* next paragraph */
+	branch search_attrib_next	
+search_attrib_found_uuid:
+	increase -1,loopcnt
+	lshift loopcnt,pdata
+	iadd contr,contr
+	increase 4,contr
+	call sdp_get_data
+	iadd contr,timeup					/* attribute list end */
+search_attrib_loop_attribs:	
+	increase 1,contr
+	ifetch 2,contr
+	isub regb,null
+	//force 0x1,pdata,zero
+//	setflag zero, 0,pdata
+//	copy timeup, timeup
+	branch disable_blank,zero			/* attribute found */
+	call sdp_data_len
+	iadd contr,contr
+	deposit timeup
+	isub contr,null
+	branch search_attrib_end, zero /*attribute end, not found the attribute, return contr = 0*/
+	branch search_attrib_loop_attribs	
+search_attrib_end:
+	force 0,contr
+	force 0,pdata
+	rtn
+	
+
+//search the attribute according the record handle
+//record handle in temp, attribute in regb
+//set the contr to zero if not found
+search_handle_attrib:	
+	bpatchx patch2d_0,mem_patch2d
+	fetch 2,mem_ui_uuid_table
+	iforce contr
+search_handle_attrib_next:
+	ifetch 1,contr
+	branch search_handle_attrib_end, blank
+	lshift pdata,pdata
+	iadd contr, contr
+	ifetch 4,contr
+	isub temp,null						/* regc is UUID, compare it */
+	branch search_handl_attrib_found_handle,zero
+	call sdp_get_data
+	iadd contr,contr			/* next paragraph */
+	branch search_handle_attrib_next	
+search_handl_attrib_found_handle:
+	call sdp_get_data
+	iadd contr,timeup					/* attribute list end */
+search_handle_attrib_loop_attribs:	
+	increase 1,contr
+	ifetch 2,contr
+	isub regb,null
+	rtn zero							/* attribute found */
+	call sdp_data_len
+	iadd contr,contr
+	deposit timeup
+	isub contr,null
+	branch search_handle_attrib_end, zero /*attribute end, not found the attribute, return contr = 0*/
+	branch search_handle_attrib_loop_attribs
+search_handle_attrib_end:
+	force 0,contr
+	rtn	
+
+
+//enable user if find rfcomm channel number, pdata is channel number
+search_rfcomm_cn:
+	arg 0x0400,regb  // attribute protocol edscriptor list
+	call search_handl_attrib_found_handle
+	arg 0x0300,regb  // uuid rfcomm
+	call search_uuid_in_data
+	nrtn user
+	sub rega,3,null
+	branch disable_user,positive
+	ifetch 1,contr
+	bne 0x08,disable_user
+	ifetch 1,contr
+	rtn
+	
+ //input timeup is lenth
+ //input contr is data ptr
+ //return contr is end of uuid; enable user if found uuid
+search_uuid_in_data:
+	bpatchx patch2d_1,mem_patch2d
+	call sdp_get_data
+	copy pdata,rega
+search_uuid_in_data_loop:	
+	ifetch 1,contr
+	and pdata,0x7,loopcnt
+	rshift3 pdata,pdata
+	sub pdata,3,null
+	branch search_uuid_in_data_found_uuid,zero
+	copy loopcnt,pdata
+	beq 5,search_uuid_in_data_found_element_index5
+	beq 6,search_uuid_in_data_found_element_index6
+	beq 7,search_uuid_in_data_found_element_index7
+	increase -1,contr
+	call sdp_get_data
+	iadd contr,contr
+	copy rega,pdata
+	isub temp,rega
+	branch disable_user,zero
+	branch search_uuid_in_data_loop
+	
+search_uuid_in_data_found_element_index5:
+	increase -2,rega
+	increase 1,contr
+	branch search_uuid_in_data_loop
+search_uuid_in_data_found_element_index6:
+	increase -3,rega
+	increase 2,contr
+	branch search_uuid_in_data_loop
+search_uuid_in_data_found_element_index7:
+	increase -5,rega
+	increase 4,contr
+	branch search_uuid_in_data_loop		
+	
+search_uuid_in_data_found_uuid:
+	increase -1,rega
+	copy loopcnt,pdata
+	beq 1,search_uuid_in_data_type_uuid_16
+	beq 2,search_uuid_in_data_type_uuid_32
+	beq 4,search_uuid_in_data_type_uuid_128
+	branch disable_user 
+search_uuid_in_data_type_uuid_128:
+	increase -12,rega
+search_uuid_in_data_type_uuid_32:
+	ifetch 2,contr
+	increase -2,rega
+search_uuid_in_data_type_uuid_16:
+	ifetch 2,contr
+	isub regb,null
+	branch enable_user,zero
+	increase -2,rega
+	branch disable_user,zero
+	branch search_uuid_in_data_loop
+
+/*
+//rega:l2cap len ,mem_search_uuid:uuid to search
+sdp_send_search_req:
+	call l2cap_malloc_sdp_req
+	setarg SDP_SEARCH_REQ
+	istore 1,contw
+	fetch 2,mem_sdp_transactionid_local
+	byteswap pdata,pdata
+	istore 2,contw
+	increase -5,rega
+	byteswap rega,rega
+	//istorer rega,2,contw
+	copy rega,pdata
+	istore 2,contw
+	setarg 0x0335
+	istore 2,contw
+	setarg 0x19
+	istore 1,contw
+	fetch 2,mem_search_uuid
+	istore 2,contw
+	setarg 0x0008
+	istore 2,contw
+	setarg 0
+	istore 1,contw
+	rtn
+
+//rega:l2cap len
+sdp_send_attribute_req:
+	call l2cap_malloc_sdp_req
+	setarg SDP_ATTRIBUTE_REQ
+	istore 1,contw
+	fetch 2,mem_sdp_transactionid_local
+	byteswap pdata,pdata
+	istore 2,contw
+	increase -5,rega
+	byteswap rega,rega
+//	istorer rega,2,contw
+	copy rega,pdata
+	istore 2,contw
+	fetch 4,mem_sdp_record_handle
+	istore 4,contw
+	setarg 0x2c01
+	istore 2,contw
+	setarg 0x0535
+	istore 2,contw
+	setarg 0x0a
+	istore 1,contw
+	setarg 0
+	istore 2,contw
+	setarg -1
+	istore 2,contw
+	setarg 0
+	istore 1,contw
+	rtn
+*/	
+	
+
+sdp_send_spp_request:
+	call l2cap_get_sdp_tx_payload
+	copy pdata,contw
+	setarg 6//Search Attr Req
+	istore 1,contw
+	setarg sdp_tid_spp					
+	istore 2,contw
+	setarg 0x0f00 //length15
+	istore 2,contw
+	setarg 0x1a0535
+	istore 3,contw
+	setarg 0x0111
+	lshift16 pdata,pdata //UUID
+	istore 4,contw
+	setarg 0x2600 //max return len
+	istore 2,contw
+	setarg 0x0335
+	istore 2,contw
+	setarg 0x0009
+	istore 2,contw
+	setarg 0x0004
+	istore 2,contw
+	jam 0x14,mem_sdp_tx_pkt_length
+	rtn
+
Index: program/security.prog
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/program/security.prog	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/program/security.prog	(working copy)
@@ -0,0 +1,2063 @@
+
+ifdef SECURE_CONNECTION
+	
+function_g2:
+	bpatchx patch2d_2,mem_patch2d
+	jam 80,mem_AES_CMAC_data_length
+	arg memdat,contw
+	arg mem_le_srand,contr
+	call memcpy16
+	arg mem_sc_pubkey_local_x_256,contr
+	call memcpy32
+	arg mem_le_pubkey_remote_x_256,contr
+	call memcpy32
+	call inverse_memdat	
+	arg mem_le_mrand,contr
+	call store_inverse_k	
+	call function_AES_CMAC	
+
+	arg mem_AES_CMAC_temp,contw
+	call load_inverse_result
+	setarg 1000000
+	copy pdata,rega
+	fetch 4,mem_AES_CMAC_temp
+	idiv rega
+	call wait_div_end
+	remainder pdata
+	store 4,mem_gkey
+//call ice_break
+	rtn
+
+function_f6_eb:
+	jam 65,mem_AES_CMAC_data_length
+	arg memdat,contw
+	call store_addr_common_a
+	call store_addr_common_b
+	fetch 3,mem_le_pres+1
+	istore 3,contw
+//	arg mem_le_r,contr
+//	call memcpy16	
+	call get_r
+	
+	arg mem_le_mrand,contr
+	call memcpy16
+	arg mem_le_srand,contr
+	call memcpy16
+	call inverse_memdat
+	arg mem_le_mackey ,contr
+	arg mem_AES_CMAC_k,contw
+	call memcpy16
+//	call p_store_inverse_k	
+	branch function_AES_CMAC
+//	arg mem_AES_CMAC_temp,contw
+//	branch p_load_inverse_result
+
+get_r:
+	fetch 4,mem_le_tk
+	istore 4,contw
+	call memset0_4
+	branch memset0_8
+
+function_f6_ea:
+	bpatchx patch2d_3,mem_patch2d
+	jam 65,mem_AES_CMAC_data_length
+	arg memdat,contw
+	call store_addr_common_b
+	call store_addr_common_a
+	fetch 3,mem_le_preq+1
+	istore 3,contw
+//	arg mem_le_r,contr
+//	call memcpy16	
+	call get_r
+	arg mem_le_srand,contr
+	call memcpy16
+	arg mem_le_mrand,contr
+	call memcpy16
+	call inverse_memdat
+	arg mem_le_mackey ,contr
+	arg mem_AES_CMAC_k,contw
+	call memcpy16
+//	call p_store_inverse_k	
+	call function_AES_CMAC
+	arg mem_AES_CMAC_temp,contw
+	branch load_inverse_result
+
+function_f5:
+	jam 32,mem_AES_CMAC_data_length
+	arg mem_le_dhkey_256 ,contr
+	arg memdat,contw
+	call memcpy32
+	call inverse_memdat
+	arg mem_le_slat,contr
+	call store_inverse_k	
+	call function_AES_CMAC
+	arg mem_AES_CMAC_k,contw
+	call store_aes_result
+	arg 1,temp
+	call function_f5_common
+	arg mem_le_ltk,contw
+	call load_inverse_result
+	arg 0,temp
+	call function_f5_common
+	arg mem_le_mackey,contw
+//	branch p_load_inverse_result
+	branch store_aes_result
+
+
+function_f5_common:
+	bpatchx patch2d_4,mem_patch2d
+	jam 53,mem_AES_CMAC_data_length
+	setarg 0x100
+	store 2,memdat
+	call store_addr_common_b
+	call store_addr_common_a
+	arg mem_le_srand,contr
+	call memcpy16
+	arg mem_le_mrand,contr
+	call memcpy16
+//	fetch 4,mem_le_keyid 0x62746c65
+	setarg 0x6c65
+	istore 2,contw
+	setarg 0x6274
+	istore 2,contw
+	istoret 1,contw   //counter
+	call inverse_memdat	
+	branch function_AES_CMAC
+
+store_addr_common_b:
+	fetch 6,mem_le_lap
+	istore 6,contw
+	fetch 1,mem_le_conn_own_addr_type
+	istore 1,contw
+	rtn
+
+store_addr_common_a:
+	fetch 6,mem_le_plap
+	istore 6,contw
+//	setarg 0x2dcfc1
+//	istore 3,contw
+//	setarg 0xa71370
+//	istore 3,contw
+	fetch 1,mem_le_conn_peer_addr_type
+	istore 1,contw
+	rtn
+
+function_f4_ca:
+	jam 65,mem_AES_CMAC_data_length
+	fetch 1,mem_passkey_1bit
+	store 1,memdat
+	arg mem_sc_pubkey_local_x_256,contr
+	call memcpy32
+	arg mem_le_pubkey_remote_x_256,contr
+	call memcpy32
+	call inverse_memdat
+	arg mem_le_mrand,contr
+	call store_inverse_k	
+	branch function_AES_CMAC
+	
+
+function_f4_cb:
+	jam 65,mem_AES_CMAC_data_length
+	fetch 1,mem_passkey_1bit
+	store 1,memdat
+	arg mem_le_pubkey_remote_x_256,contr
+	call memcpy32
+	arg mem_sc_pubkey_local_x_256,contr
+	call memcpy32
+	call inverse_memdat
+	arg mem_le_srand,contr
+	call store_inverse_k	
+	branch function_AES_CMAC
+
+function_AES_CMAC:
+	bpatchx patch2d_5,mem_patch2d
+	call function_AES_CMAC_Generate_Subkey
+//call ice_break
+//	jam 65,mem_AES_CMAC_data_length
+//call ice_break
+	fetch 1,mem_AES_CMAC_data_length
+	copy pdata,temp
+function_ceil16:
+	increase 15,pdata
+	rshift4 pdata,pdata
+	copy pdata,regb
+	branch function_AES_CMAC_set_flag_0_balnk,blank
+	and temp,0x0f,pdata
+	nbranch function_AES_CMAC_set_flag_0,blank
+//	flag =1;
+	arg mem_AES_CMAC_k1,regc
+	arg memdat,pdata
+	increase -16,pdata
+//	iadd temp,pdata
+//	isub rega,rega
+	iadd temp,rega	
+	arg mem_AES_CMAC_M_last,contw
+	arg 4,loopcnt	
+	call xor_loop
+//call ice_break
+//	arg mem_f4_k1,contr
+//	call load_key
+	branch function_AES_CMAC_aes
+
+function_AES_CMAC_set_flag_0_balnk:
+	arg 1,regb
+	arg 0,rega
+//	arg mem_f4_test_data,pdata
+	branch function_AES_CMAC_set_flag_0_common
+//call ice_break
+
+function_AES_CMAC_set_flag_0:
+//	flag = 0;
+	and temp,0x0f,rega
+function_AES_CMAC_set_flag_0_common:
+	arg memdat,pdata
+	iadd temp,pdata
+	isub rega,contr
+//call ice_break
+	arg mem_AES_CMAC_temp,contw
+	call function_AES_CMAC_padding
+//call ice_break
+	arg mem_AES_CMAC_k2,regc
+	arg mem_AES_CMAC_temp,rega
+	arg mem_AES_CMAC_M_last,contw
+	arg 4,loopcnt	
+	call xor_loop	
+//call ice_break
+
+//	arg mem_f4_k2,contr
+//	call load_key
+
+//	branch p_function_f4_aes
+function_AES_CMAC_aes:
+//	arg mem_f4_k,contr
+//	call load_key
+//	arg mem_AES_CMAC_xor,contr
+//	call load_data128
+	call aes_clear_data
+	call aes_init	
+//	arg mem_f4_k,contr
+//	call load_key
+	arg memdat,contr
+function_AES_CMAC_aes_loop:
+//generate_mic_loop:
+	increase -1,regb
+	deposit regb
+	branch function_AES_CMAC_aes_loop_end,blank
+	call load_data128
+	call do_aes_cbc
+	branch function_AES_CMAC_aes_loop
+//generate_mic_end:
+function_AES_CMAC_aes_loop_end:	
+	arg mem_AES_CMAC_temp,contw
+	call store_aes_result
+	arg mem_AES_CMAC_M_last,contr
+	call load_data128
+	call aes_init	
+	arg mem_AES_CMAC_temp,contr
+	call load_data128	
+	branch do_aes_cbc
+
+
+
+load_inverse_result:
+//	arg mem_AES_CMAC_temp,contw
+	copy contw,rega
+	call store_aes_result
+//	arg mem_AES_CMAC_temp,rega
+	arg 16,loopcnt
+	branch inverse_data
+	
+store_inverse_k:
+	arg mem_AES_CMAC_k,contw
+	call memcpy16
+inverse_k:	
+	arg 16,loopcnt
+	arg mem_AES_CMAC_k,rega	
+	branch inverse_data
+	
+inverse_memdat:
+	fetch 1,mem_AES_CMAC_data_length
+	copy pdata,loopcnt
+	arg memdat,rega
+	branch inverse_data
+
+bn_lshift_0_inverse:
+	ifetch 1,rega
+	lshift pdata,pdata
+	isolate1 0,regc
+	setflag true,0,pdata	
+	isolate1 8,pdata
+	setflag true,0,regc	
+	istore 1,rega
+         increase -1,rega
+	loop bn_lshift_0_inverse
+	rtn	
+
+function_AES_CMAC_k1_inverse:
+	arg mem_AES_CMAC_k1,rega
+function_AES_CMAC_inverse_common:
+	increase 15,rega
+	force 16,loopcnt
+	force 0,regc
+	branch  bn_lshift_0_inverse	
+
+function_AES_CMAC_k2_inverse:
+	arg mem_AES_CMAC_k2,rega
+	branch function_AES_CMAC_inverse_common
+	
+
+function_AES_CMAC_Generate_Subkey:
+	arg mem_AES_CMAC_k,contr
+	call load_key
+//	arg mem_AES_CMAC_xor,contr
+//	call aes_load_xor
+	force regidx_xor,regext_index
+	call aes_clear
+	call aes_clear_data
+	call do_aes_ocb
+	
+//	force 0x38,aes_ctrl
+//	force 0x0,aes_ctrl
+//	call wait_aes
+	arg mem_AES_CMAC_k1,contw
+	call store_aes_result
+function_AES_CMAC_k1:
+	bpatchx patch2d_6,mem_patch2d
+	fetch 1,mem_AES_CMAC_k1
+	isolate1 7,pdata
+	nbranch function_AES_CMAC_k1_0,true	
+	call function_AES_CMAC_k1_inverse
+	
+//p_function_f4_k1_xor:
+	arg mem_AES_CMAC_k1,regc
+//	arg mem_AES_CMAC_rb,rega
+	arg mem_AES_CMAC_k1,contw
+//	arg 3,loopcnt
+//	call xor_loop
+	call function_AES_CMAC_xor_rb
+	branch function_AES_CMAC_k2
+function_AES_CMAC_k1_0:	
+	call function_AES_CMAC_k1_inverse
+function_AES_CMAC_k2:
+//call ice_break
+	arg mem_AES_CMAC_k1,contr
+	arg mem_AES_CMAC_k2,contw
+	call memcpy16
+	fetch 1,mem_AES_CMAC_k2
+	isolate1 7,pdata
+	nbranch function_AES_CMAC_k2_inverse,true		
+	call function_AES_CMAC_k2_inverse
+//p_function_f4_k2_xor:
+	arg mem_AES_CMAC_k2,regc
+//	arg mem_AES_CMAC_rb,rega
+	arg mem_AES_CMAC_k2,contw
+//	arg 3,loopcnt
+//	branch xor_loop	
+
+
+//rb:00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 87 
+function_AES_CMAC_xor_rb:
+	arg 3,loopcnt
+function_AES_CMAC_xor_rb_loop:	
+	arg 0,temp
+	call function_AES_CMAC_xor_loop_common	
+	increase 4,regc
+	loop  function_AES_CMAC_xor_rb_loop
+	arg 0x8700,temp
+	lshift16 temp,temp
+function_AES_CMAC_xor_loop_common:	
+	ifetch   4,regc
+	ixor  temp,pdata
+	istore   4,contw	
+	rtn
+		
+
+
+
+//input rega :length <16	contr,contw
+function_AES_CMAC_padding:
+	bpatchx patch2d_7,mem_patch2d
+	arg 16,loopcnt
+	arg 0,pdata
+function_AES_CMAC_padding_loop:
+	isub rega,null
+	branch function_AES_CMAC_padding_beq_length,zero
+	branch function_AES_CMAC_padding_big_length,positive
+	ifetcht 1,contr
+	istoret 1,contw
+function_AES_CMAC_padding_loop2:	
+	increase 1,pdata
+	loop function_AES_CMAC_padding_loop
+	rtn
+function_AES_CMAC_padding_beq_length:	
+	arg 0x80,temp
+function_AES_CMAC_padding_common:
+	istoret 1,contw
+	branch  function_AES_CMAC_padding_loop2
+
+function_AES_CMAC_padding_big_length:
+	arg 0,temp
+	branch function_AES_CMAC_padding_common
+
+endif
+	
+generate_kinit:
+	call function_e22
+	arg mem_input_store,contr
+	arg mem_kinit,contw		/* Kinit is ready */
+	branch memcpy16
+
+
+function_e21:	/* rega pointers to bdaddr */
+	disable user
+	call function_expand
+	arg mem_random_number,contr
+	arg mem_x,contw
+	force 15,loopcnt
+	call memcpy			
+	ifetch 1,contr
+	xor_into 6,pdata
+	istore 1,contw
+	setarg mem_y
+	store 2,memp_ar_input
+	setarg mem_x
+	store 2,memp_ar_key
+	set1 mark_ar2,mark
+	branch function_ar
+
+
+	
+function_e22:		/* rega pointers to bdaddr */
+	fetcht 1,mem_pin_length
+	force 16,regb			/* total 16 bytes */
+	add temp,6,regc		/* regc is l' */
+	sub regc,16,null		
+	branch function_e22_pin_init,positive 
+	force 16,regc
+function_e22_pin_init:			/* generate x from pin and bdaddr */
+	arg mem_x,contw
+function_e22_genx_pin:
+	arg mem_pin,contr
+	copy temp,loopcnt
+	disable user
+function_e22_genx_loop:
+	ifetch 1,contr
+	istore 1,contw
+	increase -1,regb
+	branch function_e22_genx_end,zero
+	loop function_e22_genx_loop
+	branch function_e22_genx_pin,user
+	enable user
+	force 6,loopcnt
+	copy rega,contr
+	branch function_e22_genx_loop
+function_e22_genx_end:
+	arg mem_random_number,contr
+	arg mem_y,contw
+	call memcpy16
+	fetch 1,mem_y15
+	ixor regc,pdata
+	store 1,mem_y15	/* inpy[15] = rand_num[15]^l'; */
+	setarg mem_y
+	store 2,memp_ar_input
+	setarg mem_x
+	store 2,memp_ar_key
+	set1 mark_ar2,mark
+	branch function_ar
+
+
+
+
+function_e1:	/* rega pointers to bdaddr */
+	disable user
+	call function_expand
+	branch function_hash
+
+function_e3:
+	arg mem_aco,rega
+	enable user
+	call function_expand
+	call function_hash
+	arg mem_input_store,contr
+	arg mem_kc,contw
+	branch memcpy16
+
+	/* costs 41769 clocks */
+function_hash:
+	setarg mem_random_number
+	store 2,memp_ar_input
+	setarg mem_link_key
+	store 2,memp_ar_key
+	set0 mark_ar2,mark
+	call function_ar
+	arg mem_input_store,rega
+	arg mem_random_number,regb
+	arg mem_x,contw
+	call xor16
+	arg mem_x,rega
+	arg mem_y,regb
+	copy regb,contw
+	enable user
+	call add16
+	call key_offset
+	setarg mem_y
+	store 2,memp_ar_input
+	setarg mem_x
+	store 2,memp_ar_key
+	set1 mark_ar2,mark
+	branch function_ar
+	
+
+	/* totally costs 20700 clocks */
+function_ar:
+	jam 0,mem_ar_hround
+	fetch 2,memp_ar_key
+	iforce contr
+	arg mem_key_store,contw
+	call memcpy16
+	fetch 2,memp_ar_input
+	iforce contr
+	arg mem_input_store,contw
+	call memcpy16
+	
+function_ar_loop:
+	call key_scheduling
+	disable user
+	bmark0 mark_ar2,function_ar_original
+	fetch 1,mem_ar_hround
+	bne 4,function_ar_original
+	fetch 2,memp_ar_input
+	iforce regb
+	call xor_mod32_ar2
+function_ar_original:
+	call xor_mod32
+	call el_boxes
+	fetch 1,mem_ar_hround
+	increase 1,pdata
+	store 1,mem_ar_hround
+
+	call key_scheduling
+	enable user
+	call xor_mod32
+	call pht
+	call permute
+	call pht
+	call permute
+	call pht
+	call permute
+	call pht
+	fetch 1,mem_ar_hround
+	increase 1,pdata
+	store 1,mem_ar_hround
+	bne 16,function_ar_loop
+	call key_scheduling
+	disable user
+	branch xor_mod32
+	
+/* input round number and temp key in mem_key_store, and output the next temp key in mem_key_store */
+/* round key is generated and store in mem_round_key */
+key_scheduling:
+	fetch 1,mem_ar_hround
+	arg mem_key_store,contr
+	branch key_sched_zero,blank
+	iforce regb      			/* regb is half round */
+	force 17,loopcnt
+	copy contr,contw
+key_rotateloop:
+	ifetch 1,contr
+	lshift3 pdata,temp
+	rshift2 pdata,pdata
+	rshift3 pdata,pdata
+	ior temp,pdata
+	istore 1,contw
+	loop key_rotateloop
+	setarg mem_key_store
+	iadd regb,contr
+	force 16,loopcnt    
+	arg mem_round_key,contw
+key_select_octet_loop:
+	ifetch 1,contr
+	istore 1,contw
+	compare mem_key_store_end,contr,0xff
+	nbranch key_select_octet_nwrap,true
+	increase -17,contr
+key_select_octet_nwrap:
+	loop key_select_octet_loop
+	force 0,rega         /* rega is index of octet within row */
+	add regb,-1,regc    /* this is the row index, half_round#1 is 0 */
+	lshift2 regc,regc
+	lshift2 regc,regc
+	call enable_authrom
+	setarg mem_b_box
+	iadd regc,regc       /* regc hold the starting address of the row */
+	arg mem_round_key,contw
+	force 16,loopcnt
+bias_round_key_loop:
+	ifetcht 1,regc
+	ifetch 1,contw
+	iadd temp,pdata
+	istore 1,contw
+	increase 1,regc
+	loop bias_round_key_loop
+	branch disable_authrom
+
+key_sched_zero:    /* round 0, key1 */
+	force 16,loopcnt
+	force 0,temp
+create_byte_16_loop:
+	ifetch 1,contr
+	ixor temp,temp
+	loop create_byte_16_loop
+	deposit temp
+	istore 1,contr    	/* store the byte #16 */
+	arg mem_key_store,contr
+	arg mem_round_key,contw
+	branch memcpy16
+
+xor_mod32:     /* xor on 0,3, add on 1,2. if user is set, invert. x in rega and y in regb, out in contw */
+	arg mem_round_key,regb
+xor_mod32_ar2:
+	force 16,loopcnt
+	arg mem_input_store,rega
+	copy rega,contw
+xor_mod32_loop:	
+	ifetcht 1,rega
+	ifetch 1,regb
+	ixor temp,alarm
+	and loopcnt,3,regc
+	nbranch xor_mod32_invert,user
+	xor_into 3,regc
+xor_mod32_invert:
+	sub regc,1,regc
+	branch xor_even,positive
+	iadd temp,alarm
+xor_even:
+	deposit alarm
+	istore 1,contw
+	increase 1,rega
+	increase 1,regb
+	loop xor_mod32_loop
+	rtn
+
+el_boxes:
+	call enable_authrom
+	force 16,loopcnt
+	arg mem_input_store,rega
+el_box_loop:	
+	ifetch 1,rega
+	arg mem_e_box,contr
+	and loopcnt,3,regc
+	sub regc,1,null
+	branch e_boxes,positive
+	arg mem_l_box,contr
+e_boxes:
+	iadd contr,contr
+	ifetch 1,contr
+	istore 1,rega
+	increase 1,rega
+	loop el_box_loop
+	branch disable_authrom
+
+pht:				
+	force 8,loopcnt
+	arg mem_input_store,contr
+	copy contr,contw
+pht_loop:
+	ifetch 1,contr
+	iforce rega
+	ifetch 1,contr
+	iforce regb
+	lshift rega,pdata
+	iadd regb,pdata
+	istore 1,contw
+	deposit rega
+	iadd regb,pdata
+	istore 1,contw
+	loop pht_loop
+	rtn
+
+/* 8 11 12 15 2 1 6 5 10 9 14 13 0 7 4 3 */
+permute:			
+	setarg 0x8ae42c
+	iforce temp
+	force 7,loopcnt
+	call permute_exchange
+	setarg 0xd751b
+	iforce temp
+	force 5,loopcnt
+	call permute_exchange
+	fetch 1,mem_input_store+15
+	iforce rega
+	fetch 1,mem_input_store+3
+	store 1,mem_input_store+15
+	deposit rega
+	store 1,mem_input_store+3
+	rtn
+
+permute_exchange:
+	and temp,0xf,regb
+permute_loop:
+	and temp,0xf,pdata
+	arg mem_input_store,contw
+	iadd contw,contw
+	ifetch 1,contw
+	iforce regc
+	deposit rega
+	istore 1,contw
+	copy regc,rega
+	rshift4 temp,temp
+	loop permute_loop	
+	setarg mem_input_store
+	iadd regb,contw
+	deposit rega
+	istore 1,contw
+	rtn
+
+add16:
+	enable user
+	branch xor_add16
+
+xor16:
+	disable user
+xor_add16:	/* if user is set, do add, else do xor */
+	force 16,loopcnt	/* rega and regb pointers to src, contw is result */
+xoradd_loop:
+	ifetcht 1,rega
+	ifetch 1,regb
+	branch xoradd_add,user
+	ixor temp,pdata
+	branch xoradd_store
+xoradd_add:	
+	iadd temp,pdata
+xoradd_store:	
+	istore 1,contw
+	increase 1,rega
+	increase 1,regb
+	loop xoradd_loop
+	rtn
+
+	
+function_expand:		/* rega pointers to bdaddr, or aco and user is set */
+	arg mem_y,contw
+	ifetch 6,rega
+	istore 6,contw
+	branch expand_12,user
+	ifetch 6,rega
+	branch expand_cont
+expand_12:
+	ifetch 6,contr
+expand_cont:
+	istore 6,contw
+	ifetch 4,rega
+	istore 4,contw
+	rtn
+
+key_offset:
+	arg mem_link_key,contr
+	arg mem_x,contw
+	arg 0,temp
+	setarg 0x8395a7
+	call concatenate_temp24
+	setarg 0xb3c1df
+	call concatenate_temp24
+	setarg 0xe5e9
+	call concatenate_temp16
+	copy temp,regab
+	disable user
+	call key_addxor
+	copy regab,temp
+	enable user
+	branch key_addxor
+
+key_addxor:
+	force 8,loopcnt
+key_addxor_loop:	
+	ifetch 1,contr
+	compare 1,loopcnt,1
+	branch key_high,user
+	branch key_xor,true
+key_add:	
+	iadd temp,pdata
+	branch key_store
+key_high:
+	branch key_add,true
+key_xor:
+	ixor temp,pdata
+key_store:
+	istore 1,contw
+	rshift8 temp,temp
+	loop key_addxor_loop
+	rtn
+
+copy_aco:
+	fetch 6,mem_input_store+4
+	store 6,mem_aco
+	ifetch 6,contr
+	istore 6,contw
+	rtn
+	
+concatenate_temp24:
+	lshift8 temp,temp
+concatenate_temp16:
+	lshift16 temp,temp
+	ior temp,temp
+	rtn
+
+ifdef TESTING
+test_security:
+	fetch 1,0xff
+	branch test_security,blank
+
+	/* inrand */
+	setarg 0x1BC683
+	store 3,0x0
+	setarg 0x122980
+	istore 3,contw
+	setarg 0xD0DB17
+	istore 3,contw
+	setarg 0x2B1D78
+	istore 3,contw
+	setarg 0x2743A6
+	istore 3,contw
+	setarg 0xD8
+	istore 1,contw
+
+	/* comb A */
+	setarg 0xA6D0C9
+	store 3,0x10
+	setarg 0xA9E86C
+	istore 3,contw
+	setarg 0x9E89D5
+	istore 3,contw
+	setarg 0xC61838
+	istore 3,contw
+	setarg 0x6F0318
+	istore 3,contw
+	setarg 0x9F
+	istore 1,contw
+
+	/* comb B */
+	setarg 0x7F6833
+	store 3,0x20
+	setarg 0xE62E1B
+	istore 3,contw
+	setarg 0x9F67FC
+	istore 3,contw
+	setarg 0x8D3712
+	istore 3,contw
+	setarg 0x0B846C
+	istore 3,contw
+	setarg 0x4A
+	istore 1,contw
+
+	/* auth rand A */
+	setarg 0xFBB686
+	store 3,0x30
+	setarg 0x19FE7F
+	istore 3,contw
+	setarg 0x16A439
+	istore 3,contw
+	setarg 0xF4F6A4
+	istore 3,contw
+	setarg 0x10D61D
+	istore 3,contw
+	setarg 0xDE
+	istore 1,contw
+
+	/* auth rand B */
+	setarg 0x735B0C
+	store 3,0x40
+	setarg 0xA7F06B
+	istore 3,contw
+	setarg 0x04625E
+	istore 3,contw
+	setarg 0x3463B0
+	istore 3,contw
+	setarg 0xB8F17A
+	istore 3,contw
+	setarg 0x7C
+	istore 1,contw
+
+	/* address A */
+	setarg 0xf91330
+	store 3,0xb0
+	setarg 0x664c7d
+	istore 3,contw
+
+	/* address B */
+	setarg 0xdc7100
+	store 3,0xb8
+	setarg 0x2ea003
+	istore 3,contw
+
+	/* sres A */
+	setarg 0x2EEE19
+	store 3,0x50
+	setarg 0x7E
+	istore 1,contw
+
+	/* sres B */
+	setarg 0x4231A4
+	store 3,0x58
+	setarg 0xD1
+	istore 1,contw
+
+	/* linkA */
+	setarg 0xa6a026
+	store 3,0x60
+	setarg 0x2569d2
+	istore 3,contw
+	setarg 0xab4a9d
+	istore 3,contw
+	setarg 0x5e87c0
+	istore 3,contw
+	setarg 0x792aa9
+	istore 3,contw
+	setarg 0x4b
+	istore 1,contw
+
+	/* linkB */
+	setarg 0xa1f07d
+	store 3,0x70
+	setarg 0xec97a6
+	istore 3,contw
+	setarg 0xae31eb
+	istore 3,contw
+	setarg 0x6fe3c4
+	istore 3,contw
+	setarg 0xa1ae1a
+	istore 3,contw
+	setarg 0x3a
+	istore 1,contw
+
+	/* linkkey */
+	setarg 0x07505b
+	store 3,0x80
+	setarg 0xc9fe74
+	istore 3,contw
+	setarg 0x057b76
+	istore 3,contw
+	setarg 0x316404
+	istore 3,contw
+	setarg 0xd884b3
+	istore 3,contw
+	setarg 0x71
+	istore 1,contw
+
+	/* K */
+	setarg 0x0c333f
+	store 3,0x90
+	setarg 0x41de70
+	istore 3,contw
+	setarg 0x9b05a2
+	istore 3,contw
+	setarg 0xb954a2
+	istore 3,contw
+	setarg 0xb37516
+	istore 3,contw
+	setarg 0x36
+	istore 1,contw
+
+	/* kinit */
+	setarg 0x5ff91a
+	store 3,0xa0
+	setarg 0x39b5a4
+	istore 3,contw
+	setarg 0x258f2d
+	istore 3,contw
+	setarg 0x5d4a85
+	istore 3,contw
+	setarg 0x656ad3
+	istore 3,contw
+	setarg 0xab
+	istore 1,contw
+
+	arg 0,contr
+	arg mem_random_number,contw
+	call memcpy16
+	setarg 0x3131
+	store 2,mem_pin
+	istore 2,contw
+	jam 4,mem_pin_length
+	arg 0xb8,rega
+	call function_e22
+	arg mem_input_store,contr
+	arg mem_kinit,contw
+	call memcpy16
+	arg 0x10,rega
+	arg mem_kinit,regb
+	arg mem_random_number,contw
+	call xor16
+	arg 0xb0,rega
+	call function_e21
+	arg 0x60,regb
+	call compare16
+error_lka:
+	nbranch error_lka,zero
+	arg mem_input_store,contr
+	arg mem_link_key,contw	
+	call memcpy16
+	arg 0x20,rega
+	arg mem_kinit,regb
+	arg mem_random_number,contw
+	call xor16
+	arg 0xb8,rega
+	call function_e21
+	arg 0x70,regb
+	call compare16
+error_lkb:
+	nbranch error_lkb,zero
+	arg mem_input_store,rega
+	arg mem_link_key,regb
+	arg mem_link_key,contw
+	call xor16
+	arg 0x30,contr
+	arg mem_random_number,contw
+	call memcpy16
+	arg 0xb8,rega
+	call function_e1
+	arg 0x50,regb
+	force 4,loopcnt
+	call compare_key
+error_sresa:
+	nbranch error_sresa,zero
+	arg 0x40,contr
+	arg mem_random_number,contw
+	call memcpy16
+	arg 0xb0,rega
+	call function_e1
+	arg 0x58,regb
+	force 4,loopcnt
+	call compare_key
+error_sresb:
+	nbranch error_sresb,zero
+	branch loop1
+	
+	arg 0,contr
+	arg mem_random_number,contw
+	call memcpy16
+	force 12,loopcnt
+	call memcpy
+	arg 0x1c,contr
+	arg mem_link_key,contw
+	call memcpy16
+	arg 0x10,rega
+	call function_e3
+	branch loop1
+
+compare16:
+	force 16,loopcnt
+compare_key:
+	arg mem_input_store,rega
+	branch compare_loop
+
+compare_loop:
+	ifetch 1,rega
+	ifetcht 1,regb
+	isub temp,null
+	nrtn zero
+	increase 1,rega
+	increase 1,regb
+	loop compare_loop
+	force 0,pdata
+	rtn
+
+endif
+
+
+loop1:	
+	branch loop1
+
+/* ==================== LE security ================= */
+
+generate_stk:
+	bpatchx patch2e_0,mem_patch2e
+	call function_s1
+	arg mem_le_ltk,contw
+	branch store_aes_result
+
+	/* contr = rand pointer */
+authenticate_rconfirm:
+	arg mem_le_srand,contw
+	branch authenticate_mconfirm,master
+	arg mem_le_mrand,contw
+authenticate_mconfirm:
+	copy contr,rega
+	call memcpy16
+	call function_c1
+	arg mem_le_rconfirm,contr
+	branch compare_res
+
+generate_confirm:
+	arg mem_le_mrand,rega
+	branch generate_mrand,master
+	arg mem_le_srand,rega
+generate_mrand:
+	copy rega,contw
+	call generate_random
+	branch function_c1
+
+generate_sk:
+	arg mem_le_skdm,contr
+	call load_data128
+	arg mem_le_ltk,contr
+	call load_regext
+	force 0x38,aes_ctrl
+	force 0x0,aes_ctrl
+	call wait_aes
+	arg mem_le_sk,contw
+	branch store_aes_result
+
+
+//input temp:counter; rega:len	
+ccm_b0:
+	force regidx_xor,regext_index				
+	force 0x49,pdata
+	branch iv_common
+	
+	/* temp=packet counter, rega = length or block counter*/
+first_block_counter:
+	force 0x49,pdata
+	branch first_block
+first_block_data:
+	force 1,pdata
+first_block:
+	force regidx_data,regext_index			
+iv_common:
+	lshift8 temp,regext
+	ior regext,regext
+	increase 1,regext_index
+	rshift8 temp,regext
+	rshift16 regext,regext
+	fetch 2,mem_ccm_iv
+	lshift16 pdata,pdata
+	ior regext,regext				/* octet3&octet4 of counter and low 16 bit of IV */
+	increase 1,regext_index
+	ifetchr regext, 4,contr					/* IV2-IV5 */
+	increase 1,regext_index
+	ifetch 2,contr					/* IV6-IV7 */
+	byteswap rega,regext
+	lshift16 regext,regext
+	ior regext,regext
+	increase 1,regext_index
+	rtn
+
+
+	/* temp=packet counter, regc pointers to data */	
+generate_mic:
+	add regc,1,contr
+	ifetch 1,contr
+	iforce rega
+	call first_block_counter		//B0
+	call do_aes_ocb
+
+	force regidx_data,regext_index			/* B1 */
+	ifetch 1,regc
+	and_into 0x3,pdata
+	lshift16 pdata,regext
+	set1 8,regext
+	call clear_hidata	//B1
+	call do_aes_cbc
+
+	copy rega,loopcnt
+	add regc,2,contr
+	call padding_data	//数据填充
+generate_mic_loop:
+	call aes_load_data
+	call do_aes_cbc
+	deposit loopcnt
+	branch generate_mic_end,blank
+	branch generate_mic_loop
+generate_mic_end:
+	force regidx_result,regext_index
+	deposit regext
+	store 4,mem_le_mic
+	rtn
+
+aes_crypt_data:
+	increase 1,rega
+	call first_block_data
+	copy regc,contr
+	call aes_load_xor
+	call do_aes_ctr
+	call store_enc_data
+	increase 16,regc
+	increase -16,regb
+	branch aes_crypt_data,positive
+	rtn
+
+/*
+ccm_br_enc:
+	arg mem_kc,contr  //mem_kc  key 
+	call load_key
+	
+	fetcht 5,mem_ccm_pcnt_tx
+	call generate_mic_br
+	force regidx_xor,regext_index
+	iforce regext
+	force 0,rega					
+	call first_block_data_br
+	call do_aes_ctr
+
+	fetch 2,mem_ccm_len
+ 	add pdata,-1,regb
+	iadd regc,contw
+	force regidx_result,regext_index
+	deposit regext
+	istore 4,contw	
+	store 4,mem_le_mic
+
+	call aes_crypt_data_br
+//	fetch 2,mem_ccm_len
+//	increase 4,pdata
+//	store 2,mem_ccm_len
+	fetcht 5,mem_ccm_pcnt_tx
+	increase 1,temp
+	storet 5,mem_ccm_pcnt_tx
+	rtn
+
+
+ccm_br_decrypt:
+	call disable_user2
+	copy contw,pdata
+	fetcht 2,mem_len
+	increase 4,temp
+	isub temp,pdata
+	store 2,mem_ccm_rx_ptr
+	
+	arg mem_kc,contr  //mem_kc  key // iv
+	call load_key
+	fetch 2,mem_ccm_rx_ptr
+	copy pdata,regc
+	fetch 2,mem_len
+	iadd regc,contr
+	add pdata,-1,regb	
+	ifetch 4,contr   //mic
+	force regidx_xor,regext_index
+	iforce regext
+	force 0,rega					
+	fetcht 5,mem_ccm_pcnt_rx
+	call first_block_data_br
+	call do_aes_ctr
+	force regidx_result,regext_index
+	deposit regext
+	store 4,mem_le_peer_mic
+	call aes_crypt_data_br
+
+	fetch 1,mem_lch_code
+	and pdata,0x3,pdata
+	store 1,mem_llid
+	fetch 1,mem_rx_type
+	copy pdata,type
+	fetch 2,mem_len
+	copy pdata,rega
+	fetch 2,mem_ccm_rx_ptr
+	copy pdata,regc
+	fetcht 5,mem_ccm_pcnt_rx	
+	call generate_mic_br
+	fetcht 4,mem_le_peer_mic
+	isub temp,pdata				
+	nrtn blank
+	fetch 4,mem_ccm_last_mic			
+	isub temp,pdata
+	rtn blank
+	storet 4,mem_ccm_last_mic
+	fetch 5,mem_ccm_pcnt_rx
+	increase 1,pdata
+	store 5,mem_ccm_pcnt_rx
+	branch enable_user2
+
+	//temp=packet counter, regc pointers to data, rega len	
+generate_mic_br:
+
+	call first_block_counter_br
+	call do_aes_ocb
+
+	force regidx_data,regext_index			
+	and type,0x0f,pdata
+	lshift3 pdata,pdata
+	ior am_addr,pdata  //lt_addr
+	lshift8 pdata,regext
+	fetch 1,mem_llid
+	lshift16 pdata,pdata
+	ior regext,regext
+	call clear_hidata
+	call do_aes_cbc
+
+	copy rega,loopcnt  //data length
+//	add regc,2,contr    // data ptr
+	copy regc,contr
+	call padding_data
+generate_mic_br_loop:
+	call aes_load_data
+	call do_aes_cbc
+	deposit loopcnt
+	branch generate_mic_br_end,blank
+	branch generate_mic_br_loop
+generate_mic_br_end:
+	force regidx_result,regext_index
+	deposit regext
+	store 4,mem_le_mic  //T
+	rtn	
+	
+aes_crypt_data_br:
+	increase 1,rega
+	call first_block_data_br
+	copy regc,contr
+	call aes_load_xor
+	call do_aes_ctr
+	call store_enc_data
+	increase 16,regc
+	increase -16,regb
+	branch aes_crypt_data_br,positive
+	rtn
+	
+	// temp=packet counter, rega = length or block counter
+first_block_counter_br:
+	force 0x49,pdata
+	branch first_block_br
+	
+first_block_data_br:
+	force 1,pdata
+first_block_br:
+	force regidx_data,regext_index			 
+	lshift8 temp,regext
+	ior regext,regext
+	increase 1,regext_index
+	rshift8 temp,regext
+	rshift16 regext,regext
+	fetch 2,mem_ccm_iv  //iv
+	lshift16,pdata,pdata
+	ior regext,regext				
+	increase 1,regext_index
+	ifetch 4,contr					
+	iforce regext
+	increase 1,regext_index
+	ifetch 2,contr					
+	byteswap rega,regext  
+	lshift16 regext,regext
+	ior regext,regext
+	increase 1,regext_index
+	rtn
+*/
+
+/*
+le_encrypt:
+	arg mem_le_txheader,regc
+	fetcht 5,mem_ccm_pcnt_tx
+	call generate_mic
+	force regidx_xor,regext_index
+	iforce regext
+	force 0,rega					 
+	call first_block_data
+	call do_aes_ctr
+	arg mem_le_txpayload,regc
+	fetch 1,mem_le_txlen
+	add pdata,-1,regb
+	iadd regc,contw
+	force regidx_result,regext_index
+	deposit regext
+	istore 4,contw	
+	call aes_crypt_data
+	fetch 1,mem_le_txlen
+	increase 4,pdata
+	store 1,mem_le_txlen
+	fetcht 5,mem_ccm_pcnt_tx
+	increase 1,temp
+	set0 LE_CCM_DIRECTIONBIT,temp
+	storet 5,mem_ccm_pcnt_tx
+	rtn
+
+le_decrypt:
+	fetch 1,mem_le_rxbuf+1
+	arg mem_le_rxbuf+2,regc
+	add pdata,-1,regb
+	increase -4,pdata				
+	store 1,mem_le_rxbuf+1
+	iadd regc,contr
+	ifetch 4,contr
+	force regidx_xor,regext_index
+	iforce regext
+	force 0,rega					
+	fetcht 5,mem_ccm_pcnt_rx
+	call first_block_data	//generate nonce
+	call do_aes_ctr
+	force regidx_result,regext_index
+	deposit regext
+	store 4,mem_le_peer_mic
+	call aes_crypt_data
+	arg mem_le_rxbuf,regc
+	call generate_mic
+	fetcht 4,mem_le_peer_mic
+	isub temp,pdata				
+	nrtn blank
+	fetch 4,mem_ccm_last_mic			
+	isub temp,pdata
+	rtn blank
+	storet 4,mem_ccm_last_mic
+	fetch 5,mem_ccm_pcnt_rx
+	increase 1,pdata
+	set1 LE_CCM_DIRECTIONBIT,pdata
+	store 5,mem_ccm_pcnt_rx
+	force 0,pdata
+	rtn
+*/
+
+
+//input regc input playload addr; 
+ccm_br_enc_new:
+	call ccm_init_common
+	bpatchx patch2e_1,mem_patch2e
+	arg mem_kc,contr   
+	call load_key
+	
+	jam 0,core_ccm_aad0 
+	and type,0x0f,pdata
+	lshift3 pdata,pdata
+	ior am_addr,pdata  
+	store 1,core_ccm_aad1
+	fetch 1,mem_llid
+	store 1,core_ccm_aad2
+
+	storer regc,2,core_ccm_input_playload_addr
+	storer regc,2,core_ccm_output_playload_addr
+	
+	fetchr rega,2,mem_ccm_len
+	fetcht 5,mem_ccm_pcnt_tx			
+	call ccm_br_check_0_length_continuation
+	call ccm_b0
+	jam 2,core_ccm_ctrl
+	jam 3,core_ccm_ctrl
+
+	fetch 2,mem_ccm_len
+	store 2,core_ccm_inptr
+	increase 4,pdata
+	store 2,mem_ccm_len
+	copy regc,pdata
+	iadd rega,rega
+	call wait_ccm_done
+	arg regidx_result,regext_index
+	istorer regext, 4 ,rega
+	storer regext, 4,mem_le_mic
+	rtn
+
+ccm_br_pcnt_tx_add:
+	fetch 5,mem_ccm_pcnt_tx
+	increase 1,pdata
+	store 5,mem_ccm_pcnt_tx
+	branch ccm_br_pcnt_tx_set
+
+
+ccm_br_check_0_length_continuation:
+	fetch 1,mem_llid
+	rtnne LLID_L2CAP_CONT
+	fetch 2,mem_ccm_len
+	nrtn blank
+	set1 BR_CCM_0_LENGTH_CONTINUATION,temp
+	rtn
+
+
+ccm_br_pcnt_tx_set:
+	fetch 1,mem_ccm_pcnt_tx+4
+ 	and pdata,0x0f,pdata
+ 	or pdata,0x20,pdata
+ 	store 1,mem_ccm_pcnt_tx+4
+ 	rtn
+ 	
+ccm_br_pcnt_rx_set:
+	fetch 1,mem_ccm_pcnt_rx+4
+ 	and pdata,0x0f,pdata
+ 	store 1,mem_ccm_pcnt_rx+4
+ 	rtn
+ 	
+ccm_br_decrypt_new:
+	copy contw,pdata
+	fetcht 2,mem_len
+	increase 4,temp
+	isub temp,pdata
+	store 2,mem_ccm_rx_ptr
+	store 2,core_ccm_input_playload_addr
+	store 2,core_ccm_output_playload_addr
+
+	call disable_user2
+	call ccm_init_common
+	arg mem_kc,contr 
+	call load_key
+	
+	jam 0,core_ccm_aad0 
+	fetch 1,mem_rx_type
+	and pdata,0x0f,pdata
+	lshift3 pdata,pdata
+	ior am_addr,pdata  
+	store 1,core_ccm_aad1
+	fetch 1,mem_lch_code
+	and pdata,0x3,pdata
+	store 1,mem_llid
+	store 1,core_ccm_aad2
+	
+	fetchr rega, 2,mem_len
+	storer rega,2,mem_ccm_len
+	fetch 2,mem_ccm_rx_ptr
+	iadd rega,contr
+	force regidx_data,regext_index
+	ifetchr regext, 4,contr
+	storer  regext,4,mem_le_peer_mic
+	fetcht 5,mem_ccm_pcnt_rx		
+	call ccm_br_check_0_length_continuation
+	call ccm_b0
+	jam 6,core_ccm_ctrl
+	jam 7,core_ccm_ctrl
+
+	fetch 2,mem_len
+	store 2,core_ccm_inptr
+	call wait_ccm_done
+	fetch 1,core_misc_status
+	rtnbit0 7
+	branch enable_user2
+
+
+ccm_br_pcnt_rx_add:	
+	rtnmark1 mark_old_packet
+	fetcht 4,mem_le_peer_mic
+//	fetch 4,mem_ccm_last_mic			
+//	isub temp,pdata
+///	rtn blank
+	storet 4,mem_ccm_last_mic
+	fetch 5,mem_ccm_pcnt_rx
+	increase 1,pdata
+	store 5,mem_ccm_pcnt_rx
+	branch ccm_br_pcnt_rx_set
+
+
+ 	
+le_decrypt_new:
+ 	call ccm_init_common
+	jam 0,core_ccm_aad0 
+	jam 1,core_ccm_aad1
+	fetch 1,mem_le_rxbuf_data_header
+	and_into 0x3,pdata
+	store 1,core_ccm_aad2
+	
+	setarg mem_le_rxbuf_data_payload
+	store 2,core_ccm_input_playload_addr
+	store 2,core_ccm_output_playload_addr
+
+	fetchr rega, 1,mem_le_rxbuf_data_length
+	increase -4,rega
+	nbranch disable_blank,positive
+	storer rega, 1,mem_le_rxbuf_data_length
+	setarg mem_le_rxbuf_data_payload
+	iadd rega,contr
+	force regidx_data,regext_index
+	ifetchr regext, 4,contr
+	storer  regext,4,mem_le_peer_mic
+	fetcht 5,mem_ccm_pcnt_rx				
+	call ccm_b0
+	jam 6,core_ccm_ctrl
+	jam 7,core_ccm_ctrl
+	fetch 1,mem_le_rxbuf_data_length
+	store 2,core_ccm_inptr
+	call wait_ccm_done
+	fetch 1,core_misc_status
+	bbit0 7, disable_blank
+	fetcht 4,mem_le_peer_mic
+	fetch 4,mem_ccm_last_mic			/* reduntdant packet? */
+	isub temp,pdata
+	rtn blank
+	storet 4,mem_ccm_last_mic
+	fetch 5,mem_ccm_pcnt_rx
+	increase 1,pdata
+	set1 LE_CCM_DIRECTIONBIT,pdata
+	store 5,mem_ccm_pcnt_rx
+	force 0,pdata
+	rtn
+
+
+le_encrypt_new:
+	call le_encrypt_new_start
+	setarg mem_le_txpayload
+	iadd rega,rega
+	call wait_ccm_done
+	arg regidx_result,regext_index
+	istorer regext, 4 ,rega
+	rtn
+
+
+le_encrypt_new_start:
+	call ccm_init_common
+	bpatchx patch2e_2,mem_patch2e
+	jam 0,core_ccm_aad0 
+	jam 1,core_ccm_aad1
+	fetch 1,mem_le_txheader
+	and_into 0x3,pdata
+	store 1,core_ccm_aad2
+	fetch 2,mem_contr
+	store 2,core_ccm_input_playload_addr
+	setarg mem_le_txpayload
+	store 2,core_ccm_output_playload_addr
+	
+	fetchr rega,1,mem_le_txlen
+	fetcht 5,mem_ccm_pcnt_tx				
+	call ccm_b0
+	jam 2,core_ccm_ctrl
+	jam 3,core_ccm_ctrl
+	
+	fetch 1,mem_le_txlen
+	store 2,core_ccm_inptr
+	increase 4,pdata
+	store 1,mem_le_txlen
+	fetch 5,mem_ccm_pcnt_tx
+	increase 1,pdata
+ 	set0 LE_CCM_DIRECTIONBIT,pdata
+	store 5,mem_ccm_pcnt_tx
+	rtn
+
+
+ccm_wait_enc:
+	fetch 2,core_ccm_outptr
+	isub temp,null
+	rtn zero 
+	nrtn blank
+//	call assert
+	branch ccm_wait_enc
+
+ccm_check_enc_done:
+	fetch 1,core_misc_status
+	bbit0 6,assert
+ccm_enc_done:
+	setarg mem_le_txpayload
+	iadd temp,contw	
+	arg regidx_result,regext_index
+	istorer regext, 4 ,contw	
+	branch ccm_ctrl_clr
+	
+ccm_init_common:
+	bpatchx patch2e_3,mem_patch2e
+	force regidx_result,regext_index
+	call aes_clear
+	call aes_clear_data
+ 	setarg 0
+	store 2,core_ccm_inptr
+	rtn
+	
+wait_ccm_done:
+	fetch 1,core_misc_status
+	bbit0 6,wait_ccm_done
+ccm_ctrl_clr:
+	jam 0,core_ccm_ctrl
+	rtn
+
+
+wait_aes:
+	nbranch wait_aes,aes_ready
+	rtn
+
+do_aes_ocb:
+	force 0x30,aes_ctrl
+	force 0x0,aes_ctrl
+	branch wait_aes
+
+do_aes_cbc:
+	force 0x32,aes_ctrl
+	force 0x2,aes_ctrl
+	branch wait_aes
+
+do_aes_ctr:
+	force 0x34,aes_ctrl
+	force 0x4,aes_ctrl
+	branch wait_aes
+
+	
+aes_init:
+	force 1,aes_ctrl
+	force 0,aes_ctrl
+	rtn
+function_s1:
+	force regidx_data,regext_index
+	fetch 4,mem_le_mrand
+	iforce regext
+	increase 1,regext_index
+	ifetch 4,contr
+	iforce regext
+	increase 1,regext_index
+	fetch 4,mem_le_srand
+	iforce regext
+	increase 1,regext_index
+	ifetch 4,contr
+	iforce regext
+	increase 1,regext_index
+	call aes_clear
+	increase -4,regext_index
+	fetch 4,mem_le_tk
+	copy pdata,regext
+	increase 4,regext_index
+	force 0x38,aes_ctrl
+	force 0x8,aes_ctrl
+	branch wait_aes
+
+	/* rega pointers to random number */
+function_c1:
+	bpatchx patch2e_4,mem_patch2e
+	fetch 6,mem_le_lap
+	fetcht 6,mem_le_plap
+	branch function_c1_master,master
+	fetch 6,mem_le_plap
+	fetcht 6,mem_le_lap
+function_c1_master:
+	force regidx_xor,regext_index
+	copy temp,regext
+	increase 1,regext_index
+	rshift32 temp,regext
+	lshift16 pdata,pdata
+	ior regext,regext
+	increase 1,regext_index
+	rshift32 pdata,regext
+	increase 1,regext_index
+	force 0,regext					/* p2 = ia || ra */
+	force 0,pdata
+	fetch 1,mem_le_conn_peer_addr_type
+	fetcht 1,mem_le_adv_own_addr_type
+	nbranch function_c1_irat,master
+	//conn as master
+	fetch 1,mem_le_conn_own_addr_type
+	fetcht 1,mem_le_conn_peer_addr_type
+function_c1_irat:
+	store 1,mem_le_iat
+	storet 1,mem_le_rat
+	force regidx_data,regext_index
+	arg mem_le_iat,regb
+	force 4,loopcnt
+function_c1_loop1:
+	ifetch 4,rega		
+	ifetcht 4,regb
+	ixor temp,regext
+	increase 1,regext_index
+	increase 4,rega
+	increase 4,regb
+	loop function_c1_loop1		/* p1 ^ r */
+	call aes_clear				/* k = 0 */
+	increase -4,regext_index
+	fetch 4,mem_le_tk
+	copy pdata,regext
+	increase 4,regext_index
+	force 0x38,aes_ctrl
+	force 0xc,aes_ctrl
+	call wait_aes
+
+	call aes_clear_data
+	force 0x3a,aes_ctrl
+	force 0x8,aes_ctrl
+	branch wait_aes
+
+padding_data:
+	compare 0,loopcnt,3
+	rtn true
+	deposit contr
+	iadd loopcnt,contw
+	force 0,pdata
+padding_loop:
+	istore 1,contw
+	increase 1,loopcnt
+	compare 0,loopcnt,3
+	rtn true
+	branch padding_loop
+
+aes_load_data:
+	force regidx_data,regext_index
+load_data_loop:
+	deposit loopcnt
+	branch load_data_padding,blank
+	ifetch 4,contr
+	increase -4,loopcnt
+load_data_padding:
+	iforce regext
+	increase 1,regext_index
+	compare regidx_key,regext_index,0xf
+	rtn true
+	branch load_data_loop
+
+aes_load_xor:
+	force regidx_xor,regext_index
+	branch load_regext
+load_key:
+	force regidx_key,regext_index
+	branch load_regext
+load_data128:
+	force regidx_data,regext_index
+load_regext:
+	force 4,loopcnt
+load_regext_loop:
+	ifetch 4,contr
+	iforce regext
+	increase 1,regext_index
+	loop load_regext_loop
+	rtn
+
+load_sk:
+	arg mem_le_sk,contr
+	branch load_key
+
+clear_hidata:
+	force 4,loopcnt
+	branch clear_data_rest
+
+regext_clear:
+	force 0,regext_index
+	force 16,loopcnt
+	branch clear_loop
+
+aes_clear_data:
+	force regidx_data,regext_index
+aes_clear:
+	force 4,loopcnt
+clear_loop:
+	force 0,regext
+clear_data_rest:
+	increase 1,regext_index
+	loop clear_loop
+	rtn
+
+store_aes_result:
+	force regidx_result,regext_index
+	force 4,loopcnt
+send_aes_result_loop:
+	deposit regext
+	istore 4,contw
+	increase 1,regext_index
+	loop send_aes_result_loop
+	rtn
+
+store_enc_data:
+	force regidx_result,regext_index
+	copy regc,contw
+	add regb,1,loopcnt
+	sub loopcnt,15,null
+	branch store_enc_loop,positive
+	force 16,loopcnt
+store_enc_loop:
+	deposit regext
+	sub loopcnt,3,null
+	branch store_enc_byte,positive
+	istore 4,contw
+	increase -4,loopcnt
+	rtn zero
+	increase 1,regext_index
+	branch store_enc_loop
+store_enc_byte:
+	istore 1,contw
+	rshift8 pdata,pdata
+	loop store_enc_byte
+	rtn
+	
+	/* contr pointers to value to be compared */
+compare_res:
+	force regidx_result,regext_index
+	force 4,loopcnt
+compare_res_loop:
+	ifetch 4,contr
+	isub regext,null
+	nrtn zero
+	increase 1,regext_index
+	loop compare_res_loop
+	force 0,null
+	rtn
+
+enable_authrom:
+	fetch 1,core_clkoff
+	set0 CLOCK_OFF_AUTH_ROM,pdata
+	store 1,core_clkoff
+	rtn
+
+disable_authrom:
+	fetch 1,core_clkoff
+	set1 CLOCK_OFF_AUTH_ROM,pdata
+	store 1,core_clkoff
+	rtn
+
+//24 mem_p :ff ff ff ff ff ff ff ff fe ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
+//24 mem_a: fc ff ff ff ff ff ff ff fe ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
+//24 mem_b: b1 b9 46 c1 ec de b8 fe 49 30 24 72 ab e9 a7 0f e7 80 9c e5 19 05 21 64
+//24 mem_gx :12 10 ff 82 fd 0a ff f4 00 88 a1 43 eb 20 bf 7c f6 90 30 b0 0e a8 8d 18
+//24 mem_gy :11 48 79 1e a1 77 f9 73 d5 cd 24 6b ed 11 10 63 78 da c8 ff 95 2b 19 07
+//32 memh0   :19 cd e0 5b ab d9 83 1f 8c 68 05 9b 7f 52 0e 51 3a f5 4f a5 72 f3 6e 3c 85 ae 67 bb 67 e6 09 6a //use for sha
+init_memp:
+	arg mem_p,contw
+	setsect 0,0x3ffff
+	setsect 1,0x3ffff
+	setsect 2,0x3ffff
+	setsect 3,0x3fbff
+	istore 9,contw
+	setsect 0,0x3ffff
+	setsect 1,0x3ffff
+	setsect 2,0x3ffff
+	setsect 3,0x3ffff
+	istore 9,contw
+	setsect 0,0x3ffff
+	setsect 1,0x3ffff
+	setsect 2,0x3cfff
+	setsect 3,0x3ffff
+	istore 9,contw
+	setsect 0,0x3ffff
+	setsect 1,0x3ffff
+	setsect 2,0x3ffef
+	setsect 3,0x3ffff
+	istore 9,contw
+	setsect 0,0x3ffff
+	setsect 1,0x3ffff
+	setsect 2,0x3ffff
+	setsect 3,0x3ffff
+	istore 9,contw
+	setsect 0,0x3ffff
+	setsect 1,0x26c7f
+	setsect 2,0x146b
+	setsect 3,0x37bb3
+	istore 9,contw
+	setsect 0,0x1feb8
+	setsect 1,0x10c12
+	setsect 2,0x2b722
+	setsect 3,0x29fa6
+	istore 9,contw
+	setsect 0,0xe70f
+	setsect 1,0x16720
+	setsect 2,0x519e
+	setsect 3,0x19084
+	istore 9,contw
+	setsect 0,0x31012
+	setsect 1,0x360bf
+	setsect 2,0x3f0af
+	setsect 3,0x3d3
+	istore 9,contw
+	setsect 0,0x3a188
+	setsect 1,0x3ad0
+	setsect 2,0x3cbf2
+	setsect 3,0x243d9
+	istore 9,contw
+	setsect 0,0x2b030
+	setsect 1,0x36a03
+	setsect 2,0x11188
+	setsect 3,0x1e520
+	istore 9,contw
+	setsect 0,0x3a11e
+	setsect 1,0xfe5d
+	setsect 2,0xdd57
+	setsect 3,0x1ac93
+	istore 9,contw
+	setsect 0,0x11ed
+	setsect 1,0x218c4
+	setsect 2,0x8da7
+	setsect 3,0x257ff
+	istore 9,contw
+	setsect 0,0x3192b
+	setsect 1,0x34641
+	setsect 2,0x1be0c
+	setsect 3,0x366ad
+	istore 9,contw
+	setsect 0,0x1f83
+	setsect 1,0x15a23
+	setsect 2,0x3f9b0
+	setsect 3,0x3949
+	istore 9,contw
+	setsect 0,0x13a51
+	setsect 1,0x153fd
+	setsect 2,0x3372a
+	setsect 3,0xf1bb
+	istore 9,contw
+	setsect 0,0x3ae85
+	setsect 1,0x1eed9
+	setsect 2,0x9e66
+	setsect 3,0x1a8
+	istore 8,contw
+	rtn
+	
+ifdef SECURE_CONNECTION
+
+// mem_p_256:ff ff ff ff ff ff ff ff ff ff ff ff 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 ff ff ff ff
+// mem_a_256: fc ff ff ff ff ff ff ff fe ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff b1 b9 46 c1 ec de b8 fe
+// mem_gx_256: 96 c2 98 d8 45 39 a1 f4 a0 33 eb 2d 81 7d 03 77 f2 40 a4 63 e5 e6 bc f8 47 42 2c e1 f2 d1 17 6b
+// mem_gy_256: f5 51 bf 37 68 40 b6 cb ce 5e 31 6b 57 33 ce 2b 16 9e 0f 7c 4a eb e7 8e 9b 7f 1a fe e2 42 e3 4f
+// mem_le_slat :be 83 60 5a db 0b 37 60 38 a5 f5 aa 91 83 88 6c
+init_memp_256:
+ 	arg mem_p_256,contw
+        setsect 0,0x3ffff
+        setsect 1,0x3ffff
+        setsect 2,0x3ffff
+        setsect 3,0x3ffff
+        istore 9,contw
+        setsect 0,0x3ffff
+        setsect 1,0x3f
+        setsect 2,0x0
+        setsect 3,0x0
+        istore 9,contw
+        setsect 0,0x0
+        setsect 1,0x0
+        setsect 2,0x1000
+        setsect 3,0x0
+        istore 9,contw
+        setsect 0,0x3ff00
+        setsect 1,0x3ffff
+        setsect 2,0x3ffcf
+        setsect 3,0x3ffff
+        istore 9,contw
+        setsect 0,0x3ffff
+        setsect 1,0x3ffff
+        setsect 2,0x3ffff
+        setsect 3,0x3ff
+        istore 9,contw
+        setsect 0,0x0
+        setsect 1,0x0
+        setsect 2,0x0
+        setsect 3,0x0
+        istore 9,contw
+        setsect 0,0x10000
+        setsect 1,0x0
+        setsect 2,0x3f000
+        setsect 3,0x3ffff
+        istore 9,contw
+        setsect 0,0x296ff
+        setsect 1,0x22630
+        setsect 2,0x3945d
+        setsect 3,0x3d284
+        istore 9,contw
+        setsect 0,0x333a0
+        setsect 1,0x4b7a
+        setsect 2,0x37d8
+        setsect 3,0x3c9dc
+        istore 9,contw
+        setsect 0,0x3a440
+        setsect 1,0x1b958
+        setsect 2,0x38bce
+        setsect 3,0x1091f
+        istore 9,contw
+        setsect 0,0x2e12c
+        setsect 1,0x1f47c
+        setsect 2,0x356b1
+        setsect 3,0x2fd47
+        istore 9,contw
+        setsect 0,0x6837
+        setsect 1,0x2ed90
+        setsect 2,0x1ecec
+        setsect 3,0x1acc5
+        istore 9,contw
+        setsect 0,0x23357
+        setsect 1,0x18af3
+        setsect 2,0xf9e1
+        setsect 3,0x129f0
+        istore 9,contw
+        setsect 0,0x2e7eb
+        setsect 1,0x3e6e3
+        setsect 2,0x3e1a7
+        setsect 3,0x10b8b
+        istore 9,contw
+        setsect 0,0x24fe3
+        setsect 1,0x20ef
+        setsect 2,0x1b5a6
+        setsect 3,0xdc2f
+        istore 9,contw
+        setsect 0,0x13860
+        setsect 1,0x2bd69
+        setsect 2,0x391a
+        setsect 3,0x1b222
+        istore 9,contw
+        rtn
+endif
+
Index: program/sim.prog
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/program/sim.prog	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/program/sim.prog	(working copy)
@@ -0,0 +1,626 @@
+simstart:
+	force 8,radio_ctrl
+	force 0,radio_ctrl
+	jam 0xff,rfen_ck
+	jam 5,core_clksel
+	jam 0,core_clkoff
+	jam 0,core_clkoff+1
+//	call sim_gpio
+//	jam 0xa0,0x90a
+//	jam 0x8f,0x90d
+//	branch sim_usb
+//	branch sim_iic
+//	branch sim_clk
+//	call sim_cal
+//	call sim_uart
+//	branch sim_c1
+//	branch loop
+//	call sim_spi
+//	call sim_eep
+//	branch test_tx
+	branch sim_le
+//	branch sim_250k
+	branch sim_main
+sim_lpm:
+	fetch 1,0x9ffd
+	beq 1,sim_assert
+	setarg 0
+	store 8,mem_gpio_wakeup_low
+	arg 30,temp
+	branch lpm_sleep
+sim_lpm_sleep:
+	jam 1,mem_context
+	branch sim_lpm_wait,wake
+	jam 0x70,core_bist_ctrl
+	jam ccnt_start,core_misc_ctrl
+sim_lpm_wait:
+	call lpo_calibration
+	fetch 3,mem_clks_per_lpo
+	branch sim_lpm_wait,blank
+	call lpm_recover_clk,wake
+	jam 0x1b,mem_lpm_ldocnt
+	arg sim_assert,loopcnt
+	fetch 1,core_gpio_wakeup_low+2
+	bbit0 2,sim_lpm_loop
+	until null,lpo_edge
+	jam 0x20,core_misc_ctrl
+	until null,lpo_edge
+sim_lpm_loop:
+	fetch 1,core_misc_status
+	bbit1 6,sim_lpm_loop
+	fetch 1,core_gpio_in+3
+	compare 0x20,pdata,0x20
+	setarg 0
+	setflag true,29,pdata
+	setflag true,30,pdata
+	store 4,mem_gpio_wakeup_low
+	setarg 0
+	nsetflag true,29,pdata
+	nsetflag true,30,pdata
+	store 4,mem_gpio_wakeup_high
+	arg 300,temp
+	branch lpm_sleep
+
+sim_assert:
+	branch sim_assert
+
+
+sim_main:
+	call init_param
+	setarg 0
+	store 2,core_clkoff
+	setarg 0xff00
+	store 2,core_lpm_reg+2
+	jam lpmreg_sel_ctrl2,core_lpm_wr
+	fetch 1,mem_sim_slave
+	beq 1,sim_slave
+	jam dvc_op_hci,mem_device_option
+	fetch 6,mem_lap
+	store 6,mem_hci_plap
+	setarg 0xbdbdbd
+	store 3,mem_lap
+	istore 3,contw
+	jam hci_cmd_create_conn,mem_hci_cmd
+	force 0x10,pdata
+	add pdata,-2,clkn_bt
+	store 4,mem_page_clk
+	rshift clkn_bt,pdata
+	store 4,mem_last_clkn
+	jam 0,mem_scan_mode
+sim_loop:
+	call idle_dispatch
+	fetch 1,mem_context
+	bbit0 state_inconn,sim_skip
+	set1 mark_tx_l2cap,mark
+	fetch 1,mem_context + coffset_op		
+	set1 op_txl2cap,pdata
+	store 1,mem_context + coffset_op
+	jam 0,mem_context + coffset_lmp_to_send
+	jam 0,mem_lmo_opcode2
+	setarg 300
+	store 2,mem_tx_len
+	setarg mem_tmp_buffer
+	store 2,mem_txptr
+	jam 6,mem_tx_lch
+	jam 1,mem_hci_conn_handle
+sim_skip:
+	call connection_dispatch
+	branch sim_loop		
+
+sim_slave:
+	jam 2,mem_scan_mode
+	call page_scan_dispatch
+	branch sim_skip
+
+sim_le:
+//	jam lemode_2m,mem_le_mode
+//  jam lemode_lr_s2,mem_le_mode
+//  jam lemode_lr_s8,mem_le_mode
+	fetch 1,mem_sim_slave
+	beq 1,sim_le_slave
+	jam 1,mem_le_scan_enable
+sim_le_loop:
+	call le_advertising_dispatch
+	branch sim_le_loop
+
+sim_le_slave:
+	jam 1,mem_le_adv_enable
+	nop 1000
+	branch sim_le_loop
+
+sim_usb:
+	call usb_init
+sim_usb_loop:
+	call usb_isr
+	branch sim_usb_loop
+
+sim_uart:
+	jam 0x67,mem_h5tx_buf
+	setarg mem_h5tx_buf
+	add pdata,0x80,temp
+	call uarta_init_tx
+	increase 0x80,pdata
+	increase 0x80,temp
+	call uartb_init_rx
+	jam gpcfg_uart_txd,core_gpio_conf
+	jam gpcfg_uartb_rxd | gpcfg_pullup,core_gpio_conf + 1
+	jam 0x81,core_uart_ctrl
+	jam 0x81,core_uartb_ctrl
+	setarg 0x30
+	store 2,core_uart_baud
+	store 2,core_uartb_baud
+	fetch 1,mem_sim_slave
+	beq 1,sim_uart_slave
+	call uarta_prepare_tx
+	call sim_uart_wait+3
+	setarg 0x1357d9a
+	istore 4,contu
+	arg 0xaa69,rega
+	istorer rega,2,contu
+	setarg 0xfedcb3
+	istore 3,contu
+	storer contu,2,core_uart_twptr
+sim_uart_wait:
+	fetch 1,core_uart_status
+	bbit1 uart_status_tx_busy,sim_uart_wait
+	nop 200
+	rtn
+
+sim_uart_slave:
+	fetch 1,core_uartb_status
+	bbit1 uart_status_rx_fifo_empty,sim_uart_slave
+	fetch 1,core_uartb_rxitems
+	bne 9,sim_uart_slave
+	fetcht 8,mem_h5tx_buf
+	call uartb_prepare_rx
+	ifetch 8,contu
+	isub temp,null
+	nbranch assert,zero
+	rtn
+
+
+
+sim_cal:
+
+	call tx_iq_precomp
+	fetchr regf,2,mem_omega
+	ifetchr regf,2,contr
+	ifetchr regf,2,contr
+	fetchr regf,2,mem_b1
+	ifetchr regf,2,contr
+	fetchr regf,2,mem_b2
+	ifetchr regf,2,contr
+	arg 0x1000,timeup
+	call tx_iq_cal
+	jam 1,core_ice_ctrl
+
+	arg 0x1000,timeup
+	call rx_iq_comp
+	jam 1,core_ice_ctrl
+	
+
+ifdef NULL
+
+sim_iic:
+	call iicd_init_12m
+	setarg 3
+	store 2,core_iicd_txlen
+	setarg 0x1f051e
+	store 3,mem_iicd_addr
+	setarg mem_iicd_addr
+	store 2,core_iicd_txaddr
+	setarg 1
+	store 2,core_iicd_rxlen
+	jam 3,core_iicd_ctrl
+	jam iicd_start,core_misc_ctrl
+	call wait_iicd_done
+	nop 300
+	setarg 0xd321d2
+	store 3,mem_iicd_addr
+	jam iicd_start,core_misc_ctrl
+	call wait_iicd_done
+s_loop:
+	branch s_loop
+
+sim_gpio:
+	jam 0xc0,core_gpio_pu3
+	call lpm_disable_exen_output
+	fetch 4,core_gpio_in
+	bbit0 4,sim_gpio + 2
+	nop 3
+	fetch 4,core_gpio_in
+	nop 3
+	fetch 4,core_gpio_in
+	rtn
+
+
+	
+sim_250k:
+	call init_250k
+	fetch 1,0x8001
+	bbit1 7,sim_250k_rx
+	call tx_radio_freq
+	call start_transmitter	/* get ready for that id packet */
+	nop 600
+	enable encode_fec0
+	set1 TXGFSK,radio_ctrl
+	force 0,pdata
+	inject mod,9
+	setarg 0xaa
+	inject mod,8
+	preload access
+	inject mod,32
+	setarg 0x1da861
+	inject mod,24
+	setarg 0x94445b
+	inject mod,24
+	setarg 0x1275f
+	inject mod,24
+	branch loop
+sim_250k_rx:
+	call rx_radio_freq
+	call start_receiver	/* wait for that id packet from master */
+	enable decode_fec0
+	correlate null,never
+	parse demod,bucket,72
+	branch loop
+
+	
+
+
+
+
+sim_spi:
+	call spid_init_flash
+	call spid_unlock_flash
+	call spid_init
+	setarg 0x35
+	call spid_read_reg
+	nop 200
+	force 4,temp
+	setarg 0x42
+	branch spid_read_regs
+
+sim_eep:
+	call iicd_init_12m
+	setarg 3
+	store 2,core_iicd_txlen
+	setarg 0x1f051e
+	store 3,mem_iicd_addr
+	setarg mem_iicd_addr
+	store 2,core_iicd_txaddr
+	setarg 1
+	store 2,core_iicd_rxlen
+	jam 3,core_iicd_ctrl
+	jam iicd_start,core_misc_ctrl
+	call wait_iicd_done
+	nop 200
+	setarg 0x18f7a3b
+	store 4,mem_iicd_addr
+	arg mem_iicd_addr,rega
+	arg 4,temp
+	setarg 0x1235
+	call iicd_write_eep
+	nop 300
+	arg mem_ucode_keybuf,rega
+	arg 1,temp
+	setarg 0x3512
+	store 2,mem_addr_mi
+	call iicd_read_eep
+	arg 1,temp
+	setarg 0x3512
+	store 2,mem_addr_mi
+	call iicd_read_eep
+	nop 200
+	setarg 0xa1
+	arg 3,temp
+	arg mem_ucode_keybuf,rega
+	branch iicd_read_data
+
+sim_otp:
+	setarg 0x123456
+	store 3,0x800
+	setarg 0x10
+	arg 0x800,rega
+	arg 0x10,loopcnt
+	branch otp_write
+
+sim_clk:
+	add lpo_time,12,alarm
+	snooze
+clock_loop:
+	nop 100
+	jam 1,core_config
+	setflag user,0,pdata
+	random pdata
+	and_into 0x1f,pdata
+	store 1,core_clksel
+	nop 70
+	jam 2,core_kick
+	nop 200
+	branch clock_loop
+	jam 2,core_clksel
+	setarg 1500
+	call sleep
+	jam 0x42,core_clksel
+	add lpo_time,200,alarm
+	snooze
+	branch 0x4000
+
+sim_c1:
+	setarg 0xb4b5b6
+	store 3,mem_le_lap
+	setarg 0xb1b2b3
+	istore 3,contw
+	setarg 0xa4a5a6
+	store 3,mem_le_plap
+	setarg 0xa1a2a3
+	istore 3,contw
+	setarg 0x101
+	store 4,mem_le_preq
+	setarg 0x70710
+	istore 3,contw
+	setarg 0x302
+	store 4,mem_le_pres
+	setarg 0x50008
+	istore 3,contw
+
+	arg regidx_key,regext_index
+	arg 4,loopcnt
+sim_clear_key_loop:
+	arg 0,regext
+	increase 1,regext_index
+	loop sim_clear_key_loop
+
+	setarg 0x702EE0
+	store 3,mem_le_rconfirm
+	setarg 0x274EC6
+	istore 3,contw
+	setarg 0x0E6388
+	istore 3,contw
+	setarg 0x56AD6F
+	istore 3,contw
+	setarg 0x83D521
+	istore 3,contw
+	setarg 0x57	
+	istore 1,contw
+	arg mem_le_rconfirm,rega
+	call aes_init
+	call function_c1
+	branch loop
+endif
+
+
+
+
+
+//iic read function
+//function name:sim_iic_read_eep_data
+//input:
+//temp:the length that simulation iic want to read eeprom data
+//rega:the memmory point that simulation iic read data store
+//regb:the eeprom address offset
+//mark_eeprom_size:select 02 or other
+//output:nc
+sim_iic_read_eep_data:
+	fetch 2,mem_eeprom_base
+	iadd regb,pdata
+	byteswap pdata,pdata
+	store 2,mem_addr_mi
+	copy temp,regb
+	
+	call sim_iic_start
+	setarg 0xa0
+	call sim_iic_send_byte
+	fetch 1,mem_addr_mi
+	call sim_iic_send_byte
+	bmark1 mark_eeprom_size,sim_iic_read_eep_data_2k
+	fetch 1,mem_addr_mi + 1
+	call sim_iic_send_byte
+sim_iic_read_eep_data_2k:
+	call sim_iic_stop
+
+	call sim_iic_start
+	setarg 0xa1
+	call sim_iic_send_byte
+
+sim_iic_read_eep_data_loop:
+	call sim_iic_read_byte
+	istore 1,rega
+	increase 1,rega
+	increase -1,regb
+	nbranch sim_iic_read_eep_data_loop,zero
+	branch sim_iic_stop
+
+
+//iic write data function
+//function name:sim_iic_write_eep_data
+//input:
+//temp:the length that simulation iic want to write eeprom data
+//rega:the memmory point that simulation iic write data read
+//regb:the eeprom address
+//mark_eeprom_size:select 02 or other
+//output:nc
+sim_iic_write_eep_data:
+	byteswap regb,pdata
+	store 2,mem_addr_mi
+	copy temp,regb
+
+	call sim_iic_start
+	setarg 0xa0
+	call sim_iic_send_byte
+
+	fetch 1,mem_addr_mi
+	call sim_iic_send_byte
+	bmark1 mark_eeprom_size,sim_iic_write_eep_data_loop
+	fetch 1,mem_addr_mi + 1
+	call sim_iic_send_byte
+sim_iic_write_eep_data_loop:
+	ifetch 1,rega
+	call sim_iic_send_byte
+	increase 1,rega
+	increase -1,regb
+	nbranch sim_iic_write_eep_data_loop,zero
+	branch sim_iic_stop
+//	bmark1 mark_eeprom_size
+
+//use reg:pdata,contr,contw,loopcnt
+sim_iic_wait_ack:
+	arg 10,loopcnt
+	call sim_iic_release_sda
+	call sim_iic_scl_output_high	//scl = 1
+	call sim_iic_delay				//delay 2.5us
+sim_iic_wait_ack_loop:
+	call sim_iic_read_sda_level
+	branch sim_iic_scl_output_low,blank	//scl = 0
+	loop sim_iic_wait_ack_loop
+	branch sim_iic_scl_output_low		//scl = 0	
+
+
+//use reg:pdata,contr,contw,rega,queue
+sim_iic_ack_slave:
+	call sim_iic_scl_output_low		//scl = 0	
+	call sim_iic_sda_output_low		//sda = 0
+	call sim_iic_delay				//delay 2.5us
+	call sim_iic_scl_output_high	//scl = 1
+	call sim_iic_delay				//delay 2.5us
+	branch sim_iic_scl_output_low	//scl = 0	
+
+
+//output:pdata receive byte data
+//use reg:pdata,contr,contw,loopcnt,regc,rega
+sim_iic_read_byte:
+	arg 8,loopcnt
+	arg 0,regc
+	call sim_iic_release_sda
+sim_iic_read_byte_loop:
+	call sim_iic_scl_output_high	//scl = 1
+	call sim_iic_delay				//delay 2.5us
+	lshift regc,regc	
+	call sim_iic_read_sda_level
+	iadd regc,regc
+	call sim_iic_delay				//delay 2.5us
+	call sim_iic_scl_output_low		//scl = 0	
+	loop sim_iic_read_byte_loop
+	call sim_iic_ack_slave
+	copy regc,pdata
+	rtn
+
+//input:pdata send byte data
+//use reg:pdata,contr,contw,loopcnt,regc,rega
+sim_iic_send_byte:
+	arg 8,loopcnt
+	copy pdata,regc
+	call sim_iic_scl_output_low		//scl = 0	
+sim_iic_send_byte_loop:
+	isolate1 7,regc
+	call sim_iic_sda_output_high,true	//sda = 1
+	ncall sim_iic_sda_output_low,true	//sda = 0
+	lshift regc,regc
+	call sim_iic_delay				//delay 2.5us
+	call sim_iic_scl_output_high	//scl = 1
+	call sim_iic_delay				//delay 2.5us
+	call sim_iic_scl_output_low		//scl = 0	
+	call sim_iic_delay				//delay 2.5us
+	loop sim_iic_send_byte_loop
+	branch sim_iic_wait_ack
+
+
+//use reg:pdata,contr,contw,rega
+sim_iic_start:
+	call sim_iic_sda_output_high	//sda = 1
+	call sim_iic_scl_output_high	//scl = 1
+	call sim_iic_delay				//delay 2.5us
+	call sim_iic_sda_output_low		//sda = 0
+	call sim_iic_delay				//delay 2.5us
+	branch sim_iic_scl_output_low		//scl = 0
+
+
+//use reg:pdata,contr,contw,rega
+sim_iic_stop:
+	call sim_iic_sda_output_low		//sda = 0
+	call sim_iic_scl_output_high	//scl = 1
+	call sim_iic_delay				//delay 2.5us
+	call sim_iic_sda_output_high	//sda = 1
+	branch sim_iic_delay				//delay 2.5us
+
+
+//scl = 1
+sim_iic_scl_output_high:
+	enable user
+	fetch 1,SIM_IIC_SCL_GPIO_NUM
+	branch sim_iic_config_gpio
+
+//scl = 0
+sim_iic_scl_output_low:
+	disable user
+	fetch 1,SIM_IIC_SCL_GPIO_NUM
+	branch sim_iic_config_gpio
+
+//sda = 1
+sim_iic_sda_output_high:
+	enable user
+	fetch 1,SIM_IIC_SDA_GPIO_NUM
+	branch sim_iic_config_gpio
+
+//sda = 0
+sim_iic_sda_output_low:
+	disable user
+	fetch 1,SIM_IIC_SDA_GPIO_NUM
+	branch sim_iic_config_gpio
+
+//input:pdata the gpio number
+//input:user flag, if enable user,config gpio output high level; if disable user, config gpio output low level
+//use reg:pdata,contr,contw,queue,rega
+sim_iic_config_gpio:
+	and pdata,0x07,queue
+	rshift3 pdata,pdata
+	arg core_gpio_conf,temp
+	iadd temp,temp
+	ifetch 1,temp
+	qset1 pdata
+	istore 1,temp
+	increase 4,temp
+	ifetch 1,temp
+	qsetflag user,pdata
+	istore 1,temp
+	rtn
+
+
+sim_iic_release_sda:
+	fetch 1,SIM_IIC_SDA_GPIO_NUM
+	and pdata,0x07,queue
+	rshift3 pdata,pdata
+	arg core_gpio_conf,temp
+	iadd temp,temp
+	ifetch 1,temp
+	qset0 pdata
+	istore 1,temp
+	rtn	
+
+//get sda level
+//output:if sda high level ,pdata is 1;if sda low level ,pdata is 0
+//use reg:pdata,contr,contw,queue,rega,temp
+sim_iic_read_sda_level:
+	nop 4
+	fetch 1,SIM_IIC_SDA_GPIO_NUM
+	and pdata,0x07,queue
+	rshift3 pdata,pdata
+	arg core_gpio_in,temp
+	iadd temp,temp
+	setarg 0
+	ifetcht 1,temp
+	qisolate1 temp
+	setflag true,0,pdata
+	rtn	
+
+//delay 2.5us
+sim_iic_delay:
+//	nop 1
+	rtn
+
+/**********************************/
+
+
+
+
Index: program/simple_pairing.prog
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/program/simple_pairing.prog	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/program/simple_pairing.prog	(working copy)
@@ -0,0 +1,2920 @@
+
+publickey_init:
+	fetch 1,mem_ssp_enable
+	nbranch sp_initialize,blank
+	branch sp_initialize_256
+
+sp_calc_sequence_256_check:
+	bpatchx patch2e_5,mem_patch2e
+	fetch 1,mem_ssp_enable
+	rtn blank
+	fetch 1,mem_sp_local_key_invalid
+	rtnne SP_KEY_VALID
+	fetch 1,mem_secure_connections_enable
+	rtn blank
+	fetch 1,mem_sc_local_key_invalid
+	rtneq SP_KEY_VALID_256
+	fetch 2,mem_ui_state_map
+	bbit1 UI_STATE_BT_CONNECTED,stop_publickey_calc_256
+	fetch 1,mem_sc_calc
+	beq SP_CALC_STANDBY,sp_initialize_256
+	rtn
+stop_publickey_calc_256:
+	jam SP_CALC_STANDBY,mem_sc_calc	
+	rtn
+
+
+sp_br_secure_connection_enable:
+	fetch 1,mem_secure_connections_enable
+	set1 SECURE_CONNECTIONS_BR_BIT,pdata
+	store 1,mem_secure_connections_enable
+	rtn
+	
+sp_br_secure_connection_disable:
+	fetch 1,mem_secure_connections_enable
+	set0 SECURE_CONNECTIONS_BR_BIT,pdata
+	store 1,mem_secure_connections_enable
+	rtn
+	
+ifdef SIMPLE_PAIRING
+
+sp_initialize:
+	bpatchx patch2e_6,mem_patch2e
+	fetch 1,mem_ssp_enable 
+	nbranch sp_pubkey_calc, blank
+sp_reset:
+	call sp_clear_flags
+	jam SP_KEY_INVALID,mem_sp_local_key_invalid
+	jam SP_CALC_STANDBY,mem_sp_calc
+	rtn
+	
+sp_wait_pubkey_calc_done:
+	fetch 1,mem_ssp_enable
+	rtn blank
+	fetch 1,mem_sp_local_key_invalid
+	rtneq SP_KEY_VALID
+	call sp_calc_sequence
+	branch sp_wait_pubkey_calc_done
+	
+sp_clear_flags:
+	bpatchx patch2e_7,mem_patch2e
+	setarg mem_sp_state_end
+	arg mem_sp_state_start,contw
+	isub contw,loopcnt
+	call clear_mem
+	setarg mem_sp_state_xmem_end
+	arg mem_sp_state_xmem,contw
+	isub contw,loopcnt
+	branch clear_mem
+
+sp_generate_local_key:
+	jam SP_FLAG_COMMIT,mem_sp_flag  
+	fetch 1,mem_encapsulated_minor_type
+	beq ENCAPSULATED_MINOR_TYPE_P256,sp_generate_local_key0_256
+	beq ENCAPSULATED_MINOR_TYPE_P192,sp_generate_local_key0_192
+	rtn	
+	
+sp_generate_local_key0_256:
+	fetch 1,mem_sc_local_key_invalid
+	beq SP_KEY_VALID_256,sp_start_send_pubkey_256
+	branch sp_pubkey_calc_256
+sp_start_send_pubkey_256:
+	call sp_dhkey_calc_256
+	fetch 1,mem_master_sp_state
+	nrtn blank
+	jam SP_STAT_KEY_SEND,mem_sp_state
+	rtn
+	
+sp_master_generate_local_key:
+	fetch 1,mem_sp_local_key_invalid
+	beq SP_KEY_VALID,sp_dhkey_calc
+	branch assert
+	
+sp_generate_local_key0_192:
+	fetch 1,mem_sp_local_key_invalid
+	beq SP_KEY_VALID,sp_start_send_pubkey
+	branch sp_pubkey_calc
+    
+sp_start_send_pubkey:
+	call sp_dhkey_calc
+	fetch 1,mem_master_sp_state
+	nrtn blank
+	jam SP_STAT_KEY_SEND,mem_sp_state
+	rtn
+
+
+sp_calc_check_publickey_256:
+	call sp_calc_b256
+	arg mem_le_pubkey_remote_y_256,rega
+	arg mem_t7_256,contw
+	call bn_sqrmod_256   
+	arg mem_le_pubkey_remote_x_256,rega
+	arg mem_t2_256,contw
+	call bn_sqrmod_256   
+  	arg mem_t2_256,rega
+	arg mem_le_pubkey_remote_x_256,regb
+	arg mem_t2_256,contw
+	call bn_mulmod_256	
+  	arg mem_a_256,rega
+	arg mem_le_pubkey_remote_x_256,regb
+	arg mem_t3_256,contw
+	call bn_mulmod_256	
+  	arg mem_t3_256,rega
+	arg mem_t2_256,regb
+	arg mem_t2_256,contw
+	call bn_addmod_256	 
+  	arg mem_t0_256,rega
+	arg mem_t2_256,regb
+	arg mem_t0_256,contw
+	call bn_addmod_256	 
+	arg 32,loopcnt
+  	arg mem_t7_256,rega
+	arg mem_t0_256,regb
+	branch  string_compare
+	
+sp_calc_b256:
+	arg mem_gy_256,rega
+	arg mem_t0_256,contw
+	call bn_sqrmod_256   
+	arg mem_gx_256,rega
+	arg mem_t2_256,contw
+	call bn_sqrmod_256    
+  	arg mem_t2_256,rega
+	arg mem_gx_256,regb
+	arg mem_t2_256,contw
+	call bn_mulmod_256	
+  	arg mem_a_256,rega
+	arg mem_gx_256,regb
+	arg mem_t3_256,contw
+	call bn_mulmod_256	 
+  	arg mem_t3_256,rega
+	arg mem_t2_256,regb
+	arg mem_t2_256,contw
+	call bn_addmod_256	 
+  	arg mem_t0_256,rega
+	arg mem_t2_256,regb
+	arg mem_t0_256,contw
+	branch  bn_submod_256	
+	
+sp_calc_check_publickey:
+	call sp_calc_b
+	arg mem_sp_pubkey_remote_y,rega
+	arg mem_t7_256,contw
+	call bn_sqrmod 
+	arg mem_sp_pubkey_remote_x,rega
+	arg mem_t2_256,contw
+	call bn_sqrmod
+  	arg mem_t2_256,rega
+	arg mem_sp_pubkey_remote_x,regb
+	arg mem_t2_256,contw
+	call bn_mulmod	
+  	arg mem_a,rega
+	arg mem_sp_pubkey_remote_x,regb
+	arg mem_t3_256,contw
+	call bn_mulmod	
+  	arg mem_t3_256,rega
+	arg mem_t2_256,regb
+	arg mem_t2_256,contw
+	call bn_addmod	 
+  	arg mem_t0_256,rega
+	arg mem_t2_256,regb
+	arg mem_t0_256,contw
+	call bn_addmod	 
+ 	arg 24,loopcnt
+ 	arg mem_t7_256,rega
+	arg mem_t0_256,regb
+	branch  string_compare
+	
+sp_calc_b:
+	arg mem_gy,rega
+	arg mem_t0_256,contw
+	call bn_sqrmod   
+	arg mem_gx,rega
+	arg mem_t2_256,contw
+  	call bn_sqrmod
+  	arg mem_t2_256,rega
+	arg mem_gx,regb
+	arg mem_t2_256,contw
+	call bn_mulmod	
+	arg mem_a,rega
+	arg mem_gx,regb
+	arg mem_t3_256,contw
+	call bn_mulmod	 
+  	arg mem_t3_256,rega
+	arg mem_t2_256,regb
+	arg mem_t2_256,contw
+	call bn_addmod	 
+  	arg mem_t0_256,rega
+	arg mem_t2_256,regb
+	arg mem_t0_256,contw
+	branch  bn_submod	
+
+   
+sp_calculate_commitment:
+	fetch 1,mem_encapsulated_minor_type
+	beq ENCAPSULATED_MINOR_TYPE_P256,sp_calculate_commitment_256
+	beq ENCAPSULATED_MINOR_TYPE_P192,sp_calculate_commitment_192
+	rtn
+
+sp_calculate_commitment_256:
+	fetch 1,mem_sc_calc
+	bne SP_CALC_STANDBY,sp_calculate_commitment_wait_dhkey_calc
+	call sp_local_random_key_generator
+	arg mem_sp_prarm_stack,contw
+	setarg mem_sp_random_local_end
+	istore 2,contw
+	setarg mem_sc_pubkey_local_x_256+32
+	istore 2,contw
+	setarg mem_le_pubkey_remote_x_256+32
+	istore 2,contw
+//	branch sp_calculate_commitment0
+sp_calculate_commitment0_256:
+	call function_f1_256
+	fetch 1,mem_master_sp_state
+	beq SP_STAT_COMMIT_CALC,master_sp_calculate_commitment0
+	jam SP_FLAG_COMMIT,mem_sp_flag
+	jam SP_STAT_COMMIT_SEND,mem_sp_state
+	rtn
+	
+sp_calculate_commitment_192:	
+	fetch 1,mem_sp_calc
+	bne SP_CALC_STANDBY,sp_calculate_commitment_wait_dhkey_calc
+	call sp_local_random_key_generator
+	arg mem_sp_prarm_stack,contw
+	setarg mem_sp_random_local_end
+	istore 2,contw
+	setarg mem_sp_pubkey_local_x_end
+	istore 2,contw
+	setarg mem_sp_pubkey_remote_x_end
+	istore 2,contw
+	branch sp_calculate_commitment0
+master_sp_calculate_commitment:
+	arg mem_sp_prarm_stack,contw
+	setarg mem_sp_random_remote_end
+	istore 2,contw
+	setarg mem_sp_pubkey_remote_x_end
+	istore 2,contw
+	setarg mem_sp_pubkey_local_x_end
+	istore 2,contw
+sp_calculate_commitment0:
+	call function_f1_192
+	fetch 1,mem_master_sp_state
+	beq SP_STAT_COMMIT_CALC,master_sp_calculate_commitment0
+	jam SP_FLAG_COMMIT,mem_sp_flag
+	jam SP_STAT_COMMIT_SEND,mem_sp_state
+	rtn
+master_sp_calculate_commitment0:
+	jam SP_STAT_COMMITMENT_COMPARE,mem_master_sp_state
+	call sp_master_generate_local_key
+	branch master_set_mem_master_sp_flag 
+
+sp_local_random_key_generator:
+	arg mem_sp_random_local,contw
+	force 8,queue
+	branch random_generator
+  
+sp_calculate_commitment_wait_dhkey_calc:
+	jam      SP_FLAG_COMMIT,mem_sp_flag
+	rtn
+    
+sp_confirm_check:
+	fetch 1,mem_encapsulated_minor_type
+	beq ENCAPSULATED_MINOR_TYPE_P256,sp_confirm_check_256
+	beq ENCAPSULATED_MINOR_TYPE_P192,sp_confirm_check_192
+sp_confirm_check_wait:
+	jam SP_STAT_CONFIRM_CHECK,mem_sp_state
+	jam SP_FLAG_COMMIT,mem_sp_flag  
+	rtn
+
+sp_confirm_check_256:	
+	fetch 1,mem_sp_dhkey_invalid
+	bne SP_KEY_VALID_256,sp_confirm_check_wait
+	branch sp_confirm_check_common
+	
+sp_confirm_check_192:	
+	fetch 1,mem_sp_dhkey_invalid
+	bne SP_KEY_VALID,sp_confirm_check_wait
+sp_confirm_check_common:	
+	arg      mem_addr_value,contw
+	fetch    6,mem_lap
+	istore   6,contw
+	fetch    6,mem_plap
+	istore   6,contw
+	fetch    3,mem_sp_iocap_remote
+	istore   3,contw 
+
+	call     function_f3a
+
+	arg      mem_sp_calc_result_high,rega
+	arg      mem_sp_check_result,regb    
+	force    4,queue 
+	call     compare4
+	nbranch  sp_confirm_check_failed,true  
+
+	call sp_confirm_check_success
+	jam LMP_DHKey_Check,mem_lmi_opcode2
+	branch tid_set_reply
+    
+sp_confirm_check_success:
+	fetch 1,mem_master_sp_state
+	beq SP_STAT_CONFIRM_CHECK,sp_confirm_check_success_master
+	jam SP_STAT_CONFIRM_CALC,mem_sp_state
+	jam SP_FLAG_COMMIT,mem_sp_flag  
+	jam LMP_ACCEPTED,mem_lmo_opcode2
+	rtn
+sp_confirm_check_success_master:
+	jam LMP_ACCEPTED,mem_lmo_opcode2
+	jam SP_STATE_END,mem_master_sp_state
+	branch master_set_mem_master_sp_flag
+	//accept opcode?
+	
+sp_confirm_check_failed:
+	fetch 1,mem_master_sp_state
+	beq SP_STAT_CONFIRM_CHECK,sp_confirm_check_failed_master
+	jam SP_STAT_NULL,mem_sp_state
+	jam LMP_NOT_ACCEPTED,mem_lmo_opcode2
+	//accept opcode?
+	jam      AUTHENTICATION_FAILURE_ERROR,mem_lmo_reason2 
+	rtn
+sp_confirm_check_failed_master:
+	jam LMP_NOT_ACCEPTED,mem_lmo_opcode2
+	jam SP_STAT_NULL,mem_master_sp_state
+	rtn
+    
+sp_confirm_calc:
+	fetch 1,mem_encapsulated_minor_type
+	beq ENCAPSULATED_MINOR_TYPE_P256,sp_confirm_calc_256
+	beq ENCAPSULATED_MINOR_TYPE_P192,sp_confirm_calc_192
+	rtn
+	
+sp_confirm_calc_256:	
+	fetch 1,mem_sp_dhkey_invalid
+	beq SP_KEY_VALID_256,sp_confirm_calc_ready
+	jam 	SP_STAT_CONFIRM_CALC,mem_master_sp_state
+	branch master_set_mem_master_sp_flag
+	
+sp_confirm_calc_192:
+	fetch 1,mem_sp_dh_ready
+	beq SP_FLAG_COMMIT, sp_confirm_calc_ready
+	jam 	SP_STAT_CONFIRM_CALC,mem_master_sp_state
+	branch master_set_mem_master_sp_flag
+	
+sp_confirm_calc_ready:
+	arg      mem_addr_value,contw
+	fetch    6,mem_plap
+	istore   6,contw
+	fetch    6,mem_lap
+	istore   6,contw
+	fetch    3,mem_lmp_io_cap_payload_iocap
+	istore   3,contw 
+
+	call     function_f3b
+	fetch 1,mem_master_sp_state
+	beq SP_STAT_CONFIRM_CALC,sp_confirm_calc_master
+	jam      SP_STAT_CONFIRM_SEND,mem_sp_state
+	jam      SP_FLAG_COMMIT,mem_sp_flag
+	rtn
+sp_confirm_calc_master:
+	jam      SP_STAT_CONFIRM_SEND,mem_master_sp_state
+	jam      SP_FLAG_COMMIT,mem_master_sp_flag
+	rtn   
+
+sp_master_key_prarm_push:
+	arg mem_sp_prarm_stack,contw
+	fetch    6,mem_plap
+	istore   6,contw
+	fetch    6,mem_lap
+	istore   6,contw
+	setarg mem_sp_random_local_end
+	istore 2,contw
+	setarg mem_sp_random_remote_end
+	istore 2,contw
+	branch sp_link_key_calc
+sp_link_key_prarm_push:
+	jam      SP_STAT_DONE,mem_sp_state    
+	arg mem_sp_prarm_stack,contw
+	fetch    6,mem_lap
+	istore   6,contw
+	fetch    6,mem_plap
+	istore   6,contw
+	setarg mem_sp_random_remote_end
+	istore 2,contw
+	setarg mem_sp_random_local_end
+	istore 2,contw
+sp_link_key_calc:
+    /*calculate Link key here */
+	arg      mem_addr_value,contw
+	fetch    6,mem_sp_prarm_stack
+	istore   6,contw
+	fetch    6,mem_sp_prarm_stack+6
+	istore   6,contw
+	
+	call     function_f2    
+
+	/*handle linkkey  */
+	jam 1,mem_link_key_exists
+	arg mem_link_key,contw
+	arg mem_sp_calc_result_high,contr
+	call memcpy16
+	branch  generate_linkkey_continue
+
+//FF18A5F4EFD25E622B140CCFD6F15D0027DC8D91865F9107
+sp_debug_private:
+  	arg mem_sp_private_key,contw
+        setsect 0,0x118ff
+        setsect 1,0x3fd29
+        setsect 2,0x1ed2e
+        setsect 3,0xad89
+        istore 9,contw
+        setsect 0,0x30c14
+        setsect 1,0x75b3
+        setsect 2,0x5df
+        setsect 3,0x3709c
+        istore 9,contw
+        setsect 0,0x2918d
+        setsect 1,0x57e1
+        setsect 2,0x79
+        istore 6,contw
+        rtn
+	
+    
+sp_pubkey_calc:
+	bpatchx patch2f_0,mem_patch2f
+	fetch    1,mem_sp_local_key_invalid
+	rtnne SP_KEY_INVALID
+	fetch    1,mem_sp_calc
+	rtnne  SP_CALC_STANDBY
+//	call init_memp
+	arg      mem_sp_private_key,contw 
+	force    11,queue
+	call     random_generator
+	random   pdata
+	rshift   pdata,pdata
+	istore   2,contw 
+
+	fetch 1,mem_sp_debug_mode
+	ncall sp_debug_private,blank
+	 
+	arg      mem_k,contw
+	arg      mem_sp_private_key,contr	
+	call     memcpy24 //mem_sp_private_key=>mem_k 24BYTES
+
+	arg      mem_ax,contw
+	arg      mem_gx,contr
+	call     memcpy48 //mem_gx=>mem_ax 48bytes
+
+	arg      mem_az,contw
+	call     bn_zero
+	jam      1,mem_az //0=>mem_az 24bytes
+
+	call     eckp_calc_init
+	jam SP_CALC_PUBKEY,mem_sp_calc
+	rtn    
+	
+sp_pubkey_generated:
+	arg      mem_sp_pubkey_local,contw
+	arg      mem_bx,contr
+	call     memcpy48   
+	jam      SP_KEY_VALID,mem_sp_local_key_invalid
+	jam      SP_CALC_STANDBY,mem_sp_calc
+	rtn
+
+sp_dhkey_calc:
+	bpatchx patch2f_1,mem_patch2f
+	fetch    1,mem_sp_dhkey_invalid
+	rtnne  SP_KEY_INVALID
+	fetch    1,mem_sp_calc
+	rtnne  SP_CALC_STANDBY
+
+	arg      mem_k,contw
+	arg      mem_sp_private_key,contr	
+	call     memcpy24
+
+	arg      mem_ax,contw
+	arg      mem_sp_pubkey_remote,contr
+	call     memcpy48
+
+	arg      mem_az,contw
+	call     bn_zero
+	jam      1,mem_az
+
+	call     eckp_calc_init
+	jam      SP_CALC_DHKEY,mem_sp_calc
+	rtn 	
+	
+sp_dhkey_generated:
+	jam SP_FLAG_COMMIT,mem_sp_dh_ready
+	arg mem_sp_dhkey,contw
+	arg mem_bx,contr
+	call memcpy24
+	jam SP_KEY_VALID,mem_sp_dhkey_invalid
+	jam SP_CALC_STANDBY,mem_sp_calc
+	rtn
+
+random_generator:
+	increase -1,queue
+	nrtn     positive
+	random   pdata
+	istore   2,contw  
+	branch   random_generator
+compare4:
+	increase -1,queue
+	nbranch  compare4_success,positive
+	ifetch   4,rega
+	copy     pdata,temp
+	ifetch   4,regb
+	iflip    temp,pdata
+	nbranch  compare4_failed,zero
+	increase 4,rega
+	increase 4,regb
+	branch   compare4
+compare4_failed:
+	disable  true
+	rtn
+compare4_success:
+	enable   true
+	rtn
+
+/*************************************************/
+/** Message state machine routines ***************/
+/*************************************************/
+// simple pairing support 
+
+simple_pairing_sequence:
+	bpatchx patch2f_2,mem_patch2f
+         fetch 1,mem_sp_flag
+         rtn blank
+	call lmo_fifo_check
+	nrtn blank
+	jam      SP_FLAG_STANDBY,mem_sp_flag
+	fetch    1,mem_sp_state
+	beq  SP_STAT_KEY_SEND,sp_send_LMP_ENCAPSULATED_HEADER
+	beq  SP_STAT_COMMIT_SEND,sp_send_LMP_SIMPLE_PAIRING_COMFIRM
+	beq  SP_STAT_RANDOM_SEND,sp_send_LMP_SIMPLE_PAIRING_NUMBER
+	beq  SP_STAT_CONFIRM_SEND,sp_send_LMP_DHKEY_CHECK
+	beq  SP_STAT_KEY_GENERATE,sp_generate_local_key
+	beq  SP_STAT_COMMIT_CALC,sp_calculate_commitment
+	beq  SP_STAT_CONFIRM_CHECK,sp_confirm_check
+	beq  SP_STAT_CONFIRM_CALC,sp_confirm_calc
+	beq  SP_STAT_LINK_KEY_CALC,sp_link_key_prarm_push
+	//beq  SP_STAT_FEATURE_EXT_SEND,send_LMP_FEATURES_REQ_EXT
+	rtn  
+
+master_simple_paring_sequence:
+	bpatchx patch2f_3,mem_patch2f
+	fetch 1,mem_master_sp_flag
+	rtn blank
+	call lmo_fifo_check
+	nrtn blank
+	jam SP_FLAG_STANDBY,mem_master_sp_flag
+	fetch 1,mem_master_sp_state
+	beq SP_MASTER_STAT_START_SKIP,sp_master_send_io_cap_get
+	beq SP_MASTER_STAT_START_DONE,sp_master_send_io_cap_send
+	beq SP_STAT_KEY_SEND,sp_master_send_LMP_ENCAPSULATED_HEADER
+	beq SP_STAT_COMMIT_CALC,master_sp_calculate_commitment
+	beq SP_STAT_COMMITMENT_COMPARE,sp_master_commitment_compare
+	beq SP_STAT_RANDOM_SEND,sp_master_send_LMP_SIMPLE_PAIRING_NUMBER
+	beq SP_STAT_CONFIRM_CALC,sp_confirm_calc
+	beq SP_STAT_CONFIRM_SEND,master_sp_send_lmp_dhkey_check
+	beq SP_STAT_CONFIRM_CHECK,sp_confirm_check
+	beq SP_STATE_END,master_sp_sm_end
+	rtn
+
+master_set_mem_master_sp_flag:
+	jam SP_FLAG_COMMIT,mem_master_sp_flag
+	rtn
+	
+master_clear_mem_master_sp_flag:
+	jam SP_FLAG_STANDBY,mem_master_sp_flag
+	rtn
+sp_calc_sequence:
+	bpatchx patch2f_4,mem_patch2f
+	fetch 1,mem_ssp_enable
+	rtn blank
+	fetch 1,mem_sp_calc
+	rtn blank
+	increase 0x80,pdata
+	store    1,mem_sp_calc
+	rtnbit1 7
+	fetch    1,mem_ec_loopc
+	branch   sp_calc_sequence_done,blank
+	branch   eckp_calc
+
+sp_calc_sequence_done:    
+	call ecunmapz
+	fetch 1,mem_sp_calc
+	beq  SP_CALC_PUBKEY,sp_pubkey_generated
+	beq  SP_CALC_DHKEY,sp_dhkey_generated
+	rtn
+
+
+bn_testbit:
+	and pdata,7,queue
+	rshift3 pdata,pdata
+	iadd contr,contr
+	ifetch 1,contr
+	qisolate0 pdata
+	rtn
+
+
+ec_copy:
+	call memcpy24
+	call memcpy24
+	branch memcpy24
+	
+	
+bn_eq_zero:
+	ifetch 8,contr
+	nrtn blank
+	ifetch 8,contr
+	nrtn blank
+	ifetch 8,contr
+	rtn
+	
+	
+	/* return zero if eq */
+
+bn_eq_0:	
+	ifetch 4,rega
+	iforce temp
+	ifetch 4,regb
+	isub temp,null
+	nrtn zero
+	increase 4,rega
+	increase 4,regb
+	loop bn_eq_0
+	rtn
+
+	/* return positive if A >= B */
+bn_bigeq:
+	force 6,loopcnt
+	increase 20,rega
+	increase 20,regb
+bn_bigeq_0:	
+	ifetch 4,regb
+	iforce temp
+	ifetch 4,rega
+	isub temp,pdata
+	nrtn positive
+	nrtn blank
+	increase -4,rega
+	increase -4,regb
+	loop bn_bigeq_0
+	rtn
+
+bn_add:
+	force 6,loopcnt
+	force 0,regc
+bn_add_0:	
+	ifetch 4,rega
+	iforce temp
+	ifetch 4,regb
+	iadd temp,pdata
+	iadd regc,pdata
+	istore 4,contw
+	isolate1 32,pdata
+	setflag true,0,regc
+	increase 4,rega
+	increase 4,regb
+	loop bn_add_0
+	rtn
+
+bn_sub:
+	force 6,loopcnt
+	force 0,regc
+bn_sub_0:	
+	ifetch 4,regb
+	iforce temp
+	ifetch 4,rega
+	isub temp,pdata
+	isub regc,pdata
+	istore 4,contw
+	isolate1 32,pdata
+	setflag true,0,regc
+	increase 4,rega
+	increase 4,regb
+	loop bn_sub_0
+	rtn
+
+bn_rshift6:
+	force 6,loopcnt
+	increase 20,rega
+bn_rshift:
+	force 0,regc
+bn_rshift_0:	
+	ifetch 4,rega
+	isolate1 0,pdata
+	setflag true,1,regc
+	rshift pdata,pdata
+	isolate1 0,regc
+	setflag true,31,pdata
+	istore 4,rega
+	increase -4,rega
+	rshift regc,regc
+	loop bn_rshift_0
+	rtn
+
+bn_lshift:
+	force 6,loopcnt
+	force 0,regc
+bn_lshift_0:	
+	ifetch 4,rega
+	isolate1 31,pdata
+	setflag true,1,regc
+	lshift pdata,pdata
+	isolate1 0,regc
+	setflag true,0,pdata
+	istore 4,rega
+	increase 4,rega
+	rshift regc,regc
+	loop bn_lshift_0
+	rtn
+	
+bn_lshiftmod:
+	call bn_lshift
+bn_lshiftmod_ismod:	
+	isolate1 0,regc
+	branch bn_lshiftmod_0,true
+	arg mem_p,regb
+	copy rega,regc
+	increase -24,rega
+	call bn_bigeq
+	nrtn positive
+	copy regc,rega
+bn_lshiftmod_0:
+	increase -24,rega
+	arg mem_p,regb
+	copy rega,contw
+	branch bn_sub
+	
+
+bn_addmod:
+	call bn_add
+	copy contw,rega
+	branch bn_lshiftmod_ismod
+	
+bn_submod:
+	call bn_sub
+	isolate0 0,regc
+	rtn true
+	arg mem_p,regb
+	add contw,-24,rega
+	copy rega,contw
+	branch bn_add
+	
+
+bn_p192mod:
+	copy contw,timeup				/* save result ptr */
+	copy rega,alarm				/* temp save rega */
+	arg mem_tmp2,regb
+	copy regb,contw
+	add rega,24,contr
+	ifetch 8,contr
+	istore 8,contw
+	istore 8,contw
+	force 0,pdata
+	istore 8,contw
+	copy timeup,contw
+	call bn_addmod
+	arg mem_tmp2,regb
+	copy regb,contw
+	force 0,pdata
+	istore 8,contw
+	add alarm,32,contr
+	ifetch 8,contr
+	istore 8,contw
+	istore 8,contw
+	copy timeup,rega
+	copy rega,contw
+	call bn_addmod
+	arg mem_tmp2,regb
+	copy regb,contw
+	add alarm,40,contr
+	ifetch 8,contr
+	istore 8,contw
+	istore 8,contw
+	istore 8,contw
+	copy timeup,rega
+	copy rega,contw
+	branch bn_addmod
+		
+
+bn_load:
+	force 6,loopcnt
+bn_load_0:	
+	ifetch 4,contr
+	iforce regext
+	increase 1,regext_index
+	loop bn_load_0
+	rtn
+
+
+	/* cost 1562 clks */	
+bn_mulmod:
+	copy contw,timeup					/* save result ptr */
+	arg mem_tmp1,contw
+	call bn_zero
+	arg mem_tmp1,contw
+	copy rega,contr
+	force 0,regext_index
+	call bn_load
+	copy regb,contr
+	call bn_load
+	force 0,regb
+bn_mulmod_1:	
+	force 0,temp
+	force 6,regc
+bn_mulmod_0:
+	ifetch 4,contw					/* d[i+j] */
+	iforce rega
+	copy regb,regext_index
+	deposit regext
+	copy regc,regext_index
+	imul32 regext,pdata
+	iadd rega,pdata					/* uv = a[i]*b[j] + d[i+j] */
+	iadd temp,pdata					/* uv += u */
+	istore 4,contw					/* ->d[i+j] */
+	rshift32 pdata,temp				/* temp = u = uv >> 32 */
+	increase 1,regc
+	compare 12,regc,0xff
+	nbranch bn_mulmod_0,true
+	deposit temp
+	istore 4,contw					/* d[i + 12] = u */
+	increase -24,contw
+	increase 1,regb
+	compare 6,regb,0xff
+	nbranch bn_mulmod_1,true
+	arg mem_tmp1,rega
+	copy timeup,contw
+	branch bn_p192mod
+
+	
+bn_sqrmod:
+	copy rega,regb
+	branch bn_mulmod
+
+bn_rshifteven:
+	copy rega,alarm
+bn_rshifteven_1:
+	copy alarm,rega
+	ifetch 1,rega
+	isolate1 0,pdata
+	rtn true
+	call bn_rshift6
+	ifetch 1,regb
+	isolate0 0,pdata
+	branch bn_rshifteven_0,true
+	arg mem_p,rega
+	copy regb,contw
+	call bn_add
+	ifetch 1,regb
+	iadd regc,pdata
+	istore 1,regb						/* [6] */
+	increase -24,regb
+bn_rshifteven_0:
+	add regb,24,rega
+	force 7,loopcnt
+	call bn_rshift
+	branch bn_rshifteven_1
+
+	/* cost 141910 clks */
+bn_invmod:
+	copy contw,timeup					/* save result ptr */
+	arg mem_tmp0,contw				/* x */
+	call bn_zero
+	force 0,pdata
+	store 4,mem_tmp5
+	store 4,mem_t2
+	jam 1,mem_tmp0
+	arg mem_tmp1,contw				/* y */
+	call bn_zero
+	arg mem_p,contr
+	arg mem_tmp2,contw				/* a */
+	call memcpy24
+	copy rega,contr
+	arg mem_tmp3,contw				/* b */
+	call memcpy24
+bn_invmod_2:	
+	arg mem_tmp3,contr
+	call bn_eq_zero
+	branch bn_invmod_0,blank
+	arg mem_tmp3,rega
+	arg mem_tmp0,regb
+	call bn_rshifteven
+
+	arg mem_tmp2,rega
+	arg mem_tmp1,regb
+	call bn_rshifteven
+	arg mem_tmp3,rega
+	arg mem_tmp2,regb
+	call bn_bigeq
+	branch bn_invmod_1,positive
+	arg mem_tmp2,rega
+	arg mem_tmp3,regb
+	copy rega,contw
+	call bn_sub
+	arg mem_tmp0,rega
+	arg mem_tmp1,regb
+	copy regb,contw
+	call bn_add
+	ifetch 1,rega
+	iadd regc,regc
+	ifetch 1,regb
+	iadd regc,pdata
+	istore 1,regb
+	branch bn_invmod_2
+bn_invmod_1:
+	arg mem_tmp3,rega
+	arg mem_tmp2,regb
+	copy rega,contw
+	call bn_sub
+	arg mem_tmp1,rega
+	arg mem_tmp0,regb
+	copy regb,contw
+	call bn_add
+	ifetch 1,rega
+	iadd regc,regc
+	ifetch 1,regb
+	iadd regc,pdata
+	istore 1,regb
+	branch bn_invmod_2
+bn_invmod_0:
+	arg mem_tmp0,contw
+	call bn_zero
+	fetch 1,mem_tmp5
+	store 1,mem_tmp0
+	store 1,mem_tmp0a
+	arg mem_tmp0,rega
+	arg mem_tmp1,regb
+	copy regb,contw
+	call bn_addmod
+	arg mem_p,rega
+	arg mem_tmp1,regb
+	copy timeup,contw
+	branch bn_submod
+	
+
+
+	/* cost 64742 clks */
+ecdbl:
+	arg mem_cz,rega
+	arg mem_t2,contw
+	call bn_sqrmod
+	arg mem_t2,rega
+	arg mem_t3,contw
+	call bn_sqrmod
+	arg mem_a,rega
+	arg mem_t3,regb
+	arg mem_t3,contw
+	call bn_mulmod		/* t3=a*z4	*/
+	arg mem_cx,rega
+	arg mem_t2,contw
+	call bn_sqrmod
+	arg mem_t2,contr
+	arg mem_t1,contw
+	call memcpy24
+	arg mem_t1,rega
+	call bn_lshiftmod
+	arg mem_t2,rega
+	arg mem_t1,regb
+	arg mem_t2,contw
+	call bn_addmod
+	arg mem_t2,rega
+	arg mem_t3,regb
+	arg mem_t2,contw
+	call bn_addmod		/* t2=3*x2 + z*z4		D  */
+	arg mem_cx,contr
+	arg mem_t1,contw
+	call memcpy24
+	arg mem_cy,rega
+	arg mem_t3,contw
+	call bn_sqrmod
+	arg mem_t1,rega
+	call bn_lshiftmod
+	arg mem_t1,rega
+	call bn_lshiftmod
+	arg mem_t1,rega		
+	arg mem_t3,regb
+	arg mem_t1,contw
+	call bn_mulmod		/* t1=4x*y2	B	*/
+	arg mem_t3,rega
+	arg mem_t0,contw
+	call bn_sqrmod
+	arg mem_t0,rega
+	call bn_lshiftmod
+	arg mem_t0,rega
+	call bn_lshiftmod		
+	arg mem_t0,rega		
+	call bn_lshiftmod		/* t0=8*y4		C */
+	arg mem_cy,contr
+	arg mem_t3,contw
+	call memcpy24
+	arg mem_t3,rega
+	call bn_lshiftmod
+	arg mem_t3,rega
+	arg mem_cz,regb
+	arg mem_cz,contw
+	call bn_mulmod		
+	arg mem_t2,rega
+	arg mem_t3,contw
+	call bn_sqrmod
+	arg mem_t3,rega
+	arg mem_t1,regb
+	arg mem_t3,contw
+	call bn_submod
+	arg mem_t3,rega
+	arg mem_t1,regb
+	arg mem_cx,contw
+	call bn_submod
+	arg mem_t1,rega
+	arg mem_cx,regb
+	arg mem_t3,contw
+	call bn_submod
+	arg mem_t3,rega
+	arg mem_t2,regb
+	arg mem_t3,contw
+	call bn_mulmod		
+	arg mem_t3,rega
+	arg mem_t0,regb
+	arg mem_cy,contw
+	branch bn_submod
+	
+
+	/* cost 104904	clks */
+ecadd:
+	arg mem_az,rega
+	arg mem_t7,contw
+	call bn_sqrmod
+	arg mem_cx,rega
+	arg mem_t7,regb
+	arg mem_t0,contw
+	call bn_mulmod		/* n1=t0=xa*zb2  */
+	arg mem_az,rega
+	arg mem_t7,regb
+	arg mem_t7,contw
+	call bn_mulmod	
+	arg mem_cy,rega
+	arg mem_t7,regb
+	arg mem_t1,contw
+	call bn_mulmod		/* n2=t1=ya*zb3 */
+	arg mem_cz,rega
+	arg mem_t7,contw
+	call bn_sqrmod
+	arg mem_ax,rega
+	arg mem_t7,regb
+	arg mem_t2,contw
+	call bn_mulmod		/* n3=t2=xb*za2 */
+	arg mem_cz,rega
+	arg mem_t7,regb
+	arg mem_t7,contw
+	call bn_mulmod	
+	arg mem_ay,rega
+	arg mem_t7,regb
+	arg mem_t3,contw
+	call bn_mulmod		/* n4=t3=yb*za3 */
+	arg mem_t0,rega
+	arg mem_t2,regb
+	arg mem_t7,contw
+	call bn_submod		/* n5=t7=n1-n3=t0-t2 */
+	arg mem_t0,rega
+	arg mem_t2,regb
+	arg mem_t0,contw
+	call bn_addmod		/* n7=t0=n1+n3=t0+t2 */
+	arg mem_t1,rega
+	arg mem_t3,regb
+	arg mem_t2,contw
+	call bn_submod		/* n6=t2=n2-n4=t1-t3 */
+	arg mem_t1,rega
+	arg mem_t3,regb
+	arg mem_t1,contw
+	call bn_addmod		/* n8=t1=n2+n4=t1+t3 */
+	arg mem_t1,rega
+	arg mem_t7,regb
+	arg mem_t1,contw
+	call bn_mulmod		/* t1=n8*n5 */
+	arg mem_cz,rega
+	arg mem_az,regb
+	arg mem_t3,contw
+	call bn_mulmod	
+	arg mem_t3,rega
+	arg mem_t7,regb
+	arg mem_cz,contw
+	call bn_mulmod		/* z=za*zb*n5 */
+	arg mem_t7,rega
+	arg mem_t7,contw
+	call bn_sqrmod		/* t7=n5^2 */
+	arg mem_t7,rega
+	arg mem_t0,regb
+	arg mem_t3,contw
+	call bn_mulmod		/* t3=n5^2*n7 */
+	arg mem_t7,rega
+	arg mem_t1,regb
+	arg mem_t1,contw
+	call bn_mulmod		/* t1=n8*n5^3 */
+	arg mem_t2,rega
+	arg mem_cx,contw
+	call bn_sqrmod		
+	arg mem_cx,rega
+	arg mem_t3,regb
+	arg mem_cx,contw
+	call bn_submod		/* x=n6^2-n5^2*n7 */
+	arg mem_cx,contr
+	arg mem_t7,contw
+	call memcpy24
+	arg mem_t7,rega
+	call bn_lshiftmod		/* t7=2*x */
+	arg mem_t3,rega
+	arg mem_t7,regb
+	arg mem_t3,contw
+	call bn_submod		/* t3=n9 */
+	arg mem_t3,rega
+	arg mem_t2,regb
+	arg mem_t2,contw
+	call bn_mulmod		/* t2=n9*n6 */
+	arg mem_t2,rega
+	arg mem_t1,regb
+	arg mem_cy,contw
+	call bn_submod	
+	arg mem_cy,rega
+	arg mem_p,regb
+	arg mem_cy,contw
+	force 0,regc
+	fetch 1,mem_cy
+	isolate1 0,pdata
+	call bn_add,true
+	copy regc,alarm
+	arg mem_cy,rega
+	call bn_rshift6
+	fetch 1,mem_cy5
+	isolate1 0,alarm
+	setflag true,7,pdata
+	store 1,mem_cy5
+	rtn
+
+	/* cost 22276983 clks */
+
+eckp_0:	
+	fetch 1,mem_ec_loopc
+	increase -1,pdata
+	nrtn positive
+	store 1,mem_ec_loopc
+	fetch 1,mem_ec_infinite
+	call ecdbl,blank
+	fetch 1,mem_ec_loopc
+	arg mem_k,contr
+	call bn_testbit
+	branch eckp_0,true
+	fetch 1,mem_ec_infinite
+	nbranch eckp_1,blank
+	call ecadd
+	branch eckp_0
+eckp_1:
+	jam 0,mem_ec_infinite
+	arg mem_ax,contr
+	arg mem_cx,contw
+	call ec_copy
+	branch eckp_0
+
+	/* cost 162522 clks */
+ecunmapz:
+	arg mem_cz,rega
+	arg mem_t3,contw
+	call bn_invmod			/* t3 = 1/z */
+	arg mem_t3,rega
+	arg mem_t1,contw		
+	call bn_sqrmod			/* t1 = 1/z2 */
+	arg mem_cx,rega
+	arg mem_t1,regb
+	arg mem_bx,contw
+	call bn_mulmod
+	arg mem_t3,rega
+	arg mem_t1,regb
+	arg mem_t2,contw			
+	call bn_mulmod			/* t2 = 1/z3 */
+	arg mem_cy,rega
+	arg mem_t2,regb
+	arg mem_by,contw
+	branch bn_mulmod		
+	
+	
+
+sha_endian_swap2:	
+	ifetch 4,contr
+	force 4,rega
+	increase 3,contw
+sha_endian_loop:	
+	istore 1,contw
+	rshift8 pdata,pdata
+	increase -2,contw
+	increase -1,rega
+	nbranch sha_endian_loop,zero
+	increase 5,contw
+	loop sha_endian_swap2
+	rtn	
+
+
+sha_getw:
+	lshift2 queue,pdata
+	iadd timeup,contr
+	ifetch 4,contr
+	rtn
+	
+sha_r:
+	force 16,alarm
+	arg memdat,timeup
+sha_r_loop:	
+	add alarm,-7,queue
+	call sha_getw
+	iforce temp						/* W[t - 7] */
+	add alarm,-16,queue
+	call sha_getw
+	iadd temp,temp					/* W[t-7] + W[t-16] */
+	add alarm,-2,queue
+	call sha_getw
+	shasx pdata,1,pdata
+	iadd temp,temp					/* S1(W[t -  2]) + W[t-7] + W[t-16] */
+	add alarm,-15,queue
+	call sha_getw
+	shasx pdata,0,pdata
+	iadd temp,temp					/* S0(W[t - 15]) + S1(W[t -  2]) + W[t-7] + W[t-16] */
+	lshift2 alarm,pdata
+	iadd timeup,contw
+	istoret 4,contw
+	increase 1,alarm
+	compare 64,alarm,0xff
+	nbranch sha_r_loop,true
+	rtn
+	
+
+sha_init:
+	arg memh0,contr
+	force 7,regext_index
+sha_init_0:	
+	ifetch 4,contr
+	iforce regext
+	increase -1,regext_index
+	branch sha_init_0,positive
+	rtn
+
+sha:
+	bpatchx patch2f_5,mem_patch2f
+	call sha_r		/* preprocessing data into R() */
+	arg memahbak,contw
+	force 0,regext_index
+sha_0:	
+	deposit regext
+	istore 4,contw
+	increase 1,regext_index
+	compare 8,regext_index,0xff
+	nbranch sha_0,true
+	call enable_authrom
+	arg memk,timeup
+	arg memdat,alarm
+	force 64,loopcnt
+sha_loop:	
+	ifetcht 4,alarm
+	ifetch 4,timeup
+	increase 4,timeup
+	increase 4,alarm
+	iadd temp,pdata			/* x+K */
+	force 7,regext_index
+	iadd regext,temp			/* x+K+h */
+	force 4,regext_index
+	shasx regext,3,pdata
+	iadd temp,temp			/* temp = s3(e)+x+K+h */
+	force 5,regext_index
+	deposit regext
+	force 6,regext_index
+	ixor regext,pdata
+	force 4,regext_index
+	iand regext,pdata			/* (e & (f ^ g)) */
+	force 6,regext_index
+	ixor regext,pdata			/* F1(e, f, g) = g ^ (e & (f ^ g)) */
+	iadd temp,temp			/* temp1 = h + S3(e) + F1(e,f,g) + K + x */
+	force 7,regext_index
+	copy temp,regext			/* save to H */
+	force 3,regext_index
+	deposit regext
+	iadd temp,regext			/* save to D */
+	force 0,regext_index
+	deposit regext
+	force 1,regext_index
+	iand regext,temp			/* a & b */
+	ior regext,pdata			/* a | b */			
+	force 2,regext_index
+	iand regext,pdata			/* (c & (a | b)) */
+	ior temp,temp				/* F0:(a & b) | (c & (a | b)) */
+	force 0,regext_index
+	shasx regext,2,pdata
+	iadd temp,pdata			/* temp2 = S2(a) + F0(a,b,c) */
+	force 7,regext_index
+	iadd regext,regext			/* h = temp1 + temp2 */
+	regexrot					/* rotate move h,a-g => a-h */
+	loop sha_loop
+	arg memahbak,contr
+	force 0,regext_index
+sha_1:	
+	ifetch 4,contr
+	iadd regext,regext
+	increase 1,regext_index
+	compare 8,regext_index,0xff
+	nbranch sha_1,true
+	branch disable_authrom
+
+	
+sha_result:
+	arg   memresult,contw
+	force 7,regext_index
+sha_regext_save:
+	deposit regext
+	istore  4,contw 
+	increase -1,regext_index
+	branch   sha_regext_save,positive
+	rtn	
+
+pad_xor:
+//	arg memx_end,contr
+	arg      memdat,contw
+	increase -4,contr
+	sub      loopcnt,16,rega
+pad_xor_0:	    
+	ifetch   4,contr
+	ixor     temp,pdata
+	istore   4,contw	
+	increase -8,contr	
+	loop  pad_xor_0
+	copy     rega,loopcnt
+	deposit  temp
+pad_xor_1:	
+	istore 4,contw
+	loop pad_xor_1
+	rtn
+
+g_noninit_number_confirm:
+	fetch 1,mem_encapsulated_minor_type
+	beq ENCAPSULATED_MINOR_TYPE_P256,g_noninit_number_confirm_256
+	beq ENCAPSULATED_MINOR_TYPE_P192,g_noninit_number_confirm_192
+	rtn
+
+g_noninit_number_confirm_192:	
+	call g_noninit0_192
+	call sha_result
+	branch g_common0
+
+g_noninit_number_confirm_256:	
+	call g_noninit0_256
+	call sha_result
+	branch g_common0
+
+g_noninit_192:
+	call g_noninit0_192
+	branch g_common0
+	
+g_noninit0_192:
+ 	arg      mem_sp_pubkey_remote_x_end,contr
+	arg      memdat,contw
+	force    6,loopcnt
+	call     memcpy_dword_swap
+	arg      mem_sp_pubkey_local_x_end,contr
+	force    6,loopcnt
+	call     memcpy_dword_swap
+	arg      mem_sp_random_remote_end,contr
+	call     memcpy_dword_swap4
+	call     sha_init
+	call     sha	
+ 	arg      mem_sp_random_local_end,contr
+	arg      memdat,contw
+	branch g_common_192
+	
+g_init_192:
+ 	arg      mem_sp_pubkey_local_x_end,contr
+	arg      memdat,contw
+	force    6,loopcnt
+	call     memcpy_dword_swap
+	arg      mem_sp_pubkey_remote_x_end,contr
+	force    6,loopcnt
+	call     memcpy_dword_swap
+	arg      mem_sp_random_local_end,contr
+	call     memcpy_dword_swap4
+	call     sha_init
+	call     sha	
+ 	arg      mem_sp_random_remote_end,contr
+	arg      memdat,contw
+	call g_common_192
+	branch g_common0
+	
+g_common_192:	
+	call     memcpy_dword_swap4
+	setarg   0x800000
+	lshift8  pdata,pdata 
+	istore   4,contw
+	force    5,loopcnt
+	call memset0
+	setarg 640
+	istore 4,contw
+	branch sha
+g_common0:
+	fetch 4,memresult
+//	store 4,mem_gkey
+	arg 1000,rega
+	idiv rega
+	call wait_div_end
+	remainder pdata
+	store 4,mem_gkey
+	quotient pdata
+	arg 1000,rega
+	idiv rega
+	call wait_div_end
+	remainder pdata
+	arg 1000,rega
+	imul32 rega,pdata
+	fetcht 4,mem_gkey
+	iadd temp,pdata
+	store 4,mem_gkey
+	rtn
+	
+noninit_number_confirm:
+	call g_noninit0_256
+	call sha_result
+	branch g_common0
+
+	
+g_noninit0_256:
+ 	arg      mem_le_pubkey_remote_x_256+32,contr
+	arg      memdat,contw
+	force    8,loopcnt
+	call     memcpy_dword_swap
+	arg      mem_sc_pubkey_local_x_256+32,contr
+	force    8,loopcnt
+	call     memcpy_dword_swap
+//	arg      mem_sp_random_remote_end,contr
+//	call     memcpy_dword_swap4
+	call     sha_init
+	call     sha	
+ 	arg      mem_sp_random_remote_end,contr
+	arg      memdat,contw
+	call     memcpy_dword_swap4
+	arg      mem_sp_random_local_end,contr
+	branch g_common_256
+	
+g_common_256:	
+	call     memcpy_dword_swap4
+	setarg   0x800000
+	lshift8  pdata,pdata 
+	istore   4,contw
+	force    3,loopcnt
+	call memset0
+	setarg 768
+	istore 4,contw
+	branch sha
+
+function_f1_192_no_key:
+	jam 0,mem_passkey_1bit
+	branch function_f1_192_common
+	
+function_f1_192:
+	fetch 1,mem_ssp_mode_flag
+	bne  SSP_MODE_PASSKEY_ENTRY_FLAG,function_f1_192_no_key
+function_f1_192_common:
+	bpatchx patch2f_6,mem_patch2f
+	setarg   0x363636
+	lshift8  pdata,temp
+	or_into       0x36,temp
+	fetch 2,mem_sp_prarm_stack
+	copy pdata,contr
+	force    4,loopcnt
+	call     pad_xor
+	call     sha_init
+	call     sha
+	fetch 2,mem_sp_prarm_stack+2
+	copy pdata,contr
+	arg      memdat,contw
+	force    6,loopcnt
+	call     memcpy_dword_swap
+	fetch 2,mem_sp_prarm_stack+4
+	copy pdata,contr
+	force    6,loopcnt
+	call     memcpy_dword_swap
+	setarg   0x800000
+	istore   3,contw
+	
+	fetch 1,mem_passkey_1bit
+	
+	istore   1,contw
+	force    0,pdata
+	istore   8,contw
+	setarg   0x0388
+	istore   4,contw
+function_f1_common2:	
+	call     sha
+	call     sha_result
+	arg      memresult,contr
+	arg      memahsave,contw 
+	call     memcpy32
+    
+	setarg   0x5c5c5c
+	lshift8  pdata,temp
+	or_into       0x5c,temp
+	fetch 2,mem_sp_prarm_stack
+	copy pdata,contr
+	force    4,loopcnt
+	call     pad_xor
+	call     sha_init
+	call     sha
+	arg      memahsave_end,contr
+	arg      memdat,contw
+	force    8,loopcnt
+	call     memcpy_dword_swap
+	setarg   0x800000
+	lshift8  pdata,pdata 
+	istore   4,contw
+	call		bn_zero
+	setarg   0x0300
+	istore   4,contw
+	call     sha
+	branch     sha_result
+	
+	
+function_f2_192:
+	setarg   0x363636
+	lshift8  pdata,temp
+	or_into       0x36,temp
+	arg      mem_sp_dhkey_end,contr
+	force    6,loopcnt
+	call     pad_xor
+	call     sha_init
+	call     sha
+	fetch 2,mem_sp_prarm_stack+12
+	copy pdata,contr
+	arg      memdat,contw
+	call     memcpy_dword_swap4
+	fetch 2,mem_sp_prarm_stack+14
+	copy pdata,contr
+	call     memcpy_dword_swap4
+
+	setarg   0x62746c
+	lshift8  pdata,pdata
+	or_into       0x6b,pdata       
+	istore   4,contw
+	arg      mem_addr_value_end,contr
+	force    3,loopcnt
+	call     memcpy_dword_swap
+	
+	setarg   0x800000
+	lshift8  pdata,pdata 
+	istore   4,contw
+	force    0,pdata
+	istore   8,contw
+	setarg   0x0380
+	istore   4,contw
+	call     sha
+
+	call     sha_result
+	arg      memresult,contr
+	arg      memahsave,contw 
+	call     memcpy32
+    
+	setarg   0x5c5c5c
+	lshift8  pdata,temp
+	or_into       0x5c,temp
+	arg      mem_sp_dhkey_end,contr 
+	force    6,loopcnt
+	call     pad_xor
+	call     sha_init
+	call     sha
+	arg      memahsave_end,contr
+	arg      memdat,contw
+	force    8,loopcnt
+	call     memcpy_dword_swap
+	setarg   0x800000
+	lshift8  pdata,pdata 
+	istore   4,contw
+	call bn_zero
+	setarg   0x0300
+	istore   4,contw
+	call     sha
+	branch     sha_result
+	
+
+function_f3a_192:
+	fetch 1,mem_ssp_mode_flag
+	bne  SSP_MODE_PASSKEY_ENTRY_FLAG,function_f3a_no_pin
+function_f3a_common:
+	bpatchx patch2f_7,mem_patch2f
+	setarg   0x363636
+	lshift8  pdata,temp
+	or_into       0x36,temp
+	arg      mem_sp_dhkey_end,contr
+	force    6,loopcnt
+	call     pad_xor
+	call     sha_init
+	call     sha
+	arg      mem_sp_random_remote_end,contr
+	arg      memdat,contw
+	call     memcpy_dword_swap4
+	arg      mem_sp_random_local_end,contr
+	call     memcpy_dword_swap4
+	branch function_f3_common
+
+function_f3a_no_pin:
+	setarg 0
+	store 4,mem_pin
+	branch function_f3a_common
+
+function_f3b_no_pin:
+	setarg 0
+	store 4,mem_pin
+	branch function_f3b_common
+
+
+function_f3b_192:
+	fetch 1,mem_ssp_mode_flag
+	bne  SSP_MODE_PASSKEY_ENTRY_FLAG,function_f3b_no_pin
+function_f3b_common:
+	setarg   0x363636
+	lshift8  pdata,temp
+	or_into       0x36,temp
+	arg      mem_sp_dhkey_end,contr
+	force    6,loopcnt
+	call     pad_xor
+	call     sha_init
+	call     sha
+
+	arg      mem_sp_random_local_end,contr
+	arg      memdat,contw
+	call     memcpy_dword_swap4
+	arg      mem_sp_random_remote_end,contr
+	call     memcpy_dword_swap4
+function_f3_common:    
+	setarg   0x0    
+	istore   8,contw
+	istore   4,contw
+	fetch 4,mem_pin
+	istore   4,contw
+	
+	copy     contw,temp
+	jam      0x80,mem_addr_padding
+	copy     temp,contw
+	arg      mem_addr_iocap_end,contr
+	call     memcpy_dword_swap4
+
+	call     sha
+    
+	arg      memdat,contw
+	force 7,loopcnt
+	call memset0
+	istore   4,contw
+	setarg   0x03F8
+	istore   4,contw
+	call     sha
+	call     sha_result
+	
+	arg      memresult,contr
+	arg      memahsave,contw 
+	call     memcpy32
+    
+	setarg   0x5c5c5c
+	lshift8  pdata,temp
+	or_into       0x5c,temp
+	arg      mem_sp_dhkey_end,contr 
+	force    6,loopcnt
+	call     pad_xor
+	call     sha_init
+	call     sha
+	arg      memahsave_end,contr
+	arg      memdat,contw
+	force    8,loopcnt
+	call     memcpy_dword_swap
+	setarg   0x800000
+	lshift8  pdata,pdata 
+	istore   4,contw
+	call bn_zero
+	setarg   0x0300
+	istore   4,contw
+	call     sha	
+	branch     sha_result
+		
+/*
+eckp:
+	jam 192,mem_ec_loopc
+	jam 1,mem_ec_infinite
+*/
+eckp_calc_init:
+	jam      192,mem_ec_loopc
+eckp_calc_init_1:    
+	fetch    1,mem_ec_loopc
+	rtn      blank
+	increase -1,pdata
+	store    1,mem_ec_loopc 	
+	arg      mem_k,contr
+	call     bn_testbit
+	branch eckp_calc_init_1,true
+	arg      mem_ax,contr
+	arg      mem_cx,contw
+	branch     ec_copy	
+	
+eckp_calc:
+	call     ecdbl  
+	fetch    1,mem_ec_loopc
+	increase -1,pdata
+	store    1,mem_ec_loopc
+	arg      mem_k,contr
+	call     bn_testbit
+	rtn	true
+	branch     ecadd                
+	             
+memcpy_dword_swap4:
+	force 4,loopcnt
+memcpy_dword_swap:
+	increase -4,contr
+memcpy_dword_swap_loop:
+	ifetch   4,contr
+	istore   4,contw
+	increase -8,contr
+	loop   memcpy_dword_swap_loop 
+    	rtn
+
+
+function_f1_no_key_256:
+	jam 0,mem_passkey_1bit
+	branch function_f1_common_256
+
+function_f1_256:
+	fetch 1,mem_ssp_mode_flag
+	bne  SSP_MODE_PASSKEY_ENTRY_FLAG,function_f1_no_key_256
+function_f1_common_256:
+	setarg   0x363636
+	lshift8  pdata,temp
+	or_into       0x36,temp
+	fetch 2,mem_sp_prarm_stack
+	copy pdata,contr
+	force    4,loopcnt
+	call     pad_xor
+	call     sha_init
+	call     sha
+	fetch 2,mem_sp_prarm_stack+2
+	copy pdata,contr
+	arg      memdat,contw
+	force    8,loopcnt
+	call     memcpy_dword_swap
+	fetch 2,mem_sp_prarm_stack+4
+	copy pdata,contr
+	force    8,loopcnt
+	call     memcpy_dword_swap
+	call     sha
+	arg      memdat,contw	
+	setarg   0x800000
+	istore   3,contw
+	fetch 1,mem_passkey_1bit
+	istore   1,contw
+	arg 7,loopcnt
+	call	memset0
+	
+	setarg   0x0408  //len bit
+	istore   4,contw
+	branch function_f1_common2
+
+function_f3a:
+	fetch 1,mem_encapsulated_minor_type
+	beq ENCAPSULATED_MINOR_TYPE_P256,function_f3a_256
+	beq ENCAPSULATED_MINOR_TYPE_P192,function_f3a_192
+	rtn
+	
+function_f3a_256:
+	fetch 1,mem_ssp_mode_flag
+	bne  SSP_MODE_PASSKEY_ENTRY_FLAG,function_f3a_no_pin_256
+function_f3a_common_256:
+	setarg   0x363636
+	lshift8  pdata,temp
+	or_into       0x36,temp
+	arg      mem_sp_dhkey_end,contr
+	force    8,loopcnt
+	call     pad_xor
+	call     sha_init
+	call     sha
+	arg      mem_sp_random_remote_end,contr
+	arg      memdat,contw
+	call     memcpy_dword_swap4
+	arg      mem_sp_random_local_end,contr
+	call     memcpy_dword_swap4
+//	branch function_f3_common
+function_f3_common_256:    
+	setarg   0x0    
+	istore   8,contw
+	istore   4,contw
+	fetch 4,mem_pin
+	istore   4,contw
+	
+	copy     contw,temp
+	jam      0x80,mem_addr_padding
+	copy     temp,contw
+	arg      mem_addr_iocap_end,contr
+	call     memcpy_dword_swap4
+
+	call     sha
+    
+	arg      memdat,contw
+	force 7,loopcnt
+	call memset0
+	istore   4,contw
+	setarg   0x03F8
+	istore   4,contw
+	call     sha
+	call     sha_result
+	
+	arg      memresult,contr
+	arg      memahsave,contw 
+	call     memcpy32
+    
+	setarg   0x5c5c5c
+	lshift8  pdata,temp
+	or_into       0x5c,temp
+	arg      mem_sp_dhkey_end,contr 
+	force    8,loopcnt
+sha_end_common:
+	call     pad_xor
+	call     sha_init
+	call     sha
+	arg      memahsave_end,contr
+	arg      memdat,contw
+	force    8,loopcnt
+	call     memcpy_dword_swap
+	setarg   0x800000
+	lshift8  pdata,pdata 
+	istore   4,contw
+	call bn_zero
+	setarg   0x0300
+	istore   4,contw
+	call     sha	
+	branch     sha_result
+	
+
+function_f3a_no_pin_256:
+	setarg 0
+	store 4,mem_pin
+	branch function_f3a_common_256
+
+function_f3b_no_pin_256:
+	setarg 0
+	store 4,mem_pin
+	branch function_f3b_common_256
+
+function_f3b:
+	fetch 1,mem_encapsulated_minor_type
+	beq ENCAPSULATED_MINOR_TYPE_P256,function_f3b_256
+	beq ENCAPSULATED_MINOR_TYPE_P192,function_f3b_192
+	rtn
+
+function_f3b_256:
+	fetch 1,mem_ssp_mode_flag
+	bne  SSP_MODE_PASSKEY_ENTRY_FLAG,function_f3b_no_pin_256
+function_f3b_common_256:
+	setarg   0x363636
+	lshift8  pdata,temp
+	or_into       0x36,temp
+	arg      mem_sp_dhkey_end,contr
+	force    8,loopcnt
+	call     pad_xor
+	call     sha_init
+	call     sha
+
+	arg      mem_sp_random_local_end,contr
+	arg      memdat,contw
+	call     memcpy_dword_swap4
+	arg      mem_sp_random_remote_end,contr
+	call     memcpy_dword_swap4
+	branch function_f3_common_256
+
+
+function_f2:
+	fetch 1,mem_encapsulated_minor_type
+	beq ENCAPSULATED_MINOR_TYPE_P256,function_f2_256
+	beq ENCAPSULATED_MINOR_TYPE_P192,function_f2_192
+	rtn
+	
+function_f2_256:
+	setarg   0x363636
+	lshift8  pdata,temp
+	or_into       0x36,temp
+	arg      mem_sp_dhkey_end,contr
+	force    8,loopcnt
+	call     pad_xor
+	call     sha_init
+	call     sha
+	fetch 2,mem_sp_prarm_stack+12
+	copy pdata,contr
+	arg      memdat,contw
+	call     memcpy_dword_swap4
+	fetch 2,mem_sp_prarm_stack+14
+	copy pdata,contr
+	call     memcpy_dword_swap4
+
+	setarg   0x62746c
+	lshift8  pdata,pdata
+	or_into       0x6b,pdata       
+	istore   4,contw
+	arg      mem_addr_value_end,contr
+	force    3,loopcnt
+	call     memcpy_dword_swap
+	
+	setarg   0x800000
+	lshift8  pdata,pdata 
+	istore   4,contw
+	force    0,pdata
+	istore   8,contw
+	setarg   0x0380
+	istore   4,contw
+	call     sha
+
+	call     sha_result
+	arg      memresult,contr
+	arg      memahsave,contw 
+	call     memcpy32
+    
+	setarg   0x5c5c5c
+	lshift8  pdata,temp
+	or_into       0x5c,temp
+	arg      mem_sp_dhkey_end,contr 
+	force    8,loopcnt
+	branch sha_end_common
+
+
+function_h3:
+	fetch    6,mem_lap
+	store   6,mem_addr_value
+	fetch    6,mem_plap
+	istore   6,contw
+	
+	setarg   0x363636
+	lshift8  pdata,temp
+	or_into       0x36,temp
+	arg      mem_link_key+16 ,contr
+	force    4,loopcnt
+	call     pad_xor
+	call     sha_init
+	call     sha
+	setarg   0x627461
+	lshift8  pdata,pdata
+	or_into       0x6b,pdata       
+	store   4,memdat
+	
+	arg      mem_addr_value+12,contr
+	force    3,loopcnt
+	call     memcpy_dword_swap
+	
+	arg mem_ccm_iv+8,contr
+	arg 2,loopcnt
+	call     memcpy_dword_swap
+	
+	setarg   0x800000
+	lshift8  pdata,pdata 
+	istore   4,contw
+	arg 4,loopcnt
+	call memset0
+
+	setarg   704
+	istore   4,contw
+	call     sha
+
+	call     sha_result
+	arg      memresult,contr
+	arg      memahsave,contw 
+	call     memcpy32
+    
+	setarg   0x5c5c5c
+	lshift8  pdata,temp
+	or_into       0x5c,temp
+	arg      mem_link_key+16,contr 
+	force    4,loopcnt
+	branch sha_end_common
+
+
+function_h4:
+	fetch    6,mem_lap
+	store   6,mem_addr_value
+	fetch    6,mem_plap
+	istore   6,contw
+	
+	setarg   0x363636
+	lshift8  pdata,temp
+	or_into       0x36,temp
+	arg      mem_link_key+16 ,contr
+	force    4,loopcnt
+	call     pad_xor
+	call     sha_init
+	call     sha
+	setarg   0x627464
+	lshift8  pdata,pdata
+	or_into       0x6b,pdata       
+	store   4,memdat
+	
+	arg      mem_addr_value+12,contr
+	force    3,loopcnt
+	call     memcpy_dword_swap
+	
+	setarg   0x800000
+	lshift8  pdata,pdata 
+	istore   4,contw
+	arg 5,loopcnt
+	call memset0
+
+	setarg   640
+	istore   4,contw
+	call     sha
+
+	call     sha_result
+	arg      memresult,contr
+	arg      memahsave,contw 
+	call     memcpy32
+    
+	setarg   0x5c5c5c
+	lshift8  pdata,temp
+	or_into       0x5c,temp
+	arg      mem_link_key+16,contr 
+	force    4,loopcnt
+	branch sha_end_common
+
+
+function_h5:
+	arg mem_sp_calc_result_high,contr
+	arg mem_input_store,contw
+	call memcpy16
+	setarg mem_sp_random_remote+16
+	store 2,mem_sp_prarm_stack
+	setarg mem_random_number+16
+	istore 2,contw
+	
+	setarg   0x363636
+	lshift8  pdata,temp
+	or_into       0x36,temp
+	arg      mem_input_store+16 ,contr
+	force    4,loopcnt
+	call     pad_xor
+	call     sha_init
+	call     sha
+
+	arg memdat,contw
+	fetch 2, mem_sp_prarm_stack
+	copy pdata,contr
+	call     memcpy_dword_swap4
+	fetch 2,     mem_sp_prarm_stack+2
+	copy pdata,contr
+	call     memcpy_dword_swap4
+	
+	setarg   0x800000
+	lshift8  pdata,pdata 
+	istore   4,contw
+	
+	arg 3,loopcnt
+	call memset0
+
+	setarg   768
+	istore   4,contw
+	call     sha
+
+	call     sha_result
+	arg      memresult,contr
+	arg      memahsave,contw 
+	call     memcpy32
+    
+	setarg   0x5c5c5c
+	lshift8  pdata,temp
+	or_into       0x5c,temp
+	arg      mem_input_store+16,contr 
+	force    4,loopcnt
+	branch sha_end_common
+
+
+
+
+else
+sp_initialize:
+	rtn
+
+endif
+	
+
+ifdef SECURE_CONNECTION
+
+sp_initialize_256:	
+	bpatchx patch30_0,mem_patch30
+	fetch 1,mem_secure_connections_enable
+	nbranch sp_pubkey_calc_256,blank
+//	call sp_clear_flags
+sc_reset:
+	jam SP_CALC_STANDBY,mem_sc_calc
+	jam SP_KEY_INVALID,mem_sc_local_key_invalid
+	rtn
+	
+	
+    	
+sp_wait_pubkey_calc_256_done:
+	fetch 1,mem_secure_connections_enable
+	rtn blank
+	fetch 1,mem_sc_local_key_invalid
+	rtneq SP_KEY_VALID_256
+	call sp_calc_sequence_256
+	branch sp_wait_pubkey_calc_256_done
+
+
+//BD1A3CCD:A6B89958:99B740EB:7B60FF4A:503F10D2:E3B3C974:385FC5A3:D4F6493F
+sp_debug_private_256:
+	arg mem_sc_private_key_256,contw
+        setsect 0,0x1abd
+        setsect 1,0x1b34f
+        setsect 2,0x19b8a
+        setsect 3,0x26562
+        istore 9,contw
+        setsect 0,0x340b7
+        setsect 1,0x1efa
+        setsect 2,0xaff6
+        setsect 3,0xfd41
+        istore 9,contw
+        setsect 0,0x3d210
+        setsect 1,0x26cf8
+        setsect 2,0x3874c
+        setsect 3,0x3157c
+        istore 9,contw
+        setsect 0,0x2d4a3
+        setsect 1,0x3d27d
+        setsect 2,0x3
+        istore 5,contw
+        rtn
+	
+
+sp_pubkey_calc_256:
+	fetch    1,mem_sc_local_key_invalid
+	rtnne SP_KEY_INVALID
+	fetch    1,mem_sc_calc
+	rtnne  SP_CALC_STANDBY
+	call init_memp_256
+	arg      mem_sc_private_key_256,contw 
+	force    15,queue
+	call     random_generator
+	random   pdata
+	rshift   pdata,pdata
+	istore   2,contw 
+	
+	fetch 1,mem_sp_debug_mode
+	ncall sp_debug_private_256,blank
+	
+	arg      mem_k_256,contw
+	arg      mem_sc_private_key_256,contr	
+	call     memcpy32 //mem_sp_private_key=>mem_k 
+
+	arg      mem_ax_256,contw
+	arg      mem_gx_256,contr
+	call     memcpy64 //mem_gx=>mem_ax 
+	
+	arg      mem_az_256,contw
+	call      clear_mem_256
+	jam      1,mem_az_256 //0=>mem_az 
+
+	call     eckp_calc_init_256
+	jam SP_CALC_PUBKEY_256,mem_sc_calc
+	rtn    
+
+sp_pubkey_generated_256:
+
+	arg      mem_sc_pubkey_local_x_256,contw
+	arg      mem_bx_256,contr
+	call     memcpy64   
+	jam      SP_KEY_VALID_256,mem_sc_local_key_invalid
+	jam      SP_CALC_STANDBY,mem_sc_calc
+	rtn
+	
+
+
+sp_dhkey_calc_256:
+	fetch    1,mem_sp_dhkey_invalid
+	rtnne  SP_KEY_INVALID
+	fetch    1,mem_sc_calc
+	rtnne  SP_CALC_STANDBY
+
+	arg      mem_k_256,contw
+	arg      mem_sc_private_key_256,contr	
+	call     memcpy32
+
+	arg      mem_ax_256,contw
+	arg      mem_le_pubkey_remote_x_256,contr
+	call     memcpy64
+
+	arg      mem_az_256,contw
+	call     clear_mem_256
+	jam      1,mem_az_256 //0=>mem_az 
+
+	call     eckp_calc_init_256
+	jam     SP_CALC_DHKEY_256,mem_sc_calc
+	rtn 
+
+
+sp_dhkey_generated_256:
+//	jam SP_FLAG_COMMIT,mem_sp_dh_ready
+	arg mem_le_dhkey_256,contw
+	arg mem_bx_256,contr
+	call memcpy32
+	jam SP_KEY_VALID_256,mem_sp_dhkey_invalid
+	jam SP_CALC_STANDBY,mem_sc_calc
+	rtn
+
+
+
+sp_calc_sequence_256:
+	fetch 1,mem_secure_connections_enable
+	rtn blank
+	fetch 1,mem_sc_calc
+	rtn blank
+	increase 0x80,pdata
+	store    1,mem_sc_calc
+	rtnbit1 7
+	fetch    2,mem_ec_loopc
+	branch   sp_calc_sequence_done_256,blank
+	branch   eckp_calc_256
+
+sp_calc_sequence_done_256:    
+	bpatchx patch30_1,mem_patch30
+	call ecunmapz_256
+	fetch 1,mem_sc_calc
+	beq  SP_CALC_PUBKEY_256,sp_pubkey_generated_256
+	beq  SP_CALC_DHKEY_256,sp_dhkey_generated_256
+	rtn
+
+
+eckp_calc_256:
+	call     ecdbl_256  
+	fetch    2,mem_ec_loopc
+	increase -1,pdata
+	store    2,mem_ec_loopc
+	arg      mem_k_256,contr
+	call     bn_testbit
+	rtn	true
+	branch     ecadd_256   
+
+eckp_calc_init_256:
+	bpatchx patch30_2,mem_patch30
+	setarg 256
+	store 2,mem_ec_loopc
+eckp_calc_init_256_1:    
+	fetch    2,mem_ec_loopc
+	rtn      blank
+	increase -1,pdata
+	store    2,mem_ec_loopc
+	arg      mem_k_256,contr
+	call     bn_testbit
+	branch eckp_calc_init_256_1,true
+	arg      mem_ax_256,contr
+	arg      mem_cx_256,contw
+	branch     memcpy96	
+
+
+ecunmapz_256:
+	arg mem_cz_256,rega
+	arg mem_t3_256,contw
+	call bn_invmod_256			/* t3 = 1/z */
+	arg mem_t3_256,rega
+	arg mem_t1_256,contw		
+	call bn_sqrmod_256			/* t1 = 1/z2 */
+	arg mem_cx_256,rega
+	arg mem_t1_256,regb
+	arg mem_bx_256,contw
+	call bn_mulmod_256
+	arg mem_t3_256,rega
+	arg mem_t1_256,regb
+	arg mem_t2_256,contw			
+	call bn_mulmod_256			/* t2 = 1/z3 */
+	arg mem_cy_256,rega
+	arg mem_t2_256,regb
+	arg mem_by_256,contw
+	branch bn_mulmod_256	
+	
+ecdbl_256:
+	arg mem_cz_256,rega
+	arg mem_t2_256,contw
+	call bn_sqrmod_256
+	arg mem_t2_256,rega
+	arg mem_t3_256,contw
+	call bn_sqrmod_256
+//call ice_break
+	arg mem_a_256,rega
+	arg mem_t3_256,regb
+	arg mem_t3_256,contw
+	call bn_mulmod_256		/* t3=a*z4	*/
+	arg mem_cx_256,rega
+	arg mem_t2_256,contw
+	call bn_sqrmod_256
+//call ice_break
+	arg mem_t2_256,contr
+	arg mem_t1_256,contw
+	call memcpy32
+	arg mem_t1_256,rega
+	call bn_lshiftmod_256
+	arg mem_t2_256,rega
+	arg mem_t1_256,regb
+	arg mem_t2_256,contw
+	call bn_addmod_256
+//call ice_break
+	arg mem_t2_256,rega
+	arg mem_t3_256,regb
+	arg mem_t2_256,contw
+	call bn_addmod_256		/* t2=3*x2 + z*z4		D  */
+//call ice_break
+	arg mem_cx_256,contr
+	arg mem_t1_256,contw
+	call memcpy32
+	arg mem_cy_256,rega
+	arg mem_t3_256,contw
+	call bn_sqrmod_256
+	arg mem_t1_256,rega
+	call bn_lshiftmod_256
+	arg mem_t1_256,rega
+	call bn_lshiftmod_256
+	arg mem_t1_256,rega		
+	arg mem_t3_256,regb
+	arg mem_t1_256,contw
+	call bn_mulmod_256		//S = 4X1Y1^2/* t1=4x*y2	B	*/
+	arg mem_t3_256,rega
+	arg mem_t0_256,contw
+	call bn_sqrmod_256
+	arg mem_t0_256,rega
+	call bn_lshiftmod_256
+	arg mem_t0_256,rega
+	call bn_lshiftmod_256		
+	arg mem_t0_256,rega		
+	call bn_lshiftmod_256	//T = 8Y1^4	/* t0=8*y4		C */
+	arg mem_cy_256,contr
+	arg mem_t3_256,contw
+	call memcpy32
+	arg mem_t3_256,rega
+	call bn_lshiftmod_256
+	arg mem_t3_256,rega
+	arg mem_cz_256,regb
+	arg mem_cz_256,contw
+	call bn_mulmod_256		//z = 2Y1Z1
+
+
+	arg mem_t2_256,rega
+	arg mem_t3_256,contw
+	call bn_sqrmod_256   // M ^2
+//call ice_break
+	arg mem_t3_256,rega
+	arg mem_t1_256,regb
+	arg mem_t3_256,contw
+	call bn_submod_256  // t2^2 - 4*cx *cy^2 
+	arg mem_t3_256,rega
+	arg mem_t1_256,regb
+	arg mem_cx_256,contw
+	call bn_submod_256   //X2
+	arg mem_t1_256,rega
+	arg mem_cx_256,regb
+	arg mem_t3_256,contw
+	call bn_submod_256   //S-X2
+	arg mem_t3_256,rega
+	arg mem_t2_256,regb
+	arg mem_t3_256,contw
+	call bn_mulmod_256	//M(S-X2)	
+	arg mem_t3_256,rega
+	arg mem_t0_256,regb
+	arg mem_cy_256,contw
+	branch bn_submod_256  //M(S-X2)-T Y2	
+
+ecadd_256:
+
+	arg mem_az_256,rega
+	arg mem_t7_256,contw
+	call bn_sqrmod_256
+	arg mem_cx_256,rega
+	arg mem_t7_256,regb
+	arg mem_t0_256,contw
+	call bn_mulmod_256		/* n1=t0=xa*zb2 U1 = X1Z0^2*/
+
+
+	arg mem_az_256,rega
+	arg mem_t7_256,regb
+	arg mem_t7_256,contw
+	call bn_mulmod_256	
+	arg mem_cy_256,rega
+	arg mem_t7_256,regb
+	arg mem_t1_256,contw
+	call bn_mulmod_256		/* n2=t1=ya*zb3   S1 = Y1Z0^3*/
+
+
+	arg mem_cz_256,rega
+	arg mem_t7_256,contw
+	call bn_sqrmod_256
+	arg mem_ax_256,rega
+	arg mem_t7_256,regb
+	arg mem_t2_256,contw
+	call bn_mulmod_256		/* n3=t2=xb*za2  U0 = X0Z1^2*/
+
+	arg mem_cz_256,rega
+	arg mem_t7_256,regb
+	arg mem_t7_256,contw
+	call bn_mulmod_256	
+	arg mem_ay_256,rega
+	arg mem_t7_256,regb
+	arg mem_t3_256,contw
+	call bn_mulmod_256		/* n4=t3=yb*za3 S0 = Y0Z1^3*/
+
+
+//	arg mem_t0_256,rega
+//	arg mem_t2_256,regb
+	arg mem_t0_256,regb
+	arg mem_t2_256,rega
+	arg mem_t7_256,contw
+	call bn_submod_256		/* n5=t7=n1-n3=t0-t2   W=U1-U0*/
+	arg mem_t0_256,rega
+	arg mem_t2_256,regb
+	arg mem_t0_256,contw
+	call bn_addmod_256		/* n7=t0=n1+n3=t0+t2    T=U1+U0 */
+//	arg mem_t1_256,rega
+//	arg mem_t3_256,regb
+	arg mem_t1_256,regb
+	arg mem_t3_256,rega
+	arg mem_t2_256,contw
+	call bn_submod_256		/* n6=t2=n2-n4=t1-t3  S1-S0 */
+	arg mem_t1_256,rega
+	arg mem_t3_256,regb
+	arg mem_t1_256,contw
+	call bn_addmod_256		/* n8=t1=n2+n4=t1+t3 M=S1+S0*/
+	arg mem_t1_256,rega
+	arg mem_t7_256,regb
+	arg mem_t1_256,contw
+	call bn_mulmod_256		/* t1=n8*n5     MW */
+	arg mem_cz_256,rega
+	arg mem_az_256,regb
+	arg mem_t3_256,contw
+	call bn_mulmod_256	      //Z0Z1
+	arg mem_t3_256,rega
+	arg mem_t7_256,regb
+	arg mem_cz_256,contw
+	call bn_mulmod_256		/* z=za*zb*n5   Z0Z1W */
+
+	arg mem_t7_256,rega
+	arg mem_t7_256,contw
+	call bn_sqrmod_256		/* t7=n5^2 */
+	arg mem_t7_256,rega
+	arg mem_t0_256,regb
+	arg mem_t3_256,contw
+	call bn_mulmod_256		/* t3=n5^2*n7 */
+	arg mem_t7_256,rega
+	arg mem_t1_256,regb
+	arg mem_t1_256,contw
+	call bn_mulmod_256		/* t1=n8*n5^3 */
+	arg mem_t2_256,rega
+	arg mem_cx_256,contw
+	call bn_sqrmod_256		
+	arg mem_cx_256,rega
+	arg mem_t3_256,regb
+	arg mem_cx_256,contw
+	call bn_submod_256		/* x=n6^2-n5^2*n7 */
+	arg mem_cx_256,contr
+	arg mem_t7_256,contw
+	call memcpy32
+	arg mem_t7_256,rega
+	call bn_lshiftmod_256		/* t7=2*x */
+	arg mem_t3_256,rega
+	arg mem_t7_256,regb
+	arg mem_t3_256,contw
+	call bn_submod_256		/* t3=n9 */
+	arg mem_t3_256,rega
+	arg mem_t2_256,regb
+	arg mem_t2_256,contw
+	call bn_mulmod_256		/* t2=n9*n6 */
+	arg mem_t2_256,rega
+	arg mem_t1_256,regb
+	arg mem_cy_256,contw
+	call bn_submod_256	
+	arg mem_cy_256,rega
+	arg mem_p_256,regb
+	arg mem_cy_256,contw
+	force 0,regc
+	fetch 1,mem_cy_256
+	isolate1 0,pdata
+	call bn_add_256,true
+	copy regc,alarm
+	arg mem_cy_256,rega
+	call bn_rshift_256
+	fetch 1,mem_cy5_256
+	isolate1 0,alarm
+	setflag true,7,pdata
+	store 1,mem_cy5_256
+	rtn	
+
+bn_invmod_256:
+	copy contw,timeup					 
+	arg mem_tmp0_256,contw			 
+	call clear_mem_256
+	force 0,pdata
+//	store 4,mem_tmp52
+	store 4,mem_t2_256
+	jam 1,mem_tmp0_256      //y1
+	arg mem_tmp1_256,contw	//y2			 
+	call clear_mem_512      
+	arg mem_p_256,contr
+	arg mem_tmp2_256,contw		//j		 
+	call memcpy32
+	copy rega,contr
+	arg mem_tmp3_256,contw		//i		 
+	call memcpy32
+	
+//	arg mem_tmp22,rega
+//	arg mem_tmp32,regb
+//	call p_bn_bigeq_256
+//	branch assert,positive
+bn_invmod_256_2:	
+	arg mem_tmp3_256,contr
+	call bn_eq_zero_256
+	branch bn_invmod_256_0,blank
+//call ice_break    	
+//fetch 1,0x4ffe
+//increase 1,pdata
+//store 1,0x4ffe
+	arg mem_tmp3_256,rega
+	arg mem_tmp0_256,regb
+	call bn_rshifteven_256
+	arg mem_tmp2_256,rega
+	arg mem_tmp1_256,regb
+	call bn_rshifteven_256
+	
+	arg mem_tmp3_256,rega
+	arg mem_tmp2_256,regb
+	call bn_bigeq_256
+	branch bn_invmod_256_1,positive
+	arg mem_tmp2_256,rega
+	arg mem_tmp3_256,regb
+	copy rega,contw
+	call bn_sub_256
+	arg mem_tmp0_256,rega
+	arg mem_tmp1_256,regb
+	copy regb,contw
+	call bn_add_256
+	ifetch 1,rega
+	iadd regc,regc
+	ifetch 1,regb
+	iadd regc,pdata
+	istore 1,regb
+	branch bn_invmod_256_2
+bn_invmod_256_1:
+	arg mem_tmp3_256,rega
+	arg mem_tmp2_256,regb
+	copy rega,contw
+	call bn_sub_256
+	arg mem_tmp1_256,rega
+	arg mem_tmp0_256,regb
+	copy regb,contw
+	call bn_add_256
+	ifetch 1,rega
+	iadd regc,regc
+	ifetch 1,regb
+	iadd regc,pdata
+	istore 1,regb
+	branch bn_invmod_256_2
+bn_invmod_256_0:
+//call ice_break
+	arg mem_tmp1_256,rega
+	copy timeup,contw
+	call  bn_p256mod
+//call ice_break
+	arg mem_p_256,rega
+	copy timeup,regb
+	copy timeup,contw
+	branch bn_submod_256
+
+
+bn_mulmod_256:
+	copy contw,timeup					/* save result ptr */
+	
+	force 0,regext_index
+	
+	arg mem_tmp1_256,contw
+	call clear_mem_512
+	arg mem_regext,contw
+	call clear_mem_512
+//	jam 0,mem_regext_index
+
+//	arg mem_tmp12,contw
+	copy rega,contr
+//	force 0,regext_index
+	jam 0,mem_regext
+	setarg 0
+	call bn_load_mem
+	copy regb,contr
+	call bn_load_256
+//	force 0,regb
+//	jam 0,mem_regb
+	force 0,queue
+	arg mem_tmp1_256,contw	
+bn_mulmod_256_1:	
+//	copy regb,pdata
+//	store 1,
+	arg mem_regext,temp
+	copy queue,regb
+	lshift2 regb,pdata
+//	lshift4 pdata,pdata
+	iadd temp,regb	
+	force 0,temp
+	force 0,regc
+bn_mulmod_256_0:
+//	copy contw,pdata
+//	store 2,mem_contw
+//call ice_break
+//	copy pdata,contw
+	ifetch 4,contw					/* d[i+j] */
+	iforce rega
+//	copy regb,regext_index
+//	deposit regext
+	ifetch 4,regb
+	copy regc,regext_index
+	imul32 regext,pdata
+	iadd rega,pdata					/* uv = a[i]*b[j] + d[i+j] */
+	iadd temp,pdata					/* uv += u */
+	istore 4,contw					/* ->d[i+j] */
+	rshift32 pdata,temp				/* temp = u = uv >> 32 */
+	increase 1,regc
+	compare 8,regc,0xff
+	nbranch bn_mulmod_256_0,true
+//call ice_break
+	deposit temp
+	istore 4,contw					/* d[i + 12] = u */
+	increase -32,contw
+//	fetch 1,mem_regb
+//	copy pdata,regb
+	increase 1,queue
+	compare 8,queue,0xff
+	nbranch bn_mulmod_256_1,true
+	arg mem_tmp1_256,rega
+	copy timeup,contw
+	branch bn_p256mod
+
+bn_p256mod:
+	bpatchx patch30_3,mem_patch30
+	copy contw,timeup				/* save result ptr */
+	copy rega,alarm				/* temp save rega */
+	arg mem_tmp2_256,regb
+	copy regb,contw
+	call memset0_4	
+	istore 8,contw
+	add rega,44,contr
+	call memcpy8
+	call memcpy12
+	copy regb,rega
+	call  bn_lshiftmod_256 //2S1
+	arg mem_tmp2_256,regb
+	copy alarm,rega   
+	copy timeup,contw
+	call bn_addmod_256 //T+2S1
+//call ice_break	
+	arg mem_tmp2_256,regb
+	copy regb,contw
+	call memset0_4	
+	istore 8,contw
+	add alarm,48,contr
+	call memcpy16
+	call memset0_4	
+	copy regb,rega
+	call  bn_lshiftmod_256 //2S2
+//call ice_break	
+//	arg 0,regb
+
+	arg mem_tmp2_256,regb
+	copy timeup,rega   
+	copy rega,contw	
+	call bn_addmod_256  //+2S2
+//call ice_break	
+//	arg 0,regb
+		
+	arg mem_tmp2_256,regb
+	copy regb,contw
+	add alarm,32,contr
+	call memcpy12
+	call memset0_4	
+	istore 8,contw
+	add alarm,56,contr
+	call memcpy8
+	copy timeup,rega
+	copy rega,contw
+	call bn_addmod_256 //+S3
+//call ice_break	
+//	arg 0,regb
+
+	arg mem_tmp2_256,regb
+	copy regb,contw
+	add alarm,36,contr
+	call memcpy12
+	add alarm,52,contr	
+	call memcpy12
+	add alarm,52,contr
+	call memcpy4
+	add alarm,32,contr
+	call memcpy4
+	copy timeup,rega
+	copy rega,contw
+	call bn_addmod_256 //+S4	
+//call ice_break	
+//	arg 1,regb
+	arg mem_tmp2_256,regb
+	copy regb,contw
+	add alarm,44,contr
+	call memcpy12
+	call memset0_4	
+	istore 8,contw
+	add alarm,32,contr
+	call memcpy4
+	add alarm,40,contr
+	call memcpy4
+	copy timeup,rega
+	copy rega,contw
+	call bn_submod_256 //-D1	
+//call ice_break	
+//	arg 2,regb
+	arg mem_tmp2_256,regb
+	copy regb,contw
+	add alarm,48,contr
+	call memcpy8
+	call memcpy8
+	force 0,pdata
+	istore 8,contw
+	add alarm,36,contr
+	call memcpy4
+	add alarm,44,contr
+	call memcpy4
+	copy timeup,rega
+	copy rega,contw
+	call bn_submod_256 //-D2	
+//call ice_break	
+//	arg 3,regb
+	arg mem_tmp2_256,regb
+	copy regb,contw
+	add alarm,52,contr
+	call memcpy12
+	add alarm,32,contr
+	call memcpy12
+	call memset0_4	
+	add alarm,48,contr
+	call memcpy4
+	copy timeup,rega
+	copy rega,contw
+	call bn_submod_256 //-D3
+//call ice_break	
+//	arg 4,regb
+	arg mem_tmp2_256,regb
+	copy regb,contw
+	add alarm,56,contr
+	call memcpy8
+	call memset0_4	
+	add alarm,36,contr
+	call memcpy12
+	call memset0_4	
+	add alarm,52,contr
+	call memcpy4
+	copy timeup,rega
+	copy rega,contw
+	branch  bn_submod_256 //-D4	
+
+
+bn_load_mem:
+	force 32,loopcnt
+	arg mem_regext,contw
+	iadd contw,contw
+	branch memcpy
+
+bn_load_256:
+	force 8,loopcnt
+	branch bn_load_0
+
+bn_sqrmod_256:
+	copy rega,regb
+	branch bn_mulmod_256
+
+bn_add_256:
+	force 8,loopcnt
+ 	branch bn_add+1
+
+bn_addmod_256:
+	call bn_add_256
+	copy contw,rega
+	branch bn_lshiftmod_ismod_256
+
+bn_lshiftmod_256:
+	call bn_lshift_256
+bn_lshiftmod_ismod_256:	
+	isolate1 0,regc
+	branch bn_lshiftmod_p_256,true
+	arg mem_p_256,regb
+	copy rega,regc
+	increase -32,rega
+	call bn_bigeq_256
+	nrtn positive
+	copy regc,rega
+	branch sub_p2_256
+	
+bn_lshiftmod_p_256:
+	call sub_p2_256
+//	nrtn true
+	copy rega,regc
+	increase -32,rega
+	arg mem_p_256,regb
+	call bn_bigeq_256
+	nrtn positive
+	copy regc,rega
+	branch sub_p2_256
+		
+	
+sub_p2_256:
+	increase -32,rega
+	arg mem_p_256,regb
+	copy rega,contw
+	branch bn_sub_256
+	
+
+
+	
+bn_submod_256:
+	call bn_sub_256
+//	isolate1 0,regc
+	branch  bn_submod_256_np,true
+//	copy rega,regc
+//	increase -32,rega
+	add contw,-32,rega
+	arg mem_p_256,regb
+	call bn_bigeq_256
+	nrtn positive
+	arg mem_p_256,regb
+	add contw,-32,rega
+//	copy regc,rega
+	copy rega,contw
+	branch  bn_sub_256
+bn_submod_256_np:	
+	add contw,-32,rega
+	arg mem_p_256,regb
+	copy rega,contw
+	call bn_add_256
+//	isolate1 0,regc
+	rtn true
+	add contw,-32,rega
+	arg mem_p_256,regb
+	copy rega,contw
+	branch bn_add_256	
+
+
+ 
+bn_sub_256:
+	force 8,loopcnt
+	branch bn_sub+1
+
+bn_rshift_256:
+	force 8,loopcnt
+	increase 28,rega
+	branch bn_rshift
+
+bn_lshift_256:
+	force 8,loopcnt
+	force 0,regc
+	branch bn_lshift_0
+
+bn_bigeq_256:
+	force 8,loopcnt
+	increase 28,rega
+	increase 28,regb
+	branch bn_bigeq_0
+
+
+bn_eq_zero_256:
+	ifetch 8,contr
+	nrtn blank
+	branch bn_eq_zero
+
+
+
+	
+bn_rshifteven_256:
+	copy rega,alarm
+bn_rshifteven_256_1:
+	copy alarm,rega
+	ifetch 1,rega
+	isolate1 0,pdata
+	rtn true
+	call bn_rshift_256
+	ifetch 1,regb
+	isolate0 0,pdata
+	branch bn_rshifteven_256_0,true
+	arg mem_p_256,rega
+	copy regb,contw
+	call bn_add_256
+	ifetch 1,regb
+	iadd regc,pdata
+	istore 1,regb						 
+	increase -32,regb
+bn_rshifteven_256_0:
+	add regb,32,rega
+	force 9,loopcnt
+	call bn_rshift
+	branch bn_rshifteven_256_1		
+
+else
+sp_initialize_256:
+	rtn
+
+endif
+
+
Index: program/ui.prog
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/program/ui.prog	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/program/ui.prog	(working copy)
@@ -0,0 +1,755 @@
+ui_init:
+	call lpm_disable_exen_output
+	rtn wake
+	call ui_button_init
+	call ui_timer_init
+	branch ui_led_init_global
+
+ui_dispatch:
+	call ui_led_dispatch
+	branch ui_timer_check
+	
+ui_button_init:
+	fetch 1,mem_ui_button_gpio
+	rtneq UI_BUTTON_GPIO_DISABLE
+	iforce temp
+	call gpio_config_output
+	fetcht 1,mem_ui_button_gpio
+	call gpio_out_inactive
+	nop 100
+	fetcht 1,mem_ui_button_gpio
+	call gpio_config_input
+	branch ui_button_polling
+
+
+	
+ui_button_polling:
+	bpatchx patch30_4,mem_patch30
+	fetch 1,mem_ui_button_gpio
+	rtneq UI_BUTTON_GPIO_DISABLE
+	copy pdata,temp
+	call gpio_get_bit
+	nbranch ui_button_up,true
+	//fall through
+ui_button_down:
+	call ui_button_check_long_press
+	fetch 2,mem_ui_state_map
+	set1 UI_STATE_BTN_DOWN,pdata
+	store 2,mem_ui_state_map
+	fetch 1,mem_ui_button_last_state
+	rtneq UI_BUTTON_STATE_DOWN
+	jam UI_BUTTON_STATE_DOWN,mem_ui_button_last_state
+	//Down Edge
+	fetch 1,mem_ui_button_timeout
+	store 1,mem_ui_button_timer //start long press timer
+	call lpm_button_get_wake_lock
+	jam BT_EVT_BUTTON_DOWN,mem_fifo_temp
+	branch ui_ipc_send_event
+ui_button_up:
+	fetch 2,mem_ui_state_map
+	set0 UI_STATE_BTN_DOWN,pdata
+	store 2,mem_ui_state_map
+	fetch 1,mem_ui_button_last_state
+	rtneq UI_BUTTON_STATE_UP
+	jam UI_BUTTON_STATE_UP,mem_ui_button_last_state
+	//Up Edge
+	jam 0,mem_ui_button_timer//stop long press timer
+	call lpm_button_clean_wake_lock
+	jam BT_EVT_BUTTON_UP,mem_fifo_temp
+	branch ui_ipc_send_event
+
+ui_button_check_long_press:
+	fetch 1,mem_ui_button_timer
+	rtn blank
+	increase -1,pdata
+	store 1,mem_ui_button_timer
+	nrtn blank
+	//Long Press
+	jam BT_EVT_BUTTON_LONG_PRESSED,mem_fifo_temp
+	branch ui_ipc_send_event
+
+lpm_button_get_wake_lock:
+	arg wake_lock_button,queue
+	branch lpm_get_wake_lock
+	
+lpm_button_clean_wake_lock:
+	arg wake_lock_button,queue
+	branch lpm_put_wake_lock
+
+
+
+/***********************ui led function****************************/
+/******************
+led function
+
+ui_led_init_global
+ui_led_on_global
+
+ui_led_off_global
+//input:rega :struct number
+ui_led_blink_start_global
+
+//input:rega :struct number
+//contr: the point that want to set led style address
+ui_led_set_style_global
+
+******************/
+//input:rega :struct number
+//output:regb :current strutct starting pointer
+calc_curr_struct_prt:
+	fetch 2,mem_ui_led_struct_ptr
+	mul32 rega,LED_OFFSET_LENGTH,regb
+	iadd regb,regb
+	rtn
+
+
+ui_led_init_global:
+	fetch 1,mem_ui_led_struct_num
+	rtn blank
+	copy pdata,loopcnt
+	fetch 2,mem_ui_led_struct_ptr
+	copy pdata,regb
+ui_led_init_loop:
+	add regb,LED_OFFSET_LED_GPIO,regc
+	ifetcht 1,regc
+	call gpio_config_output
+	call ui_led_off_static
+	increase LED_OFFSET_LENGTH,regb
+	loop ui_led_init_loop
+	rtn
+
+	
+//input:rega :struct number
+ui_led_on_global:
+	call calc_curr_struct_prt
+	setarg UI_LED_STATE_LIGHTING
+	istore 1,regb
+	call ui_led_stop_timer
+	branch ui_led_on_static
+
+	
+//input:rega :struct number
+ui_led_blink_stop_global:
+ui_led_off_global:
+	call calc_curr_struct_prt
+	setarg UI_LED_STATE_DARKING
+	istore 1,regb
+	call ui_led_stop_timer
+	branch ui_led_off_static
+
+
+//input:rega :struct number
+ui_led_blink_start_global:
+	call calc_curr_struct_prt
+	setarg UI_LED_STATE_BLINK_START
+	istore 1,regb
+	setarg LED_INFINITE_FLASH_NUM
+	istore 1,contw
+	branch ui_led_off_static
+
+
+//input:rega :struct number
+//REGC: the point that want to set led style address
+ui_led_set_style_global:
+	call calc_curr_struct_prt
+	arg LED_OFFSET_LENGTH,loopcnt
+	copy regc,contr
+	copy regb,contw
+	branch memcpy_fast
+
+
+
+ui_led_dispatch:
+	fetch 1,mem_ui_led_struct_num
+	rtn blank
+	arg 0,rega
+ui_led_blink_polling:
+	call ui_led_change_style_by_type
+	increase 1,rega
+	fetch 1,mem_ui_led_struct_num
+	isub rega,null
+	rtn zero
+	branch ui_led_blink_polling
+
+
+ui_led_off_static:
+	add regb,LED_OFFSET_LED_GPIO,regc
+	ifetcht 1,regc
+	fetch 1,mem_device_option
+	beq dvc_op_mouse,mouse_ui_led_off_static
+	branch gpio_out_inactive
+
+
+ui_led_on_static:
+	add regb,LED_OFFSET_LED_GPIO,regc
+	ifetcht 1,regc
+	fetch 1,mem_device_option
+	beq dvc_op_mouse,mouse_ui_led_on_static
+	branch gpio_out_active
+
+
+//input:rega :struct number
+ui_led_change_style_by_type:
+	add rega,ui_led_blink,queue
+	call timer_check
+	nrtn blank			//timer out
+	
+	call calc_curr_struct_prt
+
+	ifetch 1,regb			//led type
+
+	beq UI_LED_STATE_LIGHTING,ui_led_on_static
+	beq UI_LED_STATE_DARKING,ui_led_off_static
+	beq UI_LED_STATE_BLINK_STOP,ui_led_off_static
+	beq UI_LED_STATE_BLINK_DARKING,ui_led_blink_state_darking
+ui_led_blink_state_lighting:
+	call ui_led_on_static
+	add regb,LED_OFFSET_CB_LEDON,regc
+	call push_stack
+	ifetch 2,regc
+	call callback_func
+	call pop_stack
+	setarg UI_LED_STATE_BLINK_DARKING
+	istore 1,regb
+	add regb,LED_OFFSET_ON_TIME,regc
+	ifetch 2,regc
+	branch ui_led_blink_timer_start
+	
+
+ui_led_blink_state_darking:
+	call ui_led_off_static
+	add regb,LED_OFFSET_CB_LEDOFF,regc
+	call push_stack
+	ifetch 2,regc
+	call callback_func
+	call pop_stack
+	
+	add regb,LED_OFFSET_BLINK_COUNT,regc
+	ifetch 1,regc
+	beq LED_INFINITE_FLASH_NUM,ui_led_blink_infinite
+	increase -1,pdata
+	istore 1,regc
+	branch ui_led_blink_stop_global,blank		//End of flicker
+ui_led_blink_infinite:
+	setarg UI_LED_STATE_BLINK_LIGHTING
+	istore 1,regb
+	add regb,LED_OFFSET_OFF_TIME,regc
+	ifetch 2,regc
+ui_led_blink_timer_start:
+	add rega,ui_led_blink,queue
+	branch timer_init
+
+ui_led_stop_timer:
+	setarg 0
+	branch ui_led_blink_timer_start
+
+/***********************ui led function ending****************************/
+
+
+
+ui_timer_timeout:
+	setarg 0x1000
+	lshift16 pdata,pdata
+	iadd regb,regb
+	rtn
+	
+ui_timer_check:
+	bpatchx patch30_5,mem_patch30
+	arg 0,rega
+	fetcht 4,mem_ui_timer_last_btclk
+	copy clkn_bt,regb
+	copy regb,pdata
+	isub temp,null
+	ncall ui_timer_timeout,positive
+ui_timer_check_loop:
+	copy regb,pdata
+	increase 160,temp    //320btclk = 100ms
+	increase 160,temp
+	isub temp,null
+	nbranch ui_timer_check_end,positive
+	increase 1,rega   //increase 1 every 100ms count
+	and rega,0x0f,pdata
+	nbranch ui_timer_check_loop,blank
+	arg 0,rega  //reset timer if it's longer than 1.5s between 2 checks
+	call ui_timer_check_send_evt
+ui_timer_init:
+	copy clkn_bt,pdata
+	store 4,mem_ui_timer_last_btclk
+	rtn
+ui_timer_check_end:
+	copy rega,pdata
+	rtn blank
+	increase -160,temp    //320btclk = 100ms
+	increase -160,temp
+	set0 28,temp
+	storet 4,mem_ui_timer_last_btclk
+ui_timer_check_send_evt:
+	branch app_evt_timer
+
+	
+
+//**********************************************************//
+//************UI Inter-Processor Communication*******//
+//**********************************************************//
+ui_ipc_get_lock:
+	jam 1,mem_ipc_lock_bt
+ui_ipc_get_lock_wait:
+	fetch 1,mem_ipc_lock_c51
+	nbranch ui_ipc_get_lock_wait,blank
+	rtn
+	
+ui_ipc_put_lock:
+	jam 0,mem_ipc_lock_bt
+	rtn
+	
+
+	
+ui_ipc_send_event:
+	bpatchx patch30_6,mem_patch30
+	call ui_ipc_get_lock
+	copy rega,pdata
+	store 4,mem_ipc_rega_temp
+	arg mem_ipc_fifo_bt2c51,rega
+	call fifo_in
+	fetch 4,mem_ipc_rega_temp
+	copy pdata,rega
+	branch ui_ipc_put_lock
+
+ui_ipc_send_cmd:
+	bpatchx patch30_7,mem_patch30
+	call ui_ipc_get_lock
+	copy rega,pdata
+	store 4,mem_ipc_rega_temp	
+	arg mem_ipc_fifo_c512bt,rega
+	call fifo_in
+	fetch 4,mem_ipc_rega_temp
+	copy pdata,rega	
+	branch ui_ipc_put_lock
+
+ui_ipc_clean_all_fifo:
+	setarg 0
+	store UTIL_FIFO_LEN,mem_ipc_fifo_c512bt
+	store UTIL_FIFO_LEN,mem_ipc_fifo_bt2c51
+	rtn
+	
+check_51cmd:
+	bpatchx patch31_0,mem_patch31
+	fetch 1,mem_hci_cmd
+	nrtn blank
+	arg mem_ipc_fifo_c512bt,rega
+	call fifo_is_empty
+	rtn blank
+	jam IPC_CONTINUE_PROCESS,mem_ipc_skip_continue_proc
+	call check_51cmd_once
+	fetch 1,mem_ipc_skip_continue_proc
+	branch check_51cmd,blank
+	rtn
+
+check_51cmd_once:
+	call ui_ipc_get_lock
+	arg mem_ipc_fifo_c512bt,rega
+	call fifo_out
+	copy pdata,temp
+	call ui_ipc_put_lock
+	bpatchx patch31_1,mem_patch31
+	copy temp,pdata
+	rtn blank
+ 	beq BT_CMD_START_DISCOVERY,check_51cmd_start_discovery
+  	beq BT_CMD_STOP_DISCOVERY,check_51cmd_stop_discovery
+  	beq BT_CMD_RECONNECT,check_51cmd_reconnect
+	beq BT_CMD_START_ADV,check_51cmd_adv
+	beq BT_CMD_STOP_ADV,check_51cmd_stop_adv
+	beq BT_CMD_START_DIRECT_ADV,check_51cmd_direct_adv
+	beq BT_CMD_STOP_DIRECT_ADV,check_51cmd_stop_direct_adv
+	beq BT_CMD_LED_OFF,check_51cmd_led_off
+	beq BT_CMD_LED_ON,check_51cmd_led_on
+	beq BT_CMD_LED_BLINK,check_51cmd_led_start_blink
+	beq BT_CMD_LE_START_CONN,check_51cmd_le_start_con
+	beq BT_CMD_LE_START_SCAN,check_51cmd_start_scan
+	beq BT_CMD_LE_STOP_SCAN,check_51cmd_stop_scan
+	beq BT_CMD_ENTER_HIBERNATE,check_51cmd_hibernate
+	beq BT_CMD_BB_RECONN_CANCEL,check_51cmd_bb_reconn_cancel
+	//context related, process in context
+	store 1,mem_fifo_temp
+	call lmo_fifo_check
+	nbranch check_51cmd_restore,blank  //process this cmd next time while lmo fifo is full
+check_51cmd_once_continue:
+	fetch 1,mem_fifo_temp
+	bmark0 mark_context,check_51cmd_check_idle
+	bpatchx patch31_2,mem_patch31
+	fetch 1,mem_fifo_temp
+	beq BT_CMD_DISCONNECT,check_51cmd_disconnect
+  	beq BT_CMD_ENTER_SNIFF,check_51cmd_enter_sniff
+  	beq BT_CMD_EXIT_SNIFF,check_51cmd_exit_sniff
+  	beq BT_CMD_SET_PIN_CODE,check_51cmd_pincode
+	beq BT_CMD_LE_DISCONNECT,check_51cmd_le_disconnect
+	beq BT_CMD_LE_SMP_SECURITY_REQUEST,check_51cmd_le_smp_sec_req
+	beq BT_CMD_LE_UPDATE_CONN,check_51cmd_ble_update_connect_param
+	beq BT_CMD_ROLE_SWITCH,check_51cmd_role_switch
+	beq BT_CMD_STORE_RECONN_INFO_LE,eeprom_store_le_reconn_info
+	beq BT_CMD_STORE_RECONN_INFO_BT,eeprom_store_bd_reconn_info
+	beq BT_CMD_DHKEY_NOT_ACCEPT,check_51cmd_dhkey_not_accept
+	beq BT_CMD_STORE_RECONN_INFO,check_51cmd_store_reconn_info
+	rtn
+
+check_51cmd_check_idle:
+	store 1,mem_fifo_temp
+  	call context_check_idle
+	branch check_51cmd_restore,zero
+	call context_search_plap
+	nrtn zero
+check_51cmd_restore:
+	jam IPC_SKIP_CONTINUE_PROCESS,mem_ipc_skip_continue_proc
+	branch ui_ipc_send_cmd
+
+  
+ /******************** 51COMMAND*********************/
+//command opcode 0x01	
+check_51cmd_start_discovery:
+	fetch 2,mem_ui_state_map
+	set1 UI_STATE_BT_DISCOVERY,pdata
+	store 2,mem_ui_state_map
+	jam 3,mem_scan_mode
+	rtn
+
+
+//command opcode 0x02	
+check_51cmd_stop_discovery:
+	jam 0,mem_hid_handshake_timer_count
+	jam 0,mem_scan_mode
+	fetch 2,mem_ui_state_map
+	set0 UI_STATE_BT_DISCOVERY,pdata
+	store 2,mem_ui_state_map
+	rtn	
+
+
+//command opcode 0x03	
+check_51cmd_reconnect:	
+	jam hci_cmd_create_conn,mem_hci_cmd
+	rtn	
+
+
+//command opcode 0x04
+check_51cmd_disconnect:
+	jam LMP_DETACH,mem_lmo_opcode2
+	jam OTHER_END_TERMINATED,mem_disconn_reason_send
+	rtn
+
+
+//command opcode 0x05
+check_51cmd_enter_sniff:
+	jam LMP_SNIFF_REQ,mem_lmo_opcode2
+	arg mem_sniff_payload,contw
+	setarg 0
+	isolate1 27,clke_bt
+	setflag true,1,pdata		/* use init 2 if bit27 of clke is 1 */
+	istore 1,contw	
+	setarg 0	/* dsniff */
+	istore 2,contw
+	fetch 6,mem_sniff_param_interval
+	istore 6,contw
+	rtn	
+
+
+//command opcode 0x06
+check_51cmd_exit_sniff:
+	jam LMP_UNSNIFF_REQ,mem_lmo_opcode2
+	rtn
+
+
+//command opcode 0x10
+check_51cmd_pincode:
+	jam pincode_state_pincode_ready,mem_pincode_state
+//enable ssp master sm
+	fetch 1,mem_op
+	bbit1 op_inrand_req,check_51cmd_pincode_pair_passive
+	call tid_initiate
+	jam LMP_IN_RAND,mem_lmo_opcode2
+	rtn
+check_51cmd_pincode_pair_passive:
+	set0 op_inrand_req,pdata
+	store 1,mem_op
+	call lmp_accept_inrand
+	setarg 0
+	setflag master,smap_lmptid,pdata		
+	store 1,mem_lmo_tid2
+	rtn
+
+
+//command opcode 0x13
+check_51cmd_adv:
+	jam ON,mem_le_adv_enable
+	jam ADV_IND,mem_le_adv_type
+	fetch 2,mem_ui_state_map
+	set1 UI_STATE_BLE_ADV,pdata
+	store 2,mem_ui_state_map
+	rtn
+
+
+//command opcode 0x14
+check_51cmd_stop_adv:
+	fetch 2,mem_ui_state_map
+	set0 UI_STATE_BLE_ADV,pdata
+	store 2,mem_ui_state_map
+	jam OFF,mem_le_adv_enable
+	rtn
+
+
+//command opcode 0x15
+check_51cmd_direct_adv:
+	jam ON,mem_le_adv_enable
+	jam ADV_DIRECT_IND,mem_le_adv_type
+	fetch 2,mem_ui_state_map
+	set1 UI_STATE_BLE_ADV,pdata
+	store 2,mem_ui_state_map
+	rtn
+
+
+//command opcode 0x16
+check_51cmd_stop_direct_adv:
+	fetch 2,mem_ui_state_map
+	set0 UI_STATE_BLE_ADV,pdata
+	store 2,mem_ui_state_map
+	jam OFF,mem_le_adv_enable
+	rtn
+
+
+//command opcode 0x17
+check_51cmd_le_disconnect:
+	setarg 20 // 100ms
+	store 2,mem_le_superto
+	store 2,mem_le_init_superto
+	branch le_send_terminate_ind_user_terminated
+
+
+//command opcode 0x18
+check_51cmd_ble_update_connect_param:
+	branch le_l2cap_tx_update_req
+
+
+//command opcode 19
+check_51cmd_led_off:
+	arg 0,rega
+	branch ui_led_off_global
+
+
+//command opcode 20
+check_51cmd_led_on:
+	arg 0,rega
+	branch ui_led_on_global
+
+
+//command opcode 21
+check_51cmd_led_start_blink:
+	arg 0,rega
+	call calc_curr_struct_prt
+	ifetch 1,regb
+	beq UI_LED_STATE_BLINK_START,check_51cmd_led_start_blink_in_blink
+	beq UI_LED_STATE_BLINK_LIGHTING,check_51cmd_led_start_blink_in_blink
+	beq UI_LED_STATE_BLINK_DARKING,check_51cmd_led_start_blink_in_blink
+	branch ui_led_blink_start_global
+
+check_51cmd_led_start_blink_in_blink:
+	ifetch 1,contr
+	rtneq LED_INFINITE_FLASH_NUM
+	branch ui_led_blink_start_global
+
+
+//command opcode 0x22
+check_51cmd_le_start_con:
+	jam ON,mem_le_scan_enable
+	jam hci_cmd_le_create_conn,mem_hci_cmd
+//	fetch 6,mem_app_peer_addr
+//	store 6,mem_le_conn_peer_addr
+	rtn
+
+
+//command opcode 0x23
+check_51cmd_start_scan:
+	jam ON,mem_le_scan_enable
+	rtn
+
+
+//command opcode 0x24
+check_51cmd_stop_scan:
+	jam OFF,mem_le_scan_enable
+	jam 0,mem_hci_cmd
+	rtn
+
+
+//command opcode 0x25
+check_51cmd_hibernate:
+	fetch 2,mem_cb_before_hibernate
+	call callback_func
+	fetch 1,mem_ui_button_gpio
+	beq UI_BUTTON_GPIO_DISABLE,check_51cmd_hibernate_btn_disabled
+	copy pdata,temp
+	call gpio_config_input
+check_51cmd_hibernate_btn_disabled:
+	call ui_ipc_clean_all_fifo
+	branch lpm_hibernate	
+
+
+//command opcode 0x27
+check_51cmd_le_smp_sec_req:
+	branch le_send_smp_security_request
+
+
+//command opcode 0x29
+check_51cmd_role_switch:
+  	jam LMP_SLOT_OFFSET,mem_lmo_opcode2
+	set1 mark_switch_initiated,mark
+	nrtn master
+	jam SWITCH_FLAG_INIT,mem_switch_flag
+	jam LMP_SWITCH_REQ ,mem_lmo_opcode2
+	fetch 1,mem_connection_options
+	set0 CONNECTION_SWITCH,pdata
+	store 1,mem_connection_options
+	rtn
+
+
+//command opcode 0x30
+check_51cmd_bb_reconn_cancel:
+	force page_length_timer,queue
+	branch timer_stop
+
+
+//command opcode 0x33
+check_51cmd_dhkey_not_accept:
+	call tid_set_reply
+	jam LMP_DHKey_Check,mem_lmi_opcode2
+	branch lmp_reject_pdu_not_allowed	
+
+
+ui_check_paring_button:
+	fetch 1,mem_ui_state_map
+	rtnbit0 UI_STATE_BTN_DOWN
+	rtnbit0 UI_STATE_BT_RECONNECT
+	branch check_51cmd_bb_reconn_cancel
+
+
+
+///////////queue function////////////
+queue_init:
+	fetch 2,mem_queue_ptr
+	add pdata,QUEUE_OFFSET_CURR_NUM,contw
+	setarg 0
+	istore 3,contw
+	rtn
+	
+//input:rega:the address of the data to which you want to input queue
+//output:if user is disable,mean queue no have space
+queue_push:
+	call disable_user
+	call queue_full
+	rtn blank
+	fetch 2,mem_queue_ptr
+	add pdata,QUEUE_OFFSET_CURR_NUM,regb
+	ifetcht 1,regb
+	increase 1,temp
+	istoret 1,regb	//number add 
+	
+	ifetcht 1,pdata	//temp:each length
+	copy temp,loopcnt
+	add pdata,QUEUE_OFFSET_WRITE_PTR,regb
+	ifetch 1,regb
+	imul32 temp,pdata	//offset
+	iadd contr,contw
+	copy rega,contr
+calc_queue_next_ptr:
+	call memcpy
+	call queue_get_size
+	pincrease -1
+	ifetcht 1,regb
+	increase 1,temp
+	iand temp,temp
+	istoret 1,regb
+	branch enable_user
+
+
+//input:rega:the address of the data to which you want to output queue
+//output:if user is disable,mean queue no have data
+queue_pop:
+	call disable_user
+	call queue_empty
+	rtn blank
+	fetch 2,mem_queue_ptr
+	add pdata,QUEUE_OFFSET_CURR_NUM,regb
+	ifetcht 1,regb
+	increase -1,temp
+	istoret 1,regb
+	ifetcht 1,pdata		//each size
+	copy temp,loopcnt
+	add pdata,QUEUE_OFFSET_READ_PTR,regb
+	ifetch 1,regb
+	imul32 temp,pdata	//offset
+	iadd contr,contr
+	increase 1,contr
+	copy rega,contw
+	branch calc_queue_next_ptr
+
+
+//function:no pop element,only copy element in rega
+//input:rega:the address of the data to which you want to output queue
+//output:if user is disable,mean queue no have data
+//regb is new ptr
+queue_get_new_ele:
+	call disable_user
+	call queue_empty
+	rtn blank
+	fetch 2,mem_queue_ptr
+	ifetcht 1,pdata		//each size
+	copy temp,loopcnt
+	add pdata,QUEUE_OFFSET_READ_PTR,regb
+	ifetch 1,regb
+	imul32 temp,pdata	//offset
+	iadd contr,contr
+	increase 1,contr
+	copy contr,regb
+	copy rega,contw
+	call memcpy
+	branch enable_user
+
+queue_store_new_ele:
+	call disable_user
+	call queue_empty
+	rtn blank
+	fetch 2,mem_queue_ptr
+	ifetcht 1,pdata		//each size
+	copy temp,loopcnt
+	add pdata,QUEUE_OFFSET_READ_PTR,regb
+	ifetch 1,regb
+	imul32 temp,pdata	//offset
+	iadd contr,contr
+	add contr,2,contw
+	copy rega,contr
+	increase -1,loopcnt
+	call memcpy
+	branch enable_user
+
+//output:if blank is 1,mean queue is empty
+queue_empty:
+	fetch 2,mem_queue_ptr
+	add pdata,QUEUE_OFFSET_CURR_NUM,contr
+	ifetch 1,contr
+	rtn
+
+//output:if blank is 1,mean queue is full
+queue_full:
+	call queue_get_size
+	ifetcht 1,contr
+	isub temp,pdata
+	rtn
+
+//output:pdata is queue size
+queue_get_size:
+	fetch 2,mem_queue_ptr
+	add pdata,QUEUE_OFFSET_LENGTH,contr
+	ifetch 1,contr
+	rtn
+
+///////////queue function end////////////
+
+
+
+
Index: program/usb.prog
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/program/usb.prog	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/program/usb.prog	(working copy)
@@ -0,0 +1,1079 @@
+ ifdef COMPILE_USB
+
+usb_isr:
+	bpatchx patch31_3,mem_patch31
+	fetch 1,core_usb_status
+	isolate1 USB_STATUS_RESET,pdata
+	call usb_init,true
+	fetch 1,core_usb_status
+	store 1,core_usb_status
+	store 1,mem_usb_status
+	call usb_nak_state_judge
+	call usb_rx
+	call usb0_tx
+	call usb_tx
+	branch usb_nak_state
+
+usb_init:
+	bpatchx patch31_4,mem_patch31
+	call enable_authrom
+	call usb_init_param
+	jam 0x00,core_usb_config
+ifdef SIM
+	nop 10
+else
+	nop 10000
+endif
+	jam 0xc0,core_usb_trig
+	fetch 2,core_clkoff
+	set0 CLOCK_OFF_USB,pdata
+	store 2,core_clkoff
+	jam 0x0,core_usb_hmode
+	jam 0x3c,core_usb_config
+	setarg mem_usb_rxbuf
+	store 2,core_usb_rx_saddr
+	store 2,core_usb_rxptr
+	setarg mem_usb_rxbuf_end
+	store 2,core_usb_rx_eaddr
+	jam 0x4,core_usb_hmode
+	jam 0,core_usb_addr
+	jam 0xff,core_usb_status
+	setarg mem_usb_clear_mem_end
+	arg mem_usb_clear_mem_start,contw
+	isub contw,loopcnt
+	branch clear_mem
+	
+usb_offline_check_init:
+	fetcht 1,mem_usb_offline_check_gpio
+	branch gpio_config_input
+usb_offline_state:
+	fetch 1,mem_usb_device_enumeration_endflag
+	rtn blank
+	fetcht 1,mem_usb_offline_check_gpio
+	call gpio_get_bit
+	branch usb_init,true
+	rtn
+
+usb_init_param:
+	jam DEV_DEFAULT,mem_usb0_state
+	setarg 0x0
+	store 1,mem_remain
+	store 2,mem_usb_zero_packet
+	pincrease 1
+	store 2,mem_usb_ones_packet
+	pincrease 1
+	store 2,mem_usb_two_packet
+	arg mem_string0,contw
+	setarg 0x030404
+	istore 3,contw
+	setarg 0x0409
+	istore 2,contw
+	arg mem_string1,contw
+	setsect 0,0x15906
+	setsect 1,0x210d2
+	setsect 2,0x10494
+	setsect 3,0x1
+	istore 9,contw
+	arg mem_string2,contw
+	setsect 0,0x1570f
+	setsect 1,0x15c9a
+	setsect 2,0x256c6
+	setsect 3,0x1cdcd
+	istore 9,contw
+	setsect 0,0x14420
+	setsect 1,0x25d99
+	setsect 2,0x25636
+	setsect 3,0x1
+	istore 7,contw
+	arg mem_string3,contw
+	setsect 0,0x1620a
+	setsect 1,0xc8c
+	setsect 2,0x30333
+	setsect 3,0xc0c0
+	istore 9,contw
+	setsect 0,0x3130
+	istore 2,contw
+	setarg USB_KBDATA_VENDOR_DEFINE_ADDR
+	store 2,mem_hidreportdesc_kb
+	setarg USB_MSDATA_ADDR
+	store 2,mem_hidreportdesc_m
+	arg USB_DEVICEDATA_ADDR,contr
+	arg mem_devicedesc,contw
+	arg 19,loopcnt
+	call memcpy	
+	arg USB_CONFDATA_ADDR,contr
+	arg mem_confdesc,contw
+	arg 60,loopcnt
+	call memcpy
+usb_config_cb:
+	fetch 2,mem_cb_usb_config
+	branch callback_func
+
+usb_tx_interval_config:
+	fetch 1,mem_usb_tx_interval
+	rtn blank
+	store 1,mem_confdesc+34
+	store 1,mem_confdesc+59
+	rtn
+
+usb_nak_state:
+	arg TIMER_NAK,queue
+	call timer_check
+	nrtn blank
+	fetch 1 ,mem_usb_wakestate_onetime_flag
+	nrtn blank
+	fetch 1,mem_usb_device_enumeration_endflag
+	ncall usb_mac_wakeup_judge,blank
+	rtn
+
+usb_nak_state_judge:
+	fetch 1,mem_usb_status
+	bbit1 USB_STATUS_NAK,usb_nak_state_timer_init
+	rtn
+	
+usb_nak_state_timer_init:
+	call usb0_attached_state_judge
+	call timer_reinit
+	setarg TIMER_NAK_DELAY
+	arg TIMER_NAK,queue
+	branch timer_init
+	
+usb0_attached_state_judge:
+	fetch 1,mem_usb_state
+	bne USB_CONNECTED,usb_clear_halt_dispose
+	jam 0,mem_usb_wakestate_onetime_flag
+	jam 0,mem_usb_mac_wakeup_trig
+	rtn
+
+usb_clear_halt_dispose:
+	fetch 1,mem_usb_clear_halt
+	rtn blank
+	jam 0,mem_usb_clear_halt
+	jam USB_CONNECTED,mem_usb_state
+	jam 1,mem_usb_device_enumeration_endflag
+	rtn
+
+usb_rx_no_data:
+	fetch 1,mem_usb_status
+	bbit1 USB_STATUS_SETUP,usb_class_type
+	rtn
+
+usb_rx_data:
+	fetch 1,core_usb_txbusy
+	rtnbit1 USB_STATUS_RXEMPTY
+	fetchr contus,2,core_usb_rx_saddr
+	fetchr contue,2,core_usb_rx_eaddr
+	fetchr contu,2,core_usb_rxptr
+	ifetch 2,contu
+	rshift8 pdata,temp
+	rshift4 temp,temp					// temp is endpoint
+	arg 0xfff,contr
+	iand contr,loopcnt
+	copy loopcnt,rega
+usb_rx_read:
+	ifetch 1,contu
+	istore 1,contw
+	loop usb_rx_read
+	storer contu,2,core_usb_rxptr
+	storer rega,2,mem_usb_read_len
+	rtn
+usb_data_rx:
+	rtn 
+
+usb_rx:
+	bpatchx patch31_5,mem_patch31
+	fetch 1,mem_usb_status
+	rtnbit0 USB_STATUS_RXREADY
+	arg mem_usb_setup,contw
+	call usb_rx_data
+	copy temp,pdata
+	beq 0,usb0_rx
+	branch usb_data_rx
+usb0_rx:
+	fetch 1,mem_usb_read_len
+	beq 0x00,usb_rx_no_data
+	beq 0x01,usb_out_one_byte	// HUAWEI pad led status	
+	sub pdata,7,null
+	rtn positive
+usb_class_type:
+	bpatchx patch31_6,mem_patch31
+	set0 mark_isstr,mark
+	fetch 1,mem_usb_setup_bmRequestType
+	and_into 0x80,pdata
+	beq IN_DEVICE,usb_in_device
+	beq OUT_DEVICE,usb_out_device
+	branch assert
+
+usb_out_one_byte:
+	fetch 1,mem_usb_setup
+	rtnbit1 7	// OUT_DEVICE
+	call usb_get_led_status
+	branch usb0_reply_zerolen
+
+
+usb_in_device:
+	fetch 1,mem_usb_setup_bmRequestType
+	rshift4 pdata,pdata
+	rshift pdata,pdata
+	and_into 0x03,pdata
+	beq STANDARD_REQ,usb_in_standard_req
+	beq CLASS_REQ,usb_in_class_req
+	beq MANUFACTURER_REQ,usb_in_manufacturer_req
+	branch assert
+
+usb_out_device:
+	fetch 1,mem_usb_setup_bmRequestType
+	rshift4 pdata,pdata
+	rshift pdata,pdata
+	and_into 0x03,pdata
+	beq STANDARD_REQ,usb_out_standard_req
+	beq CLASS_REQ,usb_out_class_req	
+	beq MANUFACTURER_REQ,usb_out_manufacturer_req
+	branch assert
+
+usb_in_standard_req:
+	fetch 1,mem_usb_setup_bRequest
+	beq GET_CONFIGURATION,usb0_request_get_configuration
+	beq GET_DESCRIPTOR,usb0_request_get_descriptor
+	beq GET_INTERFACE,usb0_request_get_interface
+	beq GET_STATUS,usb0_request_get_status
+	branch usb0_force_stall
+
+usb_in_class_req:
+	fetch 1,mem_usb_setup_bRequest
+	beq GET_IDLE,usb_get_idle
+	beq GET_REPORT,usb_get_report
+	beq GET_PROTOCOL,usb_get_protocol_req
+	branch usb0_force_stall
+
+usb_in_manufacturer_req:
+	branch usb0_force_stall
+
+usb_out_standard_req:
+	fetch 1,mem_usb_setup_bRequest
+	beq CLEAR_FEATURE,usb0_request_clear_feature
+	beq SET_FEATURE,usb0_request_set_feature
+	beq SET_ADDRESS,usb0_request_set_address
+	beq SET_CONFIGURATION,usb0_request_set_configuration
+	beq SET_INTERFACE,usb0_request_set_interface
+	beq SET_DESCRIPTOR,usb0_force_stall
+	branch usb0_force_stall
+
+usb_out_class_req:
+	fetch 1,mem_usb_setup_bRequest
+	beq SET_IDLE,usb_set_idle
+	beq SET_REPORT,usb_set_report
+	beq SET_PROTOCOL,usb_set_protocol_req
+	branch usb0_force_stall
+
+usb_out_manufacturer_req:
+	branch usb0_force_stall
+
+usb0_force_stall:
+	fetch 1,core_usb_stall
+	set1 0,pdata
+	store 1,core_usb_stall
+	branch usb0_reply_zerolen
+	
+usb0_reply_zerolen:
+	jam 0x10,core_usb_trig
+	rtn
+
+usb0_request_get_configuration:
+	fetch 1,mem_usb_setup_bmRequestType
+	bne IN_DEVICE,usb0_force_stall
+	fetch 1,mem_usb_setup_wIndex
+	bne 0,usb0_force_stall
+	fetch 1,mem_usb_setup_wIndex+1
+	bne 0,usb0_force_stall
+	fetch 1,mem_usb_setup_bLength
+	bne 1,usb0_force_stall
+	fetch 1,mem_usb_setup_bLengthH
+	bne 0,usb0_force_stall
+	fetch 1,mem_usb_setup_bValue
+	bne 0,usb0_force_stall
+	fetch 1,mem_usb_setup_bValue+1
+	bne 0,usb0_force_stall
+	fetch 1,mem_usb0_state
+	beq DEV_CONFIGURED,usb0_request_get_cfg_dev_cfg
+	beq DEV_ADDRESS,usb0_request_get_cfg_dev_addr
+	branch usb0_force_stall
+//Return current config : 1
+usb0_request_get_cfg_dev_cfg:
+	arg 1,regb
+	branch usb_send_ones_packet
+//Config do not work, return default config : 0
+usb0_request_get_cfg_dev_addr:
+	arg 1,regb
+	branch usb_send_zero_packet
+
+usb0_request_get_descriptor:
+	bpatchx patch31_7,mem_patch31
+//	set0 mark_isstr,mark
+	fetch 1,mem_usb_setup_bValueH
+	beq DSC_DEVICE,dsc_device_info
+	beq DSC_CONFIG,dsc_config_info	
+	beq DSC_STRING,dsc_string_info
+	beq DSC_HID,dsc_hid_info
+	beq DSC_HID_REPORT,dsc_hid_report_info
+	branch usb0_force_stall
+
+dsc_hid_info:
+	jam 0,mem_usb_get_protocol_flag
+	fetch 1,mem_usb_setup_wIndex
+	beq 0,dsc_hid_info_interface0
+	beq 1,dsc_hid_info_interface1
+	branch usb0_force_stall
+//class_descriptor hid_descriptor--keyboard 
+dsc_hid_info_interface0:
+	fetchr regb,1,mem_confdesc+19
+	arg mem_confdesc+19,rega
+	branch usb0_respond
+//class_descriptor hid_descriptor--mouse 
+dsc_hid_info_interface1:
+	fetchr regb,1,mem_confdesc+44
+	arg mem_confdesc+44,rega
+	branch usb0_respond
+
+dsc_device_info:
+//input : pdata : data poniter 
+//input : temp: data len
+//sets the data pointer and len to correct descriptor
+	fetch 1,mem_usb_set_high_addr_flag
+	ncall usb_set_high_addr,blank
+	setarg mem_devicedesc
+	fetcht 1,mem_devicedesc
+dsc_info_set_data_len:
+	store 2,mem_dsc_info_data_pointer
+	storet 1,mem_dsc_info_len
+	fetch 1,mem_usb_setup_bLength
+	isub temp,null
+	nbranch dsc_info_set_current_data_len,positive
+dsc_info_set_initial_data_len:
+	fetch 1,mem_dsc_info_len
+dsc_info_set_data_size_completed:	
+	iforce regb
+	fetch 2,mem_dsc_info_data_pointer
+	add pdata,1,pdata
+	iforce rega
+	branch usb0_respond
+dsc_info_set_current_data_len:
+	fetch 1,mem_usb_setup_bLength
+	branch dsc_info_set_data_size_completed
+
+usb_set_high_addr:
+	fetch 1,core_usb_addr
+	ncall usb0_set_addr,blank
+	jam 0,mem_usb_set_high_addr_flag
+	rtn
+usb0_set_addr:
+	fetch 1,core_usb_addr
+   	set1 7,pdata
+    	store 1,core_usb_addr
+    	rtn
+
+dsc_config_info:
+	setarg mem_confdesc
+	fetcht 1,mem_confdesc
+	branch dsc_info_set_data_len
+
+dsc_string_info:
+	fetch 1,mem_usb_setup_bValue
+	sub pdata,3,null
+	nbranch usb0_force_stall,positive
+	fetch 1,mem_usb_setup_bValue
+	arg mem_string0,rega
+	beq 0,usb0_respond_length	
+	set1 mark_isstr,mark
+	arg mem_string1,rega
+	beq 1,usb0_respond_length
+	arg mem_string2,rega
+	beq 2,usb0_respond_length
+	arg mem_string3,rega
+	beq 3,usb0_respond_length
+	rtn
+
+dsc_hid_report_info:
+	fetch 2,mem_usb_setup_wIndex
+	beq 1,dsc_hid_report_info0
+	fetchr rega,2,mem_hidreportdesc_kb
+	branch usb0_respond_length
+dsc_hid_report_info0:
+	jam 1,mem_usb_device_enumeration_endflag
+	jam USB_GOT_REPORT_REQ,mem_usb_state
+	fetchr rega,2,mem_hidreportdesc_m
+	branch usb0_respond_length
+
+
+usb0_request_get_interface:
+	fetch 1,mem_usb0_state
+	bne DEV_CONFIGURED,usb0_force_stall		
+	fetch 1,mem_usb_setup_bmRequestType
+	bne IN_INTERFACE,usb0_force_stall
+	fetch 1,mem_usb_setup_bValue
+	bne 0,usb0_force_stall
+	fetch 1,mem_usb_setup_bValueH
+	bne 0,usb0_force_stall
+	fetch 1,mem_usb_setup_bLength
+	bne 1,usb0_force_stall
+	fetch 1,mem_usb_setup_bLengthH
+	bne 0,usb0_force_stall
+	fetch 1,mem_usb_setup_wIndex
+	bne 0,usb0_force_stall
+	fetch 1,mem_usb_setup_wIndex+1
+	bne 0,usb0_force_stall
+	arg 1,regb
+	branch usb_send_zero_packet
+
+
+usb0_request_get_status:
+	fetch 1,mem_usb0_state
+	beq DEV_DEFAULT,usb0_force_stall
+	fetch 1,mem_usb_setup_bValue
+	bne 0,usb0_force_stall
+	fetch 1,mem_usb_setup_bValueH
+	bne 0,usb0_force_stall
+	fetch 1,mem_usb_setup_bLength
+	bne 2,usb0_force_stall
+	fetch 1,mem_usb_setup_bLengthH
+	bne 0,usb0_force_stall
+	fetch 1,mem_usb_setup_wIndex+1
+	bne 0,usb0_force_stall
+	fetch 1,mem_usb_setup_bmRequestType
+	beq IN_DEVICE,usb0_get_status_in_device
+	beq IN_INTERFACE,usb0_get_status_in_interface
+	beq IN_ENDPOINT,usb0_get_status_in_endpoint
+	branch usb0_force_stall
+
+
+Usb0_SDsystem_dispose:
+	jam 1,mem_sdsystem_wakeup_flag
+	branch usb_send_two_packet
+
+usb0_get_status_in_device:
+	fetch 1,mem_usb_setup_wIndex
+	bne 0,usb0_force_stall
+	arg 2,regb
+	fetch 1,mem_usb_remote_wakeup
+	beq 0x01,Usb0_SDsystem_dispose
+//regb:length
+usb_send_zero_packet:
+	arg mem_usb_zero_packet,rega
+	branch usb0_respond
+usb_send_ones_packet:
+	arg mem_usb_ones_packet,rega
+	branch usb0_respond
+usb_send_two_packet:
+	arg mem_usb_two_packet,rega
+	branch usb0_respond
+
+usb0_get_status_in_interface:
+	fetch 1,mem_usb0_state
+	bne DEV_CONFIGURED,usb0_force_stall
+	arg 2,regb
+	branch usb_send_zero_packet
+
+usb0_get_status_in_endpoint:
+	fetch 1,mem_usb0_state
+	bne DEV_CONFIGURED,usb0_force_stall
+	fetch 1,mem_usb_setup_wIndex
+	beq IN_EP1,usb0_get_status_in_ep_in_ep1
+	beq IN_EP2,usb0_get_status_in_ep_in_ep2
+	beq IN_EP3,usb0_get_status_in_ep_in_ep3
+	and_into 0x7f,pdata
+	beq 0x00,usb0_get_status_in_ep_in_ep0
+	branch usb0_force_stall
+	
+usb0_get_status_in_ep_in_ep0:
+	fetch 1,mem_usb_ep0_stall_status
+usb0_get_status_in_ep_in_ack:
+	arg 2,regb
+	beq 1,usb_send_ones_packet
+	branch usb_send_zero_packet
+usb0_get_status_in_ep_in_ep1:
+	fetch 1,mem_usb_ep1_stall_status
+	branch usb0_get_status_in_ep_in_ack
+usb0_get_status_in_ep_in_ep2:
+	fetch 1,mem_usb_ep2_stall_status
+	branch usb0_get_status_in_ep_in_ack
+usb0_get_status_in_ep_in_ep3:
+	fetch 1,mem_usb_ep3_stall_status
+	branch usb0_get_status_in_ep_in_ack
+
+usb_get_idle:
+	jam 1,mem_usb_idle_flag
+	arg mem_usb_idle_rate,rega
+	arg 1,regb
+	branch usb0_respond
+
+usb_get_report:
+	fetch 2,mem_usb_setup_bValue
+	arg PC_GET_REPORT,temp
+	isub temp,null
+	nbranch usb0_force_stall,zero
+//	set0 mark_isstr,mark
+usb_get_report_dispose:	
+	fetch 1,mem_usb0_data_ready_report
+	nbranch usb_get_report_data_success,blank
+	jam PC_GET_NONDATA,mem_usb0_get_report_data
+usb_get_report_send_data:
+	fetch 1,mem_usb_setup_bLength
+	iforce regb
+	arg mem_usb0_get_report_data,rega
+	call usb0_respond
+usb_get_report_data_release:	
+	arg mem_usb0_get_report_data,contw
+	arg 8,loopcnt
+	branch memset0
+usb_get_report_data_success:
+	jam 0,mem_usb0_data_ready_report
+	jam PC_GET_DATA,mem_usb0_get_report_data
+	branch usb_get_report_send_data
+
+usb_get_protocol_req:
+	fetch 1,mem_usb_setup_bLength
+	bne 1,usb0_force_stall
+	jam 1,mem_usb_get_protocol_flag
+	arg 1,regb //length
+	fetch 1,mem_usb_set_protocol_value
+	beq 0,usb_get_report_protocol
+	beq 1,usb_get_boot_protocol
+	branch usb_send_zero_packet
+usb_get_report_protocol:
+	branch usb_send_ones_packet
+usb_get_boot_protocol:
+	branch usb_send_zero_packet
+
+
+
+//in device
+usb0_request_clear_feature:
+	fetch 1,mem_usb0_state
+	bne DEV_CONFIGURED,usb0_force_stall
+	fetch 1,mem_usb_setup_bLength
+	bne 0,usb0_force_stall
+	fetch 1,mem_usb_setup_bLengthH
+	bne 0,usb0_force_stall
+	fetch 1,mem_usb_setup_bValueH
+	bne 0,usb0_force_stall
+	fetch 1,mem_usb_setup_wIndex+1
+	bne 0,usb0_force_stall
+	fetch 1,mem_usb_setup_bmRequestType
+	beq OUT_DEVICE,usb0_request_clear_feature_out_device
+	beq OUT_INTERFACE,usb0_request_clear_feature_out_interface
+	beq OUT_ENDPOINT,usb0_request_clear_feature_out_endpoint
+	branch usb0_force_stall
+
+usb0_request_clear_feature_out_device:
+	fetch 1,mem_usb_setup_bValue
+	bne DEVICE_REMOTE_WAKEUP,usb0_force_stall
+	fetch 1,core_usb_config
+	set0 7,pdata
+	store 1,core_usb_config
+	jam 0,mem_usb_remote_wakeup
+	jam 1,mem_usb_clear_remote_wakeup
+	fetch 1,mem_sdsystem_wakeup_flag
+	branch usb0_reply_zerolen,blank
+	jam 0,mem_sdsystem_wakeup_flag
+	jam 0,mem_usb_clear_remote_wakeup
+	jam USB_CONNECTED,mem_usb_state
+	branch usb0_reply_zerolen
+
+usb0_request_clear_feature_out_interface:
+	branch usb0_force_stall
+
+usb0_request_clear_feature_out_endpoint:
+	fetch 1,mem_usb_setup_bValue
+	bne ENDPOINT_HALT,usb0_force_stall
+	fetch 1,mem_usb_setup_wIndex
+	beq IN_EP1,usb0_force_stall_ep1_in_off
+	beq IN_EP2,usb0_force_stall_ep2_in_off
+	beq IN_EP3,usb0_force_stall_ep3_in_off
+	and_into 0x7f,pdata
+	beq 0x00,usb0_force_stall_ep0_in_off
+	branch usb0_force_stall
+
+usb0_force_stall_ep0_in_off:
+	jam 0,mem_usb_ep0_stall_status
+	branch usb0_reply_zerolen
+usb0_force_stall_ep1_in_off:
+	jam 0,mem_usb_ep1_stall_status
+usb0_force_stall_ep1_in_off_reply:	
+	jam 1,mem_usb_clear_halt
+	branch usb0_reply_zerolen
+usb0_force_stall_ep2_in_off:
+	jam 0,mem_usb_ep2_stall_status
+	branch usb0_force_stall_ep1_in_off_reply
+usb0_force_stall_ep3_in_off:
+	jam 0,mem_usb_ep3_stall_status
+	branch usb0_force_stall_ep1_in_off_reply
+
+
+usb0_request_set_feature:
+	fetch 1,mem_usb_setup_bLength
+	bne 0,usb0_force_stall
+	fetch 1,mem_usb_setup_bLengthH
+	bne 0,usb0_force_stall
+	fetch 1,mem_usb_setup_bmRequestType
+	beq OUT_DEVICE,usb0_request_set_feature_out_device
+	beq OUT_INTERFACE,usb0_request_set_feature_out_interface
+	beq OUT_ENDPOINT,usb0_request_set_feature_out_endpoint
+	branch usb0_force_stall
+
+usb0_request_set_feature_out_device:
+	fetch 1,mem_usb_setup_bValue
+	bne DEVICE_REMOTE_WAKEUP,usb0_force_stall
+	call dongle_set_pc_sleep_flag
+	fetch 1,core_usb_config
+	set1 7,pdata
+	store 1,core_usb_config
+	jam 1,mem_usb_remote_wakeup
+	jam USB_SLEEP,mem_usb_state
+	jam 0,mem_usb_tx_win_enable
+	call usb0_reply_zerolen
+usb_wakeup_timer_reinit:
+	call timer_reinit
+	setarg TIMER_WAKEUP_DELAY
+	arg TIMER_WAKEUP,queue
+	branch timer_init
+	
+usb0_request_set_feature_out_interface:
+	branch usb0_force_stall
+
+usb0_request_set_feature_out_endpoint:
+	fetch 1,mem_usb_setup_bValue
+	bne ENDPOINT_HALT,usb0_force_stall
+	fetch 1,mem_usb_setup_bValueH
+	bne 0,usb0_force_stall
+	fetch 1,mem_usb_setup_wIndex
+	beq IN_EP1,usb0_force_stall_ep1_in_on
+	beq IN_EP2,usb0_force_stall_ep2_in_on
+	beq IN_EP3,usb0_force_stall_ep3_in_on
+	and_into 0x7f,pdata
+	beq 0x00,usb0_force_stall_ep0_in_on
+	branch usb0_force_stall
+
+usb0_force_stall_ep0_in_on:
+	jam 1,mem_usb_ep0_stall_status
+	branch usb0_reply_zerolen
+usb0_force_stall_ep1_in_on:
+	jam 1,mem_usb_ep1_stall_status
+	branch usb0_reply_zerolen
+usb0_force_stall_ep2_in_on:
+	jam 1,mem_usb_ep2_stall_status
+	branch usb0_reply_zerolen
+usb0_force_stall_ep3_in_on:
+	jam 1,mem_usb_ep3_stall_status
+	branch usb0_reply_zerolen
+
+
+usb0_request_set_address:
+	fetch 1,mem_usb_setup_bmRequestType
+	bne OUT_DEVICE,usb0_force_stall
+	fetch 1,mem_usb_setup_wIndex
+	bne 0,usb0_force_stall
+	fetch 1,mem_usb_setup_wIndex+1
+	bne 0,usb0_force_stall
+	fetch 1,mem_usb_setup_bLength
+	bne 0,usb0_force_stall
+	fetch 1,mem_usb_setup_bLengthH
+	bne 0,usb0_force_stall
+	fetch 1,mem_usb_setup_bValueH
+	bne 0,usb0_force_stall
+	fetch 1,mem_usb_setup_bValue
+	and_into 0x80,pdata
+	bne 0,usb0_force_stall
+	fetch 1,mem_usb_setup_bValue
+	bne 0,usb_usb0_state_set_dev_addr
+usb_usb0_state_set_dev_default:	
+	jam DEV_DEFAULT,mem_usb0_state
+usb0_request_set_wait_address:
+	fetch 1,mem_usb_setup_bValue
+	store 1,core_usb_addr
+	call usb0_reply_zerolen
+	jam 1,mem_usb_set_high_addr_flag
+	rtn
+usb_usb0_state_set_dev_addr:
+	jam DEV_ADDRESS,mem_usb0_state
+	branch usb0_request_set_wait_address
+
+
+usb0_request_set_configuration:
+	fetch 1,mem_usb0_state
+	beq DEV_DEFAULT,usb0_force_stall
+	fetch 1,mem_usb_setup_bmRequestType
+	bne OUT_DEVICE,usb0_force_stall
+	fetch 1,mem_usb_setup_wIndex
+	bne 0,usb0_force_stall
+	fetch 1,mem_usb_setup_wIndex+1
+	bne 0,usb0_force_stall
+	fetch 1,mem_usb_setup_bLength
+	bne 0,usb0_force_stall
+	fetch 1,mem_usb_setup_bLengthH
+	bne 0,usb0_force_stall
+	fetch 1,mem_usb_setup_bValue+1
+	bne 0,usb0_force_stall
+	fetch 1,mem_usb_setup_bValue
+	sub pdata,USB_MAX_NUM_CFG,null
+	nbranch usb0_force_stall,positive
+	fetch 1,mem_usb0_state
+	beq DEV_ADDRESS,usb0_request_set_cfg_addr_state
+	beq DEV_CONFIGURED,usb0_request_set_cfg_cfg_state
+	branch usb0_force_stall
+ // This software only supports config = 0,1
+usb0_request_set_cfg_addr_state:
+usb0_request_set_cfg_cfg_state:
+	fetch 1,mem_usb_setup_bValue	//1:Configured state   0:Address state
+	beq 0,usb0_request_set_cfg_stay_addr_state
+	jam DEV_CONFIGURED,mem_usb0_state
+	branch usb0_reply_zerolen
+usb0_request_set_cfg_stay_addr_state:
+	jam DEV_ADDRESS,mem_usb0_state
+	branch usb0_reply_zerolen
+
+
+usb0_request_set_interface:
+	fetch 1,mem_usb0_state
+	bne DEV_CONFIGURED,usb0_force_stall		
+	fetch 1,mem_usb_setup_bmRequestType
+	bne OUT_INTERFACE,usb0_force_stall
+	fetch 1,mem_usb_setup_bValue
+	bne 0,usb0_force_stall
+	fetch 1,mem_usb_setup_bValueH
+	bne 0,usb0_force_stall
+	fetch 1,mem_usb_setup_bLength
+	bne 0,usb0_force_stall
+	fetch 1,mem_usb_setup_bLengthH
+	bne 0,usb0_force_stall
+	fetch 1,mem_usb_setup_wIndex
+	bne 0,usb0_force_stall
+	fetch 1,mem_usb_setup_wIndex+1
+	bne 0,usb0_force_stall
+	branch usb0_reply_zerolen
+
+
+usb_set_idle:
+	bpatchx patch32_0,mem_patch32
+	jam 1,mem_usb_idle_flag
+	fetch 1,mem_usb_setup_bValueH
+	store 1,mem_usb_idle_rate
+	fetch 1,mem_usb_setup_wIndex
+	sub pdata,1,null
+	call usb_clear_remote_wakeup_set0,zero
+	fetch 1,mem_usb_state
+	bne USB_RESUME,usb0_reply_zerolen
+	jam USB_CONNECTED,mem_usb_state
+	call usb0_reply_zerolen
+	nop 30000
+	nop 30000
+	rtn
+usb_clear_remote_wakeup_set0:
+	jam 1,mem_usb_device_enumeration_endflag
+	jam 0,mem_usb_clear_remote_wakeup
+	jam USB_RESUME,mem_usb_state
+	rtn
+
+
+usb_set_report:
+	arg mem_usb0_set_report_data,contw
+	call usb_rx_data
+	jam 1,mem_usb0_get_set_report
+	call usb_set_report_resume_judge
+	fetch 2,mem_usb_setup_bValue
+	store 2,mem_usb_setup_bValue_temp
+	call usb0_reply_zerolen
+	fetch 1,mem_device_option
+	rtnne dvc_op_dongle
+	fetch 1,mem_usb_tx_win_enable
+	rtn blank
+	fetch 1,mem_usb0_set_report_data
+usb_get_led_status:	
+	store 1,mem_24g_led_status
+	jam 0,mem_usb_tx_win_enable
+	jam KB_LED_ACKPAYLOAD,mem_24g_ackpayload_enable
+	rtn
+
+	
+usb_set_report_resume_judge:
+	fetch 2,mem_usb_setup_bValue
+	arg PC_SET_REPORT_bValue,temp
+	isub temp,null
+	nrtn zero
+	fetch 2,mem_usb_setup_wIndex
+	arg PC_SET_REPORT_wIndex,temp
+	isub temp,null
+	nrtn zero
+	fetch 2,mem_usb_setup_bLength
+	arg PC_SET_REPORT_bLength,temp
+	isub temp,null
+	nrtn zero
+	jam 1,mem_usb_tx_win_enable
+	rtn
+
+
+usb_set_protocol_req:
+	fetch 1,mem_usb_setup_bLength
+	bne 0,usb0_force_stall
+	fetch 1,mem_usb_setup_bValue
+	beq BOOT_PROTOCOL,usb_set_boot_protocol
+	beq REPORT_PROTOCOL,usb_set_report_protocol
+	branch usb0_force_stall
+usb_set_boot_protocol:
+	jam 0,mem_usb_set_protocol_status
+	jam 1,mem_usb_set_protocol_value
+	branch usb0_reply_zerolen
+usb_set_report_protocol:
+	jam 1,mem_usb_tx_mac_enable
+	jam 1,mem_usb_set_protocol_status
+	jam 0,mem_usb_set_protocol_value
+	branch usb0_reply_zerolen
+
+
+usb0_respond_length:
+	ifetchr regb,1,rega
+	increase 1,rega
+//rega=*buff,regb=size
+usb0_respond:
+	bpatchx patch32_1,mem_patch32
+	set1 mark_usb_first_resp,mark
+	bmark0 mark_isstr,usb0_respond_nostr
+	increase 1,regb
+	lshift regb,regb
+usb0_respond_nostr:
+	storer rega,2,mem_bufptr
+	storer regb,1,mem_remain
+	branch usb0_tx
+
+usb_no_respond_data:
+	arg 0,queue
+	branch usb_trig
+
+
+
+//mem_bufptr=*buff,mem_remain=size,loopcnt=i,rega=len
+usb0_tx:
+	bpatchx patch32_2,mem_patch32
+	fetch 1,core_usb_txbusy
+	rtnbit1 0
+	fetch 1,mem_remain
+	rtn blank
+	copy pdata,loopcnt
+	iforce temp
+	fetch 2,mem_usb_setup_bLength
+	sub pdata,EP0_PACKET_SIZE,null
+	branch usb0_tx_short,positive
+	sub loopcnt,EP0_PACKET_SIZE,null
+	branch usb0_tx_info,positive
+	force EP0_PACKET_SIZE,loopcnt
+	branch usb0_tx_info
+usb0_tx_short:
+	isub loopcnt,null
+	branch usb0_tx_info,positive
+	iforce loopcnt
+	store 1,mem_remain
+usb0_tx_info:
+	fetch 1,mem_remain
+	isub loopcnt,pdata
+	store 1,mem_remain
+	add loopcnt,-1,pdata
+	store 1,mem_usb_txbuf
+	bmark0 mark_isstr,usb0_tx_nostr
+	rshift pdata,pdata
+	add loopcnt,-1,pdata
+	store 1,mem_usb_txbuf
+	bmark0 mark_usb_first_resp,usb0_tx_nostr
+	set0 mark_usb_first_resp,mark
+	istoret 1,contw
+	setarg 3
+	istore 1,contw
+	increase -1,loopcnt
+	copy loopcnt,pdata
+	nbranch usb0_tx_nostr,zero
+	increase 1,loopcnt
+usb0_tx_nostr:
+	fetch 2,mem_bufptr
+	copy pdata,contr
+usb0_tx0:
+	ifetch 1,contr
+	istore 1,contw
+	bmark0 mark_isstr,usb0_tx1
+	setarg 0
+	istore 1,contw
+usb0_tx1:
+	loop usb0_tx0
+	copy contr,pdata
+	store 2,mem_bufptr				//mem_bufptr += len
+	setarg mem_usb_txbuf
+	store 2,core_usb_tx_saddr0
+	arg 0,queue
+	call usb_trig
+	fetch 1,mem_remain
+	nrtn blank
+	fetch 1,mem_usb_state
+	rtnne USB_GOT_REPORT_REQ
+	jam USB_CONNECTED,mem_usb_state
+	rtn
+
+
+
+usb_tx_ep1:
+	arg 1,queue
+	arg mem_usb_txbuf1,rega
+	storer rega,2,core_usb_tx_saddr1
+usb_tx_buf:
+	add loopcnt,-1,pdata
+	istore 1,rega
+usb_tx_loop:
+	ifetch 1,contr
+	istore 1,contw
+	loop usb_tx_loop
+usb_trig:
+	setarg 0
+	qset1 pdata
+	store 1,core_usb_trig
+	rtn
+
+usb_tx_ep2:
+	arg 2,queue
+	arg mem_usb_txbuf2,rega
+	storer rega,2,core_usb_tx_saddr2
+	branch usb_tx_buf
+
+usb_tx:
+	bpatchx patch32_3,mem_patch32
+	fetch 1,mem_usb_tx_enable
+	rtn blank
+	fetch 1,mem_usb_device_enumeration_endflag
+	branch usb_tx_fifo_release,blank
+	fetch 1,mem_usb_state
+	beq USB_SLEEP,usb_windows_wakeup
+	bne USB_CONNECTED,usb_tx_fifo_release
+	fetch 1,mem_usb_clear_remote_wakeup
+	nbranch usb_tx_fifo_release,blank
+	call usb_tx_data_ep1
+	branch usb_tx_data_ep2
+
+usb_tx_data_ep1:
+	fetch 1,core_usb_txbusy
+	rtnbit1 1
+	fetch 1,mem_usb_tx_enable
+	rtnbit0 1
+	fetch 1,mem_usb_tx_enable
+	set0 1,pdata
+	store 1,mem_usb_tx_enable
+	fetch 1,mem_usb_ep1_data
+	rtn blank
+	beq USB_EP1_KB,usb_tx_kb_normal_data
+	branch assert
+
+usb_tx_data_ep2:
+	fetch 1,core_usb_txbusy
+	rtnbit1 2
+	fetch 1,mem_usb_tx_enable
+	rtnbit0 2
+	fetch 1,mem_usb_tx_enable
+	set0 2,pdata
+	store 1,mem_usb_tx_enable
+	fetch 1,mem_usb_ep2_data
+	rtn blank
+	beq USB_EP2_MS,usb_tx_ms_data
+	beq USB_EP2_MULTIKEY,usb_tx_kb_multikey_data
+	beq USB_EP2_SYSTEMKEY,usb_tx_kb_systemkey_data
+	branch assert
+
+usb_tx_fifo_release:
+	//clear mem_usb_mouse_data/mem_usb_kb_data/mem_usb_kb_multikey/mem_usb_kb_system
+	arg mem_usb_mouse_data,contw
+	arg 8,loopcnt
+	branch memset0
+	
+usb_tx_ms_data:
+	fetch 1,mem_usb_idle_flag
+	fetcht 1,mem_usb_get_protocol_flag
+	iand temp,pdata
+	branch usb_tx_ms_data_normal_mode,blank
+	fetcht 1,mem_usb_set_protocol_status
+	iadd temp,pdata
+	beq MAC_BOOT_MODE,usb_tx_ms_data_mac_boot_mode
+	branch usb_tx_ms_data_normal_mode
+
+usb_tx_ms_data_mac_boot_mode:
+	jam 0,mem_usb_ep2_data
+usb_tx_ms_data_mac_boot_regroup:
+	fetch 1,mem_usb_mouse_data+1	//key
+	beq R_KEY,usb_tx_mac_boot_ms_regroup_r_or_lrkey
+	beq LR_KEY,usb_tx_mac_boot_ms_regroup_r_or_lrkey
+	fetch 1,mem_usb_mouse_data+1	//key
+	store 1,mem_usb_mouse_data
+	fetch 1,mem_usb_mouse_data+2	//x low
+	istore 1,contw
+	fetch 1,mem_usb_mouse_data+4	//y low
+	istore 1,contw
+	fetch 1,mem_usb_mouse_data+6	//wheel
+	istore 1,contw
+	arg 4,loopcnt
+	arg mem_usb_mouse_data,contr
+	branch usb_tx_ep2
+	
+usb_tx_ms_data_normal_mode:
+	jam 0,mem_usb_ep2_data
+usb_tx_mac_boot_ms_regroup_r_or_lrkey:	
+	arg 8,loopcnt		
+	arg mem_usb_mouse_data,contr
+	branch usb_tx_ep2
+
+usb_tx_kb_multikey_data:
+	jam 0,mem_usb_ep2_data
+	arg 3,loopcnt
+	arg mem_usb_kb_multikey,contr
+	branch usb_tx_ep2
+
+usb_tx_kb_normal_data:
+	jam 0,mem_usb_ep1_data
+	arg 8,loopcnt
+	arg mem_usb_kb_data,contr
+	branch usb_tx_ep1
+
+usb_tx_kb_systemkey_data:
+	jam 0,mem_usb_ep2_data
+	arg 2,loopcnt
+	arg mem_usb_kb_system,contr
+	branch usb_tx_ep2
+
+usb_inwake_state_tx_dispose:
+	fetch 1,mem_usb_state
+	beq USB_CONNECTED,usb_mac_wakeup_trig
+	rtn
+usb_mac_wakeup_trig:
+	fetch 1,core_usb_config
+	set1 7,pdata
+	store 1,core_usb_config
+	jam 1,mem_usb_mac_wakeup_trig
+	rtn
+
+usb_mac_wakeup_judge:
+	fetch 1,mem_usb_state
+	rtneq USB_SLEEP
+	beq USB_CONNECTED,usb_mac_wakeup
+	rtn
+usb_mac_wakeup:
+	fetch 1,mem_usb_mac_wakeup_trig
+	rtn blank
+	jam 1,mem_usb_wakestate_onetime_flag
+	branch usb_wakeup
+
+usb_windows_wakeup:
+	arg TIMER_WAKEUP,queue
+	call timer_check
+	nrtn blank
+usb_wakeup:
+	fetch 1,core_usb_config
+	rtnbit0 7	//endpoint wakeup enable
+	jam 0xfc,core_usb_config
+	nop 30000
+	jam 0x3c,core_usb_config
+	rtn
+
+
+endif
+
Index: program/utility.prog
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/program/utility.prog	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/program/utility.prog	(working copy)
@@ -0,0 +1,1184 @@
+
+right_shift_n: //rshiftN pdata,pdata
+	sub loopcnt,0,null
+	rtn zero
+right_shift_n_loop: 
+	rshift pdata,pdata
+	loop right_shift_n_loop
+	rtn
+
+/* lshift. 0:1 byte; 1:2byte; 2:4byte; 3:8byte; 4:16byte*/
+left_shift_n:
+	force 1,pdata
+	sub loopcnt,0,null
+	rtn zero
+left_shift_n_loop:
+	lshift pdata,pdata
+	loop left_shift_n_loop
+	rtn
+push_stack:
+	storer contw,2, mem_contw
+	storet 8,mem_temp
+	storer timeup,4,mem_timeup
+	call push_stack_rega_b_c
+	storer contr,2, mem_contr
+	storer loopcnt,2, mem_loopcnt
+	storer queue,2,mem_queue
+	rtn
+
+push_stack_rega_b_c:
+	storer rega,4, mem_rega
+	storer regb,4, mem_regb
+	storer regc,3, mem_regc
+	rtn
+
+pop_stack:
+	fetch 2, mem_contw
+	iforce contw
+	fetcht 8,mem_temp
+	fetchr timeup,4,mem_timeup
+	call pop_stack_rega_b_c
+	fetchr loopcnt,2,mem_loopcnt
+	fetchr queue,2,mem_queue
+	fetch 2,mem_contr
+	iforce contr
+	rtn
+
+pop_stack_rega_b_c:
+	fetchr rega,4, mem_rega
+	fetchr regb,4, mem_regb
+	fetchr regc,3,mem_regc
+	rtn
+
+get_contw:
+	fetch 2,mem_contw
+	copy pdata,contw
+	rtn
+get_contr:
+	fetch 2,mem_contr
+	copy pdata,contr
+	rtn
+store_contw:
+	copy contw,pdata
+	store 2,mem_contw
+	rtn
+store_contr:
+	copy contr,pdata
+	store 2,mem_contr
+	rtn	
+	
+
+//
+save_cont_pointers:
+	copy contw,pdata
+	store 2,mem_hold_contw
+	copy contr,pdata
+	store 2,mem_hold_contr
+	rtn
+load_cont_pointers:
+	fetch 2,mem_hold_contw
+	copy pdata,contw
+	fetch 2,mem_hold_contr
+	copy pdata,contr
+	rtn
+
+
+//input pdata,temp 1byte
+//output rega:diff
+get_diff:
+	isub temp,rega
+	rtn positive
+	arg 0x100,rega
+	iadd rega,pdata
+	isub temp,rega
+	rtn	
+
+memcpy96:
+	call memcpy32
+memcpy64:
+	call memcpy32
+	branch memcpy32
+memcpy20:
+	call memcpy8
+memcpy12:
+	call memcpy8
+memcpy4:
+	ifetch 4,contr
+	istore 4,contw
+	rtn	
+memcpy8:
+	ifetch 8,contr
+	istore 8,contw
+	rtn	
+
+memcpy48:
+	call memcpy16
+memcpy32:
+	call memcpy8
+memcpy24:
+	call memcpy8
+memcpy16:
+	call memcpy8
+	branch memcpy8
+
+delay:
+	increase -1,pdata
+	nop 38
+	nbranch delay,blank
+	rtn
+
+
+delay_10ms:
+	arg 10,loopcnt
+delay_ms_wait:
+	nop 12000
+	loop delay_ms_wait
+	rtn
+
+delay_50ms:
+	arg 50,loopcnt
+	branch delay_ms_wait
+
+bn_zero:
+	force 3,loopcnt
+memset0:
+	force 0,pdata
+memset8:
+	istore 8,contw
+	loop memset8
+	rtn
+
+
+memset0_16:
+	call memset0_8
+memset0_8:
+	force 0,pdata
+	istore 8,contw
+	rtn
+memset0_4:
+	force 0,pdata
+	istore 4,contw
+	rtn	
+	
+clear_mem_256:
+	force 4,loopcnt
+	branch memset0 
+clear_mem_512:
+	force 8,loopcnt
+	branch memset0 
+
+clear_mem:
+	deposit loopcnt
+	rtn blank
+	setarg 0
+clear_mem_loop:
+	istore 1,contw
+	loop clear_mem_loop
+	rtn
+	
+
+clear_temp_block:
+	arg 32,loopcnt
+	arg mem_temp_block0,contw
+	branch clear_mem
+	
+xor_loop:
+	ifetch   4,regc
+	ifetcht 4,rega
+	ixor     temp,pdata
+	istore   4,contw	
+	increase 4,rega
+	increase 4,regc
+	loop  xor_loop
+	rtn
+	
+// 11 22 -> 22 11; 11 22 33 -> 33 22 11 
+// rega:data addr ;loopnct:length
+inverse_data:
+	bpatchx patch32_4,mem_patch32
+	copy loopcnt,pdata
+	sub pdata,1,null
+	rtn positive
+	iadd rega,regb	
+	increase -1,regb
+	rshift loopcnt,loopcnt
+inverse_loop:
+	ifetcht 1,rega
+	ifetch 1,regb
+	istore 1,rega
+	istoret 1,regb
+	increase -1,regb
+	increase 1,rega
+	loop inverse_loop
+	rtn
+
+/*
+	function name:inverse_data_6Byte or le2be_6Byte
+	input: pdata is data that want change
+	output:pdata is Converted data
+	used Resources:temp,contr
+*/
+le2be_6Byte:
+inverse_data_6Byte:
+	rshift32 pdata,temp
+	call inverse_data_4Byte
+	byteswap temp,temp
+	lshift16 pdata,pdata
+	ior temp,pdata
+	rtn
+
+
+/*
+	function name:inverse_data_4Byte or le2be_4Byte
+	input: pdata is data that want change
+	output:pdata is Converted data
+	used Resources:contr
+*/
+le2be_4Byte:
+inverse_data_4Byte:
+	rshift16 pdata,contr
+	byteswap contr,contr
+	byteswap pdata,pdata
+	lshift16 pdata,pdata
+	ior contr,pdata
+	rtn
+
+
+memcpy_fast:
+	deposit loopcnt
+	rtn blank
+memcpy_fast_loop:
+	increase -8,loopcnt
+	call memcpy8,positive
+	rtn zero
+	branch memcpy_fast_loop,positive
+	increase 8,loopcnt
+memcpy_fast_loop_four:
+	increase -4,loopcnt
+	call memcpy4,positive
+	rtn zero
+	branch memcpy_fast_loop_four,positive
+	increase 4,loopcnt
+	branch memcpy
+ 
+memcpy:
+	deposit loopcnt
+	rtn blank
+memcpy_loop:
+	ifetch 1,contr
+	istore 1,contw
+	loop memcpy_loop
+	rtn
+
+timer_stop:
+	setarg 0
+timer_init:
+	rshift clkn_bt,temp
+	storet 4,mem_last_clkn
+	arg mem_timers,contw
+	iforce temp
+	lshift queue,pdata
+	iadd contw,contw
+	istoret 2,contw
+	bpatchx patch32_5,mem_patch32
+	rtn
+
+timer_check_timeout:
+	arg 0x800,timeup
+	lshift16 timeup,timeup
+	iadd timeup,pdata
+	rtn
+
+
+timer_reinit:
+	arg 0,queue
+timer_check:
+	bpatchx patch32_6,mem_patch32
+	fetcht 4,mem_last_clkn
+	rshift clkn_bt,pdata
+	store 4,mem_last_clkn	
+	isub temp,null
+	ncall timer_check_timeout,positive	
+	isub temp,timeup
+	copy timeup,temp
+	arg mem_timers,contr
+	copy contr,contw
+	arg 16,loopcnt
+timer_loop:
+	ifetch 2,contr
+	isub temp,pdata
+	branch timer_counting,positive
+	force 0,pdata
+timer_counting:
+	istore 2,contw
+	loop timer_loop	
+	arg mem_timers,contr
+	lshift queue,pdata
+	iadd contr,contr
+	ifetch 2,contr
+	rtn
+
+
+
+	/* pdata 28+16 bit add temp 26+16 bit, result in temp */
+clk_add:
+	iadd temp,temp
+	copy temp, loopcnt
+	fetch 2,mem_param_rt_rthalfslot
+	isub loopcnt,pdata
+	rtn positive
+	sub pdata,0,pdata
+	rshift16 temp,temp
+	increase 1,temp
+	lshift16 temp,temp
+	ior temp,temp
+	rtn
+
+clk_diff_rt:
+	call clk_diff
+	branch clk2rt
+
+/* pdata -temp -> pdata, all are 28+16 bits, set user if negative */
+clk_diff:
+	disable user
+	isub temp,pdata
+	branch clk_diff_pos,positive
+	enable user
+	sub pdata,0,pdata
+clk_diff_pos:
+	rtnbit0 15
+	copy pdata,regab
+	arg 0x10000,temp
+	fetch 2,mem_param_rt_rthalfslot
+	isub temp,pdata
+	iadd regab,pdata
+	set0 64,pdata
+	rtn
+
+	
+
+clk2rt:
+	fetcht 2,mem_param_rt_rthalfslot
+	iforce contr
+	rshift16 pdata,pdata
+	imul32 temp,pdata
+	iadd contr,pdata
+	rtn
+
+	/* pdata = clks in, temp = lpo out */
+clk2lpo:
+	lshift8 pdata,pdata
+	lshift4 pdata,pdata
+	fetcht 3,mem_clks_per_lpo
+	idiv temp
+	call wait_div_end
+	quotient temp
+	rtn
+
+	/* rt clk -> bt+rt clk */
+clk2bt:
+	fetcht 2,mem_param_rt_rthalfslot
+	idiv temp
+	call get_div_result
+	lshift16 pdata,pdata
+	remainder temp
+	ior temp,temp
+	rtn
+
+
+
+//input:contu 
+//output:temp
+//used register: temp regab
+string2dec_from_uart:
+	arg 0,temp
+string2dec_from_uart_done:
+	copy temp,regab
+	ifetch 1,contu
+	call uchar2dialog	
+	copy regab,temp
+	call swap
+	arg 10,regb
+	imul32 regb,pdata
+	iadd temp,pdata
+	copy pdata,temp
+	loop string2dec_from_uart_done
+	rtn
+	
+
+
+uchar2dialog:
+	arg 0x3a,temp
+	isub temp,null
+	nbranch uchar2dialog_number,positive
+	arg 0x61,temp
+	isub temp,null
+	branch uchar2dialog_a2f,positive
+	arg 0x37,temp
+	isub temp,pdata
+	rtn
+uchar2dialog_number:
+	arg 0x30,temp
+	isub temp,pdata
+	rtn
+uchar2dialog_a2f:
+	arg 0x57,temp
+	isub temp,pdata
+	rtn
+
+pn9:
+	copy temp,alarm
+	setarg 0x1ff
+	force 0,regb
+pn9_loop:	
+	rshift3 pdata,rega
+	rshift rega,rega
+	ixor rega,rega
+	isolate1 0,rega
+	setflag true,9,pdata
+	rshift temp,temp
+	isolate1 0,pdata
+	setflag true,7,temp
+	rshift pdata,pdata
+	increase 1,regb
+	compare 0,regb,0x7
+	nbranch pn9_loop,true
+	istoret 1,contw
+	loop pn9_loop
+	copy alarm,temp
+	rtn
+
+	// contr: rxdata, loopcnt is count. result in quotient
+calc_average:
+	setarg 0
+	copy loopcnt,rega
+calc_average_loop:
+	ifetcht 2,contr
+	iadd temp,pdata
+	loop calc_average_loop
+	idiv rega
+
+get_div_result:
+	call wait_div_end
+	quotient pdata
+	rtn
+
+wait_div_end:	
+	rtn modone
+	branch wait_div_end
+
+
+
+//input:
+//	count:loopcnt str1:rega str2:regb
+//output:
+//	same:set flag zero ,diff not set flag zero
+// using:
+//	reg:temp null flag:zero
+compare_loop:
+string_compare:
+	ifetch 1,rega
+	ifetcht 1,regb
+	isub temp,null
+	nrtn zero
+	increase 1,rega
+	increase 1,regb
+	loop string_compare
+	force 0,null
+	rtn
+
+	/* pdata = temp if pdata > temp */
+ceiling:
+	isub temp,null
+	nrtn positive
+	deposit temp
+	rtn
+	
+swap:
+	iadd temp,pdata
+	isub temp,temp
+	isub temp,pdata
+	rtn
+
+clean_mem:
+	arg 0x200,loopcnt
+	arg 0x4000,contw
+	branch memset0				// clear xram at boot
+
+	//cb function ptr in pdata
+callback_func:
+	rtn blank
+	copy pdata,pc	//rtn through cb functon.
+	//branch assert
+
+wait_uarttx:
+	fetch 2,core_uart_txitems
+	nbranch wait_uarttx,blank
+	rtn
+
+ice_break:
+	jam 0x1,core_ice_ctrl
+	rtn
+
+ice_setbp:
+	store 2,core_ice_break0
+	fetch 1,core_ice_ctrl
+	set1 4,pdata
+	store 1,core_ice_ctrl
+	rtn
+ice_setbp2:
+	store 2,core_ice_break1
+	fetch 1,core_ice_ctrl
+	set1 6,pdata
+	store 1,core_ice_ctrl
+	rtn
+	
+ice_set_write_bp:
+	store 2,core_ice_break0
+	jam 0x30,core_ice_ctrl
+	rtn
+
+ifdef COMPLIE_TEST_CODE
+test_no_white:
+	fetch 1,core_config
+	set1 whiteoff_bit,pdata
+	store 1,core_config			/* whitening off */
+	rtn
+endif
+
+test_enable_white:
+	fetch 1,core_config
+	set0 whiteoff_bit,pdata
+	store 1,core_config			/* whitening on */
+	rtn
+
+check_uart_tx_buff:
+	fetch 2,core_uart_txitems
+	arg UART_AIR_CONTROL_THRESHOLD,temp
+pdata_sub_temp:
+	isub temp,null
+	rtn
+
+	//fuction fifo_in
+	//rega pointer to fifo memory , *(rega+len) is the end of fifo
+	//mem_fifo_temp data into fifo
+	//assert if fifo was full
+fifo_in:
+	bpatchx patch32_7,mem_patch32
+	ifetcht UTIL_FIFO_LEN,rega
+	and temp,0xff,pdata
+	nbranch fifo_in_push,blank
+	rshift8 temp,pdata
+	istore UTIL_FIFO_LEN,rega
+fifo_in_push:
+	increase UTIL_FIFO_LEN+UTIL_FIFO_OFFSET,rega
+	ifetch 1,rega
+	nbranch assert,blank //fifo full
+	fetch 1,mem_fifo_temp
+	istore 1,rega
+	rtn
+	
+	//fuction fifo_out
+	//rega pointer to fifo memory
+	//pdata  data from fifo, blank mains fifo empty
+fifo_out:
+	bpatchx patch33_0,mem_patch33
+	arg UTIL_FIFO_LEN,loopcnt
+	ifetch UTIL_FIFO_LEN,rega
+	rtn blank
+fifo_out_loop:
+	ifetch 1,rega
+	nbranch fifo_out_end,blank
+	increase 1,rega
+	loop fifo_out_loop
+	branch assert
+fifo_out_end:
+	arg 0,temp
+	istoret 1,rega
+	rtn
+
+	//fuction fifo_is_empty
+	//rega pointer to fifo memory
+	//blank--- fifo is empty
+fifo_is_empty:
+	ifetch UTIL_FIFO_LEN,rega
+	rtn
+
+	//fuction fifo_is_full
+	//rega pointer to fifo memory
+	//blank--- fifo is NOT full
+fifo_is_full:
+	ifetch 1,rega
+	rtn
+	//rega pointer to fifo memory
+	//blank--- fifo is NOT near full
+fifo_is_near_full:
+	ifetch 2,rega
+	rtn
+
+	//rega pointer to fifo memory
+	//count output via pdata
+fifo_content_count:
+	arg 0,temp
+fifo_content_count_loop:
+	fetch 1,contr
+	loop fifo_content_count_loop,blank
+	increase 1,temp
+	loop fifo_content_count_loop
+	copy temp,pdata
+	rtn
+
+//input pdata, temp, return small in pdata	
+not_greater_than:
+	isub temp,null
+	nrtn positive
+copy_temp2pdata:
+	copy temp,pdata
+	rtn
+
+
+disable_positive:
+	force -1,null
+	rtn
+enable_positive:
+disable_zero:
+	force 1,null
+	rtn
+enable_zero:
+	force 0,null
+	rtn
+
+enable_user:
+	enable user
+	rtn
+	
+disable_user:
+	disable user
+	rtn
+	
+enable_user2:
+	enable user2
+	rtn
+	
+disable_user2:
+	disable user2
+	rtn
+
+enable_user7:
+	enable user7
+	rtn
+
+disable_blank:
+	setarg 1
+	rtn
+
+enable_blank:
+set_pdata_0:
+	setarg 0
+	rtn
+
+//input pdata :sum
+//output pdata :sum
+cal_sum:
+	sub loopcnt,0,null
+	rtn zero
+cal_sum_loop:
+	ifetcht 1,contr
+	iadd temp,pdata
+	loop cal_sum_loop
+	rtn
+
+	
+reverse_byte:
+	copy loopcnt,pdata
+	rtn blank
+	copy contr,pdata
+	iadd loopcnt,pdata
+	increase -1,pdata
+	copy pdata,contr	
+reverse_loop:
+	ifetch 1,contr
+	increase -2,contr
+	istore 1,contw
+	loop reverse_loop
+	rtn
+
+calc_k12:
+	copy timeup,regb
+
+	// regb:rxdata1, enable user for K1, result stored in contw 8 bytes
+calc_k:
+	arg mem_local_sig,regc
+	force 36,loopcnt
+	force 0,rege
+	force 0,regf
+rxcal_k1_loop:
+	call complex_mult16to8
+	preload rega
+	iadd rege,rege
+	preload temp
+	iadd regf,regf
+	increase 4,regb
+	increase 2,regc
+	loop rxcal_k1_loop
+	preload rege
+	arg 36,temp
+	call signed_div
+	istore 4,contw
+	preload regf
+	call signed_div
+	istore 4,contw
+	rtn
+
+	// regb points to 32bit complex, regc points to 16bit complex, result in rega+temp
+complex_mult16to8:
+	ifetchr nap,2,regb
+	ifetchr fhs_misc,1,regc
+	call signed_ext16by8
+	imults temp,rega
+	ifetchr fhs_misc,1,contr
+	branch complex_not_conj,user
+	sub fhs_misc,0,fhs_misc
+complex_not_conj:
+	add regb,2,contr
+	ifetchr nap,2,contr
+	call signed_ext16by8
+	imults temp,regd
+	preload rega
+	isub regd,rega			// ac-bd
+	ifetchr nap,2,regb
+	preload nap
+	imults temp,regd
+	ifetchr nap,2,contr
+	ifetchr fhs_misc,1,regc
+	call signed_ext16by8
+	imults temp,temp
+	preload regd
+	iadd temp,temp
+	rtn
+
+	// regb points to 64bit complex, regc points to 64bit complex, result in rege+regf
+complex_mult32to32:
+	ifetch 4,regb
+	ifetchr rega,4,regc
+	imults rega,rege			// ac
+	ifetchr rega,4,contr
+	aligned rega,regf			// d
+	add regb,4,contr
+	ifetch 4,contr
+	imults rega,temp			// bd
+	preload rege
+	isub temp,rege			// ac-bd
+	ifetch 4,regb
+	imults regf,regf			// ad
+	ifetch 4,contr
+	ifetchr rega,4,regc
+	imults rega,pdata
+	iadd regf,regf				// ad+bc
+	rtn
+
+
+lshift14:
+	lshift16 pdata,pdata
+rshift2:
+	rshift2 pdata,pdata
+	rtn
+
+lshift6:
+	lshift8 pdata,pdata
+	branch rshift2
+
+calc_vok:
+	imul32 pdata,pdata
+rshift7:
+	rshift4 pdata,pdata
+	rshift3 pdata,pdata
+	rtn		
+
+
+	// nap:16bit signed, fhs_misc:8bit signed, output to pdata/temp
+signed_ext16by8:
+	preload nap
+	aligned fhs_misc,temp
+	rtn	
+
+
+abs32:
+	rtnbit0 31
+	force 0,temp
+	set1 32,temp
+	increase -1,temp
+	ixor temp,pdata
+	pincrease 1
+	rtn	
+
+	// pdata 32bit is input, result in regb
+sqrt:
+	iforce rega
+	arg 0,regd
+	set1 30,regd
+	arg 0,regb
+	arg 16,loopcnt
+sqrt_loop:
+	deposit regd
+	iadd regb,pdata
+	rshift regb,regb
+	isub rega,pdata
+	branch sqrt_less,zero
+	branch sqrt_greater,positive
+sqrt_less:
+	sub pdata,0,rega
+	deposit regd
+	ior regb,regb
+sqrt_greater:
+	rshift2 regd,regd
+	loop sqrt_loop
+	rtn	
+	
+	// pdata:dividend, temp:divisor
+signed_div:
+	set0 mark_temp,mark
+	bbit0 63,signed_div_unsigna
+	set1 mark_temp,mark
+	sub pdata,0,pdata
+signed_div_unsigna:
+	isolate0 63,temp
+	branch signed_div_unsignb,true
+	setflip mark_temp,mark
+	sub temp,0,temp
+signed_div_unsignb:
+	idiv temp
+	call get_div_result
+	rtnmark0 mark_temp
+	sub pdata,0,pdata
+	rtn
+
+
+ifdef COMPILE_SIM_API
+	// timeup: rxdata, result in regc(a) and regf(c22)
+rx_iq_comp:
+	call calc_k1
+	call calc_k2
+	call calc_absk12_sqr
+	call calc_g
+	call calc_a
+	branch calc_c22
+
+calc_k1:
+	enable user
+	arg mem_tmp_buffer,contw
+	branch calc_k12
+
+calc_k2:
+	disable user
+	branch calc_k12
+
+calc_absk12_sqr:
+	fetch 4,mem_tmp_buffer
+	fetcht 4,mem_tmp_buffer+8
+	iadd temp,pdata
+	call abs32
+	iforce temp
+	imul32 temp,rege
+	fetch 4,mem_tmp_buffer+4
+	fetcht 4,mem_tmp_buffer+12
+	isub temp,pdata
+	call abs32
+	iforce temp
+	imul32 temp,pdata
+	iadd rege,pdata
+	store 8,mem_tmp_buffer+16			// abs(K1+K2)^2
+	rtn
+
+
+calc_g:
+	arg mem_tmp_buffer,regb
+	arg mem_tmp_buffer+8,regc
+	call complex_mult32to32
+	preload rege
+	sub pdata,0,pdata
+	lshift16 pdata,pdata
+	lshift2 pdata,pdata
+	fetcht 8,mem_tmp_buffer+16
+	idiv48 temp
+	arg 0x10000,rega
+	call get_div_result
+	iadd rega,pdata
+	call sqrt
+	copy regb,rege						// g
+	rtn
+
+calc_a:
+	rshift32 temp,pdata
+	imul32 regb,rega
+	deposit regb							
+	imul32 temp,temp
+	lshift16 rega,pdata
+	lshift16 pdata,pdata
+	iadd temp,temp
+	preload regf
+	sub pdata,0,pdata
+	lshift16 pdata,pdata
+	lshift pdata,pdata
+	idiv48 temp
+	branch get_div_result					// a
+
+calc_c22:
+	rshift pdata,regc						// c21
+	imul32 pdata,temp
+	setarg 0x10000
+	isub temp,pdata
+	call sqrt
+	deposit regb
+	imul32 rege,temp
+	setarg 0
+	set1 28,pdata
+	idiv48 temp
+	call wait_div_end
+	quotient temp
+	setarg 0x1000
+	isub temp,regf						// c22
+	rtn
+
+tx_iq_precomp:
+	call calc_vok1
+	call calc_sumvok
+	call calc_ad_bc
+	call calc_omega
+	call calc_b1
+	branch calc_b2
+
+calc_vok1:	
+	fetch 1,mem_vdk
+	call calc_vok
+	store 1,mem_vok
+	rtn
+
+calc_sumvok:
+	iforce regc						// Vok(1)
+	imul32 pdata,temp
+	ifetch 1,contr
+	call calc_vok
+	istore 1,contw
+	iadd regc,rega					// sum(Vok)
+	rtn
+
+calc_ad_bc:
+	imul32 pdata,pdata
+	iadd temp,regb					// sum(Vok.^2)
+	deposit rega
+	imul32 rega,temp
+	lshift regb,pdata
+	isub temp,temp					// ad-bc
+	rtn
+
+
+calc_omega:
+	setarg 0x400000
+	idiv temp
+	call get_div_result
+	store 2,mem_omega
+	lshift16 rega,pdata
+	rshift2 pdata,pdata
+	idiv temp
+	call get_div_result
+	istore 2,contw
+	lshift8 regb,pdata
+	rshift pdata,pdata
+	idiv temp
+	call get_div_result
+	istore 2,contw
+	rtn
+	
+	
+calc_b1:
+	lshift16 regc,pdata
+	rshift2 pdata,pdata
+	idiv regb
+	call get_div_result
+	store 2,mem_b1
+	fetch 1,mem_vdk
+	call lshift6
+	idiv rega
+	call get_div_result
+	istore 2,contw
+	rtn
+	
+calc_b2:
+	fetch 1,mem_vok+1
+	call lshift14
+	idiv regb
+	call get_div_result
+	store 2,mem_b2
+	fetch 1,mem_vdk+1
+	call lshift6
+	idiv rega
+	call get_div_result
+	istore 2,contw
+	rtn	
+	
+	
+	// timeup: m_k
+tx_iq_cal:
+	arg mem_q,contw
+	arg 2,loopcnt
+	call memset0
+	arg 4,queue
+tx_iq_cal_loop:
+	call calc_mk1
+	call calc_d
+	call calc_c
+	call calc_est1
+	call calc_est2
+	call calc_u1
+	call calc_u2
+	call calc_qest
+	increase 32,timeup
+	increase -1,queue
+	nbranch tx_iq_cal_loop,zero
+
+calc_tx_c22:
+	fetch 4,mem_q
+	arg 0x100,contr
+	iadd contr,rege
+	fetch 4,mem_q+4
+	imults pdata,temp
+	setarg 0x10000
+	isub temp,pdata
+	call sqrt
+	deposit regb
+	imults rege,temp
+	setarg 0
+	set1 28,pdata
+	call signed_div
+	arg 0x1000,temp
+	isub temp,pdata
+	sub pdata,0,pdata						// c22
+	rtn
+	
+calc_mk1:
+	copy timeup,contr
+	arg 8,loopcnt
+ 	branch calc_average
+
+calc_d:
+ 	iforce regb					// M_k(1)
+	arg 8,loopcnt
+ 	branch calc_average
+
+calc_c:
+ 	iadd regb,regc				// D
+ 	fetcht 1,mem_vok+1
+ 	imul32 temp,temp
+ 	fetch 1,mem_vok
+ 	imul32 regb,pdata
+ 	iadd temp,pdata
+	rshift4 pdata,pdata
+	rshift3 pdata,rega				// C
+	rtn
+
+calc_est1:
+	fetch 2,mem_omega+2
+	imul32 regc,temp
+	fetch 2,mem_omega
+	imul32 rega,pdata
+	isub temp,regb				// est(1)
+	rtn
+
+calc_est2:
+	fetch 2,mem_omega+2
+	imul32 rega,temp
+	ifetch 2,contr
+	imul32 regc,pdata
+	isub temp,rega				// est(2)
+	rtn
+
+calc_u1:
+ 	fetch 1,mem_vok
+ 	call mults_rshift7
+	iadd rega,regf					// floor(est(1)*Vok(1)/2^7 + est(2))
+	copy timeup,regc
+	arg mem_u1,contw
+	branch theta_mul
+
+calc_u2:
+ 	fetch 1,mem_vok+1
+ 	call mults_rshift7
+	iadd rega,regf					// floor(est(1)*Vok(2)/2^7 + est(2))
+	add timeup,16,regc
+	arg mem_u2,contw
+	branch theta_mul
+
+calc_qest:
+	aligned regb,regf
+	fetchr regb,2,mem_b1
+	fetchr regc,2,mem_b2
+	arg mem_u1,rega
+	arg mem_u2,nap
+	arg mem_q,contw
+	call calc_q			
+	call calc_q
+	fetchr regb,2,mem_b1+2
+	fetchr regc,2,mem_b2+2
+	call calc_q
+	branch calc_q
+
+calc_q:
+	ifetch 4,rega
+	copy contr,rega
+	imults regb,rege
+	ifetch 4,nap
+	copy contr,nap
+	imults regc,pdata
+	iadd rege,pdata
+	lshift8 pdata,pdata
+	copy regf,temp
+	call signed_div
+	ifetchr rege,4,contw
+	isub rege,pdata
+	sub pdata,0,regd
+	istorer regd,4,contw
+	rtn	
+
+mults_rshift7:
+	imults regb,temp
+	preload temp
+	branch rshift7
+
+
+	
+	// regc points to m_k, contw points to result
+theta_mul:
+	arg 4,debug
+	arg mem_theta,nap
+theta_mul_loop0:
+	arg 0,rege
+	arg 8,loopcnt
+theta_mul_loop1:
+	ifetch 2,regc
+	copy contr,regc
+	isub regf,pdata
+	ifetchr fhs_misc,1,nap
+	copy contr,nap
+	aligned fhs_misc,temp
+	imults temp,pdata
+	iadd rege,rege
+	loop theta_mul_loop1
+	rshift8 rege,pdata
+	rshift pdata,pdata
+	istore 4,contw
+	increase -16,regc
+	increase -1,debug
+	nbranch theta_mul_loop0,zero
+	rtn
+endif
+
+clear_wake:
+	setarg 0
+	set1 19,pdata	//enable ice low wakeup
+	store 8,mem_gpio_wakeup_low
+	rtn
+
+
+
+
Index: sched/1308.dat
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/sched/1308.dat	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/sched/1308.dat	(working copy)
@@ -0,0 +1,9 @@
+
+mem_lpm_config:88 03 ca	#4khz
+mem_fcomp_div:18
+
+mem_rf_init_data:
+ff
+mem_rf_init_ptr:mem_rf_init_data
+
+
Index: sched/AntiLost.dat
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/sched/AntiLost.dat	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/sched/AntiLost.dat	(working copy)
@@ -0,0 +1,181 @@
+mem_antl_queue_width:0a 08
+mem_queue_ptr:mem_antl_queue_width
+mem_antl_lpm_interval:14 00
+mem_antl_adv_interval:10 00
+mem_antl_slow_adv_lpm_interval:a0 00
+mem_antl_slow_adv_adv_interval:3b 06
+
+
+#mem_le_notify_handle:0a 00
+mem_device_option:0f
+mem_le_adv_channel_map:07 
+#mem_ssp_enable:01
+
+mem_ui_button_gpio:06
+mem_ui_button_timeout:1e
+mem_ui_button_last_state:01
+
+mem_antl_fast_adv_timeout:64 00
+mem_antl_le_sleep_timeout:20 03
+mem_antl_disconn_buzzer_on_timeout:90 01
+
+mem_power_param_ptr:mem_antl_power_param
+mem_antl_power_off_timeout:0f 0c
+mem_ui_led_struct_num:02
+mem_ui_led_struct_ptr:mem_antl_led_style
+mem_antl_led_gpio:05
+mem_antl_buzzer_gpio:84
+
+
+mem_antl_fast_adv_led_style:01 ff 05 32 00 f0 00
+mem_antl_slow_adv_led_style:01 ff 05 32 00 4e 0c
+mem_antl_power_starting_led_style:01 03 05 96 00 96 00
+mem_antl_power_starting_buzzer_style:01 03 84 96 00 96 00
+mem_antl_power_off_led_style:01 01 05 80 0c 00 00
+mem_antl_power_off_buzzer_style:01 01 84 80 0c 00 00
+mem_antl_alert_led_stlye:01 ff 05 32 00 0e 06
+mem_antl_alert_buzzer_stlye:01 ff 84 32 00 0e 06
+mem_antl_key_led_style:01 01             05 32 00 32 00
+mem_antl_key_buzzer_style:01 01              84 32 00 32 00
+
+
+
+#mem_le_pres:02 03 00 01 10 02 01
+mem_le_pres_auth:01
+mem_le_pres:02 03 00 05 10 02 03
+mem_rx_window_sniff_inc:00 40
+mem_le_local_mtu:17
+mem_local_rx_max_octets:fb 00 48 08 fb 00 48 08  # 1b
+
+
+mem_le_lap:0a 89 73 70 b4 c1
+mem_le_name_len:
+#with 5 spaces
+'TrackerPA     
+
+mem_le_adv_data_len:1e
+mem_le_adv_data:
+#appearance
+03 19 c1 03
+#flags
+02 01 05
+#tx power level
+02 0a 00
+#complete uuid
+03 03 f0 ff
+#complete local name
+#with 5 spaces
+'\09TrackerPA     
+mem_le_scan_data_len:10
+mem_le_scan_data:
+#with 5 spaces
+'\09TrackerPA     
+
+#mem_adv_lap_ptr:mem_le_adv_data+2
+
+
+mem_keyscan_ptr:mem_antl_key_num
+mem_lpm_mode:00
+mem_lpm_overhead:06
+mem_lpm_mult_timeout:02
+
+mem_interval_increment:04 00
+mem_antl_le_interval_min:
+18 00 #min interval
+20 00 #max interval
+10 00 #latency
+58 02 #timeout
+mem_antl_le_unnormal_interval_min:
+10 01 #min interval
+90 01 #max interval
+00 00 #latency
+58 02 #timeout
+
+mem_antl_led_num:01
+mem_antl_led_gpio_map:
+05
+ff
+ff
+ff
+
+
+mem_antl_key_num:01
+mem_antl_key_conf0:
+#0
+06
+#1
+ff
+#2
+ff
+#3
+ff
+mem_antl_key0_press:
+06
+0a 00
+5a 6b #header
+00    #opcode(from 01 to fe) #6th byte
+00 00 #data length
+00    #sum
+#key0release for doubleclick
+mem_antl_key0_release:
+07 #0th byte
+0a 00
+5a 6b #header
+00    #opcode(from 01 to fe)for doubleclick #5th byte
+00 01 #data length 0x0001 (not 0x0100,byteswaped after loading)
+00   #8th byte
+00	 #sum
+mem_adc_config_flag:00
+mem_adc_timeout:b0 04
+mem_battery_calculate_set:
+2c 01
+fa 00
+00 00
+00 00
+
+#mem_empty_count:03
+mem_alarm_config:01
+mem_alarm_config_notfy_cnt:01
+
+#beep
+mem_buzzer_pwm_conf:
+04	#pwm gpio
+04	#pwm channel
+a0	#three  byte frequency
+0f
+00
+0a #duty cycle (by percent %)
+
+mem_ui_le_uuid_table:mem_AntiLost_le_att_list
+#attribute list: handle 2bytes  uuid 2bytes  length 1bytes  attribute Nbytes
+mem_AntiLost_le_att_list:
+#Primary service GAP ------
+01 00 02 00 28 02 00 18
+#Device name
+02 00 02 03 28 01 0a
+03 00 02 00 2a 04 31 32 33 34
+#Appearance
+04 00 02 03 28 01 02
+05 00 02 01 2a 02 c8 00 #3c2=hid mouse
+#Peripheral Preferred Connection Parameters
+06 00 02 03 28 01 02
+07 00 02 04 2a 08 08 00 20 00 10 00 58 02 # interval 6ms, latency 100, timeout 600
+#Primary service yichip transmit ------
+08 00 02 00 28 02 f0 ff
+
+09 00 02 03 28 01 12
+0a 00 02 f1 ff 08 00 00 00 00 00 00 00 00
+0b 00 02 02 29 02 00 00
+
+0c 00 02 03 28 01 08
+0d 00 02 f2 ff 08 00 00 00 00 00 00 00 00
+#End of Attribute list
+00 00
+
+#eeprom config
+mem_eeprom_base:80 1f
+mem_eeprom_wp_gpio:02
+mem_eeprom_scl_gpio:01
+mem_eeprom_sda_gpio:00
+
+
Index: sched/DM_module.dat
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/sched/DM_module.dat	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/sched/DM_module.dat	(working copy)
@@ -0,0 +1,493 @@
+
+
+mem_device_option:0a
+mem_ui_profile_supported:40
+mem_app_connection_options:13
+
+mem_features:
+ff
+fb
+8f
+f8      #fe--EDR  F8--BR
+8b     #AFHclose 83
+85
+59
+83
+
+
+mem_module_connect_state_gpio:FF
+mem_module_mcu_wake_pin:FF
+##############ADC CONFIG##############
+mem_module_read_vdd_count:01
+mem_module_read_vdd_flag:01
+#####################################
+
+##############NVRAM CONFIG##############
+mem_nv_data_ptr:mem_module_nv_data
+mem_nv_data_number:05
+#####################################
+
+##############SPP CONFIG##############
+mem_rfcomm_credit_flag:00
+mem_rfcomm_max_frame_size:7f 00
+mem_rfcomm_credit_init_data:07
+#####################################
+
+##############SSP CONFIG##############
+mem_lmp_io_cap_payload_iocap:
+03	#IO_CAPABILITY_NO_INPUT_NO_OUTPUT
+00	#OOB_DATA_PRESENT_NOT_PRESENT
+04	#AUTH_REQ_MITM_PROTECTION_NOT_REQUIRED_GENERAL_BONDING
+
+mem_ssp_enable:01
+mem_pin_length:04  30 30 30 30 30
+#####################################
+
+##############UART CONFIG##############
+mem_module_uarta_baud_rate:34 00
+mem_module_uart_rx_buffer:00 1c
+mem_module_uart_rx_buffer_end:ff 1f
+mem_module_uart_tx_buffer:40 4c
+mem_module_uart_tx_buffer_end:ef 4f
+#####################################
+
+
+
+##############BLUETOOTH CONFIG##############
+###commom###
+mem_soft_version_num:00 01
+mem_module_state:03
+mem_module_bluetooth_stauts_by_command:07
+mem_class:24 04 04
+
+mem_module_flag:00 00
+#bit0 MODULE_FLAG_UART_FLOW_CONTROL
+#bit1 MODULE_FLAG_BLE_SEND_MTU23
+#bit2 MODULE_FLAG_BLE_DATA_ENCRYPT
+
+mem_ui_button_gpio:ff
+mem_lpm_mode:01
+mem_lpm_interval:40 06
+mem_lpm_overhead:10
+mem_lpm_mult_timeout:02
+
+mem_module_wake_up_gpio:8d
+
+###3.0###
+mem_scan_mode:00
+mem_module_spp_lpm_mult:28
+mem_lap:77 1a ff ad 10 3a
+mem_local_name_length:
+'YichipFPGA-1308
+
+###3.0 sinff param###
+mem_sniff_param_interval:20 00
+mem_sniff_param_attempt:01
+mem_sniff_param_timeout:00
+
+
+
+###ble###
+mem_le_pairing_handle:2a 00
+mem_le_configuration:08
+
+mem_secure_connections_enable:01
+mem_le_adv_channel_map:07
+mem_le_pairing_mode:01
+
+mem_module_ble_data_uart_max_length:fd
+
+mem_le_scan_enable:00
+mem_le_scan_type:01
+mem_le_scan_interval:00 02
+mem_le_scan_window:00 01
+mem_le_conn_peer_addr:
+2a 31 00 33 02 3b
+#mem_cmd_le_create_conn:1b
+
+mem_le_adv_enable:01
+mem_le_adv_interval:f0 00
+mem_module_le_lpm_mult:05
+mem_le_lap:11 fa 11 11 11 11
+mem_le_name_len:
+'Yichip Xy Test
+
+mem_le_adv_data_len:03
+mem_le_adv_data:
+02 01 0e
+
+mem_le_scan_data_len:0e
+
+mem_le_scan_data:# 1 byte length + 1 byte type + N bytes data
+'\09Yichip Xy Test
+
+mem_le_pres:02 03 00 05 10 02 03
+
+mem_le_interval_min:
+08 00 #min interval
+10 00 #max interval
+00 00 #latency
+2c 01 #timeout
+
+
+mem_le_local_mtu:00 02
+mem_le_remote_mtu:17
+mem_local_rx_max_octets:fb 00 48 08 fb 00 48 08  # 1b
+mem_le_local_feature:21
+
+#####################################
+
+
+mem_eir_enable:01
+mem_all_uuid_16bits: 
+05
+03#Type: Complete list of 16-bit UUIDs
+0012 0001 0100 0111 0300 
+
+mem_all_uuid_128bits:
+00
+
+
+mem_ui_uuid_table:mem_module_uuid_list
+
+mem_module_uuid_list:
+03
+12
+00
+01
+00
+00
+01
+00
+01
+00
+01
+36
+00
+52
+09
+00
+00
+0a
+00
+01
+00
+01
+09
+00
+01
+35
+03
+19
+12
+00
+09
+00
+04
+35
+0d
+35
+06
+19
+01
+00
+09
+00
+01
+35
+03
+19
+00
+01
+09
+00
+09
+35
+08
+35
+06
+19
+12
+00
+09
+01
+00
+09
+02
+00
+09
+01
+03
+09
+02
+01
+09
+05
+ac
+09
+02
+02
+09
+02
+39
+09
+02
+03
+09
+06
+44
+09
+02
+04
+28
+01
+09
+02
+05
+09
+00
+02
+03
+11
+01
+00
+03
+01
+00
+00
+01
+00
+03
+36
+00
+46
+09
+00
+00
+0a
+00
+01
+00
+03
+09
+00
+01
+35
+03
+19
+11
+01
+09
+00
+02
+0a
+00
+00
+00
+00
+09
+00
+04
+35
+0c
+35
+03
+19
+01
+00
+35
+05
+19
+00
+03
+08
+01
+09
+00
+06
+35
+09
+09
+65
+6e
+09
+00
+6a
+09
+01
+00
+09
+01
+00
+25
+0a
+53
+50
+50
+20
+73
+6c
+61
+76
+65
+00
+00
+00
+01
+00
+
+
+mem_ui_le_uuid_table:mem_module_le_att_list
+
+#attribute list: handle 2bytes, uuid 2bytes, length 1bytes, attribute Nbytes
+mem_module_le_att_list:
+#Primary service GAP ------
+01 00 02 00 28 02 00 18
+
+
+#Appearance
+02 00 02 03 28 01 02
+03 00 02 01 2a 02 c8 00 #3c2=hid mouse
+
+#Device name
+04 00 02 03 28 01 0a
+05 00 02 00 2a 14 41 73 74 20 4c 45 20 4d 6f 75 73 65 20 20 20 20 20 20 20 20
+
+
+#Peripheral Preferred Connection Parameters
+06 00 02 03 28 01 02
+07 00 02 04 2a 08 06 00 06 00 64 00 2c 01 # interval 6ms, latency 100, timeout 300
+
+
+#privcy flag
+08 00 02 03 28 01 02
+09 00 02 02 2a 01 01
+
+#reconnecting addr 
+0a 00 02 03 28 01 08
+0b 00 02 03 2a 06 00 00 00 00 00 00
+
+#Primary service GATT ------
+0c 00 02 00 28 02 01 18
+
+#Service changed
+0d 00 02 03 28 01 20
+0e 00 02 05 2a 00
+#Client Characteristic Configuration
+0f 00 02 02 29 02 00 00
+
+#Primary service TX power ------
+10 00 02 00 28 02 04 18
+#Characteristic Tx power level
+11 00 02 03 28 01 16
+12 00 02 07 2a 01 00
+13 00 02 02 29 02 00 00
+
+#Primary service Battery ------
+14 00 02 00 28 02 0f 18
+#Characteristic Battery level
+15 00 02 03 28 01 12
+16 00 02 19 2a 01 38
+
+#Primary service device infomation
+17 00 02 00 28 02 0a 18
+#Characteristic system id
+18 00 02 03 28 01 02
+19 00 02 23 2a 03 00 00 00
+
+#Characteristic manufactor name
+1a 00 02 03 28 01 02
+1b 00 02 29 2a 06 79 69 63 68 69 70
+
+#Characteristic module number
+1c 00 02 03 28 01 02
+1d 00 02 24 2a 06 79 69 63 68 69 70
+
+#Characteristic serial number
+1e 00 02 03 28 01 02
+1f 00 02 25 2a 04 63 6f 6d 33
+
+#Characteristic firmware version
+20 00 02 03 28 01 02
+21 00 02 26 2a 03 31 2e 30
+
+#Characteristic software version
+22 00 02 03 28 01 02
+23 00 02 28 2a 03 31 2e 30
+
+#Characteristic hardware version
+24 00 02 03 28 01 02
+25 00 02 2a 2a 03 31 2e 30
+
+#Characteristic regulatory version
+26 00 02 03 28 01 02
+27 00 02 25 2a 04 63 6f 6d 33
+
+#Primary service yichip transmit ------
+28 00 02 00 28 10 55 e4 05 d2 af 9f a9 8f e5 4a 7d fe 43 53 53 49
+#Characteristic tx--notify read
+29 00 02 03 28 01 12
+2a 00 10 16 96 24 47 C6 23 61 BA D9 4B 4D 1E 43 53 53 49 14 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+#Client Characteristic Configuration
+2b 00 02 02 29 02 00 00
+
+#Characteristic rx--write
+2c 00 02 03 28 01 08
+2d 00 10 b3 9b 72 34 be ec d4 a8 f4 43 41 88 43 53 53 49 14 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+
+#Characteristic rx-- write without Response
+2e 00 02 03 28 01 04
+2f 00 10 fe 69 ca 9a 56 19 f6 ab 02 4d aa 6d 43 53 53 49 14 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+
+#Characteristic rx tx --read write notify
+30 00 02 03 28 01 2a
+31 0010 18 03 A6 28 5E D8 EC 91 1C 48 A3 AC 43 53 53 49 14 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+#Client Characteristic Configuration
+32 00 02 02 29 02 00 00
+
+
+#End of Attribute list
+00 00
+
+#mem_le_wechat_air_sync_ptr:mem_module_wechat_indication_handle
+#mem_module_wechat_indication_handle:35 38 
+
+#mem_module_wechat_tx_buffer_ptr:mem_wechat_tx_buffer
+#mem_module_wechat_rx_buffer_ptr:mem_wechat_rx_buffer
+
+#mem_le_lap:64 FD 96 2F E8 81
+#mem_le_name_len:
+#'1308 rom ble mou
+
+#mem_le_adv_data_len:03
+#mem_le_adv_data:
+#02 
+#01 #GAP_ADTYPE_FLAGS
+#06 #GAP_ADTYPE_FLAGS_GENERAL |GAP_ADTYPE_FLAGS_BREDR_NOT_SUPPORTED
+
+#05 
+#02 #GAP_ADTYPE_16BIT_MORE
+#E7 FE 00 18
+
+#09 
+#FF #GAP_ADTYPE_MANUFACTURER_SPECIFIC
+#0e 05 #Yichip Microelectronics (Hangzhou) Co.,Ltd.
+#81 E8 2F 96 FD 64
+
+#mem_le_scan_data_len:0e
+
+#mem_le_scan_data:# 1 byte length + 1 byte type + N bytes data
+#'\09Yichip 1308 le
+
+
+
+#eeprom gpio config
+mem_eeprom_wp_gpio:06
+mem_eeprom_scl_gpio:07
+mem_eeprom_sda_gpio:08
+
+
+
+
+#mem_lpm_xtalcnt:70
+
Index: sched/car.dat
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/sched/car.dat	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/sched/car.dat	(working copy)
@@ -0,0 +1,176 @@
+mem_device_option:0e
+mem_le_adv_channel_map:07 
+mem_le_adv_enable:00
+
+
+mem_spi_ncs_gpio:ff
+
+mem_le_pres_auth:01
+mem_le_local_mtu:17
+mem_le_adv_interval:60 01 
+mem_local_rx_max_octets:fb 00 48 08 fb 00 48 08  # 1b
+
+
+mem_le_lap:34 75 07 99 07 2b
+mem_le_name_len:
+'YC-CAR-34
+
+mem_le_adv_data_len:1f
+mem_le_adv_data:
+17 09 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 02 01 05 03 02 ff f0
+
+mem_le_scan_data_len:1f
+mem_le_scan_data:
+1e 09 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
+
+
+mem_le_interval_min:
+18 00 #min interval
+20 00 #max interval
+10 00 #latency
+2c 01 #timeout
+
+
+mem_ui_le_uuid_table:a7 9e  #0x9EA7 BLE_CAR_ATT_LIST
+
+mem_lpm_mode:00
+mem_lpm_overhead:06
+mem_lpm_mult_timeout:02
+mem_car_hard_soft_switch:00
+
+mem_power_param_ptr:mem_car_soft_power
+mem_car_power_off_timeout:0c 0c
+
+mem_ui_button_gpio:ff
+mem_ui_button_timeout:14
+mem_ui_button_last_state:01
+
+
+mem_ui_led_struct_ptr:mem_car_style1_led_type
+mem_ui_led_struct_num:01
+
+#style:01
+mem_car_style1_blink_count:ff
+mem_car_style1_struct_led_gpio:05
+mem_car_style1_on_time:20 03
+mem_car_style1_off_time:20 03
+
+#style:02
+mem_car_style2_blink_count:ff
+mem_car_style2_struct_led_gpio:ff
+mem_car_style2_on_time:20 03
+mem_car_style2_off_time:20 03
+
+mem_car_led_num:01
+mem_car_led_map:
+05
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+
+mem_car_config_blood_led1_gpio:ff
+mem_car_config_pairing_led_gpio:ff
+mem_car_config_low_voltage_led_gpio:ff
+
+mem_keyscan_ptr:mem_car_keyscan
+mem_car_key_num:00
+
+
+mem_car_queue_each_size:14 06
+
+mem_queue_ptr:mem_car_queue_each_size
+
+mem_car_config_pairing_led_conn_status:00
+mem_car_config_soft_switch_enable:00
+mem_car_config_pairing_led_gpio:ff
+mem_car_config_low_voltage_led_gpio:ff
+mem_car_config_soft_switch_gpio:ff
+mem_car_config_low_voltage_percent:14
+mem_car_config_bat_notify_enable:01
+mem_car_config_device_select:03
+mem_car_config_ir_enable:00
+mem_car_config_motor_layout:03
+mem_car_config_ir_rx_gpio:ff
+mem_car_config_led_num:ff
+mem_car_config_blood_led_gpio:ff 09 0a 0b 0c 0d 0e 0f
+
+
+mem_motor1_speed:04
+mem_motor2_speed:04
+mem_motor3_speed:09
+mem_motor1_pwm_set:ff ff 00 05 e8 03 00 00
+mem_motor2_pwm_set:ff ff 00 04 e8 03 00 00
+mem_motor3_pwm_set:ff ff 00 03 e8 03 00 00
+mem_motor_pwm_pin1_set:ff ff 00 02 e8 03 00 00
+
+
+mem_car_notify_vdd_count:14
+mem_notify_bat_packet:07 11 00 5a 6b 01 00 01 00 00
+
+mem_vdd_calculate_set:e0 01 90 01 9a 01 00 00	#full_vol;	empty_vol;	low_vol;	now_vol
+
+mem_ir_notify_data:08 11 00 5a 6b 06 00 02 00 00 00
+
+mem_adc_config_flag:01
+
+mem_car_info_request:0e 11 00 5a 6b 08 00 08 00 00 00 00 00 00 00 00 00
+
+mem_car_led_control_timer:05
+
+
+#mem_car_led_control:01 01 01 01 01 01 01 01
+
+mem_car_motor_gpio_num:04
+mem_car_motor_gpio_map:
+00		#left	INC
+01		#right	IND
+02 		#front	INA
+09		#back	INB
+
+#eeprom config
+mem_eeprom_base:80 1f
+mem_eeprom_wp_gpio:06
+mem_eeprom_scl_gpio:07
+mem_eeprom_sda_gpio:08
+
+
+
+
+#rf config
+mem_24g_data_type:01        #mouse 1,kb 2
+mem_lap:24 34 56 71 07 2b#low 4B used for 24g rxaddr
+mem_tx_power:03	#3dBm
+mem_24g_tx_phy:84#0x01:1M/0x02:2M/0x04:S2/0x84:S8
+mem_24g_rx_phy:84#0x01:1M/0x02:2M/0x04:S2/0x84:S8
+mem_24g_no_ack:00#no ack
+mem_24g_rx_window:30 75#rx
+mem_24g_hop_interval:1e
+mem_24g_ackpayload_enable:00#ack payload enable
+mem_24g_ch_map1:00 13 2c 42
+mem_24g_ch_map2:06 15 36 48
+mem_24g_ch_map3:0f 1a 3a 4c
+mem_24g_ch_map4:11 23 31 4d
+mem_24g_pair_switch:01
+mem_24g_pair_mode:00
+mem_24g_pair_ch:4e
+mem_24g_pair_tx_power:85 #-5dBm
+mem_24g_pair_addr:20 15 10 05
+mem_24g_enter_hibernate:00 48 60#200ms
+mem_rssi_buff_index:07
+mem_rssi_noise_buffer_ptr:mem_car_rssi_noise_buffer
+mem_rssi_noise_self_buffer_ptr:mem_car_rssi_noise_car_buffer
+mem_rssi_noise_device1_buffer_ptr:mem_car_rssi_noise_remote_buffer
+
+#24g rx init end
+
+mem_car_24g_bind_enable_delay_count:0a#500ms
+mem_car_24g_no_data_timeout_count:64 00#10s
+mem_car_enter_lpm_timer_count:b8 0b#5min
+
+
Index: sched/dongle.dat
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/sched/dongle.dat	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/sched/dongle.dat	(working copy)
@@ -0,0 +1,60 @@
+
+#efuse size:28 bytes
+
+#sys config
+#bit7:enable 16M xtal#0:24M#1:16M
+#bit6:enable new channel map
+#bit5:enable eeprom
+#bit4:enable kb icon
+#bit3-0:mem_tx_power#6dBm
+mem_dg_sys_config:06	#6dBm#24M
+#24g new process #default value 00,if need new process set value 01
+#mem_24g_disable_fec1:00
+
+#usb config
+#mem_dg_usb_vid_pid:
+#00 #disable
+#mouse only#auto pair
+#51 31#VID
+#20 10#PID
+#mouse & keyboard
+#51 31#VID
+#20 30#PID
+#mem_dg_usb_tx_interval:00
+#mem_dg_usb_device_name:
+#'123456
+
+
+#rf config
+mem_lap:36 26 10 30#low 4B used for 24g rxaddr
+#mem_24g_tx_phy:01#0x01:1M/0x02:2M/0x04:S2/0x84:S8
+#mem_24g_rx_phy:01#0x01:1M/0x02:2M/0x04:S2/0x84:S8
+#mem_24g_no_ack:00#no ack
+#mem_24g_rx_window:30 75#rx
+mem_24g_hop_interval:1e
+#mem_24g_ackpayload_enable:00#ack payload enable
+#mem_24g_ch_map1:00 13 2c 42
+#mem_24g_ch_map2:06 15 36 48
+#mem_24g_ch_map3:0f 1a 3a 4c
+#mem_24g_ch_map4:11 23 31 4d
+#mem_24g_pair_switch:00
+mem_24g_pair_mode:00
+#mem_24g_pair_ch:4e
+#mem_24g_pair_tx_power:85
+#mem_24g_pair_addr:20 15 10 05
+#mem_24g_ch_map_update:00
+#mem_24g_ch_update_map1
+#mem_24g_ch_update_map2
+#mem_24g_ch_update_map3
+#mem_24g_ch_update_map4
+
+#mem_rssi_buff_index:ff
+#mem_rssi_noise_buffer_ptr:mem_dg_rssi_noise_buffer
+#mem_rssi_noise_self_buffer_ptr:mem_dg_rssi_noise_dg_buffer
+#mem_rssi_noise_device1_buffer_ptr:mem_dg_rssi_noise_ms_buffer
+#mem_rssi_noise_device2_buffer_ptr:mem_dg_rssi_noise_kb_buffer
+
+
+
+
+
Index: sched/esl.dat
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/sched/esl.dat	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/sched/esl.dat	(working copy)
@@ -0,0 +1,191 @@
+mem_device_option:02
+
+#eink config
+mem_scl:0a
+mem_sda:09
+mem_cs:0b
+mem_dc:0c      #Data /Command control pin  
+mem_res:13
+mem_busy:18  #Busy state output pin 
+mem_pb1:19     #Bus selection pin 
+
+mem_eink_init:
+01 74 54 
+01 7e 3b
+02 2b 04 63
+04 0c 8b 9c 96 0f
+01 11 01
+02 21 00 00
+01 3c 01
+01 18 80
+01 22 b1
+00 20
+ff
+
+mem_eink_init_offset:
+03 01 f9 00 00
+02 44 00 10
+04 45 f9 00 00 00
+ff
+
+mem_eink_orig:
+01 4e 00
+02 4f f9 00
+ff
+
+mem_eink_setxy:
+01 4e 00
+02 4f f9 00
+ff
+
+mem_eink_xy:
+#0f f9 00			# 2.13
+#12 27 01			# 2.66
+0f 27 01			# 2.9
+#31 2b 01			# 4.2
+
+mem_eink_size:a0 3a
+
+mem_eink_display:
+01 22 c7
+00 20
+ff
+
+mem_eink_reg_blank:
+01 41 00
+00 27
+ff
+mem_eink_reg_red:
+01 41 01
+00 27
+ff
+
+
+mem_eink_font:
+#1c 32 22 22 22 fe 00 00 # d
+#3e 20 20 1e 20 20 3e 00 # m
+#00 3e 04 04 04 3c 04 00 # u
+#00 22 26 2a 32 22 00 00 # z
+
+06 18 68 c8 28 18 06 00 # A
+fe 92 92 92 92 6c 00 00 # B
+38 44 82 82 82 82 44 00 # C
+fe 82 82 82 82 7c 00 00 # D
+fe 92 92 92 92 82 00 00 # E
+fe 90 90 90 90 80 00 00 # F
+38 44 82 82 92 96 5e 00 # G
+fe 10 10 10 10 10 fe 00 # H
+00 00 82 fe 82 00 00 00 # I
+04 02 02 02 fc 00 00 00 # J
+fe 10 30 48 84 82 02 00 # K
+fe 02 02 02 02 00 00 00 # L
+fe 80 40 30 40 80 fe 00 # M
+fe 40 20 10 08 04 fe 00 # N
+7c c6 82 82 82 c6 7c 00 # O
+fe 90 90 90 90 90 60 00 # P
+7c c6 82 82 86 c2 7e 00 # Q
+fe 90 90 90 90 90 6e 00 # R
+64 92 92 92 92 4c 00 00 # S
+80 80 80 fe 80 80 80 00 # T
+f8 04 02 02 02 04 f8 00 # U
+c0 30 0c 02 0c 30 c0 00 # V
+f0 1c 06 78 78 06 1c f0 # W
+82 44 28 10 10 28 44 82 # X
+80 40 20 1e 20 40 80 00 # Y
+82 c2 a2 92 8a 86 00 00 # Z
+7c 82 82 82 7c 00 00 00 # 0
+40 40 fe 00 00 00 00 00 # 1
+42 86 8a 92 62 00 00 00 # 2
+44 82 92 92 6c 00 00 00 # 3
+18 28 48 fe 08 00 00 00 # 4
+e4 a2 a2 a2 9c 00 00 00 # 5
+7c d2 92 92 4c 00 00 00 # 6
+80 86 98 a0 c0 00 00 00 # 7
+6c 92 92 92 6c 00 00 00 # 8
+64 92 92 96 7c 00 00 00 # 9
+00 08 08 08 00 00 00 00 # -
+00 00 36 36 00 00 00 00 # :
+28 fe 28 fe 28 00 00 00 # #
+00 00 00 00 00 00 00 00 # space
+06 06 00 00 00 00 00 00 # dot
+07 06 00 00 00 00 00 00 # comma
+3c 42 99 a5 a5 9d 46 3c # @
+82 44 44 28 28 10 10 00 # >
+54 38 7c 38 54 00 00 00 # *
+01 e2 a4 e8 17 25 47 80 # %
+
+mem_code93:
+8A # 0
+A4 # 1
+A2 # 2
+A1 # 3
+94 # 4
+92 # 5
+91 # 6
+A8 # 7
+89 # 8
+85 # 9
+D4 # A
+D2 # B
+D1 # C
+CA # D
+C9 # E
+C5 # F
+B4 # G
+B2 # H
+B1 # I
+9A # J
+8D # K
+AC # L
+A6 # M
+A3 # N
+96 # O
+8B # P
+DA # Q
+D9 # R
+D6 # S
+D3 # T
+CB # U
+CD # V
+B6 # W
+B3 # X
+9B # Y
+9D # Z
+97 # -
+EA # .
+E9 # SPACE
+E5 # $
+B7 # /
+BB # +
+D7 # %
+93 # ($)
+ED # (%)
+EB # (/)
+99 # (+)
+AF # * Start/Stop
+
+
+
+#eink log
+mem_eink_log_ring_buffer:
+00 00 00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00 00 00
+mem_eink_log_ring_buffer_flag:00 00 00
+mem_eink_log_front:00
+mem_eink_log_end:00
+mem_eink_log_pend:00
+mem_eink_log_draw_byte:00
+mem_eink_log_last_star:00
+mem_eink_log_last_letter:00
+mem_eink_log_last_cmd:ff
+mem_eink_log_last_ch:ff
+mem_eink_log_last_rssi:00
+mem_eink_log_is_byte:01
+mem_eink_log_letter:3f
+mem_eink_log_cmd:ff
+mem_eink_log_ch:ff
+mem_eink_log_rssi:00
+mem_eink_log_is_byte:01
+mem_eink_log_push_zero:00
+
+
Index: sched/ff.dat
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/sched/ff.dat	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/sched/ff.dat	(working copy)
@@ -0,0 +1,88 @@
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
Index: sched/fpga.dat
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/sched/fpga.dat	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/sched/fpga.dat	(working copy)
@@ -0,0 +1,37 @@
+mem_le_adv_enable:01
+mem_scan_mode:00
+mem_iscan_window:12 00
+mem_iscan_interval:00 10
+mem_pscan_window:12 00
+mem_pscan_interval:00 08
+
+mem_inq_window:20 00
+mem_page_window:20 00
+mem_page_to:00 20
+mem_rx_window_init:80 04
+mem_rx_window_sniff:00 08
+
+mem_lmp_version:08 0e 05 03 00
+
+mem_le_lap:11 22 33
+mem_le_adv_data_len:03
+mem_le_adv_data:
+02 01 0e
+
+mem_le_scan_data_len:0a
+mem_le_scan_data:
+'\09FPGA1308
+
+mem_le_adv_interval:20 00
+mem_le_scan_window:20 00
+mem_le_scan_type:01
+mem_le_adv_own_addr_type:01
+mem_le_adv_channel_map:07
+
+mem_device_option:05
+
+mem_rf_init_data:
+ff
+mem_rf_init_ptr:mem_rf_init_data
+
+
Index: sched/gatt.dat
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/sched/gatt.dat	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/sched/gatt.dat	(working copy)
@@ -0,0 +1,85 @@
+
+#attribute list: handle 2bytes, uuid 2bytes, length 1bytes, attribute Nbytes
+mem_le_att_list:
+
+#Primary service GAP ------
+01 00 00 28 02 00 18
+
+#Device name
+02 00 03 28 01 0a
+03 00 00 2a 0c 41 73 74 20 4c 45 20 4d 6f 75 73 65
+
+#Appearance
+04 00 03 28 01 02
+05 00 01 2a 02 c2 03 #3c2=hid mouse
+
+#Peripheral Preferred Connection Parameters
+06 00 03 28 01 02
+07 00 04 2a 08 06 00 06 00 64 00 2c 01 # interval 6ms, latency 100, timeout 300
+
+#Primary service GATT ------
+08 00 00 28 02 01 18
+
+#Service changed
+09 00 03 28 01 20
+0a 00 05 2a 00
+
+#Client Characteristic Configuration
+0b 00 02 29 02 00 00
+
+#Primary service TX power ------
+0c 00 00 28 02 04 18
+#Characteristic Tx power level
+0d 00 03 28 01 06
+0e 00 07 2a 01 00
+
+
+#Primary service Battery ------
+0f 00 00 28 02 0f 18
+#Characteristic Battery level
+10 00 03 28 01 12
+11 00 19 2a 01 38
+
+#Primary service yichip transmit ------
+12 00 00 28 02 f0 18
+#Characteristic tx--notify
+13 00 03 28 01 12
+14 00 f1 2a 14	# for Android device, ATT MTU is just 23 bytes, so payload is 20 bytes max
+'Test read initial va
+#Client Characteristic Configuration
+15 00 02 29 02 00 00
+#Characteristic rx--write
+16 00 03 28 01 0c
+17 00 f0 2a 14 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+
+#End of Attribute list
+00 00
+
+mem_le_adv_enable:01
+mem_le_adv_data_len:03
+
+mem_le_adv_data:02 01 05
+#flags NOTE: should be included here, or Android will not do connectgatt()
+
+
+mem_le_scan_data_len:17
+
+mem_le_scan_data:	# 1 byte length + 1 byte type + N bytes data
+
+#complete local name
+0e 09 
+#'Ast LE2Serial
+'YiChip BLE2IR
+
+#16bit uuid
+03 03 00 f0
+
+#Apperance
+03 19 40 02
+
+
+mem_le_adv_interval:00 08 
+mem_le_adv_channel_map:07 
+
+mem_lap:77 11 00 33 00 00
+
Index: sched/hci.dat
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/sched/hci.dat	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/sched/hci.dat	(working copy)
@@ -0,0 +1,8 @@
+#device parameters
+mem_lap:88 11 00 33 00 00
+mem_local_name_length:09
+mem_local_name:'Bluetooth
+mem_device_option:01
+mem_ssp_enable:01
+mem_lpm_mode:01
+mem_3v_adc_data:00 00
\ No newline at end of file
Index: sched/hci_boot.dat
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/sched/hci_boot.dat	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/sched/hci_boot.dat	(working copy)
@@ -0,0 +1,7 @@
+
+mem_device_option:0c
+
+mem_rf_init_data:
+ff
+mem_rf_init_ptr:mem_rf_init_data
+
Index: sched/le_prcp.dat
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/sched/le_prcp.dat	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/sched/le_prcp.dat	(working copy)
@@ -0,0 +1,77 @@
+#attribute list: handle 2bytes, uuid 2bytes, length 1bytes, attribute Nbytes
+mem_le_att_list:
+
+#Primary service GAP ------
+01 00 00 28 02 00 18
+
+#Device name
+02 00 03 28 01 0a
+03 00 00 2a 0c 41 73 74 20 4c 45 20 4d 6f 75 73 65
+
+#Appearance
+04 00 03 28 01 02
+05 00 01 2a 02 c2 03 #3c2=hid mouse
+
+#Peripheral Preferred Connection Parameters
+06 00 03 28 01 02
+07 00 04 2a 08 06 00 06 00 64 00 2c 01 # interval 6ms, latency 100, timeout 300
+
+#Primary service GATT ------
+08 00 00 28 02 01 18
+
+#Service changed
+09 00 03 28 01 20
+0a 00 05 2a 00
+
+#Client Characteristic Configuration
+0b 00 02 29 02 00 00
+
+#Primary service TX power ------
+0c 00 00 28 02 04 18
+#Characteristic Tx power level
+0d 00 03 28 01 06
+0e 00 07 2a 01 00
+
+
+#Primary service Battery ------
+0f 00 00 28 02 0f 18
+#Characteristic Battery level
+10 00 03 28 01 12
+11 00 19 2a 01 38
+
+#Primary service yichip PRCP ------
+12 00 00 28 02 f1 18
+#Characteristic device tx
+13 00 03 28 01 12
+14 00 f3 2a 14 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+#Client Characteristic Configuration
+15 00 02 29 02 00 00
+#Characteristic device rx
+16 00 03 28 01 0e
+17 00 f2 2a 14 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+#End of Attribute list
+00 00
+
+mem_le_adv_data_len:1b
+mem_le_adv_data:0c 09
+'Yichip Temp
+ 03 19 40 02 02 01 05 02 0a 00 03 03 f1 18
+mem_le_scan_data_len:00
+#mem_le_adv_param:00 08 00 08 00 01 00 00 00 00 00 00 00 07 00
+mem_le_adv_enable:01
+
+
+mem_le_adv_interval:20 00 
+mem_le_adv_type:00 
+mem_le_adv_own_addr_type:01 
+mem_le_adv_direct_addr:00 00 00 00 00 00 
+mem_le_adv_channel_map:07 
+
+mem_le_notify_handle:14
+
+mem_lpm_mode:00
+#mem_lpm_ctrl:0f 0f 10 06
+mem_lpm_xtalcnt:0c 10 ca 1f
+mem_device_option:0d
+mem_le_lap:45 67 78 89 90 56
+
Index: sched/le_transmit_uuid.dat
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/sched/le_transmit_uuid.dat	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/sched/le_transmit_uuid.dat	(working copy)
@@ -0,0 +1,62 @@
+mem_device_option: 01
+
+#attribute list: handle 2bytes, uuid 2bytes, length 1bytes, attribute Nbytes
+mem_le_att_list:
+
+#Primary service GAP ------
+01 00 00 28 02 00 18
+
+#Device name
+02 00 03 28 01 0a
+03 00 00 2a 0c 41 73 74 20 4c 45 20 4d 6f 75 73 65
+
+#Appearance
+04 00 03 28 01 02
+05 00 01 2a 02 c2 03 #3c2=hid mouse
+
+#Peripheral Preferred Connection Parameters
+06 00 03 28 01 02
+07 00 04 2a 08 06 00 06 00 64 00 2c 01 # interval 6ms, latency 100, timeout 300
+
+#Primary service GATT ------
+08 00 00 28 02 01 18
+
+#Service changed
+09 00 03 28 01 20
+0a 00 05 2a 00
+
+#Client Characteristic Configuration
+0b 00 02 29 02 00 00
+
+#Primary service TX power ------
+0c 00 00 28 02 04 18
+#Characteristic Tx power level
+0d 00 03 28 01 06
+0e 00 07 2a 01 00
+
+
+#Primary service Battery ------
+0f 00 00 28 02 0f 18
+#Characteristic Battery level
+10 00 03 28 01 12
+11 00 19 2a 01 38
+
+#Primary service yichip transmit ------
+12 00 00 28 02 f0 18
+#Characteristic tx--notify
+13 00 03 28 01 12
+14 00 f1 2a 17 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+#Client Characteristic Configuration
+15 00 02 29 02 00 00
+#Characteristic rx--write
+16 00 03 28 01 0c
+17 00 f0 2a 17 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+
+#End of Attribute list
+00 00
+
+mem_le_adv_data_len:1b
+mem_le_adv_data:0c 09 52 74 72 69 76 72 5f 52 36 32 31 03 19 40 02 02 01 05 02 0a 00 03 03 00 f0
+mem_le_scan_data_len:00
+mem_le_adv_param:00 08 00 08 00 01 00 00 00 00 00 00 00 07 00
+mem_le_adv_enable:01
Index: sched/mesh.dat
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/sched/mesh.dat	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/sched/mesh.dat	(working copy)
@@ -0,0 +1,178 @@
+
+
+#mem_mesh_three_tuple_ProductID:
+#灯
+#00 5F 74 FC
+#18 14 6c 11 eb f1
+#33 42 99 b0 e7 0b f6 5e 68 67 bd 9a a7 42 b9 b9
+
+#风扇灯
+#00 5F 7A D1
+#486e703cafa8
+#55c742493aac4fba2d9aae6c5b6cc061
+
+#00 5F 7A D1
+#486e703cafa9
+#c435c7f0e6e2b4c6a9dc4f6f3eaf9fa3
+
+#四键开关
+#00 5F 7C 48
+#486e703efaff
+#f5816553a881fbc734b6562ebdeb6d58
+
+mem_le_scan_window:40 00	#40ms
+
+mem_le_adv_type:00
+#ADV_NONCONN_IND
+
+
+#########mesh fast pairing setting#############
+mem_mesh_Device_PID:51 
+# Bit0,1,2,3:  BLE ADV VERSION   
+#bit4:1 (defult) 
+#bit5:suport OTA 1(defult) 
+#bit 6,7:
+#00	(BLE 4.0)
+#01 (defult BLE 4.2) 
+#10 (BLE 5.0) 
+#11 (BLE above 5.0 )
+
+mem_mesh_UUID_FeatureFlag:02 #bit 1-7:UUID VERSION bit0:ADV STATE
+mem_mesh_PDU_RFU: 07 00
+
+mem_mesh_OOB_information:00 00
+
+#################
+
+
+mem_device_option:0b
+
+mem_mesh_send_message_TTL:03
+
+
+mem_mesh_sha256_ConfirmationKey_ascii:
+43 6f 6e 66 69 72 6d 61 74 69 6f 6e
+4b 65 79
+
+mem_mesh_sha256_SessionKey_ascii:
+53 65 73 73 69 6f 6e
+4b 65 79
+
+mem_mesh_sha256_DeviceKey_ascii:
+44 65 76 69 63 65
+4b 65 79
+
+
+mem_k2_P_len:
+01 00
+mem_k2_SALT:
+4f 90 48 0c 18 71 bf bf fd 16 97 1f 4d 8d 10 b1
+mem_k4_SALT:
+0e 9a c1 b7 ce fa 66 87 4c 97 ee 54 ac 5f 49 be
+mem_k4_id6_01:
+69 64 36 01
+
+
+mem_seqi:7f
+
+mem_mesh_element_number:
+01
+mem_mesh_element_device_ptr:mem_mesh_element_device
+
+mem_mesh_element_device_length:
+1B 00
+
+mem_mesh_element_device:
+c0 00	#灯组播地址
+#c0 01	#开关组播地址
+
+mem_mesh_element_device_queue_buffer_ptr:mem_mesh_element_device_queue_each_size
+mem_mesh_element_device_queue_each_size:
+22 04
+
+mem_mesh_element_upper_queue_buffer_ptr:mem_mesh_element_device_upper_queue_each_size
+mem_mesh_element_device_upper_queue_each_size:
+2F 04
+
+mem_mesh_network_relay_queue_each_size:
+22 04 
+
+mem_mesh_element_device1:
+#C0 07	#风扇组播地址
+c0 01	#开关组播地址
+#00 00
+
+mem_mesh_element_device2:
+c0 01	#开关组播地址
+#00 00
+
+
+mem_mesh_core_feature:
+08
+#bit0 
+#bit1 
+
+mem_k3_SALT:
+00 36 44 35 03 f1 95 cc 8a 71 6e 13 62 91 c3 02
+
+mem_k3_id64_01:
+69 64 36 34 01
+
+mem_ui_le_uuid_table:mem_mesh_le_att_list
+mem_mesh_le_att_list:
+#Primary service yichip transmit ------
+01 00 02 00 28 02 01 18
+#Service Changed
+02 00 02 03 28 01 20
+03 00 02 05 2a 01 00
+#Client Characteristic Configuration
+04 00 02 02 29 02 01 00
+
+#Primary service GAP ------
+05 00 02 00 28 02 00 18
+
+#Device name
+06 00 02 03 28 01 4e
+07 00 02 00 2a 13 41 73 74 20 4c 45 20 4d 6f 75 73 65 20 20 20 20 20 20 20
+
+#Apperance
+08 00 02 03 28 01 4e
+09 00 02 01 2a 02 00 00
+
+#Perpheral Preferred Connection Parameters
+0a 00 02 03 28 01 02
+0b 00 02 04 2a 08 10 00 20 00 05 00 2c 01
+
+#Mesh Proxy Service Declaration
+0c 00 02 00 28 02 28 18
+#Mesh Proxy Data In Characteristic Declaration
+#Mesh Proxy Data In Characteristic Value
+#Characteristic --write without response
+0d 00 02 03 28 01 04
+0e 00 02 DD 2A 01 00
+#Mesh Proxy Data Out Characteristic Declaration
+#Mesh Proxy Data Out Characteristic Value
+#Mesh Proxy Data Out Client Characteristic Configuration
+#Characteristic --notify
+0f 00 02 03 28 01 10
+10 00 02 DE 2A 01 00
+#Client Characteristic Configuration
+11 00 02 02 29 02 00 00
+
+00 00
+
+mem_le_adv_interval:f0 00
+mem_le_adv_channel_map:07
+
+#ac 50hz detect
+mem_eeprom_base:00 1f
+
+
+mem_rf_init_data:
+# xtal 16M
+ff
+mem_rf_init_ptr:mem_rf_init_data
+
+#NEC
+mem_nec_decode_error_value:0a
+
Index: sched/meter.dat
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/sched/meter.dat	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/sched/meter.dat	(working copy)
@@ -0,0 +1,82 @@
+mem_patch00:28
+mem_patch05:18 01
+mem_patch26:44
+mem_patch27:22
+mem_patch28:02
+mem_patch29:10
+mem_patch2a:10
+mem_patch2b:04
+mem_patch2c:88
+
+
+mem_le_lap:ff ff ff ff ff 2a
+
+mem_le_adv_data_len:03
+mem_le_adv_data:
+02 01 0e
+
+mem_le_scan_data_len:07
+mem_le_scan_data:
+'\09Meter
+
+mem_le_adv_enable:01
+mem_le_adv_interval:60 01
+
+#master setting
+mem_le_scan_type:01
+mem_le_scan_window:20
+mem_le_conn_interval:68
+mem_le_timeout:c0 01
+mem_le_conn_peer_addr:01 ff ff ff ff 2a
+mem_hci_conn_handle:00
+mem_att_cmd_len:07
+mem_att_cmd:
+10 01 00 ff ff 00 28
+
+mem_ui_le_uuid_table:mem_meter_att_list
+
+mem_meter_att_list:
+#attribute list: handle 2bytes, uuid 2bytes, length 1bytes, attribute Nbytes
+#Primary service GAP ------
+01 00 02 00 28 02 00 18
+#Device name
+02 00 02 03 28 01 0a
+03 00 02 00 2a
+'Yichip meter
+
+#Appearance
+04 00 02 03 28 01 02
+05 00 02 01 2a 02 c8 00 #3c2=hid mouse
+
+#Peripheral Preferred Connection Parameters
+06 00 02 03 28 01 02
+07 00 02 04 2a 08 08 00 20 00 10 00 58 02 # interval 6ms, latency 100, timeout 600
+
+#Primary service yichip transmit ------
+08 00 02 00 28 02 f0 ff
+
+09 00 02 03 28 01 12
+0a 00 02 f1 ff 08 00 00 00 00 00 00 00 00
+0b 00 02 02 29 02 00 00
+
+0c 00 02 03 28 01 08
+0d 00 02 f2 ff 08 00 00 00 00 00 00 00 00
+#End of Attribute list
+00 00
+
+mem_gpio_wakeup_low:00 00 00 00 00 00 00 00
+mem_lpm_config:8f 1d ca	#4khz
+mem_lpm_xtalcnt:00 0a 0b ef 07
+mem_lpm_hibernate_switch:00
+
+mem_rx_window_init:80 04
+mem_rx_window_sniff:00 06
+mem_le_rx_window_inc:00 00
+
+mem_rf_init_data:
+# xtal 16M
+ff
+
+mem_patch18:10
+mem_rf_init_ptr:mem_rf_init_data
+
Index: sched/mouse.dat
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/sched/mouse.dat	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/sched/mouse.dat	(working copy)
@@ -0,0 +1,61 @@
+#mem_device_option:08	#08 mouse
+
+mem_lap:51 30 24 22
+#mem_lpm_ctrim:1f		#xtal offset
+#3+4=7Bytes
+
+mem_mouse_discovery_timeout:b0 04	#2min
+mem_mouse_24g_pair_timeout_init:08 00  #800ms	    24g reconn timer&pair timer
+mem_mouse_direct_timeout:32  #05s
+mem_mouse_24g_reconn_timeout_init:05 #500ms
+
+mem_mouse_24g_pair_tx_power:94 #-20dBm
+mem_rssi_dis_min_24g_init:85
+mem_rssi_dis_max_24g_init:90
+mem_rssi_hex_received_max_value_init:63
+mem_rssi_dis_min_ble_init:75
+mem_rssi_dis_max_ble_init:80
+
+
+#bit6-7:custom_key_set:00--win+d     01--ctrl+alt+a    02--ie home    03--play
+#bit5:MOUSE_ENABLE_KEYBOARD				1--enable  0--disable
+#bit4:MOUSE_ENABLE_DPI_LEVEL_4				1--4level   0--3level
+#bit3:MOUSE_ENABLE_16M						1--16M     0--24M
+#bit2:MOUSE_ENABLE_24G_250Hz   				1--250Hz   0--125Hz
+#bit1:MOUSE_ENABLE_24G_SEARCH_DONGLE    	1--enable  0--disable
+#bit0:MOUSE_ENABLE_ADC   					1--enable  0--disable
+mem_mouse_enable_flag:03
+
+#bit6-7 :mem_24g_long_sleep_set_level    00--30ms   01--50ms  02--80ms  03--100ms
+#bit4-5 :mem_adc_config_flag_init   00-vinlpm   01-hvin   02-gpio
+#bit3 :mem_24g_ch_map_update   00--disable   01--enable
+#bit0-2 :mem_adc_channel   #00-gpio4   01-gpio5   02-gpio6  03-gpio7    04-gpio9  05-gpio10  06-gpio11  07-gpio12
+mem_mouse_global_setup:83
+
+#bit6-7:mem_device_number  01--only 2.4g   10--2.4g+ble
+#bit5: mem_24g_disable_fec1 00--24g 1/3fec   01--24g new process
+#bit4: mem_config_sensor_dpi 00--1200  01--1600
+#bit2-3:mem_sensor_angle_switch  00--6CLK   01--9CLK   02--12CLK   03--3CLK
+#bit0-1:mem_sensor_angle_default  00--6CLK   01--9CLK   02--12CLK   03--3CLK
+mem_mouse_global_setup1:82
+
+
+mem_bk_button_gpio:0a
+mem_fw_button_gpio:0b
+mem_dpi_button_gpio:0c
+mem_matrix_public_gpio:ff
+mem_sensor_motion_gpio:ff
+mem_customer_key_gpio:ff
+mem_whee_a_data_gpio:05
+mem_whee_b_data_gpio:04
+mem_config_device_24g_led_gpio:89
+mem_select_sensor_angle_gpio:ff
+mem_mouse_reuse_2ice_gpio:ff
+
+
+#3+27=30Bytes
+#7+30=37Bytes
+
+
+
+
Index: sched/remote_car.dat
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/sched/remote_car.dat	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/sched/remote_car.dat	(working copy)
@@ -0,0 +1,47 @@
+
+#mem_lpm_ctrim:1f		#xtal offset
+mem_fcomp_div:18		#xtal select 18 24M   08 16M
+
+#mem_device_option:0d
+
+mem_remote_style_struct_led_gpio:06
+mem_remote_car_led_num:01
+mem_remote_car_led_map:
+06
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+
+
+mem_remote_car_key_num:04
+mem_remote_car_key_conf0:
+#0
+03
+#1
+04
+#2
+05
+#3
+07
+#4
+02
+#5
+0a
+#6
+17
+
+mem_24g_tx_phy:84#0x01:1M/0x02:2M/0x04:S2/0x84:S8
+mem_24g_rx_phy:84#0x01:1M/0x02:2M/0x04:S2/0x84:S8
+mem_24g_pair_tx_power:85 #-5dBm
+
+
+mem_lap:01 02 03 04 05 06
+
+mem_eeprom_base:80 1f		//2keeprom:f0 00
+
+
+
Index: sched/rtrivr_uuid.dat
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/sched/rtrivr_uuid.dat	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/sched/rtrivr_uuid.dat	(working copy)
@@ -0,0 +1,75 @@
+#attribute list: handle 2bytes, uuid 2bytes, length 1bytes, attribute Nbytes
+mem_le_att_list:
+
+#Primary service GAP ------
+01 00 00 28 02 00 18
+
+#Device name
+02 00 03 28 01 0a
+03 00 00 2a 0c 41 73 74 20 4c 45 20 4d 6f 75 73 65
+
+#Appearance
+04 00 03 28 01 02
+05 00 01 2a 02 c2 03 #3c2=hid mouse
+
+#Peripheral Preferred Connection Parameters
+06 00 03 28 01 02
+07 00 04 2a 08 06 00 06 00 64 00 2c 01 # interval 6ms, latency 100, timeout 300
+
+#Primary service GATT ------
+08 00 00 28 02 01 18
+
+#Service changed
+09 00 03 28 01 20
+0a 00 05 2a 00
+
+#Client Characteristic Configuration
+0b 00 02 29 02 00 00
+
+#Primary service TX power ------
+0c 00 00 28 02 04 18
+#Characteristic Tx power level
+0d 00 03 28 01 06
+0e 00 07 2a 01 00
+
+#Primary service Immediate alert ------
+0f 00 00 28 02 02 18
+#Characteristic Alert level
+10 00 03 28 01 04
+11 00 06 2a 01 00
+
+#Primary service UUID:f003 ------
+12 00 00 28 02 03 f0
+#Characteristic UUID:f803
+13 00 03 28 01 04
+14 00 03 f8 01 00
+
+
+#Primary service Link loss alert ------
+15 00 00 28 02 03 f0
+#Characteristic Alert level
+16 00 03 28 01 0a
+17 00 06 2a 01 00
+
+#Primary service UUID:f002 ------
+18 00 00 28 02 02 f0
+#Characteristic UUID:f802
+19 00 03 28 01 12
+1a 00 02 f8 01 28
+1b 00 02 29 02 00 00
+
+#Primary service Battery ------
+1c 00 00 28 02 0f 18
+#Characteristic Battery level
+1d 00 03 28 01 12
+1e 00 19 2a 01 38
+
+
+#End of Attribute list
+00 00
+
+mem_le_adv_data_len:1b
+mem_le_adv_data:0c 09 52 74 72 69 76 72 5f 52 36 32 31 03 19 40 02 02 01 05 02 0a 00 03 03 00 f0
+mem_le_scan_data_len:00
+mem_le_adv_param:00 08 00 08 00 01 00 00 00 00 00 00 00 07 00
+mem_le_adv_enable:01
Index: sched/shutter.dat
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/sched/shutter.dat	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/sched/shutter.dat	(working copy)
@@ -0,0 +1,27 @@
+
+mem_le_lap:17 31 20 98 07 2a
+mem_le_name_len:
+'AB Shutter3
+
+#mem_shutter_key_conf0_temp
+#2 mem_shutter_key_conf0_temp
+#1 mem_shutter_led_struct_app_led_gpio_temp
+#1 mem_shutter_hard_soft_switch_case_temp
+#1 mem_shutter_soft_switch_button_gpio_temp
+mem_shutter_key_conf0_temp:12 07 04 01 07
+
+
+
+#with eeprom
+mem_device_option:09
+mem_lpm_ctrim:1f		#xtal offset
+mem_lpm_xtalcnt:70
+#mem_dig_aon_vsel:00
+#hw agc
+mem_gain_fix:ff
+#mem_gain_second_agc_en:00
+
+mem_tx_power:06
+
+
+
Index: sched/sim.dat
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/sched/sim.dat	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/sched/sim.dat	(working copy)
@@ -0,0 +1,29 @@
+mem_page_window:20 00
+mem_page_to:00 20
+mem_pscan_window:00 02
+mem_iscan_window:00 02
+mem_pscan_interval:00 08
+mem_rx_window_init:00 0c
+mem_lap:77 11 00 33 00 00
+mem_lpm_xtalcnt:03 0a 1b af 07
+mem_lpm_ctrl3:30 80 10 24
+
+mem_le_lap:11 22 33
+mem_le_adv_data_len:1b
+mem_le_adv_data:0c 09
+'Yichip Temp
+ 03 19 40 02 02 01 05 02 0a 00 03 03 f1 18
+mem_le_ch_mapped:24
+mem_le_adv_interval:20 00
+mem_le_scan_window:20 00
+mem_le_scan_type:01
+mem_le_adv_own_addr_type:01
+
+
+mem_vdk:20 60
+
+mem_patch00:01
+
+4580:ff
+mem_rf_init_ptr:80 45		
+
Index: sched/spp.dat
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/sched/spp.dat	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/sched/spp.dat	(working copy)
@@ -0,0 +1,206 @@
+#device option
+mem_device_option:04
+
+#spp uuid
+mem_uuid_list:
+04
+10
+02
+12
+00
+01
+00
+00
+01
+00
+01
+00
+01
+36
+00
+5a
+09
+00
+00
+0a
+00
+01
+00
+01
+09
+00
+01
+35
+03
+19
+12
+00
+09
+00
+04
+35
+0d
+35
+06
+19
+01
+00
+09
+00
+01
+35
+03
+19
+00
+01
+09
+00
+05
+35
+03
+19
+10
+02
+09
+00
+09
+35
+08
+35
+06
+19
+12
+00
+09
+01
+00
+09
+02
+00
+09
+01
+03
+09
+02
+01
+09
+05
+ac
+09
+02
+02
+09
+02
+39
+09
+02
+03
+09
+06
+44
+09
+02
+04
+28
+01
+09
+02
+05
+09
+00
+02
+03
+11
+01
+00
+03
+01
+00
+00
+01
+00
+03
+36
+00
+4e
+09
+00
+00
+0a
+00
+01
+00
+03
+09
+00
+01
+35
+03
+19
+11
+01
+09
+00
+02
+0a
+00
+00
+00
+00
+09
+00
+04
+35
+0c
+35
+03
+19
+01
+00
+35
+05
+19
+00
+03
+08
+01
+09
+00
+05
+35
+03
+19
+10
+02
+09
+00
+06
+35
+09
+09
+65
+6e
+09
+00
+6a
+09
+01
+00
+09
+01
+00
+25
+0a
+53
+50
+50
+20
+73
+6c
+61
+76
+65
+00
+00
+00
+01
Index: sched/ssp.dat
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/sched/ssp.dat	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/sched/ssp.dat	(working copy)
@@ -0,0 +1,261 @@
+#memk, for reva-c only
+4b00:
+98    
+2f    
+8a    
+42    
+91    
+44    
+37    
+71    
+CF    
+FB   
+C0   
+B5    
+A5    
+DB   
+B5    
+E9    
+5B    
+C2    
+56   
+39    
+F1    
+11    
+F1    
+59    
+A4    
+82    
+3F    
+92    
+D5    
+5E    
+1C    
+AB    
+98    
+AA    
+07    
+D8    
+01   
+5B    
+83   
+12    
+BE    
+85   
+31    
+24    
+C3    
+7D    
+0C    
+55    
+74   
+5D    
+BE    
+72    
+FE    
+B1    
+DE    
+80    
+A7    
+06    
+DC    
+9B    
+74    
+F1    
+9B    
+C1    
+C1    
+69    
+9B    
+E4    
+86    
+47    
+BE    
+EF    
+C6    
+9D    
+C1    
+0F    
+CC    
+A1    
+0C    
+24    
+6F    
+2C    
+E9    
+2D    
+AA    
+84    
+74    
+4A    
+DC    
+A9    
+B0    
+5C    
+DA    
+88    
+F9    
+76    
+52    
+51    
+3E    
+98    
+6D    
+C6    
+31    
+A8    
+C8    
+27   
+03    
+B0    
+C7    
+7F    
+59    
+BF    
+F3    
+0B    
+E0    
+C6    
+47    
+91    
+A7    
+D5    
+51   
+63    
+CA    
+06    
+67    
+29    
+29    
+14    
+85    
+0A    
+B7    
+27    
+38    
+21    
+1B    
+2E    
+FC    
+6D   
+2C    
+4D    
+13    
+0D    
+38    
+53    
+54    
+73    
+0A    
+65    
+BB   
+0A   
+6A    
+76    
+2E   
+C9   
+C2   
+81    
+85   
+2C   
+72    
+92    
+A1    
+E8    
+BF    
+A2    
+4B    
+66    
+1A    
+A8    
+70    
+8B    
+4B    
+C2    
+A3    
+51    
+6C    
+C7    
+19    
+E8    
+92    
+D1    
+24    
+06   
+99   
+D6   
+85   
+35   
+0E    
+F4  
+70    
+A0    
+6A    
+10    
+16    
+C1    
+A4    
+19    
+08   
+6C    
+37    
+1E    
+4C    
+77    
+48    
+27    
+B5    
+BC    
+B0    
+34    
+B3    
+0C    
+1C    
+39    
+4A    
+AA    
+D8   
+4E    
+4F    
+CA   
+9C   
+5B    
+F3   
+6F    
+2E   
+68    
+EE    
+82   
+8F   
+74    
+6F   
+63    
+A5    
+78    
+14    
+78    
+C8    
+84   
+08    
+02   
+C7    
+8C   
+FA   
+FF    
+BE    
+90   
+EB    
+6C    
+50   
+A4   
+F7    
+A3    
+F9    
+BE    
+F2    
+78    
+71    
+C6    
+
+
+
Index: sched/test.dat
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/sched/test.dat	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/sched/test.dat	(working copy)
@@ -0,0 +1,84 @@
+#mem_patch06:0c
+#mem_patch0e:80
+#mem_patch10:20
+
+mem_iscan_window:20 00
+mem_iscan_interval:00 03
+mem_pscan_window:12 00
+mem_pscan_interval:00 08
+
+
+mem_lap:77 11 00 33 00 00
+mem_le_lap:88 11 00 33 00 00
+mem_device_option:07
+mem_local_name_length:
+'REVB
+
+mem_seqi:7f
+
+mem_lpm_mult:20
+mem_lpm_mult_timeout:03
+mem_lpm_overhead:05
+mem_scan_mode:03
+mem_le_adv_enable:00
+mem_le_scan_enable:00
+
+mem_class:cc 25 00
+mem_features:
+ff
+ff
+8f
+f8	#fe--EDR  F8--BR
+9b	#AFHclose 83
+9d
+59
+83
+
+
+
+#iic test
+mem_eeprom_wp_gpio:00
+mem_eeprom_scl_gpio:01
+mem_eeprom_sda_gpio:02
+
+mem_iic_test_rxbuf:
+00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00
+
+mem_iic_test_txbuf1:
+00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00
+00 00 00 00 00 00 00 00
+
+mem_iic_test_txbuf2:
+ff ff ff ff ff ff ff ff
+ff ff ff ff ff ff ff ff
+ff ff ff ff ff ff ff ff
+ff ff ff ff ff ff ff ff
+ff ff ff ff ff ff ff ff
+ff ff ff ff ff ff ff ff
+ff ff ff ff ff ff ff ff
+ff ff ff ff ff ff ff ff
+
+#50hz
+mem_ac_50hz_buf:00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+
+#spi test
+mem_spi_test_write_buff:88 77 66 55
+mem_spi2_test_write_buff:44 33 22 11
+mem_spi_ctrl_test_param_buff:40 70 41 71 42 72 43 73 44 74 45 75 46 76 47 77 ff
+mem_spi2_ctrl_test_param_buff:40 70 41 71 42 72 43 73 44 74 45 75 46 76 47 77 ff
+
+
+
Index: util/crc16.exe
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: util/crc16.exe
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: util/crc16.pl
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/util/crc16.pl	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/util/crc16.pl	(working copy)
@@ -0,0 +1,27 @@
+$debug = 0;
+$crc = 0xffff;
+$i = 0;
+$offset = 0xffff;
+$source_file = $ARGV[0];
+$offset = $ARGV[1];
+
+open(EEP,"$source_file") or die $!;
+
+while (<EEP>) {    
+	$c = hex();
+
+  if($i >= $offset){
+  	if($debug){printf "%02x\t", $c;}
+  	$crc  = ($crc >> 8) | ($crc << 8);
+		$crc ^= $c & 0xff;
+		$crc ^= ($crc & 0xff) >> 4;
+		$crc ^= $crc << 12;
+		$crc ^= ($crc & 0xff) << 5;
+		$crc &= 0xffff;
+  }
+  $i ++;
+  if($debug){printf "%02x\t", $crc;}
+  printf "%02x\n", $c;
+}
+
+printf "%02x\n%02x\n", (($crc >> 8) & 0xff),($crc & 0xff);
Index: util/eeprom2fulleeprom.exe
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: util/eeprom2fulleeprom.exe
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: util/eeprom2fulleeprom.pl
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/util/eeprom2fulleeprom.pl	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/util/eeprom2fulleeprom.pl	(working copy)
@@ -0,0 +1,18 @@
+
+
+
+$source_file = $ARGV[0];
+$eeprom_size = $ARGV[1];
+
+open(EEP,"$source_file") or die("cannot open files");
+for ($i = 1 ;$i<=$eeprom_size*128-2;$i++)
+{
+
+    while (<EEP>) { 
+        $c = hex();
+        printf "%02x\n", $c;
+        $i++;
+    }
+
+	printf "FF\n";
+}
Index: util/mergepatch.pl
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/util/mergepatch.pl	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/util/mergepatch.pl	(working copy)
@@ -0,0 +1,276 @@
+#!/usr/bin/perl
+$defs = "";
+
+sub alloc {
+	my($end, %mc) = @_;
+	my(%eadr) = ();
+	my($tstr, $str, $i, $j, $addr);
+	my($tstr) = "";
+	
+	foreach $i (sort keys %mc) {
+		if($i =~ /(.+)_(.+)/ && exists($eadr{$1})) {
+			$addr = $eadr{$1};
+		} else {
+			$addr = $end;
+		}
+		for($j = 0;$j <= $#{$mc{$i}};$j++) {
+			if($mc{$i}[$j] =~ /^\s*([0-9]+)\s+([a-zA-Z0-9_]+)\s*(.*)$/) {
+				$str = sprintf "0x%04x %s%s\n", $addr, $2, $3;
+				$var{$2} = $addr;
+				$addr += $1;
+				$tstr .= $str;
+			}
+		}
+		$eadr{$i} = $addr;
+	}
+	if($addr > 0x4000) {
+		$xend = $addr if($addr > $xend);
+	} else {
+		$bend = $addr if($addr > $bend);
+	}
+	return $tstr . "\n";
+}
+
+
+sub malloc {
+	$path="output/bt_format.meta";
+	open file, $path;
+	@f = <file>;
+	close file;
+	open file, ">$path";
+	$path =~ s/\/.*//;
+	open file1, ">output/memmap.format";
+	$xaddr = 0x4000;
+	$addr = 0;
+	if($#ARGV == 1) {
+		$addr = hex($ARGV[0]);
+		$xaddr = hex($ARGV[1]);
+	}
+	for($i = 0, $ocnt = 0;$i < @f;$i++) { 
+		$_ = $f[$i];
+		$start = 1 if(/^\s*memalloc\s*\(\s*$/);		# allocate from 0
+		$start = 2 if(/^\s*xmemalloc\s*\(\s*$/);	# allocate from 4000
+		$start = 3 if(/^\s*omemalloc\s*\(\s*$/);	# allocate after all xmemalloc, mutex from each other(obsolete, for compatibility)
+		if(/^\s*([ax]*)memalloc\s+([a-zA-Z_0-9]+)\s*\(\s*$/) {
+			$start = $1 eq 'a' ? 5 : $1 eq 'x' ? 6 : 7;
+			$basev = $2;
+		}
+		if($start) {
+			if(/^\s*([a-zA-Z0-9_]+)\s+([a-zA-Z0-9_]+)\s*(.*)$/ && exists($def2{$1})) {		# macro for size
+				$_ = sprintf("%s %s %s", $def2{$1}, $2, $3);
+			}
+			if(/^\s*([0-9]+)\s+([a-zA-Z0-9_]+)\s*(.*)$/) {
+				if($start == 1) {
+					$str = sprintf "0x%04x %s%s\n", $addr, $2, $3;
+					$var{$2} = $addr;
+					$addr += $1;
+					$bstr .= $str;
+				} elsif($start == 2) {
+					$str = sprintf "0x%04x %s%s\n", $xaddr, $2, $3;
+					$var{$2} = $xaddr;
+					$xaddr += $1;
+					$xstr .= $str;
+				} else {
+					push @ostr, $_;
+				}
+			}
+			if(/^\s*\)\s*$/) {
+				if(@ostr > 0) {
+					if($start == 3) {
+						push @{$xmalloc{$ocnt}}, @ostr;
+						$ocnt++;
+					} elsif($start == 5) {
+						push @aaddr,$basev;
+						push @amalloc,[@ostr];
+					} elsif($start == 6) {
+						push @{$xmalloc{$basev}}, @ostr;
+					} elsif($start == 7) {
+						push @{$malloc{$basev}}, @ostr;
+					} 
+				}
+				$start = 0;
+				@ostr = ();
+			}
+		} else {
+			$def2{$2} = $1 if(/^\s*([0-9]+)\s+([a-zA-Z0-9_]+)\s*(.*)$/);
+			$sstr .= $_;
+		}
+	}
+	
+#--------------------- o/x/memalloc process -----------------------
+	$bend = $addr, $xend = $xaddr;
+	$bstr .= alloc($addr, %malloc);
+	$xstr .= alloc($xaddr, %xmalloc);
+
+#--------------------- amemalloc process -----------------------
+	for($i = 0;$i <= $#aaddr;$i++) {
+		for($j = 0, $addr = $aaddr[$i] =~ /^0x([0-9a-f]+)/ ? hex($1) : $var{$aaddr[$i]};$addr != 0 && $j <= $#{$amalloc[$i]};$j++) {
+			if($amalloc[$i][$j] =~ /^\s*([0-9]+)\s+([a-zA-Z0-9_]+)\s*(.*)$/) {
+				$str = sprintf "0x%04x %s%s\n", $addr, $2, $3;
+				$addr += $1;
+				if($addr < 0x4000) {
+					$bstr .= $str;
+				} else  {
+					$xstr .= $str;
+				}
+			}
+		}
+	}
+
+	
+	print file $bstr, $xstr, $sstr;
+	print file1 $bstr, $xstr;
+	close file;
+	close file1;
+	printf "\nLast allocated address is %04x\n", $bend;
+	printf "\nLast allocated xmem address is %04x\n", $xend;
+}
+
+
+sub parseif {
+	my($fname) = @_;
+	open file, $fname;
+	@f = <file>;
+	close file;
+	open file, ">$fname";
+	@valid = (1);
+	for($i = 0;$i < @f;$i++) { 
+		$_ = $f[$i];
+		s/\/\*.*\*\///g;
+		$comment = 1 if(/\/\*/ && !/\/\//);
+		if($comment) {
+			$comment = 0 if(/\*\//);
+			next;
+		}
+		$defs .= $1 . " " if(/^define\s+(\w+)\s*/);
+		if(/^\s*ifdef\s+(\w+)\s*/) {
+			push @valid, ($defs =~ /(^|\s)$1(\s|$)/ ? 1 : 0) & $valid[$#valid];
+		} elsif(/^\s*ifndef\s+(\w+)\s*/) {
+			push @valid, ($defs =~ /(^|\s)$1(\s|$)/ ? 0 : 1) & $valid[$#valid];
+		} elsif(/^\s*else/) {
+			printf "%s\nelse without if at line %d\n", $f[$i - 3], $i if($#valid == 0);
+			if($#valid == 0) {
+				for($j = -10;$j < 10;$j++) {
+					print $f[$i + $j];
+				}
+				last;
+ 				$i = $i;
+			}
+			$valid[$#valid] = (1 - $valid[$#valid]) & $valid[$#valid - 1];
+		} elsif(/^\s*endif/) {
+			printf "%s\nendif without if at line %d\n", $_, $i if($#valid == 0);
+			if($#valid == 0) {
+				for($j = -10;$j < 10;$j++) {
+					print $f[$i + $j];
+				}
+				last;
+ 				$i = $i;
+			}
+			pop @valid;
+		} elsif($valid[$#valid]) {
+			if(/^include\s+(.+)\s*/) {
+				open file2, "program/$1";
+				@f2 = <file2>;
+				close file2;
+				splice(@f, $i + 1, 0, @f2);
+			} else {
+				print file $_;
+			}
+		}
+	}
+	close file;
+}
+
+sub genpatch
+{
+	print "genpatch\n";
+	$patched = 0;
+	open file,"program/patch.prog";
+	while(<file>) {
+		if(/^\s*beq\s+patch([0-9a-f]+)_([0-7]),/) {
+			$a = hex($1), $b = hex($2);
+			$bits[$a] |= 1 << $b;
+			$patched = 1;
+		}
+	}
+	close file;
+	return if(!$patched);
+	open file,"output/sched.rom";
+	@sched = <file>;
+	close file;
+	for($j = 0;$j < 0x40;$j++) { 
+		$s .= sprintf ("%02x   #mem_patch%02x\n", $bits[$j], $j);
+	}
+	$s .= "\n\n";
+	for($i = $skip = 0;$i < @sched;$i++) {
+		$_ = $sched[$i];
+		if($skip > 0 && /:/) {
+			splice(@sched, $skip, $i - $skip, $s);
+			last;
+		}
+		$skip = $i + 1 if(/^mem_patch00:\s*$/);
+	}
+	if($skip == 0) {
+		$s = "mem_patch00:\n" . $s;
+		splice(@sched, 0, 0, $s);
+	}
+	open file,">output/sched.rom";
+	for($i = 0;$i < @sched;$i++) { print file $sched[$i]; }
+	close file;
+}
+
+sub zcode {
+	open file, "output/bt_program23.meta";
+	@f = <file>;
+	close file;
+	for($i = $label = $line = 0, $z = 1;$i < @f;$i++) {
+		$_ = $f[$i];
+		$line = $i - 1 if(/^org\s+0x[23]000/ && $line == 0);
+		if(/^org z\s*$/) {
+			$z += 0x10000;
+			$f[$i] = sprintf("org 0x%x\n", $z);
+			$label = 1;
+		}
+		if(/^(\w+):\s*$/ && $label == 1) {
+			$lab{$1} = $z;
+			$label = 2;
+		}
+	}
+	return if($z == 1);
+	for($i = 0;$i < @f;$i++) {
+		$_ = $f[$i];
+		$label = "";
+		if(/^\s*(branch|nbranch|call|ncall)\s+(\w+)\s*$/ || /^\s*(branch|nbranch|call|ncall)\s+(\w+)\s*,\s*(\w+)\s*$/) {
+			$label = $2;
+		}
+		if(/^\s*(bmark|beq|bne|bbit[01])\s+(\w+)\s*,\s*(\w+)\s*$/) {
+			$label = $3;
+		}
+		if(exists($lab{$label})) {
+			$nlabel = "jmpz_" . $label;
+			$f[$i] =~ s/$label/eval "$nlabel"/e;
+			if($lab{$label} > 100) {
+				$f[$line] .= sprintf("%s:\n\tsetarg 0x%x\n\tbranch p_zcode_entrance_2Bytes_common\n\n", $nlabel, int($lab{$label}/0x1000));
+				$lab{$label} = 1;
+			}
+		}
+	}
+	open file, ">output/bt_program23.meta";
+	for($i = 0;$i < @f;$i++) {
+		if($f[$i] =~ /^\s*bbit1 8,pf_patch_ext\s*$/) {
+			printf file ("p_start:\n\tbranch p_patch_array\n\np_zcode:\n");
+			for($j = 0;$j < 63;$j++) {
+				printf file "\tnop %d\n", $j + 1;
+			}
+			printf file "p_patch_array:\n";
+		}
+		print file $f[$i];
+	}
+	close file;
+}
+
+parseif("output/bt_program23.meta");
+parseif("output/bt_format.meta");
+genpatch() if($defs !~ / SIM /);
+malloc();
+zcode();
Index: util/patch.pl
===================================================================
--- /YC1308AF/branch/shutter/RuiBoXin/util/patch.pl	(nonexistent)
+++ /YC1308AF/branch/shutter/RuiBoXin/util/patch.pl	(working copy)
@@ -0,0 +1,49 @@
+#!/usr/bin/perl
+
+
+
+@dirs = (".");
+while(@dirs){
+   $d = $dirs[0];
+   opendir folder, $d || die "Can not open this directory";
+   @filelist = readdir folder; 
+   closedir folder;
+   foreach (@filelist) {
+      $f = $d . "/" . $_;
+      next if($_ eq "." || $_ eq "..");
+      push(@dirs, $f) if(-d $f) ;
+      push(@files,$f) if(-f $f);
+    }
+   shift @dirs;
+}
+
+for($i = 0;$i < @files;$i++) {
+	if($files[$i] =~ /bt\.prog/) {
+		($files[$i],$files[0]) = ($files[0],$files[$i]);
+		last;
+	}
+}
+
+
+for($i = $byte = $bit = 0;$i < @files;$i++) {
+	next if($files[$i] =~ /patch\.prog|sim\.prog/ || $files[$i] !~ /\.prog/);
+	open(FILE, $files[$i]) or next;
+	@file = <FILE>;
+	close FILE;
+	open(FILE, "> $files[$i]");
+	for($j = 0;$j < @file;$j++) {
+		$_ = $file[$j];
+		if(/bpatch.*,.*/) {
+			printf FILE "\t%s patch%02x_%d,mem_patch%02x\n", $byte > 31 ? "bpatchx" : "bpatch" , $byte, $bit, $byte;
+			if(++$bit > 7)
+			{
+				$bit = 0;
+				$byte++;
+			}
+		} else {
+			print FILE $_;
+		}
+	}
+	close(FILE);
+}
+printf "Total patches : %d, last patch number is:%02x bit %d\n", $byte*8+$bit, $byte, $bit;
